diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000000000..19e8b41ab0f576 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,36 @@ +{ + "name": "tldr-pages", + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", // Use Microsoft's Ubuntu Base image for the dev container + "features": { // Use Node, Python and GitHub CLI features in the dev container + "ghcr.io/devcontainers/features/node:1": {}, + "ghcr.io/devcontainers/features/python:1": {}, + "ghcr.io/devcontainers/features/github-cli:1": {} + }, + + "privileged": false, // Run the container unprivileged + + "onCreateCommand": { + "install-python-packages": "pip install -r requirements.txt", // Install Python dependencies in the dev container + "install-node-packages": "npm install" // Install NPM dependencies in the dev container + }, + + "customizations": { + "vscode": { + "settings": { + // Define suggested settings for the dev container + "resmon.show.battery": false, + "resmon.show.cpufreq": false + }, + "extensions": [ + // Define suggested extensions to preinstall in the dev container + "EditorConfig.EditorConfig", + "ms-python.python", + "ms-python.vscode-pylance", + "ms-python.flake8", + "GitHub.vscode-pull-request-github", + "github.vscode-github-actions", + "DavidAnson.vscode-markdownlint" + ] + } + } +} diff --git a/.editorconfig b/.editorconfig index be8416b2526004..717417f0d50daf 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,7 +5,7 @@ indent_style = space indent_size = 2 end_of_line = lf charset = utf-8 -trim_trailing_whitespace = true +trim_trailing_whitespace = false insert_final_newline = true [*.py] diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000000000..623f728249f448 --- /dev/null +++ b/.flake8 @@ -0,0 +1,5 @@ +[flake8] +max-line-length = 88 +# We ignore E501 as black handles it for us, and in a way that ignores strings +# that go over the line length, as opposed to flake8 which flags such strings. +extend-ignore = E203,E501 diff --git a/.gitattributes b/.gitattributes index eb0e537770b48c..1e039d8cbe2132 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,7 @@ -# This ensures that the line endings in any files added or modified are -# normalized before being committed. On Windows they will automatically -# be checked-out as CRLF, and re-converted to LF before check-in. -# See https://git-scm.com/docs/gitattributes for more information. -* text=auto +# https://github.com/tldr-pages/tldr/issues/7097 +* text=auto eol=lf + +# GitHub linguist ignores markdown files by default, but tldr-pages +# is mostly markdown, so we explicitly make the pages detectable +pages*/**/*.md linguist-detectable=true +pages*/**/*.md linguist-documentation=false diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000000000..cec0f665d64f14 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,46 @@ +/pages.ar/ @MachiavelliII @ali90h +/pages.cs/ @Sarijen +/pages.de/ @pixelcmtd @gutjuri +/pages.es/ @kant +/pages.fa/ @MrMw3 +/pages.fi/ @Managor +/pages.fr/ @Nico385412 @nicokosi @noraj +/pages.hi/ @kbdharun @debghs @karthik-script +/pages.id/ @reinhart1010 +/pages.it/ @mebeim @tansiret @Magrid0 @SpikeTheDragon40k +/pages.ko/ @IMHOJEONG @Zamoca42 @CodePsy-2001 +/pages.nl/ @sebastiaanspeck @leonvsc @Waples @dmmqz +/pages.pl/ @acuteenvy @spageektti +/pages.pt_BR/ @isaacvicente @renie +/pages.ta/ @kbdharun +/pages.tr/ @tansiret +/pages.zh/ @blueskyson @einverne +/pages.zh_TW/ @blueskyson + +/*.md @sbrl @kbdharun @sebastiaanspeck +/.devcontainer/* @kbdharun @sebastiaanspeck +/.github/workflows/* @sbrl @kbdharun @sebastiaanspeck +/scripts/* @sebastiaanspeck @kbdharun +/package.json @kbdharun @sebastiaanspeck +/package-lock.json @kbdharun @sebastiaanspeck +/requirements.txt @kbdharun @sebastiaanspeck + +/contributing-guides/maintainers-guide.md @sbrl @kbdharun @sebastiaanspeck +/contributing-guides/style-guide.md @sbrl @kbdharun @sebastiaanspeck +/contributing-guides/translation-templates/ @kbdharun @sebastiaanspeck +/contributing-guides/*.ar.md @MachiavelliII @ali90h +/contributing-guides/*.de.md @pixelcmtd @gutjuri +/contributing-guides/*.es.md @kant +/contributing-guides/*.fa.md @MrMw3 +/contributing-guides/*.fr.md @Nico385412 @nicokosi @noraj +/contributing-guides/*.hi.md @kbdharun @debghs @karthik-script +/contributing-guides/*.id.md @reinhart1010 +/contributing-guides/*.it.md @mebeim @tansiret @Magrid0 +/contributing-guides/*.ko.md @IMHOJEONG @Zamoca42 @CodePsy-2001 +/contributing-guides/*.nl.md @sebastiaanspeck @leonvsc @Waples @dmmqz +/contributing-guides/*.pl.md @acuteenvy @spageektti +/contributing-guides/*.pt_BR.md @isaacvicente @renie +/contributing-guides/*.ta.md @kbdharun +/contributing-guides/*.tr.md @tansiret +/contributing-guides/*.zh.md @blueskyson @einverne +/contributing-guides/*.zh_TW.md @blueskyson diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 5a089dd1b3b8ad..00000000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000000..ffaf63415b0edb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Chat room + url: https://matrix.to/#/#tldr-pages:matrix.org + about: Consider joining the chat room to discuss your issue, question or suggestion with the community before opening an issue. diff --git a/.github/ISSUE_TEMPLATE/lets-document.yml b/.github/ISSUE_TEMPLATE/lets-document.yml new file mode 100644 index 00000000000000..90a7b92ce8d26c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/lets-document.yml @@ -0,0 +1,51 @@ +name: 📄 Let's document +title: "Let's document: " +description: Request creation of multiple related pages (e.g. a utility with multiple subcommands). +labels: new command, help wanted, let's document +body: + - type: textarea + attributes: + label: Command description + description: Describe the commands you want to create. + placeholder: Tell us about the commands! + validations: + required: true + - type: input + attributes: + label: Documentation + description: Link to the official documentation. + placeholder: https://example.com + - type: dropdown + attributes: + label: Platform + description: What platform does the program run on? (Select "Common" if the program works on more than one platform) + options: + - Android + - Common + - FreeBSD + - Linux + - macOS (OS X) + - NetBSD + - OpenBSD + - SunOS + - Windows + validations: + required: true + - type: input + attributes: + label: VCS repository link (e.g. GitHub, GitLab) + description: Link to the Version Control System repository if the project is open source. + placeholder: https://github.com/user/repo + - type: textarea + attributes: + label: Additional information + description: Provide additional information if the command differs between platforms. + - type: textarea + attributes: + label: Commands + description: List out all the pages you want to create. + placeholder: | + - [ ] command1 → + - [ ] command2 → + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/page-modification-request.yml b/.github/ISSUE_TEMPLATE/page-modification-request.yml new file mode 100644 index 00000000000000..456ed3be51763d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/page-modification-request.yml @@ -0,0 +1,47 @@ +name: 📄 Page modification request +title: "Page modification request: " +description: Request modification of a page. +labels: page edit, help wanted +body: + - type: textarea + attributes: + label: Command description + description: Describe the command you want the page(s) to be modified. + placeholder: Tell us about the changes in the command! + validations: + required: true + - type: input + attributes: + label: Command details + description: Describe any details related to a command. + placeholder: e.g. command version + - type: input + attributes: + label: Documentation + description: Link to the official documentation. + placeholder: https://example.com + - type: dropdown + attributes: + label: Platform + description: What platform does the program run on? (Select "Common" if the program works on more than one platform) + options: + - Android + - Common + - FreeBSD + - Linux + - macOS (OS X) + - NetBSD + - OpenBSD + - SunOS + - Windows + validations: + required: true + - type: input + attributes: + label: VCS repository link (e.g. GitHub, GitLab) + description: Link to the Version Control System repository if the project is open source. + placeholder: https://github.com/user/repo + - type: textarea + attributes: + label: Additional information + description: Provide additional information if the command differs between platforms. diff --git a/.github/ISSUE_TEMPLATE/page-request.yml b/.github/ISSUE_TEMPLATE/page-request.yml new file mode 100644 index 00000000000000..92ddf8ad895eae --- /dev/null +++ b/.github/ISSUE_TEMPLATE/page-request.yml @@ -0,0 +1,47 @@ +name: 📄 Page request +title: "Page request: " +description: Request creation of a page. +labels: new command, help wanted +body: + - type: textarea + attributes: + label: Command description + description: Describe a command you want to be summarized. + placeholder: Tell us about the command! + validations: + required: true + - type: input + attributes: + label: Command details + description: Describe any details related to a command. + placeholder: e.g. command version + - type: input + attributes: + label: Documentation + description: Link to the official documentation. + placeholder: https://example.com + - type: dropdown + attributes: + label: Platform + description: What platform does the program run on? (Select "Common" if the program works on more than one platform) + options: + - Android + - Common + - FreeBSD + - Linux + - macOS (OS X) + - NetBSD + - OpenBSD + - SunOS + - Windows + validations: + required: true + - type: input + attributes: + label: VCS repository link (e.g. GitHub, GitLab) + description: Link to the Version Control System repository if the project is open source. + placeholder: https://github.com/user/repo + - type: textarea + attributes: + label: Additional information + description: Provide additional information if the command differs between platforms. diff --git a/.github/ISSUE_TEMPLATE/page-translation.yml b/.github/ISSUE_TEMPLATE/page-translation.yml new file mode 100644 index 00000000000000..19bf7f6adedbdd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/page-translation.yml @@ -0,0 +1,12 @@ +name: 📄 Page translation request +title: "Page translation request: " +description: Request translation of a page. +labels: translation, help wanted +body: + - type: textarea + attributes: + label: Command description + description: Describe the command to get translated for your language. + placeholder: Tell us what TLDR page you want to see in your language! + validations: + required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 7542db8002ef90..410e64440523ce 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,10 +1,13 @@ - - - + -- [ ] The page (if new), does not already exist in the repo. -- [ ] The page is in the correct platform directory (`common/`, `linux/`, etc.) -- [ ] The page has 8 or fewer examples. -- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#commit-message). -- [ ] The page follows the [content guidelines](/tldr-pages/tldr/blob/master/CONTRIBUTING.md#guidelines). -- [ ] The page description includes a link to documentation or a homepage (if applicable). +- [ ] The page(s) are in the correct platform directories: `common`, `linux`, `osx`, `windows`, `sunos`, `android`, etc. +- [ ] The page description(s) have links to documentation or a homepage. +- [ ] The page(s) follow the [content guidelines](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#guidelines). +- [ ] The page(s) follow the [style guide](/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md). +- [ ] The PR contains at most 5 new pages. +- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#commit-message-and-pr-title). +- **Version of the command being documented (if known):** diff --git a/.github/codespell-ignore b/.github/codespell-ignore new file mode 100644 index 00000000000000..9ac17d57f92fce --- /dev/null +++ b/.github/codespell-ignore @@ -0,0 +1 @@ +crate diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000000000..832c72f4a54aaa --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,26 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: "monthly" + + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "monthly" + + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "monthly" + + - package-ecosystem: "pip" + directory: "/scripts/pdf" + schedule: + interval: "monthly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1774feffffd55c..ff9eef55f07a79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,45 +4,111 @@ on: ['push', 'pull_request'] jobs: ci: + name: CI runs-on: ubuntu-latest + permissions: + contents: write # to upload assets to releases + attestations: write # to upload assets attestation for build provenance + id-token: write # grant additional permission to attestation action to mint the OIDC token permission - name: CI + env: + # Commit SHA: use PR head if in a PR, otherwise fall back to github.sha + COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} + # PR ID: set to number if in PR, otherwise blank + PULL_REQUEST_ID: ${{ github.event.number || '' }} steps: - - - name: Checkout - uses: actions/checkout@v2 + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: fetch-depth: 0 - - name: Set up PR environment - if: github.event.number != null - run: echo "PULL_REQUEST_ID=${{ github.event.number }}" >> $GITHUB_ENV + - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 + with: + python-version: '3.12' + cache: 'pip' + + - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 + with: + node-version: 'lts/*' + cache: 'npm' - name: Install npm dependencies run: npm ci + - name: Install pip dependencies + run: pip install -r requirements.txt -r scripts/pdf/requirements.txt -r scripts/test-requirements.txt + - name: Test run: npm test + - name: Upload test logging + if: github.repository == 'tldr-pages/tldr' && github.event.pull_request.number != '' + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + with: + name: debug.log + path: debug.log + - name: Build run: bash scripts/build.sh - - name: Setup Python for PDF generation - if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master' - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Build PDF - if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master' - run: | - cd scripts/pdf/ - pip3 install -r requirements.txt - python3 render.py ../../pages -c solarized-light + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' + working-directory: ./scripts/pdf + run: bash build-pdf.sh - name: Deploy - if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master' + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' run: bash scripts/deploy.sh env: DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Check for generated files + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' + id: check-files + run: | + if [[ -n $(find language_archives -name "*.zip" -print -quit) ]]; then + echo "zip_exists=true" >> $GITHUB_ENV + else + echo "zip_exists=false" >> $GITHUB_ENV + fi + + if [[ -n $(find scripts/pdf -name "*.pdf" -print -quit) ]]; then + echo "pdf_exists=true" >> $GITHUB_ENV + else + echo "pdf_exists=false" >> $GITHUB_ENV + fi + + if [[ -f tldr.sha256sums ]]; then + echo "checksums_exist=true" >> $GITHUB_ENV + else + echo "checksums_exist=false" >> $GITHUB_ENV + fi + + - name: Construct subject-path for attest + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' + id: construct-subject-path + run: | + subject_path="" + if [[ ${{ env.zip_exists }} == 'true' ]]; then + zip_files=$(find language_archives -name '*.zip' -printf '%p,') + subject_path+="${zip_files::-1}" + fi + if [[ ${{ env.pdf_exists }} == 'true' ]]; then + if [[ -n $subject_path ]]; then subject_path+=","; fi + pdf_files=$(find scripts/pdf -name '*.pdf' -printf '%p,') + subject_path+="${pdf_files::-1}" + fi + if [[ ${{ env.checksums_exist }} == 'true' ]]; then + if [[ -n $subject_path ]]; then subject_path+=","; fi + subject_path+='tldr.sha256sums' + fi + echo "subject_path=$subject_path" >> $GITHUB_ENV + + - name: Attest generated files + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/main' + id: attest + uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0 + continue-on-error: true # prevent failing when no pages are modified + with: + subject-path: ${{ env.subject_path }} diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000000000..f857eab8496f44 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,38 @@ +name: Codespell +permissions: + contents: read + +on: + pull_request: + # Ignore all other languages except English + paths-ignore: + - 'pages.*/*/*' + - 'contributing-guides/style-guide.*.md' + - 'package-lock.json' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0 + with: + # Ignore all other languages except English + files_ignore: | + pages.*/*/* + contributing-guides/style-guide.*.md + package-lock.json + + - uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1 + with: + ignore_words_file: .github/codespell-ignore + # Exit with 0 regardless of typos. + only_warn: 1 + # Skip non-English pages + skip: ./pages.*/*/*.md,./contributing-guides/style-guide.*.md + # Only check files in the PR + path: ${{ steps.changed-files.outputs.all_changed_files }} diff --git a/.github/workflows/copy-release-assets.yml b/.github/workflows/copy-release-assets.yml new file mode 100644 index 00000000000000..a7eea2a1ab1970 --- /dev/null +++ b/.github/workflows/copy-release-assets.yml @@ -0,0 +1,53 @@ +name: Copy assets to the new release + +on: + release: + types: published + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + release: + name: Copy release assets + runs-on: ubuntu-latest + permissions: + contents: write # to upload assets to releases + attestations: write # to upload assets attestation for build provenance + id-token: write # grant additional permission to attestation action to mint the OIDC token permission + + steps: + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + fetch-depth: 0 + + - name: Set tag names + run: | + echo "LATEST=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV + echo "PREVIOUS=$(git describe --tags --abbrev=0 $(git describe --tags --abbrev=0)^)" >> $GITHUB_ENV + + - name: Download assets + run: | + mkdir release-assets && cd release-assets + gh release download "$PREVIOUS" + + - name: Construct subject-path for attest + if: github.repository == 'tldr-pages/tldr' + id: construct-subject-path + run: | + zip_files=$(find release-assets -name '*.zip' -printf '%p,') + pdf_files=$(find release-assets -name '*.pdf' -printf '%p,') + subject_path="${zip_files::-1},${pdf_files::-1},release-assets/tldr.sha256sums" + echo "subject_path=$subject_path" >> $GITHUB_ENV + + - name: Attest copied assets + if: github.repository == 'tldr-pages/tldr' + id: attest + uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0 + with: + subject-path: ${{ env.subject_path }} + + - name: Upload assets + if: github.repository == 'tldr-pages/tldr' + working-directory: release-assets + run: gh release upload "$LATEST" -- * diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000000000..b3ee7b3d759ecc --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,15 @@ +name: PR Labeler +on: + pull_request_target: + pull_request: + types: + - ready_for_review +permissions: + pull-requests: write +jobs: + labeler: + runs-on: ubuntu-latest + steps: + - uses: tldr-pages/tldr-labeler-action@7cb29444b818130fe056b7e7b3dedcc7db93af45 # v0.6.0 + with: + token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/monthly-check.yml b/.github/workflows/monthly-check.yml new file mode 100644 index 00000000000000..0d7b3bbc1208ec --- /dev/null +++ b/.github/workflows/monthly-check.yml @@ -0,0 +1,74 @@ +name: Monthly check GitHub usernames + +on: + workflow_dispatch: + schedule: + - cron: "0 0 1 * *" + +permissions: + contents: read + issues: write + +jobs: + check-usernames: + runs-on: ubuntu-latest + steps: + - name: Restore lychee cache + id: restore-cache + uses: actions/cache/restore@v4 + with: + path: .lycheecache + key: cache-lychee-${{ github.sha }} + restore-keys: cache-lychee- + + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + fetch-depth: 0 + + - run: | + cat .github/CODEOWNERS | grep -o "@[a-zA-Z0-9_-]\+" | sort -u | sed 's/@/https:\/\/api.github.com\/users\//' > usernames.txt + cat MAINTAINERS.md | grep -o "\*\*.*@[a-zA-Z0-9_-]\+.*\*\*" | grep -o "@[a-zA-Z0-9_-]\+" | sort -u | sed 's/@/https:\/\/api.github.com\/users\//' >> usernames.txt + sort -u usernames.txt -o usernames.txt + + - name: Lychee URL checker + uses: lycheeverse/lychee-action@885c65f3dc543b57c898c8099f4e08c8afd178a2 # v2.6.1 + id: lychee + continue-on-error: true + with: + args: >- + --cache + --verbose + --no-progress + --max-concurrency 25 + usernames.txt + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + + - name: Find the last report issue open + uses: micalevisk/last-issue-action@0d40124cc99ac8601c2516007f0c98ef3d27537b # v2.3.0 + id: last-issue + with: + state: open + labels: check usernames + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Update last report open issue created + if: ${{ env.lychee_exit_code != 0 }} + uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v6.0.0 + with: + title: GitHub usernames with errors + content-filepath: lychee/out.md + issue-number: ${{ steps.last-issue.outputs.issue-number }} + labels: check usernames + + - name: Close last report open issue + if: ${{ env.lychee_exit_code == 0 && steps.last-issue.outputs.has-found == 'true' }} + run: gh issue close ${{ steps.last-issue.outputs.issue-number }} + + - name: Save lychee cache + uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + if: always() + with: + path: .lycheecache + key: ${{ steps.restore-cache.outputs.cache-primary-key }} diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index ebbeb25bec9194..00000000000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: 'Manage stale issues' - -on: - schedule: - - cron: '0 0 * * *' - -jobs: - stale: - runs-on: ubuntu-latest - - steps: - - - name: Stale Bot - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - # Number of days of inactivity before an issue or PR is considered stale - days-before-stale: 15 - - # Number of days of inactivity before a stale issue or PR is closed - days-before-close: 30 - - # Issues or PRs with these labels will never be considered stale - exempt-pr-labels: up for grabs - - # Label to use when marking an issue or PR as stale - stale-pr-label: waiting - - # Comment to post when marking an issue or PR as stale - stale-pr-message: | - Hi all! This thread has not had any recent activity. - Are there any updates? Thanks! - - # Comment to post when closing a stale issue or PR - close-pr-message: | - Hi everyone. - This thread is being closed as there was no response to the previous prompt. - However, please leave a comment whenever you're ready to resume, - so the thread can be reopened. Thanks again! diff --git a/.gitignore b/.gitignore index 62378dfd1bff9c..609d46ae2b5069 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # VS Code .vscode/ +# Jetbrains IDE +.idea/ + # macOS filesystem custom folder attributes .DS_Store @@ -24,4 +27,10 @@ scripts/pdf/tldr-pages.pdf # Python venv for testing the PDF script # Create it with: python3 -m venv scripts/pdf/venv/ -scripts/pdf/venv/ +venv + +# Generated pycache +__pycache__ + +# Generated log +debug.log diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000000000..72c4429bc9a615 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npm test diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 00000000000000..1d2884a77b294b --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,12 @@ +{ + "default": true, + "MD003": { "style": "atx" }, + "MD007": { "indent": 4 }, + "MD013": { "line_length": 250 }, + "MD026": false, + "MD029": false, + "MD033": false, + "MD034": false, + "no-hard-tabs": false, + "whitespace": false +} diff --git a/.markdownlintrc b/.markdownlintrc deleted file mode 100644 index 9cd9f1618e7491..00000000000000 --- a/.markdownlintrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "default": true, - "MD003": { "style": "atx" }, - "MD007": { "indent": 4 }, - "MD013": { "line_length": 250 }, - "MD033": false, - "MD034": false, - "no-hard-tabs": false, - "whitespace": false -} diff --git a/CLIENT-SPECIFICATION.md b/CLIENT-SPECIFICATION.md index f8a12538ca5472..54bf990fd204db 100644 --- a/CLIENT-SPECIFICATION.md +++ b/CLIENT-SPECIFICATION.md @@ -1,15 +1,15 @@ + # tldr-pages client specification -**Current Specification Version:** 1.4 +**Current Specification Version:** 2.3 -This document contains the official specification for tldr-pages clients. It is _not_ a specification of the format of the pages themselves - only a specification of how a user should be able to interface with an official client. For a list of previous versions of the specification, see the [changelog section](#Changelog) below. +This document contains the official specification for tldr-pages clients. It is _not_ a specification of the format of the pages themselves - only a specification of how a user should be able to interface with an official client. For a list of previous versions of the specification, see the [changelog section](#changelog) below. The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://tools.ietf.org/html/rfc2119). - ## Terminology -In order to aid the understanding of this specification document, a number of terms will be defined in this section. +This section defines key terms that are relevant for understanding this specification document. ### Page @@ -20,10 +20,11 @@ tldr-pages consists of multiple _pages_ - each of which describes a specific com Pages are grouped by platform, i.e. operating systems — for example, `windows`, `linux`, `osx`. The special platform `common` contains pages for commands that work identically across more than one platform. -If a page is common across multiple platforms, but slightly differently on a given platform, then the page is still stored in `common`, but a copy tailored for the differing platform is placed in that platform's specific folder. +If a page is common across multiple platforms, but slightly different on a given platform, then the page is still stored in the `common` directory, but a copy tailored for the differing platform is placed in that platform's specific folder. For example, if the command `foo` is common to `mac`, `windows`, and `linux` but functions differently on `windows`, then the main page will be stored in `common`, and a copy will be placed in `windows` that's altered to match the different functionality. +Clients SHOULD support passing `common` as an argument to the [platform flag](#arguments) (i.e. `-p common` and `--platform common`) to display identical pages when a platform specific page variant (i.e. under `linux`, `openbsd`, etc) of the command exists. ## Command-line interface @@ -31,23 +32,27 @@ This section describes the standardised command-line interface (CLI) for clients ### Arguments -A number of command-line options MUST be supported (unless otherwise specified) if a CLI is implemented: +The following table documents what command-line options MUST be supported and which are optional. + +When adding support for an option, clients MUST implement all variants of that option listed in the table. For example, clients should implement _both_ `-v` and `--version`. When a client implements updating the offline cache, they should support _both_ `-u` and `--update`. Option | Required? | Meaning -------------------|-------------|---------- `-v`, `--version` | Yes | Shows the current version of the client, and the version of this specification that it implements. -`-p`, `--platform` | Yes | Specifies the platform to be used to perform the action (either listing or searching) as an argument. If this option is specified, the selected platform MUST be checked first instead of the current platform as described below. -`-u`, `--update` | Conditional | Updates the offline cache of pages. MUST be implemented if cache is supported. -`-l`, `--list` | No | Lists all the pages in the current platform to the standard output. If the special platform `all` is specified a list of all pages in all platforms MUST be displayed. +`-p`, `--platform` | Yes | Specifies the platform (including common) to be used to perform the action (either listing or searching) as an argument. If this option is specified, the selected platform MUST be checked first instead of the current platform as described below. +`-u`, `--update` | Conditional | Updates the offline cache of pages. MUST be implemented if caching is supported. +`-l`, `--list` | No | Lists all the pages in the current platform to the standard output. `-L`, `--language` | No | Specifies the preferred language for the page returned. Overrides other language detection mechanisms. See the [language section](#language) for more information. +`--short-options` | No | If set, will filter examples to show their shortform option when available +`--long-options` | No | If set, will filter examples to show their longform option when available -Clients MAY choose to only implement the short version of an option, ignoring the long form. +By default clients SHOULD display only the longform option when neither `--short-options` or `--long-options` is set by the user. If both are provided, both options should be displayed (see the [Page Structure / Examples](#examples) section for the output format). -Additional decoration MAY be printed if the standard output is a [TTY](http://www.linusakesson.net/programming/tty/index.php). If not, then the output MUST not contain any additional decorations. For example a page list MUST be formatted with 1 page name per line (to enable easy manipulation using standard CLI tools such as `grep` etc.). +Additional decoration MAY be printed if the standard output is a [TTY](https://linusakesson.net/programming/tty/index.php). If not, then the output MUST not contain any additional decorations. For example, a page list MUST be formatted with one page name per line (to enable easy manipulation using standard CLI tools such as `grep` etc.). Clients MAY support additional custom arguments and syntax not documented here. -Here are some examples invocations using the above flags: +Here are some examples of invocations using the above flags: ```bash tldr --update @@ -59,42 +64,35 @@ tldr -l The first argument that does not start with a dash (`-`), MUST be considered the page name. -In addition, page names MAY contain spaces (e.g. `git status`) - such page names MUST be transparently concatenated with dashes (`-`). For example, the page name: - -``` -git checkout -``` +Page names MAY contain spaces (e.g. `git status`), and such page names MUST be transparently concatenated with dashes (`-`). For example, the page name `git checkout` becomes `git-checkout`. -becomes this: - -``` -git-checkout -``` +Page names MAY contain mixed capitalization, and such page names MUST be transparently lowercased. For example, the page name `eyeD3` becomes `eyed3`. Here are some example invocations: ```bash tldr 7za -tldr eyeD3 -tldr git checkout +tldr eyeD3 # equivalent to tldr eyed3 +tldr git checkout # equivalent to tldr git-checkout tldr --platform osx bash ``` - ## Directory structure This section documents the directory structure that contains the pages themselves. -The master version of every page is stored inside (but not directly) the `pages` directory. Inside this directory, there is a folder for each platform - for example `windows`, `linux`, and the special `common` platform: +The main version of every page is stored inside (but not directly) the `pages` directory. Inside this directory, there is a folder for each platform - for example `windows`, `linux`, and the special `common` platform: - - `pages/` - - `common/` - - `linux/` - - `windows/` - - `osx/` - - ...etc. +- `pages/` + - `common/` + - `linux/` + - `windows/` + - `osx/` + - ...etc. -Additional platforms MAY be added in the future. Clients MAY NOT support new platforms (though such support is RECOMMENDED), but MUST NOT break if additional platforms are added. +It is RECOMMENDED that clients support `macos` as an alias for `osx`. + +While clients do not need to support new platforms automatically (though such support is RECOMMENDED), they MUST NOT break if additional platforms are added to tldr-pages. The pages themselves reside inside the appropriate platform folder, with the extension `.md`. Here are some example mappings: @@ -104,48 +102,64 @@ Command name | Mapped name | Filename `git checkout` | `git-checkout` | `git-checkout.md` `tar` | `tar` | `tar.md` - ### Translations -Other directories sit alongside the main `pages` directory, and contain translations of the master versions of every page - though pages MAY NOT have a translation available for a given language yet. Furthermore, a given language MAY NOT have a folder yet either. The format of these directories is `pages.`, where `` is a [POSIX Locale Name](https://www.gnu.org/software/gettext/manual/html_node/Locale-Names.html#Locale-Names) in the form of `_`, where: +Other directories sit alongside the main `pages` directory, and contain translations of the main versions of every page - though pages MAY NOT have a translation available for a given language yet. Furthermore, a given language MAY NOT have a folder yet either. The format of these directories is `pages.`, where `` is a [POSIX Locale Name](https://www.gnu.org/software/gettext/manual/html_node/Locale-Names.html#Locale-Names) in the form of `_`, where: - - `` 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). - - `` 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). +- `` 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). +- `` 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). Some examples: - - Chinese (Taiwan): `pages.zh_TW`. - - Portuguese (Brazil): `pages.pt_BR`. - - Italian: `pages.it`. +- Chinese (Taiwan): `pages.zh_TW`. +- Portuguese (Brazil): `pages.pt_BR`. +- Italian: `pages.it`. The structure inside these translation folders is identical to that of the main `pages` folder. - ## Page structure -Although this specification is about the interface that clients must provide, it is also worth noting that pages are written in standard [CommonMark](https://commonmark.org/), which the exception of the non-standard `{{` and `}}` syntax, which surrounds values in an example that users may edit. Clients MUST NOT break if the page format is changed within the _CommonMark_ specification. +Although this specification is about the interface that clients must provide, it is also worth noting that pages are written in standard [CommonMark](https://commonmark.org/), with the exception of the non-standard `{{`, `}}`, `{{[` and `]}}` placeholder syntax, where: +- `{{` and `}}` surrounds values in an example that indicates editable values. +- `{{[` and `]}}` indicate shortform and longform variants of options which are separated by a single `|`. Shortform on the left, longform on the right. + +Things to take into account: +- Clients MAY highlight the placeholders and MUST remove the surrounding curly braces. +- If option placeholders are set to show only shortform or longform options, they MUST not be highlighted. This is because there is no longer user choice involved. +- Clients MUST remove the square brackets from option placeholders when only short- or longform is shown. +- Clients MUST NOT treat them as the placeholder syntax if they are escaped using `\` (i.e. `\{\{` and `\}\}`) and MUST instead display literal braces, without backslashes. Placeholder escaping applies only when both braces are escaped (e.g. in `\{` or `\{{`, backslashes MUST be displayed). +- In cases when a command uses `{}` in its arguments (e.g. `stash@{0}`) **_the outer braces_** mark the placeholder - the braces inside MUST be displayed. +- Clients MUST NOT break if the page format is changed within the _CommonMark_ specification. + +### Examples +- `ping {{example.com}}` MUST be rendered as "ping example.com" +- `docker inspect --format '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{container}}` MUST be rendered as "docker inspect --format '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container" +- `mount \\{{computer_name}}\{{share_name}} Z:` MUST be rendered as "mount \\\\computer_name\share_name Z:" +- `git stash show --patch {{stash@{0}}}` MUST be rendered as "git stash show --patch stash@{0}" +- `git add {{[-A|--all]}}` MUST be rendered as "git add -A" or "git add --all" when only short or longform is shown. It MUST be rendered as "git add [-A|--all]" when both are requested. ## Page resolution This section defines the algorithm by which a client can decide which page a user has requested. -After transparently replacing spaces (` `) with dashes (`-`), clients have several decisions to make: +After transparently replacing spaces (` `) with dashes (`-`) and lowercasing the name, clients have several decisions to make: - - The language of a page to display to a client - - The platform to display a page from +- The language of a page to display to a client +- The platform to display a page from ### Platform Clients MUST default to displaying the page associated with the platform on which the client is running. -For example, a client running on _Windows 10_ will default to displaying pages from the `windows` platform. + +For example, a client running on _Windows 11_ will default to displaying pages from the `windows` platform. Clients MAY provide a user-configurable option to override this behaviour, however. -If a page is not available for the host platform, clients MUST fallback to the special `common` platform. +If a page is not available for the host platform, clients MUST fall back to the special `common` platform. If a page is not available for either the host platform or the `common` platform, then clients SHOULD search other platforms and display a page from there - along with a warning message. -For example, a user has a client on windows, and requests the `apt` page. The client consults the platforms in the following order: +For example, a user has a client on Windows and requests the `apt` page. The client consults the platforms in the following order: 1. `windows` - Not available 2. `common` - Not available @@ -156,6 +170,8 @@ Steps #3 and #4 may be done in either order. It is possible that due to this page resolution logic, the client may show a page which does not belong to the host platform because a page can reside in `common`, and not be present on the host platform. Clients must not assume that a given command is always executable on the host platform. +It is RECOMMENDED that clients detect new platforms added to the relevant `pages` directory automatically. + #### If a page is not found If a page cannot be found in _any_ platform, then it is RECOMMENDED that clients display an error message with a link to create a new issue against the `tldr-pages/tldr` GitHub repository. Said link might take the following form: @@ -164,20 +180,19 @@ If a page cannot be found in _any_ platform, then it is RECOMMENDED that clients https://github.com/tldr-pages/tldr/issues/new?title=page%20request:%20{command_name} ``` -where `{command_name}` is the name of the command that was not found. Clients that have control over their exit code on the command line (i.e. clients that provide a CLI) MUST exit with a non-zero exit code in addition to showing the above message. +where `{command_name}` is the name of the command that was not found. Clients that have control over their exit code on the command-line (i.e. clients that provide a CLI) MUST exit with a non-zero exit code in addition to showing the above message. #### If multiple versions of a page were found If multiple versions of a page were found for different platforms, then a client MAY choose to display a notice to the user notifying them of this. - ## Language -Pages can be written in multiple languages. If a client has access to environment variables, it MUST use them derive the preferred user language as described in the next paragraphs. If not, then clients MUST make reasonable assumptions based on the information provided by the environment in which they operate (e.g. consulting `navigator.languages` in a browser, etc.). +Pages can be written in multiple languages. If a client has access to environment variables, it MUST use them to derive the preferred user language as described in the next paragraphs. If not, then clients MUST make reasonable assumptions based on the information provided by the environment in which they operate (e.g. consulting `navigator.languages` in a browser, etc.). -The [`LANG` environment variable](https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html) specifies the user preferred locale (in the form `ll[_CC][.encoding]`). The [`LANGUAGE` environment variable](https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html) specifies a priority list of locales (in the form `l1:l2:...`) that can be used if the locale defined by `LANG` is not available. Both `LANG` and `LANGUAGE` may contain the values `C` or `POSIX`, which should be ignored. +The [`LANG` environment variable](https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html) specifies the user's preferred locale (in the form `ll[_CC][.encoding]`). The [`LANGUAGE` environment variable](https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html) specifies a priority list of locales (in the form `l1:l2:...`) that can be used if the locale defined by `LANG` is not available. Both `LANG` and `LANGUAGE` may contain the values `C` or `POSIX`, which should be ignored. -In order to determine the display language, a client MUST: +To determine the display language, a client MUST: 1. Check the value of `LANG`. If not set, then skip to step 5. 2. Extract the priority list from `LANGUAGE`. If not set, start with an empty priority list. @@ -195,48 +210,93 @@ Examples: unset |`it:cz` | `en` unset |unset | `en` -Regardless of the language determined through the environment, clients MUST always attempt to fallback to English if the page does not exist in the user preferred language. Clients MAY notify the user when a page in their preferred language cannot be found (optionally including a link to the [translations section of the contributing guide](https://github.com/tldr-pages/tldr/blob/master/CONTRIBUTING.md#translations)). +Regardless of the language determined through the environment, clients MUST always attempt to fall back to English if the page does not exist in the user's preferred language. Clients MAY notify the user when a page in their preferred language cannot be found (optionally including a link to the [translations section of the contributing guide](https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md#translations)). -It is also RECOMMENDED to make the language configurable, as to not only rely on the environment. Clients SHOULD offer options to configure or override the language using configuration files or even command line options (like `-L, --language` as suggested in the [arguments section](#arguments) above). If such a command-line option is specified, a client must strictly adhere to its value, and MUST NOT show pages in a different language, failing with an appropriate error message instead. +It is also RECOMMENDED to make the language configurable, to not only rely on the environment. Clients SHOULD offer options to configure or override the language using configuration files or even command-line options (like `-L, --language` as suggested in the [arguments section](#arguments) above). If such a command-line option is specified, a client must strictly adhere to its value, and MUST NOT show pages in a different language, failing with an appropriate error message instead. -The [`LC_MESSAGES` environment variable](https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html) MAY be present. If the client itself is localized and this environment variable is present, it MUST use its value in order to determine the language in which interface text is shown (separately from the language used for pages). In absence of `LC_MESSAGES`, then `LANG` and `LANGUAGE` MUST be used for this purpose instead. +The [`LC_MESSAGES` environment variable](https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html) MAY be present. If the client itself is localized and this environment variable is present, it MUST use its value to determine the language in which interface text is shown (separately from the language used for pages). In the absence of `LC_MESSAGES`, then `LANG` and `LANGUAGE` MUST be used for this purpose instead. -**Note that** for page lookup it is highly RECOMMENDED to give precedence to the platform over the language. In other words, look for a platform under each language, before checking the next preferred language. This ensures a meaningful and correct page resolution. +> [!IMPORTANT] +> For page lookup it is highly RECOMMENDED to give precedence to the platform over the language. In other words, look for a platform under each language, before checking the next preferred language. This ensures a meaningful and correct page resolution. Here's an example of how the lookup should be done on `linux` having set `LANG=it` and `LANGUAGE="it:fr:en"`: - 1. pages.it/linux/some-page.md -> does not exist - 2. pages.fr/linux/some-page.md -> does not exist - 3. pages/linux/some-page.md -> does not exist - 4. pages.it/common/some-page.md -> does not exist - 5. pages.fr/common/some-page.md -> does not exist - 6. pages/common/some-page.md -> FOUND! +Step | Path checked | Outcome +------|--------------------------------|----------------------- +1 | pages.it/linux/some-page.md | does not exist +2 | pages.fr/linux/some-page.md | does not exist +3 | pages/linux/some-page.md | does not exist +4 | pages.it/common/some-page.md | does not exist +5 | pages.fr/common/some-page.md | does not exist +6 | pages/common/some-page.md | FOUND! ## Caching -If appropriate, it is RECOMMENDED that clients implement a cache of pages. If implemented, clients MUST download the archive either from **[http://tldr.sh/assets/tldr.zip](http://tldr.sh/assets/tldr.zip)** or [https://raw.githubusercontent.com/tldr-pages/tldr-pages.github.io/master/assets/tldr.zip](https://raw.githubusercontent.com/tldr-pages/tldr-pages.github.io/master/assets/tldr.zip) (which is pointed to by the first link). +If appropriate, it is RECOMMENDED that clients implement a cache of pages. If implemented, clients MUST download the entire archive either as a whole from **** or download language-specific archives in the format `https://github.com/tldr-pages/tldr/releases/latest/download/tldr-pages.{{language-code}}.zip` (e.g. ****). The English archive is also available from ****. -Caching SHOULD be done according to the user's language configuration (if any), as to not waste unneeded space for unused languages. Additionally, clients MAY automatically update the cache on a regular basis. +> [!CAUTION] +> Prior to version 2.2, the client specification stated that clients MUST download archives from . This method is now deprecated, and **_will be removed_** in December 2025. +> Clients that still use the old location will therefore stop working next year. +Caching SHOULD be done according to the user's language configuration (if any), to not waste unneeded space for unused languages. Additionally, clients MAY automatically update the cache regularly. ## Changelog - - [v1.4, August 13th 2020](https://github.com/tldr-pages/tldr/blob/87324c6e540c10a44950b14cd9fb7d758ce4d4e0/CLIENT-SPECIFICATION.md) ([#4246](https://github.com/tldr-pages/tldr/pull/4246)) - - Add requirement for CLI clients to use non-zero exit code on failing to find a page. - - - [v1.3, June 11th 2020](https://github.com/tldr-pages/tldr/blob/8effb5ba77bbf266909e6f9e5d50727daf4a5431/CLIENT-SPECIFICATION.md) ([#4101](https://github.com/tldr-pages/tldr/pull/4101)) - - Clarified fallback to English in the language resolution algorithm. - - Update `LANG` and `LANGUAGE` environment variable to conform to the GNU spec. - - - [v1.2, July 3rd 2019](https://github.com/tldr-pages/tldr/blob/d9e1d592e5f7074a5459875ef06a4d4841659ced/CLIENT-SPECIFICATION.md) ([#3168](https://github.com/tldr-pages/tldr/pull/3168)) - - Addition of a new `-L, --language` recommended command-line option. - - Rewording of the language section also encouraging the use of configuration files for language. - - Shift from BCP-47 to POSIX style locale tags, with consequent **deprecation of previous versions of the spec**. - - Clearer clarification about the recommended caching functionality. - - Correction of the usage of the term "arguments" in the homonym section. - - - [v1.1, April 1st 2019](https://github.com/tldr-pages/tldr/blob/fbdc06b7425f92cc0d4fc9a5cfc5860ef017251e/CLIENT-SPECIFICATION.md) (deprecated) ([#2859](https://github.com/tldr-pages/tldr/pull/2859)) - - Clarified platform section. - - - [v1.0, January 23rd 2019](https://github.com/tldr-pages/tldr/blob/31d784bc0966883b492f5d1ec66e808b518b2159/CLIENT-SPECIFICATION.md) (deprecated) ([#2706](https://github.com/tldr-pages/tldr/pull/2706)) - - Initial release. + + +- [v2.3, March 7th 2025](https://github.com/tldr-pages/tldr/blob/v2.3/CLIENT-SPECIFICATION.md) ([#15866](https://github.com/tldr-pages/tldr/pull/15866)) + - Added longform/shortform specifications ([#15253](https://github.com/tldr-pages/tldr/pull/15253)) + - Specify `common` as a supported platform option ([#15855](https://github.com/tldr-pages/tldr/pull/15855)) + - Add the date of removal of the old asset website ([#15862](https://github.com/tldr-pages/tldr/pull/15862)) + - Various grammar fixes + +- [v2.2, March 20th 2024](https://github.com/tldr-pages/tldr/blob/v2.2/CLIENT-SPECIFICATION.md) ([#12452](https://github.com/tldr-pages/tldr/pull/12452)) + - Removed redirect text from the [caching section](#caching) ([#12133](https://github.com/tldr-pages/tldr/pull/12133)) + - Updated asset URLs to use GitHub releases ([#12158](https://github.com/tldr-pages/tldr/pull/12158)) + - Add requirement to disambiguate triple-brace placeholders ([#12158](https://github.com/tldr-pages/tldr/pull/12158)) + - Add notice to deprecate the old asset URL ([#12452](https://github.com/tldr-pages/tldr/pull/12452)) + +- [v2.1, November 30th 2023](https://github.com/tldr-pages/tldr/blob/v2.1/CLIENT-SPECIFICATION.md) ([#11523](https://github.com/tldr-pages/tldr/pull/11523)) + - Add requirement to support escaping the placeholder syntax in certain pages ([#10730](https://github.com/tldr-pages/tldr/pull/10730)) + - Add suggestion to detect new platforms added to the relevant `pages` directory automatically ([#11523](https://github.com/tldr-pages/tldr/pull/11523)) + +- [v2.0, September 10th 2023](https://github.com/tldr-pages/tldr/blob/v2.0/CLIENT-SPECIFICATION.md) ([#10148](https://github.com/tldr-pages/tldr/pull/10148)) + - Add recommendation to support `macos` alias for `osx` ([#7514](https://github.com/tldr-pages/tldr/pull/7514)) + - Drop the special "all" platform from the `--list` flag ([#7561](https://github.com/tldr-pages/tldr/pull/7561)) + - Drop the `master` branch from the assets link. ([#9668](https://github.com/tldr-pages/tldr/pull/9668)) + - Require support for long options ([#9651](https://github.com/tldr-pages/tldr/pull/9651)) + - Add recommendation to support caching individual translation archives ([#10148](https://github.com/tldr-pages/tldr/pull/10148)) + +- [v1.5, March 17th 2021](https://github.com/tldr-pages/tldr/blob/v1.5/CLIENT-SPECIFICATION.md) ([#5428](https://github.com/tldr-pages/tldr/pull/5428)) + - Add requirement for converting command names to lowercase before running the page resolution algorithm. + - Use HTTPS for archive links. + +- [v1.4, August 13th 2020](https://github.com/tldr-pages/tldr/blob/v1.4/CLIENT-SPECIFICATION.md) ([#4246](https://github.com/tldr-pages/tldr/pull/4246)) + - Add requirement for CLI clients to use non-zero exit code on failing to find a page. + +- [v1.3, June 11th 2020](https://github.com/tldr-pages/tldr/blob/v1.3/CLIENT-SPECIFICATION.md) ([#4101](https://github.com/tldr-pages/tldr/pull/4101)) + - Clarified fallback to English in the language resolution algorithm. + - Update the `LANG` and `LANGUAGE` environment variables to conform to the GNU spec. + +- [v1.2, July 3rd 2019](https://github.com/tldr-pages/tldr/blob/v1.2/CLIENT-SPECIFICATION.md) ([#3168](https://github.com/tldr-pages/tldr/pull/3168)) + - Addition of a new `-L, --language` recommended command-line option. + - Rewording of the language section, also encouraging the use of configuration files for language. + - Shift from BCP-47 to POSIX style locale tags, with consequent **deprecation of previous versions of the spec**. + - Clearer clarification about the recommended caching functionality. + - Correction of the usage of the term "arguments" in the homonym section. + +- [v1.1, April 1st 2019](https://github.com/tldr-pages/tldr/blob/v1.1/CLIENT-SPECIFICATION.md) (deprecated) ([#2859](https://github.com/tldr-pages/tldr/pull/2859)) + - Clarified platform section. + +- [v1.0, January 23rd 2019](https://github.com/tldr-pages/tldr/blob/v1.0/CLIENT-SPECIFICATION.md) (deprecated) ([#2706](https://github.com/tldr-pages/tldr/pull/2706)) + - Initial release. diff --git a/COMMUNITY-ROLES.md b/COMMUNITY-ROLES.md index a919b4b76b745f..00da4121262a67 100644 --- a/COMMUNITY-ROLES.md +++ b/COMMUNITY-ROLES.md @@ -2,7 +2,8 @@ The following guidelines aim to keep the project vibrant and responsive, by ensuring a **smooth transition flow between community roles** — -from newcomer, to occasional contributor, to regular contributor, to maintainer. +from newcomer to occasional contributor to regular contributor to maintainer. + This way, the project should be able to adapt dynamically and flexibly to the natural variations in availability and interest of its contributors, improving long-term resilience, reducing the risk of burnout, and avoiding @@ -10,21 +11,22 @@ improving long-term resilience, reducing the risk of burnout, and avoiding To this end, rather than _assigning_ roles and tasks to people, these guidelines aim to **recognize the work that people already do**. -Everyone is therefore encouraged to get involved +Everyone is encouraged to get involved and contribute to the project in whatever way they prefer, and we will strive to **get barriers out of the way** of these contributions. -To ensure that these role transitioning processes are +To ensure that these role-transitioning processes are straightforward, transparent, predictable, and impartial, -the metrics used are objective, easy to check, and explicitly described below. -(That's not to say they're hard-set rules: -exceptions can always be considered, via open community discussion.) +the metrics used are objective, easy to check, and explicitly described below. (That's not to say they're hard-set rules: +exceptions can always be considered through open community discussion.) +> [!IMPORTANT] +> It is required to have [two-factor authentication](https://github.com/settings/security) (2FA) enabled for your GitHub account to be added as an outside collaborator or a member of the tldr-pages organization. ## When to change roles - **Regular contributors should be added as collaborators in the repository.** - Specifically: once a contributor has had _5 non-trivial pull requests merged_ + Specifically: once a contributor has had at least _5 non-trivial pull requests merged_ (see `https://github.com/tldr-pages/tldr/commits?author=`) on a repository under the tldr-pages organization, they should be invited to become @@ -34,9 +36,8 @@ exceptions can always be considered, via open community discussion.) - **Repository collaborators who regularly perform maintenance tasks should be added as organization members.** (Maintenance work means facilitating contributions by other people, - which in this project typically consists in reviewing and/or merging PRs.) + which in this project typically consists of reviewing and/or merging PRs.) Specifically: once a repository collaborator has _merged at least 10 PRs_ - (see `https://github.com/tldr-pages/tldr/commits?committer=`) and submitted at least _5 non-trivial reviews to PRs_ (see `https://github.com/tldr-pages/tldr/pulls?q=reviewed-by:`), which can overlap with the 10 they merged themselves, @@ -46,13 +47,14 @@ exceptions can always be considered, via open community discussion.) This means they will be able to push commits to all of the organization's repositories, merge PRs, label and close issues, among other things. - _Note_: All members of the tldr-pages organization - must make their membership public. + +> [!NOTE] +> All members of the tldr-pages organization **must** make their membership public. - **Organization members who remain active for a while should become organization owners.** Specifically: members of the tldr-pages organization who remain _active for at least 6 months_ - (see `https://github.com/tldr-pages/tldr/blob/master/MAINTAINERS.md#current-organization-members`) + (see [`MAINTAINERS.md`](MAINTAINERS.md#organization-members)) should be invited to become an [**owner**](https://help.github.com/articles/permission-levels-for-an-organization/) of the tldr-pages organization. @@ -62,24 +64,24 @@ exceptions can always be considered, via open community discussion.) - **These roles are temporary, and that's OK.** People's interests and availability naturally change over time, so the project should regularly update the list of people in each role, - in order to accurately reflect the active team managing the project + to accurately reflect the active team managing the project (and to avoid conveying an undue sense of obligation on people whose priorities have shifted.) Specifically: If an organization member becomes _inactive for over 6 months_, their membership status should be equally deactivated. (They should nevertheless remain as collaborators in the repositories on which they have been active in the past.) - Again, this is and merely a reflection + Again, this is merely a reflection of their actual involvement with the project, not a demotion or punishment. Indeed, if they return to active participation in the project, they should be added back to the organization, to reflect that fact. - ## How to change roles -*Note: this section is aimed at owners in the tldr-pages organization -(i.e. the group of people who are able to perform these changes).* +> [!NOTE] +> This section is aimed at owners in the tldr-pages organization +> (i.e. the group of people who can perform these changes). If you notice a contributor being particularly active, review their recent contributions to check whether a role transition is due, @@ -91,114 +93,143 @@ using one of the template messages below as a base. 1. Open an issue with the following message template (edit it as appropriate): - ``` + ```md Hi, @username! You seem to be enjoying contributing to the tldr-pages project. - You now have had five distinct pull requests merged ()! - That qualifies you to become a collaborator in this repository, as explained in our [community roles documentation](https://github.com/tldr-pages/tldr/blob/master/COMMUNITY-ROLES.md). + You now have had five distinct pull requests [merged]()! + That qualifies you to become a collaborator in this repository, as explained in our [community roles documentation](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md). As a collaborator, you will have commit access to the repository. That means you can merge pull requests, label and close issues, and perform various other maintenance tasks that are needed here and there. Of course, all of this is voluntary — you're welcome to contribute to the project in whatever ways suit your liking. - If you do decide to start performing maintenance tasks, though, we only ask you to get familiar with the [maintainer's guide](https://github.com/tldr-pages/tldr/blob/master/contributing-guides/maintainers-guide.md). + If you do decide to start performing maintenance tasks, though, we only ask you to get familiar with the [maintainer's guide](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/maintainers-guide.md). So, what do you say? Can we add you as a collaborator? Either way, thanks for all your work so far! + + > [!NOTE] + > It is required to have [two-factor authentication](https://github.com/settings/security) (2FA) enabled for your GitHub account to be added as a collaborator to the tldr-pages/tldr repository. ``` -2. Once they acknowledge the message, and if they accept the invitation, - go to https://github.com/tldr-pages/tldr/settings/collaboration - and add them to the repository as collaborator with write permissions. +2. Once they acknowledge the message and if they accept the invitation, + go to + and add them to the repository as a collaborator with write permissions. -3. Open a PR adding their name to the "Current repository collaborators" section - in [MAINTAINERS.md](MAINTAINERS.md). +3. Suggest them to open a PR adding their name to the "Repository collaborators" section + in [MAINTAINERS.md](MAINTAINERS.md#repository-collaborators) file. Make sure to include `Closes #` in the PR description. - The issue will then be automatically closed once the PR is merged. + The issue will then be automatically closed once the PR gets merged. ### Adding new organization members 1. Open an issue with the following message template (edit it as appropriate): - ``` - Hi, @username! After joining as a collaborator in the repository, you have been regularly performing maintenance tasks (). + ```md + Hi, @username! After joining as a collaborator in the repository, you have been regularly performing [maintenance tasks](). + Thank you for that! - According to our [community roles documentation](https://github.com/tldr-pages/tldr/blob/master/COMMUNITY-ROLES.md), you've now met the thresholds to be effectively considered an active maintainer of the project. + + According to our [community roles documentation](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md), you've now met the thresholds to be effectively considered an active maintainer of the project. + To publicly acknowledge that fact, we'd like to add you to the tldr-pages organization. - If you accept the invitation, we ask you to make your membership public, and (in case you don't already) start hanging out in our Gitter chat room. + If you accept the invitation, we ask you to make your membership public and (in case you don't already) start hanging out in our [Matrix chat room](https://matrix.to/#/#tldr-pages:matrix.org). + Additionally, consider subscribing to the notifications from the various repositories under the [tldr-pages organization](https://github.com/tldr-pages). + As one of the public faces of the tldr-pages project, it's also especially important that you follow and encourage the [project - governance principles](https://github.com/tldr-pages/tldr/blob/master/COMMUNITY-ROLES.md). + governance principles](https://github.com/tldr-pages/tldr/blob/main/GOVERNANCE.md). How does that sound? Are you up for it? ``` -2. Once they acknowledge the message, and if they accept the invitation, - go to https://github.com/orgs/tldr-pages/people +2. Once they acknowledge the message and if they accept the invitation, + go to and add them to the organization as a member. -3. Open a PR moving their name to the "Current organization members" section - in [MAINTAINERS.md](MAINTAINERS.md). +3. Suggest them to open a PR moving their name to the "Organization members" section + in [MAINTAINERS.md](MAINTAINERS.md#organization-members) file. Make sure to include `Closes #` in the PR description. - The issue will then be automatically closed once the PR is merged. + The issue will then be automatically closed once the PR gets merged. ### Adding new organization owners 1. Open an issue with the following message template (edit it as appropriate): - ``` + ```md Hi, @username! You've been an active tldr-pages organization member for over 6 months. + Thanks for sticking around this far and helping out! - According to our [community roles documentation](https://github.com/tldr-pages/tldr/blob/master/COMMUNITY-ROLES.md), you're now eligible for becoming an owner in the organization. + + According to our [community roles documentation](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md), you're now eligible to become an owner in the organization. That means you will, from now on, be part of the team responsible for performing role changes (like this one!) in the community. - When performing such role transitions, make sure to follow the process described in the [COMMUNITY-ROLES.md](https://github.com/tldr-pages/tldr/blob/master/COMMUNITY-ROLES.md) document. + When performing such role transitions, make sure to follow the process described in the [COMMUNITY-ROLES.md](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md) document. Is that OK with you? Let us know! Either way, thanks so much for all the work you've done so far. You rock! ``` -2. Once they acknowledge the message, and if they accept the invitation, +2. Once they acknowledge the message and if they accept the invitation, go to https://github.com/orgs/tldr-pages/people and change their role from "member" to "owner". -3. Open a PR moving their name to the "Current organization owners" section - in [MAINTAINERS.md](MAINTAINERS.md). +3. Suggest them to open a PR moving their name to the "Organization owners" section + in [MAINTAINERS.md](MAINTAINERS.md#organization-owners) file. Make sure to include `Closes #` in the PR description. - The issue will then be automatically closed once the PR is merged. + The issue will then be automatically closed once the PR gets merged. ### Removing inactive organization members 1. Open an issue with the following message template (edit it as appropriate): - ``` - Hi, @username! As you know, our [community roles documentation](https://github.com/tldr-pages/tldr/blob/master/COMMUNITY-ROLES.md) defines processes for keeping the list of organization members in sync with the actual maintenance team. + ```md + Hi, @username! As you know, our [community roles documentation](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md) defines processes for keeping the list of organization members in sync with the actual maintenance team. Since you haven't been active in the project for a while now, we'll be relieving you from the maintainer responsibilities. In practice, not much will change on your side, since you'll remain a collaborator in the repos you have been active in. That means **you will keep the ability to commit, merge PRs, label and close issues, etc.**, whenever you feel so inclined. + If you don't, that's all right too! + Every bit of work you already did for the tldr-pages project was a voluntary gift of your time to this community, which is deeply appreciated. Your efforts have contributed to a project which helps hundreds of people every day — be proud of it! - And of course, you're welcome back anytime as an active maintainer, if you so choose — in which case, just let us know and we'll re-add you to the organization, in accordance to the principles of our governance guidelines. + And of course, you're welcome back anytime as an active maintainer, if you so choose — in which case, just let us know and we'll re-add you to the organization, in accordance with the principles of our governance guidelines. + In any case, we wish you the best of luck in your new endeavors! ``` 2. Once they acknowledge the message (or after two weeks without any reaction), - go to https://github.com/orgs/tldr-pages/people, click the gear icon in their row, + go to , click the gear icon in their row, and select the "Convert to outside collaborator" menu entry. -3. Open a PR moving their name to the "Past organization owners" section +3. Open a PR moving their name to the "Past organization members" section in [MAINTAINERS.md](MAINTAINERS.md). Make sure to include `Closes #` in the PR description. The issue will then be automatically closed once the PR is merged. - ## Who can change roles + 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#current-organization-owners) +[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. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b169bc336a6369..5148418b0f7987 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,56 +1,93 @@ # Contributing -[![Gitter chat][gitter-image]][gitter-url] +[![Matrix chat][matrix-image]][matrix-url] [![Merged PRs][prs-merged-image]][prs-merged-url] [![GitHub contributors][contributors-image]][contributors-url] [![CLA assistant][cla-assistant-image]][cla-assistant-url] [![license][license-image]][license-url] -[gitter-url]: https://gitter.im/tldr-pages/tldr -[gitter-image]: https://img.shields.io/badge/chat-on_gitter-deeppink +[matrix-url]: https://matrix.to/#/#tldr-pages:matrix.org +[matrix-image]: https://img.shields.io/matrix/tldr-pages:matrix.org?label=Chat+on+Matrix [prs-merged-url]: https://github.com/tldr-pages/tldr/pulls?q=is:pr+is:merged -[prs-merged-image]: https://img.shields.io/github/issues-pr-closed-raw/tldr-pages/tldr.svg?label=merged+PRs&color=green +[prs-merged-image]: https://img.shields.io/github/issues-pr-closed-raw/tldr-pages/tldr.svg?label=Merged+PRs&color=green [contributors-url]: https://github.com/tldr-pages/tldr/graphs/contributors -[contributors-image]: https://img.shields.io/github/contributors/tldr-pages/tldr.svg +[contributors-image]: https://img.shields.io/github/contributors/tldr-pages/tldr.svg?label=Contributors [cla-assistant-url]: https://cla-assistant.io/tldr-pages/tldr [cla-assistant-image]: https://cla-assistant.io/readme/badge/tldr-pages/tldr -[license-url]: https://github.com/tldr-pages/tldr/blob/master/LICENSE.md -[license-image]: https://img.shields.io/badge/license-CC_BY_4.0-blue.svg +[license-url]: https://github.com/tldr-pages/tldr/blob/main/LICENSE.md +[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. + +> [!IMPORTANT] +> While this file contains general instructions to get started, it is suggested to read the [style guide](contributing-guides/style-guide.md) and [translation templates](contributing-guides/translation-templates) +> for more detailed information about the syntax and commonly used translation terms. + 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, don't forget to check if there's already a pull request in progress for it. +> [!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. ## 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 if needed, but don't exceed 8 examples. +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. 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. +3. Prefer using longform options or try to incorporate the spelled-out version of single-letter options in the example's description if the program doesn't support longform. 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 - (ex: 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 + (i.e. 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. When in doubt, have a look at a few existing pages :). +See the full [style guide](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md) for detailed instructions. + +## Directory structure + +The English pages directory is called `pages`, under which the platform directories are present. Language-specific directories must follow the pattern `pages.`, where `` is a +[POSIX Locale Name](https://www.gnu.org/software/gettext/manual/html_node/Locale-Names.html#Locale-Names) in the form of `[_]`, where: + +- `` 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). +- `` 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 `` code is optional and should only be added when there is a substantial difference 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. + +### Platform directories + +The `pages` directory and `pages.*` language-specific directories contain the platform directories, if they have at least one page of that platform. + +1. If the command is available for **two or more** platforms, put it **under the `common` directory**. +2. If the command is **only** available for **one** platform, these are the available directories followed by their right platform: + +- `android`: Android +- `cisco-ios`: Cisco IOS +- `dos`: MS-DOS/DOSBox/FreeDOS +- `freebsd`: FreeBSD +- `openbsd`: OpenBSD +- `osx`: OSX/Mac OS/macOS (will be replaced by `macos`) +- `linux`: any Linux distro +- `netbsd`: NetBSD +- `sunos`: SunOS +- `windows`: Windows + ## Markdown format As a quick reference, the format of each page should match the following template: -``` +```md # command-name > Short, snappy description. @@ -59,81 +96,206 @@ As a quick reference, the format of each page should match the following templat - Example description: -`command -opt1 -opt2 -arg1 {{arg_value}}` +`command --option` - Example description: -`command -opt1 -opt2` +`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 is 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. + +Other examples but not limited to of our placeholder syntax are: + +- `{{path/to/directory}}` +- `{{path/to/directory1 path/to/directory2 ...}}` + +However, if the description suggests a specific value, leave it as part of the command, and **not** as a placeholder, for example: + +```md +- Display records more recent than 3 days: + +`lastlog --time 3` ``` -For more detailed page formatting guidelines, +For more detailed formatting guidelines, 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`. +You should always add a base page (e.g. `git`) that describes the program and basic switches like `--version` or `--help`. + +### Referencing subcommands + +The following methods can be used to reference subcommands: + +- You can add a note saying ``Some subcommands such as `example command` have their own usage documentation`` to the main page. (See the [subcommand reference](/contributing-guides/translation-templates/subcommand-mention.md) page for translation templates). `example command` should only include the subcommand (e.g. `commit` instead of `git commit`). +- You can use ``See also: `command1`, `command2`.`` template to reference similar commands, aliases and subcommands. +- Alternatively, the whole page can be converted to reference the main subcommands. + +For example: + +```md +# command + +> Short, snappy description. +> Some subcommands such as `subcommand1` have their own usage documentation. +> More information: . + +- View documentation for creating something: + +`tldr command-subcommand1` + +- View documentation for managing something: + +`tldr command-subcommand2` +``` + 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) +- [distrobox-create](pages/linux/distrobox-create.md) +- [nmcli](pages/linux/nmcli.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 don'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.`, where `` is a [POSIX Locale Name](https://www.gnu.org/software/gettext/manual/html_node/Locale-Names.html#Locale-Names) in the form of `[_]`, where: +Translation of pages can be done by simply creating the corresponding page within the appropriate [language-specific directory](#directory-structure), creating that as well if it does not already exist. - - `` 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). - - `` 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). +> [!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 `` 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. +> [!TIP] +> When fixing errors in an existing translation, it is suggested to update the page to match the latest version of the English page. + +To see the current progress of all translations, you can visit , which provides a dynamically updated table of all pages and their translations or you can visit , which provides a dynamically updated list about the translation status (e.g. list all outdated pages) per language. 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). -### Default language for newly added pages +It is acceptable for several pages to get translated in one pull request. -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. +For more information about language-specific rules, refer to the [style guide](contributing-guides/style-guide.md#language-specific-rules). ## 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 -The easiest way to submit a change is to just edit the page directly on the GitHub interface. +### 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 it is 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 the `npm install` command and now when you commit your changes, the tests will run automatically via the pre-commit hook. +> (To skip the pre-commit hook and immediately commit your changes use the `git commit --no-verify` command). + +### Submitting changes + +The easiest way to submit a change is to 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). +[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, in addition to facilitate the contribution to go on if you can no longer work on it soon for any reason. + +### 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. + +To commit a suggestion to your pull request, 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 the `Commit suggestions` button and enter a commit message to create a single commit. + +> [!IMPORTANT] +> Do not force push. We would prefer to preserve commit history so that the order of events is preserved. All pull requests will be squashed so a messy pull request will not matter. + +### Commit message and PR title -### Commit message +For the commit message and PR title of page changes, use the following format: -For the commit message, use the following format: +`{{command}}: type of change` - : 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: -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` +- 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 some pages: `grep, find, locate: synchronize format of wildcards` +- For related changes to several unrelated pages: `pages*: fix Linux casing` +- For multiple subcommand page additions: `git-{add, push, ...}: add page` +- For modifying multiple pages in a language: `pages./*: update pages` + +For script changes, the commit message and the PR title can be (but not limited to) one of the following examples: + +- For a new script addition: `scripts/{{script_name}}: add script` +- For a script edit: `scripts/set-alias-page: fix performance issue` +- For changes that affect multiple scripts: `scripts: replace insecure library` + +For other cases, it is suggested to follow as much as possible. + +## Name collisions + +When there are multiple commands sharing the same name, the existing page of the command and the new command can be renamed to `command.1` and so on following a numbering scheme or using a suffix relating to the program like the programming language i.e. `command.js`. +The base page can be updated to reference the newly renamed/created pages by following [the disambiguation page format](contributing-guides/style-guide.md#disambiguations). + +See the following page for reference: + +- [just](pages/common/just.md) ## 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 diff --git a/GOVERNANCE.md b/GOVERNANCE.md index 6a4728ee701c3a..21f08e0403a366 100644 --- a/GOVERNANCE.md +++ b/GOVERNANCE.md @@ -6,11 +6,11 @@ governance structure. To that end, this document describes the principles that guide the self-management of the project. -By having them written down explicitly, and open to scrutiny, +By having them written down explicitly and open to scrutiny, the entire community can read, apply, improve and adapt them as needed, with no central authority. -Community members are asked to abide by the following principles: +Community members are requested to abide by the following principles: 1. **All contributions are welcome**, [no matter how small](https://github.com/kentcdodds/all-contributors). @@ -18,13 +18,13 @@ Community members are asked to abide by the following principles: [do-ocracy](https://communitywiki.org/wiki/DoOcracy), so don't hesitate to get involved — we're happy to welcome you into the community! - Please take a look at [CONTRIBUTING.md](CONTRIBUTING.md) to get started. + Please take a look at the [CONTRIBUTING.md](CONTRIBUTING.md) file to get started. 2. **All interactions must be respectful and cordial**. - Avoid making assumptions about the others' intentions, - and make your own intentions clear. - When in doubt, provide additional context, or ask for clarification. - Remember, it's very hard to convey meaning on a purely written medium, + Avoid making assumptions about the other's intentions, + and make your intentions clear. + When in doubt, provide additional context or ask for clarification. + Remember, it's very hard to convey meaning in a purely written medium, especially between people from different cultures, technical backgrounds, English proficiency levels, etc. Use inclusive language whenever possible and reasonable — for example, @@ -34,12 +34,12 @@ Community members are asked to abide by the following principles: 3. **All communications are public**. There are no permanent private channels where maintainers discuss "internal" matters. - Occasional private chat or email messages may be exchanged, + Occasionally, private chat or email messages may be exchanged, e.g. when setting up services that require passwords, - but otherwise all communications that impact the project + but otherwise, all communications that impact the project will either happen in issue and PR discussions, - or in the [Gitter chat room](https://gitter.im/tldr-pages/tldr) - (which is open to all, and publicly logged). + or in the [Matrix chatroom](https://matrix.to/#/#tldr-pages:matrix.org) + (which is open to all and publicly logged). 4. **All decisions are made by community consensus**. This does not mean there has to be unanimity, @@ -47,12 +47,12 @@ Community members are asked to abide by the following principles: What it means is that all interested members of the community are welcome to voice their thoughts, and incompatible positions will ideally be resolved - with participants either agreeing with the final decision, or voluntarily + with participants either agreeing with the final decision or voluntarily [consenting](https://en.wikipedia.org/wiki/Sociocracy#Consent_vs._consensus) to accept it as "good enough for now, safe enough to try". 5. **Community roles should reflect actual activity**. - Community roles in the tldr-project are set up + Community roles in the tldr-pages project are set up to dynamically reflect organizational work performed by community members, rather than assigned as authority positions by top-down decision-making. The different roles that contributors can take in the community, diff --git a/LICENSE.md b/LICENSE.md index 13903ff7326044..9b4ebcb9a886af 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,13 +1,14 @@ + Copyright © 2014—present the [tldr-pages team](https://github.com/orgs/tldr-pages/people) and [contributors](https://github.com/tldr-pages/tldr/graphs/contributors). **This work is licensed under the -[Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/) +[Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/) (CC-BY).** ---- -The contents of the [scripts/](https://github.com/tldr-pages/tldr/tree/master/scripts) directory +The contents of the [scripts/](https://github.com/tldr-pages/tldr/tree/main/scripts) directory are licensed under the MIT license: > **The MIT License** diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 8a397e2c9fe84e..ac82f4a73f189b 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -1,100 +1,280 @@ # Maintainers This file contains a list of the maintainers of the tldr-pages project. -Note: only the people marked with **bold** are currently in the indicated role. -The other entries are kept for historical record. -There are three types of maintainers, as described in -[COMMUNITY-ROLES.md](https://github.com/tldr-pages/tldr/blob/master/COMMUNITY-ROLES.md#when-to-change-roles): -repository collaborators, organization members, and organization owners -— each having specific roles in maintaining the project, as outlined below. +> [!NOTE] +> Only the people marked with **bold** are currently in the indicated role. +> The other entries are kept for historical record. -In general terms, all maintainers are expected to follow the -[Maintainer's guide](contributing-guides/maintainers-guide.md). +There are three types of maintainers, as described in [COMMUNITY-ROLES.md](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md#when-to-change-roles): repository collaborators, organization members, +and organization owners — each having specific roles in maintaining the project, as outlined below. +In general terms, all maintainers are expected to follow the [Maintainer's guide](contributing-guides/maintainers-guide.md). ## Repository collaborators -Repository collaborators have write access to this repository, -which allows them to label, edit and close issues, -as well as review and merge pull requests from other contributors. -If you are an owner of the organization, you should be able to see an automated list -[here](https://github.com/tldr-pages/tldr/settings/collaboration). +Repository collaborators have write access to the tldr repository, which allows them to label, edit and close issues/pull requests, as well as review and merge pull requests from other contributors. +If you are an owner of the organization, you can see an automated list [here](https://github.com/tldr-pages/tldr/settings/collaboration). -- **Max Xu ([@jsonbruce](https://github.com/jsonbruce))**: - [13 January 2018](https://github.com/tldr-pages/tldr/issues/1885) — present - **Jeef ([@jeeftor](https://github.com/jeeftor))**: [12 March 2017](https://github.com/tldr-pages/tldr/issues/1209#issuecomment-285924778) — present -- **Muhammad Falak R Wani ([@mfrw](https://github.com/mfrw))**: - [7 September 2018](https://github.com/tldr-pages/tldr/issues/2306) — present +- **Max Xu ([@maxsxu](https://github.com/maxsxu))**: + [11 January 2018](https://github.com/tldr-pages/tldr/issues/1885) — present +- **David Bialik ([@AnimiVulpis](https://github.com/AnimiVulpis))**: + [5 November 2018](https://github.com/tldr-pages/tldr/issues/2556) — present - **Andrik Albuquerque ([@andrik](https://github.com/andrik))**: - [9 May 2019](https://github.com/tldr-pages/tldr/issues/2988) — present + [8 May 2019](https://github.com/tldr-pages/tldr/issues/2988) — present - **Ivan Aracki ([@Aracki](https://github.com/Aracki))**: - [9 May 2019](https://github.com/tldr-pages/tldr/issues/2988) — present + [8 May 2019](https://github.com/tldr-pages/tldr/issues/2988) — present - **Pierre Rudloff ([@Rudloff](https://github.com/Rudloff))**: - [19 November 2019](https://github.com/tldr-pages/tldr/issues/3580) — present -- **Proscream ([@Proscream](https://github.com/Proscream))**: - [22 November 2019](https://github.com/tldr-pages/tldr/issues/3592) — present + [16 November 2019](https://github.com/tldr-pages/tldr/issues/3580) — present - **Guido Lena Cota ([@glenacota](https://github.com/glenacota))**: [19 October 2020](https://github.com/tldr-pages/tldr/issues/4763) — present - **Sahil Dhiman ([@sahilister](https://github.com/sahilister))**: - [05 December 2020](https://github.com/tldr-pages/tldr/issues/4994) — present -- **bl-ue ([@bl-ue](https://github.com/bl-ue))**: - [01 January 2021](https://github.com/tldr-pages/tldr/issues/5056) — present + [27 November 2020](https://github.com/tldr-pages/tldr/issues/4994) - present +- **Adam Herst ([@aherst](https://github.com/aherst))**: + [21 April 2021](https://github.com/tldr-pages/tldr/issues/5810) — present +- **Nicolas Kosinski ([@nicokosi](https://github.com/nicokosi))**: + [03 May 2021](https://github.com/tldr-pages/tldr/issues/5873) — present +- **Patrice Denis ([@patricedenis](https://github.com/patricedenis))**: + [10 May 2021](https://github.com/tldr-pages/tldr/issues/5919) — present +- **Reinhart Previano Koentjoro ([@reinhart1010](https://github.com/reinhart1010))**: + [23 November 2021](https://github.com/tldr-pages/tldr/issues/7404) — present +- **258204 ([@258204](https://github.com/258204))**: + [10 December 2021](https://github.com/tldr-pages/tldr/issues/7522) — present +- **Nicolas Hansse ([@Nico385412](https://github.com/Nico385412))**: + [19 July 2022](https://github.com/tldr-pages/tldr/issues/8224) — present +- **Adrien Thebo ([@adrienthebo](https://github.com/adrienthebo))**: + [17 August 2022](https://github.com/tldr-pages/tldr/issues/8321) — present +- **Cairn ([@CairnThePerson](https://github.com/CairnThePerson))**: + [1 September 2022](https://github.com/tldr-pages/tldr/issues/8438) — present +- **Lucas Schneider ([@schneiderl](https://github.com/schneiderl))**: + [11 April 2019](https://github.com/tldr-pages/tldr/issues/2898) — [17 January 2020](https://github.com/tldr-pages/tldr/issues/3764), [7 February 2023](https://github.com/tldr-pages/tldr/issues/10674) — present +- **HoJeong Im ([@IMHOJEONG](https://github.com/IMHOJEONG))**: + [24 October 2023](https://github.com/tldr-pages/tldr/issues/11200) — present +- **Leon ([@leonvsc](https://github.com/leonvsc))**: + [14 November 2023](https://github.com/tldr-pages/tldr/issues/11495) — present - **Matthew Peveler ([@MasterOdin](https://github.com/MasterOdin))**: - [09 January 2021](https://github.com/tldr-pages/tldr/issues/5122) — present -- Lucas Schneider ([@schneiderl](https://github.com/schneiderl)): - [11 April 2019](https://github.com/tldr-pages/tldr/issues/2898) — [17 January 2020](https://github.com/tldr-pages/tldr/issues/3764) + [9 January 2021](https://github.com/tldr-pages/tldr/issues/5122) — [18 March 2021](https://github.com/tldr-pages/tldr/issues/5473), [15 November 2023](https://github.com/tldr-pages/tldr/issues/11509) — present +- **cyqsimon ([@cyqsimon](https://github.com/cyqsimon))**: + [28 December 2023](https://github.com/tldr-pages/tldr/issues/11864) — present +- **Jongwon Youn ([@korECM](https://github.com/korECM))**: + [29 December 2023](https://github.com/tldr-pages/tldr/issues/11892) — present +- **Mohammad Reza Soleimani ([@MrMw3](https://github.com/MrMw3))**: + [07 January 2024](https://github.com/tldr-pages/tldr/issues/12011) — present +- **Alexandre ZANNI ([@noraj](https://github.com/noraj))**: + [22 February 2024](https://github.com/tldr-pages/tldr/issues/12324) — present +- **Shashank Hebbar ([@quantumflo](https://github.com/quantumflo))**: + [13 November 2023](https://github.com/tldr-pages/tldr/issues/11460) — [27 March 2024](https://github.com/tldr-pages/tldr/issues/12209), [30 March 2024](https://github.com/tldr-pages/tldr/pull/11622#issuecomment-2027932865) — present +- **Debaudh Ghosh ([@debghs](https://github.com/debghs))**: + [16 August 2024](https://github.com/tldr-pages/tldr/issues/13450) — present +- **jxu ([@jxu](https://github.com/jxu))**: + [18 August 2024](https://github.com/tldr-pages/tldr/issues/13451) — present +- **Iván Hernández Cazorla ([@ivanhercaz](https://github.com/ivanhercaz))**: + [24 December 2019](https://github.com/tldr-pages/tldr/issues/3690) — [5 January 2020](https://github.com/tldr-pages/tldr/issues/3736), [22 September 2024](https://github.com/tldr-pages/tldr/issues/5932) — present +- **Yi Liu ([@LiLittleCat](https://github.com/LiLittleCat))**: + [23 September 2024](https://github.com/tldr-pages/tldr/issues/13780) — present +- **Karthik Vallamsetla ([@karthik-script](https://github.com/karthik-script))**: + [01 November 2024](https://github.com/tldr-pages/tldr/issues/14539) — present +- **Igor Támara ([@ikks](https://github.com/ikks))**: + [01 November 2024](https://github.com/tldr-pages/tldr/issues/14536) — present +- **Zamoca42 ([@Zamoca42](https://github.com/Zamoca42))**: + [02 November 2024](https://github.com/tldr-pages/tldr/issues/14538) — present +- **CodePsy-2001 ([@CodePsy-2001](https://github.com/CodePsy-2001))**: + [02 November 2024](https://github.com/tldr-pages/tldr/issues/14537#issuecomment-2457381463) — present +- **Axel Navarro ([@navarroaxel](https://github.com/navarroaxel))**: + [24 August 2020](https://github.com/tldr-pages/tldr/issues/4291) — [5 October 2020](https://github.com/tldr-pages/tldr/issues/4504), [14 November 2024](https://github.com/tldr-pages/tldr/issues/14541) — present +- **witt ([@witt-bit](https://github.com/witt-bit))**: + [14 January 2025](https://github.com/tldr-pages/tldr/issues/15514) — present +- **Amine LOUHICHI ([@aminelch](https://github.com/aminelch))**: + [08 April 2025](https://github.com/tldr-pages/tldr/issues/16126) — present +- **Kristopher Sandoval ([@KristopherLeads](https://github.com/KristopherLeads))**: + [29 June 2025](https://github.com/tldr-pages/tldr/issues/17024) — present +- **Harshavardhan ([@TheRootDaemon](https://github.com/TheRootDaemon))**: + [17 August 2025](https://github.com/tldr-pages/tldr/issues/17708) — present +- **Sarijen ([@Sarijen](https://github.com/Sarijen))**: + [21 August 2025](https://github.com/tldr-pages/tldr/issues/17757) — present +- **Adriano Inghingolo ([@SpikeTheDragon40k](https://github.com/SpikeTheDragon40k))**: + [22 August 2025](https://github.com/tldr-pages/tldr/issues/17772) — present +- **Ali Nazzal ([@ali90h](https://github.com/ali90h))**: + [10 September 2025](https://github.com/tldr-pages/tldr/issues/18069) — present +- **Sadeed Waseem ([@sadeeed](https://github.com/Sadeeed))**: + [04 October 2025](https://github.com/tldr-pages/tldr/issues/18393) — present +- Owen Voke ([@owenvoke](https://github.com/owenvoke)): + [11 January 2018](https://github.com/tldr-pages/tldr/issues/1885) — [26 August 2018](https://github.com/tldr-pages/tldr/issues/2258) +- Marco Bonelli ([@mebeim](https://github.com/mebeim)): + [28 January 2019](https://github.com/tldr-pages/tldr/issues/2735) — [8 April 2019](https://github.com/tldr-pages/tldr/issues/2874) - Ein Verne ([@einverne](https://github.com/einverne)): - [29 October 2019](https://github.com/tldr-pages/tldr/issues/3488) — [12 January 2020](https://github.com/tldr-pages/tldr/issues/3738) + [27 October 2019](https://github.com/tldr-pages/tldr/issues/3488) — [6 January 2020](https://github.com/tldr-pages/tldr/issues/3738) - Zlatan Vasović ([@zlatanvasovic](https://github.com/zlatanvasovic)): - [30 November 2019](https://github.com/tldr-pages/tldr/issues/3636) — [17 December 2019](https://github.com/tldr-pages/tldr/issues/3663) -- Iván Hernández Cazorla ([@ivanhercaz](https://github.com/ivanhercaz)): - [24 December 2019](https://github.com/tldr-pages/tldr/issues/3690) — [5 January 2020](https://github.com/tldr-pages/tldr/issues/3736) -- Axel Navarro ([@navarroaxel](https://github.com/navarroaxel)): - [24 August 2020](https://github.com/tldr-pages/tldr/issues/4291) — [05 October 2020](https://github.com/tldr-pages/tldr/issues/4504) + [28 November 2019](https://github.com/tldr-pages/tldr/issues/3636) — [17 December 2019](https://github.com/tldr-pages/tldr/issues/3663) +- bl-ue ([@bl-ue](https://github.com/bl-ue)): + [30 December 2020](https://github.com/tldr-pages/tldr/issues/5056) — [2 February 2021](https://github.com/tldr-pages/tldr/issues/5219) +- Tan Siret Akıncı ([@tansiret](https://github.com/tansiret)): + [3 March 2021](https://github.com/tldr-pages/tldr/issues/5345) — [7 April 2021](https://github.com/tldr-pages/tldr/issues/5702) +- Florian Benscheidt ([@Waples](https://github.com/Waples)): + [16 April 2021](https://github.com/tldr-pages/tldr/issues/5774) — [19 May 2021](https://github.com/tldr-pages/tldr/issues/5989) +- CleanMachine1 ([@CleanMachine1](https://github.com/CleanMachine1)): + [14 May 2021](https://github.com/tldr-pages/tldr/issues/5961) — [14 June 2021](https://github.com/tldr-pages/tldr/issues/6123) +- Muhammad Falak R Wani ([@mfrw](https://github.com/mfrw)): + [6 September 2018](https://github.com/tldr-pages/tldr/issues/2306) — [21 June 2021](https://github.com/tldr-pages/tldr/issues/6142) +- Seth Falco ([@SethFalco](https://github.com/SethFalco)): + [19 May 2021](https://github.com/tldr-pages/tldr/issues/5993) - [21 June 2021](https://github.com/tldr-pages/tldr/issues/6149) +- Pixel Häußler ([@pixelcmtd](https://github.com/pixelcmtd)): + [27 August 2021](https://github.com/tldr-pages/tldr/issues/6415) — [16 October 2022](https://github.com/tldr-pages/tldr/pull/9072#issuecomment-1279847932) +- Emily Grace Seville ([@EmilyGraceSeville7cf](https://github.com/EmilyGraceSeville7cf)): + [19 January 2022](https://github.com/tldr-pages/tldr/issues/1209#issuecomment-285924778) — [24 April 2022](https://github.com/tldr-pages/tldr/issues/8053) +- K.B.Dharun Krishna ([@kbdharun](https://github.com/kbdharun)): + [06 August 2022](https://github.com/tldr-pages/tldr/issues/8309) — [14 December 2022](https://github.com/tldr-pages/tldr/issues/9625) +- Lin Cheng Chieh ([@blueskyson](https://github.com/blueskyson)): + [12 August 2021](https://github.com/tldr-pages/tldr/issues/6330) — [4 January 2023](https://github.com/tldr-pages/tldr/issues/9671) +- Lena Pastwa ([@acuteenvy](https://github.com/acuteenvy)): + [13 May 2023](https://github.com/tldr-pages/tldr/issues/10187) — [21 June 2023](https://github.com/tldr-pages/tldr/issues/10406) +- Juri ([@gutjuri](https://github.com/gutjuri)): + [06 October 2023](https://github.com/tldr-pages/tldr/issues/10874) — [24 October 2023](https://github.com/tldr-pages/tldr/issues/11201) +- Sebastiaan Speck ([@sebastiaanspeck](https://github.com/sebastiaanspeck)): + [19 October 2023](https://github.com/tldr-pages/tldr/issues/11075) — [24 October 2023](https://github.com/tldr-pages/tldr/issues/11202) +- Isaac Vicente ([@isaacvicente](https://github.com/isaacvicente)): + [20 September 2023](https://github.com/tldr-pages/tldr/issues/10737) — [29 December 2023](https://github.com/tldr-pages/tldr/issues/11918) +- Vitor Henrique ([@vitorhcl](https://github.com/vitorhcl)): + [18 December 2023](https://github.com/tldr-pages/tldr/issues/11771) — [21 January 2024](https://github.com/tldr-pages/tldr/issues/12094) +- Geipro/Proscream ([@Geipro)](https://github.com/Geipro)): + [19 November 2019](https://github.com/tldr-pages/tldr/issues/3592) — [27 March 2024](https://github.com/tldr-pages/tldr/issues/12209) (Removed during 2FA enforcement) +- Ruben Vereecken ([@rubenvereecken](https://github.com/rubenvereecken)): + [18 January 2018](https://github.com/tldr-pages/tldr/issues/1878#issuecomment-358610454) — [27 March 2024](https://github.com/tldr-pages/tldr/issues/12209) (Removed during 2FA enforcement) +- Fazle Arefin ([@fazlearefin](https://github.com/fazlearefin)): + [09 February 2024](https://github.com/tldr-pages/tldr/issues/12227) — [2 April 2024](https://github.com/tldr-pages/tldr/issues/12595) +- Alejandro Cervera ([@tricantivu](https://github.com/tricantivu)): + [4 January 2024](https://github.com/tldr-pages/tldr/issues/11989) — [3 April 2024](https://github.com/tldr-pages/tldr/issues/12594) +- Magrid0 ([@Magrid0](https://github.com/Magrid0)): + [22 October 2023](https://github.com/tldr-pages/tldr/issues/11159) — [3 May 2024](https://github.com/tldr-pages/tldr/issues/12717) +- Darío Hereñú ([@kant](https://github.com/kant)): + [20 September 2023](https://github.com/tldr-pages/tldr/issues/10738) — [3 May 2024](https://github.com/tldr-pages/tldr/issues/12718) +- Wiktor Perskawiec ([@spageektti](https://github.com/spageektti)): + [11 May 2024](https://github.com/tldr-pages/tldr/issues/12776) — [1 June 2024](https://github.com/tldr-pages/tldr/issues/12869) +- Managor ([@Managor](https://github.com/Managor)): + [4 September 2023](https://github.com/tldr-pages/tldr/issues/10611) — [3 October 2024](https://github.com/tldr-pages/tldr/issues/13956) +- Renie ([@renie](https://github.com/renie)): + [03 October 2024](https://github.com/tldr-pages/tldr/issues/13946) — [23 October 2024](https://github.com/tldr-pages/tldr/issues/14343) +- Machiavelli ([@MachiavelliII](https://github.com/MachiavelliII)): + [21 January 2025](https://github.com/tldr-pages/tldr/issues/15564) — [27 Mar 2025](https://github.com/tldr-pages/tldr/issues/16036) +- Nelson Figueroa ([@nelsonfigueroa](https://github.com/nelsonfigueroa)): + [21 September 2024](https://github.com/tldr-pages/tldr/issues/13781) — [29 June 2025](https://github.com/tldr-pages/tldr/issues/17025) +- Dylan McGivern ([@dmmqz](https://github.com/dmmqz)): + [30 May 2025](https://github.com/tldr-pages/tldr/issues/16671) — [30 June 2025](https://github.com/tldr-pages/tldr/issues/17026) +- Marcher Simon ([@marchersimon](https://github.com/marchersimon)): + [9 March 2021](https://github.com/tldr-pages/tldr/issues/5390) — [9 April 2021](https://github.com/tldr-pages/tldr/issues/5722), [20 November 2023](https://github.com/tldr-pages/tldr/issues/11381) — [12 July 2025](https://github.com/tldr-pages/tldr/issues/17214) + ## Organization members -In addition to everything that repository collaborators can do, organization members -have write access to all the repositories in the tldr-pages organization, -and [a few extra maintenance capabilities](https://docs.github.com/en/free-pro-team@latest/github/setting-up-and-managing-organizations-and-teams/permission-levels-for-an-organization). +In addition to everything that repository collaborators can do, organization members have write access to all the repositories in the tldr-pages organization, and [a few extra maintenance capabilities](https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/permission-levels-for-an-organization). An automated list can be found [here](https://github.com/orgs/tldr-pages/people). -- **Iván Hernández Cazorla ([@ivanhercaz](https://github.com/ivanhercaz))**: - [5 January 2020](https://github.com/tldr-pages/tldr/issues/3736) — present - **Ein Verne ([@einverne](https://github.com/einverne))**: - [12 January 2020](https://github.com/tldr-pages/tldr/issues/3738) — present -- **Lucas Schneider ([@schneiderl](https://github.com/schneiderl))**: - [17 January 2020](https://github.com/tldr-pages/tldr/issues/3764) — present -- **Axel Navarro ([@navarroaxel](https://github.com/navarroaxel))**: - [05 October 2020](https://github.com/tldr-pages/tldr/issues/4504) — present + [6 January 2020](https://github.com/tldr-pages/tldr/issues/3738) — present +- **Tan Siret Akıncı ([@tansiret](https://github.com/tansiret))**: + [7 April 2021](https://github.com/tldr-pages/tldr/issues/5702) — present +- **Florian Benscheidt ([@Waples](https://github.com/Waples))**: + [19 May 2021](https://github.com/tldr-pages/tldr/issues/5989) — present +- **Seth Falco ([@SethFalco](https://github.com/SethFalco))**: + [21 June 2021](https://github.com/tldr-pages/tldr/issues/6149) — present +- **Isaac Vicente ([@isaacvicente](https://github.com/isaacvicente))**: + [29 December 2023](https://github.com/tldr-pages/tldr/issues/11918) — present +- **Vitor Henrique ([@vitorhcl](https://github.com/vitorhcl))**: + [21 January 2024](https://github.com/tldr-pages/tldr/issues/12094) — present +- **Fazle Arefin ([@fazlearefin](https://github.com/fazlearefin))**: + [2 April 2024](https://github.com/tldr-pages/tldr/issues/12595) — present +- **Alejandro Cervera ([@tricantivu](https://github.com/tricantivu))**: + [3 April 2024](https://github.com/tldr-pages/tldr/issues/12594) — present +- **Magrid0 ([@Magrid0](https://github.com/Magrid0))**: + [3 May 2024](https://github.com/tldr-pages/tldr/issues/12717) — present +- **Darío Hereñú ([@kant](https://github.com/kant))**: + [3 May 2024](https://github.com/tldr-pages/tldr/issues/12718) — present +- **Renie ([@renie](https://github.com/renie))**: + [23 October 2024](https://github.com/tldr-pages/tldr/issues/14343) — present +- **Machiavelli ([@MachiavelliII](https://github.com/MachiavelliII))**: + [27 Mar 2025](https://github.com/tldr-pages/tldr/issues/16036) — present +- **Nelson Figueroa ([@nelsonfigueroa](https://github.com/nelsonfigueroa))**: + [29 June 2025](https://github.com/tldr-pages/tldr/issues/17025) — present +- **Dylan McGivern ([@dmmqz](https://github.com/dmmqz))**: + [30 June 2025](https://github.com/tldr-pages/tldr/issues/17026) — present - Owen Voke ([@owenvoke](https://github.com/owenvoke)) [26 August 2018](https://github.com/tldr-pages/tldr/issues/2258) — [8 May 2019](https://github.com/tldr-pages/tldr/issues/2989) - Marco Bonelli ([@mebeim](https://github.com/mebeim)): - [9 April 2019](https://github.com/tldr-pages/tldr/issues/2874) — [21 December 2019](https://github.com/tldr-pages/tldr/issues/3672) + [8 April 2019](https://github.com/tldr-pages/tldr/issues/2874) — [20 December 2019](https://github.com/tldr-pages/tldr/issues/3672) - Zlatan Vasović ([@zlatanvasovic](https://github.com/zlatanvasovic)): - [17 December 2019](https://github.com/tldr-pages/tldr/issues/3663) — [19 June 2020](https://github.com/tldr-pages/tldr/issues/4113) - + [17 December 2019](https://github.com/tldr-pages/tldr/issues/3663) — [18 June 2020](https://github.com/tldr-pages/tldr/issues/4113) +- Lucas Schneider ([@schneiderl](https://github.com/schneiderl)): + [17 January 2020](https://github.com/tldr-pages/tldr/issues/3764) — [3 February 2021](https://github.com/tldr-pages/tldr/issues/5224) +- Axel Navarro ([@navarroaxel](https://github.com/navarroaxel)): + [5 October 2020](https://github.com/tldr-pages/tldr/issues/4504) — [7 April 2021](https://github.com/tldr-pages/tldr/issues/5703) +- bl-ue ([@bl-ue](https://github.com/bl-ue)): + [2 February 2021](https://github.com/tldr-pages/tldr/issues/5219) — [25 June 2021](https://matrix.to/#/!zXiOpjSkFTvtMpsenJ:gitter.im/$qCyBANu8Ub_GKJgwh0zKlVSgWASLYxYJXBn4NDEEQPw) +- CleanMachine1 ([@CleanMachine1](https://github.com/CleanMachine1)): + [14 June 2021](https://github.com/tldr-pages/tldr/issues/6123) — [14 December 2021](https://github.com/tldr-pages/tldr/issues/7541) +- Marcher Simon ([@marchersimon](https://github.com/marchersimon)): + [9 April 2021](https://github.com/tldr-pages/tldr/issues/5722) — [9 August 2022](https://github.com/tldr-pages/tldr/issues/7540) +- Emily Grace Seville ([@EmilyGraceSeville7cf](https://github.com/EmilyGraceSeville7cf)): + [25 April 2022](https://github.com/tldr-pages/tldr/issues/8053) — [12 January 2022](https://matrix.to/#/!zXiOpjSkFTvtMpsenJ:gitter.im/$n3Jk7mhIzG6edTVUv6MkAoX_1N5z5MPRj2hclyrfKBI) +- Pixel Häußler ([@pixelcmtd](https://github.com/pixelcmtd)): + [16 October 2022](https://github.com/tldr-pages/tldr/pull/9072#issuecomment-1279847932) — [10 May 2023](https://github.com/tldr-pages/tldr/pull/10056) +- Muhammad Falak R Wani ([@mfrw](https://github.com/mfrw)): + [21 June 2021](https://github.com/tldr-pages/tldr/issues/6142) — [9 June 2023](https://github.com/tldr-pages/tldr/issues/10053) +- K.B.Dharun Krishna ([@kbdharun](https://github.com/kbdharun)): + [14 December 2022](https://github.com/tldr-pages/tldr/issues/9625) — [19 June 2023](https://github.com/tldr-pages/tldr/issues/10057) +- Lin Cheng Chieh ([@blueskyson](https://github.com/blueskyson)): + [4 January 2023](https://github.com/tldr-pages/tldr/issues/9671) — [7 July 2023](https://github.com/tldr-pages/tldr/issues/10054) +- Matthew Peveler ([@MasterOdin](https://github.com/MasterOdin)): + [18 March 2021](https://github.com/tldr-pages/tldr/issues/5473) — [15 November 2023](https://github.com/tldr-pages/tldr/issues/11509) +- Lena Pastwa ([@acuteenvy](https://github.com/acuteenvy)): + [21 June 2023](https://github.com/tldr-pages/tldr/issues/10406) — [27 December 2023](https://github.com/tldr-pages/tldr/issues/11839) +- Sebastiaan Speck ([@sebastiaanspeck](https://github.com/sebastiaanspeck)): + [24 October 2023](https://github.com/tldr-pages/tldr/issues/11202) — [28 April 2024](https://github.com/tldr-pages/tldr/issues/12687) +- Juri ([@gutjuri](https://github.com/gutjuri)): + [24 October 2023](https://github.com/tldr-pages/tldr/issues/11201) — [29 April 2024](https://github.com/tldr-pages/tldr/issues/12686) +- Iván Hernández Cazorla ([@ivanhercaz](https://github.com/ivanhercaz)): + [5 January 2020](https://github.com/tldr-pages/tldr/issues/3736) — [22 September 2024](https://github.com/tldr-pages/tldr/issues/5932) +- Wiktor Perskawiec ([@spageektti](https://github.com/spageektti)): + [1 June 2024](https://github.com/tldr-pages/tldr/issues/12869) — [29 June 2025](https://github.com/tldr-pages/tldr/issues/17028) +- Managor ([@Managor](https://github.com/Managor)): + [3 October 2024](https://github.com/tldr-pages/tldr/issues/13956) — [29 June 2025](https://github.com/tldr-pages/tldr/issues/17029) ## Organization owners -Owners of the tldr-pages organization have admin access to all of its repositories, -and are responsible for performing role changes in the community. +Owners of the tldr-pages organization have admin access to all of its repositories and are responsible for performing role changes in the community. An automated list can be found [here](https://github.com/orgs/tldr-pages/people). - **Romain Prieto ([@rprieto](https://github.com/rprieto))**: - created the the project on [8 December 2013](https://github.com/tldr-pages/tldr/commit/11264d9) + created the project on [8 December 2013](https://github.com/tldr-pages/tldr/commit/11264d9b19000734a2d35ecbdbdebc0b0b45aed9) - **Agniva De Sarker ([@agnivade](https://github.com/agnivade))**: - [27 September 2016](https://gitter.im/tldr-pages/tldr?at=57eaedefe4e41c6a4afc2f47) — present + [21 September 2016](https://github.com/tldr-pages/tldr/issues/9899) — present - **Starbeamrainbowlabs ([@sbrl](https://github.com/sbrl))**: - [23 April 2017](https://gitter.im/tldr-pages/tldr?at=58fc6fce3e27cac331b5c397) — present + [19 April 2017](https://github.com/tldr-pages/tldr/issues/9899) — present - **Owen Voke ([@owenvoke](https://github.com/owenvoke))** [8 May 2019](https://github.com/tldr-pages/tldr/issues/2989) — present - **Marco Bonelli ([@mebeim](https://github.com/mebeim))**: [21 December 2019](https://github.com/tldr-pages/tldr/issues/3672) — present -- **Zlatan Vasović ([@zlatanvasovic](https://github.com/zlatanvasovic))**: - [19 June 2020](https://github.com/tldr-pages/tldr/issues/4113) — present +- **CleanMachine1 ([@CleanMachine1](https://github.com/CleanMachine1))**: + [14 December 2021](https://github.com/tldr-pages/tldr/issues/7541) — present +- **Pixel Häußler ([@pixelcmtd](https://github.com/pixelcmtd))**: + [10 May 2023](https://github.com/tldr-pages/tldr/pull/10056) — present +- **Muhammad Falak R Wani ([@mfrw](https://github.com/mfrw))**: + [9 June 2023](https://github.com/tldr-pages/tldr/pull/10355) — present +- **K.B.Dharun Krishna ([@kbdharun](https://github.com/kbdharun))**: + [19 June 2023](https://github.com/tldr-pages/tldr/issues/10057) — present +- **Lin Cheng Chieh ([@blueskyson](https://github.com/blueskyson))**: + [7 July 2023](https://github.com/tldr-pages/tldr/issues/10054) — present +- **Lena Pastwa ([@acuteenvy](https://github.com/acuteenvy))**: + [27 December 2023](https://github.com/tldr-pages/tldr/issues/11839) — present +- **Sebastiaan Speck ([@sebastiaanspeck](https://github.com/sebastiaanspeck))**: + [28 April 2024](https://github.com/tldr-pages/tldr/issues/12687) — present +- **Juri ([@gutjuri](https://github.com/gutjuri))**: + [29 April 2024](https://github.com/tldr-pages/tldr/issues/12686) — present +- **Wiktor Perskawiec ([@spageektti](https://github.com/spageektti))**: + [29 June 2025](https://github.com/tldr-pages/tldr/issues/17028) — present +- **Managor ([@Managor](https://github.com/Managor))**: + [29 June 2025](https://github.com/tldr-pages/tldr/issues/17029) — present - Igor Shubovych ([@igorshubovych](https://github.com/igorshubovych)): until [18 January 2018](https://github.com/tldr-pages/tldr/issues/1878#issuecomment-358610454) - Ruben Vereecken ([@rubenvereecken](https://github.com/rubenvereecken)): @@ -107,6 +287,15 @@ An automated list can be found [here](https://github.com/orgs/tldr-pages/people) until [18 January 2018](https://github.com/tldr-pages/tldr/issues/1878#issuecomment-358610454) - Arvid Gerstmann ([@Leandros](https://github.com/Leandros)): until [18 January 2018](https://github.com/tldr-pages/tldr/issues/1878#issuecomment-358610454) -- Leandro Ostera ([@ostera](https://github.com/ostera)): +- Leandro Ostera ([@leostera](https://github.com/leostera)): until [18 January 2018](https://github.com/tldr-pages/tldr/issues/1878#issuecomment-358610454) -- Waldir Pimenta ([@waldyrious](https://github.com/waldyrious)): until [26 August 2018](https://github.com/tldr-pages/tldr/issues/2257) +- Waldir Pimenta ([@waldyrious](https://github.com/waldyrious)): + until [26 August 2018](https://github.com/tldr-pages/tldr/issues/2257) +- Zlatan Vasović ([@zlatanvasovic](https://github.com/zlatanvasovic)): + until [14 December 2021](https://github.com/tldr-pages/tldr/issues/7538) +- Lucas Schneider ([@schneiderl](https://github.com/schneiderl)): + until [7 February 2023](https://github.com/tldr-pages/tldr/issues/10674) +- Marcher Simon ([@marchersimon](https://github.com/marchersimon)): + until [20 November 2023](https://github.com/tldr-pages/tldr/issues/11381) +- Axel Navarro ([@navarroaxel](https://github.com/navarroaxel)): + until [14 November 2024](https://github.com/tldr-pages/tldr/issues/14541) diff --git a/README.md b/README.md index 3710b21da774e7..e8273b00a50a86 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,27 @@ + +
-

tldr-pages

+

tldr-pages

[![Build status][github-actions-image]][github-actions-url] -[![Gitter chat][gitter-image]][gitter-url] +[![Matrix chat][matrix-image]][matrix-url] [![Merged PRs][prs-merged-image]][prs-merged-url] [![GitHub contributors][contributors-image]][contributors-url] [![license][license-image]][license-url] +[![Mastodon][mastodon-image]][mastodon-url] [github-actions-url]: https://github.com/tldr-pages/tldr/actions -[github-actions-image]: https://img.shields.io/github/workflow/status/tldr-pages/tldr/CI.svg -[gitter-url]: https://gitter.im/tldr-pages/tldr -[gitter-image]: https://img.shields.io/badge/chat-on_gitter-deeppink +[github-actions-image]: https://img.shields.io/github/actions/workflow/status/tldr-pages/tldr/ci.yml?branch=main&label=Build +[matrix-url]: https://matrix.to/#/#tldr-pages:matrix.org +[matrix-image]: https://img.shields.io/matrix/tldr-pages:matrix.org?label=Chat+on+Matrix [prs-merged-url]: https://github.com/tldr-pages/tldr/pulls?q=is:pr+is:merged -[prs-merged-image]: https://img.shields.io/github/issues-pr-closed-raw/tldr-pages/tldr.svg?label=merged+PRs&color=green +[prs-merged-image]: https://img.shields.io/github/issues-pr-closed-raw/tldr-pages/tldr.svg?label=Merged+PRs&color=green [contributors-url]: https://github.com/tldr-pages/tldr/graphs/contributors -[contributors-image]: https://img.shields.io/github/contributors/tldr-pages/tldr.svg -[license-url]: https://github.com/tldr-pages/tldr/blob/master/LICENSE.md -[license-image]: https://img.shields.io/badge/license-CC_BY_4.0-blue.svg +[contributors-image]: https://img.shields.io/github/contributors-anon/tldr-pages/tldr.svg?label=Contributors +[license-url]: https://github.com/tldr-pages/tldr/blob/main/LICENSE.md +[license-image]: https://img.shields.io/badge/license-CC_BY_4.0-blue.svg?label=License +[mastodon-url]: https://fosstodon.org/@tldr_pages +[mastodon-image]: https://img.shields.io/badge/Mastodon-6364FF?logo=mastodon&logoColor=fff
## What is tldr-pages? @@ -25,168 +30,135 @@ The **tldr-pages** project is a collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional [man pages](https://en.wikipedia.org/wiki/Man_page). -Maybe you are new to the command-line world? Or just a little rusty? -Or perhaps you can't always remember the arguments to `lsof`, or `tar`? +Maybe you're new to the command-line world. Perhaps you're just a little rusty or can't always recall the arguments for commands like `lsof`, or `tar`? -It certainly doesn't help that the first option explained in `man tar` is: +It certainly doesn't help that, in the past, the first option explained in `man tar` was: -``` +```console +$ man tar +... -b blocksize Specify the block size, in 512-byte records, for tape drive I/O. As a rule, this argument is only needed when reading from or writing to tape drives, and usually not even then as the default block size of 20 records (10240 bytes) is very common. +... ``` -There seems to be room for simpler help pages, focused on practical examples. +There is room for simpler help pages focused on practical examples. How about: -![screenshot of the tldr-node-client displaying the tldr page for the tar command](images/screenshot.png) + + + + Screenshot of the tldr client displaying the tar command. + This repository is just that: an ever-growing collection of examples -for the most common UNIX, Linux, macOS, SunOS and Windows command-line tools. +for the most common UNIX, Linux, macOS, FreeBSD, NetBSD, OpenBSD, +SunOS, Android, Windows, Cisco IOS, and DOS command-line tools. ## How do I use it? +> [!TIP] +> For browsing without installing a client on your computer, +> see the web client at (with offline support using PWA). + A popular and convenient way to access these pages on your computer -is to install the [Node.js client](https://github.com/tldr-pages/tldr-node-client), -which is supported by the tldr-pages project maintainers: - - npm install -g tldr - -That way you can write `tldr tar` in the terminal to show the tldr page for `tar`, -just like you would write `man tar` to show its manpage. - -There are also various other clients provided by the community, -both for the command line and for other platforms: - -- Alfred Workflow - - [tldr-alfred](https://github.com/cs1707/tldr-alfred) - - [alfred-tldr](https://github.com/konoui/alfred-tldr) -- [Albert Plugin](https://github.com/bergercookie/awesome-albert-plugins/tree/master/plugins/tldr_pages) -- Android clients: - - [tldroid](https://github.com/hidroh/tldroid), available on - [Google Play](https://play.google.com/store/apps/details?id=io.github.hidroh.tldroid) *(outdated)* -- Bash clients: - - [tldr](https://github.com/raylee/tldr) - - [tldr-bash-client](https://gitlab.com/pepa65/tldr-bash-client) -- [C# client](https://github.com/principis/tldr-sharp) -- [C client](https://github.com/tldr-pages/tldr-c-client): - `brew install tldr` -- [Chrome Extension](https://github.com/hill/tldr-chrome) available on - [Chrome Web Store](https://chrome.google.com/webstore/detail/tldr-chrome/nnmlddkpgoecicoallmimonoboialpap) -- [Crystal client](https://github.com/porras/tlcr): - `brew install porras/tap/tlcr` -- [Dart client](https://github.com/hterkelsen/tldr): - `pub global activate tldr` -- [Dash docset](https://github.com/Moddus/tldr-python-dash-docset): - Open `Preferences` > `Downloads` > `User Contributed` and find `tldr pages` in the list -- [Discord Bot](https://github.com/sschr15/tldr-discord): - [Follow the building instructions](https://github.com/sschr15/tldr-discord#building) or - [use a privately hosted version](https://discord.com/api/oauth2/authorize?client_id=742800507210301520&permissions=18432&scope=bot) -- Docker images: - - [tldr-docker](https://github.com/nutellinoit/tldr-docker) - Run the `tldr` command via a docker container: `alias tldr='docker run --rm -it -v ~/.tldr/:/root/.tldr/ nutellinoit/tldr'` -- Elixir clients: - - [ExTldr](https://github.com/ivanhercaz/extldr). - - [TLDR Elixir Client](https://github.com/edgurgel/tldr_elixir_client) - (binaries not yet available) -- [Emacs client](https://github.com/kuanyui/tldr.el), available on - [MELPA](https://github.com/melpa/melpa) -- Go clients: - - [github.com/pranavraja/tldr](https://github.com/pranavraja/tldr): - `go get github.com/pranavraja/tldr` - (or [platform binaries](https://github.com/pranavraja/tldr/releases)) - - [4d63.com/tldr](https://4d63.com/tldr): - `go get 4d63.com/tldr` or `brew install 4d63/tldr/tldr` - (or [platform binaries](https://github.com/leighmcculloch/tldr/releases)) - - [github.com/elecprog/tldr](https://github.com/elecprog/tldr): - `go get github.com/elecprog/tldr` - (or [platform binaries](https://github.com/elecprog/tldr/releases)) - - [github.com/isacikgoz/tldr](https://github.com/isacikgoz/tldr): - `go get github.com/isacikgoz/tldr` - (or [platform binaries](https://github.com/isacikgoz/tldr/releases)) -- iOS clients: - - [tldr-man-page](https://github.com/freesuraj/TLDR), available on - [App Store](https://appsto.re/sg/IQ0-_.i) - - [tldr-pages](https://github.com/mflint/ios-tldr-viewer), available on - [App Store](https://itunes.apple.com/us/app/tldt-pages/id1071725095?ls=1&mt=8) -- Haskell clients: - - [tldr-hs](https://github.com/psibi/tldr-hs): - `stack install tldr` - or `apt-get install tldr` on Debian-based distributions - - [fast-tldr](https://github.com/gutjuri/fast-tldr) -- [Java client](https://github.com/seenukarthi/tldr-java-client) -- [Keypirinha Plugin](https://github.com/ronan696/keypirinha-tldr) -- [Node.js client](https://github.com/tldr-pages/tldr-node-client): - `npm install -g tldr` -- [OCaml client](https://github.com/RosalesJ/tldr-ocaml): `opam install tldr` -- [Perl5 client](https://github.com/shoichikaji/perl-tldr): - `cpanm App::tldr` -- [PHP client](https://github.com/BrainMaestro/tldr-php): - `composer global require brainmaestro/tldr` -- Python clients: - - [tldr-python-client](https://github.com/tldr-pages/tldr-python-client): - `pip install tldr` or `pacman -S tldr` on Arch Linux - - [tldr.py](https://github.com/lord63/tldr.py): - `pip install tldr.py` or `apt-get install tldr-py` on Debian-based distributions -- [R client](https://github.com/kirillseva/tldrrr): - `devtools::install_github('kirillseva/tldrrr')` -- [Ruby client](https://github.com/YellowApple/tldrb): - `gem install tldrb` -- [Rust client](https://github.com/dbrgn/tealdeer): - `cargo install tealdeer` -- [Vim Client](https://github.com/wlemuel/vim-tldr) -- [Visual Studio Code extension](https://github.com/bmuskalla/vscode-tldr) available on [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=bmuskalla.vscode-tldr) -- Web clients: - - [tldr.jsx](https://github.com/ostera/tldr.jsx): http://tldr.ostera.io/ - - [DistroWatch](https://distrowatch.com/dwres.php?resource=man-pages) - - [tldr.ooops.me](https://tldr.ooops.me): web client with multilingual support - - [TLDR Persian](https://opoet777.github.io/tldr-persian/): Web Client in Persian - -There is also a comprehensive -[list of clients in our Wiki](https://github.com/tldr-pages/tldr/wiki/tldr-pages-clients). - -## How do I contribute? - -- Your favourite command isn't covered? -- You can think of more examples for an existing command? - -All `tldr` pages are kept as Markdown files right here in this repository, -so you can edit them directly and submit your changes as pull requests. +is to install the official [Python client](https://github.com/tldr-pages/tldr-python-client), which can be installed via [pip3](https://pypi.org/project/tldr/) (or [other package managers](https://github.com/tldr-pages/tldr-python-client#installation)): + +```shell +pip3 install tldr +``` + +Linux and Mac users can also install the official [Rust Client](https://github.com/tldr-pages/tlrc) using [Homebrew](https://formulae.brew.sh/formula/tlrc) +(or [other package managers](https://github.com/tldr-pages/tlrc#installation) on other operating systems): + +```shell +brew install tlrc +``` + +Alternatively, you can also use the official [Node.js client](https://github.com/tldr-pages/tldr-node-client), although it has fallen behind in updates: + +```shell +npm install -g tldr +``` + +Then you have direct access to simplified, easy-to-read help for commands, such as `tar`, +accessible through typing `tldr tar` instead of the standard `man tar`. + +If you don't want to install any software, check out the [PDF version](https://github.com/tldr-pages/tldr/releases/latest/download/tldr-book.pdf) instead. + +> [!NOTE] +> PDFs for translations are available for most languages. You can find them in the release assets of the [latest release](https://github.com/tldr-pages/tldr/releases/latest). + +There are also **various other clients** provided by the community, +both for the command-line and for other platforms. +For a comprehensive list of clients, head over to our [Wiki](https://github.com/tldr-pages/tldr/wiki/Clients). + +## How do I contribute to tldr-pages? All contributions are welcome! + +Some ways to contribute include: + +- Adding your favorite command that isn't covered. +- Adding examples or improving the content of an existing page. +- Adding requested pages from our issues with the [help wanted](https://github.com/tldr-pages/tldr/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) label. +- Translating pages into different languages. + +All `tldr` pages are written in Markdown so that they can be edited quite easily and changes can be submitted in +pull requests here using Git on the command-line or +using the GitHub web interface. + We strive to maintain a [welcoming and collaborative](GOVERNANCE.md) community. -Have a look at the [contributing guidelines](CONTRIBUTING.md), and go ahead! +If it's your first time contributing, have a look at the [contributing guidelines](CONTRIBUTING.md), and go ahead! + +If you'd like to contribute to translations, you can visit +to see the overall progress of all translations, and which translations are missing or outdated. + +You are also welcome to join us on the [matrix chatroom](https://matrix.to/#/#tldr-pages:matrix.org)! ## Similar projects +- [Command Line Interface Pages](https://github.com/command-line-interface-pages) + allows you to write standardized help pages for CLI, directories, and configs. + - [Cheat](https://github.com/cheat/cheat) allows you to create and view interactive cheatsheets on the command-line. - It was designed to help remind *nix system administrators of options + It was designed to help remind Unix system administrators of options for commands that they use frequently, but not frequently enough to remember. -- [Bro pages](http://bropages.org/) - are a highly readable supplement to man pages. - Bro pages show concise, common-case examples for Unix commands. - The examples are submitted by the user base, and can be voted up or down; - the best entries are what people see first when they look up a command. +- [cheat.sh](https://cheat.sh/) + Aggregates cheat sheets from multiple sources (including tldr-pages) + into 1 unified interface. -- [kb](https://github.com/gnebbia/kb) - is a minimalist command line knowledge base manager. - kb can be used to organize your notes and cheatsheets in a minimalist - and clean way. It supports also non-text files. +- [devhints](https://devhints.io/) + Rico's cheatsheets are not just focused on the command-line and + include a plethora of other cheatsheets related to programming. - [eg](https://github.com/srsudar/eg) - provides detailed examples with explanations on the command line. + provides detailed examples with explanations on the command-line. Examples come from the repository, but `eg` supports displaying custom examples and commands alongside the defaults. -- [devhints](https://devhints.io/) - Rico's cheatsheets are not just focused on the command line and - include a plethora of other cheatsheets related to programming. +- [kb](https://github.com/gnebbia/kb) + is a minimalist command-line knowledge base manager. + kb can be used to organize your notes and cheatsheets in a minimalist + and clean way. It also supports non-text files. + +- [navi](https://github.com/denisidoro/navi) + is an interactive cheatsheet tool, which allows you to browse through + specific examples or complete commands on the fly. + +- [bropages (deprecated)](http://bropages.org) + are a highly readable supplement to man pages. + It shows concise, common-case examples for Unix commands. + The examples are submitted by the user base, and can be voted up or down; + the best entries are what people see first when they look up a command. ## What does "tldr" mean? TL;DR stands for "Too Long; Didn't Read". -It originates in Internet slang, where it is used to indicate that a long text +It originated as Internet slang, where it is used to indicate that a long text (or parts of it) has been skipped as too lengthy. Read more in How-To Geek's [article](https://www.howtogeek.com/435266/what-does-tldr-mean-and-how-do-you-use-it/). diff --git a/contributing-guides/git-terminal.md b/contributing-guides/git-terminal.md index 15423b35ab3515..a850b680dd484e 100644 --- a/contributing-guides/git-terminal.md +++ b/contributing-guides/git-terminal.md @@ -1,7 +1,11 @@ +# Using Git + +## Opening a Pull Request + Most people submit pull requests to the tldr-pages project [using GitHub's web interface][pr-howto]. -If you prefer, you can do most of the process using the command line instead. +If you prefer, you can do most of the process using the command-line instead. The overall process should look somewhat like this: 1. Fork the tldr-pages/tldr repository on the GitHub web interface. @@ -10,7 +14,10 @@ The overall process should look somewhat like this: `git clone https://github.com/{{your_username}}/tldr.git && cd tldr` 3. Create a feature branch, e.g. named after the command you plan to edit: - `git checkout -b {{branch_name}}` + `git switch -c {{branch_name}}` + +> [!WARNING] +> It is bad practice to submit a PR from the `main` branch of your forked repository. Please create pull requests from a well-named feature branch. 4. Make your changes (edit existing files or create new ones) @@ -18,14 +25,79 @@ The overall process should look somewhat like this: `git commit --all -m "{{commit_message}}"` 6. Push the commit(s) to your fork: - `git push origin {{branch_name}}` + `git push -u origin HEAD` + +7. If you want to avoid setting the upstream every time and just run `git push`: + `git config push.autoSetupRemote true` -7. Go to the GitHub page for your fork and click the green "pull request" button. +> [!WARNING] +> Please avoid force-pushing since it makes the review process harder. + +7. Go to the GitHub page for your fork and click the green "Compare & pull request" button. Please only send related changes in the same pull request. -Typically a pull request will include changes in a single file. -(Exceptions are [occasionally acceptable][mass-changes].) +Typically a pull request will include changes in a single file **unless the pull request introduces translations**. +(Exceptions are [occasionally acceptable][mass-changes]) [pr-howto]: ../CONTRIBUTING.md#submitting-a-pull-request [commit-msg]: ../CONTRIBUTING.md#commit-message [mass-changes]: https://github.com/tldr-pages/tldr/pulls?&q=is:pr+is:merged+label:"mass+changes" + +## Updating your fork + +Forks of GitHub repositories aren't updated automatically. You should update your fork regularly to keep it up-to-date with the latest changes and avoid merge conflicts. + +There are two ways to update your fork. + +1. Via the GitHub web interface. Click `Fetch upstream` and then `Fetch and merge` on the fork as shown below: + +![Fetch and merge button in GitHub](../images/github-fetch-and-merge-button.png) + +2. Using Git in the terminal: + +```bash +git switch main +git remote add upstream https://github.com/tldr-pages/tldr.git # only run if you don't already have the upstream remote (check with "git remote -v") +git fetch upstream main +git merge upstream/main # in case you have any merge conflicts, click the link below to see how to resolve them +git push +``` + +[How to resolve merge conflicts](https://docs.github.com/en/github/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line) + +## Changing the email of your last commit + +If the email that you used for the last commit isn't associated with your GitHub account, you can either add it [here](https://github.com/settings/emails) or change the email of the commit with the following commands: + +```bash +git commit --amend --author="Your Name " +git push --force-with-lease +``` + +## Changing the email of any commit(s) + +1. Perform an [interactive rebase](https://git-scm.com/docs/git-rebase#Documentation/git-rebase.txt--i), specifying the reference of the earliest commit to modify as the argument. +For example, if the earliest commit with the wrong email address was 6 commits ago, you can specify the commit hash (check it with `git log`) or just `HEAD~6`. + +```bash +git rebase --interactive HEAD~6 +``` + +2. You'll see a list of commits starting from the referenced commit to `HEAD`. All of them will default to the instruction `pick`, this means using the commit as-is when replaying them. +For the commits you want to edit, replace the word `pick` with `edit`, then save and exit the editor. + +3. The branch will rewind to the referenced commit, then replay them until it reaches a commit with the `edit` instruction. Amend the commit for the correct email address, then continue rebasing. +Repeat this step until you've successfully finished rebasing and replayed all commits. + +```bash +git commit --amend --author "Your Name " +git rebase --continue +``` + +4. Finally, because you modified the branch history, you'll need to force push back to your remote repository. + +```bash +git push --force-with-lease +``` + +[![asciicast](https://asciinema.org/a/fFMZzQOgJyfUf8HTnXyRj0v02.svg)](https://asciinema.org/a/fFMZzQOgJyfUf8HTnXyRj0v02) diff --git a/contributing-guides/maintainers-guide.md b/contributing-guides/maintainers-guide.md index 6c014c2580562a..dd20c2db11060f 100644 --- a/contributing-guides/maintainers-guide.md +++ b/contributing-guides/maintainers-guide.md @@ -3,14 +3,15 @@ The following guidelines are meant to provide a general basis for the behavior expected of tldr-pages maintainers. -*Note:* This text is a living standard; -that is, it is meant to *describe* the project's maintenance practices, -rather than *prescribe* them. -As a maintainer, you're expected to refer to it for clarifications -about the collaborative workflows of the project, -but also to propose changes to it -that you feel would make it more useful -as a guideline for current and future maintainers. +> [!NOTE] +> This text is a living standard; +> that is, it is meant to *describe* the project's maintenance practices, +> rather than *prescribe* them. +> As a maintainer, you're expected to refer to it for clarification +> about the collaborative workflows of the project, +> but also to propose changes to it +> that you feel would make it more useful +> as a guideline for current and future maintainers. ## I. Responding to contributions @@ -25,8 +26,8 @@ as a guideline for current and future maintainers. You can respond yourself or ask other members to provide their thoughts/opinions. In addition, if possible, try to hang around in the - [Gitter chat room](https://gitter.im/tldr-pages/tldr) - on a regular basis as well, or at least show up every now and then. + [Matrix chat room](https://matrix.to/#/#tldr-pages:matrix.org) + regularly as well, or at least show up every now and then. - **Know when and how to say no**. Sometimes requests or contributions need to be declined, @@ -39,15 +40,15 @@ as a guideline for current and future maintainers. - Always remember to **thank every contribution**, even when it can't be accepted (in fact, especially then). Keep in mind that - [every form of contribution](https://github.com/kentcdodds/all-contributors) + [every form of contribution](https://github.com/all-contributors/all-contributors) (pull request, feature request, bug report, etc.) is a voluntary gift of time offered to the tldr-pages project by someone who cares about it, - so make sure it's clear that that we don't take it for granted. + so make sure it's clear that we don't take it for granted. - Try to **keep the entire contribution process web-based**, if possible, to ensure it is accessible and straightforward. - If you're comfortable with git, consider offering to perform + If you're comfortable with Git, consider offering to perform interactive rebases or other command-line operations on behalf of contributors, or assisting them if they want to do it themselves. @@ -56,22 +57,27 @@ as a guideline for current and future maintainers. - PRs should be merged once they (1) **pass the automated tests** (GitHub Actions, CLA signing, etc.), - (2) have the **review comments addressed**, and - (3) get **approved reviews by two maintainers** - (the second maintainer can perform the merge immediately after accepting.) + (2) have the **review comments addressed**, + (3) get **approved reviews by two maintainers** (the second maintainer can merge immediately after approving). + +- It is suggested to wait for a few hours before merging a PR with new additions to English pages. This is to allow other maintainers to review the changes and provide feedback. + +- If a PR is non-English and there are automatic reviewers added via [CODEOWNERS](https://github.com/tldr-pages/tldr/blob/main/.github/CODEOWNERS), the PR at least needs one approval from one of the CODEOWNERS. + - If a PR fails to get a review from one of the CODEOWNERS after a few days, the first maintainer should ping the CODEOWNERS for review. + - If it still lingers around for **over 10 days without an approval from one of the CODEOWNERS**, the PR can be merged if it has two approvals. + - If it only has one approval, please read the next point. - If a PR fails to get a review from a second maintainer after a few days, - the first maintainer should ping others for review. If it still lingers around - for **over a week without a second maintainer’s approval**, - the first maintainer can go ahead and merge it. + the first maintainer should ping others for review. + - If it still lingers around for **over a week without a second maintainer’s approval**, the first maintainer (if Owner) can go ahead and merge it. + Otherwise, a message can be sent in the chatroom asking other maintainers to review the PR. - If the only issues holding up a merge are **trivial fixes** (typos, syntax errors, etc.), and the author doesn't respond in a day or two, **maintainers can make the necessary changes themselves**, and proceed with the merge process. -- If a PR **stops getting feedback from the submitter** and is marked as stale - by [probot-stale](../.github/stale.yml), +- If a PR **stops getting feedback from the submitter** for more than a month, any maintainer can choose to take over the PR and make the necessary changes to get the content ready for merging. @@ -80,12 +86,14 @@ as a guideline for current and future maintainers. Be mindful of signs of fatigue (less enthusiastic responses, slower reactions), and relax review standards if necessary — minor issues can always be fixed later. +- For pull requests with major/breaking/architectural changes that are **not ready to be merged**, it is suggested to label them with the `decision` label and discuss the changes with the other maintainers in the chatroom. + - When merging PRs, use the **merge strategy that produces a clean Git history**: If there's a single commit in the PR, or if the multiple commits are not semantically independent changes, use the `Squash and merge` method. (Don't forget to clean up the body of the squashed commit message.) - If instead the PR author took the time to craft + If instead, the PR author took the time to craft individual, informative messages for each commit, then use the `Rebase and merge` method, to honor that work and preserve the history of the changes. @@ -93,10 +101,125 @@ as a guideline for current and future maintainers. is that if there are more "dirty" commits than "clean" commits, then prefer squash, else do a rebase. -- Although having push access allows committing directly to the repository, - please **create pull requests for all of your changes**, - except the simplest ones (e.g. typo fixes). +- It is suggested to clean up the commit message when merging a PR. For small commits, use: + + ```txt + page-name: a short description of the change + + Co-authored-by: ... + ``` + + If you think a more descriptive message is needed, use asterisks: + + ```txt + page-name: a short description of the change + + * some more information + * ... + + --------- + + Co-authored-by: ... + ``` + +- It is suggested to preserve the `Co-authored-by` message when cleaning the body of a squashed commit message unless the change done was trivial. + +- Although having push access allows committing directly to the repository to all branches (except the main branch), + please **create pull requests for all of your changes**. This ensures that the entire process that regular contributors go through is also exposed to maintainers, who can then identify and address bottlenecks or inconveniences. Similarly, **avoid merging your own PRs** unless approved by other maintainers. + +- At the last week of October, all applicable PRs that wouldn't get merged + in time can be labelled as `hacktoberfest-accepted`. + +## III. Transparency + +- All non-confidential requests/mail made/sent on behalf of the project + should be documented as an issue with the [archive](https://github.com/tldr-pages/tldr/issues?q=label%3Aarchive) label + and must be communicated with other maintainers. +- All repository/organization settings changes must be documented as an issue with the [archive](https://github.com/tldr-pages/tldr/issues?q=label%3Aarchive) label. + +## IV. Handling failing actions and CLA checks + +- While merging multiple pull requests at the same time there is a chance that the deploy step might fail in the GitHub Actions workflow. In such cases, the maintainer should only **re-run** the workflow of the commit which was last merged (to prevent overwriting of assets by previous commits). +- If the CLA check is frozen at the message "Status waiting to be reported", it is recommended to close and reopen the pull requests to retrigger the check (and notify the contributor about the same). + +For reference to see if a contributor has signed the CLA, visit the dashboard at . + +## V. Creating a client specification release + +### Pre-requisites + +- Ensure client specification changes are discussed with the other maintainers and community members in GitHub and chatroom, and the changes have been agreed upon and enough time has been provided for everyone to review the changes. +- Tag all client spec PRs under a [milestone](https://github.com/tldr-pages/tldr/milestones) for ease of release. +- Ensure [GPG signing](https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key) has been setup for your account. +- It is suggested to prepare the release notes to add to the client specification release in advance. + - The release notes should mention pending breaking architectural changes from previous client specifications (if any). + - Along with the changelog, the release notes must explain the client specification changes in detail along with examples (if any). + +### Steps + +1. Merge all applicable PRs that modify the client specification and ensure they are documented in the [CHANGELOG section of client specification](/CLIENT-SPECIFICATION.md#changelog). +2. Bump the version to the upcoming release (in the client specification file) and inform other maintainers in the chatroom about the release. +3. Clone the repository locally to your device: + +```sh +git clone https://github.com/tldr-pages/tldr +``` + +4. Cross check the additions, version and changelog details in the client specification file. +5. Create a signed tag using the command + +```sh +git tag -s vX.Y.Z +``` + +> [!NOTE]\ +> Replace `X.Y.Z` with the client specification version. + +> [!TIP]\ +> If any commits are merged after the client specification file's version bump commit and before tagging, when creating the tag +> you can use the command: `git tag -s vX.Y.Z ` (i.e. `git tag -s v2.3 3b17800`) to tag a older commit. + +6. Verify the created signed tag's details using the command: + +```sh +git tag -v vX.Y.Z +``` + +7. Now, push the tag to the repository using the command: + +```sh +git push origin vX.Y.Z +``` + +8. Verify the tag's creation [here](https://github.com/tldr-pages/tldr/tags) and then navigate to the [releases](https://github.com/tldr-pages/tldr/releases) tab and draft a new release. +9. Choose the tag you just pushed and add the release notes prepared previously along with an appropriate release title and then enable the "Create a discussion for this release" option. +10. Now publish the release and proceed with the below post-release steps. + +### Post-release steps + +- Once the release is published, [view the workflow run of `copy-release-assets.yml`](https://github.com/tldr-pages/tldr/actions/workflows/copy-release-assets.yml) and after its successful completion ensure the assets are copied from the previous release. +- Notify the [social media managers](https://github.com/tldr-pages/access#social-media-accounts) to post about the client specification release on Mastodon and other platforms to inform the wider community about the release. + +## VI. Periodic Maintenance Tasks + +To maintain the quality and relevance of the tldr-pages project, maintainers are encouraged to regularly perform the following tasks: + +- **Monitor software updates** — Regularly check if the tools documented in tldr-pages have been updated — especially those introducing breaking changes. Update relevant pages accordingly and, where appropriate, encourage contributors to do the same. + +- **Validate external links** — Periodically check that all links across the documentation and pages are functional. Consider using https://github.com/tldr-pages/tldr-maintenance/issues/129 for link-checking pages and other automated link-checking tools to detect broken URLs for documentation. Then replace or remove any broken links. + +- **Update client status on the wiki** — Ensure the list of clients in the project's [Wiki](https://github.com/tldr-pages/tldr/wiki) reflects their current development status (active, inactive, deprecated). Reach out to maintainers of clients when needed for status updates. + +- **Track and document new clients** — Look out for new tldr clients being developed. When appropriate, add them to the Wiki or relevant documentation, and encourage their maintainers to follow the project’s conventions and style guidelines. + +- **Revise CONTRIBUTING.md and the Style Guide** — Make sure that [`CONTRIBUTING.md`](https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md) and the [Style Guide](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md) reflect current conventions. If community conventions shift, update these documents to guide future contributions. + +- **Maintain collaborators and Org members list** — Periodically review the list of collaborators and organization members. Remove inactive members and onboard new contributors who have demonstrated consistent involvement. Document any changes using an issue with the `community` label. + +- **Manage "Let's document" and translation requests** — Monitor and update issues labeled as `let's document` or language-specific translation requests. While these are often maintained by issue authors, there’s room for improvement through automation — for example, updating issue status based on milestones or completed PRs. + +- **Review translated pages** — Check the [tldr-maintenance repository](https://github.com/tldr-pages/tldr-maintenance/issues/127) for issues or inconsistencies with translated pages. diff --git a/contributing-guides/style-guide.ar.md b/contributing-guides/style-guide.ar.md new file mode 100644 index 00000000000000..2257e1baadb0b4 --- /dev/null +++ b/contributing-guides/style-guide.ar.md @@ -0,0 +1,368 @@ +# إرشادات التنسيق + +تستعرض هذه الصفحة إرشادات التنسيق لصفحات `tldr` الخاصة باللغة العربية. + +## التنسيق العام + +يجب أن يتبع الشكل الأساسي لكل صفحة القالب التالي وألا يتجاوز 8 أمثلة للأمر الواحد: + +```md +# اسم الأمر + +> وصف مختصر وواضح للأمر. +> يفضل أن يكون في سطر واحد؛ سطرين مقبولين إذا لزم الأمر. +> لمزيد من التفاصيل: . + +- وصف الكود: + +`command_name options` + +- وصف الكود: + +`command_name options` + +... +``` + +مثال: + +```md +# krita + +> برنامج للرسم والتلوين مصمم للفنانين الرقميين. +> انظر أيضًا: `gimp`. +> مزيد من التفاصيل: . + +- بدء Krita: + +`krita` + +- فتح ملفات محددة: + +`krita {{path/to/image1 path/to/image2 ...}}` + +- بدء بدون شاشة بداية: + +`krita --nosplash` + +- بدء مع مساحة عمل معينة: + +`krita --workspace {{Animation}}` + +- بدء في وضع ملء الشاشة: + +`krita --fullscreen` +``` + +> [!NOTE] +> يجب أن يتطابق اسم ملف الصفحة والعنوان مع اسم الأمر تمامًا. يمكن أن يكون عنوان الصفحة بأي حالة حروف، بينما يجب أن تكون أسماء ملفات Markdown الخاصة بالصفحات بحروف صغيرة. + +هناك أداة "linter" تفرض هذا التنسيق. +يتم تشغيلها تلقائيًا مع كل "Pull Request"، +ولكن يمكنك تثبيتها لاختبار مساهماتك محليًا قبل تقديمها: + +```sh +npm install --global tldr-lint +tldr-lint path/to/tldr_page.md +``` + +لطرق أخرى لاستخدام `tldr-lint`، مثل فحص مجلد كامل، يمكنك الاطلاع على +[صفحة `tldr-lint` على `tldr`](https://github.com/tldr-pages/tldr/blob/main/pages/common/tldr-lint.md). بدلاً من ذلك، يمكنك أيضًا استخدام اختصارها `tldrl`. + +اعتمادًا على عميلك، قد تتمكن من معاينة الصفحة محليًا باستخدام خيار `--render`: + +```sh +tldr --render path/to/tldr_page.md +``` + +### القواعد الخاصة بـ PowerShell + +عند توثيق أوامر PowerShell، يرجى ملاحظة قواعد التسمية التالية. + +- يجب أن يكون اسم الملف مكتوبًا بحروف صغيرة، مثل `invoke-webrequest.md` بدلاً من `Invoke-WebRequest.md`. +- يجب أن يكون عنوان/رأس الصفحة مكتوبًا كما هو (بما يتطابق مع التهجئة التي يقصدها مايكروسوفت أو مؤلف الأمر PowerShell)، مثل `Invoke-WebRequest` بدلاً من `invoke-webrequest`. +- يجب أيضًا كتابة اسم الأمر والخيارات في الأمثلة كما هي، مثل `Command-Name {{input}} -CommandParameter {{value}}` بدلاً من `command-name {{input}} -commandparameter {{value}}`. + +نظرًا للاختلافات في التوافق بين الإصدارات [وإزالة الأوامر الخاصة بـ Windows](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell) في PowerShell 6.x، تأكد من أن +الأمر يعمل بين **PowerShell 5.1** (المعروف أيضًا باسم "PowerShell Windows القديم" كما هو مثبت في Windows 10 و11) و **أحدث إصدار من PowerShell متعدد المنصات** (المعروف سابقًا باسم PowerShell Core). + +لذا، إذا كان الأمر أو خياراته غير متوفرة أو تحتوي على سلوكيات مختلفة بين كل إصدار، يرجى ملاحظة ذلك بلطف في الوصف. على سبيل المثال: + +```md +# Clear-RecycleBin + +> حذف العناصر من سلة المهملات. +> ملاحظة: يمكن استخدام هذا الأمر فقط من خلال إصدارات PowerShell 5.1 وما دون، أو 7.1 وما فوق. +> المزيد من التفاصيل: . +``` + +## الصفحات + +### اختلافات المنصات + +إذا كنت قلقًا من أن الأوامر قد تختلف بين المنصات أو أنظمة التشغيل (مثل Windows مقابل macOS)، +فإن معظم [عملاء صفحات tldr](https://github.com/tldr-pages/tldr/wiki/Clients) سيختارون النسخة الأنسب من الأمر لعرضها للمستخدم النهائي. + +في هذه الحالة، سيتم عرض معلومات النسخة الخاصة بـ Windows من أمر `cd` (المخزنة في `pages.ar/windows/cd.md`) بشكل افتراضي لمستخدمي Windows، +وسيتم عرض النسخة العامة/المشتركة (المخزنة في `pages.ar/common/cd.md`) للمستخدمين على أنظمة Linux وmacOS ومنصات أخرى. + +### الألقاب + +إذا كان يمكن استدعاء أمر ما باستخدام أسماء بديلة (مثلًا، يمكن استدعاء `vim` باستخدام `vi`)، يمكن إنشاء صفحات ألقاب للإشارة إلى اسم الأمر الأصلي للمستخدم. + +```md +# command_name + +> هذا الأمر هو لقب لـ `اسم-الأمر-الأصلي`. + +- عرض التوثيقات للأمر الأصلي: + +`tldr original_command_name` +``` + +مثال: + +```md +# vi + +> هذا الأمر هو لقب لـ `vim`. + +- عرض التوثيقات للأمر الأصلي: + +`tldr vim` +``` + +- يمكن العثور على قوالب صفحات الألقاب المترجمة مسبقًا [هنا](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md). + +#### الألقاب الخاصة بـ PowerShell + +قد تقدم بعض أوامر PowerShell ألقابًا تقع في واحدة من هذه الفئات الثلاث: + +1. **استبدال أمر موجود في موجه أوامر Windows (`cmd`)**، مثل استبدال `cd` بـ `Set-Location` مع خيارات أوامر مختلفة. في هذه الحالة، أضف ملاحظة اللقب التالية في السطر الثاني من وصف أمر tldr للأمر الأصلي في موجه الأوامر، على سبيل المثال: + +```md +# cd + +> عرض الدليل الحالي أو الانتقال إلى دليل آخر. +> في PowerShell، هذا الأمر هو لقب لـ `Set-Location`. هذه الوثائق تستند إلى النسخة الخاصة بـ Command Prompt (`cmd`) من `cd`. +> مزيد من التفاصيل: . + +- عرض التوثيقات الخاصة بالأمر المقابل في PowerShell: + +`tldr set-location` +``` + +> [!NOTE] +> مثال "عرض التوثيقات للأمر المعادل في PowerShell" اختياري ويجب استبعاده إذا كانت الصفحة تحتوي بالفعل على الحد الأقصى من الأمثلة (8). + +2. **يوفر لقبًا جديدًا يمكن تنفيذه فقط في PowerShell**، مثل `ni` لـ `New-Item`. في هذه الحالة، استخدم [قالب اللقب القياسي](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md)، ولكن أضف كلمة "في PowerShell" (أو ما يعادلها) للإشارة إلى أن الأمر حصري لـ PowerShell. على سبيل المثال: + +```md +# ni + +> في PowerShell، هذا الأمر هو لقب لـ `New-Item`. +> مزيد من التفاصيل: . + +- عرض التوثيقات للأمر الأصلي: + +`tldr new-item` +``` + +3. **يوفر لقبًا جديدًا يتعارض مع برامج أخرى، وأشهر مثال هو تضمين** curl و wget كألقاب لـ Invoke-WebRequest (مع مجموعة غير متوافقة من خيارات الأوامر). + لاحظ أن الألقاب الخاصة بـ PowerShell التي تقع في هذه الفئة غالبًا ما تكون حصرية لـ Windows. + +في هذه الحالة، قدم ملاحظة وطريقة لتحديد ما إذا كان الأمر يشير حاليًا إلى أمر PowerShell (من خلال اللقب) أو إلى أمر آخر. على سبيل المثال: + +```md +# curl + +> في PowerShell، قد يكون هذا الأمر هو لقب لـ `Invoke-WebRequest` عندما لا يكون البرنامج الأصلي `curl` () مثبتًا بشكل صحيح. +> لمزيد من التفاصيل: . + +- تحقق مما إذا كان `curl` مثبتًا بشكل صحيح عن طريق طباعة رقم الإصدار الخاص به. إذا أظهرت هذه الأوامر خطأ، قد تكون PowerShell قد استبدلت هذا الأمر بـ `Invoke-WebRequest`: + +`curl --version` + +- عرض التوثيقات الخاصة بأمر `curl` الأصلي: + +`tldr curl -p common` + +- عرض التوثيقات الخاصة بأمر `Invoke-WebRequest` في PowerShell: + +`tldr invoke-webrequest` +``` + +## الكتابة العامة + +### التأكيد + +لا تستخدم _الخط المائل_ (Italic) أو **الخط العريض** (Bold) أو أي تنسيق نصي آخر في الصفحات. هذه محجوزة لتأكيد العميل على العناصر القابلة للتغيير. + +### صيغة الأمر + +- **يجب أن تكون جميع الأوصاف مكتوبة بصيغة الأمر.** + +عند كتابة الأوصاف لأمثلة الأوامر، تحقق من أي أخطاء نحوية. يُفضل استخدام "اذهب إلى المجلد المحدد" بدلاً من: + +- `سيذهب هذا الأمر إلى المجلد المحدد` +- `لنذهب إلى المجلد المحدد!` + +### الحالات الخاصة + +- إذا كان الأمر يقوم بإجراء تغييرات لا رجعة فيها على نظام الملفات أو الأجهزة، + فاكتب كل مثال بطريقة لا يمكن نسخها ولصقها بشكل متهور. + على سبيل المثال، بدلاً من `ddrescue --force --no-scrape /dev/sda /dev/sdb` + اكتب `ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}}` + واستخدم القالب `{{/dev/sdXY}}` لأجهزة الكتل بدلاً من `/dev/sda1`. + +بشكل عام، يجب أن تجعل القوالب من السهل فهم كيفية استخدام الأمر وملء القيم. + +> [!NOTE] +> لا تترجم الplaceholders مثل `{{path/to/file}}` إلى `{{المسار/إلى/الملف}}` لتجنب الإلتباس + +يجب استخدام صياغة تقنية على خطوط الوصف باستخدام تنسيق `backtick`. +استخدم الخطوط المائلة الخلفية `backticks` مع التالي: + +- المسارات، مثل `package.json`، `/etc/package.json`. +- الامتدادات، مثل `.dll`. +- الأوامر، مثل `ls`. +- التدفقات القياسية: `stdout`، `stdin`، `stderr`. + **لا تستخدم** الأسماء الكاملة (مثل: standard output). +- خوارزميات الضغط، مثل `zip`، `7z`، `xz`. + +### الفاصلة التسلسلية + +- عند الإعلان عن قائمة تحتوي على 3 عناصر أو أكثر، + استخدم [الفاصلة التسلسلية](https://en.wikipedia.org/wiki/Serial_comma)، + والمعروفة أيضًا باسم فاصلة أكسفورد، + حيث أن حذفها يمكن أن يؤدي إلى التباس. + +> حذف فروع Git، tags، و remotes. + +المثال أعلاه لا يستخدم فاصلة تسلسلية، لذا قد يعني أحد الأمرين التاليين: + +- حذف فروع Git المسماة `tags` و`remotes`. +- حذف جميع الفروع، tags، وremotes الخاصة بـGit. + +يمكن حل هذا الالتباس بإضافة فاصلة قبل كلمة "و" أو "أو" في العنصر الأخير من القائمة. + +> حذف فروع Git وtags وremotes. + +> [!NOTE] +> يمكن كتابة أسماء العلامات التجارية والمشاريع بحروف كبيرة في الوصف عند الاقتضاء +> (على سبيل المثال، استخدم `أداة للتعامل مع مستودع Git` بدلاً من `أداة للتفاعل مع مستودع git`). + +## أوامر للمثال + +### صيغة الخيارات + +- من أجل سهولة الاستخدام، افضل **خيارات GNU الطويلة** (مثل `--help` بدلاً من `-h`). تأكد من أن الخيارات متوافقة عبر المنصات (مصممة لتعمل بنفس الطريقة عبر منصات متعددة) للصفحات في دليل `common`. +- إذا كان الأمر يدعم فقط الخيارات القصيرة أو كان الخيار القصير يختلف بشكل كبير عن الخيار الطويل، حاول توثيق ما يرمز إليه الحرف باستخدام [مساعد ذاكري](#short-option-mnemonics). +- للسماح للعميل بتحديد ما إذا كان سيظهر الخيارات الطويلة أو القصيرة في الأوامر، استخدم عنصر نائب للخيار مثل `{{[-o|--output]}}`. +- افضل تجميع خيارات العلم معًا عندما يدعم البرنامج ذلك (مثل `{{[-it|--interactive --tty]}}` بدلاً من `{{[-i|--interactive]}} {{[-t|--tty]}}`). +- افضل عدم تجميع الخيارات التي تأخذ وسائط (مثل `{{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{path/to/directory}}` بدلاً من `{{[-itw|--interactive --tty --workdir]}} {{path/to/directory}}`). +- افضل استخدام مسافة بدلاً من علامة التساوي (`=`) لفصل الخيارات عن وسائطها (مثل استخدام `--opt arg` بدلاً من `--opt=arg`)، ما لم يكن البرنامج لا يدعم ذلك. +- كذلك افضل فصل الخيارات القصيرة عن وسائطها بمسافة (مثل استخدام `-o arg` بدلاً من `-oarg`)، ما لم يكن البرنامج لا يدعم ذلك. + +### صيغة العناصر النائبة + +يجب أن تستخدم القيم التي يوفرها المستخدم تركيب `{{عنصر نائب}}` +للسماح لعملاء `tldr` بإبرازها. + +> [!TIP] +> يُقترح وضع العناصر النائبة التي تقبل السلاسل كمدخلات ضمن علامات اقتباس. أي استخدم `"{{عنصر نائب}}"` بدلاً من `{{"عنصر نائب"}}`. + +ضع الإرشادات التالية في الاعتبار عند اختيار العناصر النائبة: + +#### التسمية + +- استخدم عناصر نائبة قصيرة لكن وصفية، + مثل `{{path/to/source_file}}` أو `{{path/to/wallet.txt}}`. +- استخدم [`snake_case`](https://wikipedia.org/wiki/snake_case) للعناصر النائبة متعددة الكلمات. + +#### المسارات + +- استخدم `{{filename}}` عندما يكون متوقعًا اسم الملف فقط. +- لأي إشارة إلى مسارات الملفات أو الدلائل، + استخدم الصيغة `{{path/to/عنصر نائب}}`، + إلا عندما يكون الموقع ضمنيًا. +- عندما لا يمكن أن يكون المسار نسبيًا + ويجب أن يبدأ من جذر نظام الملفات، + ضع شرطة مائلة في البداية، + مثل `get {{/path/to/remote_file}}`. +- في حالة الإشارة المحتملة إلى ملف أو دليل، + استخدم `{{path/to/file_or_directory}}`. + +> [!NOTE]\ +> إذا كان الأمر خاصًا بـ Windows، استخدم الشرطات المائلة للخلف (`\`) بدلاً من ذلك، مثل `{{path\to\file_or_directory}}`. حروف الأقراص مثل `C:` اختيارية ما لم يتطلب إدخال الأمر مسارًا مطلقًا +> أو نطاقًا محددًا لحروف الأقراص، مثل `cd /d {{C}}:{{path\to\directory}}`. + +#### الامتدادات + +- إذا كان متوقعًا امتداد معين للملف، أضفه. + على سبيل المثال، `unrar x {{path/to/compressed.rar}}`. +- في حالة الحاجة إلى امتداد عام، استخدم `{{.ext}}`، ولكن **فقط** إذا كان الامتداد مطلوبًا. + على سبيل المثال، في مثال `find.md` "البحث عن الملفات حسب الامتداد" (`find {{path/to/root}} -name '{{*.ext}}'`) + استخدام `{{*.ext}}` يشرح الأمر دون أن يكون محددًا بشكل غير ضروري؛ + بينما في `wc -l {{path/to/file}}` استخدام `{{path/to/file}}` (بدون امتداد) كافٍ. + +#### تجميع العناصر النائبة + +- إذا كان بإمكان الأمر أن يأخذ اختياريًا واحدًا أو أكثر من الوسائط من نفس النوع، استخدم النقاط الثلاث: `{{عنصر نائب1 عنصر نائب2 ...}}`. + على سبيل المثال، إذا كان متوقعًا مسارات متعددة، استخدم `{{path/to/directory1 path/to/directory2 ...}}`. +- إذا كان خيار واحد فقط من بين خيارات متعددة ممكنًا، اكتبه كـ: `{{عنصر نائب1|عنصر نائب2|عنصر نائب3}}`. إذا كان هناك أكثر من 4 قيم محتملة، يمكنك استخدام `|...` بعد العنصر الأخير. +- استخدم نقطتين لتعليم نطاق من القيم المحتملة، على سبيل المثال `{{1..5}}` أو `{{a..z}}`. + +#### العناصر النائبة الاختيارية + +عند توثيق العناصر النائبة الاختيارية مثل المسارات أو امتدادات الملفات، يُقترح تحديدها في وصف الصفحة أو الأمثلة بدلاً من العنصر النائب نفسه. على سبيل المثال: + +- استخدم `{{path/to/source.ext}}` بدلاً من `{{path/to/source.tar[.gz|.bz2|.xz]}}`. + +### ضغطات المفاتيح + +لتعليم ضغطات المفاتيح لبرامج TUI أو GUI، استخدم الأقواس الزاوية `<` و `>`. + +- مثال على حرف واحد: ``. +- المفاتيح الخاصة يجب كتابتها باستخدام [`PascalCase`](https://www.theserverside.com/definition/Pascal-case): ``, ``, ``, ``, ``, `` بدلاً من تعليمها باستخدام Shift. بخلاف ذلك، قم دائمًا بتعليم الحروف بحروف صغيرة. +- قم بتعليم ضغطات المفاتيح المتزامنة داخل نفس الأقواس الزاوية مفصولة بمسافة واحدة: ``, ``, ``, ``. +- عند كتابة ضغطات المفاتيح المتزامنة، حافظ على الترتيب التالي: ``. +- ضغطات المفاتيح المتتالية يجب أن تُحصر في أقواس زاوية خاصة بها دون مسافة بينهما: ``, ``, `<~><.>`, ``. +- المفاتيح التي يتم كتابتها في موجه لا تحتاج إلى تعليمها كضغطات مفاتيح: `<:>help`. لاحظ أن مفتاح تبديل السياق معلم في أقواس زاوية على الرغم من طباعته في الموجه. + +### أوامر المساعدة والإصدار + +- عادةً ما نضع، **بهذا الترتيب**، أوامر المساعدة والإصدار كـ **آخر مثالين** في الصفحة لإبراز الأوامر العملية أكثر في بداية الصفحة. يمكن استبدالها لاستيعاب أمثلة مفيدة أخرى إذا لزم الأمر. +- للحفاظ على التناسق، نفضل الصياغة العامة `عرض المساعدة` و `عرض الإصدار` لهذه الأوامر. +- يُقترح توثيق أمثلة المساعدة والإصدار إذا كان الأمر يتبع علامات غير تقليدية في منصات مثل Windows. + +## قواعد اللغة والترجمة + +القسم أدناه يحتوي على قواعد إضافية خاصة باللغة والترجمة: + +### عام + +لا تترجم `example.com`. النطاق محجوز من قبل IANA لأغراض التوثيق ولن يتم تأجيره لأي شخص. ترجمة اسم الموقع قد تعرض المستخدمين غير المتأنين للخطر. + +### قواعد خاصة باللغة الإنجليزية + +يجب استخدام الواصلة العادية (`-`) في الأماكن التي قد توصي فيها أدلة الأسلوب المختلفة باستخدام الشرطة المتوسطة (`–`) أو الشرطة الطويلة (`—`). + +- على سبيل المثال، استخدم `for lengths 3-12` بدلاً من `for lengths 3–12` + +السبب في ذلك رباعي: + +1. لا يوجد معيار مقبول على نطاق واسع بين أدلة الأسلوب المختلفة حول متى يجب استخدام كل من هذه الشرطات. +2. الواصلة (`-`) هي الشخصية الشبيهة بالشرطة الوحيدة في ASCII، مما يقلل من احتمالية مشكلات التوافق. +3. الواصلة (`-`) هي الأسهل في الكتابة بفارق كبير. +4. العديد من المتحدثين بالإنجليزية، وخاصة غير الناطقين بها كلغة أم، لا يدركون الفرق. + +## قواعد اللغة والترجمة + +القسم أدناه يحتوي على قواعد إضافية خاصة باللغة والترجمة: + +### عام + +لا تترجم `example.com`. النطاق محجوز من قبل IANA لأغراض التوثيق ولن يتم تأجيره لأي شخص. ترجمة اسم الموقع قد تعرض المستخدمين غير المتأنين للخطر. diff --git a/contributing-guides/style-guide.de.md b/contributing-guides/style-guide.de.md new file mode 100644 index 00000000000000..50030d11185f58 --- /dev/null +++ b/contributing-guides/style-guide.de.md @@ -0,0 +1,93 @@ +# Style guide + +Diese Seite listet alle Regeln für `tldr`-Seiten auf. + +## Layout + +Eine Standard-`tldr`-Seite sollte dem folgenden Format entsprechen: + +```md +# befehl + +> Kurze Beschreibung. +> Möglichst nur eine Zeile; wenn nötig, sind zwei akzeptabel. +> Weitere Informationen: . + +- Beispielbeschreibung: + +`befehl -opt1 -opt2 -arg1 {{arg_wert}}` + +- Beispielbeschreibung: + +`befehl -opt1 -opt2` +``` + +Es gibt einen Linter, der das obige Format prüft. +Er wird automatisch bei jeder Pull Request ausgeführt, +er kann aber auch manuell installiert werden, um neue Seiten schon vorher zu überprüfen: + +```sh +npm install --global tldr-lint +tldr-lint {{seite.md}} +``` + +Für andere Optionen von `tldr-lint`, wie zum Beispiel das Linten eines ganzen Verzeichnisses: +[`tldr tldr-lint`](https://github.com/tldr-pages/tldr/blob/main/pages/common/tldr-lint.md). Alternativ, kann man auch den Alias `tldrl` verwenden. + +Viele Clients unterstützen die `--render` Flag zum Anzeigen einer Seite: + +```sh +tldr --render {{seite.md}} +``` + +## Token-Syntax + +Eingaben der Nutzer\*innen sollten die `{{Token}}`-Syntax benutzen, +damit `tldr`-Clients sie hervorheben können. + +Die folgenden Regeln sollten für Tokens beachtet werden: + +1. Kurze und deskriptive Tokens, + z. B. `{{source_file}}` oder `{{wallet.txt}}`. +2. Benutze `snake_case` für Tokens, die aus mehreren Wörtern bestehen. +3. Benutze `{{filename}}` statt `{{file_name}}`. +4. Benutze für Pfade von Dateien oder Verzeichnissen das Format `{{path/to/}}`. + Beispielsweise `ln -s {{path/to/file}} {{path/to/symlink}}`. + Benutze für Platzhalter, die ein Pfad zu einer Datei oder einem Verzeichnis sein können `{{path/to/file_or_directory}}` +5. Folge der `{{path/to/}}`-Konvention für alle Pfad-bezogenen Befehle, außer wenn der + Ort der Datei implizit ist. +6. Wenn ein Befehl eine bestimmte Dateiendung erwartet, benutze sie. + Beispiel: `unrar x {{compressed.rar}}`. + Für eine generelle Dateiendung, benutze `{{.ext}}`, aber **nur**, wenn eine Endung wirklich nötig ist. + Beispielsweise, in find.md's Beispiel "Find files by extension" (`find {{root_path}} -name '{{*.ext}}'`) + erklärt `{{*.ext}}` den Befehl ohne unnötig spezifisch zu sein; + Aber in einem Befehl wie `wc -l {{file}}`, genügt `{{file}}` (ohne Endung). +7. Wenn das Beispiel mit einem konkreten Wert klarer ist, nutze einen Beispielwert. + Benutze beispielsweise `iostat {{2}}` statt `iostat {{interval_in_secs}}`. +8. Wenn ein Befehl irreversible Änderungen am Dateisystem oder Geräten vornimmt, schreibe jedes Beispiel so, dass es nicht blind copy-pastet werden kann. + Schreibe beispielsweise `ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}}` statt `ddrescue --force --no-scrape /dev/sda /dev/sdb`und benutze den `{{/dev/sdXY}}`-Platzhalter statt `/dev/sda1` für *blockgeräte*. + +Generell sollten Tokens es so intuitiv wie möglich machen, +herauszufinden, wie der Befehl funktioniert und sie mit Werten auszufüllen. + +Technische Begriffe in der Beschreibung sollten die `Backtick`-Syntax (\`) benutzen. +Benutze Backticks für Folgendes: + +1. Pfade, wie `package.json`, `/etc/package.json`. +2. Dateiendungen, wie `.dll`. +3. Befehle, wie `ls`. + +## Serial Comma + +Benutze für eine Liste von 3 oder mehr Elementen ein [serial comma](https://en.wikipedia.org/wiki/Serial_comma), um Mehrdeutigkeiten zu verhindern. + +> Delete the Git branches, tags and remotes. + +Das obige Beispiel nutzt kein serial comma und ist somit mehrdeutig: + +- Lösche die Git Branches namens `tags` und `remotes`. +- Lösche die Git Branches und die Git Tags und die Git Remotes. + +Dies kann durch ein Komma vor "and" oder "or" gelöst werden. + +> Delete the Git branches, tags, and remotes. diff --git a/contributing-guides/style-guide.ko.md b/contributing-guides/style-guide.ko.md new file mode 100644 index 00000000000000..89b896f6d7de04 --- /dev/null +++ b/contributing-guides/style-guide.ko.md @@ -0,0 +1,166 @@ +# 스타일 가이드 + +이 페이지는 `tldr` 페이지에 대한 형식 지정 지침들을 나열합니다. + +## 레이아웃 + +각 페이지의 기본 포맷은 다음 템플릿과 일치해야 하며, 다음과 최대 8개의 명령어 예제를 포함해야 합니다: + +```md +# 명령어 이름 + +> 짧고 간결한 설명 +> 보통 1줄, 필요한 2줄 까지 허용됨 +> 더 많은 정보: . + +- 코드 설명: + +`command_name options` + +- 코드 설명: + +`command_name options` + +... +``` + +예시: + +```md +# 명령어 이름 + +# krita + +> krita는 디지털 아티스트를 위해 설계된 스케치/페인팅 프로그램입니다. +> `gimp` 페이지도 참조하세요. +> 더 많은 정보: . + +- krita 시작: + +`krita` + +- 로딩 화면 없이 시작: + +`krita --nosplash` + +- 특정 파일 열기: + +`krita {{path/to/image1 path/to/image2 ...}}` + +- 특정 workspace (`Animation`) 에서 시작: + +`krita --workspace {{Animation}}` + +- 전체화면으로 시작: + +`krita --fullscreen` +``` + +> :bulb: 도움말 페이지는 매뉴얼 뿐 아니라 문서, 프로젝트, 튜토리얼 등이 될 수 있습니다. +> 그러나, 문서 페이지를 권장합니다. + +위의 형식들을 강제하는 linter가 있습니다. +모든 pull 요청에 대해 자동으로 실행되지만, 제출하기 전 local에서 테스트하기 위해 설치할 수 있습니다. + +```sh +npm install --global tldr-lint +tldr-lint path/to/tldr_page.md +``` + +`tldr-lint`를 사용하기 위한 여러 방법들이 많습니다. 다음은 이에 대한 안내 페이지입니다. 확인해 보세요! [`tldr tldr-lint`](https://github.com/tldr-pages/tldr/blob/main/pages/common/tldr-lint.md). + +별칭 `tldrl`을 쓸 수도 있습니다. + + +Client는 `--render` 명령어를 통해 local에서 페이지를 미리 볼 수 있습니다. + +```sh +tldr --render path/to/tldr_page.md +``` + +### Aliases + +만약 명령어를 다른 별칭으로 부를 수 있는 경우 (ex: `vim`과 `vi`) 사용자가 원래 명령 이름을 가리키도록 별칭 페이지를 만들 수 있습니다. + +```md +# 명령어 이름 + +> 이 명령어는 `originam-command-name`의 별칭입니다. +> 더 많은 정보는 를 참조하세요. + +- 원래 명령어에 대한 문서: + +`tldr vim` + +``` + +- 번역된 별칭 페이지 템플릿은 [여기](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md)에서 확인할 수 있습니다. + +## Token syntax + +사용자 입력 값은 `tldr` 클라이언트에게 강조될 수 있도록 `{{token}}` 구문을 사용해야 합니다. + +토큰을 선택할 때 다음의 가이드라인을 염두에 두십시오: + +### Naming + +- 짧지만 설명적인 토큰을 사용하세요. +- 파일 및 디렉토리 경로에 대한 참조의 경우: + `{{path/to/}}`의 포맷을 사용하세요. + (암시적인 경로인 경우는 제외!) +- 경로가 상대경로일 수 없지만 파일 시스템의 root에서 시작해야 하는 경우 + 접두사로 `/`를 붙입니다. + (ex: `get {{/path/to/remote_file +- 파일 및 디렉토리 참조가 모드 가능한 경우 + `{{path/to/file_or_directory}}`를 사용하세요. + +### Extensions + +- 파일에 특정 확장자가 필요한 경우 추가하십시오. + (ex: `unrar x {{compressed.rar}}`) +- 만약 일반적인 확장자가 필요하다면, **반드시 필요한 경우에만** `{{.ext}}`를 사용하십시오. + 예시1: `find.md`의 "확장자로 파일 찾기"(`find {{root_path}} -name '{{*.ext}}'`)는 `{{*.ext}}`를 사용하여 불필요한 내용 없이, 구체적이지 않게 설명합니다. + 예시2: `wc -l {{file}}`는 `{{file}}`을 (extension 없이) 사용하는 것 만으로 충분합니다. + +### Special Cases + +- 만약 명령어가 파일 시스템이나 장치에 돌이킬 수 없는 변경을 수행하는 경우, 모든 예제를 생각 없이 복사하여 붙여넣을 수 없도록 작성하십시오. + 예를 들어 `ddrescue --force --no-scrape /dev/sda /dev/sdb` 대신에 `ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}}`를 사용하고, *block device*에 `/dev/sda1` 대신 `{{/dev/sdXY}}` 자리 표시자를 사용하세요. +- 명령어가 많은 수의 명령어를 포함할 수 있는 경우, 다음과 같이 생략하여 표현하세요. + `{{argument1 argument2 ...}}` 여러 옵션 중 하나가 가능한 경우 `{{either|or}}`로 작성합니다. + +일반적으로, 토큰은 가능한 한 직관적이어야 합니다. +명령을 사용하는 방법을 파악하고 값으로 채우십시오. + +내용 입력란의 기술 문구는 `backtick` 구문을 사용해야 합니다. +다음과 같이 역따옴표를 사용하십시오. + +- Paths, ex. `package.json`, `/etc/package.json`. +- Extensions, ex. `.dll`. +- Commands, ex. `ls`. + +## Imperative Mood + +예시 설명형은 명령법으로 표현되어야 합니다. +예를 들자면 `List all files.`를 `Listing all files`, `File listing` 등 입니다. +이것은 특별한 경우를 제외하고 기본적으로 **모든 번역에 적용**됩니다. + +## Serial Comma + +3개 이상의 항목 목록을 선언할 때, Oxford 쉼표라고도 부르는 [연속 쉼표](https://en.wikipedia.org/wiki/Serial_comma)를 사용합니다. + +> Git brances, tags, remotes를 삭제하세요. + +위의 예는 직렬 쉼표를 사용하지 않으므로 다음 두 가지 중 하나를 의미할 수 있습니다. + +- `tags`와 `remotes`라는 Git branch들을 삭제하세요. +- Git branches, Git tag, Git remotes를 모두 삭제하세요. + +목록의 마지막 요소에서 "and" 또는 "or" 앞에 쉼표를 삽입하면 이 문제를 해결할 수 있습니다. + +> Git branches, tags 및 remotes를 삭제하세요. + +## More information links + +`More information` 줄에는 작성자가 제공한 문서로 연결하는 것을 권장합니다. +사용할 수 없는 경우, 기본 fallback으로 를 사용합니다. diff --git a/contributing-guides/style-guide.md b/contributing-guides/style-guide.md index 8890ecd089dae2..63d7de71e9a90b 100644 --- a/contributing-guides/style-guide.md +++ b/contributing-guides/style-guide.md @@ -2,68 +2,725 @@ This page lists specific formatting instructions for `tldr` pages. -## Layout +## Contents -The basic format of each page should match the following template: +1. [General layout](#general-layout) +2. [Pages](#pages) +3. [General writing](#general-writing) +4. [Heading](#heading) +5. [Example descriptions](#example-descriptions) +6. [Example commands](#example-commands) +7. [Language and translation rules](#language-and-translation-rules) -``` -# command-name +## General layout + +The basic format of each page should match the following template and have at most 8 command examples: + +```md +# command name -> Short, snappy description. +> Short, snappy command description. > Preferably one line; two are acceptable if necessary. -> More information: . +> More information: . + +- Code description: + +`command_name options` + +- Code description: + +`command_name options` + +... +``` + +Example: + +```md +# krita + +> A sketching and painting program designed for digital artists. +> See also: `gimp`. +> More information: . + +- Start Krita: + +`krita` + +- Open specific files: + +`krita {{path/to/image1 path/to/image2 ...}}` + +- Start without a splash screen: -- Example description: +`krita --nosplash` -`command -opt1 -opt2 -arg1 {{arg_value}}` +- Start with a specific workspace: -- Example description: +`krita --workspace {{Animation}}` -`command -opt1 -opt2` +- Start in fullscreen mode: + +`krita --fullscreen` ``` -There actually is a linter/formatter that enforces the format above. +> [!NOTE]\ +> The page's filename and title must match the command name exactly. The page title can be present in any case, whereas the page's Markdown filenames must be lowercase. + +There is a linter that enforces the format above. It is run automatically on every pull request, but you may install it to test your contributions locally before submitting them: +```sh +npm install --global tldr-lint +tldr-lint path/to/tldr_page.md ``` -npm install tldr-lint -tldrl -f {{page.md}} + +For other ways to use `tldr-lint`, such as linting an entire directory, check out the +[`tldr page on tldr-lint`](https://github.com/tldr-pages/tldr/blob/main/pages/common/tldr-lint.md). Alternatively, you can also use its alias `tldrl`. + +Depending on your client, you may be able to preview a page locally using the `--render` flag: + +```sh +tldr --render path/to/tldr_page.md ``` -For other ways to use `tldrl`, such as linting an entire directory, check out (what else!) -[`tldr tldrl`](https://github.com/tldr-pages/tldr/blob/master/pages/common/tldrl.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). + +Thus, if the command or its options are unavailable or contain different behaviors between each version, please kindly note them in the descriptions. For example: -If you're using the Node.js client of tldr-pages, you can preview a page locally using the `-f` flag (aka `--render`): +```md +# Clear-RecycleBin +> Clear items from the Recycle Bin. +> Note: This command can only be used through PowerShell versions 5.1 and below, or 7.1 and above. +> More information: . ``` -tldr -f {{page.md}} + +## Pages + +### Platform differences + +If you are afraid the commands may differ between platforms or operating systems (e.g. Windows vs macOS), +most [tldr pages clients](https://github.com/tldr-pages/tldr/wiki/Clients) will choose the most suitable version of the command to be displayed to the end user. + +In this case, the information of the Windows version of `cd` (stored in `pages/windows/cd.md`) will be displayed by default to Windows users, and a generic/common version (stored in `pages/common/cd.md`) +will be displayed for Linux, macOS, and other platform users. + +Try to match the page filename with the invoked command. Do not use the project name if possible. The goal is to be as transparent as possible to the user when they are curious of a command. + +### 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. + +```md +# command_name + +> This command is an alias of `original-command-name`. + +- View documentation for the original command: + +`tldr original_command_name` ``` -## Token syntax +Example: -User-provided values should use the `{{token}}` syntax -in order to allow `tldr` clients to highlight them. +```md +# vi + +> This command is an alias of `vim`. + +- View documentation for the original command: + +`tldr vim` + +``` + +- 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. **Replaces 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: . + +- View documentation of the equivalent PowerShell command: + +`tldr set-location` +``` + +> [!NOTE]\ +> The "View documentation of the equivalent PowerShell command" example is optional and must 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: . + +- 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 () is not properly installed. +> More information: . + +- 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` -Keep the following guidelines in mind when choosing tokens: - -1. Use short but descriptive tokens, - ex. `{{source_file}}` or `{{wallet.txt}}`. -2. Use [`snake_case`](https://en.wikipedia.org/wiki/Snake_case) for multi-word tokens. -3. Use `{{filename}}` rather than `{{file_name}}`. -4. For any reference to paths to files or directories, use the format `{{path/to/}}`. - For example, `ln -s {{path/to/file}} {{path/to/symlink}}`. - In case of a possible reference both to a file or a directory, use `{{path/to/file_or_directory}}` -5. Follow the `{{path/to/}}` convention for all path-related commands, except when the - file location is implicit. -6. If a command expects the file to have a particular extension, use it. - For example, `unrar x {{compressed.rar}}`. - In case a generic extension is needed, use `{{.ext}}`, but **only** if an extension is required. - For instance, in find.md's example "Find files by extension" (`find {{root_path}} -name '{{*.ext}}'`) - using `{{*.ext}}` explains the command without being unnecessarily specific; - But in a command like `wc -l {{file}}`, using `{{file}}` (without extension) is sufficient. -7. If the example is clearer with an actual value rather than a generic placeholder, use the actual value. - For example, use `iostat {{2}}` rather than `iostat {{interval_in_secs}}`. - -In general, tokens should make it as intuitive as possible +- View documentation for PowerShell's `Invoke-WebRequest` command: + +`tldr invoke-webrequest` +``` + +### Disambiguations + +If there is a name collision between page names on the same platform, disambiguation pages can be used to direct users to different pages. Name the colliding pages with a dot and an appropriate suffix. Numbers starting from 1 can be used if no other suffix is appropriate. If the colliding page is an acronym, direct the user to a page with the name expanded. + +In the following case `just.md` is the filename of the disambiguation page while `just.1.md` and `just.js.md` refer to the actual pages: + +```md +# just + +> `just` can refer to multiple commands with the same name. + +- View documentation for the command runner: + +`tldr just.1` + +- View documentation for the V8 JavaScript runtime: + +`tldr just.js` +``` + +### Grouping commands + +Sometimes commands are meant to be used in combination with other commands. In these cases it makes sense to move them on the same page. + +For example `adb disconnect` has a single way using it, but `adb` is expansive enough that it doesn't fit in the main page. Normally, `adb disconnect` is used in combination with `adb pair` and `adb connect`, thus it makes sense to group these together into a single page. For example: + +```md +# adb disconnect + +> This command has been moved to `adb connect`. + +- View documentation for `adb disconnect`: + +`tldr adb connect` +``` + +## General writing + +### Emphasis + +Do not use *italics*, **boldface** or any other text styling on the pages. These are reserved for client emphasis of placeholders. + +### Imperative Mood + +- **All descriptions must be phrased in the imperative mood.** +- This also applies to all translations by default unless otherwise specified in the language-specific section below. + +When writing descriptions for command examples, **check for any grammatical errors**. `Go to the specified directory` is preferred instead of: + +- `Going to the specified directory` (should not be in present participle form) +- `This command will go to the specified directory` (it is clear that this example works for *this* comment) +- `Let's go to the specified directory!` +- `Directory change` (use the active form instead of passive, if possible) + +For instance, instead of `Listing all files:`, use the following: + +```md +- List all files: + + `ls` +``` + +### Serial Comma + +- When declaring a list of 3 or more items, +use a [serial comma](https://en.wikipedia.org/wiki/Serial_comma), +also known as the Oxford comma, +since omitting it can create ambiguity. + +> Delete the Git branches, tags and remotes. + +The example above does not use a serial comma, so this could mean one of two things: + +- Delete the Git branches named `tags` and `remotes`. +- Delete all of the following: Git branches, Git tags, and Git remotes. + +This can be resolved by inserting a comma before the "and" or "or" in the final element in the list. + +> Delete the Git branches, tags, and remotes. + +> [!NOTE]\ +> Brand and project names can be capitalized in the description whenever applicable (e.g. use `A tool for interacting with a Git repository.` instead of ``A tool for interacting with a `git` repository.``). + +### Special cases + +If a command performs irreversible changes to a file system or devices, + write every example in a way that cannot be copy pasted thoughtlessly. + For example, instead of `ddrescue --force --no-scrape /dev/sda /dev/sdb` + write `ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}}` + and use the `{{/dev/sdXY}}` placeholder for *block devices* instead of `/dev/sda1`. + +In general, placeholders should make it as intuitive as possible to figure out how to use the command and fill it in with values. + +Acronym expansions (i.e. protocols, tools, etc) must not be translated unless there is a recognized native equivalent for them. + +Technical wording on description lines should use the `backtick` syntax. +Use backticks on the following: + +- Paths, e.g. `package.json`, `/etc/package.json`. +- Extensions, e.g. `.dll`. +- Commands, e.g. `ls`. +- Standard streams: `stdout`, `stdin`, `stderr`. **Do not** use the full names (e.g. standard output). +- Compression algorithms, e.g. `zip`, `7z`, `xz`. + +When describing keycaps or a keyboard shortcut for a utility, use the same [keypress syntax](#keypress-syntax) as in example commands. Make sure to enclose it in backticks so that it is not invisible in markdown renderers (i.e. ``Print the last lines of a given file and keep reading it until ``:``). + +If a program requires root privileges to run and doesn't provide its own prompt for a password, prepend the command with `sudo` (e.g. `sudo apt update`). + +Avoid explaining general UNIX concepts that could apply to any command (i.e. relative/absolute paths, glob patterns/wildcards, special character escaping, program return values, ...) + +### Standardized Terms + +Some terms are used repeatedly throughout pages, and as such, should be standardized. These include: + +| Term | Standard | Explanation | +|---|---|---| +| Regular expression | `` `regex` `` | `regex` defines a match pattern given a string of characters (https://en.wikipedia.org/wiki/Regular_expression). | + +## Heading + +### Program description + +- Avoid using the page title in the description (e.g. use `A sketching and painting program designed for digital artists` instead of `Krita is a sketching and painting program designed for digital artists`) +- If the program name differs from its executable name, it can be named at the start of the heading (e.g. `rg` and Ripgrep). +- Avoid mentioning that the program is used on the command-line (e.g. use `Ripgrep, a recursive line-oriented search tool` instead of `Ripgrep, a recursive line-oriented CLI search tool`). + +For example, when writing documentation for `cd`, a tool to check out and work on a specific directory in the Terminal or Command Prompt, **do not** write a lengthy description such as: + +```md +> `cd` is a system tool, available in Windows, macOS, and Linux, to check out a specific directory to get things done in the Command Prompt, Terminal, and PowerShell. +``` + +It should instead be simplified to make it easier for everyone to read: + +```md +> Change the current working directory. +``` + +### More information links + +- On the `More information` link line, provide a direct link to documentation that instructs on how to use the command. We prefer linking to the author's provided documentation but when not available or very lacking in information, use as the default fallback for all platforms +(except `osx` and BSD platforms other than FreeBSD). +If there is no documentation page to be found, you can link to the author's website or a third party tutorial. +- Keep the more information link short. Cut out redundant text if possible. For example use https://manned.org/partclone instead of https://manned.org/man/partclone.8 unless there are two different manpages for a command across distributions/platforms i.e. `command.1` and `command.8`. + +- For `osx`: Apple distributes the built-in man pages [in Xcode](https://developer.apple.com/documentation/os/reading_unix_manual_pages). +For commands documented there, we recommend using , an HTML export of all Apple's man pages bundled with Xcode. + +> [!IMPORTANT] +> All links must be enclosed inside angular brackets (`<` and `>`). + +- It is suggested to use a more information link with English content in both translations and English pages. That's because the links can eventually change, but the translations are often out of sync with the English pages. + +#### Versioned links + +When a utility or distribution has versioned links for the packages, link to the most recent version of documentation (i.e. `latest`) or none if the website automatically redirects to the latest version of the documentation. + +For example, use: + +- instead of . +- instead of . + +#### Microsoft Learn links + +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 instead of +. + +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 instead of . +- Use instead of . + +### See also section + +- To reference a related command or subcommand, use: + +```md +> See also: `command`. +``` + +- To reference related commands or subcommands, use: + +```md +> See also: `command1`, `command2`, `command3`. +``` + +- Optionally, you can add a short description beside the referenced pages: + +```md +> See also: `date` for Unix information, `uname` for system information and `umount` for unmounting partitions. +``` + +- When a command features subcommands, those pages can be referenced with the following line. Note that only the subcommand is named: + +```md +> Some subcommands such as `commit`, `add`, `branch`, `switch`, `push`, etc. have their own usage documentation. +``` + +## Example descriptions + +### Short option mnemonics + +Short option mnemonics are optional hints that 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. +Group consecutive mnemonic characters under the same square brackets, for example: `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. + +- Optionally, mnemonics and their enclosed terms can be separated with brackets from the rest of the description (i.e. `([a]ll)`) in translations and specific pages to provide additional context or mention a word not present in the description. + +> [!NOTE]\ +> In cases where the character isn't present in the translated word, you can highlight the option next to the equivalent word or you can add the English word beside the translation inside a bracket. +> For example, `E[x]tract` in English may be translated into `ekstrak [x]` or `ekstrak (E[x]tract)` in Indonesian. + +## Example commands + +### Argument order + +Try to keep the following order: + +- Program name +- Input redirection from a file +- All subcommands +- Positional arguments/Packages/Data/... +- Option flags +- Options with arguments +- Output redirection to a file + +For example: `systemctl < input_file.txt status pipewire --user > output_file.txt` + +This is only a suggestion and should be disregarded when program functionality or readability dictates otherwise. + +If the command does multiple things, try to keep the chronological order in which things happen. + +### Option syntax + +- For user-friendliness, prefer **GNU-style long options** (like `--help` rather than `-h`). Make sure that the options are cross-platform compatible (intended to work the same across multiple platforms) for pages in the `common` directory. +- For letting the client decide whether to show long or short options in commands, use an option placeholder i.e. `{{[-o|--output]}}`. +- If a command only supports short options or the short option greatly differs from the long option, attempt to document what the letter is short for with a [mnemonic](#short-option-mnemonics). +- Prefer grouping flag options together when the program supports it (i.e. `{{[-it|--interactive --tty]}}` instead of `{{[-i|--interactive]}} {{[-t|--tty]}}`). +- Prefer not grouping options that take in arguments (i.e. `{{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{path/to/directory}}` instead of `{{[-itw|--interactive --tty --workdir]}} {{path/to/directory}}`) +- 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. +- Likewise prefer separating shortform options from their arguments with a space (i.e. use `-o arg` instead of `-oarg`), unless the program does not support it. +- If a command only supports `-oarg` and `--opt=arg` the option placeholder should be written like this `{{[-o|--opt=]}}arg`. Keep in mind how the command would look if a client were to display only short or only long options. + +### Placeholder syntax + +User-provided values should use the `{{placeholder}}` syntax +in order to allow `tldr` clients to highlight them. + +> [!TIP] +> It is suggested to enclose placeholders accepting strings as input within quotes. i.e. Use `"{{placeholder}}"` instead of `{{"placeholder"}}`. + +Keep the following guidelines in mind when choosing placeholders: + +#### Naming + +- Use short but descriptive placeholders, + such as `{{path/to/source_file}}` or `{{path/to/wallet.txt}}`. +- Use [`snake_case`](https://wikipedia.org/wiki/snake_case) for multi-word placeholders. + +#### Paths + +- Use `{{filename}}` when just the file name is expected. +- For any reference to paths of files or directories, + use the format `{{path/to/placeholder}}`, + except when the location is implicit. +- When the path cannot be relative + and has to start at the root of the filesystem, + prefix it with a slash outside the placeholder, + such as `get /{{path/to/remote_file}}`. +- 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 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. + For example, `unrar x {{path/to/compressed.rar}}`. +- In case a generic extension is needed, use `{{.ext}}`, but **only** if an extension is required. + For instance, in `find.md`'s example "Find files by extension" (`find {{path/to/root}} -name '{{*.ext}}'`) + using `{{*.ext}}` explains the command without being unnecessarily specific; + while in `wc -l {{path/to/file}}` using `{{path/to/file}}` (without extension) is sufficient. + +#### Grouping placeholders + +- If a command can optionally take 1 or more arguments of the same kind, use an ellipsis: `{{placeholder1 placeholder2 ...}}`. + For instance, if multiple paths are expected, use `{{path/to/directory1 path/to/directory2 ...}}`. +- If only one of the multiple options is possible, write it as: `{{placeholder1|placeholder2|placeholder3}}`. If there are more than 3 possible values, you can use `|...` after the last item. +- Use two dots to mark a range of possible values, for example `{{1..5}}` or `{{a..z}}`. + +#### Optional placeholders + +When documenting optional placeholders like paths or file extensions, it is suggested to specify them in the page or example descriptions instead of the placeholder itself. For example: + +- Use `{{path/to/source.ext}}` instead of `{{path/to/source.tar[.gz|.bz2|.xz]}}`. + +#### Exceptions + +- Do not put placeholders inside placeholders. +- Do not use placeholders when the value is explicitly stated in the description of the command. For example: + +```md +- Refresh the output every 2 seconds: + +`free {{[-s|--seconds]}} 2` +``` + +### Keypress syntax + +To mark keypresses for TUI or GUI programs, use angle brackets `<` and `>`. + +- Single character example: ``. +- Special keys are to be written with [`PascalCase`](https://www.theserverside.com/definition/Pascal-case): ``, ``, ``, ``, ``, `` instead of marking it with shift. Otherwise always mark characters in lowercase. +- Mark simultaneous keypresses inside the same angle brackets separated by a single space: ``, ``, ``, ``. +- When writing simultaneous keypresses, keep the following order: ``. +- Consecutive keypresses need to be contained in their own angle brackets with no space in between: ``, ``, `<~><.>`, ``. +- Keys that are typed into a prompt do not need to be marked as keypresses: `<:>help`. Note that the context switching keypress is marked in angle brackets despite printing on the prompt. + +### Help and version commands + +- We generally put, **in this order**, the help and version commands as the **last two** examples of the page to highlight more practical commands at the beginning of the page. They can be replaced to accommodate other useful examples if required. +- For consistency, we prefer generic wording `Display help` and `Display version` for these commands. +- It is suggested to document the help and version examples if the command follows unconventional flags in platforms like Windows. + +## Language and translation rules + +The below section contains additional language and translation-specific rules: + +### General + +Do not translate `example.com`. The domain is [reserved by IANA for documentation purposes](https://www.iana.org/help/example-domains) and will not be leased to anyone. Translating the website name could put thoughtless users at risk. + +### English-Specific Rules + +A normal hyphen (`-`) should be used in places where various style guides may recommend en dash (`–`) or em dash (`—`). + +- For example, use `for lengths 3-12` rather than `for lengths 3–12` + +The reason for this is four-fold: + +1. There is no widely accepted standard among various style guides on when each of these dashes should be used. +2. Hyphen (`-`) is the only dash-like character in ASCII, which reduces the likelihood of compatibility issues. +3. Hyphen (`-`) is by far the easiest to type. +4. Many English speakers, especially non-native ones, are not aware of the difference. + +### Chinese-Specific Rules + +When Chinese words, Latin words, and Arabic numerals are written in the same sentence, more attention must be paid to copywriting. + +The following guidelines are applied to Chinese (`zh`) and traditional Chinese (`zh_TW`) pages: + +1. Place one space before/after English words and numbers. + +- 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 %`. + +3. No additional spaces before/after full-width punctuations. + +- For example, use `开启 shell,进入交互模式` rather than `开启 shell ,进入交互模式` + +4. Use full-width punctuations except for long Latin clauses. + +- For example, use `嗨,你好。` rather than `嗨, 你好.` + +5. Use half-width punctuation to end a sentence when the last character is half-width. + +- 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 `脸书`. + +To maintain readability and normalization, please comply with the 6 rules above as much as possible when translating pages into Chinese. + +For more information and examples of Chinese-specific rules, check out [*Chinese Copywriting Guidelines*](https://github.com/sparanoid/chinese-copywriting-guidelines/blob/master/README.en.md). + +### Indonesian-Specific Rules + +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/). + +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 noted on [Firefox Public Data Report](https://data.firefox.com/dashboard/usage-behavior): + +> For most countries in the top 10, the majority (>90%) of users have their language set to the local language, **with a notable exception in Indonesia, which has about 80% English (US) and 20% Indonesian.** + +First, command and example descriptions on pages in Indonesian must be written **without using active verb forms (i.e. those with `ber-` and `me-` prefixes)**. This means that sentences such as: + +> **Mengunduh** sebuah file ke dalam suatu direktori +> (i.e. Downloading a file into a directory) + +is considered incorrect. The correct form of the sentence should be: + +> **Unduh** sebuah file ke dalam suatu direktori + +Second, we recommend using the following forms of technical terms to make translated pages easier to read for both types of Indonesian audiences. Some of them may be used as-is, but others must be rewritten using Indonesian standard terms. + +| English | Indonesian | Consideration(s) | +|---|---|---| +| App / Application | Aplikasi | The abbreviated word `apl.` is not common to some readers. | +| Boot, Reboot | Muat, Muat ulang | These words are the same for `load` and `reload`. See notes on the bottom section. | +| Client | Klien | | +| Command-line | Command-line | Using the word as-is is preferred over `baris perintah` or `alat berbasis mekanisme baris perintah` (`command-line tool`). | +| Commit (Git) | Commit | | +| Compile, Compiler | Kompilasikan, Pengompilasi | [`kompilasi`](https://kbbi.kemdikbud.go.id/entri/kompilasi) is officially considered as noun. Requires a `-kan` suffix to convert into a verb. | +| Debugger | Debugger | Preferred over `pengawakutu` (`peng`-[`awakutu`](https://kbbi.kemdikbud.go.id/entri/awakutu)) which is unfamiliar to some readers. | +| Device | Perangkat | Preferred over [`peranti`](https://kbbi.kemdikbud.go.id/entri/peranti). | +| Disc | Disc | Preferred over [`cakram`](https://kbbi.kemdikbud.go.id/entri/cakram) which is unfamiliar by some readers. Use specific words if possible (e.g. CD or DVD). | +| Execute / Run (a program...) | Jalankan | Preferred over [`eksekusikan`](https://kbbi.kemdikbud.go.id/entri/eksekusikan) which is longer to read and write. | +| File | Berkas | [`berkas`](https://kbbi.kemdikbud.go.id/entri/berkas) is an official term. Additionally, `jalan/menuju/file(_atau_direktori)` is deprecated in favor of `jalan/menuju/berkas(_atau_direktori)`. | +| Generate | Buat | Preferred over [`hasilkan`](https://kbbi.kemdikbud.go.id/entri/hasilkan). Example context: `Buat laporan baru`. | +| Hardware | Perangkat Keras | Preferred over [`peranti`](https://kbbi.kemdikbud.go.id/entri/peranti). | +| Image (as picture or visual image) | Gambar | Do not confuse with `image` as a means of storage. | +| Image (as means of storage, such as CD, ISO, and Docker) | Image | Another recommended word, [`citra`](https://kbbi.kemdikbud.go.id/entri/citra), is not officially recognized for computing. | +| Initialize, Reinitialize | Inisialisasikan, Inisialisasikan Ulang | The word [`inisialisasi`](https://kbbi.kemdikbud.go.id/entri/inisialisasi) is officially considered as noun. Requires a `-kan` suffix to convert into a verb. | +| Interpreter | Interpreter | Preferred over [`penerjemah`](https://kbbi.kemdikbud.go.id/entri/penerjemah) which is also commonly used to describe `translator`. | +| Install, Reinstall | Pasang, Pasang Ulang | Preferred over `instal` [which is not considered a standard word](https://kbbi.kemdikbud.go.id/entri/instal). | +| Load, Reload | Muat, Muat ulang | These words are the same for `boot` and `reboot`. See notes in the bottom section. | +| Options / Preferences (macOS) / Settings | Pengaturan | Preferred over [`opsi`](https://kbbi.kemdikbud.go.id/entri/opsi). | +| Server | Server | Preferred over [`peladen`](https://kbbi.kemdikbud.go.id/entri/peladen) or [`pelayan`](https://kbbi.kemdikbud.go.id/entri/pelayan), which are less common when used in computing contexts. | +| Service | Layanan | The Indonesian standard word is acceptable here. | +| Shell (command-line interface) | Syel | The Indonesian standard word is acceptable here. | +| Software | Perangkat Lunak | Preferred over [`peranti`](https://kbbi.kemdikbud.go.id/entri/peranti). | +| Start, Restart | Mulai, Mulai Ulang / Nyalakan, Nyalakan Ulang | See notes on the bottom section. | +| Update | Perbarui | Do not confuse with `upgrade`. | +| Upgrade | Tingkatkan | Do not confuse with `update`. | + +When translating sentences that contain the words `boot` and `load` together, please add the context of the item that is being booted and/or loaded, so the use of the `muat` word may not be ambiguous. For example, when translating: + +> Load configuration from a specific file after reboot + +Instead of translating the sentence into: + +> Muat konfigurasi dari file yang ditentukan setelah muat ulang + +Add detailed contexts to remove ambiguity (notice the highlighted word): + +> Muat konfigurasi dari file yang ditentukan setelah **pengguna** memuat ulang **sistem operasi** + +Similarly, for the word `start` / `mulai` + +> Mulai proses server web +> (Start the web server process) + +To ensure that the sentence may not be confused with `start processing the web server`, you can use other words such as `nyalakan`: + +> Nyalakan proses server web + +### French-Specific Rules + +- Command and example descriptions on pages in French must use the third person singular present indicative tense (présent de l'indicatif à la troisième personne du singulier). +For example, use `Extrait une archive` rather than `Extraire une archive` or `Extrais une archive`. +- There must be a single blank space between special characters in the descriptions. +For example, use `Plus d'informations : https://example.com.` instead of `Plus d'informations: https://example.com.` and use `Crée une archive à partir de fichiers :` instead of `Crée une archive à partir de fichiers:`. + +### Portuguese-Specific Rules + +Example descriptions on pages in Portuguese (for both European and Brazilian Portuguese) must start with verbs in the third person singular present indicative tense. +This is because the descriptions must explain what the commands do, making this the correct form to express the intended meaning. + +For example, use `Lista os arquivos` instead of `Listar os arquivos`, `Listando os arquivos` or any other form. + +### Spanish-Specific Rules + +- The descriptions of commands and examples must be conjugated in the third person singular indicative tense. Here are a couple of examples: + +```md +> Crea archivos. +``` + +```md +- Crea un archivo en un directorio: +``` + +- Preferably, use the word `identificador` instead of `id` in the placeholders of command examples. For example: + +```md +{{identificador_de_usuario}} +``` + +*Writing prepositions is optional* + + However, if the line of a command example exceeds the [maximum length](https://github.com/tldr-pages/tldr/blob/main/.markdownlint.json#L5), choose the word `identificador` or `id` and use it across all placeholders in the page. diff --git a/contributing-guides/style-guide.ru.md b/contributing-guides/style-guide.ru.md new file mode 100644 index 00000000000000..059a0b3b3c2992 --- /dev/null +++ b/contributing-guides/style-guide.ru.md @@ -0,0 +1,528 @@ +# Руководство по стилю + +На этой странице перечислены конкретные инструкции по форматированию для страниц `tldr`. + +## Содержание + +1. [Общая структура](#общая-структура) +2. [Страницы](#страницы) +3. [Общие правила написания](#общие-правила-написания) +4. [Заголовок](#заголовок) +5. [Описания примеров](#описания-примеров) +6. [Команды в примерах](#команды-в-примерах) +7. [Правила для языков и переводов](#правила-для-языков-и-переводов) + +## Общая структура + +Основной формат каждой страницы должен соответствовать следующему шаблону и содержать не более 8 примеров команд: + +```md +# имя-команды + +> Краткое, емкое описание команды. +> Желательно в одну строку; две допустимы при необходимости. +> Больше информации: . + +- Описание кода: + +`имя_команды опции` + +- Описание кода: + +`имя_команды опции` + +... +``` + +Пример: + +```md +# krita + +> Программа для рисования и создания эскизов, предназначенная для цифровых художников. +> Смотрите также: `gimp`. +> Больше информации: . + +- Запустить Krita: + +`krita` + +- Открыть определенные файлы: + +`krita {{путь/к/изображению1 путь/к/изображению2 ...}}` + +- Запустить без заставки: + +`krita --nosplash` + +- Запустить с определенным рабочим пространством: + +`krita --workspace {{Анимация}}` + +- Запустить в полноэкранном режиме: + +`krita --fullscreen` +``` + +> [!NOTE]\ +> Имя файла страницы и ее заголовок должны в точности совпадать с именем команды. Заголовок страницы может быть в любом регистре, тогда как имена файлов Markdown должны быть в нижнем регистре. + +Существует линтер, который обеспечивает соблюдение вышеуказанного формата. Он запускается автоматически при каждом pull-request, но вы можете установить его для локальной проверки своих правок перед отправкой: + +```sh +npm install --global tldr-lint +tldr-lint путь/к/tldr_page.md +``` + +Другие способы использования `tldr-lint`, например, для проверки целого каталога, описаны на +[`tldr странице о tldr-lint`](https://github.com/tldr-pages/tldr/blob/main/pages/common/tldr-lint.md). В качестве альтернативы можно использовать его псевдоним `tldrl`. + +В зависимости от вашего клиента, вы можете просмотреть страницу локально, используя флаг `--render`: + +```sh +tldr --render путь/к/tldr_page.md +``` + +### Правила для PowerShell + +При документировании команд PowerShell, пожалуйста, обратите внимание на следующие соглашения об именовании. + +- Имя файла должно быть написано в нижнем регистре, например, `invoke-webrequest.md` вместо `Invoke-WebRequest.md`. +- Заголовок страницы должен быть написан как есть (соответствуя написанию, задуманному Microsoft или автором модуля PowerShell), например, `Invoke-WebRequest` вместо `invoke-webrequest`. +- Имя команды и опции в примерах также должны быть написаны как есть, например, `Command-Name {{ввод}} -CommandParameter {{значение}}` вместо `command-name {{ввод}} -commandparameter {{значение}}`. + +Из-за [различных отличий в совместимости](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell) и удаленных специфичных для Windows команд в PowerShell 6.x, убедитесь, что команда работает как в **PowerShell 5.1** (также известном как "Legacy Windows PowerShell", установленном в Windows 10 и 11), так и в **последней версии кроссплатформенного PowerShell** (ранее известного как PowerShell Core). + +Таким образом, если команда или ее опции недоступны или имеют разное поведение в разных версиях, пожалуйста, отметьте это в описаниях. Например: + +```md +# Clear-RecycleBin + +> Очистить элементы из корзины. +> Примечание: Эта команда может использоваться только в PowerShell версий 5.1 и ниже, или 7.1 и выше. +> Больше информации: . +``` + +## Страницы + +### Различия между платформами + +Если вы опасаетесь, что команды могут различаться между платформами или операционными системами (например, Windows и macOS), большинство [клиентов tldr-pages](https://github.com/tldr-pages/tldr/wiki/Clients) выберут наиболее подходящую версию команды для отображения конечному пользователю. + +В этом случае информация о Windows-версии `cd` (хранящаяся в `pages/windows/cd.md`) будет по умолчанию отображаться пользователям Windows, а общая/универсальная версия (хранящаяся в `pages/common/cd.md`) будет отображаться пользователям Linux, macOS и других платформ. + +Старайтесь, чтобы имя файла страницы соответствовало вызываемой команде. По возможности не используйте название проекта. Цель — быть как можно более прозрачным для пользователя, когда он интересуется командой. + +### Псевдонимы (aliases) + +Если команду можно вызвать под другим именем (например, `vim` можно вызвать как `vi`), можно создать страницы-псевдонимы, чтобы направить пользователя к оригинальному имени команды. + +```md +# имя_команды + +> Эта команда является псевдонимом для `оригинальное-имя-команды`. + +- Посмотреть документацию для оригинальной команды: + +`tldr оригинальное-имя-команды` +``` + +Пример: + +```md +# vi + +> Эта команда является псевдонимом для `vim`. + +- Посмотреть документацию для оригинальной команды: + +`tldr vim` + +``` + +- Шаблоны для страниц-псевдонимов с готовыми переводами можно найти [здесь](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md). + +#### Псевдонимы для PowerShell + +Некоторые команды PowerShell могут вводить псевдонимы, которые делятся на три категории: + +1. **Заменяет существующую команду командной строки Windows (`cmd`)**, например, `cd` является псевдонимом для `Set-Location` с другими опциями. В этом случае добавьте следующее примечание о псевдониме во вторую строку описания оригинальной команды `cmd`, например: + +```md +# cd + +> Показать текущий рабочий каталог или перейти в другой. +> В PowerShell эта команда является псевдонимом для `Set-Location`. Данная документация основана на версии `cd` для командной строки (`cmd`). +> Больше информации: . + +- Посмотреть документацию для эквивалентной команды PowerShell: + +`tldr set-location` +``` + +> [!NOTE]\ +> Пример "Посмотреть документацию для эквивалентной команды PowerShell" является необязательным и должен быть исключен, если на странице уже достигнуто максимальное количество (8) примеров. + +2. **Предоставляет новый псевдоним, но выполняемый только в PowerShell**, например, `ni` для `New-Item`. В этом случае используйте [стандартный шаблон псевдонима](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md), но добавьте фразу "В PowerShell," (или эквивалент), чтобы указать, что команда эксклюзивна для PowerShell. Например: + +```md +# ni + +> В PowerShell эта команда является псевдонимом для `New-Item`. +> Больше информации: . + +- Посмотреть документацию для оригинальной команды: + +`tldr new-item` +``` + +3. **Предоставляет новый псевдоним, который конфликтует с другими программами**, наиболее известный случай — включение `curl` и `wget` в качестве псевдонимов для `Invoke-WebRequest` (с несовместимым набором опций). Обратите внимание, что системные псевдонимы PowerShell, подпадающие под эту категорию, обычно эксклюзивны для Windows. + +В этом случае предоставьте примечание и способ определить, относится ли текущая команда к команде PowerShell (через псевдоним) или к другой. Например: + +```md +# curl + +> В PowerShell эта команда может быть псевдонимом для `Invoke-WebRequest`, если оригинальная программа `curl` () не установлена должным образом. +> Больше информации: . + +- Проверить, правильно ли установлен `curl`, выведя номер его версии. Если эта команда приводит к ошибке, PowerShell, возможно, заменил эту команду на `Invoke-WebRequest`: + +`curl --version` + +- Посмотреть документацию для оригинальной команды `curl`: + +`tldr curl -p common` + +- Посмотреть документацию для команды PowerShell `Invoke-WebRequest`: + +`tldr invoke-webrequest` +``` + +### Разрешение неоднозначностей (Disambiguations) + +Если возникает конфликт имен между страницами на одной и той же платформе, можно использовать страницы для разрешения неоднозначностей, чтобы направить пользователей на разные страницы. Именуйте конфликтующие страницы с точкой и подходящим суффиксом. Если подходящего суффикса нет, можно использовать числа, начиная с 1. Если конфликтующая страница является акронимом, направьте пользователя на страницу с расшифрованным названием. + +В следующем случае `just.md` — это имя файла страницы для разрешения неоднозначностей, в то время как `just.1.md` и `just.js.md` относятся к реальным страницам: + +```md +# just + +> `just` может относиться к нескольким командам с одинаковым названием. + +- Посмотреть документацию для утилиты запуска команд: + +`tldr just.1` + +- Посмотреть документацию для среды выполнения V8 JavaScript: + +`tldr just.js` +``` + +### Группировка команд + +Иногда команды предназначены для использования в сочетании с другими. В таких случаях имеет смысл разместить их на одной странице. + +Например, `adb disconnect` имеет единственный способ использования, но `adb` настолько обширна, что все не поместится на главной странице. Обычно `adb disconnect` используется в сочетании с `adb pair` и `adb connect`, поэтому имеет смысл сгруппировать их на одной странице. Например: + +```md +# adb disconnect + +> Эта команда была перенесена на страницу `adb connect`. + +- Посмотреть документацию для `adb disconnect`: + +`tldr adb connect` +``` + +## Общие правила написания + +### Выделение + +Не используйте *курсив*, **жирный шрифт** или любое другое стилистическое оформление текста на страницах. Они зарезервированы для выделения плейсхолдеров клиентами. + +### Повелительное наклонение (Imperative Mood) + +- **Все описания должны быть в повелительном наклонении.** +- Это правило по умолчанию применяется ко всем переводам, если иное не указано в разделе для конкретного языка ниже. + +При написании описаний для примеров команд **проверяйте наличие грамматических ошибок**. Предпочтительнее `Перейти в указанный каталог`, чем: + +- `Переход в указанный каталог` (не должно быть в форме отглагольного существительного) +- `Эта команда перейдет в указанный каталог` (очевидно, что этот пример относится к *этой* команде) +- `Давайте перейдем в указанный каталог!` +- `Смена каталога` (по возможности используйте активный залог вместо пассивного) + +Например, вместо `Вывод списка всех файлов:` используйте следующее: + +```md +- Показать все файлы: + + `ls` +``` + +### Серийная запятая (Оксфордская запятая) + +> [!NOTE]\ +> **Примечание для переводчиков:** Следующий раздел относится к правилам пунктуации в **английском языке**, которые важны для понимания при работе с оригинальными страницами или создании новых. В русской пунктуации эти правила не применяются. + +- При перечислении 3 или более элементов в английских текстах используется [серийная запятая](https://en.wikipedia.org/wiki/Serial_comma), также известная как Оксфордская, поскольку ее отсутствие может создать двусмысленность. + +Рассмотрим английский пример: + +> Delete the Git branches, tags and remotes. +> (Удалить ветки, теги и удаленные репозитории Git.) + +В примере выше не используется серийная запятая, что в английском языке может означать одно из двух: + +- Удалить ветки Git с именами `tags` и `remotes`. +- Удалить все следующее: ветки Git, теги Git и удаленные репозитории Git. + +Эту проблему решает запятая перед "and": + +> Delete the Git branches, tags, and remotes. + +> [!NOTE]\ +> Названия брендов и проектов могут быть написаны с заглавной буквы в описании, где это применимо (например, используйте `Инструмент для взаимодействия с репозиторием Git.` вместо ``Инструмент для взаимодействия с репозиторием `git`.``). + +### Особые случаи + +Если команда выполняет необратимые изменения в файловой системе или на устройствах, пишите каждый пример так, чтобы его нельзя было бездумно скопировать и выполнить. Например, вместо `ddrescue --force --no-scrape /dev/sda /dev/sdb` пишите `ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}}` и используйте плейсхолдер `{{/dev/sdXY}}` для *блочных устройств* вместо `/dev/sda1`. + +В целом, плейсхолдеры должны делать использование команды и подстановку значений в нее максимально интуитивным. + +Расшифровки акронимов (т.е. протоколов, инструментов и т.д.) не должны переводиться, если для них нет общепринятого эквивалента на родном языке. + +Технические термины в строках описания должны использовать синтаксис `обратных кавычек`. Используйте обратные кавычки для следующего: + +- Пути, например, `package.json`, `/etc/package.json`. +- Расширения, например, `.dll`. +- Команды, например, `ls`. +- Стандартные потоки: `stdout`, `stdin`, `stderr`. **Не** используйте полные названия (например, стандартный вывод). +- Алгоритмы сжатия, например, `zip`, `7z`, `xz`. + +При описании клавиш или сочетаний клавиш для утилиты используйте тот же [синтаксис для клавиш](#синтаксис-для-клавиш), что и в примерах команд. Убедитесь, что он заключен в обратные кавычки, чтобы не быть невидимым в рендерах markdown (т.е. ``Вывести последние строки файла и продолжать чтение до нажатия ``:``). + +Если для выполнения программы требуются права суперпользователя, и она не запрашивает пароль самостоятельно, добавьте в начало команды `sudo` (например, `sudo apt update`). + +### Стандартизированные термины + +Некоторые термины используются многократно на разных страницах и, следовательно, должны быть стандартизированы. К ним относятся: + +| Термин | Стандарт | Объяснение | +| --- | --- | --- | +| Регулярное выражение | `` `regex` `` | `regex` определяет шаблон для поиска в строке символов (https://en.wikipedia.org/wiki/Regular_expression). | + +## Заголовок + +### Описание программы + +- Избегайте использования названия страницы в описании (например, используйте `Программа для рисования и создания эскизов...` вместо `Krita — это программа для рисования и создания эскизов...`) +- Если название программы отличается от имени исполняемого файла, его можно указать в начале заголовка (например, `rg` и Ripgrep). +- Избегайте упоминания, что программа используется в командной строке (например, используйте `Ripgrep, инструмент для рекурсивного поиска по строкам` вместо `Ripgrep, CLI-инструмент для рекурсивного поиска по строкам`). + +Например, при написании документации для `cd`, инструмента для перехода и работы в определенном каталоге в Терминале или Командной строке, **не** пишите длинное описание, такое как: + +```md +> `cd` — это системный инструмент, доступный в Windows, macOS и Linux, для перехода в определенный каталог для выполнения задач в Командной строке, Терминале и PowerShell. +``` + +Вместо этого его следует упростить для облегчения чтения: + +```md +> Изменить текущий рабочий каталог. +``` + +### Ссылки "Больше информации" + +- В строке со ссылкой `Больше информации` предоставьте прямую ссылку на документацию, которая инструктирует по использованию команды. Мы предпочитаем ссылаться на документацию, предоставленную автором, но если она недоступна или содержит очень мало информации, используйте в качестве запасного варианта для всех платформ (кроме `osx` и платформ BSD, отличных от FreeBSD). Если страницу документации найти не удается, вы можете сослаться на сайт автора или стороннее руководство. +- Делайте ссылку "Больше информации" короткой. По возможности убирайте избыточный текст. Например, используйте https://manned.org/partclone вместо https://manned.org/man/partclone.8, если только нет двух разных man-страниц для команды в разных дистрибутивах/платформах, т.е. `command.1` и `command.8`. + +- Для `osx`: Apple распространяет встроенные man-страницы [в Xcode](https://developer.apple.com/documentation/os/reading_unix_manual_pages). Для команд, документированных там, мы рекомендуем использовать , HTML-экспорт всех man-страниц Apple, поставляемых с Xcode. + +> [!IMPORTANT]\ +> Все ссылки должны быть заключены в угловые скобки (`<` и `>`). + +- Рекомендуется использовать ссылку "Больше информации" с англоязычным контентом как в переводах, так и на английских страницах. Это связано с тем, что ссылки со временем могут меняться, а переводы часто отстают от английских страниц. + +#### Ссылки с версиями + +Когда у утилиты или дистрибутива есть версионированные ссылки на документацию, ссылайтесь на самую последнюю версию (т.е. `latest`) или не указывайте версию, если сайт автоматически перенаправляет на последнюю версию. + +Например, используйте: + +- вместо . +- вместо . + +#### Ссылки на Microsoft Learn + +При ссылке на страницы Microsoft Learn удаляйте из адреса локаль, так как сайт автоматически перенаправит на предпочитаемую локаль читателя. Например, используйте вместо . + +Кроме того, если ссылка относится к документации команды PowerShell, удалите **индикатор версии документации** (указывающий версию PowerShell/модуля, из которой взята документация), т.е. часть адреса, которая начинается с `?view=`. + +- Используйте вместо . +- Используйте вместо . + +### Раздел "Смотрите также" + +- Чтобы сослаться на связанную команду или подкоманду, используйте: + +```md +> Смотрите также: `команда`. +``` + +- Чтобы сослаться на несколько связанных команд или подкоманд, используйте: + +```md +> Смотрите также: `команда1`, `команда2`, `команда3`. +``` + +- При желании можно добавить краткое описание рядом со ссылками: + +```md +> Смотрите также: `date` для информации Unix, `uname` для системной информации и `umount` для размонтирования разделов. +``` + +## Описания примеров + +### Мнемоники для коротких опций + +Мнемоники для коротких опций — это необязательные подсказки, которые можно добавить, чтобы помочь пользователям понять значение этих опций. Назначенные мнемоники должны совпадать с теми, что указаны в официальной документации команды (например, из `man` или `Get-Help`). Например: + +```md +- Отобразить ([d]isplay) iD ([i]D) установки (ins[t]allation) для текущего устройства. Полезно для офлайн-активации лицензии: + +`slmgr.vbs /dti` + +- Отобразить дату и время иcтечения cрока (e[xp]i[r]ation) действия текущей лицензии: + +`slmgr.vbs /xpr` +``` +Обратите внимание, что в первом примере символы `[d]`, `[t]` и `[i]` заключены в квадратные скобки. Это указывает, что опция `/dti` является комбинацией слов, от которых взяты эти буквы: `[d]` от "display" (отобразить), `[t]` от "installation" (установка) и `[i]` от "ID" (идентификатор). Группируйте последовательные мнемонические символы в одних и тех же квадратных скобках, например: `e[xp]i[r]ation` вместо `e[x][p]i[r]ation`. + +**Мнемонические символы должны быть написаны с учетом регистра**, даже если они стоят в начале предложения (т.е. используйте `[d]isplay` вместо `[D]isplay`). Это делается для избежания конфликтов с опциями в стиле GNU, которые могут по-разному интерпретировать опции в верхнем и нижнем регистре, например, `-v` для отображения `[v]ersion` команды и `-V` для запуска команды в `[V]erbose` режиме. + +Мнемоники опций также могут использоваться в переводах, если выделенное слово имеет схожее значение с языком (обычно английским), для которого написана команда. +Например, `[d]ownload` в английском может быть переведено как `[d]escargar` на испанском, `[i]nstall` как `[i]nstallieren` на немецком, а `[a]pp` как `[a]plikasi` на индонезийском и малайском. + +- При желании мнемоники и заключенные в них термины можно отделять скобками от остального описания (т.е. `([a]ll)`) в переводах и на определенных страницах для предоставления дополнительного контекста или упоминания слова, отсутствующего в описании. + +> [!NOTE]\ +> В случаях, когда символ отсутствует в переведенном слове, вы можете выделить опцию рядом с эквивалентным словом или добавить английское слово рядом с переводом в скобках. +> Например, `E[x]tract` на английском может быть переведено как `извлечь [x]` или `извлечь (E[x]tract)`. + +## Команды в примерах + +### Порядок аргументов + +Старайтесь придерживаться следующего порядка: + +- Имя программы +- Перенаправление ввода из файла +- Все подкоманды +- Опции/Флаги +- Позиционные аргументы/Пакеты/Данные/... +- Перенаправление вывода в файл + +Например: `systemctl < входной_файл.txt status --user pipewire > выходной_файл.txt` + +Это лишь рекомендация, и от нее следует отступать, если этого требует функциональность программы или читаемость. + +Если команда выполняет несколько действий, старайтесь сохранять хронологический порядок их выполнения. + +### Синтаксис опций + +- Для удобства пользователя предпочитайте **длинные опции в стиле GNU** (например, `--help` вместо `-h`). Убедитесь, что опции кроссплатформенны (предназначены для одинаковой работы на разных платформах) для страниц в каталоге `common`. +- Чтобы клиент мог сам решать, показывать длинные или короткие опции в командах, используйте плейсхолдер опции, т.е. `{{[-o|--output]}}`. +- Если команда поддерживает только короткие опции или короткая опция сильно отличается от длинной, попытайтесь документировать, сокращением чего является буква, с помощью [мнемоники](#мнемоники-для-коротких-опций). +- Предпочитайте группировать флаги вместе, если программа это поддерживает (т.е. `{{[-it|--interactive --tty]}}` вместо `{{[-i|--interactive]}} {{[-t|--tty]}}`). +- Предпочитайте не группировать опции, принимающие аргументы (т.е. `{{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{путь/к/каталогу}}` вместо `{{[-itw|--interactive --tty --workdir]}} {{путь/к/каталогу}}`) +- Предпочитайте использовать пробел вместо знака равенства (`=`) для разделения опций и их аргументов (т.е. используйте `--opt arg` вместо `--opt=arg`), если программа не поддерживает иное. +- Аналогично, предпочитайте отделять короткие опции от их аргументов пробелом (т.е. используйте `-o arg` вместо `-oarg`), если программа не поддерживает иное. +- Если команда поддерживает только `-oarg` и `--opt=arg`, плейсхолдер опции должен быть написан так: `{{[-o|--opt=]}}аргумент`. Учитывайте, как будет выглядеть команда, если клиент отобразит только короткие или только длинные опции. + +### Синтаксис плейсхолдеров + +Значения, предоставляемые пользователем, должны использовать синтаксис `{{плейсхолдер}}`, чтобы клиенты `tldr` могли их подсвечивать. + +> [!TIP]\ +> Рекомендуется заключать плейсхолдеры, принимающие строки, в кавычки. т.е. используйте `"{{плейсхолдер}}"` вместо `{{"плейсхолдер"}}`. + +При выборе плейсхолдеров придерживайтесь следующих рекомендаций: + +#### Именование + +- Используйте короткие, но описательные плейсхолдеры, такие как `{{путь/к/исходному_файлу}}` или `{{путь/к/кошельку.txt}}`. +- Используйте [`snake_case`](https://wikipedia.org/wiki/snake_case) для плейсхолдеров из нескольких слов. + +#### Пути + +- Используйте `{{имя_файла}}`, когда ожидается только имя файла. +- Для любой ссылки на пути к файлам или каталогам используйте формат `{{путь/к/плейсхолдеру}}`, за исключением случаев, когда местоположение подразумевается. +- Когда путь не может быть относительным и должен начинаться с корня файловой системы, ставьте слэш перед плейсхолдером, например, `get /{{путь/к/удаленному_файлу}}`. +- В случае возможной ссылки как на файл, так и на каталог, используйте `{{путь/к/файлу_или_каталогу}}`. + +> [!NOTE]\ +> Если команда специфична для Windows, используйте обратные слэши (`\`), например, `{{путь\к\файлу_или_каталогу}}`. Буквы дисков, такие как `C:`, необязательны, если только ввод команды не требует абсолютного пути или определенного диапазона букв дисков, например, `cd /d {{C}}:{{путь\к\каталогу}}`. + +#### Расширения + +- Если для файла ожидается определенное расширение, добавьте его. Например, `unrar x {{путь/к/архиву.rar}}`. +- В случае, когда требуется общее расширение, используйте `{{.ext}}`, но **только** если расширение обязательно. Например, в примере "Найти файлы по расширению" на странице `find.md` (`find {{путь/к/корневому_каталогу}} -name '{{*.ext}}'`) использование `{{*.ext}}` объясняет команду, не будучи излишне конкретным; в то время как в `wc -l {{путь/к/файлу}}` достаточно использовать `{{путь/к/файлу}}` (без расширения). + +#### Группировка плейсхолдеров + +- Если команда может опционально принимать 1 или более аргументов одного типа, используйте многоточие: `{{плейсхолдер1 плейсхолдер2 ...}}`. Например, если ожидается несколько путей, используйте `{{путь/к/каталогу1 путь/к/каталогу2 ...}}`. +- Если возможен только один из нескольких вариантов, запишите его так: `{{плейсхолдер1|плейсхолдер2|плейсхолдер3}}`. Если возможных значений больше 3, можно использовать `|...` после последнего элемента. +- Используйте две точки для обозначения диапазона возможных значений, например, `{{1..5}}` или `{{a..z}}`. + +#### Необязательные плейсхолдеры + +При документировании необязательных плейсхолдеров, таких как пути или расширения файлов, рекомендуется указывать их в описании страницы или примера, а не в самом плейсхолдере. Например: + +- Используйте `{{путь/к/источнику.ext}}` вместо `{{путь/к/источнику.tar[.gz|.bz2|.xz]}}`. + +> [!IMPORTANT]\ +> Не вставляйте плейсхолдеры внутрь других плейсхолдеров. + +### Синтаксис для клавиш + +Для обозначения нажатий клавиш в TUI или GUI программах используйте угловые скобки `<` и `>`. + +- Пример с одним символом: ``. +- Специальные клавиши должны быть написаны в стиле [`PascalCase`](https://www.theserverside.com/definition/Pascal-case): ``, ``, ``, ``, ``, `` вместо обозначения с `shift`. В остальных случаях всегда обозначайте символы в нижнем регистре. +- Обозначайте одновременные нажатия клавиш внутри одних угловых скобок, разделяя их одним пробелом: ``, ``, ``, ``. +- При написании одновременных нажатий клавиш придерживайтесь следующего порядка: ``. +- Последовательные нажатия клавиш должны быть заключены в свои собственные угловые скобки без пробела между ними: ``, ``, `<~><.>`, ``. +- Клавиши, которые вводятся в приглашение, не нужно обозначать как нажатия: `<:>help`. Обратите внимание, что клавиша переключения контекста обозначена в угловых скобках, несмотря на то, что она печатается в приглашении. + +### Команды help и version + +- Мы обычно размещаем, **в таком порядке**, команды для получения справки и версии в качестве **двух последних** примеров на странице, чтобы выделить более практичные команды в начале. Их можно заменить для размещения других полезных примеров при необходимости. +- Для единообразия мы предпочитаем общие формулировки `Показать справку` и `Показать версию` для этих команд. +- Рекомендуется документировать примеры для справки и версии, если команда использует нестандартные флаги на таких платформах, как Windows. + +## Правила для языков и переводов + +Ниже приведены дополнительные правила, специфичные для языков и переводов: + +### Общие + +Не переводите `example.com`. Этот домен [зарезервирован IANA для целей документации](https://www.iana.org/help/example-domains) и никому не будет передан. Перевод имени сайта может подвергнуть риску неосторожных пользователей. + +### Правила для английского языка + +Обычный дефис (`-`) следует использовать в тех случаях, где различные руководства по стилю могут рекомендовать среднее (`–`) или длинное тире (`—`). + +- Например, используйте `for lengths 3-12` вместо `for lengths 3–12` + +Причин для этого четыре: + +1. Нет общепринятого стандарта среди различных руководств по стилю о том, когда следует использовать каждый из этих видов тире. +2. Дефис (`-`) — единственный тире-подобный символ в ASCII, что снижает вероятность проблем с совместимостью. +3. Дефис (`-`) намного проще всего набирать. +4. Многие носители английского языка, особенно неродные, не знают о разнице. + +*(Примечание: Разделы с правилами для китайского, индонезийского, французского, португальского и испанского языков были опущены, так как они не относятся к русскому переводу.)* diff --git a/contributing-guides/style-guide.zh.md b/contributing-guides/style-guide.zh.md new file mode 100644 index 00000000000000..07d6bbb99314c3 --- /dev/null +++ b/contributing-guides/style-guide.zh.md @@ -0,0 +1,365 @@ +# 格式指导 + +当你在为 `tldr` 贡献时,请遵守下面的格式规范。 + +请注意,下面的规范仅适用于中文翻译的 `tldr` 页面。 + +## 排版 + +首先,你的页面应该看起来像这样,并且最多只能包含 8 个示例: + +```md +# 命令名称 + +> 简短、精炼的描述。 +> 描述最好只有一行;当然,如果需要,也可以是两行。 +> 更多信息:. + +- 命令描述: + +`命令 -选项 1 -选项 2 -参数 1 {{参数的值}}` + +- 命令描述: + +`命令 -选项 1 -选项 2` +``` + +当你将自己的贡献提交 pull request 时,一个脚本会自动检查你的贡献是否符合上面的格式。 + +你也可以在提交前在本地测试自己的贡献: + +```sh +npm install --global tldr-lint +tldr-lint {{page.md}} +``` + +关于 `tldr-lint` 的更多使用方法,例如检查批量检查一整个目录的格式,[`tldr tldr-lint`](https://github.com/tldr-pages/tldr/blob/master/pages/common/tldr-lint.md) 是你的不二去处! + +如果你用 tldr-pages 的 Node.js 客户端,你可以在命令后加 `-f` (`--render`) 来在本地预览自己的页面: + +```sh +tldr --render path/to/tldr_page.md +``` + +### PowerShell 特定规则 +在记录 PowerShell 命令时,请注意以下命名约定。 + +- 文件名必须以小写形式书写,例如 `invoke-webrequest.md` 而不是 `Invoke-WebRequest.md`。 +- 页面标题/标题必须按照原样书写(与 Microsoft 或 PowerShell 模块作者意图一致),例如 `Invoke-WebRequest` 而不是 `invoke-webrequest`。 +- 示例中的命令名称和选项也应按原样书写,例如 `Command-Name {{input}} -CommandParameter {{value}}` 而不是 `command-name {{input}} -commandparameter {{value}}`。 + +由于[各种兼容性差异](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell)和在 PowerShell 6.x 中删除的特定于 Windows 的命令,确保命令在 PowerShell 5.1(即安装在 Windows 10 和 11 中的“传统 Windows PowerShell”)和 最新版本的跨平台 PowerShell(以前称为 PowerShell Core)之间可用。如果命令或其选项在每个版本之间不可用或包含不同的行为,请在描述中注明。例如, + +```md +# Clear-RecycleBin + +> 清空回收站中的项目。 +> 此命令仅适用于 PowerShell 版本 5.1 及以下版本,或 7.1 及以上版本。 +> 更多信息: . +``` + +## 别名 +如果一个命令可以通过其他名称调用(例如 `vim` 可以通过 `vi` 调用),可以创建别名页面将用户引导到原始命令名称。 + +```md +# command_name + +> 此命令是 `original-command-name` 的别名。 +> 更多信息: . + +- 查看原始命令的文档: + +`tldr original_command_name` +``` + +示例: + +```md +# vi + +> 这是 `vim` 命令的一个别名。 + +- 原命令的文档在: + +`tldr vim` +``` + +预先翻译好的别名模板见[这里](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md)。 + +### PowerShell 特定别名 +某些 PowerShell 命令可能会引入别名,这些别名可以分为以下三类: + +1. 替代现有的 Windows 命令提示符 (`cmd`) 命令,例如 `cd` 别名为 `Set-Location`,但带有不同的命令选项。在这种情况下,将以下别名注释添加到原始命令提示符命令的 tldr 描述的第二行中,例如: + +```md +# cd + +> 显示当前工作目录或移动到其他目录。 +> 在 PowerShell 中,此命令是 `Set-Location` 的别名。本文档基于命令提示符 (`cmd`) 版本的 `cd`。 +> 更多信息: . + +- 原命令的文档在: + +`tldr set-location` +``` + +> [!TIP] +> “查看等效 PowerShell 命令的文档”的示例是可选的,如果页面已经具有 8 条示例,则可以省略。 + +2. 提供一个新的别名,但只能在 PowerShell 中执行,例如 `ni` 代表 `New-Item`。在这种情况下,使用[标准别名模板](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/alias-pages.md),但添加说明“在 PowerShell 中”,或表示该命令仅限于 PowerShell。例如, + +```md +# ni + +> 在 PowerShell 中,此命令是 `New-Item` 的别名。 +> 更多信息: . + +- 查看原始命令的文档: + +`tldr new-item` +``` + +3. 与其他程序冲突时 PowerShell 会提供一个新的别名,最为突出的是将 `curl` 和 `wget` 作为 `Invoke-WebRequest` 的别名(带有不兼容的命令选项集)。请注意,此类别的 PowerShell 系统别名通常仅限于 Windows。 + +在这种情况下,提供一个说明,并提供一种方法来确定命令当前是否引用了 PowerShell 命令(通过别名)或其他程序。例如, + +```md +# curl + +> 在 PowerShell 中,当原始的 `curl` 程序 () 未正确安装时,此命令可能是 `Invoke-WebRequest` 的别名。 +> 更多信息: . + +- 通过打印其版本号来检查 `curl` 是否已正确安装。如果此命令导致错误,则 PowerShell 可能已将此命令替换为 `Invoke-WebRequest`: + +`curl --version` + +- 查看原始 `curl` 命令的文档: + +`tldr curl -p common` + +- 查看 PowerShell 的 `Invoke-WebRequest` 命令的文档: + +`tldr invoke-webrequest` +``` + +## 选项语法 + +- 对于常用命令(例如 `grep`、`tar` 等),我们更推荐在占位符中使用简短选项以及[助记符](#short-option-mnemonics)。 +- 对于在命令中同时突出长选项和短选项(而不是使用助记符),将它们组合在占位符中,即 `{{-o|--output}}`。 +- 为了用户友好,在 `common` 目录下的页面中,当它们在跨平台(在多个平台上都可以正常工作)时,我们更推荐使用**GNU 风格的长选项**(例如 `--help` 而不是 `-h`)。 +- 在记录 PowerShell 命令时,使用**PowerShell 风格的长选项**(例如 `-Help` 而不是 `-H`)。 +- 我们更推荐使用空格而不是等号 (`=`) 来分隔选项和其参数(即使用 `--opt arg` 而不是 `--opt=arg`),除非程序不支持此方法。 + +### 短选项助记符 + +短选项助记符是可选的提示,可以添加以帮助用户理解这些短选项的含义。分配的助记符应与命令的官方文档(例如来自 `man` 或 `Get-Help`)中的内容相匹配。例如: + +```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` +``` + +请注意,在第一个示例中,`[d]`、`[t]` 和 `[i]` 字符被方括号括起来,以指示命令的 `/dti` 选项分别是 "display"、"installation" 和 "ID" 的组合。连续的助记符字符可以在同一方括号下进行分组,例如 `e[xp]i[r]ation` 而不是 `e[x][p]i[r]ation`。 + +**助记符字符必须以区分大小写的方式编写**,即使它放在句子的第一个字符位置(例如使用 `[d]isplay` 而不是 `[D]isplay`)。这是为了避免与 GNU 风格命令选项产生冲突,GNU 风格命令选项可能会以不同于小写的方式解释大写选项,例如 `-v` 用于显示命令的 `[v]ersion` 号码,而 `-V` 则用于以 `[V]erbose` 模式运行命令。 + +选项助记符也可以在翻译中使用,只要突出显示的单词与命令所用语言(通常为英语)中的单词具有相似的含义即可。例如,英语中的 `[d]ownload` 可以翻译为西班牙语中的 `[d]escargar`,英语中的 `[i]nstall` 可以翻译为德语中的 `[i]nstallieren`,而英语中的 `[a]pp` 可以翻译为印尼语和马来语中的 `[a]plikasi`。 + +可选地,在翻译和特定页面中,助记符及其包含的术语可以用括号与描述的其余部分分开(即 `([a]ll)`),以提供额外的上下文或提及描述中不存在的单词。 + +> [!NOTE] +> 在翻译的单词中如果缺少字符,您可以在等效词的前面或旁边突出显示选项,或您可以在括号内的翻译旁边添加英文单词。例如,英语中的 `E[x]tract` 可以翻译为印尼语中的 `[x] ekstrak` 或 `ekstrak [x]` 或 `ekstrak (E[x]tract)`。 + +## 占位符语法 + +当命令涉及用户自己提供的值时,请用 `{{token}}` 语法来使 `tldr` 客户端能自动高亮它们: + +`tar -cf {{目标.tar}} {{文件 1}} {{文件 2}} {{文件 3}}` + +翻译时,请尽量翻译原文中的西文占位符。下面是命名占位符的规则: + +1. 占位符需要短小精悍, + 例如 `{{源文件}}` 或者 `{{钱包.txt}}` +2. 如果占位符是西文,请用 [`snake_case`](https://en.wikipedia.org/wiki/Snake_case) 来分词。 +3. 当占位符涉及文件路径时,请用 `{{目录/子目录/《占位符》}}` 的格式。 + 例如:`ln -s {{目录/子目录/源文件}} {{目录/子目录/链接}}` + 如果占位符提到的文件也可能是目录,请用 `{{目录/子目录/文件或目录}}` +4. 除非文件是特定的,上述 `{{目录/子目录/《占位符》}}` 的文件路径格式应用于所有包含路径的命令。 +5. 如果命令需要的文件扩展名是固定的,请在占位符里加上文件格式。 + 例如:`unrar x {{压缩包.rar}}` + 如果文件 **必须** 有一个扩展名,请用 `{{.ext}}` 。 + 例如,在 `find {{起始目录}} -name '{{*.ext}}'` 的例子里, + 这样做简单地演示了查找一个特定文件扩展名的方法。 + 但是,在 `wc -l {{file}}` 的例子里,用不加扩展名的 `{{file}}` 就足够了。 +6. 如果用实际的值比描述这个占位符更加明了,请举一个值做例子。 + 例如:`iostat {{2}}` 比 `iostat {{以秒为单位的间隔}}` 更清晰。 +7. 如果一个命令可能对文件系统或设备造成不可逆的影响,请在示例命令中注意改写,使其不能被盲目复制粘贴运行。 + 例如,`ddrescue --force --no-scrape /dev/sda /dev/sdb` 被盲目复制粘贴时可能对系统造成毁灭性的打击;`ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}}` 则更安全。 + 因此,请用 `{{/dev/sdXY}}` 而不是 `{{/dev/sda1}}` 来表示一个 **块设备** 。 + +占位符应该尽可能简单明了,让人一眼就能看出应该替换它的值。 + +### 路径 + +- 当只期望文件名时,请使用 `{{filename}}`。 +- 对于文件或目录路径的任何引用,请使用格式 `{{path/to/}}`,除非位置是隐含的。 +- 当路径不能是相对路径,而必须从文件系统的根目录开始时,请使用斜杠作为前缀,例如 `get {{/path/to/remote_file}}`。 +- 如果可能引用文件或目录,请使用 `{{path/to/file_or_directory}}`。 + +> [!NOTE] +> 如果命令专用于 Windows,请使用反斜杠(`\`),例如 `{{path\to\file_or_directory}}`。驱动器号(如 `C:`)是可选的,除非命令输入要求绝对路径或特定的驱动器号范围,例如 `cd /d {{C}}:{{path\to\directory}}`。 + +### 扩展名 + +- 如果文件有特定的扩展名,请写出来。 + 例如,`unrar x {{path/to/compressed.rar}}`。 +- 如果需要通用的扩展名,请使用 `{{.ext}}`,但**只有**在需要扩展名时才使用。 + 例如,在 `find.md` 的示例“按扩展名查找文件”中(`find {{path/to/root}} -name '{{*.ext}}'`), + 使用 `{{*.ext}}` 可以解释命令而不必过于具体; + 而在 `wc -l {{path/to/file}}` 中,使用 `{{path/to/file}}`(不带扩展名)就足够了。 + +### 分组占位符 + +- 如果命令可以接受相同类型的 0 个或多个参数,请使用省略号:`{{placeholder1 placeholder2 ...}}`。 + 例如,期望多个路径,则可以使用 `{{path/to/directory1 path/to/directory2 ...}}`。 +- 如果命令可以接受不同类型的 0 个或多个参数,请使用竖线和省略号:`{{placeholder1|placeholder2|...}}`。 + 如果可能值超过 5 个,则可以在最后一项后面使用 `|...`。 +- 无法通过省略号限制占位符的最小或最大数量。 + +### 特殊情况 + +- 如果一个命令可能对文件系统或设备进行不可逆转的更改, + 请以一种不会被轻易复制粘贴的方式编写每个示例。 + 例如,不要写成 `ddrescue --force --no-scrape /dev/sda /dev/sdb`, + 而是写成 `ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}}`, + 并且对于*块设备*,使用 `{{/dev/sdXY}}` 占位符,而不是 `/dev/sda1`。 + +通常情况下,占位符应尽可能直观,以便于理解如何使用命令并填入相应的值。 + +在命令描述中,如果出现了技术性的专有名词,请用 `反引号` 括起来: + +- 路径,例如 `package.json`,`/etc/package.json`。 +- 扩展名,例如 `.dll`。 +- 命令,例如 `ls`。 +- 标准流:`stdout`,`stdin`,`stderr`。**不要**使用完整的名称(例如标准输出)。 +- 压缩算法,例如 `zip`,`7z`,`xz`。 + +## 描述 + +### 祈使句 + +- **所有描述必须以祈使句表达。** + +如果你担心命令在不同平台或操作系统之间可能不同(例如 Windows 对比 macOS),大多数 [tldr 页面客户端](https://github.com/tldr-pages/tldr/wiki/Clients) 将选择最适合的命令版本。 + +在这种情况下,默认将显示 Windows 版本的 `cd` 信息(存储在 `pages/windows/cd.md` 中)给 Windows 用户,并为 Linux、macOS 和其他平台显示一个通用版本(存储在 `pages/common/cd.md` 中)。 + +在为命令示例编写描述时,**检查任何语法错误**。例如,应该使用 `前往指定目录` 而不是: + +- `正前往指定目录`(不应使用现在分词形式) +- `该命令将前往指定目录`(很明显此示例适用于 *此* 命令) +- `让我们前往指定目录!` +- `目录被更改为`(如果可能,应使用主动形式而不是被动形式) + +例如,可以使用 `列出所有文件:` 的描述,下面是示例的描述可以使用 `列出所有文件:`。 + +```md +- 列出所有文件: + +`ls` +``` + +### 措辞 + +- 所有描述**必须简洁**。 +- 避免在描述中使用页面标题(例如,使用 `为数字艺术家设计的素描和绘画程序`,而不是 `Krita 是为数字艺术家设计的素描和绘画程序`),除非程序名称与可执行文件名称不同(例如 `rg` 和 Ripgrep)。 +- 避免提及程序是在命令行上使用的(例如,使用 `Ripgrep 是一个递归的面向行的搜索工具`,而不是 `Ripgrep 是一个递归的面向行的 CLI 搜索工具`)。 +- 例如,在为 `cd` 编写文档时,一个用于在终端或命令提示符中更改当前工作目录的工具,**不要**写出像这样冗长的描述: + +```md +> `cd` 是一个系统工具,在 Windows、macOS 和 Linux 中可用,用于在命令提示符、终端和 PowerShell 中更改当前工作目录以完成任务。 +``` + +它应该简化以使每个人都能更轻松地阅读: + +```md +> 更改当前工作目录。 +``` + +### 格式 + +- 在描述中,应该对专有名词进行大写(例如,使用 `用于与 Git 仓库交互的工具。`,而不是 ``用于与 `git` 仓库交互的工具。``)。 +- 首字母缩写(即协议、工具等)在没有本地同类物时不应进行翻译。 +- 当编写包含键盘按键或键盘快捷键时,建议将它们用反引号括起来,以突出显示在描述中(即 ``打印给定文件的最后几行,并一直读取直到按下 `Ctrl + C`:``)。 或者,您可以将它们记录为单独的命令,然后选择性地将它们突出显示为占位符(即 `:wq{{Enter}}` 或 `:wq` 或 `:wq(Enter)`)。 + +## 斜体和粗体 + +请不要在页面上使用 *斜体*、**粗体** 或任何其他文本样式。这些样式被用于客户端对占位符的修饰。 + +## 更多信息链接 + +- 在`更多信息`链接行上,我们更推荐链接到作者提供的命令行参考文档或 man 手册。如果没有提供,请使用 作为所有系统(除 `osx` 和除了 FreeBSD 之外的 BSD 平台)的默认链接。或者,如果命令没有文档页面,您也可以链接到作者的网站或教程页面。 + +- 对于 `osx`:苹果在 Xcode 中分发内置的 man 手册 [在这里](https://developer.apple.com/documentation/os/reading_unix_manual_pages)。对于那里记录的命令,我们建议使用 https://keith.github.io/xcode-man-pages/, 这是 Xcode 捆绑的所有苹果 man 手册的 HTML。 + +- **所有链接必须放在尖括号(`<` 和 `>`)中,以便在客户端中正确呈现。** + +- 我们更倾向于在翻译页面中直接使用英文页面的更多信息链接。 + +### 版本化链接 + +当一个应用程序或发行版的包具有版本化链接时,我们更倾向于链接到文档的最新版本(即 `latest`),或者如果网站自动重定向到文档的最新版本,则不用链接到任何版本。 + +例如,使用: + +- 而不是 。 +- 而不是 。 + +### Microsoft Learn 链接 + +当链接到 Microsoft Learn 页面时,请删除地址中的语言环境,因为网站会自动重定向到读者的首选语言环境。例如,使用 而不是 。 + +此外,如果链接与 PowerShell 命令文档相关,请删除**文档版本指示符**(即文档来源的 PowerShell/module 版本),即地址中以 `?view=` 开头的部分。 + +- 使用 而不是 。 +- 使用 而不是 。 + +## 帮助和版本命令 + +- 通常我们将帮助命令和版本命令**按照这个顺序**放在页面的**最后两个**示例中,以突出页面开头更实用的命令。如果需要,它们可以被替换为其他有用的示例。 +- 为了保持一致性,我们更推荐使用通用的术语 `显示帮助` 和 `显示版本` 来描述这些命令。 +- 如果命令在 Windows 等平台中使用了不同的标志,建议记录下帮助和版本示例。 + +## 特定语言规则 + +以下部分包含了用于翻译页面的额外的特定语言规则: + +## 中西文混排规则 + +中文、西文、阿拉伯数字写在同一个句子时,需要注意排版。 + +以下规则适用于中文(zh)和繁体中文(zh_TW): + +1. 在西文单词和数字**前后**放置一个空格。 + 例如:`列出所有 docker 容器` 而不是 `列出所有docker容器`。 + 例如:`宽度为 50 个字` 而不是 `宽度为50个字`。 +2. 除了度数和百分比,在数字和单位之间留一个空格。 + 例如:`容量 50 MB` 而不是 `容量 50MB`。 + 对于度数和百分比:使用 `50°C` 和 `50%` 而不是 `50 °C` 和 `50 %`. +3. 不要在全角标点符号前后放置空格。 + 例如:`开启 shell,进入交互模式` 而不是 `开启 shell ,进入交互模式`。 +4. 除了西文长句,一律使用全角标点符号。 + 例如:`嗨,你好。` 而不是 `嗨,你好.`。 +5. 当最句子最后一个字符是半角时,使用半角标点符号来结束句子。 + 例如:`将代码转化为 Python 3.` 而不是 `将代码转化为 Python 3。`。 +6. 使用精准的专有名词,不要使用非官方的中文缩写。 + 例如:`Facebook` 而非 `facebook`、`fb` 或 `脸书`。 + +为保持可读性和一致性,将页面翻译成中文时,请尽可能遵守以上 6 条规则。 + +有关更多中西文混排规则的信息,请参考 [《中文文案排版指北》](https://github.com/sparanoid/chinese-copywriting-guidelines)。 diff --git a/contributing-guides/translation-templates/alias-pages.md b/contributing-guides/translation-templates/alias-pages.md new file mode 100644 index 00000000000000..69dfd252503b53 --- /dev/null +++ b/contributing-guides/translation-templates/alias-pages.md @@ -0,0 +1,563 @@ +# Alias pages + +In order to document a command which is an alias of another command, you can +write an alias page. This file contains a list of all translations of the alias +page template decided upon in +[#5368](https://github.com/tldr-pages/tldr/pull/5368). +The templates can be changed when necessary. + +[en](#en) • +[ar](#ar) • +[bn](#bn) • +[bs](#bs) • +[ca](#ca) • +[cs](#cs) • +[da](#da) • +[de](#de) • +[es](#es) • +[fa](#fa) • +[fi](#fi) • +[fr](#fr) • +[hi](#hi) • +[id](#id) • +[it](#it) • +[ja](#ja) • +[ko](#ko) • +[lo](#lo) • +[ml](#ml) • +[ne](#ne) • +[nl](#nl) • +[no](#no) • +[pl](#pl) • +[pt_BR](#pt_br) • +[pt_PT](#pt_pt) • +[ro](#ro) • +[ru](#ru) • +[sh](#sh) • +[sr](#sr) • +[sv](#sv) • +[ta](#ta) • +[th](#th) • +[tr](#tr) • +[uk](#uk) • +[uz](#uz) • +[zh](#zh) • +[zh_TW](#zh_tw) + +--- + +### en + +```markdown +# example + +> This command is an alias of `example`. + +- View documentation for the original command: + +`tldr example` +``` + +--- + +### ar + +```markdown +# example + +> هذا الأمر هو اسم مستعار لـ `example`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr example` +``` + +--- + +### bn + +```markdown +# example + +> এই কমান্ড একটি উপনাম `example`. + +- মূল কমান্ডের জন্য ডকুমেন্টেশন দেখুন: + +`tldr example` +``` + +--- + +### bs + +```markdown +# example + +> Ova komanda je pseudonim za `example`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr example` +``` + +--- + +### ca + +```markdown +# example + +> Aquest comandament és un àlies de `example`. + +- Veure documentació pel comandament original: + +`tldr example` +``` + +--- + +### cs + +```markdown +# example + +> Tento příkaz je aliasem pro `example`. + +- Podívejte se na dokumentaci původního příkazu: + +`tldr example` +``` + +--- + +### da + +```markdown +# example + +> Denne kommando er et alias af `example`. + +- Se dokumentation for den oprindelige kommando: + +`tldr example` +``` + +--- + +### de + +```markdown +# example + +> Dieser Befehl ist ein Alias von `example`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr example` +``` + +--- + +### es + +```markdown +# example + +> Este comando es un alias de `example`. + +- Vea la documentación para el comando original: + +`tldr example` +``` + +--- + +### fa + +```markdown +# example + +> این دستور یک نام مستعار از `example` است. + +- مشاهده مستندات دستور اصلی : + +`tldr example` +``` + +--- + +### fi + +```markdown +# example + +> Tämä komento on `example`:n alias. + +- Näytä alkuperäisen komennon dokumentaatio: + +`tldr example` +``` + +--- + +### fr + +```markdown +# example + +> Cette commande est un alias de `example`. + +- Voir la documentation de la commande originale : + +`tldr example` +``` + +--- + +### hi + +```markdown +# example + +> यह आदेश `example` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr example` +``` + +--- + +### id + +```markdown +# example + +> Perintah ini merupakan alias dari `example`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr example` +``` + +--- + +### it + +```markdown +# example + +> Questo comando è un alias per `example`. + +- Consulta la documentazione del comando originale: + +`tldr example` +``` + +--- + +### ja + +```markdown +# example + +> このコマンドは `example` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr example` +``` + +--- + +### ko + +```markdown +# example + +> 이 명령은 `example` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr example` +``` + +--- + +### lo + +```markdown +# example + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `example`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr example` +``` + +--- + +### ml + +```markdown +# example + +> ഈ കമാൻഡ് `example` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr example` +``` + +--- + +### ne + +```markdown +# example + +> यो आदेश `example` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr example` +``` + +--- + +### nl + +```markdown +# example + +> Dit commando is een alias van `example`. + +- Bekijk de documentatie van het originele commando: + +`tldr example` +``` + +--- + +### no + +```markdown +# example + +> Denne kommandoen er et alias for `example`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr example` +``` + +--- + +### pl + +```markdown +# example + +> To polecenie jest aliasem `example`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr example` +``` + +--- + +### pt_BR + +```markdown +# example + +> Este comando é um apelido de `example`. + +- Veja documentação sobre o comando original: + +`tldr example` +``` + +--- + +### pt_PT + +```markdown +# example + +> Este comando é um alias de `example`. + +- Ver documentação do comando original: + +`tldr example` +``` + +--- + +### ro + +```markdown +# example + +> Această comandă este un alias al `example`. + +- Vizualizați documentația pentru comanda originală: + +`tldr example` +``` + +--- + +### ru + +```markdown +# example + +> Эта команда — псевдоним для `example`. + +- Смотри документацию для оригинальной команды: + +`tldr example` +``` + +--- + +### sh + +```markdown +# example + +> Ova komanda je pseudonim za `example`. + +- Pogledaj dokumentaciju za originalnu komandu: + +`tldr example` +``` + +--- + +### sr + +```markdown +# example + +> Ова наредба је псеудоним `example`. + +- Погледајте документацију за оригиналну команду: + +`tldr example` +``` + +--- + +### sv + +```markdown +# example + +> Det här kommandot är ett alias för `example`. + +- Se dokumentationen för orginalkommandot: + +`tldr example` +``` + +--- + +### ta + +```markdown +# example + +> இக்கட்டளை `example` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr example` +``` + +--- + +### th + +```markdown +# example + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `example` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr example` +``` + +--- + +### tr + +```markdown +# example + +> Bu komut `example` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr example` +``` + +--- + +### uk + +```markdown +# example + +> Ця команда є псевдонімом для `example`. + +- Дивись документацію для оригінальної команди: + +`tldr example` +``` + +--- + +### uz + +```markdown +# example + +> Ushbu buyruq taxallus `example`. + +- Asl buyruq uchun hujjatlarni ko'rish: + +`tldr example` +``` + +--- + +### zh + +```markdown +# example + +> 这是 `example` 命令的一个别名。 + +- 原命令的文档在: + +`tldr example` +``` + +--- + +### zh_TW + +```markdown +# example + +> 這是 `example` 命令的一個別名。 + +- 原命令的文件在: + +`tldr example` +``` diff --git a/contributing-guides/translation-templates/common-arguments.md b/contributing-guides/translation-templates/common-arguments.md new file mode 100644 index 00000000000000..dfd78ede93daff --- /dev/null +++ b/contributing-guides/translation-templates/common-arguments.md @@ -0,0 +1,45 @@ +# Common arguments + +This page provides translations of commonly used arguments to simplify maintaining pages in foreign languages. +The best way to edit this file is by using [tableconvert.com](https://tableconvert.com/markdown-to-markdown). +There, the old table can be **imported**, **edited** in a WYSIWYG editor and **exported** again. +Only the left-alignment of the header gets lost and has to be re-added again (`|----` → `|:---`). + +> [!NOTE] +> Placeholders in Arabian (`ar`) and Farsi (`fa`) pages shouldn't be translated to prevent flipped text when reading. + +| en | path/to/file | path/to/directory | path/to/file_or_directory | package | username | +|-------|-----------------------|--------------------------|--------------------------------------|---------------|--------------------| +| bn | পাথ/টু/ফাইল | পাথ/টু/ডিরেক্টরি | পথ/থেকে/ফাইল_অথবা_ডিরেক্টরি | প্যাকেজ | ইউজারনেম | +| bs | put/do/datoteke | put/do/direktorija | put/do/datoteke_ili_direktorija | paket | korisničko_ime | +| ca | camí/al/fitxer | camí/al/directori | camí/al/fitxer_o_directori | paquet | nom_usuari | +| cs | cesta/k/souboru | cesta/k/adresari | cesta/k/souboru_ci_adresari | balíček | jmeno_uzivatele | +| da | sti/til/fil | sti/til/mappe | sti/til/fil_eller_mappe | pakke | brugernavn | +| de | pfad/zu/datei | pfad/zu/verzeichnis | pfad/zu/datei_oder_verzeichnis | paket | benutzername | +| es | ruta/al/archivo | ruta/al/directorio | ruta/al/archivo_o_directorio | paquete | usuario | +| fi | polku/tiedostoon | polku/hakemistoon | polku/tiedostoon_tai_hakemistoon | paketti | tunnus | +| fr | chemin/vers/fichier | chemin/vers/dossier | chemin/vers/fichier_ou_dossier | paquet | nom_d_utilisateur | +| hi | फ़ाइल/का/पथ | निर्देशिका/का/पथ | फ़ाइल_या_निर्देशिका/का/पथ | पैकेज | उपयोगकर्ता_नाम | +| id | jalan/menuju/berkas | jalan/menuju/direktori | jalan/menuju/berkas_atau_direktori | paket | nama_pengguna | +| it | percorso/del/file | percorso/della/directory | percorso/del/file_o_directory | pacchetto | nome_utente | +| ja | ファイルパス | ディレクトリパス | ファイルパスまたはディレクトリパス | パッケージ | ユーザー名 | +| ko | 경로/대상/파일 | 경로/대상/폴더 | 경로/대상/파일_또는_폴더 | 패키지 | 사용자 명 | +| ml | ഫയലിലേക്കുള്ള/പാത | ഡയറക്ടറിയിലേക്കുള്ള/പാത | ഫയലിലേക്കോ_ഡയറക്ടറിയിലേക്കോ/ഉള്ള/പാത | പാക്കേജ് | ഉപയോക്തൃനാമം | +| ne | फाइल/को/पथ | निर्देशिका/को/पथ | फाइल_वा_निर्देशिका/को/पथ | प्याकेज | प्रयोगकर्ता_नाम | +| nl | pad/naar/bestand | pad/naar/map | pad/naar/bestand_of_map | pakket | gebruikersnaam | +| no | sti/til/fil | sti/til/katalog | sti/til/fil_eller_katalog | pakke | brukernavn | +| pl | ścieżka/do/pliku | ścieżka/do/katalogu | ścieżka/do/pliku_lub_katalogu | pakiet | nazwa_użytkownika | +| pt_BR | caminho/para/arquivo | caminho/para/diretorio | caminho/para/arquivo_ou_diretorio | pacote | nome_do_usuario | +| pt_PT | caminho/para/ficheiro | caminho/para/diretório | caminho/para/ficheiro_ou_diretório | pacote | nome_de_utilizador | +| ro | cale/către/fișier | cale/către/director | cale/către/fișier_sau_director | pachet | nume_utilizator | +| ru | путь/к/файлу | путь/к/каталогу | путь/к/файлу_или_каталогу | пакет | имя_пользователя | +| sh | put/do/datoteke | put/do/direktorija | put/do/datoteke_ili_direktorija | paket | korisničko_ime | +| sr | put/do/datoteke | put/do/direktorijuma | put/do/datoteke_ili_direktorijuma | paket | korisničko_ime | +| sv | sökväg/till/fil | sökväg/till/katalog | sökväg/till/fil_eller_katalog | paket | användarnamn | +| ta | கோப்பு/பாதை | அடைவிற்குப்/பாதை | கோப்பு_அல்லது_அடைவு/பாதை | நிரல்தொகுப்பு | பயனர்ப்பெயர் | +| th | ทาง/ไป/ไฟล์ | ทาง/ไป/สารบบ | ทาง/ไป/สารบบหรือไฟล์ | แพคเกจ | ชื่อผู้ใช้ | +| tr | dosya/yolu | dizin/yolu | dosya_veya_dizin/yolu | paket | kullanıcı_adı | +| uk | шлях/до/файлу | шлях/до/директорії | шлях/до/файлу_чи_директорії | пакунок | ім'я_користувача | +| uz | faylga/yo'l | katalogga/yo'l | faylga_yo'l_yoki_katalogga_yo'l | paket | foydalanuvchi_nomi | +| zh | 路径/到/文件 | 路径/到/目录 | 路径/到/文件或目录 | 包 | 用户名 | +| zh_TW | 檔案/完整/路徑 | 目錄/完整/路徑 | 檔案或目錄/完整/路徑 | 套件 | 使用者名稱 | diff --git a/contributing-guides/translation-templates/common-descriptions.md b/contributing-guides/translation-templates/common-descriptions.md new file mode 100644 index 00000000000000..3861038a8cc774 --- /dev/null +++ b/contributing-guides/translation-templates/common-descriptions.md @@ -0,0 +1,44 @@ +# Common descriptions + +This page provides translations of commonly used descriptions to simplify maintaining pages in foreign languages. +The best way to edit this file is by using [tableconvert.com](https://tableconvert.com/markdown-to-markdown). +There, the old table can be **imported**, **edited** in a WYSIWYG editor and **exported** again. +Only the left-alignment of the header gets lost and has to be re-added again (`|----` → `|:---`). + +| en | Display help | Display version | +|-------|------------------------------|------------------------------------------------------| +| ar | عرض المساعدة | عرض رقم الإصدار | +| bn | সাহায্য প্রদর্শন | সংস্করণ দেখুন | +| bs | | | +| ca | Mostra ajuda | Mostra la versió | +| cs | | | +| da | Vis hjælp | Vis version | +| de | Zeige Hilfe an | Zeige Version an | +| es | Muestra ayuda | Muestra versión | +| fa | نمایش راهنما | نسخه کنونی جنگو | +| fi | Näytä ohje | Näytä versio | +| fr | Affiche l'aide | Affiche la version | +| hi | मदद प्रदर्शित करें | संस्करण दिखाएं | +| id | Tampilkan bantuan | Tampilkan informasi versi | +| it | Mostra informazioni di aiuto | Controlla la versione | +| ja | ヘルプを表示する | バージョンを表示 | +| ko | 도움말 표시 | 버전 정보 표시 | +| ml | സഹായ നിർദേശങ്ങൾ കാണുവാൻ | നിങ്ങൾ ഉപയോഗിക്കുന്ന ഗിറ്റിന്റെ പതിപ്പ് പരിശോധിക്കാൻ | +| ne | | | +| nl | Toon de help | Toon de versie | +| no | | | +| pl | Wyświetl pomoc | Wyświetl wersję | +| pt_BR | Mostra ajuda geral | Mostra a versão | +| pt_PT | | | +| ro | | | +| ru | | | +| sh | | | +| sr | Prikazuje opštu pomoć | Proverava verziju | +| sv | | | +| ta | உதவியைக் காட்டு | பதிப்பைச் சரிபார்க்கவும் | +| th | | | +| tr | | | +| uk | | | +| uz | | | +| zh | 展示帮助信息 | 查看 版本 | +| zh_TW | 查看指令的說明 | 在終端機印出 的版本資訊 | diff --git a/contributing-guides/translation-templates/more-info-link.md b/contributing-guides/translation-templates/more-info-link.md new file mode 100644 index 00000000000000..b3f1de5faa9851 --- /dev/null +++ b/contributing-guides/translation-templates/more-info-link.md @@ -0,0 +1,343 @@ +# More information link + +For all our pages we suggest having a [more information link](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md#more-information-links) which contains a link +to the official documentation of the command-line reference or the man page. +This file contains a list of all translations of the more information link template from +[set-more-info-link.py](https://github.com/tldr-pages/tldr/blob/main/scripts/set-more-info-link.py#L66-L102). +The templates can be changed when necessary, but if so, it needs to be updated here and in the [Python-script](https://github.com/tldr-pages/tldr/blob/main/scripts/set-more-info-link.py#L66-L102). + +[en](#en) • +[ar](#ar) • +[bn](#bn) • +[bs](#bs) • +[ca](#ca) • +[cs](#cs) • +[da](#da) • +[de](#de) • +[es](#es) • +[fa](#fa) • +[fi](#fi) • +[fr](#fr) • +[hi](#hi) • +[id](#id) • +[it](#it) • +[ja](#ja) • +[ko](#ko) • +[lo](#lo) • +[ml](#ml) • +[ne](#ne) • +[nl](#nl) • +[no](#no) • +[pl](#pl) • +[pt_BR](#pt_br) • +[pt_PT](#pt_pt) • +[ro](#ro) • +[ru](#ru) • +[sh](#sh) • +[sr](#sr) • +[sv](#sv) • +[ta](#ta) • +[th](#th) • +[tr](#tr) • +[uk](#uk) • +[uz](#uz) • +[zh](#zh) • +[zh_TW](#zh_tw) + +--- + +### en + +```markdown +> More information: . +``` + +--- + +### ar + +```markdown +> لمزيد من التفاصيل: . +``` + +--- + +### bn + +```markdown +> আরও তথ্য পাবেন: । +``` + +--- + +### bs + +```markdown +> Više informacija: . +``` + +--- + +### ca + +```markdown +> Més informació: . +``` + +--- + +### cs + +```markdown +> Více informací: . +``` + +--- + +### da + +```markdown +> Mere information: . +``` + +--- + +### de + +```markdown +> Weitere Informationen: . +``` + +--- + +### es + +```markdown +> Más información: . +``` + +--- + +### fa + +```markdown +> اطلاعات بیشتر: . +``` + +--- + +### fi + +```markdown +> Lisätietoa: . +``` + +--- + +### fr + +```markdown +> Plus d'informations : . +``` + +--- + +### hi + +```markdown +> अधिक जानकारी: । +``` + +--- + +### id + +```markdown +> Informasi lebih lanjut: . +``` + +--- + +### it + +```markdown +> Maggiori informazioni: . +``` + +--- + +### ja + +```markdown +> もっと詳しく: 。 +``` + +--- + +### ko + +```markdown +> 더 많은 정보: . +``` + +--- + +### lo + +```markdown +> ຂໍ້ມູນເພີ່ມເຕີມ: . +``` + +--- + +### ml + +```markdown +> കൂടുതൽ വിവരങ്ങൾ: . +``` + +--- + +### ne + +```markdown +> थप जानकारी: । +``` + +--- + +### nl + +```markdown +> Meer informatie: . +``` + +--- + +### no + +```markdown +> Mer informasjon: . +``` + +--- + +### pl + +```markdown +> Więcej informacji: . +``` + +--- + +### pt_BR + +```markdown +> Mais informações: . +``` + +--- + +### pt_PT + +```markdown +> Mais informações: . +``` + +--- + +### ro + +```markdown +> Mai multe informații: . +``` + +--- + +### ru + +```markdown +> Больше информации: . +``` + +--- + +### sh + +```markdown +> Više informacija: . +``` + +--- + +### sr + +```markdown +> Više informacija na: . +``` + +--- + +### sv + +```markdown +> Mer information: . +``` + +--- + +### ta + +```markdown +> மேலும் விவரத்திற்கு: . +``` + +--- + +### th + +```markdown +> ข้อมูลเพิ่มเติม: +``` + +--- + +### tr + +```markdown +> Daha fazla bilgi için: . +``` + +--- + +### uk + +```markdown +> Більше інформації: . +``` + +--- + +### uz + +```markdown +> Ko'proq malumot: . +``` + +--- + +### zh + +```markdown +> 更多信息:. +``` + +--- + +### zh_TW + +```markdown +> 更多資訊:. +``` + +--- diff --git a/contributing-guides/translation-templates/subcommand-mention.md b/contributing-guides/translation-templates/subcommand-mention.md new file mode 100644 index 00000000000000..f71b111e60b3c5 --- /dev/null +++ b/contributing-guides/translation-templates/subcommand-mention.md @@ -0,0 +1,341 @@ +# Mentioning sub-commands + +When a command has a sub-command, which can't be covered in the original page, it gets its own page. +An example for this is `git` and it's sub-command pages like `git-commit`, `git-push`, etc. +In order to notify the user that such sub-command pages exist, we put a little notice in the base command's description. +This file contains the translation templates of this notice. + +[en](#en) • +[ar](#ar) • +[bn](#bn) • +[bs](#bs) • +[ca](#ca) • +[cs](#cs) • +[da](#da) • +[de](#de) • +[es](#es) • +[fa](#fa) • +[fi](#fi) • +[fr](#fr) • +[hi](#hi) • +[id](#id) • +[it](#it) • +[ja](#ja) • +[ko](#ko) • +[lo](#lo) • +[ml](#ml) • +[ne](#ne) • +[nl](#nl) • +[no](#no) • +[pl](#pl) • +[pt_BR](#pt_br) • +[pt_PT](#pt_pt) • +[ro](#ro) • +[ru](#ru) • +[sh](#sh) • +[sr](#sr) • +[sv](#sv) • +[ta](#ta) • +[th](#th) • +[tr](#tr) • +[uk](#uk) • +[uz](#uz) • +[zh](#zh) • +[zh_TW](#zh_tw) + +--- + +### en + +```markdown +Some subcommands such as `example command` have their own usage documentation. +``` + +--- + +### ar + +```markdown +بعض الأوامر الفرعية لديها توثيقات الاستخدام الخاصة بها مثل: `example command` +``` + +--- + +### bn + +```markdown +কিছু উপ-কমান্ড যেমন `example command` স্বতন্ত্র ব্যবহার নির্দেশনা রয়েছে. +``` + +--- + +### bs + +```markdown +Neke podnaredbe kao što je `example command` imaju vlastitu dokumentaciju o korištenju. +``` + +--- + +### ca + +```markdown +Alguns subcomandaments com `example command` tenen la seva pròpia documentació. +``` + +--- + +### cs + +```markdown +Některé dílčí příkazy jako je `example command` mají svou vlastní dokumentaci. +``` + +--- + +### da + +```markdown +Visse underkommandoer såsom `example command` har sin egen dokumentation. +``` + +--- + +### de + +```markdown +Manche Unterbefehle wie `example command` sind separat dokumentiert. +``` + +--- + +### es + +```markdown +Algunos subcomandos, como `example command`, tienen su propia documentación de uso. +``` + +--- + +### fa + +```markdown +برخی از دستورات فرعی مانند `example command` سند استفاده خاص خودشون رو دارند. +``` + +--- + +### fi + +```markdown +Joillakin alikomennoilla, kuten `example command`, on omat käyttöoppaansa. +``` + +--- + +### fr + +```markdown +Certaines sous-commandes comme `example command` ont leur propre documentation. +``` + +--- + +### hi + +```markdown +कुछ कमांड्स जैसे की `example command`, उनके अपने उपयोग प्रलेखन हैं| +``` + +--- + +### id + +```markdown +Beberapa subperintah seperti `example command` mempunyai dokumentasi terpisah. +``` + +--- + +### it + +```markdown +Alcuni comandi aggiuntivi, come `example command`, hanno la propria documentazione. +``` + +--- + +### ja + +```markdown +`example command` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +``` + +--- + +### ko + +```markdown +`example command`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +``` + +--- + +### lo + +```markdown +ບາງຄໍາສັ່ງຍ່ອຍເຊັ່ນ `example command` ມີເອກະສານການນໍາໃຊ້ຂອງຕົນເອງ. +``` + +--- + +### ml + +```markdown +`example command` പോലുള്ള ചില ഉപകമാൻഡുകൾക്ക് അവരുടേതായ ഉപയോഗ ഡോക്യുമെന്റേഷൻ ഉണ്ട്. +``` + +--- + +### ne + +```markdown +केही उपादेशहरु जस्तै `example command` को आफ्नै प्रयोग कागजात हुन्छ। +``` + +--- + +### nl + +```markdown +Sommige subcommando's zoals `example command` hebben een eigen documentatie pagina. +``` + +--- + +### no + +```markdown +Noen underkommandoer som `example command` har sin egen bruksdokumentasjon. +``` + +--- + +### pl + +```markdown +Niektóre podkomendy takie jak `example command` mają osobną dokumentację. +``` + +--- + +### pt_BR + +```markdown +Alguns subcomandos como `example command` têm sua própria documentação de uso. +``` + +--- + +### pt_PT + +```markdown +Alguns subcomandos, como `example command`, tem a sua própria documentação de uso. +``` + +--- + +### ro + +```markdown +Unele subcomenzi precum `example command` au propria lor documentație de utilizare. +``` + +--- + +### ru + +```markdown +Некоторые подкоманды, такие как `example command`, имеют собственную документацию по использованию. +``` + +--- + +### sh + +```markdown +Neke podkomande, kao što je `example command`, imaju svoju dokumentaciju za upotrebu. + +``` + +--- + +### sr + +```markdown +Неке подкоманде као што је `example command` имају своју документацију о коришћењу. +``` + +--- + +### sv + +```markdown +En del underkommandon som t.ex: `example command` har sin egen användningsdokumentation. +``` + +--- + +### ta + +```markdown +`example command` போன்ற சிலச் சார்கட்டளைகளுக்குத் தனிப் பக்கம் உள்ளது. +``` + +--- + +### th + +```markdown +คำสั่งย่อยบางคำสั่ง เช่น `example command` มีเอกสารการใช้งานของตัวเอง +``` + +--- + +### tr + +```markdown +`example command` gibi bazı alt komutların kendi kullanım belgeleri vardır. +``` + +--- + +### uk + +```markdown +Певна підкоманда, як от `example command`, що має свою власну документацію. +``` + +--- + +### uz + +```markdown +`example command` kabi baʼzi kichik buyruqlar oʻzlarining foydalanish hujjatlariga ega. +``` + +--- + +### zh + +```markdown +此命令也有关于其子命令的文件,例如:`example command`. +``` + +--- + +### zh_TW + +```markdown +此命令也有關於其子命令的文件,例如:`example command`. +``` diff --git a/images/SometypeMono-Medium.ttf b/images/SometypeMono-Medium.ttf new file mode 100644 index 00000000000000..483784632ff05c Binary files /dev/null and b/images/SometypeMono-Medium.ttf differ diff --git a/images/banner-light.png b/images/banner-light.png deleted file mode 100644 index 47031391f70e02..00000000000000 Binary files a/images/banner-light.png and /dev/null differ diff --git a/images/banner.png b/images/banner.png index e4542f813179da..f00a77b110b8fb 100644 Binary files a/images/banner.png and b/images/banner.png differ diff --git a/images/banner.svg b/images/banner.svg index b795640da4a80e..dbfa15a226ac30 100644 --- a/images/banner.svg +++ b/images/banner.svg @@ -1,13 +1,21 @@ - - - - - - - - - - - - - - - - - $_ - - - - - - tldr-pages - - - collaborative cheatsheets for console commands - - + ]]> + + + + + + + $_ + + + + tldr-pages + + + diff --git a/images/commit-suggestion-button.png b/images/commit-suggestion-button.png new file mode 100644 index 00000000000000..712a374c1dabaf Binary files /dev/null and b/images/commit-suggestion-button.png differ diff --git a/images/github-fetch-and-merge-button.png b/images/github-fetch-and-merge-button.png new file mode 100644 index 00000000000000..5e60d1ee404770 Binary files /dev/null and b/images/github-fetch-and-merge-button.png differ diff --git a/images/screenshot.png b/images/screenshot.png deleted file mode 100644 index 79c34ee4b639d0..00000000000000 Binary files a/images/screenshot.png and /dev/null differ diff --git a/images/tldr-dark.png b/images/tldr-dark.png new file mode 100644 index 00000000000000..a68ff580349cdb Binary files /dev/null and b/images/tldr-dark.png differ diff --git a/images/tldr-light.png b/images/tldr-light.png new file mode 100644 index 00000000000000..052159deb051d8 Binary files /dev/null and b/images/tldr-light.png differ diff --git a/package-lock.json b/package-lock.json index 7020c865a4841f..d5a804ac0bad8f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,780 +1,1475 @@ { + "name": "tldr-pages", + "lockfileVersion": 3, "requires": true, - "lockfileVersion": 1, - "dependencies": { - "@babel/code-frame": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", - "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", - "requires": { - "@babel/highlight": "^7.0.0" - } - }, - "@babel/highlight": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", - "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^4.0.0" - } - }, - "@types/normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==" - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "caller-callsite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", - "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", - "requires": { - "callsites": "^2.0.0" + "packages": { + "": { + "name": "tldr-pages", + "license": "SEE LICENSE IN LICENSE.md", + "dependencies": { + "glob": "11.0.3", + "markdownlint-cli": "^0.45.0", + "tldr-lint": "^0.0.20" + }, + "devDependencies": { + "husky": "^9.1.7" } }, - "caller-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", - "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", - "requires": { - "caller-callsite": "^2.0.0" + "node_modules/@isaacs/balanced-match": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", + "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", + "license": "MIT", + "engines": { + "node": "20 || >=22" } }, - "callsites": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", - "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=" + "node_modules/@isaacs/brace-expansion": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", + "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "license": "MIT", + "dependencies": { + "@isaacs/balanced-match": "^4.0.1" + }, + "engines": { + "node": "20 || >=22" + } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" } }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "commander": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", - "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", - "requires": { - "graceful-readlink": ">= 1.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", - "requires": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" - } - }, - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "deep-extend": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz", - "integrity": "sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w==" - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "requires": { - "once": "^1.4.0" - } - }, - "entities": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.0.tgz", - "integrity": "sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==" + "node_modules/@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "requires": { - "is-arrayish": "^0.2.1" + "node_modules/@types/katex": { + "version": "0.16.7", + "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.7.tgz", + "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==", + "license": "MIT" + }, + "node_modules/@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "license": "MIT" + }, + "node_modules/@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "license": "MIT" + }, + "node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" - }, - "execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - } - }, - "find-up": { + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "requires": { - "locate-path": "^3.0.0" + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "node_modules/character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } }, - "get-stdin": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", - "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==" + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } }, - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "requires": { - "pump": "^3.0.0" - } - }, - "glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "graceful-readlink": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=" + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/commander": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", + "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==", + "license": "MIT", + "engines": { + "node": ">=18" + } }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "hosted-git-info": { - "version": "2.8.5", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz", - "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==" - }, - "husky": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/husky/-/husky-2.7.0.tgz", - "integrity": "sha512-LIi8zzT6PyFpcYKdvWRCn/8X+6SuG2TgYYMrM6ckEYhlp44UcEduVymZGIZNLiwOUjrEud+78w/AsAiqJA/kRg==", - "requires": { - "cosmiconfig": "^5.2.0", - "execa": "^1.0.0", - "find-up": "^3.0.0", - "get-stdin": "^7.0.0", - "is-ci": "^2.0.0", - "pkg-dir": "^4.1.0", - "please-upgrade-node": "^3.1.1", - "read-pkg": "^5.1.1", - "run-node": "^1.0.0", - "slash": "^3.0.0" - } - }, - "import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", - "requires": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "requires": { - "ci-info": "^2.0.0" + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" } }, - "is-directory": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", - "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=" + "node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decode-named-character-reference": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.2.0.tgz", + "integrity": "sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==", + "license": "MIT", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } }, - "is-stream": { + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/devlop": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "license": "MIT", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "license": "MIT" + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "license": "MIT" }, - "isexe": { + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz", + "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==", + "license": "ISC", + "dependencies": { + "foreground-child": "^3.3.1", + "jackspeak": "^4.1.1", + "minimatch": "^10.0.3", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/husky": { + "version": "9.1.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", + "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", + "dev": true, + "license": "MIT", + "bin": { + "husky": "bin.js" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + }, + "node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/ini": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", + "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "license": "MIT", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/jackspeak": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz", + "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "license": "MIT" + }, + "node_modules/jsonpointer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } }, - "js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "node_modules/katex": { + "version": "0.16.22", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.22.tgz", + "integrity": "sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^8.3.0" + }, + "bin": { + "katex": "cli.js" } }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" + "node_modules/katex/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "license": "MIT", + "engines": { + "node": ">= 12" + } }, - "lines-and-columns": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" + "node_modules/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "license": "MIT", + "dependencies": { + "uc.micro": "^2.0.0" + } }, - "linkify-it": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", - "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", - "requires": { - "uc.micro": "^1.0.1" + "node_modules/lru-cache": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz", + "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==", + "license": "ISC", + "engines": { + "node": "20 || >=22" } }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" + "node_modules/markdown-it": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1", + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" + }, + "bin": { + "markdown-it": "bin/markdown-it.mjs" } }, - "lodash.differencewith": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.differencewith/-/lodash.differencewith-4.5.0.tgz", - "integrity": "sha1-uvr7yRi1UVTheRdqALsK76rIVLc=" - }, - "lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" - }, - "markdown-it": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", - "integrity": "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==", - "requires": { - "argparse": "^1.0.7", - "entities": "~2.0.0", - "linkify-it": "^2.0.0", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" - } - }, - "markdownlint": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.17.2.tgz", - "integrity": "sha512-vsxopn0qEdm0P2XI3S9sVA+jvjKjR8lHZ+0FKlusth+1UK9tI29mRFkKeZPERmbWsMehJcogfMieBUkMgNEFkQ==", - "requires": { - "markdown-it": "10.0.0" - } - }, - "markdownlint-cli": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.19.0.tgz", - "integrity": "sha512-5hUEBAmbCVJflws6841HJ0KTZdgGWYaPThoXPI6Wjn1VkoiYWsprNH0r3PvPmyGXtvbHJ7/7eGPde2a6cx8t0w==", - "requires": { - "commander": "~2.9.0", - "deep-extend": "~0.5.1", - "get-stdin": "~5.0.1", - "glob": "~7.1.2", - "js-yaml": "^3.13.1", - "lodash.differencewith": "~4.5.0", - "lodash.flatten": "~4.4.0", - "markdownlint": "~0.17.1", - "markdownlint-rule-helpers": "~0.5.0", - "minimatch": "~3.0.4", - "rc": "~1.2.7" - }, - "dependencies": { - "get-stdin": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", - "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=" + "node_modules/markdownlint": { + "version": "0.38.0", + "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.38.0.tgz", + "integrity": "sha512-xaSxkaU7wY/0852zGApM8LdlIfGCW8ETZ0Rr62IQtAnUMlMuifsg09vWJcNYeL4f0anvr8Vo4ZQar8jGpV0btQ==", + "license": "MIT", + "dependencies": { + "micromark": "4.0.2", + "micromark-core-commonmark": "2.0.3", + "micromark-extension-directive": "4.0.0", + "micromark-extension-gfm-autolink-literal": "2.1.0", + "micromark-extension-gfm-footnote": "2.1.0", + "micromark-extension-gfm-table": "2.1.1", + "micromark-extension-math": "3.1.0", + "micromark-util-types": "2.0.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/DavidAnson" + } + }, + "node_modules/markdownlint-cli": { + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.45.0.tgz", + "integrity": "sha512-GiWr7GfJLVfcopL3t3pLumXCYs8sgWppjIA1F/Cc3zIMgD3tmkpyZ1xkm1Tej8mw53B93JsDjgA3KOftuYcfOw==", + "license": "MIT", + "dependencies": { + "commander": "~13.1.0", + "glob": "~11.0.2", + "ignore": "~7.0.4", + "js-yaml": "~4.1.0", + "jsonc-parser": "~3.3.1", + "jsonpointer": "~5.0.1", + "markdown-it": "~14.1.0", + "markdownlint": "~0.38.0", + "minimatch": "~10.0.1", + "run-con": "~1.3.2", + "smol-toml": "~1.3.4" + }, + "bin": { + "markdownlint": "markdownlint.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", + "license": "MIT" + }, + "node_modules/micromark": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz", + "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" } + ], + "license": "MIT", + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" } }, - "markdownlint-rule-helpers": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/markdownlint-rule-helpers/-/markdownlint-rule-helpers-0.5.0.tgz", - "integrity": "sha512-6bJAV4TjUoDDnqxfb6EKTuZlpYI6vn4kerid7WTrZaEjsWuYDeYDAN+r4o+vbUYFZfJkiBU7NPBqPd4QJ1CZzQ==" + "node_modules/micromark-core-commonmark": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz", + "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } }, - "mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=" - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "requires": { - "path-key": "^2.0.0" + "node_modules/micromark-extension-directive": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-directive/-/micromark-extension-directive-4.0.0.tgz", + "integrity": "sha512-/C2nqVmXXmiseSSuCdItCMho7ybwwop6RrrRPk0KbOHW21JKoCldC+8rFOaundDoRBUWBnJJcxeA/Kvi34WQXg==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "parse-entities": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" } }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" } }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } }, - "p-limit": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.1.tgz", - "integrity": "sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==", - "requires": { - "p-try": "^2.0.0" + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz", + "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" } }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "requires": { - "p-limit": "^2.0.0" + "node_modules/micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "license": "MIT", + "dependencies": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" } }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" } }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" + "node_modules/micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } }, - "path-key": { + "node_modules/micromark-factory-whitespace": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" - }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "requires": { - "find-up": "^4.0.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "requires": { - "p-locate": "^4.1.0" - } + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "requires": { - "p-limit": "^2.2.0" - } + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" } }, - "please-upgrade-node": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", - "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", - "requires": { - "semver-compare": "^1.0.0" + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" } }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" } }, - "rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", "dependencies": { - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" } + ], + "license": "MIT" + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" } }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "parse-json": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", - "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1", - "lines-and-columns": "^1.1.6" - } + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" } }, - "resolve": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.13.1.tgz", - "integrity": "sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w==", - "requires": { - "path-parse": "^1.0.6" + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" } }, - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=" + "node_modules/micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } }, - "run-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz", - "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==" + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "node_modules/micromark-util-types": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz", + "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/minimatch": { + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", + "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", + "license": "ISC", + "dependencies": { + "@isaacs/brace-expansion": "^5.0.0" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, - "semver-compare": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=" + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "requires": { - "shebang-regex": "^1.0.0" + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" } }, - "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" }, - "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "license": "BlueOak-1.0.0" + }, + "node_modules/parse-entities": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", + "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } }, - "spdx-correct": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", - "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" + "node_modules/path-scurry": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", + "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "spdx-exceptions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", - "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==" + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "license": "MIT", + "engines": { + "node": ">=6" + } }, - "spdx-expression-parse": { + "node_modules/run-con": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/run-con/-/run-con-1.3.2.tgz", + "integrity": "sha512-CcfE+mYiTcKEzg0IqS08+efdnH0oJ3zV0wSUFBNrMHMuxCtXvBCLzCJHatwuXDcu/RlhjTziTo/a1ruQik6/Yg==", + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~4.1.0", + "minimist": "^1.2.8", + "strip-json-comments": "~3.1.1" + }, + "bin": { + "run-con": "cli.js" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", - "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" } }, - "spdx-license-ids": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", - "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==" + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + "node_modules/smol-toml": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.3.4.tgz", + "integrity": "sha512-UOPtVuYkzYGee0Bd2Szz8d2G3RfMfJ2t3qVdZUAozZyAk+a0Sxa+QKix0YCwjL/A1RR0ar44nCxaoN9FxdJGwA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">= 18" + }, + "funding": { + "url": "https://github.com/sponsors/cyyynthia" + } }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" } }, - "tldr-lint": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.9.tgz", - "integrity": "sha512-Pc+ICLLZqRTNMEHQPOFH0MH2YW5hjK1RueRGVF3ZUe7MfRCJ+R0kfGMNKTHKG9hwH9WCsBrmpP1E1CgZiKGD9A==", - "requires": { - "commander": "^6.1.0" + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { - "commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==" - } + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" } }, - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" - }, - "uc.micro": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "requires": { + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tldr-lint": { + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.20.tgz", + "integrity": "sha512-AxBgoUqx/mLD3So2ALhGaY9rfOo2ZaMih35GqTEe6QWf1zkNEhM7yijnPpuRUj7RTwSZaMKHhEJUeNDbYy51Pw==", + "license": "MIT", + "dependencies": { + "commander": "^14.0.0" + }, + "bin": { + "tldr-lint": "lib/tldr-lint-cli.js", + "tldrl": "lib/tldr-lint-cli.js" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "type": "liberapay", + "url": "https://liberapay.com/tldr-pages" + } + }, + "node_modules/tldr-lint/node_modules/commander": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.0.tgz", + "integrity": "sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==", + "license": "MIT", + "engines": { + "node": ">=20" + } + }, + "node_modules/uc.micro": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", + "license": "MIT" + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } } } } diff --git a/package.json b/package.json index 08152176050eab..ca6ed722bc6fa7 100644 --- a/package.json +++ b/package.json @@ -1,25 +1,24 @@ { + "name": "tldr-pages", "description": "Simplified and community-driven man pages", "author": "Romain Prieto", "license": "SEE LICENSE IN LICENSE.md", "repository": "tldr-pages/tldr", "homepage": "https://tldr.sh/", "dependencies": { - "glob": "7.1.3", - "husky": "^2.2.0", - "markdownlint-cli": "0.19.0", - "tldr-lint": "~0.0.9" + "glob": "11.0.3", + "markdownlint-cli": "^0.45.0", + "tldr-lint": "^0.0.20" + }, + "devDependencies": { + "husky": "^9.1.7" }, "scripts": { "lint-markdown": "markdownlint pages*/**/*.md", "lint-tldr-pages": "tldr-lint ./pages", "test": "bash scripts/test.sh", - "build-index": "node ./scripts/build-index.js > index.json" - }, - "husky": { - "hooks": { - "pre-commit": "npm test" - } + "build-index": "node ./scripts/build-index.js > index.json", + "prepare": "husky" }, "private": true } diff --git a/pages.ar/android/am.md b/pages.ar/android/am.md new file mode 100644 index 00000000000000..01cba66554fb43 --- /dev/null +++ b/pages.ar/android/am.md @@ -0,0 +1,20 @@ +# am + +> مدير الأنشطة في أندرويد. +> لمزيد من التفاصيل: . + +- ابدأ نشاطا بتحديد اسم الحزمة/المكوّن بالكامل: + +`am start -n {{com.android.settings/.Settings}}` + +- ابدأ فعلا (action) ومرّر بيانات (data) له: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- ابدأ نشاطا يطابق فعلا (action) وفئة (category) معيّنة: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- حوّل Intent إلى URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.ar/common/$.md b/pages.ar/common/$.md new file mode 100644 index 00000000000000..448db62eab6083 --- /dev/null +++ b/pages.ar/common/$.md @@ -0,0 +1,32 @@ +# $ + +> توسِّع متغيرات Bash. +> لمزيد من التفاصيل: . + +- طباعة قيمة متغير: + +`echo ${{VARIABLE}}` + +- طباعة حالة الخروج للأمر السابق: + +`echo $?` + +- طباعة رقم عشوائي بين 0 و 32767: + +`echo $RANDOM` + +- طباعة أحد سلاسل المطالبة (Prompt Strings): + +`echo ${{PS0|PS1|PS2|PS3|PS4}}` + +- تنفيذ الأمر بعد توسيعه، وهو نفس تشغيله باستخدام backticks: + +`$({{command}})` + +- عرض عدد الوسائط في السياق الحالي: + +`echo $#` + +- طباعة جميع عناصر مصفوفة Bash: + +`echo ${array[@]}` diff --git a/pages.ar/common/%.md b/pages.ar/common/%.md new file mode 100644 index 00000000000000..8729c8f6304d0c --- /dev/null +++ b/pages.ar/common/%.md @@ -0,0 +1,28 @@ +# % + +> إدارة الوظائف (Jobs). +> لمزيد من التفاصيل: . + +- استدعاء الوظيفة الحالية إلى المقدمة: + +`%` + +- استدعاء الوظيفة السابقة إلى المقدمة: + +`%-` + +- استدعاء الوظيفة ذات الرقم `N` إلى المقدمة: + +`%{{N}}` + +- استدعاء الوظيفة التي يبدأ أمرها بـ `string` إلى المقدمة: + +`%{{string}}` + +- استدعاء الوظيفة التي يحتوي أمرها على `string` إلى المقدمة: + +`%?{{string}}` + +- استئناف وظيفة معلقة: + +`%{{1}} &` diff --git a/pages.ar/common/7z.md b/pages.ar/common/7z.md new file mode 100644 index 00000000000000..7832da530dd72a --- /dev/null +++ b/pages.ar/common/7z.md @@ -0,0 +1,36 @@ +# 7z + +> أداة أرشفة الملفات بنسبة ضغط عالية. +> لمزيد من التفاصيل: . + +- [a]إضافة ملف أو مجلد إلى أرشيف جديد أو موجود مسبقًا: + +`7z a {{path/to/archive.7z}} {{path/to/file_or_directory}}` + +- تشفير أرشيف موجود (بما في ذلك أسماء الملفات): + +`7z a {{path/to/encrypted.7z}} -p{{password}} -mhe=on {{path/to/archive.7z}}` + +- فك [x]ضغط أرشيف مع الحفاظ على هيكل المجلد الأصلي: + +`7z x {{path/to/archive.7z}}` + +- فك [x]ضغط أرشيف إلى مجلد محدد: + +`7z x {{path/to/archive.7z}} -o{{path/to/output}}` + +- فك [x]ضغط أرشيف إلى `stdout`: + +`7z x {{path/to/archive.7z}} -so` + +- إنشاء أرشيف باستخدام نوع ضغط محدد: + +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{path/to/archive}} {{path/to/file_or_directory}}` + +- عرض[l] محتويات أرشيف: + +`7z l {{path/to/archive.7z}}` + +- تحديد مستوى الضغط (مستوى أعلى يعني ضغط أكثر، ولكنه أبطأ): + +`7z a {{path/to/archive.7z}} -mx={{0|1|3|5|7|9}} {{path/to/file_or_directory}}` diff --git a/pages.ar/common/arp.md b/pages.ar/common/arp.md new file mode 100644 index 00000000000000..0cd84136abcfa7 --- /dev/null +++ b/pages.ar/common/arp.md @@ -0,0 +1,16 @@ +# arp + +> عرض وإدارة ذاكرة التخزين المؤقت لـ ARP في النظام. +> لمزيد من التفاصيل: . + +- عرض جدول ARP الحالي: + +`arp -a` + +- حذف إدخال معين: + +`arp -d {{address}}` + +- إضافة إدخال جديد إلى جدول ARP: + +`arp -s {{address}} {{mac_address}}` diff --git a/pages.ar/common/cat.md b/pages.ar/common/cat.md new file mode 100644 index 00000000000000..0980b45bf96611 --- /dev/null +++ b/pages.ar/common/cat.md @@ -0,0 +1,24 @@ +# cat + +> طباعة وسلسلة الملفات. +> لمزيد من التفاصيل: . + +- طباعة محتوي ملف إلى `stdout`: + +`cat {{path/to/file}}` + +- دمج عدة ملفات في ملف إخراج: + +`cat {{path/to/file1 path/to/file2 ...}} > {{path/to/output_file}}` + +- إلحاق عدة ملفات بملف إخراج: + +`cat {{path/to/file1 path/to/file2 ...}} >> {{path/to/output_file}}` + +- نسخ محتويات ملف إلى ملف إخراج دون استخدام الذاكرة المؤقتة: + +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` + +- كتابة `stdin` إلى ملف: + +`cat - > {{path/to/file}}` diff --git a/pages.ar/common/cd.md b/pages.ar/common/cd.md new file mode 100644 index 00000000000000..0082e70366488b --- /dev/null +++ b/pages.ar/common/cd.md @@ -0,0 +1,28 @@ +# cd + +> تغيير مجلد العمل الحالي. +> لمزيد من التفاصيل: + +- اللانتقال إلى المجلد المذكور: + +`cd {{path/to/directory}}` + +- اللانتقال إلى المجلد الأعلى للمجلد الحالي: + +`cd ..` + +- الانتقال إلى المجلد الرئيسي للمستخدم الحالي: + +`cd` + +- الانتقال إلى المجلد الرئيسي للمستخدم المذكور: + +`cd ~{{username}}` + +- الانتقال إلى المجلد الذي تم اختياره سابقًا: + +`cd -` + +- الانتقال إلى مجلد الجذر: + +`cd /` diff --git a/pages.ar/common/chisel.md b/pages.ar/common/chisel.md new file mode 100644 index 00000000000000..89f0c73cc9700e --- /dev/null +++ b/pages.ar/common/chisel.md @@ -0,0 +1,37 @@ +# chisel + +> إنشاء أنفاق TCP/UDP، يتم نقلها عبر HTTP، وتأمينها عبر SSH. +> يتضمن كل من العميل والخادم في نفس الملف التنفيذي `chisel`. +> لمزيد من التفاصيل: . + +- تشغيل خادم Chisel: + +`chisel server` + +- تشغيل خادم Chisel يستمع إلى منفذ محدد: + +`chisel server {{[-p|--port]}} {{server_port}}` + +- تشغيل خادم Chisel يقبل الاتصالات المصادق عليها باستخدام اسم المستخدم وكلمة المرور: + +`chisel server --auth {{username}}:{{password}}` + +- الاتصال بخادم Chisel وإنشاء نفق لمنفذ محدد إلى خادم طرف ثالث ومنفذ: + +`chisel client {{server_ip}}:{{server_port}} {{local_port}}:{{remote_server}}:{{remote_port}}` + +- الاتصال بخادم Chisel وإنشاء نفق لجهاز ومنفذ محددين إلى خادم طرف ثالث ومنفذ: + +`chisel client {{server_ip}}:{{server_port}} {{local_host}}:{{local_port}}:{{remote_server}}:{{remote_port}}` + +- الاتصال بخادم Chisel باستخدام المصادقة باسم المستخدم وكلمة المرور: + +`chisel client --auth {{username}}:{{password}} {{server_ip}}:{{server_port}} {{local_port}}:{{remote_server}}:{{remote_port}}` + +- تهيئة خادم Chisel في الوضع العكسي على منفذ محدد، مع تمكين وظيفة وكيل SOCKS5 (على المنفذ 1080): + +`chisel server {{[-p|--port]}} {{server_port}} --reverse --socks5` + +- الاتصال بخادم Chisel على عنوان IP ومنفذ محددين، وإنشاء نفق عكسي يتم تعيينه إلى وكيل SOCKS محلي: + +`chisel client {{server_ip}}:{{server_port}} R:socks` diff --git a/pages.ar/common/cut.md b/pages.ar/common/cut.md new file mode 100644 index 00000000000000..597be424903f28 --- /dev/null +++ b/pages.ar/common/cut.md @@ -0,0 +1,20 @@ +# cut + +> استخراج حقول من `stdin` أو من الملفات. +> لمزيد من التفاصيل: . + +- طباعة نطاق [c]حرف/[f]حقل محدد من كل سطر: + +`{{command}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}` + +- طباعة نطاق [f]حقل محدد من كل سطر باستخدام [d]فاصل معين: + +`{{command}} | cut --delimiter "{{,}}" --fields {{1}}` + +- طباعة نطاق [c]حرف معين من كل سطر في ملف محدد: + +`cut --characters {{1}} {{path/to/file}}` + +- طباعة [f]حقول محددة من أسطر منتهية بـ `NUL` (مثل الناتج من `find . -print0`) بدلاً من أسطر جديدة: + +`{{command}} | cut --zero-terminated --fields {{1}}` diff --git a/pages.ar/common/dhclient.md b/pages.ar/common/dhclient.md new file mode 100644 index 00000000000000..98933f6ab517fb --- /dev/null +++ b/pages.ar/common/dhclient.md @@ -0,0 +1,12 @@ +# dhclient + +> عميل DHCP. +> لمزيد من التفاصيل: . + +- الحصول على عنوان IP لواجهة `eth0`: + +`sudo dhclient {{eth0}}` + +- تحرير عنوان IP لواجهة `eth0`: + +`sudo dhclient -r {{eth0}}` diff --git a/pages.ar/common/doppler.md b/pages.ar/common/doppler.md new file mode 100644 index 00000000000000..f2ab0d6ba64b8d --- /dev/null +++ b/pages.ar/common/doppler.md @@ -0,0 +1,29 @@ +# doppler + +> إدارة المتغيرات البيئية عبر بيئات مختلفة باستخدام Doppler. +> بعض الأوامر الفرعية مثل `run` و `secrets` تحتوي على وثائق استخدام خاصة بها. +> لمزيد من التفاصيل: . + +- إعداد Doppler CLI في الدليل الحالي: + +`doppler setup` + +- إعداد مشروع Doppler والتكوين في الدليل الحالي: + +`doppler setup` + +- تشغيل أمر مع حقن الأسرار في البيئة: + +`doppler run --command {{command}}` + +- عرض قائمة المشاريع الخاصة بك: + +`doppler projects` + +- عرض الأسرار للمشروع الحالي: + +`doppler secrets` + +- فتح لوحة تحكم Doppler في المتصفح: + +`doppler open` diff --git a/pages.ar/common/du.md b/pages.ar/common/du.md new file mode 100644 index 00000000000000..b87927edcb5df0 --- /dev/null +++ b/pages.ar/common/du.md @@ -0,0 +1,32 @@ +# du + +> استخدام القرص: تقدير وتلخيص استخدام مساحة الملفات والمُجَلَّدات. +> لمزيد من التفاصيل: . + +- عرض أحجام مُجَلَّد معين وجميع المُجَلَّدات الفرعية، بوحدة معينة (B/KiB/MiB): + +`du -{{b|k|m}} {{path/to/directory}}` + +- عرض أحجام مُجَلَّد معين وجميع المُجَلَّدات الفرعية بصيغة قابلة للقراءة (أي اختيار الوحدة المناسبة تلقائيًا لكل حجم): + +`du {{[-h|--human-readable]}} {{path/to/directory}}` + +- عرض حجم مُجَلَّد معين فقط، بوحدات قابلة للقراءة: + +`du {{[-sh|--summarize --human-readable]}} {{path/to/directory}}` + +- عرض الأحجام القابلة للقراءة لمُجَلَّد معين وجميع الملفات والمُجَلَّدات داخله: + +`du {{[-ah|--all --human-readable]}} {{path/to/directory}}` + +- عرض الأحجام القابلة للقراءة لمُجَلَّد معين والمُجَلَّدات الفرعية حتى عمق N مستويات: + +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{path/to/directory}}` + +- عرض الحجم القابل للقراءة لجميع ملفات `.jpg` في المُجَلَّد الحالي، مع إظهار المجموع الكلي في النهاية: + +`du {{[-ch|--total --human-readable]}} {{./*.jpg}}` + +- عرض جميع الملفات والمُجَلَّدات (بما في ذلك المخفية) التي تتجاوز حدًا معينًا من الحجم (مفيد لمعرفة ما يستهلك المساحة): + +`du {{[-ah|--all --human-readable]}} {{[-t|--threshold]}} {{1G|1024M|1048576K}} .[^.]* *` diff --git a/pages.ar/common/fastmod.md b/pages.ar/common/fastmod.md new file mode 100644 index 00000000000000..b7baba4f2b94ee --- /dev/null +++ b/pages.ar/common/fastmod.md @@ -0,0 +1,29 @@ +# fastmod + +> أداة للاستبدال الجزئي للنصوص في قاعدة الأكواد لديك. +> التعبيرات النمطية يعالجها قفص من بضاعة رست وهو regex. +> لمزيد من التفاصيل: . + +- استبدال بالتعبيرات النمطية في كل ملفات المسار الحالي وأبنائه في الملفات غير المُتجاهلة بـ .ignore أو .gitignore: + +`fastmod {{regex_pattern}} {{replacement}}` + +- استبدال متجاهلا حالة الحرف في ملف أو في ملفات مسار: + +`fastmod --ignore-case {{regex_pattern}} {{replacement}} -- {{path/to/file path/to/directory ...}}` + +- استبدال بالتعبيرات النمطية مع تحديد المكان الذي يُستبدل فيه: + +`fastmod {{regex}} {{replacement}} --dir {{path/to/directory}} --iglob {{'**/*.{js,json}'}}` + +- استبدال بالنص مُطابقةً (وليس التعبيرات النمطية)، في ملفات امتداداتهم إما js أو JSON فحسب: + +`fastmod --fixed-strings {{exact_string}} {{replacement}} --extensions {{json,js}}` + +- استبدال بجميع النصوص مُطابقةً، مباشرة دون مِحَثِّ تأكيد (prompt): + +`fastmod --accept-all --fixed-strings {{exact_string}} {{replacement}}` + +- استبدال بجميع النصوص مُطابقةً، مباشرة دون تأكيد، مع طباعة الملفات المُستبدل فيها: + +`fastmod --accept-all --print-changed-files --fixed-strings {{exact_string}} {{replacement}}` diff --git a/pages.ar/common/ffmpeg.md b/pages.ar/common/ffmpeg.md new file mode 100644 index 00000000000000..9a9513bec233e0 --- /dev/null +++ b/pages.ar/common/ffmpeg.md @@ -0,0 +1,36 @@ +# ffmpeg + +> أداة لتحويل الفيديو. +> لمزيد من التفاصيل: . + +- استخراج الصوت من فيديو وحفظه بصيغة MP3: + +`ffmpeg -i {{path/to/video.mp4}} -vn {{path/to/sound.mp3}}` + +- تحويل ملف FLAC إلى تنسيق Red Book CD (‏44100kHz، ‏16bit): + +`ffmpeg -i {{path/to/input_audio.flac}} -ar 44100 -sample_fmt s16 {{path/to/output_audio.wav}}` + +- حفظ فيديو كـ GIF مع ضبط الارتفاع إلى 1000 بكسل ومعدل الإطارات إلى 15: + +`ffmpeg -i {{path/to/video.mp4}} {{[-vf|-filter:v]}} 'scale=-1:{{1000}}' -r {{15}} {{path/to/output.gif}}` + +- دمج صور مرقمة (`frame_1.jpg`، `frame_2.jpg`، ...) في فيديو أو GIF: + +`ffmpeg -i {{path/to/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` + +- قص مقطع فيديو من وقت بداية mm:ss إلى وقت نهاية mm2:ss2 (تجاهل -to للقص حتى النهاية): + +`ffmpeg -i {{path/to/input_video.mp4}} -ss {{mm:ss}} -to {{mm2:ss2}} {{[-c|-codec]}} copy {{path/to/output_video.mp4}}` + +- تحويل فيديو AVI إلى MP4 بصوت AAC بمعدل 128kbit وفيديو h264 بـ CRF 23: + +`ffmpeg -i {{path/to/input_video}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{path/to/output_video}}.mp4` + +- إعادة تغليف فيديو MKV إلى MP4 دون إعادة ترميز الصوت أو الفيديو: + +`ffmpeg -i {{path/to/input_video}}.mkv {{[-c|-codec]}} copy {{path/to/output_video}}.mp4` + +- تحويل فيديو MP4 إلى ترميز VP9 بأفضل جودة باستخدام قيمة CRF (النطاق الموصى به 15–35) وb:v=0: + +`ffmpeg -i {{path/to/input_video}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{number_of_threads}} {{path/to/output_video}}.webm` diff --git a/pages.ar/common/find.md b/pages.ar/common/find.md new file mode 100644 index 00000000000000..220eb1aef07535 --- /dev/null +++ b/pages.ar/common/find.md @@ -0,0 +1,36 @@ +# find + +> البحث عن الملفات أو المُجَلَّدات داخل فروع مُجَلَّد، بشكل متكرر. +> لمزيد من التفاصيل: . + +- البحث عن الملفات حسب الامتداد: + +`find {{root_path}} -name '{{*.ext}}'` + +- البحث عن الملفات المطابقة لأنماط مسار/اسم متعددة: + +`find {{root_path}} -path '{{*/path/*/*.ext}}' -or -name '{{*pattern*}}'` + +- البحث عن المُجَلَّدات المطابقة لاسم معين، مع تجاهل حالة الأحرف سواء أكانت صغيرة او كبيرة: + +`find {{root_path}} -type d -iname '{{*lib*}}'` + +- البحث عن الملفات المطابقة لنمط معين، مع استثناء مسارات محددة: + +`find {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- البحث عن الملفات التي تطابق نطاق حجم معين، مع تقييد العمق التكراري إلى "1": + +`find {{root_path}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- تنفيذ أمر لكل ملف (استخدم `{}` داخل الأمر للوصول إلى اسم الملف): + +`find {{root_path}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- البحث عن جميع الملفات المعدلة اليوم وتمرير النتائج إلى أمر واحد كوسيطات: + +`find {{root_path}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` + +- البحث عن الملفات أو المُجَلَّدات الفارغة وحذفها مع عرض التفاصيل: + +`find {{root_path}} -type {{f|d}} -empty -delete -print` diff --git a/pages.ar/common/fossil-ci.md b/pages.ar/common/fossil-ci.md new file mode 100644 index 00000000000000..50fb5798a243ab --- /dev/null +++ b/pages.ar/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> هذا الأمر هو اسم مستعار لـ `fossil commit`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr fossil commit` diff --git a/pages.ar/common/fossil-forget.md b/pages.ar/common/fossil-forget.md new file mode 100644 index 00000000000000..7605c9ccbd8725 --- /dev/null +++ b/pages.ar/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> هذا الأمر هو اسم مستعار لـ `fossil rm`. +> لمزيد من التفاصيل: . + +- إعرض التوثيقات للأمر الأصلي: + +`tldr fossil rm` diff --git a/pages.ar/common/fossil-new.md b/pages.ar/common/fossil-new.md new file mode 100644 index 00000000000000..241c62978fc3cd --- /dev/null +++ b/pages.ar/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> هذا الأمر هو اسم مستعار لـ `fossil init`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr fossil init` diff --git a/pages.ar/common/fossil-rm.md b/pages.ar/common/fossil-rm.md new file mode 100644 index 00000000000000..8bb923301a3502 --- /dev/null +++ b/pages.ar/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> هذا الأمر هو اسم مستعار لـ `fossil delete`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr fossil delete` diff --git a/pages.ar/common/ftp.md b/pages.ar/common/ftp.md new file mode 100644 index 00000000000000..c8b2b66dbc3f94 --- /dev/null +++ b/pages.ar/common/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> أدوات للتفاعل مع الخادم عبر بروتوكول نقل الملفات (FTP). +> لمزيد من التفاصيل: . + +- الاتصال بخادم FTP: + +`ftp {{ftp.example.com}}` + +- الاتصال بخادم FTP مع تحديد عنوان الـ IP والمنفذ: + +`ftp {{ip_address}} {{port}}` + +- التبديل إلى وضع النقل الثنائي (الرسوميات، الملفات المضغوطة، إلخ): + +`binary` + +- نقل عدة ملفات دون طلب تأكيد على كل ملف: + +`prompt off` + +- تنزيل عدة ملفات (تعليمات الكلمة العامة glob): + +`mget {{*.png}}` + +- رفع عدة ملفات (تعليمات الكلمة العامة glob): + +`mput {{*.zip}}` + +- حذف عدة ملفات على الخادم: + +`mdelete {{*.txt}}` + +- إعادة تسمية ملف على الخادم: + +`rename {{original_filename}} {{new_filename}}` diff --git a/pages.ar/common/fzf.md b/pages.ar/common/fzf.md new file mode 100644 index 00000000000000..40a1e495c50016 --- /dev/null +++ b/pages.ar/common/fzf.md @@ -0,0 +1,29 @@ +# fzf + +> أداة بحث تقريبي (fuzzy) لسطر الأوامر. +> مشابهة لـ `sk`. +> لمزيد من التفاصيل: . + +- تشغيل `fzf` على جميع الملفات داخل المجلد المحدد: + +`find {{path/to/directory}} -type f | fzf` + +- تشغيل `fzf` للعمليات الجارية: + +`ps aux | fzf` + +- تحديد ملفات متعددة باستخدام `` وكتابتها إلى ملف: + +`find {{path/to/directory}} -type f | fzf {{[-m|--multi]}} > {{path/to/file}}` + +- تشغيل `fzf` مع نص بحثي محدد: + +`fzf {{[-q|--query]}} "{{query}}"` + +- تشغيل `fzf` على إدخالات تبدأ بـ `core` وتنتهي بـ `go` أو `rb` أو `py`: + +`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"` + +- تشغيل `fzf` على إدخالات لا تطابق `pyc` وتحتوي على `travis`: + +`fzf {{[-q|--query]}} '!pyc travis'` diff --git a/pages.ar/common/g++.md b/pages.ar/common/g++.md new file mode 100644 index 00000000000000..1140a4d70784cd --- /dev/null +++ b/pages.ar/common/g++.md @@ -0,0 +1,37 @@ +# g++ + +> ترجمة ملفات مصدر C++. +> جزء من GCC (مجموعة مترجمات جنو). +> لمزيد من التفاصيل: . + +- ترجمة ملف مصدر إلى ملف تنفيذي ثنائي (Binary): + +`g++ {{path/to/source1.cpp path/to/source2.cpp ...}} {{-o|--output}} {{path/to/output_executable}}` + +- تفعيل عرض جميع الأخطاء والتحذيرات: + +`g++ {{path/to/source.cpp}} -Wall {{-o|--output}} {{output_executable}}` + +- عرض التحذيرات الشائعة، وإضافة رموز التصحيح إلى الإخراج، وتحسين الأداء دون التأثير على التصحيح: + +`g++ {{path/to/source.cpp}} -Wall {{-g|--debug}} -Og {{-o|--output}} {{path/to/output_executable}}` + +- اختيار معيار لغة C++ للترجمة (C++98/C++11/C++14/C++17): + +`g++ {{path/to/source.cpp}} -std={{c++98|c++11|c++14|c++17}} {{-o|--output}} {{path/to/output_executable}}` + +- تضمين مكتبات تقع في مسار مختلف عن ملف المصدر: + +`g++ {{path/to/source.cpp}} {{-o|--output}} {{path/to/output_executable}} -I{{path/to/header}} -L{{path/to/library}} -l{{library_name}}` + +- ترجمة وربط ملفات مصدر متعددة في ملف تنفيذي ثنائي (Binary): + +`g++ {{-c|--compile}} {{path/to/source1.cpp path/to/source2.cpp ...}} && g++ {{-o|--output}} {{path/to/output_executable}} {{path/to/source1.o path/to/source2.o ...}}` + +- تحسين البرنامج المترجم لزيادة الأداء: + +`g++ {{path/to/source.cpp}} -O{{1|2|3|fast}} {{-o|--output}} {{path/to/output_executable}}` + +- عرض الإصدار: + +`g++ --version` diff --git a/pages.ar/common/gcc.md b/pages.ar/common/gcc.md new file mode 100644 index 00000000000000..686e8332ca799a --- /dev/null +++ b/pages.ar/common/gcc.md @@ -0,0 +1,37 @@ +# gcc + +> معالجة مسبقة وتجميع ملفات مصدر C و C++، ثم تجميعها وربطها معًا. +> جزء من GCC (مجموعة مترجمات جنو). +> لمزيد من التفاصيل: . + +- ترجمة ملفات مصدر متعددة إلى ملف قابل للتنفيذ: + +`gcc {{path/to/source1.c path/to/source2.c ...}} {{-o|--output}} {{path/to/output_executable}}` + +- تفعيل عرض جميع الأخطاء والتحذيرات: + +`gcc {{path/to/source.c}} -Wall {{-o|--output}} {{output_executable}}` + +- عرض التحذيرات الشائعة، وإضافة رموز التصحيح إلى الإخراج، وتحسين الأداء دون التأثير على التصحيح: + +`gcc {{path/to/source.c}} -Wall {{-g|--debug}} -Og {{-o|--output}} {{path/to/output_executable}}` + +- تضمين مكتبات من مسار مختلف: + +`gcc {{path/to/source.c}} {{-o|--output}} {{path/to/output_executable}} -I{{path/to/header}} -L{{path/to/library}} -l{{library_name}}` + +- ترجمة الكود المصدري إلى تعليمات لغة التجميع: + +`gcc {{-S|--assemble}} {{path/to/source.c}}` + +- ترجمة الكود المصدري إلى ملف كائن دون ربط: + +`gcc {{-c|--compile}} {{path/to/source.c}}` + +- تحسين البرنامج المترجم لزيادة الأداء: + +`gcc {{path/to/source.c}} -O{{1|2|3|fast}} {{-o|--output}} {{path/to/output_executable}}` + +- عرض الإصدار: + +`gcc --version` diff --git a/pages.ar/common/gh-cs.md b/pages.ar/common/gh-cs.md new file mode 100644 index 00000000000000..99d3f36213a622 --- /dev/null +++ b/pages.ar/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> هذا الأمر هو اسم مستعار لـ `gh codespace`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr gh codespace` diff --git a/pages.ar/common/git-add.md b/pages.ar/common/git-add.md new file mode 100644 index 00000000000000..6f876b34afa8d9 --- /dev/null +++ b/pages.ar/common/git-add.md @@ -0,0 +1,36 @@ +# git add + +> يضيف الملفات المعدلة إلى منطقة التجميع (staging area). +> لمزيد من التفاصيل: . + +- إضافة ملف إلى منطقة التجميع (staging area): + +`git add {{path/to/file}}` + +- إضافة جميع الملفات (المتتبَّعة وغير المتتبَّعة Tracked & Untracked): + +`git add {{[-A|--all]}}` + +- إضافة جميع الملفات بشكل متكرر (recursively) بدءًا من المُجَلَّد الحالي: + +`git add .` + +- إضافة الملفات المتتبَّعة (Tracked) فقط: + +`git add {{[-u|--update]}}` + +- إضافة الملفات المتجاهلة (Ignored) أيضًا: + +`git add {{[-f|--force]}}` + +- إضافة أجزاء من الملفات بشكل تفاعلي (Interactive): + +`git add {{[-p|--patch]}}` + +- إضافة أجزاء من ملف معين بشكل تفاعلي: + +`git add {{[-p|--patch]}} {{path/to/file}}` + +- إضافة ملف بشكل تفاعلي: + +`git add {{[-i|--interactive]}}` diff --git a/pages.ar/common/git-fetch.md b/pages.ar/common/git-fetch.md new file mode 100644 index 00000000000000..ac7bed0a630ed6 --- /dev/null +++ b/pages.ar/common/git-fetch.md @@ -0,0 +1,24 @@ +# git fetch + +> تنزيل الكائنات والمراجع من مستودع خارجي. +> لمزيد من التفاصيل: . + +- سحب آخر التعديلات من المستودع الخارجي الافتراضي (إذا كان مضبوطًا): + +`git fetch` + +- سحب الفروع الجديدة من مستودع خارجي معين: + +`git fetch {{remote_name}}` + +- سحب آخر التعديلات من جميع المستودعات الخارجية: + +`git fetch --all` + +- سحب العلامات (tags) أيضًا من المستودع الخارجي: + +`git fetch {{[-t|--tags]}}` + +- حذف المراجع المحلية للفروع الخارجية التي تم حذفها في المستودع الخارجي: + +`git fetch {{[-p|--prune]}}` diff --git a/pages.ar/common/git-init.md b/pages.ar/common/git-init.md new file mode 100644 index 00000000000000..11093eb09acde2 --- /dev/null +++ b/pages.ar/common/git-init.md @@ -0,0 +1,20 @@ +# git init + +> يهيئ مستودع Git محلي جديد. +> لمزيد من التفاصيل: . + +- تهيئة مستودع محلي جديد: + +`git init` + +- تهيئة مستودع مع تحديد اسم الفرع الابتدائي: + +`git init {{[-b|--initial-branch]}} {{branch_name}}` + +- تهيئة مستودع يستخدم خوارزمية SHA256 لتنسيق تجزئة الكائنات (يتطلب إصدار Git 2.29 أو أحدث): + +`git init --object-format sha256` + +- تهيئة مستودع خال، مناسب للاستخدام كمستودع خارجي عبر SSH: + +`git init --bare` diff --git a/pages.ar/common/git-pull.md b/pages.ar/common/git-pull.md new file mode 100644 index 00000000000000..0aa7a082401d9b --- /dev/null +++ b/pages.ar/common/git-pull.md @@ -0,0 +1,16 @@ +# git pull + +> سحب فرع من مستودع خارجي ودمجه في المستودع المحلي. +> لمزيد من التفاصيل: . + +- تنزيل التعديلات من المستودع الخارجي ودمجها: + +`git pull` + +- تنزيل التعديلات من المستودع الخارجي مع إعادة ترتيب (rebase) التعديلات: + +`git pull {{[-r|--rebase]}}` + +- تنزيل التعديلات من مستودع خارجي وفرع محددين، ثم دمجها في HEAD: + +`git pull {{remote_name}} {{branch}}` diff --git a/pages.ar/common/git-push.md b/pages.ar/common/git-push.md new file mode 100644 index 00000000000000..0e5565e486ab1b --- /dev/null +++ b/pages.ar/common/git-push.md @@ -0,0 +1,36 @@ +# git push + +> دفع التعديلات إلى مستودع Git خارجي. +> لمزيد من التفاصيل: . + +- دفع التعديلات المحلية في الفرع الحالي إلى نظيره في المستودع الخارجي: + +`git push` + +- دفع التعديلات من فرع محلي معين إلى نظيره في المستودع الخارجي: + +`git push {{remote_name}} {{local_branch}}` + +- دفع التعديلات من فرع محلي معين إلى نظيره في المستودع الخارجي، وتعيين الفرع الخارجي كهدف افتراضي لعمليات الدفع والسحب: + +`git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}` + +- دفع التعديلات من فرع محلي معين إلى فرع خارجي محدد: + +`git push {{remote_name}} {{local_branch}}:{{remote_branch}}` + +- دفع جميع الفروع المحلية إلى نظائرها في المستودع الخارجي: + +`git push --all {{remote_name}}` + +- حذف فرع معين من المستودع الخارجي: + +`git push {{remote_name}} {{[-d|--delete]}} {{remote_branch}}` + +- حذف الفروع البعيدة التي لا تمتلك نظيرًا محليًا بعد الآن: + +`git push --prune {{remote_name}}` + +- نشر العلامات (tags) غير الموجودة في المستودع الخارجي: + +`git push --tags` diff --git a/pages.ar/common/git.md b/pages.ar/common/git.md new file mode 100644 index 00000000000000..f3047abe810bed --- /dev/null +++ b/pages.ar/common/git.md @@ -0,0 +1,29 @@ +# git + +> نظام تحكم في الإصدارات. +> بعض الأوامر الفرعية مثل `commit` و `add` و `branch` و `checkout` و `push`، وغيرها، لديها وثائق استخدام خاصة بها. +> لمزيد من التفاصيل: . + +- تنفيذ أمر فرعي في Git: + +`git {{subcommand}}` + +- تنفيذ أمر فرعي في Git على مسار مستودع مخصص: + +`git -C {{path/to/repo}} {{subcommand}}` + +- تنفيذ أمر فرعي في Git مع ضبط إعداد معين: + +`git -c '{{config.key}}={{value}}' {{subcommand}}` + +- عرض المساعدة: + +`git --help` + +- عرض المساعدة لأمر فرعي محدد (مثل `clone` أو `add` أو `push` أو `log`، إلخ): + +`git help {{subcommand}}` + +- عرض رقم الإصدار: + +`git --version` diff --git a/pages.ar/common/gnmic-sub.md b/pages.ar/common/gnmic-sub.md new file mode 100644 index 00000000000000..a0e610cdb3bbd1 --- /dev/null +++ b/pages.ar/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> هذا الأمر هو اسم مستعار لـ `gnmic subscribe`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr gnmic subscribe` diff --git a/pages.ar/common/go.md b/pages.ar/common/go.md new file mode 100644 index 00000000000000..638fbe6b1d7674 --- /dev/null +++ b/pages.ar/common/go.md @@ -0,0 +1,33 @@ +# go + +> إدارة شيفرة Go. +> بعض الأوامر الفرعية مثل `build` لها توثيق استخدام خاص بها. +> لمزيد من التفاصيل: . + +- تنزيل وتثبيت حزمة محددة بمسار الاستيراد: + +`go get {{package_path}}` + +- ترجمة وتشغيل ملف مصدر (يجب أن يحتوي على الحزمة `main`): + +`go run {{file}}.go` + +- ترجمة ملف مصدر إلى ملف تنفيذي باسم محدد: + +`go build -o {{executable}} {{file}}.go` + +- ترجمة الحزمة الموجودة في المجلد الحالي: + +`go build` + +- تنفيذ جميع اختبارات الحزمة الحالية (يجب أن تنتهي الملفات بـ `_test.go`): + +`go test` + +- ترجمة وتثبيت الحزمة الحالية: + +`go install` + +- تهيئة وحدة جديدة في المجلد الحالي: + +`go mod init {{module_name}}` diff --git a/pages.ar/common/gpg.md b/pages.ar/common/gpg.md new file mode 100644 index 00000000000000..989038b434f28e --- /dev/null +++ b/pages.ar/common/gpg.md @@ -0,0 +1,36 @@ +# gpg + +> برنامج GNU Privacy Guard. +> لمزيد من التفاصيل: . + +- إنشاء مفتاح GPG عام وخاص بطريقة تفاعلية: + +`gpg {{[--full-gen-key|--full-generate-key]}}` + +- توقيع الملف `doc.txt` دون تشفير (يتم حفظ الإخراج في ملف `doc.txt.asc`): + +`gpg --clearsign {{doc.txt}}` + +- تشفير وتوقيع الملف `doc.txt` للمستخدمين alice@example.com و bob@example.com (يتم حفظ الإخراج في ملف `doc.txt.gpg`): + +`gpg {{[-es|--encrypt --sign]}} {{[-r|--recipient]}} {{alice@example.com}} {{[-r|--recipient]}} {{bob@example.com}} {{doc.txt}}` + +- تشفير `doc.txt` باستخدام كلمة مرور فقط (يتم حفظ الإخراج في ملف `doc.txt.gpg`): + +`gpg {{[-c|--symmetric]}} {{doc.txt}}` + +- فك تشفير `doc.txt.gpg` (يتم عرض الإخراج على `stdout`): + +`gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}` + +- استيراد مفتاح عام: + +`gpg --import {{public.gpg}}` + +- تصدير المفتاح العام للمستخدم alice@example.com (يتم عرض الإخراج على `stdout`): + +`gpg --export {{[-a|--armor]}} {{alice@example.com}}` + +- تصدير المفتاح الخاص للمستخدم alice@example.com (يتم عرض الإخراج على `stdout`): + +`gpg --export-secret-keys {{[-a|--armor]}} {{alice@example.com}}` diff --git a/pages.ar/common/grep.md b/pages.ar/common/grep.md new file mode 100644 index 00000000000000..f4cb9c5895f532 --- /dev/null +++ b/pages.ar/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> (Regular Expressions) البحث عن أنماط في الملفات باستخدام التعابير النمطية. +> لمزيد من التفاصيل: . + +- البحث عن نمط داخل ملف: + +`grep "{{search_pattern}}" {{path/to/file}}` + +- البحث عن سلسلة نصية مطابقة تمامًا (تعطيل التعابير النمطية): + +`grep {{[-F|--fixed-strings]}} "{{exact_string}}" {{path/to/file}}` + +- البحث عن نمط في جميع الملفات داخل دليل بشكل متكرر، مع عرض أرقام الأسطر المطابقة، وتجاهل الملفات الثنائية: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{search_pattern}}" {{path/to/directory}}` + +- استخدام التعابير النمطية الموسعة (يدعم `?`, `+`, `{}`, `()`, و `|`)، في وضع عدم التمييز بين الأحرف الكبيرة والصغيرة: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{search_pattern}}" {{path/to/file}}` + +- طباعة 3 أسطر من السياق حول، قبل أو بعد كل تطابق: + +`grep {{--context|--before-context|--after-context}} 3 "{{search_pattern}}" {{path/to/file}}` + +- طباعة اسم الملف ورقم السطر لكل تطابق مع تمييز بالألوان: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{search_pattern}}" {{path/to/file}}` + +- البحث عن الأسطر المطابقة لنمط معين، مع طباعة النص المطابق فقط: + +`grep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` + +- البحث في `stdin` عن الأسطر التي لا تطابق النمط: + +`cat {{path/to/file}} | grep {{[-v|--invert-match]}} "{{search_pattern}}"` diff --git a/pages.ar/common/host.md b/pages.ar/common/host.md new file mode 100644 index 00000000000000..e142ef11b74fe8 --- /dev/null +++ b/pages.ar/common/host.md @@ -0,0 +1,20 @@ +# host + +> البحث في خادم أسماء النطاقات (DNS). +> لمزيد من التفاصيل: . + +- البحث عن سجلات A و AAAA و MX لنطاق معين: + +`host {{domain}}` + +- البحث عن نوع معين من السجلات (مثل CNAME أو TXT) لنطاق معين: + +`host -t {{field}} {{domain}}` + +- البحث العكسي عن عنوان IP: + +`host {{ip_address}}` + +- تحديد خادم DNS بديل للاستعلام: + +`host {{domain}} {{8.8.8.8}}` diff --git a/pages.ar/common/htop.md b/pages.ar/common/htop.md new file mode 100644 index 00000000000000..8787f55af423b2 --- /dev/null +++ b/pages.ar/common/htop.md @@ -0,0 +1,38 @@ +# htop + +> عرض معلومات ديناميكية لحظية عن العمليات الجارية. +> نسخة محسنة من `top`. +> انظر أيضًا: `top` و`atop` و`glances` و`btop` و`btm`. +> لمزيد من التفاصيل: . + +- تشغيل `htop`: + +`htop` + +- تشغيل `htop` لعرض العمليات المملوكة لمستخدم محدد: + +`htop {{[-u|--user]}} {{username}}` + +- عرض العمليات بشكل هرمي لإظهار علاقة الأصل والفرع: + +`htop {{[-t|--tree]}}` + +- فرز العمليات حسب `sort_item` المحدد (استخدم `htop --sort help` لعرض الخيارات المتاحة): + +`htop {{[-s|--sort]}} {{sort_item}}` + +- تشغيل `htop` مع تأخير محدد بين التحديثات بوحدات عُشر الثانية (مثال: 50 = 5 ثوانٍ): + +`htop {{[-d|--delay]}} {{50}}` + +- تعطيل جميع ميزات تغيير النظام والعمليات: + +`htop --readonly` + +- عرض الأوامر التفاعلية أثناء التشغيل: + +`{{|}}` + +- الانتقال إلى علامة تبويب أخرى: + +`` diff --git a/pages.ar/common/id.md b/pages.ar/common/id.md new file mode 100644 index 00000000000000..fa7f1b828af679 --- /dev/null +++ b/pages.ar/common/id.md @@ -0,0 +1,28 @@ +# id + +> يعرض معرف المستخدم الحالي ومعرف المجموعة. +> لمزيد من التفاصيل: . + +- عرض معرف المستخدم الحالي (UID) ومعرف المجموعة (GID) والمجموعات التي ينتمي إليها: + +`id` + +- عرض اسم المستخدم الحالي: + +`id {{[-un|--user --name]}}` + +- عرض معرف المستخدم الحالي كرقم: + +`id {{[-u|--user]}}` + +- عرض معرف المجموعة الأساسية الحالي: + +`id {{[-gn|--group --name]}}` + +- عرض معرف المجموعة الأساسية الحالي كرقم: + +`id {{[-g|--group]}}` + +- عرض معرف مستخدم آخر (UID) ومعرف المجموعة (GID) والمجموعات التي ينتمي إليها: + +`id {{username}}` diff --git a/pages.ar/common/ifconfig.md b/pages.ar/common/ifconfig.md new file mode 100644 index 00000000000000..b455d5bb9c2148 --- /dev/null +++ b/pages.ar/common/ifconfig.md @@ -0,0 +1,24 @@ +# ifconfig + +> مُكوِّن واجهة الشبكة. +> لمزيد من التفاصيل: . + +- عرض إعدادات الشبكة لواجهة محددة: + +`ifconfig {{interface_name}}` + +- عرض تفاصيل جميع الواجهات، بما في ذلك الواجهات المعطلة: + +`ifconfig -a` + +- تعطيل واجهة محددة: + +`ifconfig {{interface_name}} down` + +- تمكين واجهة محددة: + +`ifconfig {{interface_name}} up` + +- تعيين عنوان IP لواجهة محددة: + +`ifconfig {{interface_name}} {{ip_address}}` diff --git a/pages.ar/common/kill.md b/pages.ar/common/kill.md new file mode 100644 index 00000000000000..0cf2705e4e78d1 --- /dev/null +++ b/pages.ar/common/kill.md @@ -0,0 +1,33 @@ +# kill + +> إرسال إشارة إلى عملية (Process)، عادةً لإيقافها. +> يمكن لجميع الإشارات باستثناء SIGKILL و SIGSTOP أن يتم اعتراضها بواسطة العملية لإنهاء نظيف. +> لمزيد من التفاصيل: . + +- إنهاء برنامج باستخدام الإشارة الافتراضية SIGTERM (إنهاء): + +`kill {{process_id}}` + +- عرض أسماء الإشارات المتاحة (تُستخدم بدون بادئة `SIG`): + +`kill -l` + +- إنهاء برنامج باستخدام الإشارة SIGHUP (قطع الاتصال). العديد من الخدمات (Daemons) ستقوم بإعادة التحميل بدلاً من الإنهاء: + +`kill -{{1|HUP}} {{process_id}}` + +- إنهاء برنامج باستخدام الإشارة SIGINT (المقاطعة). يتم تنفيذ ذلك عادةً عند ضغط المستخدم على ``: + +`kill -{{2|INT}} {{process_id}}` + +- إرسال إشارة إلى نظام التشغيل لإنهاء البرنامج فورًا (لن تتاح له فرصة لمعالجة الإشارة): + +`kill -{{9|KILL}} {{process_id}}` + +- إرسال إشارة إلى نظام التشغيل لإيقاف برنامج مؤقتًا حتى يتم استلام إشارة SIGCONT ("متابعة"): + +`kill -{{17|STOP}} {{process_id}}` + +- إرسال إشارة `SIGUSR1` إلى جميع العمليات التي تملك معرف المجموعة المحدد (GID): + +`kill -{{SIGUSR1}} -{{group_id}}` diff --git a/pages.ar/common/ls.md b/pages.ar/common/ls.md new file mode 100644 index 00000000000000..89563917deb74c --- /dev/null +++ b/pages.ar/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> إدراج محتويات مجلد. +> لمزيد من التفاصيل: . + +- إدراج كل الملفات في أسطر منفصلة: + +`ls -1` + +- إدراج جميع الملفات بما فيها الملفات المخفية: + +`ls {{[-a|--all]}}` + +- إدراج جميع الملفات مع إضافة `/` لنهاية أسماء المللفات: + +`ls {{[-F|--classify]}}` + +- إدراج الملفات و معلموماتها لتشمل اللأذونات و الملكية و الحجم و تاريخ التغيير: + +`ls {{[-la|--all -l]}}` + +- إدراج اللملفات بصيغة طويلة مع حجم الملفات بوحدات مقروءة (KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` + +- صيغة طويلة للملفات مرتبة تنازليا حسب اللحجم: + +`ls {{-lSR|-lS --recursive}}` + +- صيغة طويلة للملفات مرتبة تنازليا حسب التاريخ الأقدم اولا: + +`ls {{[-ltr|-lt --reverse]}}` + +- إدراج المجلدات فقط: + +`ls {{[-d|--directory]}} */` diff --git a/pages.ar/common/lsof.md b/pages.ar/common/lsof.md new file mode 100644 index 00000000000000..ffdd1da061eed3 --- /dev/null +++ b/pages.ar/common/lsof.md @@ -0,0 +1,37 @@ +# lsof + +> يعرض قائمة الملفات المفتوحة والعمليات المرتبطة بها. +> ملاحظة: تتطلب بعض الأوامر صلاحيات الجذر (أو sudo) لعرض الملفات المفتوحة من قبل الآخرين. +> لمزيد من التفاصيل: . + +- العثور على العمليات التي فتحت ملفًا معينًا: + +`lsof {{path/to/file}}` + +- العثور على العملية التي فتحت منفذ إنترنت محدد: + +`lsof -i :{{port}}` + +- عرض معرف العملية (PID) فقط: + +`lsof -t {{path/to/file}}` + +- عرض الملفات المفتوحة بواسطة مستخدم معين: + +`lsof -u {{username}}` + +- عرض الملفات المفتوحة بواسطة أمر أو عملية معينة: + +`lsof -c {{process_or_command_name}}` + +- عرض الملفات المفتوحة بواسطة عملية معينة باستخدام PID: + +`lsof -p {{PID}}` + +- عرض الملفات المفتوحة داخل مُجَلَّد معين: + +`lsof +D {{path/to/directory}}` + +- العثور على العملية التي تستمع على منفذ TCP محلي عبر IPv6 دون تحويل أرقام الشبكة أو المنافذ: + +`lsof -i6TCP:{{port}} -sTCP:LISTEN -n -P` diff --git a/pages.ar/common/mtr.md b/pages.ar/common/mtr.md new file mode 100644 index 00000000000000..18bd7a0a847e53 --- /dev/null +++ b/pages.ar/common/mtr.md @@ -0,0 +1,32 @@ +# mtr + +> أداة Matt's Traceroute: تجمع بين traceroute و ping. +> لمزيد من التفاصيل: . + +- تتبع المسار إلى مضيف وإرسال حزم ping مستمرة لجميع النقاط الوسيطة: + +`mtr {{example.com}}` + +- تعطيل تعيين عناوين IP وأسماء المضيفين: + +`mtr {{[-n|--no-dns]}} {{example.com}}` + +- عرض المخرجات بعد إرسال 10 حزم ping لكل نقطة: + +`mtr {{[-w|--report-wide]}} {{example.com}}` + +- فرض استخدام IPv4 أو IPv6: + +`mtr -4 {{example.com}}` + +- الانتظار لوقت محدد (بالثواني) قبل إرسال حزمة أخرى إلى نفس النقطة: + +`mtr {{[-i|--interval]}} {{10}} {{example.com}}` + +- عرض رقم النظام المستقل (ASN) لكل نقطة: + +`mtr {{[-z|--aslookup]}} {{example.com}}` + +- عرض كل من عنوان IP والاسم العكسي لـ DNS: + +`mtr {{[-b|--show-ips]}} {{example.com}}` diff --git a/pages.ar/common/newsboat.md b/pages.ar/common/newsboat.md new file mode 100644 index 00000000000000..e018638fcee38f --- /dev/null +++ b/pages.ar/common/newsboat.md @@ -0,0 +1,24 @@ +# newsboat + +> هو قارئ خلاصة آر إس إس للطرفية أو الكونسول. +> لمزيد من التفاصيل: . + +- إستيراد روابط الخلاصات من ملف OPML: + +`newsboat -i {{my-feeds.xml}}` + +- إضافة روابط الخلاصات يدوياً: + +`echo {{http://example.com/path/to/feed}} >> "${HOME}/.newsboat/urls"` + +- إبدأ newsboat وقم بتحديث كل الخلاصات عند بدء التشغيل: + +`newsboat -r` + +- نفذ أمر أو عدة أوامر مفصولة بمسافات بدون الحاجة إلي فتح newsboat: + +`newsboat -x {{reload print-unread ...}}` + +- انظر إختصارات لوحة المفاتيح (الإختصارت الأكثر شيوعاً مرئية في شريط الحالة): + +`` diff --git a/pages.ar/common/node.md b/pages.ar/common/node.md new file mode 100644 index 00000000000000..8645027bfc9356 --- /dev/null +++ b/pages.ar/common/node.md @@ -0,0 +1,28 @@ +# node + +> بيئة تشغيل JavaScript للخادم (Node.js). +> لمزيد من التفاصيل: . + +- تشغيل ملف JavaScript: + +`node {{path/to/file}}` + +- بدء REPL (وحدة تحكم تفاعلية): + +`node` + +- تنفيذ الملف المحدد مع إعادة تشغيل العملية عند تغيير ملف مستورد (يتطلب Node.js إصدار 18.11+): + +`node --watch {{path/to/file}}` + +- تنفيذ كود JavaScript من سطر الأوامر: + +`node {{[-e|--eval]}} "{{code}}"` + +- تنفيذ وطباعة النتيجة، مفيد لطباعة إصدارات تبعيات node: + +`node {{[-p|--print]}} "process.versions"` + +- تفعيل المصحح (inspector)، مع إيقاف التنفيذ حتى يتم الاتصال بمصحح الأخطاء (debugger) بمجرد تحليل الكود المصدري بالكامل: + +`node --no-lazy --inspect-brk {{path/to/file}}` diff --git a/pages.ar/common/openai.md b/pages.ar/common/openai.md new file mode 100644 index 00000000000000..44a3a1d3e43b7a --- /dev/null +++ b/pages.ar/common/openai.md @@ -0,0 +1,20 @@ +# openai + +> أداة سطر الأوامر للوصول إلى واجهة برمجة تطبيقات OpenAI. +> لمزيد من التفاصيل: . + +- عرض قائمة النماذج المتاحة: + +`openai api models.list` + +- إنشاء إكمال نصي: + +`openai api completions.create --model {{ada}} --prompt "{{Hello world}}"` + +- إنشاء إكمال محادثة: + +`openai api chat_completions.create --model {{gpt-3.5-turbo}} --message {{user "Hello world"}}` + +- إنشاء صور باستخدام API الخاصة بـ DALL·E: + +`openai api image.create --prompt "{{كلبان يلعبان الشطرنج، كرتوني}}" --num-images {{1}}` diff --git a/pages.ar/common/openssl-req.md b/pages.ar/common/openssl-req.md new file mode 100644 index 00000000000000..0d60a85fb49f7e --- /dev/null +++ b/pages.ar/common/openssl-req.md @@ -0,0 +1,12 @@ +# openssl req + +> أمر OpenSSL لإدارة طلبات توقيع الشهادات PKCS#10. +> لمزيد من التفاصيل: . + +- إنشاء طلب توقيع شهادة لإرساله إلى جهة تصديق: + +`openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}` + +- إنشاء شهادة موقعة ذاتيًا وزوج مفاتيح مقابلة، وحفظهما في ملف: + +`openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{filename.key}} -out {{filename.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}` diff --git a/pages.ar/common/openssl-x509.md b/pages.ar/common/openssl-x509.md new file mode 100644 index 00000000000000..402ca8360145f5 --- /dev/null +++ b/pages.ar/common/openssl-x509.md @@ -0,0 +1,20 @@ +# openssl x509 + +> أمر OpenSSL لإدارة شهادات X.509. +> لمزيد من التفاصيل: . + +- عرض معلومات الشهادة: + +`openssl x509 -in {{filename.crt}} -noout -text` + +- عرض تاريخ انتهاء صلاحية الشهادة: + +`openssl x509 -enddate -noout -in {{filename.pem}}` + +- تحويل الشهادة بين الترميز الثنائي DER والترميز النصي PEM: + +`openssl x509 -inform {{der}} -outform {{pem}} -in {{original_certificate_file}} -out {{converted_certificate_file}}` + +- تخزين المفتاح العام للشهادة في ملف: + +`openssl x509 -in {{certificate_file}} -noout -pubkey -out {{output_file}}` diff --git a/pages.ar/common/openssl.md b/pages.ar/common/openssl.md new file mode 100644 index 00000000000000..906f3477206f5d --- /dev/null +++ b/pages.ar/common/openssl.md @@ -0,0 +1,17 @@ +# openssl + +> مجموعة أدوات تشفير OpenSSL. +> بعض الأوامر الفرعية مثل `req` تحتوي على وثائق استخدام خاصة بها. +> لمزيد من التفاصيل: . + +- عرض الإرشادات: + +`openssl help` + +- عرض الإرشادات لأمر فرعي محدد: + +`openssl help {{x509}}` + +- عرض الإصدار: + +`openssl version` diff --git a/pages.ar/common/pgrep.md b/pages.ar/common/pgrep.md new file mode 100644 index 00000000000000..630480b7df8af9 --- /dev/null +++ b/pages.ar/common/pgrep.md @@ -0,0 +1,16 @@ +# pgrep + +> البحث عن العمليات أو إرسال إشارات إليها باستخدام الاسم. +> لمزيد من التفاصيل: . + +- عرض معرّفات العمليات (PIDs) لأي عمليات جارية تتطابق مع اسم العملية: + +`pgrep {{process_name}}` + +- البحث عن العمليات مع الخيارات المستخدمة في سطر الأوامر: + +`pgrep {{[-f|--full]}} "{{process_name}} {{parameter}}"` + +- البحث عن العمليات التي يتم تشغيلها بواسطة مستخدم معين: + +`pgrep {{[-u|--euid]}} root {{process_name}}` diff --git a/pages.ar/common/picotool.md b/pages.ar/common/picotool.md new file mode 100644 index 00000000000000..fcee919c17c29f --- /dev/null +++ b/pages.ar/common/picotool.md @@ -0,0 +1,32 @@ +# picotool + +> إدارة لوحات Raspberry Pi Pico. +> لمزيد من التفاصيل: . + +- عرض معلومات حول البرنامج المحمّل حاليًا على جهاز Pico: + +`picotool info` + +- تحميل ملف ثنائي (binary) على جهاز Pico: + +`picotool load {{path/to/binary}}` + +- تحويل ملف ELF أو BIN إلى تنسيق UF2: + +`picotool uf2 convert {{path/to/elf_or_bin}} {{path/to/output}}` + +- إعادة تشغيل جهاز Pico: + +`picotool reboot` + +- عرض جميع السجلات (registers) المعروفة: + +`picotool otp list` + +- عرض إصدار الأداة: + +`picotool version` + +- عرض المساعدة: + +`picotool help` diff --git a/pages.ar/common/pio-init.md b/pages.ar/common/pio-init.md new file mode 100644 index 00000000000000..8855563abc0a90 --- /dev/null +++ b/pages.ar/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> هذا الأمر هو اسم مستعار لـ `pio project`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr pio project` diff --git a/pages.ar/common/pip.md b/pages.ar/common/pip.md new file mode 100644 index 00000000000000..81cb00fc4f8217 --- /dev/null +++ b/pages.ar/common/pip.md @@ -0,0 +1,33 @@ +# pip + +> مدير الحزم الخاص بلغة بايثون. +> بعض الأوامر الفرعية مثل `install` لديها توثيق خاص بها. +> لمزيد من التفاصيل: . + +- تثبيت حزمة (راجع `pip install` لمزيد من خيارات التثبيت): + +`pip install {{package}}` + +- تثبيت حزمة في مجلد المستخدم بدلاً من الموقع الافتراضي للنظام: + +`pip install --user {{package}}` + +- تحديث حزمة مثبتة: + +`pip install {{[-U|--upgrade]}} {{package}}` + +- إزالة تثبيت حزمة: + +`pip uninstall {{package}}` + +- حفظ قائمة الحزم المثبتة في ملف: + +`pip freeze > {{requirements.txt}}` + +- عرض معلومات عن حزمة مثبتة: + +`pip show {{package}}` + +- تثبيت الحزم من ملف متطلبات: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` diff --git a/pages.ar/common/pkill.md b/pages.ar/common/pkill.md new file mode 100644 index 00000000000000..3a6db08d94e430 --- /dev/null +++ b/pages.ar/common/pkill.md @@ -0,0 +1,25 @@ +# pkill + +> إرسال إشارة إلى العملية حسب الاسم. +> يُستخدم غالبًا لإيقاف العمليات. +> لمزيد من التفاصيل: . + +- إنهاء جميع العمليات التي تطابق اسم محدد: + +`pkill "{{process_name}}"` + +- إنهاء جميع العمليات التي تطابق الأمر الكامل بدلًا من مجرد اسم العملية: + +`pkill {{[-f|--full]}} "{{command_name}}"` + +- فرض إنهاء العمليات المطابقة (لا يمكن حظره): + +`pkill -9 "{{process_name}}"` + +- إرسال إشارة `SIGUSR1` إلى العمليات التي تطابق الاسم المحدد: + +`pkill -USR1 "{{process_name}}"` + +- إنهاء العملية الرئيسية لـ `firefox` لإغلاق المتصفح: + +`pkill {{[-o|--oldest]}} "{{firefox}}"` diff --git a/pages.ar/common/ps.md b/pages.ar/common/ps.md new file mode 100644 index 00000000000000..6d6fb9b37360d5 --- /dev/null +++ b/pages.ar/common/ps.md @@ -0,0 +1,32 @@ +# ps + +> معلومات عن العمليات قيد التشغيل. +> لمزيد من التفاصيل: . + +- عرض جميع العمليات قيد التشغيل: + +`ps aux` + +- عرض جميع العمليات قيد التشغيل متضمنة سلسلة الأوامر الكاملة: + +`ps auxww` + +- البحث عن عملية تطابق سلسلة معينة (الأقواس تمنع `grep` من مطابقة نفسه): + +`ps aux | grep {{[s]tring}}` + +- عرض جميع عمليات المستخدم الحالي بتنسيق مفصل إضافي: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) -F` + +- عرض جميع عمليات المستخدم الحالي على شكل متفرع: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) f` + +- الحصول على معرّف العملية الأب (PPID) لعملية معينة: + +`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{pid}}` + +- فرز العمليات حسب استهلاك الذاكرة: + +`ps --sort size` diff --git a/pages.ar/common/pwd.md b/pages.ar/common/pwd.md new file mode 100644 index 00000000000000..fb844832085ec2 --- /dev/null +++ b/pages.ar/common/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> اطبع اسم الدليل الحالي. +> لمزيد من التفاصيل: . + +- اطبع اسم الدليل الحالي: + +`pwd` + +- اطبع اسم الدليل الحالي و حل جميع الروابط اللينة (وبمعنى آخر إظهار المسارالفعلي) : + +`pwd {{[-P|--physical]}}` diff --git a/pages.ar/common/rm.md b/pages.ar/common/rm.md new file mode 100644 index 00000000000000..bbca1bec755f34 --- /dev/null +++ b/pages.ar/common/rm.md @@ -0,0 +1,29 @@ +# rm + +> يستخدم الأمر لحذف الملفات او المجلدات +> أنظر أيضًا: `rmdir`. +> لمزيد من التفاصيل: . + +- حذف ملفات محددة: + +`rm {{path/to/file1 path/to/file2 ...}}` + +- حذف ملفات محددة وتجاهل الملفات الغير موجودة: + +`rm {{[-f|--force]}} {{path/to/file1 path/to/file2 ...}}` + +- حذف ملفات محددة مع واجهة تفاعلية قبل اي حذف للتأكد: + +`rm {{[-i|--interactive]}} {{path/to/file1 path/to/file2 ...}}` + +- حذف ملفات محددة مع عرض تفاصيل حول كل عملية حذف: + +`rm {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}` + +- حذف ملفات ومجلدات محددة بشكل تسلسلي: + +`rm {{[-r|--recursive]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- حذف المجلدات الفارغة (هذه الطريقة تعتبر آمنة): + +`rm {{[-d|--dir]}} {{path/to/directory}}` diff --git a/pages.ar/common/rmdir.md b/pages.ar/common/rmdir.md new file mode 100644 index 00000000000000..ff8017a4be9bcd --- /dev/null +++ b/pages.ar/common/rmdir.md @@ -0,0 +1,13 @@ +# rmdir + +> إزالة الدلائل بدون ملفات. +> لمزيد من التفاصيل: `rm`. +> لمزيد من التفاصيل: . + +- إزالة أدلة محددة: + +`rmdir {{path/to/directory1 path/to/directory2 ...}}` + +- إزالة أدلة متداخلة محددة بشكل متكرر: + +`rmdir -p {{path/to/directory1 path/to/directory2 ...}}` diff --git a/pages.ar/common/robo.md b/pages.ar/common/robo.md new file mode 100644 index 00000000000000..f6be9722b6d717 --- /dev/null +++ b/pages.ar/common/robo.md @@ -0,0 +1,16 @@ +# robo + +> مشغل مهام PHP. +> لمزيد من التفاصيل: . + +- عرض قائمة الأوامر المتوفرة: + +`robo list` + +- تشغيل أمر محدد: + +`robo {{foo}}` + +- محاكاة تشغيل أمر محدد: + +`robo --simulate {{foo}}` diff --git a/pages.ar/common/shred.md b/pages.ar/common/shred.md new file mode 100644 index 00000000000000..84ef2e72617428 --- /dev/null +++ b/pages.ar/common/shred.md @@ -0,0 +1,28 @@ +# shred + +> الكتابة فوق الملفات لحذف البيانات بشكل آمن. +> لمزيد من التفاصيل: . + +- الكتابة فوق ملف: + +`shred {{path/to/file}}` + +- الكتابة فوق ملف وعرض التقدم على الشاشة: + +`shred {{-v|--verbose}} {{path/to/file}}` + +- الكتابة فوق ملف وترك أصفار بدلاً من البيانات العشوائية: + +`shred {{-z|--zero}} {{path/to/file}}` + +- الكتابة فوق ملف عددًا معينًا من المرات: + +`shred {{-n|--iterations}} {{25}} {{path/to/file}}` + +- الكتابة فوق ملف ثم إزالته: + +`shred --remove {{path/to/file}}` + +- الكتابة فوق ملف 100 مرة، إضافة كتابة نهائية بالأصفار، حذفه بعد الكتابة وعرض تقدم العملية بشكل مفصل: + +`shred {{-vzun|--verbose --zero -u --iterations}} 100 {{path/to/file}}` diff --git a/pages.ar/common/stat.md b/pages.ar/common/stat.md new file mode 100644 index 00000000000000..d38f25c19c5da4 --- /dev/null +++ b/pages.ar/common/stat.md @@ -0,0 +1,28 @@ +# stat + +> عرض معلومات عن الملف ونظام الملفات. +> لمزيد من التفاصيل: . + +- عرض خصائص ملف معين مثل الحجم، الأذونات، تواريخ الإنشاء والوصول، وغيرها: + +`stat {{path/to/file}}` + +- عرض خصائص ملف معين مثل الحجم، الأذونات، تواريخ الإنشاء والوصول، وغيرها بدون تسميات: + +`stat {{-t|--terse}} {{path/to/file}}` + +- عرض معلومات عن نظام الملفات حيث يوجد ملف معين: + +`stat {{-f|--file-system}} {{path/to/file}}` + +- عرض أذونات الملف بصيغة ثُمانية فقط: + +`stat {{-c|--format}} "%a %n" {{path/to/file}}` + +- عرض مالك الملف والمجموعة التابعة له: + +`stat {{-c|--format}} "%U %G" {{path/to/file}}` + +- عرض حجم ملف معين بالبايت: + +`stat {{-c|--format}} "%s %n" {{path/to/file}}` diff --git a/pages.ar/common/tail.md b/pages.ar/common/tail.md new file mode 100644 index 00000000000000..5ab4bda5443990 --- /dev/null +++ b/pages.ar/common/tail.md @@ -0,0 +1,29 @@ +# tail + +> عرض الجزء الأخير من ملف. +> انظر أيضًا: `head`. +> لمزيد من التفاصيل: . + +- عرض آخر 'عدد' من الأسطر في ملف: + +`tail {{[-n|--lines]}} {{count}} {{path/to/file}}` + +- طباعة محتوى ملف بدءًا من سطر معين: + +`tail {{[-n|--lines]}} +{{count}} {{path/to/file}}` + +- طباعة عدد معين من البايتات من نهاية ملف معين: + +`tail {{[-c|--bytes]}} {{count}} {{path/to/file}}` + +- طباعة آخر الأسطر من ملف معين والاستمرار في قراءته حتى الضغط على ``: + +`tail {{[-f|--follow]}} {{path/to/file}}` + +- الاستمرار في قراءة الملف حتى الضغط على ``، حتى لو كان غير متاح: + +`tail {{[-F|--retry --follow]}} {{path/to/file}}` + +- عرض آخر 'عدد' من الأسطر في 'ملف' وتحديث العرض كل 'عدد' من الثواني: + +`tail {{[-n|--lines]}} {{count}} {{[-s|--sleep-interval]}} {{seconds}} {{[-f|--follow]}} {{path/to/file}}` diff --git a/pages.ar/common/tar.md b/pages.ar/common/tar.md new file mode 100644 index 00000000000000..3433a96006c15b --- /dev/null +++ b/pages.ar/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> أداة أرشفة. +> غالبًا ما تُستخدم مع طريقة ضغط، مثل `gzip` أو `bzip2`. +> لمزيد من التفاصيل: . + +- إنشاء أرشيف وكتابته إلى ملف: + +`tar cf {{path/to/target.tar}} {{path/to/file1 path/to/file2 ...}}` + +- إنشاء أرشيف وكتابته إلى ملف (gzipped): + +`tar czf {{path/to/target.tar.gz}} {{path/to/file1 path/to/file2 ...}}` + +- إنشاء أرشيف مضغوط من مجلد باستخدام المسارات النسبية: + +`tar czf {{path/to/target.tar.gz}} {{[-C|--directory]}} {{path/to/directory}} .` + +- فك ضغط ملف أرشيف مضغوط في المجلد الحالي: + +`tar xvf {{path/to/source.tar[.gz|.bz2|.xz]}}` + +- فك ضغط ملف أرشيف مضغوط في مجلد محدد: + +`tar xf {{path/to/source.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{path/to/directory}}` + +- إنشاء أرشيف مضغوط وكتابته إلى ملف، مع تحديد خوارزمية الضغط تلقائيًا بناءً على امتداد الملف: + +`tar caf {{path/to/target.tar.xz}} {{path/to/file1 path/to/file2 ...}}` + +- عرض محتويات ملف بالتفصيل: + +`tar tvf {{path/to/source.tar}}` + +- فك ضغط الملفات المطابقة لنمط معين من ملف أرشيف: + +`tar xf {{path/to/source.tar}} --wildcards "{{*.html}}"` diff --git a/pages.ar/common/tcpdump.md b/pages.ar/common/tcpdump.md new file mode 100644 index 00000000000000..71d68d144cd236 --- /dev/null +++ b/pages.ar/common/tcpdump.md @@ -0,0 +1,36 @@ +# tcpdump + +> عرض وتحليل حركة المرور على الشبكة. +> لمزيد من التفاصيل: . + +- عرض قائمة بواجهات الشبكة المتوفرة: + +`tcpdump {{[-D|--list-interfaces]}}` + +- التقاط حركة المرور لواجهة شبكة محددة: + +`sudo tcpdump {{[-i|--interface]}} {{eth0}}` + +- التقاط جميع حركة مرور TCP مع عرض المحتويات (ASCII) في وحدة التحكم: + +`tcpdump -A tcp` + +- التقاط حركة المرور من أو إلى مضيف محدد: + +`tcpdump host {{www.example.com}}` + +- التقاط حركة المرور من واجهة معينة مع مصدر، وجهة ومنفذ وجهة محددين: + +`sudo tcpdump {{[-i|--interface]}} {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port {{80}}` + +- التقاط حركة المرور لشبكة محددة: + +`tcpdump net {{192.168.1.0/24}}` + +- التقاط جميع حركة المرور باستثناء حركة المرور على المنفذ 22 وحفظها في ملف: + +`tcpdump -w {{dumpfile.pcap}} port not {{22}}` + +- قراءة البيانات من ملف محدد: + +`tcpdump -r {{dumpfile.pcap}}` diff --git a/pages.ar/common/tldr.md b/pages.ar/common/tldr.md new file mode 100644 index 00000000000000..d5143b569cbfd2 --- /dev/null +++ b/pages.ar/common/tldr.md @@ -0,0 +1,37 @@ +# tldr + +> يعرض صفحات مساعدة مبسطة للأوامر في سطر الأوامر، مستمدة من مشروع tldr-pages. +> ملاحظة: الخيارات `--language` و `--list` ليست مطلوبة وفقًا للمواصفات، ولكن معظم العملاء يدعمونها. +> لمزيد من التفاصيل: . + +- عرض صفحة tldr لأمر معين (تلميح: هذا ما أوصلك إلى هنا!): + +`tldr {{command}}` + +- عرض صفحة tldr لأمر فرعي معين: + +`tldr {{command}} {{subcommand}}` + +- عرض صفحة tldr لأمر بلغة معينة (إن وجدت، وإلا سيتم الرجوع إلى الإنجليزية): + +`tldr {{[-L|--language]}} {{language_code}} {{command}}` + +- عرض صفحة tldr لأمر من نظام تشغيل معين: + +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{command}}` + +- تحديث ذاكرة التخزين المؤقت لصفحات tldr: + +`tldr {{[-u|--update]}}` + +- عرض قائمة بجميع الصفحات المتاحة للمنصة الحالية وللأوامر الشائعة: + +`tldr {{[-l|--list]}}` + +- عرض جميع الصفحات الفرعية المتاحة لأمر معين: + +`tldr {{[-l|--list]}} | grep {{command}} | column` + +- عرض صفحة tldr لأمر عشوائي: + +`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr` diff --git a/pages.ar/common/tlmgr-arch.md b/pages.ar/common/tlmgr-arch.md new file mode 100644 index 00000000000000..b0093b4e659c6d --- /dev/null +++ b/pages.ar/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> هذا الأمر هو اسم مستعار لـ `tlmgr platform`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr tlmgr platform` diff --git a/pages.ar/common/tox.md b/pages.ar/common/tox.md new file mode 100644 index 00000000000000..3c4a20a7a1ca26 --- /dev/null +++ b/pages.ar/common/tox.md @@ -0,0 +1,25 @@ +# tox + +> أتمتة اختبارات بايثون عبر إصدارات بايثون متعددة. +> استخدم tox.ini لضبط البيئات وأمر الاختبار. +> لمزيد من التفاصيل: . + +- بدء الاختبارات على جميع بيئات الاختبار: + +`tox` + +- إنشاء ملف الإعدادات `tox.ini`: + +`tox-quickstart` + +- عرض قائمة جميع البيئات المتوفرة: + +`tox --listenvs-all` + +- بدء الاختبارات على بيئة معينة (مثال: بايثون 3.6): + +`tox -e {{py36}}` + +- إجبار إعادة إنشاء البيئة الافتراضية: + +`tox --recreate -e {{py27}}` diff --git a/pages.ar/common/tr.md b/pages.ar/common/tr.md new file mode 100644 index 00000000000000..ec0df63c573f30 --- /dev/null +++ b/pages.ar/common/tr.md @@ -0,0 +1,32 @@ +# tr + +> ترجمة الأحرف: تنفيذ عمليات الاستبدال بناءً على أحرف مفردة ومجموعات أحرف. +> لمزيد من التفاصيل: . + +- استبدال جميع تكرارات حرف معين في ملف وطباعة النتيجة: + +`tr {{find_character}} {{replace_character}} < {{path/to/file}}` + +- استبدال جميع تكرارات حرف معين من ناتج أمر آخر: + +`echo {{text}} | tr {{find_character}} {{replace_character}}` + +- تعيين كل حرف من المجموعة الأولى إلى الحرف المقابل في المجموعة الثانية: + +`tr '{{abcd}}' '{{jkmn}}' < {{path/to/file}}` + +- حذف جميع تكرارات مجموعة الأحرف المحددة من المدخلات: + +`tr {{[-d|--delete]}} '{{input_characters}}' < {{path/to/file}}` + +- ضغط سلسلة من الأحرف المتطابقة إلى حرف واحد: + +`tr {{[-s|--squeeze-repeats]}} '{{input_characters}}' < {{path/to/file}}` + +- تحويل محتويات ملف إلى أحرف كبيرة (Upper-case): + +`tr "[:lower:]" "[:upper:]" < {{path/to/file}}` + +- إزالة الأحرف غير القابلة للطباعة من ملف: + +`tr {{[-cd|--complement --delete]}} "[:print:]" < {{path/to/file}}` diff --git a/pages.ar/common/ulimit.md b/pages.ar/common/ulimit.md new file mode 100644 index 00000000000000..061beab51729f7 --- /dev/null +++ b/pages.ar/common/ulimit.md @@ -0,0 +1,20 @@ +# ulimit + +> الحصول على وتعيين حدود الموارد لعمليات المستخدم. +> لمزيد من التفاصيل: . + +- عرض خصائص جميع حدود المستخدم: + +`ulimit -a` + +- عرض الحد الأقصى الثابت لعدد الملفات التي يمكن فتحها في نفس الوقت: + +`ulimit -H -n` + +- عرض الحد القابل للتغيير لعدد الملفات التي يمكن فتحها في نفس الوقت: + +`ulimit -S -n` + +- تعيين الحد الأقصى لعدد العمليات لكل مستخدم: + +`ulimit -u 30` diff --git a/pages.ar/common/uptime.md b/pages.ar/common/uptime.md new file mode 100644 index 00000000000000..6131a6bdecc0e4 --- /dev/null +++ b/pages.ar/common/uptime.md @@ -0,0 +1,20 @@ +# uptime + +> يعرض مدة تشغيل النظام ومعلومات أخرى. +> لمزيد من التفاصيل: . + +- طباعة الوقت الحالي، ومدة التشغيل، وعدد المستخدمين المسجلين، ومعلومات أخرى: + +`uptime` + +- عرض مدة التشغيل فقط منذ بدء تشغيل النظام: + +`uptime {{[-p|--pretty]}}` + +- طباعة تاريخ ووقت بدء تشغيل النظام: + +`uptime {{[-s|--since]}}` + +- عرض إصدار الأداة: + +`uptime {{[-V|--version]}}` diff --git a/pages.ar/common/uv.md b/pages.ar/common/uv.md new file mode 100644 index 00000000000000..445e8055b49c2f --- /dev/null +++ b/pages.ar/common/uv.md @@ -0,0 +1,37 @@ +# uv + +> مدير حزم ومشاريع سريع للغة بايثون. +> بعض الأوامر الفرعية مثل `tool` و `python` لديها توثيق خاص بها. +> لمزيد من التفاصيل: . + +- إنشاء مشروع بايثون جديد في المجلد الحالي: + +`uv init` + +- إنشاء مشروع بايثون جديد في المسار المحدد: + +`uv init {{path/to/directory}}` + +- إضافة تبعية جديدة إلى المشروع: + +`uv add {{package}}` + +- إزالة تبعية من المشروع: + +`uv remove {{package}}` + +- تشغيل سكربت داخل بيئة المشروع: + +`uv run {{path/to/script.py}}` + +- تشغيل أمر داخل بيئة المشروع: + +`uv run {{command}}` + +- تحديث بيئة المشروع من `pyproject.toml`: + +`uv sync` + +- إنشاء ملف تأمين (lock file) لتبعيات المشروع: + +`uv lock` diff --git a/pages.ar/common/w.md b/pages.ar/common/w.md new file mode 100644 index 00000000000000..8fd91c21171a0c --- /dev/null +++ b/pages.ar/common/w.md @@ -0,0 +1,20 @@ +# w + +> اداة لعرض المستخدمين المتصلين حالياً و العمليات التي يتم تنفيذها. +> لمزيد من التفاصيل: . + +- عرض معلومات عن جميع المستخدمين المتصلين حاليا: + +`w` + +- عرض معلومات عن مستخدم محدد: + +`w {{اسم_المستخدم}}` + +- عرض معلومات المستخدمين المتصلين بدون الترويسة: + +`w {{[-h|--no-header]}}` + +- عرض المعلومات بدون تضمين أعمدة تسجيل الدخول و JCPU و PCPU: + +`w {{[-s|--short]}}` diff --git a/pages.ar/common/watch.md b/pages.ar/common/watch.md new file mode 100644 index 00000000000000..c4972559a9604d --- /dev/null +++ b/pages.ar/common/watch.md @@ -0,0 +1,28 @@ +# watch + +> تنفيذ برنامج بشكل دوري ومراقبة المخرجات في وضع ملء الشاشة. +> لمزيد من التفاصيل: . + +- تشغيل أمر بشكل متكرر وعرض النتيجة: + +`watch {{command}}` + +- إعادة تشغيل أمر كل 60 ثانية: + +`watch {{[-n|--interval]}} 60 {{command}}` + +- مراقبة مساحة القرص مع تمييز الاختلافات عند ظهورها: + +`watch {{[-d|--differences]}} {{df}}` + +- تشغيل سلسلة أوامر (بايبلاين) بشكل متكرر وعرض النتيجة: + +`watch "{{command_1}} | {{command_2}} | {{command_3}}"` + +- الخروج من `watch` إذا تغير الإخراج المرئي: + +`watch {{[-g|--chgexit]}} {{lsblk}}` + +- (Terminal) ترجمة رموز التحكم في الطرفية: + +`watch {{[-c|--color]}} {{ls --color=always}}` diff --git a/pages.ar/common/wc.md b/pages.ar/common/wc.md new file mode 100644 index 00000000000000..36b6a43fe70ee9 --- /dev/null +++ b/pages.ar/common/wc.md @@ -0,0 +1,28 @@ +# wc + +> عدّ الأسطر والكلمات والبايتات. +> لمزيد من التفاصيل: . + +- عدّ جميع الأسطر في ملف: + +`wc {{[-l|--lines]}} {{path/to/file}}` + +- عدّ جميع الكلمات في ملف: + +`wc {{[-w|--words]}} {{path/to/file}}` + +- عدّ جميع البايتات في ملف: + +`wc {{[-c|--bytes]}} {{path/to/file}}` + +- عدّ جميع الأحرف في ملف (مع أخذ الأحرف متعددة البايتات في الاعتبار مثل الحروف العربية): + +`wc {{[-m|--chars]}} {{path/to/file}}` + +- عدّ جميع الأسطر والكلمات والبايتات من `stdin`: + +`{{find .}} | wc` + +- حساب طول أطول سطر بعدد الأحرف: + +`wc {{[-L|--max-line-length]}} {{path/to/file}}` diff --git a/pages.ar/common/who.md b/pages.ar/common/who.md new file mode 100644 index 00000000000000..0b33a8553330a9 --- /dev/null +++ b/pages.ar/common/who.md @@ -0,0 +1,17 @@ +# who + +> عرض المستخدمين المتصلين حاليًا والبيانات المتعلقة بهم (مثل العمليات ووقت الإقلاع). +> انظر أيضًا: `whoami`. +> لمزيد من التفاصيل: . + +- عرض أسماء المستخدمين والخطوط الزمنية للجلسات النشطة حاليًا: + +`who` + +- عرض جميع المعلومات المتاحة: + +`who {{[-a|--all]}}` + +- عرض جميع المعلومات المتاحة مع عناوين الأعمدة: + +`who {{[-aH|--all --heading]}}` diff --git a/pages.ar/common/whois.md b/pages.ar/common/whois.md new file mode 100644 index 00000000000000..f86cf73705fb8d --- /dev/null +++ b/pages.ar/common/whois.md @@ -0,0 +1,16 @@ +# whois + +> عميل سطر الأوامر لبروتوكول WHOIS (RFC 3912). +> لمزيد من التفاصيل: . + +- الحصول على معلومات حول اسم نطاق: + +`whois {{example.com}}` + +- الحصول على معلومات حول عنوان IP: + +`whois {{8.8.8.8}}` + +- الحصول على جهة الاتصال للإبلاغ عن إساءة استخدام عنوان IP: + +`whois -b {{8.8.8.8}}` diff --git a/pages.ar/common/xz.md b/pages.ar/common/xz.md new file mode 100644 index 00000000000000..c1b88b7b681df0 --- /dev/null +++ b/pages.ar/common/xz.md @@ -0,0 +1,36 @@ +# xz + +> ضغط أو فك ضغط ملفات XZ و LZMA. +> لمزيد من التفاصيل: . + +- ضغط ملف باستخدام xz: + +`xz {{path/to/file}}` + +- فك ضغط ملف XZ: + +`xz {{[-d|--decompress]}} {{path/to/file.xz}}` + +- ضغط ملف باستخدام خوارزمية lzma: + +`xz {{[-F|--format]}} lzma {{path/to/file}}` + +- فك ضغط ملف LZMA: + +`xz {{[-d|--decompress]}} {{[-F|--format]}} lzma {{path/to/file.lzma}}` + +- فك ضغط ملف وكتابته إلى المخرجات القياسية (stdout) (يتضمن `--keep`): + +`xz {{[-d|--decompress]}} {{[-c|--stdout]}} {{path/to/file.xz}}` + +- ضغط ملف بدون حذف النسخة الأصلية: + +`xz {{[-k|--keep]}} {{path/to/file}}` + +- ضغط ملف باستخدام أسرع ضغط: + +`xz -0 {{path/to/file}}` + +- ضغط ملف باستخدام أكفأ ضغط: + +`xz -9 {{path/to/file}}` diff --git a/pages.ar/common/yt-dlp.md b/pages.ar/common/yt-dlp.md new file mode 100644 index 00000000000000..69b917cb7ae245 --- /dev/null +++ b/pages.ar/common/yt-dlp.md @@ -0,0 +1,38 @@ +# yt-dlp + +> تّفرع من youtube-dl مع ميزات إضافية وتحسينات. +> لتحميل الفيديوهات من Youtube ومواقع أخرى. +> أنظر أيضاً: `ytfzf`. +> لمزيد من التفاصيل: . + +- لتحميل فيديو أو قائمة تشغيل (مع الأعدادات الأفتراضية): + +`yt-dlp "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- عرض جميع الصيغ المتوفرة للتحميل من الفيديو: + +`yt-dlp {{[-F|--list-formats]}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- تحميل فيديو أو قائمة تشغيل بأفضل جودة MP4 متاح (الأفتراضي: "bv\*+ba/b"): + +`yt-dlp {{[-f|--format]}} "{{bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]}}" "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- أستخراج الصوت فقط من الفيديو (يلزم توفر ffmpeg أو ffprobe): + +`yt-dlp {{[-x|--extract-audio]}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- لتحديد صيغة الصوت وجودته من الصوت المستخرج (بين 0 (الأفضل) و 10 (الأسوء), الأفتراضي = 5): + +`yt-dlp {{[-x|--extract-audio]}} --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- تحميل فقط العناصر الثانية والرابعة والخامسة والسادسة والأخيرة من قائمة التشغيل (مع العلم أنّ العنصر الأول يُحسب برقم 1، وليس 0): + +`yt-dlp {{[-I|--playlist-items]}} 2,4:6,-1 "{{https://youtube.com/playlist?list=PLbzoR-pLrL6pTJfLQ3UwtB-3V4fimdqnA}}"` + +- تحميل كل قوائم التشغيل من قناة اليويتوب/المستخدم, مع حفظ كل قائمة تشغيل في مجلد منفصل: + +`yt-dlp {{[-o|--output]}} "{{%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s}}" "{{https://www.youtube.com/user/TheLinuxFoundation/playlists}}"` + +- تحميل دورة من Udemy مع حفظ كل فصل في مجلد منفصل: + +`yt-dlp {{[-u|--username]}} {{user}} {{[-p|--password]}} {{password}} {{[-P|--paths]}} "{{path/to/directory}}" {{[-o|--output]}} "{{%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s}}" "{{https://www.udemy.com/java-tutorial}}"` diff --git a/pages.ar/common/zip.md b/pages.ar/common/zip.md new file mode 100644 index 00000000000000..baf9758ef2cd1d --- /dev/null +++ b/pages.ar/common/zip.md @@ -0,0 +1,33 @@ +# zip + +> أداة لضغط وحزم الملفات في أرشيف Zip. +> انظر أيضًا: `unzip`. +> لمزيد من التفاصيل: . + +- إضافة ملفات/مجلدات إلى أرشيف محدد ([r]بشكل متكرر): + +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- إزالة ملفات/مجلدات من أرشيف محدد ([d]حذف): + +`zip {{[-d|--delete]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- أرشفة ملفات/مجلدات مع [x]استثناء عناصر معينة: + +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{[-x|--exclude]}} {{path/to/excluded_files_or_directories}}` + +- أرشفة ملفات/مجلدات مع مستوى ضغط محدد (`0` - الأقل، `9` - الأعلى): + +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- إنشاء أرشيف [e]مشفر باستخدام كلمة مرور محددة: + +`zip {{[-re|--recurse-paths --encrypt]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- أرشفة ملفات/مجلدات في أرشيف Zip مقسم[s] إلى أجزاء متعددة (مثل أجزاء بحجم 3 جيجابايت): + +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- طباعة محتويات أرشيف محدد: + +`zip {{[-sf|--split-size --freshen]}} {{path/to/compressed.zip}}` diff --git a/pages.ar/linux/apt-get.md b/pages.ar/linux/apt-get.md new file mode 100644 index 00000000000000..f7d21e410c0ccc --- /dev/null +++ b/pages.ar/linux/apt-get.md @@ -0,0 +1,37 @@ +# apt-get + +> أداة إدارة الحزم لديبيان وأوبونتو. +> ابحث عن الحزم باستخدام `apt-cache`. +> لمزيد من التفاصيل: . + +- تحديث قائمة الحزم الموجودة وإصداراتها (يوصى بتشغيله قبل أي أمر `apt-get` آخر): + +`apt-get update` + +- تثبيت حزمة معينة، أو تحديثها إلى آخر إصدار متوفر: + +`apt-get install {{package}}` + +- إزالة حزمة معينة: + +`apt-get remove {{package}}` + +- إزالة حزمة معينة وملفات الإعدادات الخاصة بها: + +`apt-get purge {{package}}` + +- تطوير جميع الحزم المثبتة إلى أجدد الإصدارات المتوفرة: + +`apt-get upgrade` + +- تنظيف المستودع المحلي - إزالة ملفات الحزم (.deb) من التنزيلات المعطلة التي لم يعد من الممكن تنزيلها: + +`apt-get autoclean` + +- إزالة جميع الحزم التي لم تعد مطلوبة: + +`apt-get autoremove` + +- تطوير الحزم المثبتة (مثل `upgrade`)، ولكن تقوم بإزالة الحزم القديمة وتثبيت حزم إضافية لتلبية التوابع الجديدة: + +`apt-get dist-upgrade` diff --git a/pages.ar/linux/apt.md b/pages.ar/linux/apt.md new file mode 100644 index 00000000000000..51bce61e1920f5 --- /dev/null +++ b/pages.ar/linux/apt.md @@ -0,0 +1,38 @@ +# apt + +> أداة لإدارة الحزم للتوزيعات القائمة على ديبيان. +> بديل لـ `apt-get` عند الاستخدام الفعال في إصدارات أوبونتو 16.04 وما بعده. +> للاطّلاع على الأوامر المكافئة في مديري الحزم الآخرين، انظر: . +> لمزيد من التفاصيل: . + +- تحديث قائمة الحزم الموجودة وإصداراتها (يوصى بتشغيله قبل أي أمر `apt` آخر): + +`sudo apt update` + +- البحث عن حزمة بالاسم أو الوصف: + +`apt search {{package}}` + +- البحث عن الحزم بالاسم فقط (يدعم استخدام wildcards مثل `*`): + +`apt list {{package}}` + +- عرض معلومات تفصيلية حول حزمة معينة: + +`apt show {{package}}` + +- تثبيت حزمة جديدة، أو تحديثها إلى آخر إصدار متوفر: + +`sudo apt install {{package}}` + +- إزالة حزمة معينة (استخدم `purge` لحذف ملفات الإعدادات الخاصة بالحزمة): + +`sudo apt remove {{package}}` + +- تحديث جميع الحزم المثبتة إلى أجدد الإصدارات المتوفرة: + +`sudo apt upgrade` + +- إظهار قائمة جميع الحزم المثبتة: + +`apt list {{[-i|--installed]}}` diff --git a/pages.ar/linux/blkid.md b/pages.ar/linux/blkid.md new file mode 100644 index 00000000000000..cd7d708119d920 --- /dev/null +++ b/pages.ar/linux/blkid.md @@ -0,0 +1,12 @@ +# blkid + +> يعرض جميع الأقسام الخاصة بالقرص الصلب ومعرّفاتها الفريدة (UUID). +> لمزيد من التفاصيل: . + +- عرض جميع الأقسام: + +`sudo blkid` + +- عرض جميع الأقسام في جدول، بما في ذلك نقاط التحميل الحالية: + +`sudo blkid {{-o|--output}} list` diff --git a/pages.ar/linux/df.md b/pages.ar/linux/df.md new file mode 100644 index 00000000000000..7092689ff2999e --- /dev/null +++ b/pages.ar/linux/df.md @@ -0,0 +1,28 @@ +# df + +> عرض نظرة عامة على استخدام مساحة القرص لنظام الملفات. +> لمزيد من التفاصيل: . + +- عرض جميع أنظمة الملفات واستخدامها للقرص: + +`df` + +- عرض جميع أنظمة الملفات واستخدامها للقرص بصيغة قابلة للقراءة البشرية: + +`df {{[-h|--human-readable]}}` + +- عرض نظام الملفات واستخدامه للقرص الذي يحتوي على ملف أو مُجَلَّد معين: + +`df {{path/to/file_or_directory}}` + +- تضمين إحصائيات حول عدد العقد المتاحة (inodes): + +`df {{[-i|--inodes]}}` + +- عرض أنظمة الملفات مع استثناء أنواع محددة: + +`df {{[-x|--exclude-type]}} {{squashfs}} {{[-x|--exclude-type]}} {{tmpfs}}` + +- عرض أنواع أنظمة الملفات: + +`df {{[-T|--print-type]}}` diff --git a/pages.ar/linux/dialog.md b/pages.ar/linux/dialog.md new file mode 100644 index 00000000000000..2dedb92ed800b8 --- /dev/null +++ b/pages.ar/linux/dialog.md @@ -0,0 +1,16 @@ +# dialog + +> عرض نافذة حوار في الطرفية (Terminal). +> لمزيد من التفاصيل: . + +- عرض رسالة: + +`dialog --msgbox "{{Message}}" {{height}} {{width}}` + +- مطالبة المستخدم بإدخال نص: + +`dialog --inputbox "{{Enter text:}}" {{8}} {{40}} 2>{{output.txt}}` + +- مطالبة المستخدم بسؤال بنعم/لا: + +`dialog --yesno "{{Continue?}}" {{7}} {{40}}` diff --git a/pages.ar/linux/dockerd.md b/pages.ar/linux/dockerd.md new file mode 100644 index 00000000000000..7f542ea124246f --- /dev/null +++ b/pages.ar/linux/dockerd.md @@ -0,0 +1,24 @@ +# dockerd + +> هي عملية مستمرة تعمل في الخلفية تبدأها لتتحكم في حاويات الدوكر. +> لمزيد من التفاصيل: . + +- قم بتشغيل دوكر في الخلفية: + +`dockerd` + +- قم بتشغيل دوكر في الخلفية واجعله يستمع علي منفذ معين (يونكس وبروتوكول ضبط الإرسال): + +`dockerd --host unix://{{path/to/tmp.sock}} --host tcp://{{ip}}` + +- قم بتشغيل دوكر في الخلفية برقم عملية معين: + +`dockerd --pidfile {{path/to/pid_file}}` + +- قم بتشغيل دوكر في وضع التصحيح واكتشاف الأخطاء: + +`dockerd --debug` + +- قم بتشغيل دوكر وحدد له مستوي سجل معين: + +`dockerd --log-level {{debug|info|warn|error|fatal}}` diff --git a/pages.ar/linux/fprintd.md b/pages.ar/linux/fprintd.md new file mode 100644 index 00000000000000..bdbaa0770cbfc1 --- /dev/null +++ b/pages.ar/linux/fprintd.md @@ -0,0 +1,8 @@ +# fprintd + +> خدمة إدارة بصمات الأصابع. +> لمزيد من التفاصيل: . + +- عرض صفحة المساعدة لـ `fprintd`: + +`man fprintd` diff --git a/pages.ar/linux/getcap.md b/pages.ar/linux/getcap.md new file mode 100644 index 00000000000000..bb8f2b128a3215 --- /dev/null +++ b/pages.ar/linux/getcap.md @@ -0,0 +1,16 @@ +# getcap + +> أمر لعرض اسم وصلاحيات كل ملف محدد. +> لمزيد من التفاصيل: . + +- الحصول على الصلاحيات للملفات المحددة: + +`getcap {{path/to/file1 path/to/file2 ...}}` + +- (Recursive) الحصول على الصلاحيات لجميع الملفات داخل المجلدات المحددة بشكل متكرر: + +`getcap -r {{path/to/directory1 path/to/directory2 ...}}` + +- عرض جميع الإدخالات التي تم البحث عنها حتى لو لم يتم تعيين أي صلاحيات: + +`getcap -v {{path/to/file1 path/to/file2 ...}}` diff --git a/pages.ar/linux/gpasswd.md b/pages.ar/linux/gpasswd.md new file mode 100644 index 00000000000000..677023af1d2404 --- /dev/null +++ b/pages.ar/linux/gpasswd.md @@ -0,0 +1,24 @@ +# gpasswd + +> إدارة `/etc/group` و `/etc/gshadow`. +> لمزيد من التفاصيل: . + +- عرّف مديرين المجموعة المسماة: + +`sudo gpasswd {{[-A|--administrators]}} {{user1,user2}} {{group}}` + +- عين أعضاء المجموعة المسماة: + +`sudo gpasswd {{[-M|--members]}} {{user1,user2}} {{group}}` + +- إنشئ رقم سري للمجموعة المسماة: + +`gpasswd {{group}}` + +- أضف عضو إلي المجموعة المسماة: + +`gpasswd {{[-a|--add]}} {{user}} {{group}}` + +- إحذف عضو من المجموعة المسماة: + +`gpasswd {{[-d|--delete]}} {{user}} {{group}}` diff --git a/pages.ar/linux/head.md b/pages.ar/linux/head.md new file mode 100644 index 00000000000000..42915e0ff56fb9 --- /dev/null +++ b/pages.ar/linux/head.md @@ -0,0 +1,20 @@ +# head + +> عرض الجزء الأول من الملفات. +> لمزيد من التفاصيل: . + +- عرض أول عدد معين من الأسطر من ملف: + +`head {{[-n|--lines]}} {{count}} {{path/to/file}}` + +- عرض أول عدد معين من البايتات من ملف: + +`head {{[-c|--bytes]}} {{count}} {{path/to/file}}` + +- عرض كل شيء باستثناء آخر عدد معين من الأسطر من ملف: + +`head {{[-n|--lines]}} -{{count}} {{path/to/file}}` + +- عرض كل شيء باستثناء آخر عدد معين من البايتات من ملف: + +`head {{[-c|--bytes]}} -{{count}} {{path/to/file}}` diff --git a/pages.ar/linux/hostnamectl.md b/pages.ar/linux/hostnamectl.md new file mode 100644 index 00000000000000..459481fe93e175 --- /dev/null +++ b/pages.ar/linux/hostnamectl.md @@ -0,0 +1,20 @@ +# hostnamectl + +> الحصول على اسم المضيف أو تعيينه لجهاز الكمبيوتر. +> لمزيد من التفاصيل: . + +- الحصول على اسم المضيف لجهاز الكمبيوتر: + +`hostnamectl` + +- تعيين اسم المضيف لجهاز الكمبيوتر: + +`sudo hostnamectl set-hostname "{{hostname}}"` + +- تعيين اسم مضيف مُنَظَّم لجهاز الكمبيوتر: + +`sudo hostnamectl set-hostname --static "{{hostname.example.com}}" && sudo hostnamectl set-hostname --pretty "{{hostname}}"` + +- إعادة تعيين اسم المضيف إلى قيمته الافتراضية: + +`sudo hostnamectl set-hostname --pretty ""` diff --git a/pages.ar/linux/ip-route-list.md b/pages.ar/linux/ip-route-list.md new file mode 100644 index 00000000000000..4ef9381280e7cd --- /dev/null +++ b/pages.ar/linux/ip-route-list.md @@ -0,0 +1,36 @@ +# ip route list + +> أمر فرعي لعرض جدول التوجيه في نظام الشبكة. +> لمزيد من التفاصيل: . + +- عرض جدول التوجيه الرئيسي: + +`ip {{[r|route]}} {{[l|list]}}` + +- عرض جدول التوجيه الرئيسي (نفس المثال الأول): + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{main|254}}` + +- عرض جدول التوجيه المحلي: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{local|255}}` + +- عرض جميع جداول التوجيه: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{all|unspec|0}}` + +- عرض المسارات الخاصة بواجهة معينة فقط: + +`ip {{[r|route]}} {{[l|list]}} dev {{ethX}}` + +- عرض المسارات داخل نطاق معين: + +`ip {{[r|route]}} {{[l|list]}} {{[s|scope]}} link` + +- عرض ذاكرة التخزين المؤقت للمسارات: + +`ip {{[r|route]}} {{[l|list]}} {{[c|cache]}}` + +- عرض مسارات IPv6 أو IPv4 فقط: + +`ip {{-6|-4}} {{[r|route]}}` diff --git a/pages.ar/linux/ip-route-show.md b/pages.ar/linux/ip-route-show.md new file mode 100644 index 00000000000000..459d89fdfe7bf1 --- /dev/null +++ b/pages.ar/linux/ip-route-show.md @@ -0,0 +1,7 @@ +# ip route show + +> هذا الأمر هو اسم مستعار لـ `ip route list`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr ip route list` diff --git a/pages.ar/linux/kill.md b/pages.ar/linux/kill.md new file mode 100644 index 00000000000000..6680079efabc99 --- /dev/null +++ b/pages.ar/linux/kill.md @@ -0,0 +1,37 @@ +# kill + +> يرسل إشارة إلى عملية (Process)، وعادةً ما يكون ذلك متعلقًا بإيقاف العملية. +> يمكن اعتراض جميع الإشارات باستثناء SIGKILL وSIGSTOP بواسطة العملية لتنفيذ خروج نظيف. +> لمزيد من التفاصيل: . + +- إنهاء برنامج باستخدام الإشارة الافتراضية SIGTERM (إنهاء): + +`kill {{process_id}}` + +- عرض قيم الإشارات وأسمائها المقابلة (يجب استخدامها بدون البادئة `SIG`). قد تختلف الخيارات المتاحة حسب تنفيذ `kill`: + +`kill {{-l|-L|--table}}` + +- إنهاء وظيفة (Job) تعمل في الخلفية: + +`kill %{{job_id}}` + +- إنهاء برنامج باستخدام الإشارة SIGHUP (قطع الاتصال). العديد من الخدمات (Daemons) ستقوم بإعادة التحميل بدلاً من الإنهاء: + +`kill -{{1|HUP}} {{process_id}}` + +- إنهاء برنامج باستخدام الإشارة SIGINT (المقاطعة). يتم تنفيذ ذلك عادةً عند ضغط المستخدم على ``: + +`kill -{{2|INT}} {{process_id}}` + +- إرسال إشارة إلى نظام التشغيل لإنهاء برنامج فورًا (لن تتاح له فرصة لمعالجة الإشارة): + +`kill -{{9|KILL}} {{process_id}}` + +- إرسال إشارة إلى نظام التشغيل لإيقاف برنامج مؤقتًا حتى يتم استقبال إشارة SIGCONT ("المتابعة"): + +`kill -{{17|STOP}} {{process_id}}` + +- إرسال إشارة `SIGUSR1` إلى جميع العمليات التي تملك معرف المجموعة (GID) المحدد: + +`kill -{{SIGUSR1}} -{{group_id}}` diff --git a/pages.ar/linux/pacman.md b/pages.ar/linux/pacman.md new file mode 100644 index 00000000000000..323b200db82424 --- /dev/null +++ b/pages.ar/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> أداة مدير الحزم لنظام Arch Linux. +> انظر أيضًا: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`. +> لأوامر مكافئة في مديري الحزم الآخرين، انظر . +> لمزيد من التفاصيل: . + +- مزامنة وتحديث جميع الحزم: + +`sudo pacman -Syu` + +- تثبيت حزمة جديدة: + +`sudo pacman -S {{package}}` + +- إزالة حزمة والتبعيات الخاصة بها: + +`sudo pacman -Rs {{package}}` + +- البحث في قاعدة بيانات الحزم عن تعبير نمطي (Regular Expresssion) أو كلمة مفتاحية: + +`pacman -Ss "{{search_pattern}}"` + +- البحث في قاعدة البيانات عن الحزم التي تحتوي على ملف محدد: + +`pacman -F "{{file_name}}"` + +- عرض الحزم المثبتة بشكل صريح (تم تثبيتها يدويًا بواسطة المستخدم) مع إصداراتها: + +`pacman -Qe` + +- عرض الحزم اليتيمة (المثبتة كـ تبعيات ولكنها غير مطلوبة من قبل أي حزمة): + +`pacman -Qtdq` + +- تفريغ ذاكرة التخزين المؤقت بالكامل لـ `pacman`: + +`sudo pacman -Scc` diff --git a/pages.ar/linux/rkhunter.md b/pages.ar/linux/rkhunter.md new file mode 100644 index 00000000000000..b3ef96b6eea4e1 --- /dev/null +++ b/pages.ar/linux/rkhunter.md @@ -0,0 +1,24 @@ +# rkhunter + +> يبحث عن برامج روتكيت والبرمجيات الخبيثة. +> لمزيد من التفاصيل: . + +- فحص النظام للبحث عن برامج روتكيت والبرمجيات الخبيثة: + +`sudo rkhunter --check` + +- تحديث rkhunter: + +`sudo rkhunter --update` + +- عرض جميع الاختبارات المتاحة: + +`sudo rkhunter --list` + +- عرض الإصدار: + +`sudo rkhunter --versioncheck` + +- عرض المساعدة: + +`sudo rkhunter --help` diff --git a/pages.ar/linux/setcap.md b/pages.ar/linux/setcap.md new file mode 100644 index 00000000000000..c8c2a2673f525a --- /dev/null +++ b/pages.ar/linux/setcap.md @@ -0,0 +1,25 @@ +# setcap + +> تعيين الصلاحيات لملف محدد. +> انظر أيضًا: `getcap`. +> لمزيد من التفاصيل: . + +- تعيين الصلاحية `cap_net_raw` (لاستخدام مآخذ RAW و PACKET) لملف معين: + +`setcap '{{cap_net_raw}}' {{path/to/file}}` + +- تعيين عدة صلاحيات على ملف (`ep` خلف الصلاحية تعني "مفعلة ومسموح بها"): + +`setcap '{{cap_dac_read_search,cap_sys_tty_config+ep}}' {{path/to/file}}` + +- إزالة جميع الصلاحيات من ملف: + +`setcap -r {{path/to/file}}` + +- التحقق من أن الصلاحيات المحددة مرتبطة حاليًا بالملف المحدد: + +`setcap -v '{{cap_net_raw}}' {{path/to/file}}` + +- يمكن استخدام المعامل الاختياري `-n root_uid` لتعيين صلاحيات الملف لاستخدامها فقط في نطاق مستخدم معين مع هذا المعرّف الجذري: + +`setcap -n {{root_uid}} '{{cap_net_admin}}' {{path/to/file}}` diff --git a/pages.ar/linux/ss.md b/pages.ar/linux/ss.md new file mode 100644 index 00000000000000..958a75cba57b96 --- /dev/null +++ b/pages.ar/linux/ss.md @@ -0,0 +1,36 @@ +# ss + +> أداة للتحقيق في المقابس (Sockets) و المنافذ. +> لمزيد من التفاصيل: . + +- عرض جميع مقابس TCP/UDP/RAW/UNIX: + +`ss {{[-a|--all]}} {{-t|-u|-w|-x}}` + +- تصفية مقابس TCP حسب الحالات، تضمين/استبعاد: + +`ss {{state|exclude}} {{bucket|big|connected|synchronized|...}}` + +- عرض جميع مقابس TCP المتصلة بمنفذ HTTPS المحلي (443): + +`ss {{[-t|--tcp]}} src :{{443}}` + +- عرض جميع مقابس TCP التي تستمع على المنفذ المحلي 8080: + +`ss {{[-lt|--listening --tcp]}} src :{{8080}}` + +- عرض جميع مقابس TCP مع العمليات المتصلة بمنفذ SSH الخارجي: + +`ss {{[-pt|--processes --tcp]}} dst :{{ssh}}` + +- عرض جميع مقابس UDP المتصلة بمنفذ مصدر ومنفذ وجهة محددين: + +`ss {{[-u|--udp]}} 'sport == :{{source_port}} and dport == :{{destination_port}}'` + +- عرض جميع مقابس TCP IPv4 المتصلة محليًا على الشبكة الفرعية 192.168.0.0/16: + +`ss {{[-4t|--ipv4 --tcp]}} src {{192.168/16}}` + +- إنهاء اتصال مقبس IPv4 أو IPv6 مع عنوان الوجهة 192.168.1.17 والمنفذ 8080: + +`ss {{[-K|--kill]}} dst {{192.168.1.17}} dport = {{8080}}` diff --git a/pages.ar/linux/systemctl.md b/pages.ar/linux/systemctl.md new file mode 100644 index 00000000000000..a83e599ee78f94 --- /dev/null +++ b/pages.ar/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> التحكم في مدير نظام systemd والخدمات. +> لمزيد من التفاصيل: . + +- عرض جميع الخدمات قيد التشغيل: + +`systemctl status` + +- عرض الوحدات الفاشلة: + +`systemctl --failed` + +- بدء/إيقاف/إعادة تشغيل/إعادة تحميل/عرض حالة خدمة: + +`systemctl {{start|stop|restart|reload|status}} {{unit}}` + +- تمكين/تعطيل وحدة ليتم تشغيلها عند بدء تشغيل النظام: + +`systemctl {{enable|disable}} {{unit}}` + +- إعادة تحميل systemd والبحث عن وحدات جديدة أو متغيرة: + +`systemctl daemon-reload` + +- التحقق مما إذا كانت الوحدة نشطة/مُمكّنة/فاشلة: + +`systemctl {{is-active|is-enabled|is-failed}} {{unit}}` + +- عرض جميع وحدات الخدمة/المقبس/التركيب التلقائي مع التصفية حسب الحالة (قيد التشغيل/فاشلة): + +`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` + +- عرض محتويات ومسار ملف الوحدة: + +`systemctl cat {{unit}}` diff --git a/pages.ar/linux/tor.md b/pages.ar/linux/tor.md new file mode 100644 index 00000000000000..d3330f1ac3c9f5 --- /dev/null +++ b/pages.ar/linux/tor.md @@ -0,0 +1,32 @@ +# tor + +> تمكين الاتصال المجهول عبر شبكة تور. +> لمزيد من التفاصيل: . + +- الاتصال بشبكة تور: + +`tor` + +- عرض إعدادات تور: + +`tor --config` + +- التحقق من حالة تور: + +`tor --status` + +- التشغيل كعميل فقط: + +`tor --client` + +- التشغيل كنقطة تمرير: + +`tor --relay` + +- التشغيل كجسر: + +`tor --bridge` + +- التشغيل كخدمة مخفية: + +`tor --hidden-service` diff --git a/pages.ar/linux/ufw.md b/pages.ar/linux/ufw.md new file mode 100644 index 00000000000000..65cd20b8b3430c --- /dev/null +++ b/pages.ar/linux/ufw.md @@ -0,0 +1,37 @@ +# ufw + +> جدار حماية بسيط. +> واجهة أمامية لـ `iptables` تهدف إلى تسهيل تكوين جدار الحماية. +> لمزيد من التفاصيل: . + +- تفعيل ufw: + +`ufw enable` + +- تعطيل ufw: + +`ufw disable` + +- عرض قواعد ufw مع أرقامها: + +`ufw status numbered` + +- السماح بحركة المرور الواردة على المنفذ 5432 مع تعليق يحدد الخدمة: + +`ufw allow {{5432}} comment "{{Service}}"` + +- السماح بحركة مرور TCP فقط من العنوان 192.168.0.4 إلى أي عنوان على هذا الجهاز، على المنفذ 22: + +`ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}` + +- منع حركة المرور على المنفذ 80 على هذا الجهاز: + +`ufw deny {{80}}` + +- منع جميع حركة مرور UDP إلى المنافذ في النطاق 8412:8500: + +`ufw deny proto {{udp}} from {{any}} to {{any}} port {{8412:8500}}` + +- حذف قاعدة معينة. يمكن الحصول على رقم القاعدة من أمر `ufw status numbered`: + +`ufw delete {{rule_number}}` diff --git a/pages.ar/linux/vnstat.md b/pages.ar/linux/vnstat.md new file mode 100644 index 00000000000000..b7d98e202c8ea5 --- /dev/null +++ b/pages.ar/linux/vnstat.md @@ -0,0 +1,24 @@ +# vnstat + +> مراقبة حركة مرور الشبكة عن طريق وحدة تحكم. +> لمزيد من التفاصيل: . + +- عرض ملخص حركة المرور لجميع الواجهات: + +`vnstat` + +- عرض ملخص حركة المرور لواجهة شبكة محددة: + +`vnstat -i {{network_interface}}` + +- عرض إحصائيات مباشرة لواجهة شبكة محددة: + +`vnstat -l -i {{network_interface}}` + +- عرض إحصائيات حركة المرور على أساس كل ساعة خلال آخر 24 ساعة باستخدام رسم بياني شريطي: + +`vnstat -hg` + +- قياس وعرض متوسط حركة المرور لمدة 30 ثانية: + +`vnstat -tr {{30}}` diff --git a/pages.ar/linux/xclip.md b/pages.ar/linux/xclip.md new file mode 100644 index 00000000000000..89d48a0b76b977 --- /dev/null +++ b/pages.ar/linux/xclip.md @@ -0,0 +1,37 @@ +# xclip + +> أداة معالجة لحافظة x11، تشبه إلي حد ما `xsel`. +> تتعامل مع الحافظة الأولية والثانوية لـ x، بالإضافة إلي حافظة النظام (``/``). +> لمزيد من التفاصيل: . + +- إنسخ ناتج الخرج من أمر إلي حافظة x11 الأولية: + +`echo 123 | xclip` + +- إنسخ ناتج الخرج من أمر إلي الحافظة المختارة: + +`echo 123 | xclip -selection {{primary|secondary|clipboard}}` + +- إنسخ ناتج الخرج من أمر إلي حافظة النظام، باستخدام الصيغة المختصرة: + +`echo 123 | xclip -sel clip` + +- إنسخ محتوي ملف إلي حافظة النظام: + +`xclip -sel clip {{input_file.txt}}` + +- إنسخ محتوي صورة بصيغة PNG إلي حافظة النظام (يمكن أن تستخدم في أي برنامج عن طريق لصق): + +`xclip -sel clip -t image/png {{input_file.png}}` + +- إنسخ إدخال المستخدم في الطرفية أو الكونسول إلي حافظة النظام: + +`xclip -i` + +- إلصق محتوي حافظة x11 الأولية إلي الطرفية أو الكونسول: + +`xclip -o` + +- إلصق محتوي حافظة النظام إلي الطرفية أو الكونسول: + +`xclip -o -sel clip` diff --git a/pages.ar/windows/del.md b/pages.ar/windows/del.md new file mode 100644 index 00000000000000..e0365ade4a1a0b --- /dev/null +++ b/pages.ar/windows/del.md @@ -0,0 +1,38 @@ +# del + +> حذف ملف واحد او مجموعه من الملفات. +> وهو الاسم المستعار للامر `Remove-Item`. +> هذه الوثائق تستند إلى إصدار سطر الأوامر (`cmd`) من `del`. +> لمزيد من التفاصيل: . + +- اعرض التوثيقات للأمر الأصلي: + +`tldr remove-item` + +- حذف ملف او أكثر او حذف التطابق مع أنماط: + +`del {{file_pattern1 file_pattern2 ...}}` + +- التأكيد قبل الحذف: + +`del {{file_pattern}} /p` + +- حذف ملفات القراءة فقط: + +`del {{file_pattern}} /f` + +- حذف الملفات الموجودة في المجلد الحالي وأيضًا الملفات الفرعية: + +`del {{file_pattern}} /s` + +- لا تطلب التأكيد عند حذف الملفات بناءً على محدد عام: + +`del {{file_pattern}} /q` + +- عرض المساعدة وقائمة السمات المتاحة: + +`del /?` + +- حذف ملف اعتمادا على محدد معين: + +`del {{file_pattern}} /a {{attribute}}` diff --git a/pages.ar/windows/iwr.md b/pages.ar/windows/iwr.md new file mode 100644 index 00000000000000..ea304a61fd2d46 --- /dev/null +++ b/pages.ar/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> هذا الأمر هو اسم مستعار لـ `invoke-webrequest`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr invoke-webrequest` diff --git a/pages.ar/windows/pwsh-where.md b/pages.ar/windows/pwsh-where.md new file mode 100644 index 00000000000000..eac32fe43b003a --- /dev/null +++ b/pages.ar/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> هذا الأمر هو اسم مستعار لـ `Where-Object`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr Where-Object` diff --git a/pages.ar/windows/sls.md b/pages.ar/windows/sls.md new file mode 100644 index 00000000000000..fe012c4b6cfc0b --- /dev/null +++ b/pages.ar/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> هذا الأمر هو اسم مستعار لـ `Select-String`. + +- إعرض التوثيقات للأمر الأصلي: + +`tldr select-string` diff --git a/pages.bn/android/am.md b/pages.bn/android/am.md new file mode 100644 index 00000000000000..4587f7ed6b7ee9 --- /dev/null +++ b/pages.bn/android/am.md @@ -0,0 +1,20 @@ +# am + +> অ্যান্ড্রয়েড অ্যাক্টিভিটি ম্যানেজার। +> আরও তথ্য পাবেন: । + +- একটি নির্দিষ্ট কার্যকলাপ শুরু করুন: + +`am start -n {{com.android.settings/.Settings}}` + +- একটি কার্যকলাপ শুরু করুন এবং এতে ডেটা পাঠান: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- একটি নির্দিষ্ট কর্ম এবং বিভাগের সাথে মেলে এমন একটি কার্যকলাপ শুরু করুন: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- একটি উদ্দেশ্যকে একটি URI-তে রূপান্তর করুন: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.bn/android/bugreport.md b/pages.bn/android/bugreport.md new file mode 100644 index 00000000000000..7fe3a4bc84525d --- /dev/null +++ b/pages.bn/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> একটি অ্যান্ড্রয়েড বাগ রিপোর্ট দেখান। +> এই কমান্ডটি শুধুমাত্র `adb shell` এর মাধ্যমে ব্যবহার করা যেতে পারে। +> আরও তথ্য পাবেন: । + +- একটি অ্যান্ড্রয়েড ডিভাইসের একটি সম্পূর্ণ বাগ রিপোর্ট দেখান: + +`bugreport` diff --git a/pages.bn/android/bugreportz.md b/pages.bn/android/bugreportz.md new file mode 100644 index 00000000000000..5cad67ec91fdce --- /dev/null +++ b/pages.bn/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> একটি জিপ করা অ্যান্ড্রয়েড বাগ রিপোর্ট তৈরি করুন। +> এই কমান্ডটি শুধুমাত্র `adb shell` এর মাধ্যমে ব্যবহার করা যেতে পারে। +> আরও তথ্য পাবেন: । + +- একটি অ্যান্ড্রয়েড ডিভাইসের একটি সম্পূর্ণ জিপ করা বাগ রিপোর্ট তৈরি করুন: + +`bugreportz` + +- চলমান অপারেশনের অগ্রগতি দেখুন: + +`bugreportz -p` + +- সাহায্য প্রদর্শন: + +`bugreportz -h` + +- সংস্করণ দেখুন: + +`bugreportz -v` diff --git a/pages.bn/android/cmd.md b/pages.bn/android/cmd.md new file mode 100644 index 00000000000000..2cb631b3fd0e1f --- /dev/null +++ b/pages.bn/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> অ্যান্ড্রয়েড সার্ভিস ম্যানেজার। +> আরও তথ্য পাবেন: । + +- প্রতিটি চলমান পরিষেবা তালিকা করুন: + +`cmd -l` + +- একটি নির্দিষ্ট পরিষেবা কল করুন: + +`cmd {{অ্যালার্ম}}` + +- আর্গুমেন্টসহ সহ একটি পরিষেবা কল করুন: + +`cmd {{ভাইব্রেটর}} {{ভাইব্রেটর ৩০০}}` diff --git a/pages.bn/android/dalvikvm.md b/pages.bn/android/dalvikvm.md new file mode 100644 index 00000000000000..9f89caac603bf8 --- /dev/null +++ b/pages.bn/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> অ্যান্ড্রয়েড জাভা ভার্চুয়াল মেশিন। +> আরও তথ্য পাবেন: । + +- একটি নির্দিষ্ট জাভা প্রোগ্রাম শুরু করুন: + +`dalvikvm -classpath {{ফাইল.jar/এর/পথ}} {{ক্লাসের নাম}}` diff --git a/pages.bn/android/dumpsys.md b/pages.bn/android/dumpsys.md new file mode 100644 index 00000000000000..86fd08e09560a9 --- /dev/null +++ b/pages.bn/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> অ্যান্ড্রয়েড সিস্টেম পরিষেবা সম্পর্কে তথ্য প্রদান করে। +> এই কমান্ডটি শুধুমাত্র `adb shell` এর মাধ্যমে ব্যবহার করা যেতে পারে। +> আরও তথ্য পাবেন: । + +- সমস্ত সিস্টেম পরিষেবার জন্য ডায়াগনস্টিক আউটপুট পান: + +`dumpsys` + +- একটি নির্দিষ্ট সিস্টেম পরিষেবার জন্য ডায়গনিস্টিক আউটপুট পান: + +`dumpsys {{পরিষেবা}}` + +- 'ডাম্পসিস' যে সমস্ত পরিষেবা সম্পর্কে তথ্য দিতে পারে তাদের তালিকা করুন: + +`dumpsys -l` + +- একটি পরিষেবার জন্য পরিষেবা-নির্দিষ্ট আর্গুমেন্ট তালিকা করুন: + +`dumpsys {{পরিষেবা}} -h` + +- ডায়গনিস্টিক আউটপুট থেকে একটি নির্দিষ্ট পরিষেবা বাদ দিন: + +`dumpsys --skip {{পরিষেবা}}` + +- সেকেন্ডে একটি সময়সীমা নির্দিষ্ট করুন (ডিফল্ট 10 সেকেন্ড): + +`dumpsys -t {{1..অসীম}}` diff --git a/pages.bn/android/getprop.md b/pages.bn/android/getprop.md new file mode 100644 index 00000000000000..c50c8678900df5 --- /dev/null +++ b/pages.bn/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> অ্যান্ড্রয়েড সিস্টেম বৈশিষ্ট্য সম্পর্কে তথ্য দেখান। +> আরও তথ্য পাবেন: । + +- অ্যান্ড্রয়েড সিস্টেম বৈশিষ্ট্য সম্পর্কে তথ্য প্রদর্শন করুন: + +`getprop` + +- একটি নির্দিষ্ট সম্পত্তি সম্পর্কে তথ্য প্রদর্শন করুন: + +`getprop {{সম্পত্তি}}` + +- SDK API স্তর প্রদর্শন করুন: + +`getprop {{ro.build.version.sdk}}` + +- অ্যান্ড্রয়েড সংস্করণ প্রদর্শন করুন: + +`getprop {{ro.build.version.release}}` + +- অ্যান্ড্রয়েড ডিভাইস মডেল প্রদর্শন করুন: + +`getprop {{ro.vendor.product.model}}` + +- OEM আনলক স্থিতি প্রদর্শন করুন: + +`getprop {{ro.oem_unlock_supported}}` + +- Android এর Wi-Fi কার্ডের MAC ঠিকানা প্রদর্শন করুন: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.bn/android/input.md b/pages.bn/android/input.md new file mode 100644 index 00000000000000..e08b38742ef242 --- /dev/null +++ b/pages.bn/android/input.md @@ -0,0 +1,25 @@ +# input + +> একটি Android ডিভাইসে ইভেন্ট কোড বা টাচস্ক্রিন অঙ্গভঙ্গি পাঠান। +> এই কমান্ডটি শুধুমাত্র `adb shell` এর মাধ্যমে ব্যবহার করা যেতে পারে। +> আরও তথ্য পাবেন: । + +- একটি Android ডিভাইসে একটি একক অক্ষরের জন্য একটি ইভেন্ট কোড পাঠান: + +`input keyevent {{ইভেন্ট_কোড}}` + +- একটি অ্যান্ড্রয়েড ডিভাইসে একটি পাঠ্য পাঠান (`%s` স্পেস প্রতিনিধিত্ব করে): + +`input text "{{স্ট্রিং}}"` + +- একটি Android ডিভাইসে একটি একক ট্যাপ পাঠান: + +`input tap {{x_অবস্থান}} {{y_অবস্থান}}` + +- একটি Android ডিভাইসে একটি সোয়াইপ অঙ্গভঙ্গি পাঠান: + +`input swipe {{x_শুরু}} {{y_শুরু}} {{x_শেষ}} {{y_শেষ}} {{1..অসীম}}` + +- একটি সোয়াইপ অঙ্গভঙ্গি ব্যবহার করে একটি Android ডিভাইসে একটি দীর্ঘ প্রেস পাঠান: + +`input swipe {{x_অবস্থান}} {{y_অবস্থান}} {{x_অবস্থান}} {{y_অবস্থান}} {{1..অসীম}}` diff --git a/pages.bn/android/logcat.md b/pages.bn/android/logcat.md new file mode 100644 index 00000000000000..ad33bf4456a5e5 --- /dev/null +++ b/pages.bn/android/logcat.md @@ -0,0 +1,16 @@ +# logcat + +> সিস্টেম বার্তার একটি লগ ডাম্প করুন, যখন একটি ত্রুটি ঘটেছে স্ট্যাক ট্রেস সহ, এবং অ্যাপ্লিকেশন দ্বারা লগ করা তথ্য বার্তা। +> আরও তথ্য পাবেন: । + +- সিস্টেম লগগুলি প্রদর্শন করুন: + +`logcat` + +- একটি ফাইলে সিস্টেম লগ লিখুন: + +`logcat -f {{ফাইলের/পথ}}` + +- রেগুলার এক্সপ্রেশনের সাথে মেলে এমন লাইনগুলি প্রদর্শন করুন: + +`logcat --regex {{সাধারণ_অভিব্যক্তি}}` diff --git a/pages.bn/android/pkg.md b/pages.bn/android/pkg.md new file mode 100644 index 00000000000000..400bfb79631dd7 --- /dev/null +++ b/pages.bn/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Termux এর জন্য একটি প্যাকেজ ব্যবস্থাপনা ইউটিলিটি। +> আরও তথ্য পাবেন: । + +- সমস্ত ইনস্টল করা প্যাকেজ আপগ্রেড করুন: + +`pkg upgrade` + +- একটি নির্দিষ্ট প্যাকেজ ইনস্টল করুন: + +`pkg install {{প্যাকেজ}}` + +- একটি নির্দিষ্ট প্যাকেজ আনইনস্টল করুন: + +`pkg uninstall {{প্যাকেজ}}` + +- একটি নির্দিষ্ট প্যাকেজ পুনরায় ইনস্টল করুন: + +`pkg reinstall {{প্যাকেজ}}` + +- একটি নির্দিষ্ট প্যাকেজ অনুসন্ধান করুন: + +`pkg search {{প্যাকেজ}}` diff --git a/pages.bn/android/pm.md b/pages.bn/android/pm.md new file mode 100644 index 00000000000000..01987c88e7e4e9 --- /dev/null +++ b/pages.bn/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> একটি Android ডিভাইসে অ্যাপ্লিকেশন সম্পর্কে তথ্য দেখান। +> আরও তথ্য পাবেন: । + +- সমস্ত ইনস্টল করা অ্যাপের একটি তালিকা প্রিন্ট করুন: + +`pm list packages` + +- সমস্ত ইনস্টল করা সিস্টেম অ্যাপের একটি তালিকা প্রিন্ট করুন: + +`pm list packages -s` + +- সমস্ত ইনস্টল করা থার্ড-পার্টি অ্যাপের একটি তালিকা প্রিন্ট করুন: + +`pm list packages -3` + +- নির্দিষ্ট কীওয়ার্ডের সাথে মিলে যাওয়া অ্যাপগুলির একটি তালিকা প্রিন্ট করুন: + +`pm list packages {{কীওয়ার্ড১ কীওয়ার্ড২...}}` + +- একটি নির্দিষ্ট অ্যাপের APK এর পথ প্রিন্ট করুন: + +`pm path {{অ্যাপ}}` diff --git a/pages.bn/android/screencap.md b/pages.bn/android/screencap.md new file mode 100644 index 00000000000000..ba380f1c4a90c7 --- /dev/null +++ b/pages.bn/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> একটি মোবাইল ডিসপ্লের স্ক্রিনশট নিন। +> এই কমান্ডটি শুধুমাত্র `adb shell` এর মাধ্যমে ব্যবহার করা যেতে পারে। +> আরও তথ্য পাবেন: । + +- একটি স্ক্রিনশট নিন: + +`screencap {{ফাইলের/পথ}}` diff --git a/pages.bn/android/settings.md b/pages.bn/android/settings.md new file mode 100644 index 00000000000000..35df0fc0400bcb --- /dev/null +++ b/pages.bn/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Android OS সম্পর্কে তথ্য পান। +> আরও তথ্য পাবেন: . + +- `global` নামস্থানে সেটিংসের একটি তালিকা প্রদর্শন করুন: + +`settings list {{গ্লোবাল}}` + +- একটি নির্দিষ্ট সেটিং এর মান পান: + +`settings get {{global}} {{airplane_mode_on}}` + +- একটি সেটিং এর একটি নির্দিষ্ট মান সেট করুন: + +`settings put {{system}} {{screen_brightness}} {{1..100}}` + +- একটি নির্দিষ্ট সেটিং মুছুন: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.bn/android/wm.md b/pages.bn/android/wm.md new file mode 100644 index 00000000000000..0f5537a00fa423 --- /dev/null +++ b/pages.bn/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> একটি অ্যান্ড্রয়েড ডিভাইসের স্ক্রীন সম্পর্কে তথ্য দেখান। +> এই কমান্ডটি শুধুমাত্র `adb shell` এর মাধ্যমে ব্যবহার করা যেতে পারে। +> আরও তথ্য পাবেন: . + +- একটি অ্যান্ড্রয়েড ডিভাইসের স্ক্রিনের শারীরিক আকার প্রদর্শন করুন: + +`wm size` + +- একটি অ্যান্ড্রয়েড ডিভাইসের স্ক্রিনের শারীরিক ঘনত্ব প্রদর্শন করুন: + +`wm density` diff --git a/pages.bn/common/!.md b/pages.bn/common/!.md new file mode 100644 index 00000000000000..1da8b6f2001e95 --- /dev/null +++ b/pages.bn/common/!.md @@ -0,0 +1,24 @@ +# ! + +> ইতিহাসে পেয়ে যাওয়া কমান্ড দিয়ে বিকল্প বাছানোর জন্য ব্যবহৃত ব্যাশ শেলে পুনর্নির্মিত। +> আরও তথ্য পাবেন: । + +- সুডো দিয়ে আগের কমান্ড পুনর্নির্মিত করুন: + +`sudo !!` + +- `history` দিয়ে পেয়ে যাওয়া লাইন নম্বরের ভিতরে একটি কমান্ড পুনর্নির্মিত করুন: + +`!{{নম্বর}}` + +- নির্ধারিত সংখ্যা লাইনগুলির ভিতরে একটি কমান্ড পুনর্নির্মিত করুন: + +`!-{{নম্বর}}` + +- সর্বশেষ কমান্ড থেকে পুনর্নির্মিত করুন যা স্ট্রিং দিয়ে শুরু হয়: + +`!{{স্ট্রিং}}` + +- নতুন অর্ডারের আঙ্গুলির সাথে পুনর্নির্মিত করুন: + +`{{কমান্ড}} !*` diff --git a/pages.bn/common/2to3.md b/pages.bn/common/2to3.md new file mode 100644 index 00000000000000..83e8de5db83e1a --- /dev/null +++ b/pages.bn/common/2to3.md @@ -0,0 +1,32 @@ +# 2to3 + +> স্বয়ংক্রিয় পাইথন ২ থেকে ৩ কোড রূপান্তর। +> আরও তথ্য পাবেন: । + +- পরিবর্তনগুলি প্রদর্শন করুন যা করা হবে তা না করে (ড্রাই-রান): + +`2to3 {{ফাইলের/পথ.py}}` + +- একটি পাইথন 2 ফাইলকে পাইথন 3 এ রূপান্তর করুন: + +`2to3 --write {{ফাইলের/পথ.py}}` + +- নির্দিষ্ট পাইথন 2 ভাষা বৈশিষ্ট্যগুলি পাইথন 3 এ রূপান্তর করুন: + +`2to3 --write {{ফাইলের/পথ.py}} --fix {{raw_input}} --fix {{print}}` + +- নির্দিষ্ট না করে সমস্ত পাইথন 2 ভাষা বৈশিষ্ট্যগুলি পাইথন 3 এ রূপান্তর করুন: + +`2to3 --write {{ফাইলের/পথ.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- পাইথন 2 থেকে পাইথন 3 এ রূপান্তর করা যাবত সমস্ত উপলব্ধ ভাষা বৈশিষ্ট্যের তালিকা প্রদর্শন করুন: + +`2to3 --list-fixes` + +- একটি ডিরেক্টরিতে সমস্ত পাইথন 2 ফাইলগুলি পাইথন 3 এ রূপান্তর করুন: + +`2to3 --output-dir {{পাথ/টু/পাইথন3_ডিরেক্টরি}} --write-unchanged-files --nobackups {{পাথ/টু/পাইথন2_ডিরেক্টরি}}` + +- মাল্টিপল থ্রেড সহ ২টু৩ চালান: + +`2to3 --processes {{4}} --output-dir {{পাথ/টু/পাইথন3_ডিরেক্টরি}} --write --nobackups --no-diff {{পাথ/টু/পাইথন2_ডিরেক্টরি}}` diff --git a/pages.bn/common/7z.md b/pages.bn/common/7z.md new file mode 100644 index 00000000000000..a0237314f75d72 --- /dev/null +++ b/pages.bn/common/7z.md @@ -0,0 +1,32 @@ +# 7z + +> উচ্চ স্পীড অনুপাতে ফাইল সংরক্ষণকর্তা। +> আরও তথ্য পাবেন: । + +- নতুন বা বিদ্যমান সংরক্ষণে একটি ফাইল বা ডিরেক্টরি যোগ করুন: + +`7z a {{সংরক্ষণ.7z/এর/পথ}} {{ফাইল_অথবা_ডিরেক্টরি/এর/পথ}}` + +- বিদ্যমান সংরক্ষণকে এনক্রিপ্ট করুন (ফাইলের নাম সহ): + +`7z a {{এনক্রিপ্টেড.7z/এর/পথ}} -p{{পাসওয়ার্ড}} -mhe=on {{সংরক্ষণ.7z/এর/পথ}}` + +- মৌলিক ডিরেক্টরি স্ট্রাকচার সংরক্ষণ করতে সংরক্ষণ থেকে বাহাতে: + +`7z x {{সংরক্ষণ.7z/এর/পথ}}` + +- বিশেষ ডিরেক্টরি এইচআউটপুটের সাথে সংরক্ষণ থেকে নেওয়া: + +`7z x {{সংরক্ষণ.7z/এর/পথ}} -o{{আউটপুট/এর/পথ}}` + +- `stdout` এর জন্য একটি সংরক্ষণ থেকে বাহাতে: + +`7z x {{সংরক্ষণ.7z/এর/পথ}} -so` + +- একটি নির্দিষ্ট সংরক্ষণ প্রকার ব্যবহার করে সংরক্ষণ করুন: + +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{সংরক্ষণ/এর/পথ}} {{ফাইল_অথবা_ডিরেক্টরি/এর/পথ}}` + +- একটি সংরক্ষণের সামগ্রী তালিকা বদ্ধ করুন: + +`7z l {{সংরক্ষণ.7z/এর/পথ}}` diff --git a/pages.bn/common/7za.md b/pages.bn/common/7za.md new file mode 100644 index 00000000000000..f20975639226d3 --- /dev/null +++ b/pages.bn/common/7za.md @@ -0,0 +1,33 @@ +# 7za + +> একটি উচ্চ সঙ্কোচন অনুবাদক সাথে ফাইল অ্যার্কাইভার। +> `7z` এর মত, কিন্তু এটি কম ফাইল ধরণসমূহ সমর্থন করে এবং ক্রস-প্ল্যাটফর্ম। +> আরও তথ্য পাবেন: । + +- একটি ফাইল বা ডিরেক্টরি অ্যার্কাইভ করুন: + +`7za a {{পাথ/টু/আর্কাইভ.7z}} {{পাথ/টু/ফাইল_অথবা_ডিরেক্টরি}}` + +- একটি বিদ্যমান আর্কাইভ এনক্রিপ্ট করুন (ফাইলের নামগুলি সহ): + +`7za a {{পাথ/টু/এনক্রিপ্টেড.7z}} -p{{পাসওয়ার্ড}} -mhe={{on}} {{পাথ/টু/আর্কাইভ.7z}}` + +- একটি আর্কাইভ বিন্দুবর্তন রক্ষা করে একটি আর্কাইভ নেওয়া: + +`7za x {{পাথ/টু/আর্কাইভ.7z}}` + +- একটি আর্কাইভটি একটি নির্দিষ্ট ডিরেক্টরিতে নেওয়া: + +`7za x {{পাথ/টু/আর্কাইভ.7z}} -o{{পাথ/টু/আউটপুট}}` + +- একটি আর্কাইভটি একটি `stdout` এ নেওয়া: + +`7za x {{পাথ/টু/আর্কাইভ.7z}} -so` + +- একটি নির্দিষ্ট আর্কাইভ ধরণ ব্যবহার করে অ্যার্কাইভ করুন: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{পাথ/টু/আর্কাইভ.7z}} {{পাথ/টু/ফাইল_অথবা_ডিরেক্টরি}}` + +- একটি আর্কাইভের সামগ্রী তালিকা দেখুন: + +`7za l {{পাথ/টু/আর্কাইভ.7z}}` diff --git a/pages.bn/common/7zr.md b/pages.bn/common/7zr.md new file mode 100644 index 00000000000000..f57ac47889a3e2 --- /dev/null +++ b/pages.bn/common/7zr.md @@ -0,0 +1,29 @@ +# 7zr + +> একটি উচ্চ সঙ্কোচন অনুবাদক সাথে ফাইল অ্যার্কাইভার। +> `7z` এর মত, কিন্তু এটি কেবলমাত্র 7z ফাইলগুলি সমর্থন করে। +> আরও তথ্য পাবেন: । + +- একটি ফাইল বা ডিরেক্টরি অ্যার্কাইভ করুন: + +`7zr a {{পাথ/টু/আর্কাইভ.7z}} {{পাথ/টু/ফাইল_অথবা_ডিরেক্টরি}}` + +- একটি বিদ্যমান আর্কাইভ এনক্রিপ্ট করুন (ফাইলের নামগুলি সহ): + +`7zr a {{পাথ/টু/এনক্রিপ্টেড.7z}} -p{{পাসওয়ার্ড}} -mhe={{on}} {{পাথ/টু/আর্কাইভ.7z}}` + +- একটি আর্কাইভ বিন্দুবর্তন রক্ষা করে একটি আর্কাইভ নেওয়া: + +`7zr x {{পাথ/টু/আর্কাইভ.7z}}` + +- একটি আর্কাইভটি একটি নির্দিষ্ট ডিরেক্টরিতে নেওয়া: + +`7zr x {{পাথ/টু/আর্কাইভ.7z}} -o{{পাথ/টু/আউটপুট}}` + +- একটি আর্কাইভটি একটি `stdout` এ নেওয়া: + +`7zr x {{পাথ/টু/আর্কাইভ.7z}} -so` + +- একটি আর্কাইভের সামগ্রী তালিকা দেখুন: + +`7zr l {{পাথ/টু/আর্কাইভ.7z}}` diff --git a/pages.bn/common/[.md b/pages.bn/common/[.md new file mode 100644 index 00000000000000..509dad7b2f48c6 --- /dev/null +++ b/pages.bn/common/[.md @@ -0,0 +1,33 @@ +# [ + +> ফাইল প্রকার পরীক্ষা করুন এবং মান তুলনা করুন। +> শর্তটি সত্য মানে 0 স্ট্যাটাস ফিরিয়ে দেয়, এবং শর্তটি মিথ্যা মানে 1। +> আরও তথ্য পাবেন: । + +- পরীক্ষা করুন যদি দেওয়া ভেরিয়েবল নির্দিষ্ট স্ট্রিং এর সমান/সমান না হয়: + +`[ "${{ভেরিয়েবল}}" {{=|!=}} "{{স্ট্রিং}}" ]` + +- পরীক্ষা করুন যদি দেওয়া ভেরিয়েবল [ই]কুয়াল/[ন]ট [ই]কুয়াল/[জি]টে [ল]েস [ট]হ্যান/[জি]টে [ই]কুয়াল/[ল]েস ট্রু থেকে/[ল]েস থেকে বা সমান নির্দিষ্ট সংখ্যায়: + +`[ "${{ভেরিয়েবল}}" -{{eq|ne|gt|lt|ge|le}} {{পূর্ণাঙ্ক}} ]` + +- পরীক্ষা করুন যদি নির্দিষ্ট ভেরিয়েবলের [ন]ন-খালি মান থাকে: + +`[ -n "${{ভেরিয়েবল}}" ]` + +- পরীক্ষা করুন যদি নির্দিষ্ট ভেরিয়েবলের খালি মান থাকে: + +`[ -z "${{ভেরিয়েবল}}" ]` + +- পরীক্ষা করুন যদি নির্দিষ্ট [ফাইল] বিদ্যমান থাকে: + +`[ -f {{পাথ/টু/ফাইল}} ]` + +- পরীক্ষা করুন যদি নির্দিষ্ট [ডিরেক্টরি] বিদ্যমান থাকে: + +`[ -d {{পাথ/টু/ডিরেক্টরি}} ]` + +- পরীক্ষা করুন যদি নির্দিষ্ট ফাইল বা ডিরেক্টরি [ই]স্ট্রিং বিদ্যমান থাকে: + +`[ -e {{পাথ/টু/ফাইল_অথবা_ডিরেক্টরি}} ]` diff --git a/pages.bn/common/[[.md b/pages.bn/common/[[.md new file mode 100644 index 00000000000000..d00fce9f72a32f --- /dev/null +++ b/pages.bn/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> ফাইল প্রকার পরীক্ষা করুন এবং মান তুলনা করুন। +> শর্তটি সত্য মানে 0 স্ট্যাটাস ফিরিয়ে দেয়, এবং শর্তটি মিথ্যা মানে 1। +> আরও তথ্য পাবেন: । + +- পরীক্ষা করুন যদি দেওয়া ভেরিয়েবল নির্দিষ্ট স্ট্রিং এর সমান/সমান না হয়: + +`[[ ${{ভেরিয়েবল}} {{==|!=}} "{{স্ট্রিং}}" ]]` + +- পরীক্ষা করুন যদি দেওয়া স্ট্রিং নির্দিষ্ট glob/regex এর সাথে মেলে: + +`[[ ${{ভেরিয়েবল}} {{==|=~}} {{প্যাটার্ন}} ]]` + +- পরীক্ষা করুন যদি দেওয়া ভেরিয়েবল [ই]কুয়াল/[ন]ট [ই]কুয়াল/[জি]টে [ল]েস [ট]হ্যান/[জি]টে [ই]কুয়াল/[ল]েস ট্রু থেকে/[ল]েস থেকে বা সমান নির্দিষ্ট সংখ্যায়: + +`[[ ${{ভেরিয়েবল}} -{{eq|ne|gt|lt|ge|le}} {{পূর্ণাঙ্ক}} ]]` + +- পরীক্ষা করুন যদি নির্দিষ্ট ভেরিয়েবলের [ন]ন-খালি মান থাকে: + +`[[ -n ${{ভেরিয়েবল}} ]]` + +- পরীক্ষা করুন যদি নির্দিষ্ট ভেরিয়েবলের খালি মান থাকে: + +`[[ -z ${{ভেরিয়েবল}} ]]` + +- পরীক্ষা করুন যদি নির্দিষ্ট [ফাইল] বিদ্যমান থাকে: + +`[[ -f {{পাথ/টু/ফাইল}} ]]` + +- পরীক্ষা করুন যদি নির্দিষ্ট [ডিরেক্টরি] বিদ্যমান থাকে: + +`[[ -d {{পাথ/টু/ডিরেক্টরি}} ]]` + +- পরীক্ষা করুন যদি নির্দিষ্ট ফাইল বা ডিরেক্টরি [ই]স্ট্রিং বিদ্যমান থাকে: + +`[[ -e {{পাথ/টু/ফাইল_অথবা_ডিরেক্টরি}} ]]` diff --git a/pages.bn/common/a2ping.md b/pages.bn/common/a2ping.md new file mode 100644 index 00000000000000..e00207fbe72d50 --- /dev/null +++ b/pages.bn/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> চিত্রগুলি কে EPS বা PDF ফাইলে রূপান্তর করুন। +> আরও তথ্য পাবেন: । + +- একটি চিত্রকে PDF তে রূপান্তর করুন (নোট: আউটপুট ফাইল নাম নির্দিষ্ট করা ঐচ্ছিক): + +`a2ping {{চিত্র.ext/এর/পথ}} {{আউটপুট.pdf/এর/পথ}}` + +- নির্দিষ্ট শৈলীতে ডকুমেন্ট সংক্ষিপ্ত করুন: + +`a2ping --nocompress {{none|zip|best|flate}} {{ফাইল/এর/পথ}}` + +- যদি উচ্চ রেজোলিউশন বাক্স স্ক্যান করা থাকে তবে HiResBoundingBox (নোট: এটি ডিফল্টভাবে হ্যাঁ): + +`a2ping --nohires {{ফাইল/এর/পথ}}` + +- মূল পৃষ্ঠার নিচে এবং বামে পৃষ্ঠার কন্টেন্টের অনুমতি দিন (নোট: এটি ডিফল্টভাবে না): + +`a2ping --below {{ফাইল/এর/পথ}}` + +- `gs` এর জন্য অতিরিক্ত আর্গুমেন্ট পাস করুন: + +`a2ping --gsextra {{আর্গুমেন্ট}} {{ফাইল/এর/পথ}}` + +- বাহ্যিক প্রোগ্রামে অতিরিক্ত আর্গুমেন্ট পাস করুন (যেমন `pdftops`): + +`a2ping --extra {{আর্গুমেন্ট}} {{ফাইল/এর/পথ}}` + +- সাহায্য প্রদর্শন করুন: + +`a2ping -h` diff --git a/pages.bn/common/aapt.md b/pages.bn/common/aapt.md new file mode 100644 index 00000000000000..4f7478ad09de42 --- /dev/null +++ b/pages.bn/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> এন্ড্রয়েড এসেট প্যাকেজিং টুল। +> এন্ড্রয়েড অ্যাপের সম্পদগুলি সংকলিত এবং প্যাকেজ করুন। +> আরও তথ্য পাবেন: । + +- APK সংগ্রহে অন্তর্ভুক্ত ফাইলের তালিকা তৈরি করুন: + +`aapt list {{অ্যাপ.apk/এর/পথ}}` + +- একটি অ্যাপের মেটাডেটা (সংস্করণ, অনুমতি, ইত্যাদি) দেখানোর জন্য: + +`aapt dump badging {{অ্যাপ.apk/এর/পথ}}` + +- নির্দিষ্ট ডিরেক্টরি সহ ফাইলগুলির সাথে একটি নতুন APK সংগ্রহ তৈরি করুন: + +`aapt package -F {{অ্যাপ.apk/এর/পথ}} {{ডিরেক্টরি/এর/পথ}}` diff --git a/pages.bn/common/ab.md b/pages.bn/common/ab.md new file mode 100644 index 00000000000000..0f291f02081f60 --- /dev/null +++ b/pages.bn/common/ab.md @@ -0,0 +1,24 @@ +# ab + +> এপাচি এইচটিটিপি সার্ভার বেঞ্চমার্কিং টুল। +> আরও তথ্য পাবেন: । + +- নির্দিষ্ট URL এ ১০০টি HTTP GET অনুরোধ প্রয়ান করুন: + +`ab -n 100 {{url}}` + +- URL এ ১০০টি HTTP GET অনুরোধ, ১০টি সময়সার ব্যাচে একে অপরের পরে প্রয়ান করুন: + +`ab -n 100 -c {{১০}} {{url}}` + +- URL এ ১০০টি HTTP POST অনুরোধ প্রয়ান করুন, একটি JSON পেলোড ব্যবহার করে: + +`ab -n 100 -T {{application/json}} -p {{পাথ/টু/ফাইল.json}} {{url}}` + +- HTTP [K]eep Alive ব্যবহার করুন, অর্থাৎ একটি HTTP সেশনে মাধ্যমে একাধিক অনুরোধ প্রয়ান করুন: + +`ab -k {{url}}` + +- বেঞ্চমার্কিং করার জন্য সময় নির্ধারণ করার জন্য সর্বাধিক সেকেন্ড নির্ধারণ করুন: + +`ab -t {{৬০}} {{url}}` diff --git a/pages.bn/common/abduco.md b/pages.bn/common/abduco.md new file mode 100644 index 00000000000000..f1161fd7423754 --- /dev/null +++ b/pages.bn/common/abduco.md @@ -0,0 +1,24 @@ +# abduco + +> টার্মিনাল সেশন ম্যানেজার। +> আরও তথ্য পাবেন: । + +- সেশনগুলির তালিকা: + +`abduco` + +- এটি যদি না থাকে তবে এটি তৈরি করে একটি সেশনে আটাচ করুন: + +`abduco -A {{নাম}} {{ব্যাশ}}` + +- এটি যদি না থাকে তবে এটি তৈরি করে `dvtm` এর সাথে একটি সেশনে আটাচ করুন: + +`abduco -A {{নাম}}` + +- একটি সেশন থেকে বিচ্ছিন্ন করুন: + +`` + +- একটি সেশনে রিড-ওনলি মোডে আটাচ করুন: + +`abduco -Ar {{নাম}}` diff --git a/pages.bn/common/ac.md b/pages.bn/common/ac.md new file mode 100644 index 00000000000000..856af18bd8d101 --- /dev/null +++ b/pages.bn/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> ব্যবহারকারী কতক্ষণ সংযোগিত আছেন, সেই পরিস্থিতিগুলি প্রিন্ট করুন। +> আরও তথ্য পাবেন: । + +- বর্তমান ব্যবহারকারী কত সময় ধরে সংযোগিত আছে, ঘণ্টায়: + +`ac` + +- ব্যবহারকারী কত সময় ধরে সংযোগিত আছে, এটি ঘণ্টায় প্রিন্ট করুন: + +`ac -p` + +- একজন বিশেষ ব্যবহারকারী কত সময় ধরে সংযোগিত আছে তা প্রিন্ট করুন: + +`ac -p {{ব্যবহারকারী_নাম}}` + +- একজন বিশেষ ব্যবহারকারী কত সময় ধরে সংযোগিত আছে তা প্রতি দিন ঘণ্টায় প্রিন্ট করুন (মোটও সহ): + +`ac -dp {{ব্যবহারকারী_নাম}}` diff --git a/pages.bn/common/ack.md b/pages.bn/common/ack.md new file mode 100644 index 00000000000000..361f24190d9a32 --- /dev/null +++ b/pages.bn/common/ack.md @@ -0,0 +1,37 @@ +# ack + +> একটি গ্রেপের মত খোঁজ টুল, ডেভেলপারদের জন্য অপটিমাইজড করা. +> আরও দেখুন: `rg`, যা অধিক দ্রুত। +> আরও তথ্য পাবেন: । + +- বর্তমান ডিরেক্টরির অব্যাপ্তিতে স্ট্রিং বা নিয়মিত অভিব্যক্তি সম্মিলিত ফাইলগুলি জন্য খোঁজ করুন: + +`ack "{{খোঁজের_প্যাটার্ন}}"` + +- একটি কেস-ইনসেনসিটিভ প্যাটার্ন খোঁজ করুন: + +`ack {{[-i|--ignore-case]}} "{{খোঁজের_প্যাটার্ন}}"` + +- একটি প্যাটার্ন মেলে সার্থকভাবে খোঁজুন, [ও]ণলি ম্যাচ টেক্সট দেখানো না: + +`ack {{[-o|--output '$&']}} "{{খোঁজের_প্যাটার্ন}}"` + +- নির্দিষ্ট প্রকারের ফাইলগুলিতে সীমাবদ্ধ খোঁজ করুন: + +`ack {{[-t|--type]}} {{ruby}} "{{খোঁজের_প্যাটার্ন}}"` + +- নির্দিষ্ট প্রকারের ফাইলগুলিতে খোঁজুন না: + +`ack {{[-t|--type]}} no{{ruby}} "{{খোঁজের_প্যাটার্ন}}"` + +- পাওয়া মিলে সম্পূর্ণ ম্যাচের সম্পূর্ণ সংখ্যা গণনা করুন: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{খোঁজের_প্যাটার্ন}}"` + +- প্রতিটি ফাইলের ফাইল নাম এবং ম্যাচের সংখ্যা শুধু প্রিন্ট করুন: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{খোঁজের_প্যাটার্ন}}"` + +- `--type` দিয়ে ব্যবহার করা যাতে সমস্ত মানগুলি তালিকা: + +`ack --help-types` diff --git a/pages.bn/common/acme.sh-dns.md b/pages.bn/common/acme.sh-dns.md new file mode 100644 index 00000000000000..3e8cb40d7770b0 --- /dev/null +++ b/pages.bn/common/acme.sh-dns.md @@ -0,0 +1,24 @@ +# acme.sh --dns + +> TLS সার্টিফিকেট ইস্যু করার জন্য DNS-01 চ্যালেঞ্জ ব্যবহার করুন। +> আরও তথ্য পাবেন: । + +- স্বয়ংক্রিয় DNS API মোড ব্যবহার করে একটি সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --dns {{gnd_gd}} --domain {{example.com}}` + +- স্বয়ংক্রিয় DNS API মোড ব্যবহার করে একটি উইল্ডকার্ড সার্টিফিকেট (যা একটি পূর্বনির্দেশিত চিহ্ন (*) দ্বারা চিহ্নিত) ইস্যু করুন: + +`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}` + +- DNS অ্যালিয়াস মোড ব্যবহার করে একটি সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{alias-for-example-validation.com}}` + +- DNS রেকর্ড যোগ করার পর স্বয়ংক্রিয় Cloudflare/Google DNS পোলিং বন্ধ করে একটি সার্টিফিকেট ইস্যু করুন, সেকেন্ডে নির্দিষ্ট কাস্টম প্রতীক্ষার সময় স্পেসিফাই করে: + +`acme.sh --issue --dns {{dns_namecheap}} --domain {{example.com}} --dnssleep {{300}}` + +- ম্যানুয়াল DNS মোড ব্যবহার করে একটি সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --dns --domain {{example.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please` diff --git a/pages.bn/common/acme.sh.md b/pages.bn/common/acme.sh.md new file mode 100644 index 00000000000000..422b0d3a961cdc --- /dev/null +++ b/pages.bn/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> ACME ক্লায়েন্ট প্রোটোকল প্রয়োজনীয় স্ক্রিপ্ট, `certbot` এর একটি বিকল্প। +> `acme.sh dns` দেখুন। +> আরও তথ্য পাবেন: । + +- ওয়েবরুট মোড ব্যবহার করে একটি সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --domain {{example.com}} --webroot {{/পাথ/টু/ওয়েবরুট}}` + +- পোর্ট ৮০ ব্যবহার করে স্ট্যান্ডঅলোন মোড ব্যবহার করে একটি মাল্টিপল ডোমেনের জন্য একটি সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --standalone --domain {{example.com}} --domain {{www.example.com}}` + +- পোর্ট ৪৪৩ ব্যবহার করে স্ট্যান্ডঅলোন TLS মোড ব্যবহার করে একটি সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --alpn --domain {{example.com}}` + +- কাজকর্ম Nginx কনফিগারেশন ব্যবহার করে একটি সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --nginx --domain {{example.com}}` + +- কাজকর্ম অ্যাপাচি কনফিগারেশন ব্যবহার করে একটি সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --apache --domain {{example.com}}` + +- স্বয়ংক্রিয় DNS API মোড ব্যবহার করে একটি উইল্ডকার্ড (\*) সার্টিফিকেট ইস্যু করুন: + +`acme.sh --issue --dns {{dns_cf}} --domain {{*.example.com}}` + +- নির্দিষ্ট অবস্থানে সার্টিফিকেট ফাইল ইনস্টল করুন (স্বয়ংক্রিয় সার্টিফিকেট পুনরারম্ভের জন্য উপযুক্ত): + +`acme.sh --install-cert -d {{example.com}} --key-file {{/পথ/থেকে/উদাহরণ.কম.কি}} --fullchain-file {{/পথ/থেকে/উদাহরণ.কম.সিআর}} --reloadcmd "{{systemctl force-reload nginx}}"` diff --git a/pages.bn/common/aireplay-ng.md b/pages.bn/common/aireplay-ng.md new file mode 100644 index 00000000000000..76052ad9fbffb7 --- /dev/null +++ b/pages.bn/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> ওয়ায়ারলেস নেটওয়ার্কে প্যাকেট ইনজেক্ট করুন। +> `aireplay-ng` এর একটি অংশ। +> আরও তথ্য পাবেন: । + +- একটি এক্সেস পয়েন্টের MAC ঠিকানা, ক্লায়েন্টের MAC ঠিকানা এবং একটি ইন্টারফেস দেখে একটি নির্দিষ্ট সংখ্যক অপ্রাপ্ত প্যাকেট পাঠান: + +`sudo aireplay-ng --deauth {{গণনা}} --bssid {{ap_mac}} --dmac {{client_mac}} {{ইন্টারফেস}}` diff --git a/pages.bn/common/alias.md b/pages.bn/common/alias.md new file mode 100644 index 00000000000000..8edc48d2ad9d7d --- /dev/null +++ b/pages.bn/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> উপনাম তৈরি করে -- এই শব্দগুলি যেগুলি কমান্ড স্ট্রিং দ্বারা প্রতিস্থাপন করা হয়। +> উপনাম বর্তমান শেল সেশনে শেষ হয় যতক্ষণ না সেট করা হয়, উদাহরণ: `~/.bashrc`। +> আরও তথ্য পাবেন: । + +- সমস্ত উপনামের তালিকা তৈরি করুন: + +`alias` + +- একটি সাধারণ উপনাম তৈরি করুন: + +`alias {{শব্দ}}="{{কমান্ড}}"` + +- দেওয়া উপনামে সংক্ষিপ্ত কমান্ড দেখুন: + +`alias {{শব্দ}}` + +- একটি উপনাম বাদ দিন: + +`unalias {{শব্দ}}` + +- `rm` কে একটি ইন্টারয়াক্টিভ কমান্ড হিসেবে পরিবর্তন করুন: + +`alias {{rm}}="{{rm --interactive}}"` + +- `ls -a` এর সংক্ষেপ রূপ হিসেবে `la` তৈরি করুন: + +`alias {{la}}="{{ls -all}}"` diff --git a/pages.bn/common/arch.md b/pages.bn/common/arch.md new file mode 100644 index 00000000000000..e0398b17a4d070 --- /dev/null +++ b/pages.bn/common/arch.md @@ -0,0 +1,9 @@ +# arch + +> সিস্টেমের আর্কিটেকচারের নাম দেখানো। +> `uname` ওয়েবসাইটে দেখানো যাক। +> আরও তথ্য পাবেন: । + +- সিস্টেম আর্কিটেকচার দেখানো: + +`arch` diff --git a/pages.bn/common/git-cherry-pick.md b/pages.bn/common/git-cherry-pick.md new file mode 100644 index 00000000000000..1a1705dccc7315 --- /dev/null +++ b/pages.bn/common/git-cherry-pick.md @@ -0,0 +1,21 @@ +# git cherry-pick + +> বিদ্যমান কমিট দ্বারা প্রবর্তিত পরিবর্তনগুলি বর্তমান ব্র্যাঞ্চে প্রয়োগ করুন। +> অন্য ব্র্যাঞ্চে পরিবর্তনগুলি প্রয়োগ করতে, প্রথমে পছন্দসই ব্র্যাঞ্চে স্যুইচ করতে `git checkout` ব্যবহার করুন। +> আরও তথ্য পাবেন: । + +- বর্তমান ব্র্যাঞ্চে কমিট করুন: + +`git cherry-pick {{কমিট}}` + +- বর্তমান ব্র্যাঞ্চে বিভিন্ন ধরনের কমিট করুন (এছাড়াও দেখুন 'git rebase --onto`): + +`git cherry-pick {{শুরুর_কমিট}}~..{{শেষের_কমিট}}` + +- বর্তমান ব্র্যাঞ্চে একাধিক (অ-ক্রমিক) কমিট করুন: + +`git cherry-pick {{কমিট_১ কমিট_২ ...}}` + +- কমিট তৈরি না করেই ওয়ার্কিং ডিরেক্টরিতে কমিটের পরিবর্তন যোগ করুন: + +`git cherry-pick {{[-n|--no-commit]}} {{কমিট}}` diff --git a/pages.bn/linux/a2enconf.md b/pages.bn/linux/a2enconf.md new file mode 100644 index 00000000000000..d695560ad576b1 --- /dev/null +++ b/pages.bn/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> ডেবিয়ান ভিত্তিক ওএস এ একটি অ্যাপাচি কনফিগারেশন ফাইলকে সক্রিয় করুন। +> আরও তথ্য পাবেন: । + +- একটি কনফিগারেশন ফাইল সক্রিয় করুন: + +`sudo a2enconf {{কনফিগুরেসন_ফাইল}}` + +- কোনো তথ্যবহুল মেসেজ দেখবেন না: + +`sudo a2enconf --quiet {{কনফিগুরেসন_ফাইল}}` diff --git a/pages.bn/linux/a2enmod.md b/pages.bn/linux/a2enmod.md new file mode 100644 index 00000000000000..5b5785720c96de --- /dev/null +++ b/pages.bn/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> ডেবিয়ান ভিত্তিক ওএস এ একটি অ্যাপাচি মজুল সক্রিয় করুন। +> আরও তথ্য পাবেন: । + +- একটি মজুল সক্রিয় করুন: + +`sudo a2enmod {{মজিউল}}` + +- কোনো তথ্যবহুল মেসেজ দেখবেন না: + +`sudo a2enmod --quiet {{মজিউল}}` diff --git a/pages.bn/linux/aa-disable.md b/pages.bn/linux/aa-disable.md new file mode 100644 index 00000000000000..ccebedfe6cf346 --- /dev/null +++ b/pages.bn/linux/aa-disable.md @@ -0,0 +1,13 @@ +# aa-disable + +> অ্যাপআরমার এর নিরাপত্তা পলিসি নিষ্ক্রিয় করুন। +> আরও দেখুন: `aa-complain`, `aa-enforce`, `aa-status`। +> আরও তথ্য পাবেন: । + +- প্রোফাইল নিষ্ক্রিয় করুন: + +`sudo aa-disable {{পাথ/টু/প্রোফাইল১ পাথ/টু/প্রোফাইল২ ...}}` + +- একটি ডিরেক্টরিতে প্রোফাইল নিষ্ক্রিয় করুন (সাধারণত `/etc/apparmor.d`): + +`sudo aa-disable --dir {{পাথ/টু/প্রোফাইলগুচ্ছ}}` diff --git a/pages.bn/linux/alien.md b/pages.bn/linux/alien.md new file mode 100644 index 00000000000000..913e3c654b0153 --- /dev/null +++ b/pages.bn/linux/alien.md @@ -0,0 +1,21 @@ +# alien + +> ভিন্ন ইন্সটলেশন প্যাকেজকে অন্য বিন্যাস এ রূপান্তর। +> এছাড়াও দেখুন: 'debtap`, `.deb` কে আর্চ লিনাক্স এ রূপান্তর এর জন্য। +> আরও তথ্য পাবেন: । + +- একটি নির্দিষ্ট ইন্সটলেশন ফাইলকে ডেবিয়ান বিন্যাসে রূপান্তর করুন ('.deb' এক্সটেনশন): + +`sudo alien --to-deb {{পাথ/টু/ফাইল}}` + +- একটি নির্দিষ্ট ইন্সটলেশন ফাইলকে রেড হ্যাট বিন্যাসে রূপান্তর করুন ('.rpm' এক্সটেনশন): + +`sudo alien --to-rpm {{পাথ/টু/ফাইল}}` + +- একটি নির্দিষ্ট ইন্সটলেশন ফাইলকে স্লেকওয়ার ইন্সটলেশন ফাইলে রূপান্তর করুন ('.tgz' এক্সটেনশন): + +`sudo alien --to-tgz {{পাথ/টু/ফাইল}}` + +- একটি নির্দিষ্ট ইন্সটলেশন ফাইলকে ডেবিয়ান বিন্যাসে রূপান্তর ও সিস্টেম এ ইন্সটল করুন: + +`sudo alien --to-deb --install {{পাথ/টু/ফাইল}}` diff --git a/pages.bn/linux/apt.md b/pages.bn/linux/apt.md new file mode 100644 index 00000000000000..1b8d43e83db3a2 --- /dev/null +++ b/pages.bn/linux/apt.md @@ -0,0 +1,37 @@ +# apt + +> ডেবিয়ান ভিত্তিক ডিস্ট্রিবিউশনের জন্য প্যাকেজ ম্যানেজমেন্ট ইউটিলিটি। +> ইন্টারেক্টিভভাবে ব্যবহৃত হলে উবুন্টু সংস্করণ 16.04 এবং তার পরবর্তী সংস্করনের জন্য `apt-get` এর পরিবরতে রেকোমেন্ডেড প্রতিস্থাপন। +> আরও তথ্য পাবেন: । + +- উপলভ্য প্যাকেজ এবং সংস্করণের তালিকা আপডেট করুন (অন্যান্য `apt` কমান্ডের আগে এটি চালানোর পরামর্শ দেওয়া হচ্ছে): + +`sudo apt update` + +- প্রদত্ত প্যাকেজ অনুসন্ধান করুন: + +`apt search {{প্যাকেজ}}` + +- একটি প্যাকেজের জন্য তথ্য দেখান: + +`apt show {{প্যাকেজ}}` + +- একটি প্যাকেজ ইনস্টল করুন, অথবা সর্বশেষ উপলব্ধ সংস্করণে আপডেট করুন: + +`sudo apt install {{প্যাকেজ}}` + +- একটি প্যাকেজ সরান (পরিবর্তে `purge` ব্যবহার করে এর কনফিগারেশন ফাইলও সরিয়ে দেয়): + +`sudo apt remove {{প্যাকেজ}}` + +- সমস্ত ইনস্টল করা প্যাকেজগুলি তাদের নতুন উপলব্ধ সংস্করণগুলিতে আপগ্রেড করুন: + +`sudo apt upgrade` + +- সমস্ত প্যাকেজের তালিকা করুন: + +`apt list` + +- ইনস্টল করা প্যাকেজ সমূহ তালিকা করুন: + +`apt list {{[-i|--installed]}}` diff --git a/pages.bn/linux/ascii.md b/pages.bn/linux/ascii.md new file mode 100644 index 00000000000000..fd60de2f4deff7 --- /dev/null +++ b/pages.bn/linux/ascii.md @@ -0,0 +1,36 @@ +# ascii + +> ASCII অক্ষরের উপনাম দেখান। +> আরও তথ্য পাবেন: । + +- একটি অক্ষরের ASCII উপনাম দেখান: + +`ascii {{a}}` + +- ছোট, স্ক্রিপ্ট-ফ্রেন্ডলি মোডে ASCII উপনাম দেখান: + +`ascii -t {{a}}` + +- একাধিক অক্ষরের ASCII উপনাম দেখান: + +`ascii -s {{tldr}}` + +- ডেসিমাল-এ ASCII টেবিল দেখান: + +`ascii -d` + +- হেক্সাডেসিমাল-এ ASCII টেবিল দেখান: + +`ascii -x` + +- অক্টাল-এ ASCII টেবিল দেখান: + +`ascii -o` + +- বাইনারি-তে ASCII টেবিল দেখান: + +`ascii -b` + +- বিকল্পগুলির সারাংশ এবং সম্পূর্ণ ASCII টেবিল দেখান: + +`ascii` diff --git a/pages.bn/linux/asciiart.md b/pages.bn/linux/asciiart.md new file mode 100644 index 00000000000000..4534199a9b20b5 --- /dev/null +++ b/pages.bn/linux/asciiart.md @@ -0,0 +1,28 @@ +# asciiart + +> চিত্রগুলিকে ASCII তে রূপান্তর করুন। +> আরও তথ্য পাবেন: । + +- ফাইল থেকে একটি ছবি পড়ুন এবং ASCII তে প্রিন্ট করুন: + +`asciiart {{পাথ/টু/ইমেজ.jpg}}` + +- একটি URL থেকে ছবি পড়ুন এবং ASCII তে প্রিন্ট করুন: + +`asciiart {{www.example.com/image.jpg}}` + +- আউটপুট প্রস্থ চয়ন করুন (পূর্বনির্ধারিত হলো 100): + +`asciiart {{[-w|--width]}} {{50}} {{পাথ/টু/ইমেজ.jpg}}` + +- **ASCII** আউটপুট রঙিন করুন: + +`asciiart {{[-c|--color]}} {{পাথ/টু/ইমেজ.jpg}}` + +- আউটপুট ফরম্যাট নির্ধারণ করুন (পূর্বনির্ধারিত ফরম্যাট হলো text): + +`asciiart {{[-f|--format]}} {{text|html}} {{পাথ/টু/ইমেজ.jpg}}` + +- ক্যারেক্টার ম্যাপ ইনভার্ট করুন: + +`asciiart {{[-i|--invert-chars]}} {{পাথ/টু/ইমেজ.jpg}}` diff --git a/pages.bn/linux/cat.md b/pages.bn/linux/cat.md new file mode 100644 index 00000000000000..117ca0a290fccf --- /dev/null +++ b/pages.bn/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> ফাইল প্রিন্ট এবং একত্রিত করুন। +> আরও তথ্য পাবেন: । + +- একটি ফাইলের অভ্যন্তরীণ বিষয়বস্তু`stdout`-এ প্রিন্ট করুন: + +`cat {{পাথ/টু/ফাইল}}` + +- একাধিক ফাইলকে একটি আউটপুট ফাইলে একত্রিত করুন (Concatenate): + +`cat {{পাথ/টু/ফাইল১ পাথ/টু/ফাইল২ ...}} > {{পাথ/টু/আউটপুট_ফাইল}}` + +- একাধিক ফাইলকে একটি আউটপুট ফাইলে যুক্ত করুন (Append): + +`cat {{পাথ/টু/ফাইল১ পাথ/টু/ফাইল২ ...}} >> {{পাথ/টু/আউটপুট_ফাইল}}` + +- `stdin` থেকে একটি ফাইলে লিখুন: + +`cat - > {{পাথ/টু/ফাইল}}` + +- সমস্ত আউটপুট লাইনে সংখ্যা দেখান: + +`cat {{[-n|--number]}} {{পাথ/টু/ফাইল}}` + +- অপ্রিন্টযোগ্য এবং হোয়াইটস্পেস অক্ষরগুলি প্রদর্শন করুন (যদি non-ASCII হয় তবে `M-` উপসর্গ সহ): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{পাথ/টু/ফাইল}}` diff --git a/pages.bn/linux/free.md b/pages.bn/linux/free.md new file mode 100644 index 00000000000000..ea3fd7521071e9 --- /dev/null +++ b/pages.bn/linux/free.md @@ -0,0 +1,20 @@ +# free + +> সিস্টেমে অব্যবহৃত এবং ব্যবহৃত মেমোরির পরিমাণ প্রদর্শন করুন। +> আরও তথ্য পাবেন: । + +- সিস্টেমের মেমোরি প্রদর্শন করুন: + +`free` + +- বাইট/কেবি/এমবি/জিবি-তে মেমোরি প্রদর্শন করুন: + +`free -{{b|k|m|g}}` + +- সহজে পঠনযোগ্য ইউনিটে মেমোরি প্রদর্শন করুন: + +`free {{[-h|--human]}}` + +- প্রতি ২ সেকেন্ডে আউটপুট রিফ্রেশ করুন: + +`free {{[-s|--seconds]}} 2` diff --git a/pages.bn/linux/lz.md b/pages.bn/linux/lz.md new file mode 100644 index 00000000000000..bd956b7cb4c946 --- /dev/null +++ b/pages.bn/linux/lz.md @@ -0,0 +1,8 @@ +# lz + +> একটি '.tar.gz' সংকুচিত আর্কাইভের ভেতরের সমস্ত ফাইল তালিকাভুক্ত করুন। +> আরও তথ্য পাবেন: । + +- একটি সংকুচিত আর্কাইভের ভেতরের সমস্ত ফাইল তালিকাভুক্ত করুন: + +`lz {{পাথ/টু/ফাইল.tar.gz}}` diff --git a/pages.bn/linux/pg.md b/pages.bn/linux/pg.md new file mode 100644 index 00000000000000..8e0f3a11ec0e50 --- /dev/null +++ b/pages.bn/linux/pg.md @@ -0,0 +1,12 @@ +# pg + +> একবারে এক পৃষ্ঠা করে ফাইলগুলি দেখুন। +> আরও তথ্য পাবেন: । + +- একটি ফাইল দেখুন: + +`pg {{পাথ/টু/ফাইল}}` + +- সাহায্য প্রদর্শন: + +`pg {{[-h|--help]}}` diff --git a/pages.bn/linux/poweroff.md b/pages.bn/linux/poweroff.md new file mode 100644 index 00000000000000..78641ff87431c2 --- /dev/null +++ b/pages.bn/linux/poweroff.md @@ -0,0 +1,24 @@ +# poweroff + +> সিস্টেমের পাওয়ার বন্ধ করুন। +> আরও তথ্য পাবেন: । + +- সিস্টেমের পাওয়ার বন্ধ করুন: + +`poweroff` + +- সিস্টেম থামান (`halt` এর মতোই): + +`poweroff --halt` + +- সিস্টেম রিবুট করুন (`reboot` এর মতোই): + +`poweroff --reboot` + +- সিস্টেম ম্যানেজারকে না জানিয়েই অবিলম্বে শাট ডাউন করুন: + +`poweroff {{[-f|--force]}}` + +- সিস্টেম শাট ডাউন না করে wtmp শাটডাউন এন্ট্রি লিখুন: + +`poweroff {{[-w|--wtmp-only]}}` diff --git a/pages.bn/linux/snap.pkg.md b/pages.bn/linux/snap.pkg.md new file mode 100644 index 00000000000000..26300b7c5509d4 --- /dev/null +++ b/pages.bn/linux/snap.pkg.md @@ -0,0 +1,37 @@ +# snap + +> "স্ন্যাপ" স্বয়ংসম্পূর্ণ সফটওয়্যার প্যাকেজসমুহ পরিচালনার জন্য একটি টুল। +> এটি ".deb" এর জন্য `apt` এর অনুরূপ। +> আরও তথ্য পাবেন: । + +- একটি প্যাকেজ অনুসন্ধান করুন: + +`snap find {{প্যাকেজের_নাম}}` + +- একটি প্যাকেজ ইনস্টল করুন: + +`snap install {{প্যাকেজের_নাম}}` + +- একটি প্যাকেজ আপডেট করুন: + +`snap refresh {{প্যাকেজের_নাম}}` + +- অন্য চ্যানেলে একটি প্যাকেজ আপডেট করুন (ট্র্যাক, রিস্ক বা ব্র্যাঞ্চ): + +`snap refresh {{প্যাকেজের_নাম}} --channel={{চ্যানেল}}` + +- সমস্ত প্যাকেজ আপডেট করুন: + +`snap refresh` + +- ইনস্টল করা স্ন্যাপ সফটওয়্যার সম্পর্কে প্রাথমিক তথ্য প্রদর্শন করুন: + +`snap list` + +- একটি প্যাকেজ আনইনস্টল করুন: + +`snap remove {{প্যাকেজের_নাম}}` + +- সিস্টেমে সাম্প্রতিক স্ন্যাপ পরিবর্তনের জন্য পরীক্ষা করুন: + +`snap changes` diff --git a/pages.bn/osx/ditto.md b/pages.bn/osx/ditto.md new file mode 100644 index 00000000000000..20c540f9f44e2f --- /dev/null +++ b/pages.bn/osx/ditto.md @@ -0,0 +1,16 @@ +# ditto + +> ফাইল এবং ডিরেক্টরি কপি করুন। +> আরও তথ্য পাবেন: । + +- সোর্স ডিরেক্টরির বিষয়বস্তু দিয়ে গন্তব্য ডিরেক্টরির বিষয়বস্তু ওভাররাইট করুন: + +`ditto {{সোর্স/এর/পথ}} {{গন্তব্য/এর/পথ}}` + +- কপি করা প্রতিটি ফাইলের জন্য টার্মিনাল উইন্ডোতে একটি লাইন প্রিন্ট করুন: + +`ditto -V {{সোর্স/এর/পথ}} {{গন্তব্য/এর/পথ}}` + +- মূল ফাইল এর পারমিশন বজায় রেখে একটি প্রদত্ত ফাইল বা ডিরেক্টরি কপি করুন: + +`ditto -rsrc {{সোর্স/এর/পথ}} {{গন্তব্য/এর/পথ}}` diff --git a/pages.bn/sunos/snoop.md b/pages.bn/sunos/snoop.md new file mode 100644 index 00000000000000..285c5826318af3 --- /dev/null +++ b/pages.bn/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> নেটওয়ার্ক প্যাকেট স্নিফার। +> SunOS এর জন্য tcpdump এর সমতুল্য। +> আরও তথ্য পাবেন: । + +- একটি নির্দিষ্ট নেটওয়ার্ক ইন্টারফেসে প্যাকেটগুলি ক্যাপচার করুন: + +`snoop -d {{e1000g0}}` + +- ক্যাপচার করা প্যাকেটগুলিকে প্রদর্শন করার পরিবর্তে একটি ফাইলে সংরক্ষণ করুন: + +`snoop -o {{ফাইলের_নাম}}` + +- একটি ফাইল থেকে প্যাকেটের ভার্বোজ প্রোটোকল লেয়ারের সারাংশ প্রদর্শন করুন: + +`snoop -V -i {{ফাইলের_নাম}}` + +- একটি হোস্টনাম থেকে আসা নেটওয়ার্ক প্যাকেটগুলি ক্যাপচার করুন এবং একটি প্রদত্ত পোর্টে যান: + +`snoop to port {{পোর্ট}} from host {{হোস্টনাম}}` + +- দুটি আইপি ঠিকানার মধ্যে বিনিময় করা নেটওয়ার্ক প্যাকেটের একটি হেক্স-ডাম্প ক্যাপচার করুন এবং প্রদর্শন করুন: + +`snoop -x0 -p4 {{আইপি_ঠিকানা_১}} {{আইপি_ঠিকানা_২}}` diff --git a/pages.bn/windows/cd.md b/pages.bn/windows/cd.md new file mode 100644 index 00000000000000..f39873493f024d --- /dev/null +++ b/pages.bn/windows/cd.md @@ -0,0 +1,20 @@ +# cd + +> বর্তমান ওয়ার্কিং ডিরেক্টরির নাম প্রদর্শন বা পরিবর্তন করে। +> আরও তথ্য পাবেন: । + +- একই ড্রাইভে একটি ডিরেক্টরিতে যান: + +`cd {{গন্তব্য/এর/পথ}}` + +- বর্তমান ডিরেক্টরি নাম প্রদর্শন করুন: + +`cd` + +- বর্তমান ডিরেক্টরিটির প্যারেন্টে পৌঁছান: + +`cd ..` + +- ভিন্ন ড্রাইভে থাকা একটি ডিরেক্টরিতে যান: + +`cd {{গন্তব্য/এর/পথ}} /d` diff --git a/pages.bn/windows/choice.md b/pages.bn/windows/choice.md new file mode 100644 index 00000000000000..d64ec6355e8da7 --- /dev/null +++ b/pages.bn/windows/choice.md @@ -0,0 +1,28 @@ +# choice + +> ব্যবহারকারীকে একটি চয়েস নির্বাচন করতে উৎসাহিত করুন এবং নির্বাচিত চয়েস ইনডেক্স ফিরিয়ে দিন। +> আরও তথ্য পাবেন: । + +- বর্তমান ব্যবহারকারীকে `Y` বা `N` চয়েস নির্বাচন করতে: + +`choice` + +- বর্তমান ব্যবহারকারীকে একটি নির্দিষ্ট সেট থেকে [c]hoice নির্বাচন করতে: + +`choice /c {{AB}}` + +- বর্তমান ব্যবহারকারীকে একটি চয়েস নির্বাচন করতে একটি নির্দিষ্ট [m]essage সহ: + +`choice /m "{{বার্তা}}"` + +- বর্তমান ব্যবহারকারীকে একটি [c]ase-[s]ensitive [c]hoice নির্বাচন করতে একটি নির্দিষ্ট সেট থেকে: + +`choice /cs /c {{Ab}}` + +- বর্তমান ব্যবহারকারীকে একটি চয়েস নির্বাচন করতে এবং একটি নির্দিষ্ট [t]ime এ [d]efault চয়েস এ প্রাথমিকভাবে পছন্দ করতে: + +`choice /t {{5}} /d {{N}}` + +- সাহায্য দেখান: + +`choice /?` diff --git a/pages.bn/windows/chrome.md b/pages.bn/windows/chrome.md new file mode 100644 index 00000000000000..8f21b15bf44571 --- /dev/null +++ b/pages.bn/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> এই আদেশটির উপনাম `chromium`। +> আরও তথ্য পাবেন: । + +- মৌল আদেশের জন্য ডকুমেন্টেশন দেখুন: + +`tldr chromium` diff --git a/pages.bn/windows/color.md b/pages.bn/windows/color.md new file mode 100644 index 00000000000000..2316e29384e60f --- /dev/null +++ b/pages.bn/windows/color.md @@ -0,0 +1,16 @@ +# color + +> কনসোল পূর্বপরক্ষ এবং পৃষ্ঠভূমির রঙ নির্ধারণ করুন। +> আরও তথ্য পাবেন: । + +- কনসোল রঙগুলি ডিফল্ট মানে নির্ধারণ করুন: + +`color` + +- উপলব্ধ রঙের মান এবং বিস্তারিত তথ্য দেখুন: + +`color /?` + +- হেক্সাডেসিমাল নম্বর (`1-9,a-f`) ব্যবহার করে কনসোল পূর্বপরক্ষ এবং পৃষ্ঠভূমি নির্ধারণ করুন: + +`color {{ফোরগ্রাউন্ড_কোড}}{{পটভূমি_কোড}}` diff --git a/pages.bn/windows/curl.md b/pages.bn/windows/curl.md new file mode 100644 index 00000000000000..93c46c418c12ac --- /dev/null +++ b/pages.bn/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> পাওয়ারশেলে, এই কমান্ডটি অরিজিনাল `curl` প্রোগ্রাম () সঠিকভাবে ইনস্টল না থাকলে এটি `Invoke-WebRequest` এর এলিয়াস হতে পারে। +> আরও তথ্য পাবেন: । + +- মৌলিক `curl` কমান্ডের জন্য নথি: + +`tldr curl -p common` + +- পাওয়ারশেলের `Invoke-WebRequest` কমান্ডের জন্য নথি: + +`tldr invoke-webrequest` + +- চেষ্টা করুন যে কি `curl` সঠিকভাবে ইনস্টল করা হয়েছে কিনা, এর সংস্করণ নম্বর প্রিন্ট করে। যদি এই কমান্ডটি একটি ত্রুটির মধ্যে মূল `Invoke-WebRequest` দিয়ে বদলে যায়, তবে: + +`curl --version` diff --git a/pages.bn/windows/date.md b/pages.bn/windows/date.md new file mode 100644 index 00000000000000..cd90197cd591eb --- /dev/null +++ b/pages.bn/windows/date.md @@ -0,0 +1,16 @@ +# date + +> সিস্টেমের তারিখ প্রদর্শন বা সেট করে। +> আরও তথ্য পাবেন: । + +- বর্তমান সিস্টেম তারিখ প্রদর্শন এবং নতুন তারিখ সেট করতে (অপরিবর্তিত রাখতে খালি রাখুন): + +`date` + +- নতুন তারিখ সহ বর্তমান সিস্টেম তারিখ প্রদর্শন: + +`date /t` + +- বর্তমান সিস্টেম তারিখকে নির্দিষ্ট তারিখে পরিবর্তন করুন: + +`date {{মাস}}-{{দিন}}-{{বছর}}` diff --git a/pages.bn/windows/doskey.md b/pages.bn/windows/doskey.md new file mode 100644 index 00000000000000..4b2d20e7e6fced --- /dev/null +++ b/pages.bn/windows/doskey.md @@ -0,0 +1,32 @@ +# doskey + +> ম্যাক্রোজ, উইন্ডোজ কমান্ড এবং কমান্ড-লাইন পরিচালনা করুন। +> আরও তথ্য পাবেন: । + +- উপস্থিত ম্যাক্রোগুলির তালিকা তৈরি করুন: + +`doskey /macros` + +- একটি নতুন ম্যাক্রো তৈরি করুন: + +`doskey {{নাম}} = "{{কমান্ড}}"` + +- একটি নির্দিষ্ট সম্পাদনযোগ্য জন্য একটি নতুন ম্যাক্রো তৈরি করুন: + +`doskey /exename={{সম্পাদন}} {{নাম}} = "{{কমান্ড}}"` + +- ম্যাক্রো অপসারণ করুন: + +`doskey {{নাম}} =` + +- মেমোরিতে সংরক্ষিত সমস্ত কমান্ড দেখান: + +`doskey /history` + +- পোর্টেবিলিটির জন্য ম্যাক্রোগুলি ফাইলে সংরক্ষণ করুন: + +`doskey /macros > {{ফাইলের\পথ}}` + +- একটি ফাইল থেকে ম্যাক্রোগুলি লোড করুন: + +`doskey /macrofile = {{ফাইলের\পথ}}` diff --git a/pages.bn/windows/exit.md b/pages.bn/windows/exit.md new file mode 100644 index 00000000000000..fdf49cda3f61ce --- /dev/null +++ b/pages.bn/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> বর্তমান CMD ইনস্ট্যান্স বা বর্তমান ব্যাচ ফাইল থেকে বাহির হোন। +> আরও তথ্য পাবেন: । + +- বর্তমান CMD উদাহরণ থেকে বাহির হোন: + +`exit` + +- বর্তমান ব্যাচ স্ক্রিপ্ট থেকে বাহির হোন: + +`exit /b` + +- নির্দিষ্ট প্রস্থান কোড ব্যবহার করে বন্ধ করুন: + +`exit {{2}}` diff --git a/pages.bn/windows/find.md b/pages.bn/windows/find.md new file mode 100644 index 00000000000000..2e9b063cb461d4 --- /dev/null +++ b/pages.bn/windows/find.md @@ -0,0 +1,20 @@ +# find + +> এক বা একাধিক ফাইলে নির্দিষ্ট স্ট্রিং খোঁজা। +> আরও তথ্য পাবেন: । + +- ঐ স্ট্রিং যুক্ত লাইন গুলি খোঁজা: + +`find "{{স্ট্রিং}}" {{পথ\হতে\ফাইল_বা_ডিরেক্টরি}}` + +- সেই লাইন গুলি প্রদর্শন করুন যেগুলিতে নির্দিষ্ট স্ট্রিং নেই: + +`find "{{স্ট্রিং}}" {{পথ\হতে\ফাইল_বা_ডিরেক্টরি}} /v` + +- নির্দিষ্ট স্ট্রিং সহ লাইন সংখ্যা দেখানো: + +`find "{{স্ট্রিং}}" {{পথ\হতে\ফাইল_বা_ডিরেক্টরি}} /c` + +- লাইন সংখ্যা দিয়ে লাইন এর সাথে লাইন এর তালিকা দেখানো: + +`find "{{স্ট্রিং}}" {{পথ\হতে\ফাইল_বা_ডিরেক্টরি}} /n` diff --git a/pages.bn/windows/mkdir.md b/pages.bn/windows/mkdir.md new file mode 100644 index 00000000000000..e81e6bf91d228c --- /dev/null +++ b/pages.bn/windows/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> একটি নির্দেশিকা তৈরি করে। +> আরও তথ্য পাবেন: । + +- একটি নির্দেশিকা তৈরি করুন: + +`mkdir {{নির্দেশিকা\এর\পথ}}` + +- পুনরাবৃত্তি হিসেবে একটি নেস্টেড নির্দেশিকা ট্রি তৈরি করুন: + +`mkdir {{উপনির্দেশিকা\এর\পথ}}` diff --git a/pages.bn/windows/net.md b/pages.bn/windows/net.md new file mode 100644 index 00000000000000..4439c0e106ca50 --- /dev/null +++ b/pages.bn/windows/net.md @@ -0,0 +1,36 @@ +# net + +> সিস্টেম ইউটিলিটি যাতে নেটওয়ার্ক-সম্পর্কিত সেটিংস দেখা এবং পরিবর্তন করা হয়। +> আরও তথ্য পাবেন: । + +- একটি Windows সার্ভিস সমকালিনভাবে চালু বা বন্ধ করুন: + +`net {{শুরু|বন্ধ}} {{সার্ভিস}}` + +- নিশ্চিত হোন একটি SMB শেয়ার বর্তমান কনসোলে উপলব্ধ: + +`net use {{\\smb_shared_folder}} /USER:{{ব্যবহারকারীনাম}}` + +- বর্তমানে SMB এর উপর ভাগ করা ফোল্ডারগুলি দেখান: + +`net share` + +- আপনার SMB শেয়ারগুলি ব্যবহার করছে কে তা দেখান (উচ্চতম কনসোলে চালান): + +`net session` + +- একটি স্থানীয় সিকিউরিটি গ্রুপে ব্যবহারকারীগুলি দেখান: + +`net localgroup "{{অ্যাডমিনিস্ট্রেটরস}}"` + +- একটি ব্যবহারকারীকে স্থানীয় সিকিউরিটি গ্রুপে যোগ করুন (উচ্চতম কনসোলে চালান): + +`net localgroup "{{অ্যাডমিনিস্ট্রেটরস}}" {{ব্যবহারকারীনাম}} /add` + +- একটি সাবকমান্ডের জন্য সাহায্য দেখান: + +`net help {{সাবকমান্ড}}` + +- সাহায্য দেখান: + +`net help` diff --git a/pages.bn/windows/nvm.md b/pages.bn/windows/nvm.md new file mode 100644 index 00000000000000..58ca8adc00dec7 --- /dev/null +++ b/pages.bn/windows/nvm.md @@ -0,0 +1,25 @@ +# nvm + +> Node.js সংস্করণগুলির মধ্যে ইনস্টল, আনইনস্টল বা পরিবর্ত করুন। +> "12.8" বা "v16.13.1" এর মতো সংস্করণ নম্বর এবং "stable", "system", ইত্যাদির মতো লেবেল সমর্থন করে। +> আরও তথ্য পাবেন: । + +- Node.js এর একটি নির্দিষ্ট সংস্করণ ইনস্টল করুন: + +`nvm install {{node_version}}` + +- Node.js এর ডিফল্ট সংস্করণ সেট করুন (এটি অবশ্যই অ্যাডমিনিস্ট্রেটর হিসাবে চালাতে হবে): + +`nvm use {{node_version}}` + +- সমস্ত ব্যবহারযোগ্য Node.js সংস্করণ তালিকা করুন এবং ডিফল্টটিকে হাইলাইট করুন: + +`nvm list` + +- সমস্ত রিমোট Node.js সংস্করণ তালিকা করুন: + +`nvm ls-remote` + +- প্রদত্ত Node.js সংস্করণ আনইনস্টল করুন: + +`nvm uninstall {{node_version}}` diff --git a/pages.bn/windows/path.md b/pages.bn/windows/path.md new file mode 100644 index 00000000000000..b8ad7a9993e438 --- /dev/null +++ b/pages.bn/windows/path.md @@ -0,0 +1,20 @@ +# path + +> কার্যকর ফাইলগুলির জন্য পথ খোঁজা বা সেট করতে পারেন। +> আরও তথ্য পাবেন: । + +- বর্তমান পথটি দেখানো: + +`path` + +- এক বা একাধিক নির্দিষ্ট ডিরেক্টরির জন্য পথ সেট করা: + +`path {{পথ\থেকে\ডিরেক্টরি1 পথ\থেকে\ডিরেক্টরি2 ...}}` + +- মৌলিক পথে একটি নতুন ডিরেক্টরি যোগ করুন: + +`path {{পথ\থেকে\ডিরেক্টরি}};%path%` + +- কার্যকর ফাইলগুলির জন্য কেবলমাত্র বর্তমান ডিরেক্টরি খুঁজতে কমান্ড প্রম্প্ট সেট করুন: + +`path ;` diff --git a/pages.bn/windows/py.md b/pages.bn/windows/py.md new file mode 100644 index 00000000000000..c5e65c7812e757 --- /dev/null +++ b/pages.bn/windows/py.md @@ -0,0 +1,21 @@ +# py + +> উইন্ডোজের জন্য পাইথন লঞ্চার যা নির্দিষ্ট পাইথন সংস্করণ চালায়। +> আরও দেখুন: `python`। +> আরও তথ্য পাবেন: । + +- একটি REPL (interactive shell) শুরু করুন, ঐচ্ছিকভাবে `python` দ্বারা সমর্থিত আর্গুমেন্ট সহ (যেমন `-c`, `-m`, ইত্যাদি): + +`py {{python_arguments}}` + +- একটি নির্দিষ্ট পাইথন ফাইল এক্সিকিউট করুন: + +`py {{পাথ/টু/ফাইল.py}}` + +- নির্দিষ্ট পাইথন সংস্করণ চালান। যদি সংস্করণ অনুপস্থিত থাকে, এবং `PYLAUNCHER_ALLOW_INSTALL` এনভায়রনমেন্ট ভেরিয়েবল সেট করা থাকে, তবে মাইক্রোসফ্ট স্টোর বা winget-এর মাধ্যমে স্বয়ংক্রিয়-ইনস্টল হবে: + +`py {{-2|-3.7|...}}` + +- ইনস্টল করা পাইথন সংস্করণগুলির তালিকা করুন: + +`py --list` diff --git a/pages.bn/windows/scoop.md b/pages.bn/windows/scoop.md new file mode 100644 index 00000000000000..264327b58b9cb8 --- /dev/null +++ b/pages.bn/windows/scoop.md @@ -0,0 +1,32 @@ +# scoop + +> স্কুপ প্যাকেজ ম্যানেজার। +> আরও তথ্য পাবেন: । + +- একটি প্যাকেজ ইনস্টল করুন: + +`scoop install {{প্যাকেজ}}` + +- একটি প্যাকেজ আনইনস্টল করুন: + +`scoop uninstall {{প্যাকেজ}}` + +- সব ইনস্টল প্যাকেজ আপডেট করুন: + +`scoop update --all` + +- ইনস্টল প্যাকেজের তালিকা তৈরি করুন: + +`scoop list` + +- কোনও প্যাকেজ সম্পর্কে তথ্য দেখান: + +`scoop info {{প্যাকেজ}}` + +- একটি প্যাকেজ সন্ধান করুন: + +`scoop search {{প্যাকেজ}}` + +- সব প্রাচীন সংস্করণ সরানো এবং ডাউনলোড ক্যাশ পরিষ্কার করুন: + +`scoop cleanup --cache --all` diff --git a/pages.bn/windows/set.md b/pages.bn/windows/set.md new file mode 100644 index 00000000000000..e347ff08b316a7 --- /dev/null +++ b/pages.bn/windows/set.md @@ -0,0 +1,20 @@ +# set + +> CMD-এর বর্তমান ইনস্ট্যান্সের জন্য পরিবেশ চেরা বা সেট করুন। +> আরও তথ্য পাবেন: । + +- সমস্ত বর্তমান পরিবেশ চেরা তালিকাভুক্ত করুন: + +`set` + +- একটি পরিবেশ চেরা বিশেষ মানের জন্য সেট করুন: + +`set {{নাম}}={{মান}}` + +- নির্দিষ্ট স্ট্রিং দিয়ে শুরু হওয়া পরিবেশ চেরা তালিকাভুক্ত করুন: + +`set {{নাম}}` + +- ব্যবহারকারীকে নির্দিষ্ট চেরার জন্য একটি মানের জন্য প্রম্প্ট করুন: + +`set /p {{নাম}}={{প্রম্প্ট_স্ট্রিং}}` diff --git a/pages.bn/windows/time.md b/pages.bn/windows/time.md new file mode 100644 index 00000000000000..6d7a7ca7b29b84 --- /dev/null +++ b/pages.bn/windows/time.md @@ -0,0 +1,12 @@ +# time + +> সিস্টেম সময় প্রদর্শন বা সেট করুন। +> আরও তথ্য পাবেন: । + +- বর্তমান সিস্টেম সময় প্রদর্শন এবং একটি নতুন সময় এন্টার করতে প্রম্পট করুন (অপরিবর্তিত রাখতে খালি রাখুন): + +`time` + +- নতুন সময়ের জন্য প্রম্পট ছাড়া বর্তমান সিস্টেম সময় প্রদর্শন: + +`time /t` diff --git a/pages.bn/windows/title.md b/pages.bn/windows/title.md new file mode 100644 index 00000000000000..a60b29e1d3a37c --- /dev/null +++ b/pages.bn/windows/title.md @@ -0,0 +1,8 @@ +# title + +> কমান্ড প্রম্পট উইন্ডোর শিরোনাম সেট করুন। +> আরও তথ্য পাবেন: । + +- বর্তমান কমান্ড প্রম্পট উইন্ডোর শিরোনাম সেট করুন: + +`title {{নতুন_শিরোনাম}}` diff --git a/pages.bn/windows/wget.md b/pages.bn/windows/wget.md new file mode 100644 index 00000000000000..1124b26a3f95ae --- /dev/null +++ b/pages.bn/windows/wget.md @@ -0,0 +1,16 @@ +# wget + +> পাওয়ারশেলে, এই কমান্ডটি অরিজিনাল `wget` প্রোগ্রাম () সঠিকভাবে ইনস্টল না থাকলে এটি `Invoke-WebRequest` এর এলিয়াস হতে পারে। +> আরও তথ্য পাবেন: । + +- মৌলিক `wget` কমান্ডের জন্য নথি: + +`tldr wget -p common` + +- পাওয়ারশেলের `Invoke-WebRequest` কমান্ডের জন্য নথি: + +`tldr invoke-webrequest` + +- চেষ্টা করুন যে কি `wget` সঠিকভাবে ইনস্টল করা হয়েছে কিনা, এর সংস্করণ নম্বর প্রিন্ট করে। যদি এই কমান্ডটি একটি ত্রুটির মধ্যে মূল `Invoke-WebRequest` দিয়ে বদলে যায়, তবে: + +`wget --version` diff --git a/pages.bn/windows/where.md b/pages.bn/windows/where.md new file mode 100644 index 00000000000000..1d6fb589ca9921 --- /dev/null +++ b/pages.bn/windows/where.md @@ -0,0 +1,21 @@ +# where + +> অনুসন্ধান প্যাটার্নের সাথে মিলছে ফাইলগুলির অবস্থান প্রদর্শন করুন। +> ডিফল্টস্ কারেন্ট ওয়ার্ক ডিরেক্টরি এবং PATH এনভায়রনমেন্ট ভেরিয়েবলে পাথের অবস্থানগুলি। +> আরও তথ্য পাবেন: । + +- ফাইল প্যাটার্নের অবস্থান প্রদর্শন করুন: + +`where {{ফাইল_প্যাটার্ন}}` + +- ফাইল প্যাটার্নের অবস্থান প্রদর্শন করুন যাতে ফাইলের আকার এবং তারিখও থাকে: + +`where /T {{ফাইল_প্যাটার্ন}}` + +- নির্দিষ্ট পথে ফাইল প্যাটার্নের জন্য পুনরাবৃত্তি অনুসন্ধান করুন: + +`where /R {{পথ\টু\ডিরেক্টরি}} {{ফাইল_প্যাটার্ন}}` + +- ফাইল প্যাটার্নের অবস্থানের জন্য শান্তভাবে ত্রুটি কোড ফিরিয়ে আসুন: + +`where /Q {{ফাইল_প্যাটার্ন}}` diff --git a/pages.bn/windows/whoami.md b/pages.bn/windows/whoami.md new file mode 100644 index 00000000000000..ec143127f226fe --- /dev/null +++ b/pages.bn/windows/whoami.md @@ -0,0 +1,28 @@ +# whoami + +> বর্তমান ব্যবহারকারী সম্পর্কে বিস্তারিত তথ্য প্রদর্শন করুন। +> আরও তথ্য পাবেন: । + +- বর্তমান ব্যবহারকারীর ইউজারনেম প্রদর্শন করুন: + +`whoami` + +- বর্তমান ব্যবহারকারী যে গ্রুপগুলির সদস্য, সেগুলি প্রদর্শন করুন: + +`whoami /groups` + +- বর্তমান ব্যবহারকারীর বিশেষাধিকার (privileges) প্রদর্শন করুন: + +`whoami /priv` + +- বর্তমান ব্যবহারকারীর user principal name (UPN) প্রদর্শন করুন: + +`whoami /upn` + +- বর্তমান ব্যবহারকারীর লগঅন আইডি প্রদর্শন করুন: + +`whoami /logonid` + +- বর্তমান ব্যবহারকারীর সমস্ত তথ্য প্রদর্শন করুন: + +`whoami /all` diff --git a/pages.bn/windows/wsl-open.md b/pages.bn/windows/wsl-open.md new file mode 100644 index 00000000000000..0be1037a9fa3b3 --- /dev/null +++ b/pages.bn/windows/wsl-open.md @@ -0,0 +1,24 @@ +# wsl-open + +> Windows Subsystem for Linux এর মধ্যে থেকে ব্যবহারকারীর ডিফল্ট Windows GUI অ্যাপ্লিকেশনটিতে একটি ফাইল বা ইউআরএল খুলুন। +> আরও তথ্য পাবেন: । + +- বর্তমান ডিরেক্টরিটি উইন্ডোজ এক্সপ্লোরারে খুলুন: + +`wsl-open {{.}}` + +- উইন্ডোজে ব্যবহারকারীর ডিফল্ট ওয়েব ব্রাউজারে একটি URL খুলুন: + +`wsl-open {{https://example.com}}` + +- উইন্ডোজে ব্যবহারকারীর ডিফল্ট অ্যাপ্লিকেশনটিতে একটি নির্দিষ্ট ফাইল খুলুন: + +`wsl-open {{পাথ\টু\ফাইল}}` + +- `wsl-open` কে shell এর ওয়েব ব্রাউজার হিসাবে সেট করুন (লিঙ্কগুলি `wsl-open` দিয়ে খুলুন): + +`wsl-open -w` + +- সাহায্য প্রদর্শন করুন: + +`wsl-open -h` diff --git a/pages.bn/windows/wsl.md b/pages.bn/windows/wsl.md new file mode 100644 index 00000000000000..9dddbefb3ee6c7 --- /dev/null +++ b/pages.bn/windows/wsl.md @@ -0,0 +1,36 @@ +# wsl + +> Windows Subsystem for Linux পরিচালনা করুন। +> আরও তথ্য পাবেন: । + +- একটি লিনাক্স shell শুরু করুন (ডিফল্ট ডিস্ট্রিবিউশন এ): + +`wsl {{shell_command}}` + +- একটি shell ব্যবহার না করে একটি লিনাক্স কমান্ড চালান: + +`wsl {{[-e|--exec]}} {{command}} {{command_arguments}}` + +- একটি নির্দিষ্ট ডিস্ট্রিবিউশন উল্লেখ করুন: + +`wsl {{[-d|--distribution]}} {{distribution}} {{shell_command}}` + +- ব্যবহারযোগ্য ডিস্ট্রিবিউশনগুলি তালিকা করুন: + +`wsl {{[-l|--list]}}` + +- একটি ডিস্ট্রিবিউশন `.tar` ফাইলে এক্সপোর্ট করুন: + +`wsl --export {{distribution}} {{পাথ\টু\ডিস্ট্রো_ফাইল.tar}}` + +- একটি `.tar` ফাইল থেকে ডিস্ট্রিবিউশন ইম্পোর্ট করুন: + +`wsl --import {{distribution}} {{পাথ\টু\ইনস্টল_লোকেশন}} {{পাথ/টু/ডিস্ট্রো_ফাইল.tar}}` + +- নির্দিষ্ট ডিস্ট্রিবিউশনের জন্য ব্যবহৃত wsl এর সংস্করণ পরিবর্তন করুন: + +`wsl --set-version {{distribution}} {{version}}` + +- Windows Subsystem for Linux বন্ধ করুন: + +`wsl --shutdown` diff --git a/pages.bs/common/aria2.md b/pages.bs/common/aria2.md new file mode 100644 index 00000000000000..7093c2f904c791 --- /dev/null +++ b/pages.bs/common/aria2.md @@ -0,0 +1,7 @@ +# aria2 + +> Ova komanda je pseudonim za `aria2c`. + +- Pregledaj dokumentaciju za ažuriranu komandu: + +`tldr aria2c` diff --git a/pages.bs/common/chsh.md b/pages.bs/common/chsh.md deleted file mode 100644 index aa39a4fe711c60..00000000000000 --- a/pages.bs/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> Promijeni korisnički login shell. - -- Promijeni shell: - -`chsh -s {{putanja/do/shell_binarni}} {{korisničkoime}}` diff --git a/pages.bs/common/clang-cpp.md b/pages.bs/common/clang-cpp.md new file mode 100644 index 00000000000000..6b960ab73059fb --- /dev/null +++ b/pages.bs/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Ova komanda je pseudonim za `clang++`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr clang++` diff --git a/pages.bs/common/clojure.md b/pages.bs/common/clojure.md new file mode 100644 index 00000000000000..197df07c44395f --- /dev/null +++ b/pages.bs/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Ova komanda je pseudonim za `clj`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr clj` diff --git a/pages.bs/common/cola.md b/pages.bs/common/cola.md new file mode 100644 index 00000000000000..ad0f1b04eb8c3f --- /dev/null +++ b/pages.bs/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Ova komanda je pseudonim za `git-cola`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr git-cola` diff --git a/pages.bs/common/createuser.md b/pages.bs/common/createuser.md new file mode 100644 index 00000000000000..3c4d175fe5c124 --- /dev/null +++ b/pages.bs/common/createuser.md @@ -0,0 +1,24 @@ +# createuser + +> Napravi PostgreSQL koristnika (uloga). +> Više informacija: . + +- Stvori koristnika interaktivno: + +`createuser --interactive {{korisničko_ime}}` + +- Stvori koristnika bez posebnih prava: + +`createuser {{korisničko_ime}}` + +- Stvori superkoristnika: + +`createuser {{[-s|--superuser]}} {{korisničko_ime}}` + +- Stvori koristnika koji može stvoriti baze podataka, upravjati ulogama i zatraži lozinku: + +`createuser {{[-d|--createdb]}} {{[-r|--createrole]}} {{[-P|--pwprompt]}} {{korisničko_ime}}` + +- Stvori koristnika bez mogućnosti stvaranja baza podataka ili upravljanja ulogama: + +`createuser {{[-D|--no-createdb]}} {{[-R|--no-createrole]}} {{korisničko_ime}}` diff --git a/pages.bs/common/false.md b/pages.bs/common/false.md index 4eb19012d26e45..3cf57dcc035633 100644 --- a/pages.bs/common/false.md +++ b/pages.bs/common/false.md @@ -1,6 +1,7 @@ # false > Vrati izlazni kod od 1. +> Više informacija: . - Vrati izlazni kod od 1: diff --git a/pages.bs/common/fossil-ci.md b/pages.bs/common/fossil-ci.md new file mode 100644 index 00000000000000..dbc99198ed1da0 --- /dev/null +++ b/pages.bs/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Ova komanda je pseudonim za `fossil commit`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr fossil commit` diff --git a/pages.bs/common/fossil-forget.md b/pages.bs/common/fossil-forget.md new file mode 100644 index 00000000000000..14a7c7d79641c6 --- /dev/null +++ b/pages.bs/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Ova komanda je pseudonim za `fossil rm`. +> Više informacija: . + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr fossil rm` diff --git a/pages.bs/common/fossil-new.md b/pages.bs/common/fossil-new.md new file mode 100644 index 00000000000000..38e56d5cb158bd --- /dev/null +++ b/pages.bs/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Ova komanda je pseudonim za `fossil init`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr fossil init` diff --git a/pages.bs/common/fossil-rm.md b/pages.bs/common/fossil-rm.md new file mode 100644 index 00000000000000..3b132af6a015b1 --- /dev/null +++ b/pages.bs/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Ova komanda je pseudonim za `fossil delete`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr fossil delete` diff --git a/pages.bs/common/gh-cs.md b/pages.bs/common/gh-cs.md new file mode 100644 index 00000000000000..1a48589c8d5a09 --- /dev/null +++ b/pages.bs/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Ova komanda je pseudonim za `gh codespace`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr gh codespace` diff --git a/pages.bs/common/gnmic-sub.md b/pages.bs/common/gnmic-sub.md new file mode 100644 index 00000000000000..8ba575c4a3ca59 --- /dev/null +++ b/pages.bs/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Ova komanda je pseudonim za `gnmic subscribe`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr gnmic subscribe` diff --git a/pages.bs/common/llvm-ar.md b/pages.bs/common/llvm-ar.md new file mode 100644 index 00000000000000..5a8b3b78481f27 --- /dev/null +++ b/pages.bs/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Ova komanda je pseudonim za `ar`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr ar` diff --git a/pages.bs/common/llvm-g++.md b/pages.bs/common/llvm-g++.md new file mode 100644 index 00000000000000..8e4896ca8906d3 --- /dev/null +++ b/pages.bs/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Ova komanda je pseudonim za `clang++`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr clang++` diff --git a/pages.bs/common/llvm-gcc.md b/pages.bs/common/llvm-gcc.md new file mode 100644 index 00000000000000..2b99877e18938d --- /dev/null +++ b/pages.bs/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Ova komanda je pseudonim za `clang`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr clang` diff --git a/pages.bs/common/llvm-nm.md b/pages.bs/common/llvm-nm.md new file mode 100644 index 00000000000000..5a8a6320334895 --- /dev/null +++ b/pages.bs/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Ova komanda je pseudonim za `nm`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr nm` diff --git a/pages.bs/common/llvm-objdump.md b/pages.bs/common/llvm-objdump.md new file mode 100644 index 00000000000000..460b594939de39 --- /dev/null +++ b/pages.bs/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Ova komanda je pseudonim za `objdump`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr objdump` diff --git a/pages.bs/common/llvm-strings.md b/pages.bs/common/llvm-strings.md new file mode 100644 index 00000000000000..6a370ecb43e350 --- /dev/null +++ b/pages.bs/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Ova komanda je pseudonim za `strings`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr strings` diff --git a/pages.bs/common/logname.md b/pages.bs/common/logname.md index 64b18c48de9401..cfdb2dbada7377 100644 --- a/pages.bs/common/logname.md +++ b/pages.bs/common/logname.md @@ -1,6 +1,7 @@ # logname > Prikazuje ime prijevljenog korisnika. +> Više informacija: . - Prikaži ime trenutno prijavljenog korisnika: diff --git a/pages.bs/common/mkfifo.md b/pages.bs/common/mkfifo.md index 845d2c72c55923..04ed06cf734d9c 100644 --- a/pages.bs/common/mkfifo.md +++ b/pages.bs/common/mkfifo.md @@ -1,6 +1,7 @@ # mkfifo > Pravi FIFOs (imenovane cijevi). +> Više informacija: . - Napravi imenovanu cijev na zadatoj putanji: diff --git a/pages.bs/common/mscore.md b/pages.bs/common/mscore.md new file mode 100644 index 00000000000000..1219e4365e6ca5 --- /dev/null +++ b/pages.bs/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Ova komanda je pseudonim za `musescore`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr musescore` diff --git a/pages.bs/common/pio-init.md b/pages.bs/common/pio-init.md new file mode 100644 index 00000000000000..075ec6637fafc3 --- /dev/null +++ b/pages.bs/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Ova komanda je pseudonim za `pio project init`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr pio project` diff --git a/pages.bs/common/piodebuggdb.md b/pages.bs/common/piodebuggdb.md new file mode 100644 index 00000000000000..155225c837fde3 --- /dev/null +++ b/pages.bs/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Ova komanda je pseudonim za `pio debug --interface=gdb`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr pio debug` diff --git a/pages.bs/common/platformio.md b/pages.bs/common/platformio.md new file mode 100644 index 00000000000000..51b182b71b24d4 --- /dev/null +++ b/pages.bs/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Ova komanda je pseudonim za `pio`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr pio` diff --git a/pages.bs/common/r2.md b/pages.bs/common/r2.md new file mode 100644 index 00000000000000..794e1f829e9ffb --- /dev/null +++ b/pages.bs/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Ova komanda je pseudonim za `radare2`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr radare2` diff --git a/pages.bs/common/time.md b/pages.bs/common/time.md index d214936d23c6fa..3a102c8c3e7a13 100644 --- a/pages.bs/common/time.md +++ b/pages.bs/common/time.md @@ -1,7 +1,8 @@ # time > Vidi koliko dugo traje komanda. +> Više informacija: . -- Vrijeme "ls": +- Vrijeme `komanda`: -`time ls` +`time {{komanda}}` diff --git a/pages.bs/common/tldrl.md b/pages.bs/common/tldrl.md new file mode 100644 index 00000000000000..7dc683fe4e1e6d --- /dev/null +++ b/pages.bs/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Ova komanda je pseudonim za `tldr-lint`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr tldr-lint` diff --git a/pages.bs/common/tlmgr-arch.md b/pages.bs/common/tlmgr-arch.md new file mode 100644 index 00000000000000..6d5c5bf576f9cc --- /dev/null +++ b/pages.bs/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Ova komanda je pseudonim za `tlmgr platform`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr tlmgr platform` diff --git a/pages.bs/common/tty.md b/pages.bs/common/tty.md index 46a567f15c96c0..417be7dde8984a 100644 --- a/pages.bs/common/tty.md +++ b/pages.bs/common/tty.md @@ -1,6 +1,7 @@ # tty > Vraća ime terminala. +> Više informacija: . - Ispiši ime fajla ovog terminala: diff --git a/pages.bs/common/unalias.md b/pages.bs/common/unalias.md index f128c856427c20..52bad8de08bbdc 100644 --- a/pages.bs/common/unalias.md +++ b/pages.bs/common/unalias.md @@ -1,11 +1,12 @@ # unalias -> Ukloni alijase. +> Ukloni pseudonime. +> Više informacija: . -- Ukloni alijas: +- Ukloni pseudonim: `unalias {{ime_alijasa}}` -- Ukloni sve alijase: +- Ukloni sve pseudonime: `unalias -a` diff --git a/pages.bs/common/unclutter.md b/pages.bs/common/unclutter.md index 247465de4e222e..e0112b20585f05 100644 --- a/pages.bs/common/unclutter.md +++ b/pages.bs/common/unclutter.md @@ -1,6 +1,7 @@ # unclutter > Skriva kursor miša. +> Više informacija: . - Sakrij kursor miša nakon 3 sekunde: diff --git a/pages.bs/common/vi.md b/pages.bs/common/vi.md new file mode 100644 index 00000000000000..2f7efd06bf50bd --- /dev/null +++ b/pages.bs/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Ova komanda je pseudonim za `vim`. + +- Pregledaj dokumentaciju za izvornu komandu: + +`tldr vim` diff --git a/pages.bs/common/view.md b/pages.bs/common/view.md index 82ea7eab479f78..b718057c0bafde 100644 --- a/pages.bs/common/view.md +++ b/pages.bs/common/view.md @@ -2,6 +2,7 @@ > Read-only verzija `vim`. > Ovo je ekvivalent za `vim -R`. +> Više informacija: . - Otvori datoteku: diff --git a/pages.bs/common/vim.md b/pages.bs/common/vim.md new file mode 100644 index 00000000000000..0248817917a7b5 --- /dev/null +++ b/pages.bs/common/vim.md @@ -0,0 +1,38 @@ +# vim + +> Vim (Vi IMproved), je uređivač teksta za komandnu liniju koji nudi više režima rada za različite vrste manipulacije tekstom. +> Pritiskom na `` u normalnom režimu prelazi se u režim umetanja. Pritiskom na `` vraćate se u normalni režim, koji omogućava korištenje Vim komande. +> Pogledajte isto: `vimdiff`, `vimtutor`, `nvim`, `gvim`. +> Više informacija: . + +- Otvorite datoteku: + +`vim {{put/do/datoteke}}` + +- Otvorite datoteku na oređenoj liniji: + +`vim +{{broj_linije}} {{put/do/datoteke}}` + +- Pogledajte pomoćni list za Vim: + +`<:>help` + +- Sačuvaj i zatvori trenutni buffer: + +`{{|<:>x|<:>wq}}` + +- Prebaci se u normalni režim i opozovi posljednu operaciju: + +`` + +- Tražite uzorak u datoteci (pritiskom na ``/`` prelazite na sljedeće/predprošlo podudaranje): + +`{{uzorak_pretrage}}` + +- Izvedite `regex` (regularni izraz) zamjenu u cijeloj datoteci: + +`<:>%s/{{regex}}/{{zamjena}}/g` + +- Pokaži brojeve linija: + +`<:>set nu` diff --git a/pages.bs/common/zless.md b/pages.bs/common/zless.md index bec0bc09b647cb..88b5a682b19093 100644 --- a/pages.bs/common/zless.md +++ b/pages.bs/common/zless.md @@ -1,6 +1,7 @@ # zless > Pregledaj kompresovane datoteke. +> Više informacija: . - Prelistaj kroz kompresovanu arhivu sa `less`: diff --git a/pages.bs/linux/ip-route-list.md b/pages.bs/linux/ip-route-list.md new file mode 100644 index 00000000000000..8f95f67e3b8a0d --- /dev/null +++ b/pages.bs/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Ova komanda je pseudonim za `ip route show`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr ip route show` diff --git a/pages.bs/linux/ncal.md b/pages.bs/linux/ncal.md new file mode 100644 index 00000000000000..5d83a1b0659770 --- /dev/null +++ b/pages.bs/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Ova komanda je pseudonim za `cal`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr cal` diff --git a/pages.bs/windows/cd.md b/pages.bs/windows/cd.md new file mode 100644 index 00000000000000..8d3957f06bec07 --- /dev/null +++ b/pages.bs/windows/cd.md @@ -0,0 +1,33 @@ +# cd + +> Prikaži trenutni radni direktorij ili pređi u drugi direktorij. +> U PowerShellu, ova komanda je pseudonim za `Set-Location`. Ova dokumentacija zasniva se na verziji naredbe `cd` iz Command Prompta (`cmd`). +> Više informacija: . + +- Pogledajte dokumentaciju ekvivalentne PowerShell komande: + +`tldr set-location` + +- Pokaži put trenutnog radnog direktorija: + +`cd` + +- Idi u specifični direktorij na istom pogonu: + +`cd {{put\do\datoteke}}` + +- Idi u specifični direktorij na drugom pogonu: + +`cd /d {{C}}:{{put\do\datoteke}}` + +- Idi u roditeljski direktorij trenutnog direktorija: + +`cd ..` + +- Idi u kućni direktorij trenutnog korisnika: + +`cd %userprofile%` + +- Pređi na korijen trenutnog pogona: + +`cd \` diff --git a/pages.bs/windows/cinst.md b/pages.bs/windows/cinst.md new file mode 100644 index 00000000000000..b0b4238f1a4989 --- /dev/null +++ b/pages.bs/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Ova komanda je pseudonim za `choco install`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr choco install` diff --git a/pages.bs/windows/clist.md b/pages.bs/windows/clist.md new file mode 100644 index 00000000000000..37fb60700a6c2f --- /dev/null +++ b/pages.bs/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Ova komanda je pseudonim za `choco list`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr choco list` diff --git a/pages.bs/windows/cuninst.md b/pages.bs/windows/cuninst.md new file mode 100644 index 00000000000000..2172c98eeb6fb1 --- /dev/null +++ b/pages.bs/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Ova komanda je pseudonim za `choco uninstall`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr choco uninstall` diff --git a/pages.bs/windows/iwr.md b/pages.bs/windows/iwr.md new file mode 100644 index 00000000000000..6f590167e49cc7 --- /dev/null +++ b/pages.bs/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Ova komanda je pseudonim za `invoke-webrequest`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr invoke-webrequest` diff --git a/pages.bs/windows/pwsh-where.md b/pages.bs/windows/pwsh-where.md new file mode 100644 index 00000000000000..688cf5d3514f00 --- /dev/null +++ b/pages.bs/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Ova komanda je pseudonim za `Where-Object`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr Where-Object` diff --git a/pages.bs/windows/sls.md b/pages.bs/windows/sls.md new file mode 100644 index 00000000000000..31911b380c1364 --- /dev/null +++ b/pages.bs/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Ova komanda je pseudonim za `Select-String`. + +- Pogledaj dokumentaciju za izvornu komandu: + +`tldr select-string` diff --git a/pages.ca/common/7z.md b/pages.ca/common/7z.md new file mode 100644 index 00000000000000..6efc02a33c24a6 --- /dev/null +++ b/pages.ca/common/7z.md @@ -0,0 +1,32 @@ +# 7z + +> Arxivador de fitxers amb un alt ràtio de compressió. +> Més informació: . + +- [a]rxiva un fitxer o directori: + +`7z a {{camí/al/fitxer.7z}} {{camí/al/fitxer_o_directori}}` + +- Encripta un fitxer existent (incloent el nom del arxiu): + +`7z a {{camí/al/fitxer_encriptat.7z}} -p{{contrasenya}} -mhe=on {{camí/al/fitxer.7z}}` + +- E[x]treu un fitxer preservant l'estructura de directoris original: + +`7z x {{camí/al/fitxer.7z}}` + +- E[x]treu un fitxer a un directori específic: + +`7z x {{camí/al/fitxer.7z}} -o{{camí/al/directori}}` + +- E[x]treu un fitxer a `stdout`: + +`7z x {{camí/al/fitxer.7z}} -so` + +- [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}}` + +- [l]lista els continguts d'un fitxer: + +`7z l {{camí/al/fitxer.7z}}` diff --git a/pages.ca/common/bpytop.md b/pages.ca/common/bpytop.md new file mode 100644 index 00000000000000..212b8561f00b39 --- /dev/null +++ b/pages.ca/common/bpytop.md @@ -0,0 +1,28 @@ +# bpytop + +> Mostra informació del sistema en temps real sobre processos executant-se, amb gràfics. Similar a `gtop` i `htop`. +> Més informació: . + +- Inicia bpytop: + +`bpytop` + +- Inicia en mode minimalista sense recuadres de memòria y xarxes: + +`bpytop -m` + +- Canvia a mode minimalista: + +`` + +- Busca processos o programes executant-se: + +`` + +- Canvia ajustaments: + +`` + +- Mostra la versió: + +`bpytop -v` diff --git a/pages.ca/common/calc.md b/pages.ca/common/calc.md new file mode 100644 index 00000000000000..a79ca977398cc9 --- /dev/null +++ b/pages.ca/common/calc.md @@ -0,0 +1,12 @@ +# calc + +> Una calculadora de precisió arbitrària en la terminal. +> Més informació: . + +- Iniciar calc en mode interactiu: + +`calc` + +- Realizar un càlcul en mode no-interactiu: + +`calc -p '{{85 * (36 / 4)}}'` diff --git a/pages.ca/common/cd.md b/pages.ca/common/cd.md new file mode 100644 index 00000000000000..7c1bbad67112c9 --- /dev/null +++ b/pages.ca/common/cd.md @@ -0,0 +1,28 @@ +# cd + +> Canvia el directori actual. +> Més informació: . + +- Accedeix al directori donat: + +`cd {{camí/al/directori}}` + +- Accedeix al directori pare del directori actual: + +`cd ..` + +- Accedeix al directori `home` de l'usuari actual: + +`cd` + +- Accedeix al directori `home` de l'usuari donat: + +`cd ~{{username}}` + +- Accedeix al directori escollit prèviament: + +`cd -` + +- Accedeix a l'arrel del directori actual: + +`cd /` diff --git a/pages.ca/common/clamav.md b/pages.ca/common/clamav.md new file mode 100644 index 00000000000000..b898a515f6d13d --- /dev/null +++ b/pages.ca/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> Programa antivirus de codi obert. +> ClamAV no és una ordre, sinó un conjunt d'ordres. +> Més informació: . + +- Mostra la pàgina tldr per escanejar fitxers amb el dimoni `clamd`: + +`tldr clamdscan` + +- Mostra la pàgina tldr per escanejar fitxers sense que s'executi el dimoni `clamd`: + +`tldr clamscan` + +- Mostra la pàgina tldr per actualitzar les definicions de virus: + +`tldr freshclam` diff --git a/pages.ca/common/cmatrix.md b/pages.ca/common/cmatrix.md new file mode 100644 index 00000000000000..8d45086f23cb19 --- /dev/null +++ b/pages.ca/common/cmatrix.md @@ -0,0 +1,20 @@ +# cmatrix + +> Mostra una pantalla similar a la de Matrix en la terminal. +> Més informació: . + +- Activa el desplaçament asíncron: + +`cmatrix -a` + +- Mostra el text en vermell: + +`cmatrix -C {{red}}` + +- Activa el mode multicolor: + +`cmatrix -r` + +- Estableix el retràs d'actualització de la pantalla a 100 centrisegons (1 segons): + +`cmatrix -u 100` diff --git a/pages.ca/common/cp.md b/pages.ca/common/cp.md new file mode 100644 index 00000000000000..fc3555957da213 --- /dev/null +++ b/pages.ca/common/cp.md @@ -0,0 +1,28 @@ +# cp + +> Copia fitxers i directoris. +> Més informació: . + +- Copia un fitxer a un altre directori: + +`cp {{camí/al/fitxer_origen.ext}} {{camí/al/fitxer_destí.ext}}` + +- Copia un fitxer a un altre directori, mantenint el nom: + +`cp {{camí/al/fitxer_origen.ext}} {{camí/al/directori}}` + +- Copia recursivament els continguts d'un directori a un altre (si aquest existeix,els continguts es copien dins): + +`cp -R {{camí/al/directori_origen}} {{camí/al/directori_destí}}` + +- Copia un directori recursivament, de manera verbosa (mostra els fitxers a mesura que es van copiant): + +`cp -vR {{camí/al/directori_origen}} {{camí/al/directori_destí}}` + +- Copia els fitxers amb extensió `.txt` a una altra ubicació en mode interactiu (demana al usuari abans de sobreescriure un fitxer): + +`cp -i {{*.txt}} {{camí/al/directori_destí}}` + +- Copia enllaços simbòlics sense mantenir la referència al original: + +`cp -L {{enllaç}} {{camí/al/directori_destí}}` diff --git a/pages.ca/common/exit.md b/pages.ca/common/exit.md new file mode 100644 index 00000000000000..907ca7c3e18412 --- /dev/null +++ b/pages.ca/common/exit.md @@ -0,0 +1,12 @@ +# exit + +> Surt del shell. +> Més informació: . + +- Surt amb l'estat de sortida de l'ordre executada més recent : + +`exit` + +- Surt amb un estat de sortida específic: + +`exit {{codi_de_sortida}}` diff --git a/pages.ca/common/fossil-ci.md b/pages.ca/common/fossil-ci.md new file mode 100644 index 00000000000000..816a84424d16f8 --- /dev/null +++ b/pages.ca/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Aquest comandament es un àlies de `fossil commit`. + +- Veure documentació per el comandament original: + +`tldr fossil commit` diff --git a/pages.ca/common/fossil-forget.md b/pages.ca/common/fossil-forget.md new file mode 100644 index 00000000000000..78dab0a29f9fcb --- /dev/null +++ b/pages.ca/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Aquest comandament és un àlies de `fossil rm`. +> Més informació: . + +- Veure documentació pel comandament original: + +`tldr fossil rm` diff --git a/pages.ca/common/fossil-new.md b/pages.ca/common/fossil-new.md new file mode 100644 index 00000000000000..2d48837a6094ec --- /dev/null +++ b/pages.ca/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Aquest comandament és un àlies de `fossil init`. + +- Veure documentació pel comandament original: + +`tldr fossil init` diff --git a/pages.ca/common/fossil-rm.md b/pages.ca/common/fossil-rm.md new file mode 100644 index 00000000000000..2fb55350e1aa88 --- /dev/null +++ b/pages.ca/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Aquest comandament és un àlies de `fossil delete`. + +- Veure documentació pel comandament original: + +`tldr fossil delete` diff --git a/pages.ca/common/gh-cs.md b/pages.ca/common/gh-cs.md new file mode 100644 index 00000000000000..88bf8e8cc1d80b --- /dev/null +++ b/pages.ca/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Aquest comandament és un àlies de `gh codespace`. + +- Veure documentació pel comandament original: + +`tldr gh codespace` diff --git a/pages.ca/common/gnmic-sub.md b/pages.ca/common/gnmic-sub.md new file mode 100644 index 00000000000000..14a9ec92100d60 --- /dev/null +++ b/pages.ca/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Aquest comandament és un àlies de `gnmic subscribe`. + +- Veure documentació pel comandament original: + +`tldr gnmic subscribe` diff --git a/pages.ca/common/i3.md b/pages.ca/common/i3.md new file mode 100644 index 00000000000000..7594a0365c6f6a --- /dev/null +++ b/pages.ca/common/i3.md @@ -0,0 +1,32 @@ +# i3 + +> Gestor dinàmic de finestres en mosaic. +> Més informació: . + +- Comença i3 (cal tenir en compte que no deu haver cap altre gestor de finestres existent en executar aquest comandament): + +`i3` + +- Obre un terminal en una finestra nova: + +`` + +- Crea un nou espai de treball: + +`` + +- Canvia al espai de treball número `n`: + +`` + +- Obre una nova finestra en mosaic horitzontal: + +`` + +- Obre una nova finestra en mosaic vertical: + +`` + +- Obre una aplicació (cal escriure el nom de l'aplicació després d'executar el comandament): + +`` diff --git a/pages.ca/common/ls.md b/pages.ca/common/ls.md new file mode 100644 index 00000000000000..f863ac1594a5fb --- /dev/null +++ b/pages.ca/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> Llista els continguts d'un directori. +> Més informació: . + +- Llista els fitxers un per línia: + +`ls -1` + +- Llista tots els fitxers, incloent els ocults: + +`ls {{[-a|--all]}}` + +- Llista tots els fitxers, afegint `/` al nom dels directoris: + +`ls {{[-F|--classify]}}` + +- Llista de format llarg (permisos, propietat, mida i data de modificació) de tots els fitxers: + +`ls {{[-la|--all -l]}}` + +- Llista de format llarg amb unitats llegibles per humans (KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` + +- Llista de format lalrg ordenat per mida (descendent): + +`ls {{-lSR|-lS --recursive}}` + +- Llista de format llarg de tots els fitxers, organitzat per data de modificació (més antics primer): + +`ls {{[-ltr|-lt --reverse]}}` + +- Llista només directoris: + +`ls {{[-d|--directory]}} */` diff --git a/pages.ca/common/pio-init.md b/pages.ca/common/pio-init.md new file mode 100644 index 00000000000000..f0a73935d39dc9 --- /dev/null +++ b/pages.ca/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Aquest comandament és un àlies de `pio project`. + +- Veure documentació pel comandament original: + +`tldr pio project` diff --git a/pages.ca/common/tlmgr-arch.md b/pages.ca/common/tlmgr-arch.md new file mode 100644 index 00000000000000..730fd74826dadb --- /dev/null +++ b/pages.ca/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Aquest comandament és un àlies de `tlmgr platform`. + +- Veure documentació pel comandament original: + +`tldr tlmgr platform` diff --git a/pages.ca/common/touch.md b/pages.ca/common/touch.md new file mode 100644 index 00000000000000..3976f0331809ab --- /dev/null +++ b/pages.ca/common/touch.md @@ -0,0 +1,24 @@ +# touch + +> Canvia els temps d'accés i modificació d'un fitxer (atime, ntime). +> Més informació: . + +- Crea un o múltiples fitxers o canvia els temps al temps actual: + +`touch {{camí/al/fitxer}}` + +- Estableix el temps d'un fitxer a una data i hora específica: + +`touch -t {{YYYYMMDDHHMM.SS}} {{camí/al/fitxer}}` + +- Estableix el temps en un fitxer a fa una hora: + +`touch {{[-d|--date]}} "{{-1 hour}}" {{camí/al/fitxer}}` + +- Fa servir el temps d'un fitxer per establir el temps d'un segons fitxer: + +`touch {{[-r|--reference]}} {{camí/al/fitxer1}} {{camí/al/fitxer2}}` + +- Crea múltiples fitxers: + +`touch {{camí/al/fitxer{1,2,3}.txt}}` diff --git a/pages.ca/common/wal.md b/pages.ca/common/wal.md new file mode 100644 index 00000000000000..0b6552013f0596 --- /dev/null +++ b/pages.ca/common/wal.md @@ -0,0 +1,28 @@ +# wal + +> Una eina per crear esquemes de colors basats en els colors dominants del fons de pantalla. +> Més informació: . + +- Preveure l'esquema de colors: + +`wal --preview {{imatge.png}}` + +- Crear esquema de colors: + +`wal -i {{imatge.png}}` + +- Crea un esquema de colors clars: + +`wal -i {{imatge.png}} -l` + +- No canvia el fons de pantalla: + +`wal -i {{imatge.png}} -n` + +- No canvia els colors de la terminal: + +`wal -i {{imatge.png}} -s` + +- Restableix l'anterior fonts de pantalla i esquema de colors generat: + +`wal -R` diff --git a/pages.ca/common/youtube-dl.md b/pages.ca/common/youtube-dl.md new file mode 100644 index 00000000000000..489a4eb98cf7e6 --- /dev/null +++ b/pages.ca/common/youtube-dl.md @@ -0,0 +1,36 @@ +# youtube-dl + +> Descarrega videos de YouTube i altres pàgines web. +> Més informació: . + +- Descarrega un vídeo o playlist: + +`youtube-dl '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` + +- Llista tots els formats en el que es troba disponible un vídeo o playlist: + +`youtube-dl --list-formats '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` + +- Descarrega un vídeo o playlist en una qualitat específica: + +`youtube-dl --format "{{best[height<=480]}}" '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` + +- Descarrega l'àudio d'un vídeo i converteix-lo a MP3: + +`youtube-dl -x --audio-format {{mp3}} '{{url}}'` + +- Descarrega l'àudio i el vídeo de major qualitat i fusiona'ls: + +`youtube-dl -f bestvideo+bestaudio '{{url}}'` + +- Descarrega vídeo(s) com a fitxers MP4 amb un nom específic: + +`youtube-dl --format {{mp4}} -o "{{%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'` + +- Descarrega els subtítols d'un llenguatge en concret amb el vídeo: + +`youtube-dl --sub-lang {{en}} --write-sub '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` + +- Descarrega una playlist i extreu-ne els MP3s: + +`youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" '{{url_to_playlist}}'` diff --git a/pages.ca/linux/a2disconf.md b/pages.ca/linux/a2disconf.md new file mode 100644 index 00000000000000..8cb89b943daec5 --- /dev/null +++ b/pages.ca/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Desactiva un fitxer de configuració d'Apache en sistemes operatius basats en Debian. +> Més informació: . + +- Desactiva un fitxer de configuració: + +`sudo a2disconf {{fitxer_configuració}}` + +- No mostris missatges informatius: + +`sudo a2disconf --quiet {{fitxer_configuració}}` diff --git a/pages.ca/linux/a2dismod.md b/pages.ca/linux/a2dismod.md new file mode 100644 index 00000000000000..f09ac750679688 --- /dev/null +++ b/pages.ca/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Desactiva un mòdul Apache en sistemes operatius basats en Debian. +> Més informació: . + +- Desactiva un mòdul: + +`sudo a2dismod {{mòdul}}` + +- No mostrius missatges informatius: + +`sudo a2dismod --quiet {{mòdul}}` diff --git a/pages.ca/linux/a2dissite.md b/pages.ca/linux/a2dissite.md new file mode 100644 index 00000000000000..04fe325de7de2b --- /dev/null +++ b/pages.ca/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Desactiva un host virtual d'Apache en sistemes operatius basats en Debian. +> Més informació: . + +- Desactiva un host virtual: + +`sudo a2dissite {{host_virtual}}` + +- No mostris missatges informatius: + +`sudo a2dissite --quiet {{host_virtual}}` diff --git a/pages.ca/linux/a2enconf.md b/pages.ca/linux/a2enconf.md new file mode 100644 index 00000000000000..d8bb5564e37883 --- /dev/null +++ b/pages.ca/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Activa un fitxer de configuració d'Apache en sistemes operatius basats en debian. +> Més informació: . + +- Activa un fitxer de configuració: + +`sudo a2enconf {{fitxer_configuració}}` + +- No mostris missatges informatius: + +`sudo a2enconf --quiet {{fitxer_configuració}}` diff --git a/pages.ca/linux/a2enmod.md b/pages.ca/linux/a2enmod.md new file mode 100644 index 00000000000000..1712ca044fca68 --- /dev/null +++ b/pages.ca/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Activa un mòdul d'Apache en sistemes operatius basats en Debian. +> Més informació: . + +- Activa un mòdul: + +`sudo a2enmod {{mòdul}}` + +- No mostris missatges informatius: + +`sudo a2enmod --quiet {{mòdul}}` diff --git a/pages.ca/linux/a2ensite.md b/pages.ca/linux/a2ensite.md new file mode 100644 index 00000000000000..4766c02f53ab35 --- /dev/null +++ b/pages.ca/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Activa un host virtual d'Apache en sistemes operatius basats en Debian. +> Més informació: . + +- Activa un host virtual: + +`sudo a2ensite {{host_virtual}}` + +- No mostris missatges informatius: + +`sudo a2ensite --quiet {{host_virtual}}` diff --git a/pages.ca/linux/a2query.md b/pages.ca/linux/a2query.md new file mode 100644 index 00000000000000..698fd39d915d9e --- /dev/null +++ b/pages.ca/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Recupera la configuració del temps d'execució d'Apache en sistemes operatius basats en Debian. +> Més informació: . + +- Llista mòduls Apache activats: + +`sudo a2query -m` + +- Comprova si un mòdul específic està instal·lat: + +`sudo a2query -m {{nom_mòdul}}` + +- Llista els hosts virtuals activats: + +`sudo a2query -s` + +- Mostra el mòdul de processament múltiple: + +`sudo a2query -M` + +- Mostra la versió d'Apache: + +`sudo a2query -v` diff --git a/pages.ca/linux/abbr.md b/pages.ca/linux/abbr.md new file mode 100644 index 00000000000000..f703d7459da734 --- /dev/null +++ b/pages.ca/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> Gestiona abreviatures per la shell fish. +> Les paraules definides per l'usuari es reemplacen per expresions llarges en introduïr-les. +> Més informació: . + +- Afegeix una nova abreviatura: + +`abbr --add {{nom_abreviatura}} {{comandament}} {{arguments}}` + +- Canvia el nom d'una abreviatura existent: + +`abbr --rename {{antic_nom}} {{nou_nom}}` + +- Esborra una abreviatura existent: + +`abbr --erase {{nom_abreviatura}}` + +- Importa les abreviatures definides en un altre host per SSH: + +`ssh {{nom_host}} abbr --show | source` diff --git a/pages.ca/linux/ac.md b/pages.ca/linux/ac.md new file mode 100644 index 00000000000000..346e0ed0a8d92f --- /dev/null +++ b/pages.ca/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> Imprimeix estadístiques sonre el temps de connexió dels usuaris. +> Més informació: . + +- Imprimeix el temps de connexió del usuari actual en hores: + +`ac` + +- Imprimeix el temps total de connexió de tots els usuaris en hores: + +`ac {{[-p|--individual-totals]}}` + +- Imprimeix el temps total de connexió d'un usuari concret en hores: + +`ac {{[-p|--individual-totals]}} {{nom_usuari}}` + +- Imprimeix el temps de connexió d'un usuari concret en hores per dia (amb total): + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{nom_usuari}}` + +- Mostra també detalls adicionals: + +`ac --compatibility` diff --git a/pages.ca/linux/acpi.md b/pages.ca/linux/acpi.md new file mode 100644 index 00000000000000..c761ae19397e08 --- /dev/null +++ b/pages.ca/linux/acpi.md @@ -0,0 +1,28 @@ +# acpi + +> Mostra l'estat de la bateria o l'informació tèrmica. +> Més informació: . + +- Mostra informació de la bateria: + +`acpi` + +- Mostra informació tèrmica: + +`acpi -t` + +- Mostra informació del dispositiu de refredament: + +`acpi -c` + +- Mostra informació tèrmica en Fahrenheit: + +`acpi -tf` + +- Mostra tota l'informació: + +`acpi -V` + +- Extreu l'informació de `/proc` en comptes de `/sys`: + +`acpi -p` diff --git a/pages.ca/linux/add-apt-repository.md b/pages.ca/linux/add-apt-repository.md new file mode 100644 index 00000000000000..0161ef7edee061 --- /dev/null +++ b/pages.ca/linux/add-apt-repository.md @@ -0,0 +1,20 @@ +# add-apt-repository + +> Gestiona les definicions dels repositoris APT. +> Més informació: . + +- Afegeix un nou repositori APT: + +`add-apt-repository {{especificacions_del_respositori}}` + +- Elimina un repositori APT: + +`add-apt-repository {{[-r|--remove]}} {{especificacions_del_repositori}}` + +- Actualitza la memòria cau després d'afegir un repositori: + +`add-apt-repository --update {{especificacions_del_repositori}}` + +- Permet descarregar paquets font des del repositori: + +`add-apt-repository {{[-s|--enable-source]}} {{especificacions_del_repositori}}` diff --git a/pages.ca/linux/addpart.md b/pages.ca/linux/addpart.md new file mode 100644 index 00000000000000..c1b3f066d6e085 --- /dev/null +++ b/pages.ca/linux/addpart.md @@ -0,0 +1,9 @@ +# addpart + +> Comunica al linux kernel l'existència de la partició especificada. +> El commandament és un simple embolcall de `add partition` ioctl. +> Més informació: . + +- Comunica al kernel l'existència de la partició especificada: + +`addpart {{dispositiu}} {{partició}} {{inici}} {{llargada}}` diff --git a/pages.ca/linux/apt-add-repository.md b/pages.ca/linux/apt-add-repository.md new file mode 100644 index 00000000000000..17c54fe23da91c --- /dev/null +++ b/pages.ca/linux/apt-add-repository.md @@ -0,0 +1,20 @@ +# apt-add-repository + +> Gestiona les definicions del repositori APT. +> Més informació: . + +- Afegeix un nou repositori APT: + +`apt-add-repository {{repositori}}` + +- Elimina un repositori APT: + +`apt-add-repository --remove {{repositori}}` + +- Actualiza la memoria cau de paquets després d'afegir un repositori: + +`apt-add-repository --update {{repositori}}` + +- Activar les fonts de paquets: + +`apt-add-repository --enable-source {{repositori}}` diff --git a/pages.ca/linux/apt-cache.md b/pages.ca/linux/apt-cache.md new file mode 100644 index 00000000000000..26aaf1b53383aa --- /dev/null +++ b/pages.ca/linux/apt-cache.md @@ -0,0 +1,24 @@ +# apt-cache + +> Eina de consulta de paquets per a Debian y Ubuntu. +> Més informació: . + +- Busca un paquete en les teves fonts actuals: + +`apt-cache search {{consulta}}` + +- Mostra informació de un paquet: + +`apt-cache show {{paquet}}` + +- Mostra si un paquet està instalat i actualitzat: + +`apt-cache policy {{paquet}}` + +- Mostra les dependències de un paquet: + +`apt-cache depends {{paquet}}` + +- Mostra els paquets que depenen de un paquet en particular: + +`apt-cache rdepends {{paquet}}` diff --git a/pages.ca/linux/apt-file.md b/pages.ca/linux/apt-file.md new file mode 100644 index 00000000000000..73484fb9553a91 --- /dev/null +++ b/pages.ca/linux/apt-file.md @@ -0,0 +1,20 @@ +# apt-file + +> Busca arxius en paquets APT, incloent els que encara no s'han instal·lat. +> Més informació: . + +- Actualita les metadades de la base de dades: + +`sudo apt update` + +- Busca paquets que continguin l'arxiu o ruta especificada: + +`apt-file {{search|find}} {{ruta/al/arxiu}}` + +- Mostra el contingut del paquet especificat: + +`apt-file {{show|list}} {{nom_paquet}}` + +- Busca paquets que igualin l'expressió regular donada en `patró`: + +`apt-file {{search|find}} --regexp {{expressió_regular}}` diff --git a/pages.ca/linux/apt-get.md b/pages.ca/linux/apt-get.md new file mode 100644 index 00000000000000..bb3e039bc50da2 --- /dev/null +++ b/pages.ca/linux/apt-get.md @@ -0,0 +1,37 @@ +# apt-get + +> Eina de gestió de paquets per a distribucions basades en Debian. +> Busca paquets utilizant `apt-cache`. +> Més informació: . + +- Actualitza la llista de paquets i versions disponibles (es recomana executar aquest comandament abans que qualsevol altre `apt-get`): + +`apt-get update` + +- Instala un paquet o l'actualitza a l'última versió disponible: + +`apt-get install {{paquet}}` + +- Elimina un paquet: + +`apt-get remove {{paquet}}` + +- Elimina un paquet i els seus arxius de configuració: + +`apt-get purge {{paquet}}` + +- Actualitza tots els paquets instal·lats a les noves versions disponibles: + +`apt-get upgrade` + +- Neteja el repositori local - eliminant fitxers de paquet (`.deb`) de descàrregues interrompudes que ja no es poden descarregar: + +`apt-get autoclean` + +- Elimina tots els paquets inneccessaris: + +`apt-get autoremove` + +- Actualitza paquets instal·lats (com `upgrade`), però elimina els paquets obsolets i instal·la paquets adicionals per satisfer les dependències: + +`apt-get dist-upgrade` diff --git a/pages.ca/linux/apt-key.md b/pages.ca/linux/apt-key.md new file mode 100644 index 00000000000000..a18f67cafcd363 --- /dev/null +++ b/pages.ca/linux/apt-key.md @@ -0,0 +1,25 @@ +# apt-key + +> Eina de gestió de claus per al Gestor de Paquets APT (APT Package Manager) en Debian i Ubuntu. +> Nota: `apt-key` és obsolet (excepte l'ús de `apt-key del` en scrits de mantenidor). +> Més informació: . + +- Mostra les claus de confiança: + +`apt-key list` + +- Afegeix una clau al magatzem de claus de confiança: + +`apt-key add {{arxiu_clau_pública.asc}}` + +- Borra una clau del magatzem de claus de confiança: + +`apt-key del {{id_clau}}` + +- Afegir una clau remota al magatzem de claus de confiança: + +`wget -qO - {{https://host.tld/archiu.clau}} | apt-key add -` + +- Afegir una clau d'un servidor de claus amb l'identificador de la clau: + +`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{id_clau}}` diff --git a/pages.ca/linux/apt-mark.md b/pages.ca/linux/apt-mark.md new file mode 100644 index 00000000000000..3042b6a0b3c217 --- /dev/null +++ b/pages.ca/linux/apt-mark.md @@ -0,0 +1,24 @@ +# apt-mark + +> Eina per canviar l'estat dels paquets instal·lats. +> Més informació: . + +- Marca un paquet com a instal·lat automàticament: + +`sudo apt-mark auto {{nom_paquet}}` + +- Manté un paquet en la seva versió actual i evita que s'actualitzi: + +`sudo apt-mark hold {{nom_paquet}}` + +- Permet que es pugui actualitzar de nou: + +`sudo apt-mark unhold {{nom_paquet}}` + +- Mostra els paquets instal·lats manualment: + +`apt-mark showmanual` + +- Mostra els paquets mantinguts que no estàn actualitzats: + +`apt-mark showhold` diff --git a/pages.ca/linux/apt.md b/pages.ca/linux/apt.md new file mode 100644 index 00000000000000..238ac261c0233d --- /dev/null +++ b/pages.ca/linux/apt.md @@ -0,0 +1,37 @@ +# apt + +> Eina de gestió de paquets per a distribucions basades en Debian. +> Es recomana substituïr-lo per `apt-get` quan es faci servir interactivament en Ubuntu 16.04 o en versions posteriors. +> Més informació: . + +- Actualitza la llista de paquets i versions disponbles (es recomana executar aquest comandament abans que qualsevol altre `apt`): + +`sudo apt update` + +- Busca un paquet: + +`apt search {{paquet}}` + +- Mostra la informació de un paquet: + +`apt show {{paquet}}` + +- Instala un paquet o l'actualitza a l'última versió disponible: + +`sudo apt install {{paquet}}` + +- Elimina un paquet (si s'utiliza `purge` també elimina els seus arxius de configuració): + +`sudo apt remove {{paquet}}` + +- Actualitza tots els paquets instal·lats a les noves versions disponibles: + +`sudo apt upgrade` + +- Mostra tots els paquets: + +`apt list` + +- Mostra tots els paquets instalats: + +`apt list {{[-i|--installed]}}` diff --git a/pages.ca/linux/aptitude.md b/pages.ca/linux/aptitude.md new file mode 100644 index 00000000000000..570cbad00cac25 --- /dev/null +++ b/pages.ca/linux/aptitude.md @@ -0,0 +1,36 @@ +# aptitude + +> Eina de gestió de paquets per a Debian i Ubuntu. +> Més informació: . + +- Sincronitza la llista de paquets i versions disponibles (es recomana executar aquest commandament abans que qualsevol altre `aptitude`): + +`aptitude update` + +- Instal·lar un nou paquet i les seves dependències: + +`aptitude install {{paquet}}` + +- Buscar un paquet: + +`aptitude search {{paquet}}` + +- Cercar un paquet instal·lat (`?installed` es un terme de cerca de `aptitude`): + +`aptitude search '?installed({{paquet}})'` + +- Elimina un paquet i tots els paquets que depenen d'ell: + +`aptitude remove {{paquet}}` + +- Actualitza tots els paquets a les noves versions disponibles: + +`aptitude upgrade` + +- Actualitza paquets instal·lats (com `aptitude upgrade`), però elimina els paquets obsolets i instal·la paquets nous per satisfer les dependències: + +`aptitude full-upgrade` + +- Manté un paquet perquè no sigui actualitzat automàticament: + +`aptitude hold '?installed({{paquete}})'` diff --git a/pages.ca/linux/archey.md b/pages.ca/linux/archey.md new file mode 100644 index 00000000000000..76138f83849477 --- /dev/null +++ b/pages.ca/linux/archey.md @@ -0,0 +1,8 @@ +# archey + +> Eina senzilla per mostrar informació del sistema amb estil. +> Més informació: . + +- Mostra informació del sistema: + +`archey` diff --git a/pages.ca/linux/cal.md b/pages.ca/linux/cal.md new file mode 100644 index 00000000000000..227759e01802f4 --- /dev/null +++ b/pages.ca/linux/cal.md @@ -0,0 +1,24 @@ +# cal + +> Mostra el calendari, amb el dia actual ressaltat. +> Més informació: . + +- Mostra el calendari del mes actual: + +`cal` + +- Mostra el calendari del més anterior, actual i pròxim: + +`cal {{[-3|--three]}}` + +- Fa servir el dilluns com a primer dia de la setmana: + +`cal {{[-m|--monday]}}` + +- Mostra el calendari per un any concret (4 dígits): + +`cal {{any}}` + +- Mostra el calendari per un mes i any concrets: + +`cal {{mes}} {{any}}` diff --git a/pages.ca/linux/cmus.md b/pages.ca/linux/cmus.md new file mode 100644 index 00000000000000..43b9c6a8ce4f2d --- /dev/null +++ b/pages.ca/linux/cmus.md @@ -0,0 +1,25 @@ +# cmus + +> Reproductor de música per a la terminal. +> Utilitzeu `` per navegar, `` per seleccionar, i els y los números `<1>`-`<8>` per canviar entre les diferents vistes. +> Més informació: . + +- Obre cmus en un directori concret: + +`cmus {{ruta/al/directori}}` + +- Afegeix un arxiu/directori a la llibreria: + +`<:>add {{ruta/al/arxiu_o_directori}}` + +- Pausa/reprodueix la cançó actual: + +`` + +- Activa/desactiva mode aleatori: + +`` + +- Tanca cmus: + +`` diff --git a/pages.ca/linux/conky.md b/pages.ca/linux/conky.md new file mode 100644 index 00000000000000..8c1b4e0042bdee --- /dev/null +++ b/pages.ca/linux/conky.md @@ -0,0 +1,28 @@ +# conky + +> Monitor de sistema lleuger per X. +> Més informació: . + +- Executa amb la configuració per defecte: + +`conky` + +- Crea una nova configuració per defecte: + +`conky -C > ~/.conkyrc` + +- Executa conky amb un arxiu de configuració concret: + +`conky -c {{ruta/a/la/configuració}}` + +- Executa en segon pla (daemonize): + +`conky -d` + +- Posiciona conky en l'escriptori: + +`conky -a {{top|bottom|middle}}_{{left|right|middle}}` + +- Pausa de 5 segons al iniciar abans d'executar-lo: + +`conky -p {{5}}` diff --git a/pages.ca/linux/coredumpctl.md b/pages.ca/linux/coredumpctl.md new file mode 100644 index 00000000000000..d5b079a7bfbd88 --- /dev/null +++ b/pages.ca/linux/coredumpctl.md @@ -0,0 +1,24 @@ +# coredumpctl + +> Recupera i processa volcats de memòria i les seves metadades. +> Més informació: . + +- Llista tots els volcats de memòria capturats: + +`coredumpctl list` + +- Llista tots els volcats de memòria capturats per un programa: + +`coredumpctl list {{programa}}` + +- Mostra informació sobre els volcats de memòria que coincideixin amb el `PID` d'un programa: + +`coredumpctl info {{PID}}` + +- Invoca el depurador fent servir l'últim volcat de memòria per un programa: + +`coredumpctl debug {{programa}}` + +- Extreu l'últim volcat de memòria a un fitxer: + +`coredumpctl --output {{ruta/al/arxiu}} dump {{programa}}` diff --git a/pages.ca/linux/cpuid.md b/pages.ca/linux/cpuid.md new file mode 100644 index 00000000000000..da4518811f1fa5 --- /dev/null +++ b/pages.ca/linux/cpuid.md @@ -0,0 +1,16 @@ +# cpuid + +> Mostra informació detallada sobre totes les CPUs. +> Més informació: . + +- Mostra informació de totes les CPUs: + +`cpuid` + +- Mostra informació només per la CPU actual: + +`cpuid {{[-1|--one-cpu]}}` + +- Mostra informació hexadecimal en brut sense decodificar: + +`cpuid {{[-r|--raw]}}` diff --git a/pages.ca/linux/cpulimit.md b/pages.ca/linux/cpulimit.md new file mode 100644 index 00000000000000..1c94be9993c120 --- /dev/null +++ b/pages.ca/linux/cpulimit.md @@ -0,0 +1,28 @@ +# cpulimit + +> Eina per limitar l'ús de la CPU en altres processos. +> Més informació: . + +- Limita un procés existent amb PID 1234 perquè només utilitzi el 25% de CPU: + +`cpulimit --pid {{1234}} --limit {{25%}}` + +- Limita un programa existent per el seu nom d'execució: + +`cpulimit --exe {{programa}} --limit {{25}}` + +- Executa un programa determinat i limita el seu ús a només el 50% de la CPU: + +`cpulimit --limit {{50}} -- {{programa argument1 argument2 ...}}` + +- Executa un programa, limita l'ús de la CPU a 50% i executa cpulimit en segon pla: + +`cpulimit --limit {{50}} --background -- {{programa}}` + +- Mata el procés si l'ús de CPU del programa supera el 50%: + +`cpulimit --limit 50 --kill -- {{programa}}` + +- Regula el seu procés i els subprocessos perquè cap superi el 25% de CPU: + +`cpulimit --limit {{25}} --monitor-forks -- {{programa}}` diff --git a/pages.ca/linux/dmesg.md b/pages.ca/linux/dmesg.md new file mode 100644 index 00000000000000..fe2376125d8299 --- /dev/null +++ b/pages.ca/linux/dmesg.md @@ -0,0 +1,36 @@ +# dmesg + +> Escriu els missatges del kernel a la sortida estàndar. +> Més informació: . + +- Mostra els missatges del kernel: + +`sudo dmesg` + +- Mostra els missatges d'error del kernel: + +`sudo dmesg {{[-l|--level]}} err` + +- Mostra els missatges del kernel i segueix llegint els nous, similar a `tail -f` (disponible en kernels 3.5.0 i posteriors): + +`sudo dmesg {{[-w|--follow]}}` + +- Mostra quanta memòria física hi ha disponible en el sistema: + +`sudo dmesg | grep {{[-i|--ignore-case]}} memory` + +- Mostra tots els missatges del kernel, pàgina a pàgina: + +`sudo dmesg | less` + +- Mostra els missatges del kernel amb una estampa temporal (disponible en kernels 3.5.0 i posteriors): + +`sudo dmesg {{[-T|--ctime]}}` + +- Mostra els missatges del kernel de forma llegible per humans (disponible en kernels 3.5.0 i posteriors): + +`sudo dmesg {{[-H|--human]}}` + +- Pinta la sortida (disponible en kernels 3.5.0 i posteriors): + +`sudo dmesg {{[-L|--color]}}` diff --git a/pages.ca/linux/dmidecode.md b/pages.ca/linux/dmidecode.md new file mode 100644 index 00000000000000..63bae8ab54a630 --- /dev/null +++ b/pages.ca/linux/dmidecode.md @@ -0,0 +1,29 @@ +# dmidecode + +> Mostra la taula de continguts del DMI (també conegut com SMBIOS) en un format llegible per humans. +> Requereix privilegis de root. +> Més informació: . + +- Mostra tota la taula de continguts del DMI: + +`sudo dmidecode` + +- Mostra la versió de la BIOS: + +`sudo dmidecode -s bios-version` + +- Mostra el número de sèrie del equip: + +`sudo dmidecode -s system-serial-number` + +- Mostra informació de la BIOS: + +`sudo dmidecode -t bios` + +- Mostra informació de la CPU: + +`sudo dmidecode -t processor` + +- Mostra informació de la memòria: + +`sudo dmidecode -t memory` diff --git a/pages.ca/linux/dnf.md b/pages.ca/linux/dnf.md new file mode 100644 index 00000000000000..02a6d861ddc077 --- /dev/null +++ b/pages.ca/linux/dnf.md @@ -0,0 +1,32 @@ +# dnf + +> Administrador de paquets per RHEL, CentOS i Fedora (Reemplaça a yum). +> Més informació: . + +- Actualitza tots els paquets a l'última versió disponible: + +`sudo dnf update` + +- Busca un paquet fent servir paraules clau: + +`dnf search {{palabra_clau1 palabra_clau2 ...}}` + +- Mostra informació sobre un paquet: + +`dnf info {{paquet}}` + +- Instal·la un nou paquet: + +`sudo dnf install {{paquet1 paquet2 ...}}` + +- Desinstal·la un paquet: + +`sudo dnf remove {{paquet1 paquet2 ...}}` + +- Llista tots els paquets instal·lats: + +`dnf list --installed` + +- Troba quin paquet proveeeix un arxiu determinat: + +`dnf provides {{arxiu}}` diff --git a/pages.ca/linux/dos2unix.md b/pages.ca/linux/dos2unix.md new file mode 100644 index 00000000000000..cd6888654f0505 --- /dev/null +++ b/pages.ca/linux/dos2unix.md @@ -0,0 +1,13 @@ +# dos2unix + +> Canvia salts de línia amb format DOS a salts de línia amb format Unix. +> Reemplaça CRLF amb LF. +> Més informació: . + +- Canvia els salts de línia en un arxiu: + +`dos2unix {{nom_del_arxiu}}` + +- Crea una còpia amb salts de línia en format Unix: + +`dos2unix {{[-n|--newfile]}} {{nom_del_arxiu}} {{nou_nom_del_arxiu}}` diff --git a/pages.ca/linux/free.md b/pages.ca/linux/free.md new file mode 100644 index 00000000000000..4ab60ef1209b2b --- /dev/null +++ b/pages.ca/linux/free.md @@ -0,0 +1,20 @@ +# free + +> Mostra la quantitat de memòria lliure i utilitzada en el sistema. +> Més informació: . + +- Mostra la memòria del sistema: + +`free` + +- Mostra la memòria del sistema en Bytes/KB/MB/GB: + +`free -{{b|k|m|g}}` + +- Mostra la memòria del sistema en unitats llegibles per humans: + +`free {{[-h|--human]}}` + +- Actualitza la sortida cada 2 segons: + +`free {{[-s|--seconds]}} {{2}}` diff --git a/pages.ca/linux/groupdel.md b/pages.ca/linux/groupdel.md new file mode 100644 index 00000000000000..163fc22bbf814f --- /dev/null +++ b/pages.ca/linux/groupdel.md @@ -0,0 +1,8 @@ +# groupdel + +> Elimina del sistema grups d'usuaris existents. +> Més informació: . + +- Borra un grup existent: + +`sudo groupdel {{nom_del_grup}}` diff --git a/pages.ca/linux/halt.md b/pages.ca/linux/halt.md new file mode 100644 index 00000000000000..d34ecd475b39a9 --- /dev/null +++ b/pages.ca/linux/halt.md @@ -0,0 +1,24 @@ +# halt + +> Deté, apaga o reinicia la màquina. +> Més informació: . + +- Deté la màquina: + +`halt` + +- Apaga la màquina (el mateix que `poweroff`): + +`halt {{[-p|--poweroff]}}` + +- Reinicia la màquina (el mateix que `reboot`): + +`halt --reboot` + +- Deté la màquina inmediatament sense contactar l'administrador de sistemes: + +`halt {{[-f|--force]}}` + +- Escriu l'entrada de wtpm shutdown sense aturar el sistema: + +`halt {{[-w|--wtmp-only]}}` diff --git a/pages.ca/linux/i7z.md b/pages.ca/linux/i7z.md new file mode 100644 index 00000000000000..e46deb33f895af --- /dev/null +++ b/pages.ca/linux/i7z.md @@ -0,0 +1,8 @@ +# i7z + +> Eina d'informes en temps real per CPUs Intel (només i3, i5 i i7). +> Més informació: . + +- Inicia i7z (cal executar amb permisos de root): + +`sudo i7z` diff --git a/pages.ca/linux/ifdown.md b/pages.ca/linux/ifdown.md new file mode 100644 index 00000000000000..a5a3b5251e424b --- /dev/null +++ b/pages.ca/linux/ifdown.md @@ -0,0 +1,12 @@ +# ifdown + +> Desactiva interfícies de xarxa. +> Més informació: . + +- Desactiva la interfície eth0: + +`ifdown {{eth0}}` + +- Desactiva totes les interfícies que estiguin activades: + +`ifdown -a` diff --git a/pages.ca/linux/ip-route-list.md b/pages.ca/linux/ip-route-list.md new file mode 100644 index 00000000000000..017497f594aed0 --- /dev/null +++ b/pages.ca/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Aquest comandament és un àlies de `ip route show`. + +- Veure documentació pel comandament original: + +`tldr ip route show` diff --git a/pages.ca/linux/line.md b/pages.ca/linux/line.md new file mode 100644 index 00000000000000..4d17547387e694 --- /dev/null +++ b/pages.ca/linux/line.md @@ -0,0 +1,8 @@ +# line + +> Llegeix una única línia d'entrada. +> Més informació: . + +- Llegeix una entrada: + +`line` diff --git a/pages.ca/linux/lsb_release.md b/pages.ca/linux/lsb_release.md new file mode 100644 index 00000000000000..ff2b730e700a31 --- /dev/null +++ b/pages.ca/linux/lsb_release.md @@ -0,0 +1,20 @@ +# lsb_release + +> Proporciona informació específica de la distribució i LSB (Linux Standard Base). +> Més informació: . + +- Mostra tota la informació disponible: + +`lsb_release -a` + +- Mostra una descripció dels sistema operatiu (normalment el nom complet): + +`lsb_release -d` + +- Mostra només el nom del sistema operatiu (ID) sense el camp nom: + +`lsb_release -i -s` + +- Mostra el número de versió i el nom en clau de la distribució sense el camp nom: + +`lsb_release -rcs` diff --git a/pages.ca/linux/lsmod.md b/pages.ca/linux/lsmod.md new file mode 100644 index 00000000000000..bb2646cfdeb525 --- /dev/null +++ b/pages.ca/linux/lsmod.md @@ -0,0 +1,9 @@ +# lsmod + +> Mostra l'estat dels mòduls carregats en el kernel de linux. +> Vegeu també `modprobe`, el qual carrega mòduls de kernel. +> Més informació: . + +- Llista tots els mòduls de kernel carregats: + +`lsmod` diff --git a/pages.ca/linux/lsusb.md b/pages.ca/linux/lsusb.md new file mode 100644 index 00000000000000..f9a72058958acf --- /dev/null +++ b/pages.ca/linux/lsusb.md @@ -0,0 +1,20 @@ +# lsusb + +> Mostra informació sobre ports i dispositius USB. +> Més informació: . + +- Llista tots els dispositius USB disponibles: + +`lsusb` + +- Llista la jerarquia de dispositius USB en forma d'arbre: + +`lsusb {{[-t|--tree]}}` + +- Llista tots els disposititus USB de forma verbosa: + +`lsusb {{[-v|--verbose]}}` + +- Llista només dispositius amb un ID d'assemblador i producte determinat: + +`lsusb -d {{assemblador}}:{{producte}}` diff --git a/pages.ca/linux/megadl.md b/pages.ca/linux/megadl.md new file mode 100644 index 00000000000000..247759a2daf65f --- /dev/null +++ b/pages.ca/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Aquest comandament es un àlies de `megatools-dl`. + +- Veure documentació per el comandament original: + +`tldr megatools-dl` diff --git a/pages.ca/linux/mklost+found.md b/pages.ca/linux/mklost+found.md new file mode 100644 index 00000000000000..cf41ba63dd5b1f --- /dev/null +++ b/pages.ca/linux/mklost+found.md @@ -0,0 +1,8 @@ +# mklost+found + +> Crea un directori lost+found. +> Més informació: . + +- Crea un directori `lost+found` en el directori actual: + +`mklost+found` diff --git a/pages.ca/linux/nautilus.md b/pages.ca/linux/nautilus.md new file mode 100644 index 00000000000000..743c7216a27a0e --- /dev/null +++ b/pages.ca/linux/nautilus.md @@ -0,0 +1,33 @@ +# nautilus + +> Explorador de fitxers per defecte en l'escriptori GNOME. +> També conegut com a Fitxers. +> Més informació: . + +- Obre Nautilus: + +`nautilus` + +- Obre Nautilus com a root: + +`nautilus admin:/` + +- Obre Nautilus en un directori específic: + +`nautilus {{camí/al/directori}}` + +- Obre nautilus amb un directori o fitxer específic seleccionat: + +`nautilus --select {{camí/al/fitxer_o_directori}}` + +- Obre Nautilus en una finestra separada: + +`nautilus --new-window` + +- Tanca totes les instàncies de Nautilus: + +`nautilus --quit` + +- Mostra ajuda: + +`nautilus --help` diff --git a/pages.ca/linux/ncal.md b/pages.ca/linux/ncal.md new file mode 100644 index 00000000000000..cfef16fd9cd057 --- /dev/null +++ b/pages.ca/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Aquest comandament és un àlies de `cal`. + +- Veure documentació per el comandament original: + +`tldr cal` diff --git a/pages.ca/linux/newgrp.md b/pages.ca/linux/newgrp.md new file mode 100644 index 00000000000000..e2daf986355316 --- /dev/null +++ b/pages.ca/linux/newgrp.md @@ -0,0 +1,12 @@ +# newgrp + +> Canvia el grup primari de pertinència. +> Més informació: . + +- Canvia el grup primari de pertinència del usuari: + +`newgrp {{nom_grup}}` + +- Restableix el grup primari de pertinència al grup per defecte del usuari `/etc/passwd`: + +`newgrp` diff --git a/pages.ca/linux/ntfsfix.md b/pages.ca/linux/ntfsfix.md new file mode 100644 index 00000000000000..96140d37164b60 --- /dev/null +++ b/pages.ca/linux/ntfsfix.md @@ -0,0 +1,8 @@ +# ntfsfix + +> Arregla problemes habituals d'una partició NTFS. +> Més informació: . + +- Arregla una partició NTFS donada: + +`sudo ntfsfix {{/dev/sdXN}}` diff --git a/pages.ca/linux/pkgadd.md b/pages.ca/linux/pkgadd.md new file mode 100644 index 00000000000000..5d0b464648bac3 --- /dev/null +++ b/pages.ca/linux/pkgadd.md @@ -0,0 +1,12 @@ +# pkgadd + +> Afegeix un paquet a un sistema CRUX. +> Més informació: . + +- Instal·la un paquet de software local: + +`pkgadd {{nom_paquet}}` + +- Actualitza un paquet ja instal·lat a partir de un paquet local: + +`pkgadd -u {{nom_paquet}}` diff --git a/pages.ca/linux/pkgrm.md b/pages.ca/linux/pkgrm.md new file mode 100644 index 00000000000000..023cea375fee24 --- /dev/null +++ b/pages.ca/linux/pkgrm.md @@ -0,0 +1,8 @@ +# pkgrm + +> Elimina un paquet d'un sistema CRUX. +> Més informació: . + +- Elimina un paquet instal·lat: + +`pkgrm {{nom_del_paquet}}` diff --git a/pages.ca/linux/poweroff.md b/pages.ca/linux/poweroff.md new file mode 100644 index 00000000000000..2aa04f80294e38 --- /dev/null +++ b/pages.ca/linux/poweroff.md @@ -0,0 +1,24 @@ +# poweroff + +> Apaga la màquina. +> Més informació: . + +- Apaga la màquina: + +`poweroff` + +- Atura el sistema (el mateix que `halt`): + +`poweroff --halt` + +- Reinicia el ssitema (el mateix que `reboot`): + +`poweroff --reboot` + +- Apaga el sistema sense contactar l'administrador del sistema: + +`poweroff {{[-f|--force]}}` + +- Escriu l'entrada de wtpm shutdown sense apagar l'ordinador: + +`poweroff {{[-w|--wtmp-only]}}` diff --git a/pages.ca/linux/pwdx.md b/pages.ca/linux/pwdx.md new file mode 100644 index 00000000000000..2daf2c74d7c3fe --- /dev/null +++ b/pages.ca/linux/pwdx.md @@ -0,0 +1,8 @@ +# pwdx + +> Mostra el directori de treball de un procés. +> Més informació: . + +- Mostra el directori de treball actual de un procés: + +`pwdx {{process_id}}` diff --git a/pages.ca/linux/raspinfo.md b/pages.ca/linux/raspinfo.md new file mode 100644 index 00000000000000..430fbcf72d7217 --- /dev/null +++ b/pages.ca/linux/raspinfo.md @@ -0,0 +1,8 @@ +# raspinfo + +> Mostra informació del sistema en una Raspberry Pi. +> Més informació: . + +- Mostra informació del sistema: + +`raspinfo` diff --git a/pages.ca/linux/reboot.md b/pages.ca/linux/reboot.md new file mode 100644 index 00000000000000..f7139d3b71fb1a --- /dev/null +++ b/pages.ca/linux/reboot.md @@ -0,0 +1,24 @@ +# reboot + +> Reinicia la màquina. +> Més informació: . + +- Reinicia inmediatament: + +`reboot` + +- Apaga el sistema (el mateix que `poweroff`): + +`reboot {{[-p|--poweroff]}}` + +- Atura el sistema (el mateix que halt): + +`reboot --halt` + +- Reinicia inmediatament sense contactar l'adminstrador del sistema: + +`reboot {{[-f|--force]}}` + +- Escriu l'entrada wtmp shutdown sense reiniciar el sistema: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.ca/linux/reset.md b/pages.ca/linux/reset.md new file mode 100644 index 00000000000000..09e772e3ad581f --- /dev/null +++ b/pages.ca/linux/reset.md @@ -0,0 +1,12 @@ +# reset + +> Reinicialitza la terminal actual. Borra tota la pantalla de la terminal. +> Més informació: . + +- Reinicialitza la terminal actual: + +`reset` + +- Mostra el tipus de terminal: + +`reset -q` diff --git a/pages.ca/linux/rig.md b/pages.ca/linux/rig.md new file mode 100644 index 00000000000000..7b4e6d1ac1799e --- /dev/null +++ b/pages.ca/linux/rig.md @@ -0,0 +1,24 @@ +# rig + +> Utilitat per generar un nom, cognom, carrer i número, en conjunt d'una ubicació geogràfica consistent (un conjunt vàlid de ciutat, estat i codi postal). +> Més informació: . + +- Mostra un nom aleatori (masculí o femení) i una direcció: + +`rig` + +- Mostra un nom [m]asculí o [f]emení aleatori i una direcció: + +`rig -{{m|f}}` + +- Fa servir arxius de dades d'un directori específic (per defecte és `/usr/share/rig`): + +`rig -d {{ruta/al/directori}}` + +- Especifica el número d'identitats a generar: + +`rig -c {{numero}}` + +- Especifica el número d'identitats femininas a generar: + +`rig -f -c {{numero}}` diff --git a/pages.ca/linux/sensible-browser.md b/pages.ca/linux/sensible-browser.md new file mode 100644 index 00000000000000..8b2c8930e15c67 --- /dev/null +++ b/pages.ca/linux/sensible-browser.md @@ -0,0 +1,12 @@ +# sensible-browser + +> Obre el navegador predeterminat. +> Més informació: . + +- Obre una nova finestra del navegador predeterminat: + +`sensible-browser` + +- Obre una URL en el navegador predeterminat: + +`sensible-browser {{url}}` diff --git a/pages.ca/linux/sensors.md b/pages.ca/linux/sensors.md new file mode 100644 index 00000000000000..0e0c09e1d5f119 --- /dev/null +++ b/pages.ca/linux/sensors.md @@ -0,0 +1,12 @@ +# sensors + +> Proporciona informació dels sensors. +> Més informació: . + +- Mostra les lectures actuals de tots els sensors: + +`sensors` + +- Mostra les temperatures en graus Fahrenheit: + +`sensors --fahrenheit` diff --git a/pages.ca/linux/service.md b/pages.ca/linux/service.md new file mode 100644 index 00000000000000..93ca5e0dbd5901 --- /dev/null +++ b/pages.ca/linux/service.md @@ -0,0 +1,21 @@ +# service + +> Gestiona els serveis mitjançant l'execució de scripts init. +> S'ha d'ometre la ruta completa del script (s'assumeix `/etc/init.d`). +> Més informació: . + +- Llista el nom i l'estat de tots els serveis: + +`service --status-all` + +- Inicia/Para/Reinicia/Recarrega servei (_start_/_stop_ hauria d'estar sempre disponible): + +`service {{nom_del_servei}} {{start|stop|restart|reload}}` + +- Fa un reinici complet (executa el script dues vegades amb _start_ i _stop_): + +`service {{nom_del_servei}} --full-restart` + +- Mostra l'estat actual d'un servei: + +`service {{nom_del_servei}} status` diff --git a/pages.ca/linux/shutdown.md b/pages.ca/linux/shutdown.md new file mode 100644 index 00000000000000..8269c72306d07b --- /dev/null +++ b/pages.ca/linux/shutdown.md @@ -0,0 +1,24 @@ +# shutdown + +> Deté, apaga o reinicia la màquina. +> Més informació: . + +- Deté inmediatament: + +`shutdown -h now` + +- Reinicia inmediatament: + +`shutdown {{[-r|--reboot]}} now` + +- Reinicia després de 5 minuts: + +`shutdown {{[-r|--reboot]}} +{{5}} &` + +- Apaga a la 1:00 PM (format 24h): + +`shutdown -h 13:00` + +- Cancel·la una operació d'apagat/reinici pendent: + +`shutdown -c` diff --git a/pages.ca/linux/snake4scores.md b/pages.ca/linux/snake4scores.md new file mode 100644 index 00000000000000..f679ea636c99cc --- /dev/null +++ b/pages.ca/linux/snake4scores.md @@ -0,0 +1,8 @@ +# snake4scores + +> Mostra les màximes puntuacions del joc snake4. +> Més informació: . + +- Mostra les màximes puntuacions: + +`snake4scores` diff --git a/pages.ca/linux/systemctl.md b/pages.ca/linux/systemctl.md new file mode 100644 index 00000000000000..bfad328ab26db5 --- /dev/null +++ b/pages.ca/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> Controla el sistema systemd i el gestor de serveis. +> Més informació: . + +- Mostra tots els serveis en execució: + +`systemctl status` + +- Llista les unitats fallides: + +`systemctl --failed` + +- Inicia/Atura/Reinicia/Recarrega un servei: + +`systemctl {{start|stop|restart|reload}} {{unitat}}` + +- Mostra l'estat d'una unitat: + +`systemctl status {{unitat}}` + +- Habilita/Deshabilita una unitat perquè s'inicii en l'arrencada: + +`systemctl {{enable|disable}} {{unitat}}` + +- Enmascara/Desenmascara una unitat per evitar la seva habilitació i activació manual: + +`systemctl {{mask|unmask}} {{unida}}` + +- Recarrega systemd, buscant unitats noves o modificades: + +`systemctl daemon-reload` + +- Comprova si una unitat està habilitada: + +`systemctl is-enabled {{unitat}}` diff --git a/pages.ca/linux/tcpflow.md b/pages.ca/linux/tcpflow.md new file mode 100644 index 00000000000000..3cfdfab578076d --- /dev/null +++ b/pages.ca/linux/tcpflow.md @@ -0,0 +1,8 @@ +# tcpflow + +> Captura el tràfic TCP per depuració i anàlisi. +> Més informació: . + +- Mostra totes les dades de la interfície i el port indicats: + +`tcpflow -c -i {{eth0}} port {{80}}` diff --git a/pages.ca/linux/tcpkill.md b/pages.ca/linux/tcpkill.md new file mode 100644 index 00000000000000..356fb45c735d89 --- /dev/null +++ b/pages.ca/linux/tcpkill.md @@ -0,0 +1,8 @@ +# tcpkill + +> Mata les conexions TCP en curs especificades. +> Més informació: . + +- Mata les conexions en curs d'una interfície, màquina i port indicats: + +`tcpkill -i {{eth1}} host {{192.95.4.27}} and port {{2266}}` diff --git a/pages.ca/linux/top.md b/pages.ca/linux/top.md new file mode 100644 index 00000000000000..160564452a0ff8 --- /dev/null +++ b/pages.ca/linux/top.md @@ -0,0 +1,32 @@ +# top + +> Mostra informació dinàmica en temps real sobre processos executant-se. +> Més informació: . + +- Inicia top: + +`top` + +- No mostra cap procés inactiu o zombie: + +`top {{[-i|--idle-toggle]}}` + +- Mostra només processos pertanyents a un usari donat: + +`top {{[-u|--filter-only-euser]}} {{usuari}}` + +- Ordena processos per una columna: + +`top {{[-o|--sort-override]}} {{nom_columna}}` + +- Mostra els fils individuals d'un procés donat: + +`top -Hp {{id_procés}}` + +- Mostra només els processos amb un(s) PID(s) donat(s), separats per comes. (Normalment no es coneix el PID amb antelació. Aquest exemple l'obté del nom del procés): + +`top {{[-p|--pid]}} $(pgrep {{[-d|--delimiter]}} ',' {{nom_procés}})` + +- Obté ajuda sobre els commandaments interactius: + +`` diff --git a/pages.ca/linux/ubuntu-bug.md b/pages.ca/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..4014c676ef6a6b --- /dev/null +++ b/pages.ca/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Aquest commandament és un àlies de `apport-bug`. + +- Veure documentació per el commandament original: + +`tldr apport-bug` diff --git a/pages.ca/linux/ufw.md b/pages.ca/linux/ufw.md new file mode 100644 index 00000000000000..84b2732e6bbd9b --- /dev/null +++ b/pages.ca/linux/ufw.md @@ -0,0 +1,37 @@ +# ufw + +> Tallafocs sense complicacions (_Uncomplicated Firewall_). +> Interfície d'usuari de `iptables` per facilitar la configuració d'un firewall. +> Més informació: . + +- Activa ufw: + +`ufw enable` + +- Desactiva ufw: + +`ufw disable` + +- Mostra les regles del ufw, en conjunt amb els seus números: + +`ufw status numbered` + +- Permet el tràfic entrant en el port 5432 en aquest host amb un comentari que indentifiqui el servei: + +`ufw allow {{5432}} comment "{{servei}}"` + +- Permet només el tràfic TCP desde 192.168.0.4 a qualsevol direcció d'aquest host, en el port 22: + +`ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}` + +- Denega el tràfic en el port 80 en aquest host: + +`ufw deny {{80}}` + +- Denega tot el tràfic al port 22: + +`ufw deny proto {{udp}} from {{any}} to {{any}} port {{22}}` + +- Elimina una regla concreta. El número de la regla es pot obtenir del comanadament `ufw status numbered`: + +`ufw delete {{número_de_regla}}` diff --git a/pages.ca/linux/useradd.md b/pages.ca/linux/useradd.md new file mode 100644 index 00000000000000..56b77546f25935 --- /dev/null +++ b/pages.ca/linux/useradd.md @@ -0,0 +1,33 @@ +# useradd + +> Crea un nou usuari. +> Vegeu també: `users`, `userdel`, `usermod`. +> Més informació: . + +- Crea un usuari nou: + +`sudo useradd {{nom_usuari}}` + +- Crea un usuari amb l'id d'usuari especificada: + +`sudo useradd {{[-u|--uid]}} {{id}} {{nom_usuari}}` + +- Crea un usuari nou amb una shell específica: + +`sudo useradd {{[-s|--shell]}} {{ruta/a/la/shell}} {{nom_usuari}}` + +- Crea un usuari nou pertanyent a grups adicionals (cal tenir en compte que no existeixen espais en blanc): + +`sudo useradd {{[-G|--groups]}} {{grup1,grup2}} {{nom_usuari}}` + +- Crea un usuari nou amb el directori home predeterminat: + +`sudo useradd {{[-m|--create-home]}} {{nom_usuari}}` + +- Crea un usuari nou amb el directori home omplert per una plantilla: + +`sudo useradd {{[-k|--skel]}} {{/cami/al/directori_plantilles}} {{[-m|--create-home]}} {{nom_usuari}}` + +- Crea un usuari nou del sistema sense directori home: + +`sudo useradd {{[-r|--system]}} {{nom_usuari}}` diff --git a/pages.ca/linux/userdel.md b/pages.ca/linux/userdel.md new file mode 100644 index 00000000000000..e6aa259c0a7a9f --- /dev/null +++ b/pages.ca/linux/userdel.md @@ -0,0 +1,17 @@ +# userdel + +> Elimina una conta d'usuari o elimina un usuari d'un grup. +> Vegeu també: `users`, `useradd`, `usermod`. +> Més informació: . + +- Elimina un usuari: + +`sudo userdel {{nom_usuari}}` + +- Elimina un usuari en un altre directori root: + +`sudo userdel {{[-R|--root]}} {{ruta/al/altre/root}} {{nom_usuari}}` + +- Elimina un usuari en conjunt amb el seu directori home i mail spool: + +`sudo userdel {{[-r|--remove]}} {{nom_usuari}}` diff --git a/pages.ca/linux/usermod.md b/pages.ca/linux/usermod.md new file mode 100644 index 00000000000000..9b903017f579bf --- /dev/null +++ b/pages.ca/linux/usermod.md @@ -0,0 +1,25 @@ +# usermod + +> Modifica una conta d'usuari. +> Vegeu també: `users`, `useradd`, `userdel`. +> Més informació: . + +- Canvia el nom d'usuari: + +`sudo usermod {{[-l|--login]}} {{nou_nom_usuari}} {{nom_usuari}}` + +- Canvia l'id d'usuari: + +`sudo usermod {{[-u|--uid]}} {{id}} {{nom_usuari}}` + +- Canvia la shell d'un usuari: + +`sudo usermod {{[-s|--shell]}} {{cami/a/shell}} {{nom_usuar}}` + +- Afegeix un usuari a grups suplementaris (cal tenir en compte els espais en blanc): + +`sudo usermod {{[-a|--append]}} {{[-G|--groups]}} {{grup1,grup2}} {{nom_usuar}}` + +- Crea un nou directori home per un usuari i mou tots els arxius a ell: + +`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{ruta/al/home}} {{nom_usuar}}` diff --git a/pages.ca/linux/vipw.md b/pages.ca/linux/vipw.md new file mode 100644 index 00000000000000..3a4f2bf6932acc --- /dev/null +++ b/pages.ca/linux/vipw.md @@ -0,0 +1,12 @@ +# vipw + +> Edita l'arxiu de contrasenyes. +> Més informació: . + +- Edita l'arxiu de contrasenyes: + +`vipw` + +- Mostra la versió instal·lada de `vipw`: + +`vipw --version` diff --git a/pages.ca/linux/vmstat.md b/pages.ca/linux/vmstat.md new file mode 100644 index 00000000000000..65fc72f9cb3b7b --- /dev/null +++ b/pages.ca/linux/vmstat.md @@ -0,0 +1,12 @@ +# vmstat + +> Reporta informació sobre processos, memòria, paginació, IO en bloc, traps, discos i activitat de la CPU. +> Més informació: . + +- Mostra les estadístiques de la memòria virtual: + +`vmstat` + +- Mostra informes cada 2 segons 5 vegades: + +`vmstat {{2}} {{5}}` diff --git a/pages.ca/linux/xdg-open.md b/pages.ca/linux/xdg-open.md new file mode 100644 index 00000000000000..f9c1e9b0d6e70e --- /dev/null +++ b/pages.ca/linux/xdg-open.md @@ -0,0 +1,24 @@ +# xdg-open + +> Obre un arxiu o URL en l'aplicació predeterminada del usuari. +> Més informació: . + +- Obre el directori actual en l'explorador d'arxius predeterminat: + +`xdg-open .` + +- Obre una URL en el navegador predeterminat: + +`xdg-open {{https://www.exemple.cat}}` + +- Obre una imatge en el visor d'imatges predeterminat: + +`xdg-open {{ruta/a/imatge}}` + +- Obre un PDF en el visor de PDF predeterminat: + +`xdg-open {{ruta/al/pdf}}` + +- Mostra l'ajuda: + +`xdg-open --help` diff --git a/pages.ca/linux/xfreerdp.md b/pages.ca/linux/xfreerdp.md new file mode 100644 index 00000000000000..bc1bd97495ceb4 --- /dev/null +++ b/pages.ca/linux/xfreerdp.md @@ -0,0 +1,12 @@ +# xfreerdp + +> Implementació lliure del protocol d'escriptori remot (_Remote Desktop Protocol_). +> Més informació: . + +- Connecta amb un servidor FreeRDP: + +`xfreerdp /u:{{nom_usuari}} /p:{{contrasenya}} /v:{{direcció_ip}}` + +- Connecta amb un servidor FreeRDP i activa la redirecció d'audio fent servir un dispositiu `sys:alsa`: + +`xfreerdp /u:{{nom_usuari}} /p:{{contrassenya}} /v:{{direcció_ip}} /sound:{{sys:alsa}}` diff --git a/pages.ca/linux/yum.md b/pages.ca/linux/yum.md new file mode 100644 index 00000000000000..e2e10c63a29cab --- /dev/null +++ b/pages.ca/linux/yum.md @@ -0,0 +1,28 @@ +# yum + +> Administrador de paquets per RHEL, CentOS i Fedora (per versions anteriors). +> Més informació: . + +- Instal·la un nuevo paquete: + +`yum install {{paquet}}` + +- Instal·la un nou paquet responent si a totes les preguntes (també funciona amb actualitzacions, útil per actualitzacions automàtiques): + +`yum -y install {{paquet}}` + +- Troba quin paquet proveeix un arxiu determinat: + +`yum provides {{comandament}}` + +- Elimina un paquet: + +`yum remove {{paquet}}` + +- Mostra les actualitzacions disponibles per els paquets instal·lats: + +`yum check-update` + +- Actualitza els paquets instal·lats a les versions més recents disponibles: + +`yum upgrade` diff --git a/pages.ca/linux/zypper.md b/pages.ca/linux/zypper.md new file mode 100644 index 00000000000000..682bc057e1dcd6 --- /dev/null +++ b/pages.ca/linux/zypper.md @@ -0,0 +1,28 @@ +# zypper + +> Utilitat per la gestió de paquets en SUSE i openSUSE. +> Més informació: . + +- Sincronitza la llista de paquets i versions disponibles: + +`zypper refresh` + +- Instal·la un nou paquet: + +`zypper install {{paquet}}` + +- Elimina un paquet: + +`zypper remove {{paquet}}` + +- Actualitza els paquets instal·lats a la versió més recent disponible: + +`zypper update` + +- Busca en els repositoris un paquet mitjançant una paraula clau: + +`zypper search {{paraula_clau}}` + +- Mostra informació relacionada amb els repositoris configurats: + +`zypper repos --sort-by-priority` diff --git a/pages.ca/windows/cd.md b/pages.ca/windows/cd.md new file mode 100644 index 00000000000000..3c5d3420ab2c9d --- /dev/null +++ b/pages.ca/windows/cd.md @@ -0,0 +1,33 @@ +# cd + +> Mostra el directori actual o canvia a un directori diferent. +> En PowerShell, aquesta ordre és an àlies de `Set-Location`. Aquesta documentació està basada en la versió Command Prompt (`cmd`) de `cd`. +> Més informació: . + +- Mostra documentació de l'ordre PowerShell equivalent: + +`tldr set-location` + +- Mostra la ruta (path) del directori actual: + +`cd` + +- Canvia a un directori específic en el mateix disc: + +`cd {{ruta\al\directori}}` + +- Canvia a un directori específic en un altre [d]isc: + +`cd /d {{C}}:{{ruta\al\directori}}` + +- Canvia al directori superior: + +`cd ..` + +- Canvia al directori inicial de l'usuari actual: + +`cd %userprofile%` + +- Canvia a l'arrel de la unitat actual: + +`cd \` diff --git a/pages.ca/windows/color.md b/pages.ca/windows/color.md new file mode 100644 index 00000000000000..7153bae2ce3c9c --- /dev/null +++ b/pages.ca/windows/color.md @@ -0,0 +1,16 @@ +# color + +> Canvia els colors de la lletra i del fons de la consola. +> Més informació: . + +- Estableix els colors de la consola als valors per defecte: + +`color` + +- Llista els colors disponibles i informació detallada: + +`color /?` + +- Estableix els colors de lletra i del fons de la consola fent servir valors hexadecimals (`1-9,a-f`): + +`color {{codi_de_primer_pla}}{{codi_fons}}` diff --git a/pages.ca/windows/dir.md b/pages.ca/windows/dir.md new file mode 100644 index 00000000000000..72e7093883d009 --- /dev/null +++ b/pages.ca/windows/dir.md @@ -0,0 +1,20 @@ +# dir + +> Llista els continguts d'un directori. +> Més informació: . + +- Mostra els continguts del directori actual: + +`dir` + +- Mostra els continguts d'un directori específic: + +`dir {{camí/al/directori}}` + +- Mostra els continguts del directori actual, incloent fitxers ocults: + +`dir /A` + +- Mostra els continguts d'un directori específic, incloent fitxers ocults: + +`dir {{camí/al/directori}} /A` diff --git a/pages.ca/windows/exit.md b/pages.ca/windows/exit.md new file mode 100644 index 00000000000000..1e90729ae18a57 --- /dev/null +++ b/pages.ca/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> Surt de la instància CMD actual o del fitxer per lots actual. +> Més informació: . + +- Surt de la instància CMD actual: + +`exit` + +- Surt del conjunt d'instruccions del fitxer per lots actual: + +`exit /b` + +- Surt usant un codi de sortida específic: + +`exit {{2}}` diff --git a/pages.ca/windows/iwr.md b/pages.ca/windows/iwr.md new file mode 100644 index 00000000000000..ef53084b410226 --- /dev/null +++ b/pages.ca/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Aquest comandament és un àlies de `invoke-webrequest`. + +- Veure documentació pel comandament original: + +`tldr invoke-webrequest` diff --git a/pages.ca/windows/pwsh-where.md b/pages.ca/windows/pwsh-where.md new file mode 100644 index 00000000000000..17774a03142581 --- /dev/null +++ b/pages.ca/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Aquest comandament és un àlies de `Where-Object`. + +- Veure documentació pel comandament original: + +`tldr Where-Object` diff --git a/pages.ca/windows/sls.md b/pages.ca/windows/sls.md new file mode 100644 index 00000000000000..e1841deff22b54 --- /dev/null +++ b/pages.ca/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Aquest comandament és un àlies de `Select-String`. + +- Veure documentació pel comandament original: + +`tldr select-string` diff --git a/pages.cs/common/7z.md b/pages.cs/common/7z.md new file mode 100644 index 00000000000000..11944dd77e44ee --- /dev/null +++ b/pages.cs/common/7z.md @@ -0,0 +1,36 @@ +# 7z + +> Archivátor souborů s vysokým poměrem komprese. +> Více informací: . + +- Přidat soubor nebo adresář do nového nebo existujícího archivu: + +`7z a {{cesta/k/archivu.7z}} {{cesta/k/souboru_nebo_adresari}}` + +- Zašifrovat existující archiv (včetně názvů souborů): + +`7z a {{cesta/k/zasifrovanemu.7z}} -p{{heslo}} -mhe=on {{cesta/k/archivu.7z}}` + +- E[x]trahovat archiv se zachováním originální struktury adresáře: + +`7z x {{cesta/k/archivu.7z}}` + +- E[x]trahovat archiv do konkrétního adresáře: + +`7z x {{cesta/k/archivu.7z}} -o{{cesta/k/vystupu}}` + +- E[x]trahuje archiv do `stdout`: + +`7z x {{cesta/k/archivu.7z}} -so` + +- [a]rchivovat na specifický typ archivu: + +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{cesta/k/archivu}} {{cesta/k/souboru_nebo_adresari}}` + +- Vypsat obsah archivu: + +`7z l {{cesta/k/archivu.7z}}` + +- Nastavit level komprese (vyšší znamená víc komprese, ale pomalejší): + +`7z a {{cesta/k/archivu.7z}} -mx={{0|1|3|5|7|9}} {{cesta/k/souboru_nebo_adresari}}` diff --git a/pages.cs/common/avrdude.md b/pages.cs/common/avrdude.md new file mode 100644 index 00000000000000..662329d39f5467 --- /dev/null +++ b/pages.cs/common/avrdude.md @@ -0,0 +1,20 @@ +# avrdude + +> Program ovladače pro programování Atmel AVR mikrořadičů. +> Více informací: . + +- P[r]ečíst flash ROM AVR mikrořadiče s konkrétním ID součástky: + +`avrdude -p {{cislo_soucastky}} -c {{id_programatora}} -U flash:r:{{soubor.hex}}:i` + +- Zapsat do flash ROM AVR mikrořadiče: + +`avrdude -p {{cislo_soucastky}} -c {{programator}} -U flash:w:{{file.hex}}` + +- Vypsat dostupné AVR zařízení: + +`avrdude -p \?` + +- Vypsat dostupné AVR programátory: + +`avrdude -c \?` diff --git a/pages.cs/common/cat.md b/pages.cs/common/cat.md new file mode 100644 index 00000000000000..4eb61926212cf7 --- /dev/null +++ b/pages.cs/common/cat.md @@ -0,0 +1,24 @@ +# cat + +> Vypisuje a spojuje soubory. +> Více informací: . + +- Vypíše obsah souboru do `stdout`: + +`cat {{cesta/k/souboru}}` + +- Spojí několik souborů do výstupního souboru: + +`cat {{cesta/k/souboru1 cesta/k/souboru2 ...}} > {{cesta/k/vystupnimu_souboru}}` + +- Přidá několik souborů do výstupního souboru: + +`cat {{cesta/k/souboru1 cesta/k/souboru2 ...}} >> {{cesta/k/vystupnimu_souboru}}` + +- Zkopíruje obsah souboru do výstupního souboru bez vyrovnávací paměti: + +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` + +- Vypíše `stdin` do souboru: + +`cat - > {{cesta/k/souboru}}` diff --git a/pages.cs/common/cd.md b/pages.cs/common/cd.md new file mode 100644 index 00000000000000..4371cab280eddf --- /dev/null +++ b/pages.cs/common/cd.md @@ -0,0 +1,28 @@ +# cd + +> Změnit aktuální pracovní adresář. +> Více informací: . + +- Přesun do zadaného adresáře: + +`cd {{cesta/k/adresari}}` + +- Přesun o úroveň výš do nadřazeného adresáře: + +`cd ..` + +- Přesun do domovského adresáře aktuálního uživatele: + +`cd` + +- Přesun do domovského adresáře zadaného uživatele: + +`cd ~{{jmeno_uzivatele}}` + +- Přesun do předchozího vybraného adresáře: + +`cd -` + +- Přesun do kořenového adresáře: + +`cd /` diff --git a/pages.cs/common/cmatrix.md b/pages.cs/common/cmatrix.md new file mode 100644 index 00000000000000..f51ec225c092ca --- /dev/null +++ b/pages.cs/common/cmatrix.md @@ -0,0 +1,20 @@ +# cmatrix + +> Zobrazuje v terminálu obrazovku podobnou Matrixu. +> Více informací: . + +- Povolit [a]synchroní posouvání: + +`cmatrix -a` + +- Změnit barvu textu (výchozí je zelená): + +`cmatrix -C {{red}}` + +- Povolit duhový režim: + +`cmatrix -r` + +- Použít zpoždění akt[u]alizace 100 centisekund (1 sekunda): + +`cmatrix -u 100` diff --git a/pages.cs/common/cp.md b/pages.cs/common/cp.md new file mode 100644 index 00000000000000..d12c601affe66c --- /dev/null +++ b/pages.cs/common/cp.md @@ -0,0 +1,36 @@ +# cp + +> Kopíruje soubory a adresáře. +> Více informací: . + +- Zkopírovat soubor do jiné lokace: + +`cp {{cesta/ke/zdrojovemu_souboru.ext}} {{cesta/k/cilovemu_souboru.ext}}` + +- Zkopírovat soubor do jiného adresáře, zachová název souboru: + +`cp {{cesta/ke/zdrojovemu_adresari.ext}} {{cesta/k/nadrazenemu_adresari}}` + +- Rekurzivně zkopírovat obsah adresáře do jiné lokace (pokud cíl existuje, adresář se zkopíruje do něj): + +`cp {{[-r|--recursive]}} {{cesta/ke/zdrojovemu_adresari}} {{cesta/k/cilovemu_adresare}}` + +- Zkopírovat adresář rekurzivně, ve verbózním režimu (zobrazí soubory jak jsou zkopírovány): + +`cp {{[-vr|--verbose --recursive]}} {{cesta/ke/zdrojovemu_adresari}} {{cesta/k/cilovemu_adresari}}` + +- Zkopírovat více souborů do adresáře naráz: + +`cp {{[-t|--target-directory]}} {{cesta/k/cilovemu_adresari}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}` + +- Zkopírovat všechny soubory se specifickou koncovkou do jiné lokace, v interaktívním režimu (zeptá se uživatele před přepsáním): + +`cp {{[-i|--interactive]}} {{*.ext}} {{cesta/k/cilovemu_adresari}}` + +- Následovat symbolické linky před zkopírováním: + +`cp {{[-L|--dereference]}} {{link}} {{cesta/k/cilovemu_adresari}}` + +- Používat plnou cestu zdrojových souborů, automaticky vytvoří jakékoliv chybějící meziadresáře při kopírováním: + +`cp --parents {{zdrojova/cesta/k/souboru}} {{cesta/k/cilovemu_souboru}}` diff --git a/pages.cs/common/esptool.py.md b/pages.cs/common/esptool.py.md new file mode 100644 index 00000000000000..fb6a3648917d0e --- /dev/null +++ b/pages.cs/common/esptool.py.md @@ -0,0 +1,12 @@ +# esptool.py + +> Bootloader nástroj pro Espressif čipy (např. ESP8266). +> Více informací: . + +- Flashnout firmware soubor do ESP čipu s uvedeným portem a přenosovou rychlostí: + +`sudo esptool.py --port {{port}} --baud {{prenosova_rychlost}} write_flash 0x0 {{cesta/k/firmwaru.bin}}` + +- Smazat flash ESP čipu: + +`sudo esptool.py --port {{port}} --baud {{prenosova_rychlost}} erase_flash` diff --git a/pages.cs/common/gzip.md b/pages.cs/common/gzip.md new file mode 100644 index 00000000000000..412ce2767527b0 --- /dev/null +++ b/pages.cs/common/gzip.md @@ -0,0 +1,32 @@ +# gzip + +> Komprimuje/dekomprimuje soubory s `gzip` kompresí (LZ77). +> Více informací: . + +- Komprimovat soubor a nahradit jej `gzip` archivem: + +`gzip {{cesta/k/souboru}}` + +- Dekomprimovat souboru a nahradit jej původní nekomprimovanou verzí: + +`gzip {{[-d|--decompress]}} {{cesta/k/souboru.gz}}` + +- Komprimovat soubor se zachováním původního souboru: + +`gzip {{[-k|--keep]}} {{cesta/k/souboru}}` + +- Komprimovat soubor a zadat název výstupního souboru: + +`gzip {{[-c|--stdout]}} {{cesta/k/souboru}} > {{souboru/k/komprimovanemu_souboru.gz}}` + +- Dekomprimovat `gzip` archiv a zadat název výstupního souboru: + +`gzip {{[-c|--stdout]}} {{[-d|--decompress]}} {{cesta/k/souboru.gz}} > {{cesta/k/nekomprimovanemu_souboru}}` + +- Upřesnit úroveň komprese. 1 je nejrychlejší (nízká komprese), 9 je nejpomalejší (vysoká komprese), 6 je výchozí: + +`gzip -{{1..9}} {{[-c|--stdout]}} {{cesta/k/souboru}} > {{cesta/ke/komprimovanemu_souboru.gz}}` + +- Zobrazit název a procento zmenšení pro každý komprimovaný nebo dekomprimovaný soubor: + +`gzip {{[-v|--verbose]}} {{[-d|--decompress]}} {{cesta/k/souboru.gz}}` diff --git a/pages.cs/common/i3.md b/pages.cs/common/i3.md new file mode 100644 index 00000000000000..45260e6ca34787 --- /dev/null +++ b/pages.cs/common/i3.md @@ -0,0 +1,32 @@ +# i3 + +> Dlaždicový správce oken pro X11. +> Více informací: . + +- Spustit `i3` (Už existující správce oken nesmí být otevřený při spuštění tohoto příkazu): + +`i3` + +- Otevřít nové terminálové okno: + +`` + +- Přesunout aktivní okno do plochy: + +`` + +- Přesunout se do plochy: + +`` + +- Rozdělit další okno horizontálně: + +`` + +- Rozdělit další okno vertikálně: + +`` + +- Otevřít spouštěč aplikací: + +`` diff --git a/pages.cs/common/less.md b/pages.cs/common/less.md new file mode 100644 index 00000000000000..d3b5d4a6e04699 --- /dev/null +++ b/pages.cs/common/less.md @@ -0,0 +1,36 @@ +# less + +> Otevírá soubor pro interaktivní čtení, umožňuje procházení a vyhledávání. +> Více informací: . + +- Otevřít soubor: + +`less {{zdrojovy_soubor}}` + +- Posunout stránku nahoru/dolů: + +`{{|}}` + +- Přesunout se na konec/začátek souboru: + +`{{|}}` + +- Vyhledávání řetězce dopředu (stiskněte ``/`` pro přesunutí k další/předchozí schodě): + +`{{něco}}` + +- Vyhledávání řetězce dozadu (stiskněte ``/`` pro přesunutí k další/předchozí schodě): + +`{{něco}}` + +- Následovat výstup aktuálního otevřeného souboru: + +`` + +- Otevřít aktuální soubor v editoru: + +`` + +- Ukončit: + +`` diff --git a/pages.cs/common/ls.md b/pages.cs/common/ls.md new file mode 100644 index 00000000000000..1c0f318ca185a4 --- /dev/null +++ b/pages.cs/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> Vypisuje obsah adresáře. +> Více informací: . + +- Vypsat soubory samostatně na každý řádek: + +`ls -1` + +- Vypsat všechny soubory, včetně skrytých souborů: + +`ls {{[-a|--all]}}` + +- Vypsat všechny soubory s koncovým znakem který značí typ souboru (adresář/, symbolický_link@, spustitelný*, ...): + +`ls {{[-F|--classify]}}` + +- Vypsat všechny soubory s dlouhým formátem (oprávnění, vlastnictví, velikost, a datum změny): + +`ls {{[-la|-l --all]}}` + +- Vypsat všechny soubory s dlouhým formátem s velikostí v lidsky-čitelných jednotkách (KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` + +- Vypsat všechny soubory s dlouhým formátem, seřazené podle velikosti (sestupně) rekurzivně: + +`ls {{[-lSR|-lS --recursive]}}` + +- Vypsat všechny soubory s dlouhým formátem, seřazené podle času změny v obráceném pořadí (nejstarší první): + +`ls {{[-ltr|-lt --reverse]}}` + +- Vypsat pouze adresáře: + +`ls {{[-d|--directory]}} */` diff --git a/pages.cs/common/mkdir.md b/pages.cs/common/mkdir.md new file mode 100644 index 00000000000000..2ae00cb6c5e94f --- /dev/null +++ b/pages.cs/common/mkdir.md @@ -0,0 +1,16 @@ +# mkdir + +> Vytváří adresáře a nastavuje jejich oprávnění. +> Více informací: . + +- Vytvořit konkrétní adresáře: + +`mkdir {{cesta/k/adresari1 cesta/k/adresari2 ...}}` + +- Vytvořit konkrétní adresáře a jejich nadřazené adresáře pokud je potřeba: + +`mkdir {{[-p|--parents]}} {{cesta/k/adresari1 cesta/k/adresari2 ...}}` + +- Vytvořit adresáře s konkrétním oprávněním: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{cests/k/adresari1 cesta/k/adresari2 ...}}` diff --git a/pages.cs/common/more.md b/pages.cs/common/more.md new file mode 100644 index 00000000000000..3b9dd29c2c71f3 --- /dev/null +++ b/pages.cs/common/more.md @@ -0,0 +1,29 @@ +# more + +> Interaktivně zobrazuje soubor, umožnuje procházení a vyhledávání. +> Viz také: `less`. +> Více informací: . + +- Otevřít soubor: + +`more {{cesta/k/souboru}}` + +- Zobrazit specifický řádek: + +`more +{{cislo_radku}} {{cesta/k/souboru}}` + +- Posunout se na další stránku: + +`` + +- Vyhledat řetězec (stiskněte `` pro přesunutí k další schodě): + +`{{něco}}` + +- Ukončit: + +`` + +- Zobrazit nápovědu o interaktivních příkazech: + +`` diff --git a/pages.cs/common/mv.md b/pages.cs/common/mv.md new file mode 100644 index 00000000000000..0a958bac8171b3 --- /dev/null +++ b/pages.cs/common/mv.md @@ -0,0 +1,36 @@ +# mv + +> Přesouvá nebo přejmenuje soubory a adresáře. +> Více informací: . + +- Přejmenovat soubor nebo adresář pokud cíl není už existující adresář: + +`mv {{cesta/ke/zdroji}} {{cesta/k/cili}}` + +- Přesunout soubor nebo adresář do existujicího adresáře: + +`mv {{cesta/ke/zdroji}} {{cesta/k/existujicimu_adresari}}` + +- Přesunout více souborů do existujícího adresáře, zachová název souborů: + +`mv {{cesta/ke/zdroji1 cesta/ke/zdroji2 ...}} {{cests/k/existujicimu_adresari}}` + +- Netázat se pro potrvzení před přepsáním existujících souborů: + +`mv {{[-f|--force]}} {{cesta/ke/zdroji}} {{cesta/k/cili}}` + +- Zeptat se pro potvrzení interaktivně před přepsáním existujícíh souborů, bez ohledu na oprávnění souborů: + +`mv {{[-i|--interactive]}} {{cesta/k/zdroji}} {{cests/k/cili}}` + +- Nepřepisovat existující soubory v cíli: + +`mv {{[-n|--no-clobber]}} {{cesta/ke/zdroji}} {{cests/k/cili}}` + +- Přesunout soubory ve verbózním režimu, zobrazující soubory potom co jsou přesunuty: + +`mv {{[-v|--verbose]}} {{cests/ke/zdroji}} {{cesta/k/cili}}` + +- Určit cílový adresář abyste mohli puoužít externí nástroje pro sebrání pohyblivých souborů: + +`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv {{[-t|--target-directory]}} {{cesta/k/cilovemu_adresari}}` diff --git a/pages.cs/common/picotool.md b/pages.cs/common/picotool.md new file mode 100644 index 00000000000000..636fafde8ef577 --- /dev/null +++ b/pages.cs/common/picotool.md @@ -0,0 +1,32 @@ +# picotool + +> Spravuje desky Raspberry Pi Pico. +> Více informací: . + +- Zobrazit informace o aktuálně načteném programu na Picu: + +`picotool info` + +- Načíst binárku do Pica: + +`picotool load {{cesta/k/binarce}}` + +- Převést soubor ELF nebo BIN na UF2: + +`picotool uf2 convert {{cesta/k/elf_nebo_bin}} {{cesta/k/vystupu}}` + +- Restartovat Pico: + +`picotool reboot` + +- Vypsat všechny známe registry: + +`picotool otp list` + +- Zobrazit verzi: + +`picotool version` + +- Zobrazit nápovědu: + +`picotool help` diff --git a/pages.cs/common/rm.md b/pages.cs/common/rm.md new file mode 100644 index 00000000000000..5cbef3226522ef --- /dev/null +++ b/pages.cs/common/rm.md @@ -0,0 +1,29 @@ +# rm + +> Maže soubory nebo adresáře. +> Viz také: `rmdir`. +> Více informací: . + +- Smazat konkrétní soubory: + +`rm {{cesta/k/souboru1 cesta/k/souboru2 ...}}` + +- Smazat konkrétní soubory ignorující neexistující: + +`rm {{[-f|--force]}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}` + +- Smazat konkrétní soubory dotazující se interaktivně před každým smazáním: + +`rm {{[-i|--interactive]}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}` + +- Smazat konkrétní soubory vypisující informace o každém smazáním: + +`rm {{[-v|--verbose]}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}` + +- Smazat konkrétní soubory a adresáře rekurzivně: + +`rm {{[-r|--recursive]}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}` + +- Smazat prázdné adresáře (tohle je považováno za bezpečnou metodu): + +`rm {{[-d|--dir]}} {{cesta/k/adresari}}` diff --git a/pages.cs/common/rmdir.md b/pages.cs/common/rmdir.md new file mode 100644 index 00000000000000..3709907b088117 --- /dev/null +++ b/pages.cs/common/rmdir.md @@ -0,0 +1,13 @@ +# rmdir + +> Maže adresáře bez souborů. +> Viz také: `rm`. +> Více informací: . + +- Smazat konkrétní adresáře: + +`rmdir {{cesta/k/adresari1 cesta/k/adresari2 ...}}` + +- Smazat konkrétní vnořené adresáře rekurzivně: + +`rmdir {{[-p|--parents]}} {{cesta/k/adresari1 cesta/k/adresari2 ...}}` diff --git a/pages.cs/common/st-flash.md b/pages.cs/common/st-flash.md new file mode 100644 index 00000000000000..8a254f5e7fe369 --- /dev/null +++ b/pages.cs/common/st-flash.md @@ -0,0 +1,16 @@ +# st-flash + +> Nahrává binární soubory do STM32 ARM Cortex mikrořadičů. +> Více informací: . + +- Přečíst 4096 bajtů ze zařízení začínající od 0x8000000: + +`st-flash read {{firmware}}.bin 0x8000000 4096` + +- Zapsat firmware do zařízení začínající od 0x8000000: + +`st-flash write {{firmware}}.bin 0x8000000` + +- Vymazat firmware ze zařízení: + +`st-flash erase` diff --git a/pages.cs/common/tar.md b/pages.cs/common/tar.md new file mode 100644 index 00000000000000..eaaadb8843667e --- /dev/null +++ b/pages.cs/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> Archivovací nástroj. +> Často kombinován s komprimovací metodou, například `gzip` nebo `bzip2`. +> Více informací: . + +- Vytvořit archiv a zapsat jej do souboru: + +`tar cf {{cesta/k/cili.tar}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}` + +- Vytvořit gzip archiv a zapsat jej do souboru: + +`tar czf {{cesta/k/cili.tar.gz}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}` + +- Vytvořit gzip (komprimovaný) archiv z adresáře pomocí relativních cest: + +`tar czf {{cesta/k/cili.tar.gz}} {{[-C|--directory]}} {{cesta/k/adresari}} .` + +- E[x]trahovat (komprimovaný) archiv do aktuálního adresáře [v]erbózně: + +`tar xvf {{cesta/ke/zdroji.tar[.gz|.bz2|.xz]}}` + +- E[x]trahovat (komprimovaný) archiv do cílového adresáře: + +`tar xf {{cesta/ke/zdroji.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{cesta/k/adresari}}` + +- Vytvořit komprimovaý archiv, zapsat jej do souboru a [a]utomaticky určit program pro kompresi pomocí přípony souboru: + +`tar caf {{cesta/k/cili.tar.xz}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}` + +- Vypsa[t] obsah souboru tar [v]erbózně: + +`tar tvf {{cesta/ke/zdroji.tar}}` + +- E[x]trahovat soubory, které se shodují se vzorem z archivu: + +`tar xf {{cesta/k/source.tar}} --wildcards "{{*.html}}"` diff --git a/pages.cs/common/unzip.md b/pages.cs/common/unzip.md new file mode 100644 index 00000000000000..df396a40d7aba5 --- /dev/null +++ b/pages.cs/common/unzip.md @@ -0,0 +1,29 @@ +# unzip + +> Extrahuje soubory/adresáře ze Zipových archivů. +> Viz také: `zip`. +> Více informací: . + +- Extrahovat všechny soubory/adresáře ze specifického archivu do aktuálního adresáře: + +`unzip {{cesta/k/archivu1.zip cesta/k/archivu2.zip ...}}` + +- Extrahovat soubory/adresáře z archivu do konkrétní cesty: + +`unzip {{cesta/k/archivu1.zip cesta/k/archivu2.zip ...}} -d {{cesta/k/vystupu}}` + +- Extrahovat soubory/adresáře z archivů do `stdout` spolu s názvy souborů: + +`unzip -c {{cesta/k/archivu1.zip cesta/k/archivu2.zip ...}}` + +- Extrahovat archiv vytvořený na Windows, obsahujicí soubory s názvy souborů mimo ASCII (např. Čínské nebo Japonské znaky): + +`unzip -O {{gbk}} {{cesta/k/archivu1.zip cesta/k/archivu2.zip ...}}` + +- Vypsat obsah konkrétního archivu bez extrahování: + +`unzip -l {{cesta/k/archivu.zip}}` + +- Extrahovat konkrétní soubor z archivu: + +`unzip -j {{cesta/k/archivu.zip}} {{cesta/k/souboru1_v_archivu cesta/k/souboru2_v_archivu ...}}` diff --git a/pages.cs/common/zip.md b/pages.cs/common/zip.md new file mode 100644 index 00000000000000..ab9712168b9beb --- /dev/null +++ b/pages.cs/common/zip.md @@ -0,0 +1,33 @@ +# zip + +> Zabaluje a komprimuje (archivuje) soubory do Zip archivu. +> Viz také: `unzip`. +> Více informací: . + +- Přidat soubory/adresáře do konkrétního archivu: + +`zip {{[-r|--recurse-paths]}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}` + +- Vymazat soubory/adresáře z konkrétního archivu: + +`zip {{[-d|--delete]}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}` + +- Archivovat soubory/adresáře kromě uvedených: + +`zip {{[-r|--recurse-paths]}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}} {{[-x|--exclude]}} {{cesta/k/vyrazenych_souboru_nebo_adresaru}}` + +- Archivovat soubory/adresáře s určitou úrovní komprimace (`0` - nejnižší, `9` - nejvyšší): + +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2...}}` + +- Vytvořit zašifrovaný archiv pod uvedeným heslem: + +`zip {{[-re|--recurse-paths --encrypt]}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}` + +- Archivovat soubory/složky do vícedílného rozděleného Zip archivu (např. 3GB díly): + +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}` + +- Vypsat obsah konkrétního archivu: + +`zip {{[-sf|--split-size --freshen]}} {{cesta/ke/komprimovanemu.zip}}` diff --git a/pages.cs/linux/bluetoothctl.md b/pages.cs/linux/bluetoothctl.md new file mode 100644 index 00000000000000..835ba3080f12c6 --- /dev/null +++ b/pages.cs/linux/bluetoothctl.md @@ -0,0 +1,36 @@ +# bluetoothctl + +> Spravuje Bluetooth zařízení. +> Více informací: . + +- Vstoupit do `bluetoothctl` shellu: + +`bluetoothctl` + +- Vypsat všechna známá zařízení: + +`bluetoothctl devices` + +- Zapnout nebo vypnout Bluetooth ovladač: + +`bluetoothctl power {{on|off}}` + +- Spárovat se zařízením: + +`bluetoothctl pair {{mac_adresa}}` + +- Smazat zařízení: + +`bluetoothctl remove {{mac_adresa}}` + +- Připojit se k spárovanému zařízení: + +`bluetoothctl connect {{mac_adresa}}` + +- Odpojit se od spárovaného zařízení: + +`bluetoothctl disconnect {{mac_adresa}}` + +- Zobrazit nápovědu: + +`bluetoothctl help` diff --git a/pages.cs/linux/ip.md b/pages.cs/linux/ip.md new file mode 100644 index 00000000000000..46b00c8d0c6044 --- /dev/null +++ b/pages.cs/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> Ukazuje/nastavuje routování, zařízení, pravidla routování a tunely. +> Některé dílčí příkazy jako je `address` mají svou vlastní dokumentaci. +> Více informací: . + +- Vypsat rozhraní s podrobnými informacemi: + +`ip {{[a|address]}}` + +- Vypsat rozhraní se stručnými informacemi o síťové vrstvě: + +`ip {{[-br|-brief]}} {{[a|address]}}` + +- Vypsat rozhraní se stručnými informacemi o linkové vrstvě: + +`ip {{[-br|-brief]}} {{[l|link]}}` + +- Zobrazit routovací tabulku: + +`ip {{[r|route]}}` + +- Ukázat sousedy (ARP tabulka): + +`ip {{[n|neighbour]}}` + +- Změnit rozhraní nahoru/dolů: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{up|down}}` + +- Přidat/Smazat IP adresu k rozhraní: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{maska}} dev {{ethX}}` + +- Přidat výchozí cestu: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{ethX}}` diff --git a/pages.cs/linux/nmcli-agent.md b/pages.cs/linux/nmcli-agent.md new file mode 100644 index 00000000000000..aa3cebbd8a8b50 --- /dev/null +++ b/pages.cs/linux/nmcli-agent.md @@ -0,0 +1,16 @@ +# nmcli agent + +> Spouští `nmcli` jako skrytý nebo polkit NetworkManager agent. +> Více informací: . + +- Registrovat `nmcli` jako skrytý agent a poslouchat tajné žádosti: + +`nmcli {{[a|agent]}} {{[s|secret]}}` + +- Registrovat `nmcli` jako polkit agent a poslouchat žádosti o autorizaci: + +`nmcli {{[a|agent]}} {{[p|polkit]}}` + +- Registrovat `nmcli` jako skrytý agent a polkit agent: + +`nmcli {{[a|agent]}} {{[a|all]}}` diff --git a/pages.cs/linux/nmcli-device.md b/pages.cs/linux/nmcli-device.md new file mode 100644 index 00000000000000..3445af9bda9137 --- /dev/null +++ b/pages.cs/linux/nmcli-device.md @@ -0,0 +1,21 @@ +# nmcli device + +> Spravuje síťové rozhraní a navazuje nové Wi-Fi spojení pomocí NetworkManageru. +> Tento dílčí příkaz může být zvolán také pomocí `nmcli d`. +> Více informací: . + +- Vypsat stav všech síťových rozhraní: + +`nmcli {{[d|device]}}` + +- Vypsat všechny dostupné přístupové body Wi-Fi: + +`nmcli {{[d|device]}} {{[w|wifi]}}` + +- Připojit se k Wi-Fi síťi s uvedeným SSID (budete vyzváni k zadání hesla): + +`nmcli {{[d|device]}} {{[w|wifi]}} {{[c|connect]}} {{ssid}} {{[-a|--ask]}}` + +- Vypsat heslo a QR kód pro aktuální Wi-Fi síť: + +`nmcli {{[d|device]}} {{[w|wifi]}} {{[s|show-password]}}` diff --git a/pages.cs/linux/nmcli-general.md b/pages.cs/linux/nmcli-general.md new file mode 100644 index 00000000000000..66b9bf5d27b3d2 --- /dev/null +++ b/pages.cs/linux/nmcli-general.md @@ -0,0 +1,29 @@ +# nmcli general + +> Spravuje obecné nastavení NetworkManageru. +> Tento dílčí příkaz může být zvolán také pomocí `nmcli g`. +> Více informací: . + +- Zobrazit obecný stav NetworkManageru: + +`nmcli {{[g|general]}}` + +- Zobrazit hostitelské jméno aktuálního zařízení: + +`nmcli {{[g|general]}} {{[h|hostname]}}` + +- Změnit hostitelské jméno aktuálního zařízení: + +`sudo nmcli {{[g|general]}} {{[h|hostname]}} {{nove_hostitelske_jmeno}}` + +- Zobrazit oprávění NetworkManageru: + +`nmcli {{[g|general]}} {{[p|permissions]}}` + +- Zobrazit aktuální úroveň logů a domén: + +`nmcli {{[g|general]}} {{[l|logging]}}` + +- Nastavit úroveň logů a/nebo domén (všechny dostupné domény najdete pomocí `man NetworkManager.conf`): + +`sudo nmcli {{[g|general]}} {{[l|logging]}} {{[l|level]}} {{INFO|OFF|ERR|WARN|DEBUG|TRACE}} domain {{domena_1,domena_2,...}}` diff --git a/pages.cs/linux/nmcli-monitor.md b/pages.cs/linux/nmcli-monitor.md new file mode 100644 index 00000000000000..9ec935195c5ccd --- /dev/null +++ b/pages.cs/linux/nmcli-monitor.md @@ -0,0 +1,9 @@ +# nmcli monitor + +> Monitoruje změny stavu připojení NetworkManageru. +> Tento dílčí příkaz může být zvolán také pomocí `nmcli m`. +> Více informací: . + +- Spustit monitorování změn NetworkManageru: + +`nmcli {{[m|monitor]}}` diff --git a/pages.cs/linux/nmcli-networking.md b/pages.cs/linux/nmcli-networking.md new file mode 100644 index 00000000000000..38551376b587fe --- /dev/null +++ b/pages.cs/linux/nmcli-networking.md @@ -0,0 +1,20 @@ +# nmcli networking + +> Spravuje síťový stav NetworkManageru. +> Více informací: . + +- Zobrazit síťový stav NetworkManageru: + +`nmcli {{[n|networking]}}` + +- Povolit nebo zakázat síťování a všechny rozhraní spravované NetworkManagerem: + +`nmcli {{[n|networking]}} {{on|off}}` + +- Zobrazit poslední známý stav připojení: + +`nmcli {{[n|networking]}} {{[c|connectivity]}}` + +- Zobrazit aktuální stav připojení: + +`nmcli {{[n|networking]}} {{[c|connectivity]}} {{[c|check]}}` diff --git a/pages.cs/linux/nmcli-radio.md b/pages.cs/linux/nmcli-radio.md new file mode 100644 index 00000000000000..a2877181453f89 --- /dev/null +++ b/pages.cs/linux/nmcli-radio.md @@ -0,0 +1,28 @@ +# nmcli radio + +> Zobrazit stav rádiových přepínačů nebo je povolit/zakázat pomocí NetworkManageru. +> Více informací: . + +- Zobrazit stav Wi-Fi: + +`nmcli {{[r|radio]}} {{[w|wifi]}}` + +- Zapnout nebo vypnout Wi-Fi: + +`nmcli {{[r|radio]}} {{[w|wifi]}} {{on|off}}` + +- Zobrazit stav WWAN: + +`nmcli {{[r|radio]}} {{[ww|wwan]}}` + +- Zapnout nebo vypnout WWAN: + +`nmcli {{[r|radio]}} {{[ww|wwan]}} {{on|off}}` + +- Zobrazit stav obou přepínačů: + +`nmcli {{[r|radio]}}` + +- Zapnout nebo vypnout oba přepínače: + +`nmcli {{[r|radio]}} {{[a|all]}} {{on|off}}` diff --git a/pages.cs/linux/nmcli.md b/pages.cs/linux/nmcli.md new file mode 100644 index 00000000000000..0c954b19ab73f2 --- /dev/null +++ b/pages.cs/linux/nmcli.md @@ -0,0 +1,32 @@ +# nmcli + +> Spravuje síťovou konfiguraci pomocí NetworkManageru. +> Více informací: . + +- Zobrazit dokumentaci pro správu síťových rozhraní a navázání nových Wi-Fi připojení: + +`tldr nmcli device` + +- Zobrazit dokumentaci pro správu síťových spojení: + +`tldr nmcli connection` + +- Zobrazit dokumentaci pro běžící `nmcli` jako skrytý/polkit NetworkManager agent: + +`tldr nmcli agent` + +- Zobrazit dokumentaci pro správu obecných nastavení NetworkManageru: + +`tldr nmcli general` + +- Zobrazit dokumentaci pro monitor aktivity NetworkManageru: + +`tldr nmcli monitor` + +- Zobrazit dokumentaci pro povolování/zakázání a kontrolovat stav sítě: + +`tldr nmcli networking` + +- Zobrazit dokumentaci pro správu rádiových přepínačů: + +`tldr nmcli radio` diff --git a/pages.cs/linux/top.md b/pages.cs/linux/top.md new file mode 100644 index 00000000000000..99412de007b6b2 --- /dev/null +++ b/pages.cs/linux/top.md @@ -0,0 +1,32 @@ +# top + +> Zobrazuje dynamické informace o běžících procesech v reálném čase. +> Více informací: . + +- Zapnout `top`: + +`top` + +- Nezobrazovat nečinné nebo zombie procesy: + +`top {{[-i|--idle-toggle]}}` + +- Zobrazovat pouze procesy vlastněné daným uživatelem: + +`top {{[-u|--filter-only-euser]}} {{jmeno_uzivatele}}` + +- Řadit procesy podle pole: + +`top {{[-o|--sort-override]}} {{nazev_pole}}` + +- Zobrazovat individuální vlákna daného procesu: + +`top {{[-Hp|--threads-show --pid]}} {{id_procesu}}` + +- Zobrazovat pouze procesy s daným(i) PID, předaný jako list rozdělený čárkou. (Normálně byste nevěděli PID z hlavy. Tento příklad vybíra PIDs podle názvu procesu): + +`top {{[-p|--pid]}} $(pgrep {{[-d|--delimiter]}} ',' {{nazev_procesu}})` + +- Zobrazit nápovědu o interaktivních příkazech: + +`` diff --git a/pages.cs/windows/cd.md b/pages.cs/windows/cd.md new file mode 100644 index 00000000000000..e15794e7fa4113 --- /dev/null +++ b/pages.cs/windows/cd.md @@ -0,0 +1,24 @@ +# cd + +> Zobrazit aktuální adresář nebo přesun do jiného adresáře. +> Více informací: . + +- Zobrazit cestu k aktuálnímu adresáři: + +`cd` + +- Přesun do kořenového adresáře aktuálního disku: + +`cd \` + +- Přesun do nadřazené složky aktuálního adresáře: + +`cd ..` + +- Přesun do zadaného adresáře na stejném disku: + +`cd {{cesta\k\adresari}}` + +- Přesun do zadaného adresáře na jiném disku: + +`cd /d {{C}}:{{cesta\k\adresari}}` diff --git a/pages.da/common/chsh.md b/pages.da/common/chsh.md deleted file mode 100644 index 0d384abd0cd3b2..00000000000000 --- a/pages.da/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> Skift brugerens login shell. - -- Skift shell: - -`chsh -s {{sti/til/shell_program}} {{brugernavn}}` diff --git a/pages.da/common/fossil-ci.md b/pages.da/common/fossil-ci.md new file mode 100644 index 00000000000000..f0eb74459a43fb --- /dev/null +++ b/pages.da/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Denne kommando er et alias af `fossil commit`. + +- Se dokumentation for den oprindelige kommando: + +`tldr fossil commit` diff --git a/pages.da/common/fossil-forget.md b/pages.da/common/fossil-forget.md new file mode 100644 index 00000000000000..f58dc3ff9c9c8c --- /dev/null +++ b/pages.da/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Denne kommando er et alias af `fossil rm`. +> Mere information: . + +- Se dokumentation for den oprindelige kommando: + +`tldr fossil rm` diff --git a/pages.da/common/fossil-new.md b/pages.da/common/fossil-new.md new file mode 100644 index 00000000000000..a882b45650d3e8 --- /dev/null +++ b/pages.da/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Denne kommando er et alias af `fossil init`. + +- Se dokumentation for den oprindelige kommando: + +`tldr fossil init` diff --git a/pages.da/common/fossil-rm.md b/pages.da/common/fossil-rm.md new file mode 100644 index 00000000000000..b45850ba76681f --- /dev/null +++ b/pages.da/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Denne kommando er et alias af `fossil delete`. + +- Se dokumentation for den oprindelige kommando: + +`tldr fossil delete` diff --git a/pages.da/common/gcloud.md b/pages.da/common/gcloud.md new file mode 100644 index 00000000000000..8ddec93c1ec726 --- /dev/null +++ b/pages.da/common/gcloud.md @@ -0,0 +1,36 @@ +# gcloud + +> Det officielle CLI værktøj for Google Cloud Platform. +> Mere information: . + +- List alle aktive konfigurationer: + +`gcloud config list` + +- Login på en Google account: + +`gcloud auth login` + +- Sæt et GCP project som standard: + +`gcloud config set project {{projekt_navn}}` + +- SSH ind til en virtuel maskine: + +`gcloud compute ssh {{bruger}}@{{instans}}` + +- Vis et overblik af alle Google Compute Engine instanser i et project. Instanser fra alle zoner er listet som standard: + +`gcloud compute instances list` + +- Opdater en kube-konfiguratonsfil med de korrekte credentials, der peger kubectl mod et spesifikt cluster i Google Kubernetes Engine: + +`gcloud container clusters get-credentials {{cluster_navn}}` + +- Opdater all gcloud CLI komponenter: + +`gcloud components update` + +- Vis hjælp for en command: + +`gcloud help {{kommando}}` diff --git a/pages.da/common/gh-cs.md b/pages.da/common/gh-cs.md new file mode 100644 index 00000000000000..734002f1b4c32c --- /dev/null +++ b/pages.da/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Denne kommando er et alias af `gh codespace`. + +- Se dokumentation for den oprindelige kommando: + +`tldr gh codespace` diff --git a/pages.da/common/gnmic-sub.md b/pages.da/common/gnmic-sub.md new file mode 100644 index 00000000000000..bd6d1515624d81 --- /dev/null +++ b/pages.da/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Denne kommando er et alias af `gnmic subscribe`. + +- Se dokumentation for den oprindelige kommando: + +`tldr gnmic subscribe` diff --git a/pages.da/common/grep.md b/pages.da/common/grep.md new file mode 100644 index 00000000000000..f3ec8e924c182d --- /dev/null +++ b/pages.da/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Find mønstre i filer via regulære udtryk (regular expressions). +> Mere information: . + +- Søg efter et mønster i en fil: + +`grep "{{søgemønster}}" {{sti/til/fil}}` + +- Søg efter en eksakt streng (deaktiverer regulære udtryk): + +`grep {{[-F|--fixed-strings]}} "{{eksakt_streng}}" {{sti/til/fil}}` + +- Søg efter et mønster i alle filer, pånær binære, rekursivt i en mappe. Vis linjenumre der matcher til mønstret: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{søgemønster}}" {{sti/til/mappe}}` + +- Brug udvidede regulære udtryk (understøtter `?`, `+`, `{}`, `()`, og `|`), i case-insensitive modus: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{søgemønster}}" {{sti/til/fil}}` + +- Print 3 linjer af kontekst omkring, før eller efter hvert match: + +`grep {{--context|--before-context|--after-context}} 3 "{{søgemønster}}" {{sti/til/fil}}` + +- Print, filnavn og linjenummer for hvert match, med farveoutput: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{søgemønster}}" {{sti/til/fil}}` + +- Søg efter linjer som matcher et mønster. Print kun den matchende tekst: + +`grep {{[-o|--only-matching]}} "{{søgemønster}}" {{sti/til/fil}}` + +- Søg i `stdin` efter linjer der ikke matcher et mønster: + +`cat {{sti/til/fil}} | grep {{[-v|--invert-match]}} "{{søgemønster}}"` diff --git a/pages.da/common/ncdu.md b/pages.da/common/ncdu.md new file mode 100644 index 00000000000000..f719445d15295f --- /dev/null +++ b/pages.da/common/ncdu.md @@ -0,0 +1,24 @@ +# ncdu + +> Diskbrugsanalysator med en ncurses-grænseflade. +> Mere information: . + +- Analysér den nuværende arbejdsmappe: + +`ncdu` + +- Definér farvevalg for output: + +`ncdu --color {{dark|off}}` + +- Analysér en given mappe: + +`ncdu {{sti/til/mappe}}` + +- Gem resultater til en fil: + +`ncdu -o {{sti/til/fil}}` + +- Ekskludér filer der matcher et mønster. Argumentet kan gives flere gange for at tilføje flere mønstre: + +`ncdu --exclude '{{*.txt}}'` diff --git a/pages.da/common/pio-init.md b/pages.da/common/pio-init.md new file mode 100644 index 00000000000000..fdeaf003a1a5a2 --- /dev/null +++ b/pages.da/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Denne kommando er et alias af `pio project`. + +- Se dokumentation for den oprindelige kommando: + +`tldr pio project` diff --git a/pages.da/common/popd.md b/pages.da/common/popd.md new file mode 100644 index 00000000000000..d088b23a797914 --- /dev/null +++ b/pages.da/common/popd.md @@ -0,0 +1,17 @@ +# popd + +> Fjern en mappe placeret på mappe-stakken via den indbyggede shell-kommando `pushd`. +> Se `pushd` for at placere en mappe på mappe-stakken og `dirs` for at vise indholdet af mappe-stakken. +> Mere information: . + +- Fjern den øverste mappe fra mappe-stakken og `cd` til mappen: + +`popd` + +- Fjern den N'te mappe (starter fra 0 fra venstre i den liste `dirs` printer): + +`popd +N` + +- Fjern den N'te mappe (starter fra 0 fra højre fra i liste `dirs` printer): + +`popd -N` diff --git a/pages.da/common/pushd.md b/pages.da/common/pushd.md new file mode 100644 index 00000000000000..0c624b3f17bbfb --- /dev/null +++ b/pages.da/common/pushd.md @@ -0,0 +1,17 @@ +# pushd + +> Tilføj en mappe til mappe-stakken, så den kan tilgås på et senere tidspunkt. +> Se `popd` for at skifte tilbage til den oprindelige mappe og `dirs` for at vise indholdet af mappe-stakken. +> Mere information: . + +- Skift til mappe og tilføj den til mappe-stakken: + +`pushd {{mappe}}` + +- Byt om på første og anden mappe i mappe-stakken: + +`pushd` + +- Rotér mappe-stakken ved at gøre det femte element til det første i mappe-stakken: + +`pushd +4` diff --git a/pages.da/common/sed.md b/pages.da/common/sed.md new file mode 100644 index 00000000000000..6385847cef5354 --- /dev/null +++ b/pages.da/common/sed.md @@ -0,0 +1,36 @@ +# sed + +> Rediger tekst, programmatisk. +> Mere information: . + +- Erstat den første forekomst af et regulært udtryk (regular expression) i hver linje af en fil, og print resultatet: + +`sed 's/{{regular_expression}}/{{erstat}}/' {{filnavn}}` + +- Erstat alle forekomster af et regulært udtryk in en fil, og print resultatet: + +`sed -r 's/{{regular_expression}}/{{erstat}}/g' {{filnavn}}` + +- Erstat alle forekomster af en streng i en fil, og overskriv filen: + +`sed -i 's/{{find}}/{{erstat}}/g' {{filnavn}}` + +- Erstat forekomster på linjer der matcher mønstret: + +`sed '/{{linje_mønster}}/s/{{find}}/{{erstat}}/' {{filnavn}}` + +- Fjern linjer der matcher mønstret: + +`sed '/{{linje_mønster}}/d' {{filnavn}}` + +- Print de første 11 linjer af en fil: + +`sed 11q {{filnavn}}` + +- Udfør flere find-og-erstat udtryk i en fil: + +`sed -e 's/{{find}}/{{erstat}}/' -e 's/{{find}}/{{erstat}}/' {{filnavn}}` + +- Erstat separator `/` med en hvilken som helst anden karakter ikke brugt i find- eller erstat-mønstrene, f.eks. `#`: + +`sed 's#{{find}}#{{erstat}}#' {{filnavn}}` diff --git a/pages.da/common/tlmgr-arch.md b/pages.da/common/tlmgr-arch.md new file mode 100644 index 00000000000000..60f0cbbb2e1c47 --- /dev/null +++ b/pages.da/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Denne kommando er et alias af `tlmgr platform`. + +- Se dokumentation for den oprindelige kommando: + +`tldr tlmgr platform` diff --git a/pages.da/common/w.md b/pages.da/common/w.md new file mode 100644 index 00000000000000..3d9fdeef6656ce --- /dev/null +++ b/pages.da/common/w.md @@ -0,0 +1,13 @@ +# w + +> Vis hvem der er logget ind og hvad de laver. +> Print bruger login, TTY, fjernforbundet vært, login-tidspunkt, inaktiv tid, nuværende proces. +> Mere information: . + +- Vis info på brugere der er logget ind: + +`w` + +- Vis info på brugere der er logget ind, uden overskrifter: + +`w -h` diff --git a/pages.da/common/where.md b/pages.da/common/where.md new file mode 100644 index 00000000000000..0bc8a18a6b58fa --- /dev/null +++ b/pages.da/common/where.md @@ -0,0 +1,9 @@ +# where + +> Returnerer alle kendte instanser for en kommando. +> Eksempelvis en eksekverbar fil i PATH-miljøvariablen, et alias, eller en indbygget shellkomando. +> Mere information: . + +- Find all instanser for en kommando: + +`where {{kommando}}` diff --git a/pages.da/linux/ip-route-list.md b/pages.da/linux/ip-route-list.md new file mode 100644 index 00000000000000..f059ba97b13a33 --- /dev/null +++ b/pages.da/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Denne kommando er et alias af `ip route show`. + +- Se dokumentation for den oprindelige kommando: + +`tldr ip route show` diff --git a/pages.da/windows/iwr.md b/pages.da/windows/iwr.md new file mode 100644 index 00000000000000..047c64bee0272e --- /dev/null +++ b/pages.da/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Denne kommando er et alias af `invoke-webrequest`. + +- Se dokumentation for den oprindelige kommando: + +`tldr invoke-webrequest` diff --git a/pages.da/windows/pwsh-where.md b/pages.da/windows/pwsh-where.md new file mode 100644 index 00000000000000..91586d9704eb3a --- /dev/null +++ b/pages.da/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Denne kommando er et alias af `Where-Object`. + +- Se dokumentation for den oprindelige kommando: + +`tldr Where-Object` diff --git a/pages.da/windows/sls.md b/pages.da/windows/sls.md new file mode 100644 index 00000000000000..6cca47da4fe614 --- /dev/null +++ b/pages.da/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Denne kommando er et alias af `Select-String`. + +- Se dokumentation for den oprindelige kommando: + +`tldr select-string` diff --git a/pages.de/android/am.md b/pages.de/android/am.md new file mode 100644 index 00000000000000..385c69060bbbfa --- /dev/null +++ b/pages.de/android/am.md @@ -0,0 +1,20 @@ +# am + +> Androids Aktivitäten-Manager. +> Weitere Informationen: . + +- Starte eine bestimmte Aktivität: + +`am start -n {{com.android.settings/.Settings}}` + +- Starte eine Aktivität und übergib ihr Daten: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Starte eine Aktivität, auf die eine bestimmte Aktion und Kategorie zutrifft: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Konvertiere ein bestimmtes Ziel in einen URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.de/android/bugreport.md b/pages.de/android/bugreport.md new file mode 100644 index 00000000000000..02cb59ce97b592 --- /dev/null +++ b/pages.de/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Zeige Android-Fehlerberichte. +> Dieser Befehl kann nur mit `adb shell` verwendet werden. +> Weitere Informationen: . + +- Zeige einen vollständigen Fehlerbericht eines Androidgeräts an: + +`bugreport` diff --git a/pages.de/android/bugreportz.md b/pages.de/android/bugreportz.md new file mode 100644 index 00000000000000..964e03b328713d --- /dev/null +++ b/pages.de/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Generiere einen gezippten Android-Fehlerbericht. +> Dieser Befehl kann nur mit `adb shell` verwendet werden. +> Weitere Informationen: . + +- Generiere einen vollständigen Fehlerbericht eines Androidgeräts: + +`bugreportz` + +- Zeige den Fortschritt eines laufenden `bugreportz` Prozesses an: + +`bugreportz -p` + +- Schreibe den Inhalt eines Android-Fehlerberichts nach `stdout`: + +`bugreportz -s` + +- Zeige Hilfe an: + +`bugreportz -h` + +- Zeige die Versionsnummer von `bugreportz` an: + +`bugreportz -v` diff --git a/pages.de/android/cmd.md b/pages.de/android/cmd.md new file mode 100644 index 00000000000000..7e3a16d7c8ffd8 --- /dev/null +++ b/pages.de/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Androids Service-Manager. +> Weitere Informationen: . + +- Liste alle laufenden Services auf: + +`cmd -l` + +- Rufe einen bestimmten Service auf: + +`cmd {{alarm}}` + +- Rufe einen bestimmten Service mit Parametern auf: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.de/android/dalvikvm.md b/pages.de/android/dalvikvm.md new file mode 100644 index 00000000000000..09c450f617839f --- /dev/null +++ b/pages.de/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Androids Java Virtual Machine. +> Weitere Informationen: . + +- Starte ein Java-Programm: + +`dalvikvm -classpath {{pfad/zu/datei.jar}} {{klassenname}}` diff --git a/pages.de/android/dumpsys.md b/pages.de/android/dumpsys.md new file mode 100644 index 00000000000000..3732ec5ab8670b --- /dev/null +++ b/pages.de/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Stelle Informationen über Android-Systemservices bereit. +> Dieser Befehl kann nur mit `adb shell` verwendet werden. +> Weitere Informationen: . + +- Erhalte diagnostische Informationen über alle Systemservices: + +`dumpsys` + +- Erhalte diagnostische Informationen über einen bestimmten Systemservice: + +`dumpsys {{service}}` + +- Liste alle Services, über die `dumpsys` Informationen bereitstellen kann auf: + +`dumpsys -l` + +- Liste Service-spezifische Argumente für einen Service auf: + +`dumpsys {{service}} -h` + +- Schließe einen bestimmten Service von den diagnostischen Informationen aus: + +`dumpsys --skip {{service}}` + +- Gib ein Timeout in Sekunden an (standardmäßig 10s): + +`dumpsys -t {{sekunden}}` diff --git a/pages.de/android/getprop.md b/pages.de/android/getprop.md new file mode 100644 index 00000000000000..44d80f45eebc23 --- /dev/null +++ b/pages.de/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Zeige Informationen über Android-Systemeigenschaften. +> Weitere Informationen: . + +- Gib Informationen über Android-Systemeigenschaften aus: + +`getprop` + +- Gib Informationen über eine bestimmte Systemeigenschaft aus: + +`getprop {{eigenschaft}}` + +- Gib das SDK-API-Level aus: + +`getprop {{ro.build.version.sdk}}` + +- Gib die Android-Version aus: + +`getprop {{ro.build.version.release}}` + +- Gib das Modell des Geräts aus: + +`getprop {{ro.vendor.product.model}}` + +- Gib den OEM-Entsperrstatus aus: + +`getprop {{ro.oem_unlock_supported}}` + +- Gib die MAC-Adresse der WiFi-Karte aus: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.de/android/input.md b/pages.de/android/input.md new file mode 100644 index 00000000000000..eb555556d9b053 --- /dev/null +++ b/pages.de/android/input.md @@ -0,0 +1,25 @@ +# input + +> Sende Eventcodes oder Touchscreengesten an ein Android-Gerät. +> Dieser Befehl kann nur mit `adb shell` verwendet werden. +> Weitere Informationen: . + +- Sende einen Eventcode für die Eingabe eines einzelnen Zeichens an ein Gerät: + +`input keyevent {{eventcode}}` + +- Sende einen Text an ein Gerät (`%s` wird als Leerzeichen verwendet): + +`input text "{{text}}"` + +- Sende ein einzelnes Tippen auf den Touchscreen an ein Gerät: + +`input tap {{x_pos}} {{y_pos}}` + +- Sende ein Wischen über den Touchscreen an ein Gerät: + +`input swipe {{x_start}} {{y_start}} {{x_ende}} {{y_ende}} {{dauer_in_ms}}` + +- Sende ein langes Tippen auf den Touchscreen an ein Gerät: + +`input swipe {{x_pos}} {{y_pos}} {{x_pos}} {{y_pos}} {{dauer_in_ms}}` diff --git a/pages.de/android/logcat.md b/pages.de/android/logcat.md new file mode 100644 index 00000000000000..07071b73f86afa --- /dev/null +++ b/pages.de/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Gib ein Protokoll aller System-Logs aus. +> Weitere Informationen: . + +- Gib ein Protokoll aller System-Logs aus: + +`logcat` + +- Schreibe alle System-Logs in eine Datei: + +`logcat -f {{pfad/zu/datei}}` + +- Gib Zeilen aus, die einem regulären Ausdruck entsprechen: + +`logcat --regex {{regex}}` + +- Gib System-Logs für die spezifizierte PID aus: + +`logcat --pid {{pid}}` + +- Gib System-Logs für den Prozess eines bestimmten Packets aus: + +`logcat --pid $(pidof -s {{packet}})` diff --git a/pages.de/android/pkg.md b/pages.de/android/pkg.md new file mode 100644 index 00000000000000..af9708d194aa86 --- /dev/null +++ b/pages.de/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Paketverwaltungs-Werkzeug für Termux. +> Weitere Informationen: . + +- Aktualisiere alle installierten Pakete: + +`pkg upgrade` + +- Installiere ein Paket: + +`pkg install {{paket}}` + +- Deinstalliere ein Paket: + +`pkg uninstall {{paket}}` + +- Installiere ein Paket erneut: + +`pkg reinstall {{paket}}` + +- Suche nach einem Paket: + +`pkg search {{paket}}` diff --git a/pages.de/android/pm.md b/pages.de/android/pm.md new file mode 100644 index 00000000000000..342ed19a2260cc --- /dev/null +++ b/pages.de/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Zeige Informationen über Apps auf einem Android Gerät. +> Weitere Informationen: . + +- Gib eine Liste aller installierten Apps aus: + +`pm list packages` + +- Gib eine Liste aller installierten System-Apps aus: + +`pm list packages -s` + +- Gib eine Liste aller installierten Apps von Drittanbietern aus: + +`pm list packages -3` + +- Gib eine Liste aller Apps, auf die ein bestimmtes Schlüsselwort zutrifft, aus: + +`pm list packages {{Schlüsselwort}}` + +- Gib den Pfad der APK einer bestimmten App aus: + +`pm path {{app}}` diff --git a/pages.de/android/screencap.md b/pages.de/android/screencap.md new file mode 100644 index 00000000000000..fe793f84c29184 --- /dev/null +++ b/pages.de/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Nimmt ein Bildschirmfoto von einem Handy-Display auf. +> Dieser Befehl kann nur über die 'adb shell' benutzt werden. +> Weitere Informationen: . + +- Nehme ein Bildschirmfoto auf: + +`screencap {{pfad/zu/datei}}` diff --git a/pages.de/android/settings.md b/pages.de/android/settings.md new file mode 100644 index 00000000000000..2a986b61532102 --- /dev/null +++ b/pages.de/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Verwalte Android-Systemeinstellungen. +> Weitere Informationen: . + +- Gib eine Liste aller Einstellungen im Namespace `global` aus: + +`settings list {{global}}` + +- Gib den Wert einer bestimmten Einstellung aus: + +`settings get {{global}} {{airplane_mode_on}}` + +- Setze den Wert einer bestimmten Einstellung: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Lösche eine bestimmte Einstellung: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.de/android/wm.md b/pages.de/android/wm.md new file mode 100644 index 00000000000000..2be6578243e77d --- /dev/null +++ b/pages.de/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Zeige Informationen über den Bildschirm eines Android-Geräts. +> Dieser Befehl kann nur mit `adb shell` verwendet werden. +> Weitere Informationen: . + +- Gib die physische Größe des Bildschirms eines Geräts aus: + +`wm size` + +- Gib die physische Pixeldichte des Bildschirms eines Geräts aus: + +`wm density` diff --git a/pages.de/common/!.md b/pages.de/common/!.md new file mode 100644 index 00000000000000..fa09a86208ba38 --- /dev/null +++ b/pages.de/common/!.md @@ -0,0 +1,24 @@ +# ! + +> Ein in Bash integriertes Kommando, welches durch einen Befehl aus dem Befehlsverlauf ersetzt wird. +> Weitere Informationen: . + +- Ersetze `!!` durch den vorherigen Befehl und führe ihn mit `sudo` aus: + +`sudo !!` + +- Führe den Befehl Nummer `n` aus. Die Nummer eines Befehls kann mit `history` herausgefunden werden: + +`!{{n}}` + +- Führe den n't letzten ausgeführten Befehl aus: + +`!-{{n}}` + +- Führe den letzten Befehl aus, der mit zeichenkette begann: + +`!{{zeichenkette}}` + +- Ersetze durch die Argumente des letzten Befehls: + +`{{befehl}} !*` diff --git a/pages.de/common/7z.md b/pages.de/common/7z.md index 9c8fd728094cc1..87cae0883489ff 100644 --- a/pages.de/common/7z.md +++ b/pages.de/common/7z.md @@ -1,36 +1,32 @@ # 7z -> Ein Dateiarchivierer mit hoher Komprimierungsrate. -> Mehr Informationen: . +> Ein Dateiarchivierer mit hoher Kompressionsrate. +> Weitere Informationen: . -- Archiviere eine Datei oder ein Verzeichnis: +- [a]rchiviere eine Datei oder ein Verzeichnis: -`7z a {{archiviert.7z}} {{Pfad/zur/Datei_oder_Verzeichnis}}` +`7z a {{pfad/zu/archiv.7z}} {{pfad/zu/datei_oder_verzeichnis}}` -- Verschlüssle ein vorhandenes Archiv (einschließlich der Kopfzeilen): +- Verschlüssle ein vorhandenes Archiv (einschließlich Dateinamen): -`7z a {{verschluesselt.7z}} -p{{Passwort}} -mhe=on {{archived.7z}}` +`7z a {{pfad/zu/verschlüsselt.7z}} -p{{passwort}} -mhe=on {{pfad/zu/archiv.7z}}` -- Extrahiere eine vorhandene 7z-Datei mit der ursprünglichen Verzeichnisstruktur: +- E[x]trahiere ein Archiv und behalte die originale Verzeichnisstruktur bei: -`7z x {{archiviert.7z}}` +`7z x {{pfad/zu/archiv.7z}}` -- Entpacke ein Archiv mit benutzerdefiniertem Ausgabepfad: +- E[x]trahiere ein Archiv in ein bestimmtes Verzeichnis: -`7z x {{archiviert.7z}} -o{{Pfad/zu/ausgabe}}` +`7z x {{pfad/zu/archiv.7z}} -o{{pfad/zu/verzeichnis}}` -- Entpacke ein Archiv nach `stdout`: +- E[x]trahiere ein Archiv nach `stdout`: -`7z x {{archiviert.7z}} -so` +`7z x {{pfad/zu/archiv.7z}} -so` -- Archiviere mit einem bestimmten Archivtyp: +- [a]rchiviere mit einem bestimmten Archivtyp: -`7z a -t{{zip|gzip|bzip2|tar}} {{archiviert.7z}} {{Pfad/zur/Datei_oder_Verzeichnis}}` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{pfad/zu/archiv}} {{pfad/zu/datei_oder_verzeichnis}}` -- Gib die verfügbaren Archivtypen aus: +- [l]iste den Inhalt einer Archivdatei auf: -`7z i` - -- Gib den Inhalt einer Archivdatei aus: - -`7z l {{archiviert.7z}}` +`7z l {{pfad/zu/archiv.7z}}` diff --git a/pages.de/common/7za.md b/pages.de/common/7za.md new file mode 100644 index 00000000000000..a8b4ded5f4e8e2 --- /dev/null +++ b/pages.de/common/7za.md @@ -0,0 +1,33 @@ +# 7za + +> Ein Dateiarchivierer mit hoher Kompressionsrate. +> Eine alleinstehende Version von `7z` mit Unterstützung für neuere Archivtypen. +> Weitere Informationen: . + +- [a]rchiviere eine Datei oder ein Verzeichnis: + +`7za a {{pfad/zu/archiv.7z}} {{pfad/zu/datei_oder_verzeichnis}}` + +- Verschlüssle ein vorhandenes Archiv (einschließlich Dateinamen): + +`7za a {{pfad/zu/verschlüsselt.7z}} -p{{passwort}} -mhe=on {{pfad/zu/archiv.7z}}` + +- E[x]trahiere ein Archiv und behalte die originale Verzeichnisstruktur bei: + +`7za x {{pfad/zu/archiv.7z}}` + +- E[x]trahiere ein Archiv in ein bestimmtes Verzeichnis: + +`7za x {{pfad/zu/archiv.7z}} -o{{pfad/zu/verzeichnis}}` + +- E[x]trahiere ein Archiv nach `stdout`: + +`7za x {{pfad/zu/archiv.7z}} -so` + +- [a]rchiviere mit einem bestimmten Archivtyp: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{pfad/zu/archiv.7z}} {{pfad/zu/datei_oder_verzeichnis}}` + +- [l]iste den Inhalt einer Archivdatei auf: + +`7za l {{pfad/zu/archiv.7z}}` diff --git a/pages.de/common/7zr.md b/pages.de/common/7zr.md new file mode 100644 index 00000000000000..913263ddb91ee6 --- /dev/null +++ b/pages.de/common/7zr.md @@ -0,0 +1,29 @@ +# 7zr + +> Ein Dateiarchivierer mit hoher Kompressionsrate. +> Eine alleinstehende Version von `7z`, die nur 7z Dateien unterstützt. +> Weitere Informationen: . + +- [a]rchiviere eine Datei oder ein Verzeichnis: + +`7zr a {{pfad/zu/archiv.7z}} {{pfad/zu/datei_oder_verzeichnis}}` + +- Verschlüssle ein vorhandenes Archiv (einschließlich Dateinamen): + +`7zr a {{pfad/zu/verschlüsselt.7z}} -p{{passwort}} -mhe={{on}} {{pfad/zu/archiv.7z}}` + +- E[x]trahiere ein Archiv und behalte die originale Verzeichnisstruktur bei: + +`7zr x {{pfad/zu/archiv.7z}}` + +- E[x]trahiere ein Archiv in ein bestimmtes Verzeichnis: + +`7zr x {{pfad/zu/archiv.7z}} -o{{pfad/zu/verzeichnis}}` + +- E[x]trahiere ein Archiv nach `stdout`: + +`7zr x {{pfad/zu/archiv.7z}} -so` + +- [l]iste den Inhalt einer Archivdatei auf: + +`7zr l {{pfad/zu/archiv.7z}}` diff --git a/pages.de/common/[.md b/pages.de/common/[.md new file mode 100644 index 00000000000000..6542dceec60179 --- /dev/null +++ b/pages.de/common/[.md @@ -0,0 +1,33 @@ +# [ + +> Teste Dateitypen und vergleiche Werte. +> Gibt 0 zurück, wenn der Ausdruck wahr ist und 1 wenn nicht. +> Weitere Informationen: . + +- Überprüfe, ob eine bestimmte Variable gleich oder ungleich einem bestimmen String ist: + +`[ "${{variable}}" {{=|!=}} "{{string}}" ]` + +- Überprüfe, ob eine Variable gleich/ungleich/größer/kleiner/größer-gleich oder kleiner-gleich als eine bestimme Zahl ist: + +`[ "${{variable}}" -{{eq|ne|gt|lt|ge|le}} {{zahl}} ]` + +- Überprüfe, ob eine bestimmte Variable einen nicht-leeren Wert hat: + +`[ -n "${{variable}}" ]` + +- Überprüfe, ob eine bestimmte Variable einen leeren Wert hat: + +`[ -z "${{variable}}" ]` + +- Überprüfe, ob eine bestimmte Datei existiert: + +`[ -f {{pfad/zu/datei}} ]` + +- Überprüfe, ob ein bestimmtes Verzeichnis existiert: + +`[ -d {{pfad/zu/verzeichnis}} ]` + +- Überprüfe, ob eine Datei oder ein Verzeichnis existiert: + +`[ -e {{pfad/zu/datei_oder_verzeichnis}} ]` diff --git a/pages.de/common/[[.md b/pages.de/common/[[.md new file mode 100644 index 00000000000000..57011434708dbc --- /dev/null +++ b/pages.de/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> Teste Dateitypen und vergleiche Werte. +> Gibt 0 zurück, wenn der Ausdruck wahr ist und 1 wenn nicht. +> Weitere Informationen: . + +- Überprüfe, ob eine bestimmte Variable gleich oder ungleich einem bestimmen String ist: + +`[[ ${{variable}} {{==|!=}} "{{string}}" ]]` + +- Überprüfe, ob ein bestimmter String einem bestimmten regulären Ausdruck oder glob-Muster entspricht: + +`[[ ${{variable}} {{==|=~}} {{muster}} ]]` + +- Überprüfe, ob eine Variable gleich/ungleich/größer/kleiner/größer-gleich oder kleiner-gleich als eine bestimme Zahl ist: + +`[[ ${{variable}} -{{eq|ne|gt|lt|ge|le}} {{zahl}} ]]` + +- Überprüfe, ob eine bestimmte Variable einen nicht-leeren Wert hat: + +`[[ -n ${{variable}} ]]` + +- Überprüfe, ob eine bestimmte Variable einen leeren Wert hat: + +`[[ -z ${{variable}} ]]` + +- Überprüfe, ob eine bestimmte Datei existiert: + +`[[ -f {{pfad/zu/datei}} ]]` + +- Überprüfe, ob ein bestimmtes Verzeichnis existiert: + +`[[ -d {{pfad/zu/verzeichnis}} ]]` + +- Überprüfe, ob eine Datei oder ein Verzeichnis existiert: + +`[[ -e {{pfad/zu/datei_oder_verzeichnis}} ]]` diff --git a/pages.de/common/aapt.md b/pages.de/common/aapt.md new file mode 100644 index 00000000000000..5c5e2dc729ecff --- /dev/null +++ b/pages.de/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> Android Asset Packaging Tool. +> Kompiliere und verpacke die Resourcen einer Android App. +> Weitere Informationen: . + +- Liste alle Dateien eines APK Archivs auf: + +`aapt list {{pfad/zu/app.apk}}` + +- Zeige die Metadaten einer App an (Version, Berechtigungen, usw.): + +`aapt dump badging {{pfad/zu/app.apk}}` + +- Erstelle ein neues APK Archiv mit den Dateien eines bestimmten Verzeichnisses: + +`aapt package -F {{pfad/zu/app.apk}} {{pfad/zu/verzeichnis}}` diff --git a/pages.de/common/ab.md b/pages.de/common/ab.md new file mode 100644 index 00000000000000..2dacf23876552b --- /dev/null +++ b/pages.de/common/ab.md @@ -0,0 +1,24 @@ +# ab + +> Apache HTTP server Benchmarking Tool. +> Weitere Informationen: . + +- Sende 100 HTTP GET Anfragen an eine URL: + +`ab -n 100 {{url}}` + +- Sende 100 HTTP GET Anfragen an eine URL, wovon bis zu 10 gleichzeitig bearbeitet werden: + +`ab -n 100 -c 10 {{url}}` + +- Sende 100 HTTP POST Anfragen mit der in der angegebenen Datei gespeicherten Payload an eine URL: + +`ab -n 100 -T {{application/json}} -p {{pfad/zu/datei.json}} {{url}}` + +- Wach halten: + +`ab -k {{url}}` + +- Lege die maximale Anzahl an Sekunden fest, die das Benchmarking dauern darf: + +`ab -t {{60}} {{url}}` diff --git a/pages.de/common/adscript.md b/pages.de/common/adscript.md new file mode 100644 index 00000000000000..7746d9b779ecc2 --- /dev/null +++ b/pages.de/common/adscript.md @@ -0,0 +1,20 @@ +# adscript + +> Compiler für Adscript Dateien. +> Weitere Informationen: . + +- Kompiliere eine Datei zu einer Objektdatei: + +`adscript --output {{pfad/zu/datei.o}} {{pfad/zu/quelldatei.adscript}}` + +- Kompiliere eine Datei zu einer ausführbaren Binärdatei: + +`adscript --executable --output {{pfad/zu/datei}} {{pfad/zu/quelldatei.adscript}}` + +- Kompiliere eine Datei zu LLVM IR anstelle von nativem Maschinencode: + +`adscript --llvm-ir --output {{pfad/zu/datei.ll}} {{pfad/zu/quelldatei.adscript}}` + +- Cross-kompiliere eine Datei zu einer Objektdatei für eine fremde CPU Architektur oder ein fremdes Betriebssystem: + +`adscript --target-triple {{i386-linux-elf}} --output {{pfad/zu/datei.o}} {{pfad/zu/quelldatei.adscript}}` diff --git a/pages.de/common/age.md b/pages.de/common/age.md new file mode 100644 index 00000000000000..76bc4bbbd492b7 --- /dev/null +++ b/pages.de/common/age.md @@ -0,0 +1,28 @@ +# age + +> Ein einfaches, modernes und sicheres Dateiverschlüsselungswerkzeug. +> Weitere Informationen: . + +- Generiere eine verschlüsselte Datei, die mit einer Passphrase entschlüsselt werden kann: + +`age --passphrase --output {{pfad/zu/verschlüsselter_datei}} {{pfad/zu/unverschlüsselter_datei}}` + +- Generiere ein Schlüsselpaar, speichere dabei den privaten Schlüssel in einer unverschlüsselten Datei und gib den öffentlichen Schlüssel zu `stdout` aus: + +`age-keygen --output {{pfad/zu/datei}}` + +- Verschlüssle eine Datei mit einem oder mehr öffentlichen Schlüsseln, die als Zeichenketten eingegeben werden: + +`age --recipient {{öffentlicher_schlüssel_1}} --recipient {{öffentlicher_schlüssel_2}} {{pfad/zu/unverschlüsselter_datei}} --output {{pfad/zu/verschlüsselter_datei}}` + +- Verschlüssle eine Datei mit einem oder mehr öffentlichen Schlüsseln, die in einer Empfängerdatei angegeben sind: + +`age --recipients-file {{pfad/zu/empfängerdatei}} {{pfad/zu/unverschlüsselter_datei}} --output {{pfad/zu/verschlüsselter_datei}}` + +- Entschlüssle eine Datei mit einer Passphrase: + +`age --decrypt --output {{pfad/zu/entschlüsselter_datei}} {{pfad/zu/verschlüsselter_datei}}` + +- Entschlüssle eine Datei mit einer privaten Schlüsseldatei: + +`age --decrypt --identity {{pfad/zu/privater_schlüsseldatei}} --output {{pfad/zu/entschlüsselter_datei}} {{pfad/zu/verschlüsselter_datei}}` diff --git a/pages.de/common/aircrack-ng.md b/pages.de/common/aircrack-ng.md new file mode 100644 index 00000000000000..3937fde7617b7a --- /dev/null +++ b/pages.de/common/aircrack-ng.md @@ -0,0 +1,17 @@ +# aircrack-ng + +> WEP und WPA/WPA2 Schlüssel im Kommunikationsaufbau knacken. +> Teil des Aircrack-ng Softwarepakets. +> Weitere Informationen: . + +- Knacke Schlüssel von abgefangenen Paketen mithilfe von Wortlisten: + +`aircrack-ng -w {{pfad/zu/wortliste.txt}} {{pfad/zu/packetdatei.cap}}` + +- Knacke Schlüssel von abgefangenen Paketen mithilfe einer Wortliste und der (E)SSID des Access Points: + +`aircrack-ng -w {{pfad/zu/wortliste.txt}} -e {{essid}} {{pfad/zu/packetdatei.cap}}` + +- Knacke Schlüssel von abgefangenen Paketen mithilfe einer Wortliste und der MAC-Adresse des Access Points: + +`aircrack-ng -w {{pfad/zu/wortliste.txt}} --bssid {{mac}} {{pfad/zu/packetdatei.cap}}` diff --git a/pages.de/common/aireplay-ng.md b/pages.de/common/aireplay-ng.md new file mode 100644 index 00000000000000..bc2338e1819009 --- /dev/null +++ b/pages.de/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> Pakete in ein WLAN injizieren. +> Teil von `aircrack-ng`. +> Weitere Informationen: . + +- Sende eine bestimmten Anzahl an Dissoziation-Paketen mit der MAC-Adresse des Access Points, der MAC-Adresse des Clients und eines Interfaces: + +`sudo aireplay-ng --deauth {{anzahl}} --bssid {{ap_mac}} --dmac {{client_mac}} {{interface}}` diff --git a/pages.de/common/airmon-ng.md b/pages.de/common/airmon-ng.md new file mode 100644 index 00000000000000..fd19d45381c100 --- /dev/null +++ b/pages.de/common/airmon-ng.md @@ -0,0 +1,21 @@ +# airmon-ng + +> Aktiveren des Überwachungsmodus auf Wireless Network Geräten. +> Teil von `aircrack-ng`. +> Weitere Informationen: . + +- Liste Wireless Geräte und deren Status auf: + +`sudo airmon-ng` + +- Aktiviere den Überwachungsmodus für ein bestimmtes Gerät: + +`sudo airmon-ng start {{wlan0}}` + +- Kille störende Prozesse, die das Wireless Gerät verwenden: + +`sudo airmon-ng check kill` + +- Deaktiviere den Überwachungsmodus für ein spezifisches Interface: + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.de/common/airodump-ng.md b/pages.de/common/airodump-ng.md new file mode 100644 index 00000000000000..d96df3c7f1928c --- /dev/null +++ b/pages.de/common/airodump-ng.md @@ -0,0 +1,13 @@ +# airodump-ng + +> Erfasst Pakete und zeigt Informationen über drahtlose Netzwerke an. +> Teil von `aircrack-ng`. +> Weitere Informationen: . + +- Erfasse Pakete und zeige Informationen über ein drahtloses Netzwerk an: + +`sudo airodump-ng {{interface}}` + +- Erfasse Pakete und zeige Informationen über ein drahtloses Netzwerk anhand der MAC-Adresse und des Kanals an, und schreibe diese in eine Datei: + +`sudo airodump-ng --channel {{kanal}} --write {{pfad/zu/datei}} --bssid {{mac}} {{interface}}` diff --git a/pages.de/common/alacritty.md b/pages.de/common/alacritty.md new file mode 100644 index 00000000000000..0ac78b7391e718 --- /dev/null +++ b/pages.de/common/alacritty.md @@ -0,0 +1,24 @@ +# alacritty + +> Plattformübergreifender, GPU-beschleunigter Terminalemulator. +> Weitere Informationen: . + +- Öffne ein neues Alacritty-Fenster: + +`alacritty` + +- Starte Alacritty in einem bestimmten Arbeitsverzeichnis: + +`alacritty --working-directory {{pfad/zu/verzeichnis}}` + +- Führe einen Befehl in einem neuen Alacritty-Fenster aus: + +`alacritty -e {{befehl}}` + +- Gib eine alternative Konfigurations-Datei an (ist standardmäßig `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): + +`alacritty --config-file {{pfad/zu/konfiguration.toml}}` + +- Starte mit aktiviertem Live-Konfigurations-Neuladen (kann auch standardmäßig in `alacritty.toml` eingestellt werden): + +`alacritty --live-config-reload --config-file {{pfad/zu/konfiguration.toml}}` diff --git a/pages.de/common/alias.md b/pages.de/common/alias.md index ecc23300d7477b..a2a825a545b403 100644 --- a/pages.de/common/alias.md +++ b/pages.de/common/alias.md @@ -1,28 +1,29 @@ # alias -> Erstellt Aliase - Wörter, die durch eine Befehlszeile ersetzt werden. -> Aliase laufen mit der aktuellen Shell-Sitzung ab, es sei denn, sie sind in der Konfigurationsdatei der Shell definiert, z.B. `~/.bashrc`. +> Erstellt Aliasse - Alterative Namen für Befehle. +> Aliasse laufen mit der aktuellen Shell-Sitzung ab, es sei denn, sie werden in der Konfigurationsdatei der Shell definiert, z.B. `~/.bashrc`. +> Weitere Informationen: . -- Listet alle Aliase auf: +- Listet alle Aliasse auf: `alias` - Erstellt einen Alias: -`alias {{wort}}="{{befehl}}"` +`alias {{alias}}="{{befehl}}"` - Zeigt den mit einem bestimmten Alias verknüpften Befehl an: -`alias {{wort}}` +`alias {{alias}}` - Entferne einen Alias: -`unalias {{wort}}` +`unalias {{alias}}` - Macht `rm` zu einem interaktiven Befehl: `alias {{rm}}="{{rm -i}}"` -- Erstellt `la` als Abkürzung für `ls -a`: +- Erstellt den Alias `la` für `ls -a`: `alias {{la}}="{{ls -a}}"` diff --git a/pages.de/common/ani-cli.md b/pages.de/common/ani-cli.md new file mode 100644 index 00000000000000..90393da076ab6f --- /dev/null +++ b/pages.de/common/ani-cli.md @@ -0,0 +1,28 @@ +# ani-cli + +> Ein Cli zum Stöbern und Anschauen von Anime. +> Weitere Informationen: . + +- Anime nach Namen suchen: + +`ani-cli "{{anime_name}}"` + +- Folge herunterladen: + +`ani-cli -d "{{anime_name}}"` + +- VLC als Medienspieler verwenden: + +`ani-cli -v "{{anime_name}}"` + +- Anzuschauende Episode angeben: + +`ani-cli -e {{episoden_nummer}} "{{anime_name}}"` + +- Anime aus Verlauf weiterschauen: + +`ani-cli -c` + +- Aktualisiere `ani-cli`: + +`ani-cli -U` diff --git a/pages.de/common/anki.md b/pages.de/common/anki.md new file mode 100644 index 00000000000000..1bdaf09d65bfa6 --- /dev/null +++ b/pages.de/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> Leistungsstarkes, intelligentes Lernkartenprogramm. +> Weitere Informationen: . + +- Starte `anki`: + +`anki` + +- Starte `anki` mit einem bestimmten Profil: + +`anki -p {{profil_name}}` + +- Starte `anki` in einer bestimmten Sprache: + +`anki -l {{sprache}}` + +- Starte `anki` von einem bestimmten Verzeichneis anstelle des Standardverzeichnis (`~/Anki`): + +`anki -b {{pfad/zu/verzeichnis}}` diff --git a/pages.de/common/ansible-doc.md b/pages.de/common/ansible-doc.md new file mode 100644 index 00000000000000..311a1bda53a2e3 --- /dev/null +++ b/pages.de/common/ansible-doc.md @@ -0,0 +1,29 @@ +# ansible-doc + +> Anzeigen von Informationen über die in den Ansible-Bibliotheken installierten Module. +> Anzeigen einer knappen Auflistung von Plugins und deren Kurzbeschreibungen. +> Weitere Informationen: . + +- Auflisten der verfügbaren Aktions-Plugin (Module): + +`ansible-doc {{[-l|--list]}}` + +- Auflisten der verfügbare Plugins eines bestimmten Typs: + +`ansible-doc {{[-t|--type]}} {{plugin_typ}} {{[-l|--list]}}` + +- Anzeigen von Informationen über ein bestimmtes Aktions-Plugin (Module): + +`ansible-doc {{plugin_name}}` + +- Anzeigen von Informationen über ein Plugin mit einem betimmten Typ: + +`ansible-doc {{[-t|--type]}} {{plugin_typ}} {{plugin_name}}` + +- Anzeigen des Playbookausschnittes für ein Actions-Plugin (Module): + +`ansible-doc {{[-s|--snippet]}} {{plugin_name}}` + +- Anzeigen von Informationen über ein Aktions-Plugin (Module) als JSON: + +`ansible-doc {{[-j|--json]}} {{plugin_name}}` diff --git a/pages.de/common/ansible-galaxy.md b/pages.de/common/ansible-galaxy.md index f5f8f013f1fedc..0f1cca56a8b73f 100644 --- a/pages.de/common/ansible-galaxy.md +++ b/pages.de/common/ansible-galaxy.md @@ -1,24 +1,32 @@ # ansible-galaxy -> Mögliche Rollen erstellen und verwalten. -> Mehr Informationen: . +> Erstelle und verwalte Ansible Rollen. +> Weitere Informationen: . -- Installieren Sie eine Rolle: +- Installiere eine Rolle: -`ansible-galaxy install {{username.rollen_name}}` +`ansible-galaxy install {{benutzername}}.{{rollenname}}` -- Entfernen Sie eine Rolle: +- Entferne eine Rolle: -`ansible-galaxy remove {{username.rollen_name}}` +`ansible-galaxy remove {{benutzername}}.{{rollenname}}` -- Installierte Rollen auflisten: +- Liste installierte Rollen auf: `ansible-galaxy list` -- Suchen Sie nach einer bestimmten Rolle: +- Suche nach einer bestimmten Rolle: -`ansible-galaxy search {{Rollenname}}` +`ansible-galaxy search {{rollenname}}` -- Erstellen Sie eine neue Rolle: +- Erstelle eine neue Rolle: -`ansible-galaxy init {{Rollenname}}` +`ansible-galaxy init {{rollenname}}` + +- Erhalte Informationen über eine Benutzerrolle: + +`ansible-galaxy role info {{benutzername}}.{{rollenname}}` + +- Erhalte Informationen über eine Kollektion: + +`ansible-galaxy collection info {{benutzername}}.{{kollektionsname}}` diff --git a/pages.de/common/ansible-inventory.md b/pages.de/common/ansible-inventory.md new file mode 100644 index 00000000000000..f71306517c40c0 --- /dev/null +++ b/pages.de/common/ansible-inventory.md @@ -0,0 +1,21 @@ +# ansible-inventory + +> Anzeigen oder Ausgeben eines Ansible-Inventars. +> Siehe auch: `ansible`. +> Weitere Informationen: . + +- Anzeigen des Standardinventars: + +`ansible-inventory --list` + +- Anzeigen eines Benutzerdefinierten Inventars: + +`ansible-inventory --list {{[-i|--inventory-file]}} {{pfad/zu/datei_oder_skript_oder_verzeichnis}}` + +- Anzeigen des Standardinventars in YAML: + +`ansible-inventory --list {{[-y|--yaml]}}` + +- Ausgabe des Standardinventars in eine Datei: + +`ansible-inventory --list --output {{pfad/zu/datei}}` diff --git a/pages.de/common/ansible-playbook.md b/pages.de/common/ansible-playbook.md index 6ba6237c54ca28..e6dc4b8020f888 100644 --- a/pages.de/common/ansible-playbook.md +++ b/pages.de/common/ansible-playbook.md @@ -1,28 +1,28 @@ # ansible-playbook > In Playbook definierte Aufgaben auf entfernten Rechnern über SSH ausführen. -> Mehr Informationen: . +> Weitere Informationen: . -- Ausführen von Aufgaben im Playbook: +- Führe Aufgaben im Playbook aus: `ansible-playbook {{playbook}}` -- Führen Sie Aufgaben im Playbook mit benutzerdefiniertem Host-Bestand aus: +- Führe Aufgaben im Playbook mit benutzerdefiniertem Host-Bestand aus: -`ansible-playbook {{playbook}} -i {{inventory_file}}` +`ansible-playbook {{playbook}} {{[-i|--inventory]}} {{inventory_datei}}` -- Führen Sie Aufgaben im Playbook aus, wobei zusätzliche Variablen über die Befehlszeile definiert werden: +- Führe Aufgaben im Playbook aus, wobei zusätzliche Variablen über die Befehlszeile definiert werden: -`ansible-playbook {{playbook}} -e "{{Variable1}}={{Wert1}} {{Variable2}}={{Wert2}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "{{variable1}}={{wert1}} {{variable2}}={{wert2}}"` -- Führen Sie Aufgaben in Playbook mit zusätzlichen Variablen aus, die in einer Json-Datei definiert sind: +- Führe Aufgaben in Playbook mit zusätzlichen Variablen aus, die in einer JSON-Datei definiert sind: -`ansible-playbook {{playbook}} -e "@{{variables.json}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "@{{variablen.json}}"` -- Führen Sie Aufgaben im Playbook für die angegebenen Tags aus: +- Führe Aufgaben im Playbook für die angegebenen Tags aus: -`ansible-playbook {{playbook}} --tags {tags {tags}}` +`ansible-playbook {{playbook}} {{[-t|--tags|]}} {{tag1,tag2}}` -- Führen Sie Aufgaben in einem Playbook aus, die mit einer bestimmten Aufgabe beginnen: +- Führe Aufgaben in einem Playbook aus, die mit einer bestimmten Aufgabe beginnen: -`ansible-playbook {{playbook}} --start-at {{task_name}}` +`ansible-playbook {{playbook}} --start-at {{aufgabenname}}` diff --git a/pages.de/common/ansible-pull.md b/pages.de/common/ansible-pull.md new file mode 100644 index 00000000000000..4f0081c630f474 --- /dev/null +++ b/pages.de/common/ansible-pull.md @@ -0,0 +1,20 @@ +# ansible-pull + +> Laden eines Ansible-Playbooks aus einem VCS-Repository und ausführen auf dem lokalen Host. +> Weitere Informationen: . + +- Laden eines Playbooks aus einem VCS und ausführen des standardmässigen local.yml Playbooks: + +`ansible-pull {{[-U|--url]}} {{repository_url}}` + +- Laden eines Playbooks aus einem VCS und ausführen eines spezifischen Playbooks: + +`ansible-pull {{[-U|--url]}} {{repository_url}} {{playbook}}` + +- Laden eines Playbooks aus einem VCS unter angabe eines bestimmten branches und ausführen eines spezifischen Playbooks: + +`ansible-pull {{[-U|--url]}} {{repository_url}} {{[-C|--checkout]}} {{branch}} {{playbook}}` + +- Laden eines Playbooks aus einem VCS und ausführen eines spezifischen Playbooks unter angabe einer Hosts-Datei: + +`ansible-pull {{[-U|--url]}} {{repository_url}} {{[-i|--inventory]}} {{hosts_datei}} {{playbook}}` diff --git a/pages.de/common/ansible-vault.md b/pages.de/common/ansible-vault.md index 722709dfae35e1..03bb15cf64ac1c 100644 --- a/pages.de/common/ansible-vault.md +++ b/pages.de/common/ansible-vault.md @@ -1,28 +1,28 @@ # ansible-vault > Verschlüsselt und entschlüsselt Werte, Datenstrukturen und Dateien innerhalb von Ansible-Projekten. -> Mehr Informationen: . +> Weitere Informationen: . -- Erstellen Sie eine neue verschlüsselte Vault Datei mit einer Eingabeaufforderung für ein Passwort: +- Erstelle eine neue verschlüsselte Vault-Datei mit einer Eingabeaufforderung für ein Passwort: -`ansible-vault create {{vault_file}}` +`ansible-vault create {{vault_datei}}` -- Erstellen Sie eine neue verschlüsselte Vault Datei mit einer Vault-Schlüsseldatei, um sie zu verschlüsseln: +- Erstelle eine neue verschlüsselte Vault-Datei mit einer Vault-Schlüsseldatei, um sie zu verschlüsseln: -`ansible-vault create --vault-password-file={{password_file}} {{vault_file}}` +`ansible-vault create --vault-password-file {{schlüsseldatei}} {{vault_datei}}` -- Verschlüsseln Sie eine vorhandene Datei mit einer optionalen Kennwortdatei: +- Verschlüssle eine vorhandene Datei mit einer optionalen Schlüsseldatei: -`ansible-vault verschlüsseln --vault-password-file={{password_file}} {{vault_file}}` +`ansible-vault encrypt --vault-password-file {{schlüsseldatei}} {{vault_file}}` -- Verschlüsseln Sie eine Zeichenfolge mit dem verschlüsselten Zeichenfolgenformat von Ansible, wobei interaktive Eingabeaufforderungen angezeigt werden: +- Verschlüssle eine Zeichenfolge mit dem verschlüsselten Zeichenfolgenformat von Ansible, wobei interaktive Eingabeaufforderungen angezeigt werden: -`ansible-vault verschlüsseln_zeichenkette` +`ansible-vault encrypt_string` -- Anzeigen einer verschlüsselten Datei, wobei eine Kennwortdatei zum Entschlüsseln verwendet wird: +- Zeige eine verschlüsselte Datei an, wobei eine Kennwortdatei zum Entschlüsseln verwendet wird: -`ansible-vault view --vault-password-file={{password_file}} {{vault_file}}` +`ansible-vault view --vault-password-file {{schlüsseldatei}} {{vault_datei}}` -- Verschlüsseln Sie eine bereits verschlüsselte Vault Datei mit einer neuen Kennwortdatei neu: +- Verschlüssle eine bereits verschlüsselte Vault Datei mit einer neuen Kennwortdatei neu: -`ansible-vault rekey --vault-password-file={{old_password_file}} --new-vault-password-file={{new_password_file}} {{vault_file}}` +`ansible-vault rekey --vault-password-file {{alte_schlüsseldatei}} --new-vault-password-file {{neue_schlüsseldatei}} {{vault_datei}}` diff --git a/pages.de/common/ansible.md b/pages.de/common/ansible.md index 6200ca62e09f67..5ed6293fe71cb1 100644 --- a/pages.de/common/ansible.md +++ b/pages.de/common/ansible.md @@ -1,29 +1,33 @@ # ansible -> Verwalten von Computergruppen per Fernzugriff über SSH. -> Verwenden Sie die Datei /etc/ansible/hosts, um neue Gruppen/Hosts hinzuzufügen. -> Mehr Informationen: . +> Verwalte Computergruppen per Fernzugriff über SSH (Verwende die Datei `/etc/ansible/hosts`, um neue Gruppen/Hosts hinzuzufügen). +> Manche Unterbefehle wie `galaxy` sind separat dokumentiert. +> Weitere Informationen: . -- Hosts auflisten, die zu einer Gruppe gehören: +- Liste Hosts auf, die zu einer Gruppe gehören: -`ansible {{Gruppe}} --list-hosts` +`ansible {{gruppe}} --list-hosts` -- Pingen Sie eine Gruppe von Hosts an, indem Sie das Ping-Modul aufrufen: +- Pinge eine Gruppe von Hosts an: -`mögliche {{Gruppe}} -m ping` +`ansible {{gruppe}} {{[-m|--module-name]}} ping` -- Zeigen Sie Fakten über eine Gruppe von Hosts an, indem Sie das Setup-Modul aufrufen: +- Zeige Informationen über eine Gruppe von Hosts an: -`mögliche {{Gruppe}} -m setup` +`ansible {{gruppe}} {{[-m|--module-name]}} setup` -- Führen Sie einen Befehl auf einer Gruppe von Hosts aus, indem Sie das Command-Modul mit Argumenten aufrufen: +- Führe einen Befehl auf einer Gruppe von Hosts aus: -`mögliche {{Gruppe}} -m command -a '{{mein_command}}'` +`ansible {{gruppe}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{befehl}}'` -- Führen Sie einen Befehl mit administrativen Privilegien aus: +- Führe einen Befehl mit administrativen Privilegien aus: -`möglich {{Gruppe}} --become --ask-become-pass -m command -a '{{mein_command}}'` +`ansible {{gruppe}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{befehl}}'` -- Führen Sie einen Befehl mit einer benutzerdefinierten Inventardatei aus: +- Führe einen Befehl mit einer benutzerdefinierten Inventardatei aus: -`möglich {{Gruppe}} -i {{Inventardatei}} -m command -a '{{mein_command}}'` +`ansible {{Gruppe}} {{[-i|--inventory]}} {{inventardatei}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{befehl}}'` + +- Liste alle Gruppen eines Inventars auf: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.de/common/ansiweather.md b/pages.de/common/ansiweather.md new file mode 100644 index 00000000000000..be367761dbaa9f --- /dev/null +++ b/pages.de/common/ansiweather.md @@ -0,0 +1,16 @@ +# ansiweather + +> Ein Shell-Skript um die aktuellen Wetterbedingungen in einem Terminal anzuzeigen. +> Weitere Informationen: . + +- Zeige eine Vorhersage für die nächsten sieben Tage für Rzeszow, Polen in metrischen Einheiten an: + +`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}` + +- Zeige eine Vorhersage mit Symbolen und Tageslichtdaten für den aktuellen Standort an: + +`ansiweather -F -s true -d true` + +- Zeige eine Vorhersage mit Wind- und Luftfeuchtigkeitsdaten für den aktuellen Standort an: + +`ansiweather -w true -h true` diff --git a/pages.de/common/ant.md b/pages.de/common/ant.md new file mode 100644 index 00000000000000..00d0b175466876 --- /dev/null +++ b/pages.de/common/ant.md @@ -0,0 +1,25 @@ +# ant + +> Apache Ant. +> Tool zum Bauen und Verwalten von Projekten, die auf Java basieren. +> Weitere Informationen: . + +- Baue ein Projekt mit der Standard build-Datei `build.xml`: + +`ant` + +- Baue ein Projekt mit einer anderen build-Datei als `build.xml`: + +`ant -f {{buildfile.xml}}` + +- Zeige Informationen über mögliche targets für dieses Projekt: + +`ant -p` + +- Zeige Debugging-Informationen: + +`ant -d` + +- Führe alle targets aus, die nicht von fehlgeschlagenen targets abhängen: + +`ant -k` diff --git a/pages.de/common/apropos.md b/pages.de/common/apropos.md new file mode 100644 index 00000000000000..46201c2015a884 --- /dev/null +++ b/pages.de/common/apropos.md @@ -0,0 +1,16 @@ +# apropos + +> Durchsuche die Handbuchseiten nach Namen und Beschreibungen. +> Weitere Informationen: . + +- Suche nach einem Schlüsselwort mit einem regulären Ausdruck: + +`apropos {{regulären_ausdruck}}` + +- Suche ohne Beschränkung der Ausgabe auf die Terminal Breite: + +`apropos -l {{regulären_ausdruck}}` + +- Suche nach Seiten, die alle angegebenen Ausdrücke enthalten: + +`apropos {{regulären_ausdruck_1}} -a {{regulären_ausdruck_2}} -a {{regulären_ausdruck_3}}` diff --git a/pages.de/common/arp-scan.md b/pages.de/common/arp-scan.md new file mode 100644 index 00000000000000..8519875aa70024 --- /dev/null +++ b/pages.de/common/arp-scan.md @@ -0,0 +1,20 @@ +# arp-scan + +> ARP Pakete an Host (spezifiert mit IP Adresse oder Hostname) senden um das lokale Netzwerk zu scannen. +> Weitere Informationen: . + +- Scanne das lokale Netzwerk: + +`arp-scan {{[-l|--localnet]}}` + +- Scanne ein IP Netzwerk mit einer benutzerdefinierten Bitmaske: + +`arp-scan {{netzwerk_adresse}}/{{netzwerk_subnet}}` + +- Scanne ein IP Netzwerk innerhalb einer benutzerdefinierten Range: + +`arp-scan {{adresse_a}}-{{adresse_b}}` + +- Scanne ein IP Netzwerk mit einer benutzerdefinierten Netzmaske: + +`arp-scan {{adresse}}:{{netzwerkmaske}}` diff --git a/pages.de/common/arp.md b/pages.de/common/arp.md new file mode 100644 index 00000000000000..14f7d34b590b9f --- /dev/null +++ b/pages.de/common/arp.md @@ -0,0 +1,20 @@ +# arp + +> Den ARP Cache des Systems anzeigen und manipulieren. +> Weitere Informationen: . + +- Zeige die aktuelle ARP Tabelle an: + +`arp -a` + +- Leere den gesamten Cache: + +`sudo arp -a -d` + +- Lösche einen spezifischen Eintrag in der Tabelle: + +`arp -d {{addresse}}` + +- Erstelle einen Eintrag in der ARP Tabelle: + +`arp -s {{adresse}} {{mac_adresse}}` diff --git a/pages.de/common/arping.md b/pages.de/common/arping.md new file mode 100644 index 00000000000000..a12af8f8d1a404 --- /dev/null +++ b/pages.de/common/arping.md @@ -0,0 +1,29 @@ +# arping + +> Mit dem ARP Protokoll Hosts in einem Netzwerk entdecken und untersuchen. +> Nützlich für die Entdeckung von MAC-Adressen. +> Weitere Informationen: . + +- Pinge einen Host mit ARP Request Paketen: + +`arping {{host_adresse}}` + +- Pinge einen Host auf einem spezifizierten Interface: + +`arping -I {{interface}} {{host_adresse}}` + +- Pinge einen Host und höre nach der ersten Antwort auf: + +`arping -f {{host_adresse}}` + +- Pinge einen Host für eine bestimmte Anzahl: + +`arping -c {{anzahl}} {{host_adresse}}` + +- Broadcaste ARP Request Pakete um die ARP Caches der Nachbarn zu aktualisieren: + +`arping -U {{broadcast_adresse}}` + +- Sende ARP Requests mit einem 3 Sekunden Timeout um duplizierte IP-Adressen im Netzwerk zu erkennen: + +`arping -D -w {{3}} {{adresse_zum_checken}}` diff --git a/pages.de/common/asdf.md b/pages.de/common/asdf.md new file mode 100644 index 00000000000000..9b92d5a41fe8aa --- /dev/null +++ b/pages.de/common/asdf.md @@ -0,0 +1,29 @@ +# asdf + +> Verwalte installierte Versionen von verschiedenen Paketen. +> Plugins (z.B. asdf-node) werden für spezifische Pakete verwendet. +> Weitere Informationen: . + +- Liste alle verfügbaren Plugins auf: + +`asdf plugin list all` + +- Installiere ein neues Plugin: + +`asdf plugin add {{name}}` + +- Liste alle verfügbaren Versionen für ein Paket auf: + +`asdf list all {{name}}` + +- Installiere eine spezifische Version eines Pakets: + +`asdf install {{name}} {{version}}` + +- Lege die globale Version für ein Paket fest: + +`asdf set -u {{name}} {{version}}` + +- Lege die lokale Version für ein Paket fest: + +`asdf set {{name}} {{version}}` diff --git a/pages.de/common/aspell.md b/pages.de/common/aspell.md new file mode 100644 index 00000000000000..97b5614bda1b41 --- /dev/null +++ b/pages.de/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> Interaktiver Korrekturleser. +> Weitere Informationen: . + +- Überprüfe eine einzelne Datei auf Fehler: + +`aspell check {{pfad/zu/datei}}` + +- Liste falsch geschriebene Worte von Standard Input: + +`cat {{file}} | aspell list` + +- Zeige verfügbare Wörterbuchsprachen: + +`aspell dicts` + +- Nutze `aspell` mit einem anderen Wörterbuch (nimmt 2-Zeichen-Locale laut ISO 639 Sprach Code): + +`aspell --lang={{cs}}` + +- Zeige alle falsch geschriebenen Wörter von Standard Input und ignoriere alle Wörter in einer persönlichen Wortliste: + +`cat {{file}} | aspell --personal={{persönliche-wort-liste.pws}} list` diff --git a/pages.de/common/atom.md b/pages.de/common/atom.md new file mode 100644 index 00000000000000..bc3affdd65e5b5 --- /dev/null +++ b/pages.de/common/atom.md @@ -0,0 +1,29 @@ +# atom + +> Ein plattformübergreifender erweiterbarer Texteditor. +> Erweiterungen werden durch `apm` verwaltet. +> Weitere Informationen: . + +- Öffne eine Datei oder ein Verzeichnis: + +`atom {{pfad/zu/datei_oder_verzeichnis}}` + +- Öffne eine Datei oder ein Verzeichnis in einem neuen Fenster: + +`atom -n {{pfad/zu/datei_oder_verzeichnis}}` + +- Öffne eine Datei oder ein Verzeichnis in einem vorhandenen Fenster: + +`atom --add {{pfad/zu/datei_oder_verzeichnis}}` + +- Starte Atom im sicheren Modus (Es werden keine zusätzlichen Pakete geladen): + +`atom --safe` + +- Verhindert, dass sich Atom in den Hintergrund absetzt und hält es mit dem Terminal verbunden: + +`atom --foreground` + +- Wartet, bis Atom geschlossen wurde, bevor die Eingabeaufforderung wieder aktiv wird (Nützlich als `git commit` Editor): + +`atom --wait` diff --git a/pages.de/common/avrdude.md b/pages.de/common/avrdude.md new file mode 100644 index 00000000000000..3a15b66901f7f7 --- /dev/null +++ b/pages.de/common/avrdude.md @@ -0,0 +1,20 @@ +# avrdude + +> Treiberprogramm für Atmel AVR Mikrocontroller-Programmierung. +> Weitere Informationen: . + +- Schreibt den Speicherinhalt eines AVR-Mikrocontrollers in eine Datei: + +`avrdude -p {{avr_gerät}} -c {{programmer}} -U flash:r:{{pfad/zu/datei.hex}}:i` + +- Schreibt den Inhalt einer Datei in einen AVR-Mikrocontroller: + +`avrdude -p {{avr_gerät}} -c {{programmer}} -U flash:w:{{pfad/zu/datei.hex}}` + +- Liste alle verfügbaren AVR-Geräte auf: + +`avrdude -p \?` + +- Liste alle verfügbaren AVR-Programmer auf: + +`avrdude -c \?` diff --git a/pages.de/common/aws-backup.md b/pages.de/common/aws-backup.md new file mode 100644 index 00000000000000..c95296ad4299bd --- /dev/null +++ b/pages.de/common/aws-backup.md @@ -0,0 +1,24 @@ +# aws backup + +> Einheitliches Backup-Service zum Schutz der Amazon Web Services und der damit verbundenen Daten. +> Weitere Informationen: . + +- Gib Backup-Plan-Details für eine bestimmte Backup-Plan-ID aus: + +`aws backup get-backup-plan --backup-plan-id {{id}}` + +- Erstelle einen Backup-Plan unter Verwendung eines bestimmten Backup-Plan-Namens und von Backup-Regeln: + +`aws backup create-backup-plan --backup-plan {{plan}}` + +- Lösche einen bestimmten Backup-Plan: + +`aws backup delete-backup-plan --backup-plan-id {{id}}` + +- Gib eine Liste aller aktiven Backup-Pläne für das aktuelle Konto aus: + +`aws backup list-backup-plans` + +- Zeige Details über die Report-Aufträge an: + +`aws backup list-report-jobs` diff --git a/pages.de/common/aws-codecommit.md b/pages.de/common/aws-codecommit.md new file mode 100644 index 00000000000000..24ef7e4ff6fdb2 --- /dev/null +++ b/pages.de/common/aws-codecommit.md @@ -0,0 +1,12 @@ +# aws codecommit + +> AWS CodeCommit ist ein verwalteter Versionskontrolldienst, der private Git Repositories hostet. +> Weitere Informationen: . + +- Zeige Hilfe an: + +`aws codecommit help` + +- Zeige Hilfe für einen bestimmten Befehl an: + +`aws codecommit {{befehl}} help` diff --git a/pages.de/common/aws-cognito-idp.md b/pages.de/common/aws-cognito-idp.md new file mode 100644 index 00000000000000..d0e108b7ce4646 --- /dev/null +++ b/pages.de/common/aws-cognito-idp.md @@ -0,0 +1,28 @@ +# aws cognito-idp + +> Verwalten des Amazon Cognito-Benutzerpools, seiner Benutzer und Gruppen mit der CLI. +> Weitere Informationen: . + +- Erstelle einen neuen Cognito-Benutzerpool: + +`aws cognito-idp create-user-pool --pool-name {{name}}` + +- Liste alle Bentzerpools auf: + +`aws cognito-idp list-user-pools --max-results {{10}}` + +- Lösche einen bestimmten Benutzerpool: + +`aws cognito-idp delete-user-pool --user-pool-id {{benutzerpool_id}}` + +- Erstelle einen Benutzer in einem bestimmten Pool: + +`aws cognito-idp admin-create-user --username {{benutzer}} --user-pool-id {{benutzerpool_id}}` + +- Liste die Benutzer eines bestimmten Pool auf: + +`aws cognito-idp list-users --user-pool-id {{benutzerpool_id}}` + +- Lösche einen Benutzer aus einem bestimmten Pool: + +`aws cognito-idp admin-delete-user --username {{benutzer}} --user-pool-id {{benutzerpool_id}}` diff --git a/pages.de/common/aws-ec2.md b/pages.de/common/aws-ec2.md index 69933b896b38ee..7946c14002fa74 100644 --- a/pages.de/common/aws-ec2.md +++ b/pages.de/common/aws-ec2.md @@ -1,37 +1,37 @@ # aws ec2 -> Kommandozeilen Werkzeug für AWS EC2. -> AWS EC2 stellt eine sichere und skalierbare Einheit in der AWS Cloud zur Verfügung um ein schnelleres Entwickeln und Ausrollen von Software zu ermöglichen. -> Mehr Informationen: . +> CLI für AWS EC2. +> AWS EC2 stellt eine sichere und skalierbare Einheit in der AWS Cloud zur Verfügung, um ein schnelleres Entwickeln und Ausrollen von Software zu ermöglichen. +> Weitere Informationen: . -- Auflistung aller verfügbaren EC2 Kommandos: +- Liste Informationen zu einer bestimmten Instanz auf: -`aws ec2 help` +`aws ec2 describe-instances --instance-ids {{instanz_id}}` -- Anzeigen einer Hilfe für bestimmte EC2 Unter-Kommandos: +- Liste Informationen zu allen Instanzen auf: -`aws ec2 {{subcommand}} help` +`aws ec2 describe-instances` -- Auflistung von Informationen zu einer bestimmten Instanz: +- Liste Informationen zu allen EC2 Volumen auf: -`aws ec2 describe-instances --instance-ids {{instance_id}}` +`aws ec2 describe-volumes` -- Auflistung von Informationen zu allen Instanzen: +- Lösche ein EC2 Volumen: -`aws ec2 describe-instances` +`aws ec2 delete-volume --volume-id {{volumen_id}}` -- Auflistung von Informationen zu allen EC2 Volumen: +- Erstelle einen Snapshot basierend auf einem EC2 Volumen: -`aws ec2 describe-volumes` +`aws ec2 create-snapshot --volume-id {{volumen_id}}` -- Auflistung von Informationen zu einem einzigen EC2 Volumen: +- Liste alle verfügbaren AMIs (Amazon Machine Images) auf: -`aws ec2 delete-volume --volume-id {{volume_id}}` +`aws ec2 describe-images` -- Erstellung eines Snapshots basierend auf einem EC2 Volumen: +- Liste alle verfügbaren EC2 Befehle auf: -`aws ec2 create-snapshot --volume-id {{volume_id}}` +`aws ec2 help` -- Auflistung aller verfügbaren AMIs (Amazon Machine Images): +- Zeige Hilfe für bestimmte EC2 Unterbefehle an: -`aws ec2 describe-images` +`aws ec2 {{unterbefehl}} help` diff --git a/pages.de/common/aws-google-auth.md b/pages.de/common/aws-google-auth.md index f90652c5a5c753..6f20d99da7c9b9 100644 --- a/pages.de/common/aws-google-auth.md +++ b/pages.de/common/aws-google-auth.md @@ -1,20 +1,20 @@ # aws-google-auth -> Kommandozeilen Werkzeug um temporäre AWS credentials (STS) über Google Apps als Single Sign-On Dienstleister zu erhalten. -> Mehr Informationen: . +> CLI, um temporäre AWS credentials (STS) über Google Apps als Single Sign-On Dienstleister zu erhalten. +> Weitere Informationen: . - Einloggen mit Google SSO über IDP- und SP-Kennung für die Dauer einer Stunde: -`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}` +`aws-google-auth -u {{beispiel@beispiel.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}` -- Einloggen mit der Option eine Rolle auszuwählen (im Falle mehrerer verfügbarer SAML Rollen): +- Einloggen mit der Option eine Rolle auszuwählen (im Falle mehrerer verfügbarer SAML Rollen): -`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a` +`aws-google-auth -u {{beispiel@beispiel.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a` -- Auflösen von Aliases von AWS Accounts: +- Löse Aliasse von AWS Accounts auf: -`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases` +`aws-google-auth -u {{beispiel@beispiel.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases` -- Anzeigen von Hilfs-Informationen: +- Zeige Hilfs-Informationen: `aws-google-auth -h` diff --git a/pages.de/common/aws-iam.md b/pages.de/common/aws-iam.md index 285e7656902214..e16cf825df347b 100644 --- a/pages.de/common/aws-iam.md +++ b/pages.de/common/aws-iam.md @@ -1,36 +1,36 @@ # aws iam -> Kommandozeilen Werkzeug für AWS IAM. -> Mehr Informationen: . +> CLI für AWS IAM. +> Weitere Informationen: . -- Zeige die AWS IAM Hilfe Seite (beinhaltet auch Hinweise für alle Unter-Kommandos): - -`aws iam help` - -- Auflistung aller Benutzer: +- Liste aller Benutzer auf: `aws iam list-users` -- Auflistung aller Richtlinien: +- Liste aller Richtlinien auf: `aws iam list-policies` -- Auflistung aller Gruppen: +- Liste aller Gruppen auf: `aws iam list-groups` -- Auflistung aller Benutzer zu einer Gruppe: +- Liste aller Benutzer zu einer Gruppe auf: -`aws iam get-group --group-name {{group_name}}` +`aws iam get-group --group-name {{gruppe}}` -- Detail-Auflistung einer IAM Richtlinie: +- Liste einer IAM Richtlinie detailliert auf: -`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{policy_name}}` +`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{richtlinie}}` -- Auflistung aller Zugriffsschlüssel: +- Liste alle Zugriffsschlüssel auf: `aws iam list-access-keys` -- Auflistung der Zugriffsschlüssel für einen Benutzer: +- Liste alle Zugriffsschlüssel für einen Benutzer auf: -`aws iam list-access-keys --user-name {{user_name}}` +`aws iam list-access-keys --user-name {{benutzername}}` + +- Zeige die AWS IAM Hilfeseite (beinhaltet auch Hinweise für alle Unterbefehle): + +`aws iam help` diff --git a/pages.de/common/aws-kinesis.md b/pages.de/common/aws-kinesis.md index a4123544425095..eaccacdc011b42 100644 --- a/pages.de/common/aws-kinesis.md +++ b/pages.de/common/aws-kinesis.md @@ -1,28 +1,28 @@ # aws kinesis -> Offizielles AWS Kommandozeilen Werkzeug für die Amazon Kinesis-Streaming-Datenplattform. -> Mehr Informationen: . +> Offizielles AWS CLI für die Amazon Kinesis-Streaming-Datenplattform. +> Weitere Informationen: . -- Auflistung aller Streams: +- Liste alle Streams auf: `aws kinesis list-streams` -- Schreiben eines Datensatzes in einen Kinesis Stream: +- Schreibe einen Datensatz in einen Kinesis Stream: -`aws kinesis put-record --stream-name {{name}} --partition-key {{key}} --data {{base64_encoded_message}}` +`aws kinesis put-record --stream-name {{name}} --partition-key {{schlüssel}} --data {{base64_codierte_nachricht}}` -- Schreiben eines Datensatzes in einen Kinesis Stream mit bas64 inline Encodierung: +- Schreibe einen Datensatz in einen Kinesis Stream mit base64 inline Encodierung: -`aws kinesis put-record --stream-name {{name}} --partition-key {{key}} --data "$( echo "{{my raw message}}" | base64 )"` +`aws kinesis put-record --stream-name {{name}} --partition-key {{schlüssel}} --data "$( echo "{{meine nachricht}}" | base64 )"` -- Auflistung aller verfügbaren Shards in einem Stream: +- Liste alle verfügbaren Shards in einem Stream auf: `aws kinesis list-shards --stream-name {{name}}` -- Abrufen eines Shard Iterators um diesen beginnend mit der ältesten Nachricht auszulesen: +- Rufe einen Shard Iterators auf, um diesen beginnend mit der ältesten Nachricht auszulesen: `aws kinesis get-shard-iterator --shard-iterator-type TRIM_HORIZON --stream-name {{name}} --shard-id {{id}}` -- Lesen eines Datensatzes ovn einem Shard über einen Shard Iterator: +- Lies einen Datensatz aus einem Shard über einen Shard Iterator: `aws kinesis get-records --shard-iterator {{iterator}}` diff --git a/pages.de/common/aws-quicksight.md b/pages.de/common/aws-quicksight.md index 22a061ed375798..3d30ed3f7831e8 100644 --- a/pages.de/common/aws-quicksight.md +++ b/pages.de/common/aws-quicksight.md @@ -1,28 +1,28 @@ # aws quicksight -> Kommandozeilen Werkzeug für AWS QuickSight. -> Mehr Informationen: . +> CLI für AWS QuickSight. +> Weitere Informationen: . -- Auflistung aller Datensätze: +- Liste alle Datensätze auf: `aws quicksight list-data-sets --aws-account-id {{aws_account_id}}` -- Auflistung aller Benutzer: +- Liste alle Benutzer auf: `aws quicksight list-users --aws-account-id {{aws_account_id}} --namespace default` -- Auflistung aller Gruppen: +- Liste alle Gruppen auf: `aws quicksight list-groups --aws-account-id {{aws_account_id}} --namespace default` -- Auflistung aller Dashboards: +- Liste alle Dashboards auf: `aws quicksight list-dashboards --aws-account-id {{aws_account_id}}` -- Detail-Auflistung eines Datensatzes: +- Liste einen Datensatz detailliert aus: -`aws quicksight describe-data-set --aws-account-id {{aws_account_id}} --data-set-id {{data_set_id}}` +`aws quicksight describe-data-set --aws-account-id {{aws_account_id}} --data-set-id {{datensatz_id}}` -- Auflistung der Zugängsberechtungen zu einem Datensatz: +- Liste Zugangsberechtigungen zu einem Datensatz auf: -`aws quicksight describe-data-set-permissions --aws-account-id {{aws_account_id}} --data-set-id {{data_set_id}}` +`aws quicksight describe-data-set-permissions --aws-account-id {{aws_account_id}} --data-set-id {{datensatz_id}}` diff --git a/pages.de/common/aws-s3.md b/pages.de/common/aws-s3.md index 180fbf3080e053..f3f66e9846a3b9 100644 --- a/pages.de/common/aws-s3.md +++ b/pages.de/common/aws-s3.md @@ -1,28 +1,28 @@ # aws s3 -> Kommandozeilen Werkzeug für AWS S3. AWS S3 stellt Speicherplatz in der Cloud zur Verfügung. -> Mehr Informationen: . +> CLI für AWS S3. AWS S3 stellt Speicherplatz in der Cloud zur Verfügung. +> Weitere Informationen: . -- Auflistung aller Objekte in einem Bucket: +- Liste alle Objekte in einem Bucket auf: `aws s3 ls {{bucket_name}}` -- Synchronisieren von Dateien und Verzeichnissen zu einem Bucket: +- Synchronisiere Dateien und Verzeichnissen zu einem Bucket: -`aws s3 sync {{path/to/files}} s3://{{bucket_name}}` +`aws s3 sync {{pfad/zu/datei_oder_verzeichnis}} s3://{{bucket_name}}` -- Synchronisieren von Dateien und Verzeichnissen von einem Bucket: +- Synchronisiere Dateien und Verzeichnissen von einem Bucket: -`aws s3 sync s3://{{bucket_name}} {{path/to/target}}` +`aws s3 sync s3://{{bucket_name}} {{pfad/zu/ziel}}` -- Synchronisieren von Dateien und Verzeichnissen mit Ausnahmen: +- Synchronisiere Dateien und Verzeichnissen mit Ausnahmen: -`aws s3 sync {{path/to/files}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*` +`aws s3 sync {{pfad/zu/datei_oder_verzeichnis}} s3://{{bucket_name}} --exclude {{pfad/zu/datei}} --exclude {{pfad/zu/verzeichnis}}/*` -- Entfernen eines Objektes von einem Bucket: +- Entferne ein Objekt von einem Bucket: -`aws s3 rm s3://{{bucket}}/{{path/to/file}}` +`aws s3 rm s3://{{bucket}}/{{pfad/zu/datei}}` -- Probelauf eines angegeben Kommandos ohne diesen auszuführen: +- Probelauf eines angegebenen Kommandos ohne dieses auszuführen: -`aws s3 {{any_command}} --dryrun` +`aws s3 {{befehl}} --dryrun` diff --git a/pages.de/common/aws-vault.md b/pages.de/common/aws-vault.md index fc7f8e0fd397ef..2f35b7c1a85efa 100644 --- a/pages.de/common/aws-vault.md +++ b/pages.de/common/aws-vault.md @@ -1,28 +1,28 @@ # aws-vault -> Ein Tresor für Entwicklungsumgebungen um AWS Sicherheitsschlüssel sicher speichern und abrufen zu können. -> Mehr Informationen: . +> Ein Tresor für Entwicklungsumgebungen, um AWS Sicherheitsschlüssel sicher speichern und abrufen zu können. +> Weitere Informationen: . -- Sicherheitsschlüssel als Profil zu einem Tresor hinzufügen: +- Füge einen Sicherheitsschlüssel als Profil zu einem Tresor hinzu: -`aws-vault add {{profile}}` +`aws-vault add {{profil}}` -- Ausführen eines Kommandos mit AWS Sicherheitsschlüsseln aus dem angegebenen Profil: +- Führe einen Befehl mit AWS Sicherheitsschlüsseln aus dem angegebenen Profil aus: -`aws-vault exec {{profile}} -- {{aws s3 ls}}` +`aws-vault exec {{profil}} -- {{aws s3 ls}}` -- Öffnen eines Browser Fensters für den Login in die AWS Konsole: +- Öffne ein Browserfenster für den Login in die AWS Konsole: -`aws-vault login {{profile}}` +`aws-vault login {{profil}}` -- Auflistung aller Profile zusammen mit deren Sicherheitsschlüsseln und Sitzungen: +- Liste alle Profile zusammen mit deren Sicherheitsschlüsseln und Sitzungen auf: `aws-vault list` -- Rotierung der AWS Sicherheitsschlüssel für ein Profil: +- Rotiere die AWS Sicherheitsschlüssel für ein Profil: -`aws-vault rotate {{profile}}` +`aws-vault rotate {{profil}}` -- Entfernen von Sicherheitsschlüsseln eines Profils aus dem Tresor: +- Entferne Sicherheitsschlüsseln eines Profils aus dem Tresor: -`aws-vault remove {{profile}}` +`aws-vault remove {{profil}}` diff --git a/pages.de/common/aws.md b/pages.de/common/aws.md index 0a718322845a3a..441d8d578d2c9a 100644 --- a/pages.de/common/aws.md +++ b/pages.de/common/aws.md @@ -1,37 +1,37 @@ # aws -> Das offiziellen Kommandozeilen Werkzeug für Amazon Web Services. -> Ausführungssassistent, SSO, Autovervollständigung von Ressourcen sowie YAML Optionen sind nur unter Version v2 verfügbar. -> Mehr Informationen: . +> Das offizielle CLI für Amazon Web Services. +> Manche Unterbefehle wie `s3` sind separat dokumentiert. +> Weitere Informationen: . -- Konfigurieren der AWS Kommandozeile: +- Konfiguriere die AWS Kommandozeile: `aws configure wizard` -- Konfigurieren der AWS Kommandozeile mit Hilfe von SSO: +- Konfiguriere die AWS Kommandozeile mithilfe von SSO: `aws configure sso` -- Anzeigen der Hilfe für ein Kommando: - -`aws {{command}} help` - -- Detail-Auflistung der eigenen angenommen Identität (häufig benutzt für die Fehlersuche): +- Zeige Informationen über die eigene angenommene Identität (häufig benutzt zur Fehlersuche): `aws sts get-caller-identity` -- Auflistung aller AWS Ressourcen in einer Region mit YAML Formatierung: +- Liste alle AWS Ressourcen in einer Region mit YAML Formatierung auf: `aws dynamodb list-tables --region {{us-east-1}} --output yaml` -- Erstellen eines IAM Benutzers mit Ausführungsassistent: +- Erstelle einen IAM Benutzer mit Ausführungsassistent: `aws iam create-user --cli-auto-prompt` -- Öffnen eines Assitenten für eine AWS Ressource: +- Öffne einen Assistenten für eine AWS Ressource: -`aws dynamodb wizard {{new-table}}` +`aws dynamodb wizard {{neue_tabelle}}` -- Erstellung eines JSON Kommandozeilen-Aufbaus (hilfreich für Infrastruktur Automation): +- Erstelle einen JSON CLI-Aufbau (hilfreich für Infrastruktur-Automation): `aws dynamodb update-table --generate-cli-skeleton` + +- Zeige Hilfe für ein Kommando an: + +`aws {{befehl}} help` diff --git a/pages.de/common/awslogs.md b/pages.de/common/awslogs.md index f2cae6a9ccec08..dab042cfd228c4 100644 --- a/pages.de/common/awslogs.md +++ b/pages.de/common/awslogs.md @@ -1,24 +1,24 @@ # awslogs -> Kommandozeilen Werkzeug um Log Gruppen, Streams und Events von Amazon Cloudwatch Logs abzurufen: -> Mehr Informationen: . +> CLI um Log-Gruppen, Streams und Events von Amazon CloudWatch Logs abzurufen. +> Weitere Informationen: . -- Auflisten aller Log Gruppen: +- Liste alle Log-Gruppen auf: `awslogs groups` -- Auflisten aller bestehenden Streams einer angegebenen Log Gruppe: +- Liste alle bestehenden Streams einer angegebenen Loggruppe auf: `awslogs streams {{/var/log/syslog}}` -- Abrufen aller logs für jegliche Streams in der angegebenen Log Gruppe für die letzten 1 bis 2 Stunden: +- Rufe alle Logs für jegliche Streams in der angegebenen Log-Gruppe für die letzten 1 bis 2 Stunden ab: `awslogs get {{/var/log/syslog}} --start='{{2h ago}}' --end='{{1h ago}}'` -- Abrufen aller Logs für einen bestimmten Cloudwatch Logs Filter Ausdruck: +- Rufe alle Logs für einen bestimmten CloudWatch-Logs Filter-Ausdruck ab: -`awslogs get {{/aws/lambda/my_lambda_group}} --filter-pattern='{{ERROR}}'` +`awslogs get {{/aws/lambda/meine_lambda_gruppe}} --filter-pattern='{{ERROR}}'` -- Beobachten der Logs für jegliche Streams in der angegebenen Log Gruppe: +- Beobachte Logs für jegliche Streams in der angegebenen Log-Gruppe: `awslogs get {{/var/log/syslog}} ALL --watch` diff --git a/pages.de/common/az-config.md b/pages.de/common/az-config.md new file mode 100644 index 00000000000000..24db177fe9152c --- /dev/null +++ b/pages.de/common/az-config.md @@ -0,0 +1,21 @@ +# az config + +> Verwalten der Azure CLI-Konfiguration. +> Teil von `azure-cli` (auch bekannt als `az`). +> Weitere Informationen: . + +- Rufe alle Konfigurationen ab: + +`az config get` + +- Rufe alle Konfigurationen in einer Sektion ab: + +`az config get {{sektionsname}}` + +- Setze eine Konfiguration: + +`az config set {{konfigurationsname}}={{wert}}` + +- Hebe eine Konfiguration auf: + +`az config unset {{konfigurationsname}}` diff --git a/pages.de/common/az-login.md b/pages.de/common/az-login.md new file mode 100644 index 00000000000000..aba174280e6aa4 --- /dev/null +++ b/pages.de/common/az-login.md @@ -0,0 +1,25 @@ +# az login + +> Melden Sie sich bei Azure an. +> Teil von `azure-cli` (auch bekannt als `az`). +> Weitere Informationen: . + +- Melden Sie sich interaktiv an: + +`az login` + +- Melden Sie sich mit einem Dienstprinzipal mit dem geheimen Clientschlüssel an: + +`az login --service-principal --username {{http://azure-cli-service-principal}} --password {{secret}} --tenant {{someone.onmicrosoft.com}}` + +- Melden Sie sich mit einem Dienstprinzipal mithilfe des Clientzertifikats an: + +`az login --service-principal --username {{http://azure-cli-service-principal}} --password {{path/to/cert.pem}} --tenant {{someone.onmicrosoft.com}}` + +- Melden Sie sich mit der vom System zugewiesenen verwalteten Identität eines virtuellen Computers an: + +`az login --identity` + +- Melden Sie sich mit der vom Benutzer zugewiesenen verwalteten Identität eines virtuellen Computers an: + +`az login --identity --username /subscriptions/{{subscription_id}}/resourcegroups/{{my_rg}}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{{my_id}}` diff --git a/pages.de/common/az-logout.md b/pages.de/common/az-logout.md new file mode 100644 index 00000000000000..a538a76f86042e --- /dev/null +++ b/pages.de/common/az-logout.md @@ -0,0 +1,13 @@ +# az logout + +> Von Azure-Abonnements abmelden. +> Teil von `azure-cli` (auch bekannt als `az`). +> Weitere Informationen: . + +- Melde das aktuelle aktive Konto ab: + +`az logout` + +- Melde einen spezifischen Benutzernamen ab: + +`az logout --username {{alias@somedomain.com}}` diff --git a/pages.de/common/babeld.md b/pages.de/common/babeld.md new file mode 100644 index 00000000000000..c359ad2a1b9d78 --- /dev/null +++ b/pages.de/common/babeld.md @@ -0,0 +1,24 @@ +# babeld + +> Routing-Daemon für Babel, der Firewall-ähnliche Filter benutzt. +> Weitere Informationen: . + +- Starte `babeld` mit einer bestimmten Konfigurationsdatei: + +`babeld -c {{pfad/zu/babeld.conf}}` + +- Starte `babeld` mit mehreren Konfigurationsdateien (in der Reihenfolge des Einlesens): + +`babeld -c {{pfad/zu/ports.conf}} -c {{pfad/zu/filters.conf}} -c {{pfad/zu/interfaces.conf}}` + +- Starte `babeld` als Daemon: + +`babeld -D` + +- Starte `babeld` und übergib einen Konfigurationsbefehl: + +`babeld -C {{'redistribute metric 256'}}` + +- Starte `babeld` und gib an, auf welchen Schnittstellen gearbeitet werden soll: + +`babeld {{eth0}} {{eth1}} {{wlan0}}` diff --git a/pages.de/common/base32.md b/pages.de/common/base32.md new file mode 100644 index 00000000000000..51aea1100ed303 --- /dev/null +++ b/pages.de/common/base32.md @@ -0,0 +1,24 @@ +# base32 + +> Kodieren oder Dekodieren von Dateien oder Standardeingaben in/aus Base32, zur Standardausgabe. +> Weitere Informationen: . + +- Kodiere den Inhalt einer Datei als base32 und schreibe das Ergebnis nach `stdout`: + +`base32 {{pfad/zu/datei}}` + +- Wikkel gecodeerde uitvoer in op een specifieke breedte (`0` schakelt inpakken uit): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{pfad/zu/datei}}` + +- Dekodiere den Inhalt einer Datei als base32 und schreibe das Ergebnis nach `stdout`: + +`base32 {{[-d|--decode]}} {{pfad/zu/datei}}` + +- Kodiere von `stdin`: + +`{{befehl}} | base32` + +- Dekodiere von `stdin`: + +`{{befehl}} | base32 {{[-d|--decode]}}` diff --git a/pages.de/common/base64.md b/pages.de/common/base64.md new file mode 100644 index 00000000000000..f3559744cfd9fd --- /dev/null +++ b/pages.de/common/base64.md @@ -0,0 +1,24 @@ +# base64 + +> Kodieren oder Dekodieren von Dateien oder Standardeingaben in/aus Base64, zur Standardausgabe. +> Weitere Informationen: . + +- Kodiere den Inhalt einer Datei als base64 und schreibe das Ergebnis nach `stdout`: + +`base64 {{pfad/zu/datei}}` + +- Wikkel gecodeerde uitvoer in op een specifieke breedte (`0` schakelt inpakken uit): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{pfad/zu/datei}}` + +- Dekodiere den Inhalt einer Datei als base64 und schreibe das Ergebnis nach `stdout`: + +`base64 {{[-d|--decode]}} {{pfad/zu/datei}}` + +- Kodiere von `stdin`: + +`{{befehl}} | base64` + +- Dekodiere von `stdin`: + +`{{befehl}} | base64 {{[-d|--decode]}}` diff --git a/pages.de/common/basename.md b/pages.de/common/basename.md index 166081b17f08a1..d44b2b03a32a0d 100644 --- a/pages.de/common/basename.md +++ b/pages.de/common/basename.md @@ -1,6 +1,7 @@ # basename > Entfernt führende Verzeichniskomponenten in einem Pfad. +> Weitere Informationen: . - Ermittle den Dateinamen in einem Pfad: diff --git a/pages.de/common/bash.md b/pages.de/common/bash.md index 758093833e8b0c..dbc2bb7434b7a2 100644 --- a/pages.de/common/bash.md +++ b/pages.de/common/bash.md @@ -2,7 +2,7 @@ > Bourne-Again SHell. > `sh`-kompatibler Kommandozeilen-Interpreter. -> Mehr Informationen: . +> Weitere Informationen: . - Interaktive Shell starten: @@ -12,22 +12,22 @@ `bash -c "{{befehl}}"` -- Befehle aus einer Datei ausführen: +- Führe Befehle aus einer Datei aus: -`bash {{datei.sh}}` +`bash {{pfad/zu/datei.sh}}` -- Ausführen von Befehlen aus einer Datei, Protokollierung aller ausgeführten Befehle an das Terminal: +- Führe Befehle aus einer Datei aus und protokolliere alle ausgeführten Befehle an das Terminal: -`bash -x {{datei.sh}}` +`bash -x {{pfad/zu/datei.sh}}` -- Führe Befehle aus einer Datei aus und stoppen Sie beim ersten Fehler: +- Führe Befehle aus einer Datei aus und stoppe beim ersten Fehler: -`bash -e {{datei.sh}}` +`bash -e {{pfad/zu/datei.sh}}` -- Befehle von `stdin` ausführen: +- Führe Befehle von `stdin` aus: `bash -s` -- Drucke die Versionsinformationen der bash aus (verwende `echo $BASH_VERSION`, um nur die Versionszeichenkette anzuzeigen): +- Gib die Version von Bash aus (verwende `echo $BASH_VERSION`, um nur die Versionszeichenkette anzuzeigen): `bash --version` diff --git a/pages.de/common/bat.md b/pages.de/common/bat.md index 67fabefa388e7b..1e6d64e30eb7b6 100644 --- a/pages.de/common/bat.md +++ b/pages.de/common/bat.md @@ -2,27 +2,28 @@ > Ausgabe und Verkettung von einzelnen Dateien. > Ein `cat`-Ersatz mit Syntax-Hervorhebung und Git-Integration. +> Weitere Informationen: . -- Gebe den Inhalt einer Datei in der Standardausgabe aus: +- Gib den Inhalt einer Datei in `stdout` aus: -`bat {{datei}}` +`bat {{pfad/zu/datei}}` -- Verkette mehrere Dateien in eine Zieldatei: +- Verkette mehrere Dateien zu einer Zieldatei: -`bat {{datei1}} {{datei2}} > {{ziel_datei}}` +`bat {{pfad/zu/datei1}} {{pfad/zu/datei2}} > {{pfad/zu/ziel_datei}}` - Hänge mehrere Dateien an eine Zieldatei an: -`bat {{datei1}} {{datei2}} >> {{ziel_datei}}` +`bat {{pfad/zu/datei1}} {{pfad/zu/datei2}} >> {{pfad/zu/ziel_datei}}` - Nummeriere alle ausgegebenen Zeilen: -`bat -n {{datei}}` +`bat {{[-n|--number]}} {{pfad/zu/datei}}` -- Syntax-Hervorhebung für eine json Datei: +- Hebe die Syntax einer JSON-Datei hervor: -`bat --language json {{datei.json}}` +`bat {{[-l|--language]}} json {{pfad/zu/datei.json}}` -- Zeige alle unterstüten Sprachen an: +- Zeige alle unterstützten Sprachen an: -`bat --list-languages` +`bat {{[-L|--list-languages]}}` diff --git a/pages.de/common/bgpgrep.md b/pages.de/common/bgpgrep.md new file mode 100644 index 00000000000000..d26edfb24847b5 --- /dev/null +++ b/pages.de/common/bgpgrep.md @@ -0,0 +1,29 @@ +# bgpgrep + +> Filtert und gibt BGP-Daten in einem MRT-Dump aus. +> Kann mit gzip, bzip2 und xz komprimierte Dateien lesen. +> Weitere Informationen: . + +- Gib alle Routen aus: + +`bgpgrep {{master6.mrt}}` + +- Gib alle von einem bestimmten Peer empfangenen Routen aus, bestimmt durch die AS-Nummer des Peers: + +`bgpgrep {{master4.mrt}} -peer {{64498}}` + +- Gib alle von einem bestimmten Peer empfangenen Routen aus, bestimmt durch die IP-Adresse des Peers: + +`bgpgrep {{master4.mrt.bz2}} -peer {{2001:db8:dead:cafe:acd::19e}}` + +- Gib alle Routen aus, die bestimmte ASNs in ihrem AS-Pfad haben: + +`bgpgrep {{master6.mrt.bz2}} -aspath '{{64498 64510}}'` + +- Gib Routen aus, die zu einer bestimmten Adresse führen: + +`bgpgrep {{master6.mrt.bz2}} -supernet '{{2001:db8:dead:cafe:aef::5}}'` + +- Gib alle Routen aus, die Communities von einem bestimmten AS haben: + +`bgpgrep {{master4.mrt}} -communities \( '{{64497}}:*' \)` diff --git a/pages.de/common/bird.md b/pages.de/common/bird.md new file mode 100644 index 00000000000000..fd808b203fa3d4 --- /dev/null +++ b/pages.de/common/bird.md @@ -0,0 +1,13 @@ +# bird + +> BIRD Internet Routing Daemon. +> Routing-Daemon mit Unterstützung für BGP, OSPF, Babel und weitere. +> Weitere Informationen: . + +- Starte `bird` mit einer bestimmten Konfigurationsdatei: + +`bird -c {{pfad/zu/bird.conf}}` + +- Starte `bird` als spezifischer Benutzer und Gruppe: + +`bird -u {{benutzername}} -g {{gruppe}}` diff --git a/pages.de/common/birdc.md b/pages.de/common/birdc.md new file mode 100644 index 00000000000000..1e584f80eb7134 --- /dev/null +++ b/pages.de/common/birdc.md @@ -0,0 +1,37 @@ +# birdc + +> Bird remote control. +> Kommandozeilenwerkzeug zum Abrufen von Informationen wie Routen von bird und zur Durchführung von Konfigurationen während der Laufzeit. +> Weitere Informationen: . + +- Öffne die remote control Konsole: + +`birdc` + +- Lade die Konfiguration neu, ohne Bird neu zu starten: + +`birdc configure` + +- Zeige den aktuellen Status von Bird an: + +`birdc show status` + +- Zeige alle konfigurierten Protokolle an: + +`birdc show protocols` + +- Zeige alle Details zu einem Protokoll an: + +`birdc show protocols {{upstream1}} all` + +- Zeige alle Routen an, die eine bestimmte AS-Nummer enthalten: + +`birdc "show route where bgp_path ~ [{{4242120045}}]"` + +- Zeige alle besten Routen an: + +`birdc show route primary` + +- Zeige alle Details zu allen Routen von einem bestimmten Präfix an: + +`birdc show route for {{fd00:/8}} all` diff --git a/pages.de/common/borg.md b/pages.de/common/borg.md index 3b818d3cca9655..e2706642962d93 100644 --- a/pages.de/common/borg.md +++ b/pages.de/common/borg.md @@ -1,33 +1,33 @@ # borg > Deduplizierendes Sicherungswerkzeug. -> Erstellt lokale oder entfernte Sicherungen, die als Dateisysteme mountbar sind. -> Mehr Informationen: . +> Erstellt lokale oder entfernte Sicherungen, die als Dateisysteme einhängbar sind. +> Weitere Informationen: . -- Initialisiert ein (lokales) Repository: +- Initialisiere ein lokales Repository: -`borg init {{/pfad/zum/repo_verzeichnis}}` +`borg init {{pfad/zu/repo_verzeichnis}}` -- Sichern Sie ein Verzeichnis in das Repository und erstellen Sie ein Archiv mit dem Namen "Montag": +- Sichere ein Verzeichnis in das Repository und erstelle ein Archiv mit dem Namen "Montag": -`borg create --progress {{/pfad/zum/repo_verzeichnis}}::{{Montag}} {{/pfad/zum/quell_verzeichnis}}` +`borg create --progress {{pfad/zu/repo_verzeichnis}}::{{Montag}} {{pfad/zu/quell_verzeichnis}}` -- Alle Archive in einem Repository auflisten +- Liste alle Archive in einem Repository auf: -`borg list {{/pfad/zum/repo_verzeichnis}}` +`borg list {{pfad/zu/repo_verzeichnis}}` -- Extrahieren eines bestimmten Verzeichnisses aus dem "Monday"-Archiv in einem entfernten Repository, unter Ausschluss aller *.ext-Dateien: +- Extrahiere ein bestimmtes Verzeichnis aus dem "Montag"-Archiv in einem entfernten Repository, unter Ausschluss aller `*.ext`-Dateien: -`borg extract {{benutzer}}@{{host}}:{{/pfad/zum/repo_verzeichnis}}::{{Montag}} {{/pfad/zum/ziel_verzeichnis} --exclude '{{*.ext}}'` +`borg extract {{benutzer}}@{{host}}:{{pfad/zu/repo_verzeichnis}}::{{Montag}} {{pfad/zu/ziel_verzeichnis}} --exclude '{{*.ext}}'` -- Bereinigen Sie ein Repository, indem Sie alle Archive löschen, die älter als 7 Tage sind und Änderungen auflisten: +- Bereinige ein Repository, indem alle Archive gelöscht werden, die älter als 7 Tage sind und Änderungen aufweisen: -`borg prune --keep-within {{7d}} --list {{/pfad/zum/repo_verzeichnis}}` +`borg prune --keep-within {{7d}} --list {{pfad/zu/repo_verzeichnis}}` -- Mounten Sie ein Repository als FUSE-Dateisystem: +- Hänge ein Repository als FUSE-Dateisystem ein: -`borg mount {{/pfad/zum/repo_verzeichnis}}::{{Montag}} {{/pfad/zum/mountpoint}}` +`borg mount {{pfad/zu/repo_verzeichnis}}::{{Montag}} {{pfad/zu/mountpoint}}` -- Hilfe zur Erstellung von Archiven anzeigen: +- Zeige Hilfe zur Erstellung von Archiven an: `borg create --help` diff --git a/pages.de/common/brew-bundle.md b/pages.de/common/brew-bundle.md new file mode 100644 index 00000000000000..1baebb0de4374f --- /dev/null +++ b/pages.de/common/brew-bundle.md @@ -0,0 +1,28 @@ +# brew bundle + +> Bundler für Homebrew, Homebrew Cask und den Mac App Store. +> Weitere Informationen: . + +- Installiere Pakete aus einer Brewfile im aktuellen Pfad: + +`brew bundle` + +- Installiere Pakete aus einer bestimmten Brewfile: + +`brew bundle --file {{pfad/zu/brewfile}}` + +- Gib eine Liste mit allen installierten Paketen aus: + +`brew bundle dump` + +- Deinstalliere Pakete, die nicht in der Brewfile aufgelistet sind: + +`brew bundle cleanup --force` + +- Prüfe, ob von einem Paket die aktuellste Version installiert ist: + +`brew bundle check` + +- Zeige alle Pakete, die in der Brewfile aufgelistet sind: + +`brew bundle list --all` diff --git a/pages.de/common/caddy.md b/pages.de/common/caddy.md new file mode 100644 index 00000000000000..6c39e395709f1c --- /dev/null +++ b/pages.de/common/caddy.md @@ -0,0 +1,28 @@ +# caddy + +> Ein unternehmenstauglicher Open-Source-Webserver mit automatischem HTTPS, geschrieben in Go. +> Weitere Informationen: . + +- Starte Caddy im Vordergrund: + +`caddy run` + +- Starte Caddy mit dem angegebenen Caddyfile: + +`caddy run --config {{pfad/zu/Caddyfile}}` + +- Starte Caddy im Hintergrund: + +`caddy start` + +- Stoppe einen im Hintergrund laufenden Caddy-Prozess: + +`caddy stop` + +- Führe einen einfachen Dateiserver auf dem angegebenen Port mit einer durchsuchbaren Oberfläche aus: + +`caddy file-server --listen :{{8000}} --browse` + +- Führe einen Reverse-Proxy-Server aus: + +`caddy reverse-proxy --from :{{80}} --to localhost:{{8000}}` diff --git a/pages.de/common/cal.md b/pages.de/common/cal.md new file mode 100644 index 00000000000000..6216fbf462db55 --- /dev/null +++ b/pages.de/common/cal.md @@ -0,0 +1,17 @@ +# cal + +> Zeige einen Kalender mit dem aktuellen Tag hervorgehoben an. +> Siehe auch: `gcal`. +> Weitere Informationen: . + +- Zeige einen Kalender für den aktuellen Monat an: + +`cal` + +- Zeige einen Kalender für ein bestimmtes Jahr an: + +`cal {{Jahr}}` + +- Zeige einen Kalender für einen bestimmten Monat und Jahr an: + +`cal {{Monat}} {{Jahr}}` diff --git a/pages.de/common/calc.md b/pages.de/common/calc.md new file mode 100644 index 00000000000000..3ae92cf464ecff --- /dev/null +++ b/pages.de/common/calc.md @@ -0,0 +1,36 @@ +# calc + +> Ein interaktiver Rechner im Terminal mit beliebiger Genauigkeit. +> Weitere Informationen: . + +- Starte `calc` im interaktiven Modus: + +`calc` + +- Führe eine nicht-interaktive Berechnung durch: + +`calc '{{85 * (36 / 4)}}'` + +- Führe eine Berechnung durch ohne die Ausgabe zu formatieren (für das Benutzen mit Pipes): + +`calc -p '{{4/3 * pi() * 5^3}}'` + +- Führe eine Berechnung durch und wechsle dann in den [i]nteraktiven Modus: + +`calc -i '{{sqrt(2)}}'` + +- Starte `calc` in einem bestimmten Berechtigungs[m]odus (0 bis 7, standardmäßig 7): + +`calc -m {{mode}}` + +- Öffne eine Einführung zu `calc`: + +`calc help intro` + +- Öffne eine Übersicht von `calc`: + +`calc help overview` + +- Öffne die Bedienungsanleitung von `calc`: + +`calc help` diff --git a/pages.de/common/cargo.md b/pages.de/common/cargo.md index 2f31b966f44b20..63bcd49bb6f358 100644 --- a/pages.de/common/cargo.md +++ b/pages.de/common/cargo.md @@ -1,33 +1,33 @@ # cargo -> Rust Paketmanager. > Verwalte Rust-Projekte und deren Abhängigkeiten (crates). -> Mehr Informationen: . +> Manche Unterbefehle wie `build` sind separat dokumentiert. +> Weitere Informationen: . - Suche nach Abhängigkeiten (crates): -`cargo search {{suchwort}}` +`cargo search {{suche}}` - Installiere eine Abhängigkeit (crate): -`cargo install {{abhängigkeits_name}}` +`cargo install {{abhängigkeit}}` - Liste alle installierten Abhängigkeiten (crates) auf: `cargo install --list` -- Erzeuge eine neues Rust-Projekt als Anwendung oder Bibliothek im aktuellen Verzeichnis: +- Erzeuge ein neues Rust-Projekt als Anwendung oder Bibliothek im aktuellen Verzeichnis: `cargo init --{{bin|lib}}` -- Erzeuge eine neues Rust-Projekt als Anwendung oder Bibliothek im angegebenen Verzeichnis: +- Erzeuge ein neues Rust-Projekt als Anwendung oder Bibliothek im angegebenen Verzeichnis: -`cargo new {{pfad/zum/verzeichnis}} --{{bin|lib}}` +`cargo new {{pfad/zu/verzeichnis}} --{{bin|lib}}` -- Erstelle (bzw. kompiliere) das Rust-Projekt im aktuellen Verzeichnis: +- Erstelle (bzw. kompiliere) ein Rust-Projekt im aktuellen Verzeichnis: -`cargo build` +`cargo {{[b|build]}}` -- Erstelle (bzw. kompiliere) mit einer bestimmten Anzahl an Threads (Standard ist die Anzahl der CPU-Kerne): +- Erstelle (bzw. kompiliere) ein Rust-Projekt mit einer bestimmten Anzahl an Threads (standardmäßig die Anzahl der CPU-Kerne): -`cargo build -j {{jobs}}` +`cargo {{[b|build]}} --jobs {{thread_anzahl}}` diff --git a/pages.de/common/cat.md b/pages.de/common/cat.md index 5b0e48dad163d9..d096f60bd6eb81 100644 --- a/pages.de/common/cat.md +++ b/pages.de/common/cat.md @@ -1,23 +1,24 @@ # cat -> Ausgabe und Verkettung von einzelnen Dateien. +> Verkette und gib einzelne oder mehrere Dateien aus. +> Weitere Informationen: . -- Ausgabe der Inhalte einer Datei an die Standardausgabe: +- Gib den Inhalt einer Datei aus: -`cat {{datei}}` +`cat {{pfad/zu/datei}}` -- Verkettung mehrerer einzelner Dateien in eine Zieldatei: +- Verkette mehrere Dateien und speichere das Ergebnis in einer neuen Datei: -`cat {{datei1}} {{datei2}} > {{ziel_datei}}` +`cat {{pfad/zu/datei1 pfad/zu/datei2 ...}} > {{pfad/zu/ziel_datei}}` -- Anhängen mehrerer Dateien in eine Ziekdatei: +- Verkette mehrere Dateien und hänge das Ergebnis an eine Datei an: -`cat {{datei1}} {{datei2}} >> {{ziel_datei}}` +`cat {{pfad/zu/datei1 pfad/zu/datei2 ...}} >> {{pfad/zu/ziel_datei}}` -- Nummerierung aller ausgegebenen Zeilen: +- Kopiere den Inhalt einer Datei in eine Ausgabedatei ohne zu puffern: -`cat -n {{datei}}` +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` -- Ausgabe inklusive aller unsichtbaren Leerzeichen (mit `M-` Präfix wenn sie nicht ASCII sind): +- Schreibe `stdin` in eine Datei: -`cat -v -t -e {{datei}}` +`cat - > {{pfad/zu/datei}}` diff --git a/pages.de/common/cd.md b/pages.de/common/cd.md index 61b25ab0a9e5d9..7c09f3b0112497 100644 --- a/pages.de/common/cd.md +++ b/pages.de/common/cd.md @@ -1,19 +1,28 @@ # cd -> Ändern des aktuellen Arbeitsverzeichnis. +> Ändere das aktuelle Arbeitsverzeichnis. +> Weitere Informationen: . -- Wechsel in das angegebene Verzeichnis: +- Wechsle in das angegebene Verzeichnis: -`cd {{pfad/zum/verzeichnis}}` +`cd {{pfad/zu/verzeichnis}}` -- Zum Home-Verzeichnis des aktuellen Benutzers gehen: +- Wechsle zum Verzeichnis über dem aktuellen Verzeichnis: + +`cd ..` + +- Wechsle in das Home-Verzeichnis des aktuellen Benutzers: `cd` -- Gehe zum übergeordneten Verzeichnis des aktuellen Verzeichnisses: +- Wechsle in das Home-Verzeichnis eines bestimmten Benutzers: -`cd ..` +`cd ~{{benutzername}}` -- Gehe zum vorher gewählten Verzeichnis: +- Wechsle zum zuletzt gewählten Verzeichnis: `cd -` + +- Wechseln in das Stammverzeichnis: + +`cd /` diff --git a/pages.de/common/chmod.md b/pages.de/common/chmod.md index 50fe5cd736aab6..245c3b747bbe9a 100644 --- a/pages.de/common/chmod.md +++ b/pages.de/common/chmod.md @@ -1,31 +1,36 @@ # chmod > Ändere die Zugriffsberechtigungen einer Datei oder eines Verzeichnisses. +> Weitere Informationen: . -- Gib dem Benutzer ([u]ser), der Eigentümer einer Datei ist, das Recht, diese zu auszuführen (e[x]ecute): +- Gib dem Besitzer einer Datei ([u]ser) das Recht, sie auszuführen (e[x]ecute): -`chmod u+x {{datei}}` +`chmod u+x {{pfad/zu/datei}}` -- Gib dem Benutzer ([u]ser) Rechte zum lesen ([r]ead) und schreiben ([w]rite) an einer Datei / einem Verzeichnis: +- Gib dem Besitzer ([u]ser) Rechte zum Lesen ([r]ead) und Schreiben ([w]rite) einer Datei / einem Verzeichnis: -`chmod u+rw {{datei_oder_verzeichnis}}` +`chmod u+rw {{pfad/zu/datei_oder_verzeichnis}}` -- Entferne ausführbare (e[x]ecutable) Rechte aus der [g]ruppe: +- Entferne die Ausführrechte (e[x]ecute) der Besitzer[g]ruppe: -`chmod g-x {{datei}}` +`chmod g-x {{pfad/zu/datei}}` -- Gibt [a]llen Benutzern Rechte zum lesen ([r]ead) und ausführen (e[x]ecute) an einer Datei: +- Gib [a]llen Benutzern Rechte zum Lesen ([r]ead) und Ausführen (e[x]ecute) einer Datei: -`chmod a+rx {{datei}}` +`chmod a+rx {{pfad/zu/datei}}` -- Gibt anderen ([o]thers) (nicht in der Gruppe des Dateieigentümers) die gleichen Rechte wie der [g]ruppe: +- Gib anderen ([o]thers) (nicht in der Besitzer[g]ruppe) die gleichen Rechte wie der Besitzer[g]ruppe: -`chmod o=g {{datei}}` +`chmod o=g {{pfad/zu/datei}}` -- Entfernt alle Rechte der Anderen ([o]thers): +- Entferne alle Rechte der anderen ([o]thers): -`chmod o= {{datei}}` +`chmod o= {{pfad/zu/datei}}` -- Ändert Genehmigungen rekursiv, indem Sie [g]ruppe und Anderen ([o]thers) die Erlaubniss zum schreiben ([w]rite) geben: +- Ändere Rechte rekursiv, indem der Besitzer[g]ruppe und anderen ([o]thers) die Rechte zum Schreiben ([w]rite) geben werden: -`chmod -R g+w,o+w {{verzeichnis}}` +`chmod {{[-R|--recursive]}} g+w,o+w {{pfad/zu/verzeichnis}}` + +- Gib [a]llen Benutzern rekursiv Rechte zum Lesen ([r]ead) von Dateien und Ausführen (e[X]ecute) von Unterverzeichnissen innerhalb eines Verzeichnisses: + +`chmod {{[-R|--recursive]}} a+rX {{pfad/zu/verzeichnis}}` diff --git a/pages.de/common/chown.md b/pages.de/common/chown.md new file mode 100644 index 00000000000000..74aa3cb77a3f65 --- /dev/null +++ b/pages.de/common/chown.md @@ -0,0 +1,24 @@ +# chown + +> Ändere den Besitzer und die Besitzergruppe von Dateien und Verzeichnissen. +> Weitere Informationen: . + +- Ändere den Besitzer einer Datei/eines Verzeichnisses: + +`chown {{benutzer}} {{pfad/zu/datei_oder_verzeichnis}}` + +- Ändere den Besitzer und die Besitzergruppe einer Datei/eines Verzeichnisses: + +`chown {{benutzer}}:{{gruppe}} {{pfad/zu/datei_oder_verzeichnis}}` + +- Ändere den Besitzer eines Verzeichnisses rekursiv: + +`chown {{[-R|--recursive]}} {{benutzer}} {{pfad/zu/verzeichnis}}` + +- Ändere den Besitzer eines symbolischen Links: + +`chown {{[-h|--no-dereference]}} {{benutzer}} {{pfad/zu/symlink}}` + +- Ändere den Besitzer einer Datei/eines Verzeichnisses, damit sie/es mit einer Referenzdatei übereinstimmt: + +`chown --reference {{pfad/zu/referenzdatei_oder_verzeichnis}} {{pfad/zu/datei_oder_verzeichnis}}` diff --git a/pages.de/common/chromium.md b/pages.de/common/chromium.md index 3b8e2c775c7d16..4a8116378d0564 100644 --- a/pages.de/common/chromium.md +++ b/pages.de/common/chromium.md @@ -1,28 +1,36 @@ # chromium > Open-Source-Webbrowser von Google. -> Mehr Informationen: . +> Weitere Informationen: . -- Öffnet Sie eine Datei: +- Öffne eine bestimmte Datei oder URL: -`chromium {{pfad/zur/datei.html}}` +`chromium {{https://beispiel.com|pfad/zu/datei.html}}` -- Öffnet Sie eine URL: - -`chromium {{beispiel.com}}` - -- Im Inkognito-Modus öffnen: +- Öffne eine URL im Inkognito-Modus: `chromium --incognito {{beispiel.com}}` -- In einem neuen Fenster öffnen: +- Öffne eine URL in einem neuen Fenster: `chromium --new-window {{beispiel.com}}` -- Öffnet im Anwendungsmodus (ohne Symbolleisten, URL-Leiste, Schaltflächen usw.): +- Öffne eine URL im Anwendungsmodus (ohne Symbolleisten, Suchleiste, Schaltflächen usw.): -`chromium --app='{{https://beispiel.com}}'` +`chromium --app={{https://beispiel.com}}` -- Verwendet einen Proxy-Server: +- Öffne eine URL und verwende einen Proxy-Server: `chromium --proxy-server="{{socks5://hostname:66}}" {{beispiel.com}}` + +- Öffne Chromium mit einem eigenen Profil-Verzeichnis: + +`chromium --user-data-dir={{pfad/zu/verzeichnis}}` + +- Öffne Chromium ohne CORS-Verifizierung (nützlich, um eine API zu testen): + +`chromium --user-data-dir={{pfad/zu/verzeichnis}} --disable-web-security` + +- Öffne Chromium mit einem `DevTools`-Fenster für jeden geöffneten Tab: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.de/common/chroot.md b/pages.de/common/chroot.md new file mode 100644 index 00000000000000..79f31682c77a62 --- /dev/null +++ b/pages.de/common/chroot.md @@ -0,0 +1,12 @@ +# chroot + +> Führe einen Befehl oder eine interaktive Shell mit einem speziellen root-Verzeichnis aus. +> Weitere Informationen: . + +- Führe einen Befehl mit einem neuen root-Verzeichnis aus: + +`chroot {{pfad/zu/root_verzeichnis}} {{befehl}}` + +- Lege einen Benutzer und eine Gruppe (ID oder Name) fest, der benutzt werden soll: + +`chroot --userspec={{benutzer:gruppe}}` diff --git a/pages.de/common/chsh.md b/pages.de/common/chsh.md deleted file mode 100644 index 61f0aeb631b8ce..00000000000000 --- a/pages.de/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> Login-Shell des Benutzers ändern. - -- Shell ändern: - -`chsh -s {{pfad/zum/shell_programm}} {{benutzername}}` diff --git a/pages.de/common/clang++.md b/pages.de/common/clang++.md new file mode 100644 index 00000000000000..8764b5ea4bba7d --- /dev/null +++ b/pages.de/common/clang++.md @@ -0,0 +1,25 @@ +# clang++ + +> Kompiliert C++ Quelldateien. +> Teil von LLVM. +> Weitere Informationen: . + +- Kompiliere eine Quelldatei in eine ausführbare Binärdatei: + +`clang++ {{pfad/zu/quelldatei.cpp}} {{[-o|--output]}} {{pfad/zu/binärdatei}}` + +- Zeige geläufige Fehler und Warnungen an: + +`clang++ {{pfad/zu/quelldatei.cpp}} -Wall {{[-o|--output]}} {{pfad/zu/binärdatei}}` + +- Wähle einen Sprachstandard für die Kompilation aus: + +`clang++ {{pfad/zu/quelldatei.cpp}} -std={{c++20}} {{[-o|--output]}} {{pfad/zu/binärdatei}}` + +- Binde Bibliotheken, die sich an einem anderen Pfad als die Quelldatei befinden, ein: + +`clang++ {{pfad/zu/qelldatei.cpp}} {{[-o|--output]}} {{pfad/zu/binärdatei}} -I{{pfad/zu/headerdatei}} -L{{pfad/zu/bibliothek}} -l{{bibliotheksname}}` + +- Kompiliere eine Quelldatei zu LLVM Intermediate Representation (IR): + +`clang++ {{[-S|--assemble]}} -emit-llvm {{pfad/zu/quelldatei.cpp}} {{[-o|--output]}} {{pfad/zu/ir_datei.ll}}` diff --git a/pages.de/common/clang-cpp.md b/pages.de/common/clang-cpp.md new file mode 100644 index 00000000000000..80ffa73ebec11b --- /dev/null +++ b/pages.de/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Dieser Befehl ist ein Alias von `clang++`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr clang++` diff --git a/pages.de/common/clang-format.md b/pages.de/common/clang-format.md new file mode 100644 index 00000000000000..aea61ce57e0d79 --- /dev/null +++ b/pages.de/common/clang-format.md @@ -0,0 +1,24 @@ +# clang-format + +> Programm zum Auto-Formatieren von C/C++/Java/JavaScript/Objective-C/Protobuf/C#-Code. +> Weitere Informationen: . + +- Formatiere eine Datei und schreibe das Ergebnis nach `stdout`: + +`clang-format {{pfad/zu/quelldatei.cpp}}` + +- Überschreibe eine Datei mit ihrem formatierten Inhalt: + +`clang-format -i {{pfad/zu/quelldatei.cpp}}` + +- Formatiere eine Datei mit einem bestimmten Code-Stil: + +`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} {{pfad/zu/quelldatei.cpp}}` + +- Formatiere eine Datei mit der `.clang-format`-Datei aus einem der Überverzeichnisse der Quelldatei: + +`clang-format --style=file {{pfad/zu/quelldatei.cpp}}` + +- Generiere eine eigene `.clang-format`-Datei: + +`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} --dump-config > {{.clang-format}}` diff --git a/pages.de/common/clang-tidy.md b/pages.de/common/clang-tidy.md new file mode 100644 index 00000000000000..007274ada4d979 --- /dev/null +++ b/pages.de/common/clang-tidy.md @@ -0,0 +1,20 @@ +# clang-tidy + +> Ein LLVM-basierter C/C++ Linter zum Finden von Stilverletzungen, Bugs und Sicherheitsmängeln durch statische Codeanalyse. +> Weitere Informationen: . + +- Führe die Standard-Checks für eine Quelldatei aus: + +`clang-tidy {{pfad/zu/quelldatei.cpp}}` + +- Prüfe nur ob eine Datei den `cppcoreguidelines` Checks entspricht: + +`clang-tidy {{pfad/zu/quelldatei.cpp}} -checks={{-*,cppcoreguidelines-*}}` + +- Liste alle verfügbaren Checks auf: + +`clang-tidy -checks={{*}} -list-checks` + +- Lege defines und includes als Kompilierungsoptionen fest (nach `--`): + +`clang-tidy {{pfad/zu/quelldatei.cpp}} -- -I{{mein_projekt/include}} -D{{definitions}}` diff --git a/pages.de/common/clang.md b/pages.de/common/clang.md new file mode 100644 index 00000000000000..48d5b54bc3b82a --- /dev/null +++ b/pages.de/common/clang.md @@ -0,0 +1,24 @@ +# clang + +> Compiler für C, C++ und Objective-C Quelldateien. Kann als Ersatz für GCC genutzt werden. +> Weitere Informationen: . + +- Kompiliere eine Quelldatei in eine ausführbare Binärdatei: + +`clang {{pfad/zu/quelldatei.c}} {{[-o|--output]}} {{pfad/zu/binärdatei}}` + +- Zeige geläufige Fehler und Warnungen an: + +`clang {{pfad/zu/quelldatei.c}} -Wall {{[-o|--output]}} {{pfad/zu/binärdatei}}` + +- Binde Bibliotheken, die sich an einem anderen Pfad als die Quelldatei befinden, ein: + +`clang {{pfad/zu/quelldatei.c}} {{[-o|--output]}} {{pfad/zu/binärdatei}} -I{{pfad/zu/headerdatei}} -L{{pfad/zu/bibliothek}} -l{{bibliotheks_name}}` + +- Kompiliere eine Quelldatei zu LLVM Intermediate Representation (IR): + +`clang {{[-S|--assemble]}} -emit-llvm {{pfad/zu/quelldatei.c}} {{[-o|--output]}} {{pfad/zu/ir_datei.ll}}` + +- Kompiliere eine Quelldatei, ohne zu Linken: + +`clang {{[-c|--compile]}} {{pfad/zu/quelldatei.c}}` diff --git a/pages.de/common/clear.md b/pages.de/common/clear.md new file mode 100644 index 00000000000000..12cffa85a01d0d --- /dev/null +++ b/pages.de/common/clear.md @@ -0,0 +1,20 @@ +# clear + +> Leert den Bildschirm eines Terminals. +> Weitere Informationen: . + +- Leere den Bildschirm (äquivalent zu `` in einer Bash Shell): + +`clear` + +- Leere den Bildschirm, aber erhalte den Rückscroll-Puffer des Terminals: + +`clear -x` + +- Lege den Typ des zu leerenden Terminals fest (Standardwert ist die Umgebungsvariable $TERM): + +`clear -T {{typ_des_terminals}}` + +- Zeige die Version von `ncurses` an, die von `clear` benutzt wird: + +`clear -V` diff --git a/pages.de/common/clojure.md b/pages.de/common/clojure.md new file mode 100644 index 00000000000000..61e635f21b9d63 --- /dev/null +++ b/pages.de/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Dieser Befehl ist ein Alias von `clj`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr clj` diff --git a/pages.de/common/cmake.md b/pages.de/common/cmake.md new file mode 100644 index 00000000000000..cfd78bacd59907 --- /dev/null +++ b/pages.de/common/cmake.md @@ -0,0 +1,28 @@ +# cmake + +> Plattformübergreifendes Build-Automatisierungs-System, das Vorlagen für native Build-Systeme erzeugt. +> Weitere Informationen: . + +- Erzeuge eine Build-Vorlage im aktuellen Verzeichnis mit `CMakeLists.txt` eines Projektordners: + +`cmake {{pfad/zu/projektordner}}` + +- Erzeuge eine Build-Vorlage mit der Build-Art `Release`: + +`cmake {{pfad/zu/projektordner}} -D {{CMAKE_BUILD_TYPE=Release}}` + +- Benutze eine generierte Vorlage, um Artifakte zu erzeugen: + +`cmake --build {{pfad/zu/build_verzeichnis}}` + +- Installiere die Build-Artifakte in `/usr/local/` und entferne Debugsymbole: + +`cmake --install {{pfad/zu/build_verzeichnis}} --strip` + +- Installiere die Build-Artifakte mit einem eigenen Präfix für Pfade: + +`cmake --install {{pfad/zu/build_verzeichnis}} --strip --prefix {{pfad/zu/verzeichnis}}` + +- Führe ein bestimmtes Build-Ziel aus: + +`cmake --build {{pfad/zu/build_verzeichnis}} --target {{zielname}}` diff --git a/pages.de/common/cmatrix.md b/pages.de/common/cmatrix.md new file mode 100644 index 00000000000000..bd3ade56c05e81 --- /dev/null +++ b/pages.de/common/cmatrix.md @@ -0,0 +1,20 @@ +# cmatrix + +> Zeigt einen scrollenden, Matrix-ähnlichen Bildschirm im Terminal an. +> Weitere Informationen: . + +- Aktiviere [a]synchrones Scrollen: + +`cmatrix -a` + +- Ändere die Text[C]olor (standardmäßig grün): + +`cmatrix -C {{red}}` + +- Aktiviere den [r]egenbogen-Modus: + +`cmatrix -r` + +- Verwende eine Bildschirm[u]pdate-Verzögerung von 100 Zentisekunden (1 Sekunde): + +`cmatrix -u 100` diff --git a/pages.de/common/code.md b/pages.de/common/code.md index 70837dcf488a9e..649134dcf2e647 100644 --- a/pages.de/common/code.md +++ b/pages.de/common/code.md @@ -1,28 +1,36 @@ # code > Visual Studio Code. -> Mehr Informationen: . +> Weitere Informationen: . -- VS Code öffnen: +- Öffne Visual Studio Code: `code` -- Aktuelles Verzeichnis in VS Code öffnen: +- Öffne bestimmte Dateien und/oder Verzeichnisse: -`code .` +`code {{pfad/zu/datei_oder_verzeichnis1 pfad/zu/datei_oder_verzeichnis2 ...}}` -- Eine Datei oder einen Ordner in VS Code öffnen: +- Vergleiche zwei bestimmte Dateien: -`code {{pfad/zu/datei_oder_ordner}}` +`code {{[-d|--diff]}} {{pfad/zu/datei1}} {{pfad/zu/datei2}}` -- Eine Datei oder einen Ordner im aktuell geöffnetem VS Code Fenster öffnen: +- Öffne bestimmte Dateien und/oder Verzeichnisse in einem neuen Fenster: -`code --reuse-window {{pfad/zu/datei_oder_ordner}}` +`code {{[-n|--new-window]}} {{pfad/zu/datei_oder_verzeichnis1 pfad/zu/datei_oder_verzeichnis2 ...}}` -- Zeit Dateien in VS Code öffnen: +- Installiere oder lösche bestimmte Erweiterung: -`code -d {{datei1}} {{datei2}}` +`code --{{install|uninstall}}-extension {{herausgeber.erweiterung}}` -- VS Code mit super user (sudo) Rechten öffnen: +- Liste alle installierten Erweiterungen auf: -`sudo code {{pfad/zu/datei_oder_ordner}} --user-data-dir` +`code --list-extensions` + +- Liste alle installierten Erweiterungen und deren Version auf: + +`code --list-extensions --show-versions` + +- Starte Visual Studio Code als Superuser und speichere Benutzerdaten in einem bestimmten Verzeichnis: + +`sudo code --user-data-dir {{pfad/zu/verzeichnis}}` diff --git a/pages.de/common/cola.md b/pages.de/common/cola.md new file mode 100644 index 00000000000000..87dc599031d598 --- /dev/null +++ b/pages.de/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Dieser Befehl ist ein Alias von `git-cola`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr git-cola` diff --git a/pages.de/common/conda-create.md b/pages.de/common/conda-create.md new file mode 100644 index 00000000000000..05754bb2364f96 --- /dev/null +++ b/pages.de/common/conda-create.md @@ -0,0 +1,16 @@ +# conda create + +> Erstelle neue Conda-Umgebungen. +> Weitere Informationen: . + +- Erstelle eine neue Umgebung mit dem Namen `py39` und installiere Python 3.9 und NumPy v1.11 (oder höher) darin: + +`conda create --yes --name {{py39}} python={{3.9}} "{{numpy>=1.11}}"` + +- Erstelle eine exakte Kopie einer Umgebung: + +`conda create --clone {{py39}} --name {{py39-copy}}` + +- Erstelle eine neue Umgebung mit gegebenem Namen und den zu installierenden Paketen: + +`conda create --name {{umgebungsname}} {{paketname}}` diff --git a/pages.de/common/conda.md b/pages.de/common/conda.md new file mode 100644 index 00000000000000..9850b93f6b9281 --- /dev/null +++ b/pages.de/common/conda.md @@ -0,0 +1,37 @@ +# conda + +> Eine Paket-, Abhängigkeits- und Umgebungsverwaltung für beliebige Programmiersprachen. +> Manche Unterbefehle wie `create` sind separat dokumentiert. +> Weitere Informationen: . + +- Erstelle eine neue Umgebung mit den zu installierenden Paketen: + +`conda create {{[-n|--name]}} {{umgebungsname}} {{python=3.9 matplotlib}}` + +- Liste alle Umgebungen auf: + +`conda info {{[-e|--envs]}}` + +- Lade eine Umgebung: + +`conda activate {{umgebungs_name}}` + +- Entlade eine Umgebung: + +`conda deactivate` + +- Lösche eine Umgebung (entferne alle Pakete): + +`conda remove {{[-n|--name]}} {{umgebungsname}} --all` + +- Installiere Pakete in die derzeit geladene Umgebung: + +`conda install {{python=3.4 numpy}}` + +- Liste alle installierten Pakete in der derzeit geladenen Umgebung auf: + +`conda list` + +- Lösche alle ungenutzten Pakete und leere den Cache: + +`conda clean {{[-a|--all]}}` diff --git a/pages.de/common/convert.md b/pages.de/common/convert.md deleted file mode 100644 index ebdf20d364d46c..00000000000000 --- a/pages.de/common/convert.md +++ /dev/null @@ -1,32 +0,0 @@ -# convert - -> Imagemagick Bildkonvertierungswerkzeug -> Mehr Informationen: - -- Konvertiert ein Bild von JPG nach PNG: - -`convert {{bild.jpg}} {{bild.png}}` - -- Ein Bild auf 50% seiner Originalgröße skalieren: - -`convert {{bild.png}} -resize 50% {{bild2.png}}` - -- Skaliert ein Bild unter Beibehaltung des ursprünglichen Seitenverhältnisses auf eine maximale Größe von 640x480: - -`convert {{bild.png}} -resize 640x480 {{bild2.png}}` - -- Bilder horizontal aneinader hängen: - -`convert {{bild1.png}} {{bild2.png}} {{bild3.png}} +append {{bild123.png}}` - -- Bilder vertikal aneinander hängen: - -`convert {{bild1.png}} {{bild2.png}} {{bild3.png}} -append {{bild123.png}}` - -- Erstellt ein animiertes Gif-Bild aus einer Serie von Bildern mit einer Verzögerung von 100 ms zwischen den Bildern: - -`convert {{bild1.png}} {{bild2.png}} {{bild3.png}} -delay {{10}} {{animation.gif}}` - -- Erstellt ein Bild mit nichts als einem festen Hintergrund: - -`convert -size {{800x600}} "xc:{{#ff0000}}" {{bild.png}}` diff --git a/pages.de/common/cp.md b/pages.de/common/cp.md index 28a8a2722029f5..f39317fb05b703 100644 --- a/pages.de/common/cp.md +++ b/pages.de/common/cp.md @@ -1,23 +1,28 @@ # cp -> Kopieren von Dateien und Ordnern. +> Kopiere Dateien und Verzeichnisse. +> Weitere Informationen: . -- Kopieren einer Datei an einen anderen Ort: +- Kopiere eine Datei an einen anderen Ort: -`cp {{pfad/zur/datei.ext}} {{pfad/zur/kopie.ext}}` +`cp {{pfad/zu/datei}} {{pfad/zu/kopie}}` -- Kopieren einer Datei an einen anderen Ort mit gleichem Dateinamen: +- Kopiere eine Datei an einen anderen Ort und behalte den Dateinamen: -`cp {{pfad/zur/datei.ext}} {{pfad/zum/ziel_ort}}` +`cp {{pfad/zu/datei}} {{pfad/zu/zielverzeichnis}}` -- Rekursives Kopieren aller Ordnerinhalte an einen anderen Ort (falls der Zielort bereits existiert, wird der Ordner in den Zielordner kopiert): +- Kopiere ein Verzeichnis rekursiv (falls der Zielort bereits existiert, wird das Verzeichnis in das Zielverzeichnis kopiert): -`cp -r {{pfad/zum/ordner}} {{pfad/zum/ziel_ort}}` +`cp -r {{pfad/zu/verzeichnis}} {{pfad/zu/zielverzeichnis}}` -- Rekursives Kopieren eines Ordners im ausführlichen Modus (Dateien werden aufgelistet, während sie kopiert werden): +- Kopiere ein Verzeichnis rekursiv und gib alle Dateien aus, während sie kopiert werden: -`cp -vr {{pfad/zum/ordner}} {{pfad/zum/ziel_ort}}` +`cp -vr {{pfad/zu/verzeichnis}} {{pfad/zu/zielverzeichnis}}` -- Kopieren von Textdateien an einen anderen Ort im interaktiven Modus (Fordert den Nutzer vor dem Überschreiben zur Bestätigung auf): +- Kopiere alle Textdateien in einem Verzeichnis und warte auf eine Bestätigung, falls eine Datei überschrieben werden soll: -`cp -i {{*.txt}} {{pfad/zum/ziel_ort}}` +`cp -i {{/pfad/zu/*.txt}} {{pfad/zu/zielverzeichnis}}` + +- Folge symbolischen Links vor dem Kopieren: + +`cp -L {{link}} {{pfad/zu/zielverzeichnis}}` diff --git a/pages.de/common/cradle-deploy.md b/pages.de/common/cradle-deploy.md index c481c9709a21b4..bfd6c57aa55cf0 100644 --- a/pages.de/common/cradle-deploy.md +++ b/pages.de/common/cradle-deploy.md @@ -1,20 +1,20 @@ # cradle deploy -> Management von Cradle Deployments. -> Mehr Informationen: . +> Verwalte Cradle Implementierungen. +> Weitere Informationen: . -- Deployment von Cradle auf einen Server: +- Implementiere Cradle auf einem Server: `cradle deploy production` -- Deployment statischer Anlagen zu Amazon S3: +- Implementiere statische Anlagen zu Amazon S3: `cradle deploy s3` -- Deployment statischer Anlagen inklusive der Yarn Komponenten: +- Implementiere statische Anlagen inklusive den Yarn Komponenten: `cradle deploy s3 --include-yarn` -- Deployment statischer Anlagen inklusive des "upload" Verzeichnisses: +- Implementiere statische Anlagen inklusive dem "upload" Verzeichnis: `cradle deploy s3 --include-upload` diff --git a/pages.de/common/cradle-elastic.md b/pages.de/common/cradle-elastic.md index f3cbbc802bcb37..bedc112c62d1a6 100644 --- a/pages.de/common/cradle-elastic.md +++ b/pages.de/common/cradle-elastic.md @@ -1,28 +1,28 @@ # cradle elastic -> Management der ElasticSearch Instanzen einer Cradle Instanz. -> Mehr Informationen: . +> Verwalte ElasticSearch Instanzen einer Cradle Instanz. +> Weitere Informationen: . -- Entleeren des ElasticSearch Indexes: +- Entleere den ElasticSearch Index: `cradle elastic flush` -- Entleeren des ElasticSearch Indexes für ein bestimmtes Paket: +- Entleere den ElasticSearch Index für ein bestimmtes Paket: -`cradle elastic flush {{Paket}}` +`cradle elastic flush {{paket}}` -- Absenden eines ElasticSearch Schemas: +- Sende ein ElasticSearch Schema ab: `cradle elastic map` -- Absenden eines ElasticSearch Schemas für ein bestimmtes Paket: +- Sende ein ElasticSearch Schema für ein bestimmtes Paket ab: -`cradle elastic map {{Paket}}` +`cradle elastic map {{paket}}` -- Befüllung der ElasticSearch Indexe für alle Pakete: +- Befülle die ElasticSearch Indizes für alle Pakete: `cradle elastic populate` -- Befüllung der ElasticSearch Indexe für ein bestimmtes Paket: +- Befülle die ElasticSearch Indizes für ein bestimmtes Paket: -`cradle elastic populate {{Paket}}` +`cradle elastic populate {{paket}}` diff --git a/pages.de/common/cradle-install.md b/pages.de/common/cradle-install.md index c13373b331e9f8..fa08044ae298eb 100644 --- a/pages.de/common/cradle-install.md +++ b/pages.de/common/cradle-install.md @@ -1,24 +1,24 @@ # cradle install -> Installiert Cradle PHP Framework Komponenten -> Mehr Informationen: . +> Installiere Cradle PHP Framework Komponenten. +> Weitere Informationen: . -- Installieren von Cradle Komponenten (öffnet erst einen Dialog): +- Installiere Cradle Komponenten mithilfe eines Dialogs: `cradle install` -- Gewaltsames Installieren: +- Installiere Cradle Komponenten gewaltsam: `cradle install --force` -- Überspringen von SQL Migrationen: +- Überspringe SQL Migrationen: `cradle install --skip-sql` -- Überspringen von Paket Aktualisierungen: +- Überspringe Paket-Aktualisierungen: `cradle install --skip-versioning` -- Benutzer-spezifische Datenbanken Details: +- Zeige Details über eine benutzer-spezifische Datenbank: -`cradle install -h {{Hostname}} -u {{Benutzer}} -p {{Passwort}}` +`cradle install -h {{hostname}} -u {{benutzer}} -p {{passwort}}` diff --git a/pages.de/common/cradle-package.md b/pages.de/common/cradle-package.md index b96be09b3428fb..ffd56d2399131b 100644 --- a/pages.de/common/cradle-package.md +++ b/pages.de/common/cradle-package.md @@ -1,32 +1,32 @@ # cradle package -> Management von Paketen für Cradle Instanzen. -> Mehr Informationen: . +> Verwalte Pakete für Cradle Instanzen. +> Weitere Informationen: . -- Auflistung aller verfügbaren Pakete: +- Liste aller verfügbaren Pakete auf: `cradle package list` - Suche nach einem Paket: -`cradle package search {{Paket}}` +`cradle package search {{paket}}` -- Installieren eines Paketes von Packagist. +- Installiere ein Paket von Packagist: -`cradle package install {{Paket}}` +`cradle package install {{paket}}` -- Installieren einer bestimmten Paket-Version: +- Installiere eine bestimmte Version eines Pakets: -`cradle package install {{Paket}} {{Version}}` +`cradle package install {{paket}} {{version}}` -- Aktualisierung eines Pakates: +- Aktualisiere ein Paket: -`cradle package update {{Paket}}` +`cradle package update {{paket}}` -- Aktualisierung eines Paketes zu einer bestimmten Paket-Version: +- Aktualisiere ein Paket zu einer bestimmten Paket-Version: -`cradle package update {{Paket}} {{Version}}` +`cradle package update {{paket}} {{version}}` -- Entfernung eines Paketes: +- Entferne ein Paket: -`cradle package remove {{Paket}}` +`cradle package remove {{paket}}` diff --git a/pages.de/common/cradle-sql.md b/pages.de/common/cradle-sql.md index 1865bb9e0ecfc1..3741bbf12e67e1 100644 --- a/pages.de/common/cradle-sql.md +++ b/pages.de/common/cradle-sql.md @@ -1,28 +1,28 @@ # cradle sql -> Management von Cradle SQL Datenbanken. -> Mehr Informationen: . +> Verwalte Cradle SQL Datenbanken. +> Weitere Informationen: . -- Neu-Generierung eines Datenbank Schemas: +- Generiere ein neues Datenbank-Schema: `cradle sql build` -- Neu-Generierung eines Datenbank Schemas für ein bestimmtes Paket: +- Generiere ein neues Datenbank-Schema für ein bestimmtes Paket: -`cradle sql build {{Paket}}` +`cradle sql build {{paket}}` -- Entleeren der gesamten Datenbank: +- Entleere die gesamte Datenbank: `cradle sql flush` -- Entleeren der Datenbank für ein bestimmtes Paket: +- Entleere die Datenbank für ein bestimmtes Paket: -`cradle sql flush {{Paket}}` +`cradle sql flush {{paket}}` -- Befüllung der Tabellen für alle Pakete: +- Befülle die Tabellen für alle Pakete: `cradle sql populate` -- Befüllung der Tabellen für ein bestimmtes Paket: +- Befülle die Tabellen für ein bestimmtes Paket: -`cradle sql populate {{Paket}}` +`cradle sql populate {{paket}}` diff --git a/pages.de/common/cradle.md b/pages.de/common/cradle.md index 977ecf1293e059..4ec69612de49f0 100644 --- a/pages.de/common/cradle.md +++ b/pages.de/common/cradle.md @@ -1,21 +1,21 @@ # cradle > Das Cradle PHP Framework. -> Siehe `cradle-install`, `cradle-deploy`, etc. für zusätzliche Informationen. -> Mehr Informationen: . +> Manche Unterbefehle wie `install` sind separat dokumentiert. +> Weitere Informationen: . -- Verbinden zu einem Server: +- Stelle eine Verbindung zu einem Server her: -`cradle connect {{Server}}` +`cradle connect {{server}}` -- Anzeigen der Hilfe-Seite: +- Führe einen Cradle-Befehl aus: -`cradle help` +`cradle {{befehl}}` -- Anzeigen der Hilfe-Seite für ein bestimmtes Kommando: +- Zeige die Hilfe-Seite an: -`cradle {{Kommando}} help` +`cradle help` -- Ausführen eines Cradle Kommandos: +- Zeige die Hilfe-Seite für einen bestimmten Befehl: -`cradle {{Kommando}}` +`cradle {{befehl}} help` diff --git a/pages.de/common/csvsql.md b/pages.de/common/csvsql.md index c6f12800043363..9ac826220bc283 100644 --- a/pages.de/common/csvsql.md +++ b/pages.de/common/csvsql.md @@ -1,17 +1,17 @@ # csvsql -> Generiert SQL-Anweisungen für eine CSV-Datei oder führt diese Anweisungen direkt in einer Datenbank aus. -> In csvkit enthalten. -> Mehr Informationen: . +> Generiere SQL-Anweisungen für eine CSV-Datei oder führe diese Anweisungen direkt in einer Datenbank aus. +> Teil von csvkit. +> Weitere Informationen: . -- Generiert eine `CREATE TABLE`-SQL-Anweisung für eine CSV-Datei: +- Generiere eine `CREATE TABLE`-SQL-Anweisung für eine CSV-Datei: -`csvsql {{pfad/zur/daten.csv}}` +`csvsql {{pfad/zu/datei.csv}}` -- Importiert eine CSV-Datei in eine SQL-Datenbank: +- Importiere eine CSV-Datei in eine SQL-Datenbank: -`csvsql --insert --db "{{mysql://benutzer:passwort@host/datenbank}}" {{daten.csv}}` +`csvsql --insert --db "{{mysql://benutzer:passwort@host/datenbank}}" {{pfad/zu/datei.csv}}` -- Führt eine SQL-Abfrage auf einer CSV-Datei aus: +- Führe eine SQL-Abfrage auf einer CSV-Datei aus: -`csvsql --query "{{select * from 'daten'}}" {{daten.csv}}` +`csvsql --query "{{select * from 'datei'}}" {{datei.csv}}` diff --git a/pages.de/common/curl.md b/pages.de/common/curl.md new file mode 100644 index 00000000000000..d5805be8324336 --- /dev/null +++ b/pages.de/common/curl.md @@ -0,0 +1,37 @@ +# curl + +> Überträgt Daten von oder zu einem Server. +> Unterstützt die meisten Protokolle, inklusive HTTP, FTP und POP3. +> Weitere Informationen: . + +- Lade den Inhalt einer URL in eine Datei: + +`curl {{http://beispiel.de}} {{[-o|--output]}} {{pfad/zu/datei}}` + +- Lade eine Datei von einer URL herunter: + +`curl {{[-O|--remote-name]}} {{http://beispiel.de/datei}}` + +- Lade eine Datei herunter, folge Weiterleitungen und setze vergangene Dateitransfers automatisch fort: + +`curl {{[-f|--fail]}} {{[-O|--remote-name]}} {{[-L|--location]}} {{[-C|--continue-at]}} - {{http://beispiel.de/datei}}` + +- Sende formular-codierte Daten (POST Anfragen des Typs `application/x-www-form-urlencoded`). Benutze `--data @dateiname` oder `--data @'-'`, um von `stdin` zu lesen: + +`curl {{[-d|--data]}} {{'name=karl-dieter'}} {{http://beispiel.de/formular}}` + +- Sende eine Anfrage mit einem extra Header mit einer eigenen HTTP-Methode: + +`curl {{[-H|--header]}} {{'X-Mein-Header: 123'}} {{[-X|--request]}} {{PUT}} {{http://beispiel.de}}` + +- Sende Daten im JSON-Format und lege den geeigneten Inhaltstyp-Header fest: + +`curl {{[-d|--data]}} {{'{"name":"karl-dieter"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://beispiel.de/benutzer/1234}}` + +- Übergib einen Benutzernamen und frage nach einem Passwort für die Server-Authentifizierung: + +`curl {{[-u|--user]}} {{benutzername}} {{http://beispiel.de}}` + +- Übergib Client-Zertifikat und -Schlüssel für eine Ressource und überspringe die Zertifikatsüberprüfung: + +`curl {{[-E|--cert]}} {{client.pem}} --key {{key.pem}} {{[-k|--insecure]}} {{https://beispiel.de}}` diff --git a/pages.de/common/cut.md b/pages.de/common/cut.md index 687f32b31d8f75..bfa7b5434d3b19 100644 --- a/pages.de/common/cut.md +++ b/pages.de/common/cut.md @@ -1,27 +1,16 @@ # cut -> Entferne Felder von `stdin` oder einer Datei. +> Schneide Felder von `stdin` oder einer Datei aus. +> Weitere Informationen: . -- Entferne die ersten 16 Zeichen jeder Zeile von `stdin`: +- Schneide bestimmte Zeichen oder einen Bereich von Feldern jeder Zeile aus: -`cut -c {{1-16}}` +`{{befehl}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}` -- Entferne die ersten 16 Zeichen jeder Zeile der angegebenen Datei: +- Schneide einen bestimmten Bereich von Feldern jeder Zeile mit einem bestimmten Trennzeichen aus: -`cut -c {{1-16}} {{datei}}` +`{{befehl}} | cut --delimiter "{{,}}" --fields {{1}}` -- Entferne alles ab dem dritten Zeichen bis zum Ende der Zeile: +- Schneide einen bestimmten Bereich von Zeichen jeder Zeile einer bestimmten Datei aus: -`cut -c {{3-}}` - -- Entferne das fünfte Feld jeder Zeile, nutze Doppelpunkt als Trennzeichen (Standart ist Tab): - -`cut -d'{{:}}' -f{{5}}` - -- Entferne das 2. und 10. Feld jeder Zeile, nutze Semikolon als Trennzeichen: - -`cut -d'{{;}}' -f{{2,10}}` - -- Entferne alles ab dem dritten Zeichen bis zum Ende der Zeile, nutze Leerzeichen als Trennzeichen: - -`cut -d'{{ }}' -f{{3-}}` +`cut --characters {{1}} {{pfad/zu/datei}}` diff --git a/pages.de/common/dart.md b/pages.de/common/dart.md new file mode 100644 index 00000000000000..125ec31d34132c --- /dev/null +++ b/pages.de/common/dart.md @@ -0,0 +1,28 @@ +# dart + +> Das Werkzeug zur Verwaltung von Dart-Projekten. +> Weitere Informationen: . + +- Initialisiere ein neues Dart-Projekt in einem Verzeichnis mit demselben Namen: + +`dart create {{projekt_name}}` + +- Ausführen einer Dart-Datei: + +`dart run {{pfad/zu/datei.dart}}` + +- Herunterladen der Abhängigkeiten für das aktuelle Projekt: + +`dart pub get` + +- Ausführen von Unit-Tests für das aktuelle Projekt: + +`dart test` + +- Aktualisieren veralteter Projektabhängigkeiten, um Null-Sicherheit zu unterstützen: + +`dart pub upgrade --null-safety` + +- Kompilieren einer Dart-Datei in eine native Binärdatei: + +`dart compile exe {{pfad/zu/datei.dart}}` diff --git a/pages.de/common/date.md b/pages.de/common/date.md new file mode 100644 index 00000000000000..471992430cfa56 --- /dev/null +++ b/pages.de/common/date.md @@ -0,0 +1,36 @@ +# date + +> Setze die Systemzeit oder zeige sie an. +> Weitere Informationen: . + +- Zeige das aktuelle Datum im Format der eingestellten Locale an: + +`date +%c` + +- Zeige das aktuelle Datum in koordinierter Weltzeit (UTC) im ISO 8601-Format an: + +`date -u +%Y-%m-%dT%H:%M:%S%Z` + +- Zeige das aktuelle Datum in Unixzeit (vergangene Sekunden seit der Unix-Epoche) an: + +`date +%s` + +- Konvertiere ein in Unixzeit gegebenes Datum zum Standardformat: + +`date -d @{{1473305798}}` + +- Konvertiere ein gegebenes Datum zu Unixzeit: + +`date -d "{{2018-09-01 00:00}}" +%s --utc` + +- Zeige das aktuelle Datum im RFC-3339 Format (`YYYY-MM-DD hh:mm:ss TZ`) an: + +`date --rfc-3339 s` + +- Setze das aktuelle Datum im Format `MMDDhhmmYYYY.ss` (`YYYY` und `.ss` sind optional): + +`date {{093023592021.59}}` + +- Zeige die aktuelle ISO-Wochenzahl an: + +`date +%V` diff --git a/pages.de/common/dd.md b/pages.de/common/dd.md new file mode 100644 index 00000000000000..10da798d4f915a --- /dev/null +++ b/pages.de/common/dd.md @@ -0,0 +1,28 @@ +# dd + +> Konvertiere und kopiere eine Datei. +> Weitere Informationen: . + +- Erstelle ein bootbares USB-Laufwerk von einer isohybriden Datei (wie `archlinux-xxxx.iso`) und zeige den Fortschritt an: + +`dd if={{pfad/zu/datei.iso}} of={{/dev/laufwerk}} status=progress` + +- Klone ein USB-Laufwerk in ein anderes in 4MiB Blöcken, ignoriere Fehler und zeige den Fortschritt an: + +`dd if={{/dev/quell_laufwerk}} of={{/dev/ziel_laufwerk}} bs=4M conv=noerror status=progress` + +- Erstelle eine Datei mit spezifizierte zufälligen Bytes mithilfe des Zufall-Treibers des Kernels: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{pfad/zu/datei}}` + +- Teste die Schreibgeschwindigkeit eines Laufwerks: + +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{pfad/zu/1GB_datei}}` + +- Erstelle ein System-Backup als IMG Datei und zeige den Fortschritt an: + +`dd if={{/dev/laufwerk}} of={{pfad/zu/datei.img}} status=progress` + +- Stelle ein Laufwerk aus einer IMG Datei wieder her und zeige den Fortschritt an: + +`dd if={{pfad/zu/datei.img}} of={{/dev/laufwerk}} status=progress` diff --git a/pages.de/common/deno.md b/pages.de/common/deno.md new file mode 100644 index 00000000000000..b72a42788a21cb --- /dev/null +++ b/pages.de/common/deno.md @@ -0,0 +1,24 @@ +# deno + +> Eine sichere JavaScript- und TypeScript-Laufzeit. +> Weitere Informationen: . + +- Führe eine JavaScript oder TypeScript Datei aus: + +`deno run {{pfad/zu/datei.ts}}` + +- Starte ein REPL (interaktive Konsole): + +`deno` + +- Führe eine Datei mit Netzwerkzugriff aus: + +`deno run --allow-net {{pfad/zu/datei.ts}}` + +- Führe eine Datei von einer URL aus: + +`deno run {{https://deno.land/std/examples/welcome.ts}}` + +- Installiere ein ausführbares Skript von einer URL: + +`deno install {{https://deno.land/std/examples/colors.ts}}` diff --git a/pages.de/common/df.md b/pages.de/common/df.md new file mode 100644 index 00000000000000..07ba6f584ccefe --- /dev/null +++ b/pages.de/common/df.md @@ -0,0 +1,24 @@ +# df + +> Verschafft einen Überblick über verfügbaren Speicherplatz im Dateisystem. +> Weitere Informationen: . + +- Zeige verfügbaren Platz auf allen eingehängten Dateisystemen: + +`df` + +- Zeige verfügbaren Platz auf allen eingehängten Dateisystemen in einem menschenlesbaren Format: + +`df -h` + +- Zeige das Dateisystem und dessen Speicherverbrauch, das die angegebene Datei oder Verzeichnis enthält: + +`df {{pfad/zu/datei_oder_verzeichnis}}` + +- Zeige Statistiken über die Anzahl freier Inodes: + +`df -i` + +- Zeige alle Dateisysteme bis auf die eines bestimmten Typs: + +`df -x {{squashfs}} -x {{tmpfs}}` diff --git a/pages.de/common/diff.md b/pages.de/common/diff.md new file mode 100644 index 00000000000000..f66b5c17509dce --- /dev/null +++ b/pages.de/common/diff.md @@ -0,0 +1,32 @@ +# diff + +> Vergleiche Dateien und Verzeichnisse. +> Weitere Informationen: . + +- Vergleiche Dateien (Listet jene Veränderungen auf, mit denen `datei1` zu `datei2` wird): + +`diff {{pfad/zu/datei1}} {{pfad/zu/datei2}}` + +- Vergleiche Dateien und ignoriere Leerzeichen: + +`diff {{[-w|--ignore-all-space]}} {{pfad/zu/datei1}} {{pfad/zu/datei2}}` + +- Vergleiche Dateien und zeige Unterschiede nebeneinander: + +`diff {{[-y|--side-by-side]}} {{pfad/zu/datei1}} {{pfad/zu/datei2}}` + +- Vergleiche Dateien und zeige Unterschiede in vereinheitlichtem Format (wie in `git diff`): + +`diff {{[-u|--unified]}} {{pfad/zu/datei1}} {{pfad/zu/datei2}}` + +- Vergleiche Verzeichnisse rekursiv (zeigt sowohl Namen von unterschiedlichen Dateien/Verzeichnissen, als auch Unterschiede zwischen Dateien): + +`diff {{[-r|--recursive]}} {{altes_verzeichnis}} {{neues_verzeichnis}}` + +- Vergleiche Verzeichnisse und zeige nur die Namen der Dateien, die unterschiedlich sind: + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{altes_verzeichnis}} {{neues_verzeichnis}}` + +- Erstelle ein patch-Datei für Git bestehend aus den Unterschieden zweier Dateien und behandle fehlende Dateien als leer: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{pfad/zu/datei1}} {{pfad/zu/datei2}} > {{pfad/zu/diff.patch}}` diff --git a/pages.de/common/dirs.md b/pages.de/common/dirs.md new file mode 100644 index 00000000000000..6f1ae75d639c50 --- /dev/null +++ b/pages.de/common/dirs.md @@ -0,0 +1,21 @@ +# dirs + +> Zuletzt besuchte Ordner anzeigen und verändern. +> Die Liste der zuletzt besuchten Ordner kann mit `pushd` und `popd` verändert werden. +> Weitere Informationen: . + +- Zeige die zuletzt besuchten Ordner durch Leerzeichen getrennt an: + +`dirs` + +- Zeige die zuletzt besuchten Ordner mit einem Eintrag pro Zeile an: + +`dirs -p` + +- Zeige den N-ten Eintrag der zuletzt besuchten Ordner an, beginnend mit 0: + +`dirs +{{N}}` + +- Leere die Liste der zuletzt besuchten Ordner: + +`dirs -c` diff --git a/pages.de/common/docker-build.md b/pages.de/common/docker-build.md new file mode 100644 index 00000000000000..7be592c7464818 --- /dev/null +++ b/pages.de/common/docker-build.md @@ -0,0 +1,32 @@ +# docker build + +> Baut ein Image aus einem Dockerfile. +> Weitere Informationen: . + +- Baue ein Docker Image aus dem Dockerfile im aktuellen Verzeichnis: + +`docker build .` + +- Baue ein Docker Image aus einem Dockerfile an einer angegebenen URL: + +`docker build {{github.com/creack/docker-firefox}}` + +- Baue ein Docker Image und gib ihm einen Tag: + +`docker build {{[-t|--tag]}} {{name:tag}} .` + +- Baue ein Docker Image ohne Build-Kontext: + +`docker build {{[-t|--tag]}} {{name:tag}} - < {{Dockerfile}}` + +- Verwende keinen Cache beim Bauen des Docker Images: + +`docker build --no-cache {{[-t|--tag]}} {{name:tag}} .` + +- Baue ein Docker Image mit einem spezifischen Dockerfile: + +`docker build {{[-f|--file]}} {{Dockerfile}} .` + +- Baue mit benutzerdefinierten Variablen, die während des Bauens zur Verfügung stehen: + +`docker build --build-arg {{HTTP_PROXY=http://10.20.30.2:1234}} --build-arg {{FTP_PROXY=http://40.50.60.5:4567}} .` diff --git a/pages.de/common/docker-compose.md b/pages.de/common/docker-compose.md new file mode 100644 index 00000000000000..58f9937bde090e --- /dev/null +++ b/pages.de/common/docker-compose.md @@ -0,0 +1,36 @@ +# docker compose + +> Starte und verwalte Anwendungen, welche aus mehreren Docker Containern bestehen. +> Weitere Informationen: . + +- Liste alle laufenden Container auf: + +`docker compose ps` + +- Erzeuge und starte alle Container im Hintergrund unter der Verwendung der Datei `docker-compose.yml` im aktuellen Verzeichnis: + +`docker compose up {{[-d|--detach]}}` + +- Starte alle Container. Erzeuge zugehörige Docker Images bei Bedarf neu: + +`docker compose up --build` + +- Starte alle Container durch Angabe eines Projektnamens unter Verwendung einer alternativen Compose-Datei: + +`docker compose {{[-p|--project-name]}} {{Projektname}} {{[-f|--file]}} {{pfad/zu/verzeichnis}} up` + +- Stoppe alle laufenden Container: + +`docker compose stop` + +- Stoppe und entferne alle Container inklusive zugehöriger Netzwerke, Volumes und Images: + +`docker compose down --rmi all {{[-v|--volumes]}}` + +- Zeige die Logs aller Container kontinuierlich an: + +`docker compose logs {{[-f|--follow]}}` + +- Zeige die Logs eines spezifischen Containers kontinuierlich an: + +`docker compose logs {{[-f|--follow]}} {{container_name}}` diff --git a/pages.de/common/docker-container.md b/pages.de/common/docker-container.md new file mode 100644 index 00000000000000..63ccf3f3d8fbd7 --- /dev/null +++ b/pages.de/common/docker-container.md @@ -0,0 +1,36 @@ +# docker container + +> Verwalte Docker Container. +> Weitere Informationen: . + +- Liste zur Zeit laufende Container auf: + +`docker container ls` + +- Starte einen oder mehrere gestoppte Container: + +`docker container start {{container1_name}} {{container2_name}}` + +- Beende einen oder mehrere laufende Container sofort: + +`docker container kill {{container_name}}` + +- Stoppe einen oder mehrere laufende Container: + +`docker container stop {{container_name}}` + +- Pausiere alle Prozesse in einem oder mehreren Containern: + +`docker container pause {{container_name}}` + +- Zeige detaillierte Informationen zu einem oder mehreren Containern an: + +`docker container inspect {{container_name}}` + +- Exportiere das Dateisystem eines Containers als tar Archiv: + +`docker container export {{container_name}}` + +- Erstelle ein neues Image aus den Änderungen eines Containers: + +`docker container commit {{container_name}}` diff --git a/pages.de/common/docker-cp.md b/pages.de/common/docker-cp.md new file mode 100644 index 00000000000000..b067cfc061db1c --- /dev/null +++ b/pages.de/common/docker-cp.md @@ -0,0 +1,16 @@ +# docker cp + +> Kopiere Dateien oder Verzeichnisse zwischen Host- und Container-Dateisystem. +> Weitere Informationen: . + +- Kopiere eine Datei oder ein Verzeichnis vom Host in einen Container: + +`docker cp {{pfad/zu/datei_oder_verzeichnis_auf_host}} {{container_name}}:{{pfad/zu/datei_oder_verzeichnis_in_container}}` + +- Kopiere eine Datei oder ein Verzeichnis von einem Container zum Host: + +`docker cp {{container_name}}:{{pfad/zu/datei_oder_verzeichnis_in_container}} {{pfad/zu/datei_oder_verzeichnis_auf_host}}` + +- Kopiere eine Datei oder ein Verzeichnis vom Host in einen Container und folge dabei Symlinks (kopiert die verlinkten Dateien statt der Symlinks): + +`docker cp {{[-L|--follow-link]}} {{pfad/zu/symlink_auf_host}} {{container_name}}:{{pfad/zu/datei_oder_verzeichnis_in_container}}` diff --git a/pages.de/common/docker-exec.md b/pages.de/common/docker-exec.md new file mode 100644 index 00000000000000..095d8dafdc2e68 --- /dev/null +++ b/pages.de/common/docker-exec.md @@ -0,0 +1,28 @@ +# docker exec + +> Führe Befehle in einem bereits laufenden Docker Container aus. +> Weitere Informationen: . + +- Öffne eine Shell innerhalb eines bereits laufenden Containers: + +`docker exec {{[-it|--interactive --tty]}} {{container_name}} {{/bin/bash}}` + +- Führe einen Befehl im Hintergrund (losgelöst) in einem laufenden Container aus: + +`docker exec {{[-d|--detach]}} {{container_name}} {{befehl}}` + +- Bestimme das Arbeitsverzeichnis, in dem der Befehl ausgeführt werden soll: + +`docker exec {{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{pfad/zu/verzeichnis}} {{container_name}} {{befehl}}` + +- Führe einen Befehl im Hintergrund in einem laufenden Container aus, aber lies von der Standardeingabe: + +`docker exec {{[-i|--interactive]}} {{[-d|--detach]}} {{container_name}} {{befehl}}` + +- Setze eine Umgebungsvariable in einer laufenden Bash Sitzung: + +`docker exec {{[-it|--interactive --tty]}} {{[-e|--env]}} {{variablen_name}}={{wert}} {{container_name}} {{/bin/bash}}` + +- Führe einen Befehl als ein bestimmter Benutzer aus: + +`docker exec {{[-u|--user]}} {{benutzer}} {{container_name}} {{befehl}}` diff --git a/pages.de/common/docker-image.md b/pages.de/common/docker-image.md new file mode 100644 index 00000000000000..b8c1f3d368a705 --- /dev/null +++ b/pages.de/common/docker-image.md @@ -0,0 +1,21 @@ +# docker image + +> Verwalte Docker Images. +> Siehe auch `docker build`, `docker import` und `docker pull`. +> Weitere Informationen: . + +- Liste lokale Docker Images auf: + +`docker image ls` + +- Lösche nicht verwendete, lokale Docker Images: + +`docker image prune` + +- Lösche alle nicht verwendeten Docker Images (nicht nur die ohne Tag): + +`docker image prune --all` + +- Zeige die Geschichte eines lokalen Docker Images: + +`docker image history {{image}}` diff --git a/pages.de/common/docker-images.md b/pages.de/common/docker-images.md new file mode 100644 index 00000000000000..578b98ddce4332 --- /dev/null +++ b/pages.de/common/docker-images.md @@ -0,0 +1,24 @@ +# docker images + +> Verwalte Docker Images. +> Weitere Informationen: . + +- Liste alle Docker Images auf: + +`docker images` + +- Liste alle Docker Images inkl. Zwischen-Images auf: + +`docker images --all` + +- Liste nur die IDs der Docker Images auf: + +`docker images --quiet` + +- Liste alle Docker Images auf, die nicht von einem Container verwendet werden: + +`docker images --filter dangling=true` + +- Liste alle Docker Images mit einer bestimmten Zeichenfolge im Namen auf: + +`docker images "{{*name*}}"` diff --git a/pages.de/common/docker-inspect.md b/pages.de/common/docker-inspect.md new file mode 100644 index 00000000000000..648af647e13598 --- /dev/null +++ b/pages.de/common/docker-inspect.md @@ -0,0 +1,32 @@ +# docker inspect + +> Erhalte tiefgehende Informationen zu Docker Objekten. +> Weitere Informationen: . + +- Zeige Hilfeseite: + +`docker inspect` + +- Zeige Informationen über einen Container, ein Image oder Volume anhand des Namens oder der ID: + +`docker inspect {{container|image|ID}}` + +- Zeige die IP Adresse eines Containers an: + +`docker inspect {{[-f|--format]}} '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{container}}` + +- Zeige den Pfad zur Logdatei eines Containers: + +`docker inspect {{[-f|--format]}} '\{\{.LogPath\}\}' {{container}}` + +- Zeige den Namen des Images eines Containers: + +`docker inspect {{[-f|--format]}} '\{\{.Config.Image\}\}' {{container}}` + +- Zeige die Konfiguration als JSON an: + +`docker inspect {{[-f|--format]}} '\{\{json .Config\}\}' {{container}}` + +- Zeige alle Port Bindings: + +`docker inspect {{[-f|--format]}} '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{container}}` diff --git a/pages.de/common/docker-login.md b/pages.de/common/docker-login.md new file mode 100644 index 00000000000000..7b1abb152cc8f0 --- /dev/null +++ b/pages.de/common/docker-login.md @@ -0,0 +1,20 @@ +# docker login + +> Bei einer Docker Registry einloggen. +> Weitere Informationen: . + +- Interaktives Einloggen bei einer Registry: + +`docker login` + +- Einloggen mit einem angegebenen Benutzernamen (fragt nach dem Passwort): + +`docker login {{[-u|--username]}} {{benutzername}}` + +- Einloggen mit einem angegebenen Benutzernamen und Passwort: + +`docker login {{[-u|--username]}} {{benutzername}} {{[-p|--password]}} {{passwort}} {{server}}` + +- Einloggen mit einem Passwort, welches von `stdin` gelesen wird: + +`echo "{{passwort}}" | docker login {{[-u|--username]}} {{benutzername}} --password-stdin` diff --git a/pages.de/common/docker-logs.md b/pages.de/common/docker-logs.md new file mode 100644 index 00000000000000..3114e1dfd582db --- /dev/null +++ b/pages.de/common/docker-logs.md @@ -0,0 +1,24 @@ +# docker logs + +> Zeige Container Logs. +> Weitere Informationen: . + +- Zeige die Logs eines Containers: + +`docker logs {{container_name}}` + +- Zeige die Logs und aktualisiere sie automatisch: + +`docker logs {{[-f|--follow]}} {{container_name}}` + +- Zeige die letzten 5 Zeilen: + +`docker logs {{container_name}} {{[-n|--tail]}} {{5}}` + +- Zeige die Logs und füge ihnen Zeitstempel hinzu: + +`docker logs {{[-t|--timestamps]}} {{container_name}}` + +- Zeige Logs vor einem bestimmten Zeitpunkt der Ausführung des Containers (bspw. 23m, 10s, 2013-01-02T13:23:37): + +`docker logs {{container_name}} --until {{time}}` diff --git a/pages.de/common/docker-machine.md b/pages.de/common/docker-machine.md new file mode 100644 index 00000000000000..594ed34953797b --- /dev/null +++ b/pages.de/common/docker-machine.md @@ -0,0 +1,28 @@ +# docker-machine + +> Erstelle und verwalte Maschinen, die Docker ausführen. +> Weitere Informationen: . + +- Liste zur Zeit laufende Docker Maschinen auf: + +`docker-machine ls` + +- Erzeuge eine neue Docker Maschine mit einem spezifischen Namen: + +`docker-machine create {{name}}` + +- Zeige den Status einer Maschine: + +`docker-machine status {{name}}` + +- Starte eine Maschine: + +`docker-machine start {{name}}` + +- Stoppe eine Maschine: + +`docker-machine stop {{name}}` + +- Zeige Informationen über eine Maschine: + +`docker-machine inspect {{name}}` diff --git a/pages.de/common/docker-network.md b/pages.de/common/docker-network.md new file mode 100644 index 00000000000000..14dea890d58a79 --- /dev/null +++ b/pages.de/common/docker-network.md @@ -0,0 +1,32 @@ +# docker network + +> Erzeuge und verwalte Docker Netzwerke. +> Weitere Informationen: . + +- Liste alle verfügbaren und konfigurierten Docker Netzwerke auf: + +`docker network ls` + +- Erzeuge ein benutzerdefiniertes Netzwerk: + +`docker network create {{[-d|--driver]}} {{treiber_name}} {{netzwerk_name}}` + +- Zeige detaillierte Informationen der mit Leerzeichen separierten Netzwerke an: + +`docker network inspect {{netzwerk_name}}` + +- Verbinde einen Container mit einem Netzwerk anhand des Namens oder der ID: + +`docker network connect {{netzwerk_name}} {{container_name|ID}}` + +- Trenne einen Container von einem Netzwerk: + +`docker network disconnect {{netzwerk_name}} {{container_name|ID}}` + +- Entferne alle unbenutzten (nicht von Containern referenzierten) Netzwerke: + +`docker network prune` + +- Entferne mehrere - durch Leerzeichen getrennte - Netzwerke: + +`docker network rm {{netzwerk_name}}` diff --git a/pages.de/common/docker-ps.md b/pages.de/common/docker-ps.md new file mode 100644 index 00000000000000..ba2a0e9806e527 --- /dev/null +++ b/pages.de/common/docker-ps.md @@ -0,0 +1,36 @@ +# docker ps + +> Liste Docker Container. +> Weitere Informationen: . + +- Liste zur Zeit laufende Container auf: + +`docker ps` + +- Liste laufende und gestoppte Container auf: + +`docker ps {{[-a|--all]}}` + +- Zeige den zuletzt erstellten Container (berücksichtigt jeden Status): + +`docker ps {{[-l|--latest]}}` + +- Zeige nur Container mit einer bestimmten Zeichenkette im Namen: + +`docker ps {{[-f|--filter]}} "name={{name}}"` + +- Zeige nur Container die von einem bestimmten Image abstammen: + +`docker ps {{[-f|--filter]}} "ancestor={{image}}:{{tag}}"` + +- Zeige nur Container mit einem bestimmten Exit-Code: + +`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{code}}"` + +- Zeige nur Container mit einem bestimmten Status (created, running, removing, paused, exited und dead): + +`docker ps {{[-f|--filter]}} "status={{status}}"` + +- Zeige nur Container, welche einen bestimmten Datenträger oder einen Datenträger an einem bestimmten Pfad eingehängt haben: + +`docker ps {{[-f|--filter]}} "volume={{pfad/zu/verzeichnis}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.de/common/docker-rmi.md b/pages.de/common/docker-rmi.md new file mode 100644 index 00000000000000..6cc7fb81529b16 --- /dev/null +++ b/pages.de/common/docker-rmi.md @@ -0,0 +1,20 @@ +# docker rmi + +> Lösche eines oder mehrere Docker Images. +> Weitere Informationen: . + +- Zeige Hilfe: + +`docker rmi` + +- Lösche eines oder mehrere Docker Images anhand der angegebenen Namen: + +`docker rmi {{image1 image2 ...}}` + +- Erzwinge das Löschen eines Images: + +`docker rmi {{[-f|--force]}} {{image}}` + +- Lösche ein Image aber behalte Eltern-Images ohne Tag: + +`docker rmi --no-prune {{image}}` diff --git a/pages.de/common/docker-run.md b/pages.de/common/docker-run.md new file mode 100644 index 00000000000000..23b2bf3ebaafd6 --- /dev/null +++ b/pages.de/common/docker-run.md @@ -0,0 +1,36 @@ +# docker run + +> Führe einen Befehl in einem neuen Docker Container aus. +> Weitere Informationen: . + +- Führe einen Befehl in einem neuen Docker Container aus und verwende dabei einen bestimmten Tag eines Docker Images: + +`docker run {{image:tag}} {{befehl}}` + +- Führe einen Befehl in einem neuen Container im Hintergrund aus und zeige die ID: + +`docker run {{[-d|--detach]}} {{image}} {{befehl}}` + +- Führe einen Befehl in einem kurzlebigen Container im interaktiven Modus mit einem Pseudo-TTY aus: + +`docker run --rm {{[-it|--interactive --tty]}} {{image}} {{befehl}}` + +- Führe einen Befehl in einem neuen Container mit übergebenen Umgebungsvariablen aus: + +`docker run {{[-e|--env]}} '{{variable}}={{wert}}' {{[-e|--env]}} {{variable}} {{image}} {{befehl}}` + +- Führe einen Befehl in einem neuen Container mit eingebundenen Datenträgern aus: + +`docker run {{[-v|--volume]}} {{pfad/zu/host_verzeichnis}}:{{pfad/zu/container_verzeichnis}} {{image}} {{befehl}}` + +- Führe einen Befehl in einem neuen Container mit veröffentlichten Ports aus: + +`docker run {{[-p|--publish]}} {{host_port}}:{{container_port}} {{image}} {{befehl}}` + +- Führe einen Befehl in einem neuen Container aus und überschreibe den Einstiegspunkt des Images: + +`docker run --entrypoint {{befehl}} {{image}}` + +- Führe einen Befehl in einem neuen Container aus und verbinde ihn mit einem Netzwerk: + +`docker run --network {{netzwerk}} {{image}}` diff --git a/pages.de/common/docker-save.md b/pages.de/common/docker-save.md new file mode 100644 index 00000000000000..5943c98cfec59c --- /dev/null +++ b/pages.de/common/docker-save.md @@ -0,0 +1,20 @@ +# docker save + +> Exportiere eines oder mehrere Docker Images in ein Archiv. +> Weitere Informationen: . + +- Speichere ein Image über die Standardausgabe in ein Tar-Archiv: + +`docker save {{image}}:{{tag}} > {{pfad/zu/datei.tar}}` + +- Speichere ein Image in ein Tar-Archiv: + +`docker save {{[-o|--output]}} {{pfad/zu/datei.tar}} {{image}}:{{tag}}` + +- Speichere alle Tags eines Images: + +`docker save {{[-o|--output]}} {{pfad/zu/datei.tar}} {{image_name}}` + +- Speichere nur bestimmte Tags eines Images: + +`docker save {{[-o|--output]}} {{pfad/zu/datei.tar}} {{image_name:tag1 image_name:tag2 ...}}` diff --git a/pages.de/common/docker-secret.md b/pages.de/common/docker-secret.md new file mode 100644 index 00000000000000..9c7e8898cf228c --- /dev/null +++ b/pages.de/common/docker-secret.md @@ -0,0 +1,24 @@ +# docker secret + +> Verwalte Secrets für Docker Swarm. +> Weitere Informationen: . + +- Erstelle ein neues Secret über die Standardeingabe: + +`{{befehl}} | docker secret create {{secret_name}} -` + +- Erstelle ein neues Secret aus einer Datei: + +`docker secret create {{secret_name}} {{pfad/zu/datei}}` + +- Liste alle Secrets auf: + +`docker secret ls` + +- Zeige detaillierte Informationen zu einem oder mehreren Secrets in einem menschenlesbaren Format: + +`docker secret inspect --pretty {{secret_name1 secret_name2 ...}}` + +- Lösche eines oder mehrere Secrets: + +`docker secret rm {{secret_name1 secret_name2 ...}}` diff --git a/pages.de/common/docker-service.md b/pages.de/common/docker-service.md new file mode 100644 index 00000000000000..8b4537c3b80420 --- /dev/null +++ b/pages.de/common/docker-service.md @@ -0,0 +1,28 @@ +# docker service + +> Verwalte Docker Services. +> Weitere Informationen: . + +- Liste alle Services auf: + +`docker service ls` + +- Erstelle einen neuen Service: + +`docker service create --name {{service_name}} {{image}}:{{tag}}` + +- Zeige detaillierte Informationen der mit Leerzeichen separierten Services an: + +`docker service inspect {{service_name|ID}}` + +- Liste die Tasks der mit Leerzeichen separierten Services auf: + +`docker service ps {{service_name|ID}}` + +- Skaliere die angegebenen Services auf eine bestimmte Anzahl an Replikaten: + +`docker service scale {{service_name}}={{anzahl_an_replikaten}}` + +- Lösche die mit Leerzeichen separierten Services: + +`docker service rm {{service_name|ID}}` diff --git a/pages.de/common/docker-slim.md b/pages.de/common/docker-slim.md new file mode 100644 index 00000000000000..26911d67538963 --- /dev/null +++ b/pages.de/common/docker-slim.md @@ -0,0 +1,24 @@ +# docker-slim + +> Analysiere und optimiere Docker Images. +> Weitere Informationen: . + +- Starte DockerSlim im interaktiven Modus: + +`docker-slim` + +- Analysiere die Docker Layer eines bestimmten Images: + +`docker-slim xray --target {{image:tag}}` + +- Linte ein Dockerfile: + +`docker-slim lint --target {{pfad/zu/Dockerfile}}` + +- Analysiere und generiere ein optimiertes Docker Image: + +`docker-slim build {{image:tag}}` + +- Zeige Hilfe für einen Unterbefehl: + +`docker-slim {{unterbefehl}} --help` diff --git a/pages.de/common/docker-start.md b/pages.de/common/docker-start.md new file mode 100644 index 00000000000000..3c8645f78a1f23 --- /dev/null +++ b/pages.de/common/docker-start.md @@ -0,0 +1,20 @@ +# docker start + +> Starte einen oder mehrere gestoppte Container. +> Weitere Informationen: . + +- Zeige Hilfe: + +`docker start` + +- Starte einen Docker Container: + +`docker start {{container}}` + +- Starte einen Container und verbinde dich mit der Standardausgabe sowie der Standardfehlerausgabe und leite Signale weiter: + +`docker start {{[-a|--attach]}} {{container}}` + +- Starte einen oder mehrere durch Leerzeichen getrennte Container: + +`docker start {{container1 container2 ...}}` diff --git a/pages.de/common/docker-stats.md b/pages.de/common/docker-stats.md new file mode 100644 index 00000000000000..c406b860ed3276 --- /dev/null +++ b/pages.de/common/docker-stats.md @@ -0,0 +1,24 @@ +# docker stats + +> Zeige den Ressourcen-Verbrauch von Containern in Echtzeit. +> Weitere Informationen: . + +- Zeige sich stetig aktualisierende Statistiken von allen laufenden Containern: + +`docker stats` + +- Zeige sich stetig aktualisierende Statistiken der durch Leerzeichen getrennten Container: + +`docker stats {{container_name}}` + +- Ändere das Spaltenformat um die CPU Auslastung von Containern in Prozent anzuzeigen: + +`docker stats --format "{{.Name}}:\t{{.CPUPerc}}"` + +- Zeige Statistiken für alle Container (laufende und gestoppte): + +`docker stats {{[-a|--all]}}` + +- Deaktiviere die laufende Aktualisierung und zeige nur die aktuellen Statistiken: + +`docker stats --no-stream` diff --git a/pages.de/common/docker-swarm.md b/pages.de/common/docker-swarm.md new file mode 100644 index 00000000000000..835921c9c1e876 --- /dev/null +++ b/pages.de/common/docker-swarm.md @@ -0,0 +1,32 @@ +# docker swarm + +> Ein Container-Orchestrierungswerkzeug. +> Weitere Informationen: . + +- Initialisiere ein Swarm Cluster: + +`docker swarm init` + +- Zeige den Token um als Manager oder Worker beizutreten: + +`docker swarm join-token {{worker|manager}}` + +- Füge dem Cluster eine neue Node hinzu: + +`docker swarm join --token {{token}} {{manager_node_url:2377}}` + +- Entferne einen Worker vom Swarm (führe dies auf der Worker Node aus): + +`docker swarm leave` + +- Zeige die aktuellen CA Zertifikate im PEM Format: + +`docker swarm ca` + +- Rotiere die aktuellen CA Zertifikate und zeige die neuen Zertifikate: + +`docker swarm ca --rotate` + +- Ändere die Gültigkeitsdauer für Node-Zertifikate: + +`docker swarm update --cert-expiry {{stunden}}h{{minuten}}m{{sekunden}}s` diff --git a/pages.de/common/docker-system.md b/pages.de/common/docker-system.md new file mode 100644 index 00000000000000..caa6cc1551f631 --- /dev/null +++ b/pages.de/common/docker-system.md @@ -0,0 +1,36 @@ +# docker system + +> Verwalte Docker Daten und zeige systemweite Informationen an. +> Weitere Informationen: . + +- Zeige Hilfe: + +`docker system` + +- Zeige Docker Festplattennutzung: + +`docker system df` + +- Zeige detaillierte Informationen zur Festplattennutzung: + +`docker system df {{[-v|--verbose]}}` + +- Entferne nicht-verwendete Daten: + +`docker system prune` + +- Entferne nicht-verwendete Daten, die älter als die angegebene Zeit sind: + +`docker system prune --filter "until={{stunden}}h{{minuten}}m"` + +- Zeige Echtzeit-Events vom Docker Daemon: + +`docker system events` + +- Zeige Echtzeit-Events von Containern und formatiere jede Zeile als gültiges JSON: + +`docker system events {{[-f|--filter]}} 'type=container' --format '{{json .}}'` + +- Zeige systemweite Informationen: + +`docker system info` diff --git a/pages.de/common/docker.md b/pages.de/common/docker.md index ded1de99c65187..3c5da8fbb39bc0 100644 --- a/pages.de/common/docker.md +++ b/pages.de/common/docker.md @@ -1,36 +1,37 @@ # docker -> Zum Verwalten von Docker Containern und Images. -> Mehr Informationen: . +> Verwalte Docker Container und Images. +> Manche Unterbefehle wie `run` sind separat dokumentiert. +> Weitere Informationen: . -- Zur Zeit laufende Container auflisten: +- Liste laufende und gestoppte Container auf: -`docker ps` - -- Alle Container auflisten (laufende und gestoppte): - -`docker ps -a` +`docker ps {{[-a|--all]}}` - Erzeuge einen Container aus einem Image und benenne ihn: `docker run --name {{container_name}} {{image}}` -- Einen existierenden Container starten oder stoppen: +- Stoppe oder starte einen existierenden Container: `docker {{start|stop}} {{container_name}}` -- Ein Image herunterladen: +- Lade ein Image herunter: `docker pull {{image}}` -- Eine Konsole innerhalb eines bereits laufenden Containers öffnen: +- Zeige eine Liste der bereits heruntergeladenen Images an: + +`docker images` + +- Öffne eine Konsole innerhalb eines bereits laufenden Containers: -`docker exec -it {{container_name}} {{sh}}` +`docker exec {{[-it|--interactive --tty]}} {{container_name}} {{sh}}` -- Einen gestoppten Container löschen: +- Lösche einen gestoppten Container: `docker rm {{container_name}}` -- Die Logs eines Containers anzeigen und automatisch aktualisieren: +- Zeige die Logs eines Containers an und aktualisiere sie automatisch: -`docker logs -f {{container_name}}` +`docker logs {{[-f|--follow]}} {{container_name}}` diff --git a/pages.de/common/dotnet.md b/pages.de/common/dotnet.md index a9cb00261113e6..d69c675ef7081a 100644 --- a/pages.de/common/dotnet.md +++ b/pages.de/common/dotnet.md @@ -1,20 +1,21 @@ # dotnet -> Plattformübergreifende Kommandozeilenandwendungen für .NET Core. -> Mehr Informationen: . +> Plattformübergreifende Kommandozeilenanwendungen für .NET Core. +> Manche Unterbefehle wie `build` sind separat dokumentiert. +> Weitere Informationen: . -- Ein neues .NET Projekt initialisieren: +- Initialisiere ein neues .NET Projekt: -`dotnet new {{template_name}}` +`dotnet new {{vorlagen_name}}` -- nuget-Pakete wiederherstellen: +- Stelle nuget-Pakete wieder her: `dotnet restore` -- Das .NET Projekt im aktuellen Ordner bauen und ausführen: +- Baue des .NET Projekt im aktuellen Ordner und führe es aus: `dotnet run` -- Eine gebaute dotnet-Applikation ausführen (Benötigt nur die Laufzeitumgebung. Die anderen Befehle benötigen auch den Entwicklungsteil): +- Führe eine gebaute dotnet-Applikation aus (Benötigt nur die Laufzeitumgebung. Die anderen Befehle benötigen auch den Entwicklungsteil): -`dotnet {{Pfad/zur/Anwendung.dll}}` +`dotnet {{pfad/zu/anwendung.dll}}` diff --git a/pages.de/common/du.md b/pages.de/common/du.md new file mode 100644 index 00000000000000..23f3abbf64da4c --- /dev/null +++ b/pages.de/common/du.md @@ -0,0 +1,28 @@ +# du + +> Disk usage: Plattenplatzverbrauch von Dateien und Verzeichnissen ermitteln. +> Weitere Informationen: . + +- Liste die Größe von Verzeichnissen und Unterverzeichnissen in den gegebenen Einheiten (B/KiB/MiB) auf: + +`du -{{b|k|m}} {{pfad/zu/verzeichnis}}` + +- Liste die Größe von Verzeichnissen und Unterverzeichnissen in menschenlesbaren Einheiten auf (d.h. automatische Auswahl der geeigneten Einheit für jede Größe): + +`du {{[-h|--human-readable]}} {{pfad/zu/verzeichnis}}` + +- Zeige die Größe eines einzelnen Verzeichnisses in menschenlesbaren Einheiten: + +`du {{[-sh|--summarize --human-readable]}} {{pfad/zu/verzeichnis}}` + +- Liste die Größe von Verzeichnissen und Unterverzeichnissen und aller ihrer Dateien in menschenlesbaren Einheiten auf: + +`du {{[-ah|--all --human-readable]}} {{pfad/zu/verzeichnis}}` + +- Liste die menschenlesbaren Größen eines Verzeichnisses und aller Unterverzeichnisse, bis zu einer Tiefe von `N` Ebenen: + +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{pfad/zu/verzeichnis}}` + +- Liste die menschenlesbare Größe aller `.jpg`-Dateien in Unterverzeichnissen des aktuellen Verzeichnisses auf und zeige am Ende die kumulierte Gesamtsumme an: + +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` diff --git a/pages.de/common/duf.md b/pages.de/common/duf.md new file mode 100644 index 00000000000000..6c90e5db9c5748 --- /dev/null +++ b/pages.de/common/duf.md @@ -0,0 +1,20 @@ +# duf + +> Festplattennutzung/freie Verwendbarkeit. +> Weitere Informationen: . + +- Liste zugängliche Geräte auf: + +`duf` + +- Liste alles auf (auch pseudo-, doppelte oder unzugängliche Dateisysteme): + +`duf --all` + +- Zeige nur konkrete Geräte oder Mountpoints: + +`duf {{pfad/zu/verzeichnis1 pfad/zu/verzeichnis2 ...}}` + +- Sortiere die Ergebnisse nach einem spezifischen Kriterium: + +`duf --sort {{size|used|avail|usage}}` diff --git a/pages.de/common/dust.md b/pages.de/common/dust.md new file mode 100644 index 00000000000000..2d8fecba54e2fd --- /dev/null +++ b/pages.de/common/dust.md @@ -0,0 +1,32 @@ +# dust + +> Dust gib einen sofortigen Überblick, welche Verzeichnisse Festplatten Speicherplatz benutzen. +> Weitere Informationen: . + +- Informationen für das aktuelle Verzeichnis anzeigen: + +`dust` + +- Informationen für eine durch Leerzeichen getrennte Liste von Verzeichnissen anzeigen: + +`dust {{pfad/zu/verzeichnis1 pfad/zu/verzeichnis2 ...}}` + +- Zeige 30 Verzeichnisse an (Standardwert: 21): + +`dust --number-of-lines 30` + +- Zeigt Informationen für das aktuelle Verzeichnis an, bis zu 3 Ebenen tief: + +`dust --depth 3` + +- Die größten Verzeichnisse in absteigender Reihenfolge oben anzeigen: + +`dust --reverse` + +- Alle Dateien und Verzeichnisse mit einem bestimmten Namen ignorieren: + +`dust --ignore-directory {{datei_oder_verzeichnis_name}}` + +- Keine Prozentbalken und Prozente anzeigen: + +`dust --no-percent-bars` diff --git a/pages.de/common/ebook-convert.md b/pages.de/common/ebook-convert.md new file mode 100644 index 00000000000000..a9d8c486859b78 --- /dev/null +++ b/pages.de/common/ebook-convert.md @@ -0,0 +1,13 @@ +# ebook-convert + +> Kann verwendet werden, um E-Books zu geläufigen Dateiformaten umzuwandeln, z.B. PDF, EPUB und MOBI. +> Teil der Calibre e-book library. +> Weitere Informationen: . + +- Konvertiere ein E-Book in ein anderes Format: + +`ebook-convert {{pfad/zu/input_datei}} {{pfad/zu/output_datei}}` + +- Konvertiere eine Markdown- oder HTML Datei zu einem E-Book inklusive Inhaltsverzeichnis, Titel und Autoren: + +`ebook-convert {{pfad/zu/input_datei}} {{pfad/zu/output_datei}} --level1-toc="//h:h1" --level2-toc="//h:h2" --level3-toc="//h:h3" --title={{titel}} --authors={{autor}}` diff --git a/pages.de/common/echo.md b/pages.de/common/echo.md new file mode 100644 index 00000000000000..c528930e5e85f3 --- /dev/null +++ b/pages.de/common/echo.md @@ -0,0 +1,24 @@ +# echo + +> Gib angegebene Argumente aus. +> Weitere Informationen: . + +- Gib einen Text aus. (Hinweis: Anführungszeichen sind optional): + +`echo "{{Hallo Welt}}"` + +- Gib einen Text mit Umgebungsvariablen aus: + +`echo "{{Liste aller Systempfade: $PATH}}"` + +- Gib einen Text ohne darauffolgenden Zeilenumbruch aus: + +`echo -n "{{Hallo Welt}}"` + +- Füge einen Text in eine Datei ein: + +`echo "{{Hallo Welt}}" >> {{datei.txt}}` + +- Ermögliche Interpretation von Fluchtsymbolen (backslash escape): + +`echo -e "{{Spalte 1\tSpalte 2}}"` diff --git a/pages.de/common/emacs.md b/pages.de/common/emacs.md index 96525b7017a47e..54ddb20d677952 100644 --- a/pages.de/common/emacs.md +++ b/pages.de/common/emacs.md @@ -1,24 +1,33 @@ # emacs -> Der erweiterbare, veränderbare, selbst-dokumentierende Echtzeit Text Editor. -> Mehr Informationen: . +> Der erweiterbare, veränderbare und selbst-dokumentierende Echtzeit Text Editor. +> Siehe auch `emacsclient`. +> Weitere Informationen: . -- Starten von Emacs in der Konsole (ohne X-Fenster): +- Öffne eine Datei in Emacs: -`emacs -nw` +`emacs {{pfad/zu/datei}}` -- Öffnen einer Datei: +- Öffne eine Datei in einer bestimmten Zeile: -`emacs {{Pfad/zur/Datei}}` +`emacs +{{zeilennummer}} {{pfad/zu/datei}}` -- Tastenkombination zum Speichern einer Datei: +- Starte Emacs in der Konsole (ohne X-Fenster): -`Ctrl + X, Ctrl + S` +`emacs {{[-nw|--no-window-system]}}` -- Tastenkombination zum Beenden von Emacs: +- Starte einen Emacs-Server im Hintergrund (aufrufbar mit `emacsclient`): + +`emacs --daemon` + +- Beende einen laufenden Emacs-Server und alle Instanzen und frage nach Bestätigung für ungespeicherte Dateien: -`Ctrl + X, Ctrl + C` +`emacsclient --eval '(save-buffers-kill-emacs)'` -- Öffnen einer Datei in einer bestimmten Zeile: +- Tastenkombination zum Speichern einer Datei: + +`` + +- Tastenkombination zum Beenden von Emacs: -`emacs +{{Zeilen-Nummer}} {{Pfad/zur/Datei}}` +`` diff --git a/pages.de/common/emacsclient.md b/pages.de/common/emacsclient.md index 5723a97303bae1..8467e17277588d 100644 --- a/pages.de/common/emacsclient.md +++ b/pages.de/common/emacsclient.md @@ -1,24 +1,29 @@ # emacsclient -> Öffnet Dateien in einem bestehenden Emacs Server. -> Mehr Informationen: . +> Öffnet Dateien in einem laufenden Emacs-Server. +> Siehe auch `emacs`. +> Weitere Informationen: . -- Öffnen einer Datei (direkt in der GUI wenn möglich): +- Öffne eine Datei in einem laufenden Emacs-Server (mit GUI wenn möglich): -`emacsclient {{Datei-Name}}` +`emacsclient {{pfad/zu/datei}}` -- Öffnen einer Datei innerhalb der Konsole (ohne X-Fenster): +- Öffne eine Datei in der Konsole (ohne X-Fenster): -`emacsclient -nw {{Datei-Name}}` +`emacsclient --no-window-system {{pfad/zu/datei}}` -- Öffnen einer Datei in Emacs mit direktem Zurückkehren in die Konsole: +- Öffne eine Datei in einem neuen Emacs Fenster: -`emacsclient -n {{Datei-Name}}` +`emacsclient --create-frame {{pfad/zu/datei}}` -- Öffnen einer Datei in einem neuen Emacs Fenster: +- Führe einen Befehl aus und schreibe das Ergebnis in `stdout`: -`emacsclient -c {{Datei-Name}}` +`emacsclient --eval '({{befehl}})'` -- Ausführen eines Kommandos in einem neuen Emacs Fenster: +- Gib einen alternativen Editor an für den Fall, dass kein Emacs-Server läuft: -`emacsclient -c -e '({{Kommando}})'` +`emacsclient --alternate-editor {{editor}} {{pfad/zu/datei}}` + +- Beende einen laufenden Emacs-Server und alle Instanzen und frage nach Bestätigung für ungespeicherte Dateien: + +`emacsclient --eval '(save-buffers-kill-emacs)'` diff --git a/pages.de/common/eslint.md b/pages.de/common/eslint.md new file mode 100644 index 00000000000000..d625d79b5c36d0 --- /dev/null +++ b/pages.de/common/eslint.md @@ -0,0 +1,20 @@ +# eslint + +> Ein erweiterbarer Linter für JavaScript und JSX. +> Weitere Informationen: . + +- Erstelle eine ESLint-Konfigurationsdatei: + +`eslint --init` + +- Linte Dateien: + +`eslint {{pfad/zu/datei1.js pfad/zu/datei2.js ...}}` + +- Behebe Lintingfehler: + +`eslint --fix` + +- Linte mit einer Konfigurationsdatei: + +`eslint -c {{pfad/zu/konfigurationsdatei}} {{pfad/zu/datei1.js pfad/zu/datei2.js ...}}` diff --git a/pages.de/common/exa.md b/pages.de/common/exa.md index bb911d8a637e49..6c525280b54169 100644 --- a/pages.de/common/exa.md +++ b/pages.de/common/exa.md @@ -1,28 +1,36 @@ # exa > Ein moderner Ersatz für `ls` (Verzeichnisinhalte auflisten). -> Mehr Informationen: . +> Weitere Informationen: . -- Listet pro Zeile eine Datei auf: +- Liste eine Datei pro Zeile auf: -`exa --oneline` +`exa {{[-1|--oneline]}}` -- Alle Dateien auflisten, einschließlich versteckter Dateien: +- Liste alle Dateien auf, einschließlich versteckter Dateien: -`exa --all` +`exa {{[-a|--all]}}` -- Lange Formatliste (Berechtigungen, Eigentümer, Größe und Änderungsdatum) aller Dateien: +- Liste alle Dateien im langen Format auf (Berechtigungen, Eigentümer, Größe und Änderungsdatum): -`exa --long --all` +`exa {{[-l|--long]}} {{[-a|--all]}}` -- Listen Sie die Dateien mit den größten oben auf: +- Liste Dateien nach Größe absteigend sortiert auf: -`exa --reverse --sort={{size}}` +`exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` -- Zeigt Dateien in einer Baumstruktur an, der drei Ebenen tief ist: +- Zeige Dateien in einer Baumstruktur an, die drei Ebenen tief ist: -`exa --long --tree --level={{3}}` +`exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}` -- Dateien nach Änderungsdatum sortiert auflisten (älteste zuerst) +- Liste Dateien nach Änderungsdatum aufsteigend sortiert auf: -`exa --long --sort={{modified}}` +`exa {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` + +- Liste Dateien inklusive Header, Icons und Git-Status: + +`exa {{[-l|--long]}} {{[-h|--header]}} --icons --git` + +- Liste keine Dateien auf, die in `.gitignore` erwähnt werden: + +`exa --git-ignore` diff --git a/pages.de/common/exit.md b/pages.de/common/exit.md new file mode 100644 index 00000000000000..5c75acb2fe1b1d --- /dev/null +++ b/pages.de/common/exit.md @@ -0,0 +1,12 @@ +# exit + +> Verlasse die Shell. +> Weitere Informationen: . + +- Beende die Shell mit dem Exitcode des zuletzt ausgeführten Befehls: + +`exit` + +- Beende die Shell mit dem angegebenen Exitcode: + +`exit {{exitcode}}` diff --git a/pages.de/common/export.md b/pages.de/common/export.md new file mode 100644 index 00000000000000..5d6b9f61f9754b --- /dev/null +++ b/pages.de/common/export.md @@ -0,0 +1,20 @@ +# export + +> Befehl zum Markieren von Shell-Variablen in der aktuellen Umgebung, die mit allen neu abgezweigten Unterprozessen exportiert werden sollen. +> Weitere Informationen: . + +- Lege eine neue Umgebungsvariable fest: + +`export {{variable}}={{wert}}` + +- Entferne eine Umgebungsvariable: + +`export -n {{variable}}` + +- Markiere eine Shell-Funktion für den Export: + +`export -f {{funktionsname}}` + +- Hänge etwas an die PATH-Variable an: + +`export PATH=$PATH:{{pfad/zu/anhängen}}` diff --git a/pages.de/common/fastd.md b/pages.de/common/fastd.md new file mode 100644 index 00000000000000..e51830a2600a78 --- /dev/null +++ b/pages.de/common/fastd.md @@ -0,0 +1,29 @@ +# fastd + +> VPN daemon. +> Arbeitet auf Schicht 2 oder Schicht 3, unterstützt verschiedene Verschlüsselungsmethoden, wird von Freifunk verwendet. +> Weitere Informationen: . + +- Starte `fastd` mit einer bestimmten Konfigurationsdatei: + +`fastd --config {{pfad/zu/fastd.conf}}` + +- Starte einen Schicht-3-VPN mit einer MTU von 1400 und lade den Rest der Konfigurationsparameter aus einer Datei: + +`fastd --mode {{tap}} --mtu {{1400}} --config {{pfad/zu/fastd.conf}}` + +- Validiere eine Konfigurationsdatei: + +`fastd --verify-config --config {{pfad/zu/fastd.conf}}` + +- Generiere einen neuen Schlüssel: + +`fastd --generate-key` + +- Zeige den öffentlichen Schlüssel zu einem privaten Schlüssel in einer Konfigurationsdatei an: + +`fastd --show-key --config {{pfad/zu/fastd.conf}}` + +- Zeige die aktuelle Version an: + +`fastd -v` diff --git a/pages.de/common/fdroid.md b/pages.de/common/fdroid.md new file mode 100644 index 00000000000000..500392fa620035 --- /dev/null +++ b/pages.de/common/fdroid.md @@ -0,0 +1,29 @@ +# fdroid + +> F-Droid Build Tool. +> F-Droid ist ein installierbarer Katalog mit FOSS (Freie Open Source Software) Apps für Android. +> Weitere Informationen: . + +- Kompiliere eine bestimmte App: + +`fdroid build {{app_id}}` + +- Kompiliere eine bestimmte App in einer Build-Server-VM: + +`fdroid build {{app_id}} --server` + +- Veröffentliche die App im lokalen Repository: + +`fdroid publish {{app_id}}` + +- Installiere die App auf jedem verbundenen Gerät: + +`fdroid install {{app_id}}` + +- Überprüfe, ob die Metadaten korrekt formatiert sind: + +`fdroid lint --format {{app_id}}` + +- Korrigiere die Formatierung automatisch (wenn möglich): + +`fdroid rewritemeta {{app_id}}` diff --git a/pages.de/common/fdroidcl.md b/pages.de/common/fdroidcl.md new file mode 100644 index 00000000000000..973d4b7b99982b --- /dev/null +++ b/pages.de/common/fdroidcl.md @@ -0,0 +1,24 @@ +# fdroidcl + +> F-Droid CLI (Command-line Interface) Client. +> Weitere Informationen: . + +- Aktualisiere den Index: + +`fdroidcl update` + +- Zeige Informationen über eine App: + +`fdroidcl show {{app_id}}` + +- Lade eine apk-Datei herunter: + +`fdroidcl download {{app_id}}` + +- Suche nach einer App im Index: + +`fdroidcl search {{suchmuster}}` + +- Installiere eine App auf einem verbundenen Gerät: + +`fdroidcl install {{app_id}}` diff --git a/pages.de/common/ffmpeg.md b/pages.de/common/ffmpeg.md index a337c06f8b1ece..bc187698bf50e5 100644 --- a/pages.de/common/ffmpeg.md +++ b/pages.de/common/ffmpeg.md @@ -1,36 +1,32 @@ # ffmpeg > Programm zum konvertieren von Videos. -> Mehr Informationen: . +> Weitere Informationen: . -- Extrahiere den Ton eines Videos und speichere als MP3: +- Extrahiere den Ton eines Videos und speichere ihn als MP3: -`ffmpeg -i {{video.mp4}} -vn {{audio}}.mp3` +`ffmpeg -i {{pfad/zu/video.mp4}} -vn {{pfad/zu/audio}}.mp3` -- Konvertiere Frames eines Videos oder Gifs zu individuellen, numerierten Bildern: +- Kombiniere nummerierte Bilder (`frame_1.jpg`, `frame_2.jpg`, etc) in ein Video oder Gif: -`ffmpeg -i {{video.mpg|video.gif}} {{frame_%d.png}}` - -- Kombiniere numerierte Bilder (frame_1.jpg, frame_2.jpg, etc) in ein Video oder Gif: - -`ffmpeg -i {{frame_%d.jpg}} -f bild2 {{video.mpg|video.gif}}` +`ffmpeg -i {{pfad/zu/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` - Extrahiere einen einzelnen Frame von einem Video bei mm:ss and speichere als 128x128 Bild: -`ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -frames 1 -s {{128x128}} -f bild2 {{bild.png}}` +`ffmpeg -ss {{mm:ss}} -i {{pfad/zu/video.mp4}} -frames 1 -s {{128x128}} -f image2 {{pfad/zu/bild.png}}` -- Trimme ein video von mm:ss bis mm2:ss2 (Ohne -to bis zum ende des Videos): +- Trimme ein Video von mm:ss bis mm2:ss2 (Ohne -to bis zum Ende des Videos): -`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{video.mp4}} -codec copy {{output.mp4}}` +`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{pfad/zu/video/video.mp4}} {{[-c|-codec]}} copy {{pfad/zu/output.mp4}}` -- Konvertiere AVI Video zu MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23: +- Konvertiere ein AVI Video zu MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23: -`ffmpeg -i {{input_video}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{output_video}}.mp4` +`ffmpeg -i {{pfad/zu/input_video}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{pfad/zu/output_video}}.mp4` -- Remuxe MKV Video zu MP4 ohne neu Audio oder Video streams neu zu Kodieren: +- Remuxe ein MKV Video zu MP4 ohne Audio oder Video streams neu zu codieren: -`ffmpeg -i {{input_video}}.mkv -codec copy {{output_video}}.mp4` +`ffmpeg -i {{pfad/zu/input_video}}.mkv {{[-c|-codec]}} copy {{pfad/zu/output_video}}.mp4` -- Konvertiere MP4 video zu VP9. Für beste Qualität, nutze einen CRF Wert (Empfohlen 15-35) und -b:video MUSS 0 sein: +- Konvertiere ein MP4 video zu VP9. Für beste Qualität, nutze einen CRF Wert von 15 bis 35 und -b:v MUSS 0 sein: -`ffmpeg -i {{input_video}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{number_of_threads}} {{output_video}}.webm` +`ffmpeg -i {{pfad/zu/input_video}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{thread_anzahl}} {{pfad/zu/output_video}}.webm` diff --git a/pages.de/common/ffprobe.md b/pages.de/common/ffprobe.md new file mode 100644 index 00000000000000..fa8194af136b4f --- /dev/null +++ b/pages.de/common/ffprobe.md @@ -0,0 +1,24 @@ +# ffprobe + +> Multimedia Stream Analysierer. +> Weitere Informationen: . + +- Zeige alle verfügbaren Stream-Informationen einer Medien-Datei an: + +`ffprobe -v error -show_streams {{datei.mp4}}` + +- Zeige die Spieldauer an: + +`ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {{datei.mp4}}` + +- Zeige die Bildfrequenz eines Videos an: + +`ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 {{datei.mp4}}` + +- Zeige die Breite (width) oder Höhe (height) eines Videos an: + +`ffprobe -v error -select_streams v:0 -show_entries stream={{width|height}} -of default=noprint_wrappers=1:nokey=1 {{datei.mp4}}` + +- Zeige die durchschnittliche Bitrate eines Videos an: + +`ffprobe -v error -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1:nokey=1 {{datei.mp4}}` diff --git a/pages.de/common/ffsend.md b/pages.de/common/ffsend.md new file mode 100644 index 00000000000000..4b15294cf0e78d --- /dev/null +++ b/pages.de/common/ffsend.md @@ -0,0 +1,24 @@ +# ffsend + +> Teile Dateien einfach und sicher in der Command-line. +> Weitere Informationen: . + +- Lade eine Datei hoch: + +`ffsend upload {{pfad/zu/datei}}` + +- Lade eine Datei herunter: + +`ffsend download {{url}}` + +- Lade eine Datei mit Passwort hoch: + +`ffsend upload {{pfad/zu/datei}} {{[-p|--password]}} {{passwort}}` + +- Lade eine passwortgeschützte Datei herunter: + +`ffsend download {{url}} {{[-p|--password]}} {{passwort}}` + +- Lade eine Datei hoch und erlaube maximal 4 Downloads: + +`ffsend upload {{pfad/zu/datei}} {{[-d|--downloads]}} {{4}}` diff --git a/pages.de/common/fg.md b/pages.de/common/fg.md new file mode 100644 index 00000000000000..794de7d04186e4 --- /dev/null +++ b/pages.de/common/fg.md @@ -0,0 +1,12 @@ +# fg + +> Bringt Prozesse in den Vordergrund. +> Weitere Informationen: . + +- Bringe zuletzt suspendierten Prozess in den Vordergrund: + +`fg` + +- Bringe einen bestimmten Prozess in den Vordergrund: + +`fg %{{prozess_id}}` diff --git a/pages.de/common/file.md b/pages.de/common/file.md new file mode 100644 index 00000000000000..c65b8d13fbcfa3 --- /dev/null +++ b/pages.de/common/file.md @@ -0,0 +1,24 @@ +# file + +> Bestimmen des Dateityps. +> Weitere Informationen: . + +- Gibt eine Beschreibung des Typs der angegebenen Datei zurück. Funktioniert bei Dateien ohne Dateiendung: + +`file {{dateiname}}` + +- Bestimmt die Dateityp(en) in einer gezippten Datei: + +`file {{[-z|--uncompress]}} {{archiv.zip}}` + +- Zulassen, dass die Datei mit speziellen oder Gerätedateien arbeitet: + +`file {{[-s|--special-files]}} {{dateiname}}` + +- Hört nicht bei der ersten Dateityp-Übereinstimmung auf; weitermachen bis zum Ende der Datei: + +`file {{[-k|--keep-going]}} {{dateiname}}` + +- Bestimmen des MIME-Codierungstyp einer Datei: + +`file {{[-i|--mime]}} {{dateiname}}` diff --git a/pages.de/common/find.md b/pages.de/common/find.md new file mode 100644 index 00000000000000..b73b40d3f70a75 --- /dev/null +++ b/pages.de/common/find.md @@ -0,0 +1,36 @@ +# find + +> Dateien oder Verzeichnisse in einem Verzeichnisbaum rekursiv suchen. +> Weitere Informationen: . + +- Dateien nach Erweiterung suchen: + +`find {{root_path}} -name '{{*.ext}}'` + +- Suche Dateien, die mehreren Pfad-/Namensmustern entsprechen: + +`find {{root_path}} -path '{{*/path/*/*.ext}}' -or -name '{{*pattern*}}'` + +- Suche Verzeichnisse, die ohne Berücksichtigung der Groß- und Kleinschreibung einem bestimmten Namensmustern entsprechen: + +`find {{root_path}} -type d -iname '{{*lib*}}'` + +- Suche Dateien, die einem bestimmten Namensmustern entsprechen, unter Ausschluss bestimmter Pfade: + +`find {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- Suche Dateien, die einem bestimmten Größenbereich entsprechen, wobei die rekursive Tiefe auf "1" begrenzt wird: + +`find {{root_path}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- Führe für jede Datei einen Befehl aus (verwende `{}` innerhalb des Befehls, um auf den Dateinamen zuzugreifen): + +`find {{root_path}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- Finde alle heute geänderten Dateien und übergebe die Ergebnisse als Argumente an einen einzelnen Befehl: + +`find {{root_path}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` + +- Suche leere Dateien oder Verzeichnisse, gebe diese aus und lösche diese: + +`find {{root_path}} -type {{f|d}} -empty -delete -print` diff --git a/pages.de/common/firefox.md b/pages.de/common/firefox.md new file mode 100644 index 00000000000000..0783077ebb5be9 --- /dev/null +++ b/pages.de/common/firefox.md @@ -0,0 +1,36 @@ +# firefox + +> Ein gratis Open Source Internet Browser. +> Weitere Informationen: . + +- Starte Firefox und öffne eine Website: + +`firefox {{https://www.duckduckgo.com}}` + +- Öffne ein neues Fenster: + +`firefox --new-window {{https://www.duckduckgo.com}}` + +- Öffne ein privates (Inkognito) Fenster: + +`firefox --private-window` + +- Suche nach "wikipedia" mit der Standard-Suchmaschine: + +`firefox --search "{{wikipedia}}"` + +- Starte Firefox im sicheren Modus (alle Erweiterungen sind deaktiviert): + +`firefox --safe-mode` + +- Erstelle eine Bildschirmaufnahme einer Website, ohne die GUI zu starten: + +`firefox --headless --screenshot {{pfad/zu/ausgabedatei.png}} {{https://beispiel.de/}}` + +- Verwende ein bestimmtes Profil um mehrere einzelne Instanzen gleichzeitig laufen zu lassen: + +`firefox --profile {{pfad/zu/verzeichnis}} {{https://beispiel.de/}}` + +- Lege Firefox als Standard-Browser fest: + +`firefox --setDefaultBrowser` diff --git a/pages.de/common/fish.md b/pages.de/common/fish.md index 77d1844e5e20a3..c86d2cb2999294 100644 --- a/pages.de/common/fish.md +++ b/pages.de/common/fish.md @@ -2,28 +2,32 @@ > The Friendly Interactive SHell. > Eine benutzerfreundliche Eingabeaufforderung. -> Mehr Informationen: . +> Weitere Informationen: . -- Starte interaktive Eingabeaufforderung: +- Starte eine interaktive Shell-Sitzung: `fish` -- Führe einen Befehl aus: +- Starte eine interaktive Shell-Sitzung ohne die Start-Konfiguration zu laden: -`fish -c "{{befehl}}"` +`fish {{[-N|--no-config]}}` -- Führe Befehle von Datei aus: +- Führe einen bestimmten Befehl aus: -`fish {{datei.fish}}` +`fish {{[-c|--command]}} "{{echo 'fish wird ausgeführt'}}"` -- Überprüfe eine Datei auf Syntax Fehler: +- Führe ein bestimmtes Skript aus: -`fish --no-execute {{datei.fish}}` +`fish {{pfad/zu/skript.fish}}` -- Zeige Informationen über derzeitige Version und schließe: +- Überprüfe ein bestimmtes Skript auf Syntaxfehler: -`fish --version` +`fish {{[-N|--no-execute]}} {{pfad/zu/skript.fish}}` -- Setze und exportiere Umgebungsvariabeln die nach einem Neustart weiter bestehen: +- Starte eine private, interaktive Shell-Sitzung, in der fish weder auf die Shell-History zugreift, noch diese verändert: -`set -Ux {{variable_name}} {{variable_wert}}` +`fish {{[-P|--private]}}` + +- Definiere und exportiere eine Umgebungsvariable, die über mehrere Shell-Neustarts hinweg existiert (builtin): + +`set {{[-U|--universal]}} {{[-x|--export]}} {{variablenname}} {{variablenwert}}` diff --git a/pages.de/common/flutter.md b/pages.de/common/flutter.md new file mode 100644 index 00000000000000..0db094d906c9d6 --- /dev/null +++ b/pages.de/common/flutter.md @@ -0,0 +1,32 @@ +# flutter + +> Googles Cross-Platform Open-Source SDK. +> Weitere Informationen: . + +- Initialisiere ein neues Flutter-Projekt in einem gleichnamigen Verzeichnis: + +`flutter create {{Projektname}}` + +- Überprüfe, ob alle externen Tools korrekt installiert sind: + +`flutter doctor` + +- Zeige oder wechsle Flutter Kanäle: + +`flutter channel {{stable|beta|dev|master}}` + +- Starte Flutter auf allen gestarteten Emulatoren und verbundenen Geräten: + +`flutter run -d all` + +- Starte Tests in einem Projekt vom Wurzelverzeichnes aus: + +`flutter test {{test/beispiel_test.dart}}` + +- Baue eine Release APK für die meisten modernen Smartphones: + +`flutter build apk --target-platform {{android-arm}},{{android-arm64}}` + +- Zeige Hilfe für einen bestimmten Befehl: + +`flutter help {{befehl}}` diff --git a/pages.de/common/fortune.md b/pages.de/common/fortune.md new file mode 100644 index 00000000000000..26dcd4b6abf07d --- /dev/null +++ b/pages.de/common/fortune.md @@ -0,0 +1,28 @@ +# fortune + +> Gib ein zufälliges Glückskeks-Zitat aus. +> Weitere Informationen: . + +- Gib ein Zitat aus: + +`fortune` + +- Gib ein beleidigendes Zitat aus: + +`fortune -o` + +- Gib ein langes Zitat aus: + +`fortune -l` + +- Gib ein kurzes Zitat aus: + +`fortune -s` + +- Gib alle verfügbaren Zitat-Datenbank-Dateien aus: + +`fortune -f` + +- Gib ein Zitat von einer durch `fortune -f` aufgelisteten Datenbank-Dateien aus: + +`fortune {{dateiname}}` diff --git a/pages.de/common/fossil-ci.md b/pages.de/common/fossil-ci.md new file mode 100644 index 00000000000000..8b4c79460e0930 --- /dev/null +++ b/pages.de/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Dieser Befehl ist ein Alias von `fossil commit`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr fossil commit` diff --git a/pages.de/common/fossil-forget.md b/pages.de/common/fossil-forget.md new file mode 100644 index 00000000000000..8ce914b9cd587f --- /dev/null +++ b/pages.de/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Dieser Befehl ist ein Alias von `fossil rm`. +> Weitere Informationen: . + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr fossil rm` diff --git a/pages.de/common/fossil-new.md b/pages.de/common/fossil-new.md new file mode 100644 index 00000000000000..cfa532ca74e7c5 --- /dev/null +++ b/pages.de/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Dieser Befehl ist ein Alias von `fossil init`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr fossil init` diff --git a/pages.de/common/fossil-rm.md b/pages.de/common/fossil-rm.md new file mode 100644 index 00000000000000..aeb78e22ef12e6 --- /dev/null +++ b/pages.de/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Dieser Befehl ist ein Alias von `fossil delete`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr fossil delete` diff --git a/pages.de/common/fuck.md b/pages.de/common/fuck.md new file mode 100644 index 00000000000000..166371c3614e80 --- /dev/null +++ b/pages.de/common/fuck.md @@ -0,0 +1,16 @@ +# fuck + +> Korrigiert den zuletzt ausgeführten Befehl. +> Weitere Informationen: . + +- Lege den `fuck` alias für `thefuck` fest: + +`eval "$(thefuck --alias)"` + +- Versuche den zuletzt ausgeführten Befehl zu korrigieren: + +`fuck` + +- Bestätige das erste Ergebnis sofort (korrektes Argument hängt vom Level der Frustration ab): + +`fuck --{{yes|yeah|hard}}` diff --git a/pages.de/common/g++.md b/pages.de/common/g++.md new file mode 100644 index 00000000000000..9d0bf14e8c5734 --- /dev/null +++ b/pages.de/common/g++.md @@ -0,0 +1,29 @@ +# g++ + +> Kompiliere C++ Quelldateien. +> Teil der GCC (GNU Compiler Collection). +> Weitere Informationen: . + +- Kompiliere eine Quelldatei in eine ausführbare Binärdatei: + +`g++ {{pfad/zu/quelldatei.cpp}} {{[-o|--output]}} {{pfad/zu/binärdatei}}` + +- Zeige geläufige Fehler und Warnungen an: + +`g++ {{pfad/zu/quelldatei.cpp}} -Wall {{[-o|--output]}} {{pfad/zu/binärdatei}}` + +- Wähle einen Sprachstandard (C++98/C++11/C++14/C++17) für das Kompilieren: + +`g++ {{pfad/zu/quelldatei.cpp}} -std={{C++98|C++11|C++14|C++17}} {{[-o|--output]}} {{pfad/zu/binärdatei}}` + +- Binde Bibliotheken, die sich an einem anderen Pfad als die Quelldatei befinden, ein: + +`g++ {{pfad/zu/quelldatei.cpp}} {{[-o|--output]}} {{pfad/zu/binärdatei}} -I{{pfad/zu/headerdatei}} -L{{pfad/zu/bibliothek}} -l{{bibliotheks_name}}` + +- Kompiliere und linke mehrere Quelldateien in eine ausführbare Binärdatei: + +`g++ -c {{pfad/zu/quelldatei_1.cpp pfad/zu/quelldatei_2.cpp ...}} && g++ {{[-o|--output]}} {{pfad/zu/binärdatei}} {{pfad/zu/quelldatei_1.o pfad/zu/quelldatei_2.o ...}}` + +- Gib die Version von `g++` aus: + +`g++ --version` diff --git a/pages.de/common/gcc.md b/pages.de/common/gcc.md index d05955aee87b27..ac697f28591c2a 100644 --- a/pages.de/common/gcc.md +++ b/pages.de/common/gcc.md @@ -1,24 +1,24 @@ # gcc > Präprozessiert und kompiliert C und C++ Quellcodedateien und linkt diese anschließend zusammen. -> Mehr Informationen: . +> Weitere Informationen: . -- Kompiliert mehrere Quellcodedateien zu einer ausführbaren Datei: +- Kompiliere mehrere Quellcodedateien zu einer ausführbaren Datei: -`gcc {{Quelldatei1.c}} {{Quelldatei2.c}} -o {{Ausgabebinärdatei}}` +`gcc {{pfad/zu/datei1.c}} {{pfad/zu/datei2.c}} {{[-o|--output]}} {{pfad/zu/binärdatei}}` -- Erlaubt Warnungen und debug-Symbole in der Ausgabedatei: +- Erlaube Warnungen und debug-Symbole in der Ausgabedatei: -`gcc {{source.c}} -Wall -Og -o {{Ausgabebinärdatei}}` +`gcc {{pfad/zu/datei.c}} -Wall -Og {{[-o|--output]}} {{pfad/zu/binärdatei}}` -- Inkludiert Bibliotheken aus anderen Ordnern: +- Inkludiere Bibliotheken aus anderen Verzeichnissen: -`gcc {{Quelldatei.c}} -o {{Ausgabebinärdatei}} -I{{Pfad/zu/Headerdatei}} -L{{Pfad/zu/Bibliothek1}} -l{{Pfad/zu/Bibliothek2}}` +`gcc {{pfad/zu/datei.c}} {{[-o|--output]}} {{pfad/zu/binärdatei}} -I{{pfad/zu/headerdatei}} -L{{pfad/zu/bibliothek1}} -l{{pfad/zu/bibliothek2}}` -- Kompiliert Quellcodedateien zu Assemblerinstruktionen: +- Kompiliere Quellcodedateien zu Assemblerinstruktionen: -`gcc -S {{Quelldatei.c}}` +`gcc {{[-S|--assemble]}} {{pfad/zu/datei.c}}` -- Kompiliert Quellcodedatei/-en ohne diese zu linken: +- Kompiliere eine oder mehrere Quellcodedateien ohne diese zu linken: -`gcc -c {{Quelldatei.c}}` +`gcc {{[-c|--compile]}} {{pfad/zu/datei.c}}` diff --git a/pages.de/common/gcloud.md b/pages.de/common/gcloud.md new file mode 100644 index 00000000000000..2fb3183b54b6d9 --- /dev/null +++ b/pages.de/common/gcloud.md @@ -0,0 +1,36 @@ +# gcloud + +> Das offizielle CLI-Tool für die Google Cloud Platform. +> Weitere Informationen: . + +- Liste alle Eigenschaften der aktiven Konfiguration auf: + +`gcloud config list` + +- Mit einem Google-Konto anmelden: + +`gcloud auth login` + +- Lege das aktive Projekt fest: + +`gcloud config set project {{Projektname}}` + +- Stelle eine SSH-Verbindung zu einer virtuellen Maschineninstanz her: + +`gcloud compute ssh {{Benutzer}}@{{Instanz}}` + +- Zeige alle Google Compute Engine-Instanzen in einem Projekt an. Standardmäßig werden Instanzen aus allen Zonen aufgelistet: + +`gcloud compute instances list` + +- Aktualisiere eine kubeconfig-Datei mit den entsprechenden Anmeldeinformationen, um kubectl auf einen bestimmten Cluster in Google Kubernetes Engine auszurichten: + +`gcloud container clusters get-credentials {{Clustername}}` + +- Aktualisiere alle gcloud CLI-Komponenten: + +`gcloud components update` + +- Zeige Hilfe für einen bestimmten Befehl an: + +`gcloud help {{Befehl}}` diff --git a/pages.de/common/gdb.md b/pages.de/common/gdb.md new file mode 100644 index 00000000000000..3dd319fda40862 --- /dev/null +++ b/pages.de/common/gdb.md @@ -0,0 +1,24 @@ +# gdb + +> Der GNU Debugger. +> Weitere Informationen: . + +- Debugge eine ausführbare Datei: + +`gdb {{ausführbare_datei}}` + +- Binde einen Prozess an gdb: + +`gdb {{[-p|--pid]}} {{prozess_ID}}` + +- Debugge mit einer Kerndatei: + +`gdb {{[-c|--core]}} {{kerndatei}} {{ausführbare_datei}}` + +- Führe angegebene Befehle beim Start von gdb aus: + +`gdb {{[-ex|--eval-command]}} "{{befehle}}" {{ausführbare_datei}}` + +- Starte gdb und übergib Argumente an die ausführbare Datei: + +`gdb --args {{ausführbare_datei}} {{argument1}} {{argument2}}` diff --git a/pages.de/common/gh-cs.md b/pages.de/common/gh-cs.md new file mode 100644 index 00000000000000..1eee08b8b29288 --- /dev/null +++ b/pages.de/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Dieser Befehl ist ein Alias von `gh codespace`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr gh codespace` diff --git a/pages.de/common/gh.md b/pages.de/common/gh.md new file mode 100644 index 00000000000000..a673ea8b70cfe3 --- /dev/null +++ b/pages.de/common/gh.md @@ -0,0 +1,37 @@ +# gh + +> Arbeite mit GitHub von der Konsole aus. +> Manche Unterbefehle wie `config` sind separat dokumentiert. +> Weitere Informationen: . + +- Klone ein GitHub Repository lokal: + +`gh repo clone {{besitzer}}/{{repository}}` + +- Erstelle ein neues Issue: + +`gh issue create` + +- Zeige und filter offene Issues des aktuellen Repositories: + +`gh issue list` + +- Öffne ein Issue im Standard-Webbrowser: + +`gh issue view --web {{issue_nummer}}` + +- Erstelle eine Pull Request: + +`gh pr create` + +- Öffne eine Pull Request im Standard-Webbrowser: + +`gh pr view --web {{pr_nummer}}` + +- Wechsle lokal zu einer bestimmten Pull Request: + +`gh pr checkout {{pr_nummer}}` + +- Zeige den Status der Pull Requests eines Repositories: + +`gh pr status` diff --git a/pages.de/common/git-add.md b/pages.de/common/git-add.md index ecdecf04a1ccd0..31b9b365d84499 100644 --- a/pages.de/common/git-add.md +++ b/pages.de/common/git-add.md @@ -1,32 +1,32 @@ # git add -> Fügt Dateien zum Index/Stage hinzu. -> Mehr Informationen: . +> Füge Dateien zum Index/Stage hinzu. +> Weitere Informationen: . -- Fügt eine Datei zum Index/Stage hinzu: +- Füge eine bestimmte Datei zum Index hinzu: -`git add {{pfad/zur/datei}}` +`git add {{pfad/zu/datei}}` -- Fügt alle Dateien zum Index/Stage hinzu (nachverfolgte und nicht nachverfolgte): +- Füge alle Dateien zum Index hinzu (nachverfolgte und nicht nachverfolgte): -`git add -A` +`git add {{[-A|--all]}}` -- Fügt nur nachverfolgte Dateien zum Index/Stage hinzu (Updaten des Index/Stage): +- Füge nur nachverfolgte Dateien zum Index hinzu (Updaten des Index): -`git add -u` +`git add {{[-u|--update]}}` -- Fügt auch Dateien, welche ignoriert werden (.gitignore) hinzu: +- Füge auch Dateien, welche ignoriert werden (`.gitignore`) hinzu: -`git add -f` +`git add {{[-f|--force]}}` -- Interaktives Hinzufügen von Dateien zum Index/Stage: +- Füge Teile von Dateien zum Index interaktiv hinzu: -`git add -p` +`git add {{[-p|--patch]}}` -- Interaktives Hinzufügen von Teilen der Datei, welche angegeben wird: +- Füge Teile einer bestimmten Datei interaktiv hinzu: -`git add -p {{pfad/zur/datei}}` +`git add {{[-p|--patch]}} {{pfad/zu/datei}}` -- Interaktives Hinzufügen von Dateien zum Index/Stage: +- Füge Dateien zum Index interaktiv hinzu: -`git add -i` +`git add {{[-i|--interactive]}}` diff --git a/pages.de/common/git-am.md b/pages.de/common/git-am.md index c5f6fd990d5ea5..7744d32324f377 100644 --- a/pages.de/common/git-am.md +++ b/pages.de/common/git-am.md @@ -1,17 +1,21 @@ # git am > Patch-Dateien integrieren. Nützlich beim Empfang von Commits per E-Mail. -> Siehe auch `git format-patch`, womit Patch-Dateien erzeugen werden können. -> Mehr Informationen: . +> Siehe auch `git format-patch` zur Erzeugung von Patch-Dateien. +> Weitere Informationen: . -- Integrieren einer Patch-Datei: +- Integriere eine Patch-Datei: -`git am {{pfad/zur/datei.patch}}` +`git am {{pfad/zu/datei.patch}}` -- Prozess zum Integrieren einer Patch-Datei abbrechen: +- Herunterladen und Integrieren einer Patch-Datei: + +`curl {{[-L|--location]}} {{https://beispiel.de/datei.patch}} | git apply` + +- Brich das Integrieren einer Patch-Datei ab: `git am --abort` -- Integriert soviele Patch-Dateien wie möglich und speichert fehlgeschlagene Teile: +- Integriere so viele Patch-Dateien wie möglich und speichere fehlgeschlagene Teile: -`git am --reject {{pfad/zur/datei.patch}}` +`git am --reject {{pfad/zu/datei.patch}}` diff --git a/pages.de/common/git-apply.md b/pages.de/common/git-apply.md index 441bbbe711dfe4..bffaebe874d093 100644 --- a/pages.de/common/git-apply.md +++ b/pages.de/common/git-apply.md @@ -1,16 +1,28 @@ # git apply -> Integriert eine Patch-Datei und/oder fügt sie zum Index/Stage hinzu. -> Mehr Informationen: . +> Integriere eine Patch-Datei und/oder füge sie zum Index hinzu. +> Weitere Informationen: . -- Gibt Meldungen über die gepatchten Dateien aus: +- Gib Informationen über gepatchte Dateien aus: -`git apply --verbose {{pfad/zur/datei}}` +`git apply {{[-v|--verbose]}} {{pfad/zu/datei}}` -- Integriert die Patch-Datei und fügt sie zum Index/Stage hinzu: +- Integriere die Patch-Datei und füge sie zum Index hinzu: -`git apply --index {{pfad/zur/datei}}` +`git apply --index {{pfad/zu/datei}}` -- Integriert eine externe Patch-Datei: +- Integriere eine externe Patch-Datei: -`curl {{https://example.com/file.patch}} | git apply` +`curl {{[-L|--location]}} {{https://beispiel.de/datei.patch}} | git apply` + +- Gib diffstat des Inputs aus und integriere die Patch-Datei: + +`git apply --stat --apply {{pfad/zu/datei}}` + +- Integriere eine Patch-Datei in umgekehrter Reihenfolge: + +`git apply {{[-R|--reverse]}} {{pfad/zu/datei}}` + +- Speichere das Ergebnis einer Patch-Datei im Index, ohne den Arbeitsbaum zu verändern: + +`git apply --cache {{pfad/zu/datei}}` diff --git a/pages.de/common/git-archive.md b/pages.de/common/git-archive.md index d6d2236eca2301..186aeb732eea6c 100644 --- a/pages.de/common/git-archive.md +++ b/pages.de/common/git-archive.md @@ -1,28 +1,28 @@ # git archive -> Erstellt ein Archiv von Dateien. -> Mehr Informationen: . +> Erstelle ein Archiv von Dateien. +> Weitere Informationen: . -- Erstellt ein Tar-Archiv aus dem Inhalt des aktuellen HEAD und gibt dies aus: +- Erstelle ein tar-Archiv aus dem Inhalt des aktuellen HEAD und gib dieses aus: -`git archive --verbose HEAD` +`git archive {{[-v|--verbose]}} HEAD` -- Erstellt ein Zip-Archiv aus dem Inhalt des aktuellen HEAD und gibt dies aus: +- Erstelle ein zip-Archiv aus dem Inhalt des aktuellen HEAD und gib dieses aus: -`git archive --verbose --format=zip HEAD` +`git archive {{[-v|--verbose]}} --format zip HEAD` -- Wie zuvor, aber nun wir das Zip-Archiv in eine Datei geschrieben: +- Erstelle ein zip-Archiv aus dem Inhalt des aktuellen HEAD und speichere dieses in eine Datei: -`git archive --verbose --output={{pfad/zur/datei.zip}} HEAD` +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{pfad/zu/datei.zip}} HEAD` -- Erstellt ein Tar-Archiv aus dem Inhalt des letzten Commits eines bestimmten Branches: +- Erstelle ein tar-Archiv aus dem Inhalt des letzten Commits eines bestimmten Branches: -`git archive --output={{pfad/zur/datei.tar}} {{branch_name}}` +`git archive {{[-o|--output]}} {{pfad/zu/datei.tar}} {{branch_name}}` -- Erstellt ein Tar-Archiv von dem Inhalt eines bestimmten Ordners: +- Erstelle ein tar-Archiv aus dem Inhalt eines bestimmten Verzeichnisses: -`git archive --output={{pfad/zur/datei.tar}} HEAD:{{pfad/zum/ordner}}` +`git archive {{[-o|--output]}} {{pfad/zu/datei.tar}} HEAD:{{pfad/zu/verzeichnis}}` -- Jeder Datei wird ein Pfad vorangestellt, um sie in einem bestimmten Verzeichnis zu archivieren: +- Stelle jeder Datei einen Pfad voran, um sie in einem bestimmten Verzeichnis zu archivieren: -`git archive --output={{pfad/zur/datei.tar}} --prefix={{pfadh/zum/voranstellen}}/ HEAD` +`git archive {{[-o|--output]}} {{pfad/zu/datei.tar}} --prefix {{pfad/zu/verzeichnis}}/ HEAD` diff --git a/pages.de/common/git-bisect.md b/pages.de/common/git-bisect.md index 12df0637390ffa..bcde393ebd9856 100644 --- a/pages.de/common/git-bisect.md +++ b/pages.de/common/git-bisect.md @@ -1,21 +1,21 @@ # git bisect -> Benuzt binäre Suche um den commit ausfindig zu machen, welcher einen Fehler beinhaltet. -> Git springt im Commit-Graph automatisch vor und zurück, um denfehlerhaften Commit schrittweise einzugrenzen zu können. -> Mehr Informationen: . +> Benutzt binäre Suche um den commit ausfindig zu machen, welcher einen Fehler beinhaltet. +> Git springt im Commit-Graph automatisch vor und zurück, um den fehlerhaften Commit schrittweise eingrenzen zu können. +> Weitere Informationen: . -- Startet eine Bisect-Session in einem Commit-Bereich, der durch einen bekannten fehlerhaften Commit und einen sauber Commit begrenzt wird: +- Starte eine Bisect-Session in einem Commit-Bereich, der durch einen bekannten fehlerhaften Commit und einen sauberen Commit begrenzt wird: -`git bisect start {{bad_commit}} {{good_commit}}` +`git bisect start {{fehlerhafter_commit}} {{sauberer_commit}}` -- Jeder Commit, den `git bisect` auswählt, wird geprüft und mit "gut" oder "schlecht" gekennzeichnet: +- Prüfe jeden Commit, den `git bisect` auswählt, und kennzeichne ihn mit "gut" oder "schlecht": `git bisect {{good|bad}}` -- Nachdem "git bisect" den fehlerhaften Commit lokalisiert hat kann mit 'git bisect reset' zum vorherigen Branch zurück gewechselt werden: +- Wechsle zum vorherigen Branch zurück, nachdem der fehlerhafte Commit lokalisiert wurde: `git bisect reset` -- Überspringen einen Commit während der Bisect-Session (z.B. einen, der die Tests aufgrund eines anderen Problems nicht bestanden hat): +- Überspringe einen Commit während der Bisect-Session (z.B. einen, der die Tests aufgrund eines anderen Problems nicht bestanden hat): `git bisect skip` diff --git a/pages.de/common/git-blame.md b/pages.de/common/git-blame.md index 2fa0ba9607a1ed..25fc0bde65811a 100644 --- a/pages.de/common/git-blame.md +++ b/pages.de/common/git-blame.md @@ -1,12 +1,12 @@ # git blame -> Zeigt Commit Hash und den letzten Autor jeder Zeile einer Datei. -> Mehr Informationen: . +> Zeige den Commit-Hash und den letzten Autor jeder Zeile einer Datei. +> Weitere Informationen: . -- Gibt die Datei mit den Commit-Hashes und dem Autor pro Zeile aus: +- Gib die Commit-Hashes und dem Autor jeder Zeile einer Datei aus: -`git blame {{datei}}` +`git blame {{pfad/zu/datei}}` -- Gibt die Datei mit den Commit-Hashes und dem Autor (inklusive Email) pro Zeile aus: +- Gib die Commit-Hashes und dem Autor (inklusive E-Mail) jeder Zeile einer Datei aus: -`git blame -e {{datei}}` +`git blame {{[-e|--show-email]}} {{pfad/zu/datei}}` diff --git a/pages.de/common/git-branch.md b/pages.de/common/git-branch.md index 4ae2fa83ee520c..cd409f7de467f6 100644 --- a/pages.de/common/git-branch.md +++ b/pages.de/common/git-branch.md @@ -1,36 +1,36 @@ # git branch -> Befehl zum Arbeiten mit Branches. -> Mehr Informationen: . +> Verwalte und Arbeite mit Git Branches. +> Weitere Informationen: . -- Auflisten der lokalen Branches. Der momentan aktive (ausgecheckte) Branch wird mit `*` markiert: +- Liste alle Branches auf (Lokal und Remote). Der momentan aktive (ausgecheckte) Branch wird mit `*` markiert: -`git branch` +`git branch {{[-a|--all]}}` -- Auflisten aller Branches (Lokal und Remote): +- Liste alle Branches auf, welche einen spezifischen Git-Commit in ihrer Historie enthalten: -`git branch -a` +`git branch {{[-a|--all]}} --contains {{commit_hash}}` -- Zeigt den Namen des aktuellen Branches: +- Zeige den Namen des aktuellen Branches: `git branch --show-current` -- Erstellt einen neuen Branch auf Basis des letzten Commits: +- Erstelle einen neuen Branch auf Basis des letzten Commits: `git branch {{branch_name}}` -- Erstellt einen neuen Branch auf Basis eines spezifischen Commits: +- Erstelle einen neuen Branch auf Basis eines bestimmten Commits: `git branch {{branch_name}} {{commit_hash}}` -- Umbenennen eines Branches (der Branch muss nicht ausgecheckt sein): +- Benenne einen Branches um (der Branch muss nicht ausgecheckt sein): -`git branch -m {{alter_branch_name}} {{neuer_branch_name}}` +`git branch {{[-m|--move]}} {{alter_branch_name}} {{neuer_branch_name}}` -- Löschen eines lokalen Branches (der Branch muss nicht ausgecheckt sein): +- Lösche einen lokalen Branch (der Branch muss nicht ausgecheckt sein): -`git branch -d {{branch_name}}` +`git branch {{[-d|--delete]}} {{branch_name}}` -- Löschen eines remote Branches: +- Lösche einen remote-Branch: -`git push {{remote_name}} --delete {{remote_branch_name}}` +`git push {{remote_name}} {{[-d|--delete]}} {{remote_branch_name}}` diff --git a/pages.de/common/git-clone.md b/pages.de/common/git-clone.md index d8f9e647cabdc9..9fcea63fe2f59c 100644 --- a/pages.de/common/git-clone.md +++ b/pages.de/common/git-clone.md @@ -1,24 +1,36 @@ # git clone > Klone ein existierendes Repository. -> Mehr Informationen: . +> Weitere Informationen: . -- Klone ein existierendes Repository: +- Klone ein existierendes Repository in ein bestimmtes Verzeichnis: -`git clone {{entfernter_repository_speicherort}}` +`git clone {{url_zu_repository}} {{pfad/zu/verzeichnis}}` - Klone ein existierendes Repository und seine Submodule: -`git clone --recursive {{entfernter_repository_speicherort}}` +`git clone --recursive {{url_zu_repository}}` + +- Klone nur das `.git` Verzeichnis für ein existierendes repository: + +`git clone {{[-n|--no-checkout]}} {{url_zu_repository}}` - Klone ein lokales Repository: -`git clone -l {{pfad/zum/lokalen/repository}}` +`git clone {{[-l|--local]}} {{pfad/zu/lokalem_repository}}` + +- Klone ohne Meldungen: + +`git clone {{[-q|--quiet]}} {{url_zu_repository}}` + +- Klone ein existierendes Repository und rufe nur die neuesten 10 Commits im Standard-Branch ab (spart Zeit): + +`git clone --depth 10 {{url_zu_repository}}` -- Klone leise (ohne Meldungen): +- Klone ein existierendes Repository, aber lade nur einen bestimmten Branch herunter: -`git clone -q {{entfernter_repository_speicherort}}` +`git clone {{[-b|--branch]}} {{name}} --single-branch {{url_zu_repository}}` -- Klone ein existierendes Repository und rufe nur die neusten 10 Commits im standardmäßigen Branch ab (spart Zeit): +- Klone ein existierendes Repository mit einem bestimmten SSH Befehl: -`git clone --depth {{10}} {{entfernter_repository_speicherort}}` +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i pfad/zu/privat_ssh_schlüssel}}" {{url_zu_repository}}` diff --git a/pages.de/common/git-commit.md b/pages.de/common/git-commit.md index 2487350e7f0a05..07132cd0bba8ea 100644 --- a/pages.de/common/git-commit.md +++ b/pages.de/common/git-commit.md @@ -1,20 +1,32 @@ # git commit -> Commit Dateien in das Repository. -> Mehr Informationen: . +> Committe Dateien in ein Repository. +> Weitere Informationen: . -- Commiten von gestagten Dateien zum Repository mit einer Nachricht: +- Committe die gestagten Dateien mit einer Nachricht in das Repository: -`git commit -m {{message}}` +`git commit {{[-m|--message]}} "{{nachricht}}"` -- Automatisches Stagen aller modifizierten Datei und nachfolgendem Commiten mit einer Nachricht: +- Committe alle gestagten Dateien zum Repository mit einer Nachricht aus einer Datei: -`git commit -a -m {{message}}` +`git commit {{[-F|--file]}} {{pfad/zu/commit_nachricht_datei}}` -- Ersetzt den letzten Commit mit den gerade auf dem Stage liegenden Änderungen: +- Stage alle modifizierten Dateien und committe sie mit einer Nachricht: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{nachricht}}"` + +- Committe gestagten Dateien und signiere sie mit dem definierten GPG Schlüssel (oder mit dem in der Konfigurationsdatei definierten, wenn kein Argument angegeben ist): + +`git commit {{[-S|--gpg-sign]}} {{key_id}} {{[-m|--message]}} "{{nachricht}}"` + +- Ersetze den letzten Commit mit den gerade auf dem Stage liegenden Änderungen: `git commit --amend` -- Nur spezifische Dateien commiten (die Dateien müssen schon auf dem Stage liegen) +- Comitte nur spezifische Dateien (die Dateien müssen schon auf dem Stage liegen): + +`git commit {{pfad/zu/datei1 pfad/zu/datei2 ...}}` + +- Erzeuge einen Commit, auch wenn keine Dateien auf dem Stage liegen: -`git commit {{path/to/my/file1}} {{path/to/my/file2}}` +`git commit {{[-m|--message]}} "{{nachricht}}" --allow-empty` diff --git a/pages.de/common/git-config.md b/pages.de/common/git-config.md new file mode 100644 index 00000000000000..700e6d2b60dad9 --- /dev/null +++ b/pages.de/common/git-config.md @@ -0,0 +1,37 @@ +# git config + +> Verwalten von benutzerdefinierten Optionen für Git Repositories. +> Diese Optionen können lokal (für das aktiven Repository) or global (für den aktiven Benutzer) sein. +> Weitere Informationen: . + +- Liste nur lokale Konfigurationseinträge (gespeichert unter `.git/config` im aktiven Repository) auf: + +`git config {{[-l|--list]}} --local` + +- Liste nur globale Konfigurationseinträge (gespeichert unter `~/.gitconfig`) auf: + +`git config {{[-l|--list]}} --global` + +- Liste nur System-Konfigurationseinträge (gespeichert unter `/etc/gitconfig`) und deren Speicherort auf: + +`git config {{[-l|--list]}} --system --show-origin` + +- Gib den Wert eines bestimmten Konfigurationseintrags aus: + +`git config alias.unstage` + +- Setze den globalen Wert eines bestimmten Konfigurationseintrags: + +`git config --global alias.unstage "reset HEAD --"` + +- Setze den globalen Wert eines bestimmten Konfigurationseintrags auf seinen Standardwert zurück: + +`git config --global --unset alias.unstage` + +- Bearbeite die Git-Konfiguration für das aktuelle Repository mit dem Standard-Editor: + +`git config {{[-e|--edit]}}` + +- Bearbeite die globale Git-Konfiguration mit dem Standard-Editor: + +`git config --global {{[-e|--edit]}}` diff --git a/pages.de/common/git-fetch.md b/pages.de/common/git-fetch.md index 08fcead95b4deb..7f11b45ef01282 100644 --- a/pages.de/common/git-fetch.md +++ b/pages.de/common/git-fetch.md @@ -1,9 +1,9 @@ # git fetch > Lade Objekte und Referenzen (refs) von einem entfernten Repository. -> Mehr Informationen: . +> Weitere Informationen: . -- Hole die neusten Änderungen von dem standardmäßigen Repository im Upstream (wenn gesetzt): +- Hole die neuesten Änderungen von dem standardmäßigen Repository im Upstream (wenn gesetzt): `git fetch` @@ -11,14 +11,14 @@ `git fetch {{name_des_upstream_repository}}` -- Hole die neusten Änderungen von allen Repositories im Upstream: +- Hole die neuesten Änderungen von allen Repositories im Upstream: `git fetch --all` - Lade auch die Tags des Repository im Upstream: -`git fetch --tags` +`git fetch {{[-t|--tags]}}` - Lösche lokale Referenzen auf entfernte Branches, die im Upstream-Repository nicht mehr existieren: -`git fetch --prune` +`git fetch {{[-p|--prune]}}` diff --git a/pages.de/common/git-format-patch.md b/pages.de/common/git-format-patch.md new file mode 100644 index 00000000000000..908d89bc6bc1a6 --- /dev/null +++ b/pages.de/common/git-format-patch.md @@ -0,0 +1,17 @@ +# git format-patch + +> Erstelle `.patch` Dateien. Ermöglicht das Senden von Commits per E-Mail. +> Siehe auch `git am`, womit `.patch` Datein lokal angewandt werden. +> Weitere Informationen: . + +- Erzeuge eine `.patch` Datei aus allen nicht gepushten Commits: + +`git format-patch {{origin}}` + +- Erstelle eine `.patch` Datei aus allen Commits zwischen den angegebenen Revisionen und schreibe diese nach `stdout`: + +`git format-patch {{revision_1}}..{{revision_2}}` + +- Erstelle eine `.patch` Datei aus den letzten 3 Commits: + +`git format-patch -{{3}}` diff --git a/pages.de/common/git-help.md b/pages.de/common/git-help.md index 3a95780a150003..a59c052254d1ca 100644 --- a/pages.de/common/git-help.md +++ b/pages.de/common/git-help.md @@ -1,24 +1,24 @@ # git help > Zeige Hilfe für Git an. -> Mehr Informationen: . +> Weitere Informationen: . -- Zeige Hilfe für ein bestimmtes Git-Unterkommando an: +- Zeige Hilfe für einen bestimmten Git-Unterbefehl an: -`git help {{unterkommando}}` +`git help {{unterbefehl}}` -- Zeige Hilfe für ein bestimmtes Git-Unterkommando im Web-Browser an: +- Zeige Hilfe für einen bestimmten Git-Unterbefehl im Web-Browser an: -`git help --web {{unterkommando}}` +`git help {{[-w|--web]}} {{unterbefehl}}` -- Zeige eine Liste von allen verfügbaren Git-Unterkommandos an: +- Zeige eine Liste von allen verfügbaren Git-Unterbefehlen an: -`git help --all` +`git help {{[-a|--all]}}` - Liste die verfügbaren Handbücher auf: -`git help --guide` +`git help {{[-g|--guides]}}` - Liste alle Konfigurationsvariablen auf: -`git help --config` +`git help {{[-c|--config]}}` diff --git a/pages.de/common/git-ignore-io.md b/pages.de/common/git-ignore-io.md new file mode 100644 index 00000000000000..2101cbbaff685d --- /dev/null +++ b/pages.de/common/git-ignore-io.md @@ -0,0 +1,12 @@ +# git ignore-io + +> Erstelle `.gitignore` Dateien aus vorgefertigten Vorlagen. +> Weitere Informationen: . + +- Liste alle verfügbaren Vorlagen auf: + +`git ignore-io list` + +- Erstelle eine `.gitignore` Vorlage: + +`git ignore-io {{eintrag_a,eintrag_b,eintrag_n}}` diff --git a/pages.de/common/git-ignore.md b/pages.de/common/git-ignore.md deleted file mode 100644 index cdd9dda5847f13..00000000000000 --- a/pages.de/common/git-ignore.md +++ /dev/null @@ -1,12 +0,0 @@ -# git ignore - -> Erstelle .gitignore Dateien aus vorgefertigten Vorlagen. -> Mehr Informationen: . - -- Liste all verfügbaren Vorlagen auf: - -`git ignore list` - -- Erstelle eine .gitignore Vorlage: - -`git ignore {{eintrag_a,eintrag_b,eintrag_n}}` diff --git a/pages.de/common/git-init.md b/pages.de/common/git-init.md index f31a874f967489..106e8c34100c56 100644 --- a/pages.de/common/git-init.md +++ b/pages.de/common/git-init.md @@ -1,12 +1,20 @@ # git init > Erstelle eine neues lokales Git-Repository. -> Mehr Informationen: . +> Weitere Informationen: . - Erstelle eine neues lokales Repository: `git init` +- Erstelle eine neues Repository mit einem bestimmten Namen für den ersten Branch: + +`git init {{[-b|--initial-branch]}} {{branch_name}}` + +- Erstelle ein neues Repository, welches SHA256 für Objekt-Hashes verwendet (benötigt Git 2.29+): + +`git init --object-format sha256` + - Erstelle eine neues minimales Repository, welches sich für die Verwendung als Remote-Repository über SSH eignet: `git init --bare` diff --git a/pages.de/common/git-log.md b/pages.de/common/git-log.md index 8a016f40d639c9..69915b936e1168 100644 --- a/pages.de/common/git-log.md +++ b/pages.de/common/git-log.md @@ -1,17 +1,17 @@ # git log > Zeigt die Commit-Historie an. -> Mehr Informationen: . +> Weitere Informationen: . -- Zeige die Sequenz der Commits des Git-Repository im aktuellen Ordner, beginnend mit dem aktuellen, an. In umgekehrter chronologischer Reihenfolge: +- Zeige die Sequenz der Commits des Git-Repository im aktuellen Verzeichnis, beginnend mit dem aktuellen, an: `git log` - Zeige die Historie einer bestimmten Datei oder eines Verzeichnisses, inklusive Unterschiede, an: -`git log -p {{pfad/zu/datei_oder_ordner}}` +`git log {{[-p|--patch]}} {{pfad/zu/datei_oder_verzeichnis}}` -- Zeige einen Überblick der Commits an, und welche Datei(en) jeweils geändert wurde(n): +- Zeige einen Überblick der Commits an und welche Dateien jeweils verändert wurden: `git log --stat` @@ -23,14 +23,14 @@ `git log --oneline --decorate --all --graph` -- Zeige nur Commits, deren Commit-Nachricht einen gegebenen Text enthalten (Ohne Beachtung von Groß- und Kleinschreibung): +- Zeige nur Commits, deren Commit-Nachricht einen bestimmten Text enthalten (Ohne Beachtung von Groß- und Kleinschreibung): -`git log -i --grep {{suchtext}}` +`git log {{[-i|--regexp-ignore-case]}} --grep {{text}}` - Zeige die letzten N Commits eines bestimmten Autors: -`git log -n {{anzahl}} --author={{autor}}` +`git log {{[-n|--max-count]}} {{anzahl}} --author "{{autor}}"` -- Zeige alle Commits zwischen zwei Daten an: +- Zeige alle Commits zwischen zwei Zeitpunkten an (yyyy-mm-dd): -`git log --before={{datum}} --after={{datum}}` +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages.de/common/git-pull.md b/pages.de/common/git-pull.md index eaed53f6943c64..94395059af3015 100644 --- a/pages.de/common/git-pull.md +++ b/pages.de/common/git-pull.md @@ -1,16 +1,16 @@ # git pull -> Holen eines Branches von einem entfernten Repository und zusammenführen in das lokale Repository. -> Mehr Informationen: . +> Hole Branches von einem entfernten Repository und binde sie in das lokale Repository ein. +> Weitere Informationen: . -- Änderungen vom Standard-Repository herunterladen und zusammenführen: +- Lade Änderungen vom Standard-Repository herunter und führe diese zusammen: `git pull` -- Änderungen aus dem Standard-Repository herunterladen und einen Rebase anwenden: +- Lade Änderungen vom Standard-Repository herunter und wende einen Rebase an: -`git pull --rebase` +`git pull {{[-r|--rebase]}}` -- Änderungen von einem bestimmten entfernten Repository und Branch herunter und zusammenführen in den HEAD: +- Lade Änderungen vom Standard-Repository herunter und führe diese in den HEAD zusammen: `git pull {{remote_name}} {{branch}}` diff --git a/pages.de/common/git-push.md b/pages.de/common/git-push.md index cb07cea53dba9f..4a604bc6a17d72 100644 --- a/pages.de/common/git-push.md +++ b/pages.de/common/git-push.md @@ -1,32 +1,36 @@ # git push -> Schiebe Commits zu einem Remote-Repository -> Mehr Informationen: . +> Lade Commits in ein Remote-Repository hoch. +> Weitere Informationen: . -- Sende lokale Änderungen des aktuellen Branches zu seinem entfernten Gegenstück (Remote Branch): +- Sende lokale Änderungen des aktuellen Branches zu seinem entfernten Repository (Remote Branch): `git push` -- Sende lokale Änderungen des angegebenen Branches zu seinem entfernten Gegenstück (Remote Branch): +- Sende lokale Änderungen des angegebenen Branches zu seinem entfernten Repository: -`git push {{remote_name}} {{local_branch}}` +`git push {{remote_name}} {{lokaler_branch}}` -- Veröffentlichen des aktuellen Branches in einem entfernten Repository, mit Angabe des Namens des entfernten Branches: +- Lade den aktuellen Branch in ein entferntes Repository mit Angabe des Namens des entfernten Branches hoch: -`git push {{remote_name}} -u {{remote_branch}}` +`git push {{[-u|--set-upstream]}} {{remote_name}} {{remote_branch}}` -- Sende Änderungen aller lokalen Branches zu ihren entfernten Gegenstücken (Remote Branches) eines bestimmten Repositories: +- Lade Änderungen eines bestimmten lokalen Branches zu einem bestimmten entfernten Branch hoch: + +`git push {{remote_name}} {{lokaler_branch}}:{{entfernter_branch}}` + +- Lade Änderungen aller lokalen Branches zu ihrem entfernten Repository hoch: `git push --all {{remote_name}}` -- Löschen eines Branches in einem entfernten Repositories: +- Lösche einen Branch in einem entfernten Repository: -`git push {{remote_name}} --delete {{remote_branch}}` +`git push {{remote_name}} {{[-d|--delete]}} {{remote_branch}}` -- Entfernen aller entfernter Branches, welche kein lokales Gegenstück besitzen: +- Entferne alle remote Branches, welche kein lokales Gegenstück besitzen: `git push --prune {{remote_name}}` -- Veröffentlichen von Tags, welche noch nicht im entfernten Repository vorhanden sind: +- Veröffentliche Tags, welche noch nicht im entfernten Repository vorhanden sind: `git push --tags` diff --git a/pages.de/common/git-rebase.md b/pages.de/common/git-rebase.md new file mode 100644 index 00000000000000..71c40f21fb4fd6 --- /dev/null +++ b/pages.de/common/git-rebase.md @@ -0,0 +1,37 @@ +# git rebase + +> Wende Commits von einem Branch auf einen anderen Branch an. +> Die Änderungen eines Branches werden auf einen bestehenden Branch "übertragen" und am Ende der Historie als neue Commits eingefügt. +> Weitere Informationen: . + +- Verwende einen anderen, angegebenen Branch als Basis für den aktuellen Branch: + +`git rebase {{neuer_basisbranch}}` + +- Starte einen interaktiven Rebase, bei dem Commits umsortiert, weggelassen, kombiniert oder verändert werden können: + +`git rebase {{[-i|--interactive]}} {{ziel_basisbranch_oder_commithash}}` + +- Setze einen Rebase fort, der durch einen Mergefehler unterbrochen wurde, nachdem die Konflikte aufgelöst wurden: + +`git rebase --continue` + +- Setze einen Rebase fort, der durch einen Mergefehler unterbrochen wurde, durch Auslassen des in Konflikt stehenden Commits: + +`git rebase --skip` + +- Brich einen laufenden Rebase ab (z.B. wenn er durch Mergekonflikte unterbrochen wurde): + +`git rebase --abort` + +- Verschiebe einen Teil des aktuellen Branches auf eine neue Basis und gib die alte Basis an, ab der die Änderungen verwendet werden sollen: + +`git rebase --onto {{neue_basis}} {{alte_basis}}` + +- Bearbeite die 5 letzten Commits der aktuellen Basis um diese neu zu ordnen, auszulassen, kombinieren oder zu bearbeiten: + +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` + +- Löse Konflikte automatisch auf, indem der aktuelle Branch bevorzugt wird (das Schlüsselwort `theirs` hat in diesem Fall eine umgekehrte Bedeutung): + +`git rebase {{[-X|--strategy-option]}} theirs {{branch_name}}` diff --git a/pages.de/common/git-remote.md b/pages.de/common/git-remote.md index a5d1590e891ac8..b5201d07d0eed7 100644 --- a/pages.de/common/git-remote.md +++ b/pages.de/common/git-remote.md @@ -1,27 +1,27 @@ # git remote -> Verwalte die Menge an verfolgten Repositories (genannt "remotes"). -> Mehr Informationen: . +> Verwalte eine gewisse Anzahl an Repositories (remotes). +> Weitere Informationen: . -- Liste die existierenden Remotes, ihre Namen und ihre URLs auf: +- Liste alle existierenden Remotes, ihre Namen und ihre URLs auf: -`git remote -v` +`git remote {{[-v|--verbose]}}` - Zeige Informationen über ein Remote an: -`git remote show {{name_des_remotes}}` +`git remote show {{remote_name}}` -- Füge ein Remote hinzu: +- Füge ein neues Remote hinzu: -`git remote add {{name_des_remotes}} {{url_des_remotes}}` +`git remote add {{remote_name}} {{remote_url}}` - Ändere die URL eines Remotes (benutze `--add` um die existierende URL zu behalten): -`git remote set-url {{name_des_remotes}} {{url_des_remotes}}` +`git remote set-url {{remote_name}} {{remote_url}}` - Entferne ein Remote: -`git remote remove {{name_des_remotes}}` +`git remote remove {{remote_name}}` - Benenne ein Remote um: diff --git a/pages.de/common/git-rm.md b/pages.de/common/git-rm.md index 1b41eb8f2418af..a3dd1d147d6e26 100644 --- a/pages.de/common/git-rm.md +++ b/pages.de/common/git-rm.md @@ -1,16 +1,16 @@ # git rm -> Entferne Dateien aus dem Index des Repositories und von dem lokalen Dateisystem. -> Mehr Informationen: . +> Entferne Dateien aus dem Index des Repositories und vom lokalen Dateisystem. +> Weitere Informationen: . -- Entferne eine Datei aus dem Index und von dem lokalen Dateisystem: +- Entferne eine Datei aus dem Index und vom lokalen Dateisystem: -`git rm {{datei}}` +`git rm {{pfad/zu/datei}}` - Entferne ein Verzeichnis: -`git rm -r {{verzeichnis}}` +`git rm -r {{pfad/zu/verzeichnis}}` -- Entferne eine Datei aus dem Index des Repository, aber behalte sie lokal: +- Entferne eine Datei aus dem Index des Repositories, aber behalte sie lokal: -`git rm --cached {{datei}}` +`git rm --cached {{pfad/zu/datei}}` diff --git a/pages.de/common/git-send-email.md b/pages.de/common/git-send-email.md new file mode 100644 index 00000000000000..5f33ea77840195 --- /dev/null +++ b/pages.de/common/git-send-email.md @@ -0,0 +1,24 @@ +# git send-email + +> Sende eine Menge von Patches als E-Mail. Patches können als Dateien, Ordner oder Liste von Revisionen spezifiziert werden. +> Weitere Informationen: . + +- Sende den letzten Commit des aktuellen Branches: + +`git send-email -1` + +- Sende einen spezifischen Commit: + +`git send-email -1 {{commit}}` + +- Sende die letzten (z.B. 10) Commits des aktuellen Branches: + +`git send-email {{-10}}` + +- Editiere eine E-Mail mit einer Reihe von Patches im Standardmailclienten: + +`git send-email -{{anzahl_an_commits}} --compose` + +- Bearbeite den E-Mail Text jedes der zu versendenden Patches: + +`git send-email -{{anzahl_an_commits}} --annotate` diff --git a/pages.de/common/git-setup.md b/pages.de/common/git-setup.md new file mode 100644 index 00000000000000..0c71841a8a4bf2 --- /dev/null +++ b/pages.de/common/git-setup.md @@ -0,0 +1,13 @@ +# git setup + +> Erstelle ein Git Repository in einem bestimmten Verzeichnis und committe alle Dateien. +> Teil der `git-extras`. +> Weitere Informationen: . + +- Erstelle ein Git Repository im aktuellen Verzeichnis und committe alle Dateien: + +`git setup` + +- Erstelle ein Git Repository in einem bestimmten Verzeichnis und committe alle Dateien: + +`git setup {{pfad/zu/verzeichnis}}` diff --git a/pages.de/common/git-show-merged-branches.md b/pages.de/common/git-show-merged-branches.md new file mode 100644 index 00000000000000..32cc78a85d75e6 --- /dev/null +++ b/pages.de/common/git-show-merged-branches.md @@ -0,0 +1,8 @@ +# git show-merged-branches + +> Gibt alle Branches aus, welche bereits in die aktuelle HEAD-Datei gemerget wurden. +> Weitere Informationen: . + +- Gib alle Branches aus, die bereits in die aktuelle HEAD-Datei gemerget wurden: + +`git show-merged-branches` diff --git a/pages.de/common/git-show-unmerged-branches.md b/pages.de/common/git-show-unmerged-branches.md new file mode 100644 index 00000000000000..e18ececf993383 --- /dev/null +++ b/pages.de/common/git-show-unmerged-branches.md @@ -0,0 +1,8 @@ +# git show-unmerged-branches + +> Gibt alle Branches aus, welche noch nicht in die aktuelle HEAD-Datei gemerged wurden. +> Weitere Informationen: . + +- Gib alle Branches aus, die noch nicht in die aktuelle HEAD-Datei gemerged wurden: + +`git show-unmerged-branches` diff --git a/pages.de/common/git-status.md b/pages.de/common/git-status.md index aa8c04e9ac4e12..e9232916a1dfb2 100644 --- a/pages.de/common/git-status.md +++ b/pages.de/common/git-status.md @@ -1,21 +1,20 @@ # git status > Zeige die Änderungen an Dateien in einem Git-Repository an. -> Die hinzugefügten, veränderten und gelöschten Dateien im Vergleich mit dem aktuellen Commit werden angezeigt. -> Mehr Informationen: . +> Weitere Informationen: . - Zeige veränderte Dateien an, die noch nicht für den Commit hinzugefügt wurden: `git status` -- Zeige eine kurze Ausgabe an: +- Zeige eine kurze Version an: -`git status -s` +`git status {{[-s|--short]}}` - Zeige nur verfolgte (getrackte) Dateien an: -`git status --untracked-files=no` +`git status {{[-uno|--untracked-files=no]}}` -- Zeige eine kurze Ausgabe mit zusätzlichen Informationen über den Branch an: +- Zeige eine kurze Version mit zusätzlichen Informationen über den Branch an: -`git status -sb` +`git status {{[-sb|--short --branch]}}` diff --git a/pages.de/common/git-switch.md b/pages.de/common/git-switch.md index cc6d947b1a6bbd..f9161312437eaf 100644 --- a/pages.de/common/git-switch.md +++ b/pages.de/common/git-switch.md @@ -1,29 +1,29 @@ # git switch > Wechsle zwischen Branches. Verfügbar ab Git Version 2.23+. -> Betrachte auch `git checkout`. -> Mehr Informationen: . +> Siehe auch `git checkout`. +> Weitere Informationen: . -- Wechsele zu einem existierenden Branch: +- Wechsle zu einem existierenden Branch: -`git switch {{name_des_branches}}` +`git switch {{branche_name}}` - Erstelle einen neuen Branch und wechsele zu diesem: -`git switch --create {{name_des_branches}}` +`git switch {{[-c|--create]}} {{branch_name}}` - Erstelle einen neuen Branch basierend auf einem existierenden Commit und wechsele zu diesem: -`git switch --create {{name_des_branches}} {{commit}}` +`git switch {{[-c|--create]}} {{branch_name}} {{commit}}` -- Wechsele zu dem vorherigen Branch: +- Wechsele zum vorherigen Branch: `git switch -` - Wechsele zu einem Branch und aktualisiere alle Submodule entsprechend: -`git switch --recurse-submodules {{name_des_branches}}` +`git switch --recurse-submodules {{branch_name}}` - Wechsele zu einem Branch und merge automatisch den aktuellen Branch und alle Änderungen, die nicht committed wurden: -`git switch --merge {{name_des_branches}}` +`git switch {{[-m|--merge]}} {{branch_name}}` diff --git a/pages.de/common/git-tag.md b/pages.de/common/git-tag.md index 7764db48a1a636..018feb8956102e 100644 --- a/pages.de/common/git-tag.md +++ b/pages.de/common/git-tag.md @@ -1,8 +1,7 @@ # git tag -> Erstelle, lösche, liste sie auf und überprüfe Tags. -> Ein Tag ist eine statische Referenz auf einen bestimmten Commit. -> Mehr Informationen: . +> Erstelle, lösche, überprüfe und liste Tags auf. +> Weitere Informationen: . - Liste alle Tags auf: @@ -10,23 +9,23 @@ - Erstelle einen Tag mit Namen, welcher auf den aktuellen Commit zeigt: -`git tag {{name_des_tags}}` +`git tag {{tag_name}}` - Erstelle einen Tag mit Namen, welcher auf einen bestimmten Commit zeigt: -`git tag {{name_des_tags}} {{commit}}` +`git tag {{tag_name}} {{commit}}` - Erstelle einen Tag mit Anmerkung: -`git tag {{name_des_tags}} -m {{anmkerung}}` +`git tag {{tag_name}} {{[-m|--message]}} {{anmkerung}}` - Lösche einen Tag mit bestimmten Namen: -`git tag -d {{name_des_tags}}` +`git tag {{[-d|--delete]}} {{tag_name}}` - Lade die aktualisierten Tags aus dem Upstream: -`git fetch --tags` +`git fetch {{[-t|--tags]}}` - Liste alle Tags auf, bei denen sich in den vorangegangenen Commits ein bestimmter Commit findet: diff --git a/pages.de/common/git.md b/pages.de/common/git.md index b472e2cd2bcc9a..f4eb2ef29db4b8 100644 --- a/pages.de/common/git.md +++ b/pages.de/common/git.md @@ -1,28 +1,29 @@ # git > Verteiltes Versionskontrollsystem. -> Mehr Informationen: . +> Manche Unterbefehle wie `commit` sind separat dokumentiert. +> Weitere Informationen: . -- Gibt die installierte Git Version aus: +- Führe einen Git-Unterbefehl aus: -`git --version` +`git {{unterbefehl}}` -- Zeigt die generelle Hilfsseite an: +- Führe einen Git-Unterbefehl auf einem benutzerdefinierten Repository aus: -`git --help` +`git -C {{pfad/zu/repository}} {{unterbefehl}}` -- Zeigt die Hilfsseite der angegeben Aktion an: +- Führe einen Git-Unterbefehl mit der angegebenen Konfiguration aus: -`git help {{aktion}}` +`git -c '{{config.key}}={{wert}}' {{unterbefehl}}` -- Führt eine Git-Aktion aus: +- Zeige die generelle Hilfeseite an: -`git {{aktion}}` +`git --help` -- Führt eine Git-Aktion auf einem benutzerdefinierten Repository aus: +- Zeige die Hilfeseite eines Unterbefehls an: -`git -C {{pfad/zum/repo}} {{aktion}}` +`git help {{unterbefehl}}` -- Führt eine Git-Aktion mit der angegebenen Konfiguration aus: +- Gib die installierte Git Version aus: -`git -c '{{config.key}}={{value}}' {{subcommand}}` +`git --version` diff --git a/pages.de/common/gnmic-sub.md b/pages.de/common/gnmic-sub.md new file mode 100644 index 00000000000000..d47f497dfb3f9f --- /dev/null +++ b/pages.de/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Dieser Befehl ist ein Alias von `gnmic subscribe`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr gnmic subscribe` diff --git a/pages.de/common/gobuster.md b/pages.de/common/gobuster.md new file mode 100644 index 00000000000000..77ed836758a91a --- /dev/null +++ b/pages.de/common/gobuster.md @@ -0,0 +1,28 @@ +# gobuster + +> Findet versteckte Pfade auf Webservern und mehr. +> Weitere Informationen: . + +- Finde Verzeichnisse und Dateien, die den Wörtern der Wortliste entsprechen: + +`gobuster dir {{[-u|--url]}} {{https://beispiel.com/}} {{[-w|--wordlist]}} {{pfad/zu/datei}}` + +- Finde Subdomains: + +`gobuster dns {{[-d|--domain]}} {{beispiel.com}} {{[-w|--wordlist]}} {{pfad/zu/datei}}` + +- Finde Amazon S3-Buckets: + +`gobuster s3 {{[-w|--wordlist]}} {{pfad/zu/datei}}` + +- Finde andere virtuelle Hosts eines Servers: + +`gobuster vhost {{[-u|--url]}} {{https://beispiel.com/}} {{[-w|--wordlist]}} {{pfad/zu/datei}}` + +- Fuzze den Wert eines URL-Parameters: + +`gobuster fuzz {{[-u|--url]}} {{https://beispiel.com/?parameter=FUZZ}} {{[-w|--wordlist]}} {{pfad/zu/datei}}` + +- Fuzze den Namen eines URL-Parameters: + +`gobuster fuzz {{[-u|--url]}} {{https://beispiel.com/?FUZZ=wert}} {{[-w|--wordlist]}} {{pfad/zu/datei}}` diff --git a/pages.de/common/google-chrome.md b/pages.de/common/google-chrome.md new file mode 100644 index 00000000000000..5e2413ad36cd2a --- /dev/null +++ b/pages.de/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Dieser Befehl ist ein Alias von `chromium`. +> Weitere Informationen: . + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr chromium` diff --git a/pages.de/common/gpg.md b/pages.de/common/gpg.md index e1918a2241e158..3356f5cd28365f 100644 --- a/pages.de/common/gpg.md +++ b/pages.de/common/gpg.md @@ -1,32 +1,36 @@ # gpg > GNU Privacy Guard. -> Mehr Informationen: . +> Weitere Informationen: . -- Signiere doc.txt ohne Verschlüsselung (Ausabe nach doc.txt.asc): +- Erstelle einen öffentlichen und privaten GPG Schlüssel interaktiv: + +`gpg {{[--full-gen-key|--full-generate-key]}}` + +- Signiere `doc.txt` ohne Verschlüsselung (Ausgabe nach `doc.txt.asc`): `gpg --clearsign {{doc.txt}}` -- Verschlüssle doc.txt für alice@beispiel.de (Ausgabe nach doc.txt.gpg): +- Verschlüssle und signiere `doc.txt` für alice@beispiel.de und bob@example.org (Ausgabe nach `doc.txt.gpg`): -`gpg --encrypt --recipient {{alice@beispiel.de}} {{doc.txt}}` +`gpg {{[-es|--encrypt --sign]}} {{[-r|--recipient]}} {{alice@beispiel.de}} {{[-r|--recipient]}} {{bob@example.com}} {{doc.txt}}` -- Verschlüssle doc.txt nur mit Passwort (Ausgabe nach doc.txt.gpg): +- Verschlüssle `doc.txt` nur mit Passwort (Ausgabe nach `doc.txt.gpg`): -`gpg --symmetric {{doc.txt}}` +`gpg {{[-c|--symmetric]}} {{doc.txt}}` -- Entschlüssle doc.txt.gpg (Ausgabe nach `stdout`): +- Entschlüssle `doc.txt.gpg` (Ausgabe nach `stdout`): -`gpg --decrypt {{doc.txt.gpg}}` +`gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}` -- Importiere einen Öffentlichen Schlüssel: +- Importiere einen öffentlichen Schlüssel: -`gpg --import {{public.gpg}}` +`gpg --import {{schlüssel.gpg}}` -- Exportiere Öffentlichen Schlüssel von alice@beispiel.de (Ausgabe nach `stdout`): +- Exportiere den öffentlichen Schlüssel von alice@beispiel.de (Ausgabe nach `stdout`): -`gpg --export --armor {{alice@beispiel.de}}` +`gpg --export {{[-a|--armor]}} {{alice@beispiel.de}}` -- Exportiere Privaten Schlüssel von alice@beispiel.de (Ausgabe nach `stdout`): +- Exportiere den privaten Schlüssel von alice@beispiel.de (Ausgabe nach `stdout`): -`gpg --export-secret-keys --armor {{alice@beispiel.de}}` +`gpg --export-secret-keys {{[-a|--armor]}} {{alice@beispiel.de}}` diff --git a/pages.de/common/grep.md b/pages.de/common/grep.md new file mode 100644 index 00000000000000..56d133eb5138a0 --- /dev/null +++ b/pages.de/common/grep.md @@ -0,0 +1,21 @@ +# grep + +> Findet Ausdrücke in einem Eingabetext. +> Unterstützt einfache Muster und reguläre Ausdrücke. +> Weitere Informationen: . + +- Suche nach einem Ausdruck in einer Datei: + +`grep "{{ausdruck}}" {{pfad/zu/datei}}` + +- Suche nach einem exakten Ausdruck: + +`grep {{[-F|--fixed-strings]}} "{{exakter_ausdruck}}" {{pfad/zu/datei}}` + +- Benutze erweiterte reguläre Ausdrücke (unterstützt `?`, `+`, `{}`, `()` und `|`) ohne Beachtung der Groß-, Kleinschreibung: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{ausdruck}}" {{pfad/zu/datei}}` + +- Zeige 3 Zeilen Kontext um [C], vor [B] oder nach [A] jedem Ergebnis: + +`grep {{--context|--before-context|--after-context}} 3 "{{ausdruck}}" {{pfad/zu/datei}}` diff --git a/pages.de/common/head.md b/pages.de/common/head.md new file mode 100644 index 00000000000000..654ced957ebbdc --- /dev/null +++ b/pages.de/common/head.md @@ -0,0 +1,20 @@ +# head + +> Gibt den ersten Teil einer Datei aus. +> Weitere Informationen: . + +- Gib die ersten paar Zeilen einer Datei aus: + +`head -n {{anzahl_an_zeilen}} {{datei}}` + +- Gib die ersten Bytes einer Datei aus: + +`head -c {{anzahl_an_bytes}} {{datei}}` + +- Gib alle bis auf die letzten Zeilen einer Datei aus: + +`head -n -{{anzahl_an_zeilen}} {{datei}}` + +- Gib alle bis auf die letzten Bytes einer Datei aus: + +`head -c -{{anzahl_an_bytes}} {{datei}}` diff --git a/pages.de/common/http.md b/pages.de/common/http.md new file mode 100644 index 00000000000000..ad5c425d7606a6 --- /dev/null +++ b/pages.de/common/http.md @@ -0,0 +1,36 @@ +# http + +> HTTPie: ein benutzerfreundliches HTTP-Tool. +> Weitere Informationen: . + +- Sende eine GET-Anfrage (Zeigt ddie Header und den Body der Antwort): + +`http {{https://example.com}}` + +- Zeige nur den angegebenen Teil der Anfrage und der Antwort (`H`: Header der Anfrage, `B`: Body der Anfrage, `h`: Header der Antwort, `b`: Body der Antwort, `m`: Metadaten der Antwort): + +`http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}` + +- Spezifiziere die zu nutzende HTTP-Methode und nutze den angegebenen Proxy: + +`http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}` + +- Folge `3xx`-Umleitungen und spezifiziere zusätzliche Header für die Anfrage: + +`http {{[-F|--follow]}} {{https://example.com}} {{'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'}}` + +- Authentisiere gegenüber einem Server mithilfe unterschiedlicher Anthentisierungsmethoden: + +`http {{[-a|--auth]}} {{username:password|token}} {{[-A|--auth-type]}} {{basic|digest|bearer}} {{GET|POST|...}} {{https://example.com/auth}}` + +- Erstelle eine Anfrage ohne diese zu senden (ähnlich zu dry-run): + +`http --offline {{GET|DELETE|...}} {{https://example.com}}` + +- Nutze die angegebene Session für persistente benutzerdefinierte Header, Credentials für die Authentisierung und Cookies: + +`http --session {{session_name|path/to/session.json}} {{[-a|--auth]}} {{username}}:{{password}} {{https://example.com/auth}} {{API-KEY:xxx}}` + +- Lade eine Datei in ein Formular hoch (das folgende Beispiel geht davon aus, dass das Formularfeld als `` definiert ist): + +`http {{[-f|--form]}} {{POST}} {{https://example.com/upload}} {{cv@path/to/file}}` diff --git a/pages.de/common/httpie.md b/pages.de/common/httpie.md new file mode 100644 index 00000000000000..700b2aa6d2df4d --- /dev/null +++ b/pages.de/common/httpie.md @@ -0,0 +1,17 @@ +# httpie + +> Managementschnittstelle für HTTPie. +> Siehe auch: `http`, das eigentliche Tool. +> Weitere Informationen: . + +- Suche nach Aktualisierungen für `httpie`: + +`httpie cli check-updates` + +- Zeige die installierten Plugins für `httpie`: + +`httpie cli plugins list` + +- Installiere/aktualisiere/deinstalliere Plugins: + +`httpie cli plugins {{install|upgrade|uninstall}} {{plugin_name}}` diff --git a/pages.de/common/https.md b/pages.de/common/https.md new file mode 100644 index 00000000000000..22dfe7b6bf4568 --- /dev/null +++ b/pages.de/common/https.md @@ -0,0 +1,7 @@ +# https + +> Dieser Befehl ist ein Alias von `http`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr http` diff --git a/pages.de/common/hx.md b/pages.de/common/hx.md new file mode 100644 index 00000000000000..8cf139af915f62 --- /dev/null +++ b/pages.de/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Dieser Befehl ist ein Alias von `helix`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr helix` diff --git a/pages.de/common/ical.md b/pages.de/common/ical.md new file mode 100644 index 00000000000000..1f68021e849343 --- /dev/null +++ b/pages.de/common/ical.md @@ -0,0 +1,16 @@ +# ical + +> Ein islamischer (Hijri) Kalender und Konverter für das Terminal. +> Weitere Informationen: . + +- Zeige den Kalender von diesem Monat an: + +`ical` + +- Konvertiere ein gregorianisches Datum zu einem islamischen Datum: + +`ical --gregorian {{yyyymmdd}}` + +- Konvertiere ein islamisches Datum zu einem gregorianischen Datum: + +`ical --hijri {{yyyymmdd}}` diff --git a/pages.de/common/id.md b/pages.de/common/id.md new file mode 100644 index 00000000000000..375621e7c78d90 --- /dev/null +++ b/pages.de/common/id.md @@ -0,0 +1,20 @@ +# id + +> Zeige den aktuellen Benutzer und dessen Gruppenzugehörigkeit an. +> Weitere Informationen: . + +- Zeige die Benutzer-ID (UID), die Gruppen-ID (GID) und die Gruppen des aktuellen Benutzers an: + +`id` + +- Zeige die Benutzer-ID (UID) an: + +`id {{[-u|--user]}}` + +- Zeige die Guppen-ID (GID) an: + +`id {{[-g|--group]}}` + +- Zeige die Benutzer-ID (UID), die Gruppen-ID (GID) und die Gruppen eines beliebigen Benutzers an: + +`id {{benutzername}}` diff --git a/pages.de/common/ipcalc.md b/pages.de/common/ipcalc.md new file mode 100644 index 00000000000000..91c004500c064a --- /dev/null +++ b/pages.de/common/ipcalc.md @@ -0,0 +1,28 @@ +# ipcalc + +> Einfache Operationen und Berechnungen mit IP-Adressen und Netzwerken durchführen. +> Weitere Informationen: . + +- Zeige Netzwerkinformationen für eine IP-Adresse an: + +`ipcalc {{192.168.0.1}}` + +- Zeige Netzwerkinformationen unter Verwendung der CIDR-Notation an: + +`ipcalc {{192.168.0.1}}/{{24}}` + +- Zeige Netzwerkinformationen unter Verwendung einer gepunkteten dezimalen Netzmaske an: + +`ipcalc {{192.168.0.1}} {{255.255.255.0}}` + +- Unterdrücke Bitweise Ausgabe: + +`ipcalc {{[-b|--nobinary]}} {{192.168.0.1}}` + +- Teil ein Netzwerk in Blöcke der angegebenen Größe auf: + +`ipcalc {{[-s|--split]}} {{size1 size2 size3 ...}} {{192.168.0.1}}` + +- Zeige Versionsinformationen an: + +`ipcalc {{[-v|--version]}}` diff --git a/pages.de/common/jq.md b/pages.de/common/jq.md new file mode 100644 index 00000000000000..732b7deabf3c31 --- /dev/null +++ b/pages.de/common/jq.md @@ -0,0 +1,32 @@ +# jq + +> Ein JSON-Verarbeiter für die Kommandozeile mit einer domänenspezifischen Sprache. +> Weitere Informationen: . + +- Führe den angegebenen Ausdruck aus (gib farbiges und formatiertes JSON aus): + +`{{cat pfad/zu/datei.json}} | jq '.'` + +- Führe ein gegebenes Skript aus: + +`{{cat pfad/zu/datei.json}} | jq --from-file {{pfad/zu/skript.jq}}` + +- Übergib bestimmte Argumente: + +`{{cat pfad/zu/datei.json}} | jq {{--arg "name1" "wert1" --arg "name2" "wert2" ...}} '{{. + $ARGS.named}}'` + +- Gib bestimmte Schlüssel aus: + +`{{cat pfad/zu/datei.json}} | jq '{{.schlüssel1, .schlüssel2, ...}}'` + +- Gib bestimmte Listenelemente aus: + +`{{cat pfad/zu/datei.json}} | jq '{{.[index1], .[index2], ...}}'` + +- Gib alle Listenelemente/Objektschlüssel aus: + +`{{cat pfad/zu/datei.json}} | jq '.[]'` + +- Füge bestimmte Schlüssel hinzu/lösche bestimmte Schlüssel: + +`{{cat pfad/zu/datei.json}} | jq '. {{+|-}} {{{"schlüssel1": "wert1", "schlüssel2": "wert2", ...}}}'` diff --git a/pages.de/common/k6.md b/pages.de/common/k6.md new file mode 100644 index 00000000000000..0f64e50ea0b3c9 --- /dev/null +++ b/pages.de/common/k6.md @@ -0,0 +1,36 @@ +# k6 + +> Open-Source Tool und SaaS für Lasttests. +> Weitere Informationen: . + +- Führe einen Lasttest lokal aus: + +`k6 run {{skript.js}}` + +- Führe einen Lasttest lokal mit einer festgelegten Anzahl von virtuellen Benutzern und Dauer aus: + +`k6 run --vus {{10}} --duration {{30s}} {{skript.js}}` + +- Führe einen Lasttest lokal mit einer gesetzten Umgebungsvariablen aus: + +`k6 run -e {{HOSTNAME=beispiel.com}} {{skript.js}}` + +- Führe einen Lasttest lokal aus und speichere die Ergebnisse in InfluxDB: + +`k6 run --out influxdb={{http://localhost:8086/k6db}} {{skript.js}}` + +- Führe einen Lasttest lokal aus und verwerfe Antworten (deutlich schneller): + +`k6 run --discard-response-bodies {{skript.js}}` + +- Führe einen Lasttest lokal im JavaScript-Kompatibilitätsmodus aus (deutlich schneller): + +`k6 run --compatibility-mode=base {{skript.js}}` + +- Melde dich bei einem Cloud-Dienst mit einem geheimen Token an: + +`k6 login cloud --token {{geheim}}` + +- Führe einen Lasttest auf Cloud-Infrastruktur aus: + +`k6 cloud {{skript.js}}` diff --git a/pages.de/common/kafkacat.md b/pages.de/common/kafkacat.md new file mode 100644 index 00000000000000..452cf98ceb28da --- /dev/null +++ b/pages.de/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Dieser Befehl ist ein Alias von `kcat`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr kcat` diff --git a/pages.de/common/khal.md b/pages.de/common/khal.md new file mode 100644 index 00000000000000..4b29e51759d213 --- /dev/null +++ b/pages.de/common/khal.md @@ -0,0 +1,24 @@ +# khal + +> Eine textbasierte Kalender- und Planungsanwendung für die Kommandozeile. +> Weitere Informationen: . + +- Starte khal im interaktiven Modus: + +`ikhal` + +- Gib alle Termine aus, die im Kalender "privat" in den nächsten sieben Tagen geplant sind: + +`khal list -a {{privat}} {{today}} {{7d}}` + +- Gib alle Termine aus, die in Kalendern außer "privat" für morgen um 10 Uhr geplant sind: + +`khal at -d {{privat}} {{tomorrow}} {{10:00}}` + +- Gib einen Kalender mit einer Liste an Terminen für die nächsten drei Monate aus: + +`khal calendar` + +- Füge dem Kalender "privat" einen neuen Termin hinzu: + +`khal new -a {{privat}} {{2020-09-08}} {{18:00}} {{18:30}} "{{Zahnarzttermin}}"` diff --git a/pages.de/common/kitty.md b/pages.de/common/kitty.md new file mode 100644 index 00000000000000..b995c1309afdd4 --- /dev/null +++ b/pages.de/common/kitty.md @@ -0,0 +1,24 @@ +# kitty + +> Ein schneller, funktionsreicher, auf der GPU basierender Terminal-Emulator. +> Weitere Informationen: . + +- Öffne ein neues Terminal: + +`kitty` + +- Öffne ein Terminal mit einem festgelegten Titel für das Fenster: + +`kitty --title "{{Titel}}"` + +- Starte die integrierte Farbschema-Auswahl: + +`kitty +kitten themes` + +- Zeige ein Bild im Terminal an: + +`kitty +kitten icat {{pfad/zu/bild}}` + +- Kopiere den Inhalt von `stdin` in die Zwischenablage: + +`echo {{Beispiel}} | kitty +kitten clipboard` diff --git a/pages.de/common/kubectl-delete.md b/pages.de/common/kubectl-delete.md new file mode 100644 index 00000000000000..cd4713a595168d --- /dev/null +++ b/pages.de/common/kubectl-delete.md @@ -0,0 +1,32 @@ +# kubectl delete + +> Lösche Kubernetes-Ressourcen. +> Weitere Informationen: . + +- Lösche einen bestimmten Pod: + +`kubectl delete {{[po|pod]}} {{pod_name}}` + +- Lösche ein bestimmtes Deployment: + +`kubectl delete {{[deploy|deployment]}} {{deployment_name}}` + +- Lösche eine bestimmte Node: + +`kubectl delete {{[no|node]}} {{node_name}}` + +- Lösche alle Pods in einem bestimmten Namespaces: + +`kubectl delete {{[po|pods]}} --all {{[-n|--namespace]}} {{namespace}}` + +- Lösche alle Deployments und Services in einem bestimmten Namespace: + +`kubectl delete {{[deploy|deployment]}},{{[svc|services]}} --all {{[-n|--namespace]}} {{namespace}}` + +- Lösche alle Nodes: + +`kubectl delete {{[no|nodes]}} --all` + +- Lösche Resourcen, die in einer YAML Datei definiert sind: + +`kubectl delete {{[-f|--filename]}} {{pfad/zu/manifest.yaml}}` diff --git a/pages.de/common/kubectl-describe.md b/pages.de/common/kubectl-describe.md new file mode 100644 index 00000000000000..4ea8d9e697a482 --- /dev/null +++ b/pages.de/common/kubectl-describe.md @@ -0,0 +1,24 @@ +# kubectl describe + +> Details von Kubernetes-Objekten und -Ressourcen anzeigen. +> Weitere Informationen: . + +- Zeige Details zu Pods in einem bestimmten [n]amespace an: + +`kubectl describe pods {{[-n|--namespace]}} {{namespace}}` + +- Zeige Details zu Nodes in einem bestimmten [n]amespace an: + +`kubectl describe nodes {{[-n|--namespace]}} {{namespace}}` + +- Zeige Details zu einem bestimmten Pod in einem bestimmten [n]amespace an: + +`kubectl describe pods {{pod_name}} {{[-n|--namespace]}} {{namespace}}` + +- Zeige Details zu einer bestimmten Node in einem bestimmten [n]amespace an: + +`kubectl describe nodes {{node_name}} {{[-n|--namespace]}} {{namespace}}` + +- Zeige Details zu Ressourcen, die in einer YAML Datei definiert sind, an: + +`kubectl describe {{[-f|--filename]}} {{pfad/zu/manifest.yaml}}` diff --git a/pages.de/common/kubectl-get.md b/pages.de/common/kubectl-get.md new file mode 100644 index 00000000000000..9b85fb2dcef099 --- /dev/null +++ b/pages.de/common/kubectl-get.md @@ -0,0 +1,32 @@ +# kubectl get + +> Abfragen von Kubernetes Resourcen und Objekten. +> Weitere Informationen: . + +- Zeige alle Namespaces im Cluster an: + +`kubectl get namespaces` + +- Frage alle Nodes in einem bestimmten [n]amespace ab: + +`kubectl get nodes {{[-n|--namespace]}} {{namespace}}` + +- Frage alle Pods in einem bestimmten [n]amespace ab: + +`kubectl get pods {{[-n|--namespace]}} {{namespace}}` + +- Frage alle Deployments in einem bestimmten [n]amespace ab: + +`kubectl get deployments {{[-n|--namespace]}} {{namespace}}` + +- Frage alle Services in einem bestimmten [n]amespace ab: + +`kubectl get services {{[-n|--namespace]}} {{namespace}}` + +- Frage alle Resourcen in einem bestimmten [n]amespace ab: + +`kubectl get all {{[-n|--namespace]}} {{namespace}}` + +- Frage alle Ressourcen ab, die in einer YAML Datei definiert sind: + +`kubectl get {{[-f|--filename]}} {{pfad/zu/manifest.yaml}}` diff --git a/pages.de/common/kubectl-logs.md b/pages.de/common/kubectl-logs.md new file mode 100644 index 00000000000000..1e549341bf8e94 --- /dev/null +++ b/pages.de/common/kubectl-logs.md @@ -0,0 +1,28 @@ +# kubectl logs + +> Logs für Container in einem Pod anzeigen. +> Weitere Informationen: . + +- Zeige Logs für einen Einzelcontainer-Pod an: + +`kubectl logs {{pod_name}}` + +- Zeige Logs für einen bestimmten Container in einem Pod an: + +`kubectl logs --container {{container_name}} {{pod_name}}` + +- Zeige Logs für alle Container in einem Pod an: + +`kubectl logs --all-containers={{true}} {{pod_name}}` + +- Folge den Pod-Logs (stream): + +`kubectl logs --follow {{pod_name}}` + +- Zeige Pod-Logs die neuer einer relativen Zeit sind `10s`, `5m`, or `1h`: + +`kubectl logs --since={{relative_time}} {{pod_name}}` + +- Zeige die 10 neuesten Logzeilen in einem Pod: + +`kubectl logs --tail={{10}} {{pod_name}}` diff --git a/pages.de/common/kubectl-rollout.md b/pages.de/common/kubectl-rollout.md new file mode 100644 index 00000000000000..ead38b967e7b91 --- /dev/null +++ b/pages.de/common/kubectl-rollout.md @@ -0,0 +1,20 @@ +# kubectl rollout + +> Verwalten des Rollouts einer Kubernetes-Ressource (deployments, daemonsets, and statefulsets). +> Weitere Informationen: . + +- Starte einen rollenden Neustart einer Ressource: + +`kubectl rollout restart {{resource_type}}/{{resource_name}}` + +- Überwache den fortlaufenden Aktualisierungsstatus einer Ressource: + +`kubectl rollout status {{resource_type}}/{{resource_name}}` + +- Setze eine Ressource auf die vorherige Version zurück: + +`kubectl rollout undo {{resource_type}}/{{resource_name}}` + +- Zeige den Rollout-Verlauf einer Ressource an: + +`kubectl rollout history {{resource_type}}/{{resource_name}}` diff --git a/pages.de/common/kubectl-run.md b/pages.de/common/kubectl-run.md new file mode 100644 index 00000000000000..9fedf283500ab2 --- /dev/null +++ b/pages.de/common/kubectl-run.md @@ -0,0 +1,24 @@ +# kubectl run + +> Pods in Kubernetes ausführen. Gibt den Pod-Generator an, um einen deprecation Fehler in einigen Kubernetes Versionen zu vermeiden. +> Weitere Informationen: . + +- Starte einen nginx-Pod und gib Port 80 frei: + +`kubectl run {{nginx-dev}} --image=nginx --port 80` + +- Starte einen nginx-Pod und setze die Umgebungsvariable TEST_VAR: + +`kubectl run {{nginx-dev}} --image=nginx --env="{{TEST_VAR}}={{testing}}"` + +- Zeige API-Aufrufe an, die zur Erstellung eines Nginx-Containers erfolgen würden: + +`kubectl run {{nginx-dev}} --image=nginx --dry-run={{none|server|client}}` + +- Führe einen Ubuntu-Pod interaktiv aus, starte ihn nie neu und entferne ihn, wenn er beendet wird: + +`kubectl run {{temp-ubuntu}} --image=ubuntu:22.04 --restart=Never --rm -- /bin/bash` + +- Führe einen Ubuntu-Pod aus, überschreibe den Standardbefehl mit echo und gib eigene Argumente an: + +`kubectl run {{temp-ubuntu}} --image=ubuntu:22.04 --command -- echo {{argument1 argument2 ...}}` diff --git a/pages.de/common/kubectl.md b/pages.de/common/kubectl.md new file mode 100644 index 00000000000000..b6b6cfac5f2245 --- /dev/null +++ b/pages.de/common/kubectl.md @@ -0,0 +1,37 @@ +# kubectl + +> Befehlszeilenschnittstelle zur Ausführung von Befehlen gegen Kubernetes-Cluster. +> Einige Unterbefehle wie `kubectl run` haben ihre eigene Dokumentation zur Verwendung. +> Weitere Informationen: . + +- Liste Informationen über eine Ressource mit weiteren Details auf: + +`kubectl get {{pod|service|deployment|ingress|...}} {{[-o|--output]}} wide` + +- Aktualisiere die angegebenen Pods mit dem Label 'unhealthy' und dem Wert 'true': + +`kubectl label pods {{name}} unhealthy=true` + +- Liste alle Ressourcen aller Typen auf: + +`kubectl get all` + +- Zeige die Ressourcennutzung (CPU/Memory/Storage) von Knoten oder Pods: + +`kubectl top {{pod|node}}` + +- Zeige die Adresse der Master- und Clusterdienste: + +`kubectl cluster-info` + +- Zeige eine Erklärung zu einem bestimmten Feld an: + +`kubectl explain {{pods.spec.containers}}` + +- Zeige Logs für einen Container in einem Pod oder einer bestimmten Ressource: + +`kubectl logs {{pod_name}}` + +- Führe einen Befehl in einem bestehenden Pod aus: + +`kubectl exec {{pod_name}} -- {{ls /}}` diff --git a/pages.de/common/lastcomm.md b/pages.de/common/lastcomm.md new file mode 100644 index 00000000000000..ffcb1c768db38a --- /dev/null +++ b/pages.de/common/lastcomm.md @@ -0,0 +1,20 @@ +# lastcomm + +> Zeige die zuletzt ausgeführten Befehle an. +> Weitere Informationen: . + +- Gib Informationen zu allen Befehlen in acct aus (Aufzeichnungsdatei): + +`lastcomm` + +- Zeige die ausgeführten Befehle eines bestimmten Benutzers an: + +`lastcomm --user {{benutzer}}` + +- Zeige Informationen zu einem bestimmten Befehl an, der auf dem System ausgeführt wird: + +`lastcomm --command {{befehl}}` + +- Zeige Informationen zu Befehlen an, die auf einem bestimmten Terminal ausgeführt wurden: + +`lastcomm --tty {{terminal_name}}` diff --git a/pages.de/common/latex.md b/pages.de/common/latex.md new file mode 100644 index 00000000000000..3e0cab20e128b2 --- /dev/null +++ b/pages.de/common/latex.md @@ -0,0 +1,16 @@ +# latex + +> Kompiliere eine LaTeX Quelldatei in ein DVI Dokument. +> Weitere Informationen: . + +- Kompiliere ein DVI Dokument: + +`latex {{quelldatei.tex}}` + +- Kompiliere ein DVI Dokument und gib ein bestimmtes Output-Verzeichnis an: + +`latex -output-directory={{pfad/zu/verzeichnis}} {{quelldatei.tex}}` + +- Kompiliere ein DVI Dokument und stoppe bei jedem Fehler: + +`latex -halt-on-error {{quelldatei.tex}}` diff --git a/pages.de/common/less.md b/pages.de/common/less.md index 7d7d93545cfbc1..848cc2068c2f1d 100644 --- a/pages.de/common/less.md +++ b/pages.de/common/less.md @@ -1,35 +1,36 @@ # less -> Datei für interaktives lesen öffnen, erlaubt Scrollen und Suchen. +> Öffne eine Datei für interaktives lesen, erlaubt scrollen und suchen. +> Weitere Informationen: . -- Datei öffnen: +- Öffne eine Datei: -`less {{datei}}` +`less {{pfad/zu/datei}}` -- Seite runter / hoch: +- Scrolle eine Seite runter / hoch: -` (runter), b (hoch)` +`{{|}}` -- Zum Ende / Anfang der Datei springen: +- Springe zum Ende / Anfang der Datei: -`G (Ende), g (Anfang)` +`{{|}}` -- Forwärtssuche nach eine Zeichenkette (n/N um zur nächsten/vorherigen Übereinstimmung zu springen): +- Suche nach einer Zeichenkette vorwärts (``/`` um zur nächsten/vorherigen Übereinstimmung zu springen): -`/{{suche}}` +`{{suche}}` -- Rückwärtssuche nach eine Zeichenkette (n/N um zur nächsten/vorherigen Übereinstimmung zu springen): +- Suche nach einer Zeichenkette rückwärts (``/`` um zur nächsten/vorherigen Übereinstimmung zu springen): -`?{{suche}}` +`{{suche}}` -- Ausgabe des geöffeten buffers folgen: +- Folge der Ausgabe des geöffneten Buffers: -`F` +`` -- Datei in einem Editor öffnen: +- Öffne die Datei in einem Editor: -`v` +`` -- Schließen: +- Beende `less`: -`q` +`` diff --git a/pages.de/common/llvm-ar.md b/pages.de/common/llvm-ar.md new file mode 100644 index 00000000000000..47c2fccadced96 --- /dev/null +++ b/pages.de/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Dieser Befehl ist ein Alias von `ar`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ar` diff --git a/pages.de/common/llvm-g++.md b/pages.de/common/llvm-g++.md new file mode 100644 index 00000000000000..31f15bb735ab66 --- /dev/null +++ b/pages.de/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Dieser Befehl ist ein Alias von `clang++`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr clang++` diff --git a/pages.de/common/llvm-gcc.md b/pages.de/common/llvm-gcc.md new file mode 100644 index 00000000000000..5a6ddc733f5b72 --- /dev/null +++ b/pages.de/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Dieser Befehl ist ein Alias von `clang`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr clang` diff --git a/pages.de/common/llvm-nm.md b/pages.de/common/llvm-nm.md new file mode 100644 index 00000000000000..6d4a3f10da0837 --- /dev/null +++ b/pages.de/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Dieser Befehl ist ein Alias von `nm`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr nm` diff --git a/pages.de/common/llvm-objdump.md b/pages.de/common/llvm-objdump.md new file mode 100644 index 00000000000000..3c8e638de481d8 --- /dev/null +++ b/pages.de/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Dieser Befehl ist ein Alias von `objdump`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr objdump` diff --git a/pages.de/common/llvm-strings.md b/pages.de/common/llvm-strings.md new file mode 100644 index 00000000000000..c0115aa81d11c9 --- /dev/null +++ b/pages.de/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Dieser Befehl ist ein Alias von `strings`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr strings` diff --git a/pages.de/common/lolcat.md b/pages.de/common/lolcat.md index a37d56ea7763a5..468dd4888d6b19 100644 --- a/pages.de/common/lolcat.md +++ b/pages.de/common/lolcat.md @@ -1,20 +1,20 @@ # lolcat -> Ausgabe von Befehl in Regenbogenfarben einfärben. -> Mehr Informationen: . +> Färbe Text in Regenbogenfarben ein. +> Weitere Informationen: . -- Inhalt von Datei in Regenbogenfarben zur Konsole schreiben: +- Gib den Inhalt einer Datei in Regenbogenfarben in der Konsole aus: -`lolcat {{pfad/zur/datei}}` +`lolcat {{pfad/zu/datei}}` -- Ausgabe von Befehl in Regenbogenfarben zur Konsole schreiben: +- Gib die Ausgabe eines Befehls in Regenbogenfarben in der Konsole aus: `{{fortune}} | lolcat` -- Inhalt von Datei in animierten Regenbogenfarben zur Konsole schreiben: +- Gib den Inhalt einer Datei in animierten Regenbogenfarben in der Konsole aus: -`lolcat -a {{pfad/zur/datei}}` +`lolcat -a {{pfad/zu/datei}}` -- Inhalt von Datei in 24-bit (truecolor) Regenbogenfarben zur Konsole schreiben: +- Gib den Inhalt einer Datei in 24-bit (truecolor) Regenbogenfarben in der Konsole aus: -`lolcat -t {{pfad/zur/datei}` +`lolcat -t {{pfad/zu/datei}}` diff --git a/pages.de/common/lp.md b/pages.de/common/lp.md new file mode 100644 index 00000000000000..8f46c40d674688 --- /dev/null +++ b/pages.de/common/lp.md @@ -0,0 +1,28 @@ +# lp + +> Druckt Dateien. +> Weitere Informationen: . + +- Drucke die Ausgabe eines Befehls mit dem Standard-Drucker (siehe `lpstat`): + +`echo "test" | lp` + +- Drucke eine Datei mit dem Standard-Drucker: + +`lp {{pfad/zu/datei}}` + +- Drucke eine Datei mit einem bestimmten Drucker (siehe `lpstat`): + +`lp -d {{druckername}} {{pfad/zu/datei}}` + +- Drucke N Kopien einer Datei mit dem Standarddrucker (wobei N die Anzahl gewünschter Kopien ist): + +`lp -n {{N}} {{pfad/zu/datei}}` + +- Drucke nur bestimmte Seiten mit dem Standarddrucker (drucke Seiten 1, 3-5 und 16): + +`lp -P 1,3-5,16 {{pfad/zu/datei}}` + +- Führe einen aufgehaltenen Druckauftrag durch: + +`lp -i {{job_id}} -H resume` diff --git a/pages.de/common/lpinfo.md b/pages.de/common/lpinfo.md new file mode 100644 index 00000000000000..af5b1d9b86618f --- /dev/null +++ b/pages.de/common/lpinfo.md @@ -0,0 +1,16 @@ +# lpinfo + +> Liste verbundene Drucker und installierte Treiber für den CUPS Druckserver. +> Weitere Informationen: . + +- Liste alle aktuell verbundenen Drucker auf: + +`lpinfo -v` + +- Liste alle aktuell installierten Druckertreiber auf: + +`lpinfo -m` + +- Suche installierte Druckertreiber nach Hersteller oder Modell: + +`lpinfo --make-and-model "{{druckermodell}}" -m` diff --git a/pages.de/common/lpr.md b/pages.de/common/lpr.md new file mode 100644 index 00000000000000..fa1830c367663a --- /dev/null +++ b/pages.de/common/lpr.md @@ -0,0 +1,33 @@ +# lpr + +> CUPS-Programm zum Drucken von Dateien. +> Siehe auch: `lpstat` und `lpadmin`. +> Weitere Informationen: . + +- Drucke eine Datei mit dem Standarddrucker: + +`lpr {{pfad/zu/datei}}` + +- Drucke 2 Kopien einer Datei: + +`lpr -# {{2}} {{pfad/zu/datei}}` + +- Drucke eine Datei mit einem bestimmten Drucker: + +`lpr -P {{druckername}} {{pfad/zu/datei}}` + +- Drucke entweder eine einzelne Seite (z. B. 2) oder mehrere Seiten (z. B. 2-16): + +`lpr -o page-ranges={{2|2-16}} {{pfad/zu/datei}}` + +- Drucke doppelseitig entweder gespiegelt an der langen oder an der kurzen Seite: + +`lpr -o sides={{two-sided-long-edge|two-sided-short-edge}} {{pfad/zu/datei}}` + +- Drucke mit festgelegter Papiergröße (je nach Drucker-Konfiguration gibt es mehr Optionen): + +`lpr -o media={{a4|letter|legal}} {{pfad/zu/datei}}` + +- Drucke mehrere Seiten pro Blatt: + +`lpr -o number-up={{2|4|6|9|16}} {{pfad/zu/datei}}` diff --git a/pages.de/common/lpstat.md b/pages.de/common/lpstat.md new file mode 100644 index 00000000000000..8d1d5f28589f76 --- /dev/null +++ b/pages.de/common/lpstat.md @@ -0,0 +1,20 @@ +# lpstat + +> Zeige Statusinformationen von Druckern. +> Weitere Informationen: . + +- Liste alle aktuell verbundenen Drucker mit ihrer Druckverfügbarkeit auf: + +`lpstat -p` + +- Zeige den Standarddrucker an: + +`lpstat -d` + +- Zeige alle Statusinformationen an: + +`lpstat -t` + +- Liste alle Druckaufträge von einem gegebenen Nutzer auf: + +`lpstat -u {{nutzer}}` diff --git a/pages.de/common/ls.md b/pages.de/common/ls.md index 7bb8ea9aa60b83..8764da92872d87 100644 --- a/pages.de/common/ls.md +++ b/pages.de/common/ls.md @@ -1,27 +1,36 @@ # ls -> Auflisten aller Inhalte eines Ordners. +> Liste den Inhalt eines Verzeichnisses auf. +> Weitere Informationen: . -- Auflisten mit einer Datei pro Zeile: +- Liste den Inhalt in einer Datei pro Zeile auf: `ls -1` -- Auflisten aller Dateien inklusive versteckter Dateien: +- Liste alle Dateien inklusive versteckter Dateien auf: -`ls -a` +`ls {{[-a|--all]}}` -- Liste aller Dateien mit Berechtigungen, Besitzer, Größe und Änderungsdatum: +- Liste alle Dateien mit einem abschließenden `/` bei Verzeichnis-Namen auf: -`ls -la` +`ls {{[-F|--classify]}}` -- Liste aller Dateien mit Dateigrößen in für Menschen lesbaren Einheiten (KB, MB, GB): +- Liste alle Dateien mit Berechtigungen, Besitzer, Größe und Änderungsdatum auf: -`ls -lh` +`ls {{[-la|--all -l]}}` -- Detaillierte Liste sortiert nach der Dateigröße (absteigend): +- Liste alle Dateien mit Dateigröße in für Menschen lesbaren Einheiten (KiB, MiB, GiB): -`ls -lS` +`ls {{[-lh|-l --human-readable]}}` -- Liste aller Dateien sortiert nach dem Änderungsdatum (älteste zuerst): +- Liste Dateien nach sortiert nach Dateigröße mit größter beginnend auf: -`ls -ltr` +`ls {{-lSR|-lS --recursive}}` + +- Liste alle Dateien sortiert nach dem Änderungsdatum mit ältester beginnend auf: + +`ls {{[-ltr|-lt --reverse]}}` + +- Liste nur Verzeichnisse auf: + +`ls {{[-d|--directory]}} */` diff --git a/pages.de/common/lzcat.md b/pages.de/common/lzcat.md new file mode 100644 index 00000000000000..959dc94277855e --- /dev/null +++ b/pages.de/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Dieser Befehl ist ein Alias von `xz`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr xz` diff --git a/pages.de/common/lzma.md b/pages.de/common/lzma.md new file mode 100644 index 00000000000000..28597d70db0663 --- /dev/null +++ b/pages.de/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Dieser Befehl ist ein Alias von `xz`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr xz` diff --git a/pages.de/common/magick-compare.md b/pages.de/common/magick-compare.md new file mode 100644 index 00000000000000..797edfa30ed5d7 --- /dev/null +++ b/pages.de/common/magick-compare.md @@ -0,0 +1,12 @@ +# magick compare + +> Zeige Unterschiede von zwei Bildern. +> Weitere Informationen: . + +- Vergleiche 2 Bilder: + +`magick compare {{pfad/zu/bild1.png}} {{pfad/zu/bild2.png}} {{pfad/zu/diff.png}}` + +- Vergleiche 2 Bilder mit einer bestimmten Metrik (standardmäßig NCC): + +`magick compare -verbose -metric {{PSNR}} {{pfad/zu/bild1.png}} {{pfad/zu/bild2.png}} {{pfad/zu/diff.png}}` diff --git a/pages.de/common/magick-convert.md b/pages.de/common/magick-convert.md new file mode 100644 index 00000000000000..3d6e4ff61ce2c4 --- /dev/null +++ b/pages.de/common/magick-convert.md @@ -0,0 +1,32 @@ +# magick convert + +> ImageMagick Bildkonvertierungswerkzeug. +> Weitere Informationen: . + +- Konvertiere ein Bild von JPEG nach PNG: + +`magick convert {{pfad/zu/bild.jpg}} {{pfad/zu/bild.png}}` + +- Skaliere ein Bild auf 50% seiner Originalgröße: + +`magick convert {{pfad/zu/bild.png}} -resize 50% {{pfad/zu/bild2.png}}` + +- Skaliere ein Bild unter Beibehaltung des ursprünglichen Seitenverhältnisses auf eine maximale Größe von 640x480: + +`magick convert {{pfad/zu/bild.png}} -resize 640x480 {{pfad/zu/bild2.png}}` + +- Hänge Bilder vertikal/horizontal aneinander: + +`magick convert {{pfad/zu/bild1.png pfad/zu/bild2.png ...}} {{-append|+append}} {{pfad/zu/bild.png}}` + +- Erstelle ein animiertes GIF aus einer Serie von Bildern mit einer Verzögerung von 100 ms zwischen den Bildern: + +`magick convert {{pfad/zu/bild1.png pfad/zu/bild2.png ...}} -delay {{10}} {{pfad/zu/animation.gif}}` + +- Erstelle ein Bild mit nichts als einem festen Hintergrund: + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{pfad/zu/bild.png}}` + +- Erstelle ein Favicon aus mehreren Bildern verschiedener Größe: + +`magick convert {{pfad/zu/bild1.png pfad/zu/bild2.png ...}} {{pfad/zu/bild.ico}}` diff --git a/pages.de/common/meshnamed.md b/pages.de/common/meshnamed.md new file mode 100644 index 00000000000000..48fd621407fa3a --- /dev/null +++ b/pages.de/common/meshnamed.md @@ -0,0 +1,16 @@ +# meshnamed + +> Verteiltes Namensystem für IPv6 Mesh-Netzwerke. +> Weitere Informationen: . + +- Starte einen lokalen meshname DNS-Server: + +`meshnamed` + +- Wandle eine IPv6-Adresse in einen meshname um: + +`meshnamed -getname {{200:6fc8:9220:f400:5cc2:305a:4ac6:967e}}` + +- Wandle einen meshname in eine IPv6-Adresse um: + +`meshnamed -getip {{aiag7sesed2aaxgcgbnevruwpy}}` diff --git a/pages.de/common/minisign.md b/pages.de/common/minisign.md new file mode 100644 index 00000000000000..03291a76382131 --- /dev/null +++ b/pages.de/common/minisign.md @@ -0,0 +1,24 @@ +# minisign + +> Ein denkbar einfaches Werkzeug, um Dateien zu signieren und Signaturen zu verifizieren. +> Weitere Informationen: . + +- Generiere ein neues Schlüsselpaar im Standardpfad: + +`minisign -G` + +- Signiere eine Datei: + +`minisign -Sm {{pfad/zu/datei}}` + +- Signiere eine Datei und füge dabei einen vertrauenswürdigen (signierten) und einen nicht vertrauenswürdigen (unsignierten) Kommentar in der Signatur an: + +`minisign -Sm {{pfad/zu/datei}} -c "{{Nicht vertrauenswürdiger Kommentar}}" -t "{{Vertrauenswürdiger Kommentar}}"` + +- Verifiziere eine Datei und die vertrauenswürdigen Kommentare in ihrer Signatur gegen die angegebene Datei mit dem öffentlichen Schlüssel: + +`minisign -Vm {{pfad/zu/datei}} -p {{pfad/zu/öffentlicher_schlüssel.pub}}` + +- Verifiziere eine Datei und die vertrauenswürdigen Kommentare in ihrer Signatur gegen den angegebenen, in Base64 codierten öffentlichen Schlüssel: + +`minisign -Vm {{pfad/zu/datei}} -P "{{öffentlicher_schlüssel_base64}}"` diff --git a/pages.de/common/mscore.md b/pages.de/common/mscore.md new file mode 100644 index 00000000000000..94af7d8cb757c2 --- /dev/null +++ b/pages.de/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Dieser Befehl ist ein Alias von `musescore`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr musescore` diff --git a/pages.de/common/musescore.md b/pages.de/common/musescore.md new file mode 100644 index 00000000000000..75b55bfbb337ae --- /dev/null +++ b/pages.de/common/musescore.md @@ -0,0 +1,32 @@ +# musescore + +> MuseScore 3 Notenblatt-Editor. +> Weitere Informationen: . + +- Verwende einen bestimmten Audio-Treiber: + +`musescore --audio-driver {{jack|alsa|portaudio|pulse}}` + +- Setze die MP3 Output-Bitrate in kbit/s: + +`musescore --bitrate {{bitrate}}` + +- Starte MuseScore im Debug-Modus: + +`musescore --debug` + +- Aktiviere experimentelle Funktionen, wie Layer: + +`musescore --experimental` + +- Exportiere eine Datei in ein anderes Format. Dieses hängt von der Dateierweiterung ab: + +`musescore --export-to {{output_datei}} {{input_datei}}` + +- Zeige Unterschiede zwischen zwei Partituren: + +`musescore --diff {{pfad/zu/datei1}} {{pfad/zu/datei2}}` + +- Gib eine MIDI-Importoperationsdatei an: + +`musescore --midi-operations {{pfad/zu/datei}}` diff --git a/pages.de/common/mv.md b/pages.de/common/mv.md index 551b7fbb7c1337..e36cd43c8c25b3 100644 --- a/pages.de/common/mv.md +++ b/pages.de/common/mv.md @@ -1,23 +1,28 @@ # mv -> Verschieben oder Umbenennen von Dateien oder Ordnern. +> Verschiebe Dateien oder Verzeichnisse oder benenne diese um. +> Weitere Informationen: . -- Verschieben von Dateien an einen beliebigen Ort: +- Verschiebe eine Datei an einen beliebigen Ort: -`mv {{quelle}} {{ziel}}` +`mv {{pfad/zu/datei}} {{pfad/zu/zieldatei}}` + +- Verschiebe mehrere Dateien in ein anderes Verzeichnis und behalte deren Namen bei: + +`mv {{pfad/zu/datei1 pfad/zu/datei2 ...}} {{pfad/zu/ziel_verzeichnis}}` - Überschreibe bereits existierende Dateien ohne vorherige Bestätigung: -`mv -f {{quelle}} {{ziel}}` +`mv {{[-f|--force]}} {{pfad/zu/datei}} {{pfad/zu/zieldatei}}` - Überschreibe bereits existierende Dateien nach Bestätigung (unabhängig von Dateirechten): -`mv -i {{quelle}} {{ziel}}` +`mv {{[-i|--interactive]}} {{pfad/zu/datei}} {{pfad/zu/zieldatei}}` -- Verhindert das Überschreiben existierender Dateien am Zielort: +- Verhindere das Überschreiben existierender Dateien am Zielort: -`mv -n {{quelle}} {{ziel}}` +`mv {{[-n|--no-clobber]}} {{pfad/zu/datei}} {{pfad/zu/zieldatei}}` -- Verschieben von Dateien im ausführlichen Modus - inklusive Auflistung während des Kopierens: +- Liste Dateien und deren Details auf während sie verschoben werden: -`mv -v {{quelle}} {{ziel}}` +`mv {{[-v|--verbose]}} {{pfad/zu/datei}} {{pfad/zu/zieldatei}}` diff --git a/pages.de/common/nativefier.md b/pages.de/common/nativefier.md index 095d1f7465cd1c..9e05d0c4f7a50b 100644 --- a/pages.de/common/nativefier.md +++ b/pages.de/common/nativefier.md @@ -1,16 +1,16 @@ # nativefier > Befehlszeilen-Tool zum Erstellen einer Desktop-Anwendung für jede Website mit minimaler Konfiguration. -> Mehr Informationen: . +> Weitere Informationen: . -- Erstellen einer Desktop-Anwendung für eine Website: +- Erstelle einer Desktop-Anwendung für eine Website: -`nativefier {{URL}}}` +`nativefier {{url}}` -- Erstellen Sie eine Desktop-Anwendung mit einem benutzerdefinierten Namen: +- Erstelle eine Desktop-Anwendung mit einem benutzerdefinierten Namen: -`nativefier --name {{Name}} {{URL}}` +`nativefier --name {{name}} {{url}}` -- Verwenden Sie ein benutzerdefiniertes Icon, sollte ein PNG sein: +- Verwende ein benutzerdefiniertes Icon: -`nativefier --icon {{Pfad/zum/Icon.png}} {{url}}` +`nativefier --icon {{pfad/zu/icon.png}} {{url}}` diff --git a/pages.de/common/nginx.md b/pages.de/common/nginx.md new file mode 100644 index 00000000000000..4062fe2eaefab5 --- /dev/null +++ b/pages.de/common/nginx.md @@ -0,0 +1,24 @@ +# nginx + +> Nginx Webserver. +> Weitere Informationen: . + +- Starte den Server mit der standardmäßigen Konfigurationsdatei: + +`nginx` + +- Starte den Server mit einer benutzerdefinierten Konfigurationsdatei: + +`nginx -c {{konfigurationsdatei}}` + +- Starte den Server mit einem Präfix für alle relativen Pfaden in der Konfigurationsdatei: + +`nginx -c {{konfigurationsdatei}} -p {{präfix/für/relative/pfade}}` + +- Teste die Konfigurationsdatei ohne den laufenden Server zu beeinflussen: + +`nginx -t` + +- Lade die Konfigurationsdatei durch das Senden eines Signales ohne Pause neu: + +`nginx -s reload` diff --git a/pages.de/common/ngrok.md b/pages.de/common/ngrok.md new file mode 100644 index 00000000000000..1f6fae872b203c --- /dev/null +++ b/pages.de/common/ngrok.md @@ -0,0 +1,24 @@ +# ngrok + +> Reverse-Proxy, welcher einen sicheren Tunnel von einem öffentlichen Endpunkt zu einem lokal verfügbaren Webservice erstellt. +> Weitere Informationen: . + +- Veröffentliche einen lokalen HTTP-Service auf dem angegebenen Port: + +`ngrok http {{80}}` + +- Veröffentliche einen lokalen HTTP-Service auf einem bestimmten Host: + +`ngrok http {{beispiel.dev}}:{{80}}` + +- Veröffentliche einen lokalen HTTPS-Server: + +`ngrok http https://localhost` + +- Veröffentliche den TCP-Traffic auf dem angegebenen Port: + +`ngrok tcp {{22}}` + +- Veröffentliche den TLS-Traffic für einen bestimmten Host und Port: + +`ngrok tls -hostname={{beispiel.de}} {{443}}` diff --git a/pages.de/common/nix-build.md b/pages.de/common/nix-build.md new file mode 100644 index 00000000000000..ab91fd386df718 --- /dev/null +++ b/pages.de/common/nix-build.md @@ -0,0 +1,12 @@ +# nix-build + +> Erstellen eines Nix-Ausdrucks. +> Weitere Informationen: . + +- Erstelle einen Nix-Ausdruck: + +`nix-build '' --attr {{firefox}}` + +- Erstelle einen gesandboxten Nix-Ausdruck (auf nicht-NixOS): + +`nix-build '' --attr {{firefox}} --option sandbox true` diff --git a/pages.de/common/nix-collect-garbage.md b/pages.de/common/nix-collect-garbage.md new file mode 100644 index 00000000000000..aaaafb8bf8a400 --- /dev/null +++ b/pages.de/common/nix-collect-garbage.md @@ -0,0 +1,17 @@ +# nix-collect-garbage + +> Löschen von unbenutzten und unerreichbaren Nix-Speicherpfaden. +> Generationen können mit `nix-env --list-generations` aufgelistet werden. +> Weitere Informationen: . + +- Lösche alle Speicherpfade, die von den aktuellen Generationen der einzelnen Profile nicht verwendet werden: + +`nix-collect-garbage --delete-old` + +- Simuliere die Löschung alter Speicherpfade: + +`nix-collect-garbage --delete-old --dry-run` + +- Lösche alle Speicherpfade, die älter als 30 Tage sind: + +`nix-collect-garbage --delete-older-than 30d` diff --git a/pages.de/common/nix-env.md b/pages.de/common/nix-env.md new file mode 100644 index 00000000000000..668e1027c1183d --- /dev/null +++ b/pages.de/common/nix-env.md @@ -0,0 +1,36 @@ +# nix-env + +> Manipulieren oder Abfragen von Nix-Benutzerumgebungen. +> Weitere Informationen: . + +- Liste alle installierten Pakete auf: + +`nix-env -q` + +- Frage installierte Pakete ab: + +`nix-env -q {{suchbegriff}}` + +- Frage verfügbare Pakete ab: + +`nix-env -qa {{suchbegriff}}` + +- Installiere Paket: + +`nix-env -iA nixpkgs.{{paket_name}}` + +- Installiere ein Paket von einer URL: + +`nix-env -i {{paket_name}} --file {{beispiel.com}}` + +- Deinstalliere ein Paket: + +`nix-env -e {{paket_name}}` + +- Upgrade ein Pakets: + +`nix-env -u {{paket_name}}` + +- Upgrade alle Pakete: + +`nix-env -u` diff --git a/pages.de/common/nix-shell.md b/pages.de/common/nix-shell.md new file mode 100644 index 00000000000000..68b523b3c78b8f --- /dev/null +++ b/pages.de/common/nix-shell.md @@ -0,0 +1,28 @@ +# nix-shell + +> Startet eine interaktive Shell, die auf einem Nix-Ausdruck basiert. +> Weitere Informationen: . + +- Starte mit Nix-Ausdruck in `shell.nix` oder `default.nix` im aktuellen Verzeichnis: + +`nix-shell` + +- Führe Shell-Befehl in nicht-interaktiver Shell aus und beende: + +`nix-shell --run "{{befehl}} {{argument1 argument2 ...}}"` + +- Starte mit Ausdruck in `default.nix` im aktuellen Verzeichnis: + +`nix-shell {{default.nix}}` + +- Starte mit aus nixpkgs geladenen Paketen: + +`nix-shell --packages {{paket_name_1 paket_name_2 ...}}` + +- Starte mit Paketen, die aus einer bestimmten Nixpkgs-Revision geladen wurden: + +`nix-shell --packages {{paket_name_1 paket_name_2 ...}} -I nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}` + +- Führe den Rest der Datei mit einem bestimmten Interpreter aus, zur Verwendung in `#!-scripts` (siehe ): + +`nix-shell -i {{interpreter}} --packages {{paket_name_1 paket_name_2 ...}}` diff --git a/pages.de/common/nix.md b/pages.de/common/nix.md new file mode 100644 index 00000000000000..5d8de6cfa98933 --- /dev/null +++ b/pages.de/common/nix.md @@ -0,0 +1,34 @@ +# nix + +> Ein leistungsfähiger Paketmanager, der das Paketmanagement zuverlässig, reproduzierbar und deklarativ macht. +> `nix` ist experimentell und muss gesondert aktiviert werden. Für die klassische, stabile Schnittstelle siehe `tldr nix classic`. +> Einige Unterbefehle wie `build`, `develop`, `flake`, `registry`, `profile`, `search`, `repl`, `store`, `edit`, `why-depends` usw. haben ihre eigene Dokumentation. +> Weitere Informationen: . + +- Aktiviere den `nix` Befehl: + +`mkdir {{[-p|--parents]}} ~/.config/nix; echo 'experimental-features = nix-command flakes' > ~/.config/nix/nix.conf` + +- Suche ein Paket in nixpkgs nach Namen oder Beschreibung: + +`nix search nixpkgs {{suchbegriff}}` + +- Starte eine Shell und stelle die angegebenen Pakete von nixpkgs darin bereit: + +`nix shell {{nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...}}` + +- Installiere einige Pakete von nixpkgs dauerhaft: + +`nix profile install {{nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...}}` + +- Entferne ungenutzte Pfade aus dem Nix-Store, um Speicherplatz freizugeben: + +`nix store gc` + +- Starte eine interaktive Umgebung zur Auswertung von Nix-Ausdrücken: + +`nix repl` + +- Zeige Hilfe für einen bestimmten Unterbefehl an: + +`nix help {{unterbefehl}}` diff --git a/pages.de/common/nm-classic.md b/pages.de/common/nm-classic.md new file mode 100644 index 00000000000000..42b1da938a4080 --- /dev/null +++ b/pages.de/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Dieser Befehl ist ein Alias von `nm`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr nm` diff --git a/pages.de/common/nmap.md b/pages.de/common/nmap.md new file mode 100644 index 00000000000000..1c608bf55b7308 --- /dev/null +++ b/pages.de/common/nmap.md @@ -0,0 +1,37 @@ +# nmap + +> Netzwerk-Erkundungs-Werkzeug und Security / Port Scanner. +> Manche Funktionen können nur benutzt werden, wenn Nmap mit Root Rechten ausgeführt wird. +> Weitere Informationen: . + +- Überprüfe ob eine IP-Adresse online ist und versuche, das Betriebssystem herauszufinden: + +`nmap -O {{ip_oder_hostname}}` + +- Überprüfe nur ob die angegebenen Hosts online sind (Ping Scan) und ihre Domain-Namen: + +`sudo nmap -sn {{ip_oder_hostname}} {{optional_noch_eine_addresse}}` + +- Scanne zusätzlich mit Skripten, Service-Erkennung, Betriebssystem-Fingerprinting und Traceroute: + +`nmap -A {{addresse_oder_addressen}}` + +- Scanne eine spezifische Liste an Ports (benutze '-p-' für alle Ports von 1 bis 65535): + +`nmap -p {{port1,port2,...,portN}} {{addresse_oder_addressen}}` + +- Führe Dienst- und Versions-Erkennung auf den top 1000 Ports mit den Standard NSE Skripten aus; und schreibe das Ergebnis ('-oN') in der Ausgabe Datei: + +`nmap -sC -sV -oN {{ergebnis.txt}} {{addresse_oder_addressen}}` + +- Scanne Ziel(e) vorsichtig mit 'default and safe' NSE Scripts: + +`nmap --script "default and safe" {{addresse_oder_addressen}}` + +- Scanne einen Web-Server, der auf den Standard Ports 80 und 443 läuft, mit allen verfügbaren 'http-*' NSE Skripten: + +`nmap --script "http-*" {{addresse_oder_addressen}} -p 80,443` + +- Führe einen sehr langsamen verborgenen Scan ('-T0') aus um die Entdeckung von IDS/IPS zu umgehen und benutze Köder IP-Adressen ('-D'): + +`nmap -T0 -D {{köder1_ipaddresse,köder2_ipaddresse,...,köderN_ipaddresse}} {{addresse_oder_addressen}}` diff --git a/pages.de/common/node.md b/pages.de/common/node.md new file mode 100644 index 00000000000000..92cbd1bf1a654f --- /dev/null +++ b/pages.de/common/node.md @@ -0,0 +1,24 @@ +# node + +> Server-seitige JavaScript Plattform (Node.js). +> Weitere Informationen: . + +- Führe eine JavaScript Datei aus: + +`node {{pfad/zu/datei}}` + +- Starte eine REPL (Interaktive Shell): + +`node` + +- Evaluiere als Argument übergebenen JavaScript Code: + +`node {{[-e|--eval]}} "{{code}}"` + +- Evaluierung und Ausgabe des Ergebnisses. Nützlich, um die Versionen der Abhängigkeiten von Node zu sehen: + +`node {{[-p|--print]}} "{{process.versions}}"` + +- Aktiviere Inspector und pausiere die Ausführung bis sich ein Debugger verbindet sobald der Quellcode vollständig geparsed ist: + +`node --no-lazy --inspect-brk {{pfad/zu/datei}}` diff --git a/pages.de/common/nodemon.md b/pages.de/common/nodemon.md new file mode 100644 index 00000000000000..8f7ea21fe44cb2 --- /dev/null +++ b/pages.de/common/nodemon.md @@ -0,0 +1,32 @@ +# nodemon + +> Beobachtet Dateien und startet Node Applikationen automatisch neu, wenn Änderungen erkannt wurden. +> Weitere Informationen: . + +- Führe die angegebene Datei aus und warte auf Änderungen: + +`nodemon {{pfad/zu/datei.js}}` + +- Manueller Neustart von Nodemon (beachte, dass Nodemon dabei aktiv sein muss): + +`rs` + +- Ignoriere bestimmte Dateien: + +`nodemon --ignore {{pfad/zu/datei_oder_verzeichnis}}` + +- Übergib Argumente an die Node Applikation: + +`nodemon {{pfad/zu/datei.js}} {{argumente}}` + +- Übergib Argumente an node selbst, wenn sie nicht bereits Argumente von nodemon sind (z.B. `--inspect`): + +`nodemon {{argumente}} {{pfad/zu/datei.js}}` + +- Führe Nicht-Node Skripte aus: + +`nodemon --exec "{{befehl_um_skript_auszuführen}} {{argumente}}" {{pfad/zu/skript}}` + +- Führe ein Python-Skript aus: + +`nodemon --exec "python {{argumente}}" {{pfad/zu/datei.py}}` diff --git a/pages.de/common/nodenv.md b/pages.de/common/nodenv.md new file mode 100644 index 00000000000000..eb211ae1eeb495 --- /dev/null +++ b/pages.de/common/nodenv.md @@ -0,0 +1,28 @@ +# nodenv + +> Ein Tool, um Node.js Versionen zu verwalten. +> Weitere Informationen: . + +- Installiere eine bestimmte Node.js Version: + +`nodenv install {{version}}` + +- Zeige eine Liste von verfügbaren Versionen: + +`nodenv install --list` + +- Verwende systemweit eine bestimmte Node.js Version: + +`nodenv global {{version}}` + +- Verwende eine bestimmte Node.js Version im aktuellen Verzeichnis: + +`nodenv local {{version}}` + +- Zeige die verwendete Node.js Version im aktuellen Verzeichnis: + +`nodenv version` + +- Zeige den Ort, wo ein Node.js Befehl installiert ist (bspw. `npm`): + +`nodenv which {{befehl}}` diff --git a/pages.de/common/npm-check.md b/pages.de/common/npm-check.md new file mode 100644 index 00000000000000..8a692810e4836c --- /dev/null +++ b/pages.de/common/npm-check.md @@ -0,0 +1,20 @@ +# npm check + +> Prüft veraltete, inkorrekte und nicht verwendete Abhängigkeiten. +> Weitere Informationen: . + +- Zeige einen Bericht von veralteten, inkorrekten und nicht verwendeten Abhängigkeiten: + +`npm-check` + +- Aktualisiere interaktiv veraltete Pakete: + +`npm-check {{[-u|--update]}}` + +- Aktualisiere alle Pakete ohne Nachfrage: + +`npm-check {{[-y|--update-all]}}` + +- Überspringe die Prüfung auf nicht verwendete Pakete: + +`npm-check {{[-s|--skip-unused]}}` diff --git a/pages.de/common/npm-why.md b/pages.de/common/npm-why.md new file mode 100644 index 00000000000000..5c30a4b4e3004b --- /dev/null +++ b/pages.de/common/npm-why.md @@ -0,0 +1,8 @@ +# npm why + +> Identifiziert, warum ein npm Paket installiert ist. +> Weitere Informationen: . + +- Zeige, warum ein npm Paket installiert ist: + +`npm-why {{paket_name}}` diff --git a/pages.de/common/npm.md b/pages.de/common/npm.md new file mode 100644 index 00000000000000..d5da4ac02bfbc1 --- /dev/null +++ b/pages.de/common/npm.md @@ -0,0 +1,36 @@ +# npm + +> Ein Kommandozeilenwerkzeug für die Verwaltung von JavaScript und Node.js Paketen (Packages). +> Weitere Informationen: . + +- Erstelle eine `package.json` Datei interaktiv: + +`npm init` + +- Installiere alle in der `package.json` Datei gelisteten Abhängigkeiten: + +`npm install` + +- Installiere eine spezifische Version eines Packages und füge es automatisch der `package.json` Datei hinzu: + +`npm install {{package_name}}@{{version}}` + +- Installiere ein Package und füge es als Entwicklungs-Abhängigkeit der `package.json` Datei hinzu: + +`npm install {{package_name}} {{[-D|--save-dev]}}` + +- Installiere ein Package global: + +`npm install {{[-g|--global]}} {{package_name}}` + +- Deinstalliere ein Package und entferne es automatisch aus der `package.json` Datei: + +`npm uninstall {{package_name}}` + +- Gib eine Liste aller lokal installierten Packages aus: + +`npm list` + +- Gib eine Liste aller global installierten Packages aus: + +`npm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.de/common/npx.md b/pages.de/common/npx.md new file mode 100644 index 00000000000000..cced5e8298186e --- /dev/null +++ b/pages.de/common/npx.md @@ -0,0 +1,24 @@ +# npx + +> Führt Binärdateien von `npm` Paketen aus. +> Weitere Informationen: . + +- Führe die Binärdatei eines bestimmten npm Pakets aus: + +`npx {{modulname}} {{befehlsargumente}}` + +- Übergib den konkreten Namen, falls das Paket mehrere Binärdateien besitzt: + +`npx --package {{paketname}} {{modulname}}` + +- Führe einen Befehl aus, wenn er im aktuellen Verzeichnis oder in `node_modules/.bin` gefunden wird: + +`npx --no-install {{befehl}} {{befehlsargumente}}` + +- Führe die Binärdatei eines bestimmten npm Moduls aus und unterdrücke jede Ausgabe von `npx` selbst: + +`npx --quiet {{modulname}} {{befehlsargumente}}` + +- Zeige eine Hilfe an: + +`npx --help` diff --git a/pages.de/common/ntl.md b/pages.de/common/ntl.md new file mode 100644 index 00000000000000..fdda9f76b66588 --- /dev/null +++ b/pages.de/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Dieser Befehl ist ein Alias von `netlify`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr netlify` diff --git a/pages.de/common/nvm.md b/pages.de/common/nvm.md new file mode 100644 index 00000000000000..0fd261fa03b8a4 --- /dev/null +++ b/pages.de/common/nvm.md @@ -0,0 +1,33 @@ +# nvm + +> Installiere, deinstalliere oder wechsle zwischen Node.js Versionen. +> Unterstützt Versionsnummern wie "12.8" oder "v16.13.1", und Label wie "stable", "system", etc. +> Weitere Informationen: . + +- Installiere eine bestimmte Node.js Version: + +`nvm install {{node_version}}` + +- Verwende eine bestimmte Node.js Version in der aktuellen Shell: + +`nvm use {{node_version}}` + +- Setze die Node.js-Standardversion: + +`nvm alias default {{node_version}}` + +- Zeige alle verfügbaren Node.js Versionen und hebe die Standardversion hervor: + +`nvm list` + +- Deinstalliere die angegebene Node.js Version: + +`nvm uninstall {{node_version}}` + +- Starte eine REPL mit einer bestimmten Node.js Version: + +`nvm run {{node_version}} --version` + +- Führe ein Skript mit einer bestimmten Node.js Version aus: + +`nvm exec {{node_version}} node {{app.js}}` diff --git a/pages.de/common/omz.md b/pages.de/common/omz.md new file mode 100644 index 00000000000000..fa1c2fce3974a1 --- /dev/null +++ b/pages.de/common/omz.md @@ -0,0 +1,32 @@ +# omz + +> Oh My Zsh Kommandozeilenwerkzeug. +> Weitere Informationen: . + +- Aktualisiere Oh My Zsh: + +`omz update` + +- Zeige die Änderungen im neuesten Update von Oh My Zsh an: + +`omz changelog` + +- Starte die aktuelle Zsh-Sitzung und Oh My Zsh neu: + +`omz reload` + +- Zeige eine Liste aller verfügbaren Plugins an: + +`omz plugin list` + +- Aktiviere/Deaktiviere ein Oh My Zsh-Plugin: + +`omz plugin {{enable|disable}} {{plugin}}` + +- Zeige eine Liste aller verfügbaren Themen an: + +`omz theme list` + +- Wähle ein Oh My Zsh-Thema als Standardthema: + +`omz theme set {{theme}}` diff --git a/pages.de/common/pass.md b/pages.de/common/pass.md index 7027dc76495da2..a4db74bdc52ec3 100644 --- a/pages.de/common/pass.md +++ b/pages.de/common/pass.md @@ -1,33 +1,37 @@ # pass -> Programm zum speichern und lesen von Passwörtern und anderen empfindlichen Daten. -> Die Daten sind mit GPG verschlüsselt und mit einem Git repository verwaltet. -> Mehr Informationen: . +> Programm zum Speichern und Lesen von Passwörtern und anderen sensiblen Daten. +> Die Daten sind mit GPG verschlüsselt und werden mit einem Git repository verwaltet. +> Weitere Informationen: . -- Neuen oder bestehenden Speicher mit einer oder mehreren GPG IDs initialisieren oder neu verschlüsseln: +- Initialisiere oder verschlüssle einen neuen oder bestehenden Speicher mit einer oder mehreren GPG IDs neu: `pass init {{gpg_id_1}} {{gpg_id_2}}` -- Passwort und zusätzliche Informationen speichern (Str + D auf neuer Zeile zum abschließen): +- Speichere das Passwort und zusätzliche Informationen (`` auf neuer Zeile zum abschließen): -`pass insert --multiline {{pfad/zu/daten}}` +`pass insert --multiline {{pfad/zu/datei}}` -- Einen Eintrag bearbeiten: +- Bearbeite einen bestimmten Eintrag: -`pass edit {{pfad/zu/daten}}` +`pass edit {{pfad/zu/datei}}` -- Passwort (Erste Zeile des Eintrags) in die Zwischenablage kopieren: +- Kopiere das Passwort (die erste Zeile des Eintrags) in die Zwischenablage: -`pass -c {{pfad/zu/daten}}` +`pass -c {{pfad/zu/datei}}` -- Tree des Passwort stores anzeigen: +- Zeige die Baumstruktur des Passwort-Stores an: `pass` -- Neues, zufälliges Passwort mit Länge n generieren und in die Zwischenablage kopieren: +- Generiere ein neues, zufälliges Passwort mit Länge n und kopiere is in die Zwischenablage: -`pass generate -c {{pfad/zu/daten}} {{n}}` +`pass generate -c {{pfad/zu/datei}} {{n}}` -- Neues Git Repository initialisieren (Alle durch pass durchgeführten änderungen werden automatisch committed): +- Initialisiere ein Git Repository (Alle durch pass durchgeführten Änderungen werden automatisch committed): `pass git init` + +- Führe einen Git-Befehl für den Passwort-Store aus: + +`pass git {{befehl}}` diff --git a/pages.de/common/pcapfix.md b/pages.de/common/pcapfix.md new file mode 100644 index 00000000000000..abffdbe4aebd4e --- /dev/null +++ b/pages.de/common/pcapfix.md @@ -0,0 +1,24 @@ +# pcapfix + +> Repariere beschädigte oder korrumpierte `pcap`- und `pcapng`-Dateien. +> Weitere Informationen: . + +- Repariere eine `pcap`/`pcapng`-Datei (Hinweis: bei `pcap`-Dateien werden nur die ersten 262144 Bytes jedes Pakets gescannt): + +`pcapfix {{pfad/zu/datei.pcapng}}` + +- Repariere eine ganze `pcap`-Datei: + +`pcapfix --deep-scan {{pfad/zu/datei.pcap}}` + +- Repariere eine `pcap`/`pcapng`-Datei und schreibe die Reparieree Datei an einen bestimmten Speicherort: + +`pcapfix --outfile {{pfad/zu/Repariere.pcap}} {{pfad/zu/datei.pcap}}` + +- Behandle die zu reparierende Datei als `pcapng`-Datei, unabhängig von der automatischen Typenerkennung: + +`pcapfix --pcapng {{pfad/zu/datei.pcapng}}` + +- Repariere eine Datei und zeige den Reparaturprozess im Detail: + +`pcapfix --verbose {{pfad/zu/datei.pcap}}` diff --git a/pages.de/common/pdflatex.md b/pages.de/common/pdflatex.md new file mode 100644 index 00000000000000..d2231ee5e8887c --- /dev/null +++ b/pages.de/common/pdflatex.md @@ -0,0 +1,16 @@ +# pdflatex + +> Kompiliere eine LaTeX Quelldatei in ein PDF Dokument. +> Weitere Informationen: . + +- Kompiliere ein PDF Dokument: + +`pdflatex {{quelldatei.tex}}` + +- Kompiliere ein PDF Dokument und gib ein bestimmtes Output-Verzeichnis an: + +`pdflatex -output-directory={{pfad/zu/verzeichnis}} {{quelldatei.tex}}` + +- Kompiliere ein PDF Dokument und stoppe bei jedem Fehler: + +`pdflatex -halt-on-error {{quelldatei.tex}}` diff --git a/pages.de/common/pdfseparate.md b/pages.de/common/pdfseparate.md new file mode 100644 index 00000000000000..bcb67ede2104bd --- /dev/null +++ b/pages.de/common/pdfseparate.md @@ -0,0 +1,16 @@ +# pdfseparate + +> Extrahiere die Seiten einer Portable Document Format (PDF) Datei. +> Weitere Informationen: . + +- Extrahiere die Seiten einer PDF Datei und speichere jede Seite als neue PDF Datei ab: + +`pdfseparate {{pfad/zu/quelldatei.pdf}} {{pfad/zu/zieldatei-%d.pdf}}` + +- Gib die erste Seite zum Extrahieren an: + +`pdfseparate -f {{3}} {{pfad/zu/quelldatei.pdf}} {{pfad/zu/zieldatei-%d.pdf}}` + +- Gib die letzte Seite zum Extrahieren an: + +`pdfseparate -l {{10}} {{pfad/zu/quelldatei.pdf}} {{pfad/zu/zieldatei-%d.pdf}}` diff --git a/pages.de/common/pdftex.md b/pages.de/common/pdftex.md new file mode 100644 index 00000000000000..180be119673817 --- /dev/null +++ b/pages.de/common/pdftex.md @@ -0,0 +1,16 @@ +# pdftex + +> Kompiliere eine TeX Quelldatei in ein PDF Dokument. +> Weitere Informationen: . + +- Kompiliere ein PDF Dokument: + +`pdftex {{quelldatei.tex}}` + +- Kompiliere ein PDF Dokument und gib ein bestimmtes Output-Verzeichnis an: + +`pdftex -output-directory={{pfad/zu/verzeichnis}} {{quelldatei.tex}}` + +- Kompiliere ein PDF Dokument und stoppe bei jedem Fehler: + +`pdftex -halt-on-error {{quelldatei.tex}}` diff --git a/pages.de/common/pdftotext.md b/pages.de/common/pdftotext.md new file mode 100644 index 00000000000000..6cab6903ae9c5d --- /dev/null +++ b/pages.de/common/pdftotext.md @@ -0,0 +1,24 @@ +# pdftotext + +> Konvertiere PDF Dateien zum plain text Format. +> Weitere Informationen: . + +- Konvertiere `datei.pdf` zu plain text und gib sie über die Standardausgabe aus: + +`pdftotext {{datei.pdf}} -` + +- Konvertiere `datei.pdf` zu plain text und speichere sie als `datei.txt`: + +`pdftotext {{datei.pdf}}` + +- Konvertiere `datei.pdf` zu plain text und erhalte das Layout: + +`pdftotext -layout {{datei.pdf}}` + +- Konvertiere `quelldatei.pdf` zu plain text und speichere sie als `zieldatei.txt`: + +`pdftotext {{quelldatei.pdf}} {{zieldatei.txt}}` + +- Konvertiere Seite 2, 3 und 4 von `quelldatei.pdf` zu plain text und speichere sie als `zieldatei.txt`: + +`pdftotext -f {{2}} -l {{4}} {{quelldatei.pdf}} {{zieldatei.txt}}` diff --git a/pages.de/common/pdfunite.md b/pages.de/common/pdfunite.md new file mode 100644 index 00000000000000..00c68f7ee11dd4 --- /dev/null +++ b/pages.de/common/pdfunite.md @@ -0,0 +1,12 @@ +# pdfunite + +> Füge PDF Dateien zusammen. +> Weitere Informationen: . + +- Füge zwei PDF Dateien zu einer PDF Datei zusammen: + +`pdfunite {{pfad/zu/datei1.pdf}} {{pfad/zu/datei2.pdf}} {{pfad/zu/zieldatei.pdf}}` + +- Füge alle PDF Dateien in einem Verzeichnis zu einer PDF Datei zusammen: + +`pdfunite {{pfad/zu/verzeichnis/*.pdf}} {{pfad/zu/zieldatei.pdf}}` diff --git a/pages.de/common/peerindex.md b/pages.de/common/peerindex.md new file mode 100644 index 00000000000000..568f4f04f81efb --- /dev/null +++ b/pages.de/common/peerindex.md @@ -0,0 +1,13 @@ +# peerindex + +> Liest MRT TABLE_DUMPV2 Peer Index Table aus. +> Kann mit gzip, bzip2 und xz komprimierte Dateien lesen. +> Weitere Informationen: . + +- Gib alle Peers aus: + +`peerindex {{master6.mrt}}` + +- Zeige alle Peers an, die Routing-Informationen bereitgestellt haben: + +`peerindex -r {{master6.mrt}}` diff --git a/pages.de/common/php.md b/pages.de/common/php.md new file mode 100644 index 00000000000000..b0cd7e9e4f0024 --- /dev/null +++ b/pages.de/common/php.md @@ -0,0 +1,36 @@ +# php + +> PHP Befehlszeilenschnittstelle. +> Weitere Informationen: . + +- Analysiere ein PHP-Skript und führe es aus: + +`php {{pfad/zu/datei}}` + +- Überprüfe die Syntax eines PHP-Skripts: + +`php -l {{pfad/zu/datei}}` + +- Führen PHP interaktiv aus: + +`php -a` + +- Führe einen PHP-Befehl aus: + +`php -r "{{befehl}}"` + +- Starte den in PHP integrierten Webserver im aktuellen Verzeichnis: + +`php -S {{host:port}}` + +- Zeige eine Liste der installierten PHP-Erweiterungen: + +`php -m` + +- Zeige Informationen zur aktuellen PHP-Konfiguration an: + +`php -i` + +- Zeige Informationen zu einer bestimmten Funktion an: + +`php --rf {{funktionsname}}` diff --git a/pages.de/common/phpbu.md b/pages.de/common/phpbu.md index 706b7684cb7821..64c0ed99406b64 100644 --- a/pages.de/common/phpbu.md +++ b/pages.de/common/phpbu.md @@ -1,20 +1,20 @@ # phpbu > Ein Backup framework für PHP. -> Mehr Informationen: . +> Weitere Informationen: . -- Backups mit der Standard "phpbu.xml" Konfigurationsdatei ausführen: +- Führe ein Backup mit der Standard `phpbu.xml` Konfigurationsdatei aus: `phpbu` -- Backups mit einer spezifischen Konfigurationsdatei ausführen: +- Führe ein Backup mit einer bestimmten Konfigurationsdatei aus: `phpbu --configuration={{pfad/zu/konfiguration.xml}}` -- Nur die angegebenen Backups ausführen: +- Führe nur die angegebenen Backups aus: `phpbu --limit={{backup_art}}` -- Aktionen die ausgeführt worden wären simulieren: +- Simuliere Aktionen die ausgeführt werden würden: `phpbu --simulate` diff --git a/pages.de/common/ping.md b/pages.de/common/ping.md new file mode 100644 index 00000000000000..d78da5be3039bd --- /dev/null +++ b/pages.de/common/ping.md @@ -0,0 +1,28 @@ +# ping + +> Sendet ICMP ECHO_REQUEST Pakete an andere Geräte im Netzwerk. +> Weitere Informationen: . + +- Sende Pings an ein Gerät im Netzwerk: + +`ping {{ziel}}` + +- Sende nur eine bestimmte Anzahl an Pings: + +`ping -c {{anzahl}} {{ziel}}` + +- Sende Pings und bestimme das Interval in Sekunden zwischen diesen (standardmäßig ist es eine Sekunde): + +`ping -i {{sekunden}} {{ziel}}` + +- Sende Pings ohne symbolische Namen nach Adressen aufzulösen: + +`ping -n {{ziel}}` + +- Sende Pings und signalisiere eine erfolgreiche Antwort durch ein Bell Signal (wenn das Terminal es unterstützt): + +`ping -a {{ziel}}` + +- Zeige auch eine Nachricht, wenn keine Antwort empfangen wurde: + +`ping -O {{ziel}}` diff --git a/pages.de/common/ping6.md b/pages.de/common/ping6.md new file mode 100644 index 00000000000000..04c4221624656a --- /dev/null +++ b/pages.de/common/ping6.md @@ -0,0 +1,24 @@ +# ping6 + +> Sendet ICMP ECHO_REQUEST Pakete an andere Geräte im Netzwerk, welche mittels IPv6-Adressen identifiziert werden. +> Weitere Informationen: . + +- Sende Pings an ein Gerät im Netzwerk: + +`ping6 {{ziel}}` + +- Sende nur eine bestimmte Anzahl an Pings: + +`ping6 -c {{anzahl}} {{ziel}}` + +- Sende Pings und bestimme das Interval in Sekunden zwischen diesen (standardmäßig ist es eine Sekunde): + +`ping6 -i {{sekunden}} {{ziel}}` + +- Sende Pings ohne symbolische Namen nach Adressen aufzulösen: + +`ping6 -n {{ziel}}` + +- Sende Pings und signalisiere eine erfolgreiche Antwort durch ein Bell Signal (wenn das Terminal es unterstützt): + +`ping6 -a {{ziel}}` diff --git a/pages.de/common/pio-init.md b/pages.de/common/pio-init.md new file mode 100644 index 00000000000000..dff00ffb1ed564 --- /dev/null +++ b/pages.de/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Dieser Befehl ist ein Alias von `pio project`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr pio project` diff --git a/pages.de/common/piodebuggdb.md b/pages.de/common/piodebuggdb.md new file mode 100644 index 00000000000000..4415669d300698 --- /dev/null +++ b/pages.de/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Dieser Befehl ist ein Alias von `pio debug`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr pio debug` diff --git a/pages.de/common/pip-install.md b/pages.de/common/pip-install.md new file mode 100644 index 00000000000000..4ec61a13f5c8d8 --- /dev/null +++ b/pages.de/common/pip-install.md @@ -0,0 +1,24 @@ +# pip install + +> Installiere Python-Pakete. +> Weitere Informationen: . + +- Installiere ein Paket: + +`pip install {{paketname}}` + +- Installiere eine spezifische Paketversion: + +`pip install {{paketname}}=={{paketversion}}` + +- Installiere die Pakete aus einer Datei: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` + +- Installiere die Pakete von einer URL oder einem lokalen Archiv (.tar.gz | .whl): + +`pip install {{[-f|--find-links]}} {{url|pfad/zu/datei}}` + +- Installiere das lokale Paket im aktuellen Verzeichnis im Entwicklungs-/Bearbeitungsmodus: + +`pip install {{[-e|--editable]}} {{.}}` diff --git a/pages.de/common/pip.md b/pages.de/common/pip.md new file mode 100644 index 00000000000000..86ff6f8f5b6173 --- /dev/null +++ b/pages.de/common/pip.md @@ -0,0 +1,33 @@ +# pip + +> Python package manager. +> Einige Unterbefehle wie `pip install` sind separat dokumentiert. +> Weitere Informationen: . + +- Installiere ein Paket (siehe `pip install` für weitere Beispiele): + +`pip install {{paketname}}` + +- Installiere ein Paket im Benutzerverzeichnis, anstatt systemweit: + +`pip install --user {{paketname}}` + +- Aktualisiere ein Paket: + +`pip install {{[-U|--upgrade]}} {{paketname}}` + +- Deinstalliere ein Paket: + +`pip uninstall {{paketname}}` + +- Speichere eine Liste aller installierten Pakete in eine Datei: + +`pip freeze > {{requirements.txt}}` + +- Zeige Informationen über ein installiertes Paket an: + +`pip show {{paketname}}` + +- Installiere Pakete, die in einer Datei gelistet sind: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` diff --git a/pages.de/common/plantuml.md b/pages.de/common/plantuml.md index 5da27d25436f01..a018f1e5ef694f 100644 --- a/pages.de/common/plantuml.md +++ b/pages.de/common/plantuml.md @@ -1,28 +1,28 @@ # plantuml -> Erstellen Sie UML-Diagramme aus einer reinen Textsprache und rendern Sie sie in verschiedenen Formaten. -> Mehr Informationen: . +> Erstelle UML-Diagramme aus einer reinen Textsprache und rendere sie in verschiedenen Formaten. +> Weitere Informationen: . -- Rendern von Diagrammen im Standardformat (PNG): +- Rendere Diagramme im Standardformat (PNG): -`plantuml {{diagramm1.puml}} {{diagramm2.puml}}` +`plantuml {{pfad/zu/diagramm1.puml}} {{pfad/zu/diagramm2.puml}}` -- Rendern eines Diagramms im vorgegebenen Format (z.B. `png`, `pdf`, `svg`, `txt`): +- Rendere ein Diagramm im vorgegebenen Format (z.B. `png`, `pdf`, `svg`, `txt`): -`plantuml -t {{Format}} {{diagram.puml}}` +`plantuml -t {{format}} {{pfad/zu/diagramm.puml}}` -- Rendern Sie alle Diagramme eines Verzeichnisses: +- Rendere alle Diagramme eines Verzeichnisses: -`plantuml {{Pfad/der/Diagramme}}` +`plantuml {{pfad/zu/verzeichnis}}` -- Rendern Sie ein Diagramm in das Ausgabeverzeichnis: +- Rendere ein Diagramm in ein bestimmtes Ausgabeverzeichnis: -`plantuml -o {{Pfad/zur/Ausgabe}} {{diagramm.puml}}` +`plantuml -o {{pfad/zu/verzeichnis}} {{pfad/zu/diagramm.puml}}` -- Rendern Sie ein Diagramm mit der Konfigurationsdatei: +- Rendere ein Diagramm mit einer bestimmten Konfigurationsdatei: -`plantuml -config {{konfig.cfg}} {{diagramm.puml}}` +`plantuml -config {{pfad/zu/konfig.cfg}} {{pfad/zu/diagramm.puml}}` -- Hilfe anzeigen: +- Zeige Hilfe an: `plantuml -help` diff --git a/pages.de/common/platformio.md b/pages.de/common/platformio.md new file mode 100644 index 00000000000000..bde19725401a2a --- /dev/null +++ b/pages.de/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Dieser Befehl ist ein Alias von `pio`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr pio` diff --git a/pages.de/common/pnpm.md b/pages.de/common/pnpm.md new file mode 100644 index 00000000000000..1db0d44cfec369 --- /dev/null +++ b/pages.de/common/pnpm.md @@ -0,0 +1,37 @@ +# pnpm + +> Schneller, speicherplatzsparender Paketmanager für Node.js. +> Ein Kommandozeilenwerkzeug für die Verwaltung von JavaScript und Node.js Paketen (Packages). +> Weitere Informationen: . + +- Erstelle eine `package.json` Datei interaktiv: + +`pnpm init` + +- Installiere alle in der `package.json` Datei gelisteten Abhängigkeiten: + +`pnpm install` + +- Installiere eine spezifische Version eines Packages und füge es automatisch der `package.json` Datei hinzu: + +`pnpm add {{modul_name}}@{{version}}` + +- Installiere ein Package und füge es als Entwicklungs-Abhängigkeit der `package.json` Datei hinzu: + +`pnpm add {{[-D|--save-dev]}} {{modul_name}}` + +- Installiere ein Package global: + +`pnpm add {{[-g|--global]}} {{modul_name}}` + +- Deinstalliere ein Package und entferne es automatisch aus der `package.json` Datei: + +`pnpm remove {{modul_name}}` + +- Gib eine Liste aller lokal installierten Packages aus: + +`pnpm list` + +- Gib eine Liste aller global installierten Packages aus: + +`pnpm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.de/common/poetry.md b/pages.de/common/poetry.md new file mode 100644 index 00000000000000..193e8701ec2af6 --- /dev/null +++ b/pages.de/common/poetry.md @@ -0,0 +1,36 @@ +# poetry + +> Verwalte Python-Pakete und -Abhängigkeiten. +> Weitere Informationen: . + +- Erstelle ein neues Poetry-Projekt im Verzeichnis mit dem angegebenem Namen: + +`poetry new {{projekt_name}}` + +- Installiere eine Abhängigkeit und alle Unterabhängigkeiten: + +`poetry add {{abhängigkeit}}` + +- Installiere eine Entwicklungsabhängigkeit und alle Unterabhängigkeiten: + +`poetry add --dev {{abhängigkeit}}` + +- Initialisiere ein neues Poetry-Projekt interaktiv im aktuellen Verzeichnis: + +`poetry init` + +- Aktualisiere alle Abhängigkeiten und `poetry.lock`: + +`poetry update` + +- Führe einen Befehl innerhalb der virtuellen Umgebung des Projekts aus: + +`poetry run {{befehl}}` + +- Erhöhe die Minor-Version des Projekts in `pyproject.toml`: + +`poetry version minor` + +- Liste alle poetry Unterbefehle auf: + +`poetry list` diff --git a/pages.de/common/ptpython3.md b/pages.de/common/ptpython3.md new file mode 100644 index 00000000000000..f9e38289d8fb0f --- /dev/null +++ b/pages.de/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Dieser Befehl ist ein Alias von `ptpython`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ptpython` diff --git a/pages.de/common/puppet-agent.md b/pages.de/common/puppet-agent.md new file mode 100644 index 00000000000000..ed9be2f040ebf6 --- /dev/null +++ b/pages.de/common/puppet-agent.md @@ -0,0 +1,32 @@ +# puppet agent + +> Ruft die Client-Konfiguration eines Puppetservers ab und setzt diese auf dem System um. +> Weitere Informationen: . + +- Registriere die Node bei einem Puppetserver und wende den empfangenen Katalog an: + +`puppet agent --test --server {{puppetserver_fqdn}} --serverport {{port}} --waitforcert {{poll_zeit}}` + +- Führe den Agenten im Hintergrund aus (nutzt die Einstellungen von `/opt/puppetlabs/puppet/puppet.conf`): + +`puppet agent` + +- Führe den Agenten einmal im Vordergrund aus und beende: + +`puppet agent --test` + +- Führe den Agenten im Dry-Modus aus: + +`puppet agent --test --noop` + +- Protokolliere jede ausgewertete Ressource (selbst wenn sich nichts geändert hat): + +`puppet agent --test --evaltrace` + +- Deaktiviere den Agenten: + +`puppet agent --disable "{{nachricht}}"` + +- Aktiviere den Agenten: + +`puppet agent --enable` diff --git a/pages.de/common/puppet-apply.md b/pages.de/common/puppet-apply.md new file mode 100644 index 00000000000000..33571b455fd931 --- /dev/null +++ b/pages.de/common/puppet-apply.md @@ -0,0 +1,16 @@ +# puppet apply + +> Wende ein Puppet-Manifest lokal an. +> Weitere Informationen: . + +- Wende ein Manifest an: + +`puppet apply {{pfad/zu/manifest}}` + +- Führe Puppetcode aus: + +`puppet apply --execute {{code}}` + +- Benutze ein bestimmtes Modulverzeichnis und Hiera-Konfigurationsdatei: + +`puppet apply --modulepath {{pfad/zu/ordner}} --hiera_config {{pfad/zu/datei}} {{pfad/zu/manifest}}` diff --git a/pages.de/common/puppet.md b/pages.de/common/puppet.md new file mode 100644 index 00000000000000..f24ca64415b161 --- /dev/null +++ b/pages.de/common/puppet.md @@ -0,0 +1,21 @@ +# puppet + +> Puppet bietet Tools, an um die Konfiguration von Servern zu automatisieren. +> Einige Unterbefehle wie `puppet agent` sind separat dokumentiert. +> Weitere Informationen: . + +- Führe einen Puppet-Unterbefehl aus: + +`puppet {{unterbefehl}}` + +- Gib die installierte Version von Puppet aus: + +`puppet --version` + +- Zeige die generelle Hilfeseite an: + +`puppet --help` + +- Zeige die Hilfeseite eines Unterbefehls an (z.B. `agent`, `apply`, etc.): + +`puppet help {{unterbefehl}}` diff --git a/pages.de/common/pystun3.md b/pages.de/common/pystun3.md new file mode 100644 index 00000000000000..cab5503c8340af --- /dev/null +++ b/pages.de/common/pystun3.md @@ -0,0 +1,16 @@ +# pystun3 + +> Classic STUN-Client, geschrieben in Python. +> Weitere Informationen: . + +- Stelle eine STUN-Anfrage: + +`pystun3` + +- Stelle eine STUN-Anfrage und spezifiziere den STUN-Server: + +`pystun3 --stun-host {{stun.1und1.de}}` + +- Stelle eine STUN-Anfrage und spezifiziere den Quellport: + +`pystun3 --source-port {{7932}}` diff --git a/pages.de/common/python3.md b/pages.de/common/python3.md new file mode 100644 index 00000000000000..70fb061f0a8f45 --- /dev/null +++ b/pages.de/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Dieser Befehl ist ein Alias von `python`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr python` diff --git a/pages.de/common/r2.md b/pages.de/common/r2.md new file mode 100644 index 00000000000000..d618a10e9a1c1b --- /dev/null +++ b/pages.de/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Dieser Befehl ist ein Alias von `radare2`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr radare2` diff --git a/pages.de/common/rails.md b/pages.de/common/rails.md new file mode 100644 index 00000000000000..90b5abe64bea1e --- /dev/null +++ b/pages.de/common/rails.md @@ -0,0 +1,25 @@ +# rails + +> Ein Server-seitiges MVC Webframework in Ruby. +> Manche Unterbefehle wie `generate` sind separat dokumentiert. +> Weitere Informationen: . + +- Erstelle ein neues Rails-Projekt: + +`rails new "{{projektname}}"` + +- Starte einen lokalen Server für das aktuelle Project unter Port 3000: + +`rails server` + +- Starte einen lokalen Server für das aktuelle Project unter einem bestimmten Port: + +`rails server -p "{{port}}"` + +- Starte eine interactive Konsole (REPL): + +`rails console` + +- Zeige die Versionsnummer von `rails` an: + +`rails --version` diff --git a/pages.de/common/rcat.md b/pages.de/common/rcat.md new file mode 100644 index 00000000000000..ef473cea0314b5 --- /dev/null +++ b/pages.de/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Dieser Befehl ist ein Alias von `rc`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr rc` diff --git a/pages.de/common/rev.md b/pages.de/common/rev.md deleted file mode 100644 index d24cc03370dbea..00000000000000 --- a/pages.de/common/rev.md +++ /dev/null @@ -1,11 +0,0 @@ -# rev - -> Kehre die Reihenfolge von Text um. - -- Kehre die Reihenfolge des Textes "Hallo" um: - -`echo "Hallo" | rev` - -- Kehre die Reihenfolge einer Datei um: - -`rev {{datei}}` diff --git a/pages.de/common/rm.md b/pages.de/common/rm.md new file mode 100644 index 00000000000000..456d8b054c22b2 --- /dev/null +++ b/pages.de/common/rm.md @@ -0,0 +1,20 @@ +# rm + +> Lösche Dateien oder Verzeichnisse. +> Weitere Informationen: . + +- Lösche Dateien an beliebigen Speicherorten: + +`rm {{pfad/zu/datei1 pfad/zu/datei2 ...}}` + +- Lösche mehrere Dateien mit Eingabeaufforderung zur Bestätigung für jede Datei: + +`rm -i {{pfad/zu/datei1 pfad/zu/datei2 ...}}` + +- Liste jede Datei auf, wenn sie gelöscht wird: + +`rm -v {{pfad/zu/verzeichnis/*}}` + +- Lösche ein Verzeichnis und alle seine Unterverzeichnisse rekursiv: + +`rm -r {{pfad/zu/verzeichnis}}` diff --git a/pages.de/common/sc_analysis_dump.md b/pages.de/common/sc_analysis_dump.md new file mode 100644 index 00000000000000..8c4001a4bd4a5f --- /dev/null +++ b/pages.de/common/sc_analysis_dump.md @@ -0,0 +1,8 @@ +# sc_analysis_dump + +> Ausgabe von Traceroute-Pfaden in einem leicht zu parsenden Format. +> Weitere Informationen: . + +- Gib die traceroute in `warts`-Dateien nacheinander in einem leicht zu parsendem Format aus: + +`sc_analysis_dump {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages.de/common/sc_tracediff.md b/pages.de/common/sc_tracediff.md new file mode 100644 index 00000000000000..48af4a14574352 --- /dev/null +++ b/pages.de/common/sc_tracediff.md @@ -0,0 +1,16 @@ +# sc_tracediff + +> Anzeige von Traceroute-Pfaden, bei denen sich der Pfad geändert hat. +> Weitere Informationen: . + +- Zeige den Unterschied zwischen den traceroutes in zwei `warts`-Dateien: + +`sc_tracediff {{path/to/file1.warts}} {{path/to/file2.warts}}` + +- Zeige den Unterschied zwischen den traceroutes in zwei `warts`-Dateien, einschließlich derer, die sich nicht geändert haben: + +`sc_tracediff -a {{path/to/file1.warts}} {{path/to/file2.warts}}` + +- Zeige den Unterschied zwischen den traceroutes in zwei `warts'-Dateien und versuche, wenn möglich, DNS-Namen und nicht IP-Adressen anzuzeigen: + +`sc_tracediff -n {{path/to/file1.warts}} {{path/to/file2.warts}}` diff --git a/pages.de/common/sc_ttlexp.md b/pages.de/common/sc_ttlexp.md new file mode 100644 index 00000000000000..53c6a176375c42 --- /dev/null +++ b/pages.de/common/sc_ttlexp.md @@ -0,0 +1,8 @@ +# sc_ttlexp + +> Ausgabe der Quelladressen von ICMP TTL expire-Nachrichten in `warts`-Dateien. +> Weitere Informationen: . + +- Gib die Quelladressen von ICMP TTL expire-Nachrichten in einer `warts`-Datei nacheinander aus: + +`sc_ttlexp {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages.de/common/sc_warts2csv.md b/pages.de/common/sc_warts2csv.md new file mode 100644 index 00000000000000..bf22cf854b6d0a --- /dev/null +++ b/pages.de/common/sc_warts2csv.md @@ -0,0 +1,8 @@ +# sc_warts2csv + +> Umwandlung von tracroutes aus `warts`-Dateien in das CSV-Format. +> Weitere Informationen: . + +- Wandle traceroute-Daten in einer `warts`-Datei in CSV um und gebe dieses aus: + +`sc_warts2csv {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages.de/common/sc_warts2json.md b/pages.de/common/sc_warts2json.md new file mode 100644 index 00000000000000..2f74ae8ea52519 --- /dev/null +++ b/pages.de/common/sc_warts2json.md @@ -0,0 +1,8 @@ +# sc_warts2json + +> Wandelt eine WARTS-Datei in eine JSON-Datei um. +> Weitere Informationen: . + +- Wandle `warts`-Dateien in JSON um und gib diese aus: + +`sc_warts2json {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages.de/common/sc_warts2pcap.md b/pages.de/common/sc_warts2pcap.md new file mode 100644 index 00000000000000..1768f2d9ac0b44 --- /dev/null +++ b/pages.de/common/sc_warts2pcap.md @@ -0,0 +1,13 @@ +# sc_warts2pcap + +> Schreibt die in den `warts`-Dateien enthaltenen Pakete in eine `pcap`-Datei. +> Dies ist nur bei tbit, sting und sniff möglich. +> Weitere Informationen: . + +- Wandle die Daten aus mehreren `warts`-Dateien in eine `pcap`-Datei um: + +`sc_warts2pcap -o {{path/to/output.pcap}} {{path/to/file1.warts path/to/file2.warts ...}}` + +- Wandle die Daten aus einer `warts`-Datei in eine `pcap`-Datei um und sortiere die Pakete nach Zeitstempel: + +`sc_warts2pcap -s -o {{path/to/output.pcap}} {{path/to/file.warts}}` diff --git a/pages.de/common/sc_warts2text.md b/pages.de/common/sc_warts2text.md new file mode 100644 index 00000000000000..79210e949aba9c --- /dev/null +++ b/pages.de/common/sc_warts2text.md @@ -0,0 +1,8 @@ +# sc_warts2text + +> Einfache Ausgabe der in einer `warts`-Datei enthaltenen Informationen. +> Weitere Informationen: . + +- Gib die Informationen in einer `warts`-Datei als Text aus: + +`sc_warts2text {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages.de/common/sc_wartscat.md b/pages.de/common/sc_wartscat.md new file mode 100644 index 00000000000000..984c6f9345f643 --- /dev/null +++ b/pages.de/common/sc_wartscat.md @@ -0,0 +1,8 @@ +# sc_wartscat + +> Füge mehrere `warts`-Dateien zusammen. +> Weitere Informationen: . + +- Verkette mehrere `warts`-Dateien zu Einer: + +`sc_wartscat -o {{path/to/output.warts}} {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages.de/common/sc_wartsdump.md b/pages.de/common/sc_wartsdump.md new file mode 100644 index 00000000000000..c9b3fd181e47c6 --- /dev/null +++ b/pages.de/common/sc_wartsdump.md @@ -0,0 +1,8 @@ +# sc_wartsdump + +> Ausführliche Ausgabe der in einer `warts`-Datei enthaltenen Daten. +> Weitere Informationen: . + +- Gib den Inhalt von `warts`-Dateien ausführlich aus: + +`sc_wartsdump {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages.de/common/sc_wartsfilter.md b/pages.de/common/sc_wartsfilter.md new file mode 100644 index 00000000000000..d45dba6e2d412e --- /dev/null +++ b/pages.de/common/sc_wartsfilter.md @@ -0,0 +1,16 @@ +# sc_wartsfilter + +> Filtert bestimmte Datensätze aus einer `warts`-Datei. +> Weitere Informationen: . + +- Filtere alle Datensätze, welche ein bestimmtes Ziel haben und schreibe sie in eine separate Datei: + +`sc_wartsfilter -i {{path/to/input.warts}} -o {{path/to/output.warts}} -a {{192.0.2.5}} -a {{192.0.2.6}}` + +- Filtere alle Datensätze, welche ein Ziel in einem bestimmten Prefix haben und schreibe sie in eine separate Datei: + +`sc_wartsfilter -i {{path/to/input.warts}} -o {{path/to/output.warts}} -a {{2001:db8::/32}}` + +- Filtere alle Datensätze, welche durch eine bestimmte Aktion entstanden sind und gebe sie als JSON aus: + +`sc_wartsfilter -i {{path/to/input.warts}} -t {{ping}} | sc_warts2json` diff --git a/pages.de/common/sc_wartsfix.md b/pages.de/common/sc_wartsfix.md new file mode 100644 index 00000000000000..0cbe8ce53a9d67 --- /dev/null +++ b/pages.de/common/sc_wartsfix.md @@ -0,0 +1,8 @@ +# sc_wartsfix + +> Rettet beschädigte `warts`-Dateien. +> Weitere Informationen: . + +- Speichere alle Datensätze (in einer separaten Datei) bis zum letzten intakten Datensatz: + +`sc_wartsfix {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages.de/common/scamper.md b/pages.de/common/scamper.md new file mode 100644 index 00000000000000..06a66aa82d70ac --- /dev/null +++ b/pages.de/common/scamper.md @@ -0,0 +1,29 @@ +# scamper + +> Sondiert aktiv das Internet, um die Topologie und Leistung zu analysieren. +> Liefert einige Werkzeuge mit, welche mit `sc_` starten, beispielsweise `sc_warts2text` oder `sc_ttlexp`. +> Weitere Informationen: . + +- Führe die Standardoption (Traceroute) auf ein Ziel aus: + +`scamper -i {{192.0.2.1}}` + +- Führe zwei Aktionen (ping und traceroute) auf zwei verschiedenen Zielen aus: + +`scamper -I "{{ping}} {{192.0.2.1}}" -I "{{trace}} {{192.0.2.2}}` + +- Pinge mehrere Hosts mit UDP an, verwende eine bestimmte Portnummer für den ersten Ping und erhöhe sie für jeden weiteren Ping: + +`scamper -c "{{ping}} -P {{UDP-dport}} -d {{33434}}" -i {{192.0.2.1}} -i {{192.0.2.2}}` + +- Verwende den Multipath Discovery Algorithm (MDA), um das Vorhandensein von lastverteilten Pfaden zum Ziel zu ermitteln, und verwende für die Sondierung ICMP-Echopakete mit maximal drei Versuchen, und schreibe das Ergebnis in eine `warts`-Datei: + +`scamper -O {{warts}} -o {{path/to/output.warts}} -I "{{tracelb}} -P {{ICMP-echo}} -q {{3}} {{192.0.2.1}}"` + +- Führe eine Paris-Traceroute mit ICMP zu einem Ziel aus und speichere das Ergebnis in einer komprimierten `warts`-Datei: + +`scamper -O {{warts.gz}} -o {{path/to/output.warts}} -I "{{trace}} -P {{icmp-paris}} {{2001:db8:dead:beaf::4}}"` + +- Zeichne alle ICMP-Pakete, die an einer bestimmten IP-Adresse ankommen und eine bestimmte ICMP-ID haben, in einer `warts`-Datei auf: + +`scamper -O {{warts}} -o {{path/to/output.warts}} -I "sniff -S {{2001:db8:dead:beef::6}} icmp[icmpid] == {{101}}"` diff --git a/pages.de/common/sl.md b/pages.de/common/sl.md new file mode 100644 index 00000000000000..dddec185e492e9 --- /dev/null +++ b/pages.de/common/sl.md @@ -0,0 +1,24 @@ +# sl + +> Dampflokomotive welche durch das Terminal fährt. +> Weitere Informationen: . + +- Lasse eine Dampflokomotive durch dein Terminal fahren: + +`sl` + +- Der Zug brennt, Menschen schreien: + +`sl -a` + +- Lasse den Zug fliegen: + +`sl -F` + +- Zeige den Zug kleiner an: + +`sl -l` + +- Lasse den Benutzer abbrechen (``): + +`sl -e` diff --git a/pages.de/common/sleep.md b/pages.de/common/sleep.md new file mode 100644 index 00000000000000..ef89976259ec47 --- /dev/null +++ b/pages.de/common/sleep.md @@ -0,0 +1,16 @@ +# sleep + +> Verzögert für einen bestimmten Zeitraum. +> Weitere Informationen: . + +- Verzögere in Sekunden: + +`sleep {{sekunden}}` + +- Verzögere in Minuten: + +`sleep {{minuten}}m` + +- Verzögere in Stunden: + +`sleep {{stunden}}h` diff --git a/pages.de/common/sqlite3.md b/pages.de/common/sqlite3.md new file mode 100644 index 00000000000000..ae3944f14d986d --- /dev/null +++ b/pages.de/common/sqlite3.md @@ -0,0 +1,16 @@ +# sqlite3 + +> Das Kommandozeileninterface für SQLite 3, welches eine eigenständige dateibasierte eingebettete SQL-Engine ist. +> Weitere Informationen: . + +- Starte eine interaktive Shell mit einer neuen Datenbank: + +`sqlite3` + +- Öffne eine interaktive Shell mit einer existierenden Datenbank: + +`sqlite3 {{pfad/zu/datenbank.sqlite3}}` + +- Führe ein SQL Statement auf einer existierenden Datenbank aus und beende die Ausführung danach: + +`sqlite3 {{pfad/zu/datenbank.sqlite3}} '{{SELECT * FROM einer_tabelle;}}'` diff --git a/pages.de/common/ssh-agent.md b/pages.de/common/ssh-agent.md index b2f0003afef3bb..948ff5d517e433 100644 --- a/pages.de/common/ssh-agent.md +++ b/pages.de/common/ssh-agent.md @@ -1,13 +1,14 @@ # ssh-agent -> Erstellt einen SSH Agenten-Prozess. +> Erstelle einen SSH Agenten-Prozess. > Ein SSH Agent behält die hinzugefügten SSH Schlüssel solange verschlüsselt im Arbeitsspeicher, bis diese entfernt werden oder der Agenten-Prozess beendet wird. -> Hierfür wird im Folgenden das Programm `ssh-add` verwendet. +> Siehe auch `ssh-add`, um Schlüssel zu verwalten. +> Weitere Informationen: . -- Starten eines SSH Agenten-Prozesses für die aktuelle Shell: +- Starte einen SSH Agenten-Prozesses für die aktuelle Shell: `eval $(ssh-agent)` -- Beenden eines aktuell laufenden SSH Agenten-Prozesses: +- Beende den aktuell laufenden SSH Agenten-Prozesses: `ssh-agent -k` diff --git a/pages.de/common/ssh-copy-id.md b/pages.de/common/ssh-copy-id.md index cb0cd79a34798f..1a1d42c6ca2164 100644 --- a/pages.de/common/ssh-copy-id.md +++ b/pages.de/common/ssh-copy-id.md @@ -1,16 +1,16 @@ # ssh-copy-id -> Installiert den öffentlichen Teil eines SSH Schlüssels in der `authorized_keys` Datei eines Benutzers von einem externen Server. -> Ermöglicht darüber das zukünftige Einloggen unter diesem Benutzernamen bei diesem Server mit diesem Schlüssel. +> Installiere den öffentlichen Teil eines SSH Schlüssels in der `authorized_keys` Datei auf einem externen Server. +> Weitere Informationen: . -- Kopieren des eigenen öffentlichen SSH Schlüssels zu einem externen Server: +- Kopiere den eigenen öffentlichen SSH Schlüssels zu einem externen Server: -`ssh-copy-id {{Benutzer@Externer_Server}}` +`ssh-copy-id {{benutzer}}@{{externer_server}}` -- Kopieren des angegebenen öffentlichen SSH Schlüssels zu einem externen Server: +- Kopiere den angegebenen öffentlichen SSH Schlüssels zu einem externen Server: -`ssh-copy-id -i {{Pfad/zum/öffentlichen/Schlüssel}} {{Benutzer}}@{{Externer_Server}}` +`ssh-copy-id -i {{pfad/zu/öffentlichem_schlüssel}} {{benutzer}}@{{externer_server}}` -- Kopieren des angegeben öffentlichen SSH Schlüssels zu einem externen Server unter Angabe eines bestimmten SSH Ports: +- Kopiere den angegeben öffentlichen SSH Schlüssels zu einem externen Server unter Angabe eines bestimmten SSH Ports: -`ssh-copy-id -i {{Pfad/zum/öffentlichen/Schlüssel}} -p {{port}} {{Benutzer}}@{{Externer_Server}}` +`ssh-copy-id -i {{pfad/zu/öffentlichem_schlüssel}} -p {{port}} {{benutzer}}@{{externer_server}}` diff --git a/pages.de/common/ssh-keygen.md b/pages.de/common/ssh-keygen.md index 2928d6fdc0ca09..8e3893d5cfc8d5 100644 --- a/pages.de/common/ssh-keygen.md +++ b/pages.de/common/ssh-keygen.md @@ -1,35 +1,32 @@ # ssh-keygen -> Generiert ssh Schlüssel für Authentifizierung, Passwort-lose Logins und mehr. +> Generiert SSH Schlüssel für Authentifizierung, Passwort-lose Logins und mehr. +> Weitere Informationen: . -- Interaktives Erstellen eines SSH Schlüssel-Paars: +- Erstelle ein SSH Schlüssel-Paar interaktiv: `ssh-keygen` -- Erstellen eines Schlüssel-Paars unter einem bestimmten Dateinamen: +- Generiere ein ed25519 Schlüssel-Paar mit 32 Schlüssel-Ableitungs-Iterationen und speicher unter einem bestimmten Dateinamen: -`ssh-keygen -f ~/.ssh/{{Dateiname}}` +`ssh-keygen -t {{ed25519}} -a {{32}} -f {{~/.ssh/datei}}` -- Generieren eines ed25519 Schlüssel-Paars mit 100 Schlüssel Ableitungs-Iterationen: +- Generiere ein 4096 Bit langen RSA Schlüssel-Paar mit der E-Mail im Kommentarfeld: -`ssh-keygen -t ed25519 -a 100` +`ssh-keygen -t {{rsa}} -b {{4096}} -C "{{kommentar|e-mail}}"` -- Generieren eines 4096 Bit langen RSA Schlüssel-Paars mit der Email im Kommentarfeld: +- Entferne den Schlüssel eines Servers aus der `known_hosts` Datei (hilfreich wenn ein Server seinen Schlüssel aktualisiert hat und der alte somit nicht mehr gilt): -`ssh-keygen -t rsa -b 4096 -C "{{Email}}"` +`ssh-keygen -R {{externer_server}}` -- Abrufen des Schlüssel Fingerabdrucks von einem Server (hilfreich um die Authentizität eines Servers beim ersten Verbinden zu überprüfen): +- Rufe den Fingerabdruck eines Schlüssels im MD5 Hex Format ab: -`ssh-keygen -l -F {{Externer_Server}}` +`ssh-keygen -l -E {{md5}} -f {{~/.ssh/datei}}` -- Entfernen der Schlüssel eines Servers aus der `known_hosts` Datei (hilfreich wenn ein Server seinen Schlüssel aktualisiert hat und der alte somit nicht mehr gilt): +- Ändere das Passwort eines privaten Schlüssels: -`ssh-keygen -R {{Externer_Server}}` +`ssh-keygen -p -f {{~/.ssh/datei}}` -- Abrufen des Fingerabdrucks eines Schlüssels im MD5 Hex Format: +- Ändern Sie den Typ des Schlüsselformats (z. B. vom OPENSSH-Format in PEM), die Datei wird an Ort und Stelle neu geschrieben: -`ssh-keygen -l -E md5 -f ~/.ssh/{{Dateiname}}` - -- Ändern des Passworts eines privaten Schlüssels: - -`ssh-keygen -p -f ~/.ssh/{{Dateiname}}` +`ssh-keygen -p -N "" -m {{PEM}} -f ~/.ssh/{{datei}}` diff --git a/pages.de/common/ssh-keyscan.md b/pages.de/common/ssh-keyscan.md index 7e88808f74c70d..e7e884620cdf71 100644 --- a/pages.de/common/ssh-keyscan.md +++ b/pages.de/common/ssh-keyscan.md @@ -1,19 +1,20 @@ # ssh-keyscan -> Abruf von öffentlichen SSH Schlüssels eines externen Servers. +> Rufe öffentliche SSH Schlüssel eines externen Servers ab. +> Weitere Informationen: . -- Abruf aller öffentlichen SSH Schlüssel: +- Rufe alle öffentlichen SSH Schlüssel eines Servers ab: -`ssh-keyscan {{Server}}` +`ssh-keyscan {{server}}` -- Abruf aller öffentlichen SSH Schlüssel unter einem bestimmten Port: +- Rufe alle öffentlichen SSH Schlüssel unter einem bestimmten Port ab: -`ssh-keyscan -p {{Port}} {{Server}}` +`ssh-keyscan -p {{port}} {{server}}` -- Abruf bestimmter SSH Schüssel-Typen: +- Rufe bestimmte SSH Schüssel-Typen ab: -`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{Server}}` +`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{server}}` -- Manuelle Aktualisierung der `known_hosts` SSH Datei mit dem Fingerabdruck eines bestimmten Servers: +- Aktualisiere die `known_hosts` SSH Datei mit dem Fingerabdruck eines bestimmten Servers: -`ssh-keyscan -H {{Server}} >> ~/.ssh/known_hosts` +`ssh-keyscan -H {{server}} >> ~/.ssh/known_hosts` diff --git a/pages.de/common/ssh.md b/pages.de/common/ssh.md index 1e9c003a72b1fd..467831a3adf813 100644 --- a/pages.de/common/ssh.md +++ b/pages.de/common/ssh.md @@ -1,36 +1,33 @@ # ssh > Secure Shell ist ein Protokoll für das sichere einloggen auf einem externen System. -> Es kann dadurch eingesetzt werden um Kommandos auf externen Systemen auszuführen. +> Es kann dafür eingesetzt werden um Befehle auf externen Systemen auszuführen. +> Weitere Informationen: . -- Verbindung zu einem externen Server: +- Stelle eine Verbindung zu einem externen Server her: -`ssh {{Benutzer}}@{{Externer_Server}}` +`ssh {{benutzer}}@{{externer_server}}` -- Verbindung zu einem externen Server mit spezifischer Identität (privatem SSH Schlüssel): +- Stelle eine Verbindung zu einem externen Server mit spezifischer Identität her (privater SSH Schlüssel): -`ssh -i {{path/to/key_file}} {{Benutzer}}@{{Externer_Server}}` +`ssh -i {{pfad/zu/schlüssel_datei}} {{benutzer}}@{{externer_server}}` -- Verbindung zu einem externen Server unter einem spezifischen Port: +- Stelle eine Verbindung zu einem externen Server unter einem spezifischen Port her: -`ssh {{Benutzer}}@{{Externer_Server}} -p {{2222}}` +`ssh {{benutzer}}@{{externer_server}} -p {{2222}}` -- Ausführen eines Kommandos auf einem externen Server: +- SSH Tunneln: Leite Ports dynamische Port weiter (SOCKS proxy auf localhost:1080): -`ssh {{Externer_Server}} {{Kommando -mit -Optionen}}` +`ssh -D {{1080}} {{benutzer}}@{{externer_server}}` -- SSH Tunneln: Dynamische Port Weiterleitung (SOCKS proxy auf localhost:9999): +- SSH Tunneln: Leite einen spezifischen Ports (localhost:9999 zu example.org:80) weiter zusammen mit deaktivierter pseudy-tty Provisionierung für die Ausführung eines Befehls: -`ssh -D {{9999}} -C {{Benutzer}}@{{Externer_Server}}` +`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{benutzer}}@{{externer_server}}` -- SSH Tunneln: Weiterleitung eines spezifischen Ports (localhost:9999 zu example.org:80) zusammen mit deaktivierter pseudy-tty Provisionierung für die Ausführung eines Befehls: +- SSH Springen: Verbinde über einen Spring-Server zu einem externen Server (Es können auch mehrere Spring-Server über eine Komma-separierte Liste angegeben werden): -`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{Benutzer}}@{{Externer_Server}}` +`ssh -J {{benutzer}}@{{sring_server}} {{benutzer}}@{{externer_server}}` -- SSH Springen: Verbinden über einen Spring-Server zu einem externen Server (Es können auch mehrere Spring-Server über eine Komma-separierte Liste angegeben werden) +- Agenten Weiterleitung: Leite die eigenen Authentifizierungs-Informationen an den externen Server weiter (siehe `man ssh_config` für mehr Optionen): -`ssh -J {{Benutzer}}@{{Spring_Server}} {{Benutzer}}@{{Externer_Server}}` - -- Agenten Weiterleitung: Weiterleiten der eigenen Authentifizierungs-Information an den externen Server (siehe `man ssh_config` für mehr Optionen): - -`ssh -A {{Benutzer}}@{{Externer_Server}}` +`ssh -A {{benutzer}}@{{externer_server}}` diff --git a/pages.de/common/sshfs.md b/pages.de/common/sshfs.md index 01c579200bb8cf..b0d3e2113f0d56 100644 --- a/pages.de/common/sshfs.md +++ b/pages.de/common/sshfs.md @@ -1,24 +1,24 @@ # sshfs > Dateisystem Client für SSH. -> Mehr Informationen: . +> Weitere Informationen: . -- Einhängen eines externen Ordners: +- Hänge ein externes Verzeichnis ein: -`sshfs {{Benutzer}}@{{Externer_Server}}:{{Externer_Ordner}} {{Lokaler_Einhänguns_Ordner}}` +`sshfs {{benutzer}}@{{externer_server}}:{{externes_verzeichnis}} {{lokales_einhänge_verzeichnis}}` -- Aushängen eines externen Ordners: +- Hänge ein externes Verzeichnis aus: -`umount {{Lokaler_Einhängungs_Ordner}}` +`umount {{lokaler_einhänge_verzeichnis}}` -- Einhängen eines externen Ordners unter einem bestimmten Port: +- Hänge ein externes Verzeichnis unter einem bestimmten Port ein: -`sshfs {{Benutzer}}@{{Externer_Server}}:{{Externer_Ordner}} -p {{2222}}` +`sshfs {{benutzer}}@{{externer_server}}:{{externes_verzeichnis}} -p {{2222}}` -- Einsatz von Komprimierung: +- Verwende Komprimierung: -`sshfs {{Benutzer}}@{{Externer_Server}}:{{Externer_Ordner}} -C` +`sshfs {{benutzer}}@{{externer_server}}:{{externes_verzeichnis}} -C` -- Beachtung symbolischer Verweise: +- Folge symbolischen Links: -`sshfs -o follow_symlinks {{Benutzer}}@{{Externer_Server}}:{{Externer_Ordner}} {{Lokaler_Einhängungs_Ordner}}` +`sshfs -o follow_symlinks {{benutzer}}@{{externer_server}}:{{externes_verzeichnis}} {{lokaler_einhänge_verzeichnis}}` diff --git a/pages.de/common/sshpass.md b/pages.de/common/sshpass.md index fc539ac6d4a109..2e8e5520ec9620 100644 --- a/pages.de/common/sshpass.md +++ b/pages.de/common/sshpass.md @@ -1,16 +1,16 @@ # sshpass -> Für die Bereitstellung von SSH Passwörtern. -> Es funktioniert über die Übergabe des Passwortes and ein temporäres TTY und die Weiterleitung des `stdin` an die SSH Sitzung. +> Stelle SSH Passwörtern bereit. +> Weitere Informationen: . -- Verbindung zu einem externen Server über ein Passwort aus einem Datei-Objekt (in diesem Fall `stdin`): +- Stelle eine Verbindung zu einem externen Server über ein Passwort aus einem Datei-Objekt her (in diesem Fall `stdin`): -`sshpass -d {{0}} ssh {{Benutzer}}@{{Server}}` +`sshpass -d {{0}} ssh {{benutzer}}@{{server}}` -- Verbindung zu einem externen Server mit Hilfe eines Passworts bei automatischer Akzeptierung von unbekannten SSH Schlüsseln: +- Stelle eine Verbindung zu einem externen Server mit Hilfe eines Passworts bei automatischer Akzeptierung von unbekannten SSH Schlüsseln her: -`sshpass -p {{Passwort}} ssh -o StrictHostKeyChecking=no {{Benutzer}}@{{Server}}` +`sshpass -p {{passwort}} ssh -o StrictHostKeyChecking=no {{benutzer}}@{{server}}` -- Verbindung zu einem externen Server mit Hilfe eines Passworts aus der ersten Zeile einer Datei bei automatischer Akzeptierung von unbekannten SSH Schlüsseln mit anschließender Ausführung eines Kommandos: +- Stelle eine Verbindung zu einem externen Server mit Hilfe eines Passworts aus der ersten Zeile einer Datei bei automatischer Akzeptierung von unbekannten SSH Schlüsseln mit anschließender Ausführung eines Befehls her: -`sshpass -f {{Datei}} ssh -o StrictHostKeyChecking=no {{Benutzer}}@{{Server}} "{{Kommando}}"` +`sshpass -f {{pfad/zu/datei}} ssh -o StrictHostKeyChecking=no {{benutzer}}@{{server}} "{{befehl}}"` diff --git a/pages.de/common/steam.md b/pages.de/common/steam.md new file mode 100644 index 00000000000000..ac0e8c514b2716 --- /dev/null +++ b/pages.de/common/steam.md @@ -0,0 +1,28 @@ +# steam + +> Eine Plattform für Videospiele von Valve. +> Weitere Informationen: . + +- Starte Steam und gebe Debug-Nachrichten auf die Standardausgabe aus: + +`steam` + +- Starte Steam und aktiviere die eingebaute Debug-Menüoption: + +`steam -console` + +- Aktiviere die Menüoption für die Steam-Konsole und öffne diese in einer aktiven Steam-Instanz: + +`steam steam://open/console` + +- Logge dich in Steam mit den angegebenen Zugangsdaten ein: + +`steam -login {{benutzername}} {{passwort}}` + +- Starte Steam im Big-Picture-Modus: + +`steam -tenfoot` + +- Stoppe Steam: + +`steam -shutdown` diff --git a/pages.de/common/steamcmd.md b/pages.de/common/steamcmd.md new file mode 100644 index 00000000000000..39252a67add2ea --- /dev/null +++ b/pages.de/common/steamcmd.md @@ -0,0 +1,16 @@ +# steamcmd + +> Ein Kommandozeilenwerkzeug, um über Steam verfügbare Anwendungen zu verwalten. +> Weitere Informationen: . + +- Installiere und aktualisiere eine Anwendung ohne dich einzuloggen: + +`steamcmd +login {{anonymous}} +app_update {{anwendungs_id}} +quit` + +- Installiere oder aktualisiere eine Anwendung unter Angabe deiner Zugangsdaten: + +`steamcmd +login {{benutzername}} +app_update {{anwendungs_id}} +quit` + +- Installiere eine Anwendung für eine bestimmte Plattform: + +`steamcmd +@sSteamCmdForcePlatformType {{windows}} +login {{benutzername}} +app_update {{anwendungs_id}} validate +quit` diff --git a/pages.de/common/stun.md b/pages.de/common/stun.md new file mode 100644 index 00000000000000..b81d4403fadbbe --- /dev/null +++ b/pages.de/common/stun.md @@ -0,0 +1,12 @@ +# stun + +> Classic STUN-Client. +> Weitere Informationen: . + +- Stelle eine STUN-Anfrage: + +`stun {{stun.1und1.de}}` + +- Stelle eine STUN-Anfrage und spezifiziere den Quellport: + +`stun {{stun.1und1.de}} -p {{4302}}` diff --git a/pages.de/common/tail.md b/pages.de/common/tail.md new file mode 100644 index 00000000000000..61ab414e7df79a --- /dev/null +++ b/pages.de/common/tail.md @@ -0,0 +1,28 @@ +# tail + +> Gib das Ende einer Datei aus. +> Weitere Informationen: . + +- Zeige die letzten Zeilen einer Datei an: + +`tail {{[-n|--lines]}} {{anzahl_an_zeilen}} {{datei}}` + +- Zeige alle Zeilen einer Datei ab einer bestimmten Zeile an: + +`tail {{[-n|--lines]}} +{{zeile}} {{datei}}` + +- Zeige die letzten Bytes einer Datei an: + +`tail {{[-n|--lines]}} {{anzahl_an_bytes}} {{datei}}` + +- Lies aus einer Datei, bis `` gedrückt wird: + +`tail {{[-f|--follow]}} {{datei}}` + +- Lies aus einer Datei, bis `` gedrückt wird, selbst, wenn die Datei nicht zugänglich ist: + +`tail {{[-F|--retry --follow]}} {{datei}}` + +- Zeige die letzten Zeilen einer Datei an und lade alle paar Sekunden neu: + +`tail {{[-n|--lines]}} {{anzahl_an_zeilen}} {{[-s|--sleep-interval]}} {{anzahl_an_sekunden}} {{[-f|--follow]}} {{datei}}` diff --git a/pages.de/common/tar.md b/pages.de/common/tar.md index 7a0c64498c37a2..4a7d9b89ba464d 100644 --- a/pages.de/common/tar.md +++ b/pages.de/common/tar.md @@ -1,41 +1,37 @@ # tar -> Werkzeug zur Archivierung. -> Häufig kombiniert mit einer methode zur Komprimierung, wie gzip oder bzip. -> Mehr Informationen: . +> Archivierungstool. +> Häufig kombiniert mit anderen Methoden zur Komprimierung, wie gzip oder bzip2. +> Weitere Informationen: . -- Erstelle ein Archiv von Datein: +- Erstelle ein Archiv von Dateien: -`tar cf {{ziel.tar}} {{datei1}} {{datei2}} {{datei3}}` +`tar cf {{pfad/zu/ziel.tar}} {{pfad/zu/datei1 pfad/zu/datei2 ...}}` - Erstelle ein mit gzip komprimiertes Archiv: -`tar czf {{ziel.tar.gz}} {{datei1}} {{datei2}} {{datei3}}` +`tar czf {{ziel.tar.gz}} {{pfad/zu/datei1 pfad/zu/datei2 ...}}` - Erstelle ein mit gzip komprimiertes Archiv mit relativen Pfaden: -`tar czf {{ziel.tar.gz}} -C {{pfad/zu/verzeichniss/}} .` +`tar czf {{pfad/zu/ziel.tar.gz}} {{[-C|--directory]}} {{pfad/zu/verzeichnis}} .` -- Extrahiere ein (komprimiertes) Archiv in das derzeitige Verzeichniss: +- Extrahiere ein (komprimiertes) Archiv in das derzeitige Verzeichnis im ausführlichen Modus: -`tar xf {{quelle.tar[.gz|.bz2|.xz]}}` +`tar xvf {{pfad/zu/quelle.tar[.gz|.bz2|.xz]}}` -- Extrahiere ein Archiv in ein Verzeichniss: +- Extrahiere ein Archiv in ein Verzeichnis: -`tar xf {{quelle.tar}} -C {{verzeichniss}}` +`tar xf {{pfad/zu/quelle.tar}} {{[-C|--directory]}} {{pfad/zu/verzeichnis}}` -- Erstelle ein komprimiertes Archiv; benutze den Archiv Suffix um die Kompressions Methode zu wählen: +- Erstelle ein komprimiertes Archiv und benutze den die Dateiendung des Archivs um die Kompressionsmethode zu wählen: -`tar caf {{ziel.tar.xz}} {{datei1}} {{datei2}} {{datei3}}` +`tar caf {{pfad/zu/ziel.tar.xz}} {{pfad/zu/datei1 pfad/zu/datei2 ...}}` - Führe die Inhalte eines tar Archivs auf: -`tar tvf {{quelle.tar}}` +`tar tvf {{pfad/zu/quelle.tar}}` - Extrahiere Dateien die mit einem Muster übereinstimmen: -`tar xf {{quelle.tar}} --wildcards "{{*.html}}"` - -- Extrahiere eine bestimmte Datei ohne die Verzeichniss Struktur beizubehalten: - -`tar xf {{quelle.tar}} {{quelle.tar/pfad/zum/extrahieren}} --strip-components={{tiefe_zu_entfernen}}` +`tar xf {{pfad/zu/quelle.tar}} --wildcards "{{*.html}}"` diff --git a/pages.de/common/termdown.md b/pages.de/common/termdown.md new file mode 100644 index 00000000000000..791d71c75a2a56 --- /dev/null +++ b/pages.de/common/termdown.md @@ -0,0 +1,24 @@ +# termdown + +> Command-line Countdown-Timer. +> Weitere Informationen: . + +- Starte Stoppuhr: + +`termdown` + +- Starte einen Countdown von 1 Minute 30 Sekunden: + +`termdown {{1m30s}}` + +- Starte einen Countdown von 1 Minute 30 Sekunden. Nach ablauf der Zeit blinkt das Terminal: + +`termdown {{1m30s}} --blink` + +- Countdown mit Titel über der abgelaufenen Zeit: + +`termdown {{1m30s}} --title "{{Interesting title}}"` + +- Zeige aktuelle Zeit: + +`termdown --time` diff --git a/pages.de/common/terraform-fmt.md b/pages.de/common/terraform-fmt.md new file mode 100644 index 00000000000000..60b84fcf6e1297 --- /dev/null +++ b/pages.de/common/terraform-fmt.md @@ -0,0 +1,20 @@ +# terraform fmt + +> Formatierung der Konfiguration gemäß den Konventionen der Terraform-Sprache. +> Weitere Informationen: . + +- Formatieren der Konfiguration im aktuellen Verzeichnis: + +`terraform fmt` + +- Formatieren der Konfiguration im aktuellen Verzeichnis und den Unterverzeichnissen: + +`terraform fmt -recursive` + +- Anzeige der Unterschiede bei Formatierungsänderungen: + +`terraform fmt -diff` + +- Die Dateien mit Formatierungsinkonsistenzen werden nicht auf `stdout` ausgegeben: + +`terraform fmt -list=false` diff --git a/pages.de/common/terraform-plan.md b/pages.de/common/terraform-plan.md new file mode 100644 index 00000000000000..a03d55c16e0a35 --- /dev/null +++ b/pages.de/common/terraform-plan.md @@ -0,0 +1,32 @@ +# terraform plan + +> Erzeugen und Anzeigen von Terraform-Ausführungsplänen. +> Weitere Informationen: . + +- Erzeugen und Anzeigen des Ausführungsplans im aktuellen Verzeichnis: + +`terraform plan` + +- Einen Plan zur Zerstörung aller derzeit existierenden entfernten Objekte anzeigen: + +`terraform plan -destroy` + +- Anzeigen eines Plans zur Aktualisierung des Terraform-Status und der Ausgabewerte: + +`terraform plan -refresh-only` + +- Werte für Eingabevariablen festlegen: + +`terraform plan -var '{{name1}}={{wert1}}' -var '{{name2}}={{wert2}}'` + +- Anzeigen eines Plans auf eine Teilmenge von Ressourcen: + +`terraform plan -target {{resource_type.resource_name[index]}}` + +- Ausgabe eines Plans als JSON: + +`terraform plan -json` + +- Ausgabe eines Plans in eine separate Datei: + +`terraform plan -no-color > {{pfad/zu/datei}}` diff --git a/pages.de/common/terraform.md b/pages.de/common/terraform.md new file mode 100644 index 00000000000000..2a7aa8687572cb --- /dev/null +++ b/pages.de/common/terraform.md @@ -0,0 +1,28 @@ +# terraform + +> Erstellen und Bereitstellen von Infrastruktur als Code für Cloud-Anbieter. +> Weitere Informationen: . + +- Initialisieren einer neuen oder bestehenden Terraform-Konfiguration: + +`terraform init` + +- Überprüfen Sie, ob die Konfigurationsdateien syntaktisch gültig sind: + +`terraform validate` + +- Formatierung der Konfiguration gemäß den Konventionen der Terraform-Sprache: + +`terraform fmt` + +- Erzeugen und Anzeigen eines Ausführungsplans: + +`terraform plan` + +- Infrastruktur aufbauen oder ändern: + +`terraform apply` + +- Terraform-verwaltete Infrastruktur zerstören: + +`terraform destroy` diff --git a/pages.de/common/tex.md b/pages.de/common/tex.md new file mode 100644 index 00000000000000..2d6cd435c476ec --- /dev/null +++ b/pages.de/common/tex.md @@ -0,0 +1,16 @@ +# tex + +> Kompiliere eine TeX Quelldatei in ein DVI Dokument. +> Weitere Informationen: . + +- Kompiliere ein DVI Dokument: + +`tex {{quelldatei.tex}}` + +- Kompiliere ein DVI Dokument und gib ein bestimmtes Output-Verzeichnis an: + +`tex -output-directory={{pfad/zu/verzeichnis}} {{quelldatei.tex}}` + +- Kompiliere ein DVI Dokument und stoppe bei jedem Fehler: + +`tex -halt-on-error {{quelldatei.tex}}` diff --git a/pages.de/common/texdoc.md b/pages.de/common/texdoc.md new file mode 100644 index 00000000000000..91c6b22fe43d66 --- /dev/null +++ b/pages.de/common/texdoc.md @@ -0,0 +1,16 @@ +# texdoc + +> Suche nach passenden Dokumentationen für (La)TeX Befehle oder Packages. +> Weitere Informationen: . + +- Öffne das erste Suchergebnis im Standard-PDF-Viewer: + +`texdoc {{suche}}` + +- Liste die besten Suchergebnisse auf: + +`texdoc --list {{suche}}` + +- Öffne die vollständige Dokumentation von `texdoc`: + +`texdoc {{texdoc}}` diff --git a/pages.de/common/texliveonfly.md b/pages.de/common/texliveonfly.md new file mode 100644 index 00000000000000..5111b5fbe150d4 --- /dev/null +++ b/pages.de/common/texliveonfly.md @@ -0,0 +1,16 @@ +# texliveonfly + +> Lade fehlende TeX Live Packages während dem Kompilieren einer `.tex` Datei herunter. +> Weitere Informationen: . + +- Lade fehlende Packages während dem Kompilieren herunter: + +`texliveonfly {{quelldatei.tex}}` + +- Verwende einen bestimmten Compiler (standardmäßig `pdflatex`): + +`texliveonfly --compiler={{compiler}} {{quelldatei.tex}}` + +- Verwende ein bestimmtes Tex Live `bin` Verzeichnis: + +`texliveonfly --texlive_bin={{pfad/zu/texlive_bin}} {{quelldatei.tex}}` diff --git a/pages.de/common/tig.md b/pages.de/common/tig.md new file mode 100644 index 00000000000000..dbd98a2fbe21a4 --- /dev/null +++ b/pages.de/common/tig.md @@ -0,0 +1,28 @@ +# tig + +> Eine interaktive Kommandozeilenoberfläche für Git. +> Weitere Informationen: . + +- Zeige die Commits des aktuellen Branches: + +`tig` + +- Zeige die Commits eines bestimmten Branches: + +`tig {{branch}}` + +- Zeige die Commits von bestimmten Dateien oder Verzeichnissen: + +`tig {{pfad1 pfad2 ...}}` + +- Zeige die Unterschiede zwischen zwei Referenzen (wie z.B. Branches oder Tags): + +`tig {{base_ref}}..{{compared_ref}}` + +- Zeige die Commits von allen Branches und Stashes: + +`tig --all` + +- Zeige alle gespeicherten Stashes: + +`tig stash` diff --git a/pages.de/common/tldr.md b/pages.de/common/tldr.md new file mode 100644 index 00000000000000..791cfab2cfde9e --- /dev/null +++ b/pages.de/common/tldr.md @@ -0,0 +1,36 @@ +# tldr + +> Zeigt kurze Zusammenfassungen (tldr-Seiten) von Kommandozeilen-Befehlen an. +> Weitere Informationen: . + +- Zeige die tldr-Seite für einen Befehl an: + +`tldr {{befehl}}` + +- Zeige die tldr-Seite für einen Unterbefehl an: + +`tldr {{befehl}} {{unterbefehl}}` + +- Zeige die tldr-Seite für einen Befehl in einer bestimmten Sprache an (Hinweis: So bist du hierher gekommen!): + +`tldr {{[-L|--language]}} {{sprachcode}} {{befehl}}` + +- Zeige die tldr-Seite für einen Befehl auf einer bestimmten Plattform an: + +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{befehl}}` + +- Aktualisiere den lokalen Cache: + +`tldr {{[-u|--update]}}` + +- Liste alle Seiten für die aktuelle Plattform und `common` auf: + +`tldr {{[-l|--list]}}` + +- Liste alle Unterbefehl-Seiten für einen Befehl auf: + +`tldr {{[-l|--list]}} | grep {{befehl}} | column` + +- Zeige die tldr-Seite für einen zufälligen Befehl an: + +`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr` diff --git a/pages.de/common/tldrl.md b/pages.de/common/tldrl.md new file mode 100644 index 00000000000000..8d3162810124aa --- /dev/null +++ b/pages.de/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Dieser Befehl ist ein Alias von `tldr-lint`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr tldr-lint` diff --git a/pages.de/common/tlmgr-arch.md b/pages.de/common/tlmgr-arch.md new file mode 100644 index 00000000000000..7031a301d83a4b --- /dev/null +++ b/pages.de/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Dieser Befehl ist ein Alias von `tlmgr platform`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr tlmgr platform` diff --git a/pages.de/common/tlmgr.md b/pages.de/common/tlmgr.md new file mode 100644 index 00000000000000..ee65e65ef99a65 --- /dev/null +++ b/pages.de/common/tlmgr.md @@ -0,0 +1,33 @@ +# tlmgr + +> Verwalte Packages und Konfigurationen einer existierenden TeX Live Installation. +> Manche Unterbefehle wie `paper` sind separat dokumentiert. +> Weitere Informationen: . + +- Installiere ein Package und seine Abhängigkeiten: + +`tlmgr install {{package}}` + +- Entferne ein Package und seine Abhängigkeiten: + +`tlmgr remove {{package}}` + +- Zeige Informationen über ein Package an: + +`tlmgr info {{package}}` + +- Aktualisiere alle Packages: + +`tlmgr update --all` + +- Zeige mögliche Aktualisierungen an, ohne Änderungen vorzunehmen: + +`tlmgr update --list` + +- Starte die grafische Oberfläche von tlmgr: + +`tlmgr gui` + +- Liste alle Tex Live Konfigurationen auf: + +`tlmgr conf` diff --git a/pages.de/common/traefik.md b/pages.de/common/traefik.md new file mode 100644 index 00000000000000..4929a6f4faf4b4 --- /dev/null +++ b/pages.de/common/traefik.md @@ -0,0 +1,20 @@ +# traefik + +> Ein HTTP-Reverse-Proxy und Load-Balancer. +> Weitere Informationen: . + +- Starte den Server mit der Standardkonfiguration: + +`traefik` + +- Starte den Server mit einer benutzerdefinierten Konfigurationsdatei: + +`traefik --ConfigFile {{konfigurationsdatei.toml}}` + +- Starte den Server mit aktiviertem Cluster-Modus: + +`traefik --cluster` + +- Starte den Server mit dem Web-UI: + +`traefik --web` diff --git a/pages.de/common/ugrep.md b/pages.de/common/ugrep.md new file mode 100644 index 00000000000000..15c747abe90596 --- /dev/null +++ b/pages.de/common/ugrep.md @@ -0,0 +1,36 @@ +# ugrep + +> Ultraschnelles Suchtool mit Abfrage-TUI. +> Weitere Informationen: . + +- Starte eine interaktive TUI um rekursiv nach Dateien im aktuellen Verzeichnis zu suchen (`` für Hilfe): + +`ugrep --query` + +- Suche im aktuellen Verzeichnis rekursiv nach Dateien, die einem bestimmten regulären Ausdruck entsprechen: + +`ugrep "{{suchmuster}}"` + +- Suche in einer Datei oder in allen Dateien in einem bestimmten Verzeichnis und zeige die Zeilennummer jedes Treffers: + +`ugrep --line-number "{{suchmuster}}" {{pfad/zu/datei_oder_verzeichnis}}` + +- Suche in allen Dateien im aktuellen Verzeichnis rekursiv und zeige den Dateinamen jeder passenden Datei: + +`ugrep --files-with-matches "{{suchmuster}}"` + +- Suche nach einem "fuzzy" regulären Ausdruck mit bis zu 3 zusätzlichen, fehlenden oder nicht übereinstimmenden Zeichen: + +`ugrep --fuzzy={{3}} "{{suchmuster}}"` + +- Suche auch in allen komprimierten Dateien und Zip- und tar-Archive: + +`ugrep --decompress "{{suchmuster}}"` + +- Suche nur in Dateien deren Dateinamen mit einem bestimmten glob-Muster übereinstimmen: + +`ugrep --glob="{{glob_muster}}" "{{suchmuster}}"` + +- Suche nur in C++ Quelldateien (verwende `--file-type=list`, um mögliche Optionen aufzulisten): + +`ugrep --file-type=cpp "{{suchmuster}}"` diff --git a/pages.de/common/unclutter.md b/pages.de/common/unclutter.md new file mode 100644 index 00000000000000..453dd07e499234 --- /dev/null +++ b/pages.de/common/unclutter.md @@ -0,0 +1,8 @@ +# unclutter + +> Versteckt den Mauszeiger. +> Weitere Informationen: . + +- Verstecke den Mauszeiger nach 3 Sekunden: + +`unclutter -idle {{3}}` diff --git a/pages.de/common/unlzma.md b/pages.de/common/unlzma.md new file mode 100644 index 00000000000000..28006c0dcb0f66 --- /dev/null +++ b/pages.de/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Dieser Befehl ist ein Alias von `xz`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr xz` diff --git a/pages.de/common/unxz.md b/pages.de/common/unxz.md new file mode 100644 index 00000000000000..22af3b7f7c108e --- /dev/null +++ b/pages.de/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Dieser Befehl ist ein Alias von `xz`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr xz` diff --git a/pages.de/common/vi.md b/pages.de/common/vi.md new file mode 100644 index 00000000000000..c6f2db5957c6a8 --- /dev/null +++ b/pages.de/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Dieser Befehl ist ein Alias von `vim`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr vim` diff --git a/pages.de/common/vifm.md b/pages.de/common/vifm.md new file mode 100644 index 00000000000000..51da1b27727c20 --- /dev/null +++ b/pages.de/common/vifm.md @@ -0,0 +1,12 @@ +# vifm + +> Vifm (VI File Manager) ist ein Kommandozeilen-Dateimanager. +> Weitere Informationen: . + +- Öffne das aktuelle Verzeichnis: + +`vifm .` + +- Öffne angegebene Verzeichnisse auf der linken oder rechten Seite: + +`vifm {{pfad/zu/verzeichnis1 pfad/zu/verzeichnis2 ...}}` diff --git a/pages.de/common/vim.md b/pages.de/common/vim.md new file mode 100644 index 00000000000000..65d215b5e55de8 --- /dev/null +++ b/pages.de/common/vim.md @@ -0,0 +1,37 @@ +# vim + +> Vim (Vi IMproved), ein Befehlszeilen-Texteditor, bietet mehrere Modi für verschiedene Arten der Textmanipulation an. +> Das Drücken von `` schaltet den Editier-Modus ein. `` wechselt in den Befehls-Modus, der die Verwendung von Vim-Befehlen ermöglicht. +> Weitere Informationen: . + +- Öffne eine Datei: + +`vim {{pfad/zu/datei}}` + +- Öffne eine Datei an einer bestimmten Zeilennummer: + +`vim +{{zeilennummer}} {{pfad/zu/datei}}` + +- Zeige Vim's Benutzeranleitung: + +`<:>help` + +- Speichere und schließe die aktuelle Datei: + +`{{|<:>x|<:>wq}}` + +- Mache die letzte Aktion rückgängig: + +`` + +- Suche nach einem Muster in der Datei (mit ``/`` zum nächsten/vorherigen Treffer gehen): + +`{{suchmuster}}` + +- Ersetze einen regulären Ausdruck alle Treffer in einer Datei: + +`<:>%s/{{regulärer_ausdruck}}/{{neuer_text}}/g` + +- Zeige Zeilennummern an: + +`<:>set nu` diff --git a/pages.de/common/vimdiff.md b/pages.de/common/vimdiff.md new file mode 100644 index 00000000000000..2322dc7709fd6b --- /dev/null +++ b/pages.de/common/vimdiff.md @@ -0,0 +1,37 @@ +# vimdiff + +> Öffne zwei oder mehr Dateien in Vim und zeige ihre Unterschiede an. +> Siehe auch `vim`. +> Weitere Informationen: . + +- Öffne zwei Dateien und zeige ihre Unterschiede an: + +`vimdiff {{pfad/zu/datei_1}} {{pfad/zu/datei_2}}` + +- Bewege den Cursor zum linken|rechten Fenster: + +`{{|}}` + +- Springe zum vorigen Unterschied: + +`<[>` + +- Springe zum nächsten Unterschied: + +`<]>` + +- Kopiere die hervorgehobenen Unterschiede vom anderen in das aktuelle Fenster: + +`` + +- Kopiere die hervorgehobenen Unterschiede vom aktuellen in das andere Fenster: + +`

` + +- Actualiza todos los resaltados y folds (plegados de texto): + +`<:>diffupdate` + +- Alterna la apertura/cierre de la fold (plegado de texto) de código resaltada: + +`` diff --git a/pages.es/common/vimtutor.md b/pages.es/common/vimtutor.md new file mode 100644 index 00000000000000..6055988592cb0d --- /dev/null +++ b/pages.es/common/vimtutor.md @@ -0,0 +1,12 @@ +# vimtutor + +> Vim tutor, enseña los comandos básicos de vim. +> Más información: . + +- Ejecuta vim tutor utilizando el idioma especificado (en, es, de, ...): + +`vimtutor {{idioma}}` + +- Sale del tutor: + +`<:>q` diff --git a/pages.es/common/virsh.md b/pages.es/common/virsh.md new file mode 100644 index 00000000000000..05e49520d880f5 --- /dev/null +++ b/pages.es/common/virsh.md @@ -0,0 +1,37 @@ +# virsh + +> Gestiona dominios invitados `virsh`. (Nota: `guest_id` puede ser el ID, nombre o UUID del invitado). +> Algunos subcomandos como `list` tienen su propia documentación de uso. +> Más información: . + +- Se conecta a una sesión de hipervisor: + +`virsh connect {{qemu:///system}}` + +- Activa una red llamada `default`: + +`sudo virsh net-start {{default}}` + +- Lista todos los dominios: + +`virsh list --all` + +- Crea un invitado a partir de un archivo de configuración: + +`virsh create {{ruta/a/archivo_de_configuración.xml}}` + +- Edita el archivo de configuración de un invitado (el editor puede cambiarse con $EDITOR): + +`virsh edit {{invitado_id}}` + +- Arranca/rearranca/apaga/suspende/reanuda un invitado: + +`virsh {{comando}} {{invitado_id}}` + +- Guarda el estado actual de un invitado en un archivo: + +`virsh save {{invitado_id}} {{nombre_archivo}}` + +- Elimina un invitado activo: + +`virsh destroy {{invitado_id}} && virsh undefine {{invitado_id}}` diff --git a/pages.es/common/virt-qemu-run.md b/pages.es/common/virt-qemu-run.md new file mode 100644 index 00000000000000..0ab3b11c82cd0b --- /dev/null +++ b/pages.es/common/virt-qemu-run.md @@ -0,0 +1,20 @@ +# virt-qemu-run + +> Herramienta experimental para ejecutar una Guest VM QEMU independiente de `libvirtd`. +> Más información: . + +- Ejecuta una máquina virtual QEMU: + +`virt-qemu-run {{ruta/a/guest.xml}}` + +- Ejecuta una máquina virtual QEMU y almacena el estado en un directorio específico: + +`virt-qemu-run --root={{ruta/a/directorio}} {{ruta/a/guest.xml}}` + +- Ejecuta una máquina virtual QEMU y muestra información detallada sobre el inicio: + +`virt-qemu-run --verbose {{ruta/a/guest.xml}}` + +- Muestra ayuda: + +`virt-qemu-run --help` diff --git a/pages.es/common/vite.md b/pages.es/common/vite.md new file mode 100644 index 00000000000000..b4aae20550db40 --- /dev/null +++ b/pages.es/common/vite.md @@ -0,0 +1,22 @@ +# Vite + +> Crea un proyecto Vite. +> Se utiliza para crear proyectos JavaScript. +> Plantillas disponibles: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-swc-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts. +> Más información: . + +- Configuración usando `npm` 6.x: + +`npm create vite@latest my-react-app --template react-ts` + +- Configuración usando `npm` 7+, se necesita un guión doble adicional: + +`npm create vite@latest my-react-app -- --template react-ts` + +- Configuración usando `yarn`: + +`yarn create vite my-react-app --template react-ts` + +- Configuración usando `pnpm`: + +`pnpm create vite my-react-app --template react-ts` diff --git a/pages.es/common/vivaldi.md b/pages.es/common/vivaldi.md new file mode 100644 index 00000000000000..9ef74da26e74b0 --- /dev/null +++ b/pages.es/common/vivaldi.md @@ -0,0 +1,8 @@ +# vivaldi + +> Este comando es un alias de `chromium`. +> Más información: . + +- Vea la documentación para el comando original: + +`tldr chromium` diff --git a/pages.es/common/vmtouch.md b/pages.es/common/vmtouch.md new file mode 100644 index 00000000000000..f6bcc48346b34e --- /dev/null +++ b/pages.es/common/vmtouch.md @@ -0,0 +1,24 @@ +# vmtouch + +> Gestiona la caché del sistema de archivos. +> Más información: . + +- Imprime el estado de la caché de un archivo: + +`vmtouch {{ruta/al/archivo}}` + +- Carga un archivo en la caché: + +`vmtouch -t {{ruta/al/archivo}}` + +- Expulsa un archivo de la caché: + +`vmtouch -e {{ruta/al/archivo}}` + +- Bloquea un archivo en la memoria caché para evitar que salga de la memoria: + +`vmtouch -l {{ruta/al/archivo}}` + +- Bloquea un archivo y daemoniza el programa: + +`vmtouch -ld {{ruta/al/archivo}}` diff --git a/pages.es/common/vulkaninfo.md b/pages.es/common/vulkaninfo.md new file mode 100644 index 00000000000000..8d93d55f81b91a --- /dev/null +++ b/pages.es/common/vulkaninfo.md @@ -0,0 +1,16 @@ +# vulkaninfo + +> Imprime información del sistema Vulkan. +> Más información: . + +- Imprime la información completa de Vulkan: + +`vulkaninfo` + +- Imprime un resumen: + +`vulkaninfo --summary` + +- Genera un documento HTML con la información completa de Vulkan: + +`vulkaninfo --html` diff --git a/pages.es/common/wafw00f.md b/pages.es/common/wafw00f.md new file mode 100644 index 00000000000000..f2e6e6b6a4a0a3 --- /dev/null +++ b/pages.es/common/wafw00f.md @@ -0,0 +1,32 @@ +# wafw00f + +> Identifica y toma la huella digital de los productos de cortafuegos de aplicaciones web (WAF) que protegen un sitio web. +> Más información: . + +- Comprueba si un sitio web utiliza algún WAF: + +`wafw00f {{https://www.example.com}}` + +- Prueba todos los WAF detectables sin detenerte en el primer resultado: + +`wafw00f {{[-a|--findall]}} {{https://www.example.com}}` + +- Pasa las solicitudes a través de un proxy (como BurpSuite): + +`wafw00f {{[-p|--proxy]}} {{http://localhost:8080}} {{https://www.example.com}}` + +- Probar un producto WAF específico (ejecutar `wafw00f --list` para obtener una lista de todos los WAF compatibles): + +`wafw00f {{[-t|--test]}} {{Cloudflare|Cloudfront|Fastly|ZScaler|...}} {{https://www.example.com}}` + +- Pasar encabezados personalizados desde un archivo: + +`wafw00f {{[-H|--headers]}} {{path/to/headers.txt}} {{https://www.example.com}}` + +- Lee las entradas de destino desde un archivo y muestra una salida detallada (varias `v` para más detalles): + +`wafw00f {{[-i|--input]}} {{ruta/a/urls.txt}} -{{vv}}` + +- Lista todos los WAF que se pueden detectar: + +`wafw00f {{[-l|--list]}}` diff --git a/pages.es/common/wakeonlan.md b/pages.es/common/wakeonlan.md new file mode 100644 index 00000000000000..46943431c2dfcd --- /dev/null +++ b/pages.es/common/wakeonlan.md @@ -0,0 +1,20 @@ +# wakeonlan + +> Envía paquetes a los PCs habilitados para wake-on-LAN (WOL). +> Más información: . + +- Envía paquetes a todos los dispositivos de la red local (255.255.255.255) especificando una dirección MAC: + +`wakeonlan {{01:02:03:04:05:06}}` + +- Envía paquete a un dispositivo específico a través de una dirección IP: + +`wakeonlan {{01:02:03:04:05:06}} -i {{192.168.178.2}}` + +- Imprime los comandos, pero no los ejecutes (dry-run): + +`wakeonlan -n {{01:02:03:04:05:06}}` + +- Ejecuta en modo silencioso: + +`wakeonlan -q {{01:02:03:04:05:06}}` diff --git a/pages.es/common/waybar.md b/pages.es/common/waybar.md new file mode 100644 index 00000000000000..faf9968c065917 --- /dev/null +++ b/pages.es/common/waybar.md @@ -0,0 +1,20 @@ +# waybar + +> Barra Wayland altamente personalizable para compositores basados en Sway y Wlroots. +> Más información: . + +- Inicia `waybar` con la configuración y hoja de estilos predeterminada: + +`waybar` + +- Usa un archivo de configuración diferente: + +`waybar {{[-c|--config]}} {{ruta/a/archivo_de_configuración.jsonc}}` + +- Utiliza un archivo de hoja de estilo diferente: + +`waybar {{[-s|--style]}} {{ruta/a/hoja_de_estilo.css}}` + +- Establece el nivel de registro: + +`waybar {{[-l|--log-level]}} {{trace|debug|info|warning|error|critical|off}}` diff --git a/pages.es/common/waymore.md b/pages.es/common/waymore.md new file mode 100644 index 00000000000000..a812f1d57f4336 --- /dev/null +++ b/pages.es/common/waymore.md @@ -0,0 +1,21 @@ +# waymore + +> Obtén las URLs de un dominio desde Wayback Machine, Common Crawl, Alien Vault OTX, URLScan y VirusTotal. +> Nota: A menos que se especifique lo contrario, los resultados se escriben en el directorio `results/` donde reside el archivo `config.yml` de waymore (por defecto en `~/.config/waymore/`). +> Más información: . + +- Busca URLs de un dominio (la salida suele estar en `~/.config/waymore/results/`): + +`waymore -i {{ejemplo.com}}` + +- Limita los resultados de la búsqueda para que solo incluyan una lista de URLs de un dominio y almacena los resultados en el archivo especificado: + +`waymore -mode U -oU {{ruta/a/ejemplo.com-urls.txt}} -i {{ejemplo.com}}` + +- Imprime solo los cuerpos de contenido de las URLs y almacena los resultados en el directorio especificado: + +`waymore -mode R -oR {{ruta/a/ejemplo.com-url-responses}} -i {{ejemplo.com}}` + +- Filtra los resultados especificando intervalos de fechas: + +`waymore -from {{YYYYMMDD|YYYMM|YYYY}} -to {{AAAAMMDD|AAAAMMD|AAAAMMD}} -i {{ejemplo.com}}` diff --git a/pages.es/common/wc.md b/pages.es/common/wc.md new file mode 100644 index 00000000000000..314661358ae774 --- /dev/null +++ b/pages.es/common/wc.md @@ -0,0 +1,28 @@ +# wc + +> Cuenta líneas, palabras, y bytes. +> Más información: . + +- Cuenta todas las líneas en un archivo: + +`wc {{[-l|--lines]}} {{ruta/al/archivo}}` + +- Cuenta todas las palabras en un archivo: + +`wc {{[-w|--words]}} {{ruta/al/archivo}}` + +- Cuenta todos los bytes en un archivo: + +`wc {{[-c|--bytes]}} {{ruta/al/archivo}}` + +- Cuenta todos los caracteres en un archivo (considerando los caracteres de varios bytes): + +`wc {{[-m|--chars]}} {{ruta/al/archivo}}` + +- Cuenta todas las líneas, palabras y bytes desde `stdin`: + +`{{find .}} | wc` + +- Cuenta la longitud de la línea más larga en número de caracteres: + +`wc {{[-L|--max-line-length]}} {{ruta/al/archivo}}` diff --git a/pages.es/common/wdiff.md b/pages.es/common/wdiff.md new file mode 100644 index 00000000000000..915091fa3487df --- /dev/null +++ b/pages.es/common/wdiff.md @@ -0,0 +1,16 @@ +# wdiff + +> Muestra las diferencias de palabras entre archivos de texto. +> Más información: . + +- Compara dos archivos: + +`wdiff {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Ignora mayúsculas y minúsculas al comparar: + +`wdiff {{[-i|--ignore-case]}} {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Muestra cuantas palabras se han eliminado, insertado o sustituido: + +`wdiff {{[-s|--statistics]}} {{ruta/al/archivo1}} {{ruta/al/archivo2}}` diff --git a/pages.es/common/wezterm.md b/pages.es/common/wezterm.md new file mode 100644 index 00000000000000..037ba73f4a62f3 --- /dev/null +++ b/pages.es/common/wezterm.md @@ -0,0 +1,36 @@ +# wezterm + +> Wez's Terminal Emulator - un potente emulador de terminal multiplataforma y multiplexor. +> Más información: . + +- Inicia un nuevo proceso Wezterm y crea una ventana: + +`wezterm` + +- Establece una sesión `ssh`: + +`wezterm ssh {{usuario}}@{{host}}:{{puerto}}` + +- Conecta con el multiplexor (`wezterm-mux-server`): + +`wezterm connect {{nombre_dominio}}` + +- Envía una imagen al terminal: + +`wezterm imgcat {{ruta/a/imagen}}` + +- Graba una sesión de terminal como un asciicat (por defecto las grabaciones se encuentran en `/tmp`): + +`wezterm record` + +- Reproduce una sesión de terminal asciicat: + +`wezterm replay {{ruta/al/archivo_cast}}` + +- Especifica el archivo de configuración a utilizar (anula la resolución normal del archivo de configuración): + +`wezterm --config-file {{ruta/al/archivo_config}}` + +- Muestra la ayuda: + +`wezterm help` diff --git a/pages.es/common/whatwaf.md b/pages.es/common/whatwaf.md new file mode 100644 index 00000000000000..a614e9fa2cc129 --- /dev/null +++ b/pages.es/common/whatwaf.md @@ -0,0 +1,32 @@ +# whatwaf + +> Detecta y elude cortafuegos de aplicaciones web y sistemas de protección. +> Más información: . + +- Detecta protección en una sola [u]RL, opcionalmente utiliza salida verbose: + +`whatwaf --url {{https://example.com}} --verbose` + +- Detecta protección en un [l]ista de URLs en paralelo desde un archivo (una URL por línea): + +`whatwaf --threads {{número}} --list {{ruta/a/archivo}}` + +- Envía peticiones a través de un proxy y utiliza una lista de carga útil personalizada desde un archivo (una carga útil por línea): + +`whatwaf --proxy {{http://127.0.0.1:8080}} --pl {{ruta/a/archivo}} -u {{https://example.com}}` + +- Envía peticiones a través de Tor (Tor debe estar instalado) utilizando cargas personalizadas (separadas por comas): + +`whatwaf --tor --payloads '{{carga1,carga2,...}}' -u {{https://example.com}}` + +- Utiliza un agente de usuario aleatorio, establece el estrangulamiento y el tiempo de espera, envía una solicitud [P]OST y fuerza una conexión HTTPS: + +`whatwaf --ra --throttle {{segundos}} --timeout {{segundos}} --post --force-ssl -u {{http://example.com}}` + +- Enumera todos los WAF que se pueden detectar: + +`whatwaf --wafs` + +- Lista todos los scripts de manipulación disponibles: + +`whatwaf --tampers` diff --git a/pages.es/common/whatweb.md b/pages.es/common/whatweb.md new file mode 100644 index 00000000000000..c1cca268edb9a2 --- /dev/null +++ b/pages.es/common/whatweb.md @@ -0,0 +1,32 @@ +# whatweb + +> Escáner web de nueva generación. +> Más información: . + +- Escanea sitios web/objetivos en busca de tecnologías web: + +`whatweb {{website1 website2 ...}}` + +- Lee objetivos/sitios web desde un archivo: + +`whatweb -i {{archivo_objetivos}}` + +- Analiza un sitio web/objetivo en modo detallado: + +`whatweb -v {{example.com}}` + +- Ejecuta un escaneo agresivo en un sitio web: + +`whatweb -a 3 {{example.com}}` + +- Escanear una red y suprimir errores: + +`whatweb --no-errors {{192.168.0.0/24}}` + +- Lista de complementos: + +`whatweb -l` + +- Lista de complementos: + +`whatweb -I {{nombre_del_complemento}}` diff --git a/pages.es/common/whence.md b/pages.es/common/whence.md new file mode 100644 index 00000000000000..8010520e0fd4d0 --- /dev/null +++ b/pages.es/common/whence.md @@ -0,0 +1,24 @@ +# whence + +> Un comando integrado de zsh para indicar cómo se interpretaría un comando dado. +> Más información: . + +- Interpreta `comando`, con expansión si se define como un `alias` (similar al `command -v` integrado): + +`whence "{{comando}}"` + +- Muestra tipo de `comando`, con localización si se define como una función, o binario (equivalente a los `type` y `command -V` integrados): + +`whence -v "{{comando}}"` + +- Igual que el anterior, excepto que muestra el contenido de las funciones del shell en lugar de la ubicación (equivalente al `which` integrado): + +`whence -c "{{comando}}"` + +- Igual que el anterior, pero muestra todas las apariciones en la ruta del comando (equivalente al `where` integrado): + +`whence -ca "{{comando}}"` + +- Busca un comando en la variable de entorno `PATH`, ignorando los comandos integrados, aliases o funciones del shell (equivalente al comando `where`): + +`whence -p "{{comando}}"` diff --git a/pages.es/common/which.md b/pages.es/common/which.md new file mode 100644 index 00000000000000..63b7f99b223cef --- /dev/null +++ b/pages.es/common/which.md @@ -0,0 +1,12 @@ +# which + +> Localiza un programa en la variable PATH del usuario. +> Más información: . + +- Busca en la variable PATH y muestra la ubicación de los ejecutables coincidentes: + +`which {{archivo_ejecutable}}` + +- Si hay varios ejecutables que coinciden, muestra todos: + +`which {{[-a|--all]}} {{archivo_ejecutable}}` diff --git a/pages.es/common/wikiman.md b/pages.es/common/wikiman.md new file mode 100644 index 00000000000000..e3663182b1e1ef --- /dev/null +++ b/pages.es/common/wikiman.md @@ -0,0 +1,25 @@ +# wikiman + +> Motor de búsqueda sin conexión para documentación. +> Soporta páginas de manuales, Arch Wiki, Gentoo Wiki, documentación de FreeBSD y tldr-pages. +> Más información: . + +- Busca un tema específico en todas las fuentes instaladas: + +`wikiman {{término_de_búsqueda}}` + +- Busca un tema en una fuente específica: + +`wikiman -s {{fuente}} {{término_de_búsqueda}}` + +- Busca un tema en dos o más fuentes específicas: + +`wikiman -s {{fuente1,fuente2,...}} {{término_de_búsqueda}}` + +- Lista de fuentes existentes: + +`wikiman -S` + +- Muestra ayuda: + +`wikiman -h` diff --git a/pages.es/common/wlc.md b/pages.es/common/wlc.md new file mode 100644 index 00000000000000..acc5841e538166 --- /dev/null +++ b/pages.es/common/wlc.md @@ -0,0 +1,24 @@ +# wlc + +> Gestiona proyectos de localización en una instancia de Weblate. +> Más información: . + +- Lista los proyectos usando un archivo de configuración: + +`wlc {{[-c|--config]}} {{ruta/al/archivo}} list-projects` + +- Lista los componentes de un proyecto y anula la URL y la clave de la API: + +`wlc {{[-u|--url]}} {{URL}} {{[-k|--key]}} {{clave}} ls {{proyecto}}` + +- Lista las traducciones de un componente en un formato específico: + +`wlc {{[-f|--format]}} {{text|csv|json|html}} ls {{proyecto}}/{{componente}}` + +- Imprime las estadísticas de un proyecto: + +`wlc stats {{proyecto}}` + +- Muestra la ayuda: + +`wlc {{[-h|--help]}}` diff --git a/pages.es/common/xkill.md b/pages.es/common/xkill.md index 4c3fce347df542..ff64b95b1873d0 100644 --- a/pages.es/common/xkill.md +++ b/pages.es/common/xkill.md @@ -1,8 +1,17 @@ # xkill > Cierra de manera forzosa una ventana interactivamente en una sesión gráfica. -> Véase también `kill` y `killall`. +> Vea también `kill` y `killall`. +> Más información: . - Muestra un cursor para cerrar forzosamente una ventana presionando con el botón izquierdo (presiona cualquier otro botón del ratón para cancelar): `xkill` + +- Muestra un cursor para seleccionar una ventana para cerrarla forzosamente al presionar cualquier botón del ratón: + +`xkill -button any` + +- Cierra forzosamente una ventana con un ID específico (use `xwininfo` para obtener información acerca de las ventanas): + +`xkill -id {{id}}` diff --git a/pages.es/common/xmake.md b/pages.es/common/xmake.md new file mode 100644 index 00000000000000..71fb2d8a800ea7 --- /dev/null +++ b/pages.es/common/xmake.md @@ -0,0 +1,24 @@ +# xmake + +> Una utilidad de compilación multiplataforma C & C++ basada en Lua. +> Más información: . + +- Crea un proyecto Xmake C, consistente en un hello world y `xmake.lua`: + +`xmake create --language c -P {{nombre_del_proyecto}}` + +- Construye y ejecuta un proyecto Xmake: + +`xmake build run` + +- Ejecuta directamente un objetivo Xmake compilado: + +`xmake run {{nombre_del_objetivo}}` + +- Configura los objetivos de compilación de un proyecto: + +`xmake config --plat={{macosx|linux|iphoneos|...}} --arch={{x86_64|i386|arm64| ..}} --mode={{debug|release}}` + +- Instala el objetivo compilado en un directorio: + +`xmake install -o {{ruta/al/directorio}}` diff --git a/pages.es/common/xml-c14n.md b/pages.es/common/xml-c14n.md new file mode 100644 index 00000000000000..bcbfaa0eb661ff --- /dev/null +++ b/pages.es/common/xml-c14n.md @@ -0,0 +1,7 @@ +# xml c14n + +> Este comando es un alias de `xml canonic`. + +- Vea la documentación del comando original: + +`tldr xml canonic` diff --git a/pages.es/common/xml-p2x.md b/pages.es/common/xml-p2x.md new file mode 100644 index 00000000000000..e57e37947d18c0 --- /dev/null +++ b/pages.es/common/xml-p2x.md @@ -0,0 +1,7 @@ +# xml p2x + +> Este comando es un alias de `xml depyx`. + +- Vea la documentación del comando original: + +`tldr xml depyx` diff --git a/pages.es/common/xml-pyx.md b/pages.es/common/xml-pyx.md new file mode 100644 index 00000000000000..0d907e3bb0e7d3 --- /dev/null +++ b/pages.es/common/xml-pyx.md @@ -0,0 +1,16 @@ +# xml pyx + +> Convierte un documento XML al formato PYX (ESIS - ISO 8879). +> Más información: . + +- Convierte un documento XML al formato PYX: + +`xml pyx {{ruta/a/entrada.xml|URI}} > {{ruta/a/salida.pyx}}` + +- Convierte un documento XML de `stdin` a formato PYX: + +`cat {{ruta/a/entrada.xml}} | xml pyx > {{ruta/a/salida.pyx}}` + +- Muestra la ayuda: + +`xml pyx --help` diff --git a/pages.es/common/xml-xmln.md b/pages.es/common/xml-xmln.md new file mode 100644 index 00000000000000..33b6ca4cab4268 --- /dev/null +++ b/pages.es/common/xml-xmln.md @@ -0,0 +1,7 @@ +# xml xmln + +> Este comando es un alias de `xml pyx`. + +- Vea la documentación del comando original: + +`tldr xml pyx` diff --git a/pages.es/common/xz.md b/pages.es/common/xz.md new file mode 100644 index 00000000000000..34b315a6e6375e --- /dev/null +++ b/pages.es/common/xz.md @@ -0,0 +1,36 @@ +# xz + +> Comprime o descomprime archivos XZ y LZMA. +> Más información: . + +- Comprime un archivo usando xz: + +`xz {{ruta/al/archivo}}` + +- Descomprime un archivo XZ: + +`xz {{[-d|--decompress]}} {{ruta/al/archivo.xz}}` + +- Comprime un archivo usando LZMA: + +`xz {{[-F|--format]}} lzma {{ruta/al/archivo}}` + +- Descomprime un archivo LZMA: + +`xz {{[-d|--decompress]}} {{[-F|--format]}} lzma {{ruta/al/archivo.lzma}}` + +- Descomprime un archivo y escribe a `stdout` (implica `--keep`): + +`xz {{[-d|--decompress]}} {{[-c|--stdout]}} {{ruta/al/archivo.xz}}` + +- Comprime un archivo, pero no borra el original: + +`xz {{[-k|--keep]}} {{ruta/al/archivo}}` + +- Comprime un archivo con la compresión más rápida: + +`xz -0 {{ruta/al/archivo}}` + +- Comprime un archivo con la mejor compresión: + +`xz -9 {{ruta/al/archivo}}` diff --git a/pages.es/common/xzcat.md b/pages.es/common/xzcat.md new file mode 100644 index 00000000000000..788149562df0b0 --- /dev/null +++ b/pages.es/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Este comando es un alias de `xz --decompress --stdout`. + +- Vea la documentación para el comando original: + +`tldr xz` diff --git a/pages.es/common/xzcmp.md b/pages.es/common/xzcmp.md new file mode 100644 index 00000000000000..32584ba1bd56e7 --- /dev/null +++ b/pages.es/common/xzcmp.md @@ -0,0 +1,9 @@ +# xzcmp + +> Invoca `cmp` en archivos comprimidos con `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, o `zstd`. +> Todas las opciones especificadas se pasan directamente a `cmp`. +> Más información: . + +- Compara dos archivos específicos: + +`xzcmp {{ruta/al/archivo1}} {{ruta/al/archivo2}}` diff --git a/pages.es/common/xzegrep.md b/pages.es/common/xzegrep.md new file mode 100644 index 00000000000000..c794536caad420 --- /dev/null +++ b/pages.es/common/xzegrep.md @@ -0,0 +1,8 @@ +# xzegrep + +> Este comando es un alias de `xzgrep --extended-regexp`. +> Vea también: `egrep`. + +- Vea la documentación para el comando original: + +`tldr xzgrep` diff --git a/pages.es/common/xzfgrep.md b/pages.es/common/xzfgrep.md new file mode 100644 index 00000000000000..153eba1ee04236 --- /dev/null +++ b/pages.es/common/xzfgrep.md @@ -0,0 +1,8 @@ +# xzfgrep + +> Este comando es un alias de `xzgrep --fixed-strings`. +> Vea también: `fgrep`. + +- Vea la documentación para el comando original: + +`tldr xzgrep` diff --git a/pages.es/common/xzgrep.md b/pages.es/common/xzgrep.md new file mode 100644 index 00000000000000..e62e1d6a169ab2 --- /dev/null +++ b/pages.es/common/xzgrep.md @@ -0,0 +1,33 @@ +# xzgrep + +> Busca archivos posiblemente comprimidos con `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, o `zstd` utilizando expresiones regulares. +> Vea también: `grep`. +> Más información: . + +- Busca un patrón dentro de un archivo: + +`xzgrep "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Busca una cadena exacta (sin expresiones regulares): + +`xzgrep --fixed-strings "{{cadena_exacta}}" {{ruta/al/archivo}}` + +- Busca un patrón en todos los archivos mostrando los números de línea que coinciden: + +`xzgrep --line-number "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Utiliza expresiones regulares extendidas (soporta `?`, `+`, `{}`, `()` y `|`), sin diferenciar mayúsculas y minúsculas (case-insensitive): + +`xzgrep --extended-regexp --ignore-case "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Imprime 3 líneas de contexto alrededor, antes o después de cada coincidencia: + +`xzgrep --{{context|before-context|after-context}}={{3}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Imprime el nombre del archivo y número de línea para cada coincidencia en color: + +`xzgrep --with-filename --line-number --color=always "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Busca líneas que coincidan con un patrón, imprime solo el texto coincidente: + +`xzgrep --only-matching "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` diff --git a/pages.es/common/xzless.md b/pages.es/common/xzless.md new file mode 100644 index 00000000000000..d296b45af6783d --- /dev/null +++ b/pages.es/common/xzless.md @@ -0,0 +1,17 @@ +# xzless + +> Muestra texto de archivos comprimidos `xz` y `lzma`. +> Vea también: `less`. +> Más información: . + +- Muestra un archivo comprimido: + +`xzless {{ruta/al/archivo}}` + +- Muestra un archivo comprimido incluyendo el números de línea: + +`xzless --LINE-NUMBERS {{ruta/al/archivo}}` + +- Muestra un archivo comprimido y sale si el archivo entero se puede mostrar en la primera pantalla: + +`xzless --quit-if-one-screen {{ruta/al/archivo}}` diff --git a/pages.es/common/xzmore.md b/pages.es/common/xzmore.md new file mode 100644 index 00000000000000..e152af3a9ef910 --- /dev/null +++ b/pages.es/common/xzmore.md @@ -0,0 +1,9 @@ +# xzmore + +> Muestra texto de archivos comprimidos `xz` o `lzma`. +> Casi equivalente a `xzless`, excepto que respeta la variable de entorno `PAGER`, utiliza `more` de forma predeterminada y no puede pasar opciones al paginador. +> Más información: . + +- Muestra un archivo comprimido: + +`xzmore {{ruta/al/archivo}}` diff --git a/pages.es/common/ya.md b/pages.es/common/ya.md new file mode 100644 index 00000000000000..060f2f02ad50c1 --- /dev/null +++ b/pages.es/common/ya.md @@ -0,0 +1,28 @@ +# ya + +> Gestiona los paquetes y complementos de Yazi. +> Más información: . + +- Añade un paquete: + +`ya pack -a {{paquete}}` + +- Actualiza todos los paquetes: + +`ya pack -u` + +- Suscribirse a los mensajes de todas las instancias remotas: + +`ya sub {{tipos}}` + +- Publica un mensaje en la instancia actual con cuerpo de cadena: + +`ya pub --str {{cadena_mensaje}}` + +- Publica un mensaje a la instancia actual con formato JSON: + +`ya pub --json {{mensaje_json}}` + +- Publica un mensaje en la instancia especificada con una cadena de texto: + +`ya pub-to --str {{mensaje}} {{receptor}} {{tipo}}` diff --git a/pages.es/common/yacc.md b/pages.es/common/yacc.md new file mode 100644 index 00000000000000..b9cd39a5572f8a --- /dev/null +++ b/pages.es/common/yacc.md @@ -0,0 +1,17 @@ +# yacc + +> Genera un analizador sintáctico LALR (en C) con un archivo de especificación de gramática formal. +> Vea también: `bison`. +> Más información: . + +- Crea un fichero `y.tab.c` con el código del analizador en C y compila el fichero de gramática con todas las declaraciones constantes necesarias para los valores. El fichero `y.tab.h` con las declaraciones se crea exclusivamente con la opción `-d`: + +`yacc -d {{ruta/al/archivo_de_gramática.y}}` + +- Compila un fichero de gramática con la descripción del analizador sintáctico y un informe de conflictos generados por ambigüedades en la gramática: + +`yacc -d {{ruta/al/archivo_de_gramática.y}} -v` + +- Compila un archivo de gramática, y prefija los nombres de los archivos de salida con un prefijo personalizado en lugar de `y`: + +`yacc -d {{ruta/al/archivo_de_gramática.y}} -v -b {{prefijo}}` diff --git a/pages.es/common/yazi.md b/pages.es/common/yazi.md new file mode 100644 index 00000000000000..52854c4ebe1ee5 --- /dev/null +++ b/pages.es/common/yazi.md @@ -0,0 +1,21 @@ +# yazi + +> Rápido gestor de archivos escrito en Rust. +> Experiencia de gestión de archivos eficiente, fácil de usar y personalizable. +> Más información: . + +- Inicia Yazi desde el directorio actual: + +`yazi` + +- Imprime información de depuración: + +`yazi --debug` + +- Escribe el directorio de trabajo actual al salir del archivo: + +`yazi --cwd-file {{ruta/a/archivo_cwd}}` + +- Borra el directorio de caché: + +`yazi --clear-cache` diff --git a/pages.es/common/yes.md b/pages.es/common/yes.md index 0119a8c5632d16..72e9a6b202b2fa 100644 --- a/pages.es/common/yes.md +++ b/pages.es/common/yes.md @@ -1,16 +1,21 @@ # yes > Retorna algo repetidamente. -> Este comando es frecuentemente utilizado para aceptar todas las confirmaciones en comandos de instalación (como apt-get). +> Este comando es frecuentemente utilizado para aceptar todas las confirmaciones en comandos de instalación (como `apt-get`). +> Más información: . -- Retornar repetidamente "mensaje": +- Retorna repetidamente "mensaje": `yes {{mensaje}}` -- Retornar repetidamente "y": +- Retorna repetidamente "y": `yes` -- Aceptar todas las confirmaciones que muestre el comando `apt-get`: +- Acepta todas las confirmaciones que muestre el comando `apt-get`: `yes | sudo apt-get install {{programa}}` + +- Retorna repetidamente una nueva línea para aceptar siempre la opción predeterminada de una pregunta (prompt): + +`yes ''` diff --git a/pages.es/common/yuy2topam.md b/pages.es/common/yuy2topam.md new file mode 100644 index 00000000000000..25813ec5b1e7c0 --- /dev/null +++ b/pages.es/common/yuy2topam.md @@ -0,0 +1,8 @@ +# yuy2topam + +> Convierte bytes YUY2 a PAM. +> Más información: . + +- Convierte bytes YUY2 a PAM: + +`yuy2topam -width {{valor}} -height {{valor}} {{ruta/al/archivo.yuy2}} > {{ruta/al/archivo.pam}}` diff --git a/pages.es/common/zbarimg.md b/pages.es/common/zbarimg.md new file mode 100644 index 00000000000000..fa5e0448c631ca --- /dev/null +++ b/pages.es/common/zbarimg.md @@ -0,0 +1,8 @@ +# zbarimg + +> Escanea y decodifica códigos de barras desde archivos de imágenes. +> Más información: . + +- Procesa un archivo de imagen: + +`zbarimg {{archivo_de_imagen}}` diff --git a/pages.es/common/zed.md b/pages.es/common/zed.md new file mode 100644 index 00000000000000..7fa8cfbdafd8aa --- /dev/null +++ b/pages.es/common/zed.md @@ -0,0 +1,24 @@ +# zed + +> Editor de texto diseñado para ser rápido, eficiente y cómodo. +> Más información: . + +- Abre rutas específicas en Zed: + +`zed {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Abre una ruta en primer plano y muestra los registros: + +`zed {{ruta/a/proyecto}} --foreground` + +- Abre una ruta en una ventana nueva: + +`zed {{ruta/al/proyecto}} {{[-n|--new]}}` + +- Abre un archivo en el número de línea y columna dados: + +`zed {{ruta/al/archivo}}:{{número_de_línea}}:{{número_de_columna}}` + +- Abre una pestaña diff en Zed para dos versiones de un archivo: + +`zed --diff {{ruta/a/archivo_antiguo}} {{ruta/al/archivo_nuevo}}` diff --git a/pages.es/common/zeditor.md b/pages.es/common/zeditor.md new file mode 100644 index 00000000000000..1d76a7c08246ca --- /dev/null +++ b/pages.es/common/zeditor.md @@ -0,0 +1,7 @@ +# zeditor + +> Este comando es un alias de `zed`. + +- Vea la documentación del comando original: + +`tldr zed` diff --git a/pages.es/common/zellij.md b/pages.es/common/zellij.md new file mode 100644 index 00000000000000..9067024ee92c18 --- /dev/null +++ b/pages.es/common/zellij.md @@ -0,0 +1,25 @@ +# zellij + +> Multiplexor de terminal con baterías incluidas. +> Vea también `tmux` y `screen`. +> Más información: . + +- Inicia una nueva sesión con nombre: + +`zellij --session {{nombre}}` + +- Lista las sesiones existentes: + +`zellij list-sessions` + +- Abre la sesión más recientemente usada: + +`zellij attach` + +- Abre un nuevo panel (estando en una sesión de zellij): + +`` + +- Desvincula la sesión en curso (estando en una sesión de zellij): + +`` diff --git a/pages.es/common/zig.md b/pages.es/common/zig.md new file mode 100644 index 00000000000000..c851281a239ea9 --- /dev/null +++ b/pages.es/common/zig.md @@ -0,0 +1,36 @@ +# zig + +> El compilador Zig y la cadena de herramientas. +> Más información: . + +- Compila el proyecto en el directorio actual: + +`zig build` + +- Compila y ejecuta el proyecto en el directorio actual: + +`zig build run` + +- Inicializa un proyecto `zig build` con biblioteca y ejecutable: + +`zig init` + +- Crea y ejecuta una compilación de pruebas: + +`zig test {{ruta/al/archivo.zig}}` + +- Hace compilación cruzada, arma y ejecuta un proyecto para la arquitectura `x86_64` y el sistema operativo `windows`: + +`zig build run -fwine -Dtarget=x86_64-windows` + +- Reformatea código fuente Zig en forma canónica: + +`zig fmt {{ruta/al/archivo.zig}}` + +- Traduce un archivo C a `zig`: + +`zig translate-c -lc {{ruta/al/archivo.c}}` + +- Usa Zig como compilador de C++: + +`zig c++ {{ruta/al/archivo.cpp}}` diff --git a/pages.es/common/zint.md b/pages.es/common/zint.md new file mode 100644 index 00000000000000..ab691f315a9e97 --- /dev/null +++ b/pages.es/common/zint.md @@ -0,0 +1,16 @@ +# zint + +> Genera códigos de barras y códigos QR. +> Más información: . + +- Crea un archivo con un código de barras: + +`zint --data "{{datos_UTF-8}}" --output {{ruta/al/archivo}}` + +- Crea un archivo con otro tipo de código de barras: + +`zint --barcode {{tipo_de_código}} --data "{{datos_UTF-8}}" --output {{ruta/al/archivo}}` + +- Lista todos los tipos de códigos de barras soportados: + +`zint --types` diff --git a/pages.es/common/zipcloak.md b/pages.es/common/zipcloak.md new file mode 100644 index 00000000000000..cbb7d6063b609b --- /dev/null +++ b/pages.es/common/zipcloak.md @@ -0,0 +1,16 @@ +# zipcloak + +> Encripta el contenido de un archivo zip. +> Más información: . + +- Encripta el contenido de un archivo zip: + +`zipcloak {{ruta/al/archivo.zip}}` + +- [d]esencripta el contenido de un archivo zip: + +`zipcloak -d {{ruta/al/archivo_encriptado.zip}}` + +- Genera un nuev[O] archivo zip con el contenido encriptado: + +`zipcloak {{ruta/al/archivo.zip}} -O {{ruta/al/archivo_encriptado.zip}}` diff --git a/pages.es/common/zola.md b/pages.es/common/zola.md new file mode 100644 index 00000000000000..92e2004947469a --- /dev/null +++ b/pages.es/common/zola.md @@ -0,0 +1,24 @@ +# zola + +> Un generador de sitios estáticos en un único binario con todo incorporado. +> Más información: . + +- Crea la estructura de directorios utilizada por Zola en el directorio dado: + +`zola init {{mi_sitio}}` + +- Construye todo el sitio en el directorio `public` después de eliminarlo: + +`zola build` + +- Construye todo el sitio en un directorio diferente: + +`zola build --output-dir {{ruta/al/directorio_resultado/}}` + +- Construye y sirve el sitio usando un servidor local (por defecto es `127.0.0.1:1111`): + +`zola serve` + +- Construye todas las páginas como lo haría el comando build, pero sin escribir ninguno de los resultados al disco: + +`zola check` diff --git a/pages.es/common/zsh.md b/pages.es/common/zsh.md new file mode 100644 index 00000000000000..ffe33c79518e66 --- /dev/null +++ b/pages.es/common/zsh.md @@ -0,0 +1,37 @@ +# zsh + +> Z SHell, un intérprete de línea de comandos compatible con Bash. +> Vea también `histexpand` para la expansión del historial. +> Más información: . + +- Comienza una sesión interactiva en el intérprete de comandos: + +`zsh` + +- Ejecuta un comando y sale: + +`zsh -c "{{comando}}"` + +- Ejecuta un script: + +`zsh {{ruta/al/script.zsh}}` + +- Comprueba si hay errores de sintaxis en un script sin ejecutarlo: + +`zsh --no-exec {{ruta/al/script.zsh}}` + +- Ejecuta comandos desde `stdin`: + +`{{comando}} | zsh` + +- Ejecuta un script, mostrando cada comando antes de ejecutarlo: + +`zsh --xtrace {{ruta/al/script.zsh}}` + +- Comienza una sesión interactiva en el intérprete de comandos en modo detallado, mostrando cada comando antes de ejecutarlo: + +`zsh --verbose` + +- Ejecuta un comando dentro de `zsh` con patrones glob desactivados: + +`noglob {{command}}` diff --git a/pages.es/common/zstd.md b/pages.es/common/zstd.md new file mode 100644 index 00000000000000..42362410c0a73f --- /dev/null +++ b/pages.es/common/zstd.md @@ -0,0 +1,24 @@ +# zstd + +> Comprime o descomprime archivos con compresión Zstandard. +> Más información: . + +- Comprime un archivo en un nuevo archivo con el sufijo `.zst`: + +`zstd {{ruta/al/archivo}}` + +- Descomprime un archivo: + +`zstd --decompress {{ruta/al/archivo.zst}}` + +- Descomprime a la salida estándar `stdout`: + +`zstd --decompress --stdout {{ruta/al/archivo.zst}}` + +- Comprime un archivo especificando el nivel de compresión, donde 1=más rápido, 19=más lento y 3=predeterminado: + +`zstd -{{nivel}} {{ruta/al/archivo}}` + +- Desbloquea niveles de compresión superiores (hasta 22) utilizando más memoria (tanto para compresión como descompresión): + +`zstd --ultra -{{nivel}} {{ruta/al/archivo}}` diff --git a/pages.es/common/zstdcat.md b/pages.es/common/zstdcat.md new file mode 100644 index 00000000000000..dc0d6c526687dc --- /dev/null +++ b/pages.es/common/zstdcat.md @@ -0,0 +1,7 @@ +# zstdcat + +> Este comando es un alias de `zstd --decompress --stdout`. + +- Vea la documentación para el comando original: + +`tldr zstd` diff --git a/pages.es/common/zstdmt.md b/pages.es/common/zstdmt.md new file mode 100644 index 00000000000000..6910b76082b914 --- /dev/null +++ b/pages.es/common/zstdmt.md @@ -0,0 +1,7 @@ +# zstdmt + +> Este comando es un alias de `zstd --threads 0` (que establece el número de hilos (working threads) al número de núcleos de CPU físicos). + +- Vea la documentación para el comando original: + +`tldr zstd` diff --git a/pages.es/common/{.md b/pages.es/common/{.md new file mode 100644 index 00000000000000..bcb4eb796a5865 --- /dev/null +++ b/pages.es/common/{.md @@ -0,0 +1,36 @@ +# { + +> Sintaxis de intérprete de comandos polivalente. +> Más información: . + +- Aísla nombres de variables: + +`echo ${HOME}work` + +- Apuntala expandiendo secuencias: + +`echo {1..3} {a..c}{dir1,dir2,dir3}` + +- Comprueba si `variable` está definida antes de devolver el texto: + +`echo ${variable:+variable is set and contains $variable}` + +- Establece valores por defecto en caso de que `variable` no esté establecida: + +`echo ${variable:-default}` + +- Devuelve la longitud de `variable` en caracteres: + +`echo ${#variable}` + +- Devuelve un trozo de cadena: + +`echo ${variable:3:7}` + +- Expande recursivamente una `variable`: + +`echo ${!variable}` + +- Pone todos los caracteres en mayúsculas: + +`echo ${variable^^}` diff --git a/pages.es/common/~.md b/pages.es/common/~.md new file mode 100644 index 00000000000000..222f404c6240db --- /dev/null +++ b/pages.es/common/~.md @@ -0,0 +1,16 @@ +# ~ + +> Amplía a un directorio. +> Más información: . + +- Lista los contenidos del directorio raíz del usuario actual: + +`ls ~` + +- Lista el contenido del directorio de otro usuario: + +`ls ~{{usuario}}` + +- Lista el contenido del directorio en el que estaba previamente: + +`ls ~-` diff --git a/pages.es/freebsd/chfn.md b/pages.es/freebsd/chfn.md new file mode 100644 index 00000000000000..4ac421dbfd9601 --- /dev/null +++ b/pages.es/freebsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/freebsd/chsh.md b/pages.es/freebsd/chsh.md new file mode 100644 index 00000000000000..bfc6abd48d01bc --- /dev/null +++ b/pages.es/freebsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/freebsd/look.md b/pages.es/freebsd/look.md new file mode 100644 index 00000000000000..0a65581c4a27d5 --- /dev/null +++ b/pages.es/freebsd/look.md @@ -0,0 +1,21 @@ +# look + +> Muestra las líneas que empiezan con un prefijo en un archivo ordenado. +> Vea también: `grep`, `sort`. +> Más información: . + +- Busca líneas que comiencen con un prefijo específico en un archivo específico: + +`look {{prefijo}} {{ruta/al/archivo}}` + +- Busca caracteres alfanuméricos sin tomar en cuenta las mayúsculas o minúsculas: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefijo}} {{ruta/al/archivo}}` + +- Especifica un carácter de terminación de cadena (un espacio por defecto): + +`look {{[-t|--terminate]}} {{,}}` + +- Busca en `/usr/share/dict/words` (se asumen `--ignore-case` y `--alphanum`): + +`look {{prefijo}}` diff --git a/pages.es/freebsd/pkg.md b/pages.es/freebsd/pkg.md new file mode 100644 index 00000000000000..2836edd7200a42 --- /dev/null +++ b/pages.es/freebsd/pkg.md @@ -0,0 +1,28 @@ +# pkg + +> Gestor de paquetes de FreeBSD. +> Más información: . + +- Instala un nuevo paquete: + +`pkg install {{paquete}}` + +- Elimina un paquete: + +`pkg delete {{paquete}}` + +- Actualiza todos los paquetes: + +`pkg upgrade` + +- Busca un paquete: + +`pkg search {{palabra_clave}}` + +- Lista los paquetes instalados: + +`pkg info` + +- Elimina dependencias innecesarias: + +`pkg autoremove` diff --git a/pages.es/freebsd/procstat.md b/pages.es/freebsd/procstat.md new file mode 100644 index 00000000000000..841e837f1b3e5f --- /dev/null +++ b/pages.es/freebsd/procstat.md @@ -0,0 +1,20 @@ +# procstat + +> Muestra información detallada sobre los procesos en FreeBSD. +> Más información: . + +- Muestra los descriptores de archivo de un proceso específico: + +`procstat fds {{pid}}` + +- Muestra las asignaciones de memoria virtual de un proceso: + +`procstat vm {{pid}}` + +- Muestra los argumentos de un proceso: + +`procstat arguments {{pid}}` + +- Muestra los límites de recursos de un proceso: + +`procstat rlimit {{pid}}` diff --git a/pages.es/freebsd/ypchfn.md b/pages.es/freebsd/ypchfn.md new file mode 100644 index 00000000000000..96dea33c3e50c9 --- /dev/null +++ b/pages.es/freebsd/ypchfn.md @@ -0,0 +1,7 @@ +# ypchfn + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/freebsd/ypchpass.md b/pages.es/freebsd/ypchpass.md new file mode 100644 index 00000000000000..4334b10c0d2437 --- /dev/null +++ b/pages.es/freebsd/ypchpass.md @@ -0,0 +1,7 @@ +# ypchpass + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/freebsd/ypchsh.md b/pages.es/freebsd/ypchsh.md new file mode 100644 index 00000000000000..6b9ed441ad5a66 --- /dev/null +++ b/pages.es/freebsd/ypchsh.md @@ -0,0 +1,7 @@ +# ypchsh + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/linux/a2disconf.md b/pages.es/linux/a2disconf.md new file mode 100644 index 00000000000000..be49f2c922f975 --- /dev/null +++ b/pages.es/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Deshabilita un archivo de configuración de Apache en sistemas operativos basados en Debian. +> Más información: . + +- Deshabilita un archivo de configuración: + +`sudo a2disconf {{archivo_de_configuración}}` + +- Deshabilita un archivo sin mostrar mensajes informativos: + +`sudo a2disconf --quiet {{archivo_de_configuración}}` diff --git a/pages.es/linux/a2dismod.md b/pages.es/linux/a2dismod.md new file mode 100644 index 00000000000000..863a65d5f55812 --- /dev/null +++ b/pages.es/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Deshabilita un módulo de Apache en sistemas operativos basados en Debian. +> Más información: . + +- Deshabilita un módulo: + +`sudo a2dismod {{módulo}}` + +- Deshabilita un módulo sin mostrar mensajes informativos: + +`sudo a2dismod --quiet {{módulo}}` diff --git a/pages.es/linux/a2dissite.md b/pages.es/linux/a2dissite.md new file mode 100644 index 00000000000000..00839733c365e6 --- /dev/null +++ b/pages.es/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Deshabilita un servidor virtual Apache en sistemas operativos basados en Debian. +> Más información: . + +- Deshabilita un host virtual: + +`sudo a2dissite {{host_virtual}}` + +- Deshabilita un host virtual sin mostrar mensajes informativos: + +`sudo a2dissite --quiet {{host_virtual}}` diff --git a/pages.es/linux/a2enconf.md b/pages.es/linux/a2enconf.md new file mode 100644 index 00000000000000..c0e9e5954f10fd --- /dev/null +++ b/pages.es/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Habilita un archivo de configuración de Apache en sistemas operativos basados en Debian. +> Más información: . + +- Habilita un archivo de configuración: + +`sudo a2enconf {{archivo_de_configuración}}` + +- Habilita un archivo de configuración sin mostrar mensajes informativos: + +`sudo a2enconf --quiet {{archivo_de_configuración}}` diff --git a/pages.es/linux/a2enmod.md b/pages.es/linux/a2enmod.md new file mode 100644 index 00000000000000..77e65c5b105bba --- /dev/null +++ b/pages.es/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Habilita un módulo de Apache en sistemas operativos basados en Debian. +> Más información: . + +- Habilita un módulo: + +`sudo a2enmod {{módulo}}` + +- Habilita un módulo sin mostrar mensajes informativos: + +`sudo a2enmod --quiet {{módulo}}` diff --git a/pages.es/linux/a2ensite.md b/pages.es/linux/a2ensite.md new file mode 100644 index 00000000000000..b096a3f52c3188 --- /dev/null +++ b/pages.es/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Habilita un servidor virtual Apache en sistemas operativos basados en Debian. +> Más información: . + +- Habilita un host virtual: + +`sudo a2ensite {{host_virtual}}` + +- Habilita un host virtual sin mostrar mensajes informativos: + +`sudo a2ensite --quiet {{host_virtual}}` diff --git a/pages.es/linux/a2query.md b/pages.es/linux/a2query.md new file mode 100644 index 00000000000000..b9e610424edcab --- /dev/null +++ b/pages.es/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Recupera la configuración en tiempo de ejecución de Apache en sistemas operativos basados en Debian. +> Más información: . + +- Lista módulos de Apache habilitados: + +`sudo a2query -m` + +- Comprueba si un módulo específico está instalado: + +`sudo a2query -m {{nombre_del_módulo}}` + +- Lista hosts virtuales habilitados: + +`sudo a2query -s` + +- Muestra el Módulo de Procesamiento Múltiple actualmente habilitado: + +`sudo a2query -M` + +- Muestra la versión de Apache: + +`sudo a2query -v` diff --git a/pages.es/linux/aa-audit.md b/pages.es/linux/aa-audit.md new file mode 100644 index 00000000000000..8a07e2a98c88f6 --- /dev/null +++ b/pages.es/linux/aa-audit.md @@ -0,0 +1,32 @@ +# aa-audit + +> Establece perfiles de seguridad de AppArmor en modo de auditoría. +> Más información: . + +- Establece un perfil en modo auditoría: + +`sudo aa-audit {{nombre_perfil}}` + +- Establece múltiples perfiles en modo auditoría: + +`sudo aa-audit {{perfil1 perfil2 ...}}` + +- Establece un perfil en modo auditoría desde un directorío específico: + +`sudo aa-audit {{[-d|--dir]}} {{/ruta/a/perfiles}} {{nombre_perfil}}` + +- Fuerza modo auditoría incluso si ya ha sido aplicado: + +`sudo aa-audit --force {{nombre_perfil}}` + +- Establece un perfil en modo auditoría sin recargarlo: + +`sudo aa-audit --no-reload {{nombre_perfil}}` + +- Elimina el modo auditoría de un perfil: + +`sudo aa-audit {{[-r|--remove]}} {{nombre_perfil}}` + +- Muestra la ayuda: + +`aa-audit {{[-h|--help]}}` diff --git a/pages.es/linux/aa-cleanprof.md b/pages.es/linux/aa-cleanprof.md new file mode 100644 index 00000000000000..0cbe11e23a0d18 --- /dev/null +++ b/pages.es/linux/aa-cleanprof.md @@ -0,0 +1,28 @@ +# aa-cleanprof + +> Limpia perfiles de seguridad de AppArmor eliminando reglas sin utilizar. +> Más información: . + +- Limpia un usuario: + +`sudo aa-cleanprof {{nombre_perfil}}` + +- Limpia múltiples perfiles al mismo tiempo: + +`sudo aa-cleanprof {{perfil1 perfil2 ...}}` + +- Limpia un perfil desde un directorío específico: + +`sudo aa-cleanprof {{[-d|--dir]}} {{/ruta/a/perfiles}} {{nombre_perfil}}` + +- Ejecuta silenciosamente sin indicaciones: + +`sudo aa-cleanprof {{[-s|--silent]}} {{nombre_perfil}}` + +- Prevén la recarga del perfil tras limpiarlo: + +`sudo aa-cleanprof --no-reload {{nombre_perfil}}` + +- Muestra la ayuda: + +`aa-cleanprof {{[-h|--help]}}` diff --git a/pages.es/linux/aa-complain.md b/pages.es/linux/aa-complain.md new file mode 100644 index 00000000000000..614d262179bd51 --- /dev/null +++ b/pages.es/linux/aa-complain.md @@ -0,0 +1,13 @@ +# aa-complain + +> Establece una política de AppArmor en modo de queja. +> Vea también: `aa-disable`, `aa-enforce`, `aa-status`. +> Más información: . + +- Establece la política en modo de queja: + +`sudo aa-complain {{ruta/a/perfil1 ruta/a/perfil2 ...}}` + +- Establece políticas en modo de queja: + +`sudo aa-complain --dir {{ruta/a/perfiles}}` diff --git a/pages.es/linux/aa-disable.md b/pages.es/linux/aa-disable.md new file mode 100644 index 00000000000000..675904f7e7e95f --- /dev/null +++ b/pages.es/linux/aa-disable.md @@ -0,0 +1,13 @@ +# aa-disable + +> Deshabilita las políticas de seguridad de AppArmor. +> Vea también: `aa-complain`, `aa-enforce`, `aa-status`. +> Más información: . + +- Deshabilita perfil: + +`sudo aa-disable {{ruta/a/perfil1 ruta/a/perfil2 ...}}` + +- Deshabilita perfiles (predeterminado a `/etc/apparmor.d`): + +`sudo aa-disable --dir {{ruta/a/perfiles}}` diff --git a/pages.es/linux/aa-enforce.md b/pages.es/linux/aa-enforce.md new file mode 100644 index 00000000000000..f330e0abf80169 --- /dev/null +++ b/pages.es/linux/aa-enforce.md @@ -0,0 +1,13 @@ +# aa-enforce + +> Establece un perfil de AppArmor en modo de aplicación. +> Vea también: `aa-complain`, `aa-disable`, `aa-status`. +> Más información: . + +- Activa el perfil: + +`sudo aa-enforce --dir {{ruta/al/perfil}}` + +- Activa los perfiles: + +`sudo aa-enforce {{ruta/al/perfil1 ruta/al/perfil2 ...}}` diff --git a/pages.es/linux/aa-status.md b/pages.es/linux/aa-status.md new file mode 100644 index 00000000000000..b03d5babdc28f5 --- /dev/null +++ b/pages.es/linux/aa-status.md @@ -0,0 +1,25 @@ +# aa-status + +> Lista los módulos AppArmor cargados actualmente. +> Vea también: `aa-complain`, `aa-disable`, `aa-enforce`. +> Más información: . + +- Muestra el estado: + +`sudo aa-status` + +- Muestra el número de políticas cargadas: + +`sudo aa-status --profiled` + +- Muestra el número de políticas impuestas cargadas: + +`sudo aa-status --enforced` + +- Muestra el número de políticas no obligatorias cargadas: + +`sudo aa-status --complaining` + +- Muestra el número de políticas impuestas cargadas que terminan tareas: + +`sudo aa-status --kill` diff --git a/pages.es/linux/abbr.md b/pages.es/linux/abbr.md new file mode 100644 index 00000000000000..4d8c4428c7e295 --- /dev/null +++ b/pages.es/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> Administra abreviaturas del intérprete de comandos fish. +> Las palabras definidas por el usuario se reemplazan con frases más largas después de ingresarlas. +> Más información: . + +- Añade una nueva abreviatura: + +`abbr --add {{nombre_abreviatura}} {{comando}} {{argumentos_del_comando}}` + +- Cambia el nombre de una abreviatura existente: + +`abbr --rename {{nombre_antiguo}} {{nombre_nuevo}}` + +- Borra una abreviatura existente: + +`abbr --erase {{nombre_abreviatura}}` + +- Importa las abreviaturas definidas en otro host a través de SSH: + +`ssh {{nombre_host}} abbr --show | source` diff --git a/pages.es/linux/abroot.md b/pages.es/linux/abroot.md new file mode 100644 index 00000000000000..3bfa54f9448bb6 --- /dev/null +++ b/pages.es/linux/abroot.md @@ -0,0 +1,37 @@ +# abroot + +> Utilidad que proporciona completa inmutabilidad y atomicidad mediante transacciones entre 2 estados de partición de la raíz (A⟺B). +> Las actualizaciones se realizan utilizando imágenes OCI, para asegurar que el sistema está siempre en un estado consistente. +> Más información: . + +- Añade paquetes a la imagen local (Nota: después de ejecutar este comando, se necesita aplicar estos cambios): + +`sudo abroot pkg add {{paquete}}` + +- Elimina paquetes de la imagen local (Nota: después de ejecutar este comando, debe aplicar estos cambios): + +`sudo abroot pkg remove {{paquete}}` + +- Lista paquetes en la imagen local: + +`sudo abroot pkg list` + +- Aplica los cambios en la imagen local (Nota: es necesario reiniciar el sistema para que estos cambios sean aplicados): + +`sudo abroot pkg apply` + +- Retrocede su sistema al estado anterior: + +`sudo abroot rollback` + +- Edita/Visualiza los parámetros del kernel: + +`sudo abroot kargs {{edit|show}}` + +- Muestra estado: + +`sudo abroot status` + +- Muestra ayuda: + +`abroot --help` diff --git a/pages.es/linux/abrt-action-analyze-backtrace.md b/pages.es/linux/abrt-action-analyze-backtrace.md new file mode 100644 index 00000000000000..72f3531dc612f9 --- /dev/null +++ b/pages.es/linux/abrt-action-analyze-backtrace.md @@ -0,0 +1,18 @@ +# abrt-action-analyze-backtrace + +> Analiza un backtrace de C/C++. +> Genera un hash de duplicación, una clasificación del backtrace e identifica la función que causó el fallo. +> Guarda los datos como nuevos elementos `duphash`, `rating`, `crash_function` en el directorio del problema. +> Más información: . + +- Analiza el backtrace para el directorio de trabajo actual: + +`abrt-action-analyze-backtrace` + +- Analiza el backtrace para un directorio específico: + +`abrt-action-analyze-backtrace -d {{ruta/al/directorio}}` + +- Analiza el backtrace de manera detallada: + +`abrt-action-analyze-backtrace -v` diff --git a/pages.es/linux/abrt-action-analyze-c.md b/pages.es/linux/abrt-action-analyze-c.md new file mode 100644 index 00000000000000..b0b9e985f003e6 --- /dev/null +++ b/pages.es/linux/abrt-action-analyze-c.md @@ -0,0 +1,16 @@ +# abrt-action-analyze-c + +> Calcula el UUID para un directorio de datos problemático con `coredump`. +> Más información: . + +- Calcula y guarda el UUID para el directorio de trabajo actual: + +`abrt-action-analyze-c` + +- Calcula y guarda el UUID para un directorio específico: + +`abrt-action-analyze-c -d {{ruta/al/directorio}}` + +- Calcula y guarda el UUID de manera detallada: + +`abrt-action-analyze-c -v` diff --git a/pages.es/linux/abrt-cli.md b/pages.es/linux/abrt-cli.md new file mode 100644 index 00000000000000..79d81374acb98b --- /dev/null +++ b/pages.es/linux/abrt-cli.md @@ -0,0 +1,29 @@ +# abrt-cli + +> Herramienta automática de reporte de errores para sistemas basados en Fedora. +> Se utiliza para detectar, analizar y notificar fallos de aplicaciones. +> Más información: . + +- Lista los problemas detectados: + +`abrt-cli list` + +- Muestra los detalles de un problema específico: + +`abrt-cli info {{problema_id}}` + +- Elimina un informe de fallo: + +`abrt-cli remove {{problema_id}}` + +- Informa de un problema al gestor de errores configurado (por ejemplo, Bugzilla): + +`abrt-cli report {{problema_id}}` + +- Monitorea un archivo de registro y activa un programa cuando se encuentra una coincidencia: + +`abrt-watch-log -F {{cadena_error}} {{/var/log/myapp.log}} {{notify-send "Fallo detectado"}}` + +- Genera un informe para depurar manualmente: + +`abrt-cli report {{[-a|--analyze]}} {{problema_id}}` diff --git a/pages.es/linux/abrt.md b/pages.es/linux/abrt.md new file mode 100644 index 00000000000000..70e236685a4fed --- /dev/null +++ b/pages.es/linux/abrt.md @@ -0,0 +1,7 @@ +# abrt + +> Este comando es un alias de `abrt-cli`. + +- Vea la documentación del comando original: + +`tldr abrt-cli` diff --git a/pages.es/linux/ac.md b/pages.es/linux/ac.md new file mode 100644 index 00000000000000..5346a572708007 --- /dev/null +++ b/pages.es/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> Imprime estadísticas sobre cuánto tiempo han estado conectados los usuarios. +> Más información: . + +- Imprime cuánto tiempo ha estado conectado el usuario actual en horas: + +`ac` + +- Imprime cuánto tiempo han estado conectados los usuarios en horas: + +`ac {{[-p|--individual-totals]}}` + +- Imprime cuánto tiempo ha estado conectado un usuario en particular en horas: + +`ac {{[-p|--individual-totals]}} {{usuario}}` + +- Imprime cuánto tiempo un usuario en particular ha estado conectado en horas por día (en total): + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{usuario}}` + +- Muestra también detalles adicionales: + +`ac --compatibility` diff --git a/pages.es/linux/acountry.md b/pages.es/linux/acountry.md new file mode 100644 index 00000000000000..5e80308882fdc1 --- /dev/null +++ b/pages.es/linux/acountry.md @@ -0,0 +1,16 @@ +# acountry + +> Imprime el país donde se encuentra una dirección IPv4 o el nombre de un host. +> Más información: . + +- Imprime un país donde se encuentra una dirección IPv4 o host: + +`acountry {{ejemplo.com}}` + +- Imprime salida de depuración adicional: + +`acountry -d {{ejemplo.com}}` + +- Imprime información más detallada: + +`acountry -v {{ejemplo.com}}` diff --git a/pages.es/linux/acpi.md b/pages.es/linux/acpi.md new file mode 100644 index 00000000000000..00c686eb84037f --- /dev/null +++ b/pages.es/linux/acpi.md @@ -0,0 +1,28 @@ +# acpi + +> Muestra el estado de la batería o la información térmica. +> Más información: . + +- Muestra la información de la batería: + +`acpi` + +- Muestra la información térmica: + +`acpi -t` + +- Muestra la información del dispositivo de refrigeración: + +`acpi -c` + +- Muestra la información térmica en Fahrenheit: + +`acpi -tf` + +- Muestra toda la información: + +`acpi -V` + +- Extrae la información de `/proc` en lugar de `/sys`: + +`acpi -p` diff --git a/pages.es/linux/add-apt-repository.md b/pages.es/linux/add-apt-repository.md new file mode 100644 index 00000000000000..e21f70e5538a7a --- /dev/null +++ b/pages.es/linux/add-apt-repository.md @@ -0,0 +1,20 @@ +# add-apt-repository + +> Gestiona las definiciones de repositorios de `apt`. +> Más información: . + +- Agrega un nuevo repositorio de `apt`: + +`add-apt-repository {{especificación_del_repositorio}}` + +- Elimina un repositorio de `apt`: + +`add-apt-repository {{[-r|--remove]}} {{especificación_del_repositorio}}` + +- Actualiza la caché de paquetes después de agregar un repositorio: + +`add-apt-repository --update {{especificación_del_repositorio}}` + +- Permite descargar paquetes fuente desde el repositorio: + +`add-apt-repository {{[-s|--enable-source]}} {{especificación_del_repositorio}}` diff --git a/pages.es/linux/addpart.md b/pages.es/linux/addpart.md new file mode 100644 index 00000000000000..d160555c0fbc20 --- /dev/null +++ b/pages.es/linux/addpart.md @@ -0,0 +1,9 @@ +# addpart + +> Informa al kernel de Linux sobre la existencia de la partición especificada. +> Es un envoltorio simple alrededor del ioctl `add partition`. +> Más información: . + +- Informa al kernel sobre la existencia de la partición especificada: + +`addpart {{dispositivo}} {{partición}} {{inicio}} {{longitud}}` diff --git a/pages.es/linux/addr2line.md b/pages.es/linux/addr2line.md new file mode 100644 index 00000000000000..b87a95e9b3df47 --- /dev/null +++ b/pages.es/linux/addr2line.md @@ -0,0 +1,16 @@ +# addr2line + +> Convierte direcciones de un binario en nombres de archivos y números de línea. +> Más información: . + +- Muestra el nombre de archivo y el número de línea del código fuente desde una dirección de instrucción de un ejecutable: + +`addr2line {{[-e|--exe]}} {{ruta/a/ejecutable}} {{address}}` + +- Muestra el nombre de la función, nombre de archivo y número de línea: + +`addr2line {{[-e|--exe]}} {{ruta/a/ejecutable}} {{[-f|--functions]}} {{address}}` + +- Decodifica (demangle) el nombre de la función para código C++: + +`addr2line {{[-e|--exe]}} {{ruta/a/ejecutable}} {{[-f|--functions]}} {{[-C|--demangle]}} {{address}}` diff --git a/pages.es/linux/adduser.md b/pages.es/linux/adduser.md new file mode 100644 index 00000000000000..0d3c919936a933 --- /dev/null +++ b/pages.es/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> Utilidad de adición de usuarios. +> Más información: . + +- Crea un nuevo usuario con un directorio home predeterminado y solicita al usuario que establezca una contraseña: + +`adduser {{usuario}}` + +- Crea un nuevo usuario sin un directorio home: + +`adduser --no-create-home {{usuario}}` + +- Crea un nuevo usuario con un directorio home en la ruta especificada: + +`adduser --home {{ruta/a/home}} {{usuario}}` + +- Crea un nuevo usuario con el intérprete de comandos especificado establecido como intérprete de comandos de inicio de sesión: + +`adduser --shell {{ruta/a/shell}} {{usuario}}` + +- Crea un nuevo usuario que pertenezca al grupo especificado: + +`adduser --ingroup {{group}} {{usuario}}` diff --git a/pages.es/linux/adig.md b/pages.es/linux/adig.md new file mode 100644 index 00000000000000..96d9065053ae3f --- /dev/null +++ b/pages.es/linux/adig.md @@ -0,0 +1,24 @@ +# adig + +> Muestra la información recibida de los servidores del Sistema de Nombres de Dominio (DNS). +> Más información: . + +- Muestra el registro A (predeterminado) desde DNS para el(los) nombre(s) de host: + +`adig {{example.com}}` + +- Muestra salida adicional de [d]epuración: + +`adig -d {{example.com}}` + +- Conecta a un [s]ervidor DNS especificado: + +`adig -s {{1.2.3.4}} {{example.com}}` + +- Usa un puerto TCP específico para conectarse a un servidor DNS: + +`adig -T {{puerto}} {{example.com}}` + +- Usa un puerto UDP específico para conectarse a un servidor DNS: + +`adig -U {{puerto}} {{example.com}}` diff --git a/pages.es/linux/agetty.md b/pages.es/linux/agetty.md new file mode 100644 index 00000000000000..80a38769bda7e9 --- /dev/null +++ b/pages.es/linux/agetty.md @@ -0,0 +1,30 @@ +# agetty + +> Alternativa a `getty`: Abre un puerto `tty`, pide un nombre de usuario, e invoca el comando `/bin/login`. +> Normalmente es invocado por `init`. +> Nota: la tasa de baudios es la velocidad de transferencia de datos entre una terminal y un dispositivo a través de una conexión serie. +> Más información: . + +- Conecta `stdin` a un puerto (relativo a `/dev`) y especifica opcionalmente una tasa de baudios (cuyo valor predeterminado es 9600): + +`agetty {{tty}} {{115200}}` + +- Asume que `stdin` ya está conectado a una `tty` y establece un tiempo de espera para el inicio de sesión: + +`agetty {{[-t|--timeout]}} {{tiempo_de_espera_en_segundos}} -` + +- Asume que `tty` es de [8]-bits, sobreescribiendo la variable de entorno `TERM` establecida por `init`: + +`agetty -8 - {{variable_term}}` + +- Omite el inicio de sesión e invoca, como superusuario, otro programa de inicio de sesión en lugar de `/bin/login`: + +`agetty {{[-n|--skip-login]}} {{[-l|--login-program]}} {{programa_de_inicio_de_sesión}} {{tty}}` + +- Escribe el mensaje de inicio de sesión sin mostrar el contenido del archivo de pre-inicio de sesión (`/etc/issue` por predeterminado): + +`agetty {{[-i|--noissue]}} -` + +- Cambia el directorio raíz y escribe un host falso en el archivo `utmp`: + +`agetty {{[-r|--chroot]}} {{/ruta/a/raíz_directorio}} {{[-H|--host]}} {{host_falso}} -` diff --git a/pages.es/linux/ahost.md b/pages.es/linux/ahost.md new file mode 100644 index 00000000000000..c067cd8458fe1c --- /dev/null +++ b/pages.es/linux/ahost.md @@ -0,0 +1,16 @@ +# ahost + +> Herramienta de búsqueda DNS para mostrar el registro A o AAAA asociado con un nombre de host o dirección IP. +> Más información: . + +- Muestra un registro `A` o `AAAA` asociado con un nombre de host o dirección IP: + +`ahost {{example.com}}` + +- Muestra salida adicional de depuración: + +`ahost -d {{example.com}}` + +- Muestra el registro con un tipo especificado: + +`ahost -t {{a|aaaa|u}} {{example.com}}` diff --git a/pages.es/linux/alien.md b/pages.es/linux/alien.md new file mode 100644 index 00000000000000..85e3d2d2588386 --- /dev/null +++ b/pages.es/linux/alien.md @@ -0,0 +1,21 @@ +# alien + +> Convierte diferentes paquetes de instalación a otros formatos. +> Vea también: `debtap`, para la conversión de `.deb` en Arch Linux. +> Más información: . + +- Convierte un archivo de instalación específico al formato Debian (extensión `.deb`): + +`sudo alien --to-deb {{ruta/al/archivo}}` + +- Convierte un archivo de instalación específico al formato Red Hat (extensión `.rpm`): + +`sudo alien --to-rpm {{ruta/al/archivo}}` + +- Convierte un archivo de instalación específico al formato de instalación de Slackware (extensión `.tgz`): + +`sudo alien --to-tgz {{ruta/al/archivo}}` + +- Convierte un archivo de instalación específico al formato Debian y lo instala en el sistema: + +`sudo alien --to-deb --install {{ruta/al/archivo}}` diff --git a/pages.es/linux/alpine.md b/pages.es/linux/alpine.md new file mode 100644 index 00000000000000..6af347ab0f100c --- /dev/null +++ b/pages.es/linux/alpine.md @@ -0,0 +1,17 @@ +# alpine + +> Un cliente de correo electrónico y programa de grupos de noticias Usenet con una interfaz inspirada en pico/nano. +> Soporta la mayoría de los servicios modernos de correo electrónico a través de IMAP. +> Más información: . + +- Abre alpine normalmente: + +`alpine` + +- Abre alpine directamente en la pantalla de composición de mensajes para enviar un correo electrónico a una dirección específica: + +`alpine {{correo@example.net}}` + +- Sale de alpine: + +`` diff --git a/pages.es/linux/alternatives.md b/pages.es/linux/alternatives.md new file mode 100644 index 00000000000000..5933563d1f1a4d --- /dev/null +++ b/pages.es/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Este comando es un alias de `update-alternatives`. + +- Vea la documentación del comando original: + +`tldr update-alternatives` diff --git a/pages.es/linux/amixer.md b/pages.es/linux/amixer.md new file mode 100644 index 00000000000000..1c26cfbc2a9bac --- /dev/null +++ b/pages.es/linux/amixer.md @@ -0,0 +1,12 @@ +# amixer + +> Mezclador para el controlador de tarjeta de sonido ALSA. +> Más información: . + +- Aumenta el volumen maestro en un 10%: + +`amixer -D pulse sset Master {{10%+}}` + +- Disminuye el volumen maestro en un 10%: + +`amixer -D pulse sset Master {{10%-}}` diff --git a/pages.es/linux/anbox.md b/pages.es/linux/anbox.md new file mode 100644 index 00000000000000..fae52d1227f2a4 --- /dev/null +++ b/pages.es/linux/anbox.md @@ -0,0 +1,8 @@ +# anbox + +> Ejecuta aplicaciones de Android en cualquier sistema operativo Linux. +> Más información: . + +- Lanza Anbox en el administrador de aplicaciones: + +`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}` diff --git a/pages.es/linux/apache2ctl.md b/pages.es/linux/apache2ctl.md new file mode 100644 index 00000000000000..1c6d4e0fb6e3b7 --- /dev/null +++ b/pages.es/linux/apache2ctl.md @@ -0,0 +1,25 @@ +# apache2ctl + +> Administra el servidor web Apache HTTP. +> Este comando viene con los sistemas operativos basados en Debian; para los basados en RHEL, consulte `httpd`. +> Más información: . + +- Inicia el programa residente (daemon) de Apache. Muestra un mensaje si ya está en ejecución: + +`sudo apache2ctl start` + +- Detiene el programa residente (daemon) de Apache: + +`sudo apache2ctl stop` + +- Reinicia el programa residente (daemon) de Apache: + +`sudo apache2ctl restart` + +- Prueba la sintaxis del archivo de configuración: + +`sudo apache2ctl -t` + +- Lista los módulos cargados: + +`sudo apache2ctl -M` diff --git a/pages.es/linux/apachectl.md b/pages.es/linux/apachectl.md new file mode 100644 index 00000000000000..68d20a99ca9af1 --- /dev/null +++ b/pages.es/linux/apachectl.md @@ -0,0 +1,36 @@ +# apachectl + +> Controla un servidor HTTP Apache. +> Más información: . + +- Inicia el servidor: + +`sudo apachectl start` + +- Reinicia el servidor: + +`sudo apachectl restart` + +- Detiene el servidor: + +`sudo apachectl stop` + +- Comprueba la validez del archivo de configuración: + +`apachectl configtest` + +- Comprueba el estado del servidor (requiere el navegador lynx): + +`apachectl status` + +- Recarga la configuración sin perder conexiones: + +`sudo apachectl graceful` + +- Imprime la configuración completa de Apache: + +`apachectl -S` + +- Muestra la ayuda: + +`apachectl -h` diff --git a/pages.es/linux/apk.md b/pages.es/linux/apk.md new file mode 100644 index 00000000000000..d9e09cc57bac16 --- /dev/null +++ b/pages.es/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> Herramienta de gestión de paquetes de Alpine Linux. +> Más información: . + +- Actualiza los índices de repositorio desde todos los repositorios remotos: + +`apk update` + +- Instala un nuevo paquete: + +`apk add {{paquete}}` + +- Remueve un paquete: + +`apk del {{paquete}}` + +- Repara un paquete o lo actualiza sin modificar dependencias principales: + +`apk fix {{paquete}}` + +- Busca un paquete usando palabras clave: + +`apk search {{palabras_clave}}` + +- Muestra información sobre un paquete específico: + +`apk info {{paquete}}` diff --git a/pages.es/linux/aplay.md b/pages.es/linux/aplay.md new file mode 100644 index 00000000000000..8e9dbf0c9661e0 --- /dev/null +++ b/pages.es/linux/aplay.md @@ -0,0 +1,16 @@ +# aplay + +> Reproductor de sonido para el controlador de tarjeta de sonido ALSA. +> Más información: . + +- Reproduce un archivo específico (la tasa de muestreo, la profundidad de bits, etc. se determinarán automáticamente según el formato del archivo): + +`aplay {{ruta/al/archivo}}` + +- Reproduce los primeros 10 segundos de un archivo específico a 2500 Hz: + +`aplay --duration={{10}} --rate={{2500}} {{ruta/al/archivo}}` + +- Reproduce el archivo en formato sin procesar como un archivo `.au` de 22050 Hz, mono, 8 bits, Mu-Law: + +`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/apparmor_status.md b/pages.es/linux/apparmor_status.md new file mode 100644 index 00000000000000..51d53bfab4e2c9 --- /dev/null +++ b/pages.es/linux/apparmor_status.md @@ -0,0 +1,7 @@ +# apparmor_status + +> Este comando es un alias de `aa-status`. + +- Vea la documentación para el comando original: + +`tldr aa-status` diff --git a/pages.es/linux/apport-bug.md b/pages.es/linux/apport-bug.md new file mode 100644 index 00000000000000..dbd8f1745f0bb3 --- /dev/null +++ b/pages.es/linux/apport-bug.md @@ -0,0 +1,20 @@ +# apport-bug + +> Reporta un error (bug) de Ubuntu. +> Más información: . + +- Reporta un error respecto a todo el sistema: + +`apport-bug` + +- Reporta un error respecto a un paquete específico: + +`apport-bug {{paquete}}` + +- Reporta un error respecto a un programa específico: + +`apport-bug {{ruta/a/programa}}` + +- Reporta un error respecto a un proceso específico: + +`apport-bug {{PID}}` diff --git a/pages.es/linux/apt-add-repository.md b/pages.es/linux/apt-add-repository.md index 75ecd27667a5fb..00eff2fb023efb 100644 --- a/pages.es/linux/apt-add-repository.md +++ b/pages.es/linux/apt-add-repository.md @@ -1,12 +1,13 @@ # apt-add-repository -> Gestiona las definiciones del repositorio apt. +> Gestiona las definiciones del repositorio APT. +> Más información: . -- Añade un nuevo repositorio apt: +- Añade un nuevo repositorio APT: `apt-add-repository {{repositorio}}` -- Elimina un repositorio apt: +- Elimina un repositorio APT: `apt-add-repository --remove {{repositorio}}` @@ -14,6 +15,6 @@ `apt-add-repository --update {{repositorio}}` -- Activar las fuentes de paquetes: +- Activa las fuentes de paquetes: `apt-add-repository --enable-source {{repositorio}}` diff --git a/pages.es/linux/apt-cache.md b/pages.es/linux/apt-cache.md index eef92900dd1fc0..ef88da3f4d7452 100644 --- a/pages.es/linux/apt-cache.md +++ b/pages.es/linux/apt-cache.md @@ -1,6 +1,7 @@ # apt-cache > Herramienta de consulta de paquetes para Debian y Ubuntu. +> Más información: . - Busca un paquete en tus fuentes actuales: @@ -10,7 +11,7 @@ `apt-cache show {{paquete}}` -- Muestra si un paquete está instalado y actualizado: +- Muestra si un paquete está instalado y actualizado: `apt-cache policy {{paquete}}` diff --git a/pages.es/linux/apt-clone.md b/pages.es/linux/apt-clone.md new file mode 100644 index 00000000000000..b86bfaee627f33 --- /dev/null +++ b/pages.es/linux/apt-clone.md @@ -0,0 +1,24 @@ +# apt-clone + +> Clona/hace copia de seguridad/restaura el estado de un paquete de un sistema basado en Debian. +> Más información: . + +- Clona el estado del paquete del sistema actual en un directorio especificado: + +`apt-clone clone {{ruta/al/directorio}}` + +- Crea un archivo clon (`tar.gz`) con fines de copia de seguridad: + +`apt-clone clone --destination {{ruta/a/backup.tar.gz}}` + +- Restaura el estado del paquete desde un archivo clon: + +`apt-clone restore {{ruta/a/backup.tar.gz}}` + +- Muestra información sobre un archivo clon (por ejemplo, la versión, la arquitectura): + +`apt-clone info {{ruta/a/backup.tar.gz}}` + +- Comprueba si el archivo clon se puede restaurar en el sistema actual: + +`apt-clone restore {{ruta/a/backup.tar.gz}} --destination {{ruta/a/restaurar}}` diff --git a/pages.es/linux/apt-file.md b/pages.es/linux/apt-file.md index 80b9c5dc20347f..13b7a19a7d6120 100644 --- a/pages.es/linux/apt-file.md +++ b/pages.es/linux/apt-file.md @@ -1,6 +1,7 @@ # apt-file -> Busca archivos en paquetes apt, incluyendo los que aún no fueron instalados. +> Busca archivos en paquetes `apt`, incluyendo los que aún no han sido instalados. +> Más información: . - Actualiza los metadatos de la base de datos: @@ -8,8 +9,12 @@ - Busca paquetes que contengan el archivo o ruta especificada: -`apt-file search {{ruta/al/archivo}}` +`apt-file {{search|find}} {{ruta/al/archivo}}` - Muestra el contenido del paquete especificado: -`apt-file list {{nombre_paquete}}` +`apt-file {{show|list}} {{nombre_paquete}}` + +- Busca paquetes que coincidan con la `expresión_regular`: + +`apt-file {{search|find}} --regexp {{expresión_regular}}` diff --git a/pages.es/linux/apt-get.md b/pages.es/linux/apt-get.md index 9bffe334729918..ae75acc47435e8 100644 --- a/pages.es/linux/apt-get.md +++ b/pages.es/linux/apt-get.md @@ -1,13 +1,14 @@ # apt-get -> Herramienta de gestión de paquete para distribuciones basadas en Debian. -> Buscar paquetes utilizando `apt-cache`. +> Utilidad de gestión de paquetes para Debian y Ubuntu. +> Búsqueda de paquetes mediante `apt-cache`. +> Más información: . -- Actualiza la lista de paquetes y versiones disponibles (se recomienda ejecutar este comando antes que cualquier otro comando `apt-get`): +- Actualiza la lista de paquetes y versiones disponibles (se recomienda ejecutar esto antes de otros comandos `apt-get`): `apt-get update` -- Instala un paquete o actualizarlo a su última versión disponible: +- Instala un paquete o lo actualiza a la última versión disponible: `apt-get install {{paquete}}` @@ -19,14 +20,18 @@ `apt-get purge {{paquete}}` -- Actualiza todos los paquetes instalados a sus nuevas versiones disponibles: +- Actualiza todos los paquetes instalados a sus versiones más recientes: `apt-get upgrade` -- Elimina todos los paquetes innecesarios: +- Limpia el repositorio local: elimina los archivos de paquetes (`.deb`) de descargas interrumpidas que ya no pueden descargarse: + +`apt-get autoclean` + +- Elimina todos los paquetes que ya no sean necesarios: `apt-get autoremove` -- Actualiza paquetes instalados (como `upgrade`), pero elimina paquete obsoletos e instala paquetes adiciones para satisfacer nuevas dependencias: +- Actualiza los paquetes instalados (como `upgrade`), pero eliminando los paquetes obsoletos e instalando paquetes adicionales para satisfacer las nuevas dependencias: `apt-get dist-upgrade` diff --git a/pages.es/linux/apt-key.md b/pages.es/linux/apt-key.md index 5e94210a7f9331..f2835760445ed8 100644 --- a/pages.es/linux/apt-key.md +++ b/pages.es/linux/apt-key.md @@ -1,23 +1,24 @@ # apt-key > Herramienta para la gestión de claves para el Gestor de Paquetes APT (APT Package Manager) en Debian y Ubuntu. +> Más información: . - Muestra las claves de confianza: `apt-key list` -- Añade una clave al almacén de claves de confianza): +- Añade una clave al almacén de claves de confianza: `apt-key add {{archivo_clave_pública.asc}}` -- Borrar una clave del almacén de claves de confianza: +- Borra una clave del almacén de claves de confianza: -`apt-key del {{id_clave}}` +`apt-key del {{identificador_de_clave}}` -- Añadir un clave remota al almacén de claves de confianza: +- Añade un clave remota al almacén de claves de confianza: `wget -qO - {{https://host.tld/archivo.clave}} | apt-key add -` -- Añadir una clave de un servidor de claves con el identificador de la clave: +- Añade una clave de un servidor de claves con el identificador de la clave: -`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{id_clave}}` +`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{identificador_de_clave}}` diff --git a/pages.es/linux/apt-mark.md b/pages.es/linux/apt-mark.md index 0bfe90b5a412bd..8897443955268f 100644 --- a/pages.es/linux/apt-mark.md +++ b/pages.es/linux/apt-mark.md @@ -1,6 +1,7 @@ # apt-mark > Herramienta para cambiar el estado de los paquetes instalados. +> Más información: . - Marca un paquete como instalado automáticamente: diff --git a/pages.es/linux/apt-moo.md b/pages.es/linux/apt-moo.md new file mode 100644 index 00000000000000..60d1858efa6326 --- /dev/null +++ b/pages.es/linux/apt-moo.md @@ -0,0 +1,8 @@ +# apt moo + +> Un huevo de pascua en `APT`. +> Más información: . + +- Imprime un huevo de pascua de vaca: + +`apt moo` diff --git a/pages.es/linux/apt.md b/pages.es/linux/apt.md index 950c17b4c579ed..d569f24f429634 100644 --- a/pages.es/linux/apt.md +++ b/pages.es/linux/apt.md @@ -1,7 +1,8 @@ # apt > Herramienta de gestión de paquete para distribuciones basadas en Debian. -> Se recomienda sustituirlo por apt-get cuando se use interactivamente en Ubuntu 16.04 o versiones posteriores. +> Se recomienda sustituirlo por `apt-get` cuando se use interactivamente en Ubuntu 16.04 o versiones posteriores. +> Más información: . - Actualiza la lista de paquetes y versiones disponibles (se recomienda ejecutar este comando antes que cualquier otro comando `apt`): @@ -33,4 +34,4 @@ - Muestra los paquetes instalados: -`apt list --installed` +`apt list {{[-i|--installed]}}` diff --git a/pages.es/linux/aptitude.md b/pages.es/linux/aptitude.md index 70842e5c6b64ee..b09bcdb71d8108 100644 --- a/pages.es/linux/aptitude.md +++ b/pages.es/linux/aptitude.md @@ -1,20 +1,21 @@ # aptitude > Herramienta de gestión de paquetes para Debian y Ubuntu. +> Más información: . - Sincroniza la lista de paquetes y versiones disponible (se recomienda ejecutar este comando antes que cualquier otro comando `aptitude`): `aptitude update` -- Instalar un nuevo paquete y sus dependencias: +- Instala un nuevo paquete y sus dependencias: `aptitude install {{paquete}}` -- Buscar un paquete: +- Busca un paquete: `aptitude search {{paquete}}` -- Buscar un paquete instalado (`?installed` es un término de búsqueda de `aptitude`): +- Busca un paquete instalado (`?installed` es un término de búsqueda de `aptitude`): `aptitude search '?installed({{paquete}})'` @@ -22,7 +23,7 @@ `aptitude remove {{paquete}}` -- Actualiza todos los paquetes sus nuevas versiones disponibles: +- Actualiza todos los paquetes a sus nuevas versiones disponibles: `aptitude upgrade` @@ -30,6 +31,6 @@ `aptitude full-upgrade` -- Mantiente un paquete instalado para que no sea actualizado automáticamente: +- Mantiene un paquete instalado para que no sea actualizado automáticamente: `aptitude hold '?installed({{paquete}})'` diff --git a/pages.es/linux/apx-pkgmanagers.md b/pages.es/linux/apx-pkgmanagers.md new file mode 100644 index 00000000000000..afa8b31e130b52 --- /dev/null +++ b/pages.es/linux/apx-pkgmanagers.md @@ -0,0 +1,21 @@ +# apx pkgmanagers + +> Administra gestores de paquetes en `apx`. +> Nota: las configuraciones de gestores de paquetes creadas por el usuario se almacenan en `~/.local/share/apx/pkgmanagers`. +> Más información: . + +- Crea de forma interactiva una nueva configuración de gestor de paquetes: + +`apx pkgmanagers create` + +- Muestra la lista de todas las configuraciones de gestores de paquetes disponibles: + +`apx pkgmanagers list` + +- Elimina una configuración de gestor de paquetes: + +`apx pkgmanagers rm --name {{cadena_de_caracteres}}` + +- Muestra información sobre un gestor de paquetes específico: + +`apx pkgmanagers show {{nombre}}` diff --git a/pages.es/linux/apx-stacks.md b/pages.es/linux/apx-stacks.md new file mode 100644 index 00000000000000..d3639b73f05c4c --- /dev/null +++ b/pages.es/linux/apx-stacks.md @@ -0,0 +1,29 @@ +# apx stacks + +> Administra stacks en `apx`. +> Nota: las configuraciones de stacks creadas por el usuario se almacenan en `~/.local/share/apx/stacks`. +> Más información: . + +- Crea de forma interactiva una nueva configuración de stack: + +`apx stacks new` + +- Actualiza de forma interactiva una configuración de stack: + +`apx stacks update {{nombre}}` + +- Muestra la lista de todas las configuraciones de stacks disponibles: + +`apx stacks list` + +- Elimina una configuración de stack específica: + +`apx stacks rm --name {{cadena_de_caracteres}}` + +- Importa una configuración de stack: + +`apx stacks import --input {{ruta/al/stack.yml}}` + +- Exporta una configuración de stack (Nota: la opción de salida es opcional, por defecto se exporta al directorio de trabajo actual): + +`apx stacks export --name {{cadena_de_caracteres}} --output {{ruta/al/archivo_de_salida}}` diff --git a/pages.es/linux/apx-subsystems.md b/pages.es/linux/apx-subsystems.md new file mode 100644 index 00000000000000..cccd2c82043e50 --- /dev/null +++ b/pages.es/linux/apx-subsystems.md @@ -0,0 +1,29 @@ +# apx subsystems + +> Administra subsistemas en `apx`. +> Los subsistemas son contenedores que pueden crearse a partir de stacks preexistentes. +> Más información: . + +- Crea de forma interactiva un nuevo subsistema: + +`apx subsystems new` + +- Muestra la lista de todos los subsistemas disponibles: + +`apx subsystems list` + +- Restablece un subsistema específico a su estado inicial: + +`apx subsystems reset {{[-n|--name]}} {{cadena_de_caracteres}}` + +- Fuerza el restablecimiento de un subsistema específico: + +`apx subsystems reset {{[-n|--name]}} {{cadena_de_caracteres}} {{[-f|--force]}}` + +- Elimina un subsistema específico: + +`apx subsystems rm {{[-n|--name]}} {{cadena_de_caracteres}}` + +- Fuerza la eliminación de un subsistema específico: + +`apx subsystems rm {{[-n|--name]}} {{cadena_de_caracteres}} {{[-f|--force]}}` diff --git a/pages.es/linux/apx.md b/pages.es/linux/apx.md new file mode 100644 index 00000000000000..e05dc29da728a9 --- /dev/null +++ b/pages.es/linux/apx.md @@ -0,0 +1,16 @@ +# apx + +> Utilidad de gestión de paquetes con soporte para múltiples fuentes, que permite instalar paquetes en subsistemas. +> Más información: . + +- Muestra la documentación sobre la gestión de gestores de paquetes: + +`tldr apx pkgmanagers` + +- Muestra la documentación sobre la gestión de stacks: + +`tldr apx stacks` + +- Muestra la documentación sobre la gestión de subsistemas: + +`tldr apx subsystems` diff --git a/pages.es/linux/arch-chroot.md b/pages.es/linux/arch-chroot.md new file mode 100644 index 00000000000000..348604a5acedf9 --- /dev/null +++ b/pages.es/linux/arch-chroot.md @@ -0,0 +1,20 @@ +# arch-chroot + +> Comando `chroot` mejorado para facilitar el proceso de instalación de Arch Linux. +> Más información: . + +- Inicia un intérprete de comandos interactivo (Bash por defecto) en un nuevo directorio raíz: + +`arch-chroot {{ruta/a/nueva/raíz}}` + +- Especifica el usuario (distinto del actual) para ejecutar el intérprete de comandos: + +`arch-chroot -u {{usuario}} {{ruta/a/nueva/raíz}}` + +- Ejecuta un comando personalizado (en lugar de Bash) en el nuevo directorio raíz: + +`arch-chroot {{ruta/a/nueva/raíz}} {{comando}} {{argumentos_del_comando}}` + +- Especifica un intérprete de comandos distinto de Bash (en este caso, el paquete `zsh` debe estar instalado en el sistema de destino): + +`arch-chroot {{ruta/a/nueva/raíz}} {{zsh}}` diff --git a/pages.es/linux/archey.md b/pages.es/linux/archey.md index 8dfff21e85b76b..be2bf75521a470 100644 --- a/pages.es/linux/archey.md +++ b/pages.es/linux/archey.md @@ -1,6 +1,7 @@ # archey > Herramienta sencilla para mostrar información del sistema con estilo. +> Más información: . - Muestra información del sistema: diff --git a/pages.es/linux/archinstall.md b/pages.es/linux/archinstall.md new file mode 100644 index 00000000000000..fb3a05531ee895 --- /dev/null +++ b/pages.es/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> Instalador guiado de Arch Linux con un giro. +> Más información: . + +- Inicia el instalador interactivo: + +`archinstall` + +- Inicia un instalador preestablecido: + +`archinstall {{minimal|unattended}}` diff --git a/pages.es/linux/archivemount.md b/pages.es/linux/archivemount.md new file mode 100644 index 00000000000000..b9d1f9fc167717 --- /dev/null +++ b/pages.es/linux/archivemount.md @@ -0,0 +1,8 @@ +# archivemount + +> Monta un archivo comprimido para acceder a su contenido como un sistema de archivos. +> Más información: . + +- Monta un archivo comprimido en un punto de montaje específico: + +`archivemount {{ruta/al/archivo_comprimido}} {{ruta/al/punto_de_montaje}}` diff --git a/pages.es/linux/archlinux-java.md b/pages.es/linux/archlinux-java.md new file mode 100644 index 00000000000000..39636257c9124b --- /dev/null +++ b/pages.es/linux/archlinux-java.md @@ -0,0 +1,24 @@ +# archlinux-java + +> Cambia entre los entornos de Java instalados. +> Más información: . + +- Muestra la lista de entornos de Java instalados: + +`archlinux-java status` + +- Muestra el nombre corto del entorno de Java predeterminado actual: + +`archlinux-java get` + +- Establece el entorno de Java predeterminado: + +`archlinux-java set {{entorno_java}}` + +- Restablece la configuración del entorno de Java predeterminado: + +`archlinux-java unset` + +- Corrige una configuración inválida o dañada del entorno de Java predeterminado: + +`archlinux-java fix` diff --git a/pages.es/linux/arecord.md b/pages.es/linux/arecord.md new file mode 100644 index 00000000000000..738affbe751103 --- /dev/null +++ b/pages.es/linux/arecord.md @@ -0,0 +1,28 @@ +# arecord + +> Grabadora de sonido para el controlador de tarjeta de sonido ALSA. +> Más información: . + +- Graba un fragmento en calidad "CD" (finaliza con `` cuando termines): + +`arecord -vv --format=cd {{ruta/al/archivo.wav}}` + +- Graba un fragmento en calidad "CD", con una duración fija de 10 segundos: + +`arecord -vv --format=cd --duration={{10}} {{ruta/al/archivo.wav}}` + +- Graba un fragmento y lo guarda como MP3 (finaliza con `` cuando termines): + +`arecord -vv --format=cd --file-type raw | lame -r - {{ruta/al/archivo.mp3}}` + +- Muestra todas las tarjetas de sonido y dispositivos de audio digital: + +`arecord --list-devices` + +- Permite una interfaz interactiva (por ejemplo, usa la `` o `` para reproducir o pausar): + +`arecord --interactive` + +- Prueba tu micrófono grabando una muestra de 5 segundos y reproduciéndola: + +`arecord -d 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav` diff --git a/pages.es/linux/arithmetic.md b/pages.es/linux/arithmetic.md new file mode 100644 index 00000000000000..87c62cb1d76250 --- /dev/null +++ b/pages.es/linux/arithmetic.md @@ -0,0 +1,16 @@ +# arithmetic + +> Examen de problemas simples de aritmética. +> Más información: . + +- Inicia un examen de aritmética: + +`arithmetic` + +- Especifica uno o más símbolos de [o]peración aritmética para obtener problemas relacionados con ellos: + +`arithmetic -o {{+|-|x|/}}` + +- Especifica un rango. Los problemas de suma y multiplicación presentarán números entre 0 y el rango, inclusive. Los problemas de resta y división tendrán el resultado requerido y el número a operar, entre 0 y el rango: + +`arithmetic -r {{7}}` diff --git a/pages.es/linux/ark.md b/pages.es/linux/ark.md new file mode 100644 index 00000000000000..d17676262b7abc --- /dev/null +++ b/pages.es/linux/ark.md @@ -0,0 +1,16 @@ +# ark + +> Herramienta de archivado de KDE. +> Más información: . + +- Extrae un archivo específico en el directorio actual: + +`ark --batch {{ruta/al/archivo}}` + +- Extrae un archivo en un directorio específico: + +`ark --batch --destination {{ruta/al/directorio}} {{ruta/al/archivo}}` + +- Crea un archivo si no existe y agrega archivos específicos al mismo: + +`ark --add-to {{ruta/al/archivo}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` diff --git a/pages.es/linux/arpaname.md b/pages.es/linux/arpaname.md new file mode 100644 index 00000000000000..a8bac2153f9edb --- /dev/null +++ b/pages.es/linux/arpaname.md @@ -0,0 +1,8 @@ +# arpaname + +> Obtiene el nombre ARPA correspondiente para una dirección IP. +> Más información: . + +- Traduce direcciones IP (IPv4 e IPv6) al nombre ARPA correspondiente: + +`arpaname {{dirección_ip}}` diff --git a/pages.es/linux/arpspoof.md b/pages.es/linux/arpspoof.md new file mode 100644 index 00000000000000..4debbcde72ac45 --- /dev/null +++ b/pages.es/linux/arpspoof.md @@ -0,0 +1,16 @@ +# arpspoof + +> Forja respuestas ARP para interceptar paquetes. +> Más información: . + +- Envenena todos los hosts para interceptar paquetes en la [i]nterfaz para el host: + +`sudo arpspoof -i {{wlan0}} {{ip_del_host}}` + +- Envenena el objetivo para interceptar paquetes en la [i]nterfaz para el host: + +`sudo arpspoof -i {{wlan0}} -t {{ip_del_objetivo}} {{ip_del_host}}` + +- Envenena tanto el objetivo como el host para interceptar paquetes en la [i]nterfaz para el host: + +`sudo arpspoof -i {{wlan0}} -r -t {{ip_del_objetivo}} {{ip_del_host}}` diff --git a/pages.es/linux/arptables.md b/pages.es/linux/arptables.md new file mode 100644 index 00000000000000..339c374f2db9d7 --- /dev/null +++ b/pages.es/linux/arptables.md @@ -0,0 +1,29 @@ +# arptables + +> Gestiona las reglas de filtrado ARP usando el backend `nftables`. +> Parte de la suite `xtables-nft` para filtrado de paquetes ARP. +> Más información: . + +- Lista todas las reglas ARP en la tabla de filtrado: + +`sudo arptables {{[-L|--list]}}` + +- Añade una regla para descartar paquetes ARP de una dirección IP específica: + +`sudo arptables {{[-A|--append]}} INPUT {{[-s|--source-ip]}} {{192.168.0.1}} {{[-j|--jump]}} DROP` + +- Elimina una regla específica de la cadena INPUT por su número de regla: + +`sudo arptables {{[-D|--delete]}} INPUT {{número_de_regla}}` + +- Borra todas las reglas de la tabla de filtros: + +`sudo arptables {{[-F|--flush]}}` + +- Establece la política predeterminada de la cadena OUTPUT en ACCEPT: + +`sudo arptables {{[-P|--policy]}} OUTPUT ACCEPT` + +- Guarda las reglas ARP actuales en un archivo: + +`sudo arptables-save > {{ruta/a/archivo}}` diff --git a/pages.es/linux/as.md b/pages.es/linux/as.md new file mode 100644 index 00000000000000..fef638176d2f36 --- /dev/null +++ b/pages.es/linux/as.md @@ -0,0 +1,21 @@ +# as + +> Ensamblador GNU portátil. +> Principalmente destinado a ensamblar la salida de `gcc` para ser utilizada por `ld`. +> Más información: . + +- Ensambla un archivo, escribiendo la salida en `a.out`: + +`as {{ruta/al/archivo.s}}` + +- Ensambla la salida en un archivo específico: + +`as {{ruta/al/archivo.s}} -o {{ruta/al/archivo_salida.o}}` + +- Genera la salida más rápida omitiendo el preprocesamiento de espacios en blanco y comentarios. (Solo debe usarse con compiladores de confianza): + +`as -f {{ruta/al/archivo.s}}` + +- Incluye una ruta específica en la lista de directorios para buscar archivos especificados en las directivas `.include`: + +`as -I {{ruta/al/directorio}} {{ruta/al/archivo.s}}` diff --git a/pages.es/linux/ascii.md b/pages.es/linux/ascii.md new file mode 100644 index 00000000000000..b0c504f671ba94 --- /dev/null +++ b/pages.es/linux/ascii.md @@ -0,0 +1,36 @@ +# ascii + +> Muestra alias de caracteres ASCII. +> Más información: . + +- Muestra los alias ASCII de un caracter: + +`ascii {{a}}` + +- Muestra los alias ASCII en modo corto, apropiados para script: + +`ascii -t {{a}}` + +- Muestra los alias ASCII de varios caracteres: + +`ascii -s {{tldr}}` + +- Muestra la tabla ASCII en decimal: + +`ascii -d` + +- Muestra la tabla ASCII en hexadecimal: + +`ascii -x` + +- Muestra la tabla ASCII en octal: + +`ascii -o` + +- Muestra la tabla ASCII en binario: + +`ascii -b` + +- Muestra opciones resumen y completa para la tabla ASCII: + +`ascii` diff --git a/pages.es/linux/asciiart.md b/pages.es/linux/asciiart.md new file mode 100644 index 00000000000000..4f7410e7e1ae7b --- /dev/null +++ b/pages.es/linux/asciiart.md @@ -0,0 +1,28 @@ +# asciiart + +> Convierte imágenes en ASCII. +> Más información: . + +- Lee una imagen de un archivo y la muestra en ASCII: + +`asciiart {{ruta/a/la/imagen.jpg}}` + +- Lee una imagen desde una URL y la muestra en ASCII: + +`asciiart {{www.example.com/image.jpg}}` + +- Elige el ancho de salida (por defecto es 100): + +`asciiart --width {{50}} {{ruta/a/la/imagen.jpg}}` + +- Coloriza la salida ASCII: + +`asciiart --color {{ruta/a/la/imagen.jpg}}` + +- Elige el formato de salida (formato predeterminado es texto): + +`asciiart --format {{text|html}} {{ruta/a/la/imagen.jpg}}` + +- Invierte el mapa de caracteres: + +`asciiart --invert-chars {{ruta/a/la/imagen.jpg}}` diff --git a/pages.es/linux/asterisk.md b/pages.es/linux/asterisk.md new file mode 100644 index 00000000000000..f42174e8bd175a --- /dev/null +++ b/pages.es/linux/asterisk.md @@ -0,0 +1,32 @@ +# asterisk + +> Ejecuta y administra instancias de servidores telefónicos e intercambiadores (teléfonos). +> Más información: . + +- [R]econecta a un servidor en ejecución y activa el registro con 3 niveles de [v]erbosidad: + +`asterisk -r -vvv` + +- [R]econecta a un servidor en ejecución, ejecuta un solo comando y regresa: + +`asterisk -r -x "{{comando}}"` + +- Muestra los clientes chan_SIP (teléfonos): + +`asterisk -r -x "sip show peers"` + +- Muestra las llamadas y canales activos: + +`asterisk -r -x "core show channels"` + +- Muestra los buzones de voz: + +`asterisk -r -x "voicemail show users"` + +- Termina un canal: + +`asterisk -r -x "hangup request {{ID_del_canal}}"` + +- Recarga la configuración de chan_SIP: + +`asterisk -r -x "sip reload"` diff --git a/pages.es/linux/atop.md b/pages.es/linux/atop.md new file mode 100644 index 00000000000000..23ffbadc7acade --- /dev/null +++ b/pages.es/linux/atop.md @@ -0,0 +1,32 @@ +# atop + +> Monitor de sistemas y procesos para Linux. +> Más información: . + +- Inicia: + +`atop` + +- Inicia y muestra el consumo de memoria para cada proceso: + +`atop -m` + +- Inicia y muestra información sobre el disco: + +`atop -d` + +- Inicia y muestra información sobre los procesos en segundo plano: + +`atop -c` + +- Inicia y muestra información sobre la utilización de recursos específicos de hilos: + +`atop -y` + +- Inicia y muestra el número de procesos para cada usuario: + +`atop -au` + +- Muestra ayuda sobre los comandos interactivos: + +`` diff --git a/pages.es/linux/auditctl.md b/pages.es/linux/auditctl.md new file mode 100644 index 00000000000000..80306c93308e1e --- /dev/null +++ b/pages.es/linux/auditctl.md @@ -0,0 +1,32 @@ +# auditctl + +> Utilidad para controlar el comportamiento, obtener el estado y gestionar las reglas del Sistema de Auditoría de Linux. +> Más información: . + +- Muestra el e[s]tado del sistema de auditoría: + +`sudo auditctl -s` + +- Muestra todas las reglas de auditoría cargadas actualmente: + +`sudo auditctl -l` + +- Elimina todas las reglas de auditoría: + +`sudo auditctl -D` + +- Habilita/deshabilita el sistema de auditoría: + +`sudo auditctl -e {{1|0}}` + +- Vigila un archivo en busca de cambios: + +`sudo auditctl -a always,exit -F arch=b64 -F path={{/ruta/al/archivo}} -F perm=wa` + +- Busca cambios en un directorio de forma recursiva: + +`sudo auditctl -a always,exit -F arch=b64 -F dir={{/ruta/al/directorio/}} -F perm=wa` + +- Muestra ayuda: + +`auditctl -h` diff --git a/pages.es/linux/aur.md b/pages.es/linux/aur.md new file mode 100644 index 00000000000000..b98bd58f60cf7c --- /dev/null +++ b/pages.es/linux/aur.md @@ -0,0 +1,25 @@ +# aur + +> Construye paquetes desde el AUR y gestiona repositorios locales. +> Nota: Es necesario establecer un repositorio local en `/etc/pacman.conf` e instalar `vifm` para que funcione completamente. +> Más información: . + +- Busca un paquete en la base de datos del AUR: + +`aur search {{palabra_clave}}` + +- Descarga un paquete y sus dependencias desde el AUR, los compila y añade a un repositorio local: + +`aur sync {{paquete}}` + +- Lista paquetes disponibles en tu repositorio local: + +`aur repo {{[-l|--list]}}` + +- Actualiza los paquetes del repositorio local: + +`aur sync {{[-u|--upgrades]}}` + +- Instala un paquete sin ver los cambios en Vim y sin confirmar la instalación de dependencias: + +`aur sync --noview {{[-n|--noconfirm]}} {{paquete}}` diff --git a/pages.es/linux/aura.md b/pages.es/linux/aura.md new file mode 100644 index 00000000000000..ff7b64011abe32 --- /dev/null +++ b/pages.es/linux/aura.md @@ -0,0 +1,36 @@ +# aura + +> El gestor de paquetes Aura: un gestor de paquetes seguro y multilingüe para Arch Linux y el AUR. +> Más información: . + +- Busca paquetes en los repositorios oficiales y AUR: + +`aura --aursync --both --search {{palabra_clave|expresión_regular}}` + +- Instala un paquete desde el AUR: + +`aura --aursync {{paquete}}` + +- Actualiza todos los paquetes del AUR en modo detallado y elimina todas las dependencias de construcción: + +`aura --aursync --diff --sysupgrade --delmakedeps --unsuppress` + +- Instala un paquete desde los repositorios oficiales: + +`aura --sync {{paquete}}` + +- Sincroniza y actualiza todos los paquetes desde los repositorios oficiales: + +`aura --sync --refresh --sysupgrade` + +- Reemplaza un paquete con uno más antiguo usando la caché de paquetes: + +`aura --downgrade {{paquete}}` + +- Elimina un paquete y sus dependencias: + +`aura --remove --recursive --unneeded {{paquete}}` + +- Elimina paquetes huérfanos (instalados como dependencias pero no requeridos por ningún paquete): + +`aura --orphans --abandon` diff --git a/pages.es/linux/auracle.md b/pages.es/linux/auracle.md new file mode 100644 index 00000000000000..a71606c9e47f05 --- /dev/null +++ b/pages.es/linux/auracle.md @@ -0,0 +1,20 @@ +# auracle + +> Herramienta de línea de comandos utilizada para interactuar con el repositorio de usuarios de Arch Linux, comúnmente conocido como AUR. +> Más información: . + +- Muestra los paquetes del AUR que coinciden con una expresión regular: + +`auracle search '{{expresión_regular}}'` + +- Muestra información sobre uno o más paquetes del AUR: + +`auracle info {{paquete1 paquete2 ...}}` + +- Muestra el archivo `PKGBUILD` (información de construcción) de uno o más paquetes del AUR: + +`auracle show {{paquete1 paquete2 ...}}` + +- Muestra actualizaciones para los paquetes del AUR instalados: + +`auracle outdated` diff --git a/pages.es/linux/aurman.md b/pages.es/linux/aurman.md new file mode 100644 index 00000000000000..db05dd46f10c27 --- /dev/null +++ b/pages.es/linux/aurman.md @@ -0,0 +1,37 @@ +# aurman + +> Una utilidad de Arch Linux para construir e instalar paquetes desde el repositorio de usuarios de Arch (AUR). +> Vea también: `pacman`. +> Más información: . + +- Sincroniza y actualiza todos los paquetes: + +`aurman --sync --refresh --sysupgrade` + +- Sincroniza y actualiza todos los paquetes sin mostrar los cambios en los archivos `PKGBUILD`: + +`aurman --sync --refresh --sysupgrade --noedit` + +- Instala un nuevo paquete: + +`aurman --sync {{paquete}}` + +- Instala un nuevo paquete sin mostrar los cambios en los archivos `PKGBUILD`: + +`aurman --sync --noedit {{paquete}}` + +- Instala un nuevo paquete sin pedir confirmación: + +`aurman --sync --noedit --noconfirm {{paquete}}` + +- Busca en la base de datos de paquetes una palabra clave en los repositorios oficiales y AUR: + +`aurman --sync --search {{palabra_clave}}` + +- Elimina un paquete y sus dependencias: + +`aurman --remove --recursive --nosave {{paquete}}` + +- Limpia la caché de paquetes (usa dos banderas `--clean` para limpiar todos los paquetes): + +`aurman --sync --clean` diff --git a/pages.es/linux/aurpublish.md b/pages.es/linux/aurpublish.md new file mode 100644 index 00000000000000..77463393f67e13 --- /dev/null +++ b/pages.es/linux/aurpublish.md @@ -0,0 +1,12 @@ +# aurpublish + +> Publica paquetes del repositorio de usuarios de Arch. +> Más información: . + +- Verifica la integridad de `PKGBUILD`, genera `.SRCINFO`, crea una plantilla de mensaje de confirmación y publica el paquete en AUR: + +`aurpublish {{nombre_del_paquete}}` + +- Añade githooks al repositorio actual: + +`aurpublish setup` diff --git a/pages.es/linux/aurvote.md b/pages.es/linux/aurvote.md new file mode 100644 index 00000000000000..0e8d55901b50c2 --- /dev/null +++ b/pages.es/linux/aurvote.md @@ -0,0 +1,25 @@ +# aurvote + +> Vota por paquetes en el repositorio de usuarios de Arch (AUR). +> Para poder votar, el archivo `~/.config/aurvote` debe existir y contener tus credenciales del AUR. +> Más información: . + +- Crea interactivamente el archivo `~/.config/aurvote` que contiene su nombre de usuario y contraseña del AUR: + +`aurvote --configure` + +- Vota por uno o más paquetes del AUR: + +`aurvote {{paquete1 paquete2 ...}}` + +- Retira el voto de uno o más paquetes del AUR: + +`aurvote --unvote {{paquete1 paquete2 ...}}` + +- Verifica si uno o más paquetes del AUR ya han sido votados: + +`aurvote --check {{paquete1 paquete2 ...}}` + +- Muestra la ayuda: + +`aurvote --help` diff --git a/pages.es/linux/ausyscall.md b/pages.es/linux/ausyscall.md new file mode 100644 index 00000000000000..08b9b507eab4db --- /dev/null +++ b/pages.es/linux/ausyscall.md @@ -0,0 +1,16 @@ +# ausyscall + +> Mapea los nombres y números de las llamadas al sistema (syscalls). +> Más información: . + +- Muestra el número de llamada al sistema de una llamada específica: + +`ausyscall {{patrón_de_búsqueda}}` + +- Muestra el nombre de una llamada al sistema específico a partir de su número: + +`ausyscall {{número_de_llamada_al_sistema}}` + +- Muestra todas las llamadas al sistema para una arquitectura específica: + +`ausyscall {{arquitectura}} --dump` diff --git a/pages.es/linux/authconfig.md b/pages.es/linux/authconfig.md new file mode 100644 index 00000000000000..02fdadc147bf95 --- /dev/null +++ b/pages.es/linux/authconfig.md @@ -0,0 +1,36 @@ +# authconfig + +> Configura los recursos de autenticación del sistema. +> Más información: . + +- Muestra la configuración actual (o realiza una simulación): + +`authconfig --test` + +- Configura el servidor para usar un algoritmo de hash de contraseñas diferente: + +`authconfig --update --passalgo={{algoritmo}}` + +- Habilita la autenticación LDAP: + +`authconfig --update --enableldapauth` + +- Deshabilita la autenticación LDAP: + +`authconfig --update --disableldapauth` + +- Habilita el servicio de información de red (NIS): + +`authconfig --update --enablenis` + +- Habilita Kerberos: + +`authconfig --update --enablekrb5` + +- Habilita la autenticación Winbind (Active Directory): + +`authconfig --update --enablewinbindauth` + +- Habilita la autorización local: + +`authconfig --update --enablelocauthorize` diff --git a/pages.es/linux/auto-cpufreq.md b/pages.es/linux/auto-cpufreq.md new file mode 100644 index 00000000000000..3fabccfeabe705 --- /dev/null +++ b/pages.es/linux/auto-cpufreq.md @@ -0,0 +1,8 @@ +# auto-cpufreq + +> Optimizador automático de velocidad y potencia de la CPU. +> Más información: . + +- Ejecuta `auto-cpufreq` en un modo específico: + +`sudo auto-cpufreq --{{monitor|live|update|remove|stats|force=governor}}` diff --git a/pages.es/linux/autopkgtest.md b/pages.es/linux/autopkgtest.md new file mode 100644 index 00000000000000..bc63897bcb2ab1 --- /dev/null +++ b/pages.es/linux/autopkgtest.md @@ -0,0 +1,24 @@ +# autopkgtest + +> Ejecuta pruebas sobre paquetes de Debian. +> Más información: . + +- Construye el paquete en el directorio actual y ejecuta todas las pruebas directamente en el sistema: + +`autopkgtest -- {{null}}` + +- Ejecuta una prueba específica para el paquete en el directorio actual: + +`autopkgtest --test-name={{nombre_de_prueba}} -- {{null}}` + +- Descarga y construye un paquete específico con `apt-get`, luego ejecuta todas las pruebas: + +`autopkgtest {{paquete}} -- {{null}}` + +- Prueba el paquete en el directorio actual utilizando un nuevo directorio raíz: + +`autopkgtest -- {{chroot}} {{ruta/a/nuevo/directorio}}` + +- Prueba el paquete en el directorio actual sin reconstruirlo: + +`autopkgtest {{[-B|--no-built-binaries]}} -- {{null}}` diff --git a/pages.es/linux/autorandr.md b/pages.es/linux/autorandr.md new file mode 100644 index 00000000000000..8a48f2952f644a --- /dev/null +++ b/pages.es/linux/autorandr.md @@ -0,0 +1,24 @@ +# autorandr + +> Cambia automáticamente la disposición de la pantalla. +> Más información: . + +- Guarda la disposición actual de la pantalla: + +`autorandr --save {{nombre_del_perfil}}` + +- Muestra los perfiles guardados: + +`autorandr` + +- Carga el primer perfil detectado: + +`autorandr --change` + +- Carga un perfil específico: + +`autorandr --load {{nombre_del_perfil}}` + +- Establece el perfil predeterminado: + +`autorandr --default {{nombre_del_perfil}}` diff --git a/pages.es/linux/autorecon.md b/pages.es/linux/autorecon.md new file mode 100644 index 00000000000000..3df9511542436a --- /dev/null +++ b/pages.es/linux/autorecon.md @@ -0,0 +1,20 @@ +# autorecon + +> Herramienta de reconocimiento de red multihilo que realiza una enumeración automatizada de servicios. +> Más información: . + +- Realiza reconocimiento sobre el(los) host(s) objetivo(s) (los resultados del escaneo detallado se guardarán en `./results`): + +`sudo autorecon {{host_o_ip1,host_o_ip2,...}}` + +- Realiza reconocimiento sobre el(los) objetivo(s) desde un archivo: + +`sudo autorecon --target-file {{ruta/al/archivo}}` + +- Guarda los resultados en un directorio diferente: + +`sudo autorecon --output {{ruta/a/resultados}} {{host_o_ip1,host_o_ip2,...}}` + +- Limita el escaneo a [p]uertos y protocolos específicos (`T` para TCP, `U` para UDP, `B` para ambos): + +`sudo autorecon --ports {{T:21-25,80,443,U:53,B:123}} {{host_o_ip1,host_o_ip2,...}}` diff --git a/pages.es/linux/avahi-browse.md b/pages.es/linux/avahi-browse.md new file mode 100644 index 00000000000000..e9c7d8068e3193 --- /dev/null +++ b/pages.es/linux/avahi-browse.md @@ -0,0 +1,21 @@ +# avahi-browse + +> Muestra los servicios y hosts expuestos en la red local a través de mDNS/DNS-SD. +> Avahi es compatible con Bonjour (Zeroconf) encontrado en dispositivos Apple. +> Más información: . + +- Lista los servicios disponibles en la red local junto con sus direcciones y puertos, ignorando los de la máquina local: + +`avahi-browse {{[-a|--all]}} {{[-r|--resolve]}} {{[-l|--ignore-local]}}` + +- Lista rápidamente los servicios en la red local en formato SSV para scripts: + +`avahi-browse {{[-a|--all]}} {{[-t|--terminate]}} {{[-p|--parsable]}}` + +- Lista los dominios en el vecindario: + +`avahi-browse {{[-D|--browse-domains]}}` + +- Limita la búsqueda a un dominio específico: + +`avahi-browse {{[-a|--all]}} --domain={{dominio}}` diff --git a/pages.es/linux/avahi-resolve-address.md b/pages.es/linux/avahi-resolve-address.md new file mode 100644 index 00000000000000..9e506a865e2f07 --- /dev/null +++ b/pages.es/linux/avahi-resolve-address.md @@ -0,0 +1,7 @@ +# avahi-resolve-address + +> Este comando es un alias de `avahi-resolve --address`. + +- Vea la documentación del comando original: + +`tldr avahi-resolve` diff --git a/pages.es/linux/avahi-resolve-host-name.md b/pages.es/linux/avahi-resolve-host-name.md new file mode 100644 index 00000000000000..6bf555ac419dff --- /dev/null +++ b/pages.es/linux/avahi-resolve-host-name.md @@ -0,0 +1,7 @@ +# avahi-resolve-host-name + +> Este comando es un alias de `avahi-resolve --name`. + +- Vea la documentación del comando original: + +`tldr avahi-resolve` diff --git a/pages.es/linux/avahi-resolve.md b/pages.es/linux/avahi-resolve.md new file mode 100644 index 00000000000000..64462da77ece4f --- /dev/null +++ b/pages.es/linux/avahi-resolve.md @@ -0,0 +1,12 @@ +# avahi-resolve + +> Traduce entre nombres de host y direcciones IP. +> Más información: . + +- Resuelve un servicio local a su dirección IPv4: + +`avahi-resolve -4 --name {{servicio.local}}` + +- Resuelve una dirección IP a un nombre de host, de manera detallada: + +`avahi-resolve --verbose --address {{IP}}` diff --git a/pages.es/linux/avifenc.md b/pages.es/linux/avifenc.md new file mode 100644 index 00000000000000..b68a84f35f5e43 --- /dev/null +++ b/pages.es/linux/avifenc.md @@ -0,0 +1,12 @@ +# avifenc + +> Codificador de formato de archivo de imagen AV1 (AVIF). +> Más información: . + +- Convierte una imagen PNG específica a AVIF: + +`avifenc {{ruta/a/entrada.png}} {{ruta/a/salida.avif}}` + +- Codifica con una velocidad específica (6=predeterminado, 0=el más lento y 10=el más rápido): + +`avifenc --speed {{2}} {{ruta/a/entrada.png}} {{ruta/a/salida.avif}}` diff --git a/pages.es/linux/batcat.md b/pages.es/linux/batcat.md new file mode 100644 index 00000000000000..89ff763d329039 --- /dev/null +++ b/pages.es/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Este comando es un alias de `bat`. + +- Vea la documentación del comando original: + +`tldr bat` diff --git a/pages.es/linux/betterlockscreen.md b/pages.es/linux/betterlockscreen.md new file mode 100644 index 00000000000000..623aa0c69433aa --- /dev/null +++ b/pages.es/linux/betterlockscreen.md @@ -0,0 +1,20 @@ +# betterlockscreen + +> Pantalla de bloqueo simple y mínima. +> Más información: . + +- Bloquea la pantalla: + +`betterlockscreen {{[-l|--lock]}}` + +- Cambia el fondo de la pantalla de bloqueo: + +`betterlockscreen {{[-u|--update]}} {{ruta/a/imagen.png}}` + +- Bloquea la pantalla y muestra un texto personalizado: + +`betterlockscreen {{[-l|--lock]}} pixel --text "{{texto de pantalla de bloqueo personalizado}}"` + +- Bloquea la pantalla, con un tiempo de espera personalizado para apagar el monitor en segundos: + +`betterlockscreen --off {{5}} {{[-l|--lock]}}` diff --git a/pages.es/linux/blkpr.md b/pages.es/linux/blkpr.md new file mode 100644 index 00000000000000..b29f148fe612a9 --- /dev/null +++ b/pages.es/linux/blkpr.md @@ -0,0 +1,24 @@ +# blkpr + +> Registra, reserva, libera, anticipa y borra reservas persistentes en un dispositivo de bloque que soporte "Persistent Reservations". +> Más información: . + +- Registra (comando) una nueva reserva con una clave dada en un dispositivo determinado: + +`blkpr {{[-c|--command]}} register {{[-k|--key]}} {{clave_de_reserva}} {{ruta/al/dispositivo}}` + +- Establece el tipo de reserva existente en acceso exclusivo: + +`blkpr {{[-c|--command]}} reserve {{[-k|--key]}} {{clave_de_reserva}} {{[-t|--type]}} exclusive-access {{ruta/al/dispositivo}}` + +- Adelanta la reserva existente con una clave dada y la reemplaza por una nueva reserva: + +`blkpr {{[-c|--command]}} preempt {{[-K|--oldkey]}} {{clave_antigua}} {{[-k|--key]}} {{nueva_clave}} {{[-t|--type]}} write-exclusive {{ruta/al/dispositivo}}` + +- Libera una reserva con una clave y [t]ipo dados en un dispositivo determinado: + +`blkpr {{[-c|--command]}} release {{[-k|--key]}} {{clave_de_reserva}} {{[-t|--type]}} {{tipo_de_reserva}} {{ruta/al/dispositivo}}` + +- Borra todas las reservas de un dispositivo determinado: + +`blkpr {{[-c|--command]}} clear {{[-k|--key]}} {{clave}} {{ruta/al/dispositivo}}` diff --git a/pages.es/linux/bluebuild.md b/pages.es/linux/bluebuild.md new file mode 100644 index 00000000000000..b25a78d3be2c50 --- /dev/null +++ b/pages.es/linux/bluebuild.md @@ -0,0 +1,24 @@ +# bluebuild + +> Construye Containerfiles e imágenes personalizadas basadas en tu `recipe.yml`. +> Más información: . + +- Construye una receta: + +`bluebuild build {{ruta/a/receta.yml}}` + +- Valida una receta: + +`bluebuild validate {{ruta/a/receta.yml}}` + +- Genera un archivo contenedor: + +`bluebuild generate --output {{archivo_contenedor}} {{ruta/a/receta.yml}}` + +- Genera una ISO a partir de una receta: + +`bluebuild generate-iso --output-dir {{ruta/a/directorio_salida}} --iso-name {{nombre_iso.iso}} recipe {{ruta/a/receta.yml}}` + +- Muestra la ayuda: + +`bluebuild --help` diff --git a/pages.es/linux/bootc-switch.md b/pages.es/linux/bootc-switch.md new file mode 100644 index 00000000000000..23614032217979 --- /dev/null +++ b/pages.es/linux/bootc-switch.md @@ -0,0 +1,16 @@ +# bootc switch + +> Apunta a una nueva referencia de imagen contenedora para arrancar. +> Más información: . + +- Cambia el SO base a una nueva imagen de contenedor desde un registro: + +`sudo bootc switch {{imagen}}` + +- Cambia el SO base a una nueva imagen de contenedor desde el almacenamiento local de imágenes del usuario root: + +`sudo bootc switch --transport containers-storage {{imagen}}` + +- Cambia el SO base a una nueva imagen contenedor almacenada en un tarball: + +`sudo bootc switch --transport oci-archive {{ruta/a/imagen.tar.gz}}` diff --git a/pages.es/linux/brew.md b/pages.es/linux/brew.md deleted file mode 100644 index d0d323cc9da1ea..00000000000000 --- a/pages.es/linux/brew.md +++ /dev/null @@ -1,35 +0,0 @@ -# brew - -> Gestor de paquetes Homebrew para Linux. - -- Busca fórmulas disponibles: - -`brew search {{texto}}` - -- Instala la última versión de una fórmula (usar `--devel` para la versión de desarrollo): - -`brew install {{formula}}` - -- Lista todas las fórmulas instaladas: - -`brew list` - -- Actualizar una fórmula instalada (si no se indica ninguna, todas las fórmulas son actualizadas): - -`brew upgrade {{formula}}` - -- Actualiza a la última versión de Linuxbrew y de todas las fórmulas desde GitHub: - -`brew update` - -- Mostrar las fórmulas que tienen una versión más reciente disponible: - -`brew outdated` - -- Mostrar la información de una fórmula (versión, ruta de instalación, dependencias, etc.): - -`brew info {{fórmula}}` - -- Revisar la instalación local de Linuxbrew en busca de problemas potenciales: - -`brew doctor` diff --git a/pages.es/linux/bridge.md b/pages.es/linux/bridge.md new file mode 100644 index 00000000000000..7aa0bf83576e5e --- /dev/null +++ b/pages.es/linux/bridge.md @@ -0,0 +1,24 @@ +# bridge + +> Muestra y manipula las direcciones y dispositivos de los puentes de red. +> Más información: . + +- Lista todos los puentes y sus interfaces: + +`bridge {{[l|link]}}` + +- Muestra información de vlan de puerto: + +`bridge {{[v|vlan]}}` + +- Asigna una VLAN a un puerto: + +`sudo bridge {{[v|vlan]}} {{[a|add]}} dev {{lanX}} vid {{vlan_id}} pvid {{tagged|untagged}}` + +- Eliminar una VLAN de un puerto: + +`sudo bridge {{[v|vlan]}} {{[d|delete]}} dev {{lanX}} vid {{vlan_id}}` + +- Vigila los cambios en las interfaces de bridge: + +`bridge {{[mo|monitor]}}` diff --git a/pages.es/linux/brightnessctl.md b/pages.es/linux/brightnessctl.md new file mode 100644 index 00000000000000..297290e75ae20a --- /dev/null +++ b/pages.es/linux/brightnessctl.md @@ -0,0 +1,24 @@ +# brightnessctl + +> Utilidad para leer y controlar el brillo de dispositivos en sistemas operativos Linux. +> Más información: . + +- Lista de dispositivos a los que se les puede cambiar el brillo: + +`brightnessctl {{[-l|--list]}}` + +- Imprime el brillo actual de la luz trasera de la pantalla: + +`brightnessctl get` + +- Establece el brillo de la luz trasera de la pantalla a un porcentaje en el rango válido: + +`brightnessctl set {{50%}}` + +- Aumenta el brillo con un incremento específico: + +`brightnessctl set {{+10%}}` + +- Disminuye el brillo con un decremento específico: + +`brightnessctl set {{10%-}}` diff --git a/pages.es/linux/bspwm.md b/pages.es/linux/bspwm.md new file mode 100644 index 00000000000000..773540ec8ea2e9 --- /dev/null +++ b/pages.es/linux/bspwm.md @@ -0,0 +1,9 @@ +# bspwm + +> Un gestor de ventanas embaldosado basado en particionado de espacio binario. +> Vea también: `bspc`, para controlar el gestor. +> Más información: . + +- Inicia `bspwm` (cabe recalcar que no debe haber otro gestor de ventanas al ejecutar este comando): + +`bspwm -c {{ruta/a/archivo_de_configuración}}` diff --git a/pages.es/linux/btrfs-balance.md b/pages.es/linux/btrfs-balance.md new file mode 100644 index 00000000000000..72c124b28d87e0 --- /dev/null +++ b/pages.es/linux/btrfs-balance.md @@ -0,0 +1,32 @@ +# btrfs balance + +> Equilibra grupos de bloques en un sistema de archivos btrf. +> Más información: . + +- Muestra el estado de una operación de equilibrio en curso o pausada: + +`sudo btrfs balance status {{ruta/al/sistema_de_archivos_btrfs}}` + +- Equilibra todos los grupos de bloques (lento; reescribe todos los bloques en el sistema de archivos): + +`sudo btrfs balance start {{ruta/al/sistema_de_archivos_btrfs}}` + +- Equilibra grupos de bloques de datos que están menos del 15% utilizados, ejecutando la operación en segundo plano: + +`sudo btrfs balance start --bg -dusage={{15}} {{ruta/al/sistema_de_archivos_btrfs}}` + +- Equilibra un máximo de 10 bloques de metadatos con menos del 20% de utilización y al menos 1 bloque en un dispositivo dado `devid` (vea `btrfs filesystem show`): + +`sudo btrfs balance start -musage={{20}},limit={{10}},devid={{devid}} {{ruta/al/sistema_de_archivos_btrfs}}` + +- Convierte bloques de datos a raid6 y metadatos a raid1c3 (vea mkfs.btrfs(8) para perfiles): + +`sudo btrfs balance start -dconvert={{raid6}} -mconvert={{raid1c3}} {{ruta/al/sistema_de_archivos_btrfs}}` + +- Convierte bloques de datos a raid1, omitiendo bloques ya convertidos (por ejemplo, después de una operación de conversión cancelada previamente): + +`sudo btrfs balance start -dconvert={{raid1}},soft {{ruta/al/sistema_de_archivos_btrfs}}` + +- Cancela, pausa o reanuda una operación de equilibrio en curso o pausada: + +`sudo btrfs balance {{cancelar|pausar|reanudar}} {{ruta/al/sistema_de_archivos_btrfs}}` diff --git a/pages.es/linux/btrfs-check.md b/pages.es/linux/btrfs-check.md new file mode 100644 index 00000000000000..1570ceeba2640b --- /dev/null +++ b/pages.es/linux/btrfs-check.md @@ -0,0 +1,32 @@ +# btrfs check + +> Verifica o repara un sistema de archivos btrfs. +> Más información: . + +- Verifica un sistema de archivos btrfs: + +`sudo btrfs check {{ruta/a/la/partición}}` + +- Verifica y repara un sistema de archivos btrfs (peligroso): + +`sudo btrfs check --repair {{ruta/a/la/partición}}` + +- Muestra el progreso de la verificación: + +`sudo btrfs check --progress {{ruta/a/la/partición}}` + +- Verifica la suma de comprobación de cada bloque de datos (si el sistema de archivos es bueno): + +`sudo btrfs check --check-data-csum {{ruta/a/la/partición}}` + +- Utiliza el superblock `n`-ésimo (`n` puede ser 0, 1 o 2): + +`sudo btrfs check --super {{n}} {{ruta/a/la/partición}}` + +- Reconstruye el árbol de suma de comprobación: + +`sudo btrfs check --repair --init-csum-tree {{ruta/a/la/partición}}` + +- Reconstruye el árbol de extensiones: + +`sudo btrfs check --repair --init-extent-tree {{ruta/a/la/partición}}` diff --git a/pages.es/linux/btrfs-device.md b/pages.es/linux/btrfs-device.md new file mode 100644 index 00000000000000..d754988afd8de0 --- /dev/null +++ b/pages.es/linux/btrfs-device.md @@ -0,0 +1,24 @@ +# btrfs device + +> Gestiona dispositivos en un sistema de archivos btrfs. +> Más información: . + +- Agrega uno o más dispositivos a un sistema de archivos btrfs: + +`sudo btrfs device add {{ruta/al/dispositivo_bloque1}} [{{ruta/al/dispositivo_bloque2}}] {{ruta/al_sistema_de_archivos_btrfs}}` + +- Elimina un dispositivo de un sistema de archivos btrfs: + +`sudo btrfs device remove {{ruta/al/dispositivo|id_del_dispositivo}} [{{...}}]` + +- Muestra estadísticas de errores: + +`sudo btrfs device stats {{ruta/al_sistema_de_archivos_btrfs}}` + +- Escanea todos los discos e informa al kernel de todos los sistemas de archivos btrfs detectados: + +`sudo btrfs device scan --all-devices` + +- Muestra estadísticas detalladas de asignación por disco: + +`sudo btrfs device usage {{ruta/al_sistema_de_archivos_btrfs}}` diff --git a/pages.es/linux/btrfs-filesystem.md b/pages.es/linux/btrfs-filesystem.md new file mode 100644 index 00000000000000..84486e17023268 --- /dev/null +++ b/pages.es/linux/btrfs-filesystem.md @@ -0,0 +1,28 @@ +# btrfs filesystem + +> Gestiona sistemas de archivos btrfs. +> Más información: . + +- Muestra el uso del sistema de archivos (de manera opcional ejecutarlo como root para mostrar información detallada): + +`btrfs filesystem usage {{ruta/al_montaje_btrfs}}` + +- Muestra el uso por dispositivos individuales: + +`sudo btrfs filesystem show {{ruta/al_montaje_btrfs}}` + +- Desfragmenta un único archivo en un sistema de archivos btrfs (evita mientras un agente de deduplicación esté en ejecución): + +`sudo btrfs filesystem defragment -v {{ruta/al/archivo}}` + +- Desfragmenta un directorio recursivamente (no cruza los límites de subvolúmenes): + +`sudo btrfs filesystem defragment -v -r {{ruta/al/directorio}}` + +- Fuerza la sincronización de bloques de datos no escritos en disco(s): + +`sudo btrfs filesystem sync {{ruta/al_montaje_btrfs}}` + +- Resume el uso del disco para los archivos en un directorio de manera recursiva: + +`sudo btrfs filesystem du --summarize {{ruta/al/directorio}}` diff --git a/pages.es/linux/btrfs-inspect-internal.md b/pages.es/linux/btrfs-inspect-internal.md new file mode 100644 index 00000000000000..e62fd2d06769e2 --- /dev/null +++ b/pages.es/linux/btrfs-inspect-internal.md @@ -0,0 +1,28 @@ +# btrfs inspect-internal + +> Consulta información interna de un sistema de archivos btrfs. +> Más información: . + +- Imprime la información del superbloque: + +`sudo btrfs inspect-internal dump-super {{ruta/a/la_partición}}` + +- Imprime la información del superbloque y de todas sus copias: + +`sudo btrfs inspect-internal dump-super --all {{ruta/a/la_partición}}` + +- Imprime la información de los metadatos del sistema de archivos: + +`sudo btrfs inspect-internal dump-tree {{ruta/a/la_partición}}` + +- Imprime la lista de archivos en el inodo `n`-ésimo: + +`sudo btrfs inspect-internal inode-resolve {{n}} {{ruta/al_montaje_btrfs}}` + +- Imprime la lista de archivos en una dirección lógica dada: + +`sudo btrfs inspect-internal logical-resolve {{dirección_lógica}} {{ruta/al_montaje_btrfs}}` + +- Imprime estadísticas de los árboles de root, extent, csum y fs: + +`sudo btrfs inspect-internal tree-stats {{ruta/a/la_partición}}` diff --git a/pages.es/linux/btrfs-property.md b/pages.es/linux/btrfs-property.md new file mode 100644 index 00000000000000..892151878acf3d --- /dev/null +++ b/pages.es/linux/btrfs-property.md @@ -0,0 +1,24 @@ +# btrfs property + +> Obtiene, establece o lista propiedades para un objeto de sistema de archivos BTRFS (archivos, directorios, subvolúmenes, sistemas de archivos o dispositivos). +> Más información: . + +- Lista las propiedades disponibles (y descripciones) para el objeto btrfs dado: + +`sudo btrfs property list {{ruta/al_objeto_btrfs}}` + +- Obtiene todas las propiedades para el objeto btrfs dado: + +`sudo btrfs property get {{ruta/al_objeto_btrfs}}` + +- Obtiene la propiedad `label` para el sistema de archivos o dispositivo btrfs dado: + +`sudo btrfs property get {{ruta/al_sistema_de_archivos_btrfs}} label` + +- Obtiene todas las propiedades específicas del tipo de objeto para el sistema de archivos o dispositivo btrfs dado: + +`sudo btrfs property get -t {{subvol|filesystem|inode|device}} {{ruta/al_sistema_de_archivos_btrfs}}` + +- Establece la propiedad `compression` para un inodo btrfs dado (ya sea un archivo o un directorio): + +`sudo btrfs property set {{ruta/al_inodo_btrfs}} compression {{zstd|zlib|lzo|none}}` diff --git a/pages.es/linux/btrfs-rescue.md b/pages.es/linux/btrfs-rescue.md new file mode 100644 index 00000000000000..0182a73e044a64 --- /dev/null +++ b/pages.es/linux/btrfs-rescue.md @@ -0,0 +1,24 @@ +# btrfs rescue + +> Intenta recuperar un sistema de archivos btrfs dañado. +> Más información: . + +- Reconstruye el árbol de metadatos del sistema de archivos (muy lento): + +`sudo btrfs rescue chunk-recover {{ruta/a/la_partición}}` + +- Corrige problemas relacionados con la alineación del tamaño del dispositivo (por ejemplo, incapacidad para montar el sistema de archivos debido a una discrepancia en los bytes totales del superbloque): + +`sudo btrfs rescue fix-device-size {{ruta/a/la_partición}}` + +- Recupera un superbloque dañado de copias correctas (recupera la raíz del árbol de archivos del sistema): + +`sudo btrfs rescue super-recover {{ruta/a/la_partición}}` + +- Recupera de transacciones interrumpidas (corrige problemas de reproducción de registros): + +`sudo btrfs rescue zero-log {{ruta/a/la_partición}}` + +- Crea un dispositivo de control `/dev/btrfs-control` cuando `mknod` no está instalado: + +`sudo btrfs rescue create-control-device` diff --git a/pages.es/linux/btrfs-restore.md b/pages.es/linux/btrfs-restore.md new file mode 100644 index 00000000000000..e773ed827d31a9 --- /dev/null +++ b/pages.es/linux/btrfs-restore.md @@ -0,0 +1,24 @@ +# btrfs restore + +> Intenta recuperar archivos de un sistema de archivos btrfs dañado. +> Más información: . + +- Restaura todos los archivos de un sistema de archivos btrfs a un directorio dado: + +`sudo btrfs restore {{ruta/al_dispositivo_btrfs}} {{ruta/al_directorio_destino}}` + +- Lista (sin escribir) los archivos que se van a restaurar de un sistema de archivos btrfs: + +`sudo btrfs restore --dry-run {{ruta/al_dispositivo_btrfs}} {{ruta/al_directorio_destino}}` + +- Restaura archivos que coincidan con una expresión regular dada (insensible a mayúsculas) de un sistema de archivos btrfs (todos los directorios padres de los archivos de destino también deben coincidir): + +`sudo btrfs restore --path-regex {{regex}} -c {{ruta/al_dispositivo_btrfs}} {{ruta/al_directorio_destino}}` + +- Restaura archivos de un sistema de archivos btrfs usando un `bytenr` específico del árbol raíz (ver `btrfs-find-root`): + +`sudo btrfs restore -t {{bytenr}} {{ruta/al_dispositivo_btrfs}} {{ruta/al_directorio_destino}}` + +- Restaura archivos de un sistema de archivos btrfs (junto con metadatos, atributos extendidos y enlaces simbólicos), sobrescribiendo archivos en el destino: + +`sudo btrfs restore --metadata --xattr --symlinks --overwrite {{ruta/al_dispositivo_btrfs}} {{ruta/al_directorio_destino}}` diff --git a/pages.es/linux/btrfs-scrub.md b/pages.es/linux/btrfs-scrub.md new file mode 100644 index 00000000000000..9c8682def37938 --- /dev/null +++ b/pages.es/linux/btrfs-scrub.md @@ -0,0 +1,29 @@ +# btrfs scrub + +> Realiza un scrub en sistemas de archivos btrfs para verificar la integridad de los datos. +> Se recomienda ejecutar un scrub una vez al mes. +> Más información: . + +- Inicia un scrub: + +`sudo btrfs scrub start {{ruta/al_montaje_btrfs}}` + +- Muestra el estado de un scrub en curso o del último completado: + +`sudo btrfs scrub status {{ruta/al_montaje_btrfs}}` + +- Cancela un scrub en curso: + +`sudo btrfs scrub cancel {{ruta/al_montaje_btrfs}}` + +- Reanuda un scrub previamente cancelado: + +`sudo btrfs scrub resume {{ruta/al_montaje_btrfs}}` + +- Inicia un scrub, pero espera a que termine antes de salir: + +`sudo btrfs scrub start -B {{ruta/al_montaje_btrfs}}` + +- Inicia un scrub en modo silencioso (no imprime errores ni estadísticas): + +`sudo btrfs scrub start -q {{ruta/al_montaje_btrfs}}` diff --git a/pages.es/linux/btrfs-subvolume.md b/pages.es/linux/btrfs-subvolume.md new file mode 100644 index 00000000000000..d8c522f7b8f493 --- /dev/null +++ b/pages.es/linux/btrfs-subvolume.md @@ -0,0 +1,28 @@ +# btrfs subvolume + +> Gestiona subvolúmenes e imágenes instantáneas de btrfs. +> Más información: . + +- Crea un nuevo subvolumen vacío: + +`sudo btrfs subvolume create {{ruta/al/nuevo_subvolumen}}` + +- Lista todos los subvolúmenes e imágenes instantáneas en el sistema de archivos especificado: + +`sudo btrfs subvolume list {{ruta/al_sistema_de_archivos_btrfs}}` + +- Elimina un subvolumen: + +`sudo btrfs subvolume delete {{ruta/al_subvolumen}}` + +- Crea una imagen instantánea de solo lectura de un subvolumen existente: + +`sudo btrfs subvolume snapshot -r {{ruta/al_subvolumen_origen}} {{ruta/al_destino}}` + +- Crea una imagen instantánea de lectura y escritura de un subvolumen existente: + +`sudo btrfs subvolume snapshot {{ruta/al_subvolumen_origen}} {{ruta/al_destino}}` + +- Muestra información detallada sobre un subvolumen: + +`sudo btrfs subvolume show {{ruta/al_subvolumen}}` diff --git a/pages.es/linux/btrfs-version.md b/pages.es/linux/btrfs-version.md new file mode 100644 index 00000000000000..362904a363f659 --- /dev/null +++ b/pages.es/linux/btrfs-version.md @@ -0,0 +1,12 @@ +# btrfs version + +> Muestra la versión de btrfs-progs. +> Más información: . + +- Muestra ayuda: + +`btrfs version --help` + +- Muestra la versión de btrfs-progs: + +`btrfs version` diff --git a/pages.es/linux/btrfs.md b/pages.es/linux/btrfs.md new file mode 100644 index 00000000000000..f1627e700104bb --- /dev/null +++ b/pages.es/linux/btrfs.md @@ -0,0 +1,25 @@ +# btrfs + +> Un sistema de archivos basado en el principio de copia en escritura (COW) para Linux. +> Algunos subcomandos como `device` tienen su propia documentación de uso. +> Más información: . + +- Muestra subvolumen: + +`sudo btrfs subvolume create {{ruta/al/subvolumen}}` + +- Lista subvolúmenes: + +`sudo btrfs subvolume list {{ruta/al/punto_de_montaje}}` + +- Muestra información sobre el uso del espacio: + +`sudo btrfs filesystem df {{ruta/al/punto_de_montaje}}` + +- Habilita cuota: + +`sudo btrfs quota enable {{ruta/al/subvolumen}}` + +- Muestra cuota: + +`sudo btrfs qgroup show {{ruta/al/subvolumen}}` diff --git a/pages.es/linux/bwa.md b/pages.es/linux/bwa.md new file mode 100644 index 00000000000000..3551c92a890a22 --- /dev/null +++ b/pages.es/linux/bwa.md @@ -0,0 +1,25 @@ +# bwa + +> Herramienta de alineación Burrows-Wheeler. +> Mapeador de secuencias de ADN cortas y poco divergentes frente a un gran genoma de referencia, como el genoma humano. +> Más información: . + +- Indexa el genoma de referencia: + +`bwa index {{ruta/a/referencia.fa}}` + +- Mapea las lecturas de un solo extremo (secuencias) al genoma indexado utilizando 32 subprocesos y comprime el resultado para ahorrar espacio: + +`bwa mem -t 32 {{ruta/a/referencia.fa}} {{ruta/a/lectura_solo_extremo.fq.gz}} | gzip > {{ruta/a/alineamiento_solo_extremo.sam.gz}}` + +- Mapea las lecturas del par final (secuencias) al genoma indexado usando 32 subprocesos y comprime el resultado para ahorrar espacio: + +`bwa mem -t 32 {{ruta/a/referencia.fa}} {{ruta/a/lectura_par_final_1.fq.gz}} {{ruta/a/lectura_par_final_2.fq.gz}} | gzip > {{ruta/a/alineamiento_par_final.sam.gz}}` + +- Mapea las lecturas del par final (secuencias) al genoma indexado usando 32 subprocesos con [M]arcadores divididos más cortos como secundarios para la compatibilidad del archivo SAM de salida con el software Picard y luego comprime el resultado: + +`bwa mem -M -t 32 {{ruta/a/referencia.fa}} {{ruta/a/lectura_par_final_1.fq.gz}} {{ruta/a/lectura_par_final_2.fq.gz}} | gzip > {{ruta/a/alineamiento_par_final.sam.gz}}` + +- Mapea las lecturas finales del par (secuencias) al genoma indexado usando 32 subprocesos con [C]omentarios FASTA/Q (p. ej. BC:Z:CGTAC) anexando a un resultado comprimido: + +`bwa mem -C -t 32 {{ruta/a/referencia.fa}} {{ruta/a/lectura_par_final_1.fq.gz}} {{ruta/a/lectura_par_final_2.fq.gz}} | gzip > {{ruta/a/lectura_par_final.sam.gz}}` diff --git a/pages.es/linux/bwrap.md b/pages.es/linux/bwrap.md new file mode 100644 index 00000000000000..c45ead7764a7ea --- /dev/null +++ b/pages.es/linux/bwrap.md @@ -0,0 +1,12 @@ +# bwrap + +> Ejecuta programas en un sandbox ligero. +> Más información: . + +- Ejecuta un programa en un entorno de sólo lectura: + +`bwrap --ro-bind / / {{/bin/bash}}` + +- Da al entorno acceso a dispositivos, información de procesos y crea un `tmpfs` para el mismo: + +`bwrap --dev-bind /dev /dev --proc /proc --ro-bind / / --tmpfs /tmp {{/bin/bash}}` diff --git a/pages.es/linux/cacaclock.md b/pages.es/linux/cacaclock.md new file mode 100644 index 00000000000000..05acc6476006e1 --- /dev/null +++ b/pages.es/linux/cacaclock.md @@ -0,0 +1,16 @@ +# cacaclock + +> Muestra la hora actual como arte ASCII. +> Más información: . + +- Muestra la hora: + +`cacaclock` + +- Cambia la fuente: + +`cacaclock -f {{fuente}}` + +- Cambia el formato usando una especificación de formato de `strftime`: + +`cacaclock -d {{argumentos_strftime}}` diff --git a/pages.es/linux/cacademo.md b/pages.es/linux/cacademo.md new file mode 100644 index 00000000000000..1939314b4a6763 --- /dev/null +++ b/pages.es/linux/cacademo.md @@ -0,0 +1,8 @@ +# cacademo + +> Muestra una animación aleatoria de arte ASCII. +> Más información: . + +- Ve una animación: + +`cacademo` diff --git a/pages.es/linux/cacafire.md b/pages.es/linux/cacafire.md new file mode 100644 index 00000000000000..a4f75cedf4586c --- /dev/null +++ b/pages.es/linux/cacafire.md @@ -0,0 +1,8 @@ +# cacafire + +> Muestra un fuego animado ASCII. +> Más información: . + +- Muestra el fuego ASCII: + +`cacafire` diff --git a/pages.es/linux/cacaview.md b/pages.es/linux/cacaview.md new file mode 100644 index 00000000000000..7c92ad80b8d28a --- /dev/null +++ b/pages.es/linux/cacaview.md @@ -0,0 +1,8 @@ +# cacaview + +> Muestra una imagen en formato PMN. +> Más información: . + +- Muestra una imagen: + +`cacaview {{ruta/a/imagen}}` diff --git a/pages.es/linux/cal.md b/pages.es/linux/cal.md index dc21733c51906e..fd714b77005f6d 100644 --- a/pages.es/linux/cal.md +++ b/pages.es/linux/cal.md @@ -1,6 +1,7 @@ # cal > Muestra el calendario, con el día actual resaltado. +> Más información: . - Muestra el calendario para el mes actual: @@ -8,17 +9,24 @@ - Muestra el mes anterior, actual y próximo: -`cal -3` +`cal {{[-3|--three]}}` + +- Muestra el calendario completo para el año actual: + +`cal {{[-y|--year]}}` + +- Muestra los 12 meses siguientes: + +`cal {{[-Y|--twelve]}}` - Usa el Lunes como primer día de la semana: -`cal --monday` +`cal {{[-m|--monday]}}` - Muestra el calendario para un año concreto (4 dígitos): -`cal {{year}}` - -- Muestra el calendario para un año y mes concretos: +`cal {{año}}` -`cal {{month}} {{year}}` +- Muestra el calendario para un mes y año concretos: +`cal {{mes}} {{año}}` diff --git a/pages.es/linux/calc.md b/pages.es/linux/calc.md deleted file mode 100644 index 7f2d34d73ac99d..00000000000000 --- a/pages.es/linux/calc.md +++ /dev/null @@ -1,12 +0,0 @@ -# calc - -> Una calculadora de precisión arbitraria en la terminal. - -- Iniciar calc en modo interactivo: - -`calc` - -- Realizar un cálculo en modo no-interactivo: - -`calc -p '{{85 * (36 / 4)}}'` - diff --git a/pages.es/linux/cat.md b/pages.es/linux/cat.md new file mode 100644 index 00000000000000..2cbcc3f96b0bd9 --- /dev/null +++ b/pages.es/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> Imprime y concatena archivos. +> Más información: . + +- Imprime el contenido de un archivo a `stdout`: + +`cat {{ruta/al/archivo}}` + +- Concatena varios archivos en un archivo: + +`cat {{ruta/al/archivo1 ruta/al/archivo2 ...}} > {{ruta/al/archivo_resultado}}` + +- Añade varios archivos a un archivo: + +`cat {{ruta/al/archivo1 ruta/al/archivo2 ...}} >> {{ruta/al/archivo_resultado}}` + +- Escribe `stdin` a un archivo: + +`cat - > {{ruta/al/archivo}}` + +- [n]umera todas las líneas de salida: + +`cat {{[-n|--number]}} {{ruta/al/archivo}}` + +- Muestra caracteres no imprimibles y en blanco (con prefijo `M-` si no es ASCII): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/cc.md b/pages.es/linux/cc.md new file mode 100644 index 00000000000000..a7ae21ec8a8bdf --- /dev/null +++ b/pages.es/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Este comando es un alias de `gcc`. + +- Vea la documentación del comando original: + +`tldr gcc` diff --git a/pages.es/linux/cdrdao.md b/pages.es/linux/cdrdao.md new file mode 100644 index 00000000000000..a5f830002a2612 --- /dev/null +++ b/pages.es/linux/cdrdao.md @@ -0,0 +1,8 @@ +# cdrdao + +> Lee y graba CDs en modo disc-at-once. +> Más información: . + +- Lee un CD y escribe su contenido en un archivo: + +`cdrdao read-cd --device {{/dev/cdrom}} --read-raw {{imagen.toc}}` diff --git a/pages.es/linux/ceph.md b/pages.es/linux/ceph.md new file mode 100644 index 00000000000000..73611c0c4eb828 --- /dev/null +++ b/pages.es/linux/ceph.md @@ -0,0 +1,32 @@ +# ceph + +> Un sistema de almacenamiento unificado. +> Más información: . + +- Comprueba el estado del cluster: + +`ceph status` + +- Comprueba las estadísticas de uso del cluster: + +`ceph df` + +- Obtiene las estadísticas de los grupos de colocación de un cluster: + +`ceph pg dump --format {{plain}}` + +- Crea un grupo de almacenamiento: + +`ceph osd pool create {{nombre_pool}} {{número_de_página}}` + +- Elimina un pool de almacenamiento: + +`ceph osd pool delete {{nombre_pool}}` + +- Cambia el nombre de un pool de almacenamiento: + +`ceph osd pool rename {{nombre_actual}} {{nombre_nuevo}}` + +- Auto-repara pool de almacenamiento: + +`ceph pg repair {{nombre_pool}}` diff --git a/pages.es/linux/check-dfsg-status.md b/pages.es/linux/check-dfsg-status.md new file mode 100644 index 00000000000000..9b9bb46d30fbc6 --- /dev/null +++ b/pages.es/linux/check-dfsg-status.md @@ -0,0 +1,13 @@ +# check-dfsg-status + +> Informa de los paquetes no libres instalados en sistemas operativos basados en Debian. +> Este comando se conocía antes como `vrms`. +> Más información: . + +- Lista los paquetes no libres y asociados (y sus descripciones): + +`check-dfsg-status` + +- Solo muestra los nombres de los paquetes: + +`check-dfsg-status {{[-s|--sparse]}}` diff --git a/pages.es/linux/choom.md b/pages.es/linux/choom.md new file mode 100644 index 00000000000000..1079d19f33d80b --- /dev/null +++ b/pages.es/linux/choom.md @@ -0,0 +1,16 @@ +# choom + +> Muestra y cambia el ajuste del OOM-killer. +> Más información: . + +- Muestra la puntuación OOM-killer del proceso con un identificador específico: + +`choom -p {{pid}}` + +- Modifica la puntuación OOM-killer de un proceso específico: + +`choom -p {{pid}} -n {{-1000..+1000}}` + +- Ejecuta un comando con una puntuación OOM-killer específica: + +`choom -n {{-1000..+1000}} {{comando}} {{argumento1 argumento2 ...}}` diff --git a/pages.es/linux/chsh.md b/pages.es/linux/chsh.md new file mode 100644 index 00000000000000..de7ef1e1118182 --- /dev/null +++ b/pages.es/linux/chsh.md @@ -0,0 +1,17 @@ +# chsh + +> Cambia el intérprete de comandos de inicio de sesión del usuario. +> Parte de `util-linux`. +> Más información: . + +- Establece un intérprete de comandos de inicio de sesión específico para el usuario actual de forma interactiva: + +`chsh` + +- Establece un intérprete de comandos [s]hell de inicio de sesión específico para el usuario actual: + +`chsh --shell {{ruta/a/shell}}` + +- Establecer un inicio de sesión del [s]hell para un usuario específico: + +`sudo chsh --shell {{ruta/al/shell}} {{nombre_de_usuario}}` diff --git a/pages.es/linux/clamav.md b/pages.es/linux/clamav.md deleted file mode 100644 index 7611562a5ea7fd..00000000000000 --- a/pages.es/linux/clamav.md +++ /dev/null @@ -1,21 +0,0 @@ -# clamav - -> Antivirus de código abierto. -> Diseñado especialment para escanear correos electrónicos, pero puede ser usado en otros contextos. -> Más información: . - -- Actualiza definiciones de virus: - -`freshclam` - -- Escanea un archivo en busca de virus: - -`clamscan {{ruta/al/archivo}}` - -- Escanea directorios recursivamente y mostrar los archivos infectados: - -`clamscan --recursive --infected {{ruta/al/directorio}}` - -- Escanea directorios recursivamente y poner los archivos infectados en cuarentena: - -`clamscan --recursive --move={{directorio}}` diff --git a/pages.es/linux/cmus.md b/pages.es/linux/cmus.md index da247c90035e1a..432851ca0db0bb 100644 --- a/pages.es/linux/cmus.md +++ b/pages.es/linux/cmus.md @@ -1,24 +1,34 @@ # cmus > Reproductor de música para la línea de comandos. -> Usa las teclas de dirección para navegar, `` para seleccionar, y los números 1-8 para cambiar entra las diferentes vistas. +> Usa `` para navegar, `` para seleccionar, y los números `<1>`-`<8>` para cambiar entre diferentes vistas. +> Vea también: `ncmpcpp`, `clementine`, `qmmp`. +> Más información: . -- Abre cmus en un directorio concreto: +- Abre `cmus` en el directorio especificado (se convertirá en tu nuevo directorio de trabajo): -`cmus {{ruta/al/directorio}}` +`cmus {{ruta/a/directorio}}` -- Añade un archivo/directorio a la librería +- Añade archivo/directorio a la biblioteca: -`:add {{ruta/al/archivo_o_directorio}}` +`<:>add {{ruta/a/archivo_o_directorio}}` -- Pausa/reproduce la canción actual: +- Actualiza los metadatos de las canciones de la biblioteca: -`c` +`<:>update-cache` -- Activa/desactiva modo aleatorio: +- Busca canciones, álbumes o artistas: -`s` +`{{algo}}` -- Cierra cmus: +- Pausa/desactiva la canción actual: -`q` +`` + +- Activa o desactiva el modo aleatorio: + +`` + +- Sale de `cmus`: + +`` diff --git a/pages.es/linux/compseq.md b/pages.es/linux/compseq.md new file mode 100644 index 00000000000000..f7ff334f043c8b --- /dev/null +++ b/pages.es/linux/compseq.md @@ -0,0 +1,36 @@ +# compseq + +> Calcula la composición de palabras únicas en secuencias. +> Más información: . + +- Cuenta frecuencias observadas de palabras en un archivo FASTA, proporcionando valores de parámetros interactivamente: + +`compseq {{ruta/al/archivo.fasta}}` + +- Cuenta frecuencias observadas de pares de aminoácidos en un archivo FASTA, y guarda el resultado en un archivo de texto: + +`compseq {{ruta/al/archivo_proteina.fasta}} -word 2 {{ruta/al/archivo_de_salida.comp}}` + +- Cuenta las frecuencias observadas de hexanucleótidos en un archivo FASTA, luego guarda el resultado en un archivo de texto e ignora los recuentos cero: + +`compseq {{ruta/al/archivo_de_entrada.fasta}} -word 6 {{ruta/al/archivo_de_salida.comp}} -nozero` + +- Cuenta las frecuencias observadas de codones en un marco de lectura concreto, ignorando cualquier recuento superpuesto (es decir, desplaza la ventana en longitud de palabra 3): + +`compseq -sequence {{ruta/al/archivo_de_ingreso_rna.fasta}} -word 3 {{ruta/al/archivo_de_salida.comp}} -nozero -frame {{1}}` + +- Cuenta las frecuencias observadas de codones desplazados en 3 posiciones; ignorando los recuentos superpuestos (debería informar de todos los codones excepto el primero): + +`compseq -sequence {{ruta/al/archivo_de_ingreso_rna.fasta}} -word 3 {{ruta/al/archivo_de_salida.comp}} -nozero -frame 3` + +- Cuenta tripletes de aminoácidos en un archivo FASTA y compara con una ejecución anterior de `compseq` para calcular los valores de frecuencia esperados y normalizados: + +`compseq -sequence {{ruta/al/proteoma_humano.fasta}} -word 3 {{ruta/al/archivo_salida1.comp}} -nozero -infile {{ruta/al/archivo_de_salida2.comp}}` + +- Aproxima el comando anterior sin un archivo previamente preparado, calculando las frecuencias esperadas usando las frecuencias de una sola base/residuo en la(s) secuencia(s) de entrada suministrada(s): + +`compseq -sequence {{ruta/al/proteoma_humano.fasta}} -word 3 {{ruta/al/archivo_de_salida.comp}} -nozero -calcfreq` + +- Muestra ayuda (utiliza `-help -verbose` para obtener más información sobre los calificadores asociados y generales): + +`compseq -help` diff --git a/pages.es/linux/conky.md b/pages.es/linux/conky.md index 2ba7f31d9d0596..c1dc9435b3d3ab 100644 --- a/pages.es/linux/conky.md +++ b/pages.es/linux/conky.md @@ -11,18 +11,18 @@ `conky -C > ~/.conkyrc` --Ejecuta conky con un archivo de configuración concreto: +- Ejecuta conky con un archivo de configuración concreto: `conky -c {{ruta/a/la/configuración}}` -- Ejecuta en segundo plano (*daemon*): +- Ejecuta en segundo plano (daemon): `conky -d` -- Alinea conky en el escritorio. +- Alinea conky en el escritorio: -`conky -a {{{arriba,abajo,en_medio}_{izquierda,derecha,en_medio}}}` +`conky -a {{top|bottom|middle}}_{{left|right|middle}}` -- Pausa de 5 segundos al inciar antes de ejecutarlo: +- Pausa de 5 segundos al iniciar antes de ejecutarlo: `conky -p {{5}}` diff --git a/pages.es/linux/coredumpctl.md b/pages.es/linux/coredumpctl.md new file mode 100644 index 00000000000000..9dfd46b1baf69c --- /dev/null +++ b/pages.es/linux/coredumpctl.md @@ -0,0 +1,24 @@ +# coredumpctl + +> Recupera y procesa volcados de memoria y sus metadatos. +> Más información: . + +- Lista todos los volcados de memoria capturados: + +`coredumpctl list` + +- Lista los volcados de memoria capturados para un programa: + +`coredumpctl list {{programa}}` + +- Muestra información sobre los volcados de memoria que coincidan con el `PID` de un programa: + +`coredumpctl info {{PID}}` + +- Invoca el depurador usando el último volcado de memoria para un programa: + +`coredumpctl debug {{programa}}` + +- Extrae el último volcado de memoria a un fichero: + +`coredumpctl --output {{ruta/al/archivo}} dump {{programa}}` diff --git a/pages.es/linux/counter-strike-2.md b/pages.es/linux/counter-strike-2.md new file mode 100644 index 00000000000000..b34cb0c5e7dc72 --- /dev/null +++ b/pages.es/linux/counter-strike-2.md @@ -0,0 +1,20 @@ +# Counter Strike 2 + +> Aloja un servidor de Counter Strike 2 sin cabezales. +> Más información: . + +- Ejecuta una partida con un mapa: + +`{{ruta/a/cs2}} -dedicated +map {{de_dust2}}` + +- Ejecuta un juego con un número máximo especificado de jugadores: + +`{{ruta/a/cs2}} -dedicated +map {{de_dust2}} -maxplayers {{64}}` + +- Ejecuta una partida con la IP y el puerto del servidor especificados: + +`{{ruta/a/cs2}} -dedicated +map {{de_dust2}} -ip {{1.2.3.4}} -port {{27015}}` + +- Apaga el servidor: + +`quit` diff --git a/pages.es/linux/cpuid.md b/pages.es/linux/cpuid.md new file mode 100644 index 00000000000000..741e22fb93c875 --- /dev/null +++ b/pages.es/linux/cpuid.md @@ -0,0 +1,16 @@ +# cpuid + +> Muestra información detallada sobre todas las CPUs. +> Más información: . + +- Muestra información de todas las CPUs: + +`cpuid` + +- Muestra información sólo para la CPU actual: + +`cpuid {{[-1|--one-cpu]}}` + +- Muestra la información hexadecimal en bruto sin decodificar: + +`cpuid {{[-r|--raw]}}` diff --git a/pages.es/linux/cpulimit.md b/pages.es/linux/cpulimit.md new file mode 100644 index 00000000000000..545b4077ab6c0c --- /dev/null +++ b/pages.es/linux/cpulimit.md @@ -0,0 +1,28 @@ +# cpulimit + +> Una herramienta para limitar el uso del CPU de otros procesos. +> Más información: . + +- Limita un proceso existente con PID 1234 para que solo use el 25% del CPU: + +`cpulimit {{[-p|--pid]}} {{1234}} {{[-l|--limit]}} {{25%}}` + +- Limita un programa existente por su nombre de ejecución: + +`cpulimit {{[-e|--exe]}} {{programa}} {{[-l|--limit]}} {{25}}` + +- Ejecuta un programa determinado y limita su uso a solo el 50% del CPU: + +`cpulimit {{[-l|--limit]}} {{50}} -- {{programa argumento1 argumento2 ...}}` + +- Ejecuta un programa, limita el uso del CPU a 50% y corre cpulimit en segundo plano: + +`cpulimit {{[-l|--limit]}} {{50}} {{[-b|--background]}} -- {{programa}}` + +- Elimina su proceso si el uso del CPU del programa supera el 50%: + +`cpulimit {{[-l|--limit]}} 50 {{[-k|--kill]}} -- {{programa}}` + +- Regula su proceso y sus subprocesos para que ninguno supere el 25% del CPU: + +`cpulimit {{[-l|--limit]}} {{25}} {{[-m|--monitor-forks]}} -- {{programa}}` diff --git a/pages.es/linux/crond.md b/pages.es/linux/crond.md new file mode 100644 index 00000000000000..1e26efed913ad8 --- /dev/null +++ b/pages.es/linux/crond.md @@ -0,0 +1,24 @@ +# crond + +> Programa residente para ejecutar comandos programados desde archivos crontab. +> Más información: . + +- Inicia el programa residente en segundo plano y comprueba los comandos programados: + +`crond` + +- Inicia el programa residente en primer plano y comprueba los comandos programados: + +`crond -n` + +- Envía la salida del trabajo desde el programa residente al registro del sistema: + +`crond -s` + +- Anula las limitaciones predeterminadas y acepta crontables personalizados: + +`crond -p` + +- Hereda la ruta del archivo crontab desde la configuración del entorno: + +`crond -P` diff --git a/pages.es/linux/cs2.md b/pages.es/linux/cs2.md new file mode 100644 index 00000000000000..6296ee36e86f02 --- /dev/null +++ b/pages.es/linux/cs2.md @@ -0,0 +1,7 @@ +# cs2 + +> Este comando es un alias de `counter strike 2`. + +- Consulta la documentación del comando original: + +`tldr counter strike 2` diff --git a/pages.es/linux/ctop.md b/pages.es/linux/ctop.md new file mode 100644 index 00000000000000..0d5c25461f1b8a --- /dev/null +++ b/pages.es/linux/ctop.md @@ -0,0 +1,20 @@ +# ctop + +> Visualiza instantáneamente el rendimiento y la salud del contenedor con métricas en tiempo real sobre el uso de CPU, memoria y bloques de IO. +> Más información: . + +- Muestra sólo contenedores [a]ctivos: + +`ctop -a` + +- [r]evierte el orden de clasificación de los contenedores: + +`ctop -r` + +- [i]nvierte los colores predeterminados: + +`ctop -i` + +- Muestra ayuda: + +`ctop -h` diff --git a/pages.es/linux/cu.md b/pages.es/linux/cu.md new file mode 100644 index 00000000000000..f3a1fe33b48539 --- /dev/null +++ b/pages.es/linux/cu.md @@ -0,0 +1,24 @@ +# cu + +> Llama a otro sistema y actúa como terminal de marcado/serie o realiza transferencias de archivos sin comprobación de errores. +> Más información: . + +- Abre un puerto serie determinado: + +`sudo cu {{[-l|--line]}} {{/dev/ttyUSB0}}` + +- Abre un puerto serie determinado con una velocidad en baudios determinada: + +`sudo cu {{[-l|--line]}} {{/dev/ttyUSB0}} {{[-s|--speed]}} {{115200}}` + +- Abre un puerto serie determinado con una velocidad en baudios determinada y emite un eco de caracteres localmente (modo semidúplex): + +`sudo cu {{[-l|--line]}} {{/dev/ttyUSB0}} {{[-s|--speed]}} {{115200}} {{[-h|--halfduplex]}}` + +- Abre un puerto serie determinado con una velocidad en baudios, paridad y sin control de flujo por hardware o software: + +`sudo cu {{[-l|--line]}} {{/dev/ttyUSB0}} {{[-s|--speed]}} {{115200}} --parity={{par|odd|none}} {{[-f|--nortscts]}} --nostop` + +- Sale de la sesión `cu` cuando está conectado: + +`<~><.>` diff --git a/pages.es/linux/darling.md b/pages.es/linux/darling.md new file mode 100644 index 00000000000000..d6f727e7126ebb --- /dev/null +++ b/pages.es/linux/darling.md @@ -0,0 +1,20 @@ +# darling + +> Ejecuta software macOS en Linux. +> Más información: . + +- Ejecuta un comando integrado: + +`darling shell {{uname}}` + +- Ejecuta un programa específico en el directorio actual con argumentos: + +`darling shell {{./program}} {{programa_argumento_1 programa_argumento_2 ...}}` + +- Abre una interfaz de comandos de macOS: + +`darling shell` + +- Apaga el servicio: + +`darling shutdown` diff --git a/pages.es/linux/dd.md b/pages.es/linux/dd.md new file mode 100644 index 00000000000000..c9b5f20a2e4742 --- /dev/null +++ b/pages.es/linux/dd.md @@ -0,0 +1,28 @@ +# dd + +> Convierte y copia un archivo. +> Más información: . + +- Crea una unidad USB de arranque a partir de un archivo isohybrid (como `archlinux-xxx.iso`) y muestra el progreso: + +`dd if={{ruta/al/archivo.iso}} of={{/dev/unidad_usb}} status=progress` + +- Clona una unidad a otra con un tamaño de bloque de 4 MiB y descarga las escrituras antes de que el comando termine: + +`dd bs=4M conv=fsync if={{/dev/unidad_de_origen}} of={{/dev/unidad_de_descarga}}` + +- Genera un archivo con un número específico de bytes aleatorios utilizando el controlador aleatorio del kernel: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{ruta/al/archivo_aleatorio}}` + +- Compara el rendimiento de escritura de un disco: + +`dd bs={{1M}} count={{1024}} if=/dev/zero of={{ruta/al/fichero_1GB}}` + +- Crea una copia de seguridad del sistema en un archivo IMG (puede restaurarla más tarde intercambiando `if` y `of`), y muestra el progreso: + +`dd if={{/dev/unidad_dispositivo}} of={{ruta/al/archivo.img}} status=progress` + +- Comprueba el progreso de una operación `dd` en curso (ejecute este comando desde otro intérprete de comandos): + +`kill -USR1 $(pgrep -x dd)` diff --git a/pages.es/linux/deb-get.md b/pages.es/linux/deb-get.md new file mode 100644 index 00000000000000..8b1c8328f9725e --- /dev/null +++ b/pages.es/linux/deb-get.md @@ -0,0 +1,33 @@ +# deb-get + +> Funcionalidad `apt-get` para paquetes `.deb` publicados en repositorios de terceros o a través de descarga directa. +> Funciona con distribuciones Linux que usan `apt-get`. +> Más información: . + +- Actualiza la lista de paquetes y versiones disponibles: + +`deb-get update` + +- Busca un paquete dado: + +`deb-get search {{paquete}}` + +- Muestra información sobre un paquete: + +`deb-get show {{paquete}}` + +- Instala un paquete o lo actualiza a la última versión disponible: + +`deb-get install {{paquete}}` + +- Elimina un paquete (utilizando `purge` en su lugar, también elimina sus archivos de configuración): + +`deb-get remove {{paquete}}` + +- Actualiza todos los paquetes instalados a sus versiones más recientes disponibles: + +`deb-get upgrade` + +- Lista todos los paquetes disponibles: + +`deb-get list` diff --git a/pages.es/linux/debchange.md b/pages.es/linux/debchange.md new file mode 100644 index 00000000000000..a34520fc96700f --- /dev/null +++ b/pages.es/linux/debchange.md @@ -0,0 +1,16 @@ +# debchange + +> Mantiene el archivo debian/log de cambios (changelog) de un paquete fuente de Debian. +> Más información: . + +- Agrega una nueva versión para una subida que no es del mantenedor al registro (log) de cambios: + +`debchange --nmu` + +- Agrega una entrada de cambio a la versión actual: + +`debchange --append` + +- Agrega una entrada de cambio para cerrar el fallo con un ID específico: + +`debchange --closes {{id_del_fallo}}` diff --git a/pages.es/linux/debman.md b/pages.es/linux/debman.md new file mode 100644 index 00000000000000..7a1bf72a987662 --- /dev/null +++ b/pages.es/linux/debman.md @@ -0,0 +1,16 @@ +# debman + +> Lee las páginas de ayuda (man) de paquetes desinstalados. +> Más información: . + +- Lee una página man para un comando proporcionado por un paquete dado: + +`debman -p {{paquete}} {{comando}}` + +- Especifica una versión de paquete a descargar: + +`debman -p {{paquete}}={{versión}} {{comando}}` + +- Lee una página man de un archivo `.deb`: + +`debman -f {{ruta/al/archivoname.deb}} {{comando}}` diff --git a/pages.es/linux/debootstrap.md b/pages.es/linux/debootstrap.md new file mode 100644 index 00000000000000..59357c86296cf0 --- /dev/null +++ b/pages.es/linux/debootstrap.md @@ -0,0 +1,24 @@ +# debootstrap + +> Crea un sistema básico de Debian. +> Más información: . + +- Crea un sistema de la versión estable de Debian dentro del directorio `debian-root`: + +`sudo debootstrap stable {{ruta/a/debian-root/}} http://deb.debian.org/debian` + +- Crea un sistema mínimo que incluye solo los paquetes necesarios: + +`sudo debootstrap --variant=minbase stable {{ruta/a/debian-root/}}` + +- Crea un sistema Ubuntu 20.04 dentro del directorio `focal-root` con un espejo local: + +`sudo debootstrap focal {{ruta/a/focal-root/}} {{file:///ruta/a/mirror/}}` + +- Cambia a un sistema de arranque: + +`sudo chroot {{ruta/a/root}}` + +- Lista las versiones mayores disponibles: + +`ls /usr/share/debootstrap/scripts/` diff --git a/pages.es/linux/deborphan.md b/pages.es/linux/deborphan.md new file mode 100644 index 00000000000000..4d694cd899b2c5 --- /dev/null +++ b/pages.es/linux/deborphan.md @@ -0,0 +1,16 @@ +# deborphan + +> Muestra paquetes huérfanos en sistemas operativos usando el administrador de paquetes APT. +> Más información: . + +- Muestra paquetes de biblioteca (de la sección "libs" del repositorio de paquetes) que no son requeridos por otro paquete: + +`deborphan` + +- Lista paquetes huérfanos de la sección "libs", así como paquetes huérfanos que tienen un nombre que parece un nombre de biblioteca: + +`deborphan --guess-all` + +- Busca paquetes que son recomendados o sugeridos (pero no requeridos) por otro paquete: + +`deborphan --nice-mode` diff --git a/pages.es/linux/debsecan.md b/pages.es/linux/debsecan.md new file mode 100644 index 00000000000000..67c8ca6c7a4c0a --- /dev/null +++ b/pages.es/linux/debsecan.md @@ -0,0 +1,24 @@ +# debsecan + +> Analizador de seguridad de Debian, es una herramienta para enumerar vulnerabilidades en una instalación Debian en particular. +> Más información: . + +- Lista de paquetes instalados vulnerables en el host actual: + +`debsecan` + +- Lista de paquetes instalados vulnerables de una versión específica: + +`debsecan --suite {{nombre_de_la_versión}}` + +- Lista solo vulnerabilidades arregladas: + +`debsecan --suite {{nombre_de_la_versión}} --only-fixed` + +- Lista solo vulnerabilidades arregladas de inestable ("sid") y envía un correo a root: + +`debsecan --suite {{sid}} --only-fixed --format {{report}} --mailto {{root}} --update-history` + +- Actualiza paquetes vulnerables instalados: + +`sudo apt upgrade $(debsecan --only-fixed --format {{paquetes}})` diff --git a/pages.es/linux/debtap.md b/pages.es/linux/debtap.md new file mode 100644 index 00000000000000..1c5381fd7bb4e7 --- /dev/null +++ b/pages.es/linux/debtap.md @@ -0,0 +1,21 @@ +# debtap + +> Convierte paquetes Debian en paquetes de Arch Linux. +> Vea también: `pacman-upgrade`. +> Más información: . + +- Actualiza la base de datos de debtap (antes de la primera ejecución): + +`sudo debtap --update` + +- Convierte el paquete especificado: + +`debtap {{ruta/al/paquete.deb}}` + +- Convierte el paquete especificado obviando todas las preguntas, excepto para editar archivos de metadatos: + +`debtap --quiet {{ruta/al/paquete.deb}}` + +- Genera un archivo PKGBUILD: + +`debtap --pkgbuild {{ruta/al/paquete.deb}}` diff --git a/pages.es/linux/debuginfod-find.md b/pages.es/linux/debuginfod-find.md new file mode 100644 index 00000000000000..dc1a4d869997ee --- /dev/null +++ b/pages.es/linux/debuginfod-find.md @@ -0,0 +1,8 @@ +# debuginfod-find + +> Solicita datos relacionados con debuginfo. +> Más información: . + +- Solicita datos basados en `build_id`: + +`debuginfod-find -vv debuginfo {{identificador_de_build}}` diff --git a/pages.es/linux/debuild.md b/pages.es/linux/debuild.md new file mode 100644 index 00000000000000..d51506390d3c24 --- /dev/null +++ b/pages.es/linux/debuild.md @@ -0,0 +1,16 @@ +# debuild + +> Construye un paquete Debian desde las fuentes. +> Más información: . + +- Construye el paquete en el directorio actual: + +`debuild` + +- Construye un paquete binario solamente: + +`debuild -b` + +- No ejecuta lintian después de construir el paquete: + +`debuild --no-lintian` diff --git a/pages.es/linux/dhcpcd.md b/pages.es/linux/dhcpcd.md new file mode 100644 index 00000000000000..a51abdf36d8586 --- /dev/null +++ b/pages.es/linux/dhcpcd.md @@ -0,0 +1,12 @@ +# dhcpcd + +> Cliente DHCP. +> Más información: . + +- Libera todas las direcciones: + +`sudo dhcpcd {{[-k|--release]}}` + +- Solicita nuevas direcciones al servidor DHCP: + +`sudo dhcpcd {{[-n|--rebind]}}` diff --git a/pages.es/linux/dialog.md b/pages.es/linux/dialog.md new file mode 100644 index 00000000000000..9c8b2f58656090 --- /dev/null +++ b/pages.es/linux/dialog.md @@ -0,0 +1,16 @@ +# dialog + +> Muestra cuadros de diálogo en el terminal. +> Más información: . + +- Muestra un mensaje: + +`dialog --msgbox "{{Mensaje}}" {{altura}} {{ancho}}` + +- Solicita ingreso de texto al usuario: + +`dialog --inputbox "{{Ingrese texto:}}" {{8}} {{40}} 2>{{salida.txt}}` + +- Solicitar al usuario una pregunta de sí/no: + +`dialog --yesno "{{¿Continuar?}}" {{7}} {{40}}` diff --git a/pages.es/linux/distrobox-create.md b/pages.es/linux/distrobox-create.md new file mode 100644 index 00000000000000..99dec1035234da --- /dev/null +++ b/pages.es/linux/distrobox-create.md @@ -0,0 +1,13 @@ +# distrobox-create + +> Crea un contenedor Distrobox. Véase también: `tldr distrobox`. +> El contenedor creado se integrará estrechamente con el anfitrión, permitiendo compartir el directorio HOME del usuario, almacenamiento externo, dispositivos USB externos, aplicaciones gráficas (X11/Wayland) y audio. +> Más información: . + +- Crea un contenedor Distrobox utilizando la imagen Ubuntu: + +`distrobox-create {{nombre_del_contenedor}} --image {{ubuntu:latest}}` + +- Clona un contenedor Distrobox: + +`distrobox-create --clone {{nombre_del_contenedor}} {{nombre_del_contenedor_clonado}}` diff --git a/pages.es/linux/distrobox-enter.md b/pages.es/linux/distrobox-enter.md new file mode 100644 index 00000000000000..c32b665db40c6f --- /dev/null +++ b/pages.es/linux/distrobox-enter.md @@ -0,0 +1,17 @@ +# distrobox-enter + +> Entra a un contenedor Distrobox. Véase también: `tldr distrobox`. +> El comando ejecutado por defecto es su SHELL, pero puede especificar otros o comandos enteros a ejecutar. Si se utiliza dentro de un script, una aplicación o un servicio, puede utilizar el modo `--headless` para desactivar tty e interactividad. +> Más información: . + +- Entra a un contenedor Distrobox: + +`distrobox-enter {{nombre_del_contenedor}}` + +- Entra a un contenedor Distrobox y ejecuta un comando al iniciar sesión: + +`distrobox-enter {{nombre_del_contenedor}} -- {{sh -l}}` + +- Entra a un contenedor Distrobox sin instanciar una tty: + +`distrobox-enter --name {{nombre_del_contenedor}} -- {{uptime -p}}` diff --git a/pages.es/linux/distrobox-export.md b/pages.es/linux/distrobox-export.md new file mode 100644 index 00000000000000..d2085b78faa920 --- /dev/null +++ b/pages.es/linux/distrobox-export.md @@ -0,0 +1,24 @@ +# distrobox-export + +> Exporta aplicaciones/servicios/binarios del contenedor al sistema operativo anfitrión. Vea también: `tldr distrobox`. +> Más información: . + +- Exporta una aplicación del contenedor al anfitrión (la entrada de escritorio/ícono aparecerá en la lista de aplicaciones del sistema anfitrión): + +`distrobox-export --app {{paquete}} --extra-flags "--foreground"` + +- Exporta un binario del contenedor al anfitrión: + +`distrobox-export --bin {{ruta/al/binario}} --export-path {{ruta/al/binario_en_anfitrión}}` + +- Exporta un binario del contenedor al anfitrión (es decir, `$HOME/.local/bin`) : + +`distrobox-export --bin {{ruta/al/binario}} --export-path {{ruta/a/exportar}}` + +- Exporta un servicio desde el contenedor al anfitrión (`--sudo` ejecutará el servicio como root dentro del contenedor): + +`distrobox-export --service {{paquete}} --extra-flags "--allow-newer-config" --sudo` + +- Elimina o deja de exportar una aplicación exportada: + +`distrobox-export --app {{paquete}} --delete` diff --git a/pages.es/linux/distrobox-host-exec.md b/pages.es/linux/distrobox-host-exec.md new file mode 100644 index 00000000000000..dfb975cbda53a0 --- /dev/null +++ b/pages.es/linux/distrobox-host-exec.md @@ -0,0 +1,12 @@ +# distrobox-host-exec + +> Ejecuta un comando en el anfitrión desde dentro de un contenedor Distrobox. Vea también: `tldr distrobox`. +> Más información: . + +- Ejecuta el comando en el sistema anfitrión desde el interior del contenedor Distrobox: + +`distrobox-host-exec "{{comando}}"` + +- Ejecuta el comando `ls` en el sistema anfitrión desde el interior del contenedor: + +`distrobox-host-exec ls` diff --git a/pages.es/linux/distrobox-list.md b/pages.es/linux/distrobox-list.md new file mode 100644 index 00000000000000..07fae0590acad7 --- /dev/null +++ b/pages.es/linux/distrobox-list.md @@ -0,0 +1,13 @@ +# distrobox-list + +> Lista todos los contenedores Distrobox. Véase también: `tldr distrobox`. +> Los contenedores Distrobox se muestran por separado del resto de contenedores normales de Podman o Docker. +> Más información: . + +- Lista todos los contenedores Distrobox: + +`distrobox-list` + +- Lista todos los contenedores Distrobox con información detallada: + +`distrobox-list --verbose` diff --git a/pages.es/linux/distrobox-rm.md b/pages.es/linux/distrobox-rm.md new file mode 100644 index 00000000000000..cd09549deff06c --- /dev/null +++ b/pages.es/linux/distrobox-rm.md @@ -0,0 +1,12 @@ +# distrobox-rm + +> Quita un contenedor Distrobox. Vea también: `tldr distrobox`. +> Más información: . + +- Quita un contenedor Distrobox (Consejo: Detenga el contenedor antes de retirarlo): + +`distrobox-rm {{nombre_del_contenedor}}` + +- Quita un contenedor Distrobox a la fuerza: + +`distrobox-rm {{nombre_del_contenedor}} --force` diff --git a/pages.es/linux/distrobox-stop.md b/pages.es/linux/distrobox-stop.md new file mode 100644 index 00000000000000..024712dfec81ae --- /dev/null +++ b/pages.es/linux/distrobox-stop.md @@ -0,0 +1,12 @@ +# distrobox-stop + +> Detiene un contenedor Distrobox. Vea también: `tldr distrobox`. +> Más información: . + +- Detiene un contenedor Distrobox: + +`distrobox-stop {{nombre_del_contenedor}}` + +- Detiene un contenedor Distrobox de un modo no interactivo (no pide confirmación): + +`distrobox-stop --name {{nombre_del_contenedor}} --yes` diff --git a/pages.es/linux/distrobox-upgrade.md b/pages.es/linux/distrobox-upgrade.md new file mode 100644 index 00000000000000..57b2b211dcceba --- /dev/null +++ b/pages.es/linux/distrobox-upgrade.md @@ -0,0 +1,16 @@ +# distrobox-upgrade + +> Actualiza uno o varios contenedores Distrobox. Vea también: `tldr distrobox`. +> Más información: . + +- Actualiza un contenedor usando el administrador de paquetes nativo del contenedor: + +`distrobox-upgrade {{nombre_del_contenedor}}` + +- Actualiza todos los contenedores utilizando los administradores de paquetes nativos de cada contenedor: + +`distrobox-upgrade --all` + +- Actualiza contenedores específicos a través del administrador de paquetes nativo de cada contenedor: + +`distrobox-upgrade {{contenedor1 contenedor2 ...}}` diff --git a/pages.es/linux/distrobox.md b/pages.es/linux/distrobox.md new file mode 100644 index 00000000000000..26d8d473edfd48 --- /dev/null +++ b/pages.es/linux/distrobox.md @@ -0,0 +1,38 @@ +# distrobox + +> Utiliza cualquier distribución Linux dentro de su terminal en un contenedor. +> Instala y utiliza paquetes dentro de la misma, mientras se integra estrechamente con el sistema operativo anfitrión, compartiendo el almacenamiento (directorio `home`) y el hardware. +> Nota: Utiliza Podman o Docker para crear sus contenedores. +> Más información: . + +- Muestra documentación para crear contenedores: + +`tldr distrobox-create` + +- Muestra documentación para listar la información del contenedor: + +`tldr distrobox-list` + +- Muestra documentación para entrar en el contenedor: + +`tldr distrobox-enter` + +- Muestra documentación para ejecutar un comando en el anfitrión desde dentro de un contenedor: + +`tldr distrobox-host-exec` + +- Muestra documentación para exportar aplicación/servicio/binario del contenedor al host: + +`tldr distrobox-export` + +- Muestra documentación para actualizar contenedores: + +`tldr distrobox-upgrade` + +- Muestra documentación para detener los contenedores: + +`tldr distrobox-stop` + +- Muestra documentación para la eliminación de contenedores: + +`tldr distrobox-rm` diff --git a/pages.es/linux/dmenu.md b/pages.es/linux/dmenu.md new file mode 100644 index 00000000000000..6391bf8dd48da5 --- /dev/null +++ b/pages.es/linux/dmenu.md @@ -0,0 +1,25 @@ +# dmenu + +> Menú dinámico. +> Crea un menú a partir de una entrada de texto con cada elemento, en una nueva línea. +> Más información: . + +- Muestra un menú a partir de la salida del comando 'ls': + +`{{ls}} | dmenu` + +- Muestra un menú con artículos personalizados separados por una nueva línea (`\n`): + +`echo -e "{{rojo}}\n{{verde}}\n{{azul}}" | dmenu` + +- Deja que el usuario elija entre varios elementos y guarda el seleccionado en un archivo: + +`echo -e "{{rojo}}\n{{verde}}\n{{azul}}" | dmenu > {{color.txt}}` + +- Lanza dmenu en un monitor específico: + +`ls | dmenu -m {{1}}` + +- Muestra dmenu en la parte inferior de la pantalla: + +`ls | dmenu -b` diff --git a/pages.es/linux/dmesg.md b/pages.es/linux/dmesg.md index fab0beb8a22904..641c89b9a598da 100644 --- a/pages.es/linux/dmesg.md +++ b/pages.es/linux/dmesg.md @@ -1,35 +1,36 @@ # dmesg > Escribe los mensajes del núcleo a la salida estándar. +> Más información: . - Muestra los mensajes del núcleo: -`dmesg` +`sudo dmesg` - Muestra los mensajes de error del núcleo: -`dmesg --level err` +`sudo dmesg {{[-l|--level]}} err` -- Muestra los mensajes del núcleo y sigue leyedos los nuevos, similar a `tail -f` (disponible en los núcleos 3.5.0 y posteriores): +- Muestra los mensajes del núcleo y sigue leyendo los nuevos, similar a `tail -f` (disponible en los núcleos 3.5.0 y posteriores): -`dmesg -w` +`sudo dmesg {{[-w|--follow]}}` - Muestra cuanta memoria física hay disponible en este sistema: -`dmesg | grep -i memory` +`sudo dmesg | grep {{[-i|--ignore-case]}} memory` - Muestra los mensajes del núcleo, página a página: -`dmesg | less` +`sudo dmesg | less` - Muestra los mensajes del núcleo con una estampilla temporal (disponible en los núcleos 3.5.0 y posteriores): -`dmesg -T` +`sudo dmesg {{[-T|--ctime]}}` - Muestra los mensajes del núcleo de forma legible para humanos (disponible en los núcleos 3.5.0 y posteriores): -`dmesg -H` +`sudo dmesg {{[-H|--human]}}` - Colorea la salida (disponible en los núcleos 3.5.0 y posteriores): -`dmesg -L` +`sudo dmesg {{[-L|--color]}}` diff --git a/pages.es/linux/dmidecode.md b/pages.es/linux/dmidecode.md new file mode 100644 index 00000000000000..cd0ed64f6f737a --- /dev/null +++ b/pages.es/linux/dmidecode.md @@ -0,0 +1,29 @@ +# dmidecode + +> Muestra la tabla de contenidos del DMI (también conocido como SMBIOS) en un formato legible por humanos. +> Requiere privilegios de root. +> Más información: . + +- Muestra todos la tabla de contenidos de DMI: + +`sudo dmidecode` + +- Muestra la versión de la BIOS: + +`sudo dmidecode -s bios-version` + +- Muestra el número de serie del equipo: + +`sudo dmidecode -s system-serial-number` + +- Muestra información de la BIOS: + +`sudo dmidecode -t bios` + +- Muestra información de la CPU: + +`sudo dmidecode -t processor` + +- Muestra información de la memoria: + +`sudo dmidecode -t memory` diff --git a/pages.es/linux/dnf-builddep.md b/pages.es/linux/dnf-builddep.md new file mode 100644 index 00000000000000..ec08e66e194225 --- /dev/null +++ b/pages.es/linux/dnf-builddep.md @@ -0,0 +1,30 @@ +# dnf builddep + +> Instala dependencias para construir un paquete dado. +> No está predeterminado en `dnf` pero está soportado a través de `dnf-plugins-core`. +> Vea también: `dnf`. +> Más información: . + +- Instala dependencias para un paquete dado: + +`dnf builddep {{ruta/a/especificacion.spec}}` + +- Instala dependencias para un paquete dado pero ignora los no disponibles: + +`dnf builddep --skip-unavailable {{ruta/a/especificacion.spec}}` + +- Define la macro RPM a una expresión dada: + +`dnf builddep {{[-D|--define]}} '{{expresión}}'` + +- Define un argumento para una ruta de archivo `.spec`: + +`dnf builddep --spec {{argumento}}` + +- Define un argumento para una ruta de archivo `.rpm`: + +`dnf builddep --srpm {{argumento}}` + +- Muestra la ayuda: + +`dnf builddep --help-cmd` diff --git a/pages.es/linux/dnf-config-manager.md b/pages.es/linux/dnf-config-manager.md new file mode 100644 index 00000000000000..a509a6673e1ecd --- /dev/null +++ b/pages.es/linux/dnf-config-manager.md @@ -0,0 +1,28 @@ +# dnf config-manager + +> Gestiona las opciones de configuración y los repositorios de DNF en sistemas basados en Fedora. +> Más información: . + +- Añade (y habilita) un repositorio desde una URL: + +`dnf config-manager --add-repo={{url_del_repositorio}}` + +- Imprime los valores de configuración actuales: + +`dnf config-manager --dump` + +- Habilita un repositorio específico: + +`dnf config-manager {{[--enable|--set-enabled]}} {{identificador_del_repositorio}}` + +- Deshabilita repositorios específicos: + +`dnf config-manager {{[--disable|--set-disabled]}} {{identificador_del_repositorio1 identificador_del_repositorio2 ...}}` + +- Establece una opción de configuración para un repositorio: + +`dnf config-manager --setopt={{opción}}={{valor}}` + +- Muestra la ayuda: + +`dnf config-manager --help-cmd` diff --git a/pages.es/linux/dnf-deplist.md b/pages.es/linux/dnf-deplist.md new file mode 100644 index 00000000000000..4c1ea376c622e7 --- /dev/null +++ b/pages.es/linux/dnf-deplist.md @@ -0,0 +1,7 @@ +# dnf deplist + +> Este comando es un alias de `dnf repoquery --deplist`. + +- Vea la documentación del comando original: + +`tldr dnf repoquery` diff --git a/pages.es/linux/dnf-group.md b/pages.es/linux/dnf-group.md new file mode 100644 index 00000000000000..9f67c5dc2fbd42 --- /dev/null +++ b/pages.es/linux/dnf-group.md @@ -0,0 +1,24 @@ +# dnf group + +> Gestiona colecciones virtuales de paquetes en sistemas basados en Fedora. +> Más información: . + +- Lista grupos DNF, mostrando el estado de instalado y desinstalado en una tabla: + +`dnf {{[grp|group]}} list` + +- Muestra información del grupo DNF, incluyendo repositorio y paquetes opcionales: + +`dnf {{[grp|group]}} info {{nombre_grupo}}` + +- Instala un grupo DNF: + +`dnf {{[grp|group]}} install {{nombre_grupo}}` + +- Elimina un grupo DNF: + +`dnf {{[grp|group]}} remove {{nombre_grupo}}` + +- Actualiza un grupo DNF: + +`dnf {{[grp|group]}} upgrade {{nombre_grupo}}` diff --git a/pages.es/linux/dnf.md b/pages.es/linux/dnf.md index 08307414137d37..60481dc86fdc53 100644 --- a/pages.es/linux/dnf.md +++ b/pages.es/linux/dnf.md @@ -1,32 +1,37 @@ # dnf > Administrador de paquetes para RHEL, CentOS y Fedora (Reemplaza a yum). +> Para comandos equivalentes en otros administradores de paquetes, vea . > Más información: . - Actualiza todos los paquetes a la última versión disponible: -`sudo dnf update` +`sudo dnf upgrade` - Busca un paquete usando palabras clave: -`dnf search {{palabra_clave}}` +`dnf search {{palabra1 palabra2 ...}}` - Muestra información acerca de un paquete: `dnf info {{paquete}}` -- Instala un nuevo paquete: +- Instala un nuevo paquete (usa `-y` para confirmar todas las preguntas automáticamente): -`sudo dnf install {{paquete}}` +`sudo dnf install {{paquete1 paquete2 ...}}` -- Instala un nuevo paquete respondiendo si a todas las preguntas: +- Elimina un paquete: -`sudo dnf install -y {{paquete}}` +`sudo dnf remove {{paquete1 paquete2 ...}}` -- Lista todos los paquetes instalados +- Lista todos los paquetes instalados: `dnf list --installed` -- Encuentra que paquete provee un archivo determinado: +- Encuentra qué paquetes proveen un archivo determinado: `dnf provides {{archivo}}` + +- Ver todas las operaciones pasadas: + +`dnf history` diff --git a/pages.es/linux/dnf5-group.md b/pages.es/linux/dnf5-group.md new file mode 100644 index 00000000000000..649328b21520af --- /dev/null +++ b/pages.es/linux/dnf5-group.md @@ -0,0 +1,8 @@ +# dnf5 group + +> Este comando es un alias de `dnf group`. +> Nota: desde Fedora 37 a 40 (inclusive), `dnf` ejecuta DNF v4 mientras que `dnf5` ejecuta DNF v5. + +- Vea la documentación del comando original: + +`tldr dnf group` diff --git a/pages.es/linux/dnf5.md b/pages.es/linux/dnf5.md new file mode 100644 index 00000000000000..64dc1030af03d4 --- /dev/null +++ b/pages.es/linux/dnf5.md @@ -0,0 +1,38 @@ +# dnf5 + +> Programa de gestión de paquetes para RHEL, Fedora y CentOS (reemplaza a dnf, que a su vez reemplazó a yum). +> DNF5 es una reescritura en C++ del gestor de paquetes DNF con mejor rendimiento y menor tamaño. +> Para comandos equivalentes en otros gestores de paquetes, vea . +> Más información: . + +- Actualiza los paquetes instalados a las versiones más recientes disponibles: + +`sudo dnf5 upgrade` + +- Busca paquetes mediante palabras clave: + +`dnf5 search {{palabra_clave1 palabra_clave2 ...}}` + +- Muestra detalles sobre un paquete: + +`dnf5 info {{paquete}}` + +- Instala nuevos paquetes (Nota: usa la opción `-y` para saltar todas las confirmaciones): + +`sudo dnf5 install {{paquete1 paquete2 ...}}` + +- Elimina paquetes: + +`sudo dnf5 remove {{paquete1 paquete2 ...}}` + +- Lista paquetes instalados: + +`dnf5 list --installed` + +- Busca que paquetes proporcionan un comando determinado: + +`dnf5 provides {{comando}}` + +- Elimina o expira los datos almacenados en caché: + +`sudo dnf5 clean all` diff --git a/pages.es/linux/dos2unix.md b/pages.es/linux/dos2unix.md index 8666a8f53eac2d..b7c3bf23496a48 100644 --- a/pages.es/linux/dos2unix.md +++ b/pages.es/linux/dos2unix.md @@ -1,12 +1,22 @@ # dos2unix > Cambia saltos de línea con formato DOS a saltos de línea con formato Unix. -> Reemplaza CRLF con CR. +> Reemplaza CRLF con LF. +> Vea también `unix2dos`, `unix2mac`, y `mac2unix`. +> Más información: . - Cambia los saltos de línea de un archivo: -`dos2unix {{nombre_de_archivo}}` +`dos2unix {{ruta/al/archivo}}` - Crea una copia con saltos de línea en formato Unix: -`dos2unix -n {{nombre_de_archivo}} {{nombre_de_archivo}}` +`dos2unix {{[-n|--newfile]}} {{ruta/al/archivo}} {{ruta/al/nuevo}}` + +- Muestra información de un archivo: + +`dos2unix {{[-i|--info]}} {{ruta/al/archivo}}` + +- Mantiene/añade/elimina marca de orden de byte (Byte Order Mark): + +`dos2unix --{{keep-bom|add-bom|remove-bom}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/dpkg-deb.md b/pages.es/linux/dpkg-deb.md new file mode 100644 index 00000000000000..b0a9c0c1288175 --- /dev/null +++ b/pages.es/linux/dpkg-deb.md @@ -0,0 +1,24 @@ +# dpkg-deb + +> Empaqueta, desempaqueta y proporciona información sobre archivos Debian. +> Más información: . + +- Muestra información sobre un paquete: + +`dpkg-deb --info {{ruta/al/archivo.deb}}` + +- Muestra el nombre y la versión del paquete en una línea: + +`dpkg-deb --show {{ruta/al/archivo.deb}}` + +- Lista el contenido del paquete: + +`dpkg-deb --contents {{ruta/al/archivo.deb}}` + +- Extrae el contenido del paquete en un directorio: + +`dpkg-deb --extract {{ruta/al/archivo.deb}} {{ruta/al/directorio}}` + +- Crea un paquete desde un directorio especificado: + +`dpkg-deb --build {{ruta/al/directorio}}` diff --git a/pages.es/linux/dpkg-query.md b/pages.es/linux/dpkg-query.md new file mode 100644 index 00000000000000..53af877ec6a84f --- /dev/null +++ b/pages.es/linux/dpkg-query.md @@ -0,0 +1,24 @@ +# dpkg-query + +> Muestra información sobre paquetes instalados. +> Más información: . + +- Lista todos los paquetes instalados: + +`dpkg-query --list` + +- Lista de paquetes instalados que coinciden con un patrón: + +`dpkg-query --list '{{libc6*}}'` + +- Lista todos los archivos instalados por un paquete: + +`dpkg-query --listfiles {{libc6}}` + +- Muestra información sobre un paquete: + +`dpkg-query --status {{libc6}}` + +- Busca paquetes que tengan archivos que coincidan con un patrón: + +`dpkg-query --search {{/etc/ld.so.conf.d}}` diff --git a/pages.es/linux/dpkg-reconfigure.md b/pages.es/linux/dpkg-reconfigure.md new file mode 100644 index 00000000000000..921cb423f01134 --- /dev/null +++ b/pages.es/linux/dpkg-reconfigure.md @@ -0,0 +1,8 @@ +# dpkg-reconfigure + +> Reconfigura un paquete ya instalado. +> Más información: . + +- Reconfigura uno o más paquetes: + +`dpkg-reconfigure {{paquete1 paquete2 ...}}` diff --git a/pages.es/linux/dpkg.md b/pages.es/linux/dpkg.md new file mode 100644 index 00000000000000..78427c6b206f6b --- /dev/null +++ b/pages.es/linux/dpkg.md @@ -0,0 +1,34 @@ +# dpkg + +> Administrador de paquetes de Debian. +> Algunos subcomandos como `deb` tienen su propia documentación de uso. +> Para comandos equivalentes en otros gestores de paquetes, vea . +> Más información: . + +- Instala un paquete: + +`dpkg -i {{ruta/al/archivo.deb}}` + +- Remueve un paquete: + +`dpkg -r {{paquete}}` + +- Lista los paquetes instalados: + +`dpkg -l {{patrón}}` + +- Lista los contenidos de un paquete: + +`dpkg -L {{paquete}}` + +- Lista los contenidos de un archivo de paquete local: + +`dpkg -c {{ruta/al/archivo.deb}}` + +- Averigua qué paquete posee un archivo: + +`dpkg -S {{ruta/al/archivo}}` + +- Purga un paquete instalado o ya eliminado, incluyendo su configuración: + +`dpkg -P {{paquete}}` diff --git a/pages.es/linux/dump.exfat.md b/pages.es/linux/dump.exfat.md new file mode 100644 index 00000000000000..fd84844c7ac935 --- /dev/null +++ b/pages.es/linux/dump.exfat.md @@ -0,0 +1,8 @@ +# dump.exfat + +> Muestra información en disco de un sistema de archivos exFAT. +> Más información: . + +- Imprime la información en disco de un sistema de archivos determinado: + +`dump.exfat {{/dev/sdXY}}` diff --git a/pages.es/linux/dysk.md b/pages.es/linux/dysk.md new file mode 100644 index 00000000000000..03fb6cd5d15250 --- /dev/null +++ b/pages.es/linux/dysk.md @@ -0,0 +1,24 @@ +# dysk + +> Muestra información del sistema de archivos en una tabla. +> Más información: . + +- Obtén una visión general estándar de tus discos habituales: + +`dysk` + +- Ordena por tamaño libre: + +`dysk {{[-s|--sort]}} free` + +- Incluye solo discos HDD: + +`dysk {{[-f|--filter]}} 'disk = HDD'` + +- Excluye discos SSD: + +`dysk {{[-f|--filter]}} 'disk <> SSD'` + +- Muestra discos con alta ocupación o poco espacio libre: + +`dysk {{[-f|--filter]}} 'use > 65% | free < 50G'` diff --git a/pages.es/linux/eglinfo.md b/pages.es/linux/eglinfo.md new file mode 100644 index 00000000000000..500faa9283ca51 --- /dev/null +++ b/pages.es/linux/eglinfo.md @@ -0,0 +1,16 @@ +# eglinfo + +> Muestra información EGL de la plataforma. +> Más información: . + +- Muestra información completa de la plataforma: + +`eglinfo` + +- Muestra una versión resumida de la información de la plataforma: + +`eglinfo -B` + +- Muestra la ayuda: + +`eglinfo -h` diff --git a/pages.es/linux/eselect-repository.md b/pages.es/linux/eselect-repository.md new file mode 100644 index 00000000000000..741db639569264 --- /dev/null +++ b/pages.es/linux/eselect-repository.md @@ -0,0 +1,33 @@ +# eselect repository + +> Un módulo `eselect` para configurar repositorios ebuild para Portage. +> Después de habilitar un repositorio, tienes que ejecutar `emerge --sync repo_name` para descargar ebuilds. +> Más información: . + +- Lista todos los repositorios ebuild registrados en : + +`eselect repository list` + +- Lista de repositorios habilitados: + +`eselect repository list -i` + +- Habilita un repositorio de la lista según su nombre o índice desde el comando `list`: + +`eselect repository enable {{name|index}}` + +- Activa un repositorio no registrado: + +`eselect repository add {{nombre}} {{rsync|git|mercurial|svn|...}} {{sync_uri}}` + +- Deshabilita repositorios sin eliminar su contenido: + +`eselect repository disable {{repo1 repo2 ...}}` + +- Desactiva repositorios y elimina su contenido: + +`eselect repository remove {{repo1 repo2 ...}}` + +- Crea un repositorio local y lo habilita: + +`eselect repository create {{nombre}} {{ruta/al/repo}}` diff --git a/pages.es/linux/eselect.md b/pages.es/linux/eselect.md new file mode 100644 index 00000000000000..c55f94aa31130a --- /dev/null +++ b/pages.es/linux/eselect.md @@ -0,0 +1,17 @@ +# eselect + +> Herramienta polivalente de configuración y gestión de Gentoo. +> Consta de varios módulos que se encargan de tareas administrativas individuales. +> Más información: . + +- Muestra una lista de los módulos instalados: + +`eselect` + +- Vea la documentación de un módulo específico: + +`tldr eselect {{módulo}}` + +- Muestra un mensaje de ayuda para un módulo específico: + +`eselect {{módulo}} help` diff --git a/pages.es/linux/eu-readelf.md b/pages.es/linux/eu-readelf.md new file mode 100644 index 00000000000000..645f3200cc8c23 --- /dev/null +++ b/pages.es/linux/eu-readelf.md @@ -0,0 +1,12 @@ +# eu-readelf + +> Muestra información sobre archivos ELF. +> Más información: . + +- Muestra toda la información extraíble en un archivo ELF: + +`eu-readelf {{[-a|--all]}} {{ruta/al/archivo}}` + +- Muestra el contenido de todos los segmentos y secciones de NOTE, o de un segmento o sección en particular: + +`eu-readelf {{[-n--notes]}} {{.note.ABI-tag}} {{ruta/al/fichero}}` diff --git a/pages.es/linux/evtest.md b/pages.es/linux/evtest.md new file mode 100644 index 00000000000000..ee30f44e63414d --- /dev/null +++ b/pages.es/linux/evtest.md @@ -0,0 +1,20 @@ +# evtest + +> Muestra información de los controladores de dispositivos de entrada. +> Más información: . + +- Lista todos los dispositivos de entrada detectados: + +`sudo evtest` + +- Muestra los eventos de un dispositivo de entrada específico: + +`sudo evtest /dev/input/event{{número}}` + +- Agarra el dispositivo exclusivamente, evitando que otros clientes reciban eventos: + +`sudo evtest --grab /dev/input/event{{número}}` + +- Consulta el estado de una tecla o botón específico en un dispositivo de entrada: + +`sudo evtest --query /dev/input/event{{número}} {{tipo_evento}} {{código_evento}}` diff --git a/pages.es/linux/exec.md b/pages.es/linux/exec.md new file mode 100644 index 00000000000000..16b86b8f7fefd8 --- /dev/null +++ b/pages.es/linux/exec.md @@ -0,0 +1,20 @@ +# exec + +> Ejecuta un comando sin crear un proceso hijo. +> Más información: . + +- Ejecuta un comando específico: + +`exec {{comando -con -opciones}}` + +- Ejecuta un comando con un entorno (en su mayoría) vacío: + +`exec -c {{comando -con -opciones}}` + +- Ejecuta un comando como un shell de inicio de sesión: + +`exec -l {{comando -con -opciones}}` + +- Ejecuta un comando con un nombre diferente: + +`exec -a {{nombre}} {{comando -con -opciones}}` diff --git a/pages.es/linux/expac.md b/pages.es/linux/expac.md new file mode 100644 index 00000000000000..7313c0c721a15b --- /dev/null +++ b/pages.es/linux/expac.md @@ -0,0 +1,25 @@ +# expac + +> Una herramienta de extracción de datos para bases de datos alpm, que ofrece una flexibilidad similar a printf para utilidades basadas en pacman. +> Vea también: `pacman`. +> Más información: . + +- Lista las dependencias de un paquete: + +`expac -S '%D' {{paquete}}` + +- Lista las dependencias opcionales de un paquete: + +`expac -S "%o" {{paquete}}` + +- Lista el tamaño de descarga de los paquetes en MiB: + +`expac -S -H M '%k\t%n' {{paquete1 paquete2 ...}}` + +- Lista los paquetes marcados para actualización con su tamaño de descarga: + +`expac -S -H M '%k\t%n' $(pacman -Qqu) | sort -sh` + +- Listar los paquetes instalados explícitamente con sus dependencias opcionales: + +`expac -d '\n\n' -l '\n\t' -Q '%n\n\t%O' $(pacman -Qeq)` diff --git a/pages.es/linux/export.md b/pages.es/linux/export.md new file mode 100644 index 00000000000000..c596dd7b43a880 --- /dev/null +++ b/pages.es/linux/export.md @@ -0,0 +1,24 @@ +# export + +> Exporta variables de un intérprete de comandos (shell) a procesos hijos. +> Más información: . + +- Establece una variable de entorno: + +`export {{VARIABLE}}={{valor}}` + +- Quita una variable de entorno: + +`export -n {{VARIABLE}}` + +- Exporta una función a los procesos hijos: + +`export -f {{NOMBRE_FUNCION}}` + +- Añade una ruta a la variable de ambiente `PATH`: + +`export PATH=$PATH:{{ruta/a/añadir}}` + +- Muestra una lista de variables exportadas activas en forma de comando de interfaz de comandos (shell command form): + +`export -p` diff --git a/pages.es/linux/factorio.md b/pages.es/linux/factorio.md new file mode 100644 index 00000000000000..f7d7556f20b4bf --- /dev/null +++ b/pages.es/linux/factorio.md @@ -0,0 +1,24 @@ +# Factorio + +> Crea e inicia un servidor Factorio sin interfaz gráfica. +> Más información: . + +- Crea un nuevo archivo de guardado: + +`{{ruta/a/factorio}} --create {{ruta/al/archivo_guardado.zip}}` + +- Inicia un servidor de Factorio: + +`{{ruta/a/factorio}} --start-server {{ruta/al/archivo_guardado.zip}}` + +- Crea un nuevo archivo de guardado con ajustes específicos: + +`{{ruta/a/factorio}} --create {{ruta/para/guardar.zip}} --map-gen-settings {{ruta/a/map-gen-settings.json}} --map-settings {{ruta/a/map-settings.json}}` + +- Cierra el servidor correctamente: + +`/quit` + +- Muestra la ayuda: + +`{{ruta/a/factorio}} {{[-h|--help]}}` diff --git a/pages.es/linux/fadvise.md b/pages.es/linux/fadvise.md new file mode 100644 index 00000000000000..afb3e73a384089 --- /dev/null +++ b/pages.es/linux/fadvise.md @@ -0,0 +1,16 @@ +# fadvise + +> Controla el comportamiento de la caché de archivos de Linux. +> Más información: . + +- Precarga un archivo en la caché: + +`fadvise {{[-a|--advice]}} willneed {{ruta/al/archivo}}` + +- Sugiere eliminar un archivo de la caché: + +`fadvise {{ruta/al/archivo}}` + +- Muestra la ayuda: + +`fadvise --help` diff --git a/pages.es/linux/fail2ban-client.md b/pages.es/linux/fail2ban-client.md new file mode 100644 index 00000000000000..542343fa7ae1ae --- /dev/null +++ b/pages.es/linux/fail2ban-client.md @@ -0,0 +1,16 @@ +# fail2ban-client + +> Configura y controla un servidor Fail2Ban. +> Más información: . + +- Consulta el estado del servicio de una cárcel: + +`fail2ban-client status {{cárcel}}` + +- Elimina una IP de la lista de IPs bloqueadas: + +`fail2ban-client set {{cárcel}} unbanip {{ip}}` + +- Comprueba que el servidor Fail2Ban sigue activo: + +`fail2ban-client ping` diff --git a/pages.es/linux/farge.md b/pages.es/linux/farge.md new file mode 100644 index 00000000000000..7a623557bde70c --- /dev/null +++ b/pages.es/linux/farge.md @@ -0,0 +1,24 @@ +# farge + +> Muestra el color de un píxel específico de la pantalla en formatos hexadecimal o RGB. +> Más información: . + +- Muestra una pequeña ventana de vista previa del color de un píxel con su valor hexadecimal, y copia este valor al portapapeles: + +`farge` + +- Copia el valor hexadecimal de un píxel al portapapeles sin mostrar una ventana de vista previa: + +`farge --no-preview` + +- Envía el valor hexadecimal de un píxel a `stdout` y copia este valor al portapapeles: + +`farge --stdout` + +- Envía el valor RGB de un píxel a `stdout` y copia este valor al portapapeles: + +`farge --rgb --stdout` + +- Muestra el valor hexadecimal de un píxel como notificación que expira en 5000 milisegundos y copia este valor al portapapeles: + +`farge --notify --expire-time 5000` diff --git a/pages.es/linux/fatrace.md b/pages.es/linux/fatrace.md new file mode 100644 index 00000000000000..437788500f84a2 --- /dev/null +++ b/pages.es/linux/fatrace.md @@ -0,0 +1,12 @@ +# fatrace + +> Informa de eventos de acceso a archivos. +> Más información: . + +- Imprime en `stdout` los eventos de acceso a archivos en todos los sistemas de archivos montados: + +`sudo fatrace` + +- Imprime en `stdout` eventos de acceso a archivos en el montaje del directorio actual, con marcas de tiempo: + +`sudo fatrace {{[-c|--current-mount]}} {{[-t|--timestamp]}}` diff --git a/pages.es/linux/filefrag.md b/pages.es/linux/filefrag.md new file mode 100644 index 00000000000000..3c84b087cff072 --- /dev/null +++ b/pages.es/linux/filefrag.md @@ -0,0 +1,28 @@ +# filefrag + +> Informa del grado de fragmentación de un archivo en particular. +> Más información: . + +- Muestra un informe para uno o más archivos: + +`filefrag {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Muestra un informe con un tamaño de bloque de 1024 bytes: + +`filefrag -k {{ruta/al/archivo}}` + +- Muestra un informe con un tamaño de bloque determinado: + +`filefrag -b{{1024|1K|1M|1G|...}} {{ruta/al/archivo}}` + +- Sincroniza el archivo antes de solicitar la asignación: + +`filefrag -s {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Muestra la asignación de atributos extendidos: + +`filefrag -x {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Muestra un informe con información detallada: + +`filefrag -v {{ruta/al/archivo1 ruta/al/archivo2 ...}}` diff --git a/pages.es/linux/fincore.md b/pages.es/linux/fincore.md new file mode 100644 index 00000000000000..58414affa2f8c4 --- /dev/null +++ b/pages.es/linux/fincore.md @@ -0,0 +1,12 @@ +# fincore + +> Muestra cuánta memoria caché está ocupando un archivo. +> Más información: . + +- Muestra los detalles de la caché de un archivo: + +`fincore {{ruta/al/archivo}}` + +- Muestra todas las columnas de datos posibles: + +`fincore --output-all {{ruta/al/archivo}}` diff --git a/pages.es/linux/firewall-cmd.md b/pages.es/linux/firewall-cmd.md new file mode 100644 index 00000000000000..dfed7f51f43cc2 --- /dev/null +++ b/pages.es/linux/firewall-cmd.md @@ -0,0 +1,37 @@ +# firewall-cmd + +> El cliente de línea de comandos de firewalld. +> Visualiza y adapta el estado de configuración del firewall, sea en tiempo de ejecución o permanente. +> Más información: . + +- Visualiza todas las zonas y reglas del firewall disponibles en su estado de configuración en tiempo de ejecución: + +`firewall-cmd --list-all-zones` + +- Mueve permanentemente la interfaz a la zona de bloqueo, bloqueando efectivamente toda comunicación: + +`firewall-cmd --permanent --zone {{block}} --change-interface {{enp1s0}}` + +- Abre permanentemente el puerto para un servicio en la zona especificada (como el puerto 443 cuando está en la zona `public`): + +`firewall-cmd --permanent --zone {{public}} --add-service {{https}}` + +- Cierra permanentemente el puerto para un servicio en la zona especificada (como el puerto 80 cuando está en la zona `public`): + +`firewall-cmd --permanent --zone {{public}} --remove-service {{http}}` + +- Reenvía permanentemente un puerto para paquetes entrantes en la zona especificada (como el puerto 443 al 8443 cuando entra en la zona `public`): + +`firewall-cmd --permanent --zone {{public}} --add-rich-rule 'rule family "{{ipv4|ipv6}}" forward-port port "{{443}}" protocol "{{udp|tcp}}" to-port "{{8443}}"'` + +- Recarga firewall para perder cualquier cambio en tiempo de ejecución y forzar que la configuración permanente tome efecto inmediatamente: + +`firewall-cmd --reload` + +- Guarda el estado de configuración de tiempo de ejecución en la configuración permanente: + +`firewall-cmd --runtime-to-permanent` + +- Habilita el modo pánico en caso de emergencia. Todo el tráfico es descartado, cualquier conexión activa será terminada: + +`firewall-cmd --panic-on` diff --git a/pages.es/linux/flatpak-run.md b/pages.es/linux/flatpak-run.md new file mode 100644 index 00000000000000..531ce8fdf35885 --- /dev/null +++ b/pages.es/linux/flatpak-run.md @@ -0,0 +1,16 @@ +# flatpak run + +> Ejecuta aplicaciones y tiempos de ejecución flatpak. +> Más información: . + +- Ejecuta una aplicación instalada: + +`flatpak run {{com.example.app}}` + +- Ejecuta una aplicación instalada desde una rama específica, por ejemplo, stable, beta, master: + +`flatpak run --branch={{stable|beta|master|...}} {{com.example.app}}` + +- Ejecuta un shell interactivo dentro de un flatpak: + +`flatpak run --command={{sh}} {{com.example.app}}` diff --git a/pages.es/linux/flatpak.md b/pages.es/linux/flatpak.md new file mode 100644 index 00000000000000..7dc9e335d9282f --- /dev/null +++ b/pages.es/linux/flatpak.md @@ -0,0 +1,36 @@ +# flatpak + +> Construye, instala y ejecuta aplicaciones y tiempos de ejecución flatpak. +> Más información: . + +- Ejecuta una aplicación instalada: + +`flatpak run {{com.example.app}}` + +- Instala una aplicación desde una fuente remota: + +`flatpak install {{nombre_remoto}} {{com.example.app}}` + +- Lista las aplicaciones instaladas, ignorando los tiempos de ejecución: + +`flatpak list --app` + +- Actualiza todas las aplicaciones y tiempos de ejecución instalados: + +`flatpak update` + +- Añade una fuente remota: + +`flatpak remote-add --if-not-exists {{nombre_remoto}} {{url_remota}}` + +- Elimina una aplicación instalada: + +`flatpak remove {{com.example.app}}` + +- Elimina todas las aplicaciones no utilizadas: + +`flatpak remove --unused` + +- Muestra información sobre una aplicación instalada: + +`flatpak info {{com.example.app}}` diff --git a/pages.es/linux/flex.md b/pages.es/linux/flex.md new file mode 100644 index 00000000000000..667c5428896101 --- /dev/null +++ b/pages.es/linux/flex.md @@ -0,0 +1,25 @@ +# flex + +> Generador de analizadores léxicos. +> Dada la especificación de un analizador léxico, genera código C para su implementación. +> Más información: . + +- Genera un analizador a partir de un fichero Lex, almacenándolo en el archivo `lex.yy.c`: + +`flex {{analyzer.l}}` + +- Escribe el analizador en `stdout`: + +`flex {{[-t|--stdout]}} {{analyzer.l}}` + +- Especifica el archivo de salida: + +`flex {{analyzer.l}} {{[-o|--outfile]}} {{analyzer.c}}` + +- Genera un analizador por lotes en lugar de un analizador interactivo: + +`flex {{[-B|--batch]}} {{analyzer.l}}` + +- Compila un archivo C generado por Lex: + +`cc {{ruta/a/lex.yy.c}} -o {{ejecutable}}` diff --git a/pages.es/linux/free.md b/pages.es/linux/free.md index 06287fd127bda9..ce7c573165adad 100644 --- a/pages.es/linux/free.md +++ b/pages.es/linux/free.md @@ -1,6 +1,7 @@ # free > Muestra la cantidad de memoria libre y usada en el sistema. +> Más información: . - Muestra la memoria del sistema: @@ -12,8 +13,8 @@ - Muestra la memoria del sistema en unidades legibles por humanos: -`free -h` +`free {{[-h|--human]}}` - Actualiza la salida cada 2 segundos: -`free -s {{2}}` +`free {{[-s|--seconds]}} {{2}}` diff --git a/pages.es/linux/fuzzel.md b/pages.es/linux/fuzzel.md new file mode 100644 index 00000000000000..107c3665bc1949 --- /dev/null +++ b/pages.es/linux/fuzzel.md @@ -0,0 +1,36 @@ +# fuzzel + +> Un lanzador de aplicaciones y buscador difuso nativo de Wayland, inspirado en `rofi` y `dmenu`. +> Más información: . + +- Ejecuta aplicaciones: + +`fuzzel` + +- Ejecuta `fuzzel` en modo dmenu: + +`fuzzel {{[-d|--dmenu]}}` + +- Muestra un menú con la salida del comando `ls`: + +`{{ls}} | fuzzel {{[-d|--dmenu]}}` + +- Muestra un menú con elementos personalizados separados por una nueva línea (`\n`): + +`echo -e "{{rojo}}\n{{verde}}\n{{azul}}" | fuzzel {{[-d|--dmenu]}}` + +- Permite al usuario elegir entre varios elementos y guarda el seleccionado en un archivo: + +`echo -e "{{rojo}}\n{{verde}}\n{{azul}}" | fuzzel {{[-d|--dmenu]}} > {{color.txt}}` + +- Restablece el recuento de aplicaciones utilizadas (directorio de caché por defecto: `$XDG_CACHE_HOME/fuzzel`): + +`rm -v $HOME/.cache/fuzzel` + +- Inicia `fuzzel` en un monitor específico, vea `wlr-randr` o `swaymsg -t get_outputs`: + +`fuzzel {{[-o|--output]}} "{{DP-1}}"` + +- Utilice `fuzzel` para realizar una búsqueda en línea: + +`fuzzel {{[-d|--dmenu]}} {{[-l|--lines]}} 0 --placeholder "{{Escriba su búsqueda}}" | sed 's/^/\«/g;s/$/\»/g' | xargs firefox --search` diff --git a/pages.es/linux/fwconsole.md b/pages.es/linux/fwconsole.md new file mode 100644 index 00000000000000..25d297736ad39f --- /dev/null +++ b/pages.es/linux/fwconsole.md @@ -0,0 +1,32 @@ +# fwconsole + +> Gestiona y configura un sistema FreePBX (servidor PBX). +> Más información: . + +- Recarga las configuraciones de FreePBX: + +`fwconsole reload` + +- Inicia Asterisk y otros comandos necesarios para FreePBX: + +`fwconsole start` + +- Detiene Asterisk y otros comandos necesarios para FreePBX: + +`fwconsole stop` + +- Visualiza y actualiza la configuración: + +`fwconsole setting {{palabra_clave}} {{nuevo_valor}}` + +- Lista las copias de seguridad disponibles: + +`fwconsole backup --list` + +- Lista de comandos FreePBX disponibles: + +`fwconsole list` + +- Cambia la propiedad de todos los archivos y directorios que FreePBX necesita que sean propiedad del usuario apache: + +`fwconsole chown` diff --git a/pages.es/linux/gedit.md b/pages.es/linux/gedit.md new file mode 100644 index 00000000000000..7225f1f0a24f36 --- /dev/null +++ b/pages.es/linux/gedit.md @@ -0,0 +1,20 @@ +# gedit + +> Editor de texto del proyecto GNOME. +> Más información: . + +- Abre un archivo de texto: + +`gedit {{ruta/al/archivo}}` + +- Abre varios archivos de texto: + +`gedit {{archivo1 archivo2 ...}}` + +- Abre un archivo de texto con una codificación específica: + +`gedit --encoding {{UTF-8}} {{ruta/al/archivo}}` + +- Muestra una lista de las codificaciones disponibles: + +`gedit --list-encodings` diff --git a/pages.es/linux/getenforce.md b/pages.es/linux/getenforce.md new file mode 100644 index 00000000000000..72d00cc30756bb --- /dev/null +++ b/pages.es/linux/getenforce.md @@ -0,0 +1,8 @@ +# getenforce + +> Obtén el modo actual de SELinux (es decir, obligatorio, permisivo o deshabilitado). +> Más información: . + +- Muestra el modo actual de SELinux: + +`getenforce` diff --git a/pages.es/linux/gio-trash.md b/pages.es/linux/gio-trash.md new file mode 100644 index 00000000000000..be34e83bc0cc77 --- /dev/null +++ b/pages.es/linux/gio-trash.md @@ -0,0 +1,17 @@ +# gio trash + +> Mueve archivos a la papelera. +> Usado por GNOME para manejar la papelera. +> Más información: . + +- Mueve archivos específicos a la papelera: + +`gio trash {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Lista los elementos de la papelera: + +`gio trash --list` + +- Restaura un elemento específico de la papelera utilizando su identificador: + +`gio trash trash://{{identificador}}` diff --git a/pages.es/linux/gnome-screenshot.md b/pages.es/linux/gnome-screenshot.md new file mode 100644 index 00000000000000..dfa1a344d5d1b0 --- /dev/null +++ b/pages.es/linux/gnome-screenshot.md @@ -0,0 +1,36 @@ +# gnome-screenshot + +> Captura la pantalla, una ventana o un área definida por el usuario y guarda la imagen a un archivo. +> Más información: . + +- Toma una captura de pantalla y la guarda en la ubicación predeterminada, normalmente `~/Pictures`: + +`gnome-screenshot` + +- Toma una captura de pantalla y la guarda en la ubicación de archivo indicada: + +`gnome-screenshot --file {{ruta/al/archivo}}` + +- Toma una captura de pantalla y la guarda en el portapapeles: + +`gnome-screenshot --clipboard` + +- Toma una captura después de un número determinado de segundos: + +`gnome-screenshot --delay {{5}}` + +- Lanza la interfaz gráfica (GUI) de Captura de Pantalla GNOME: + +`gnome-screenshot --interactive` + +- Toma una captura de pantalla de la ventana actual y la guarda en la ubicación especificada: + +`gnome-screenshot --window --file {{ruta/al/archivo}}` + +- Toma una captura después del un número determinado de segundos y la guarda en el portapapeles: + +`gnome-screenshot --delay {{10}} --clipboard` + +- Muestra la versión: + +`gnome-screenshot --version` diff --git a/pages.es/linux/google-chrome-stable.md b/pages.es/linux/google-chrome-stable.md new file mode 100644 index 00000000000000..35bf6950b3368a --- /dev/null +++ b/pages.es/linux/google-chrome-stable.md @@ -0,0 +1,8 @@ +# google-chrome-stable + +> Este comando es un alias de `chromium`. +> Más información: . + +- Vea la documentación para el comando original: + +`tldr chromium` diff --git a/pages.es/linux/grim.md b/pages.es/linux/grim.md new file mode 100644 index 00000000000000..e9a2d88e370db6 --- /dev/null +++ b/pages.es/linux/grim.md @@ -0,0 +1,28 @@ +# grim + +> Obtiene imágenes (capturas de pantalla) de un compositor Wayland. +> Más información: . + +- Hace una captura de pantalla: + +`grim` + +- Captura de pantalla a un archivo específico: + +`grim -o {{ruta/al/archivo_resultado}}` + +- Captura de pantalla de una región específica: + +`grim -g "{{posición_x}},{{posición_y}} {{ancho}}x{{alto}}"` + +- Selecciona una región específica y toma una captura de dicha porción, usando slurp: + +`grim -g "{{$(slurp)}}"` + +- Utiliza un nombre de archivo personalizado: + +`grim "{{ruta/al/archivo.png}}"` + +- Captura de pantalla y la copia al portapapeles: + +`grim - | {{clipboard_manager}}` diff --git a/pages.es/linux/groupdel.md b/pages.es/linux/groupdel.md index 3d8a73f8a7e311..210880f916042d 100644 --- a/pages.es/linux/groupdel.md +++ b/pages.es/linux/groupdel.md @@ -1,7 +1,8 @@ # groupdel > Elimina del sistema grupos de usuarios existentes. +> Más información: . - Borra un grupo existente: -`groupdel {{nombre_del_grupo}}` +`sudo groupdel {{nombre_del_grupo}}` diff --git a/pages.es/linux/growpart.md b/pages.es/linux/growpart.md new file mode 100644 index 00000000000000..adc7cbb673e602 --- /dev/null +++ b/pages.es/linux/growpart.md @@ -0,0 +1,12 @@ +# growpart + +> Extiende una partición en un disco o imagen de disco para llenar el espacio disponible. +> Más información: . + +- Extiende la partición `n` desde `sdX` para llenar el espacio vacío hasta el final del disco o el principio de la siguiente partición: + +`growpart {{/dev/sdX}} {{n}}` + +- Muestra qué modificaciones se harían al hacer crecer la partición `n` en una imagen de disco: + +`growpart --dry-run {{/ruta/a/disco.img}} {{n}}` diff --git a/pages.es/linux/grub-bios-setup.md b/pages.es/linux/grub-bios-setup.md new file mode 100644 index 00000000000000..61423d1948cf20 --- /dev/null +++ b/pages.es/linux/grub-bios-setup.md @@ -0,0 +1,17 @@ +# grub-bios-setup + +> Configura un dispositivo para usar GRUB con una configuración BIOS. +> Se debe usar `grub-install` en lugar de `grub-bios-setup` en la mayoría de los casos. +> Más información: . + +- Configura un dispositivo para arrancar con GRUB: + +`grub-bios-setup {{/dev/sdX}}` + +- Instala incluso si se detectan problemas: + +`grub-bios-setup {{[-f|--force]}} {{/dev/sdX}}` + +- Instala GRUB en un directorio específico: + +`grub-bios-setup {{[-d|--directory]}} {{/boot/grub}} {{/dev/sdX}}` diff --git a/pages.es/linux/grub-editenv.md b/pages.es/linux/grub-editenv.md new file mode 100644 index 00000000000000..ca354a9dd8d598 --- /dev/null +++ b/pages.es/linux/grub-editenv.md @@ -0,0 +1,16 @@ +# grub-editenv + +> Edita las variables de entorno de GRUB. +> Más información: . + +- Establece una entrada de arranque por defecto (asumiendo que la entrada de arranque ya existe): + +`grub-editenv /boot/grub/grubenv set default={{Ubuntu}}` + +- Muestra todas las variables de entorno de GRUB: + +`grub-editenv /boot/grub/grubenv list` + +- Restablece la variable `saved_entry` al valor por defecto: + +`grub-editenv /boot/grub/grubenv unset saved_entry` diff --git a/pages.es/linux/grub-file.md b/pages.es/linux/grub-file.md new file mode 100644 index 00000000000000..1e773b242e3c7c --- /dev/null +++ b/pages.es/linux/grub-file.md @@ -0,0 +1,28 @@ +# grub-file + +> Verifica si un archivo es de un tipo de imagen arrancable. +> Más información: . + +- Verifica si un archivo es una imagen ARM EFI: + +`grub-file --is-arm-efi {{ruta/al/archivo}}` + +- Verifica si un archivo es una imagen i386 EFI: + +`grub-file --is-i386-efi {{ruta/al/archivo}}` + +- Verifica si un archivo es una imagen x86_64 EFI: + +`grub-file --is-x86_64-efi {{ruta/al/archivo}}` + +- Verifica si un archivo es una imagen ARM (kernel de Linux): + +`grub-file --is-arm-linux {{ruta/al/archivo}}` + +- Verifica si un archivo es una imagen x86 (kernel de Linux): + +`grub-file --is-x86-linux {{ruta/al/archivo}}` + +- Verifica si un archivo es una imagen x86_64 XNU (kernel de macOS): + +`grub-file --is-x86_64-xnu {{ruta/al/archivo}}` diff --git a/pages.es/linux/grub-install.md b/pages.es/linux/grub-install.md new file mode 100644 index 00000000000000..b000038b70a5d3 --- /dev/null +++ b/pages.es/linux/grub-install.md @@ -0,0 +1,28 @@ +# grub-install + +> Instala GRUB en un dispositivo. +> Más información: . + +- Instala GRUB en un sistema BIOS: + +`sudo grub-install {{ruta/al/dispositivo}}` + +- Instala GRUB en un sistema BIOS especificando la arquitectura: + +`sudo grub-install --target {{i386-pc}} {{ruta/al/dispositivo}}` + +- Instala GRUB en un sistema UEFI: + +`sudo grub-install --efi-directory {{ruta/al/directorio_efi}}` + +- Instala GRUB en un sistema UEFI especificando la arquitectura y el texto del menú de arranque: + +`sudo grub-install --target {{x86_64-efi}} --efi-directory {{ruta/al/directorio_efi}} --bootloader-id {{GRUB}}` + +- Instala GRUB precargando módulos específicos: + +`sudo grub-install --target {{x86_64-efi}} --efi-directory {{ruta/al/directorio_efi}} --modules "{{part_gpt part_msdos}}"` + +- Muestra la ayuda: + +`grub-install {{[-?|--help]}}` diff --git a/pages.es/linux/grub-mkconfig.md b/pages.es/linux/grub-mkconfig.md new file mode 100644 index 00000000000000..bfa1ec422a6685 --- /dev/null +++ b/pages.es/linux/grub-mkconfig.md @@ -0,0 +1,16 @@ +# grub-mkconfig + +> Genera un archivo de configuracion de GRUB. +> Más información: . + +- Ejecuta el comando solo e imprime la salida a `stdout`: + +`sudo grub-mkconfig` + +- Genera el archivo de configuración: + +`sudo grub-mkconfig {{[-o|--output]}} {{/boot/grub/grub.cfg}}` + +- Muestra ayuda: + +`grub-mkconfig {{[-h|--help]}}` diff --git a/pages.es/linux/grub-mkrescue.md b/pages.es/linux/grub-mkrescue.md new file mode 100644 index 00000000000000..88a774938c17b4 --- /dev/null +++ b/pages.es/linux/grub-mkrescue.md @@ -0,0 +1,36 @@ +# grub-mkrescue + +> Crea una imagen arrancable de GRUB para CD/USB/disquete. +> Más información: . + +- Crea una ISO arrancable desde el directorio actual y la guarda como `grub.iso`: + +`grub-mkrescue --output {{grub.iso}} .` + +- Crea una ISO usando archivos de GRUB desde un directorio personalizado: + +`grub-mkrescue --directory {{/usr/lib/grub/i386-pc}} --output {{grub.iso}} {{ruta/al/origen}}` + +- Usa compresión para los archivos de GRUB al construir la imagen, establecer `no` desactiva la compresión: + +`grub-mkrescue --compress {{no|xz|gz|lzo}} --output {{grub.iso}} {{ruta/al/origen}}` + +- Desactiva la interfaz de línea de comandos de GRUB en la imagen generada: + +`grub-mkrescue --disable-cli --output {{grub.iso}} {{ruta/al/origen}}` + +- Precarga módulos específicos de GRUB en la imagen: + +`grub-mkrescue --modules "{{part_gpt iso9660}}" --output {{grub.iso}} {{ruta/al/origen}}` + +- Pasa opciones adicionales directamente a `xorriso`: + +`grub-mkrescue --output {{grub.iso}} -- {{-volid}} {{nombre_volumen}} {{ruta/al/origen}}` + +- Muestra la ayuda: + +`grub-mkrescue {{[-?|--help]}}` + +- Muestra la versión: + +`grub-mkrescue --version` diff --git a/pages.es/linux/grub-reboot.md b/pages.es/linux/grub-reboot.md new file mode 100644 index 00000000000000..67e8667d95c9c7 --- /dev/null +++ b/pages.es/linux/grub-reboot.md @@ -0,0 +1,12 @@ +# grub-reboot + +> Establece la entrada de arranque por defecto para GRUB, solo para el siguiente arranque. +> Más información: . + +- Establece la entrada de arranque por defecto a un número de entrada, nombre o identificador para el siguiente arranque: + +`sudo grub-reboot {{numero_entrada}}` + +- Establece la entrada de arranque por defecto a un número de entrada, nombre o identificador para un directorio de arranque alternativo para el siguiente arranque: + +`sudo grub-reboot --boot-directory /{{ruta/al/directorio_arranque}} {{numero_entrada}}` diff --git a/pages.es/linux/grub-script-check.md b/pages.es/linux/grub-script-check.md new file mode 100644 index 00000000000000..6ad391290dc605 --- /dev/null +++ b/pages.es/linux/grub-script-check.md @@ -0,0 +1,21 @@ +# grub-script-check + +> El programa `grub-script-check` toma un archivo de script de GRUB y lo verifica en busca de errores de sintaxis. +> Puede tomar una ruta como argumento no opcional. Si no se proporciona ninguna, lee desde `stdin`. +> Más información: . + +- Verifica un archivo de script específico en busca de errores de sintaxis: + +`grub-script-check {{ruta/al/archivo_config_grub}}` + +- Muestra cada línea de entrada después de leerla: + +`grub-script-check {{[-v|--verbose]}}` + +- Muestra la ayuda: + +`grub-script-check --help` + +- Muestra la versión: + +`grub-script-check --version` diff --git a/pages.es/linux/grub-set-default.md b/pages.es/linux/grub-set-default.md new file mode 100644 index 00000000000000..6a9bdc79ec8d6c --- /dev/null +++ b/pages.es/linux/grub-set-default.md @@ -0,0 +1,12 @@ +# grub-set-default + +> Establece la entrada de arranque por defecto para GRUB. +> Más información: . + +- Establece la entrada de arranque por defecto a un número de entrada, nombre o identificador: + +`sudo grub-set-default {{numero_entrada}}` + +- Establece la entrada de arranque por defecto a un número de entrada, nombre o identificador para un directorio de arranque alternativo: + +`sudo grub-set-default --boot-directory /{{ruta/al/directorio_arranque}} {{numero_entrada}}` diff --git a/pages.es/linux/grub2-mkpasswd-pbkdf2.md b/pages.es/linux/grub2-mkpasswd-pbkdf2.md new file mode 100644 index 00000000000000..a5696110ea730f --- /dev/null +++ b/pages.es/linux/grub2-mkpasswd-pbkdf2.md @@ -0,0 +1,8 @@ +# grub2-mkpasswd-pbkdf2 + +> Genera una contraseña hasheada para GRUB. +> Más información: . + +- Crea un hash de contraseña para GRUB 2 usando PBKDF2 y lo imprime en `stdout`: + +`sudo grub2-mkpasswd-pbkdf2 {{[-c|--iteration-count]}} {{numero_de_iteraciones_pbkdf2}} {{[-s|--salt]}} {{longitud_salt}}` diff --git a/pages.es/linux/grubby.md b/pages.es/linux/grubby.md new file mode 100644 index 00000000000000..cf3efcdf39d7c0 --- /dev/null +++ b/pages.es/linux/grubby.md @@ -0,0 +1,16 @@ +# grubby + +> Herramienta para configurar los gestores de arranque `grub` y `zipl`. +> Más información: . + +- Añade argumentos de arranque del núcleo a todas las entradas del menú del núcleo: + +`sudo grubby --update-kernel=ALL --args '{{quiet console=ttyS0}}'` + +- Elimina los argumentos existentes de la entrada para el núcleo por defecto: + +`sudo grubby --update-kernel=DEFAULT --remove-args {{quiet}}` + +- Lista todas las entradas del menú del núcleo: + +`sudo grubby --info=ALL` diff --git a/pages.es/linux/gtk-launch.md b/pages.es/linux/gtk-launch.md new file mode 100644 index 00000000000000..638d68044e0650 --- /dev/null +++ b/pages.es/linux/gtk-launch.md @@ -0,0 +1,8 @@ +# gtk-launch + +> Lanza aplicaciones desde archivos `.desktop` que residen en ubicaciones estándar. +> Más información: . + +- Lanza una aplicación: + +`gtk-launch {{nombre_de_la_aplicación}}` diff --git a/pages.es/linux/halt.md b/pages.es/linux/halt.md index 1837d6ece60c97..fcd855fb78c0c0 100644 --- a/pages.es/linux/halt.md +++ b/pages.es/linux/halt.md @@ -1,15 +1,25 @@ # halt > Detiene, apaga o reinicia la máquina. +> Ver también: `poweroff`, `reboot`. +> Más información: . -- Detiene la máquina: +- Detiene el sistema: `halt` -- Apaga la máquina: +- Apaga el sistema (igual que `poweroff`): -`halt --poweroff` +`halt {{[-p|--poweroff]}}` -- Reinicia la máquina: +- Reinicia el sistema (igual que `reboot`): `halt --reboot` + +- Apaga inmediatamente el sistema sin contactar al administrador: + +`halt {{[-f|--force]}}` + +- Escribe la entrada de apagado en wtmp sin apagar el sistema: + +`halt {{[-w|--wtmp-only]}}` diff --git a/pages.es/linux/head.md b/pages.es/linux/head.md new file mode 100644 index 00000000000000..1a15f60054da6e --- /dev/null +++ b/pages.es/linux/head.md @@ -0,0 +1,20 @@ +# head + +> Muestra la primera parte de los archivos. +> Más información: . + +- Muestra las primeras líneas de un archivo: + +`head {{[-n|--lines]}} {{cuenta}} {{ruta/al/archivo}}` + +- Muestra los primeros bits de un archivo: + +`head {{[-c|--bytes]}} {{cuenta}} {{ruta/al/archivo}}` + +- Muestra todo el contenido de un archivo excepto las últimas líneas: + +`head {{[-n|--lines]}} -{{cuenta}} {{ruta/al/archivo}}` + +- Muestra todo el contenido de un archivo excepto los últimos bits: + +`head {{[-c|--bytes]}} -{{cuenta}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/hexdump.md b/pages.es/linux/hexdump.md new file mode 100644 index 00000000000000..7c54b8d7f49c89 --- /dev/null +++ b/pages.es/linux/hexdump.md @@ -0,0 +1,20 @@ +# hexdump + +> Un visor ASCII, decimal, hexadecimal, octal. +> Más información: . + +- Imprime la representación hexadecimal de un archivo, reemplazando líneas duplicadas con '*': + +`hexdump {{ruta/al/archivo}}` + +- Muestra el desplazamiento de entrada (input offset) en hexadecimal y su representación ASCII en dos columnas: + +`hexdump {{[-C|--canonical]}} {{ruta/al/archivo}}` + +- Muestra la representación hexadecimal de un archivo, pero interpreta solo n bytes de la entrada: + +`hexdump {{[-C|--canonical]}} {{[-n|--length]}} {{número_de_bytes}} {{ruta/al/archivo}}` + +- No reemplaza las líneas duplicadas con '*': + +`hexdump {{[-v|--no-squeezing]}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/hollywood.md b/pages.es/linux/hollywood.md new file mode 100644 index 00000000000000..435e48fd07f90e --- /dev/null +++ b/pages.es/linux/hollywood.md @@ -0,0 +1,16 @@ +# hollywood + +> Llena tu consola con la jerga tecnológica del melodrama de Hollywood. +> Más información: . + +- Llena la consola: + +`hollywood` + +- Sale de `hollywood`: + +`` + +- Muestra la ayuda: + +`hollywood -h` diff --git a/pages.es/linux/hyprctl.md b/pages.es/linux/hyprctl.md new file mode 100644 index 00000000000000..ee3705ff934b73 --- /dev/null +++ b/pages.es/linux/hyprctl.md @@ -0,0 +1,32 @@ +# hyprctl + +> Controla partes del compositor Hyprland Wayland. +> Más información: . + +- Recarga la configuración de Hyprland: + +`hyprctl reload` + +- Muestra el nombre de la ventana activa: + +`hyprctl activewindow` + +- Lista todos los dispositivos de entrada conectados: + +`hyprctl devices` + +- Lista todas las salidas con sus respectivas propiedades: + +`hyprctl workspaces` + +- Llama a un despachador: + +`hyprctl dispatch {{despachador}}` + +- Establece una configuración de una palabra clave (keyword) de forma dinámica: + +`hyprctl keyword {{palabra_clave}} {{valor}}` + +- Muestra versión: + +`hyprctl version` diff --git a/pages.es/linux/hyprpm.md b/pages.es/linux/hyprpm.md new file mode 100644 index 00000000000000..1a6b0ef8966c3b --- /dev/null +++ b/pages.es/linux/hyprpm.md @@ -0,0 +1,32 @@ +# hyprpm + +> Complementos de control para el compositor Hyprland Wayland. +> Más información: . + +- Añade un complemento: + +`hyprpm add {{url_de_repositorio_git}}` + +- Elimina un complemento: + +`hyprpm remove {{url_de_repositorio_git|nombre_del_complemento}}` + +- Activa un complemento: + +`hyprpm enable {{nombre_del_complemento}}` + +- Desactiva un complemento: + +`hyprpm disable {{nombre_del_complemento}}` + +- Actualiza y comprueba todos los complementos: + +`hyprpm update` + +- Fuerza una operación: + +`hyprpm {{[-f|--force]}} {{operación}}` + +- Lista todos los complementos instalados: + +`hyprpm list` diff --git a/pages.es/linux/i386.md b/pages.es/linux/i386.md new file mode 100644 index 00000000000000..2b42370a8ef9bc --- /dev/null +++ b/pages.es/linux/i386.md @@ -0,0 +1,7 @@ +# i386 + +> Este comando es un alias de `setarch i386`. + +- Vea la documentación del comando original: + +`tldr setarch` diff --git a/pages.es/linux/i7z.md b/pages.es/linux/i7z.md new file mode 100644 index 00000000000000..a8a6c8e66fa8ea --- /dev/null +++ b/pages.es/linux/i7z.md @@ -0,0 +1,8 @@ +# i7z + +> Una herramienta de informes en tiempo real para CPUs Intel (sólo i3, i5 e i7). +> Más información: . + +- Inicia i7z (se necesita ejecutar en modo superusuario): + +`sudo i7z` diff --git a/pages.es/linux/ifdown.md b/pages.es/linux/ifdown.md new file mode 100644 index 00000000000000..4f53d95805f2fa --- /dev/null +++ b/pages.es/linux/ifdown.md @@ -0,0 +1,12 @@ +# ifdown + +> Desactiva interfaces de red. +> Más información: . + +- Desactiva la interfaz eth0: + +`ifdown {{eth0}}` + +- Desactiva todas las interfaces que estén activadas: + +`ifdown -a` diff --git a/pages.es/linux/ifstatus.md b/pages.es/linux/ifstatus.md new file mode 100644 index 00000000000000..a13bd8f5625533 --- /dev/null +++ b/pages.es/linux/ifstatus.md @@ -0,0 +1,8 @@ +# ifstatus + +> Muestra el estado de la interfaz OpenWRT en formato JSON. +> Más información: . + +- Muestra el estado de la interfaz: + +`ifstatus {{nombre_interfaz}}` diff --git a/pages.es/linux/imv.md b/pages.es/linux/imv.md new file mode 100644 index 00000000000000..57bfefe76403f3 --- /dev/null +++ b/pages.es/linux/imv.md @@ -0,0 +1,29 @@ +# imv + +> Visor de imágenes de línea de comando para Wayland y X11 dirigido a gestores de ventanas en mosaico. +> Maneja múltiples formatos incluyendo Photoshop (PSD). +> Más información: . + +- Muestra múltiples imágenes: + +`imv {{ruta/a/la/imagen1.ext ruta/a/la/imagen2.ext ...}}` + +- Vista en modo de pantalla completa: + +`imv -f {{ruta/a/la/imagen.ext}}` + +- Muestra imágenes de un directorio [r]ecursivamente: + +`imv -r --slideshow {{ruta/al/directorio}}` + +- Abre múltiples imágenes vía `stdin`: + +`find . -type f -name "{{*.svg}}" | imv` + +- Hace una presentación desde un directorio que muestra cada imagen durante 10 segundos: + +`imv -t 10 {{ruta/al/directorio}}` + +- Muestra múltiples imágenes de la web: + +`curl -Osw '%{filename_effective}\n' '{{http://www.example.com/[1-10].jpg}}' | imv` diff --git a/pages.es/linux/informant.md b/pages.es/linux/informant.md new file mode 100644 index 00000000000000..aee2ed59824717 --- /dev/null +++ b/pages.es/linux/informant.md @@ -0,0 +1,20 @@ +# informant + +> Lea las noticias sobre paquetes Arch Linux. +> Más información: . + +- Lee todas las noticias no leídas: + +`sudo informant read` + +- Busca noticias: + +`informant check` + +- Lista las últimas noticias: + +`informant list` + +- Muestra la ayuda: + +`informant --help` diff --git a/pages.es/linux/insmod.md b/pages.es/linux/insmod.md new file mode 100644 index 00000000000000..cb8d139ebdd9de --- /dev/null +++ b/pages.es/linux/insmod.md @@ -0,0 +1,9 @@ +# insmod + +> Carga módulos dinámicamente en el Kernel Linux. +> Vea también: `kmod` para otros comandos de gestión de módulos. +> Más información: . + +- Inserta un módulo del kernel en el kernel de Linux: + +`sudo insmod {{ruta/a/módulo.ko}}` diff --git a/pages.es/linux/ip-address.md b/pages.es/linux/ip-address.md new file mode 100644 index 00000000000000..58303a6f2104fe --- /dev/null +++ b/pages.es/linux/ip-address.md @@ -0,0 +1,28 @@ +# ip address + +> Subcomando de manejo de direcciones IP. +> Más información: . + +- Lista las interfaces de red y sus direcciones IP asociadas: + +`ip {{[a|address]}}` + +- Filtra mostrando solo las interfaces de red activas: + +`ip {{[a|address]}} {{[s|show]}} up` + +- Muestra información sobre una interfaz de red específica: + +`ip {{[a|address]}} {{[s|show]}} {{eth0}}` + +- Añade una dirección IP a una interfaz de red: + +`sudo ip {{[a|address]}} {{[a|add]}} {{dirección_ip}} dev {{eth0}}` + +- Elimina una dirección IP de una interfaz de red: + +`sudo ip {{[a|address]}} {{[d|delete]}} {{dirección_ip}} dev {{eth0}}` + +- Elimina todas las direcciones IP en un alcance dado de una interfaz de red: + +`sudo ip {{[a|address]}} {{[f|flush]}} {{eth0}} scope {{global|host|link}}` diff --git a/pages.es/linux/ip-link.md b/pages.es/linux/ip-link.md new file mode 100644 index 00000000000000..d92a6f60498c2c --- /dev/null +++ b/pages.es/linux/ip-link.md @@ -0,0 +1,28 @@ +# ip link + +> Gestiona interfaces de red. +> Más información: . + +- Muestra información sobre todas las interfaces de red: + +`ip {{[l|link]}}` + +- Muestra información sobre una interfaz de red específica: + +`ip {{[l|link]}} {{[sh|show]}} {{ethN}}` + +- Establece una interfaz de red arriba (up) o abajo (down). Usa inglés: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{up|down}}` + +- Establece un nombre significativo a una interfaz de red: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[al|alias]}} "{{LAN Interface}}"` + +- Cambia la dirección MAC de una interfaz de red: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[a|address]}} {{ff:ff:ff:ff:ff:ff}}` + +- Cambia el tamaño de MTU para una interfaz de red para usar marcos jumbo: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} mtu {{9000}}` diff --git a/pages.es/linux/ip-maddress.md b/pages.es/linux/ip-maddress.md new file mode 100644 index 00000000000000..1a293d5b695bf8 --- /dev/null +++ b/pages.es/linux/ip-maddress.md @@ -0,0 +1,20 @@ +# ip maddress + +> Gestiona direcciones multicast. +> Más información: . + +- Lista las direcciones multicast y cuántos programas están suscritos a ellas: + +`ip {{[m|maddress]}}` + +- Lista de direcciones específicas de dispositivos: + +`ip {{[m|maddress]}} {{[s|show]}} dev {{eth0}}` + +- Se une a un grupo multicast estáticamente: + +`sudo ip {{[m|maddress]}} {{[a|add]}} {{33:33:00:00:00:02}} dev {{eth0}}` + +- Abandona un grupo multicast estático: + +`sudo ip {{[m|maddress]}} {{[d|delete]}} {{33:33:00:00:00:02}} dev {{eth0}}` diff --git a/pages.es/linux/ip-neighbour.md b/pages.es/linux/ip-neighbour.md new file mode 100644 index 00000000000000..efde2dd585e239 --- /dev/null +++ b/pages.es/linux/ip-neighbour.md @@ -0,0 +1,24 @@ +# ip neighbour + +> Subcomando de gestión de tablas IP de vecinos/ARP. +> Más información: . + +- Muestra las entradas de la tabla de vecinos/ARP: + +`ip {{[n|neighbour]}}` + +- Elimina entradas en la tabla de vecinos del dispositivo `eth0`: + +`sudo ip {{[n|neighbour]}} {{[f|flush]}} dev {{eth0}}` + +- Realiza una búsqueda de vecinos y devuelve una entrada de vecinos: + +`ip {{[n|neighbour]}} {{[g|get]}} {{lookup_ip}} dev {{eth0}}` + +- Agrega o elimina una entrada ARP a los vecinos IP de `eth0`: + +`sudo ip {{[n|neighbour]}} {{add|delete}} {{dirección_ip}} lladdr {{mac_address}} dev {{eth0}} nud reachable` + +- Cambia o reemplaza una entrada ARP para la dirección IP vecina a `eth0`: + +`sudo ip {{[n|neighbour]}} {{change|replace}} {{dirección_ip}} lladdr {{nueva_mac_address}} dev {{eth0}}` diff --git a/pages.es/linux/ip-route-get.md b/pages.es/linux/ip-route-get.md new file mode 100644 index 00000000000000..99986fbed795ac --- /dev/null +++ b/pages.es/linux/ip-route-get.md @@ -0,0 +1,28 @@ +# ip route get + +> Obtiene una única ruta a un destino e imprime su contenido exactamente como el kernel lo ve. +> Más información: . + +- Imprime ruta a un destino: + +`ip {{[r|route]}} {{[g|get]}} {{1.1.1.1}}` + +- Imprime la ruta a un destino desde una dirección de origen específica: + +`ip {{[r|route]}} {{[g|get]}} {{destino}} from {{origen}}` + +- Imprime la ruta a un destino para los paquetes que llegan a una interfaz específica: + +`ip {{[r|route]}} {{[g|get]}} {{destino}} iif {{eth0}}` + +- Imprime la ruta a un destino forzando la salida a través de una interfaz específica: + +`ip {{[r|route]}} {{[g|get]}} {{destino}} oif {{eth1}}` + +- Imprime la ruta a un destino con un tipo específico de servicio (ToS): + +`ip {{[r|route]}} {{[g|get]}} {{destino}} tos {{0x10}}` + +- Imprime la ruta a un destino utilizando una instancia VRF específica (Virtual Routing and Forwarding - Enrutamiento y Reenvío Virtual): + +`ip {{[r|route]}} {{[g|get]}} {{destino}} vrf {{myvrf}}` diff --git a/pages.es/linux/ip-route-list.md b/pages.es/linux/ip-route-list.md new file mode 100644 index 00000000000000..8d0469d6135371 --- /dev/null +++ b/pages.es/linux/ip-route-list.md @@ -0,0 +1,36 @@ +# ip route list + +> Subcomando de visualización para la gestión de la tabla de rutas IP. +> Más información: . + +- Muestra la tabla de enrutamiento `main`: + +`ip {{[r|route]}} {{[l|list]}}` + +- Muestra la tabla de enrutamiento principal (igual que el primer ejemplo): + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{main|254}}` + +- Muestra la tabla de enrutamiento local: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{local|255}}` + +- Muestra todas las tablas de enrutamiento: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{all|unspec|0}}` + +- Lista solo las rutas de un dispositivo determinado: + +`ip {{[r|route]}} {{[l|list]}} dev {{ethX}}` + +- Lista las rutas dentro de un ámbito determinado: + +`ip {{[r|route]}} {{[l|list]}} {{[s|scope]}} link` + +- Muestra la caché de enrutamiento: + +`ip {{[r|route]}} {{[l|list]}} {{[c|cache]}}` + +- Muestra solo rutas IPv6 o IPv4: + +`ip {{-6|-4}} {{[r|route]}}` diff --git a/pages.es/linux/ip-route-show.md b/pages.es/linux/ip-route-show.md new file mode 100644 index 00000000000000..b0cf93ff39a12b --- /dev/null +++ b/pages.es/linux/ip-route-show.md @@ -0,0 +1,7 @@ +# ip route show + +> Este comando es un alias de `ip route list`. + +- Vea la documentación para el comando original: + +`tldr ip route list` diff --git a/pages.es/linux/ip-route.md b/pages.es/linux/ip-route.md new file mode 100644 index 00000000000000..b2594f7426aa24 --- /dev/null +++ b/pages.es/linux/ip-route.md @@ -0,0 +1,32 @@ +# ip route + +> Subcomando de gestión de tablas de enrutamiento IP. +> Más información: . + +- Muestra la tabla de enrutamiento: + +`ip {{[r|route]}}` + +- Agrega una ruta predeterminada usando reenvío de puerta de enlace (gateway): + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip_de_gateway}}` + +- Añade una ruta predeterminada utilizando `eth0`: + +`sudo ip {{[r|route]}} {{[a|add]}} default dev {{eth0}}` + +- Añade una ruta estática: + +`sudo ip {{[r|route]}} {{[a|add]}} {{ip_destino}} via {{ip_de_gateway}} dev {{eth0}}` + +- Elimina una ruta estática: + +`sudo ip {{[r|route]}} {{[d|delete]}} {{ip_destino}} dev {{eth0}}` + +- Cambia o reemplaza una ruta estática: + +`sudo ip {{[r|route]}} {{change|replace}} {{ip_destino}} via {{ip_de_gateway}} dev {{eth0}}` + +- Muestra qué ruta será utilizada por el kernel para llegar a una dirección IP: + +`ip {{[r|route]}} {{[g|get]}} {{ip_destino}}` diff --git a/pages.es/linux/ip-rule.md b/pages.es/linux/ip-rule.md new file mode 100644 index 00000000000000..88cd7516d1bcae --- /dev/null +++ b/pages.es/linux/ip-rule.md @@ -0,0 +1,36 @@ +# ip rule + +> Gestión de bases de datos de políticas de enrutamiento IP. +> Más información: . + +- Muestra la política de enrutamiento: + +`ip {{[ru|rule]}}` + +- Agrega una nueva regla basada en las direcciones fuente de paquetes: + +`sudo ip {{[ru|rule]}} {{[a|add]}} from {{192.168.178.2/32}}` + +- Añade una nueva regla basada en direcciones de destino de paquetes: + +`sudo ip {{[ru|rule]}} {{[a|add]}} to {{192.168.178.2/32}}` + +- Elimina una regla basada en las direcciones fuente de paquetes: + +`sudo ip {{[ru|rule]}} {{[d|delete]}} from {{192.168.178.2/32}}` + +- Elimina una regla basada en las direcciones de destino de paquetes: + +`sudo ip {{[ru|rule]}} {{[d|delete]}} to {{192.168.178.2/32}}` + +- Limpia todas las reglas eliminadas: + +`sudo ip {{[ru|rule]}} {{[f|flush]}}` + +- Guarda todas las reglas en un archivo: + +`ip {{[ru|rule]}} {{[s|save]}} > {{ruta/a/reglas_ip.dat}}` + +- Restaura todas las reglas desde un archivo: + +`sudo ip {{[ru|rule]}} {{[r|restore]}} < {{ruta/a/reglas_ip.dat}}` diff --git a/pages.es/linux/ip.md b/pages.es/linux/ip.md new file mode 100644 index 00000000000000..266a1da30cf893 --- /dev/null +++ b/pages.es/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> Muestra/manipula enrutamientos, dispositivos, políticas de enrutamiento y túneles. +> Algunos subcomandados como `address` tienen su propia documentación de uso. +> Más información: . + +- Lista las interfaces con información detallada: + +`ip {{[a|address]}}` + +- Lista las interfaces con información breve de capa de red: + +`ip {{[-br a|-brief address]}}` + +- Lista las interfaces con información breve dada una capa de enlace: + +`ip {{[-br l|-brief link]}}` + +- Muestra la tabla de enrutamiento: + +`ip {{[r|route]}}` + +- Muestra vecinos (tabla ARP): + +`ip {{[n|neighbour]}}` + +- Establece una interfaz arriba/abajo (up/down). Usa inglés: + +`sudo ip {{[l|link]}} {{[s|set]}} {{interfaz}} {{up|down}}` + +- Agrega/borra una dirección IP de una interfaz: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interfaz}}` + +- Agrega una ruta predeterminada: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interfaz}}` diff --git a/pages.es/linux/ip6tables-restore.md b/pages.es/linux/ip6tables-restore.md new file mode 100644 index 00000000000000..cd41b3fbe22a14 --- /dev/null +++ b/pages.es/linux/ip6tables-restore.md @@ -0,0 +1,7 @@ +# ip6tables-restore + +> Este comando es un alias de `iptables-restore` para el cortafuegos (firewall) IPv6. + +- Vea la documentación para el comando original: + +`tldr iptables-restore` diff --git a/pages.es/linux/ip6tables-save.md b/pages.es/linux/ip6tables-save.md new file mode 100644 index 00000000000000..3cab1f27003462 --- /dev/null +++ b/pages.es/linux/ip6tables-save.md @@ -0,0 +1,7 @@ +# ip6tables-save + +> Este comando es un alias de `iptables-save` para el cortafuegos (firewall) IPv6. + +- Vea la documentación para el comando original: + +`tldr iptables-save` diff --git a/pages.es/linux/ip6tables.md b/pages.es/linux/ip6tables.md new file mode 100644 index 00000000000000..e74d65ac35a9b6 --- /dev/null +++ b/pages.es/linux/ip6tables.md @@ -0,0 +1,7 @@ +# ip6tables + +> Este comando es un alias de `iptables` para el cortafuegos (firewall) IPv6. + +- Vea la documentación para el comando original: + +`tldr iptables` diff --git a/pages.es/linux/iptables-restore.md b/pages.es/linux/iptables-restore.md new file mode 100644 index 00000000000000..a69b181f3af6b1 --- /dev/null +++ b/pages.es/linux/iptables-restore.md @@ -0,0 +1,9 @@ +# iptables-restore + +> Restaura la configuración IPv4 de `iptables`. +> Use `ip6tables-restore` para hacer lo mismo para IPv6. +> Más información: . + +- Restaura la configuración `iptables` de un archivo: + +`sudo iptables-restore {{ruta/al/archivo}}` diff --git a/pages.es/linux/iptables-save.md b/pages.es/linux/iptables-save.md new file mode 100644 index 00000000000000..28859b85982344 --- /dev/null +++ b/pages.es/linux/iptables-save.md @@ -0,0 +1,17 @@ +# iptables-save + +> Guarda la configuración IPv4 de `iptables`. +> Use `ip6tables-save` para hacer lo mismo para IPv6. +> Más información: . + +- Imprime la configuración de `iptables`: + +`sudo iptables-save` + +- Imprime la configuración de `iptables` de una [t]abla específica: + +`sudo iptables-save {{[-t|--table]}} {{tabla}}` + +- Guarda la configuración de `iptables` al archivo: + +`sudo iptables-save {{[-f|--file]}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/iptables.md b/pages.es/linux/iptables.md new file mode 100644 index 00000000000000..3e5b67a59a0c7a --- /dev/null +++ b/pages.es/linux/iptables.md @@ -0,0 +1,29 @@ +# iptables + +> Configura tablas, cadenas y reglas del firewall IPv4 del kernel Linux. +> Utiliza `ip6tables` para establecer reglas para el tráfico IPv6. Vea también: `iptables-save`, `iptables-restore`. +> Más información: . + +- Muestra cadenas, reglas, contadores de paquetes/bytes y números de línea para la tabla de filtros (filter table): + +`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}` + +- Establece la [p]olítica de cadena de la regla: + +`sudo iptables {{[-P|--policy]}} {{cadena}} {{regla}}` + +- [a]ñade una regla a la política de cadena para la IP: + +`sudo iptables {{[-A|--append]}} {{cadena}} {{[-s|--source]}} {{ip}} {{[-j|--jump]}} {{regla}}` + +- [a]ñade una regla a la política de cadena para la IP teniendo en cuenta el [p]rotocolo y el puerto: + +`sudo iptables {{[-A|--append]}} {{cadena}} {{[-s|--source]}} {{ip}} {{[-p|--protocol]}} {{tcp|udp|icmp|...}} --dport {{puerto}} {{[-j|--jump]}} {{regla}}` + +- Agrega una regla NAT para traducir todo el tráfico desde la subred `192.168.0.0/24` a la IP pública del host: + +`sudo iptables {{[-t|--table]}} {{nat}} {{[-A|--append]}} {{POSTROUTING}} {{[-s|--source]}} {{192.168.0.0/24}} {{[-j|--jump]}} {{MASQUERADE}}` + +- Borra la regla de la cadena: + +`sudo iptables {{[-D|--delete]}} {{cadena}} {{número_de_línea_de_regla}}` diff --git a/pages.es/linux/iwinfo.md b/pages.es/linux/iwinfo.md new file mode 100644 index 00000000000000..437bad24885fe4 --- /dev/null +++ b/pages.es/linux/iwinfo.md @@ -0,0 +1,28 @@ +# iwinfo + +> Recupera información sobre interfaces inalámbricas en OpenWrt. +> Más información: . + +- Lista todas las interfaces inalámbricas disponibles: + +`iwinfo` + +- Muestra información detallada sobre una interfaz inalámbrica específica: + +`iwinfo {{interfaz}} info` + +- Busca redes inalámbricas cercanas visibles para la interfaz: + +`iwinfo {{interface}} scan` + +- Lista dispositivos conectados: + +`iwinfo {{interface}} assoclist` + +- Lista canales soportados por la interfaz: + +`iwinfo {{interface}} freqlist` + +- Lista niveles de potencia de transmisión disponibles para la interfaz: + +`iwinfo {{interface}} txpowerlist` diff --git a/pages.es/linux/iwlist.md b/pages.es/linux/iwlist.md new file mode 100644 index 00000000000000..39f438a2cfa303 --- /dev/null +++ b/pages.es/linux/iwlist.md @@ -0,0 +1,36 @@ +# iwlist + +> Obtén información detallada de una interfaz inalámbrica. +> Más información: . + +- Muestra la lista de puntos de acceso y células ad-hoc en alcance: + +`iwlist {{interfaz_inalámbrica}} scan` + +- Muestra las frecuencias disponibles en el dispositivo: + +`iwlist {{interfaz_inalámbrica}} frequency` + +- Lista las tasas de bits soportadas por el dispositivo: + +`iwlist {{interfaz_inalámbrica}} rate` + +- Enumera los parámetros de autenticación WPA configurados actualmente: + +`iwlist {{interfaz_inalámbrica}} auth` + +- Enumera todas las claves de cifrado WPA configuradas en el dispositivo: + +`iwlist {{interfaz_inalámbrica}} wpakeys` + +- Enumera los tamaños de clave de cifrado admitidos y todas las claves de cifrado configuradas en el dispositivo: + +`iwlist {{interfaz_inalámbrica}} keys` + +- Enumera los distintos atributos y modos de gestión de energía del dispositivo: + +`iwlist {{interfaz_inalámbrica}} power` + +- Enumera los elementos de información genéricos configurados en el dispositivo (utilizados para la compatibilidad con WPA): + +`iwlist {{interfaz_inalámbrica}} genie` diff --git a/pages.es/linux/journalctl.md b/pages.es/linux/journalctl.md new file mode 100644 index 00000000000000..0d48876099b144 --- /dev/null +++ b/pages.es/linux/journalctl.md @@ -0,0 +1,36 @@ +# journalctl + +> Consulta el registro systemd. +> Más información: . + +- Muestra todos los mensajes con nivel de prioridad 3 (errores) de este boot: + +`journalctl {{[-b|--boot]}} {{[-p|--priority]}} 3` + +- Elimina los registros diarios con más de 2 días de antigüedad: + +`journalctl --vacuum-time 2d` + +- Muestra solo las últimas N líneas y sigue los mensajes nuevos (como `tail -f` de un syslog tradicional): + +`journalctl {{[-n|--lines]}} {{N}} {{[-f|--follow]}}` + +- Muestra todos los mensajes de una unidad específica: + +`journalctl {{[-u|--unit]}} {{unidad}}` + +- Muestra los registros de una unidad determinada desde la última vez que se inició: + +`journalctl _SYSTEMD_INVOCATION_ID=$(systemctl show --value --property=InvocationID {{unidad}})` + +- Filtra mensajes dentro de un intervalo de tiempo (marca de tiempo o marcadores de posición como "ayer"): + +`journalctl {{[-S|--since]}} {{now|today|yesterday|tomorrow}} {{[-U|--until]}} "{{YYYY-MM-DD HH:MM:SS}}"` + +- Muestra todos los mensajes de un proceso específico: + +`journalctl _PID={{pid}}` + +- Mostrar todos los mensajes de un ejecutable específico: + +`journalctl {{ruta/al/ejecutable}}` diff --git a/pages.es/linux/kde-builder.md b/pages.es/linux/kde-builder.md new file mode 100644 index 00000000000000..e8eac152e42062 --- /dev/null +++ b/pages.es/linux/kde-builder.md @@ -0,0 +1,37 @@ +# kde-builder + +> Construye fácilmente componentes de KDE desde tus repositorios fuente. +> Sustituye a `kdesrc-build`. +> Más información: . + +- Inicializa `kde-builder`: + +`kde-builder --initial-setup` + +- Compila un componente KDE y sus dependencias desde el código fuente: + +`kde-builder {{nombre_componente1 nombre_componente2 ...}}` + +- Compila un componente sin actualizar el código local y sin compilar sus dependencias: + +`kde-builder {{[-SD|--no-src --no-include-dependencies]}} {{nombre_componente}}` + +- Actualiza los directorios de compilación antes de compilar: + +`kde-builder {{[-r|--refresh-build]}} {{nombre_componente}}` + +- Reanuda la compilación a partir de una dependencia determinada: + +`kde-builder {{[-f|--resume-from]}} {{dependencia_componente}} {{nombre_componente}}` + +- Ejecuta un componente con un nombre de ejecutable determinado: + +`kde-builder --run {{nombre_ejecutable}}` + +- Construye todos los componentes configurados: + +`kde-builder --install-login-session-only` + +- Utiliza las bibliotecas del sistema en lugar de un componente si no se puede compilar: + +`kde-builder --no-stop-on-failure {{nombre_ejecutable}}` diff --git a/pages.es/linux/kill.md b/pages.es/linux/kill.md new file mode 100644 index 00000000000000..beaec54a5838cd --- /dev/null +++ b/pages.es/linux/kill.md @@ -0,0 +1,37 @@ +# kill + +> Envía una señal a un proceso, generalmente relacionada con detener el proceso. +> Todas las señales excepto SIGKILL y SIGSTOP pueden ser interceptadas por el proceso para realizar una salida limpia. +> Más información: . + +- Termina un programa usando la señal SIGTERM (terminar) predeterminada: + +`kill {{id_del_proceso}}` + +- Lista valores de señal y sus nombres correspondientes (para ser utilizados sin el prefijo `SIG`): + +`kill -L` + +- Termina un trabajo en segundo plano: + +`kill %{{id_del_trabajo}}` + +- Termina un programa usando la señal SIGHUP (hang up). Muchos servicios se recargarán en lugar de terminar: + +`kill -{{1|HUP}} {{id_del_proceso}}` + +- Termina un programa usando la señal SIGINT (interrupción). Esto es normalmente iniciado por el usuario pulsando ``: + +`kill -{{2|INT}} {{id_del_proceso}}` + +- Indica al sistema operativo terminar inmediatamente un programa (que no tiene oportunidad de capturar la señal): + +`kill -{{9|KILL}} {{id_del_proceso}}` + +- Indica al sistema operativo detener un programa hasta que se reciba una señal SIGCONT ("continúa"): + +`kill -{{17|STOP}} {{id_del_proceso}}` + +- Envía una señal `SIGUSR1` a todos los procesos con el GID dado (id del grupo): + +`kill -{{SIGUSR1}} -{{id_del_grupo}}` diff --git a/pages.es/linux/kmod.md b/pages.es/linux/kmod.md new file mode 100644 index 00000000000000..0161c660a2451d --- /dev/null +++ b/pages.es/linux/kmod.md @@ -0,0 +1,14 @@ +# kmod + +> Gestiona los módulos del kernel de Linux. +> Este programa es normalmente llamado a través de sus enlaces simbólicos: `lsmod`, `rmmod`, `insmod`, `modinfo`, `modprobe` y `depmod`. +> Vea sus respectivas páginas para más información. +> Más información: . + +- Lista los módulos del núcleo cargados actualmente: + +`kmod list` + +- Muestra la información de los nodos de dispositivos estáticos proporcionada por los módulos del núcleo que se está ejecutando actualmente: + +`kmod static-nodes` diff --git a/pages.es/linux/kpackagetool6.md b/pages.es/linux/kpackagetool6.md new file mode 100644 index 00000000000000..c12ef8a23fc9c9 --- /dev/null +++ b/pages.es/linux/kpackagetool6.md @@ -0,0 +1,24 @@ +# kpackagetool6 + +> KPackage Manager: instala, lista, elimina paquetes Plasma. +> Más información: . + +- Lista todos los tipos de paquetes conocidos que se pueden instalar: + +`kpackagetool6 --list-types` + +- Instala el paquete desde un directorio: + +`kpackagetool6 --type {{tipo_paquete}} --install {{ruta/a/directorio}}` + +- Actualiza el paquete instalado desde un directorio: + +`kpackagetool6 --type {{tipo_paquete}} --upgrade {{ruta/a/directorio}}` + +- Lista los plasmoides instalados (`--global` para todos los usuarios): + +`kpackagetool6 --type Plasma/Applet --list --global` + +- Elimina un plasmoide por su nombre: + +`kpackagetool6 --type Plasma/Applet --remove "{{nombre}}"` diff --git a/pages.es/linux/last.md b/pages.es/linux/last.md new file mode 100644 index 00000000000000..0efe13078c4e3f --- /dev/null +++ b/pages.es/linux/last.md @@ -0,0 +1,36 @@ +# last + +> Vea los últimos usuarios conectados. +> Más información: . + +- Vea la información del último inicio de sesión (por ejemplo, nombre de usuario, terminal, tiempo de arranque, kernel) de todos los usuarios leída de `/var/log/wtmp`: + +`last` + +- Lista la información de inicio de sesión de un usuario específico: + +`last {{nombre_de_usuario}}` + +- Especifica cuántos de los últimos inicios de sesión mostrar: + +`last {{[-n|--limit]}} {{cuenta_inicios}}` + +- Muestra la fecha y hora completas de las entradas y, a continuación, muestra la columna del nombre de host en último lugar para evitar que se trunque: + +`last {{[-F|--fulltimes]}} {{[-a|--hostlast]}}` + +- Visualiza todos los inicios de sesión de un usuario específico y muestra la dirección IP en lugar del nombre de host: + +`last {{nombre_de_usuario}} {{[-i|--ip]}}` + +- Lista la información desde una fecha y hora determinadas: + +`last {{[-s|--since]}} {{-7days}}` + +- Vea todos los reinicios registrados (es decir, los últimos inicios de sesión del pseudousuario "reboot"): + +`last reboot` + +- Muestra la ayuda: + +`last {{[-h|--help]}}` diff --git a/pages.es/linux/ldconfig.md b/pages.es/linux/ldconfig.md new file mode 100644 index 00000000000000..ac40f7554895b0 --- /dev/null +++ b/pages.es/linux/ldconfig.md @@ -0,0 +1,16 @@ +# ldconfig + +> Configura enlaces simbólicos y caché para dependencias de biblioteca compartidas. +> Más información: . + +- Actualiza los enlaces simbólicos y reconstruye el caché (normalmente se ejecuta cuando se instala una nueva biblioteca): + +`sudo ldconfig` + +- Actualiza los enlaces simbólicos para un directorio dado: + +`sudo ldconfig -n {{ruta/al/directorio}}` + +- Imprime las bibliotecas en el caché y comprueba si una biblioteca dada está presente: + +`ldconfig -p | grep {{nombre_de_biblioteca}}` diff --git a/pages.es/linux/ldd.md b/pages.es/linux/ldd.md new file mode 100644 index 00000000000000..b3e4a67bb855f8 --- /dev/null +++ b/pages.es/linux/ldd.md @@ -0,0 +1,25 @@ +# ldd + +> Muestra dependencias de bibliotecas compartidas de un binario. +> No use en un binario no confiable, use `objdump` para esto en su lugar. +> Más información: . + +- Muestra dependencias de biblioteca compartidas de un binario: + +`ldd {{ruta/al/binario}}` + +- Muestra toda la información sobre las dependencias: + +`ldd --verbose {{ruta/al/binario}}` + +- Muestra dependencias directas no utilizadas: + +`ldd --unused {{ruta/al/binario}}` + +- Reporta objetos de datos perdidos y realiza reubicaciones de datos: + +`ldd --data-relocs {{ruta/al/binario}}` + +- Reporta objetos y funciones de datos ausentes y los reubica a ambos: + +`ldd --function-relocs {{ruta/al/binario}}` diff --git a/pages.es/linux/lddd.md b/pages.es/linux/lddd.md new file mode 100644 index 00000000000000..f351174d397991 --- /dev/null +++ b/pages.es/linux/lddd.md @@ -0,0 +1,9 @@ +# lddd + +> Encuentra enlaces de biblioteca rotos en el sistema. +> Esta herramienta solo está disponible en Arch Linux. +> Más información: . + +- Escanea directorios para encontrar y listar paquetes con enlaces de biblioteca rotos que necesitan ser reconstruidos: + +`lddd` diff --git a/pages.es/linux/lex.md b/pages.es/linux/lex.md new file mode 100644 index 00000000000000..1d8beb2d409551 --- /dev/null +++ b/pages.es/linux/lex.md @@ -0,0 +1,7 @@ +# lex + +> Este comando es un alias de `flex`. + +- Vea la documentación del comando original: + +`tldr flex` diff --git a/pages.es/linux/libinput.md b/pages.es/linux/libinput.md new file mode 100644 index 00000000000000..8d4163e4381015 --- /dev/null +++ b/pages.es/linux/libinput.md @@ -0,0 +1,24 @@ +# libinput + +> Interfaz con libinput. +> Más información: . + +- Lista todos los dispositivos reconocidos por libinput: + +`sudo libinput list-devices` + +- Imprime todos los eventos de libinput: + +`sudo libinput debug-events` + +- Muestra una interfaz gráfica para visualizar los eventos de libinput: + +`sudo libinput debug-gui` + +- Depura los valores del eje de la tableta: + +`sudo libinput debug-tablet` + +- Muestra la ayuda: + +`libinput -h` diff --git a/pages.es/linux/libuser-lid.md b/pages.es/linux/libuser-lid.md new file mode 100644 index 00000000000000..402fb313762d37 --- /dev/null +++ b/pages.es/linux/libuser-lid.md @@ -0,0 +1,13 @@ +# libuser-lid + +> Muestra los grupos de un usuario o los usuarios de un grupo. +> En Fedora y Arch Linux, este programa se instala como `lid`. +> Más información: . + +- Lista los grupos primarios y secundarios de un usuario específico: + +`sudo lid {{usuario}}` + +- Lista los usuarios de un grupo específico: + +`sudo lid --group {{nombre}}` diff --git a/pages.es/linux/lid.md b/pages.es/linux/lid.md new file mode 100644 index 00000000000000..e0ab6f99c20a6b --- /dev/null +++ b/pages.es/linux/lid.md @@ -0,0 +1,10 @@ +# lid + +> NOTA: Esta página es actualmente una de redirección. Si está familiarizado con este programa, por favor abra una solicitud de extracción. +> Consulta la base de datos de identificadores y reporta los resultados. +> En Fedora y Arch Linux, `lid` es otro programa. Vea `tldr libuser-lid`. +> Más información: . + +- Ve documentación de `libuser-lid`: + +`tldr libuser-lid` diff --git a/pages.es/linux/line.md b/pages.es/linux/line.md index 5a899ef064a9ce..5ad726bb79539c 100644 --- a/pages.es/linux/line.md +++ b/pages.es/linux/line.md @@ -1,6 +1,7 @@ # line > Lee una única línea de entrada. +> Más información: . - Lee una entrada: diff --git a/pages.es/linux/linux32.md b/pages.es/linux/linux32.md new file mode 100644 index 00000000000000..60db4ce22fbc4a --- /dev/null +++ b/pages.es/linux/linux32.md @@ -0,0 +1,7 @@ +# linux32 + +> Este comando es un alias de `setarch linux32`. + +- Vea la documentación del comando original: + +`tldr setarch` diff --git a/pages.es/linux/linux64.md b/pages.es/linux/linux64.md new file mode 100644 index 00000000000000..69448bca8111bf --- /dev/null +++ b/pages.es/linux/linux64.md @@ -0,0 +1,7 @@ +# linux64 + +> Este comando es un alias de `setarch linux64`. + +- Vea la documentación del comando original: + +`tldr setarch` diff --git a/pages.es/linux/logger.md b/pages.es/linux/logger.md new file mode 100644 index 00000000000000..cebc2a7f79497c --- /dev/null +++ b/pages.es/linux/logger.md @@ -0,0 +1,24 @@ +# logger + +> Añade mensajes al registro del sistema. +> Más información: . + +- Registra un mensaje en syslog: + +`logger {{mensaje}}` + +- Toma la entrada de `stdin` y la registra en syslog: + +`echo {{entrada_de_registro}} | logger` + +- Envía la salida a un servidor syslog remoto que se ejecuta en un puerto determinado. El puerto por defecto es 514: + +`echo {{entrada_de_registro}} | logger {{[-n|--server]}} {{hostname}} {{[-P|--port]}} {{puerto}}` + +- Utiliza una etiqueta específica para cada línea registrada. Por defecto es el nombre del usuario conectado: + +`echo {{entrada_de_registro}} | logger {{[-t|--tag]}} {{etiqueta}}` + +- Registra mensajes con una prioridad determinada. Por defecto es `user.notice`. Vea `man logger` para todas las opciones de prioridad: + +`echo {{entrada_de_registro}} | logger {{[-p|--priority]}} {{user.warning}}` diff --git a/pages.es/linux/logread.md b/pages.es/linux/logread.md new file mode 100644 index 00000000000000..58136689c3bda5 --- /dev/null +++ b/pages.es/linux/logread.md @@ -0,0 +1,20 @@ +# logread + +> Lee el registro de la memoria cíclica `logd`. +> Más información: . + +- Imprime el registro: + +`logread` + +- Imprime un número determinado de mensajes: + +`logread -l {{N}}` + +- Filtra los mensajes por (palabra clave/expresión regular): + +`logread -e {{patrón}}` + +- Imprime los mensajes de registro a medida que se producen: + +`logread -f` diff --git a/pages.es/linux/lookandfeeltool.md b/pages.es/linux/lookandfeeltool.md new file mode 100644 index 00000000000000..f79aaccdced951 --- /dev/null +++ b/pages.es/linux/lookandfeeltool.md @@ -0,0 +1,7 @@ +# lookandfeeltool + +> Este comando es un alias de `plasma-apply-lookandfeel`. + +- Vea la documentación para el comando original: + +`tldr plasma-apply-lookandfeel` diff --git a/pages.es/linux/lrunzip.md b/pages.es/linux/lrunzip.md new file mode 100644 index 00000000000000..22411ffe54043b --- /dev/null +++ b/pages.es/linux/lrunzip.md @@ -0,0 +1,7 @@ +# lrunzip + +> Este comando es un alias de `lrzip -d`. + +- Vea la documentación del comando original: + +`tldr lrzip` diff --git a/pages.es/linux/lrzuntar.md b/pages.es/linux/lrzuntar.md new file mode 100644 index 00000000000000..99082560b49103 --- /dev/null +++ b/pages.es/linux/lrzuntar.md @@ -0,0 +1,7 @@ +# lrzuntar + +> Este comando es un alias de `lrztar -d`. + +- Vea la documentación del comando original: + +`tldr lrztar` diff --git a/pages.es/linux/lsb_release.md b/pages.es/linux/lsb_release.md index ab30339484f103..1594e334d44017 100644 --- a/pages.es/linux/lsb_release.md +++ b/pages.es/linux/lsb_release.md @@ -1,6 +1,7 @@ # lsb_release > Proporciona información específica de la distribución y LSB (Linux Standard Base). +> Más información: . - Muestra toda la información disponible: diff --git a/pages.es/linux/lsmod.md b/pages.es/linux/lsmod.md index dbc281d0bc3e58..a383c1be96de58 100644 --- a/pages.es/linux/lsmod.md +++ b/pages.es/linux/lsmod.md @@ -1,7 +1,8 @@ # lsmod > Muestra el estado de los módulos cargados en el kernel de linux. -> Vease tambien `modprobe`, el cual carga módulos de kernel +> Vea también `modprobe`, el cual carga módulos de kernel. +> Más información: . - Lista todos los módulos de kernel cargados: diff --git a/pages.es/linux/lsusb.md b/pages.es/linux/lsusb.md index a7fae3f40543ba..d4bdf37241336c 100644 --- a/pages.es/linux/lsusb.md +++ b/pages.es/linux/lsusb.md @@ -1,23 +1,24 @@ # lsusb -> Muestra información sobre puertos y dispositivos USB. +> Muestra información sobre los buses USB y los dispositivos conectados a ellos. +> Más información: . -- Lista todos los dispositivos USB disponibles: +- Muestra todos los dispositivos USB disponibles: `lsusb` -- Lista la jerarquía de dispositivos USB en forma de árbol: +- Lista la jerarquía USB como un árbol: -`lsusb -t` +`lsusb {{[-t|--tree]}}` -- Lista los dispositivos USB de forma verbosa: +- Muestra información detallada sobre los dispositivos USB: -`lsusb --verbose` +`lsusb {{[-v|--verbose]}}` -- Lista información detallada acerca de un dispositivo USB determinado: +- Muestra información detallada sobre un dispositivo USB: -`lsusb -D {{dispositivo}}` +`lsusb {{[-v|--verbose]}} -s {{bus}}:{{número de dispositivo}}` -- Lista solo dispositivos con un ID de ensamblador y producto determinado: +- Muestra sólo los dispositivos con un ID de proveedor y producto determinados: -`lsusb -d {{ensamblador}}:{{producto}}` +`lsusb -d {{vendedor}}:{{producto}}` diff --git a/pages.es/linux/lvcreate.md b/pages.es/linux/lvcreate.md new file mode 100644 index 00000000000000..f16f21067b5c89 --- /dev/null +++ b/pages.es/linux/lvcreate.md @@ -0,0 +1,21 @@ +# lvcreate + +> Crea un volumen lógico en un grupo de volumen existente. Un grupo de volumen es una colección de volúmenes lógicos y físicos. +> Vea también: `lvm`. +> Más información: . + +- Crea un volumen lógico de 10 GB en el grupo de volumen vg1: + +`lvcreate {{[-L|--size]}} {{10G}} {{vg1}}` + +- Crea un volumen lógico lineal de 1500 MB llamado mylv en el grupo de volumen vg1: + +`lvcreate {{[-L|--size]}} {{1500}} {{[-n|--name]}} {{mylv}} {{vg1}}` + +- Crea un volumen lógico llamado mylv que utiliza el 60% del espacio total del grupo de volumen vg1: + +`lvcreate {{[-l|--extents]}} {{60%VG}} {{[-n|--name]}} {{mylv}} {{vg1}}` + +- Crea un volumen lógico llamado mylv que utiliza todo el espacio sin asignar del grupo de volumen vg1: + +`lvcreate {{[-l|--extents]}} {{100%FREE}} {{[-n|--name]}} {{mylv}} {{vg1}}` diff --git a/pages.es/linux/lvdisplay.md b/pages.es/linux/lvdisplay.md new file mode 100644 index 00000000000000..90e18845fe8ce7 --- /dev/null +++ b/pages.es/linux/lvdisplay.md @@ -0,0 +1,17 @@ +# lvdisplay + +> Imprime información sobre Logical Volumes Manager (LVM). +> Vea también: `lvm`. +> Más información: . + +- Muestra información sobre todos los volúmenes lógicos: + +`sudo lvdisplay` + +- Muestra información sobre todos los volúmenes lógicos dentro del grupo de volúmenes vg1: + +`sudo lvdisplay {{vg1}}` + +- Muestra información sobre volumen lógico lv1 dentro del grupo de volúmenes vg1: + +`sudo lvdisplay {{vg1/lv1}}` diff --git a/pages.es/linux/lvextend.md b/pages.es/linux/lvextend.md new file mode 100644 index 00000000000000..36525915f45354 --- /dev/null +++ b/pages.es/linux/lvextend.md @@ -0,0 +1,21 @@ +# lvextend + +> Aumenta el tamaño de un volumen lógico. +> Vea también: `lvm`. +> Más información: . + +- Aumenta el tamaño de un volumen a 120 GB: + +`sudo lvextend {{[-L|--size]}} {{120G}} {{volumen_logico}}` + +- Aumenta el tamaño de un volumen por 40 GB, así como a los sistemas subyacentes: + +`sudo lvextend {{[-L|--size]}} +{{40G}} {{[-r|--resizefs]}} {{volumen_logico}}` + +- Aumenta el tamaño de un volumen al 100% del espacio físico libre del volumen: + +`sudo lvextend {{[-l|--extents]}} +{{100}}%FREE {{volumen_logico}}` + +- Aumenta el tamaño de un volumen al 100% del espacio físico libre del volumen y redimensiona a los sistemas subyacentes: + +`sudo lvextend {{[-l|--extents]}} +{{100}}%FREE {{[-r|--resizefs]}} {{volumen_logico}}` diff --git a/pages.es/linux/lvm.md b/pages.es/linux/lvm.md new file mode 100644 index 00000000000000..3358fef7014649 --- /dev/null +++ b/pages.es/linux/lvm.md @@ -0,0 +1,36 @@ +# lvm + +> Administración de volúmenes fisicos, grupos de volúmenes, y volúmenes lógicos mediante la terminal interactiva de Logical Volume Manager (LVM). +> Más información: . + +- Inicia la terminal interactiva Logical Volume Manager: + +`sudo lvm` + +- Inicializa un disco o partición para ser utilizado como volumen físico: + +`sudo lvm pvcreate {{/dev/sdXY}}` + +- Imprime información sobre volúmenes físicos: + +`sudo lvm pvdisplay` + +- Crea un grupo de volumen llamado vg1 a partir del volumen físico en `/dev/sdXY`: + +`sudo lvm vgcreate {{vg1}} {{/dev/sdXY}}` + +- Imprime información sobre grupos de volumen: + +`sudo lvm vgdisplay` + +- Crea un volumen lógico con un tamaño de 10G a partir del grupo de volumen vg1: + +`sudo lvm lvcreate {{[-L|--size]}} {{10G}} {{vg1}}` + +- Imprime información sobre volúmenes lógicos: + +`sudo lvm lvdisplay` + +- Imprime ayuda para un comando específico: + +`lvm help {{command}}` diff --git a/pages.es/linux/lvreduce.md b/pages.es/linux/lvreduce.md new file mode 100644 index 00000000000000..60f131798d76ae --- /dev/null +++ b/pages.es/linux/lvreduce.md @@ -0,0 +1,13 @@ +# lvreduce + +> Reduce el tamaño de un volumen lógico. +> Vea también: `lvm`. +> Más información: . + +- Reduce el tamaño de un volumen a 120GB: + +`lvreduce {{[-L|--size]}} {{120G}} {{volumen_logico}}` + +- Reduce el tamaño de un volumen en 40GB así como a los sistemas subyacentes: + +`lvreduce {{[-L|--size]}} -{{40G}} {{[-r|--resizefs]}} {{volumen_logico}}` diff --git a/pages.es/linux/lvremove.md b/pages.es/linux/lvremove.md new file mode 100644 index 00000000000000..4d20b37c8b7575 --- /dev/null +++ b/pages.es/linux/lvremove.md @@ -0,0 +1,13 @@ +# lvremove + +> Elimina volúmenes lógicos. +> Vea también: `lvm`. +> Más información: . + +- Elimina un volumen lógico de un grupo de volumen: + +`sudo lvremove {{grupo_de_volumen}}/{{volumen_lógico}}` + +- Elimina todos los volúmenes lógicos en un grupo de volumen: + +`sudo lvremove {{grupo_de_volumen}}` diff --git a/pages.es/linux/lvresize.md b/pages.es/linux/lvresize.md new file mode 100644 index 00000000000000..ab557a39550c9f --- /dev/null +++ b/pages.es/linux/lvresize.md @@ -0,0 +1,21 @@ +# lvresize + +> Cambia el tamaño de un volumen lógico. +> Vea también: `lvm`. +> Más información: . + +- Cambia el tamaño de un volumen lógico a 120 GB: + +`lvresize --size {{120G}} {{grupo_de_volumen}}/{{volumen_logico}}` + +- Extiende el tamaño de un volumen lógico así como el de los sistemas subyacentes en 120 GB: + +`lvresize --size +{{120G}} --resizefs {{grupo_de_volumen}}/{{volumen_logico}}` + +- Extiende el tamaño de un volumen lógico al 100% del espacio físico libre del volumen: + +`lvresize --size {{100}}%FREE {{grupo_de_volumen}}/{{volumen_logico}}` + +- Reduce el tamaño de un volumen lógico así como a los sistemas subyacentes en 120 GB: + +`lvresize --size -{{120G}} --resizefs {{grupo_de_volumen}}/{{volumen_logico}}` diff --git a/pages.es/linux/lvs.md b/pages.es/linux/lvs.md new file mode 100644 index 00000000000000..8caf748288ae89 --- /dev/null +++ b/pages.es/linux/lvs.md @@ -0,0 +1,33 @@ +# lvs + +> Imprime información sobre volúmenes lógicos. +> Vea también: `lvm`. +> Más información: . + +- Muestra información sobre volúmenes lógicos: + +`lvs` + +- Muestra todos los volúmenes lógicos: + +`lvs {{[-a|--all]}}` + +- Cambia la visualización por defecto para mostrar más detalles: + +`lvs {{[-v|--verbose]}}` + +- Muestre solo campos especificos: + +`lvs {{[-o|--options]}} {{nombre_campo_1}},{{nombre_campo_2}}` + +- Añade un campo a la visualización por defecto: + +`lvs {{[-o|--options]}} +{{nombre_campo}}` + +- Suprime linea de encabezado: + +`lvs --noheadings` + +- Usa un separador para separar los campos: + +`lvs --separator {{=}}` diff --git a/pages.es/linux/lxc-console.md b/pages.es/linux/lxc-console.md new file mode 100644 index 00000000000000..0c2adbb3491ebe --- /dev/null +++ b/pages.es/linux/lxc-console.md @@ -0,0 +1,20 @@ +# lxc-console + +> Se conecta a un contenedor. +> Más información: . + +- Inicia una consola en un contenedor: + +`agetty {{[-L|--local-line]}} {{38400}} tty1` + +- Se conecta a una consola lxc: + +`sudo lxc-console {{nombre_del_contenedor}}` + +- Sale de `lxc-console`: + +`` + +- Muestra la ayuda: + +`lxc-console {{[-?|--help]}}` diff --git a/pages.es/linux/lxc-create.md b/pages.es/linux/lxc-create.md new file mode 100644 index 00000000000000..b3c69f7dfff2fb --- /dev/null +++ b/pages.es/linux/lxc-create.md @@ -0,0 +1,20 @@ +# lxc-create + +> Crea contenedores linux. +> Más información: . + +- Crea un contenedor interactivamente en `/var/lib/lxc/`: + +`sudo lxc-create {{[-n|--name]}} {{contenedor}} {{[-t|--template]}} download` + +- Crea un contenedor en un directorio de destino: + +`sudo lxc-create {{[-P|--lxcpath]}} {{/ruta/al/directorio/}} {{[-n|--name]}} {{contenedor}} {{[-t|--template]}} download` + +- Crea un contenedor pasando opciones a una plantilla: + +`sudo lxc-create {{[-n|--name]}} {{nombre}} {{[-t|--template]}} download -- {{[-d|--dist]}} {{nombre-distro}} {{[-r|--release]}} {{versión-de-lanzamiento}} {{[-a|--arch]}} {{arch}}` + +- Muestra ayuda: + +`lxc-create {{[-?|--help]}}` diff --git a/pages.es/linux/lxc-ls.md b/pages.es/linux/lxc-ls.md new file mode 100644 index 00000000000000..e8ff59111c5a4a --- /dev/null +++ b/pages.es/linux/lxc-ls.md @@ -0,0 +1,20 @@ +# lxc-ls + +> Lista contenedores Linux. +> Más información: . + +- Lista contenedores activos (incluyendo congelados y en ejecución): + +`lxc-ls --active` + +- Lista solo contenedores congelados: + +`lxc-ls --frozen` + +- Lista solo contenedores parados: + +`lxc-ls --stopped` + +- Lista contenedores en una salida elegante, basada en columnas: + +`sudo lxc-ls {{[-f|--fancy]}}` diff --git a/pages.es/linux/lynis.md b/pages.es/linux/lynis.md new file mode 100644 index 00000000000000..7f1acffad4126a --- /dev/null +++ b/pages.es/linux/lynis.md @@ -0,0 +1,16 @@ +# lynis + +> Herramienta de seguridad y auditoría del sistema. +> Más información: . + +- Comprueba que Lynis está actualizado: + +`sudo lynis update info` + +- Realiza una auditoría del sistema: + +`sudo lynis audit system` + +- Realiza una auditoría de un Dockerfile: + +`sudo lynis audit dockerfile {{ruta/al/dockerfile}}` diff --git a/pages.es/linux/mac2unix.md b/pages.es/linux/mac2unix.md new file mode 100644 index 00000000000000..98eb8e51904d0e --- /dev/null +++ b/pages.es/linux/mac2unix.md @@ -0,0 +1,22 @@ +# mac2unix + +> Cambia los finales de línea de estilo macOS al estilo Unix. +> Reemplaza CR con LF. +> Vea también `unix2dos`, `unix2mac` y `dos2unix`. +> Más información: . + +- Cambia los finales de línea de un archivo: + +`mac2unix {{ruta/al/archivo}}` + +- Crea una copia con finales de línea de estilo Unix: + +`mac2unix {{[-n|--newfile]}} {{ruta/al/archivo}} {{ruta/a/nuevo_archivo}}` + +- Muestra información del archivo: + +`mac2unix {{[-i|--info]}} {{ruta/al/archivo}}` + +- Mantiene/añade/elimina marca de orden de byte (Byte Order Mark): + +`mac2unix --{{keep-bom|add-bom|remove-bom}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/mangohud.md b/pages.es/linux/mangohud.md new file mode 100644 index 00000000000000..78209f86e70500 --- /dev/null +++ b/pages.es/linux/mangohud.md @@ -0,0 +1,8 @@ +# mangohud + +> Muestra un HUD de monitorización sobre una aplicación gráfica Vulkan u OpenGL. +> Más información: . + +- Utiliza `mangohud` sobre una aplicación: + +`mangohud {{comando}}` diff --git a/pages.es/linux/megadl.md b/pages.es/linux/megadl.md new file mode 100644 index 00000000000000..e38b8275868f7a --- /dev/null +++ b/pages.es/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Este comando es un alias de `megatools-dl`. + +- Vea la documentación del comando original: + +`tldr megatools-dl` diff --git a/pages.es/linux/megatools-dl.md b/pages.es/linux/megatools-dl.md new file mode 100644 index 00000000000000..04846ff228cf78 --- /dev/null +++ b/pages.es/linux/megatools-dl.md @@ -0,0 +1,21 @@ +# megatools-dl + +> Descarga archivos de `mega.nz`. +> Parte del paquete de utilidades `megatools`. +> Más información: . + +- Descarga los archivos de un enlace 'mega.nz' al directorio actual: + +`megatools-dl {{https://mega.nz/...}}` + +- Descarga los archivos de un enlace 'mega.nz` a un directorio específico: + +`megatools-dl --path {{ruta/al/directorio}} {{https://mega.nz/...}}` + +- Permite elegir interactivamente qué archivos descargar: + +`megatools-dl --choose-files {{https://mega.nz/...}}` + +- Limita la velocidad de descarga en KiB/s: + +`megatools-dl --limit-speed {{velocidad}} {{https://mega.nz/...}}` diff --git a/pages.es/linux/mkfs.erofs.md b/pages.es/linux/mkfs.erofs.md new file mode 100644 index 00000000000000..cad34e6bfebb42 --- /dev/null +++ b/pages.es/linux/mkfs.erofs.md @@ -0,0 +1,20 @@ +# mkfs.erofs + +> Crea un sistema de archivos EROFS en una imagen. +> Más información: . + +- Crea un sistema de archivos EROFS basado en el directorio raíz: + +`mkfs.erofs image.erofs root/` + +- Crea una imagen EROFS con un UUID específico: + +`mkfs.erofs -U {{UUID}} image.erofs root/` + +- Crea una imagen EROFS comprimida: + +`mkfs.erofs -zlz4hc image.erofs root/` + +- Crea una imagen EROFS en la que todos los archivos pertenezcan a root: + +`mkfs.erofs --all-root image.erofs root/` diff --git a/pages.es/linux/mkfs.f2fs.md b/pages.es/linux/mkfs.f2fs.md new file mode 100644 index 00000000000000..9ae721f5674353 --- /dev/null +++ b/pages.es/linux/mkfs.f2fs.md @@ -0,0 +1,12 @@ +# mkfs.f2fs + +> Crea un sistema de archivos F2FS en una partición. +> Más información: . + +- Crea un sistema de archivos F2FS en la primera partición del dispositivo b (`sdb1`): + +`sudo mkfs.f2fs {{/dev/sdb1}}` + +- Crea un sistema de archivos F2FS con una etiqueta de volumen: + +`sudo mkfs.f2fs -l {{etiqueta_volumen}} {{/dev/sdb1}}` diff --git a/pages.es/linux/mkfs.vfat.md b/pages.es/linux/mkfs.vfat.md new file mode 100644 index 00000000000000..448975791902b4 --- /dev/null +++ b/pages.es/linux/mkfs.vfat.md @@ -0,0 +1,7 @@ +# mkfs.vfat + +> Este comando es un alias de `mkfs.fat`. + +- Vea la documentación del comando original: + +`tldr mkfs.fat` diff --git a/pages.es/linux/mklost+found.md b/pages.es/linux/mklost+found.md new file mode 100644 index 00000000000000..fa47763584a82f --- /dev/null +++ b/pages.es/linux/mklost+found.md @@ -0,0 +1,8 @@ +# mklost+found + +> Crea un directorio lost+found. +> Más información: . + +- Crea un directorio `lost+found` en el directorio actual: + +`mklost+found` diff --git a/pages.es/linux/modinfo.md b/pages.es/linux/modinfo.md new file mode 100644 index 00000000000000..e2a82fd5ce5c0c --- /dev/null +++ b/pages.es/linux/modinfo.md @@ -0,0 +1,13 @@ +# modinfo + +> Extrae información sobre un módulo del núcleo Linux. +> Vea también: `kmod`, para otros comandos de gestión de módulos. +> Más información: . + +- Lista todos los atributos de un módulo del núcleo: + +`modinfo {{módulo_del_núcleo}}` + +- Lista solo el atributo especificado: + +`modinfo -F {{author|description|license|parm|filename}} {{módulo_del_núcleo}}` diff --git a/pages.es/linux/modprobe.md b/pages.es/linux/modprobe.md new file mode 100644 index 00000000000000..220a6570a04123 --- /dev/null +++ b/pages.es/linux/modprobe.md @@ -0,0 +1,25 @@ +# modprobe + +> Añade o elimina módulos del núcleo Linux. +> Vea también: `kmod`, para otros comandos de gestión de módulos. +> Más información: . + +- Finge cargar un módulo en el kernel, pero no lo hace realmente: + +`sudo modprobe --dry-run {{nombre_del_módulo}}` + +- Carga un módulo en el kernel: + +`sudo modprobe {{nombre_del_módulo}}` + +- Elimina un módulo del núcleo: + +`sudo modprobe --remove {{nombre_del_módulo}}` + +- Elimina un módulo y los que dependen de él desde el núcleo: + +`sudo modprobe {{[-r|--remove]}} --remove-holders {{nombre_del_módulo}}` + +- Muestra las dependencias de un módulo del kernel: + +`sudo modprobe --show-depends {{nombre_del_módulo}}` diff --git a/pages.es/linux/mopac.md b/pages.es/linux/mopac.md new file mode 100644 index 00000000000000..50925870504ce3 --- /dev/null +++ b/pages.es/linux/mopac.md @@ -0,0 +1,12 @@ +# mopac + +> MOPAC (Molecular Orbital PACkage) es un programa semiempírico de química cuántica basado en la aproximación NDDO de Dewar y Thiel. +> Más información: . + +- Realiza los cálculos a partir de un archivo de entrada (`.mop`, `.dat` y `.arc`): + +`mopac {{ruta/al/archivo_de_entrada}}` + +- Mínimo ejemplo de trabajo con HF que escribe en el directorio actual y lo guarda en el archivo de salida: + +`touch test.out; echo "PM7\n#comment\n\nH 0.95506 0.05781 -0.03133\nF 1.89426 0.05781 -0.03133" > test.mop; mopac test.mop & tail -f test.out` diff --git a/pages.es/linux/mount.cifs.md b/pages.es/linux/mount.cifs.md new file mode 100644 index 00000000000000..b060d476e79146 --- /dev/null +++ b/pages.es/linux/mount.cifs.md @@ -0,0 +1,17 @@ +# mount.cifs + +> Monta SMB (Server Message Block) o CIFS (Common Internet File System). +> Nota: también puede hacer lo mismo pasando la opción `-t cifs` a `mount`. +> Más información: . + +- Conecta el nombre de usuario especificado o `$USER` por defecto (se le pedirá una contraseña): + +`mount.cifs -o user={{usuario}} //{{servidor}}/{{nombre_del_share}} {{punto_de_montaje}}` + +- Conecta como usuario invitado (sin contraseña): + +`mount.cifs -o guest //{{servidor}}/{{nombre_del_share}} {{punto_de_montaje}}` + +- Establece información de propiedad para el directorio montado: + +`mount.cifs -o uid={{id_del_usuario|usuario}},gid={{id_del_grupo|nombre_del_grupo}} //{{servidor}}/{{nombre_del_share}} {{punto_de_montaje}}` diff --git a/pages.es/linux/mount.ddi.md b/pages.es/linux/mount.ddi.md new file mode 100644 index 00000000000000..2d402cb6bd2b59 --- /dev/null +++ b/pages.es/linux/mount.ddi.md @@ -0,0 +1,9 @@ +# mount.ddi + +> Monta imágenes de disco reconocibles. +> Vea `systemd-dissect` para otros comandos relevantes para DDIs. +> Más información: . + +- Monta una imagen con un sistema operativo: + +`mount.ddi {{ruta/a/imagen.raw}} {{/mnt/image}}` diff --git a/pages.es/linux/mount.smb3.md b/pages.es/linux/mount.smb3.md new file mode 100644 index 00000000000000..a30aba6f02832f --- /dev/null +++ b/pages.es/linux/mount.smb3.md @@ -0,0 +1,8 @@ +# mount.smb3 + +> Este comando es un alias de `mount.cifs`. +> Nota: para las versiones SMB anteriores a la 3, se debe utilizar `mount.cifs`. + +- Vea la documentación para el comando original: + +`tldr mount.cifs` diff --git a/pages.es/linux/nala.md b/pages.es/linux/nala.md new file mode 100644 index 00000000000000..6ec95baeb42614 --- /dev/null +++ b/pages.es/linux/nala.md @@ -0,0 +1,37 @@ +# nala + +> Gestor de paquetes con interfaz moderna. +> Interfaz para la API `python-apt`. +> Más información: . + +- Instala un paquete o lo actualiza a la última versión disponible: + +`sudo nala install {{paquete}}` + +- Desinstala un paquete: + +`sudo nala remove {{paquete}}` + +- Desinstala un paquete y borra sus archivos de configuración: + +`nala purge {{paquete}}` + +- Busca nombres de paquetes y sus descripciones mediante una palabra, una expresión regular (por defecto) o mediante glob: + +`nala search "{{patrón}}"` + +- Actualiza la lista de paquetes disponibles e instala las actualizaciones: + +`sudo nala upgrade` + +- Elimina todos los paquetes y dependencias no utilizados de tu sistema: + +`sudo nala autoremove` + +- Búsqueda de los espejos más rápidos para mejorar tiempos de descarga: + +`sudo nala fetch` + +- Visualiza el histórico de transacciones: + +`nala history` diff --git a/pages.es/linux/nautilus.md b/pages.es/linux/nautilus.md new file mode 100644 index 00000000000000..d33b2bd43067fd --- /dev/null +++ b/pages.es/linux/nautilus.md @@ -0,0 +1,33 @@ +# nautilus + +> Explorador de archivos por defecto para el entorno de escritorio GNOME. +> También conocido como Archivos de GNOME. +> Más información: . + +- Inicia Nautilus: + +`nautilus` + +- Inicia Nautilus como usuario root: + +`nautilus admin:/` + +- Inicia Nautilus y muestra un directorio específico: + +`nautilus {{ruta/al/directorio}}` + +- Inicia Nautilus con un archivo o directorio específico seleccionado: + +`nautilus --select {{ruta/al/archivo_o_directorio}}` + +- Inicia Nautilus en una ventana separada: + +`nautilus --new-window` + +- Cierra todas las instancias de Nautilus: + +`nautilus --quit` + +- Muestra la ayuda: + +`nautilus --help` diff --git a/pages.es/linux/ncal.md b/pages.es/linux/ncal.md new file mode 100644 index 00000000000000..9c3cccd7db2925 --- /dev/null +++ b/pages.es/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Este comando es un alias de `cal`. + +- Vea la documentación del comando original: + +`tldr cal` diff --git a/pages.es/linux/newgrp.md b/pages.es/linux/newgrp.md new file mode 100644 index 00000000000000..31c0601ceeed47 --- /dev/null +++ b/pages.es/linux/newgrp.md @@ -0,0 +1,12 @@ +# newgrp + +> Cambia el grupo primario de pertenencia. +> Más información: . + +- Cambia el grupo primario de pertenencia del usuario: + +`newgrp {{nombre_grupo}}` + +- Restablece el grupo primario de pertenencia al grupo por defecto del usuario `/etc/passwd`: + +`newgrp` diff --git a/pages.es/linux/nixos-container.md b/pages.es/linux/nixos-container.md new file mode 100644 index 00000000000000..772ee9565bd3f9 --- /dev/null +++ b/pages.es/linux/nixos-container.md @@ -0,0 +1,28 @@ +# nixos-container + +> Inicia contenedores de NixOS usando contenedores de Linux. +> Más información: . + +- Lista contenedores activos: + +`sudo nixos-container list` + +- Crea un contenedor de NixOS con un archivo de configuración específico: + +`sudo nixos-container create {{nombre_del_contenedor}} --config-file {{ruta_a_la_configuracion_de_nix}}` + +- Inicia, detiene, termina o destruye un contenedor específico: + +`sudo nixos-container {{start|stop|terminate|destroy|status}} {{nombre_del_contenedor}}` + +- Ejecuta un comando dentro de un contenedor activo: + +`sudo nixos-container run {{nombre_del_contenedor}} -- {{comando}} {{argumentos_del_comando}}` + +- Actualiza la configuración de un contenedor: + +`sudo $EDITOR /var/lib/container/{{nombre_del_contenedor}}/etc/nixos/configuration.nix && sudo nixos-container update {{nombre_del_contenedor}}` + +- Entra a una sesión de shell interactivo en un contenedor que ya está activo: + +`sudo nixos-container root-login {{nombre_del_contenedor}}` diff --git a/pages.es/linux/nixos-option.md b/pages.es/linux/nixos-option.md new file mode 100644 index 00000000000000..7219f5445a90b0 --- /dev/null +++ b/pages.es/linux/nixos-option.md @@ -0,0 +1,28 @@ +# nixos-option + +> Inspecciona una configuración de NixOS. +> Más información: . + +- Lista todas las subclaves de una clave de opciones proporcionadas: + +`nixos-option {{clave}}` + +- Lista los módulos de arranque del kernel actuales: + +`nixos-option boot.kernelModules` + +- Lista claves autorizadas para un usuario específico: + +`nixos-option users.users.{{nombre_del_usuario}}.openssh.authorizedKeys.{{archivoDeClaves|clave}}` + +- Lista todos los constructores remotos: + +`nixos-option nix.buildMachines` + +- Lista todas las subclaves de una clave proporcionada en otra configuración de NixOS: + +`NIXOS_CONFIG={{ruta_a_configuracion.nix}} nixos-option {{clave}}` + +- Muestra recursivamente todos los valores de un usuario: + +`nixos-option {{[-r|--recursive]}} users.users.{{usuario}}` diff --git a/pages.es/linux/nixos-rebuild.md b/pages.es/linux/nixos-rebuild.md new file mode 100644 index 00000000000000..60ee5147ab64dd --- /dev/null +++ b/pages.es/linux/nixos-rebuild.md @@ -0,0 +1,36 @@ +# nixos-rebuild + +> Reconfigura una máquina de NixOS. +> Más información: . + +- Construye y cambia a la configuración nueva, haciéndola la predeterminada al arrancar el sistema: + +`sudo nixos-rebuild switch` + +- Construye y cambia a la configuración nueva, haciéndola la predeterminada al arrancar el sistema (con un nombre): + +`sudo nixos-rebuild switch {{[-p|--profile-name]}} {{nombre}}` + +- Construye y cambia a la configuración nueva, haciéndola la predeterminada al arrancar el sistema e instalando actualizaciones: + +`sudo nixos-rebuild switch --upgrade` + +- Revierte cambios a la configuración, cambiando a la generación previa: + +`sudo nixos-rebuild switch --rollback` + +- Construye la configuración nueva y la predetermina sin cambiar a ella: + +`sudo nixos-rebuild boot` + +- Construye y activa la configuración nueva, pero no la haga la entrada de arranque predeterminada (solo para finalidad de pruebas): + +`sudo nixos-rebuild test` + +- Construye la configuración nueva y la abre en un hipervisor: + +`sudo nixos-rebuild build-vm` + +- Lista generaciones disponibles similarmente al menú del cargador de arranque: + +`nixos-rebuild list-generations` diff --git a/pages.es/linux/nm-online.md b/pages.es/linux/nm-online.md new file mode 100644 index 00000000000000..a711c9d8f51a80 --- /dev/null +++ b/pages.es/linux/nm-online.md @@ -0,0 +1,12 @@ +# nm-online + +> Pregunte a NetworkManager si la red está conectada. +> Más información: . + +- Averigua si la red está conectada e imprime el resultado en `stdout`: + +`nm-online` + +- Espera durante `n` segundos por una conexión (30" por defecto): + +`nm-online --timeout {{n}}` diff --git a/pages.es/linux/nmcli-agent.md b/pages.es/linux/nmcli-agent.md new file mode 100644 index 00000000000000..581856dd412f84 --- /dev/null +++ b/pages.es/linux/nmcli-agent.md @@ -0,0 +1,17 @@ +# nmcli agent + +> Ejecuta `nmcli` como agente secreto de NetworkManager o agente polkit. +> Este subcomando también se puede llamar con `nmcli a`. +> Más información: . + +- Registra `nmcli` como agente secreto y escucha solicitudes secretas: + +`nmcli {{[a|agent]}} {{[s|secret]}}` + +- Registra `nmcli` como agente polkit y escucha solicitudes de autorización: + +`nmcli {{[a|agent]}} {{[p|polkit]}}` + +- Registra `nmcli` como agente secreto y agente de polkit: + +`nmcli {{[a|agent]}} {{[a|all]}}` diff --git a/pages.es/linux/nmcli-connection.md b/pages.es/linux/nmcli-connection.md new file mode 100644 index 00000000000000..944d54df7823b3 --- /dev/null +++ b/pages.es/linux/nmcli-connection.md @@ -0,0 +1,33 @@ +# nmcli connection + +> Gestiona conexiones con NetworkManager. +> Este subcomando puede invocarse también con `nmcli c`. +> Más información: . + +- Lista todas las conexiones NetworkManager (muestra nombre, UUID, tipo y dispositivo): + +`nmcli {{[c|connection]}}` + +- Activa una conexión: + +`nmcli {{[c|connection]}} {{[u|up]}} {{uuid}}` + +- Desactiva una conexión: + +`nmcli {{[c|connection]}} {{[d|down]}} {{uuid}}` + +- Crea una conexión de doble pila autoconfigurada: + +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{nombre_de_la_interfaz}} type {{ethernet}} ipv4.method {{auto}} ipv6.method {{auto}}` + +- Crea una conexión estática exclusivamente IPv6: + +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{nombre_de_la_interfaz}} type {{ethernet}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}` + +- Crea una conexión estática exclusivamente IPv4: + +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{nombre_de_la_interfaz}} type {{ethernet}} ip4 {{10.0.0.7/8}} gw4 {{10.0.0.1}} ipv4.dns {{10.0.0.1}} ipv6.method {{ignore}}` + +- Crea una conexión VPN usando OpenVPN desde un archivo OVPN: + +`nmcli {{[c|connection]}} {{[i|import]}} type {{openvpn}} file {{ruta/a/vpn_config.ovpn}}` diff --git a/pages.es/linux/nmcli-device.md b/pages.es/linux/nmcli-device.md new file mode 100644 index 00000000000000..0535b9a93e0d76 --- /dev/null +++ b/pages.es/linux/nmcli-device.md @@ -0,0 +1,24 @@ +# nmcli device + +> Gestiona interfaces de red y establece nuevas conexiones WiFi usando NetworkManager. +> Más información: . + +- Muestra los estados de todas las interfaces de red: + +`nmcli {{[d|device]}}` + +- Muestra los puntos de acceso WiFi disponibles: + +`nmcli {{[d|device]}} {{[w|wifi]}}` + +- Se conecta a una red WiFi con el SSID especificado (se te pedirá una contraseña): + +`nmcli {{[d|device]}} {{[w|wifi]}} {{[c|connect]}} {{ssid}} {{[-a|--ask]}}` + +- Muestra la contraseña y el código QR para la red WiFi actual: + +`nmcli {{[d|device]}} {{[w|wifi]}} {{[s|show-password]}}` + +- Imprime información detallada sobre un dispositivo: + +`nmcli {{[d|device]}} {{[sh|show]}} {{wlan0}}` diff --git a/pages.es/linux/nmcli-general.md b/pages.es/linux/nmcli-general.md new file mode 100644 index 00000000000000..153dec74949109 --- /dev/null +++ b/pages.es/linux/nmcli-general.md @@ -0,0 +1,29 @@ +# nmcli general + +> Administra los ajustes generales de NetworkManager. +> Este subcomando también se puede invocar con `nmcli g`. +> Más información: . + +- Muestra el estado general de NetworkManager: + +`nmcli general` + +- Muestra el nombre del host del dispositivo actual: + +`nmcli general hostname` + +- Cambia el nombre del host del dispositivo actual: + +`sudo nmcli general hostname {{nuevo_nombre}}` + +- Muestra los permisos de NetworkManager: + +`nmcli general permissions` + +- Muestra el nivel actual de registro (logging) y los dominios: + +`nmcli general logging` + +- Establece el nivel de registro y/o dominios (mira `man NetworkManager.conf` para todos los dominios disponibles): + +`nmcli general logging level {{INFO|OFF|ERR|WARN|DEBUG|TRACE}} domain {{dominio_1,dominio_2,...}}` diff --git a/pages.es/linux/nmcli-monitor.md b/pages.es/linux/nmcli-monitor.md new file mode 100644 index 00000000000000..5fed9eb8dd6b2d --- /dev/null +++ b/pages.es/linux/nmcli-monitor.md @@ -0,0 +1,8 @@ +# nmcli monitor + +> Monitorea cambios en el estado de conexión de NetworkManager. +> Más información: . + +- Inicia el monitoreo de cambios en NetworkManager: + +`nmcli {{[m|monitor]}}` diff --git a/pages.es/linux/nmcli-networking.md b/pages.es/linux/nmcli-networking.md new file mode 100644 index 00000000000000..ed968858316d5d --- /dev/null +++ b/pages.es/linux/nmcli-networking.md @@ -0,0 +1,21 @@ +# nmcli networking + +> Administra el estado de red de NetworkManager. +> Este subcomando también se puede invocar con `nmcli n`. +> Más información: . + +- Muestra el estado de red de NetworkManager: + +`nmcli networking` + +- Activa o desactiva redes y todas las interfaces gestionadas por NetworkManager: + +`nmcli networking {{on|off}}` + +- Muestra el último estado de conectividad conocido: + +`nmcli networking connectivity` + +- Muestra el estado de conectividad actual: + +`nmcli networking connectivity check` diff --git a/pages.es/linux/nmcli-radio.md b/pages.es/linux/nmcli-radio.md new file mode 100644 index 00000000000000..e13c5f695e57ed --- /dev/null +++ b/pages.es/linux/nmcli-radio.md @@ -0,0 +1,28 @@ +# nmcli radio + +> Muestra el estado de los interruptores de radio o activa/desactiva utilizando NetworkManager. +> Más información: . + +- Muestra el estado de WiFi: + +`nmcli {{[r|radio]}} {{[w|wifi]}}` + +- Enciende o apaga WiFi: + +`nmcli {{[r|radio]}} {{[w|wifi]}} {{on|off}}` + +- Muestra el estado de WWAN: + +`nmcli {{[r|radio]}} {{[ww|wwan]}}` + +- Enciende o apaga WWAN: + +`nmcli {{[r|radio]}} {{[ww|wwan]}} {{on|off}}` + +- Muestra el estado de todos los interruptores: + +`nmcli {{[r|radio]}}` + +- Activa o apaga todos los interruptores: + +`nmcli {{[r|radio]}} {{[a|all]}} {{on|off}}` diff --git a/pages.es/linux/nmcli.md b/pages.es/linux/nmcli.md new file mode 100644 index 00000000000000..56c8e59254635b --- /dev/null +++ b/pages.es/linux/nmcli.md @@ -0,0 +1,32 @@ +# nmcli + +> Gestiona la configuración de red usando NetworkManager. +> Más información: . + +- Muestra documentación para ejecutar `nmcli` como agente secreto/polkit de NetworkManager: + +`tldr nmcli agent` + +- Muestra documentación para gestionar conexiones de red: + +`tldr nmcli connection` + +- Muestra documentación para gestionar interfaces de red y establecer nuevas conexiones WiFi: + +`tldr nmcli device` + +- Muestra documentación para gestionar los ajustes generales de NetworkManager: + +`tldr nmcli general` + +- Muestra documentación para el monitor de actividad de NetworkManager: + +`tldr nmcli monitor` + +- Muestra documentación para habilitar/desactivar y comprobar el estado de las redes: + +`tldr nmcli networking` + +- Muestra documentación para la gestión de interruptores de radio (radio switches): + +`tldr nmcli radio` diff --git a/pages.es/linux/nmtui-connect.md b/pages.es/linux/nmtui-connect.md new file mode 100644 index 00000000000000..b53561206511cf --- /dev/null +++ b/pages.es/linux/nmtui-connect.md @@ -0,0 +1,7 @@ +# nmtui-connect + +> Este comando es un alias de `nmtui connect`. + +- Vea la documentación para el comando original: + +`tldr nmtui` diff --git a/pages.es/linux/nmtui-edit.md b/pages.es/linux/nmtui-edit.md new file mode 100644 index 00000000000000..7639d223998581 --- /dev/null +++ b/pages.es/linux/nmtui-edit.md @@ -0,0 +1,7 @@ +# nmtui-edit + +> Este comando es un alias de `nmtui edit`. + +- Vea la documentación para el comando original: + +`tldr nmtui` diff --git a/pages.es/linux/nmtui-hostname.md b/pages.es/linux/nmtui-hostname.md new file mode 100644 index 00000000000000..7350fea237cbc8 --- /dev/null +++ b/pages.es/linux/nmtui-hostname.md @@ -0,0 +1,7 @@ +# nmtui-hostname + +> Este comando es un alias de `nmtui hostname`. + +- Vea la documentación para el comando original: + +`tldr nmtui` diff --git a/pages.es/linux/nmtui.md b/pages.es/linux/nmtui.md new file mode 100644 index 00000000000000..adf237fe90d55d --- /dev/null +++ b/pages.es/linux/nmtui.md @@ -0,0 +1,25 @@ +# nmtui + +> Interfaz de usuario de texto para controlar NetworkManager. +> Utilice `` para navegar, tecla `` para seleccionar una opción. +> Más información: . + +- Abre la interfaz de usuario: + +`nmtui` + +- Lista las conexiones disponibles, con la opción de activarlas o desactivarlas: + +`nmtui connect` + +- Se conecta a una red dada: + +`nmtui connect {{nombre|uuid|dispositivo|SSID}}` + +- Edita, añade, elimina una red determinada: + +`nmtui edit {{nombre|identificador}}` + +- Establece el nombre de la máquina (hostname) ante la red: + +`nmtui hostname` diff --git a/pages.es/linux/nsenter.md b/pages.es/linux/nsenter.md new file mode 100644 index 00000000000000..26d451af947b46 --- /dev/null +++ b/pages.es/linux/nsenter.md @@ -0,0 +1,21 @@ +# nsenter + +> Ejecuta un nuevo comando en el espacio de nombres de un proceso en ejecución. +> Particularmente útil para imágenes Docker o jaulas chroot. +> Más información: . + +- Ejecuta un comando específico utilizando los mismos espacios de nombres como un proceso existente: + +`nsenter --target {{pid}} --all {{comando}} {{argumentos_del_comando}}` + +- Ejecuta un comando específico en el espacio de nombres mount|UTS|IPC|network|PID|user|cgroup|time de un proceso existente: + +`nsenter --target {{pid}} --{{mount|uts|ipc|net|pid|user|cgroup}} {{comando}} {{argumentos_del_comando}}` + +- Ejecuta un comando específico en los espacios de nombres UTS, time e IPC de un proceso existente: + +`nsenter --target {{pid}} --uts --time --ipc -- {{comando}} {{argumentos_del_comando}}` + +- Ejecuta un comando específico en el espacio de nombres de un proceso existente haciendo referencia a procfs: + +`nsenter --pid=/proc/{{pid}}/pid/net -- {{comando}} {{argumentos_del_comando}}` diff --git a/pages.es/linux/nstat.md b/pages.es/linux/nstat.md new file mode 100644 index 00000000000000..73a6abf396860a --- /dev/null +++ b/pages.es/linux/nstat.md @@ -0,0 +1,12 @@ +# nstat + +> Muestra las estadísticas de la red. +> Más información: . + +- Ve estadísticas de red desde la última vez que se ejecutó `nstat`: + +`nstat` + +- Ve las estadísticas de red de todos los tiempos: + +`nstat {{[-a|--ignore]}}` diff --git a/pages.es/linux/ntfsfix.md b/pages.es/linux/ntfsfix.md index 426e92978c762b..9416b2a91ac810 100644 --- a/pages.es/linux/ntfsfix.md +++ b/pages.es/linux/ntfsfix.md @@ -1,6 +1,7 @@ # ntfsfix > Arregla problemas habituales de una partición NTFS. +> Más información: . - Arregla una partición NTFS dada: diff --git a/pages.es/linux/ntpd.md b/pages.es/linux/ntpd.md new file mode 100644 index 00000000000000..e4d50ab5bec981 --- /dev/null +++ b/pages.es/linux/ntpd.md @@ -0,0 +1,16 @@ +# ntpd + +> El daemon oficial de NTP (Network Time Protocol) para sincronizar el reloj del sistema con servidores de tiempo remotos o relojes de referencia locales. +> Más información: . + +- Inicia el daemon: + +`sudo ntpd` + +- Sincroniza la hora del sistema con servidores remotos una sola vez (sale después de sincronizar): + +`sudo ntpd --quit` + +- Sincroniza una sola vez permitiendo "grandes" ajustes: + +`sudo ntpd --panicgate --quit` diff --git a/pages.es/linux/objcopy.md b/pages.es/linux/objcopy.md new file mode 100644 index 00000000000000..e7e148c95dd577 --- /dev/null +++ b/pages.es/linux/objcopy.md @@ -0,0 +1,24 @@ +# objcopy + +> Copia el contenido de un archivo de objetos a otro archivo. +> Más información: . + +- Copia datos a otro archivo: + +`objcopy {{ruta/al/archivo_de_origen}} {{ruta/al/archivo_de_destino}}` + +- Traduce ficheros de un formato a otro: + +`objcopy --input-target={{formato_de_entrada}} --output-target {{formato_de_salida}} {{ruta/al/archivo_de_origen}} {{ruta/al/archivo_de_destino}}` + +- Elimina toda la información de símbolos del archivo: + +`objcopy --strip-all {{ruta/al/archivo_de_origen}} {{ruta/al/archivo_de_destino}}` + +- Elimina la información de depuración del archivo: + +`objcopy --strip-debug {{ruta/al/archivo_de_origen}} {{ruta/al/archivo_de_destino}}` + +- Copia una sección específica del archivo de origen al archivo de destino: + +`objcopy --only-section {{section}} {{ruta/al/archivo_de_origen}} {{ruta/al/archivo_de_destino}}` diff --git a/pages.es/linux/opera-stable.md b/pages.es/linux/opera-stable.md new file mode 100644 index 00000000000000..758d7f77e64902 --- /dev/null +++ b/pages.es/linux/opera-stable.md @@ -0,0 +1,8 @@ +# opera-stable + +> Este comando es un alias de `chromium`. +> Más información: . + +- Vea la documentación para el comando original: + +`tldr chromium` diff --git a/pages.es/linux/opkg.md b/pages.es/linux/opkg.md new file mode 100644 index 00000000000000..b6bdf9ef78e647 --- /dev/null +++ b/pages.es/linux/opkg.md @@ -0,0 +1,36 @@ +# opkg + +> Un gestor de paquetes ligero utilizado para instalar paquetes OpenWrt. +> Más información: . + +- Instala un paquete: + +`opkg install {{paquete}}` + +- Elimina un paquete: + +`opkg remove {{paquete}}` + +- Actualiza la lista de paquetes disponibles: + +`opkg update` + +- Actualiza uno o varios paquetes específicos: + +`opkg upgrade {{paquete(s)}}` + +- Muestra información sobre un paquete concreto: + +`opkg info {{paquete}}` + +- Lista todos los paquetes disponibles: + +`opkg list` + +- Averigua a qué paquete pertenece un archivo: + +`opkg search {{ruta/al/archivo}}` + +- Lista todos los archivos de un paquete: + +`opkg files {{paquete}}` diff --git a/pages.es/linux/pacaur.md b/pages.es/linux/pacaur.md new file mode 100644 index 00000000000000..da3cefae1741b2 --- /dev/null +++ b/pages.es/linux/pacaur.md @@ -0,0 +1,28 @@ +# pacaur + +> Utilidad de Arch Linux para construir e instalar paquetes del repositorio de usuarios de Arch. +> Más información: . + +- Sincroniza y actualiza todos los paquetes (incluye AUR): + +`pacaur -Syu` + +- Sincroniza y actualiza solo los paquetes AUR: + +`pacaur -Syua` + +- Instala un nuevo paquete (incluye AUR): + +`pacaur -S {{paquete}}` + +- Elimina un paquete y sus dependencias (incluye paquetes AUR): + +`pacaur -Rs {{paquete}}` + +- Busca una palabra clave en la base de datos de paquetes (incluye AUR): + +`pacaur -Ss {{palabra_clave}}` + +- Lista todos los paquetes instalados en este momento (incluye paquetes AUR): + +`pacaur -Qs` diff --git a/pages.es/linux/paccache.md b/pages.es/linux/paccache.md new file mode 100644 index 00000000000000..5cef6d4e636df9 --- /dev/null +++ b/pages.es/linux/paccache.md @@ -0,0 +1,20 @@ +# paccache + +> Una utilidad de limpieza de caché de `pacman`. +> Más información: . + +- Elimina todas las versiones de paquetes de `pacman` excepto las últimas 3: + +`paccache {{[-r|--remove]}}` + +- Define el número de versiones de paquetes para conservar: + +`paccache {{[-rk|--remove --keep]}} {{número_de_versiones}}` + +- Realiza una ejecución-en-seco y muestra el número de paquetes candidatos a ser eliminados: + +`paccache {{[-d|--dryrun]}}` + +- Mueve los paquetes candidatos a un directorio en lugar de eliminarlos: + +`paccache {{[-m|--move]}} {{ruta/al/directorio}}` diff --git a/pages.es/linux/pacgraph.md b/pages.es/linux/pacgraph.md new file mode 100644 index 00000000000000..0ba0dd3f8a12ec --- /dev/null +++ b/pages.es/linux/pacgraph.md @@ -0,0 +1,36 @@ +# pacgraph + +> Dibuja un gráfico de los paquetes instalados a PNG/SVG/GUI/consola. +> Más información: . + +- Crea un gráfico SVG y PNG: + +`pacgraph` + +- Crear un gráfico SVG: + +`pacgraph --svg` + +- Imprime resumen en la consola: + +`pacgraph --console` + +- Anula el nombre de archivo/ubicación por defecto (Nota: No especifiques la extensión del archivo): + +`pacgraph --file={{ruta/al/archivo}}` + +- Cambia el color de los paquetes que no son dependencias: + +`pacgraph --top={{color}}` + +- Cambia el color de los paquetes dependientes: + +`pacgraph --dep={{color}}` + +- Cambia el color de fondo de un gráfico: + +`pacgraph --background={{color}}` + +- Cambia el color de los enlaces entre paquetes: + +`pacgraph --link={{color}}` diff --git a/pages.es/linux/pacman-d.md b/pages.es/linux/pacman-d.md new file mode 100644 index 00000000000000..183c2b55f9486f --- /dev/null +++ b/pages.es/linux/pacman-d.md @@ -0,0 +1,7 @@ +# pacman -D + +> Este comando es un alias de `pacman --database`. + +- Vea la documentación del comando original: + +`tldr pacman database` diff --git a/pages.es/linux/pacman-database.md b/pages.es/linux/pacman-database.md new file mode 100644 index 00000000000000..052f07cc0925fc --- /dev/null +++ b/pages.es/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Opera en la base de datos de paquetes de Arch Linux. +> Modifica ciertos atributos de los paquetes instalados. +> Vea también: `pacman`. +> Más información: . + +- Marca un paquete como instalado implícitamente: + +`sudo pacman --database --asdeps {{paquete}}` + +- Marca un paquete como instalado explícitamente: + +`sudo pacman --database --asexplicit {{paquete}}` + +- Verifica que todas las dependencias del paquete estén instaladas: + +`pacman --database --check` + +- Verifica los repositorios para asegurarse de que todas las dependencias especificadas estén disponibles: + +`pacman --database --check --check` + +- Muestra solo mensajes de error: + +`pacman --database --check --quiet` + +- Muestra ayuda: + +`pacman --database --help` diff --git a/pages.es/linux/pacman-f.md b/pages.es/linux/pacman-f.md new file mode 100644 index 00000000000000..8f4f8967801e6b --- /dev/null +++ b/pages.es/linux/pacman-f.md @@ -0,0 +1,7 @@ +# pacman -F + +> Este comando es un alias de `pacman --files`. + +- Muestra documentación para el comando original: + +`tldr pacman files` diff --git a/pages.es/linux/pacman-files.md b/pages.es/linux/pacman-files.md new file mode 100644 index 00000000000000..d555e32c6dc06e --- /dev/null +++ b/pages.es/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Utilidad de manejo de paquetes de Arch Linux. +> Vea también: `pacman`, `pkgfile`. +> Más información: . + +- Actualiza la base de datos de paquetes: + +`sudo pacman -Fy` + +- Encuentra el paquete que posee un archivo específico: + +`pacman -F {{archivo}}` + +- Encuentra el paquete que posee un archivo específico, utilizando una e[x]presión regular: + +`pacman -Fx '{{expresión_regular}}'` + +- Lista solo los nombres de los paquetes: + +`pacman -Fq {{archivo}}` + +- [L]ista los archivos que hacen parte de un paquete específico: + +`pacman -Fl {{paquete}}` + +- Muestra la ayuda: + +`pacman -Fh` diff --git a/pages.es/linux/pacman-q.md b/pages.es/linux/pacman-q.md new file mode 100644 index 00000000000000..21c5d67458e321 --- /dev/null +++ b/pages.es/linux/pacman-q.md @@ -0,0 +1,7 @@ +# pacman -Q + +> Este comando es un alias de `pacman --query`. + +- Muestra documentación para el comando original: + +`tldr pacman query` diff --git a/pages.es/linux/pacman-r.md b/pages.es/linux/pacman-r.md new file mode 100644 index 00000000000000..1423d94833467e --- /dev/null +++ b/pages.es/linux/pacman-r.md @@ -0,0 +1,7 @@ +# pacman -R + +> Este comando es un alias de `pacman --remove`. + +- Muestra documentación para el comando original: + +`tldr pacman remove` diff --git a/pages.es/linux/pacman-remove.md b/pages.es/linux/pacman-remove.md new file mode 100644 index 00000000000000..2d30f0ebfb83f7 --- /dev/null +++ b/pages.es/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Utilidad del administrador de paquetes de Arch Linux. +> Vea también: `pacman`. +> Más información: . + +- [R]emueve un paquete y sus dependencias recur[s]ivamente: + +`sudo pacman -Rs {{paquete}}` + +- [R]emueve un paquete y sus dependencias. [n]o guarda copias de seguridad de los archivos de configuración: + +`sudo pacman -Rsn {{paquete}}` + +- [R]emueve un paquete sin pedir confirmación: + +`sudo pacman -R --noconfirm {{paquete}}` + +- [R]emueve los paquetes huérfanos (instalados como [d]ependencias pero no requeridos por algún paquete): + +`sudo pacman -Rsn $(pacman -Qdtq)` + +- [R]emueve un paquete y ha[c]e lo mismo a todos los paquetes que dependen de él: + +`sudo pacman -Rc {{paquete}}` + +- Lista e im[p]rime los paquetes que serían afectados (no [R]emueve paquete alguno): + +`pacman -Rp {{paquete}}` + +- Muestra la ayuda: + +`pacman -Rh` diff --git a/pages.es/linux/pacman-s.md b/pages.es/linux/pacman-s.md new file mode 100644 index 00000000000000..d4380429d0cfd0 --- /dev/null +++ b/pages.es/linux/pacman-s.md @@ -0,0 +1,7 @@ +# pacman -S + +> Este comando es un alias de `pacman --sync`. + +- Consulta la documentación del comando original: + +`tldr pacman sync` diff --git a/pages.es/linux/pacman-sync.md b/pages.es/linux/pacman-sync.md new file mode 100644 index 00000000000000..9c80ba2b36a5fd --- /dev/null +++ b/pages.es/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Utilidad del administrador de paquetes de Arch Linux. +> Vea también: `pacman`. +> Más información: . + +- Instala un paquete nuevo: + +`sudo pacman -S {{paquete}}` + +- [S]incroniza y actualiza ([y]) la base de datos de paquetes junto con un sys[u]pgrade (añade `--downloadonly` para solamente descargar los paquetes y no actualizarlos): + +`sudo pacman -Syu` + +- Actualiza (update) y moderniza ([u]pgrade) todos los paquetes e instala uno nuevo sin solicitar confirmación: + +`sudo pacman -Syu --noconfirm {{paquete}}` + +- Busca ([s]) la base de datos de paquetes con una expresión regular o palabra clave: + +`pacman -Ss "{{patrón_de_búsqueda}}"` + +- Muestra [i]nformación sobre un paquete: + +`pacman -Si {{paquete}}` + +- Sobrescribe archivos conflictivos durante una actualización del paquete: + +`sudo pacman -Syu --overwrite {{ruta/al/archivo}}` + +- [S]incroniza y act[u]aliza todos los paquetes, e ignora un paquete específico (puede ser utilizado más de una vez): + +`sudo pacman -Syu --ignore {{paquete1 paquete2 ...}}` + +- Elimina paquetes no instalados y repositorios no utilizados de la caché (utiliza las banderas `Sc` para limpiar ([c]) todos los paquetes): + +`sudo pacman -Sc` diff --git a/pages.es/linux/pacman-t.md b/pages.es/linux/pacman-t.md new file mode 100644 index 00000000000000..c4101632836ecc --- /dev/null +++ b/pages.es/linux/pacman-t.md @@ -0,0 +1,7 @@ +# pacman -T + +> Este comando es un alias de `pacman --deptest`. + +- Vea la documentación del comando original: + +`tldr pacman deptest` diff --git a/pages.es/linux/pacman-u.md b/pages.es/linux/pacman-u.md new file mode 100644 index 00000000000000..459e530fffade2 --- /dev/null +++ b/pages.es/linux/pacman-u.md @@ -0,0 +1,7 @@ +# pacman -U + +> Este comando es un alias de `pacman --upgrade`. + +- Vea la documentación del comando original: + +`tldr pacman upgrade` diff --git a/pages.es/linux/pacman.md b/pages.es/linux/pacman.md new file mode 100644 index 00000000000000..c5d8447fc0cfcd --- /dev/null +++ b/pages.es/linux/pacman.md @@ -0,0 +1,39 @@ +# pacman + +> Arch Linux paquete manager utility. +> Utilidad del administrador de paquetes de Arch Linux. +> Vea también: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`. +> Para comandos equivalentes en otros administradores de paquetes, vea . +> Más información: . + +- Sincroniza y actualiza todos los paquetes: + +`sudo pacman -Syu` + +- Instala un nuevo paquete: + +`sudo pacman -S {{paquete}}` + +- Elimina un paquete y sus dependencias: + +`sudo pacman -Rs {{paquete}}` + +- Busca en la base de datos paquetes que contengan un archivo específico: + +`pacman -F "{{nombre_del_archivo}}"` + +- Lista los paquetes y versiones instalados: + +`pacman -Q` + +- Lista solo los paquetes y versiones instalados explícitamente: + +`pacman -Qe` + +- Lista los paquetes huérfanos (instalados como dependencias pero que en realidad no son necesarios para ningún paquete): + +`pacman -Qtdq` + +- Vacía toda la caché de `pacman`: + +`sudo pacman -Scc` diff --git a/pages.es/linux/partclone.md b/pages.es/linux/partclone.md new file mode 100644 index 00000000000000..bb512ca7adca31 --- /dev/null +++ b/pages.es/linux/partclone.md @@ -0,0 +1,16 @@ +# partclone + +> Copia y restaura particiones desde y hacia una imagen sin tener en cuenta los bloques vacíos. +> Más información: . + +- Copia una partición en una imagen: + +`sudo partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-c|--clone]}} {{[-s|--source]}} {{/dev/sdXY}} {{[-o|--output]}} {{ruta/a/copia.img}}` + +- Restaura una partición desde una imagen: + +`sudo partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-c|--clone]}} {{[-s|--source]}} {{ruta/a/copia.img}} {{[-o|--output]}} {{/dev/sdXY}}` + +- Muestra la ayuda: + +`partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-h|--help]}}` diff --git a/pages.es/linux/paru.md b/pages.es/linux/paru.md new file mode 100644 index 00000000000000..2da850196f3558 --- /dev/null +++ b/pages.es/linux/paru.md @@ -0,0 +1,28 @@ +# paru + +> Un asistente del AUR y envoltorio para pacman. +> Más información: . + +- Busca e instala un paquete de forma interactiva: + +`paru {{nombre_del_paquete_o_término_de_búsqueda}}` + +- Sincroniza y actualiza todos los paquetes: + +`paru` + +- Actualiza paquetes del AUR: + +`paru -Sua` + +- Obtiene información acerca del paquete: + +`paru -Si {{paquete}}` + +- Descarga `PKGBUILD` y otros archivos fuente del paquete desde AUR o ABS: + +`paru --getpkgbuild {{paquete}}` + +- Muestra el archivo `PKGBUILD` de un paquete: + +`paru --getpkgbuild --print {{paquete}}` diff --git a/pages.es/linux/patool.md b/pages.es/linux/patool.md new file mode 100644 index 00000000000000..017d1d65306714 --- /dev/null +++ b/pages.es/linux/patool.md @@ -0,0 +1,21 @@ +# patool + +> Gestor de archivos de almacenamiento. +> Se pueden crear, extraer, probar, listar, buscar, reempaquetar y comparar varios formatos de archivo. +> Más información: . + +- Extrae un archivo: + +`patool extract {{ruta/al/archivo}}` + +- Lista el contenido de un archivo: + +`patool list {{ruta/al/archivo}}` + +- Compara el contenido de dos archivos y muestra las diferencias en la salida estándar: + +`patool diff {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Busca una cadena dentro del contenido de un archivo: + +`patool search {{ruta/al/archivo}}` diff --git a/pages.es/linux/paxs.md b/pages.es/linux/paxs.md new file mode 100644 index 00000000000000..1e92bef2207334 --- /dev/null +++ b/pages.es/linux/paxs.md @@ -0,0 +1,29 @@ +# paxs + +> Gestiona paquetes a través de Yay, Flatpak y Snap. +> Admite la búsqueda, instalación, eliminación y actualización de paquetes. +> Más información: . + +- Busca un paquete: + +`paxs {{término_de_búsqueda}}` + +- Actualiza todos los paquetes: + +`paxs -u` + +- Instala un paquete (solicitando el código fuente): + +`paxs -i {{paquete}}` + +- Elimina un paquete (solicitando la fuente): + +`paxs -r {{paquete}}` + +- Busca actualizaciones en todos los gestores de paquetes: + +`paxs -c` + +- Muestra la ayuda: + +`paxs -h` diff --git a/pages.es/linux/pdfattach.md b/pages.es/linux/pdfattach.md new file mode 100644 index 00000000000000..0cdc2d050bb32d --- /dev/null +++ b/pages.es/linux/pdfattach.md @@ -0,0 +1,21 @@ +# pdfattach + +> Agrega un nuevo archivo adjunto (incorporándolo) a un archivo PDF existente. +> Vea también: `pdfdetach`, `pdfimages`, `pdfinfo`. +> Más información: . + +- Añade un nuevo adjunto a un archivo PDF existente: + +`pdfattach {{ruta/al/archivo_original.pdf}} {{ruta/al/archivo_a_adjuntar}} {{ruta/al/resultado.pdf}}` + +- Reemplaza el adjunto del mismo nombre, si existe: + +`pdfattach -replace {{ruta/al/archivo_original.pdf}} {{ruta/al/archivo_adjunto}} {{ruta/al/resultado.pdf}}` + +- Muestra la ayuda: + +`pdfattach -h` + +- Muestra la versión: + +`pdfattach -v` diff --git a/pages.es/linux/pdfcrop.md b/pages.es/linux/pdfcrop.md new file mode 100644 index 00000000000000..016317dcd42006 --- /dev/null +++ b/pages.es/linux/pdfcrop.md @@ -0,0 +1,28 @@ +# pdfcrop + +> Detecta y elimina márgenes en cada página de un archivo PDF. +> Más información: . + +- Detecta y elimina automáticamente el margen de cada página en un archivo PDF: + +`pdfcrop {{ruta/al/archivo_inicial.pdf}} {{ruta/al/archivo_resultado.pdf}}` + +- Establece los márgenes de cada página a un valor específico: + +`pdfcrop {{ruta/al/archivo_inicial.pdf}} --margins '{{izquierda}} {{arriba}} {{derecha}} {{abajo}}' {{ruta/al/archivo_resultado.pdf}}` + +- Establece los márgenes de cada página a un valor específico, utilizando el mismo valor para izquierda, arriba, derecha y abajo: + +`pdfcrop {{ruta/al/archivo_de_entrada.pdf}} --margins {{300}} {{ruta/al/archivo_resultado.pdf}}` + +- Utiliza una caja de encuadre definida por el usuario para cortar en lugar de detectarla automáticamente: + +`pdfcrop {{ruta/al/archivo_de_entrada.pdf}} --bbox '{{izquierda}} {{arriba}} {{derecha}} {{abajo}}' {{ruta/al/archivo_resultado.pdf}}` + +- Utiliza diferentes cajas de encuadre definidas por el usuario para páginas pares e impares: + +`pdfcrop {{ruta/al/archivo_de_entrada.pdf}} --bbox-odd '{{izquierda}} {{arriba}} {{derecha}} {{abajo}}' --bbox-even '{{izquierda}} {{arriba}} {{derecha}} {{abajo}}' {{ruta/al/archivo_resultado.pdf}}` + +- Detecta márgenes automáticamente utilizando una resolución menor para mejorar el rendimiento: + +`pdfcrop {{ruta/al/archivo_de_entrada.pdf}} --resolution {{72}} {{ruta/al/archivo_resultado.pdf}}` diff --git a/pages.es/linux/pdfdetach.md b/pages.es/linux/pdfdetach.md new file mode 100644 index 00000000000000..663757361a5a0a --- /dev/null +++ b/pages.es/linux/pdfdetach.md @@ -0,0 +1,25 @@ +# pdfdetach + +> Lista o extrae archivos adjuntos (archivos embebidos) de un archivo PDF. +> Vea también: `pdfattach`, `pdfimages`, `pdfinfo`. +> Más información: . + +- Lista todos los archivos adjuntos en un archivo con una codificación de texto específica: + +`pdfdetach list -enc {{UTF-8}} {{ruta/al/archivo.pdf}}` + +- Guarda un archivo embebido especificado por su número: + +`pdfdetach -save {{número}} {{ruta/a/la/entrada.pdf}}` + +- Guarda un archivo embebido especificando su nombre: + +`pdfdetach -savefile {{nombre}} {{ruta/al/archivo.pdf}}` + +- Guarda el archivo embebido con un nombre de archivo de salida personalizado: + +`pdfdetach -save {{número}} -o {{ruta/al/resultado}} {{ruta/a/la/entrada.pdf}}` + +- Guarda el adjunto desde un archivo protegido por contraseña del propietario/usuario: + +`pdfdetach -save {{número}} {{-opw|-upw}} {{contraseña}} {{ruta/a/la/entrada.pdf}}` diff --git a/pages.es/linux/pdftohtml.md b/pages.es/linux/pdftohtml.md new file mode 100644 index 00000000000000..d417aa57ec74d8 --- /dev/null +++ b/pages.es/linux/pdftohtml.md @@ -0,0 +1,20 @@ +# pdftohtml + +> Convierte archivos PDF a HTML, XML e imágenes PNG. +> Más información: . + +- Convierte un archivo PDF en un archivo HTML: + +`pdftohtml {{ruta/al/archivo.pdf}} {{ruta/al/archivo_resultado.html}}` + +- Ignora imágenes en el archivo PDF: + +`pdftohtml -i {{ruta/al/archivo.pdf}} {{ruta/al/archivo_resultado.html}}` + +- Genera un único archivo HTML que incluye todas las páginas PDF: + +`pdftohtml -s {{ruta/al/archivo.pdf}} {{ruta/al/archivo_resultado.html}}` + +- Convierte un archivo PDF en un archivo XML: + +`pdftohtml -xml {{ruta/al/archivo.pdf}} {{ruta/al/archivo_resultado.xml}}` diff --git a/pages.es/linux/pdftoppm.md b/pages.es/linux/pdftoppm.md new file mode 100644 index 00000000000000..01c0be44fb8882 --- /dev/null +++ b/pages.es/linux/pdftoppm.md @@ -0,0 +1,24 @@ +# pdftoppm + +> Convierte páginas de documentos PDF al formato de imagen Pixmap portátil. +> Más información: . + +- Especifica el rango de páginas a convertir (N es la primera página, M es la última página): + +`pdftoppm -f {{N}} -l {{M}} {{ruta/al/archivo.pdf}} {{prefijo_del_nombre_de_la_imagen}}` + +- Convierte solo la primera página de un PDF: + +`pdftoppm -singlefile {{ruta/al/archivo.pdf}} {{prefijo_del_nombre_de_la_imagen}}` + +- Genera un archivo PBM monocromático (en lugar de un archivo PPM de color): + +`pdftoppm -mono {{ruta/al/archivo.pdf}} {{prefijo_del_nombre_de_la_imagen}}` + +- Genera un archivo PGM en escala de grises (en lugar de un archivo PPM de color): + +`pdftoppm -gray {{ruta/al/archivo.pdf}} {{prefijo_del_nombre_de_la_imagen}}` + +- Genera un archivo PNG en lugar de un archivo PPM: + +`pdftoppm -png {{ruta/al/archivo.pdf}} {{prefijo_del_nombre_de_la_imagen}}` diff --git a/pages.es/linux/pdfxup.md b/pages.es/linux/pdfxup.md new file mode 100644 index 00000000000000..98b7f696fe17d9 --- /dev/null +++ b/pages.es/linux/pdfxup.md @@ -0,0 +1,17 @@ +# pdfxup + +> N-up páginas PDF. +> N-upping significa poner múltiples páginas en una página escalando y rotándolas en una cuadrícula. +> Más información: . + +- Crea un 2-up PDF: + +`pdfxup -o {{ruta/al/resultado.pdf}} {{ruta/a/la/entrada.pdf}}` + +- Crea un PDF con 3 columnas y 2 líneas por página: + +`pdfxup -x {{3}} -y {{2}} -o {{ruta/al/resultado.pdf}} {{ruta/a/la/entrada.pdf}}` + +- Crea un PDF en modo cuadernillo (2-up, y las páginas se ordenan para formar un libro cuando se doblan): + +`pdfxup -b -o {{ruta/al/resultado.pdf}} {{ruta/a/la/entrada.pdf}}` diff --git a/pages.es/linux/photorec.md b/pages.es/linux/photorec.md new file mode 100644 index 00000000000000..502357b20fcea1 --- /dev/null +++ b/pages.es/linux/photorec.md @@ -0,0 +1,13 @@ +# photorec + +> Herramienta de recuperación de ficheros eliminados. +> Se recomienda escribir los ficheros recuperados en un disco diferente del que se están recuperando. +> Más información: . + +- Ejecuta PhotoRec sobre un dispositivo concreto: + +`sudo photorec {{/dev/sdb}}` + +- Ejecuta PhotoRec sobre una imagen de disco (`imagen.dd`): + +`sudo photorec {{ruta/a/imagen.dd}}` diff --git a/pages.es/linux/picom.md b/pages.es/linux/picom.md new file mode 100644 index 00000000000000..22710ef4777c4d --- /dev/null +++ b/pages.es/linux/picom.md @@ -0,0 +1,16 @@ +# picom + +> Compositor independiente para Xorg. +> Más información: . + +- Habilita `picom` durante una sesión: + +`picom &` + +- Inicia `picom` como proceso en segundo plano: + +`picom -b` + +- Utiliza un archivo de configuración personalizado: + +`picom --config {{ruta/al/archivo_de_configuración}}` diff --git a/pages.es/linux/pihole.md b/pages.es/linux/pihole.md new file mode 100644 index 00000000000000..f5cdda30e15f4c --- /dev/null +++ b/pages.es/linux/pihole.md @@ -0,0 +1,28 @@ +# pihole + +> Interfaz de terminal para el servidor DNS de bloqueo de anuncios Pi-hole. +> Más información: . + +- Verifica el estado del programa residente de Pi-hole: + +`pihole status` + +- Actualiza Pi-hole y Gravity: + +`pihole {{[-up|updatePihole]}}` + +- Inicia o detiene el programa residente: + +`pihole {{enable|disable}}` + +- Incluye en lista blanca o negra un dominio: + +`pihole {{allowlist|denylist}} {{example.com}}` + +- Busca en las listas un dominio: + +`pihole {{[-q|query]}} {{example.com}}` + +- Abre un registro de conexiones en tiempo real: + +`pihole {{[-t|tail]}}` diff --git a/pages.es/linux/pipewire.md b/pages.es/linux/pipewire.md new file mode 100644 index 00000000000000..4a1c949591d19b --- /dev/null +++ b/pages.es/linux/pipewire.md @@ -0,0 +1,20 @@ +# pipewire + +> Inicia el programa residente PipeWire. +> Más información: . + +- Inicia el programa residente PipeWire: + +`pipewire` + +- Usa un archivo de configuración diferente: + +`pipewire --config {{ruta/al/archivo.conf}}` + +- Define el nivel de verbosidad (error, alerta, depurar o rastrear): + +`pipewire -{{v|vv|...|vvvvv}}` + +- Muestra la ayuda: + +`pipewire --help` diff --git a/pages.es/linux/pivpn.md b/pages.es/linux/pivpn.md new file mode 100644 index 00000000000000..2415d9d2126281 --- /dev/null +++ b/pages.es/linux/pivpn.md @@ -0,0 +1,25 @@ +# pivpn + +> Gestor de configuración sencillo y reforzado con seguridad de OpenVPN. +> Diseñado originalmente para el Raspberry Pi, pero también funciona en otros dispositivos Linux. +> Más información: . + +- Agrega un nuevo dispositivo cliente: + +`sudo pivpn add` + +- Lista todos los dispositivos cliente: + +`sudo pivpn list` + +- Lista los dispositivos conectados actualmente y sus estadísticas: + +`sudo pivpn clients` + +- Revoca un dispositivo previamente autentificado: + +`sudo pivpn revoke` + +- Desinstala PiVPN: + +`sudo pivpn uninstall` diff --git a/pages.es/linux/pkgadd.md b/pages.es/linux/pkgadd.md new file mode 100644 index 00000000000000..55d7aeb772d02a --- /dev/null +++ b/pages.es/linux/pkgadd.md @@ -0,0 +1,12 @@ +# pkgadd + +> Añade un paquete a un sistema CRUX. +> Más información: . + +- Instala un paquete de software local: + +`pkgadd {{nombre_paquete}}` + +- Actualiza un paquete ya instalado a partir de un paquete local: + +`pkgadd -u {{nombre_paquete}}` diff --git a/pages.es/linux/pkgfile.md b/pages.es/linux/pkgfile.md new file mode 100644 index 00000000000000..fa2bc96c16a690 --- /dev/null +++ b/pages.es/linux/pkgfile.md @@ -0,0 +1,37 @@ +# pkgfile + +> Busca archivos en los paquetes de los repositorios oficiales en sistemas basados en Arch. +> Vea también: `pacman files`, que describe el uso de `pacman --files`. +> Más información: . + +- Sincroniza la base de datos pkgfile: + +`sudo pkgfile --update` + +- Busca un paquete que posee un archivo específico: + +`pkgfile {{archivo}}` + +- Lista todos los archivos proporcionados por un paquete: + +`pkgfile --list {{paquete}}` + +- Lista los ejecutables proporcionados por un paquete: + +`pkgfile --list --binaries {{paquete}}` + +- Busca un paquete que posee un archivo específico utilizando coincidencias insensibles a mayúsculas y minúsculas: + +`pkgfile --ignorecase {{archivo}}` + +- Busca un paquete que posee un archivo específico en el directorio `bin` o `sbin`: + +`pkgfile --binaries {{archivo}}` + +- Busca un paquete que posee un archivo específico, mostrando la versión del paquete: + +`pkgfile --verbose {{archivo}}` + +- Busca un paquete que posee un archivo específico en un repositorio específico: + +`pkgfile --repo {{nombre_del_repositorio}} {{archivo}}` diff --git a/pages.es/linux/pkgrm.md b/pages.es/linux/pkgrm.md index 1bef0b28f8ac8b..83388fa6319cd9 100644 --- a/pages.es/linux/pkgrm.md +++ b/pages.es/linux/pkgrm.md @@ -1,6 +1,7 @@ # pkgrm > Elimina un paquete de un sistema CRUX. +> Más información: . - Elimina un paquete instalado: diff --git a/pages.es/linux/plasmashell.md b/pages.es/linux/plasmashell.md new file mode 100644 index 00000000000000..cd4643369c5707 --- /dev/null +++ b/pages.es/linux/plasmashell.md @@ -0,0 +1,20 @@ +# plasmashell + +> Inicia y reinicia Plasma Desktop. +> Más información: . + +- Reinicia `plasmashell`: + +`systemctl restart --user plasma-plasmashell` + +- Reinicia `plasmashell` sin systemd: + +`plasmashell --replace & disown` + +- Muestra ayuda en las opciones de la línea de comandos: + +`plasmashell {{[-h|--help]}}` + +- Muestra la ayuda, incluidas las opciones de Qt: + +`plasmashell --help-all` diff --git a/pages.es/linux/pluma.md b/pages.es/linux/pluma.md new file mode 100644 index 00000000000000..f19d453143f73e --- /dev/null +++ b/pages.es/linux/pluma.md @@ -0,0 +1,24 @@ +# pluma + +> Edita archivos en el entorno de escritorio MATE. +> Más información: . + +- Inicia el editor: + +`pluma` + +- Abre documentos específicos: + +`pluma {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Abre documentos utilizando una codificación especifica: + +`pluma --encoding {{WINDOWS-1252}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Imprime todas las codificaciones soportadas: + +`pluma --list-encodings` + +- Abre un documento y va a una linea específica: + +`pluma +{{10}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/portageq.md b/pages.es/linux/portageq.md new file mode 100644 index 00000000000000..0faeb8eef2693b --- /dev/null +++ b/pages.es/linux/portageq.md @@ -0,0 +1,21 @@ +# portageq + +> Consulta información sobre Portage, el gestor de paquetes de Gentoo Linux. +> Las variables de entorno específicas de Portage que se pueden consultar están listadas en `/var/db/repos/gentoo/profiles/info_vars`. +> Más información: . + +- Muestra el valor de una variable de entorno específica de Portage: + +`portageq envvar {{variable}}` + +- Muestra una lista detallada de los repositorios configurados con Portage: + +`portageq repos_config /` + +- Muestra una lista de repositorios ordenados por prioridad (el más alto, primero): + +`portageq get_repos /` + +- Muestra un fragmento específico de metadatos sobre un átomo (por ejemplo, el nombre del paquete incluyendo la versión): + +`portageq metadata / {{ebuild|porttree|binary|...}} {{categoría}}/{{paquete}} {{BDEPEND|DEFINED_PHASES|DEPEND|...}}` diff --git a/pages.es/linux/poweroff.md b/pages.es/linux/poweroff.md index 99b48b47eafb9d..2bd8ea07e68ffa 100644 --- a/pages.es/linux/poweroff.md +++ b/pages.es/linux/poweroff.md @@ -1,7 +1,24 @@ # poweroff -> Apaga la máquina. +> Apaga el sistema. +> Más información: . -- Apaga la máquina: +- Apaga el sistema: -`sudo poweroff` +`poweroff` + +- Detén el sistema (igual que `halt`): + +`poweroff --halt` + +- Reinicia el sistema (igual que `reboot`): + +`poweroff --reboot` + +- Apaga inmediatamente el sistema sin contactar al administrador: + +`poweroff {{[-f|--force]}}` + +- Escribe una entrada en el archivo wtmp sin apagar el sistema: + +`poweroff {{[-w|--wtmp-only]}}` diff --git a/pages.es/linux/prime-run.md b/pages.es/linux/prime-run.md new file mode 100644 index 00000000000000..c337483326aef1 --- /dev/null +++ b/pages.es/linux/prime-run.md @@ -0,0 +1,12 @@ +# prime-run + +> Ejecuta un programa utilizando una tarjeta gráfica Nvidia alternativa. +> Más información: . + +- Ejecuta un programa utilizando una GPU Nvidia dedicada: + +`prime-run {{comando}}` + +- Valida si se está utilizando la tarjeta Nvidia: + +`prime-run glxinfo | grep "OpenGL renderer"` diff --git a/pages.es/linux/pro.md b/pages.es/linux/pro.md new file mode 100644 index 00000000000000..9b4b6ce0bec710 --- /dev/null +++ b/pages.es/linux/pro.md @@ -0,0 +1,28 @@ +# pro + +> Administra los servicios de Ubuntu Pro. +> Más información: . + +- Conecta tu sistema al contrato de soporte de Ubuntu Pro: + +`sudo pro attach` + +- Muestra el estado de los servicios de Ubuntu Pro: + +`pro status` + +- Chequea si el sistema está afectado por una vulnerabilidad específica (y aplica la corrección si es posible): + +`pro fix {{CVE-number}}` + +- Muestra el número de paquetes no soportados: + +`pro security-status` + +- Lista paquetes que ya no están disponibles para descargar: + +`pro security-status --unavailable` + +- Lista los paquetes de terceros: + +`pro security-status --thirdparty` diff --git a/pages.es/linux/proctl.md b/pages.es/linux/proctl.md new file mode 100644 index 00000000000000..e0553c22544134 --- /dev/null +++ b/pages.es/linux/proctl.md @@ -0,0 +1,36 @@ +# proctl + +> Gestiona licencias de proyectos e idiomas, cambiar entre licencias de plantillas. +> Más información: . + +- Lista licencias disponibles: + +`proctl {{-ll|-list-licenses}}` + +- Lista de idiomas disponibles: + +`proctl {{-lL|-lista-idiomas}}` + +- Selecciona una licencia en un menú FZF: + +`proctl {{-pl|-elegir-licencia}}` + +- Selecciona un idioma en un menú FZF: + +`proctl {{-pL|-elegir-idioma}}` + +- Elimina todas las licencias del proyecto actual: + +`proctl {{-r|-quitar-licencia}}` + +- Crea una nueva plantilla de licencia: + +`proctl {{-t|-nueva-plantilla}}` + +- Elimina una licencia de las plantillas: + +`proctl {{-R|-elimina-licencia}} {{@nombre_licencia1 @nombre_licencia2 ...}}` + +- Muestra esta lista de comandos: + +`proctl {{-h|-ayuda}}` diff --git a/pages.es/linux/pw-config.md b/pages.es/linux/pw-config.md new file mode 100644 index 00000000000000..002a3524a6c8a0 --- /dev/null +++ b/pages.es/linux/pw-config.md @@ -0,0 +1,32 @@ +# pw-config + +> Enumera las rutas y secciones de configuración que utilizarán el servidor y los clientes de PipeWire. +> Más información: . + +- Lista todos los archivos de configuración que se utilizarán: + +`pw-config` + +- Lista todos los archivos de configuración que utilizará el servidor PulseAudio de PipeWire: + +`pw-config --name pipewire-pulse.conf` + +- Lista todas las secciones de configuración utilizadas por el servidor PulseAudio de PipeWire: + +`pw-config --name pipewire-pulse.conf list` + +- Lista los fragmentos `context.properties` utilizados por los clientes JACK: + +`pw-config --name jack.conf list context.properties` + +- Lista las `context.properties` fusionadas utilizadas por los clientes JACK: + +`pw-config --name jack.conf merge context.properties` + +- Lista los `context.modules` fusionados utilizados por el servidor PipeWire y [r]eformat: + +`pw-config --name pipewire.conf --recurse merge context.modules` + +- Muestra la ayuda: + +`pw-config --help` diff --git a/pages.es/linux/pw-metadata.md b/pages.es/linux/pw-metadata.md new file mode 100644 index 00000000000000..020344bcb80f9e --- /dev/null +++ b/pages.es/linux/pw-metadata.md @@ -0,0 +1,33 @@ +# pw-metadata + +> Supervisa, establece y elimina metadatos en objetos PipeWire. +> Vea también: `pipewire`, `pw-mon`, `pw-cli`. +> Más información: . + +- Muestra metadatos en el formato por defecto: + +`pw-metadata` + +- Muestra metadatos con el identificador 0 en `settings`: + +`pw-metadata {{[-n|--name]}} {{settings}} {{0}}` + +- Lista todos los objetos de metadatos disponibles: + +`pw-metadata {{[-l|--list]}}` + +- Continua ejecutando y registrando los cambios en los metadatos: + +`pw-metadata {{[-m|--monitor]}}` + +- Elimina todos los metadatos: + +`pw-metadata {{[-d|--delete]}}` + +- Ajusta `log.level` a 1 en `settings`: + +`pw-metadata {{[-n|--name]}} {{settings}} {{0}} {{log.level}} {{1}}` + +- Muestra ayuda: + +`pw-metadata {{[-h|--help]}}` diff --git a/pages.es/linux/pw-play.md b/pages.es/linux/pw-play.md new file mode 100644 index 00000000000000..76accafa8c0f08 --- /dev/null +++ b/pages.es/linux/pw-play.md @@ -0,0 +1,7 @@ +# pw-play + +> Este comando es un alias de `pw-cat --playback`. + +- Vea la documentación del comando original: + +`tldr pw-cat` diff --git a/pages.es/linux/pw-record.md b/pages.es/linux/pw-record.md new file mode 100644 index 00000000000000..28f9359d36a9b6 --- /dev/null +++ b/pages.es/linux/pw-record.md @@ -0,0 +1,7 @@ +# pw-record + +> Este comando es un alias de `pw-cat --record`. + +- Vea la documentación del comando original: + +`tldr pw-cat` diff --git a/pages.es/linux/pwdx.md b/pages.es/linux/pwdx.md index 03c4625454c6a3..72c85bd5d61f52 100644 --- a/pages.es/linux/pwdx.md +++ b/pages.es/linux/pwdx.md @@ -1,7 +1,8 @@ # pwdx > Muestra el directorio de trabajo de un proceso. +> Más información: . - Muestra el directorio de trabajo actual de un proceso: -`pwdx {{process_id}}` +`pwdx {{identificador_de_proceso}}` diff --git a/pages.es/linux/pwn.md b/pages.es/linux/pwn.md new file mode 100644 index 00000000000000..e284a1c6bf3c64 --- /dev/null +++ b/pages.es/linux/pwn.md @@ -0,0 +1,36 @@ +# pwn + +> Biblioteca de desarrollo de exploits diseñada para la creación rápida de prototipos. +> Más información: . + +- Convierte código ensamblador a `bytes`: + +`pwn asm "{{xor edi, edi}}"` + +- Crea un patrón cíclico con un número específico de caracteres: + +`pwn cyclic {{número}}` + +- Codifica datos en el sistema hexadecimal: + +`pwn hex {{deafbeef}}` + +- Decodifica datos en hexadecimal: + +`pwn unhex {{6c4f7645}}` + +- Imprime código de intérprete de Linux x64 para ejecutar en un intérprete: + +`pwn shellcraft {{amd64.linux.sh}}` + +- Comprueba la configuración de seguridad binaria del archivo ELF dado: + +`pwn checksec {{ruta/al/archivo}}` + +- Busca actualizaciones de Pwntools: + +`pwn update` + +- Muestra la versión: + +`pwn version` diff --git a/pages.es/linux/qm-agent.md b/pages.es/linux/qm-agent.md new file mode 100644 index 00000000000000..92207a023abc52 --- /dev/null +++ b/pages.es/linux/qm-agent.md @@ -0,0 +1,7 @@ +# qm agent + +> Este comando es un alias de `qm guest cmd`. + +- Vea la documentación del comando original: + +`tldr qm guest cmd` diff --git a/pages.es/linux/qm-cleanup.md b/pages.es/linux/qm-cleanup.md new file mode 100644 index 00000000000000..f543603e009de0 --- /dev/null +++ b/pages.es/linux/qm-cleanup.md @@ -0,0 +1,9 @@ +# qm cleanup + +> Limpia recursos en el Administrador de máquinas virtuales QEMU/KVM como dispositivos tap, VGPUs, etc. +> Usualmente se lo utiliza después de que una VM se apaga, se rompe, etc. +> Más información: . + +- Limpia los recursos: + +`qm cleanup {{vm_id}} {{clean-shutdown}} {{guest-requested}}` diff --git a/pages.es/linux/qm-clone.md b/pages.es/linux/qm-clone.md new file mode 100644 index 00000000000000..3993faf2849fd2 --- /dev/null +++ b/pages.es/linux/qm-clone.md @@ -0,0 +1,28 @@ +# qm clone + +> Crea una copia de la máquina virtual en el Administrador de Máquinas Virtuales QEMU/KVM. +> Más información: . + +- Copia una máquina virtual: + +`qm clone {{id_mv}} {{id_nueva_mv}}` + +- Copia una máquina virtual usando un nombre específico: + +`qm clone {{id_mv}} {{id_nueva_mv}} --name {{nombre}}` + +- Copia una máquina virtual usando una descripción específica: + +`qm clone {{id_mv}} {{id_nueva_mv}} --description {{descripción}}` + +- Copia una máquina virtual creando una copia completa de todos los discos: + +`qm clone {{id_mv}} {{id_nueva_mv}} --full` + +- Copia una máquina virtual usando un formato específico para el almacenamiento de archivos (requiere `--full`): + +`qm clone {{id_mv}} {{id_nueva_mv}} --full --format {{qcow2|raw|vmdk}}` + +- Copia una máquina virtual y luego la añade a un grupo (pool) específico: + +`qm clone {{id_mv}} {{id_nueva_mv}} --pool {{nombre_grupo}}` diff --git a/pages.es/linux/qm-cloudinit-dump.md b/pages.es/linux/qm-cloudinit-dump.md new file mode 100644 index 00000000000000..2b5b89829b4d94 --- /dev/null +++ b/pages.es/linux/qm-cloudinit-dump.md @@ -0,0 +1,8 @@ +# qm cloudinit dump + +> Genera archivos de configuración Cloudinit. +> Más información: . + +- Genera un archivo cloudinit para un tipo de configuración específica: + +`qm cloudinit dump {{id_máquina_virtual}} {{meta|network|user}}` diff --git a/pages.es/linux/qm-config.md b/pages.es/linux/qm-config.md new file mode 100644 index 00000000000000..21c138c7e99f34 --- /dev/null +++ b/pages.es/linux/qm-config.md @@ -0,0 +1,16 @@ +# qm config + +> Muestra la configuración de la máquina virtual con los cambios de configuración pendientes aplicados. +> Más información: . + +- Muestra la configuración de la máquina virtual: + +`qm config {{id_mv}}` + +- Muestra los valores de configuración actuales en lugar de los valores pendientes en la máquina virtual: + +`qm config --current {{true}} {{id_mv}}` + +- Obtiene los valores de configuración de la instantánea (snapshot) dada: + +`qm config --snapshot {{nombre_de_la_instantánea}} {{id_mv}}` diff --git a/pages.es/linux/qm-create.md b/pages.es/linux/qm-create.md new file mode 100644 index 00000000000000..14b842712bd7e2 --- /dev/null +++ b/pages.es/linux/qm-create.md @@ -0,0 +1,24 @@ +# qm create + +> Crea o restaura una máquina virtual en el administrador de máquinas virtuales QEMU/KVM. +> Más información: . + +- Crea una máquina virtual: + +`qm create {{100}}` + +- Inicia automáticamente la máquina después de su creación: + +`qm create {{100}} --start 1` + +- Especifica el tipo de sistema operativo en la máquina virtual: + +`qm create {{100}} --ostype {{win10}}` + +- Reemplaza una máquina existente (requiere archivarla): + +`qm create {{100}} --archive {{ruta/al/archivo_de_respaldo.tar}} --force 1` + +- Especifica un guión (script) a ejecutar automáticamente dependiendo del estado de la máquina virtual: + +`qm create {{100}} --hookscript {{ruta/al/guión.pl}}` diff --git a/pages.es/linux/qm-delsnapshot.md b/pages.es/linux/qm-delsnapshot.md new file mode 100644 index 00000000000000..088252c060f6e5 --- /dev/null +++ b/pages.es/linux/qm-delsnapshot.md @@ -0,0 +1,12 @@ +# qm delsnapshot + +> Elimina instantáneas (snapshots) de máquinas virtuales. +> Más información: . + +- Elimina una instantánea: + +`qm delsnapshot {{id_mv}} {{nombre_de_la_instantánea}}` + +- Elimina una instantánea de un archivo de configuración (incluso si la eliminación del disco de la instantánea falla): + +`qm delsnapshot {{id_mv}} {{nombre_de_la_instantánea}} --force 1` diff --git a/pages.es/linux/qm-destroy.md b/pages.es/linux/qm-destroy.md new file mode 100644 index 00000000000000..b69154e5cea0ee --- /dev/null +++ b/pages.es/linux/qm-destroy.md @@ -0,0 +1,20 @@ +# qm destroy + +> Destruye una máquina virtual del administrador de máquinas virtuales EMU/KVM. +> Más información: . + +- Destruye una máquina virtual específica: + +`qm destroy {{id_mv}}` + +- Destruye todos los discos que no se mencionan explícitamente en la configuración de una máquina virtual específica: + +`qm destroy {{id_mv}} --destroy-unreferenced-disks` + +- Destruye una máquina virtual y la elimina de todos los lugares (inventarios, trabajos de copia de seguridad, manejadores de alta disponibilidad, etc.): + +`qm destroy {{id_mv}} --purge` + +- Destruye una máquina virtual específica ignorando las cerraduras (locks) y forzando su destrucción: + +`sudo qm destroy {{id_mv}} --skiplock` diff --git a/pages.es/linux/qm-disk-import.md b/pages.es/linux/qm-disk-import.md new file mode 100644 index 00000000000000..042675b1a02679 --- /dev/null +++ b/pages.es/linux/qm-disk-import.md @@ -0,0 +1,9 @@ +# qm disk import + +> Importa una imagen de disco a una máquina virtual como un disco sin utilizar. +> Los formatos de imagen que `qemu-img` soporta son: raw, qcow2, qed, vdi, vmdk, y vhd. +> Más información: . + +- Importa una imagen de disco VMDK/qcow2/raw usando un nombre de almacenamiento específico: + +`qm disk import {{vm_id}} {{ruta/al/disco}} {{nombre_del_disco}} --format {{qcow2|raw|vmdk}}` diff --git a/pages.es/linux/qm-disk-move.md b/pages.es/linux/qm-disk-move.md new file mode 100644 index 00000000000000..5abc883c9db96c --- /dev/null +++ b/pages.es/linux/qm-disk-move.md @@ -0,0 +1,12 @@ +# qm disk move + +> Mueve un disco virtual de un almacenamiento a otro dentro del mismo grupo Proxmox. +> Más información: . + +- Mueve un disco virtual: + +`qm disk move {{vm_id}} {{destino}} {{índice}}` + +- Elimina la copia anterior del disco virtual: + +`qm disk move -delete {{vm_id}} {{destino}} {{índice}}` diff --git a/pages.es/linux/qm-disk-resize.md b/pages.es/linux/qm-disk-resize.md new file mode 100644 index 00000000000000..d6e0907a38a503 --- /dev/null +++ b/pages.es/linux/qm-disk-resize.md @@ -0,0 +1,8 @@ +# qm disk resize + +> Redimensiona un disco de máquina virtual en el entorno virtual Proxmox (PVE). +> Más información: . + +- Añade `n` gigabytes a un disco virtual: + +`qm disk resize {{vm_id}} {{nombre_de_disco}} +{{n}}G` diff --git a/pages.es/linux/qm-guest-cmd.md b/pages.es/linux/qm-guest-cmd.md new file mode 100644 index 00000000000000..95bd8928a3babd --- /dev/null +++ b/pages.es/linux/qm-guest-cmd.md @@ -0,0 +1,8 @@ +# qm guest cmd + +> Ejecuta órdenes de agente huésped en QEMU. +> Más información: . + +- Ejecuta un comando específico de agente huésped en QEMU: + +`qm guest cmd {{id_de_la_máquina_virtual}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` diff --git a/pages.es/linux/qm-guest-exec-status.md b/pages.es/linux/qm-guest-exec-status.md new file mode 100644 index 00000000000000..cdaba398956766 --- /dev/null +++ b/pages.es/linux/qm-guest-exec-status.md @@ -0,0 +1,8 @@ +# qm guest exec-status + +> Imprime el estado de un pid iniciado por el agente huésped en el administrador de máquinas virtuales QEMU/KVM. +> Más información: . + +- Imprime el estado de un PID específico: + +`qm guest exec-status {{id_mv}} {{pid}}` diff --git a/pages.es/linux/qm-guest-exec.md b/pages.es/linux/qm-guest-exec.md new file mode 100644 index 00000000000000..34a635a02a06be --- /dev/null +++ b/pages.es/linux/qm-guest-exec.md @@ -0,0 +1,20 @@ +# qm guest exec + +> Ejecuta una orden específica a través de un agente huésped. +> Más información: . + +- Ejecuta una orden específica a través de un agente huésped: + +`qm guest exec {{id_mv}} {{comando}} {{primer_argumento segundo_argumento ...}}` + +- Ejecuta una orden específica a través de un agente huésped asincrónicamente: + +`qm guest exec {{id_mv}} {{primer_argumento segundo_argumento ...}} --synchronous 0` + +- Ejecuta una orden específica a través de un agente huésped con un tiempo máximo de 10 segundos: + +`qm guest exec {{id_mv}} {{primer_argumento segundo_argumento...}} --timeout {{10}}` + +- Ejecuta una orden específica a través de un agente huésped y reenvía la entrada de `stdin` hasta el fin del archivo (EOF) al agente huésped: + +`qm guest exec {{id_mv}} {{primer_argumento segundo_argumento ...}} --pass-stdin 1` diff --git a/pages.es/linux/qm-guest-passwd.md b/pages.es/linux/qm-guest-passwd.md new file mode 100644 index 00000000000000..763986b893ebf4 --- /dev/null +++ b/pages.es/linux/qm-guest-passwd.md @@ -0,0 +1,12 @@ +# qm guest passwd + +> Establece la contraseña para un usuario en el administrador de máquinas virtuales QEMU/KVM. +> Más información: . + +- Establece una contraseña para un usuario específico en una máquina virtual de forma interactiva: + +`qm guest passwd {{id_mv}} {{usuario}}` + +- Establece una contraseña ya procesada (hashed) para un usuario específico en una máquina virtual de forma interactiva: + +`qm guest passwd {{id_mv}} {{usuario}} --crypted 1` diff --git a/pages.es/linux/qm-help.md b/pages.es/linux/qm-help.md new file mode 100644 index 00000000000000..5bdd105b575e32 --- /dev/null +++ b/pages.es/linux/qm-help.md @@ -0,0 +1,12 @@ +# qm help + +> Muestra ayuda para una orden. +> Más información: . + +- Muestra ayuda para una orden específica: + +`qm help {{orden}}` + +- Muestra ayuda para una orden específica con información detallada: + +`qm help {{orden}} --verbose {{true|false}}` diff --git a/pages.es/linux/qm-importdisk.md b/pages.es/linux/qm-importdisk.md new file mode 100644 index 00000000000000..77a8221e3ad90b --- /dev/null +++ b/pages.es/linux/qm-importdisk.md @@ -0,0 +1,7 @@ +# qm importdisk + +> Este comando es un alias de `qm disk import`. + +- Vea la documentación para el comando original: + +`tldr qm disk import` diff --git a/pages.es/linux/qm-list.md b/pages.es/linux/qm-list.md new file mode 100644 index 00000000000000..2b7cd02c34fd41 --- /dev/null +++ b/pages.es/linux/qm-list.md @@ -0,0 +1,12 @@ +# qm list + +> Lista todas las máquinas virtuales. +> Más información: . + +- Lista todas las máquinas virtuales: + +`qm list` + +- Lista todas las máquinas virtuales con el estado completo de las que se están ejecutando: + +`qm list --full 1` diff --git a/pages.es/linux/qm-listsnapshot.md b/pages.es/linux/qm-listsnapshot.md new file mode 100644 index 00000000000000..594a092b1461bc --- /dev/null +++ b/pages.es/linux/qm-listsnapshot.md @@ -0,0 +1,8 @@ +# qm listsnapshot + +> Lista las instantáneas (snapshots) de máquinas virtuales. +> Más información: . + +- Lista todas las instantáneas de una máquina virtual específica: + +`qm listsnapshot {{id_mv}}` diff --git a/pages.es/linux/qm-migrate.md b/pages.es/linux/qm-migrate.md new file mode 100644 index 00000000000000..cb8d5c30dda464 --- /dev/null +++ b/pages.es/linux/qm-migrate.md @@ -0,0 +1,25 @@ +# qm migrate + +> Migra una máquina virtual. +> Se usa para crear una nueva tarea de migración. +> Más información: . + +- Migra una máquina virtual específica: + +`qm migrate {{id_mv}} {{destino}}` + +- Supera el límite de ancho de banda E/S actual con 10 KiB/s: + +`qm migrate {{id_mv}} {{destino}} --bwlimit 10` + +- Permite la migración de máquinas virtuales usando dispositivos locales (solo root): + +`qm migrate {{id_mv}} {{destino}} --force true` + +- Utiliza la migración en vivo (online) si una máquina virtual está ejecutándose: + +`qm migrate {{id_mv}} {{destino}} --online true` + +- Permite la migración de almacenamiento en vivo para discos locales: + +`qm migrate {{id_mv}} {{destino}} --with-local-disks true` diff --git a/pages.es/linux/qm-monitor.md b/pages.es/linux/qm-monitor.md new file mode 100644 index 00000000000000..aea878e361536f --- /dev/null +++ b/pages.es/linux/qm-monitor.md @@ -0,0 +1,8 @@ +# qm monitor + +> Entra a la interfaz QEMU Monitor. +> Más información: . + +- Introduce la interfaz QEMU Monitor de una máquina virtual específica: + +`qm monitor {{id_mv}}` diff --git a/pages.es/linux/qm-move-disk.md b/pages.es/linux/qm-move-disk.md new file mode 100644 index 00000000000000..342a45a75c1ec6 --- /dev/null +++ b/pages.es/linux/qm-move-disk.md @@ -0,0 +1,7 @@ +# qm move-disk + +> Este comando es un alias de `qm disk move`. + +- Vea la documentación para el comando original: + +`tldr qm disk move` diff --git a/pages.es/linux/qm-move_disk.md b/pages.es/linux/qm-move_disk.md new file mode 100644 index 00000000000000..39dd9cd9c06db4 --- /dev/null +++ b/pages.es/linux/qm-move_disk.md @@ -0,0 +1,7 @@ +# qm move_disk + +> Este comando es un alias de `qm disk move`. + +- Vea la documentación para el comando original: + +`tldr qm disk move` diff --git a/pages.es/linux/qm-mtunnel.md b/pages.es/linux/qm-mtunnel.md new file mode 100644 index 00000000000000..89eeb7b891dbd6 --- /dev/null +++ b/pages.es/linux/qm-mtunnel.md @@ -0,0 +1,9 @@ +# qm mtunnel + +> Usado por `qmigrate`. +> No debe invocarse manualmente. +> Más información: . + +- Comando utilizado por `qmigrate` durante la migración de datos de una MV a otro host: + +`qm mtunnel` diff --git a/pages.es/linux/qm-nbdstop.md b/pages.es/linux/qm-nbdstop.md new file mode 100644 index 00000000000000..30bcb8ac57404c --- /dev/null +++ b/pages.es/linux/qm-nbdstop.md @@ -0,0 +1,8 @@ +# qm nbdstop + +> Detiene el servidor nbd integrado. +> Más información: . + +- Detiene el servidor nbd integrado: + +`qm nbdstop {{VM_ID}}` diff --git a/pages.es/linux/qm-pending.md b/pages.es/linux/qm-pending.md new file mode 100644 index 00000000000000..23ad0e5d181609 --- /dev/null +++ b/pages.es/linux/qm-pending.md @@ -0,0 +1,8 @@ +# qm pending + +> Obtiene la configuración de la máquina virtual con valores actuales y pendientes. +> Más información: . + +- Obtiene la configuración de la máquina virtual de una máquina virtual (mv) específica: + +`qm pending {{id_mv}}` diff --git a/pages.es/linux/qm-reboot.md b/pages.es/linux/qm-reboot.md new file mode 100644 index 00000000000000..8367e93b79f307 --- /dev/null +++ b/pages.es/linux/qm-reboot.md @@ -0,0 +1,12 @@ +# qm reboot + +> Reinicia una máquina virtual cerrándola, y arrancando de nuevo después de aplicar cambios pendientes. +> Más información: . + +- Reinicia una máquina virtual: + +`qm reboot {{id_mv}}` + +- Reinicia una máquina virtual después de esperar por lo menos 10 segundos: + +`qm reboot --timeout {{10}} {{id_mv}}` diff --git a/pages.es/linux/qm-rescan.md b/pages.es/linux/qm-rescan.md new file mode 100644 index 00000000000000..6537c02e5b7dcd --- /dev/null +++ b/pages.es/linux/qm-rescan.md @@ -0,0 +1,12 @@ +# qm rescan + +> Revisa de nuevo (rescan) todos los almacenamientos (storages) y actualiza los tamaños de discos e imágenes de disco no utilizadas de una máquina virtual. +> Más información: . + +- Restaura todos los almacenamientos y actualiza los tamaños de disco e imágenes de disco no utilizadas de la máquina virtual indicada: + +`qm rescan {{id_mv}}` + +- Realiza una simulación de rescan en una máquina virtual específica y no escribe ningún cambio en las configuraciones: + +`qm rescan --dryrun {{true}} {{id_mv}}` diff --git a/pages.es/linux/qm-reset.md b/pages.es/linux/qm-reset.md new file mode 100644 index 00000000000000..532644b5c3322c --- /dev/null +++ b/pages.es/linux/qm-reset.md @@ -0,0 +1,12 @@ +# qm reset + +> Reinicia una máquina virtual en el administrador de máquinas virtuales QEMU/KVM. +> Más información: . + +- Restablece una máquina virtual: + +`qm reset {{id_mv}}` + +- Reinicia una máquina virtual y omite cualquier bloqueo (solo el root puede usar esta opción): + +`qm reset --skiplock {{true}} {{id_mv}}` diff --git a/pages.es/linux/qm-resize.md b/pages.es/linux/qm-resize.md new file mode 100644 index 00000000000000..7c5c18296cda6c --- /dev/null +++ b/pages.es/linux/qm-resize.md @@ -0,0 +1,7 @@ +# qm resize + +> Este comando es un alias de `qm disk resize`. + +- Vea la documentación para el comando original: + +`tldr qm disk resize` diff --git a/pages.es/linux/qm-resume.md b/pages.es/linux/qm-resume.md new file mode 100644 index 00000000000000..6b67287a95af22 --- /dev/null +++ b/pages.es/linux/qm-resume.md @@ -0,0 +1,12 @@ +# qm resume + +> Reanuda una máquina virtual. +> Más información: . + +- Reanuda una máquina virtual dada: + +`qm resume {{id_mv}}` + +- Recupera una máquina virtual específica omitiendo cualquier bloqueo (requiere root): + +`sudo qm resume {{id_mv}} --skiplock true` diff --git a/pages.es/linux/qm-rollback.md b/pages.es/linux/qm-rollback.md new file mode 100644 index 00000000000000..7c9208c58e2976 --- /dev/null +++ b/pages.es/linux/qm-rollback.md @@ -0,0 +1,8 @@ +# qm rollback + +> Revierte el estado de la máquina virtual (MV) a una instantánea (snapshot) específica. +> Más información: . + +- Revierte el estado de una MV a una instantánea dada: + +`qm rollback {{id_mv}} {{nombre_de_la_instantánea}}` diff --git a/pages.es/linux/qm-sendkey.md b/pages.es/linux/qm-sendkey.md new file mode 100644 index 00000000000000..4dbd1cd670fa62 --- /dev/null +++ b/pages.es/linux/qm-sendkey.md @@ -0,0 +1,12 @@ +# qm sendkey + +> Envía un evento de teclado del monitor QEMU a una máquina virtual. +> Más información: . + +- Envía el evento de teclado (key) especificado a una máquina virtual específica: + +`qm sendkey {{id_mv}} {{tecla}}` + +- Permite al usuario root enviar el evento clave e ignorar cualquier bloqueo: + +`qm sendkey --skiplock {{true}} {{id_mv}} {{tecla}}` diff --git a/pages.es/linux/qm-showcmd.md b/pages.es/linux/qm-showcmd.md new file mode 100644 index 00000000000000..5e2cac5286fb81 --- /dev/null +++ b/pages.es/linux/qm-showcmd.md @@ -0,0 +1,16 @@ +# qm showcmd + +> Muestra la línea de comandos que se utiliza para iniciar una máquina virtual (información de depuración). +> Más información: . + +- Muestra la línea de comando inicial de una máquina virtual específica: + +`qm showcmd {{id_mv}}` + +- Pone cada opción en una nueva línea para mejorar la legibilidad: + +`qm showcmd --pretty {{true}} {{id_mv}}` + +- Obtiene valores de configuración de una instantánea específica: + +`qm showcmd --snapshot {{cadena}} {{id_mv}}` diff --git a/pages.es/linux/qm-shutdown.md b/pages.es/linux/qm-shutdown.md new file mode 100644 index 00000000000000..1f09d93547a0a4 --- /dev/null +++ b/pages.es/linux/qm-shutdown.md @@ -0,0 +1,24 @@ +# qm shutdown + +> Apaga una máquina virtual del administrador de máquinas virtuales QEMU/KVM. +> Más información: . + +- Apaga una máquina virtual: + +`qm shutdown {{VM_ID}}` + +- Apaga una máquina virtual después de esperar por lo menos 10 segundos: + +`qm shutdown --timeout {{10}} {{VM_ID}}` + +- Apaga una máquina virtual y no desactiva los volúmenes de almacenamiento: + +`qm shutdown --keepActive {{true}} {{VM_ID}}` + +- Apaga una máquina virtual y omite cualquier bloqueo (solo el root puede usar esta opción): + +`qm shutdown --skiplock {{true}} {{VM_ID}}` + +- Detiene y apaga una máquina virtual: + +`qm shutdown --forceStop {{true}} {{VM_ID}}` diff --git a/pages.es/linux/qm-snapshot.md b/pages.es/linux/qm-snapshot.md new file mode 100644 index 00000000000000..23408198dd6a5f --- /dev/null +++ b/pages.es/linux/qm-snapshot.md @@ -0,0 +1,16 @@ +# qm snapshot + +> Crea instantáneas de máquinas virtuales. +> Más información: . + +- Crea una instantánea de una máquina virtual dada: + +`qm snapshot {{id_mv}} {{nombre_de_la_instantánea}}` + +- Crea una instantánea con una descripción dada: + +`qm snapshot {{id_mv}} {{nombre_de_la_instantánea}} --description {{descripción}}` + +- Crea una instantánea incluyendo el vmstate: + +`qm snapshot {{id_mv}} {{nombre_de_la_instantánea}} --description {{descripción}} --vmstate 1` diff --git a/pages.es/linux/qm-start.md b/pages.es/linux/qm-start.md new file mode 100644 index 00000000000000..77b16548147b7a --- /dev/null +++ b/pages.es/linux/qm-start.md @@ -0,0 +1,16 @@ +# qm start + +> Inicia una máquina virtual en el administrador de máquinas virtuales QEMU/KVM. +> Más información: . + +- Inicia una máquina virtual específica: + +`qm start {{100}}` + +- Especifica el tipo de máquina QEMU (es decir, la CPU a emular): + +`qm start {{100}} --machine {{q35}}` + +- Comienza una máquina virtual específica con un tiempo de espera máximo de 60 segundos: + +`qm start {{100}} --timeout {{60}}` diff --git a/pages.es/linux/qm-status.md b/pages.es/linux/qm-status.md new file mode 100644 index 00000000000000..29396119b74fd2 --- /dev/null +++ b/pages.es/linux/qm-status.md @@ -0,0 +1,12 @@ +# qm status + +> Muestra el estado de una máquina virtual. +> Más información: . + +- Muestra el estado de una máquina virtual dada: + +`qm status {{id_mv}}` + +- Muestra el estado detallado de una máquina virtual dada: + +`qm status --verbose {{true}} {{id_mv}}` diff --git a/pages.es/linux/qm-stop.md b/pages.es/linux/qm-stop.md new file mode 100644 index 00000000000000..d922893ff77acc --- /dev/null +++ b/pages.es/linux/qm-stop.md @@ -0,0 +1,20 @@ +# qm stop + +> Detiene una máquina virtual. +> Más información: . + +- Detiene una máquina virtual inmediatamente: + +`qm stop {{VM_ID}}` + +- Detiene una máquina virtual y espera por lo menos 10 segundos: + +`qm stop --timeout {{10}} {{VM_ID}}` + +- Detiene una máquina virtual y omite cualquier bloqueo (solo el root puede usar esta opción): + +`qm stop --skiplock {{true}} {{VM_ID}}` + +- Detiene una máquina virtual y no desactive los volúmenes de almacenamiento: + +`qm stop --keepActive {{true}} {{VM_ID}}` diff --git a/pages.es/linux/qm-suspend.md b/pages.es/linux/qm-suspend.md new file mode 100644 index 00000000000000..640c5a3ded7f6d --- /dev/null +++ b/pages.es/linux/qm-suspend.md @@ -0,0 +1,17 @@ +# qm suspend + +> Suspende una máquina virtual (MV) en el entorno virtual Proxmox (PVE). +> Usa las banderas de `--skiplock` y `--skiplockstorage` con precaución, ya que pueden conducir a la corrupción de datos en ciertas situaciones. +> Más información: . + +- Suspende una máquina virtual por ID: + +`qm suspend {{id_mv}} {{entero}}` + +- Omite el chequeo de bloqueo al suspender una MV: + +`qm suspend {{id_mv}} {{entero}} --skiplock` + +- Omite el chequeo de bloqueo por almacenamiento al suspender una MV: + +`qm suspend {{id_mv}} {{entero}} --skiplockstorage` diff --git a/pages.es/linux/qm-template.md b/pages.es/linux/qm-template.md new file mode 100644 index 00000000000000..637361281c8eec --- /dev/null +++ b/pages.es/linux/qm-template.md @@ -0,0 +1,8 @@ +# qm template + +> Crea una plantilla de una máquina virtual Proxmox. +> Más información: . + +- Crea una plantilla a partir de una máquina virtual dada: + +`qm template {{id_mv}}` diff --git a/pages.es/linux/qm-unlink.md b/pages.es/linux/qm-unlink.md new file mode 100644 index 00000000000000..17e2ddd59848c7 --- /dev/null +++ b/pages.es/linux/qm-unlink.md @@ -0,0 +1,7 @@ +# qm unlink + +> Este comando es un alias de `qm disk unlink`. + +- Vea la documentación del comando original: + +`tldr qm disk unlink` diff --git a/pages.es/linux/qm-unlock.md b/pages.es/linux/qm-unlock.md new file mode 100644 index 00000000000000..a7fd48813d6c91 --- /dev/null +++ b/pages.es/linux/qm-unlock.md @@ -0,0 +1,8 @@ +# qm unlock + +> Desbloquea una máquina virtual del administrador de máquinas virtuales QEMU/KVM. +> Más información: . + +- Desbloquea una máquina virtual específica: + +`qm unlock {{id_mv}}` diff --git a/pages.es/linux/qm-vncproxy.md b/pages.es/linux/qm-vncproxy.md new file mode 100644 index 00000000000000..ebae1df5b58867 --- /dev/null +++ b/pages.es/linux/qm-vncproxy.md @@ -0,0 +1,8 @@ +# qm vncproxy + +> Hace proxy de una máquina virtual VNC (Computación virtual de red) enviando tráfico a `stdin` o `stdout`. +> Más información: . + +- Hace proxy de una máquina virtual específica: + +`qm vncproxy {{id_mv}}` diff --git a/pages.es/linux/qm-wait.md b/pages.es/linux/qm-wait.md new file mode 100644 index 00000000000000..2ffcca47eb7b9b --- /dev/null +++ b/pages.es/linux/qm-wait.md @@ -0,0 +1,16 @@ +# qm wait + +> Espera hasta que se detenga la máquina virtual. +> Más información: . + +- Espera hasta que se detenga la máquina virtual: + +`qm wait {{id_mv}}` + +- Espera hasta que la máquina virtual se detenga con un tiempo de espera máximo de 10 segundos: + +`qm wait --timeout {{10}} {{id_mv}}` + +- Envía una solicitud de apagado, luego espera hasta que la máquina virtual se detenga con un tiempo máximo de espera de 10 segundos: + +`qm shutdown {{id_mv}} && qm wait --timeout {{10}} {{id_mv}}` diff --git a/pages.es/linux/qm.md b/pages.es/linux/qm.md new file mode 100644 index 00000000000000..261db104c77aa9 --- /dev/null +++ b/pages.es/linux/qm.md @@ -0,0 +1,29 @@ +# qm + +> Administrador de máquinas virtuales QEMU/KVM. +> Algunas órdenes como `list`, `start`, `stop`, `clone`, etc. tienen su propia documentación. +> Más información: . + +- Lista todas las máquinas virtuales: + +`qm list` + +- Dado un archivo ISO subido en el almacenamiento local, crea una máquina virtual con un disco IDE de 4 GB en el almacenamiento `local-lvm` y con ID 100: + +`qm create {{100}} -ide0 {{local-lvm:4}} -net0 {{e1000}} -cdrom {{local:iso/proxmox-mailgateway_2.1.iso}}` + +- Muestra la configuración de una máquina virtual especificando su ID: + +`qm config {{100}}` + +- Inicia una máquina virtual específica: + +`qm start {{100}}` + +- Envía una solicitud de apagado, luego espera hasta que se detenga la máquina virtual: + +`qm shutdown {{100}} && qm wait {{100}}` + +- Destruye una máquina virtual y elimina todos los recursos relacionados: + +`qm destroy {{100}} --purge` diff --git a/pages.es/linux/qmake.md b/pages.es/linux/qmake.md new file mode 100644 index 00000000000000..3c4889285207c9 --- /dev/null +++ b/pages.es/linux/qmake.md @@ -0,0 +1,24 @@ +# qmake + +> Genera Makefiles a partir de archivos de proyecto Qt. +> Más información: . + +- Genera un `Makefile` a partir de un archivo de proyecto en el directorio actual: + +`qmake` + +- Especifica la ubicación del `Makefile` y del archivo de proyecto: + +`qmake -o {{ruta/a/Makefile}} {{ruta/al/archivo_de_proyecto.pro}}` + +- Genera un archivo de proyecto por defecto: + +`qmake -project` + +- Compila un proyecto: + +`qmake && make` + +- Activa el modo de depuración: + +`qmake -d` diff --git a/pages.es/linux/qmrestore.md b/pages.es/linux/qmrestore.md new file mode 100644 index 00000000000000..7994f869589c95 --- /dev/null +++ b/pages.es/linux/qmrestore.md @@ -0,0 +1,20 @@ +# qmrestore + +> Restaura copias de seguridad de QemuServer `vzdump`. +> Más información: . + +- Restaura la máquina virtual desde un archivo de respaldo dado en el almacenamiento original: + +`qmrestore {{ruta/a/vzdump-qemu-100.vma.lzo}} {{100}}` + +- Sobrescribe la máquina virtual existente desde un archivo de respaldo dado en el almacenamiento original: + +`qmrestore {{ruta/a/vzdump-qemu-100.vma.lzo}} {{100}} --force true` + +- Restaura la máquina virtual de un archivo de respaldo dado en el almacenamiento específico: + +`qmrestore {{ruta/a/vzdump-qemu-100.vma.lzo}} {{100}} --storage {{local}}` + +- Inicia la máquina virtual de inmediato desde la copia de seguridad mientras se restaura en el fondo (background) (sólo en el servidor de respaldo Proxmox): + +`qmrestore {{ruta/a/vzdump-qemu-100.vma.lzo}} {{100}} --live-restore true` diff --git a/pages.es/linux/raspinfo.md b/pages.es/linux/raspinfo.md new file mode 100644 index 00000000000000..6cb0b6b3beaf6c --- /dev/null +++ b/pages.es/linux/raspinfo.md @@ -0,0 +1,8 @@ +# raspinfo + +> Muestra información del sistema en una Raspberry Pi. +> Más información: . + +- Muestra información del sistema: + +`raspinfo` diff --git a/pages.es/linux/readcd.md b/pages.es/linux/readcd.md new file mode 100644 index 00000000000000..fee83a413892c4 --- /dev/null +++ b/pages.es/linux/readcd.md @@ -0,0 +1,8 @@ +# readcd + +> Lee o escribe datos sobre un soporte Compact Disc. +> Más información: . + +- Leer un cd y lo copia a un archivo: + +`readcd dev={{/dev/srX}} f={{ruta/al/archivo.iso}}` diff --git a/pages.es/linux/readelf.md b/pages.es/linux/readelf.md new file mode 100644 index 00000000000000..1c0b52cbbb72af --- /dev/null +++ b/pages.es/linux/readelf.md @@ -0,0 +1,24 @@ +# readelf + +> Muestra información sobre archivos ELF. +> Más información: . + +- Muestra toda la información de un archivo ELF: + +`readelf -all {{ruta/al/archivo_binario}}` + +- Muestra todas las cabeceras presentes en un archivo ELF: + +`readelf --headers {{ruta/al/archivo_binario}}` + +- Muestra las entradas en la sección de la tabla de símbolos del archivo ELF, si tiene una: + +`readelf --symbols {{ruta/al/archivo_binario}}` + +- Muestra la información de la cabecera ELF: + +`readelf --file-header {{ruta/al/archivo_binario}}` + +- Muestra información de cabecera de la sección ELF: + +`readelf --section-headers {{ruta/al/archivo_binario}}` diff --git a/pages.es/linux/reboot.md b/pages.es/linux/reboot.md index 28791629653599..d4e04f3378066a 100644 --- a/pages.es/linux/reboot.md +++ b/pages.es/linux/reboot.md @@ -1,11 +1,25 @@ # reboot -> Reinicia la máquina. +> Reinicia el sistema. +> Vea también: `halt`, `poweroff`. +> Más información: . - Reinicia inmediatamente: `reboot` -- Reinicia inmediatamente sin hacer un apagado limpio: +- Apaga el sistema (igual que `poweroff`): -`reboot -f` +`reboot {{[-p|--poweroff]}}` + +- Detiene (termina todos los procesos y apaga la CPU) el sistema (igual que `halt`): + +`reboot --halt` + +- Reinicia inmediatamente sin contactar al administrador del sistema: + +`reboot {{[-f|--force]}}` + +- Escribe la entrada wtmp de apagado sin reiniciar el sistema: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.es/linux/repo-remove.md b/pages.es/linux/repo-remove.md new file mode 100644 index 00000000000000..59c8ea6db459cc --- /dev/null +++ b/pages.es/linux/repo-remove.md @@ -0,0 +1,8 @@ +# repo-remove + +> Utilidad de mantenimiento de la base de datos de paquetes que elimina paquetes de un repositorio local. +> Más información: . + +- Elimina un paquete de un repositorio local: + +`repo-remove {{ruta/a/base_de_datos.db.tar.gz}} {{paquete}}` diff --git a/pages.es/linux/reset.md b/pages.es/linux/reset.md new file mode 100644 index 00000000000000..d413804771b2d4 --- /dev/null +++ b/pages.es/linux/reset.md @@ -0,0 +1,12 @@ +# reset + +> Reinicializa la terminal actual. Borra toda la pantalla de la terminal. +> Más información: . + +- Reinicializa la terminal actual: + +`reset` + +- Muestra el tipo de terminal: + +`reset -q` diff --git a/pages.es/linux/resize.md b/pages.es/linux/resize.md new file mode 100644 index 00000000000000..75af358df6f514 --- /dev/null +++ b/pages.es/linux/resize.md @@ -0,0 +1,12 @@ +# resize + +> Redimensiona el tamaño del terminal al tamaño de la ventana. +> Más información: . + +- Redimensiona el terminal: + +`resize` + +- Imprime el tamaño del terminal: + +`resize -s` diff --git a/pages.es/linux/rig.md b/pages.es/linux/rig.md new file mode 100644 index 00000000000000..cc33112c85787f --- /dev/null +++ b/pages.es/linux/rig.md @@ -0,0 +1,24 @@ +# rig + +> Utilidad para generar un nombre, apellido, calle y número, junto a ubicación geográfica consistente (un conjunto válido de ciudad, estado y código postal). +> Más información: . + +- Muestra un nombre aleatorio (masculino o femenino) y una dirección: + +`rig` + +- Muestra un nombre [m]asculino, (o [f]emenino) aleatorio y una dirección: + +`rig -{{m|f}}` + +- Usa archivos de datos de un directorio específico (por defecto es `/usr/share/rig`): + +`rig -d {{ruta/al/directorio}}` + +- Especifica el número de identidades a generar: + +`rig -c {{numero}}` + +- Especifica el número de identidades femininas a generar: + +`rig -f -c {{numero}}` diff --git a/pages.es/linux/rkhunter.md b/pages.es/linux/rkhunter.md new file mode 100644 index 00000000000000..ee4b5631668383 --- /dev/null +++ b/pages.es/linux/rkhunter.md @@ -0,0 +1,24 @@ +# rkhunter + +> Analiza el sistema en búsqueda de rootkits y malware. +> Más información: . + +- Analiza el sistema: + +`sudo rkhunter --check` + +- Actualiza rkhunter: + +`sudo rkhunter --update` + +- Muestra todos los test disponibles: + +`sudo rkhunter --list` + +- Muestra la versión: + +`sudo rkhunter --versioncheck` + +- Muestra la ayuda: + +`sudo rkhunter --help` diff --git a/pages.es/linux/rmmod.md b/pages.es/linux/rmmod.md new file mode 100644 index 00000000000000..212ab0d2a3b984 --- /dev/null +++ b/pages.es/linux/rmmod.md @@ -0,0 +1,25 @@ +# rmmod + +> Elimina módulos del núcleo Linux. +> Vea también: `kmod`, para otros comandos de gestión de módulos. +> Más información: . + +- Elimina un módulo del kernel: + +`sudo rmmod {{nombre_del_módulo}}` + +- Elimina un módulo del kernel y muestra información detallada: + +`sudo rmmod --verbose {{nombre_del_módulo}}` + +- Elimina un módulo del kernel y envía los errores a syslog en lugar de a `stderr`: + +`sudo rmmod --syslog {{nombre_del_modulo}}` + +- Muestra la ayuda: + +`rmmod --help` + +- Muestra la versión: + +`rmmod --version` diff --git a/pages.es/linux/rofi.md b/pages.es/linux/rofi.md new file mode 100644 index 00000000000000..73258727aec810 --- /dev/null +++ b/pages.es/linux/rofi.md @@ -0,0 +1,20 @@ +# rofi + +> Un lanzador de aplicaciones y conmutador de ventanas. +> Más información: . + +- Muestra la lista de aplicaciones: + +`rofi -show drun` + +- Muestra la lista de todos los comandos: + +`rofi -show run` + +- Cambia entre ventanas: + +`rofi -show window` + +- Envía una lista de elementos a `stdin` y muestra el elemento seleccionado en `stdout`: + +`printf "{{Opción1\nOpción2\nOpción3}}" | rofi -dmenu` diff --git a/pages.es/linux/rpi-otp-private-key.md b/pages.es/linux/rpi-otp-private-key.md new file mode 100644 index 00000000000000..188b6a9da2ed77 --- /dev/null +++ b/pages.es/linux/rpi-otp-private-key.md @@ -0,0 +1,8 @@ +# rpi-otp-private-key + +> Muestra la llave privada de la clave de un solo uso (OTP) de una Raspberry Pi. +> Más información: . + +- Lee la clave privada OTP: + +`rpi-otp-private-key` diff --git a/pages.es/linux/rpmconf.md b/pages.es/linux/rpmconf.md new file mode 100644 index 00000000000000..8dff2279548abb --- /dev/null +++ b/pages.es/linux/rpmconf.md @@ -0,0 +1,13 @@ +# rpmconf + +> Gestiona los archivos RPMNEW, RPMSAVE y RPMORIG creados por las actualizaciones de paquetes. +> Vea también: `rpm`. +> Más información: . + +- Lista los archivos sobrantes y elige interactivamente que hacer con cada uno de ellos: + +`sudo rpmconf --all` + +- Elimina los archivos huérfanos RPMNEW y RPMSAVE: + +`sudo rpmconf --all --clean` diff --git a/pages.es/linux/rtorrent.md b/pages.es/linux/rtorrent.md new file mode 100644 index 00000000000000..dac873f08e4cd0 --- /dev/null +++ b/pages.es/linux/rtorrent.md @@ -0,0 +1,20 @@ +# rtorrent + +> Descarga torrents. +> Más información: . + +- Añade un archivo torrent o magnet para descargar: + +`rtorrent {{torrent_o_magnet}}` + +- Inicia la descarga: + +`` + +- Muestra detalles sobre la descarga del torrent: + +`` + +- Cierra rtorrent con seguridad: + +`` diff --git a/pages.es/linux/run0.md b/pages.es/linux/run0.md new file mode 100644 index 00000000000000..3b619f192dbba7 --- /dev/null +++ b/pages.es/linux/run0.md @@ -0,0 +1,13 @@ +# run0 + +> Eleva privilegios interactivamente. +> Similar a `sudo`, pero no es un binario SUID, la autenticación tiene lugar a través de polkit, y los comandos se invocan desde un servicio `systemd`. +> Más información: . + +- Ejecuta un comando como root: + +`run0 {{comando}}` + +- Ejecuta un comando como otro usuario y/o grupo: + +`run0 {{[-u|--user]}} {{usuario|uid}} {{[-g|--group]}} {{nombre_de_grupo|gid}} {{comando}}` diff --git a/pages.es/linux/sbctl.md b/pages.es/linux/sbctl.md new file mode 100644 index 00000000000000..ab2f6d7a94f7e8 --- /dev/null +++ b/pages.es/linux/sbctl.md @@ -0,0 +1,33 @@ +# sbctl + +> Un gestor de claves de arranque seguro fácil de usar. +> Nota: no registrar los certificados de Microsoft puede bloquear su sistema. Vea . +> Más información: . + +- Muestra el estado actual del arranque seguro: + +`sbctl status` + +- Crea claves de arranque seguro personalizadas (todo se almacena en `/var/lib/sbctl` de forma predeterminada): + +`sbctl create-keys` + +- Inscribe las claves de arranque seguro personalizadas y los certificados de proveedor UEFI de Microsoft: + +`sbctl enroll-keys {{[-m|--microsoft]}}` + +- Ejecuta automáticamente `create-keys` y `enroll-keys` basado en los parámetros de `/etc/sbctl/sbctl.conf`: + +`sbctl setup --setup` + +- Firma un binario EFI con la clave creada y guarda el archivo en la base de datos: + +`sbctl sign {{[-s|--save]}} {{ruta/al/binario_efi}}` + +- Vuelve a firmar todos los archivos guardados: + +`sbctl sign-all` + +- Comprueba que se han firmado todos los ejecutables EFI de la partición EFI del sistema: + +`sbctl verify` diff --git a/pages.es/linux/schroot.md b/pages.es/linux/schroot.md new file mode 100644 index 00000000000000..522b314bbb3f0f --- /dev/null +++ b/pages.es/linux/schroot.md @@ -0,0 +1,36 @@ +# schroot + +> Ejecuta un comando o inicia una interfaz interactiva de comando con un directorio raíz diferente. Más personalizable que `chroot`. +> Más información: . + +- Lista chroots disponibles: + +`schroot --list` + +- Ejecuta un comando en un chroot específico: + +`schroot --chroot {{chroot}} {{comando}}` + +- Ejecuta un comando con opciones en un chroot específico: + +`schroot --chroot {{chroot}} {{comando}} -- {{opciones_de_comando}}` + +- Ejecuta un comando en todos los chroots disponibles: + +`schroot --all {{comando}}` + +- Inicia una shell interactiva dentro de un chroot específico como usuario específico: + +`schroot --chroot {{chroot}} --user {{usuario}}` + +- Inicia una nueva sesión (devuelve un identificador único en `stdout`): + +`schroot --begin-session --chroot {{chroot}}` + +- Se conecta a una sesión existente: + +`schroot --run-session --chroot {{id_de_sesión}}` + +- Finaliza una sesión en curso: + +`schroot --end-session --chroot {{id_de_sesión}}` diff --git a/pages.es/linux/scriptlive.md b/pages.es/linux/scriptlive.md new file mode 100644 index 00000000000000..c65f6f1f5be950 --- /dev/null +++ b/pages.es/linux/scriptlive.md @@ -0,0 +1,21 @@ +# scriptlive + +> Ejecuta un typescript creado por el comando `script` en tiempo real. +> Vea también: `script`. +> Más información: . + +- Ejecuta un typescript en tiempo real: + +`scriptlive {{ruta/al/archivo_de_tiempo}} {{ruta/a/typescript}}` + +- Ejecuta un typescript al doble de la velocidad original: + +`scriptlive {{ruta/al/archivo_de_timing}} {{ruta/a/typescript}} --divisor 2` + +- Ejecuta un guión tipográfico creado con la opción `--log-in` de `script`: + +`scriptlive --log-in {{ruta/al/archivo_de_registro}} {{ruta/a/typescript}}` + +- Ejecuta un typescript esperando como máximo 2 segundos entre cada comando: + +`scriptlive {{ruta/al/archivo_de_tiempo}} {{ruta/a/typescript}} --maxdelay 2` diff --git a/pages.es/linux/sensible-browser.md b/pages.es/linux/sensible-browser.md new file mode 100644 index 00000000000000..4606f799345626 --- /dev/null +++ b/pages.es/linux/sensible-browser.md @@ -0,0 +1,12 @@ +# sensible-browser + +> Abre el navegador predeterminado. +> Más información: . + +- Abre una nueva ventana del navegador predeterminado: + +`sensible-browser` + +- Abre una URL en el navegador predeterminado: + +`sensible-browser {{url}}` diff --git a/pages.es/linux/sensors.md b/pages.es/linux/sensors.md new file mode 100644 index 00000000000000..9702afe43d45ff --- /dev/null +++ b/pages.es/linux/sensors.md @@ -0,0 +1,12 @@ +# sensors + +> Proporciona información de los sensores. +> Más información: . + +- Muestra las lecturas actuales de todos los sensores: + +`sensors` + +- Muestra las temperaturas en grados Fahrenheit: + +`sensors --fahrenheit` diff --git a/pages.es/linux/service.md b/pages.es/linux/service.md new file mode 100644 index 00000000000000..c5cc3bbbb3c7cd --- /dev/null +++ b/pages.es/linux/service.md @@ -0,0 +1,21 @@ +# service + +> Gestiona los servicios mediante la ejecución de scripts init. +> Se debe omitir la ruta completa del script (se asume `/etc/init.d/`). +> Más información: . + +- Lista el nombre y el estado de todos los servicios: + +`service --status-all` + +- Inicia/Para/Reinicia/Recarga servicio (_start_/_stop_ debería estar siempre disponible): + +`service {{nombre_de_servicio}} {{start|stop|restart|reload}}` + +- Hace un reinicio completo (ejecuta el script dos veces con _start_ y _stop_): + +`service {{nombre_de_servicio}} --full-restart` + +- Muestra el estado actual de un servicio: + +`service {{nombre_de_servicio}} status` diff --git a/pages.es/linux/shnsplit.md b/pages.es/linux/shnsplit.md new file mode 100644 index 00000000000000..2d28e1f63c5565 --- /dev/null +++ b/pages.es/linux/shnsplit.md @@ -0,0 +1,20 @@ +# shnsplit + +> Divide archivos de audio según un archivo `.cue`. +> Más información: . + +- Divide un archivo `.wav` + `.cue` en múltiples archivos: + +`shnsplit -f {{ruta/al/archivo.cue}} {{ruta/al/archivo.wav}}` + +- Muestra formatos compatibles: + +`shnsplit -a` + +- Divide un archivo `.flac` en varios archivos: + +`shnsplit -f {{ruta/al/archivo.cue}} -o flac {{ruta/al/archivo.flac}}` + +- Divide un archivo `.wav` en archivos de la forma "número-de-pista - álbum - título": + +`shnsplit -f {{ruta/al/archivo.cue}} {{ruta/al/archivo.wav}} -t "%n - %a - %t"` diff --git a/pages.es/linux/shntool-split.md b/pages.es/linux/shntool-split.md new file mode 100644 index 00000000000000..a3977ed3144822 --- /dev/null +++ b/pages.es/linux/shntool-split.md @@ -0,0 +1,7 @@ +# shntool split + +> Este comando es un alias de `shnsplit`. + +- Vea la documentación para el comando original: + +`tldr shnsplit` diff --git a/pages.es/linux/showkey.md b/pages.es/linux/showkey.md new file mode 100644 index 00000000000000..8c9e8a6d2a4c9b --- /dev/null +++ b/pages.es/linux/showkey.md @@ -0,0 +1,24 @@ +# showkey + +> Muestra el código de las teclas pulsadas en el teclado, útil para depurar problemas relacionados con el teclado y la reasignación de teclas. +> Más información: . + +- Visualiza códigos de teclas en decimal: + +`sudo showkey` + +- Visualiza códigos de rastreo en hexadecimal: + +`sudo showkey {{[-s|--scancodes]}}` + +- Muestra códigos de teclas en decimal (por defecto): + +`sudo showkey {{[-k|--keycodes]}}` + +- Muestra los códigos en ASCII, decimal y hexadecimal: + +`sudo showkey {{[-a|--ascii]}}` + +- Sale del programa: + +`` diff --git a/pages.es/linux/shutdown.md b/pages.es/linux/shutdown.md index 774b3aec3d5192..98aadf67503181 100644 --- a/pages.es/linux/shutdown.md +++ b/pages.es/linux/shutdown.md @@ -1,27 +1,24 @@ # shutdown -> Detiene, apaga o reinicia la máquina. +> Apaga y reinicia el sistema. +> Más información: . -- Detiene inmediatamente: - -`shutdown -H now` - -- Apaga inmediatamente: +- Apaga ([h]alt) inmediatamente: `shutdown -h now` -- Reinicia inmediatamente: +- [r]einicia inmediatamente: -`shutdown -r now` +`shutdown {{[-r|--reboot]}} now` -- Reinicia dentro de 5 minutos: +- [r]einicia en 5 minutos: -`shutdown -r +{{5}} &` +`shutdown {{[-r|--reboot]}} +{{5}} &` -- Apaga a la 1:00 PM (formato 24h): +- Apaga a las 01:00 pm (Usa el reloj de 24[h]): `shutdown -h 13:00` -- Cancela una operación de apagado/reinicio pendiente: +- [c]ancela una operación pendiente de apagado/reinicio: `shutdown -c` diff --git a/pages.es/linux/slurp.md b/pages.es/linux/slurp.md new file mode 100644 index 00000000000000..e55b7efc4fbccc --- /dev/null +++ b/pages.es/linux/slurp.md @@ -0,0 +1,28 @@ +# slurp + +> Selecciona una región en un compositor Wayland. +> Más información: . + +- Selecciona una región y la imprime en `stdout`: + +`slurp` + +- Selecciona una región e imprímela en `stdout`, mientras muestras las dimensiones de la selección: + +`slurp -d` + +- Selecciona un único punto en lugar de una región: + +`slurp -p` + +- Selecciona una salida e imprime su nombre: + +`slurp -o -f '%o'` + +- Selecciona una región determinada y hace una captura de pantalla sin bordes utilizando `grim`: + +`grim -g "$(slurp -w 0)"` + +- Selecciona una región determinada y graba un vídeo sin bordes utilizando `wf-recorder`: + +`wf-recorder --geometry "$(slurp -w 0)"` diff --git a/pages.es/linux/smbcacls.md b/pages.es/linux/smbcacls.md new file mode 100644 index 00000000000000..9a21d6fd2d6bf4 --- /dev/null +++ b/pages.es/linux/smbcacls.md @@ -0,0 +1,21 @@ +# smbcacls + +> Visualiza y manipula ACLs de Windows en recursos compartidos SMB. +> Parte de la suite Samba. +> Más información: . + +- Muestra las ACLs de un archivo o directorio en un recurso compartido SMB remoto: + +`smbcacls //{{servidor}}/{{compartido}} {{ruta/al/archivo_o_directorio}} --user {{dominio\\nombre_usuario}}%{{contraseña}}` + +- Establece una nueva ACL para un archivo en un recurso compartido SMB remoto (reemplaza `"ACL:..."` con una especificación ACL válida de Windows): + +`smbcacls //{{servidor}}/{{compartido}} {{ruta/al/archivo}} --user {{dominio\\nombre_usuario}}%{{contraseña}} "ACL:{{DACL}}"` + +- Elimina todas las entradas ACL existentes y establece una nueva ACL: + +`smbcacls //{{servidor}}/{{compartido}} {{ruta/al/archivo}} --user {{dominio\\nombre_usuario}}%{{contraseña}} "RESET" "ACL:{{DACL}}"` + +- Especifica un grupo de trabajo (o dominio) alternativo y hace que el programa solicite una contraseña de forma interactiva: + +`smbcacls //{{servidor}}/{{compartido}} {{ruta/al/archivo}} --user {{nombre_usuario}} --workgroup {{grupo_de_trabajo}}` diff --git a/pages.es/linux/snake4scores.md b/pages.es/linux/snake4scores.md new file mode 100644 index 00000000000000..f4ce76c7f6d618 --- /dev/null +++ b/pages.es/linux/snake4scores.md @@ -0,0 +1,8 @@ +# snake4scores + +> Muestra las máximas puntuaciones del juego snake4. +> Más información: . + +- Muestra las máximas puntuaciones: + +`snake4scores` diff --git a/pages.es/linux/sslstrip.md b/pages.es/linux/sslstrip.md new file mode 100644 index 00000000000000..77668b08dec215 --- /dev/null +++ b/pages.es/linux/sslstrip.md @@ -0,0 +1,29 @@ +# sslstrip + +> Realiza ataques de stripping de Secure Sockets Layer (SSL) basados en el trabajo de Moxie Marlinspike. +> Realiza un ataque de suplantación de ARP en conjunto. +> Más información: . + +- Registra sólo el tráfico HTTPS POST en el puerto 10000 por defecto: + +`sslstrip` + +- Registra sólo el tráfico HTTPS POST en el puerto 8080: + +`sslstrip --listen={{8080}}` + +- Registra todo el tráfico SSL hacia y desde el servidor en el puerto 8080: + +`sslstrip --ssl --listen={{8080}}` + +- Registra todo el tráfico SSL y HTTP hacia y desde el servidor en el puerto 8080: + +`sslstrip --listen={{8080}} --all` + +- Especifica la ruta del archivo para almacenar los registros: + +`sslstrip --listen={{8080}} --write={{ruta/a/archivo}}` + +- Muestra la ayuda: + +`sslstrip --help` diff --git a/pages.es/linux/steamos-boot-install.md b/pages.es/linux/steamos-boot-install.md new file mode 100644 index 00000000000000..2c10e7945b20a8 --- /dev/null +++ b/pages.es/linux/steamos-boot-install.md @@ -0,0 +1,7 @@ +# steamos-boot-install + +> Este comando es un alias de `steamos-finalize-install`. + +- Vea la documentación del comando original: + +`tldr steamos-finalize-install` diff --git a/pages.es/linux/steamos-chroot.md b/pages.es/linux/steamos-chroot.md new file mode 100644 index 00000000000000..a31de68aa29b45 --- /dev/null +++ b/pages.es/linux/steamos-chroot.md @@ -0,0 +1,16 @@ +# steamos-chroot + +> Cambia el directorio raíz en un entorno SteamOS. +> Más información: . + +- Cambia a la otra partición A/B: + +`steamos-chroot --partset other` + +- Cambia a una partición en otra unidad: + +`steamos-chroot --disk {{/dev/sdX}} --partset {{A|B}}` + +- Muestra la ayuda: + +`steamos-chroot --help` diff --git a/pages.es/linux/strace.md b/pages.es/linux/strace.md new file mode 100644 index 00000000000000..7b75ad0dd7c126 --- /dev/null +++ b/pages.es/linux/strace.md @@ -0,0 +1,32 @@ +# strace + +> Herramienta de diagnóstico para rastrear llamadas al sistema. +> Más información: . + +- Rastrea las llamadas de un proceso usando su PID: + +`strace {{[-p|--attach]}} {{pid}}` + +- Rastrea un proceso y filtra la salida según [e]xpresiones de llamadas al sistema: + +`strace {{[-p|--attach]}} {{pid}} -e {{llamada_sis,llamada_sis2,...}}` + +- Cuenta el tiempo, número de llamada y errores para cada llamada al sistema y devuelve un resumen cuando el programa acabe: + +`strace {{[-p|--attach]}} {{pid}} {{[-c|--summary-only]}}` + +- Muestra el tiempo dedicado en cada llamada al sistema y especifica el tamaño máximo de cadena a imprimir: + +`strace {{[-p|--attach]}} {{pid}} {{[-T|--syscall-times]}} {{[-s|--string-limit]}} {{32}}` + +- Rastrea un programa ejecutándolo: + +`strace {{programa}}` + +- Rastrea las operaciones de archivos de un programa: + +`strace -e trace=file {{programa}}` + +- Rastrea las operaciones de red de un programa, así como las de todos sus procesos hijos, guardando la salida en un archivo: + +`strace {{[-f|--follow-forks]}} -e trace=network {{[-o|--output]}} {{rastreo.txt}} {{programa}}` diff --git a/pages.es/linux/swww.md b/pages.es/linux/swww.md new file mode 100644 index 00000000000000..c7057deec2cd68 --- /dev/null +++ b/pages.es/linux/swww.md @@ -0,0 +1,25 @@ +# swww + +> Servicio (daemon) eficiente de fondos de pantalla animados para Wayland. +> Vea también: `swww-daemon`. +> Más información: . + +- Establece fondo de pantalla: + +`swww img {{ruta/a/imagen}}` + +- Establece el fondo de pantalla en las salidas especificadas: + +`swww img -o {{salida1,salida2,...}} {{ruta/a/imagen}}` + +- Restaura el último fondo de pantalla: + +`swww restore` + +- Apaga daemon: + +`swww kill` + +- Muestra información de salida: + +`swww query` diff --git a/pages.es/linux/systemctl-add-requires.md b/pages.es/linux/systemctl-add-requires.md new file mode 100644 index 00000000000000..1c1274c5ba0550 --- /dev/null +++ b/pages.es/linux/systemctl-add-requires.md @@ -0,0 +1,16 @@ +# systemctl add-requires + +> Agrega dependencias `Requires` a un target para una o más unidades. +> Más información: . + +- Agrega una dependencia `Requires` desde un target a una unidad: + +`systemctl add-requires {{target}} {{unidad}}` + +- Agrega múltiples dependencias `Requires` a la vez: + +`systemctl add-requires {{target}} {{unidad1 unidad2 ...}}` + +- Agrega una dependencia `Requires` a nivel de usuario: + +`systemctl add-requires {{target}} {{unidad}} --user` diff --git a/pages.es/linux/systemctl-add-wants.md b/pages.es/linux/systemctl-add-wants.md new file mode 100644 index 00000000000000..7428c849b6eed6 --- /dev/null +++ b/pages.es/linux/systemctl-add-wants.md @@ -0,0 +1,16 @@ +# systemctl add-wants + +> Agrega dependencias `Wants` a un target para una o más unidades. +> Más información: . + +- Agrega una dependencia `Wants` desde un target a una unidad: + +`systemctl add-wants {{target}} {{unidad}}` + +- Agrega múltiples dependencias `Wants` a la vez: + +`systemctl add-wants {{target}} {{unidad1 unidad2 ...}}` + +- Agrega una dependencia `Wants` a nivel de usuario: + +`systemctl add-wants {{target}} {{unidad}} --user` diff --git a/pages.es/linux/systemctl-bind.md b/pages.es/linux/systemctl-bind.md new file mode 100644 index 00000000000000..72812bd2735092 --- /dev/null +++ b/pages.es/linux/systemctl-bind.md @@ -0,0 +1,20 @@ +# systemctl bind + +> Monta temporalmente un archivo o directorio del host en el espacio de nombres de montaje de una unidad. +> Más información: . + +- Monta una ruta del host en la misma ubicación dentro de la unidad: + +`systemctl bind {{unidad}} /{{ruta/al/directorio_host}}` + +- Monta una ruta del host en una ubicación diferente dentro de la unidad: + +`systemctl bind {{unidad}} /{{ruta/al/directorio_host}} /{{ruta/al/directorio_unidad}}` + +- Monta una ruta como solo lectura dentro de la unidad: + +`systemctl bind {{unidad}} /{{ruta/al/directorio_host}} --read-only` + +- Crea la ruta de destino dentro de la unidad antes de montar: + +`systemctl bind {{unidad}} /{{ruta/al/directorio_host}} /{{ruta/al/directorio_unidad}} --mkdir` diff --git a/pages.es/linux/systemctl-cancel.md b/pages.es/linux/systemctl-cancel.md new file mode 100644 index 00000000000000..7b1c8769bc7837 --- /dev/null +++ b/pages.es/linux/systemctl-cancel.md @@ -0,0 +1,20 @@ +# systemctl cancel + +> Cancela uno o más trabajos pendientes en el administrador del sistema o de usuario. +> Más información: . + +- Cancela un trabajo por su ID numérico: + +`systemctl cancel {{id_trabajo}}` + +- Cancela múltiples trabajos: + +`systemctl cancel {{id_trabajo1 id_trabajo2 ...}}` + +- Cancela todos los trabajos pendientes: + +`systemctl cancel` + +- Cancela un trabajo en el administrador de servicios de usuario: + +`systemctl cancel {{id_trabajo}} --user` diff --git a/pages.es/linux/systemctl-cat.md b/pages.es/linux/systemctl-cat.md new file mode 100644 index 00000000000000..5ff91b401e8196 --- /dev/null +++ b/pages.es/linux/systemctl-cat.md @@ -0,0 +1,20 @@ +# systemctl cat + +> Muestra el contenido completo de los archivos de unidad como los ve systemd. +> Más información: . + +- Muestra el contenido y la ruta absoluta de un archivo de unidad: + +`systemctl cat {{unidad}}` + +- Muestra el contenido de múltiples archivos de unidad: + +`systemctl cat {{unidad1 unidad2 ...}}` + +- Muestra el contenido de un archivo de unidad para una plantilla: + +`systemctl cat {{plantilla@}}` + +- Muestra el contenido de un archivo de unidad de usuario: + +`systemctl cat {{unidad}} --user` diff --git a/pages.es/linux/systemctl.md b/pages.es/linux/systemctl.md new file mode 100644 index 00000000000000..480dba57b66318 --- /dev/null +++ b/pages.es/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> Controla el gestor de sistemas y servicios systemd. +> Más información: . + +- Muestra todos los servicios en ejecución: + +`systemctl status` + +- Lista las unidades fallidas: + +`systemctl --failed` + +- Inicia, para, reinicia, recarga o muestra el estado de una unidad: + +`systemctl {{start|stop|restart|reload|status}} {{unidad}}` + +- Habilita o deshabilita una unidad para iniciarla al arrancar: + +`systemctl {{enable|disable}} {{unidad}}` + +- Reinicia systemd, lee unidades nuevas o modificadas: + +`systemctl daemon-reload` + +- Checa si una unidad está activa, habilitada, o en estado fallido: + +`systemctl {{is-active|is-enabled|is-failed}} {{unidad}}` + +- Lista todos los servicios, sockets, unidades auto-montadas filtradas por estado en ejecución o fallido: + +`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` + +- Muestra los contenidos y la ruta absoluta del archivo de una unidad: + +`systemctl cat {{unidad}}` diff --git a/pages.es/linux/systemd-confext.md b/pages.es/linux/systemd-confext.md new file mode 100644 index 00000000000000..5c1f5e59b66dd4 --- /dev/null +++ b/pages.es/linux/systemd-confext.md @@ -0,0 +1,8 @@ +# systemd-confext + +> Este comando es un alias de `systemd-sysext`. +> Sigue el mismo principio que `systemd-sysext`, pero en lugar de trabajar sobre `/usr` y `/opt`, `confext` extenderá solamente `/etc`. + +- Vea la documentación para el comando original: + +`tldr systemd-sysext` diff --git a/pages.es/linux/systemd-mount.md b/pages.es/linux/systemd-mount.md new file mode 100644 index 00000000000000..5c3e07bd37e689 --- /dev/null +++ b/pages.es/linux/systemd-mount.md @@ -0,0 +1,32 @@ +# systemd-mount + +> Establece y destruye puntos de montaje transitorio o de montaje automático (auto-mount point). +> Más información: . + +- Monta un sistema de archivos (imagen o dispositivo de bloque (block device)) en `/run/media/system/ETIQUETA` donde ETIQUETA es la etiqueta del sistema de archivos o el nombre del dispositivo si no hay etiqueta: + +`systemd-mount {{ruta/al/archivo_o_dispositivo}}` + +- Monta un sistema de archivos (imagen o dispositivo de bloque) en una ubicación específica: + +`systemd-mount {{ruta/al/archivo_o_dispositivo}} {{ruta/al/punto_de_montaje}}` + +- Lista todos los dispositivos locales de bloque conocidos con sistemas de archivos que pueden montarse: + +`systemd-mount --list` + +- Crea un punto de montaje automático que monta el sistema de archivos al momento del primer acceso: + +`systemd-mount --automount yes {{ruta/al/archivo_o_dispositivo}}` + +- Desmonta uno o más dispositivos: + +`systemd-mount {{[-u|--umount]}} {{ruta/al/punto_de_montaje_o_dispositivo1}} {{ruta/al/punto_de_montaje_o_dispositivo2}}` + +- Monta un sistema de archivos (dispositivo de imagen o bloque) con un tipo de sistema de archivos específico: + +`systemd-mount {{[-t|--type]}} {{file_system_type}} {{ruta/al/archivo_o_dispositivo}} {{ruta/al/punto_de_montaje}}` + +- Monta un sistema de archivos (imagen o dispositivo de bloque) con opciones adicionales de montaje: + +`systemd-mount {{[-o|--options]}} {{opciones_de_montaje}} {{ruta/al/archivo_o_dispositivo}} {{ruta/al/punto_de_montaje}}` diff --git a/pages.es/linux/systemd-sysext.md b/pages.es/linux/systemd-sysext.md new file mode 100644 index 00000000000000..3fb5c0e01c6ea3 --- /dev/null +++ b/pages.es/linux/systemd-sysext.md @@ -0,0 +1,24 @@ +# systemd-sysext + +> Activa o desactiva imágenes de extensión del sistema (system extension images). +> Más información: . + +- Lista de imágenes de extensión instaladas: + +`systemd-sysext list` + +- Combina imágenes de extensión del sistema en `/usr/` y `/opt/`: + +`systemd-sysext merge` + +- Comprueba el estado de fusión actual: + +`systemd-sysext status` + +- Separa todas las imágenes de extensión del sistema actualmente instaladas en `/usr/` y `/opt/`: + +`systemd-sysext unmerge` + +- Actualiza imágenes de extensión del sistema (una combinación de `unmerge` y `merge`): + +`systemd-sysext refresh` diff --git a/pages.es/linux/systemd-tmpfiles.md b/pages.es/linux/systemd-tmpfiles.md new file mode 100644 index 00000000000000..7ed2c88ecc8bf3 --- /dev/null +++ b/pages.es/linux/systemd-tmpfiles.md @@ -0,0 +1,25 @@ +# systemd-tmpfiles + +> Crea, elimina y limpia archivos y directorios volátiles y temporales. +> Este comando es invocado automáticamente en el arranque por los servicios de systemd, ejecutarlo manualmente tiende a ser innecesario. +> Más información: . + +- Crea los archivos y directorios especificados en el archivo de configuración: + +`systemd-tmpfiles --create` + +- Limpia archivos y directorios con los parámetros de edad configurados: + +`systemd-tmpfiles --clean` + +- Elimina archivos y directorios según lo especificado en el archivo de configuración: + +`systemd-tmpfiles --remove` + +- Aplica operaciones en archivos de configuración específicos de usuario: + +`systemd-tmpfiles --create --user` + +- Ejecuta las líneas marcadas para el inicio del arranque: + +`systemd-tmpfiles --create --boot` diff --git a/pages.es/linux/systemd-umount.md b/pages.es/linux/systemd-umount.md new file mode 100644 index 00000000000000..7da5897784b103 --- /dev/null +++ b/pages.es/linux/systemd-umount.md @@ -0,0 +1,7 @@ +# systemd-umount + +> Este comando es un alias de `systemd-mount --umount`. + +- Vea la documentación para el comando original: + +`tldr systemd-mount` diff --git a/pages.es/linux/systool.md b/pages.es/linux/systool.md new file mode 100644 index 00000000000000..def862f2a65497 --- /dev/null +++ b/pages.es/linux/systool.md @@ -0,0 +1,17 @@ +# systool + +> Vea información de dispositivos del sistema por bus y clases. +> Este comando es parte del paquete `sysfs`. +> Más información: . + +- Lista todos los atributos de los dispositivos de un bus (ej. `pci`, `usb`). Vea todos los buses usando `ls /sys/bus`: + +`systool -b {{bus}} -v` + +- Lista todos los atributos de una clase de dispositivos (ej. `drm`, `block`). Vea todas las clases usando `ls /sys/class`: + +`systool -c {{clase}} -v` + +- Muestra solo los controladores de un bus (ej. `pci`, `usb`): + +`systool -b {{bus}} -D` diff --git a/pages.es/linux/tcpflow.md b/pages.es/linux/tcpflow.md new file mode 100644 index 00000000000000..69c2f67e101094 --- /dev/null +++ b/pages.es/linux/tcpflow.md @@ -0,0 +1,8 @@ +# tcpflow + +> Captura el tráfico TCP para depuración y análisis. +> Más información: . + +- Muestra todos los datos de la interfaz y el puerto indicados: + +`tcpflow -c -i {{eth0}} port {{80}}` diff --git a/pages.es/linux/tcpkill.md b/pages.es/linux/tcpkill.md new file mode 100644 index 00000000000000..3580bad800a613 --- /dev/null +++ b/pages.es/linux/tcpkill.md @@ -0,0 +1,8 @@ +# tcpkill + +> Elimina las conexiones TCP en curso especificadas. +> Más información: . + +- Elimina las conexiones en curso de una interfaz, máquina y puerto indicados: + +`tcpkill -i {{eth1}} host {{192.95.4.27}} and port {{2266}}` diff --git a/pages.es/linux/terraria.md b/pages.es/linux/terraria.md new file mode 100644 index 00000000000000..21a0076caa22fd --- /dev/null +++ b/pages.es/linux/terraria.md @@ -0,0 +1,12 @@ +# Terraria + +> Crea e inicia un servidor Terraria sin interfaz gráfica. +> Más información: . + +- Inicia la configuración de un servidor interactivo: + +`{{ruta/a/TerrariaServer}}` + +- Inicia un servidor Terraria: + +`{{ruta/a/TerrariaServer}} -world {{ruta/a/mundo.wld}}` diff --git a/pages.es/linux/thunar.md b/pages.es/linux/thunar.md new file mode 100644 index 00000000000000..182e60598b7cc1 --- /dev/null +++ b/pages.es/linux/thunar.md @@ -0,0 +1,16 @@ +# thunar + +> Administrador de archivos gráficos para entornos de escritorio XFCE. +> Más información: . + +- Abre una nueva ventana mostrando el directorio actual: + +`thunar` + +- Abre la utilidad de cambio de nombre masivo: + +`thunar --bulk-rename` + +- Cierra todas las ventanas abiertas de thunar: + +`thunar --quit` diff --git a/pages.es/linux/togglesebool.md b/pages.es/linux/togglesebool.md new file mode 100644 index 00000000000000..47a201f19252d4 --- /dev/null +++ b/pages.es/linux/togglesebool.md @@ -0,0 +1,9 @@ +# togglesebool + +> Voltea los valores actuales (no persistentes) de los booleanos de SELinux. +> Nota: Esta herramienta ha quedado obsoleta y a menudo se elimina en favor de `setsebool`. +> Más información: . + +- Cambia los valores actuales (no persistentes) de los booleanos especificados: + +`sudo togglesebool {{virt_use_samba virt_use_usb ...}}` diff --git a/pages.es/linux/toolbox-create.md b/pages.es/linux/toolbox-create.md new file mode 100644 index 00000000000000..22e8940e6e8c82 --- /dev/null +++ b/pages.es/linux/toolbox-create.md @@ -0,0 +1,24 @@ +# toolbox create + +> Crea un nuevo contenedor de `toolbox`. +> Más información: . + +- Crea un contenedor para una distribución específica: + +`toolbox create --distro {{distribución}}` + +- Crea un contenedor de `toolbox` para una liberación específica de la distribución actual: + +`toolbox create --release {{liberación}}` + +- Crea un contenedor de `toolbox` con una imagen personalizada: + +`toolbox create --image {{nombre}}` + +- Crea un contenedor de `toolbox` de una imagen personalizada de Fedora: + +`toolbox create --image {{registry.fedoraproject.org/fedora-toolbox:39}}` + +- Crea un contenedor `toolbox` utilizando la imagen predeterminada de Fedora 39: + +`toolbox create --distro {{fedora}} --release {{f39}}` diff --git a/pages.es/linux/toolbox-enter.md b/pages.es/linux/toolbox-enter.md new file mode 100644 index 00000000000000..9198af6a39defa --- /dev/null +++ b/pages.es/linux/toolbox-enter.md @@ -0,0 +1,17 @@ +# toolbox enter + +> Ingresa a un contenedor `toolbox` para usarlo interactivamente. +> Vea también: `toolbox run`. +> Más información: . + +- Entra a un contenedor de `toolbox` utilizando la imagen predeterminada de una distribución específica: + +`toolbox enter --distro {{distribución}}` + +- Entra a un contenedor de `toolbox` utilizando la imagen predeterminada de una liberación específica de la distribución actual: + +`toolbox enter --release {{liberación}}` + +- Entra a un contenedor de `toolbox` utilizando la imagen predeterminada de Fedora 39: + +`toolbox enter --distro {{fedora}} --release {{f39}}` diff --git a/pages.es/linux/toolbox-help.md b/pages.es/linux/toolbox-help.md new file mode 100644 index 00000000000000..fbdf0c282ad28e --- /dev/null +++ b/pages.es/linux/toolbox-help.md @@ -0,0 +1,12 @@ +# toolbox help + +> Muestra información de ayuda sobre `toolbox`. +> Más información: . + +- Muestra el manual de `toolbox`: + +`toolbox help` + +- Muestra el manual de `toolbox` para un subcomando específico: + +`toolbox help {{subcomando}}` diff --git a/pages.es/linux/toolbox-init-container.md b/pages.es/linux/toolbox-init-container.md new file mode 100644 index 00000000000000..649dc34931464f --- /dev/null +++ b/pages.es/linux/toolbox-init-container.md @@ -0,0 +1,9 @@ +# toolbox init-container + +> Inicializa un contenedor de `toolbox` que está en funcionamiento. +> Este comando no debe ser ejecutado por el usuario, y no puede ser ejecutado en el host. +> Más información: . + +- Inicializa un `toolbox` que está en funcionamiento: + +`toolbox init-container --gid {{gid}} --home {{directorio_home}} --home-link --media-link --mnt-link --monitor-host --shell {{shell}} --uid {{uid}} --user {{usuario}}` diff --git a/pages.es/linux/toolbox-list.md b/pages.es/linux/toolbox-list.md new file mode 100644 index 00000000000000..dd7d3a0df29de1 --- /dev/null +++ b/pages.es/linux/toolbox-list.md @@ -0,0 +1,16 @@ +# toolbox list + +> Lista los contenedores e imágenes existentes de `toolbox` presentes. +> Más información: . + +- Lista todos los contenedores e imágenes de `toolbox`: + +`toolbox list` + +- Lista solo los contenedores de `toolbox`: + +`toolbox list --containers` + +- Lista solo imágenes de `toolbox`: + +`toolbox list --images` diff --git a/pages.es/linux/toolbox-rm.md b/pages.es/linux/toolbox-rm.md new file mode 100644 index 00000000000000..d10073b8a00d9d --- /dev/null +++ b/pages.es/linux/toolbox-rm.md @@ -0,0 +1,17 @@ +# toolbox rm + +> Elimina uno o más contenedores de `toolbox`. +> Vea también: `toolbox rmi`. +> Más información: . + +- Quita un contenedor de `toolbox`: + +`toolbox rm {{nombre_del_contenedor}}` + +- Quita todos los contenedores de `toolbox`: + +`toolbox rm --all` + +- Fuerza la eliminación de un contenedor de `toolbox` activo actualmente: + +`toolbox rm --force {{nombre_del_contenedor}}` diff --git a/pages.es/linux/toolbox-rmi.md b/pages.es/linux/toolbox-rmi.md new file mode 100644 index 00000000000000..3cadd232db47a2 --- /dev/null +++ b/pages.es/linux/toolbox-rmi.md @@ -0,0 +1,17 @@ +# toolbox rmi + +> Elimina imágenes de `toolbox`. +> Vea también: `toolbox rm`. +> Más información: . + +- Quita una o más imágenes de `toolbox`: + +`toolbox rmi {{nombre_de_la_imagen1 nombre_de_la_imagen2 ...}}` + +- Quita todas las imágenes de `toolbox`: + +`toolbox rmi --all` + +- Fuerza la eliminación de una imagen de `toolbox` que está siendo utilizado actualmente por un contenedor (el contenedor será eliminado también): + +`toolbox rmi --force {{nombre_de_la_imagen}}` diff --git a/pages.es/linux/toolbox-run.md b/pages.es/linux/toolbox-run.md new file mode 100644 index 00000000000000..7390228242371b --- /dev/null +++ b/pages.es/linux/toolbox-run.md @@ -0,0 +1,17 @@ +# toolbox run + +> Ejecuta un comando en un contenedor existente de `toolbox`. +> Vea también: `toolbox enter`. +> Más información: . + +- Ejecuta un comando dentro de un contenedor específico `toolbox`: + +`toolbox run --container {{nombre_del_contenedor}} {{comando}}` + +- Ejecuta un comando dentro de un contenedor `toolbox` para una liberación específica de una distribución: + +`toolbox run --distro {{distribución}} --release {{lanzamiento}} {{comando}}` + +- Ejecuta `emacs` dentro de un contenedor `toolbox` utilizando la imagen predeterminada de Fedora 39: + +`toolbox run --distro {{fedora}} --release {{f39}} {{emacs}}` diff --git a/pages.es/linux/toolbox.md b/pages.es/linux/toolbox.md new file mode 100644 index 00000000000000..955529df456da8 --- /dev/null +++ b/pages.es/linux/toolbox.md @@ -0,0 +1,21 @@ +# toolbox + +> Gestiona entornos de línea de comandos en contenedores de Linux. +> Algunos subcomandos como `create` tienen su propia documentación de uso. +> Más información: . + +- Ejecuta un subcomando de `toolbox`: + +`toolbox {{subcomando}}` + +- Muestra ayuda para un subcomando específico (como `create`, `enter`, `rm`, `rmi`, etc.): + +`toolbox help {{subcomando}}` + +- Muestra ayuda: + +`toolbox --help` + +- Muestra la versión: + +`toolbox --version` diff --git a/pages.es/linux/top.md b/pages.es/linux/top.md new file mode 100644 index 00000000000000..832a02d0b5aae7 --- /dev/null +++ b/pages.es/linux/top.md @@ -0,0 +1,32 @@ +# top + +> Muestra información dinámica en tiempo real sobre procesos ejecutándose. +> Más información: . + +- Inicia top: + +`top` + +- Oculta los procesos inactivos o zombies: + +`top {{[-i|--idle-toggle]}}` + +- Muestra solo procesos pertenecientes a un usuario dado: + +`top {{[-u|--filter-only-euser]}} {{usuario}}` + +- Ordena procesos por una columna: + +`top {{[-o|--sort-override]}} {{nombre_columna}}` + +- Muestra los hilos individuales de un proceso dado: + +`top {{[-Hp|--threads-show --pid]}} {{identificador_de_proceso}}` + +- Muestra solo los procesos con un(os) PID(s) dado(s), separados por comas. (Normalmente no se conoce el PID de antemano. Este ejemplo lo obtiene del nombre del proceso): + +`top {{[-p|--pid]}} $(pgrep {{[-d|--delimiter]}} ',' {{nombre_proceso}})` + +- Obtén ayuda acerca de los comandos interactivos: + +`` diff --git a/pages.es/linux/tor.md b/pages.es/linux/tor.md new file mode 100644 index 00000000000000..1283d04e1652c2 --- /dev/null +++ b/pages.es/linux/tor.md @@ -0,0 +1,32 @@ +# tor + +> Habilita la comunicación anónima a través de la red Tor. +> Más información: . + +- Conecta a la red Tor: + +`tor` + +- Vea la configuración de Tor: + +`tor --config` + +- Comprueba el estado de Tor: + +`tor --status` + +- Ejecuta como cliente: + +`tor --client` + +- Ejecuta como relé: + +`tor --relay` + +- Ejecuta como puente: + +`tor --bridge` + +- Ejecuta como servicio oculto: + +`tor --hidden-service` diff --git a/pages.es/linux/torify.md b/pages.es/linux/torify.md new file mode 100644 index 00000000000000..cc3b8f2ecf00d2 --- /dev/null +++ b/pages.es/linux/torify.md @@ -0,0 +1,33 @@ +# torify + +> Enruta el tráfico de red a través de la red Tor. +> Nota: Este comando está desfasado, y ahora es un empaquetador compatible con versiones anteriores de `torsocks`. +> Más información: . + +- Enruta el tráfico a través de Tor: + +`torify {{comando}}` + +- Activa o desactiva Tor en el intérprete de comandos: + +`torify {{on|off}}` + +- Crea un intérprete de órdenes con Tor activado: + +`torify --shell` + +- Checa si hay un intérprete de órdenes con Tor activado: + +`torify show` + +- Especifica el archivo de configuración de Tor: + +`torify -c {{archivo_de_configuración}} {{comando}}` + +- Usa un proxy Tor SOCKS específico: + +`torify -P {{proxy}} {{comando}}` + +- Redirige la salida a un archivo: + +`torify {{comando}} > {{ruta/a/archivo_de_salida}}` diff --git a/pages.es/linux/torsocks.md b/pages.es/linux/torsocks.md new file mode 100644 index 00000000000000..21b52d9834e33d --- /dev/null +++ b/pages.es/linux/torsocks.md @@ -0,0 +1,29 @@ +# torsocks + +> Enruta el tráfico de cualquier aplicación a través de la red Tor. +> Nota: `torsocks` asumirá que debe conectarse al proxy SOCKS que corre en 127.0.0.1:9050 que es el servicio (daemon) predeterminado de Tor. +> Más información: . + +- Ejecuta un comando usando Tor: + +`torsocks {{comando}}` + +- Activa o desactiva Tor en este intérprete de comandos: + +`. torsocks {{on|off}}` + +- Lanza una nueva interfaz de comando habilitada con Tor: + +`torsocks --shell` + +- Revisa si la interfaz de comando actual está habilitada con Tor (`LD_PRELOAD` este valor estará vacío si no está habilitada): + +`torsocks show` + +- Aísla el tráfico a través de un circuito Tor diferente, mejorando el anonimato: + +`torsocks {{[-i|--isolate]}} {{curl https://check.torproject.org/api/ip}}` + +- Se conecta a un proxy Tor que se ejecuta en una dirección y un puerto específico: + +`torsocks {{[-a|--address]}} {{ip}} {{[-P|--port]}} {{puerto}} {{comando}}` diff --git a/pages.es/linux/trash-put.md b/pages.es/linux/trash-put.md new file mode 100644 index 00000000000000..2c99fdca2aed35 --- /dev/null +++ b/pages.es/linux/trash-put.md @@ -0,0 +1,7 @@ +# trash-put + +> Este comando es un alias de `trash`. + +- Vea la documentación del comando original: + +`tldr trash` diff --git a/pages.es/linux/trash.md b/pages.es/linux/trash.md new file mode 100644 index 00000000000000..dcbe6070a56334 --- /dev/null +++ b/pages.es/linux/trash.md @@ -0,0 +1,32 @@ +# trash + +> Gestiona el contenedor de basura/reciclaje. +> Más información: . + +- Envía un archivo a la basura: + +`trash {{ruta/al/archivo}}` + +- Lista todos los archivos en la basura: + +`trash-list` + +- Restaura interactivamente un archivo de la basura: + +`trash-restore` + +- Vacía la basura: + +`trash-empty` + +- Elimina permanentemente todos los archivos en la basura mayores a 10 días: + +`trash-empty 10` + +- Elimina todos los archivos en la basura, que coinciden con un patrón blob específico: + +`trash-rm "{{*.o}}"` + +- Elimina todos los archivos con una ubicación original específica: + +`trash-rm {{/ruta/al/archivo_o_directorio}}` diff --git a/pages.es/linux/ttyplot.md b/pages.es/linux/ttyplot.md new file mode 100644 index 00000000000000..787d073c9a9fe7 --- /dev/null +++ b/pages.es/linux/ttyplot.md @@ -0,0 +1,20 @@ +# ttyplot + +> Una utilidad de trazado en tiempo real para la línea de comandos con entrada de datos desde `stdin`. +> Más información: . + +- Muestra los valores `1`, `2` y `3` (`cat` evita que ttyplot salga): + +`{ echo {{1 2 3}}; cat } | ttyplot` + +- Establece un título específico y unidad: + +`{ echo {{1 2 3}}; cat } | ttyplot -t {{título}} -u {{unidad}}` + +- Utiliza un bucle de tiempo para trazar continuamente valores aleatorios: + +`{ while {{true}}; do echo {{$RANDOM}}; sleep {{1}}; done } | ttyplot` + +- Analiza la salida de `ping` y la visualiza: + +`ping {{8.8.8.8}} | sed -u '{{s/^.*time=//g; s/ ms//g}}' | ttyplot -t "{{ping a 8.8.8.8}}" -u {{ms}}` diff --git a/pages.es/linux/tune.exfat.md b/pages.es/linux/tune.exfat.md new file mode 100644 index 00000000000000..219e44f0bd1270 --- /dev/null +++ b/pages.es/linux/tune.exfat.md @@ -0,0 +1,28 @@ +# tune.exfat + +> Ajusta los parámetros del sistema de archivos en un sistema de archivos exFAT. +> Más información: . + +- Imprime la etiqueta de volumen de un sistema de archivos: + +`tune.exfat {{[-l|--print-label]}} {{/dev/sdXY}}` + +- Establece la etiqueta de volumen de un sistema de archivos: + +`tune.exfat {{[-L|--set-label]}} {{nueva_etiqueta}} {{/dev/sdXY}}` + +- Imprime el GUID del volumen de un sistema de archivos: + +`tune.exfat {{[-u|--print-guid]}} {{/dev/sdXY}}` + +- Establece el GUID de volumen de un sistema de archivos: + +`tune.exfat {{[-U|--set-guid]}} {{nuevo_guid}} {{/dev/sdXY}}` + +- Imprime el número de serie del volumen de un sistema de archivos: + +`tune.exfat {{[-i|--print-serial]}} {{/dev/sdXY}}` + +- Establece el volumen de serie de un sistema de archivos: + +`tune.exfat {{[-I|--set-serial]}} {{nuevo_serial}} {{/dev/sdXY}}` diff --git a/pages.es/linux/tuned-adm.md b/pages.es/linux/tuned-adm.md new file mode 100644 index 00000000000000..2043d4e0be57bb --- /dev/null +++ b/pages.es/linux/tuned-adm.md @@ -0,0 +1,24 @@ +# tuned-adm + +> Gestiona y optimiza los perfiles de ajuste del rendimiento del sistema en Linux. +> Más información: . + +- Lista de perfiles disponibles: + +`tuned-adm list` + +- Muestra el perfil activo actual: + +`tuned-adm active` + +- Establece un perfil de ajuste específico: + +`tuned-adm profile {{nombre_del_perfil}}` + +- Recomienda un perfil adecuado en función del sistema actual: + +`tuned-adm recommend` + +- Desactiva la configuración: + +`tuned-adm off` diff --git a/pages.es/linux/tunelp.md b/pages.es/linux/tunelp.md new file mode 100644 index 00000000000000..e0fb9fa92e9cf0 --- /dev/null +++ b/pages.es/linux/tunelp.md @@ -0,0 +1,25 @@ +# tunelp + +> Establece varios parámetros para dispositivos de puerto paralelo para la solución de problemas o para un mejor rendimiento. +> Parte de `util-linux`. +> Más información: . + +- Comprueba el e[s]tado de un dispositivo de puerto paralelo: + +`tunelp --status {{/dev/lp0}}` + +- Restablece un puerto paralelo: + +`tunelp --reset {{/dev/lp0}}` + +- Utiliza un [i]RQ dado para un dispositivo, cada uno representando una línea de interrupción: + +`tunelp -i 5 {{/dev/lp0}}` + +- Intenta imprimir varias veces un [c]arácter en la impresora antes de permanecer inactiva durante un [t]iempo determinado: + +`tunelp --chars {{veces}} --time {{tiempo_en_centisegundos}} {{/dev/lp0}}` + +- Activa o desactiva el [a]bortar por error (desactivado por defecto): + +`tunelp --abort {{on|off}}` diff --git a/pages.es/linux/turbostat.md b/pages.es/linux/turbostat.md new file mode 100644 index 00000000000000..713a02dba06be6 --- /dev/null +++ b/pages.es/linux/turbostat.md @@ -0,0 +1,24 @@ +# turbostat + +> Informa de la topología del procesador, frecuencia, temperatura, potencia y estadísticas de inactividad. +> Más información: . + +- Muestra las estadísticas cada cinco segundos: + +`sudo turbostat` + +- Muestra las estadísticas cada cierto número de segundos: + +`sudo turbostat -i {{n_segundos}}` + +- Muestra información sin decodificar ni imprimir la cabecera de configuración del sistema: + +`sudo turbostat --quiet` + +- Muestra información útil sobre el CPU cada segundo, sin información de cabecera: + +`sudo turbostat --quiet --interval 1 --cpu 0-{{cuenta_hilos_CPU}} --show "PkgWatt","Busy%","Core","CoreTmp","Thermal"` + +- Muestra ayuda: + +`turbostat --help` diff --git a/pages.es/linux/tuxi.md b/pages.es/linux/tuxi.md new file mode 100644 index 00000000000000..9d8f320f2c2578 --- /dev/null +++ b/pages.es/linux/tuxi.md @@ -0,0 +1,20 @@ +# tuxi + +> Recorre resultados de búsqueda en Google y páginas de resultados de herramientas de búsqueda y proporciona respuestas instantáneas y concisas. +> Más información: . + +- Hace una búsqueda usando Google: + +`tuxi {{término_de_búsqueda}}` + +- Muestra los resultados de búsqueda en formato c[r]udo (sin salida bonita, ni colores): + +`tuxi -r {{término_de_búsqueda}}` + +- Muestra sólo resultados de búsqueda (silencia "¿Se refiere a?", saludos y uso): + +`tuxi -q {{término_de_búsquedas}}` + +- Muestra ayuda: + +`tuxi -h` diff --git a/pages.es/linux/ubuntu-bug.md b/pages.es/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..827c33c729cbd8 --- /dev/null +++ b/pages.es/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Este comando es un alias de `apport-bug`. + +- Vea la documentación del comando original: + +`tldr apport-bug` diff --git a/pages.es/linux/ubuntu-drivers.md b/pages.es/linux/ubuntu-drivers.md new file mode 100644 index 00000000000000..d4c4ee76441384 --- /dev/null +++ b/pages.es/linux/ubuntu-drivers.md @@ -0,0 +1,12 @@ +# ubuntu-drivers + +> Instala controladores en Ubuntu. +> Más información: . + +- Lista los controladores disponibles para el equipo actual: + +`sudo ubuntu-drivers list` + +- Instala los controladores para el equipo detectado: + +`sudo ubuntu-drivers install` diff --git a/pages.es/linux/ubus.md b/pages.es/linux/ubus.md new file mode 100644 index 00000000000000..63405555c60afb --- /dev/null +++ b/pages.es/linux/ubus.md @@ -0,0 +1,16 @@ +# ubus + +> Interactúa con un servidor ubusd OpenWrt. +> Más información: . + +- Lista los objetos disponibles: + +`ubus list` + +- Recupera información del sistema en formato JSON: + +`ubus call system board` + +- Escucha eventos: + +`ubus subscribe {{nombre_evento}}` diff --git a/pages.es/linux/ufw.md b/pages.es/linux/ufw.md new file mode 100644 index 00000000000000..5c1e6abb0b8b45 --- /dev/null +++ b/pages.es/linux/ufw.md @@ -0,0 +1,37 @@ +# ufw + +> Cortafuegos sin complicaciones (_Uncomplicated Firewall_). +> Interfaz de usuario de `iptables` para facilitar la configuración de un firewall. +> Más información: . + +- Activa ufw: + +`ufw enable` + +- Desactiva ufw: + +`ufw disable` + +- Muestra reglas del ufw, junto con sus números: + +`ufw status numbered` + +- Permite el tráfico entrante en el puerto 5432 en este host con un comentario que identifique el servicio: + +`ufw allow {{5432}} comment "{{servicio}}"` + +- Permite sólo el tráfico TCP desde 192.168.0.4 a cualquier dirección de este host, en el puerto 22: + +`ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}` + +- Deniega tráfico en el puerto 80 en este host: + +`ufw deny {{80}}` + +- Deniega todo el tráfico al puerto 22: + +`ufw deny proto {{udp}} from {{any}} to {{any}} port {{22}}` + +- Elimina una regla concreta. El número de la regla puede obtenerse del comando `ufw status numbered`: + +`ufw delete {{número_de_regla}}` diff --git a/pages.es/linux/uname26.md b/pages.es/linux/uname26.md new file mode 100644 index 00000000000000..24f443910135ac --- /dev/null +++ b/pages.es/linux/uname26.md @@ -0,0 +1,7 @@ +# uname26 + +> Este comando es un alias de `setarch uname26`. + +- Vea la documentación del comando original: + +`tldr setarch` diff --git a/pages.es/linux/unix2dos.md b/pages.es/linux/unix2dos.md new file mode 100644 index 00000000000000..8c9e8eb58f9b4b --- /dev/null +++ b/pages.es/linux/unix2dos.md @@ -0,0 +1,22 @@ +# unix2dos + +> Cambia los finales de línea de estilo Unix al estilo DOS. +> Reemplaza LF con CRLF. +> Vea también `unix2mac`, `dos2unix` y `mac2unix`. +> Más información: . + +- Cambia los finales de línea de un archivo: + +`unix2dos {{ruta/al/archivo}}` + +- Crea una copia con finales de línea de estilo DOS: + +`unix2dos {{[-n|--newfile]}} {{ruta/al/archivo}} {{ruta/a/archivo_nuevo}}` + +- Muestra información del archivo: + +`unix2dos {{[-i|--info]}} {{ruta/al/archivo}}` + +- Mantiene/añade/elimina marca de bit de orden (Byte Order Mark): + +`unix2dos --{{keep-bom|add-bom|remove-bom}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/unix2mac.md b/pages.es/linux/unix2mac.md new file mode 100644 index 00000000000000..e504816b4a8702 --- /dev/null +++ b/pages.es/linux/unix2mac.md @@ -0,0 +1,22 @@ +# unix2mac + +> Cambia los finales de línea de estilo Unix al estilo macOS. +> Reemplaza LF con CR. +> Vea también `unix2dos`, `dos2unix` y `mac2unix`. +> Más información: . + +- Cambia los finales de línea de un archivo: + +`unix2mac {{ruta/al/archivo}}` + +- Crea una copia con finales de línea de estilo macOS: + +`unix2mac {{[-n|--newfile]}} {{ruta/al/archivo}} {{ruta/a/archivo_nuevo}}` + +- Muestra información del archivo: + +`unix2mac {{[-i|--info]}} {{ruta/al/archivo}}` + +- Mantiene/añade/elimina marca de orden de byte (Byte Order Mark): + +`unix2mac --{{keep-bom|add-bom|remove-bom}} {{ruta/al/archivo}}` diff --git a/pages.es/linux/update-alternatives.md b/pages.es/linux/update-alternatives.md new file mode 100644 index 00000000000000..80edd4f656bc38 --- /dev/null +++ b/pages.es/linux/update-alternatives.md @@ -0,0 +1,24 @@ +# update-alternatives + +> Mantiene convenientemente enlaces simbólicos para determinar los comandos predeterminados. +> Más información: . + +- Agrega un enlace simbólico: + +`sudo update-alternatives --install {{ruta/al/enlace_simbólico}} {{comando}} {{ruta/al/comando}} {{prioridad}}` + +- Configura un enlace simbólico para 'java': + +`sudo update-alternatives --config {{java}}` + +- Quita un enlace simbólico: + +`sudo update-alternatives --remove {{java}} {{/opt/java/jdk1.8.0_102/bin/java}}` + +- Muestra información sobre un comando específico: + +`update-alternatives --display {{java}}` + +- Muestra todos los comandos y su selección actual: + +`update-alternatives --get-selections` diff --git a/pages.es/linux/useradd.md b/pages.es/linux/useradd.md new file mode 100644 index 00000000000000..296e8469c2087c --- /dev/null +++ b/pages.es/linux/useradd.md @@ -0,0 +1,33 @@ +# useradd + +> Crea un usuario. +> Vea también: `users`, `userdel`, `usermod`. +> Más información: . + +- Crea un usuario: + +`sudo useradd {{usuario}}` + +- Crea un usuario con el ID de usuario específico: + +`sudo useradd {{[-u|--uid]}} {{id}} {{usuario}}` + +- Crea un usuario con una línea de comando (shell) específica: + +`sudo useradd {{[-s|--shell]}} {{ruta/a/la/shell}} {{usuario}}` + +- Crea un usuario perteneciente a grupos adicionales (ten en cuenta que no se colocan espacios en blanco): + +`sudo useradd {{[-G|--groups]}} {{grupo1,grupo2,...}} {{usuario}}` + +- Crea un usuario con el directorio home predeterminado: + +`sudo useradd {{[-m|--create-home]}} {{usuario}}` + +- Crea un usuario con el directorio home con una copia de los archivos provenientes de un directorio plantilla: + +`sudo useradd {{[-k|--skel]}} {{ruta/a/directorio_plantilla}} {{[-m|--create-home]}} {{usuario}}` + +- Crea un usuario del sistema sin directorio home: + +`sudo useradd {{[-r|--system]}} {{usuario}}` diff --git a/pages.es/linux/userdel.md b/pages.es/linux/userdel.md index b98d4760c9626b..a243e647e4faf3 100644 --- a/pages.es/linux/userdel.md +++ b/pages.es/linux/userdel.md @@ -1,7 +1,17 @@ # userdel -> Elimina un usuario. +> Elimina una cuenta de usuario o elimina un usuario de un grupo. +> Vea también: `users`, `useradd`, `usermod`. +> Más información: . -- Elimina un usuario y su directorio personal: +- Elimina un usuario: -`userdel -r {{nombre_de_usuario}}` +`sudo userdel {{usuario}}` + +- Elimina un usuario en otro directorio raíz: + +`sudo userdel {{[-R|--root]}} {{ruta/al/otro/root}} {{usuario}}` + +- Elimina un usuario junto con su directorio home y correo (mail spool): + +`sudo userdel {{[-r|--remove]}} {{usuario}}` diff --git a/pages.es/linux/usermod.md b/pages.es/linux/usermod.md new file mode 100644 index 00000000000000..f8c1e210f5b491 --- /dev/null +++ b/pages.es/linux/usermod.md @@ -0,0 +1,25 @@ +# usermod + +> Modifica una cuenta de usuario. +> Vea también: `users`, `useradd`, `userdel`. +> Más información: . + +- Cambia el nombre de un usuario: + +`sudo usermod {{[-l|--login]}} {{nuevo_nombre}} {{usuario}}` + +- Cambia el ID de un usuario: + +`sudo usermod {{[-u|--uid]}} {{id}} {{usuario}}` + +- Cambia la interfaz de comandos (shell) a un usuario: + +`sudo usermod {{[-s|--shell]}} {{ruta/a/interfaz_comando}} {{usuario}}` + +- Añade un usuario a grupos suplementarios (ten en cuenta los espacios en blanco): + +`sudo usermod {{[-a|--append]}} {{[-G|--groups]}} {{grupo1,grupo2}} {{usuario}}` + +- Cambia el directorio home de un usuario: + +`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{ruta/al/nuevo_home}} {{usuario}}` diff --git a/pages.es/linux/vgremove.md b/pages.es/linux/vgremove.md new file mode 100644 index 00000000000000..a78db96ed312c7 --- /dev/null +++ b/pages.es/linux/vgremove.md @@ -0,0 +1,24 @@ +# vgremove + +> Elimina grupo(s) de volúmenes en LVM. +> Más información: . + +- Elimina un grupo de volúmenes con confirmación: + +`vgremove {{grupo_volumen}}` + +- Fuerza la eliminación de un grupo de volúmenes sin confirmación: + +`vgremove --force {{grupo_volumen}}` + +- Establece el nivel de depuración para el registro detallado en el nivel 2, (repite `--debug` hasta 6 veces para aumentar el nivel): + +`vgremove --debug --debug {{grupo_volumen}}` + +- Utiliza una configuración específica para anular los valores predeterminados: + +`vgremove --config '{{global/locking_type=1}}' {{grupo_volumen}}` + +- Muestra texto de ayuda para obtener información de uso: + +`vgremove --help` diff --git a/pages.es/linux/vipw.md b/pages.es/linux/vipw.md new file mode 100644 index 00000000000000..000e92f56e51f7 --- /dev/null +++ b/pages.es/linux/vipw.md @@ -0,0 +1,12 @@ +# vipw + +> Edita el archivo de contraseñas. +> Más información: . + +- Edita el archivo de contraseñas: + +`vipw` + +- Muestra la versión actual de `vipw`: + +`vipw --version` diff --git a/pages.es/linux/vivaldi-stable.md b/pages.es/linux/vivaldi-stable.md new file mode 100644 index 00000000000000..dff9abef6d5cec --- /dev/null +++ b/pages.es/linux/vivaldi-stable.md @@ -0,0 +1,8 @@ +# vivaldi-stable + +> Este comando es un alias de `chromium`. +> Más información: . + +- Vea la documentación para el comando original: + +`tldr chromium` diff --git a/pages.es/linux/vmstat.md b/pages.es/linux/vmstat.md new file mode 100644 index 00000000000000..f49afdfa071224 --- /dev/null +++ b/pages.es/linux/vmstat.md @@ -0,0 +1,12 @@ +# vmstat + +> Reporta información sobre procesos, memoria, paginación, IO en bloque, traps, discos y actividad del CPU. +> Más información: . + +- Muestra las estadísticas de la memoria virtual: + +`vmstat` + +- Muestra informes cada 2 segundos por 5 veces: + +`vmstat {{2}} {{5}}` diff --git a/pages.es/linux/vnstat.md b/pages.es/linux/vnstat.md new file mode 100644 index 00000000000000..248585d7b263b2 --- /dev/null +++ b/pages.es/linux/vnstat.md @@ -0,0 +1,24 @@ +# vnstat + +> Monitor de tráfico de red de línea de comandos. +> Más información: . + +- Muestra un resumen de tráfico de todas las interfaces: + +`vnstat` + +- Muestra un resumen de tráfico de una interfaz de red específica: + +`vnstat -i {{interfaz_de_red}}` + +- Muestra estadísticas en vivo de una interfaz de red específica: + +`vnstat -l -i {{interfaz_de_red}}` + +- Muestra estadísticas de tráfico por hora durante las últimas 24 horas mediante un gráfico de barras: + +`vnstat -hg` + +- Mide y muestra el tráfico promedio por 30 segundos: + +`vnstat -tr {{30}}` diff --git a/pages.es/linux/vnstati.md b/pages.es/linux/vnstati.md new file mode 100644 index 00000000000000..765bb33154ea1b --- /dev/null +++ b/pages.es/linux/vnstati.md @@ -0,0 +1,20 @@ +# vnstati + +> Genera imágenes PNG compatibles con vnStat. +> Más información: . + +- Genera un resumen de los últimos dos meses, días, etc: + +`vnstati --summary --iface {{interfaz_de_red}} --output {{ruta/a/salida.png}}` + +- Genera los 10 días con mayor tráfico de todos los tiempos: + +`vnstati --top 10 --iface {{interfaz_de_red}} --output {{ruta/a/salida.png}}` + +- Genera estadísticas de tráfico mensual de los últimos 12 meses: + +`vnstati --months --iface {{interfaz_de_red}} --output {{ruta/a/salida.png}}` + +- Genera estadísticas de tráfico por hora de las últimas 24 horas: + +`vnstati --hours --iface {{interfaz_de_red}} --output {{ruta/a/salida.png}}` diff --git a/pages.es/linux/waypipe.md b/pages.es/linux/waypipe.md new file mode 100644 index 00000000000000..a65bdd9307186d --- /dev/null +++ b/pages.es/linux/waypipe.md @@ -0,0 +1,12 @@ +# waypipe + +> Ejecuta remotamente aplicaciones gráficas bajo un compositor para Wayland. +> Más información: . + +- Ejecuta un programa gráfico remotamente y muestralo localmente: + +`waypipe ssh {{usuario}}@{{servidor}} {{programa}}` + +- Abre un túnel SSH para ejecutar cualquier programa de forma remota y visualizarlo localmente: + +`waypipe ssh {{usuario}}@{{servidor}}` diff --git a/pages.es/linux/wf-recorder.md b/pages.es/linux/wf-recorder.md new file mode 100644 index 00000000000000..b054025f798f61 --- /dev/null +++ b/pages.es/linux/wf-recorder.md @@ -0,0 +1,17 @@ +# wf-recorder + +> Screencast para Wayland opcionalmente con audio. +> Por defecto necesita terminar el proceso con ``. +> Más información: . + +- Grabación de un archivo MP4: + +`wf-recorder --file={{salida.mp4}}` + +- Graba video incluyendo audio; y esto incluye acceso al micrófono y los sonidos del sistema: + +`wf-recorder --audio --file={{/ruta/al/archivo_con_audio.webm}}` + +- Selecciona y graba una porción de la pantalla utilizando `slurp`, guardando en `recording.mp4` de forma predeterminada: + +`wf-recorder -g "$(slurp)"` diff --git a/pages.es/linux/whiptail.md b/pages.es/linux/whiptail.md new file mode 100644 index 00000000000000..f7dad38eb8a47a --- /dev/null +++ b/pages.es/linux/whiptail.md @@ -0,0 +1,28 @@ +# whiptail + +> Muestra cajas de diálogo de texto para incluir en guiones de la interfaz de comando. +> Más información: . + +- Muestra un mensaje sencillo: + +`whiptail --title "{{título}}" --msgbox "{{mensaje}}" {{height_in_chars}} {{width_in_chars}}` + +- Muestra una opción booleana, devolviendo el resultado a través del código de salida: + +`whiptail --title "{{título}}" --yesno "{{mensaje}}" {{height_in_chars}} {{width_in_chars}}` + +- Personaliza el texto en los botones sí/no: + +`whiptail --title "{{título}}" --yes-button "{{un texto}}" --no-button "{{otro texto}}" --yesno "{{mensaje}}" {{height_in_chars}} {{width_in_chars}}` + +- Muestra una caja de entrada de texto: + +`{{result_variable_name}}="$(whiptail --title "{{título}}" --inputbox "{{mensaje}}" {{height_in_chars}} {{width_in_chars}} {{texto_predeterminado}} 3>&1 1>&2 2>&3)"` + +- Muestra una caja de entrada de contraseña: + +`{{result_variable_name}}="$(whiptail --title "{{título}}" --passwordbox "{{mensaje}}" {{height_in_chars}} {{width_in_chars}} 3>&1 1>&2 2>&3)"` + +- Muestra un menú de selección múltiple: + +`{{result_variable_name}}=$(whiptail --title "{{título}}" --menu "{{mensaje}}" {{height_in_chars}} {{width_in_chars}} {{menu_display_height}} "{{valor_1}}" "{{texto_a_mostrar_1}}" "{{valor_n}}" "{{texto_a_mostrar_n}}" ..... 3>&1 1>&2 2>&3)` diff --git a/pages.es/linux/wine.md b/pages.es/linux/wine.md new file mode 100644 index 00000000000000..09b215feaa8de9 --- /dev/null +++ b/pages.es/linux/wine.md @@ -0,0 +1,28 @@ +# wine + +> Ejecuta programas de Windows en sistemas basados en Unix. +> Más información: . + +- Ejecuta un programa específico dentro del ambiente `wine`: + +`wine {{comando}}` + +- Ejecuta un programa específico en segundo plano (background): + +`wine start {{comando}}` + +- Instala/desinstala un paquete MSI: + +`wine msiexec /{{i|x}} {{ruta/al/package.msi}}` + +- Ejecuta `File Explorer`, `Notepad`, o `WordPad`: + +`wine {{explorer|notepad|write}}` + +- Ejecuta `Registry Editor`, `Control Panel` o `Task Manager`: + +`wine {{regedit|control|taskmgr}}` + +- Ejecuta la herramienta de configuración: + +`wine winecfg` diff --git a/pages.es/linux/wl-copy.md b/pages.es/linux/wl-copy.md new file mode 100644 index 00000000000000..85c33a6e2f003c --- /dev/null +++ b/pages.es/linux/wl-copy.md @@ -0,0 +1,25 @@ +# wl-copy + +> Limpia y copia al portapapeles de Wayland. +> Vea también: `wl-paste`, `xclip`. +> Más información: . + +- Copia el texto al portapapeles: + +`wl-copy "{{texto}}"` + +- Envía la salida del comando (`ls`) al portapapeles: + +`{{ls}} | wl-copy` + +- Copia solo para pegar una única vez y luego lo limpia: + +`wl-copy --paste-once "{{texto}}"` + +- Copia una imagen: + +`wl-copy < {{ruta/a/la/imagen}}` + +- Limpia el portapapeles: + +`wl-copy --clear` diff --git a/pages.es/linux/wl-paste.md b/pages.es/linux/wl-paste.md new file mode 100644 index 00000000000000..af1508fdd19482 --- /dev/null +++ b/pages.es/linux/wl-paste.md @@ -0,0 +1,21 @@ +# wl-paste + +> Pega contenido en el portapapeles Wayland. +> Vea también: `wl-copy`, `xclip`. +> Más información: . + +- Pega el contenido del portapapeles: + +`wl-paste` + +- Pega el contenido del portapapeles primario (texto seleccionado): + +`wl-paste --primary` + +- Escribe el contenido del portapapeles a un archivo: + +`wl-paste > {{ruta/al/archivo}}` + +- Envía el contenido del portapapeles a un comando: + +`wl-paste | {{comando}}` diff --git a/pages.es/linux/wmctrl.md b/pages.es/linux/wmctrl.md new file mode 100644 index 00000000000000..8c8a713e34520f --- /dev/null +++ b/pages.es/linux/wmctrl.md @@ -0,0 +1,28 @@ +# wmctrl + +> CLI para X Window Manager. +> Más información: . + +- Lista todas las ventanas, gestionadas por el gestor de ventanas: + +`wmctrl -l` + +- Cambia a la primera ventana cuyo título (parcial) coincida: + +`wmctrl -a {{título_ventana}}` + +- Mueve una ventana al espacio de trabajo actual, levántala y dale foco: + +`wmctrl -R {{título_ventana}}` + +- Cambia a un espacio de trabajo: + +`wmctrl -s {{número_de_espacio_de_trabajo}}` + +- Selecciona una ventana y activa la pantalla completa: + +`wmctrl -r {{título_ventana}} -b toggle,fullscreen` + +- Selecciona una ventana y muévela a un espacio de trabajo: + +`wmctrl -r {{título_ventana}} -t {{número_de_espacio_de_trabajo}}` diff --git a/pages.es/linux/wofi.md b/pages.es/linux/wofi.md new file mode 100644 index 00000000000000..767ac1a93302c4 --- /dev/null +++ b/pages.es/linux/wofi.md @@ -0,0 +1,16 @@ +# wofi + +> Un lanzador de aplicaciones para compositores Wayland basados en wlroots, similar a `rofi` y `dmenu`. +> Más información: . + +- Muestra la lista de aplicaciones: + +`wofi {{[-S|--show]}} drun` + +- Muestra la lista de todos los comandos: + +`wofi {{[-S|--show]}} run` + +- Envía una lista de elementos a `stdin` e imprime el elemento seleccionado en `stdout`: + +`printf "{{Choice1\nChoice2\nChoice3}}" | wofi {{[-d|--dmenu]}}` diff --git a/pages.es/linux/x86_64.md b/pages.es/linux/x86_64.md new file mode 100644 index 00000000000000..9c4e061935a0b6 --- /dev/null +++ b/pages.es/linux/x86_64.md @@ -0,0 +1,7 @@ +# x86_64 + +> Este comando es un alias de `setarch x86_64`. + +- Vea la documentación del comando original: + +`tldr setarch` diff --git a/pages.es/linux/xclip.md b/pages.es/linux/xclip.md new file mode 100644 index 00000000000000..6f794639f569de --- /dev/null +++ b/pages.es/linux/xclip.md @@ -0,0 +1,37 @@ +# xclip + +> Herramienta para manipular el portapapeles de X11, similar a `xsel`. +> Maneja la selección primaria y secundaria de X y el portapapeles (``/``). +> Más información: . + +- Copia la salida de un comando a la selección primaria de X11: + +`echo 123 | xclip` + +- Copia la salida de un commando a una selección de X11: + +`echo 123 | xclip -selection {{primary|secondary|clipboard}}` + +- Copia la salida de un commando al portapapeles, usando notación corta: + +`echo 123 | xclip -sel clip` + +- Copia el contenido de un fichero al portapapeles: + +`xclip -sel clip {{archivo.txt}}` + +- Copia el contenido de un fichero con formato PNG al portapapeles: + +`xclip -sel clip -t image/png {{archivo.png}}` + +- Copia la entrada del usuario al portapapeles: + +`xclip -i` + +- Imprime el contenido de la selección primaria de X11: + +`xclip -o` + +- Imprime el contenido del portapapeles: + +`xclip -o -sel clip` diff --git a/pages.es/linux/xcowsay.md b/pages.es/linux/xcowsay.md new file mode 100644 index 00000000000000..44aab9b2ea4c7b --- /dev/null +++ b/pages.es/linux/xcowsay.md @@ -0,0 +1,29 @@ +# xcowsay + +> Muestra una linda vaca y un mensaje en el escritorio de Linux. +> La vaca se muestra por una cantidad fija de tiempo, o una cantidad de tiempo calculado a partir del tamaño del texto. Haga clic en la vaca para despedirla inmediatamente. +> Más información: . + +- Muestra una vaca diciendo "hola, mundo": + +`xcowsay "{{hola, mundo}}"` + +- Muestra una vaca con salida desde otro comando: + +`ls | xcowsay` + +- Muestra una vaca en las coordenadas X e Y especificadas: + +`xcowsay --at={{X}},{{Y}}` + +- Muestra una vaca de tamaño diferente: + +`xcowsay --cow-size={{small|med|large}}` + +- Muestra una burbuja de pensamiento en lugar de una burbuja de discurso: + +`xcowsay --think` + +- Muestra una imagen diferente en lugar de la vaca predeterminada: + +`xcowsay --image={{ruta/al/archivo}}` diff --git a/pages.es/linux/xdg-open.md b/pages.es/linux/xdg-open.md new file mode 100644 index 00000000000000..183358f73566b6 --- /dev/null +++ b/pages.es/linux/xdg-open.md @@ -0,0 +1,24 @@ +# xdg-open + +> Abre un archivo o URL en la aplicación predeterminada del usuario. +> Más información: . + +- Abre el directorio actual en el explorador de archivos predeterminado: + +`xdg-open .` + +- Abre una URL en el navegador predeterminado: + +`xdg-open {{https://www.ejemplo.es}}` + +- Abre una imagen en el visor de imágenes predeterminado: + +`xdg-open {{ruta/a_la/imagen}}` + +- Abre un PDF en el visor de PDF predeterminado: + +`xdg-open {{ruta/al/pdf}}` + +- Muestra la ayuda: + +`xdg-open --help` diff --git a/pages.es/linux/xfce4-screenshooter.md b/pages.es/linux/xfce4-screenshooter.md new file mode 100644 index 00000000000000..70f3d70c4f5f2e --- /dev/null +++ b/pages.es/linux/xfce4-screenshooter.md @@ -0,0 +1,32 @@ +# xfce4-screenshooter + +> La herramienta de captura de pantalla de XFCE4. +> Más información: . + +- Inicia la interfaz gráfica de usuario (GUI) de captura de pantalla: + +`xfce4-screenshooter` + +- Toma una captura de pantalla de toda la pantalla y lanza la GUI para preguntar cómo proceder: + +`xfce4-screenshooter --fullscreen` + +- Toma una captura de pantalla de toda la pantalla y la guarda en el directorio especificado: + +`xfce4-screenshooter --fullscreen --save {{ruta/al/directorio}}` + +- Espera un tiempo antes de tomar la captura de pantalla: + +`xfce4-screenshooter --delay {{segundos}}` + +- Toma una captura de pantalla de una región de la pantalla (selecciona usando el ratón): + +`xfce4-screenshooter --region` + +- Toma una captura de pantalla de la ventana activa, y la copia al portapapeles: + +`xfce4-screenshooter --window --clipboard` + +- Toma una captura de pantalla de la ventana activa, y la abre con un programa elegido: + +`xfce4-screenshooter --window --open {{gimp}}` diff --git a/pages.es/linux/xfreerdp.md b/pages.es/linux/xfreerdp.md new file mode 100644 index 00000000000000..de2b2ab16c4a5b --- /dev/null +++ b/pages.es/linux/xfreerdp.md @@ -0,0 +1,28 @@ +# xfreerdp + +> Implementación del protocolo del Free Remote Desktop. +> Más información: . + +- Conéctate a un servidor FreeRDP: + +`xfreerdp /u:{{usuario}} /p:{{contraseña}} /v:{{dirección_ip}}` + +- Conéctate a un servidor FreeRDP y activa la redirección de la salida de audio mediante el dispositivo `sys:alsa`: + +`xfreerdp /u:{{usuario}} /p:{{contraseña}} /v:{{dirección_ip}} /sound:{{sys:alsa}}` + +- Conéctate a un servidor FreeRDP con resolución dinámica: + +`xfreerdp /v:{{dirección_ip}} /u:{{usuario}} /p:{{contraseña}} /dynamic-resolution` + +- Conéctate a un servidor FreeRDP con redirección del portapapeles: + +`xfreerdp /v:{{dirección_ip}} /u:{{usuario}} /p:{{contraseña}} +clipboard` + +- Conéctate a un servidor FreeRDP ignorando cualquier comprobación de certificado: + +`xfreerdp /v:{{dirección_ip}} /u:{{usuario}} /p:{{contraseña}} /cert:ignore` + +- Conéctate a un servidor FreeRDP con un directorio compartido: + +`xfreerdp /v:{{dirección_ip}} /u:{{usuario}} /p:{{contraseña}} /drive:{{ruta/al/directorio}},{{nombre_compartido}}` diff --git a/pages.es/linux/xfs_repair.md b/pages.es/linux/xfs_repair.md new file mode 100644 index 00000000000000..cd23d55e328e6b --- /dev/null +++ b/pages.es/linux/xfs_repair.md @@ -0,0 +1,8 @@ +# xfs_repair + +> Repara un sistema de archivos XFS. +> Más información: . + +- Repara una partición: + +`sudo xfs_repair {{ruta/a/partición}}` diff --git a/pages.es/linux/xsel.md b/pages.es/linux/xsel.md new file mode 100644 index 00000000000000..7f02006fbe7071 --- /dev/null +++ b/pages.es/linux/xsel.md @@ -0,0 +1,28 @@ +# xsel + +> Herramienta X11 de selección y manipulación del portapapeles. +> Más información: . + +- Utiliza la salida de un comando como entrada del portapapeles (clip[b]oard) (equivalente a ``): + +`echo 123 | xsel -ib` + +- Utiliza el contenido de un archivo como entrada del portapapeles: + +`cat {{ruta/al/archivo}} | xsel -ib` + +- Envía el contenido del portapapeles a la terminal (equivalente a ``): + +`xsel -ob` + +- Envía el contenido del portapapeles a un archivo: + +`xsel -ob > {{ruta/al/archivo}}` + +- Limpia el portapapeles: + +`xsel -cb` + +- Envía el contenido de la selección primaria X11 a la terminal (equivalente a ``): + +`xsel -op` diff --git a/pages.es/linux/yay.md b/pages.es/linux/yay.md new file mode 100644 index 00000000000000..34f17f0d125202 --- /dev/null +++ b/pages.es/linux/yay.md @@ -0,0 +1,37 @@ +# yay + +> Yet Another Yogurt: crea e instala paquetes desde el repositorio de usuarios de Arch. +> Vea también `pacman`. +> Más información: . + +- Busca e instala paquetes de forma interactiva desde los repositorios y AUR: + +`yay {{nombre_del_paquete|término_de_búsqueda}}` + +- Sincroniza y actualiza todos los paquetes desde los repositorios y AUR: + +`yay` + +- Sincroniza y actualiza solo paquetes del AUR: + +`yay -Sua` + +- Instala un nuevo paquete desde los repositorios y AUR: + +`yay -S {{paquete}}` + +- Elimina un paquete instalado, sus dependencias y archivos de configuración: + +`yay -Rns {{paquete}}` + +- Busca en la base de datos de paquetes una palabra clave de los repositorios y AUR: + +`yay -Ss {{palabra_clave}}` + +- Elimina paquetes huérfanos (instalados como dependencias pero no requeridos por ningún paquete): + +`yay -Yc` + +- Muestra estadísticas de paquetes instalados y estado del sistema: + +`yay -Ps` diff --git a/pages.es/linux/ydotool.md b/pages.es/linux/ydotool.md new file mode 100644 index 00000000000000..8d9e1ca5ece02f --- /dev/null +++ b/pages.es/linux/ydotool.md @@ -0,0 +1,20 @@ +# ydotool + +> Controla las entradas de teclado y ratón mediante comandos de forma agnóstica al servidor de visualización. +> Más información: . + +- Inicia el daemon ydotool en segundo plano: + +`ydotoold` + +- Realiza ``: + +`ydotool click 0xC0` + +- Realiza ``: + +`ydotool click 0xC1` + +- Ingresa la combinación de teclas ``: + +`ydotool key 56:1 62:1 62:0 56:0` diff --git a/pages.es/linux/yum-config-manager.md b/pages.es/linux/yum-config-manager.md new file mode 100644 index 00000000000000..50f7e2f1041b38 --- /dev/null +++ b/pages.es/linux/yum-config-manager.md @@ -0,0 +1,7 @@ +# yum config-manager + +> Este comando es un alias de `dnf config-manager`. + +- Vea la documentación para el comando original: + +`tldr dnf config-manager` diff --git a/pages.es/linux/yum.md b/pages.es/linux/yum.md new file mode 100644 index 00000000000000..da665d3acc60a3 --- /dev/null +++ b/pages.es/linux/yum.md @@ -0,0 +1,28 @@ +# yum + +> Administrador de paquetes para RHEL, CentOS y Fedora (para versiones anteriores). +> Más información: . + +- Instala un nuevo paquete: + +`yum install {{paquete}}` + +- Instala un nuevo paquete respondiendo sí a todas las preguntas (también trabaja con actualizaciones, útil para actualizaciones automáticas): + +`yum -y install {{paquete}}` + +- Encuentra que paquete provee un archivo determinado: + +`yum provides {{comando}}` + +- Elimina un paquete: + +`yum remove {{paquete}}` + +- Muestra las actualizaciones disponibles para los paquetes instalados: + +`yum check-update` + +- Actualiza los paquetes instalados a las versiones más recientes disponibles: + +`yum upgrade` diff --git a/pages.es/linux/yumdownloader.md b/pages.es/linux/yumdownloader.md new file mode 100644 index 00000000000000..52ca375282a190 --- /dev/null +++ b/pages.es/linux/yumdownloader.md @@ -0,0 +1,8 @@ +# yumdownloader + +> Histórico descargador de paquetes YUM para instalaciones Fedora; ahora obsoleto. +> Este comando es un alias de `dnf download`. + +- Vea la documentación del comando original: + +`tldr dnf download` diff --git a/pages.es/linux/zathura.md b/pages.es/linux/zathura.md new file mode 100644 index 00000000000000..00d07c05bbcb3b --- /dev/null +++ b/pages.es/linux/zathura.md @@ -0,0 +1,33 @@ +# zathura + +> Un visor de documentos modal tipo vim, con una línea de comando integrada. +> Asegúrese de tener instalado un backend (poppler, PostScript o DjVu). +> Más información: . + +- Abre un archivo: + +`zathura {{ruta_al_archivo}}` + +- Navegue izquierda/arriba/abajo/derecha: + +`{{||||}}` + +- Gire: + +`` + +- Invierte colores: + +`` + +- Busque texto en base a una cadena: + +`{{cadena}}` + +- Cree/elimine marcadores: + +`<:>{{bmark|bdelete}} {{nombre_marcador}}` + +- Lista los marcadores: + +`<:>blist` diff --git a/pages.es/linux/zbarcam.md b/pages.es/linux/zbarcam.md new file mode 100644 index 00000000000000..8bb044a911ae25 --- /dev/null +++ b/pages.es/linux/zbarcam.md @@ -0,0 +1,20 @@ +# zbarcam + +> Escanea y decodifica códigos de barras (y códigos QR) desde un dispositivo de vídeo. +> Más información: . + +- Lee continuamente códigos de barras y los imprime a `stdout`: + +`zbarcam` + +- Desactiva la ventana de salida de video mientras se escanea: + +`zbarcam --nodisplay` + +- Imprime códigos de barras sin información de tipo: + +`zbarcam --raw` + +- Define el dispositivo de captura: + +`zbarcam {{/dev/dispositivo_de_video}}` diff --git a/pages.es/linux/zdump.md b/pages.es/linux/zdump.md new file mode 100644 index 00000000000000..ac0643f88555ae --- /dev/null +++ b/pages.es/linux/zdump.md @@ -0,0 +1,12 @@ +# zdump + +> Imprime información sobre la zona horaria. +> Más información: . + +- Imprime el horario actual en una zona horaria: + +`zdump {{zona_horaria}}` + +- Muestra ayuda: + +`zdump --help` diff --git a/pages.es/linux/zenity.md b/pages.es/linux/zenity.md new file mode 100644 index 00000000000000..1cbea4cb9581e0 --- /dev/null +++ b/pages.es/linux/zenity.md @@ -0,0 +1,25 @@ +# zenity + +> Muestra diálogos desde guiones de la línea de comandos. +> Regresa los valores suministrados por el usuario o 1 si hay error. +> Más información: . + +- Muestra el diálogo predeterminado de pregunta: + +`zenity --question` + +- Muestra un diálogo de información que muestra el texto "¡Hola!": + +`zenity --info --text="{{¡Hola!}}"` + +- Muestra un formulario de nombre/contraseña y retorna los datos separados por ";": + +`zenity --forms --add-entry="{{Nombre}}" --add-password="{{Contraseña}}" --separator="{{;}}"` + +- Muestra un formulario de selección de archivos en el que el usuario sólo puede seleccionar directorios: + +`zenity --file-selection --directory` + +- Muestra una barra de progreso que actualiza su mensaje cada segundo y muestra un porcentaje de progreso: + +`{{(echo "#1"; sleep 1; echo "50"; echo "#2"; sleep 1; echo "100")}} | zenity --progress` diff --git a/pages.es/linux/zforce.md b/pages.es/linux/zforce.md new file mode 100644 index 00000000000000..7e0905428bf250 --- /dev/null +++ b/pages.es/linux/zforce.md @@ -0,0 +1,8 @@ +# zforce + +> Añade una extensión `.gz` a archivos comprimidos con `gzip`. +> Más información: . + +- Añade una extensión `.gz` a los archivos Gzip suministrados (Nota: Otros archivos son ignorados): + +`zforce {{ruta/al/archivo1 ruta/al/archivo2 ...}}` diff --git a/pages.es/linux/zic.md b/pages.es/linux/zic.md new file mode 100644 index 00000000000000..133e561e7422e5 --- /dev/null +++ b/pages.es/linux/zic.md @@ -0,0 +1,12 @@ +# zic + +> Compila zonas horarias en archivos binarios. +> Más información: . + +- Compile un archivo de zona horaria desde un directorio: + +`zic -d {{ruta/al/directorio}}` + +- Reporta alertas durante la compilación de un archivo específico: + +`zic -v {{ruta/al/archivo}}.infile` diff --git a/pages.es/linux/zile.md b/pages.es/linux/zile.md new file mode 100644 index 00000000000000..8938363154364b --- /dev/null +++ b/pages.es/linux/zile.md @@ -0,0 +1,28 @@ +# zile + +> Una versión ligera del editor de texto Emacs. +> Más información: . + +- Inicia un búfer para notas temporales, las cuales no serán guardadas: + +`zile` + +- Abre un archivo: + +`zile {{ruta/al/archivo}}` + +- Guarda un archivo: + +`` + +- Sale: + +`` + +- Abre un archivo en la línea numérica especificada: + +`zile +{{número_de_línea}} {{ruta/al/archivo}}` + +- Deshace cambios: + +`` diff --git a/pages.es/linux/zipsplit.md b/pages.es/linux/zipsplit.md new file mode 100644 index 00000000000000..8ce34823734bdd --- /dev/null +++ b/pages.es/linux/zipsplit.md @@ -0,0 +1,20 @@ +# zipsplit + +> Divide un archivo Zip en archivos Zip más pequeños. +> Más información: . + +- Divide un archivo Zip en partes no mayores a 36000 bytes (36 MB): + +`zipsplit {{ruta/al/archivo.zip}}` + +- Usa un [n]úmero dado de bytes como límite parcial: + +`zipsplit -n {{size}} {{ruta/al/archivo.zip}}` + +- [p]ausa entre la creación de cada parte: + +`zipsplit -p -n {{size}} {{ruta/al/archivo.zip}}` + +- Da salida a los archivos Zip más pequeños en un directorio dado: + +`zipsplit -b {{ruta/al/directorio_de_salida}} -n {{size}} {{ruta/al/archivo.zip}}` diff --git a/pages.es/linux/znc.md b/pages.es/linux/znc.md new file mode 100644 index 00000000000000..7ca7f43eef15cc --- /dev/null +++ b/pages.es/linux/znc.md @@ -0,0 +1,20 @@ +# znc + +> Rebotador de IRC. +> Más información: . + +- Ejecuta la configuración inicial: + +`znc {{[-c|--makeconf]}}` + +- Inicia el programa residente del rebotador de IRC: + +`znc` + +- Configura `znc` para systemd: + +`sudo {{[-u|--user]}} znc znc {{[-c|--makeconf]}} {{[-d|--datadir]}} /var/lib/znc` + +- Habilita `znc` para que se inicie desde el inicio: + +`systemctl enable znc --now` diff --git a/pages.es/linux/zramctl.md b/pages.es/linux/zramctl.md new file mode 100644 index 00000000000000..45586287ce2c8e --- /dev/null +++ b/pages.es/linux/zramctl.md @@ -0,0 +1,25 @@ +# zramctl + +> Configura y controla dispositivos zram. +> Usa `mkfs` o `mkswap` para formatear dispositivos zram a particiones. +> Más información: . + +- Comprueba si zram está habilitado: + +`lsmod | grep -i zram` + +- Habilita zram con un número dinámico de dispositivos (usa `zramctl` para configurar más dispositivos): + +`sudo modprobe zram` + +- Habilita zram con exactamente 2 dispositivos: + +`sudo modprobe zram num_devices={{2}}` + +- Encuentra e inicializa el siguiente dispositivo zram libre a una unidad virtual de 2 GB usando compresión LZ4: + +`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}` + +- Lista los dispositivos actualmente inicializados: + +`sudo zramctl` diff --git a/pages.es/linux/zypper.md b/pages.es/linux/zypper.md new file mode 100644 index 00000000000000..0951ed8690b152 --- /dev/null +++ b/pages.es/linux/zypper.md @@ -0,0 +1,28 @@ +# zypper + +> Utilidad para la gestión de paquetes en SUSE y openSUSE. +> Más información: . + +- Sincroniza la lista de paquetes y versiones disponibles: + +`zypper refresh` + +- Instala un nuevo paquete: + +`zypper install {{paquete}}` + +- Elimina un paquete: + +`zypper remove {{paquete}}` + +- Actualiza los paquetes instalados a la versión más reciente disponible: + +`zypper update` + +- Busca en los repositorios un paquete mediante una palabra clave: + +`zypper search {{palabra_clave}}` + +- Muestra información relacionada con los repositorios configurados: + +`zypper repos --sort-by-priority` diff --git a/pages.es/netbsd/chfn.md b/pages.es/netbsd/chfn.md new file mode 100644 index 00000000000000..4ac421dbfd9601 --- /dev/null +++ b/pages.es/netbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/netbsd/chsh.md b/pages.es/netbsd/chsh.md new file mode 100644 index 00000000000000..bfc6abd48d01bc --- /dev/null +++ b/pages.es/netbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/netbsd/df.md b/pages.es/netbsd/df.md new file mode 100644 index 00000000000000..280e73307447d2 --- /dev/null +++ b/pages.es/netbsd/df.md @@ -0,0 +1,32 @@ +# df + +> Muestra una visión general del uso del espacio en disco del sistema de archivos. +> Más información: . + +- Muestra todos los sistemas de ficheros y su uso de disco usando unidades de 512 bytes: + +`df` + +- Utiliza palabras [h]umanas para indicar unidades (basadas en potencias de 1024): + +`df -h` + +- Muestra todos los campos de la(s) estructura(s) devuelta(s) por `statvfs`: + +`df -G` + +- Muestra el sistema de archivos y su uso del disco que contiene el archivo o directorio dado: + +`df {{ruta/al/archivo_o_directorio}}` + +- Incluye estadísticas sobre el número de nodos-[i] libres y utilizados: + +`df -i` + +- Utiliza unidades de 1024 bytes al escribir las cifras de espacio: + +`df -k` + +- Muestra la información de manera [P]ortable: + +`df -P` diff --git a/pages.es/netbsd/pkgin.md b/pages.es/netbsd/pkgin.md new file mode 100644 index 00000000000000..2e67567f35bed1 --- /dev/null +++ b/pages.es/netbsd/pkgin.md @@ -0,0 +1,28 @@ +# pkgin + +> Gestiona paquetes binarios `pkgsrc` en NetBSD. +> Más información: . + +- Instala un paquete: + +`pkgin install {{paquete}}` + +- Elimina un paquete y sus dependencias: + +`pkgin remove {{paquete}}` + +- Actualiza todos los paquetes: + +`pkgin full-upgrade` + +- Busca un paquete: + +`pkgin search {{palabra_clave}}` + +- Lista los paquetes instalados: + +`pkgin list` + +- Elimina dependencias innecesarias: + +`pkgin autoremove` diff --git a/pages.es/netbsd/sed.md b/pages.es/netbsd/sed.md new file mode 100644 index 00000000000000..470a04c86e9b9f --- /dev/null +++ b/pages.es/netbsd/sed.md @@ -0,0 +1,33 @@ +# sed + +> Edita texto de manera programable. +> Vea también: `awk`, `ed`. +> Más información: . + +- Reemplaza todas las ocurrencias de `apple` (expresión regular básica) por `mango` (expresión regular básica) en todas las líneas de entrada e imprime el resultado en `stdout`: + +`{{comando}} | sed 's/apple/mango/g'` + +- Ejecuta un [f]ichero con un script e imprime el resultado en `stdout`: + +`{{comando}} | sed -f {{ruta/al/script.sed}}` + +- Retrasa abrir cada archivo hasta que se aplique a una línea de entrada un comando que contenga la función `w` u otra similar: + +`{{comando}} | sed -fa {{ruta/al/script.sed}}` + +- Activa la extensión de GNU de expresiones re[g]ulares: + +`{{comando}} | sed -fg {{ruta/al/script.sed}}` + +- Sustituye todas las ocurrencias de `apple` (expresión regular extendida) por `APPLE` (expresión regular extendida) en todas las líneas de entrada e imprime el resultado en `stdout`: + +`{{comando}} | sed -E 's/(apple)/\U\1/g'` + +- Imprime solo la primera línea en `stdout`: + +`{{comando}} | sed -n '1p'` + +- Sustituye todas las apariciones de `apple` (expresión regular básica) por `mango` (expresión regular básica) en un archivo específico y sobrescribe el archivo original en su lugar: + +`sed -i 's/apple/mango/g' {{ruta/al/archivo}}` diff --git a/pages.es/netbsd/sockstat.md b/pages.es/netbsd/sockstat.md new file mode 100644 index 00000000000000..90cc9290a167a7 --- /dev/null +++ b/pages.es/netbsd/sockstat.md @@ -0,0 +1,26 @@ +# sockstat + +> Lista sockets abiertos de Internet o dominios UNIX. +> Nota: este programa es una reescritura para NetBSD 3.0 de `sockstat` de FreeBSD. +> Vea también: `netstat`. +> Más información: . + +- Muestra información de sockets IPv4, IPv6 y Unix que estén escuchando y conectados: + +`sockstat` + +- Muestra información para sockets IPv[4]/IPv[6] escuchando ([l]istening) sobre [p]uertos específicos usando un [P]rotocolo específico: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{puerto1,puerto2...}}` + +- También muestra sockets [c]onectados, mostrando sockets [u]nix: + +`sockstat -cu` + +- Solo muestra salida [n]umérica, sin resolver nombres simbólicos para direcciones y puertos: + +`sockstat -n` + +- Lista sockets de una [f]amilia de direcciones específica: + +`sockstat -f {{inet|inet6|local|unix}}` diff --git a/pages.es/openbsd/chfn.md b/pages.es/openbsd/chfn.md new file mode 100644 index 00000000000000..4ac421dbfd9601 --- /dev/null +++ b/pages.es/openbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/openbsd/chsh.md b/pages.es/openbsd/chsh.md new file mode 100644 index 00000000000000..bfc6abd48d01bc --- /dev/null +++ b/pages.es/openbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Este comando es un alias de `chpass`. + +- Vea la documentación para el comando original: + +`tldr chpass` diff --git a/pages.es/osx/aa.md b/pages.es/osx/aa.md new file mode 100644 index 00000000000000..41206503336236 --- /dev/null +++ b/pages.es/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Este comando es un alias de `yaa`. + +- Muestra la documentación del comando original: + +`tldr yaa` diff --git a/pages.es/osx/afinfo.md b/pages.es/osx/afinfo.md index f2e3269d9a1a80..d960cb6c15f744 100644 --- a/pages.es/osx/afinfo.md +++ b/pages.es/osx/afinfo.md @@ -2,6 +2,7 @@ > Analizador de metadatos de archivos de audio para OS X. > Comando nativo de OS X. +> Más información: . - Muestra información de un archivo de audio dado: @@ -9,15 +10,15 @@ - Muestra una descripción de una línea del archivo de audio: -`afinfo -b {{ruta/al/archivo}}` +`afinfo --brief {{ruta/al/archivo}}` - Muestra información de metadatos y contenido del InfoDictionary del archivo de audio: -`afinfo -i {{ruta/al/archivo}}` +`afinfo --info {{ruta/al/archivo}}` - Imprime la salida en formato XML: -`afinfo -x {{ruta/al/archivo}}` +`afinfo --xml {{ruta/al/archivo}}` - Muestra advertencias para el archivo de audio, si las hubiera: @@ -25,4 +26,4 @@ - Muestra ayuda para un uso completo: -`afinfo -h` +`afinfo --help` diff --git a/pages.es/osx/afplay.md b/pages.es/osx/afplay.md index fb493b249b37b6..60c60a5d03364f 100644 --- a/pages.es/osx/afplay.md +++ b/pages.es/osx/afplay.md @@ -1,6 +1,7 @@ # afplay > Reproductor de audio de línea de comandos. +> Más información: . - Reproduce un archivo de audio (espera hasta que finalice la reproducción): diff --git a/pages.es/osx/aiac.md b/pages.es/osx/aiac.md new file mode 100644 index 00000000000000..3afadcbe4c1493 --- /dev/null +++ b/pages.es/osx/aiac.md @@ -0,0 +1,24 @@ +# aiac + +> Utiliza OpenAI para generar configuraciones IaC, utilidades, consultas y más. +> Más información: . + +- Genera Terraform para una cuenta de almacenamiento Azure: + +`aiac get terraform {{for an azure storage account}}` + +- Genera un Dockerfile para nginx: + +`aiac get dockerfile {{for a secured nginx}}` + +- Genera una GitHub action que aplica Terraform: + +`aiac get github action {{that plans and applies terraform}}` + +- Genera un escáner de puertos en Python: + +`aiac get python {{code that scans all open ports in my network}}` + +- Genera una consulta MongoDB: + +`aiac get mongo {{query that aggregates all documents by created date}}` diff --git a/pages.es/osx/airport.md b/pages.es/osx/airport.md index 2cffed5975ca6b..a9314414b3e833 100644 --- a/pages.es/osx/airport.md +++ b/pages.es/osx/airport.md @@ -1,10 +1,11 @@ # airport > Utilidad de configuración de red inalámbrica. +> Más información: . - Muestra la información del estado actual de la red inalámbrica: -`airport -I` +`airport --getinfo` - Detecta tráfico inalámbrico en el canal 1: @@ -12,8 +13,8 @@ - Busca redes inalámbricas disponibles: -`airport -s` +`airport --scan` - Desasociarse de la red actual: -`sudo airport -z` +`sudo airport --disassociate` diff --git a/pages.es/osx/airportd.md b/pages.es/osx/airportd.md new file mode 100644 index 00000000000000..0dfd71522e7d38 --- /dev/null +++ b/pages.es/osx/airportd.md @@ -0,0 +1,9 @@ +# airportd + +> Gestiona las interfaces inalámbricas. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`airportd` diff --git a/pages.es/osx/apachectl.md b/pages.es/osx/apachectl.md index e4b45a82947d7d..62d3c9185ebc1a 100644 --- a/pages.es/osx/apachectl.md +++ b/pages.es/osx/apachectl.md @@ -1,8 +1,9 @@ # apachectl -> Interfaz de control pata Apache HTTP Server para macOS. +> Interfaz de control de Apache HTTP Server para macOS. +> Más información: . -- Inicia la tarea launchd org.apache.httpd: +- Inicia la tarea launchd `org.apache.httpd`: `apachectl start` diff --git a/pages.es/osx/applecamerad.md b/pages.es/osx/applecamerad.md new file mode 100644 index 00000000000000..6dc39a70664046 --- /dev/null +++ b/pages.es/osx/applecamerad.md @@ -0,0 +1,9 @@ +# applecamerad + +> Gestor de cámara. +> No debe ser invocado manualmente. +> Más información: . + +- Inicia el proceso residente: + +`applecamerad` diff --git a/pages.es/osx/appsleepd.md b/pages.es/osx/appsleepd.md new file mode 100644 index 00000000000000..e9ed8cf2122fef --- /dev/null +++ b/pages.es/osx/appsleepd.md @@ -0,0 +1,9 @@ +# appsleepd + +> Proporciona servicios de suspensión de aplicaciones. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`appsleepd` diff --git a/pages.es/osx/arch.md b/pages.es/osx/arch.md new file mode 100644 index 00000000000000..bc65757b17e895 --- /dev/null +++ b/pages.es/osx/arch.md @@ -0,0 +1,17 @@ +# arch + +> Muestra el nombre de la arquitectura del sistema, o ejecuta un comando bajo una arquitectura diferente. +> Vea también: `uname`. +> Más información: . + +- Muestra la arquitectura del sistema: + +`arch` + +- Ejecuta un comando usando x86_64: + +`arch -x86_64 "{{comando}}"` + +- Ejecuta un comando usando arm: + +`arch -arm64 "{{comando}}"` diff --git a/pages.es/osx/archey.md b/pages.es/osx/archey.md index e5d971026719be..2b7c74ac6bbfaa 100644 --- a/pages.es/osx/archey.md +++ b/pages.es/osx/archey.md @@ -1,6 +1,7 @@ # archey > Herramienta sencilla para mostrar información del sistema con estilo. +> Más información: . - Muestra información del sistema: @@ -10,7 +11,7 @@ `archey --nocolor` -- Muestra información del sistema, usando MacPorts en lugar de Hombrew: +- Muestra información del sistema, usando MacPorts en lugar de Homebrew: `archey --macports` diff --git a/pages.es/osx/as.md b/pages.es/osx/as.md index 2fffe7471fa8dd..acbf119a06ac17 100644 --- a/pages.es/osx/as.md +++ b/pages.es/osx/as.md @@ -2,19 +2,20 @@ > Ensamblador portable GNU. > Principalmente destinado a ensamblar la salida de `gcc` para ser utilizada por` ld`. +> Más información: . -- Ensambla un archivo, escribiendo la salida en a.out: +- Ensambla un archivo, escribiendo la salida en `a.out`: -`as {{archivo.s}}` +`as {{ruta/al/archivo.s}}` - Ensambla la salida a un archivo especificado: -`as {{archivo.s}} -o {{salida.o}}` +`as {{ruta/al/archivo.s}} -o {{salida.o}}` -- Genera resultados más rápido omitiendo los espacios en blanco y el preprocesamiento de comentarios. (Solo debe usarse para compiladores de confianza): +- Genera resultados más rápidos omitiendo los espacios en blanco y el preprocesamiento de comentarios. (Solo debe usarse para compiladores de confianza): -`as -f {{archivo.s}}` +`as -f {{ruta/al/archivo.s}}` -- Incluye una ruta determinada a la lista de directorios para buscar archivos especificados en las directivas .include: +- Incluye una ruta determinada a la lista de directorios para buscar archivos especificados en las directivas `.include`: -`as -I {{ruta/al/directorio}} {{archivo.s}}` +`as -I {{ruta/al/directorio}} {{ruta/al/archivo.s}}` diff --git a/pages.es/osx/asr.md b/pages.es/osx/asr.md index 169f1965da182e..b1fd64379a556c 100644 --- a/pages.es/osx/asr.md +++ b/pages.es/osx/asr.md @@ -2,18 +2,19 @@ > Restaura (copia) una imagen de disco en un volumen. > El nombre del comando significa Restauración de Software de Apple. +> Más información: . - Restaura una imagen de disco en un volumen: -`sudo asr restore --source {{nombre_de_imagen}}.dmg --target {{ruta/al/volumen}}` +`sudo asr restore --source {{nombre_de_imagen.dmg}} --target {{ruta/al/volumen}}` - Borra el volumen deseado antes de restaurar: -`sudo asr restore --source {{nombre_de_imagen}}.dmg --target {{ruta/al/volumen}} --erase` +`sudo asr restore --source {{nombre_de_imagen.dmg}} --target {{ruta/al/volumen}} --erase` - Omite la verificación después de restaurar: -`sudo asr restore --source {{nombre_de_imagen}}.dmg --target {{ruta/al/volumen}} --noverify` +`sudo asr restore --source {{nombre_de_imagen.dmg}} --target {{ruta/al/volumen}} --noverify` - Clona volúmenes sin el uso de una imagen de disco intermedia: diff --git a/pages.es/osx/autofsd.md b/pages.es/osx/autofsd.md new file mode 100644 index 00000000000000..b4016781b81fc2 --- /dev/null +++ b/pages.es/osx/autofsd.md @@ -0,0 +1,9 @@ +# autofsd + +> Ejecuta `automount` al inicio del sistema y en cambios en la configuración de red. +> No debe ser invocado manualmente. +> Más información: . + +- Inicia el proceso residente: + +`autofsd` diff --git a/pages.es/osx/automount.md b/pages.es/osx/automount.md new file mode 100644 index 00000000000000..1e1c2bce98d4e8 --- /dev/null +++ b/pages.es/osx/automount.md @@ -0,0 +1,17 @@ +# automount + +> Lee el archivo `/etc/auto_master` y monta `autofs` en los puntos de montaje apropiados para activar el montaje bajo demanda de directorios. Esencialmente, es una forma de iniciar manualmente el proceso de automontaje del sistema. +> Nota: Lo más probable es que necesites ejecutarlo con `sudo` si no tienes los permisos necesarios. +> Más información: . + +- Ejecuta automount, vacía la caché(`-c`) de antemano, y es detallista(`-v`) al respecto (uso más común): + +`automount -cv` + +- Desmonta automáticamente transcurridos 5 minutos (300 segundos) de inactividad: + +`automount -t 300` + +- Desmonta cualquier cosa previamente montada por automount y/o definida en `/etc/auto_master`: + +`automount -u` diff --git a/pages.es/osx/automountd.md b/pages.es/osx/automountd.md new file mode 100644 index 00000000000000..10c7718885af57 --- /dev/null +++ b/pages.es/osx/automountd.md @@ -0,0 +1,13 @@ +# automountd + +> Un daemon de montaje/desmontaje automático para `autofs`. Iniciado bajo demanda por `launchd`. +> No debe ser invocado manualmente. +> Más información: . + +- Inicia el daemon: + +`automountd` + +- Registra más detalles en `syslog`: + +`automountd -v` diff --git a/pages.es/osx/auvaltool.md b/pages.es/osx/auvaltool.md new file mode 100644 index 00000000000000..49872f229ec366 --- /dev/null +++ b/pages.es/osx/auvaltool.md @@ -0,0 +1,12 @@ +# auvaltool + +> Herramienta de validación AudioUnit para Mac. +> Más información: . + +- Lista todas las AudioUnits disponibles de cualquier tipo: + +`auvaltool -a` + +- Lista todas las AudioUnits utiliz[a]bles de cualquier tipo con su [l]ocalización: + +`auvaltool -al` diff --git a/pages.es/osx/avbdeviced.md b/pages.es/osx/avbdeviced.md new file mode 100644 index 00000000000000..f55ed412c107bb --- /dev/null +++ b/pages.es/osx/avbdeviced.md @@ -0,0 +1,9 @@ +# avbdeviced + +> Un servicio para gestionar dispositivos Audio Video Bridging (AVB). +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`avbdeviced` diff --git a/pages.es/osx/backupd.md b/pages.es/osx/backupd.md new file mode 100644 index 00000000000000..826c869b302885 --- /dev/null +++ b/pages.es/osx/backupd.md @@ -0,0 +1,9 @@ +# backupd + +> Crea copias de seguridad de Time Machine y gestiona el historial de copias de seguridad. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`backupd` diff --git a/pages.es/osx/base64.md b/pages.es/osx/base64.md new file mode 100644 index 00000000000000..8484a20c27aee4 --- /dev/null +++ b/pages.es/osx/base64.md @@ -0,0 +1,28 @@ +# base64 + +> Codifica o decodifica un archivo o `stdin` a/desde base64, a `stdout` o a otro archivo. +> Más información: . + +- Codifica un archivo a `stdout`: + +`base64 {{[-i|--input]}} {{ruta/al/archivo}}` + +- Codifica un archivo en el archivo de salida especificado: + +`base64 {{[-i|--input]}} {{ruta/al/archivo_de_entrada}} {{[-o|--output]}} {{ruta/al/archivo_salida}}` + +- Ajusta la salida codificada a un ancho específico (`0` desactiva el ajuste): + +`base64 {{[-b|--break]}} {{0|76|...}} {{ruta/al/archivo}}` + +- Decodifica un archivo a `stdout`: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{ruta/al/archivo}}` + +- Codifica de `stdin` a `stdout`: + +`{{comando}} | base64` + +- Decodifica de `stdin` a `stdout`: + +`{{comando}} | base64 {{[-d|--decode]}}` diff --git a/pages.es/osx/bc.md b/pages.es/osx/bc.md new file mode 100644 index 00000000000000..7f1880706a05e3 --- /dev/null +++ b/pages.es/osx/bc.md @@ -0,0 +1,29 @@ +# bc + +> Un lenguaje de calculadora de precisión arbitraria. +> Vea también: `dc`. +> Más información: . + +- Inicia una sesión interactiva: + +`bc` + +- Inicia una sesión interactiva con la biblioteca mathlib estándar activada: + +`bc --mathlib` + +- Calcula una expresión: + +`bc --expression '{{5 / 3}}'` + +- Ejecuta un script: + +`bc {{ruta/al/script.bc}}` + +- Calcula una expresión con la escala especificada: + +`bc --expression '{{scale = 10; 5 / 3}}'` + +- Calcula una función seno/coseno/arctangente/logaritmo natural/exponencial utilizando `mathlib`: + +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages.es/osx/biomesyncd.md b/pages.es/osx/biomesyncd.md new file mode 100644 index 00000000000000..61aab54afcd0c5 --- /dev/null +++ b/pages.es/osx/biomesyncd.md @@ -0,0 +1,9 @@ +# biomesyncd + +> Sincroniza datos entre dispositivos registrados en la misma cuenta. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el proceso residente: + +`biomesyncd` diff --git a/pages.es/osx/biometrickitd.md b/pages.es/osx/biometrickitd.md new file mode 100644 index 00000000000000..473bf7fd916f1c --- /dev/null +++ b/pages.es/osx/biometrickitd.md @@ -0,0 +1,9 @@ +# biometrickitd + +> Proporciona soporte para operaciones biométricas. +> No debe ser invocado manualmente. +> Más información: . + +- Inicia el proceso residente: + +`biometrickitd` diff --git a/pages.es/osx/bird.md b/pages.es/osx/bird.md new file mode 100644 index 00000000000000..dc53cc22569255 --- /dev/null +++ b/pages.es/osx/bird.md @@ -0,0 +1,9 @@ +# bird + +> Esto admite la sincronización de iCloud e iCloud Drive. +> No debe ser invocado manualmente. +> Más información: . + +- Inicia el proceso residente: + +`bird` diff --git a/pages.es/osx/bless.md b/pages.es/osx/bless.md new file mode 100644 index 00000000000000..5d28c175d61e46 --- /dev/null +++ b/pages.es/osx/bless.md @@ -0,0 +1,20 @@ +# bless + +> Establece la capacidad de arranque del volumen y las opciones del disco de arranque. +> Más información: . + +- Bendice un volumen sólo con Mac OS X o Darwin, y crea los archivos BootX y `boot.efi` según sea necesario: + +`bless --folder {{/Volumes/Mac OS X/System/Library/CoreServices}} --bootinfo --bootefi` + +- Configura un volumen que contenga Mac OS 9 y Mac OS X para que sea el volumen activo: + +`bless --mount {{Volumes/Mac OS}} --setBoot` + +- Configura el sistema como NetBoot y localiza un servidor disponible: + +`bless --netboot --server {{bsdp://255.255.255.255}}` + +- Recopila información sobre el volumen seleccionado actualmente (según lo determinado por el firmware), adecuado para la canalización a un programa capaz de analizar las listas de propiedades: + +`bless --info --plist` diff --git a/pages.es/osx/bnepd.md b/pages.es/osx/bnepd.md new file mode 100644 index 00000000000000..7a50a66a2d07bf --- /dev/null +++ b/pages.es/osx/bnepd.md @@ -0,0 +1,9 @@ +# bnepd + +> Un servicio que gestiona todas las conexiones de red Bluetooth. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el proceso residente: + +`bnepd` diff --git a/pages.es/osx/brew.md b/pages.es/osx/brew.md deleted file mode 100644 index dba303c92c87ae..00000000000000 --- a/pages.es/osx/brew.md +++ /dev/null @@ -1,40 +0,0 @@ -# brew - -> Administrador de paquetes para macOS. -> Más información: . - -- Busca fórmulas y paquetes disponibles: - -`brew search {{text}}` - -- Instala la última versión estable de una fórmula (usa `--devel` para versiones de desarrollo): - -`brew install {{formula}}` - -- Muestra todas las fórmulas instaladas: - -`brew list` - -- Muestra fórmulas instaladas que no dependen de otras: - -`brew leaves` - -- Actualiza una fórmula instalada (si no se indica el nombre, se actualizan todas las fórmulas): - -`brew upgrade {{formula}}` - -- Actualiza a la última versión de Homebrew y todas sus fórmulas desde GitHub: - -`brew update` - -- Elimina versiones antiguas de fórmulas instaladas (si no se indica el nombre, se busca en todas las fórmulas): - -`brew cleanup {{formula}}` - -- Muestra información acerca de una fórmula (versión, ruta de instalación, dependencias, etc.): - -`brew info {{formula}}` - -- Verifica la instalación local de Homebrew en busca de problemas potenciales: - -`brew doctor` diff --git a/pages.es/osx/caffeinate.md b/pages.es/osx/caffeinate.md new file mode 100644 index 00000000000000..eaf7051a7a8f90 --- /dev/null +++ b/pages.es/osx/caffeinate.md @@ -0,0 +1,24 @@ +# caffeinate + +> Evita que macOS se duerma. +> Más información: . + +- Evita que macOS entre en reposo durante 1 hora (3600 segundos): + +`caffeinate -u -t {{3600}}` + +- Evita que entre en reposo hasta que termine de ejecutarse un comando: + +`caffeinate -s "{{comando}}"` + +- Evita que el sistema entre en reposo hasta que finalice un proceso con el PID especificado: + +`caffeinate -w {{pid}}` + +- Evita que entre en reposo (usa `` para salir): + +`caffeinate -i` + +- Evita que el disco entre en reposo (usa `` para salir): + +`caffeinate -m` diff --git a/pages.es/osx/chpass.md b/pages.es/osx/chpass.md new file mode 100644 index 00000000000000..17a6d11ec98972 --- /dev/null +++ b/pages.es/osx/chpass.md @@ -0,0 +1,26 @@ +# chpass + +> Añade o cambia la información de la base de datos del usuario, incluyendo el intérprete de comandos (shell) y la contraseña. +> Nota: no es posible cambiar la contraseña del usuario en sistemas Open Directory, utiliza `passwd` en su lugar. +> Vea también: `passwd`. +> Más información: . + +- Añade o cambia la información de la base de datos del usuario actual de forma interactiva: + +`su -c chpass` + +- Establece un [s]hell de inicio de sesión específico para el usuario actual: + +`chpass -s {{ruta/al/shell}}` + +- Establece un inicio de sesión [s]hell para un usuario específico: + +`chpass -s {{ruta/al/shell}} {{usuario}}` + +- Edita el registro de usuario en el nodo de directorio en la ubicación dada: + +`chpass -l {{ubicación}} -s {{ruta/al/shell}} {{usuario}}` + +- Utiliza el [u]suario_autenticado al identificarse en el nodo de directorio que contiene a cierto usuario: + +`chpass -u {{usuario_autenticado}} -s {{ruta/al/shell}} {{usuario}}` diff --git a/pages.es/osx/coreaudiod.md b/pages.es/osx/coreaudiod.md new file mode 100644 index 00000000000000..217d62b3e87ee9 --- /dev/null +++ b/pages.es/osx/coreaudiod.md @@ -0,0 +1,9 @@ +# coreaudiod + +> Servicio para Core Audio, el sistema de audio de Apple. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el proceso residente: + +`coreaudiod` diff --git a/pages.es/osx/corebrightnessd.md b/pages.es/osx/corebrightnessd.md new file mode 100644 index 00000000000000..4f918993c73259 --- /dev/null +++ b/pages.es/osx/corebrightnessd.md @@ -0,0 +1,9 @@ +# corebrightnessd + +> Gestiona Night Shift. +> No debe ser invocado manualmente. +> Más información: . + +- Inicia el proceso residente: + +`corebrightnessd` diff --git a/pages.es/osx/coredatad.md b/pages.es/osx/coredatad.md new file mode 100644 index 00000000000000..41c7d4f1b232d2 --- /dev/null +++ b/pages.es/osx/coredatad.md @@ -0,0 +1,9 @@ +# coredatad + +> Programa operaciones CloudKit para clientes de NSPersistentCloudKitContainer. +> No debe ser invocado manualmente. +> Más información: . + +- Inicia el proceso residente: + +`coredatad` diff --git a/pages.es/osx/cot.md b/pages.es/osx/cot.md new file mode 100644 index 00000000000000..a0f049a2203564 --- /dev/null +++ b/pages.es/osx/cot.md @@ -0,0 +1,24 @@ +# cot + +> El editor de texto simple para macOS. +> Más información: . + +- Inicia CotEditor: + +`cot` + +- Abre archivos específicos: + +`cot {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Abre un nuevo documento en blanco: + +`cot --new` + +- Abre un archivo específico y bloquea el terminal hasta que se cierre: + +`cot --wait {{ruta/al/archivo}}` + +- Abre un archivo específico con el cursor en una línea y columna específicas: + +`cot --line {{1}} --column {{80}} {{ruta/al/archivo}}` diff --git a/pages.es/osx/csrutil.md b/pages.es/osx/csrutil.md new file mode 100644 index 00000000000000..ba580e0c2a6f6e --- /dev/null +++ b/pages.es/osx/csrutil.md @@ -0,0 +1,28 @@ +# csrutil + +> Gestiona la configuración de la Protección de Integridad del Sistema. +> Más información: . + +- Muestra el estado de la Protección de Integridad del Sistema: + +`csrutil status` + +- Desactiva la Protección de Integridad del Sistema: + +`csrutil disable` + +- Activa la Protección de Integridad del Sistema: + +`csrutil enable` + +- Muestra la lista de fuentes NetBoot permitidas: + +`csrutil netboot list` + +- Añade una dirección IPv4 a la lista de fuentes NetBoot permitidas: + +`csrutil netboot add {{ip}}` + +- Restablece el estado de Protección de integridad del Sistema y borra la lista NetBoot: + +`csrutil clear` diff --git a/pages.es/osx/csshx.md b/pages.es/osx/csshx.md new file mode 100644 index 00000000000000..a92bdb0fdb8df7 --- /dev/null +++ b/pages.es/osx/csshx.md @@ -0,0 +1,16 @@ +# csshX + +> Herramienta SSH de clúster para macOS. +> Más información: . + +- Conectarse a múltiples hosts: + +`csshX {{nombrehost1}} {{nombrehost2}}` + +- Conectarse a múltiples hosts con una clave SSH dada: + +`csshX {{usuario@nombrehost1}} {{usuario@nombrehost2}} --ssh_args "-i {{ruta/al/archivo_de_clave.pem}}"` + +- Conectarse a un clúster predefinido desde `/etc/clusters`: + +`csshX cluster1` diff --git a/pages.es/osx/ctkd.md b/pages.es/osx/ctkd.md new file mode 100644 index 00000000000000..be8f84f14c6713 --- /dev/null +++ b/pages.es/osx/ctkd.md @@ -0,0 +1,9 @@ +# ctkd + +> Daemon de SmartCard. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el proceso residente: + +`ctkd` diff --git a/pages.es/osx/cut.md b/pages.es/osx/cut.md new file mode 100644 index 00000000000000..bf447d7da3acac --- /dev/null +++ b/pages.es/osx/cut.md @@ -0,0 +1,16 @@ +# cut + +> Corta campos sean `stdin` o archivos. +> Más información: . + +- Imprime un rango específico de caracteres/campos de cada línea: + +`{{command}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}` + +- Imprime un rango de campos de cada línea con un delimitador específico: + +`{{command}} | cut -d "{{,}}" -f {{1}}` + +- Imprime un rango de caracteres de cada línea de un archivo específico: + +`cut -c {{1}} {{ruta/al/archivo}}` diff --git a/pages.es/osx/dark-mode.md b/pages.es/osx/dark-mode.md new file mode 100644 index 00000000000000..7d28e27c093e1b --- /dev/null +++ b/pages.es/osx/dark-mode.md @@ -0,0 +1,20 @@ +# dark-mode + +> Controla el modo oscuro de macOS desde la línea de comandos. +> Más información: . + +- Alterna el modo oscuro (lo activa si actualmente está desactivado, lo desactiva si actualmente está activado): + +`dark-mode` + +- Activa el modo oscuro: + +`dark-mode on` + +- Desactiva el modo oscuro: + +`dark-mode off` + +- Verifica si el modo oscuro está activado: + +`dark-mode status` diff --git a/pages.es/osx/dd.md b/pages.es/osx/dd.md new file mode 100644 index 00000000000000..c196b4cb4e9a70 --- /dev/null +++ b/pages.es/osx/dd.md @@ -0,0 +1,28 @@ +# dd + +> Convierte y copia un archivo. +> Más información: . + +- Crea una unidad USB de arranque desde un archivo isohybrid (como `archlinux-xxx.iso`) y muestra el progreso: + +`dd if={{ruta/al/archivo.iso}} of={{/dev/dispositivo_usb}} status=progress` + +- Clona una unidad a otra unidad con un bloque de 4 MB, ignora el error y muestra el progreso: + +`dd bs=4m conv=noerror if={{/dev/dispositivo_de origen}} of={{/dev/dispositivo_de destino}} status=progress` + +- Genera un archivo con un número específico de bytes aleatorios utilizando el controlador aleatorio del núcleo: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{ruta/al/archivo_aleatorio}}` + +- Compara el rendimiento de escritura de un disco: + +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{ruta/para/archivo_1GB}}` + +- Genera una copia de seguridad del sistema en un archivo IMG y muestra el progreso: + +`dd if={{/dev/dispositivo_unidad}} of={{ruta/al/archivo.img}} status=progress` + +- Comprueba el progreso de una operación `dd` en curso (ejecuta este comando desde otro intérprete de comandos): + +`kill -USR1 $(pgrep ^dd)` diff --git a/pages.es/osx/dhcp6d.md b/pages.es/osx/dhcp6d.md new file mode 100644 index 00000000000000..e8637aab5781fe --- /dev/null +++ b/pages.es/osx/dhcp6d.md @@ -0,0 +1,13 @@ +# dhcp6d + +> Servidor DHCPv6 sin estado. Ver también: `InternetSharing`. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el proceso residente: + +`dhcp6d` + +- Utiliza una configuración personalizada: + +`dhcp6d {{ruta/al/archivo_config}}` diff --git a/pages.es/osx/diskutil-partitiondisk.md b/pages.es/osx/diskutil-partitiondisk.md new file mode 100644 index 00000000000000..0d6ee98766acf1 --- /dev/null +++ b/pages.es/osx/diskutil-partitiondisk.md @@ -0,0 +1,26 @@ +# diskutil partitionDisk + +> Utilidad para gestionar particiones en discos y volúmenes. +> Parte de `diskutil`. +> APM solo es compatible con macOS, MBR está optimizado para DOS, mientras que GPT es compatible con la mayoría de los sistemas operativos modernos. +> Más información: . + +- Reformatea un volumen usando el esquema de particionado APM/MBR/GPT, sin dejar particiones en su interior (esto borrará todos los datos del volumen): + +`diskutil partitionDisk {{/dev/dispositivo_de_disco}} 0 {{APM|MBR|GPT}}` + +- Reformatea un volumen, luego crea una única partición usando un sistema de archivos específico llenando todo el espacio libre: + +`diskutil partitionDisk {{/dev/dispositivo_de_disco}} 1 {{APM|MBR|GPT}} {{partición_con_sistema_de_archivos}} {{nombre_de_partición}}` + +- Reformatea un volumen, luego crea una única partición con un sistema de archivos y tamaño específico (ej. `16G` para 16GB o `50%` para llenar la mitad del tamaño total del volumen): + +`diskutil partitionDisk {{/dev/dispositivo_de_disco}} 1 {{APM|MBR|GPT}} {{partición_con_sistema_de_archivos}} {{nombre_de_partición}} {{tamaño_de_partición}}` + +- Reformatea un volumen y crea múltiples particiones: + +`diskutil partitionDisk {{/dev/dispositivo_disco}} {{número_particiones}} {{APM|MBR|GPT}} {{partición_sistema_archivos1}} {{nombre_partición1}} {{tamaño_partición1}} {{partición_sistema_archivos2}} {{nombre_partición2}} {{tamaño_partición2}} ...` + +- Lista todos los sistemas de ficheros soportados para particionar: + +`diskutil listFilesystems` diff --git a/pages.es/osx/diskutil.md b/pages.es/osx/diskutil.md new file mode 100644 index 00000000000000..6193b305580684 --- /dev/null +++ b/pages.es/osx/diskutil.md @@ -0,0 +1,20 @@ +# diskutil + +> Utilidad para gestionar discos y volúmenes locales. +> Más información: . + +- Lista todos los discos, particiones y volúmenes montados actualmente disponibles: + +`diskutil list` + +- Repara las estructuras de datos del sistema de archivos de un volumen: + +`diskutil repairVolume {{/dev/disk_device}}` + +- Desmonta un volumen: + +`diskutil unmountDisk {{/dev/disk_device}}` + +- Expulsa un CD/DVD (primero lo desmonta): + +`diskutil eject {{/dev/disk_device1}}` diff --git a/pages.es/osx/dockutil.md b/pages.es/osx/dockutil.md new file mode 100644 index 00000000000000..3e7bbcccbeee61 --- /dev/null +++ b/pages.es/osx/dockutil.md @@ -0,0 +1,32 @@ +# dockutil + +> Gestiona los elementos del dock de macOS. +> Más información: . + +- Añade una aplicación al final del dock del usuario actual: + +`dockutil --add {{ruta/a/la/aplicación}}` + +- Reemplaza una aplicación por otra en el dock del usuario actual: + +`dockutil --add {{ruta/a/la/aplicación}} --replacing '{{etiqueta_de_elemento_del_dock}}'` + +- Añade un directorio con opciones de visualización y lo muestra como un icono de carpeta o pila: + +`dockutil --add {{/ruta/al/directorio}} --view {{grill|fan|list|auto}} --display {{folder|stack}}` + +- Añade la URL de un elemento del dock después de otro elemento: + +`dockutil --add {{vnc://ejemplo_servidor.local}} --label '{{VNC de ejemplo}}' --after {{etiqueta_de_elemento_del_dock}}` + +- Elimina una aplicación del dock dado su nombre de etiqueta en el dock: + +`dockutil --remove '{{etiqueta_de_elemento_del_dock}}'` + +- Añade un espaciador en una sección después de una aplicación: + +`dockutil --add '' --type {{spacer|small-spacer|flex-spacer}} --section {{apps}} --after {{etiqueta_de_elemento_del_dock}}` + +- Elimina todos los elementos espaciadores: + +`dockutil --remove spacer-tiles` diff --git a/pages.es/osx/dot_clean.md b/pages.es/osx/dot_clean.md new file mode 100644 index 00000000000000..ce78fa38796bf7 --- /dev/null +++ b/pages.es/osx/dot_clean.md @@ -0,0 +1,28 @@ +# dot_clean + +> Fusiona los archivos ._* con los archivos nativos correspondientes. +> Más información: . + +- Fusiona todos los ficheros `._*` recursivamente: + +`dot_clean {{ruta/al/directorio}}` + +- Fusiona todos los `._*` en un directorio sin leer subdirectorios (fusión plana): + +`dot_clean -f {{ruta/al/directorio}}` + +- Fusiona y elimina todos los archivos `._*`: + +`dot_clean -m {{ruta/al/directorio}}` + +- Elimina sólo los archivos `._*` si hay un archivo nativo coincidente: + +`dot_clean -n {{ruta/al/directorio}}` + +- Sigue los enlaces simbólicos: + +`dot_clean -s {{ruta/al/directorio}}` + +- Muestra resultados detallados: + +`dot_clean -v {{ruta/al/directorio}}` diff --git a/pages.es/osx/du.md b/pages.es/osx/du.md new file mode 100644 index 00000000000000..e6daa0e4c58907 --- /dev/null +++ b/pages.es/osx/du.md @@ -0,0 +1,28 @@ +# du + +> Uso del disco: estima y resume el uso del espacio de archivos y directorios. +> Más información: . + +- Lista los tamaños de un directorio y de cualquier subdirectorio, en la unidad dada (KiB/MiB/GiB): + +`du -{{k|m|g}} {{ruta/al/directorio}}` + +- Enumera los tamaños de un directorio y sus subdirectorios, de forma legible (es decir, seleccionando automáticamente la unidad adecuada para cada tamaño): + +`du -h {{ruta/al/directorio}}` + +- Muestra el tamaño de un único directorio, en unidades legibles para el ser humano: + +`du -sh {{ruta/al/directorio}}` + +- Muestra los tamaños legibles de un directorio y de todos los archivos y directorios que contiene: + +`du -ah {{ruta/al/directorio}}` + +- Lista los tamaños legibles de un directorio y sus subdirectorios, hasta N niveles de profundidad: + +`du -h -d {{2}} {{ruta/al/directorio}}` + +- Lista el tamaño legible de todos los archivos `.jpg` en los subdirectorios del directorio actual y muestra un total acumulado al final: + +`du -ch {{*/*.jpg}}` diff --git a/pages.es/osx/emond.md b/pages.es/osx/emond.md new file mode 100644 index 00000000000000..81b2d439224f0b --- /dev/null +++ b/pages.es/osx/emond.md @@ -0,0 +1,17 @@ +# emond + +> Servicio de Monitor de Eventos que acepta eventos de varios servicios, los ejecuta a través de un simple motor de reglas, y toma acciones. +> Las acciones pueden ejecutar comandos, enviar correos electrónicos o mensajes SMS. +> Más información: . + +- Inicia el daemon: + +`emond` + +- Especifica las reglas que emond debe procesar indicando una ruta a un archivo o directorio: + +`emond -r {{ruta/al/archivo_o_directorio}}` + +- Utiliza un archivo de configuración específico: + +`emond -c {{ruta/al/archivo_de_configuración}}` diff --git a/pages.es/osx/fdesetup.md b/pages.es/osx/fdesetup.md new file mode 100644 index 00000000000000..8dd26c9163a2f0 --- /dev/null +++ b/pages.es/osx/fdesetup.md @@ -0,0 +1,24 @@ +# fdesetup + +> Establece y recupera información relacionada con FileVault. +> Más información: . + +- Lista los usuarios actuales habilitados para FileVault: + +`sudo fdesetup list` + +- Obtén el estado actual de FileVault: + +`fdesetup status` + +- Añade un usuario habilitado para FileVault: + +`sudo fdesetup add -usertoadd {{usuario1}}` + +- Habilita FileVault: + +`sudo fdesetup enable` + +- Desactiva FileVault: + +`sudo fdesetup disable` diff --git a/pages.es/osx/fsck.md b/pages.es/osx/fsck.md new file mode 100644 index 00000000000000..e589b2c9ab8689 --- /dev/null +++ b/pages.es/osx/fsck.md @@ -0,0 +1,21 @@ +# fsck + +> Comprueba la integridad de un sistema de archivos o los repara. El sistema de ficheros debe estar desmontado en el momento de ejecutar el comando. +> Es una envoltura que llama a `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat`, y `fsck_udf` según sea necesario. +> Más información: . + +- Comprueba el sistema de ficheros `/dev/sdX`, informando de cualquier bloque dañado: + +`fsck {{/dev/sdX}}` + +- Comprueba el sistema de ficheros `/dev/sdX` sólo si está limpio, informando de los bloques dañados y dejando que el usuario elija interactivamente si repara cada uno de ellos: + +`fsck -f {{/dev/sdX}}` + +- Comprueba el sistema de archivos `/dev/sdX` sólo si está limpio, informando de los bloques dañados y reparándolos automáticamente: + +`fsck -fy {{/dev/sdX}}` + +- Comprueba el sistema de archivos `/dev/sdX`, informando si se ha desmontado correctamente: + +`fsck -q {{/dev/sdX}}` diff --git a/pages.es/osx/ftxdiff.md b/pages.es/osx/ftxdiff.md new file mode 100644 index 00000000000000..5dee446f843f39 --- /dev/null +++ b/pages.es/osx/ftxdiff.md @@ -0,0 +1,16 @@ +# ftxdiff + +> Compara las diferencias entre dos fuentes. +> Más información: . + +- Envía las diferencias a un archivo de texto específico: + +`ftxdiff --output {{ruta/al/archivo_de_fontdif.txt}} {{ruta/al/archivo_ont_1.ttc}} {{ruta/al/archivo_font_2.ttc}}` + +- Incluye nombres de glifos en la salida: + +`ftxdiff --include-glyph-names` + +- Incluye nombres unicode en la salida: + +`ftxdiff --include-unicode-names` diff --git a/pages.es/osx/g[.md b/pages.es/osx/g[.md new file mode 100644 index 00000000000000..1ddb46d10d89c2 --- /dev/null +++ b/pages.es/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Este comando es un alias de `[`. + +- Vea la documentación para el comando original: + +`tldr [` diff --git a/pages.es/osx/gb2sum.md b/pages.es/osx/gb2sum.md new file mode 100644 index 00000000000000..253bc9f3be23cf --- /dev/null +++ b/pages.es/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Este comando es un alias de `b2sum`. + +- Vea la documentación para el comando original: + +`tldr b2sum` diff --git a/pages.es/osx/gbase32.md b/pages.es/osx/gbase32.md new file mode 100644 index 00000000000000..082bf68177981e --- /dev/null +++ b/pages.es/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Este comando es un alias de `base32`. + +- Vea la documentación para el comando original: + +`tldr base32` diff --git a/pages.es/osx/gbase64.md b/pages.es/osx/gbase64.md new file mode 100644 index 00000000000000..8327f8231950d3 --- /dev/null +++ b/pages.es/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Este comando es un alias de `base64`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.es/osx/gbasename.md b/pages.es/osx/gbasename.md new file mode 100644 index 00000000000000..12886d64be1e58 --- /dev/null +++ b/pages.es/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Este comando es un alias de `basename`. + +- Vea la documentación para el comando original: + +`tldr basename` diff --git a/pages.es/osx/gbasenc.md b/pages.es/osx/gbasenc.md new file mode 100644 index 00000000000000..46f375f203491f --- /dev/null +++ b/pages.es/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Este comando es un alias de `basenc`. + +- Vea la documentación para el comando original: + +`tldr basenc` diff --git a/pages.es/osx/gcat.md b/pages.es/osx/gcat.md new file mode 100644 index 00000000000000..73129d43f3eacf --- /dev/null +++ b/pages.es/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Este comando es un alias de GNU `cat`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.es/osx/gchcon.md b/pages.es/osx/gchcon.md new file mode 100644 index 00000000000000..5f5bae697cace2 --- /dev/null +++ b/pages.es/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Este comando es un alias de GNU `chcon`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.es/osx/gchgrp.md b/pages.es/osx/gchgrp.md new file mode 100644 index 00000000000000..b6ec74af09c0a5 --- /dev/null +++ b/pages.es/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Este comando es un alias de `chgrp`. + +- Vea la documentación para el comando original: + +`tldr chgrp` diff --git a/pages.es/osx/gchmod.md b/pages.es/osx/gchmod.md new file mode 100644 index 00000000000000..179bfb8205737f --- /dev/null +++ b/pages.es/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Este comando es un alias de `chmod`. + +- Vea la documentación para el comando original: + +`tldr chmod` diff --git a/pages.es/osx/gchown.md b/pages.es/osx/gchown.md new file mode 100644 index 00000000000000..902d841939c2ca --- /dev/null +++ b/pages.es/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Este comando es un alias de `chown`. + +- Vea la documentación para el comando original: + +`tldr chown` diff --git a/pages.es/osx/gchroot.md b/pages.es/osx/gchroot.md new file mode 100644 index 00000000000000..06c209ad2047e5 --- /dev/null +++ b/pages.es/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Este comando es un alias de `chroot`. + +- Vea la documentación para el comando original: + +`tldr chroot` diff --git a/pages.es/osx/gcksum.md b/pages.es/osx/gcksum.md new file mode 100644 index 00000000000000..610f116b519d6b --- /dev/null +++ b/pages.es/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Este comando es un alias de `cksum`. + +- Vea la documentación para el comando original: + +`tldr cksum` diff --git a/pages.es/osx/gcomm.md b/pages.es/osx/gcomm.md new file mode 100644 index 00000000000000..82b710dc7845ee --- /dev/null +++ b/pages.es/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Este comando es un alias de `comm`. + +- Vea la documentación para el comando original: + +`tldr comm` diff --git a/pages.es/osx/gcp.md b/pages.es/osx/gcp.md new file mode 100644 index 00000000000000..a8e70334bbe13a --- /dev/null +++ b/pages.es/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Este comando es un alias de `cp`. + +- Vea la documentación para el comando original: + +`tldr cp` diff --git a/pages.es/osx/gcsplit.md b/pages.es/osx/gcsplit.md new file mode 100644 index 00000000000000..7a14f63c13b116 --- /dev/null +++ b/pages.es/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Este comando es un alias de GNU `csplit`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.es/osx/gcut.md b/pages.es/osx/gcut.md new file mode 100644 index 00000000000000..f82458e5c112ad --- /dev/null +++ b/pages.es/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Este comando es un alias de `cut`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.es/osx/gdate.md b/pages.es/osx/gdate.md new file mode 100644 index 00000000000000..de78d15d78b19d --- /dev/null +++ b/pages.es/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Este comando es un alias de `date`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.es/osx/gdd.md b/pages.es/osx/gdd.md new file mode 100644 index 00000000000000..68a5f972000dbb --- /dev/null +++ b/pages.es/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Este comando es un alias de GNU `dd`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.es/osx/gdf.md b/pages.es/osx/gdf.md new file mode 100644 index 00000000000000..8045a83267c840 --- /dev/null +++ b/pages.es/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Este comando es un alias de GNU `df`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.es/osx/gdir.md b/pages.es/osx/gdir.md new file mode 100644 index 00000000000000..03a6e01571dccc --- /dev/null +++ b/pages.es/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Este comando es un alias de GNU `dir`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.es/osx/gdircolors.md b/pages.es/osx/gdircolors.md new file mode 100644 index 00000000000000..9218bbd687bc01 --- /dev/null +++ b/pages.es/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Este comando es un alias de `dircolors`. + +- Vea la documentación para el comando original: + +`tldr dircolors` diff --git a/pages.es/osx/gdirname.md b/pages.es/osx/gdirname.md new file mode 100644 index 00000000000000..b483f2407f8074 --- /dev/null +++ b/pages.es/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Este comando es un alias de `dirname`. + +- Vea la documentación para el comando original: + +`tldr dirname` diff --git a/pages.es/osx/gdnsdomainname.md b/pages.es/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..4e314901f69b82 --- /dev/null +++ b/pages.es/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Este comando es un alias de GNU `dnsdomainname`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.es/osx/gecho.md b/pages.es/osx/gecho.md new file mode 100644 index 00000000000000..8abbc706427066 --- /dev/null +++ b/pages.es/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Este comando es un alias de `echo`. + +- Vea la documentación para el comando original: + +`tldr echo` diff --git a/pages.es/osx/ged.md b/pages.es/osx/ged.md new file mode 100644 index 00000000000000..3719c5189b741f --- /dev/null +++ b/pages.es/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Este comando es un alias de `ed`. + +- Vea la documentación para el comando original: + +`tldr ed` diff --git a/pages.es/osx/gegrep.md b/pages.es/osx/gegrep.md new file mode 100644 index 00000000000000..668387dca2c02b --- /dev/null +++ b/pages.es/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Este comando es un alias de `egrep`. + +- Vea la documentación para el comando original: + +`tldr egrep` diff --git a/pages.es/osx/genv.md b/pages.es/osx/genv.md new file mode 100644 index 00000000000000..8a0051a9c78d92 --- /dev/null +++ b/pages.es/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Este comando es un alias de `env`. + +- Vea la documentación para el comando original: + +`tldr env` diff --git a/pages.es/osx/gexpand.md b/pages.es/osx/gexpand.md new file mode 100644 index 00000000000000..c1a47db3f7ed6d --- /dev/null +++ b/pages.es/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Este comando es un alias de `expand`. + +- Vea la documentación para el comando original: + +`tldr expand` diff --git a/pages.es/osx/gexpr.md b/pages.es/osx/gexpr.md new file mode 100644 index 00000000000000..ef32b52e57314d --- /dev/null +++ b/pages.es/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Este comando es un alias de `expr`. + +- Vea la documentación para el comando original: + +`tldr expr` diff --git a/pages.es/osx/gfactor.md b/pages.es/osx/gfactor.md new file mode 100644 index 00000000000000..2aadf495dde443 --- /dev/null +++ b/pages.es/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Este comando es un alias de `factor`. + +- Vea la documentación para el comando original: + +`tldr factor` diff --git a/pages.es/osx/gfalse.md b/pages.es/osx/gfalse.md new file mode 100644 index 00000000000000..c778ed31afd2d7 --- /dev/null +++ b/pages.es/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Este comando es un alias de `false`. + +- Vea la documentación para el comando original: + +`tldr false` diff --git a/pages.es/osx/gfgrep.md b/pages.es/osx/gfgrep.md new file mode 100644 index 00000000000000..bbe6499095eba7 --- /dev/null +++ b/pages.es/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Este comando es un alias de `fgrep`. + +- Vea la documentación para el comando original: + +`tldr fgrep` diff --git a/pages.es/osx/gfind.md b/pages.es/osx/gfind.md new file mode 100644 index 00000000000000..eec8476ddc85e1 --- /dev/null +++ b/pages.es/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Este comando es un alias de `find`. + +- Vea la documentación para el comando original: + +`tldr find` diff --git a/pages.es/osx/gfmt.md b/pages.es/osx/gfmt.md new file mode 100644 index 00000000000000..25a457cbaaf127 --- /dev/null +++ b/pages.es/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Este comando es un alias de `fmt`. + +- Vea la documentación para el comando original: + +`tldr fmt` diff --git a/pages.es/osx/gfold.md b/pages.es/osx/gfold.md new file mode 100644 index 00000000000000..4c17845f70598e --- /dev/null +++ b/pages.es/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Este comando es un alias de GNU `fold`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.es/osx/gftp.md b/pages.es/osx/gftp.md new file mode 100644 index 00000000000000..a05a6481e6ae7d --- /dev/null +++ b/pages.es/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Este comando es un alias de `ftp`. + +- Vea la documentación para el comando original: + +`tldr ftp` diff --git a/pages.es/osx/ggrep.md b/pages.es/osx/ggrep.md new file mode 100644 index 00000000000000..2982fa345a0840 --- /dev/null +++ b/pages.es/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Este comando es un alias de `grep`. + +- Vea la documentación para el comando original: + +`tldr grep` diff --git a/pages.es/osx/ggroups.md b/pages.es/osx/ggroups.md new file mode 100644 index 00000000000000..b96ffda29f7a0f --- /dev/null +++ b/pages.es/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Este comando es un alias de `groups`. + +- Vea la documentación para el comando original: + +`tldr groups` diff --git a/pages.es/osx/ghead.md b/pages.es/osx/ghead.md new file mode 100644 index 00000000000000..e9639f52877dbf --- /dev/null +++ b/pages.es/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Este comando es un alias de GNU `head`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.es/osx/ghostid.md b/pages.es/osx/ghostid.md new file mode 100644 index 00000000000000..33eb7ebf844f83 --- /dev/null +++ b/pages.es/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Este comando es un alias de `hostid`. + +- Vea la documentación para el comando original: + +`tldr hostid` diff --git a/pages.es/osx/ghostname.md b/pages.es/osx/ghostname.md new file mode 100644 index 00000000000000..6660696d34cb69 --- /dev/null +++ b/pages.es/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Este comando es un alias de `hostname`. + +- Vea la documentación para el comando original: + +`tldr hostname` diff --git a/pages.es/osx/gid.md b/pages.es/osx/gid.md new file mode 100644 index 00000000000000..b881988744a54f --- /dev/null +++ b/pages.es/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Este comando es un alias de `id`. + +- Vea la documentación para el comando original: + +`tldr id` diff --git a/pages.es/osx/gifconfig.md b/pages.es/osx/gifconfig.md new file mode 100644 index 00000000000000..227f80c7ea7cca --- /dev/null +++ b/pages.es/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Este comando es un alias de `ifconfig`. + +- Vea la documentación para el comando original: + +`tldr ifconfig` diff --git a/pages.es/osx/gindent.md b/pages.es/osx/gindent.md new file mode 100644 index 00000000000000..b05d43922ffd79 --- /dev/null +++ b/pages.es/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Este comando es un alias de `indent`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.es/osx/ginstall.md b/pages.es/osx/ginstall.md new file mode 100644 index 00000000000000..620c1fdbc6731a --- /dev/null +++ b/pages.es/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Este comando es un alias de `install`. + +- Vea la documentación para el comando original: + +`tldr install` diff --git a/pages.es/osx/gjoin.md b/pages.es/osx/gjoin.md new file mode 100644 index 00000000000000..edef58d1ac1e89 --- /dev/null +++ b/pages.es/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Este comando es un alias de `join`. + +- Vea la documentación para el comando original: + +`tldr join` diff --git a/pages.es/osx/gkill.md b/pages.es/osx/gkill.md new file mode 100644 index 00000000000000..4fd63dc41b7f31 --- /dev/null +++ b/pages.es/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Este comando es un alias de GNU `kill`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.es/osx/glibtool.md b/pages.es/osx/glibtool.md new file mode 100644 index 00000000000000..11d7482308947c --- /dev/null +++ b/pages.es/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Este comando es un alias de GNU `libtool`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.es/osx/glibtoolize.md b/pages.es/osx/glibtoolize.md new file mode 100644 index 00000000000000..44a6f819ea831f --- /dev/null +++ b/pages.es/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Este comando es un alias de GNU `libtoolize`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.es/osx/glink.md b/pages.es/osx/glink.md new file mode 100644 index 00000000000000..c0d9f024b68fa1 --- /dev/null +++ b/pages.es/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Este comando es un alias de `link`. + +- Vea la documentación para el comando original: + +`tldr link` diff --git a/pages.es/osx/gln.md b/pages.es/osx/gln.md new file mode 100644 index 00000000000000..8f88746f676a92 --- /dev/null +++ b/pages.es/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Este comando es un alias de `ln`. + +- Vea la documentación para el comando original: + +`tldr ln` diff --git a/pages.es/osx/glocate.md b/pages.es/osx/glocate.md new file mode 100644 index 00000000000000..805d37244798fd --- /dev/null +++ b/pages.es/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Este comando es un alias de GNU `locate`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.es/osx/glogger.md b/pages.es/osx/glogger.md new file mode 100644 index 00000000000000..28e92d38796bc6 --- /dev/null +++ b/pages.es/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Este comando es un alias de GNU `logger`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.es/osx/glogname.md b/pages.es/osx/glogname.md new file mode 100644 index 00000000000000..f994049b8688f4 --- /dev/null +++ b/pages.es/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Este comando es un alias de `logname`. + +- Vea la documentación para el comando original: + +`tldr logname` diff --git a/pages.es/osx/gls.md b/pages.es/osx/gls.md new file mode 100644 index 00000000000000..a3df73a638f00b --- /dev/null +++ b/pages.es/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Este comando es un alias de `ls`. + +- Vea la documentación para el comando original: + +`tldr ls` diff --git a/pages.es/osx/gmake.md b/pages.es/osx/gmake.md new file mode 100644 index 00000000000000..76535d26f89a06 --- /dev/null +++ b/pages.es/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Este comando es un alias de `make`. + +- Vea la documentación para el comando original: + +`tldr make` diff --git a/pages.es/osx/gmd5sum.md b/pages.es/osx/gmd5sum.md new file mode 100644 index 00000000000000..d62312afcd086e --- /dev/null +++ b/pages.es/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Este comando es un alias de `md5sum`. + +- Vea la documentación para el comando original: + +`tldr md5sum` diff --git a/pages.es/osx/gmkdir.md b/pages.es/osx/gmkdir.md new file mode 100644 index 00000000000000..83ee8c21ddaa10 --- /dev/null +++ b/pages.es/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Este comando es un alias de `mkdir`. + +- Vea la documentación para el comando original: + +`tldr mkdir` diff --git a/pages.es/osx/gmkfifo.md b/pages.es/osx/gmkfifo.md new file mode 100644 index 00000000000000..14985c6b3efcb9 --- /dev/null +++ b/pages.es/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Este comando es un alias de `mkfifo`. + +- Vea la documentación para el comando original: + +`tldr mkfifo` diff --git a/pages.es/osx/gmknod.md b/pages.es/osx/gmknod.md new file mode 100644 index 00000000000000..62c04a7a1be810 --- /dev/null +++ b/pages.es/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Este comando es un alias de GNU `mknod`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.es/osx/gmktemp.md b/pages.es/osx/gmktemp.md new file mode 100644 index 00000000000000..3e2e528e3dc41d --- /dev/null +++ b/pages.es/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Este comando es un alias de GNU `mktemp`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.es/osx/gmv.md b/pages.es/osx/gmv.md new file mode 100644 index 00000000000000..ce98cc79bb1c32 --- /dev/null +++ b/pages.es/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Este comando es un alias de `mv`. + +- Vea la documentación para el comando original: + +`tldr mv` diff --git a/pages.es/osx/gnice.md b/pages.es/osx/gnice.md new file mode 100644 index 00000000000000..b12ae2e0dc599e --- /dev/null +++ b/pages.es/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Este comando es un alias de `nice`. + +- Vea la documentación para el comando original: + +`tldr nice` diff --git a/pages.es/osx/gnl.md b/pages.es/osx/gnl.md new file mode 100644 index 00000000000000..318cb06edf9548 --- /dev/null +++ b/pages.es/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Este comando es un alias de GNU `nl`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.es/osx/gnohup.md b/pages.es/osx/gnohup.md new file mode 100644 index 00000000000000..6da3c2e7e409a8 --- /dev/null +++ b/pages.es/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Este comando es un alias de `nohup`. + +- Vea la documentación para el comando original: + +`tldr nohup` diff --git a/pages.es/osx/gnproc.md b/pages.es/osx/gnproc.md new file mode 100644 index 00000000000000..d25589c73be06c --- /dev/null +++ b/pages.es/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Este comando es un alias de `nproc`. + +- Vea la documentación para el comando original: + +`tldr nproc` diff --git a/pages.es/osx/gnumfmt.md b/pages.es/osx/gnumfmt.md new file mode 100644 index 00000000000000..70a65a818a081a --- /dev/null +++ b/pages.es/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Este comando es un alias de `numfmt`. + +- Vea la documentación para el comando original: + +`tldr numfmt` diff --git a/pages.es/osx/god.md b/pages.es/osx/god.md new file mode 100644 index 00000000000000..a077ca34f95806 --- /dev/null +++ b/pages.es/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Este comando es un alias de `od`. + +- Vea la documentación para el comando original: + +`tldr od` diff --git a/pages.es/osx/gpaste.md b/pages.es/osx/gpaste.md new file mode 100644 index 00000000000000..0f61da4b5c6570 --- /dev/null +++ b/pages.es/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Este comando es un alias de `paste`. + +- Vea la documentación para el comando original: + +`tldr paste` diff --git a/pages.es/osx/gpathchk.md b/pages.es/osx/gpathchk.md new file mode 100644 index 00000000000000..5582524d0a2a07 --- /dev/null +++ b/pages.es/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Este comando es un alias de `pathchk`. + +- Vea la documentación para el comando original: + +`tldr pathchk` diff --git a/pages.es/osx/gping.md b/pages.es/osx/gping.md new file mode 100644 index 00000000000000..ed4c20435e38c4 --- /dev/null +++ b/pages.es/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Este comando es un alias de `ping`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.es/osx/gping6.md b/pages.es/osx/gping6.md new file mode 100644 index 00000000000000..86c6fbdd94e7ea --- /dev/null +++ b/pages.es/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Este comando es un alias de `ping6`. + +- Vea la documentación para el comando original: + +`tldr ping6` diff --git a/pages.es/osx/gpinky.md b/pages.es/osx/gpinky.md new file mode 100644 index 00000000000000..354c00a2788515 --- /dev/null +++ b/pages.es/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Este comando es un alias de `pinky`. + +- Vea la documentación para el comando original: + +`tldr pinky` diff --git a/pages.es/osx/gpr.md b/pages.es/osx/gpr.md new file mode 100644 index 00000000000000..8120853e398c02 --- /dev/null +++ b/pages.es/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Este comando es un alias de `pr`. + +- Vea la documentación para el comando original: + +`tldr pr` diff --git a/pages.es/osx/gprintenv.md b/pages.es/osx/gprintenv.md new file mode 100644 index 00000000000000..ed6c7f20a61a3a --- /dev/null +++ b/pages.es/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Este comando es un alias de `printenv`. + +- Vea la documentación para el comando original: + +`tldr printenv` diff --git a/pages.es/osx/gprintf.md b/pages.es/osx/gprintf.md new file mode 100644 index 00000000000000..d7a1f4da5feef5 --- /dev/null +++ b/pages.es/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Este comando es un alias de `printf`. + +- Vea la documentación para el comando original: + +`tldr printf` diff --git a/pages.es/osx/gptx.md b/pages.es/osx/gptx.md new file mode 100644 index 00000000000000..2a4fa039d808c1 --- /dev/null +++ b/pages.es/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Este comando es un alias de GNU `ptx`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.es/osx/gpwd.md b/pages.es/osx/gpwd.md new file mode 100644 index 00000000000000..a7037d6aa225cc --- /dev/null +++ b/pages.es/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Este comando es un alias de `pwd`. + +- Vea la documentación para el comando original: + +`tldr pwd` diff --git a/pages.es/osx/grcp.md b/pages.es/osx/grcp.md new file mode 100644 index 00000000000000..927b6a1d28fdcb --- /dev/null +++ b/pages.es/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Este comando es un alias de GNU `rcp`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.es/osx/greadlink.md b/pages.es/osx/greadlink.md new file mode 100644 index 00000000000000..174e9b27a6b699 --- /dev/null +++ b/pages.es/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Este comando es un alias de `readlink`. + +- Vea la documentación para el comando original: + +`tldr readlink` diff --git a/pages.es/osx/grealpath.md b/pages.es/osx/grealpath.md new file mode 100644 index 00000000000000..6eeeeb4d88a7da --- /dev/null +++ b/pages.es/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Este comando es un alias de `realpath`. + +- Vea la documentación para el comando original: + +`tldr realpath` diff --git a/pages.es/osx/grexec.md b/pages.es/osx/grexec.md new file mode 100644 index 00000000000000..cc1aad00e21959 --- /dev/null +++ b/pages.es/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Este comando es un alias de GNU `rexec`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.es/osx/grlogin.md b/pages.es/osx/grlogin.md new file mode 100644 index 00000000000000..41984eaa7275e7 --- /dev/null +++ b/pages.es/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Este comando es un alias de GNU `rlogin`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.es/osx/grm.md b/pages.es/osx/grm.md new file mode 100644 index 00000000000000..c74c0422161f8c --- /dev/null +++ b/pages.es/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Este comando es un alias de `rm`. + +- Vea la documentación para el comando original: + +`tldr rm` diff --git a/pages.es/osx/grmdir.md b/pages.es/osx/grmdir.md new file mode 100644 index 00000000000000..232a40b4c28f6b --- /dev/null +++ b/pages.es/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Este comando es un alias de `rmdir`. + +- Vea la documentación para el comando original: + +`tldr rmdir` diff --git a/pages.es/osx/grsh.md b/pages.es/osx/grsh.md new file mode 100644 index 00000000000000..48860f06874966 --- /dev/null +++ b/pages.es/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Este comando es un alias de GNU `rsh`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.es/osx/gruncon.md b/pages.es/osx/gruncon.md new file mode 100644 index 00000000000000..73feaaa3308930 --- /dev/null +++ b/pages.es/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Este comando es un alias de GNU `runcon`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.es/osx/gsed.md b/pages.es/osx/gsed.md new file mode 100644 index 00000000000000..fe579c8a37304b --- /dev/null +++ b/pages.es/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Este comando es un alias de GNU `sed`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.es/osx/gseq.md b/pages.es/osx/gseq.md new file mode 100644 index 00000000000000..7a60c0d5b6d2be --- /dev/null +++ b/pages.es/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Este comando es un alias de `seq`. + +- Vea la documentación para el comando original: + +`tldr seq` diff --git a/pages.es/osx/gsha1sum.md b/pages.es/osx/gsha1sum.md new file mode 100644 index 00000000000000..09499c12755ca8 --- /dev/null +++ b/pages.es/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Este comando es un alias de `sha1sum`. + +- Vea la documentación para el comando original: + +`tldr sha1sum` diff --git a/pages.es/osx/gsha224sum.md b/pages.es/osx/gsha224sum.md new file mode 100644 index 00000000000000..db873679ad8796 --- /dev/null +++ b/pages.es/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Este comando es un alias de `sha224sum`. + +- Vea la documentación para el comando original: + +`tldr sha224sum` diff --git a/pages.es/osx/gsha256sum.md b/pages.es/osx/gsha256sum.md new file mode 100644 index 00000000000000..954526318f4798 --- /dev/null +++ b/pages.es/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Este comando es un alias de `sha256sum`. + +- Vea la documentación para el comando original: + +`tldr sha256sum` diff --git a/pages.es/osx/gsha384sum.md b/pages.es/osx/gsha384sum.md new file mode 100644 index 00000000000000..e46fb329b2c48d --- /dev/null +++ b/pages.es/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Este comando es un alias de `sha384sum`. + +- Vea la documentación para el comando original: + +`tldr sha384sum` diff --git a/pages.es/osx/gsha512sum.md b/pages.es/osx/gsha512sum.md new file mode 100644 index 00000000000000..1051728e12904d --- /dev/null +++ b/pages.es/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Este comando es un alias de `sha512sum`. + +- Vea la documentación para el comando original: + +`tldr sha512sum` diff --git a/pages.es/osx/gshred.md b/pages.es/osx/gshred.md new file mode 100644 index 00000000000000..a6378ba0000d53 --- /dev/null +++ b/pages.es/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Este comando es un alias de `shred`. + +- Vea la documentación para el comando original: + +`tldr shred` diff --git a/pages.es/osx/gshuf.md b/pages.es/osx/gshuf.md new file mode 100644 index 00000000000000..dcd9699f7b7932 --- /dev/null +++ b/pages.es/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Este comando es un alias de `shuf`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.es/osx/gsleep.md b/pages.es/osx/gsleep.md new file mode 100644 index 00000000000000..26674ccc21d7b3 --- /dev/null +++ b/pages.es/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Este comando es un alias de GNU `sleep`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.es/osx/gsort.md b/pages.es/osx/gsort.md new file mode 100644 index 00000000000000..83d3a74ede5f7d --- /dev/null +++ b/pages.es/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Este comando es un alias de `sort`. + +- Vea la documentación para el comando original: + +`tldr sort` diff --git a/pages.es/osx/gsplit.md b/pages.es/osx/gsplit.md new file mode 100644 index 00000000000000..99ec89ea5edeb5 --- /dev/null +++ b/pages.es/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Este comando es un alias de `split`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.es/osx/gstat.md b/pages.es/osx/gstat.md new file mode 100644 index 00000000000000..387fc5a71a2c97 --- /dev/null +++ b/pages.es/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Este comando es un alias de `stat`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.es/osx/gstdbuf.md b/pages.es/osx/gstdbuf.md new file mode 100644 index 00000000000000..be1b3cd4daf32f --- /dev/null +++ b/pages.es/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Este comando es un alias de `stdbuf`. + +- Vea la documentación para el comando original: + +`tldr stdbuf` diff --git a/pages.es/osx/gstty.md b/pages.es/osx/gstty.md new file mode 100644 index 00000000000000..b249cbb3c146f7 --- /dev/null +++ b/pages.es/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Este comando es un alias de `stty`. + +- Vea la documentación para el comando original: + +`tldr stty` diff --git a/pages.es/osx/gsum.md b/pages.es/osx/gsum.md new file mode 100644 index 00000000000000..34850bd2f5819c --- /dev/null +++ b/pages.es/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Este comando es un alias de `sum`. + +- Vea la documentación para el comando original: + +`tldr sum` diff --git a/pages.es/osx/gsync.md b/pages.es/osx/gsync.md new file mode 100644 index 00000000000000..8eb0f811593a2b --- /dev/null +++ b/pages.es/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Este comando es un alias de `sync`. + +- Vea la documentación para el comando original: + +`tldr sync` diff --git a/pages.es/osx/gtac.md b/pages.es/osx/gtac.md new file mode 100644 index 00000000000000..2955b23fafa38d --- /dev/null +++ b/pages.es/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Este comando es un alias de `tac`. + +- Vea la documentación para el comando original: + +`tldr tac` diff --git a/pages.es/osx/gtail.md b/pages.es/osx/gtail.md new file mode 100644 index 00000000000000..b80146bb41f237 --- /dev/null +++ b/pages.es/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Este comando es un alias de `tail`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.es/osx/gtalk.md b/pages.es/osx/gtalk.md new file mode 100644 index 00000000000000..c63318e9732d78 --- /dev/null +++ b/pages.es/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Este comando es un alias de GNU `talk`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.es/osx/gtar.md b/pages.es/osx/gtar.md new file mode 100644 index 00000000000000..da944aea196481 --- /dev/null +++ b/pages.es/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Este comando es un alias de `tar`. + +- Vea la documentación para el comando original: + +`tldr tar` diff --git a/pages.es/osx/gtee.md b/pages.es/osx/gtee.md new file mode 100644 index 00000000000000..3e349b2ff6975d --- /dev/null +++ b/pages.es/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Este comando es un alias de `tee`. + +- Vea la documentación para el comando original: + +`tldr tee` diff --git a/pages.es/osx/gtelnet.md b/pages.es/osx/gtelnet.md new file mode 100644 index 00000000000000..f5ca67e82030ae --- /dev/null +++ b/pages.es/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Este comando es un alias de `telnet`. + +- Vea la documentación para el comando original: + +`tldr telnet` diff --git a/pages.es/osx/gtest.md b/pages.es/osx/gtest.md new file mode 100644 index 00000000000000..48cd541fed5ed8 --- /dev/null +++ b/pages.es/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Este comando es un alias de `test`. + +- Vea la documentación para el comando original: + +`tldr test` diff --git a/pages.es/osx/gtftp.md b/pages.es/osx/gtftp.md new file mode 100644 index 00000000000000..c3dd853e239bc2 --- /dev/null +++ b/pages.es/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Este comando es un alias de GNU `tftp`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.es/osx/gtime.md b/pages.es/osx/gtime.md new file mode 100644 index 00000000000000..dddbabace89182 --- /dev/null +++ b/pages.es/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Este comando es un alias de `time`. + +- Vea la documentación para el comando original: + +`tldr time` diff --git a/pages.es/osx/gtimeout.md b/pages.es/osx/gtimeout.md new file mode 100644 index 00000000000000..4f75dbe43e760e --- /dev/null +++ b/pages.es/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Este comando es un alias de `timeout`. + +- Vea la documentación para el comando original: + +`tldr timeout` diff --git a/pages.es/osx/gtouch.md b/pages.es/osx/gtouch.md new file mode 100644 index 00000000000000..22931bdc95703e --- /dev/null +++ b/pages.es/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Este comando es un alias de `touch`. + +- Vea la documentación para el comando original: + +`tldr touch` diff --git a/pages.es/osx/gtr.md b/pages.es/osx/gtr.md new file mode 100644 index 00000000000000..38f3d21f38608d --- /dev/null +++ b/pages.es/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Este comando es un alias de `tr`. + +- Vea la documentación para el comando original: + +`tldr tr` diff --git a/pages.es/osx/gtraceroute.md b/pages.es/osx/gtraceroute.md new file mode 100644 index 00000000000000..41185be8e91a88 --- /dev/null +++ b/pages.es/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Este comando es un alias de `traceroute`. + +- Vea la documentación para el comando original: + +`tldr traceroute` diff --git a/pages.es/osx/gtrue.md b/pages.es/osx/gtrue.md new file mode 100644 index 00000000000000..b0c76daedf0a6d --- /dev/null +++ b/pages.es/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Este comando es un alias de `true`. + +- Vea la documentación para el comando original: + +`tldr true` diff --git a/pages.es/osx/gtruncate.md b/pages.es/osx/gtruncate.md new file mode 100644 index 00000000000000..eb440f1d40b7f5 --- /dev/null +++ b/pages.es/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Este comando es un alias de `truncate`. + +- Vea la documentación para el comando original: + +`tldr truncate` diff --git a/pages.es/osx/gtsort.md b/pages.es/osx/gtsort.md new file mode 100644 index 00000000000000..7c5d019c0d47f6 --- /dev/null +++ b/pages.es/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Este comando es un alias de `tsort`. + +- Vea la documentación para el comando original: + +`tldr tsort` diff --git a/pages.es/osx/gtty.md b/pages.es/osx/gtty.md new file mode 100644 index 00000000000000..8132083f763323 --- /dev/null +++ b/pages.es/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Este comando es un alias de `tty`. + +- Vea la documentación para el comando original: + +`tldr tty` diff --git a/pages.es/osx/guname.md b/pages.es/osx/guname.md new file mode 100644 index 00000000000000..b11a11ad311289 --- /dev/null +++ b/pages.es/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Este comando es un alias de `uname`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.es/osx/gunexpand.md b/pages.es/osx/gunexpand.md new file mode 100644 index 00000000000000..f106057b766e60 --- /dev/null +++ b/pages.es/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Este comando es un alias de `unexpand`. + +- Vea la documentación para el comando original: + +`tldr unexpand` diff --git a/pages.es/osx/guniq.md b/pages.es/osx/guniq.md new file mode 100644 index 00000000000000..bc7382a259ebc1 --- /dev/null +++ b/pages.es/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Este comando es un alias de `uniq`. + +- Vea la documentación para el comando original: + +`tldr uniq` diff --git a/pages.es/osx/gunits.md b/pages.es/osx/gunits.md new file mode 100644 index 00000000000000..f5dc25433ed58b --- /dev/null +++ b/pages.es/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Este comando es un alias de `units`. + +- Vea la documentación para el comando original: + +`tldr units` diff --git a/pages.es/osx/gunlink.md b/pages.es/osx/gunlink.md new file mode 100644 index 00000000000000..ae80c518d4cf10 --- /dev/null +++ b/pages.es/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Este comando es un alias de `unlink`. + +- Vea la documentación para el comando original: + +`tldr unlink` diff --git a/pages.es/osx/gupdatedb.md b/pages.es/osx/gupdatedb.md new file mode 100644 index 00000000000000..b880b5a6a89ed3 --- /dev/null +++ b/pages.es/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Este comando es un alias de GNU `updatedb`. + +- Muestra la documentación del comando original: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.es/osx/guptime.md b/pages.es/osx/guptime.md new file mode 100644 index 00000000000000..a6b751ee39daa1 --- /dev/null +++ b/pages.es/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Este comando es un alias de `uptime`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.es/osx/gusers.md b/pages.es/osx/gusers.md new file mode 100644 index 00000000000000..eae8069e8b64fb --- /dev/null +++ b/pages.es/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Este comando es un alias de `users`. + +- Vea la documentación para el comando original: + +`tldr users` diff --git a/pages.es/osx/gvdir.md b/pages.es/osx/gvdir.md new file mode 100644 index 00000000000000..37026f66ba899d --- /dev/null +++ b/pages.es/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Este comando es un alias de `vdir`. + +- Vea la documentación para el comando original: + +`tldr vdir` diff --git a/pages.es/osx/gwc.md b/pages.es/osx/gwc.md new file mode 100644 index 00000000000000..2ac61e624fc76d --- /dev/null +++ b/pages.es/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Este comando es un alias de `wc`. + +- Vea la documentación para el comando original: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.es/osx/gwhich.md b/pages.es/osx/gwhich.md new file mode 100644 index 00000000000000..97ddbbbb99f1fd --- /dev/null +++ b/pages.es/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Este comando es un alias de `which`. + +- Vea la documentación para el comando original: + +`tldr which` diff --git a/pages.es/osx/gwho.md b/pages.es/osx/gwho.md new file mode 100644 index 00000000000000..bf61fc0ddb331c --- /dev/null +++ b/pages.es/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Este comando es un alias de `who`. + +- Vea la documentación para el comando original: + +`tldr who` diff --git a/pages.es/osx/gwhoami.md b/pages.es/osx/gwhoami.md new file mode 100644 index 00000000000000..aaa89a79f38ae7 --- /dev/null +++ b/pages.es/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Este comando es un alias de `whoami`. + +- Vea la documentación para el comando original: + +`tldr whoami` diff --git a/pages.es/osx/gwhois.md b/pages.es/osx/gwhois.md new file mode 100644 index 00000000000000..996134f80cbacf --- /dev/null +++ b/pages.es/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Este comando es un alias de `whois`. + +- Vea la documentación para el comando original: + +`tldr whois` diff --git a/pages.es/osx/gxargs.md b/pages.es/osx/gxargs.md new file mode 100644 index 00000000000000..11270d1c7f7611 --- /dev/null +++ b/pages.es/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Este comando es un alias de `xargs`. + +- Vea la documentación para el comando original: + +`tldr xargs` diff --git a/pages.es/osx/gyes.md b/pages.es/osx/gyes.md new file mode 100644 index 00000000000000..d7b7a279177e6a --- /dev/null +++ b/pages.es/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Este comando es un alias de `yes`. + +- Vea la documentación para el comando original: + +`tldr yes` diff --git a/pages.es/osx/herd.md b/pages.es/osx/herd.md new file mode 100644 index 00000000000000..32ce7e49087591 --- /dev/null +++ b/pages.es/osx/herd.md @@ -0,0 +1,28 @@ +# herd + +> Un entorno de desarrollo PHP Laravel oficial para macOS. +> Más información: . + +- Inicia los servicios de Herd: + +`herd start` + +- Detiene los servicios de Herd: + +`herd stop` + +- Reinicia los servicios Herd: + +`herd restart` + +- Vincula el directorio de trabajo actual a Herd: + +`herd link` + +- Abre el sitio del directorio actual en el navegador: + +`herd open` + +- Lista todos los comandos disponibles: + +`herd list` diff --git a/pages.es/osx/hidd.md b/pages.es/osx/hidd.md new file mode 100644 index 00000000000000..d6beae759ea07e --- /dev/null +++ b/pages.es/osx/hidd.md @@ -0,0 +1,9 @@ +# hidd + +> Daemon userland de la librería HID. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`hidd` diff --git a/pages.es/osx/icalbuddy.md b/pages.es/osx/icalbuddy.md new file mode 100644 index 00000000000000..6b7c1916e46c3c --- /dev/null +++ b/pages.es/osx/icalbuddy.md @@ -0,0 +1,24 @@ +# icalBuddy + +> Utilidad de línea de comandos para imprimir eventos y tareas desde la base de datos del calendario de macOS. +> Más información: . + +- Muestra los eventos de hoy más tarde: + +`icalBuddy --includeOnlyEventsFromNowOn eventsToday` + +- Muestra tareas no completadas: + +`icalBuddy uncompletedTasks` + +- Muestra una lista formateada y discriminada de acuerdo al calendario de todos los eventos en el día de hoy: + +`icalBuddy --formatOutput --separateByCalendar eventsToday` + +- Muestra las tareas para un número determinado de días: + +`icalBuddy --includeOnlyEventsFromNowOn "tasksDueBefore:today+{{days}}"` + +- Muestra los eventos en un rango de tiempo: + +`icalBuddy eventsFrom:{{start_date}} to:{{end_date}}` diff --git a/pages.es/osx/internetsharing.md b/pages.es/osx/internetsharing.md new file mode 100644 index 00000000000000..256aeed090b7a2 --- /dev/null +++ b/pages.es/osx/internetsharing.md @@ -0,0 +1,9 @@ +# InternetSharing + +> Configura Internet Sharing. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`InternetSharing` diff --git a/pages.es/osx/iostat.md b/pages.es/osx/iostat.md new file mode 100644 index 00000000000000..cbaa768fc0ca9c --- /dev/null +++ b/pages.es/osx/iostat.md @@ -0,0 +1,32 @@ +# iostat + +> Informa las estadísticas de los dispositivos. +> Más información: . + +- Muestra estadísticas instantáneas de dispositivos (KB/t, transferencias y MB por segundo), estadísticas de CPU (porcentajes de tiempo empleado en modos usuario, sistema e inactivo) y promedios de carga del sistema (para los últimos 1, 5 y 15 min): + +`iostat` + +- Muestra solo estadísticas de dispositivos: + +`iostat -d` + +- Muestra informes incrementales de estadísticas de CPU y disco cada 2 segundos: + +`iostat 2` + +- Muestra las estadísticas del primer disco cada segundo de forma indefinida: + +`iostat -w 1 disk0` + +- Muestra las estadísticas del segundo disco cada 3 segundos, 10 veces: + +`iostat -w 3 -c 10 disk1` + +- Muestra utilizando la antigua muestra de `iostat`. Muestra los sectores transferidos por segundo, las transferencias por segundo, el promedio de milisegundos por transacción y las estadísticas de la CPU + los promedios de carga de la muestra por defecto: + +`iostat -o` + +- Muestra las estadísticas totales del dispositivo (KB/t: kilobytes por transferencia como antes, xfrs: número total de transferencias, MB: número total de megabytes transferidos): + +`iostat -I` diff --git a/pages.es/osx/java_home.md b/pages.es/osx/java_home.md new file mode 100644 index 00000000000000..b62853b97acedf --- /dev/null +++ b/pages.es/osx/java_home.md @@ -0,0 +1,24 @@ +# java_home + +> Devuelve un valor para $JAVA_HOME o ejecuta un comando usando esta variable. +> Más información: . + +- Lista JVMs basadas en una versión específica: + +`java_home --version {{1.5+}}` + +- Lista JVMs basadas en una [arch]itectura específica: + +`java_home --arch {{i386}}` + +- Lista JVMs basadas en tareas específicas (por defecto `CommandLine`): + +`java_home --datamodel {{Applets|WebStart|BundledApp|JNI|CommandLine}}` + +- Lista JVMs en formato XML: + +`java_home --xml` + +- Muestra la ayuda: + +`java_home --help` diff --git a/pages.es/osx/launchd.md b/pages.es/osx/launchd.md new file mode 100644 index 00000000000000..317dc4a72ab3dc --- /dev/null +++ b/pages.es/osx/launchd.md @@ -0,0 +1,13 @@ +# launchd + +> Gestiona procesos, tanto para el sistema como para los usuarios. +> No puedes invocar launchd manualmente, usa launchctl para interactuar con él. +> Más información: . + +- Ejecuta init: + +`/sbin/launchd` + +- Consulta la documentación para interactuar con launchd usando launchctl: + +`tldr launchctl` diff --git a/pages.es/osx/lipo.md b/pages.es/osx/lipo.md new file mode 100644 index 00000000000000..ac81bac012a768 --- /dev/null +++ b/pages.es/osx/lipo.md @@ -0,0 +1,20 @@ +# lipo + +> Herramienta para el manejo de binarios universales Mach-O. +> Más información: . + +- Crea un archivo universal a partir de dos archivos de una sola arquitectura: + +`lipo {{ruta/al/archivo/binario.x86_64}} {{ruta/al/archivo_binario.arm64e}} -create -output {{ruta/al/archivo_binario}}` + +- Lista todas las arquitecturas contenidas en un archivo universal: + +`lipo {{ruta/al/archivo_binario}} -archs` + +- Muestra información detallada sobre un archivo universal: + +`lipo {{ruta/al/archivo_binario}} -detailed_info` + +- Extrae un archivo de arquitectura única de un archivo universal: + +`lipo {{ruta/al/archivo_binario}} -thin {{arm64e}} -output {{ruta/al/archivo_binario.arm64e}}` diff --git a/pages.es/osx/lldb.md b/pages.es/osx/lldb.md new file mode 100644 index 00000000000000..3e3dc7d1ff6e26 --- /dev/null +++ b/pages.es/osx/lldb.md @@ -0,0 +1,16 @@ +# lldb + +> El depurador de bajo nivel LLVM. +> Más información: . + +- Depura un ejecutable: + +`lldb "{{ejecutable}}"` + +- Adjunta `lldb` a un proceso en ejecución con un PID dado: + +`lldb -p {{pid}}` + +- Espera a que se inicie un nuevo proceso con un nombre determinado y adjuntarlo al mismo: + +`lldb -w -n "{{nombre_proceso}}"` diff --git a/pages.es/osx/llvm-lipo.md b/pages.es/osx/llvm-lipo.md new file mode 100644 index 00000000000000..bad993d438e621 --- /dev/null +++ b/pages.es/osx/llvm-lipo.md @@ -0,0 +1,7 @@ +# llvm-lipo + +> Este comando es un alias de `lipo`. + +- Muestra la documentación del comando original: + +`tldr lipo` diff --git a/pages.es/osx/look.md b/pages.es/osx/look.md new file mode 100644 index 00000000000000..a4d48eff6c58ed --- /dev/null +++ b/pages.es/osx/look.md @@ -0,0 +1,21 @@ +# look + +> Muestra las líneas que empiezan por un prefijo en un archivo ordenado. +> Vea también: `grep`, `sort`. +> Más información: . + +- Busca líneas que comiencen con un prefijo específico en un archivo específico: + +`look {{prefijo}} {{ruta/al/archivo}}` + +- Búsqueda insensible a mayúsculas y minúsculas solo en caracteres alfanuméricos: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefijo}} {{ruta/al/archivo}}` + +- Especifica un carácter de terminación de cadena (espacio por defecto): + +`look {{[-t|--terminate]}} {{,}}` + +- Busca en `/usr/share/dict/words` (se asumen `--ignore-case` y `--alphanum`): + +`look {{prefijo}}` diff --git a/pages.es/osx/lsappinfo.md b/pages.es/osx/lsappinfo.md new file mode 100644 index 00000000000000..e2ae3ceec6e6fa --- /dev/null +++ b/pages.es/osx/lsappinfo.md @@ -0,0 +1,16 @@ +# lsappinfo + +> Controla y consulta CoreApplicationServices acerca del estado de la aplicación en el sistema. +> Más información: . + +- Lista todas las aplicaciones en ejecución con sus detalles: + +`lsappinfo list` + +- Muestra la aplicación frontal: + +`lsappinfo front` + +- Muestra la información de una aplicación específica: + +`lsappinfo info {{com.apple.calculator}}` diff --git a/pages.es/osx/m.md b/pages.es/osx/m.md new file mode 100644 index 00000000000000..640f5bd12d0927 --- /dev/null +++ b/pages.es/osx/m.md @@ -0,0 +1,24 @@ +# m + +> Navaja suiza para macOS. +> Más información: . + +- Obtén el estado de la batería: + +`m battery status` + +- Desactiva Bluetooth: + +`m bluetooth off` + +- Lista los sistemas de archivos disponibles para formatear: + +`m disk filesystems` + +- Activa la función de ocultación automática del Dock: + +`m dock autohide YES` + +- Desactiva el cortafuegos: + +`m firewall disable` diff --git a/pages.es/osx/machine.md b/pages.es/osx/machine.md new file mode 100644 index 00000000000000..56f20ea457226d --- /dev/null +++ b/pages.es/osx/machine.md @@ -0,0 +1,8 @@ +# machine + +> Imprime el tipo de máquina. +> Más información: . + +- Imprime la arquitectura de la CPU: + +`machine` diff --git a/pages.es/osx/mas.md b/pages.es/osx/mas.md new file mode 100644 index 00000000000000..3c49a16b675e0b --- /dev/null +++ b/pages.es/osx/mas.md @@ -0,0 +1,36 @@ +# mas + +> Interfaz de línea de comandos para la Mac App Store. +> Más información: . + +- Inicia sesión en la Mac App Store por primera vez: + +`mas signin "{{usuario@example.com}}"` + +- Muestra todas las aplicaciones instaladas y sus identificadores de producto: + +`mas list` + +- Busca una aplicación, mostrando el precio junto a los resultados: + +`mas search "{{aplicación}}" --price` + +- Instala o actualiza una aplicación utilizando el identificador numérico exacto: + +`mas install {{id_producto_numérico}}` + +- Instala la primera aplicación que devuelva la búsqueda correspondiente: + +`mas lucky "{{término_de_búsqueda}}"` + +- Lista todas las aplicaciones obsoletas con actualizaciones pendientes: + +`mas outdated` + +- Instala todas las actualizaciones pendientes: + +`mas upgrade` + +- Actualiza una aplicación específica: + +`mas upgrade "{{id_producto_numérico}}"` diff --git a/pages.es/osx/md5.md b/pages.es/osx/md5.md new file mode 100644 index 00000000000000..53cb0c95a225f9 --- /dev/null +++ b/pages.es/osx/md5.md @@ -0,0 +1,20 @@ +# md5 + +> Calcula sumas de comprobación criptográficas MD5. +> Más información: . + +- Calcula la suma de comprobación MD5 de un archivo: + +`md5 {{ruta/al/archivo}}` + +- Calcula sumas de comprobación MD5 para varios archivos: + +`md5 {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Obtén sólo la suma de comprobación md5 (sin nombre de archivo): + +`md5 -q {{ruta/al/archivo}}` + +- Imprime una suma de comprobación de la cadena dada: + +`md5 -s "{{cadena}}"` diff --git a/pages.es/osx/mdfind.md b/pages.es/osx/mdfind.md new file mode 100644 index 00000000000000..0775aa4668cf44 --- /dev/null +++ b/pages.es/osx/mdfind.md @@ -0,0 +1,16 @@ +# mdfind + +> Lista los archivos que coinciden con una consulta dada. +> Más información: . + +- Busca un archivo por su nombre: + +`mdfind -name {{archivo}}` + +- Busca un archivo por su contenido: + +`mdfind "{{consulta}}"` + +- Busca un archivo que contenga una cadena, en un directorio determinado: + +`mdfind -onlyin {{directorio}} "{{consulta}}"` diff --git a/pages.es/osx/mist.md b/pages.es/osx/mist.md new file mode 100644 index 00000000000000..9960f3632cbc39 --- /dev/null +++ b/pages.es/osx/mist.md @@ -0,0 +1,37 @@ +# mist + +> MIST - macOS Installer Super Tool. +> Descarga automáticamente Firmwares/Instaladores de macOS. +> Más información: . + +- Lista todos los firmwares de macOS disponibles para los Mac Silicon de Apple: + +`mist list firmware` + +- Lista todos los instaladores de macOS disponibles para Mac Intel, incluidos los instaladores universales para macOS Big Sur y versiones posteriores: + +`mist list installer` + +- Lista todos los instaladores de macOS compatibles con esta Mac, incluidos los instaladores universales de macOS Big Sur y posteriores: + +`mist list installer --compatible` + +- Lista todos los instaladores de macOS disponibles para Mac Intel, incluidas las betas tanto como también los instaladores universales para macOS Big Sur y versiones posteriores: + +`mist list installer --include-betas` + +- Lista solo el último instalador de macOS Sonoma para las Macs Intel, incluidos los instaladores universales de macOS Big Sur y posteriores: + +`mist list installer --latest "macOS Sonoma"` + +- Lista y exporta instaladores de macOS a un archivo CSV: + +`mist list installer --export "{{/ruta/a/archivo_con_datos_exportados.csv}}"` + +- Descarga el último firmware de macOS Sonoma para los Mac Silicon de Apple, con un nombre personalizado: + +`mist download firmware "macOS Sonoma" --firmware-name "{{Install %NAME% %VERSION%-%BUILD%.ipsw}}"` + +- Descarga una versión específica del instalador de macOS para Mac Intel, incluidos los instaladores universales de macOS Big Sur y posteriores: + +`mist download installer "{{13.5.2}}" application` diff --git a/pages.es/osx/mktemp.md b/pages.es/osx/mktemp.md new file mode 100644 index 00000000000000..33e4354d64b66b --- /dev/null +++ b/pages.es/osx/mktemp.md @@ -0,0 +1,24 @@ +# mktemp + +> Crea un archivo o directorio temporal. +> Más información: . + +- Crea un archivo temporal vacío e imprime su ruta absoluta: + +`mktemp` + +- Usa un directorio personalizado (por defecto la salida de `getconf DARWIN_USER_TEMP_DIR`, o `/tmp`): + +`mktemp --tmpdir {{/ruta/a/tempdir}}` + +- Usa una plantilla de ruta personalizada (las `X` se sustituyen por caracteres alfanuméricos aleatorios): + +`mktemp {{/tmp/ejemplo.XXXXXXXX}}` + +- Usa un prefijo de nombre de archivo personalizado: + +`mktemp -t {{ejemplo}}` + +- Crea un directorio temporal vacío e imprime su ruta absoluta: + +`mktemp --directory` diff --git a/pages.es/osx/mysides.md b/pages.es/osx/mysides.md new file mode 100644 index 00000000000000..fe2faed8a3111f --- /dev/null +++ b/pages.es/osx/mysides.md @@ -0,0 +1,24 @@ +# mysides + +> Añade, lista y elimina favoritos del Finder. +> Más información: . + +- Lista favoritos de la barra lateral: + +`mysides list` + +- Añade un nuevo elemento al final de los favoritos de la barra lateral: + +`mysides add {{ejemplo}} {{file:///Usuarios/Compartidos/ejemplo}}` + +- Elimina un elemento por su nombre: + +`mysides remove {{ejemplo}}` + +- Añade el directorio actual a la barra lateral: + +`mysides add $(basename $(pwd)) file:///$(pwd)` + +- Elimina el directorio actual de la barra lateral: + +`mysides remove $(basename $(pwd))` diff --git a/pages.es/osx/nettop.md b/pages.es/osx/nettop.md new file mode 100644 index 00000000000000..518b10a4b8e765 --- /dev/null +++ b/pages.es/osx/nettop.md @@ -0,0 +1,36 @@ +# nettop + +> Muestra información actualizada sobre la red. +> Más información: . + +- Monitoriza los sockets TCP y UDP de todas las interfaces: + +`nettop` + +- Monitoriza sockets TCP desde interfaces Loopback: + +`nettop -m {{tcp}} -t {{loopback}}` + +- Supervisa un proceso específico: + +`nettop -p "{{process_id|process_name}}"` + +- Muestra un resumen por proceso: + +`nettop -P` + +- Imprime 10 muestras de información de red: + +`nettop -l {{10}}` + +- Monitoriza los cambios cada 5 segundos: + +`nettop -d -s {{5}}` + +- Mientras se ejecuta nettop, lista los comandos interactivos: + +`` + +- Muestra ayuda: + +`nettop -h` diff --git a/pages.es/osx/nvram.md b/pages.es/osx/nvram.md new file mode 100644 index 00000000000000..825c5a1ffd095f --- /dev/null +++ b/pages.es/osx/nvram.md @@ -0,0 +1,28 @@ +# nvram + +> Manipula variables del firmware. +> Más información: . + +- Im[p]rime todas las variables almacenadas en la NVRAM: + +`nvram -p` + +- Im[p]rime todas las variables almacenadas en la NVRAM usando el formato [x]ML: + +`nvram -xp` + +- Modifica el valor de una variable del firmware: + +`sudo nvram {{nombre}}="{{valor}}"` + +- Elimina una variable de firmware: + +`sudo nvram -d {{nombre}}` + +- [c]larifica todas las variables de firmware: + +`sudo nvram -c` + +- Establece una variable de firmware de un [x]ML [f]ile específico: + +`sudo nvram -xf {{ruta/al/archivo.xml}}` diff --git a/pages.es/osx/open.md b/pages.es/osx/open.md new file mode 100644 index 00000000000000..7390155849c4fd --- /dev/null +++ b/pages.es/osx/open.md @@ -0,0 +1,32 @@ +# open + +> Abre archivos, directorios y aplicaciones. +> Más información: . + +- Abre un archivo con la aplicación asociada: + +`open {{archivo.ext}}` + +- Ejecuta una [a]plicación gráfica de macOS: + +`open -a "{{aplicacion}}"` + +- Ejecuta una aplicación gráfica de macOS basada en el identificador [b]undle (consulta `osascript` para obtenerlo fácilmente): + +`open -b {{com.domain.application}}` + +- Abre el directorio actual en Finder: + +`open .` + +- Abre un archivo en Finder: + +`open -R {{ruta/al/archivo}}` + +- Abre todos los archivos de una extensión determinada en el directorio actual con la aplicación asociada: + +`open {{*.ext}}` + +- Abre una [n]ueva instancia de una aplicación especificada mediante un identificador [b]undle: + +`open -n -b {{com.domain.application}}` diff --git a/pages.es/osx/opensnoop.md b/pages.es/osx/opensnoop.md new file mode 100644 index 00000000000000..9ccedf696cd725 --- /dev/null +++ b/pages.es/osx/opensnoop.md @@ -0,0 +1,20 @@ +# opensnoop + +> Herramienta que rastrea las aperturas de archivos en tu sistema. +> Más información: . + +- Imprime todos los archivos abiertos a medida que ocurren: + +`sudo opensnoop` + +- Rastrea todos los archivos abiertos por un proceso por su nombre: + +`sudo opensnoop -n "{{nombre_proceso}}"` + +- Rastrea todos los archivos abiertos por un proceso por PID: + +`sudo opensnoop -p {{PID}}` + +- Seguimiento de los procesos que abren un archivo especificado: + +`sudo opensnoop -f {{ruta/al/archivo}}` diff --git a/pages.es/osx/osascript.md b/pages.es/osx/osascript.md new file mode 100644 index 00000000000000..2f3e439d8be52d --- /dev/null +++ b/pages.es/osx/osascript.md @@ -0,0 +1,28 @@ +# osascript + +> Ejecuta AppleScript o JavaScript for Automation (JXA) desde la línea de comandos. +> Más información: . + +- Ejecuta un comando AppleScript: + +`osascript -e '{{say "Hello world"}}'` + +- Ejecuta varios comandos AppleScript: + +`osascript -e '{{say "Hello"}}' -e '{{say "world"}}'` + +- Ejecuta un archivo AppleScript compilado (`*.scpt`), empaquetado (`*.scptd`) o un archivo Applescript en texto plano (`*.applescript`): + +`osascript {{ruta/al/apple.scpt}}` + +- Obtén el identificador del paquete de una aplicación (útil para `open -b`): + +`osascript -e 'id of app "{{Application}}"'` + +- Ejecuta un comando JavaScript: + +`osascript -l JavaScript -e "{{console.log('Hola mundo');}}"` + +- Ejecuta un archivo JavaScript: + +`osascript -l JavaScript {{ruta/al/script.js}}` diff --git a/pages.es/osx/pbcopy.md b/pages.es/osx/pbcopy.md new file mode 100644 index 00000000000000..3bb890ea7d3f82 --- /dev/null +++ b/pages.es/osx/pbcopy.md @@ -0,0 +1,13 @@ +# pbcopy + +> Copia datos de `stdin` al portapapeles. +> Comparable a pulsar `` en el teclado. +> Más información: . + +- Coloca el contenido de un archivo específico en el portapapeles: + +`pbcopy < {{ruta/al/archivo}}` + +- Coloca los resultados de un comando específico en el portapapeles: + +`find . -type t -name "*.png" | pbcopy` diff --git a/pages.es/osx/pbpaste.md b/pages.es/osx/pbpaste.md new file mode 100644 index 00000000000000..d41789ede718a9 --- /dev/null +++ b/pages.es/osx/pbpaste.md @@ -0,0 +1,13 @@ +# pbpaste + +> Envía el contenido del portapapeles a la salida estándar. +> Comparable a pulsar `` en el teclado. +> Más información: . + +- Escribe el contenido del portapapeles en un archivo: + +`pbpaste > {{ruta/al/archivo}}` + +- Utiliza el contenido del portapapeles como entrada de un comando: + +`pbpaste | grep foo` diff --git a/pages.es/osx/photoanalysisd.md b/pages.es/osx/photoanalysisd.md new file mode 100644 index 00000000000000..d0b5cc312e7723 --- /dev/null +++ b/pages.es/osx/photoanalysisd.md @@ -0,0 +1,9 @@ +# photoanalysisd + +> Analiza las bibliotecas de fotos para Memorias, Personas, y búsquedas basadas en escenas u objetos. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`photoanalysisd` diff --git a/pages.es/osx/ping.md b/pages.es/osx/ping.md new file mode 100644 index 00000000000000..14671a1d9da7e8 --- /dev/null +++ b/pages.es/osx/ping.md @@ -0,0 +1,28 @@ +# ping + +> Envía paquetes ICMP ECHO_REQUEST a hosts de la red. +> Más información: . + +- Ping al host especificado: + +`ping "{{hostname}}"` + +- Ping a un host un número determinado de veces: + +`ping -c {{cuenta}} "{{host}}"` + +- Ping al host, especificando el intervalo en segundos entre peticiones (por defecto es 1 segundo): + +`ping -i {{segundos}} "{{host}}"` + +- Ping al host sin intentar buscar nombres simbólicos para las direcciones: + +`ping -n "{{host}}"` + +- Ping al host y hace sonar la campana cuando se recibe un paquete (si tu terminal lo soporta): + +`ping -a "{{host}}"` + +- Ping al host y muestra la hora en la que se ha recibido un paquete (esta opción es un añadido de Apple): + +`ping --apple-time "{{host}}"` diff --git a/pages.es/osx/plutil.md b/pages.es/osx/plutil.md new file mode 100644 index 00000000000000..a5fa5e2c562a7b --- /dev/null +++ b/pages.es/osx/plutil.md @@ -0,0 +1,24 @@ +# plutil + +> Ve, convierte, valida o edita archivos de listas de propiedades ("plist"). +> Más información: . + +- Muestra el contenido de uno o más archivos plist en un formato legible por humanos: + +`plutil -p {{archivo1.plist archivo2.plist ...}}` + +- Convierte uno o varios archivos plist a formato XML, sobrescribiendo los archivos originales: + +`plutil -convert xml1 {{archivo1.plist archivo2.plist ...}}` + +- Convierte uno o más archivos plist a formato binario, sobrescribiendo los archivos originales en su lugar: + +`plutil -convert binary1 {{archivo1.plist archivo2.plist ...}}` + +- Convierte un archivo plist a un formato diferente, escribiendo en un nuevo archivo: + +`plutil -convert {{xml1|binary1|json|swift|objc}} {{ruta/al/archivo.plist}} -o {{ruta/al/nuevo_archivo.plist}}` + +- Convierte un archivo plist a un formato diferente, escribiendo en `stdout`: + +`plutil -convert {{xml1|binary1|json|swift|objc}} {{ruta/al/archivo.plist}} -o -` diff --git a/pages.es/osx/pod.md b/pages.es/osx/pod.md new file mode 100644 index 00000000000000..21dcf06c5db1a1 --- /dev/null +++ b/pages.es/osx/pod.md @@ -0,0 +1,32 @@ +# pod + +> Gestor de dependencias para proyectos Swift y Objective-C Cocoa. +> Más información: . + +- Crea un Podfile para el proyecto actual con los contenidos por defecto: + +`pod init` + +- Descarga e instala todos los pods definidos en el Podfile (que no hayan sido instalados antes): + +`pod install` + +- Lista todos los pods disponibles: + +`pod list` + +- Muestra los pods obsoletos (de los instalados actualmente): + +`pod outdated` + +- Actualiza todos los pods instalados a su versión más reciente: + +`pod update` + +- Actualiza un pod específico (previamente instalado) a su versión más reciente: + +`pod update {{nombre_del_pod}}` + +- Elimina CocoaPods de un proyecto Xcode: + +`pod deintegrate {{proyecto_xcode}}` diff --git a/pages.es/osx/port.md b/pages.es/osx/port.md new file mode 100644 index 00000000000000..ee83ba84976002 --- /dev/null +++ b/pages.es/osx/port.md @@ -0,0 +1,28 @@ +# port + +> Gestor de paquetes para macOS. +> Más información: . + +- Busca un paquete: + +`port search {{termino_de_busqueda}}` + +- Instala un paquete: + +`sudo port install {{nombre_de_paquete}}` + +- Lista los paquetes instalados: + +`port installed` + +- Actualiza port y trae la última lista de paquetes disponibles: + +`sudo port selfupdate` + +- Actualiza los paquetes desactualizados: + +`sudo port upgrade outdated` + +- Remueve versiones antiguas de paquetes instalados: + +`sudo port uninstall inactive` diff --git a/pages.es/osx/ps.md b/pages.es/osx/ps.md new file mode 100644 index 00000000000000..3dc132e4cf217e --- /dev/null +++ b/pages.es/osx/ps.md @@ -0,0 +1,28 @@ +# ps + +> Información sobre los procesos en ejecución. +> Más información: . + +- Lista todos los procesos en ejecución: + +`ps aux` + +- Lista todos los procesos en ejecución incluyendo la cadena de comandos completa: + +`ps auxww` + +- Busca un proceso que coincida con una cadena: + +`ps aux | grep {{cadena}}` + +- Obtén el PID principal de un proceso: + +`ps -o ppid= -p {{pid}}` + +- Ordena los procesos por uso de memoria: + +`ps -m` + +- Ordena los procesos por uso de CPU: + +`ps -r` diff --git a/pages.es/osx/rargs.md b/pages.es/osx/rargs.md new file mode 100644 index 00000000000000..e2bee2b8c5548a --- /dev/null +++ b/pages.es/osx/rargs.md @@ -0,0 +1,25 @@ +# rargs + +> Ejecuta un comando por cada línea de entrada estándar. +> Similar a `xargs`, pero con soporte de coincidencia de patrones. +> Más información: . + +- Ejecuta un comando por cada línea de entrada, como `xargs` (`{0}` indica donde sustituir en el texto): + +`{{comando}} | rargs {{comando}} {0}` + +- Imprime los comandos que se ejecutarían en vez de ejecutarlos: + +`{{comando}} | rargs -e {{comando}} {0}` + +- Elimina la extensión `.bak` de todos los archivos de una lista: + +`{{comando}} | rargs -p '(.*).bak mv {0} {1}` + +- Ejecuta comandos en paralelo: + +`{{comando}} | rargs -w {{máxima_cantidad_de_procesos}}` + +- Lee líneas de entrada separadas por el caracter `NUL` (`\0`) en vez de `LF` (`\n`): + +`{{comando}} | rargs -0 {{comando}} {0}` diff --git a/pages.es/osx/reboot.md b/pages.es/osx/reboot.md new file mode 100644 index 00000000000000..0c76db92bd8bf1 --- /dev/null +++ b/pages.es/osx/reboot.md @@ -0,0 +1,12 @@ +# reboot + +> Reinicia el sistema. +> Más información: . + +- Reinicia inmediatamente: + +`sudo reboot` + +- Reinicia inmediatamente sin apagar el sistema: + +`sudo reboot -q` diff --git a/pages.es/osx/route.md b/pages.es/osx/route.md new file mode 100644 index 00000000000000..6e5bd5c1f35d17 --- /dev/null +++ b/pages.es/osx/route.md @@ -0,0 +1,29 @@ +# route + +> Manipula manualmente las tablas de enrutamiento. +> Necesita ser root. +> Más información: . + +- Añade una ruta a un destino a través de una puerta de enlace: + +`sudo route add "{{dirección_ip_destino}}" "{{dirección_puerta}}"` + +- Añade una ruta a una subred /24 a través de una puerta de enlace: + +`sudo route add "{{dirección_ip_subred}}/24" "{{dirección_puerta}}"` + +- Ejecuta en modo de prueba (no hace nada, sólo imprime): + +`sudo route -t add "{{dirección_ip_destino}}/24" "{{dirección_puerta}}"` + +- Elimina todas las rutas: + +`sudo route flush` + +- Elimina una ruta específica: + +`sudo route delete "{{dirección_ip_destino}}/24"` + +- Busca y muestra la ruta de un destino (nombre de host o dirección IP): + +`sudo route get "{{destino}}"` diff --git a/pages.es/osx/rubocop.md b/pages.es/osx/rubocop.md deleted file mode 100644 index d9515c5d84cefa..00000000000000 --- a/pages.es/osx/rubocop.md +++ /dev/null @@ -1,31 +0,0 @@ -# rubocop - -> Analiza archivos de Ruby. - -- Verifica todos los archivos en el directorio actual (incluyendo subdirectorios): - -`rubocop` - -- Verifica uno o más archivos o directorios determinados: - -`rubocop {{path/to/file}} {{path/to/directory}}` - -- Guarda la salida en un archivo: - -`rubocop --out {{path/to/file}}` - -- Muestra la lista de cops (reglas de análisis): - -`rubocop --show-cops` - -- Excluye una regla: - -`rubocop --except {{cop_1}} {{cop_2}}` - -- Ejecuta sólo determinadas reglas: - -`rubocop --only {{cop_1}} {{cop_2}}` - -- Autocorrige archivos (experimental): - -`rubocop --auto-correct` diff --git a/pages.es/osx/safeejectgpu.md b/pages.es/osx/safeejectgpu.md new file mode 100644 index 00000000000000..feafa96ddab1ba --- /dev/null +++ b/pages.es/osx/safeejectgpu.md @@ -0,0 +1,28 @@ +# SafeEjectGPU + +> Expulsa una GPU de forma segura. +> Más información: . + +- Expulsa todas las GPUs: + +`SafeEjectGPU Eject` + +- Lista todas las GPUs conectadas: + +`SafeEjectGPU gpus` + +- Lista de aplicaciones que utilizan una GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} apps` + +- Obtén el estado de una GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} status` + +- Expulsa una GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} Eject` + +- Inicia una aplicación en una GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} LaunchOnGPU {{ruta/al/App.app}}` diff --git a/pages.es/osx/say.md b/pages.es/osx/say.md new file mode 100644 index 00000000000000..62e2c4642219cf --- /dev/null +++ b/pages.es/osx/say.md @@ -0,0 +1,28 @@ +# say + +> Convierte texto a voz. +> Más información: . + +- Di una frase en voz alta: + +`say "{{Me gusta andar en mi bicicleta.}}"` + +- Lee un archivo en voz alta: + +`say --input-file {{nombre_de_archivo.txt}}` + +- Di una frase con una voz y un ritmo de voz personalizados: + +`say --voice {{voz}} --rate {{palabras_por_minuto}} "{{Lo siento David, no puedo dejarte hacer eso.}}"` + +- Lista las voces disponibles (cada voz habla en un idioma distinto): + +`say --voice "?"` + +- Di algo en polaco: + +`say --voice {{Zosia}} "{{Litwo, ojczyzno moja!}}"` + +- Crea un archivo de audio con el texto hablado: + +`say --output-file {{nombre_de_fichero.aiff}} "{{Aquí están los locos.}}"` diff --git a/pages.es/osx/scutil.md b/pages.es/osx/scutil.md new file mode 100644 index 00000000000000..ca97194d5cb308 --- /dev/null +++ b/pages.es/osx/scutil.md @@ -0,0 +1,29 @@ +# scutil + +> Gestiona los parámetros de configuración del sistema. +> Es necesario ser root para establecer la configuración. +> Más información: . + +- Muestra la configuración DNS: + +`scutil --dns` + +- Muestra la configuración del proxy: + +`scutil --proxy` + +- Obtén el nombre del equipo: + +`scutil --get ComputerName` + +- Establece el nombre del equipo: + +`sudo scutil --set ComputerName {{nombre_ordenador}}` + +- Obtén el nombre del host: + +`scutil --get HostName` + +- Establece nombre del host: + +`scutil --set HostName {{nombre_host}}` diff --git a/pages.es/osx/sed.md b/pages.es/osx/sed.md new file mode 100644 index 00000000000000..98020c5c8578e7 --- /dev/null +++ b/pages.es/osx/sed.md @@ -0,0 +1,25 @@ +# sed + +> Edita texto de manera programable. +> Vea también: `awk`, `ed`. +> Más información: . + +- Reemplaza todas las veces que aparece `apple` (regex básico) por `mango` (regex básico) en todas las líneas de entrada e imprime el resultado en `stdout`: + +`{{command}} | sed 's/apple/mango/g'` + +- Ejecuta un script [f] específico e imprime el resultado en `stdout`: + +`{{command}} | sed -f {{ruta/al/archivo_script.sed}}` + +- Sustituye todas las apariciones de `manzana` (regex extendido) por `MANZANA` (regex extendido) en todas las líneas de entrada e imprime el resultado en `stdout`: + +`{{command}} | sed -E 's/(manzana)/\U\1/g'` + +- Imprime solo la primera línea en `stdout`: + +`{{command}} | sed -n '1p'` + +- Sustituye todas las apariciones de `manzana` (regex básico) por `mango` (regex básico) en un `fichero` y guarda una copia de seguridad del original en `fichero.bak`: + +`sed -i bak 's/manzana/mango/g' {{ruta/al/archivo}}` diff --git a/pages.es/osx/shortcuts.md b/pages.es/osx/shortcuts.md new file mode 100644 index 00000000000000..47d5be47eb2317 --- /dev/null +++ b/pages.es/osx/shortcuts.md @@ -0,0 +1,20 @@ +# shortcuts + +> Gestiona los accesos directos desde la línea de comandos en lugar de la aplicación `Shortcuts`. +> Más información: . + +- Ejecuta el atajo especificado (`Contar vacaciones`): + +`shortcuts run "{{Contar vacaciones}}"` + +- Muestra todos los atajos: + +`shortcuts list` + +- Muestra todas las carpetas de accesos directos: + +`shortcuts list --folders` + +- Abre el acceso directo especificado (`Contar vacaciones`) en el editor `Shortcuts`: + +`shortcuts view "{{Contar vacaciones}}"` diff --git a/pages.es/osx/shuf.md b/pages.es/osx/shuf.md new file mode 100644 index 00000000000000..f852bc27f26aba --- /dev/null +++ b/pages.es/osx/shuf.md @@ -0,0 +1,20 @@ +# shuf + +> Genera permutaciones aleatorias. +> Más información: . + +- Ordena aleatoriamente las líneas de un fichero y muestra el resultado: + +`shuf {{nombre_archivo}}` + +- Sólo muestra las 5 primeras entradas del resultado: + +`shuf --head-count=5 {{nombre_archivo}}` + +- Escribe el resultado en otro archivo: + +`shuf {{nombre_archivo}} --output {{nombre_archivo_salida}}` + +- Genera números aleatorios en el rango 1-10: + +`shuf --input-range=1-10` diff --git a/pages.es/osx/sips.md b/pages.es/osx/sips.md new file mode 100644 index 00000000000000..e936ca3a7fa358 --- /dev/null +++ b/pages.es/osx/sips.md @@ -0,0 +1,29 @@ +# sips + +> Sistema de procesamiento de imágenes Apple Scriptable. +> Imágenes Raster/Query y Perfiles ICC ColorSync. +> Más información: . + +- Especifica un directorio de salida para que los originales no se modifiquen: + +`sips --out {{ruta/al/directorio_salida}}` + +- Remuestrea la imagen al tamaño especificado, la relación de aspecto de la imagen puede verse alterada: + +`sips --resampleHeightWidth {{1920}} {{300}} {{archivo_imagen.ext}}` + +- Remuestrea la imagen para que la altura y la anchura no superen el tamaño especificado (fíjate en la Z mayúscula): + +`sips --resampleHeightWidthMax {{1920}} {{300}} {{archivo_imagen.ext}}` + +- Remuestrea todas las imágenes de un directorio para que se ajusten a una anchura de 960px (respetando la relación de aspecto): + +`sips --resampleWidth {{960}} {{ruta/al/imágenes}}` + +- Convierte una imagen de CMYK a RGB: + +`sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{ruta/al/imagen.ext}} {{ruta/al/directorio_salida}}` + +- Elimina el perfil ICC ColorSync de una imagen: + +`sips --deleteProperty profile --deleteColorManagementProperties {{ruta/al/archivo_de_imagen.ext}}` diff --git a/pages.es/osx/sntp.md b/pages.es/osx/sntp.md new file mode 100644 index 00000000000000..39a901508b4c9e --- /dev/null +++ b/pages.es/osx/sntp.md @@ -0,0 +1,16 @@ +# sntp + +> Un cliente para Simple Network Time Protocol. +> Más información: . + +- Consulta un servidor SNTP especificado y muestra la hora: + +`sntp {{pool.ntp.org}}` + +- Sincroniza el reloj del sistema con un servidor SNTP especificado: + +`sudo sntp -S {{pool.ntp.org}}` + +- Activa el registro de depuración: + +`sntp -d {{pool.ntp.org}}` diff --git a/pages.es/osx/spctl.md b/pages.es/osx/spctl.md new file mode 100644 index 00000000000000..b8c8bcf017f219 --- /dev/null +++ b/pages.es/osx/spctl.md @@ -0,0 +1,21 @@ +# spctl + +> Gestiona el subsistema de políticas de evaluación de seguridad. +> Utilidad para gestionar Gatekeeper en macOS. +> Más información: . + +- Desactiva Gatekeeper: + +`spctl --master-disable` + +- Añade una regla para permitir la ejecución de una aplicación (el etiquetado de la regla es opcional): + +`spctl --add --label {{nombre_regla}} {{ruta/al/archivo}}` + +- Activa Gatekeeper: + +`spctl --master-enable` + +- Lista todas las reglas del sistema: + +`spctl --list` diff --git a/pages.es/osx/split.md b/pages.es/osx/split.md new file mode 100644 index 00000000000000..32c8bbff132be6 --- /dev/null +++ b/pages.es/osx/split.md @@ -0,0 +1,20 @@ +# split + +> Divide un archivo en trozos. +> Más información: . + +- Divide un archivo, cada división tiene 10 líneas (excepto la última división): + +`split -l 10 {{ruta/al/archivo}}` + +- Divide un fichero mediante una expresión regular. La línea que coincida será la primera línea del siguiente archivo de salida: + +`split -p {{cat|^[dh]og}} {{ruta/al/archivo}}` + +- Divide un archivo con 512 bytes en cada división (excepto en la última; utiliza 512k para kilobytes y 512m para megabytes): + +`split -b 512 {{ruta/al/archivo}}` + +- Divide un archivo en 5 archivos. El archivo se divide de forma que cada división tenga el mismo tamaño (excepto la última división): + +`split -n 5 {{ruta/al/archivo}}` diff --git a/pages.es/osx/sw_vers.md b/pages.es/osx/sw_vers.md new file mode 100644 index 00000000000000..bb4ac66c7f1c80 --- /dev/null +++ b/pages.es/osx/sw_vers.md @@ -0,0 +1,16 @@ +# sw_vers + +> Imprime información sobre la versión del sistema operativo macOS. +> Más información: . + +- Imprime toda la información disponible (nombre del sistema operativo, número de versión y compilación): + +`sw_vers` + +- Imprime sólo el número de versión del sistema operativo: + +`sw_vers -productVersion` + +- Imprime sólo el identificador de compilación: + +`sw_vers -buildVersion` diff --git a/pages.es/osx/systemsoundserverd.md b/pages.es/osx/systemsoundserverd.md new file mode 100644 index 00000000000000..23f7cc4d9808a1 --- /dev/null +++ b/pages.es/osx/systemsoundserverd.md @@ -0,0 +1,8 @@ +# systemsoundserverd + +> Daemon relacionado con Core Audio. +> No debe invocarse manualmente. + +- Inicia el daemon: + +`systemsoundserverd` diff --git a/pages.es/osx/tag.md b/pages.es/osx/tag.md new file mode 100644 index 00000000000000..9ff169c7663144 --- /dev/null +++ b/pages.es/osx/tag.md @@ -0,0 +1,20 @@ +# tag + +> Edita etiquetas en archivos de Mac OS X (10.9 Mavericks y superior). +> Más información: . + +- Añade etiquetas a un archivo: + +`tag --add {{nombre_etiqueta1,nombre_etiqueta2,...}} {{ruta/al/archivo}}` + +- Elimina una etiqueta: + +`tag --remove {{nombre_etiqueta}} {{ruta/al/archivo}}` + +- Elimina todas las etiquetas de un archivo: + +`tag --remove \* {{ruta/al/archivo}}` + +- Muestra todos los archivos con una etiqueta determinada: + +`tag --match {{nombre_de_la_etiqueta}}` diff --git a/pages.es/osx/tail.md b/pages.es/osx/tail.md new file mode 100644 index 00000000000000..11adfba83b957b --- /dev/null +++ b/pages.es/osx/tail.md @@ -0,0 +1,29 @@ +# tail + +> Muestra la última parte de un archivo. +> Vea también: `head`. +> Más información: . + +- Muestra las últimas líneas 'count' del archivo: + +`tail -n {{8}} {{ruta/al/archivo}}` + +- Imprime un archivo a partir de un número de línea específico: + +`tail -n +{{8}} {{ruta/al/archivo}}` + +- Imprime un recuento específico de bytes desde el final de un archivo determinado: + +`tail -c {{8}} {{ruta/al/archivo}}` + +- Imprime las últimas líneas de un archivo dado y sigue leyéndolo hasta ``: + +`tail -f {{ruta/al/archivo}}` + +- Sigue leyendo el archivo hasta ``, incluso si el archivo es inaccesible: + +`tail -F {{ruta/al/archivo}}` + +- Muestra las últimas líneas 'contadas' en 'archivo' y lo actualiza cada 'n' segundos: + +`tail -n {{8}} -s {{10}} -f {{ruta/al/archivo}}` diff --git a/pages.es/osx/tart.md b/pages.es/osx/tart.md new file mode 100644 index 00000000000000..e28e132bba2d56 --- /dev/null +++ b/pages.es/osx/tart.md @@ -0,0 +1,36 @@ +# tart + +> Crea, ejecuta y gestiona máquinas virtuales (VM) macOS y Linux en Apple Silicon. +> Más información: . + +- Extrae una imagen de VM remota: + +`tart pull {{acme.io/org/name:tag}}` + +- Clona una VM desde una fuente de imagen local o remota: + +`tart clone {{source-vm}} {{vm-name}}` + +- Crea una nueva Mac VM a partir de un archivo ipsw específico: + +`tart create --from-ipsw {{latest|path/to/file.ipsw}} {{vm-name}}` + +- Ejecuta una máquina virtual existente: + +`tart run {{vm-name}}` + +- Ejecuta una máquina virtual existente con un directorio específico montado: + +`tart run --dir {{path/to/directory}}:/{{path/to/local_directory}} {{vm-name}}` + +- Lista máquinas virtuales: + +`tart list` + +- Obtén la dirección IP de una máquina virtual en ejecución: + +`tart ip {{vm-name}}` + +- Cambia la resolución de pantalla de una máquina virtual: + +`tart set {{vm-name}} --display {{640}}x{{400}}` diff --git a/pages.es/osx/terminal-notifier.md b/pages.es/osx/terminal-notifier.md new file mode 100644 index 00000000000000..07cc8be7ac9da1 --- /dev/null +++ b/pages.es/osx/terminal-notifier.md @@ -0,0 +1,20 @@ +# terminal-notifier + +> Envía notificaciones de usuario en macOS. +> Más información: . + +- Envía una notificación (sólo se necesita el mensaje): + +`terminal-notifier -group {{tldr-info}} -title {{TLDR}} -message '{{TLDR mola}}'` + +- Muestra datos transmitidos con un sonido: + +`echo '{{Datos de mensajes transmitidos!}}' | terminal-notifier -sound {{default}}` + +- Abre una URL al hacer clic en la notificación: + +`terminal-notifier -message '{{Comprueba tus acciones de Apple!}}' -open '{{http://finance.yahoo.com/q?s=AAPL}}'` + +- Abre una aplicación al hacer clic en la notificación: + +`terminal-notifier -message '{{Importados 42 contactos.}}' -activate {{com.apple.AddressBook}}` diff --git a/pages.es/osx/textutil.md b/pages.es/osx/textutil.md new file mode 100644 index 00000000000000..7d79f690416786 --- /dev/null +++ b/pages.es/osx/textutil.md @@ -0,0 +1,24 @@ +# textutil + +> Manipula archivos de texto en varios formatos. +> Más información: . + +- Muestra información de `foo.rtf`: + +`textutil -info {{foo.rtf}}` + +- Convierte `foo.rtf` en `foo.html`: + +`textutil -convert {{html}} {{foo.rtf}}` + +- Convierte texto enriquecido a texto normal: + +`textutil {{foo.rtf}} -convert {{txt}}` + +- Convierte `foo.txt` en `foo.rtf`, usando la fuente Times con un tamaño 10: + +`textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}` + +- Carga todos los archivos RTF en el directorio actual, concatena su contenido y escribe el resultado como `index.html` con el título HTML establecido en "Varios archivos": + +`textutil -cat {{html}} -title "Varios archivos" -output {{index.html}} *.rtf` diff --git a/pages.es/osx/tmutil.md b/pages.es/osx/tmutil.md new file mode 100644 index 00000000000000..051b3c70bc1e0c --- /dev/null +++ b/pages.es/osx/tmutil.md @@ -0,0 +1,36 @@ +# tmutil + +> Utilidad para gestionar las copias de seguridad de Time Machine. La mayoría de las acciones requieren privilegios de root. +> Más información: . + +- Establece una unidad HFS+ como destino de la copia de seguridad: + +`sudo tmutil setdestination {{ruta/al/punto_montaje_disco}}` + +- Establece un recurso compartido APF o SMB como destino de la copia de seguridad: + +`sudo tmutil setdestination "{{protocolo://usuario[:contraseña]@host/compartir}}"` + +- Añade el destino indicado a la lista de destinos: + +`sudo tmutil setdestination -a {{destino}}` + +- Activa copias de seguridad automáticas: + +`sudo tmutil enable` + +- Desactiva las copias de seguridad automáticas: + +`sudo tmutil disable` + +- Inicia una copia de seguridad, si ya no se está ejecutando, y libera el control del intérprete de comandos: + +`sudo tmutil startbackup` + +- Inicia una copia de seguridad y bloquearla hasta que termine: + +`sudo tmutil startbackup -b` + +- Detiene una copia de seguridad: + +`sudo tmutil stopbackup` diff --git a/pages.es/osx/top.md b/pages.es/osx/top.md new file mode 100644 index 00000000000000..f3e5b6625aedb8 --- /dev/null +++ b/pages.es/osx/top.md @@ -0,0 +1,24 @@ +# top + +> Muestra información dinámica en tiempo real sobre los procesos en ejecución. +> Más información: . + +- Inicia top, todas las opciones están disponibles en la interfaz: + +`top` + +- Inicia top ordenando los procesos por tamaño de memoria interna (orden por defecto - ID del proceso): + +`top -o mem` + +- Inicia top ordenando los procesos primero por CPU, luego por tiempo de ejecución: + +`top -o cpu -O time` + +- Inicia top mostrando sólo los procesos que pertenecen a un usuario determinado: + +`top -user {{usuario}}` + +- Muestra información de ayuda sobre comandos interactivos: + +`` diff --git a/pages.es/osx/uname.md b/pages.es/osx/uname.md new file mode 100644 index 00000000000000..1071b2e190c5c6 --- /dev/null +++ b/pages.es/osx/uname.md @@ -0,0 +1,25 @@ +# uname + +> Imprime detalles sobre la máquina actual y el sistema operativo que se ejecuta en ella. +> Nota: para obtener información adicional sobre el sistema operativo, pruebe el comando `sw_vers`. +> Más información: . + +- Imprime el nombre del kernel: + +`uname` + +- Muestra la arquitectura del sistema y la información del procesador: + +`uname -mp` + +- Muestra el nombre, la versión y la versión del kernel: + +`uname -srv` + +- Muestra el nombre de host del sistema: + +`uname -n` + +- Muestra toda la información disponible del sistema: + +`uname -a` diff --git a/pages.es/osx/universalaccessd.md b/pages.es/osx/universalaccessd.md new file mode 100644 index 00000000000000..114c37c6383019 --- /dev/null +++ b/pages.es/osx/universalaccessd.md @@ -0,0 +1,9 @@ +# universalaccessd + +> Proporciona servicios de acceso universal. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`universalaccessd` diff --git a/pages.es/osx/uptime.md b/pages.es/osx/uptime.md new file mode 100644 index 00000000000000..09e3b22c40c2e5 --- /dev/null +++ b/pages.es/osx/uptime.md @@ -0,0 +1,8 @@ +# uptime + +> Indica cuánto tiempo lleva funcionando el sistema y otras informaciones. +> Más información: . + +- Imprime la hora actual, el tiempo de actividad, el número de usuarios conectados y otras informaciones: + +`uptime` diff --git a/pages.es/osx/usernoted.md b/pages.es/osx/usernoted.md new file mode 100644 index 00000000000000..52afdb09d9fd54 --- /dev/null +++ b/pages.es/osx/usernoted.md @@ -0,0 +1,9 @@ +# usernoted + +> Proporciona servicios de notificación. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`usernoted` diff --git a/pages.es/osx/uuidgen.md b/pages.es/osx/uuidgen.md new file mode 100644 index 00000000000000..0204ebf298fb39 --- /dev/null +++ b/pages.es/osx/uuidgen.md @@ -0,0 +1,8 @@ +# uuidgen + +> Genera nuevas cadenas UUID (Identificador único universal). +> Más información: . + +- Genera una cadena UUID: + +`uuidgen` diff --git a/pages.es/osx/valet.md b/pages.es/osx/valet.md new file mode 100644 index 00000000000000..337a8226fa3461 --- /dev/null +++ b/pages.es/osx/valet.md @@ -0,0 +1,24 @@ +# valet + +> Un entorno de desarrollo Laravel que permite alojar sitios a través de túneles locales en `http://.test`. +> Más información: . + +- Inicia el daemon valet: + +`valet start` + +- Registra el directorio de trabajo actual como ruta en la que Valet debe buscar sitios: + +`valet park` + +- Muestra las rutas 'aparcadas': + +`valet paths` + +- Sirve un único sitio en lugar de un directorio completo: + +`valet link {{nombre_aplicacion}}` + +- Comparte un proyecto a través de un túnel Ngrok: + +`valet share` diff --git a/pages.es/osx/vm_stat.md b/pages.es/osx/vm_stat.md new file mode 100644 index 00000000000000..a48f6d0f464057 --- /dev/null +++ b/pages.es/osx/vm_stat.md @@ -0,0 +1,12 @@ +# vm_stat + +> Muestra estadísticas de memoria virtual. +> Más información: . + +- Muestra estadísticas de memoria virtual: + +`vm_stat` + +- Muestra informes cada 2 segundos durante 5 veces: + +`vm_stat -c {{5}} {{2}}` diff --git a/pages.es/osx/vpnd.md b/pages.es/osx/vpnd.md new file mode 100644 index 00000000000000..ab1610142cb7a8 --- /dev/null +++ b/pages.es/osx/vpnd.md @@ -0,0 +1,29 @@ +# vpnd + +> Escucha las conexiones VPN entrantes. +> No debería ejecutar el programa manualmente. +> Más información: . + +- Inicia el daemon: + +`vpnd` + +- Ejecuta el daemon en primer plano: + +`vpnd -x` + +- Ejecuta el daemon en primer plano e imprime los registros en la terminal: + +`vpnd -d` + +- Ejecuta el daemon en primer plano, imprime los registros en la terminal y termina después de validar los argumentos: + +`vpnd -n` + +- Ejecuta el daemon para una configuración de servidor específica: + +`vpnd -i {{identificador_de_servidor}}` + +- Muestra ayuda: + +`vpnd -h` diff --git a/pages.es/osx/w.md b/pages.es/osx/w.md new file mode 100644 index 00000000000000..d0d72efa777274 --- /dev/null +++ b/pages.es/osx/w.md @@ -0,0 +1,17 @@ +# w + +> Muestra quién está conectado y qué está haciendo. +> Imprime el inicio de sesión del usuario, TTY, host remoto, tiempo de inicio de sesiòn, tiempo de inactividad, proceso actual. +> Más información: . + +- Muestra información de los usuarios conectados: + +`w` + +- Muestra información de usuarios conectados sin encabezado: + +`w -h` + +- Muestra información sobre los usuarios conectados, ordenados por su tiempo de inactividad: + +`w -i` diff --git a/pages.es/osx/wacaw.md b/pages.es/osx/wacaw.md new file mode 100644 index 00000000000000..cf244332fa8177 --- /dev/null +++ b/pages.es/osx/wacaw.md @@ -0,0 +1,24 @@ +# wacaw + +> Herramienta de línea de comandos para macOS para capturar imágenes fijas y videos desde una cámara adjunta. +> Más información: . + +- Toma una foto desde la cámara web: + +`wacaw {{filename}}` + +- Graba un video: + +`wacaw --video {{filename}} --duration {{duration_in_seconds}}` + +- Toma una foto con resolución personalizada: + +`wacaw --width {{width}} --height {{height}} {{filename}}` + +- Copia imagen recién tomada al portapapeles: + +`wacaw --to-clipboard` + +- Lista de los dispositivos disponibles: + +`wacaw --list-devices` diff --git a/pages.es/osx/warmd.md b/pages.es/osx/warmd.md new file mode 100644 index 00000000000000..616daa171322ac --- /dev/null +++ b/pages.es/osx/warmd.md @@ -0,0 +1,9 @@ +# warmd + +> Controla las cachés utilizadas durante el arranque y el inicio de sesión. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`warmd` diff --git a/pages.es/osx/watchlistd.md b/pages.es/osx/watchlistd.md new file mode 100644 index 00000000000000..76c1b427f70fd1 --- /dev/null +++ b/pages.es/osx/watchlistd.md @@ -0,0 +1,9 @@ +# watchlistd + +> Gestiona la lista de seguimiento de la aplicación Apple TV. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`watchlistd` diff --git a/pages.es/osx/wc.md b/pages.es/osx/wc.md new file mode 100644 index 00000000000000..62b952dafb0b8c --- /dev/null +++ b/pages.es/osx/wc.md @@ -0,0 +1,24 @@ +# wc + +> Cuenta líneas, palabras o bytes. +> Más información: . + +- Cuenta líneas en un archivo: + +`wc -l {{ruta/al/archivo}}` + +- Cuenta palabras en el archivo: + +`wc -w {{ruta/al/archivo}}` + +- Cuenta caracteres (bytes) en el archivo: + +`wc -c {{ruta/al/archivo}}` + +- Cuenta caracteres en el archivo (teniendo en cuenta los conjuntos de caracteres multibyte): + +`wc -m {{ruta/al/archivo}}` + +- Usa `stdin` para contar líneas, palabras y caracteres (bytes) en ese orden: + +`{{find .}} | wc` diff --git a/pages.es/osx/webinspectord.md b/pages.es/osx/webinspectord.md new file mode 100644 index 00000000000000..0d63f5b63cf62b --- /dev/null +++ b/pages.es/osx/webinspectord.md @@ -0,0 +1,9 @@ +# webinspectord + +> Transmite comandos entre Web Inspector y objetos remotos como WKWebView. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`webinspectord` diff --git a/pages.es/osx/whatis.md b/pages.es/osx/whatis.md new file mode 100644 index 00000000000000..ad725d3b82e0b0 --- /dev/null +++ b/pages.es/osx/whatis.md @@ -0,0 +1,12 @@ +# whatis + +> Herramienta que busca palabras clave en un conjunto de archivos de base de datos que contienen descripciones breves de comandos del sistema. +> Más información: . + +- Busca información sobre palabra clave: + +`whatis {{palabra_clave}}` + +- Busca información sobre varias palabras clave: + +`whatis {{palabra_clave1}} {{palabra_clave2}}` diff --git a/pages.es/osx/wifi-password.md b/pages.es/osx/wifi-password.md new file mode 100644 index 00000000000000..ca2fa64c63b19a --- /dev/null +++ b/pages.es/osx/wifi-password.md @@ -0,0 +1,16 @@ +# wifi-password + +> Obtiene la contraseña del Wi-Fi. +> Más información: . + +- Obtén la contraseña de la red Wi-Fi en la que está conectado actualmente: + +`wifi-password` + +- Obtén la contraseña para el Wi-Fi con un SSID específico: + +`wifi-password {{ssid}}` + +- Imprime solo la contraseña como salida: + +`wifi-password -q` diff --git a/pages.es/osx/wifivelocityd.md b/pages.es/osx/wifivelocityd.md new file mode 100644 index 00000000000000..9195789feeb5ab --- /dev/null +++ b/pages.es/osx/wifivelocityd.md @@ -0,0 +1,9 @@ +# wifivelocityd + +> Asistente XPC para realizar acciones de contexto de sistema para el framework WiFiVelocity. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`wifivelocityd` diff --git a/pages.es/osx/wps.md b/pages.es/osx/wps.md new file mode 100644 index 00000000000000..370d9c5e3c4950 --- /dev/null +++ b/pages.es/osx/wps.md @@ -0,0 +1,9 @@ +# wps + +> Ayuda a AirPort a conectarse a una red mediante la Configuración inalámbrica protegida. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`wps` diff --git a/pages.es/osx/wwand.md b/pages.es/osx/wwand.md new file mode 100644 index 00000000000000..ed281d75f29f3c --- /dev/null +++ b/pages.es/osx/wwand.md @@ -0,0 +1,9 @@ +# wwand + +> Daemon de configuración del dispositivo USB WWAN. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`wwand` diff --git a/pages.es/osx/xartstorageremoted.md b/pages.es/osx/xartstorageremoted.md new file mode 100644 index 00000000000000..bb49df2a64fb16 --- /dev/null +++ b/pages.es/osx/xartstorageremoted.md @@ -0,0 +1,9 @@ +# xartstorageremoted + +> El Daemon de Almacenamiento Remoto xART. Recibe las solicitudes de guardar/obtener del CoProcesador. +> No debe ser invocado manualmente. +> Más información: . + +- Inicia el daemon: + +`xartstorageremoted` diff --git a/pages.es/osx/xattr.md b/pages.es/osx/xattr.md new file mode 100644 index 00000000000000..08cb7ce4d5355d --- /dev/null +++ b/pages.es/osx/xattr.md @@ -0,0 +1,24 @@ +# xattr + +> Utilidad para trabajar con atributos extendidos del sistema de ficheros. +> Más información: . + +- Lista atributos extendidos clave:valor para un archivo dado: + +`xattr -l {{archivo}}` + +- Escribe un atributo para un archivo determinado: + +`xattr -w {{atributo_clave}} {{atributo_valor}} {{archivo}}` + +- Elimina un atributo de un archivo determinado: + +`xattr -d {{com.apple.quarantine}} {{archivo}}` + +- Elimina todos los atributos extendidos de un archivo determinado: + +`xattr -c {{archivo}}` + +- Elimina recursivamente un atributo en un directorio determinado: + +`xattr -rd {{clave_atributo}} {{directorio}}` diff --git a/pages.es/osx/xcode-select.md b/pages.es/osx/xcode-select.md new file mode 100644 index 00000000000000..f8d60be959d519 --- /dev/null +++ b/pages.es/osx/xcode-select.md @@ -0,0 +1,25 @@ +# xcode-select + +> Cambia entre diferentes versiones de Xcode y las herramientas incluidas para desarrolladores. +> También se utiliza para actualizar la ruta a Xcode si se mueve después de la instalación. +> Más información: . + +- Instala las herramientas de línea de comandos de Xcode: + +`xcode-select --install` + +- Selecciona una ruta determinada como directorio de desarrollador activo: + +`xcode-select --switch {{ruta/al/Xcode.app/Contents/Developer}}` + +- Selecciona una instancia de Xcode determinada y utiliza su directorio de desarrollador como directorio activo: + +`xcode-select --switch {{ruta/al/archivo/Xcode_file.app}}` + +- Muestra el directorio de desarrollador seleccionado: + +`xcode-select --print-path` + +- Descarta cualquier directorio de desarrolladores especificado por el usuario para que se encuentre mediante el mecanismo de búsqueda predeterminado: + +`sudo xcode-select --reset` diff --git a/pages.es/osx/xcodebuild.md b/pages.es/osx/xcodebuild.md new file mode 100644 index 00000000000000..2759b95d7fb878 --- /dev/null +++ b/pages.es/osx/xcodebuild.md @@ -0,0 +1,16 @@ +# xcodebuild + +> Construye proyectos Xcode. +> Más información: . + +- Construye espacio de trabajo: + +`xcodebuild -workspace {{nombre_del_espacio_de_trabajo.workspace}} -scheme {{nombre_scheme}} -configuration {{nombre_configuration}} clean build SYMROOT={{ruta_SYMROOT}}` + +- Construye proyecto: + +`xcodebuild -target {{nombre_target}} -configuration {{nombre_configuration}} clean build SYMROOT={{ruta_SYMROOT}}` + +- Muestra los SDKs: + +`xcodebuild -showsdks` diff --git a/pages.es/osx/xcodes-runtimes.md b/pages.es/osx/xcodes-runtimes.md new file mode 100644 index 00000000000000..a426b63db6e34a --- /dev/null +++ b/pages.es/osx/xcodes-runtimes.md @@ -0,0 +1,28 @@ +# xcodes runtimes + +> Gestiona los tiempos de ejecución de Xcode Simulator. +> Más información: . + +- Muestra todos los tiempos de ejecución del simulador disponibles: + +`xcodes runtimes --include-betas` + +- Descarga un tiempo de ejecución para el Simulator: + +`xcodes runtimes download {{nombre_del_tiempo_de_ejecución}}` + +- Descarga e instala un tiempo de ejecución para el Simulator: + +`xcodes runtimes install {{nombre_del_tiempo_de_ejecución}}` + +- Descarga/instala un tiempo de ejecución del Simulator para una versión específica de iOS/watchOS/tvOS/visionOS (debe escribirse distinguiendo entre mayúsculas y minúsculas): + +`xcodes runtimes {{download|install}} "{{iOS|watchOS|tvOS|visionOS}} {{versión_de_tiempo_de_ejecución}}"` + +- Establece una ubicación específica en la que se descargará primero el archivo de tiempo de ejecución (por defecto es `~/Downloads`): + +`xcodes runtimes {{download|install}} {{nombre_del_tiempo_de_ejecución}} --directory {{ruta/a/directorio}}` + +- No elimina el archivo descargado cuando el Simulator se instala correctamente: + +`xcodes runtimes install {{nombre_del_tiempo_de_ejecución}} --keep-archive` diff --git a/pages.es/osx/xcrun.md b/pages.es/osx/xcrun.md new file mode 100644 index 00000000000000..d51a771dc449a4 --- /dev/null +++ b/pages.es/osx/xcrun.md @@ -0,0 +1,28 @@ +# xcrun + +> Ejecuta o localiza herramientas de desarrollo y propiedades. +> Más información: . + +- Localiza y ejecuta una herramienta desde el directorio activo de desarrolladores: + +`xcrun {{herramienta}} {{argumentos}}` + +- Muestra resultados detallados: + +`xcrun {{herramienta}} {{argumentos}} --verbose` + +- Busca una herramienta para un SDK: + +`xcrun --sdk {{nombre_de_sdk}}` + +- Busca una herramienta para una cadena de herramientas: + +`xcrun --toolchain {{nombre_de_cadena}}` + +- Muestra ayuda: + +`xcrun --help` + +- Muestra la versión: + +`xcrun --version` diff --git a/pages.es/osx/xctool.md b/pages.es/osx/xctool.md new file mode 100644 index 00000000000000..f6c8fc4856c39c --- /dev/null +++ b/pages.es/osx/xctool.md @@ -0,0 +1,16 @@ +# xctool + +> Herramienta para construir proyectos Xcode. +> Más información: . + +- Construye un proyecto sin ningún espacio de trabajo: + +`xctool -project {{TuProyecto.xcodeproj}} -scheme {{SuEsquema}} build` + +- Construye un proyecto que forma parte de un espacio de trabajo: + +`xctool -workspace {{TuEspacioDeTrabajo.xcworkspace}} -scheme {{TuEsquema}} build` + +- Limpia, construye y ejecuta todas las pruebas: + +`xctool -workspace {{TuEspacioTrabajo.xcworkspace}} -scheme {{TuEsquema}} clean build test` diff --git a/pages.es/osx/xed.md b/pages.es/osx/xed.md new file mode 100644 index 00000000000000..d8c3a7a787a8f8 --- /dev/null +++ b/pages.es/osx/xed.md @@ -0,0 +1,16 @@ +# xed + +> Abre archivos para editarlos en Xcode. +> Más información: . + +- Abre archivo en Xcode: + +`xed {{archivo1}}` + +- Abre archivo(s) en Xcode, lo crea si no existe: + +`xed --create {{nombre_archivo1}}` + +- Abre un archivo en Xcode y salta a la línea número 75: + +`xed --line 75 {{nombre_archivo}}` diff --git a/pages.es/osx/xip.md b/pages.es/osx/xip.md new file mode 100644 index 00000000000000..fb684faa096a20 --- /dev/null +++ b/pages.es/osx/xip.md @@ -0,0 +1,9 @@ +# xip + +> Crea o expande archivos comprimidos en un archivo xip seguro. +> Sólo los archivos firmados por Apple son de confianza, por lo que esta herramienta no debe utilizarse para crear archivos comprimidos. +> Más información: . + +- Expande el archivo en el directorio de trabajo actual: + +`xip --expand {{ruta/al/archivo.xip}}` diff --git a/pages.es/osx/xml2man.md b/pages.es/osx/xml2man.md new file mode 100644 index 00000000000000..2509e9e1df8aa4 --- /dev/null +++ b/pages.es/osx/xml2man.md @@ -0,0 +1,16 @@ +# xml2man + +> Compila MPGL a mdoc. +> Más información: . + +- Compila un archivo MPGL a una página man visible: + +`xml2man {{ruta/al/archivo_de_comando.mxml}}` + +- Compila un archivo MPGL a un archivo de salida específico: + +`xml2man {{ruta/al/archivo_servicio.mxml}} {{ruta/al/archivo_servicio.7}}` + +- Compila un archivo MPGL a un archivo de salida específico, sobrescribiéndolo si ya existe: + +`xml2man -f {{ruta/al/archivo_funcion.mxml}} {{ruta/al/archivo_de_funcion.3}}` diff --git a/pages.es/osx/xsand.md b/pages.es/osx/xsand.md new file mode 100644 index 00000000000000..bf33661f03045d --- /dev/null +++ b/pages.es/osx/xsand.md @@ -0,0 +1,9 @@ +# xsand + +> Daemon de gestión del sistema de archivos Xsan. Proporciona servicios para el sistema de archivos Xsan. +> No debe invocarse manualmente. +> Más información: . + +- Inicia el daemon: + +`xsand` diff --git a/pages.es/osx/xsltproc.md b/pages.es/osx/xsltproc.md new file mode 100644 index 00000000000000..bef3d4fec972be --- /dev/null +++ b/pages.es/osx/xsltproc.md @@ -0,0 +1,12 @@ +# xsltproc + +> Transforma XML con XSLT para producir una salida (normalmente HTML o XML). +> Más información: . + +- Transforma un archivo XML con una hoja de estilos XSLT específica: + +`xsltproc --output {{ruta/al/archivo_salida.html}} {{ruta/al/archivo_hoja_estilo.xslt}} {{ruta/al/archivo.xml}}` + +- Pasa un valor a un parámetro de la hoja de estilos: + +`xsltproc --output {{ruta/al/archivo_salida.html}} --stringparam "{{nombre}}" "{{value}}" {{ruta/al/archivo_hoja_estilo.xslt}} {{ruta/al/archivo_xml.xml}}` diff --git a/pages.es/osx/yaa.md b/pages.es/osx/yaa.md new file mode 100644 index 00000000000000..cd95db55b4bfdd --- /dev/null +++ b/pages.es/osx/yaa.md @@ -0,0 +1,28 @@ +# yaa + +> Crea y manipula archivos YAA. +> Más información: . + +- Crea un archivo a partir de un directorio: + +`yaa archive -d {{ruta/al/directorio}} -o {{ruta/al/archivo_de_salida.yaa}}` + +- Crea un archivo a partir de un fichero: + +`yaa archive -i {{ruta/al/archivo}} -o {{ruta/al/archivo_de_salida.yaa}}` + +- Extrae un archivo al directorio actual: + +`yaa extract -i {{ruta/al/archivo.yaa}}` + +- Lista el contenido de un archivo: + +`yaa list -i {{ruta/al/archivo.yaa}}` + +- Crea un archivo con un algoritmo de compresión específico: + +`yaa archive -a {{algorithm}} -d {{ruta/al/directorio}} -o {{ruta/al/archivo_de_salida.yaa}}` + +- Crea un archivo con un tamaño de bloque de 8 MB: + +`yaa archive -b 8m -d {{ruta/al/directorio}} -o {{ruta/al/archivo_de_salida.yaa}}` diff --git a/pages.es/osx/yabai.md b/pages.es/osx/yabai.md new file mode 100644 index 00000000000000..44952eb1c4379e --- /dev/null +++ b/pages.es/osx/yabai.md @@ -0,0 +1,24 @@ +# yabai + +> Un administrador de ventanas en mosaico para macOS basado en la partición de espacio binario. +> Más información: . + +- Establece la disposición a bsp: + +`yabai -m config layout {{bsp}}` + +- Establece el espacio de la ventana en 10pt: + +`yabai -m config window_gap {{10}}` + +- Habilita opacidad: + +`yabai -m config window_opacity on` + +- Deshabilita la sombra de la ventana: + +`yabai -m config window_shadow off` + +- Habilita la barra de estado: + +`yabai -m config status_bar on` diff --git a/pages.es/sunos/share.md b/pages.es/sunos/share.md new file mode 100644 index 00000000000000..e8f45aa4c60ab4 --- /dev/null +++ b/pages.es/sunos/share.md @@ -0,0 +1,24 @@ +# share + +> Hace que el recurso/sistema de archivos local esté disponible para ser montado por sistemas remotos. +> Más información: . + +- Lista todos los sistemas de archivos compartidos actualmente: + +`share` + +- Comparte un directorio con acceso de lectura/escritura: + +`share -F nfs -o rw {{/ruta/al/directorio}}` + +- Comparte un directorio con acceso de solo lectura: + +`share -F nfs -o ro {{/ruta/al/directorio}}` + +- Comparte un directorio con opciones específicas (por ejemplo, permitir el acceso root desde un host concreto): + +`share -F nfs -o rw,root={{nombre_del_host}} {{/ruta/al/directorio}}` + +- Hace que la compartición sea persistente añadiendo entradas a `/etc/dfs/dfstab`: + +`echo "share -F nfs -o rw {{/ruta/al/directorio}}" >> /etc/dfs/dfstab` diff --git a/pages.es/windows/add-appxpackage.md b/pages.es/windows/add-appxpackage.md new file mode 100644 index 00000000000000..7b7f33981c6034 --- /dev/null +++ b/pages.es/windows/add-appxpackage.md @@ -0,0 +1,20 @@ +# Add-AppxPackage + +> Una utilidad de PowerShell para agregar un paquete de aplicación firmado (`.appx`, `.msix`, `.appxbundle` y `.msixbundle`) a una cuenta de usuario. +> Más información: . + +- Agrega un paquete de aplicación: + +`Add-AppxPackage -Path {{ruta\al\paquete.msix}}` + +- Agrega un paquete de aplicación con dependencias: + +`Add-AppxPackage -Path {{ruta\al\paquete.msix}} -DependencyPath {{ruta\a\dependencias.msix}}` + +- Instala una aplicación utilizando el archivo del instalador de la aplicación: + +`Add-AppxPackage -AppInstallerFile {{ruta\al\app.appinstaller}}` + +- Agrega un paquete no firmado: + +`Add-AppxPackage -Path {{ruta\al\paquete.msix}} -DependencyPath {{ruta\a\dependencias.msix}} -AllowUnsigned` diff --git a/pages.es/windows/assoc.md b/pages.es/windows/assoc.md new file mode 100644 index 00000000000000..09b43a784f27db --- /dev/null +++ b/pages.es/windows/assoc.md @@ -0,0 +1,20 @@ +# assoc + +> Muestra o cambia las asociaciones entre extensiones de archivo y tipos de archivo. +> Más información: . + +- Lista todas las asociaciones entre extensiones de archivo y tipos de archivo: + +`assoc` + +- Muestra el tipo de archivo asociado para una extensión específica: + +`assoc {{.txt}}` + +- Establece el tipo de archivo asociado para una extensión específica: + +`assoc .{{txt}}={{archivotxt}}` + +- Visualiza la salida de `assoc` una pantalla a la vez: + +`assoc | {{extra}}` diff --git a/pages.es/windows/attrib.md b/pages.es/windows/attrib.md new file mode 100644 index 00000000000000..fcc4c9ecc6efd7 --- /dev/null +++ b/pages.es/windows/attrib.md @@ -0,0 +1,28 @@ +# attrib + +> Muestra o cambia los atributos de archivos o directorios. +> Más información: . + +- Muestra todos los atributos establecidos de los archivos en el directorio actual: + +`attrib` + +- Muestra todos los atributos establecidos de los archivos en un directorio específico: + +`attrib {{ruta\al\directorio}}` + +- Muestra todos los atributos establecidos de archivos y [d]irectorios en el directorio actual: + +`attrib /d` + +- Muestra todos los atributos establecidos de los archivos en el directorio actual y [s]ubdirectorios: + +`attrib /s` + +- Agrega el atributo `solo-lectu[r]a` o `[a]rchivo` o `[s]istema` o `oculto[h]` o `contenido no [i]ndexado` a archivos o directorios: + +`attrib +{{r|a|s|h|i}} {{ruta\al\archivo_o_directorio1 ruta\al\archivo_o_directorio2 ...}}` + +- Elimina un atributo específico de archivos o directorios: + +`attrib -{{r|a|s|h|i}} {{ruta\al\archivo_o_directorio1 ruta\al\archivo_o_directorio2 ...}}` diff --git a/pages.es/windows/azcopy.md b/pages.es/windows/azcopy.md new file mode 100644 index 00000000000000..667e1ce32b102c --- /dev/null +++ b/pages.es/windows/azcopy.md @@ -0,0 +1,28 @@ +# azcopy + +> Una herramienta de transferencia de archivos para subir a cuentas de almacenamiento en la nube de Azure. +> Más información: . + +- Inicia sesión en un inquilino de Azure: + +`azcopy login` + +- Sube un archivo local: + +`azcopy copy '{{ruta\al\archivo_origen}}' 'https://{{nombre_cuenta_almacenamiento}}.blob.core.windows.net/{{nombre_contenedor}}/{{nombre_blob}}'` + +- Sube archivos con extensiones `.txt` y `.jpg`: + +`azcopy copy '{{ruta\al\directorio_origen}}' 'https://{{nombre_cuenta_almacenamiento}}.blob.core.windows.net/{{nombre_contenedor}}' --include-pattern '{{*.txt;*.jpg}}'` + +- Copia un contenedor directamente entre dos cuentas de almacenamiento de Azure: + +`azcopy copy 'https://{{nombre_cuenta_almacenamiento_origen}}.blob.core.windows.net/{{nombre_contenedor}}' 'https://{{nombre_cuenta_almacenamiento_destino}}.blob.core.windows.net/{{nombre_contenedor}}'` + +- Sincroniza un directorio local y elimina archivos en el destino si ya no existen en el origen: + +`azcopy sync '{{ruta\al\directorio_origen}}' 'https://{{nombre_cuenta_almacenamiento}}.blob.core.windows.net/{{nombre_contenedor}}' --recursive --delete-destination=true` + +- Muestra ayuda: + +`azcopy --help` diff --git a/pages.es/windows/bcdboot.md b/pages.es/windows/bcdboot.md new file mode 100644 index 00000000000000..02bc8bde44aa43 --- /dev/null +++ b/pages.es/windows/bcdboot.md @@ -0,0 +1,24 @@ +# bcdboot + +> Configura o repara archivos de arranque. +> Más información: . + +- Inicializa la partición del sistema utilizando archivos BCD de la carpeta de Windows de origen: + +`bcdboot {{C:\Windows}}` + +- Habilita el modo [v]erboso: + +`bcdboot {{C:\Windows}} /v` + +- Especificar la letra de volumen de la partición [s]istema: + +`bcdboot {{C:\Windows}} /s {{S:}}` + +- Especifica un idioma [l]ocal: + +`bcdboot {{C:\Windows}} /l {{es-es}}` + +- Especifica un tipo de [f]irmware al copiar los archivos de arranque a un volumen especificado: + +`bcdboot {{C:\Windows}} /s {{S:}} /f {{UEFI|BIOS|ALL}}` diff --git a/pages.es/windows/bleachbit.md b/pages.es/windows/bleachbit.md new file mode 100644 index 00000000000000..fa8f2f4f31b2a8 --- /dev/null +++ b/pages.es/windows/bleachbit.md @@ -0,0 +1,7 @@ +# bleachbit + +> Este comando es un alias de `bleachbit_console`. + +- Vea la documentación para el comando original: + +`tldr bleachbit_console` diff --git a/pages.es/windows/bleachbit_console.md b/pages.es/windows/bleachbit_console.md new file mode 100644 index 00000000000000..afe79bf3882353 --- /dev/null +++ b/pages.es/windows/bleachbit_console.md @@ -0,0 +1,24 @@ +# bleachbit_console + +> Limpia archivos basura en el sistema de archivos. +> Más información: . + +- Inicia la versión de interfaz gráfica de usuario (GUI) de Bleachbit: + +`bleachbit_console.exe --gui` + +- Destruye un archivo: + +`bleachbit_console.exe --shred {{ruta/al/archivo}}` + +- Lista las opciones de limpieza disponibles: + +`bleachbit_console.exe --list-cleaners` + +- Previsualiza los archivos que se eliminarán y otros cambios que se realizarán antes de llevar a cabo la operación de limpieza: + +`bleachbit_console.exe --preview {{--preset|cleaner1.opción1 cleaner2.* ...}}` + +- Realiza la operación de limpieza y eliminar archivos: + +`bleachbit_console.exe --clean {{--preset|cleaner1.opción1 cleaner2.* ...}}` diff --git a/pages.es/windows/cd.md b/pages.es/windows/cd.md new file mode 100644 index 00000000000000..fe15f32d7a1a82 --- /dev/null +++ b/pages.es/windows/cd.md @@ -0,0 +1,33 @@ +# cd + +> Muestra el directorio de trabajo actual o se desplaza a un directorio diferente. +> En PowerShell, este comando es un alias de `Set-Location`. Esta documentación está basada en la versión del símbolo del sistema (`cmd`) de `cd`. +> Más información: . + +- Muestra la documentación del comando PowerShell equivalente: + +`tldr set-location` + +- Muestra la ruta del directorio actual: + +`cd` + +- Va a un directorio específico en la misma unidad: + +`cd {{ruta\al\directorio}}` + +- Va a un directorio específico en una uni[d]ad diferente: + +`cd /d {{C}}:{{ruta\al\directorio}}` + +- Sube al directorio padre del directorio actual: + +`cd ..` + +- Va al directorio principal del usuario actual: + +`cd %userprofile%` + +- Va a la raíz de la unidad actual: + +`cd \` diff --git a/pages.es/windows/certutil.md b/pages.es/windows/certutil.md new file mode 100644 index 00000000000000..5e4bd9d8e6ec58 --- /dev/null +++ b/pages.es/windows/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> Una herramienta para gestionar y configurar información de certificados. +> Más información: . + +- Exporta la información de configuración o archivos: + +`certutil {{nombre_de_archivo}}` + +- Encripta un archivo en hexadecimal: + +`certutil -encodehex {{ruta\al\archivo_entrada}} {{ruta\al\archivo_salida}}` + +- Encripta un archivo a Base64: + +`certutil -encode {{ruta\al\archivo_entrada}} {{ruta\al\archivo_salida}}` + +- Decodifica un archivo codificado en Base64: + +`certutil -decode {{ruta\al\archivo_entrada}} {{ruta\al\archivo_salida}}` + +- Genera y muestra un hash criptográfico sobre un archivo: + +`certutil -hashfile {{ruta\al\archivo_entrada}} {{md2|md4|md5|sha1|sha256|sha384|sha512}}` diff --git a/pages.es/windows/chdir.md b/pages.es/windows/chdir.md new file mode 100644 index 00000000000000..c74a020007a0f6 --- /dev/null +++ b/pages.es/windows/chdir.md @@ -0,0 +1,12 @@ +# chdir + +> Este comando es un alias de `cd` en la línea de comandos del sistema, y subsecuentemente `Set-Location` en PowerShell. +> Más información: . + +- Muestra la documentación original de la línea de comandos del sistema: + +`tldr cd` + +- Muestra la documentación original del comando de PowerShell: + +`tldr set-location` diff --git a/pages.es/windows/chkdsk.md b/pages.es/windows/chkdsk.md new file mode 100644 index 00000000000000..92a4bb44763a33 --- /dev/null +++ b/pages.es/windows/chkdsk.md @@ -0,0 +1,20 @@ +# chkdsk + +> Verifica el sistema de archivos y los metadatos del volumen en busca de errores. +> Más información: . + +- Especificar la letra de la unidad (seguida de dos puntos), el punto de montaje o el nombre del volumen a verificar: + +`chkdsk {{volumen}}` + +- Corregir errores en un volumen específico: + +`chkdsk {{volumen}} /f` + +- Desmontar un volumen específico antes de verificar: + +`chkdsk {{volumen}} /x` + +- Cambiar el tamaño del archivo de registro al tamaño especificado (solo para NTFS): + +`chkdsk /l{{tamaño}}` diff --git a/pages.es/windows/choco-apikey.md b/pages.es/windows/choco-apikey.md new file mode 100644 index 00000000000000..5eab9870ffaf79 --- /dev/null +++ b/pages.es/windows/choco-apikey.md @@ -0,0 +1,20 @@ +# choco apikey + +> Gestiona claves API para fuentes de Chocolatey. +> Más información: . + +- Mostrar una lista de fuentes y sus claves API: + +`choco apikey` + +- Mostrar una fuente específica y su clave API: + +`choco apikey --source "{{url_fuente}}"` + +- Establecer una clave API para una fuente: + +`choco apikey --source "{{url_fuente}}" --key "{{clave_api}}"` + +- Eliminar una clave API para una fuente: + +`choco apikey --source "{{url_fuente}}" --remove` diff --git a/pages.es/windows/choco-feature.md b/pages.es/windows/choco-feature.md new file mode 100644 index 00000000000000..e4cc9c7f0a408e --- /dev/null +++ b/pages.es/windows/choco-feature.md @@ -0,0 +1,16 @@ +# choco feature + +> Interactúa con características de Chocolatey. +> Más información: . + +- Mostrar una lista de características disponibles: + +`choco feature list` + +- Habilitar una característica: + +`choco feature enable --name {{nombre}}` + +- Deshabilitar una característica: + +`choco feature disable --name {{nombre}}` diff --git a/pages.es/windows/choco-info.md b/pages.es/windows/choco-info.md new file mode 100644 index 00000000000000..6b92339e4b2a60 --- /dev/null +++ b/pages.es/windows/choco-info.md @@ -0,0 +1,20 @@ +# choco info + +> Muestra información detallada sobre un paquete con Chocolatey. +> Más información: . + +- Mostrar información sobre un paquete específico: + +`choco info {{paquete}}` + +- Mostrar información solo para un paquete local: + +`choco info {{paquete}} --local-only` + +- Especificar una fuente personalizada para recibir información sobre paquetes: + +`choco info {{paquete}} --source {{url_fuente|alias}}` + +- Proporcionar un nombre de usuario y una contraseña para la autenticación: + +`choco info {{paquete}} --user {{nombre_usuario}} --password {{contraseña}}` diff --git a/pages.es/windows/choco-install.md b/pages.es/windows/choco-install.md new file mode 100644 index 00000000000000..0ddbcfccdd9931 --- /dev/null +++ b/pages.es/windows/choco-install.md @@ -0,0 +1,36 @@ +# choco install + +> Instala uno o más paquetes con Chocolatey. +> Más información: . + +- Instala uno o más paquetes: + +`choco install {{paquete1 paquete2 ...}}` + +- Instala paquetes desde un archivo de configuración personalizado: + +`choco install {{ruta\al\archivo_de_paquetes.config}}` + +- Instala un archivo `nuspec` o `nupkg` específico: + +`choco install {{path\to\file}}` + +- Instala una versión específica de un paquete: + +`choco install {{paquete}} --version {{versión}}` + +- Permite instalar varias versiones de un paquete: + +`choco install {{paquete}} --allow-multiple` + +- Confirma todas las solicitudes automáticamente: + +`choco install {{paquete}} --yes` + +- Especifica una fuente personalizada desde la cual recibir los paquetes: + +`choco install {{paquete}} --source {{url_fuente|alias}}` + +- Proporciona un nombre de usuario y una contraseña para la autenticación: + +`choco install {{paquete}} --user {{nombre_usuario}} --password {{contraseña}}` diff --git a/pages.es/windows/choco-list.md b/pages.es/windows/choco-list.md new file mode 100644 index 00000000000000..c96d40f5125ad5 --- /dev/null +++ b/pages.es/windows/choco-list.md @@ -0,0 +1,28 @@ +# choco list + +> Muestra una lista de paquetes con Chocolatey. +> Más información: . + +- Mostrar todos los paquetes disponibles: + +`choco list` + +- Mostrar todos los paquetes instalados localmente: + +`choco list --local-only` + +- Mostrar una lista que incluya programas locales: + +`choco list --include-programs` + +- Mostrar solo paquetes aprobados: + +`choco list --approved-only` + +- Especificar una fuente personalizada para mostrar paquetes: + +`choco list --source {{url_fuente|alias}}` + +- Proporcionar un nombre de usuario y una contraseña para la autenticación: + +`choco list --user {{nombre_usuario}} --password {{contraseña}}` diff --git a/pages.es/windows/choco-new.md b/pages.es/windows/choco-new.md new file mode 100644 index 00000000000000..3ea36af7bbd657 --- /dev/null +++ b/pages.es/windows/choco-new.md @@ -0,0 +1,24 @@ +# choco new + +> Genera nuevos archivos de especificación de paquetes con Chocolatey. +> Más información: . + +- Crear una nueva estructura de paquete: + +`choco new {{paquete}}` + +- Crear un nuevo paquete con una versión específica: + +`choco new {{paquete}} --version {{versión}}` + +- Crear un nuevo paquete con un nombre de mantenedor específico: + +`choco new {{paquete}} --maintainer {{nombre_mantenedor}}` + +- Crear un nuevo paquete en un directorio de salida personalizado: + +`choco new {{paquete}} --output-directory {{ruta/al/directorio}}` + +- Crear un nuevo paquete con URLs de instalador específicas para 32 bits y 64 bits: + +`choco new {{paquete}} url="{{url}}" url64="{{url}}"` diff --git a/pages.es/windows/choco-outdated.md b/pages.es/windows/choco-outdated.md new file mode 100644 index 00000000000000..4c83c350b84019 --- /dev/null +++ b/pages.es/windows/choco-outdated.md @@ -0,0 +1,20 @@ +# choco outdated + +> Comprueba paquetes desactualizados con Chocolatey. +> Más información: . + +- Mostrar una lista de paquetes desactualizados en formato de tabla: + +`choco outdated` + +- Ignorar paquetes fijados en la salida: + +`choco outdated --ignore-pinned` + +- Especificar una fuente personalizada para comprobar paquetes: + +`choco outdated --source {{url_fuente|alias}}` + +- Proporcionar un nombre de usuario y una contraseña para la autenticación: + +`choco outdated --user {{nombre_usuario}} --password {{contraseña}}` diff --git a/pages.es/windows/choco-pack.md b/pages.es/windows/choco-pack.md new file mode 100644 index 00000000000000..d8e64196febef0 --- /dev/null +++ b/pages.es/windows/choco-pack.md @@ -0,0 +1,16 @@ +# choco pack + +> Empaqueta una especificación de NuGet en un archivo `nupkg`. +> Más información: . + +- Empaquetar una especificación de NuGet en un archivo `nupkg`: + +`choco pack {{ruta\al\archivo_especificacion}}` + +- Empaquetar una especificación de NuGet especificando la versión del archivo resultante: + +`choco pack {{ruta\al\archivo_especificacion}} --version {{versión}}` + +- Empaquetar una especificación de NuGet en un directorio específico: + +`choco pack {{ruta\al\archivo_especificacion}} --output-directory {{ruta\al\directorio_salida}}` diff --git a/pages.es/windows/choco-pin.md b/pages.es/windows/choco-pin.md new file mode 100644 index 00000000000000..c38116515353d2 --- /dev/null +++ b/pages.es/windows/choco-pin.md @@ -0,0 +1,21 @@ +# choco pin + +> Fija un paquete en la versión escogida con Chocolatey. +> Los paquetes fijados se omiten automáticamente al actualizar. +> Más información: . + +- Mostrar una lista de paquetes fijados y sus versiones: + +`choco pin list` + +- Fijar un paquete en su versión actual: + +`choco pin add --name {{paquete}}` + +- Fijar un paquete en una versión específica: + +`choco pin add --name {{paquete}} --version {{versión}}` + +- Eliminar un pin para un paquete específico: + +`choco pin remove --name {{paquete}}` diff --git a/pages.es/windows/choco-push.md b/pages.es/windows/choco-push.md new file mode 100644 index 00000000000000..8c6856f67e8628 --- /dev/null +++ b/pages.es/windows/choco-push.md @@ -0,0 +1,12 @@ +# choco push + +> Sube un paquete NuGet compilado (`nupkg`) a un feed de paquetes. +> Más información: . + +- Sube un `nupkg` compilado al feed especificado: + +`choco push --source {{https://push.chocolatey.org/}}` + +- Sube un `nupkg` compilado al feed especificado con un tiempo de espera en segundos (el valor predeterminado es 2700): + +`choco push --source {{https://push.chocolatey.org/}} --execution-timeout {{500}}` diff --git a/pages.es/windows/choco-search.md b/pages.es/windows/choco-search.md new file mode 100644 index 00000000000000..c4487cb688eb0f --- /dev/null +++ b/pages.es/windows/choco-search.md @@ -0,0 +1,28 @@ +# choco search + +> Busca un paquete local o remoto con Chocolatey. +> Más información: . + +- Buscar un paquete: + +`choco search {{consulta}}` + +- Buscar un paquete localmente: + +`choco search {{consulta}} --local-only` + +- Incluir solo coincidencias exactas en los resultados: + +`choco search {{consulta}} --exact` + +- Confirmar automáticamente todos los mensajes: + +`choco search {{consulta}} --yes` + +- Especificar una fuente personalizada para buscar paquetes: + +`choco search {{consulta}} --source {{url_fuente|alias}}` + +- Proporcionar un nombre de usuario y una contraseña para la autenticación: + +`choco search {{consulta}} --user {{nombre_usuario}} --password {{contraseña}}` diff --git a/pages.es/windows/choco-source.md b/pages.es/windows/choco-source.md new file mode 100644 index 00000000000000..fe430aaba8f4e5 --- /dev/null +++ b/pages.es/windows/choco-source.md @@ -0,0 +1,32 @@ +# choco source + +> Gestiona fuentes para paquetes con Chocolatey. +> Más información: . + +- Listar las fuentes actualmente disponibles: + +`choco source list` + +- Agregar una nueva fuente de paquete: + +`choco source add --name {{nombre}} --source {{url}}` + +- Agregar una nueva fuente de paquete con credenciales: + +`choco source add --name {{nombre}} --source {{url}} --user {{nombre_usuario}} --password {{contraseña}}` + +- Agregar una nueva fuente de paquete con un certificado de cliente: + +`choco source add --name {{nombre}} --source {{url}} --cert {{ruta\al\archivo_certificado}}` + +- Habilitar una fuente de paquete: + +`choco source enable --name {{nombre}}` + +- Deshabilitar una fuente de paquete: + +`choco source disable --name {{nombre}}` + +- Eliminar una fuente de paquete: + +`choco source remove --name {{nombre}}` diff --git a/pages.es/windows/choco-uninstall.md b/pages.es/windows/choco-uninstall.md new file mode 100644 index 00000000000000..ae6db16e89014a --- /dev/null +++ b/pages.es/windows/choco-uninstall.md @@ -0,0 +1,24 @@ +# choco uninstall + +> Desinstala paquetes con Chocolatey. +> Más información: . + +- Desinstalar uno o más paquetes: + +`choco uninstall {{paquete1 paquete2 ...}}` + +- Desinstalar una versión específica de un paquete: + +`choco uninstall {{paquete}} --version {{versión}}` + +- Confirmar automáticamente todos los mensajes: + +`choco uninstall {{paquete}} --yes` + +- Eliminar todas las dependencias al desinstalar: + +`choco uninstall {{paquete}} --remove-dependencies` + +- Desinstalar todos los paquetes: + +`choco uninstall all` diff --git a/pages.es/windows/choco-upgrade.md b/pages.es/windows/choco-upgrade.md new file mode 100644 index 00000000000000..85ffa4f84f98c6 --- /dev/null +++ b/pages.es/windows/choco-upgrade.md @@ -0,0 +1,32 @@ +# choco upgrade + +> Actualiza uno o más paquetes con Chocolatey. +> Más información: . + +- Actualizar uno o más paquetes: + +`choco upgrade {{paquete1 paquete2 ...}}` + +- Actualizar a una versión específica de un paquete: + +`choco upgrade {{paquete}} --version {{versión}}` + +- Actualizar todos los paquetes: + +`choco upgrade all` + +- Actualizar todos excepto los paquetes especificados separados por comas: + +`choco upgrade all --except "{{paquete1,paquete2,...}}"` + +- Confirmar automáticamente todos los mensajes: + +`choco upgrade {{paquete}} --yes` + +- Especificar una fuente personalizada para recibir paquetes: + +`choco upgrade {{paquete}} --source {{url_fuente|alias}}` + +- Proporcionar un nombre de usuario y una contraseña para la autenticación: + +`choco upgrade {{paquete}} --user {{nombre_usuario}} --password {{contraseña}}` diff --git a/pages.es/windows/choco.md b/pages.es/windows/choco.md new file mode 100644 index 00000000000000..f6171e3fb487a0 --- /dev/null +++ b/pages.es/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> El gestor de paquetes Chocolatey. +> Algunos subcomandos como `install` tienen su propia documentación de uso. +> Más información: . + +- Ejecutar un comando Chocolatey: + +`choco {{comando}}` + +- Muestra ayuda: + +`choco {{[-h|--help]}}` + +- Muestra ayuda sobre un comando específico: + +`choco {{comando}} {{[-h|--help]}}` + +- Muestra la versión de Chocolatey: + +`choco --version` diff --git a/pages.es/windows/choice.md b/pages.es/windows/choice.md new file mode 100644 index 00000000000000..254478fed7d0f8 --- /dev/null +++ b/pages.es/windows/choice.md @@ -0,0 +1,28 @@ +# choice + +> Solicita al usuario que seleccione una opción y devuelve el índice de la opción seleccionada. +> Más información: . + +- Solicitar al usuario actual que seleccione una opción `Y` o `N`: + +`choice` + +- Solicitar al usuario actual que seleccione una op[c]ión de un conjunto específico: + +`choice /c {{AB}}` + +- Solicitar al usuario actual que seleccione una opción con un [m]ensaje específico: + +`choice /m "{{mensaje}}"` + +- Solicitar al usuario actual que seleccione una opción Mayús[c]ula-[s]ensible de un conjunto específico: + +`choice /cs /c {{Ab}}` + +- Solicitar al usuario actual que seleccione una opción y preferir la opción pre[d]eterminada en un [t]iempo específico: + +`choice /t {{5}} /d {{opcion_predeterminada}}` + +- Mostrar ayuda: + +`choice /?` diff --git a/pages.es/windows/chrome.md b/pages.es/windows/chrome.md new file mode 100644 index 00000000000000..05fbd2a484c86b --- /dev/null +++ b/pages.es/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Este comando es un alias de `chromium`. +> Más información: . + +- Muestra la documentación del comando original: + +`tldr chromium` diff --git a/pages.es/windows/chromium.md b/pages.es/windows/chromium.md new file mode 100644 index 00000000000000..5fbc42edc93f38 --- /dev/null +++ b/pages.es/windows/chromium.md @@ -0,0 +1,37 @@ +# chromium + +> Navegador web de código abierto desarrollado y mantenido principalmente por Google. +> Nota: Es posible que necesites reemplazar el comando `chromium` con tu navegador web deseado, como `brave`, `google-chrome`, `microsoft-edge`/`msedge`, `opera` o `vivaldi`. +> Más información: . + +- Abre una URL o archivo específico: + +`chromium {{https://example.com|ruta/al/archivo.html}}` + +- Abre en modo incógnito (usa `--inprivate` para Microsoft Edge): + +`{{chromium --incognito|msedge --inprivate}} {{example.com}}` + +- Abre en una nueva ventana: + +`chromium --new-window {{example.com}}` + +- Abre en modo aplicación (sin barras de herramientas, barra de URLs, botones, etc.): + +`chromium --app {{https://example.com}}` + +- Usa un servidor proxy: + +`chromium --proxy-server "{{socks5://hostname:66}}" {{example.com}}` + +- Abre con un directorio de perfil personalizado: + +`chromium --user-data-dir {{ruta/al/directorio}}` + +- Abre sin validación CORS (útil para probar una API): + +`chromium --user-data-dir {{ruta/al/directorio}} --disable-web-security` + +- Abre con una ventana de Desarrolador para cada pestaña abierta: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.es/windows/cinst.md b/pages.es/windows/cinst.md new file mode 100644 index 00000000000000..7d1c2cd13dd1e0 --- /dev/null +++ b/pages.es/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Este comando es un alias de `choco install`. + +- Vea la documentación del comando original: + +`tldr choco install` diff --git a/pages.es/windows/cipher.md b/pages.es/windows/cipher.md new file mode 100644 index 00000000000000..fab12b0800f7dd --- /dev/null +++ b/pages.es/windows/cipher.md @@ -0,0 +1,20 @@ +# cipher + +> Muestra o altera la encriptación de directorios y archivos en volúmenes NTFS. +> Más información: . + +- Muestra información sobre un archivo o directorio encriptado específico: + +`cipher /c:{{ruta\al\archivo_o_directorio}}` + +- [e]ncripta un archivo o directorio (los archivos añadidos posteriormente al directorio también se encriptan a medida que el directorio se marca): + +`cipher /e:{{ruta\al\archivo_o_directorio}}` + +- [d]esencripta un archivo o directorio: + +`cipher /d:{{ruta\al\archivo_o_directorio}}` + +- Elimina de forma segura un archivo o directorio: + +`cipher /w:{{ruta\al\archivo_o_directorio}}` diff --git a/pages.es/windows/clear-host.md b/pages.es/windows/clear-host.md new file mode 100644 index 00000000000000..361f55cb1148e4 --- /dev/null +++ b/pages.es/windows/clear-host.md @@ -0,0 +1,9 @@ +# Clear-Host + +> Limpia la pantalla. +> Nota: Este comando solo se puede utilizar a través de PowerShell. +> Más información: . + +- Limpiar la pantalla: + +`cls` diff --git a/pages.es/windows/clear-recyclebin.md b/pages.es/windows/clear-recyclebin.md new file mode 100644 index 00000000000000..c10b2a93ddbe13 --- /dev/null +++ b/pages.es/windows/clear-recyclebin.md @@ -0,0 +1,17 @@ +# Clear-RecycleBin + +> Elimina elementos de la Papelera de reciclaje. +> Este comando solo se puede usar a través de PowerShell versiones 5.1 y anteriores, o 7.1 y posteriores. +> Más información: . + +- Limpiar y eliminar todos los elementos dentro de la Papelera de reciclaje: + +`Clear-RecycleBin` + +- Limpiar la Papelera de reciclaje para una unidad específica: + +`Clear-RecycleBin -DriveLetter {{C}}` + +- Limpiar la Papelera de reciclaje sin más confirmación: + +`Clear-RecycleBin -Force` diff --git a/pages.es/windows/clear.md b/pages.es/windows/clear.md new file mode 100644 index 00000000000000..865f4fb08595a5 --- /dev/null +++ b/pages.es/windows/clear.md @@ -0,0 +1,7 @@ +# clear + +> En PowerShell, este comando es un alias de `Clear-Host`. + +- Muestra la documentación del comando original: + +`tldr clear-host` diff --git a/pages.es/windows/clip.md b/pages.es/windows/clip.md new file mode 100644 index 00000000000000..288c23c7a60bd1 --- /dev/null +++ b/pages.es/windows/clip.md @@ -0,0 +1,20 @@ +# clip + +> Copia el contenido de entrada al portapapeles de Windows. +> Más información: . + +- Redirigir la salida de la línea de comandos al portapapeles de Windows: + +`{{dir}} | clip` + +- Copiar el contenido de un archivo al portapapeles de Windows: + +`clip < {{ruta\al\archivo.ext}}` + +- Copiar texto con un salto de línea al portapapeles de Windows: + +`echo {{texto}} | clip` + +- Copiar texto sin un salto de línea al portapapeles de Windows: + +`echo | set /p="texto" | clip` diff --git a/pages.es/windows/clist.md b/pages.es/windows/clist.md new file mode 100644 index 00000000000000..13e2e6020c8672 --- /dev/null +++ b/pages.es/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Este comando es un alias de `choco list`. + +- Vea la documentación del comando original: + +`tldr choco list` diff --git a/pages.es/windows/cls.md b/pages.es/windows/cls.md new file mode 100644 index 00000000000000..aad4be2b9dfc3c --- /dev/null +++ b/pages.es/windows/cls.md @@ -0,0 +1,13 @@ +# cls + +> Borra la pantalla. +> En PowerShell, este comando es un alias de `Clear-Host`. Esta documentación está basada en la versión del símbolo del sistema (`cmd`) de `cls`. +> Más información: . + +- Consultar la documentación del comando PowerShell equivalente: + +`tldr clear-host` + +- Limpiar la pantalla: + +`cls` diff --git a/pages.es/windows/cmd.md b/pages.es/windows/cmd.md new file mode 100644 index 00000000000000..a7a6ef2ab3a47b --- /dev/null +++ b/pages.es/windows/cmd.md @@ -0,0 +1,36 @@ +# cmd + +> El intérprete de comandos de Windows. +> Más información: . + +- Iniciar una sesión shell interactiva: + +`cmd` + +- Ejecutar [c]omandos específicos: + +`cmd /c {{echo Hola Mundo}}` + +- Ejecutar un script específico: + +`cmd {{ruta\al\script.bat}}` + +- Ejecutar comandos específicos y luego entrar en un shell interactivo: + +`cmd /k {{echo Hola Mundo}}` + +- Iniciar una sesión shell interactiva donde `echo` está desactivado en la salida de comandos: + +`cmd /q` + +- Iniciar una sesión shell interactiva con la expansión [v]ariable retardada activada o desactivada: + +`cmd /v:{{on|off}}` + +- Iniciar una sesión shell interactiva con [e]xtensiones de comando activadas o desactivadas: + +`cmd /e:{{on|off}}` + +- Iniciar una sesión shell interactiva with con la codificación [u]nicode utilizada: + +`cmd /u` diff --git a/pages.es/windows/cmdkey.md b/pages.es/windows/cmdkey.md new file mode 100644 index 00000000000000..f5cad2b3d4958f --- /dev/null +++ b/pages.es/windows/cmdkey.md @@ -0,0 +1,16 @@ +# cmdkey + +> Crea, muestra y elimina nombres de usuario y contraseñas almacenados. +> Más información: . + +- Listar todas las credenciales de usuario: + +`cmdkey /list` + +- Almacenar credenciales para un usuario que accede a un servidor: + +`cmdkey /add:{{nombre_del_servidor}} /user:{{nombre_de_usuario}}` + +- Eliminar credenciales para un objetivo específico: + +`cmdkey /delete {{nombre_del_objetivo}}` diff --git a/pages.es/windows/cmstp.md b/pages.es/windows/cmstp.md new file mode 100644 index 00000000000000..ec120edb56f942 --- /dev/null +++ b/pages.es/windows/cmstp.md @@ -0,0 +1,36 @@ +# cmstp + +> Administra perfiles de servicio de conexión. +> Más información: . + +- Instalar un perfil específico: + +`cmstp "{{ruta\al\archivo_de_perfil}}"` + +- Instalar sin crear un acceso directo en el escritorio: + +`cmstp /ns "{{ruta\al\archivo_de_perfil}}"` + +- Instalar sin verificar dependencias: + +`cmstp /nf "{{ruta\al\archivo_de_perfil}}"` + +- Instalar solo para el usuario actual: + +`cmstp /su "{{ruta\al\archivo_de_perfil}}"` + +- Instalar para todos los usuarios (requiere privilegios de administrador): + +`cmstp /au "{{ruta\al\archivo_de_perfil}}"` + +- Instalar silenciosamente sin ningún aviso: + +`cmstp /s "{{ruta\al\archivo_de_perfil}}"` + +- Desinstalar un perfil específico: + +`cmstp /u "{{ruta\al\archivo_de_perfil}}"` + +- Desinstalar silenciosamente sin un aviso de confirmación: + +`cmstp /u /s "{{ruta\al\archivo_de_perfil}}"` diff --git a/pages.es/windows/color.md b/pages.es/windows/color.md new file mode 100644 index 00000000000000..ae5df0abe8bfd4 --- /dev/null +++ b/pages.es/windows/color.md @@ -0,0 +1,16 @@ +# color + +> Establece los colores de primer plano y fondo de la consola. +> Más información: . + +- Establecer los colores de la consola a los valores predeterminados: + +`color` + +- Listar los valores de color disponibles y la información detallada: + +`color /?` + +- Establecer el primer plano y el fondo de la consola a un color específico utilizando números hexadecimales (`1-9,a-f`): + +`color {{código_de_primer_plano}}{{código_de_fondo}}` diff --git a/pages.es/windows/comp.md b/pages.es/windows/comp.md new file mode 100644 index 00000000000000..6b562380990de9 --- /dev/null +++ b/pages.es/windows/comp.md @@ -0,0 +1,37 @@ +# comp + +> Compara el contenido de dos archivos o conjunto de archivos. +> Usa comodines (*) para comparar conjuntos de archivos. +> Más información: . + +- Compara archivos de forma interactiva: + +`comp` + +- Compara dos archivos específicos: + +`comp {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Compara dos conjuntos de archivos: + +`comp {{ruta\al\directorio1}}\* {{ruta\al\directorio2}}\*` + +- Muestra las diferencias en formato [d]ecimal: + +`comp /d {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Muestra las diferencias en formato [a]SCII: + +`comp /a {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Muestra los números de [l]ínea para las diferencias: + +`comp /l {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Compara archivos sin diferenciar mayúsculas y minúsculas ([c]ase-insensitive): + +`comp /c {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Compara solo las primeras 5 líneas de cada archivo: + +`comp /n=5 {{ruta\al\archivo1}} {{ruta\al\archivo2}}` diff --git a/pages.es/windows/cpush.md b/pages.es/windows/cpush.md new file mode 100644 index 00000000000000..ea6023865e52e2 --- /dev/null +++ b/pages.es/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Este comando es un alias de `choco push`. + +- Vea la documentación del comando original: + +`tldr choco push` diff --git a/pages.es/windows/cuninst.md b/pages.es/windows/cuninst.md new file mode 100644 index 00000000000000..6c44f9036133f9 --- /dev/null +++ b/pages.es/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Este comando es un alias de `choco uninstall`. + +- Vea la documentación del comando original: + +`tldr choco uninstall` diff --git a/pages.es/windows/curl.md b/pages.es/windows/curl.md new file mode 100644 index 00000000000000..5b2e2e30feecb6 --- /dev/null +++ b/pages.es/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> En PowerShell, este comando puede ser un alias de `Invoke-WebRequest` cuando el programa original `curl` () no está correctamente instalado. +> Más información: . + +- Consulta la documentación del comando original `curl`: + +`tldr curl -p common` + +- Vea la documentación del comando `Invoke-WebRequest` de PowerShell: + +`tldr invoke-webrequest` + +- Comprueba si `curl` está correctamente instalado imprimiendo su número de versión. Si este comando da error, PowerShell puede haber sustituido este comando por `Invoke-WebRequest`: + +`curl --version` diff --git a/pages.es/windows/date.md b/pages.es/windows/date.md new file mode 100644 index 00000000000000..cf70498a873c0a --- /dev/null +++ b/pages.es/windows/date.md @@ -0,0 +1,16 @@ +# date + +> Muestra o establece la fecha del sistema. +> Más información: . + +- Muestra la fecha actual del sistema y solicitar ingresar una nueva fecha (dejar vacío para mantener sin cambios): + +`date` + +- Muestra la fecha actual del sistema sin solicitar una nueva fecha: + +`date /t` + +- Cambia la fecha actual del sistema a una fecha específica: + +`date {{mes}}-{{día}}-{{año}}` diff --git a/pages.es/windows/del.md b/pages.es/windows/del.md new file mode 100644 index 00000000000000..a26dbad12b0905 --- /dev/null +++ b/pages.es/windows/del.md @@ -0,0 +1,37 @@ +# del + +> Elimina uno o más archivos. +> En PowerShell, este comando es un alias de `Remove-Item`. Esta documentación se basa en la versión del símbolo del sistema (`cmd`) de `del`. +> Más información: . + +- Muestra la documentación del comando PowerShell equivalente: + +`tldr remove-item` + +- Elimina uno o más archivos o patrones separados por espacios: + +`del {{patrón_del_archivo}}` + +- Solicita confirmación antes de borrar cada archivo: + +`del {{patrón_del_archivo}} /p` + +- Fuerza la eliminación de archivos de sólo lectura: + +`del {{patrón_del_archivo}} /f` + +- Elimina recursivamente archivos de todos los subdirectorios: + +`del {{patrón_del_archivo}} /s` + +- Elimina archivos que coincidan con un comodín sin confirmación: + +`del {{patrón_del_archivo}} /q` + +- Muestra la ayuda y la lista de atributos disponibles: + +`del /?` + +- Elimina archivos en función de los atributos especificados: + +`del {{patrón_del_archivo}} /a {{atributo}}` diff --git a/pages.es/windows/dir.md b/pages.es/windows/dir.md new file mode 100644 index 00000000000000..c65d3c93745ed8 --- /dev/null +++ b/pages.es/windows/dir.md @@ -0,0 +1,24 @@ +# dir + +> Lista el contenido del directorio. +> Más información: . + +- Muestra el contenido del directorio actual: + +`dir` + +- Muestra el contenido de un directorio determinado: + +`dir {{ruta\al\directorio}}` + +- Muestra el contenido del directorio actual, incluidos los ocultos: + +`dir /a` + +- Muestra el contenido de un directorio determinado, incluidos los ocultos: + +`dir {{ruta\al\directorio}} /a` + +- Muestra una lista de directorios y archivos, sin información adicional: + +`dir /b` diff --git a/pages.es/windows/diskpart.md b/pages.es/windows/diskpart.md new file mode 100644 index 00000000000000..578d77078d470a --- /dev/null +++ b/pages.es/windows/diskpart.md @@ -0,0 +1,32 @@ +# diskpart + +> Administrador de discos, volúmenes y particiones. +> Más información: . + +- Ejecutar diskpart por sí mismo en un símbolo del sistema administrativo para ingresar a su línea de comandos: + +`diskpart` + +- Listar todos los discos: + +`list disk` + +- Seleccionar un volumen: + +`select volume {{volúmen}}` + +- Asignar una letra de unidad al volumen seleccionado: + +`assign letter {{letra}}` + +- Crear una nueva partición: + +`create partition primary` + +- Activar el volumen seleccionado: + +`active` + +- Salir de diskpart: + +`exit` diff --git a/pages.es/windows/doskey.md b/pages.es/windows/doskey.md new file mode 100644 index 00000000000000..11314326bf78a9 --- /dev/null +++ b/pages.es/windows/doskey.md @@ -0,0 +1,32 @@ +# doskey + +> Administrar macros, comandos de Windows y líneas de comandos. +> Más información: . + +- Listar macros disponibles: + +`doskey /macros` + +- Crear una nueva macro: + +`doskey {{nombre}} = "{{comando}}"` + +- Crear una nueva macro para un ejecutable específico: + +`doskey /exename={{nombre_del_ejecutable}} {{nombre}} = "{{comando}}"` + +- Eliminar una macro: + +`doskey {{nombre}} =` + +- Mostrar todos los comandos que están almacenados en memoria: + +`doskey /history` + +- Guardar macros en un archivo para portabilidad: + +`doskey /macros > {{ruta\al\archivo_macinit}}` + +- Cargar macros desde un archivo: + +`doskey /macrofile = {{ruta\al\archivo_macinit}}` diff --git a/pages.es/windows/driverquery.md b/pages.es/windows/driverquery.md new file mode 100644 index 00000000000000..744485fc0383a8 --- /dev/null +++ b/pages.es/windows/driverquery.md @@ -0,0 +1,32 @@ +# driverquery + +> Mostrar información sobre los controladores de dispositivo instalados. +> Más información: . + +- Mostrar una lista de todos los controladores de dispositivo instalados: + +`driverquery` + +- Mostrar una lista de controladores en el formato especificado: + +`driverquery /fo {{tabla|lista|csv}}` + +- Mostrar una lista de controladores con una columna que indique si están firmados: + +`driverquery /si` + +- Excluir el encabezado en la lista de salida: + +`driverquery /nh` + +- Mostrar una lista de controladores para una máquina remota: + +`driverquery /s {{nombre_del_host}} /u {{nombre_de_usuario}} /p {{contraseña}}` + +- Mostrar una lista de controladores con información detallada: + +`driverquery /v` + +- Mostrar ayuda: + +`driverquery /?` diff --git a/pages.es/windows/enable-pnpdevice.md b/pages.es/windows/enable-pnpdevice.md new file mode 100644 index 00000000000000..5cdf72ad259f17 --- /dev/null +++ b/pages.es/windows/enable-pnpdevice.md @@ -0,0 +1,21 @@ +# Enable-PnpDevice + +> El cmdlet Enable-PnpDevice habilita un dispositivo Plug and Play (PnP). Debe usar una cuenta de Administrador para habilitar un dispositivo. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Habilitar un dispositivo: + +`Enable-PnpDevice -InstanceId 'ID OBTENIDO USANDO EL COMANDO Get-PnpDevice'` + +- Habilitar todos los dispositivos PnP deshabilitados: + +`Get-PnpDevice | Where-Object {$_.Problem -eq 22} | Enable-PnpDevice` + +- Habilitar un dispositivo sin confirmación: + +`Enable-PnpDevice -InstanceId 'ID OBTENIDO USANDO EL COMANDO Get-PnpDevice' -Confirm:$False` + +- Simulación de lo que sucedería si se ejecuta el cmdlet: + +`Enable-PnpDevice -InstanceId 'USB\VID_5986&;PID_0266&;MI_00\7&;1E5D3568&;0&;0000' -WhatIf:$True` diff --git a/pages.es/windows/es.md b/pages.es/windows/es.md new file mode 100644 index 00000000000000..2c5cff16279892 --- /dev/null +++ b/pages.es/windows/es.md @@ -0,0 +1,37 @@ +# es + +> Interfaz de línea de comandos para Everything, una herramienta de búsqueda rápida de archivos y carpetas para Windows. +> Requiere que Everything esté instalado y ejecutándose en segundo plano. +> Más información: . + +- Busca un archivo o carpeta por su nombre: + +`es {{término_de_búsqueda}}` + +- Busca usando una expresión regular: + +`es -r {{patrón_regex}}` + +- Busca palabras completas: + +`es -w {{término_de_búsqueda}}` + +- Limita el número de resultados mostrados: + +`es -n {{10}} {{término_de_búsqueda}}` + +- Busca dentro de una carpeta específica: + +`es -path {{ruta_de_la_carpeta}} {{término_de_búsqueda}}` + +- Lista solo carpetas: + +`es /ad` + +- Lista solo archivos: + +`es /a-d` + +- Ordena los resultados (por ejemplo, por nombre): + +`es -sort {{nombre-ascendente}}` diff --git a/pages.es/windows/eventcreate.md b/pages.es/windows/eventcreate.md new file mode 100644 index 00000000000000..d3b7a6a2705d11 --- /dev/null +++ b/pages.es/windows/eventcreate.md @@ -0,0 +1,21 @@ +# eventcreate + +> Crear entradas personalizadas en el registro de eventos. +> Los ID de evento pueden ser cualquier número entre 1 y 1000. +> Más información: . + +- Crear un nuevo evento con un ID dado (1-1000) en el registro: + +`eventcreate /t {{success|error|warning|information}} /id {{id}} /d "{{mensaje}}"` + +- Crear un evento en un registro de eventos específico: + +`eventcreate /l {{nombre_del_registro}} /t {{tipo}} /id {{id}} /d "{{mensaje}}"` + +- Crear un evento con una fuente específica: + +`eventcreate /so {{nombre_de_la_fuente}} /t {{tipo}} /id {{id}} /d "{{mensaje}}"` + +- Crear un evento en el registro de eventos de una máquina remota: + +`eventcreate /s {{nombre_del_host}} /u {{nombre_de_usuario}} /p {{contraseña}} /t {{tipo}} /id {{id}} /d "{{mensaje}}"` diff --git a/pages.es/windows/exit.md b/pages.es/windows/exit.md new file mode 100644 index 00000000000000..dcecae3c950475 --- /dev/null +++ b/pages.es/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> Sale de la instancia CMD actual o del archivo por lotes actual. +> Más información: . + +- Sale de la instancia CMD actual: + +`exit` + +- Sale del conjunto de instrucciones del archivo por lotes actual: + +`exit /b` + +- Sale usando un código de salida específico: + +`exit {{2}}` diff --git a/pages.es/windows/expand.md b/pages.es/windows/expand.md new file mode 100644 index 00000000000000..4eb9996f6a2425 --- /dev/null +++ b/pages.es/windows/expand.md @@ -0,0 +1,24 @@ +# expand + +> Descomprime archivos Cabinet de Windows. +> Más información: . + +- Descomprime un archivo Cabinet de un solo archivo en el directorio especificado: + +`expand {{ruta\al\archivo.cab}} {{ruta\al\directorio}}` + +- Muestra la lista de archivos en un archivo Cabinet de origen: + +`expand {{ruta\al\archivo.cab}} {{ruta\al\directorio}} -d` + +- Descomprime todos los archivos del archivo Cabinet: + +`expand {{ruta\al\archivo.cab}} {{ruta\al\directorio}} -f:*` + +- Descomprime un archivo específico de un archivo Cabinet: + +`expand {{ruta\al\archivo.cab}} {{ruta\al\directorio}} -f:{{ruta\al\archivo}}` + +- Ignora la estructura de directorios al descomprimir y los agregar a un solo directorio: + +`expand {{ruta\al\archivo.cab}} {{ruta\al\directorio}} -i` diff --git a/pages.es/windows/explorer.md b/pages.es/windows/explorer.md new file mode 100644 index 00000000000000..c652690265c427 --- /dev/null +++ b/pages.es/windows/explorer.md @@ -0,0 +1,16 @@ +# explorer + +> El Explorador de Archivos de Windows. +> Más información: . + +- Abre el Explorador de Windows: + +`explorer` + +- Abre el Explorador de Windows en el directorio actual: + +`explorer .` + +- Abre el Explorador de Windows en un directorio específico: + +`explorer {{ruta\al\directorio}}` diff --git a/pages.es/windows/fc.md b/pages.es/windows/fc.md new file mode 100644 index 00000000000000..c22e64dc712f1c --- /dev/null +++ b/pages.es/windows/fc.md @@ -0,0 +1,33 @@ +# fc + +> Compara las diferencias entre dos archivos o conjuntos de archivos. +> Usa comodines (*) para comparar conjuntos de archivos. +> Más información: . + +- Compara 2 archivos especificados: + +`fc {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Realiza una comparación sin distinguir entre mayúsculas y minúsculas: + +`fc /c {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Comparar archivos como texto Unicode: + +`fc /u {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Comparar archivos como texto ASCII: + +`fc /l {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Comparar archivos como binarios: + +`fc /b {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Deshabilitar la expansión de tabulaciones a espacios: + +`fc /t {{ruta\al\archivo1}} {{ruta\al\archivo2}}` + +- Comprimir espacios en blanco (tabulaciones y espacios) para comparaciones: + +`fc /w {{ruta\al\archivo1}} {{ruta\al\archivo2}}` diff --git a/pages.es/windows/find.md b/pages.es/windows/find.md new file mode 100644 index 00000000000000..d36c5b3e500482 --- /dev/null +++ b/pages.es/windows/find.md @@ -0,0 +1,20 @@ +# find + +> Buscar una cadena especificada en archivos. +> Más información: . + +- Buscar líneas que contengan una cadena especificada: + +`find "{{cadena}}" {{ruta\al\archivo_o_directorio}}` + +- Mostrar líneas que no contengan la cadena especificada: + +`find "{{cadena}}" {{ruta\al\archivo_o_directorio}} /v` + +- Mostrar el conteo de líneas que contienen la cadena especificada: + +`find "{{cadena}}" {{ruta\al\archivo_o_directorio}} /c` + +- Mostrar números de línea junto con la lista de líneas: + +`find "{{cadena}}" {{ruta\al\archivo_o_directorio}} /n` diff --git a/pages.es/windows/findstr.md b/pages.es/windows/findstr.md new file mode 100644 index 00000000000000..84ce2bcf8b8e87 --- /dev/null +++ b/pages.es/windows/findstr.md @@ -0,0 +1,36 @@ +# findstr + +> Buscar texto especificado dentro de uno o más archivos. +> Más información: . + +- Buscar una o más cadenas en todos los archivos: + +`findstr "{{cadena1 cadena2 ...}}" *` + +- Buscar una o más cadenas en la salida de un comando canalizado: + +`{{dir}} | findstr "{{cadena1 cadena2 ...}}"` + +- Buscar una o más cadenas en todos los archivos de forma recursiva: + +`findstr /s "{{cadena1 cadena2 ...}}" *` + +- Buscar cadenas utilizando una búsqueda sin distinguir entre mayúsculas y minúsculas: + +`findstr /i "{{cadena1 cadena2 ...}}" *` + +- Buscar cadenas en todos los archivos utilizando expresiones regulares: + +`findstr /r "{{expresión}}" *` + +- Buscar una cadena literal (que contenga espacios) en todos los archivos de texto: + +`findstr /c:"{{cadena1 cadena2 ...}}" *.txt` + +- Mostrar el número de línea antes de cada línea coincidente: + +`findstr /n "{{cadena1 cadena2 ...}}" *` + +- Mostrar solo los nombres de archivo que contienen una coincidencia: + +`findstr /m "{{cadena1 cadena2 ...}}" *` diff --git a/pages.es/windows/finger.md b/pages.es/windows/finger.md new file mode 100644 index 00000000000000..8b3b5d66863297 --- /dev/null +++ b/pages.es/windows/finger.md @@ -0,0 +1,21 @@ +# finger + +> Devuelve información sobre usuarios en un sistema especificado. +> El sistema remoto debe estar ejecutando el servicio Finger. +> Más información: . + +- Muestra información sobre un usuario específico: + +`finger {{usuario}}@{{host}}` + +- Muestra información sobre todos los usuarios en el host especificado: + +`finger @{{host}}` + +- Muestra información en un formato más extenso: + +`finger {{usuario}}@{{host}} -l` + +- Muestra información de ayuda: + +`finger /?` diff --git a/pages.es/windows/fondue.md b/pages.es/windows/fondue.md new file mode 100644 index 00000000000000..780fae8dafb6d4 --- /dev/null +++ b/pages.es/windows/fondue.md @@ -0,0 +1,16 @@ +# fondue + +> Instalar características opcionales de Windows. +> Más información: . + +- Habilitar una característica específica de Windows: + +`fondue /enable-feature:{{característica}}` + +- Ocultar todos los mensajes de salida al usuario: + +`fondue /enable-feature:{{característica}} /hide-ux:all` + +- Especificar un nombre de proceso llamador para la información de errores: + +`fondue /enable-feature:{{característica}} /caller-name:{{nombre}}` diff --git a/pages.es/windows/for.md b/pages.es/windows/for.md new file mode 100644 index 00000000000000..c10a652eb0fb0e --- /dev/null +++ b/pages.es/windows/for.md @@ -0,0 +1,24 @@ +# for + +> Ejecutar condicionalmente un comando varias veces. +> Más información: . + +- Ejecutar los comandos dados para el conjunto especificado: + +`for %{{variable}} in ({{elemento_a elemento_b elemento_c}}) do ({{echo Se ejecuta el bucle}})` + +- Iterar sobre un rango dado de números: + +`for /l %{{variable}} in ({{desde}}, {{paso}}, {{hasta}}) do ({{echo Se ejecuta el bucle}})` + +- Iterar sobre una lista dada de archivos: + +`for %{{variable}} in ({{ruta\al\archivo1.ext ruta\al\archivo2.ext ...}}) do ({{echo Se ejecuta el bucle}})` + +- Iterar sobre una lista dada de directorios: + +`for /d %{{variable}} in ({{ruta\al\directorio1.ext ruta\al\directorio2.ext ...}}) do ({{echo Se ejecuta el bucle}})` + +- Realizar un comando dado en cada directorio: + +`for /d %{{variable}} in (*) do (if exist %{{variable}} {{echo Se ejecuta el bucle}})` diff --git a/pages.es/windows/forfiles.md b/pages.es/windows/forfiles.md new file mode 100644 index 00000000000000..5bb69b21a96c5c --- /dev/null +++ b/pages.es/windows/forfiles.md @@ -0,0 +1,28 @@ +# forfiles + +> Seleccionar archivos para ejecutar un comando especificado. +> Más información: . + +- Buscar archivos en el directorio actual: + +`forfiles` + +- Buscar archivos en un directorio específico: + +`forfiles /p {{ruta\al\directorio}}` + +- Ejecutar el comando especificado para cada archivo: + +`forfiles /c "{{comando}}"` + +- Buscar archivos utilizando un patrón de glob específico: + +`forfiles /m {{patrón_glob}}` + +- Buscar archivos de forma recursiva: + +`forfiles /s` + +- Buscar archivos más antiguos que 5 días: + +`forfiles /d +{{5}}` diff --git a/pages.es/windows/fsutil.md b/pages.es/windows/fsutil.md new file mode 100644 index 00000000000000..c8338a0108af55 --- /dev/null +++ b/pages.es/windows/fsutil.md @@ -0,0 +1,24 @@ +# fsutil + +> Muestra información sobre volúmenes del sistema de archivos. +> Más información: . + +- Muestra una lista de volúmenes: + +`fsutil volume list` + +- Muestra información sobre el sistema de archivos de un volumen: + +`fsutil fsInfo volumeInfo {{letra_de_unidad|ruta_del_volumen}}` + +- Muestra el estado actual de la reparación automática del sistema de archivos para todos los volúmenes: + +`fsutil repair state` + +- Muestra el estado del bit sucio de todos los volúmenes: + +`fsutil dirty query` + +- Establece el estado del bit sucio de un volumen: + +`fsutil dirty set {{letra_de_unidad|ruta_del_volumen}}` diff --git a/pages.es/windows/ftp.md b/pages.es/windows/ftp.md new file mode 100644 index 00000000000000..b7843f853f3833 --- /dev/null +++ b/pages.es/windows/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> Transfiere archivos de forma interactiva entre un servidor FTP local y remoto. +> Más información: . + +- Conecta a un servidor FTP remoto de forma interactiva: + +`ftp {{host}}` + +- Inicia sesión como usuario anónimo: + +`ftp -A {{host}}` + +- Deshabilita el inicio de sesión automático al conectarse inicialmente: + +`ftp -n {{host}}` + +- Ejecuta un archivo que contenga una lista de comandos FTP: + +`ftp -s:{{ruta\al\archivo}} {{host}}` + +- Descarga múltiples archivos (expresión glob): + +`mget {{*.png}}` + +- Sube múltiples archivos (expresión glob): + +`mput {{*.zip}}` + +- Elimina múltiples archivos en el servidor remoto: + +`mdelete {{*.txt}}` + +- Muestra la ayuda: + +`ftp --help` diff --git a/pages.es/windows/ftype.md b/pages.es/windows/ftype.md new file mode 100644 index 00000000000000..f886b4aa367001 --- /dev/null +++ b/pages.es/windows/ftype.md @@ -0,0 +1,16 @@ +# ftype + +> Muestra o modifica los tipos de archivo utilizados para la asociación de extensiones de archivo. +> Más información: . + +- Muestra una lista de todos los tipos de archivo: + +`ftype` + +- Muestra el programa asociado para un tipo de archivo específico: + +`ftype {{tipo_de_archivo}}` + +- Establece el programa asociado para un tipo de archivo específico: + +`ftype {{tipo_de_archivo}}="{{ruta/al/archivo_ejecutable}}"` diff --git a/pages.es/windows/gal.md b/pages.es/windows/gal.md new file mode 100644 index 00000000000000..a5dc63bf31632e --- /dev/null +++ b/pages.es/windows/gal.md @@ -0,0 +1,7 @@ +# gal + +> En PowerShell, este comando es un alias de `Get-Alias`. + +- Ver la documentación del comando original: + +`tldr get-alias` diff --git a/pages.es/windows/gcrane-completion.md b/pages.es/windows/gcrane-completion.md new file mode 100644 index 00000000000000..11ee7bf3d31d5f --- /dev/null +++ b/pages.es/windows/gcrane-completion.md @@ -0,0 +1,25 @@ +# gcrane completion + +> Generar el script de autocompletado para gcrane para el shell especificado. +> Los shells disponibles son `bash`, `fish`, `powershell` y `zsh`. +> Más información: . + +- Generar el script de autocompletado para tu shell: + +`gcrane completion {{nombre_del_shell}}` + +- Deshabilitar descripciones de autocompletado: + +`gcrane completion {{nombre_del_shell}} --no-descriptions` + +- Cargar completaciones en tu sesión actual de shell (powershell): + +`gcrane completion powershell | Out-String | Invoke-Expression` + +- Cargar completaciones para cada nueva sesión (powershell): + +`gcrane completion powershell | Out-String | Invoke-Expression` + +- Mostrar ayuda: + +`gcrane completion {{nombre_del_shell}} {{[-h|--help]}}` diff --git a/pages.es/windows/get-acl.md b/pages.es/windows/get-acl.md new file mode 100644 index 00000000000000..1970ff289cf057 --- /dev/null +++ b/pages.es/windows/get-acl.md @@ -0,0 +1,13 @@ +# Get-Acl + +> Obtener el descriptor de seguridad para un recurso, como un archivo o una clave del registro. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Mostrar la ACL para un directorio específico: + +`Get-Acl {{ruta\al\directorio}}` + +- Obtener una ACL para una clave del registro: + +`Get-Acl -Path {{HKLM:\System\SetDeControlesActual\Control}} | Format-List` diff --git a/pages.es/windows/get-alias.md b/pages.es/windows/get-alias.md new file mode 100644 index 00000000000000..7a8fd12de65163 --- /dev/null +++ b/pages.es/windows/get-alias.md @@ -0,0 +1,21 @@ +# Get-Alias + +> Listar y obtener alias de comandos en la sesión actual de PowerShell. +> Este comando solo se puede ejecutar en PowerShell. +> Más información: . + +- Listar todos los alias en la sesión actual: + +`Get-Alias` + +- Obtener el nombre del comando asociado al alias: + +`Get-Alias {{alias_de_comando}}` + +- Listar todos los alias asignados a un comando específico: + +`Get-Alias -Definition {{comando}}` + +- Listar alias que comienzan con `abc`, excluyendo aquellos que terminan en `def`: + +`Get-Alias {{abc}}* -Exclude *{{def}}` diff --git a/pages.es/windows/get-childitem.md b/pages.es/windows/get-childitem.md new file mode 100644 index 00000000000000..f8876acb48acdc --- /dev/null +++ b/pages.es/windows/get-childitem.md @@ -0,0 +1,25 @@ +# Get-ChildItem + +> Lista los elementos en un directorio. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Lista todos los elementos no ocultos en el directorio actual: + +`Get-ChildItem` + +- Lista solo directorios en el directorio actual: + +`Get-ChildItem -Directory` + +- Lista solo archivos en el directorio actual: + +`Get-ChildItem -File` + +- Lista elementos en el directorio actual, incluyendo elementos ocultos: + +`Get-ChildItem -Hidden` + +- Lista elementos en un directorio diferente al actual: + +`Get-ChildItem -Path {{ruta\al\directorio}}` diff --git a/pages.es/windows/get-command.md b/pages.es/windows/get-command.md new file mode 100644 index 00000000000000..ab69d233b2922a --- /dev/null +++ b/pages.es/windows/get-command.md @@ -0,0 +1,29 @@ +# Get-Command + +> Lista y obtiene los comandos disponibles en la sesión actual de PowerShell. +> Este comando solo se puede ejecutar a través de PowerShell. +> Más información: . + +- Lista todos los comandos de PowerShell disponibles (alias, cmdlets, funciones) en el computador actual: + +`Get-Command` + +- Lista todos los comandos de PowerShell disponibles en la sesión actual: + +`Get-Command -ListImported` + +- Lista solo los alias/cmdlets/funciones de PowerShell disponibles en el computador: + +`Get-Command -Type {{Alias|Cmdlet|Function}}` + +- Lista solo programas o comandos disponibles en PATH en la sesión actual: + +`Get-Command -Type Application` + +- Lista solo comandos de PowerShell por el nombre del módulo, por ejemplo, `Microsoft.PowerShell.Utility` para comandos relacionados con utilidades: + +`Get-Command -Module {{módulo}}` + +- Obtiene la información del comando (por ejemplo, número de versión o nombre del módulo) por su nombre: + +`Get-Command {{comando}}` diff --git a/pages.es/windows/get-content.md b/pages.es/windows/get-content.md new file mode 100644 index 00000000000000..e4a3d2ac319310 --- /dev/null +++ b/pages.es/windows/get-content.md @@ -0,0 +1,17 @@ +# Get-Content + +> Obtiene el contenido del elemento en la ubicación especificada. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Muestra el contenido de un archivo: + +`Get-Content -Path {{ruta\al\archivo}}` + +- Muestra las primeras líneas de un archivo: + +`Get-Content -Path {{ruta\al\archivo}} -TotalCount {{10}}` + +- Muestra el contenido del archivo y sigue leyendo hasta que se presione ``: + +`Get-Content -Path {{ruta\al\archivo}} -Wait` diff --git a/pages.es/windows/get-date.md b/pages.es/windows/get-date.md new file mode 100644 index 00000000000000..210c41bc841e55 --- /dev/null +++ b/pages.es/windows/get-date.md @@ -0,0 +1,21 @@ +# Get-Date + +> Obtiene la fecha y hora actuales. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Muestra la fecha y hora actuales: + +`Get-Date` + +- Muestra la fecha y hora actuales con un especificador de formato .NET: + +`Get-Date -Format "{{yyyy-MM-dd HH:mm:ss}}"` + +- Muestra la fecha y hora actuales en UTC y en formato ISO 8601: + +`(Get-Date).ToUniversalTime()` + +- Convierte un timestamp de Unix: + +`Get-Date -UnixTimeSeconds {{1577836800}}` diff --git a/pages.es/windows/get-dedupproperties.md b/pages.es/windows/get-dedupproperties.md new file mode 100644 index 00000000000000..3d4d1b3cfdf35d --- /dev/null +++ b/pages.es/windows/get-dedupproperties.md @@ -0,0 +1,17 @@ +# Get-DedupProperties + +> Obtiene información sobre la desduplicación de datos. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Obtiene información sobre la desduplicación de datos de la unidad: + +`Get-DedupProperties -DriveLetter 'C'` + +- Obtiene información sobre la desduplicación de datos de la unidad utilizando la etiqueta de la unidad: + +`Get-DedupProperties -FileSystemLabel 'Etiqueta'` + +- Obtiene información sobre la desduplicación de datos de la unidad utilizando el objeto de entrada: + +`Get-DedupProperties -InputObject $(Get-Volume -DriveLetter 'E')` diff --git a/pages.es/windows/get-filehash.md b/pages.es/windows/get-filehash.md new file mode 100644 index 00000000000000..daea47ffaeb271 --- /dev/null +++ b/pages.es/windows/get-filehash.md @@ -0,0 +1,13 @@ +# Get-FileHash + +> Calcula un hash para un archivo. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Calcula un hash para un archivo especificado utilizando el algoritmo SHA256: + +`Get-FileHash {{ruta\al\archivo}}` + +- Calcula un hash para un archivo especificado utilizando un algoritmo específico: + +`Get-FileHash {{ruta\al\archivo}} -Algorithm {{SHA1|SHA384|SHA256|SHA512|MD5}}` diff --git a/pages.es/windows/get-help.md b/pages.es/windows/get-help.md new file mode 100644 index 00000000000000..f511ae80b9ba56 --- /dev/null +++ b/pages.es/windows/get-help.md @@ -0,0 +1,37 @@ +# Get-Help + +> Muestra información de ayuda y documentación para los comandos de PowerShell (alias, cmdlets y funciones). +> Este comando solo se puede ejecutar a través de PowerShell. +> Más información: . + +- Muestra información de ayuda general para un comando específico de PowerShell: + +`Get-Help {{comando}}` + +- Muestra una documentación más detallada para un comando específico de PowerShell: + +`Get-Help {{comando}} -Detailed` + +- Muestra la documentación técnica completa para un comando específico de PowerShell: + +`Get-Help {{comando}} -Full` + +- Imprime solo la documentación para un parámetro específico del comando de PowerShell (usa `*` para mostrar todos los parámetros), si está disponible: + +`Get-Help {{comando}} -Parameter {{parámetro}}` + +- Imprime solo los ejemplos del cmdlet, si están disponibles: + +`Get-Help {{comando}} -Examples` + +- Lista todas las páginas de ayuda de cmdlet disponibles: + +`Get-Help *` + +- Actualiza la base de conocimientos de ayuda y documentación actual usando `Update-Help`: + +`Update-Help` + +- Ve una versión en línea de la documentación del comando de PowerShell en el navegador web predeterminado: + +`Get-Help {{comando}} -Online` diff --git a/pages.es/windows/get-history.md b/pages.es/windows/get-history.md new file mode 100644 index 00000000000000..06f33e617d200b --- /dev/null +++ b/pages.es/windows/get-history.md @@ -0,0 +1,17 @@ +# Get-History + +> Muestra el historial de comandos de PowerShell. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Muestra la lista de historial de comandos con ID: + +`Get-History` + +- Obtiene un elemento del historial de PowerShell por ID: + +`Get-History -Id {{id}}` + +- Muestra los últimos N comandos: + +`Get-History -Count {{10}}` diff --git a/pages.es/windows/get-location.md b/pages.es/windows/get-location.md new file mode 100644 index 00000000000000..2a45c79b7a6109 --- /dev/null +++ b/pages.es/windows/get-location.md @@ -0,0 +1,9 @@ +# Get-Location + +> Imprime el nombre del directorio actual/de trabajo. +> Este comando solo se puede ejecutar a través de PowerShell. +> Más información: . + +- Imprime el directorio actual: + +`Get-Location` diff --git a/pages.es/windows/get-wuapiversion.md b/pages.es/windows/get-wuapiversion.md new file mode 100644 index 00000000000000..d2b0b29785d123 --- /dev/null +++ b/pages.es/windows/get-wuapiversion.md @@ -0,0 +1,13 @@ +# Get-WUApiVersion + +> Obtiene la versión del Agente de Windows Update. Parte del módulo externo `PSWindowsUpdate`. +> Este comando solo se puede ejecutar en PowerShell. +> Más información: . + +- Obtiene la versión actualmente instalada del Agente de Windows Update: + +`Get-WUApiVersion` + +- Envía los datos de configuración actuales por correo electrónico (SMTP): + +`Get-WUApiVersion -SendReport -PSWUSettings @{SmtpServer="{{servidor_smtp}}"; Port={{puerto_smtp}} From="{{correo_remitente}}" To="{{correo_destinatario}}"}` diff --git a/pages.es/windows/get-wuhistory.md b/pages.es/windows/get-wuhistory.md new file mode 100644 index 00000000000000..d93c5f6819af08 --- /dev/null +++ b/pages.es/windows/get-wuhistory.md @@ -0,0 +1,25 @@ +# Get-WUHistory + +> Obtiene el historial de actualizaciones instaladas desde Windows Update. Parte del módulo externo `PSWindowsUpdate`. +> Este comando solo se puede ejecutar en PowerShell. +> Más información: . + +- Obtiene la lista del historial de actualizaciones: + +`Get-WUHistory` + +- Lista las últimas 10 actualizaciones instaladas: + +`Get-WUHistory -Last {{10}}` + +- Lista todas las actualizaciones instaladas desde una fecha específica hasta hoy: + +`Get-WUHistory -MaxDate {{fecha}}` + +- Lista todas las actualizaciones instaladas en las últimas 24 horas: + +`Get-WUHistory -MaxDate (Get-Date).AddDays(-1)` + +- Envía los resultados por correo electrónico (SMTP): + +`Get-WUHistory -SendReport -PSWUSettings @{SmtpServer="{{servidor_smtp}}"; Port={{puerto_smtp}} From="{{correo_remitente}}" To="{{correo_destinatario}}"}` diff --git a/pages.es/windows/get-wusettings.md b/pages.es/windows/get-wusettings.md new file mode 100644 index 00000000000000..01fad4bdaf717d --- /dev/null +++ b/pages.es/windows/get-wusettings.md @@ -0,0 +1,13 @@ +# Get-WUSettings + +> Obtiene la configuración actual del Agente de Windows Update. Parte del módulo externo `PSWindowsUpdate`. +> Este comando solo se puede ejecutar en PowerShell. +> Más información: . + +- Obtiene la configuración actual del Agente de Windows Update: + +`Get-WUSettings` + +- Envía los datos de configuración actuales por correo electrónico (SMTP): + +`Get-WUSettings -SendReport -PSWUSettings @{SmtpServer="{{servidor_smtp}}"; Port={{puerto_smtp}} From="{{correo_remitente}}" To="{{correo_destinatario}}"}` diff --git a/pages.es/windows/getmac.md b/pages.es/windows/getmac.md new file mode 100644 index 00000000000000..80a6f313e3e5f8 --- /dev/null +++ b/pages.es/windows/getmac.md @@ -0,0 +1,28 @@ +# getmac + +> Muestra las direcciones MAC de un sistema. +> Más información: . + +- Muestra las direcciones MAC del sistema actual: + +`getmac` + +- Muestra los detalles en un formato específico: + +`getmac /fo {{table|list|csv}}` + +- Excluye la cabecera en la lista de salida: + +`getmac /nh` + +- Muestra las direcciones MAC de un equipo remoto: + +`getmac /s {{nombre_host}} /u {{nombredeusuario}} /p {{contraseña}}` + +- Muestra las direcciones MAC con información detallada: + +`getmac /v` + +- Muestra información de uso detallada: + +`getmac /?` diff --git a/pages.es/windows/gl.md b/pages.es/windows/gl.md new file mode 100644 index 00000000000000..17c28b0d7bbd7d --- /dev/null +++ b/pages.es/windows/gl.md @@ -0,0 +1,7 @@ +# gl + +> En PowerShell, este comando es un alias de `Get-Location`. + +- Ver la documentación para el comando original: + +`tldr get-location` diff --git a/pages.es/windows/gpupdate.md b/pages.es/windows/gpupdate.md new file mode 100644 index 00000000000000..bd995e192c353c --- /dev/null +++ b/pages.es/windows/gpupdate.md @@ -0,0 +1,20 @@ +# gpupdate + +> Verifica y aplica la configuración de Directivas de Grupo de Windows. +> Más información: . + +- Verifica y aplica la configuración de Directivas de Grupo actualizadas: + +`gpupdate` + +- Especifica la configuración de Directivas de Grupo objetivo para verificar actualizaciones: + +`gpupdate /target:{{computadora|usuario}}` + +- Fuerza a que se reapliquen todas las configuraciones de Directivas de Grupo: + +`gpupdate /force` + +- Muestra ayuda: + +`gpupdate /?` diff --git a/pages.es/windows/if.md b/pages.es/windows/if.md new file mode 100644 index 00000000000000..59d39bc6aa500b --- /dev/null +++ b/pages.es/windows/if.md @@ -0,0 +1,32 @@ +# if + +> Realiza procesamiento condicional en scripts por lotes. +> Más información: . + +- Ejecuta los comandos especificados si la condición es verdadera: + +`if {{condición}} ({{echo La condición es verdadera}})` + +- Ejecuta los comandos especificados si la condición es falsa: + +`if not {{condición}} ({{echo La condición es verdadera}})` + +- Ejecuta los primeros comandos especificados si la condición es verdadera, de lo contrario, ejecuta los segundos comandos especificados: + +`if {{condición}} ({{echo La condición es verdadera}}) else ({{echo La condición es falsa}})` + +- Verifica si `%errorlevel%` es mayor o igual al código de salida especificado: + +`if errorlevel {{2}} ({{echo La condición es verdadera}})` + +- Verifica si dos cadenas son iguales: + +`if %{{variable}}% == {{cadena}} ({{echo La condición es verdadera}})` + +- Verifica si dos cadenas son iguales sin respetar el caso de las letras: + +`if /i %{{variable}}% == {{cadena}} ({{echo La condición es verdadera}})` + +- Verifica si un archivo existe: + +`if exist {{ruta\al\archivo}} ({{echo La condición es verdadera}})` diff --git a/pages.es/windows/install-module.md b/pages.es/windows/install-module.md new file mode 100644 index 00000000000000..40edc09c41e7b4 --- /dev/null +++ b/pages.es/windows/install-module.md @@ -0,0 +1,36 @@ +# Install-Module + +> Instala módulos de PowerShell desde PowerShell Gallery, NuGet y otros repositorios. +> Más información: . + +- Instala un módulo o lo actualiza a la última versión disponible: + +`Install-Module {{módulo}}` + +- Instala un módulo con una versión específica: + +`Install-Module {{módulo}} -RequiredVersion {{versión}}` + +- Instala un módulo no anterior a una versión específica: + +`Install-Module {{módulo}} -MinimumVersion {{versión}}` + +- Especifica un rango de versiones compatibles (inclusive) del módulo requerido: + +`Install-Module {{módulo}} -MinimumVersion {{versión_mínima}} -MaximumVersion {{versión_máxima}}` + +- Instala el módulo desde un repositorio específico: + +`Install-Module {{módulo}} -Repository {{repositorio}}` + +- Instala el módulo desde repositorios específicos: + +`Install-Module {{módulo}} -Repository {{repositorio1 , repositorio2 , ...}}` + +- Instala el módulo para todos/usuario actual: + +`Install-Module {{módulo}} -Scope {{AllUsers|CurrentUser}}` + +- Realiza una simulación para determinar qué módulos se instalarán, actualizarán o eliminarán a través de `Install-Module`: + +`Install-Module {{módulo}} -WhatIf` diff --git a/pages.es/windows/invoke-item.md b/pages.es/windows/invoke-item.md new file mode 100644 index 00000000000000..51e57f1bf8a138 --- /dev/null +++ b/pages.es/windows/invoke-item.md @@ -0,0 +1,29 @@ +# Invoke-Item + +> Abre archivos en sus respectivos programas predeterminados. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Abre un archivo en su programa predeterminado: + +`Invoke-Item -Path {{ruta\al\archivo}}` + +- Abre todos los archivos dentro de un directorio: + +`Invoke-Item -Path {{ruta\al\directorio}}\*` + +- Abre todos los PNG dentro de un directorio: + +`Invoke-Item -Path {{ruta\al\directorio}}\*.png` + +- Abre todos los archivos dentro de un directorio que contengan una palabra clave específica: + +`Invoke-Item -Path {{ruta\al\directorio}}\* -Include {{*palabra_clave*}}` + +- Abre todos los archivos dentro de un directorio excepto aquellos que contengan una palabra clave específica: + +`Invoke-Item -Path {{ruta\al\directorio}}\* -Exclude {{*palabra_clave*}}` + +- Realiza una simulación para determinar qué archivos se abrirán dentro de un directorio a través de `Invoke-Item`: + +`Invoke-Item -Path {{ruta\al\directorio}}\* -WhatIf` diff --git a/pages.es/windows/invoke-webrequest.md b/pages.es/windows/invoke-webrequest.md new file mode 100644 index 00000000000000..c1484757160dc5 --- /dev/null +++ b/pages.es/windows/invoke-webrequest.md @@ -0,0 +1,25 @@ +# Invoke-WebRequest + +> Realiza una solicitud HTTP/HTTPS a la Web. +> Nota: Este comando solo se puede utilizar a través de PowerShell. +> Más información: . + +- Descarga el contenido de una URL a un archivo: + +`Invoke-WebRequest {{http://example.com}} -OutFile {{ruta\al\archivo}}` + +- Envía datos codificados para formularios (solicitud POST de tipo `application/x-www-form-urlencoded`): + +`Invoke-WebRequest -Method Post -Body @{ name='roberto' } {{http://example.com/form}}` + +- Envía una solicitud con un encabezado adicional, utilizando un método HTTP personalizado: + +`Invoke-WebRequest -Headers {{@{ X-My-Header = '123' }}} -Method {{PUT}} {{http://example.com}}` + +- Envía datos en formato JSON, especificando el encabezado tipo de contenido (content-type) adecuado: + +`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}` + +- Pasa un nombre de usuario y contraseña para autenticación ante el servidor: + +`Invoke-WebRequest -Headers @{ Authorization = "Basic "+ [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("myusername:mypassword")) } {{http://example.com}}` diff --git a/pages.es/windows/ipconfig.md b/pages.es/windows/ipconfig.md new file mode 100644 index 00000000000000..b524252ade8298 --- /dev/null +++ b/pages.es/windows/ipconfig.md @@ -0,0 +1,28 @@ +# ipconfig + +> Muestra y gestiona la configuración de red de Windows. +> Más información: . + +- Lista todos los adaptadores de red: + +`ipconfig` + +- Muestra una lista detallada de los adaptadores de red: + +`ipconfig /all` + +- Renueva las direcciones IP para un adaptador de red: + +`ipconfig /renew {{adaptador}}` + +- Libera las direcciones IP para un adaptador de red: + +`ipconfig /release {{adaptador}}` + +- Muestra la caché DNS local: + +`ipconfig /displaydns` + +- Elimina todos los datos de la caché DNS local: + +`ipconfig /flushdns` diff --git a/pages.es/windows/iscc.md b/pages.es/windows/iscc.md new file mode 100644 index 00000000000000..53633339122597 --- /dev/null +++ b/pages.es/windows/iscc.md @@ -0,0 +1,17 @@ +# iscc + +> Compilador para instaladores de Inno Setup. +> Compila scripts de Inno Setup en un ejecutable de instalador de Windows. +> Más información: . + +- Compila un script de Inno Setup: + +`iscc {{ruta\al\archivo.iss}}` + +- Compila un instalador de Inno Setup de forma silenciosa: + +`iscc /Q {{ruta\al\archivo.iss}}` + +- Compila un instalador de Inno Setup firmado: + +`iscc /S={{nombre}}={{comando}} {{ruta\al\archivo.iss}}` diff --git a/pages.es/windows/iwr.md b/pages.es/windows/iwr.md new file mode 100644 index 00000000000000..e9ad6d1218e17c --- /dev/null +++ b/pages.es/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> En Powershell este comando es un alias de `invoke-webrequest`. + +- Vea la documentación del comando original: + +`tldr invoke-webrequest` diff --git a/pages.es/windows/logoff.md b/pages.es/windows/logoff.md new file mode 100644 index 00000000000000..4d072afbd3c15d --- /dev/null +++ b/pages.es/windows/logoff.md @@ -0,0 +1,16 @@ +# logoff + +> Termina una sesión de inicio de sesión. +> Más información: . + +- Termina la sesión actual: + +`logoff` + +- Termina una sesión por su nombre o ID: + +`logoff {{nombre_sesión|id_sesión}}` + +- Termina una sesión en un servidor específico conectado a través de RDP: + +`logoff {{nombre_sesión|id_sesión}} /server:{{nombre_servidor}}` diff --git a/pages.es/windows/measure-command.md b/pages.es/windows/measure-command.md new file mode 100644 index 00000000000000..dc34bb6b86dea8 --- /dev/null +++ b/pages.es/windows/measure-command.md @@ -0,0 +1,13 @@ +# Measure-Command + +> Mide el tiempo que tarda en ejecutarse bloques de script y cmdlets. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Mide el tiempo que tarda en ejecutarse un comando: + +`Measure-Command { {{comando}} }` + +- Pasa la entrada a Measure-Command (los objetos que se pasan a `Measure-Command` están disponibles para el bloque de script que se pasa al parámetro Expression): + +`10, 20, 50 | Measure-Command -Expression { for ($i=0; $i -lt $_; $i++) {$i} }` diff --git a/pages.es/windows/measure-object.md b/pages.es/windows/measure-object.md new file mode 100644 index 00000000000000..9bdd1cf157c234 --- /dev/null +++ b/pages.es/windows/measure-object.md @@ -0,0 +1,13 @@ +# Measure-Object + +> Calcula las propiedades numéricas de los objetos, así como los caracteres, palabras y líneas en objetos de cadena, como archivos de texto. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Cuenta los archivos y carpetas en un directorio: + +`Get-ChildItem | Measure-Object` + +- Pasa la entrada a Measure-Object (los objetos que se pasan a `Measure-Object` están disponibles para el bloque de script que se pasa al parámetro Expression): + +`"Uno", "Dos", "Tres", "Cuatro" | Set-Content -Path "{{ruta\al\archivo}}"; Get-Content "{{ruta\al\archivo}}"; | Measure-Object -Character -Line -Word` diff --git a/pages.es/windows/mi.md b/pages.es/windows/mi.md new file mode 100644 index 00000000000000..f56b953a05528f --- /dev/null +++ b/pages.es/windows/mi.md @@ -0,0 +1,7 @@ +# mi + +> En PowerShell, este comando es un alias de `Move-Item`. + +- Ver la documentación para el comando original: + +`tldr move-item` diff --git a/pages.es/windows/microsoft-edge.md b/pages.es/windows/microsoft-edge.md new file mode 100644 index 00000000000000..f1c416c6acecb1 --- /dev/null +++ b/pages.es/windows/microsoft-edge.md @@ -0,0 +1,12 @@ +# microsoft-edge + +> La utilidad de línea de comandos de Microsoft Edge está disponible como `msedge` en Windows y `microsoft-edge` para otras plataformas. +> Más información: . + +- Ver la documentación para Microsoft Edge en Windows: + +`tldr {{[-p|--platform]}} windows msedge` + +- Ver la documentación para Microsoft Edge en otras plataformas: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages.es/windows/mimikatz-crypto.md b/pages.es/windows/mimikatz-crypto.md new file mode 100644 index 00000000000000..d4b1c7d940cde0 --- /dev/null +++ b/pages.es/windows/mimikatz-crypto.md @@ -0,0 +1,16 @@ +# mimikatz crypto + +> Manipula los servicios criptográficos y certificados de Windows. +> Más información: . + +- Lista proveedores criptográficos: + +`mimikatz "crypto::providers"` + +- Lista claves en un proveedor criptográfico: + +`mimikatz "crypto::capi"` + +- Exporta certificados y claves: + +`mimikatz "crypto::certificates /export"` diff --git a/pages.es/windows/mkdir.md b/pages.es/windows/mkdir.md new file mode 100644 index 00000000000000..4c1ba674a98aa5 --- /dev/null +++ b/pages.es/windows/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> Crea un directorio. +> Más información: . + +- Crea un directorio: + +`mkdir {{ruta\al\directorio}}` + +- Crea un árbol de directorios anidado de forma recursiva: + +`mkdir {{ruta\al\sub_directorio}}` diff --git a/pages.es/windows/mklink.md b/pages.es/windows/mklink.md new file mode 100644 index 00000000000000..a3c81277bcc7ee --- /dev/null +++ b/pages.es/windows/mklink.md @@ -0,0 +1,20 @@ +# mklink + +> Crea enlaces simbólicos. +> Más información: . + +- Crea un enlace simbólico a un archivo: + +`mklink {{ruta\al\archivo_enlace}} {{ruta\al\archivo_fuente}}` + +- Crea un enlace simbólico a un directorio: + +`mklink /d {{ruta\al\directorio_enlace}} {{ruta\al\directorio_fuente}}` + +- Crea un enlace duro a un archivo: + +`mklink /h {{ruta\al\archivo_enlace}} {{ruta\al\archivo_fuente}}` + +- Crea un punto de unión de directorio: + +`mklink /j {{ruta\al\directorio_enlace}} {{ruta\al\archivo_fuente}}` diff --git a/pages.es/windows/more.md b/pages.es/windows/more.md new file mode 100644 index 00000000000000..1ec62107f79236 --- /dev/null +++ b/pages.es/windows/more.md @@ -0,0 +1,32 @@ +# more + +> Muestra la salida paginada desde `stdin` o un archivo. +> Más información: . + +- Muestra la salida paginada desde `stdin`: + +`{{echo prueba}} | more` + +- Muestra la salida paginada desde uno o más archivos: + +`more {{ruta\al\archivo}}` + +- Convierte tabulaciones al número especificado de espacios: + +`more {{ruta\al\archivo}} /t{{espacios}}` + +- Limpia la pantalla antes de mostrar la página: + +`more {{ruta\al\archivo}} /c` + +- Muestra la salida comenzando en la línea 5: + +`more {{ruta\al\archivo}} +{{5}}` + +- Habilita el modo interactivo extendido (consulta la ayuda para su uso): + +`more {{ruta\al\archivo}} /e` + +- Muestra ayuda: + +`more /?` diff --git a/pages.es/windows/mount.md b/pages.es/windows/mount.md new file mode 100644 index 00000000000000..52652a092885d9 --- /dev/null +++ b/pages.es/windows/mount.md @@ -0,0 +1,32 @@ +# mount + +> Monta recursos compartidos de red del sistema de archivos de red (NFS). +> Más información: . + +- Monta un recurso compartido en la letra de unidad "Z": + +`mount \\{{nombre_computadora}}\{{nombre_recurso_compartido}} {{Z:}}` + +- Monta un recurso compartido en la siguiente letra de unidad disponible: + +`mount \\{{nombre_computadora}}\{{nombre_recurso_compartido}} *` + +- Monta un recurso compartido con un tiempo de espera de lectura en segundos (por defecto es 0.8, puede ser de 0.9 a 1 a 60): + +`mount -o timeout={{segundos}} \\{{nombre_computadora}}\{{nombre_recurso_compartido}} {{Z:}}` + +- Monta un recurso compartido y reintenta hasta 10 veces si falla: + +`mount -o retry=10 \\{{nombre_computadora}}\{{nombre_recurso_compartido}} {{Z:}}` + +- Monta un recurso compartido con sensibilidad a mayúsculas forzada: + +`mount -o casesensitive \\{{nombre_computadora}}\{{nombre_recurso_compartido}} {{Z:}}` + +- Monta un recurso compartido como un usuario anónimo: + +`mount -o anon \\{{nombre_computadora}}\{{nombre_recurso_compartido}} {{Z:}}` + +- Monta un recurso compartido utilizando un tipo de montaje específico: + +`mount -o mtype={{soft|hard}} \\{{nombre_computadora}}\{{nombre_recurso_compartido}} {{Z:}}` diff --git a/pages.es/windows/move-item.md b/pages.es/windows/move-item.md new file mode 100644 index 00000000000000..bd95a1e9d48765 --- /dev/null +++ b/pages.es/windows/move-item.md @@ -0,0 +1,37 @@ +# Move-Item + +> Mueve o renombra archivos, directorios, claves del registro y otros elementos de datos de PowerShell. +> Este comando solo se puede ejecutar a través de PowerShell. +> Más información: . + +- Renombra un archivo o directorio cuando el destino no es un directorio existente: + +`Move-Item {{ruta\al\origen}} {{ruta\al\destino}}` + +- Mueve un archivo o directorio a un directorio existente: + +`Move-Item {{ruta\al\origen}} {{ruta\al\directorio_existente}}` + +- Renombra o mueve archivo(s) con un nombre específico (no trata caracteres especiales dentro de cadenas): + +`Move-Item -LiteralPath "{{ruta\al\origen}}" {{ruta\al\archivo_o_directorio}}` + +- Mueve múltiples archivos a un directorio existente, manteniendo los nombres de archivo sin cambios: + +`Move-Item {{ruta\al\origen1 , ruta\al\origen2 ...}} {{ruta\al\directorio_existente}}` + +- Mueve o renombra clave(s) del registro: + +`Move-Item {{ruta\al\clave_origen1 , ruta\al\clave_origen2 ...}} {{ruta\al\clave_nueva_o_existente}}` + +- No solicitar confirmación antes de sobrescribir archivos o claves del registro existentes: + +`mv -Force {{ruta\al\origen}} {{ruta\al\destino}}` + +- Solicitar confirmación antes de sobrescribir archivos existentes, independientemente de los permisos de archivo: + +`mv -Confirm {{ruta\al\origen}} {{ruta\al\destino}}` + +- Mueve archivos en modo de simulación, mostrando archivos y directorios que podrían ser movidos sin ejecutarlos: + +`mv -WhatIf {{ruta\al\origen}} {{ruta\al\destino}}` diff --git a/pages.es/windows/move.md b/pages.es/windows/move.md new file mode 100644 index 00000000000000..0df1bad014c7be --- /dev/null +++ b/pages.es/windows/move.md @@ -0,0 +1,29 @@ +# move + +> Mover o renombrar archivos y directorios. +> En PowerShell, este comando es un alias de `Move-Item`. Esta documentación se basa en la versión de `move` del Símbolo del sistema (`cmd`). +> Más información: . + +- Ver la documentación del comando equivalente de PowerShell: + +`tldr move-item` + +- Renombrar un archivo o directorio cuando el destino no es un directorio existente: + +`move {{ruta\al\origen}} {{ruta\al\destino}}` + +- Mover un archivo o directorio a un directorio existente: + +`move {{ruta\al\origen}} {{ruta\al\directorio_existente}}` + +- Mover un archivo o directorio entre unidades: + +`move {{C:\ruta\al\origen}} {{D:\ruta\al\destino}}` + +- No solicitar confirmación antes de sobrescribir archivos existentes: + +`move /Y {{ruta\al\origen}} {{ruta\al\directorio_existente}}` + +- Solicitar confirmación antes de sobrescribir archivos existentes, independientemente de los permisos de archivo: + +`move /-Y {{ruta\al\origen}} {{ruta\al\directorio_existente}}` diff --git a/pages.es/windows/msedge.md b/pages.es/windows/msedge.md new file mode 100644 index 00000000000000..50470d8a5dd232 --- /dev/null +++ b/pages.es/windows/msedge.md @@ -0,0 +1,38 @@ +# msedge + +> Navegador web moderno desarrollado por Microsoft basado en el navegador web Chromium desarrollado por Google. +> Este comando está disponible como `microsoft-edge` en otras plataformas. +> Nota: Argumentos adicionales del comando de `chromium` también pueden ser utilizables para controlar Microsoft Edge. +> Más información: . + +- Abrir una URL o archivo específico: + +`msedge {{https://ejemplo.com|ruta/al/archivo.html}}` + +- Abrir en modo InPrivate: + +`msedge --inprivate {{ejemplo.com}}` + +- Abrir en una nueva ventana: + +`msedge --new-window {{ejemplo.com}}` + +- Abrir en modo aplicación (sin barras de herramientas, barra de URL, botones, etc.): + +`msedge --app {{https://ejemplo.com}}` + +- Usar un servidor proxy: + +`msedge --proxy-server "{{socks5://hostname:66}}" {{ejemplo.com}}` + +- Abrir con un directorio de perfil personalizado: + +`msedge --user-data-dir {{ruta/al/directorio}}` + +- Abrir sin validación CORS (útil para probar una API): + +`msedge --user-data-dir {{ruta/al/directorio}} --disable-web-security` + +- Abrir con una ventana de DevTools para cada pestaña abierta: + +`msedge --auto-open-devtools-for-tabs` diff --git a/pages.es/windows/msg.md b/pages.es/windows/msg.md new file mode 100644 index 00000000000000..cf02325b5d4c44 --- /dev/null +++ b/pages.es/windows/msg.md @@ -0,0 +1,24 @@ +# msg + +> Enviar un mensaje a un usuario o sesión. +> Más información: . + +- Envía un mensaje a un usuario o sesión especificada: + +`msg {{nombre_de_usuario|nombre_de_sesión|id_de_sesión}} {{mensaje}}` + +- Envía un mensaje desde `stdin`: + +`echo "{{mensaje}}" | msg {{nombre_de_usuario|nombre_de_sesión|id_de_sesión}}` + +- Envía un mensaje a un servidor específico: + +`msg /server:{{nombre_del_servidor}} {{nombre_de_usuario|nombre_de_sesión|id_de_sesión}}` + +- Envía un mensaje a todos los usuarios de la máquina actual: + +`msg *` + +- Establece un retraso en segundos para un mensaje: + +`msg /time:{{10}}` diff --git a/pages.es/windows/msiexec.md b/pages.es/windows/msiexec.md new file mode 100644 index 00000000000000..7df6f83c9a0f65 --- /dev/null +++ b/pages.es/windows/msiexec.md @@ -0,0 +1,20 @@ +# msiexec + +> Instala, actualiza, repara o desinstala programas de Windows utilizando archivos de paquetes MSI y MSP. +> Más información: . + +- Instala un programa desde su paquete MSI: + +`msiexec /package {{ruta\al\archivo.msi}}` + +- Instala un paquete MSI desde un sitio web: + +`msiexec /package {{https://ejemplo.com/instalador.msi}}` + +- Instala un archivo de parche MSP: + +`msiexec /update {{ruta\al\archivo.msp}}` + +- Desinstala un programa o parche utilizando su respectivo archivo MSI o MSP: + +`msiexec /uninstall {{ruta\al\archivo}}` diff --git a/pages.es/windows/mv.md b/pages.es/windows/mv.md new file mode 100644 index 00000000000000..ea4bb95cf01a43 --- /dev/null +++ b/pages.es/windows/mv.md @@ -0,0 +1,12 @@ +# mv + +> En PowerShell, este comando es un alias de `Move-Item`. +> Sin embargo, este comando no está disponible en el Símbolo del sistema (`cmd`). Usa `move` en su lugar para una funcionalidad similar. + +- Ver la documentación del comando equivalente del Símbolo del sistema: + +`tldr move` + +- Ver la documentación del comando original de PowerShell: + +`tldr move-item` diff --git a/pages.es/windows/net.md b/pages.es/windows/net.md new file mode 100644 index 00000000000000..08c8260acd3d6a --- /dev/null +++ b/pages.es/windows/net.md @@ -0,0 +1,36 @@ +# net + +> Utilidad del sistema para ver y modificar configuraciones relacionadas con la red. +> Más información: . + +- Inicia o detiene un servicio de Windows de forma sincrónica: + +`net {{start|stop}} {{servicio}}` + +- Se asegura que un recurso compartido SMB esté disponible en la consola actual: + +`net use {{\\carpeta_compartida_smb}} /USER:{{nombre_de_usuario}}` + +- Muestra las carpetas actualmente compartidas a través de SMB: + +`net share` + +- Muestra quién está utilizando tus recursos compartidos SMB (ejecutar en consola elevada): + +`net session` + +- Muestra usuarios en un grupo de seguridad local: + +`net localgroup "{{Administradores}}"` + +- Agrega un usuario al grupo de seguridad local (ejecutar en consola elevada): + +`net localgroup "{{Administradores}}" {{nombre_de_usuario}} /add` + +- Muestra ayuda para un subcomando: + +`net help {{subcomando}}` + +- Muestra la ayuda: + +`net help` diff --git a/pages.es/windows/netsh-interface-portproxy.md b/pages.es/windows/netsh-interface-portproxy.md new file mode 100644 index 00000000000000..436b6a4dc83bba --- /dev/null +++ b/pages.es/windows/netsh-interface-portproxy.md @@ -0,0 +1,20 @@ +# netsh interface portproxy + +> Configurar y mostrar el estado de varios componentes de red. +> Más información: . + +- Mostrar la configuración actual de reenvío de puertos: + +`netsh interface portproxy show all` + +- Configurar el reenvío de puertos IPv4 (ejecutar en consola elevada): + +`netsh interface portproxy add v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}} connectaddress={{10.0.0.1}} connectport={{80}}` + +- Eliminar el reenvío de puertos IPv4 (ejecutar en consola elevada): + +`netsh interface portproxy delete v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}}` + +- Mostrar ayuda: + +`netsh interface portproxy` diff --git a/pages.es/windows/netstat.md b/pages.es/windows/netstat.md new file mode 100644 index 00000000000000..4c527bbccad128 --- /dev/null +++ b/pages.es/windows/netstat.md @@ -0,0 +1,36 @@ +# netstat + +> Muestra conexiones TCP activas, puertos en los que la computadora está escuchando, estadísticas del adaptador de red, la tabla de enrutamiento IP, estadísticas de IPv4 y estadísticas de IPv6. +> Más información: . + +- Muestra conexiones TCP activas: + +`netstat` + +- Muestra todas las conexiones TCP activas y los puertos TCP y UDP en los que la computadora está escuchando: + +`netstat -a` + +- Muestra estadísticas del adaptador de red, como el número de bytes y paquetes enviados y recibidos: + +`netstat -e` + +- Muestra conexiones TCP activas y expresa direcciones y números de puerto numéricamente: + +`netstat -n` + +- Muestra conexiones TCP activas e incluye el ID del proceso (PID) para cada conexión: + +`netstat -o` + +- Muestra el contenido de la tabla de enrutamiento IP: + +`netstat -r` + +- Muestra estadísticas por protocolo: + +`netstat -s` + +- Muestra una lista de puertos actualmente abiertos y direcciones IP relacionadas: + +`netstat -an` diff --git a/pages.es/windows/new-item.md b/pages.es/windows/new-item.md new file mode 100644 index 00000000000000..69409d079e13c3 --- /dev/null +++ b/pages.es/windows/new-item.md @@ -0,0 +1,33 @@ +# New-Item + +> Crear un nuevo archivo, directorio, enlace simbólico o una entrada de registro. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Crear un nuevo archivo en blanco (equivalente a `touch`): + +`New-Item {{ruta\al\archivo}}` + +- Crear un nuevo directorio: + +`New-Item -ItemType Directory {{ruta\al\directorio}}` + +- Escribir un nuevo archivo de texto con el contenido especificado: + +`New-Item {{ruta\al\archivo}} -Value {{contenido}}` + +- Escribir el mismo archivo de texto en múltiples ubicaciones: + +`New-Item {{ruta\al\archivo1 , ruta\al\archivo2 , ...}} -Value {{contenido}}` + +- Crear un enlace simbólico\enlace duro\unión a un archivo o directorio: + +`New-Item -ItemType {{SymbolicLink|HardLink|Junction}} -Path {{ruta\al\archivo_enlace}} -Target {{ruta\al\archivo_o_directorio_fuente}}` + +- Crear una nueva entrada de registro en blanco (en REG_SZ, usar `New-ItemProperty` o `Set-ItemProperty` para ajustar el tipo de valor): + +`New-Item {{ruta\al\clave_de_registro}}` + +- Crear una nueva entrada de registro en blanco con un valor especificado: + +`New-Item {{ruta\al\clave_de_registro}} -Value {{valor}}` diff --git a/pages.es/windows/nfsstat.md b/pages.es/windows/nfsstat.md new file mode 100644 index 00000000000000..f1edfb2045da79 --- /dev/null +++ b/pages.es/windows/nfsstat.md @@ -0,0 +1,12 @@ +# nfsstat + +> Muestra o restablece el número de llamadas realizadas al servidor NFS. +> Más información: . + +- Muestra el número registrado de llamadas realizadas al servidor NFS: + +`nfsstat` + +- Restablece el número registrado de llamadas realizadas al servidor NFS: + +`nfsstat -z` diff --git a/pages.es/windows/ni.md b/pages.es/windows/ni.md new file mode 100644 index 00000000000000..091933caca98c3 --- /dev/null +++ b/pages.es/windows/ni.md @@ -0,0 +1,7 @@ +# ni + +> En PowerShell, este comando es un alias de `New-Item`. + +- Vea la documentación del comando original: + +`tldr new-item` diff --git a/pages.es/windows/nvm.md b/pages.es/windows/nvm.md new file mode 100644 index 00000000000000..b376ee2bb472ee --- /dev/null +++ b/pages.es/windows/nvm.md @@ -0,0 +1,25 @@ +# nvm + +> Instala, desinstala o cambia entre versiones de Node.js. +> Admite números de versión como "12.8" o "v16.13.1", y etiquetas como "stable", "system", etc. +> Más información: . + +- Instala una versión específica de Node.js: + +`nvm install {{versión_de_node}}` + +- Establece la versión por defecto de Node.js (debe ejecutarse como Administrador): + +`nvm use {{versión_de_node}}` + +- Lista todas las versiones disponibles de Node.js y destaca la versión por defecto: + +`nvm list` + +- Lista todas las versiones remotas de Node.js: + +`nvm ls-remote` + +- Desinstalación de una versión determinada de Node.js: + +`nvm uninstall {{versión_de_node}}` diff --git a/pages.es/windows/octo.md b/pages.es/windows/octo.md new file mode 100644 index 00000000000000..8aeefbb2ad887d --- /dev/null +++ b/pages.es/windows/octo.md @@ -0,0 +1,20 @@ +# octo + +> Herramientas de línea de comandos para Octopus Deploy. +> Más información: . + +- Crea un paquete: + +`octo pack --id {{package}}` + +- Sube un paquete a un repositorio en el servidor de Octopus: + +`octo push --package {{package}}` + +- Crea una versión: + +`octo create-release --project {{project_name}} --packageversion {{version}}` + +- Despliega una versión: + +`octo deploy-release --project {{project_name}} --packageversion {{version}} --deployto {{environment_name}} --tenant {{deployment_target}}` diff --git a/pages.es/windows/ospp.vbs.md b/pages.es/windows/ospp.vbs.md new file mode 100644 index 00000000000000..8a1a7aaa346741 --- /dev/null +++ b/pages.es/windows/ospp.vbs.md @@ -0,0 +1,29 @@ +# ospp.vbs + +> Instala, activa y administra versiones con licencia por volumen de productos Microsoft Office. +> Nota: este comando puede anular, desactivar y/o eliminar tu volumen actual de versiones de productos Office con licencia, así que procede con cautela. +> Más información: . + +- Instala una clave de producto (Nota: sustituye a la clave existente): + +`cscript ospp.vbs /inpkey:{{clave_producto}}` + +- Desinstala una clave de producto instalada con los cinco últimos dígitos de la clave de producto: + +`cscript ospp.vbs /unpkey:{{clave_producto}}` + +- Establece un nombre de host KMS: + +`cscript ospp.vbs /sethst:{{ip|nombre_host}}` + +- Establece un puerto KMS: + +`cscript ospp.vbs /setprt:{{puerto}}` + +- Activa las claves de producto de Office instaladas: + +`cscript ospp.vbs /act` + +- Muestra la información de licencia de las claves de producto instaladas: + +`cscript ospp.vbs /dstatus` diff --git a/pages.es/windows/out-string.md b/pages.es/windows/out-string.md new file mode 100644 index 00000000000000..682f3ab1899d70 --- /dev/null +++ b/pages.es/windows/out-string.md @@ -0,0 +1,17 @@ +# Out-String + +> Salida de objetos de entrada como una cadena. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Imprimir información del host como cadena: + +`Get-Alias | Out-String` + +- Convertir cada objeto a una cadena en lugar de concatenar todos los objetos en una sola cadena: + +`Get-Alias | Out-String -Stream` + +- Usar el parámetro `Width` (Ancho) para evitar la truncación: + +`@{TestKey = ('x' * 200)} | Out-String -Width {{250}}` diff --git a/pages.es/windows/pabcnetcclear.md b/pages.es/windows/pabcnetcclear.md new file mode 100644 index 00000000000000..c71a12c2272b3b --- /dev/null +++ b/pages.es/windows/pabcnetcclear.md @@ -0,0 +1,24 @@ +# pabcnetcclear + +> Preprocesar y compilar archivos fuente de PascalABC.NET. +> Más información: . + +- Compilar el archivo fuente especificado en un ejecutable con el mismo nombre: + +`pabcnetcclear {{ruta\al\archivo_fuente.pas}}` + +- Compilar el archivo fuente especificado en un ejecutable con el nombre especificado: + +`pabcnetcclear /Output:{{ruta\al\_archivo.exe}} {{ruta\al\archivo_fuente.pas}}` + +- Compilar el archivo fuente especificado en un ejecutable con el mismo nombre junto con/sin información de depuración: + +`pabcnetcclear /Debug:{{0|1}} {{ruta\al\archivo_fuente.pas}}` + +- Permitir que las unidades se busquen en la ruta especificada mientras se compila el archivo fuente en un ejecutable con el mismo nombre: + +`pabcnetcclear /SearchDir:{{ruta\al\directorio}} {{ruta\al\archivo_fuente.pas}}` + +- Compilar el archivo fuente especificado en un ejecutable, definiendo un símbolo: + +`pabcnetcclear /Define:{{símbolo}} {{ruta\al\archivo_fuente.pas}}` diff --git a/pages.es/windows/path.md b/pages.es/windows/path.md new file mode 100644 index 00000000000000..0eae402f6cc96b --- /dev/null +++ b/pages.es/windows/path.md @@ -0,0 +1,20 @@ +# path + +> Mostrar o establecer la ruta de búsqueda para archivos ejecutables. +> Más información: . + +- Muestra la ruta actual: + +`path` + +- Establece la ruta a uno o más directorios separados por punto y coma: + +`path {{ruta\al\directorio1 ruta\al\directorio2 ...}}` + +- Agrega un nuevo directorio a la ruta original: + +`path {{ruta\al\directorio}};%path%` + +- Establece el símbolo del sistema para que solo busque en el directorio actual archivos ejecutables: + +`path ;` diff --git a/pages.es/windows/pathping.md b/pages.es/windows/pathping.md new file mode 100644 index 00000000000000..b14ee277ddb3f6 --- /dev/null +++ b/pages.es/windows/pathping.md @@ -0,0 +1,36 @@ +# pathping + +> Una herramienta de traza de ruta que combina características de `ping` y `tracert`. +> Más información: . + +- Hacer ping y trazar la ruta a un host: + +`pathping {{nombre_del_host}}` + +- No realizar la búsqueda inversa de la dirección IP al nombre de host: + +`pathping {{nombre_del_host}} -n` + +- Especificar el número máximo de saltos para buscar el objetivo (el valor predeterminado es 30): + +`pathping {{nombre_del_host}} -h {{max_hops}}` + +- Especificar los milisegundos a esperar entre pings (el valor predeterminado es 240): + +`pathping {{nombre_del_host}} -p {{tiempo}}` + +- Especificar el número de consultas por salto (el valor predeterminado es 100): + +`pathping {{nombre_del_host}} -q {{consultas}}` + +- Forzar el uso de IPV4: + +`pathping {{nombre_del_host}} -4` + +- Forzar el uso de IPV6: + +`pathping {{nombre_del_host}} -6` + +- Mostrar ayuda: + +`pathping /?` diff --git a/pages.es/windows/pipwin.md b/pages.es/windows/pipwin.md new file mode 100644 index 00000000000000..58ef92f09c173d --- /dev/null +++ b/pages.es/windows/pipwin.md @@ -0,0 +1,28 @@ +# pipwin + +> Una herramienta para instalar binarios de paquetes de Python no oficiales en Windows. +> Más información: . + +- Listar todos los paquetes disponibles para descargar: + +`pipwin list` + +- Buscar paquetes: + +`pipwin search {{nombre_parcial|nombre}}` + +- Instalar un paquete: + +`pipwin install {{paquete}}` + +- Desinstalar un paquete: + +`pipwin uninstall {{paquete}}` + +- Descargar un paquete a un directorio específico: + +`pipwin download --dest {{ruta\al\directorio}} {{paquete}}` + +- Instalar paquetes de acuerdo a `requirements.txt`: + +`pipwin install --file {{ruta\al\requirements.txt}}` diff --git a/pages.es/windows/popd.md b/pages.es/windows/popd.md new file mode 100644 index 00000000000000..711c4ef0825ca8 --- /dev/null +++ b/pages.es/windows/popd.md @@ -0,0 +1,8 @@ +# popd + +> Cambia el directorio actual al directorio almacenado por el comando `pushd`. +> Más información: . + +- Cambiar al directorio en la parte superior de la pila: + +`popd` diff --git a/pages.es/windows/powershell.md b/pages.es/windows/powershell.md new file mode 100644 index 00000000000000..add1b9d8412128 --- /dev/null +++ b/pages.es/windows/powershell.md @@ -0,0 +1,37 @@ +# powershell + +> Shell de línea de comandos y lenguaje de scripting diseñado especialmente para la administración del sistema. +> Este comando se refiere a la versión 5.1 de PowerShell y anteriores (también conocida como Windows PowerShell heredada). Para usar la versión más nueva y multiplataforma de PowerShell (también conocida como PowerShell Core), usa `pwsh` en lugar de `powershell`. +> Más información: . + +- Iniciar una sesión interactiva de shell: + +`powershell` + +- Iniciar una sesión interactiva de shell sin cargar configuraciones de inicio: + +`powershell -NoProfile` + +- Ejecutar comandos específicos: + +`powershell -Command "{{echo 'powershell se está ejecutando'}}"` + +- Ejecutar un script específico: + +`powershell -File {{ruta/al/script.ps1}}` + +- Iniciar una sesión con una versión específica de PowerShell: + +`powershell -Version {{versión}}` + +- Evitar que el shell se cierre después de ejecutar comandos de inicio: + +`powershell -NoExit` + +- Describir el formato de los datos enviados a PowerShell: + +`powershell -InputFormat {{Texto|XML}}` + +- Determinar cómo se formatea una salida de PowerShell: + +`powershell -OutputFormat {{Texto|XML}}` diff --git a/pages.es/windows/print.win.md b/pages.es/windows/print.win.md new file mode 100644 index 00000000000000..2b6e3e66ddd757 --- /dev/null +++ b/pages.es/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> Imprimir un archivo de texto en una impresora. +> Más información: . + +- Imprimir un archivo de texto en la impresora predeterminada: + +`print {{ruta\al\archivo}}` + +- Imprimir un archivo de texto en una impresora específica: + +`print /d:{{impresora}} {{ruta\al\archivo}}` diff --git a/pages.es/windows/prompt.md b/pages.es/windows/prompt.md new file mode 100644 index 00000000000000..6a5efe2f5158d2 --- /dev/null +++ b/pages.es/windows/prompt.md @@ -0,0 +1,24 @@ +# prompt + +> Cambia el aviso de estilo DOS predeterminado en una ventana de comandos. +> Más información: . + +- Restablece el aviso a la configuración predeterminada: + +`prompt` + +- Establece un aviso específico: + +`prompt {{aviso}}` + +- Cambia el aviso para mostrar la fecha actual primero: + +`prompt $D $P$G` + +- Cambia el aviso para mostrar la hora actual primero: + +`prompt $T $P$G` + +- Cambia el aviso añadiendo un texto específico primero: + +`prompt {{texto}} $P$G` diff --git a/pages.es/windows/psexec.md b/pages.es/windows/psexec.md new file mode 100644 index 00000000000000..43abe961ec756e --- /dev/null +++ b/pages.es/windows/psexec.md @@ -0,0 +1,25 @@ +# psexec + +> Ejecutar un proceso de línea de comandos en una máquina remota. +> Este es un comando avanzado y puede ser potencialmente peligroso. +> Más información: . + +- Ejecutar un comando usando `cmd` en un shell remoto: + +`psexec \\{{host_remoto}} cmd` + +- Ejecutar un comando en un host remoto (preautenticado): + +`psexec \\{{host_remoto}} -u {{nombre_de_usuario}} -p {{contraseña}}` + +- Ejecutar un comando de forma remota y enviar el resultado a un archivo: + +`psexec \\{{host_remoto}} cmd /c {{comando}} -an ^>{{ruta\al\archivo.txt}}` + +- Ejecutar un programa para interactuar con los usuarios: + +`psexec \\{{host_remoto}} -d -i {{nombre_del_programa}}` + +- Mostrar la configuración IP del host remoto: + +`psexec \\{{host_remoto}} ipconfig /all` diff --git a/pages.es/windows/psping.md b/pages.es/windows/psping.md new file mode 100644 index 00000000000000..ad44604d0b7ff1 --- /dev/null +++ b/pages.es/windows/psping.md @@ -0,0 +1,24 @@ +# psping + +> Una herramienta de ping que incluye ping TCP, medición de latencia y ancho de banda. +> Más información: . + +- Hace ping a un host usando ICMP: + +`psping {{nombre_del_host}}` + +- Hace ping a un host a través de un puerto TCP: + +`psping {{nombre_del_host}}:{{puerto}}` + +- Especifica el número de pings y lo lleva a cabo en silencio: + +`psping {{nombre_del_host}} -n {{pings}} -q` + +- Hace ping al objetivo a través de TCP 50 veces y produce un histograma de los resultados: + +`psping {{nombre_del_host}}:{{puerto}} -q -n {{50}} -h` + +- Muestra la ayuda: + +`psping /?` diff --git a/pages.es/windows/psversiontable.md b/pages.es/windows/psversiontable.md new file mode 100644 index 00000000000000..987a48cc6efb1f --- /dev/null +++ b/pages.es/windows/psversiontable.md @@ -0,0 +1,25 @@ +# PSVersionTable + +> Una variable de solo lectura (como `$PSVersionTable`) para obtener la versión actual de PowerShell. +> Este comando solo se puede ejecutar en PowerShell. +> Más información: . + +- Imprimir un resumen de la versión y edición de PowerShell actualmente instaladas: + +`$PSVersionTable` + +- Obtener el número de versión detallado (mayor, menor, compilación y revisión) de PowerShell: + +`$PSVersionTable.PSVersion` + +- Listar todas las versiones de script de PowerShell compatibles que esta versión de PowerShell admite: + +`$PSVersionTable.PSCompatibleVersions` + +- Obtener el ID del último commit de Git en el que se basa la versión de PowerShell actualmente instalada (funciona en PowerShell 6.0 y posteriores): + +`$PSVersionTable.GitCommitId` + +- Verificar si el usuario está ejecutando PowerShell Core (6.0 o posterior) o la "Windows PowerShell" original (versión 5.1 o anterior): + +`$PSVersionTable.PSEdition` diff --git a/pages.es/windows/pswindowsupdate.md b/pages.es/windows/pswindowsupdate.md new file mode 100644 index 00000000000000..29a2cf7443f6be --- /dev/null +++ b/pages.es/windows/pswindowsupdate.md @@ -0,0 +1,13 @@ +# PSWindowsUpdate + +> Un módulo externo de PowerShell para gestionar Windows Update. +> Esta herramienta proporciona múltiples comandos que solo se pueden ejecutar a través de PowerShell. +> Más información: . + +- Instalar el módulo usando `Install-Module`: + +`Install-Module PSWindowsUpdate` + +- Listar todos los comandos disponibles en el módulo: + +`Get-Command -Module PSWindowsUpdate` diff --git a/pages.es/windows/pushd.md b/pages.es/windows/pushd.md new file mode 100644 index 00000000000000..d203dd49b11feb --- /dev/null +++ b/pages.es/windows/pushd.md @@ -0,0 +1,9 @@ +# pushd + +> Colocar un directorio en una pila para que pueda ser accedido más tarde. +> Ver también `popd` para volver al directorio original. +> Más información: . + +- Cambiar al directorio y colocarlo en la pila: + +`pushd {{ruta\al\directorio}}` diff --git a/pages.es/windows/pwd.md b/pages.es/windows/pwd.md new file mode 100644 index 00000000000000..9d7d8dd0812d99 --- /dev/null +++ b/pages.es/windows/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> En PowerShell, este comando es un alias de `Get-Location`. +> Sin embargo, este comando no está disponible en el Símbolo del sistema (`cmd`). Usa `cd` en su lugar para una funcionalidad similar. + +- Ver la documentación del comando equivalente del Símbolo del sistema: + +`tldr cd` + +- Ver la documentación del comando original de PowerShell: + +`tldr get-location` diff --git a/pages.es/windows/pwlauncher.md b/pages.es/windows/pwlauncher.md new file mode 100644 index 00000000000000..067533d1350c1b --- /dev/null +++ b/pages.es/windows/pwlauncher.md @@ -0,0 +1,12 @@ +# pwlauncher + +> Gestionar las opciones de inicio de Windows To Go. +> Más información: . + +- Mostrar el estado actual de Windows To Go: + +`pwlauncher` + +- Habilitar o deshabilitar las opciones de inicio de Windows To Go: + +`pwlauncher /{{habilitar|deshabilitar}}` diff --git a/pages.es/windows/pwsh-where.md b/pages.es/windows/pwsh-where.md new file mode 100644 index 00000000000000..d93884753f48ef --- /dev/null +++ b/pages.es/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Este comando es un alias de `Where-Object`. + +- Vea la documentación del comando original: + +`tldr Where-Object` diff --git a/pages.es/windows/py.md b/pages.es/windows/py.md new file mode 100644 index 00000000000000..09ecf82de8a3a0 --- /dev/null +++ b/pages.es/windows/py.md @@ -0,0 +1,21 @@ +# py + +> Lanzador de Python para Windows que se ejecuta con la versión de Python especificada. +> Ver también: `python`. +> Más información: . + +- Iniciar un REPL (shell interactivo), opcionalmente con argumentos soportados por `python` (como `-c`, `-m`, etc.): + +`py {{argumentos_python}}` + +- Ejecutar un archivo Python específico: + +`py {{ruta/al/archivo.py}}` + +- Ejecutar una versión específica de Python. Si falta la versión y la variable de entorno `PYLAUNCHER_ALLOW_INSTALL` está configurada, instalar automáticamente a través de Microsoft Store o Winget: + +`py {{-2|-3.7|...}}` + +- Listar las versiones de Python instaladas: + +`py --list` diff --git a/pages.es/windows/query.md b/pages.es/windows/query.md new file mode 100644 index 00000000000000..4c78747c6609dc --- /dev/null +++ b/pages.es/windows/query.md @@ -0,0 +1,28 @@ +# query + +> Muestra información sobre sesiones de usuario y procesos. +> Más información: . + +- Muestra todas las sesiones de usuario: + +`query session` + +- Muestra las sesiones de usuario actuales en un equipo remoto: + +`query session /server:{{nombre_del_servidor}}` + +- Muestra usuarios conectados: + +`query user` + +- Muestra todas las sesiones de usuario en un equipo remoto: + +`query session /server:{{nombre_del_servidor}}` + +- Muestra todos los procesos en ejecución: + +`query process` + +- Muestra procesos en ejecución por nombre de sesión o nombre de usuario: + +`query process {{nombre_de_sesion|nombre_de_usuario}}` diff --git a/pages.es/windows/rd.md b/pages.es/windows/rd.md new file mode 100644 index 00000000000000..56890483800540 --- /dev/null +++ b/pages.es/windows/rd.md @@ -0,0 +1,11 @@ +# rd + +> Este comando es un alias de `rmdir` en la consola de comandos, y subsecuentemente de `Remove-Item` en PowerShell. + +- Vea documentación del comando original de la consola: + +`tldr rmdir` + +- Vea documentación del comando original de PowerShell: + +`tldr remove-item` diff --git a/pages.es/windows/rdpsign.md b/pages.es/windows/rdpsign.md new file mode 100644 index 00000000000000..dce01c627c4aff --- /dev/null +++ b/pages.es/windows/rdpsign.md @@ -0,0 +1,24 @@ +# rdpsign + +> Una herramienta para firmar archivos del Protocolo de Escritorio Remoto (RDP). +> Más información: . + +- Firmar un archivo RDP: + +`rdpsign {{ruta\al\archivo.rdp}}` + +- Firmar un archivo RDP utilizando un hash sha256 específico: + +`rdpsign {{ruta\al\archivo.rdp}} /sha265 {{hash}}` + +- Habilitar salida silenciosa: + +`rdpsign {{ruta\al\archivo.rdp}} /q` + +- Mostrar advertencias, mensajes y estados detallados: + +`rdpsign {{ruta\al\archivo.rdp}} /v` + +- Probar la firma mostrando la salida en `stdout` sin actualizar el archivo: + +`rdpsign {{ruta\al\archivo.rdp}} /l` diff --git a/pages.es/windows/reg-add.md b/pages.es/windows/reg-add.md new file mode 100644 index 00000000000000..c42f73109afcd8 --- /dev/null +++ b/pages.es/windows/reg-add.md @@ -0,0 +1,24 @@ +# reg add + +> Agregar nuevas claves y sus valores al registro. +> Más información: . + +- Agregar una nueva clave de registro: + +`reg add {{nombre_clave}}` + +- Agregar un nuevo [v]alor bajo una clave específica: + +`reg add {{nombre_clave}} /v {{valor}}` + +- Agregar un nuevo valor con [d]atos específicos: + +`reg add {{nombre_clave}} /d {{datos}}` + +- Agregar un nuevo valor a una clave con un [t]ipo de dato específico: + +`reg add {{nombre_clave}} /t REG_{{SZ|MULTI_SZ|DWORD_BIG_ENDIAN|DWORD|BINARY|DWORD_LITTLE_ENDIAN|LINK|FULL_RESOURCE_DESCRIPTOR|EXPAND_SZ}}` + +- [f]orzar (sin un aviso) la sobrescritura del valor de registro existente: + +`reg add {{nombre_clave}} /f` diff --git a/pages.es/windows/reg-compare.md b/pages.es/windows/reg-compare.md new file mode 100644 index 00000000000000..0f27927f99ade3 --- /dev/null +++ b/pages.es/windows/reg-compare.md @@ -0,0 +1,28 @@ +# reg compare + +> Comparar claves y sus valores en el registro. +> Más información: . + +- Comparar todos los valores bajo una clave específica con otra clave: + +`reg compare {{nombre_clave1}} {{nombre_clave2}}` + +- Comparar un [v]alor específico bajo dos claves: + +`reg compare {{nombre_clave1}} {{nombre_clave2}} /v {{valor}}` + +- Comparar todos los [s]ubclaves y valores para dos claves: + +`reg compare {{nombre_clave1}} {{nombre_clave2}} /s` + +- Solo [o]utputear las coincidencias ([s]imilares) entre las claves especificadas: + +`reg compare {{nombre_clave1}} {{nombre_clave2}} /os` + +- [o]utputear las diferencias y coincidencias ([a]mbas) entre las claves especificadas: + +`reg compare {{nombre_clave1}} {{nombre_clave2}} /oa` + +- Comparar dos claves, [o]utputando [n]ada: + +`reg compare {{nombre_clave1}} {{nombre_clave2}} /on` diff --git a/pages.es/windows/reg-copy.md b/pages.es/windows/reg-copy.md new file mode 100644 index 00000000000000..d0999d62f012e8 --- /dev/null +++ b/pages.es/windows/reg-copy.md @@ -0,0 +1,16 @@ +# reg copy + +> Copiar claves y sus valores en el registro. +> Más información: . + +- Copiar una clave de registro a una nueva ubicación de registro: + +`reg copy {{nombre_clave_antigua}} {{nombre_clave_nueva}}` + +- Copiar una clave de registro recursivamente (con todas las [s]ubclaves) a una nueva ubicación de registro: + +`reg copy {{nombre_clave_antigua}} {{nombre_clave_nueva}} /s` + +- [f]orzar (sin un aviso) la copia de una clave de registro: + +`reg copy {{nombre_clave_antigua}} {{nombre_clave_nueva}} /f` diff --git a/pages.es/windows/reg-delete.md b/pages.es/windows/reg-delete.md new file mode 100644 index 00000000000000..90343e570acf1f --- /dev/null +++ b/pages.es/windows/reg-delete.md @@ -0,0 +1,20 @@ +# reg delete + +> Eliminar claves o sus valores del registro. +> Más información: . + +- Eliminar una clave de registro específica: + +`reg delete {{nombre_clave}}` + +- Eliminar un [v]alor bajo una clave específica: + +`reg delete {{nombre_clave}} /v {{valor}}` + +- Eliminar todos [a] los [v]alores recursivamente bajo la clave especificada: + +`reg delete {{nombre_clave}} /va` + +- [f]orzar (sin un aviso) la eliminación de todos [a] los [v]alores recursivamente bajo una clave: + +`reg delete {{nombre_clave}} /f /va` diff --git a/pages.es/windows/reg-export.md b/pages.es/windows/reg-export.md new file mode 100644 index 00000000000000..f0a63996dab567 --- /dev/null +++ b/pages.es/windows/reg-export.md @@ -0,0 +1,12 @@ +# reg export + +> Exportar las subclaves y valores especificados a un archivo `.reg`. +> Más información: . + +- Exportar todas las subclaves y valores de una clave específica: + +`reg export {{nombre_clave}} {{ruta\al\archivo.reg}}` + +- Forzar (asumiendo sí [y]) la sobrescritura de un archivo existente: + +`reg export {{nombre_clave}} {{ruta\al\archivo.reg}} /y` diff --git a/pages.es/windows/reg-import.md b/pages.es/windows/reg-import.md new file mode 100644 index 00000000000000..a80b1006234b30 --- /dev/null +++ b/pages.es/windows/reg-import.md @@ -0,0 +1,8 @@ +# reg import + +> Importa todas las claves, subclaves y valores disponibles desde un archivo `.reg`. +> Más información: . + +- Importar todas las claves, subclaves y valores desde un archivo: + +`reg import {{ruta\al\archivo.reg}}` diff --git a/pages.es/windows/reg-load.md b/pages.es/windows/reg-load.md new file mode 100644 index 00000000000000..a4f3c63695d4ca --- /dev/null +++ b/pages.es/windows/reg-load.md @@ -0,0 +1,9 @@ +# reg load + +> Carga subclaves guardadas en una subclave diferente del registro. +> Nota: Esto está destinado para la solución de problemas y claves temporales. +> Más información: . + +- Carga un archivo de respaldo en la clave especificada: + +`reg load {{nombre_de_clave}} {{ruta\al\archivo.hiv}}` diff --git a/pages.es/windows/reg-query.md b/pages.es/windows/reg-query.md new file mode 100644 index 00000000000000..da7f55b1be8d7a --- /dev/null +++ b/pages.es/windows/reg-query.md @@ -0,0 +1,36 @@ +# reg query + +> Muestra los valores de claves y subclaves en el registro. +> Más información: . + +- Muestra todos los valores de una clave: + +`reg query {{nombre_de_clave}}` + +- Muestra un [v]alor específico de una clave: + +`reg query {{nombre_de_clave}} /v {{valor}}` + +- Mostrar todos los valores de una clave y sus [s]ubclaves: + +`reg query {{nombre_de_clave}} /s` + +- Buscar [f] claves y valores que coincidan con un patrón específico: + +`reg query {{nombre_de_clave}} /f "{{patrón_de_búsqueda}}"` + +- Mostrar un valor de una clave que coincida con un [t]ipo de dato específico: + +`reg query {{nombre_de_clave}} /t REG_{{SZ|MULTI_SZ|EXPAND_SZ|DWORD|BINARY|NONE}}` + +- Buscar solo en los [d]atos: + +`reg query {{nombre_de_clave}} /d` + +- Buscar solo en los nombres de clave [k]: + +`reg query {{nombre_de_clave}} /f "{{patrón_de_búsqueda}}" /k` + +- Buscar una coincidencia [e]xacta distinguiendo entre mayúsculas y minúsculas [c]: + +`reg query {{nombre_de_clave}} /c /e` diff --git a/pages.es/windows/reg-restore.md b/pages.es/windows/reg-restore.md new file mode 100644 index 00000000000000..dfbbca6262f3cd --- /dev/null +++ b/pages.es/windows/reg-restore.md @@ -0,0 +1,9 @@ +# reg restore + +> Restaura una clave y sus valores desde un archivo `.hiv` nativo. +> Consulta `reg-save` para más información. +> Más información: . + +- Sobrescribir una clave especificada con datos de un archivo de respaldo: + +`reg restore {{nombre_de_clave}} {{ruta\al\archivo.hiv}}` diff --git a/pages.es/windows/reg-save.md b/pages.es/windows/reg-save.md new file mode 100644 index 00000000000000..66c61f7fdb612b --- /dev/null +++ b/pages.es/windows/reg-save.md @@ -0,0 +1,12 @@ +# reg save + +> Guarda una clave del registro, sus subclaves y valores en un archivo `.hiv` nativo. +> Más información: . + +- Guardar una clave del registro, sus subclaves y valores en un archivo específico: + +`reg save {{nombre_de_clave}} {{ruta\al\archivo.hiv}}` + +- Sobrescribir forzosamente (asumiendo sí [y]) un archivo existente: + +`reg save {{nombre_de_clave}} {{ruta\al\archivo.hiv}} /y` diff --git a/pages.es/windows/reg-unload.md b/pages.es/windows/reg-unload.md new file mode 100644 index 00000000000000..0efe8be64f20c3 --- /dev/null +++ b/pages.es/windows/reg-unload.md @@ -0,0 +1,8 @@ +# reg unload + +> Elimina datos del registro que fueron cargados usando el comando `reg load`. +> Más información: . + +- Eliminar datos del registro para una clave especificada: + +`reg unload {{nombre_de_clave}}` diff --git a/pages.es/windows/reg.md b/pages.es/windows/reg.md new file mode 100644 index 00000000000000..c1fa0600a1ca55 --- /dev/null +++ b/pages.es/windows/reg.md @@ -0,0 +1,37 @@ +# reg + +> Administra claves y sus valores en el registro de Windows. +> Algunos subcomandos como `add` tienen su propia documentación de uso. +> Más información: . + +- Ejecuta un comando del registro: + +`reg {{comando}}` + +- Visualiza la documentación para agregar y copiar subclaves: + +`tldr reg {{add|copy}}` + +- Visualiza la documentación para eliminar claves y subclaves: + +`tldr reg {{delete|unload}}` + +- Visualiza la documentación para buscar, ver y comparar claves: + +`tldr reg {{compare|query}}` + +- Visualiza la documentación para exportar e importar claves del registro sin preservar la propiedad ni las ACLs de las claves: + +`tldr reg {{export|import}}` + +- Visualiza la documentación para guardar, restaurar y descargar claves del registro preservando la propiedad y las ACLs de las claves: + +`tldr reg {{save|restore|load|unload}}` + +- Muestra la ayuda: + +`reg /?` + +- Muestra la ayuda para un comando específico: + +`reg {{comando}} /?` diff --git a/pages.es/windows/remove-appxpackage.md b/pages.es/windows/remove-appxpackage.md new file mode 100644 index 00000000000000..5d6817ef48220d --- /dev/null +++ b/pages.es/windows/remove-appxpackage.md @@ -0,0 +1,20 @@ +# Remove-AppxPackage + +> Utilidad de PowerShell para eliminar un paquete de aplicación de las cuentas de usuario. +> Más información: . + +- Eliminar un paquete de aplicación: + +`Remove-AppxPackage {{paquete}}` + +- Eliminar un paquete de aplicación para un usuario específico: + +`Remove-AppxPackage {{paquete}} -User {{nombre_de_usuario}}` + +- Eliminar un paquete de aplicación para todos los usuarios: + +`Remove-AppxPackage {{paquete}} -AllUsers` + +- Eliminar un paquete de aplicación pero preservar sus datos de aplicación: + +`Remove-AppxPackage {{paquete}} -PreserveApplicationData` diff --git a/pages.es/windows/remove-item.md b/pages.es/windows/remove-item.md new file mode 100644 index 00000000000000..748eebcb447304 --- /dev/null +++ b/pages.es/windows/remove-item.md @@ -0,0 +1,29 @@ +# Remove-Item + +> Elimina archivos, carpetas, así como claves de registro y subclaves. +> Este comando solo se puede ejecutar a través de PowerShell. +> Más información: . + +- Elimina archivos específicos o claves de registro (sin subclaves): + +`Remove-Item {{ruta\al\archivo_o_clave1 , ruta\al\archivo_o_clave2 ...}}` + +- Elimina archivos ocultos o de solo lectura: + +`Remove-Item -Force {{ruta\al\archivo1 , ruta\al\archivo2 ...}}` + +- Elimina archivos específicos o claves de registro de forma interactiva antes de cada eliminación: + +`Remove-Item -Confirm {{ruta\al\archivo_o_clave1 , ruta\al\archivo_o_clave2 ...}}` + +- Elimina archivos y directorios específicos recursivamente (Windows 10 versión 1909 o posterior): + +`Remove-Item -Recurse {{ruta\al\archivo_o_directorio1 , ruta\al\archivo_o_directorio2 ...}}` + +- Quita claves específicas del registro de Windows y todas sus subclaves: + +`Remove-Item -Recurse {{ruta\a\la\clave1 , ruta\a\la\clave2 ...}}` + +- Realiza una simulación del proceso de eliminación: + +`Remove-Item -WhatIf {{ruta\al\archivo1 , ruta\al\archivo2 ...}}` diff --git a/pages.es/windows/repair-bde.md b/pages.es/windows/repair-bde.md new file mode 100644 index 00000000000000..6a486394d05510 --- /dev/null +++ b/pages.es/windows/repair-bde.md @@ -0,0 +1,36 @@ +# repair-bde + +> Intentar reparar o descifrar un volumen cifrado con BitLocker dañado. +> Más información: . + +- Intentar reparar un volumen especificado: + +`repair-bde {{C:}}` + +- Intentar reparar un volumen especificado y enviar la salida a otro volumen: + +`repair-bde {{C:}} {{D:}}` + +- Intentar reparar un volumen especificado usando el archivo de clave de recuperación proporcionado: + +`repair-bde {{C:}} -RecoveryKey {{ruta\al\archivo.bek}}` + +- Intentar reparar un volumen especificado usando la contraseña numérica de recuperación proporcionada: + +`repair-bde {{C:}} -RecoveryPassword {{contraseña}}` + +- Intentar reparar un volumen especificado usando la contraseña proporcionada: + +`repair-bde {{C:}} -Password {{contraseña}}` + +- Intentar reparar un volumen especificado usando el paquete de claves proporcionado: + +`repair-bde {{C:}} -KeyPackage {{ruta\al\directorio}}` + +- Registrar toda la salida en un archivo específico: + +`repair-bde {{C:}} -LogFile {{ruta\al\archivo}}` + +- Mostrar ayuda: + +`repair-bde /?` diff --git a/pages.es/windows/replace.md b/pages.es/windows/replace.md new file mode 100644 index 00000000000000..e8cb3cf06733c9 --- /dev/null +++ b/pages.es/windows/replace.md @@ -0,0 +1,37 @@ +# replace + +> Reemplaza archivos. +> Ver también: `robocopy`, `move`, `copy` y `del`. +> Más información: . + +- Reemplaza el archivo de destino con el del directorio origen: + +`replace {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_destino}}` + +- Agrega archivos al directorio destino en lugar de reemplazar archivos existentes: + +`replace {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_destino}} /a` + +- Copia múltiples archivos de forma interactiva, con una solicitud antes de reemplazar o agregar un archivo destino: + +`replace {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_destino}} /p` + +- Reemplaza incluso archivos de solo lectura: + +`replace {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_destino}} /r` + +- Espera a que insertes un disco antes de reemplazar archivos (originalmente para permitir insertar un disquete): + +`replace {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_destino}} /w` + +- Reemplaza todos los archivos en subdirectorios del destino: + +`replace {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_destino}} /s` + +- Reemplaza solo los archivos en el directorio destino que sean más antiguos que los archivos en el directorio origen: + +`replace {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_destino}} /u` + +- Muestra la ayuda: + +`replace /?` diff --git a/pages.es/windows/resolve-path.md b/pages.es/windows/resolve-path.md new file mode 100644 index 00000000000000..1256ddf8d0e374 --- /dev/null +++ b/pages.es/windows/resolve-path.md @@ -0,0 +1,17 @@ +# Resolve-Path + +> Resuelve los caracteres comodín en una ruta y muestra el contenido de la ruta. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Resolver la ruta de la carpeta de inicio: + +`Resolve-Path {{~}}` + +- Resolver una ruta UNC: + +`Resolve-Path -Path "\\{{nombre_del_host}}\{{ruta\al\archivo}}"` + +- Obtener rutas relativas: + +`Resolve-Path -Path {{ruta\al\archivo_o_directorio}} -Relative` diff --git a/pages.es/windows/ri.md b/pages.es/windows/ri.md new file mode 100644 index 00000000000000..09b0fe836813f9 --- /dev/null +++ b/pages.es/windows/ri.md @@ -0,0 +1,7 @@ +# ri + +> En PowerShell, este comando es un alias de `Remove-Item`. + +- Vea la documentación del comando original: + +`tldr remove-item` diff --git a/pages.es/windows/rm.md b/pages.es/windows/rm.md new file mode 100644 index 00000000000000..3b8a6019e99809 --- /dev/null +++ b/pages.es/windows/rm.md @@ -0,0 +1,7 @@ +# rm + +> En PowerShell, este comando es un alias de `Remove-Item`. + +- Vea la documentación del comando original: + +`tldr remove-item` diff --git a/pages.es/windows/rmdir.md b/pages.es/windows/rmdir.md new file mode 100644 index 00000000000000..460070a30fdcb4 --- /dev/null +++ b/pages.es/windows/rmdir.md @@ -0,0 +1,21 @@ +# rmdir + +> Elimina un directorio y su contenido. +> En PowerShell, este comando es un alias de `Remove-Item`. Esta documentación está basada en la versión de Símbolo del sistema (`cmd`) de `rmdir`. +> Más información: . + +- Vea la documentación del comando equivalente en PowerShell: + +`tldr remove-item` + +- Elimina un directorio vacío: + +`rmdir {{ruta\al\directorio}}` + +- Elimina un directorio y su contenido de forma recursiva: + +`rmdir {{ruta\al\directorio}} /s` + +- Elimina un directorio y su contenido de forma recursiva sin pedir confirmación: + +`rmdir {{ruta\al\directorio}} /s /q` diff --git a/pages.es/windows/robocopy.md b/pages.es/windows/robocopy.md new file mode 100644 index 00000000000000..3e093ff4fa4fb0 --- /dev/null +++ b/pages.es/windows/robocopy.md @@ -0,0 +1,33 @@ +# robocopy + +> Copia robusta de archivos y carpetas. +> Por defecto, los archivos solo se copiarán si la fuente y el destino tienen marcas de tiempo diferentes o tamaños de archivo distintos. +> Más información: . + +- Copiar todos los archivos `.jpg` y `.bmp` de un directorio a otro: + +`robocopy {{ruta\al\directorio_origen}} {{ruta\al\directorio_destino}} {{*.jpg}} {{*.bmp}}` + +- Copiar todos los archivos y subdirectorios, incluidos los vacíos: + +`robocopy {{ruta\al\directorio_origen}} {{ruta\al\directorio_destino}} /E` + +- Espejar/Sincronizar un directorio, eliminando todo lo que no esté en el origen e incluyendo todos los atributos y permisos: + +`robocopy {{ruta\al\directorio_origen}} {{ruta\al\directorio_destino}} /MIR /COPYALL` + +- Copiar todos los archivos y subdirectorios, excluyendo los archivos de origen que sean más antiguos que los archivos en el destino: + +`robocopy {{ruta\al\directorio_origen}} {{ruta\al\directorio_destino}} /E /XO` + +- Listar todos los archivos de 50 MB o más en lugar de copiarlos: + +`robocopy {{ruta\al\directorio_origen}} {{ruta\al\directorio_destino}} /MIN:{{52428800}} /L` + +- Permitir reanudar si se pierde la conexión de red y limitar los reintentos a 5 y el tiempo de espera a 15 segundos: + +`robocopy {{ruta\al\directorio_origen}} {{ruta\al\directorio_destino}} /Z /R:5 /W:15` + +- Mostrar ayuda: + +`robocopy /?` diff --git a/pages.es/windows/rpcinfo.md b/pages.es/windows/rpcinfo.md new file mode 100644 index 00000000000000..eb659a54319ba0 --- /dev/null +++ b/pages.es/windows/rpcinfo.md @@ -0,0 +1,20 @@ +# rpcinfo + +> Lista programas vía RPC en computadoras remotas. +> Más información: . + +- Listar todos los programas registrados en la computadora local: + +`rpcinfo` + +- Listar todos los programas registrados en una computadora remota: + +`rpcinfo /p {{nombre_de_computadora}}` + +- Llamar a un programa específico en una computadora remota usando TCP: + +`rpcinfo /t {{nombre_de_computadora}} {{nombre_del_programa}}` + +- Llamar a un programa específico en una computadora remota usando UDP: + +`rpcinfo /u {{nombre_de_computadora}} {{nombre_del_programa}}` diff --git a/pages.es/windows/sc-config.md b/pages.es/windows/sc-config.md new file mode 100644 index 00000000000000..d4b57a1bc41bda --- /dev/null +++ b/pages.es/windows/sc-config.md @@ -0,0 +1,7 @@ +# sc config + +> Este comando es un alias de `sc.exe config`. + +- Vea la documentación para el comando original: + +`tldr sc` diff --git a/pages.es/windows/sc-create.md b/pages.es/windows/sc-create.md new file mode 100644 index 00000000000000..c258807c5a40f4 --- /dev/null +++ b/pages.es/windows/sc-create.md @@ -0,0 +1,7 @@ +# sc create + +> Este comando es un alias de `sc.exe create`. + +- Vea la documentación para el comando original: + +`tldr sc` diff --git a/pages.es/windows/sc-delete.md b/pages.es/windows/sc-delete.md new file mode 100644 index 00000000000000..757557e3472f73 --- /dev/null +++ b/pages.es/windows/sc-delete.md @@ -0,0 +1,7 @@ +# sc delete + +> Este comando es un alias de `sc.exe delete`. + +- Vea la documentación para el comando original: + +`tldr sc` diff --git a/pages.es/windows/sc-query.md b/pages.es/windows/sc-query.md new file mode 100644 index 00000000000000..f4da73aa2242f3 --- /dev/null +++ b/pages.es/windows/sc-query.md @@ -0,0 +1,7 @@ +# sc query + +> Este comando es un alias de `sc.exe query`. + +- Vea la documentación para el comando original: + +`tldr sc` diff --git a/pages.es/windows/sc.md b/pages.es/windows/sc.md new file mode 100644 index 00000000000000..63564609968cdd --- /dev/null +++ b/pages.es/windows/sc.md @@ -0,0 +1,20 @@ +# sc + +> Comunicación con el Administrador de Control de Servicios y los servicios. +> Más información: . + +- Muestra el estado de un servicio (al no nombrar un servicio se listan todos los servicios): + +`sc.exe query {{nombre_del_servicio}}` + +- Inicia un servicio asincrónicamente: + +`sc.exe create {{nombre_del_servicio}} binpath= {{ruta\al\binario_del_servicio}}` + +- Detiene un servicio asincrónicamente: + +`sc.exe delete {{nombre_del_servicio}}` + +- Establece el tipo de servicio: + +`sc.exe config {{nombre_del_servicio}} type= {{tipo_de_servicio}}` diff --git a/pages.es/windows/scoop-bucket.md b/pages.es/windows/scoop-bucket.md new file mode 100644 index 00000000000000..c581b88a67f71a --- /dev/null +++ b/pages.es/windows/scoop-bucket.md @@ -0,0 +1,25 @@ +# scoop bucket + +> Administrar buckets: repositorios Git que contienen archivos que describen cómo scoop instala aplicaciones. +> Si Scoop no sabe dónde se encuentra el bucket, debe especificarse la ubicación del repositorio. +> Más información: . + +- Listar todos los buckets actualmente en uso: + +`scoop bucket list` + +- Listar todos los buckets conocidos: + +`scoop bucket known` + +- Agregar un bucket conocido por su nombre: + +`scoop bucket add {{nombre}}` + +- Agregar un bucket desconocido por su nombre y URL del repositorio Git: + +`scoop bucket add {{nombre}} {{https://example.com/repository.git}}` + +- Eliminar un bucket por su nombre: + +`scoop bucket rm {{nombre}}` diff --git a/pages.es/windows/scoop.md b/pages.es/windows/scoop.md new file mode 100644 index 00000000000000..b5d0d05e348027 --- /dev/null +++ b/pages.es/windows/scoop.md @@ -0,0 +1,33 @@ +# scoop + +> El gestor de paquetes Scoop. +> Algunos subcomandos como `bucket` tienen su propia documentación de uso. +> Más información: . + +- Instala un paquete: + +`scoop install {{paquete}}` + +- Elimina un paquete: + +`scoop uninstall {{paquete}}` + +- Actualiza todos los paquetes instalados: + +`scoop update --all` + +- Lista paquetes instalados: + +`scoop list` + +- Muestra información sobre un paquete: + +`scoop info {{paquete}}` + +- Busca un paquete: + +`scoop search {{paquete}}` + +- Elimina versiones antiguas de todos los paquetes y limpia la caché de descargas: + +`scoop cleanup --cache --all` diff --git a/pages.es/windows/sdelete.md b/pages.es/windows/sdelete.md new file mode 100644 index 00000000000000..14d74b134f97e8 --- /dev/null +++ b/pages.es/windows/sdelete.md @@ -0,0 +1,20 @@ +# sdelete + +> Elimina de forma segura archivos/directorios del disco, o limpia el espacio libre en un volumen/disco físico. +> Más información: . + +- Eliminar archivos con 3 [p]asadas: + +`sdelete -p 3 {{ruta\al\archivo1 ruta\al\archivo2 ...}}` + +- Eliminar carpetas y sus [s]ubdirectorios con 1 pasada (por defecto): + +`sdelete -s {{ruta\al\directorio1 ruta\al\directorio2 ...}}` + +- Limpiar el espacio libre del volumen D: con 3 [p]asadas: + +`sdelete -p 3 D:` + +- Limpiar el espacio libre con ceros [z] del disco físico 2, que no debe contener volúmenes a limpiar: + +`sdelete -z 2` diff --git a/pages.es/windows/sdelete64.md b/pages.es/windows/sdelete64.md new file mode 100644 index 00000000000000..be5da689bf37fa --- /dev/null +++ b/pages.es/windows/sdelete64.md @@ -0,0 +1,7 @@ +# sdelete64 + +> Este comando es la versión de 64 bits de `sdelete`. + +- Vea la documentación del comando original: + +`tldr sdelete` diff --git a/pages.es/windows/select-string.md b/pages.es/windows/select-string.md new file mode 100644 index 00000000000000..da9b66408e7058 --- /dev/null +++ b/pages.es/windows/select-string.md @@ -0,0 +1,26 @@ +# Select-String + +> Busca texto en cadenas y archivos en PowerShell. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Puedes usar `Select-String` de manera similar a `grep` en UNIX o `findstr.exe` en Windows. +> Más información: . + +- Buscar un patrón dentro de un archivo: + +`Select-String -Path "{{ruta\al\archivo}}" -Pattern '{{patrón_de_búsqueda}}'` + +- Buscar una cadena exacta (desactiva expresiones regulares): + +`Select-String -SimpleMatch "{{cadena_exacta}}" {{ruta\al\archivo}}` + +- Buscar un patrón en todos los archivos `.ext` en el directorio actual: + +`Select-String -Path "{{*.ext}}" -Pattern '{{patrón_de_búsqueda}}'` + +- Capturar el número especificado de líneas antes y después de la línea que coincide con el patrón: + +`Select-String --Context {{2,3}} "{{patrón_de_búsqueda}}" {{ruta\al\archivo}}` + +- Buscar en `stdin` líneas que no coincidan con un patrón: + +`Get-Content {{ruta\al\archivo}} | Select-String --NotMatch "{{patrón_de_búsqueda}}"` diff --git a/pages.es/windows/set-acl.md b/pages.es/windows/set-acl.md new file mode 100644 index 00000000000000..066e6b6d691814 --- /dev/null +++ b/pages.es/windows/set-acl.md @@ -0,0 +1,13 @@ +# Set-Acl + +> Cambia el descriptor de seguridad de un elemento especificado, como un archivo o una clave de registro. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Más información: . + +- Copiar un descriptor de seguridad de un archivo a otro: + +`$OriginAcl = Get-Acl -Path {{ruta\al\archivo}}; Set-Acl -Path {{ruta\al\archivo}} -AclObject $OriginAcl` + +- Usar el operador pipeline para pasar un descriptor: + +`Get-Acl -Path {{ruta\al\archivo}} | Set-Acl -Path {{ruta\al\archivo}}` diff --git a/pages.es/windows/set-date.md b/pages.es/windows/set-date.md new file mode 100644 index 00000000000000..c077fb798826a6 --- /dev/null +++ b/pages.es/windows/set-date.md @@ -0,0 +1,17 @@ +# Set-Date + +> Cambia la hora del sistema en el equipo a una hora que especifiques. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Más información: . + +- Agregar tres días a la fecha del sistema: + +`Set-Date -Date (Get-Date).AddDays({{3}})` + +- Retrasar el reloj del sistema 10 minutos: + +`Set-Date -Adjust -0:10:0 -DisplayHint Time` + +- Agregar 90 minutos al reloj del sistema: + +`$90mins = New-TimeSpan -Minutes {{90}}; Set-Date -Adjust $90mins` diff --git a/pages.es/windows/set-location.md b/pages.es/windows/set-location.md new file mode 100644 index 00000000000000..0dbe137d8da1d5 --- /dev/null +++ b/pages.es/windows/set-location.md @@ -0,0 +1,33 @@ +# Set-Location + +> Muestra el directorio de trabajo actual o va a un directorio diferente. +> Nota: Este comando sólo se puede utilizar a través de PowerShell. +> Más información: . + +- Ir al directorio especificado: + +`Set-Location {{ruta\al\directorio}}` + +- Ir a un directorio específico en una unidad diferente: + +`Set-Location {{C}}:{{ruta\al\directorio}}` + +- Ir y muestra la ubicación del directorio especificado: + +`Set-Location {{ruta\al\directorio}} -PassThru` + +- Subir al directorio padre del directorio actual: + +`Set-Location ..` + +- Ir al directorio principal del usuario actual: + +`Set-Location ~` + +- Regresar/ir al directorio elegido anteriormente: + +`Set-Location {{-|+}}` + +- Ir a la raíz de la unidad actual: + +`Set-Location \` diff --git a/pages.es/windows/set-service.md b/pages.es/windows/set-service.md new file mode 100644 index 00000000000000..7ec183bdc31b7a --- /dev/null +++ b/pages.es/windows/set-service.md @@ -0,0 +1,17 @@ +# Set-Service + +> Inicia, detiene y suspende un servicio, y cambia sus propiedades. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Más información: . + +- Cambiar el nombre para mostrar: + +`Set-Service -Name {{hostname}} -DisplayName "{{nombre}}"` + +- Cambiar el tipo de inicio de servicios: + +`Set-Service -Name {{service_name}} -StartupType {{Automatic}}` + +- Cambiar la descripción de un servicio: + +`Set-Service -Name {{service_name}} -Description "{{descripción}}"` diff --git a/pages.es/windows/set-volume.md b/pages.es/windows/set-volume.md new file mode 100644 index 00000000000000..6f17ef2050edf2 --- /dev/null +++ b/pages.es/windows/set-volume.md @@ -0,0 +1,21 @@ +# Set-Volume + +> Establece o cambia la etiqueta del sistema de archivos de un volumen existente. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Más información: . + +- Cambiar la etiqueta del sistema de archivos de un volumen identificado por la letra de unidad: + +`Set-Volume -DriveLetter "D" -NewFileSystemLabel "VolumenDatos"` + +- Cambiar la etiqueta del sistema de archivos de un volumen identificado por la etiqueta del sistema: + +`Set-Volume -FileSystemLabel "EtiquetaVieja" -NewFileSystemLabel "EtiquetaNueva"` + +- Modificar las propiedades de un volumen usando un objeto volumen: + +`Set-Volume -InputObject $(Get-Volume -DriveLetter "E") -NewFileSystemLabel "Respaldo"` + +- Especificar el modo de desduplicación de datos para el volumen: + +`Set-Volume -DriveLetter "D" -DedupMode Backup` diff --git a/pages.es/windows/set.md b/pages.es/windows/set.md new file mode 100644 index 00000000000000..560d8adbf05cd7 --- /dev/null +++ b/pages.es/windows/set.md @@ -0,0 +1,20 @@ +# set + +> Muestra o establece variables de entorno para la instancia actual de CMD. +> Más información: . + +- Listar todas las variables de entorno actuales: + +`set` + +- Establecer una variable de entorno a un valor específico: + +`set {{nombre}}={{valor}}` + +- Listar variables de entorno que comienzan con la cadena especificada: + +`set {{nombre}}` + +- Solicitar al usuario un valor para la variable especificada: + +`set /p {{nombre}}={{cadena_de_indicación}}` diff --git a/pages.es/windows/setx.md b/pages.es/windows/setx.md new file mode 100644 index 00000000000000..c926294c8a4edf --- /dev/null +++ b/pages.es/windows/setx.md @@ -0,0 +1,20 @@ +# setx + +> Establece variables de entorno persistentes. +> Más información: . + +- Establecer una variable de entorno para el usuario actual: + +`setx {{variable}} {{valor}}` + +- Establecer una variable de entorno para la máquina actual: + +`setx {{variable}} {{valor}} /M` + +- Establecer una variable de entorno para un usuario en una máquina remota: + +`setx /s {{hostname}} /u {{username}} /p {{password}} {{variable}} {{valor}}` + +- Establecer una variable de entorno desde el valor de una clave de registro: + +`setx {{variable}} /k {{registro\ruta\clave}}` diff --git a/pages.es/windows/sfc.md b/pages.es/windows/sfc.md new file mode 100644 index 00000000000000..0590d016ef1c6b --- /dev/null +++ b/pages.es/windows/sfc.md @@ -0,0 +1,32 @@ +# sfc + +> Escanea la integridad de los archivos del sistema de Windows. +> Más información: . + +- Muestra información sobre el uso del comando: + +`sfc` + +- Escanea todos los archivos del sistema y, si es posible, reparar cualquier problema: + +`sfc /scannow` + +- Escanea todos los archivos del sistema sin intentar reparar ninguno: + +`sfc /verifyonly` + +- Escanea un archivo específico y, si es posible, reparar cualquier problema: + +`sfc /scanfile={{ruta\al\archivo}}` + +- Escanea un archivo específico sin intentar repararlo: + +`sfc /verifyfile={{ruta\al\archivo}}` + +- Al reparar sin conexión, especificar el directorio de arranque: + +`sfc /offbootdir={{ruta\al\directorio}}` + +- Al reparar sin conexión, especificar el directorio de Windows: + +`sfc /offwindir={{ruta\al\directorio}}` diff --git a/pages.es/windows/show-markdown.md b/pages.es/windows/show-markdown.md new file mode 100644 index 00000000000000..18a686ce0bd155 --- /dev/null +++ b/pages.es/windows/show-markdown.md @@ -0,0 +1,17 @@ +# Show-Markdown + +> Muestra un archivo o cadena Markdown en la consola de forma amigable usando secuencias de escape VT100 o en un navegador usando HTML. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Más información: . + +- Renderiza markdown en la consola desde un archivo: + +`Show-Markdown -Path {{ruta\al\archivo}}` + +- Renderiza markdown en la consola desde una cadena: + +`"{{# Contenido Markdown}}" | Show-Markdown` + +- Abre archivo Markdown en un navegador: + +`Show-Markdown -Path {{ruta\al\archivo}} -UseBrowser` diff --git a/pages.es/windows/showmount.md b/pages.es/windows/showmount.md new file mode 100644 index 00000000000000..c19052d58b2914 --- /dev/null +++ b/pages.es/windows/showmount.md @@ -0,0 +1,20 @@ +# showmount + +> Muestra información sobre sistemas de archivos NFS en Windows Server. +> Más información: . + +- Mostrar todos los sistemas de archivos exportados: + +`showmount -e` + +- Mostrar todos los clientes NFS y sus directorios montados: + +`showmount -a` + +- Mostrar todos los directorios NFS montados: + +`showmount -d` + +- Mostrar todos los sistemas de archivos exportados para un servidor remoto: + +`showmount -e {{dirección_del_servidor}}` diff --git a/pages.es/windows/shutdown.md b/pages.es/windows/shutdown.md new file mode 100644 index 00000000000000..6cc3b914e33507 --- /dev/null +++ b/pages.es/windows/shutdown.md @@ -0,0 +1,36 @@ +# shutdown + +> Una herramienta para apagar, reiniciar o cerrar sesión en una máquina. +> Más información: . + +- Apagar la máquina actual: + +`shutdown /s` + +- Apagar la máquina actual forzando el cierre de todas las aplicaciones: + +`shutdown /s /f` + +- Reiniciar la máquina actual inmediatamente: + +`shutdown /r /t 0` + +- Hibernar la máquina actual: + +`shutdown /h` + +- Cerrar sesión en la máquina actual: + +`shutdown /l` + +- Especificar un tiempo de espera en segundos antes de apagar: + +`shutdown /s /t {{8}}` + +- Abortan una secuencia de apagado cuyo tiempo de espera aún no ha expirado: + +`shutdown /a` + +- Apagar una máquina remota: + +`shutdown /m {{\\hostname}}` diff --git a/pages.es/windows/sl.md b/pages.es/windows/sl.md new file mode 100644 index 00000000000000..9577d3fcb9eb71 --- /dev/null +++ b/pages.es/windows/sl.md @@ -0,0 +1,7 @@ +# sl + +> En PowerShell, este comando es un alias de `Set-Location`. + +- Ver la documentación del comando original: + +`tldr set-location` diff --git a/pages.es/windows/slmgr.md b/pages.es/windows/slmgr.md new file mode 100644 index 00000000000000..2ed9222677e22e --- /dev/null +++ b/pages.es/windows/slmgr.md @@ -0,0 +1,7 @@ +# slmgr + +> Este comando es un alias de `slmgr.vbs`. + +- Ver la documentación para el comando original: + +`tldr slmgr.vbs` diff --git a/pages.es/windows/slmgr.vbs.md b/pages.es/windows/slmgr.vbs.md new file mode 100644 index 00000000000000..d512cf58fe7106 --- /dev/null +++ b/pages.es/windows/slmgr.vbs.md @@ -0,0 +1,37 @@ +# slmgr.vbs + +> Instala, activa y gestiona licencias de Windows. +> Este comando puede sobrescribir, desactivar y/o eliminar la licencia actual de Windows. Proceda con precaución. +> Más información: . + +- Mostrar[d] la [i]nformación actual de la [l]icencia de Windows: + +`slmgr.vbs /dli` + +- Mostrar[d] el [i]D de ins[t]alación del dispositivo actual. Útil para activación de licencia sin conexión: + +`slmgr.vbs /dti` + +- Mostrar la fecha y hora de caducidad e[xp]i[r]ación de la licencia actual: + +`slmgr.vbs /xpr` + +- [i]nstalar una nueva clave[k] de [p]roducto de licencia de Windows. Requiere privilegios de Administrador y sobrescribirá la licencia existente: + +`slmgr.vbs /ipk {{product_key}}` + +- [a]c[t]ivar la licencia de producto de Windows [o]nline. Requiere privilegios de Administrador: + +`slmgr.vbs /ato` + +- [a]c[t]ivar la licencia de [p]roducto de Windows offline (sin conexión). Requiere privilegios de Administrador y un ID de Confirmación proporcionado por el Centro de Activación de Productos Microsoft: + +`slmgr.vbs /atp {{confirmation_id}}` + +- Quitar [c] la clave [ky] de [p]roducto actual del registro de Windows. No desactiva ni desinstala la licencia, pero previene que la clave sea robada por programas maliciosos: + +`slmgr.vbs /cpky` + +- Desinstalar[u] la licencia actual (por su clave[k] de [p]roducto): + +`slmgr.vbs /upk` diff --git a/pages.es/windows/sls.md b/pages.es/windows/sls.md new file mode 100644 index 00000000000000..12da8e00f1f5f4 --- /dev/null +++ b/pages.es/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Este comando es un alias de `Select-String`. + +- Ver la documentación del comando original: + +`tldr select-string` diff --git a/pages.es/windows/sort-object.md b/pages.es/windows/sort-object.md new file mode 100644 index 00000000000000..2a54f3a0b218e1 --- /dev/null +++ b/pages.es/windows/sort-object.md @@ -0,0 +1,25 @@ +# Sort-Object + +> Ordena objetos por valores de propiedades. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Más información: . + +- Ordenar el directorio actual por nombre: + +`Get-ChildItem | Sort-Object` + +- Ordenar el directorio actual por nombre en orden descendente: + +`Get-ChildItem | Sort-Object -Descending` + +- Ordenar elementos eliminando duplicados: + +`"a", "b", "a" | Sort-Object -Unique` + +- Ordenar el directorio actual por tamaño de archivo (longitud): + +`Get-ChildItem | Sort-Object -Property Length` + +- Ordenar procesos por el uso más alto de memoria basado en su tamaño de conjunto de trabajo (WS): + +`Get-Process | Sort-Object -Property WS` diff --git a/pages.es/windows/start-service.md b/pages.es/windows/start-service.md new file mode 100644 index 00000000000000..0d555b4ccc9818 --- /dev/null +++ b/pages.es/windows/start-service.md @@ -0,0 +1,17 @@ +# Start-Service + +> Inicia servicios detenidos. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Más información: . + +- Iniciar un servicio usando su nombre: + +`Start-Service -Name {{nombre_del_servicio}}` + +- Mostrar información sin iniciar un servicio: + +`Start-Service -DisplayName *{{nombre}}* -WhatIf` + +- Iniciar un servicio deshabilitado: + +`Set-Service {{nombre_del_servicio}} -StartupType {{manual}}; Start-Service {{nombre_del_servicio}}` diff --git a/pages.es/windows/stop-service.md b/pages.es/windows/stop-service.md new file mode 100644 index 00000000000000..1e97d560c07258 --- /dev/null +++ b/pages.es/windows/stop-service.md @@ -0,0 +1,17 @@ +# Stop-Service + +> Detiene servicios en ejecución. +> Nota: Este comando solo puede usarse a través de PowerShell. +> Más información: . + +- Detener un servicio en el equipo local: + +`Stop-Service -Name {{nombre_del_servicio}}` + +- Detener un servicio usando el nombre para mostrar: + +`Stop-Service -DisplayName "{{nombre}}"` + +- Detener un servicio que tiene servicios dependientes: + +`Stop-Service -Name {{nombre_del_servicio}} -Force -Confirm` diff --git a/pages.es/windows/subst.md b/pages.es/windows/subst.md new file mode 100644 index 00000000000000..66917d9d695918 --- /dev/null +++ b/pages.es/windows/subst.md @@ -0,0 +1,16 @@ +# subst + +> Asocia una ruta con una letra de unidad virtual. +> Más información: . + +- Listar asociaciones activas: + +`subst` + +- Agregar una asociación: + +`subst {{Z:}} {{C:\Python2.7}}` + +- Eliminar una asociación: + +`subst {{Z:}} /d` diff --git a/pages.es/windows/systeminfo.md b/pages.es/windows/systeminfo.md new file mode 100644 index 00000000000000..c766f462060fc8 --- /dev/null +++ b/pages.es/windows/systeminfo.md @@ -0,0 +1,20 @@ +# systeminfo + +> Muestra la configuración del sistema operativo para una máquina local o remota. +> Más información: . + +- Mostrar la configuración del sistema para la máquina local: + +`systeminfo` + +- Mostrar la configuración del sistema en un formato de salida especificado: + +`systeminfo /fo {{table|list|csv}}` + +- Mostrar la configuración del sistema para una máquina remota: + +`systeminfo /s {{nombre_remoto}} /u {{nombre_de_usuario}} /p {{contraseña}}` + +- Mostrar ayuda: + +`systeminfo /?` diff --git a/pages.es/windows/takeown.md b/pages.es/windows/takeown.md new file mode 100644 index 00000000000000..58a6a3e5cef1ed --- /dev/null +++ b/pages.es/windows/takeown.md @@ -0,0 +1,20 @@ +# takeown + +> Toma posesión de un archivo o directorio. +> Más información: . + +- Tomar posesión del archivo especificado: + +`takeown /f {{ruta\al\archivo}}` + +- Tomar posesión del directorio especificado: + +`takeown /d {{ruta\al\directorio}}` + +- Tomar posesión del directorio especificado y todos sus subdirectorios: + +`takeown /r /d {{ruta\al\directorio}}` + +- Cambiar la propiedad al grupo Administradores en lugar del usuario actual: + +`takeown /a /f {{ruta\al\archivo}}` diff --git a/pages.es/windows/taskkill.md b/pages.es/windows/taskkill.md new file mode 100644 index 00000000000000..fbec4119ae2f6a --- /dev/null +++ b/pages.es/windows/taskkill.md @@ -0,0 +1,28 @@ +# taskkill + +> Termina un proceso por su ID o nombre. +> Más información: . + +- Terminar un proceso por su ID: + +`taskkill /pid {{id_proceso}}` + +- Terminar un proceso por su nombre: + +`taskkill /im {{nombre_proceso}}` + +- Forzar la terminación de un proceso especificado: + +`taskkill /pid {{id_proceso}} /f` + +- Terminar un proceso y sus procesos hijos: + +`taskkill /im {{nombre_proceso}} /t` + +- Terminar un proceso en una máquina remota: + +`taskkill /pid {{id_proceso}} /s {{nombre_remoto}}` + +- Mostrar información sobre el uso del comando: + +`taskkill /?` diff --git a/pages.es/windows/tasklist.md b/pages.es/windows/tasklist.md new file mode 100644 index 00000000000000..6fd50a42a7b4b5 --- /dev/null +++ b/pages.es/windows/tasklist.md @@ -0,0 +1,24 @@ +# tasklist + +> Muestra una lista de los procesos en ejecución en una máquina local o remota. +> Más información: . + +- Mostrar los procesos en ejecución actualmente: + +`tasklist` + +- Mostrar procesos en ejecución en un formato de salida específico: + +`tasklist /fo {{table|list|csv}}` + +- Mostrar procesos que utilizan un archivo `.exe` o `.dll` específico: + +`tasklist /m {{patrón_módulo}}` + +- Mostrar procesos que se ejecutan en una máquina remota: + +`tasklist /s {{nombre_remoto}} /u {{usuario}} /p {{contraseña}}` + +- Mostrar servicios usados por cada proceso: + +`tasklist /svc` diff --git a/pages.es/windows/tee-object.md b/pages.es/windows/tee-object.md new file mode 100644 index 00000000000000..299465f288562e --- /dev/null +++ b/pages.es/windows/tee-object.md @@ -0,0 +1,13 @@ +# Tee-Object + +> Guarda la salida de un comando en un archivo o variable y también la envía por la tubería (pipeline). +> Nota: Este comando solo se puede usar en PowerShell. +> Más información: . + +- Guardar la lista de procesos en un archivo y mostrarla en la consola: + +`Get-Process | Tee-Object -FilePath {{ruta\al\archivo}}` + +- Guardar el proceso "notepad" en una variable y luego seleccionar propiedades específicas: + +`Get-Process notepad | Tee-Object -Variable {{proceso}} | Select-Object processname,handles` diff --git a/pages.es/windows/test-json.md b/pages.es/windows/test-json.md new file mode 100644 index 00000000000000..b246791a43da10 --- /dev/null +++ b/pages.es/windows/test-json.md @@ -0,0 +1,17 @@ +# Test-Json + +> Verifica si una cadena es un documento JSON válido. +> Nota: Este comando solo se puede usar en PowerShell. +> Más información: . + +- Verificar si una cadena desde `stdin` está en formato JSON: + +`'{{cadena}}' | Test-Json` + +- Verificar si una cadena está en formato JSON: + +`Test-Json -Json '{{json_a_verificar}}'` + +- Verificar si una cadena desde `stdin` cumple con un esquema JSON específico: + +`'{{cadena}}' | Test-Json -SchemaFile {{ruta\a\archivo_esquema.json}}` diff --git a/pages.es/windows/test-netconnection.md b/pages.es/windows/test-netconnection.md new file mode 100644 index 00000000000000..a84fdf981dc1f4 --- /dev/null +++ b/pages.es/windows/test-netconnection.md @@ -0,0 +1,13 @@ +# Test-NetConnection + +> Muestra información de diagnóstico de una conexión. +> Este comando solo se puede utilizar a través de PowerShell. +> Más información: . + +- Probar una conexión y mostrar resultados detallados: + +`Test-NetConnection -InformationLevel Detailed` + +- Probar una conexión a un host remoto con un número de puerto específico: + +`Test-NetConnection -ComputerName {{ip_o_nombre_del_host}} -Port {{número_de_puerto}}` diff --git a/pages.es/windows/time.md b/pages.es/windows/time.md new file mode 100644 index 00000000000000..bb43685c330567 --- /dev/null +++ b/pages.es/windows/time.md @@ -0,0 +1,12 @@ +# time + +> Muestra o establece la hora del sistema. +> Más información: . + +- Mostrar la hora actual del sistema y pedir que se ingrese una nueva hora (dejar vacío para no cambiarla): + +`time` + +- Mostrar la hora actual del sistema sin pedir ingresar una nueva hora: + +`time /t` diff --git a/pages.es/windows/title.md b/pages.es/windows/title.md new file mode 100644 index 00000000000000..5acd04d5cf7421 --- /dev/null +++ b/pages.es/windows/title.md @@ -0,0 +1,8 @@ +# title + +> Establece el título de la ventana del símbolo del sistema. +> Más información: . + +- Establecer el título de la ventana actual del símbolo del sistema: + +`title {{nuevo_título}}` diff --git a/pages.es/windows/tracert.md b/pages.es/windows/tracert.md new file mode 100644 index 00000000000000..c31f02d7e9d4b7 --- /dev/null +++ b/pages.es/windows/tracert.md @@ -0,0 +1,28 @@ +# tracert + +> Recibe información sobre cada paso en la ruta entre tu PC y el destino. +> Más información: . + +- Rastrear una ruta: + +`tracert {{IP}}` + +- Evitar que `tracert` resuelva direcciones IP a nombres de host: + +`tracert /d {{IP}}` + +- Forzar que `tracert` use solo IPv4: + +`tracert /4 {{IP}}` + +- Forzar que `tracert` use solo IPv6: + +`tracert /6 {{IP}}` + +- Especificar el número máximo de saltos en la búsqueda del destino: + +`tracert /h {{max_saltos}} {{IP}}` + +- Mostrar ayuda: + +`tracert /?` diff --git a/pages.es/windows/tree.md b/pages.es/windows/tree.md new file mode 100644 index 00000000000000..4fc849f5d4520e --- /dev/null +++ b/pages.es/windows/tree.md @@ -0,0 +1,20 @@ +# tree + +> Muestra un árbol gráfico de la estructura de directorios para una ruta. +> Más información: . + +- Muestra el árbol del directorio actual: + +`tree` + +- Muestra el árbol de un directorio específico: + +`tree {{ruta\a\directorio}}` + +- Muestra el árbol de un directorio incluyendo archivos[f]: + +`tree {{ruta\a\directorio}} /f` + +- Muestra el árbol usando caracteres [a]SCII en lugar de caracteres extendidos: + +`tree {{ruta\a\directorio}} /a` diff --git a/pages.es/windows/tskill.md b/pages.es/windows/tskill.md new file mode 100644 index 00000000000000..14f6f4e6f447c4 --- /dev/null +++ b/pages.es/windows/tskill.md @@ -0,0 +1,12 @@ +# tskill + +> Finaliza un proceso que se está ejecutando en una sesión de Remote Desktop Session Host. +> Más información: . + +- Terminar un proceso por su identificador de proceso: + +`tskill {{id_del_proceso}}` + +- Terminar un proceso por su nombre: + +`tskill {{nombre_del_proceso}}` diff --git a/pages.es/windows/type.md b/pages.es/windows/type.md new file mode 100644 index 00000000000000..65980a5d084c0c --- /dev/null +++ b/pages.es/windows/type.md @@ -0,0 +1,8 @@ +# type + +> Muestra el contenido de un archivo. +> Más información: . + +- Mostrar el contenido de un archivo específico: + +`type {{ruta\a\archivo}}` diff --git a/pages.es/windows/tzutil.md b/pages.es/windows/tzutil.md new file mode 100644 index 00000000000000..43e3a5c18135a6 --- /dev/null +++ b/pages.es/windows/tzutil.md @@ -0,0 +1,16 @@ +# tzutil + +> Herramienta para mostrar o configurar la zona horaria del sistema. +> Más información: . + +- Obtiene la zona horaria actual: + +`tzutil /g` + +- Muestra una lista de zonas horarias disponibles: + +`tzutil /l` + +- Establece la zona horaria del sistema al valor específico: + +`tzutil /s {{id_de_zona_horaria}}` diff --git a/pages.es/windows/uwfmgr.md b/pages.es/windows/uwfmgr.md new file mode 100644 index 00000000000000..5653906633f0b8 --- /dev/null +++ b/pages.es/windows/uwfmgr.md @@ -0,0 +1,29 @@ +# uwfmgr + +> Unified Write Filter (UWF). +> Protege las unidades redirigiendo cualquier escritura a una superposición virtual. Las escrituras se descartan al reiniciar, a menos que se confirmen por defecto. +> Más información: . + +- Obtener el estado actual: + +`uwfmgr get-config` + +- Establecer una unidad como protegida: + +`uwfmgr volume protect {{letra_de_unidad}}:` + +- Quitar una unidad de la lista de protección: + +`uwfmgr volume unprotect {{letra_de_unidad}}:` + +- Habilitar o deshabilitar la protección (se aplica después del reinicio): + +`uwfmgr filter {{enable|disable}}` + +- Confirmar los cambios de un archivo en una unidad protegida: + +`uwfmgr file commit {{letra_de_unidad:\ruta\al\archivo}}` + +- Confirmar la eliminación de un archivo en una unidad protegida: + +`uwfmgr file commit-delete {{letra_de_unidad:\ruta\al\archivo}}` diff --git a/pages.es/windows/vcvarsall.md b/pages.es/windows/vcvarsall.md new file mode 100644 index 00000000000000..77644c5f53cafe --- /dev/null +++ b/pages.es/windows/vcvarsall.md @@ -0,0 +1,21 @@ +# vcvarsall + +> Configura las variables de entorno necesarias para usar las herramientas de Microsoft Visual Studio. +> La ruta de `vcvarsall` para una instalación específica de Visual Studio puede encontrarse usando `vswhere`. +> Más información: . + +- Configurar el entorno para native x64: + +`vcvarsall x64` + +- Configurar el entorno para compilación cruzada nativa x86 desde un host x64: + +`vcvarsall x64_x86` + +- Configurar el entorno para compilación cruzada nativa Arm x64 desde un host x64: + +`vcvarsall x64_arm64` + +- Configurar el entorno para native UWP x64: + +`vcvarsall x64 uwp` diff --git a/pages.es/windows/ver.md b/pages.es/windows/ver.md new file mode 100644 index 00000000000000..6fba0408b8f596 --- /dev/null +++ b/pages.es/windows/ver.md @@ -0,0 +1,8 @@ +# ver + +> Muestra el número de versión actual de Windows o MS-DOS. +> Más información: . + +- Muestra el número de versión actual: + +`ver` diff --git a/pages.es/windows/virtualboxvm.md b/pages.es/windows/virtualboxvm.md new file mode 100644 index 00000000000000..8b45d7c4f6da35 --- /dev/null +++ b/pages.es/windows/virtualboxvm.md @@ -0,0 +1,24 @@ +# virtualboxvm + +> Administra máquinas virtuales de VirtualBox. +> Más información: . + +- Iniciar una máquina virtual: + +`virtualboxvm --startvm {{nombre|uuid}}` + +- Iniciar una máquina virtual en modo de pantalla completa: + +`virtualboxvm --startvm {{nombre|uuid}} --fullscreen` + +- Montar el archivo de imagen de DVD especificado: + +`virtualboxvm --startvm {{nombre|uuid}} --dvd {{ruta\al\archivo_de_imagen}}` + +- Mostrar una ventana de línea de comandos con información de depuración: + +`virtualboxvm --startvm {{nombre|uuid}} --debug-command-line` + +- Iniciar una máquina virtual en estado pausado: + +`virtualboxvm --startvm {{nombre|uuid}} --start-paused` diff --git a/pages.es/windows/vol.md b/pages.es/windows/vol.md new file mode 100644 index 00000000000000..50968279d8e835 --- /dev/null +++ b/pages.es/windows/vol.md @@ -0,0 +1,12 @@ +# vol + +> Muestra información sobre volúmenes. +> Más información: . + +- Muestra la etiqueta y el número de serie del disco actual: + +`vol` + +- Muestra la etiqueta y el número de serie de un volumen específico: + +`vol {{D:}}` diff --git a/pages.es/windows/vol.py.md b/pages.es/windows/vol.py.md new file mode 100644 index 00000000000000..968551af161cee --- /dev/null +++ b/pages.es/windows/vol.py.md @@ -0,0 +1,25 @@ +# vol.py + +> Framework forensics usado para analizar volcados de memoria volátil (RAM). +> Con volatility3, los complementos ahora se basan en el sistema operativo. Los ejemplos a continuación usarán Windows. +> Más información: . + +- Obtiene información sobre un archivo de volcado de memoria: + +`python3 vol.py {{[-f|--filename]}} {{ruta/al/archivo_de_volcado_de_memoria}} windows.info` + +- Lista procesos activos: + +`python3 vol.py {{[-f|--filename]}} {{ruta/al/archivo_de_volcado_de_memoria}} windows.pslist` + +- Lista hashes de usuarios en el sistema: + +`python3 vol.py {{[-f|--filename]}} {{ruta/al/archivo_de_volcado_de_memoria}} windows.hashdump` + +- Lista conexiones de red activas: + +`python3 vol.py {{[-f|--filename]}} {{ruta/al/archivo_de_volcado_de_memoria}} windows.netstat` + +- Muestra la ayuda: + +`python3 vol.py {{[-h|--help]}}` diff --git a/pages.es/windows/vswhere.md b/pages.es/windows/vswhere.md new file mode 100644 index 00000000000000..2ff2b1a2cc6fac --- /dev/null +++ b/pages.es/windows/vswhere.md @@ -0,0 +1,20 @@ +# vswhere + +> Localiza instalaciones de Visual Studio 2017 y posteriores. +> Más información: . + +- Encontrar la ruta de vcvarsall.bat para configurar variables de entorno: + +`vswhere -products * -latest -prerelease -find **\VC\Auxiliary\Build\vcvarsall.bat` + +- Encontrar el directorio del compilador x64 MSVC (cl.exe, etc.): + +`vswhere -products * -latest -prerelease -find **\Hostx64\x64\*` + +- Encontrar el directorio de Clang incluido con Visual Studio (clang-cl, clang-tidy, etc.): + +`vswhere -products * -latest -prerelease -find **\Llvm\bin\*` + +- Encontrar la ruta de `MSBuild.exe`: + +`vswhere -products * -latest -prerelease -find MSBuild\**\Bin\MSBuild.exe` diff --git a/pages.es/windows/w32tm.md b/pages.es/windows/w32tm.md new file mode 100644 index 00000000000000..fd3238c686c52e --- /dev/null +++ b/pages.es/windows/w32tm.md @@ -0,0 +1,32 @@ +# w32tm + +> Consulta y controla el servicio de sincronización de tiempo w32time. +> Más información: . + +- Muestra el estado actual de la sincronización de tiempo: + +`w32tm /query /status /verbose` + +- Muestra un gráfico de desfase de tiempo contra un servidor horario: + +`w32tm /stripchart /computer:{{servidor_de_tiempo}}` + +- Muestra una respuesta NTP de un servidor horario: + +`w32tm /stripchart /packetinfo /samples:1 /computer:{{servidor_de_tiempo}}` + +- Muestra el estado de los servidores de tiempo usados actualmente: + +`w32tm /query /peers` + +- Muestra la configuración del servicio w32time (ejecutar en consola con privilegios elevados): + +`w32tm /query /configuration` + +- Fuerza la resincronización de tiempo inmediatamente (ejecutar en consola con privilegios elevados): + +`w32tm /resync /force` + +- Escribe los registros de depuración de w32time en un archivo (ejecutar en consola con privilegios elevados): + +`w32tm /debug /enable /file:{{ruta\a\debug.log}} /size:{{10000000}} /entries:{{0-300}}` diff --git a/pages.es/windows/wait-process.md b/pages.es/windows/wait-process.md new file mode 100644 index 00000000000000..15b2ecf2aa35f6 --- /dev/null +++ b/pages.es/windows/wait-process.md @@ -0,0 +1,13 @@ +# Wait-Process + +> Espera a que los procesos se detengan antes de aceptar más entradas. +> Nota: Este comando solo se puede usar a través de PowerShell. +> Más información: . + +- Detener un proceso y esperar: + +`Stop-Process -Id {{id_del_proceso}}; Wait-Process -Id {{id_del_proceso}}` + +- Esperar a que los procesos terminen durante un tiempo especificado: + +`Wait-Process -Name {{nombre_del_proceso}} -Timeout {{30}}` diff --git a/pages.es/windows/wget.md b/pages.es/windows/wget.md new file mode 100644 index 00000000000000..d1223a83f681b8 --- /dev/null +++ b/pages.es/windows/wget.md @@ -0,0 +1,17 @@ +# wget + +> En PowerShell, este comando puede ser un alias de `Invoke-WebRequest` cuando el programa original `wget` () no está correctamente instalado. +> Nota: si el comando version devuelve un error, PowerShell puede haber sustituido este comando por `Invoke-WebRequest`. +> Más información: . + +- Vea la documentación del comando original `wget`: + +`tldr wget -p common` + +- Vea la documentación del comando `Invoke-WebRequest` de PowerShell: + +`tldr invoke-webrequest` + +- Muestra la versión: + +`wget --version` diff --git a/pages.es/windows/where-object.md b/pages.es/windows/where-object.md new file mode 100644 index 00000000000000..7b2c233f2e11a6 --- /dev/null +++ b/pages.es/windows/where-object.md @@ -0,0 +1,17 @@ +# Where-Object + +> Selecciona objetos de una colección basándose en los valores de sus propiedades. +> Nota: Este comando solo puede utilizarse a través de PowerShell. +> Más información: . + +- Filtra alias por su nombre: + +`Get-Alias | Where-Object -{{Propiedad}} {{Nombre}} -{{eq}} {{nombre}}` + +- Lista todos los servicios que están actualmente detenidos. La variable automática `$_` representa cada objeto que se pasa al cmdlet `Where-Object`: + +`Get-Service | Where-Object {$_.Status -eq "Stopped"}` + +- Utiliza múltiples condiciones: + +`Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }` diff --git a/pages.es/windows/where.md b/pages.es/windows/where.md new file mode 100644 index 00000000000000..bbdb95aba3a402 --- /dev/null +++ b/pages.es/windows/where.md @@ -0,0 +1,21 @@ +# where + +> Muestra la ubicación de archivos que coinciden con el patrón de búsqueda. +> Por defecto busca en el directorio de trabajo actual y en las rutas definidas en la variable de entorno PATH. +> Más información: . + +- Muestra la ubicación del patrón de archivo: + +`where {{patrón_de_archivo}}` + +- Muestra la ubicación del patrón de archivo incluyendo tamaño y fecha: + +`where /T {{patrón_de_archivo}}` + +- Busca recursivamente el patrón de archivo en la ruta especificada: + +`where /R {{ruta\al\directorio}} {{patrón_de_archivo}}` + +- Retorna silenciosamente el código de error para la ubicación del patrón de archivo: + +`where /Q {{patrón_de_archivo}}` diff --git a/pages.es/windows/whoami.md b/pages.es/windows/whoami.md new file mode 100644 index 00000000000000..e0e25b65d2cdea --- /dev/null +++ b/pages.es/windows/whoami.md @@ -0,0 +1,28 @@ +# whoami + +> Muestra detalles sobre el usuario actual. +> Más información: . + +- Muestra el nombre de usuario del usuario actual: + +`whoami` + +- Muestra los grupos a los que pertenece el usuario actual: + +`whoami /groups` + +- Muestra los privilegios del usuario actual: + +`whoami /priv` + +- Muestra el nombre principal del usuario (UPN) actual: + +`whoami /upn` + +- Muestra el ID de inicio de sesión del usuario actual: + +`whoami /logonid` + +- Muestra toda la información del usuario actual: + +`whoami /all` diff --git a/pages.es/windows/winget.md b/pages.es/windows/winget.md new file mode 100644 index 00000000000000..479493a6b924b4 --- /dev/null +++ b/pages.es/windows/winget.md @@ -0,0 +1,36 @@ +# winget + +> Administrador de paquetes de Windows. +> Más información: . + +- Instalar un paquete: + +`winget {{[add|install]}} {{paquete}}` + +- Eliminar un paquete (Nota: `remove` también se puede usar en lugar de `uninstall`): + +`winget {{[rm|uninstall]}} {{paquete}}` + +- Mostrar información sobre un paquete: + +`winget show {{paquete}}` + +- Buscar un paquete: + +`winget search {{paquete}}` + +- Actualizar todos los paquetes a las versiones más recientes: + +`winget upgrade {{[-r|--all]}}` + +- Listar todos los paquetes instalados que se pueden gestionar con `winget`: + +`winget {{[ls|list]}} {{[-s|--source]}} winget` + +- Importar paquetes desde un archivo o exportar paquetes instalados a un archivo: + +`winget {{import|export}} {{--import-file|--output}} {{ruta/al/archivo}}` + +- Validar manifiestos antes de enviar un PR al repositorio winget-pkgs: + +`winget validate {{ruta/al/manifiesto}}` diff --git a/pages.es/windows/wmic.md b/pages.es/windows/wmic.md new file mode 100644 index 00000000000000..42ed0d7a854056 --- /dev/null +++ b/pages.es/windows/wmic.md @@ -0,0 +1,32 @@ +# wmic + +> Consola interactiva para obtener información detallada sobre los procesos en ejecución. +> Más información: . + +- Gramática fundamental: + +`wmic {{alias}} {{cláusula_where}} {{cláusula_verb}}` + +- Muestra detalles breves sobre los procesos en ejecución actualmente: + +`wmic process list brief` + +- Muestra detalles completos sobre los procesos en ejecución actualmente: + +`wmic process list full` + +- Accede a campos específicos como nombre del proceso, ID del proceso e ID del proceso padre: + +`wmic process get {{name,processid,parentprocessid}}` + +- Muestra información sobre un proceso específico: + +`wmic process where {{name="ejemplo.exe"}} list full` + +- Muestra campos específicos para un proceso específico: + +`wmic process where processid={{pid}} get {{name,commandline}}` + +- Termina un proceso: + +`wmic process {{pid}} delete` diff --git a/pages.es/windows/wsl-open.md b/pages.es/windows/wsl-open.md new file mode 100644 index 00000000000000..716925952e8ba4 --- /dev/null +++ b/pages.es/windows/wsl-open.md @@ -0,0 +1,24 @@ +# wsl-open + +> Abre un archivo o URL desde el Subsistema de Windows para Linux en la aplicación GUI predeterminada de Windows del usuario. +> Más información: . + +- Abre el directorio actual en el Explorador de Windows: + +`wsl-open {{.}}` + +- Abre una URL en el navegador web predeterminado del usuario en Windows: + +`wsl-open {{https://example.com}}` + +- Abre un archivo específico en la aplicación predeterminada del usuario en Windows: + +`wsl-open {{ruta\al\archivo}}` + +- Establece `wsl-open` como el navegador web del shell (abre enlaces con `wsl-open`): + +`wsl-open -w` + +- Muestra la ayuda: + +`wsl-open -h` diff --git a/pages.es/windows/wsl.md b/pages.es/windows/wsl.md new file mode 100644 index 00000000000000..f645557dd4ded7 --- /dev/null +++ b/pages.es/windows/wsl.md @@ -0,0 +1,36 @@ +# wsl + +> Administra el Subsistema de Windows para Linux. +> Más información: . + +- Iniciar un shell de Linux (usando la distribución predeterminada): + +`wsl {{comando_de_shell}}` + +- Ejecutar un comando de Linux sin usar un shell: + +`wsl --exec {{comando}} {{argumentos_del_comando}}` + +- Especificar una distribución particular: + +`wsl --distribution {{distribución}} {{comando_de_shell}}` + +- Listar las distribuciones disponibles: + +`wsl --list` + +- Exportar una distribución a un archivo `.tar`: + +`wsl --export {{distribución}} {{ruta\a\archivo_de_distribucion.tar}}` + +- Importar una distribución de un archivo `.tar`: + +`wsl --import {{distribución}} {{ruta\a\ubicacion_de_instalacion}} {{ruta\a\archivo_de_distribucion.tar}}` + +- Cambiar la versión de wsl usada para la distribución especificada: + +`wsl --set-version {{distribución}} {{versión}}` + +- Apagar el Subsistema de Windows para Linux: + +`wsl --shutdown` diff --git a/pages.es/windows/xcopy.md b/pages.es/windows/xcopy.md new file mode 100644 index 00000000000000..6ba7eace216972 --- /dev/null +++ b/pages.es/windows/xcopy.md @@ -0,0 +1,36 @@ +# xcopy + +> Copia archivos y árboles de directorios. +> Más información: . + +- Copia el o los archivos a la ubicación de destino especificada: + +`xcopy {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_de_destino}}` + +- Lista los archivos que se copiarán antes de copiarlos: + +`xcopy {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_de_destino}} /p` + +- Copiar solo la estructura del directorio, excluyendo archivos: + +`xcopy {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_de_destino}} /t` + +- Incluir directorios vacíos al copiar: + +`xcopy {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_de_destino}} /e` + +- Mantener el ACL de origen en el destino: + +`xcopy {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_de_destino}} /o` + +- Permitir reanudar cuando se pierde la conexión de red: + +`xcopy {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_de_destino}} /z` + +- Desactiva el aviso cuando el archivo existe en el destino: + +`xcopy {{ruta\al\archivo_o_directorio}} {{ruta\al\directorio_de_destino}} /y` + +- Muestra la ayuda: + +`xcopy /?` diff --git a/pages.fa/android/am.md b/pages.fa/android/am.md new file mode 100644 index 00000000000000..e3e0a16571abb4 --- /dev/null +++ b/pages.fa/android/am.md @@ -0,0 +1,20 @@ +# am + +> مدیر فعالیت های اندروید +> اطلاعات بیشتر: . + +- یک فعالیت خاص رو شروع کن : + +`am start -n {{com.android.settings/.Settings}}` + +- یک فعالیت خاص رو شروع کن و داده به آن ارسال کن : + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- فعالیتی که با دسته بندی و عمل خاصی مطابقت داره رو شروع کن : + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- یک اینتنت رو به یک URI تبدیل میکنه : + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.fa/android/bugreport.md b/pages.fa/android/bugreport.md new file mode 100644 index 00000000000000..af340256756bc4 --- /dev/null +++ b/pages.fa/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> نمایش یک گزارش خطا اندروید. +> این دستور فقط از طریق `adb shell` قابل اجراست. +> اطلاعات بیشتر: . + +- یک گزارش خطای کامل از دستگاه مورد نظر نمایش میدهد : + +`bugreport` diff --git a/pages.fa/android/bugreportz.md b/pages.fa/android/bugreportz.md new file mode 100644 index 00000000000000..f9f80bc6fb79f2 --- /dev/null +++ b/pages.fa/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> تولید یک گزارش خطای اندروید فشرده شده. +> این دستور فقط از طریق `adb shell` قابل اجراست. +> اطلاعات بیشتر: . + +- تولید که گزارش خطای کامل از یک دستگاه اندرویدی : + +`bugreportz` + +- نمایش فرایند اجرای دستور `bugreportz` : + +`bugreportz -p` + +- نمایش راهنمایی : + +`bugreportz -h` + +- نمایش نسخه `bugreportz` : + +`bugreportz -v` diff --git a/pages.fa/android/cmd.md b/pages.fa/android/cmd.md new file mode 100644 index 00000000000000..a34e2a8027151a --- /dev/null +++ b/pages.fa/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> مدیر سرویس اندروید. +> اطلاعات بیشتر: . + +- فهرست تمام سرویس های درحال اجرا : + +`cmd -l` + +- فراخوان یک سرویس : + +`cmd {{service}}` + +- فراخوان یک سرویس با مقادیر ورودی : + +`cmd {{service}} {{argument1 argument2 ...}}` diff --git a/pages.fa/android/dalvikvm.md b/pages.fa/android/dalvikvm.md new file mode 100644 index 00000000000000..2b168fcd2f3397 --- /dev/null +++ b/pages.fa/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> ماشین مجازی اندروید. +> اطلاعات بیشتر: . + +- اجرای یک برنامه جاوا : + +`dalvikvm -classpath {{path/to/file.jar}} {{classname}}` diff --git a/pages.fa/android/dumpsys.md b/pages.fa/android/dumpsys.md new file mode 100644 index 00000000000000..8443188ed82163 --- /dev/null +++ b/pages.fa/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> ارائه اطلاعات درباره سیستم سرویس اندروید. +> این دستور فقط از طریق `adb shell` قابل اجراست. +> اطلاعات بیشتر: . + +- دریافت اطلاعات عیب بای تمامی سرویس های سیستمی : + +`dumpsys` + +- دریافت اطلاعات عیب یابی یک سرویس سیستمی مشخص : + +`dumpsys {{service}}` + +- فهرستی از تمامی سرویس هایی که `dumpsys` میتواند اطلاعات بدهد : + +`dumpsys -l` + +- ورودی های یک سرویس مشخص را فهرست میکند : + +`dumpsys {{service}} -h` + +- حذف یک سرویس مشخص از خروجی عیب یابی : + +`dumpsys --skip {{service}}` + +- تعیین فرصت زمانی بر مبنای ثانیه (پیش فرض 10ثانیه) : + +`dumpsys -t {{8}}` diff --git a/pages.fa/android/getprop.md b/pages.fa/android/getprop.md new file mode 100644 index 00000000000000..dc4f1791611f00 --- /dev/null +++ b/pages.fa/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> نمایش اطلاعات مربوط به مشخصات سیستم اندروید. +> اطلاعات بیشتر: . + +- نمایش اطلاعات مربوط به مشخصات سیستم اندروید : + +`getprop` + +- نمایش اطلاعات مربوط به یک مشخصه : + +`getprop {{property}}` + +- نمایش سطح SDK رابط برنامه نویسی : + +`getprop {{ro.build.version.sdk}}` + +- نمایش نسخه اندروید : + +`getprop {{ro.build.version.release}}` + +- نمایش مدل دستگاه اندروید : + +`getprop {{ro.vendor.product.model}}` + +- نمایش اطلاعات قفل OEM : + +`getprop {{ro.oem_unlock_supported}}` + +- نمایش آدرس مک کارت وای فای اندروید : + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.fa/android/input.md b/pages.fa/android/input.md new file mode 100644 index 00000000000000..2d594eaba6d08a --- /dev/null +++ b/pages.fa/android/input.md @@ -0,0 +1,25 @@ +# input + +> ارسال کد رویداد یا ورودی صفحه نمایش به یک دستگاه اندروید. +> این دستور فقط از طریق `adb shell` قابل اجراست. +> اطلاعات بیشتر: . + +- ارسال کد رویداد یک کاراکتر به یک دستگاه اندروید : + +`input keyevent {{event_code}}` + +- ارسال یک متن به یک دستگاه اندروید (`%s` نمایانگر فاصله است) : + +`input text "{{text}}"` + +- ارسال یک ضربه به یک دستگاه اندروید : + +`input tap {{x_position}} {{y_position}}` + +- ارسال حرکت افقی عمودی به یک دستگاه اندروید : + +`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duration_in_ms}}` + +- ارسال یک نگهداشتن بلند مدت به یک دستگاه اندرویدی از طریق حرکت افقی عمودی : + +`input swipe {{x_position}} {{y_position}} {{x_position}} {{y_position}} {{duration_in_ms}}` diff --git a/pages.fa/android/logcat.md b/pages.fa/android/logcat.md new file mode 100644 index 00000000000000..ac49481df07a05 --- /dev/null +++ b/pages.fa/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> تخلیه یک لاگ از پیاهم های سیستمی، شامل پشته رهگیری زمان وقوع خطا، و اطلاعات پیام های لاگ شده توسط برنامه ها. +> اطلاعات بیشتر: . + +- نمایش لاگ سیستمی : + +`logcat` + +- نوشتن لاگ سیستمی به یک فایل : + +`logcat -f {{path/to/file}}` + +- نمایش خطاهای منطبق با الگوی ورودی : + +`logcat --regex {{regular_expression}}` + +- نمایش لاگ های مربوط به یک PID مشخص : + +`logcat --pid {{pid}}` + +- نمایش لاگ های پروسه های مربوط به یک بسته مشخص : + +`logcat --pid $(pidof -s {{package}})` diff --git a/pages.fa/android/pkg.md b/pages.fa/android/pkg.md new file mode 100644 index 00000000000000..cf6f33a2a475e2 --- /dev/null +++ b/pages.fa/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> ابزار مدیر بسته ها برای ترماکس. +> اطلاعات بیشتر: . + +- ارتقا تمامی بسته های نصب شده : + +`pkg upgrade` + +- نصب یک بسته : + +`pkg install {{package}}` + +- حذف یک بسته : + +`pkg uninstall {{package}}` + +- نصب دوباره یک بسته : + +`pkg reinstall {{package}}` + +- جستجوی یک بسته : + +`pkg search {{package}}` diff --git a/pages.fa/android/pm.md b/pages.fa/android/pm.md new file mode 100644 index 00000000000000..8dc1448b1cdd96 --- /dev/null +++ b/pages.fa/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> نمایش اطلاعات مربوط به برنامه های یک دستگاه اندروید. +> اطلاعات بیشتر: . + +- فهرست تمامی برنامه های نصب شده : + +`pm list packages` + +- فهرست تمامی برنامه های سیستمی نصب شده : + +`pm list packages -s` + +- فهرست تمامی برنامه های نصب شده شخض ثالث : + +`pm list packages -3` + +- فهرست برنامه های منطبق با کلید واژه(ها) : + +`pm list packages {{keyword1 keyword2 ...}}` + +- نمایش مسیر فایل APK یک برنامه مشخص : + +`pm path {{app}}` diff --git a/pages.fa/android/screencap.md b/pages.fa/android/screencap.md new file mode 100644 index 00000000000000..24818184f42f56 --- /dev/null +++ b/pages.fa/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> ضبط یک اسکرین شات از صفحه یک موبایل. +> این دستور فقط از طریق `adb shell` قابل اجراست. +> اطلاعات بیشتر: . + +- ضبط یک اسکرین شات : + +`screencap {{path/to/file}}` diff --git a/pages.fa/android/settings.md b/pages.fa/android/settings.md new file mode 100644 index 00000000000000..d232ec9178e1ab --- /dev/null +++ b/pages.fa/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> دریافت اطلاعات مربوط به سیستم عامل اندروید. +> اطلاعات بیشتر: . + +- نمایش یک فهرست از تنظیمات داخل فضای نام `global` : + +`settings list {{global}}` + +- دریافت مقدار یک تنظیم مشخص : + +`settings get {{global}} {{airplane_mode_on}}` + +- انتصاب یک مقدار مشخص به یک تنظیم : + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- حذف یک تنظیم مشخص : + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.fa/android/wm.md b/pages.fa/android/wm.md new file mode 100644 index 00000000000000..3f8c57e5753232 --- /dev/null +++ b/pages.fa/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> نمایش اطلاعات مربوط به صفحه نمایش یک دستگاه اندروید. +> این دستور فقط از طریق `adb shell` قابل اجراست. +> اطلاعات بیشتر: . + +- نمایش اندازه فیزیکی صفحه نمایش یک دستگاه اندروید : + +`wm size` + +- نمایش فشردگی پیکسل فیزیکی صفحه نمایش یک دستگاه اندروید : + +`wm density` diff --git a/pages.fa/common/2to3.md b/pages.fa/common/2to3.md new file mode 100644 index 00000000000000..a454f101f517ea --- /dev/null +++ b/pages.fa/common/2to3.md @@ -0,0 +1,32 @@ +# 2to3 + +> تبدیل خودکار کد پایتون نسخه 2 به 3 +> اطلاعات بیشتر: . + +- نمایش تغییرات که در حال حاضر انجام میشود بدون اجرای آن (dry-run) : + +`2to3 {{path/to/file.py}}` + +- تبدیل فایل پایتون نسخه 2 به 3 : + +`2to3 --write {{path/to/file.py}}` + +- تبدیل قابلیت های خاص پایتون نسخه 2 به 3 : + +`2to3 --write {{path/to/file.py}} --fix {{raw_input}} --fix {{print}}` + +- تبدیل تمامی قابلیت های نسخه 2 به 3 بغیر از ویژگی های معیین شده : + +`2to3 --write {{path/to/file.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- نمایش لیست قابلیت های زبان پایتون نسخه 2 که قابلیت تبدیل به نسخه 3 را دارند : + +`2to3 --list-fixes` + +- تبدیل تمامی فایل های پایتون نسخه 2 به 3 در یک مسیر : + +`2to3 --output-dir {{path/to/python3_directory}} --write-unchanged-files --nobackups {{path/to/python2_directory}}` + +- اجرای همزان(چند رشته ای) دستور 2 به 3 : + +`2to3 --processes {{4}} --output-dir {{path/to/python3_directory}} --write --nobackups --no-diff {{path/to/python2_directory}}` diff --git a/pages.fa/common/7z.md b/pages.fa/common/7z.md new file mode 100644 index 00000000000000..a22e4c0ac4e157 --- /dev/null +++ b/pages.fa/common/7z.md @@ -0,0 +1,36 @@ +# 7z + +> آرشیو کننده فایل با قدرت فشرده سازی بالا. +> اطلاعات بیشتر: . + +- اضافه کردن یک فایل یا پوشه به آرشیو موجود: + +`7z a {{path/to/archive.7z}} {{path/to/file_or_directory}}` + +- رمزنگاری آرشیو موجود (همراه با اسم فایلها): + +`7z a {{path/to/encrypted.7z}} -p{{password}} -mhe=on {{path/to/archive.7z}}` + +- استخراج یک آرشیو درحالی که ساختار پوشه اصلی حفظ می شود: + +`7z x {{path/to/archive.7z}}` + +- استخراج یک آرشیو در پوشه مورد نظر: + +`7z x {{path/to/archive.7z}} -o{{path/to/output}}` + +- استخراج یک آرشیو در `stdout`: + +`7z x {{path/to/archive.7z}} -so` + +- آرشیو کردن با نوع آرشیو دلخواه: + +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{path/to/archive}} {{path/to/file_or_directory}}` + +- فهرست کردن محتواهای یک آرشیو: + +`7z l {{path/to/archive.7z}}` + +- تنظیم میزان فشرده سازی (مقادیر بیشتر به معنی فشرده سازی بیشتر اما آهسته تر است): + +`7z a {{path/to/archive.7z}} -mx={{0|1|3|5|7|9}} {{path/to/file_or_directory}}` diff --git a/pages.fa/common/7za.md b/pages.fa/common/7za.md new file mode 100644 index 00000000000000..b9b4cfc1030fc9 --- /dev/null +++ b/pages.fa/common/7za.md @@ -0,0 +1,37 @@ +# 7za + +> آرشیو کننده فایل با قدرت فشرده سازی بالا. +> عملکرد مشابه `7z` بااین تفاوت که دستور مزبور از نوع فایل کمتری پشتیبانی می کند اما چند-سکویی است. +> اطلاعات بیشتر: . + +- آرشیو یک فایل یا پوشه: + +`7za a {{path/to/archive.7z}} {{path/to/file_or_directory}}` + +- رمزنگاری یک آرشیو موجود (شامل نام فایلها): + +`7za a {{path/to/encrypted.7z}} -p{{password}} -mhe={{on}} {{path/to/archive.7z}}` + +- استخراج یک آرشیو درحالی که ساختار پوشه اصلی حفظ می شود: + +`7za x {{path/to/archive.7z}}` + +- استخراج یک آرشیو در پوشه موردنظر: + +`7za x {{path/to/archive.7z}} -o{{path/to/output}}` + +- استخراج یک آرشیو در `stdout`: + +`7za x {{path/to/archive.7z}} -so` + +- آرشیو کردن با نوع آرشیو دلخواه: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{path/to/archive.7z}} {{path/to/file_or_directory}}` + +- فهرست کردن محتواهای یک آرشیو: + +`7za l {{path/to/archive.7z}}` + +- تنظیم میزان فشرده سازی (مقادیر بیشتر به معنی فشرده سازی بیشتر اما آهسته تر است): + +`7za a {{path/to/archive.7z}} -mx={{0|1|3|5|7|9}} {{path/to/file_or_directory}}` diff --git a/pages.fa/common/7zr.md b/pages.fa/common/7zr.md new file mode 100644 index 00000000000000..17ba843fd7d8c9 --- /dev/null +++ b/pages.fa/common/7zr.md @@ -0,0 +1,33 @@ +# 7zr + +> آرشیو کننده فایل با قدرت فشرده سازی بالا. +> عملکردی مشابه `7z` با این تفاوت که از فایلهای `.7z` پشتیبانی نمی کند. +> اطلاعات بیشتر: . + +- آرشیو کردن یک فایل یا پوشه: + +`7zr a {{path/to/archive.7z}} {{path/to/file_or_directory}}` + +- رمزنگاری آرشیو موجود (همراه با اسم فایلها): + +`7zr a {{path/to/encrypted.7z}} -p{{password}} -mhe={{on}} {{path/to/archive.7z}}` + +- استخراج یک آرشیو درحالی که ساختار پوشه اصلی حفظ می شود: + +`7zr x {{path/to/archive.7z}}` + +- استخراج یک آرشیو در پوشه مورد نظر: + +`7zr x {{path/to/archive.7z}} -o{{path/to/output}}` + +- استخراج یک آرشیو در `stdout`: + +`7zr x {{path/to/archive.7z}} -so` + +- فهرست کردن محتواهای یک آرشیو: + +`7zr l {{path/to/archive.7z}}` + +- تنظیم میزان فشرده سازی (مقادیر بیشتر به معنی فشرده سازی بیشتر اما آهسته تر است): + +`7zr a {{path/to/archive.7z}} -mx={{0|1|3|5|7|9}} {{path/to/file_or_directory}}` diff --git a/pages.fa/common/[.md b/pages.fa/common/[.md new file mode 100644 index 00000000000000..7c3744b02f6402 --- /dev/null +++ b/pages.fa/common/[.md @@ -0,0 +1,33 @@ +# [ + +> بررسی نوع فایل و مقایسه مقدار ها +> عدد 0 برمیگرداند اگر شرط درست باشد و 1 اگر شرط نادرست باشد +> اطلاعات بیشتر: . + +- بررسی میکند که آیا یک متغییر با رشته معین برابر است یا نابرابر : + +`[ "${{variable}}" {{=|!=}} "{{string}}" ]` + +- اینکه متغییری برابر/ نابرابر/ بزرگتر از/ کوچکتر از/ برابر یا بزرگتر/ کوچکتر یا برابر با عددی است را بررسی میکند : + +`[ "${{variable}}" -{{eq|ne|gt|lt|ge|le}} {{integer}} ]` + +- اینکه متغییر با مقدار معین دارد یا مقدار نا معین دارد را بررسی میکند : + +`[ -n "${{variable}}" ]` + +- اینکه متغییری مقدار تهی دارد را بررسی میکند : + +`[ -z "${{variable}}" ]` + +- اینکه فایل معینی وجود دارد یا خیر را بررسی میکند : + +`[ -f {{path/to/file}} ]` + +- اینکه دایرکتوری معینی وجود دارد یا خیر را بررسی میکند : + +`[ -d {{path/to/directory}} ]` + +- اینکه فایل یا دایرکتوری معینی وجود دارد یا خیر را بررسی میکند : + +`[ -e {{path/to/file_or_directory}} ]` diff --git a/pages.fa/common/[[.md b/pages.fa/common/[[.md new file mode 100644 index 00000000000000..a0f63ffc4be2d9 --- /dev/null +++ b/pages.fa/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> نوع فایل و مقادیر را بررسی میکند. +> عدد 0 برمیگرداند اگر حاصل عبارت شرط درست باشد و 1 اگر نادرست باشد. +> اطلاعات بیشتر: . + +- اینکه متغییری برابر/نابرابر با رشته ای معین است را بررسی میکند : + +`[[ ${{variable}} {{==|!=}} "{{string}}" ]]` + +- اینکه متغییری از الگوی معین شده پیروی میکند را بررسی میکند : + +`[[ ${{variable}} {{==|=~}} {{pattern}} ]]` + +- اینکه متغییری برابر/ نابرابر/ بزرگتر از/ کوچکتر از/ برابر یا بزرگتر/ کوچکتر یا برابر با عددی است را بررسی میکند : + +`[[ ${{variable}} -{{eq|ne|gt|lt|ge|le}} {{integer}} ]]` + +- اینکه متغییری مقدار غیرتهی دارد را بررسی میکند : + +`[[ -n ${{variable}} ]]` + +- اینکه متغییری مقدار تهی دارد را بررسی میکند : + +`[[ -z ${{variable}} ]]` + +- وجود فایلی را بررسی میکند : + +`[[ -f {{path/to/file}} ]]` + +- وجود پوشه ای را بررسی میکند : + +`[[ -d {{path/to/directory}} ]]` + +- وجود پوشه یا فایلی را بررسی میکند : + +`[[ -e {{path/to/file_or_directory}} ]]` diff --git a/pages.fa/common/ac.md b/pages.fa/common/ac.md new file mode 100644 index 00000000000000..12fbfd350fd8d9 --- /dev/null +++ b/pages.fa/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> آماری درمورد اینکه کاربران چه مدت متصل بوده اند چاپ می کند. +> اطلاعات بیشتر: . + +- مدت زمان اتصال کاربر فعلی را به ساعت چاپ می کند: + +`ac` + +- مدت زمان اتصال کاربران را به ساعت چاپ می کند: + +`ac -p` + +- مدت زمان اتصال یک کاربر خاص را به ساعت چاپ می کند: + +`ac -p {{username}}` + +- (همراه با مجموع) مدت زمان اتصال یک کاربر به ساعت در روز را چاپ می کند: + +`ac -dp {{username}}` diff --git a/pages.fa/common/agate.md b/pages.fa/common/agate.md new file mode 100644 index 00000000000000..21e92c6ae06cbf --- /dev/null +++ b/pages.fa/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> یک سرور ساده برای پروتوکل شبکه Gemini. +> اطلاعات بیشتر: . + +- اجرا و ساخت یک کلید خصوصی و مجوز: + +`agate --content {{path/to/content/}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{en-US}}` + +- اجرا کردن سرور: + +`agate {{path/to/file}}` + +- نمایش راهنما: + +`agate -h` diff --git a/pages.fa/common/airmon-ng.md b/pages.fa/common/airmon-ng.md new file mode 100644 index 00000000000000..047cc93e5dd4b9 --- /dev/null +++ b/pages.fa/common/airmon-ng.md @@ -0,0 +1,21 @@ +# airmon-ng + +> فعالسازی مانیتور مود بر روی دستگاه های شبکه بیسیم. +> بخشی از `aircrack-ng`. +> اطلاعات بیشتر: . + +- فهرست کردن دستگاه های بی سیم و وضعیت آنها: + +`sudo airmon-ng` + +- فعالسازی مانیتور مود برای یک دستگاه خاص: + +`sudo airmon-ng start {{wlan0}}` + +- متوقف کردن پروسه های مزاحم که از دستگاه های بی سیم استفاده می کنند: + +`sudo airmon-ng check kill` + +- خاموش کردن مانیتور مود برای یک اینترفیس شبکه خاص: + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.fa/common/airpaste.md b/pages.fa/common/airpaste.md new file mode 100644 index 00000000000000..6339b73f9abece --- /dev/null +++ b/pages.fa/common/airpaste.md @@ -0,0 +1,24 @@ +# airpaste + +> اشتراک گذاری پیام و فایل از طریق شبکه مشترک با استفاده از mDNS. +> اطلاعات بیشتر: . + +- منتظر پیام می ماند و هنگام دریافت آن را نشان می دهد: + +`airpaste` + +- ارسال متن: + +`echo {{text}} | airpaste` + +- ارسال فایل: + +`airpaste < {{path/to/file}}` + +- دریافت فایل: + +`airpaste > {{path/to/file}}` + +- ساخت یا ورود به یک کانال: + +`airpaste {{channel_name}}` diff --git a/pages.fa/common/alex.md b/pages.fa/common/alex.md new file mode 100644 index 00000000000000..e8ee7c410922b2 --- /dev/null +++ b/pages.fa/common/alex.md @@ -0,0 +1,21 @@ +# alex + +> نوشته های نادرست و مشکل دار پیدا کنید. +> به شما کمک می کند نوشته های حاوی تعصب جنسیتی، دوقطبی کننده جامعه، نژاد پرستانه، توهین به مذاهب و سایر جملات مشابه را پیدا کنید. +> اطلاعات بیشتر: . + +- بررسی کردن متن ورودی از `stdin`: + +`echo {{His network looks good}} | alex --stdin` + +- بررسی تمام فایل های موجود در این دایرکتوری: + +`alex` + +- بررسی یک فایل خاص: + +`alex {{path/to/file.md}}` + +- بررسی تمام فایل های نشانه گذاری به جز `example.md`: + +`alex *.md !{{example.md}}` diff --git a/pages.fa/common/alias.md b/pages.fa/common/alias.md new file mode 100644 index 00000000000000..fd0ecc3fef7378 --- /dev/null +++ b/pages.fa/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> ایجاد نام مستعار -- کلمه ای که جایگزین یک دستور می باشد. +> نام های مستعار طول عمری برابر با جلسه جاری شل مربوطه دارند مگر اینکه در فایل های پیکربندی شل مربوط نظیر `~/.bashrc` تعریف شوند. +> اطلاعات بیشتر: . + +- نمایش تمامی نام های مستعار: + +`alias` + +- ایجاد یک نام مستعار: + +`alias {{word}}="{{command}}"` + +- نمایش نام مستعار مرتبط با کلمه مشخص شده: + +`alias {{word}}` + +- حذف یک نام مستعار: + +`unalias {{word}}` + +- تغییر `rm` به نسخه تعاملی با تعریف نام مستعار: + +`alias {{rm}}="{{rm -i}}"` + +- تعریف `la` به عنوان میانبری برای `ls -a`: + +`alias {{la}}="{{ls -a}}"` diff --git a/pages.fa/common/ani-cli.md b/pages.fa/common/ani-cli.md new file mode 100644 index 00000000000000..9a574cab3de7d3 --- /dev/null +++ b/pages.fa/common/ani-cli.md @@ -0,0 +1,28 @@ +# ani-cli + +> یک ابزار خط فرمان برای کاوش و تماشای انیمه. +> اطلاعات بیشتر: . + +- جستجوی انیمه با نام: + +`ani-cli "{{anime_name}}"` + +- دانلود قسمت: + +`ani-cli -d "{{anime_name}}"` + +- استفاده از VLC به عنوان پخش کننده ویدیو: + +`ani-cli -v "{{anime_name}}"` + +- مشخص کردن قسمتی که میخواهید پخش شود: + +`ani-cli -e {{episode_number}} "{{anime_name}}"` + +- ادامه دادن تماشای انیمه از تاریخچه موجود: + +`ani-cli -c` + +- بروزرسانی `ani-cli`: + +`ani-cli -U` diff --git a/pages.fa/common/apg.md b/pages.fa/common/apg.md new file mode 100644 index 00000000000000..dd9929d6d207f1 --- /dev/null +++ b/pages.fa/common/apg.md @@ -0,0 +1,24 @@ +# apg + +> ساخت پسوردهای دلخواه، پیچیده و تصادفی. +> اطلاعات بیشتر: . + +- ساخت پسوردهای تصادفی (با طول پیشفرض 8 کاراکتر): + +`apg` + +- ساخت یک پسورد با حداقل یک علامت (S)، یک عدد (N)، یک حرف بزرگ (C) و یک حرف کوچک (L): + +`apg -M SNCL` + +- ساخت یک پسورد با 16 کاراکتر: + +`apg -m {{16}}` + +- ساخت یک پسورد با حداکثر طول 16 کاراکتر: + +`apg -x {{16}}` + +- ساخت پسوردی که در یک دیکشنری دیده نمی شود (فایل دیکشنری باید ارائه شود): + +`apg -r {{path/to/dictionary_file}}` diff --git a/pages.fa/common/apktool.md b/pages.fa/common/apktool.md new file mode 100644 index 00000000000000..8a104bf9401ae1 --- /dev/null +++ b/pages.fa/common/apktool.md @@ -0,0 +1,16 @@ +# apktool + +> مهندسی معکوس فایل های APK. +> اطلاعات بیشتر: . + +- رمزگشایی یک فایل APK: + +`apktool d {{path/to/file.apk}}` + +- ساخت یک فایل APK از یک دایرکتوری: + +`apktool b {{path/to/directory}}` + +- نصب و ذخیره یک فریمورک: + +`apktool if {{path/to/framework.apk}}` diff --git a/pages.fa/common/aria2c.md b/pages.fa/common/aria2c.md new file mode 100644 index 00000000000000..6a10bad64ed61f --- /dev/null +++ b/pages.fa/common/aria2c.md @@ -0,0 +1,37 @@ +# aria2c + +> ابزاری برای دانلود سریع. +> قابلیت پشتیبانی از Http(s), FTP, SFTP, BitTorrent, Metalink. +> اطلاعات بیشتر: . + +- دانلود لینک موردنظر و ذخیره در فایل: + +`aria2c "{{url}}"` + +- دانلود یک فایل از لینک موردنظر با اسم خروجی دلخواه: + +`aria2c --out {{path/to/file}} "{{url}}"` + +- دانلود چند فایل مختلف به صورت همزمان: + +`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"` + +- دانلود از چند لینک مختلف: + +`aria2c "{{url1 url2 ...}}"` + +- دانلود لینک های لیست شده در یک فایل همراه با تنظیم تعداد دانلود های همزمان: + +`aria2c --input-file={{path/to/file}} --max-concurrent-downloads={{number_of_downloads}}` + +- دانلود با چندین اتصال مختلف: + +`aria2c --split {{number_of_connections}} "{{url}}"` + +- دانلود از FTP با نام کاربری و رمزعبور: + +`aria2c --ftp-user={{username}} --ftp-passwd={{password}} "{{url}}"` + +- محدود کردن سرعت دانلود با واحد بایت بر ثانیه: + +`aria2c --max-download-limit={{speed}} "{{url}}"` diff --git a/pages.fa/common/atq.md b/pages.fa/common/atq.md new file mode 100644 index 00000000000000..a9f20970157576 --- /dev/null +++ b/pages.fa/common/atq.md @@ -0,0 +1,16 @@ +# atq + +> نمایش کارهای زمانبندی شده توسط دستورهای`at` یا `batch`. +> اطلاعات بیشتر: . + +- نمایش کارهای زمانبندی شده کاربر کنونی: + +`atq` + +- نمایش کارها از صفی به اسم 'a' (صف ها اسم های یک کاراکتری دارند): + +`atq -q {{a}}` + +- نمایش کارهای تمام کاربرها (با دسترسی سوپریوزر اجرا کنید): + +`sudo atq` diff --git a/pages.fa/common/atuin.md b/pages.fa/common/atuin.md new file mode 100644 index 00000000000000..f4df02e8f61a7b --- /dev/null +++ b/pages.fa/common/atuin.md @@ -0,0 +1,29 @@ +# atuin + +> ذخیره سازی تاریخچه شل شما در یک دیتابیس قابل جستجو. +> به صورت اختیاری می توانید تاریخچه رمزنگاری شده را بین دستگاه هایتان هماهنگ کنید. +> اطلاعات بیشتر: . + +- نصب آتویین برروی شل شما: + +`eval "$(atuin init {{bash|zsh|fish}})"` + +- وارد کردن تاریخچه از فایل مربوط به تاریخچه پیشفرض شل: + +`atuin import auto` + +- جستجوی تاریخچه شل برای یک دستور خاص: + +`atuin search {{command}}` + +- ثبت نام یک حساب بر روی سرور پیشفرض با استفاده از نام کاربری و ایمیل و رمزعبور دلخواه: + +`atuin register -u {{username}} -e {{email}} -p {{password}}` + +- ورود به سرور پیشفرض: + +`atuin login -u {{username}} -p {{password}}` + +- هماهنگ کردن تاریخچه با سرور: + +`atuin sync` diff --git a/pages.fa/common/bob.md b/pages.fa/common/bob.md new file mode 100644 index 00000000000000..70b750674f5080 --- /dev/null +++ b/pages.fa/common/bob.md @@ -0,0 +1,24 @@ +# bob + +> مدیریت و جابجایی بین نسخه های مختلف Neovim. +> اطلاعات بیشتر: . + +- نصب و جابجایی به نسخه خاصی از Neovim: + +`bob use {{nightly|stable|latest|version_string|commit_hash}}` + +- فهرست نسخه های نصب شده و نسخه ای که اکنون استفاده می شود: + +`bob list` + +- حذف یک نسخه خاص از Neovim: + +`bob uninstall {{nightly|stable|latest|version_string|commit_hash}}` + +- حذف Neovim و پاک کردن هر تغییری که `bob` اعمال کرده است: + +`bob erase` + +- بازگشت به نسخه شبانه قبلی: + +`bob rollback` diff --git a/pages.fa/common/boxes.md b/pages.fa/common/boxes.md new file mode 100644 index 00000000000000..ca310d59754f83 --- /dev/null +++ b/pages.fa/common/boxes.md @@ -0,0 +1,24 @@ +# boxes + +> کشیدن، حذف و تعمیر جعبه های هنری اسکی. +> اطلاعات بیشتر: . + +- کشیدن یک جعبه در اطراف یک رشته: + +`echo "{{string}}" | boxes` + +- حذف جعبه از یک رشته: + +`echo "{{string}}" | boxes -r` + +- کشیدن یک جعبه با طرح دلخواه در اطراف یک رشته: + +`echo "{{string}}" | boxes -d {{parchment}}` + +- کشیدن یک جعبه به طول 10 و ارتفاع 5: + +`echo "{{string}}" | boxes -s {{10}}x{{5}}` + +- کشیدن یک جعبه با متن در وسط: + +`echo "{{string}}" | boxes -a c` diff --git a/pages.fa/common/bpkg.md b/pages.fa/common/bpkg.md new file mode 100644 index 00000000000000..25a94c8d907336 --- /dev/null +++ b/pages.fa/common/bpkg.md @@ -0,0 +1,28 @@ +# bpkg + +> یک پکیج منیجر برای بش اسکریپت. +> اطلاعات بیشتر: . + +- بروزرسانی فهرست محلی: + +`bpkg update` + +- نصب یک بسته به صورت گلوبال: + +`bpkg install --global {{package}}` + +- نصب یک بسته در یک زیرپوشه در پوشه ی کنونی: + +`bpkg install {{package}}` + +- نصب یک نسخه خاص از یک بسته به صورت گلوبال: + +`bpkg install {{package}}@{{version}} -g` + +- نمایش جزئیات یک بسته خاص: + +`bpkg show {{package}}` + +- اجرای یک دستور، آرگومان ها به صورت اختیاری نوشته شده اند: + +`bpkg run {{command}} {{argument1 argument2 ...}}` diff --git a/pages.fa/common/bun.md b/pages.fa/common/bun.md new file mode 100644 index 00000000000000..308246e920c7c7 --- /dev/null +++ b/pages.fa/common/bun.md @@ -0,0 +1,37 @@ +# bun + +> یک runtime و toolkit برای جاوا اسکریپت. +> شامل یک bundler، یک ابزار تست و یک package manager. +> اطلاعات بیشتر: . + +- اجرای یک فایل جاوااسکریپت یا یک اسکریپت در `package.json`: + +`bun run {{path/to/file|script_name}}` + +- اجرای تست‌های واحد: + +`bun test` + +- دانلود و نصب تمام بسته‌های ذکرشده در `package.json`: + +`bun install` + +- افزودن یک وابستگی به `package.json`: + +`bun add {{module_name}}` + +- حذف یک وابستگی از `package.json`: + +`bun remove {{module_name}}` + +- ایجاد یک پروژه جدید Bun در دایرکتوری فعلی: + +`bun init` + +- شروع یک REPL (پوسته تعاملی): + +`bun repl` + +- ارتقا Bun به آخرین نسخه موجود: + +`bun upgrade` diff --git a/pages.fa/common/calendar.md b/pages.fa/common/calendar.md new file mode 100644 index 00000000000000..91925f32d54ea1 --- /dev/null +++ b/pages.fa/common/calendar.md @@ -0,0 +1,20 @@ +# calendar + +> نمایش رویداد های پیش رو با استفاده از یک فایل تقویم. +> اطلاعات بیشتر: . + +- نمایش رویداد های امروز و فردا (یا آخر هفته یعنی روز جمعه) با استفاده از تقویم پیشفرض: + +`calendar` + +- نگاهی به آینده، نمایش رویداد های 30 روز آینده: + +`calendar -A {{30}}` + +- نگاهی به گذشته، نمایش رویداد های هفت روز گذشته: + +`calendar -B {{7}}` + +- نمایش رویداد ها با استفاده از یک فایل تقویم دلخواه: + +`calendar -f {{path/to/file}}` diff --git a/pages.fa/common/cat.md b/pages.fa/common/cat.md index f901c8cb95de95..f97b79ace53c53 100644 --- a/pages.fa/common/cat.md +++ b/pages.fa/common/cat.md @@ -1,23 +1,16 @@ -# cat - -> چاپ و ترکیب کردن فایل ها. - -- چاپ محتویات فایل بر روی صفحه نمایش: - -`cat {{file}}` - -- ادغام چند فایل با هم و ایجاد فایل جدید: - -`cat {{file1}} {{file2}} > {{target_file}}` - -- ادغام چند فایل با هم و اضافه کردن آن به فایل مقصد: - -`cat {{file1}} {{file2}} >> {{target_file}}` - -- شمارش تعداد خط های فایل: - -`cat -n {{file}}` - -- نمایش محتویات فایل بدون فضای خالی (نا مناسب برای چاپ): - -`cat -v -t -e {{file}}` +# cat + +> چاپ و ترکیب کردن فایل ها. +> اطلاعات بیشتر: . + +- چاپ محتویات فایل بر روی صفحه نمایش: + +`cat {{path/to/file}}` + +- ادغام چند فایل با هم و ایجاد فایل جدید: + +`cat {{path/to/file1 path/to/file2 ...}} > {{target_file}}` + +- ادغام چند فایل با هم و اضافه کردن آن به فایل مقصد: + +`cat {{path/to/file1 path/to/file2 ...}} >> {{target_file}}` diff --git a/pages.fa/common/catimg.md b/pages.fa/common/catimg.md new file mode 100644 index 00000000000000..0ef594508ee372 --- /dev/null +++ b/pages.fa/common/catimg.md @@ -0,0 +1,21 @@ +# catimg + +> چاپ عکس در ترمینال. +> موارد مشابه: `pixterm`, `chafa`. +> اطلاعات بیشتر: . + +- چاپ یک JPEG, PNG, یا GIF در ترمینال: + +`catimg {{path/to/file}}` + +- دوبرابر کردن وضوح یک تصویر: + +`catimg -r 2 {{path/to/file}}` + +- غیرفعال سازی رنگ 24 بیتی برای پشتیبانی بهتر ترمینال: + +`catimg -t {{path/to/file}}` + +- مشخص کردن طول و عرض دلخواه: + +`catimg {{-w|-H}} {{40}} {{path/to/file}}` diff --git a/pages.fa/common/cb.md b/pages.fa/common/cb.md new file mode 100644 index 00000000000000..548a8530b05345 --- /dev/null +++ b/pages.fa/common/cb.md @@ -0,0 +1,36 @@ +# cb + +> بریدن، رونوشت و چسباندن هرچیزی در ترمینال. +> اطلاعات بیشتر: . + +- نمایش تمام کلیپ بوردها: + +`cb` + +- رونوشت یک فایل به کلیپ بورد: + +`cb copy {{path/to/file}}` + +- کپی متن دلخواه به کلیپ بورد: + +`cb copy "{{Some example text}}"` + +- رونوشت داده ی هدایت شده به داخل در کلیپ بورد: + +`echo "{{Some example text}}" | cb` + +- چسباندن محتوای کلیپ بورد: + +`cb paste` + +- هدایت محتوای کلیپ بورد به خارج: + +`cb | cat` + +- نمایش تاریخچه کلیپ بورد: + +`cb history` + +- نمایش اطلاعات کلیپ بورد: + +`cb info` diff --git a/pages.fa/common/cd.md b/pages.fa/common/cd.md index 37ea182de839f2..ccd426cc3b23f8 100644 --- a/pages.fa/common/cd.md +++ b/pages.fa/common/cd.md @@ -1,8 +1,9 @@ # cd > تغییر دایرکتوری جاری. +> اطلاعات بیشتر: . -- تغییر مسیربه دایرکتوری مشخص شده: +- تغییر مسیر به دایرکتوری مشخص شده: `cd {{path/to/directory}}` diff --git a/pages.fa/common/chmod.md b/pages.fa/common/chmod.md new file mode 100644 index 00000000000000..1a360298d3d93a --- /dev/null +++ b/pages.fa/common/chmod.md @@ -0,0 +1,36 @@ +# chmod + +> تغییر مجوز(ها)ی دسترسی به یک فایل یا پوشه. +> اطلاعات بیشتر: . + +- به مالک فایل دسترسی اجرا میدهد: + +`chmod u+x {{path/to/file}}` + +- به کابر مالک دسترسی خواندن|نوشتن یک فایل|پوشه را میدهد: + +`chmod u+rw {{path/to/file_or_directory}}` + +- دسترسی اجرا را از گروه سلب میکند: + +`chmod g-x {{path/to/file}}` + +- به تمامی کاربرها دسترسی خواندن و اجرا میدهد: + +`chmod a+rx {{path/to/file}}` + +- به دیگران(کاربرانی که صاحب فایل نیستند) دسترسی های گروه را میدهد: + +`chmod o=g {{path/to/file}}` + +- به همگان همه دسترسی(ها) را میدهد: + +`chmod o= {{path/to/file}}` + +- به صورت بازگشتی به گروه و دیگران دسترسی نوشتن میدهد: + +`chmod {{[-R|--recursive]}} g+w,o+w {{path/to/directory}}` + +- به صورت بازگشتی در پوشه و زیرپوشه(ها) دسترسی اجرا و خواندن فایل(ها) را میدهد: + +`chmod {{[-R|--recursive]}} a+rX {{path/to/directory}}` diff --git a/pages.fa/common/chown.md b/pages.fa/common/chown.md new file mode 100644 index 00000000000000..08795552d039c9 --- /dev/null +++ b/pages.fa/common/chown.md @@ -0,0 +1,24 @@ +# chown + +> مالک فایل یا پوشه را تغییر میدهد. +> اطلاعات بیشتر: . + +- تغییر مالک یه فایل یا پوشه: + +`chown {{user}} {{path/to/file_or_directory}}` + +- تغییر کاربر و گروه مالک فایل: + +`chown {{user}}:{{group}} {{path/to/file_or_directory}}` + +- تغییر بازگشتی مالک یه پوشه و محتویات آن: + +`chown {{[-R|--recursive]}} {{user}} {{path/to/directory}}` + +- تغییر مالک یک فایل میانبر(به فایل دیگری اشاره میکند) : + +`chown {{[-h|--no-dereference]}} {{user}} {{path/to/symlink}}` + +- تغییر مالک یک فایل/پوشه برای همسان شدن با فایل مرجع: + +`chown --reference {{path/to/reference_file}} {{path/to/file_or_directory}}` diff --git a/pages.fa/common/clear.md b/pages.fa/common/clear.md new file mode 100644 index 00000000000000..e57a42a4a00c88 --- /dev/null +++ b/pages.fa/common/clear.md @@ -0,0 +1,20 @@ +# clear + +> پاک کردن صفحه ترمینال. +> اطلاعات بیشتر: . + +- پاک کردن صفحه (معادل فشردن کلیدهای کنترل+ال در پوسته بش) : + +`clear` + +- پاک کردن صفحه ترمینال با نگاه داشتن حافظه : + +`clear -x` + +- مشخص نمودن نوع ترمینال برای پاکسازی (مقدار پیشفرض در متغییر عمومی `Term`): + +`clear -T {{type_of_terminal}}` + +- نمایش نسخه `ncurses` استفاده شده در `clear` : + +`clear -V` diff --git a/pages.fa/common/cmp.md b/pages.fa/common/cmp.md new file mode 100644 index 00000000000000..39e381a545572a --- /dev/null +++ b/pages.fa/common/cmp.md @@ -0,0 +1,20 @@ +# cmp + +> مقایسه بایت به بایت دو فایل. +> اطلاعات بیشتر: . + +- نمایش کارکتر و خطی که اولین تفاوت دو فایل در آن یافت شد: + +`cmp {{path/to/file1}} {{path/to/file2}}` + +- نمایش اطلاعات اولین تفاوت پیدا شده: کاراکتر، شماره خط، بایت ها، و مقادیر آنها: + +`cmp {{[-b|--print-bytes]}} {{path/to/file1}} {{path/to/file2}}` + +- نمایش شماره بایتها و مقادیر تمامی تفاوت ها: + +`cmp {{[-l|--verbose]}} {{path/to/file1}} {{path/to/file2}}` + +- مقایسه فایلها در حالت خاموش، تنها مقدار خروجی برنامه در ترمینال در دسترس است: + +`cmp {{[-s|--quiet]}} {{path/to/file1}} {{path/to/file2}}` diff --git a/pages.fa/common/composer.md b/pages.fa/common/composer.md new file mode 100644 index 00000000000000..2f9711df6fdd50 --- /dev/null +++ b/pages.fa/common/composer.md @@ -0,0 +1,36 @@ +# composer + +> ابزاری بسته محور برای مدیریت وابستگی های پروژه های PHP. +> اطلاعات بیشتر: . + +- ساخت یک فایل `composer.json` به صورت کنشگرا: + +`composer init` + +- اضافه کردن یک بسته به عنوان وابستگی به این پروژه، همچنین یک ورودی به `composer.json` وارد می کند: + +`composer require {{user/package}}` + +- نصب تمام وابستگی های این پروژه که در `composer.json` هستند و `composer.lock` را ایجاد می کند: + +`composer install` + +- حذف یک بسته از این پروژه، وابستگی مربوط به آنرا از `composer.json` و `composer.lock` حذف می کند: + +`composer remove {{user/package}}` + +- بروزرسانی تمام وابستگی های این پروژه که در `composer.json` هستند و یادداشت کردن نسخه های جدید در فایل `composer.lock`: + +`composer update` + +- فقط `composer.lock` را بروزرسانی می کند بعد از این که `composer.json` را به صورت دستی بروزرسانی کردید: + +`composer update --lock` + +- اطلاعات بیشتری درباره دلیل نصب نشدن یک وابستگی ارائه می دهد: + +`composer why-not {{user/package}}` + +- بروزرسانی کامپوزر به آخرین نسخه اش: + +`composer self-update` diff --git a/pages.fa/common/copyq.md b/pages.fa/common/copyq.md new file mode 100644 index 00000000000000..27d833151be94e --- /dev/null +++ b/pages.fa/common/copyq.md @@ -0,0 +1,32 @@ +# copyq + +> مدیریت کلیپ بورد با قابلیت های پیشرفته. +> اطلاعات بیشتر: . + +- اجرای کپی کیو برای ذخیره تاریخچه کلیپ بورد: + +`copyq` + +- نمایش محتوای کنونی کلیپ بورد: + +`copyq clipboard` + +- وارد کردن متن خام به تاریخچه کلیپ بورد: + +`copyq add -- {{text1}} {{text2}} {{text3}}` + +- وارد کردن متن شامل رشته های فاصله انداز مانند (\n, \t) در تاریخچه کلیپ بورد: + +`copyq add {{firstline\nsecondline}}` + +- چاپ محتوای سه مورد اول در تاریخچه کلیپ بورد: + +`copyq read 0 1 2` + +- رونوشت محتوای یک فایل در کلیپ بورد: + +`copyq copy < {{path/to/file.txt}}` + +- رونوشت یک عکس با فرمت JPEG در کلیپ بورد: + +`copyq copy image/jpeg < {{path/to/image.jpg}}` diff --git a/pages.fa/common/cp.md b/pages.fa/common/cp.md index 72c34564543ff0..daad4ae9f7ede9 100644 --- a/pages.fa/common/cp.md +++ b/pages.fa/common/cp.md @@ -1,6 +1,7 @@ # cp > کپی فایل ها و دایرکتوری ها. +> اطلاعات بیشتر: . - کپی فایل از مبدا به مقصد مشخص شده: diff --git a/pages.fa/common/cppclean.md b/pages.fa/common/cppclean.md new file mode 100644 index 00000000000000..8efb40c23b1464 --- /dev/null +++ b/pages.fa/common/cppclean.md @@ -0,0 +1,20 @@ +# cppclean + +> پیدا کردن کد های بدون استفاده در پروژه های سی پلاس پلاس. +> اطلاعات بیشتر: . + +- اجرا در پوشه ی پروژه: + +`cppclean {{path/to/project}}` + +- اجرا روی پروژه درحالی که هدرها در پوشه های `inc1/` و `inc2/` قرار دارند: + +`cppclean {{path/to/project}} --include-path {{inc1}} --include-path {{inc2}}` + +- اجرا روی فایل دلخواه مانند `main.cpp`: + +`cppclean {{main.cpp}}` + +- اجرا روی پوشه کنونی به استثنای پوشه "build": + +`cppclean {{.}} --exclude {{build}}` diff --git a/pages.fa/common/cradle.md b/pages.fa/common/cradle.md new file mode 100644 index 00000000000000..ab307e13c5512e --- /dev/null +++ b/pages.fa/common/cradle.md @@ -0,0 +1,21 @@ +# cradle + +> فریمورک پی اچ پی cradle. +> بعضی از زیردستور ها مانند `install` مستندات خاص خود را دارند. +> اطلاعات بیشتر: . + +- اتصال به یک سرور: + +`cradle connect {{server_name}}` + +- اجرای یک دستور Cradle: + +`cradle {{command}}` + +- نمایش راهنما: + +`cradle help` + +- نمایش راهنما برای یک دستور خاص: + +`cradle {{command}} help` diff --git a/pages.fa/common/createdb.md b/pages.fa/common/createdb.md new file mode 100644 index 00000000000000..075f1f2914ff01 --- /dev/null +++ b/pages.fa/common/createdb.md @@ -0,0 +1,16 @@ +# createdb + +> ساخت یک دیتابیس پستگرس. +> اطلاعات بیشتر: . + +- ساخت یک دیتابیس که صاحب آن کاربر فعلی باشد: + +`createdb {{database_name}}` + +- ساخت یک دیتابیس که صاحب آن یک کاربر خاص باشد و توضیحاتی درمورد آن نیز ارائه شده باشد: + +`createdb --owner {{username}} {{database_name}} '{{description}}'` + +- ساخت یک دیتابیس از روی یک قالب: + +`createdb --template {{template_name}} {{database_name}}` diff --git a/pages.fa/common/csvpy.md b/pages.fa/common/csvpy.md new file mode 100644 index 00000000000000..5be8a85e467699 --- /dev/null +++ b/pages.fa/common/csvpy.md @@ -0,0 +1,13 @@ +# csvpy + +> اجرای یک فایل CSV در شل پایتون. +> در csvkit گنجانده شده است. +> اطلاعات بیشتر: . + +- بارگذاری یک فایل CSV در یک آبجت از نوع `CSVKitReader`: + +`csvpy {{data.csv}}` + +- اجرای یک فایل CSV در یک آبجکت `CSVKitDictReader`: + +`csvpy --dict {{data.csv}}` diff --git a/pages.fa/common/curl.md b/pages.fa/common/curl.md new file mode 100644 index 00000000000000..cb84ea24285461 --- /dev/null +++ b/pages.fa/common/curl.md @@ -0,0 +1,37 @@ +# curl + +> انتقال داده از/به سرور. +> از اکثر پروتکل‌ها از جمله HTTP، FTP و POP3 پشتیبانی می‌کند. +> اطلاعات بیشتر: . + +- دانلود محتوای یک URL و ذخیره آن در یک فایل(با نام دلخواه): + +`curl {{http://example.com}} {{[-o|--output]}} {{path/to/file}}` + +- دانلود یک فایل و ذخیره آن با نام فایل مشخص شده توسط URL: + +`curl {{[-O|--remote-name]}} {{http://example.com/filename}}` + +- دانلود یک فایل، با دنبال کردن تغییرمسیرهای لینک(location redirects) و ادامه خودکار(از سرگیری) انتقال فایل قبلی. درصورت بروز دادن خطای سرور، خطا نمایش داده خواهد شد: + +`curl {{[-f|--fail]}} {{[-O|--remote-name]}} {{[-L|--location]}} {{[-C|--continue-at]}} - {{http://example.com/filename}}` + +- ارسال داده(فرم) رمزگذاری شده (درخواست POST از نوع application/x-www-form-urlencoded). برای خواندن از `stdin`، از --data @file_name یا --data @'-' استفاده کنید: + +`curl {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` + +- ارسال یک درخواست با استفاده از متود HTTP دلخواه و هدرهای(header) اضافی: + +`curl {{[-H|--header]}} {{'X-My-Header: 123'}} {{[-X|--request]}} {{PUT}} {{http://example.com}}` + +- ارسال داده به صورت JSON، با مشخص کردن content-type مناسب: + +`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` + +- مشخص کردن یک نام کاربری و درخواست وارد کردن رمزعبور از سرور، به منظور احراز هویت: + +`curl {{[-u|--user]}} {{username}} {{http://example.com}}` + +- عبور از گواهی و کلید کاربر یک منبع(رد شدن از اعتبارسنجی گواهی): + +`curl {{[-E|--cert]}} {{client.pem}} --key {{key.pem}} {{[-k|--insecure]}} {{https://example.com}}` diff --git a/pages.fa/common/dd.md b/pages.fa/common/dd.md new file mode 100644 index 00000000000000..eae2a9c91b55a7 --- /dev/null +++ b/pages.fa/common/dd.md @@ -0,0 +1,28 @@ +# dd + +> تبدیل و کپی یک فایل. +> اطلاعات بیشتر: . + +- یک حافظه قابل حمل با قابلیت بوت شدن میسازد، برای مثال `archlinux-xxx.iso` : + +`dd if={{path/to/file.iso}} of={{/dev/usb_drive}}` + +- محتویات یک درایو را در مکانی دیگر با بلوک های 4 مگابایتی کپی و همچنین از خطاها صرف نظر میکند: + +`dd bs=4194304 conv=noerror if={{/dev/source_drive}} of={{/dev/dest_drive}}` + +- یک فایل ۱۰۰ بایتی تصادفی با استفاده از درایور تصادفی هسته بسازید: + +`dd if=/dev/urandom of={{path/to/random_file}} bs=100 count={{1}}` + +- عملکرد نوشتن دیسک را بسنجید: + +`dd if=/dev/zero of={{path/to/file_1GB}} bs={{1024}} count={{1000000}}` + +- یک پشتیبان از سیستم را در یک فایل IMG میسازد : + +`dd if={{/dev/drive_device}} of={{path/to/file.img}}` + +- یک درایو را از یک فایل IMG بازیابی کنید: + +`dd if={{path/to/file.img}} of={{/dev/drive_device}}` diff --git a/pages.fa/common/ddgr.md b/pages.fa/common/ddgr.md new file mode 100644 index 00000000000000..ea240f8645b62b --- /dev/null +++ b/pages.fa/common/ddgr.md @@ -0,0 +1,36 @@ +# ddgr + +> جستجو در موتور جستجوی داک داک گو با تریمنال. +> اطلاعات بیشتر: . + +- شروع در حالت تعاملی: + +`ddgr` + +- جستجو برای یک کلیدواژه: + +`ddgr {{keyword}}` + +- محدود کردن تعداد نتایج به مقدار دلخواه: + +`ddgr -n {{N}} {{keyword}}` + +- نمایش لینک کامل در نتایج به دست آمده: + +`ddgr -x {{keyword}}` + +- جستجو برای یک کلیدواژه و باز کردن اولین نتیجه در مرورگر: + +`ddgr !w {{keyword}}` + +- اجرای جستجوی منحصر به یک وبسایت خاص: + +`ddgr -w {{site}} {{keyword}}` + +- جستجو برای یک نوع فایل خاص: + +`ddgr {{keyword}} filetype:{{filetype}}` + +- نمایش راهنما در حالت تعاملی: + +`` diff --git a/pages.fa/common/deno.md b/pages.fa/common/deno.md new file mode 100644 index 00000000000000..ea469495aa6256 --- /dev/null +++ b/pages.fa/common/deno.md @@ -0,0 +1,24 @@ +# deno + +> یک runtime امن برای JavaScript و TypeScript. +> اطلاعات بیشتر: . + +- اجرای یک فایل JavaScript یا TypeScript: + +`deno run {{path/to/file.ts}}` + +- شروع یک REPL (پوسته تعاملی): + +`deno` + +- اجرای یک فایل با دسترسی به شبکه فعال: + +`deno run --allow-net {{path/to/file.ts}}` + +- اجرای یک فایل از یک URL: + +`deno run {{https://deno.land/std/examples/welcome.ts}}` + +- نصب یک اسکریپت اجرایی از یک URL: + +`deno install {{https://deno.land/std/examples/colors.ts}}` diff --git a/pages.fa/common/df.md b/pages.fa/common/df.md new file mode 100644 index 00000000000000..8b98c612ce1eb2 --- /dev/null +++ b/pages.fa/common/df.md @@ -0,0 +1,24 @@ +# df + +> یک نمای کلی از میزان استفاده فضای دیسک و سیستم فایل ارائه می‌دهد. +> اطلاعات بیشتر: . + +- نمایش تمامی سیستم‌های فایل و فضای دیسک آن‌ها : + +`df` + +- نمایش تمامی سیستم‌های فایل و استفاده از حالت خوانا برای فضای دیسک آن‌ها : + +`df -h` + +- نمایش سیستم‌فایل و فضای دیسک آن شامل فایل یا دایرکتوری داده شده : + +`df {{path/to/file_or_directory}}` + +- نمایش آمار تعداد درایوهای آزاد : + +`df -i` + +- نمایش سیستم‌های فایل با حذف انواع مشخص شده : + +`df -x {{squashfs}} -x {{tmpfs}}` diff --git a/pages.fa/common/dict.md b/pages.fa/common/dict.md new file mode 100644 index 00000000000000..8a9238126a80a6 --- /dev/null +++ b/pages.fa/common/dict.md @@ -0,0 +1,24 @@ +# dict + +> دیکشنری تحت خط فرمان با استفاده از پروتکل DICT. +> اطلاعات بیشتر: . + +- فهرست کردن دیتابیس های موجود: + +`dict {{[-D|--dbs]}}` + +- دریافت اطلاعات درمورد یک دیتابیس: + +`dict {{[-i|--info]}} {{database_name}}` + +- جستجوی یک کلمه در یک دیتابیس: + +`dict {{[-d|--database]}} {{database_name}} {{word}}` + +- جستجوی یک کلمه در تمام دیتابیس های موجود: + +`dict {{word}}` + +- نمایش اطلاعات درمورد سرور DICT: + +`dict {{[-I|--serverinfo]}}` diff --git a/pages.fa/common/diff.md b/pages.fa/common/diff.md new file mode 100644 index 00000000000000..b6640f23739e6a --- /dev/null +++ b/pages.fa/common/diff.md @@ -0,0 +1,32 @@ +# diff + +> مقایسه فایل(ها) و پوشه(ها). +> اطلاعات بیشتر: . + +- مقایسه فایل ها (فهرست تغییرات فایل های قدیمی به جدید) : + +`diff {{old_file}} {{new_file}}` + +- مقایسه فایل ها، با صرف نظر از فاصله های خالی: + +`diff {{[-w|--ignore-all-space]}} {{old_file}} {{new_file}}` + +- مقایسه فایل ها، با نمایش تفاوت ها در کنار هم: + +`diff {{[-y|--side-by-side]}} {{old_file}} {{new_file}}` + +- مقایسه فایل ها، به نمایش تفاوت ها به صورت یکپارچه (همانند `git diff`) : + +`diff {{[-u|--unified]}} {{old_file}} {{new_file}}` + +- مقایسه بازگشتی پوشه ها (نمایش اسامی متفاوت فایل ها و پوشه ها و همچنین تغییرات فایل ها): + +`diff {{[-r|--recursive]}} {{old_directory}} {{new_directory}}` + +- نمایش نام فایل های متفاوت مقایسه شده: + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{old_directory}} {{new_directory}}` + +- از تفاوت دو فایل متنی یک بروزرسانی میسازد، فایل های ناموجود را خالی فرض میکند : + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{old_file}} {{new_file}} > {{diff.patch}}` diff --git a/pages.fa/common/dive.md b/pages.fa/common/dive.md new file mode 100644 index 00000000000000..a32ad56f913451 --- /dev/null +++ b/pages.fa/common/dive.md @@ -0,0 +1,12 @@ +# dive + +> ابزاری برای کاوش یک فایل داکر، لایه بندی محتواها و پیداکردن راه هایی که می توان آن را کاهش داد. +> اطلاعات بیشتر: . + +- بررسی یک ایمیج داکر: + +`dive {{your_image_tag}}` + +- ساخت یک ایمیج و شروع بررسی آن: + +`dive build -t {{some_tag}}` diff --git a/pages.fa/common/django-admin.md b/pages.fa/common/django-admin.md new file mode 100644 index 00000000000000..32f872eff06e9f --- /dev/null +++ b/pages.fa/common/django-admin.md @@ -0,0 +1,20 @@ +# django-admin + +> جعبه ابزار فریمورک جنگو برای کارهای مدیریتی. +> اطلاعات بیشتر: . + +- ساخت یک پروژه جنگو جدید: + +`django-admin startproject {{project_name}}` + +- ساخت یک برنامه جدید برای این پروژه: + +`django-admin startapp {{app_name}}` + +- نسخه کنونی جنگو: + +`django-admin --version` + +- نمایش اطلاعات بیشتر برای دستور موردنظر: + +`django-admin help {{command}}` diff --git a/pages.fa/common/echo.md b/pages.fa/common/echo.md new file mode 100644 index 00000000000000..1ef3d1d78cde08 --- /dev/null +++ b/pages.fa/common/echo.md @@ -0,0 +1,28 @@ +# echo + +> چاپ ورودی داده شده. +> اطلاعات بیشتر: . + +- چاپ پیام ورودی. نکته : استفاده از علامت نقل قول انتخابی است: + +`echo "{{سلام دنیا}}"` + +- چاپ یک پیام حاوی متغییرهای سیستمی: + +`echo "{{مسیر سیستم من $PATH است.}}"` + +- چاپ یک پیام بدون انتقال به خط جدید: + +`echo -n "{{سلام دنیا}}"` + +- افزودن یک پیام به انتهای یک فایل: + +`echo "{{سلام دنیا}}" >> {{file.txt}}` + +- فعال کردن تفسیر کاراکترهای خاص، برای مثال tab: + +`echo -e "{{Column 1\tColumn 2}}"` + +- چاپ وضعیت خروج آخرین دستور اجرا شده (نکته: معادل های این دستور در ویندور به ترتیب echo %errorlevel% و $lastexitcode هستند.) : + +`echo $?` diff --git a/pages.fa/common/export.md b/pages.fa/common/export.md new file mode 100644 index 00000000000000..0dc3eec157b48d --- /dev/null +++ b/pages.fa/common/export.md @@ -0,0 +1,12 @@ +# export + +> دستور تغییر متغییرهای محلی سیستم موجود برای پروسه های جدید. +> اطلاعات بیشتر: . + +- ایجاد و تعیین مقدار یک متغییر جدید: + +`export {{VARIABLE}}={{value}}` + +- افزودن یک مسیر به متغییر $PATH: + +`export PATH=$PATH:{{path/to/append}}` diff --git a/pages.fa/common/false.md b/pages.fa/common/false.md index 96a98fa21972e3..e111ccd5e7c025 100644 --- a/pages.fa/common/false.md +++ b/pages.fa/common/false.md @@ -1,6 +1,7 @@ # false > برگرداندن 1 به عنوان کد خروجی. +> اطلاعات بیشتر: . - برگرداندن 1 به عنوان کد خروجی: diff --git a/pages.fa/common/fg.md b/pages.fa/common/fg.md new file mode 100644 index 00000000000000..41efdc12604726 --- /dev/null +++ b/pages.fa/common/fg.md @@ -0,0 +1,12 @@ +# fg + +> اجرای کارها در پیش زمینه. +> اطلاعات بیشتر: . + +- آوردن آخرین کار اجرا شده در پس زمینه به پیش زمینه: + +`fg` + +- آوردن کار با آی دی مشخص شده به پیش زمینه: + +`fg %{{job_id}}` diff --git a/pages.fa/common/fortune.md b/pages.fa/common/fortune.md new file mode 100644 index 00000000000000..f36f9c1afc2279 --- /dev/null +++ b/pages.fa/common/fortune.md @@ -0,0 +1,28 @@ +# fortune + +> چاپ نقل قول های تصادفی. +> اطلاعات بیشتر: . + +- چاپ یک نقل قول: + +`fortune` + +- چاپ یک نقل قول توهین آمیز: + +`fortune -o` + +- چاپ یک نقل قول طولانی: + +`fortune -l` + +- چاپ یک نقل قول کوتاه: + +`fortune -s` + +- فهرست فایل های پایگاه داده نقل قول های موجود: + +`fortune -f` + +- چاپ یک نقل قول از یکی از فایلهای پایگاه داده که توسطه `fortune -f` فهرست شده اند: + +`fortune {{path/to/file}}` diff --git a/pages.fa/common/grep.md b/pages.fa/common/grep.md new file mode 100644 index 00000000000000..06932b05252a54 --- /dev/null +++ b/pages.fa/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> یافتن الگو در فایل ها به کمک عبارات با قاعده. +> اطلاعات بیشتر: . + +- جستجو یک الگو در یک فایل : + +`grep "{{search_pattern}}" {{path/to/file}}` + +- جستجو یک عبارت خاص (معادل مقایسه رشته ای) : + +`grep {{[-F|--fixed-strings]}} "{{exact_string}}" {{path/to/file}}` + +- جستجو بازگشتی یک الگو در تمامی فایل های یک پوشه، نمایش تمامی خطوط منطبق، فایل های باینری را رد میکند: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{search_pattern}}" {{path/to/directory}}` + +- استفاده از عبارات با قاعده توسعه یافته (با پشتیبانی از `?`، `+`، `{}`، `()`، و `|`)، در حالت حساس به بزرگی کوچکی کاراکتر ها : + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{search_pattern}}" {{path/to/file}}` + +- چاپ 3 خط از قبل و بعد محل انطباق: + +`grep {{--context|--before-context|--after-context}} 3 "{{search_pattern}}" {{path/to/file}}` + +- چاپ نام فایل و شماره خط برای هر انطباق با رنگبندی : + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{search_pattern}}" {{path/to/file}}` + +- جستجوی خطوط منطبق، چاپ متن منطبق : + +`grep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` + +- ورودی استاندارد (`stdin`) رو برای الگوهایی که منطبق نیستند جستجو میکند : + +`cat {{path/to/file}} | grep {{[-v|--invert-match]}} "{{search_pattern}}"` diff --git a/pages.fa/common/hash.md b/pages.fa/common/hash.md new file mode 100644 index 00000000000000..d2929ae525c02c --- /dev/null +++ b/pages.fa/common/hash.md @@ -0,0 +1,20 @@ +# hash + +> مشاهده مکان‌های ذخیره شده فایل‌های اجرایی در حافظه پنهان. +> اطلاعات بیشتر: . + +- مشاهده مکان‌های دستورات ذخیره شده برای پوسته فعلی: + +`hash` + +- پاک کردن جدول هش: + +`hash -r` + +- حذف یک دستور خاص از جدول هش: + +`hash -d {{command}}` + +- نمایش مسیر کامل `command`: + +`hash -t {{command}}` diff --git a/pages.fa/common/head.md b/pages.fa/common/head.md new file mode 100644 index 00000000000000..355512c816b4ba --- /dev/null +++ b/pages.fa/common/head.md @@ -0,0 +1,8 @@ +# head + +> نمایش محتوای ابتدایی یک فایل. +> اطلاعات بیشتر: . + +- نمایش چند خط اول یک فایل: + +`head -n {{count}} {{path/to/file}}` diff --git a/pages.fa/common/hexo.md b/pages.fa/common/hexo.md new file mode 100644 index 00000000000000..d73f23ce008a00 --- /dev/null +++ b/pages.fa/common/hexo.md @@ -0,0 +1,28 @@ +# hexo + +> چارچوب وبلاگ سریع، ساده وقدرتمند. +> اطلاعات بیشتر: . + +- ساخت اولیه یک وبسایت: + +`hexo init {{path/to/directory}}` + +- ایجاد یک مقاله جدید: + +`hexo new {{layout}} {{title}}` + +- تولید فایل های ایستا: + +`hexo generate` + +- شروع یک سرور محلی: + +`hexo server` + +- پیاده سازی وبسایت: + +`hexo deploy` + +- پاک کردن فایل کش (db.json) و تولید فایلهای پابلیک(public/): + +`hexo clean` diff --git a/pages.fa/common/hostname.md b/pages.fa/common/hostname.md new file mode 100644 index 00000000000000..dd53c1768f6a09 --- /dev/null +++ b/pages.fa/common/hostname.md @@ -0,0 +1,24 @@ +# hostname + +> نمایش یا تنظیم نام میزبان سیستم. +> اطلاعات بیشتر: . + +- نمایش نام میزبان فعلی: + +`hostname` + +- نمایش آدرس شبکه نام میزبان: + +`hostname -i` + +- نمایش تمام آدرس‌های شبکه میزبان: + +`hostname -I` + +- نمایش FQDN (نام دامنه کامل): + +`hostname --fqdn` + +- تنظیم نام میزبان فعلی: + +`hostname {{new_hostname}}` diff --git a/pages.fa/common/ifconfig.md b/pages.fa/common/ifconfig.md new file mode 100644 index 00000000000000..5b995308a41d38 --- /dev/null +++ b/pages.fa/common/ifconfig.md @@ -0,0 +1,24 @@ +# ifconfig + +> تنظیم کننده رابط های شبکه. +> اطلاعات بیشتر: . + +- نمایش تنظیمات شبکه یک کارت شبکه : + +`ifconfig eth0` + +- نمایش جزئیات تمامی رابط ها، مشمول رابط های غیرفعال میشود : + +`ifconfig -a` + +- غیرفعال کردن رابط eth0 : + +`ifconfig eth0 down` + +- فعال کردن رابط eth0 : + +`ifconfig eth0 up` + +- اختصاص آدرس ای پی به رابط eth0 : + +`ifconfig eth0 {{آدرس_ای_پی}}` diff --git a/pages.fa/common/ln.md b/pages.fa/common/ln.md new file mode 100644 index 00000000000000..c427680f30e5f9 --- /dev/null +++ b/pages.fa/common/ln.md @@ -0,0 +1,16 @@ +# ln + +> این دستور برای ایجاد ارتباط(link) به فایل ها و پوشه ها(Directories) استفاده می شود. +> اطلاعات بیشتر: . + +- ایجاد یک ارتباط نمادین (symbolic link) به یک فایل یا پوشه: + +`ln {{[-s|--symbolic]}} {{/path/to/file_or_directory}} {{path/to/symlink}}` + +- جایگزینی یک ارتباط نمادین موجود، برای اشاره به یک فایل متفاوت: + +`ln {{[-sf|--symbolic --force]}} {{/path/to/new_file}} {{path/to/symlink}}` + +- ایجاد یک لینک سخت (hard link) به یک فایل: + +`ln {{/path/to/file}} {{path/to/hardlink}}` diff --git a/pages.fa/common/logname.md b/pages.fa/common/logname.md index 2311688876a1d2..b3974d7b41a86d 100644 --- a/pages.fa/common/logname.md +++ b/pages.fa/common/logname.md @@ -1,6 +1,7 @@ # logname > نمایش نام کاربر. +> اطلاعات بیشتر: . - نمایش نام کاربر لاگین شده: diff --git a/pages.fa/common/ls.md b/pages.fa/common/ls.md index f0ee245c9e5d92..71f12f533bfabe 100644 --- a/pages.fa/common/ls.md +++ b/pages.fa/common/ls.md @@ -1,6 +1,7 @@ # ls > نمایش محتویات دایرکتوری. +> اطلاعات بیشتر: . - نمایش فایل ها به صورت خطی: @@ -8,24 +9,24 @@ - نمایش کلیه فایل ها، شامل فایل های مخفی: -`ls -a` +`ls {{[-a|--all]}}` - نمایش فایل ها، با این تفاوت که / به نام دایرکتوری ها اضافه می شود: -`ls -F` +`ls {{[-F|--classify]}}` - نمایش فایل ها به همراه مجوزها، مالک، اندازه و تاریخ تغییرات: -`ls -la` +`ls {{[-la|--all -l]}}` - نمایش فایل ها به همراه مجوزها، مالک، اندازه و تاریخ تغییرات، اندازه ها به صورت قابل درک برای انسان: -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` - نمایش فایل ها به همراه مجوزها، مالک، اندازه و تاریخ تغییرات، مرتب شده با اندازه فایل به صورت نزولی: -`ls -lS` +`ls {{-lSR|-lS --recursive}}` -- نمایش فایل ها به همراه مجوزها، مالک، اندازه و تاریخ تغییرات، مرتب شده با تاریخ تغییر فایل به صورت صعودی: +- نمایش فایل ها به همراه مجوزها، مالک، اندازه و تاریخ تغییرات، مرتب شده با تاریخ تغییر فایل به صورت صعودی: -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` diff --git a/pages.fa/common/magick-compare.md b/pages.fa/common/magick-compare.md new file mode 100644 index 00000000000000..797abd3a9561a3 --- /dev/null +++ b/pages.fa/common/magick-compare.md @@ -0,0 +1,13 @@ +# magick compare + +> ایجاد یک تصویر مقایسه ای برای مشخص کردن تفاوتهای دو عکس به صورت بصری. +> بخشی از ImageMagick است. +> اطلاعات بیشتر: . + +- مقایسه دو عکس: + +`magick compare {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}` + +- مقایسه دو عکس با استفاده از معیار دلخواه: + +`magick compare -verbose -metric {{PSNR}} {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}` diff --git a/pages.fa/common/mkdir.md b/pages.fa/common/mkdir.md new file mode 100644 index 00000000000000..7dc943a0f88f16 --- /dev/null +++ b/pages.fa/common/mkdir.md @@ -0,0 +1,16 @@ +# mkdir + +> ساخت پوشه ها و تنظیم مجوز آنها. +> اطلاعات بیشتر: . + +- ساخت پوشه مشخص: + +`mkdir {{path/to/directory1 path/to/directory2 ...}}` + +- ساخت پوشه های مشخص به همراه پوشه های والد در صورت نیاز: + +`mkdir {{[-p|--parents]}} {{path/to/directory1 path/to/directory2 ...}}` + +- ساخت پوشه با مجوز های خاص: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{path/to/directory1 path/to/directory2 ...}}` diff --git a/pages.fa/common/node.md b/pages.fa/common/node.md new file mode 100644 index 00000000000000..478b1b925cb10f --- /dev/null +++ b/pages.fa/common/node.md @@ -0,0 +1,28 @@ +# node + +> یک runtime برای اجرای جاوا اسکریپت. (Node.js) +> اطلاعات بیشتر: . + +- اجرای یک فایل جاوااسکریپت: + +`node {{path/to/file}}` + +- شروع یک REPL (پوسته تعاملی): + +`node` + +- اجرای فایل مشخص‌شده و راه‌اندازی مجدد فرآیند هنگام تغییر در یک فایل وارد شده (نیازمند نسخه Node.js 18.11+): + +`node --watch {{path/to/file}}` + +- ارزیابی کد جاوااسکریپت با ارسال آن به‌عنوان یک آرگومان: + +`node {{[-e|--eval]}} "{{code}}"` + +- ارزیابی و چاپ نتیجه، مفید برای چاپ نسخه‌های وابستگی‌های Node: + +`node {{[-p|--print]}} "process.versions"` + +- فعال کردن حالت Inspector، توقف اجرای برنامه تا زمانی که دیباگر به کد متصل شود و کد کاملاً تحلیل شود: + +`node --no-lazy --inspect-brk {{path/to/file}}` diff --git a/pages.fa/common/nohup.md b/pages.fa/common/nohup.md new file mode 100644 index 00000000000000..3da7e2adc7f9bb --- /dev/null +++ b/pages.fa/common/nohup.md @@ -0,0 +1,8 @@ +# nohup + +> اجرای یک پردازش در پس زمینه حتی زمانی که ترمینال بسته شود. +> اطلاعات بیشتر: . + +- اجرای پردازش در پس زمینه فارغ از اجرا بودن ترمینال: + +`nohup {{command}} {{command_options}}` diff --git a/pages.fa/common/pdf-parser.md b/pages.fa/common/pdf-parser.md new file mode 100644 index 00000000000000..6dca2f0b2a54c5 --- /dev/null +++ b/pages.fa/common/pdf-parser.md @@ -0,0 +1,16 @@ +# pdf-parser + +> عناصر اساسی یک فایل پی دی اف را بدون رندر کردن آن مشخص می کند. +> اطلاعات بیشتر: . + +- نمایش آمار مربوط به یک فایل پی دی اف: + +`pdf-parser {{[-a|--stats]}} {{path/to/file.pdf}}` + +- نمایش اشیاء از یک نوع خاص (`/Font`, `/URI`, ...) در یک فایل پی دی اف: + +`pdf-parser {{[-t|--type]}} {{/object_type}} {{path/to/file.pdf}}` + +- جستجوی رشته ها در اشیاء غیرمستقیم: + +`pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}` diff --git a/pages.fa/common/sleep.md b/pages.fa/common/sleep.md new file mode 100644 index 00000000000000..9b5e8b84c1a0ca --- /dev/null +++ b/pages.fa/common/sleep.md @@ -0,0 +1,16 @@ +# sleep + +> ایجاد تاخیر بر اساس زمان. +> اطلاعات بیشتر: . + +- تاخیر به ثانیه: + +`sleep {{seconds}}` + +- تاخیر به دقیقه: + +`sleep {{minutes}}m` + +- تاخیر به ساعت: + +`sleep {{hours}}h` diff --git a/pages.fa/common/tar.md b/pages.fa/common/tar.md new file mode 100644 index 00000000000000..f988a218fbba1e --- /dev/null +++ b/pages.fa/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> ابزار آرشیو کردن. +> اغلب با یک روش فشرده‌سازی مانند `gzip` یا `bzip2` ترکیب می‌شود. +> اطلاعات بیشتر: . + +- [c]ایجاد یک آرشیو و نوشتن آن در یک [f]فایل: + +`tar cf {{path/to/target.tar}} {{path/to/file1 path/to/file2 ...}}` + +- [c]ایجاد یک آرشیو g[z]ip شده و نوشتن آن در یک [f]فایل: + +`tar czf {{path/to/target.tar.gz}} {{path/to/file1 path/to/file2 ...}}` + +- [c]ایجاد یک آرشیو g[z]ip شده (فشرده) از یک پوشه با استفاده از مسیرهای نسبی: + +`tar czf {{path/to/target.tar.gz}} {{[-C|--directory]}} {{path/to/directory}} .` + +- استخراج [x] یک آرشیو (فشرده) [f]فایل در پوشه فعلی به صورت [v]کامل: + +`tar xvf {{path/to/source.tar[.gz|.bz2|.xz]}}` + +- استخراج [x] یک آرشیو (فشرده) [f]فایل در پوشه مقصد: + +`tar xf {{path/to/source.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{path/to/directory}}` + +- [c]ایجاد یک آرشیو فشرده و نوشتن آن در یک [f]فایل، با استفاده از پسوند فایل برای تعیین [a]خودکار برنامه فشرده‌سازی: + +`tar caf {{path/to/target.tar.xz}} {{path/to/file1 path/to/file2 ...}}` + +- نمایش [t] محتویات یک فایل [f]tar به صورت [v]کامل: + +`tar tvf {{path/to/source.tar}}` + +- استخراج [x] فایل‌های منطبق با یک الگو از یک آرشیو [f]فایل: + +`tar xf {{path/to/source.tar}} --wildcards "{{*.html}}"` diff --git a/pages.fa/common/time.md b/pages.fa/common/time.md index 383c305e27f748..f26c531ebcac39 100644 --- a/pages.fa/common/time.md +++ b/pages.fa/common/time.md @@ -1,7 +1,8 @@ # time > نمایش زمان اجرای یک دستور. +> اطلاعات بیشتر: . -- نمایش زمان اجرای دستور `ls`: +- نمایش زمان اجرای دستور `command`: -`time ls` +`time {{command}}` diff --git a/pages.fa/common/todo.md b/pages.fa/common/todo.md new file mode 100644 index 00000000000000..d5d79c80946c2a --- /dev/null +++ b/pages.fa/common/todo.md @@ -0,0 +1,32 @@ +# todo + +> ابزاری ساده و استاندارد برای مدیریت یادداشت و فهرست وظایف. +> اطلاعات بیشتر: . + +- لیست کارهای آغاز نشده: + +`todo list --startable` + +- اضافه کردن یک وظیفه به فهرست کارها : + +`todo new {{thing_to_do}} --list {{work}}` + +- اضافه کردن مکان به یک وظیفه با آیدی: + +`todo edit --location {{location_name}} {{task_id}}` + +- نمایش جزییات یک وظیفه: + +`todo show {{task_id}}` + +- علامت زدن وظیفه ها با آیدی مشخص شده به عنوان تکمیل شده: + +`todo done {{task_id1 task_id2 ...}}` + +- حذف یک وظیفه: + +`todo delete {{task_id}}` + +- حذف وظایف انجام شده و بازشماری آیدی وظایف باقی مانده: + +`todo flush` diff --git a/pages.fa/common/touch.md b/pages.fa/common/touch.md new file mode 100644 index 00000000000000..872f095475e739 --- /dev/null +++ b/pages.fa/common/touch.md @@ -0,0 +1,20 @@ +# touch + +> ایجاد فایل‌ها و تنظیم زمان‌های دسترسی/تغییر. +> اطلاعات بیشتر: . + +- ایجاد فایل‌های مشخص: + +`touch {{path/to/file1 path/to/file2 ...}}` + +- تنظیم زمان [a]دسترسی یا [m]تغییر فایل به زمان فعلی و عدم [c]ایجاد فایل در صورت عدم وجود: + +`touch {{[-c|--no-create]}} -{{a|m}} {{path/to/file1 path/to/file2 ...}}` + +- تنظیم [t]زمان فایل به یک مقدار مشخص و عدم [c]ایجاد فایل در صورت عدم وجود: + +`touch {{[-c|--no-create]}} -t {{YYYYMMDDHHMM.SS}} {{path/to/file1 path/to/file2 ...}}` + +- تنظیم زمان فایل‌ها به زمان فایل [r]مرجع، و عدم [c]ایجاد فایل در صورت عدم وجود: + +`touch {{[-c|--no-create]}} {{[-r|--reference]}} {{path/to/reference_file}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages.fa/common/tty.md b/pages.fa/common/tty.md index a3a13c83747dae..d2c8a4509f6a20 100644 --- a/pages.fa/common/tty.md +++ b/pages.fa/common/tty.md @@ -1,6 +1,7 @@ # tty > نمایش نام ترمینال. +> اطلاعات بیشتر: . - نمایش نام فایل ترمینال جاری: diff --git a/pages.fa/common/uname.md b/pages.fa/common/uname.md index d67ed7762f87ac..58477c3eb55bc2 100644 --- a/pages.fa/common/uname.md +++ b/pages.fa/common/uname.md @@ -2,6 +2,7 @@ > نمایش اطلاعاتی درباره سخت افزار و سیستم عامل. > نکته: برای دستیابی به اطلاعات اضافه در رابطه با سیستم عامل از دستور `lsb_release` استفاده کنید. +> اطلاعات بیشتر: . - نمایش اطلاعات مربوط به سخت افزار و پردازنده سیستم: diff --git a/pages.fa/common/unclutter.md b/pages.fa/common/unclutter.md index eb831a8f20e2a7..603e820184ec67 100644 --- a/pages.fa/common/unclutter.md +++ b/pages.fa/common/unclutter.md @@ -1,6 +1,7 @@ # unclutter > مخفی کردن نشان ماوس. +> اطلاعات بیشتر: . - مخفی کردن نشان ماوس بعد از 3 ثانیه: diff --git a/pages.fa/common/users.md b/pages.fa/common/users.md new file mode 100644 index 00000000000000..f1833e519b1298 --- /dev/null +++ b/pages.fa/common/users.md @@ -0,0 +1,12 @@ +# users + +> نمایش لیست کاربران لاگین شده. +> اطلاعات بیشتر: . + +- نمایش لیست کاربران لاگین شده: + +`users` + +- نمایش لیست کاربران لاگین شده بر اساس یک لاگ فایل خاص: + +`users {{/var/log/wmtp}}` diff --git a/pages.fa/common/view.md b/pages.fa/common/view.md index 70a0fe685e7ed9..7d094731f385f1 100644 --- a/pages.fa/common/view.md +++ b/pages.fa/common/view.md @@ -2,6 +2,7 @@ > نسخه فقط خواندنی vim. > معادل vim -R. +> اطلاعات بیشتر: . - باز کردن فایل: diff --git a/pages.fa/common/where.md b/pages.fa/common/where.md new file mode 100644 index 00000000000000..7106bdc97f3c0c --- /dev/null +++ b/pages.fa/common/where.md @@ -0,0 +1,8 @@ +# where + +> نمایش محل فایل باینری یا اجرایی یک دستور در لینوکس. +> اطلاعات بیشتر: . + +- نمایش محل فایل اجرایی یک دستور: + +`where {{command}}` diff --git a/pages.fa/common/yard.md b/pages.fa/common/yard.md new file mode 100644 index 00000000000000..654eda89d281fa --- /dev/null +++ b/pages.fa/common/yard.md @@ -0,0 +1,16 @@ +# yard + +> ابزار مستند سازی برای زبان برنامه نویسی روبی. +> اطلاعات بیشتر: . + +- ساخت مستندات: + +`yard` + +- ساخت مستندات و ذخیره آن در یک فایل: + +`yard --one-file` + +- فهرست تمام اشیاء مستند نشده: + +`yard stats --list-undoc` diff --git a/pages.fa/common/you-get.md b/pages.fa/common/you-get.md new file mode 100644 index 00000000000000..7e1923a804a966 --- /dev/null +++ b/pages.fa/common/you-get.md @@ -0,0 +1,24 @@ +# you-get + +> دانلود محتوای چندرسانه ای از وب (ویدیو، صوت، عکس). +> اطلاعات بیشتر: . + +- چاپ اطلاعات درمورد یک رسانه خاص در سطح وب: + +`you-get --info {{https://example.com/video?id=value}}` + +- دانلود رسانه از لینک موردنظر: + +`you-get {{https://example.com/video?id=value}}` + +- جستجو در ویدیوهای گوگل و دانلود: + +`you-get {{keywords}}` + +- دانلود یک رسانه و ذخیره در محل ذخیره شده: + +`you-get --output-dir {{path/to/directory}} --output-filename {{filename}} {{https://example.com/watch?v=value}}` + +- دانلود یک رسانه با استفاده از پروکسی: + +`you-get --http-proxy {{proxy_server}} {{https://example.com/watch?v=value}}` diff --git a/pages.fa/common/zip.md b/pages.fa/common/zip.md new file mode 100644 index 00000000000000..cf3319567d3ad4 --- /dev/null +++ b/pages.fa/common/zip.md @@ -0,0 +1,33 @@ +# zip + +> بسته‌بندی و فشرده‌سازی (آرشیو) فایل‌ها در یک آرشیو Zip. +> همچنین ببینید: `unzip`. +> اطلاعات بیشتر: . + +- افزودن فایل‌ها/پوشه‌ها به یک آرشیو مشخص (به صورت بازگشتی): + +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- حذف فایل‌ها/پوشه‌ها از یک آرشیو مشخص: + +`zip {{[-d|--delete]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- آرشیو فایل‌ها/پوشه‌ها با مستثنی کردن موارد مشخص شده: + +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{[-x|--exclude]}} {{path/to/excluded_files_or_directories}}` + +- آرشیو فایل‌ها/پوشه‌ها با سطح فشرده‌سازی مشخص (`0` - کمترین، `9` - بیشترین): + +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- ایجاد یک آرشیو رمزگذاری شده با رمز عبور مشخص: + +`zip {{[-re|--recurse-paths --encrypt]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- آرشیو فایل‌ها/پوشه‌ها در یک آرشیو چند بخشی تقسیم شده (مثلاً بخش‌های ۳ گیگابایتی): + +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- نمایش محتویات یک آرشیو مشخص: + +`zip {{[-sf|--split-size --freshen]}} {{path/to/compressed.zip}}` diff --git a/pages.fa/common/zm.md b/pages.fa/common/zm.md new file mode 100644 index 00000000000000..beabcdc6388471 --- /dev/null +++ b/pages.fa/common/zm.md @@ -0,0 +1,16 @@ +# zm + +> ابزاری برای مدیریت مقاله های مجلات و وبلاگ ها. +> اطلاعات بیشتر: . + +- ساخت یک پیش نویس جدید: + +`zm new` + +- ویرایش یک پیش نویس: + +`zm edit` + +- انتشار یک پیش نویس و ثبت در گیت: + +`zm publish` diff --git a/pages.fa/common/~.md b/pages.fa/common/~.md new file mode 100644 index 00000000000000..e444dc3c881b74 --- /dev/null +++ b/pages.fa/common/~.md @@ -0,0 +1,16 @@ +# ~ + +> به یک دایرکتوری گسترش می یابد. +> اطلاعات بیشتر: . + +- محتوای دایرکتوری خانه کاربر فعلی را فهرست می کند: + +`ls ~` + +- محتوای دایرکتوری خانه یک کاربر دیگر را فهرست می کند: + +`ls ~{{username}}` + +- محتوای دایرکتوری قبلی که شما در آن بودید را فهرست می کند: + +`ls ~-` diff --git a/pages.fa/linux/abbr.md b/pages.fa/linux/abbr.md new file mode 100644 index 00000000000000..fa48503330af09 --- /dev/null +++ b/pages.fa/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> fish shell مدیریت مخفف های +> جایگزین کردن کلمات وارد شده توسط کاربر با جملات طولانی +> اطلاعات بیشتر: . + +- اضافه کردن مخفف جدید: + +`abbr --add {{abbreviation_name}} {{command}} {{command_arguments}}` + +- تغییر نام یک مخفف موجود: + +`abbr --rename {{old_name}} {{new_name}}` + +- پاک کردن یک مخفف موجود: + +`abbr --erase {{abbreviation_name}}` + +- وارد کردن یک مخفف وارد شده در یک میزبان دیگر از طریق SSH: + +`ssh {{host_name}} abbr --show | source` diff --git a/pages.fa/linux/ac.md b/pages.fa/linux/ac.md new file mode 100644 index 00000000000000..ce579f659f492c --- /dev/null +++ b/pages.fa/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> چاپ مدت زمان اتصال کاربران. +> اطلاعات بیشتر: . + +- چاپ تعداد ساعات اتصال کاربر کنونی: + +`ac` + +- چاپ تعداد ساعات اتصال کاربران: + +`ac {{[-p|--individual-totals]}}` + +- چاپ تعداد ساعات اتصال یک کاربر خاص: + +`ac {{[-p|--individual-totals]}} {{username}}` + +- چاپ تعداد ساعات اتصال یک کاربر خاص (به همراه مجموع آن): + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{username}}` + +- نمایش اطلاعات بیشتر: + +`ac --compatibility` diff --git a/pages.fa/linux/adduser.md b/pages.fa/linux/adduser.md new file mode 100644 index 00000000000000..d6663ab090cdbb --- /dev/null +++ b/pages.fa/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> ابزار اضافه‌ کردن کاربر. +> اطلاعات بیشتر: . + +- ایجاد یک کاربر جدید با دایرکتوری خانگی پیش‌فرض و درخواست از کاربر برای تنظیم رمز عبور: + +`adduser {{username}}` + +- ایجاد یک کاربر جدید بدون دایرکتوری خانگی: + +`adduser --no-create-home {{username}}` + +- ایجاد یک کاربر جدید با دایرکتوری خانگی در مسیر مشخص: + +`adduser --home {{path/to/home}} {{username}}` + +- ایجاد یک کاربر جدید با تنظیم پوسته (shell) مشخص به عنوان پوسته ورود: + +`adduser --shell {{path/to/shell}} {{username}}` + +- ایجاد یک کاربر جدید که به گروه مشخصی تعلق دارد: + +`adduser --ingroup {{group}} {{username}}` diff --git a/pages.fa/linux/apk.md b/pages.fa/linux/apk.md new file mode 100644 index 00000000000000..96b4f2bed136ec --- /dev/null +++ b/pages.fa/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> ابزار مدیریت بسته آلپاین لینوکس. +> اطلاعات بیشتر: . + +- آپدیت فهرست مخزن ها از تمام مخازن ریموت: + +`apk update` + +- نصب یک بسته جدید: + +`apk add {{package}}` + +- حذف یک بسته: + +`apk del {{package}}` + +- تعمیر یک بسته یا ارتقا آن بدون تغییر دادن وابستگی های اصلی: + +`apk fix {{package}}` + +- جستجوی یک بسته با کلمات کلیدی: + +`apk search {{keywords}}` + +- نمایش اطلاعات درمورد بسته مورد نظر: + +`apk info {{package}}` diff --git a/pages.fa/linux/apt-get.md b/pages.fa/linux/apt-get.md new file mode 100644 index 00000000000000..0c6fd6f3e5d988 --- /dev/null +++ b/pages.fa/linux/apt-get.md @@ -0,0 +1,37 @@ +# apt-get + +> ابزار مدیریت بسته‌های دبیان و اوبونتو. +> جستجو در بسته‌ها با استفاده از `apt-cache`. +> اطلاعات بیشتر: . + +- به‌روز‌رسانی لیست بسته‌ها و نسخه‌های موجود (توصیه می‌شود که این دستور را قبل از دیگر دستورات `apt-get` اجرا کنید): + +`apt-get update` + +- نصب یک بسته یا به روزرسانی آن به آخرین نسخه موجود: + +`apt-get install {{package}}` + +- حذف یک بسته: + +`apt-get remove {{package}}` + +- حذف یک بسته و فایل‌های پیکربندی آن: + +`apt-get purge {{package}}` + +- ارتقاء تمامی بسته‌های نصب شده به آخرین نسخه‌های موجود: + +`apt-get upgrade` + +- پاکسازی مخزن محلی - حذف فایل‌های بسته (`.deb`) از دانلودهای متوقف شده که دیگر قابل دانلود نیستند: + +`apt-get autoclean` + +- حذف تمام بسته‌هایی که دیگر نیازی به آن‌ها نیست: + +`apt-get autoremove` + +- ارتقاء بسته‌های نصب شده (مانند `upgrade`) اما با حذف بسته‌های قدیمی و نصب بسته‌های اضافی برای برآورده کردن وابستگی‌های جدید: + +`apt-get dist-upgrade` diff --git a/pages.fa/linux/bitwise.md b/pages.fa/linux/bitwise.md new file mode 100644 index 00000000000000..92a2f94a593d74 --- /dev/null +++ b/pages.fa/linux/bitwise.md @@ -0,0 +1,20 @@ +# bitwise + +> ابزار تبدیل مبنا چند منظوره با قابلیت پشتیبانی از مبنای پویا و دستکاری بیت. +> اطلاعات بیشتر: . + +- اجرا در حالت هم کنشی: + +`bitwise` + +- تبدیل از دسیمال: + +`bitwise {{12345}}` + +- تبدیل از هگزادسیمال: + +`bitwise {{0x563d}}` + +- تبدیل یک محاسبه با قالب زبان سی: + +`bitwise "{{0x123 + 0x20 - 30 / 50}}"` diff --git a/pages.fa/linux/caja.md b/pages.fa/linux/caja.md new file mode 100644 index 00000000000000..b41973805c6c37 --- /dev/null +++ b/pages.fa/linux/caja.md @@ -0,0 +1,24 @@ +# caja + +> مدیریت فایلها و پوشه ها در محیط دسکتاپ MATE. +> اطلاعات بیشتر: . + +- باز کردن پوشه خانگی کاربر کنونی: + +`caja` + +- بازکردن پوشه های مشخص شده در پنجره جداگانه: + +`caja {{path/to/directory1 path/to/directory2 ...}}` + +- بازکردن پوشه های مشخص شده در تب ها: + +`caja --tabs {{path/to/directory1 path/to/directory2 ...}}` + +- بازکدن یک پوشه در یک پنجره با اندازه مشخص: + +`caja --geometry={{600}}x{{400}} {{path/to/directory}}` + +- بستن همه پنجره ها: + +`caja --quit` diff --git a/pages.fa/linux/cal.md b/pages.fa/linux/cal.md new file mode 100644 index 00000000000000..9005923db82a35 --- /dev/null +++ b/pages.fa/linux/cal.md @@ -0,0 +1,24 @@ +# cal + +> چاپ اطلاعات تقویم همراه با هایلایت کردن روز جاری. +> اطلاعات بیشتر: . + +- نمایش تقویم ماه جاری: + +`cal` + +- نمایش ماه قبلی، جاری و بعدی: + +`cal {{[-3|--three]}}` + +- در نظر گرفتن دوشنبه به عنوان اولین روز هفته: + +`cal {{[-m|--monday]}}` + +- نمایش تقویم سال مورد نظر (چهار رقمی): + +`cal {{year}}` + +- نمایش تقویم ماه و سال مورد نظر: + +`cal {{month}} {{year}}` diff --git a/pages.fa/linux/dd.md b/pages.fa/linux/dd.md new file mode 100644 index 00000000000000..91a1c3e4cfea9e --- /dev/null +++ b/pages.fa/linux/dd.md @@ -0,0 +1,28 @@ +# dd + +> تبدیل و کپی یک فایل. +> اطلاعات بیشتر: . + +- ساخت یک درایو USB قابل بوت از یک فایل iso (مثل `archlinux-xxx.iso`) و نمایش پیشرفت: + +`dd if={{path/to/file.iso}} of={{/dev/usb_drive}} status=progress` + +- کلون کردن یک درایو به یک درایو دیگر با اندازهٔ بلوک ۴ مگابایت و اعمال چیزهای نوشته شده پیش از خاتمهٔ دستور: + +`dd bs=4M conv=fsync if={{/dev/source_drive}} of={{/dev/dest_drive}}` + +- ایجاد یک فایل با تعداد مشخصی بایت تصادفی با استفاده از درایور random کرنل: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{path/to/random_file}}` + +- ارزیابی عملکرد نوشتن روی یک دیسک: + +`dd bs={{1M}} count={{1024}} if=/dev/zero of={{path/to/file_1GB}}` + +- ساخت یک پشتیبان از سامانه و ذخیرهٔ آن در یک فایل IMG (می‌توان بعداً با تغییر `if` به `of` آن را بازسازی کرد): + +`dd if={{/dev/drive_device}} of={{path/to/file.img}} status=progress` + +- بررسی پیشرفت یک عملکرد در حال اجرای `dd` (این دستور را از یک پوستهٔ دیگر اجرا کنید): + +`kill -USR1 $(pgrep -x dd)` diff --git a/pages.fa/linux/dnf.md b/pages.fa/linux/dnf.md new file mode 100644 index 00000000000000..3fc41cf83483f1 --- /dev/null +++ b/pages.fa/linux/dnf.md @@ -0,0 +1,37 @@ +# dnf + +> ابزار مدیریت بسته‌ها برای RHEL، Fedora و CentOS (جایگزین `yum`). +> برای دستورات معادل در دیگر مدیران بسته، به مراجعه کنید. +> اطلاعات بیشتر: . + +- ارتقاء بسته‌های نصب شده به جدیدترین نسخه‌های موجود: + +`sudo dnf upgrade` + +- جستجوی بسته‌ها بر اساس کلمات کلیدی: + +`dnf search {{keyword1 keyword2 ...}}` + +- نمایش جزئیات یک بسته: + +`dnf info {{package}}` + +- نصب یک بسته جدید (از `-y` برای تأیید اتوماتیک تمام پنجره‌ها استفاده کنید): + +`sudo dnf install {{package1 package2 ...}}` + +- حذف یک بسته: + +`sudo dnf remove {{package1 package2 ...}}` + +- لیست بسته‌های نصب شده: + +`dnf list --installed` + +- یافتن بسته‌هایی که دستور مشخصی را ارائه می‌دهند: + +`dnf provides {{command}}` + +- مشاهده تاریخچه تمام عملیات‌های گذشته: + +`dnf history` diff --git a/pages.fa/linux/pacman.md b/pages.fa/linux/pacman.md new file mode 100644 index 00000000000000..dabb9917183dc0 --- /dev/null +++ b/pages.fa/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> واحد مدیریت پکیج آرچ لینوکس +> همچنین : `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> برای دیدن دستور های معادل در سایر پکیج منیجر ها . +> اطلاعات بیشتر: . + +- همگام سازی و بروز رسانی تمام پکیج ها: + +`sudo pacman -Syu` + +- نصب پکیج جدید: + +`sudo pacman -S {{package}}` + +- حذف یک پکیج به همراه وابستگی هاش: + +`sudo pacman -Rs {{package}}` + +- جستجو در دیتابیس برای پکیج هایی که با یک فایل خاص تعارض دارند: + +`pacman -F "{{file_name}}"` + +- لیست کردن پکیج های نصب شده با نسخه آنها: + +`pacman -Q` + +- لیست کردن تنها پکیج هایی که مستقیما نصب شده اند به همراه نسخه آنها: + +`pacman -Qe` + +- لیست کردن پکیج هایی که به عنوان وابستگی نصب شده اند اما توسط هیچ پکیجی استفاده نمیشوند: + +`pacman -Qtdq` + +- خالی کردن کل کش `pacman`: + +`sudo pacman -Scc` diff --git a/pages.fa/linux/whatis.md b/pages.fa/linux/whatis.md new file mode 100644 index 00000000000000..bad1ee8f9b35c6 --- /dev/null +++ b/pages.fa/linux/whatis.md @@ -0,0 +1,20 @@ +# whatis + +> نمایش توضیحات یک خطی از صفحات راهنما. +> اطلاعات بیشتر: . + +- نمایش توضیحات یک دستور از صفحات راهنما: + +`whatis {{command}}` + +- توضیحات در آخر خط ترمینال برش نمی خورد: + +`whatis --long {{command}}` + +- نمایش توضیحات تمامی دستورات مطابق با الگو: + +`whatis --wildcard {{net*}}` + +- جستجو در توضیحات صفحات راهنما با عبارات منظم: + +`whatis --regex '{{wish[0-9]\.[0-9]}}'` diff --git a/pages.fa/linux/yum.md b/pages.fa/linux/yum.md new file mode 100644 index 00000000000000..29c255d1efd572 --- /dev/null +++ b/pages.fa/linux/yum.md @@ -0,0 +1,28 @@ +# yum + +> ابزار مدیریت بسته برای ردهت، فدورا و سنت اواس(برای نسخه های قدیمی). +> اطلاعات بیشتر: . + +- نصب یک بسته: + +`yum install {{package}}` + +- نصب یک بسته با فرض بر اینکه پاسخ شما برای تمامی سوالات بله است(با گزینه update هم می توان از این روش استفاده کرد، مناسب برای به روز رسانی خودکار): + +`yum -y install {{package}}` + +- پیدا کردن بسته ای که دستور مورد نظر را فراهم می کند: + +`yum provides {{command}}` + +- حذف یک بسته: + +`yum remove {{package}}` + +- نمایش به روز رسانی ها برای بسته های نصب شده: + +`yum check-update` + +- به روز رسانی بسته های نصب شده به آخرین نسخه موجود: + +`yum upgrade` diff --git a/pages.fa/windows/cls.md b/pages.fa/windows/cls.md index 6d468aab3b24a6..3ef04ad550bd1c 100644 --- a/pages.fa/windows/cls.md +++ b/pages.fa/windows/cls.md @@ -1,7 +1,7 @@ # cls > پاک کردن صفحه. -> اطلاعات بیشتر: . +> اطلاعات بیشتر: . - پاک کردن صفحه: diff --git a/pages.fa/windows/type.md b/pages.fa/windows/type.md index 78bb8def7440ba..131cdab011ae39 100644 --- a/pages.fa/windows/type.md +++ b/pages.fa/windows/type.md @@ -1,7 +1,7 @@ # type > نمایش محتویات فایل. -> اطلاعات بیشتر: . +> اطلاعات بیشتر: . - نمایش محتویات فایل مشخص شده: diff --git a/pages.fa/windows/ver.md b/pages.fa/windows/ver.md index 17b81e0b6d1fa9..0654d71525c4ea 100644 --- a/pages.fa/windows/ver.md +++ b/pages.fa/windows/ver.md @@ -1,7 +1,7 @@ # ver > نمایش شماره نسخه ویندوز یا داس. -> اطلاعات بیشتر: . +> اطلاعات بیشتر: . - نمایش شماره نسخه: diff --git a/pages.fa/windows/where.md b/pages.fa/windows/where.md new file mode 100644 index 00000000000000..216fb68779d112 --- /dev/null +++ b/pages.fa/windows/where.md @@ -0,0 +1,8 @@ +# where + +> نمایش محل فایل باینری یا اجرایی یک دستور در لینوکس. +> اطلاعات بیشتر: . + +- نمایش محل فایل اجرایی یک دستور: + +`where {{command}}` diff --git a/pages.fi/linux/adduser.md b/pages.fi/linux/adduser.md new file mode 100644 index 00000000000000..d5a536216a33f2 --- /dev/null +++ b/pages.fi/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> Käyttäjän lisäysapuohjelma. +> Lisätietoa: . + +- Luo uusi käyttäjä oletuskotihakemistolla ja pyydä käyttäjää asettamaan salasana: + +`adduser {{tunnus}}` + +- Luo uusi käyttäjä ilman kotihakemistoa: + +`adduser --no-create-home {{tunnus}}` + +- Luo uusi käyttäjä kotihakemistolla määritetyssä polussa: + +`adduser --home {{polku/kotiin}} {{tunnus}}` + +- Luo uusi käyttäjä, jolla on määritetty kuori kirjautumiskuoreksi: + +`adduser --shell {{polku/kuoriin}} {{tunnus}}` + +- Luo uusi käyttäjä, joka kuuluu määritettyyn ryhmään: + +`adduser --ingroup {{ryhmä}} {{tunnus}}` diff --git a/pages.fr/android/am.md b/pages.fr/android/am.md new file mode 100644 index 00000000000000..e9b31cdb63fc10 --- /dev/null +++ b/pages.fr/android/am.md @@ -0,0 +1,20 @@ +# am + +> Manager d'activité Android. +> Plus d'informations : . + +- Commence une activité spécifique : + +`am start -n {{com.android.settings/.Settings}}` + +- Commence une activité et insère de la donnée : + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Commence une activité qui correspond à une action et une catégorie spécifique : + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Convertis une intention en URI : + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.fr/android/bugreport.md b/pages.fr/android/bugreport.md new file mode 100644 index 00000000000000..859c34d3caa1b7 --- /dev/null +++ b/pages.fr/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Affiche un rapport de bug Android. +> Cette commande peut être utilisée uniquement depuis `adb shell`. +> Plus d'informations : . + +- Affiche un rapport de bug d'un appareil Android : + +`bugreport` diff --git a/pages.fr/android/bugreportz.md b/pages.fr/android/bugreportz.md new file mode 100644 index 00000000000000..29c8ba237df36c --- /dev/null +++ b/pages.fr/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> Génère une archive d'un rapport de bug Android. +> Cette commande peut être utilisée uniquement depuis `adb shell`. +> Plus d'informations : . + +- Génère une archive à partir d'un rapport de bug d'un appareil Android : + +`bugreportz` + +- Affiche la progression courante d'une opération `bugreportz` : + +`bugreportz -p` + +- Affiche l'aide : + +`bugreportz -h` + +- Affiche la version de `bugreportz` : + +`bugreportz -v` diff --git a/pages.fr/android/cmd.md b/pages.fr/android/cmd.md new file mode 100644 index 00000000000000..7dae56efc7c9ec --- /dev/null +++ b/pages.fr/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Manager de service Android. +> Plus d'informations : . + +- Liste tous les services en cours d'exécution : + +`cmd -l` + +- Appelle un service spécifique : + +`cmd {{alarm}}` + +- Appelle un service avec des arguments : + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.fr/android/dalvikvm.md b/pages.fr/android/dalvikvm.md new file mode 100644 index 00000000000000..658a6543db4177 --- /dev/null +++ b/pages.fr/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Machine virtuelle Java pour Android. +> Plus d'informations : . + +- Démarre un programme Java : + +`dalvikvm -classpath {{chemin/vers/fichier.jar}} {{nom_de_la_classe}}` diff --git a/pages.fr/android/dumpsys.md b/pages.fr/android/dumpsys.md new file mode 100644 index 00000000000000..f6b6a1922b772c --- /dev/null +++ b/pages.fr/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Fourni des informations sur les services du système Android. +> Cette commande peut être utilisé uniquement depuis `adb shell`. +> Plus d'informations : . + +- Récupère un diagnostic pour chaque service système : + +`dumpsys` + +- Récupère un diagnostic pour un service système spécifique : + +`dumpsys {{service}}` + +- Liste tous les services dont `dumpsys` peut donner les informations : + +`dumpsys -l` + +- Liste les arguments spécifiques d'un service : + +`dumpsys {{service}} -h` + +- Exclus un service spécifique d'un diagnostic : + +`dumpsys --skip {{service}}` + +- Spécifie un temps limite en secondes (10s par défaut) : + +`dumpsys -t {{seconds}}` diff --git a/pages.fr/android/getprop.md b/pages.fr/android/getprop.md new file mode 100644 index 00000000000000..03a05281aa0699 --- /dev/null +++ b/pages.fr/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Affiche les informations des propriétés système Android. +> Plus d'informations : . + +- Affiche les informations des propriétés système Android : + +`getprop` + +- Affiche les informations d'une propriété spécifique : + +`getprop {{prop}}` + +- Affiche le niveau API du SDK : + +`getprop {{ro.build.version.sdk}}` + +- Affiche la version d'Android : + +`getprop {{ro.build.version.release}}` + +- Affiche le modèle de l'appareil Android : + +`getprop {{ro.vendor.product.model}}` + +- Affiche le status du déblocage OEM : + +`getprop {{ro.oem_unlock_supported}}` + +- Affiche l'adresse MAC de la carte Wi-FI Android : + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.fr/android/input.md b/pages.fr/android/input.md new file mode 100644 index 00000000000000..1dfce84b4d714c --- /dev/null +++ b/pages.fr/android/input.md @@ -0,0 +1,25 @@ +# input + +> Envoie à un appareil Android des codes événements ou des gestes d'écran tactile. +> Cette commande peut être utilisée uniquement depuis `adb shell`. +> Plus d'informations : . + +- Envoie un code événement (un seul caractère) à un appareil Android : + +`input keyevent {{event_code}}` + +- Envoie du texte à un appareil Android (`%s` représentant les espaces) : + +`input text "{{text}}"` + +- Envoie un tapotement (tap) à un appareil Android : + +`input tap {{x_pos}} {{y_pos}}` + +- Envoie un mouvement de swipe à un appareil Android : + +`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duration_in_ms}}` + +- Envoie un appui long à un appareil Android en utilisant un mouvement de swipe : + +`input swipe {{x_pos}} {{y_pos}} {{x_pos}} {{y_pos}} {{duration_in_ms}}` diff --git a/pages.fr/android/logcat.md b/pages.fr/android/logcat.md new file mode 100644 index 00000000000000..10b496f7da4f5a --- /dev/null +++ b/pages.fr/android/logcat.md @@ -0,0 +1,16 @@ +# logcat + +> Exporte une log depuis les messages système. +> Plus d'informations : . + +- Affiche la journalisation système : + +`logcat` + +- Écris la journalisation système dans un fichier : + +`logcat -f {{chemin/vers/fichier}}` + +- Affiche les lignes qui correspondent à une expression régulière : + +`logcat --regex {{expression_régulière}}` diff --git a/pages.fr/android/pkg.md b/pages.fr/android/pkg.md new file mode 100644 index 00000000000000..e4965c5171ba3e --- /dev/null +++ b/pages.fr/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Utilitaire de gestion de paquets pour Termux. +> Plus d'informations : . + +- Mets à jour tous les paquets déjà installés : + +`pkg upgrade` + +- Installe un paquet : + +`pkg install {{paquet}}` + +- Désinstalle un paquet : + +`pkg uninstall {{paquet}}` + +- Réinstalle un paquet : + +`pkg reinstall {{paquet}}` + +- Cherche un paquet : + +`pkg search {{paquet}}` diff --git a/pages.fr/android/pm.md b/pages.fr/android/pm.md new file mode 100644 index 00000000000000..c0f65355704dd1 --- /dev/null +++ b/pages.fr/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Afficher des informations sur les applications d'un appareil Android. +> Plus d'informations : . + +- Affiche la liste des applications installées : + +`pm list packages` + +- Affiche une liste de toutes les applications système installées : + +`pm list packages -s` + +- Affiche une liste de toutes les applications tierces : + +`pm list packages -3` + +- Affiche une liste des applications qui correspondent à des mots clés : + +`pm list packages {{mots_clés}}` + +- Affiche le chemin vers l'APK d'une application spécifique : + +`pm path {{application}}` diff --git a/pages.fr/android/screencap.md b/pages.fr/android/screencap.md new file mode 100644 index 00000000000000..2a8e64ac2934c6 --- /dev/null +++ b/pages.fr/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Prenez une capture d'écran d'un écran mobile. +> Cette commande ne peut être utilisée que via `adb shell`. +> Plus d'informations : . + +- Prendre une capture d'écran : + +`screencap {{chemin/vers/fichier}}` diff --git a/pages.fr/android/settings.md b/pages.fr/android/settings.md new file mode 100644 index 00000000000000..6cb4bf7c7ab1a1 --- /dev/null +++ b/pages.fr/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Récupère les informations du système d'exploitation Android. +> Plus d'informations: .. + +- Affiche une liste des paramètres de l'espace de nom `global` : + +`settings list {{global}}` + +- Récupère la valeur d'un paramètre : + +`settings get {{global}} {{airplane_mode_on}}` + +- Assigne une valeur à un paramètre : + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Supprime un paramètre : + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.fr/android/wm.md b/pages.fr/android/wm.md new file mode 100644 index 00000000000000..500399a73d2d2b --- /dev/null +++ b/pages.fr/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Affiche les informations de l'écran d'un appareil Android. +> Cette commande peut être utilisée uniquement depuis `adb shell`. +> Plus d'informations: . + +- Affiche la taille physique de l'écran d'un appareil Android : + +`wm size` + +- Affiche la densité physique de l'écran d'un appareil Android : + +`wm density` diff --git a/pages.fr/common/2to3.md b/pages.fr/common/2to3.md new file mode 100644 index 00000000000000..203814ebd4b1ce --- /dev/null +++ b/pages.fr/common/2to3.md @@ -0,0 +1,32 @@ +# 2to3 + +> Conversion automatisé de code Python 2 vers 3. +> Plus d'informations : . + +- Afficher les changements qui seront effectués sans les effectuer (coup d'essai) : + +`2to3 {{chemin/vers/fichier.py}}` + +- Convertir un fichier Python 2 en Python 3 : + +`2to3 --write {{chemin/vers/fichier.py}}` + +- Convertir des fonctionnalités spécifiques de Python 2 vers Python 3 : + +`2to3 --write {{chemin/vers/fichier.py}} --fix {{raw_input}} --fix {{print}}` + +- Convertir toutes les fonctionnalités de Python 2 vers Python 3 sauf exceptions spécifiques : + +`2to3 --write {{chemin/vers/fichier.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- Afficher une liste de toutes les fonctionnalités de language qui peuvent être converties de Python 2 vers Python 3 : + +`2to3 --list-fixes` + +- Convertir tous les fichier Python2 vers Python 3 dans un dossier : + +`2to3 --output-dir {{chemin/vers/dossier_python3}} --write-unchanged-files --nobackups {{chemin/vers/dossier_python2}}` + +- Executer 2to3 avec plusieurs fil d'exécution : + +`2to3 --processes {{4}} --output-dir {{chemin/vers/dossier_python3}} --write --nobackups --no-diff {{chemin/vers/dossier_python2}}` diff --git a/pages.fr/common/7z.md b/pages.fr/common/7z.md index 4c9a8be6263b28..bb3b3e064e1a67 100644 --- a/pages.fr/common/7z.md +++ b/pages.fr/common/7z.md @@ -1,36 +1,36 @@ # 7z > Un archiveur de fichiers avec un haut taux de compression. -> Plus d'informations : . +> Plus d'informations : . -- Compresser un fichier ou un dossier : +- Compresse un fichier ou un dossier : `7z a {{archive.7z}} {{chemin/vers/fichier_ou_dossier}}` -- Chiffrer une archive existente (en incluant les en-têtes): +- Chiffre une archive existante (en incluant les en-têtes) : `7z a {{archive_chiffree.7z}} -p{{motdepasse}} -mhe=on {{archive.7z}}` -- Extraire un fichier 7z existant en conservant l'arborescence des fichiers : +- Extrait un fichier 7z existant en conservant l'arborescence des fichiers : `7z x {{archive.7z}}` -- Extraire une archive vers la destination donnée : +- Extrait une archive vers la destination donnée : `7z x {{archive.7z}} -o{{chemin/vers/destination}}` -- Extraire une archive vers la sortie standard : +- Extrait une archive vers la sortie standard : `7z x {{archive.7z}} -so` -- Archiver en utilisant un algorithme de compression particulier : +- Archive en utilisant un algorithme de compression particulier : -`7z a -t{{zip|gzip|bzip2|tar}} {{archive.7z}} {{chemin/vers/fichier_ou_dossier}}` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archive}} {{chemin/vers/fichier_ou_dossier}}` -- Lister les types d'archives disponibles : +- Liste le contenu d'une archive : -`7z i` +`7z l {{archive.7z}}` -- Lister le contenu d'une archive : +- Définit le niveau de compression (plus il est élevé, plus la compression est importante, mais plus elle est lente) : -`7z l {{archive.7z}}` +`7z a {{archive.7z}} -mx={{0|1|3|5|7|9}} {{chemin/vers/fichier_ou_dossier}}` diff --git a/pages.fr/common/7za.md b/pages.fr/common/7za.md new file mode 100644 index 00000000000000..c7f991ee37c27e --- /dev/null +++ b/pages.fr/common/7za.md @@ -0,0 +1,37 @@ +# 7za + +> Un archiveur de fichiers avec un haut taux de compression. +> Similaire à `7z` sauf qu'il supporte moins de type de fichiers mais est multi-plateforme. +> Plus d'informations : . + +- Compresse un fichier ou un dossier : + +`7za a {{chemin/vers/archive.7z}} {{chemin/vers/file_or_directory}}` + +- Chiffre une archive existante (en incluant les en-têtes) : + +`7za a {{chemin/vers/archive_chiffree.7z}} -p{{motdepasse}} -mhe={{on}} {{chemin/vers/archive.7z}}` + +- Extrait une archive en conservant l'arborescence des fichiers : + +`7za x {{chemin/vers/archive.7z}}` + +- Extrait une archive vers un dossier specifique : + +`7za x {{chemin/vers/archive.7z}} -o{{chemin/vers/la/sortie}}` + +- Extrait une archive vers sortie standard : + +`7za x {{chemin/vers/archive.7z}} -so` + +- Compresse en utilisant une compression spécifique : + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{chemin/vers/archive.7z}} {{chemin/vers/le/fichier_ou_dossier}}` + +- Liste le contenu d'une archive : + +`7za l {{chemin/vers/archive.7z}}` + +- Définit le niveau de compression (plus il est élevé, plus la compression est importante, mais plus elle est lente) : + +`7za a {{chemin/vers/archive.7z}} -mx={{0|1|3|5|7|9}} {{chemin/vers/fichier_ou_dossier}}` diff --git a/pages.fr/common/7zr.md b/pages.fr/common/7zr.md new file mode 100644 index 00000000000000..8a88da836c0778 --- /dev/null +++ b/pages.fr/common/7zr.md @@ -0,0 +1,33 @@ +# 7zr + +> Un archiveur de fichiers avec un haut taux de compression. +> Similaire à `7z` sauf qu'il ne supporte que les fichiers 7z. +> Plus d'informations : . + +- Compresse un fichier ou un dossier : + +`7zr a {{chemin/vers/archive.7z}} {{chemin/vers/le/fichier_ou_dossier}}` + +- Chiffre une archive existante (en incluant les en-têtes) : + +`7zr a {{chemin/vers/archive_chiffree.7z}} -p{{password}} -mhe={{on}} {{chemin/vers/archive.7z}}` + +- Extrait une archive en conservant l'arborescence des fichiers : + +`7zr x {{chemin/vers/archive.7z}}` + +- Extrait une archive vers un dossier specifique : + +`7zr x {{chemin/vers/archive.7z}} -o{{chemin/vers/la/sortie}}` + +- Extrait une archive vers sortie standard : + +`7zr x {{chemin/vers/archive.7z}} -so` + +- Liste le contenu d'une archive : + +`7zr l {{chemin/vers/archive.7z}}` + +- Définit le niveau de compression (plus il est élevé, plus la compression est importante, mais plus elle est lente) : + +`7zr a {{chemin/vers/archive.7z}} -mx={{0|1|3|5|7|9}} {{chemin/vers/fichier_ou_dossier}}` diff --git a/pages.fr/common/aapt.md b/pages.fr/common/aapt.md new file mode 100644 index 00000000000000..368714435f198f --- /dev/null +++ b/pages.fr/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> Android Asset Packaging Tool. +> Compile et empaquette les ressources d'une application Android. +> Plus d'informations : . + +- Liste les fichiers contenus une archive APK : + +`aapt list {{chemin/vers/app.apk}}` + +- Affiche les metadatas d'une application (version, autorisations, etc.) : + +`aapt dump badging {{chemin/vers/app.apk}}` + +- Créé une nouvelle archive APK avec les fichiers venant d'un dossier spécifique : + +`aapt package -F {{chemin/vers/app.apk}} {{chemin/vers/le/dossier}}` diff --git a/pages.fr/common/ab.md b/pages.fr/common/ab.md new file mode 100644 index 00000000000000..2aac4f55b2ce00 --- /dev/null +++ b/pages.fr/common/ab.md @@ -0,0 +1,24 @@ +# ab + +> Outil d'analyse pour serveur Apache HTTP. +> Plus d'informations : . + +- Exécute 100 requêtes HTTP GET sur une URL donnée : + +`ab -n 100 {{url}}` + +- Exécute 100 requêtes HTTP GET en parallèle par groupe de 10, sur une URL : + +`ab -n 100 -c 10 {{url}}` + +- Exécute 100 requêtes HTTP POST sur une URL, en utilisant un contenu JSON depuis un fichier : + +`ab -n 100 -T {{application/json}} -p {{chemin/vers/le/fichier.json}} {{url}}` + +- Utilise la fonctionalitée HTTP Keep Alive pour exécuter plusieurs requêtes dans la même session HTTP : + +`ab -k {{url}}` + +- Fixe le nombre maximum de secondes d'exécution pour l'analyse : + +`ab -t {{60}} {{url}}` diff --git a/pages.fr/common/abduco.md b/pages.fr/common/abduco.md new file mode 100644 index 00000000000000..379437f17f8a4f --- /dev/null +++ b/pages.fr/common/abduco.md @@ -0,0 +1,24 @@ +# abduco + +> Manageur de session dans un terminal. +> Plus d'informations : . + +- Affiche les sessions : + +`abduco` + +- Rejoint une session, la crée si elle n'existe pas : + +`abduco -A {{nom}} {{bash}}` + +- Rejoint une session avec `dvtm`, la crée si elle n'existe pas : + +`abduco -A {{name}}` + +- Quitte la session courante : + +`` + +- Rejoint une session en mode lecture seule : + +`abduco -Ar {{name}}` diff --git a/pages.fr/common/ac.md b/pages.fr/common/ac.md new file mode 100644 index 00000000000000..9a608b6a7e44da --- /dev/null +++ b/pages.fr/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> Imprime les statistiques sur combien de temps les utilisateurs ont été connectés. +> Plus d'informations : . + +- Imprime combien de temps l'utilisateur actuel a été connecté en heures : + +`ac` + +- Imprime combien de temps les utilisateurs ont été connecté : + +`ac -p` + +- Imprime combien de temps un utilisateur en particulier a été connecté en heures : + +`ac -p {{nom_d_utilisateur}}` + +- Imprime combien de temps un utilisateur particulier a été connecté en heure par jour (avec le total) : + +`ac -dp {{nom_d_utilisateur}}` diff --git a/pages.fr/common/ack.md b/pages.fr/common/ack.md new file mode 100644 index 00000000000000..34595d061fdeaf --- /dev/null +++ b/pages.fr/common/ack.md @@ -0,0 +1,37 @@ +# ack + +> Un outil de recherche comme grep, optimisé pour les développeurs. +> Regardez aussi : `rg`, qui est beaucoup plus rapide. +> Plus d'informations : . + +- Recherche des fichiers contenant une chaine de caractère ou une expression régulière dans le répertoire courant récursivement : + +`ack "{{motif_de_recherche}}"` + +- Recherche pour un motif insensible à la casse : + +`ack {{[-i|--ignore-case]}} "{{motif_de_recherche}}"` + +- Recherche les lignes qui correspondent à un motif, affiche uniquement les textes correspondants et pas le reste de la ligne : + +`ack {{[-o|--output '$&']}} "{{motif_de_recherche}}"` + +- Limite la recherche aux fichiers d'un certain type : + +`ack {{[-t|--type]}} {{ruby}} "{{motif_de_recherche}}"` + +- Exlcus un certain type de fichier de la recherche : + +`ack {{[-t|--type]}} no{{ruby}} "{{motif_de_recherche}}"` + +- Compte le nombre total de correspondances : + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{motif_de_recherche}}"` + +- Affiche les noms et le nombre total de correspondances pour chaque fichiers : + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{motif_de_recherche}}"` + +- Affiche toutes les valeurs qui peuvent être utilisées avec `--type` : + +`ack --help-types` diff --git a/pages.fr/common/acme.sh.md b/pages.fr/common/acme.sh.md new file mode 100644 index 00000000000000..84c790aa511ea2 --- /dev/null +++ b/pages.fr/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> Script shell implémentant le protocole client ACME, une alternative à `certbot`. +> Voir aussi `acme.sh dns`. +> Plus d'informations : . + +- Publie un certificat en utilisant le mode webroot : + +`acme.sh --issue --domain {{exemple.com}} --webroot {{/chemin/vers/webroot}}` + +- Publie un certificat pour plusieurs domaines en utilisant le mode autonome avec le port 80 : + +`acme.sh --issue --standalone --domain {{exemple.com}} --domain {{www.exemple.com}}` + +- Publie un certificat en utilisant le mode autonome TLS avec le port 443 : + +`acme.sh --issue --alpn --domain {{exemple.com}}` + +- Publie un certificat en utilisant une configuration Nginx : + +`acme.sh --issue --nginx --domain {{exemple.com}}` + +- Publie un certificat en utilisant une configuration Apache : + +`acme.sh --issue --apache --domain {{exemple.com}}` + +- Publie un certificat wildcard (\*) en utilisant le mode automatique DNS API : + +`acme.sh --issue --dns {{dns_cf}} --domain {{*.exemple.com}}` + +- Installe les fichiers de certificat dans un dossier spécifique (Utile pour les renouvellements automatiques de certificat) : + +`acme.sh --install-cert -d {{exemple.com}} --key-file {{/chemin/vers/exemple.com.key}} --fullchain-file {{/chemin/vers/exemple.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"` diff --git a/pages.fr/common/act.md b/pages.fr/common/act.md new file mode 100644 index 00000000000000..654096e61d48a0 --- /dev/null +++ b/pages.fr/common/act.md @@ -0,0 +1,32 @@ +# act + +> Execute des GitHub Actions en local avec Docker. +> Plus d'informations : . + +- [l]iste les jobs disponibles : + +`act -l` + +- Execute l'événement par défault : + +`act` + +- Execute un événement spécifique : + +`act {{type_d_événement}}` + +- Execute un [j]ob spécifique : + +`act -j {{id_job}}` + +- Ne pas lancer les actions maintenant (e.g un essai) : + +`act -n` + +- Affiche le journal en mode verbeux : + +`act -v` + +- Execute un [W]orkflow en particulier, avec l'événement push : + +`act push -W {{path/to/workflow}}` diff --git a/pages.fr/common/acyclic.md b/pages.fr/common/acyclic.md new file mode 100644 index 00000000000000..0870da78a5a65d --- /dev/null +++ b/pages.fr/common/acyclic.md @@ -0,0 +1,17 @@ +# acyclic + +> Construit un graphe orienté acyclique en inversant quelques sommets. +> Filtres Graphviz : `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> Plus d'informations : . + +- Construit un graphe orienté acyclique en inversant quelques sommets : + +`acyclic {{chemin/vers/entrée.gv}} > {{chemin/vers/sortie.gv}}` + +- Affiche si un graphe est acyclique, possède une boucle ou est non-dirigé, ne produit pas de graphe en sortie : + +`acyclic -v -n {{chemin/vers/entrée.gv}}` + +- Affiche l'aide d' `acyclic` : + +`acyclic -?` diff --git a/pages.fr/common/adb-devices.md b/pages.fr/common/adb-devices.md new file mode 100644 index 00000000000000..9787881a8336f5 --- /dev/null +++ b/pages.fr/common/adb-devices.md @@ -0,0 +1,12 @@ +# adb devices + +> Liste des appareils Android connectés. +> Plus d'informations : . + +- Liste les appareils : + +`adb devices` + +- Liste les appareils et leurs informations système : + +`adb devices -l` diff --git a/pages.fr/common/adb-install.md b/pages.fr/common/adb-install.md new file mode 100644 index 00000000000000..b6f42779914c50 --- /dev/null +++ b/pages.fr/common/adb-install.md @@ -0,0 +1,28 @@ +# adb install + +> Android Debug Bridge Install: Pousse des paquets vers une instance d'émulateur Android ou un appareil Android. +> Plus d'informations : . + +- Pousse une application Android vers l'émulateur/l'appareil : + +`adb install {{chemin/vers/le/fichier.apk}}` + +- Pousse une application Android vers l'émulateur/l'appareil spécifique via son numéro de série (écrase la variable `$ANDROID_SERIAL`): + +`adb -s {{numero_de_serie}} install {{chemin/vers/le/fichier.apk}}` + +- Réinstalle une application existante, tout en gardant ses données : + +`adb install -r {{chemin/vers/le/fichier.apk}}` + +- Pousse une application Android en autorisant la rétrogradation de version (uniquement pour les paquets debuggable) : + +`adb install -d {{chemin/vers/le/fichier.apk}}` + +- Accorde toutes les permissions listées dans le manifeste de l'application : + +`adb install -g {{chemin/vers/le/fichier.apk}}` + +- Mets à jour rapidement un paquet en mettant à jour uniquement les parties de l'APK qui ont changé : + +`adb install --fastdeploy {{chemin/vers/le/fichier.apk}}` diff --git a/pages.fr/common/adb-logcat.md b/pages.fr/common/adb-logcat.md new file mode 100644 index 00000000000000..4aecfcccb14503 --- /dev/null +++ b/pages.fr/common/adb-logcat.md @@ -0,0 +1,28 @@ +# adb logcat + +> Jeter une log des messages systèmes. +> Plus d'informations : . + +- Affiche les logs systèmes : + +`adb logcat` + +- Affiche les logs qui correspond à une expression régulière : + +`adb logcat -e {{expression_régulière}}` + +- Affiche les logs pour un tag donné, dans un mode spécifique ([V]erbose, [D]ebug, [I]nfo, [W]arning, [E]rror, [F]atal, [S]ilent) : + +`adb logcat {{tag}}:{{mode}} *:S` + +- Affiche les logs pour des applications React Native en mode [V]erbose et mes sous [S]ilence les autres tags : + +`adb logcat ReactNative:V ReactNativeJS:V *:S` + +- Affiche les logs avec un niveau de priorité supérieur à [W]arning : + +`adb logcat *:W` + +- Colorie les logs (souvent utilisé avec des filtres) : + +`adb logcat -v color` diff --git a/pages.fr/common/adb-reverse.md b/pages.fr/common/adb-reverse.md new file mode 100644 index 00000000000000..ec00aa1a60acd1 --- /dev/null +++ b/pages.fr/common/adb-reverse.md @@ -0,0 +1,20 @@ +# adb reverse + +> Android Debug Bridge Reverse: Transfère des connections réseaux depuis une instance d'émulateur Android ou un appareil Android. +> Plus d'informations : . + +- Affiche la liste de toutes les connections réseaux qui sont transféré depuis les émulateurs ou les appareils : + +`adb reverse --list` + +- Transfère un port TCP depuis un émulateur ou un appareil vers localhost : + +`adb reverse tcp:{{port_distant}} tcp:{{port_local}}` + +- Supprime une connection socket en cours depuis un émulateur ou un appareil : + +`adb reverse --remove tcp:{{port_distant}}` + +- Supprime toutes les connections socket depuis tous les émulateurs et appareils : + +`adb reverse --remove-all` diff --git a/pages.fr/common/adb-shell.md b/pages.fr/common/adb-shell.md new file mode 100644 index 00000000000000..c3a07350474573 --- /dev/null +++ b/pages.fr/common/adb-shell.md @@ -0,0 +1,36 @@ +# adb shell + +> Android Debug Bridge Shell: Exécute une commande shell sur une instance d'émulateur Android ou un appareil Android. +> Plus d'informations : . + +- Démarre une session shell interactive sur l'émulateur/l'appareil : + +`adb shell` + +- Récupère toutes les propriétés depuis un émulateur ou un appareil : + +`adb shell getprop` + +- Remet toutes les permissions courante à leurs valeurs par défaut : + +`adb shell pm reset-permissions` + +- Révoque une permission dangereuse pour une application : + +`adb shell pm revoke {{paquet}} {{permission}}` + +- Déclenche un événement clé : + +`adb shell input keyevent {{code}}` + +- Nettoie les données d'une application sur un émulateur ou un appareil : + +`adb shell pm clear {{paquet}}` + +- Démarre une activité sur un émulateur ou un appareil : + +`adb shell am start -n {{paquet}}/{{activité}}` + +- Démarre une activité maison depuis un émulateur ou un appareil : + +`adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN` diff --git a/pages.fr/common/adb-uninstall.md b/pages.fr/common/adb-uninstall.md new file mode 100644 index 00000000000000..44a79f40e3255c --- /dev/null +++ b/pages.fr/common/adb-uninstall.md @@ -0,0 +1,12 @@ +# adb uninstall + +> Désinstalle un paquet d'une instance d'émulateur Android ou d'un appareil Android. +> Plus d'informations : . + +- Désinstalle un paquet : + +`adb uninstall {{com.example.app}}` + +- Désinstalle un paquet, mais conserve les données utilisateur : + +`adb uninstall -k {{com.example.app}}` diff --git a/pages.fr/common/adb.md b/pages.fr/common/adb.md new file mode 100644 index 00000000000000..89adc80f6aaf61 --- /dev/null +++ b/pages.fr/common/adb.md @@ -0,0 +1,33 @@ +# adb + +> Android Debug Bridge: Communiquer avec une instance d'émulateur Android ou un appareil Android. +> Certaines commandes comme `adb shell` ont leur propre documentation. +> Plus d'informations : . + +- Vérifie si le processus du serveur adb est en fonctionnement et le démarre : + +`adb start-server` + +- Arrête le processus du serveur adb : + +`adb kill-server` + +- Démarre un shell distant sur l'émulateur/l'appareil ciblé : + +`adb shell` + +- Pousse une application Android vers l'émulateur/l'appareil : + +`adb install -r {{chemin/vers/le/fichier.apk}}` + +- Copie un fichier/dossier depuis l'appareil ciblé : + +`adb pull {{chemin/vers/le/fichier_ou_dossier_de_l'appareil}} {{chemin/vers/le/dossier_de_destination_local}}` + +- Copie un fichier/dossier vers l'appareil ciblé : + +`adb push {{chemin/vers/le/fichier_ou_dossier_local}} {{chemin/vers/le/dossier_de_destination_de_l'appareil}}` + +- Récupère une liste des appareils connectés : + +`adb devices` diff --git a/pages.fr/common/adguardhome.md b/pages.fr/common/adguardhome.md new file mode 100644 index 00000000000000..f4048b0ff0215f --- /dev/null +++ b/pages.fr/common/adguardhome.md @@ -0,0 +1,32 @@ +# AdGuardHome + +> Un logiciel réseau pour bloquer les pubs et les traqueurs. +> Plus d'informations : . + +- Lance AdGuard Home : + +`AdGuardHome` + +- Lance AdGuard Home avec une configuration spécifique : + +`AdGuardHome --config {{chemin/vers/AdGuardHome.yaml}}` + +- Configure le répertoire de travail où les données seront stockées : + +`AdGuardHome --work-dir {{chemin/vers/répertoire}}` + +- Installe ou désinstalle AdGuard Home comme un service : + +`AdGuardHome --service {{install|uninstall}}` + +- Démarre le service AdGuard Home : + +`AdGuardHome --service start` + +- Recharge la configuration pour le service AdGuard Home : + +`AdGuardHome --service reload` + +- Éteint ou redémarre le service AdGuard Home : + +`AdGuardHome --service {{stop|restart}}` diff --git a/pages.fr/common/adscript.md b/pages.fr/common/adscript.md new file mode 100644 index 00000000000000..d8a29435c0bbb9 --- /dev/null +++ b/pages.fr/common/adscript.md @@ -0,0 +1,20 @@ +# adscript + +> Compilateur pour fichiers Adscript. +> Plus d'informations : . + +- Compile un fichier vers un fichier objet : + +`adscript --output {{chemin/vers/fichier.o}} {{chemin/vers/fichier_source.adscript}}` + +- Compile et lie un fichier vers un exécutable autonome : + +`adscript --executable --output {{chemin/vers/fichier}} {{chemin/vers/fichier_source.adscript}}` + +- Compile un fichier vers LLVM IR à la place du code machine natif : + +`adscript --llvm-ir --output {{chemin/vers/fichier.ll}} {{chemin/vers/fichier_source.adscript}}` + +- Fait une compilation croisée d'un fichier vers un fichier objet pour une architecture CPU ou un système d'exploitation distant : + +`adscript --target-triple {{i386-linux-elf}} --output {{chemin/vers/fichier.o}} {{chemin/vers/fichier_source.adscript}}` diff --git a/pages.fr/common/afconvert.md b/pages.fr/common/afconvert.md new file mode 100644 index 00000000000000..c69d893452e930 --- /dev/null +++ b/pages.fr/common/afconvert.md @@ -0,0 +1,12 @@ +# afconvert + +> Convertir entre les formats de fichiers AFF et brut. +> Plus d'informations : . + +- Utiliser une extension spécifique (par défaut: `aff`) : + +`afconvert -a {{extension}} {{chemin/vers/fichier_source}} {{chemin/vers/fichier_de_sortie1 chemin/vers/fichier_de_sortie2 ...}}` + +- Utiliser un niveau de compression spécifique (par défaut: `7`) : + +`afconvert -X{{0..7}} {{chemin/vers/fichier_source}} {{chemin/vers/fichier_de_sortie1 chemin/vers/fichier_de_sortie2 ...}}` diff --git a/pages.fr/common/ag.md b/pages.fr/common/ag.md new file mode 100644 index 00000000000000..67b4eb44e88c5b --- /dev/null +++ b/pages.fr/common/ag.md @@ -0,0 +1,32 @@ +# ag + +> The Silver Searcher. Comme `ack`, mais inspire à être plus rapide. +> Plus d'informations : . + +- Trouve les fichiers qui contiennent "foo", et affiche les lignes correspondantes dans le contexte courant : + +`ag {{foo}}` + +- Trouve les fichiers qui contiennent "foo" dans un dossier spécifique : + +`ag {{foo}} {{chelin/vers/dossier}}` + +- Trouve les fichiers qui contiennent "foo", mais affiche les nom de fichier uniquement : + +`ag -l {{foo}}` + +- Trouve les fichiers qui contiennent "FOO" en étant insensible à la casse et affiche que le premier résultat plutôt que la ligne entière : + +`ag -i -o {{FOO}}` + +- Trouve "foo" dans les fichiers avec un nom contenant "bar" : + +`ag {{foo}} -G {{bar}}` + +- Trouve des fichiers dont le contenu correspond à une expression régulière : + +`ag '{{^ba(r|z)$}}'` + +- Trouve les fichiers avec un nom contenant "foo" : + +`ag -g {{foo}}` diff --git a/pages.fr/common/agate.md b/pages.fr/common/agate.md new file mode 100644 index 00000000000000..ec06fc99f13667 --- /dev/null +++ b/pages.fr/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> Un serveur simple pour le protocole réseau Gemini. +> Plus d'informations : . + +- Exécute et génère une clé privée et un certificat : + +`agate --content {{chemin/vers/contenu/}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{exemple.com}} --lang {{fr-FR}}` + +- Lance le serveur : + +`agate {{chemin/vers/fichier}}` + +- Affiche l'aide : + +`agate -h` diff --git a/pages.fr/common/age.md b/pages.fr/common/age.md new file mode 100644 index 00000000000000..c917b6519648f6 --- /dev/null +++ b/pages.fr/common/age.md @@ -0,0 +1,28 @@ +# age + +> Un outil de cryptage de fichiers simple, moderne et sécurisé. +> Plus d'informations : . + +- Générez un fichier crypté qui peut être décrypté avec une mot de passe : + +`age --passphrase --output {{chemin/vers/fichier_crypté}} {{chemin/vers/fichier_non_crypté}}` + +- Générer une paire de clés, en enregistrant la clé privée dans un fichier non crypté et en imprimant la clé publique sur `stdout`: + +`age-keygen --output {{chemin/vers/fichier}}` + +- Cryptage d'un fichier avec une ou plusieurs clés publiques qui sont entrées comme des littéraux : + +`age --recipient {{clé_publique_1}} --recipient {{clé_publique_2}} {{chemin/vers/fichier_non_crypté}} --output {{chemin/vers/fichier_crypté}}` + +- Cryptez un fichier avec une ou plusieurs clés publiques spécifiées dans un fichier de destinataires : + +`age --recipients-file {{chemin/vers/fichier_destinataire}} {{chemin/vers/fichier_non_crypté}} --output {{chemin/vers/fichier_crypté}}` + +- Déchiffrer un fichier avec un mot de passe : + +`age --decrypt --output {{chemin/vers/fichier_décrypté}} {{chemin/vers/fichier_crypté}}` + +- Decrypt a file with a private key file : + +`age --decrypt --identity {{chemin/vers/fichier_clé_privée}} --output {{chemin/vers/fichier_décrypté}} {{chemin/vers/fichier_crypté}}` diff --git a/pages.fr/common/airmon-ng.md b/pages.fr/common/airmon-ng.md new file mode 100644 index 00000000000000..c4c9bc8a1d245a --- /dev/null +++ b/pages.fr/common/airmon-ng.md @@ -0,0 +1,20 @@ +# airmon-ng + +> Active le mode surveillance sur les appareils sans fils. +> Plus d'informations : . + +- Liste les appareils sans fils et leurs statuts : + +`sudo airmon-ng` + +- Allume le mode surveillance sur un appareil spécifique : + +`sudo airmon-ng start {{wlan0}}` + +- Tue les processus nuisibles qui utilisent les appareils sans fils : + +`sudo airmon-ng check kill` + +- Éteint le mode surveillance pour une interface réseau spécifique : + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.fr/common/airpaste.md b/pages.fr/common/airpaste.md new file mode 100644 index 00000000000000..554ebfec592b91 --- /dev/null +++ b/pages.fr/common/airpaste.md @@ -0,0 +1,24 @@ +# airpaste + +> Partage des messages et des fichiers sur le même réseau en utilisant mDNS. +> Plus d'informations : . + +- Attend un message et l'affiche une fois reçu : + +`airpaste` + +- Envoie un message : + +`echo {{text}} | airpaste` + +- Envoie un fichier : + +`airpaste < {{chemin/vers/fichier}}` + +- Recevoir un fichier : + +`airpaste > {{chemin/vers/fichier}}` + +- Crée ou rejoins un canal : + +`airpaste {{nom_du_canal}}` diff --git a/pages.fr/common/airshare.md b/pages.fr/common/airshare.md new file mode 100644 index 00000000000000..713a031216a404 --- /dev/null +++ b/pages.fr/common/airshare.md @@ -0,0 +1,28 @@ +# airshare + +> Transférer des données entre deux machines dans un réseau local. +> Plus d'informations : . + +- Partager des fichiers ou des dossiers : + +`airshare {{code}} {{chemin/vers/fichier_ou_dossier1 chemin/vers/fichier_ou_dossier2 ...}}` + +- Recevoir un fichier : + +`airshare {{code}}` + +- Héberger un serveur de réception (utilisez ceci pour pouvoir télécharger des fichiers via l'interface web) : + +`airshare --upload {{code}}` + +- Envoyer des fichiers ou des dossiers a un serveur de reception : + +`airshare --upload {{code}} {{chemin/vers/fichier_ou_dossier1 chemin/vers/fichier_ou_dossier2 ...}}` + +- Envoyer les fichiers dont les chemins ont été copiés dans le presse-papiers : + +`airshare --file-path {{code}}` + +- Recevoir un fichier et le copier dans le presse-papier : + +`airshare --clip-receive {{code}}` diff --git a/pages.fr/common/ajson.md b/pages.fr/common/ajson.md new file mode 100644 index 00000000000000..f7a9cd9a665405 --- /dev/null +++ b/pages.fr/common/ajson.md @@ -0,0 +1,20 @@ +# ajson + +> Exécute un JSONPath sur un objet JSON. +> Plus d'informations : . + +- Lis un JSON depuis un fichier et exécute une expression JSONPath spécifique : + +`ajson '{{$..json[?(@.path)]}}' {{chemin/vers/fichier.json}}` + +- Lis un JSON depuis l'entrée standard et exécute une expression JSONPath spécifique : + +`cat {{chemin/vers/fichier.json}} | ajson '{{$..json[?(@.path)]}}'` + +- Lis un JSON depuis une URL et évalue une expression JSONPath spécifique : + +`ajson '{{avg($..price)}}' '{{https://exemple.com/api/}}'` + +- Lis un JSON simple et calcule une valeur : + +`echo '{{3}}' | ajson '{{2 * pi * $}}'` diff --git a/pages.fr/common/alacritty.md b/pages.fr/common/alacritty.md new file mode 100644 index 00000000000000..88d7cb6302f325 --- /dev/null +++ b/pages.fr/common/alacritty.md @@ -0,0 +1,24 @@ +# alacritty + +> Emulateur de terminal propulsé par GPU, Multi-plateforme. +> Plus d'informations : . + +- Ouvre une nouvelle fenêtre Alacritty : + +`alacritty` + +- Lance dans un dossier spécifique : + +`alacritty --working-directory {{chemin/vers/dossier}}` + +- Lance une commande dans une nouvelle fenêtre Alacritty : + +`alacritty -e {{commande}}` + +- Utilise un autre fichier de configuration (le fichier par défault étant `$XDG_CONFIG_HOME/alacritty/alacritty.toml`) : + +`alacritty --config-file {{chemin/vers/config.toml}}` + +- Lance avec la mise à jour en live dès que la configuration est modifiée ( peu également être activé par défaut dans `alacritty.toml`) : + +`alacritty --live-config-reload --config-file {{chemin/vers/config.toml}}` diff --git a/pages.fr/common/alex.md b/pages.fr/common/alex.md new file mode 100644 index 00000000000000..75d498b03eddff --- /dev/null +++ b/pages.fr/common/alex.md @@ -0,0 +1,21 @@ +# alex + +> Un outil qui corrige les phrases insensible et inconsidérée (en Anglais uniquement). +> Il vous aide à trouver un genre, une polarité, une ethnie, un blasphème, ou autre inégalité en lisant un texte en anglais. +> Plus d'informations : . + +- Analyse un texte depuis l'entrée standard : + +`echo {{His network looks good}} | alex --stdin` + +- Analyse tous les fichiers dans le dossier courant : + +`alex` + +- Analyse un fichier spécifique : + +`alex {{fichiertexte.md}}` + +- Analyse tous les fichiers Markdown sauf `exemple.md` : + +`alex *.md !{{exemple.md}}` diff --git a/pages.fr/common/alias.md b/pages.fr/common/alias.md new file mode 100644 index 00000000000000..ad6296d31ba1c8 --- /dev/null +++ b/pages.fr/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> Créé des alias -- mots qui sont remplacés par une commande textuelle. +> Les alias expirent avec la session courante shell, sauf s'il a été défini dans le fichier de configuration shell, par exemple `~/.bashrc`. +> Plus d'informations : . + +- Liste tous les alias : + +`alias` + +- Crée un alias générique : + +`alias {{mot}}="{{commande}}"` + +- Affiche la commande associée à un alias donné : + +`alias {{mot}}` + +- Enlève un alias : + +`unalias {{mot}}` + +- Transforme `rm` en une commande intéractive : + +`alias {{rm}}="{{rm -i}}"` + +- Crée `la` comme un raccourci de `ls -a` : + +`alias {{la}}="{{ls -a}}"` diff --git a/pages.fr/common/amass-enum.md b/pages.fr/common/amass-enum.md new file mode 100644 index 00000000000000..7669f5e3dba4cc --- /dev/null +++ b/pages.fr/common/amass-enum.md @@ -0,0 +1,24 @@ +# amass enum + +> Trouve les sous-domaines d'un domaine. +> Plus d'informations : . + +- Trouve les sous-domaines d'un domaine passivement : + +`amass enum -passive -d {{nom_de_domaine}}` + +- Trouve les sous-domaines d'un domaine et les verifie activement en essayant de résoudre les sous-domaines trouvés : + +`amass enum -active -d {{nom_de_domaine}} -p {{80,443,8080}}` + +- Fait recherche par force brute pour les sous-domaines : + +`amass enum -brute -d {{nom_de_domaine}}` + +- Sauvegarde les résultats vers un fichier texte : + +`amass enum -o {{fichier_de_sortie}} -d {{nom_de_domaine}}` + +- Sauvegarde les résultats dans une base de données : + +`amass enum -o {{fichier_de_sortie}} -dir {{chemin/vers/la_base_de_données}}` diff --git a/pages.fr/common/amass-intel.md b/pages.fr/common/amass-intel.md new file mode 100644 index 00000000000000..c53396e14d4ed2 --- /dev/null +++ b/pages.fr/common/amass-intel.md @@ -0,0 +1,28 @@ +# amass intel + +> Collecte des renseignements open source sur une organisation comme les noms de domaines racine et les ASNs. +> Plus d'informations : . + +- Recherche les domaines racines inclus dans une plage d'adresse IP : + +`amass intel -addr {{192.168.0.1-254}}` + +- Utilise les méthodes de reconnaissance active : + +`amass intel -active -addr {{192.168.0.1-254}}` + +- Recherche les noms de domaines racines reliés à un domaine : + +`amass intel -whois -d {{nom_de_domaine}}` + +- Recherche les ASNs qui correspondent à une organisation : + +`amass intel -org {{nom_de_l_organisation}}` + +- Recherche les domaines racines qui correspondent à un ASN : + +`amass intel -asn {{asn}}` + +- Sauvegarde les résultats dans un fichier texte : + +`amass intel -o {{fichier_de_sortie}} -whois -d {{nom_de_domaine}}` diff --git a/pages.fr/common/amass.md b/pages.fr/common/amass.md new file mode 100644 index 00000000000000..7116b891f14b16 --- /dev/null +++ b/pages.fr/common/amass.md @@ -0,0 +1,21 @@ +# amass + +> Outil de Cartographie des Attaques de Surface et découverte de ressource. +> Certaines commandes comme `amass intel` ont leur propre documentation. +> Plus d'informations : . + +- Exécute une sous-commande Amass : + +`amass {{intel|enum}} {{options}}` + +- Affiche l'aide général : + +`amass -help` + +- Affiche l'aide sur une sous-commande de Amass : + +`amass {{intel|enum}} -help` + +- Affiche la version : + +`amass -version` diff --git a/pages.fr/common/androguard.md b/pages.fr/common/androguard.md new file mode 100644 index 00000000000000..162fd25da1c068 --- /dev/null +++ b/pages.fr/common/androguard.md @@ -0,0 +1,16 @@ +# androguard + +> Outil d’ingénierie inverse pour les applications Android. Écrit en Python. +> Plus d'informations : . + +- Affiche le manifest d'application Android : + +`androguard axml {{chemin/vers/app.apk}}` + +- Affiche les métadonnées de l'application (version et ID d'application) : + +`androguard apkid {{chemin/vers/app.apk}}` + +- Décompile le code Java de l'application : + +`androguard decompile {{chemin/vers/app.apk}} --output {{chemin/vers/dossier}}` diff --git a/pages.fr/common/ani-cli.md b/pages.fr/common/ani-cli.md new file mode 100644 index 00000000000000..469d3041148fc3 --- /dev/null +++ b/pages.fr/common/ani-cli.md @@ -0,0 +1,28 @@ +# ani-cli + +> Une CLI pour chercher et regarder des animés. +> Plus d'informations : . + +- Cherche un anime par nom : + +`ani-cli "{{nom_de_l_animé}}"` + +- Télécharge l'épisode : + +`ani-cli -d "{{nom_de_l_animé}}"` + +- Utilise VLC comme lecteur de video : + +`ani-cli -v "{{nom_de_l_animé}}"` + +- Spécifie un épisode à regarder : + +`ani-cli -e {{numéro_de_l_épisode}} "{{nom_de_l_animé}}"` + +- Continue de regarder l'animé depuis l'historique : + +`ani-cli -c` + +- Met à jour `ani-cli` : + +`ani-cli -U` diff --git a/pages.fr/common/anki.md b/pages.fr/common/anki.md new file mode 100644 index 00000000000000..16f0a87f89c4aa --- /dev/null +++ b/pages.fr/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> Programme de cartes mémo-techniques, puissant et intelligent. +> Plus d'informations : . + +- Lancer `anki`: + +`anki` + +- Lancer `anki` avec un profil spécifique : + +`anki -p {{nom_de_profile}}` + +- Lancer `anki` dans une langue spécifique : + +`anki -l {{langue}}` + +- Lancer `anki` depuis un dossier spécifique au lieu de celui par défaut (`~/Anki`): + +`anki -b {{chemin/vers/dossier}}` diff --git a/pages.fr/common/ansible-doc.md b/pages.fr/common/ansible-doc.md new file mode 100644 index 00000000000000..538aaf5026a34c --- /dev/null +++ b/pages.fr/common/ansible-doc.md @@ -0,0 +1,29 @@ +# ansible-doc + +> Affiche les informations des modules installés dans les librairies Ansible. +> Affiche une liste concise des plugins et leurs description courte. +> Plus d'informations : . + +- Liste les plugins action (modules) disponibles : + +`ansible-doc {{[-l|--list]}}` + +- Liste les plugins disponible d'un certain type : + +`ansible-doc {{[-t|--type]}} {{type_de_plugin}} {{[-l|--list]}}` + +- Affiche les informations sur un plugin action (module) spécifique : + +`ansible-doc {{nom_du_plugin}}` + +- Affiche les informations sur un plugin avec un certain type : + +`ansible-doc {{[-t|--type]}} {{type_de_plugin}} {{nom_du_plugin}}` + +- Affiche le raccourci playbook d'un plugin action (module) : + +`ansible-doc {{[-s|--snippet]}} {{nom_du_plugin}}` + +- Affiche les informations sur un plugin action (module) en JSON : + +`ansible-doc {{[-j|--json]}} {{nom_du_plugin}}` diff --git a/pages.fr/common/ansible-galaxy.md b/pages.fr/common/ansible-galaxy.md new file mode 100644 index 00000000000000..ad7e69c4496c34 --- /dev/null +++ b/pages.fr/common/ansible-galaxy.md @@ -0,0 +1,32 @@ +# ansible-galaxy + +> Crée et gère les rôles Ansible. +> Plus d'informations : . + +- Installe un rôle : + +`ansible-galaxy install {{nom_d_utilisateur}}.{{nom_du_rôle}}` + +- Enlève un rôle : + +`ansible-galaxy remove {{nom_d_utilisateur}}.{{nom_du_rôle}}` + +- Liste les rôles installés : + +`ansible-galaxy list` + +- Recherche pour un role donné : + +`ansible-galaxy search {{nom_du_rôle}}` + +- Crée un nouveau rôle : + +`ansible-galaxy init {{nom_du_rôle}}` + +- Récupère les informations sur le rôle d'un utilisateur : + +`ansible-galaxy role info {{nom_d_utilisateur}}.{{nom_du_rôle}}` + +- Récupère les informations d'une collection : + +`ansible-galaxy collection info {{nom_d_utilisateur}}.{{nom_de_la_collection}}` diff --git a/pages.fr/common/ansible-inventory.md b/pages.fr/common/ansible-inventory.md new file mode 100644 index 00000000000000..db3168c113a9ce --- /dev/null +++ b/pages.fr/common/ansible-inventory.md @@ -0,0 +1,21 @@ +# ansible-inventory + +> Display or dump an Ansible inventory. +> Voir aussi : `ansible`. +> Plus d'informations : . + +- Affiche l'inventaire par défaut : + +`ansible-inventory --list` + +- Affiche un inventaire spécifique : + +`ansible-inventory --list {{[-i|--inventory-file]}} {{chemin/vers/fichier_ou_script_ou_dossier}}` + +- Affiche l'inventaire par défaut en YAML : + +`ansible-inventory --list {{[-y|--yaml]}}` + +- Sauvegarde l'inventaire par défaut dans un fichier : + +`ansible-inventory --list --output {{chemin/vers/fichier}}` diff --git a/pages.fr/common/ansible-playbook.md b/pages.fr/common/ansible-playbook.md new file mode 100644 index 00000000000000..7d813a47650908 --- /dev/null +++ b/pages.fr/common/ansible-playbook.md @@ -0,0 +1,28 @@ +# ansible-playbook + +> Exécute les tâches définies dans le playbook sur les machines distantes via SSH. +> Plus d'informations : . + +- Exécute les tâches d'un playbook : + +`ansible-playbook {{playbook}}` + +- Exécute les tâches d'un playbook avec fichier d'inventaire spécifié : + +`ansible-playbook {{playbook}} {{[-i|--inventory]}} {{fichier_d_inventaire}}` + +- Exécute les tâches d'un playbook avec des variables supplémentaires définies via la ligne de commande : + +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "{{variable1}}={{valeur1}} {{variable2}}={{valeur2}}"` + +- Exécute les tâches d'un playbook avec des variables supplémentaires définies dans un fichier JSON : + +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "@{{variables.json}}"` + +- Exécute les tâches d'un playbook pour certain tags : + +`ansible-playbook {{playbook}} {{[-t|--tags|]}} {{tag1,tag2}}` + +- Exécute les tâches d'un playbook en démarrant depuis une certaine tache : + +`ansible-playbook {{playbook}} --start-at {{nom_de_la_tache}}` diff --git a/pages.fr/common/ansible-pull.md b/pages.fr/common/ansible-pull.md new file mode 100644 index 00000000000000..10d62737fe916d --- /dev/null +++ b/pages.fr/common/ansible-pull.md @@ -0,0 +1,20 @@ +# ansible-pull + +> Récupère les playbook ansible depuis un dépôt VCS et exécute les en local. +> Plus d'informations : . + +- Récupère le playbook depuis un VCS et exécute le fichier par défaut local.yaml du playbook : + +`ansible-pull {{[-U|--url]}} {{url_du_dépôt}}` + +- Récupère le playbook depuis un VCS et exécute un playbook spécifique : + +`ansible-pull {{[-U|--url]}} {{url_du_dépôt}} {{playbook}}` + +- Récupère un playbook depuis un VCS sur une branche spécifique et exécute ce dernier : + +`ansible-pull {{[-U|--url]}} {{url_du_dépôt}} {{[-C|--checkout]}} {{branche}} {{playbook}}` + +- Récupère un playbook depuis un VCS, spécifie les fichiers hôtes et exécute un playbook spécifique : + +`ansible-pull {{[-U|--url]}} {{url_du_dépôt}} {{[-i|--inventory]}} {{fichier_hôtes}} {{playbook}}` diff --git a/pages.fr/common/ansible-vault.md b/pages.fr/common/ansible-vault.md new file mode 100644 index 00000000000000..dc15f752d8fd01 --- /dev/null +++ b/pages.fr/common/ansible-vault.md @@ -0,0 +1,28 @@ +# ansible-vault + +> Chiffre & déchiffre des valeurs, des structures de données et des fichiers dans un projet Ansible. +> Plus d'informations : . + +- Crée un nouveau fichier vault chiffré avec une invite à rentrer un mot passe : + +`ansible-vault create {{fichier_vault}}` + +- Crée un nouveau fichier vault chiffré avec un fichier clé vault pour le chiffrer : + +`ansible-vault create --vault-password-file {{fichier_de_mot_de_passe}} {{fichier_vault}}` + +- Chiffre un ficher existant avec un fichier de mot de passe optionnel : + +`ansible-vault encrypt --vault-password-file {{fichier_de_mot_de_passe}} {{fichier_vault}}` + +- Chiffre un texte avec le format de chiffrage pour textes d'Ansible, en affichant une invite interactif : + +`ansible-vault encrypt_string` + +- Affiche un fichier chiffré, en utilisant un fichier de mot de passe pour le déchiffrer : + +`ansible-vault view --vault-password-file {{fichier_de_mot_de_passe}} {{fichier_vault}}` + +- Remplace le fichier de mot de passe d'un fichier vault déjà chiffré par un autre : + +`ansible-vault rekey --vault-password-file {{ancien_fichier_de_mot_de_passe}} --new-vault-password-file {{nouveau_fichier_de_mot_de_passe}} {{fichier_vault}}` diff --git a/pages.fr/common/ansible.md b/pages.fr/common/ansible.md new file mode 100644 index 00000000000000..8492d8f0a4d57a --- /dev/null +++ b/pages.fr/common/ansible.md @@ -0,0 +1,33 @@ +# ansible + +> Gestionnaire de groupes d'ordinateurs à distance depuis SSH. (Utiliser le fichier `/etc/ansible/hosts` pour ajouter de nouveaux groupes/hôtes). +> Certaines commandes comme `ansible galaxy` ont leur propre documentation. +> Plus d'informations : . + +- Lister les hôtes appartenant à un groupe : + +`ansible {{groupe}} --list-hosts` + +- Ping d'un groupe d'hôtes en invoquant le [m]odule "ping" : + +`ansible {{groupe}} {{[-m|--module-name]}} ping` + +- Afficher des informations sur un groupe d'hôtes en invoquant le [m]odule "setup" : + +`ansible {{groupe}} {{[-m|--module-name]}} setup` + +- Exécuter une commande sur un groupe d'hôtes en invoquant le [m]odule "command" avec en paramètre (a) cette commande : + +`ansible {{groupe}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{ma_commande}}'` + +- Exécuter une commande avec des droits administrateur : + +`ansible {{groupe}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{ma_commande}}'` + +- Exécuter une commande en utilisant un fichier d'inventaire personnalisé : + +`ansible {{groupe}} {{[-i|--inventory]}} {{fichier_d'inventaire}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{ma_commande}}'` + +- Lister les groupes d'un inventaire : + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.fr/common/ansiweather.md b/pages.fr/common/ansiweather.md new file mode 100644 index 00000000000000..5a6efebbb0189f --- /dev/null +++ b/pages.fr/common/ansiweather.md @@ -0,0 +1,16 @@ +# ansiweather + +> Un script Shell pour afficher les conditions météo actuelles dans votre terminal. +> Plus d'informations : . + +- Affiche une prévision avec le système métrique pour les 7 prochains jours dans la ville de Paris, France : + +`ansiweather -u metric -f 7 -l {{Paris,FR}}` + +- Affiche une prévision avec des symboles et les données d'ensoleillement pour votre position actuelle : + +`ansiweather -F -s true -d true` + +- Affiche une prévision avec les données sur le vent et l'humidité pour votre position actuelle : + +`ansiweather -w true -h true` diff --git a/pages.fr/common/ant.md b/pages.fr/common/ant.md new file mode 100644 index 00000000000000..31e0b9fc26c690 --- /dev/null +++ b/pages.fr/common/ant.md @@ -0,0 +1,25 @@ +# ant + +> Apache Ant. +> Outil pour construire et gérer les projets basés sur du Java. +> Plus d'informations : . + +- Construit un projet avec le fichier de construction `build.xml` : + +`ant` + +- Construit un projet en utilisant un autre fichier que `build.xml` : + +`ant -f {{fichier_de_construction.xml}}` + +- Affiche les informations sur les cibles possibles pour ce projet : + +`ant -p` + +- Affiche les informations de débogage : + +`ant -d` + +- Exécute toutes les cibles qui ne dépendent pas d'une ou plusieurs cibles en erreur : + +`ant -k` diff --git a/pages.fr/common/antibody.md b/pages.fr/common/antibody.md new file mode 100644 index 00000000000000..793d2efac5798a --- /dev/null +++ b/pages.fr/common/antibody.md @@ -0,0 +1,16 @@ +# antibody + +> Le gestionnaire de modules shell "le plus rapide". +> Plus d'informations : . + +- Regroupe tous les modules pour un chargement statique : + +`antibody bundle < {{~/.zsh_modules.txt}} > {{~/.zsh_modules.sh}}` + +- Mets à jour tous les modules : + +`antibody update` + +- Liste tous les modules installés : + +`antibody list` diff --git a/pages.fr/common/anytopnm.md b/pages.fr/common/anytopnm.md new file mode 100644 index 00000000000000..39305eb0ff8f3d --- /dev/null +++ b/pages.fr/common/anytopnm.md @@ -0,0 +1,12 @@ +# anytopnm + +> Convertis n'importe quel type de fichier image vers un format d'image commun. +> Plus d'informations : . + +- Convertis une image d'entrée au format PBM, PGM ou PPM, peut importe le type d'entrée : + +`anytopnm {{chemin/vers/entrée}} > {{chemin/vers/sortie.pnm}}` + +- Afficher la version : + +`anytopnm -version` diff --git a/pages.fr/common/apg.md b/pages.fr/common/apg.md new file mode 100644 index 00000000000000..7d25a9f10cf839 --- /dev/null +++ b/pages.fr/common/apg.md @@ -0,0 +1,24 @@ +# apg + +> Crée arbitrairement les mots de passe aléatoires et complexes. +> Plus d'informations : . + +- Crée des mots de passe aléatoires (la longueur par défaut est 8) : + +`apg` + +- Crée un mot de passe avec au moins 1 symbole (S), 1 Nombre (N), 1 Majuscule (C), 1 Minuscule (L) : + +`apg -M SNCL` + +- Crée un mot de passe avec 16 caractères : + +`apg -m {{16}}` + +- Crée un mot de passe avec une longeur maximum de 16 : + +`apg -x {{16}}` + +- Crée un mot de passe qui n'apparaît pas dans le dictionnaire (le fichier de dictionnaire doit être donné) : + +`apg -r {{chemin/vers/fichier_dictionnaire}}` diff --git a/pages.fr/common/apktool.md b/pages.fr/common/apktool.md new file mode 100644 index 00000000000000..201f8204d1d411 --- /dev/null +++ b/pages.fr/common/apktool.md @@ -0,0 +1,16 @@ +# apktool + +> Outil de Rétro-ingénierie pour les fichier APK. +> Plus d'informations : . + +- Décode un fichier APK : + +`apktool d {{fichier.apk}}` + +- Construit un fichier APK depuis un dossier : + +`apktool b {{chemin/vers/un/dossier}}` + +- Installe et enregistre le framework : + +`apktool if {{framework.apk}}` diff --git a/pages.fr/common/apm.md b/pages.fr/common/apm.md new file mode 100644 index 00000000000000..ea3800bee791fb --- /dev/null +++ b/pages.fr/common/apm.md @@ -0,0 +1,17 @@ +# apm + +> Gestionnaire de paquets pour Atom. +> Voir `atom`. +> Plus d'informations : . + +- Installe un paquet depuis ou un thème depuis : + +`apm install {{nom_du_paquet}}` + +- Supprime un paquet ou un thème : + +`apm remove {{nom_du_paquet}}` + +- Mets à jour un paquet ou un thème : + +`apm upgrade {{nom_du_paquet}}` diff --git a/pages.fr/common/apropos.md b/pages.fr/common/apropos.md index fe4f1130f8c545..abf8f3255118bf 100644 --- a/pages.fr/common/apropos.md +++ b/pages.fr/common/apropos.md @@ -1,15 +1,16 @@ # apropos > Recherche dans les pages de manuel, par exemple pour trouver une nouvelle commande. +> Plus d'informations : . -- Recherche par mot clé : +- Recherche par mot clé : `apropos {{expression_reguliere}}` -- Recherche sans limiter la sortie à la largeur du terminal : +- Recherche sans limiter la sortie à la largeur du terminal : `apropos -l {{expression_reguliere}}` -- Recherche les pages qui contiennent toutes les expressions données (fonction ET) +- Recherche les pages qui contiennent toutes les expressions données (fonction ET) : `apropos {{expression_reguliere_1}} -a {{expression_reguliere_2}} -a {{expression_reguliere_3}}` diff --git a/pages.fr/common/ar.md b/pages.fr/common/ar.md new file mode 100644 index 00000000000000..f5b4260bfcd2bd --- /dev/null +++ b/pages.fr/common/ar.md @@ -0,0 +1,24 @@ +# ar + +> Crée, modifie et extrais depuis des archives (`.a`, `.so`, `.o`). +> Plus d'informations : . + +- E[x]trais tous les éléments depuis une archive : + +`ar x {{chemin/vers/archive.a}}` + +- Lis[t]e tous les éléments depuis une archive : + +`ar t {{chemin/vers/archive.ar}}` + +- [r]emplace ou ajoute des fichiers à une archive : + +`ar r {{chemin/vers/archive.deb}} {{chemin/vers/debian-binary chemin/vers/control.tar.gz chemin/vers/data.tar.xz ...}}` + +- In[s]ère un fichier d'indexation (équivalent à `ranlib`) : + +`ar s {{chemin/vers/archive.a}}` + +- Crée une archive avec des fichiers et un fichier d'indexation qui l'accompagne : + +`ar rs {{chemin/vers/archive.a}} {{chemin/vers/fichier1.o chemin/vers/fichier2.o ...}}` diff --git a/pages.fr/common/arc.md b/pages.fr/common/arc.md new file mode 100644 index 00000000000000..8a2d8263511644 --- /dev/null +++ b/pages.fr/common/arc.md @@ -0,0 +1,20 @@ +# arc + +> Arcanist: Une CLI pour Phabricator. +> Plus d'informations : . + +- Envoie les changements à un différentiel pour relecture : + +`arc diff` + +- Affiche les informations de la révision en suspens : + +`arc list` + +- Mets à jour les messages de commit Git après relecture : + +`arc amend` + +- Pousse les changements Git : + +`arc land` diff --git a/pages.fr/common/arch.md b/pages.fr/common/arch.md new file mode 100644 index 00000000000000..a04ae3fbbbbbab --- /dev/null +++ b/pages.fr/common/arch.md @@ -0,0 +1,9 @@ +# arch + +> Affiche le nom de l'architecture système. +> Voir aussi `uname`. +> Plus d'informations : . + +- Affiche l'architecture système : + +`arch` diff --git a/pages.fr/common/arduino-builder.md b/pages.fr/common/arduino-builder.md new file mode 100644 index 00000000000000..1a7532259ed996 --- /dev/null +++ b/pages.fr/common/arduino-builder.md @@ -0,0 +1,25 @@ +# arduino-builder + +> Un outil en ligne de commande pour compiler des croquis arduino. +> AVERTISSEMENT DE DÉPRÉCIATION: Cet outil a été retiré au profit de `arduino`. +> Plus d'informations : . + +- Construis un croquis : + +`arduino-builder -compile {{chemin/vers/croquis.ino}}` + +- Spécifie the niveau de débogage (1 à 10, 5 par défaut) : + +`arduino-builder -debug-level {{niveau}}` + +- Spécifie un dossier de construction : + +`arduino-builder -build-path {{chemin/vers/dossier/de/construction}}` + +- Utilise un fichier d'option de construction, au lieu de spécifier `-hardware`, `-tools`, etc. Manuellement à chaque fois : + +`arduino-builder -build-options-file {{chemin/vers/construction.options.json}}` + +- Active le mode verbeux : + +`arduino-builder -verbose {{true}}` diff --git a/pages.fr/common/arduino.md b/pages.fr/common/arduino.md new file mode 100644 index 00000000000000..ae31281d3ba66d --- /dev/null +++ b/pages.fr/common/arduino.md @@ -0,0 +1,28 @@ +# arduino + +> Arduino Studio - Environnement de Développement Intégré pour la plateforme Arduino. +> Plus d'informations : . + +- Construis un croquis : + +`arduino --verify {{chemin/vers/croquis.ino}}` + +- Construis et téléverse un croquis : + +`arduino --upload {{chemin/vers/croquis.ino}}` + +- Construis et téléverse un croquis vers un Arduino Nano avec un CPU Atmega328p, connecté sur le port `/dev/ttyACM0` : + +`arduino --board {{arduino:avr:nano:cpu=atmega328p}} --port {{/dev/ttyACM0}} --upload {{chemin/vers/croquis.ino}}` + +- Configure la préférence `nom` à une valeur `valeur` : + +`arduino --pref {{nom}}={{valeur}}` + +- Construis un croquis, mets le résultat de ce dernier dans un dossier, et réutilise n'importe quelles versions précédentes dans ce dossier : + +`arduino --pref build.path={{chemin/vers/dossier/de/construction}} --verify {{chemin/vers/croquis.ino}}` + +- Sauvegarde toutes préférences (modifiées) dans un fichier `preferences.txt` : + +`arduino --save-prefs` diff --git a/pages.fr/common/argocd.md b/pages.fr/common/argocd.md new file mode 100644 index 00000000000000..1df2273ea309a7 --- /dev/null +++ b/pages.fr/common/argocd.md @@ -0,0 +1,13 @@ +# argocd + +> Interface en ligne de commande pour controler un serveur Argo CD. +> Certaines sous-commandes comme `app` ont leur propre documentation d'utilisation. +> Plus d'informations : . + +- Se connecter à un serveur Argo CD : + +`argocd login --insecure --username {{utilisateur}} --password {{mot_de_passe}} {{serveur_argocd:port}}` + +- Liste des applications : + +`argocd app list` diff --git a/pages.fr/common/argon2.md b/pages.fr/common/argon2.md new file mode 100644 index 00000000000000..3c7fe09018c868 --- /dev/null +++ b/pages.fr/common/argon2.md @@ -0,0 +1,20 @@ +# argon2 + +> Calcule les hachés cryptographiques d'Argon2. +> Plus d'informations : . + +- Calcule un haché avec un mot de passe et un sel avec les paramètres par défaut : + +`echo "{{mot_de_passe}}" | argon2 "{{sel}}"` + +- Calcule un haché avec l'algorithme spécifié : + +`echo "{{mot_de_passe}}" | argon2 "{{sel}}" -{{d|i|id}}` + +- Affiche le haché de sortie sans informations supplémentaires : + +`echo "{{mot_de_passe}}" | argon2 "{{sel}}" -e` + +- Calcule un haché avec des [t]emps d'itération, l'utilisation de la [m]émoire et des paramètres de [p]arallélisme donnés : + +`echo "{{mot_de_passe}}" | argon2 "{{sel}}" -t {{5}} -m {{20}} -p {{7}}` diff --git a/pages.fr/common/aria2.md b/pages.fr/common/aria2.md new file mode 100644 index 00000000000000..8284438cf04ecf --- /dev/null +++ b/pages.fr/common/aria2.md @@ -0,0 +1,7 @@ +# aria2 + +> Cette commande est un alias de `aria2c`. + +- Voir la documentation pour la commande : + +`tldr aria2c` diff --git a/pages.fr/common/aria2c.md b/pages.fr/common/aria2c.md new file mode 100644 index 00000000000000..b5782dc2ce1af2 --- /dev/null +++ b/pages.fr/common/aria2c.md @@ -0,0 +1,37 @@ +# aria2c + +> Utilitaire de téléchargement. +> Supporte HTTP(S), FTP, SFTP, BitTorrent, et Metalink. +> Plus d'informations : . + +- Télécharge depuis une URI vers un fichier : + +`aria2c "{{url}}"` + +- Télécharge un fichier via l'url spécifié en choisissant le nom de ce dernier : + +`aria2c --out {{nom_de_fichier}} "{{url}}"` + +- Télécharge plusieurs fichiers (différents) en parallèle : + +`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"` + +- Télécharge depuis plusieurs sources avec chaque URI pointant vers le même fichier : + +`aria2c "{{url1 url2 ...}}"` + +- Télécharge les URIs listées dans un fichier avec un nombre limité de téléchargements en parallèle : + +`aria2c --input-file={{nom_de_fichier}} --max-concurrent-downloads={{nombre_de_téléchargements}}` + +- Télécharge avec plusieurs connections : + +`aria2c --split {{nombre_de_connections}} "{{url}}"` + +- Téléchargement FTP avec nom d'utilisateur et mot de passe : + +`aria2c --ftp-user={{nom_d_utilisateur}} --ftp-passwd={{mot_de_passe}} "{{url}}"` + +- Limite la vitesse de téléchargement en octets/s : + +`aria2c --max-download-limit={{vitesse}} "{{url}}"` diff --git a/pages.fr/common/arp-scan.md b/pages.fr/common/arp-scan.md new file mode 100644 index 00000000000000..0d8e503d46042b --- /dev/null +++ b/pages.fr/common/arp-scan.md @@ -0,0 +1,20 @@ +# arp-scan + +> Envoie des paquets ARP à des hôtes (spécifié via des adresses IP ou des noms de domaines) pour scanner le réseau local. +> Plus d'informations : . + +- Scanne le réseau local actuel : + +`arp-scan {{[-l|--localnet]}}` + +- Scanne un réseau IP pour un masque de bits donné : + +`arp-scan {{192.168.1.1}}/{{24}}` + +- Scanne un réseau IP dans une plage IP : + +`arp-scan {{127.0.0.0}}-{{127.0.0.31}}` + +- Scanne un réseau IP pour un masque de sous-réseaux donné : + +`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages.fr/common/arp.md b/pages.fr/common/arp.md new file mode 100644 index 00000000000000..1699a56dd9d107 --- /dev/null +++ b/pages.fr/common/arp.md @@ -0,0 +1,16 @@ +# arp + +> Affiche et manipule votre cache système ARP. +> Plus d'informations : . + +- Affiche la table ARP courante : + +`arp -a` + +- Supprime une entrée spécifique : + +`arp -d {{adresse}}` + +- Crée une entré dans la table ARP : + +`arp -s {{adresse}} {{adresse_mac}}` diff --git a/pages.fr/common/arping.md b/pages.fr/common/arping.md new file mode 100644 index 00000000000000..25f2958d6b879a --- /dev/null +++ b/pages.fr/common/arping.md @@ -0,0 +1,29 @@ +# arping + +> Découvre et sonde des hôtes dans un réseau en utilisant le protocol ARP. +> Très utile pour la découverte d'adresse MAC. +> Plus d'informations : . + +- Ping un hôte par paquets de requête ARP : + +`arping {{ip_hôte}}` + +- Ping un hôte sur une interface spécifique : + +`arping -I {{interface}} {{ip_hôte}}` + +- Ping un hôte et arrête à la première réponse : + +`arping -f {{ip_hôte}}` + +- Ping un hôte un certain nombre de fois : + +`arping -c {{nombre_d_appel}} {{ip_hôte}}` + +- Diffuse les paquets de requête ARP pour mettre à jour les caches ARP voisin : + +`arping -U {{ip_à_diffuser}}` + +- Détecte les adresses IP dupliquées dans le réseau en envoyant les requêtes ARP avec une expiration de 3 secondes : + +`arping -D -w {{3}} {{ip_à_vérifier}}` diff --git a/pages.fr/common/asar.md b/pages.fr/common/asar.md new file mode 100644 index 00000000000000..de57fdf00dcead --- /dev/null +++ b/pages.fr/common/asar.md @@ -0,0 +1,20 @@ +# asar + +> Un outil d'archivage pour la plateforme Electron. +> Plus d'informations : . + +- Archive un fichier ou un dossier : + +`asar pack {{chemin/vers/fichier_ou_dossier}} {{archive.asar}}` + +- Extrais une archive : + +`asar extract {{archive.asar}}` + +- Extrais un fichier spécifique d'une archive : + +`asar extract-file {{archive.asar}} {{fichier}}` + +- Liste les éléments contenus dans une archive : + +`asar list {{archive.asar}}` diff --git a/pages.fr/common/asciidoctor.md b/pages.fr/common/asciidoctor.md new file mode 100644 index 00000000000000..fd2c763da2e62c --- /dev/null +++ b/pages.fr/common/asciidoctor.md @@ -0,0 +1,20 @@ +# asciidoctor + +> Un processeur qui convertit des fichiers AsciiDoc vers un format publiable. +> Plus d'informations : . + +- Convertis un fichier `.adoc` vers un fichier HTML (le format de sortie par défaut) : + +`asciidoctor {{chemin/vers/fichier.adoc}}` + +- Convertis un fichier `.adoc` vers un fichier HTML et lie une feuille de style CSS : + +`asciidoctor -a stylesheet {{chemin/vers/feuille_de_style.css}} {{chemin/vers/fichier.adoc}}` + +- Convertis un fichier `.adoc` vers un fichier HTML embarqué, en enlevant tout sauf le body : + +`asciidoctor --embedded {{chemin/vers/fichier.adoc}}` + +- Convertis un fichier `.adoc` vers un PDF en utilisant la librairie `asciidoctor-pdf` : + +`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{chemin/vers/fichier.adoc}}` diff --git a/pages.fr/common/asciinema.md b/pages.fr/common/asciinema.md new file mode 100644 index 00000000000000..b1518dd40c3b47 --- /dev/null +++ b/pages.fr/common/asciinema.md @@ -0,0 +1,36 @@ +# asciinema + +> Enregistre et rejoue les sessions de terminal, et également partageable sur asciinema.org. +> Plus d'informations : . + +- Associe l’installation locale de `asciinema` avec un compte asciinema.org : + +`asciinema auth` + +- Crée un nouvel enregistrement (une fois fini, l'utilisateur sera questionné pour l'enregistrer localement ou l'envoyer en ligne) : + +`asciinema rec` + +- Crée un nouvel enregistrement et l'enregistre dans un fichier local : + +`asciinema rec {{chemin/vers/enregistrement.cast}}` + +- Rejoue un enregistrement depuis un fichier local : + +`asciinema play {{chemin/vers/enregistrement.cast}}` + +- Rejoue un enregistrement depuis asciinema.org : + +`asciinema play https://asciinema.org/a/{{id_d_enregistrement}}` + +- Crée un nouvel enregistrement, en limitant le temps d’inactivité au maximum à 2.5 secondes : + +`asciinema rec {{[-i|--idle-time-limit]}} 2.5` + +- Affiche la sortie complète d'un enregistrement local : + +`asciinema cat {{chemin/vers/enregistrement.cast}}` + +- Envoie un enregistrement local vers asciinema.org : + +`asciinema upload {{chemin/vers/enregistrement.cast}}` diff --git a/pages.fr/common/asdf.md b/pages.fr/common/asdf.md new file mode 100644 index 00000000000000..69f60e1ef40faa --- /dev/null +++ b/pages.fr/common/asdf.md @@ -0,0 +1,28 @@ +# asdf + +> Interface en ligne de commande pour gérer les versions de différents paquets. +> Plus d'informations : . + +- Liste toutes les extensions disponibles : + +`asdf plugin list all` + +- Installe une extension : + +`asdf plugin add {{nom}}` + +- Liste toutes les versions disponible d'un paquet : + +`asdf list all {{nom}}` + +- Installe une version spécifique d'un paquet : + +`asdf install {{nom}} {{version}}` + +- Fixe au global une version d'un paquet : + +`asdf set -u {{nom}} {{version}}` + +- Fix en local la version d'un paquet : + +`asdf set {{nom}} {{version}}` diff --git a/pages.fr/common/assimp.md b/pages.fr/common/assimp.md new file mode 100644 index 00000000000000..0c59ceeb6fef5b --- /dev/null +++ b/pages.fr/common/assimp.md @@ -0,0 +1,33 @@ +# assimp + +> Client en ligne de commande pour l'Open Asset Import Library. +> Supporte le chargement de plus de 40 formats de fichiers 3D, et exporte vers quelques formats 3D populaire. +> Plus d'informations : . + +- Liste tous les formats d'import supportés : + +`assimp listext` + +- Liste tous les formats de sortie supportés : + +`assimp listexport` + +- Convertis un fichier vers un format de sortie supporté, avec les paramètres par défaut : + +`assimp export {{fichier_d_entrée.stl}} {{fichier_de_sortie.obj}}` + +- Convertis un fichier avec des paramètres personnalisés (le fichier dox_cmd.h dans le code source de assimp liste tous les paramètres disponible) : + +`assimp export {{fichier_d_entrée.stl}} {{fichier_de_sortie.obj}} {{paramètres}}` + +- Affiche un sommaire du contenu d'un fichier 3D : + +`assimp info {{chemin/vers/fichier}}` + +- Liste toutes les sous-commandes supportées ("mots") : + +`assimp help` + +- Affiche l'aide d'un sous-commande (e.g les paramètres qui lui sont spécifique) : + +`assimp {{sous_commande}} --help` diff --git a/pages.fr/common/astronomer.md b/pages.fr/common/astronomer.md new file mode 100644 index 00000000000000..5784c4b314cd10 --- /dev/null +++ b/pages.fr/common/astronomer.md @@ -0,0 +1,16 @@ +# astronomer + +> Outil qui détecte les étoiles non-légitimes d'un robot sur les projets GitHub. +> Plus d'informations : . + +- Analyse un dépôt : + +`astronomer {{tldr-pages/tldr-node-client}}` + +- Analyse le nombre maximum d'étoiles sur un dépôt : + +`astronomer {{tldr-pages/tldr-node-client}} --stars {{50}}` + +- Analyse un dépôt en affichant les rapports comparatifs : + +`astronomer {{tldr-pages/tldr-node-client}} --verbose` diff --git a/pages.fr/common/astyle.md b/pages.fr/common/astyle.md new file mode 100644 index 00000000000000..6ceece08579a2f --- /dev/null +++ b/pages.fr/common/astyle.md @@ -0,0 +1,25 @@ +# astyle + +> Indente, formate, et embelli du code source pour des languages de programmation comme C, C++, C# et Java. +> Pendant l'exécution, une copie du fichier original est créé avec un ".orig" suffixé au nom de fichier original. +> Plus d'informations : . + +- Applique le style par défaut de 4 espaces pour l'indentation et pas de changement de formatage : + +`astyle {{fichier_source}}` + +- Applique le style Java avec le style `attached` : + +`astyle --style=java {{chemin/vers/fichier}}` + +- Applique le style `allman` : + +`astyle --style=allman {{chemin/vers/fichier}}` + +- Applique une indentation personnalisé avec des espaces. Choisi entre 2 et 20 espaces : + +`astyle --indent=spaces={{nombre_d_espaces}} {{chemin/vers/fichier}}` + +- Applique une indentation personnalisé avec des tabulations. Choisi entre 2 et 20 tabulations : + +`astyle --indent=tab={{nombre_de_tabulations}} {{chemin/vers/fichier}}` diff --git a/pages.fr/common/at.md b/pages.fr/common/at.md new file mode 100644 index 00000000000000..15229f81f321be --- /dev/null +++ b/pages.fr/common/at.md @@ -0,0 +1,25 @@ +# at + +> Planifie l'exécution d'une commande une fois à un moment donné. +> Le service atd (ou atrun) doit être actif pour l'exécution des commandes planifiées. +> Plus d'informations : . + +- Démarre `atd` comme un service (en tâche de fond) : + +`systemctl start atd` + +- Planifie l'exécution de la commande donnée dans l'entrée standard dans 5 minutes (Appuyer sur `` une fois la commande inscrite) : + +`at now + 5 minutes` + +- Crée des commandes de manière interactive et les exécute à un moment précis : + +`at {{hh:mm}}` + +- Planifie l'exécution d'une commande depuis l'entrée standard (impression echo redirigée dans un tube) aujourd'hui à 10h00 : + +`echo "{{commande}}" | at 1000` + +- Planifie l'exécution des commandes inclues dans un [f]ichier pour mardi prochain 21h30 : + +`at -f {{chemin/vers/fichier}} 9:30 PM Tue` diff --git a/pages.fr/common/atom.md b/pages.fr/common/atom.md index 4355b001a9d2d1..2d0291b5db106f 100644 --- a/pages.fr/common/atom.md +++ b/pages.fr/common/atom.md @@ -16,10 +16,14 @@ `atom --add {{chemin/vers/fichier_ou_dossier}}` -- Ouvrir atom en mode sans-échec (les extensions ne seront pas chargées) : +- Ouvrir en mode sans-échec (les extensions ne seront pas chargées) : `atom --safe` -- Empêcher atom de se lancer en arrière-plan, en le forçant à s'attacher au terminal : +- Empêcher Atom de se lancer en arrière-plan, en le forçant à s'attacher au terminal : `atom --foreground` + +- Attendre la fermeture de la fenêtre avant de quitter (utile pour l'éditeur de commits Git) : + +`atom --wait` diff --git a/pages.fr/common/atoum.md b/pages.fr/common/atoum.md new file mode 100644 index 00000000000000..d239edd782c61f --- /dev/null +++ b/pages.fr/common/atoum.md @@ -0,0 +1,36 @@ +# atoum + +> Un framework de test unitaire pour PHP simple, moderne et intuitif. +> Plus d'informations : . + +- Initialise un fichier de configuration : + +`atoum --init` + +- Lance les tests : + +`atoum` + +- Lance les tests avec un fichier de configuration donné : + +`atoum {{[-c|--configuration]}} {{chemin/vers/fichier}}` + +- Lance un fichier de test spécifique : + +`atoum {{[-f|--files]}} {{chemin/vers/fichier}}` + +- Lance les tests présent dans dossier donné : + +`atoum {{[-d|--directories]}} {{chemin/vers/dossier}}` + +- Lance tous les tests sous un certain namespace : + +`atoum {{[-ns|--namespaces]}} {{namespace}}` + +- Lance tous les tests avec un certain tag : + +`atoum {{[-t|--tags]}} {{tag}}` + +- Charge un fichier d'amorce avant de lancer les tests : + +`atoum {{[-bf|--bootstrap-file]}} {{chemin/vers/fichier}}` diff --git a/pages.fr/common/atq.md b/pages.fr/common/atq.md new file mode 100644 index 00000000000000..8edba416017a7c --- /dev/null +++ b/pages.fr/common/atq.md @@ -0,0 +1,16 @@ +# atq + +> Affiche les travaux programmés par la commande `at` ou `batch`. +> Plus d'informations : . + +- Affiche les travaux programmés de l'utilisateur courant : + +`atq` + +- Affiche les travaux de la file nommé 'a' (les files ont des noms avec une seule lettre) : + +`atq -q {{a}}` + +- Affiche les travaux de tous les utilisateurs (lancé en tant que super-utilisateur) : + +`sudo atq` diff --git a/pages.fr/common/atrm.md b/pages.fr/common/atrm.md new file mode 100644 index 00000000000000..0009e1d5d5f7c6 --- /dev/null +++ b/pages.fr/common/atrm.md @@ -0,0 +1,13 @@ +# atrm + +> Supprime les travaux programmés par la commande `at` ou `batch`. +> Pour retrouver les numéros des travaux, utilise `atq`. +> Plus d'informations : . + +- Supprime le travail numéro 10 : + +`atrm {{10}}` + +- Supprime plusieurs travaux, séparés par un espace : + +`atrm {{15}} {{17}} {{22}}` diff --git a/pages.fr/common/atuin.md b/pages.fr/common/atuin.md new file mode 100644 index 00000000000000..b3bacf98b83512 --- /dev/null +++ b/pages.fr/common/atuin.md @@ -0,0 +1,29 @@ +# atuin + +> Enregistre votre historique shell dans une base de donnée. +> Peut également synchroniser votre historique chiffré entre plusieurs machines. +> Plus d'informations : . + +- Installe atuin dans votre shell : + +`eval "$(atuin init {{bash|zsh|fish}})"` + +- Importe l'historique du shell par défaut : + +`atuin import auto` + +- Recherche dans l'historique shell une commande spécifique : + +`atuin search {{commande}}` + +- Inscrire un compte sur le serveur de synchronisation par défaut : + +`atuin register -u {{nom_d_utilisateur}} -e {{email}} -p {{mot_de_passe}}` + +- Connexion au serveur de synchronisation par défaut : + +`atuin login -u {{nom_d_utilisateur}} -p {{mot_de_passe}}` + +- Synchronise l'historique avec le serveur : + +`atuin sync` diff --git a/pages.fr/common/auditd.md b/pages.fr/common/auditd.md new file mode 100644 index 00000000000000..83f917c4525084 --- /dev/null +++ b/pages.fr/common/auditd.md @@ -0,0 +1,17 @@ +# auditd + +> Réponds aux requêtes depuis l'outil d'audition et de notifications du kernel. +> Il ne doit pas être utilisé manuellement. +> Plus d'informations : . + +- Démarre le démon : + +`auditd` + +- Démarre le démon en mode débogage : + +`auditd -d` + +- Démarre le démon à la demande depuis launchd : + +`auditd -l` diff --git a/pages.fr/common/autoconf.md b/pages.fr/common/autoconf.md new file mode 100644 index 00000000000000..e90bc828a15d24 --- /dev/null +++ b/pages.fr/common/autoconf.md @@ -0,0 +1,16 @@ +# autoconf + +> Génère des scripts de configuration pour configurer automatiquement les paquets du code source. +> Plus d'informations : . + +- Génère un script de configuration depuis `configure.ac` (si présent) ou `configure.in` et le sauvegarde dans `configure` : + +`autoconf` + +- Génère un script de configuration depuis un modèle spécifié; et l'affiche la sortie standard : + +`autoconf {{fichier_de_template}}` + +- Génère un script de configuration depuis un modèle spécifié (même si the fichier d'entrée n'a pas changé) et l'écrit dans un fichier : + +`autoconf --force --output {{fichier_de_sortie}} {{fichier_de_template}}` diff --git a/pages.fr/common/autoflake.md b/pages.fr/common/autoflake.md new file mode 100644 index 00000000000000..c9817786bd71b6 --- /dev/null +++ b/pages.fr/common/autoflake.md @@ -0,0 +1,20 @@ +# autoflake + +> Un outil pour enlever les imports et les variables inutilisés d'un code Python. +> Plus d'informations : . + +- Enlève les variables non-utilisées d'un fichier et affiche la différence : + +`autoflake --remove-unused-variables {{chemin/vers/fichier.py}}` + +- Enlève les imports non-utilisés de plusieurs fichiers et affiche la différence : + +`autoflake --remove-all-unused-imports {{chemin/vers/fichier1.py chemin/vers/fichier2.py ...}}` + +- Enlève les variables non-utilisées d'un fichier, surcharge ce dernier : + +`autoflake --remove-unused-variables --in-place {{chemin/vers/fichier.py}}` + +- Enlève les variables non-utilisées de tous les fichiers d'un dossier de manière récursive, en les surchargeant : + +`autoflake --remove-unused-variables --in-place --recursive {{chemin/vers/dossier}}` diff --git a/pages.fr/common/autojump.md b/pages.fr/common/autojump.md new file mode 100644 index 00000000000000..fa8bb804ec140a --- /dev/null +++ b/pages.fr/common/autojump.md @@ -0,0 +1,25 @@ +# autojump + +> Accède rapidement aux dossiers que vous visitez le plus. +> Les alias comme `j` ou `jc` sont fournis pour simplifier leurs utilisation. +> Plus d'informations : . + +- Accède à un dossier qui contiens le motif suivant : + +`j {{motif}}` + +- Accède à un sous-dossier (enfant) du repertoire courant qui contiens the motif suivant : + +`jc {{motif}}` + +- Ouvre le dossier qui contiens the motif suivant dans le gestionnaire de fichier du système d'exploitation : + +`jo {{motif}}` + +- Enlève les dossiers qui n'existent plus de la base de données de `autojump` : + +`j --purge` + +- Affiche les entrées dans la base de données de `autojump` : + +`j {{[-s|--stat]}}` diff --git a/pages.fr/common/autopep8.md b/pages.fr/common/autopep8.md new file mode 100644 index 00000000000000..0c2066ff7cc717 --- /dev/null +++ b/pages.fr/common/autopep8.md @@ -0,0 +1,20 @@ +# autopep8 + +> Formate du code Python en accord avec le style PEP 8. +> Plus d'informations : . + +- Formate une fichier vers la sortie standard, avec une taille de ligne maximal personnalisée : + +`autopep8 {{chemin/vers/fichier.py}} --max-line-length {{longueur}}` + +- Formate un fichier, en affichant les changements : + +`autopep8 --diff {{chemin/vers/fichier}}` + +- Formate un fichier et sauvegarde les changements : + +`autopep8 --in-place {{chemin/vers/fichier.py}}` + +- Formate récursivement les fichiers dans un dossier et sauvegarde les changements : + +`autopep8 --in-place --recursive {{chemin/vers/dossier}}` diff --git a/pages.fr/common/autossh.md b/pages.fr/common/autossh.md new file mode 100644 index 00000000000000..3a89bfa614299e --- /dev/null +++ b/pages.fr/common/autossh.md @@ -0,0 +1,29 @@ +# autossh + +> Lance, surveille et redémarre les connections SSH. +> Reconnecte automatiquement pour garder le tunnel de transfert de port ouvert. Accepte toutes les options de SSH. +> Plus d'informations : . + +- Démarre une session SSH, redémarre quand le port échoue à renvoyer de la data : + +`autossh -M {{port_surveillé}} "{{commande_ssh}}"` + +- Fait suivre un port local vers un port distant, redémarre si nécessaire : + +`autossh -M {{port_surveillé}} -L {{port_local}}:localhost:{{port_distant}} {{utilisateur}}@{{hôte}}` + +- Diverge `autossh` en arrière plan avant de lancer SSH et n'ouvre pas de shell distant : + +`autossh -f -M {{port_surveillé}} -N "{{commande_ssh}}"` + +- Démarre en arrière plan, sans surveillance de port et à la place envoie des paquets SSH "keep-alive" toutes les 10 secondes pour détecter les échecs : + +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" "{{commande_ssh}}"` + +- Démarre en arrière plan, sans surveillance de port ni shell distant et s’arrête si le partage de port échoue : + +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" -o ExitOnForwardFailure=yes -L {{port_local}}:localhost:{{port_distant}} {{utilisateur}}@{{hôte}}` + +- Démarre en arrière plan, logue la sortie de déboggage d'`autossh` et la sortie verbeuse de SSH dans des fichiers : + +`AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE={{chemin/vers/fichier_logs_autossh.log}} autossh -f -M {{port_surveillé}} -v -E {{chemin/vers/fichier_logs_ssh.log}} {{commande_ssh}}` diff --git a/pages.fr/common/avo.md b/pages.fr/common/avo.md new file mode 100644 index 00000000000000..3aa7a2d60b981f --- /dev/null +++ b/pages.fr/common/avo.md @@ -0,0 +1,36 @@ +# avo + +> La ligne de commande officielle pour Avo. +> Plus d'informations : . + +- Initialise un espace de travail dans le dossier courant : + +`avo init` + +- Connecte la cli à la plateforme Avo : + +`avo login` + +- Change de branche vers une branche existante Avo : + +`avo checkout {{nom_de_branche}}` + +- Récupère les couvertures analytique pour le chemin courant : + +`avo pull` + +- Affiche le status de l'implémentation Avo : + +`avo status` + +- Résous les conflits Git dans les fichiers Avo : + +`avo conflict` + +- Ouvre l'espace de travail courant Avo dans le navigateur web par défaut : + +`avo edit` + +- Affiche l'aide pour une sous-commande : + +`avo {{sous_commande}} --help` diff --git a/pages.fr/common/avrdude.md b/pages.fr/common/avrdude.md new file mode 100644 index 00000000000000..bbf30ac1707d37 --- /dev/null +++ b/pages.fr/common/avrdude.md @@ -0,0 +1,20 @@ +# avrdude + +> Pilotes pour programmer les microcontrôleurs Atmel AVR. +> Plus d'informations : . + +- Lire le contenu du microcontrôleur AVR : + +`avrdude -p {{appareil_AVR}} -c {{programmeur}} -U flash:r:{{fichier.hex}}:i` + +- Programme le microcontrôleur AVR : + +`avrdude -p {{appareil_AVR}} -c {{programmeur}} -U flash:w:{{fichier.hex}}` + +- Affiche les appareils AVR disponibles : + +`avrdude -p \?` + +- Affiche les programmeurs AVR disponibles : + +`avrdude -c \?` diff --git a/pages.fr/common/awk.md b/pages.fr/common/awk.md index 7c8cd26fbb443c..41ca25c9fbc16a 100644 --- a/pages.fr/common/awk.md +++ b/pages.fr/common/awk.md @@ -27,10 +27,10 @@ `awk 'NR%3==1' {{nom_de_fichier}}` -- Affiche les lignes dont la valeur de la colone 10 vaut la valeur recherchée : +- Affiche les lignes dont la valeur de la colonne 10 vaut la valeur recherchée : `awk '($10 == valeur)'` -- Affiche les lignes dont la valeur de la colone 10 est comprise entre un min et un max : +- Affiche les lignes dont la valeur de la colonne 10 est comprise entre un min et un max : `awk '($10 >= valeur_min && $10 <= valeur_max)'` diff --git a/pages.fr/common/aws-cur.md b/pages.fr/common/aws-cur.md new file mode 100644 index 00000000000000..37275c270cd063 --- /dev/null +++ b/pages.fr/common/aws-cur.md @@ -0,0 +1,16 @@ +# aws cur + +> Crée, requête et supprime des rapports de définition d'utilisation AWS. +> Plus d'informations : . + +- Créé un rapport de définition de coût et d'utilisation AWS depuis un fichier JSON : + +`aws cur put-report-definition --report-definition file://{{chemin/vers/rapport_de_définition.json}}` + +- Liste les rapports de définition définis pour le compte connecté : + +`aws cur describe-report-definitions` + +- Supprime un rapport de définition d'utilisation : + +`aws cur --region {{region_aws}} delete-report-definition --report-name {{rapport}}` diff --git a/pages.fr/common/aws-ec2.md b/pages.fr/common/aws-ec2.md new file mode 100644 index 00000000000000..4ac0ecdfc8b9c7 --- /dev/null +++ b/pages.fr/common/aws-ec2.md @@ -0,0 +1,37 @@ +# aws ec2 + +> CLI pour AWS EC2. +> Provisionne, sécurise et des capacités de calcul redimensionnable dans le cloud AWS pour accélérer le développement et le déploiement d'applications. +> Plus d'informations : . + +- Affiche les informations sur une instance spécifique : + +`aws ec2 describe-instances --instance-ids {{id_d_instance}}` + +- Affiche les informations de toutes les instances : + +`aws ec2 describe-instances` + +- Affiche les informations sur tous les volumes EC2 : + +`aws ec2 describe-volumes` + +- Supprime un volume EC2 : + +`aws ec2 delete-volume --volume-id {{id_de_volume}}` + +- Crée une sauvegarde de votre volume EC2 : + +`aws ec2 create-snapshot --volume-id {{id_de_volume}}` + +- Liste toutes les AMIs (Images de Machine Amazon) disponible : + +`aws ec2 describe-images` + +- Affiche la liste de toutes les commandes EC2 disponible : + +`aws ec2 help` + +- Affiche l'aide pour une sous-commande EC2 spécifique : + +`aws ec2 {{sous-commande}} help` diff --git a/pages.fr/common/aws-ecr.md b/pages.fr/common/aws-ecr.md new file mode 100644 index 00000000000000..5ded93cdb6f302 --- /dev/null +++ b/pages.fr/common/aws-ecr.md @@ -0,0 +1,36 @@ +# aws ecr + +> Pousse, récupère et gère les images de conteneur. +> Plus d'informations : . + +- Connecte Docker avec le registre par défaut (le nom d'utilisateur est AWS) : + +`aws ecr get-login-password --region {{région}} | {{docker login}} --username AWS --password-stdin {{id_de_compte_aws}}.dkr.ecr.{{région}}.amazonaws.com` + +- Crée un dépôt : + +`aws ecr create-repository --repository-name {{dépôt}} --image-scanning-configuration scanOnPush={{true|false}} --region {{région}}` + +- Tag une image locale pour ECR : + +`docker tag {{nom_de_conteneur}}:{{tag}} {{id_de_compte_aws}}.dkr.ecr.{{région}}.amazonaws.com/{{nom_de_conteneur}}:{{tag}}` + +- Pousse une image dans le dépôt : + +`docker push {{id_de_compte_aws}}.dkr.ecr.{{région}}.amazonaws.com/{{nom_de_conteneur}}:{{tag}}` + +- Récupère une image depuis un dépôt : + +`docker pull {{id_de_compte_aws}}.dkr.ecr.{{région}}.amazonaws.com/{{nom_de_conteneur}}:{{tag}}` + +- Supprime une image d'un dépôt : + +`aws ecr batch-delete-image --repository-name {{dépôt}} --image-ids imageTag={{latest}}` + +- Supprime un dépôt : + +`aws ecr delete-repository --repository-name {{dépôt}} --force` + +- Liste les images dans un dépôt : + +`aws ecr list-images --repository-name {{dépôt}}` diff --git a/pages.fr/common/aws-glue.md b/pages.fr/common/aws-glue.md new file mode 100644 index 00000000000000..ff7b7d54a25666 --- /dev/null +++ b/pages.fr/common/aws-glue.md @@ -0,0 +1,29 @@ +# aws glue + +> CLI pour AWS Glue. +> Définie un endpoint publique pour le service AWS Glue. +> Plus d'informations : . + +- Liste les tâches : + +`aws glue list-jobs` + +- Démarre une tâche : + +`aws glue start-job-run --job-name {{nom_de_la_tâche}}` + +- Démarre un flux de travail : + +`aws glue start-workflow-run --name {{nom_flux_de_travail}}` + +- Liste les déclencheurs : + +`aws glue list-triggers` + +- Démarre un déclencheur : + +`aws glue start-trigger --name {{nom_du_déclencheur}}` + +- Créé un endpoint de développement : + +`aws glue create-dev-endpoint --endpoint-name {{nom}} --role-arn {{rôle_arn_utilisé_par_l_endpoint}}` diff --git a/pages.fr/common/aws-google-auth.md b/pages.fr/common/aws-google-auth.md new file mode 100644 index 00000000000000..0f9eccc456d625 --- /dev/null +++ b/pages.fr/common/aws-google-auth.md @@ -0,0 +1,20 @@ +# aws-google-auth + +> Outil en ligne de commande pour obtenir des credentials AWS temporaire (STS) en utilisant Google Apps comme un fournisseur de fédération (SSO). +> Plus d'informations : . + +- Connecte l'utilisateur avec le SSO Google en utilisant les identifiants IDP et SP et donne une durée de vie d'une heure à la connection : + +`aws-google-auth -u {{exemple@exemple.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}` + +- Connecte l'utilisateur en lui demandant quel rôle utiliser (dans le cas où il y a plusieurs rôles SAML) : + +`aws-google-auth -u {{exemple@exemple.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a` + +- Résous les alias pour des comptes AWS : + +`aws-google-auth -u {{exemple@exemple.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases` + +- Affiche l'aide : + +`aws-google-auth -h` diff --git a/pages.fr/common/aws-help.md b/pages.fr/common/aws-help.md new file mode 100644 index 00000000000000..1295a6fa573e76 --- /dev/null +++ b/pages.fr/common/aws-help.md @@ -0,0 +1,16 @@ +# aws help + +> Affiche l'aide sur la CLI AWS. +> Plus d'informations : . + +- Affiche l'aide : + +`aws help` + +- Liste tous les sujets disponibles : + +`aws help topics` + +- Affiche l'aide à propos d'un sujet particulier : + +`aws help {{nom_du_sujet}}` diff --git a/pages.fr/common/aws-history.md b/pages.fr/common/aws-history.md new file mode 100644 index 00000000000000..b06719348b91a9 --- /dev/null +++ b/pages.fr/common/aws-history.md @@ -0,0 +1,12 @@ +# aws history + +> Affiche l'historique de l'outil en ligne de commandes aws (l'enregistrement de l'historique de aws cli doit avoir été préalablement activé). +> Plus d'informations : . + +- Liste l'historique des commandes avec leurs identifiants : + +`aws history list` + +- Affiche les événements liés à une commande spécifiée par son identifiant : + +`aws history show {{identifiant_commande}}` diff --git a/pages.fr/common/aws-iam.md b/pages.fr/common/aws-iam.md new file mode 100644 index 00000000000000..840252c759392a --- /dev/null +++ b/pages.fr/common/aws-iam.md @@ -0,0 +1,36 @@ +# aws iam + +> CLI pour AWS IAM. +> Plus d'informations : . + +- Liste les utilisateurs : + +`aws iam list-users` + +- Liste les politiques : + +`aws iam list-policies` + +- Liste les groupes : + +`aws iam list-groups` + +- Récupère les utilisateurs dans un groupe : + +`aws iam get-group --group-name {{nom_du_groupe}}` + +- Décris une politique IAM : + +`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{nom_de_la_politique}}` + +- Liste les clés d’accès : + +`aws iam list-access-keys` + +- Liste les clés d'accès pour un utilisateur spécifique : + +`aws iam list-access-keys --user-name {{nom_d_utilisateur}}` + +- Affiche la page d'aide pour `aws iam` (avec toutes les commandes iam disponibles) : + +`aws iam help` diff --git a/pages.fr/common/aws-kinesis.md b/pages.fr/common/aws-kinesis.md new file mode 100644 index 00000000000000..360b6a8421e516 --- /dev/null +++ b/pages.fr/common/aws-kinesis.md @@ -0,0 +1,28 @@ +# aws kinesis + +> CLI officiel d'AWS pour les services de streaming d'Amazon Kinesis. +> Plus d'informations : . + +- Affiche tous les streams du compte : + +`aws kinesis list-streams` + +- Écris une entrée dans le stream Kinesis : + +`aws kinesis put-record --stream-name {{nom}} --partition-key {{clé}} --data {{message_encodé_en_base64}}` + +- Écris une entrée dans le stream Kinesis avec un encodage base64 inline : + +`aws kinesis put-record --stream-name {{nom}} --partition-key {{clé}} --data "$( echo "{{mon message}}" | base64 )"` + +- Liste tous les fragments disponible dans un stream : + +`aws kinesis list-shards --stream-name {{nom}}` + +- Récupère un fragment pour lire depuis le plus vieux message dans la stream de ce dernier : + +`aws kinesis get-shard-iterator --shard-iterator-type TRIM_HORIZON --stream-name {{nom}} --shard-id {{id}}` + +- Lis les entrées d'un fragment en utilisant un itérateur de fragment : + +`aws kinesis get-records --shard-iterator {{itérateur}}` diff --git a/pages.fr/common/aws-lambda.md b/pages.fr/common/aws-lambda.md new file mode 100644 index 00000000000000..deed5c14183f25 --- /dev/null +++ b/pages.fr/common/aws-lambda.md @@ -0,0 +1,32 @@ +# aws lambda + +> CLI pour AWS lambda. +> Plus d'informations : . + +- Lance une fonction : + +`aws lambda invoke --function-name {{nom}} {{chemin/vers/la/réponse.json}}` + +- Lance une fonction avec pour donnée d'entrée, un document JSON : + +`aws lambda invoke --function-name {{nom}} --payload {{json}} {{chemin/vers/la/réponse.json}}` + +- Liste les fonctions : + +`aws lambda list-functions` + +- Affiche la configuration d'une fonction : + +`aws lambda get-function-configuration --function-name {{nom}}` + +- Affiche les alias d'une fonction : + +`aws lambda list-aliases --function-name {{nom}}` + +- Affiche la configuration de concurrence pour une fonction : + +`aws lambda get-function-concurrency --function-name {{nom}}` + +- Affiche quel service AWS peut appeler une fonction : + +`aws lambda get-policy --function-name {{nom}}` diff --git a/pages.fr/common/aws-quicksight.md b/pages.fr/common/aws-quicksight.md new file mode 100644 index 00000000000000..3b96dffd855182 --- /dev/null +++ b/pages.fr/common/aws-quicksight.md @@ -0,0 +1,29 @@ +# aws quicksight + +> CLI pour AWS QuickSight. +> Accès aux entrées QuickSight. +> Plus d'informations : . + +- Liste les datasets : + +`aws quicksight list-data-sets --aws-account-id {{id_compte_aws}}` + +- Liste les utilisateurs : + +`aws quicksight list-users --aws-account-id {{id_compte_aws}} --namespace default` + +- Liste les groupes : + +`aws quicksight list-groups --aws-account-id {{id_compte_aws}} --namespace default` + +- Liste les tableaux de bords : + +`aws quicksight list-dashboards --aws-account-id {{id_compte_aws}}` + +- Affiche les informations détaillées sur un dataset : + +`aws quicksight describe-data-set --aws-account-id {{id_compte_aws}} --data-set-id {{id_data_set}}` + +- Affiche les personnes qui peuvent accéder au dataset et quelles actions ils peuvent effectuer sur ce dernier : + +`aws quicksight describe-data-set-permissions --aws-account-id {{id_compte_aws}} --data-set-id {{id_data_set}}` diff --git a/pages.fr/common/aws-rds.md b/pages.fr/common/aws-rds.md new file mode 100644 index 00000000000000..00e96e61ef5259 --- /dev/null +++ b/pages.fr/common/aws-rds.md @@ -0,0 +1,37 @@ +# aws rds + +> CLI AWS pour Relational Database Service. +> Crée et gère des bases de données relationnelles. +> Plus d'informations : . + +- Affiche l'aide pour une sous-commande RDS donnée : + +`aws rds {{sous_commande}} help` + +- Stoppe une instance : + +`aws rds stop-db-instance --db-instance-identifier {{identifiant_de_l_instance}}` + +- Démarre une nouvelle instance : + +`aws rds start-db-instance --db-instance-identifier {{identifiant_de_l_instance}}` + +- Modifie une instance RDS : + +`aws rds modify-db-instance --db-instance-identifier {{identifiant_de_l_instance}} {{paramètres}} --apply-immediately` + +- Applique les mises à jour à une instance RDS : + +`aws rds apply-pending-maintenance-action --resource-identifier {{arn_de_la_base_de_données}} --apply-action {{mise_à_jour_du_système}} --opt-in-type {{immediate}}` + +- Change l'identifiant d'une instance : + +`aws rds modify-db-instance --db-instance-identifier {{ancien_identifiant_de_l_instance}} --new-db-instance-identifier {{nouvel_identifiant_de_l_instance}}` + +- Redémarre une instance : + +`aws rds reboot-db-instance --db-instance-identifier {{identifiant_de_l_instance}}` + +- Supprime une instance : + +`aws rds delete-db-instance --db-instance-identifier {{identifiant_de_l_instance}} --final-db-snapshot-identifier {{identifiant_de_l_image}} --delete-automated-backups` diff --git a/pages.fr/common/aws-s3.md b/pages.fr/common/aws-s3.md new file mode 100644 index 00000000000000..e08324a5a8e1fe --- /dev/null +++ b/pages.fr/common/aws-s3.md @@ -0,0 +1,28 @@ +# aws s3 + +> CLI pour AWS S3 - fournis du stockage à travers les services web. +> Plus d'informations : . + +- Affiche les fichiers d'un bucket : + +`aws s3 ls {{nom_du_bucket}}` + +- Synchronise les fichiers et dossiers locaux avec un bucket : + +`aws s3 sync {{chemin/vers/les/fichiers}} s3://{{nom_du_bucket}}` + +- Synchronise les fichiers et dossiers d'un bucket avec le ceux en local : + +`aws s3 sync s3://{{nom_du_bucket}} {{chemin/vers/cible}}` + +- Synchronise les fichiers et les dossiers avec des exclusions : + +`aws s3 sync {{chemin/vers/les/fichiers}} s3://{{nom_du_bucket}} --exclude {{chemin/vers/le/fichier}} --exclude {{chemin/vers/le/dossier}}/*` + +- Supprime un fichier d'un bucket : + +`aws s3 rm s3://{{bucket}}/{{chemin/vers/le/fichier}}` + +- Prévisualise uniquement les changements : + +`aws s3 {{n_importe_quelle_commande}} --dryrun` diff --git a/pages.fr/common/aws.md b/pages.fr/common/aws.md new file mode 100644 index 00000000000000..b84cd7d05d0610 --- /dev/null +++ b/pages.fr/common/aws.md @@ -0,0 +1,37 @@ +# aws + +> La CLI officielle pour Amazon Web Services. +> Certaines commandes comme `aws s3` ont leur propre documentation. +> Plus d'informations : . + +- Configure la ligne de commande AWS : + +`aws configure wizard` + +- Configure la ligne de commande AWS en utilisant le SSO : + +`aws configure sso` + +- Récupère l'identité de l'appelant (utilisé pour débogguer les permissions) : + +`aws sts get-caller-identity` + +- Liste les ressources AWS d'une région et affiche le résultat en YAML : + +`aws dynamodb list-tables --region {{us-east-1}} --output yaml` + +- Utilise l'aide automatique au remplissage d'une commande : + +`aws iam create-user --cli-auto-prompt` + +- Utilise un guide interactif pour une ressource AWS : + +`aws dynamodb wizard {{nouvelle_table}}` + +- Génère un squelette CLI en JSON (utile pour l'Infrastructure as Code) : + +`aws dynamodb update-table --generate-cli-skeleton` + +- Voir l'aide pour une commande AWS : + +`aws {{commande}} help` diff --git a/pages.fr/common/axel.md b/pages.fr/common/axel.md new file mode 100644 index 00000000000000..36dfff52a0d807 --- /dev/null +++ b/pages.fr/common/axel.md @@ -0,0 +1,25 @@ +# axel + +> Accélérateur de téléchargement. +> Supporte HTTP, HTTPS, et FTP. +> Plus d'informations : . + +- Télécharge depuis une URL vers un fichier : + +`axel {{url}}` + +- Télécharge et spécifie le nom de fichier : + +`axel {{url}} -o {{nom_de_fichier}}` + +- Télécharge avec plusieurs connections : + +`axel -n {{nombre_de_connections}} {{url}}` + +- Recherche des miroirs : + +`axel -S {{nombre_de_miroirs}} {{url}}` + +- Limite la vitesse de téléchargement (en octets par secondes) : + +`axel -s {{vitesse}} {{url}}` diff --git a/pages.fr/common/az.md b/pages.fr/common/az.md new file mode 100644 index 00000000000000..471db3e637a694 --- /dev/null +++ b/pages.fr/common/az.md @@ -0,0 +1,37 @@ +# az + +> La CLI officielle de Microsoft Azure. +> Certaines commandes comme `az login` ont leur propre documentation. +> Plus d'informations : . + +- Connexion à Azure : + +`az login` + +- Gère les informations de souscription Azure : + +`az account` + +- Affiche tous les disques administrés Azure : + +`az disk list` + +- Liste toutes les machines virtuelles Azure : + +`az vm list` + +- Gère les services Kubernetes Azure : + +`az aks` + +- Gère les ressources réseaux Azure : + +`az network` + +- Démarre en mode interactif : + +`az interactive` + +- Affiche l'aide : + +`az --help` diff --git a/pages.fr/common/azure-cli.md b/pages.fr/common/azure-cli.md new file mode 100644 index 00000000000000..ea601579d2ff34 --- /dev/null +++ b/pages.fr/common/azure-cli.md @@ -0,0 +1,7 @@ +# azure-cli + +> Cette commande est un alias de `az`. + +- Voir la documentation de la commande originale : + +`tldr az` diff --git a/pages.fr/common/b2sum.md b/pages.fr/common/b2sum.md new file mode 100644 index 00000000000000..d99d05f6f1fae8 --- /dev/null +++ b/pages.fr/common/b2sum.md @@ -0,0 +1,28 @@ +# b2sum + +> Calcule les sommes de contrôle cryptographiques BLAKE2. +> Plus d'informations : . + +- Calcule la somme de contrôle BLAKE2 d'un fichier : + +`b2sum {{chemin/vers/fichier}}` + +- Calcule les sommes de contrôle BLAKE2 pour plusieurs fichiers : + +`b2sum {{chemin/vers/fichier1 chemin/vers/fichier2 ...}} > {{chemin/vers/fichier.b2}}` + +- Calcule la somme de contrôle BLAKE2 depuis `stdin` : + +`{{commande}} | b2sum` + +- Lis un fichier contenant des sommes de contrôle BLAKE2 et des noms de fichier et vérifie que tous les fichiers ont des sommes de contrôle correspondantes : + +`b2sum --check {{chemin/vers/fichier.b2}}` + +- Affiche un message uniquement pour les fichiers manquants ou lorsque la vérification échoue : + +`b2sum --check --quiet {{chemin/vers/fichier.b2}}` + +- N'affiche un message que pour les fichiers pour lesquels la vérification a échoué, en ignorant les fichiers manquants : + +`b2sum --ignore-missing --check --quiet {{chemin/vers/fichier.b2}}` diff --git a/pages.fr/common/b3sum.md b/pages.fr/common/b3sum.md new file mode 100644 index 00000000000000..09a2e8d8c9f712 --- /dev/null +++ b/pages.fr/common/b3sum.md @@ -0,0 +1,24 @@ +# b3sum + +> Calcule les sommes de contrôle cryptographiques BLAKE3. +> Plus d'informations : . + +- Calcule la somme de contrôle BLAKE3 pour un ou plusieurs fichiers : + +`b3sum {{chemin/vers/fichier1 chemin/vers/fichier2 ...}}` + +- Calcule et enregistre la liste des sommes de contrôle BLAKE3 dans un fichier : + +`b3sum {{chemin/vers/fichier1 chemin/vers/fichier2 ...}} > {{chemin/vers/fichier.b3}}` + +- Calculer une somme de contrôle BLAKE3 à partir de `stdin` : + +`{{commande}} | b3sum` + +- Lit un fichier de sommes et de noms de fichiers BLAKE3 et vérifie que tous les fichiers ont des sommes de contrôle correspondantes : + +`b3sum --check {{chemin/vers/fichier.b3}}` + +- N'affiche un message que pour les fichiers manquants ou en cas d'échec de la vérification : + +`b3sum --check --quiet {{chemin/vers/fichier.b3}}` diff --git a/pages.fr/common/babel.md b/pages.fr/common/babel.md new file mode 100644 index 00000000000000..148126219218fd --- /dev/null +++ b/pages.fr/common/babel.md @@ -0,0 +1,36 @@ +# babel + +> Un transpilateur qui convertit du code JavaScript avec la syntaxe ES6/ES7 en syntaxe ES5. +> Plus d'informations : . + +- Transpile une fichier spécifié et affiche le résultat dans la sortie standard : + +`babel {{chemin/vers/fichier}}` + +- Transpile un fichier spécifié et enregistre le résultat dans un autre fichier : + +`babel {{chemin/vers/fichier/d_entrée}} --out-file {{chemin/vers/fichier/de/sortie}}` + +- Transpile un fichier d'entrée à chaque fois qu'il est modifié : + +`babel {{chemin/vers/fichier/d_entrée}} --watch` + +- Transpile tout un dossier et ses fichiers : + +`babel {{chemin/vers/dossier}}` + +- Ignore des fichiers (séparés par une virgule) dans un dossier : + +`babel {{chemin/vers/dossier}} --ignore {{fichiers_ignorés}}` + +- Transpile et minifie la sortie : + +`babel {{chemin/vers/fichier/d_entrée}} --minified` + +- Sélectionne un lot de pré-configuration pour le formatage de sortie : + +`babel {{chemin/vers/fichier/d_entrée}} --presets {{pré-configurations}}` + +- Affiche toutes les options disponibles : + +`babel --help` diff --git a/pages.fr/common/balena.md b/pages.fr/common/balena.md new file mode 100644 index 00000000000000..dc2eefc4e569c9 --- /dev/null +++ b/pages.fr/common/balena.md @@ -0,0 +1,24 @@ +# balena + +> Interagis avec balenaCloud, openBAlena et l'API balena depuis la ligne de commande. +> Plus d'informations : . + +- Connexion à balenaCloud : + +`balena login` + +- Crée une application balenaCloud ou openBalena : + +`balena app create {{nom_d_application}}` + +- Affiche toutes les applications balenaCloud ou openBalena du compte : + +`balena apps` + +- Affiche tous les appareils associés au compte balenaCloud ou openBalena : + +`balena devices` + +- Flash une image balenaOS sur l'appareil local : + +`balena local flash {{chemin/vers/balenaos.img}} --drive {{localisation_de_l_appareil}}` diff --git a/pages.fr/common/base32.md b/pages.fr/common/base32.md index e6206252141c96..34bc00ec9e030f 100644 --- a/pages.fr/common/base32.md +++ b/pages.fr/common/base32.md @@ -1,14 +1,19 @@ # base32 > Encode ou décode un fichier ou l'entrée standard vers ou depuis la base 32, et retourne le résultat à la sortie standard. +> Plus d'informations : . - Encode un fichier : -`base32 {{fichier}}` +`base32 {{chemin/vers/fichier}}` + +- Envelopper la sortie codée à une largeur spécifique (`0` désactive l'enveloppement) : + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{chemin/vers/fichier}}` - Décode un fichier : -`base32 -d {{fichier}}` +`base32 {{[-d|--decode]}} {{chemin/vers/fichier}}` - Encode depuis `stdin` : @@ -16,4 +21,4 @@ - Décode depuis `stdin` : -`{{commande}} | base32 -d` +`{{commande}} | base32 {{[-d|--decode]}}` diff --git a/pages.fr/common/base64.md b/pages.fr/common/base64.md index bebb8177f49198..273d2c4cf52344 100644 --- a/pages.fr/common/base64.md +++ b/pages.fr/common/base64.md @@ -1,19 +1,24 @@ # base64 -> Encoder ou décoder un fichier ou l'entrée standard en utilisant le codage Base64 à destination de la sortie standard. +> Encode ou décode un fichier ou l'entrée standard vers ou depuis la base 64, et retourne le résultat à la sortie standard. +> Plus d'informations : . -- Encoder un fichier : +- Encode un fichier : -`base64 {{fichier}}` +`base64 {{chemin/vers/fichier}}` -- Décoder un fichier : +- Envelopper la sortie codée à une largeur spécifique (`0` désactive l'enveloppement) : -`base64 -d {{fichier}}` +`base64 {{[-w|--wrap]}} {{0|76|...}} {{chemin/vers/fichier}}` -- Encoder depuis `stdin` : +- Décode un fichier : -`{{une_commande}} | base64` +`base64 {{[-d|--decode]}} {{chemin/vers/fichier}}` -- Décoder depuis `stdin` : +- Encode depuis `stdin` : -`{{une_commande}} | base64 -d` +`{{commande}} | base64` + +- Décode depuis `stdin` : + +`{{commande}} | base64 {{[-d|--decode]}}` diff --git a/pages.fr/common/basename.md b/pages.fr/common/basename.md index 66dfb746110c74..74b721dafeb9e5 100644 --- a/pages.fr/common/basename.md +++ b/pages.fr/common/basename.md @@ -1,10 +1,15 @@ # basename > Retourne la portion ne contenant pas de dossiers d'un chemin complet. +> Plus d'informations : . - N'afficher que le nom du fichier depuis un chemin : -`basename {{path/to/file}}` +`basename {{chemin/vers/fichier}}` + +- N'afficher que le nom du dernier répertoire depuis un chemin : + +`basename {{chemin/vers/répertoire/}}` - N'afficher que le nom du fichier depuis un chemin, en ôtant un préfixe donné : diff --git a/pages.fr/common/bash.md b/pages.fr/common/bash.md new file mode 100644 index 00000000000000..c304347b50a3ff --- /dev/null +++ b/pages.fr/common/bash.md @@ -0,0 +1,33 @@ +# bash + +> Bourne-Again SHell, un interpréteur de ligne de commande compatible avec `sh`. +> Voir aussi `histexpand` pour l'expansion de l'historique. +> Plus d'informations : . + +- Démarre une session shell interactive : + +`bash` + +- Exécute une commande, puis termine la session : + +`bash -c "{{commande}}"` + +- Exécute un script : + +`bash {{chemin/vers/le/script.sh}}` + +- Exécute un script en affichant chaque commande avant de l'exécuter : + +`bash -x {{chemin/vers/le/script.sh}}` + +- Exécute un script en s'arrêtant à la première erreur : + +`bash -e {{chemin/vers/le/script.sh}}` + +- Lit et exécute des commandes depuis l'entrée standard `stdin` : + +`bash -s` + +- Affiche la version de Bash (`$BASH_VERSION` ne contenant que la version, sans les informations de license): + +`bash --version` diff --git a/pages.fr/common/bat.md b/pages.fr/common/bat.md index e98c68f36c5cdf..babf00e2c8cb94 100644 --- a/pages.fr/common/bat.md +++ b/pages.fr/common/bat.md @@ -1,7 +1,7 @@ # bat > Affiche et concatène le contenu d'un ou plusieurs fichiers. -> Un clon de `cat` avec mise en valeur de la syntaxe et integration avec Git. +> Un clone de `cat` avec mise en valeur de la syntaxe et intégration avec Git. > Plus d'informations : . - Affiche le contenu d'un fichier sur la sortie standard : @@ -18,12 +18,12 @@ - Numérote toutes les lignes affichées : -`bat -n {{fichier}}` +`bat {{[-n|--number]}} {{fichier}}` - Affiche le contenu d'un fichier JSON sur la sortie standard avec mise en valeur de la syntaxe : -`bat --language json {{fichier.json}}` +`bat {{[-l|--language]}} json {{chemin/vers/fichier.json}}` -- Affiche toutes les langages prises en charge : +- Affiche tous les langages pris en charge : -`bat --list-languages` +`bat {{[-L|--list-languages]}}` diff --git a/pages.fr/common/bc.md b/pages.fr/common/bc.md new file mode 100644 index 00000000000000..01bdb6d41ecdcf --- /dev/null +++ b/pages.fr/common/bc.md @@ -0,0 +1,29 @@ +# bc + +> Un langage de calcul de précision arbitraire. +> Voir aussi : `dc`. +> Plus d'informations : . + +- Démarre une session interactive : + +`bc` + +- Démarre une session interactive avec la bibliothèque mathématique standard activée : + +`bc --mathlib` + +- Calcule une expression : + +`echo '{{5 / 3}}' | bc` + +- Exécute un script : + +`bc {{chemin/vers/le/script.bc}}` + +- Calcule une expression avec l'échelle spécifiée : + +`echo 'scale = {{10}}; {{5 / 3}}' | bc` + +- Calcule une fonction sinus/cosinus/arctangente/logarithme naturel/exponentielle en utilisant `mathlib` : + +`echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib` diff --git a/pages.fr/common/bg.md b/pages.fr/common/bg.md new file mode 100644 index 00000000000000..bb010aa60ee124 --- /dev/null +++ b/pages.fr/common/bg.md @@ -0,0 +1,12 @@ +# bg + +> Reprend l'exécution de tâches qui ont été suspendues (en utilisant `` par exemple) en arrière-plan. +> Plus d'informations : . + +- Reprend l'exécution de la dernière tâche suspendue en arrière-plan : + +`bg` + +- Reprend l'exécution d'une tâche précise (utiliser `jobs -l` pour obtenir son ID) en arrière-plan : + +`bg %{{job_id}}` diff --git a/pages.fr/common/borg.md b/pages.fr/common/borg.md index b09048f1e25b5c..59ee691b19a983 100644 --- a/pages.fr/common/borg.md +++ b/pages.fr/common/borg.md @@ -1,6 +1,6 @@ # borg -> Outil de sauvegarde avec déduplication. +> Outil de sauvegarde avec dé-duplication. > Crée des sauvegardes distantes ou locales qui peuvent être montées comme un système de fichiers. > Plus d'informations : . diff --git a/pages.fr/common/brew-bundle.md b/pages.fr/common/brew-bundle.md new file mode 100644 index 00000000000000..3f7fbd5f55e009 --- /dev/null +++ b/pages.fr/common/brew-bundle.md @@ -0,0 +1,28 @@ +# brew bundle + +> Gestionnaire de paquets pour Homebrew, Homebrew Cask et le Mac App Store. +> Plus d'informations : . + +- Installe tous les paquets listés dans le Brewfile situé dans le dossier courant : + +`brew bundle` + +- Installe tous les paquets listés dans le Brewfile situé au chemin spécifié : + +`brew bundle --file {{chemin/vers/fichier}}` + +- Créé un Brewfile avec tous les paquets installés actuellement : + +`brew bundle dump` + +- Désinstalle tous les paquets non listés dans le Brewfile : + +`brew bundle cleanup --force` + +- Vérifie si il y a un ou plusieurs paquets à installer ou à mettre à jour depuis le Brewfile : + +`brew bundle check` + +- Affiche la liste de toutes les entrées dans un Brewfile : + +`brew bundle list --all` diff --git a/pages.fr/common/brew.md b/pages.fr/common/brew.md new file mode 100644 index 00000000000000..c2271af308422b --- /dev/null +++ b/pages.fr/common/brew.md @@ -0,0 +1,36 @@ +# brew + +> Gestionnaire de paquets pour macOS et Linux. +> Plus d'informations : . + +- Installe la dernière version stable d'une formule ou d'un cask: + +`brew install {{formule|cask}}` + +- Liste toutes les formules et les casks installés : + +`brew list` + +- Met à jour une formule ou cask déjà installé (si rien n'est précisé, toutes les formules et tous les casks installés seront mis à jour) : + +`brew upgrade {{formule|cask}}` + +- Récupère la dernière version d'Homebrew et toutes les formules et casks depuis le dépôt source d'Homebrew : + +`brew update` + +- Montre les formules et les casks disposants d'une nouvelle version : + +`brew outdated` + +- Recherche une formule (c.a.d. un package) et/ou un cask (c.a.d une application native) : + +`brew search {{texte}}` + +- Affiche les informations d'une formule ou d'un cask (version, chemin d'installation, dépendances, etc.) : + +`brew info {{formule|cask}}` + +- Vérifie que l'installation locale d'Homebrew n'a pas de problème : + +`brew doctor` diff --git a/pages.fr/common/btop.md b/pages.fr/common/btop.md new file mode 100644 index 00000000000000..818a3fb811b7cb --- /dev/null +++ b/pages.fr/common/btop.md @@ -0,0 +1,13 @@ +# btop + +> Un moniteur de ressources qui affiche des informations sur le processeur, la mémoire, les disques, le réseau et les processus. +> Une version C++ de `bpytop`. +> Plus d'informations : . + +- Démarre `btop` : + +`btop` + +- Démarre `btop` avec les réglages spécifiés : + +`btop {{[-p|--preset]}} {{0..9}}` diff --git a/pages.fr/common/bun.md b/pages.fr/common/bun.md new file mode 100644 index 00000000000000..99649554fbe15f --- /dev/null +++ b/pages.fr/common/bun.md @@ -0,0 +1,37 @@ +# bun + +> Moteur d'exécution et boîte à outils JavaScript. +> Comprend un empaqueteur, un exécuteur de tests et un gestionnaire de paquets. +> Plus d'informations : . + +- Exécute un fichier JavaScript ou un script référencé dans `package.json` : + +`bun run {{chemin/vers/fichier|nom_script}}` + +- Exécute les tests unitaires : + +`bun test` + +- Télécharge et installe tous les paquets listés comme dépendances dans `package.json` : + +`bun install` + +- Ajoute une dépendance à `package.json` : + +`bun add {{nom_module}}` + +- Supprime une dépendance de `package.json` : + +`bun remove {{nom_module}}` + +- Crée un nouveau projet Bun dans le répertoire actuel : + +`bun init` + +- Démarre un REPL (shell interactif) : + +`bun repl` + +- Met à jour Bun vers la dernière version : + +`bun upgrade` diff --git a/pages.fr/common/bundle.md b/pages.fr/common/bundle.md new file mode 100644 index 00000000000000..5ab8ea42aa8977 --- /dev/null +++ b/pages.fr/common/bundle.md @@ -0,0 +1,36 @@ +# bundle + +> Gestionnaire de dépendances pour le langage de programmation Ruby. +> Plus d'informations : . + +- Installe toutes les gems définies dans le `Gemfile` attendu dans le répertoire de travail : + +`bundle install` + +- Exécute une commande dans le contexte du bundle actuel : + +`bundle exec {{commande}} {{arguments}}` + +- Mets à jour toutes les gems selon les règles définies dans le `Gemfile` et régénére le fichier `Gemfile.lock` : + +`bundle update` + +- Mets à jour une ou plusieurs gem(s) spécifique(s) définie(s) dans le `Gemfile` : + +`bundle update {{nom_de_la_gem}} {{nom_de_la_gem}}` + +- Mets à jour une ou plusieurs gem(s) spécifique(s) définie(s) dans le `Gemfile` mais seulement vers la prochaine version de patch : + +`bundle update --patch {{nom_de_la_gem}} {{nom_de_la_gem}}` + +- Mets à jour toutes les gem(s) du groupe donné dans le `Gemfile` : + +`bundle update --group {{nom_groupe}}` + +- Liste les gem(s) installée(s) dans le `Gemfile` avec les nouvelles versions disponibles : + +`bundle outdated` + +- Crée un nouveau squelette de gem : + +`bundle gem {{nom_de_la_gem}}` diff --git a/pages.fr/common/bundler.md b/pages.fr/common/bundler.md new file mode 100644 index 00000000000000..e9ce55b6bf0062 --- /dev/null +++ b/pages.fr/common/bundler.md @@ -0,0 +1,9 @@ +# bundler + +> Gestionnaire de dépendances pour le langage de programmation Ruby. +> `bundler` est un nom commun pour la commande `bundle`, mais pas une commande elle-même. +> Plus d'informations : . + +- Voir la documentation de la commande originale : + +`tldr bundle` diff --git a/pages.fr/common/cargo-add.md b/pages.fr/common/cargo-add.md new file mode 100644 index 00000000000000..1181ec36a371f3 --- /dev/null +++ b/pages.fr/common/cargo-add.md @@ -0,0 +1,32 @@ +# cargo add + +> Ajoute des dépendences au manifeste `Cargo.toml` d'un projet Rust. +> Plus d'informations : . + +- Ajoute la dernière version d'une dépendance au projet courant : + +`cargo add {{dépendance}}` + +- Ajoute une version spécifique d'une dépendance : + +`cargo add {{dépendance}}@{{version}}` + +- Ajoute une dépendance et active une ou plusieures fonctionnalités : + +`cargo add {{dépendance}} --features {{fonctionnalité_1}},{{fonctionnalité_2}}` + +- Ajoute une dépendance optionnelle, qui sera exposée comme une fonctionnalité du crate : + +`cargo add {{dépendance}} --optional` + +- Ajoute un crate local en tant que dépendance : + +`cargo add --path {{chemin/vers/crate}}` + +- Ajoute une dépendance de développement ou de compilation : + +`cargo add {{dépendance}} --{{dev|build}}` + +- Ajoute une dépendance avec toutes les fonctionnalités par défaut désactivées : + +`cargo add {{dépendance}} --no-default-features` diff --git a/pages.fr/common/cargo-bench.md b/pages.fr/common/cargo-bench.md new file mode 100644 index 00000000000000..45e1b52e115b57 --- /dev/null +++ b/pages.fr/common/cargo-bench.md @@ -0,0 +1,36 @@ +# cargo bench + +> Compile et exécute des benchmarks. +> Plus d'informations : . + +- Exécute tous les benchmarks d'un paquet : + +`cargo bench` + +- Ne pas arréter quand un benchmark échoue : + +`cargo bench --no-fail-fast` + +- Compile, mais n'exécute pas les benchmarks : + +`cargo bench --no-run` + +- Exécute le benchmark spécifié : + +`cargo bench --bench {{benchmark}}` + +- Exécute les benchmarks avec un profile spécifique (défaut : `bench`) : + +`cargo bench --profile {{profile}}` + +- Exécute les benchmarks sur tous les exemples cibles : + +`cargo bench --examples` + +- Exécute les benchmarks sur tous les binaires cibles : + +`cargo bench --bins` + +- Exécute les benchmarks sur la bibliothèque du paquet : + +`cargo bench --lib` diff --git a/pages.fr/common/cargo-build.md b/pages.fr/common/cargo-build.md new file mode 100644 index 00000000000000..a01818399edd73 --- /dev/null +++ b/pages.fr/common/cargo-build.md @@ -0,0 +1,32 @@ +# cargo build + +> Compile un paquet local et toutes ses dépendances. +> Plus d'informations : . + +- Compile un ou plusieurs paquets définis dans le manifeste `Cargo.toml` dans le dossier local : + +`cargo {{[b|build]}}` + +- Compile les artefacts avec le mode publication, avec des optimisations : + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- Le fichier `Cargo.lock` doit être à jour : + +`cargo {{[b|build]}} --locked` + +- Compile tous les paquets de l'espace de travail : + +`cargo {{[b|build]}} --workspace` + +- Compile un paquet spécifique : + +`cargo {{[b|build]}} {{[-p|--package]}} {{paquet}}` + +- Compile uniquement le binaire spécifié : + +`cargo {{[b|build]}} --bin {{nom_du_binaire}}` + +- Compile uniquement le test cible spécifié : + +`cargo {{[b|build]}} --test {{nom_du_test}}` diff --git a/pages.fr/common/cargo-init.md b/pages.fr/common/cargo-init.md new file mode 100644 index 00000000000000..e6dbef93b0f0ea --- /dev/null +++ b/pages.fr/common/cargo-init.md @@ -0,0 +1,25 @@ +# cargo init + +> Crée un nouveau paquet Cargo. +> Équivalent de `cargo new`, mais où spécifier un dossier est optionnel. +> Plus d'informations : . + +- Initialise un projet Rust binaire dans le dossier courant : + +`cargo init` + +- Initailise un projet de binaire Rust dans le dossier spécifié : + +`cargo init {{chemin/vers/dossier}}` + +- Initialise un projet de bibliothèque Rust dans le dossier spécifié : + +`cargo init --lib` + +- Initialise un dépôt de système de gestion de version dans le dossier du projet (défaut : `git`) : + +`cargo init --vcs {{git|hg|pijul|fossil|none}}` + +- Défini le nom du paquet (défaut : nom du dossier): + +`cargo init --name {{nom_du_paquet}}` diff --git a/pages.fr/common/cargo.md b/pages.fr/common/cargo.md new file mode 100644 index 00000000000000..6d4ecd481761e1 --- /dev/null +++ b/pages.fr/common/cargo.md @@ -0,0 +1,33 @@ +# cargo + +> Gestion d'un projet Rust et ses dependences (crates). +> Certaines sous-commandes comme `build` ont leurs propres documentations. +> Plus d'informations : . + +- Rechercher des crates : + +`cargo search {{recherche}}` + +- Installer un crate : + +`cargo install {{nom_du_crate}}` + +- Lister les crates déjà installés : + +`cargo install --list` + +- Crée un nouveau binaire ou librairie du projet Rust dans les dossiers spécifiés (ou dans le dossier courant par défaut) : + +`cargo init --{{bin|lib}} {{chemin/vers/dossier}}` + +- Compile le projet Rust dans le dossier courant en utilisant le profil release : + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- Compiler le projet Rust dans le dossier courant en utilisant le compilateur nightly : + +`cargo +nightly {{[b|build]}}` + +- Compiler en utilisant un nombre spécifique de threads (par défaut on prend le nombre de coeurs du CPU) : + +`cargo {{[b|build]}} --jobs {{nombre_de_threads}}` diff --git a/pages.fr/common/cat.md b/pages.fr/common/cat.md index 413638326073e8..34ae763276d641 100644 --- a/pages.fr/common/cat.md +++ b/pages.fr/common/cat.md @@ -1,19 +1,16 @@ # cat > Affiche et concatène le contenu d'un ou plusieurs fichiers. +> Plus d'informations : . - Affiche le contenu d'un fichier sur la sortie standard : -`cat {{fichier}}` +`cat {{chemin/vers/fichier}}` - Concatène le contenu de plusieurs fichiers vers le fichier de destination : -`cat {{fichier1}} {{fichier2}} > {{fichier_de_destination}}` +`cat {{chemin/vers/fichier1 chemin/vers/fichier2 ...}} > {{chemin/vers/fichier_de_destination}}` - Ajoute le contenu d'un ficher à la fin du fichier de destination : -`cat {{fichier1}} {{fichier2}} >> {{fichier_de_destination}}` - -- Numérote toutes les lignes affichées : - -`cat -n {{fichier}}` +`cat {{chemin/vers/fichier1 chemin/vers/fichier2 ...}} >> {{chemin/vers/fichier_de_destination}}` diff --git a/pages.fr/common/cd.md b/pages.fr/common/cd.md index 823ab4c6a30fd3..50c1d0ea1910df 100644 --- a/pages.fr/common/cd.md +++ b/pages.fr/common/cd.md @@ -1,19 +1,28 @@ # cd -> Modifier le répertoire de travail courant. +> Modifie le répertoire de travail actuel. +> Plus d'informations : . -- Se déplacer vers le dossier donné : +- Se déplace vers le répertoire donné : `cd {{chemin/vers/dossier}}` -- Se déplacer vers le répertoire personnel de l'utilisateur actuel : +- Remonte vers le parent du répertoire actuel : + +`cd ..` + +- Se déplace vers le répertoire personnel de l'utilisateur actuel : `cd` -- Remonter vers le parent du répertoire courant : +- Se déplace vers le répertoire personnel de l'utilisateur donné : -`cd ..` +`cd ~{{nom_utilisateur}}` -- Revenir au répertoire précédent : +- Retourne au répertoire précédent : `cd -` + +- Se déplace vers le répertoire racine : + +`cd /` diff --git a/pages.fr/common/chgrp.md b/pages.fr/common/chgrp.md new file mode 100644 index 00000000000000..ff9aa4f78d4021 --- /dev/null +++ b/pages.fr/common/chgrp.md @@ -0,0 +1,20 @@ +# chgrp + +> Change la propriété de groupe des fichiers et des répertoires. +> Plus d'informations : . + +- Change le groupe propriétaire d'un fichier/répertoire : + +`chgrp {{groupe}} {{chemin/vers/fichier_ou_répertoire}}` + +- Change récursivement le groupe propriétaire d'un répertoire et de son contenu : + +`chgrp {{[-R|--recursive]}} {{groupe}} {{chemin/vers/répertoire}}` + +- Change le groupe propriétaire d'un lien symbolique : + +`chgrp {{[-h|--no-dereference]}} {{groupe}} {{chemin/vers/lien_symbolique}}` + +- Modifie le groupe propriétaire d'un fichier/répertoire pour qu'il corresponde à un fichier de référence : + +`chgrp --reference {{chemin/vers/fichier_référence}} {{chemin/vers/fichier_ou_répertoire}}` diff --git a/pages.fr/common/chmod.md b/pages.fr/common/chmod.md index 098fd974eb9fc1..39612a24eeeb6d 100644 --- a/pages.fr/common/chmod.md +++ b/pages.fr/common/chmod.md @@ -1,27 +1,36 @@ # chmod > Modifie les droits d'accès d'un fichier ou d'un répertoire. +> Plus d'informations : . - Donne les droits d'e[x]écution à l'[u]tilisateur auquel le fichier appartient : -`chmod u+x {{fichier}}` +`chmod u+x {{chemin/vers/fichier}}` -- Donne à l'utilisateur les droits de lecture (r) et d'écriture (w) sur un fichier/répertoire : +- Donne à l'[u]tilisateur les droits de lecture [r] et d'écriture [w] sur un fichier/répertoire : -`chmod u+rw {{fichier_ou_repertoire}}` +`chmod u+rw {{chemin/vers/fichier_ou_répertoire}}` -- Enlève les droits d'exécution pour le [g]roupe : +- Enlève les droits d'e[x]écution pour le [g]roupe : -`chmod g-x {{fichier}}` +`chmod g-x {{chemin/vers/fichier}}` -- Donne à tous (a) les utilisateurs les droits de lecture et d'exécution : +- Donne à tous [a] les utilisateurs les droits de lecture [r] et d'e[x]écution : -`chmod a+rx {{fichier}}` +`chmod a+rx {{chemin/vers/fichier}}` -- Donne aux autres utilisateurs (qui sont dans un autre groupe) les mêmes droits que ceux du groupe propriétaire : +- Donne aux autres [o] utilisateurs (qui sont dans un autre groupe) les mêmes droits que ceux du [g]roupe propriétaire : -`chmod o=g {{fichier}}` +`chmod o=g {{chemin/vers/fichier}}` -- Modifie les permissions recursivement en donnant aux membres du groupe et aux autres utilisateurs le droit d'écriture : +- Retire tous les droits aux autres [o] utilisateurs : -`chmod -R g+w,o+w {{repertoire}}` +`chmod o= {{chemin/vers/fichier}}` + +- Modifie les permissions récursivement en donnant aux membres du [g]roupe et aux autres [o] utilisateurs le droit d'écriture [w] : + +`chmod {{[-R|--recursive]}} g+w,o+w {{chemin/vers/répertoire}}` + +- Donne récursivement à tous [a] les utilisateurs les droits de lecture [r] de fichiers et d'e[X]écution de sous-répertoires à l'intérieur d'un répertoire : + +`chmod {{[-R|--recursive]}} a+rX {{chemin/vers/répertoire}}` diff --git a/pages.fr/common/chown.md b/pages.fr/common/chown.md index 7178ca75a277b3..11cac22f6cf3ff 100644 --- a/pages.fr/common/chown.md +++ b/pages.fr/common/chown.md @@ -1,6 +1,7 @@ # chown > Modifie l'utilisateur et le groupe propriétaire des fichiers et dossiers. +> Plus d'informations : . - Modifie le propriétaire d'un fichier/dossier : @@ -10,14 +11,18 @@ `chown {{utilisateur}}:{{groupe}} {{chemin/vers/fichier_ou_dossier}}` +- Modifie le propriétaire et le groupe pour qu'ils aient tous les deux le nom `utilisateur` : + +`chown {{utilisateur}}: {{chemin/vers/fichier_ou_dossier}}` + - Modifie récursivement le propriétaire d'un dossier et de son contenu : -`chown -R {{utilisateur}} {{chemin/vers/dossier}}` +`chown {{[-R|--recursive]}} {{utilisateur}} {{chemin/vers/dossier}}` - Modifie le propriétaire d'un lien symbolique : -`chown -h {{utilisateur}} {{chemin/vers/lien_symbolique}}` +`chown {{[-h|--no-dereference]}} {{utilisateur}} {{chemin/vers/lien_symbolique}}` -- Modifie the propriétaire d'un fichuer/dossier pour correspondre à un fichier de référence : +- Modifie le propriétaire d'un fichier / dossier pour correspondre à un fichier de référence : -`chown --reference={{chemin/vers/fichier_de_référence}} {{chemin/vers/fichier_ou_dossier}}` +`chown --reference {{chemin/vers/fichier_de_référence}} {{chemin/vers/fichier_ou_dossier}}` diff --git a/pages.fr/common/chromium.md b/pages.fr/common/chromium.md new file mode 100644 index 00000000000000..16db0a09e275cc --- /dev/null +++ b/pages.fr/common/chromium.md @@ -0,0 +1,36 @@ +# chromium + +> Navigateur Web open source principalement développé et maintenu par Google. +> Plus d'informations : . + +- Ouvre une URL ou un fichier spécifique : + +`chromium {{https://exemple.com|chemin/vers/fichier.html}}` + +- Ouvre en mode navigation privée : + +`chromium --incognito {{exemple.com}}` + +- Ouvre dans une nouvelle fenêtre : + +`chromium --new-window {{exemple.com}}` + +- Ouvre en mode application (sans barres d'outils, barre d'URL, boutons, etc) : + +`chromium --app={{https://exemple.com}}` + +- Utilise un serveur proxy : + +`chromium --proxy-server="{{://hostname:66}}" {{exemple.com}}` + +- Ouvre dans un répertoire de profil personnalisé : + +`chromium --user-data-dir={{chemin/vers/répertoire}}` + +- Ouvre sans validation CORS (utile pour tester une API) : + +`chromium --user-data-dir={{chemin/vers/répertoire}} --disable-web-security` + +- Ouvre avec une fenêtre outils de développement pour chaque onglet ouvert : + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.fr/common/chroot.md b/pages.fr/common/chroot.md new file mode 100644 index 00000000000000..3d4a0aca4630d6 --- /dev/null +++ b/pages.fr/common/chroot.md @@ -0,0 +1,12 @@ +# chroot + +> Exécute une commande ou un shell interactif avec un répertoire racine spécial. +> Plus d'informations : . + +- Exécute la commande en tant que nouveau répertoire racine : + +`chroot {{chemin/vers/nouveau/répertoire/racine}} {{command}}` + +- Spécifie l'utilisateur et le groupe (ID ou nom) à utiliser : + +`chroot --userspec={{utilisateur:groupe}}` diff --git a/pages.fr/common/clang-cpp.md b/pages.fr/common/clang-cpp.md new file mode 100644 index 00000000000000..dd24e841bc05fc --- /dev/null +++ b/pages.fr/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Cette commande est un alias de `clang++`. + +- Voir la documentation de la commande originale : + +`tldr clang++` diff --git a/pages.fr/common/clear.md b/pages.fr/common/clear.md index e08f9cf1a2e94e..51a9e5f0669ff9 100644 --- a/pages.fr/common/clear.md +++ b/pages.fr/common/clear.md @@ -1,7 +1,20 @@ # clear > Efface l'écran du terminal. +> Plus d'informations : . -- Effacer l'écran (identique à la séquence Contrôle-L sur une interface bash) : +- Effacer l'écran (identique à la séquence `` sur une interface Bash) : `clear` + +- Effacer l'écran mais conserve le tampon de défilement du terminal : + +`clear -x` + +- Indiquer le type de terminal à effacer (utilise par défaut la variable d'environnement `TERM`) : + +`clear -T {{type_de_terminal}}` + +- Afficher la version de `ncurses` utilisée par `clear` : + +`clear -V` diff --git a/pages.fr/common/clojure.md b/pages.fr/common/clojure.md new file mode 100644 index 00000000000000..bcc542fcccf5cd --- /dev/null +++ b/pages.fr/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Cette commande est un alias de `clj`. + +- Voir la documentation de la commande originale : + +`tldr clj` diff --git a/pages.fr/common/cmake.md b/pages.fr/common/cmake.md new file mode 100644 index 00000000000000..cf12eb2891502a --- /dev/null +++ b/pages.fr/common/cmake.md @@ -0,0 +1,28 @@ +# cmake + +> Système de construction logicielle multiplateforme, qui permet de générer des recettes de construction pour les systèmes de construction natifs. +> Plus d'informations : . + +- Génère une recette de construction `CMakeLists.txt` depuis le répertoire d'un projet : + +`cmake {{chemin/vers/le/répertoire_du_projet}}` + +- Génère une recette de construction, en définissant le type de construction à `Release` à l'aide d'une variable CMake : + +`cmake {{chemin/vers/le/répertoire_du_projet}} -D {{CMAKE_BUILD_TYPE=Release}}` + +- Utilise une recette déjà générée dans un répertoire donné pour construire les artefacts : + +`cmake --build {{chemin/vers/le/répertoire_de_construction}}` + +- Installe les artefacts de construction dans `/usr/local/` et retirer les symboles de débogage : + +`cmake --install {{chemin/vers/le/répertoire_de_construction}} --strip` + +- Installe les artefacts de construction en utilisant un préfixe personnalisé pour les chemins : + +`cmake --install {{chemin/vers/le/répertoire_de_construction}} --strip --prefix {{chemin/vers/le/répertoire}}` + +- Lance une cible de construction personnalisée : + +`cmake --build {{chemin/vers/le/répertoire_de_construction}} --target {{nom_de_la_cible}}` diff --git a/pages.fr/common/code.md b/pages.fr/common/code.md new file mode 100644 index 00000000000000..2d58c263ad929c --- /dev/null +++ b/pages.fr/common/code.md @@ -0,0 +1,36 @@ +# code + +> Éditeur de code multiplateforme et extensible. +> Plus d'informations : . + +- Démarre Visual Studio Code : + +`code` + +- Ouvre des fichiers/répertoires spécifiques : + +`code {{chemin/vers/fichier_ou_répertoire1 chemin/vers/fichier_ou_répertoire2 ...}}` + +- Compare deux fichiers spécifiques : + +`code {{[-d|--diff]}} {{chemin/vers/fichier1}} {{chemin/vers/fichier2}}` + +- Ouvre des fichiers/répertoires spécifiques dans une nouvelle fenêtre : + +`code {{[-n|--new-window]}} {{chemin/vers/fichier_ou_répertoire1 chemin/vers/fichier_ou_répertoire2 ...}}` + +- Installe/désinstalle une extension spécifique : + +`code --{{install|uninstall}}-extension {{éditeur.extension}}` + +- Affiche les extensions installées : + +`code --list-extensions` + +- Affiche les extensions installées avec leurs versions : + +`code --list-extensions --show-versions` + +- Démarre l'éditeur en tant que super utilisateur (root) tout en stockant les données utilisateur dans un répertoire spécifique : + +`sudo code --user-data-dir {{chemin/vers/répertoire}}` diff --git a/pages.fr/common/cola.md b/pages.fr/common/cola.md new file mode 100644 index 00000000000000..b27bd8a2342ce0 --- /dev/null +++ b/pages.fr/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Cette commande est un alias de `git-cola`. + +- Voir la documentation de la commande originale : + +`tldr git-cola` diff --git a/pages.fr/common/colorls.md b/pages.fr/common/colorls.md new file mode 100644 index 00000000000000..80bd491a63255a --- /dev/null +++ b/pages.fr/common/colorls.md @@ -0,0 +1,20 @@ +# colorls + +> Embellit la sortie de la commande `ls`, avec des icônes coloreés ou provenant de font-awesome. Disponible sous forme de gemme Ruby. +> Plus d'informations : . + +- Liste les fichiers, un par ligne : + +`colorls -1` + +- Liste tous les fichiers, y compris les fichiers cachés : + +`colorls --all` + +- Liste au format long (autorisations, propriété, taille et date de modification) de tous les fichiers : + +`colorls --long --all` + +- Ne liste que les répertoires : + +`colorls --dirs` diff --git a/pages.fr/common/convert.md b/pages.fr/common/convert.md deleted file mode 100644 index 598fdf3d93a352..00000000000000 --- a/pages.fr/common/convert.md +++ /dev/null @@ -1,28 +0,0 @@ -# convert - -> Outil de conversion d'image de Imagemagick. -> Plus d'informations : . - -- Convertir une image JPG en PNG : - -`convert {{image.jpg}} {{image.png}}` - -- Redimensionner une image à 50% de ses dimensions d'origine : - -`convert {{image.png}} -resize 50% {{image2.png}}` - -- Redimensionner une image en conservant son ratio hauteur/largeur initial pour une taille maximum de 640x480 : - -`convert {{image.png}} -resize 640x480 {{image2.png}}` - -- Coller plusieurs images horizontallement : - -`convert {{image1.png}} {{image2.png}} {{image3.png}} +append {{image123.png}}` - -- Créer un gif à partir d'une série d'images avec un délai de 100ms entre chaque : - -`convert {{image1.png}} {{image2.png}} {{image3.png}} -delay {{100}} {{animation.gif}}` - -- Créer une image avec un simple arrière-plan uni : - -`convert -size {{800x600}} "xc:{{#ff0000}}" {{image.png}}` diff --git a/pages.fr/common/cp.md b/pages.fr/common/cp.md index 762a0e663a8d36..9ba0bd32b59573 100644 --- a/pages.fr/common/cp.md +++ b/pages.fr/common/cp.md @@ -1,6 +1,7 @@ # cp > Copie des fichiers et des répertoires. +> Plus d'informations : . - Copier un fichier vers un autre emplacement : @@ -25,7 +26,3 @@ - Déréférencer les liens symboliques avant de copier : `cp -L {{link}} {{chemin/vers/répertoire_cible}}` - -- Copier en utilisant le chemin complet des fichiers source, en créant les répertoires intermédiaires manquants : - -`cp --parents {{source/chemin/vers/fichier}} {{chemin/vers/fichier_cible}}` diff --git a/pages.fr/common/crystal.md b/pages.fr/common/crystal.md new file mode 100644 index 00000000000000..75ff250a254757 --- /dev/null +++ b/pages.fr/common/crystal.md @@ -0,0 +1,36 @@ +# crystal + +> Outil de gestion du code source de Crystal. +> Plus d'informations : . + +- Exécute un fichier Crystal : + +`crystal {{chemin/vers/fichier.cr}}` + +- Compile un fichier et toutes ses dépendances en un seul exécutable : + +`crystal build {{chemin/vers/fichier.cr}}` + +- Lit le code source Crystal à partir de la ligne de commande ou de `stdin`, et l'exécute : + +`crystal eval '{{code}}'` + +- Génère la documentation de l'API à partir commentaires dans les fichiers Crystal : + +`crystal docs` + +- Compile et exécute une suite de spécifications Crystal : + +`crystal spec` + +- Démarre un serveur interactif local pour tester le langage : + +`crystal play` + +- Crée un répertoire de projet pour une application Crystal : + +`crystal init app {{nom_application}}` + +- Affiche toutes les options d'aide : + +`crystal help` diff --git a/pages.fr/common/csh.md b/pages.fr/common/csh.md new file mode 100644 index 00000000000000..6378418a431c47 --- /dev/null +++ b/pages.fr/common/csh.md @@ -0,0 +1,21 @@ +# csh + +> Le shell (interprèteur de commandes) affiche une syntaxe proche de C. +> Voir aussi : `tcsh`. +> Plus d'informations : . + +- Démarrer une session interactive : + +`csh` + +- Démarrer une session interactive sans prendre en compte le fichier de configuration au démarrage : + +`csh -f` + +- Exécuter une commande : + +`csh -c "{{echo 'Exécution de la commande echo par csh'}}"` + +- Exécuter un script : + +`csh {{chemin/vers/script.csh}}` diff --git a/pages.fr/common/curl.md b/pages.fr/common/curl.md new file mode 100644 index 00000000000000..98cfe999c18ffc --- /dev/null +++ b/pages.fr/common/curl.md @@ -0,0 +1,37 @@ +# curl + +> Transfère des données depuis ou vers un serveur. +> Accepte la plupart des protocoles, notamment HTTP, FTP et POP3. +> Plus d'informations : . + +- Télécharger le contenu d'une URL dans un fichier : + +`curl {{http://exemple.fr}} {{[-o|--output]}} {{nom_fichier}}` + +- Télécharger le contenu d'une URL dans un fichier nommé comme indiqué par l'URL : + +`curl {{[-O|--remote-name]}} {{http://exemple.fr/nom_fichier}}` + +- Télécharger un fichier, en suivant les redirections, et poursuivre (reprendre) automatiquement un transfert de fichier précédent et renvoyer une erreur lors d'erreurs serveurs : + +`curl {{[-f|--fail]}} {{[-O|--remote-name]}} {{[-L|--location]}} {{[-C|--continue-at]}} - {{http://exemple.fr/nom_fichier}}` + +- Envoyer des données de formulaire encodées (requête POST de type `application/x-www-form-urlencoded`). Utiliser `--data @file_name` ou `--data @'-'` pour lire depuis `stdin` : + +`curl {{[-d|--data]}} {{'nom=bob'}} {{http://exemple.fr/formulaire}}` + +- Envoyer une requête avec un en-tête supplémentaire, en spécifiant la méthode HTTP : + +`curl {{[-H|--header]}} {{'X-Mon-En-Tete: 123'}} {{[-X|--request]}} {{PUT}} {{http://exemple.fr}}` + +- Envoyez des données au format JSON, en spécifiant l'en-tête content-type adéquate : + +`curl {{[-d|--data]}} {{'{"nom":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://exemple.fr/utilisateurs/1234}}` + +- Fournir un nom d'utilisateur et demander pour un mot de passe pour une authentification auprès du serveur : + +`curl {{[-u|--user]}} {{identifiant}} {{http://exemple.fr}}` + +- Fournir le certificat et la clé du client pour une ressource, en évitant la validation du certificat : + +`curl {{[-E|--cert]}} {{client.pem}} --key {{cle.pem}} {{[-k|--insecure]}} {{https://exemple.fr}}` diff --git a/pages.fr/common/dart.md b/pages.fr/common/dart.md new file mode 100644 index 00000000000000..42a22b7b7fee9c --- /dev/null +++ b/pages.fr/common/dart.md @@ -0,0 +1,28 @@ +# dart + +> Ligne de commande pour gérer un projet Dart. +> Plus d'informations : . + +- Initialise un nouveau projet Dart dans un dossier du même nom : + +`dart create {{nom_du_projet}}` + +- Exécuter un fichier Dart : + +`dart run {{chemin/vers/fichier.dart}}` + +- Télécharger les dépendences pour le projet courant : + +`dart pub get` + +- Exécuter les tests unitaire pour le projet courant : + +`dart test` + +- Mettre à jour les dépendances d'un projet pour supporter null-safety : + +`dart pub upgrade --null-safety` + +- Compiler un fichier Dart vers un binaire natif : + +`dart compile exe {{chemin/vers/fichier.dart}}` diff --git a/pages.fr/common/dash.md b/pages.fr/common/dash.md new file mode 100644 index 00000000000000..1866642016b2d3 --- /dev/null +++ b/pages.fr/common/dash.md @@ -0,0 +1,28 @@ +# dash + +> Debian Almquist SHell, une implémentation de `sh` moderne, conforme à POSIX (non compatible avec Bash). +> Plus d'informations : . + +- Démarre une session shell interactive : + +`dash` + +- Exécute une commande, puis termine la session : + +`dash -c "{{commande}}"` + +- Exécute un script : + +`dash {{chemin/vers/le/script.sh}}` + +- Exécute un script en affichant chaque commande avant de l'exécuter : + +`dash -x {{chemin/vers/le/script.sh}}` + +- Exécute un script en s'arrêtant à la première erreur : + +`dash -e {{chemin/vers/le/script.sh}}` + +- Lit et exécute des commandes depuis l'entrée standard `stdin` : + +`dash -s` diff --git a/pages.fr/common/deluge.md b/pages.fr/common/deluge.md index 6af81957a43373..d29648c31f7588 100644 --- a/pages.fr/common/deluge.md +++ b/pages.fr/common/deluge.md @@ -1,7 +1,7 @@ # deluge > Client BitTorrent à base de ligne de commande. -> Plus d'informations : . +> Plus d'informations : . - Télécharge un torrent : @@ -9,7 +9,7 @@ - Télécharge un torrent à l'aide d'un fichier de configuration particulier : -`deluge -c {{chemin/vers/fichier_configuration}} {{url|magnet|chemin/vers/fichier}}` +`deluge {{[-c|--config]}} {{chemin/vers/fichier_configuration}} {{url|magnet|chemin/vers/fichier}}` - Télécharge un torrent et lance un interface usager particulier : @@ -17,4 +17,4 @@ - Télécharge un torrent et enregistre les journaux dans un ficher : -`deluge -l {{chemin/vers/fichier_journalisation}} {{url|magnet|chemin/vers/fichier}}` +`deluge {{[-l|--logfile]}} {{chemin/vers/fichier_journalisation}} {{url|magnet|chemin/vers/fichier}}` diff --git a/pages.fr/common/deluged.md b/pages.fr/common/deluged.md index 99a9889c529560..4be454dcfc5e0d 100644 --- a/pages.fr/common/deluged.md +++ b/pages.fr/common/deluged.md @@ -1,7 +1,7 @@ # deluged > Un processus démon pour le client BitTorrent Deluge. -> Plus d'informations : . +> Plus d'informations : . - Lance le démon Deluge : @@ -9,12 +9,12 @@ - Lance le démon Deluge sur un port spécifique : -`deluged -p {{port}}` +`deluged {{[-p|--port]}} {{port}}` - Lance le démon Deluge à l'aide d'un fichier de configuration spécifique : -`deluged -c {{chemin/vers/fichier_configuration}}` +`deluged {{[-c|--config]}} {{chemin/vers/fichier_configuration}}` - Lance le démon Deluge et enregistre les journaux dans un fichier : -`deluged -l {{chemin/vers/fichier_journalisation}}` +`deluged {{[-l|--logfile]}} {{chemin/vers/fichier_journalisation}}` diff --git a/pages.fr/common/deno.md b/pages.fr/common/deno.md new file mode 100644 index 00000000000000..da071229b4c4f7 --- /dev/null +++ b/pages.fr/common/deno.md @@ -0,0 +1,24 @@ +# deno + +> Un environnement d’exécution sécurisé pour JavaScript et TypeScript. +> Plus d'informations : . + +- Exécute un fichier JavaScript ou TypeScript : + +`deno run {{chemin/du/fichier.ts}}` + +- Démarre un REPL (shell interactif) : + +`deno` + +- Exécute un fichier avec l'accès au réseau activé : + +`deno run --allow-net {{chemin/du/fichier.ts}}` + +- Exécute un fichier à partir d’une URL : + +`deno run {{https://deno.land/std/examples/welcome.ts}}` + +- Installe un script exécutable à partir d’une URL : + +`deno install {{https://deno.land/std/examples/colors.ts}}` diff --git a/pages.fr/common/df.md b/pages.fr/common/df.md index 42501d668de3ba..141f8e60322f3a 100644 --- a/pages.fr/common/df.md +++ b/pages.fr/common/df.md @@ -1,6 +1,7 @@ # df > Montre un aperçu de l'utilisation de l'espace disque. +> Plus d'informations : . - Afficher tous les systèmes de fichiers et leur utilisation d'espace disque : @@ -17,3 +18,7 @@ - Afficher des statistiques sur le nombre d'inodes disponibles : `df -i` + +- Afficher les systèmes de fichiers sauf ceux de types spécifiques : + +`df -x {{squashfs}} -x {{tmpfs}}` diff --git a/pages.fr/common/diff.md b/pages.fr/common/diff.md new file mode 100644 index 00000000000000..90698b2ea43b65 --- /dev/null +++ b/pages.fr/common/diff.md @@ -0,0 +1,32 @@ +# diff + +> Compare deux fichiers ou répertoires. +> Plus d'informations : . + +- Compare deux fichiers (liste les changements pour transformer `ancien_fichier` en `nouveau_fichier`) : + +`diff {{ancien_fichier}} {{nouveau_fichier}}` + +- Compare deux fichiers, en ignorant l'espacement : + +`diff {{[-w|--ignore-all-space]}} {{ancien_fichier}} {{nouveau_fichier}}` + +- Compare deux fichiers, en affichant différences côte à côte : + +`diff {{[-y|--side-by-side]}} {{ancien_fichier}} {{nouveau_fichier}}` + +- Compare deux fichiers, en affichant les différences dans un format unifié (comme `git diff`) : + +`diff {{[-u|--unified]}} {{ancien_fichier}} {{nouveau_fichier}}` + +- Compare récursivement deux répertoires directories (affiche les noms de fichiers et de répertoires divergents ainsi que les modifications de fichiers) : + +`diff {{[-r|--recursive]}} {{ancien_répertoire}} {{nouveau_répertoire}}` + +- Compare deux répertoires, en affichant uniquement les fichiers qui diffèrent : + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{ancien_répertoire}} {{nouveau_répertoire}}` + +- Crée un fichier patch des différences entre deux fichiers texte pour Git, en traitant les fichiers inexistants comme fichiers vides : + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{ancien_fichier}} {{nouveau_fichier}} > {{diff.patch}}` diff --git a/pages.fr/common/dmypy.md b/pages.fr/common/dmypy.md new file mode 100644 index 00000000000000..b436b1782fa1f5 --- /dev/null +++ b/pages.fr/common/dmypy.md @@ -0,0 +1,21 @@ +# dmypy + +> Vérifie les types dans du code Python, en utilisant `mypy` dans un démon pour une exécution plus rapide. +> Voir aussi : `mypy` pour plus d'options à utiliser avec check et run. +> Plus d'informations : . + +- Vérifie les types dans un fichier, et démarre le démon s'il n'est pas lancé : + +`dmypy check -- {{chemin/vers/fichier.py}}` + +- Démarre le démon : + +`dmypy start` + +- Vérifie les types dans un fichier (nécéssite que le démon soit lancé) : + +`dmypy run -- {{chemin/vers/fichier.py}}` + +- Arrête le démon : + +`dmypy stop` diff --git a/pages.fr/common/docker-build.md b/pages.fr/common/docker-build.md index 4cb0be08d45c4a..a561aaa4bd9f3f 100644 --- a/pages.fr/common/docker-build.md +++ b/pages.fr/common/docker-build.md @@ -1,28 +1,32 @@ -# docker-build +# docker build -> Construis une image à partir d'un Dockerfile. -> Plus d'informations : . +> Construit une image à partir d'un Dockerfile. +> Plus d'informations : . -- Construis une image Docker en utilisant le Dockerfile du répertoire courant : +- Construire une image Docker en utilisant le Dockerfile du répertoire courant : `docker build .` -- Construis une image Docker à partir d'un Dockerfile situé à une URL précisée : +- Construire une image Docker à partir d'un Dockerfile situé à une URL précisée : `docker build {{github.com/creack/docker-firefox}}` -- Construis une image Docker et l'étiquette : +- Construire une image Docker et l'étiquette : -`docker build --tag {{nom:etiquette}} .` +`docker build {{[-t|--tag]}} {{nom:etiquette}} .` -- N'utilise pas le cache lors de la construction de l'image : +- Construit une image Docker sans contexte de construction : -`docker build --no-cache --tag {{nom:etiquette}} .` +`docker build {{[-t|--tag]}} {{nom:etiquette}} - < {{Dockerfile}}` -- Construis une image Docker utilisant un Dockerfile spécifique : +- Ne pas utiliser le cache lors de la construction de l'image : -`docker build --file {{Dockerfile}} .` +`docker build --no-cache {{[-t|--tag]}} {{nom:etiquette}} .` -- Construis avec des variables personnalisées définies à la volée : +- Construire une image Docker utilisant un Dockerfile spécifique : + +`docker build {{[-f|--file]}} {{Dockerfile}} .` + +- Construire avec des variables personnalisées définies à la volée : `docker build --build-arg {{HTTP_PROXY=http://10.20.30.2:1234}} --build-arg {{FTP_PROXY=http://40.50.60.5:4567}} .` diff --git a/pages.fr/common/docker-commit.md b/pages.fr/common/docker-commit.md new file mode 100644 index 00000000000000..697264c604f9e3 --- /dev/null +++ b/pages.fr/common/docker-commit.md @@ -0,0 +1,32 @@ +# docker commit + +> Créer une nouvelle image depuis les changement d'un conteneur. +> Plus d'informations : . + +- Créer une image à partir d'un conteneur spécifique : + +`docker commit {{conteneur}} {{image}}:{{etiquette}}` + +- Appliquer une instruction `CMD` du Dockerfile à l'image créée : + +`docker commit {{[-c|--change]}} "CMD {{commande}}" {{conteneur}} {{image}}:{{etiquette}}` + +- Appliquer une instruction `ENV` du Dockerfile à l'image créée : + +`docker commit {{[-c|--change]}} "ENV {{name}}={{value}}" {{conteneur}} {{image}}:{{etiquette}}` + +- Créer une image avec un auteur spécifique dans les métadonnées : + +`docker commit {{[-a|--author]}} "{{auteur}}" {{conteneur}} {{image}}:{{etiquette}}` + +- Créer une image avec un commentaire spécifique dans les métadonnées : + +`docker commit {{[-m|--message]}} "{{commentaire}}" {{conteneur}} {{image}}:{{etiquette}}` + +- Créer une image sans mettre en pause le conteneur pendant la création : + +`docker commit {{[-p|--pause]}} {{false}} {{conteneur}} {{image}}:{{etiquette}}` + +- Afficher l'aide : + +`docker commit --help` diff --git a/pages.fr/common/docker-compose.md b/pages.fr/common/docker-compose.md index 1f640d6a9e3e7b..195eeeaa9c66c7 100644 --- a/pages.fr/common/docker-compose.md +++ b/pages.fr/common/docker-compose.md @@ -1,32 +1,36 @@ -# docker-compose +# docker compose > Exécute et gère des applications au travers de plusieurs conteneurs Docker. -> Plus d'informations : . +> Plus d'informations : . -- Liste tous les conteneurs en cours d'exécution : +- Liste tous les conteneurs en cours d'exécution : -`docker-compose ps` +`docker compose ps` -- Crée et démarre en arrière-plan tous les conteneurs décrits dans le fichier `docker-compose.yml` du répertoire courant : +- Crée et démarre en arrière-plan tous les conteneurs décrits dans le fichier `docker-compose.yml` du répertoire courant : -`docker-compose up -d` +`docker compose up {{[-d|--detach]}}` -- Démarre tous les conteneurs après les avoir recréés si nécessaire : +- Démarre tous les conteneurs après les avoir recréés si nécessaire : -`docker-compose up --build` +`docker compose up --build` -- Démarre tous les conteneurs spécifiés dans un fichier compose alternatif : +- Démarre tous les conteneurs en spécifiant un nom de projet et un fichier compose alternatif : -`docker-compose --file {{chemin/vers/fichier}} up` +`docker compose {{[-p|--project-name]}} {{nom_de_projet}} {{[-f|--file]}} {{chemin/vers/fichier}} up` -- Arrête tous les conteneurs en cours d'exécution : +- Arrête tous les conteneurs en cours d'exécution : -`docker-compose stop` +`docker compose stop` -- Arrête et supprime tous les conteneurs, réseaux, images et volumes : +- Arrête et supprime tous les conteneurs, réseaux, images et volumes : -`docker-compose down --rmi all --volumes` +`docker compose down --rmi all {{[-v|--volumes]}}` -- Affiche et suit la journalisation de tous les conteneurs : +- Affiche et suit la journalisation de tous les conteneurs : -`docker-compose logs --follow` +`docker compose logs {{[-f|--follow]}}` + +- Affiche et suit la journalisation pour un conteneurs spécifique : + +`docker compose logs {{[-f|--follow]}} {{nom_container}}` diff --git a/pages.fr/common/docker-container.md b/pages.fr/common/docker-container.md new file mode 100644 index 00000000000000..c42444f745edf0 --- /dev/null +++ b/pages.fr/common/docker-container.md @@ -0,0 +1,36 @@ +# docker container + +> Gère les conteneurs Docker. +> Plus d'informations : . + +- Liste les conteneurs Dockers en cours d'exécution : + +`docker container ls` + +- Démarre un ou plusieurs conteneur arrêtés : + +`docker container start {{nom_conteneur_1}} {{nom_conteneur_2}}` + +- Tue un ou plusieurs conteneurs en cours d'exécution : + +`docker container kill {{nom_conteneur}}` + +- Arrête un ou plusieurs conteneurs en cours d'exécution : + +`docker container stop {{nom_conteneur}}` + +- Mets en pause tous les processus d'un ou plusieurs conteneurs : + +`docker container pause {{nom_conteneur}}` + +- Affiche des informations détaillées sur un ou plusieurs conteneurs : + +`docker container inspect {{nom_conteneur}}` + +- Exporte le système de fichiers d'un conteneur sous forme d'archive Tar : + +`docker container export {{nom_conteneur}}` + +- Crée une nouvelle image à partir des changements d'un conteneur : + +`docker container commit {{nom_conteneur}}` diff --git a/pages.fr/common/docker-containers.md b/pages.fr/common/docker-containers.md deleted file mode 100644 index d24526d24b1316..00000000000000 --- a/pages.fr/common/docker-containers.md +++ /dev/null @@ -1,36 +0,0 @@ -# docker container - -> Gère les conteneurs Docker. -> Plus d'informations : . - -- Liste les conteneurs Dockers en cours d'exécution : - -`docker container ls` - -- Démarre un ou plusieurs conteneur arrêtés : - -`docker container start {{nom_conteneur_1}} {{nom_conteneur_2}}` - -- Tue un ou plusieurs conteneurs en cours d'exécution : - -`docker container kill {{nom_conteneur}}` - -- Arrête un ou plusieurs conteneurs en cours d'exécution : - -`docker container stop {{nom_conteneur}}` - -- Mets en pause tous les processus d'un ou plusieurs conteneurs : - -`docker container pause {{nom_conteneur}}` - -- Affiche des informations détaillées sur un ou plusieurs conteneurs : - -`docker container inspect {{nom_conteneur}}` - -- Exporte le système de fichiers d'un conteneur sous forme d'archive Tar : - -`docker container export {{nom_conteneur}}` - -- Crée une nouvelle image à partir des changements d'un conteneur : - -`docker container commit {{nom_conteneur}}` diff --git a/pages.fr/common/docker-cp.md b/pages.fr/common/docker-cp.md new file mode 100644 index 00000000000000..b275b6fa938499 --- /dev/null +++ b/pages.fr/common/docker-cp.md @@ -0,0 +1,16 @@ +# docker cp + +> Copier des fichiers ou des répertoires entre les systèmes de fichiers hôte et conteneur. +> Plus d'informations : . + +- Copier un fichier ou un répertoire de l'hôte vers un conteneur : + +`docker cp {{chemin/vers/le_fichier_ou_le_dossier_de_l_hote}} {{nom_du_conteneur}}:{{chemin/vers/le_fichier_ou_le_dossier_de_conteneur}}` + +- Copier un fichier ou un répertoire d'un conteneur vers l'hôte : + +`docker cp {{nom_du_conteneur}}:{{chemin/vers/le_fichier_ou_le_dossier_de_conteneur}} {{chemin/vers/le_fichier_ou_le_dossier_de_l_hote}}` + +- Copier un fichier ou un répertoire de l'hôte vers un conteneur, en suivant les liens symboliques (copie les fichiers liés directement, pas les liens symboliques eux-mêmes) : + +`docker cp {{[-L|--follow-link]}} {{chemin/vers/le_lien_symbolique_de_l_hote}} {{nom_du_conteneur}}:{{chemin/vers/le_fichier_ou_le_dossier_de_conteneur}}` diff --git a/pages.fr/common/docker-diff.md b/pages.fr/common/docker-diff.md new file mode 100644 index 00000000000000..03c599c201e6ff --- /dev/null +++ b/pages.fr/common/docker-diff.md @@ -0,0 +1,12 @@ +# docker diff + +> Inspecte les changements apportés aux fichiers ou dossiers sur le système de fichiers d'un conteneur. +> Plus d'informations : . + +- Inspecte les changements apportés à un conteneur depuis sa création : + +`docker diff {{conteneur}}` + +- Affiche l'aide : + +`docker diff --help` diff --git a/pages.fr/common/docker-exec.md b/pages.fr/common/docker-exec.md new file mode 100644 index 00000000000000..a47cc5052ac252 --- /dev/null +++ b/pages.fr/common/docker-exec.md @@ -0,0 +1,28 @@ +# docker exec + +> Exécute une commande dans un conteneur déjà en cours d'exécution. +> Plus d'informations : . + +- Entrer dans un shell interactif dans un conteneur en cours d'exécution : + +`docker exec {{[-it|--interactive --tty]}} {{nom_du_conteneur}} {{/bin/bash}}` + +- Exécuter une commande en arrière-plan (détachée) dans un conteneur en cours d'exécution : + +`docker exec {{[-d|--detach]}} {{nom_du_conteneur}} {{commande}}` + +- Sélectionner le répertoire de travail pour une commande donnée à exécuter : + +`docker exec {{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{chemin/vers/le/répertoire}} {{nom_du_conteneur}} {{commande}}` + +- Exécuter une commande en arrière-plan sur un conteneur existant mais garder `stdin` ouvert : + +`docker exec {{[-i|--interactive]}} {{[-d|--detach]}} {{nom_du_conteneur}} {{commande}}` + +- Définir une variable d'environnement dans une session Bash en cours d'exécution : + +`docker exec {{[-it|--interactive --tty]}} {{[-e|--env]}} {{variable_d_environnement}}={{valeur}} {{nom_du_conteneur}} {{/bin/bash}}` + +- Exécuter une commande en tant qu'utilisateur spécifique : + +`docker exec {{[-u|--user]}} {{utilisateur}} {{nom_du_conteneur}} {{commande}}` diff --git a/pages.fr/common/docker-image.md b/pages.fr/common/docker-image.md new file mode 100644 index 00000000000000..0db2bbd3b6869a --- /dev/null +++ b/pages.fr/common/docker-image.md @@ -0,0 +1,21 @@ +# docker image + +> Gérer les images Docker. +> Voir aussi `docker build`, `docker import`, and `docker pull`. +> Plus d'informations : . + +- Lister les images Docker locales : + +`docker image ls` + +- Supprimer les images Docker locales inutilisées : + +`docker image prune` + +- Supprimer toutes les images inutilisées (pas seulement celles sans étiquette) : + +`docker image prune --all` + +- Afficher l'historique d'une image Docker locale : + +`docker image history {{image}}` diff --git a/pages.fr/common/docker-images.md b/pages.fr/common/docker-images.md new file mode 100644 index 00000000000000..9f5f7dc9befe63 --- /dev/null +++ b/pages.fr/common/docker-images.md @@ -0,0 +1,24 @@ +# docker images + +> Gérer les images Docker. +> Plus d'informations : . + +- Lister toutes les images Docker : + +`docker images` + +- Lister toutes les images Docker, y compris les intermédiaires : + +`docker images --all` + +- Lister les images Docker en mode silencieux (seulement les IDs numériques) : + +`docker images --quiet` + +- Lister toutes les images Docker non utilisées par un conteneur : + +`docker images --filter dangling=true` + +- Lister les images Docker qui contiennent une sous-chaîne dans leur nom : + +`docker images "{{*nom*}}"` diff --git a/pages.fr/common/docker-inspect.md b/pages.fr/common/docker-inspect.md new file mode 100644 index 00000000000000..71190ceaa8635e --- /dev/null +++ b/pages.fr/common/docker-inspect.md @@ -0,0 +1,32 @@ +# docker inspect + +> Retour d'informations de bas niveau sur les objets Docker. +> Plus d'informations : . + +- Montrer l'aide : + +`docker inspect` + +- Afficher les informations de configuration d'un conteneur, image ou volume en utilisant un nom ou un ID : + +`docker inspect {{conteneur|image|ID}}` + +- Afficher l'adresse IP d'un conteneur : + +`docker inspect {{[-f|--format]}} '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{conteneur}}` + +- Afficher le chemin du fichier journal d'un conteneur : + +`docker inspect {{[-f|--format]}} '\{\{.LogPath\}\}' {{conteneur}}` + +- Afficher le nom de l'image d'un conteneur : + +`docker inspect {{[-f|--format]}} '\{\{.Config.Image\}\}' {{conteneur}}` + +- Afficher les informations de configuration en JSON : + +`docker inspect {{[-f|--format]}} '\{\{json .Config\}\}' {{conteneur}}` + +- Afficher toutes les liaisons de port : + +`docker inspect {{[-f|--format]}} '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{conteneur}}` diff --git a/pages.fr/common/docker-load.md b/pages.fr/common/docker-load.md new file mode 100644 index 00000000000000..ea8725c0595281 --- /dev/null +++ b/pages.fr/common/docker-load.md @@ -0,0 +1,16 @@ +# docker load + +> Charge des images Docker depuis des fichiers ou `stdin`. +> Plus d'informations : . + +- Charge une image Docker depuis `stdin` : + +`docker load < {{chemin/vers/fichier_image.tar}}` + +- Charge une image Docker depuis un fichier spécifique : + +`docker load {{[-i|--input]}} {{chemin/vers/fichier_image.tar}}` + +- Charge une image Docker depuis un fichier spécifique en mode silencieux : + +`docker load {{[-q|--quiet]}} {{[-i|--input]}} {{chemin/vers/fichier_image.tar}}` diff --git a/pages.fr/common/docker-login.md b/pages.fr/common/docker-login.md new file mode 100644 index 00000000000000..ca925db99a2790 --- /dev/null +++ b/pages.fr/common/docker-login.md @@ -0,0 +1,20 @@ +# docker login + +> Se connecter à un registre Docker. +> Plus d'informations : . + +- Se connecter de manière interactive à un registre : + +`docker login` + +- Se connecter à un registre avec un nom d'utilisateur spécifique (l'utilisateur sera invité à saisir un mot de passe) : + +`docker login {{[-u|--username]}} {{nom_d_utilisateur}}` + +- Se connecter à un registre avec un nom d'utilisateur et un mot de passe spécifiques : + +`docker login {{[-u|--username]}} {{nom_d_utilisateur}} {{[-p|--password]}} {{mot_de_passe}} {{serveur}}` + +- Se connecter à un registre avec un mot de passe depuis l'entrée standard : + +`echo "{{mot_de_passe}}" | docker login {{[-u|--username]}} {{nom_d_utilisateur}} --password-stdin` diff --git a/pages.fr/common/docker-logs.md b/pages.fr/common/docker-logs.md new file mode 100644 index 00000000000000..650e3d5ef1712c --- /dev/null +++ b/pages.fr/common/docker-logs.md @@ -0,0 +1,24 @@ +# docker logs + +> Affiche les journaux d'un conteneur. +> Plus d'informations : . + +- Afficher les journaux d'un conteneur : + +`docker logs {{nom_du_conteneur}}` + +- Afficher les journaux d'un conteneur en les suivants : + +`docker logs {{[-f|--follow]}} {{nom_du_conteneur}}` + +- Afficher les 5 dernière lignes des journaux d'un conteneur : + +`docker logs {{nom_du_conteneur}} {{[-n|--tail]}} {{5}}` + +- Afficher les journaux d'un conteneur avec l'horodatage : + +`docker logs {{[-t|--timestamps]}} {{nom_du_conteneur}}` + +- Afficher les journaux d'un conteneur depuis un certain temps (i.e. 23m, 10s, 2013-01-02T13:23:37) : + +`docker logs {{nom_du_conteneur}} --until {{temps}}` diff --git a/pages.fr/common/docker-machine.md b/pages.fr/common/docker-machine.md new file mode 100644 index 00000000000000..c7684627618232 --- /dev/null +++ b/pages.fr/common/docker-machine.md @@ -0,0 +1,28 @@ +# docker-machine + +> Créer et gérer des machines qui exécutent Docker. +> Plus d'informations : . + +- Lister les machines Docker actuellement en cours d'exécution : + +`docker-machine ls` + +- Créer une nouvelle machine Docker avec un nom spécifique : + +`docker-machine create {{nom}}` + +- Récupérer les informations d'une machine Docker : + +`docker-machine status {{nom}}` + +- Démarrer une machine Docker : + +`docker-machine start {{nom}}` + +- Arrêter une machine Docker : + +`docker-machine stop {{nom}}` + +- Inspecter les informations d'une machine Docker : + +`docker-machine inspect {{nom}}` diff --git a/pages.fr/common/docker-network.md b/pages.fr/common/docker-network.md new file mode 100644 index 00000000000000..5dea63be7b685f --- /dev/null +++ b/pages.fr/common/docker-network.md @@ -0,0 +1,32 @@ +# docker network + +> Créer et gérer des réseaux Docker. +> Plus d'informations : . + +- Lister tous les réseaux disponible et configuré du service Docker : + +`docker network ls` + +- Créer un réseau défini par l'utilisateur : + +`docker network create {{[-d|--driver]}} {{nom_du_driver}} {{nom_du_reseau}}` + +- Afficher les informations détaillées des réseaux séparés par des espaces : + +`docker network inspect {{nom_du_reseau}}` + +- Connecter un conteneur à un réseau en utilisant un nom ou un ID : + +`docker network connect {{nom_du_reseau}} {{nom_du_conteneur|ID}}` + +- Déconnecter un conteneur d'un réseau en utilisant un nom ou un ID : + +`docker network disconnect {{nom_du_reseau}} {{nom_du_conteneur|ID}}` + +- Supprimer tous les réseaux non utilisés (non reliés à un conteneur) : + +`docker network prune` + +- Supprimer les réseaux séparés par des espaces : + +`docker network rm {{nom_du_reseau}}` diff --git a/pages.fr/common/docker-ps.md b/pages.fr/common/docker-ps.md new file mode 100644 index 00000000000000..a85531975fc2b9 --- /dev/null +++ b/pages.fr/common/docker-ps.md @@ -0,0 +1,36 @@ +# docker ps + +> Lister les conteneurs Docker. +> Plus d'informations : . + +- Lister les conteneurs Docker en cours d'exécution : + +`docker ps` + +- Lister tous les conteneurs Docker (en cours d'exécution et arrêtés) : + +`docker ps {{[-a|--all]}}` + +- Afficher le dernier conteneur Docker créé (avec tous les états) : + +`docker ps {{[-l|--latest]}}` + +- Afficher les conteneurs avec une chaine de caractère dans leur nom : + +`docker ps {{[-f|--filter]}} "name={{name}}"` + +- Afficher les conteneurs avec une même image comme parent : + +`docker ps {{[-f|--filter]}} "ancestor={{image}}:{{etiquette}}"` + +- Afficher les conteneurs avec un code de sorti spécifique : + +`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{code}}"` + +- Afficher les conteneurs avec un statut spécifique (créé, en cours d'exécution, en cours de suppresion, en pause, arrêté, mort) : + +`docker ps {{[-f|--filter]}} "status={{status}}"` + +- Afficher les conteneurs avec un point de montage spécifique : + +`docker ps {{[-f|--filter]}} "volume={{chemin/vers/le/dossier}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.fr/common/docker-pull.md b/pages.fr/common/docker-pull.md new file mode 100644 index 00000000000000..77c4c05cc54bdb --- /dev/null +++ b/pages.fr/common/docker-pull.md @@ -0,0 +1,24 @@ +# docker pull + +> Télécharge une image Docker depuis le registre. +> Plus d'informations : . + +- Télécharge une image Docker spécifique : + +`docker pull {{image}}:{{étiquette}}` + +- Télécharge une image Docker spécifique en mode silencieux : + +`docker pull {{[-q|--quiet]}} {{image}}:{{étiquette}}` + +- Télécharge toutes les étiquettes d'une image Docker spécifique : + +`docker pull {{[-a|--all-tags]}} {{image}}` + +- Télécharge un image Docker pour une plateforme spécifique, ex : linux/amd64 : + +`docker pull --platform {{linux/amd64}} {{image}}:{{étiquette}}` + +- Affiche l'aide : + +`docker pull {{[-h|--help]}}` diff --git a/pages.fr/common/docker-rename.md b/pages.fr/common/docker-rename.md new file mode 100644 index 00000000000000..55f5cfe3ec35e5 --- /dev/null +++ b/pages.fr/common/docker-rename.md @@ -0,0 +1,12 @@ +# docker rename + +> Renomme un conteneur. +> Plus d'informations : . + +- Renomme un conteneur : + +`docker rename {{conteneur}} {{nouveau_nom}}` + +- Affiche l'aide : + +`docker rename --help` diff --git a/pages.fr/common/docker-rm.md b/pages.fr/common/docker-rm.md new file mode 100644 index 00000000000000..e44bc2465c405b --- /dev/null +++ b/pages.fr/common/docker-rm.md @@ -0,0 +1,20 @@ +# docker rm + +> Supprime un ou plusieurs conteneurs. +> Plus d'informations : . + +- Supprimer des conteneurs : + +`docker rm {{conteneur1 conteneur2 ...}}` + +- Supprimer des conteneurs par la force : + +`docker rm {{[-f|--force]}} {{conteneur1 conteneur2 ...}}` + +- Supprimer un conteneur et ses volumes : + +`docker rm {{[-v|--volumes]}} {{conteneur}}` + +- Affiche l'aide : + +`docker rm {{[-h|--help]}}` diff --git a/pages.fr/common/docker-rmi.md b/pages.fr/common/docker-rmi.md new file mode 100644 index 00000000000000..531b4f7646b90d --- /dev/null +++ b/pages.fr/common/docker-rmi.md @@ -0,0 +1,20 @@ +# docker rmi + +> Supprimer une ou plusieurs images Docker. +> Plus d'informations : . + +- Afficher l'aide : + +`docker rmi` + +- Supprimer une ou plusieurs images en fonction de leurs noms : + +`docker rmi {{image1 image2 ...}}` + +- Supprimer une image en forçant la suppression : + +`docker rmi {{[-f|--force]}} {{image}}` + +- Supprimer une image sans supprimer les parents non étiquetés : + +`docker rmi --no-prune {{image}}` diff --git a/pages.fr/common/docker-run.md b/pages.fr/common/docker-run.md new file mode 100644 index 00000000000000..677622dc32600d --- /dev/null +++ b/pages.fr/common/docker-run.md @@ -0,0 +1,36 @@ +# docker run + +> Exécuter une commande dans un nouveau conteneur Docker. +> Plus d'informations : . + +- Exécuter une commande dans un nouveau conteneur Docker avec une iamge étiquetée : + +`docker run {{image:etiquette}} {{commande}}` + +- Exécuter une commande dans un nouveau contenu Docker en mode détaché (en arrière-plan) et afficher l'ID du conteneur : + +`docker run {{[-d|--detach]}} {{image}} {{commande}}` + +- Exécuter une command dans un conteneur effemère avec une mode interactif et un terminal pseudo-TTY : + +`docker run --rm {{[-it|--interactive --tty]}} {{image}} {{commande}}` + +- Exécuter une commande dans un nouveau conteneur avec des variables d'environnement : + +`docker run {{[-e|--env]}} '{{variable}}={{valuer}}' {{[-e|--env]}} {{variable}} {{image}} {{commande}}` + +- Exécuter une commande dans un nouveau conteneur avec des volumes montés : + +`docker run {{[-v|--volume]}} {{/chemin/vers/l_hote}}:{{chemin/vers/le/conteneur}} {{image}} {{commande}}` + +- Exécuter une commande dans un nouveau conteneur avec des ports publiés : + +`docker run {{[-p|--publish]}} {{port_de_l_hote}}:{{port_du_conteneur}} {{image}} {{commande}}` + +- Exécuter une commande dans un nouveau conteneur en écrasant l'entrée du point d'entrée de l'image : + +`docker run --entrypoint {{commande}} {{image}}` + +- Exécuter une commande dans un nouveau conteneur en le connectant à un réseau : + +`docker run --network {{reseau}} {{image}}` diff --git a/pages.fr/common/docker-save.md b/pages.fr/common/docker-save.md new file mode 100644 index 00000000000000..dfec408cc15211 --- /dev/null +++ b/pages.fr/common/docker-save.md @@ -0,0 +1,20 @@ +# docker save + +> Exporeter une ou plusieurs images Docker dans une archive. +> Plus d'informations : . + +- Sauvegarder une image en redirigeant la sortie standard vers une archive tar : + +`docker save {{image}}:{{etquette}} > {{chemin/vers/fichier.tar}}` + +- Sauvegarder une image dans une archive tar : + +`docker save {{[-o|--output]}} {{chemin/vers/fichier.tar}} {{image}}:{{etquette}}` + +- Sauvegarder toutes les étiquettes de l'image : + +`docker save {{[-o|--output]}} {{chemin/vers/fichier.tar}} {{nom_de_l_image}}` + +- Sélectionner des étiquettes particulières d'une image à sauvegarder : + +`docker save {{[-o|--output]}} {{chemin/vers/fichier.tar}} {{nom_de_l_image:etquette1 nom_de_l_image:etquette2 ...}}` diff --git a/pages.fr/common/docker-secret.md b/pages.fr/common/docker-secret.md new file mode 100644 index 00000000000000..fe4383449a8cef --- /dev/null +++ b/pages.fr/common/docker-secret.md @@ -0,0 +1,24 @@ +# docker secret + +> Gérer les secrets de Docker swarm. +> Plus d'informations : . + +- Créer un nouveau secret depuis l'entrée standard : + +`{{commande}} | docker secret create {{nom_du_secret}} -` + +- Créer un nouveau secret depuis un fichier : + +`docker secret create {{nom_du_secret}} {{chemin/vers/fichier}}` + +- Lister tous les secrets : + +`docker secret ls` + +- Afficher des informations détaillées sur un ou plusieurs secrets dans un format humain : + +`docker secret inspect --pretty {{nom_du_secret1 nom_du_secret2 ...}}` + +- Supprimer un ou plusieurs secrets : + +`docker secret rm {{nom_du_secret1 nom_du_secret2 ...}}` diff --git a/pages.fr/common/docker-service.md b/pages.fr/common/docker-service.md new file mode 100644 index 00000000000000..e14eef65050a88 --- /dev/null +++ b/pages.fr/common/docker-service.md @@ -0,0 +1,28 @@ +# docker service + +> Gérer les services sur un démon Docker. +> Plus d'informations : . + +- Lister les services sur un démon Docker : + +`docker service ls` + +- Créer un nouveau service : + +`docker service create --name {{nom_du_service}} {{image}}:{{etiquette}}` + +- Afficher des informations détaillées d'une liste de services séparée par des espaces : + +`docker service inspect {{nom_du_service|ID}}` + +- Lister les tâches d'une liste de services séparée par des espaces : + +`docker service ps {{nom_du_service|ID}}` + +- Redimensionner à un nombre spécifique de réplicas pour une liste de services séparée par des espaces : + +`docker service scale {{nom_du_service}}={{count_of_replicas}}` + +- Supprimer une liste de services séparée par des espaces : + +`docker service rm {{nom_du_service|ID}}` diff --git a/pages.fr/common/docker-slim.md b/pages.fr/common/docker-slim.md new file mode 100644 index 00000000000000..8b5f7db028946a --- /dev/null +++ b/pages.fr/common/docker-slim.md @@ -0,0 +1,24 @@ +# docker-slim + +> Analyser et optimiser les images Docker. +> Plus d'informations : . + +- Démarrer DockerSlim en mode interactif : + +`docker-slim` + +- Analyser les couches Docker à partir d'une image spécifique : + +`docker-slim xray --target {{image:etiquette}}` + +- Linter un Dockerfile : + +`docker-slim lint --target {{chemin/vers/Dockerfile}}` + +- Analyser et générer une image Docker optimisée : + +`docker-slim build {{image:etiquette}}` + +- Afficher l'aide pour une sous-commande : + +`docker-slim {{subcommande}} --help` diff --git a/pages.fr/common/docker-start.md b/pages.fr/common/docker-start.md new file mode 100644 index 00000000000000..12e7057db5dab9 --- /dev/null +++ b/pages.fr/common/docker-start.md @@ -0,0 +1,20 @@ +# docker start + +> Lancer un ou plusieurs conteneurs arrêtés. +> Plus d'informations : . + +- Afficher l'aide : + +`docker start` + +- Lancer un conteneur Docker : + +`docker start {{conteneur}}` + +- Lancer un conteneur, en attachant `stdout` et `stderr` et en transférant les signaux : + +`docker start {{[-a|--attach]}} {{conteneur}}` + +- Lancer un ou plusieurs conteneurs séparés par des espaces : + +`docker start {{conteneur1 conteneur2 ...}}` diff --git a/pages.fr/common/docker-stats.md b/pages.fr/common/docker-stats.md new file mode 100644 index 00000000000000..84c25eb391c17b --- /dev/null +++ b/pages.fr/common/docker-stats.md @@ -0,0 +1,24 @@ +# docker stats + +> Affiché un flux en direct des statistiques d'utilisation des ressources pour les conteneurs. +> Plus d'informations : . + +- Afficher un flux en direct des statistiques d'utilisation des ressources pour tous les conteneurs : + +`docker stats` + +- Afficher un flux en direct des statistiques d'utilisation des ressources pour un ou plusieurs conteneurs séparés par des espaces : + +`docker stats {{nom_du_conteneur}}` + +- Change le format de sortie pour afficher l'utilisation CPU du conteneur en pourcentage : + +`docker stats --format "{{.Name}}:\t{{.CPUPerc}}"` + +- Afficher les statistiques d'utilisation des ressources pour tous les conteneurs (y compris ceux qui ne sont pas en cours d'exécution) : + +`docker stats {{[-a|--all]}}` + +- Desactiver le flux en direct des statistiques d'utilisation des ressources et afficher les statistiques une seule fois : + +`docker stats --no-stream` diff --git a/pages.fr/common/docker-swarm.md b/pages.fr/common/docker-swarm.md new file mode 100644 index 00000000000000..cafaf51baac1c3 --- /dev/null +++ b/pages.fr/common/docker-swarm.md @@ -0,0 +1,32 @@ +# docker swarm + +> Outil d'orchestration de conteneurs. +> Plus d'informations : . + +- Initialiser un cluster swarm : + +`docker swarm init` + +- Afficher le jeton pour rejoindre un cluster swarm en tant que nœud manager ou worker : + +`docker swarm join-token {{worker|manager}}` + +- Rejoindre un nouveau nœud au cluster : + +`docker swarm join --token {{jeton}} {{url_du_manager:2377}}` + +- Supprimer un worker du cluster (à exécuter dans le nœud worker) : + +`docker swarm leave` + +- Afficher le certificat CA actuel au format PEM : + +`docker swarm ca` + +- Changer la certificat CA actuel et afficher le nouveau certificat : + +`docker swarm ca --rotate` + +- Changer la période de validité des certificats des nœuds : + +`docker swarm update --cert-expiry {{heures}}h{{minutes}}m{{secondes}}s` diff --git a/pages.fr/common/docker-system.md b/pages.fr/common/docker-system.md new file mode 100644 index 00000000000000..7f9b66a77f6692 --- /dev/null +++ b/pages.fr/common/docker-system.md @@ -0,0 +1,36 @@ +# docker system + +> Gérer les données Docker et afficher des informations sur l'ensemble du système. +> Plus d'informations : . + +- Afficher l'aide : + +`docker system` + +- Afficher l'utilisation du disque par Docker : + +`docker system df` + +- Afficher des informations détaillées sur l'utilisation du disque par Docker : + +`docker system df {{[-v|--verbose]}}` + +- Supprimer les données non utilisées : + +`docker system prune` + +- Supprimer les données non utilisées de plus d'un temps donné dans le passé : + +`docker system prune --filter "until={{heures}}h{{minutes}}m"` + +- Afficher les événements du démon Docker en temps réel : + +`docker system events` + +- Afficher les événements du démon Docker en temps réel avec un format JSON : + +`docker system events {{[-f|--filter]}} 'type=container' --format '{{json .}}'` + +- Afficher les informations sur le système Docker : + +`docker system info` diff --git a/pages.fr/common/docker-volume.md b/pages.fr/common/docker-volume.md new file mode 100644 index 00000000000000..09b6da150b2790 --- /dev/null +++ b/pages.fr/common/docker-volume.md @@ -0,0 +1,36 @@ +# docker volume + +> Gérer les volumes de Docker. +> Plus d'informations : . + +- Créer un volume : + +`docker volume create {{nom_du_volume}}` + +- Créer un volume avec une étiquette spécifique : + +`docker volume create --label {{étiuette}} {{nom_du_volume}}` + +- Créer un volume `tmpfs` avec une taille de 100 Mo et un uid de 1000 : + +`docker volume create --opt {{type}}={{tmpfs}} --opt {{device}}={{tmpfs}} --opt {{o}}={{size=100m,uid=1000}} {{nom_du_volume}}` + +- Lister tous les volumes : + +`docker volume ls` + +- Supprimer un volume : + +`docker volume rm {{nom_du_volume}}` + +- Afficher des informations sur un volume : + +`docker volume inspect {{nom_du_volume}}` + +- Supprimer tous les volumes locaux non utilisés : + +`docker volume prune` + +- Afficher l'aide pour une sous-commande : + +`docker volume {{sous_commande}} --help` diff --git a/pages.fr/common/docker.md b/pages.fr/common/docker.md index 08bd1354c11ece..c2477623510b97 100644 --- a/pages.fr/common/docker.md +++ b/pages.fr/common/docker.md @@ -1,36 +1,37 @@ # docker > Gestion des conteneurs et des images Docker. -> Plus d'informations : . +> Certaines commandes comme `docker run` ont leur propre documentation. +> Plus d'informations : . -- Liste les conteneurs Docker en cours d'exécution : +- Liste tous les conteneurs Docker (en cours d'exécution ou arrêtés) : -`docker ps` +`docker ps {{[-a|--all]}}` -- Liste tous les conteneurs Docker (en cours d'exécution ou arrêtés) : - -`docker ps -a` - -- Démarre un conteneur à partir d'une image, avec un nom personnalisé : +- Démarre un conteneur à partir d'une image, avec un nom personnalisé : `docker run --name {{nom_conteneur}} {{image}}` -- Démarre ou arrête un conteneur existant : +- Démarre ou arrête un conteneur existant : `docker {{start|stop}} {{nom_conteneur}}` -- Télécharge une image depuis un registre Docker : +- Télécharge une image depuis un registre Docker : `docker pull {{image}}` -- Ouvre un shell dans un conteneur déjà en cours d'exécution : +- Affiche les images déjà téléchargées : + +`docker images` + +- Ouvre un shell dans un conteneur déjà en cours d'exécution : -`docker exec -it {{nom_conteneur}} {{sh}}` +`docker exec {{[-it|--interactive --tty]}} {{nom_conteneur}} {{sh}}` -- Supprime un conteneur arrêté : +- Supprime un conteneur arrêté : `docker rm {{nom_conteneur}}` -- Récupère et suit les journaux de message d'un conteneur : +- Récupère et suit les journaux de message d'un conteneur : -`docker logs -f {{nom_conteneur}}` +`docker logs {{[-f|--follow]}} {{nom_conteneur}}` diff --git a/pages.fr/common/drill.md b/pages.fr/common/drill.md new file mode 100644 index 00000000000000..9b3dd70d906751 --- /dev/null +++ b/pages.fr/common/drill.md @@ -0,0 +1,32 @@ +# drill + +> Effectue diverses requêtes DNS. +> Plus d'informations : . + +- Recherche des adresses IP(s) associées à un nom d'hôte (enregistrements A) : + +`drill {{example.com}}` + +- Recherche le(s) serveur(s) de messagerie associé(s) à un nom de domaine donné (enregistrement MX) : + +`drill mx {{example.com}}` + +- Obtient tous les types d'enregistrements pour un nom de domaine donné : + +`drill any {{example.com}}` + +- Spécifie un autre serveur DNS à interroger : + +`drill {{example.com}} @{{8.8.8.8}}` + +- Effectue une recherche DNS inversée sur une adresse IP (enregistrement PTR) : + +`drill -x {{8.8.8.8}}` + +- Suit la traçabilité DNSSEC des serveurs racines jusqu'à un nom de domaine : + +`drill -TD {{example.com}}` + +- Affiche le(s) enregistrement(s) DNSKEY d'un nom de domaine : + +`drill -s dnskey {{example.com}}` diff --git a/pages.fr/common/du.md b/pages.fr/common/du.md new file mode 100644 index 00000000000000..6c3721ffdd6a89 --- /dev/null +++ b/pages.fr/common/du.md @@ -0,0 +1,32 @@ +# du + +> Utilisation de disque : estime et résume l'utilisation de l'espace occupé par les fichiers et les répertoires. +> Plus d'informations : . + +- Liste les tailles d'un répertoire et de ses sous-répertoires, dans l'unité donnée (o/Kio/Mio) : + +`du -{{b|k|m}} {{chemin/vers/répertoire}}` + +- Liste les tailles d'un répertoire et de ses sous-répertoires, sous une forme lisible par l'homme (c'est-à-dire en sélectionnant automatiquement l'unité appropriée pour chaque taille) : + +`du {{[-h|--human-readable]}} {{chemin/vers/répertoire}}` + +- Affiche la taille d'un répertoire unique, en unités lisibles par l'homme : + +`du {{[-sh|--summarize --human-readable]}} {{chemin/vers/répertoire}}` + +- Liste les tailles, en unités lisibles par l'homme, d'un répertoire et de tous les fichiers et répertoires qu'il contient : + +`du {{[-ah|--all --human-readable]}} {{chemin/vers/répertoire}}` + +- Liste les tailles, en unités lisibles par l'homme, d'un répertoire et de ses sous-répertoires, jusqu'à N niveaux de profondeur : + +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{chemin/vers/répertoire}}` + +- Liste la taille, en unités lisible par l'homme, de tous les fichiers `.jpg` dans les sous-répertoires du répertoire courant, et affiche un total cumulatif à la fin : + +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` + +- Liste tous les fichiers et répertoires (y compris les fichiers cachés) dépassant un certain seuil (utile pour déterminer ce qui occupe réellement l'espace) : + +`du {{[-ah|--all --human-readable]}} {{[-t|--threshold]}} {{1G|1024M|1048576K}} .[^.]* *` diff --git a/pages.fr/common/echo.md b/pages.fr/common/echo.md index 565fe8529f4ce5..67cb5f155bcb3e 100644 --- a/pages.fr/common/echo.md +++ b/pages.fr/common/echo.md @@ -1,12 +1,13 @@ # echo > Affiche les paramètres donnés dans la console. +> Plus d'informations : . - Affiche un message (les guillemets sont facultatifs) : `echo "{{Hello World}}"` -- Affiche un message avec des variables d'environment : +- Affiche un message avec des variables d'environnement : `echo "{{Ma variable PATH est $PATH}}"` diff --git a/pages.fr/common/egrep.md b/pages.fr/common/egrep.md new file mode 100644 index 00000000000000..b3e5ca6109d046 --- /dev/null +++ b/pages.fr/common/egrep.md @@ -0,0 +1,28 @@ +# egrep + +> Recherche de motifs dans un texte. Supporte la version étendues des expressions regulieres (`?`, `+`, `{}`, `()` et `|`). +> Plus d'informations : . + +- Recherche une chaîne de caractères précise : + +`egrep "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` + +- Recherche une chaîne de caractères dans plusieurs fichiers : + +`egrep "{{chaîne_recherchée}}" {{chemin/vers/fichier1 chemin/vers/fichier2 ...}}` + +- Utilise l'entrée standard au lieu d'un fichier : + +`cat {{chemin/vers/fichier}} | egrep {{chaîne_recherchée}}` + +- Affiche le nom du fichier avec la ligne correspondante pour chaque concordance : + +`egrep --with-filename --line-number "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` + +- Recherche récursivement dans le dossier courant, en ignorant les fichiers binaires, une chaîne de caractères précise : + +`egrep --recursive --binary-files={{without-match}} "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` + +- Inverse le résultat pour exclure des chaînes de caractères spécifiques : + +`egrep --invert-match "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` diff --git a/pages.fr/common/env.md b/pages.fr/common/env.md new file mode 100644 index 00000000000000..8fc2978cc86e78 --- /dev/null +++ b/pages.fr/common/env.md @@ -0,0 +1,28 @@ +# env + +> Affiche l'environnement ou exécute un programme dans un environnement modifié. +> Plus d'informations : . + +- Affiche l'environnement : + +`env` + +- Exécute le programme donné. Souvent utilisé dans les scripts après le shebang (`#!`) pour consulter le chemin vers le programme : + +`env {{programme}}` + +- Exécute le programme donné, avec un environnement vide : + +`env -i {{programme}}` + +- Supprime une variable d'environnement et execute le programme donné : + +`env -u {{variable}} {{programme}}` + +- Définit ou modifie une variable d'environnement et execute le programme donné : + +`env {{variable}}={{valeur}} {{programme}}` + +- Définit ou modifie plusieurs variables d'environnement et execute le programme donné : + +`env {{variable1}}={{valeur}} {{variable2}}={{valeur}} {{variable3}}={{valeur}} {{programme}}` diff --git a/pages.fr/common/errno.md b/pages.fr/common/errno.md new file mode 100644 index 00000000000000..8739f014229821 --- /dev/null +++ b/pages.fr/common/errno.md @@ -0,0 +1,20 @@ +# errno + +> Recherche les noms et descriptions des codes errno. +> Plus d'informations : . + +- Recherche la description d'une erreur par nom ou par code : + +`errno {{nom|code}}` + +- Liste tous les noms, codes et descriptions d'errno : + +`errno --list` + +- Cherche les codes dont la description contient le texte entier indiqué : + +`errno --search {{texte}}` + +- Cherche les codes dont la description contient le texte entier indiqué (dans toutes les langues) : + +`errno --search-all-locales {{texte}}` diff --git a/pages.fr/common/exa.md b/pages.fr/common/exa.md new file mode 100644 index 00000000000000..52559c704bf2b9 --- /dev/null +++ b/pages.fr/common/exa.md @@ -0,0 +1,36 @@ +# exa + +> Une alternative moderne à `ls` (pour lister le contenu de répertoires). +> Plus d'informations : . + +- Liste les fichiers, un par ligne : + +`exa {{[-1|--oneline]}}` + +- Liste tous les fichiers, y compris les fichiers cachés : + +`exa {{[-a|--all]}}` + +- Liste au format long (autorisations, propriété, taille et date de modification) de tous les fichiers : + +`exa {{[-l|--long]}} {{[-a|--all]}}` + +- Liste les fichiers avec le plus volumineux en haut : + +`exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` + +- Affiche une arborescence de fichiers, sur trois niveaux de profondeur : + +`exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}` + +- Liste des fichiers triés par date de modification (le plus ancien en premier) : + +`exa {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` + +- Liste les fichiers avec leur en-tête, leur icône et leur statut Git : + +`exa {{[-l|--long]}} {{[-h|--header]}} --icons --git` + +- Liste les fichiers sauf ceux mentionnés dans `.gitignore` : + +`exa --git-ignore` diff --git a/pages.fr/common/fdupes.md b/pages.fr/common/fdupes.md new file mode 100644 index 00000000000000..6399c3e8ab18fd --- /dev/null +++ b/pages.fr/common/fdupes.md @@ -0,0 +1,28 @@ +# fdupes + +> Trouve les fichiers dupliqués dans les dossiers donnés. +> Plus d'informations : . + +- Chercher dans un dossier : + +`fdupes {{dossier}}` + +- Chercher dans plusieurs dossiers : + +`fdupes {{dossier1}} {{dossier2}}` + +- Chercher dans un dossier récursivement : + +`fdupes -r {{dossier}}` + +- Chercher dans plusieurs dossiers dont un récursivement : + +`fdupes {{dossier1}} -R {{dossier2}}` + +- Chercher récursivement les dupliqués et demander les fichiers à conserver, supprimant les autres : + +`fdupes -rd {{dossier}}` + +- Chercher récursivement et supprimer les dupliqués automatiquement : + +`fdupes -rdN {{dossier}}` diff --git a/pages.fr/common/ffuf.md b/pages.fr/common/ffuf.md new file mode 100644 index 00000000000000..ae1979dee5a4fa --- /dev/null +++ b/pages.fr/common/ffuf.md @@ -0,0 +1,25 @@ +# ffuf + +> Un outil d'énumération web rapide écrit en Go. +> Le mot-clé `FUZZ` est utilisé comme substitut. `ffuf` essaiera d'atteindre l'URL en remplaçant le mot `FUZZ` par tous les mots de la liste donnée. +> Plus d'informations : . + +- Énumère les répertoires en utilisant une sortie [c]olorée et une liste ([w]ordlist) spécifiant une [u]RL cible : + +`ffuf -c -w {{chemin/vers/liste.txt}} -u {{http://cible/FUZZ}}` + +- Énumère les sous-domaines en changeant la position du mot-clé : + +`ffuf -w {{chemin/vers/sous-domaines.txt}} -u {{http://FUZZ.cible.com}}` + +- Énumère avec le nombre de fils d'exécution ([t]hreads) spécifié (par défaut : 40) et passe le trafic par un serveur mandataire (pro[x]y) et sauvegarde la sortie ([o]utput) dans un fichier : + +`ffuf -o -w {{chemin/vers/liste.txt}} -u {{http://cible/FUZZ}} -t {{500}} -x {{http://127.0.0.1:8080}}` + +- Énumère dans un en-tête ([H]eader) spécifique ("Nom : Valeur") et n'affiche que les [c]odes d'état HTTP correspondant ([m]atch) : + +`ffuf -w {{chemin/vers/liste.txt}} -u {{http://cible.com}} -H "{{Host: FUZZ}}" -mc {{200}}` + +- Énumère en spécifiant une méthode HTTP spécifiée et des [d]onnées, tout en [f]iltrant les [c]odes d'état séparés par des virgules : + +`ffuf -w {{chemin/vers/postdata.txt}} -X {{POST}} -d "{{username=admin\&password=FUZZ}}" -u {{http://cible/login.php}} -fc {{401,403}}` diff --git a/pages.fr/common/find.md b/pages.fr/common/find.md new file mode 100644 index 00000000000000..d08f4630132e6d --- /dev/null +++ b/pages.fr/common/find.md @@ -0,0 +1,36 @@ +# find + +> Trouve récursivement des fichiers ou des dossiers dans l'arborescence spécifiée. +> Plus d'informations : . + +- Trouve des fichiers par extension : + +`find {{racine}} -name '{{*.ext}}'` + +- Trouve des fichiers correspondant à plusieurs chemins ou motifs : + +`find {{racine}} -path '{{**/chemin/**/*.ext}}' -or -name '{{*motif*}}'` + +- Trouve des dossiers correspondant à un nom donné sans vérifier la casse : + +`find {{racine}} -type d -iname '{{*lib*}}'` + +- Trouve des fichiers correspondant à un motif donné en excluant certains chemins de la recherche : + +`find {{racine}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- Trouve des fichiers dans une fourchette de tailles et limite la profondeur récursive à "1" : + +`find {{racine}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- Exécute une commande pour chaque fichier (utiliser `{}` dans la commande pour utiliser le nom des fichiers) : + +`find {{racine}} -name '{{*.ext}}' -exec {{wc -l {} }}\;` + +- Trouve les fichiers modifiés dans les 7 derniers jours : + +`find {{racine}} -daystart -mtime -{{7}}` + +- Trouve les fichiers vides (de taille nulle) et les supprimer : + +`find {{racine}} -type {{f}} -empty -delete` diff --git a/pages.fr/common/fish.md b/pages.fr/common/fish.md new file mode 100644 index 00000000000000..c8d30588dc90e7 --- /dev/null +++ b/pages.fr/common/fish.md @@ -0,0 +1,32 @@ +# fish + +> Friendly Interactive SHell, un interpréteur de ligne de commande, conçu pour être facile à utiliser. +> Plus d'informations : . + +- Démarre une session shell interactive : + +`fish` + +- Exécute une commande, puis termine la session : + +`fish {{[-c|--command]}} "{{commande}}"` + +- Exécute un script : + +`fish {{chemin/vers/le/script.fish}}` + +- Vérifie les erreurs de syntaxe dans un script : + +`fish {{[-N|--no-execute]}} {{chemin/vers/le/script.fish}}` + +- Démarre une session shell interactive en mode privé, dans laquelle le shell n'a pas accès à l'historique et n'y écrit rien : + +`fish {{[-P|--private]}}` + +- Affiche les informations de version : + +`fish {{[-v|--version]}}` + +- Ajoute et exporte une variable d'environnement, qui persiste entre les redémarrages du shell (à exécuter depuis le shell uniquement) : + +`set -Ux {{nom_de_la_variable}} {{valeur_de_la_variable}}` diff --git a/pages.fr/common/fossil-ci.md b/pages.fr/common/fossil-ci.md new file mode 100644 index 00000000000000..53f83a314ded24 --- /dev/null +++ b/pages.fr/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Cette commande est un alias de `fossil commit`. + +- Voir la documentation de la commande originale : + +`tldr fossil commit` diff --git a/pages.fr/common/fossil-forget.md b/pages.fr/common/fossil-forget.md new file mode 100644 index 00000000000000..cbbf626cd4765c --- /dev/null +++ b/pages.fr/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Cette commande est un alias de `fossil rm`. +> Plus d'informations : . + +- Voir la documentation de la commande originale : + +`tldr fossil rm` diff --git a/pages.fr/common/fossil-new.md b/pages.fr/common/fossil-new.md new file mode 100644 index 00000000000000..66dfc523d5c98c --- /dev/null +++ b/pages.fr/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Cette commande est un alias de `fossil init`. + +- Voir la documentation de la commande originale : + +`tldr fossil init` diff --git a/pages.fr/common/fossil-rm.md b/pages.fr/common/fossil-rm.md new file mode 100644 index 00000000000000..6444fbad92ca6c --- /dev/null +++ b/pages.fr/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Cette commande est un alias de `fossil delete`. + +- Voir la documentation de la commande originale : + +`tldr fossil delete` diff --git a/pages.fr/common/ftp.md b/pages.fr/common/ftp.md index 74470333e93676..c1c3119f9a120d 100644 --- a/pages.fr/common/ftp.md +++ b/pages.fr/common/ftp.md @@ -1,31 +1,36 @@ # ftp -> Outils permettant d'interragir avec un serveur avec le protocole FTP. +> Outils permettant d'interagir avec un serveur avec le protocole FTP. +> Plus d'informations : . -- Se connecter à un serveur FTP : +- Connexion à un serveur FTP : `ftp {{ftp.exemple.com}}` -- Passer au mode de transfert binaire (medias, fichiers compressés, etc) : +- Connexion à un serveur FTP en spécifiant son adresse IP et son port : + +`ftp {{adresse_IP}} {{port}}` + +- Passe en mode de transfert binaire (médias, fichiers compressés, etc) : `binary` -- Transférer plusieurs fichiers sans demander de confirmation pour chaque : +- Transfère plusieurs fichiers sans demander de confirmation pour chaque : `prompt off` -- Télécharger plusieurs fichiers : +- Télécharge plusieurs fichiers : `mget {{*.png}}` -- Uploader plusieurs fichiers : +- Téléverse plusieurs fichiers : `mput {{*.zip}}` -- Supprimer plusieurs fichiers sur le serveur distant : +- Supprime plusieurs fichiers sur le serveur distant : `mdelete {{*.txt}}` -- Renommer un fichier sur le serveur distant : +- Renomme un fichier sur le serveur distant : `rename {{ancien_fichier}} {{nouveau_fichier}}` diff --git a/pages.fr/common/fzf.md b/pages.fr/common/fzf.md new file mode 100644 index 00000000000000..aa4dd2cdb04135 --- /dev/null +++ b/pages.fr/common/fzf.md @@ -0,0 +1,29 @@ +# fzf + +> Recherche approximative en ligne de commande. +> Similaire à `sk`. +> Plus d'informations : . + +- Lance `fzf` sur tous les fichiers du répertoire spécifié : + +`find {{chemin/vers/répertoire}} -type f | fzf` + +- Démarre `fzf` pour les processus en cours : + +`ps aux | fzf` + +- Sélectionne plusieurs fichiers avec `` et écrit dans un fichier : + +`find {{chemin/vers/répertoire}} -type f | fzf {{[-m|--multi]}} > {{chemin/vers/fichier}}` + +- Lance `fzf` avec une requête donnée : + +`fzf {{[-q|--query]}} "{{query}}"` + +- Lance `fzf` sur les entrées qui commencent par core et se terminent par go, rb, ou py : + +`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"` + +- Lance `fzf` sur les entrées qui ne correspondent pas à pyc et qui correspondent exactement à travis : + +`fzf {{[-q|--query]}} "!pyc 'travis"` diff --git a/pages.fr/common/gcc.md b/pages.fr/common/gcc.md new file mode 100644 index 00000000000000..375b09871fa279 --- /dev/null +++ b/pages.fr/common/gcc.md @@ -0,0 +1,24 @@ +# gcc + +> Préprocesse et compile des fichiers sources C et C++, pour ensuite les assembler et les lier entre eux. +> Plus d'informations : . + +- Compile plusieurs fichiers source en un exécutable : + +`gcc {{chemin/vers/le/fichier1.c chemin/vers/le/fichier2.c ...}} {{[-o|--output]}} {{chemin/vers/l'exécutable/à/produire}}` + +- Active les averissements et les symboles de débogage dans la sortie de commande : + +`gcc {{chemin/vers/le/fichiersource.c}} -Wall -Og {{[-o|--output]}} {{chemin/vers/l'exécutable/à/produire}}` + +- Inclut les bibliothèques depuis un chemin différent de celui par défaut : + +`gcc {{chemin/vers/le/fichiersource.c}} {{[-o|--output]}} {{chemin/vers/l'exécutable/à/produire}} -I{{chemin/vers/les/fichiers/d'en-tête}} -L{{chemin/vers/la/bibliothèque}} -l{{bibliothèque}}` + +- Compile le code source en des instructions d'assemblage : + +`gcc {{[-S|--assemble]}} {{chemin/vers/le/fichiersource.c}}` + +- Compile le code source en un fichier objet sans le lier : + +`gcc {{[-c|--compile]}} {{chemin/vers/le/fichiersource.c}}` diff --git a/pages.fr/common/gdb.md b/pages.fr/common/gdb.md new file mode 100644 index 00000000000000..5582c93b7e584a --- /dev/null +++ b/pages.fr/common/gdb.md @@ -0,0 +1,24 @@ +# gdb + +> Le débogueur GNU. +> Plus d'informations : . + +- Débogue un exécutable : + +`gdb {{exécutable}}` + +- Attache un processus à gdb : + +`gdb {{[-p|--pid]}} {{identifiant_processus}}` + +- Débogue avec un fichier comme image mémoire : + +`gdb {{[-c|--core]}} {{fichier}} {{exécutable}}` + +- Execute les commandes gdb données au démarrage : + +`gdb {{[-ex|--eval-command]}} "{{commandes}}" {{exécutable}}` + +- Démarre gdb en passant des arguments à l'exécutable : + +`gdb --args {{exécutable}} {{argument1}} {{argument2}}` diff --git a/pages.fr/common/gem.md b/pages.fr/common/gem.md new file mode 100644 index 00000000000000..eda510bf80a70f --- /dev/null +++ b/pages.fr/common/gem.md @@ -0,0 +1,36 @@ +# gem + +> Un gestionnaire de paquets pour le langage de programmation Ruby. +> Plus d'informations : . + +- Recherche des gems distantes et affiche toutes les versions disponibles : + +`gem search {{expression_régulière}} {{[-a|--all]}}` + +- Installe la dernière version d'une gem : + +`gem install {{nom_gem}}` + +- Installe une version spécifique d'une gem : + +`gem install {{nom_gem}} {{[-v|--version]}} {{1.0.0}}` + +- Installe la dernière version correspondante (SemVer) d'une gem : + +`gem install {{nom_gem}} {{[-v|--version]}} '~> {{1.0}}'` + +- Mise à jour d'une gem : + +`gem update {{nom_gem}}` + +- Liste toutes les gems locales : + +`gem list` + +- Désinstalle une gem : + +`gem uninstall {{nom_gem}}` + +- Désinstalle une version spécifique d'une gem : + +`gem uninstall {{nom_gem}} {{[-v|--version]}} {{1.0.0}}` diff --git a/pages.fr/common/gh-alias.md b/pages.fr/common/gh-alias.md new file mode 100644 index 00000000000000..d19ccd38dcc32d --- /dev/null +++ b/pages.fr/common/gh-alias.md @@ -0,0 +1,24 @@ +# gh alias + +> Gérer les alias de commandes GitHub CLI depuis la ligne de commande. +> Plus d'informations : . + +- Liste tous les alias pour lesquels `gh` est configuré : + +`gh alias list` + +- Crée un alias de sous-commande pour `gh` : + +`gh alias set {{alias}} '{{commande_gh}}'` + +- Définit une commande shell comme sous-commande de `gh` : + +`gh alias set --shell {{nom_de_l'alias}} {{commande}}` + +- Supprime un alias : + +`gh alias delete {{nom_de_l'alias}}` + +- Affiche l'aide pour la sous-commande `alias` : + +`gh alias` diff --git a/pages.fr/common/gh-cs.md b/pages.fr/common/gh-cs.md new file mode 100644 index 00000000000000..cd8cb801c99132 --- /dev/null +++ b/pages.fr/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Cette commande est un alias de `gh codespace`. + +- Voir la documentation de la commande originale : + +`tldr gh codespace` diff --git a/pages.fr/common/gh.md b/pages.fr/common/gh.md new file mode 100644 index 00000000000000..9c24c100fb4890 --- /dev/null +++ b/pages.fr/common/gh.md @@ -0,0 +1,37 @@ +# gh + +> Travailler harmonieusement avec GitHub depuis la ligne de commande. +> Certaines commandes comme `gh config` ont leur propre documentation. +> Plus d'informations : . + +- Clone un dépôt GitHub localement : + +`gh repo clone {{utilisateur}}/{{dépôt}}` + +- Crée une nouvelle issue : + +`gh issue create` + +- Affiche et filtre les issues ouvertes du dépôt courant : + +`gh issue list` + +- Affiche une issue dans le navigateur Web par défaut : + +`gh issue view --web {{numéro_de_l'issue}}` + +- Crée une pull request : + +`gh pr create` + +- Affiche une pull request dans le navigateur Web par défaut : + +`gh pr view --web {{numéro_de_la_PR}}` + +- Observe une pull request spécifique localement : + +`gh pr checkout {{numéro_de_la_PR}}` + +- Affiche le statut des pull requests du dépôt courant : + +`gh pr status` diff --git a/pages.fr/common/ghdl.md b/pages.fr/common/ghdl.md index d8c69a4e60fe04..3b3f9062226ed2 100644 --- a/pages.fr/common/ghdl.md +++ b/pages.fr/common/ghdl.md @@ -1,13 +1,13 @@ # ghdl -> Simulateur à source ouverte pour le langage VHDL. -> Plus d'informations : . +> Simulateur à source ouvert pour le langage VHDL. +> Plus d'informations : . - Analyse un fichier de source VHDL et génère un fichier objet : `ghdl -a {{fichier.vhdl}}` -- Élabore un design (où `{{design}}` est le nom d'une unité de configuration, d'entité, ou d'architecture) : +- Élabore un design (où `design` est le nom d'une unité de configuration, d'entité, ou d'architecture) : `ghdl -e {{design}}` diff --git a/pages.fr/common/gimp.md b/pages.fr/common/gimp.md new file mode 100644 index 00000000000000..b431c3eb5e12a4 --- /dev/null +++ b/pages.fr/common/gimp.md @@ -0,0 +1,29 @@ +# gimp + +> Outil d'édition et de retouche d'image, libre et multiplateforme. +> Voir aussi : `krita`. +> Plus d'informations : . + +- Démarre GIMP : + +`gimp` + +- Ouvre les fichiers spécifiés : + +`gimp {{chemin/vers/image1 chemin/vers/image2 ...}}` + +- Ouvre les fichiers spécifiés avec une nouvelle Démarre une nouvelle cadre : + +`gimp --new-instance {{chemin/vers/image1 chemin/vers/image2 ...}}` + +- Démarre sans l'écran de démarrage : + +`gimp --no-splash` + +- Affiche les erreurs et les avertissements sur la console au lieu de les afficher dans une boîte de dialogue : + +`gimp --console-messages` + +- Active les routines de débogage des signaux non fatals : + +`gimp --debug-handlers` diff --git a/pages.fr/common/git-add.md b/pages.fr/common/git-add.md index dd2d333ff4f5f0..f16e45ebbfa753 100644 --- a/pages.fr/common/git-add.md +++ b/pages.fr/common/git-add.md @@ -9,23 +9,24 @@ - Ajouter tous les fichiers (suivis et non-suivis) : -`git add -A` +`git add {{[-A|--all]}}` - Ajoute les modifications des fichiers déjà suivis : -`git add -u` +`git add {{[-u|--update]}}` - Ajoute aussi les fichiers ignorés : -`git add -f` +`git add {{[-f|--force]}}` - Ajoute des parties de fichiers interactivement : -`git add -p` -- Ajoute interactivement les parties d un fichier specifié : +`git add {{[-p|--patch]}}` -`git add -p {{chemin/vers/fichier}}` +- Ajoute interactivement les parties d'un fichier spécifié : + +`git add {{[-p|--patch]}} {{chemin/vers/fichier}}` - Ajouter un fichier interactivement : -`git add -i` +`git add {{[-i|--interactive]}}` diff --git a/pages.fr/common/git-am.md b/pages.fr/common/git-am.md index 9bbb36666f27f5..1077d541408bec 100644 --- a/pages.fr/common/git-am.md +++ b/pages.fr/common/git-am.md @@ -1,17 +1,17 @@ # git am -> Appliaquer des fichiers de path. Utile lorsque l on recoit des comits par email. -> Voir aussi `git format-patch`, pour generer des ficheirs de patch. +> Appliquer des fichiers de "patch" Git. Utile lorsque l'on reçoit des commits par email. +> Voir aussi `git format-patch`, pour générer des fichiers de patch. > Plus d'informations : . - Appliquer un fichier de patch : `git am {{chemin/vers/fichier.patch}}` -- Annuler l'application d un fichier de patch : +- Annuler l'application d'un fichier de patch : `git am --abort` -- Appliquer autant de fichier de correctif que possible, en enregistrant les morceaux échoués pour rejeter le fichier : +- Appliquer autant de fichiers de correctif que possible, en enregistrant les morceaux échoués pour rejeter le fichier : `git am --reject {{chemin/vers/fichier.patch}}` diff --git a/pages.fr/common/git-annex.md b/pages.fr/common/git-annex.md index 49fa69f9c320bb..ba5fe925752f70 100644 --- a/pages.fr/common/git-annex.md +++ b/pages.fr/common/git-annex.md @@ -4,11 +4,7 @@ > Lorsqu'un fichier est annexé, son contenu est déplacé dans un stockage clé-valeur et un lien symbolique est créé qui pointe vers le contenu. > Plus d'informations : . -- Aide : - -`git annex help` - -- Initialize le repo avec Git annex : +- Initialise le dépôt : `git annex init` @@ -16,14 +12,18 @@ `git annex add {{chemin/vers/fichier_ou_repertoire}}` -- Affiche le statut courrand d un fichier ou repertoire : +- Affiche le statut courant d'un fichier ou répertoire : `git annex status {{chemin/vers/fichier_ou_repertoire}}` -- Synchronise un repository local avec un distant : +- Synchronise un dépôt local avec un distant : `git annex {{distant}}` -- Recupére un ficheir ou un repertoire : +- Récupère un fichier ou un répertoire : `git annex get {{chemin/vers/fichier_ou_repertoire}}` + +- Affiche l'aide : + +`git annex help` diff --git a/pages.fr/common/git-apply.md b/pages.fr/common/git-apply.md index 03e8cd57516fe9..497b5cfd43c601 100644 --- a/pages.fr/common/git-apply.md +++ b/pages.fr/common/git-apply.md @@ -1,28 +1,28 @@ # git apply -> Applique un correctif a un fichier et/ou a l index. +> Applique un correctif à un fichier et/ou à l index. > Plus d'informations : . -- Afficher les messages a propos des fichiers corrigés : +- Afficher les messages à propos des fichiers corrigés : -`git apply --verbose {{chemin/vers/fichier}}` +`git apply {{[-v|--verbose]}} {{chemin/vers/fichier}}` -- Applique le correctif et ajoute les fichiers a l index : +- Applique le correctif et ajoute les fichiers à l index : `git apply --index {{chemin/vers/fichier}}` - Applique un correctif depuis une source distante : -`curl {{https://example.com/file.patch}} | git apply` +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` -- Affiche les differencs resultantes et applique le correctif : +- Affiche les différences résultantes et applique le correctif : `git apply --stat --apply {{chemin/vers/fichier}}` - Applique le correctif en ordre inverse : -`git apply --reverse {{chemin/vers/fichier}}` +`git apply {{[-R|--reverse]}} {{chemin/vers/fichier}}` -- Stocke le resultat du correctif dans l index sans modifier la branche courrante : +- Stocke le résultat du correctif dans l'index sans modifier la branche courante : `git apply --cache {{chemin/vers/fichier}}` diff --git a/pages.fr/common/git-archive.md b/pages.fr/common/git-archive.md index 6307f891eed812..e2c929a9aba2cf 100644 --- a/pages.fr/common/git-archive.md +++ b/pages.fr/common/git-archive.md @@ -1,28 +1,28 @@ # git archive -> Cree une archive de fichiers depuis un branche donée. +> Crée une archive de fichiers depuis un branche donnée. > Plus d'informations : . -- Crée une archive .tar avec le contenu de la HEAD et l'affiche sur la sortie stanard : +- Crée une archive `.tar` avec le contenu de la HEAD et l'affiche sur la sortie standard : -`git archive --verbose HEAD` +`git archive {{[-v|--verbose]}} HEAD` -- Crée une archive .zip avec le contenu de la HEAD et l'affiche sur la sortie stanard : +- Crée une archive Zip avec le contenu de la HEAD et l'affiche sur la sortie standard : -`git archive --verbose --format=zip HEAD` +`git archive {{[-v|--verbose]}} --format zip HEAD` -- Pareil que ci-dessus mais ecrit dans l archive specifiée : +- Pareil que ci-dessus mais écrit dans l'archive spécifiée : -`git archive --verbose --output={{chemin/vers/fichier.zip}} HEAD` +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{chemin/vers/fichier.zip}} HEAD` - Crée une archive depuis le dernier commit de la branche spécifiée : -`git archive --output={{chemin/vers/fichier.tar}} {{nom_de_branche}}` +`git archive {{[-o|--output]}} {{chemin/vers/fichier.tar}} {{nom_de_branche}}` -- Crée une archive avec le contenu d un repertoire donné : +- Crée une archive avec le contenu d'un répertoire donné : -`git archive --output={{chemin/vers/fichier.tar}} HEAD:{{chemin/vers/repertoire}}` +`git archive {{[-o|--output]}} {{chemin/vers/fichier.tar}} HEAD:{{chemin/vers/repertoire}}` - Ajoutez un chemin d'accès à chaque fichier pour l'archiver dans un répertoire spécifique : -`git archive --output={{chemin/vers/fichier.tar}} --prefix={{chemin/vers/cible}}/ HEAD` +`git archive {{[-o|--output]}} {{chemin/vers/fichier.tar}} --prefix {{chemin/vers/cible}}/ HEAD` diff --git a/pages.fr/common/git-bisect.md b/pages.fr/common/git-bisect.md index 9bb73ab63ca4cd..ac4207f8d60b06 100644 --- a/pages.fr/common/git-bisect.md +++ b/pages.fr/common/git-bisect.md @@ -8,14 +8,14 @@ `git bisect start {{bad_commit}} {{good_commit}}` -- Pour chaque `git bisect` selectionné, le marquer comme "bad" ou "good" apres l'avoir testé pour le probléme : +- Pour chaque `git bisect` sélectionné, le marquer comme "mauvais" (`bad`) ou "bon" (`good`) après l'avoir testé pour le problème : `git bisect {{good|bad}}` -- Apres que `git bisect` pointe vers le mauvais commit, terminer la dissection et retourner a la branche précedante : +- Après que `git bisect` pointe vers le mauvais commit, terminer la dissection et retourner à la branche précédente : `git bisect reset` -- Sauter un commit lorrs de la dissection (e.g. celui qui echoue les tests pour une autre raison) : +- Sauter un commit lors de la dissection (e.g. celui qui échoue les tests pour une autre raison) : `git bisect skip` diff --git a/pages.fr/common/git-blame.md b/pages.fr/common/git-blame.md index 731b581e635334..ece21b89c7f69a 100644 --- a/pages.fr/common/git-blame.md +++ b/pages.fr/common/git-blame.md @@ -9,4 +9,4 @@ - Affiche le hash de commit le nom et l email de l auteur en face de chaque ligne : -`git blame -e {{file}}` +`git blame {{[-e|--show-email]}} {{file}}` diff --git a/pages.fr/common/git-branch.md b/pages.fr/common/git-branch.md index 19aca2e4ea185f..19fe0830c239c8 100644 --- a/pages.fr/common/git-branch.md +++ b/pages.fr/common/git-branch.md @@ -3,19 +3,15 @@ > Commande Git principale pour travailler avec des branches. > Plus d'informations : . -- Liste les branches locale, prefixe la branche courrante avec `*` : - -`git branch` - - Liste toutes les branches (locale et distantes) : -`git branch -a` +`git branch {{[-a|--all]}}` -- Affiche le nom de la branche courrante : +- Affiche le nom de la branche courante : `git branch --show-current` -- Crée une nouvelle branche depuis le commit courrant : +- Crée une nouvelle branche depuis le commit courant : `git branch {{nom_de_branche}}` @@ -25,12 +21,12 @@ - Renommer une branche (ne pas se trouver sur la branche pour le faire) : -`git branch -m {{ancien_nom_de_branche}} {{nouveau_nom_de_branche}}` +`git branch {{[-m|--move]}} {{ancien_nom_de_branche}} {{nouveau_nom_de_branche}}` - Supprimer un branche locale (ne pas se trouver sur la branche pour le faire) : -`git branch -d {{nom_de_branche}}` +`git branch {{[-d|--delete]}} {{nom_de_branche}}` - Supprimer une branche distante : -`git push {{nom_distant}} --delete {{nom_de_branche_distante}}` +`git push {{nom_distant}} {{[-d|--delete]}} {{nom_de_branche_distante}}` diff --git a/pages.fr/common/git-bundle.md b/pages.fr/common/git-bundle.md index 240f3c1975d63e..db3c57e43dca4d 100644 --- a/pages.fr/common/git-bundle.md +++ b/pages.fr/common/git-bundle.md @@ -3,7 +3,7 @@ > Empaquetez des objets et des références dans une archive. > Plus d'informations : . -- Empaquetez tout les objets et les refferences d'une branche spécifiée : +- Empaquetez tout les objets et les références d'une branche spécifiée : `git bundle create {{chemin/vers/fichier.bundle}} {{nom_de_branche}}` @@ -11,22 +11,26 @@ `git bundle create {{chemin/vers/fichier.bundle}} --all` -- Crée un empaquetage des 5 derniers commits de la branche courrante : +- Crée un empaquetage des 5 derniers commits de la branche courante : -`git bundle create {{chemin/vers/fichier.bundle}} -{{5}} {{HEAD}}` +`git bundle create {{chemin/vers/fichier.bundle}} -5 {{HEAD}}` - Crée un empaquetage des 7 derniers jours : -`git bundle create {{chemin/vers/fichier.bundle}} --since={{7.days}} {{HEAD}}` +`git bundle create {{chemin/vers/fichier.bundle}} --since 7.days {{HEAD}}` -- Verifie qu'un empaquetage est valide et peut étre appliquer à la branche courrante : +- Vérifie qu'un empaquetage est valide et peut être appliqué à la branche courante : `git bundle verify {{chemin/vers/fichier.bundle}}` -- Affiche sur la sortie standard la liste des réfferences contenues dans un empaquetage : +- Affiche sur la sortie standard la liste des références contenues dans un empaquetage : `git bundle unbundle {{chemin/vers/fichier.bundle}}` - Extraire une branche spécifique d'un fichier de bundle dans le référentiel actuel : `git pull {{chemin/vers/fichier.bundle}} {{nom_de_branche}}` + +- Créer un nouveau dépôt depuis un empaquetage : + +`git clone {{chemin/vers/fichier.bundle}}` diff --git a/pages.fr/common/git-cat-file.md b/pages.fr/common/git-cat-file.md index 74f3387a975387..713396af53f540 100644 --- a/pages.fr/common/git-cat-file.md +++ b/pages.fr/common/git-cat-file.md @@ -1,9 +1,9 @@ # git cat-file -> Fournir des informations sur le contenu ou le type et la taille des objets du référentiel Git. +> Fournir des informations sur le contenu ou le type et la taille des objets du dépôt Git. > Plus d'informations : . -- Obtenir la taill [s] du commit HEAD en octets : +- Obtenir la taille [s] du commit HEAD en octets : `git cat-file -s HEAD` diff --git a/pages.fr/common/git-check-ignore.md b/pages.fr/common/git-check-ignore.md index 7f2a26b95904d7..48a2df127a1a59 100644 --- a/pages.fr/common/git-check-ignore.md +++ b/pages.fr/common/git-check-ignore.md @@ -3,13 +3,13 @@ > Analyser et déboguer les fichiers ignorés / exclus (".gitignore") de Git. > Plus d'informations : . -- Verifie qu'un fichier ou repertoire est ignoré : +- Vérifie qu'un fichier ou répertoire est ignoré : -`git check-ignore {{chemin/vers/fichier_ou_repertoire}}` +`git check-ignore {{chemin/vers/fichier_ou_répertoire}}` -- Verifie que plusieurs fichiers ou repertoires sont ignorés : +- Vérifie que plusieurs fichiers ou répertoires sont ignorés : -`git check-ignore {{chemin/vers/fichier}} {{chemin/vers/repertoire}}` +`git check-ignore {{chemin/vers/fichier_ou_répertoire1 chemin/vers/fichier_ou_répertoire2 ...}}` - Utilisez des chemins d'accès, un par ligne, de `stdin` : @@ -17,8 +17,8 @@ - Ne pas vérifier l'index (utilisé pour déboguer pourquoi les chemins ont été suivis et non ignorés) : -`git check-ignore --no-index {{chemin/vers/fichiers_ou_repertoires}}` +`git check-ignore --no-index {{chemin/vers/fichier_ou_répertoire1 chemin/vers/fichier_ou_répertoire2 ...}}` -- Inclure les details pour chaque occurence dans le chemin : +- Inclure les détails pour chaque occurrence dans le chemin : -`git check-ignore --verbose {{chemin/vers/fichiers_ou_repertoires}}` +`git check-ignore {{[-v|--verbose]}} {{chemin/vers/fichier_ou_répertoire1 chemin/vers/fichier_ou_répertoire2 ...}}` diff --git a/pages.fr/common/git-checkout.md b/pages.fr/common/git-checkout.md index 0936b0b747347a..690813436335bf 100644 --- a/pages.fr/common/git-checkout.md +++ b/pages.fr/common/git-checkout.md @@ -7,23 +7,23 @@ `git checkout -b {{nom_de_branche}}` -- Créer une branche depuis une reférence spçifiaue et basculer dessus (par exemple, branche locales/distantes, tag, commit) : +- Créer une branche depuis une référence spécifique et basculer dessus (par exemple, branche locale/distante, tag, commit) : -`git checkout -b {{nom_de_branche}} {{reference}}` +`git checkout -b {{nom_de_branche}} {{référence}}` - Basculer sur une branche locale existante : `git checkout {{nom_de_branche}}` -- Basculer sur la branche précedante : +- Basculer sur la branche précédente : `git checkout -` -- Basculer sur une brnche distante existante : +- Basculer sur une branche distante existante : -`git checkout --track {{nom_distant}}/{{nom_de_branche}}` +`git checkout {{[-t|--track]}} {{nom_distant}}/{{nom_de_branche}}` -- Annule tout les changements dans le repertoire courrant (voir `git reset` pour plus de commandes d'annulation) : +- Annule tout les changements dans le répertoire courant (voir `git reset` pour plus de commandes d'annulation) : `git checkout .` diff --git a/pages.fr/common/git-cherry-pick.md b/pages.fr/common/git-cherry-pick.md index 9351e47913feb3..0d3be672b34a05 100644 --- a/pages.fr/common/git-cherry-pick.md +++ b/pages.fr/common/git-cherry-pick.md @@ -4,18 +4,18 @@ > Pour appliquer les changements a une autre branche, utiliser d'abord `git checkout` pour basculer sur la branche désirée. > Plus d'informations : . -- Applique un commit à la branche courrante : +- Applique un commit à la branche courante : `git cherry-pick {{commit}}` -- Appliquer une plage de commits à la branche courrante (voir aussi `git rebase --onto`) : +- Appliquer une plage de commits à la branche courante (voir aussi `git rebase --onto`) : `git cherry-pick {{start_commit}}~..{{end_commit}}` -- Appliquer plusieurs commits non sequentiels à la branche courrante : +- Appliquer plusieurs commits non séquentiels à la branche courante : -`git cherry-pick {{commit_1}} {{commit_2}}` +`git cherry-pick {{commit_1 commit_2 ...}}` -- Appliquer les changements d'un commit a la branche courrante sans créer de commit : +- Appliquer les changements d'un commit à la branche courante sans créer de commit : -`git cherry-pick -n {{commit}}` +`git cherry-pick {{[-n|--no-commit]}} {{commit}}` diff --git a/pages.fr/common/git-cherry.md b/pages.fr/common/git-cherry.md index 89ace6ed8427c9..b108bcee29e875 100644 --- a/pages.fr/common/git-cherry.md +++ b/pages.fr/common/git-cherry.md @@ -5,12 +5,12 @@ - Afficher les commits (et leurs messages) avec des commits équivalents en amont : -`git cherry -v` +`git cherry {{[-v|--verbose]}}` - Spécifiez une branche amont et une branche de rubrique différentes : `git cherry {{origin}} {{topic}}` -- Limiter les commits a ceux dans la limite donnée : +- Limiter les commits à ceux dans la limite donnée : `git cherry {{origin}} {{topic}} {{base}}` diff --git a/pages.fr/common/git-clean.md b/pages.fr/common/git-clean.md index e445af4c35767f..a9dded13c51c82 100644 --- a/pages.fr/common/git-clean.md +++ b/pages.fr/common/git-clean.md @@ -1,28 +1,28 @@ # git clean -> Supprimer les fichiers non suivis du repertoire. +> Supprimer les fichiers non-suivis d'un dépôt Git. > Plus d'informations : . -- Supprimer les fichiers non suivis par Git : +- Supprimer les fichiers non-suivis : `git clean` -- Supprimer les fichiers non suivis par Git de manière interactive : +- Supprimer les fichiers non-suivis de manière interactive : -`git clean -i` +`git clean {{[-i|--interactive]}}` -- Affiche les fichiers non suivis qui peuvent étre suprimmés : +- Affiche les fichiers non-suivis qui peuvent être supprimés : -`git clean --dry-run` +`git clean {{[-n|--dry-run]}}` -- Nettoyage forcé des fichiers non suivis par Git : +- Nettoyage forcé des fichiers non-suivis : -`git clean -f` +`git clean {{[-f|--force]}}` -- Nettoyage forcé des repertoires non suivis par Git : +- Nettoyage forcé des répertoires non-suivis : -`git clean -fd` +`git clean {{[-f|--force]}} -d` -- Supprime tout les fichiers suivis, incluant ceux repertoriés par `.gitignore` et `.git/info/exclude` : +- Supprime tous les fichiers suivis, incluant ceux répertoriés par `.gitignore` et `.git/info/exclude` : `git clean -x` diff --git a/pages.fr/common/git-clone.md b/pages.fr/common/git-clone.md index f025cf9cbad0dc..f7e89dbb834b5c 100644 --- a/pages.fr/common/git-clone.md +++ b/pages.fr/common/git-clone.md @@ -3,22 +3,30 @@ > Clone un dépôt existant. > Plus d'informations : . -- Clone un dépôt existant : +- Clone un dépôt existant dans un répertoire spécifique : -`git clone {{location_du_depot_distant}}` +`git clone {{emplacement_du_depot_distant}} {{chemin/vers/repertoire}}` - Clone un dépôt existant et ses sous-modules : -`git clone --recursive {{location_du_depot_distant}}` +`git clone --recursive {{emplacement_du_depot_distant}}` - Clone un dépôt local : -`git clone -l` +`git clone --local {{chemin/vers/depot/local}}` - Clone silencieusement : -`git clone -q` +`git clone --quiet {{emplacement_du_depot_distant}}` - Clone un dépôt existant en ne récupérant que les 10 commits les plus récents sur la branche par défaut (plus rapide) : -`git clone --depth {{10}} {{location_du_depot_distant}}` +`git clone --depth 10 {{emplacement_du_depot_distant}}` + +- Clone un dépôt existant en ne récupérant qu'une branche spécifique : + +`git clone --branch {{nom}} --single-branch {{emplacement_du_depot_distant}}` + +- Clone un dépôt existant en utilisant une commande SSH spécifique : + +`git clone --config core.sshCommand="{{ssh -i chemin/vers/clef_ssh_privee}}" {{emplacement_du_depot_distant}}` diff --git a/pages.fr/common/git-commit.md b/pages.fr/common/git-commit.md index 3d73d11dca5003..8fcb3a4d424f3c 100644 --- a/pages.fr/common/git-commit.md +++ b/pages.fr/common/git-commit.md @@ -1,20 +1,20 @@ # git commit -> Commit les fichers dans le repository. +> Enregistrer (`commit`) les fichiers dans le dépôt. > Plus d'informations : . - Commit les fichiers en stage dans le dépôt avec un message : -`git commit -m {{message}}` +`git commit {{[-m|--message]}} "{{message}}"` - Commit tous les fichiers modifiés avec un message : -`git commit -am {{message}}` +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{message}}"` -- Mets à jour le dernier commit avec les modifications en stage : +- Met à jour le dernier commit avec les modifications en stage : `git commit --amend` - Commit seulement les fichiers spécifiés (qui sont déjà en stage) : -`git commit {{chemin/vers/mon/fichier1}} {{chemin/vers/mon/fichier2}}` +`git commit {{chemin/vers/mon/fichier1 chemin/vers/mon/fichier2 ...}}` diff --git a/pages.fr/common/git-config.md b/pages.fr/common/git-config.md index 0b013d262363b7..4b566fdebc1861 100644 --- a/pages.fr/common/git-config.md +++ b/pages.fr/common/git-config.md @@ -1,37 +1,33 @@ # git config > Gérer les options de configuration personnalisées pour les référentiels Git. -> Ces configurations peuvent étre locales (pour le réferentiel courrant) ou globales (pour l utilisateur). +> Ces configurations peuvent être locales (pour le référentiel courant) ou globales (pour l'utilisateur). > Plus d'informations : . -- Liste les entrés de configurations locales (stockés dans `.git/config` du repertoire courrant) : +- Liste les entrées de configurations locales (stockées dans `.git/config` du répertoire courant) : -`git config --list --local` +`git config {{[-l|--list]}} --local` -- Liste les entrés de conffigurations globales (stoqués dans `~/.gitconfig`) : +- Liste les entrées de configuration globales (stockées dans `~/.gitconfig`) : -`git config --list --global` +`git config {{[-l|--list]}} --global` -- Liste toutes les entrés de conffiguration, globales et locales : - -`git config --list` - -- Recupére la valeure d'une entrée de configurations : +- Récupère la valeur d'une entrée de configuration : `git config alias.unstage` -- Attribue la valeur d'une entree de configuration : +- Attribue la valeur d'une entrée de configuration : `git config --global alias.unstage "reset HEAD --"` -- Restore la valeur d'une entree de configuration globale a sa valeur par défaut : +- Restaure la valeur d'une entrée de configuration globale à sa valeur par défaut : `git config --global --unset alias.unstage` -- Édite le fichier de configuration du référentiel courrant dans l'éditeur par défaut : +- Édite le fichier de configuration du référentiel courant dans l'éditeur par défaut : -`git config --edit` +`git config {{[-e|--edit]}}` - Édite le fichier de configuration globale dans l'éditeur par défaut : -`git config --global --edit` +`git config --global {{[-e|--edit]}}` diff --git a/pages.fr/common/git-describe.md b/pages.fr/common/git-describe.md index f77d85efcd3e9e..32d3e0fc97981e 100644 --- a/pages.fr/common/git-describe.md +++ b/pages.fr/common/git-describe.md @@ -1,13 +1,13 @@ # git describe -> Créer un nom unique et lisible pour un objet à partir d’une référence disponible. +> Créer un nom unique et lisible pour un objet à partir d'une référence disponible. > Plus d'informations : . -- Créer un nom unique pour le commit courant (le nom contient le tag le plus recent, le nombre de commits additionnel, and le hash abrégé du commit) : +- Créer un nom unique pour le commit courant (le nom contient le tag le plus récent, le nombre de commits additionnels, et l'empreinte abrégée du commit) : `git describe` -- Créer un nom avec un hash de commit de 4 carctéres : +- Créer un nom avec une empreinte de commit de 4 caractères : `git describe --abbrev={{4}}` diff --git a/pages.fr/common/git-diff.md b/pages.fr/common/git-diff.md index c368471e4a36cb..1c8825cd1dcb34 100644 --- a/pages.fr/common/git-diff.md +++ b/pages.fr/common/git-diff.md @@ -3,34 +3,34 @@ > Afficher les changements sur les fichiers suivis. > Plus d'informations : . -- Afficher les changements sur les fichiers suvis : +- Afficher les changements sur les fichiers suivis : `git diff` -- Afficher tout les changements sur les fichiers par rapport a la téte de branche : +- Afficher tous les changements sur les fichiers par rapport à la tête de branche : `git diff HEAD` -- Afficher tout les changements sur les fichiers ajoutés mais pas encore commités : +- Afficher tous les changements sur les fichiers ajoutés mais pas encore commités : `git diff --staged` -- Afficher les changements de tout les commits a partir d une date/heure donnée (expression de dates, ex: "1 week 2 days" ou une date ISO) : +- Afficher les changements de tous les commits à partir d'une date / heure donnée (expression de dates, ex : "1 week 2 days" pour 1 semaine et 2 jours ou une date ISO) : -`git diff 'HEAD@{3 months|weeks|days|hours|seconds ago}'` +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` - Afficher seulement les noms des fichiers modifiés depuis un commit donné : `git diff --name-only {{commit}}` -- Afficher un resumé des creation de fichiers, renomages ou changements de droits depuis un commit : +- Afficher un résumé des créations de fichiers, renommages ou changements de droits depuis un commit : `git diff --summary {{commit}}` -- Comparer un ficheir entre deux branches ou commits : +- Comparer un fichier entre deux branches ou commits : -`git diff {{branche_1}}..{{branche_2}} [--] {{chemin/vers/fichier}}` +`git diff {{branche_1}}..{{branche_2}} {{chemin/vers/fichier}}` -- Comparer plusieurs fichiers de la branche courrante avec une autre branche : +- Comparer plusieurs fichiers de la branche courante avec une autre branche : `git diff {{branche}}:{{chemin/vers/fichier2}} {{chemin/vers/fichier}}` diff --git a/pages.fr/common/git-difftool.md b/pages.fr/common/git-difftool.md index 886ac1ec4e64fa..68203101b1633c 100644 --- a/pages.fr/common/git-difftool.md +++ b/pages.fr/common/git-difftool.md @@ -3,15 +3,15 @@ > Afficher les modifications apportées aux fichiers à l'aide d'outils de comparaison externes. Accepte les mêmes options et arguments que Git diff. > Plus d'informations : . -- Lister les outils de coparaison disponnible : +- Lister les outils de comparaison disponibles : `git difftool --tool-help` -- Configurer Meld comme outil de comparaison par defaut : +- Configurer Meld comme outil de comparaison par défaut : `git config --global diff.tool "{{meld}}"` -- Utiliser l'outil de comparaison par defaut pour afficher les fichiers modifiés : +- Utiliser l'outil de comparaison par défaut pour afficher les fichiers modifiés : `git difftool --staged` diff --git a/pages.fr/common/git-fetch.md b/pages.fr/common/git-fetch.md index 2f7fb435afddff..9033ac030f2247 100644 --- a/pages.fr/common/git-fetch.md +++ b/pages.fr/common/git-fetch.md @@ -1,6 +1,6 @@ # git fetch -> Cherche les objets et réferences depuis un registre distant. +> Cherche les objets et références depuis un dépôt distant. > Plus d'informations : . - Cherche les dernières modifications du référentiel amont distant par défaut (si configuré) : @@ -11,14 +11,14 @@ `git fetch {{nom_distant}}` -- Cherche les nouvelles branches depuis tout les registres distant : +- Cherche les nouvelles branches depuis tous les registres distants : `git fetch --all` -- Recherche egalement les tags depuis le registre courrant : +- Recherche également les tags depuis le registre courant : -`git fetch --tags` +`git fetch {{[-t|--tags]}}` - Supprime les références locales de branches ayant été supprimés du registre distant : -`git fetch --prune` +`git fetch {{[-p|--prune]}}` diff --git a/pages.fr/common/git-flow.md b/pages.fr/common/git-flow.md index 47b4caba16414f..ee3f7b49b7415f 100644 --- a/pages.fr/common/git-flow.md +++ b/pages.fr/common/git-flow.md @@ -1,6 +1,6 @@ # git flow -> Une colletion d'extentions Git pour procurer des opperation de registre supplementaires +> Une collection d'extensions Git pour procurer des opérations supplémentaires sur les dépôts. > Plus d'informations : . - Initialiser dans un registre Git existant : @@ -11,14 +11,14 @@ `git flow feature start {{feature}}` -- Terminer le travail sur une branche de fonctionnalité, le merger dans la branche `develop` puis suprimmer : +- Terminer le travail sur une branche de fonctionnalité, la fusionner dans la branche `develop` puis la supprimer : `git flow feature finish {{feature}}` -- Publier une fonctionalité sur le serveur distant : +- Publier une fonctionnalité sur le serveur distant : `git flow feature publish {{feature}}` -- Recupérer un fonctionalité publiée par un autre utilisateur : +- Récupérer une fonctionnalité publiée par un autre utilisateur : `git flow feature pull origin {{feature}}` diff --git a/pages.fr/common/git-format-patch.md b/pages.fr/common/git-format-patch.md index b4c96d5dd7fd2b..518b930d9d3272 100644 --- a/pages.fr/common/git-format-patch.md +++ b/pages.fr/common/git-format-patch.md @@ -1,17 +1,17 @@ # git format-patch -> Preparer des ficchiers de correctifs, utiles pour les envoyer par email. -> Voir egalement `git am`, qui peut appliquer des fichiers de correctifs genérés. +> Préparer des fichiers de correctifs, utiles pour les envoyer par courriel. +> Voir également `git am`, qui peut appliquer des fichiers de correctifs générés. > Plus d'informations : . --Créer un fichier de correctif .patch nommé automatiquement pour tout les commits non poussés : +- Créer un fichier de correctif `.patch` nommé automatiquement pour tout les commits non poussés : `git format-patch {{origin}}` -- Crér un fichier correctif .patch pour les changements entre 2 révisions : +- Créer un fichier correctif `.patch` pour les changements entre 2 révisions : `git format-patch {{revision_1}}..{{revision_2}}` -- Créer un fichier correctif .patch pour les 3 derniers commits : +- Créer un fichier correctif `.patch` pour les 3 derniers commits : `git format-patch -{{3}}` diff --git a/pages.fr/common/git-fsck.md b/pages.fr/common/git-fsck.md index 08ce9d4fccafeb..2e5f1f5a51b845 100644 --- a/pages.fr/common/git-fsck.md +++ b/pages.fr/common/git-fsck.md @@ -1,17 +1,17 @@ # git fsck -> Vérifier la validité et la connectivité des nœuds dans un réferentiel Git. -> N'applique ucune modification. Voir `git gc` pour nettoyer. +> Vérifier la validité et la connectivité des nœuds dans un dépôt Git. +> N'applique aucune modification. Voir `git gc` pour nettoyer. > Plus d'informations : . -- Verifier le registre courrant : +- Vérifier le registre courant : `git fsck` -- Lister tout les tags trouvés : +- Lister tous les tags trouvés : `git fsck --tags` -- Lister tout les noeuds racine trouvés : +- Lister tout les nœuds racine trouvés : `git fsck --root` diff --git a/pages.fr/common/git-gc.md b/pages.fr/common/git-gc.md index e4c8a542b7f15a..cb7a7e8967cb0a 100644 --- a/pages.fr/common/git-gc.md +++ b/pages.fr/common/git-gc.md @@ -1,21 +1,21 @@ # git gc -> Optimise le registre local en nettoyant les fichiers inutiles. +> Optimise le dépôt local git en nettoyant les fichiers inutiles. > Plus d'informations : . -- Optimise le registrey : +- Optimise le dépôt : `git gc` -- Optimise le registre plus agressivement, plus long : +- Optimise le dépôt plus agressivement, plus long : `git gc --aggressive` -- Afficher les objets a supprimer : +- Afficher les objets à supprimer : `git gc --no-prune` -- Supprime tout les objets trouvés sans l'afficher sur la sortie standart : +- Supprime tout les objets trouvés sans les afficher sur la sortie standard : `git gc --quiet` diff --git a/pages.fr/common/git-grep.md b/pages.fr/common/git-grep.md index a3f1fd5f79a919..ac9a238f0ee5c6 100644 --- a/pages.fr/common/git-grep.md +++ b/pages.fr/common/git-grep.md @@ -1,25 +1,25 @@ # git-grep -> Rechercher une occurence de texte nomport ou dans l historique d un repository. -> Comprends la plus-part des arguments que le `grep` classique. +> Rechercher une occurrence de texte n'importe où dans l'historique d'un dépôt git. +> Comprend la plupart des arguments du `grep` classique. > Plus d'informations : . -- Rechercher une occrence dans les fichiers suivis : +- Rechercher une occurrence dans les fichiers suivis : `git grep {{chaine_recherché}}` -- Rechercher une occrence dans les fichiers suivis d'appres un pattern de fichiers : +- Rechercher une occurrence dans les fichiers suivis d'après un pattern de fichiers : `git grep {{chaine_recherché}} -- {{file_glob_pattern}}` -- Rechercher une occrence dans les fichiers suivis et les sous-modules : +- Rechercher une occurrence dans les fichiers suivis et les sous-modules : `git grep --recurse-submodules {{chaine_recherché}}` -- Rechercher une occurence à partir d un point spécifique dans l'historique : +- Rechercher une occurrence à partir d'un point spécifique dans l'historique : `git grep {{chaine_recherché}} {{HEAD~2}}` -- Rechercher une occurence dans toutes les branches : +- Rechercher une occurrence dans toutes les branches : `git grep {{chaine_recherché}} $(git rev-list --all)` diff --git a/pages.fr/common/git-help.md b/pages.fr/common/git-help.md index e154cf274e8c7f..15c672380a8edc 100644 --- a/pages.fr/common/git-help.md +++ b/pages.fr/common/git-help.md @@ -3,22 +3,22 @@ > Afficher le manuel de Git. > Plus d'informations : . -- Afficher le manuel d'une sous commande : +- Afficher le manuel d'une sous-commande : `git help {{subcommand}}` -- Méme chose dans un navigateur : +- Même chose dans un navigateur : -`git help --web {{subcommand}}` +`git help {{[-w|--web]}} {{subcommand}}` -- Afficher la liste des sous commandes disponnibles : +- Afficher la liste des sous-commandes disponibles : -`git help --all` +`git help {{[-a|--all]}}` -- Lister les manuels disponnibles : +- Lister les manuels disponibles : -`git help --guide` +`git help {{[-g|--guides]}}` -- Lister toutes les variables de configuration disponnibles : +- Lister toutes les variables de configuration disponibles : -`git help --config` +`git help {{[-c|--config]}}` diff --git a/pages.fr/common/git-ignore-io.md b/pages.fr/common/git-ignore-io.md new file mode 100644 index 00000000000000..ca699e3f3fde41 --- /dev/null +++ b/pages.fr/common/git-ignore-io.md @@ -0,0 +1,12 @@ +# git ignore-io + +> Générer le fichier .gitignore depuis des templates prédéfinis. +> Plus d'informations : . + +- Lister les templates disponibles : + +`git ignore-io list` + +- Générer un template .gitignore : + +`git ignore-io {{item_a,item_b,item_n}}` diff --git a/pages.fr/common/git-ignore.md b/pages.fr/common/git-ignore.md deleted file mode 100644 index 3ff1523c907ea6..00000000000000 --- a/pages.fr/common/git-ignore.md +++ /dev/null @@ -1,12 +0,0 @@ -# git ignore - -> Génerer le fichier .gitignore depuis des templates prédéfinis. -> Plus d'informations : . - -- Lister les templates disponnibles : - -`git ignore list` - -- Genénerer un template .gitignore : - -`git ignore {{item_a,item_b,item_n}}` diff --git a/pages.fr/common/git-imerge.md b/pages.fr/common/git-imerge.md index a97aca82ac5e93..54f6b55ceed428 100644 --- a/pages.fr/common/git-imerge.md +++ b/pages.fr/common/git-imerge.md @@ -1,10 +1,10 @@ # git-imerge -> Génerer un merge ou un rebase entre deux branches de maniére incrémentale. +> Générer un `git merge` ou un `git rebase` entre deux branches de manière incrémentale. > Les conflits entre les branches sont suivis en paires de commits individuels, pour simplifier la résolution des conflits. > Plus d'informations : . -- Démarrer un i-merge rebase (se placer dans la branche a rebaser d'abord) : +- Démarrer un imerge rebase (se placer dans la branche à rebaser d'abord) : `git imerge rebase {{branche_sur_laquelle_rebaser}}` @@ -16,14 +16,14 @@ `git imerge diagram` -- Continuer l opperation après une résolution de conflit (d'abord `git add` les fichiers en conflits) : +- Continuer l'opération après une résolution de conflit (d'abord `git add` les fichiers en conflits) : `git imerge continue --no-edit` -- Terminer l'opperation i-merge après la resolution de tout les conflits : +- Terminer l'opération i-merge après la résolution de tous les conflits : `git imerge finish` -- Annuler l'opperation et retourner à la branche précédante : +- Annuler l'opération et retourner à la branche précédente : `git-imerge remove && git checkout {{previous_branch}}` diff --git a/pages.fr/common/git-init.md b/pages.fr/common/git-init.md index 8166a474e398e8..4106874982d2f1 100644 --- a/pages.fr/common/git-init.md +++ b/pages.fr/common/git-init.md @@ -7,6 +7,6 @@ `git init` -- Initialiser un référentiel barebones, adapté à une utilisation distante via ssh : +- Initialiser un référentiel barebones, adapté à une utilisation distante via SSH : `git init --bare` diff --git a/pages.fr/common/git-instaweb.md b/pages.fr/common/git-instaweb.md index b78d157125f19d..59de158ef10796 100644 --- a/pages.fr/common/git-instaweb.md +++ b/pages.fr/common/git-instaweb.md @@ -1,9 +1,9 @@ # git instaweb -> Outil pour le lancemend d'un serveur gitweb. +> Outil pour le lancement d'un serveur gitweb. > Plus d'informations : . -- Démare un serveur gitweb depuis le repository courrant : +- Démarre un serveur gitweb depuis le dépôt (`repository`) courant : `git instaweb --start` @@ -15,11 +15,11 @@ `git instaweb --start --port {{1234}}` -- Utiliser un daemon http spécifique : +- Utiliser un daemon HTTP spécifique : `git instaweb --start --httpd {{lighttpd|apache2|mongoose|plackup|webrick}}` -- Lancer en méme temps qu un navigateur web : +- Lancer en même temps qu'un navigateur web : `git instaweb --start --browser` diff --git a/pages.fr/common/git-lfs.md b/pages.fr/common/git-lfs.md index 342328a6622041..60afd91a782684 100644 --- a/pages.fr/common/git-lfs.md +++ b/pages.fr/common/git-lfs.md @@ -1,7 +1,7 @@ # git lfs > Travailler dans un registre Git avec des fichiers volumineux. -> Plus d'informations : . +> Plus d'informations : . - Initialise le Git LFS : @@ -13,7 +13,7 @@ - Changer l'URL du point de terminaison Git LFS (utile si le serveur LFS est séparé du serveur Git) : -`git config -f .lfsconfig lfs.url {{lfs_endpoint_url}}` +`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}` - Lister les pattern de fichiers suivis : diff --git a/pages.fr/common/git-log.md b/pages.fr/common/git-log.md index acbc1398063973..8ccb1e6cb3a4f1 100644 --- a/pages.fr/common/git-log.md +++ b/pages.fr/common/git-log.md @@ -7,9 +7,9 @@ `git log` -- Afficher l'historique de fichiers ou repertoires en particulier : +- Afficher l'historique de fichiers ou répertoires en particulier : -`git log -p {{chemin/vers/fichier_ou_repertoire}}` +`git log {{[-p|--patch]}} {{chemin/vers/fichier_ou_repertoire}}` - Afficher la liste des fichiers modifiés pour chaque commit : @@ -19,18 +19,18 @@ `git log --oneline --graph` -- Afficher un graphique de tout les commits, tags et branches dans le dépot entier : +- Afficher un graphique de tout les commits, tags et branches dans le dépôt entier : `git log --oneline --decorate --all --graph` -- Afficher uniqueent les commits dont le message contient la chaine (non sensible à la case) : +- Afficher uniquement les commits dont le message contient la chaine (non sensible à la casse) : -`git log -i --grep {{chaine_recherché}}` +`git log {{[-i|--regexp-ignore-case]}} --grep {{chaine_recherché}}` - Afficher les N derniers commits d'un utilisateur : -`git log -n {{number}} --author={{author}}` +`git log {{[-n|--max-count]}} {{number}} --author "{{author}}"` -- Afficher les commits entre deux dates : +- Afficher les commits entre deux dates (yyyy-mm-dd): -`git log --before={{date}} --after={{date}}` +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages.fr/common/git-ls-remote.md b/pages.fr/common/git-ls-remote.md index 3f9fbf5fbce0bc..0512cadab2cb42 100644 --- a/pages.fr/common/git-ls-remote.md +++ b/pages.fr/common/git-ls-remote.md @@ -1,25 +1,25 @@ # git ls-remote -> Commande Git pour répertorier les références dans un dépot distant en fonction du nom ou de l'URL. +> Commande Git pour répertorier les références dans un dépôt distant en fonction du nom ou de l'URL. > Si aucun nom ou URL n'est donné, alors la branche amont configurée sera utilisée, ou l'origine distante si la première n'est pas configurée. > Plus d'informations : . -- Afficher les références du dépot configuré par défaut : +- Afficher les références du dépôt configuré par défaut : `git ls-remote` -- Afficher uniquement les références HEAD du dépot configuré par défaut : +- Afficher uniquement les références HEAD du dépôt configuré par défaut : `git ls-remote --heads` -- Afficher uniquement les tags du dépot configuré par défaut : +- Afficher uniquement les tags du dépôt configuré par défaut : `git ls-remote --tags` -- Afficher les références du dépot précisé : +- Afficher les références du dépôt précisé : -`git ls-remote {{repositiory-url}}` +`git ls-remote {{url-du-dépôt}}` -- Afficher les références du dépot précisé filtrés par un pattern : +- Afficher les références du dépôt précisé filtrés par un motif : -`git ls-remote {{repositiory-name}} "{{pattern}}"` +`git ls-remote {{nom-du-dépôt}} "{{motif}}"` diff --git a/pages.fr/common/git-ls-tree.md b/pages.fr/common/git-ls-tree.md index b430995aca16cc..ae9b7bf219c272 100644 --- a/pages.fr/common/git-ls-tree.md +++ b/pages.fr/common/git-ls-tree.md @@ -7,10 +7,10 @@ `git ls-tree {{nom_de_branche}}` -- Lister le contenu de l'arbre dans le commit, recursif avec les sous-arbres : +- Lister le contenu de l'arbre dans le commit, récursif avec les sous-arbres : `git ls-tree -r {{commit_hash}}` -- Lister uniquement les moms de fichiers de l'arbre dans un commit : +- Lister uniquement les noms de fichiers de l'arbre dans un commit : `git ls-tree --name-only {{commit_hash}}` diff --git a/pages.fr/common/git-merge.md b/pages.fr/common/git-merge.md index 95b03578aad447..a730757f48e592 100644 --- a/pages.fr/common/git-merge.md +++ b/pages.fr/common/git-merge.md @@ -1,24 +1,20 @@ # git merge -> Merge branches. +> Pour fusionner des branches `git`. > Plus d'informations : . -- Merge une branche dans votre branche courrante : +- Fusionne une branche dans votre branche courante : `git merge {{nom_de_branche}}` -- Editer le message de merge : +- Editer le message de fusion (`merge commit`) : -`git merge -e {{nom_de_branche}}` +`git merge {{[-e|--edit]}} {{nom_de_branche}}` -- Merge une branche et créer un commit de merge : +- Fusionner une branche et créer un commit de fusion (`merge commit`) : `git merge --no-ff {{nom_de_branche}}` -- Annuler un merge en cas de conflit : +- Annuler une fusion en cas de conflit : `git merge --abort` - -- Continuer un merge apreés une résolution de conflit : - -`git merge --continue` diff --git a/pages.fr/common/git-mergetool.md b/pages.fr/common/git-mergetool.md index 33abf55743e414..56b515e061be67 100644 --- a/pages.fr/common/git-mergetool.md +++ b/pages.fr/common/git-mergetool.md @@ -1,6 +1,6 @@ # git mergetool -> Executer un utilitaire de différences pour resoudre les conflits de merge. +> Executer un utilitaire de différences pour résoudre les conflits de merge. > Plus d'informations : . - Démarrer l'outil de différences par défaut : @@ -15,7 +15,7 @@ `git mergetool --tool {{tool_name}}` -- Démarer l'outil de difféerences sans dialogues : +- Démarrer l'outil de différences sans dialogues : `git mergetool --no-prompt` @@ -23,6 +23,6 @@ `git mergetool --gui` -- tiliser explicitement l'outil de différences clasique (voir la variable de config `merge.tool`) : +- Utiliser explicitement l'outil de différences classique (voir la variable de config `merge.tool`) : `git mergetool --no-gui` diff --git a/pages.fr/common/git-mv.md b/pages.fr/common/git-mv.md index 3add16c5f05ab5..d58c668dc00cf8 100644 --- a/pages.fr/common/git-mv.md +++ b/pages.fr/common/git-mv.md @@ -1,6 +1,6 @@ # git mv -> Déplacer ou renomer des fichiers inscrits dans l'index. +> Déplacer ou renommer des fichiers inscrits dans l'index. > Plus d'informations : . - Déplace les fichiers dans l'index Git, valide au prochain commit : @@ -13,4 +13,4 @@ - Force l'écrasement d'un fichier : -`git mv --force {{file}} {{cible}}` +`git mv {{[-f|--force]}} {{file}} {{cible}}` diff --git a/pages.fr/common/git-notes.md b/pages.fr/common/git-notes.md index e5714803662066..9b743b337b5147 100644 --- a/pages.fr/common/git-notes.md +++ b/pages.fr/common/git-notes.md @@ -7,30 +7,30 @@ `git notes list` -- Lister toutes les notes attaches a un objet donné : +- Lister toutes les notes attachées à un objet donné : -`git notes list [{{object}}]` +`git notes list [{{objet}}]` -- Afficher les notes attachés a un objet donné : +- Afficher les notes attachées à un objet donné : -`git notes show [{{object}}]` +`git notes show [{{objet}}]` - Ajoute une note à un objet donné : -`git notes append {{object}}` +`git notes append {{objet}}` - Ajoute une note à un objet donné, en spécifiant le message : -`git notes append --message="{{message_text}}"` +`git notes append --message="{{texte_du_message}}"` -- Edite une note éxistante : +- Édite une note existante : -`git notes edit [{{object}}]` +`git notes edit [{{objet}}]` -- Copy la note d'un objet vers un autre : +- Copie la note d'un objet vers un autre : -`git notes copy {{source_object}} {{objet_cible}}` +`git notes copy {{objet_source}} {{objet_cible}}` -- Supprime toutes les notes d'un objet spécifié : +- Supprime toutes les notes d'un objet donné : -`git notes remove {{object}}` +`git notes remove {{objet}}` diff --git a/pages.fr/common/git-pr.md b/pages.fr/common/git-pr.md index ec7768781ab301..2528f63da9fb20 100644 --- a/pages.fr/common/git-pr.md +++ b/pages.fr/common/git-pr.md @@ -1,19 +1,20 @@ # git pr -> Récupére les pull-request GitHub localement. +> Récupère les pull-requests GitHub localement. +> Plus d'informations : . -- Récupére une pull-request spécifique : +- Récupère une pull-request spécifique : `git pr {{pr_number}}` -- Récupére une pull-request d un dépot spécifique : +- Récupère une pull-request d'un dépôt spécifique : `git pr {{pr_number}} {{distant}}` -- Récupére une pull-request depuis sont url : +- Récupère une pull-request depuis son URL : `git pr {{url}}` -- Nettoie les branches de pull-request terminés : +- Nettoie les branches de pull-requests terminées : `git pr clean` diff --git a/pages.fr/common/git-pull.md b/pages.fr/common/git-pull.md index e58fa46375684f..9f86c191f3173d 100644 --- a/pages.fr/common/git-pull.md +++ b/pages.fr/common/git-pull.md @@ -9,7 +9,7 @@ - Télécharge les changements depuis le serveur distant par défaut et applique les changements locaux par dessus : -`git pull --rebase` +`git pull {{[-r|--rebase]}}` - Télécharge les changements depuis un serveur et une branche distante, puis fusionne les dans HEAD : diff --git a/pages.fr/common/git-push.md b/pages.fr/common/git-push.md index f6bdbf913f8d1e..8a3ff180fb1ddc 100644 --- a/pages.fr/common/git-push.md +++ b/pages.fr/common/git-push.md @@ -13,7 +13,7 @@ - Publie la branche courante vers un dépôt distant, crée le nom de la branche distante : -`git push {{nom_distant}} -u {{branche_distante}}` +`git push {{nom_distant}} {{[-u|--set-upstream]}} {{branche_distante}}` - Envoi les changements locaux sur toutes les branches locales vers leur contrepartie sur le dépôt distant : @@ -21,7 +21,7 @@ - Supprime une branche dans un dépôt distant : -`git push {{nom_distant}} --delete {{branche_distante}}` +`git push {{nom_distant}} {{[-d|--delete]}} {{branche_distante}}` - Supprime les branches distantes qui n'ont pas de contrepartie locale : diff --git a/pages.fr/common/git-rebase.md b/pages.fr/common/git-rebase.md index 15be7c015b6453..e8e945ab1a08a5 100644 --- a/pages.fr/common/git-rebase.md +++ b/pages.fr/common/git-rebase.md @@ -4,15 +4,15 @@ > Communément utilisé pour dupliquer les commits d'une branche dans une autre, en créant de nouveaux commits dans la branche de destination. > Plus d'informations : . -- Rejouer les commits de la branche courrante sur la branche master : +- Rejouer les commits de la branche courante sur la branche master : `git rebase {{master}}` -- Rejouer les comits interactivement, ce qui permet aux commits d'éte re-arrangés, exclus, combimés ou modifiés : +- Rejouer les comits interactivement, ce qui permet aux commits d'être re-arrangés, exclus, combinés ou modifiés : -`git rebase -i {{branche_de_base_ou_commit}}` +`git rebase {{[-i|--interactive]}} {{branche_de_base_ou_commit}}` -- Continuer le re-jeu des commits apres la resolution d'un conflit : +- Continuer le re-jeu des commits après la résolution d'un conflit : `git rebase --continue` @@ -20,7 +20,7 @@ `git rebase --skip` -- Annule l'operation (ex: en cas de conflict) : +- Annule l'opération (ex : en cas de conflit) : `git rebase --abort` @@ -28,10 +28,10 @@ `git rebase --onto {{new_base}} {{old_base}}` -- Rejoue les 5 derniers commits, ce qui permet aux commits d'éte re-arrangés, exclus, combimés ou modifiés : +- Rejoue les 5 derniers commits, ce qui permet aux commits d'être re-arrangés, exclus, combinés ou modifiés : -`git rebase -i {{HEAD~5}}` +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` -- Resoudre automatiquement les conflits en precisant la version a conserver (`theirs` signifie la version des fichiers a privilégier) : +- Résoudre automatiquement les conflits en précisant la version à conserver (`theirs` signifie la version des fichiers à privilégier) : -`git rebase -X theirs {{master}}` +`git rebase {{[-X|--strategy-option]}} theirs {{master}}` diff --git a/pages.fr/common/git-reflog.md b/pages.fr/common/git-reflog.md index 6a2d3906f4aa9c..a27aa1498d34e8 100644 --- a/pages.fr/common/git-reflog.md +++ b/pages.fr/common/git-reflog.md @@ -11,6 +11,6 @@ `git reflog {{nom_de_branche}}` -- Affiche les 5 dérniéres entrés dans le reflog : +- Affiche les 5 dernières entrées dans le reflog : -`git reflog -n {{5}}` +`git reflog {{[-n|--max-count]}} 5` diff --git a/pages.fr/common/git-remote.md b/pages.fr/common/git-remote.md index ffaa86aa742403..e2bd985f999c51 100644 --- a/pages.fr/common/git-remote.md +++ b/pages.fr/common/git-remote.md @@ -1,28 +1,28 @@ # git remote -> Organisation des dépots suivis ("remotes"). +> Organisation des dépôts suivis ("remotes"). > Plus d'informations : . -- Affiche les dépots existants, leur nom et url : +- Affiche les dépôts existants, leur nom et URL : -`git remote -v` +`git remote {{[-v|--verbose]}}` -- Affiche les informations a propos d'un dépot : +- Affiche les informations à propos d'un dépôt : `git remote show {{nom_distant}}` -- Ajoute un dépot : +- Ajoute un dépôt : `git remote add {{nom_distant}} {{url_distant}}` -- Change l'url d'un dépot (ajouter `--add` pour conserver l'url existante) : +- Change l'URL d'un dépôt (ajouter `--add` pour conserver l'URL existante) : `git remote set-url {{nom_distant}} {{new_url}}` -- Suprime un dṕot : +- Supprime un dépôt : `git remote remove {{nom_distant}}` -- Renome un dépot : +- Renomme un dépôt : `git remote rename {{old_name}} {{new_name}}` diff --git a/pages.fr/common/git-repack.md b/pages.fr/common/git-repack.md index bcc239833a08ac..4765641e678072 100644 --- a/pages.fr/common/git-repack.md +++ b/pages.fr/common/git-repack.md @@ -1,12 +1,12 @@ # git repack -> Empaqueter les objets décompressés dans un dépot Git. +> Empaqueter les objets décompressés dans un dépôt Git. > Plus d'informations : . -- Empaqueter les objets décompressés dans le dépot courrant : +- Empaqueter les objets décompressés dans le dépôt courant : `git repack` -- Egalement suprime les objets redondants après empaquetage : +- Également supprimer les objets redondants après empaquetage : `git repack -d` diff --git a/pages.fr/common/git-reset.md b/pages.fr/common/git-reset.md index 81f4f8e794d816..7e6fb325224e07 100644 --- a/pages.fr/common/git-reset.md +++ b/pages.fr/common/git-reset.md @@ -5,30 +5,30 @@ > Si un hash de commit est passé en paramètre, Git reset annule les commits jusqu'à ce dernier. > Plus d'informations : . -- Tout enlever de la *zone de stage* : +- Tout enlever de la zone de stage : `git reset` -- Enlever des fichiers spécifiques de la *zone de stage* : +- Enlever des fichiers spécifiques de la zone de stage : `git reset {{chemin/vers/fichier(s)}}` -- Enlever une portion d'un fichier de la *zone de stage* : +- Enlever, en mode interactif, des fichiers spécifiques de l’index : -`git reset -p {{chemin/vers/fichier}}` +`git reset {{[-p|--patch]}} {{chemin/vers/fichier}}` -- Annuler le dernier *commit*, mais garder les chagements éffectués dans votre système de fichier : +- Annuler le dernier commit, mais garder les changements effectués dans votre système de fichiers : `git reset HEAD~` -- Défaire les deux derniers *commits*, et ajouter leur changements à l'index adding their changes to the index (dans la zone de stage) : +- Défaire les deux derniers commits, et ajouter leurs changements à l'index (dans la zone de stage) : `git reset --soft HEAD~2` -- Enlever tout les changements qui n'ont pas été *commit*, qu'ils soient dans la *zone de stage* ou non (pour enlever seulement les changements de la *zone de stage*, utiliser `git checkout`) : +- Enlever tout les changements qui n'ont pas été commit, qu'ils soient dans la zone de stage ou non (pour enlever seulement les changements de la zone de stage, utiliser `git checkout`) : `git reset --hard` -- Réinitialiser le dépôt à un commit spécifique en retirant tout les changements (ceci inclus les changements dans des commits entre la *tête* et le *commit* spécifié!) : +- Réinitialiser le dépôt à un commit spécifique en retirant tout les changements (ceci inclus les changements dans des commits entre la tête et le commit spécifié !) : `git reset --hard {{commit}}` diff --git a/pages.fr/common/git-rev-list.md b/pages.fr/common/git-rev-list.md index f95f05aec4f64e..118c3bfdd9f166 100644 --- a/pages.fr/common/git-rev-list.md +++ b/pages.fr/common/git-rev-list.md @@ -1,9 +1,9 @@ # git rev-list -> Liste les révisionts (commits) dans l'ordre chronologique inverse. +> Liste les révisions (commits) dans l'ordre chronologique inverse. > Plus d'informations : . -- Lister tout les commits dans la branche courrante : +- Lister tout les commits dans la branche courante : `git rev-list {{HEAD}}` diff --git a/pages.fr/common/git-rev-parse.md b/pages.fr/common/git-rev-parse.md index 3fbaf32e5ddeb2..6113f9f9a23479 100644 --- a/pages.fr/common/git-rev-parse.md +++ b/pages.fr/common/git-rev-parse.md @@ -3,14 +3,14 @@ > Afficher les métadonnées liées à des révisions spécifiques. > Plus d'informations : . -- Afficher le hash de commit de la branche courrante : +- Afficher l'empreinte du commit de la branche courante : `git rev-parse {{nom_de_branche}}` -- Affiche le nom de la branche courrante : +- Affiche le nom de la branche courante : `git rev-parse --abbrev-ref {{HEAD}}` -- Obtenir le chamin absolu du repertoire racine : +- Obtenir le chemin absolu du répertoire racine : `git rev-parse --show-toplevel` diff --git a/pages.fr/common/git-revert.md b/pages.fr/common/git-revert.md index e43b3de9a94b04..af6dc70f1082e4 100644 --- a/pages.fr/common/git-revert.md +++ b/pages.fr/common/git-revert.md @@ -1,11 +1,11 @@ # git revert -> Créer un nouveau commit qui efface les changements du précedant. +> Créer un nouveau commit qui efface les changements du précédent. > Plus d'informations : . - Crée un commit qui annule les changements du dernier commit : -`git revert {{@}}` +`git revert {{HEAD}}` - Crée un commit qui annule les changements des 5 dernier commit : @@ -15,6 +15,6 @@ `git revert {{master~5..master~2}}` -- Ne pas créer de nouveau commit, remplacer uniquement dans l'arbre courrant : +- Ne pas créer de nouveau commit, remplacer uniquement dans l'arbre courant : `git revert -n {{0c01a9..9a1743}}` diff --git a/pages.fr/common/git-rm.md b/pages.fr/common/git-rm.md index 094d133ceedb94..a7e9c3e8c47f1c 100644 --- a/pages.fr/common/git-rm.md +++ b/pages.fr/common/git-rm.md @@ -1,16 +1,16 @@ # git rm -> Supprimer des fichiers de l'index, du dépot et du systéme de fichiers. +> Supprimer des fichiers de l'index, du dépôt et du système de fichiers. > Plus d'informations : . -- Supprimer un fichiers de l'index, du dépot et du systéme de fichiers : +- Supprimer un fichiers de l'index, du dépôt et du système de fichiers : `git rm {{file}}` -- Supprimer un répertoire de l'index, du dépot et du systéme de fichiers : +- Supprimer un répertoire de l'index, du dépôt et du système de fichiers : `git rm -r {{directory}}` -- Supprimer un fichiers de l'index, du dépot mais le conserve sur le systéme de fichiers : +- Supprimer un fichiers de l'index, du dépôt mais le conserve sur le système de fichiers : `git rm --cached {{file}}` diff --git a/pages.fr/common/git-send-email.md b/pages.fr/common/git-send-email.md index 98fced535d9005..63cf68c711daa7 100644 --- a/pages.fr/common/git-send-email.md +++ b/pages.fr/common/git-send-email.md @@ -4,15 +4,15 @@ > Les correctifs peuvent être spécifiés sous forme de fichiers, de directions ou de liste de révisions. > Plus d'informations : . -- Envoyer le dernier commit de la branche courrante : +- Envoyer le dernier commit de la branche courante : `git send-email -1` -- envoyer un commit spécifiaue : +- Envoyer un commit spécifique : `git send-email -1 {{commit}}` -- envoyer de multiples commits de la branche courrante (ici: 10) : +- Envoyer de multiples commits de la branche courante (ici : 10) : `git send-email {{-10}}` diff --git a/pages.fr/common/git-shortlog.md b/pages.fr/common/git-shortlog.md index ebe55be4d32825..d19dd292d391d6 100644 --- a/pages.fr/common/git-shortlog.md +++ b/pages.fr/common/git-shortlog.md @@ -9,20 +9,20 @@ - Afficher un résumé de tous les commits effectués, regroupés par le nombre de commits effectués : -`git shortlog -n` +`git shortlog {{[-n|--numbered]}}` - Afficher un résumé de tous les commits effectués, regroupés par le nom et l'email de l'utilisateur : -`git shortlog -c` +`git shortlog {{[-c|--committer]}}` -- fficher un résumé des 5 derniers commits effectués : +- Afficher un résumé des 5 derniers commits effectués : -`git shortlog HEAD~{{5}}..HEAD` +`git shortlog HEAD~5..HEAD` - Afficher tout les utilisateurs, emails et le nombre de commits dans la branche : -`git shortlog -sne` +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}` - Afficher tout les utilisateurs, emails et le nombre de commits dans toutes les branches : -`git shortlog -sne --all` +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}} --all` diff --git a/pages.fr/common/git-show-branch.md b/pages.fr/common/git-show-branch.md index 28a9ab1d21e66b..629e8d92783e01 100644 --- a/pages.fr/common/git-show-branch.md +++ b/pages.fr/common/git-show-branch.md @@ -3,19 +3,19 @@ > Affiche les branches et leurs commits. > Plus d'informations : . -- Affiche un resumé du dernier commit dans la branche : +- Affiche un résumé du dernier commit dans la branche : -`git show-branch {{nom_de_branche}}|ref|commit}}` +`git show-branch {{nom_de_branche|ref|commit}}` - Comparer des commits avec plusieurs commits ou branches : -`git show-branch {{nom_de_branche}}|ref|commit}}` +`git show-branch {{nom_de_branche|ref|commit}}` - Comparer toutes les branches distantes : `git show-branch --remotes` -- Comparer le branche locale avec la branche distante : +- Comparer la branche locale avec la branche distante : `git show-branch --all` @@ -23,14 +23,14 @@ `git show-branch --all --list` -- Compareer une branche spécifique a la branche courante : +- Comparer une branche spécifique à la branche courante : -`git show-branch --current {{commit|branch_name|ref}}` +`git show-branch --current {{commit|nom_de_branche|ref}}` - Afficher le nom du commit au lieu du nom relatif : -`git show-branch --sha1-name --current {{current|branch_name|ref}}` +`git show-branch --sha1-name --current {{current|nom_de_branche|ref}}` - Continuez l'affichage d'un certain nombre de commits au-delà de l'ancêtre commun : -`git show-branch --more {{5}} {{commit|branch_name|ref}} {{commit|branch_name|ref}} {{...}}` +`git show-branch --more {{5}} {{commit|nom_de_branche|ref}} {{commit|nom_de_branche|ref}} {{...}}` diff --git a/pages.fr/common/git-show-ref.md b/pages.fr/common/git-show-ref.md index 9ba3c7755d54be..6ba3845297d12c 100644 --- a/pages.fr/common/git-show-ref.md +++ b/pages.fr/common/git-show-ref.md @@ -1,13 +1,13 @@ # git show-ref -> commande Git pour lister les références. +> Commande Git pour lister les références. > Plus d'informations : . -- Affiche toutes les références dans le dépot : +- Affiche toutes les références dans le dépôt : `git show-ref` -- Affiche seulement les références des tétes de branches : +- Affiche seulement les références des têtes de branches : `git show-ref --heads` @@ -15,6 +15,6 @@ `git show-ref --tags` -- Verifier l'existence d'une référence : +- Vérifier l'existence d'une référence : `git show-ref --verify {{chemin/vers/reference}}` diff --git a/pages.fr/common/git-show.md b/pages.fr/common/git-show.md index 0d4c8ee4f6a9bf..51b7121fde7933 100644 --- a/pages.fr/common/git-show.md +++ b/pages.fr/common/git-show.md @@ -15,7 +15,7 @@ `git show {{etiquette}}` -- Affiche les informations a propos du 3éme commit en partant du sommet de la branche : +- Affiche les informations à propos du 3ème commit en partant du sommet de la branche : `git show {{branche}}~{{3}}` diff --git a/pages.fr/common/git-sizer.md b/pages.fr/common/git-sizer.md index 5aef2cc1e229ee..c0b28d1f2c4db8 100644 --- a/pages.fr/common/git-sizer.md +++ b/pages.fr/common/git-sizer.md @@ -1,16 +1,16 @@ -# git sizer +# git-sizer -> Calcule diverses métriques de taille de dépot Git et vous alerte de tout ce qui pourrait causer des problèmes ou des inconvénients. +> Calcule diverses métriques de taille de dépôt Git et vous alerte de tout ce qui pourrait causer des problèmes ou des inconvénients. > Plus d'informations : . - Signaler uniquement les statistiques dont le niveau de préoccupation est supérieur à 0 : -`git sizer` +`git-sizer` - Signaler toutes les statistiques : -`git sizer -v` +`git-sizer -v` -- Afficher les options additionelles : +- Afficher les options additionnelles : -`git sizer -h` +`git-sizer -h` diff --git a/pages.fr/common/git-stage.md b/pages.fr/common/git-stage.md index 63c5e5a269d6d7..057d665549356d 100644 --- a/pages.fr/common/git-stage.md +++ b/pages.fr/common/git-stage.md @@ -1,33 +1,7 @@ # git stage -> Ajouter le contenu du fichier à la zone de préparation. -> Synonym of `git add`. -> Plus d'informations : . +> Cette commande est un alias de `git add`. -- Ajouter un fichier à l'index : +- Voir la documentation de la commande originale : -`git stage {{chemin/vers/fichier}}` - -- Ajoute tout les fichiers à l'index (suivis et non suivis) : - -`git stage -A` - -- Ajout uniquement des fichiers déja suivis : - -`git stage -u` - -- Ajout egalement des fichiers ignorés : - -`git stage -f` - -- Ajout des fichiers par parties, interactivement : - -`git stage -p` - -- Ajout d'un fichier par parties, interactivement : - -`git stage -p {{chemin/vers/fichier}}` - -- Ajout d'un fichier, interactivement : - -`git stage -i` +`tldr git add` diff --git a/pages.fr/common/git-stash.md b/pages.fr/common/git-stash.md index 39be3571e3c2bf..33b56ef30b7a8b 100644 --- a/pages.fr/common/git-stash.md +++ b/pages.fr/common/git-stash.md @@ -3,19 +3,19 @@ > Stocker les modifications Git locales dans une zone temporaire. > Plus d'informations : . -- Stocker les changements courrants, sauf les fichiers non suivis : +- Stocker les changements courants, sauf les fichiers non-suivis : -`git stash [push -m {{nom_de_stash_optionel}}]` +`git stash push {{[-m|--message]}} {{nom_de_stash_optionel}}` -- Stocker les changements courrants, incluant le sfichiers non suivis : +- Stocker les changements courants, incluant les fichiers non-suivis : -`git stash -u` +`git stash {{[-u|--include-untracked]}}` - Stocker les parties d'un fichier interactivement : -`git stash -p` +`git stash {{[-p|--patch]}}` -- Lister tout les stash (saffiche leurs noms, les branches relatives et messages) : +- Lister tous les stashs (affiche leurs noms, les branches relatives et messages) : `git stash list` @@ -23,14 +23,10 @@ `git stash apply {{nom_de_stash_ou_de_commit_optionel}}` -- Applique un stash (par défaut le dernier, stash@{0}), et le suprimmer de la liste des stash si il n'y a pas de conflits : +- Applique un stash (par défaut le dernier, stash@{0}), et le supprimer de la liste des stashs s'il n'y a pas de conflit : `git stash pop {{nom_de_stash_optionel}}` -- Suprime un stash (par défaut le dernier, stash@{0}) : - -`git stash drop {{nom_de_stash_optionel}}` - -- Suprime tout les stash : +- Supprime tous les stashs : `git stash clear` diff --git a/pages.fr/common/git-status.md b/pages.fr/common/git-status.md index ad8fe121d11026..593ed96f2d6aca 100644 --- a/pages.fr/common/git-status.md +++ b/pages.fr/common/git-status.md @@ -1,21 +1,21 @@ # git status -> Affiche les changements sur les fichiers dans la branche courrante. -> Affiche les fichiers édités, deplacés, renomés, ajoutés, suprimés par rapport a la référence de la branche courrante. +> Affiche les changements sur les fichiers dans la branche courante. +> Affiche les fichiers édités, déplacés, renommés, ajoutés, supprimés par rapport à la référence de la branche courante. > Plus d'informations : . -- Affiche les fichiers mofifiés qui n ont pas encore été ajoutés pour le commit : +- Affiche les fichiers modifiés qui n'ont pas encore été ajoutés pour le commit : `git status` -- Affiche les fichiers mofifiés (version courte) : +- Affiche les fichiers modifiés (version courte) : -`git status -s` +`git status {{[-s|--short]}}` -- Affiche les fichiers mofifiés, sans tenir des comptes des fichiers non suivis : +- Affiche les fichiers modifiés, sans tenir des comptes des fichiers non-suivis : -`git status --untracked-files=no` +`git status {{[-uno|--untracked-files=no]}}` -- Affiche les fichiers mofifiés (version courte) avec les informations de branche : +- Affiche les fichiers modifiés (version courte) avec les informations de branche : -`git status -sb` +`git status {{[-sb|--short --branch]}}` diff --git a/pages.fr/common/git-submodule.md b/pages.fr/common/git-submodule.md index 34d190f154ce1f..ac72c041da26bf 100644 --- a/pages.fr/common/git-submodule.md +++ b/pages.fr/common/git-submodule.md @@ -1,20 +1,20 @@ # git submodule -> Inspecter, metre a jour et manager des sous modules. +> Inspecter, mettre à jour et manager des sous-modules. > Plus d'informations : . -- Installer un submodule depuis le dépot courrant : +- Installer un sous-module depuis le dépôt courant : `git submodule update --init --recursive` -- Ajout d'un dépot Git en tant que sous module : +- Ajout d'un dépôt Git en tant que sous-module : `git submodule add {{repository_url}}` -- Ajout d'un dépot Git en tant que sous module a répertoire donné : +- Ajout d'un dépôt Git en tant que sous-module à un répertoire donné : `git submodule add {{repository_url}} {{chemin/vers/repertoire}}` -- Metre à jour tout les sous modules à leurs derniers commit : +- Mettre à jour tout les sous-modules à leur dernier commit : `git submodule foreach git pull` diff --git a/pages.fr/common/git-subtree.md b/pages.fr/common/git-subtree.md index 5de1af06b53e0f..19e6a0dea2d167 100644 --- a/pages.fr/common/git-subtree.md +++ b/pages.fr/common/git-subtree.md @@ -1,24 +1,24 @@ # git subtree > Outil pour gérer les dépendances de projet en tant que sous-projets. -> Plus d'informations : . +> Plus d'informations : . -- Ajout d'un dépot Git en tant que sous arbre : +- Ajout d'un dépôt Git en tant que sous-arbre : -`git subtree add --prefix={{chemin/vers/repertoire/}} --squash {{repository_url}} {{master}}` +`git subtree add {{[-P|--prefix]}} {{chemin/vers/repertoire/}} --squash {{repository_url}} {{master}}` -- Metre a jour le sous arbre avec son dernier commit : +- Mettre à jour le sous-arbre avec son dernier commit : -`git subtree pull --prefix={{chemin/vers/repertoire/}} {{repository_url}} {{master}}` +`git subtree pull {{[-P|--prefix]}} {{chemin/vers/repertoire/}} {{repository_url}} {{master}}` - Merge le dépot d'un sous arbre dans la branche master : -`git subtree merge --prefix={{chemin/vers/repertoire/}} --squash {{repository_url}} {{master}}` +`git subtree merge {{[-P|--prefix]}} {{chemin/vers/repertoire/}} --squash {{repository_url}} {{master}}` -- Pousser les commits vers le dépot d'un sous arbre : +- Pousser les commits vers le dépôt d'un sous-arbre : -`git subtree push --prefix={{chemin/vers/repertoire/}} {{repository_url}} {{master}}` +`git subtree push {{[-P|--prefix]}} {{chemin/vers/repertoire/}} {{repository_url}} {{master}}` - Extraire un nouvel historique de projet de l'historique d'un sous-arbre : -`git subtree split --prefix={{chemin/vers/repertoire/}} {{repository_url}} -b {{nom_de_branche}}` +`git subtree split {{[-P|--prefix]}} {{chemin/vers/repertoire/}} {{repository_url}} {{[-b|--branch]}} {{nom_de_branche}}` diff --git a/pages.fr/common/git-svn.md b/pages.fr/common/git-svn.md index 8d69ab2955937a..8cb104124fc542 100644 --- a/pages.fr/common/git-svn.md +++ b/pages.fr/common/git-svn.md @@ -3,22 +3,22 @@ > Opération bidirectionnelle entre un référentiel Subversion et Git. > Plus d'informations : . -- Cloner un dépot SVN : +- Cloner un dépôt SVN : `git svn clone {{https://example.com/subversion_repo}} {{local_dir}}` -- Cloner un dépot SVN a partir d'une révision donnée : +- Cloner un dépôt SVN à partir d'une révision donnée : -`git svn clone -r{{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}` +`git svn clone {{[-r|--revision]}} {{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}` -- Metre a jourr le clone local a partir du depot SVN distant : +- Mettre à jour le clone local à partir du dépôt SVN distant : `git svn rebase` -- Chercher les changements distants dans le dépot SVN dans les appliquer sur le HEAD : +- Chercher les changements distants dans le dépôt SVN dans les appliquer sur le HEAD : `git svn fetch` - Commiter sur le SVN : -`git svn dcommit` +`git svn commit` diff --git a/pages.fr/common/git-switch.md b/pages.fr/common/git-switch.md index 42b4aaa5e6f168..dab91828e3f9e7 100644 --- a/pages.fr/common/git-switch.md +++ b/pages.fr/common/git-switch.md @@ -1,7 +1,7 @@ # git switch > Basculez entre les branches Git. Nécessite la version 2.23+ de Git. -> Voir egalement `git checkout`. +> Voir également `git checkout`. > Plus d'informations : . - Baculer sur une branche existante : @@ -10,13 +10,13 @@ - Créer une nouvelle branche et basculer dessus : -`git switch --create {{nom_de_branche}}` +`git switch {{[-c|--create]}} {{nom_de_branche}}` - Créer une nouvelle branche en partant d'un commit donné et basculer dessus : -`git switch --create {{nom_de_branche}} {{commit}}` +`git switch {{[-c|--create]}} {{nom_de_branche}} {{commit}}` -- Basculer sur la branche précedante : +- Basculer sur la branche précédente : `git switch -` @@ -26,4 +26,4 @@ - Basculer vers une branche et fusionner automatiquement la branche actuelle et toutes les modifications non validées dedans : -`git switch --merge {{nom_de_branche}}` +`git switch {{[-m|--merge]}} {{nom_de_branche}}` diff --git a/pages.fr/common/git-tag.md b/pages.fr/common/git-tag.md index 96ada292842ab5..14c976778ab7cf 100644 --- a/pages.fr/common/git-tag.md +++ b/pages.fr/common/git-tag.md @@ -1,7 +1,7 @@ # git tag -> Créer, lister, verifier et suprimer des tags. -> Un tag est une reférence statique vers un commit. +> Créer, lister, vérifier et supprimer des tags. +> Un tag est une référence statique vers un commit. > Plus d'informations : . - Lister tout les tags : @@ -18,15 +18,15 @@ - Créer un tag annoté avec le message spécifié : -`git tag {{nom_d_etiquette}} -m {{message_d_etiquette}}` +`git tag {{nom_d_etiquette}} {{[-m|--message]}} {{message_d_etiquette}}` -- Suprimer le tag avec le nom spécifié : +- Supprimer le tag avec le nom spécifié : -`git tag -d {{nom_d_etiquette}}` +`git tag {{[-d|--delete]}} {{nom_d_etiquette}}` -- Metre a jour les tags depuis l'origine : +- Mettre à jour les tags depuis l'origine : -`git fetch --tags` +`git fetch {{[-t|--tags]}}` - Liste toutes les tags dont les ancêtres incluent un commit donné : diff --git a/pages.fr/common/git-worktree.md b/pages.fr/common/git-worktree.md index 6e80869e0e1513..e2e632bb3afd4b 100644 --- a/pages.fr/common/git-worktree.md +++ b/pages.fr/common/git-worktree.md @@ -1,20 +1,20 @@ # git worktree -> Gérez plusieurs arborescences de travail attachées au même dépot. +> Gérer plusieurs arbres de travail attachés au même dépôt. > Plus d'informations : . -- Créer un nouveau sous arbre avec la branche spécifiée extraite dedans : +- Créer un nouvel arbre de travail avec une branche spécifiée : -`git worktree add {{chemin/vers/repertoire}} {{branche}}` +`git worktree add {{chemin/vers/répertoire}} {{branche}}` -- Créer un nouveau sous arbre branche extraite dedans : +- Créer un nouvel arbre de travail avec une nouvelle branche : -`git worktree add {{chemin/vers/repertoire}} -b {{nouvelle_branche}}` +`git worktree add {{chemin/vers/répertoire}} -b {{nouvelle_branche}}` -- Répertoriez tous les sous arbres attachés à ce dépot : +- Répertorier tous les arbres de travail attachés à ce dépôt : `git worktree list` -- Suprime les sous arbres (apres avoir suprimé les repertoires de travail) : +- Supprimer les arbres de travail (après avoir supprimé les répertoires de travail) : `git worktree prune` diff --git a/pages.fr/common/git.md b/pages.fr/common/git.md index ef4d5b0ff04146..d63f841f8a1993 100644 --- a/pages.fr/common/git.md +++ b/pages.fr/common/git.md @@ -1,20 +1,29 @@ # git > Système de gestion de versions décentralisé. -> Plus d'informations : . +> Certaines commandes comme `git commit` ont leur propre documentation. +> Plus d'informations : . -- Obtenir la version de Git : +- Exécuter une sous-commande Git : -`git --version` +`git {{sous_commande}}` + +- Exécuter une sous-commande Git sur un répertoire personnalisé : + +`git -C {{chemin/vers/repertoire}} {{sous_commande}}` + +- Exécuter une sous-commande Git avec un paramètre de configuration spécifique : + +`git -c '{{cle_param_config}}={{valeur}}' {{sous_commande}}` - Afficher l'aide générale : `git --help` -- Afficher l'aide sur une commande Git : +- Afficher l'aide sur une sous-commande Git : -`git help {{command}}` +`git help {{sous_commande}}` -- Exécuter une commande Git : +- Obtenir la version de Git : -`git {{command}}` +`git --version` diff --git a/pages.fr/common/gnmic-sub.md b/pages.fr/common/gnmic-sub.md new file mode 100644 index 00000000000000..453c5db27f49bf --- /dev/null +++ b/pages.fr/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Cette commande est un alias de `gnmic subscribe`. + +- Voir la documentation de la commande originale : + +`tldr gnmic subscribe` diff --git a/pages.fr/common/go.md b/pages.fr/common/go.md new file mode 100644 index 00000000000000..8ef2f839756be2 --- /dev/null +++ b/pages.fr/common/go.md @@ -0,0 +1,33 @@ +# go + +> Outil de gestion du code source Go. +> Certaines sous-commandes telles que `build` ont leur propre documentation d'utilisation. +> Plus d'informations : . + +- Télécharger et installer un paquet, spécifié par son chemin d'importation : + +`go get {{chemin_du_paquet}}` + +- Compiler et exécuter un fichier source (il doit contenir un paquet `main`) : + +`go run {{fichier}}.go` + +- Compiler un fichier source dans un exécutable nommé : + +`go build -o {{executable}} {{fichier}}.go` + +- Compile le paquet présent dans le répertoire courant : + +`go build` + +- Exécuter tous les cas de test du paquet courant (les fichiers doivent se terminer par `_test.go`) : + +`go test` + +- Compiler et installer le paquet actuel : + +`go install` + +- Initialiser un nouveau module dans le répertoire courant : + +`go mod init {{nom_du_module}}` diff --git a/pages.fr/common/google-chrome.md b/pages.fr/common/google-chrome.md new file mode 100644 index 00000000000000..3fbb02b48336d8 --- /dev/null +++ b/pages.fr/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Cette commande est un alias de `chromium`. +> Plus d'informations : . + +- Voir la documentation de la commande originale : + +`tldr chromium` diff --git a/pages.fr/common/grep.md b/pages.fr/common/grep.md index bb759407ca5eee..30441f6cf783d0 100644 --- a/pages.fr/common/grep.md +++ b/pages.fr/common/grep.md @@ -1,36 +1,33 @@ # grep > Recherche des motifs dans un texte. -> Supporte des motifs simples et des expressions regulières. +> Supporte des motifs simples et des expressions régulières. +> Plus d'informations : . - Recherche une chaîne de caractères précise : -`grep {{chaîne_recherchée}} {{chemin/vers/fichier}}` +`grep "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` - Recherche en ignorant la casse : -`grep -i {{chaîne_recherchée}} {{chemin/vers/fichier}}` +`grep {{[-F|--fixed-strings]}} "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` - Recherche récursivement (en ignorant les fichiers non-texte) dans le dossier courant une chaîne de caractères précise : -`grep -RI {{chaîne_recherchée}} .` +`grep {{[-r|--recursive]}} {{[-n|--line-number]}} "{{chaîne_recherchée}}" .` -- Utilise des expressions rationnelles étendues (supporte `?`, `+`, `{}`, `()` et `|`) : +- Utilise des expressions régulières étendues (supporte `?`, `+`, `{}`, `()` et `|`) : -`grep -E {{^regex$}} {{chemin/vers/fichier}}` +`grep {{[-Ei|--extended-regexp --ignore-case]}} {{expression_régulière}} {{chemin/vers/fichier}}` - Affiche 3 lignes de [C]ontexte, avant ([B]efore), ou [A]près chaque concordance : -`grep -{{C|B|A}} 3 {{chaîne_recherchée}} {{chemin/vers/fichier}}` +`grep {{--context|--before-context|--after-context}} 3 "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` - Affiche le nom du fichier avec la ligne correspondante pour chaque concordance : -`grep -Hn {{chaîne_recherchée}} {{chemin/vers/fichier}}` +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` - Utilise l'entrée standard au lieu d'un fichier : -`cat {{chemin/vers/fichier}} | grep {{chaîne_recherchée}}` - -- Inverse le résultat pour exclure des chaînes de caractères spécifiques : - -`grep -v {{chaîne_recherchée}}` +`cat {{chemin/vers/fichier}} | grep "{{chaîne_recherchée}}"` diff --git a/pages.fr/common/gulp.md b/pages.fr/common/gulp.md new file mode 100644 index 00000000000000..bb5380ebb89ba1 --- /dev/null +++ b/pages.fr/common/gulp.md @@ -0,0 +1,17 @@ +# gulp + +> Système d'exécution de tâches et de construction en continu pour JavaScript. +> Les tâches sont définies dans le fichier `gulpfile.js` à la racine du projet. +> Plus d'informations : . + +- Exécute la tâche par défaut : + +`gulp` + +- Exécute des tâches individuelles : + +`gulp {{tâche}} {{autre_tâche}}` + +- Affiche l'arbre de dépendance des tâches pour le gulpfile chargé : + +`gulp --tasks` diff --git a/pages.fr/common/hashcat.md b/pages.fr/common/hashcat.md new file mode 100644 index 00000000000000..9be2eb382d9174 --- /dev/null +++ b/pages.fr/common/hashcat.md @@ -0,0 +1,32 @@ +# hashcat + +> Outil de récupération de mot de passe rapide et avancé. +> Plus d'informations : . + +- Effectue une attaque par force brute (mode 3) avec le masque hashcat par défaut : + +`hashcat --hash-type {{id_type_hash}} --attack-mode {{3}} {{valeur_hash}}` + +- Effectue une attaque par force brute (mode 3) avec un motif connu de 4 chiffres : + +`hashcat --hash-type {{id_type_hash}} --attack-mode {{3}} {{valeur_hash}} "{{?d?d?d?d}}"` + +- Effectue une attaque par force brute (mode 3) en utilisant au plus 8 caractères parmi tous les caractères ASCII imprimables : + +`hashcat --hash-type {{id_type_hash}} --attack-mode {{3}} --increment {{valeur_hash}} "{{?a?a?a?a?a?a?a?a}}"` + +- Effectue une attaque par dictionnaire (mode 0) en utilisant la liste de mots RockYou d'une machine Kali Linux : + +`hashcat --hash-type {{id_type_hash}} --attack-mode {{0}} {{valeur_hash}} {{/usr/share/wordlists/rockyou.txt}}` + +- Effectue une attaque par dictionnaire basée sur des règles (mode 0) en utilisant la liste de mots RockYou modifiée avec des variations de mots de passe courants : + +`hashcat --hash-type {{id_type_hash}} --attack-mode {{0}} --rules-file {{/usr/share/hashcat/rules/best64.rule}} {{valeur_hash}} {{/usr/share/wordlists/rockyou.txt}}` + +- Effectue une attaque combinée (mode 1) en utilisant la concaténation de mots provenant de deux dictionnaires personnalisés différents : + +`hashcat --hash-type {{id_type_hash}} --attack-mode {{1}} {{valeur_hash}} {{/chemin/vers/dictionnaire1.txt}} {{/chemin/vers/dictionnaire2.txt}}` + +- Affiche le résultat d'un hash déjà craqué : + +`hashcat --show {{valeur_hash}}` diff --git a/pages.fr/common/hexyl.md b/pages.fr/common/hexyl.md new file mode 100644 index 00000000000000..ce0d070306d515 --- /dev/null +++ b/pages.fr/common/hexyl.md @@ -0,0 +1,20 @@ +# hexyl + +> Un simple visualiseur hexadécimal pour le terminal. Il utilise des couleurs pour distinguer les différentes catégories d'octets. +> Plus d'informations : . + +- Affiche la représentation hexadécimale d'un fichier : + +`hexyl {{chemin/vers/fichier}}` + +- Affiche la représentation hexadécimale des n premiers octets d'un fichier : + +`hexyl -n {{n}} {{chemin/vers/fichier}}` + +- Affiche les octets 512 à 1024 d'un fichier : + +`hexyl -r {{512}}:{{1024}} {{chemin/vers/fichier}}` + +- Affiche 512 octets en commençant par le 1024e octet : + +`hexyl -r {{1024}}:+{{512}} {{chemin/vers/fichier}}` diff --git a/pages.fr/common/hping.md b/pages.fr/common/hping.md index ecce811342ae88..6666ff2d3a08ff 100644 --- a/pages.fr/common/hping.md +++ b/pages.fr/common/hping.md @@ -1,25 +1,7 @@ # hping -> Outil en ligne de commande permettant d'assembler ou analyser des paquets TCP/IP. -> Inspirer par la commande `ping`. -> Plus d'informations : . +> Cette commande est un alias de `hping3`. -- Ping localhost via TCP: +- Voir la documentation de la commande originale : -`hping3 {{localhost}}` - -- Ping une adresse IP, via TCP, sur un port spécifique: - -`hping3 -p {{80}} -S {{192.168.1.1}}` - -- Ping une adresse IP, via UDP, sur le port 80: - -`hping3 --udp -p {{80}} -S {{192.168.1.1}}` - -- Scanner un ensemble de ports TCP, sur une adresse IP spécifique: - -`hping3 --scan {{80,3000,9000}} -S {{192.168.1.1}}` - -- Effectuer un test de montée en charge sur le port 80: - -`hping3 --flood -p {{80}} -S {{192.168.1.1}}` +`tldr hping3` diff --git a/pages.fr/common/hx.md b/pages.fr/common/hx.md new file mode 100644 index 00000000000000..d00d6d8e9398e3 --- /dev/null +++ b/pages.fr/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Cette commande est un alias de `helix`. + +- Voir la documentation de la commande originale : + +`tldr helix` diff --git a/pages.fr/common/ifconfig.md b/pages.fr/common/ifconfig.md index 1ce12e58d6a2de..0b834251f32f1e 100644 --- a/pages.fr/common/ifconfig.md +++ b/pages.fr/common/ifconfig.md @@ -1,24 +1,24 @@ # ifconfig > Configurateur des interfaces réseau. +> Plus d'informations : . - Affiche les paramètres de réseau d'un adaptateur ethernet : -`ifconfig {{eth0}}` +`ifconfig eth0` -- Affiche les détails de toutes les interfaces, y compris les interfaces -désactivées : +- Affiche les détails de toutes les interfaces, y compris les interfaces désactivées : `ifconfig -a` - Désactive l'interface eth0 : -`ifconfig {{eth0}} down` +`ifconfig eth0 down` - Active l'interface eth0 : -`ifconfig {{eth0}} up` +`ifconfig eth0 up` -- Assigne une addresse IP à l'interface eth0 : +- Assigne une adresse IP à l'interface eth0 : -`ifconfig {{eth0}} {{addresse_ip}}` +`ifconfig eth0 {{addresse_ip}}` diff --git a/pages.fr/common/install.md b/pages.fr/common/install.md index 6519d9be897fc8..5c0ba19198f2e8 100644 --- a/pages.fr/common/install.md +++ b/pages.fr/common/install.md @@ -1,7 +1,8 @@ # install -> Copie des fichiers et mets à jour leurs attributs. +> Copie des fichiers et met à jour leurs attributs. > Copie des fichiers (souvent des exécutables) dans un répertoire système comme `/usr/local/bin` et leur donne les permissions et propriétaires appropriés. +> Plus d'informations : . - Copie des fichiers vers une destination : @@ -9,16 +10,16 @@ - Copie des fichiers vers une destination en mettant à jour leur propriétaire : -`install -o {{utilisateur}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}` +`install --owner {{utilisateur}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}` - Copie des fichiers vers une destination en mettant à jour leur groupe d'appartenance : -`install -g {{utilisateur}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}` +`install --group {{utilisateur}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}` - Copie des fichiers vers une destination en mettant à jour leur mode : -`install -m {{+x}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}` +`install --mode {{+x}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}` - Copie des fichiers en mettant à jour leur dates d'accès et de modification à partir de leurs sources respectives : -`install -p {{chemin/fichier/source}} {{chemin/repertoire/destination}}` +`install --preserve-timestamps {{chemin/fichier/source}} {{chemin/repertoire/destination}}` diff --git a/pages.fr/common/jekyll.md b/pages.fr/common/jekyll.md index 955805822e61a6..fcb86b12c37301 100644 --- a/pages.fr/common/jekyll.md +++ b/pages.fr/common/jekyll.md @@ -1,9 +1,9 @@ # jekyll -> Générateur de site statique simple et convenable aux blogs. -> Plus d'informations : . +> Générateur de site statique simple, adapté aux blogs. +> Plus d'informations : . -- Génère un serveur de développement qui tourne au http://localhost:4000/ : +- Génère un serveur de développement qui tourne en http://localhost:4000/ : `jekyll serve` diff --git a/pages.fr/common/jest.md b/pages.fr/common/jest.md index 366042f12c5d21..c8be23580e210e 100644 --- a/pages.fr/common/jest.md +++ b/pages.fr/common/jest.md @@ -1,15 +1,19 @@ # jest -> Une plateforme de test JavaScript avec zero configuration. +> Une plateforme de test JavaScript sans configuration. > Plus d'informations : . - Exécuter tous les tests disponibles : `jest` -- Exécuter les suites de test des fichiers dont les chemins correspondent aux expressions régulières indiquées : +- Exécuter les suites de test de fichiers donnés : -`jest {{fichier_test1}} {{chemin/vers/fichier_test2.js}}` +`jest {{chemin/vers/fichier1 chemin/vers/fichier2 ...}}` + +- Exécuter les suites de test pour des fichiers, dans le répertoire courant et ses sous-répertoires, dont le chemin correspond à l'expression régulière indiquée : + +`jest {{expression_régulière}} {{expression_régulière}}` - Exécuter les tests dont les noms correspondent aux expressions régulières indiquées : @@ -23,7 +27,7 @@ `jest --onlyChanged` -- Surveiller les changements sur les fichiers et réexécuter les tests associés : +- Surveiller les changements sur les fichiers et ré-exécuter les tests associés : `jest --watch` diff --git a/pages.fr/common/john.md b/pages.fr/common/john.md new file mode 100644 index 00000000000000..4d47729a14b5aa --- /dev/null +++ b/pages.fr/common/john.md @@ -0,0 +1,36 @@ +# john + +> Outil de cassage de mot de passe. +> Plus d'informations : . + +- Craque les hashs de mots de passe : + +`john {{chemin/vers/hashs.txt}}` + +- Affiche les mots de passe cassés : + +`john --show {{chemin/vers/hashs.txt}}` + +- Affiche les mots de passe cassés des utilisateurs par identifiant d'utilisateur à partir de plusieurs fichiers : + +`john --show --users={{ids_utilisateurs}} {{chemin/vers/hashs1.txt chemin/vers/autres/hashs2.txt ...}}` + +- Craque des hashs de mots de passe, à l'aide d'une liste de mots personnalisée : + +`john --wordlist={{chemin/vers/liste_de_mots.txt}} {{chemin/vers/hashs.txt}}` + +- Liste des formats de hachage disponibles : + +`john --list=formats` + +- Craque les hashs de mots de passe, en utilisant un format de hash spécifique : + +`john --format={{md5crypt}} {{chemin/vers/hashs.txt}}` + +- Craque les hashs de mots de passe, en activant les règles d'altération de mots : + +`john --rules {{chemin/vers/hashs.txt}}` + +- Restaure une session de craquage interrompue à partir d'un fichier d'état, par exemple `mon_cassage.rec` : + +`john --restore={{chemin/vers/mon_cassage.rec}}` diff --git a/pages.fr/common/jq.md b/pages.fr/common/jq.md new file mode 100644 index 00000000000000..6fcdd0d0dff59d --- /dev/null +++ b/pages.fr/common/jq.md @@ -0,0 +1,32 @@ +# jq + +> Un processeur JSON en ligne de commande qui utilise un langage dédié (DSL). +> Plus d'informations : . + +- Exécute une expression spécifique (affiche une sortie JSON coloré et formaté) : + +`{{cat chemin/vers/fichier.json}} | jq '.'` + +- Exécute un script spécifique : + +`{{cat chemin/vers/fichier.json}} | jq --from-file {{chemin/vers/script.jq}}` + +- Transmet des arguments spécifiques : + +`{{cat chemin/vers/fichier.json}} | jq {{--arg "nom1" "valeur1" --arg "nom2" "valeur2" ...}} '{{. + $ARGS.named}}'` + +- Imprime des clés spécifiques : + +`{{cat chemin/vers/fichier.json}} | jq '{{.clé1, .clé2, ...}}'` + +- Imprime des éléments spécifiques du tableau : + +`{{cat chemin/vers/fichier.json}} | jq '{{.[index1], .[index2], ...}}'` + +- Imprime tous les éléments du tableau/les clés de l'objet : + +`{{cat chemin/vers/fichier.json}} | jq '.[]'` + +- Ajoute/supprime des clés spécifiques : + +`{{cat chemin/vers/fichier.json}} | jq '. {{+|-}} {{{"clé1": "valeur1", "clé2": "valeur2", ...}}}'` diff --git a/pages.fr/common/kafkacat.md b/pages.fr/common/kafkacat.md new file mode 100644 index 00000000000000..669f4fd56d86fb --- /dev/null +++ b/pages.fr/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Cette commande est un alias de `kcat`. + +- Voir la documentation de la commande originale : + +`tldr kcat` diff --git a/pages.fr/common/kill.md b/pages.fr/common/kill.md new file mode 100644 index 00000000000000..44b4d4e1957e9c --- /dev/null +++ b/pages.fr/common/kill.md @@ -0,0 +1,33 @@ +# kill + +> Envoie un signal à un processus, généralement pour l'interrompre. +> Tous les signaux sauf SIGKILL et SIGSTOP peuvent être interceptés par le processus pour pouvoir se terminer proprement. +> Plus d'informations : . + +- Termine un processus avec le signal SIGTERM (terminaison) par défaut : + +`kill {{identifiant_processus}}` + +- Liste les noms des signaux disponibles (à utiliser sans leurs préfixes `SIG`) : + +`kill -l` + +- Termine un processus avec le signal SIGHUP ("raccrocher"). Beaucoup de daemons se rafraîchissent au lieu de terminer : + +`kill -{{1|HUP}} {{identifiant_processus}}` + +- Termine un processus avec le signal SIGINT ("interruption"). Généralement initié par l'utilisateur appuyant sur `` : + +`kill -{{2|INT}} {{identifiant_processus}}` + +- Demande au système d'exploitation de mettre fin à un processus immédiatement (sans possibilité d'intercepter le signal) : + +`kill -{{9|KILL}} {{identifiant_processus}}` + +- Demande au système d'exploitation de suspendre un processus jusqu'à recevoir le signal SIGCONT ("continue") : + +`kill -{{17|STOP}} {{identifiant_processus}}` + +- Envoie le signal `SIGUSR1` à tous les processus dans le groupe avec l'identifiant indiqué : + +`kill -{{SIGUSR1}} -{{identifiant_groupe}}` diff --git a/pages.fr/common/kosmorro.md b/pages.fr/common/kosmorro.md index acc0457f6290af..260a8e3d4d024f 100644 --- a/pages.fr/common/kosmorro.md +++ b/pages.fr/common/kosmorro.md @@ -1,7 +1,7 @@ # kosmorro -> Calcule les éphémérides et les événements pour une date donnée, à un emplacement donné sur Terre. -> Plus d'informations : . +> Calcule les éphémérides et les évènements pour une date donnée, à un emplacement donné sur Terre. +> Plus d'informations : . - Obtenir les éphémérides pour Paris (France) : @@ -18,4 +18,3 @@ - Générer un fichier PDF (TeXLive doit être installé) : `kosmorro --format={{pdf}} --output={{chemin/vers/le/fichier.pdf}}` - diff --git a/pages.fr/common/ksh.md b/pages.fr/common/ksh.md new file mode 100644 index 00000000000000..22f8867958ab04 --- /dev/null +++ b/pages.fr/common/ksh.md @@ -0,0 +1,21 @@ +# ksh + +> Korn SHell, un interpréteur de ligne de commande compatible avec Bash. +> Voir aussi `histexpand` pour l'expansion de l'historique. +> Plus d'informations : . + +- Démarre une session shell interactive : + +`ksh` + +- Exécute une commande, puis termine la session : + +`ksh -c "{{commande}}"` + +- Exécute un script : + +`ksh {{chemin/vers/le/script.ksh}}` + +- Exécute un script en affichant chaque commande avant de l'exécuter : + +`ksh -x {{chemin/vers/le/script.ksh}}` diff --git a/pages.fr/common/llvm-ar.md b/pages.fr/common/llvm-ar.md new file mode 100644 index 00000000000000..ba620c8accba9e --- /dev/null +++ b/pages.fr/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Cette commande est un alias de `ar`. + +- Voir la documentation de la commande originale : + +`tldr ar` diff --git a/pages.fr/common/llvm-g++.md b/pages.fr/common/llvm-g++.md new file mode 100644 index 00000000000000..5fee9b4fee1195 --- /dev/null +++ b/pages.fr/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Cette commande est un alias de `clang++`. + +- Voir la documentation de la commande originale : + +`tldr clang++` diff --git a/pages.fr/common/llvm-gcc.md b/pages.fr/common/llvm-gcc.md new file mode 100644 index 00000000000000..23b3e756886417 --- /dev/null +++ b/pages.fr/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Cette commande est un alias de `clang`. + +- Voir la documentation de la commande originale : + +`tldr clang` diff --git a/pages.fr/common/llvm-nm.md b/pages.fr/common/llvm-nm.md new file mode 100644 index 00000000000000..e4db03dcd58f17 --- /dev/null +++ b/pages.fr/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Cette commande est un alias de `nm`. + +- Voir la documentation de la commande originale : + +`tldr nm` diff --git a/pages.fr/common/llvm-objdump.md b/pages.fr/common/llvm-objdump.md new file mode 100644 index 00000000000000..7b732875895e01 --- /dev/null +++ b/pages.fr/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Cette commande est un alias de `objdump`. + +- Voir la documentation de la commande originale : + +`tldr objdump` diff --git a/pages.fr/common/llvm-strings.md b/pages.fr/common/llvm-strings.md new file mode 100644 index 00000000000000..797ec67c74bdd1 --- /dev/null +++ b/pages.fr/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Cette commande est un alias de `strings`. + +- Voir la documentation de la commande originale : + +`tldr strings` diff --git a/pages.fr/common/ln.md b/pages.fr/common/ln.md index aa11748983550b..57128d38f53a8b 100644 --- a/pages.fr/common/ln.md +++ b/pages.fr/common/ln.md @@ -1,15 +1,16 @@ # ln > Crée des liens vers des fichiers et répertoires. +> Plus d'informations : . - Crée un lien symbolique vers un fichier ou un répertoire : -`ln -s {{chemin/vers/fichier_ou_repertoire}} {{chemin/vers/lien_symbolique}}` +`ln {{[-s|--symbolic]}} {{/chemin/vers/fichier_ou_repertoire}} {{chemin/vers/lien_symbolique}}` - Modifie la cible d'un lien symbolique existant : -`ln -sf {{chemin/vers/nouveau_fichier}} {{chemin/vers/lien_symbolique}}` +`ln {{[-sf|--symbolic --force]}} {{/chemin/vers/nouveau_fichier}} {{chemin/vers/lien_symbolique}}` - Crée un lien dur vers un fichier : -`ln {{chemin/vers/fichier}} {{chemin/vers/lien_dur}}` +`ln {{/chemin/vers/fichier}} {{chemin/vers/lien_dur}}` diff --git a/pages.fr/common/ls.md b/pages.fr/common/ls.md index a15452b05cb4fd..72d2f4d14cfdfc 100644 --- a/pages.fr/common/ls.md +++ b/pages.fr/common/ls.md @@ -1,6 +1,7 @@ # ls > Liste le contenu d'un répertoire. +> Plus d'informations : . - Liste les fichiers, un par ligne : @@ -8,20 +9,28 @@ - Liste tous les fichiers, ainsi que les fichiers cachés : -`ls -a` +`ls {{[-a|--all]}}` + +- Liste tous les fichiers, avec les noms de répertoires suivis d'un `/` : + +`ls {{[-F|--classify]}}` - Liste tous les fichiers avec un format détaillé (permissions, propriétaire, taille et date de modification) : -`ls -la` +`ls {{[-la|--all -l]}}` -- Liste les fichiers avec un format détaillé en utilisant des prefixes d'unités (ko, Mo, Go) : +- Liste les fichiers avec un format détaillé en utilisant des préfixes d'unités (KiB, MiB, GiB) : -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` - Liste les fichiers avec un format détaillé en triant par taille décroissante : -`ls -lS` +`ls {{-lSR|-lS --recursive}}` - Liste avec un format détaillé tous les fichiers en triant par date de modification (les plus anciennes en premier) : -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` + +- Liste uniquement les répertoires : + +`ls {{[-d|--directory]}} */` diff --git a/pages.fr/common/lsd.md b/pages.fr/common/lsd.md new file mode 100644 index 00000000000000..5fa3fb301c894a --- /dev/null +++ b/pages.fr/common/lsd.md @@ -0,0 +1,37 @@ +# lsd + +> Liste le contenu d'un répertoire. +> Commande `ls` de nouvelle génération, écris en Rust. +> Plus d'informations : . + +- Liste les fichiers et les répertoires, un par ligne : + +`lsd -1` + +- Liste tous les fichiers et les répertoires, ainsi que ceux cachés, du répertoire courant : + +`lsd -a` + +- Liste les fichiers et les répertoires en ajoutant `/` après le nom des répertoires : + +`lsd -F` + +- Liste tous les fichiers et les répertoires dans le format long (permissions, propriétaire, taille dans un format lisible, et date de modification) : + +`lsd -lha` + +- Liste les fichiers et les répertoires dans le format long, triés par taille (descendent) : + +`lsd -lS` + +- Liste les fichiers et les répertoires dans le format long, triés par date de modification (plus vieux en premier) : + +`lsd -ltr` + +- Liste seulement les répertoires : + +`lsd -d {{*/}}` + +- Liste récursivement tous les répertoires dans un format arborescent : + +`lsd --tree -d` diff --git a/pages.fr/common/lua.md b/pages.fr/common/lua.md index d1e31b59c31304..595e69d26cc3e8 100644 --- a/pages.fr/common/lua.md +++ b/pages.fr/common/lua.md @@ -1,10 +1,9 @@ # lua -> Un langage de programmation puissant, léger, et convenable aux -systèmes embarqués. -> Plus d'informations : . +> Un langage de programmation puissant, léger, et convenable aux systèmes embarqués. +> Plus d'informations : . -- Démarre une session de commandes intéractive Lua : +- Démarre une session de commandes interactive Lua : `lua` @@ -14,4 +13,4 @@ systèmes embarqués. - Exécute une expression Lua : -`lua -e '{{print( "Hello World" )}}` +`lua -e '{{print( "Hello World" )}}'` diff --git a/pages.fr/common/lzcat.md b/pages.fr/common/lzcat.md new file mode 100644 index 00000000000000..7f921a267802e2 --- /dev/null +++ b/pages.fr/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Cette commande est un alias de `xz`. + +- Voir la documentation de la commande originale : + +`tldr xz` diff --git a/pages.fr/common/lzma.md b/pages.fr/common/lzma.md new file mode 100644 index 00000000000000..3566a3ee56c082 --- /dev/null +++ b/pages.fr/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Cette commande est un alias de `xz`. + +- Voir la documentation de la commande originale : + +`tldr xz` diff --git a/pages.fr/common/magick-convert.md b/pages.fr/common/magick-convert.md new file mode 100644 index 00000000000000..06dd3037268d9c --- /dev/null +++ b/pages.fr/common/magick-convert.md @@ -0,0 +1,32 @@ +# magick convert + +> Outil de conversion d'image d'ImageMagick. +> Plus d'informations : . + +- Convertir une image JPEG en PNG : + +`magick convert {{image.jpg}} {{image.png}}` + +- Redimensionner une image à 50% de ses dimensions d'origine : + +`magick convert {{image.png}} -resize 50% {{image2.png}}` + +- Redimensionner une image en conservant son ratio hauteur/largeur initial pour une taille maximum de 640x480 : + +`magick convert {{image.png}} -resize 640x480 {{image2.png}}` + +- Coller plusieurs images horizontallement : + +`magick convert {{image1.png}} {{image2.png}} {{image3.png}} +append {{image123.png}}` + +- Coller plusieurs images verticalement : + +`magick convert {{image1.png}} {{image2.png}} {{image3.png}} -append {{image123.png}}` + +- Créer un gif à partir d'une série d'images avec un délai de 100ms entre chaque : + +`magick convert {{image1.png}} {{image2.png}} {{image3.png}} -delay {{100}} {{animation.gif}}` + +- Créer une image avec un simple arrière-plan uni : + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{image.png}}` diff --git a/pages.fr/common/matlab.md b/pages.fr/common/matlab.md index b424e74b084a0e..e1078d792619e6 100644 --- a/pages.fr/common/matlab.md +++ b/pages.fr/common/matlab.md @@ -1,7 +1,7 @@ # matlab > Environnement de calcul numérique créé par MathWorks. -> Plus d'informations : . +> Plus d'informations : . - Lance MATLAB sans afficher l'écran de démarrage : diff --git a/pages.fr/common/mc.md b/pages.fr/common/mc.md index 16d8b2e7589b2e..397263c128c242 100644 --- a/pages.fr/common/mc.md +++ b/pages.fr/common/mc.md @@ -1,13 +1,13 @@ # mc > Midnight Commander, gestionnaire de fichiers à base de console. -> La navigation dans les répertoires se fait à l'aide des touches directionnelles ou la souris, ou bien en tapant des commandes dans la console. -> Plus d'informations : +> La navigation dans les répertoires se fait à l'aide `` ou la souris, ou bien en tapant des commandes dans la console. +> Plus d'informations : . -- Démarre `mc` : +- Démarre Midnight Commander : `mc` -- Démarre `mc` en mode noir et blanc : +- Démarre Midnight Commander en mode noir et blanc : `mc -b` diff --git a/pages.fr/common/mkdir.md b/pages.fr/common/mkdir.md index a731bcea55c288..1fed0ca3f15c31 100644 --- a/pages.fr/common/mkdir.md +++ b/pages.fr/common/mkdir.md @@ -1,12 +1,12 @@ # mkdir > Crée un répertoire. +> Plus d'informations : . -- Crée un répertoire dans le répertoire actuel ou dans un chemin donné : +- Crée plusieurs répertoires dans le répertoire actuel : -`mkdir {{répertoire}}` +`mkdir {{répertoire_1 répertoire_2 ...}}` -- Crée des répertoires récursivement (utile pour créer des répertoires -imbriqués) : +- Crée des répertoires récursivement (utile pour créer des répertoires imbriqués) : -`mkdir -p {{chemin/vers/répertoire}}` +`mkdir {{[-p|--parents]}} {{chemin/vers/répertoire}}` diff --git a/pages.fr/common/mktemp.md b/pages.fr/common/mktemp.md new file mode 100644 index 00000000000000..d1979c22f3574b --- /dev/null +++ b/pages.fr/common/mktemp.md @@ -0,0 +1,24 @@ +# mktemp + +> Crée un fichier ou un répertoire temporaire. +> Plus d'informations : . + +- Crée un fichier temporaire vide et affiche son chemin d'accès absolu : + +`mktemp` + +- Utilise un répertoire personnalisé si `$TMPDIR` n'est pas défini (la valeur par défaut dépend de la plateforme, mais est habituellement `/tmp`) : + +`mktemp -p {{/chemin/vers/reptemp}}` + +- Utilise un modèle de chemin personnalisé (les `X` sont remplacés par des caractères alphanumériques aléatoires) : + +`mktemp {{/tmp/exemple.XXXXXXXX}}` + +- Utilise un modèle de nom de fichier personnalisé : + +`mktemp -t {{exemple.XXXXXXXX}}` + +- Crée un répertoire temporaire vide et affiche son chemin d'accès absolu : + +`mktemp -d` diff --git a/pages.fr/common/mongo.md b/pages.fr/common/mongo.md new file mode 100644 index 00000000000000..77441a2dd3ea28 --- /dev/null +++ b/pages.fr/common/mongo.md @@ -0,0 +1,12 @@ +# mongo + +> Client shell pour MongoDB. +> Plus d'informations : . + +- Connecte à une base de données (database) sur un hôte (host) distant et un port donné : + +`mongo --host {{hôte}} --port {{port}} {{nom_de_la_base_de_données}}` + +- Évalue une expression JavaScript sur une base de données (database) : + +`mongo --eval '{{JSON.stringify(db.foo.findOne())}}' {{nom_de_la_base_de_données}}` diff --git a/pages.fr/common/mscore.md b/pages.fr/common/mscore.md new file mode 100644 index 00000000000000..65931a871e24d5 --- /dev/null +++ b/pages.fr/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Cette commande est un alias de `musescore`. + +- Voir la documentation de la commande originale : + +`tldr musescore` diff --git a/pages.fr/common/musl-gcc.md b/pages.fr/common/musl-gcc.md new file mode 100644 index 00000000000000..6c66e9ef613fde --- /dev/null +++ b/pages.fr/common/musl-gcc.md @@ -0,0 +1,9 @@ +# musl-gcc + +> Un adaptateur de `gcc` qui définit automatiquement les options pour l'édition de liens avec musl libc. +> Toutes les options spécifiées sont passées directement à `gcc`. +> Plus d'informations : . + +- Voir la documentation de `gcc` : + +`tldr gcc` diff --git a/pages.fr/common/mypy.md b/pages.fr/common/mypy.md new file mode 100644 index 00000000000000..8cd7d420cf5dad --- /dev/null +++ b/pages.fr/common/mypy.md @@ -0,0 +1,36 @@ +# mypy + +> Vérifie les types dans un code Python. +> Plus d'informations : . + +- Vérifie les types pour un fichier spécifique : + +`mypy {{chemin/vers/fichier.py}}` + +- Vérifie les types pour un module : + +`mypy {{[-m|--module]}} {{nom_module}}` + +- Vérifie les types pour un paquet : + +`mypy {{[-p|--package]}} {{nom_paquet}}` + +- Vérifie les types pour une chaîne de code : + +`mypy {{[-c|--command]}} "{{code}}"` + +- Ignore les imports manquants : + +`mypy --ignore-missing-imports {{chemin/vers/fichier_ou_dossier}}` + +- Montre le détail des messages d'erreurs : + +`mypy {{[--tb|--show-traceback]}} {{chemin/vers/fichier_ou_dossier}}` + +- Spécifie un fichier de configuration : + +`mypy --config-file {{chemin/vers/fichier_de_configuration}}` + +- Affiche l'aide : + +`mypy {{[-h|--help]}}` diff --git a/pages.fr/common/nano.md b/pages.fr/common/nano.md index 1d7864916f548f..bf744d8fdf9343 100644 --- a/pages.fr/common/nano.md +++ b/pages.fr/common/nano.md @@ -1,24 +1,24 @@ # nano > Éditeur de texte simple et convivial. C'est un clone libre et amélioré de Pico. -> Plus d'informations : . +> Plus d'informations : . -- Ouvre un fichier: +- Ouvre un fichier : `nano {{chemin/vers/fichier}}` -- Ouvre un fichier en positionnant le curseur à une rangée et colonne donnée: +- Ouvre un fichier en positionnant le curseur à une rangée et colonne donnée : `nano +{{ligne}},{{colonne}} {{chemin/vers/fichier}}` -- Active le défilement fluide: +- Active le défilement fluide : -`nano -S {{fichier}}` +`nano {{[-S|--softwrap]}} {{fichier}}` -- Indente les nouvelles lignes à la même indentation que les lignes précédentes: +- Indente les nouvelles lignes à la même indentation que les lignes précédentes : -`nano -i {{fichier}}` +`nano {{[-i|--autoindent]}} {{fichier}}` -- Avant la modification, sauvegarde le fichier actuel sous le format `{{nom_du_fichier_actuel}}~`: +- Avant la modification, sauvegarde le fichier actuel sous le format `nom_du_fichier_actuel~` : -`nano -B {{fichier}}` +`nano {{[-B|--backup]}} {{fichier}}` diff --git a/pages.fr/common/netcat.md b/pages.fr/common/netcat.md new file mode 100644 index 00000000000000..b33d8637c18308 --- /dev/null +++ b/pages.fr/common/netcat.md @@ -0,0 +1,7 @@ +# netcat + +> Cette commande est un alias de `nc`. + +- Voir la documentation de la commande originale : + +`tldr nc` diff --git a/pages.fr/common/nm-classic.md b/pages.fr/common/nm-classic.md new file mode 100644 index 00000000000000..f4b9747b530e01 --- /dev/null +++ b/pages.fr/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Cette commande est un alias de `nm`. + +- Voir la documentation de la commande originale : + +`tldr nm` diff --git a/pages.fr/common/node.md b/pages.fr/common/node.md new file mode 100644 index 00000000000000..dea353f639a560 --- /dev/null +++ b/pages.fr/common/node.md @@ -0,0 +1,24 @@ +# node + +> Plateforme JavaScript côté serveur. +> Plus d'informations : . + +- Éxecute un fichier JavaScript : + +`node {{chemin/vers/fichier}}` + +- Démarre un REPL (shell interactif) : + +`node` + +- Évalue du code JavaScript en le passant en argument : + +`node {{[-e|--eval]}} "{{code}}"` + +- Évalue et affiche le résultat, très utile pour voir les versions de dépendances node : + +`node {{[-p|--print]}} "{{process.versions}}"` + +- Active l'inspecteur, mets en pause l'éxécution jusqu'à ce qu'un debugger soit connecté une fois que le code source est totalement interprété : + +`node --no-lazy --inspect-brk {{chemin/vers/fichier}}` diff --git a/pages.fr/common/ntl.md b/pages.fr/common/ntl.md new file mode 100644 index 00000000000000..71dcb81c44cd9c --- /dev/null +++ b/pages.fr/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Cette commande est un alias de `netlify`. + +- Voir la documentation de la commande originale : + +`tldr netlify` diff --git a/pages.fr/common/passwd.md b/pages.fr/common/passwd.md new file mode 100644 index 00000000000000..0afe5c8e4c1d0a --- /dev/null +++ b/pages.fr/common/passwd.md @@ -0,0 +1,20 @@ +# passwd + +> Passwd est un outil de changement de mot de passe utilisateur. +> Plus d'informations : . + +- Change le mot de passe de l'utilisateur actuel : + +`passwd` + +- Change le mot de passe d'un utilisateur particulier : + +`passwd {{utilisateur}}` + +- Affiche l'état actuel du compte utilisateur : + +`passwd {{[-S|--status]}}` + +- Supprime le mot de passe de l'utilisateur (supprime l'authentification par mot de passe pour l'utilisateur indiqué) : + +`passwd {{[-d|--delete]}}` diff --git a/pages.fr/common/perl.md b/pages.fr/common/perl.md new file mode 100644 index 00000000000000..01b21083da04f8 --- /dev/null +++ b/pages.fr/common/perl.md @@ -0,0 +1,36 @@ +# perl + +> Interpréteur du langage Perl (version 5). +> Plus d'informations : . + +- Exécuter le code contenu dans un fichier : + +`perl {{fichier.pl}}` + +- Vérifier la syntaxe sans exécuter le programme : + +`perl -c {{fichier.pl}}` + +- Exécuter une expression Perl : + +`perl -e {{expression}}` + +- Lancer le programme avec le debugger Perl : + +`perl -d {{fichier.pl}}` + +- Itérer sur toutes les lignes d'un fichier, en les modifiant sur place en utilisant une expression de recherche et de remplacement : + +`perl -p -i -e 's/{{recherche}}/{{remplacement}}' {{fichier}}` + +- Lancer une expression de recherche et remplacement sur un fichier, en sauvegardant le fichier original avec une autre extension : + +`perl -p -i'.ancien' -e 's/{{recherche}}/{{remplacement}}/g' {{fichier}}` + +- Lancer une expression de recherche et remplacement sur un fichier, en sauvegardant le résultat dans un autre fichier : + +`perl -p0e 's/{{recherche}}/{{remplacement}}/g' {{fichier_entrée}} > {{fichier_sortie}}` + +- Lancer une expression régulière (RegEx) sur `stdin`, en affichant le premier groupe capturé pour chaque ligne : + +`cat {{fichier_entrée}} | perl -nle 'if (/{{regex}}/) { print "$1"; last;}'` diff --git a/pages.fr/common/pio-init.md b/pages.fr/common/pio-init.md new file mode 100644 index 00000000000000..1481f8aad2a5c1 --- /dev/null +++ b/pages.fr/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Cette commande est un alias de `pio project`. + +- Voir la documentation de la commande originale : + +`tldr pio project` diff --git a/pages.fr/common/piodebuggdb.md b/pages.fr/common/piodebuggdb.md new file mode 100644 index 00000000000000..68edb8793964a3 --- /dev/null +++ b/pages.fr/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Cette commande est un alias de `pio debug`. + +- Voir la documentation de la commande originale : + +`tldr pio debug` diff --git a/pages.fr/common/pip.md b/pages.fr/common/pip.md index 7f371adee65141..7bd9d1559b5f83 100644 --- a/pages.fr/common/pip.md +++ b/pages.fr/common/pip.md @@ -1,6 +1,7 @@ # pip > Gestionnaire des paquets pour Python. +> Certaines commandes comme `pip install` ont leur propre documentation. > Plus d'informations : . - Installe un paquet : @@ -11,9 +12,13 @@ `pip install {{paquet}}=={{version}}` +- Installe un paquet dans le répertoire utilisateur au lieu de l'emplacement par défaut système : + +`pip install --user {{paquet}}` + - Met à jour un paquet : -`pip install -U {{paquet}}` +`pip install {{[-U|--upgrade]}} {{paquet}}` - Désinstalle un paquet : @@ -25,7 +30,7 @@ - Installe des paquets à partir d'un fichier : -`pip install -r {{requirements.txt}}` +`pip install {{[-r|--requirement]}} {{requirements.txt}}` - Affiche les informations d'un paquet installé : diff --git a/pages.fr/common/pip3.md b/pages.fr/common/pip3.md index 493d4528e90a23..deafd5ae5c41c4 100644 --- a/pages.fr/common/pip3.md +++ b/pages.fr/common/pip3.md @@ -29,7 +29,7 @@ - Installe des paquets à partir d'un fichier : -`pip3 install --requirements {{requirements.txt}}` +`pip3 install --requirement {{requirements.txt}}` - Affiche les informations d'un paquet installé : diff --git a/pages.fr/common/platformio.md b/pages.fr/common/platformio.md new file mode 100644 index 00000000000000..1416e491f69a07 --- /dev/null +++ b/pages.fr/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Cette commande est un alias de `pio`. + +- Voir la documentation de la commande originale : + +`tldr pio` diff --git a/pages.fr/common/powershell.md b/pages.fr/common/powershell.md new file mode 100644 index 00000000000000..c48d4d584d95e9 --- /dev/null +++ b/pages.fr/common/powershell.md @@ -0,0 +1,32 @@ +# powershell + +> Interface en ligne de commande et langage de script spécialement conçu pour l'administration système. +> Plus d'informations : . + +- Démarre une session Windows PowerShell dans une fenêtre d'invite de commande : + +`powershell` + +- Charge un fichier de console PowerShell spécifique : + +`powershell -PSConsoleFile {{chemin/vers/fichier}}` + +- Démarre une session avec une version spécifiée de PowerShell : + +`powershell -Version {{version}}` + +- Empêche l’interface système de se fermer après avoir exécuté les commandes de démarrage : + +`powershell -NoExit` + +- Décrive le format des données envoyées à PowerShell : + +`powershell -InputFormat {{Texte|XML}}` + +- Détermine comment la sortie de PowerShell est formatée : + +`powershell -OutputFormat {{Texte|XML}}` + +- Affiche l'aide : + +`powershell -Help` diff --git a/pages.fr/common/ptpython3.md b/pages.fr/common/ptpython3.md new file mode 100644 index 00000000000000..74a7f98ad55aeb --- /dev/null +++ b/pages.fr/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Cette commande est un alias de `ptpython`. + +- Voir la documentation de la commande originale : + +`tldr ptpython` diff --git a/pages.fr/common/pwd.md b/pages.fr/common/pwd.md index b03b820220aeef..f766ccd4a1d966 100644 --- a/pages.fr/common/pwd.md +++ b/pages.fr/common/pwd.md @@ -1,6 +1,7 @@ # pwd > Affiche le nom du répertoire actuel. +> Plus d'informations : . - Affiche le répertoire actuel : @@ -8,4 +9,4 @@ - Affiche le répertoire actuel tout en traduisant les liens symboliques (c.-à-d. afficher le répertoire « physique ») : -`pwd -P` +`pwd {{[-P|--physical]}}` diff --git a/pages.fr/common/python3.md b/pages.fr/common/python3.md new file mode 100644 index 00000000000000..7e8e0fc3df872b --- /dev/null +++ b/pages.fr/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Cette commande est un alias de `python`. + +- Voir la documentation de la commande originale : + +`tldr python` diff --git a/pages.fr/common/r.md b/pages.fr/common/r.md index a0de6b75379e7e..31dcb211410542 100644 --- a/pages.fr/common/r.md +++ b/pages.fr/common/r.md @@ -1,16 +1,16 @@ -# r +# R -> Interpréteur pour la langue R. +> Interpréteur pour le langage R. > Plus d'informations : . -- Démarre une session de commande R (REPL): +- Démarre une session de commande R (REPL) : `R` -- Vérifie la version de R: +- Vérifie la version de R : `R --version` -- Exécute un fichier: +- Exécute un fichier : `R -f {{fichier.R}}` diff --git a/pages.fr/common/r2.md b/pages.fr/common/r2.md new file mode 100644 index 00000000000000..918a10957905f2 --- /dev/null +++ b/pages.fr/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Cette commande est un alias de `radare2`. + +- Voir la documentation de la commande originale : + +`tldr radare2` diff --git a/pages.fr/common/rcat.md b/pages.fr/common/rcat.md new file mode 100644 index 00000000000000..963824138577ff --- /dev/null +++ b/pages.fr/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Cette commande est un alias de `rc`. + +- Voir la documentation de la commande originale : + +`tldr rc` diff --git a/pages.fr/common/rsync.md b/pages.fr/common/rsync.md index 65e22265f486a0..a806aab32c3bd0 100644 --- a/pages.fr/common/rsync.md +++ b/pages.fr/common/rsync.md @@ -2,35 +2,32 @@ > Transférer des fichiers vers ou depuis un hôte distant (pas entre deux hôtes distants). > Peut transférer un ou plusieurs fichiers correspondant à un motif. +> Plus d'informations : . -- Transférer un fichier local vers un serveur distant: +- Transfère un fichier : -`rsync {{chemin/vers/fichier_local}} {{hote_distant}}:{{chemin/vers/dossier_distant}}` +`rsync {{chemin/vers/origine}} {{chemin/vers/destination}}` -- Transférer un fichier d'un serveur distant vers l'hôte local: +- Utilise le mode archive (copier récursivement les répertoires, copier les liens symboliques sans résolution et conserver les autorisations, la propriété et les délais de modification) : -`rsync {{hote_distant}}:{{chemin/vers/fichier_distant}} {{chemin/vers/dossier_local}}` +`rsync {{[-a|--archive]}} {{chemin/vers/origine}} {{chemin/vers/destination}}` -- Transférer un fichier sous forme d'[a]rchive (pour conserver les attributs) et compressé ([z]ippé), en mode [v]erbeux, lisible par l'[h]umain et afficher la [p]rogression du transfert: +- Transférer le contenu d'un dossier : -`rsync -azvhP {{chemin/vers/fichier_local}} {{hote_distant}}:{{chemin/vers/dossier_distant}}` +`rsync {{[-r|--recursive]}} {{chemin/vers/origine}} {{chemin/vers/destination}}` -- Transférer un dossier et tous ses sous-dossiers d'un hôte distant vers l'hôte local: +- Transférer le contenu d'un dossier (mais pas le dossier lui-même) : -`rsync -r {{hote_distant}}:{{chemin/vers/dossier_distant}} {{chemin/vers/dossier_local}}` +`rsync {{[-r|--recursive]}} {{chemin/vers/origine/}} {{chemin/vers/destination}}` -- Transférer le contenu d'un dossier (mais pas le dossier lui-même) d'un hôte distant vers un hôte local: +- Utiliser le mode archive, résolvant les liens symboliques et ignorant les fichiers déjà transférés sauf si plus récents : -`rsync -r {{hote_distant}}:{{chemin/vers/dossier_distant}}/ {{chemin/vers/dossier_local}}` +`rsync {{[-auL|--archive --update --copy-links]}} {{chemin/vers/origine}} {{chemin/vers/destination}}` -- Transférer un dossier [r]écursivement, dans une [a]rchive pour conserver les attributs, en résolvant les [l]iens symboliques, et ignorant les fichiers déjà transférés sa[u]f si plus récents: +- Transférer un fichier vers un hôte distant exécutant `rsyncd` et supprimez les fichiers sur la destination qui n'existent pas sur l'hôte distant : -`rsync -rauL {{hote_distant}}:{{chemin/vers/fichier_distant}} {{chemin/vers/dossier_local}}` +`rsync {{[-r|--recursive]}} --delete rsync://{{hote_distant}}:{{chemin/vers/origine}} {{chemin/vers/destination}}` -- Transférer un fichier par SSH et effacer les fichiers de l'hôte local qui n'existent pas sur l'hôte distant: +- Transférer un fichier par SSH et afficher l'avancement global du transfert : -`rsync -e ssh --delete {{hote_distant}}:{{chemin/vers/fichier_distant}} {{chemin/vers/fichier_local}}` - -- Transférer un fichier par SSH et afficher l'avancement global du transfert: - -`rsync -e ssh --info=progress2 {{hote_distant}}:{{chemin/vers/fichier_distant}} {{chemin/vers/fichier_local}}` +`rsync {{[-e|--rsh]}} 'ssh -p {{port}}' --info=progress2 {{hote_distant}}:{{chemin/vers/origine}} {{chemin/vers/destination}}` diff --git a/pages.fr/common/rubocop.md b/pages.fr/common/rubocop.md new file mode 100644 index 00000000000000..9b3c6b479bf917 --- /dev/null +++ b/pages.fr/common/rubocop.md @@ -0,0 +1,32 @@ +# rubocop + +> Lint les fichiers Ruby. +> Plus d'informations : . + +- Vérifie tous les fichiers du répertoire actuel (y compris les sous-répertoires) : + +`rubocop` + +- Vérifie un ou plusieurs fichiers ou répertoires spécifiques : + +`rubocop {{chemin/vers/fichier_ou_dossier1 chemin/vers/fichier_ou_dossier2 ...}}` + +- Écrit la sortie dans un fichier : + +`rubocop --out {{chemin/vers/fichier}}` + +- Affiche la liste des cops (règles de lint) : + +`rubocop --show-cops` + +- Exclue un cop : + +`rubocop --except {{cop_1 cop_2 ...}}` + +- Exécute uniquement les cops spécifiés : + +`rubocop --only {{cop_1 cop_2 ...}}` + +- Corrige automatiquement les fichiers (expérimental) : + +`rubocop --auto-correct` diff --git a/pages.fr/common/ruby.md b/pages.fr/common/ruby.md new file mode 100644 index 00000000000000..7f92ba36c4ff2c --- /dev/null +++ b/pages.fr/common/ruby.md @@ -0,0 +1,29 @@ +# ruby + +> Interpréteur du langage de programmation Ruby. +> Voir aussi : `gem`, `bundler`, `rake`, `irb`. +> Plus d'informations : . + +- Exécute un script Ruby : + +`ruby {{script.rb}}` + +- Exécute une seule commande Ruby dans la ligne de commande : + +`ruby -e {{commande}}` + +- Vérifie les erreurs de syntaxe d'un script Ruby donné : + +`ruby -c {{script.rb}}` + +- Démarre le serveur HTTP intégré sur le port 8080 dans le répertoire actuel : + +`ruby -run -e httpd` + +- Exécute localement un binaire Ruby sans installer la bibliothèque requise dont il dépend : + +`ruby -I {{chemin/vers/dossier_bibliothèque}} -r {{nom_chargement_bibliothèque}} {{chemin/vers/dossier_bin/nom_bin}}` + +- Affiche la version de Ruby utilisée : + +`ruby {{[-v|--version]}}` diff --git a/pages.fr/common/sh.md b/pages.fr/common/sh.md new file mode 100644 index 00000000000000..c31a0d86d92223 --- /dev/null +++ b/pages.fr/common/sh.md @@ -0,0 +1,21 @@ +# sh + +> Bourne SHell, l'interpréteur de ligne de commande classique. +> Voir aussi `histexpand` pour l'expansion de l'historique. +> Plus d'informations : . + +- Démarre une session shell interactive : + +`sh` + +- Exécute une commande, puis termine la session : + +`sh -c "{{commande}}"` + +- Exécute un script : + +`sh {{chemin/vers/le/script.sh}}` + +- Lit et exécute des commandes depuis l'entrée standard `stdin` : + +`sh -s` diff --git a/pages.fr/common/shards.md b/pages.fr/common/shards.md new file mode 100644 index 00000000000000..a6ae7f0696ef1c --- /dev/null +++ b/pages.fr/common/shards.md @@ -0,0 +1,24 @@ +# shards + +> Outil de gestion des dépendances pour le langage Crystal. +> Plus d'informations : . + +- Créé un fichier `shard.yml` squelette : + +`shards init` + +- Installe les dépendances à partir d'un fichier `shard.yml` : + +`shards install` + +- Met à jour toutes les dépendances : + +`shards update` + +- Liste toutes les dépendances installées : + +`shards list` + +- Liste la version d'une dépendance ayant un chemin donné : + +`shards version {{path/to/dependency_directory}}` diff --git a/pages.fr/common/ssh-add.md b/pages.fr/common/ssh-add.md new file mode 100644 index 00000000000000..9da4f78ad771f1 --- /dev/null +++ b/pages.fr/common/ssh-add.md @@ -0,0 +1,29 @@ +# ssh-add + +> Gère les clés SSH enregistrées dans l'agent SSH `ssh-agent`. +> S'assurer que `ssh-agent` est en fonctionnement pour enregistrer des clés. +> Plus d'informations : . + +- Ajoute les clés présentes dans `~/.ssh` (clés par défaut) à l'agent SSH : + +`ssh-add` + +- Ajoute une clé spécifique à l'agent SSH : + +`ssh-add {{chemin/vers/clé_privée}}` + +- Liste les empreintes des clés actuellement enregistrées : + +`ssh-add -l` + +- Supprime une clé de l'agent SSH : + +`ssh-add -d {{chemin/vers/clé_privée}}` + +- Supprime toutes les clés enregistrées de l'agent SSH : + +`ssh-add -D` + +- Ajoute une clé spécifique à l'agent SSH et au trousseau de clés : + +`ssh-add -K {{chemin/vers/clé_privée}}` diff --git a/pages.fr/common/ssh-agent.md b/pages.fr/common/ssh-agent.md new file mode 100644 index 00000000000000..0cb7d45c6962cc --- /dev/null +++ b/pages.fr/common/ssh-agent.md @@ -0,0 +1,14 @@ +# ssh-agent + +> Lance un agent SSH. +> Un agent SSH permet de stocker des clés SSH déchiffrées, jusqu'à ce qu'elle soient retirées ou que l'agent soit arrêté. +> Voir également `ssh-add`, qui permet d'ajouter et de gérer les clés enregistrées par l'agent SSH. +> Plus d'informations : . + +- Démarre un agent SSH pour le shell actuel : + +`eval $(ssh-agent)` + +- Arrête l'agent actuellement en fonctionnement : + +`ssh-agent -k` diff --git a/pages.fr/common/ssh-copy-id.md b/pages.fr/common/ssh-copy-id.md new file mode 100644 index 00000000000000..ca100cff002570 --- /dev/null +++ b/pages.fr/common/ssh-copy-id.md @@ -0,0 +1,16 @@ +# ssh-copy-id + +> Dépose une clé publique sur une machine distante, dans les clés autorisées `authorized_keys`. +> Plus d'informations : . + +- Dépose toutes les clés publiques sur la machine distante : + +`ssh-copy-id {{nom_utilisateur}}@{{hote_distant}}` + +- Dépose une clé publique spécifique sur la machine distante : + +`ssh-copy-id -i {{chemin/vers/certificat}} {{nom_utilisateur}}@{{hote_distant}}` + +- Dépose une clé publique spécifique sur la machine distante en utilisant un port particulier : + +`ssh-copy-id -i {{chemin/vers/certificat}} -p {{port}} {{nom_utilisateur}}@{{hote_distant}}` diff --git a/pages.fr/common/ssh-keygen.md b/pages.fr/common/ssh-keygen.md new file mode 100644 index 00000000000000..168abcd844f152 --- /dev/null +++ b/pages.fr/common/ssh-keygen.md @@ -0,0 +1,32 @@ +# ssh-keygen + +> Génère des clés SSH. Utilisées entre autres pour l'authentification ou la connexion sans utiliser de mot de passe. +> Plus d'informations : . + +- Génère une clé de manière interactive : + +`ssh-keygen` + +- Génère une clé ed25519, avec 32 passages de fonction de dérivation de clé et enrigster dans un fichier spécifique : + +`ssh-keygen -t {{ed25519}} -a {{32}} -f {{~/.ssh/fichier}}` + +- Génère une clé RSA de 4096 bits, avec l'adresse électronique en commentaire : + +`ssh-keygen -t {{rsa}} -b {{4096}} -C "{{commentaire|email}}"` + +- Retire les clés d'une machine donnée du fichier `known_hosts` des hôtes connus (utile lorsque un hôte déjà enregistré change de clé) : + +`ssh-keygen -R {{hote_distant}}` + +- Affiche l'empreinte d'une clé sous format d'un hash MD5 : + +`ssh-keygen -l -E {{md5}} -f {{~/.ssh/fichier}}` + +- Change le mot de passe d'une clé : + +`ssh-keygen -p -f {{~/.ssh/fichier}}` + +- Change le format d'une clé (par exemple du format OPENSSH vers PEM), le fichier étant réécrit : + +`ssh-keygen -p -N "" -m {{PEM}} -f {{~/.ssh/cle_privee_OpenSSH}}` diff --git a/pages.fr/common/ssh-keyscan.md b/pages.fr/common/ssh-keyscan.md new file mode 100644 index 00000000000000..1cb481c96712b6 --- /dev/null +++ b/pages.fr/common/ssh-keyscan.md @@ -0,0 +1,20 @@ +# ssh-keyscan + +> Récupère les clés SSH publiques de machines distantes. +> Plus d'informations : . + +- Récupère toutes les clés d'une machine distante : + +`ssh-keyscan {{hote_distant}}` + +- Récupère toutes les clés d'une machine distante en écoutant sur un port particulier : + +`ssh-keyscan -p {{port}} {{hote_distant}}` + +- Récupère un type particulier de clés d'une machine distante : + +`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{hote_distant}}` + +- Met à jour manuellement le fichier `known_hosts` des hôtes connus avec l'empreinte d'une : + +`ssh-keyscan -H {{hote_distant}} >> ~/.ssh/known_hosts` diff --git a/pages.fr/common/ssh.md b/pages.fr/common/ssh.md index ef4c6f517721c2..16710552aeda91 100644 --- a/pages.fr/common/ssh.md +++ b/pages.fr/common/ssh.md @@ -2,6 +2,7 @@ > Secure Shell est un protocole utilisé pour se connecter de façon sécurisée à des systèmes distants. > On peut l'utiliser pour se connecter ou exécuter des commandes sur un serveur distant. +> Plus d'informations : . - Se connecter à un serveur distant : @@ -17,11 +18,11 @@ - Exécuter une commande sur un serveur distant : -`ssh {{hote_distant}} {{commande -avec -options}}` +`ssh {{utilisateur}}@{{hote_distant}} -t {{commande}} {{commande_options}}` -- Tunnel SSH : Transfert par port dynamique (le SOCKS proxy se trouve sur localhost:9999) : +- Tunnel SSH : Transfert par port dynamique (le SOCKS proxy se trouve sur localhost:1080) : -`ssh -D {{9999}} -C {{utilisateur}}@{{hote_distant}}` +`ssh -D {{1080}} {{utilisateur}}@{{hote_distant}}` - Tunnel SSH : Transfère un port spécifique (localhost:9999 vers example.org:80) en désactivant l'allocation de pseudo-[t]ty et l'exécution de commandes distantes : diff --git a/pages.fr/common/sudo.md b/pages.fr/common/sudo.md new file mode 100644 index 00000000000000..6d4f349a15a9ad --- /dev/null +++ b/pages.fr/common/sudo.md @@ -0,0 +1,36 @@ +# sudo + +> Exécute une commande unique en tant que super-utilisateur (super-user) ou un autre utilisateur. +> Plus d'informations : . + +- Exécute une commande en tant que super-utilisateur : + +`sudo {{less /var/log/syslog}}` + +- Édite un fichier en tant que super-utilisateur avec votre éditeur par défaut : + +`sudo {{[-e|--edit]}} {{/etc/fstab}}` + +- Exécute une commande en tant qu'un autre utilisateur et/ou groupe : + +`sudo {{[-u|--user]}} {{utilisateur}} {{[-g|--group]}} {{groupe}} {{id -a}}` + +- Répéte la dernière commande préfixée de `sudo` (uniquement dans Bash, Zsh, etc.) : + +`sudo !!` + +- Lance le terminal par défaut avec des privilèges de super-utilisateur et exécuter des fichiers à profil spécifique (`.profile`, `.bash_profile`, etc.) : + +`sudo {{[-i|--login]}}` + +- Lance le terminal par défaut avec des privilèges de super-utilisateur sans modifier l'environnement : + +`sudo {{[-s|--shell]}}` + +- Lance le terminal par défaut en tant que l'utilisateur spécifié, en chargeant l'environnement de cet utilisateur et en lisant les fichiers à profil spécifique de cet utilisateur (`.profile`, `.bash_profile`, etc.) : + +`sudo {{[-i|--login]}} {{[-u|--user]}} {{utilisateur}}` + +- Liste les commandes autorisées (et interdites) pour l'utilisateur courant : + +`sudo {{[-l|--list]}}` diff --git a/pages.fr/common/tar.md b/pages.fr/common/tar.md index 4449633cd93e78..489d6ebb80566e 100644 --- a/pages.fr/common/tar.md +++ b/pages.fr/common/tar.md @@ -1,33 +1,37 @@ # tar > Utilitaire d'archivage. -> Souvent combiné avec une méthode de compression, telle que gzip ou bzip. +> Souvent combiné avec une méthode de compression, telle que gzip ou bzip2. > Plus d'informations : . -- Créer une archive à partir de fichiers : +- Crée une archive à partir de fichiers : -`tar cf {{cible.tar}} {{fichier1 fichier2 fichier3}}` +`tar cf {{chemin/vers/cible.tar}} {{chemin/vers/fichier1 chemin/vers/fichier2 ...}}` -- Créer une archive gzip : +- Crée une archive gzip à partir de fichiers : -`tar czf {{cible.tar.gz}} {{fichier1 fichier2 fichier3}}` +`tar czf {{chemin/vers/cible.tar.gz}} {{chemin/vers/fichier1 chemin/vers/fichier2 ...}}` -- Extraie une archive (compressée) dans le dossier courant : +- Crée une archive gzip à partir d'un répertoire en utilisant son chemin relatif : -`tar xf {{source.tar[.gz|.bz2|.xz]}}` +`tar czf {{chemin/vers/cible.tar.gz}} {{[-C|--directory]}} {{chemin/vers/répertoire}} .` -- Extraie une archive dans un dossier cible : +- Extrait une archive (compressée) dans le dossier courant en affichant la liste des fichiers traités : -`tar xf {{source.tar}} -C {{dossier}}` +`tar xvf {{chemin/vers/source.tar[.gz|.bz2|.xz]}}` -- Créer une archive compressée, en utilisant le suffixe de l'archive pour déterminer le programme de compression : +- Extrait une archive (compressée) dans un répertoire cible : -`tar caf {{cible.tar.xz}} {{fichier1 fichier2 fichier3}}` +`tar xf {{chemin/vers/source.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{répertoire}}` -- Lister le contenu d'une archive tar : +- Crée une archive compressée, en utilisant le suffixe de l'archive pour déterminer le programme de compression : -`tar tvf {{source.tar}}` +`tar caf {{chemin/vers/cible.tar.xz}} {{chemin/vers/fichier1 chemin/vers/fichier2 ...}}` -- Extraire les fichiers correspondant au motif : +- Liste les fichiers contenus dans une archive tar : + +`tar tvf {{chemin/vers/source.tar}}` + +- Extrait les fichiers correspondant au motif : `tar xf {{source.tar}} --wildcards "{{*.html}}"` diff --git a/pages.fr/common/tldr.md b/pages.fr/common/tldr.md new file mode 100644 index 00000000000000..d59cc3e662f661 --- /dev/null +++ b/pages.fr/common/tldr.md @@ -0,0 +1,20 @@ +# tldr + +> Affiche des pages d'aide simples pour les outils en ligne de commande, depuis le projet `tldr-pages`. +> Plus d'informations : . + +- Affiche la page tldr d'une commande (indice : c'est comme ça que vous êtes arrivé ici !) : + +`tldr {{commande}}` + +- Affiche la page tldr de `cd`, en forçant la plateforme par défaut : + +`tldr {{[-p|--platform]}} {{android|linux|osx|sunos|windows}} {{cd}}` + +- Affiche la page tldr d'une sous-commande : + +`tldr {{git-checkout}}` + +- Met à jour les pages enregistrées localement (si le client supporte la mise en cache) : + +`tldr {{[-u|--update]}}` diff --git a/pages.fr/common/tldrl.md b/pages.fr/common/tldrl.md new file mode 100644 index 00000000000000..bb8e5863e74ed5 --- /dev/null +++ b/pages.fr/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Cette commande est un alias de `tldr-lint`. + +- Voir la documentation de la commande originale : + +`tldr tldr-lint` diff --git a/pages.fr/common/tlmgr-arch.md b/pages.fr/common/tlmgr-arch.md new file mode 100644 index 00000000000000..28f396ee33c4b8 --- /dev/null +++ b/pages.fr/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Cette commande est un alias de `tlmgr platform`. + +- Voir la documentation de la commande originale : + +`tldr tlmgr platform` diff --git a/pages.fr/common/tmux.md b/pages.fr/common/tmux.md index b00e242ba8e044..d890bca3353ca9 100644 --- a/pages.fr/common/tmux.md +++ b/pages.fr/common/tmux.md @@ -9,7 +9,7 @@ - Démarrer une nouvelle session nommée : -`tmux new-session -s {{nom}}` +`tmux new -s {{nom}}` - Lister les sessions existantes : @@ -17,20 +17,12 @@ - S'attacher à la session utilisée la plus récemment : -`tmux attach-session` - -- S'attacher à une session nommée : - -`tmux attach-session -t {{nom}}` +`tmux attach` - Se détacher de la session actuelle (avec le préfixe Ctrl-B) : -`Ctrl-B d` +`` - Détruire une session nommée : `tmux kill-session -t {{nom}}` - -- Détruire la session actuelle (avec le préfixe Ctrl-B) : - -`Ctrl-B :kill-session` diff --git a/pages.fr/common/topydo.md b/pages.fr/common/topydo.md new file mode 100644 index 00000000000000..48995aefbed719 --- /dev/null +++ b/pages.fr/common/topydo.md @@ -0,0 +1,28 @@ +# topydo + +> Une application de liste de choses à faire qui utilise le format todo.txt. +> Plus d'informations : . + +- Ajouter une tâche à un projet spécifique avec un contexte donné : + +`topydo add "{{todo_message}} +{{projet_nom}} @{{context_nom}}"` + +- Ajouter une tâche à faire avec une date d'échéance de demain et une priorité de `A` : + +`topydo add "(A) {{todo _message}} due:{{1d}}"` + +- Ajouter une tâche à faire dont la date d'échéance est le vendredi : + +`topydo add "{{todo_message}} due:{{fri}}"` + +- Ajouter une tâche répétitive non stricte (jour + récurrence) : + +`topydo add "water flowers due:{{mon}} rec:{{1w}}"` + +- Ajouter une tâche répétitive stricte (prochaine échéance = date + récurrence) : + +`topydo add "{{todo_message}} due:{{2020-01-01}} rec:{{+1m}}"` + +- Revenir sur la dernière commande `topydo` exécutée : + +`topydo revert` diff --git a/pages.fr/common/tput.md b/pages.fr/common/tput.md index 7e1069c30edf60..bd81df91023e95 100644 --- a/pages.fr/common/tput.md +++ b/pages.fr/common/tput.md @@ -1,6 +1,7 @@ # tput > Accède et modifie les paramètres du terminal. +> Plus d'informations : . - Déplace le curseur à un endroit donné sur l'écran : diff --git a/pages.fr/common/tr.md b/pages.fr/common/tr.md new file mode 100644 index 00000000000000..9e206553648d70 --- /dev/null +++ b/pages.fr/common/tr.md @@ -0,0 +1,32 @@ +# tr + +> Convertisseur de caractères : exécute des remplacements basés sur des caractères uniques et des jeux de caractères. +> Plus d'informations : . + +- Remplace toutes les occurrences d'un caractère dans un fichier, et affiche le résultat : + +`tr {{caractère_recherché}} {{caractère_remplacé}} < {{fichier}}` + +- Remplace toutes les occurrences d'un caractère dans la sortie d'une autre commande : + +`echo {{texte}} | tr {{caractère_recherché}} {{caractère_remplacé}}` + +- Fais correspondre chaque caractère du premier ensemble au caractère correspondant du second ensemble : + +`tr '{{abcd}}' '{{jkmn}}' < {{fichier}}` + +- Supprime toutes les occurrences de l'ensemble de caractères spécifié dans l'entrée : + +`tr -d '{{caractères_en_entrée}}' < {{fichier}}` + +- Comprime une série de caractères identiques en un seul caractère : + +`tr -s '{{caractères_en_entrée}}' < {{fichier}}` + +- Traduis le contenu d'un fichier en majuscules : + +`tr "[:lower:]" "[:upper:]" < {{fichier}}` + +- Supprime les caractères non imprimables d'un fichier : + +`tr -cd "[:print:]" < {{fichier}}` diff --git a/pages.fr/common/type.md b/pages.fr/common/type.md new file mode 100644 index 00000000000000..6a4b962dec2ae6 --- /dev/null +++ b/pages.fr/common/type.md @@ -0,0 +1,16 @@ +# type + +> Affiche le type de la commande que le terminal exécuterait. +> Plus d'informations : . + +- Affiche le type d'une commande : + +`type {{commande}}` + +- Affiche tous les emplacements contenants l'exécutable spécifié : + +`type -a {{commande}}` + +- Affiche le nom du fichier qui serait exécuté : + +`type -p {{commande}}` diff --git a/pages.fr/common/unlzma.md b/pages.fr/common/unlzma.md new file mode 100644 index 00000000000000..a65cce546ecc9e --- /dev/null +++ b/pages.fr/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Cette commande est un alias de `xz`. + +- Voir la documentation de la commande originale : + +`tldr xz` diff --git a/pages.fr/common/unxz.md b/pages.fr/common/unxz.md new file mode 100644 index 00000000000000..7b02f3a8e4c68a --- /dev/null +++ b/pages.fr/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Cette commande est un alias de `xz`. + +- Voir la documentation de la commande originale : + +`tldr xz` diff --git a/pages.fr/common/vagrant-plugin.md b/pages.fr/common/vagrant-plugin.md new file mode 100644 index 00000000000000..1985a9c34dd550 --- /dev/null +++ b/pages.fr/common/vagrant-plugin.md @@ -0,0 +1,29 @@ +# vagrant plugin + +> Gère les plugiciels Vagrant. +> Voir aussi : `vagrant`. +> Plus d'informations : . + +- Liste tous les plugiciels actuellement installés : + +`vagrant plugin list` + +- Installe un plugiciel depuis des dépôts distants, généralement RubyGems : + +`vagrant plugin install {{vagrant_vbguest}}` + +- Installe un plugiciel à partir d’un fichier local : + +`vagrant plugin install {{chemin/vers/plugiciel.gem}}` + +- Met à jour tous les plugiciels installés vers leur dernière version : + +`vagrant plugin update` + +- Met à jour un plugiciel à la dernière version : + +`vagrant plugin update {{vagrant_vbguest}}` + +- Désinstalle un plugiciel spécifique : + +`vagrant plugin uninstall {{vagrant_vbguest}}` diff --git a/pages.fr/common/vagrant.md b/pages.fr/common/vagrant.md new file mode 100644 index 00000000000000..d5e1f6b5991858 --- /dev/null +++ b/pages.fr/common/vagrant.md @@ -0,0 +1,36 @@ +# vagrant + +> Gère des environnements de développement légers, reproductibles et portables. +> Plus d'informations : . + +- Crée un fichier Vagrantfile dans le répertoire actuel avec l'image Vagrant de base : + +`vagrant init` + +- Crée un fichier Vagrantfile avec l'image Ubuntu 20.04 (Focal Fossa) depuis HashiCorp Atlas : + +`vagrant init ubuntu/focal64` + +- Démarre et configure l’environnement Vagrant : + +`vagrant up` + +- Suspend la machine : + +`vagrant suspend` + +- Arrête la machine : + +`vagrant halt` + +- Se connecte à la machine via SSH : + +`vagrant ssh` + +- Affiche la configuration SSH de la machine Vagrant en cours d’exécution : + +`vagrant ssh-config` + +- Liste toutes les images locales : + +`vagrant box list` diff --git a/pages.fr/common/vegeta.md b/pages.fr/common/vegeta.md new file mode 100644 index 00000000000000..e9190a7d4b3c0b --- /dev/null +++ b/pages.fr/common/vegeta.md @@ -0,0 +1,29 @@ +# vegeta + +> Un utilitaire de ligne de commande et une bibliothèque pour les tests de charge HTTP. +> Voir aussi `ab`. +> Plus d'informations : . + +- Lancer une attaque d'une durée de 30 secondes : + +`echo "{{GET https://exemple.com}}" | vegeta attack -duration={{30s}}` + +- Lancez une attaque sur un serveur avec un certificat HTTPS auto-signé : + +`echo "{{GET https://exemple.com}}" | vegeta attack -insecure -duration={{30s}}` + +- Lancer une attaque avec un taux de 10 demandes par seconde : + +`echo "{{GET https://exemple.com}}" | vegeta attack -duration={{30s}} -rate={{10}}` + +- Lancer une attaque et afficher un rapport : + +`echo "{{GET https://exemple.com}}" | vegeta attack -duration={{30s}} | vegeta report` + +- Lancer une attaque et reporter les résultats sur un graphique (latence en fonction du temps) : + +`echo "{{GET https://exemple.com}}" | vegeta attack -duration={{30s}} | vegeta plot > {{chemin/au/results.html}}` + +- Lancer une attaque contre plusieurs URL à partir d'un fichier : + +`vegeta attack -duration={{30s}} -targets={{requetes.txt}} | vegeta report` diff --git a/pages.fr/common/vi.md b/pages.fr/common/vi.md new file mode 100644 index 00000000000000..3f234309cd8f12 --- /dev/null +++ b/pages.fr/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Cette commande est un alias de `vim`. + +- Voir la documentation de la commande originale : + +`tldr vim` diff --git a/pages.fr/common/vim.md b/pages.fr/common/vim.md index 32423c936e7190..2ce0c6c0c4d0f2 100644 --- a/pages.fr/common/vim.md +++ b/pages.fr/common/vim.md @@ -1,37 +1,37 @@ # vim -> Vim (Vi IMproved), un editeur de texte en ligne de commandes, fournit plusieurs modes pour differentes manipulations de texte. -> Pressez `i` pour passer en mode édition. `` revient au mode normal, qui ne permet pas l insertion de code. +> Vim (Vi IMproved), un éditeur de texte en ligne de commandes, fournit plusieurs modes pour différentes manipulations de texte. +> Pressez `` pour passer en mode édition. `` revient au mode normal, qui ne permet pas l insertion de code. > Plus d'informations : . - Ouvrir un fichier : `vim {{chemin/vers/fichier}}` -- consulter le manuel utilisateur : +- Ouvrir un fichier à une ligne spécifiée : -`:help` +`vim +{{numero_ligne}} {{chemin/vers/fichier}}` -- Sauvegarder et fermer : +- Consulter le manuel utilisateur : -`:wq` +`<:>help` -- Ouvrir un fichier a une ligne specifiée : +- Sauvegarder et fermer : -`vim +{{numero_ligne}} {{chemin/vers/fichier}}` +`{{|<:>x|<:>wq}}` -- Annuler la derniere operation : +- Annuler la dernière opération : -`u` +`` -- Rechercher un pattern dans un fichier (appuyez `n`/`N` pour aller a la prochaine/précedante occurence) : +- Rechercher un motif dans un fichier (appuyez ``/`` pour aller à la prochaine / précédente occurrence) : -`/{{pattern_recherche}}` +`{{motif_recherché}}` -- Effectuer une substition par éxpression reguliere dans tout le fichier : +- Effectuer une substitution par expression régulière dans tout le fichier : -`:%s/{{pattern}}/{{replacement}}/g` +`<:>%s/{{motif}}/{{remplacement}}/g` -- Afficher les numeros de ligne : +- Afficher les numéros de ligne : -`:set nu` +`<:>set nu` diff --git a/pages.fr/common/wc.md b/pages.fr/common/wc.md index 7e04a6a0e1edbf..865ea6ac3d611a 100644 --- a/pages.fr/common/wc.md +++ b/pages.fr/common/wc.md @@ -1,19 +1,28 @@ # wc > Compte les lignes, les mots ou les octets. +> Plus d'informations : . - Compte les lignes d'un fichier : -`wc -l {{file}}` +`wc {{[-l|--lines]}} {{chemin/vers/fichier}}` - Compte les mots d'un fichier : -`wc -w {{file}}` +`wc {{[-w|--words]}} {{chemin/vers/fichier}}` -- Compte les caractères (octets) d'un fichier : +- Compte les octets d'un fichier : -`wc -c {{file}}` +`wc {{[-c|--bytes]}} {{chemin/vers/fichier}}` - Compte les caractères d'un fichier (en prenant en compte l'ensemble des caractères multi-octets) : -`wc -m {{file}}` +`wc {{[-m|--chars]}} {{chemin/vers/fichier}}` + +- Compte les lignes, les mots et les caractères depuis l'entrée standard `stdin` : + +`{{find .}} | wc` + +- Compte la longueur en nombre de caractères de la plus grande ligne d'un fichier : + +`wc {{[-L|--max-line-length]}} {{chemin/vers/fichier}}` diff --git a/pages.fr/common/which.md b/pages.fr/common/which.md index ab5c952fb7e040..7f972f3896d579 100644 --- a/pages.fr/common/which.md +++ b/pages.fr/common/which.md @@ -1,11 +1,12 @@ # which > Localise un programme dans le chemin de l'utilisateur. +> Plus d'informations : . -- Fouille la variable d'environnement « PATH » et affiche l'endroit des programmes exécutables correspondantes à la requete : +- Fouille la variable d'environnement « PATH » et affiche l'emplacement des programmes exécutables correspondants à la requête : `which {{exécutable}}` -- Affiche toutes les exécutables correspondantes à la requete, si il y en a plus qu'un : +- Affiche tous les exécutables correspondants à la requête, s'il y en a plus qu'un : -`which -a {{exécutable}}` +`which {{[-a|--all]}} {{exécutable}}` diff --git a/pages.fr/common/xzcat.md b/pages.fr/common/xzcat.md new file mode 100644 index 00000000000000..6315e65373ba2e --- /dev/null +++ b/pages.fr/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Cette commande est un alias de `xz`. + +- Voir la documentation de la commande originale : + +`tldr xz` diff --git a/pages.fr/common/yes.md b/pages.fr/common/yes.md new file mode 100644 index 00000000000000..0416fcb883f4d5 --- /dev/null +++ b/pages.fr/common/yes.md @@ -0,0 +1,17 @@ +# yes + +> Envoie un message à répétition en sortie console. +> Cette commande est souvent utilisée pour éviter de devoir accepter des opérations successives (par exemple des installations via la commande `apt-get`). +> Plus d'informations : . + +- Envoyer « message » à répétition : + +`yes {{message}}` + +- Envoyer « y » à répétition : + +`yes` + +- Répondre « oui » à toutes les questions posées par la commande `apt-get` : + +`yes | sudo apt-get install {{program}}` diff --git a/pages.fr/common/z.md b/pages.fr/common/z.md index 91de7d39bfe756..531ce7ad163391 100644 --- a/pages.fr/common/z.md +++ b/pages.fr/common/z.md @@ -1,6 +1,6 @@ # z -> Recherche les répertoires les plus utilisés et permet une navigation rapide à l'aide de chaine de caractères ou de regex. +> Recherche les répertoires les plus utilisés et permet une navigation rapide à l'aide de chaînes de caractères ou d'expressions régulières. > Plus d'informations : . - Aller dans un répertoire qui contient "foo" dans son nom : diff --git a/pages.fr/common/zip.md b/pages.fr/common/zip.md index 38819f49016018..c50e014ade1526 100644 --- a/pages.fr/common/zip.md +++ b/pages.fr/common/zip.md @@ -1,26 +1,27 @@ # zip -> Package et compresse (archive) les fichiers en un fichier zip. +> Empaquette et compresse (archive) les fichiers en un fichier zip. +> Plus d'informations : . -- Package et compresse [r]écursivement un répertoire et son contenu : +- Empaquette et compresse [r]écursivement un répertoire et son contenu : -`zip -r {{archive.zip}} {{chemin/du/répertoire}}` +`zip {{[-r|--recurse-paths]}} {{archive.zip}} {{chemin/du/répertoire}}` - E[x]clure des fichiers de l'archive : -`zip -r {{archive.zip}} {{chemin/vers/le/répertoire}} -x {{chemin/des/fichiers/exclus}}` +`zip {{[-r|--recurse-paths]}} {{archive.zip}} {{chemin/vers/le/répertoire}} {{[-x|--exclude]}} {{chemin/des/fichiers/exclus}}` - Archive un répertoire et son contenu avec le plus haut niveau [9] de compression : -`zip -r -{{9}} {{archive.zip}} {{chemin/du/répertoire}}` +`zip {{[-r|--recurse-paths]}} -{{9}} {{archive.zip}} {{chemin/du/répertoire}}` -- Package et compresse plusieurs répertoires et fichiers : +- Empaquette et compresse plusieurs répertoires et fichiers : -`zip -r {{archive.zip}} {{chemin/du/répertoire1 chemin/du/répertoire2 chemin/du/fichier}}` +`zip {{[-r|--recurse-paths]}} {{archive.zip}} {{chemin/du/répertoire1 chemin/du/répertoire2 chemin/du/fichier}}` -- Créé une archive chifrée (l'utilisateur sera sollicité pour saisir le mot de passe) : +- Crée une archive chiffrée (l'utilisateur sera sollicité pour saisir le mot de passe) : -`zip -e -r {{archive.zip}} {{chemin/du/répertoire}}` +`zip {{[-re|--recurse-paths --encrypt]}} {{archive.zip}} {{chemin/du/répertoire}}` - Ajoute des fichiers à une archive existante : @@ -28,8 +29,8 @@ - Supprime des fichiers d'une archive existante : -`zip -d {{archive.zip}} "{{foo/*.tmp}}"` +`zip {{[-d|--delete]}} {{archive.zip}} "{{foo/*.tmp}}"` -- Archive un répertoire et son contenu en plusieurs fichiers zip [s]cindés (ex: des fichiers de 3 Go) : +- Archive un répertoire et son contenu en plusieurs fichiers zip [s]cindés (ex : des fichiers de 3 Go) : -`zip -r -s {{3g}} {{archive.zip}} {{chemin/du/répertoire}}` +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{archive.zip}} {{chemin/du/répertoire}}` diff --git a/pages.fr/common/zless.md b/pages.fr/common/zless.md index e1508dc2768f15..63c05eb4c48c6f 100644 --- a/pages.fr/common/zless.md +++ b/pages.fr/common/zless.md @@ -1,7 +1,8 @@ # zless -> Lire des fichiers compréssés. +> Lire des fichiers compressés. +> Plus d'informations : . -- Parcourrir une archive compréssé avec `less` : +- Parcourir une archive compressée avec `less` : `zless {{fichier.txt.gz}}` diff --git a/pages.fr/common/zola.md b/pages.fr/common/zola.md index 90fef3f1acc93f..7eb7b539d0e482 100644 --- a/pages.fr/common/zola.md +++ b/pages.fr/common/zola.md @@ -1,13 +1,13 @@ # zola -> Un générateur de site statique à partir d'un unique binaire sans dépendances. +> Un générateur de site statique à partir d'un unique binaire sans dépendance. > Plus d'informations : . -- Créé la structure du répertoire utilisé par Zola dans un répertoire donné : +- Créer la structure du répertoire utilisé par Zola dans un répertoire donné : `zola init {{mon_site}}` -- Cronstuit la totalité du site dans le répertoire `public` (si le répertoire existe, il est supprimé) : +- Construit la totalité du site dans le répertoire `public` (si le répertoire existe, il est supprimé) : `zola build` @@ -15,10 +15,10 @@ `zola build --output-dir {{chemin/du/répertoire_de_sortie/}}` -- Contruit et met à disposition le site à partir d'un serveur local (l'adresse par défaut est `127.0.0.1:1111`) : +- Construit et met à disposition le site à partir d'un serveur local (l'adresse par défaut est `127.0.0.1:1111`) : `zola serve` -- Construit l'ensemble des pages comme la commande build, sans écrire le résultat sur le disque : +- Construit l'ensemble des pages comme la commande `build`, sans écrire le résultat sur le disque : `zola check` diff --git a/pages.fr/common/zopflipng.md b/pages.fr/common/zopflipng.md index a4ae7a4692fc32..2187e4f4efc5cd 100644 --- a/pages.fr/common/zopflipng.md +++ b/pages.fr/common/zopflipng.md @@ -3,10 +3,10 @@ > Utilitaire de compression d'images PNG. > Plus d'informations : . -- Optimise une imahe PNG : +- Optimise une image PNG : `zopflipng {{entrée.png}} {{sortie.png}}` -- Optimise plusieurs images PNG et sauvegarde avec prefix donné : +- Optimise plusieurs images PNG et sauvegarde avec préfixe donné : `zopflipng --prefix={{prefix}} {{image1.png}} {{image2.png}} {{image3.png}}` diff --git a/pages.fr/common/zoxide.md b/pages.fr/common/zoxide.md index ee8986b93bd67d..c95ea3ec9790c1 100644 --- a/pages.fr/common/zoxide.md +++ b/pages.fr/common/zoxide.md @@ -12,7 +12,7 @@ `zoxide query {{foo}} {{bar}}` -- Démarre une recherche de répertoire interactive (requires `fzf`) : +- Démarre une recherche de répertoire interactive (nécessite `fzf`) : `zoxide query --interactive` @@ -20,10 +20,10 @@ `zoxide add {{chemin/du/répertoire}}` -- Supprime un répertoire de la base de donnée de `zoxide` : +- Supprime un répertoire de la base de données de `zoxide` : `zoxide remove {{chemin/du/répertoire}}` -- Génére la configuration du shell pour la mise en place des alias de commandes (`z`, `za`, `zi`, `zq`, `zr`) : +- Génère la configuration du shell pour la mise en place des alias de commandes (`z`, `za`, `zi`, `zq`, `zr`) : `zoxide init {{bash|fish|zsh}}` diff --git a/pages.fr/common/zsh.md b/pages.fr/common/zsh.md new file mode 100644 index 00000000000000..e7fa0f8df5e307 --- /dev/null +++ b/pages.fr/common/zsh.md @@ -0,0 +1,29 @@ +# zsh + +> Z SHell, un interpréteur de ligne de commande compatible avec Bash. +> Voir aussi `histexpand` pour l'expansion de l'historique. +> Plus d'informations : . + +- Démarre une session shell interactive : + +`zsh` + +- Exécute une commande, puis termine la session : + +`zsh -c "{{commande}}"` + +- Exécute un script : + +`zsh {{chemin/vers/script.zsh}}` + +- Exécute un script en affichant chaque commande avant de l'exécuter : + +`zsh --xtrace {{chemin/vers/script.zsh}}` + +- Démarre une session shell interactive en mode verbeux, qui affiche chaque commande avant de l'exécuter : + +`zsh --verbose` + +- Exécute une commande spécifique dans Zsh sans motifs génériques d'expansion des noms de fichier : + +`noglob "{{command}}"` diff --git a/pages.fr/freebsd/chsh.md b/pages.fr/freebsd/chsh.md new file mode 100644 index 00000000000000..4d1e8e920ee6dc --- /dev/null +++ b/pages.fr/freebsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Cette commande est un alias de `chpass`. + +- Affiche la documentation pour la commande d'origine : + +`tldr chpass` diff --git a/pages.fr/freebsd/ypchsh.md b/pages.fr/freebsd/ypchsh.md new file mode 100644 index 00000000000000..ccffcd0c0be34c --- /dev/null +++ b/pages.fr/freebsd/ypchsh.md @@ -0,0 +1,7 @@ +# ypchsh + +> Cette commande est un alias de `chpass`. + +- Affiche la documentation pour la commande d'origine : + +`tldr chpass` diff --git a/pages.fr/linux/a2disconf.md b/pages.fr/linux/a2disconf.md new file mode 100644 index 00000000000000..c2675790ee9627 --- /dev/null +++ b/pages.fr/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Désactive un fichier de configuration sur une distribution Debian. +> Plus d'informations : . + +- Désactive un fichier de configuration : + +`sudo a2disconf {{fichier_de_configuration}}` + +- N'affiche aucun message (mode silencieux) : + +`sudo a2disconf --quiet {{fichier_de_configuration}}` diff --git a/pages.fr/linux/a2dismod.md b/pages.fr/linux/a2dismod.md new file mode 100644 index 00000000000000..ed613047e8bf6d --- /dev/null +++ b/pages.fr/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Désactive un module Apache sur une distribution Debian. +> Plus d'informations : . + +- Désactive un module : + +`sudo a2dismod {{module}}` + +- N'affiche aucun message (mode silencieux) : + +`sudo a2dismod --quiet {{module}}` diff --git a/pages.fr/linux/a2dissite.md b/pages.fr/linux/a2dissite.md new file mode 100644 index 00000000000000..6346736ca22ed4 --- /dev/null +++ b/pages.fr/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Désactive un hôte virtuel Apache sur une distribution Debian. +> Plus d'informations : . + +- Désactive un hôte virtuel : + +`sudo a2dissite {{virtual_host}}` + +- N'affiche aucun message (mode silencieux) : + +`sudo a2dissite --quiet {{virtual_host}}` diff --git a/pages.fr/linux/a2enconf.md b/pages.fr/linux/a2enconf.md new file mode 100644 index 00000000000000..8ec701ef9fae5f --- /dev/null +++ b/pages.fr/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Active un fichier de configuration sur une distribution Debian. +> Plus d'informations : . + +- Active un fichier de configuration : + +`sudo a2enconf {{fichier_de_configuration}}` + +- N'affiche aucun message (mode silencieux) : + +`sudo a2enconf --quiet {{fichier_de_configuration}}` diff --git a/pages.fr/linux/a2enmod.md b/pages.fr/linux/a2enmod.md new file mode 100644 index 00000000000000..b0e5dfffb83e8c --- /dev/null +++ b/pages.fr/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Active un module Apache sur une distribution Debian. +> Plus d'informations : . + +- Active un module : + +`sudo a2enmod {{module}}` + +- N'affiche aucun message (mode silencieux) : + +`sudo a2enmod --quiet {{module}}` diff --git a/pages.fr/linux/a2ensite.md b/pages.fr/linux/a2ensite.md new file mode 100644 index 00000000000000..a2c2da320b60fb --- /dev/null +++ b/pages.fr/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Active un hôte virtuel Apache sur des systèmes d'exploitation (SE) basés sur Debian. +> Plus d'informations : . + +- Active un hôte virtuel : + +`sudo a2ensite {{hote_virtuel}}` + +- N'affiche aucun message (mode silencieux) : + +`sudo a2ensite --quiet {{hote_virtuel}}` diff --git a/pages.fr/linux/a2query.md b/pages.fr/linux/a2query.md new file mode 100644 index 00000000000000..b0da65b945d7e8 --- /dev/null +++ b/pages.fr/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Retourne la configuration d'exécution d'Apache sur une distribution Debian. +> Plus d'informations : . + +- Liste les [m]odules Apache actifs : + +`sudo a2query -m` + +- Vérifie si un module spécifique est installé : + +`sudo a2query -m {{nom_module}}` + +- Liste les hôtes virtuels actifs : + +`sudo a2query -s` + +- Affiche le [M]odule de traitement multiple actif : + +`sudo a2query -M` + +- Affiche la [v]ersion d'Apache : + +`sudo a2query -v` diff --git a/pages.fr/linux/abbr.md b/pages.fr/linux/abbr.md new file mode 100644 index 00000000000000..c204e44b11e2f9 --- /dev/null +++ b/pages.fr/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> Gère les abréviations pour le shell fish. +> Les mots définis par l'utilisateur sont remplacés par des phrases plus longues après leur saisie. +> Plus d'informations : . + +- Ajoute une nouvelle abréviation : + +`abbr --add {{nom_abrégé}} {{commande}} {{arguments_de_la_commande}}` + +- Renomme une abréviation existante : + +`abbr --rename {{ancien_nom}} {{nouveau_nom}}` + +- Supprime une abréviation existante : + +`abbr --erase {{nom_abrégé}}` + +- Importe les abréviations définies sur un autre hôte via SSH : + +`ssh {{nom_de_l_hôte}} abbr --show | source` diff --git a/pages.fr/linux/ac.md b/pages.fr/linux/ac.md new file mode 100644 index 00000000000000..f2ceab5aebfd7f --- /dev/null +++ b/pages.fr/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> Affiche les statistiques concernant la durée de connexion des utilisateurs. +> Plus d'informations : . + +- Affiche pendant combien de temps l'utilisateur actuel a été connecté, en heures : + +`ac` + +- Affiche pendant combien de temps les utilisateurs ont été connectés, en heures : + +`ac {{[-p|--individual-totals]}}` + +- Affiche pendant combien de temps un utilisateur particulier a été connecté, en heures : + +`ac {{[-p|--individual-totals]}} {{nom_d_utilisateur}}` + +- Affiche pendant combien de temps un utilisateur particulier a été connecté, en heures par jour (avec le total) : + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{nom_d_utilisateur}}` + +- Affiche des détails supplémentaires : + +`ac --compatibility` diff --git a/pages.fr/linux/acpi.md b/pages.fr/linux/acpi.md new file mode 100644 index 00000000000000..e60e2939e3a8a8 --- /dev/null +++ b/pages.fr/linux/acpi.md @@ -0,0 +1,28 @@ +# acpi + +> Affiche l'état de la batterie ou des renseignements sur la température. +> Plus d'informations : . + +- Affiche les informations sur la batterie : + +`acpi` + +- Affiche les informations sur la température : + +`acpi -t` + +- Afficher les informations sur le dispositif de refroidissement : + +`acpi -c` + +- Afficher les informations sur le dispositif de refroidissement en Fahrenheit : + +`acpi -tf` + +- Afficher toutes les informations : + +`acpi -V` + +- Extraye les informations depuis `/proc` au lieu de `/sys` : + +`acpi -p` diff --git a/pages.fr/linux/adduser.md b/pages.fr/linux/adduser.md new file mode 100644 index 00000000000000..b174c3ee89824b --- /dev/null +++ b/pages.fr/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> Outil d'ajout d'utilisateurs. +> Plus d'informations : . + +- Crée un nouvel utilisateur avec un répertoire personnel générique et demande interactivement un mot de passe : + +`adduser {{nom_d_utilisateur}}` + +- Crée un nouvel utilisateur sans répertoire personnel : + +`adduser --no-create-home {{nom_dutilisateur}}` + +- Crée un nouvel utilisateur avec un répertoire personnel correspondant au dossier spécifié : + +`adduser --home {{chemin/vers/dossier}} {{nom_d_utilisateur}}` + +- Crée un nouvel utilisateur avec l'interpréteur de commandes spécifié comme interpréteur de commandes de connexion : + +`adduser --shell {{chemin/vers/shell}} {{nom_d_utilisateur}}` + +- Crée un nouvel utilisateur appartenant au groupe donné : + +`adduser --ingroup {{groupe}} {{nom_d_utilisateur}}` diff --git a/pages.fr/linux/alien.md b/pages.fr/linux/alien.md new file mode 100644 index 00000000000000..05c4291113dd66 --- /dev/null +++ b/pages.fr/linux/alien.md @@ -0,0 +1,20 @@ +# alien + +> Convertit différents paquets d'installation vers d'autres formats. +> Plus d'informations : . + +- Convertit un fichier d'installation spécifique vers le format Debian (extension `.deb`) : + +`sudo alien --to-deb {{chemin/vers/fichier}}` + +- Convertit un fichier d'installation spécifique vers le format Red Hat (extension `.rpm`) : + +`sudo alien --to-rpm {{chemin/vers/fichier}}` + +- Convertit un fichier d'installation spécifique en un fichier d'installation Slackware (extension `.tgz`) : + +`sudo alien --to-tgz {{chemin/vers/fichier}}` + +- Convertit un fichier d'installation spécifique vers le format Debian et l'installe sur le système : + +`sudo alien --to-deb --install {{chemin/vers/fichier}}` diff --git a/pages.fr/linux/alternatives.md b/pages.fr/linux/alternatives.md new file mode 100644 index 00000000000000..4152b622b0c940 --- /dev/null +++ b/pages.fr/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Cette commande est un alias de `update-alternatives`. + +- Voir la documentation de la commande originale : + +`tldr update-alternatives` diff --git a/pages.fr/linux/apache2ctl.md b/pages.fr/linux/apache2ctl.md new file mode 100644 index 00000000000000..0f26d401168c8c --- /dev/null +++ b/pages.fr/linux/apache2ctl.md @@ -0,0 +1,25 @@ +# apache2ctl + +> L'outil d'Interface en Lignes de Commandes (ILC) pour administrer le serveur web HTTP Apache. +> Cette commande est disponible sur une distribution Debian. Pour les distributions basées Red Hat, voir `httpd`. +> Plus d'informations : . + +- Démarre le démon Apache. Envoie un message s'il est déjà actif : + +`sudo apache2ctl start` + +- Arrête le démon Apache : + +`sudo apache2ctl stop` + +- Re-démarre le démon Apache : + +`sudo apache2ctl restart` + +- Teste la syntaxe du fichier de configuration : + +`sudo apache2ctl -t` + +- Liste les modules chargés : + +`sudo apache2ctl -M` diff --git a/pages.fr/linux/apk.md b/pages.fr/linux/apk.md new file mode 100644 index 00000000000000..fbbe634f1deb54 --- /dev/null +++ b/pages.fr/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> Gestionnaire de paquet d'Alpine Linux. +> Plus d'informations : . + +- Mets à jour les indexes de tous les dépôts distants : + +`apk update` + +- Installe un nouveau paquet : + +`apk add {{paquet}}` + +- Désinstalle un paquet : + +`apk del {{paquet}}` + +- Essaye de réparer un paquet ou de mettre à jour un paquet sans ses dépendances : + +`apk fix {{paquet}}` + +- Recherche des paquets à partir d'un mot-clé : + +`apk search {{mot_cle}}` + +- Obtiens des information à propos d'un paquet précis : + +`apk info {{paquet}}` diff --git a/pages.fr/linux/apt-add-repository.md b/pages.fr/linux/apt-add-repository.md index 21b1c28315706a..f45e683c929041 100644 --- a/pages.fr/linux/apt-add-repository.md +++ b/pages.fr/linux/apt-add-repository.md @@ -1,19 +1,20 @@ # apt-add-repository -> Gère la définition des dépôts apt. +> Gère la définition des dépôts APT. +> Plus d'informations : . -- Ajout d'un nouveau dépôt: +- Ajout d'un nouveau dépôt : `apt-add-repository {{repository_spec}}` -- Suppression d'un dépôt: +- Suppression d'un dépôt : `apt-add-repository --remove {{repository_spec}}` -- Mise à jour du cache des paquets après ajout d'un dépôt: +- Mise à jour du cache des paquets après ajout d'un dépôt : `apt-add-repository --update {{repository_spec}}` -- Activation pour les paquets source: +- Activation pour les paquets source : `apt-add-repository --enable-source {{repository_spec}}` diff --git a/pages.fr/linux/apt-cache.md b/pages.fr/linux/apt-cache.md index 9c8bf57d2f569a..f33d5a90b6055a 100644 --- a/pages.fr/linux/apt-cache.md +++ b/pages.fr/linux/apt-cache.md @@ -1,23 +1,24 @@ # apt-cache > Outil de recherche de paquets Debian et Ubuntu. +> Plus d'informations : . -- Recherche un paquet dans vos sources actuelles: +- Recherche un paquet dans vos sources actuelles : `apt-cache search {{query}}` -- Affiche des informations sur un paquet: +- Affiche des informations sur un paquet : `apt-cache show {{package}}` -- Indique si un paquet est installé et à jour: +- Indique si un paquet est installé et à jour : `apt-cache policy {{package}}` -- Affiche les dépendances d'un paquet: +- Affiche les dépendances d'un paquet : `apt-cache depends {{package}}` -- Affiche les paquets qui dépendent d'un paquet particulier: +- Affiche les paquets qui dépendent d'un paquet particulier : `apt-cache rdepends {{package}}` diff --git a/pages.fr/linux/apt-file.md b/pages.fr/linux/apt-file.md index 1d991ad5af49c0..30cd27b3c1e4df 100644 --- a/pages.fr/linux/apt-file.md +++ b/pages.fr/linux/apt-file.md @@ -1,15 +1,16 @@ # apt-file -> Recherche de fichiers dans les paquets apt, y compris ceux qui ne sont pas encore installés. +> Recherche de fichiers dans les paquets APT, y compris ceux qui ne sont pas encore installés. +> Plus d'informations : . -- Mise à jour la base de données des métadonnées: +- Mise à jour la base de données des métadonnées : `sudo apt update` -- Recherche des paquets qui contiennent le fichier ou le chemin d'accès spécifié: +- Recherche des paquets qui contiennent le fichier ou le chemin d'accès spécifié : `apt-file search {{part/of/filename}}` -- Énumère le contenu d'un paquet spécifique: +- Énumère le contenu d'un paquet spécifique : `apt-file list {{package_name}}` diff --git a/pages.fr/linux/apt-get.md b/pages.fr/linux/apt-get.md index e3107d0695c796..5a32f940c73c6e 100644 --- a/pages.fr/linux/apt-get.md +++ b/pages.fr/linux/apt-get.md @@ -2,35 +2,36 @@ > Utilitaire de gestion des paquets Debian et Ubuntu. > Recherche des paquets en utilisant `apt-cache`. +> Plus d'informations : . -- Mise à jour de la liste des paquets et des versions disponibles (il est recommandé de l'exécuter avant les autres commandes `apt-get`): +- Mise à jour de la liste des paquets et des versions disponibles (il est recommandé de l'exécuter avant les autres commandes `apt-get`) : `apt-get update` -- Installation d'un paquet, ou mise à jour avec la dernière version disponible: +- Installation d'un paquet, ou mise à jour avec la dernière version disponible : `apt-get install {{package}}` -- Suppression d'un paquet: +- Suppression d'un paquet : `apt-get remove {{package}}` -- Suppression d'un paquet et de ses fichiers de configuration: +- Suppression d'un paquet et de ses fichiers de configuration : `apt-get purge {{package}}` -- Mise à jour de tous les paquets installés vers les dernières versions disponibles: +- Mise à jour de tous les paquets installés vers les dernières versions disponibles : `apt-get upgrade` -- Nettoyage du dépôt local - supprime les fichiers de paquets (.deb) des téléchargements interrompus qui ne peuvent plus être téléchargés: +- Nettoyage du dépôt local - supprime les fichiers de paquets (`.deb`) des téléchargements interrompus qui ne peuvent plus être téléchargés : `apt-get autoclean` -- Suppression de tous les paquets qui ne sont plus nécessaires: +- Suppression de tous les paquets qui ne sont plus nécessaires : `apt-get autoremove` -- Mise à jour des paquets installés (comme la commande `upgrade`), mais avec suppression des paquets obsolètes et installation des paquets supplémentaires pour répondre aux nouvelles dépendances: +- Mise à jour des paquets installés (comme la commande `upgrade`), mais avec suppression des paquets obsolètes et installation des paquets supplémentaires pour répondre aux nouvelles dépendances : `apt-get dist-upgrade` diff --git a/pages.fr/linux/apt-mark.md b/pages.fr/linux/apt-mark.md index 59ade695cc727d..fddba107cfcc2a 100644 --- a/pages.fr/linux/apt-mark.md +++ b/pages.fr/linux/apt-mark.md @@ -1,23 +1,24 @@ # apt-mark > Utilitaire permettant de modifier l'état des paquets installés. +> Plus d'informations : . -- Marquer un paquet comme étant automatiquement installé: +- Marquer un paquet comme étant automatiquement installé : `sudo apt-mark auto {{package_name}}` -- Maintenir un paquet à sa version actuelle et empêcher les mises à jour: +- Maintenir un paquet à sa version actuelle et empêcher les mises à jour : `sudo apt-mark hold {{package_name}}` -- Permettre une nouvelle mise à jour d'un paquet: +- Permettre une nouvelle mise à jour d'un paquet : `sudo apt-mark unhold {{package_name}}` -- Afficher les paquets installés manuellement: +- Afficher les paquets installés manuellement : `apt-mark showmanual` -- Afficher les paquets détenus qui ne sont pas mis à jour: +- Afficher les paquets détenus qui ne sont pas mis à jour : `apt-mark showhold` diff --git a/pages.fr/linux/apt.md b/pages.fr/linux/apt.md index d556bde397df8b..9a2bfd1e8d9ea7 100644 --- a/pages.fr/linux/apt.md +++ b/pages.fr/linux/apt.md @@ -1,36 +1,37 @@ # apt > Utilitaire de gestion des paquets pour les distributions basées sur Debian. -> Remplacement recommandé pour apt-get lorsqu'il est utilisé de manière interactive dans les versions 16.04 et ultérieures d'Ubuntu. +> Remplacement recommandé pour `apt-get` lorsqu'il est utilisé de manière interactive dans les versions 16.04 et ultérieures d'Ubuntu. +> Plus d'informations : . -- Mettre à jour la liste des paquets et des versions disponibles (il est recommandé de l'exécuter avant les autres commandes `apt`): +- Mettre à jour la liste des paquets et des versions disponibles (il est recommandé de l'exécuter avant les autres commandes `apt`) : `sudo apt update` -- Recherche d'un paquet donné: +- Recherche d'un paquet donné : `apt search {{package}}` -- Afficher les informations pour un paquet: +- Afficher les informations pour un paquet : `apt show {{package}}` -- Installer un paquet, ou le mettre à jour avec la dernière version disponible: +- Installer un paquet, ou le mettre à jour avec la dernière version disponible : `sudo apt install {{package}}` -- Supprimer un paquet (utiliser `purge` à la place supprime également ses fichiers de configuration): +- Supprimer un paquet (utiliser `purge` à la place supprime également ses fichiers de configuration) : `sudo apt remove {{package}}` -- Mettre à jour tous les paquets installés vers les dernières versions disponibles: +- Mettre à jour tous les paquets installés vers les dernières versions disponibles : `sudo apt upgrade` -- Lister tous les paquets: +- Lister tous les paquets : `apt list` -- Lister les paquets installés: +- Lister les paquets installés : -`apt list --installed` +`apt list {{[-i|--installed]}}` diff --git a/pages.fr/linux/ark.md b/pages.fr/linux/ark.md new file mode 100644 index 00000000000000..ff6c54af529fa5 --- /dev/null +++ b/pages.fr/linux/ark.md @@ -0,0 +1,16 @@ +# ark + +> Outil d'archive de KDE. +> Plus d'informations : . + +- Extrait une archive dans le répertoire courant : + +`ark --batch {{chemin/vers/archive}}` + +- Change le répertoire d'extraction : + +`ark --batch --destination {{chemin/vers/dossier}} {{chemin/vers/archive}}` + +- Crée une archive si elle n'existe pas et y ajouter des fichiers : + +`ark --add-to {{chemin/vers/archive}} {{chemin/vers/fichier1 chemin/vers/fichier2 ...}}` diff --git a/pages.fr/linux/as.md b/pages.fr/linux/as.md new file mode 100644 index 00000000000000..8859e5543ef0f0 --- /dev/null +++ b/pages.fr/linux/as.md @@ -0,0 +1,20 @@ +# as + +> Assembleur GNU portable. Principalement destiné pour assembler la sortie de `gcc` pour être utilisé par `ld`. +> Plus d'informations : . + +- Assemble un fichier, en écrivant la sortie dans le fichier `a.out` : + +`as {{chemin/vers/fichier.s}}` + +- Assemble la sortie vers un fichier donné : + +`as {{chemin/vers/fichier.s}} -o {{chemin/vers/sortie.o}}` + +- Génère la sortie plus vite en évitant le preprocess des espaces et des commentaires (doit seulement être utilisé sur des compilateurs sûrs) : + +`as -f {{chemin/vers/fichier.s}}` + +- Inclut un chemin donné à la liste des répertoires dans lesquels chercher les fichiers spécifiés dans les directives `.include` : + +`as -I {{chemin/vers/le/répertoire}} {{chemin/vers/fichier.s}}` diff --git a/pages.fr/linux/ascii.md b/pages.fr/linux/ascii.md new file mode 100644 index 00000000000000..89e0031eae02cf --- /dev/null +++ b/pages.fr/linux/ascii.md @@ -0,0 +1,36 @@ +# ascii + +> Affiche les alias de caractères ASCII. +> Plus d'informations : . + +- Affiche les alias ASCII d'un caractère : + +`ascii {{c}}` + +- Affiche les alias ASCII dans un format court, adapté pour les scripts : + +`ascii -t {{c}}` + +- Affiche les alias ASCII de plusieurs caractères : + +`ascii -s {{tldr}}` + +- Affiche la table ASCII en décimal : + +`ascii -d` + +- Affiche la table ASCII en hexadécimal : + +`ascii -x` + +- Affiche la table ASCII en octal : + +`ascii -o` + +- Affiche la table ASCII en binaire : + +`ascii -b` + +- Affiche le résumé des options et une table ASCII complète : + +`ascii` diff --git a/pages.fr/linux/asciiart.md b/pages.fr/linux/asciiart.md new file mode 100644 index 00000000000000..3c60db1b5cb919 --- /dev/null +++ b/pages.fr/linux/asciiart.md @@ -0,0 +1,28 @@ +# asciiart + +> Convertit des images en ASCII. +> Plus d'informations : . + +- Lit une image depuis un fichier et l'affiche en ASCII : + +`asciiart {{chemin/vers/image.jpg}}` + +- Lit une image depuis une URL et l'affiche en ASCII : + +`asciiart {{www.example.com/image.jpg}}` + +- Choisit la largeur de sortie (valeur par défaut : 100) : + +`asciiart --width {{50}} {{chemin/vers/image.jpg}}` + +- Colorise la sortie ASCII : + +`asciiart --color {{chemin/vers/image.jpg}}` + +- Choisit le format de sortie (format par défaut : textuel) : + +`asciiart --format {{text|html}} {{chemin/vers/image.jpg}}` + +- Inverse la table de caractères : + +`asciiart --invert-chars {{chemin/vers/image.jpg}}` diff --git a/pages.fr/linux/batcat.md b/pages.fr/linux/batcat.md new file mode 100644 index 00000000000000..ed66c50170f1b1 --- /dev/null +++ b/pages.fr/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Cette commande est un alias de `bat`. + +- Voir la documentation de la commande originale : + +`tldr bat` diff --git a/pages.fr/linux/blight.md b/pages.fr/linux/blight.md new file mode 100644 index 00000000000000..9b4985473fed5b --- /dev/null +++ b/pages.fr/linux/blight.md @@ -0,0 +1,24 @@ +# blight + +> Utilitaire pour changer la luminosité de l'affichage. +> Plus d'informations : . + +- Fixe la luminosité de l'affichage à 50% : + +`blight set {{50}} -r` + +- Affiche la luminosité actuelle de l'affichage : + +`blight show` + +- Affiche la luminosité maximale de l'affichage : + +`blight max` + +- Augmente la luminosité de l'affichage en pourcentage : + +`blight inc {{nombre}} -r` + +- Réduit la luminosité de l'affichage en unités internes : + +`blight dec {{nombre}}` diff --git a/pages.fr/linux/btrfs-check.md b/pages.fr/linux/btrfs-check.md new file mode 100644 index 00000000000000..4a376be68f8185 --- /dev/null +++ b/pages.fr/linux/btrfs-check.md @@ -0,0 +1,32 @@ +# btrfs check + +> Vérifier l'état, ou réparer un système de fichiers de type btrfs. +> Plus d'informations : . + +- Vérifier l'état d'un système de fichiers btrfs : + +`sudo btrfs check {{chemin/vers/partition}}` + +- Vérifier l'état et réparer d'un système de fichiers btrfs (dangereux) : + +`sudo btrfs check --repair {{chemin/vers/partition}}` + +- Afficher la progression de vérification en cours : + +`sudo btrfs check --progress {{chemin/vers/partition}}` + +- Vérifier la somme de contrôle de chaque bloc de données (si le système de fichiers à été correctement vérifié) : + +`sudo btrfs check --check-data-csum {{chemin/vers/partition}}` + +- Utiliser le `n`-ième super-bloc (`n` peut-être `0`, `1` ou `2`) : + +`sudo btrfs check --super {{n}} {{chemin/vers/partition}}` + +- Reconstruire l'arbre des sommes de contrôle (checksum tree) : + +`sudo btrfs check --repair --init-csum-tree {{chemin/vers/partition}}` + +- Reconstruire l'arbre des domaines (extent tree) : + +`sudo btrfs check --repair --init-extent-tree {{chemin/vers/partition}}` diff --git a/pages.fr/linux/btrfs-device.md b/pages.fr/linux/btrfs-device.md new file mode 100644 index 00000000000000..f9c65917ca4f1a --- /dev/null +++ b/pages.fr/linux/btrfs-device.md @@ -0,0 +1,24 @@ +# btrfs device + +> Gestion des partitions dans un système de fichiers BTRFS. +> Plus d'informations : . + +- Ajouter un ou plusieurs périphériques à un système de fichiers btrfs : + +`sudo btrfs device add {{chemin/vers/block_device1}} [{{chemin/vers/block_device2}}] {{chemin/vers/systeme_de_fichiers_btrfs}}` + +- Retirer un périphérique d'un système de fichiers btrfs : + +`sudo btrfs device remove {{chemin/vers/peripherique|identifiant_peripherique}} [{{...}}]` + +- Afficher les statistiques d'erreurs : + +`sudo btrfs device stats {{chemin/vers/systeme_de_fichiers_btrfs}}` + +- Scanner tous les disques et informer le noyau de tous les sytèmes de fichiers btrfs détectés : + +`sudo btrfs device scan --all-devices` + +- Afficher les statistiques détaillées d'allocation par disque : + +`sudo btrfs device usage {{chemin/vers/systeme_de_fichiers_btrfs}}` diff --git a/pages.fr/linux/btrfs-filesystem.md b/pages.fr/linux/btrfs-filesystem.md new file mode 100644 index 00000000000000..f7502400a5a642 --- /dev/null +++ b/pages.fr/linux/btrfs-filesystem.md @@ -0,0 +1,28 @@ +# btrfs filesystem + +> Gérer les systèmes de fichiers btrfs. +> Plus d'informations : . + +- Afficher l'utilisation du système de fichiers (affiche les informations détaillées si executé en tant que `root`) : + +`btrfs filesystem usage {{chemin/vers/point_de_montage_btrfs}}` + +- Afficher l'utilisation individuellement pour chaque périphérique : + +`sudo btrfs filesystem show {{chemin/vers/point_de_montage_btrfs}}` + +- Défragmenter un fichier unique sur un système de fichiers btrfs (à éviter lorsqu'un agent de dé-duplication est en cours d'exécution) : + +`sudo btrfs filesystem defragment -v {{chemin/vers/fichier}}` + +- Défragmenter récursivement un dossier (ne franchit pas la limite de sous-volume) : + +`sudo btrfs filesystem defragment -v -r {{chemin/vers/dossier}}` + +- Force la resynchronisation des blocs de données non écrits sur le ou les disques : + +`sudo btrfs filesystem sync {{chemin/vers/point_de_montage_btrfs}}` + +- Afficher un sommaire d'utilisation des disques pour les fichiers dans un dossier, récursivement : + +`sudo btrfs filesystem du --summarize {{chemin/vers/dossier}}` diff --git a/pages.fr/linux/btrfs-inspect-internal.md b/pages.fr/linux/btrfs-inspect-internal.md new file mode 100644 index 00000000000000..2d41e4b6193eb7 --- /dev/null +++ b/pages.fr/linux/btrfs-inspect-internal.md @@ -0,0 +1,28 @@ +# btrfs inspect-internal + +> Recherche des informations internes concernant un système de fichier btrfs. +> Plus d'informations : . + +- Afficher les informations du superbloc : + +`sudo btrfs inspect-internal dump-super {{chemin/vers/partition}}` + +- Afficher les informations sur les superblocs et toutes ses copies : + +`sudo btrfs inspect-internal dump-super --all {{chemin/vers/partition}}` + +- Afficher les meta-informations du système de fichiers : + +`sudo btrfs inspect-internal dump-tree {{chemin/vers/partition}}` + +- Afficher la liste des fichiers dans le `n`-ième inode : + +`sudo btrfs inspect-internal inode-resolve {{n}} {{chemin/vers/point_de_montage_btrfs}}` + +- Afficher la liste des fichiers à une adresse logique donnée : + +`sudo btrfs inspect-internal logical-resolve {{addresse_logique}} {{chemin/vers/point_de_montage_btrfs}}` + +- Afficher les statistiques concernant les arbres de racines, de domaines (extent), de sommes de contrôle (csum) et de système de fichiers : + +`sudo btrfs inspect-internal tree-stats {{chemin/vers/partition}}` diff --git a/pages.fr/linux/btrfs-rescue.md b/pages.fr/linux/btrfs-rescue.md new file mode 100644 index 00000000000000..b3efcfd3d36b28 --- /dev/null +++ b/pages.fr/linux/btrfs-rescue.md @@ -0,0 +1,24 @@ +# btrfs rescue + +> Essayer de récupérer un système de fichiers btrfs endommagé. +> Plus d'informations : . + +- Reconstruire les méta-données du système de fichiers (très lent) : + +`sudo btrfs rescue chunk-recover {{chemin/vers/partition}}` + +- Corriger les problèmes d'alignement de taille de périphérique (e.g. incohérence entre la taille du système de fichiers et le nombre total d'octets empéchant de monter la partition) : + +`sudo btrfs rescue fix-device-size {{chemin/vers/partition}}` + +- Restaurer un superbloc corrompu depuis ses copies correctes (restauration de la racine de l'arbre du système de fichiers) : + +`sudo btrfs rescue super-recover {{chemin/vers/partition}}` + +- Restaurer depuis des transactions interrompues (correction des problèmes de re-exécution des messages de journaux) : + +`sudo btrfs rescue zero-log {{chemin/vers/partition}}` + +- Créer un périphérique de contrôle sous `/dev/btrfs-control` quand l'outil `mknod` n'est pas installé : + +`sudo btrfs rescue create-control-device` diff --git a/pages.fr/linux/btrfs-restore.md b/pages.fr/linux/btrfs-restore.md new file mode 100644 index 00000000000000..dbff636351c869 --- /dev/null +++ b/pages.fr/linux/btrfs-restore.md @@ -0,0 +1,24 @@ +# btrfs restore + +> Tenter de récupérer des fichiers depuis un système de fichiers btrfs endommagé. +> Plus d'informations : . + +- Restaurer tout les fichiers depuis un système de fichier btrfs vers un répertoire cible indiqué : + +`sudo btrfs restore {{chemin/vers/peripherique_btrfs}} {{chemin/vers/dossier}}` + +- Lister (sans écriture) les fichiers qui peuvent être récupérés depuis un système de fichiers btrfs : + +`sudo btrfs restore --dry-run {{chemin/du/device/btrfs}} {{chemin/du/dossier}}` + +- Restaurer les fichiers correspondants à une expression régulière donnée (non sensible à la casse) à restaurer depuis un système de fichiers btrfs (tous les répertoires parents des fichiers doivent correspondre également à l'expression régulière) : + +`sudo btrfs restore --path-regex {{expression_reguliere}} -c {{chemin/vers/peripherique_btrfs}} {{chemin/vers/dossier}}` + +- Restaurer les fichiers depuis un système de fichiers btrfs en utilisant un arbre racine spécifique `bytenr` (voir `btrfs-find-root`) : + +`sudo btrfs restore -t {{bytenr}} {{chemin/vers/peripherique_btrfs}} {{chemin/vers/dossier}}` + +- Restaurer les fichiers depuis un système de fichiers btrfs (avec métadonnées, attributs étendus, et liens symboliques) en écrivant par dessus les fichiers déjà existants dans le répertoire cible : + +`sudo btrfs restore --metadata --xattr --symlinks --overwrite {{chemin/vers/peripherique_btrfs}} {{chemin/vers/dossier}}` diff --git a/pages.fr/linux/btrfs-scrub.md b/pages.fr/linux/btrfs-scrub.md new file mode 100644 index 00000000000000..a21fec2fffdf80 --- /dev/null +++ b/pages.fr/linux/btrfs-scrub.md @@ -0,0 +1,29 @@ +# btrfs scrub + +> Éxaminer un système de fichiers btrfs pour vérifier l'intégrité de ses données. +> Il est recommandé de faire tourner une vérification tous les mois. +> Plus d'informations : . + +- Démarrer un examen : + +`sudo btrfs scrub start {{chemin/vers/point_de_montage_btrfs}}` + +- Afficher le statut d'un examen en cours, ou du dernier examen complété : + +`sudo btrfs scrub status {{chemin/vers/point_de_montage_btrfs}}` + +- Stopper un examen en cours : + +`sudo btrfs scrub cancel {{chemin/vers/point_de_montage_btrfs}}` + +- Reprendre un examen précédemment stoppé : + +`sudo btrfs scrub resume {{chemin/vers/point_de_montage_btrfs}}` + +- Démarrer un examen, mais attendre qu'il termine avant de rendre la main : + +`sudo btrfs scrub start -B {{chemin/vers/point_de_montage_btrfs}}` + +- Démarrer un examen en mode silencieux (n'affiche ni erreurs ni statistiques) : + +`sudo btrfs scrub start -q {{chemin/vers/le/point_de_montage_btrfs}}` diff --git a/pages.fr/linux/btrfs-subvolume.md b/pages.fr/linux/btrfs-subvolume.md new file mode 100644 index 00000000000000..5f46d64ae38a24 --- /dev/null +++ b/pages.fr/linux/btrfs-subvolume.md @@ -0,0 +1,28 @@ +# btrfs subvolume + +> Gestion des sous-volumes et instantanés btrfs. +> Plus d'informations : . + +- Créer un nouveau sous-volume vide : + +`sudo btrfs subvolume create {{chemin/vers/nouveau_sous_volume}}` + +- Lister tous les sous-volumes et instantanés du système de fichiers indiqué : + +`sudo btrfs subvolume list {{chemin/vers/systeme_de_fichiers_btrfs}}` + +- Supprimer un sous-volume : + +`sudo btrfs subvolume delete {{chemin/vers/sous_volume}}` + +- Créer un instantané en lecture seule d'un sous-volume existant : + +`sudo btrfs subvolume snapshot -r {{chemin/vers/sous_volume_source}} {{chemin/vers/sous_volume_cible}}` + +- Créer un instantané en lecture et écriture d'un sous-volume existant : + +`sudo btrfs subvolume snapshot {{chemin/vers/sous_volume_source}} {{chemin/vers/sous_volume_cible}}` + +- Afficher les informations détaillées d'un sous-volume : + +`sudo btrfs subvolume show {{chemin/vers/sous_volume}}` diff --git a/pages.fr/linux/btrfs-version.md b/pages.fr/linux/btrfs-version.md new file mode 100644 index 00000000000000..4758b3a87830a2 --- /dev/null +++ b/pages.fr/linux/btrfs-version.md @@ -0,0 +1,12 @@ +# btrfs version + +> Afficher les informations de version des outils btrfs, et accéder aux pages d'aide. +> Plus d'informations : . + +- Afficher l'aide : + +`btrfs version --help` + +- Afficher les informations de version des outils btrfs : + +`btrfs version` diff --git a/pages.fr/linux/btrfs.md b/pages.fr/linux/btrfs.md new file mode 100644 index 00000000000000..8c2c084601b87e --- /dev/null +++ b/pages.fr/linux/btrfs.md @@ -0,0 +1,25 @@ +# btrfs + +> Système de fichiers basé sur le principe de copie à l’écriture ("copy-on-write", souvent désigné par son sigle anglais COW) pour Linux. +> Certaines sous-commandes comme `device` ont leur propre documentation. +> Plus d'informations : . + +- Créer un sous-volume : + +`sudo btrfs subvolume create {{chemin/vers/sous_volume}}` + +- Lister les sous-volumes : + +`sudo btrfs subvolume list {{chemin/vers/point_de_montage}}` + +- Afficher les informations d'utilisation d'espace : + +`sudo btrfs filesystem df {{chemin/vers/point_de_montage}}` + +- Activer les quotas : + +`sudo btrfs quota enable {{chemin/vers/sous_volume}}` + +- Afficher les quotas : + +`sudo btrfs qgroup show {{chemin/vers/sous_volume}}` diff --git a/pages.fr/linux/cal.md b/pages.fr/linux/cal.md new file mode 100644 index 00000000000000..03d1f562aca3aa --- /dev/null +++ b/pages.fr/linux/cal.md @@ -0,0 +1,24 @@ +# cal + +> Affiche un calendrier, en surlignant la date d'aujourd'hui. +> Plus d'informations : . + +- Affiche un calendrier pour le mois en cours : + +`cal` + +- Affiche les mois précédent, courant et suivant : + +`cal {{[-3|--three]}}` + +- Utilise le Lundi comme le premier jour de la semaine : + +`cal {{[-m|--monday]}}` + +- Affiche un calendrier pour une année en particulier (4 chiffres) : + +`cal {{année}}` + +- Affiche un calendrier pour un mois et une année en particulier : + +`cal {{mois}} {{année}}` diff --git a/pages.fr/linux/cc.md b/pages.fr/linux/cc.md new file mode 100644 index 00000000000000..90555587c61ed5 --- /dev/null +++ b/pages.fr/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Cette commande est un alias de `gcc`. + +- Voir la documentation de la commande originale : + +`tldr gcc` diff --git a/pages.fr/linux/cfdisk.md b/pages.fr/linux/cfdisk.md new file mode 100644 index 00000000000000..504e8099f5538a --- /dev/null +++ b/pages.fr/linux/cfdisk.md @@ -0,0 +1,12 @@ +# cfdisk + +> Un programme pour gérer les tables de partitions et les partitions sur un disque dur en utilisant une interface utilisateur de type "curses". +> Plus d'informations : . + +- Lance le manipulateur de partitions sur un appareil spécifique : + +`cfdisk {{/dev/sdX}}` + +- Crée une nouvelle table de partitions pour un appareil spécifique et la gère : + +`cfdisk {{[-z|--zero]}} {{/dev/sdX}}` diff --git a/pages.fr/linux/chcon.md b/pages.fr/linux/chcon.md new file mode 100644 index 00000000000000..d015be94254ded --- /dev/null +++ b/pages.fr/linux/chcon.md @@ -0,0 +1,32 @@ +# chcon + +> Change le contexte de sécurité de SELinux d'un ou plusieurs fichiers/dossiers. +> Plus d'informations : . + +- Affiche le contexte de sécurité d'un fichier : + +`ls {{[-lZ|-l --context]}} {{chemin/vers/fichier}}` + +- Change le contexte de sécurité d'un fichier cible, en utilisant un fichier de référence : + +`chcon --reference {{fichier_référence}} {{fichier_cible}}` + +- Change le contexte de sécurité SELinux complet d'un fichier : + +`chcon {{utilisateur}}:{{role}}:{{type}}:{{range/level}} {{fichier}}` + +- Change seulement la partie utilisateur du contexte de sécurité SELinux : + +`chcon {{[-u|--user]}} {{utilisateur}} {{fichier}}` + +- Change seulement la partie role du contexte de sécurité SELinux : + +`chcon {{[-r|--role]}} {{role}} {{fichier}}` + +- Change seulement la partie type du contexte de sécurité SELinux : + +`chcon {{[-t|--type]}} {{type}} {{fichier}}` + +- Change seulement la partie plage/niveau du contexte de sécurité SELinux : + +`chcon {{[-l|--range]}} {{plage/niveau}} {{fichier}}` diff --git a/pages.fr/linux/chsh.md b/pages.fr/linux/chsh.md new file mode 100644 index 00000000000000..f8cab20e49f030 --- /dev/null +++ b/pages.fr/linux/chsh.md @@ -0,0 +1,21 @@ +# chsh + +> Change le shell de connexion de l'utilisateur. +> Fait partie de `util-linux`. +> Plus d'informations : . + +- Change le shell de connexion de l'utilisateur actuel de manière interactive : + +`chsh` + +- Liste les shells disponibles : + +`chsh {{[-l|--list-shells]}}` + +- Change le shell de connexion de l'utilisateur actuel : + +`chsh {{[-s|--shell]}} {{chemin/vers/shell}}` + +- Change le shell de connexion pour un utilisateur donné : + +`sudo chsh {{[-s|--shell]}} {{chemin/vers/shell}} {{nom_utilisateur}}` diff --git a/pages.fr/linux/cmus.md b/pages.fr/linux/cmus.md new file mode 100644 index 00000000000000..f3353b092cd209 --- /dev/null +++ b/pages.fr/linux/cmus.md @@ -0,0 +1,25 @@ +# cmus + +> Lecteur de musique en ligne de commande. +> Utiliser `` pour naviguer, `` pour sélectionner, et les nombres `<1>`-`<8>` pour se déplacer dans les différentes vues. +> Plus d'informations : . + +- Ouvre cmus dans le dossier spécifié (celui-ci deviendra le dossier de travail) : + +`cmus {{chemin/vers/dossier}}` + +- Ajoute un fichier/dossier à la bibliothèque : + +`<:>add {{chemin/vers/fichier_ou_dossier}}` + +- Mets en pause/relancer la musique actuelle : + +`` + +- Active/désactive le mode aléatoire : + +`` + +- Quitte cmus : + +`` diff --git a/pages.fr/linux/ctr.md b/pages.fr/linux/ctr.md new file mode 100644 index 00000000000000..5d016a295133cd --- /dev/null +++ b/pages.fr/linux/ctr.md @@ -0,0 +1,20 @@ +# ctr + +> Gère les conteneurs et images de `containerd`. +> Plus d'informations : . + +- Liste tous les conteneurs (en marche et arrêtés) : + +`ctr containers list` + +- Liste toutes les images : + +`ctr images list` + +- Télécharge une image : + +`ctr images pull {{image}}` + +- Étiquette une image : + +`ctr images tag {{image_source}}:{{étiquette_source}} {{image_destination}}:{{étiquette_destination}}` diff --git a/pages.fr/linux/curlie.md b/pages.fr/linux/curlie.md new file mode 100644 index 00000000000000..5f807e8ffadf57 --- /dev/null +++ b/pages.fr/linux/curlie.md @@ -0,0 +1,20 @@ +# curlie + +> Curlie est un frontend pour curl qui ajoute la facilité d'utilisation de httpie. +> Plus d'informations : . + +- Envoie une requête GET : + +`curlie {{httpbin.org/get}}` + +- Envoie une requête POST : + +`curlie post {{httpbin.org/post}} {{name=john}} {{age:=25}}` + +- Envoie une requête GET avec des paramètres de requête (par ex : `premier_param=5&deuxième_param=true`) : + +`curlie get {{httpbin.org/get}} {{premier_param=5}} {{second_param=true}}` + +- Envoie une requête GET avec un en-tête personnalisé : + +`curlie get {{httpbin.org/get}} {{clef-d-en-tête:valeur-d-en-tête}}` diff --git a/pages.fr/linux/daemonize.md b/pages.fr/linux/daemonize.md new file mode 100644 index 00000000000000..67fbe0c01951ef --- /dev/null +++ b/pages.fr/linux/daemonize.md @@ -0,0 +1,20 @@ +# daemonize + +> Lance une commande (qui ne se "démonise" pas elle-même) comme démon UNIX. +> Plus d'informations : . + +- Lance une commande comme démon : + +`daemonize {{commande}} {{arguments_de_commande}}` + +- Écrit le PID dans le fichier spécifié : + +`daemonize -p {{chemin/vers/le/fichier/pid}} {{commande}} {{arguments_de_commande}}` + +- Utilise un fichier verrou pour s'assurer que seulement une instance fonctionne à la fois : + +`daemonize -l {{chemin/vers/le/fichier/verrou}} {{commande}} {{arguments_de_commande}}` + +- Utilise le compte utilisateur spécifié : + +`sudo daemonize -u {{utilisateur}} {{commande}} {{arguments_de_commande}}` diff --git a/pages.fr/linux/deluser.md b/pages.fr/linux/deluser.md new file mode 100644 index 00000000000000..92ccdea9ccaf79 --- /dev/null +++ b/pages.fr/linux/deluser.md @@ -0,0 +1,20 @@ +# deluser + +> Supprime un utilisateur du système. +> Plus d'informations : . + +- Supprime un utilisateur : + +`sudo deluser {{nom_dutilisateur}}` + +- Supprime un utilisateur et son répertoire "home" : + +`sudo deluser --remove-home {{nom_dutilisateur}}` + +- Supprime un utilisateur et son répertoire "home", mais sauvegarde ses fichiers dans une archive `.tar.gz` dans le répertoire spécifié : + +`sudo deluser --backup-to {{chemin/vers/le/répertoire/de/sauvegarde}} --remove-home {{nom_dutilisateur}}` + +- Supprime un utilisateur et tous les fichiers qu'il possède : + +`sudo deluser --remove-all-files {{nom_dutilisateur}}` diff --git a/pages.fr/linux/dex.md b/pages.fr/linux/dex.md new file mode 100644 index 00000000000000..05e7a36b037c37 --- /dev/null +++ b/pages.fr/linux/dex.md @@ -0,0 +1,32 @@ +# dex + +> DesktopEntry Execution est un programme servant à générer et à exécuter des fichiers DesktopEntry de type Application. +> Plus d'informations : . + +- Exécute tous les programmes dans les dossiers de démarrage automatique : + +`dex --autostart` + +- Exécute tous les programmes dans les dossiers spécifiés : + +`dex --autostart --search-paths {{chemin/vers/dossier1}}:{{chemin/vers/dossier2}}:{{chermin/vers/dossier3}}:` + +- Prévisualise les programmes qui seraient exécutés lors d'un démarrage automatique spécifique à GNOME : + +`dex --autostart --environment {{GNOME}}` + +- Prévisualise les programmes qui seraient exécutés lors d'un démarrage automatique standard : + +`dex --autostart --dry-run` + +- Prévisualise la valeur de la propriété `Name` de DesktopEntry : + +`dex --property {{Name}} {{chemin/vers/fichier.desktop}}` + +- Crée une DesktopEntry pour un programme dans le dossier courant : + +`dex --create {{chemin/vers/fichier.destkop}}` + +- Exécute un programme (avec `Terminal=true` dans le fichier Desktop) dans le terminal donné : + +`dex --term {{terminal}} {{chemin/vers/fichier.desktop}}` diff --git a/pages.fr/linux/dos2unix.md b/pages.fr/linux/dos2unix.md new file mode 100644 index 00000000000000..9345dd087435ba --- /dev/null +++ b/pages.fr/linux/dos2unix.md @@ -0,0 +1,22 @@ +# dos2unix + +> Remplace les fins de lignes de style DOS par des fins de lignes de style Unix. +> Remplace CRLF par LF. +> Voir également `unix2dos`, `unix2mac`, et `mac2unix`. +> Plus d'informations : . + +- Remplace les fins de lignes d'un fichier : + +`dos2unix {{chemin/vers/fichier}}` + +- Crée une copie avec des fins de lignes de type Unix : + +`dos2unix {{[-n|--newfile]}} {{chemin/vers/fichier}} {{chemin/vers/nouveau_fichier}}` + +- Affiche les informations d'un fichier : + +`dos2unix {{[-i|--info]}} {{chemin/vers/fichier}}` + +- Conserve/Ecrit/Supprime la marque d'ordre des octets (BOM) : + +`dos2unix --{{keep-bom|add-bom|remove-bom}} {{chemin/vers/fichier}}` diff --git a/pages.fr/linux/edit.md b/pages.fr/linux/edit.md new file mode 100644 index 00000000000000..3eedefc17aff80 --- /dev/null +++ b/pages.fr/linux/edit.md @@ -0,0 +1,13 @@ +# edit + +> Un alias à l'action de modification de `run-mailcap`. +> Originellement, `run-mailcap` est utilisé afin de modifier des fichiers mime-type. +> Plus d'informations : . + +- L'action de modification peut être utilisée pour voir n'importe quel fichier dans l'explorateur mailcap par défaut : + +`edit {{fichier}}` + +- Avec `run-mailcap` : + +`run-mailcap --action=edit {{fichier}}` diff --git a/pages.fr/linux/eject.md b/pages.fr/linux/eject.md new file mode 100644 index 00000000000000..82b0c16d5485b2 --- /dev/null +++ b/pages.fr/linux/eject.md @@ -0,0 +1,32 @@ +# eject + +> Éjecte les CD, disquettes et les bandes magnétiques. +> Plus d'informations : . + +- Affiche l'appareil par défaut : + +`eject -d` + +- Éjecte l'appareil par défaut : + +`eject` + +- Éjecte un appareil spécifique (l'ordre par défaut est CD-ROM, SCSI, Disquette puis bande magnétique) : + +`eject {{/dev/cdrom}}` + +- Bascule le support d'appareil en mode ouvert ou fermé : + +`eject -T {{/dev/cdrom}}` + +- Éjecte un CD : + +`eject -r {{/dev/cdrom}}` + +- Éjecte une disquette : + +`eject -f {{/mnt/disquette}}` + +- Éjecte une bande magnétique : + +`eject -q {{/mnt/bande}}` diff --git a/pages.fr/linux/flameshot.md b/pages.fr/linux/flameshot.md index a8cbf642a1b4ff..b821d5fe7df222 100644 --- a/pages.fr/linux/flameshot.md +++ b/pages.fr/linux/flameshot.md @@ -2,24 +2,24 @@ > Outil de capture d'écran avec une interface graphique. > Ajoute du texte, des formes, des couleurs et envoie à imgur. -> Plus d'informations : . +> Plus d'informations : . -- Lancez Flameshot en mode graphique: +- Lancez Flameshot en mode graphique : `flameshot launcher` -- Prenez une capture d'écran en cliquant et en faisant glisser: +- Prenez une capture d'écran en cliquant et en faisant glisser : `flameshot gui` -- Prenez une capture d'écran en plein écran: +- Prenez une capture d'écran en plein écran : `flameshot full` -- Définissez le chemin de sauvegarde: +- Définissez le chemin de sauvegarde : `flameshot full --path {{path/to/directory}}` -- Retardez la capture d'écran de N millisecondes et la sortie dans le presse-papiers: +- Retardez la capture d'écran de N millisecondes et la sortie dans le presse-papiers : `flameshot full --delay {{2000}} --clipboard` diff --git a/pages.fr/linux/ifdown.md b/pages.fr/linux/ifdown.md new file mode 100644 index 00000000000000..3861aa633b579f --- /dev/null +++ b/pages.fr/linux/ifdown.md @@ -0,0 +1,12 @@ +# ifdown + +> Désactive des interfaces réseau. +> Plus d'informations : . + +- Désactive l'interface eth0 : + +`ifdown {{eth0}}` + +- Désactive toutes les interfaces déjà actives : + +`ifdown -a` diff --git a/pages.fr/linux/ifup.md b/pages.fr/linux/ifup.md new file mode 100644 index 00000000000000..2c3594f124610d --- /dev/null +++ b/pages.fr/linux/ifup.md @@ -0,0 +1,12 @@ +# ifup + +> Outil utilisé pour activer des interfaces réseau. +> Plus d'informations : . + +- Active l'interface eth0 : + +`ifup {{eth0}}` + +- Active l'ensemble des interfaces réseau définies dans le fichier `/etc/network/interfaces` : + +`ifup -a` diff --git a/pages.fr/linux/ip-address.md b/pages.fr/linux/ip-address.md new file mode 100644 index 00000000000000..6ad2703462a343 --- /dev/null +++ b/pages.fr/linux/ip-address.md @@ -0,0 +1,28 @@ +# ip address + +> Sous-commande de gestion des adresses IP. +> Plus d'informations : . + +- Liste les interfaces réseau et leurs adresses IP associées : + +`ip {{[a|address]}}` + +- Filtre pour n'afficher que les interfaces réseau actives : + +`ip {{[a|address]}} {{[s|show]}} up` + +- Affiche les informations relatives à une interface réseau spécifique : + +`ip {{[a|address]}} {{[s|show]}} {{eth0}}` + +- Ajoute une adresse IP à une interface réseau : + +`sudo ip {{[a|address]}} {{[a|add]}} {{ip_address}} dev {{eth0}}` + +- Supprimer une adresse réseau d'une interface réseau : + +`sudo ip {{[a|address]}} {{[d|delete]}} {{ip_address}} dev {{eth0}}` + +- Supprime l'ensemble des adresses IP sur une portée donnée (scope) depuis une interface réseau : + +`sudo ip {{[a|address]}} {{[f|flush]}} {{eth0}} scope {{global|host|link}}` diff --git a/pages.fr/linux/ip-route-list.md b/pages.fr/linux/ip-route-list.md new file mode 100644 index 00000000000000..30b9f9333e9ade --- /dev/null +++ b/pages.fr/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Cette commande est un alias de `ip route show`. + +- Voir la documentation de la commande originale : + +`tldr ip route show` diff --git a/pages.fr/linux/ip-route-show.md b/pages.fr/linux/ip-route-show.md new file mode 100644 index 00000000000000..064c6bd0034138 --- /dev/null +++ b/pages.fr/linux/ip-route-show.md @@ -0,0 +1,7 @@ +# ip route show + +> Cette commande est un alias de `ip route list`. + +- Voir la documentation de la commande originale : + +`tldr ip route list` diff --git a/pages.fr/linux/ip.md b/pages.fr/linux/ip.md new file mode 100644 index 00000000000000..c331bbbea7940a --- /dev/null +++ b/pages.fr/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> Affiche / manipule l'adressage, le routage, les interfaces et périphériques réseau, les règles de routage et les tunnels. +> Certaines commandes comme `address` ont leur propre documentation. +> Plus d'informations : . + +- Liste les interfaces avec des infos détaillées : + +`ip {{[a|address]}}` + +- Liste les interfaces sur la couche réseau de façon synthétique : + +`ip {{[-br a|-brief address]}}` + +- Liste les interfaces sur la couche liaison de façon synthétique : + +`ip {{[-br l|-brief link]}}` + +- Affiche la table de routage : + +`ip {{[r|route]}}` + +- Affiche les voisins (table ARP) : + +`ip {{[n|neighbour]}}` + +- Active/Désactive une interface : + +`sudo ip {{[l|link]}} {{[s|set]}} {{interface}} {{up|down}}` + +- Ajoute/Supprime une adresse ip à une interface : + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface}}` + +- Ajoute une route par défaut : + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface}}` diff --git a/pages.fr/linux/iwctl.md b/pages.fr/linux/iwctl.md index a6a72f59064584..eab9577b66a1eb 100644 --- a/pages.fr/linux/iwctl.md +++ b/pages.fr/linux/iwctl.md @@ -1,28 +1,28 @@ # iwctl -> Un outil de ligne de commande pour gèrer iwd. -> Plus d'informations : . +> Un outil de ligne de commande pour gérer iwd. +> Plus d'informations : . -- Lancer le mode interactif, dans ce mode vous pouvez entrer les commandes directement, avec de l'autocompletion: +- Lancer le mode interactif, dans ce mode vous pouvez entrer les commandes directement, avec de l'auto-complétion : `iwctl` -- Avoir l'aide générale: - -`iwctl --help` - -- Afficher vos stations wifi: +- Afficher vos stations wifi : `iwctl station list` -- Lancer la recherche de réseaux avec une station: +- Lancer la recherche de réseaux avec une station : `iwctl station {{station}} scan` -- Afficher les réseaux trouvés par une station: +- Afficher les réseaux trouvés par une station : `iwctl station {{station}} get-networks` -- Se connecter à un réseau avec une station, si des informations de connexion sont nécessaires elles seront démandées: +- Se connecter à un réseau avec une station, si des informations de connexion sont nécessaires elles seront demandées : + +`iwctl station {{station}} connect {{nom_du_réseau}}` + +- Avoir l'aide générale : -`iwctl station {{station}} connect {{network_name}}` +`iwctl {{[-h|--help]}}` diff --git a/pages.fr/linux/kill.md b/pages.fr/linux/kill.md new file mode 100644 index 00000000000000..10957d672cc144 --- /dev/null +++ b/pages.fr/linux/kill.md @@ -0,0 +1,37 @@ +# kill + +> Envoie un signal à un processus, généralement pour l'interrompre. +> Tous les signaux sauf SIGKILL et SIGSTOP peuvent être interceptés par le processus pour pouvoir se terminer proprement. +> Plus d'informations : . + +- Termine un processus avec le signal SIGTERM (terminaison) par défaut : + +`kill {{identifiant_processus}}` + +- Liste les noms des signaux disponibles (à utiliser sans leurs préfixes `SIG`). Les options disponibles peuvent dépendre de l'implémentation de `kill` : + +`kill {{-l|-L|--table}}` + +- Termine une tâche de fond : + +`kill %{{identifiant_tâche}}` + +- Termine un processus avec le signal SIGHUP ("raccrocher"). Beaucoup de daemons se rafraîchissent au lieu de terminer : + +`kill -{{1|HUP}} {{identifiant_processus}}` + +- Termine un processus avec le signal SIGINT ("interruption"). Généralement initié par l'utilisateur appuyant sur `` : + +`kill -{{2|INT}} {{identifiant_processus}}` + +- Demande au système d'exploitation de mettre fin à un processus immédiatement (sans possibilité d'intercepter le signal) : + +`kill -{{9|KILL}} {{identifiant_processus}}` + +- Demande au système d'exploitation de suspendre un processus jusqu'à recevoir le signal SIGCONT ("continue") : + +`kill -{{17|STOP}} {{identifiant_processus}}` + +- Envoie le signal `SIGUSR1` à tous les processus dans le groupe avec l'identifiant indiqué : + +`kill -{{SIGUSR1}} -{{identifiant_groupe}}` diff --git a/pages.fr/linux/login.md b/pages.fr/linux/login.md new file mode 100644 index 00000000000000..e0ebb697b09cbd --- /dev/null +++ b/pages.fr/linux/login.md @@ -0,0 +1,20 @@ +# login + +> Démarre une session pour un utilisateur. +> Plus d'informations : . + +- Démarrer une session en tant qu'utilisateur : + +`login {{utilisateur}}` + +- Démarrer une session en tant qu'utilisateur sans authentification si jamais l'utilisateur est déjà pré-authentifié : + +`login -f {{utilisateur}}` + +- Démarrer une session en tant qu'utilisateur et en préservant l'environnement courant : + +`login -p {{utilisateur}}` + +- Démarrer une session en tant qu'utilisateur sur un hôte distant : + +`login -h {{hote}} {{utilisateur}}` diff --git a/pages.fr/linux/megadl.md b/pages.fr/linux/megadl.md new file mode 100644 index 00000000000000..ae0e5a7e68afbe --- /dev/null +++ b/pages.fr/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Cette commande est un alias de `megatools-dl`. + +- Voir la documentation de la commande originale : + +`tldr megatools-dl` diff --git a/pages.fr/linux/ncal.md b/pages.fr/linux/ncal.md new file mode 100644 index 00000000000000..b6056b3c4922cf --- /dev/null +++ b/pages.fr/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Cette commande est un alias de `cal`. + +- Voir la documentation de la commande originale : + +`tldr cal` diff --git a/pages.fr/linux/pacman-database.md b/pages.fr/linux/pacman-database.md new file mode 100644 index 00000000000000..e0b7d57f70f0f3 --- /dev/null +++ b/pages.fr/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Interagis avec les bases de données des paquets Arch Linux. +> Modifie des attributs des paquets installés. +> Voir aussi: `pacman`. +> Plus d'informations : . + +- Marque un paquet comme étant installé en tant que dépendance : + +`sudo pacman --database --asdeps {{paquet}}` + +- Marque un paquet comme étant explicitement installé : + +`sudo pacman --database --asexplicit {{paquet}}` + +- Vérifie les dépendances de tous les paquets installés : + +`pacman --database --check` + +- Vérifie que toutes les dépendances des paquets installés sont disponibles dans les dépôts : + +`pacman --database --check --check` + +- N'affiche que les messages d'erreur : + +`pacman --database --check --quiet` + +- Affiche l'aide : + +`pacman --database --help` diff --git a/pages.fr/linux/pacman-deptest.md b/pages.fr/linux/pacman-deptest.md new file mode 100644 index 00000000000000..4b631b1dbfbf06 --- /dev/null +++ b/pages.fr/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> Vérifie la satisfaction des dépendances et renvoie celles qui ne le sont pas. +> Voir aussi: `pacman`. +> Plus d'informations : . + +- Affiche les noms des paquets qui ne sont pas installés dans la liste : + +`pacman --deptest {{paquet1 paquet2 ...}}` + +- Vérifie que le paquet installé a une version supérieure ou égale : + +`pacman --deptest "{{bash>=5}}"` + +- Vérifie qu'une version ultérieure du paquet est installée : + +`pacman --deptest "{{bash>5}}"` + +- Affiche l'aide : + +`pacman --deptest --help` diff --git a/pages.fr/linux/pacman-files.md b/pages.fr/linux/pacman-files.md new file mode 100644 index 00000000000000..ffa1b26caaee1c --- /dev/null +++ b/pages.fr/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Interagis avec les bases de données de fichiers. +> Voir aussi: `pacman`, `pkgfile`. +> Plus d'informations : . + +- Mets à jour les bases de données des fichiers : + +`sudo pacman --files --refresh` + +- Trouve les paquets contenant un fichier spécifique : + +`pacman --files {{fichier}}` + +- Trouve les paquets contenant un fichier spécifique en utilisant une expression régulière : + +`pacman --files --regex '{{expression_reguliere}}'` + +- Liste uniquement les noms de paquets : + +`pacman --files --quiet {{fichier}}` + +- Liste les fichiers contenus dans un paquet : + +`pacman --files --list {{paquet}}` + +- Affiche l'aide : + +`pacman --files --help` diff --git a/pages.fr/linux/pacman-key.md b/pages.fr/linux/pacman-key.md new file mode 100644 index 00000000000000..6c0425371408a4 --- /dev/null +++ b/pages.fr/linux/pacman-key.md @@ -0,0 +1,37 @@ +# pacman-key + +> Script enrobeur pour GnuPG utilisé pour gérer le trousseau de clés de pacman. +> Voir aussi: `pacman`. +> Plus d'informations : . + +- Initialise le trousseau de clés de pacman : + +`sudo pacman-key --init` + +- Ajoute les clés par défaut pour Arch Linux : + +`sudo pacman-key --populate {{archlinux}}` + +- Liste les clés publiques du trousseau de clés : + +`pacman-key --list-keys` + +- Ajoute les clés contenues dans le fichier spécifié : + +`sudo pacman-key --add {{chemin/vers/fichier}}` + +- Reçois une clé depuis un serveur de clés : + +`sudo pacman-key --recv-keys "{{uid|nom|email}}"` + +- Affiche l'empreinte d'une clé du trousseau de clés : + +`pacman-key --finger "{{uid|nom|email}}"` + +- Signe, localement, une clé du trousseau de clés : + +`sudo pacman-key --lsign-key "{{uid|nom|email}}"` + +- Supprime une clé : + +`sudo pacman-key --delete "{{uid|nom|email}}"` diff --git a/pages.fr/linux/pacman-mirrors.md b/pages.fr/linux/pacman-mirrors.md new file mode 100644 index 00000000000000..ada7661276863b --- /dev/null +++ b/pages.fr/linux/pacman-mirrors.md @@ -0,0 +1,26 @@ +# pacman-mirrors + +> Génère une liste de miroirs pour pacman sur Manjaro Linux. +> Tout appel à pacman-mirrors demande de synchroniser les bases de données et de mettre à jour le système en exécutant `sudo pacman -Syyu` en suivant. +> Voir aussi: `pacman`. +> Plus d'informations : . + +- Génère une liste de miroirs avec les réglages par défaut : + +`sudo pacman-mirrors --fasttrack` + +- Obtiens le statut des miroirs actuels : + +`pacman-mirrors --status` + +- Affiche la branche courante : + +`pacman-mirrors --get-branch` + +- Utilise une branche différente : + +`sudo pacman-mirrors --api --set-branch {{stable|unstable|testing}}` + +- Génère une liste de miroirs se trouvant dans le pays associé à l'adresse IP : + +`sudo pacman-mirrors --geoip` diff --git a/pages.fr/linux/pacman-query.md b/pages.fr/linux/pacman-query.md new file mode 100644 index 00000000000000..79a3e4c35e5e46 --- /dev/null +++ b/pages.fr/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Fais des requêtes dans la base de données des paquets installés. +> Voir aussi: `pacman`. +> Plus d'informations : . + +- Liste les paquets installés et leur version : + +`pacman --query` + +- Liste uniquement les paquets installés explicitement : + +`pacman --query --explicit` + +- Trouve le paquet propriétaire d'un fichier : + +`pacman --query --owns {{fichier}}` + +- Affiche des informations sur un paquet installé : + +`pacman --query --info {{paquet}}` + +- Liste les fichiers appartenant à un paquet : + +`pacman --query --list {{paquet}}` + +- Liste les paquets orphelins (installés en tant que dépendances mais requis par aucun paquet installé) : + +`pacman --query --unrequired --deps --quiet` + +- Liste les paquets installés ne se trouvant pas dans les dépôts : + +`pacman --query --foreign` + +- Liste les paquets périmés : + +`pacman --query --upgrades` diff --git a/pages.fr/linux/pacman-remove.md b/pages.fr/linux/pacman-remove.md new file mode 100644 index 00000000000000..cc86c7e7eb1e60 --- /dev/null +++ b/pages.fr/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Supprimes des paquets. +> Voir aussi: `pacman`. +> Plus d'informations : . + +- Supprime un paquet et ses dépendances : + +`sudo pacman --remove --recursive {{paquet}}` + +- Supprime un paquet, ses dépendances et ses fichiers de configuration : + +`sudo pacman --remove --recursive --nosave {{paquet}}` + +- Supprime un paquet silencieusement : + +`sudo pacman --remove --noconfirm {{paquet}}` + +- Supprime les paquets orphelins (installés en tant que dépendance mais requis par aucun paquet installé) : + +`sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)` + +- Supprime un paquet et les paquets qui en dépendent : + +`sudo pacman --remove --cascade {{paquet}}` + +- Affiche les paquets qui seraient affectés par la commande sans agir : + +`pacman --remove --print {{paquet}}` + +- Affiche l'aide : + +`pacman --remove --help` diff --git a/pages.fr/linux/pacman-sync.md b/pages.fr/linux/pacman-sync.md new file mode 100644 index 00000000000000..5604c3e2ebd3c6 --- /dev/null +++ b/pages.fr/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Synchronise les paquets. +> Voir aussi: `pacman`. +> Plus d'informations : . + +- Installe un nouveau paquet : + +`sudo pacman --sync {{paquet}}` + +- Synchronise et mettre à jour : + +`sudo pacman --sync --refresh --sysupgrade` + +- Synchronise, mets à jour et installe un paquet sans demander de confirmation : + +`sudo pacman --sync --refresh --sysupgrade --noconfirm {{paquet}}` + +- Recherche un paquet en utilisant un nom ou une expression régulière : + +`pacman --sync --search "{{motif}}"` + +- Affiche des informations sur un paquet : + +`pacman --sync --info {{paquet}}` + +- Ecris par dessus des fichiers pendant une mise à jour : + +`sudo pacman --sync --refresh --sysupgrade --overwrite {{path/to/file}}` + +- Synchronise et mets à jour les paquets, en ignorant un paquet (peut être utilisé plusieurs fois) : + +`sudo pacman --sync --refresh --sysupgrade --ignore {{paquet}}` + +- Supprime les fichiers concernant des paquets non installés et les dépôts supprimés du cache de pacman : + +`sudo pacman --sync --clean` diff --git a/pages.fr/linux/pacman-upgrade.md b/pages.fr/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..4001fad7945e8b --- /dev/null +++ b/pages.fr/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> Mets à jour ou ajoute des paquets au système. +> Voir aussi: `pacman`. +> Plus d'informations : . + +- Installe un ou des paquets depuis le système de fichiers : + +`sudo pacman --upgrade {{chemin/vers/paquet1.pkg.tar.zst}} {{chemin/vers/paquet2.pkg.tar.zst}}` + +- Installe un paquet silencieusement : + +`sudo pacman --upgrade --noconfirm {{chemin/vers/paquet.pkg.tar.zst}}` + +- Ecris par dessus les fichiers en conflit pendant l'installation du paquet : + +`sudo pacman --upgrade --overwrite {{chemin/vers/fichier}} {{chemin/vers/paquet.pkg.tar.zst}}` + +- Installe un paquet sans vérifier les dépendances : + +`sudo pacman --upgrade --nodeps {{chemin/vers/paquet.pkg.tar.zst}}` + +- Affiche ce qui se passerait si la commande était exécutée mais sans agir : + +`pacman --upgrade --print {{chemin/vers/paquet.pkg.tar.zst}}` + +- Affiche l'aide : + +`pacman --upgrade --help` diff --git a/pages.fr/linux/pacman.md b/pages.fr/linux/pacman.md index 69560690293007..a49d674f90beab 100644 --- a/pages.fr/linux/pacman.md +++ b/pages.fr/linux/pacman.md @@ -1,23 +1,24 @@ # pacman > Outil de gestion de paquets sur Arch Linux. -> Plus d'informations : . +> Voir aussi: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Plus d'informations : . - Synchronise et mets à jour tous les paquets : -`pacman -Syu` +`sudo pacman -Syu` - Installe un nouveau paquet : -`pacman -S {{nom_paquet}}` +`sudo pacman -S {{nom_paquet}}` - Efface un paquet et ses dépendances : -`pacman -Rs {{nom_paquet}}` +`sudo pacman -Rs {{nom_paquet}}` -- Recherche dans la base de données des paquets une expression régulière ou mot clé : +- Recherche dans la base de données des paquets contenant un certain fichier : -`pacman -Ss "{{terme_recherche}}"` +`pacman -F "{{nom_fichier}}"` - Liste les paquets installés et leurs versions : @@ -27,10 +28,6 @@ `pacman -Qe` -- Trouve à quel paquet un certain fichier appartient : - -`pacman -Qo {{fichier}}` - - Vide le cache des paquets pour libérer de l'espace : -`pacman -Scc` +`sudo pacman -Scc` diff --git a/pages.fr/linux/reboot.md b/pages.fr/linux/reboot.md new file mode 100644 index 00000000000000..ba49ff20eca1cc --- /dev/null +++ b/pages.fr/linux/reboot.md @@ -0,0 +1,24 @@ +# reboot + +> Redémarre le système. +> Plus d'informations : . + +- Redémarre le système : + +`reboot` + +- Éteint le système (identique à `poweroff`) : + +`reboot {{[-p|--poweroff]}}` + +- Arrête (met fin à tous les processus et arrête le processeur) le système (identique à `halt`) : + +`reboot --halt` + +- Redémarre immédiatement sans contacter le gestionnaire du système : + +`reboot {{[-f|--force]}}` + +- Écrit l'entrée wtmp shutdown sans redémarrer le système : + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.fr/linux/resolvectl.md b/pages.fr/linux/resolvectl.md new file mode 100644 index 00000000000000..6d474693504fb7 --- /dev/null +++ b/pages.fr/linux/resolvectl.md @@ -0,0 +1,37 @@ +# resolvectl + +> Résout les noms de domaine, les adresses IPV4 et IPv6, les enregistrements de ressources DNS et les services. +> Inspecte et reconfigure le résolveur DNS. +> Plus d'informations : . + +- Affiche les paramètres DNS : + +`resolvectl status` + +- Résout les adresses IPv4 et IPv6 pour un ou plusieurs domaines : + +`resolvectl query {{domaine1 domaine2 ...}}` + +- Récupère le domaine d'une IP spécifiée : + +`resolvectl query {{adresse_ip}}` + +- Vide tous les caches DNS locaux : + +`resolvectl flush-caches` + +- Affiche les statistiques DNS (transactions, cache et verdicts DNSSEC) : + +`resolvectl statistics` + +- Récupère un enregistrement MX du domaine : + +`resolvectl --legend={{no}} --type={{MX}} query {{domaine}}` + +- Résout un enregistrement SRV, par exemple _xmpp-server._tcp gmail.com : + +`resolvectl service _{{service}}._{{protocole}} {{nom}}` + +- Récupère une clé TLS : + +`resolvectl tlsa tcp {{domain}}:443` diff --git a/pages.fr/linux/shutdown.md b/pages.fr/linux/shutdown.md new file mode 100644 index 00000000000000..8200fdd58dd65d --- /dev/null +++ b/pages.fr/linux/shutdown.md @@ -0,0 +1,24 @@ +# shutdown + +> Éteint et redémarre le système. +> Plus d'informations : . + +- Éteint (arrête) immédiatement : + +`shutdown -h now` + +- Redémarre immédiatement : + +`shutdown {{[-r|--reboot]}} now` + +- Redémarre dans 5 minutes : + +`shutdown {{[-r|--reboot]}} +{{5}} &` + +- Éteint à 1:00 pm (Utilise un format 24h) : + +`shutdown -h 13:00` + +- Annule une opération d'arrêt ou de redémarrage du système en attente : + +`shutdown -c` diff --git a/pages.fr/linux/sysctl.md b/pages.fr/linux/sysctl.md new file mode 100644 index 00000000000000..7cd3d5c13fefc8 --- /dev/null +++ b/pages.fr/linux/sysctl.md @@ -0,0 +1,24 @@ +# sysctl + +> Liste et modifie les variables d'exécution du noyau. +> Plus d'informations : . + +- Affiche toutes les variables disponibles et leurs valeurs : + +`sysctl -a` + +- Définis une variable d'état modifiable du noyau : + +`sysctl -w {{section.modifiable}}={{valeur}}` + +- Obtiens les gestionnaires de fichiers (handlers) actuellement ouverts : + +`sysctl fs.file-nr` + +- Obtiens la limite de nombre de fichiers ouverts simultanément : + +`sysctl fs.file-max` + +- Applique les changements de `/etc/sysctl.conf` : + +`sysctl -p` diff --git a/pages.fr/linux/systemctl.md b/pages.fr/linux/systemctl.md new file mode 100644 index 00000000000000..aeff963b2c2a0b --- /dev/null +++ b/pages.fr/linux/systemctl.md @@ -0,0 +1,32 @@ +# systemctl + +> Contrôle le système systemd et le gestionnaire de services. +> Plus d'informations : . + +- Liste des unités en échec : + +`systemctl --failed` + +- Démarre/arrête/redémarre/recharge un service : + +`systemctl {{start|stop|restart|reload}} {{unité}}` + +- Affiche le statut d'une unité : + +`systemctl status {{unité}}` + +- Active/désactive une unité à démarrer au démarrage : + +`systemctl {{enable|disable}} {{unité}}` + +- Masque/démasque une unité pour empêcher l'activation et l'activation manuelle : + +`systemctl {{mask|unmask}} {{unité}}` + +- Rechargement de systemd, recherche d'unités nouvelles ou modifiées : + +`systemctl daemon-reload` + +- Vérifie si une unité est activée : + +`systemctl is-enabled {{unité}}` diff --git a/pages.fr/linux/ubuntu-bug.md b/pages.fr/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..91310cf1901ca9 --- /dev/null +++ b/pages.fr/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Cette commande est un alias de `apport-bug`. + +- Voir la documentation de la commande originale : + +`tldr apport-bug` diff --git a/pages.fr/linux/useradd.md b/pages.fr/linux/useradd.md index 64237ec7d69df1..e1be9dc1218db0 100644 --- a/pages.fr/linux/useradd.md +++ b/pages.fr/linux/useradd.md @@ -1,23 +1,33 @@ # useradd > Crée un nouvel utilisateur. +> Voir aussi `users`, `userdel`, `usermod`. +> Plus d'informations : . - Crée un nouvel utilisateur : -`useradd {{nom}}` +`sudo useradd {{nom_utilisateur}}` -- Crée un nouvel utilisateur avec un dossier home par défaut : +- Crée un nouvel utilisateur en spéficiant un identifiant numérique particulier : -`useradd --create-home {{nom}}` +`sudo useradd {{[-u|--uid]}} {{identifiant}} {{nom_utilisateur}}` - Crée un nouvel utilisateur avec le shell spécifié : -`useradd --shell {{/chemin/vers/shell}} {{nom}}` +`sudo useradd {{[-s|--shell]}} {{chemin/vers/shell}} {{nom_utilisateur}}` - Crée un nouvel utilisateur qui appartient aux groupes supplémentaires (attention à l'omission des espaces) : -`useradd --groups {{groupe1,groupe2}} {{nom}}` +`sudo useradd {{[-G|--groups]}} {{groupe1,groupe2,...}} {{nom_utilisateur}}` -- Crée un nouvel utilisateur sans un dossier home : +- Crée un nouvel utilisateur avec le répertoire personnel par défaut : -`useradd --no-create-home --system {{nom}}` +`sudo useradd {{[-m|--create-home]}} {{nom_utilisateur}}` + +- Crée un nouvel utilisateur avec un répertoire personnel rempli par les fichiers et répertoires d'un répertoire squelette : + +`sudo useradd {{[-k|--skel]}} {{chemin/vers/repertoire_squelette}} {{[-m|--create-home]}} {{nom_utilisateur}}` + +- Crée un nouvel utilisateur système sans répertoire personnel : + +`sudo useradd {{[-r|--system]}} {{nom_utilisateur}}` diff --git a/pages.fr/linux/userdel.md b/pages.fr/linux/userdel.md index 48bb87966e0b59..0c7fd3fda4e5ae 100644 --- a/pages.fr/linux/userdel.md +++ b/pages.fr/linux/userdel.md @@ -1,7 +1,17 @@ # userdel -> Efface un utilisateur. +> Supprime un compte utilisateur ou supprime un utilisateur d'un groupe. +> Voir aussi `users`, `useradd`, `usermod`. +> Plus d'informations : . -- Efface un utilisateur et son dossier home : +- Supprime un utilisateur : -`userdel -r {{nom}}` +`sudo userdel {{nom_utilisateur}}` + +- Supprime un utilisateur dans un autre répertoire racine : + +`sudo userdel {{[-R|--root]}} {{chemin/vers/autre_racine}} {{nom_utilisateur}}` + +- Supprime un utilisateur, son répertoire personnel ainsi que son répertoire d'attente des courriels : + +`sudo userdel {{[-r|--remove]}} {{nom_utilisateur}}` diff --git a/pages.fr/linux/usermod.md b/pages.fr/linux/usermod.md index a8ab2bfc056031..602fbeea3d43b7 100644 --- a/pages.fr/linux/usermod.md +++ b/pages.fr/linux/usermod.md @@ -1,15 +1,25 @@ # usermod -> Modifie un compte utilisateur. +> Modifie le compte d'un utilisateur. +> Voir aussi `users`, `useradd`, `userdel`. +> Plus d'informations : . - Change le nom d'un utilisateur : -`usermod -l {{nouveau_nom}} {{utilisateur}}` +`sudo usermod {{[-l|--login]}} {{nouveau_nom}} {{nom_utilisateur}}` -- Ajoute l'utilisateur à des groupes supplementaires (attention à l'omission d'espaces) : +- Modifie l'identifiant numérique d'un utilisateur : -`usermod -a -G {{groupe1,groupe2}} {{utilisateur}}` +`sudo usermod {{[-u|--uid]}} {{identifiant}} {{nom_utilisateur}}` -- Crée un nouveau dossier home pour un utilisateur et déplace ses fichiers vers celui-ci : +- Change le shell d'un utilisateur : -`usermod -m -d {{/chemin/vers/home}} {{utilisateur}}` +`sudo usermod {{[-s|--shell]}} {{chemin/vers/shell}} {{nom_utilisateur}}` + +- Ajoute l'utilisateur à des groupes supplémentaires (attention à l'omission d'espaces) : + +`sudo usermod {{[-a|--append]}} {{[-G|--groups]}} {{groupe1,groupe2,...}} {{nom_utilisateur}}` + +- Change le répertoire personnel d'un utilisateur et déplace ses fichiers vers celui-ci : + +`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{chemin/vers/nouveau_répertoire}} {{nom_utilisateur}}` diff --git a/pages.fr/linux/wg.md b/pages.fr/linux/wg.md new file mode 100644 index 00000000000000..392226afd679fd --- /dev/null +++ b/pages.fr/linux/wg.md @@ -0,0 +1,24 @@ +# wg + +> Gestion de la configuration des interfaces WireGuard. +> Plus d'informations : . + +- Vérifier l'état des interfaces actuellement actives : + +`sudo wg` + +- Générer une clé privée : + +`wg genkey` + +- Générer une clé publique à partir d'une clé privée : + +`wg pubkey < {{chemin/vers/clé_privée}} > {{chemin/vers/clé_publique}}` + +- Générer une clé publique et privée : + +`wg genkey | tee {{chemin/vers/clé_privée}} | wg pubkey > {{chemin/vers/clé_publique}}` + +- Afficher la configuration actuelle d'une interface wireguard : + +`sudo wg showconf {{wg0}}` diff --git a/pages.fr/linux/xbacklight.md b/pages.fr/linux/xbacklight.md index 3262bfe2219801..33bc6a11dd109b 100644 --- a/pages.fr/linux/xbacklight.md +++ b/pages.fr/linux/xbacklight.md @@ -1,7 +1,7 @@ # xbacklight > Outil pour ajuster la luminosité du rétroéclairage en utilisant l'extension RandR. -> Plus d'informations : . +> Plus d'informations : . - Obtient le niveau de luminosité de l'écran actuel comme un pourcentage : diff --git a/pages.fr/linux/xclip.md b/pages.fr/linux/xclip.md index e5646d62c43e65..364415758c5320 100644 --- a/pages.fr/linux/xclip.md +++ b/pages.fr/linux/xclip.md @@ -1,7 +1,8 @@ # xclip > Outil de manipulation de presse-papiers X11, semblable à `xsel`. -> Gère les selections primaires et secondaires de X, en plus du presse-papier système (`Ctrl + C`/`Ctrl + V`). +> Gère les sélections primaires et secondaires de X, en plus du presse-papier système (``/``). +> Plus d'informations : . - Copie la sortie d'une commande vers la zone de sélection primaire de X11 (presse-papiers) : @@ -23,14 +24,10 @@ `xclip -sel clip -t image/png {{fichier_entrée.png}}` -- Colle le contenu de la zone de selection de X11 à la console : +- Colle le contenu de la zone de sélection de X11 à la console : `xclip -o` - Colle le contenu du presse-papier système à la console : `xclip -o -sel clip` - -- Colle le contenu du presse-papier système à un fichier : - -`xclip -o -sel clip > {{fichier_sortie.txt}}` diff --git a/pages.fr/linux/xsel.md b/pages.fr/linux/xsel.md new file mode 100644 index 00000000000000..1ade7bd087fc1e --- /dev/null +++ b/pages.fr/linux/xsel.md @@ -0,0 +1,28 @@ +# xsel + +> Outil de sélection et de manipulation du presse-papiers X11. +> Plus d'informations : . + +- Utilise la sortie d'une commande comme entrée du presse-papiers (équivalent de ``) : + +`echo 123 | xsel -ib` + +- Utilise le contenu d'un fichier comme entrée du presse-papiers : + +`cat {{fichier}} | xsel -ib` + +- Affiche le contenu du presse-papiers dans le terminal (équivalent à ``) : + +`xsel -ob` + +- Sortie du contenu du presse-papiers dans un fichier : + +`xsel -ob > {{fichier}}` + +- Efface le presse-papiers : + +`xsel -cb` + +- Affiche le contenu de la sélection primaire X11 dans le terminal (équivalent à ``) : + +`xsel -op` diff --git a/pages.fr/linux/yay.md b/pages.fr/linux/yay.md index 79e5118d839ff3..89d5283a2876b1 100644 --- a/pages.fr/linux/yay.md +++ b/pages.fr/linux/yay.md @@ -1,21 +1,22 @@ # yay -> Yet Another Yogurt: Un outil pour Arch Linux pour construire et installer des paquets depuis le Arch User Repository. +> Yet Another Yogurt : Un outil pour Arch Linux pour construire et installer des paquets depuis le Arch User Repository. > À regarder : `pacman`. +> Plus d'informations : . - Recherche interactivement et installe des paquets depuis les dépôts et l'AUR : `yay {{nom_paquet|terme_recherche}}` -- Synchronise et mets à jour tous les paquets depuis les dépôts et l'AUR : +- Synchronise et met à jour tous les paquets depuis les dépôts et l'AUR : `yay` -- Synchronise et mets à jour seulement les paquets de l'AUR : +- Synchronise et met à jour seulement les paquets de l'AUR : `yay -Sua` -- Installe un nouveu paquet depuis les dépôts et l'AUR : +- Installe un nouveau paquet depuis les dépôts et l'AUR : `yay -S {{nom_paquet}}` diff --git a/pages.fr/linux/yes.md b/pages.fr/linux/yes.md deleted file mode 100644 index b345df0487e8c4..00000000000000 --- a/pages.fr/linux/yes.md +++ /dev/null @@ -1,16 +0,0 @@ -# yes - -> Envoie un message à répétition en sortie console. -> Cette commande est souvent utilisée pour éviter de devoir accepter des opérations successives (par exemple des installations via la commande `apt-get`). - -- Envoyer « message » à répétition : - -`yes {{message}}` - -- Envoyer « y » à répétition : - -`yes` - -- Répondre « oui » à toutes les questions posées par la commande `apt-get` : - -`yes | sudo apt-get install {{program}}` diff --git a/pages.fr/linux/zypper.md b/pages.fr/linux/zypper.md new file mode 100644 index 00000000000000..70afa7c9516c4a --- /dev/null +++ b/pages.fr/linux/zypper.md @@ -0,0 +1,28 @@ +# zypper + +> SUSE & openSUSE utilitaire de gestion de paquets. +> Plus d'informations : . + +- Synchroniser la liste des paquets et versions disponibles : + +`zypper refresh` + +- Installer un nouveau paquet : + +`zypper install {{paquet}}` + +- Supprimer un paquet : + +`zypper remove {{paquet}}` + +- Mettre à jour un paquet installé vers la version la plus récente disponible : + +`zypper update` + +- Chercher un paquet par mot clef : + +`zypper search {{mot_clef}}` + +- Afficher les informations concernant les dépôts de paquets configurés : + +`zypper repos --sort-by-priority` diff --git a/pages.fr/netbsd/chsh.md b/pages.fr/netbsd/chsh.md new file mode 100644 index 00000000000000..4d1e8e920ee6dc --- /dev/null +++ b/pages.fr/netbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Cette commande est un alias de `chpass`. + +- Affiche la documentation pour la commande d'origine : + +`tldr chpass` diff --git a/pages.fr/openbsd/chsh.md b/pages.fr/openbsd/chsh.md new file mode 100644 index 00000000000000..4d1e8e920ee6dc --- /dev/null +++ b/pages.fr/openbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Cette commande est un alias de `chpass`. + +- Affiche la documentation pour la commande d'origine : + +`tldr chpass` diff --git a/pages.fr/osx/aa.md b/pages.fr/osx/aa.md new file mode 100644 index 00000000000000..453074d3e432f8 --- /dev/null +++ b/pages.fr/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Cette commande est un alias de `yaa`. + +- Voir la documentation de la commande originale : + +`tldr yaa` diff --git a/pages.fr/osx/g[.md b/pages.fr/osx/g[.md new file mode 100644 index 00000000000000..994f37884a9915 --- /dev/null +++ b/pages.fr/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Cette commande est un alias de `[`. + +- Voir la documentation de la commande originale : + +`tldr [` diff --git a/pages.fr/osx/gb2sum.md b/pages.fr/osx/gb2sum.md new file mode 100644 index 00000000000000..af26ea311fb11b --- /dev/null +++ b/pages.fr/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Cette commande est un alias de `b2sum`. + +- Voir la documentation de la commande originale : + +`tldr b2sum` diff --git a/pages.fr/osx/gbase32.md b/pages.fr/osx/gbase32.md new file mode 100644 index 00000000000000..ef95d86e2b2a26 --- /dev/null +++ b/pages.fr/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Cette commande est un alias de `base32`. + +- Voir la documentation de la commande originale : + +`tldr base32` diff --git a/pages.fr/osx/gbase64.md b/pages.fr/osx/gbase64.md new file mode 100644 index 00000000000000..b57de01086ab0c --- /dev/null +++ b/pages.fr/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Cette commande est un alias de `base64`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.fr/osx/gbasename.md b/pages.fr/osx/gbasename.md new file mode 100644 index 00000000000000..8a175e42934cef --- /dev/null +++ b/pages.fr/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Cette commande est un alias de `basename`. + +- Voir la documentation de la commande originale : + +`tldr basename` diff --git a/pages.fr/osx/gbasenc.md b/pages.fr/osx/gbasenc.md new file mode 100644 index 00000000000000..e5bb55d23857b4 --- /dev/null +++ b/pages.fr/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Cette commande est un alias de `basenc`. + +- Voir la documentation de la commande originale : + +`tldr basenc` diff --git a/pages.fr/osx/gcat.md b/pages.fr/osx/gcat.md new file mode 100644 index 00000000000000..49ac065665a6d3 --- /dev/null +++ b/pages.fr/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Cette commande est un alias de `-p linux cat`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.fr/osx/gchcon.md b/pages.fr/osx/gchcon.md new file mode 100644 index 00000000000000..d1a91e15f7813f --- /dev/null +++ b/pages.fr/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Cette commande est un alias de `-p linux chcon`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.fr/osx/gchgrp.md b/pages.fr/osx/gchgrp.md new file mode 100644 index 00000000000000..2791d8680ab24d --- /dev/null +++ b/pages.fr/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Cette commande est un alias de `chgrp`. + +- Voir la documentation de la commande originale : + +`tldr chgrp` diff --git a/pages.fr/osx/gchmod.md b/pages.fr/osx/gchmod.md new file mode 100644 index 00000000000000..6e986a66ef4ce1 --- /dev/null +++ b/pages.fr/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Cette commande est un alias de `chmod`. + +- Voir la documentation de la commande originale : + +`tldr chmod` diff --git a/pages.fr/osx/gchown.md b/pages.fr/osx/gchown.md new file mode 100644 index 00000000000000..628274cfbc0fc5 --- /dev/null +++ b/pages.fr/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Cette commande est un alias de `chown`. + +- Voir la documentation de la commande originale : + +`tldr chown` diff --git a/pages.fr/osx/gchroot.md b/pages.fr/osx/gchroot.md new file mode 100644 index 00000000000000..2e9364dc972188 --- /dev/null +++ b/pages.fr/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Cette commande est un alias de `chroot`. + +- Voir la documentation de la commande originale : + +`tldr chroot` diff --git a/pages.fr/osx/gcksum.md b/pages.fr/osx/gcksum.md new file mode 100644 index 00000000000000..085afeaad377f7 --- /dev/null +++ b/pages.fr/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Cette commande est un alias de `cksum`. + +- Voir la documentation de la commande originale : + +`tldr cksum` diff --git a/pages.fr/osx/gcomm.md b/pages.fr/osx/gcomm.md new file mode 100644 index 00000000000000..07eb3ac873197b --- /dev/null +++ b/pages.fr/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Cette commande est un alias de `comm`. + +- Voir la documentation de la commande originale : + +`tldr comm` diff --git a/pages.fr/osx/gcp.md b/pages.fr/osx/gcp.md new file mode 100644 index 00000000000000..82945d3106e913 --- /dev/null +++ b/pages.fr/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Cette commande est un alias de `cp`. + +- Voir la documentation de la commande originale : + +`tldr cp` diff --git a/pages.fr/osx/gcsplit.md b/pages.fr/osx/gcsplit.md new file mode 100644 index 00000000000000..84c84d10c91c04 --- /dev/null +++ b/pages.fr/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Cette commande est un alias de `-p linux csplit`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.fr/osx/gcut.md b/pages.fr/osx/gcut.md new file mode 100644 index 00000000000000..769118837aa632 --- /dev/null +++ b/pages.fr/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Cette commande est un alias de `cut`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.fr/osx/gdate.md b/pages.fr/osx/gdate.md new file mode 100644 index 00000000000000..a17948125bb880 --- /dev/null +++ b/pages.fr/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Cette commande est un alias de `date`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.fr/osx/gdd.md b/pages.fr/osx/gdd.md new file mode 100644 index 00000000000000..a8c58e1548fc63 --- /dev/null +++ b/pages.fr/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Cette commande est un alias de `-p linux dd`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.fr/osx/gdf.md b/pages.fr/osx/gdf.md new file mode 100644 index 00000000000000..2ea2baaaf3c793 --- /dev/null +++ b/pages.fr/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Cette commande est un alias de `-p linux df`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.fr/osx/gdir.md b/pages.fr/osx/gdir.md new file mode 100644 index 00000000000000..4361354b12f914 --- /dev/null +++ b/pages.fr/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Cette commande est un alias de `-p linux dir`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.fr/osx/gdircolors.md b/pages.fr/osx/gdircolors.md new file mode 100644 index 00000000000000..e1f97c04cc337b --- /dev/null +++ b/pages.fr/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Cette commande est un alias de `dircolors`. + +- Voir la documentation de la commande originale : + +`tldr dircolors` diff --git a/pages.fr/osx/gdirname.md b/pages.fr/osx/gdirname.md new file mode 100644 index 00000000000000..4e0ff9b8ffd910 --- /dev/null +++ b/pages.fr/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Cette commande est un alias de `dirname`. + +- Voir la documentation de la commande originale : + +`tldr dirname` diff --git a/pages.fr/osx/gdnsdomainname.md b/pages.fr/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..89db242ef0763c --- /dev/null +++ b/pages.fr/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Cette commande est un alias de `-p linux dnsdomainname`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.fr/osx/gecho.md b/pages.fr/osx/gecho.md new file mode 100644 index 00000000000000..1acfa4a948eb0d --- /dev/null +++ b/pages.fr/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Cette commande est un alias de `echo`. + +- Voir la documentation de la commande originale : + +`tldr echo` diff --git a/pages.fr/osx/ged.md b/pages.fr/osx/ged.md new file mode 100644 index 00000000000000..e001d768a3e42e --- /dev/null +++ b/pages.fr/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Cette commande est un alias de `ed`. + +- Voir la documentation de la commande originale : + +`tldr ed` diff --git a/pages.fr/osx/gegrep.md b/pages.fr/osx/gegrep.md new file mode 100644 index 00000000000000..8570fbcb8d793d --- /dev/null +++ b/pages.fr/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Cette commande est un alias de `egrep`. + +- Voir la documentation de la commande originale : + +`tldr egrep` diff --git a/pages.fr/osx/genv.md b/pages.fr/osx/genv.md new file mode 100644 index 00000000000000..8a6c2910039b5a --- /dev/null +++ b/pages.fr/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Cette commande est un alias de `env`. + +- Voir la documentation de la commande originale : + +`tldr env` diff --git a/pages.fr/osx/gexpand.md b/pages.fr/osx/gexpand.md new file mode 100644 index 00000000000000..8dcabdfd075e1b --- /dev/null +++ b/pages.fr/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Cette commande est un alias de `expand`. + +- Voir la documentation de la commande originale : + +`tldr expand` diff --git a/pages.fr/osx/gexpr.md b/pages.fr/osx/gexpr.md new file mode 100644 index 00000000000000..08871bebbeb5b4 --- /dev/null +++ b/pages.fr/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Cette commande est un alias de `expr`. + +- Voir la documentation de la commande originale : + +`tldr expr` diff --git a/pages.fr/osx/gfactor.md b/pages.fr/osx/gfactor.md new file mode 100644 index 00000000000000..cfa01beffc7ba7 --- /dev/null +++ b/pages.fr/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Cette commande est un alias de `factor`. + +- Voir la documentation de la commande originale : + +`tldr factor` diff --git a/pages.fr/osx/gfalse.md b/pages.fr/osx/gfalse.md new file mode 100644 index 00000000000000..2ba02f86b6e8ed --- /dev/null +++ b/pages.fr/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Cette commande est un alias de `false`. + +- Voir la documentation de la commande originale : + +`tldr false` diff --git a/pages.fr/osx/gfgrep.md b/pages.fr/osx/gfgrep.md new file mode 100644 index 00000000000000..b85c7d0c3f8545 --- /dev/null +++ b/pages.fr/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Cette commande est un alias de `fgrep`. + +- Voir la documentation de la commande originale : + +`tldr fgrep` diff --git a/pages.fr/osx/gfind.md b/pages.fr/osx/gfind.md new file mode 100644 index 00000000000000..7a999a0ca7f836 --- /dev/null +++ b/pages.fr/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Cette commande est un alias de `find`. + +- Voir la documentation de la commande originale : + +`tldr find` diff --git a/pages.fr/osx/gfmt.md b/pages.fr/osx/gfmt.md new file mode 100644 index 00000000000000..984c5c805d7ad9 --- /dev/null +++ b/pages.fr/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Cette commande est un alias de `fmt`. + +- Voir la documentation de la commande originale : + +`tldr fmt` diff --git a/pages.fr/osx/gfold.md b/pages.fr/osx/gfold.md new file mode 100644 index 00000000000000..817b9fb1724db7 --- /dev/null +++ b/pages.fr/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Cette commande est un alias de `-p linux fold`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.fr/osx/gftp.md b/pages.fr/osx/gftp.md new file mode 100644 index 00000000000000..ca62519255f143 --- /dev/null +++ b/pages.fr/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Cette commande est un alias de `ftp`. + +- Voir la documentation de la commande originale : + +`tldr ftp` diff --git a/pages.fr/osx/ggrep.md b/pages.fr/osx/ggrep.md new file mode 100644 index 00000000000000..713d8705248915 --- /dev/null +++ b/pages.fr/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Cette commande est un alias de `grep`. + +- Voir la documentation de la commande originale : + +`tldr grep` diff --git a/pages.fr/osx/ggroups.md b/pages.fr/osx/ggroups.md new file mode 100644 index 00000000000000..cf3b328bb3d67f --- /dev/null +++ b/pages.fr/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Cette commande est un alias de `groups`. + +- Voir la documentation de la commande originale : + +`tldr groups` diff --git a/pages.fr/osx/ghead.md b/pages.fr/osx/ghead.md new file mode 100644 index 00000000000000..8e01034409e9ef --- /dev/null +++ b/pages.fr/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Cette commande est un alias de `-p linux head`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.fr/osx/ghostid.md b/pages.fr/osx/ghostid.md new file mode 100644 index 00000000000000..7b821f8e7a98bb --- /dev/null +++ b/pages.fr/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Cette commande est un alias de `hostid`. + +- Voir la documentation de la commande originale : + +`tldr hostid` diff --git a/pages.fr/osx/ghostname.md b/pages.fr/osx/ghostname.md new file mode 100644 index 00000000000000..f9d6cf63f5013f --- /dev/null +++ b/pages.fr/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Cette commande est un alias de `hostname`. + +- Voir la documentation de la commande originale : + +`tldr hostname` diff --git a/pages.fr/osx/gid.md b/pages.fr/osx/gid.md new file mode 100644 index 00000000000000..6e41716f49bd7e --- /dev/null +++ b/pages.fr/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Cette commande est un alias de `id`. + +- Voir la documentation de la commande originale : + +`tldr id` diff --git a/pages.fr/osx/gifconfig.md b/pages.fr/osx/gifconfig.md new file mode 100644 index 00000000000000..92e55b98ec4f69 --- /dev/null +++ b/pages.fr/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Cette commande est un alias de `ifconfig`. + +- Voir la documentation de la commande originale : + +`tldr ifconfig` diff --git a/pages.fr/osx/gindent.md b/pages.fr/osx/gindent.md new file mode 100644 index 00000000000000..e5e37aff8ff674 --- /dev/null +++ b/pages.fr/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Cette commande est un alias de `indent`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.fr/osx/ginstall.md b/pages.fr/osx/ginstall.md new file mode 100644 index 00000000000000..fad53daabbbc31 --- /dev/null +++ b/pages.fr/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Cette commande est un alias de `install`. + +- Voir la documentation de la commande originale : + +`tldr install` diff --git a/pages.fr/osx/gjoin.md b/pages.fr/osx/gjoin.md new file mode 100644 index 00000000000000..14d50de196954d --- /dev/null +++ b/pages.fr/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Cette commande est un alias de `join`. + +- Voir la documentation de la commande originale : + +`tldr join` diff --git a/pages.fr/osx/gkill.md b/pages.fr/osx/gkill.md new file mode 100644 index 00000000000000..e7a28608438ccb --- /dev/null +++ b/pages.fr/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Cette commande est un alias de `-p linux kill`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.fr/osx/glibtool.md b/pages.fr/osx/glibtool.md new file mode 100644 index 00000000000000..f34b29a3d471e8 --- /dev/null +++ b/pages.fr/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Cette commande est un alias de `-p linux libtool`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.fr/osx/glibtoolize.md b/pages.fr/osx/glibtoolize.md new file mode 100644 index 00000000000000..e20278d834b10c --- /dev/null +++ b/pages.fr/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Cette commande est un alias de `-p linux libtoolize`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.fr/osx/glink.md b/pages.fr/osx/glink.md new file mode 100644 index 00000000000000..c64bdfb8eb6ce3 --- /dev/null +++ b/pages.fr/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Cette commande est un alias de `link`. + +- Voir la documentation de la commande originale : + +`tldr link` diff --git a/pages.fr/osx/gln.md b/pages.fr/osx/gln.md new file mode 100644 index 00000000000000..50323cea5fca3a --- /dev/null +++ b/pages.fr/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Cette commande est un alias de `ln`. + +- Voir la documentation de la commande originale : + +`tldr ln` diff --git a/pages.fr/osx/glocate.md b/pages.fr/osx/glocate.md new file mode 100644 index 00000000000000..3902a107a34b5f --- /dev/null +++ b/pages.fr/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Cette commande est un alias de `-p linux locate`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.fr/osx/glogger.md b/pages.fr/osx/glogger.md new file mode 100644 index 00000000000000..b87a0fef75ea1f --- /dev/null +++ b/pages.fr/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Cette commande est un alias de `-p linux logger`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.fr/osx/glogname.md b/pages.fr/osx/glogname.md new file mode 100644 index 00000000000000..f79e799b18b806 --- /dev/null +++ b/pages.fr/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Cette commande est un alias de `logname`. + +- Voir la documentation de la commande originale : + +`tldr logname` diff --git a/pages.fr/osx/gls.md b/pages.fr/osx/gls.md new file mode 100644 index 00000000000000..cc4b9b6c1b9ef9 --- /dev/null +++ b/pages.fr/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Cette commande est un alias de `ls`. + +- Voir la documentation de la commande originale : + +`tldr ls` diff --git a/pages.fr/osx/gmake.md b/pages.fr/osx/gmake.md new file mode 100644 index 00000000000000..e084f23223b666 --- /dev/null +++ b/pages.fr/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Cette commande est un alias de `make`. + +- Voir la documentation de la commande originale : + +`tldr make` diff --git a/pages.fr/osx/gmd5sum.md b/pages.fr/osx/gmd5sum.md new file mode 100644 index 00000000000000..376ffa86ff95fe --- /dev/null +++ b/pages.fr/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Cette commande est un alias de `md5sum`. + +- Voir la documentation de la commande originale : + +`tldr md5sum` diff --git a/pages.fr/osx/gmkdir.md b/pages.fr/osx/gmkdir.md new file mode 100644 index 00000000000000..277610e34d64cb --- /dev/null +++ b/pages.fr/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Cette commande est un alias de `mkdir`. + +- Voir la documentation de la commande originale : + +`tldr mkdir` diff --git a/pages.fr/osx/gmkfifo.md b/pages.fr/osx/gmkfifo.md new file mode 100644 index 00000000000000..7b3acc56f4758e --- /dev/null +++ b/pages.fr/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Cette commande est un alias de `mkfifo`. + +- Voir la documentation de la commande originale : + +`tldr mkfifo` diff --git a/pages.fr/osx/gmknod.md b/pages.fr/osx/gmknod.md new file mode 100644 index 00000000000000..d961b89347c402 --- /dev/null +++ b/pages.fr/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Cette commande est un alias de `-p linux mknod`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.fr/osx/gmktemp.md b/pages.fr/osx/gmktemp.md new file mode 100644 index 00000000000000..0acb74abe40d52 --- /dev/null +++ b/pages.fr/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Cette commande est un alias de `-p linux mktemp`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.fr/osx/gmv.md b/pages.fr/osx/gmv.md new file mode 100644 index 00000000000000..be0d733c8b298f --- /dev/null +++ b/pages.fr/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Cette commande est un alias de `mv`. + +- Voir la documentation de la commande originale : + +`tldr mv` diff --git a/pages.fr/osx/gnice.md b/pages.fr/osx/gnice.md new file mode 100644 index 00000000000000..544711802e1f36 --- /dev/null +++ b/pages.fr/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Cette commande est un alias de `nice`. + +- Voir la documentation de la commande originale : + +`tldr nice` diff --git a/pages.fr/osx/gnl.md b/pages.fr/osx/gnl.md new file mode 100644 index 00000000000000..8aa8dc5637c5f6 --- /dev/null +++ b/pages.fr/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Cette commande est un alias de `-p linux nl`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.fr/osx/gnohup.md b/pages.fr/osx/gnohup.md new file mode 100644 index 00000000000000..99d72e1d9e796c --- /dev/null +++ b/pages.fr/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Cette commande est un alias de `nohup`. + +- Voir la documentation de la commande originale : + +`tldr nohup` diff --git a/pages.fr/osx/gnproc.md b/pages.fr/osx/gnproc.md new file mode 100644 index 00000000000000..86dbc68019470a --- /dev/null +++ b/pages.fr/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Cette commande est un alias de `nproc`. + +- Voir la documentation de la commande originale : + +`tldr nproc` diff --git a/pages.fr/osx/gnumfmt.md b/pages.fr/osx/gnumfmt.md new file mode 100644 index 00000000000000..0d50d5e5f0c9b4 --- /dev/null +++ b/pages.fr/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Cette commande est un alias de `numfmt`. + +- Voir la documentation de la commande originale : + +`tldr numfmt` diff --git a/pages.fr/osx/god.md b/pages.fr/osx/god.md new file mode 100644 index 00000000000000..2048b2af32d405 --- /dev/null +++ b/pages.fr/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Cette commande est un alias de `od`. + +- Voir la documentation de la commande originale : + +`tldr od` diff --git a/pages.fr/osx/gpaste.md b/pages.fr/osx/gpaste.md new file mode 100644 index 00000000000000..b1112b7be1769c --- /dev/null +++ b/pages.fr/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Cette commande est un alias de `paste`. + +- Voir la documentation de la commande originale : + +`tldr paste` diff --git a/pages.fr/osx/gpathchk.md b/pages.fr/osx/gpathchk.md new file mode 100644 index 00000000000000..116faeac47578b --- /dev/null +++ b/pages.fr/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Cette commande est un alias de `pathchk`. + +- Voir la documentation de la commande originale : + +`tldr pathchk` diff --git a/pages.fr/osx/gping.md b/pages.fr/osx/gping.md new file mode 100644 index 00000000000000..0d98ce4646c5e9 --- /dev/null +++ b/pages.fr/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Cette commande est un alias de `ping`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.fr/osx/gping6.md b/pages.fr/osx/gping6.md new file mode 100644 index 00000000000000..82a6faf4602d28 --- /dev/null +++ b/pages.fr/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Cette commande est un alias de `ping6`. + +- Voir la documentation de la commande originale : + +`tldr ping6` diff --git a/pages.fr/osx/gpinky.md b/pages.fr/osx/gpinky.md new file mode 100644 index 00000000000000..b29ecfb2621392 --- /dev/null +++ b/pages.fr/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Cette commande est un alias de `pinky`. + +- Voir la documentation de la commande originale : + +`tldr pinky` diff --git a/pages.fr/osx/gpr.md b/pages.fr/osx/gpr.md new file mode 100644 index 00000000000000..98d8eade15177d --- /dev/null +++ b/pages.fr/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Cette commande est un alias de `pr`. + +- Voir la documentation de la commande originale : + +`tldr pr` diff --git a/pages.fr/osx/gprintenv.md b/pages.fr/osx/gprintenv.md new file mode 100644 index 00000000000000..9d5d2a9814f56a --- /dev/null +++ b/pages.fr/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Cette commande est un alias de `printenv`. + +- Voir la documentation de la commande originale : + +`tldr printenv` diff --git a/pages.fr/osx/gprintf.md b/pages.fr/osx/gprintf.md new file mode 100644 index 00000000000000..0fda68e63aeb87 --- /dev/null +++ b/pages.fr/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Cette commande est un alias de `printf`. + +- Voir la documentation de la commande originale : + +`tldr printf` diff --git a/pages.fr/osx/gptx.md b/pages.fr/osx/gptx.md new file mode 100644 index 00000000000000..8babec0084e914 --- /dev/null +++ b/pages.fr/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Cette commande est un alias de `-p linux ptx`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.fr/osx/gpwd.md b/pages.fr/osx/gpwd.md new file mode 100644 index 00000000000000..d6edc096b118c9 --- /dev/null +++ b/pages.fr/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Cette commande est un alias de `pwd`. + +- Voir la documentation de la commande originale : + +`tldr pwd` diff --git a/pages.fr/osx/grcp.md b/pages.fr/osx/grcp.md new file mode 100644 index 00000000000000..2d96171d2d9a4e --- /dev/null +++ b/pages.fr/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Cette commande est un alias de `-p linux rcp`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.fr/osx/greadlink.md b/pages.fr/osx/greadlink.md new file mode 100644 index 00000000000000..2880c03c1c78f2 --- /dev/null +++ b/pages.fr/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Cette commande est un alias de `readlink`. + +- Voir la documentation de la commande originale : + +`tldr readlink` diff --git a/pages.fr/osx/grealpath.md b/pages.fr/osx/grealpath.md new file mode 100644 index 00000000000000..d0b9efe244cc1c --- /dev/null +++ b/pages.fr/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Cette commande est un alias de `realpath`. + +- Voir la documentation de la commande originale : + +`tldr realpath` diff --git a/pages.fr/osx/grexec.md b/pages.fr/osx/grexec.md new file mode 100644 index 00000000000000..b8f7c9bb418e7d --- /dev/null +++ b/pages.fr/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Cette commande est un alias de `-p linux rexec`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.fr/osx/grlogin.md b/pages.fr/osx/grlogin.md new file mode 100644 index 00000000000000..ae399da100133a --- /dev/null +++ b/pages.fr/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Cette commande est un alias de `-p linux rlogin`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.fr/osx/grm.md b/pages.fr/osx/grm.md new file mode 100644 index 00000000000000..b949518b9e57c9 --- /dev/null +++ b/pages.fr/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Cette commande est un alias de `rm`. + +- Voir la documentation de la commande originale : + +`tldr rm` diff --git a/pages.fr/osx/grmdir.md b/pages.fr/osx/grmdir.md new file mode 100644 index 00000000000000..49a63e01a60f30 --- /dev/null +++ b/pages.fr/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Cette commande est un alias de `rmdir`. + +- Voir la documentation de la commande originale : + +`tldr rmdir` diff --git a/pages.fr/osx/grsh.md b/pages.fr/osx/grsh.md new file mode 100644 index 00000000000000..8c72d83269a91a --- /dev/null +++ b/pages.fr/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Cette commande est un alias de `-p linux rsh`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.fr/osx/gruncon.md b/pages.fr/osx/gruncon.md new file mode 100644 index 00000000000000..863f7e8e772f15 --- /dev/null +++ b/pages.fr/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Cette commande est un alias de `-p linux runcon`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.fr/osx/gsed.md b/pages.fr/osx/gsed.md new file mode 100644 index 00000000000000..2155f689e3b96d --- /dev/null +++ b/pages.fr/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Cette commande est un alias de `-p linux sed`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.fr/osx/gseq.md b/pages.fr/osx/gseq.md new file mode 100644 index 00000000000000..de389175c928fc --- /dev/null +++ b/pages.fr/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Cette commande est un alias de `seq`. + +- Voir la documentation de la commande originale : + +`tldr seq` diff --git a/pages.fr/osx/gsha1sum.md b/pages.fr/osx/gsha1sum.md new file mode 100644 index 00000000000000..469ae3475a9748 --- /dev/null +++ b/pages.fr/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Cette commande est un alias de `sha1sum`. + +- Voir la documentation de la commande originale : + +`tldr sha1sum` diff --git a/pages.fr/osx/gsha224sum.md b/pages.fr/osx/gsha224sum.md new file mode 100644 index 00000000000000..4eca637ee99349 --- /dev/null +++ b/pages.fr/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Cette commande est un alias de `sha224sum`. + +- Voir la documentation de la commande originale : + +`tldr sha224sum` diff --git a/pages.fr/osx/gsha256sum.md b/pages.fr/osx/gsha256sum.md new file mode 100644 index 00000000000000..d2349e32774f54 --- /dev/null +++ b/pages.fr/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Cette commande est un alias de `sha256sum`. + +- Voir la documentation de la commande originale : + +`tldr sha256sum` diff --git a/pages.fr/osx/gsha384sum.md b/pages.fr/osx/gsha384sum.md new file mode 100644 index 00000000000000..1bb26049669b80 --- /dev/null +++ b/pages.fr/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Cette commande est un alias de `sha384sum`. + +- Voir la documentation de la commande originale : + +`tldr sha384sum` diff --git a/pages.fr/osx/gsha512sum.md b/pages.fr/osx/gsha512sum.md new file mode 100644 index 00000000000000..4741bd7e760d5a --- /dev/null +++ b/pages.fr/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Cette commande est un alias de `sha512sum`. + +- Voir la documentation de la commande originale : + +`tldr sha512sum` diff --git a/pages.fr/osx/gshred.md b/pages.fr/osx/gshred.md new file mode 100644 index 00000000000000..31439b26d4afcd --- /dev/null +++ b/pages.fr/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Cette commande est un alias de `shred`. + +- Voir la documentation de la commande originale : + +`tldr shred` diff --git a/pages.fr/osx/gshuf.md b/pages.fr/osx/gshuf.md new file mode 100644 index 00000000000000..c681ce93e38d6f --- /dev/null +++ b/pages.fr/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Cette commande est un alias de `shuf`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.fr/osx/gsleep.md b/pages.fr/osx/gsleep.md new file mode 100644 index 00000000000000..e29783f940277f --- /dev/null +++ b/pages.fr/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Cette commande est un alias de `-p linux sleep`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.fr/osx/gsort.md b/pages.fr/osx/gsort.md new file mode 100644 index 00000000000000..da3b06a2ecdbef --- /dev/null +++ b/pages.fr/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Cette commande est un alias de `sort`. + +- Voir la documentation de la commande originale : + +`tldr sort` diff --git a/pages.fr/osx/gsplit.md b/pages.fr/osx/gsplit.md new file mode 100644 index 00000000000000..251453dfc505ba --- /dev/null +++ b/pages.fr/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Cette commande est un alias de `split`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.fr/osx/gstat.md b/pages.fr/osx/gstat.md new file mode 100644 index 00000000000000..e168c066098a17 --- /dev/null +++ b/pages.fr/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Cette commande est un alias de `stat`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.fr/osx/gstdbuf.md b/pages.fr/osx/gstdbuf.md new file mode 100644 index 00000000000000..02307a4671e391 --- /dev/null +++ b/pages.fr/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Cette commande est un alias de `stdbuf`. + +- Voir la documentation de la commande originale : + +`tldr stdbuf` diff --git a/pages.fr/osx/gstty.md b/pages.fr/osx/gstty.md new file mode 100644 index 00000000000000..646708fd53015b --- /dev/null +++ b/pages.fr/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Cette commande est un alias de `stty`. + +- Voir la documentation de la commande originale : + +`tldr stty` diff --git a/pages.fr/osx/gsum.md b/pages.fr/osx/gsum.md new file mode 100644 index 00000000000000..65e53ef1bfc811 --- /dev/null +++ b/pages.fr/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Cette commande est un alias de `sum`. + +- Voir la documentation de la commande originale : + +`tldr sum` diff --git a/pages.fr/osx/gsync.md b/pages.fr/osx/gsync.md new file mode 100644 index 00000000000000..d2c0f93108b90d --- /dev/null +++ b/pages.fr/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Cette commande est un alias de `sync`. + +- Voir la documentation de la commande originale : + +`tldr sync` diff --git a/pages.fr/osx/gtac.md b/pages.fr/osx/gtac.md new file mode 100644 index 00000000000000..1c07f80db2770b --- /dev/null +++ b/pages.fr/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Cette commande est un alias de `tac`. + +- Voir la documentation de la commande originale : + +`tldr tac` diff --git a/pages.fr/osx/gtail.md b/pages.fr/osx/gtail.md new file mode 100644 index 00000000000000..02b04ec164c743 --- /dev/null +++ b/pages.fr/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Cette commande est un alias de `tail`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.fr/osx/gtalk.md b/pages.fr/osx/gtalk.md new file mode 100644 index 00000000000000..ac3b724820e5e9 --- /dev/null +++ b/pages.fr/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Cette commande est un alias de `-p linux talk`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.fr/osx/gtar.md b/pages.fr/osx/gtar.md new file mode 100644 index 00000000000000..00dc877025e403 --- /dev/null +++ b/pages.fr/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Cette commande est un alias de `tar`. + +- Voir la documentation de la commande originale : + +`tldr tar` diff --git a/pages.fr/osx/gtee.md b/pages.fr/osx/gtee.md new file mode 100644 index 00000000000000..e894d4f5739f5a --- /dev/null +++ b/pages.fr/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Cette commande est un alias de `tee`. + +- Voir la documentation de la commande originale : + +`tldr tee` diff --git a/pages.fr/osx/gtelnet.md b/pages.fr/osx/gtelnet.md new file mode 100644 index 00000000000000..af2338c8dec8dc --- /dev/null +++ b/pages.fr/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Cette commande est un alias de `telnet`. + +- Voir la documentation de la commande originale : + +`tldr telnet` diff --git a/pages.fr/osx/gtest.md b/pages.fr/osx/gtest.md new file mode 100644 index 00000000000000..19033842026c02 --- /dev/null +++ b/pages.fr/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Cette commande est un alias de `test`. + +- Voir la documentation de la commande originale : + +`tldr test` diff --git a/pages.fr/osx/gtftp.md b/pages.fr/osx/gtftp.md new file mode 100644 index 00000000000000..8fdf75396e2440 --- /dev/null +++ b/pages.fr/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Cette commande est un alias de `-p linux tftp`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.fr/osx/gtime.md b/pages.fr/osx/gtime.md new file mode 100644 index 00000000000000..fb6bd334880371 --- /dev/null +++ b/pages.fr/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Cette commande est un alias de `time`. + +- Voir la documentation de la commande originale : + +`tldr time` diff --git a/pages.fr/osx/gtimeout.md b/pages.fr/osx/gtimeout.md new file mode 100644 index 00000000000000..0600f058347d46 --- /dev/null +++ b/pages.fr/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Cette commande est un alias de `timeout`. + +- Voir la documentation de la commande originale : + +`tldr timeout` diff --git a/pages.fr/osx/gtouch.md b/pages.fr/osx/gtouch.md new file mode 100644 index 00000000000000..a33b9923750f47 --- /dev/null +++ b/pages.fr/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Cette commande est un alias de `touch`. + +- Voir la documentation de la commande originale : + +`tldr touch` diff --git a/pages.fr/osx/gtr.md b/pages.fr/osx/gtr.md new file mode 100644 index 00000000000000..ec96cc7c3129e5 --- /dev/null +++ b/pages.fr/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Cette commande est un alias de `tr`. + +- Voir la documentation de la commande originale : + +`tldr tr` diff --git a/pages.fr/osx/gtraceroute.md b/pages.fr/osx/gtraceroute.md new file mode 100644 index 00000000000000..3d76324607b25a --- /dev/null +++ b/pages.fr/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Cette commande est un alias de `traceroute`. + +- Voir la documentation de la commande originale : + +`tldr traceroute` diff --git a/pages.fr/osx/gtrue.md b/pages.fr/osx/gtrue.md new file mode 100644 index 00000000000000..18b8d88887b373 --- /dev/null +++ b/pages.fr/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Cette commande est un alias de `true`. + +- Voir la documentation de la commande originale : + +`tldr true` diff --git a/pages.fr/osx/gtruncate.md b/pages.fr/osx/gtruncate.md new file mode 100644 index 00000000000000..535b2734eea434 --- /dev/null +++ b/pages.fr/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Cette commande est un alias de `truncate`. + +- Voir la documentation de la commande originale : + +`tldr truncate` diff --git a/pages.fr/osx/gtsort.md b/pages.fr/osx/gtsort.md new file mode 100644 index 00000000000000..06a4edad1c7a7e --- /dev/null +++ b/pages.fr/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Cette commande est un alias de `tsort`. + +- Voir la documentation de la commande originale : + +`tldr tsort` diff --git a/pages.fr/osx/gtty.md b/pages.fr/osx/gtty.md new file mode 100644 index 00000000000000..d3e5e631793fa3 --- /dev/null +++ b/pages.fr/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Cette commande est un alias de `tty`. + +- Voir la documentation de la commande originale : + +`tldr tty` diff --git a/pages.fr/osx/guname.md b/pages.fr/osx/guname.md new file mode 100644 index 00000000000000..fd8043e4889307 --- /dev/null +++ b/pages.fr/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Cette commande est un alias de `uname`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.fr/osx/gunexpand.md b/pages.fr/osx/gunexpand.md new file mode 100644 index 00000000000000..e3d00ea9d3e5e7 --- /dev/null +++ b/pages.fr/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Cette commande est un alias de `unexpand`. + +- Voir la documentation de la commande originale : + +`tldr unexpand` diff --git a/pages.fr/osx/guniq.md b/pages.fr/osx/guniq.md new file mode 100644 index 00000000000000..cd462b85e2b48c --- /dev/null +++ b/pages.fr/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Cette commande est un alias de `uniq`. + +- Voir la documentation de la commande originale : + +`tldr uniq` diff --git a/pages.fr/osx/gunits.md b/pages.fr/osx/gunits.md new file mode 100644 index 00000000000000..2f7585143a3cc3 --- /dev/null +++ b/pages.fr/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Cette commande est un alias de `units`. + +- Voir la documentation de la commande originale : + +`tldr units` diff --git a/pages.fr/osx/gunlink.md b/pages.fr/osx/gunlink.md new file mode 100644 index 00000000000000..fcf2b9cacbed8a --- /dev/null +++ b/pages.fr/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Cette commande est un alias de `unlink`. + +- Voir la documentation de la commande originale : + +`tldr unlink` diff --git a/pages.fr/osx/gupdatedb.md b/pages.fr/osx/gupdatedb.md new file mode 100644 index 00000000000000..8eca4e88596fb5 --- /dev/null +++ b/pages.fr/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Cette commande est un alias de `-p linux updatedb`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.fr/osx/guptime.md b/pages.fr/osx/guptime.md new file mode 100644 index 00000000000000..fe797f819216ed --- /dev/null +++ b/pages.fr/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Cette commande est un alias de `uptime`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.fr/osx/gusers.md b/pages.fr/osx/gusers.md new file mode 100644 index 00000000000000..aa6f34a9b6c246 --- /dev/null +++ b/pages.fr/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Cette commande est un alias de `users`. + +- Voir la documentation de la commande originale : + +`tldr users` diff --git a/pages.fr/osx/gvdir.md b/pages.fr/osx/gvdir.md new file mode 100644 index 00000000000000..17f9afb437ac49 --- /dev/null +++ b/pages.fr/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Cette commande est un alias de `vdir`. + +- Voir la documentation de la commande originale : + +`tldr vdir` diff --git a/pages.fr/osx/gwc.md b/pages.fr/osx/gwc.md new file mode 100644 index 00000000000000..e1989ee0a0a167 --- /dev/null +++ b/pages.fr/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Cette commande est un alias de `wc`. + +- Voir la documentation de la commande originale : + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.fr/osx/gwhich.md b/pages.fr/osx/gwhich.md new file mode 100644 index 00000000000000..720e714b83ed56 --- /dev/null +++ b/pages.fr/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Cette commande est un alias de `which`. + +- Voir la documentation de la commande originale : + +`tldr which` diff --git a/pages.fr/osx/gwho.md b/pages.fr/osx/gwho.md new file mode 100644 index 00000000000000..08ce0f0b809ca5 --- /dev/null +++ b/pages.fr/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Cette commande est un alias de `who`. + +- Voir la documentation de la commande originale : + +`tldr who` diff --git a/pages.fr/osx/gwhoami.md b/pages.fr/osx/gwhoami.md new file mode 100644 index 00000000000000..229d3c38fc4ee6 --- /dev/null +++ b/pages.fr/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Cette commande est un alias de `whoami`. + +- Voir la documentation de la commande originale : + +`tldr whoami` diff --git a/pages.fr/osx/gwhois.md b/pages.fr/osx/gwhois.md new file mode 100644 index 00000000000000..a7607411f653e0 --- /dev/null +++ b/pages.fr/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Cette commande est un alias de `whois`. + +- Voir la documentation de la commande originale : + +`tldr whois` diff --git a/pages.fr/osx/gxargs.md b/pages.fr/osx/gxargs.md new file mode 100644 index 00000000000000..f533244b720525 --- /dev/null +++ b/pages.fr/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Cette commande est un alias de `xargs`. + +- Voir la documentation de la commande originale : + +`tldr xargs` diff --git a/pages.fr/osx/gyes.md b/pages.fr/osx/gyes.md new file mode 100644 index 00000000000000..cb6bf004126d71 --- /dev/null +++ b/pages.fr/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Cette commande est un alias de `yes`. + +- Voir la documentation de la commande originale : + +`tldr yes` diff --git a/pages.fr/sunos/devfsadm.md b/pages.fr/sunos/devfsadm.md new file mode 100644 index 00000000000000..9b36a481573679 --- /dev/null +++ b/pages.fr/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> Commande d'administration pour `/dev`. Maintient le `/dev` espace de noms. +> Plus d'informations : . + +- Rechercher de nouveaux disques : + +`devfsadm -c disk` + +- Nettoyez tout pendaison `/dev` liens et rechercher un nouvel appareil : + +`devfsadm -C -v` + +- Marche à sec - sortir ce qui serait changé mais ne faire aucune modification : + +`devfsadm -C -v -n` diff --git a/pages.fr/sunos/dmesg.md b/pages.fr/sunos/dmesg.md new file mode 100644 index 00000000000000..63ae23ffb8095c --- /dev/null +++ b/pages.fr/sunos/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> Écrire les messages du noyau sur la sortie standard. +> Plus d'informations : . + +- Afficher les messages du noyau : + +`dmesg` + +- Afficher la quantité de mémoire physique disponible sur ce système : + +`dmesg | grep -i memory` + +- Afficher les messages du noyau une page à la fois : + +`dmesg | less` diff --git a/pages.fr/sunos/prctl.md b/pages.fr/sunos/prctl.md new file mode 100644 index 00000000000000..0e90eb1c2c6c3c --- /dev/null +++ b/pages.fr/sunos/prctl.md @@ -0,0 +1,16 @@ +# prctl + +> Obtenir ou définir les contrôles de ressources des processus, tâches et projets en cours d'exécution. +> Plus d'informations : . + +- Examiner les limites et les autorisations des processus : + +`prctl {{pid}}` + +- Examiner les limites et les autorisations de processus dans un format analysable par machine : + +`prctl -P {{pid}}` + +- Obtenir une limite spécifique pour un processus en cours d'exécution : + +`prctl -n process.max-file-descriptor {{pid}}` diff --git a/pages.fr/sunos/prstat.md b/pages.fr/sunos/prstat.md new file mode 100644 index 00000000000000..6a4937668fb15f --- /dev/null +++ b/pages.fr/sunos/prstat.md @@ -0,0 +1,24 @@ +# prstat + +> Signaler les statistiques de processus actifs. +> Plus d'informations : . + +- Examinez tous les processus et rapportez les statistiques triées par utilisation du processeur : + +`prstat` + +- Examinez tous les processus et rapportez les statistiques triées par utilisation de la mémoire : + +`prstat -s rss` + +- Rapporter le résumé de l'utilisation totale pour chaque utilisateur : + +`prstat -t` + +- Rapporter les informations comptables du processus de micro-état : + +`prstat -m` + +- Imprimez une liste des 5 meilleurs processeurs utilisant des processus chaque seconde : + +`prstat -c -n 5 -s cpu 1` diff --git a/pages.fr/sunos/snoop.md b/pages.fr/sunos/snoop.md new file mode 100644 index 00000000000000..b7d7065f438cbe --- /dev/null +++ b/pages.fr/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> Renifleur de paquets réseau. +> Équivalent SunOS de tcpdump. +> Plus d'informations : . + +- Capturer des paquets sur une interface réseau spécifique : + +`snoop -d {{e1000g0}}` + +- Enregistrer les paquets capturés dans un fichier au lieu de les afficher : + +`snoop -o {{nom_de_fichier}}` + +- Afficher le résumé détaillé de la couche de protocole des paquets d'un fichier : + +`snoop -V -i {{nom_de_fichier}}` + +- Capturez les paquets réseau provenant d'un nom d'hôte et accédez à un port donné : + +`snoop to port {{port}} from host {{nom_d'hôte}}` + +- Capturez et affichez un vidage hexadécimal des paquets réseau échangés entre deux adresses IP : + +`snoop -x0 -p4 {{adresse_ip_1}} {{adresse_ip_2}}` diff --git a/pages.fr/sunos/svcadm.md b/pages.fr/sunos/svcadm.md new file mode 100644 index 00000000000000..fe0c59eb3715d5 --- /dev/null +++ b/pages.fr/sunos/svcadm.md @@ -0,0 +1,24 @@ +# svcadm + +> Manipuler les instances de service. +> Plus d'informations : . + +- Activer un service dans la base de données de service : + +`svcadm enable {{nom_du_service}}` + +- Désactiver le service : + +`svcadm disable {{nom_du_service}}` + +- Redémarrer un service en cours d'exécution : + +`svcadm restart {{nom_du_service}}` + +- Service de commande pour relire les fichiers de configuration : + +`svcadm refresh {{nom_du_service}}` + +- Effacer un service de l'état de maintenance et lui ordonner de démarrer : + +`svcadm clear {{nom_du_service}}` diff --git a/pages.fr/sunos/svcs.md b/pages.fr/sunos/svcs.md new file mode 100644 index 00000000000000..81992a1216e20b --- /dev/null +++ b/pages.fr/sunos/svcs.md @@ -0,0 +1,24 @@ +# svcs + +> Répertorier les informations sur les services en cours d'exécution. +> Plus d'informations : . + +- Lister tous les services en cours d'exécution : + +`svcs` + +- Lister les services qui ne fonctionnent pas : + +`svcs -vx` + +- Répertorier les informations sur un service : + +`svcs apache` + +- Afficher l'emplacement du fichier journal de service : + +`svcs -L apache` + +- Afficher la fin d'un fichier journal de service : + +`tail $(svcs -L apache)` diff --git a/pages.fr/sunos/truss.md b/pages.fr/sunos/truss.md new file mode 100644 index 00000000000000..f6500576460e98 --- /dev/null +++ b/pages.fr/sunos/truss.md @@ -0,0 +1,25 @@ +# truss + +> Outil de dépannage pour tracer les appels système. +> Équivalent SunOS de strace. +> Plus d'informations : . + +- Commencez à tracer un programme en l'exécutant, en suivant tous les processus enfants : + +`truss -f {{programme}}` + +- Commencez à tracer un processus spécifique par son PID : + +`truss -p {{pid}}` + +- Commencez à tracer un programme en l'exécutant, en affichant les arguments et les variables d'environnement : + +`truss -a -e {{programme}}` + +- Comptez le temps, les appels et les erreurs pour chaque appel système et rapportez un résumé à la sortie du programme : + +`truss -c -p {{pid}}` + +- Tracez une sortie de filtrage de processus par appel système : + +`truss -p {{pid}} -t {{nom_d'appel_système}}` diff --git a/pages.fr/windows/add-appxpackage.md b/pages.fr/windows/add-appxpackage.md new file mode 100644 index 00000000000000..af903e444600bb --- /dev/null +++ b/pages.fr/windows/add-appxpackage.md @@ -0,0 +1,20 @@ +# Add-AppxPackage + +> Un utilitaire PowerShell pour ajouter un paquet d'applications signé (`.appx`, `.msix`, `.appxbundle`, `.appxbundle` et `.msixbundle`) à un compte utilisateur. +> Plus d'informations : . + +- Ajoute un paquet d'application : + +`Add-AppxPackage -Path {{chemin\vers\paquet.msix}}` + +- Ajoute un paquet d'application avec ses dependences : + +`Add-AppxPackage -Path {{chemin\vers\paquet.msix}} -DependencyPath {{chemin\vers\dependences.msix}}` + +- Installe une application en utilisant le fichier d'installation de l'application : + +`Add-AppxPackage -AppInstallerFile {{chemin\vers\application.appinstaller}}` + +- Ajoute un paquet non signé : + +`Add-AppxPackage -Path {{chemin\vers\paquet.msix}} -DependencyPath {{chemin\vers\dependences.msix}} -AllowUnsigned` diff --git a/pages.fr/windows/cd.md b/pages.fr/windows/cd.md new file mode 100644 index 00000000000000..4dad31671199c9 --- /dev/null +++ b/pages.fr/windows/cd.md @@ -0,0 +1,33 @@ +# cd + +> Affiche le répertoire de travail courant ou permet de se déplacer vers un autre répertoire. +> Dans PowerShell, cette commande est un alias de `Set-Location`. Cette documentation est basée sur la version `cmd` de `cd`. +> Plus d'informations : . + +- Affiche la documentation de la commande PowerShell équivalente : + +`tldr set-location` + +- Affiche le chemin du répertoire courant : + +`cd` + +- Se déplace dans un répertoire spécifique sur le même disque : + +`cd {{chemin\vers\répertoire}}` + +- Se déplace dans un répertoire spécifique sur un autre [d]isque : + +`cd /d {{C}}:{{chemin\vers\répertoire}}` + +- Remonte vers le répertoire parent du répertoire actuel : + +`cd ..` + +- Se déplace dans le répertoire personnel de l'utilisateur courant : + +`cd %userprofile%` + +- Se déplace à la racine du disque actuel : + +`cd \` diff --git a/pages.fr/windows/choco-info.md b/pages.fr/windows/choco-info.md new file mode 100644 index 00000000000000..1c18ec11cd5ecb --- /dev/null +++ b/pages.fr/windows/choco-info.md @@ -0,0 +1,20 @@ +# choco info + +> Afficher des informations détaillées sur un forfait avec Chocolatey. +> Plus d'informations : . + +- Afficher des informations sur un package spécifique : + +`choco info {{paquet}}` + +- Afficher les informations pour un package local uniquement : + +`choco info {{paquet}} --local-only` + +- Spécifier une source personnalisée à partir de laquelle recevoir des informations sur les packages : + +`choco info {{paquet}} --source {{source_url|alias}}` + +- Fournir un nom d'utilisateur et un mot de passe pour l'authentification : + +`choco info {{paquet}} --user {{nom d'utilisateur}} --password {{mot de passe}}` diff --git a/pages.fr/windows/choco-new.md b/pages.fr/windows/choco-new.md new file mode 100644 index 00000000000000..837fdb099e62fb --- /dev/null +++ b/pages.fr/windows/choco-new.md @@ -0,0 +1,24 @@ +# choco new + +> Générez de nouveaux fichiers de spécifications de package avec Chocolatey. +> Plus d'informations : . + +- Créer un nouveau squelette de package : + +`choco new {{paquet}}` + +- Créer un nouveau package avec une version spécifique : + +`choco new {{paquet}} --version {{version}}` + +- Créer un nouveau package avec un nom de responsable spécifique : + +`choco new {{paquet}} --maintainer {{nom_mainteneur}}` + +- Créer un nouveau package dans un répertoire de sortie personnalisé : + +`choco new {{paquet}} --output-directory {{chemin/vers/répertoire}}` + +- Créez un nouveau package avec des URL d'installation 32 bits et 64 bits spécifiques : + +`choco new {{paquet}} url="{{url}}" url64="{{url}}"` diff --git a/pages.fr/windows/choco-outdated.md b/pages.fr/windows/choco-outdated.md new file mode 100644 index 00000000000000..1039b67429a4c3 --- /dev/null +++ b/pages.fr/windows/choco-outdated.md @@ -0,0 +1,20 @@ +# choco outdated + +> Vérifiez les packages obsolètes avec Chocolatey. +> Plus d'informations : . + +- Afficher une liste des packages obsolètes sous forme de tableau : + +`choco outdated` + +- Ignorer les packages épinglés dans la sortie : + +`choco outdated --ignore-pinned` + +- Spécifiez une source personnalisée à partir de laquelle vérifier les packages : + +`choco outdated --source {{source_url|alias}}` + +- Fournir un nom d'utilisateur et un mot de passe pour l'authentification : + +`choco outdated --user {{nom_d_utilisateur}} --password {{mot_de_passe}}` diff --git a/pages.fr/windows/choco-search.md b/pages.fr/windows/choco-search.md new file mode 100644 index 00000000000000..b4dc5b10dea237 --- /dev/null +++ b/pages.fr/windows/choco-search.md @@ -0,0 +1,28 @@ +# choco search + +> Recherchez un forfait local ou distant avec Chocolatey. +> Plus d'informations : . + +- Rechercher un forfait : + +`choco search {{requête}}` + +- Rechercher un package localement : + +`choco search {{requête}} --local-only` + +- Inclure uniquement les correspondances exactes dans les résultats : + +`choco search {{requête}} --exact` + +- Confirmer automatiquement toutes les invites : + +`choco search {{requête}} --yes` + +- Spécifiez une source personnalisée dans laquelle rechercher des packages : + +`choco search {{requête}} --source {{source_url|alias}}` + +- Fournir un nom d'utilisateur et un mot de passe pour l'authentification : + +`choco search {{requête}} --user {{nom d'utilisateur}} --password {{mot de passe}}` diff --git a/pages.fr/windows/choco-uninstall.md b/pages.fr/windows/choco-uninstall.md new file mode 100644 index 00000000000000..67f9f6de0537ee --- /dev/null +++ b/pages.fr/windows/choco-uninstall.md @@ -0,0 +1,24 @@ +# choco uninstall + +> Désinstallez un ou plusieurs packages avec Chocolatey. +> Plus d'informations : . + +- Désinstaller un ou plusieurs packages séparés par des espaces : + +`choco uninstall {{paquet1 paquet2 ...}}` + +- Désinstaller une version spécifique d'un package : + +`choco uninstall {{paquet}} --version {{version}}` + +- Confirmer automatiquement toutes les invites : + +`choco uninstall {{paquet}} --yes` + +- Supprimez toutes les dépendances lors de la désinstallation : + +`choco uninstall {{paquet}} --remove-dependencies` + +- Désinstaller tous les packages : + +`choco uninstall all` diff --git a/pages.fr/windows/choco-upgrade.md b/pages.fr/windows/choco-upgrade.md new file mode 100644 index 00000000000000..8fe72e32e7cb4a --- /dev/null +++ b/pages.fr/windows/choco-upgrade.md @@ -0,0 +1,32 @@ +# choco upgrade + +> Surclassez un ou plusieurs forfaits avec Chocolatey. +> Plus d'informations : . + +- Mettre à niveau un ou plusieurs packages séparés par des espaces : + +`choco upgrade {{paquet1 paquet2 ...}}` + +- Mise à niveau vers une version spécifique d'un package : + +`choco upgrade {{paquet}} --version {{version}}` + +- Mettre à niveau tous les packages : + +`choco upgrade all` + +- Mettre à niveau tous les packages sauf ceux spécifiés, séparés par des virgules : + +`choco upgrade all --except "{{paquet1 paquet2 ...}}"` + +- Confirmer automatiquement toutes les invites : + +`choco upgrade {{paquet}} --yes` + +- Spécifier une source personnalisée à partir de laquelle recevoir les packages : + +`choco upgrade {{paquet}} --source {{source_url|alias}}` + +- Fournir un nom d'utilisateur et un mot de passe pour l'authentification : + +`choco upgrade {{paquet}} --user {{nom d'utilisateur}} --password {{mot de passe}}` diff --git a/pages.fr/windows/chrome.md b/pages.fr/windows/chrome.md new file mode 100644 index 00000000000000..326df979cb4e3c --- /dev/null +++ b/pages.fr/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Cette commande est un alias de `chromium`. +> Plus d'informations : . + +- Voir la documentation de la commande originale : + +`tldr chromium` diff --git a/pages.fr/windows/cinst.md b/pages.fr/windows/cinst.md new file mode 100644 index 00000000000000..a60f6c3dbbbb40 --- /dev/null +++ b/pages.fr/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Cette commande est un alias de `choco install`. + +- Voir la documentation de la commande originale : + +`tldr choco install` diff --git a/pages.fr/windows/clist.md b/pages.fr/windows/clist.md new file mode 100644 index 00000000000000..ac74393c07bce5 --- /dev/null +++ b/pages.fr/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Cette commande est un alias de `choco list`. + +- Voir la documentation de la commande originale : + +`tldr choco list` diff --git a/pages.fr/windows/cpush.md b/pages.fr/windows/cpush.md new file mode 100644 index 00000000000000..58d23f6cf87f79 --- /dev/null +++ b/pages.fr/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Cette commande est un alias de `choco push`. + +- Voir la documentation de la commande originale : + +`tldr choco push` diff --git a/pages.fr/windows/cuninst.md b/pages.fr/windows/cuninst.md new file mode 100644 index 00000000000000..61d855c4976057 --- /dev/null +++ b/pages.fr/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Cette commande est un alias de `choco uninstall`. + +- Voir la documentation de la commande originale : + +`tldr choco uninstall` diff --git a/pages.fr/windows/curl.md b/pages.fr/windows/curl.md new file mode 100644 index 00000000000000..e15eb57b04a7dc --- /dev/null +++ b/pages.fr/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> Dans PowerShell, cette commande peut être un alias de `Invoke-WebRequest` lorsque le programme original `curl` () n'est pas correctement installé. +> Plus d'informations : . + +- Affiche la documentation de la commande `curl` originale : + +`tldr curl -p common` + +- Affiche la documentation de la commande PowerShell `Invoke-WebRequest` : + +`tldr invoke-webrequest` + +- Vérifie si `curl` est correctement installé en affichant son numéro de version. Si cette commande renvoie une erreur, PowerShell a peut-être remplacé cette commande par `Invoke-WebRequest` : + +`curl --version` diff --git a/pages.fr/windows/dir.md b/pages.fr/windows/dir.md new file mode 100644 index 00000000000000..a4434383172de4 --- /dev/null +++ b/pages.fr/windows/dir.md @@ -0,0 +1,28 @@ +# dir + +> Affiche le contenu d'un répertoire. +> Plus d'informations : . + +- Affiche le contenu du répertoire courant : + +`dir` + +- Affiche le contenu d'un répertoire donné : + +`dir {{chemin\vers\répertoire}}` + +- Affiche le contenu du répertoire courant, y compris les fichiers cachés : + +`dir /a` + +- Affiche le contenu d'un répertoire donné, y compris les fichiers cachés : + +`dir {{chemin\vers\répertoire}} /a` + +- Affiche une liste simple des répertoires et fichiers, sans information supplémentaire : + +`dir /b` + +- Trie les résultats par date/heure, du plus ancien au plus récent : + +`dir /o:d` diff --git a/pages.fr/windows/iwr.md b/pages.fr/windows/iwr.md new file mode 100644 index 00000000000000..95b23120d65292 --- /dev/null +++ b/pages.fr/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Cette commande est un alias de `invoke-webrequest`. + +- Voir la documentation de la commande originale : + +`tldr invoke-webrequest` diff --git a/pages.fr/windows/pwsh-where.md b/pages.fr/windows/pwsh-where.md new file mode 100644 index 00000000000000..d5c94e908ee9e2 --- /dev/null +++ b/pages.fr/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Cette commande est un alias de `Where-Object`. + +- Voir la documentation de la commande originale : + +`tldr Where-Object` diff --git a/pages.fr/windows/rd.md b/pages.fr/windows/rd.md new file mode 100644 index 00000000000000..8dc6d411b58747 --- /dev/null +++ b/pages.fr/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> Cette commande est un alias de `rmdir`. + +- Voir la documentation de la commande originale : + +`tldr rmdir` diff --git a/pages.fr/windows/sls.md b/pages.fr/windows/sls.md new file mode 100644 index 00000000000000..9deba09837dc82 --- /dev/null +++ b/pages.fr/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Cette commande est un alias de `Select-String`. + +- Voir la documentation de la commande originale : + +`tldr select-string` diff --git a/pages.fr/windows/whoami.md b/pages.fr/windows/whoami.md new file mode 100644 index 00000000000000..aedcd6582bf0b9 --- /dev/null +++ b/pages.fr/windows/whoami.md @@ -0,0 +1,24 @@ +# whoami + +> Affiche des détails sur l'utilisateur courant. +> Plus d'informations : . + +- Affiche le nom de l'utilisateur courant : + +`whoami` + +- Affiche les groupes pour lesquels l'utilisateur courant est un membre : + +`whoami /groups` + +- Affiche les droits de l'utilisateur courant : + +`whoami /priv` + +- Affiche le nom principal d'utilisateur (UPN) de l'utilisateur courant : + +`whoami /upn` + +- Affiche l'identifiant de connexion de l'utilisateur courant : + +`whoami /logonid` diff --git a/pages.fr/windows/winget.md b/pages.fr/windows/winget.md new file mode 100644 index 00000000000000..c2d06e980d7f3a --- /dev/null +++ b/pages.fr/windows/winget.md @@ -0,0 +1,36 @@ +# winget + +> Gestionnaire de paquets Windows. +> Plus d'informations : . + +- Installe un paquet : + +`winget {{[add|install]}} {{paquet}}` + +- Supprime un paquet (remarque : `remove` peut aussi être utilisé à la place de `uninstall`) : + +`winget {{[rm|uninstall]}} {{paquet}}` + +- Affiche des informations sur un paquet : + +`winget show {{paquet}}` + +- Recherche un paquet : + +`winget search {{paquet}}` + +- Met à jour tous les paquets vers les dernières versions : + +`winget upgrade {{[-r|--all]}}` + +- Liste tous les paquets installés qui peuvent être gérés avec `winget` : + +`winget {{[ls|list]}} {{[-s|--source]}} winget` + +- Importe des paquets depuis un fichier, ou exporte les paquets installés vers un fichier : + +`winget {{import|export}} {{--import-file|--output}} {{chemin/vers/fichier}}` + +- Valide des manifestes avant de soumettre une PR au dépôt winget-pkgs : + +`winget validate {{chemin/vers/manifeste}}` diff --git a/pages.hbs/common/head.md b/pages.hbs/common/head.md deleted file mode 100644 index 32e812835adb06..00000000000000 --- a/pages.hbs/common/head.md +++ /dev/null @@ -1,19 +0,0 @@ -# head - -> Prikazuje prvi deo datoteka. - -- Prikaži prvih nekoliko linija datoteke: - -`head -n {{broj_linija}} {{naziv_datoteke}}` - -- Prikaži prvih nekoliko bajtova datoteke: - -`head -c {{veličina_u_bajtovima}} {{naziv_datoteke}}` - -- Prikaži sve osim nekoliko poslednjih linija datoteke: - -`head -n -{{broj_linija}} {{naziv_datoteke}}` - -- Prikaži sve osim nekoliko poslednjih bajtova datoteke: - -`head -c -{{veličina_u_bajtovima}} {{naziv_datoteke}}` diff --git a/pages.hbs/common/sh.md b/pages.hbs/common/sh.md deleted file mode 100644 index 5a2e9ee51bcaa5..00000000000000 --- a/pages.hbs/common/sh.md +++ /dev/null @@ -1,20 +0,0 @@ -# sh - -> Bourne ljuska. -> Standardni interpreter komandnog jezika. - -- Pokreni interaktivnu ljusku: - -`sh` - -- Izvrši komandu: - -`sh -c {{komanda}}` - -- Pokreni komande iz datoteke: - -`sh {{datoteka.sh}}` - -- Pokreni komande iz `stdin`-a: - -`sh -s` diff --git a/pages.hbs/common/sha1sum.md b/pages.hbs/common/sha1sum.md deleted file mode 100644 index 5e3aa31204c0da..00000000000000 --- a/pages.hbs/common/sha1sum.md +++ /dev/null @@ -1,15 +0,0 @@ -# sha1sum - -> Izračunava SHA1 kriptografske kontrolne brojeve. - -- Izračunaj SHA1 kontrolni broj za datoteku: - -`sha1sum {{datoteka1}}` - -- Izračunaj SHA1 kontrolne brojeve za više datoteka: - -`sha1sum {{datoteka1}} {{datoteka2}}` - -- Pročitaj datoteku SHA1 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: - -`sha1sum -c {{datoteka.sha1}}` diff --git a/pages.hbs/common/sha224sum.md b/pages.hbs/common/sha224sum.md deleted file mode 100644 index 86b84153c1b98e..00000000000000 --- a/pages.hbs/common/sha224sum.md +++ /dev/null @@ -1,15 +0,0 @@ -# sha224sum - -> Izračunava SHA224 kriptografske kontrolne brojeve. - -- Izračunaj SHA224 kontrolni broj za datoteku: - -`sha224sum {{datoteka1}}` - -- Izračunaj SHA224 kontrolne brojeve za više datoteka: - -`sha224sum {{datoteka1}} {{datoteka2}}` - -- Pročitaj datoteku SHA224 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: - -`sha224sum -c {{datoteka.sha224}}` diff --git a/pages.hbs/common/sha256sum.md b/pages.hbs/common/sha256sum.md deleted file mode 100644 index 264751c77a3f8c..00000000000000 --- a/pages.hbs/common/sha256sum.md +++ /dev/null @@ -1,15 +0,0 @@ -# sha256sum - -> Izračunava SHA256 kriptografske kontrolne brojeve. - -- Izračunaj SHA256 kontrolni broj za datoteku: - -`sha256sum {{datoteka1}}` - -- Izračunaj SHA256 kontrolne brojeve za više datoteka: - -`sha256sum {{datoteka1}} {{datoteka2}}` - -- Pročitaj datoteku SHA256 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: - -`sha256sum -c {{datoteka.sha256}}` diff --git a/pages.hbs/common/sha384sum.md b/pages.hbs/common/sha384sum.md deleted file mode 100644 index 0c04ba5ca8f8e1..00000000000000 --- a/pages.hbs/common/sha384sum.md +++ /dev/null @@ -1,15 +0,0 @@ -# sha384sum - -> Izračunava SHA384 kriptografske kontrolne brojeve. - -- Izračunaj SHA384 kontrolni broj za datoteku: - -`sha384sum {{datoteka1}}` - -- Izračunaj SHA384 kontrolne brojeve za više datoteka: - -`sha384sum {{datoteka1}} {{datoteka2}}` - -- Pročitaj datoteku SHA384 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: - -`sha384sum -c {{datoteka.sha384}}` diff --git a/pages.hbs/common/sha512sum.md b/pages.hbs/common/sha512sum.md deleted file mode 100644 index 6daeb815fb4369..00000000000000 --- a/pages.hbs/common/sha512sum.md +++ /dev/null @@ -1,15 +0,0 @@ -# sha512sum - -> Izračunava SHA512 kriptografske kontrolne brojeve. - -- Izračunaj SHA512 kontrolni broj za datoteku: - -`sha512sum {{datoteka1}}` - -- Izračunaj SHA512 kontrolne brojeve za više datoteka: - -`sha512sum {{datoteka1}} {{datoteka2}}` - -- Pročitaj datoteku SHA512 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: - -`sha512sum -c {{datoteka.sha512}}` diff --git a/pages.hbs/common/tail.md b/pages.hbs/common/tail.md deleted file mode 100644 index 0194ddb21bcb06..00000000000000 --- a/pages.hbs/common/tail.md +++ /dev/null @@ -1,23 +0,0 @@ -# tail - -> Prikazuje krajnji deo datoteke. - -- Prikaži poslednjih 'broj' linija u datoteci: - -`tail -n {{broj}} {{datoteka}}` - -- Prikaži celu datoteku od linije 'broj': - -`tail -n +{{broj}} {{datoteka}}` - -- Prikaži poslednjih 'broj' bajtova u datoteci: - -`tail -c {{broj}} {{datoteka}}` - -- Čitaj datoteku sve do `Ctrl + C`: - -`tail -f {{datoteka}}` - -- Čitaj datoteku sve do `Ctrl + C`, čak i kad je datoteka rotirana: - -`tail -F {{datoteka}}` diff --git a/pages.hbs/common/tldr.md b/pages.hbs/common/tldr.md deleted file mode 100644 index 7fbdcca264cf16..00000000000000 --- a/pages.hbs/common/tldr.md +++ /dev/null @@ -1,16 +0,0 @@ -# tldr - -> Pojednostavljene man stranice. -> Više informacija: . - -- Prikaži tipičnu upotrebu komande (pomoć: ovako ste stigli ovde!): - -`tldr {{komanda}}` - -- Prikaži tar tldr stranicu za Linux: - -`tldr -p {{linux}} {{tar}}` - -- Prikaži pomoć za Git potkomandu: - -`tldr {{git-checkout}}` diff --git a/pages.hbs/common/tldrl.md b/pages.hbs/common/tldrl.md deleted file mode 100644 index e2bc97ef1b2495..00000000000000 --- a/pages.hbs/common/tldrl.md +++ /dev/null @@ -1,16 +0,0 @@ -# tldrl - -> Lintuje i formatira tldr stranice. -> Više informacija: . - -- Lintuj sve stranice: - -`tldrl {{direktorijum_stranica}}` - -- Formatiraj određenu stranicu u `stdout`: - -`tldrl -f {{stranica.md}}` - -- Formatiraj sve stranice na njihovom mestu: - -`tldrl -fi {{direktorijum_stranica}}` diff --git a/pages.hi/android/am.md b/pages.hi/android/am.md new file mode 100644 index 00000000000000..be3b55e2cfb92f --- /dev/null +++ b/pages.hi/android/am.md @@ -0,0 +1,20 @@ +# am + +> एंड्रॉइड गतिविधि प्रबंधक। +> अधिक जानकारी: । + +- एक विशिष्ट गतिविधि प्रारंभ करें: + +`am start -n {{com.android.settings/.Settings}}` + +- एक गतिविधि शुरू करें और उसमें डेटा[d] पास करें: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- किसी विशिष्ट क्रिया और श्रेणी[c] से मेल खाती गतिविधि प्रारंभ करें: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- एक उद्देश्य को यूआरआई में बदलें: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.hi/android/bugreport.md b/pages.hi/android/bugreport.md new file mode 100644 index 00000000000000..b695695a573de3 --- /dev/null +++ b/pages.hi/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> एंड्रॉयड बग रिपोर्ट दिखाएँ। +> इस कमांड का उपयोग केवल `adb shell` के माध्यम से किया जा सकता है। +> अधिक जानकारी: । + +- एंड्रॉयड डिवाइस की संपूर्ण बग रिपोर्ट प्रदर्शित करें: + +`bugreport` diff --git a/pages.hi/android/bugreportz.md b/pages.hi/android/bugreportz.md new file mode 100644 index 00000000000000..3c563e41d293fc --- /dev/null +++ b/pages.hi/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> एक ज़िप्ड एंड्रॉइड बग रिपोर्ट तैयार करें। +> इस कमांड का उपयोग केवल `adb shell` के माध्यम से किया जा सकता है। +> अधिक जानकारी: । + +- एंड्रॉइड डिवाइस की संपूर्ण ज़िप्ड बग रिपोर्ट तैयार करें: + +`bugreportz` + +- चल रहे `bugreportz` ऑपरेशन की प्रगति दिखाएं: + +`bugreportz -p` + +- सहायता प्रदर्शित करें: + +`bugreportz -h` + +- `bugreportz` का संस्करण दिखाएँ: + +`bugreportz -v` diff --git a/pages.hi/android/cmd.md b/pages.hi/android/cmd.md new file mode 100644 index 00000000000000..6e21a5b8b920e5 --- /dev/null +++ b/pages.hi/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> एंड्रॉइड सेवा प्रबंधक। +> अधिक जानकारी: । + +- सभी चल रही सेवाओं की सूची[l] बनाएं: + +`cmd -l` + +- किसी विशिष्ट सेवा को कॉल करें: + +`cmd {{सेवा}}` + +- विशिष्ट तर्कों के साथ किसी सेवा को कॉल करें: + +`cmd {{सेवा}} {{तर्क1 तर्क2 ...}}` diff --git a/pages.hi/android/dalvikvm.md b/pages.hi/android/dalvikvm.md new file mode 100644 index 00000000000000..64b51f50e7dff0 --- /dev/null +++ b/pages.hi/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> एंड्रॉइड जावा वर्चुअल मशीन। +> अधिक जानकारी: । + +- एक विशिष्ट जावा प्रोग्राम प्रारंभ करें: + +`dalvikvm -classpath {{फ़ाइल.jar/का/पथ}} {{क्लासनाम}}` diff --git a/pages.hi/android/dumpsys.md b/pages.hi/android/dumpsys.md new file mode 100644 index 00000000000000..7b3d0bc1daecd9 --- /dev/null +++ b/pages.hi/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> एंड्रॉइड सिस्टम सेवाओं के बारे में जानकारी प्रदान करें। +> इस कमांड का उपयोग केवल `adb shell` के माध्यम से किया जा सकता है। +> अधिक जानकारी: । + +- सभी सिस्टम सेवाओं के लिए नैदानिक आउटपुट प्राप्त करें: + +`dumpsys` + +- किसी विशिष्ट सिस्टम सेवा के लिए नैदानिक आउटपुट प्राप्त करें: + +`dumpsys {{सेवा}}` + +- उन सभी सेवाओं की सूची बनाएं जिनके बारे में `dumpsys` जानकारी दे सकता है: + +`dumpsys -l` + +- किसी सेवा के लिए सेवा-विशिष्ट तर्कों की सूची बनाएं: + +`dumpsys {{सेवा}} -h` + +- नैदानिक आउटपुट से एक विशिष्ट सेवा को बाहर करें: + +`dumpsys --skip {{सेवा}}` + +- सेकंड में टाइमआउट अवधि निर्दिष्ट करें (डिफ़ॉल्ट 10s पर): + +`dumpsys -t {{8}}` diff --git a/pages.hi/android/getprop.md b/pages.hi/android/getprop.md new file mode 100644 index 00000000000000..8d6749d1a3ab26 --- /dev/null +++ b/pages.hi/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> एंड्रॉइड सिस्टम गुणों के बारे में जानकारी दिखाएं। +> अधिक जानकारी: । + +- एंड्रॉइड सिस्टम गुणों के बारे में जानकारी प्रदर्शित करें: + +`getprop` + +- किसी विशिष्ट गुण के बारे में जानकारी प्रदर्शित करें: + +`getprop {{गुण}}` + +- एसडीके एपीआई स्तर प्रदर्शित करें: + +`getprop {{ro.build.version.sdk}}` + +- एंड्रॉइड संस्करण प्रदर्शित करें: + +`getprop {{ro.build.version.release}}` + +- एंड्रॉइड डिवाइस मॉडल प्रदर्शित करें: + +`getprop {{ro.vendor.product.model}}` + +- ओईएम अनलॉक स्थिति प्रदर्शित करें: + +`getprop {{ro.oem_unlock_supported}}` + +- एंड्रॉइड के वाईफ़ाई कार्ड का मैक पता प्रदर्शित करें: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.hi/android/input.md b/pages.hi/android/input.md new file mode 100644 index 00000000000000..4ec442ffc2ea0e --- /dev/null +++ b/pages.hi/android/input.md @@ -0,0 +1,25 @@ +# input + +> एंड्रॉइड डिवाइस पर इवेंट कोड या टचस्क्रीन जेस्चर भेजें। +> इस कमांड का उपयोग केवल `adb shell` के माध्यम से किया जा सकता है। +> अधिक जानकारी: । + +- किसी एकल वर्ण के लिए किसी एंड्रॉइड डिवाइस पर ईवेंट कोड भेजें:: + +`input keyevent {{ईवेंट_कोड}}` + +- एंड्रॉइड डिवाइस पर एक टेक्स्ट भेजें (`%s` रिक्त स्थान का प्रतिनिधित्व करता है): + +`input text "{{टेक्स्ट}}"` + +- एंड्रॉइड डिवाइस पर एक टैप भेजें: + +`input tap {{x_पोजीशन}} {{y_पोजीशन}}` + +- एंड्रॉइड डिवाइस पर स्वाइप जेस्चर भेजें: + +`input swipe {{x_शुरू}} {{y_शुरू}} {{x_अंत}} {{y_अंत}} {{ms_में_अवधि}}` + +- स्वाइप जेस्चर का उपयोग करके एंड्रॉइड डिवाइस पर एक लंबी प्रेस भेजें: + +`input swipe {{x_पोजीशन}} {{y_पोजीशन}} {{x_पोजीशन}} {{y_पोजीशन}} {{ms_में_अवधि}}` diff --git a/pages.hi/android/logcat.md b/pages.hi/android/logcat.md new file mode 100644 index 00000000000000..97fc98d3a69ddb --- /dev/null +++ b/pages.hi/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> सिस्टम संदेशों का एक लॉग डंप करें, जिसमें त्रुटि होने पर स्टैक ट्रेस और एप्लिकेशन द्वारा लॉग किए गए सूचना संदेश शामिल हों। +> अधिक जानकारी: । + +- सिस्टम लॉग प्रदर्शित करें: + +`logcat` + +- किसी फ़ाइल में सिस्टम लॉग लिखें: + +`logcat -f {{फ़ाइल/का/पथ}}` + +- ऐसी पंक्तियाँ प्रदर्शित करें जो नियमित अभिव्यक्ति से मेल खाती हों: + +`logcat --regex {{नियमित_अभिव्यक्ति}}` + +- किसी विशिष्ट पीआईडी के लिए लॉग प्रदर्शित करें: + +`logcat --pid {{पीआईडी}}` + +- किसी विशिष्ट पैकेज की प्रक्रिया के लिए लॉग प्रदर्शित करें: + +`logcat --pid $(pidof -s {{पैकेज}})` diff --git a/pages.hi/android/pkg.md b/pages.hi/android/pkg.md new file mode 100644 index 00000000000000..641aec63c79a62 --- /dev/null +++ b/pages.hi/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> टर्मक्स के लिए पैकेज प्रबंधन उपयोगिता। +> अधिक जानकारी: । + +- सभी स्थापित पैकेजों को अपग्रेड करें: + +`pkg upgrade` + +- एक पैकेज स्थापित करें: + +`pkg install {{पैकेज}}` + +- एक पैकेज अनइंस्टॉल करें: + +`pkg uninstall {{पैकेज}}` + +- एक पैकेज पुनः स्थापित करें: + +`pkg reinstall {{पैकेज}}` + +- एक पैकेज खोजें: + +`pkg search {{पैकेज}}` diff --git a/pages.hi/android/pm.md b/pages.hi/android/pm.md new file mode 100644 index 00000000000000..c579e67a0da7b7 --- /dev/null +++ b/pages.hi/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> एंड्रॉइड डिवाइस पर ऐप्स के बारे में जानकारी प्रदर्शित करें। +> अधिक जानकारी: । + +- सभी इंस्टॉल किए गए ऐप्स की सूची बनाएं: + +`pm list packages` + +- सभी इंस्टॉल किए गए सिस्टम ऐप्स की सूची बनाएं: + +`pm list packages -s` + +- सभी इंस्टॉल किए गए तृतीय-पक्ष ऐप्स की सूची बनाएं: + +`pm list packages -3` + +- विशिष्ट कीवर्ड से मेल खाने वाले ऐप्स की सूची बनाएं: + +`pm list packages {{कीवर्ड1 कीवर्ड2 ...}}` + +- किसी विशिष्ट ऐप के एपीके का पथ प्रदर्शित करें: + +`pm path {{ऐप}}` diff --git a/pages.hi/android/screencap.md b/pages.hi/android/screencap.md new file mode 100644 index 00000000000000..eb13e4b5fe8730 --- /dev/null +++ b/pages.hi/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> मोबाइल डिस्प्ले का स्क्रीनशॉट लें। +> इस कमांड का उपयोग केवल `adb shell` के माध्यम से किया जा सकता है। +> अधिक जानकारी: । + +- कोई स्क्रीनशॉट लें: + +`screencap {{फ़ाइल/का/पथ}}` diff --git a/pages.hi/android/settings.md b/pages.hi/android/settings.md new file mode 100644 index 00000000000000..cecf0faf6fb323 --- /dev/null +++ b/pages.hi/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> एंड्रॉइड ओएस के बारे में जानकारी प्राप्त करें। +> अधिक जानकारी: . + +- `global` नेमस्पेस में सेटिंग्स की एक सूची प्रदर्शित करें: + +`settings list {{global}}` + +- किसी विशिष्ट सेटिंग का मान प्राप्त करें: + +`settings get {{global}} {{airplane_mode_on}}` + +- किसी सेटिंग का विशिष्ट मान सेट करें: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- एक विशिष्ट सेटिंग हटाएँ: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.hi/android/wm.md b/pages.hi/android/wm.md new file mode 100644 index 00000000000000..13981728c0856a --- /dev/null +++ b/pages.hi/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> एंड्रॉइड डिवाइस की स्क्रीन के बारे में जानकारी दिखाएं। +> इस कमांड का उपयोग केवल `adb shell` के माध्यम से किया जा सकता है। +> अधिक जानकारी: . + +- एंड्रॉइड डिवाइस की स्क्रीन का भौतिक आकार प्रदर्शित करें: + +`wm size` + +- एंड्रॉइड डिवाइस की स्क्रीन का भौतिक घनत्व प्रदर्शित करें: + +`wm density` diff --git a/pages.hi/common/!.md b/pages.hi/common/!.md new file mode 100644 index 00000000000000..64757c64aa4821 --- /dev/null +++ b/pages.hi/common/!.md @@ -0,0 +1,24 @@ +# ! + +> इतिहास में पाए गए कमांड के साथ विकल्प करने के लिए बैश शेल में अंतर्निर्मित। +> अधिक जानकारी: । + +- सुडो के साथ पिछली कमांड को दोहराएँ: + +`sudo !!` + +- `history` के साथ पाए गए लाइन नंबर के आधार पर एक कमांड के साथ प्रतिस्थापित करें: + +`!{{संख्या}}` + +- निर्धारित संख्या पंक्तियों के आधार पर एक कमांड को प्रतिस्थापित करें: + +`!-{{संख्या}}` + +- सबसे हालिया कमांड से प्रतिस्थापित करें जो स्ट्रिंग से शुरू होता है: + +`!{{स्ट्रिंग}}` + +- नवीनतम आदेश के तर्कों के साथ प्रतिस्थापित करें: + +`{{कमांड}} !*` diff --git a/pages.hi/common/$.md b/pages.hi/common/$.md new file mode 100644 index 00000000000000..510c4a641c4d16 --- /dev/null +++ b/pages.hi/common/$.md @@ -0,0 +1,24 @@ +# $ + +> बैश वैरिएबल का विस्तार करें। +> अधिक जानकारी: । + +- एक वेरिएबल प्रिंट करें: + +`echo ${{वैरिएबल}}` + +- पिछली कमांड की निकास स्थिति प्रिंट करें: + +`echo $?` + +- 0 और 32767 के बीच एक यादृच्छिक संख्या प्रिंट करें: + +`echo $RANDOM` + +- शीघ्र स्ट्रिंग में से एक को प्रिंट करें: + +`echo ${{PS1|PS2|PS3|PS4}}` + +- `कमांड` के आउटपुट के साथ विस्तार करें और इसे चलाएं। बैकटिक्स में `कमांड` संलग्न करने के समान: + +`$({{कमांड}})` diff --git a/pages.hi/common/%.md b/pages.hi/common/%.md new file mode 100644 index 00000000000000..dd77788ee20494 --- /dev/null +++ b/pages.hi/common/%.md @@ -0,0 +1,28 @@ +# % + +> काम प्रबन्ध करता है। +> अधिक जानकारी: । + +- वर्तमान काम को आगे लाता हैं: + +`%` + +- पिछले काम को आगे लाता हैं: + +`%-` + +- काम नंबर `n` को आगे लाता हैं: + +`%{{n}}` + +- काम आगे लाती हैं जिसके आदेश `string` से शुरू होती हैं: + +`%{{string}}` + +- काम आगे लाती हैं जिसके आदेश में `string` हैं: + +`%?{{string}}` + +- निलंबित काम को पूर्व शुरू करता हैं: + +`%{{1}} &` diff --git a/pages.hi/common/7z.md b/pages.hi/common/7z.md new file mode 100644 index 00000000000000..db1982b9017174 --- /dev/null +++ b/pages.hi/common/7z.md @@ -0,0 +1,32 @@ +# 7z + +> उच्च संपीड़न अनुपात के साथ फ़ाइल संग्रहकर्ता। +> अधिक जानकारी: । + +- किसी नए या मौजूदा संग्रह में एक फ़ाइल या निर्देशिका जोड़ें: + +`7z a {{संग्रह.7z/का/पथ}} {{फ़ाइल_या_निर्देशिका/का/पथ}}` + +- किसी मौजूदा संग्रह को एन्क्रिप्ट करें (फ़ाइल नाम सहित): + +`7z a {{एन्क्रिप्टेड.7z/का/पथ}} -p{{पासवर्ड}} -mhe=on {{संग्रह.7z/का/पथ}}` + +- मूल निर्देशिका संरचना को संरक्षित करते हुए एक संग्रह निकालें: + +`7z x {{संग्रह.7z/का/पथ}}` + +- किसी विशिष्ट निर्देशिका में एक संग्रह निकालें: + +`7z x {{संग्रह.7z/का/पथ}} -o{{आउटपुट/का/पथ}}` + +- `stdout` के लिए एक संग्रह निकालें: + +`7z x {{संग्रह.7z/का/पथ}} -so` + +- एक विशिष्ट संग्रह प्रकार का उपयोग करके संग्रह करें: + +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{संग्रह/का/पथ}} {{फ़ाइल_या_निर्देशिका/का/पथ}}` + +- किसी संग्रह की सामग्री को सूचीबद्ध करें: + +`7z l {{संग्रह.7z/का/पथ}}` diff --git a/pages.hi/common/7za.md b/pages.hi/common/7za.md new file mode 100644 index 00000000000000..a6a3a7014b0b09 --- /dev/null +++ b/pages.hi/common/7za.md @@ -0,0 +1,33 @@ +# 7za + +> उच्च संपीड़न अनुपात के साथ फ़ाइल संग्रहकर्ता। +> `7z` के समान, सिवाय इसके कि यह कम फ़ाइल प्रकारों का समर्थन करता है लेकिन क्रॉस-प्लेटफ़ॉर्म है। +> अधिक जानकारी: । + +- किसी फ़ाइल या निर्देशिका को संग्रहित करें: + +`7za a {{संग्रह.7z/का/पथ}} {{फ़ाइल_या_निर्देशिका/का/पथ}}` + +- किसी मौजूदा संग्रह को एन्क्रिप्ट करें (फ़ाइल नामों सहित): + +`7za a {{एन्क्रिप्टेड.7z/का/पथ}} -p{{पासवर्ड}} -mhe={{on}} {{संग्रह.7z/का/पथ}}` + +- मूल निर्देशिका संरचना को संरक्षित करते हुए एक संग्रह निकालें: + +`7za x {{संग्रह.7z/का/पथ}}` + +- किसी संग्रह को किसी विशिष्ट निर्देशिका में निकालें: + +`7za x {{संग्रह.7z/का/पथ}} -o{{आउटपुट/का/पथ}}` + +- `stdout` के लिए एक संग्रह निकालें: + +`7za x {{संग्रह.7z/का/पथ}} -so` + +- एक विशिष्ट संग्रह प्रकार का उपयोग करके संग्रह करें: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{संग्रह.7z/का/पथ}} {{फ़ाइल_या_निर्देशिका/का/पथ}}` + +- किसी संग्रह की सामग्री को सूचीबद्ध करें: + +`7za l {{संग्रह.7z/का/पथ}}` diff --git a/pages.hi/common/7zr.md b/pages.hi/common/7zr.md new file mode 100644 index 00000000000000..b952832fcf2a89 --- /dev/null +++ b/pages.hi/common/7zr.md @@ -0,0 +1,33 @@ +# 7zr + +> उच्च संपीड़न अनुपात के साथ फ़ाइल संग्रहकर्ता। +> `7z` के समान, सिवाय इसके कि यह केवल 7z फ़ाइलों का समर्थन करता है। +> अधिक जानकारी: । + +- किसी फ़ाइल या निर्देशिका को संग्रहित करें: + +`7zr a {{संग्रह.7z/का/पथ}} {{फ़ाइल_या_निर्देशिका/का/पथ}}` + +- किसी मौजूदा संग्रह को एन्क्रिप्ट करें(फ़ाइल नाम सहित): + +`7zr a {{एन्क्रिप्टेड.7z/का/पथ}} -p{{पासवर्ड}} -mhe={{on}} {{संग्रह.7z/का/पथ}}` + +- मूल निर्देशिका संरचना को संरक्षित करते हुए एक संग्रह निकालें: + +`7zr x {{संग्रह.7z/का/पथ}}` + +- किसी विशिष्ट निर्देशिका में एक संग्रह निकालें: + +`7zr x {{संग्रह.7z/का/पथ}} -o{{आउटपुट/का/पथ}}` + +- `स्टडआउट` करने के लिए एक संग्रह निकालें: + +`7zr x {{संग्रह.7z/का/पथ}} -so` + +- किसी संग्रह की सामग्री सूचीबद्ध करें: + +`7zr l {{संग्रह.7z/का/पथ}}` + +- संग्रहसंपीड़न का स्तर निर्धारित करें (उच्च का अर्थ है अधिक संपीड़न, लेकिन धीमा): + +`7zr a {{संग्रह.7z/का/पथ}} -mx={{0|1|3|5|7|9}} {{फ़ाइल_या_निर्देशिका/का/पथ}}` diff --git a/pages.hi/common/^.md b/pages.hi/common/^.md new file mode 100644 index 00000000000000..110d21ef169372 --- /dev/null +++ b/pages.hi/common/^.md @@ -0,0 +1,21 @@ +# ^ + +> बैश क्विक बनाने के लिए पिछले कमांड में एक स्ट्रिंग को प्रतिस्थापित करें और परिणाम को चलाएं। +> के बराबर `!!:s^स्ट्रिंग1^स्ट्रिंग2`। +> अधिक जानकारी: । + +- पिछले कमांड को प्रतिस्थापित करके चलाएँ`स्ट्रिंग1` साथ `स्ट्रिंग2`: + +`^{{स्ट्रिंग1}}^{{स्ट्रिंग2}}` + +- निकालना `स्ट्रिंग1` पिछले आदेश से: + +`^{{स्ट्रिंग1}}^` + +- बदलें `स्ट्रिंग1` साथ `स्ट्रिंग2` पिछले कमांड में और जोड़ें `स्ट्रिंग3` इसके अंत तक: + +`^{{स्ट्रिंग1}}^{{स्ट्रिंग2}}^{{स्ट्रिंग3}}` + +- की सभी घटनाओं को बदलें `स्ट्रिंग1`: + +`^{{स्ट्रिंग1}}^{{स्ट्रिंग2}}^:&` diff --git a/pages.hi/common/a2ping.md b/pages.hi/common/a2ping.md new file mode 100644 index 00000000000000..967712d4f44cf1 --- /dev/null +++ b/pages.hi/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> छवियों को EPS या PDF फाइलों में परिवर्तित करें। +> अधिक जानकारी: । + +- एक छवि को PDF में बदलें (ध्यान दें: आउटपुट फ़ाइल नाम निर्दिष्ट करना वैकल्पिक है): + +`a2ping {{छवि.ext/का/पथ}} {{आउटपुट.pdf/का/पथ}}` + +- निर्दिष्ट विधि का उपयोग करके दस्तावेज़ को संपीड़ित करें: + +`a2ping --nocompress {{none|zip|best|flate}} {{फ़ाइल/का/पथ}}` + +- यदि मौजूद है तो HiResBoundingBox को स्कैन करें (ध्यान दें: यह डिफ़ॉल्ट रूप से हाँ है): + +`a2ping --nohires {{फ़ाइल/का/पथ}}` + +- मूल पृष्ठ के नीचे और बाईं ओर पृष्ठ सामग्री की अनुमति दें (नोट: यह डिफ़ॉल्ट रूप से नहीं है): + +`a2ping --below {{फ़ाइल/का/पथ}}` + +- `gs` के लिए अतिरिक्त तर्क पारित करें: + +`a2ping --gsextra {{तर्क}} {{फ़ाइल/का/पथ}}` + +- बाहरी प्रोग्राम में अतिरिक्त तर्क पास करें (यानी `pdftops`): + +`a2ping --extra {{तर्क}} {{फ़ाइल/का/पथ}}` + +- सहायता प्रदर्शित करें: + +`a2ping -h` diff --git a/pages.hi/common/aapt.md b/pages.hi/common/aapt.md new file mode 100644 index 00000000000000..b8850f9818b2da --- /dev/null +++ b/pages.hi/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> एंड्रॉइड एसेट पैकेजिंग टूल। +> एंड्रॉइड ऐप के संसाधनों को संकलित और पैकेज करें। +> अधिक जानकारी: । + +- APK संग्रह में शामिल फ़ाइलों की सूची बनाएं: + +`aapt list {{ऐप.apk/का/पथ}}` + +- किसी ऐप का मेटाडेटा (संस्करण, अनुमतियाँ, आदि) प्रदर्शित करें: + +`aapt dump badging {{ऐप.apk/का/पथ}}` + +- निर्दिष्ट निर्देशिका से फ़ाइलों के साथ एक नया APK संग्रह बनाएं: + +`aapt package -F {{ऐप.apk/का/पथ}} {{निर्देशिका/का/पथ}}` diff --git a/pages.hi/common/ac.md b/pages.hi/common/ac.md new file mode 100644 index 00000000000000..77b33fb2764829 --- /dev/null +++ b/pages.hi/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> उपयोगकर्ता कितने समय से जुड़े हुए हैं, इसके आँकड़े प्रिंट करें। +> अधिक जानकारी: । + +- प्रिंट करें कि वर्तमान उपयोगकर्ता कितने समय तक कनेक्ट रहा है, घंटों में: + +`ac` + +- उपयोगकर्ता कितनी देर तक जुड़े रहे, इसे घंटों में प्रिंट करें: + +`ac -p` + +- प्रिंट करें कि कोई विशेष उपयोगकर्ता कितने समय से घंटों में जुड़ा हुआ है: + +`ac -p {{उपयोगकर्ता_नाम}}` + +- प्रिंट करें कि कोई विशेष उपयोगकर्ता प्रति दिन घंटों में कितने समय से जुड़ा हुआ है (कुल सहित): + +`ac -dp {{उपयोगकर्ता_नाम}}` diff --git a/pages.hi/common/adb-shell.md b/pages.hi/common/adb-shell.md new file mode 100644 index 00000000000000..c03744046868d1 --- /dev/null +++ b/pages.hi/common/adb-shell.md @@ -0,0 +1,36 @@ +# adb shell + +> एंड्रॉइड डीबग ब्रिज शेल: एंड्रॉइड एमुलेटर इंस्टेंस या कनेक्टेड एंड्रॉइड डिवाइस पर रिमोट शेल कमांड चलाएं। +> अधिक जानकारी: । + +- एम्यूलेटर या डिवाइस पर रिमोट इंटरैक्टिव शेल प्रारंभ करें: + +`adb shell` + +- एम्यूलेटर या डिवाइस से सभी गुण प्राप्त करें: + +`adb shell getprop` + +- सभी रनटाइम अनुमतियों को उनके डिफ़ॉल्ट पर वापस लाएं: + +`adb shell pm reset-permissions` + +- किसी एप्लिकेशन के लिए खतरनाक अनुमति रद्द करें: + +`adb shell pm revoke {{पैकेज}} {{अनुमति}}` + +- एक महत्वपूर्ण घटना को ट्रिगर करें: + +`adb shell input keyevent {{कीकोड}}` + +- किसी एमुलेटर या डिवाइस पर किसी एप्लिकेशन का डेटा साफ़ करें: + +`adb shell pm clear {{पैकेज}}` + +- एम्यूलेटर या डिवाइस पर एक गतिविधि प्रारंभ करें: + +`adb shell am start -n {{पैकेज}}/{{गतिविधि}}` + +- किसी एम्यूलेटर या डिवाइस पर घरेलू गतिविधि प्रारंभ करें: + +`adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN` diff --git a/pages.hi/common/aireplay-ng.md b/pages.hi/common/aireplay-ng.md new file mode 100644 index 00000000000000..13e978f486c779 --- /dev/null +++ b/pages.hi/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> वायरलेस नेटवर्क में पैकेट इंजेक्ट करें। +> `aireplay-ng` का हिस्सा। +> अधिक जानकारी: । + +- एक्सेस प्वाइंट के MAC पते, क्लाइंट के MAC पते और एक इंटरफ़ेस को देखते हुए एक विशिष्ट संख्या में असंबद्ध पैकेट भेजें: + +`sudo aireplay-ng --deauth {{count}} --bssid {{ap_mac}} --dmac {{client_mac}} {{interface}}` diff --git a/pages.hi/common/alias.md b/pages.hi/common/alias.md new file mode 100644 index 00000000000000..646000c53a9406 --- /dev/null +++ b/pages.hi/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> उपनाम बनाता है -- ऐसे शब्द जिन्हें कमांड स्ट्रिंग द्वारा प्रतिस्थापित किया जाता है। +> उपनाम वर्तमान शेल सत्र के साथ समाप्त हो जाता है जब तक कि शेल की कॉन्फ़िगरेशन फ़ाइल में परिभाषित नहीं किया जाता है, उदा। `~/.bashrc`। +> अधिक जानकारी: । + +- सभी उपनामों की सूची बनाएं: + +`alias` + +- एक सामान्य उपनाम बनाएं: + +`alias {{शब्द}}="{{आदेश}}"` + +- किसी दिए गए उपनाम से जुड़ी कमांड देखें: + +`alias {{शब्द}}` + +- एक अलियास कमांड निकालें: + +`unalias {{शब्द}}` + +- `rm` को एक इंटरैक्टिव कमांड में बदलें: + +`alias {{rm}}="{{rm -i}}"` + +- `ls -a` के शॉर्टकट के रूप में `la` बनाएं: + +`alias {{la}}="{{ls -a}}"` diff --git a/pages.hi/common/ant.md b/pages.hi/common/ant.md new file mode 100644 index 00000000000000..88ee1251545904 --- /dev/null +++ b/pages.hi/common/ant.md @@ -0,0 +1,24 @@ +# ant + +> Apache Ant: जावा-आधारित प्रोजेक्ट बनाएं और प्रबंधित करें। +> अधिक जानकारी: । + +- डिफ़ॉल्ट बिल्ड फ़ाइल के साथ एक प्रोजेक्ट बनाएं `build.xml`: + +`ant` + +- बिल्ड फ़ाइल के अलावा अन्य का उपयोग करके एक प्रोजेक्ट बनाएं `build.xml`: + +`ant -f {{buildfile.xml}}` + +- इस परियोजना के लिए संभावित लक्ष्यों पर जानकारी प्रिंट करें: + +`ant -p` + +- डिबगिंग जानकारी प्रिंट करें: + +`ant -d` + +- उन सभी लक्ष्यों को निष्पादित करें जो विफल लक्ष्य पर निर्भर नहीं हैं: + +`ant -k` diff --git a/pages.hi/common/apg.md b/pages.hi/common/apg.md new file mode 100644 index 00000000000000..8270a471042738 --- /dev/null +++ b/pages.hi/common/apg.md @@ -0,0 +1,24 @@ +# apg + +> मनमाने ढंग के जटिल यादृच्छिक पासवर्डों बनाएं। +> अधिक जानकारी: । + +- यादृच्छिक पासवर्डें बनाएं (पासवर्ड की डिफ़ॉल्ट लम्बाई 8 हैं): + +`apg` + +- कम से कम एक चिन्ह (S), एक नंबर (N), एक अपरकेस (C), एक लोअरकेस (L) वाला पासवर्ड बनाएं: + +`apg -M SNCL` + +- 16 चरक्टेर्स के एक पासवर्ड बनाएं: + +`apg -m {{16}}` + +- अधिकतम 16 चरक्टेर्स की लम्बाई का एक पासवर्ड बनाएं: + +`apg -x {{16}}` + +- शब्दकोश में न आने वाला पासवर्ड बनाएं (शब्दकोश की फाइल को देना होगा): + +`apg -r {{शब्दकोश_फाइल/का/पथ}}` diff --git a/pages.hi/common/arch.md b/pages.hi/common/arch.md new file mode 100644 index 00000000000000..f01e73cce280a0 --- /dev/null +++ b/pages.hi/common/arch.md @@ -0,0 +1,9 @@ +# arch + +> सिस्टम आर्किटेक्चर का नाम प्रदर्शित करें। +> `uname` भी देखें। +> अधिक जानकारी: । + +- सिस्टम आर्किटेक्चर प्रदर्शित करें: + +`arch` diff --git a/pages.hi/common/atom.md b/pages.hi/common/atom.md new file mode 100644 index 00000000000000..48deadfd63d228 --- /dev/null +++ b/pages.hi/common/atom.md @@ -0,0 +1,30 @@ +# atom + +> एक क्रॉस-प्लेटफ़ॉर्म प्लग करने योग्य टेक्स्ट संपादक। +> प्लगइन्स को `apm` द्वारा प्रबंधित किया जाता है। +> नोट: एटम ख़त्म हो चुका है और अब इसका सक्रिय रूप से रखरखाव नहीं किया जा रहा है। +> अधिक जानकारी: । + +- कोई फ़ाइल या निर्देशिका खोलें: + +`atom {{फ़ाइल_या_निर्देशिका/का/पथ}}` + +- किसी फ़ाइल या निर्देशिका को नई विंडो में खोलें: + +`atom -n {{फ़ाइल_या_निर्देशिका/का/पथ}}` + +- मौजूदा विंडो में कोई फ़ाइल या निर्देशिका खोलें: + +`atom --add {{फ़ाइल_या_निर्देशिका/का/पथ}}` + +- एटम को सुरक्षित मोड में खोलें (कोई अतिरिक्त पैकेज लोड नहीं करता): + +`atom --safe` + +- एटम को टर्मिनल से जोड़े रखते हुए, एटम को पृष्ठभूमि में जाने से रोकें: + +`atom --foreground` + +- लौटने से पहले एटम विंडो के बंद होने की प्रतीक्षा करें (Git प्रतिबद्ध संपादक के लिए उपयोगी): + +`atom --wait` diff --git a/pages.hi/common/babel.md b/pages.hi/common/babel.md new file mode 100644 index 00000000000000..74736b33a76653 --- /dev/null +++ b/pages.hi/common/babel.md @@ -0,0 +1,36 @@ +# babel + +> एक ट्रांसपिलर जो कोड को जावास्क्रिप्ट ES6/ES7 सिंटैक्स से ES5 सिंटैक्स में परिवर्तित करता है। +> अधिक जानकारी: । + +- एक निर्दिष्ट इनपुट फ़ाइल और आउटपुट को `stdout` में ट्रांसपाइल करें: + +`babel {{फ़ाइल/का/पथ}}` + +- एक निर्दिष्ट इनपुट फ़ाइल और आउटपुट को `stdout` में ट्रांसपाइल करें: + +`babel {{इनपुट_फ़ाइल/का/पथ}} --out-file {{आउटपुट_फाइल/का/पथ}}` + +- हर बार बदले जाने पर इनपुट फ़ाइल को ट्रांसपाइल करें: + +`babel {{इनपुट_फ़ाइल/का/पथ}} --watch` + +- फ़ाइलों की एक पूरी निर्देशिका ट्रांसपाइल करें: + +`babel {{इनपुट_निर्देशिका/का/पथ}}` + +- निर्देशिका में निर्दिष्ट अल्पविराम से अलग की गई फ़ाइलों को अनदेखा करें: + +`babel {{इनपुट_निर्देशिका/का/पथ}} --ignore {{अनदेखा_फ़ाइलें}}` + +- न्यूनतम जावास्क्रिप्ट के रूप में ट्रांसपाइल और आउटपुट: + +`babel {{इनपुट_फ़ाइल/का/पथ}} --minified` + +- आउटपुट फ़ॉर्मेटिंग के लिए प्रीसेट का एक सेट चुनें: + +`babel {{इनपुट_फ़ाइल/का/पथ}} --presets {{प्रीसेटस}}` + +- सभी उपलब्ध विकल्पों को आउटपुट करें: + +`babel --help` diff --git a/pages.hi/common/banner.md b/pages.hi/common/banner.md new file mode 100644 index 00000000000000..6e0714c790b7dc --- /dev/null +++ b/pages.hi/common/banner.md @@ -0,0 +1,16 @@ +# banner + +> दिए गए तर्क को एक बड़ी ASCII कला के रूप में प्रिंट करें। +> अधिक जानकारी: । + +- टेक्स्ट संदेश को बड़े बैनर के रूप में प्रिंट करें (उल्लेख वैकल्पिक हैं): + +`banner "{{नमस्ते दुनिया}}"` + +- टेक्स्ट संदेश को 50 वर्णों की चौड़ाई वाले बैनर के रूप में प्रिंट करें: + +`banner -w 50 "{{नमस्ते दुनिया}}"` + +- स्टडिन से पाठ पढ़ें: + +`banner` diff --git a/pages.hi/common/bfs.md b/pages.hi/common/bfs.md new file mode 100644 index 00000000000000..a346cef16723eb --- /dev/null +++ b/pages.hi/common/bfs.md @@ -0,0 +1,36 @@ +# bfs + +> अपनी फ़ाइलों के लिए चौड़ाई-प्रथम खोज। +> अधिक जानकारी: । + +- एक्सटेंशन द्वारा फ़ाइलें ढूंढें: + +`bfs {{रूट_पथ}} -name '{{*.ext}}'` + +- एकाधिक पथ/नाम पैटर्न से मेल खाने वाली फ़ाइलें ढूंढें: + +`bfs {{रूट_पथ}} -path '{{**/पथ/**/*.ext}}' -or -name '{{*पैटर्न*}}'` + +- केस-असंवेदनशील मोड में, किसी दिए गए नाम से मेल खाने वाली निर्देशिकाएँ खोजें: + +`bfs {{रूट_पथ}} -type d -iname '{{*lib*}}'` + +- विशिष्ट पथों को छोड़कर, किसी दिए गए पैटर्न से मेल खाने वाली फ़ाइलें ढूंढें: + +`bfs {{रूट_पथ}} -name '{{*.py}}' -not -path '{{*/साइट-पैकेज/*}}'` + +- किसी दिए गए आकार सीमा से मेल खाने वाली फ़ाइलें ढूंढें, पुनरावर्ती गहराई को "1" तक सीमित करें: + +`bfs {{रूट_पथ}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- प्रत्येक फ़ाइल के लिए एक कमांड चलाएँ (फ़ाइल नाम तक पहुँचने के लिए कमांड के भीतर `{}` का उपयोग करें): + +`bfs {{रूट_पथ}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- आज संशोधित सभी फ़ाइलें ढूंढें और परिणामों को तर्क के रूप में एकल कमांड में पास करें: + +`bfs {{रूट_पथ}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` + +- खाली फ़ाइलें (0 बाइट) या निर्देशिकाएं ढूंढें और उन्हें शब्दशः हटाएं: + +`bfs {{रूट_पथ}} -type {{f|d}} -empty -delete -print` diff --git a/pages.hi/common/bg.md b/pages.hi/common/bg.md new file mode 100644 index 00000000000000..14b24783c726d3 --- /dev/null +++ b/pages.hi/common/bg.md @@ -0,0 +1,12 @@ +# bg + +> निलंबित किए गए कार्यों को फिर से शुरू करें (जैसे `` का उपयोग करके), और उन्हें पीछे चालू रखता है। +> अधिक जानकारी: । + +- हाल ही में निलंबित किए गए कार्य को फिर से शुरू करें और इसे पीछे चलाएं: + +`bg` + +- एक विशिष्ट कार्य को फिर से शुरू करें (इसकी आईडी प्राप्त करने के लिए `jobs -l` का उपयोग करें) और इसे पीछे चलाएं: + +`bg %{{कार्य_आईडी}}` diff --git a/pages.hi/common/cat.md b/pages.hi/common/cat.md index ab1f18bf18be34..68effe794cadec 100644 --- a/pages.hi/common/cat.md +++ b/pages.hi/common/cat.md @@ -1,6 +1,7 @@ # cat > फ़ाइलों को प्रिंट और संक्षिप्त करें। +> अधिक जानकारी: । - मानक आउटपुट में फ़ाइल की सामग्री प्रिंट करें: @@ -8,16 +9,8 @@ - लक्ष्य फ़ाइल में कई फ़ाइलों को संयुक्त करें: -`cat {{फ़ाइल1}} {{फ़ाइल2}} > {{लक्ष्य_फ़ाइल}}` +`cat {{फ़ाइल1 फ़ाइल2 ...}} > {{लक्ष्य_फ़ाइल}}` - लक्ष्य फ़ाइल के अंत में कई फ़ाइलें संलग्न करें: -`cat {{फ़ाइल1}} {{फ़ाइल2}} >> {{लक्ष्य_फ़ाइल}}` - -- सभी आउटपुट लाइनों की संख्या: - -`cat -n {{फ़ाइल}}` - -- गैर-मुद्रण योग्य और सफेदस्थान पात्र प्रदर्शित करें (M-उपसर्ग के साथ यदि गैर-ASCII): - -`cat -v -t -e {{फ़ाइल}}` +`cat {{फ़ाइल1 फ़ाइल2 ...}} >> {{लक्ष्य_फ़ाइल}}` diff --git a/pages.hi/common/cd.md b/pages.hi/common/cd.md index 0e3a53caa85f0e..f16d3403d6f652 100644 --- a/pages.hi/common/cd.md +++ b/pages.hi/common/cd.md @@ -1,10 +1,11 @@ # cd > वर्तमान कार्य निर्देशिका को बदलें। +> अधिक जानकारी: । - दी गई निर्देशिका पर जाएं: -`cd {{निर्देशिका / का / पथ}}}` +`cd {{निर्देशिका / का / पथ}}` - वर्तमान उपयोगकर्ता की होम निर्देशिका पर जाएं: diff --git a/pages.hi/common/chsh.md b/pages.hi/common/chsh.md deleted file mode 100644 index 884cdbadd2b0c2..00000000000000 --- a/pages.hi/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> उपयोगकर्ता का लॉगिन शेल बदलें। - -- शेल बदलें: - -`chsh -s {{मार्ग/का/शेल_बाइनरी}} {{उपयोगकर्ता_नाम}}` diff --git a/pages.hi/common/cksum.md b/pages.hi/common/cksum.md new file mode 100644 index 00000000000000..7b3ae89f0f6351 --- /dev/null +++ b/pages.hi/common/cksum.md @@ -0,0 +1,9 @@ +# cksum + +> किसी फ़ाइल की CRC चेकसम और बाइट गिनती की गणना करें। +> नोट: पुराने UNIX सिस्टम पर CRC कार्यान्वयन भिन्न हो सकता है। +> अधिक जानकारी: । + +- 32-बिट चेकसम, बाइट्स में आकार और फ़ाइल नाम प्रदर्शित करें: + +`cksum {{फ़ाइल/का/पथ}}` diff --git a/pages.hi/common/clang-cpp.md b/pages.hi/common/clang-cpp.md new file mode 100644 index 00000000000000..dfa35e60add10b --- /dev/null +++ b/pages.hi/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> यह आदेश `clang++` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr clang++` diff --git a/pages.hi/common/clear.md b/pages.hi/common/clear.md new file mode 100644 index 00000000000000..0d5af22978b583 --- /dev/null +++ b/pages.hi/common/clear.md @@ -0,0 +1,20 @@ +# clear + +> टर्मिनल की स्क्रीन साफ़ करें। +> अधिक जानकारी: । + +- स्क्रीन साफ़ करें (बैश शेल में `` दबाने के बराबर): + +`clear` + +- स्क्रीन साफ़ करें लेकिन टर्मिनल का स्क्रॉलबैक बफ़र रखें: + +`clear -x` + +- साफ करने के लिए टर्मिनल के प्रकार को इंगित करें (डिफॉल्ट रूप से एनवायरमेंट वेरिएबल `TERM` का मूल्य): + +`clear -T {{टर्मिनल_का_प्रकार}}` + +- `ncurses` का संस्करण दिखाएं जिसका उपयोग `clear` द्वारा किया गया है: + +`clear -V` diff --git a/pages.hi/common/clojure.md b/pages.hi/common/clojure.md new file mode 100644 index 00000000000000..44ab08f9e5ddb9 --- /dev/null +++ b/pages.hi/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> यह आदेश `clj` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr clj` diff --git a/pages.hi/common/cola.md b/pages.hi/common/cola.md new file mode 100644 index 00000000000000..909bf0918d0e06 --- /dev/null +++ b/pages.hi/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> यह आदेश `git-cola` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr git-cola` diff --git a/pages.hi/common/cp.md b/pages.hi/common/cp.md new file mode 100644 index 00000000000000..db38d3632d5599 --- /dev/null +++ b/pages.hi/common/cp.md @@ -0,0 +1,28 @@ +# cp + +> फाइलों और निर्देशिकाओं की प्रतिलिपि बनाएँ। +> अधिक जानकारी: । + +- किसी फ़ाइल को दूसरे स्थान पर कॉपी करें: + +`cp {{स्रोत_फ़ाइल/का/पथ}} {{लक्ष्य_फ़ाइल/का/पथ}}` + +- फ़ाइल नाम रखते हुए किसी फ़ाइल को दूसरी निर्देशिका में कॉपी करें: + +`cp {{स्रोत_फ़ाइल/का/पथ}} {{लक्ष्य_निर्देशिका/का/पथ}}` + +- किसी निर्देशिका की सामग्री को किसी अन्य स्थान पर दोबारा कॉपी करें (यदि गंतव्य मौजूद है, तो निर्देशिका इसके अंदर कॉपी की गई है): + +`cp -R {{स्रोत_निर्देशिका/का/पथ}} {{लक्ष्य_निर्देशिका/का/पथ}}` + +- एक निर्देशिका को पुनरावर्ती रूप से कॉपी करें, वर्बोज़ मोड में (फ़ाइलों को कॉपी किए जाने के रूप में दिखाता है): + +`cp -vR {{स्रोत_निर्देशिका/का/पथ}} {{लक्ष्य_निर्देशिका/का/पथ}}` + +- टेक्स्ट फ़ाइलों को किसी अन्य स्थान पर इंटरेक्टिव मोड में कॉपी करें (ओवरराइटिंग से पहले उपयोगकर्ता को संकेत देता है): + +`cp -i {{*.txt}} {{लक्ष्य_निर्देशिका/का/पथ}}` + +- कॉपी करने से पहले प्रतीकात्मक लिंक का पालन करें: + +`cp -L {{लिंक}} {{लक्ष्य_निर्देशिका/का/पथ}}` diff --git a/pages.hi/common/disown.md b/pages.hi/common/disown.md new file mode 100644 index 00000000000000..693f46881dffa0 --- /dev/null +++ b/pages.hi/common/disown.md @@ -0,0 +1,21 @@ +# disown + +> उप-प्रक्रियाओं को उस शेल से परे रहने की अनुमति दें जिससे वे जुड़े हुए हैं। +> `jobs` कमांड भी देखें। +> अधिक जानकारी: । + +- वर्तमान कार्य को अस्वीकार करें: + +`disown` + +- किसी विशिष्ट कार्य को अस्वीकार करे: + +`disown %{{कार्य_की_संख्या}}` + +- सभी कार्य को अस्वीकार करें: + +`disown -a` + +- कार्य को रखें (इसे अस्वीकार न करें), लेकिन इसे चिह्नित करें ताकि भविष्य में शेल निकास पर कोई SIGHUP प्राप्त न हो।: + +`disown -h %{{कार्य_की_संख्या}}` diff --git a/pages.hi/common/exit.md b/pages.hi/common/exit.md new file mode 100644 index 00000000000000..29091711376115 --- /dev/null +++ b/pages.hi/common/exit.md @@ -0,0 +1,12 @@ +# exit + +> शेल से बाहर निकलें। +> अधिक जानकारी: । + +- निष्पादित अंतिम कमांड के निकास कोड के साथ शेल से बाहर निकलें: + +`exit` + +- निर्दिष्ट निकास कोड के साथ शेल से बाहर निकलें: + +`exit {{निकास_कोड}}` diff --git a/pages.hi/common/false.md b/pages.hi/common/false.md index fd48cc63b83f13..f6892fde5bd948 100644 --- a/pages.hi/common/false.md +++ b/pages.hi/common/false.md @@ -1,6 +1,7 @@ # false > 1 का एग्जिट कोड लौटाता है। +> अधिक जानकारी: । - 1 का निकास कोड लौटाएँ: diff --git a/pages.hi/common/fg.md b/pages.hi/common/fg.md new file mode 100644 index 00000000000000..549f152ac7d7fc --- /dev/null +++ b/pages.hi/common/fg.md @@ -0,0 +1,12 @@ +# fg + +> कार्य सामने चलाएँ। +> अधिक जानकारी: । + +- हाल ही में निलंबित किए गए पीछे के कार्य को सामने लाएं: + +`fg` + +- एक विशिष्ट कार्य को सामने लाएं: + +`fg %{{कार्य_आईडी}}` diff --git a/pages.hi/common/fossil-ci.md b/pages.hi/common/fossil-ci.md new file mode 100644 index 00000000000000..18fac41a3eabf0 --- /dev/null +++ b/pages.hi/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> यह आदेश `fossil commit`.का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr fossil commit` diff --git a/pages.hi/common/fossil-forget.md b/pages.hi/common/fossil-forget.md new file mode 100644 index 00000000000000..50be3cf620af46 --- /dev/null +++ b/pages.hi/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> यह आदेश `fossil rm` का उपनाम है। +> अधिक जानकारी: । + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr fossil rm` diff --git a/pages.hi/common/fossil-new.md b/pages.hi/common/fossil-new.md new file mode 100644 index 00000000000000..c06a404479933f --- /dev/null +++ b/pages.hi/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> यह आदेश `fossil init`.का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr fossil init` diff --git a/pages.hi/common/fossil-rm.md b/pages.hi/common/fossil-rm.md new file mode 100644 index 00000000000000..d9775bb799c888 --- /dev/null +++ b/pages.hi/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> यह आदेश `fossil delete` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr fossil delete` diff --git a/pages.hi/common/fuck.md b/pages.hi/common/fuck.md new file mode 100644 index 00000000000000..6903fd9c5cf717 --- /dev/null +++ b/pages.hi/common/fuck.md @@ -0,0 +1,16 @@ +# fuck + +> आपके पिछले कंसोल कमांड को ठीक करता है। +> अधिक जानकारी: । + +- `fuck` उपनाम को `thefuck` टूल पर सेट करें: + +`eval "$(thefuck --alias)"` + +- पिछले आदेश के लिए एक नियम से मिलान करने का प्रयास करें: + +`fuck` + +- पहली पसंद की तुरंत पुष्टि करें (सही तर्क झुंझलाहट के स्तर पर निर्भर करता है): + +`fuck --{{yes|yeah|hard}}` diff --git a/pages.hi/common/gh-cs.md b/pages.hi/common/gh-cs.md new file mode 100644 index 00000000000000..08281afcc02dc2 --- /dev/null +++ b/pages.hi/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> यह आदेश `gh codespace`.का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr gh codespace` diff --git a/pages.hi/common/git-init.md b/pages.hi/common/git-init.md index cd97dd25c54e82..7f3d2ae182b8fb 100644 --- a/pages.hi/common/git-init.md +++ b/pages.hi/common/git-init.md @@ -7,6 +7,14 @@ `git init` -- एक नंगे हड्डी के भंडार को शुरू करें, जो ssh के रिमोट के रूप में उपयोग के लिए उपयुक्त है: +- प्रारंभिक शाखा के लिए निर्दिष्ट नाम के साथ एक भंडार शुरू करें: + +`git init {{[-b|--initial-branch]}} {{शाखा_का_नाम}}` + +- ऑब्जेक्ट हैश के लिए SHA256 का उपयोग करके भंडार शुरू करें (गिट संस्करण २.२९+ की आवश्यकता है): + +`git init --object-format sha256` + +- एक अपूरित भंडार को शुरू करें, जो ssh के रिमोट के रूप में उपयोग के लिए उपयुक्त है: `git init --bare` diff --git a/pages.hi/common/git-status.md b/pages.hi/common/git-status.md new file mode 100644 index 00000000000000..d1ff155c0a97f6 --- /dev/null +++ b/pages.hi/common/git-status.md @@ -0,0 +1,21 @@ +# git status + +> गिट रिपॉजिटरी में फाइलों में बदलाव दिखाएं। +> उन पथों को प्रदर्शित करता है जिनमें अनुक्रमणिका फ़ाइल और वर्तमान हेड कमिट के बीच अंतर होता है। +> अधिक जानकारी: । + +- बदली हुई फ़ाइलें दिखाएं जो अभी तक कमिट के लिए नहीं जोड़ी गई हैं: + +`git status` + +- शॉर्ट-फॉर्मेट में आउटपुट दें: + +`git status {{[-s|--short]}}` + +- आउटपुट में ट्रैक न की गई फ़ाइलें न दिखाएं: + +`git status {{[-uno|--untracked-files=no]}}` + +- शाखा की जानकारी के साथ लघु प्रारूप में आउटपुट दिखाएं: + +`git status {{[-sb|--short --branch]}}` diff --git a/pages.hi/common/gnmic-sub.md b/pages.hi/common/gnmic-sub.md new file mode 100644 index 00000000000000..75e59434e1308f --- /dev/null +++ b/pages.hi/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> यह आदेश `gnmic subscribe` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr gnmic subscribe` diff --git a/pages.hi/common/google-chrome.md b/pages.hi/common/google-chrome.md new file mode 100644 index 00000000000000..5e6fb7c17425bd --- /dev/null +++ b/pages.hi/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> यह आदेश `chromium` का उपनाम है। +> अधिक जानकारी: । + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr chromium` diff --git a/pages.hi/common/hx.md b/pages.hi/common/hx.md new file mode 100644 index 00000000000000..843312339c6107 --- /dev/null +++ b/pages.hi/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> यह आदेश `helix` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr helix` diff --git a/pages.hi/common/kafkacat.md b/pages.hi/common/kafkacat.md new file mode 100644 index 00000000000000..8581789a97120d --- /dev/null +++ b/pages.hi/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> यह आदेश `kcat` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr kcat` diff --git a/pages.hi/common/llvm-ar.md b/pages.hi/common/llvm-ar.md new file mode 100644 index 00000000000000..d7a88fea5845a8 --- /dev/null +++ b/pages.hi/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> यह आदेश `ar` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ar` diff --git a/pages.hi/common/llvm-g++.md b/pages.hi/common/llvm-g++.md new file mode 100644 index 00000000000000..9bbd8b8d89a5ec --- /dev/null +++ b/pages.hi/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> यह आदेश `clang++` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr clang++` diff --git a/pages.hi/common/llvm-gcc.md b/pages.hi/common/llvm-gcc.md new file mode 100644 index 00000000000000..869f21747ac173 --- /dev/null +++ b/pages.hi/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> यह आदेश `clang` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr clang` diff --git a/pages.hi/common/llvm-nm.md b/pages.hi/common/llvm-nm.md new file mode 100644 index 00000000000000..0307d5d182e11c --- /dev/null +++ b/pages.hi/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> यह आदेश `nm` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr nm` diff --git a/pages.hi/common/llvm-objdump.md b/pages.hi/common/llvm-objdump.md new file mode 100644 index 00000000000000..3f78180ada7620 --- /dev/null +++ b/pages.hi/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> यह आदेश `objdump` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr objdump` diff --git a/pages.hi/common/llvm-strings.md b/pages.hi/common/llvm-strings.md new file mode 100644 index 00000000000000..c1b76440e1832f --- /dev/null +++ b/pages.hi/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> यह आदेश `strings` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr strings` diff --git a/pages.hi/common/ln.md b/pages.hi/common/ln.md new file mode 100644 index 00000000000000..3d3a8d60d37e58 --- /dev/null +++ b/pages.hi/common/ln.md @@ -0,0 +1,16 @@ +# ln + +> फाइलों और निर्देशिकाओं के लिंक बनाता है। +> अधिक जानकारी: । + +- किसी फ़ाइल या निर्देशिका के लिए एक प्रतीकात्मक लिंक बनाएँ: + +`ln {{[-s|--symbolic]}} {{/फ़ाइल_या_निर्देशिका/का/पथ}} {{लिंक/का/पथ}}` + +- किसी भिन्न फ़ाइल को इंगित करने के लिए मौजूदा प्रतीकात्मक लिंक को अधिलेखित करें: + +`ln {{[-sf|--symbolic --force]}} {{/नई_फ़ाइल/का/पथ}} {{लिंक/का/पथ}}` + +- किसी फ़ाइल का हार्ड लिंक बनाएँ: + +`ln {{/फ़ाइल/का/पथ}} {{हार्डलिंक/का/पथ}}` diff --git a/pages.hi/common/ls.md b/pages.hi/common/ls.md index 47748f428da411..60b8f865b88a6b 100644 --- a/pages.hi/common/ls.md +++ b/pages.hi/common/ls.md @@ -1,31 +1,36 @@ # ls -> निर्देशिका सामग्री को सूचीबद्ध करें। +> डायरेक्टरी की सामग्री की सूची दिखाएं। +> अधिक जानकारी: । -- प्रति पंक्ति एक फ़ाइल की सूची बनाएं: +- एक प्रति पंक्ति फ़ाइलों की सूची दिखाएं: `ls -1` -- छिपी हुई फाइलों सहित सभी फाइलों की सूची बनाएं: +- सभी फ़ाइलें दिखाएं, छुपी हुई फ़ाइलें समेत: -`ls -a` +`ls {{[-a|--all]}}` -- सभी फाइलों को सूचीबद्ध करें, '/' के साथ निर्देशिका नामों को समाप्त करें: +- सभी फ़ाइलों की सूची दिखाएं, जहाँ नामों के आखिर में `/` जोड़ा गया है: -`ls -F` +`ls {{[-F|--classify]}}` -- सभी फ़ाइलों की लंबी प्रारूप सूची (अनुमतियाँ, स्वामित्व, आकार और परिवर्तन तिथि): +- सभी फ़ाइलों की लॉन्ग सूची (अनुमतियाँ, स्वामित्व, आकार, और संशोधन तिथि) दिखाएं: -`ls -la` +`ls {{[-la|--all -l]}}` -- मानव पठनीय इकाइयों (KB, MB, GB) का उपयोग करके प्रदर्शित आकार के साथ लंबी प्रारूप सूची: +- लॉन्ग सूची जिसमें ह्यूमन-रीडेबल इकाइयों (KiB, MiB, GiB) का उपयोग करके आकार दिखाया गया है: -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` -- आकार के अनुसार क्रमबद्ध लंबी सूची (घटते हुए):: +- आकार के आधार पर क्रमबद्ध की गई लॉन्ग सूची (अवरोही): -`ls -lS` +`ls {{-lSR|-lS --recursive}}` -- संशोधन की तारीख (सबसे पहले) द्वारा क्रमबद्ध सभी फाइलों की लंबी प्रारूप सूची: +- संशोधन तिथि के क्रम में क्रमबद्ध की गई सभी फ़ाइलों की लॉन्ग सूची (सबसे पुरानी पहले): -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` + +- केवल डायरेक्टरी दिखाएं: + +`ls {{[-d|--directory]}} */` diff --git a/pages.hi/common/lzcat.md b/pages.hi/common/lzcat.md new file mode 100644 index 00000000000000..699ad6a42d3339 --- /dev/null +++ b/pages.hi/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> यह आदेश `xz` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr xz` diff --git a/pages.hi/common/lzma.md b/pages.hi/common/lzma.md new file mode 100644 index 00000000000000..f0fc87fc6ab90a --- /dev/null +++ b/pages.hi/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> यह आदेश `xz` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr xz` diff --git a/pages.hi/common/magick-compare.md b/pages.hi/common/magick-compare.md new file mode 100644 index 00000000000000..42bff02b0fce9c --- /dev/null +++ b/pages.hi/common/magick-compare.md @@ -0,0 +1,12 @@ +# magick compare + +> 2 छवियों के बीच अंतर देखें। +> अधिक जानकारी: । + +- 2 छवियों की तुलना करें: + +`magick compare {{छवि1.png}} {{छवि2.png}} {{अंतर.png}}` + +- कस्टम मीट्रिक का उपयोग करके 2 छवियों की तुलना करें: + +`magick compare -verbose -metric {{PSNR}} {{छवि1.png}} {{छवि2.png}} {{अंतर.png}}` diff --git a/pages.hi/common/mkdir.md b/pages.hi/common/mkdir.md index a29a2d4c5e1468..b9d822edb37ca6 100644 --- a/pages.hi/common/mkdir.md +++ b/pages.hi/common/mkdir.md @@ -1,11 +1,12 @@ # mkdir > एक निर्देशिका बनाता है। +> अधिक जानकारी: । - वर्तमान निर्देशिका या दिए गए पथ में एक निर्देशिका बनाएँ: -`mkdir {{निर्देशिका}}}` +`mkdir {{निर्देशिका}}` - निर्देशिका बनाएँ पुनरावर्ती (अंतर प्रविष्ट निर्देशिका बनाने के लिए उपयोगी): -`mkdir -p {{निर्देशिका / का / पथ}}}` +`mkdir {{[-p|--parents]}} {{निर्देशिका / का / पथ}}` diff --git a/pages.hi/common/mscore.md b/pages.hi/common/mscore.md new file mode 100644 index 00000000000000..713c8640f92830 --- /dev/null +++ b/pages.hi/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> यह आदेश `musescore` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr musescore` diff --git a/pages.hi/common/mv.md b/pages.hi/common/mv.md new file mode 100644 index 00000000000000..669418536b01b6 --- /dev/null +++ b/pages.hi/common/mv.md @@ -0,0 +1,28 @@ +# mv + +> फ़ाइलों और निर्देशिकाओं को स्थानांतरित या नाम बदलें। +> अधिक जानकारी: । + +- किसी फ़ाइल को मनमाना स्थान पर ले जाएँ: + +`mv {{स्रोत/का/पथ}} {{लक्ष्य/का/पथ}}` + +- फ़ाइल नाम रखते हुए फ़ाइलों को दूसरी निर्देशिका में ले जाएँ: + +`mv {{स्रोत1/का/पथ स्रोत2/का/पथ ...}} {{लक्ष्य_निर्देशिका/का/पथ}}` + +- मौजूदा फाइलों को अधिलेखित करने से पहले पुष्टि के लिए संकेत न दें: + +`mv {{[-f|--force]}} {{स्रोत/का/पथ}} {{लक्ष्य/का/पथ}}` + +- फ़ाइल अनुमतियों की परवाह किए बिना, मौजूदा फ़ाइलों को अधिलेखित करने से पहले पुष्टि के लिए संकेत दें: + +`mv {{[-i|--interactive]}} {{स्रोत/का/पथ}} {{लक्ष्य/का/पथ}}` + +- लक्ष्य पर मौजूदा फाइलों को अधिलेखित न करें: + +`mv {{[-n|--no-clobber]}} {{स्रोत/का/पथ}} {{लक्ष्य/का/पथ}}` + +- फ़ाइलों को वर्बोज़ मोड में ले जाएँ, फ़ाइलों को स्थानांतरित करने के बाद दिखाएँ: + +`mv {{[-v|--verbose]}} {{स्रोत/का/पथ}} {{लक्ष्य/का/पथ}}` diff --git a/pages.hi/common/neofetch.md b/pages.hi/common/neofetch.md new file mode 100644 index 00000000000000..1744f772bd39f7 --- /dev/null +++ b/pages.hi/common/neofetch.md @@ -0,0 +1,20 @@ +# neofetch + +> आपके ऑपरेटिंग सिस्टम, सॉफ्टवेयर और हार्डवेयर के बारे में जानकारी प्रदर्शित करने के लिए CLI टूल। +> अधिक जानकारी: । + +- डिफ़ॉल्ट कॉन्फ़िगरेशन लौटाएं, और इसे बनाएं यदि यह पहली बार प्रोग्राम चलता है: + +`neofetch` + +- आउटपुट में दिखाई देने से एक जानकारी लाइन को ट्रिगर करें, जहां 'infoname' कॉन्फ़िगरेशन फ़ाइल में फ़ंक्शन नाम है, उदा। स्मृति: + +`neofetch --{{enable|disable}} {{infoname}}` + +- OS आर्किटेक्चर छुपाएं/दिखाएं: + +`neofetch --os_arch {{on|off}}` + +- आउटपुट में CPU ब्रांड को सक्षम/अक्षम करें: + +`neofetch --cpu_brand {{on|off}}` diff --git a/pages.hi/common/nm-classic.md b/pages.hi/common/nm-classic.md new file mode 100644 index 00000000000000..50cdaf86997ec2 --- /dev/null +++ b/pages.hi/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> यह आदेश `nm` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr nm` diff --git a/pages.hi/common/npm-init.md b/pages.hi/common/npm-init.md new file mode 100644 index 00000000000000..39cc65b085661b --- /dev/null +++ b/pages.hi/common/npm-init.md @@ -0,0 +1,16 @@ +# npm init + +> एक `package.json` फ़ाइल बनाएँ। +> अधिक जानकारी: । + +- संकेतों के साथ एक नया पैकेज प्रारंभ करें: + +`npm init` + +- डिफ़ॉल्ट मानों के साथ एक नया पैकेज प्रारंभ करें: + +`npm init {{[-y|--yes]}}` + +- एक विशिष्ट इनिशियलाइज़र का उपयोग करके एक नया पैकेज प्रारंभ करें: + +`npm init {{create-react-app}} {{my-app}}` diff --git a/pages.hi/common/ntl.md b/pages.hi/common/ntl.md new file mode 100644 index 00000000000000..469c4c8f51f0aa --- /dev/null +++ b/pages.hi/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> यह आदेश `netlify` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr netlify` diff --git a/pages.hi/common/pio-init.md b/pages.hi/common/pio-init.md new file mode 100644 index 00000000000000..39a5127ed2c675 --- /dev/null +++ b/pages.hi/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> यह आदेश `pio project` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr pio project` diff --git a/pages.hi/common/piodebuggdb.md b/pages.hi/common/piodebuggdb.md new file mode 100644 index 00000000000000..64eae15c592d98 --- /dev/null +++ b/pages.hi/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> यह आदेश `pio debug` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr pio debug` diff --git a/pages.hi/common/platformio.md b/pages.hi/common/platformio.md new file mode 100644 index 00000000000000..79e580c4a5145e --- /dev/null +++ b/pages.hi/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> यह आदेश `pio` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr pio` diff --git a/pages.hi/common/ptpython3.md b/pages.hi/common/ptpython3.md new file mode 100644 index 00000000000000..a56c953f9fb877 --- /dev/null +++ b/pages.hi/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> यह आदेश `ptpython` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ptpython` diff --git a/pages.hi/common/pwd.md b/pages.hi/common/pwd.md new file mode 100644 index 00000000000000..2e41309e74ae46 --- /dev/null +++ b/pages.hi/common/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> वर्तमान/कार्यशील निर्देशिका का नाम देखें। +> अधिक जानकारी: । + +- वर्तमान निर्देशिका का नाम देखें: + +`pwd` + +- वर्तमान निर्देशिका का नाम देखें और सभी सिम्लिंक को हल करें (यानी "भौतिक" पथ दिखाएं): + +`pwd {{[-P|--physical]}}` diff --git a/pages.hi/common/python3.md b/pages.hi/common/python3.md new file mode 100644 index 00000000000000..97ebc3873223d9 --- /dev/null +++ b/pages.hi/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> यह आदेश `python` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr python` diff --git a/pages.hi/common/r2.md b/pages.hi/common/r2.md new file mode 100644 index 00000000000000..fb72418f791582 --- /dev/null +++ b/pages.hi/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> यह आदेश `radare2` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr radare2` diff --git a/pages.hi/common/rcat.md b/pages.hi/common/rcat.md new file mode 100644 index 00000000000000..342cfbad1cd808 --- /dev/null +++ b/pages.hi/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> यह आदेश `rc` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr rc` diff --git a/pages.hi/common/rmdir.md b/pages.hi/common/rmdir.md new file mode 100644 index 00000000000000..386668ea0bdc93 --- /dev/null +++ b/pages.hi/common/rmdir.md @@ -0,0 +1,12 @@ +# rmdir + +> निर्देशिका को हटाता है। +> अधिक जानकारी: । + +- निर्देशिका निकालें, बशर्ते वह खाली हो। गैर-रिक्त निर्देशिकाओं को हटाने के लिए `rm -r` का उपयोग करें: + +`rmdir {{निर्देशिका / का / पथ}}` + +- लक्ष्य और उसकी मूल निर्देशिका निकालें (नेस्टेड निर्देशिकाओं के लिए उपयोगी): + +`rmdir -p {{निर्देशिका / का / पथ}}` diff --git a/pages.hi/common/scp.md b/pages.hi/common/scp.md new file mode 100644 index 00000000000000..fd1a6be8d4675d --- /dev/null +++ b/pages.hi/common/scp.md @@ -0,0 +1,33 @@ +# scp + +> सुरक्षित प्रति। +> SSH पर सिक्योर कॉपी प्रोटोकॉल का उपयोग करके होस्ट के बीच फ़ाइलों की प्रतिलिपि बनाएँ। +> अधिक जानकारी: । + +- स्थानीय फ़ाइल को दूरस्थ होस्ट पर कॉपी करें: + +`scp {{लोकल_फ़ाइल/का/स्थान​}} {{रिमोट_होस्ट}}:{{रिमोट_फ़ाइल/का/स्थान​}}` + +- रिमोट होस्ट से कनेक्ट करते समय एक विशिष्ट पोर्ट का उपयोग करें: + +`scp -P {{पोर्ट​}} {{लोकल_फ़ाइल/का/स्थान​}} {{रिमोट_होस्ट}}:{{रिमोट_फ़ाइल/का/स्थान​}}` + +- किसी फ़ाइल को दूरस्थ होस्ट से स्थानीय निर्देशिका में कॉपी करें: + +`scp {{रिमोट_होस्ट}}:{{रिमोट_फ़ाइल/का/स्थान​}} {{लोकल_डाइरेक्टरी/का/स्थान​}}` + +- किसी निर्देशिका की सामग्री को दूरस्थ होस्ट से स्थानीय निर्देशिका में पुन: कॉपी करें: + +`scp -r {{रिमोट_होस्ट}}:{{रिमोट_डाइरेक्टरी/का/स्थान​}} {{लोकल_डाइरेक्टरी/का/स्थान​}}` + +- स्थानीय होस्ट के माध्यम से स्थानांतरित होने वाले दो दूरस्थ होस्ट के बीच फ़ाइल की प्रतिलिपि बनाएँ: + +`scp -3 {{पेहला_होस्ट}}:{{रिमोट_फ़ाइल/का/स्थान​}} {{दूस्रा_होस्ट}}:{{रिमोट_डाइरेक्टरी/का/स्थान​}}` + +- दूरस्थ होस्ट से कनेक्ट करते समय एक विशिष्ट उपयोगकर्ता नाम का उपयोग करें: + +`scp {{लोकल_फ़ाइल/का/स्थान​}} {{रिमोट_उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}}:{{रिमोट_डाइरेक्टरी/का/स्थान​}}` + +- दूरस्थ होस्ट के साथ प्रमाणीकरण के लिए विशिष्ट ssh निजी कुंजी का उपयोग करें: + +`scp -i {{प्राइवेट_"की"/का/स्थान​}} {{लोकल_फ़ाइल/का/स्थान​}} {{रिमोट_होस्ट}}:{{/रिमोट_फ़ाइल/का/स्थान​}}` diff --git a/pages.hi/common/sleep.md b/pages.hi/common/sleep.md new file mode 100644 index 00000000000000..c47342a605befa --- /dev/null +++ b/pages.hi/common/sleep.md @@ -0,0 +1,16 @@ +# sleep + +> निर्दिष्ट समय के लिए विलंब जोड़ें। +> अधिक जानकारी: । + +- सेकंड में देरी: + +`sleep {{सेकंड}}` + +- मिनटों में देरी: + +`sleep {{मिनट}}m` + +- घंटों में देरी: + +`sleep {{घंटे}}h` diff --git a/pages.hi/common/ssh.md b/pages.hi/common/ssh.md new file mode 100644 index 00000000000000..c59dca504adab4 --- /dev/null +++ b/pages.hi/common/ssh.md @@ -0,0 +1,37 @@ +# ssh + +> सिक्योर शेल एक प्रोटोकॉल है जिसका उपयोग रिमोट सिस्टम पर सुरक्षित रूप से लॉग ऑन करने के लिए किया जाता है। +> इसका उपयोग रिमोट सर्वर पर लॉगिंग या कमांड निष्पादित करने के लिए किया जा सकता है। +> अधिक जानकारी: । + +- रिमोट सर्वर से कनेक्ट करें: + +`ssh {{उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}}` + +- एक विशिष्ट पहचान (निजी कुंजी) के साथ एक दूरस्थ सर्वर से कनेक्ट करें: + +`ssh -i {{फ़ाइल/का/स्थान}} {{उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}}` + +- किसी विशिष्ट पोर्ट का उपयोग करके किसी दूरस्थ सर्वर से कनेक्ट करें: + +`ssh {{उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}} -p {{2222}}` + +- रिमोट सर्वर पर [t] ty आवंटन के साथ एक कमांड चलाएँ जो रिमोट कमांड के साथ इंटरेक्शन की अनुमति देता है: + +`ssh {{उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}} -t {{कमांड}} {{कमांड_विकल्प}}` + +- SSH टनलिंग: डायनेमिक पोर्ट फ़ॉरवर्डिंग (`लोकलहोस्ट: 1080 पर SOCKS प्रॉक्सी): + +`ssh -D {{1080}} {{उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}}` + +- एसएसएच टनलिंग: एक विशिष्ट पोर्ट (`लोकलहोस्ट: 9999` से `example.org:80`) को अग्रेषित करें, साथ ही छद्म-[टी] ty आवंटन और रिमोट कमांड के निष्पादन [एन] को अक्षम करने के साथ: + +`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}}` + +- SSH जंपिंग: एक जम्पहोस्ट के माध्यम से एक दूरस्थ सर्वर से कनेक्ट करें (कई जंप हॉप्स को अल्पविराम वर्णों से अलग करके निर्दिष्ट किया जा सकता है): + +`ssh -J {{उपयोगकर्ता_नाम}}@{{जंप_होस्ट}} {{उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}}` + +- एजेंट अग्रेषण: रिमोट मशीन को प्रमाणीकरण जानकारी अग्रेषित करें (उपलब्ध विकल्पों के लिए `man ssh_config` देखें): + +`ssh -A {{उपयोगकर्ता_नाम}}@{{रिमोट_होस्ट}}` diff --git a/pages.hi/common/starship.md b/pages.hi/common/starship.md new file mode 100644 index 00000000000000..2c621fafb8ba88 --- /dev/null +++ b/pages.hi/common/starship.md @@ -0,0 +1,37 @@ +# starship + +> किसी भी शेल के लिए न्यूनतम, तेज़, और अनंत अनुकूलन योग्य प्रॉम्प्ट। +> कुछ उपकमांड जैसे `init` का अपना उपयोग दस्तावेज़ है। +> अधिक जानकारी: । + +- निर्दिष्ट शेल के लिए स्टारशिप एकीकरण कोड प्रिंट करें: + +`starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh|nu|xonsh|cmd}}` + +- वर्तमान प्रॉम्प्ट के प्रत्येक भाग को समझाएं और उन्हें रेंडर करने में लगे समय को दिखाएं: + +`starship explain` + +- गणना की गई स्टारशिप कॉन्फ़िगरेशन प्रिंट करें (डिफ़ॉल्ट कॉन्फ़िगरेशन प्रिंट करने के लिए `--default` का उपयोग करें): + +`starship print-config` + +- समर्थित मॉड्यूल की सूची बनाएं: + +`starship module --list` + +- डिफ़ॉल्ट संपादक में स्टारशिप कॉन्फ़िगरेशन संपादित करें: + +`starship config` + +- सिस्टम और स्टारशिप कॉन्फ़िगरेशन के बारे में जानकारी के साथ पूर्व-भरे हुए बग रिपोर्ट GitHub मुद्दा बनाएं: + +`starship bug-report` + +- निर्दिष्ट शेल के लिए पूर्णता स्क्रिप्ट प्रिंट करें: + +`starship completions {{bash|elvish|fish|powershell|zsh}}` + +- उपकमांड के लिए सहायता प्रदर्शित करें: + +`starship {{उपकमांड}} --help` diff --git a/pages.hi/common/stat.md b/pages.hi/common/stat.md new file mode 100644 index 00000000000000..e386202b4fa43e --- /dev/null +++ b/pages.hi/common/stat.md @@ -0,0 +1,28 @@ +# stat + +> फ़ाइल और फ़ाइल सिस्टम की जानकारी दिखाएँ। +> अधिक जानकारी: । + +- एक विशिष्ट फ़ाइल के गुण दिखाएँ जैसे आकार, अनुमतियाँ, निर्माण और पहुँच तिथियाँ आदि: + +`stat {{फ़ाइल/का/पथ}}` + +- एक विशिष्ट फ़ाइल के गुण दिखाएँ जैसे आकार, अनुमतियाँ, निर्माण और पहुँच तिथियाँ आदि बिना लेबल के: + +`stat --terse {{फ़ाइल/का/पथ}}` + +- उस फ़ाइल सिस्टम की जानकारी दिखाएँ जहाँ एक विशिष्ट फ़ाइल स्थित है: + +`stat --file-system {{फ़ाइल/का/पथ}}` + +- केवल ऑक्टल फ़ाइल अनुमतियाँ दिखाएँ: + +`stat --format="%a %n" {{फ़ाइल/का/पथ}}` + +- एक विशिष्ट फ़ाइल का मालिक और समूह दिखाएँ: + +`stat --format="%U %G" {{फ़ाइल/का/पथ}}` + +- एक विशिष्ट फ़ाइल का आकार बाइट्स में दिखाएँ: + +`stat --format="%s %n" {{फ़ाइल/का/पथ}}` diff --git a/pages.hi/common/stdbuf.md b/pages.hi/common/stdbuf.md new file mode 100644 index 00000000000000..09294601d161d0 --- /dev/null +++ b/pages.hi/common/stdbuf.md @@ -0,0 +1,16 @@ +# stdbuf + +> एक कमांड को उसके मानक स्ट्रीम के लिए संशोधित बफरिंग ऑपरेशनों के साथ चलाएं। +> अधिक जानकारी: । + +- `stdin` बफर का आकार 512 KiB में बदलें: + +`stdbuf --input=512K {{आदेश}}` + +- `stdout` बफर को लाइन-बफर्ड में बदलें: + +`stdbuf --output=L {{आदेश}}` + +- `stderr` बफर को अनबफर्ड में बदलें: + +`stdbuf --error=0 {{आदेश}}` diff --git a/pages.hi/common/steam.md b/pages.hi/common/steam.md new file mode 100644 index 00000000000000..000b23c8e173e3 --- /dev/null +++ b/pages.hi/common/steam.md @@ -0,0 +1,28 @@ +# steam + +> वॉल्व द्वारा वीडियो गेम प्लेटफ़ॉर्म। +> अधिक जानकारी: । + +- स्टीम लॉन्च करें, `stdout` पर डिबग संदेश प्रिंट करें: + +`steam` + +- स्टीम लॉन्च करें और इसकी इन-ऐप डिबग कंसोल टैब सक्षम करें: + +`steam -console` + +- चल रहे स्टीम उदाहरण में स्टीम कंसोल टैब सक्षम करें और खोलें: + +`steam steam://open/console` + +- निर्दिष्ट क्रेडेंशियल्स के साथ स्टीम में लॉगिन करें: + +`steam -login {{उपयोगकर्ता_नाम}} {{पासवर्ड}}` + +- स्टीम को बिग पिक्चर मोड में लॉन्च करें: + +`steam -tenfoot` + +- स्टीम से बाहर निकलें: + +`steam -shutdown` diff --git a/pages.hi/common/steamcmd.md b/pages.hi/common/steamcmd.md new file mode 100644 index 00000000000000..13b947d663fdeb --- /dev/null +++ b/pages.hi/common/steamcmd.md @@ -0,0 +1,16 @@ +# steamcmd + +> स्टीम क्लाइंट का एक कमांड-लाइन संस्करण। +> अधिक जानकारी: । + +- एक एप्लिकेशन को गुमनाम रूप से स्थापित या अपडेट करें: + +`steamcmd +login {{गुमनाम}} +app_update {{ऐप आईडी}} +quit` + +- निर्दिष्ट क्रेडेंशियल का उपयोग करके एक एप्लिकेशन को स्थापित या अपडेट करें: + +`steamcmd +login {{उपयोगकर्ता_नाम}} +app_update {{ऐप आईडी}} +quit` + +- एक विशिष्ट प्लेटफॉर्म के लिए एक एप्लिकेशन स्थापित करें: + +`steamcmd +@sSteamCmdForcePlatformType {{windows}} +login {{गुमनाम}} +app_update {{ऐप आईडी}} validate +quit` diff --git a/pages.hi/common/step.md b/pages.hi/common/step.md new file mode 100644 index 00000000000000..1b2ef8d538dfc1 --- /dev/null +++ b/pages.hi/common/step.md @@ -0,0 +1,37 @@ +# step + +> सार्वजनिक कुंजी अवसंरचना (PKI) सिस्टम और कार्यप्रवाह बनाने, संचालित करने और स्वचालित करने के लिए एक उपयोग में आसान CLI उपकरण। +> देखें: `openssl`। +> अधिक जानकारी: । + +- एक प्रमाणपत्र की सामग्री का निरीक्षण करें: + +`step certificate inspect {{सर्टिफिकेट.crt/का/पथ}}` + +- एक रूट CA प्रमाणपत्र और एक कुंजी बनाएँ (निजी कुंजी पासवर्ड सुरक्षा को छोड़ने के लिए `--no-password --insecure` जोड़ें): + +`step certificate create "{{उदाहरण Root CA}}" {{रूट-सीए.crt/का/पथ}} {{रूट-ca.key/का/पथ}} --profile root-ca` + +- एक विशिष्ट होस्टनाम के लिए एक प्रमाणपत्र उत्पन्न करें और इसे रूट CA के साथ हस्ताक्षरित करें (सरलीकरण के लिए CSR उत्पन्न करना छोड़ सकते हैं): + +`step certificate create {{hostname.example.com}} {{hostname.crt/का/पथ}} {{hostname.key/का/पथ}} --profile leaf --ca {{root-ca.crt/का/पथ}} --ca-key {{root-ca.key/का/पथ}}` + +- एक प्रमाणपत्र श्रृंखला की पुष्टि करें: + +`step certificate verify {{hostname.crt/का/पथ}} --roots {{root-ca.crt/का/पथ}} --verbose` + +- PEM फ़ॉर्मेट के प्रमाणपत्र को DER में परिवर्तित करें और इसे डिस्क पर लिखें: + +`step certificate format {{certificate.pem/का/पथ}} --out {{certificate.der/का/पथ}}` + +- सिस्टम के डिफ़ॉल्ट ट्रस्ट स्टोर में एक रूट प्रमाणपत्र स्थापित करें या हटा दें: + +`step certificate {{install|uninstall}} {{root-ca.crt/का/पथ}}` + +- एक RSA/EC निजी और सार्वजनिक कुंजी जोड़ी बनाएँ (निजी कुंजी पासवर्ड सुरक्षा को छोड़ने के लिए `--no-password --insecure` जोड़ें): + +`step crypto keypair {{सार्वजनिक/कुंजी/का/पथ}} {{निजी/कुंजी/का/पथ}} --kty {{RSA|EC}}` + +- उप-कमांड के लिए सहायता दिखाएँ: + +`step {{path|base64|certificate|completion|context|crl|crypto|oauth|ca|beta|ssh}} --help` diff --git a/pages.hi/common/stern.md b/pages.hi/common/stern.md new file mode 100644 index 00000000000000..52058959f69570 --- /dev/null +++ b/pages.hi/common/stern.md @@ -0,0 +1,28 @@ +# stern + +> Kubernetes से कई पॉड और कंटेनरों का टेल करें। +> अधिक जानकारी: । + +- वर्तमान नामस्थान में सभी पॉड्स का टेल करें: + +`stern .` + +- एक विशिष्ट स्थिति वाले सभी पॉड्स का टेल करें: + +`stern . --container-state {{चल रहा है|इंतज़ार कर रहा है|समाप्त हुआ}}` + +- एक दिए गए नियमित अभिव्यक्ति से मेल खाने वाले सभी पॉड्स का टेल करें: + +`stern {{पॉड_क्वेरी}}` + +- सभी नामस्थान से मेल खाने वाले पॉड्स का टेल करें: + +`stern {{पॉड_क्वेरी}} --all-namespaces` + +- 15 मिनट पहले के मेल खाने वाले पॉड्स का टेल करें: + +`stern {{पॉड_क्वेरी}} --since {{15m}}` + +- एक विशिष्ट लेबल वाले मेल खाने वाले पॉड्स का टेल करें: + +`stern {{पॉड_क्वेरी}} --selector {{release=canary}}` diff --git a/pages.hi/common/stl2gts.md b/pages.hi/common/stl2gts.md new file mode 100644 index 00000000000000..a330f1f8ebe833 --- /dev/null +++ b/pages.hi/common/stl2gts.md @@ -0,0 +1,24 @@ +# stl2gts + +> STL फ़ाइलों को GTS (GNU त्रिकोणित सतह पुस्तकालय) फ़ाइल प्रारूप में परिवर्तित करें। +> अधिक जानकारी: । + +- एक STL फ़ाइल को GTS फ़ाइल में परिवर्तित करें: + +`stl2gts < {{फ़ाइल.stl/का/पथ}} > {{फ़ाइल.gts/का/पथ}}` + +- एक STL फ़ाइल को GTS फ़ाइल में परिवर्तित करें और फेस नॉर्मल्स को उलटें: + +`stl2gts --revert < {{फ़ाइल.stl/का/पथ}} > {{फ़ाइल.gts/का/पथ}}` + +- एक STL फ़ाइल को GTS फ़ाइल में परिवर्तित करें और वर्टिस को मर्ज न करें: + +`stl2gts --nomerge < {{फ़ाइल.stl/का/पथ}} > {{फ़ाइल.gts/का/पथ}}` + +- एक STL फ़ाइल को GTS फ़ाइल में परिवर्तित करें और सतह के आँकड़े प्रदर्शित करें: + +`stl2gts --verbose < {{फ़ाइल.stl/का/पथ}} > {{फ़ाइल.gts/का/पथ}}` + +- सहायता प्रदर्शित करें: + +`stl2gts --help` diff --git a/pages.hi/common/stormlock.md b/pages.hi/common/stormlock.md new file mode 100644 index 00000000000000..55ab1a29963734 --- /dev/null +++ b/pages.hi/common/stormlock.md @@ -0,0 +1,20 @@ +# Stormlock + +> केंद्रीकृत लॉकिंग सिस्टम। +> अधिक जानकारी: । + +- संसाधन के लिए लीज़ प्राप्त करें: + +`stormlock acquire {{संसाधन}}` + +- दिए गए संसाधन के लिए दी गई लीज़ को जारी करें: + +`stormlock release {{संसाधन}} {{लीज़_आईडी}}` + +- किसी संसाधन के लिए वर्तमान लीज़ की जानकारी दिखाएं, यदि कोई हो: + +`stormlock current {{संसाधन}}` + +- जांचें कि दिए गए संसाधन के लिए लीज़ वर्तमान में सक्रिय है या नहीं: + +`stormlock is-held {{संसाधन}} {{लीज़_आईडी}}` diff --git a/pages.hi/common/streamlit.md b/pages.hi/common/streamlit.md new file mode 100644 index 00000000000000..4aa7ba52abc0b3 --- /dev/null +++ b/pages.hi/common/streamlit.md @@ -0,0 +1,20 @@ +# streamlit + +> पाइथन में इंटरैक्टिव, डेटा-ड्रिवन वेब ऐप्स बनाने के लिए फ्रेमवर्क। +> अधिक जानकारी: । + +- स्ट्रीमलिट इंस्टॉलेशन की जांच करें: + +`streamlit hello` + +- अपना स्ट्रीमलिट एप्लिकेशन चलाएं: + +`streamlit run {{प्रोजेक्ट_नाम}}` + +- मदद दिखाएं: + +`streamlit --help` + +- संस्करण दिखाएं: + +`streamlit --version` diff --git a/pages.hi/common/stressapptest.md b/pages.hi/common/stressapptest.md new file mode 100644 index 00000000000000..79d883d596b293 --- /dev/null +++ b/pages.hi/common/stressapptest.md @@ -0,0 +1,16 @@ +# stressapptest + +> उपयोगकर्ता स्थान मेमोरी और IO परीक्षण। +> अधिक जानकारी: । + +- दिए गए मेमोरी (मेगाबाइट में) की मात्रा का परीक्षण करें: + +`stressapptest -M {{स्मृति}}` + +- दिए गए फ़ाइल के लिए मेमोरी और I/O दोनों का परीक्षण करें: + +`stressapptest -M {{स्मृति}} -f {{फ़ाइल/का/पथ}}` + +- परीक्षण जो विस्तृत स्तर को निर्दिष्ट करता है, जहाँ 0=न्यूनतम, 20=अधिकतम, 8=डिफ़ॉल्ट: + +`stressapptest -M {{स्मृति}} -v {{स्तर}}` diff --git a/pages.hi/common/strings.md b/pages.hi/common/strings.md new file mode 100644 index 00000000000000..ad103c6857e277 --- /dev/null +++ b/pages.hi/common/strings.md @@ -0,0 +1,20 @@ +# strings + +> एक ऑब्जेक्ट फ़ाइल या बाइनरी में प्रिंट करने योग्य स्ट्रिंग्स खोजें। +> अधिक जानकारी: । + +- एक बाइनरी में सभी स्ट्रिंग्स प्रिंट करें: + +`strings {{फ़ाइल/का/पथ}}` + +- परिणामों को कम से कम n अक्षरों लंबी स्ट्रिंग्स तक सीमित करें: + +`strings {{[-n|--bytes]}} {{n}} {{फ़ाइल/का/पथ}}` + +- प्रत्येक परिणाम को फ़ाइल के भीतर इसके ऑफ़सेट के साथ पूर्ववत करें: + +`strings {{[-t|--radix]}} d {{फ़ाइल/का/पथ}}` + +- प्रत्येक परिणाम को फ़ाइल के भीतर इसके ऑफ़सेट के साथ हेक्साडेसिमल में पूर्ववत करें: + +`strings {{[-t|--radix]}} x {{फ़ाइल/का/पथ}}` diff --git a/pages.hi/common/time.md b/pages.hi/common/time.md index d379931ab959e7..940412d7a3c4fa 100644 --- a/pages.hi/common/time.md +++ b/pages.hi/common/time.md @@ -1,7 +1,8 @@ # time > देखें कि एक कमांड में कितना समय लगता है। +> अधिक जानकारी: । -- समय "ls": +- समय `command`: -`time ls` +`time {{command}}` diff --git a/pages.hi/common/tldr.md b/pages.hi/common/tldr.md index 061e474e3cadf5..de7b017fe351f5 100644 --- a/pages.hi/common/tldr.md +++ b/pages.hi/common/tldr.md @@ -1,15 +1,15 @@ # tldr > tldr-pages प्रोजेक्ट से कमांड-लाइन टूल्स के लिए सरल हेल्प पेज प्रदर्शित करता है। -> अधिक जानकारी: https://tldr.sh +> अधिक जानकारी: । - एक कमांड के विशिष्ट उपयोग प्राप्त करें (संकेत: इसका उपयोग कर आप यहाँ आए!): `tldr {{कमांड}}` -- linux के लिए tar tldr पेज दिखाएं: +- Linux के लिए tar tldr पेज दिखाएं: -`tldr -p {{linux}} {{tar}}` +`tldr {{[-p|--platform]}} {{linux}} {{tar}}` - एक Git उपकमांड के लिए सहायता प्राप्त करें: @@ -17,4 +17,4 @@ - स्थानीय पृष्ठों को अपडेट करें (यदि ग्राहक कैशिंग का समर्थन करता है): -`tldr -u` +`tldr {{[-u|--update]}}` diff --git a/pages.hi/common/tldrl.md b/pages.hi/common/tldrl.md new file mode 100644 index 00000000000000..ac2c686451a3b1 --- /dev/null +++ b/pages.hi/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> यह आदेश `tldr-lint` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr tldr-lint` diff --git a/pages.hi/common/tlmgr-arch.md b/pages.hi/common/tlmgr-arch.md new file mode 100644 index 00000000000000..9ba0dc54d4b98b --- /dev/null +++ b/pages.hi/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> यह आदेश `tlmgr platform` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr tlmgr platform` diff --git a/pages.hi/common/touch.md b/pages.hi/common/touch.md index 73d76252b44a85..0ac317c79e66e4 100644 --- a/pages.hi/common/touch.md +++ b/pages.hi/common/touch.md @@ -1,6 +1,7 @@ # touch > एक फ़ाइल का उपयोग और संशोधन समय (atime, mtime) बदलें। +> अधिक जानकारी: । - एक नई खाली फ़ाइल बनाएं (मौजूदा फ़ाइल के लिए समय बदल दें): @@ -12,4 +13,4 @@ - दूसरी फ़ाइल पर समय सेट करने के लिए फ़ाइल से समय का उपयोग करें: -`touch -r {{पहला फ़ाइल का नाम}} {{दूसरा फ़ाइल का नाम}}}` +`touch {{[-r|--reference]}} {{पहला फ़ाइल का नाम}} {{दूसरा फ़ाइल का नाम}}` diff --git a/pages.hi/common/trash-cli.md b/pages.hi/common/trash-cli.md new file mode 100644 index 00000000000000..d4483f8b7b5298 --- /dev/null +++ b/pages.hi/common/trash-cli.md @@ -0,0 +1,7 @@ +# trash-cli + +> यह आदेश `trash` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr trash` diff --git a/pages.hi/common/unlzma.md b/pages.hi/common/unlzma.md new file mode 100644 index 00000000000000..94e0f95bf454b9 --- /dev/null +++ b/pages.hi/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> यह आदेश `xz` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr xz` diff --git a/pages.hi/common/unxz.md b/pages.hi/common/unxz.md new file mode 100644 index 00000000000000..809de68662ba67 --- /dev/null +++ b/pages.hi/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> यह आदेश `xz` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr xz` diff --git a/pages.hi/common/vi.md b/pages.hi/common/vi.md new file mode 100644 index 00000000000000..5772dbc4e62ead --- /dev/null +++ b/pages.hi/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> यह आदेश `vim` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr vim` diff --git a/pages.hi/common/view.md b/pages.hi/common/view.md index e9a87d5cb0430b..563aea8fe34608 100644 --- a/pages.hi/common/view.md +++ b/pages.hi/common/view.md @@ -1,7 +1,8 @@ # view > `Vim` का केवल-पढ़ने वाला संस्करण। -> यह `विम -R` के बराबर है। +> यह `vim -R` के बराबर है। +> अधिक जानकारी: । - एक फ़ाइल खोलो: diff --git a/pages.hi/common/wget.md b/pages.hi/common/wget.md new file mode 100644 index 00000000000000..069961d08b24c1 --- /dev/null +++ b/pages.hi/common/wget.md @@ -0,0 +1,37 @@ +# wget + +> वेब से फ़ाइलें डाउनलोड करें। +> HTTP, HTTPS और FTP का समर्थन करता है। +> अधिक जानकारी: । + +- किसी फ़ाइल में URL की अंतर्वस्तु डाउनलोड करें (इस मामले में "foo" नाम दिया गया है): + +`wget {{https://example.com/foo}}` + +- किसी फ़ाइल में URL की अंतर्वस्तु डाउनलोड करें (इस मामले में "bar" नाम दिया गया है): + +`wget {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}` + +- अनुरोधों के बीच 3-सेकंड अंतराल के साथ एक एकल वेब पेज और उसके सभी संसाधन डाउनलोड करें (स्क्रिप्ट्स, स्टाइलशीट, चित्र, आदि।): + +`wget {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{[-w|--wait]}} 3 {{https://example.com/somepage.html}}` + +- एक निर्देशिका और उसकी उप-निर्देशिकाओं में सभी सूचीबद्ध फ़ाइलें डाउनलोड करें (अंतर्निहित पृष्ठ तत्व डाउनलोड नहीं करता): + +`wget {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/somepath/}}` + +- डाउनलोड की गति और कनेक्शन के पुन: प्रयास की संख्या सीमित करें: + +`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/somepath/}}` + +- मूल प्रमाणीकरण का उपयोग करके किसी HTTP सर्वर से फ़ाइल डाउनलोड करें (FTP के लिए भी काम करता है): + +`wget --user {{उपयोगकर्ता_नाम}} --password {{पासवर्ड}} {{https://example.com}}` + +- अधूरा डाउनलोड जारी रखें: + +`wget {{[-c|--continue]}} {{https://example.com}}` + +- टेक्स्ट फ़ाइल में संग्रहीत सभी URL को एक विशिष्ट निर्देशिका में डाउनलोड करें: + +`wget {{[-P|--directory-prefix]}} {{निर्देशिका/का/पथ}} {{[-i|--input-file]}} {{URLs.txt}}` diff --git a/pages.hi/common/xzcat.md b/pages.hi/common/xzcat.md new file mode 100644 index 00000000000000..aff8783299dfe7 --- /dev/null +++ b/pages.hi/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> यह आदेश `xz` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr xz` diff --git a/pages.hi/freebsd/base64.md b/pages.hi/freebsd/base64.md new file mode 100644 index 00000000000000..0d862d1bdfddb3 --- /dev/null +++ b/pages.hi/freebsd/base64.md @@ -0,0 +1,28 @@ +# base64 + +> फ़ाइल या `stdin` को base64 में एन्कोड या डिकोड करें, `stdout` या किसी अन्य फ़ाइल में। +> अधिक जानकारी: । + +- फ़ाइल को `stdout` में एन्कोड करें: + +`base64 {{[-i|--input]}} {{फाइल/का/पथ}}` + +- फ़ाइल को निर्दिष्ट आउटपुट फ़ाइल में एन्कोड करें: + +`base64 {{[-i|--input]}} {{इनपुट_फाइल/का/पथ}} {{[-o|--output]}} {{आउटपुट_फाइल/का/पथ}}` + +- एन्कोडेड आउटपुट को एक विशेष चौड़ाई पर लपेटें (`0` लपेटने को अक्षम करता है): + +`base64 {{[-b|--break]}} {{0|76|...}} {{फाइल/का/पथ}}` + +- फ़ाइल को `stdout` में डिकोड करें: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{फाइल/का/पथ}}` + +- `stdin` से `stdout` में एन्कोड करें: + +`{{command}} | base64` + +- `stdin` से `stdout` में डिकोड करें: + +`{{command}} | base64 {{[-d|--decode]}}` diff --git a/pages.hi/freebsd/cal.md b/pages.hi/freebsd/cal.md new file mode 100644 index 00000000000000..2f364633fcc10b --- /dev/null +++ b/pages.hi/freebsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> वर्तमान दिन को हाइलाइट करते हुए एक कैलेंडर दिखाएँ। +> अधिक जानकारी: । + +- वर्तमान महीने का कैलेंडर दिखाएँ: + +`cal` + +- एक विशेष वर्ष का कैलेंडर दिखाएँ: + +`cal {{साल}}` + +- एक विशेष महीने और वर्ष का कैलेंडर दिखाएँ: + +`cal {{महीना}} {{साल}}` + +- वर्तमान वर्ष का पूरा कैलेंडर दिखाएँ: + +`cal -y` + +- आज को [h]हाइलाइट न करें और [3] महीनों को दिखाएँ जो तारीख को कवर करते हैं: + +`cal -h -3 {{महीना}} {{साल}}` + +- वर्तमान वर्ष के एक विशेष [m]हीने के लिए [B]पहले 2 महीने और [A]बाद में 3 महीने दिखाएँ: + +`cal -A 3 -B 2 {{महीना}}` + +- [j]जूलियन दिन दिखाएँ (एक से शुरू होकर, 1 जनवरी से नंबरित): + +`cal -j` diff --git a/pages.hi/freebsd/chfn.md b/pages.hi/freebsd/chfn.md new file mode 100644 index 00000000000000..40cb8f51161199 --- /dev/null +++ b/pages.hi/freebsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> यह कमांड `chpass` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/freebsd/chpass.md b/pages.hi/freebsd/chpass.md new file mode 100644 index 00000000000000..8be32b36a6c6ee --- /dev/null +++ b/pages.hi/freebsd/chpass.md @@ -0,0 +1,33 @@ +# chpass + +> लॉगिन shell और पासवर्ड सहित उपयोगकर्ता डेटाबेस जानकारी जोड़ें या बदलें। +> यह भी देखें: `passwd`। +> अधिक जानकारी: । + +- वर्तमान उपयोगकर्ता के लिए उपयोगकर्ता डेटाबेस जानकारी को अंतःक्रियात्मक रूप से जोड़ें या बदलें: + +`su -c chpass` + +- वर्तमान उपयोगकर्ता के लिए एक विशिष्ट लॉगिन [s]hell सेट करें: + +`chpass -s {{shell/का/पथ}}` + +- किसी विशिष्ट उपयोगकर्ता के लिए लॉगिन [s]hell सेट करें: + +`chpass -s {{shell/का/पथ}} {{उपयोक्तानाम}}` + +- खाता [e]समाप्ति समय बदलें (युग से सेकंड में, UTC): + +`su -c 'chpass -e {{समय}} {{उपयोक्तानाम}}'` + +- उपयोगकर्ता का पासवर्ड बदलें: + +`su -c 'chpass -p {{एन्क्रिप्टेड_पासवर्ड}} {{उपयोक्तानाम}}'` + +- क्वेरी करने के लिए NIS सर्वर का [h]होस्ट का नाम या पता निर्दिष्ट करें: + +`su -c 'chpass -h {{होस्ट का नाम}} {{उपयोक्तानाम}}'` + +- एक विशेष NIS डोमेन निर्दिष्ट करें (डिफ़ॉल्ट रूप से सिस्टम डोमेन नाम): + +`su -c 'chpass -d {{डोमेन}} {{उपयोक्तानाम}}'` diff --git a/pages.hi/freebsd/chsh.md b/pages.hi/freebsd/chsh.md new file mode 100644 index 00000000000000..518a239e3cd5d2 --- /dev/null +++ b/pages.hi/freebsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> यह कमांड `chpass` का एक उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/freebsd/df.md b/pages.hi/freebsd/df.md new file mode 100644 index 00000000000000..fce93f585cb69f --- /dev/null +++ b/pages.hi/freebsd/df.md @@ -0,0 +1,32 @@ +# df + +> फाइल सिस्टम डिस्क स्पेस उपयोग का अवलोकन प्रदर्शित करें। +> अधिक जानकारी: । + +- सभी फाइल सिस्टम और उनके डिस्क उपयोग को 512-बाइट यूनिट्स में प्रदर्शित करें: + +`df` + +- [h]मानव-पठनीय यूनिट्स का उपयोग करें (1024 की शक्तियों पर आधारित) और कुल योग प्रदर्शित करें: + +`df -h -c` + +- [H]मानव-पठनीय यूनिट्स का उपयोग करें (1000 की शक्तियों पर आधारित): + +`df -{{-si|H}}` + +- दिए गए फ़ाइल या डायरेक्टरी को शामिल करते हुए फाइल सिस्टम और उसके डिस्क उपयोग को प्रदर्शित करें: + +`df {{फाइल_या_निर्देशिका/का/पथ}}` + +- फाइल सिस्टम [T]प्रकार सहित फ्री और उपयोग किए गए [i]नोड्स की संख्या पर सांख्यिकी शामिल करें: + +`df -iT` + +- स्पेस आंकड़े लिखते समय 1024-बाइट यूनिट्स का उपयोग करें: + +`df -k` + +- जानकारी को [P]पोर्टेबल तरीके से प्रदर्शित करें: + +`df -P` diff --git a/pages.hi/freebsd/look.md b/pages.hi/freebsd/look.md new file mode 100644 index 00000000000000..41903d3c9f5a12 --- /dev/null +++ b/pages.hi/freebsd/look.md @@ -0,0 +1,21 @@ +# look + +> एक सॉर्ट की गई फ़ाइल में एक उपसर्ग से शुरू होने वाली पंक्तियों को प्रदर्शित करें। +> देखें: `grep`, `sort`। +> अधिक जानकारी: । + +- एक विशेष फ़ाइल में एक विशेष उपसर्ग से शुरू होने वाली पंक्तियों के लिए खोजें: + +`look {{पूर्वसूचक}} {{फाइल/का/पथ}}` + +- केवल अल्फ़ान्यूमेरिक वर्णों पर केस-इंसेंसिटिव खोजें: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{पूर्वसूचक}} {{फाइल/का/पथ}}` + +- एक स्ट्रिंग टर्मिनेशन कैरेक्टर निर्दिष्ट करें (डिफ़ॉल्ट रूप से स्पेस): + +`look {{[-t|--terminate]}} {{,}}` + +- `/usr/share/dict/words` में खोजें (`--ignore-case` और `--alphanum` को मान लिया गया है): + +`look {{पूर्वसूचक}}` diff --git a/pages.hi/freebsd/pkg.md b/pages.hi/freebsd/pkg.md new file mode 100644 index 00000000000000..a5e448ed07c119 --- /dev/null +++ b/pages.hi/freebsd/pkg.md @@ -0,0 +1,28 @@ +# pkg + +> FreeBSD पैकेज मैनेजर। +> अधिक जानकारी: । + +- एक नया पैकेज स्थापित करें: + +`pkg install {{पैकेज}}` + +- एक पैकेज हटाएँ: + +`pkg delete {{पैकेज}}` + +- सभी पैकेज अपग्रेड करें: + +`pkg upgrade` + +- पैकेज खोजें: + +`pkg search {{कीवर्ड}}` + +- स्थापित पैकेजों की सूची बनाएं: + +`pkg info` + +- अनावश्यक निर्भरताएँ हटाएँ: + +`pkg autoremove` diff --git a/pages.hi/freebsd/sed.md b/pages.hi/freebsd/sed.md new file mode 100644 index 00000000000000..115e80db045bdd --- /dev/null +++ b/pages.hi/freebsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> स्क्रिप्ट करने योग्य तरीके से टेक्स्ट संपादित करें। +> देखें: `awk`, `ed`। +> अधिक जानकारी: । + +- सभी इनपुट लाइनों में `apple` (बेसिक regex) की सभी उपस्थिति को `mango` (बेसिक regex) से बदलें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed 's/apple/mango/g'` + +- एक विशेष स्क्रिप्ट [f]फाइल का निष्पादन करें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -f {{स्क्रिप्ट.sed/का/पथ}}` + +- प्रत्येक फ़ाइल को खोलने में देरी करें जब तक कि एक कमांड जिसमें संबंधित `w` फ़ंक्शन या ध्वज लागू नहीं किया जाता है: + +`{{आदेश}} | sed -fa {{स्क्रिप्ट.sed/का/पथ}}` + +- सभी इनपुट लाइनों में `apple` (एक्सटेंडेड regex) की सभी उपस्थिति को `APPLE` (एक्सटेंडेड regex) से बदलें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -E 's/(apple)/\U\1/g'` + +- केवल पहली पंक्ति को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -n '1p'` + +- एक विशेष फ़ाइल में सभी `apple` (बेसिक regex) की उपस्थिति को `mango` (बेसिक regex) से बदलें और मूल फ़ाइल को उसी स्थान पर ओवरराइट करें: + +`sed -i 's/apple/mango/g' {{फ़ाइल/का/पथ}}` diff --git a/pages.hi/freebsd/sockstat.md b/pages.hi/freebsd/sockstat.md new file mode 100644 index 00000000000000..1e1fda011f725d --- /dev/null +++ b/pages.hi/freebsd/sockstat.md @@ -0,0 +1,36 @@ +# sockstat + +> खुले इंटरनेट या UNIX डोमेन सॉकेट्स की सूची। +> अधिक जानकारी: । + +- देखें कि कौन से उपयोगकर्ता/प्रक्रियाएँ किन पोर्ट्स पर [l]सुन रही हैं: + +`sockstat -l` + +- विशेष [p]पोर्ट्स पर विशेष [P]प्रोटोकॉल का उपयोग करते हुए IPv[4]/IPv[6] सॉकेट्स [l]सुनने की जानकारी दिखाएं: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{पोर्ट1,पोर्ट2...}}` + +- [c]कनेक्टेड सॉकेट्स भी दिखाएं, [n]संख्यात्मक UID को उपयोगकर्ता नाम में परिवर्तित न करें और [w]चौड़ी फ़ील्ड आकार का उपयोग करें: + +`sockstat -cnw` + +- केवल एक विशेष [j]जेल ID या नाम से संबंधित सॉकेट्स दिखाएं [v]विस्तृत मोड में: + +`sockstat -jv` + +- प्रोटोकॉल [s]राज्य और दूरस्थ [U]DP एनकैप्सुलेशन पोर्ट नंबर दिखाएं, यदि लागू हो (ये वर्तमान में केवल SCTP और TCP के लिए लागू हैं): + +`sockstat -sU` + +- प्रोटोकॉल [S]स्टैक और [C]कंजेशन कंट्रोल मॉड्यूल दिखाएं, यदि लागू हो (ये वर्तमान में केवल TCP के लिए लागू हैं): + +`sockstat -CS` + +- केवल इंटरनेट सॉकेट्स दिखाएं यदि स्थानीय और विदेशी पते लूपबैक नेटवर्क प्रीफिक्स 127.0.0.0/8 में नहीं हैं, या IPv6 लूपबैक पते ::1 को शामिल नहीं करते हैं: + +`sockstat -L` + +- हेडर न दिखाएं ([q]शांत मोड), [u]यूनिक्स सॉकेट्स दिखाएं और `inp_gencnt` प्रदर्शित करें: + +`sockstat -qui` diff --git a/pages.hi/freebsd/ypchfn.md b/pages.hi/freebsd/ypchfn.md new file mode 100644 index 00000000000000..46adef8431cd51 --- /dev/null +++ b/pages.hi/freebsd/ypchfn.md @@ -0,0 +1,7 @@ +# ypchfn + +> यह कमांड `chpass` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/freebsd/ypchpass.md b/pages.hi/freebsd/ypchpass.md new file mode 100644 index 00000000000000..0a6424efd945bc --- /dev/null +++ b/pages.hi/freebsd/ypchpass.md @@ -0,0 +1,7 @@ +# ypchpass + +> यह कमांड `chpass` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/freebsd/ypchsh.md b/pages.hi/freebsd/ypchsh.md new file mode 100644 index 00000000000000..67173514712302 --- /dev/null +++ b/pages.hi/freebsd/ypchsh.md @@ -0,0 +1,7 @@ +# ypchsh + +> यह कमांड `chpass` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/linux/adduser.md b/pages.hi/linux/adduser.md new file mode 100644 index 00000000000000..199c4545a85498 --- /dev/null +++ b/pages.hi/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> उपयोगकर्ता जोड़ने की उपयोगिता। +> अधिक जानकारी: । + +- डिफ़ॉल्ट होम निर्देशिका के साथ एक नया उपयोगकर्ता बनाएं और उपयोगकर्ता को पासवर्ड सेट करने के लिए संकेत दें: + +`adduser {{उपयोगकर्ता_नाम}}` + +- होम निर्देशिका के बिना एक नया उपयोगकर्ता बनाएँ: + +`adduser --no-create-home {{उपयोगकर्ता_नाम}}` + +- निर्दिष्ट पथ पर होम निर्देशिका के साथ एक नया उपयोगकर्ता बनाएँ: + +`adduser --home {{होम/का/पथ}} {{उपयोगकर्ता_नाम}}` + +- लॉगिन शेल के रूप में निर्दिष्ट शेल सेट के साथ एक नया उपयोगकर्ता बनाएँ: + +`adduser --shell {{शेल/का/पथ}} {{उपयोगकर्ता_नाम}}` + +- निर्दिष्ट समूह से संबंधित कोई नया उपयोगकर्ता बनाएँ: + +`adduser --ingroup {{समूह}} {{उपयोगकर्ता_नाम}}` diff --git a/pages.hi/linux/alien.md b/pages.hi/linux/alien.md new file mode 100644 index 00000000000000..eec22964d1ed3d --- /dev/null +++ b/pages.hi/linux/alien.md @@ -0,0 +1,21 @@ +# alien + +> विभिन्न इंस्टॉलेशन पैकेज को अन्य प्रारूपों में कनवर्ट करें। +> यह भी देखें: Arch Linux पर `.deb` रूपांतरण के लिए `debtap`। +> अधिक जानकारी: । + +- किसी खास इंस्टॉलेशन फ़ाइल को Debian फ़ॉर्मैट (`.deb` एक्सटेंशन) में बदलें: + +`sudo alien --to-deb {{फ़ाइल/का/पथ}}` + +- विशिष्ट अधिष्ठापन फाइल को Red Hat फॉर्मेट (`.rpm` एक्सटेंशन) में बदलें: + +`sudo alien --to-rpm {{फ़ाइल/का/पथ}}` + +- एक विशिष्ट इंस्टॉलेशन फ़ाइल को Slackware इंस्टॉलेशन फ़ाइल (`.tgz` एक्सटेंशन) में कनवर्ट करें: + +`sudo alien --to-tgz {{फ़ाइल/का/पथ}}` + +- एक विशिष्ट इंस्टॉलेशन फ़ाइल को Debian प्रारूप में बदलें और सिस्टम पर इंस्टॉल करें: + +`sudo alien --to-deb --install {{फ़ाइल/का/पथ}}` diff --git a/pages.hi/linux/alternatives.md b/pages.hi/linux/alternatives.md new file mode 100644 index 00000000000000..a60d8046ff9caf --- /dev/null +++ b/pages.hi/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> यह आदेश `update-alternatives` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr update-alternatives` diff --git a/pages.hi/linux/apache2ctl.md b/pages.hi/linux/apache2ctl.md new file mode 100644 index 00000000000000..78f8220c487e35 --- /dev/null +++ b/pages.hi/linux/apache2ctl.md @@ -0,0 +1,25 @@ +# apache2ctl + +> अपाचे HTTP वेब सर्वर का प्रबंधन करें। +> यह कमांड डेबियन आधारित ओएस के साथ आता है, आरएचईएल आधारित ओएस के लिए `httpd` देखें। +> अधिक जानकारी: । + +- अपाचे डेमॉन प्रारंभ करें. यदि संदेश पहले से चल रहा हो तो उसे फेंकें: + +`sudo apache2ctl start` + +- अपाचे डेमॉन बंद करो: + +`sudo apache2ctl stop` + +- अपाचे डेमॉन को पुनरारंभ करें: + +`sudo apache2ctl restart` + +- कॉन्फ़िगरेशन फ़ाइल के सिंटैक्स का परीक्षण करें: + +`sudo apache2ctl -t` + +- लोड किए गए मॉड्यूल की सूची बनाएं: + +`sudo apache2ctl -M` diff --git a/pages.hi/linux/apk.md b/pages.hi/linux/apk.md new file mode 100644 index 00000000000000..fe0c3dcba1a413 --- /dev/null +++ b/pages.hi/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> अल्पाइन लिनक्स पैकेज प्रबंधन उपकरण। +> अधिक जानकारी: । + +- सभी दूरस्थ रिपॉजिटरी से रिपॉजिटरी इंडेक्स अपडेट करें: + +`apk update` + +- एक नया पैकेज स्थापित करें: + +`apk add {{पैकेज}}` + +- एक पैकेज निकालें: + +`apk del {{पैकेज}}` + +- किसी पैकेज की मरम्मत करें या मुख्य निर्भरता को संशोधित किए बिना उसे अपग्रेड करें: + +`apk fix {{पैकेज}}` + +- कीवर्ड के माध्यम से पैकेज खोजें: + +`apk search {{कीवर्ड}}` + +- किसी विशिष्ट पैकेज के बारे में जानकारी प्रदर्शित करें: + +`apk info {{पैकेज}}` diff --git a/pages.hi/linux/apt.md b/pages.hi/linux/apt.md new file mode 100644 index 00000000000000..5670b0676b0921 --- /dev/null +++ b/pages.hi/linux/apt.md @@ -0,0 +1,38 @@ +# apt + +> डेबियन आधारित वितरणों के लिए पैकेज प्रबंधन उपयोगिता। +> उबंटू संस्करण १६.०४ और बाद में इंटरैक्टिव रूप से उपयोग किए जाने पर `apt-get` के लिए अनुशंसित प्रतिस्थापन। +> अन्य पैकेज प्रबंधकों में समतुल्य कमांड के लिए, देखें । +> अधिक जानकारी: । + +- उपलब्ध पैकेजों और संस्करणों की सूची को अपडेट करें (इसे अन्य `apt` कमांड से पहले चलाने की अनुशंसा की जाती है): + +`sudo apt update` + +- दिए गए पैकेज की खोज करें: + +`apt search {{पैकेज}}` + +- दिए गए पैकेज के लिए जानकारी दिखाएं: + +`apt show {{पैकेज}}` + +- एक पैकेज इनस्टॉल करें, या इसे नवीनतम उपलब्ध संस्करण में अपडेट करें: + +`sudo apt install {{पैकेज}}` + +- एक पैकेज निकालें (`remove` के बजाय `purge` का उपयोग करने से इसकी कॉन्फ़िगरेशन फ़ाइलें भी हट जाती हैं): + +`sudo apt remove {{पैकेज}}` + +- सभी इनस्टॉल पैकेजों को उनके नवीनतम उपलब्ध संस्करणों में अपग्रेड करें: + +`sudo apt upgrade` + +- उपलब्ध, इन्सटाल्ड और अपग्रेड करने योग्य पैकेजों की सूची बनाएं: + +`apt list` + +- इन्सटाल्ड पैकेजों की सूची बनाएं: + +`apt list {{[-i|--installed]}}` diff --git a/pages.hi/linux/archinstall.md b/pages.hi/linux/archinstall.md new file mode 100644 index 00000000000000..06ba170fdc6704 --- /dev/null +++ b/pages.hi/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> एक सहायक लाइब्रेरी जो आर्क लिनक्स (Arch Linux) की स्थापना को स्वचालित करती है। +> अधिक जानकारी: । + +- इंटरैक्टिव इंस्टॉलर प्रारंभ करें: + +`archinstall` + +- पूर्व निर्धारित इंस्टॉलर प्रारंभ करें: + +`archinstall {{minimal|unattended}}` diff --git a/pages.hi/linux/backlight_control.md b/pages.hi/linux/backlight_control.md new file mode 100644 index 00000000000000..859b08315b05b8 --- /dev/null +++ b/pages.hi/linux/backlight_control.md @@ -0,0 +1,16 @@ +# backlight_control + +> प्रतिशत मानों का उपयोग करके लिनक्स मशीन की बैकलाइट को नियंत्रित करें। +> अधिक जानकारी: । + +- एक विशिष्ट प्रतिशत गणना द्वारा बैकलाइट बढ़ाएँ/घटाएँ: + +`backlight_control {{+|-}}{{5}}` + +- बैकलाइट की ताकत को एक विशिष्ट प्रतिशत गणना पर सेट करें: + +`backlight_control {{90}}` + +- सहायता प्रिंट करें: + +`backlight_control` diff --git a/pages.hi/linux/batcat.md b/pages.hi/linux/batcat.md new file mode 100644 index 00000000000000..834a4fc63b9d61 --- /dev/null +++ b/pages.hi/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> यह आदेश `bat` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr bat` diff --git a/pages.hi/linux/bitwise.md b/pages.hi/linux/bitwise.md new file mode 100644 index 00000000000000..ccfa0fa370907a --- /dev/null +++ b/pages.hi/linux/bitwise.md @@ -0,0 +1,20 @@ +# bitwise + +> गतिशील आधार रूपांतरण और बिट हेरफेर का समर्थन करने वाला मल्टी बेस इंटरैक्टिव कैलकुलेटर। +> अधिक जानकारी: । + +- इंटरैक्टिव मोड का उपयोग करके चलाएँ: + +`bitwise` + +- दशमलव से कनवर्ट करें: + +`bitwise {{12345}}` + +- षोडश आधारी से कनवर्ट करें: + +`bitwise {{0x563d}}` + +- C-शैली गणना परिवर्तित करें: + +`bitwise "{{0x123 + 0x20 - 30 / 50}}"` diff --git a/pages.hi/linux/bluetoothctl.md b/pages.hi/linux/bluetoothctl.md new file mode 100644 index 00000000000000..31319553859f7b --- /dev/null +++ b/pages.hi/linux/bluetoothctl.md @@ -0,0 +1,36 @@ +# bluetoothctl + +> ब्लूटूथ उपकरणों का प्रबंधन करें। +> अधिक जानकारी: । + +- `bluetoothctl` शैल में प्रवेश करें: + +`bluetoothctl` + +- सभी ज्ञात उपकरणों की सूची दिखाएं: + +`bluetoothctl devices` + +- ब्लूटूथ नियंत्रक को चालने या बंद करें: + +`bluetoothctl power {{on|off}}` + +- किसी उपकरण के साथ जोड़ें: + +`bluetoothctl pair {{mac_address}}` + +- किसी उपकरण को हटाएं: + +`bluetoothctl remove {{mac_address}}` + +- एक जुड़े हुए उपकरण से कनेक्ट करें: + +`bluetoothctl connect {{mac_address}}` + +- एक जुड़े हुए उपकरण से डिसकनेक्ट करें: + +`bluetoothctl disconnect {{mac_address}}` + +- मदद दिखाएं: + +`bluetoothctl help` diff --git a/pages.hi/linux/bootctl.md b/pages.hi/linux/bootctl.md new file mode 100644 index 00000000000000..db405849f6c8fc --- /dev/null +++ b/pages.hi/linux/bootctl.md @@ -0,0 +1,28 @@ +# bootctl + +> EFI फर्मवेयर बूट सेटिंग्स का नियंत्रण करें और बूट लोडर प्रबंधित करें। +> अधिक जानकारी: । + +- सिस्टम फर्मवेयर और बूटलोडर के बारे में जानकारी दिखाएं: + +`bootctl status` + +- सभी उपलब्ध बूटलोडर प्रविष्टियाँ दिखाएं: + +`bootctl list` + +- अगले बूट पर सिस्टम फर्मवेयर में बूट करने के लिए एक फ़्लैग सेट करें (`sudo systemctl reboot --firmware-setup` के समान): + +`sudo bootctl reboot-to-firmware true` + +- EFI सिस्टम पार्टीशन के पथ की निर्धारण करें (डिफ़ॉल्ट `/efi/`, `/boot/`, या `/boot/efi`): + +`bootctl --esp-path={{/efi_system_partition/के/पथ/के/लिए}}` + +- `systemd-boot` को EFI सिस्टम पार्टीशन में इंस्टॉल करें: + +`sudo bootctl install` + +- EFI सिस्टम पार्टीशन से `systemd-boot` के सभी स्थापित संस्करणों को हटाएं: + +`sudo bootctl remove` diff --git a/pages.hi/linux/br.md b/pages.hi/linux/br.md new file mode 100644 index 00000000000000..0dc9a9ac72590d --- /dev/null +++ b/pages.hi/linux/br.md @@ -0,0 +1,25 @@ +# br + +> निर्देशिकाओंको पथ-प्रदर्शित करने का एक बेहतर तरीका। +> `broot` भी देखें। +> अधिक जानकारी: । + +- वर्तमान निर्देशिकाको पथ-प्रदर्शित करें: + +`br` + +- फ़ाइलों और निर्देशिकाओंका आकार प्रदर्शित करें: + +`br --sizes` + +- प्रदर्शन अनुमतियाँ: + +`br --permissions` + +- केवल निर्देशिकाएं प्रदर्शित करें: + +`br --only-folders` + +- छिपी हुई फ़ाइलें और निर्देशिकाएं प्रदर्शित करें: + +`br --hidden` diff --git a/pages.hi/linux/broot.md b/pages.hi/linux/broot.md new file mode 100644 index 00000000000000..6d3f444b4281dd --- /dev/null +++ b/pages.hi/linux/broot.md @@ -0,0 +1,9 @@ +# broot + +> निर्देशिकाओंको पथ-प्रदर्शित करने का एक बेहतर तरीका। +> `br` भी देखें। +> अधिक जानकारी: । + +- `br` shell कार्य को स्थापित या पुनर्स्थापित करें: + +`broot --install` diff --git a/pages.hi/linux/btrfs.md b/pages.hi/linux/btrfs.md new file mode 100644 index 00000000000000..033584a847b0bd --- /dev/null +++ b/pages.hi/linux/btrfs.md @@ -0,0 +1,25 @@ +# btrfs + +> लिनक्स के लिए कॉपी-ऑन-राइट (COW) सिद्धांत पर आधारित एक फ़ाइल सिस्टम। +> कुछ सब-कमांड जैसे `btrfs device`, उनका खुद का उपयोग दस्तावेज़न है। +> अधिक जानकारी: । + +- उप-वॉल्यूम बनाएं: + +`sudo btrfs subvolume create {{उप-वॉल्यूम/का/पथ}}` + +- उप-वॉल्यूमों की सूची दिखाएं: + +`sudo btrfs subvolume list {{माउंट_बिंदु/का/पथ}}` + +- स्थान उपयोग सूचना दिखाएं: + +`sudo btrfs filesystem df {{माउंट_बिंदु/का/पथ}}` + +- कोटा सक्षम करें: + +`sudo btrfs quota enable {{उप-वॉल्यूम/का/पथ}}` + +- कोटा दिखाएं: + +`sudo btrfs qgroup show {{उप-वॉल्यूम/का/पथ}}` diff --git a/pages.hi/linux/caffeine.md b/pages.hi/linux/caffeine.md new file mode 100644 index 00000000000000..523de88615bba4 --- /dev/null +++ b/pages.hi/linux/caffeine.md @@ -0,0 +1,16 @@ +# caffeine + +> फ़ुल-स्क्रीन मोड में डेस्कटॉप निष्क्रियता को रोकें। +> अधिक जानकारी: । + +- कैफीन सर्वर प्रारंभ करें: + +`caffeine` + +- सहायता प्रदर्शित करें: + +`caffeine --help` + +- संस्करण प्रदर्शित करें: + +`caffeine --version` diff --git a/pages.hi/linux/cat.md b/pages.hi/linux/cat.md new file mode 100644 index 00000000000000..7f5a583f976324 --- /dev/null +++ b/pages.hi/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> फ़ाइलों को प्रिंट करता है और जोड़ता है। +> अधिक जानकारी: । + +- फ़ाइल की सामग्री को मानक (standard) आउटपुट पर प्रिंट करें: + +`cat {{फ़ाइल/का/पथ}}` + +- एक आउटपुट फ़ाइल में कई फ़ाइलों को सम्‍मिलित करें: + +`cat {{फ़ाइल1/का/पथ फ़ाइल2/का/पथ ...}} > {{आउटपुट_फ़ाइल/का/पथ}}` + +- आउटपुट फ़ाइल में कई फ़ाइलें जोड़ें: + +`cat {{फ़ाइल1/का/पथ फ़ाइल2/का/पथ ...}} >> {{आउटपुट_फ़ाइल/का/पथ}}` + +- फ़ाइल में `stdin` लिखें: + +`cat - > {{फ़ाइल/का/पथ}}` + +- संख्या ([n]umber) सभी आउटपुट लाइनें: + +`cat {{[-n|--number]}} {{फ़ाइल/का/पथ}}` + +- गैर-मुद्रण योग्य और खाली स्थान वाले वर्ण प्रदर्शित करें (`M-` उपसर्ग के साथ यदि गैर-ASCII है): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{फ़ाइल/का/पथ}}` diff --git a/pages.hi/linux/cc.md b/pages.hi/linux/cc.md new file mode 100644 index 00000000000000..ff993e590b55a2 --- /dev/null +++ b/pages.hi/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> यह आदेश `gcc` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr gcc` diff --git a/pages.hi/linux/checkupdates.md b/pages.hi/linux/checkupdates.md new file mode 100644 index 00000000000000..1a5c649b4ab533 --- /dev/null +++ b/pages.hi/linux/checkupdates.md @@ -0,0 +1,20 @@ +# checkupdates + +> आर्क लिनक्स में लंबित अद्यतनों की जाँच करने के लिए उपकरण। +> अधिक जानकारी: । + +- लंबित अद्यतनों की सूची बनाएं: + +`checkupdates` + +- लंबित अद्यतनों की सूची बनाएं और पैकेजों को पैक्मैन कैश में डाउनलोड करें: + +`checkupdates {{[-d|--download]}}` + +- विशिष्ट पैक्मैन डेटाबेस का उपयोग करके लंबित अद्यतनों की सूची बनाएं: + +`CHECKUPDATES_DB={{निर्देशिका/का/पथ}} checkupdates` + +- सहायता प्रदर्शित करें: + +`checkupdates {{[-h|--help]}}` diff --git a/pages.hi/linux/cpuid.md b/pages.hi/linux/cpuid.md new file mode 100644 index 00000000000000..e237cee5a473cb --- /dev/null +++ b/pages.hi/linux/cpuid.md @@ -0,0 +1,16 @@ +# cpuid + +> सभी सीपीयू के बारे में विस्तृत जानकारी दिखाएं। +> अधिक जानकारी: । + +- सभी CPU के लिए जानकारी दिखाएं: + +`cpuid` + +- केवल वर्तमान CPU के लिए जानकारी दिखाएं: + +`cpuid {{[-1|--one-cpu]}}` + +- डीकोडिंग के बिना कच्ची हेक्साडेसिमल जानकारी दिखाएं: + +`cpuid {{[-r|--raw]}}` diff --git a/pages.hi/linux/dpkg.md b/pages.hi/linux/dpkg.md new file mode 100644 index 00000000000000..d31e6bf957f797 --- /dev/null +++ b/pages.hi/linux/dpkg.md @@ -0,0 +1,30 @@ +# dpkg + +> डेबियन पैकेज प्रबंधक। +> कुछ उपकमांड जैसे `dpkg deb` के अपने स्वयं के उपयोग दस्तावेज़ हैं। +> अन्य पैकेज प्रबंधकों में समकक्ष कमांड के लिए, देखें . +> अधिक जानकारी: । + +- एक पैकेज इनस्टॉल करें: + +`dpkg -i {{फ़ाइल.deb/का/पथ}}` + +- एक पैकेज निकालें: + +`dpkg -r {{पैकेज_का_नाम}}` + +- इन्सटाल्ड पैकेजों की सूची बनाएं: + +`dpkg -l {{पैटर्न}}` + +- पैकेज की सामग्री सूचीबद्ध करें: + +`dpkg -L {{पैकेज_का_नाम}}` + +- लोकल पैकेज फ़ाइल की सामग्री सूचीबद्ध करें: + +`dpkg -c {{फ़ाइल.deb/का/पथ}}` + +- पता लगाएं कि कौन सा पैकेज फ़ाइल का मालिक है: + +`dpkg -S {{फ़ाइल_का_नाम}}` diff --git a/pages.hi/linux/fdisk.md b/pages.hi/linux/fdisk.md new file mode 100644 index 00000000000000..82c3d01670457a --- /dev/null +++ b/pages.hi/linux/fdisk.md @@ -0,0 +1,37 @@ +# fdisk + +> एक प्रोग्राम जो हार्ड डिस्क पर पार्टीशन टेबल और पार्टीशन का प्रबंधन करने के लिए है। +> देखें भी: `partprobe`. +> अधिक जानकारी: । + +- पार्टीशनों की सूची दिखाएं: + +`sudo fdisk -l` + +- पार्टीशन मैनिपुलेटर शुरू करें: + +`sudo fdisk {{/dev/sdX}}` + +- एक डिस्क को पार्टीशन करते समय, एक पार्टीशन बनाएं: + +`` + +- एक डिस्क को पार्टीशन करते समय, डिलीट करने के लिए एक पार्टीशन का चयन करें: + +`` + +- एक डिस्क को पार्टीशन करते समय, पार्टीशन टेबल देखें: + +`

` + +- एक डिस्क को पार्टीशन करते समय, की गई परिवर्तनों को लिखें: + +`` + +- एक डिस्क को पार्टीशन करते समय, की गई परिवर्तनों को छोड़ दें: + +`` + +- एक डिस्क को पार्टीशन करते समय, हेल्प मेनू खोलें: + +`` diff --git a/pages.hi/linux/flatpak.md b/pages.hi/linux/flatpak.md new file mode 100644 index 00000000000000..127437fa357038 --- /dev/null +++ b/pages.hi/linux/flatpak.md @@ -0,0 +1,36 @@ +# flatpak + +> फ्लैटपैक अनुप्रयोग और रनटाइम बनाएं, स्थापित करें और चलाएं। +> अधिक जानकारी: । + +- एक स्थापित अनुप्रयोग चलाएं: + +`flatpak run {{नाम}}` + +- दूरस्थ स्रोत से एक अनुप्रयोग स्थापित करें: + +`flatpak install {{दूरस्थ}} {{नाम}}` + +- सभी स्थापित अनुप्रयोग और रनटाइम की सूची दिखाएं: + +`flatpak list` + +- सभी स्थापित अनुप्रयोग और रनटाइम को अद्यतित करें: + +`flatpak update` + +- एक दूरस्थ स्रोत जोड़ें: + +`flatpak remote-add --if-not-exists {{दूरस्थ_नाम}} {{दूरस्थ_URL}}` + +- एक स्थापित अनुप्रयोग हटाएं: + +`flatpak remove {{नाम}}` + +- सभी अउपयोग नहीं किए जा रहे अनुप्रयोग हटाएं: + +`flatpak remove --unused` + +- एक स्थापित अनुप्रयोग के बारे में जानकारी दिखाएं: + +`flatpak info {{नाम}}` diff --git a/pages.hi/linux/free.md b/pages.hi/linux/free.md new file mode 100644 index 00000000000000..34f0b03f82b544 --- /dev/null +++ b/pages.hi/linux/free.md @@ -0,0 +1,20 @@ +# free + +> सिस्टम में 'Free' और यूज्ड मेमोरी की मात्रा दिखाता है। +> अधिक जानकारी: । + +- सिस्टम मेमोरी दिखाएं: + +`free` + +- सिस्टम मेमोरी को बाइट्स/केबी/एमबी/जीबी में दिखाएं: + +`free -{{b|k|m|g}}` + +- मानव-पठनीय इकाइयों में सिस्टम मेमोरी प्रदर्शित करें: + +`free {{[-h|--human]}}` + +- हर 2 सेकंड में आउटपुट अपडेट करें: + +`free {{[-s|--seconds]}} {{2}}` diff --git a/pages.hi/linux/ip-route-list.md b/pages.hi/linux/ip-route-list.md new file mode 100644 index 00000000000000..521add6ae42349 --- /dev/null +++ b/pages.hi/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> यह आदेश `ip route show`.का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ip route show` diff --git a/pages.hi/linux/kill.md b/pages.hi/linux/kill.md new file mode 100644 index 00000000000000..a3a9a35dffc572 --- /dev/null +++ b/pages.hi/linux/kill.md @@ -0,0 +1,37 @@ +# kill + +> एक प्रोग्राम को एक सिग्नल भेजता है, जो आमतौर पर प्रोग्राम को रोकने से संबंधित होता है। +> SIGKILL और SIGSTOP को छोड़कर सभी सिग्नल्स को प्रोग्राम द्वारा इंटरसेप्ट किया जा सकता है ताकि यह साफ-सुथरे तरीके से बाहर निकल सके। +> अधिक जानकारी: । + +- डिफ़ॉल्ट SIGTERM (terminate) सिग्नल का उपयोग करके एक प्रोग्राम को समाप्त करें: + +`kill {{प्रक्रिया_आईडी}}` + +- सिग्नल मान और उनके संबंधित नामों की सूची दिखाएं (बिना `SIG` उपसर्ग के उपयोग किया जाता है): + +`kill -L` + +- एक बैकग्राउंड जॉब को समाप्त करें: + +`kill %{{जॉब_आईडी}}` + +- SIGHUP (hang up) सिग्नल का उपयोग करके एक प्रोग्राम को समाप्त करें। कई डेमॉन प्रोग्राम समाप्त होने के बजाय पुनः लोड होंगे: + +`kill -{{1|HUP}} {{प्रक्रिया_आईडी}}` + +- SIGINT (interrupt) सिग्नल का उपयोग करके एक प्रोग्राम को समाप्त करें। इसे आमतौर पर उपयोगकर्ता `` दबाकर आरंभ करते हैं: + +`kill -{{2|INT}} {{प्रक्रिया_आईडी}}` + +- ऑपरेटिंग सिस्टम को सिग्नल भेजकर एक प्रोग्राम को तुरंत समाप्त करें (जिसे सिग्नल को कैप्चर करने का कोई अवसर नहीं मिलता है): + +`kill -{{9|KILL}} {{प्रक्रिया_आईडी}}` + +- ऑपरेटिंग सिस्टम को सिग्नल भेजकर एक प्रोग्राम को रोकें जब तक कि SIGCONT ("जारी रखें") सिग्नल प्राप्त न हो: + +`kill -{{17|STOP}} {{प्रक्रिया_आईडी}}` + +- दिए गए GID (समूह आईडी) वाले सभी प्रक्रियाओं को `SIGUSR1` सिग्नल भेजें: + +`kill -{{SIGUSR1}} -{{समूह_आईडी}}` diff --git a/pages.hi/linux/lsblk.md b/pages.hi/linux/lsblk.md new file mode 100644 index 00000000000000..3927ee464628f6 --- /dev/null +++ b/pages.hi/linux/lsblk.md @@ -0,0 +1,36 @@ +# lsblk + +> उपकरणों के बारे में जानकारी सूचीबद्ध करता है। +> अधिक जानकारी: । + +- सभी भंडारण उपकरणों को ट्री-समान प्रारूप में सूचीबद्ध करें: + +`lsblk` + +- खाली उपकरणों को भी सूचीबद्ध करें: + +`lsblk {{[-a|--all]}}` + +- मानव-पठनीय प्रारूप के बजाय SIZE कॉलम को बाइट्स में प्रिंट करें: + +`lsblk {{[-b|--bytes]}}` + +- फाइल सिस्टम के बारे में आउटपुट जानकारी: + +`lsblk {{[-f|--fs]}}` + +- ट्री फॉर्मेटिंग के लिए ASCII वर्णों का प्रयोग करें: + +`lsblk {{[-i|--ascii]}}` + +- ब्लॉक-डिवाइस टोपोलॉजी के बारे में आउटपुट जानकारी: + +`lsblk {{[-t|--topology]}}` + +- प्रमुख उपकरण संख्याओं की अल्पविराम से अलग की गई सूची द्वारा निर्दिष्ट उपकरणों को बाहर करें: + +`lsblk {{[-e|--exclude]}} {{1,7,...}}` + +- कॉलम की अल्पविराम से अलग की गई सूची का उपयोग करके एक अनुकूलित सारांश प्रदर्शित करें: + +`lsblk {{[-o|--output]}} {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}` diff --git a/pages.hi/linux/lspci.md b/pages.hi/linux/lspci.md new file mode 100644 index 00000000000000..7d8c1f0352f2ac --- /dev/null +++ b/pages.hi/linux/lspci.md @@ -0,0 +1,24 @@ +# lspci + +> सभी PCI उपकरणों की सूची दिखाएं। +> अधिक जानकारी: । + +- उपकरणों की संक्षिप्त सूची दिखाएं: + +`lspci` + +- अतिरिक्त जानकारी प्रदर्शित करें: + +`lspci -v` + +- प्रत्येक उपकरण को संभालने वाले ड्राइवर और मॉड्यूल प्रदर्शित करें: + +`lspci -k` + +- एक विशिष्ट उपकरण दिखाएं: + +`lspci -s {{00:18.3}}` + +- जानकारी को पठनीय रूप में डंप करें: + +`lspci -vm` diff --git a/pages.hi/linux/lsusb.md b/pages.hi/linux/lsusb.md new file mode 100644 index 00000000000000..a6f0e1a8aae26d --- /dev/null +++ b/pages.hi/linux/lsusb.md @@ -0,0 +1,20 @@ +# lsusb + +> यूएसबी बसों और उनसे जुड़े उपकरणों के बारे में जानकारी प्रदर्शित करें। +> अधिक जानकारी: । + +- उपलब्ध सभी USB उपकरणों की सूची बनाएं: + +`lsusb` + +- USB पदानुक्रम को एक ट्री के रूप में सूचीबद्ध करें: + +`lsusb {{[-t|--tree]}}` + +- USB उपकरणों के बारे में विस्तारित जानकारी की सूची बनाएं: + +`lsusb {{[-v|--verbose]}}` + +- केवल निर्दिष्ट विक्रेता और उत्पाद आईडी वाले उपकरणों की सूची बनाएं: + +`lsusb -d {{वेंडर}}:{{उत्पाद}}` diff --git a/pages.hi/linux/makepkg.md b/pages.hi/linux/makepkg.md new file mode 100644 index 00000000000000..c1def016b32043 --- /dev/null +++ b/pages.hi/linux/makepkg.md @@ -0,0 +1,33 @@ +# makepkg + +> एक पैकेज बनाएं जिसका उपयोग `pacman` के साथ किया जा सकता है। +> डिफ़ॉल्ट रूप में वर्तमान काम कर रहे डायरेक्टरी में `PKGBUILD` फ़ाइल का उपयोग करता है। +> अधिक जानकारी: । + +- एक पैकेज बनाएं: + +`makepkg` + +- एक पैकेज बनाएं और इसके डिपेंडेंसियों को इंस्टॉल करें: + +`makepkg {{[-s|--syncdeps]}}` + +- एक पैकेज बनाएं, इसके डिपेंडेंसियों को इंस्टॉल करें, और फिर इसे सिस्टम में इंस्टॉल करें: + +`makepkg {{[-s|--syncdeps]}} {{[-i|--install]}}` + +- एक पैकेज बनाएं, लेकिन स्रोत के हैश की जाँच को छोड़ें: + +`makepkg --skipchecksums` + +- सफलता पूर्वक बनाने के बाद काम के डायरेक्टरी को साफ करें: + +`makepkg {{[-c|--clean]}}` + +- स्रोतों के हैश की जाँच करें: + +`makepkg --verifysource` + +- स्रोत जानकारी बनाएं और `.SRCINFO` में सहेजें: + +`makepkg --printsrcinfo > .SRCINFO` diff --git a/pages.hi/linux/megadl.md b/pages.hi/linux/megadl.md new file mode 100644 index 00000000000000..96d608e00a567d --- /dev/null +++ b/pages.hi/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> यह आदेश `megatools-dl` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr megatools-dl` diff --git a/pages.hi/linux/mkfs.md b/pages.hi/linux/mkfs.md new file mode 100644 index 00000000000000..4a25d59b560f4c --- /dev/null +++ b/pages.hi/linux/mkfs.md @@ -0,0 +1,17 @@ +# mkfs + +> एक हार्ड डिस्क पार्टीशन पर लिनक्स फाइल सिस्टम बनाएं। +> यह कमांड अब अप्रचलित है, और इसके स्थान पर फाइल सिस्टम विशेष mkfs. यूटिलिटीज़ का उपयोग करें। +> अधिक जानकारी: । + +- एक पार्टीशन पर लिनक्स ext2 फाइल सिस्टम बनाएं: + +`mkfs {{पार्टीशन/का/पथ}}` + +- निर्दिष्ट प्रकार का फाइल सिस्टम बनाएं: + +`mkfs -t {{ext4}} {{पार्टीशन/का/पथ}}` + +- निर्दिष्ट प्रकार का फाइल सिस्टम बनाएं और खराब ब्लॉक्स के लिए जांच करें: + +`mkfs -c -t {{ntfs}} {{पार्टीशन/का/पथ}}` diff --git a/pages.hi/linux/ncal.md b/pages.hi/linux/ncal.md new file mode 100644 index 00000000000000..6f30c9aa576f9b --- /dev/null +++ b/pages.hi/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> यह आदेश `cal` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr cal` diff --git a/pages.hi/linux/nologin.md b/pages.hi/linux/nologin.md new file mode 100644 index 00000000000000..c18d3576e24643 --- /dev/null +++ b/pages.hi/linux/nologin.md @@ -0,0 +1,12 @@ +# nologin + +> उपयोक्ता को लॉग इन करने से रोकने वाला वैकल्पिक शैल. +> अधिक जानकारी: । + +- उपयोक्ता को लॉग इन करने से रोकने के लिए उपयोक्ता की लॉगिन शैल को 'नोलॉगिन' पर सेट करें: + +`chsh -s {{उपयोगकर्ता}} nologin` + +- नोलॉगिन लॉगिन शैल वाले उपयोक्ताओं के लिए संविभिन्न संदेश का अनुकूलन करें: + +`echo "{{अस्वीकृत_लॉगिन_संदेश}}" > /etc/nologin.txt` diff --git a/pages.hi/linux/parted.md b/pages.hi/linux/parted.md new file mode 100644 index 00000000000000..4922b41efd1538 --- /dev/null +++ b/pages.hi/linux/parted.md @@ -0,0 +1,37 @@ +# parted + +> एक पार्टीशन मैनिपुलेशन प्रोग्राम। +> देखें भी: `partprobe`. +> अधिक जानकारी: । + +- सभी ब्लॉक डिवाइस पर पार्टीशनों की सूची दिखाएं: + +`sudo parted --list` + +- निर्दिष्ट डिस्क के साथ इंटरैक्टिव मोड शुरू करें: + +`sudo parted {{/dev/sdX}}` + +- निर्दिष्ट लेबल-प्रकार का नया पार्टीशन टेबल बनाएं: + +`sudo parted --script {{/dev/sdX}} mklabel {{aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun}}` + +- इंटरैक्टिव मोड में पार्टीशन की जानकारी दिखाएं: + +`print` + +- इंटरैक्टिव मोड में डिस्क का चयन करें: + +`select {{/dev/sdX}}` + +- इंटरैक्टिव मोड में निर्दिष्ट फ़ाइल सिस्टम के साथ 16 जीबी का पार्टीशन बनाएं: + +`mkpart {{primary|logical|extended}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}` + +- इंटरैक्टिव मोड में पार्टीशन का आकार बदलें: + +`resizepart {{/dev/sdXN}} {{पार्टीशन की अंतिम स्थिति}}` + +- इंटरैक्टिव मोड में एक पार्टीशन को हटाएं: + +`rm {{/dev/sdXN}}` diff --git a/pages.hi/linux/reboot.md b/pages.hi/linux/reboot.md new file mode 100644 index 00000000000000..a418a1fb3c9be4 --- /dev/null +++ b/pages.hi/linux/reboot.md @@ -0,0 +1,24 @@ +# reboot + +> मशीन को `reboot` करें +> अधिक जानकारी: । + +- तुरंत पुनरारंभ करें: + +`reboot` + +- सिस्टम बंद करें ('पॉवरऑफ' के समान): + +`reboot {{[-p|--poweroff]}}` + +- सिस्टम को रोकें (ठहराव के समान): + +`reboot --halt` + +- Sysadmin से संपर्क किए बिना तुरंत पुनरारंभ करें: + +`reboot {{[-f|--force]}}` + +- सिस्टम को रिबूट किए बिना wtmp शटडाउन प्रविष्टि टाइप करें: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.hi/linux/reset.md b/pages.hi/linux/reset.md new file mode 100644 index 00000000000000..dc820d2523bac7 --- /dev/null +++ b/pages.hi/linux/reset.md @@ -0,0 +1,12 @@ +# reset + +> वर्तमान टर्मिनल को `reset` करें। संपूर्ण टर्मिनल स्क्रीन को साफ़ करता है। +> अधिक जानकारी: । + +- वर्तमान टर्मिनल को `reset` करें: + +`reset` + +- टर्मिनल प्रकार दिखाएं: + +`reset -q` diff --git a/pages.hi/linux/resize2fs.md b/pages.hi/linux/resize2fs.md new file mode 100644 index 00000000000000..118d9244663342 --- /dev/null +++ b/pages.hi/linux/resize2fs.md @@ -0,0 +1,17 @@ +# resize2fs + +> ext2, ext3 या ext4 फाइल सिस्टम का आकार बदलें। +> यह अंतर्निहित पार्टीशन का आकार नहीं बदलता है। फाइल सिस्टम को पहले अनमाउंट करना पड़ सकता है, अधिक जानकारी के लिए मैन पेज पढ़ें। +> अधिक जानकारी: । + +- स्वचालित रूप से फाइल सिस्टम का आकार बदलें: + +`resize2fs {{/dev/sdXN}}` + +- 40G के आकार में फाइल सिस्टम का आकार बदलें, प्रगति बार दिखाते हुए: + +`resize2fs -p {{/dev/sdXN}} {{40G}}` + +- फाइल सिस्टम को उसके न्यूनतम संभव आकार में सिकोड़ें: + +`resize2fs -M {{/dev/sdXN}}` diff --git a/pages.hi/linux/ruget.md b/pages.hi/linux/ruget.md new file mode 100644 index 00000000000000..042c77313fa7ac --- /dev/null +++ b/pages.hi/linux/ruget.md @@ -0,0 +1,12 @@ +# ruget + +> Rust में लिखे गए wget का विकल्प। +> अधिक जानकारी: । + +- किसी फ़ाइल में URL की सामग्री डाउनलोड करें: + +`ruget {{https://example.com/file}}` + +- किसी निर्दिष्ट आउटपुट फ़ाइल में URL की सामग्री डाउनलोड करें: + +`ruget --output {{file_name}} {{https://example.com/file}}` diff --git a/pages.hi/linux/systemctl.md b/pages.hi/linux/systemctl.md new file mode 100644 index 00000000000000..126c70b96b613e --- /dev/null +++ b/pages.hi/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> systemd सिस्टम और सेवा प्रबंधक को नियंत्रित करें। +> अधिक जानकारी: । + +- सभी चल रही सेवाएँ दिखाएं: + +`systemctl status` + +- विफल इकाइयों की सूची: + +`systemctl --failed` + +- सेवा को चालना/रोकना/पुनरारंभ करना/रीलोड करना: + +`systemctl {{start|stop|restart|reload}} {{इकाई}}` + +- एक इकाई की स्थिति दिखाएं: + +`systemctl status {{इकाई}}` + +- एक इकाई को बूटअप पर स्वचलित रूप से चालाने/रोकने के लिए सक्षम/अक्षम करें: + +`systemctl {{enable|disable}} {{इकाई}}` + +- एक इकाई को सक्षम/अक्षम करने और मैन्युअल सक्रियण से रोकने/हटाने के लिए मास्क/अनमास्क करें: + +`systemctl {{mask|unmask}} {{इकाई}}` + +- systemd को पुनः लोड करें, नई या बदली गई इकाइयों के लिए स्कैन करें: + +`systemctl daemon-reload` + +- क्या किसी इकाई को सक्षम किया गया है, यह जाँचें: + +`systemctl is-enabled {{इकाई}}` diff --git a/pages.hi/linux/ubuntu-bug.md b/pages.hi/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..3995c4f8c7251b --- /dev/null +++ b/pages.hi/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> यह आदेश `apport-bug` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr apport-bug` diff --git a/pages.hi/netbsd/cal.md b/pages.hi/netbsd/cal.md new file mode 100644 index 00000000000000..516ac71439a101 --- /dev/null +++ b/pages.hi/netbsd/cal.md @@ -0,0 +1,36 @@ +# cal + +> एक कैलेंडर प्रदर्शित करें। +> अधिक जानकारी: । + +- वर्तमान महीने के लिए एक कैलेंडर प्रदर्शित करें: + +`cal` + +- एक विशेष वर्ष के लिए एक कैलेंडर प्रदर्शित करें: + +`cal {{वर्ष}}` + +- एक विशेष महीने और वर्ष के लिए एक कैलेंडर प्रदर्शित करें: + +`cal {{महीना}} {{वर्ष}}` + +- वर्तमान वर्ष के लिए संपूर्ण कैलेंडर प्रदर्शित करें [j]जूलियन दिन का उपयोग करते हुए (एक-आधारित, 1 जनवरी से क्रमांकित): + +`cal -y -j` + +- [h]आज को हाइलाइट करें और [3] महीनों को प्रदर्शित करें जो तारीख को कवर करते हैं: + +`cal -h -3 {{महीना}} {{वर्ष}}` + +- वर्तमान वर्ष के एक विशेष [m]महीने से [B]2 महीने पहले और [A]3 महीने बाद प्रदर्शित करें: + +`cal -A 3 -B 2 {{महीना}}` + +- निर्दिष्ट महीने से पहले और बाद में एक विशिष्ट संख्या के महीनों को प्रदर्शित करें ([C]संदर्भ): + +`cal -C {{महीने}} {{महीना}}` + +- सप्ताह के प्रारंभिक [d]दिन को निर्धारित करें (0: रविवार, 1: सोमवार, ..., 6: शनिवार): + +`cal -d {{0..6}}` diff --git a/pages.hi/netbsd/chfn.md b/pages.hi/netbsd/chfn.md new file mode 100644 index 00000000000000..40cb8f51161199 --- /dev/null +++ b/pages.hi/netbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> यह कमांड `chpass` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/netbsd/chpass.md b/pages.hi/netbsd/chpass.md new file mode 100644 index 00000000000000..851aa574248a93 --- /dev/null +++ b/pages.hi/netbsd/chpass.md @@ -0,0 +1,29 @@ +# chpass + +> उपयोगकर्ता डेटाबेस जानकारी जोड़ें या बदलें, जिसमें लॉगिन शेल और पासवर्ड शामिल हैं। +> और देखें: `passwd`। +> अधिक जानकारी: । + +- वर्तमान उपयोगकर्ता के लिए इंटरैक्टिव रूप से एक विशिष्ट लॉगिन शेल सेट करें: + +`su -c chpass` + +- वर्तमान उपयोगकर्ता के लिए एक विशिष्ट लॉगिन [s]शेल सेट करें: + +`chpass -s {{शेल/का/पथ}}` + +- एक विशिष्ट उपयोगकर्ता के लिए एक लॉगिन [s]शेल सेट करें: + +`chpass -s {{शेल/का/पथ}} {{उपयोगकर्ता_नाम}}` + +- `passwd` फ़ाइल प्रारूप में एक उपयोगकर्ता डेटाबेस प्रविष्टि निर्दिष्ट करें: + +`su -c 'chpass -a {{उपयोगकर्ता_नाम:encrypted_password:uid:gid:...}} -s {{उपयोगकर्ता_नाम}}' {{उपयोगकर्ता_नाम}}` + +- केवल [l]स्थानीय पासवर्ड फ़ाइल को अपडेट करें: + +`su -c 'chpass -l -s {{शेल/का/पथ}}' {{उपयोगकर्ता_नाम}}` + +- मजबूरन डेटाबेस [y]P पासवर्ड डेटाबेस प्रविष्टि बदलें: + +`su -c 'chpass -y -s {{शेल/का/पथ}}' {{उपयोगकर्ता_नाम}}` diff --git a/pages.hi/netbsd/chsh.md b/pages.hi/netbsd/chsh.md new file mode 100644 index 00000000000000..67ada92cbb8c22 --- /dev/null +++ b/pages.hi/netbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> यह कमांड `chpass` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/netbsd/df.md b/pages.hi/netbsd/df.md new file mode 100644 index 00000000000000..233ecb1edf3921 --- /dev/null +++ b/pages.hi/netbsd/df.md @@ -0,0 +1,32 @@ +# df + +> फ़ाइल सिस्टम डिस्क स्पेस उपयोग का अवलोकन दिखाएँ। +> अधिक जानकारी: । + +- 512-बाइट इकाइयों का उपयोग करके सभी फ़ाइल सिस्टम और उनके डिस्क उपयोग को दिखाएँ: + +`df` + +- [h]मानव-पठनीय इकाइयों का उपयोग करें (1024 की शक्तियों के आधार पर): + +`df -h` + +- `statvfs` द्वारा लौटाए गए संरचना(ओं) के सभी फ़ील्ड दिखाएँ: + +`df -G` + +- दिए गए फ़ाइल या निर्देशिका को शामिल करते हुए फ़ाइल सिस्टम और उसके डिस्क उपयोग को दिखाएँ: + +`df {{फाइल_या_निर्देशिका का पथ}}` + +- मुक्त और उपयोग किए गए [I]इनोड की संख्या पर सांख्यिकी शामिल करें: + +`df -i` + +- स्पेस आंकड़े लिखते समय 1024-बाइट इकाइयों का उपयोग करें: + +`df -k` + +- जानकारी को [P]पोर्टेबल तरीके से दिखाएँ: + +`df -P` diff --git a/pages.hi/netbsd/pkgin.md b/pages.hi/netbsd/pkgin.md new file mode 100644 index 00000000000000..3f95c743554d74 --- /dev/null +++ b/pages.hi/netbsd/pkgin.md @@ -0,0 +1,28 @@ +# pkgin + +> NetBSD पर `pkgsrc` बाइनरी पैकेज प्रबंधित करें। +> अधिक जानकारी: । + +- एक पैकेज स्थापित करें: + +`pkgin install {{पैकेज}}` + +- एक पैकेज और उसकी निर्भरताएँ हटाएँ: + +`pkgin remove {{पैकेज}}` + +- सभी पैकेज को उन्नत करें: + +`pkgin full-upgrade` + +- एक पैकेज के लिए खोजें: + +`pkgin search {{कीवर्ड}}` + +- स्थापित पैकेजों की सूची बनाएं: + +`pkgin list` + +- अनावश्यक निर्भरताएँ हटाएँ: + +`pkgin autoremove` diff --git a/pages.hi/netbsd/sed.md b/pages.hi/netbsd/sed.md new file mode 100644 index 00000000000000..7b2dd1383edb3a --- /dev/null +++ b/pages.hi/netbsd/sed.md @@ -0,0 +1,33 @@ +# sed + +> स्क्रिप्ट करने योग्य तरीके से टेक्स्ट संपादित करें। +> देखें: `awk`, `ed`। +> अधिक जानकारी: । + +- सभी इनपुट लाइनों में `apple` (बेसिक regex) के सभी उदाहरणों को `mango` (बेसिक regex) से बदलें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed 's/apple/mango/g'` + +- एक विशेष स्क्रिप्ट [f]फाइल निष्पादित करें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -f {{स्क्रिप्ट.sed/का/पथ}}` + +- प्रत्येक फ़ाइल को खोलने में देरी करें जब तक कि एक कमांड जिसमें संबंधित `w` फ़ंक्शन या फ्लैग इनपुट की एक पंक्ति पर लागू नहीं किया जाता है: + +`{{आदेश}} | sed -fa {{स्क्रिप्ट.sed/का/पथ}}` + +- GNU [g]regex एक्सटेंशन चालू करें: + +`{{आदेश}} | sed -fg {{स्क्रिप्ट.sed/का/पथ}}` + +- सभी इनपुट लाइनों में `apple` (एक्सटेंडेड regex) के सभी उदाहरणों को `APPLE` (एक्सटेंडेड regex) से बदलें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -E 's/(apple)/\U\1/g'` + +- केवल पहली पंक्ति को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -n '1p'` + +- एक विशेष फ़ाइल में `apple` (बेसिक regex) के सभी उदाहरणों को `mango` (बेसिक regex) से बदलें और मूल फ़ाइल को उसी स्थान पर ओवरराइट करें: + +`sed -i 's/apple/mango/g' {{फाइल/का/पथ}}` diff --git a/pages.hi/netbsd/sockstat.md b/pages.hi/netbsd/sockstat.md new file mode 100644 index 00000000000000..bda50b82711e57 --- /dev/null +++ b/pages.hi/netbsd/sockstat.md @@ -0,0 +1,26 @@ +# sockstat + +> खुले इंटरनेट या UNIX डोमेन सॉकेट्स की सूची। +> नोट: यह प्रोग्राम FreeBSD के `sockstat` से NetBSD 3.0 के लिए एक पुनर्लेखन है। +> देखें: `netstat`। +> अधिक जानकारी: । + +- सुनने और जुड़े सॉकेट्स के लिए IPv4, IPv6 और यूनिक्स सॉकेट्स की जानकारी दिखाएँ: + +`sockstat` + +- एक विशिष्ट [p]पोर्ट पर एक विशिष्ट [P]प्रोटोकॉल का उपयोग करते हुए IPv[4]/IPv[6] सॉकेट्स [l]सुनने के लिए जानकारी दिखाएँ: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{पोर्ट1,पोर्ट2...}}` + +- [c]जुड़े सॉकेट्स भी दिखाएँ, [u]यूनिक्स सॉकेट्स दिखाते हुए: + +`sockstat -cu` + +- केवल [n]संख्यात्मक आउटपुट दिखाएँ, पते और पोर्ट्स के लिए प्रतीकात्मक नामों को हल किए बिना: + +`sockstat -n` + +- निर्दिष्ट पते के [f]परिवार के सॉकेट्स की केवल सूची बनाएं: + +`sockstat -f {{inet|inet6|local|unix}}` diff --git a/pages.hi/openbsd/cal.md b/pages.hi/openbsd/cal.md new file mode 100644 index 00000000000000..d124fa5f1947d4 --- /dev/null +++ b/pages.hi/openbsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> वर्तमान दिन को हाइलाइट करते हुए कैलेंडर दिखाएं। +> अधिक जानकारी: । + +- वर्तमान महीने के लिए कैलेंडर दिखाएं: + +`cal` + +- किसी विशेष वर्ष के लिए कैलेंडर दिखाएं: + +`cal {{वर्ष}}` + +- किसी विशेष महीने और वर्ष के लिए कैलेंडर दिखाएं: + +`cal {{महिना}} {{वर्ष}}` + +- वर्तमान [व]र्ष के लिए कैलेंडर दिखाएं: + +`cal -y` + +- [ज]ूलियन दिनों को दिखाएं (एक से शुरू होकर, 1 जनवरी से संख्या दी गई): + +`cal -j` + +- रविवार के बजाय [सो]मवार को सप्ताह की शुरुआत के रूप में उपयोग करें: + +`cal -m` + +- सप्ताह के नंबरों को संख्या दें (जो `-j` के साथ असंगत है): + +`cal -w` diff --git a/pages.hi/openbsd/chfn.md b/pages.hi/openbsd/chfn.md new file mode 100644 index 00000000000000..40cb8f51161199 --- /dev/null +++ b/pages.hi/openbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> यह कमांड `chpass` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/openbsd/chpass.md b/pages.hi/openbsd/chpass.md new file mode 100644 index 00000000000000..8f4ac0b9057d64 --- /dev/null +++ b/pages.hi/openbsd/chpass.md @@ -0,0 +1,21 @@ +# chpass + +> उपयोगकर्ता डेटाबेस जानकारी जोड़ें या बदलें, जिसमें लॉगिन शेल और पासवर्ड शामिल हैं। +> देखें: `passwd`। +> अधिक जानकारी: । + +- वर्तमान उपयोगकर्ता के लिए इंटरैक्टिव रूप से एक विशिष्ट लॉगिन शेल सेट करें: + +`doas chpass` + +- वर्तमान उपयोगकर्ता के लिए एक विशिष्ट लॉगिन [s]hell सेट करें: + +`doas chpass -s {{शेल/का/पथ}}` + +- एक विशिष्ट उपयोगकर्ता के लिए लॉगिन [s]hell सेट करें: + +`doas chpass -s {{शेल/का/पथ}} {{उपयोगकर्ता_नाम}}` + +- `passwd` फ़ाइल प्रारूप में एक उपयोगकर्ता डेटाबेस प्रविष्टि निर्दिष्ट करें: + +`doas chpass -a {{उपयोगकर्ता_नाम:एनक्रिप्टेड_पासवर्ड:uid:gid:...}}` diff --git a/pages.hi/openbsd/chsh.md b/pages.hi/openbsd/chsh.md new file mode 100644 index 00000000000000..67ada92cbb8c22 --- /dev/null +++ b/pages.hi/openbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> यह कमांड `chpass` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr chpass` diff --git a/pages.hi/openbsd/df.md b/pages.hi/openbsd/df.md new file mode 100644 index 00000000000000..ff5ad96ebe4db8 --- /dev/null +++ b/pages.hi/openbsd/df.md @@ -0,0 +1,28 @@ +# df + +> फ़ाइल सिस्टम डिस्क स्पेस उपयोग का एक अवलोकन प्रदर्शित करें। +> अधिक जानकारी: । + +- सभी फ़ाइल सिस्टम और उनके डिस्क उपयोग को 512-बाइट इकाइयों का उपयोग करके प्रदर्शित करें: + +`df` + +- सभी फ़ाइल सिस्टम और उनके डिस्क उपयोग को [h]मानव-पठनीय रूप में प्रदर्शित करें (1024 के गुणांक के आधार पर): + +`df -h` + +- दिए गए फ़ाइल या निर्देशिका को शामिल करते हुए फ़ाइल सिस्टम और इसके डिस्क उपयोग को प्रदर्शित करें: + +`df {{फाइल या निर्देशिका का पथ}}` + +- मुक्त और उपयोग किए गए [i]नोड्स की संख्या पर सांख्यिकी शामिल करें: + +`df -i` + +- स्थान आंकड़ों को लिखते समय 1024-बाइट इकाइयों का उपयोग करें: + +`df -k` + +- जानकारी को [P]पोर्टेबल तरीके से प्रदर्शित करें: + +`df -P` diff --git a/pages.hi/openbsd/pkg.md b/pages.hi/openbsd/pkg.md new file mode 100644 index 00000000000000..f8f60923084229 --- /dev/null +++ b/pages.hi/openbsd/pkg.md @@ -0,0 +1,16 @@ +# pkg + +> OpenBSD पैकेज प्रबंधक उपयोगिता। +> अधिक जानकारी: । + +- पैकेज स्थापित/अपडेट करने के लिए दस्तावेज़ देखें: + +`tldr pkg_add` + +- पैकेज हटाने के लिए दस्तावेज़ देखें: + +`tldr pkg_delete` + +- पैकेजों के बारे में जानकारी देखने के लिए दस्तावेज़ देखें: + +`tldr pkg_info` diff --git a/pages.hi/openbsd/pkg_add.md b/pages.hi/openbsd/pkg_add.md new file mode 100644 index 00000000000000..68183858650613 --- /dev/null +++ b/pages.hi/openbsd/pkg_add.md @@ -0,0 +1,17 @@ +# pkg_add + +> OpenBSD में पैकेज स्थापित/अपडेट करें। +> देखें: `pkg_info`, `pkg_delete`। +> अधिक जानकारी: । + +- सभी पैकेज अपडेट करें, जिसमें निर्भरताएँ शामिल हैं: + +`pkg_add -u` + +- एक नया पैकेज स्थापित करें: + +`pkg_add {{पैकेज}}` + +- `pkg_info` के कच्चे आउटपुट से पैकेज स्थापित करें: + +`pkg_add -l {{फाइल/का/पथ}}` diff --git a/pages.hi/openbsd/pkg_delete.md b/pages.hi/openbsd/pkg_delete.md new file mode 100644 index 00000000000000..b068e8ee4d6790 --- /dev/null +++ b/pages.hi/openbsd/pkg_delete.md @@ -0,0 +1,17 @@ +# pkg_delete + +> OpenBSD में पैकेज हटाएँ। +> देखें: `pkg_add`, `pkg_info`। +> अधिक जानकारी: । + +- एक पैकेज हटाएँ: + +`pkg_delete {{पैकेज}}` + +- एक पैकेज हटाएँ, इसके अप्रयुक्त निर्भरताओं सहित: + +`pkg_delete -a {{पैकेज}}` + +- एक पैकेज का ड्राई-रन हटाना: + +`pkg_delete -n {{पैकेज}}` diff --git a/pages.hi/openbsd/pkg_info.md b/pages.hi/openbsd/pkg_info.md new file mode 100644 index 00000000000000..72b2a39aff72e8 --- /dev/null +++ b/pages.hi/openbsd/pkg_info.md @@ -0,0 +1,13 @@ +# pkg_info + +> OpenBSD में पैकेजों के बारे में जानकारी देखें। +> देखें: `pkg_add`, `pkg_delete`। +> अधिक जानकारी: । + +- पैकेज नाम का उपयोग करके पैकेज के लिए खोजें: + +`pkg_info -Q {{पैकेज}}` + +- `pkg_add -l` के साथ उपयोग के लिए स्थापित पैकेजों की सूची आउटपुट करें: + +`pkg_info -mz` diff --git a/pages.hi/openbsd/sed.md b/pages.hi/openbsd/sed.md new file mode 100644 index 00000000000000..187ff4004ff9c1 --- /dev/null +++ b/pages.hi/openbsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> स्क्रिप्ट करने योग्य तरीके से पाठ संपादित करें। +> देखें: `awk`, `ed`। +> अधिक जानकारी: । + +- सभी इनपुट पंक्तियों में सभी `apple` (बुनियादी regex) घटनाओं को `mango` (बुनियादी regex) के साथ बदलें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed 's/apple/mango/g'` + +- एक विशेष स्क्रिप्ट [f]फाइल को निष्पादित करें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -f {{स्क्रिप्ट.sed/का/पथ}}` + +- प्रत्येक फ़ाइल को खोलने में देरी करें जब तक कि एक आदेश जिसमें संबंधित `w` कार्य या फ्लैग लागू नहीं होता है: + +`{{आदेश}} | sed -fa {{स्क्रिप्ट.sed/का/पथ}}` + +- सभी इनपुट पंक्तियों में सभी `apple` (विस्तारित regex) घटनाओं को `APPLE` (विस्तारित regex) के साथ बदलें और परिणाम को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -E 's/(apple)/\U\1/g'` + +- केवल पहली पंक्ति को `stdout` पर प्रिंट करें: + +`{{आदेश}} | sed -n '1p'` + +- एक विशेष फ़ाइल में सभी `apple` (बुनियादी regex) घटनाओं को `mango` (बुनियादी regex) के साथ बदलें और मूल फ़ाइल को उसी स्थान पर अधिलेखित करें: + +`sed -i 's/apple/mango/g' {{फाइल/का/पथ}}` diff --git a/pages.hi/osx/aa.md b/pages.hi/osx/aa.md new file mode 100644 index 00000000000000..d9821f5ebbeac3 --- /dev/null +++ b/pages.hi/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> यह आदेश `yaa` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr yaa` diff --git a/pages.hi/osx/base64.md b/pages.hi/osx/base64.md new file mode 100644 index 00000000000000..b915f313a93e64 --- /dev/null +++ b/pages.hi/osx/base64.md @@ -0,0 +1,20 @@ +# base64 + +> बेस 64 प्रस्तुतीकरण का उपयोग करके कोड और डिकोड करें। +> अधिक जानकारी: । + +- फ़ाइल को कोड करें: + +`base64 {{[-i|--input]}} {{सादा_फ़ाइल}}` + +- फ़ाइल को डिकोड करें: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{base64_फ़ाइल}}` + +- `stdin` से कोड करें: + +`echo -n "{{सादा_फ़ाइल}}" | base64` + +- `stdin` से डिकोड करें: + +`echo -n {{base64_फ़ाइल}} | base64 {{[-d|--decode]}}` diff --git a/pages.hi/osx/dark-mode.md b/pages.hi/osx/dark-mode.md new file mode 100644 index 00000000000000..d784596ecd805c --- /dev/null +++ b/pages.hi/osx/dark-mode.md @@ -0,0 +1,20 @@ +# dark-mode + +> MacOS डार्क मोड को नियंत्रित करें। +> अधिक जानकारी: । + +- डार्क मोड टॉगल करें (यदि यह वर्तमान में बंद है तो इसे चालू करें, यदि यह वर्तमान में चालू है तो इसे बंद करें): + +`dark-mode` + +- डार्क मोड चालू करें: + +`dark-mode on` + +- डार्क मोड बंद करें: + +`dark-mode off` + +- जांचें कि क्या डार्क मोड चालू है: + +`dark-mode status` diff --git a/pages.hi/osx/g[.md b/pages.hi/osx/g[.md new file mode 100644 index 00000000000000..3b53fc59d688dd --- /dev/null +++ b/pages.hi/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> यह आदेश `[` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr [` diff --git a/pages.hi/osx/gb2sum.md b/pages.hi/osx/gb2sum.md new file mode 100644 index 00000000000000..8f89761a7c194a --- /dev/null +++ b/pages.hi/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> यह आदेश `b2sum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr b2sum` diff --git a/pages.hi/osx/gbase32.md b/pages.hi/osx/gbase32.md new file mode 100644 index 00000000000000..dc33b035dafc49 --- /dev/null +++ b/pages.hi/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> यह आदेश `base32` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr base32` diff --git a/pages.hi/osx/gbase64.md b/pages.hi/osx/gbase64.md new file mode 100644 index 00000000000000..5d9832686b0ddf --- /dev/null +++ b/pages.hi/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> यह आदेश `base64` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.hi/osx/gbasename.md b/pages.hi/osx/gbasename.md new file mode 100644 index 00000000000000..cfde9f2c5ca00f --- /dev/null +++ b/pages.hi/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> यह आदेश `basename` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr basename` diff --git a/pages.hi/osx/gbasenc.md b/pages.hi/osx/gbasenc.md new file mode 100644 index 00000000000000..cf0528521e9afb --- /dev/null +++ b/pages.hi/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> यह आदेश `basenc` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr basenc` diff --git a/pages.hi/osx/gcat.md b/pages.hi/osx/gcat.md new file mode 100644 index 00000000000000..35525a5643df8f --- /dev/null +++ b/pages.hi/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> यह आदेश `-p linux cat` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.hi/osx/gchcon.md b/pages.hi/osx/gchcon.md new file mode 100644 index 00000000000000..cfa0e84e3a3a48 --- /dev/null +++ b/pages.hi/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> यह आदेश `-p linux chcon` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.hi/osx/gchgrp.md b/pages.hi/osx/gchgrp.md new file mode 100644 index 00000000000000..ee126e81044c0f --- /dev/null +++ b/pages.hi/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> यह आदेश `chgrp` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr chgrp` diff --git a/pages.hi/osx/gchmod.md b/pages.hi/osx/gchmod.md new file mode 100644 index 00000000000000..3375a2489b635d --- /dev/null +++ b/pages.hi/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> यह आदेश `chmod` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr chmod` diff --git a/pages.hi/osx/gchown.md b/pages.hi/osx/gchown.md new file mode 100644 index 00000000000000..dd73f45fc75612 --- /dev/null +++ b/pages.hi/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> यह आदेश `chown` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr chown` diff --git a/pages.hi/osx/gchroot.md b/pages.hi/osx/gchroot.md new file mode 100644 index 00000000000000..f73739ffb341a7 --- /dev/null +++ b/pages.hi/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> यह आदेश `chroot` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr chroot` diff --git a/pages.hi/osx/gcksum.md b/pages.hi/osx/gcksum.md new file mode 100644 index 00000000000000..6023e42dac69ea --- /dev/null +++ b/pages.hi/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> यह आदेश `cksum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr cksum` diff --git a/pages.hi/osx/gcomm.md b/pages.hi/osx/gcomm.md new file mode 100644 index 00000000000000..ef8ad7dc5edcd3 --- /dev/null +++ b/pages.hi/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> यह आदेश `comm` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr comm` diff --git a/pages.hi/osx/gcp.md b/pages.hi/osx/gcp.md new file mode 100644 index 00000000000000..f1a55c26165c65 --- /dev/null +++ b/pages.hi/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> यह आदेश `cp` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr cp` diff --git a/pages.hi/osx/gcsplit.md b/pages.hi/osx/gcsplit.md new file mode 100644 index 00000000000000..77569c6d0ba907 --- /dev/null +++ b/pages.hi/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> यह आदेश `-p linux csplit` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.hi/osx/gcut.md b/pages.hi/osx/gcut.md new file mode 100644 index 00000000000000..83b98aea985ca8 --- /dev/null +++ b/pages.hi/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> यह आदेश `cut` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.hi/osx/gdate.md b/pages.hi/osx/gdate.md new file mode 100644 index 00000000000000..a00615b4038ae7 --- /dev/null +++ b/pages.hi/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> यह आदेश `date` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.hi/osx/gdd.md b/pages.hi/osx/gdd.md new file mode 100644 index 00000000000000..a3c5078821a669 --- /dev/null +++ b/pages.hi/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> यह आदेश `-p linux dd` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.hi/osx/gdf.md b/pages.hi/osx/gdf.md new file mode 100644 index 00000000000000..6f5dfb2a8caba6 --- /dev/null +++ b/pages.hi/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> यह आदेश `-p linux df` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.hi/osx/gdir.md b/pages.hi/osx/gdir.md new file mode 100644 index 00000000000000..be87386882ab7e --- /dev/null +++ b/pages.hi/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> यह आदेश `-p linux dir` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.hi/osx/gdircolors.md b/pages.hi/osx/gdircolors.md new file mode 100644 index 00000000000000..0d9a1863248823 --- /dev/null +++ b/pages.hi/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> यह आदेश `dircolors` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr dircolors` diff --git a/pages.hi/osx/gdirname.md b/pages.hi/osx/gdirname.md new file mode 100644 index 00000000000000..8309250c9772ef --- /dev/null +++ b/pages.hi/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> यह आदेश `dirname` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr dirname` diff --git a/pages.hi/osx/gdnsdomainname.md b/pages.hi/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..6d972f2527b8a4 --- /dev/null +++ b/pages.hi/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> यह आदेश `-p linux dnsdomainname` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.hi/osx/gecho.md b/pages.hi/osx/gecho.md new file mode 100644 index 00000000000000..3c9a89ddf7485f --- /dev/null +++ b/pages.hi/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> यह आदेश `echo` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr echo` diff --git a/pages.hi/osx/ged.md b/pages.hi/osx/ged.md new file mode 100644 index 00000000000000..18974c6d5d845e --- /dev/null +++ b/pages.hi/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> यह आदेश `ed` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ed` diff --git a/pages.hi/osx/gegrep.md b/pages.hi/osx/gegrep.md new file mode 100644 index 00000000000000..697dc5ee8dfd2c --- /dev/null +++ b/pages.hi/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> यह आदेश `egrep` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr egrep` diff --git a/pages.hi/osx/genv.md b/pages.hi/osx/genv.md new file mode 100644 index 00000000000000..3d71bd95f4f31b --- /dev/null +++ b/pages.hi/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> यह आदेश `env` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr env` diff --git a/pages.hi/osx/gexpand.md b/pages.hi/osx/gexpand.md new file mode 100644 index 00000000000000..552860a5ea6de6 --- /dev/null +++ b/pages.hi/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> यह आदेश `expand` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr expand` diff --git a/pages.hi/osx/gexpr.md b/pages.hi/osx/gexpr.md new file mode 100644 index 00000000000000..c166d3e712dd3c --- /dev/null +++ b/pages.hi/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> यह आदेश `expr` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr expr` diff --git a/pages.hi/osx/gfactor.md b/pages.hi/osx/gfactor.md new file mode 100644 index 00000000000000..9a46be2ef7923c --- /dev/null +++ b/pages.hi/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> यह आदेश `factor` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr factor` diff --git a/pages.hi/osx/gfalse.md b/pages.hi/osx/gfalse.md new file mode 100644 index 00000000000000..86ee8a859eb740 --- /dev/null +++ b/pages.hi/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> यह आदेश `false` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr false` diff --git a/pages.hi/osx/gfgrep.md b/pages.hi/osx/gfgrep.md new file mode 100644 index 00000000000000..47e74364553c74 --- /dev/null +++ b/pages.hi/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> यह आदेश `fgrep` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr fgrep` diff --git a/pages.hi/osx/gfind.md b/pages.hi/osx/gfind.md new file mode 100644 index 00000000000000..526aeb8da4e79b --- /dev/null +++ b/pages.hi/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> यह आदेश `find` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr find` diff --git a/pages.hi/osx/gfmt.md b/pages.hi/osx/gfmt.md new file mode 100644 index 00000000000000..17dd387a59f272 --- /dev/null +++ b/pages.hi/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> यह आदेश `fmt` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr fmt` diff --git a/pages.hi/osx/gfold.md b/pages.hi/osx/gfold.md new file mode 100644 index 00000000000000..3aa0d3256ba1b9 --- /dev/null +++ b/pages.hi/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> यह आदेश `-p linux fold` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.hi/osx/gftp.md b/pages.hi/osx/gftp.md new file mode 100644 index 00000000000000..25b7c7cae9fe36 --- /dev/null +++ b/pages.hi/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> यह आदेश `ftp` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ftp` diff --git a/pages.hi/osx/ggrep.md b/pages.hi/osx/ggrep.md new file mode 100644 index 00000000000000..2fc71e9eaca71e --- /dev/null +++ b/pages.hi/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> यह आदेश `grep` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr grep` diff --git a/pages.hi/osx/ggroups.md b/pages.hi/osx/ggroups.md new file mode 100644 index 00000000000000..83b081aecf0481 --- /dev/null +++ b/pages.hi/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> यह आदेश `groups` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr groups` diff --git a/pages.hi/osx/ghead.md b/pages.hi/osx/ghead.md new file mode 100644 index 00000000000000..1b6af2761fe03b --- /dev/null +++ b/pages.hi/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> यह आदेश `-p linux head` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.hi/osx/ghostid.md b/pages.hi/osx/ghostid.md new file mode 100644 index 00000000000000..cf47af45a18234 --- /dev/null +++ b/pages.hi/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> यह आदेश `hostid` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr hostid` diff --git a/pages.hi/osx/ghostname.md b/pages.hi/osx/ghostname.md new file mode 100644 index 00000000000000..ac93bdac03aadc --- /dev/null +++ b/pages.hi/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> यह आदेश `hostname` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr hostname` diff --git a/pages.hi/osx/gid.md b/pages.hi/osx/gid.md new file mode 100644 index 00000000000000..c56a98bb8b319d --- /dev/null +++ b/pages.hi/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> यह आदेश `id` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr id` diff --git a/pages.hi/osx/gifconfig.md b/pages.hi/osx/gifconfig.md new file mode 100644 index 00000000000000..729ca78ff9e315 --- /dev/null +++ b/pages.hi/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> यह आदेश `ifconfig` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ifconfig` diff --git a/pages.hi/osx/gindent.md b/pages.hi/osx/gindent.md new file mode 100644 index 00000000000000..6879fe06377bde --- /dev/null +++ b/pages.hi/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> यह आदेश `indent` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.hi/osx/ginstall.md b/pages.hi/osx/ginstall.md new file mode 100644 index 00000000000000..8df8bdfe6c8ec5 --- /dev/null +++ b/pages.hi/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> यह आदेश `install` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr install` diff --git a/pages.hi/osx/gjoin.md b/pages.hi/osx/gjoin.md new file mode 100644 index 00000000000000..a79eb5a6dd5be1 --- /dev/null +++ b/pages.hi/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> यह आदेश `join` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr join` diff --git a/pages.hi/osx/gkill.md b/pages.hi/osx/gkill.md new file mode 100644 index 00000000000000..2398c8dd8ffc77 --- /dev/null +++ b/pages.hi/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> यह आदेश `-p linux kill` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.hi/osx/glibtool.md b/pages.hi/osx/glibtool.md new file mode 100644 index 00000000000000..f23628255c20d7 --- /dev/null +++ b/pages.hi/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> यह आदेश `-p linux libtool` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.hi/osx/glibtoolize.md b/pages.hi/osx/glibtoolize.md new file mode 100644 index 00000000000000..3d617efffec970 --- /dev/null +++ b/pages.hi/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> यह आदेश `-p linux libtoolize` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.hi/osx/glink.md b/pages.hi/osx/glink.md new file mode 100644 index 00000000000000..64b4899f8bc720 --- /dev/null +++ b/pages.hi/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> यह आदेश `link` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr link` diff --git a/pages.hi/osx/gln.md b/pages.hi/osx/gln.md new file mode 100644 index 00000000000000..71fad04c1caee8 --- /dev/null +++ b/pages.hi/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> यह आदेश `ln` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ln` diff --git a/pages.hi/osx/glocate.md b/pages.hi/osx/glocate.md new file mode 100644 index 00000000000000..b980bb48ef8c06 --- /dev/null +++ b/pages.hi/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> यह आदेश `-p linux locate` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.hi/osx/glogger.md b/pages.hi/osx/glogger.md new file mode 100644 index 00000000000000..2f0951ae46430f --- /dev/null +++ b/pages.hi/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> यह आदेश `-p linux logger` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.hi/osx/glogname.md b/pages.hi/osx/glogname.md new file mode 100644 index 00000000000000..c12db6d3e6c4ef --- /dev/null +++ b/pages.hi/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> यह आदेश `logname` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr logname` diff --git a/pages.hi/osx/gls.md b/pages.hi/osx/gls.md new file mode 100644 index 00000000000000..b44b2037fafa75 --- /dev/null +++ b/pages.hi/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> यह आदेश `ls` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ls` diff --git a/pages.hi/osx/gmake.md b/pages.hi/osx/gmake.md new file mode 100644 index 00000000000000..a1299974e3f37b --- /dev/null +++ b/pages.hi/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> यह आदेश `make` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr make` diff --git a/pages.hi/osx/gmd5sum.md b/pages.hi/osx/gmd5sum.md new file mode 100644 index 00000000000000..b1d7978a546157 --- /dev/null +++ b/pages.hi/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> यह आदेश `md5sum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr md5sum` diff --git a/pages.hi/osx/gmkdir.md b/pages.hi/osx/gmkdir.md new file mode 100644 index 00000000000000..8c72e8afb06ebd --- /dev/null +++ b/pages.hi/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> यह आदेश `mkdir` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr mkdir` diff --git a/pages.hi/osx/gmkfifo.md b/pages.hi/osx/gmkfifo.md new file mode 100644 index 00000000000000..326db053fbd9e0 --- /dev/null +++ b/pages.hi/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> यह आदेश `mkfifo` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr mkfifo` diff --git a/pages.hi/osx/gmknod.md b/pages.hi/osx/gmknod.md new file mode 100644 index 00000000000000..4f74037a6de344 --- /dev/null +++ b/pages.hi/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> यह आदेश `-p linux mknod` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.hi/osx/gmktemp.md b/pages.hi/osx/gmktemp.md new file mode 100644 index 00000000000000..3f18cf7da7cb80 --- /dev/null +++ b/pages.hi/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> यह आदेश `-p linux mktemp` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.hi/osx/gmv.md b/pages.hi/osx/gmv.md new file mode 100644 index 00000000000000..faf0c31844a98e --- /dev/null +++ b/pages.hi/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> यह आदेश `mv` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr mv` diff --git a/pages.hi/osx/gnice.md b/pages.hi/osx/gnice.md new file mode 100644 index 00000000000000..b65f30766e2294 --- /dev/null +++ b/pages.hi/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> यह आदेश `nice` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr nice` diff --git a/pages.hi/osx/gnl.md b/pages.hi/osx/gnl.md new file mode 100644 index 00000000000000..8332d17b765a16 --- /dev/null +++ b/pages.hi/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> यह आदेश `-p linux nl` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.hi/osx/gnohup.md b/pages.hi/osx/gnohup.md new file mode 100644 index 00000000000000..417509b6c3be0e --- /dev/null +++ b/pages.hi/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> यह आदेश `nohup` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr nohup` diff --git a/pages.hi/osx/gnproc.md b/pages.hi/osx/gnproc.md new file mode 100644 index 00000000000000..c4f998b712ac7c --- /dev/null +++ b/pages.hi/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> यह आदेश `nproc` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr nproc` diff --git a/pages.hi/osx/gnumfmt.md b/pages.hi/osx/gnumfmt.md new file mode 100644 index 00000000000000..9fb00acbcdf777 --- /dev/null +++ b/pages.hi/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> यह आदेश `numfmt` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr numfmt` diff --git a/pages.hi/osx/god.md b/pages.hi/osx/god.md new file mode 100644 index 00000000000000..76a369014e5cd9 --- /dev/null +++ b/pages.hi/osx/god.md @@ -0,0 +1,7 @@ +# god + +> यह आदेश `od` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr od` diff --git a/pages.hi/osx/gpaste.md b/pages.hi/osx/gpaste.md new file mode 100644 index 00000000000000..74aa001aa3b34a --- /dev/null +++ b/pages.hi/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> यह आदेश `paste` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr paste` diff --git a/pages.hi/osx/gpathchk.md b/pages.hi/osx/gpathchk.md new file mode 100644 index 00000000000000..c5ba01104fecbd --- /dev/null +++ b/pages.hi/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> यह आदेश `pathchk` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr pathchk` diff --git a/pages.hi/osx/gping.md b/pages.hi/osx/gping.md new file mode 100644 index 00000000000000..ad26f92985b21b --- /dev/null +++ b/pages.hi/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> यह आदेश `ping` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.hi/osx/gping6.md b/pages.hi/osx/gping6.md new file mode 100644 index 00000000000000..b18b4beb83e7ad --- /dev/null +++ b/pages.hi/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> यह आदेश `ping6` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr ping6` diff --git a/pages.hi/osx/gpinky.md b/pages.hi/osx/gpinky.md new file mode 100644 index 00000000000000..4b39b8ebd367f5 --- /dev/null +++ b/pages.hi/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> यह आदेश `pinky` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr pinky` diff --git a/pages.hi/osx/gpr.md b/pages.hi/osx/gpr.md new file mode 100644 index 00000000000000..8ac03399aab816 --- /dev/null +++ b/pages.hi/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> यह आदेश `pr` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr pr` diff --git a/pages.hi/osx/gprintenv.md b/pages.hi/osx/gprintenv.md new file mode 100644 index 00000000000000..750d79de7f8f67 --- /dev/null +++ b/pages.hi/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> यह आदेश `printenv` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr printenv` diff --git a/pages.hi/osx/gprintf.md b/pages.hi/osx/gprintf.md new file mode 100644 index 00000000000000..31617a253a7b9d --- /dev/null +++ b/pages.hi/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> यह आदेश `printf` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr printf` diff --git a/pages.hi/osx/gptx.md b/pages.hi/osx/gptx.md new file mode 100644 index 00000000000000..9cbe820728339e --- /dev/null +++ b/pages.hi/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> यह आदेश `-p linux ptx` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.hi/osx/gpwd.md b/pages.hi/osx/gpwd.md new file mode 100644 index 00000000000000..0886f6df192fb2 --- /dev/null +++ b/pages.hi/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> यह आदेश `pwd` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr pwd` diff --git a/pages.hi/osx/grcp.md b/pages.hi/osx/grcp.md new file mode 100644 index 00000000000000..cc6440ae4628d2 --- /dev/null +++ b/pages.hi/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> यह आदेश `-p linux rcp` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.hi/osx/greadlink.md b/pages.hi/osx/greadlink.md new file mode 100644 index 00000000000000..5c7d0b98a0e572 --- /dev/null +++ b/pages.hi/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> यह आदेश `readlink` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr readlink` diff --git a/pages.hi/osx/grealpath.md b/pages.hi/osx/grealpath.md new file mode 100644 index 00000000000000..11b1fc6a3a0cd1 --- /dev/null +++ b/pages.hi/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> यह आदेश `realpath` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr realpath` diff --git a/pages.hi/osx/grexec.md b/pages.hi/osx/grexec.md new file mode 100644 index 00000000000000..3a88c3c64615d2 --- /dev/null +++ b/pages.hi/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> यह आदेश `-p linux rexec` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.hi/osx/grlogin.md b/pages.hi/osx/grlogin.md new file mode 100644 index 00000000000000..046ef93c642e42 --- /dev/null +++ b/pages.hi/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> यह आदेश `-p linux rlogin` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.hi/osx/grm.md b/pages.hi/osx/grm.md new file mode 100644 index 00000000000000..19589af9fba51c --- /dev/null +++ b/pages.hi/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> यह आदेश `rm` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr rm` diff --git a/pages.hi/osx/grmdir.md b/pages.hi/osx/grmdir.md new file mode 100644 index 00000000000000..9bd02dfea3f9a5 --- /dev/null +++ b/pages.hi/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> यह आदेश `rmdir` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr rmdir` diff --git a/pages.hi/osx/grsh.md b/pages.hi/osx/grsh.md new file mode 100644 index 00000000000000..a3910c53c258e9 --- /dev/null +++ b/pages.hi/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> यह आदेश `-p linux rsh` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.hi/osx/gruncon.md b/pages.hi/osx/gruncon.md new file mode 100644 index 00000000000000..01d305b0cfb4cf --- /dev/null +++ b/pages.hi/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> यह आदेश `-p linux runcon` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.hi/osx/gsed.md b/pages.hi/osx/gsed.md new file mode 100644 index 00000000000000..feaafca82a9d6c --- /dev/null +++ b/pages.hi/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> यह आदेश `-p linux sed` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.hi/osx/gseq.md b/pages.hi/osx/gseq.md new file mode 100644 index 00000000000000..7e0a93e05cc37a --- /dev/null +++ b/pages.hi/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> यह आदेश `seq` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr seq` diff --git a/pages.hi/osx/gsha1sum.md b/pages.hi/osx/gsha1sum.md new file mode 100644 index 00000000000000..bc63e5dadd8786 --- /dev/null +++ b/pages.hi/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> यह आदेश `sha1sum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr sha1sum` diff --git a/pages.hi/osx/gsha224sum.md b/pages.hi/osx/gsha224sum.md new file mode 100644 index 00000000000000..afc1af389ca5f0 --- /dev/null +++ b/pages.hi/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> यह आदेश `sha224sum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr sha224sum` diff --git a/pages.hi/osx/gsha256sum.md b/pages.hi/osx/gsha256sum.md new file mode 100644 index 00000000000000..742bec56c9d874 --- /dev/null +++ b/pages.hi/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> यह आदेश `sha256sum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr sha256sum` diff --git a/pages.hi/osx/gsha384sum.md b/pages.hi/osx/gsha384sum.md new file mode 100644 index 00000000000000..9be34c5b3013a7 --- /dev/null +++ b/pages.hi/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> यह आदेश `sha384sum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr sha384sum` diff --git a/pages.hi/osx/gsha512sum.md b/pages.hi/osx/gsha512sum.md new file mode 100644 index 00000000000000..10a46f55e2ebd5 --- /dev/null +++ b/pages.hi/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> यह आदेश `sha512sum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr sha512sum` diff --git a/pages.hi/osx/gshred.md b/pages.hi/osx/gshred.md new file mode 100644 index 00000000000000..90adaa5731e686 --- /dev/null +++ b/pages.hi/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> यह आदेश `shred` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr shred` diff --git a/pages.hi/osx/gshuf.md b/pages.hi/osx/gshuf.md new file mode 100644 index 00000000000000..ad95f81dd8d939 --- /dev/null +++ b/pages.hi/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> यह आदेश `shuf` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.hi/osx/gsleep.md b/pages.hi/osx/gsleep.md new file mode 100644 index 00000000000000..b3a3f005a8d96a --- /dev/null +++ b/pages.hi/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> यह आदेश `-p linux sleep` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.hi/osx/gsort.md b/pages.hi/osx/gsort.md new file mode 100644 index 00000000000000..cd062d53444b86 --- /dev/null +++ b/pages.hi/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> यह आदेश `sort` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr sort` diff --git a/pages.hi/osx/gsplit.md b/pages.hi/osx/gsplit.md new file mode 100644 index 00000000000000..6aeedddd19b331 --- /dev/null +++ b/pages.hi/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> यह आदेश `split` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.hi/osx/gstat.md b/pages.hi/osx/gstat.md new file mode 100644 index 00000000000000..a211a385e6ccbb --- /dev/null +++ b/pages.hi/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> यह आदेश `stat` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.hi/osx/gstdbuf.md b/pages.hi/osx/gstdbuf.md new file mode 100644 index 00000000000000..1a35797577b4da --- /dev/null +++ b/pages.hi/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> यह आदेश `stdbuf` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr stdbuf` diff --git a/pages.hi/osx/gstty.md b/pages.hi/osx/gstty.md new file mode 100644 index 00000000000000..bc1dd6480999ea --- /dev/null +++ b/pages.hi/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> यह आदेश `stty` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr stty` diff --git a/pages.hi/osx/gsum.md b/pages.hi/osx/gsum.md new file mode 100644 index 00000000000000..52306bfe075400 --- /dev/null +++ b/pages.hi/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> यह आदेश `sum` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr sum` diff --git a/pages.hi/osx/gsync.md b/pages.hi/osx/gsync.md new file mode 100644 index 00000000000000..19851a7ea410ba --- /dev/null +++ b/pages.hi/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> यह आदेश `sync` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr sync` diff --git a/pages.hi/osx/gtac.md b/pages.hi/osx/gtac.md new file mode 100644 index 00000000000000..d9f5eb0f89f54d --- /dev/null +++ b/pages.hi/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> यह आदेश `tac` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr tac` diff --git a/pages.hi/osx/gtail.md b/pages.hi/osx/gtail.md new file mode 100644 index 00000000000000..48de5f91e6e3e5 --- /dev/null +++ b/pages.hi/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> यह आदेश `tail` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.hi/osx/gtalk.md b/pages.hi/osx/gtalk.md new file mode 100644 index 00000000000000..013da1bc6326c8 --- /dev/null +++ b/pages.hi/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> यह आदेश `-p linux talk` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.hi/osx/gtar.md b/pages.hi/osx/gtar.md new file mode 100644 index 00000000000000..19d439dd09f5ef --- /dev/null +++ b/pages.hi/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> यह आदेश `tar` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr tar` diff --git a/pages.hi/osx/gtee.md b/pages.hi/osx/gtee.md new file mode 100644 index 00000000000000..630359d29b1bf3 --- /dev/null +++ b/pages.hi/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> यह आदेश `tee` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr tee` diff --git a/pages.hi/osx/gtelnet.md b/pages.hi/osx/gtelnet.md new file mode 100644 index 00000000000000..9a1ca54f598711 --- /dev/null +++ b/pages.hi/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> यह आदेश `telnet` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr telnet` diff --git a/pages.hi/osx/gtest.md b/pages.hi/osx/gtest.md new file mode 100644 index 00000000000000..52b8d1e6d5b265 --- /dev/null +++ b/pages.hi/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> यह आदेश `test` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr test` diff --git a/pages.hi/osx/gtftp.md b/pages.hi/osx/gtftp.md new file mode 100644 index 00000000000000..fabd482e55c793 --- /dev/null +++ b/pages.hi/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> यह आदेश `-p linux tftp` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.hi/osx/gtime.md b/pages.hi/osx/gtime.md new file mode 100644 index 00000000000000..3132ee528a5f7c --- /dev/null +++ b/pages.hi/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> यह आदेश `time` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr time` diff --git a/pages.hi/osx/gtimeout.md b/pages.hi/osx/gtimeout.md new file mode 100644 index 00000000000000..ac70b874971a42 --- /dev/null +++ b/pages.hi/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> यह आदेश `timeout` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr timeout` diff --git a/pages.hi/osx/gtouch.md b/pages.hi/osx/gtouch.md new file mode 100644 index 00000000000000..1b17e0151d2210 --- /dev/null +++ b/pages.hi/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> यह आदेश `touch` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr touch` diff --git a/pages.hi/osx/gtr.md b/pages.hi/osx/gtr.md new file mode 100644 index 00000000000000..091bd9ebb2ff1e --- /dev/null +++ b/pages.hi/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> यह आदेश `tr` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr tr` diff --git a/pages.hi/osx/gtraceroute.md b/pages.hi/osx/gtraceroute.md new file mode 100644 index 00000000000000..094e000f16bf68 --- /dev/null +++ b/pages.hi/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> यह आदेश `traceroute` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr traceroute` diff --git a/pages.hi/osx/gtrue.md b/pages.hi/osx/gtrue.md new file mode 100644 index 00000000000000..ee3ec3797facfd --- /dev/null +++ b/pages.hi/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> यह आदेश `true` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr true` diff --git a/pages.hi/osx/gtruncate.md b/pages.hi/osx/gtruncate.md new file mode 100644 index 00000000000000..f3f87407117e57 --- /dev/null +++ b/pages.hi/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> यह आदेश `truncate` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr truncate` diff --git a/pages.hi/osx/gtsort.md b/pages.hi/osx/gtsort.md new file mode 100644 index 00000000000000..c6a5dd0b7f01dd --- /dev/null +++ b/pages.hi/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> यह आदेश `tsort` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr tsort` diff --git a/pages.hi/osx/gtty.md b/pages.hi/osx/gtty.md new file mode 100644 index 00000000000000..4ad6ea82279445 --- /dev/null +++ b/pages.hi/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> यह आदेश `tty` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr tty` diff --git a/pages.hi/osx/guname.md b/pages.hi/osx/guname.md new file mode 100644 index 00000000000000..ea9aee40e42e7b --- /dev/null +++ b/pages.hi/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> यह आदेश `uname` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.hi/osx/gunexpand.md b/pages.hi/osx/gunexpand.md new file mode 100644 index 00000000000000..726496aeffbd6d --- /dev/null +++ b/pages.hi/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> यह आदेश `unexpand` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr unexpand` diff --git a/pages.hi/osx/guniq.md b/pages.hi/osx/guniq.md new file mode 100644 index 00000000000000..32aeaa33cae5f1 --- /dev/null +++ b/pages.hi/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> यह आदेश `uniq` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr uniq` diff --git a/pages.hi/osx/gunits.md b/pages.hi/osx/gunits.md new file mode 100644 index 00000000000000..33f85f347b4158 --- /dev/null +++ b/pages.hi/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> यह आदेश `units` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr units` diff --git a/pages.hi/osx/gunlink.md b/pages.hi/osx/gunlink.md new file mode 100644 index 00000000000000..9c4105748148eb --- /dev/null +++ b/pages.hi/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> यह आदेश `unlink` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr unlink` diff --git a/pages.hi/osx/gupdatedb.md b/pages.hi/osx/gupdatedb.md new file mode 100644 index 00000000000000..72096dd95e3201 --- /dev/null +++ b/pages.hi/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> यह आदेश `-p linux updatedb` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.hi/osx/guptime.md b/pages.hi/osx/guptime.md new file mode 100644 index 00000000000000..aabe98ff4ec92e --- /dev/null +++ b/pages.hi/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> यह आदेश `uptime` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.hi/osx/gusers.md b/pages.hi/osx/gusers.md new file mode 100644 index 00000000000000..b49b4dab8105f7 --- /dev/null +++ b/pages.hi/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> यह आदेश `users` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr users` diff --git a/pages.hi/osx/gvdir.md b/pages.hi/osx/gvdir.md new file mode 100644 index 00000000000000..cce26e400f1a1a --- /dev/null +++ b/pages.hi/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> यह आदेश `vdir` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr vdir` diff --git a/pages.hi/osx/gwc.md b/pages.hi/osx/gwc.md new file mode 100644 index 00000000000000..1170a33fee3116 --- /dev/null +++ b/pages.hi/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> यह आदेश `wc` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.hi/osx/gwhich.md b/pages.hi/osx/gwhich.md new file mode 100644 index 00000000000000..f3b4c27f540ea8 --- /dev/null +++ b/pages.hi/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> यह आदेश `which` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr which` diff --git a/pages.hi/osx/gwho.md b/pages.hi/osx/gwho.md new file mode 100644 index 00000000000000..c3097514389d81 --- /dev/null +++ b/pages.hi/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> यह आदेश `who` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr who` diff --git a/pages.hi/osx/gwhoami.md b/pages.hi/osx/gwhoami.md new file mode 100644 index 00000000000000..b786e03cc918e6 --- /dev/null +++ b/pages.hi/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> यह आदेश `whoami` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr whoami` diff --git a/pages.hi/osx/gwhois.md b/pages.hi/osx/gwhois.md new file mode 100644 index 00000000000000..52391e6d1a0f10 --- /dev/null +++ b/pages.hi/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> यह आदेश `whois` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr whois` diff --git a/pages.hi/osx/gxargs.md b/pages.hi/osx/gxargs.md new file mode 100644 index 00000000000000..2037c7adde4fec --- /dev/null +++ b/pages.hi/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> यह आदेश `xargs` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr xargs` diff --git a/pages.hi/osx/gyes.md b/pages.hi/osx/gyes.md new file mode 100644 index 00000000000000..1b40bdf6dd9b77 --- /dev/null +++ b/pages.hi/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> यह आदेश `yes` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr yes` diff --git a/pages.hi/sunos/devfsadm.md b/pages.hi/sunos/devfsadm.md new file mode 100644 index 00000000000000..9bd67a8bde5571 --- /dev/null +++ b/pages.hi/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> `/dev` के लिए प्रशासनिक आदेश। `/dev` नामस्थान को बनाए रखता है। +> अधिक जानकारी: । + +- नए डिस्क के लिए स्कैन करें: + +`devfsadm -c disk` + +- किसी भी लटके हुए /dev लिंक को साफ करें और नए उपकरण के लिए स्कैन करें: + +`devfsadm -C -v` + +- ड्राई-रन - यह आउटपुट करता है कि क्या बदला जाएगा लेकिन कोई संशोधन नहीं करता: + +`devfsadm -C -v -n` diff --git a/pages.hi/sunos/dmesg.md b/pages.hi/sunos/dmesg.md new file mode 100644 index 00000000000000..ef7bc00c97dcec --- /dev/null +++ b/pages.hi/sunos/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> कर्नेल संदेशों को `stdout` पर लिखें। +> अधिक जानकारी: । + +- कर्नेल संदेश दिखाएं: + +`dmesg` + +- इस सिस्टम पर कितनी भौतिक मेमोरी उपलब्ध है दिखाएं: + +`dmesg | grep -i memory` + +- कर्नेल संदेश 1 पृष्ठ में एक बार दिखाएं: + +`dmesg | less` diff --git a/pages.hi/sunos/prctl.md b/pages.hi/sunos/prctl.md new file mode 100644 index 00000000000000..7c414993cd8f3e --- /dev/null +++ b/pages.hi/sunos/prctl.md @@ -0,0 +1,16 @@ +# prctl + +> चल रहे प्रक्रियाओं, कार्यों और परियोजनाओं के संसाधन नियंत्रण प्राप्त करें या सेट करें। +> अधिक जानकारी: । + +- प्रक्रिया सीमाओं और अनुमतियों की जांच करें: + +`prctl {{pid}}` + +- मशीन पार्सेबल प्रारूप में प्रक्रिया सीमाओं और अनुमतियों की जांच करें: + +`prctl -P {{pid}}` + +- चल रही प्रक्रिया के लिए विशिष्ट सीमा प्राप्त करें: + +`prctl -n process.max-file-descriptor {{pid}}` diff --git a/pages.hi/sunos/prstat.md b/pages.hi/sunos/prstat.md new file mode 100644 index 00000000000000..4193e9a3225865 --- /dev/null +++ b/pages.hi/sunos/prstat.md @@ -0,0 +1,24 @@ +# prstat + +> सक्रिय प्रक्रिया सांख्यिकी की रिपोर्ट करें। +> अधिक जानकारी: । + +- सभी प्रक्रियाओं की जांच करें और सीपीयू उपयोग के अनुसार सांख्यिकी की रिपोर्ट करें: + +`prstat` + +- सभी प्रक्रियाओं की जांच करें और मेमोरी उपयोग के अनुसार सांख्यिकी की रिपोर्ट करें: + +`prstat -s rss` + +- प्रत्येक उपयोगकर्ता के लिए कुल उपयोग सारांश की रिपोर्ट करें: + +`prstat -t` + +- माइक्रोस्टेट प्रक्रिया लेखांकन जानकारी की रिपोर्ट करें: + +`prstat -m` + +- हर सेकंड शीर्ष 5 सीपीयू उपयोग करने वाली प्रक्रियाओं की सूची प्रिंट करें: + +`prstat -c -n 5 -s cpu 1` diff --git a/pages.hi/sunos/snoop.md b/pages.hi/sunos/snoop.md new file mode 100644 index 00000000000000..f827ab20121950 --- /dev/null +++ b/pages.hi/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> नेटवर्क पैकेट स्निफर। +> सनओएस का tcpdump समकक्ष। +> अधिक जानकारी: । + +- एक विशेष नेटवर्क इंटरफेस पर पैकेट कैप्चर करें: + +`snoop -d {{e1000g0}}` + +- कैप्चर किए गए पैकेट को प्रदर्शित करने के बजाय एक फ़ाइल में सहेजें: + +`snoop -o {{फ़ाइल/का/पथ}}` + +- एक फ़ाइल से पैकेट का विस्तृत प्रोटोकॉल स्तर सारांश प्रदर्शित करें: + +`snoop -V -i {{फ़ाइल/का/पथ}}` + +- एक होस्टनाम से आने वाले और एक दिए गए पोर्ट पर जाने वाले नेटवर्क पैकेट कैप्चर करें: + +`snoop to port {{पोर्ट}} from host {{होस्टनाम}}` + +- दो आईपी पते के बीच विनिमय किए गए नेटवर्क पैकेट का हेक्स-डंप कैप्चर और दिखाएँ: + +`snoop -x0 -p4 {{ip1}} {{ip2}}` diff --git a/pages.hi/sunos/svcadm.md b/pages.hi/sunos/svcadm.md new file mode 100644 index 00000000000000..3c1e363ddf7152 --- /dev/null +++ b/pages.hi/sunos/svcadm.md @@ -0,0 +1,24 @@ +# svcadm + +> सेवा उदाहरणों को प्रबंधित करें। +> अधिक जानकारी: । + +- सेवा डेटाबेस में एक सेवा को सक्षम करें: + +`svcadm enable {{सेवा नाम}}` + +- सेवा को निष्क्रिय करें: + +`svcadm disable {{सेवा नाम}}` + +- चल रही सेवा को पुनः प्रारंभ करें: + +`svcadm restart {{सेवा नाम}}` + +- सेवा को कॉन्फ़िगरेशन फ़ाइलों को फिर से पढ़ने के लिए आदेश दें: + +`svcadm refresh {{सेवा नाम}}` + +- एक सेवा को रखरखाव स्थिति से हटा दें और इसे प्रारंभ करने का आदेश दें: + +`svcadm clear {{सेवा नाम}}` diff --git a/pages.hi/sunos/svccfg.md b/pages.hi/sunos/svccfg.md new file mode 100644 index 00000000000000..ad88cb0473355f --- /dev/null +++ b/pages.hi/sunos/svccfg.md @@ -0,0 +1,16 @@ +# svccfg + +> सेवा कॉन्फ़िगरेशन को आयात, निर्यात और संशोधित करें। +> अधिक जानकारी: । + +- कॉन्फ़िगरेशन फ़ाइल मान्य करें: + +`svccfg validate {{फाइल.xml/का/पथ}}` + +- सेवा कॉन्फ़िगरेशन को फ़ाइल में निर्यात करें: + +`svccfg export {{सेवामान}} > {{फाइल.xml/का/पथ}}` + +- फ़ाइल से सेवा कॉन्फ़िगरेशन को आयात/अपडेट करें: + +`svccfg import {{फाइल.xml/का/पथ}}` diff --git a/pages.hi/sunos/svcs.md b/pages.hi/sunos/svcs.md new file mode 100644 index 00000000000000..2f07eb596c1558 --- /dev/null +++ b/pages.hi/sunos/svcs.md @@ -0,0 +1,24 @@ +# svcs + +> चल रहे सेवाओं के बारे में जानकारी सूचीबद्ध करें। +> अधिक जानकारी: । + +- सभी चल रही सेवाओं की सूची बनाएं: + +`svcs` + +- उन सेवाओं की सूची बनाएं जो चल नहीं रही हैं: + +`svcs -vx` + +- किसी सेवा के बारे में जानकारी सूचीबद्ध करें: + +`svcs apache` + +- सेवा लॉग फ़ाइल के स्थान को दिखाएं: + +`svcs -L apache` + +- सेवा लॉग फ़ाइल के अंत को प्रदर्शित करें: + +`tail $(svcs -L apache)` diff --git a/pages.hi/sunos/truss.md b/pages.hi/sunos/truss.md new file mode 100644 index 00000000000000..c28ff99948146a --- /dev/null +++ b/pages.hi/sunos/truss.md @@ -0,0 +1,25 @@ +# truss + +> सिस्टम कॉल को ट्रेस करने के लिए समस्या निराकरण टूल। +> SunOS का संगत strace। +> अधिक जानकारी: । + +- एक प्रोग्राम को ट्रेस करने के लिए प्रायोगिकरण करके उसकी सभी उपक्रमों का पालन करें: + +`truss -f {{प्रोग्राम}}` + +- उसके PID द्वारा एक विशिष्ट प्रक्रिया को ट्रेस करने का प्रारंभ करें: + +`truss -p {{pid}}` + +- एक प्रोग्राम को ट्रेस करने के लिए प्रायोगिकरण करके उसके आर्ग्यूमेंट और पर्यावरण परियोजना दिखाने का प्रारंभ करें: + +`truss -a -e {{प्रोग्राम}}` + +- प्रत्येक सिस्टम कॉल के लिए समय, कॉल्स, और त्रुटियों की गणना करें और प्रोग्राम बाहर निकलने पर एक संक्षेप रिपोर्ट करें: + +`truss -c -p {{pid}}` + +- सिस्टम कॉल के द्वारा आउटपुट को फ़िल्टर करते हुए एक प्रक्रिया को ट्रेस करें: + +`truss -p {{pid}} -t {{सिस्टम_कॉल_नाम}}` diff --git a/pages.hi/windows/add-appxpackage.md b/pages.hi/windows/add-appxpackage.md new file mode 100644 index 00000000000000..5a478776657ec6 --- /dev/null +++ b/pages.hi/windows/add-appxpackage.md @@ -0,0 +1,20 @@ +# Add-AppxPackage + +> उपयोगकर्ता खाते में एक हस्ताक्षरित ऐप पैकेज (`.appx`, `.msix`, `.appxbundle` और `.msixbundle`) जोड़ने के लिए एक PowerShell उपयोगिता। +> अधिक जानकारी: । + +- एक ऐप पैकेज जोड़ें: + +`Add-AppxPackage -Path {{पैकेज.msix\का\पथ}}` + +- निर्भरता के साथ एक ऐप पैकेज जोड़ें: + +`Add-AppxPackage -Path {{पैकेज.msix\का\पथ}} -DependencyPath {{निर्भरता.msix\का\पथ}}` + +- ऐप इंस्टॉलर फ़ाइल का उपयोग करके एक ऐप इंस्टॉल करें: + +`Add-AppxPackage -AppInstallerFile {{ऐप_इंस्टॉलर.msix\का\पथ}}` + +- एक अहस्ताक्षरित पैकेज जोड़ें: + +`Add-AppxPackage -Path {{पैकेज.msix\का\पथ}} -DependencyPath {{निर्भरता.msix\का\पथ}} -AllowUnsigned` diff --git a/pages.hi/windows/assoc.md b/pages.hi/windows/assoc.md new file mode 100644 index 00000000000000..05f44c28fb18f5 --- /dev/null +++ b/pages.hi/windows/assoc.md @@ -0,0 +1,20 @@ +# assoc + +> फ़ाइल एक्सटेंशन और फ़ाइल प्रकारों के बीच संबंधों को प्रदर्शित या बदलें। +> अधिक जानकारी: । + +- फ़ाइल एक्सटेंशनों और फ़ाइल प्रकारों के बीच सभी संबंधों की सूची बनाएं: + +`assoc` + +- एक विशिष्ट एक्सटेंशन के लिए संबंधित फ़ाइल प्रकार प्रदर्शित करें: + +`assoc {{.txt}}` + +- एक विशिष्ट एक्सटेंशन के लिए संबंधित फ़ाइल प्रकार सेट करें: + +`assoc .{{txt}}={{txt फ़ाइल}}` + +- `assoc` का आउटपुट एक स्क्रीन में एक बार में देखें: + +`assoc | {{more}}` diff --git a/pages.hi/windows/bcdboot.md b/pages.hi/windows/bcdboot.md new file mode 100644 index 00000000000000..6109dd26319e10 --- /dev/null +++ b/pages.hi/windows/bcdboot.md @@ -0,0 +1,24 @@ +# bcdboot + +> बूट फ़ाइलों को कॉन्फ़िगर या सुधारें। +> अधिक जानकारी: । + +- स्रोत विंडोज़ फ़ोल्डर से BCD फ़ाइलों का उपयोग करके सिस्टम विभाजन को प्रारंभ करें: + +`bcdboot {{C:\Windows}}` + +- वर्बोज़(verbose[v]) मोड सक्षम करें: + +`bcdboot {{C:\Windows}} /v` + +- सिस्टम विभाजन का वॉल्यूम अक्षर निर्दिष्ट करें: + +`bcdboot {{C:\Windows}} /s {{S:}}` + +- कोई स्थान निर्दिष्ट करें: + +`bcdboot {{C:\Windows}} /l {{en-us}}` + +- बूट फ़ाइलों को निर्दिष्ट वॉल्यूम पर कॉपी करते समय फ़र्मवेयर प्रकार निर्दिष्ट करें: + +`bcdboot {{C:\Windows}} /s {{S:}} /f {{UEFI|BIOS|ALL}}` diff --git a/pages.hi/windows/bleachbit.md b/pages.hi/windows/bleachbit.md new file mode 100644 index 00000000000000..06367999b7adb9 --- /dev/null +++ b/pages.hi/windows/bleachbit.md @@ -0,0 +1,7 @@ +# bleachbit + +> यह कमांड `bleachbit_console` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr bleachbit_console` diff --git a/pages.hi/windows/cd.md b/pages.hi/windows/cd.md new file mode 100644 index 00000000000000..d4b812f5890c36 --- /dev/null +++ b/pages.hi/windows/cd.md @@ -0,0 +1,24 @@ +# cd + +> वर्तमान कार्यशील निर्देशिका प्रदर्शित करें या किसी भिन्न निर्देशिका में ले जाएँ। +> अधिक जानकारी: । + +- वर्तमान निर्देशिका का पथ प्रदर्शित करें: + +`cd` + +- वर्तमान ड्राइव के रूट पर जाएँ: + +`cd \` + +- वर्तमान निर्देशिका के जनक तक जाएँ: + +`cd ..` + +- उसी ड्राइव में एक विशिष्ट निर्देशिका पर जाएँ: + +`cd {{निर्देशिका\का\पथ}}` + +- किसी भिन्न [d]ड्राइव में एक विशिष्ट निर्देशिका पर जाएँ: + +`cd /d {{C}}:{{निर्देशिका\का\पथ}}` diff --git a/pages.hi/windows/certutil.md b/pages.hi/windows/certutil.md new file mode 100644 index 00000000000000..e7072404266569 --- /dev/null +++ b/pages.hi/windows/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> सर्टीफिकेट सूचना को प्रबंधित और विन्यसित करने के लिए एक टूल। +> अधिक जानकारी: । + +- विन्यास सूचना या फ़ाइलों को डंप करें: + +`certutil {{फ़ाइल_नाम}}` + +- एक फ़ाइल को हेक्साडेसिमल में एनकोड करें: + +`certutil -encodehex {{इनपुट_फ़ाइल\का\पथ}} {{आउटपुट_फ़ाइल\का\पथ}}` + +- एक फ़ाइल को बेस64 में एनकोड करें: + +`certutil -encode {{इनपुट_फ़ाइल\का\पथ}} {{आउटपुट_फ़ाइल\का\पथ}}` + +- बेस64-एनकोड फ़ाइल को डीकोड करें: + +`certutil -decode {{इनपुट_फ़ाइल\का\पथ}} {{आउटपुट_फ़ाइल\का\पथ}}` + +- एक फ़ाइल पर एक आपातकालिक हैश उत्पन्न करें और प्रदर्शित करें: + +`certutil -hashfile {{इनपुट_फ़ाइल\का\पथ}} {{md2|md4|md5|sha1|sha256|sha384|sha512}}` diff --git a/pages.hi/windows/chdir.md b/pages.hi/windows/chdir.md new file mode 100644 index 00000000000000..32308ae92bf3fb --- /dev/null +++ b/pages.hi/windows/chdir.md @@ -0,0 +1,12 @@ +# chdir + +> यह कमांड कमांड प्रॉम्प्ट में `cd` का उपनाम है, और इसके बाद पॉवरशेल में `Set-Location` है। +> अधिक जानकारी: । + +- मूल कमांड प्रॉम्प्ट कमांड के लिए दस्तावेज़ देखें: + +`tldr cd` + +- मूल पॉवरशेल कमांड के लिए दस्तावेज़ देखें: + +`tldr set-location` diff --git a/pages.hi/windows/choco-apikey.md b/pages.hi/windows/choco-apikey.md new file mode 100644 index 00000000000000..a955fe51bf044e --- /dev/null +++ b/pages.hi/windows/choco-apikey.md @@ -0,0 +1,20 @@ +# choco apikey + +> चॉकलेट के स्रोतों के लिए एपीआई की प्रबंधित करें। +> अधिक जानकारी: । + +- स्रोतों और उनके API चाबी की सूची दिखाएं: + +`choco apikey` + +- एक विशिष्ट स्रोत और उसके API चाबी को दिखाएं: + +`choco apikey --source "{{स्रोत_URL}}"` + +- एक स्रोत के लिए API चाबी सेट करें: + +`choco apikey --source "{{स्रोत_URL}}" --key "{{api_चाबी}}"` + +- एक स्रोत के लिए API चाबी हटाएं: + +`choco apikey --source "{{स्रोत_URL}}" --remove` diff --git a/pages.hi/windows/choco-feature.md b/pages.hi/windows/choco-feature.md new file mode 100644 index 00000000000000..99a4d6e55459f0 --- /dev/null +++ b/pages.hi/windows/choco-feature.md @@ -0,0 +1,16 @@ +# choco feature + +> चॉकलेट के साथ विशेषताओं के साथ इंटरैक्ट करें। +> अधिक जानकारी: । + +- उपलब्ध विशेषताओं की सूची दिखाएँ: + +`choco feature list` + +- एक विशेषता सक्षम करें: + +`choco feature enable --name {{नाम}}` + +- एक विशेषता अक्षम करें: + +`choco feature disable --name {{नाम}}` diff --git a/pages.hi/windows/choco-info.md b/pages.hi/windows/choco-info.md new file mode 100644 index 00000000000000..5b9e86662bfb3a --- /dev/null +++ b/pages.hi/windows/choco-info.md @@ -0,0 +1,20 @@ +# choco info + +> चॉकलेट के साथ एक पैकेज के बारे में विस्तृत जानकारी प्रदर्शित करें। +> अधिक जानकारी: । + +- एक विशेष पैकेज पर जानकारी प्रदर्शित करें: + +`choco info {{पैकेज}}` + +- केवल एक स्थानीय पैकेज के लिए जानकारी प्रदर्शित करें: + +`choco info {{पैकेज}} --local-only` + +- पैकेजों की जानकारी प्राप्त करने के लिए एक कस्टम स्रोत निर्दिष्ट करें: + +`choco info {{पैकेज}} --source {{स्रोत_यूआरएल|उपनाम}}` + +- प्रमाणीकरण के लिए एक उपयोगकर्ता नाम और पासवर्ड प्रदान करें: + +`choco info {{पैकेज}} --user {{उपयोगकर्ता_नाम}} --password {{पासवर्ड}}` diff --git a/pages.hi/windows/choco-list.md b/pages.hi/windows/choco-list.md new file mode 100644 index 00000000000000..1e646a6b9d4282 --- /dev/null +++ b/pages.hi/windows/choco-list.md @@ -0,0 +1,28 @@ +# choco list + +> चॉकलेट के साथ पैकेजों की सूची प्रदर्शित करें। +> अधिक जानकारी: । + +- सभी उपलब्ध पैकेज प्रदर्शित करें: + +`choco list` + +- सभी स्थानीय रूप से स्थापित पैकेज प्रदर्शित करें: + +`choco list --local-only` + +- स्थानीय कार्यक्रमों सहित सूची प्रदर्शित करें: + +`choco list --include-programs` + +- केवल अनुमोदित पैकेज प्रदर्शित करें: + +`choco list --approved-only` + +- पैकेज प्रदर्शित करने के लिए एक कस्टम स्रोत निर्दिष्ट करें: + +`choco list --source {{स्रोत_URL|उपनाम}}` + +- प्रमाणीकरण के लिए एक उपयोगकर्ता नाम और पासवर्ड प्रदान करें: + +`choco list --user {{उपयोगकर्ता_नाम}} --password {{पासवर्ड}}` diff --git a/pages.hi/windows/choco-outdated.md b/pages.hi/windows/choco-outdated.md new file mode 100644 index 00000000000000..3bdb0c312a1c71 --- /dev/null +++ b/pages.hi/windows/choco-outdated.md @@ -0,0 +1,20 @@ +# choco outdated + +> चॉकलेट के साथ पुराने पैकेजों की जांच करें। +> अधिक जानकारी: । + +- पुराने पैकेजों की तालिका प्रारूप में सूची प्रदर्शित करें: + +`choco outdated` + +- आउटपुट में पिन किए गए पैकेजों की अनदेखी करें: + +`choco outdated --ignore-pinned` + +- पैकेजों की जांच के लिए एक कस्टम स्रोत निर्दिष्ट करें: + +`choco outdated --source {{स्रोत_url|उपनाम}}` + +- प्रमाणीकरण के लिए एक उपयोगकर्ता नाम और पासवर्ड प्रदान करें: + +`choco outdated --user {{उपयोगकर्ता_नाम}} --password {{पासवर्ड}}` diff --git a/pages.hi/windows/choco-pack.md b/pages.hi/windows/choco-pack.md new file mode 100644 index 00000000000000..7e11c9023ec5c0 --- /dev/null +++ b/pages.hi/windows/choco-pack.md @@ -0,0 +1,16 @@ +# choco pack + +> एक NuGet विनिर्देशन को `nupkg` फ़ाइल में पैक करें। +> अधिक जानकारी: । + +- एक NuGet विनिर्देशन को `nupkg` फ़ाइल में पैक करें: + +`choco pack {{विशिष्टता_फ़ाइल\का\पथ}}` + +- परिणामी फ़ाइल के संस्करण को निर्दिष्ट करते हुए एक NuGet विनिर्देशन को पैक करें: + +`choco pack {{विशिष्टता_फ़ाइल\का\पथ}} --version {{संस्करण}}` + +- एक विशेष निर्देशिका में NuGet विनिर्देशन को पैक करें: + +`choco pack {{विशिष्टता_फ़ाइल\का\पथ}} --output-directory {{आउटपुट_डायरेक्टरी\का\पथ}}` diff --git a/pages.hi/windows/choco-pin.md b/pages.hi/windows/choco-pin.md new file mode 100644 index 00000000000000..91ddfc35bc3540 --- /dev/null +++ b/pages.hi/windows/choco-pin.md @@ -0,0 +1,21 @@ +# choco pin + +> चॉकलेट के साथ एक संस्करण पर एक पैकेज पिन करें। +> पिन किए गए पैकेज को अपग्रेड करते समय स्वचालित रूप से छोड़ दिया जाता है। +> अधिक जानकारी: । + +- पिन किए गए पैकेज और उनके संस्करणों की एक सूची प्रदर्शित करें: + +`choco pin list` + +- एक पैकेज को उसके वर्तमान संस्करण पर पिन करें: + +`choco pin add --name {{पैकेज}}` + +- एक पैकेज को एक विशिष्ट संस्करण पर पिन करें: + +`choco pin add --name {{पैकेज}} --version {{संस्करण}}` + +- एक विशिष्ट पैकेज के लिए एक पिन हटा दें: + +`choco pin remove --name {{पैकेज}}` diff --git a/pages.hi/windows/choco-source.md b/pages.hi/windows/choco-source.md new file mode 100644 index 00000000000000..12d05ad11afe68 --- /dev/null +++ b/pages.hi/windows/choco-source.md @@ -0,0 +1,32 @@ +# choco source + +> चॉकलेटी वाले पैकेजों के लिए स्रोत प्रबंधित करें। +> अधिक जानकारी: । + +- वर्तमान में उपलब्ध स्रोतों की सूची बनाएं: + +`choco source list` + +- एक नया पैकेज स्रोत जोड़ें: + +`choco source add --name {{नाम}} --source {{यूआरएल}}` + +- क्रेडेंशियल्स के साथ एक नया पैकेज स्रोत जोड़ें: + +`choco source add --name {{नाम}} --source {{यूआरएल}} --user {{उपयोगकर्ता_नाम}} --password {{पासवर्ड}}` + +- क्लाइंट प्रमाणपत्र के साथ एक नया पैकेज स्रोत जोड़ें: + +`choco source add --name {{नाम}} --source {{यूआरएल}} --cert {{प्रमाणपत्र_फ़ाइल\का\पथ}}` + +- पैकेज स्रोत सक्षम करें: + +`choco source enable --name {{नाम}}` + +- पैकेज स्रोत को अक्षम करें: + +`choco source disable --name {{नाम}}` + +- पैकेज स्रोत हटाएँ: + +`choco source remove --name {{नाम}}` diff --git a/pages.hi/windows/choco-upgrade.md b/pages.hi/windows/choco-upgrade.md new file mode 100644 index 00000000000000..77746267ba9fad --- /dev/null +++ b/pages.hi/windows/choco-upgrade.md @@ -0,0 +1,32 @@ +# choco upgrade + +> चॉकलेटी के साथ एक या अधिक पैकेज अपग्रेड करें। +> अधिक जानकारी: । + +- एक या अधिक स्थान-पृथक पैकेजों को अपग्रेड करें: + +`choco upgrade {{पैकेज1 पैकेज2 ...}}` + +- किसी पैकेज के विशिष्ट संस्करण में अपग्रेड करें: + +`choco upgrade {{पैकेज}} --version {{संस्करण}}` + +- सभी पैकेज अपग्रेड करें: + +`choco upgrade all` + +- निर्दिष्ट अल्पविराम से अलग किए गए पैकेजों को छोड़कर सभी को अपग्रेड करें: + +`choco upgrade all --except "{{पैकेज1 पैकेज2 ...}}"` + +- सभी संकेतों की स्वचालित रूप से पुष्टि करें: + +`choco upgrade {{पैकेज}} --yes` + +- पैकेज प्राप्त करने के लिए एक कस्टम स्रोत निर्दिष्ट करें: + +`choco upgrade {{पैकेज}} --source {{स्रोत_यूआरएल|उपनाम}}` + +- प्रमाणीकरण के लिए उपयोगकर्ता नाम और पासवर्ड प्रदान करें: + +`choco upgrade {{पैकेज}} --user {{उपयोगकर्ता_नाम}} --password {{पासवर्ड}}` diff --git a/pages.hi/windows/choco.md b/pages.hi/windows/choco.md new file mode 100644 index 00000000000000..6f7e005d78ab88 --- /dev/null +++ b/pages.hi/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> चॉकलेटी पैकेज प्रबंधक। +> `choco install` जैसे कुछ उपकमांड के पास अपना उपयोग दस्तावेज़ भी हैं। +> अधिक जानकारी: । + +- चॉकलेटी आज्ञा को निष्पादित करें: + +`choco {{आज्ञा}}` + +- सामान्य मदद को कॉल करें: + +`choco -?` + +- एक विशिष्ट आज्ञा पर मदद कॉल करें: + +`choco {{आज्ञा}} -?` + +- चॉकलेटी संस्करण की जाँच करें: + +`choco --version` diff --git a/pages.hi/windows/chrome.md b/pages.hi/windows/chrome.md new file mode 100644 index 00000000000000..021ef740a6a0e6 --- /dev/null +++ b/pages.hi/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> यह आदेश `chromium` का उपनाम है। +> अधिक जानकारी: । + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr chromium` diff --git a/pages.hi/windows/cinst.md b/pages.hi/windows/cinst.md new file mode 100644 index 00000000000000..a687c49567eefe --- /dev/null +++ b/pages.hi/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> यह आदेश `choco install` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr choco install` diff --git a/pages.hi/windows/clear-host.md b/pages.hi/windows/clear-host.md new file mode 100644 index 00000000000000..d58abfe67c6462 --- /dev/null +++ b/pages.hi/windows/clear-host.md @@ -0,0 +1,9 @@ +# Clear-Host + +> स्क्रीन को साफ करता है। +> नोट: इस कमांड का उपयोग केवल पॉवरशेल के माध्यम से किया जा सकता है। +> अधिक जानकारी: । + +- स्क्रीन साफ करें: + +`cls` diff --git a/pages.hi/windows/clear.md b/pages.hi/windows/clear.md new file mode 100644 index 00000000000000..8e056a5661afc7 --- /dev/null +++ b/pages.hi/windows/clear.md @@ -0,0 +1,7 @@ +# clear + +> पॉवरशेल में, यह कमांड `Clear-Host` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr clear-host` diff --git a/pages.hi/windows/clist.md b/pages.hi/windows/clist.md new file mode 100644 index 00000000000000..bf72fc74c0717b --- /dev/null +++ b/pages.hi/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> यह आदेश `choco list` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr choco list` diff --git a/pages.hi/windows/cls.md b/pages.hi/windows/cls.md new file mode 100644 index 00000000000000..b5002acc2342b4 --- /dev/null +++ b/pages.hi/windows/cls.md @@ -0,0 +1,13 @@ +# cls + +> स्क्रीन को साफ करता है। +> PowerShell में, यह कमांड `Clear-Host` का उपनाम है। यह दस्तावेज़ Command Prompt (`cmd`) संस्करण के `cls` पर आधारित है। +> अधिक जानकारी: । + +- समकक्ष PowerShell कमांड का दस्तावेज़ देखें: + +`tldr clear-host` + +- स्क्रीन को साफ करें: + +`cls` diff --git a/pages.hi/windows/cmd.md b/pages.hi/windows/cmd.md new file mode 100644 index 00000000000000..4f44e7f90e3c24 --- /dev/null +++ b/pages.hi/windows/cmd.md @@ -0,0 +1,36 @@ +# cmd + +> विंडोज कमांड दुभाषिया। +> अधिक जानकारी: । + +- एक इंटरैक्टिव शेल सत्र प्रारंभ करें: + +`cmd` + +- एक आदेश निष्पादित करें: + +`cmd /c {{आज्ञा}}` + +- एक स्क्रिप्ट निष्पादित करें: + +`cmd {{फ़ाइल.bat\का\पथ}}` + +- एक कमांड निष्पादित करें और फिर एक इंटरेक्टिव शेल दर्ज करें: + +`cmd /k {{आज्ञा}}` + +- एक इंटरैक्टिव शेल सत्र प्रारंभ करें जहां कमांड आउटपुट में `echo` अक्षम है: + +`cmd /q` + +- विलंबित चर विस्तार सक्षम या अक्षम के साथ एक इंटरैक्टिव शेल सत्र प्रारंभ करें: + +`cmd /v:{{on|off}}` + +- सक्षम या अक्षम कमांड एक्सटेंशन के साथ एक इंटरैक्टिव शेल सत्र प्रारंभ करें: + +`cmd /e:{{on|off}}` + +- प्रयुक्त यूनिकोड एन्कोडिंग के साथ एक इंटरैक्टिव शेल सत्र प्रारंभ करें: + +`cmd /u` diff --git a/pages.hi/windows/cmdkey.md b/pages.hi/windows/cmdkey.md new file mode 100644 index 00000000000000..5c2210cbccc9d0 --- /dev/null +++ b/pages.hi/windows/cmdkey.md @@ -0,0 +1,16 @@ +# cmdkey + +> संग्रहीत उपयोगकर्ता_नाम और पासवर्ड बनाएं, दिखाएं और हटाएं। +> अधिक जानकारी: । + +- सभी उपयोगकर्ता क्रेडेंशियल्स की एक सूची दिखाएं: + +`cmdkey /list` + +- सभी उपयोगकर्ता क्रेडेंशियल्स की एक सूची दिखाएं: + +`cmdkey /add:{{सर्वर_का_नाम}} /user:{{उपयोगकर्ता_नाम}}` + +- किसी विशिष्ट लक्ष्य के लिए क्रेडेंशियल हटाएं: + +`cmdkey /delete {{लक्ष्य_नाम}}` diff --git a/pages.hi/windows/cmstp.md b/pages.hi/windows/cmstp.md new file mode 100644 index 00000000000000..d3a0f5e27d825b --- /dev/null +++ b/pages.hi/windows/cmstp.md @@ -0,0 +1,36 @@ +# cmstp + +> कनेक्शन सेवा प्रोफाइल प्रबंधित करें। +> अधिक जानकारी: । + +- एक विशेष प्रोफाइल स्थापित करें: + +`cmstp "{{प्रोफ़ाइल_फ़ाइल\का\पथ}}"` + +- डेस्कटॉप शॉर्टकट बनाए बिना स्थापित करें: + +`cmstp /ns "{{प्रोफ़ाइल_फ़ाइल\का\पथ}}"` + +- निर्भरताओं की जांच किए बिना स्थापित करें: + +`cmstp /nf "{{प्रोफ़ाइल_फ़ाइल\का\पथ}}"` + +- केवल वर्तमान उपयोगकर्ता के लिए स्थापित करें: + +`cmstp /su "{{प्रोफ़ाइल_फ़ाइल\का\पथ}}"` + +- सभी उपयोगकर्ताओं के लिए स्थापित करें (प्रशासक विशेषाधिकार की आवश्यकता है): + +`cmstp /au "{{प्रोफ़ाइल_फ़ाइल\का\पथ}}"` + +- बिना किसी संकेत के चुपचाप स्थापित करें: + +`cmstp /s "{{प्रोफ़ाइल_फ़ाइल\का\पथ}}"` + +- एक विशेष प्रोफाइल अनइंस्टॉल करें: + +`cmstp /u "{{प्रोफ़ाइल_फ़ाइल\का\पथ}}"` + +- बिना पुष्टि संकेत के चुपचाप अनइंस्टॉल करें: + +`cmstp /u /s "{{प्रोफ़ाइल_फ़ाइल\का\पथ}}"` diff --git a/pages.hi/windows/color.md b/pages.hi/windows/color.md new file mode 100644 index 00000000000000..5298c013678ad2 --- /dev/null +++ b/pages.hi/windows/color.md @@ -0,0 +1,16 @@ +# color + +> कंसोल अग्रभूमि और पृष्ठभूमि रंग सेट करें। +> अधिक जानकारी: । + +- कंसोल रंगों को डिफ़ॉल्ट मानों पर सेट करें: + +`color` + +- उपलब्ध रंग मान और विस्तृत जानकारी सूचीबद्ध करें: + +`color /?` + +- हेक्साडेसिमल संख्याओं का उपयोग करके कंसोल अग्रभूमि और पृष्ठभूमि को एक विशिष्ट रंग पर सेट करें (`1-9,a-f`): + +`color {{अग्रभूमि_कोड}}{{पृष्ठभूमि_कोड}}` diff --git a/pages.hi/windows/cpush.md b/pages.hi/windows/cpush.md new file mode 100644 index 00000000000000..fc22d16d2827c6 --- /dev/null +++ b/pages.hi/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> यह आदेश `choco push` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr choco push` diff --git a/pages.hi/windows/cuninst.md b/pages.hi/windows/cuninst.md new file mode 100644 index 00000000000000..f5b7541699fa79 --- /dev/null +++ b/pages.hi/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> यह आदेश `choco uninstall` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr choco uninstall` diff --git a/pages.hi/windows/date.md b/pages.hi/windows/date.md new file mode 100644 index 00000000000000..6b81717caa46df --- /dev/null +++ b/pages.hi/windows/date.md @@ -0,0 +1,16 @@ +# date + +> सिस्टम दिनांक प्रदर्शित या सेट करता है। +> अधिक जानकारी: । + +- वर्तमान सिस्टम तिथि प्रदर्शित करें और नई तिथि दर्ज करने का संकेत दें (अपरिवर्तित रखने के लिए खाली छोड़ें): + +`date` + +- नई तिथि का संकेत दिए बिना वर्तमान सिस्टम तिथि प्रदर्शित करें: + +`date /t` + +- वर्तमान सिस्टम दिनांक को किसी विशिष्ट दिनांक में बदलें: + +`date {{महीना}}-{{दिन}}-{{वर्ष}}` diff --git a/pages.hi/windows/dir.md b/pages.hi/windows/dir.md new file mode 100644 index 00000000000000..b890ed192476cf --- /dev/null +++ b/pages.hi/windows/dir.md @@ -0,0 +1,24 @@ +# dir + +> निर्देशिका सामग्री सूचीबद्ध करें। +> अधिक जानकारी: । + +- वर्तमान निर्देशिका की सामग्री दिखाएँ: + +`dir` + +- वर्तमान निर्देशिका की सामग्री दिखाएँ: + +`dir {{निर्देशिका\का\पथ}}` + +- वर्तमान निर्देशिका की सामग्री दिखाएँ, जिसमें छिपी हुई निर्देशिकाएँ भी शामिल हैं: + +`dir /a` + +- किसी दी गई निर्देशिका की सामग्री दिखाएँ, जिसमें छिपी हुई निर्देशिकाएँ भी शामिल हैं: + +`dir {{निर्देशिका\का\पथ}} /a` + +- बिना किसी अतिरिक्त जानकारी के निर्देशिकाओं और फ़ाइलों की एक खाली सूची दिखाएँ: + +`dir /b` diff --git a/pages.hi/windows/diskpart.md b/pages.hi/windows/diskpart.md new file mode 100644 index 00000000000000..6489136530c15a --- /dev/null +++ b/pages.hi/windows/diskpart.md @@ -0,0 +1,32 @@ +# diskpart + +> डिस्क, वॉल्यूम और विभाजन प्रबंधक। +> अधिक जानकारी: । + +- इसकी कमांड-लाइन दर्ज करने के लिए प्रशासनिक कमांड प्रॉम्प्ट में डिस्कपार्ट (diskpart) को स्वयं चलाएँ: + +`diskpart` + +- सभी डिस्क की सूची बनाएं: + +`list disk` + +- एक वॉल्यूम चुनें: + +`select volume {{वॉल्यूम}}` + +- चयनित वॉल्यूम के लिए एक ड्राइव अक्षर (letter) निर्दिष्ट करें: + +`assign letter {{अक्षर}}` + +- एक नया विभाजन बनाएँ: + +`create partition primary` + +- चयनित वॉल्यूम सक्रिय करें: + +`active` + +- डिस्कपार्ट (diskpart) से बाहर निकलें: + +`exit` diff --git a/pages.hi/windows/doskey.md b/pages.hi/windows/doskey.md new file mode 100644 index 00000000000000..360a60c5e1eab0 --- /dev/null +++ b/pages.hi/windows/doskey.md @@ -0,0 +1,32 @@ +# doskey + +> मैक्रोज़, विंडोज़ कमांड और कमांड-लाइन प्रबंधित करें। +> अधिक जानकारी: । + +- उपलब्ध मैक्रोज़ की सूची बनाएं: + +`doskey /macros` + +- एक नया मैक्रो बनाएं: + +`doskey {{नाम}} = "{{आज्ञा}}"` + +- किसी विशिष्ट निष्पादन योग्य के लिए एक नया मैक्रो बनाएं: + +`doskey /exename={{निष्पादन}} {{नाम}} = "{{आज्ञा}}"` + +- मैक्रो हटाएँ: + +`doskey {{नाम}} =` + +- मेमोरी में संग्रहीत सभी कमांड प्रदर्शित करें: + +`doskey /history` + +- पोर्टेबिलिटी के लिए मैक्रोज़ को फ़ाइल में सहेजें: + +`doskey /macros > {{मैकिनिट_फ़ाइल\का\पथ}}` + +- किसी फ़ाइल से मैक्रोज़ लोड करें: + +`doskey /macrofile = {{मैकिनिट_फ़ाइल\का\पथ}}` diff --git a/pages.hi/windows/eventcreate.md b/pages.hi/windows/eventcreate.md new file mode 100644 index 00000000000000..ca80c884c551e0 --- /dev/null +++ b/pages.hi/windows/eventcreate.md @@ -0,0 +1,21 @@ +# eventcreate + +> इवेंट लॉग में कस्टम प्रविष्टियाँ बनाएँ। +> इवेंट आईडी 1 और 1000 के बीच कोई भी संख्या हो सकती है। +> अधिक जानकारी: । + +- लॉग में दी गई आईडी (1-1000) के साथ एक नया ईवेंट बनाएं: + +`eventcreate /t {{success|error|warning|information}} /id {{आईडी}} /d "{{संदेश}}"` + +- किसी विशिष्ट इवेंट लॉग में एक इवेंट बनाएं: + +`eventcreate /l {{लॉग_नाम}} /t {{प्रकार}} /id {{आईडी}} /d "{{संदेश}}"` + +- किसी विशिष्ट स्रोत के साथ एक ईवेंट बनाएं: + +`eventcreate /so {{स्रोत_नाम}} /t {{प्रकार}} /id {{आईडी}} /d "{{संदेश}}"` + +- रिमोट मशीन के इवेंट लॉग में एक इवेंट बनाएं: + +`eventcreate /s {{होस्ट का नाम}} /u {{उपयोगकर्ता_नाम}} /p {{पासवर्ड}} /t {{प्रकार}} /id {{आईडी}} /d "{{संदेश}}"` diff --git a/pages.hi/windows/exit.md b/pages.hi/windows/exit.md new file mode 100644 index 00000000000000..e2135ef66974f8 --- /dev/null +++ b/pages.hi/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> वर्तमान सीएमडी इंस्टेंस या वर्तमान बैच फ़ाइल से बाहर निकलें। +> अधिक जानकारी: । + +- वर्तमान सीएमडी उदाहरण से बाहर निकलें: + +`exit` + +- वर्तमान बैच स्क्रिप्ट से बाहर निकलें: + +`exit /b` + +- विशिष्ट निकास कोड का उपयोग करना बंद करें: + +`exit {{2}}` diff --git a/pages.hi/windows/expand.md b/pages.hi/windows/expand.md new file mode 100644 index 00000000000000..84f8d1e597c6fd --- /dev/null +++ b/pages.hi/windows/expand.md @@ -0,0 +1,24 @@ +# expand + +> विंडोज कैबिनेट फाइलों को अनकंप्रेस करें। +> अधिक जानकारी: । + +- एकल-फाइल कैबिनेट फाइल को निर्दिष्ट निर्देशिका में अनकंप्रेस करें: + +`expand {{फाइल.cab/का/पथ}} {{निर्देशिका/का/पथ}}` + +- स्रोत कैबिनेट फाइल में फाइलों की सूची प्रदर्शित करें: + +`expand {{फाइल.cab/का/पथ}} {{निर्देशिका/का/पथ}} -d` + +- कैबिनेट फाइल से सभी फाइलों को अनकंप्रेस करें: + +`expand {{फाइल.cab/का/पथ}} {{निर्देशिका/का/पथ}} -f:*` + +- कैबिनेट फाइल से एक विशेष फाइल को अनकंप्रेस करें: + +`expand {{फाइल.cab/का/पथ}} {{निर्देशिका/का/पथ}} -f:{{फ़ाइल/का/पथ}}` + +- अनकंप्रेस करते समय निर्देशिका संरचना की अनदेखी करें, और उन्हें एकल निर्देशिका में जोड़ें: + +`expand {{फाइल.cab/का/पथ}} {{निर्देशिका/का/पथ}} -i` diff --git a/pages.hi/windows/explorer.md b/pages.hi/windows/explorer.md new file mode 100644 index 00000000000000..f12095afbf909a --- /dev/null +++ b/pages.hi/windows/explorer.md @@ -0,0 +1,16 @@ +# explorer + +> विंडोज फ़ाइल एक्सप्लोरर। +> अधिक जानकारी: । + +- विंडोज एक्सप्लोरर खोलें: + +`explorer` + +- वर्तमान निर्देशिका में विंडोज एक्सप्लोरर खोलें: + +`explorer .` + +- एक विशेष निर्देशिका में विंडोज एक्सप्लोरर खोलें: + +`explorer {{निर्देशिका/का/पथ}}` diff --git a/pages.hi/windows/fc.md b/pages.hi/windows/fc.md new file mode 100644 index 00000000000000..7396e5f5360071 --- /dev/null +++ b/pages.hi/windows/fc.md @@ -0,0 +1,33 @@ +# fc + +> दो फ़ाइलों या फ़ाइलों के सेट के बीच के अंतर की तुलना करें। +> फ़ाइलों के सेट की तुलना करने के लिए वाइल्डकार्ड (\*) का उपयोग करें। +> अधिक जानकारी: । + +- 2 निर्दिष्ट फ़ाइलों की तुलना करें: + +`fc {{फाइल1\का\पथ}} {{फाइल2\का\पथ}}` + +- केस-इंसेंसिटिव तुलना करें: + +`fc /c {{फाइल1\का\पथ}} {{फाइल2\का\पथ}}` + +- फ़ाइलों की तुलना यूनिकोड टेक्स्ट के रूप में करें: + +`fc /u {{फाइल1\का\पथ}} {{फाइल2\का\पथ}}` + +- फ़ाइलों की तुलना ASCII टेक्स्ट के रूप में करें: + +`fc /l {{फाइल1\का\पथ}} {{फाइल2\का\पथ}}` + +- फ़ाइलों की तुलना बाइनरी के रूप में करें: + +`fc /b {{फाइल1\का\पथ}} {{फाइल2\का\पथ}}` + +- टैब-से-स्पेस विस्तार को अक्षम करें: + +`fc /t {{फाइल1\का\पथ}} {{फाइल2\का\पथ}}` + +- तुलना के लिए व्हाइटस्पेस (टैब और स्पेस) को संकुचित करें: + +`fc /w {{फाइल1\का\पथ}} {{फाइल2\का\पथ}}` diff --git a/pages.hi/windows/find.md b/pages.hi/windows/find.md new file mode 100644 index 00000000000000..3e3371df519489 --- /dev/null +++ b/pages.hi/windows/find.md @@ -0,0 +1,20 @@ +# find + +> एक या अधिक फ़ाइलों में निर्दिष्ट स्ट्रिंग ढूंढें। +> अधिक जानकारी: । + +- वे पंक्तियाँ खोजें जिनमें एक निर्दिष्ट स्ट्रिंग हो: + +`find "{{स्ट्रिंग}}" {{फ़ाइल_या_निर्देशिका\का\पथ}}` + +- वे पंक्तियाँ प्रदर्शित करें जिनमें निर्दिष्ट स्ट्रिंग नहीं है: + +`find "{{स्ट्रिंग}}" {{फ़ाइल_या_निर्देशिका\का\पथ}} /v` + +- निर्दिष्ट स्ट्रिंग वाली पंक्तियों की संख्या प्रदर्शित करें: + +`find "{{स्ट्रिंग}}" {{फ़ाइल_या_निर्देशिका\का\पथ}} /c` + +- पंक्तियों की सूची के साथ पंक्ति संख्याएँ प्रदर्शित करें: + +`find "{{स्ट्रिंग}}" {{फ़ाइल_या_निर्देशिका\का\पथ}} /n` diff --git a/pages.hi/windows/findstr.md b/pages.hi/windows/findstr.md new file mode 100644 index 00000000000000..972c9ead3a64ce --- /dev/null +++ b/pages.hi/windows/findstr.md @@ -0,0 +1,36 @@ +# findstr + +> एक या एक से अधिक फाइलों में निर्दिष्ट टेक्स्ट खोजें। +> अधिक जानकारी: । + +- सभी फाइलों में एक या एक से अधिक स्ट्रिंग्स खोजें: + +`findstr "{{स्ट्रिंग1 स्ट्रिंग2 ...}}" *` + +- एक पाईप्ड कमांड के आउटपुट में एक या एक से अधिक स्ट्रिंग्स खोजें: + +`{{निर्देशिका}} | findstr "{{स्ट्रिंग1 स्ट्रिंग2 ...}}"` + +- सभी फाइलों में पुनरावृत्तिपूर्वक एक या एक से अधिक स्ट्रिंग्स खोजें: + +`findstr /s "{{स्ट्रिंग1 स्ट्रिंग2 ...}}" *` + +- केस-इंसेंसिटिव सर्च का उपयोग करके स्ट्रिंग्स खोजें: + +`findstr /i "{{स्ट्रिंग1 स्ट्रिंग2 ...}}" *"` + +- नियमित एक्सप्रेशंस का उपयोग करके सभी फाइलों में स्ट्रिंग्स खोजें: + +`findstr /r "{{एक्सप्रेशंस}}" *` + +- सभी टेक्स्ट फाइलों में एक लिटरल स्ट्रिंग (जिसमें स्पेसेस शामिल हैं) खोजें: + +`findstr /c:"{{स्ट्रिंग1 स्ट्रिंग2 ...}}" *.txt` + +- प्रत्येक मेल खाने वाली लाइन के पहले लाइन नंबर दिखाएं: + +`findstr /n "{{स्ट्रिंग1 स्ट्रिंग2 ...}}" *` + +- केवल उन फाइलों के नाम दिखाएं जिनमें मैच पाया गया हो: + +`findstr /m "{{स्ट्रिंग1 स्ट्रिंग2 ...}}" *` diff --git a/pages.hi/windows/fondue.md b/pages.hi/windows/fondue.md new file mode 100644 index 00000000000000..d3a0fafc4ca5c0 --- /dev/null +++ b/pages.hi/windows/fondue.md @@ -0,0 +1,16 @@ +# fondue + +> वैकल्पिक विंडोज़ सुविधाएँ स्थापित करें। +> अधिक जानकारी: । + +- एक विशिष्ट विंडोज़ सुविधा सक्षम करें: + +`fondue /enable-feature:{{विशेषता}}` + +- उपयोगकर्ता के लिए सभी आउटपुट संदेश छिपाएँ: + +`fondue /enable-feature:{{विशेषता}} /hide-ux:all` + +- त्रुटि रिपोर्टिंग के लिए कॉलर प्रक्रिया का नाम निर्दिष्ट करें: + +`fondue /enable-feature:{{विशेषता}} /caller-name:{{नाम}}` diff --git a/pages.hi/windows/ftp.md b/pages.hi/windows/ftp.md new file mode 100644 index 00000000000000..475cf3fb090575 --- /dev/null +++ b/pages.hi/windows/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> स्थानीय और दूरस्थ FTP सर्वर के बीच इंटरएक्टिव रूप से फ़ाइलें स्थानांतरित करें। +> अधिक जानकारी: । + +- एक दूरस्थ FTP सर्वर से इंटरएक्टिव रूप से कनेक्ट करें: + +`ftp {{होस्ट}}` + +- एक गुमनाम उपयोगकर्ता के रूप में लॉग इन करें: + +`ftp -A {{होस्ट}}` + +- प्रारंभिक कनेक्शन पर स्वचालित लॉगिन को निष्क्रिय करें: + +`ftp -n {{होस्ट}}` + +- FTP कमांड की सूची वाली फ़ाइल चलाएँ: + +`ftp -s:{{फाइल\का\पथ}} {{होस्ट}}` + +- कई फ़ाइलें डाउनलोड करें (ग्लोब अभिव्यक्ति): + +`mget {{*.png}}` + +- कई फ़ाइलें अपलोड करें (ग्लोब अभिव्यक्ति): + +`mput {{*.zip}}` + +- दूरस्थ सर्वर पर कई फ़ाइलें हटाएँ: + +`mdelete {{*.txt}}` + +- मदद प्रदर्शित करें: + +`ftp --help` diff --git a/pages.hi/windows/gal.md b/pages.hi/windows/gal.md new file mode 100644 index 00000000000000..ab25b43ccfe6c1 --- /dev/null +++ b/pages.hi/windows/gal.md @@ -0,0 +1,7 @@ +# gal + +> PowerShell में, यह कमांड `Get-Alias` का उपनाम है। + +- मूल कमांड के लिए प्रलेखन देखें: + +`tldr get-alias` diff --git a/pages.hi/windows/gl.md b/pages.hi/windows/gl.md new file mode 100644 index 00000000000000..c2630dd2b27f18 --- /dev/null +++ b/pages.hi/windows/gl.md @@ -0,0 +1,7 @@ +# gl + +> PowerShell में, यह कमांड `Get-Location` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr get-location` diff --git a/pages.hi/windows/ipconfig.md b/pages.hi/windows/ipconfig.md new file mode 100644 index 00000000000000..084e05f1f925ef --- /dev/null +++ b/pages.hi/windows/ipconfig.md @@ -0,0 +1,28 @@ +# ipconfig + +> विंडोज़ के नेटवर्क कॉन्फ़िगरेशन को प्रदर्शित और प्रबंधित करें। +> अधिक जानकारी: । + +- नेटवर्क अडैप्टर की एक सूची दिखाएँ: + +`ipconfig` + +- नेटवर्क अडैप्टर की एक विस्तृत सूची दिखाएँ: + +`ipconfig /all` + +- नेटवर्क अडैप्टर के लिए आईपी पते नवीनीकृत करें: + +`ipconfig /renew {{अडैप्टर}}` + +- नेटवर्क अडैप्टर के लिए आईपी पते खाली करें: + +`ipconfig /release {{अडैप्टर}}` + +- स्थानीय डीएनएस कैश दिखाएँ: + +`ipconfig /displaydns` + +- स्थानीय डीएनएस कैश से सभी डेटा हटाएँ: + +`ipconfig /flushdns` diff --git a/pages.hi/windows/iwr.md b/pages.hi/windows/iwr.md new file mode 100644 index 00000000000000..1d0eedc2d9043d --- /dev/null +++ b/pages.hi/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> यह आदेश `invoke-webrequest` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr invoke-webrequest` diff --git a/pages.hi/windows/mi.md b/pages.hi/windows/mi.md new file mode 100644 index 00000000000000..5a191fad2c5c38 --- /dev/null +++ b/pages.hi/windows/mi.md @@ -0,0 +1,7 @@ +# mi + +> PowerShell में, यह कमांड `Move-Item` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr move-item` diff --git a/pages.hi/windows/mkdir.md b/pages.hi/windows/mkdir.md new file mode 100644 index 00000000000000..9667cf2eac10ba --- /dev/null +++ b/pages.hi/windows/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> एक निर्देशिका बनाता है। +> अधिक जानकारी: । + +- एक निर्देशिका बनाएं: + +`mkdir {{निर्देशिका\का\पथ}}` + +- पुनरावर्ती रूप से एक नेस्टेड निर्देशिका ट्री बनाएं: + +`mkdir {{उपनिर्देशिका\का\पथ}}` diff --git a/pages.hi/windows/mv.md b/pages.hi/windows/mv.md new file mode 100644 index 00000000000000..1c66f7e4f17772 --- /dev/null +++ b/pages.hi/windows/mv.md @@ -0,0 +1,12 @@ +# mv + +> PowerShell में, यह कमांड `Move-Item` का उपनाम है। +> हालाँकि, यह कमांड Command Prompt (`cmd`) पर उपलब्ध नहीं है। समान कार्यक्षमता के लिए इसके बजाय `move` का उपयोग करें। + +- समान Command Prompt कमांड के लिए दस्तावेज़ देखें: + +`tldr move` + +- मूल PowerShell कमांड के लिए दस्तावेज़ देखें: + +`tldr move-item` diff --git a/pages.hi/windows/netstat.md b/pages.hi/windows/netstat.md new file mode 100644 index 00000000000000..73c8aed0b25569 --- /dev/null +++ b/pages.hi/windows/netstat.md @@ -0,0 +1,36 @@ +# netstat + +> सक्रिय TCP कनेक्शनों, उन पोर्टों को प्रदर्शित करें जिन पर कंप्यूटर सुन रहा है, नेटवर्क एडाप्टर के आँकड़े, IP रूटिंग टेबल, IPv4 आँकड़े और IPv6 आँकड़े। +> अधिक जानकारी: । + +- सक्रिय TCP कनेक्शनों को प्रदर्शित करें: + +`netstat` + +- सभी सक्रिय TCP कनेक्शनों और TCP और UDP पोर्टों को प्रदर्शित करें जिन पर कंप्यूटर सुन रहा है: + +`netstat -a` + +- नेटवर्क एडाप्टर के आँकड़े प्रदर्शित करें, जैसे भेजे गए और प्राप्त किए गए बाइट्स और पैकेट्स की संख्या: + +`netstat -e` + +- सक्रिय TCP कनेक्शनों को प्रदर्शित करें और पतों और पोर्ट नंबरों को संख्यात्मक रूप में व्यक्त करें: + +`netstat -n` + +- सक्रिय TCP कनेक्शनों को प्रदर्शित करें और प्रत्येक कनेक्शन के लिए प्रक्रिया आईडी (PID) शामिल करें: + +`netstat -o` + +- IP रूटिंग टेबल की सामग्री प्रदर्शित करें: + +`netstat -r` + +- प्रोटोकॉल द्वारा आँकड़े प्रदर्शित करें: + +`netstat -s` + +- वर्तमान में खुले पोर्टों और संबंधित IP पतों की सूची प्रदर्शित करें: + +`netstat -an` diff --git a/pages.hi/windows/nfsstat.md b/pages.hi/windows/nfsstat.md new file mode 100644 index 00000000000000..5fc409f4b6f53e --- /dev/null +++ b/pages.hi/windows/nfsstat.md @@ -0,0 +1,12 @@ +# nfsstat + +> NFS सर्वर पर की गई कॉल की संख्या को प्रदर्शित करें या रीसेट करें। +> अधिक जानकारी: । + +- NFS सर्वर पर की गई कॉल की रिकॉर्ड की गई संख्या को प्रदर्शित करें: + +`nfsstat` + +- NFS सर्वर पर की गई कॉल की रिकॉर्ड की गई संख्या को रीसेट करें: + +`nfsstat -z` diff --git a/pages.hi/windows/ni.md b/pages.hi/windows/ni.md new file mode 100644 index 00000000000000..4cfd6a6432732f --- /dev/null +++ b/pages.hi/windows/ni.md @@ -0,0 +1,7 @@ +# ni + +> PowerShell में, यह कमांड `New-Item` का उपनाम है। + +- मूल कमांड के लिए दस्तावेज़ देखें: + +`tldr new-item` diff --git a/pages.hi/windows/nvm.md b/pages.hi/windows/nvm.md new file mode 100644 index 00000000000000..2e2fb96befc9f0 --- /dev/null +++ b/pages.hi/windows/nvm.md @@ -0,0 +1,25 @@ +# nvm + +> Node.js के संस्करणों को स्थापित, अनइंस्टॉल या स्विच करें। +> "12.8" या "v16.13.1" जैसे संस्करण नंबर और "stable", "system" आदि जैसे लेबल का समर्थन करता है। +> अधिक जानकारी: । + +- Node.js का एक विशिष्ट संस्करण स्थापित करें: + +`nvm install {{नोड_संस्करण}}` + +- Node.js का डिफ़ॉल्ट संस्करण सेट करें (यह Administrator के रूप में चलाना आवश्यक है): + +`nvm use {{नोड_संस्करण}}` + +- सभी उपलब्ध Node.js संस्करणों की सूची बनाएं और डिफ़ॉल्ट संस्करण को हाइलाइट करें: + +`nvm list` + +- सभी दूरस्थ Node.js संस्करणों की सूची बनाएं: + +`nvm ls-remote` + +- दिए गए Node.js संस्करण को अनइंस्टॉल करें: + +`nvm uninstall {{नोड_संस्करण}}` diff --git a/pages.hi/windows/path.md b/pages.hi/windows/path.md new file mode 100644 index 00000000000000..168815e595b1a7 --- /dev/null +++ b/pages.hi/windows/path.md @@ -0,0 +1,20 @@ +# path + +> निष्पादन योग्य फ़ाइलों के लिए खोज पथ प्रदर्शित या सेट करें। +> अधिक जानकारी: । + +- वर्तमान पथ प्रदर्शित करें: + +`path` + +- एक या अधिक अर्धविराम से अलग की गई निर्देशिकाओं के लिए पथ सेट करें: + +`path {{निर्देशिका1\का\पथ निर्देशिका2\का\पथ ...}}` + +- मूल पथ में एक नई निर्देशिका जोड़ें: + +`path {{निर्देशिका\का\पथ}};%path%` + +- निष्पादनयोग्यों के लिए केवल वर्तमान निर्देशिका को खोजने के लिए कमांड प्रॉम्प्ट सेट करें: + +`path ;` diff --git a/pages.hi/windows/popd.md b/pages.hi/windows/popd.md new file mode 100644 index 00000000000000..33951e28824f7f --- /dev/null +++ b/pages.hi/windows/popd.md @@ -0,0 +1,8 @@ +# popd + +> `pushd` कमांड द्वारा संग्रहित निर्देशिका में वर्तमान निर्देशिका को बदलता है। +> अधिक जानकारी: । + +- स्टैक के शीर्ष पर स्थित निर्देशिका पर स्विच करें: + +`popd` diff --git a/pages.hi/windows/print.win.md b/pages.hi/windows/print.win.md new file mode 100644 index 00000000000000..8656ea18f415bb --- /dev/null +++ b/pages.hi/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> एक टेक्स्ट फ़ाइल को प्रिंटर पर प्रिंट करें। +> अधिक जानकारी: । + +- डिफ़ॉल्ट प्रिंटर पर एक टेक्स्ट फ़ाइल प्रिंट करें: + +`print {{फाइल\का\पथ}}` + +- एक विशेष प्रिंटर पर एक टेक्स्ट फ़ाइल प्रिंट करें: + +`print /d:{{प्रिंटर}} {{फाइल\का\पथ}}` diff --git a/pages.hi/windows/psversiontable.md b/pages.hi/windows/psversiontable.md new file mode 100644 index 00000000000000..8d62f415950de5 --- /dev/null +++ b/pages.hi/windows/psversiontable.md @@ -0,0 +1,25 @@ +# PSVersionTable + +> वर्तमान PowerShell संस्करण प्राप्त करने के लिए एक केवल-पढ़ने योग्य चर (जैसे `$PSVersionTable`)। +> यह कमांड केवल PowerShell के तहत चलाया जा सकता है। +> अधिक जानकारी: । + +- वर्तमान में स्थापित PowerShell संस्करण और संस्करण का एक सारांश प्रिंट करें: + +`$PSVersionTable` + +- PowerShell का विस्तृत (मुख्य, उप, निर्माण, और संशोधन) संस्करण संख्या प्राप्त करें: + +`$PSVersionTable.PSVersion` + +- सभी समर्थित PowerShell स्क्रिप्ट संस्करणों की सूची बनाएं जिन्हें यह PowerShell संस्करण समर्थन करता है: + +`$PSVersionTable.PSCompatibleVersions` + +- नवीनतम Git कमिट ID प्राप्त करें जिस पर वर्तमान में स्थापित PowerShell संस्करण आधारित है (PowerShell 6.0 और बाद के संस्करण पर कार्य करता है): + +`$PSVersionTable.GitCommitId` + +- जांचें कि क्या उपयोगकर्ता PowerShell Core (6.0 या बाद के संस्करण) चला रहा है या मूल "Windows PowerShell" (संस्करण 5.1 या उससे नीचे): + +`$PSVersionTable.PSEdition` diff --git a/pages.hi/windows/pswindowsupdate.md b/pages.hi/windows/pswindowsupdate.md new file mode 100644 index 00000000000000..c11e3ebda59c30 --- /dev/null +++ b/pages.hi/windows/pswindowsupdate.md @@ -0,0 +1,13 @@ +# PSWindowsUpdate + +> Windows Update प्रबंधित करने के लिए एक PowerShell बाहरी मॉड्यूल। +> यह उपकरण कई कमांड प्रदान करता है जिन्हें केवल PowerShell के माध्यम से चलाया जा सकता है। +> अधिक जानकारी: । + +- मॉड्यूल को `Install-Module` का उपयोग करके स्थापित करें: + +`Install-Module PSWindowsUpdate` + +- मॉड्यूल के अंतर्गत सभी उपलब्ध कमांडों की सूची बनाएं: + +`Get-Command -Module PSWindowsUpdate` diff --git a/pages.hi/windows/pushd.md b/pages.hi/windows/pushd.md new file mode 100644 index 00000000000000..af0d02cb3b8251 --- /dev/null +++ b/pages.hi/windows/pushd.md @@ -0,0 +1,9 @@ +# pushd + +> एक निर्देशिका को एक स्टैक पर रखें ताकि इसे बाद में एक्सेस किया जा सके। +> मूल निर्देशिका पर वापस जाने के लिए `popd` भी देखें। +> अधिक जानकारी: । + +- निर्देशिका पर स्विच करें और इसे स्टैक पर डालें: + +`pushd {{निर्देशिका\का\पथ}}` diff --git a/pages.hi/windows/pwd.md b/pages.hi/windows/pwd.md new file mode 100644 index 00000000000000..b0f9351d801fe5 --- /dev/null +++ b/pages.hi/windows/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> PowerShell में, यह कमांड `Get-Location` का उपनाम है। +> हालांकि, यह कमांड Command Prompt (`cmd`) पर उपलब्ध नहीं है। समान कार्यक्षमता के लिए इसके बजाय `cd` का उपयोग करें। + +- समकक्ष Command Prompt कमांड के लिए दस्तावेज़ देखें: + +`tldr cd` + +- मूल PowerShell कमांड के लिए दस्तावेज़ देखें: + +`tldr get-location` diff --git a/pages.hi/windows/pwsh-where.md b/pages.hi/windows/pwsh-where.md new file mode 100644 index 00000000000000..0e820668309d11 --- /dev/null +++ b/pages.hi/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> यह आदेश `Where-Object` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr Where-Object` diff --git a/pages.hi/windows/rd.md b/pages.hi/windows/rd.md new file mode 100644 index 00000000000000..bd992c6d1de37c --- /dev/null +++ b/pages.hi/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> यह आदेश `rmdir` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr rmdir` diff --git a/pages.hi/windows/scoop.md b/pages.hi/windows/scoop.md new file mode 100644 index 00000000000000..44174db08a4ee3 --- /dev/null +++ b/pages.hi/windows/scoop.md @@ -0,0 +1,32 @@ +# scoop + +> स्कूप पैकेज मैनेजर। +> अधिक जानकारी: । + +- एक पैकेज स्थापित करें: + +`scoop install {{पैकेज}}` + +- एक पैकेज निकालें: + +`scoop uninstall {{पैकेज}}` + +- सभी स्थापित पैकेजों को अद्यतन करें: + +`scoop update --all` + +- स्थापित पैकेजों की सूची बनाएं: + +`scoop list` + +- किसी पैकेज के बारे में जानकारी प्रदर्शित करें: + +`scoop info {{पैकेज}}` + +- एक पैकेज खोजें: + +`scoop search {{पैकेज}}` + +- सभी पैकेजों के पुराने संस्करण हटाएँ और डाउनलोड कैश साफ़ करें: + +`scoop cleanup --cache --all` diff --git a/pages.hi/windows/sls.md b/pages.hi/windows/sls.md new file mode 100644 index 00000000000000..17a3319bed9842 --- /dev/null +++ b/pages.hi/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> यह आदेश `Select-String` का उपनाम है। + +- मूल आदेश के लिए दस्तावेज़ देखें: + +`tldr select-string` diff --git a/pages.hi/windows/title.md b/pages.hi/windows/title.md new file mode 100644 index 00000000000000..c528f2bb704a74 --- /dev/null +++ b/pages.hi/windows/title.md @@ -0,0 +1,8 @@ +# title + +> कमांड प्रॉम्प्ट विंडो का शीर्षक सेट करें। +> अधिक जानकारी: । + +- वर्तमान कमांड प्रॉम्प्ट विंडो का शीर्षक सेट करें: + +`title {{नया_शीर्षक}}` diff --git a/pages.hi/windows/tree.md b/pages.hi/windows/tree.md new file mode 100644 index 00000000000000..0146d037d07310 --- /dev/null +++ b/pages.hi/windows/tree.md @@ -0,0 +1,20 @@ +# tree + +> पथ के लिए निर्देशिका संरचना का ग्राफ़िकल ट्री प्रदर्शित करें। +> अधिक जानकारी: । + +- वर्तमान निर्देशिका के लिए ट्री प्रदर्शित करें: + +`tree` + +- किसी विशिष्ट निर्देशिका के लिए वृक्ष प्रदर्शित करें: + +`tree {{निर्देशिका\का\पथ}}` + +- फ़ाइलों सहित निर्देशिका के लिए वृक्ष प्रदर्शित करें: + +`tree {{निर्देशिका\का\पथ}} /f` + +- विस्तारित वर्णों के बजाय ASCII वर्णों का उपयोग करके वृक्ष प्रदर्शित करें: + +`tree {{निर्देशिका\का\पथ}} /a` diff --git a/pages.hi/windows/type.md b/pages.hi/windows/type.md new file mode 100644 index 00000000000000..1a370426f5e0ce --- /dev/null +++ b/pages.hi/windows/type.md @@ -0,0 +1,8 @@ +# type + +> एक फाइल की सामग्रियों को प्रदर्शित कीजिए। +> अधिक जानकारी: । + +- किसी विशिष्ट फ़ाइल की सामग्री प्रदर्शित करें: + +`type {{फ़ाइल\का\पथ}}` diff --git a/pages.hi/windows/whoami.md b/pages.hi/windows/whoami.md new file mode 100644 index 00000000000000..a1928e18c4dec2 --- /dev/null +++ b/pages.hi/windows/whoami.md @@ -0,0 +1,28 @@ +# whoami + +> वर्तमान उपयोगकर्ता के बारे में विवरण प्रदर्शित करें। +> अधिक जानकारी: । + +- वर्तमान उपयोगकर्ता का उपयोगकर्ता नाम प्रदर्शित करें: + +`whoami` + +- वर्तमान उपयोगकर्ता जिन समूहों का सदस्य है, उन्हें प्रदर्शित करें: + +`whoami /groups` + +- वर्तमान उपयोगकर्ता के विशेषाधिकार प्रदर्शित करें: + +`whoami /priv` + +- वर्तमान उपयोगकर्ता का उपयोगकर्ता प्रधान नाम (UPN) प्रदर्शित करें: + +`whoami /upn` + +- वर्तमान उपयोगकर्ता का लॉगिन ID प्रदर्शित करें: + +`whoami /logonid` + +- वर्तमान उपयोगकर्ता के लिए सभी जानकारी प्रदर्शित करें: + +`whoami /all` diff --git a/pages.hi/windows/winget.md b/pages.hi/windows/winget.md new file mode 100644 index 00000000000000..9048f261ea9265 --- /dev/null +++ b/pages.hi/windows/winget.md @@ -0,0 +1,36 @@ +# winget + +> विंडोज़ पैकेज प्रबंधक। +> अधिक जानकारी: । + +- एक पैकेज इनस्टॉल करें: + +`winget install {{पैकेज}}` + +- एक पैकेज निकालें (अनइंस्टॉल करें): (नोट: `uninstall` की जगह `remove` का भी इस्तेमाल किया जा सकता है): + +`winget uninstall {{पैकेज}}` + +- पैकेज के बारे में जानकारी प्रदर्शित करें: + +`winget show {{पैकेज}}` + +- पैकेज की खोज करें: + +`winget search {{पैकेज}}` + +- सभी पैकेज़ को नवीनतम संस्करणों में अपग्रेड करें: + +`winget upgrade --all` + +- `winget` के साथ प्रबंधित इन्सटाल्ड पैकेजों की सूची बनाएं: + +`winget list --source winget` + +- किसी फ़ाइल से पैकेज आयात करें, या स्थापित पैकेज़ को किसी फ़ाइल में निर्यात करें: + +`winget {{import|export}} {{--import-file|--output}} {{फ़ाइल\का\पथ}}` + +- विंगेट-पीकेजीएस(winget-pkgs) रिपॉजिटरी में पीआर(PR) सबमिट करने से पहले मैनिफ़ेस्ट को सत्यापित करें: + +`winget validate {{प्रकट\का\पथ}}` diff --git a/pages.hi/windows/wsl-open.md b/pages.hi/windows/wsl-open.md new file mode 100644 index 00000000000000..5853c52c7a9c7b --- /dev/null +++ b/pages.hi/windows/wsl-open.md @@ -0,0 +1,24 @@ +# wsl-open + +> Windows सबसिस्टम फॉर लिनक्स के भीतर से एक फ़ाइल या URL को उपयोगकर्ता के डिफ़ॉल्ट Windows GUI एप्लिकेशन में खोलें। +> अधिक जानकारी: । + +- वर्तमान निर्देशिका को Windows एक्सप्लोरर में खोलें: + +`wsl-open {{.}}` + +- उपयोगकर्ता के डिफ़ॉल्ट वेब ब्राउज़र में एक URL खोलें: + +`wsl-open {{https://example.com}}` + +- उपयोगकर्ता के डिफ़ॉल्ट एप्लिकेशन में एक विशेष फ़ाइल खोलें: + +`wsl-open {{फाइल\का\पथ}}` + +- `wsl-open` को शेल के वेब ब्राउज़र के रूप में सेट करें (लिंक को `wsl-open` के साथ खोलें): + +`wsl-open -w` + +- मदद दिखाएं: + +`wsl-open -h` diff --git a/pages.id/android/am.md b/pages.id/android/am.md new file mode 100644 index 00000000000000..37fe9546751fd9 --- /dev/null +++ b/pages.id/android/am.md @@ -0,0 +1,20 @@ +# am + +> Manajer aktivitas untuk Android. +> Informasi lebih lanjut: . + +- Mulaikan aktivitas tertentu: + +`am start -n {{com.android.settings/.Settings}}` + +- Mulaikan aktivitas dengan data yang ditentukan: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Mulaikan aktivitas dengan aksi dan kategori tertentu: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Ubah sebuah Intent menjadi tautan URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.id/android/bugreport.md b/pages.id/android/bugreport.md new file mode 100644 index 00000000000000..ed0b14d6f492e6 --- /dev/null +++ b/pages.id/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Tunjukkan sebuah laporan masalah bagi Android. +> Perintah ini hanya dapat digunakan di dalam `adb shell`. +> Informasi lebih lanjut: . + +- Tunjukkan laporan masalah perangkat Android secara lengkap: + +`bugreport` diff --git a/pages.id/android/bugreportz.md b/pages.id/android/bugreportz.md new file mode 100644 index 00000000000000..23c132eea0ac7b --- /dev/null +++ b/pages.id/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Buat sebuah laporan masalah Android dalam format file arsip (zip). +> Perintah ini hanya dapat digunakan di dalam `adb shell`. +> Informasi lebih lanjut: . + +- Buatkan sebuah arsip laporan masalah perangkat Android secara lengkap: + +`bugreportz` + +- Tunjukkan kemajuan terhadap proses `bugreportz` yang sedang berlangsung: + +`bugreportz -p` + +- Tulis isi suatu laporan masalah Android menuju `stdout`: + +`bugreportz -s` + +- Tampilkan teks bantuan: + +`bugreportz -h` + +- Tampilkan versi program: + +`bugreportz -v` diff --git a/pages.id/android/cmd.md b/pages.id/android/cmd.md new file mode 100644 index 00000000000000..d99b1a73d27aaf --- /dev/null +++ b/pages.id/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Manajer layanan (daemon) untuk Android. +> Informasi lebih lanjut: . + +- Lihat daftar layanan yang sedang berjalan: + +`cmd -l` + +- Panggil suatu layanan tertentu: + +`cmd {{alarm}}` + +- Panggil layanan dengan argumen tertentu: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.id/android/dalvikvm.md b/pages.id/android/dalvikvm.md new file mode 100644 index 00000000000000..ba020a8c7fbe86 --- /dev/null +++ b/pages.id/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Mesin virtual Java untuk Android. +> Informasi lebih lanjut: . + +- Jalankan sebuah program Java: + +`dalvikvm -classpath {{jalan/menuju/file.jar}} {{nama_kelas}}` diff --git a/pages.id/android/dumpsys.md b/pages.id/android/dumpsys.md new file mode 100644 index 00000000000000..f1f978efbb64b3 --- /dev/null +++ b/pages.id/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Berikan informasi tentang layanan (daemon) sistem milik Android. +> Perintah ini hanya dapat dijalankan melalui `adb shell`. +> Informasi lebih lanjut: . + +- Tampilkan informasi diagnostik terhadap seluruh layanan sistem Android: + +`dumpsys` + +- Tampilkan informasi diagnostik untuk layanan sistem tertentu: + +`dumpsys {{layanan}}` + +- Tampilkan daftar layanan sistem yang diketahui oleh `dumpsys`: + +`dumpsys -l` + +- Tampilkan daftar argumen yang diterima oleh sebuah layanan sistem: + +`dumpsys {{layanan}} -h` + +- Kecualikan layanan sistem tertentu dari informasi diagnostik yang ditampilkan: + +`dumpsys --skip {{layanan}}` + +- Tetapkan periode waktu habis dalam hitungan detik (10 detik secara default): + +`dumpsys -t {{detik}}` diff --git a/pages.id/android/getprop.md b/pages.id/android/getprop.md new file mode 100644 index 00000000000000..e81d5590fd187f --- /dev/null +++ b/pages.id/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Tampilkan informasi terhadap properti sistem operasi Android. +> Informasi lebih lanjut: . + +- Tampilkan informasi daftar properti sistem operasi Android: + +`getprop` + +- Tampilkan informasi terhadap properti sistem tertentu: + +`getprop {{properti}}` + +- Tampilkan tingkat API SDK Android: + +`getprop {{ro.build.version.sdk}}` + +- Tampilkan versi sistem operasi Android: + +`getprop {{ro.build.version.release}}` + +- Tampilkan kode model perangkat Android: + +`getprop {{ro.vendor.product.model}}` + +- Tampilkan status pembukaan kunci pembuat perangkat (OEM): + +`getprop {{ro.oem_unlock_supported}}` + +- Tampilkan alamat MAC terhadap komponen Wi-Fi milik perangkat: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.id/android/input.md b/pages.id/android/input.md new file mode 100644 index 00000000000000..d574a7e769095e --- /dev/null +++ b/pages.id/android/input.md @@ -0,0 +1,25 @@ +# input + +> Kirim sinyal input terhadap sebuah perangkat Android. +> Perintah ini hanya dapat dijalankan melalui `adb shell`. +> Informasi lebih lanjut: . + +- Masukkan input karakter (layaknya pada papan kunci / keyboard) terhadap perangkat Android: + +`input keyevent {{kode_event}}` + +- Masukkan input teks ke dalam perangkat Android (spasi ditandai dengan `%s`): + +`input text "{{teks}}"` + +- Masukkan input sentuhan layar pada posisi tertentu: + +`input tap {{posisi_x}} {{posisi_y}}` + +- Simulasikan gerakan usap/swipe terhadap perangkat Android: + +`input swipe {{posisi_awal_x}} {{posisi_awal_y}} {{posisi_akhir_x}} {{posisi_akhir_y}} {{durasi_dalam_milidetik}}` + +- Simulasikan interaksi tekan-dan-tahan terhadap perangkat Android: + +`input swipe {{posisi_x}} {{posisi_y}} {{posisi_x}} {{posisi_y}} {{durasi_dalam_milidetik}}` diff --git a/pages.id/android/logcat.md b/pages.id/android/logcat.md new file mode 100644 index 00000000000000..9645a976646d5b --- /dev/null +++ b/pages.id/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Tampilkan dan simpan log sistem. +> Informasi lebih lanjut: . + +- Tampilkan log sistem: + +`logcat` + +- Simpan log sistem di dalam sebuah file: + +`logcat -f {{path/to/file}}` + +- Saring informasi log berdasarkan sintaks ekspresi reguler (regex) tertentu: + +`logcat --regex {{regular_expression}}` + +- Tampilkan log untuk nomor induk (PID) program yang sedang dijalankan: + +`logcat --pid {{pid}}` + +- Tampilkan log untuk (kemasan) aplikasi yang sedang dijalankan: + +`logcat --pid $(pidof -s {{nama_kemasan_aplikasi}})` diff --git a/pages.id/android/pkg.md b/pages.id/android/pkg.md new file mode 100644 index 00000000000000..e97318b37ce0aa --- /dev/null +++ b/pages.id/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Manajer paket untuk Termux. +> Informasi lebih lanjut: . + +- Mutakhirkan seluruh paket yang terpasang: + +`pkg upgrade` + +- Pasang sebuah paket di dalam instalasi Termux: + +`pkg install {{paket}}` + +- Buang paket dari instalasi Termux: + +`pkg uninstall {{paket}}` + +- Pasang ulang paket di dalam instalasi Termux: + +`pkg reinstall {{paket}}` + +- Cari paket yang tersedia bagi Termux: + +`pkg search {{paket}}` diff --git a/pages.id/android/pm.md b/pages.id/android/pm.md new file mode 100644 index 00000000000000..5f4cd434c0bea5 --- /dev/null +++ b/pages.id/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Tampilkan daftar pemasangan aplikasi di dalam sebuah perangkat Android. +> Informasi lebih lanjut: . + +- Tampilkan daftar seluruh aplikasi yang terpasang: + +`pm list packages` + +- Tampilkan daftar seluruh aplikasi sistem yang terpasang: + +`pm list packages -s` + +- Tampilkan daftar seluruh aplikasi pihak ketiga yang terpasang: + +`pm list packages -3` + +- Tampilkan daftar aplikasi dengan kata kunci tertentu: + +`pm list packages {{kata_kunci}}` + +- Tampilkan jalan menuju file APK untuk sebuah aplikasi: + +`pm path {{aplikasi}}` diff --git a/pages.id/android/screencap.md b/pages.id/android/screencap.md new file mode 100644 index 00000000000000..238d1f2cd3fa3c --- /dev/null +++ b/pages.id/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Lakukan tangkapan (screenshot) layar perangkat Anda. +> Perintah ini hanya dapat dijalankan melalui `adb shell`. +> Informasi lebih lanjut: . + +- Lakukan tangkapan layar (screenshot): + +`screencap {{path/to/file}}` diff --git a/pages.id/android/settings.md b/pages.id/android/settings.md new file mode 100644 index 00000000000000..db4286c3a03e6d --- /dev/null +++ b/pages.id/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Tampilkan informasi terhadap pengaturan sistem operasi Android. +> Informasi lebih lanjut: . + +- Tampilkan daftar pengaturan di dalam namespace `global`: + +`settings list {{global}}` + +- Tampilkan nilai dari pengaturan tertentu: + +`settings get {{global}} {{airplane_mode_on}}` + +- Setel nilai pengaturan tertentu: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Hapus nilai pengaturan tertentu: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.id/android/wm.md b/pages.id/android/wm.md new file mode 100644 index 00000000000000..dd1dfdce8206c1 --- /dev/null +++ b/pages.id/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Menunjukkan informasi layar sebuah perangkat Android. +> Perintah ini hanya dapat dijalankan melalui `adb shell`. +> Informasi lebih lanjut: . + +- Tampilkan ukuran fisik terhadap layar perangkat: + +`wm size` + +- Tampilkan tingkat kepadatan resolusi terhadap layar perangkat: + +`wm density` diff --git a/pages.id/cisco-ios/clock.md b/pages.id/cisco-ios/clock.md new file mode 100644 index 00000000000000..f75e1f8b88ddfa --- /dev/null +++ b/pages.id/cisco-ios/clock.md @@ -0,0 +1,20 @@ +# clock + +> Atur waktu sistem. +> Informasi lebih lanjut: . + +- Atur waktu dalam mode eksekusi istimewa: + +`clock set {{23}}:{{59}}:{{59}} {{31}} {{april}} {{2000}}` + +- Lakukan proses negosiasi waktu otomatis sejauh ujung rantai jaringan, dengan active-clock sebagai sumber waktu bawaan: + +`clock active prefer` + +- Lakukan proses negosiasi waktu otomatis sejauh ujung rantai jaringan, dengan passive-clock sebagai sumber waktu bawaan: + +`clock passive prefer` + +- Tampilkan mode waktu saat ini sebagaimana dinegosiasikan oleh peranti tegar (firmware): + +`clock show interfaces` diff --git a/pages.id/cisco-ios/configure.md b/pages.id/cisco-ios/configure.md new file mode 100644 index 00000000000000..86ad5870e6b96b --- /dev/null +++ b/pages.id/cisco-ios/configure.md @@ -0,0 +1,16 @@ +# configure + +> Masuk menuju mode konfigurasi sistem. +> Informasi lebih lanjut: . + +- Masuk mode konfigurasi dari terminal: + +`{{[conf|configure]}} {{[t|terminal]}}` + +- Keluar menuju tingkat konfigurasi induk: + +`exit` + +- Keluar dari mode konfigurasi: + +`end` diff --git a/pages.id/cisco-ios/crypto.md b/pages.id/cisco-ios/crypto.md new file mode 100644 index 00000000000000..e034cfb39711f6 --- /dev/null +++ b/pages.id/cisco-ios/crypto.md @@ -0,0 +1,17 @@ +# crypto + +> Atur konfigurasi kriptografi. +> Gunakan mode konfigurasi untuk mengakses perintah ini.. +> Informasi lebih lanjut: . + +- Buat sebuah kunci `rsa` baru: + +`crypto key generate rsa` + +- Gunakan suatu nilai modulus bagi kunci baru: + +`crypto key generate rsa modulus {{1024}}` + +- Hapus seluruh kunci yang tersimpan: + +`crypto key zeroize` diff --git a/pages.id/cisco-ios/delete.md b/pages.id/cisco-ios/delete.md new file mode 100644 index 00000000000000..4ced5d81b86f17 --- /dev/null +++ b/pages.id/cisco-ios/delete.md @@ -0,0 +1,8 @@ +# delete + +> Hapus berkas individu. +> Informasi lebih lanjut: . + +- Hapus suatu berkas dari penyimpanan memori flash: + +`delete {{vlan.dat}}` diff --git a/pages.id/cisco-ios/dir.md b/pages.id/cisco-ios/dir.md new file mode 100644 index 00000000000000..cf8a5cd345c13b --- /dev/null +++ b/pages.id/cisco-ios/dir.md @@ -0,0 +1,16 @@ +# dir + +> Tampilkan daftar berkas. +> Informasi lebih lanjut: . + +- Tampilkan daftar berkas dalam direktori saat ini: + +`dir` + +- Tampilkan daftar berkas dalam suatu sistem penyimpanan berkas (filesystem): + +`dir {{flash}}:` + +- Tampilkan daftar sistem penyimpanan berkas yang tersedia: + +`dir ?` diff --git a/pages.id/cisco-ios/enable.md b/pages.id/cisco-ios/enable.md new file mode 100644 index 00000000000000..1b73b1d0ca766c --- /dev/null +++ b/pages.id/cisco-ios/enable.md @@ -0,0 +1,8 @@ +# enable + +> Masuk ke dalam mode eksekusi istimewa. +> Informasi lebih lanjut: . + +- Masuk ke dalam mode eksekusi istimewa: + +`enable` diff --git a/pages.id/cisco-ios/erase.md b/pages.id/cisco-ios/erase.md new file mode 100644 index 00000000000000..a9d13a5a5a297c --- /dev/null +++ b/pages.id/cisco-ios/erase.md @@ -0,0 +1,12 @@ +# erase + +> Hapus berkas atau konfigurasi preset. +> Informasi lebih lanjut: . + +- Hapus konfigurasi (startup): + +`erase startup-config` + +- Hapus suatu sistem berkas: + +`erase {{flash}}:` diff --git a/pages.id/cisco-ios/interface.md b/pages.id/cisco-ios/interface.md new file mode 100644 index 00000000000000..15d7d1a60c45d2 --- /dev/null +++ b/pages.id/cisco-ios/interface.md @@ -0,0 +1,13 @@ +# interface + +> Atur antarmuka jaringan. +> Gunakan mode konfigurasi untuk mengakses perintah ini.. +> Informasi lebih lanjut: . + +- Atur suatu VLAN: + +`interface vlan {{1}}` + +- Atur suatu antarmuka sebagai aktif atau nonaktif (Perintah ini dijalankan di dalam perintah `interface`): + +`{{no shutdown|shutdown}}` diff --git a/pages.id/cisco-ios/ip.md b/pages.id/cisco-ios/ip.md new file mode 100644 index 00000000000000..a84042efbe1886 --- /dev/null +++ b/pages.id/cisco-ios/ip.md @@ -0,0 +1,21 @@ +# ip + +> Atur konfigurasi IP. +> Gunakan mode konfigurasi untuk mengakses perintah ini.. +> Informasi lebih lanjut: . + +- Atur versi SSH: + +`ip ssh version {{2}}` + +- Atur alamat perangkat saat ini (Perintah ini dijalankan di dalam perintah `interface`): + +`ip address {{10.0.0.1}} {{255.255.255.0}}` + +- Atur alamat perangkat menggunakan DHCP (Perintah ini dijalankan di dalam perintah `interface`): + +`ip address dhcp` + +- Setel suatu alamat domain: + +`ip domain-name {{example.com}}` diff --git a/pages.id/cisco-ios/line.md b/pages.id/cisco-ios/line.md new file mode 100644 index 00000000000000..a7a259a1d44960 --- /dev/null +++ b/pages.id/cisco-ios/line.md @@ -0,0 +1,9 @@ +# line + +> Atur baris output terminal. +> Gunakan mode konfigurasi untuk mengakses perintah ini. +> Informasi lebih lanjut: . + +- Atur barisan dari 0 hingga 15: + +`line vty 0 15` diff --git a/pages.id/common/!.md b/pages.id/common/!.md new file mode 100644 index 00000000000000..dccf0e2f346ac6 --- /dev/null +++ b/pages.id/common/!.md @@ -0,0 +1,36 @@ +# ! + +> Digunakan pada Bash sebagai pengganti perintah yang sebelumnya dieksekusikan. +> Informasi lebih lanjut: . + +- 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 susunan argumen/opsi perintah yang sama dengan perintah sebelumnya: + +`{{perintah}} !*` + +- Gunakan argumen/opsi perintah terakhir dari perintah sebelumnya: + +`{{perintah}} !$` + +- Gantikan nama perintah dengan nama perintah sebelumnya, tanpa menggunakan argumen/opsi dari perintah terakhir tersebut: + +`!:-` + +- Cetak nama perintah terakhir yang dimulai dengan awalan kata tertentu, tanpa mengeksekusi perintah terakhir tersebut: + +`!{{awalan_perintah}}:p` diff --git a/pages.id/common/$.md b/pages.id/common/$.md new file mode 100644 index 00000000000000..f15a378fcc2ef7 --- /dev/null +++ b/pages.id/common/$.md @@ -0,0 +1,32 @@ +# $ + +> Perluas nilai suatu variabel Bash. +> Informasi lebih lanjut: . + +- Cetak nilai suatu variabel (misalnya `VARIABLE`): + +`echo ${{VARIABLE}}` + +- Cetak nilai kode luaran (exit code) atas hasil eksekusi program atau perintah sebelumnya: + +`echo $?` + +- Cetak suatu nilai angka acak antara 0 dan 32767: + +`echo $RANDOM` + +- Cetak salah satu di antara kumpulan teks/string yang digunakan sebagai indikator input perintah (command prompt): + +`echo ${{PS0|PS1|PS2|PS3|PS4}}` + +- Gunakan output dari suatu perintah (`command`) untuk dijalankan oleh perintah lain. Sama seperti melampirkan isi perintah di dalam tanda petik terbalik (backticks): + +`$({{command}})` + +- Tampilkan berapa banyak jumlah argumen pada konteks perintah saat ini: + +`echo $#` + +- Tampilkan isi suatu array Bash: + +`echo ${array[@]}` diff --git a/pages.id/common/%.md b/pages.id/common/%.md new file mode 100644 index 00000000000000..12eadc2a741263 --- /dev/null +++ b/pages.id/common/%.md @@ -0,0 +1,28 @@ +# % + +> Bawakan suatu tugas yang dijalankan pada latar belakang menuju depan. +> Informasi lebih lanjut: . + +- Bawakan tugas saat ini menuju latar depan: + +`%` + +- Bawakan tugas sebelumnya ke menuju latar depan: + +`%-` + +- Bawakan tugas dengan nomor induk `N` menuju latar depan: + +`%{{N}}` + +- Bawakan tugas yang perintahnya dimulai dengan `string` menuju latar depan: + +`%{{string}}` + +- Bawakan tugas yang perintahnya mengandung kata `string` menuju latar depan: + +`%?{{string}}` + +- Lanjutkan suatu tugas yang sempat ditangguhkan: + +`%{{1}} &` diff --git a/pages.id/common/..md b/pages.id/common/..md new file mode 100644 index 00000000000000..ef54276d9abdad --- /dev/null +++ b/pages.id/common/..md @@ -0,0 +1,7 @@ +# . + +> Perintah ini merupakan alias dari `source`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr source` diff --git a/pages.id/common/2to3.md b/pages.id/common/2to3.md new file mode 100644 index 00000000000000..e6364ce0c6345f --- /dev/null +++ b/pages.id/common/2to3.md @@ -0,0 +1,34 @@ +# 2to3 + +> Alih bahasa kode program dari Python 2 menuju Python 3 secara otomatis. +> Modul ini telah ditandai untuk dibuang sejak Python versi 3.11 dan telah dibuang sejak versi 3.13. +> Untuk referensi, lihat: . +> Informasi lebih lanjut: . + +- Tampilkan apa saja yang akan diubah tanpa mengubahnya secara langsung (dry-run): + +`2to3 {{jalan/menuju/berkas.py}}` + +- Alih bahasa dan tulis ulang berkas program Python 2 menuju Python 3: + +`2to3 --write {{jalan/menuju/berkas.py}}` + +- Pilih jenis fitur bahasa yang akan dialihbahasakan dari Python 2 menuju Python 3: + +`2to3 --write {{jalan/menuju/berkas.py}} --fix {{raw_input}} --fix {{print}}` + +- Pilih jenis fitur bahasa yang dikecualikan dari proses pengalihbahasaan: + +`2to3 --write {{jalan/menuju/file.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- Tampilkan daftar fitur bahasa pemrograman yang dapat dialihbahasakan dari Python 2 menuju Python 3: + +`2to3 --list-fixes` + +- Alih bahasa dan tulis ulang seluruh berkas dari suatu direktori menuju direktori baru: + +`2to3 --output-dir {{jalan/menuju/direktori_python3}} --write-unchanged-files --nobackups {{jalan/menuju/direktori_python2}}` + +- Jalankan program ini dengan lebih dari satu thread: + +`2to3 --processes {{4}} --output-dir {{jalan/menuju/direktori_python3}} --write --nobackups --no-diff {{jalan/menuju/direktori_python2}}` diff --git a/pages.id/common/7z.md b/pages.id/common/7z.md new file mode 100644 index 00000000000000..6235ee80a60291 --- /dev/null +++ b/pages.id/common/7z.md @@ -0,0 +1,36 @@ +# 7z + +> Pengarsip file dengan rasio kompresi yang tinggi. +> Informasi lebih lanjut: . + +- T[a]mbahkan sebuah file atau direktori ke dalam arsip baru atau saat ini: + +`7z a {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}` + +- Enkripsi file arsip saat ini (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: + +`7z x {{jalan/menuju/arsip.7z}}` + +- E[x]trak file arsip ke dalam direktori yang ditentukan: + +`7z x {{jalan/menuju/arsip.7z}} -o{{jalan/menuju/direktori}}` + +- E[x]trak file arsip menuju `stdout`: + +`7z x {{jalan/menuju/arsip.7z}} -so` + +- [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}}` + +- [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}}` diff --git a/pages.id/common/7za.md b/pages.id/common/7za.md new file mode 100644 index 00000000000000..1e7714d274870e --- /dev/null +++ b/pages.id/common/7za.md @@ -0,0 +1,37 @@ +# 7za + +> Pengarsip file dengan rasio kompresi yang tinggi. +> Serupa dengan `7z` namun mendukung lebih sedikit format file arsip dan dapat digunakan lintas sistem operasi. +> Informasi lebih lanjut: . + +- T[a]mbahkan sebuah file atau direktori ke dalam arsip baru atau saat ini: + +`7za a {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}` + +- Enkripsi file arsip saat ini (termasuk nama-nama file yang terkandung di dalamnya): + +`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: + +`7za x {{jalan/menuju/arsip.7z}}` + +- E[x]trak file arsip ke dalam direktori yang ditentukan: + +`7za x {{jalan/menuju/arsip.7z}} -o{{jalan/menuju/direktori}}` + +- E[x]trak file arsip menuju `stdout`: + +`7za x {{jalan/menuju/arsip.7z}} -so` + +- [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}}` + +- [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}}` diff --git a/pages.id/common/7zr.md b/pages.id/common/7zr.md new file mode 100644 index 00000000000000..bd3418b2a51b91 --- /dev/null +++ b/pages.id/common/7zr.md @@ -0,0 +1,33 @@ +# 7zr + +> Pengarsip file dengan rasio kompresi yang tinggi. +> Serupa dengan `7z` namun mendukung format file arsip 7z saja. +> Informasi lebih lanjut: . + +- T[a]mbahkan sebuah file atau direktori ke dalam arsip baru atau saat ini: + +`7zr a {{jalan/menuju/arsip.7z}} {{jalan/menuju/file_atau_direktori}}` + +- Enkripsi file arsip saat ini (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: + +`7zr x {{jalan/menuju/arsip.7z}}` + +- E[x]trak file arsip ke dalam direktori yang ditentukan: + +`7zr x {{jalan/menuju/arsip.7z}} -o{{jalan/menuju/direktori}}` + +- E[x]trak file arsip menuju `stdout`: + +`7zr x {{jalan/menuju/arsip.7z}} -so` + +- [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}}` diff --git a/pages.id/common/[.md b/pages.id/common/[.md new file mode 100644 index 00000000000000..1bd95a4fe4165c --- /dev/null +++ b/pages.id/common/[.md @@ -0,0 +1,33 @@ +# [ + +> Cek jenis file dan bandingkan nilai dalam syel. +> Mengembalikan nilai 0 jika syarat tersebut terpenuhi (bernilai benar) atau 1 jika tidak. +> Informasi lebih lanjut: . + +- Ujikan apakah sebuah variabel memiliki nilai yang sama/tidak sama dengan sebuah 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: + +`[ "${{variabel}}" -{{eq|ne|gt|lt|ge|le}} {{bilangan_bulat}} ]` + +- Ujikan apakah sebuah variabel memiliki nilai yang tidak sama dengan hampa/null: + +`[ -n "${{variabel}}" ]` + +- Ujikan apakah sebuah variabel memiliki nilai hampa/null: + +`[ -z "{{$variabel}}" ]` + +- Ujikan apakah sebuah [f]ile dapat ditemukan: + +`[ -f {{jalan/menuju/file}} ]` + +- Ujikan apakah sebuah [d]irektori dapat ditemukan: + +`[ -d {{jalan/menuju/direktori}} ]` + +- Ujikan apakah sebuah file atau direktori dapat ditemukan: + +`[ -e {{jalan/menuju/file_atau_direktori}} ]` diff --git a/pages.id/common/[[.md b/pages.id/common/[[.md new file mode 100644 index 00000000000000..4c397dfcd321a1 --- /dev/null +++ b/pages.id/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> Cek jenis file dan bandingkan nilai dalam syel. +> Mengembalikan nilai 0 jika syarat tersebut terpenuhi (bernilai benar) atau 1 jika tidak. +> Informasi lebih lanjut: . + +- Ujikan apakah sebuah variabel memiliki nilai yang sama/tidak sama dengan sebuah string: + +`[[ ${{variabel}} {{==|!=}} "{{string}}" ]]` + +- Ujikan apakah sebuah variabel string memenuhi kriteria pola pencarian glob/regex: + +`[[ ${{variabel}} {{==|=~}} {{pola_glob_atau_regex}} ]]` + +- 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: + +`[[ ${{variabel}} -{{eq|ne|gt|lt|ge|le}} {{bilangan_bulat}} ]]` + +- Ujikan apakah sebuah variabel memiliki nilai yang tidak sama dengan hampa/null: + +`[[ -n ${{variabel}} ]]` + +- Ujikan apakah sebuah variabel memiliki nilai hampa/null: + +`[[ -z ${{variabel}} ]]` + +- Ujikan apakah sebuah [f]ile dapat ditemukan: + +`[[ -f {{jalan/menuju/file}} ]]` + +- Ujikan apakah sebuah [d]irektori dapat ditemukan: + +`[[ -d {{jalan/menuju/direktori}} ]]` + +- Ujikan apakah sebuah file atau direktori dapat ditemukan: + +`[[ -e {{jalan/menuju/file_atau_direktori}} ]]` diff --git a/pages.id/common/^.md b/pages.id/common/^.md new file mode 100644 index 00000000000000..5af72589bc29c7 --- /dev/null +++ b/pages.id/common/^.md @@ -0,0 +1,21 @@ +# ^ + +> Digunakan pada Bash untuk menggantikan string pada perintah sebelumnya dan menjalankan perintah yang telah diubahnya. +> Setara dengan `!!:s^string1^string2`. +> Informasi lebih lanjut: . + +- Jalankan perintah sebelumnya dengan menggantikan `string1` dengan `string2`: + +`^{{string1}}^{{string2}}` + +- Hapus `string1` dari perintah sebelumnya: + +`^{{string1}}^` + +- Gantikan `string1` dengan `string2` pada perintah sebelumnya, kemudian tambahkan `string3` pada akhir: + +`^{{string1}}^{{string2}}^{{string3}}` + +- Gantikan seluruh kemunculan `string1` menuju `string2`: + +`^{{string1}}^{{string2}}^:&` diff --git a/pages.id/common/a2ping.md b/pages.id/common/a2ping.md new file mode 100644 index 00000000000000..77df6e3976e3d0 --- /dev/null +++ b/pages.id/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> Ubah file gambar menjadi EPS atau PDF. +> Informasi lebih lanjut: . + +- 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` diff --git a/pages.id/common/aapt.md b/pages.id/common/aapt.md index cc232f7024b7db..fe16015f5a1bc4 100644 --- a/pages.id/common/aapt.md +++ b/pages.id/common/aapt.md @@ -1,16 +1,17 @@ # aapt > Alat Pemaketan Android Asset. -> Menyusun dan memaketkan resource aplikasi Android. +> Susun dan buat paket resource aplikasi Android. +> Informasi lebih lanjut: . -- Daftar berkas-berkas yang termuat dalam arsip APK: +- Tampilkan daftar berkas yang termuat dalam suatu arsip APK: -`aapt list {{alamat/ke/aplikasi.apk}}` +`aapt list {{jalan/menuju/aplikasi.apk}}` -- Menampilkan metadata aplikasi (versi, izin, dsb.): +- Tampilkan metadata aplikasi (versi, izin, dsb.): -`aapt dump badging {{alamat/ke/aplikasi.apk}}` +`aapt dump badging {{jalan/menuju/aplikasi.apk}}` -- Membuat arsip APK baru dengan berkas dari direktory yang ditentukan: +- Buat suatu arsip APK baru dengan berkas dari direktori yang ditentukan: -`aapt package -F {{alamat/ke/aplikasi.apk}} {{alamat/ke/direktori}}` +`aapt package -F {{jalan/menuju/aplikasi.apk}} {{jalan/menuju/direktori}}` diff --git a/pages.id/common/ab.md b/pages.id/common/ab.md new file mode 100644 index 00000000000000..e54f6436b7637d --- /dev/null +++ b/pages.id/common/ab.md @@ -0,0 +1,28 @@ +# ab + +> Alat penguji server HTTP Apache. +> Informasi lebih lanjut: . + +- 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}}` + +- Simpan hasil pengujian menuju suatu berkas CSV: + +`ab -e {{jalan/menuju/berkas.csv}}` diff --git a/pages.id/common/abduco.md b/pages.id/common/abduco.md new file mode 100644 index 00000000000000..1d9174b55f9efc --- /dev/null +++ b/pages.id/common/abduco.md @@ -0,0 +1,24 @@ +# abduco + +> Manajer sesi Terminal. +> Informasi lebih lanjut: . + +- 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: + +`` + +- Buk[A] sesi saat ini dalam mode non-interaktif alias [r]ead-only: + +`abduco -Ar {{name}}` diff --git a/pages.id/common/ac.md b/pages.id/common/ac.md new file mode 100644 index 00000000000000..57ef1aaac27b65 --- /dev/null +++ b/pages.id/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> Tampilkan statistik mengenai lama waktu pengguna sistem operasi yang terhubung. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/accelerate.md b/pages.id/common/accelerate.md new file mode 100644 index 00000000000000..e84fedbf59e7e1 --- /dev/null +++ b/pages.id/common/accelerate.md @@ -0,0 +1,28 @@ +# accelerate + +> Sebuah pustaka/library yang memungkinkan kode PyTorch yang sama dapat dijalankan secara menyebar. +> Informasi lebih lanjut: . + +- 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` diff --git a/pages.id/common/ack.md b/pages.id/common/ack.md new file mode 100644 index 00000000000000..903da2e214b095 --- /dev/null +++ b/pages.id/common/ack.md @@ -0,0 +1,37 @@ +# 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: . + +- 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 {{[-i|--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|--output '$&']}} "{{pola_pencarian}}"` + +- Hanya cari file dengan tipe tertentu (seperti `ruby` untuk mencari file `.rb`,`.erb`, `.rake`, `Rakefile` dan sebagainya): + +`ack {{[-t|--type]}} {{ruby}} "{{pola_pencarian}}"` + +- Jangan cari file dengan tipe tertentu: + +`ack {{[-t|--type]}} no{{ruby}} "{{pola_pencarian}}"` + +- Hitung total teks/string yang ditemukan: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{pola_pencarian}}"` + +- Hanya cetak nama file dan total penemuan dalam file tersebut saja: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{pola_pencarian}}"` + +- Tampilkan daftar kombinasi nilai yang dapat dipakai dalam atribut `--type`: + +`ack --help-types` diff --git a/pages.id/common/acme.sh-dns.md b/pages.id/common/acme.sh-dns.md new file mode 100644 index 00000000000000..4384b2cd4342e1 --- /dev/null +++ b/pages.id/common/acme.sh-dns.md @@ -0,0 +1,24 @@ +# acme.sh --dns + +> Gunakan verifikasi DNS-01 untuk menerbitkan sertifikat HTTPS. +> Informasi lebih lanjut: . + +- Terbitkan sertifikat menggunakan metode verifikasi DNS via API (daftar jenis `api_dns` yang didukung tersedia dalam ): + +`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` diff --git a/pages.id/common/acme.sh.md b/pages.id/common/acme.sh.md new file mode 100644 index 00000000000000..885cc2cad66351 --- /dev/null +++ b/pages.id/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> Sebuah shell script yang mengimplementasikan ACME client protocol (pembuat sertifikat HTTPS), alternatif dari `certbot`. +> Lihat juga: `acme.sh dns`. +> Informasi lebih lanjut: . + +- 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 ): + +`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}}"` diff --git a/pages.id/common/act.md b/pages.id/common/act.md new file mode 100644 index 00000000000000..d061fd5fd07907 --- /dev/null +++ b/pages.id/common/act.md @@ -0,0 +1,32 @@ +# act + +> Jalankan GitHub Actions secara lokal melalui Docker. +> Informasi lebih lanjut: . + +- 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/[j]ob tertentu: + +`act -j {{job_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 {{jalan/menuju/workflow}}` diff --git a/pages.id/common/acyclic.md b/pages.id/common/acyclic.md new file mode 100644 index 00000000000000..3cfe6bc74999b3 --- /dev/null +++ b/pages.id/common/acyclic.md @@ -0,0 +1,17 @@ +# 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: . + +- 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 -?` diff --git a/pages.id/common/adb-devices.md b/pages.id/common/adb-devices.md new file mode 100644 index 00000000000000..98b39e0db1b6aa --- /dev/null +++ b/pages.id/common/adb-devices.md @@ -0,0 +1,12 @@ +# adb devices + +> Tampilkan daftar perangkat Android yang terhubung. +> Informasi lebih lanjut: . + +- Tampilkan daftar seluruh perangkat yang terhubung: + +`adb devices` + +- Tampilkan pula informasi sistem bagi setiap perangkat terhubung: + +`adb devices -l` diff --git a/pages.id/common/adb-install.md b/pages.id/common/adb-install.md index 50f2578185b025..d8be2e9cd267a6 100644 --- a/pages.id/common/adb-install.md +++ b/pages.id/common/adb-install.md @@ -1,20 +1,28 @@ # adb install -> Android Debug Bridge Install: Menginstal paket ke emulator Android atau perangkat Android terhubung. -> Informasi lebih lanjut: . +> Android Debug Bridge Install: Memasang paket ke emulator Android atau perangkat Android terhubung. +> Informasi lebih lanjut: . -- Menginstal aplikasi Android ke emulator/perangkat: +- Pasang aplikasi Android ke emulator/perangkat: -`adb install {{alamat/ke/berkas.apk}}` +`adb install {{jalan/menuju/berkas.apk}}` -- Menginstal ulang aplikasi yang sudah ada, menjaga datanya: +- Pasang aplikasi Android menuju emulator/perangkat tertentu (berdasarkan nomor serial yang didapatkan dari `adb devices`, mengesampingkan nilai `$ANDROID_SERIAL`): -`adb install -r {{alamat/ke/berkas.apk}}` +`adb -s {{nomor_serial}} install {{jalan/menuju/file.apk}}` -- Memberikan semua izin yang terdaftar di manifest aplikasi: +- Pasang ulang aplikasi yang sudah ada, menjaga datanya: -`adb install -g {{alamat/ke/berkas.apk}}` +`adb install -r {{jalan/menuju/berkas.apk}}` -- Memperbarui langsung paket terinstal dengan hanya memperbarui bagian dari APK yang berubah: +- Pasang aplikasi Android versi lawas dari aplikasi Android yang sudah terpasang pada perangkat (khusus aplikasi debug): -`Adb install --fastdeploy {{alamat/ke/berkas.apk}}` +`adb install -d {{jalan/menuju/berkas.apk}}` + +- Berikan semua izin yang terdaftar di manifest aplikasi: + +`adb install -g {{jalan/menuju/berkas.apk}}` + +- Perbarui langsung paket terinstal dengan hanya memperbarui bagian dari APK yang berubah: + +`adb install --fastdeploy {{jalan/menuju/berkas.apk}}` diff --git a/pages.id/common/adb-logcat.md b/pages.id/common/adb-logcat.md new file mode 100644 index 00000000000000..4403a29da233d6 --- /dev/null +++ b/pages.id/common/adb-logcat.md @@ -0,0 +1,36 @@ +# adb logcat + +> Dapatkan dan simpan log sistem pada perangkat Android. +> Informasi lebih lanjut: . + +- Tampilkan log sistem pada perangkat yang terhubung saat ini: + +`adb logcat` + +- Saring dan tampilkan log berdasarkan kriteria ekspresi reguler: + +`adb logcat -e {{ekspresi_reguler}}` + +- Saring dan tampilkan log menurut tingkat mode ([V]erbose, [D]ebug, [I]nfo, [W]arning, [E]rror, [F]atal, [S]ilent) serta tag pada pesan-pesan log: + +`adb logcat {{tag}}:{{mode}} *:S` + +- Tampilkan pesan-pesan log dari aplikasi berbasis React Native dalam mode [V]erbose, dan jangan tampilkan ([S]ilence) pesan lainnya: + +`adb logcat ReactNative:V ReactNativeJS:V *:S` + +- Tampilkan pesan-pesan log yang dikategorikan dalam tingkat mode [W]arning ke atas, tanpa menghiraukan jenis tag yang disaring: + +`adb logcat *:W` + +- Tampilkan pesan-pesan log dari proses tertentu (menurut kode PID proses tersebut): + +`adb logcat --pid {{pid}}` + +- Tampilkan pesan-pesan log dari aplikasi tertentu (menurut package identifier seperti `com.example.myapp`): + +`adb logcat --pid $(adb shell pidof -s {{nama_pengenal_aplikasi}})` + +- Tampilkan log sistem secara warna-warni (biasanya digunakan untuk menyaring pesan-pesan log): + +`adb logcat -v color` diff --git a/pages.id/common/adb-reboot.md b/pages.id/common/adb-reboot.md new file mode 100644 index 00000000000000..10403df818722e --- /dev/null +++ b/pages.id/common/adb-reboot.md @@ -0,0 +1,20 @@ +# adb reboot + +> Nyalakan ulang suatu perangkat atau emulator Android. +> Informasi lebih lanjut: . + +- Nyalakan ulang perangkat seperti biasa: + +`adb reboot` + +- Nyalakan ulang perangkat menuju mode bootloader: + +`adb reboot bootloader` + +- Nyalakan ulang perangkat menuju mode pemulihan: + +`adb reboot recovery` + +- Nyalakan ulang perangkat menuju mode fastboot: + +`adb reboot fastboot` diff --git a/pages.id/common/adb-reverse.md b/pages.id/common/adb-reverse.md index 0b1487948dde1c..26ad7dcb43d484 100644 --- a/pages.id/common/adb-reverse.md +++ b/pages.id/common/adb-reverse.md @@ -1,20 +1,20 @@ # adb reverse > Android Debug Bridge Reverse: membalik koneksi socket dari emulator Android atau perangkat Android terhubung. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . - Daftar semua koneksi socket terbalik dari emulator dan perangkat: `adb reverse --list` -- Membalik port TCP dari emulator/perangkat ke localhost: +- Balikkan port TCP dari emulator/perangkat ke localhost: `adb reverse tcp:{{port_jarak_jauh}} tcp:{{port_lokal}}` -- Melepas koneksi socket terbalik dari emulator/perangkat: +- Lepaskan koneksi socket terbalik dari emulator/perangkat: `adb reverse --remove tcp:{{port_jarak_jauh}}` -- Melepas semua koneksi socket terbalik dari semua emulator dan perangkat: +- Lepaskan semua koneksi socket terbalik dari semua emulator dan perangkat: `adb reverse --remove-all` diff --git a/pages.id/common/adb-shell.md b/pages.id/common/adb-shell.md index 07a9438e8dbb35..e33ce8fc059d37 100644 --- a/pages.id/common/adb-shell.md +++ b/pages.id/common/adb-shell.md @@ -1,36 +1,36 @@ # adb shell > Android Debug Bridge Shell: Menjalankan perintah shell jarak jauh pada emulator Android atau perangkat Android terhubung. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . -- Memulai shell interaktif jarak jauh di emulator/perangkat: +- Mulaikan shell interaktif jarak jauh di emulator/perangkat: `adb shell` -- Mendapatkan semua properti dari emulator/perangkat: +- Dapatkan semua properti dari emulator/perangkat: `adb shell getprop` -- Mengembalikan semua izin runtime ke default: +- Kembalikan semua izin runtime ke default: `adb shell pm reset-permissions` -- Mencabut izin berbahaya dari sebuah aplikasi: +- Cabut izin berbahaya dari sebuah aplikasi: `adb shell pm revoke {{paket}} {{izin}}` -- Memicu sebuah peristiwa penting: +- Picukan sebuah peristiwa penting: `adb shell input keyevent {{keycode}}` -- Mengosongkan data aplikasi pada emulator/perangkat: +- Kosongkan data aplikasi pada emulator/perangkat: `adb shell pm clear {{paket}}` -- Memulai aktivitas pada emulator/perangkat: +- Mulaikan aktivitas pada emulator/perangkat: `adb shell am start -n {{paket}}/{{aktivitas}}` -- Memulai aktivitas beranda pada emulator/perangkat: +- Mulaikan aktivitas beranda pada emulator/perangkat: `adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN` diff --git a/pages.id/common/adb.md b/pages.id/common/adb.md index 19ff588e3ce868..17da4b504b8047 100644 --- a/pages.id/common/adb.md +++ b/pages.id/common/adb.md @@ -1,32 +1,37 @@ # adb > Android Debug Bridge: berkomunikasi dengan emulator Android atau perangkat Android terhubung. -> Informasi lebih lanjut: . +> Beberapa subperintah seperti `shell` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . -- Cek apakah proses server adb telah dimulai dan memulainya: +- Periksa apakah proses server adb telah dimulai dan memulainya: `adb start-server` -- Menghentikan proses server adb: +- Hentikan proses server adb: `adb kill-server` -- Memulai shell jarak jauh pada emulator/perangkat tujuan: +- Mulai shell jarak jauh pada emulator/perangkat tujuan: `adb shell` -- Menginstal aplikasi Android ke emulator/perangkat tujuan: +- Pasang suatu aplikasi Android menuju emulator/perangkat tujuan: -`adb install -r {{alamat/ke/berkas.apk}}` +`adb install -r {{jalan/menuju/berkas.apk}}` -- Menyalin berkas/direktori dari perangkat tujuan: +- Salin berkas/direktori dari perangkat tujuan: -`adb pull {{alamat/ke/berkas_atau_direktori_perangkat}} {{alamat/ke/direktori_lokal_tujuan}}` +`adb pull {{jalan/menuju/berkas_atau_direktori_perangkat}} {{jalan/menuju/direktori_lokal_tujuan}}` -- Menyalin berkas/direktori ke perangkat tujuan: +- Salin berkas/direktori menuju perangkat tujuan: -`adb push {{alamat/ke/berkas_atau_direktori_lokal}} {{alamat/ke/direktori_perangkat_tujuan}}` +`adb push {{jalan/menuju/berkas_atau_direktori_lokal}} {{jalan/menuju/direktori_perangkat_tujuan}}` -- Mendapatkan daftar perangkat yang terhubung: +- Tampilkan daftar perangkat yang terhubung: `adb devices` + +- Tentukan perangkat yang diinstruksikan (berdasarkan nomor induk / Device ID) jika terdapat lebih dari satu perangkat yang terhubung secara bersamaan: + +`adb -s {{device_ID}} {{shell}}` diff --git a/pages.id/common/adguardhome.md b/pages.id/common/adguardhome.md new file mode 100644 index 00000000000000..19722fdc81c882 --- /dev/null +++ b/pages.id/common/adguardhome.md @@ -0,0 +1,32 @@ +# AdGuardHome + +> Perangkat lunak untuk memblokir iklan dan upaya pelacakan dalam jaringan internet. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/adscript.md b/pages.id/common/adscript.md new file mode 100644 index 00000000000000..27426856d63898 --- /dev/null +++ b/pages.id/common/adscript.md @@ -0,0 +1,20 @@ +# adscript + +> Penyusun (compiler) untuk file Adscript. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/afconvert.md b/pages.id/common/afconvert.md new file mode 100644 index 00000000000000..70c2bc2ec6a172 --- /dev/null +++ b/pages.id/common/afconvert.md @@ -0,0 +1,12 @@ +# afconvert + +> Ubah format file antara AFF dan file baku/raw. +> Informasi lebih lanjut: . + +- 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 ...}}` diff --git a/pages.id/common/ag.md b/pages.id/common/ag.md new file mode 100644 index 00000000000000..c6de7f6cc68e22 --- /dev/null +++ b/pages.id/common/ag.md @@ -0,0 +1,32 @@ +# ag + +> The Silver Searcher. Seperti `ack`, namun bertujuan untuk lebih cepat daripadanya. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/agate.md b/pages.id/common/agate.md new file mode 100644 index 00000000000000..00ce9b8d61999b --- /dev/null +++ b/pages.id/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> Sebuah server sederhana untuk protokol jaringan Gemini. +> Informasi lebih lanjut: . + +- 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` diff --git a/pages.id/common/age-keygen.md b/pages.id/common/age-keygen.md new file mode 100644 index 00000000000000..0da7dbcb3b0cef --- /dev/null +++ b/pages.id/common/age-keygen.md @@ -0,0 +1,13 @@ +# age-keygen + +> Buat pasangan kunci untuk `age`. +> Lihat `age` untuk mengetahui cara membuat/membuka file terenkripsi. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/age.md b/pages.id/common/age.md new file mode 100644 index 00000000000000..6a06cf548b1989 --- /dev/null +++ b/pages.id/common/age.md @@ -0,0 +1,25 @@ +# age + +> Alat pengenkripsi file yang sederhana, modern, dan aman. +> Lihat `age-keygen` untuk mengetahui cara membuat pasangan kunci. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/aircrack-ng.md b/pages.id/common/aircrack-ng.md new file mode 100644 index 00000000000000..c2d69f8068ab22 --- /dev/null +++ b/pages.id/common/aircrack-ng.md @@ -0,0 +1,17 @@ +# 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: . + +- 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}}` diff --git a/pages.id/common/airdecap-ng.md b/pages.id/common/airdecap-ng.md new file mode 100644 index 00000000000000..d891f76abeee6e --- /dev/null +++ b/pages.id/common/airdecap-ng.md @@ -0,0 +1,25 @@ +# 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: . + +- 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}}` diff --git a/pages.id/common/aireplay-ng.md b/pages.id/common/aireplay-ng.md new file mode 100644 index 00000000000000..a0fc33678313a8 --- /dev/null +++ b/pages.id/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> Masukkan paket jaringan kepada jaringan nirkabel/wireless. +> Bagian dari paket perangkat lunak jaringan Aircrack-ng. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/airmon-ng.md b/pages.id/common/airmon-ng.md new file mode 100644 index 00000000000000..f5c65c6c5c9b71 --- /dev/null +++ b/pages.id/common/airmon-ng.md @@ -0,0 +1,21 @@ +# airmon-ng + +> Nyalakan mode pengawasan pada perangkat jaringan nirkabel/wireless. +> Bagian dari paket perangkat lunak jaringan Aircrack-ng. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/airodump-ng.md b/pages.id/common/airodump-ng.md new file mode 100644 index 00000000000000..ee619cb0c1cdae --- /dev/null +++ b/pages.id/common/airodump-ng.md @@ -0,0 +1,21 @@ +# airodump-ng + +> Tangkap para paket dan tampilkan informasi mengenai jaringan nirkabel/wireless. +> Bagian dari paket perangkat lunak jaringan Aircrack-ng. +> Informasi lebih lanjut: . + +- Tangkap para paket dan tampilkan daftar jaringan nirkabel dalam frekuensi 2.4GHz: + +`sudo airodump-ng {{interface}}` + +- Tangkap para paket dan tampilkan daftar jaringan nirkabel dalam frekuensi 5GHz: + +`sudo airodump-ng {{interface}} --band a` + +- Tangkap para paket dan tampilkan daftar jaringan nirkabel, baik dalam frekuensi 2.4GHz maupun 5GHz: + +`sudo airodump-ng {{interface}} --band abg` + +- 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}}` diff --git a/pages.id/common/airpaste.md b/pages.id/common/airpaste.md new file mode 100644 index 00000000000000..3223dbf02db28e --- /dev/null +++ b/pages.id/common/airpaste.md @@ -0,0 +1,24 @@ +# airpaste + +> Bagikan pesan dan file dalam jaringan yang sama menggunakan mDNS. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/airshare.md b/pages.id/common/airshare.md new file mode 100644 index 00000000000000..ba68c07fe2ca9b --- /dev/null +++ b/pages.id/common/airshare.md @@ -0,0 +1,28 @@ +# airshare + +> Pindahkan data antara dua perangkat dalam jaringan lokal yang sama. +> Informasi lebih lanjut: . + +- 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}}` diff --git a/pages.id/common/ajson.md b/pages.id/common/ajson.md new file mode 100644 index 00000000000000..d1001245a859bb --- /dev/null +++ b/pages.id/common/ajson.md @@ -0,0 +1,20 @@ +# ajson + +> Jalankan ekspresi pencarian JSONPath terhadap objek-objek JSON. +> Informasi lebih lanjut: . + +- 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 * $}}'` diff --git a/pages.id/common/alacritty.md b/pages.id/common/alacritty.md index fdb3a1f84baa57..92edc0f5d5c3db 100644 --- a/pages.id/common/alacritty.md +++ b/pages.id/common/alacritty.md @@ -1,24 +1,24 @@ # alacritty > Lintas platform, terakselerasi GPU terminal emulator. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . -- Membuka jendela alacritty baru: +- Buka jendela Alacritty baru: `alacritty` -- Menjalankan alacritty pada direktori tertentu: +- Jalankan Alacritty pada direktori tertentu: -`alacritty --working-directory {{alamat/ke/direktori}}` +`alacritty --working-directory {{jalan/menuju/direktori}}` -- Menjalankan perintah di jendela alacritty baru: +- Jalankan perintah di jendela Alacritty baru: `alacritty -e {{perintah}}` -- Menentukan berkas konfigurasi alternatif (nilai default $XDG_CONFIG_HOME/alacritty/alacritty.yml): +- Gunakan berkas konfigurasi alternatif untuk memuat program (nilai default `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): -`alacritty --config-file {{alamat/ke/konfigurasi.yml}}` +`alacritty --config-file {{jalan/menuju/konfigurasi.toml}}` -- Menjalankan dengan mengaktifkan pemuatan ulang konfigurasi secara langsung/otomatis(dapat juga diaktifkan secara default di alacritty.yml): +- Jalankan dan aktifkan fitur muat ulang konfigurasi secara langsung/otomatis (dapat juga diaktifkan secara default di `alacritty.toml`): -`alacritty --live-config-reload --config-file {{alamat/ke/konfigurasi.yml}}` +`alacritty --live-config-reload --config-file {{jalan/menuju/konfigurasi.toml}}` diff --git a/pages.id/common/alex.md b/pages.id/common/alex.md new file mode 100644 index 00000000000000..0cf743cd3d4944 --- /dev/null +++ b/pages.id/common/alex.md @@ -0,0 +1,21 @@ +# 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: . + +- 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}}` diff --git a/pages.id/common/alias.md b/pages.id/common/alias.md index 1fc85f175d57c9..ab688a99c73bd7 100644 --- a/pages.id/common/alias.md +++ b/pages.id/common/alias.md @@ -1,28 +1,29 @@ # alias -> Membuat alias -- kata-kata yang digantikan oleh utasan perintah (command). +> Buat alias perintah -- kata-kata yang digantikan oleh utasan perintah (command). > Alias menjadi kadaluarsa sampai sesi shell saat ini berakhir, kecuali jika didefinisikan di file konfigurasi shell, misalnya `~/.bashrc`. +> Informasi lebih lanjut: . -- Menampilkan daftar semua alias: +- Tampilkan daftar seluruh alias yang terdaftar: `alias` -- Membuat alias generik: +- Buat suatu alias generik: `alias {{kata}}="{{perintah}}"` -- Melihat perintah yang dirujuk oleh alias yang diberikan: +- Lihat perintah yang dirujuk oleh alias yang diberikan: `alias {{kata}}` -- Menghapus alias dari sebuah perintah: +- Hapus suatu perintah alias: `unalias {{kata}}` -- Mengubah `rm` menjadi perintah interaktif: +- Ubah perintah `rm` menjadi perintah interaktif: -`alias {{rm}}="{{rm -i}}"` +`alias {{rm}}="{{rm --interactive}}"` -- Membuat `la` menjadi pintasan untuk `ls -a`: +- Buat perintah `la` menjadi pintasan untuk `ls --all`: -`alias {{la}}="{{ls -a}}"` +`alias {{la}}="{{ls --all}}"` diff --git a/pages.id/common/amass-enum.md b/pages.id/common/amass-enum.md new file mode 100644 index 00000000000000..a3f63f30a810ef --- /dev/null +++ b/pages.id/common/amass-enum.md @@ -0,0 +1,28 @@ +# amass enum + +> Cari seluruh subdomain dari suatu domain internet. +> Informasi lebih lanjut: . + +- Cari para subdomain dari suatu [d]omain (secara pasif): + +`amass enum -d {{nama_domain}}` + +- Cari para subdomain dari [d]omain dengan memeriksa apakah subdomain tersebut dapat ditemukan: + +`amass enum -active -d {{nama_domain}} -p {{80,443,8080}}` + +- Lakukan pencarian terhadap para sub[d]omain secara paksa (brute force): + +`amass enum -brute -d {{nama_domain}}` + +- Simpan hasil pencarian ke dalam suatu berkas teks: + +`amass enum -o {{berkas_output}} -d {{nama_domain}}` + +- Simpan hasil luaran (output) terminal menuju suatu berkas dan informasi tambahan ke dalam direktori tertentu: + +`amass enum -o {{berkas_output}} -dir {{jalan/menuju/direktori}} -d {{nama_domain}}` + +- Tampilkan daftar sumber pencarian data: + +`amass enum -list` diff --git a/pages.id/common/amass-intel.md b/pages.id/common/amass-intel.md new file mode 100644 index 00000000000000..03132e35c7a6fd --- /dev/null +++ b/pages.id/common/amass-intel.md @@ -0,0 +1,32 @@ +# amass intel + +> Kumpulkan data pendukung pengintaian bersumber terbuka (OSI) terhadap suatu organisasi, seperti domain pangkal dan informasi Nomor Sistem Otonom (ASN). +> Informasi lebih lanjut: . + +- Cari para domain pangkal yang berkaitan dengan rentang alamat ([addr]ess) IP: + +`amass intel -addr {{192.168.0.1-254}}` + +- Gunakan metode pengintaian secara aktif: + +`amass intel -active -addr {{192.168.0.1-254}}` + +- Cari para domain pangkal yang berkaitan dengan suatu [d]omain: + +`amass intel -whois -d {{nama_domain}}` + +- Cari para pihak ASN yang berkaitan dengan suatu [org]anisasi: + +`amass intel -org {{nama_organisasi}}` + +- Cari daftar domain yang dipegang oleh suatu pihak Nomor Sistem Otonom (ASN) berdasarkan nomornya: + +`amass intel -asn {{nomor_asn}}` + +- Simpan hasil pencarian ke dalam suatu berkas teks: + +`amass intel -o {{berkas_output}} -whois -d {{nama_domain}}` + +- Tampilkan daftar sumber pencarian data: + +`amass intel -list` diff --git a/pages.id/common/amass.md b/pages.id/common/amass.md new file mode 100644 index 00000000000000..4d67a3760585ea --- /dev/null +++ b/pages.id/common/amass.md @@ -0,0 +1,21 @@ +# amass + +> Alat Pemetaan Permukaan Serangan dan Penemuan Aset yang mendalam. +> Beberapa subperintah seperti `amass intel` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . + +- Jalankan suatu subperintah Amass: + +`amass {{intel|enum}} {{opsi}}` + +- Tampilkan informasi bantuan umum: + +`amass -help` + +- Tampilkan informasi bantuan untuk subperintah Amass: + +`amass {{intel|enum}} -help` + +- Tampilkan informasi versi: + +`amass -version` diff --git a/pages.id/common/androguard.md b/pages.id/common/androguard.md new file mode 100644 index 00000000000000..d5abeb430690e1 --- /dev/null +++ b/pages.id/common/androguard.md @@ -0,0 +1,16 @@ +# androguard + +> Lakukan rekayasa terbalik terhadap suatu aplikasi Android. Program ini ditulis dalam bahasa pemrograman Python. +> Informasi lebih lanjut: . + +- Tampilkan manifes aplikasi Android: + +`androguard axml {{jalan/menuju/aplikasi.apk}}` + +- Tampilkan metadata aplikasi (versi dan ID aplikasi): + +`androguard apkid {{jalan/menuju/aplikasi.apk}}` + +- Bongkar kode-kode program Java dari suatu aplikasi: + +`androguard decompile {{jalan/menuju/aplikasi.apk}} --output {{jalan/menuju/direktori}}` diff --git a/pages.id/common/ani-cli.md b/pages.id/common/ani-cli.md new file mode 100644 index 00000000000000..b11f17da5bfe42 --- /dev/null +++ b/pages.id/common/ani-cli.md @@ -0,0 +1,28 @@ +# ani-cli + +> Program baris perintah (CLI) untuk menelusuri dan menonton film anime. +> Informasi lebih lanjut: . + +- Cari anime dengan nama: + +`ani-cli "{{nama_anime}}"` + +- Unduh ([d]ownload) suatu episode: + +`ani-cli -d "{{nama_anime}}"` + +- Gunakan [v]LC untuk memutar film: + +`ani-cli -v "{{nama_anime}}"` + +- Tonton satu [e]pisode: + +`ani-cli -e {{nomor_episode}} "{{nama_anime}}"` + +- Lanjut ([c]ontinue) menonton anime dari riwayat: + +`ani-cli -c` + +- Mutakhirkan ([U]pdate) program `ani-cli`: + +`ani-cli -U` diff --git a/pages.id/common/anki.md b/pages.id/common/anki.md new file mode 100644 index 00000000000000..7823a432cdd813 --- /dev/null +++ b/pages.id/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> Program manajemen flashcard (kartu pintar) yang kuat dan cerdas. +> Informasi lebih lanjut: . + +- Jalankan program GUI: + +`anki` + +- Gunakan [p]rofil tertentu untuk mengakses flashcard: + +`anki -p {{nama_profil}}` + +- Gunakan suatu bahasa ([l]anguage): + +`anki -l {{bahasa}}` + +- Gunakan direktori non-default untuk memuat data flashcard (tersimpan secara default dalam `~/Anki`): + +`anki -b {{jalan/menuju/direktori}}` diff --git a/pages.id/common/ansible-doc.md b/pages.id/common/ansible-doc.md new file mode 100644 index 00000000000000..67b76915e72ad1 --- /dev/null +++ b/pages.id/common/ansible-doc.md @@ -0,0 +1,29 @@ +# ansible-doc + +> Tampilkan informasi mengenai modul-modul (action plugins) yang terpasang dalam pustaka pemasangan Ansible. +> Tampilkan informasi singkat mengenai daftar plugin beserta deskripsi singkatnya. +> Informasi lebih lanjut: . + +- Tampilkan daftar modul/plugin yang tersedia: + +`ansible-doc {{[-l|--list]}}` + +- Tampilkan daftar modul/plugin berdasarkan jenisnya: + +`ansible-doc {{[-t|--type]}} {{become|cache|callback|cliconf|connection|...}} {{[-l|--list]}}` + +- Tampilkan informasi mengenai suatu modul/plugin: + +`ansible-doc {{nama_plugin}}` + +- Tampilkan informasi mengenai suatu modul/plugin berdasarkan jenis spesifiknya: + +`ansible-doc {{[-t|--type]}} {{become|cache|callback|cliconf|connection|...}} {{nama_plugin}}` + +- Lihat contoh cara penggunaan (dalam playbook) bagi suatu modul/plugin: + +`ansible-doc {{[-s|--snippet]}} {{nama_plugin}}` + +- Tampilkan informasi mengenai suatu plugin/modul dalam format JSON: + +`ansible-doc {{[-j|--json]}} {{nama_plugin}}` diff --git a/pages.id/common/ansible-galaxy.md b/pages.id/common/ansible-galaxy.md new file mode 100644 index 00000000000000..81e8e80ff4bdae --- /dev/null +++ b/pages.id/common/ansible-galaxy.md @@ -0,0 +1,32 @@ +# ansible-galaxy + +> Buat dan atur peran pengguna (role) Ansible. +> Informasi lebih lanjut: . + +- Tampilkan daftar peran atau koleksi yang tersedia: + +`ansible-galaxy {{role|collection}} list` + +- Cari suatu peran berdasarkan nama menggunakan tingkat verbositas tertentu (`-v` harus dimasukkan pada akhir baris perintah): + +`ansible-galaxy role search {{nama_peran}} -v{{vvvvv}}` + +- Pasang atau bongkar peran-peran pengguna: + +`ansible-galaxy role {{install|remove}} {{nama_peran1 nama_peran2 ...}}` + +- Terbitkan sebuah peran baru: + +`ansible-galaxy role init {{nama_peran}}` + +- Dapatkan informasi mengenai suatu peran: + +`ansible-galaxy role info {{nama_peran}}` + +- Pasang atau bongkar kumpulan koleksi (collection): + +`ansible-galaxy collection {{install|remove}} {{nama_koleksi1 nama_koleksi1 ...}}` + +- Tampilkan bantuan mengenai manajemen peran (role) maupun koleksi (collection): + +`ansible-galaxy {{role|collection}} {{[-h|--help]}}` diff --git a/pages.id/common/ansible-inventory.md b/pages.id/common/ansible-inventory.md new file mode 100644 index 00000000000000..1bf1012ddadfba --- /dev/null +++ b/pages.id/common/ansible-inventory.md @@ -0,0 +1,21 @@ +# ansible-inventory + +> Tampilkan dan simpan informasi suatu inventaris Ansible (inventory). +> Lihat juga: `ansible`. +> Informasi lebih lanjut: . + +- Tampilkan informasi inventaris default: + +`ansible-inventory --list` + +- Tampilkan suatu inventaris kustom: + +`ansible-inventory --list {{[-i|--inventory-file]}} {{jalan/menuju/berkas_atau_skrip_atau_direktori}}` + +- Tampilkan informasi inventaris default dalam format YAML: + +`ansible-inventory --list {{[-y|--yaml]}}` + +- Simpan informasi inventaris default ke dalam suatu berkas teks: + +`ansible-inventory --list --output {{jalan/menuju/berkas}}` diff --git a/pages.id/common/ansible-lint.md b/pages.id/common/ansible-lint.md new file mode 100644 index 00000000000000..3aa78ac9fb564c --- /dev/null +++ b/pages.id/common/ansible-lint.md @@ -0,0 +1,24 @@ +# ansible-lint + +> Terapkan aturan dan rekomendasi praktik terbaik terhadap konten otomasi Anda. +> Informasi lebih lanjut: . + +- Terapkan terhadap suatu playbook dan direktori peran: + +`ansible-lint {{jalan/menuju/berkas_playbook}} {{jalan/menuju/direktori_peran}}` + +- Terapkan terhadap suatu playbook kecuali kumpulan peraturan tertentu: + +`ansible-lint {{[-x|--exclude-rules]}} {{peraturan1,peraturan2,...}} {{jalan/menuju/berkas_playbook}}` + +- Terapkan terhadap suatu playbook dalam mode luring (offline), dan atur luaran perintah dalam format PEP8: + +`ansible-lint {{[-o|--offline]}} {{[-p|--parseable]}} {{jalan/menuju/berkas_playbook}}` + +- Terapkan terhadap suatu playbook menggunakan suatu direktori peraturan: + +`ansible-lint {{[-r|--rules]}} {{jalan/menuju/direktori_peraturan_kustom}} {{jalan/menuju/berkas_playbook}}` + +- Terapkan terhadap seluruh konten Ansible, secara rekursif, dalam suatu direktori: + +`ansible-lint {{jalan/menuju/direktori_proyek}}` diff --git a/pages.id/common/ansible-playbook.md b/pages.id/common/ansible-playbook.md new file mode 100644 index 00000000000000..5128892a53351a --- /dev/null +++ b/pages.id/common/ansible-playbook.md @@ -0,0 +1,32 @@ +# ansible-playbook + +> Jalankan kumpulan tugas yang didefinisikan di dalam buku aturan main (playbook), kepada para mesin secara jarak jauh melalui SSH. +> Informasi lebih lanjut: . + +- Jalankan kumpulan tugas yang didefinisikan dalam buku aturan main (playbook): + +`ansible-playbook {{playbook}}` + +- Jalankan kumpulan tugas playbook dengan [i]nventaris mesin secara kustom: + +`ansible-playbook {{playbook}} {{[-i|--inventory]}} {{berkas_inventaris}}` + +- Jalankan kumpulan tugas playbook dengan variabel [e]kstra sebagaimana didefinisikan dalam barisan perintah (command-line): + +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "{{variabel1}}={{nilai1}} {{variabel2}}={{nilai2}}"` + +- Jalankan kumpulan tugas playbook dengan variabel [e]kstra sebagaimana didefinisikan di dalam suatu berkas JSON: + +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "@{{daftar_variabel.json}}"` + +- Jalankan kumpulan tugas playbook dengan konfigurasi tag tertentu: + +`ansible-playbook {{playbook}} {{[-t|--tags|]}} {{tag1,tag2}}` + +- Jalankan kumpulan tugas playbook, dimulai dari nama tugas spesifik: + +`ansible-playbook {{playbook}} --start-at {{nama_tugas}}` + +- Jalankan kumpulan tugas playbook tanpa melakukan perubahan sebenarnya (dry-run): + +`ansible-playbook {{playbook}} {{[-C|--check|]}} {{[-D|--diff|]}}` diff --git a/pages.id/common/ansible-pull.md b/pages.id/common/ansible-pull.md new file mode 100644 index 00000000000000..386c15a94403f7 --- /dev/null +++ b/pages.id/common/ansible-pull.md @@ -0,0 +1,20 @@ +# ansible-pull + +> Tarik buku-buku aturan main (playbook) dari suatu repositori sistem manajemen versi (VCS), dan jalankan tugas-tugasnya bagi host lokal. +> Informasi lebih lanjut: . + +- Tarik suatu playbook dari repositori VCS, kemudian jalankan aturan default dari playbook local.yml: + +`ansible-pull {{[-U|--url]}} {{url_repositori}}` + +- Tarik suatu playbook dari repositori VCS, kemudian jalankan aturan playbook dengan nama tertentu: + +`ansible-pull {{[-U|--url]}} {{url_repositori}} {{playbook}}` + +- Tarik suatu playbook dari [C]abang tertentu pada repositori VCS, kemudian jalankan aturan playbook dengan nama tertentu: + +`ansible-pull {{[-U|--url]}} {{url_repositori}} {{[-C|--checkout]}} {{cabang}} {{playbook}}` + +- Tarik suatu playbook dari repositori VCS, kemudian definisikan daftar perangkat/host dari suatu berkas (hosts), kemudian jalankan aturan playbook dengan nama tertentu: + +`ansible-pull {{[-U|--url]}} {{url_repositori}} {{[-i|--inventory]}} {{berkas_hosts}} {{playbook}}` diff --git a/pages.id/common/ansible-vault.md b/pages.id/common/ansible-vault.md new file mode 100644 index 00000000000000..b647a1856d7081 --- /dev/null +++ b/pages.id/common/ansible-vault.md @@ -0,0 +1,28 @@ +# ansible-vault + +> Enkripsi dan dekripsi nilai, struktur data, dan file dalam proyek Ansible. +> Informasi lebih lanjut: . + +- Buat suatu berkas brankas terenkripsi baru dengan permintaan kata sandi: + +`ansible-vault create {{nama_berkas_brankas}}` + +- Buat file brankas terenkripsi baru menggunakan berkas kunci (kata sandi) brankas untuk mengenkripsinya: + +`ansible-vault create --vault-password-file {{nama_berkas_kata_sandi}} {{nama_berkas_brankas}}` + +- Enkripsi file yang ada menggunakan berkas kata sandi opsional: + +`ansible-vault encrypt --vault-password-file {{nama_berkas_kata_sandi}} {{nama_berkas_brankas}}` + +- Enkripsi suatu teks string menggunakan format string terenkripsi standar Ansible, dan menampilkan petunjuk secara interaktif: + +`ansible-vault encrypt_string` + +- Lihat isi suatu brankas yang terenkripsi, menggunakan berkas kata sandi untuk mendekripsikannya: + +`ansible-vault view --vault-password-file {{nama_berkas_kata_sandi}} {{nama_berkas_brankas}}` + +- Ganti kunci (kata sandi) pada brankas terenkripsi dengan mendefinisikan berkas kata sandi baru: + +`ansible-vault rekey --vault-password-file {{nama_berkas_kata_sandi_lama}} --new-vault-password-file {{nama_berkas_kata_sandi_baru}} {{nama_berkas_brankas}}` diff --git a/pages.id/common/ansible.md b/pages.id/common/ansible.md new file mode 100644 index 00000000000000..b13dac5f900560 --- /dev/null +++ b/pages.id/common/ansible.md @@ -0,0 +1,33 @@ +# ansible + +> Atur grup perangkat komputer yang secara jarak jauh melalui SSH. (Gunakan berkas `/etc/ansible/hosts` untuk menambahkan grup atau host baru). +> Beberapa subperintah seperti `ansible galaxy` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . + +- Tampilkan daftar host yang tergabung dalam suatu grup: + +`ansible {{grup}} --list-hosts` + +- Uji koneksi (ping) kepada grup perangkat tertentu dengan menggunakan [m]odul ping: + +`ansible {{grup}} {{[-m|--module-name]}} ping` + +- Tampilkan informasi faktual tentang suatu grup perangkat dengan menggunakan [m]odul setup: + +`ansible {{grup}} {{[-m|--module-name]}} setup` + +- Jalankan perintah pada suatu kelompok perangkat melalui [m]odul command dengan kumpulan [a]rgumen: + +`ansible {{grup}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{perintah_saya}}'` + +- Jalankan perintah dengan hak akses administratif: + +`ansible {{grup}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{perintah_saya}}'` + +- Jalankan perintah menggunakan berkas [i]nventaris tertentu: + +`ansible {{grup}} {{[-i|--inventory]}} {{file_inventaris}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{perintah_saya}}'` + +- Tampilkan daftar grup dalam sebuah inventaris: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.id/common/ansiweather.md b/pages.id/common/ansiweather.md new file mode 100644 index 00000000000000..43060fcc3b7348 --- /dev/null +++ b/pages.id/common/ansiweather.md @@ -0,0 +1,16 @@ +# ansiweather + +> Tampilkan kondisi cuaca saat ini ke dalam terminal. +> Informasi lebih lanjut: . + +- Tampilkan ramalan cuaca ([f]orecast) selama tujuh hari ke depan bagi suatu [l]okasi, dengan satuan [u]nit ukur metrik: + +`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}` + +- Tampilkan ramalan cuaca ([F]orecast) selama lima hari ke depan bagi lokasi saat ini, dengan tampilan [s]imbol serta informasi waktu matahari terbit dan terbenam ([d]aylight): + +`ansiweather -F -s true -d true` + +- Tampilkan informasi kecepatan angin ([w]ind) dan kelembapan udara ([h]umidity) bagi waktu dan lokasi saat ini: + +`ansiweather -w true -h true` diff --git a/pages.id/common/ant.md b/pages.id/common/ant.md new file mode 100644 index 00000000000000..70103fd20cf35a --- /dev/null +++ b/pages.id/common/ant.md @@ -0,0 +1,24 @@ +# ant + +> Apache Ant: bangun dan atur proyek pengembangan piranti lunak berbasis Java. +> Informasi lebih lanjut: . + +- Bangun suatu proyek Java dengan pengaturan yang didefinisikan dalam `build.xml` (lokasi default): + +`ant` + +- Bangun proyek menggunakan berkas/[f]ile pengaturan selain `build.xml`: + +`ant -f {{buildfile.xml}}` + +- Tampilkan informasi mengenai daftar target pembangunan piranti lunak yang memungkinkan bagi proyek ini: + +`ant -p` + +- Tampilkan informasi pendukung awakutu ([d]ebugging): + +`ant -d` + +- Jalankan pembangunan bagi seluruh target pembangunan yang tidak bergantung kepada target-target yang gagal dibangun: + +`ant -k` diff --git a/pages.id/common/antibody.md b/pages.id/common/antibody.md new file mode 100644 index 00000000000000..1e593db0ea5346 --- /dev/null +++ b/pages.id/common/antibody.md @@ -0,0 +1,16 @@ +# antibody + +> Program manajemen plugin syel "si paling cepat". +> Informasi lebih lanjut: . + +- Gabungkan semua plugin untuk dimuat dalam syel secara statis: + +`antibody bundle < {{~/.zsh_plugins.txt}} > {{~/.zsh_plugins.sh}}` + +- Mutakhirkan seluruh bundel: + +`antibody update` + +- Tampilkan seluruh plugin yang terpasang: + +`antibody list` diff --git a/pages.id/common/anytopnm.md b/pages.id/common/anytopnm.md new file mode 100644 index 00000000000000..f52de229ddf92f --- /dev/null +++ b/pages.id/common/anytopnm.md @@ -0,0 +1,12 @@ +# anytopnm + +> Ubah format gambar apapun menuju format gambar umum. +> Informasi lebih lanjut: . + +- Ubah suatu gambar dari format apapun menuju format PBM, PGM, atau PPM: + +`anytopnm {{jalan/menuju/input}} > {{jalan/menuju/output.pnm}}` + +- Tampilkan informasi versi: + +`anytopnm -version` diff --git a/pages.id/common/apg.md b/pages.id/common/apg.md new file mode 100644 index 00000000000000..66942186eee7f9 --- /dev/null +++ b/pages.id/common/apg.md @@ -0,0 +1,24 @@ +# apg + +> Buat kata sandi secara acak dan kompleks. +> Informasi lebih lanjut: . + +- Buat sebuah kata sandi secara acak (panjang default bagi kata sandi adalah 8): + +`apg` + +- Buat sebuah kata sandi dengan minimum 1 simbol (S), 1 nomor (N), 1 huruf kapital (C), dan 1 huruf kecil (L): + +`apg -M SNCL` + +- Buat kata sandi dengan panjang 16 karakter: + +`apg -m {{16}}` + +- Buat kata sandi dengan panjang ma[x]imum 16 karakter: + +`apg -x {{16}}` + +- Buat sebuah kata sandi yang tidak mengandung kata yang terkandung di dalam suatu berkas kamus: + +`apg -r {{jalan/menuju/berkas_kamus}}` diff --git a/pages.id/common/apkleaks.md b/pages.id/common/apkleaks.md new file mode 100644 index 00000000000000..f4a500bb545cc5 --- /dev/null +++ b/pages.id/common/apkleaks.md @@ -0,0 +1,17 @@ +# apkleaks + +> Pindai berkas APK (aplikasi Android) untuk mencari URI, alur pemanggilan (endpoint), dan konfigurasi rahasia. +> Catatan: APKLeaks menggunakan `jadx` untuk membongkar kode aplikasi Android. +> Informasi lebih lanjut: . + +- Pindai berkas ([f]ile) APK untuk mencari daftar endpoint dan kode konfigurasi rahasia: + +`apkleaks --file {{jalan/menuju/berkas.apk}}` + +- Pindai dan simpan luaran ([o]utput) ke dalam suatu berkas: + +`apkleaks --file {{jalan/menuju/berkas.apk}} --output {{jalan/menuju/berkas_output.txt}}` + +- Berikan [a]rgumen perintah tambahan untuk `jadx`: + +`apkleaks --file {{jalan/menuju/berkas.apk}} --args "{{--threads-count 5 --deobf}}"` diff --git a/pages.id/common/apktool.md b/pages.id/common/apktool.md index 7693ede85989df..2ad691c0943286 100644 --- a/pages.id/common/apktool.md +++ b/pages.id/common/apktool.md @@ -3,14 +3,14 @@ > Me-reverse engineer berkas APK. > Informasi lebih lanjut: . -- Dekode berkas APK: +- Bongkar isi ([d]ekode) berkas APK: `apktool d {{berkas.apk}}` -- Men-build folder menjadi berkas APK: +- [b]angun kode sumber dalam suatu direktori menjadi berkas APK: -`apktool b {{alamat/ke/direktori}}` +`apktool b {{jalan/menuju/direktori}}` -- Menginstal dan menyimpan frameworks: +- Pasang ([i]nstal) dan simpan komponen [f]rameworks dari suatu berkas APK: `apktool if {{framework.apk}}` diff --git a/pages.id/common/apm.md b/pages.id/common/apm.md new file mode 100644 index 00000000000000..d3481fa1079214 --- /dev/null +++ b/pages.id/common/apm.md @@ -0,0 +1,17 @@ +# apm + +> Manajer paket untuk aplikasi pengolah teks Atom. +> Lihat juga: `atom`. +> Informasi lebih lanjut: . + +- Pasang suatu paket dari atau tema dari : + +`apm install {{nama_paket}}` + +- Hapus pemasangan suatu paket atau tema: + +`apm remove {{nama_paket}}` + +- Mutakhirkan paket atau tema menuju versi terbaru: + +`apm upgrade {{nama_paket}}` diff --git a/pages.id/common/apropos.md b/pages.id/common/apropos.md new file mode 100644 index 00000000000000..1eb25e3f16ca4f --- /dev/null +++ b/pages.id/common/apropos.md @@ -0,0 +1,16 @@ +# apropos + +> Lakukan pencarian nama dan deskripsi perintah dalam buku panduan program baris perintah (`manpages`). +> Informasi lebih lanjut: . + +- Cari daftar dokumentasi perintah yang mengandung kata dengan format kata kunci ekspresi reguler (regex): + +`apropos {{ekspresi_reguler}}` + +- Jangan pangkas tampilan teks hasil pencarian menurut panjang jendela terminal: + +`apropos -l {{ekspresi_reguler}}` + +- Cari daftar dokumentasi perintah yang mengandung seluruh ([a]ll) kriteria kata dalam bentuk ekspresi reguler (regex): + +`apropos {{ekspresi_reguler_1}} -a {{ekspresi_reguler_2}} -a {{ekspresi_reguler_3}}` diff --git a/pages.id/common/ar.md b/pages.id/common/ar.md new file mode 100644 index 00000000000000..dae8ea44b58b91 --- /dev/null +++ b/pages.id/common/ar.md @@ -0,0 +1,25 @@ +# ar + +> Buat, olah, dan ekstrak berkas dalam format arsip Unix. Biasanya dimanfaatkan untuk pustaka statis (`.a`) dan paket piranti lunak Debian (`.deb`). +> Lihat juga: `tar`. +> Informasi lebih lanjut: . + +- E[x]trak seluruh berkas dalam suatu arsip: + +`ar x {{jalan/menuju/berkas.a}}` + +- Lihat daf[t]ar isi dari suatu arsip: + +`ar t {{jalan/menuju/berkas.ar}}` + +- Gantikan ([r]eplace) atau tambahkan suatu berkas ke dalam arsip: + +`ar r {{jalan/menuju/berkas.deb}} {{jalan/menuju/debian-binary jalan/menuju/control.tar.gz jalan/menuju/data.tar.xz ...}}` + +- Ma[s]ukkan suatu berkas objek (setara dengan penggunaan `ranlib`): + +`ar s {{jalan/menuju/berkas.a}}` + +- Buat suatu arsip berisikan kumpulan berkas tertentu, dan suatu berkas daftar indeks para objek: + +`ar rs {{jalan/menuju/berkas.a}} {{jalan/menuju/berkas1.o jalan/menuju/berkas2.o ...}}` diff --git a/pages.id/common/arc.md b/pages.id/common/arc.md new file mode 100644 index 00000000000000..19f2b36f50a746 --- /dev/null +++ b/pages.id/common/arc.md @@ -0,0 +1,20 @@ +# arc + +> Arcanist: program CLI untuk Phabricator. +> Informasi lebih lanjut: . + +- Kirim semua perubahan untuk ditinjau melalui alat Differential: + +`arc diff` + +- Tampilkan daftar revisi yang masih menunggu persetujuan (pending): + +`arc list` + +- Mutakhirkan pesan-pesan Git seusai peninjauan: + +`arc amend` + +- Simpan (land/push) perubahan yang disetujui menuju repositori Git: + +`arc land` diff --git a/pages.id/common/arch.md b/pages.id/common/arch.md new file mode 100644 index 00000000000000..9a0557a04f4edf --- /dev/null +++ b/pages.id/common/arch.md @@ -0,0 +1,9 @@ +# arch + +> Tampilkan nama arsitektur sistem saat ini. +> Lihat juga: `uname`. +> Informasi lebih lanjut: . + +- Tampilkan informasi arsitektur sistem saat ini: + +`arch` diff --git a/pages.id/common/archwiki-rs.md b/pages.id/common/archwiki-rs.md new file mode 100644 index 00000000000000..4f8a2d02700ec9 --- /dev/null +++ b/pages.id/common/archwiki-rs.md @@ -0,0 +1,20 @@ +# archwiki-rs + +> Baca, cari, dan unduh artikel dari situs ArchWiki. +> Informasi lebih lanjut: . + +- Baca suatu artikel dari situs ArchWiki: + +`archwiki-rs read-page {{judul_artikel}}` + +- Baca suatu artikel dari ArchWiki dengan format tertentu: + +`archwiki-rs read-page {{judul_artikel}} --format {{plain-text|markdown|html}}` + +- Cari artikel dalam ArchWiki yang mengandung teks tertentu: + +`archwiki-rs search "{{teks_yang_dicari}}" --text-search` + +- Unduh seluruh artikel dari situs ArchWiki ke dalam suatu direktori: + +`archwiki-rs local-wiki {{/jalan/menuju/wiki_lokal}} --format {{plain-text|markdown|html}}` diff --git a/pages.id/common/arduino-builder.md b/pages.id/common/arduino-builder.md new file mode 100644 index 00000000000000..a95d813f0c0f5d --- /dev/null +++ b/pages.id/common/arduino-builder.md @@ -0,0 +1,25 @@ +# arduino-builder + +> Bangun program dari kode sumber piranti lunak (sketsa) Arduino. +> PERINGATAN DEPREKASI: Alat ini sedang dihapus demi penggunaan perintah `arduino` yang baru. +> Informasi lebih lanjut: . + +- Bangun program dari suatu berkas (sketsa) kode sumber piranti lunak: + +`arduino-builder -compile {{jalan/menuju/sketsa.ino}}` + +- Tentukan tingkat penampilan informasi awakutu (nilai bawaan: 5): + +`arduino-builder -debug-level {{1..10}}` + +- Tentukan direktori untuk menampung hasil pembangunan: + +`arduino-builder -build-path {{jalan/menuju/direktori_hasil_pembangunan}}` + +- Gunakan konfigurasi yang didefinisikan di dalam suatu berkas, daripada mendefinisikan parameter perintah seperti `-hardware` dan `-tools` berulang kali: + +`arduino-builder -build-options-file {{jalan/menuju/build.options.json}}` + +- Gunakan mode verbose, tampilkan proses pembangunan secara rinci: + +`arduino-builder -verbose {{true}}` diff --git a/pages.id/common/arduino.md b/pages.id/common/arduino.md new file mode 100644 index 00000000000000..98956b64d2910c --- /dev/null +++ b/pages.id/common/arduino.md @@ -0,0 +1,36 @@ +# arduino + +> Arduino Studio - Sebuah alat pengembangan piranti lunak (IDE) bagi platform Arduino. +> Informasi lebih lanjut: . + +- Bangun piranti lunak dari suatu berkas (sketsa) kode sumber: + +`arduino --verify {{jalan/menuju/berkas.ino}}` + +- Bangun dan pasang piranti lunak menuju perangkat Arduino: + +`arduino --upload {{jalan/menuju/berkas.ino}}` + +- Bangun dan pasang piranti lunak menuju suatu perangkat Arduino Nano dengan prosesor Atmega328p yang terhubung dalam port `/dev/ttyACM0`: + +`arduino --board {{arduino:avr:nano:cpu=atmega328p}} --port {{/dev/ttyACM0}} --upload {{jalan/menuju/berkas.ino}}` + +- Atur `nilai` untuk suatu jenis preferensi/konfigurasi berdasarkan `nama` atau kata kunci: + +`arduino --pref {{nama}}={{nilai}}` + +- Bangun piranti lunak, kemudian simpan menuju suatu direktori hasil pembangunan, dan gunakan kembali hasil-hasil sebelumnya di dalam direktori tersebut: + +`arduino --pref build.path={{jalan/menuju/direktori_hasil_pembangunan}} --verify {{jalan/menuju/bekas.ino}}` + +- Simpan segala perubahan pada preferensi/konfigurasi menuju berkas `preferences.txt`: + +`arduino --save-prefs` + +- Pasang piranti pendukung pengembangan untuk perangkat Arduino berbasis SAM (seperti Arduino Due): + +`arduino --install-boards "{{arduino:sam}}"` + +- Pasang pustaka piranti lunak (library) untuk Bridge dan Servo: + +`arduino --install-library "{{Bridge:1.0.0,Servo:1.2.0}}"` diff --git a/pages.id/common/argocd-app.md b/pages.id/common/argocd-app.md new file mode 100644 index 00000000000000..65288f4afbfe2b --- /dev/null +++ b/pages.id/common/argocd-app.md @@ -0,0 +1,36 @@ +# argocd app + +> Program baris perintah untuk mengatur aplikasi bersama Argo CD. +> Informasi lebih lanjut: . + +- Dapatkan daftar aplikasi yang diatur bersama Argo CD: + +`argocd app list --output {{json|yaml|wide}}` + +- Lihat informasi mengenai suatu aplikasi: + +`argocd app get {{nama_aplikasi}} --output {{json|yaml|wide}}` + +- Sebarkan (deploy) aplikasi secara internal (ke dalam klaster yang sama dengan yang dijalankan Argo CD): + +`argocd app create {{nama_aplikasi}} --repo {{alamat_url_repositori_dalam_git}} --path {{jalan/menuju/repo}} --dest-server https://kubernetes.default.svc --dest-namespace {{ns}}` + +- Hapus suatu aplikasi: + +`argocd app delete {{nama_aplikasi}}` + +- Aktifkan fitur sinkronisasi otomatis dalam suatu aplikasi: + +`argocd app set {{nama_aplikasi}} --sync-policy auto --auto-prune --self-heal` + +- Pratinjau hasil proses sinkronisasi aplikasi tanpa berdampak kepada klaster yang berjalan (dry-run): + +`argocd app sync {{nama_aplikasi}} --dry-run --prune` + +- Tampilkan riwayat penyebaran (deployment) aplikasi: + +`argocd app history {{nama_aplikasi}} --output {{wide|id}}` + +- Batalkan penyebaran dengan memuat (rollback) versi hasil sebaran sebelumnya (dan menghapus sumber daya baru yang tak diduga), berdasarkan nomor induk (ID) riwayat: + +`argocd app rollback {{nama_aplikasi}} {{id_riwayat}} --prune` diff --git a/pages.id/common/argocd.md b/pages.id/common/argocd.md new file mode 100644 index 00000000000000..0381488c16f8c8 --- /dev/null +++ b/pages.id/common/argocd.md @@ -0,0 +1,13 @@ +# argocd + +> Program baris perintah untuk mengatur suatu peladen (server) Argo CD. +> Beberapa subperintah seperti `argocd app` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . + +- Masuk (login) ke dalam suatu peladen Argo CD: + +`argocd login --insecure --username {{nama_pengguna}} --password {{kata_sandi}} {{peladen_argocd:port}}` + +- Dapatkan daftar aplikasi: + +`argocd app list` diff --git a/pages.id/common/argon2.md b/pages.id/common/argon2.md new file mode 100644 index 00000000000000..6fd6109565b671 --- /dev/null +++ b/pages.id/common/argon2.md @@ -0,0 +1,20 @@ +# argon2 + +> Hitung kode hash menggunakan algoritma kriptografi Argon2. +> Informasi lebih lanjut: . + +- Hitung kode hash dari suatu kata kunci (password) dengan suatu kata garam (salt) menggunakan parameter kriptografi bawaan: + +`echo "{{kata_sandi}}" | argon2 "{{kata_garam}}"` + +- Hitung kode hash dengan algoritma tertentu: + +`echo "{{kata_sandi}}" | argon2 "{{kata_garam}}" -{{d|i|id}}` + +- Jangan tampilkan informasi tambahan selain hasil kode hash: + +`echo "{{kata_sandi}}" | argon2 "{{kata_garam}}" -e` + +- Hitung kode hash dengan konfigurasi wak[t]u, pemanfaatan [m]emori (RAM), dan [p]aralelisme pada pemrosesan kriptografi secara tertentu: + +`echo "{{kata_sandi}}" | argon2 "{{kata_garam}}" -t {{5}} -m {{20}} -p {{7}}` diff --git a/pages.id/common/aria2.md b/pages.id/common/aria2.md new file mode 100644 index 00000000000000..d5c9d902f388e1 --- /dev/null +++ b/pages.id/common/aria2.md @@ -0,0 +1,7 @@ +# aria2 + +> Perintah ini merupakan alias dari `aria2c`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr aria2c` diff --git a/pages.id/common/aria2c.md b/pages.id/common/aria2c.md new file mode 100644 index 00000000000000..9b0a7f8a295149 --- /dev/null +++ b/pages.id/common/aria2c.md @@ -0,0 +1,37 @@ +# aria2c + +> Utilitas unduhan cepat. +> Mendukung HTTP(S), FTP, SFTP, BitTorrent, dan Metalink. +> Informasi lebih lanjut: . + +- Unduh URI ke suatu berkas: + +`aria2c "{{url}}"` + +- Unduh berkas yang ditunjuk oleh URI yang ditentukan dengan nama keluaran yang ditentukan: + +`aria2c --out {{jalan/menuju/berkas}} "{{url}}"` + +- Unduh beberapa berkas (berbeda) secara paralel: + +`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"` + +- Unduh berkas yang sama dari kumpulan sumber mirror dan lakukan verifikasi atas berkas yang diunduh: + +`aria2c --checksum {{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"` + +- Unduh URI yang tercantum dalam suatu berkas dengan unduhan paralel terbatas: + +`aria2c --input-file {{jalan/menuju/berkas}} --max-concurrent-downloads {{jumlah_unduhan}}` + +- Unduh dengan berbagai koneksi: + +`aria2c --split {{jumlah_koneksi}} "{{url}}"` + +- Unduh berkas dari peladen FTP dengan username pengguna dan kata sandi: + +`aria2c --ftp-user {{username}} --ftp-passwd {{kata_sandi}} "{{url}}"` + +- Batasi kecepatan unduh dalam bytes/detik: + +`aria2c --max-download-limit {{kecepatan}} "{{url}}"` diff --git a/pages.id/common/arp-scan.md b/pages.id/common/arp-scan.md new file mode 100644 index 00000000000000..3627d0e56a9773 --- /dev/null +++ b/pages.id/common/arp-scan.md @@ -0,0 +1,20 @@ +# arp-scan + +> Kirim paket ARP menuju kumpulan alamat IP atau host untuk memindai suatu jaringan komputer lokal. +> Informasi lebih lanjut: . + +- Pindai jaringan lokal yang terhubung saat ini: + +`arp-scan --localnet` + +- Pindai suatu alamat IP dengan pengaturan bitmask khusus: + +`arp-scan {{192.168.1.1}}/{{24}}` + +- Pindai suatu jaringan IP menggunakan rentang alamat tertentu: + +`arp-scan {{172.0.0.0}}-{{127.0.0.31}}` + +- Pindai suatu jaringan IP menggunakan net mask khusus: + +`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages.id/common/arp.md b/pages.id/common/arp.md new file mode 100644 index 00000000000000..9906900e3ce560 --- /dev/null +++ b/pages.id/common/arp.md @@ -0,0 +1,16 @@ +# arp + +> Tampilkan dan manipulasi cache informasi ARP pada sistem operasi Anda. +> Informasi lebih lanjut: . + +- Tampilkan informasi tabel ARP yang dikenali sistem operasi Anda saat ini: + +`arp -a` + +- Hapus suatu entri dari tabel ARP sistem: + +`arp -d {{alamat}}` + +- Ma[s]ukkan suatu entri baru ke dalam tabel ARP sistem: + +`arp -s {{alamat_ip}} {{alamat_mac}}` diff --git a/pages.id/common/arping.md b/pages.id/common/arping.md new file mode 100644 index 00000000000000..e1f7a2f6b00f48 --- /dev/null +++ b/pages.id/common/arping.md @@ -0,0 +1,29 @@ +# arping + +> Cari dan selidiki para host jaringan melalui protokol ARP. +> Bermanfaat untuk mencari alamat MAC dalam jaringan. +> Informasi lebih lanjut: . + +- Ping suatu host dengan megirimkan paket permintaan ARP: + +`arping {{alamat_ip_host}}` + +- Ping suatu host melalui antarmuka jaringan tertentu (contoh: `eth0`): + +`arping -I {{antarmuka_jaringan}} {{alamat_ip_host}}` + +- Ping suatu host dan hentikan jika sang host mulai membalasnya: + +`arping -f {{alamat_ip_host}}` + +- Ping suatu host untuk jumlah kesempatan tertentu: + +`arping -c {{jumlah_kesempatan}} {{alamat_ip_host}}` + +- Sebarluaskan paket permintaan ARP kepada host apapun untuk membantu memutakhirkan informasi ARP dalam host tetangga: + +`arping -U {{alamat_ip_untuk_disebarluaskan}}` + +- [D]eteksi adanya alamat IP duplikat dalam jaringan ini dengan mengirimkan permintaan ARP dengan jangka waktu habis (timeout) sebanyak 3 detik: + +`arping -D -w {{3}} {{alamat_ip_untuk_diperiksa}}` diff --git a/pages.id/common/asar.md b/pages.id/common/asar.md index c2a7e06402624c..d6614596f7a30b 100644 --- a/pages.id/common/asar.md +++ b/pages.id/common/asar.md @@ -5,16 +5,16 @@ - Arsipkan sebuah berkas atau direktori: -`asar pack {{alamat/ke/berkas_atau_direktori}} {{arsip.asar}}` +`asar pack {{jalan/menuju/berkas_atau_direktori}} {{arsip.asar}}` -- Mengekstrak sebuah arsip: +- Bongkar isi suatu arsip: `asar extract {{arsip.asar}}` -- Mengekstrak berkas tertentu dari sebuah arsip: +- Bongkar isi berkas tertentu dari suatu arsip: -`asar extract-file {{arsip.asar}} {berkas}}` +`asar extract-file {{arsip.asar}} {{berkas}}` -- Mendapatkan daftar konten dari berkas arsip: +- Tampilkan daftar isi dari suatu berkas arsip: `asar list {{arsip.asar}}` diff --git a/pages.id/common/asciidoctor.md b/pages.id/common/asciidoctor.md new file mode 100644 index 00000000000000..dff72756dd32b3 --- /dev/null +++ b/pages.id/common/asciidoctor.md @@ -0,0 +1,20 @@ +# asciidoctor + +> Ubah isi berkas AsciiDoc ke dalam format berkas layak publikasi. +> Informasi lebih lanjut: . + +- Ubah suatu berkas `.adoc` ke dalam format HTML (format berkas luaran secara default): + +`asciidoctor {{jalan/menuju/berkas.adoc}}` + +- Ubah suatu berkas `.adoc` ke dalam format HTML dengan menggunakan suatu berkas definisi penggayaan (stylesheet) CSS: + +`asciidoctor -a stylesheet {{jalan/menuju/stylesheet.css}} {{jalan/menuju/berkas.adoc}}` + +- Ubah suatu berkas `.adoc` menuju format HTML layak semat (embeddable), hanya bangunkan isi tag body HTML: + +`asciidoctor --embedded {{jalan/menuju/berkas.adoc}}` + +- Ubah suatu berkas `.adoc` menuju PDF melalui pustaka pendukung `asciidoctor-pdf`: + +`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{jalan/menuju/berkas.adoc}}` diff --git a/pages.id/common/asciinema.md b/pages.id/common/asciinema.md new file mode 100644 index 00000000000000..a00d25fcab2a37 --- /dev/null +++ b/pages.id/common/asciinema.md @@ -0,0 +1,37 @@ +# asciinema + +> Rekam dan putar ulang sesi terminal, dan secara opsional membagikannya di . +> Lihat juga: `terminalizer`. +> Informasi lebih lanjut: . + +- Masuk dengan suatu akun asciinema.org: + +`asciinema auth` + +- Buat rekaman baru (hentikan dengan `` atau ketik `exit`, kemudian pilih lokasi penyimpanan baik dengan mengunggah atau menyimpannya secara lokal): + +`asciinema rec` + +- Buat rekaman baru kemudian simpan ke dalam suatu berkas lokal: + +`asciinema rec {{jalan/menuju/rekaman.cast}}` + +- Putar ulang rekaman sesi terminal dari suatu berkas lokal: + +`asciinema play {{jalan/menuju/rekaman.cast}}` + +- Putar ulang suatu rekaman sesi terminal yang dipublikasikan di : + +`asciinema play https://asciinema.org/a/{{id_rekaman}}` + +- Buat rekaman baru, dengan membatasi waktu diam/idle terlama selama 2.5 detik: + +`asciinema rec {{[-i|--idle-time-limit]}} 2.5` + +- Tampilkan seluruh luaran/output terminal yang dikeluarkan selama sesi perekaman: + +`asciinema cat {{jalan/menuju/rekaman.cast}}` + +- Unggah suatu berkas hasil rekaman lokal menuju asciinema.org: + +`asciinema upload {{jalan/menuju/rekaman.cast}}` diff --git a/pages.id/common/asciitopgm.md b/pages.id/common/asciitopgm.md new file mode 100644 index 00000000000000..1b00ddb0d4f21c --- /dev/null +++ b/pages.id/common/asciitopgm.md @@ -0,0 +1,12 @@ +# asciitopgm + +> Ubah format gambar ASCII menuju suatu berkas PGM. +> Informasi lebih lanjut: . + +- Baca data ASCII sebagai input dan hasilkan gambar PGM dengan nilai piksel yang merupakan perkiraan "kecerahan" karakter ASCII: + +`asciitopgm {{jalan/menuju/input}} > {{jalan/menuju/output.pgm}}` + +- Tampilkan informasi versi: + +`asciitopgm -version` diff --git a/pages.id/common/asdf.md b/pages.id/common/asdf.md new file mode 100644 index 00000000000000..b3dfb65a181e22 --- /dev/null +++ b/pages.id/common/asdf.md @@ -0,0 +1,28 @@ +# asdf + +> Alat baris perintah untuk mengatur versi paket piranti lunak yang berbeda-beda. +> Informasi lebih lanjut: . + +- Tampilkan seluruh plugin yang tersedia untuk dipasang: + +`asdf plugin list all` + +- Pasang suatu plugin: + +`asdf plugin add {{nama}}` + +- Tampilkan seluruh versi yang tersedia terhadap suatu paket: + +`asdf list all {{nama}}` + +- Pasang suatu paket dengan versi tertentu: + +`asdf install {{nama}} {{versi}}` + +- Setel versi bawaan/default paket piranti lunak yang akan digunakan secara global (seluruh pengguna): + +`asdf set -u {{nama}} {{versi}}` + +- Setel versi bawaan/default paket piranti lunak yang akan digunakan secara lokal (pengguna saat ini): + +`asdf set {{nama}} {{versi}}` diff --git a/pages.id/common/aspell.md b/pages.id/common/aspell.md new file mode 100644 index 00000000000000..d76303868d5f72 --- /dev/null +++ b/pages.id/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> Mesin pengecek ejaan secara interaktif. +> Informasi lebih lanjut: . + +- Lakukan pengecekan ejaan terhadap suatu berkas: + +`aspell check {{jalan/menuju/berkas}}` + +- Tampilkan daftar kata dalam `stdin` yang dicurigai memiliki kesalahan ejaan: + +`cat {{jalan/menuju/berkas}} | aspell list` + +- Tampilkan daftar kamus dan bahasa yang didukung: + +`aspell dicts` + +- Jalankan `aspell` dengan bahasa teks yang berbeda (menggunakan format kode bahasa ISO 639): + +`aspell --lang={{cs}}` + +- Tampilkan daftar kata dalam `stdin` yang dicurigai memiliki kesalahan ejaan dan abaikan kata yang berasal dari daftar kata pribadi (personal word list): + +`cat {{jalan/menuju/berkas}} | aspell --personal={{daftar-kata-pribadi.pws}} list` diff --git a/pages.id/common/assimp.md b/pages.id/common/assimp.md new file mode 100644 index 00000000000000..ae4ed95422652e --- /dev/null +++ b/pages.id/common/assimp.md @@ -0,0 +1,33 @@ +# assimp + +> Klien baris perintah untuk pustaka Open Asset Import Library. +> Mendukung pemuatan 40+ format file 3D, dan mengekspor ke beberapa format 3D populer. +> Informasi lebih lanjut: . + +- Tampilkan daftar format berkas impor yang didukung: + +`assimp listext` + +- Tampilkan daftar format berkas ekspor yang didukung: + +`assimp listexport` + +- Ubah isi suatu berkas menuju salah satu dari format berkas ekspor/luaran yang didukung, menggunakan daftar parameter bawaan: + +`assimp export {{berkas_masukan.stl}} {{berkas_luaran.obj}}` + +- Ubah isi suatu berkas menggunakan kumpulan parameter kustom (daftar parameter yang tersedia dapat dilihat pada berkas dox_cmd.h pada kode sumber assimp): + +`assimp export {{berkas_masukan.stl}} {{berkas_luaran.obj}} {{kumpulan_parameter}}` + +- Tampilkan ringkasan isi suatu berkas objek 3D: + +`assimp info {{jalan/menuju/berkas}}` + +- Tampilkan bantuan: + +`assimp help` + +- Tampilkan bantuan atas suatu subperintah: + +`assimp {{subperintah}} --help` diff --git a/pages.id/common/astronomer.md b/pages.id/common/astronomer.md new file mode 100644 index 00000000000000..3ae3d40aeec19c --- /dev/null +++ b/pages.id/common/astronomer.md @@ -0,0 +1,16 @@ +# astronomer + +> Periksa kumpulan bintang/star (penandaan repositori sebagai bagian dari favorit) yang dipalsukan dari akun-akun bot pada proyek-proyek GitHub. +> Informasi lebih lanjut: . + +- Pindai suatu repositori: + +`astronomer {{tldr-pages/tldr-node-client}}` + +- Atur jumlah bintang/star terbanyak dalam suatu repositori untuk diperiksa: + +`astronomer {{tldr-pages/tldr-node-client}} --stars {{50}}` + +- Pindai suatu repositori termasuk laporan-laporan perbandingan dalam proses analisis: + +`astronomer {{tldr-pages/tldr-node-client}} --verbose` diff --git a/pages.id/common/at.md b/pages.id/common/at.md new file mode 100644 index 00000000000000..24271649c0fd1f --- /dev/null +++ b/pages.id/common/at.md @@ -0,0 +1,25 @@ +# at + +> Jalankan kumpulan perintah pada lain waktu. +> Hasil penugasan perintah akan dikirimkan menuju surel pengguna. +> Informasi lebih lanjut: . + +- Jalankan piranti daemon `atd`: + +`systemctl start atd` + +- Buat perintah secara interaktif untuk dijalankan dalam 5 menit ke depan (gunakan `` jika selesai menulis): + +`at now + 5 minutes` + +- Buat perintah secara interaktif dan jalankan pada waktu tertentu: + +`at {{hh:mm}}` + +- Jalankan perintah yang dimasukkan ke dalam `stdin` pada hari ini pukul 10.00 pagi: + +`echo "{{command}}" | at 1000` + +- Jalankan perintah yang diatur dalam suatu berkas pada hari Selasa berikutnya: + +`at -f {{jalan/menuju/berkas}} 9:30 PM Tue` diff --git a/pages.id/common/atktopbm.md b/pages.id/common/atktopbm.md new file mode 100644 index 00000000000000..53a425601154c2 --- /dev/null +++ b/pages.id/common/atktopbm.md @@ -0,0 +1,9 @@ +# atktopbm + +> Ubah suatu objek raster Andrew Toolkit menjadi suatu gambar PBM. +> Lihat juga: `pbmtoatk`. +> Informasi lebih lanjut: . + +- Ubah suatu objek raster Andrew Toolkit menjadi suatu gambar PBM: + +`atktopbm {{jalan/menuju/gambar.atk}} > {{jalan/menuju/output.pbm}}` diff --git a/pages.id/common/atom.md b/pages.id/common/atom.md new file mode 100644 index 00000000000000..fc2a8162ab6cb8 --- /dev/null +++ b/pages.id/common/atom.md @@ -0,0 +1,30 @@ +# atom + +> Editor teks yang dapat dipasang lintas platform. +> Plugin dikelola oleh `apm`. +> Catatan: Dukungan aplikasi Atom telah ditutup dan tidak lagi dikelola secara aktif. +> Informasi lebih lanjut: . + +- Buka suatu berkas atau direktori: + +`atom {{jalan/menuju/berkas_atau_direktori}}` + +- Buka berkas atau direktori dalam jendela baru: + +`atom -n {{jalan/menuju/berkas_atau_direktori}}` + +- Buka berkas atau direktori di jendela yang sudah ada: + +`atom --add {{jalan/menuju/berkas_atau_direktori}}` + +- Buka Atom dalam mode aman (tidak memuat paket plugin tambahan apa pun): + +`atom --safe` + +- Jalankan Atom sebagai subproses pada sesi terminal saat ini, jangan memuat Atom sebagai proses latar belakang: + +`atom --foreground` + +- Tunggu jendela Atom untuk ditutup sebelum kembali ke sesi terminal saat ini (berguna untuk editor komit Git): + +`atom --wait` diff --git a/pages.id/common/autojump.md b/pages.id/common/autojump.md new file mode 100644 index 00000000000000..e8d460517fd85d --- /dev/null +++ b/pages.id/common/autojump.md @@ -0,0 +1,25 @@ +# autojump + +> Lompat dengan cepat menuju direktori-direktori yang paling sering anda kunjungi. +> Alias seperti `j` atau `jc` sudah disediakan untuk mengurangi pengetikan. +> Informasi lebih lanjut: . + +- Lompat menuju direktori yang mengandung pola yang diberikan: + +`j {{pola}}` + +- Lompat menuju sub-direktori (anak) dari direktori saat ini yang mengandung pola yang diberikan: + +`jc {{pola}}` + +- Buka direktori yang mengandung pola yang diberikan dalam aplikasi manajemen berkas sistem operasi: + +`jo {{pola}}` + +- Buang direktori-direktori dalam pangkalan data (database) `autojump` yang telah sebelumnya dihapus: + +`j --purge` + +- Tampilkan entri yang ada dalam pangkalan data `autojump`: + +`j {{[-s|--stat]}}` diff --git a/pages.id/common/aws-accessanalyzer.md b/pages.id/common/aws-accessanalyzer.md new file mode 100644 index 00000000000000..f820b85c623bb0 --- /dev/null +++ b/pages.id/common/aws-accessanalyzer.md @@ -0,0 +1,36 @@ +# aws accessanalyzer + +> Analisa dan tinjau ulang kebijakan penggunaan sumber daya untuk melihat potensi risiko keamanan. +> Informasi lebih lanjut: . + +- Buat suatu instansi Access Analyzer: + +`aws accessanalyzer create-analyzer --analyzer-name {{nama_analyzer}} --type {{tipe_analisis}} --tags {{daftar_tag}}` + +- Hapus suatu instansi Access Analyzer: + +`aws accessanalyzer delete-analyzer --analyzer-arn {{arn_analyzer}}` + +- Tampilkan rincian tentang suatu instansi Access Analyzer: + +`aws accessanalyzer get-analyzer --analyzer-arn {{arn_analyzer}}` + +- Tampilkan daftar seluruh instansi Access Analyzers: + +`aws accessanalyzer list-analyzers` + +- Mutakhirkan suatu aturan terhadap instansi Access Analyzer: + +`aws accessanalyzer update-analyzer --analyzer-arn {{arn_analyzer}} --tags {{daftar_tag_baru}}` + +- Buat sebuah aturan bagi proses pengarsipan terhadap instansi Access Analyzer: + +`aws accessanalyzer create-archive-rule --analyzer-arn {{arn_analyzer}} --rule-name {{nama_aturan}} --filter {{filter}}` + +- Hapus suatu aturan pengarsipan bagi instansi Access Analyzer: + +`aws accessanalyzer delete-archive-rule --analyzer-arn {{arn_analyzer}} --rule-name {{nama_aturan}}` + +- Tampilkan daftar seluruh aturan pengarsipan yang berlaku bagi suatu instansi Access Analyzer: + +`aws accessanalyzer list-archive-rules --analyzer-arn {{arn_analyzer}}` diff --git a/pages.id/common/aws-acm.md b/pages.id/common/aws-acm.md new file mode 100644 index 00000000000000..6c773df507d89e --- /dev/null +++ b/pages.id/common/aws-acm.md @@ -0,0 +1,36 @@ +# aws acm + +> AWS Certificate Manager, manajer sertifikat digital untuk AWS. +> Informasi lebih lanjut: . + +- Impor suatu sertifikat: + +`aws acm import-certificate --certificate-arn {{arn_sertifikat}} --certificate {{sertifikat}} --private-key {{kunci_privat}} --certificate-chain {{rantai_sertifikat}}` + +- Tampilkan daftar sertifikat: + +`aws acm list-certificates` + +- Tampilkan deskripsi suatu sertifikat: + +`aws acm describe-certificate --certificate-arn {{arn_sertifikat}}` + +- Minta sertifikat baru bagi suatu domain: + +`aws acm request-certificate --domain-name {{nama_domain}} --validation-method {{metode_validasi}}` + +- Hapus suatu sertifikat: + +`aws acm delete-certificate --certificate-arn {{arn_sertifikat}}` + +- Tampilkan daftar status pengajuan validasi sertifikat: + +`aws acm list-certificates --certificate-statuses {{status}}` + +- Dapatkan informasi rincian suatu sertifikat: + +`aws acm get-certificate --certificate-arn {{arn_sertifikat}}` + +- Mutakhirkan pengaturan terhadap suatu sertifikat: + +`aws acm update-certificate-options --certificate-arn {{arn_sertifikat}} --options {{pengaturan}}` diff --git a/pages.id/common/aws-backup.md b/pages.id/common/aws-backup.md new file mode 100644 index 00000000000000..5161e6059b8bf7 --- /dev/null +++ b/pages.id/common/aws-backup.md @@ -0,0 +1,24 @@ +# aws backup + +> Layanan pencadangan untuk melindungi kumpulan layanan dan data terkait dalam Amazon Web Services. +> Informasi lebih lanjut: . + +- Tampilkan rincian BackupPlan (rencana pemulihan layanan yang dicadangkan) berdasarkan nomor induknya: + +`aws backup get-backup-plan --backup-plan-id {{nomor_induk}}` + +- Buat suatu BackupPlan dengan nama dan aturan tertentu: + +`aws backup create-backup-plan --backup-plan {{rencana_pencadangan}}` + +- Hapus suatu BackupPlan berdasarkan nomor induknya: + +`aws backup delete-backup-plan --backup-plan-id {{nomor_induk}}` + +- Tampilkan seluruh BackupPlan yang aktif dalam akun saat ini: + +`aws backup list-backup-plans` + +- Tampilkan rincian atas laporan pekerjaan pencadangan Anda: + +`aws backup list-report-jobs` diff --git a/pages.id/common/aws-codecommit.md b/pages.id/common/aws-codecommit.md new file mode 100644 index 00000000000000..0474c62963b3a9 --- /dev/null +++ b/pages.id/common/aws-codecommit.md @@ -0,0 +1,12 @@ +# aws codecommit + +> Layanan kontrol sumber terkelola yang menghosting repositori Git pribadi. +> Informasi lebih lanjut: . + +- Tampilkan bantuan umum: + +`aws codecommit help` + +- Tampilkan bantuan bagi suatu perintah: + +`aws codecommit {{perintah}} help` diff --git a/pages.id/common/aws-configure.md b/pages.id/common/aws-configure.md new file mode 100644 index 00000000000000..8000bd1072fa22 --- /dev/null +++ b/pages.id/common/aws-configure.md @@ -0,0 +1,36 @@ +# aws configure + +> Atur konfigurasi penggunaan AWS CLI. +> Informasi lebih lanjut: . + +- Atur konfigurasi AWS CLI secara interaktif (akan membuat konfigurasi baru atau memutakhirkan konfigurasi bawaan): + +`aws configure` + +- Atur konfigurasi bagi suatu profil pengguna AWS CLI (akan membuat profil pengguna baru atau memutakhirkannya): + +`aws configure --profile {{nama_profil}}` + +- Tampilkan nilai terhadap suatu variabel konfigurasi: + +`aws configure get {{nama_variabel}}` + +- Tampilkan nilai terhadap suatu variabel konfigurasi pada suatu profil pengguna: + +`aws configure get {{nama_variabel}} --profile {{nama_profil}}` + +- Atur nilai suatu variabel konfigurasi: + +`aws configure set {{nama_variabel}} {{nilai}}` + +- Atur nilai suatu variabel konfigurasi bagi suatu profil pengguna: + +`aws configure set {{nama_variabel}} {{nilai}} --profile {{nama_profil}}` + +- Tampilkan seluruh konfigurasi yang disimpan: + +`aws configure list` + +- Tampilkan seluruh konfigurasi yang disimpan bagi suatu profil pengguna: + +`aws configure list --profile {{nama_profil}}` diff --git a/pages.id/common/aws-google-auth.md b/pages.id/common/aws-google-auth.md new file mode 100644 index 00000000000000..16ba247eb6eb83 --- /dev/null +++ b/pages.id/common/aws-google-auth.md @@ -0,0 +1,20 @@ +# aws-google-auth + +> Dapatkan kredensial sementara (STS) bagi AWS menggunakan Google Apps sebagai penyedia akun layanan terfederasi (Single Sign-On). +> Informasi lebih lanjut: . + +- Masuk menggunakan akun SSO Google dengan data pengenal [u]sername, [I]DP, dan [S]P, kemudian atur [d]urasi akses kredensial sementara selama satu jam ke depan: + +`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}` + +- Masuk dengan men[a]nyakan peran (role) yang hendak digunakan dalam membuat kredensial (bila terdapat beberapa peran SAML yang tersedia): + +`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a` + +- Selesaikan kumpulan alias bagi akun AWS: + +`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases` + +- Tampilkan bantuan: + +`aws-google-auth -h` diff --git a/pages.id/common/aws-history.md b/pages.id/common/aws-history.md new file mode 100644 index 00000000000000..c8d28989609c9e --- /dev/null +++ b/pages.id/common/aws-history.md @@ -0,0 +1,12 @@ +# aws history + +> Tampilkan riwayat pemanggilan perintah dalam AWS CLI (fitur perekaman riwayat perintah AWS CLI harus diaktifkan terlebih dahulu). +> Informasi lebih lanjut: . + +- Tampilkan daftar riwayat perintah yang dipanggil melalui AWS CLI beserta nomor induknya (command ID): + +`aws history list` + +- Tampilkan daftar kejadian yang berkaitan dengan suatu perintah berdasarkan nomor induknya (command ID): + +`aws history show {{command_id}}` diff --git a/pages.id/common/aws-lambda.md b/pages.id/common/aws-lambda.md new file mode 100644 index 00000000000000..dbef613b484aeb --- /dev/null +++ b/pages.id/common/aws-lambda.md @@ -0,0 +1,32 @@ +# aws lambda + +> Gunakan AWS Lambda, suatu layanan komputasi untuk menjalankan kode perintah tanpa membuat atau mengatur infrastruktur peladen. +> Informasi lebih lanjut: . + +- Jalankan suatu function: + +`aws lambda invoke --function-name {{nama}} {{jalan/menuju/respons.json}}` + +- Jalankan suatu function dengan payload masukan (input) dalam format JSON: + +`aws lambda invoke --function-name {{nama}} --payload {{json}} {{jalan/menuju/respons.json}}` + +- Tampilkan daftar function yang tersedia: + +`aws lambda list-functions` + +- Tampilkan informasi konfigurasi mengenai suatu function: + +`aws lambda get-function-configuration --function-name {{nama}}` + +- Tampilkan daftar alias yang didaftarkan terhadap suatu function: + +`aws lambda list-aliases --function-name {{nama}}` + +- Tampilkan informasi konfigurasi konkurensi yang dicadangkan (reserved concurrency) terhadap suatu function: + +`aws lambda get-function-concurrency --function-name {{nama}}` + +- Tampilkan daftar layanan AWS yang berhak memanggil suatu function: + +`aws lambda get-policy --function-name {{nama}}` diff --git a/pages.id/common/aws-s3.md b/pages.id/common/aws-s3.md new file mode 100644 index 00000000000000..7937db54ff6314 --- /dev/null +++ b/pages.id/common/aws-s3.md @@ -0,0 +1,29 @@ +# aws s3 + +> Alat baris perintah (CLI) untuk AWS S3 - jasa penyimpanan berkas bagi layanan web. +> Beberapa subperintah seperti `cp` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . + +- Tampilkan daftar seluruh berkas dalam suatu bucket: + +`aws s3 ls {{nama_bucket}}` + +- Lakukan sinkronisasi isi berkas dan direktori dari sumber penyimpanan lokal menuju suatu bucket: + +`aws s3 sync {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}} s3://{{nama_bucket}}` + +- Lakukan sinkronisasi isi berkas dan direktori dari suatu bucket menuju sumber penyimpanan lokal: + +`aws s3 sync s3://{{nama_bucket}} {{jalan/menuju/tujuan}}` + +- Lakukan sinkronisasi dengan pengecualian: + +`aws s3 sync {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}} s3://{{bucket_name}} --exclude {{jalan/menuju/berkas}} --exclude {{jalan/menuju/direktori}}/*` + +- Hapus suatu berkas dari suatu bucket: + +`aws s3 rm s3://{{bucket}}/{{jalan/menuju/berkas}}` + +- Hanya tampilkan daftar berkas yang dirubah tanpa melakukan perubahan tersebut (mode dry-run): + +`aws s3 {{perintah}} --dryrun` diff --git a/pages.id/common/aws-sts.md b/pages.id/common/aws-sts.md new file mode 100644 index 00000000000000..63ba86e0ae8fa7 --- /dev/null +++ b/pages.id/common/aws-sts.md @@ -0,0 +1,12 @@ +# aws sts + +> Security Token Service (STS), layanan manajemen token keamanan untuk meminta akses akun sementara bagi pengguna (IAM) atau pengguna dari federasi. +> Informasi lebih lanjut: . + +- Dapatkan kredensial keamanan sementara untuk mengakses sumber daya AWS tertentu: + +`aws sts assume-role --role-arn {{aws_role_arn}}` + +- Dapatkan nama pengguna IAM atau peran (role) pengguna yang terikat kepada kredensial untuk melakukan operasi pengaturan layanan AWS: + +`aws sts get-caller-identity` diff --git a/pages.id/common/aws.md b/pages.id/common/aws.md new file mode 100644 index 00000000000000..7d2390ac46af14 --- /dev/null +++ b/pages.id/common/aws.md @@ -0,0 +1,37 @@ +# aws + +> Alat baris perintah (CLI) resmi untuk Amazon Web Services. +> Beberapa subperintah seperti `s3` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . + +- Atur penggunaan AWS Command-line secara umum: + +`aws configure wizard` + +- Atur penggunaan AWS Command-line menggunakan SSO: + +`aws configure sso` + +- Dapatkan identitas pemanggil perintah (digunakan untuk menyelesaikan permasalahan yang berkaitan dengan hak akses): + +`aws sts get-caller-identity` + +- Tampilkan daftar sumber daya AWS dalam suatu wilayah (region) ke dalam format YAML: + +`aws dynamodb list-tables --region {{us-east-1}} --output yaml` + +- Gunakan fitur auto prompt untuk membantu melakukan suatu perintah: + +`aws iam create-user --cli-auto-prompt` + +- Jalankan perintah wizard terhadap suatu sumber daya AWS: + +`aws dynamodb wizard {{new_table}}` + +- Buat suatu berkas JSON CLI Skeleton (berguna untuk mengatur infrastruktur sebagai perintah kode): + +`aws dynamodb update-table --generate-cli-skeleton` + +- Tampilkan bantuan terhadap suatu perintah: + +`aws {{perintah}} help` diff --git a/pages.id/common/badblocks.md b/pages.id/common/badblocks.md new file mode 100644 index 00000000000000..d4fda1f6d24ddd --- /dev/null +++ b/pages.id/common/badblocks.md @@ -0,0 +1,29 @@ +# badblocks + +> Cari blok-blok memori yang bermasalah dalam suatu piranti penyimpanan. +> Penggunaan beberapa fungsi dalam badblocks dapat mengakibatkan perubahan destruktif, seperti menghapus seluruh data dalam suatu piranti penyimnpanan, termasuk tabel konfigurasi partisi. +> Informasi lebih lanjut: . + +- Lakukan inspeksi terhadap suatu piranti penyimpanan menggunakan mode uji hanya-baca (read-only) yang non-destruktif: + +`sudo badblocks {{/dev/sdX}}` + +- Lakukan inspeksi terhadap suatu piranti yang tidak dimuat menggunakan mode uji baca-tulis yang [n]on-destruktif: + +`sudo badblocks -n {{/dev/sdX}}` + +- Lakukan inspeksi terhadap suatu piranti yang tidak dimuat menggunakan mode uji baca ([w]rite) secara destruktif: + +`sudo badblocks -w {{/dev/sdX}}` + +- Gunakan mode uji baca ([w]rite) destruktif dan tampilkan kemajuan proses secara bertele-tele: + +`sudo badblocks -svw {{/dev/sdX}}` + +- Dalam mode destruktif, simpan luaran ([o]utput) ke dalam suatu berkas: + +`sudo badblocks -o {{jalan/menuju/berkas}} -w {{/dev/sdX}}` + +- Gunakan mode destruktif dalam kecepatan yang lebih baik menggunakan ukuran [b]lok sebesar 4K dan jumlah blok ([c]ount) sebesar 64K: + +`sudo badblocks -w -b {{4096}} -c {{65536}} {{/dev/sdX}}` diff --git a/pages.id/common/balena.md b/pages.id/common/balena.md new file mode 100644 index 00000000000000..10103dbbe14eeb --- /dev/null +++ b/pages.id/common/balena.md @@ -0,0 +1,24 @@ +# balena + +> Lakukan interaksi dengan layanan balenaCloud, openBalena, dan balena API. +> Informasi lebih lanjut: . + +- Masuk dengan akun balenaCloud: + +`balena login` + +- Buat suatu aplikasi balenaCloud atau openBalena baru: + +`balena app create {{nama_aplikasi}}` + +- Tampilkan daftar seluruh aplikasi yang diatur dalam akun balenaCloud atau openBalena: + +`balena apps` + +- Tampilkan daftar seluruh perangkat yang terhubung dengan akun balenaCloud atau openBalena: + +`balena devices` + +- Pasang citra balenaOS ke dalam suatu perangkat penyimpanan lokal: + +`balena local flash {{jalan/menuju/balenaos.img}} --drive {{lokasi_penyimpanan}}` diff --git a/pages.id/common/bandwhich.md b/pages.id/common/bandwhich.md new file mode 100644 index 00000000000000..8117e3b4496e9b --- /dev/null +++ b/pages.id/common/bandwhich.md @@ -0,0 +1,24 @@ +# bandwhich + +> Tampilkan penggunaan jaringan saat ini berdasarkan proses, koneksi, atau IP/nama host jarak jauh. +> Informasi lebih lanjut: . + +- Tampilkan saja daftar alamat jarak jauh (remote address) yang dihubungi dalam bentuk tabel: + +`bandwhich {{[-a|--addresses]}}` + +- Tampilkan daftar proses pencarian DNS: + +`bandwhich {{[-s|--show-dns]}}` + +- Tampilkan informasi total penggunaan (kumulatif): + +`bandwhich {{[-t|--total-utilization]}}` + +- Tampilkan informasi pemanfaatan jaringan untuk suatu antarmuka jaringan: + +`bandwhich {{[-i|--interface]}} {{eth0}}` + +- Tampilkan daftar proses pencarian DNS yag dilakukan kepada server DNS tertentu: + +`bandwhich {{[-s|--show-dns]}} {{[-d|--dns-server]}} {{alamat_ip_peladen_dns}}` diff --git a/pages.id/common/banner.md b/pages.id/common/banner.md new file mode 100644 index 00000000000000..d196a8d4e9fc85 --- /dev/null +++ b/pages.id/common/banner.md @@ -0,0 +1,16 @@ +# banner + +> Cetak argumen perintah ini sebagai suatu seni teks ASCII (ASCII art). +> Informasi lebih lanjut: . + +- Tampilkan sebuah pesan teks sebagai teks spanduk teks ASCII besar (penggunaan tanda petik bersifat opsional): + +`banner "{{Halo Dunia}}"` + +- Tampilkan pesan dengan ukuran lebar ([w]idth) sebesar 50 karakter: + +`banner -w 50 "{{Halo Dunia}}"` + +- Baca teks dari `stdin`: + +`banner` diff --git a/pages.id/common/base32.md b/pages.id/common/base32.md new file mode 100644 index 00000000000000..8a824f280e9781 --- /dev/null +++ b/pages.id/common/base32.md @@ -0,0 +1,24 @@ +# base32 + +> Lakukan pengodean dan pendekodean terhadap suatu berkas atau `stdin` dari/menuju format Base32, menuju `stdout`. +> Informasi lebih lanjut: . + +- Kodekan isi suatu berkas menuju format Base32: + +`base32 {{jalan/menuju/berkas}}` + +- Bungkus luaran Base32 dalam panjang karakter yang tetap (nilai `0` akan menonaktifkan pembungkusan): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{jalan/menuju/berkas}}` + +- Dekodekan kode Base32 yang tersimpan dalam suatu berkas: + +`base32 {{[-d|--decode]}} {{jalan/menuju/berkas}}` + +- Kodekan isi dari `stdin`: + +`{{perintah}} | base32` + +- Dekodekan kode Base32 yang berasal dari `stdout`: + +`{{perintah}} | base32 {{[-d|--decode]}}` diff --git a/pages.id/common/base64.md b/pages.id/common/base64.md new file mode 100644 index 00000000000000..997bcff0adc71a --- /dev/null +++ b/pages.id/common/base64.md @@ -0,0 +1,24 @@ +# base64 + +> Lakukan pengodean dan pendekodean terhadap suatu berkas atau `stdin` dari/menuju format Base64, menuju `stdout`. +> Informasi lebih lanjut: . + +- Kodekan isi suatu berkas menuju format Base64: + +`base64 {{jalan/menuju/berkas}}` + +- Bungkus luaran Base64 dalam panjang karakter yang tetap (nilai `0` akan menonaktifkan pembungkusan): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{jalan/menuju/berkas}}` + +- Dekodekan kode Base64 yang tersimpan dalam suatu berkas: + +`base64 {{[-d|--decode]}} {{jalan/menuju/berkas}}` + +- Kodekan isi dari `stdin`: + +`{{perintah}} | base64` + +- Dekodekan kode Base64 yang berasal dari `stdout`: + +`{{perintah}} | base64 {{[-d|--decode]}}` diff --git a/pages.id/common/bat.md b/pages.id/common/bat.md new file mode 100644 index 00000000000000..8014d6bbf3fdae --- /dev/null +++ b/pages.id/common/bat.md @@ -0,0 +1,37 @@ +# bat + +> Cetak dan gabungkan berkas. +> Sebuah klon atas program `cat` dengan sintaks berwarna dan integrasi Git. +> Informasi lebih lanjut: . + +- Cetak rapi konten berkas ke `stdout`: + +`bat {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Gabungkan konten beberapa berkas ke berkas tujuan: + +`bat {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}} > {{jalan/menuju/berkas_tujuan}}` + +- Hapus dekorasi dan matikan fitur tampilan halaman (paging) (opsi `--style plain` dapat digantikan dengan `-p`, atau nyalakan kedua opsi dengan `-pp`): + +`bat --style plain --pager never {{jalan/menuju/berkas}}` + +- Sorot baris tertentu dengan warna latar belakang yang berbeda: + +`bat {{[-H|--highlight-line]}} {{10|5:10|:10|10:|10:+5}} {{jalan/menuju/berkas}}` + +- Tunjukkan segala karakter yang tak tercetak seperti spasi, tab, atau indikator baris baru: + +`bat {{[-A|--show-all]}} {{jalan/menuju/berkas}}` + +- Hapus seluruh informasi dekoratif selain nomor baris pada luaran program: + +`bat {{[-n|--number]}} {{jalan/menuju/berkas}}` + +- Tampilkan sintaks berwarna terhadap berkas JSON dengan mengatur bahasa sintaks berkas secara eksplisit: + +`bat {{[-l|--language]}} json {{jalan/menuju/berkas.json}}` + +- Tampilka semua jenis bahasa sintaks berkas yang didukung: + +`bat {{[-L|--list-languages]}}` diff --git a/pages.id/common/bing-rewards.md b/pages.id/common/bing-rewards.md new file mode 100644 index 00000000000000..4fa9a15353cce6 --- /dev/null +++ b/pages.id/common/bing-rewards.md @@ -0,0 +1,24 @@ +# bing-rewards + +> Naikkan poin Bing Rewards secara otomatis. +> Informasi lebih lanjut: . + +- Lakukan misi pencarian menggunakan mode desktop dan mobile: + +`bing-rewards` + +- Lakukan misi 10 pencarian menggunakan mode mobile: + +`bing-rewards {{[-m|--mobile]}} {{[-c|--count]}} 10` + +- Lakukan misi pencarian mobile dan desktop menggunakan suatu profil peramban Chrome bernama "Profile 1": + +`bing-rewards --profile "Profile 1"` + +- Lakukan misi pencarian secara berurutan menggunakan profil peramban Chrome ganda: + +`bing-rewards --profile "Default" "Profile 1" "Profile 2"` + +- Tampilkan bantuan: + +`bing-rewards {{[-h|--help]}}` diff --git a/pages.id/common/bq.md b/pages.id/common/bq.md new file mode 100644 index 00000000000000..c3246e2bb64226 --- /dev/null +++ b/pages.id/common/bq.md @@ -0,0 +1,32 @@ +# bq + +> Alat pemrosesan data berbasis Python untuk BigQuery, layanan pergudangan data Google Cloud yang sepenuhnya terkelola dan bersifat serverless. +> Informasi lebih lanjut: . + +- Jalankan suatu perintah kueri terhadap suatu tabel BigQuery dalam format SQL dasar, tambahkan opsi `--dry_run` untuk menaksir jumlah bita yang akan dibaca pada proses eksekusi: + +`bq query --nouse_legacy_sql 'SELECT COUNT(*) FROM {{NAMA_DATASET}}.{{NAMA_TABEL}}'` + +- Jalankan suatu perintah kueri dengan kumpulan parameter: + +`bq query --use_legacy_sql=false --parameter='ts_value:TIMESTAMP:2016-12-07 08:00:00' 'SELECT TIMESTAMP_ADD(@ts_value, INTERVAL 1 HOUR)'` + +- Buat suatu dataset atau tabel pada wilayah layanan Amerika Serikat (US): + +`bq mk --location=US {{nama_dataset}}.{{nama_tabel}}` + +- Tampilkan seluruh dataset pada suatu proyek: + +`bq ls --filter labels.{{key}}:{{value}} --max_results {{integer}} --format=prettyjson --project_id {{id_proyek}}` + +- Lakukan proses pemuatan data secara batch dari berkas tertentu dalam format seperti CSV, JSON, Parquet, dan Avro ke dalam suatu tabel: + +`bq load --location {{lokasi}} --source_format {{CSV|JSON|PARQUET|AVRO}} {{dataset}}.{{table}} {{jalan_menuju_sumber}}` + +- Salin suatu tabel menuju tabel lainnya: + +`bq cp {{dataset}}.{{TABEL_LAMA}} {{dataset}}.{{tabel_baru}}` + +- Tampilkan bantuan: + +`bq help` diff --git a/pages.id/common/brave.md b/pages.id/common/brave.md new file mode 100644 index 00000000000000..29ab6be2b6fc24 --- /dev/null +++ b/pages.id/common/brave.md @@ -0,0 +1,8 @@ +# brave + +> Perintah ini merupakan alias dari `chromium`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chromium` diff --git a/pages.id/common/brew-autoremove.md b/pages.id/common/brew-autoremove.md new file mode 100644 index 00000000000000..7377ffc077dede --- /dev/null +++ b/pages.id/common/brew-autoremove.md @@ -0,0 +1,12 @@ +# brew autoremove + +> Hapus formula-formula yang tak digunakan dan sebelumnya dibutuhkan untuk memasang formula lain. +> Informasi lebih lanjut: . + +- Hapus semua formula yang tak digunakan kembali: + +`brew autoremove` + +- Tampilkan daftar formula yang dapat dihapus tanpa melakukannya (dry-run): + +`brew autoremove {{[-n|--dry-run]}}` diff --git a/pages.id/common/brew-bundle.md b/pages.id/common/brew-bundle.md new file mode 100644 index 00000000000000..e88f3dfd39bc9d --- /dev/null +++ b/pages.id/common/brew-bundle.md @@ -0,0 +1,28 @@ +# brew bundle + +> Pembungkus untuk Homebrew, Homebrew Cask, dan App Store untuk macOS. +> Informasi lebih lanjut: . + +- Pasang seluruh paket menurut data Brewfile pada direktori saat ini: + +`brew bundle` + +- Pasang seluruh paket menurut data Brewfile pada lokasi tertentu: + +`brew bundle --file {{jalan/menuju/berkas}}` + +- Buat suatu berkas Brewfile berisikan daftar seluruh paket yang terpasang saat ini: + +`brew bundle dump` + +- Hapus seluruh formula yang tidak didefinisikan atau dibutuhkan pada formula dalam berkas Brewfile: + +`brew bundle cleanup --force` + +- Cari tahu apakah terdapat formula yang perlu dipasang atau dimutakhirkan dalam berkas Brewfile: + +`brew bundle check` + +- Tampilkan seluruh entri dalam berkas Brewfile: + +`brew bundle list --all` diff --git a/pages.id/common/brew-install.md b/pages.id/common/brew-install.md new file mode 100644 index 00000000000000..fd8fedbb21267f --- /dev/null +++ b/pages.id/common/brew-install.md @@ -0,0 +1,16 @@ +# brew install + +> Pasang suatu formula atau cask pada Homebrew. +> Informasi lebih lanjut: . + +- Pasang suatu formula/cask: + +`brew install {{formula|cask}}` + +- Bangun dan pasang suatu formula dari kode sumber (seluruh formula yang dibutuhkan tetap akan diunduh sebagai berkas jadian / bottle): + +`brew install {{[-s|--build-from-source]}} {{formula}}` + +- Unduh manifest dan tampilkan daftar formula/cask yang akan dipasang tanpa melakukannya (dry-run): + +`brew install {{[-n|--dry-run]}} {{formula|cask}}` diff --git a/pages.id/common/brew-list.md b/pages.id/common/brew-list.md new file mode 100644 index 00000000000000..d3b63233d73f11 --- /dev/null +++ b/pages.id/common/brew-list.md @@ -0,0 +1,24 @@ +# brew list + +> Tampilkan daftar formula/cask atau berkas-berkas terkait yang terpasang dalam perangkat saat ini. +> Informasi lebih lanjut: . + +- Tampilkan daftar seluruh formula dan cask yang telah terpasang: + +`brew list` + +- Tampilkan berkas-berkas yang berasal dari suatu formula yang terpasang: + +`brew list {{formula}}` + +- Tampilkan daftar artefak dari suatu cask: + +`brew list {{cask}}` + +- Tampilkan daftar formula saja: + +`brew list --formula` + +- Tampilkan daftar cask saja: + +`brew list --cask` diff --git a/pages.id/common/brew-outdated.md b/pages.id/common/brew-outdated.md new file mode 100644 index 00000000000000..16aa5639f8ddd0 --- /dev/null +++ b/pages.id/common/brew-outdated.md @@ -0,0 +1,17 @@ +# brew outdated + +> Tampilkan daftar cask dan formula yang dapat diperbarui. +> Untuk memutakhirkan seluruh cask dan formula, gunakan `brew upgrade`. +> Informasi lebih lanjut: . + +- Tampilkan daftar seluruh cask dan formula yang dapat diperbarui: + +`brew outdated` + +- Hanya tampilkan daftar formula yang dapat diperbarui: + +`brew outdated --formula` + +- Hanya tampilkan daftar cask yang dapat diperbarui: + +`brew outdated --cask` diff --git a/pages.id/common/brew-search.md b/pages.id/common/brew-search.md new file mode 100644 index 00000000000000..1f2e97cfcecc5e --- /dev/null +++ b/pages.id/common/brew-search.md @@ -0,0 +1,24 @@ +# brew search + +> Cari kumpulan paket cask dan formula. +> Informasi lebih lanjut: . + +- Cari kumpulan cask dan formula menggunakan suatu kata kunci: + +`brew search {{kata_kunci}}` + +- Cari kumpulan cask dan formula menggunakan ekspresi reguler (regex): + +`brew search /{{ekspresi_reguler}}/` + +- Cari pula menurut deskripsi paket: + +`brew search --desc {{kata_kunci}}` + +- Hanya cari kumpulan paket formula: + +`brew search --formula {{kata_kunci}}` + +- Hanya cari kumpulan paket cask: + +`brew search --cask {{kata_kunci}}` diff --git a/pages.id/common/brew-uninstall.md b/pages.id/common/brew-uninstall.md new file mode 100644 index 00000000000000..806434b5a71f4a --- /dev/null +++ b/pages.id/common/brew-uninstall.md @@ -0,0 +1,13 @@ +# brew uninstall + +> Bongkar pemasangan suatu paket formula/cask Homebrew. +> Gunakan `brew autoremove` untuk menghapus kumpulan paket dependensi yang tidak dibutuhkan kembali. +> Informasi lebih lanjut: . + +- Bongkar pemasangan suatu formula/cask: + +`brew uninstall {{formula|cask}}` + +- Bongkar pemasangan suatu cask dan hapus seluruh berkas terkait: + +`brew uninstall --zap {{cask}}` diff --git a/pages.id/common/brew.md b/pages.id/common/brew.md new file mode 100644 index 00000000000000..83f505e447da5e --- /dev/null +++ b/pages.id/common/brew.md @@ -0,0 +1,37 @@ +# brew + +> Homebrew - suatu manajer paket bagi macOS dan Linux. +> Beberapa subperintah seperti `install` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . + +- Pasang versi terkini oleh suatu formula atau cask: + +`brew install {{formula|cask}}` + +- Tampilkan daftar formula dan cask yang terpasang: + +`brew list` + +- Mutakhirkan suatu formula atau cask (jika nama tidak disediakan, semua formula dan cask terpasang akan dimutakhirkan): + +`brew upgrade {{formula|cask}}` + +- Dapatkan program Homebrew versi terkini dan semua formula dan cask yang tersedia dari repositori paket Homebrew: + +`brew update` + +- Tampilkan daftar formula dan cask yang memiliki versi lebih baru dari yang terpasang: + +`brew outdated` + +- Cari formula (paket biasa) serta cask (berkas aplikasi `.app` bagi macOS): + +`brew search {{teks}}` + +- Tampilkan informasi mengenai suatu formula atau cask (versi, lokasi pemasangan, formula/cask tambahan yang dibutuhkan, dll.): + +`brew info {{formula|cask}}` + +- Cek kondisi pemasangan Homebrew saat ini untuk mendeteksi kemungkinan galat atau masalah: + +`brew doctor` diff --git a/pages.id/common/cake.md b/pages.id/common/cake.md new file mode 100644 index 00000000000000..c4fcdd3fcf66e9 --- /dev/null +++ b/pages.id/common/cake.md @@ -0,0 +1,36 @@ +# cake + +> Alat baris perintah untuk memproses proyek aplikasi web berbasis framework CakePHP. +> Informasi lebih lanjut: . + +- Tampilkan informasi dasar mengenai proyek aplikasi saat ini beserta daftar perintah: + +`cake` + +- Tampilkan daftar rute aplikasi web yang tersedia: + +`cake routes` + +- Hapus berkas-berkas cache konfigurasi proyek: + +`cake cache clear_all` + +- Bangun berkas cache metadata bagi proyek saat ini: + +`cake schema_cache build --connection {{koneksi}}` + +- Hapus berkas cache metadata: + +`cake schema_cache clear` + +- Hapus suatu tabel cache: + +`cake schema_cache clear {{nama_tabel}}` + +- Jalankan sebuah peladen web untuk kepentingan pengembangan (secara bawaan mengarah menuju port 8765): + +`cake server` + +- Jalankan sebuah proses REPL (syel interaktif): + +`cake console` diff --git a/pages.id/common/cal.md b/pages.id/common/cal.md new file mode 100644 index 00000000000000..3bd6624f8010a4 --- /dev/null +++ b/pages.id/common/cal.md @@ -0,0 +1,17 @@ +# cal + +> Tampilkan kalender dengan menyorot tanggal saat ini. +> Lihat juga: `gcal`. +> Informasi lebih lanjut: . + +- Tampilkan kalender untuk bulan saat ini: + +`cal` + +- Tampilkan kalender untuk suatu tahun: + +`cal {{tahun}}` + +- Tampilkan kalender untuk suatu bulan dalam tahun: + +`cal {{bulan}} {{tahun}}` diff --git a/pages.id/common/calc.md b/pages.id/common/calc.md new file mode 100644 index 00000000000000..5ab0dfec9fda49 --- /dev/null +++ b/pages.id/common/calc.md @@ -0,0 +1,36 @@ +# calc + +> Kalkulator interaktif dengan tingkat ketepatan tinggi untuk terminal. +> Informasi lebih lanjut: . + +- Jalankan program `calc` secara interaktif: + +`calc` + +- Lakukan perhitungan secara non-interaktif (input berasal dari teks): + +`calc '{{85 * (36 / 4)}}'` + +- Lakukan perhitungan dengan mengeluarkan hasil plainteks (tanpa format output apapun, untuk dapat digunakan di dalam perintah lainnya): + +`calc -p '{{4/3 * pi() * 5^3}}'` + +- Lakukan perhitungan dan kemudian buka mode [i]nteraktif: + +`calc -i '{{sqrt(2)}}'` + +- Jalankan `calc` dengan [m]ode level perijinan tertentu (0 ke 7, 7 secara default): + +`calc -m {{mode}}` + +- Lihat panduan pengantar perintah `calc`: + +`calc help intro` + +- Lihat panduan ikhtisar `calc`: + +`calc help overview` + +- Lihat panduan perintah `calc`: + +`calc help` diff --git a/pages.id/common/calendar.md b/pages.id/common/calendar.md new file mode 100644 index 00000000000000..d3cf8bc080a7ee --- /dev/null +++ b/pages.id/common/calendar.md @@ -0,0 +1,20 @@ +# calendar + +> Tampilkan kegiatan terdekat dari suatu berkas kalender. +> Informasi lebih lanjut: . + +- Tampilkan daftar kegiatan untuk hari ini dan besok (atau Sabtu-Minggu pada hari Jumat) dari berkas kalender default: + +`calendar` + +- Tampilkan daftar kegiatan dalam 30 hari ke dep[A]n: + +`calendar -A {{30}}` + +- Tampilkan daftar kegiatan sepanjang 7 hari ke [B]elakang: + +`calendar -B {{7}}` + +- Tampilkan daftar kegiatan menurut suatu berkas ([f]ile) kalender yang lain: + +`calendar -f {{jalan/menuju/berkas}}` diff --git a/pages.id/common/calibre-server.md b/pages.id/common/calibre-server.md new file mode 100644 index 00000000000000..b7d9b785a606e0 --- /dev/null +++ b/pages.id/common/calibre-server.md @@ -0,0 +1,18 @@ +# calibre-server + +> Suatu aplikasi peladen (server) untuk membagikan buku digital (e-book) dalam jaringan. +> Catatan: buku-buku digital harus sebelumnya diimpor menuju perpustakaan baik melalui aplikasi GUI maupun perintah `calibredb`. +> Bagian dari aplikasi perpustakaan buku digital Calibre. +> Informasi lebih lanjut: . + +- Jalankan peladen untuk berbagi buku digital. Akses perpustakaan pada : + +`calibre-server` + +- Jalankan peladen pada port berbeda. Akses perpustakaan pada : + +`calibre-server --port {{port}}` + +- Lindungi peladen dengan membutuhkan kata sandi (password) untuk mengaksesnya: + +`calibre-server --username {{nama_pengguna}} --password {{kata_sandi}}` diff --git a/pages.id/common/calibredb.md b/pages.id/common/calibredb.md new file mode 100644 index 00000000000000..29f2b0d3a8f4f2 --- /dev/null +++ b/pages.id/common/calibredb.md @@ -0,0 +1,29 @@ +# calibredb + +> Kelola suatu pangkalan data perpustakaan buku digital. +> Bagian dari aplikasi perpustakaan buku digital Calibre. +> Informasi lebih lanjut: . + +- Tampilkan daftar judul dan informasi tambahan terkait buku-buku digital yang telah terdaftar dalam perpustakaan: + +`calibredb list` + +- Cari kumpulan buku dengan informasi tambahan: + +`calibredb list --search {{kata_kunci}}` + +- Hanya tampilkan nomor induk (id) dari hasil pustaka pencarian: + +`calibredb search {{kata_kunci}}` + +- Masukkan satu atau beberapa buku baru ke dalam perpustakaan: + +`calibredb add {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Masukkan seluruh buku dalam suatu direktori secara rekursif: + +`calibredb add {{[-r|--recurse]}} {{jalan/menuju/direktori}}` + +- Hapus satu atau beberapa buku dari perpustakaan. Anda perlu memasukkan nomor-nomor induk (lihat keterangan di atas): + +`calibredb remove {{id1 id2 ...}}` diff --git a/pages.id/common/calligraflow.md b/pages.id/common/calligraflow.md new file mode 100644 index 00000000000000..aabe18fde257a8 --- /dev/null +++ b/pages.id/common/calligraflow.md @@ -0,0 +1,17 @@ +# calligraflow + +> Aplikasi pengolah flowchart dan diagram, bagian dari Calligra. +> Lihat juga: `calligrastage`, `calligrawords`, `calligrasheets`. +> Informasi lebih lanjut: . + +- Buka aplikasi pengolah flowchart dan diagram: + +`calligraflow` + +- Buka suatu berkas: + +`calligraflow {{jalan/menuju/berkas}}` + +- Tampilkan informasi bantuan atau versi aplikasi: + +`calligraflow --{{help|version}}` diff --git a/pages.id/common/calligrasheets.md b/pages.id/common/calligrasheets.md new file mode 100644 index 00000000000000..ca11029e1957f3 --- /dev/null +++ b/pages.id/common/calligrasheets.md @@ -0,0 +1,17 @@ +# calligrasheets + +> Aplikasi pengolah lembar kerja (spreadsheet), bagian dari Calligra. +> Lihat juga: `calligraflow`, `calligrastage`, `calligrawords`. +> Informasi lebih lanjut: . + +- Buka aplikasi pengolah lembar kerja (spreadsheet): + +`calligrasheets` + +- Buka suatu berkas: + +`calligrasheets {{jalan/menuju/berkas}}` + +- Tampilkan informasi bantuan atau versi aplikasi: + +`calligrasheets --{{help|version}}` diff --git a/pages.id/common/calligrastage.md b/pages.id/common/calligrastage.md new file mode 100644 index 00000000000000..680a784972d130 --- /dev/null +++ b/pages.id/common/calligrastage.md @@ -0,0 +1,17 @@ +# calligrastage + +> Aplikasi presentasi, bagian dari Calligra. +> Lihat juga: `calligraflow`, `calligrawords`, `calligrasheets`. +> Informasi lebih lanjut: . + +- Buka aplikasi presentasi: + +`calligrastage` + +- Buka suatu berkas: + +`calligrastage {{jalan/menuju/berkas}}` + +- Tampilkan informasi bantuan atau versi aplikasi: + +`calligrastage --{{help|version}}` diff --git a/pages.id/common/calligrawords.md b/pages.id/common/calligrawords.md new file mode 100644 index 00000000000000..f471277265ada3 --- /dev/null +++ b/pages.id/common/calligrawords.md @@ -0,0 +1,17 @@ +# calligrawords + +> Aplikasi pengolah dokumen teks, bagian dari Calligra. +> Lihat juga: `calligraflow`, `calligrastage`, `calligrasheets`. +> Informasi lebih lanjut: . + +- Buka aplikasi pengolah dokumen teks: + +`calligrawords` + +- Buka suatu berkas: + +`calligrawords {{jalan/menuju/berkas}}` + +- Tampilkan informasi bantuan atau versi aplikasi: + +`calligrawords --{{help|version}}` diff --git a/pages.id/common/cancel.md b/pages.id/common/cancel.md new file mode 100644 index 00000000000000..1cb628b05dddf0 --- /dev/null +++ b/pages.id/common/cancel.md @@ -0,0 +1,33 @@ +# cancel + +> Batalkan penugasan pencetakan dokumen terhadap mesin-mesin pencetak (printer). +> Lihat juga: `lp`, `lpmove`, `lpstat`. +> Informasi lebih lanjut: . + +- Batalkan pekerjaan yang sedang dikerjakan ke dalam mesin pencetak yang diatur sebagai tujuan bawaan (atur mesin tujuan bawaan dengan perintah `lpoptions -d {{pencetak}}`): + +`cancel` + +- Batalkan pekerjaan yang sedang dikerjakan ke dalam mesin pencetak yang diatur sebagai tujuan bawaan menurut pengaturan suatu pengguna ([u]ser): + +`cancel -u {{username}}` + +- Batalkan pekerjaan yang sedang dikerjakan ke dalam suatu mesin pencetak: + +`cancel {{pencetak}}` + +- Batalkan suatu pekerjaan yang sedang dikerjakan ke dalam suatu mesin pencetak: + +`cancel {{pencetak}}-{{nomor_induk_pekerjaan}}` + +- Batalkan semu[a] pekerjaan yang sedang dan akan dikerjakan oleh mesin pencetak apapun: + +`cancel -a` + +- Batalkan semu[a] pekerjaan yang sedang dan akan dikerjakan oleh suatu mesin pencetak: + +`cancel -a {{pencetak}}` + +- Batalkan pekerjaan yang sedang ditangani oleh suatu peladen (server) layanan pencetak, kemudian hapus ([x]) berkas-berkas data pendukung pekerjaan: + +`cancel -h {{peladen}} -x` diff --git a/pages.id/common/cat.md b/pages.id/common/cat.md index e2ed860a7e24b8..343507cde79f3f 100644 --- a/pages.id/common/cat.md +++ b/pages.id/common/cat.md @@ -1,23 +1,24 @@ # cat -> Mencetak dan menggabungkan berkas. +> Cetak dan menggabungkan berkas. +> Informasi lebih lanjut: . -- Mencetak konten berkas ke keluaran standar: +- Cetak konten berkas menuju `stdout`: -`cat {{berkas}}` +`cat {{jalan/menuju/berkas}}` -- Menggabungkan konten beberapa berkas ke berkas tujuan: +- Gabungkan konten beberapa berkas ke berkas tujuan: -`cat {{berkas1}} {{berkasw}} > {{berkas_tujuan}}` +`cat {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}} > {{jalan/menuju/berkas_tujuan}}` -- Menambahkan konten beberapa berkas ke berkas tujuan: +- Tambahkan konten beberapa berkas ke berkas tujuan: -`cat {{berkas1}} {{berkas2}} >> {{berkas_tujuan}}` +`cat {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}} >> {{jalan/menuju/berkas_tujuan}}` -- Memberi nomor pada semua baris keluaran: +- Salin isi suatu file menuju file tujuan tanpa proses buffering: -`cat -n {{berkas}}` +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` -- Menampilkan karakter yang tidak dapat dicetak dan spasi (dengan awalan `M-`jika non-ASCII): +- Tulis isi `stdin` menuju suatu file: -`cat -v -t -e {{berkas}}` +`cat - > {{jalan/menuju/berkas}}` diff --git a/pages.id/common/cd.md b/pages.id/common/cd.md index 0ee5c2955aa798..9f22bc05c5d71f 100644 --- a/pages.id/common/cd.md +++ b/pages.id/common/cd.md @@ -1,19 +1,28 @@ # cd -> Mengganti direktori yang dikunjungi saat ini +> Ubah direktori kerja saat ini. +> Informasi lebih lanjut: . -- Menuju ke direktori yang telah ditentukan: +- Pergi menuju direktori yang ditentukan: -`cd {{lokasi/ke/direktori}}` +`cd {{jalan/menuju/direktori}}` -- Menuju ke direktori pangkal/home milik pengguna: +- Pergi menuju induk direktori dari direktori saat ini: + +`cd ..` + +- Pergi menuju direktori pangkal/home milik pengguna saat ini: `cd` -- Menuju ke induk direktori dari direktori saat ini: +- Pergi menuju direktori pangkal/home milik pengguna tertentu: -`cd ..` +`cd ~{{username}}` -- Menuju direktori yang telah dikunjungi sebelumnya: +- Pergi menuju direktori yang dikunjungi sebelumnya: `cd -` + +- Pergi menuju direktori akar (root): + +`cd /` diff --git a/pages.id/common/chatgpt.md b/pages.id/common/chatgpt.md new file mode 100644 index 00000000000000..e2797fb482930f --- /dev/null +++ b/pages.id/common/chatgpt.md @@ -0,0 +1,28 @@ +# chatgpt + +> Skrip syel untuk memakai OpenAI ChatGPT dan DALL-E dalam terminal. +> Informasi lebih lanjut: . + +- Jalankan dalam mode percakapan interaktif: + +`chatgpt` + +- Berikan [p]rompt (pertanyaan) untuk dijawab oleh sang model: + +`chatgpt --prompt "{{Bagaimana cara membuat kriteria ekspresi reguler untuk mencocokkan format alamat surel/email?}}"` + +- Jalankan dalam mode interaktif menggunakan suatu [m]odel (model default adalah `gpt-3.5-turbo`): + +`chatgpt --model {{gpt-4}}` + +- Jalankan dalam mode interaktif dengan [i]nitial prompt, perintah/permintaan awal yang dapat mendefinisikan jenis jawaban yang diharapkan dari sang model: + +`chatgpt --init-prompt "{{Anda adalah Rick, dari serial Rick and Morty. Tanggapi pertanyaan dengan gayanya dan menyertakan lelucon yang menghina.}}"` + +- Alihkan luaran dari program baris perintah lainnya sebagai pertanyaan masukan (prompt) kepada `chatgpt`: + +`echo "{{Bagaimana cara melihat proses yang berjalan di Ubuntu?}}" | chatgpt` + +- Generate an image using DALL-E: + +`chatgpt --prompt "{{image: Seekor kucing putih}}"` diff --git a/pages.id/common/chmod.md b/pages.id/common/chmod.md new file mode 100644 index 00000000000000..38202a611759d5 --- /dev/null +++ b/pages.id/common/chmod.md @@ -0,0 +1,36 @@ +# chmod + +> Mengubah hak akses pengguna suatu file atau direktori. +> Informasi lebih lanjut: . + +- Berikan pengguna pembuat file hak untuk mengeksekusinya (misal: sebagai script): + +`chmod u+x {{file}}` + +- Berikan hak kepada pengguna untuk membaca ([r]ead) dan menulis ([w]rite) suatu file atau direktori: + +`chmod u+rw {{jalan/menuju/file_atau_direktori}}` + +- Hentikan hak akses terhadap [g]rup untuk mengeksekusi suatu file: + +`chmod g-x {{jalan/menuju/file}}` + +- Berikan semua pengguna hak untuk membaca dan mengeksekusi suatu file: + +`chmod a+rx {{jalan/menuju/file}}` + +- Berikan hak-hak akses suatu file yang sama dari [g]rup kepada pengguna di luar grup ([o]thers): + +`chmod o=g {{jalan/menuju/file}}` + +- Hentikan semua hak akses suatu file: + +`chmod o= {{jalan/menuju/file}}` + +- Berikan hak tulis suatu direktori bagi [g]rup dan lainnya secara [R]ekursif (termasuk seluruh file yang terkandung di dalamnya): + +`chmod {{[-R|--recursive]}} g+w,o+w {{jalan/menuju/direktori}}` + +- Berikan hak semua pengguna untuk membaca seluruh file dan mengeksekusi para sub-direktori dalam suatu direktori: + +`chmod {{[-R|--recursive]}} a+rX {{jalan/menuju/direktori}}` diff --git a/pages.id/common/choose.md b/pages.id/common/choose.md new file mode 100644 index 00000000000000..3628ca4e1f4f72 --- /dev/null +++ b/pages.id/common/choose.md @@ -0,0 +1,36 @@ +# choose + +> Alternatif ramah-manusia dan cepat terhadap perintah cut dan (terkadang) awk. +> Informasi lebih lanjut: . + +- Cetak item ke-5 dari suatu baris (dimulai dari 0): + +`choose {{4}}` + +- Cetak item pertama, ke-3, dan ke-5 dari suatu baris, di mana kumpulan item dipisahkan menggunakan karakter ':' daripada spasi: + +`choose --field-separator '{{:}}' {{0}} {{2}} {{4}}` + +- Cetak isi seluruh item dari urutan ke-2 menuju ke-5 dalam baris, termasuk item ke-5: + +`choose {{1}}:{{4}}` + +- Cetak isi seluruh item dari urutan ke-2 menuju ke-5 dalam baris, kecuali item ke-5: + +`choose --exclusive {{1}}:{{4}}` + +- Cetak isi seluruh item dari awal baris menuju item ke-3: + +`choose :{{2}}` + +- Cetak isi seluruh item dari awal baris menuju item ke-3 (eksklusif): + +`choose --exclusive :{{2}}` + +- Cetak isi seluruh item dari urutan ke-3 hingga akhir baris: + +`choose {{2}}:` + +- Cetak item terakhir dari suatu baris: + +`choose {{-1}}` diff --git a/pages.id/common/chromium.md b/pages.id/common/chromium.md new file mode 100644 index 00000000000000..4de0e6d09a3af8 --- /dev/null +++ b/pages.id/common/chromium.md @@ -0,0 +1,37 @@ +# chromium + +> Aplikasi peramban web (web browser) bersumber terbuka yang terutama dikembangkan dan dikelola oleh Google. +> Catatan: Anda mungkin perlu menggantikan perintah `chromium` dengan peramban tujuan Anda, seperti `brave`, `google-chrome`, `opera`, atau `vivaldi`. +> Informasi lebih lanjut: . + +- Buka suatu URL atau berkas: + +`chromium {{https://example.com|jalan/menuju/berkas.html}}` + +- Buka dalam mode peramban privat (incognito): + +`chromium --incognito {{example.com}}` + +- Buka dalam jendela aplikasi baru: + +`chromium --new-window {{example.com}}` + +- Buka dalam mode aplikasi web (tanpa bilah toolbar, URL bar, tombol navigasi, dsb.): + +`chromium --app={{https://example.com}}` + +- Hubungkan peramban dengan suatu peladen proksi: + +`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Buka dengan direktori profil pengguna tertentu: + +`chromium --user-data-dir={{jalan/menuju/direktori}}` + +- Buka dengan menonaktifkan validasi CORS (berguna untuk menguji akses suatu API): + +`chromium --user-data-dir={{jalan/menuju/direktori}} --disable-web-security` + +- Selalu buka jendela alat DevTools (pembantu pengembang web) setiap kali membuka tab baru: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.id/common/clamav.md b/pages.id/common/clamav.md new file mode 100644 index 00000000000000..eb8eb875bb7cf7 --- /dev/null +++ b/pages.id/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> Program antivirus bersumber terbuka (open-source). +> Program ClamAV memiliki beberapa perintah, dan `clamav` bukanlah nama perintah. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi perintah untuk memindai file menggunakan daemon ClamAV (`clamd`): + +`tldr clamdscan` + +- Tampilkan dokumentasi perintah untuk memindai file tanpa menggunakan daemon: + +`tldr clamscan` + +- Tampilkan dokumentasi perintah untuk memutakhirkan basis data (database) definisi virus: + +`tldr freshclam` diff --git a/pages.id/common/clamdscan.md b/pages.id/common/clamdscan.md new file mode 100644 index 00000000000000..55c500a7951600 --- /dev/null +++ b/pages.id/common/clamdscan.md @@ -0,0 +1,36 @@ +# clamdscan + +> Sebuah program pemindai virus berbasis command-line. +> Informasi lebih lanjut: . + +- Pindai kerentanan suatu file atau direktori tertentu: + +`clamdscan {{jalan/menuju/file_atau_direktori}}` + +- Pindai data dari input `stdin`: + +`{{perintah}} | clamdscan -` + +- Pindai direktori saat ini dan hanya tampilkan file yang terinfeksi: + +`clamdscan --infected` + +- Simpan hasil laporan pemindaian kepada sebuah file log: + +`clamdscan --log {{jalan/menuju/file_log}}` + +- Pindahkan file-file yang terinfeksi kepada suatu direktori: + +`clamdscan --move {{jalan/menuju/direktori_karantina}}` + +- Hapus file-file yang terinfeksi: + +`clamdscan --remove` + +- Gunakan lebih dari satu thread untuk memindai sebuah direktori: + +`clamdscan --multiscan` + +- Pindai file dengan memberikan deskriptor kepada daemon daripada mengoper isi mentah file tersebut seperti biasa: + +`clamdscan --fdpass` diff --git a/pages.id/common/clamscan.md b/pages.id/common/clamscan.md new file mode 100644 index 00000000000000..2509110ea34ece --- /dev/null +++ b/pages.id/common/clamscan.md @@ -0,0 +1,36 @@ +# clamscan + +> Sebuah program pemindai virus berbasis command-line. +> Informasi lebih lanjut: . + +- Pindai kerentanan sebuah file: + +`clamscan {{jalan/menuju/file}}` + +- Pindai seluruh file dalam sebuah direktori secara rekursif: + +`clamscan -r {{jalan/menuju/direktori}}` + +- Pindai data dari input `stdin`: + +`{{perintah}} | clamscan -` + +- Gunakan basis data (database) definisi virus yang terkandung dalam sebuah file atau direktori: + +`clamscan --database {{jalan/menuju/file_atau_direktori_basis_data}}` + +- Pindai direktori saat ini dan hanya tampilkan file yang terinfeksi: + +`clamscan --infected` + +- Simpan hasil laporan pemindaian kepada sebuah file log: + +`clamscan --log {{jalan/menuju/file_log}}` + +- Pindahkan file-file yang terinfeksi kepada suatu direktori: + +`clamscan --move {{jalan/menuju/direktori_karantina}}` + +- Hapus file-file yang terinfeksi: + +`clamscan --remove yes` diff --git a/pages.id/common/clang++.md b/pages.id/common/clang++.md new file mode 100644 index 00000000000000..7b9e84ba30b2e5 --- /dev/null +++ b/pages.id/common/clang++.md @@ -0,0 +1,37 @@ +# clang++ + +> Susun kode C++. +> Part of LLVM. +> Informasi lebih lanjut: . + +- Ubah suatu berkas kode sumber menjadi program: + +`clang++ {{jalan/menuju/sumber1.cpp jalan/menuju/sumber2.cpp ...}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Tampilkan pesan peringatan dan galat dalam output: + +`clang++ {{jalan/menuju/sumber.cpp}} -Wall {{[-o|--output]}} {{jalan/menuju/program}}` + +- Izinkan peringatan dan simbol debug dalam output: + +`clang++ {{jalan/menuju/sumber.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{jalan/menuju/program}}` + +- Pilih standar bahasa untuk dikompilasi: + +`clang++ {{jalan/menuju/sumber.cpp}} -std={{c++20}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Sertakan pustaka (library) dari direktori yang berbeda: + +`clang++ {{jalan/menuju/sumber.cpp}} {{[-o|--output]}} {{jalan/menuju/program}} -I{{jalan/menuju/header}} -L{{jalan/menuju/pustaka}} -l{{nama_pustaka}}` + +- Susun kode sumber menjadi program dalam format LLVM Intermediate Representation (IR): + +`clang++ {{[-S|--assemble]}} -emit-llvm {{jalan/menuju/sumber.cpp}} {{[-o|--output]}} {{jalan/menuju/program.ll}}` + +- [O]ptimalkan progam yang disusun agar dapat dijalankan lebih cepat: + +`clang++ {{jalan/menuju/sumber.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Tampilkan versi penyusun: + +`clang++ --version` diff --git a/pages.id/common/clang-cpp.md b/pages.id/common/clang-cpp.md new file mode 100644 index 00000000000000..c26051aad343dc --- /dev/null +++ b/pages.id/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Perintah ini merupakan alias dari `clang++`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr clang++` diff --git a/pages.id/common/clang.md b/pages.id/common/clang.md new file mode 100644 index 00000000000000..81ce0c10a2950b --- /dev/null +++ b/pages.id/common/clang.md @@ -0,0 +1,37 @@ +# clang + +> Susun kode sumber C, C++, dan Objective-C. Dapat dipakai sebagai pengganti mutlak (drop-in) bagi GCC. +> Part of LLVM. +> Informasi lebih lanjut: . + +- Ubah suatu berkas kode sumber menjadi program: + +`clang {{jalan/menuju/sumber1.c jalan/menuju/sumber2.c ...}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Tampilkan pesan peringatan dan galat dalam output: + +`clang {{jalan/menuju/sumber.c}} -Wall {{[-o|--output]}} {{jalan/menuju/program}}` + +- Izinkan peringatan dan simbol debug dalam output: + +`clang {{jalan/menuju/sumber.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{jalan/menuju/program}}` + +- Sertakan pustaka (library) dari direktori yang berbeda: + +`clang {{jalan/menuju/sumber.c}} {{[-o|--output]}} {{jalan/menuju/program}} -I{{jalan/menuju/header}} -L{{jalan/menuju/pustaka}} -l{{nama_pustaka}}` + +- Susun kode sumber menjadi program dalam format LLVM Intermediate Representation (IR): + +`clang {{[-S|--assemble]}} -emit-llvm {{jalan/menuju/sumber.c}} {{[-o|--output]}} {{jalan/menuju/program.ll}}` + +- Susun kode sumber tanpa digabungkan: + +`clang {{[-c|--compile]}} {{jalan/menuju/sumber.c}}` + +- [O]ptimalkan progam yang disusun agar dapat dijalankan lebih cepat: + +`clang {{jalan/menuju/sumber.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Tampilkan versi penyusun: + +`clang --version` diff --git a/pages.id/common/clojure.md b/pages.id/common/clojure.md new file mode 100644 index 00000000000000..5daa93e4a70f1d --- /dev/null +++ b/pages.id/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Perintah ini merupakan alias dari `clj`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr clj` diff --git a/pages.id/common/code.md b/pages.id/common/code.md new file mode 100644 index 00000000000000..2252351b53f14a --- /dev/null +++ b/pages.id/common/code.md @@ -0,0 +1,36 @@ +# code + +> Pengolah kode komputer yang tersedia lintas platform dan dapat diperluas. +> Informasi lebih lanjut: . + +- Jalankan aplikasi Visual Studio Code: + +`code` + +- Buka kumpulan berkas atau direktori ke dalam program pengolah: + +`code {{jalan/menuju/berkas_atau_direktori1 jalan/menuju/berkas_atau_direktori2 ...}}` + +- Bandingkan isi antara dua berkas teks: + +`code {{[-d|--diff]}} {{jalan/menuju/berkas1}} {{jalan/menuju/berkas2}}` + +- Buka kumpulan berkas atau direktori menuju sebuah jendela pengolah baru: + +`code {{[-n|--new-window]}} {{jalan/menuju/berkas_atau_direktori1 jalan/menuju/berkas_atau_direktori2 ...}}` + +- Pasang/bongkat suatu paket ekstensi: + +`code --{{install|uninstall}}-extension {{penerbit.ekstensi}}` + +- Tampilkan daftar ekstensi yang terpasang: + +`code --list-extensions` + +- Tampilkan daftar ekstensi terpasang beserta versi masing-masing ekstensi: + +`code --list-extensions --show-versions` + +- Jalankan program pengolah sebagai superuser (root) dengan menyimpan data aplikasi ke dalam suatu direktori: + +`sudo code --user-data-dir {{jalan/menuju/direktori}}` diff --git a/pages.id/common/cola.md b/pages.id/common/cola.md new file mode 100644 index 00000000000000..d164a4ee0ca5f8 --- /dev/null +++ b/pages.id/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Perintah ini merupakan alias dari `git-cola`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr git-cola` diff --git a/pages.id/common/composer.md b/pages.id/common/composer.md new file mode 100644 index 00000000000000..57cb1e8705db87 --- /dev/null +++ b/pages.id/common/composer.md @@ -0,0 +1,36 @@ +# composer + +> Manajer paket untuk proyek PHP. +> Informasi lebih lanjut: . + +- Buat sebuah berkas `composer.json` secara interaktif: + +`composer init` + +- Tambahkan paket sebagai sebuah pustaka prasyarat (dependency) untuk proyek ini, menambahkan ke `composer.json`: + +`composer require {{nama_pengguna/nama_paket}}` + +- Pasang seluruh prasyarat dalam `composer.json` proyek ini dan buat berkas `composer.lock`: + +`composer install` + +- Hapus pemasangan suatu paket dalam proyek ini, sehingga menghapusnya dari entri prasyarat pada `composer.json` dan `composer.lock`: + +`composer remove {{nama_pengguna/nama_paket}}` + +- Perbarui semua pustaka prasyarat dalam `composer.json` proyek ini dan catat versi-versi terkini dalam berkas `composer.lock`: + +`composer update` + +- Memperbarui `composer.lock` setelah mengubah `composer.json` secara manual: + +`composer update --lock` + +- Cari tahu alasa mengapa sebuah dependensi tidak dapat dipasang: + +`composer why-not {{user/nama_paket}}` + +- Perbarui program composer menuju versi terbaru: + +`composer self-update` diff --git a/pages.id/common/cowsay.md b/pages.id/common/cowsay.md new file mode 100644 index 00000000000000..f9b4dcefb87682 --- /dev/null +++ b/pages.id/common/cowsay.md @@ -0,0 +1,28 @@ +# cowsay + +> Buat dan tampilkan seni teks ASCII (ASCII art) yang menampilkan objek (secara bawaan berupa seekor sapi) yang sedang berkata atau berpikir tentang sesuatu. +> Informasi lebih lanjut: . + +- Tampilkan suatu seni ASCII yang menunjukkan seekor sapi berkata "halo, dunia": + +`cowsay "{{halo, dunia}}"` + +- Tampilkan seni ASCII sapi dengan pesan dari `stdin`: + +`echo "{{halo, dunia}}" | cowsay` + +- Tampilkan seluruh variasi seni ASCII yang tersedia: + +`cowsay -l` + +- Tampilkan pesan "halo, dunia" dengan variasi seni tertentu: + +`cowsay -f {{variasi}} "{{halo, dunia}}"` + +- Tampilkan seni ASCII seekor sapi yang tewas dan berpikir: + +`cowthink -d "{{Saya hanya seekor sapi, bukan pemikir hebat...}}"` + +- Tampilkan pesan "halo, dunia" sebagai seni ASCII sapi dengan karakter yang ditentukan sebagai mata sang sapi: + +`cowsay -e {{karakter_mata}} "{{halo, dunia}}"` diff --git a/pages.id/common/cp.md b/pages.id/common/cp.md index 6378b9c60127e8..f4d9576116289a 100644 --- a/pages.id/common/cp.md +++ b/pages.id/common/cp.md @@ -1,27 +1,36 @@ # cp -> Membuat salinan file dan direktori. +> Salin berkas dan direktori. +> Informasi lebih lanjut: . -- Membuat salinan file ke lokasi lain: +- Salin berkas ke lokasi lain: -`cp {{jalan/menuju/file_sumber.ext}} {{jalan/menuju/file_tujuan.ext}}` +`cp {{jalan/menuju/berkas_sumber.ext}} {{jalan/menuju/berkas_tujuan.ext}}` -- Menyalin file ke direktori lain, dengan nama yang sama: +- Salin berkas ke direktori lain, dengan nama yang sama: -`cp {{jalan/menuju/file_sumber.ext}} {{jalan/menuju/direktori_tujuan}}` +`cp {{jalan/menuju/berkas_sumber.ext}} {{jalan/menuju/direktori_tujuan}}` -- Menyalin sebuah direktori secara beserta isinya ke lokasi lain (jika tujuan sudah ada, direktori tersebut disalin ke dalamnya): +- Salin sebuah direktori secara rekursif beserta isinya ke lokasi lain (jika tujuan sudah ada, direktori tersebut disalin ke dalamnya): -`cp -R {{jalan/menuju/direktori_sumber}} {{jalan/menuju/direktori_tujuan}}` +`cp {{[-r|--recursive]}} {{jalan/menuju/direktori_sumber}} {{jalan/menuju/direktori_tujuan}}` -- Menyalin sebuah direktori secara beserta isinya, dalam mode `verbose` (menampilkan file-file ketika disalin): +- Salin sebuah direktori secara rekursif beserta isinya, dengan menampilkan berkas-berkas ketika disalin (mode verbose): -`cp -vR {{jalan/menuju/direktori_sumber}} {{jalan/menuju/direktori_tujuan}}` +`cp {{[-vr|--verbose --recursive]}} {{jalan/menuju/direktori_sumber}} {{jalan/menuju/direktori_tujuan}}` -- Menyalin file-file teks ke lokasi lain, dalam mode interaktif (menampilkan pertanyaan sebelum menimpa): +- Salin lebih dari satu berkas menuju suatu direktori: -`cp -i {{*.txt}} {{jalan/menuju/direktori_tujuan}}` +`cp {{[-t|--target-directory]}} {{path/to/direktori_tujuan}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` -- Melepaskan tautan simbolis sebelum menyalin: +- Salin berkas-berkas teks ke lokasi lain, dalam mode interaktif (menampilkan pertanyaan sebelum menimpa): -`cp -L {{tautan}} {{jalan/menuju/direktori_tujuan}}` +`cp {{[-i|--interactive]}} {{*.txt}} {{jalan/menuju/direktori_tujuan}}` + +- Salin tautan simbolis sebelum menyalin: + +`cp {{[-L|--dereference]}} {{tautan}} {{jalan/menuju/direktori_tujuan}}` + +- Gunakan argumen pertama sebagai direktori tujuan (berguna untuk perintah seperti `xargs ... | cp -t `): + +`cp {{[-t|--target-directory]}} {{path/to/direktori_tujuan}} {{jalan/menuju/berkas_atau_direktori1 jalan/menuju/berkas_atau_direktori2 ...}}` diff --git a/pages.id/common/curl.md b/pages.id/common/curl.md index 8b33e92f7f245c..cf3eec21e070d5 100644 --- a/pages.id/common/curl.md +++ b/pages.id/common/curl.md @@ -1,37 +1,37 @@ # curl -> Mentransfer data dari atau ke server. +> Mentransfer data dari atau menuju suatu server. > Mendukung sebagian besar protokol, termasuk HTTP, FTP, dan POP3. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . -- Unduh konten URL ke file: +- Buat suatu permintaan HTTP GET dan tampilkan respons menuju `stdout`: -`curl {{http://contoh.com}} -o {{namafile}}` +`curl {{https://example.com}}` -- Unduh file, simpan hasilnya dengan nama file yang ditentukan oleh URL: +- Buat suatu permintaan HTTP GET, ikuti (fo[L]low) seluruh permintaan redirect `3xx`, dan tampilkan ([D]ump) seluruh data header beserta isi respons menuju `stdout`: -`curl -O {{http://contoh.com/namafile}}` +`curl {{[-L|--location]}} {{[-D|--dump-header]}} - {{https://example.com}}` -- Unduh file, mengikuti pengalihan [L] okasi, dan secara otomatis [C] melanjutkan transfer file sebelumnya: +- Unduh dan simpan suatu berkas dengan nama berkas yang ditentukan oleh URL: -`curl -O -L -C - {{http://contoh.com/filename}}` +`curl {{[-O|--remote-name]}} {{http://contoh.com/nama_berkas.zip}}` -- Mengirim data form yang telah di encode (permintaan POST atau tipe data `application/x-www-form-urlencoded`). Gunakan `-d @file_name` atau `-d @'-'` untuk membaca dari STDIN: +- Kirim suatu [d]ata dengan format form-encoded (permintaan POST dengan format data `application/x-www-form-urlencoded`). Gunakan `--data @file_name` atau `--data @'-'` untuk membaca dari `stdin`: -`curl -d {{'name=bob'}} {{http://contoh.com/form}}` +`curl {{[-X|--request]}} POST {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` -- Mengirim sebuah permintaan dengan header tambahan, menggunakan metode HTTP kustom: +- Kirim sebuah permintaan dengan suatu informasi header ekstra, menggunakan metode HTTP kustom yang dikirimkan menggunakan suatu pro[x]i (seperti BurpSuite), mengabaikan peringatan sertifikat TLS yang ditandatangani secara mandiri (self-signed): -`curl -H {{'X-My-Header: 123'}} -X {{PUT}} {{http://contoh.com}}` +`curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} {{'Authorization: Bearer token'}} {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}` -- Mengirim data dalam format JSON, Menentukan jenis konten yang sesuai header: +- Kirim data dalam format JSON, dengan menetapkan isi HTTP [H]eader Content-Type: -`curl -d {{'{"name":"bob"}'}} -H {{'Content-Type: application/json'}} {{http://contoh.com/users/1234}}` +`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/pengguna/1234}}` -- Memberikan nama pengguna dan kata sandi untuk otentikasi server: +- Gunakan suatu sertifikat klien dan berkas kunci dalam mengenkripsi permintaan HTTP, dengan mengabaikan proses validasi sertifikat TLS: -`curl -u myusername:mypassword {{http://contoh.com}}` +`curl {{[-E|--cert]}} {{sertifikat_klien.pem}} --key {{kunci.pem}} {{[-k|--insecure]}} {{https://example.com}}` -- Memberikan sertifikat klien dan kunci untuk sumber daya, melewati validasi sertifikat: +- Ubah nama host menjadi alamat IP khusus, dengan keluaran [v]erbose (mirip dengan menyunting berkas `/etc/hosts` untuk resolusi DNS khusus): -`curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://contoh.com}}` +`curl {{[-v|--verbose]}} --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}` diff --git a/pages.id/common/deno.md b/pages.id/common/deno.md index c6e7e21f024c63..1cab98e59a4351 100644 --- a/pages.id/common/deno.md +++ b/pages.id/common/deno.md @@ -1,24 +1,24 @@ # deno > Runtime aman untuk JavaScript dan TypeScript. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . -- Menjalankan berkas JavaScript atau TypeScript: +- Jalankan program dari suatu berkas JavaScript atau TypeScript: -`deno {{alamat/ke/berkas.ts}}` +`deno run {{jalan/menuju/berkas.ts}}` -- Menjalankan REPL (shell interaktif): +- Jalankan REPL (shell interaktif): `deno` -- Menjalankan berkas dengan memperbolehkan akses jaringan: +- Jalankan berkas dengan memperbolehkan akses jaringan: -`deno --allow-net {{alamat/ke/berkas.ts}}` +`deno run --allow-net {{jalan/menuju/berkas.ts}}` -- Menjalankan berkas dari URL: +- Jalankan berkas dari URL: -`deno {{https://deno.land/std/examples/welcome.ts}}` +`deno run {{https://deno.land/std/examples/welcome.ts}}` -- Memasang skrip yang dapat dieksekusi dari URL: +- Pasang skrip yang dapat dieksekusi dari URL: -`deno install --allow-net --allow-read {{file_server}} {{https://deno.land/std/http/file_server.ts}}` +`deno install {{https://deno.land/std/examples/colors.ts}}` diff --git a/pages.id/common/diff.md b/pages.id/common/diff.md new file mode 100644 index 00000000000000..8ddf9eb6f518d7 --- /dev/null +++ b/pages.id/common/diff.md @@ -0,0 +1,36 @@ +# diff + +> Bandingkan isi berkas dan direktori. +> Informasi lebih lanjut: . + +- Bandingkan isi berkas-berkas (tampilkan daftar isi yang diubah dari `berkas_lawas` sehingga membentuk `berkas_baru`): + +`diff {{berkas_lawas}} {{berkas_baru}}` + +- Bandingkan isi berkas-berkas, tanpa menghiraukan karakter spasi: + +`diff {{[-w|--ignore-all-space]}} {{berkas_lawas}} {{berkas_baru}}` + +- Bandingkan isi berkas-berkas, dan tampilkan perbedaannya secara samping-men[y]amping: + +`diff {{[-y|--side-by-side]}} {{berkas_lawas}} {{berkas_baru}}` + +- Bandingkan isi berkas-berkas, dan tampilkan perbedaannya dalam format menyatu (sebagaimana digunakan dalam `git diff`): + +`diff {{[-u|--unified]}} {{berkas_lawas}} {{berkas_baru}}` + +- Bandingkan direktori-direktori secara rekursif (tampilkan nama-nama berkas/direktori beserta segala perubahan atas isi berkas-berkas): + +`diff {{[-r|--recursive]}} {{direktori_lawas}} {{direktori_baru}}` + +- Bandingkan direktori-direktori, dan hanya tampilkan nama berkas yang berbeda isi: + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{direktori_lawas}} {{direktori_baru}}` + +- Buat suatu berkas patch untuk Git dari perbedaan atas kedua berkas teks, dengan memperlakukan berkas yang tidak tersedia sebagai kosong: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{berkas_lawas}} {{berkas_baru}} > {{diff.patch}}` + +- Bandingkan berkas-berkas, menampilkan luaran program secara berwarna dan upayakan untuk mencari perubahan-perubahan secara minimal: + +`diff {{[-d|--minimal]}} --color=always {{berkas_lawas}} {{berkas_baru}}` diff --git a/pages.id/common/docker-build.md b/pages.id/common/docker-build.md new file mode 100644 index 00000000000000..f95e8a1a77d8c3 --- /dev/null +++ b/pages.id/common/docker-build.md @@ -0,0 +1,32 @@ +# docker build + +> Bangun sebuah image dari Dockerfile. +> Informasi lebih lanjut: . + +- Bangun sebuah image Docker meggunakan Dockerfile dalam direktori saat ini: + +`docker build .` + +- Bangun sebuah Docker image dari Dockerfile dengan menggunakan URL yang spesifik: + +`docker build {{github.com/creack/docker-firefox}}` + +- Bangun sebuah Docker image dengan tag tertentu: + +`docker build {{[-t|--tag]}} {{nama:tag}} .` + +- Bangun sebuah Docker image tanpa konteks pembangunan: + +`docker build {{[-t|--tag]}} {{nama:tag}} - < {{Dockerfile}}` + +- Bangun sebuah image tanpa menggunakan cache: + +`docker build --no-cache {{[-t|--tag]}} {{nama:tag}} .` + +- Bangun sebuah Docker image dengan Dockerfile tertentu: + +`docker build {{[-f|--file]}} {{Dockerfile}} .` + +- Bangun sebuah Docker image dengan variabel lingkungan tertentu: + +`docker build --build-arg {{HTTP_PROXY=http://10.20.30.2:1234}} --build-arg {{FTP_PROXY=http://40.50.60.5:4567}} .` diff --git a/pages.id/common/docker-compose.md b/pages.id/common/docker-compose.md new file mode 100644 index 00000000000000..ed2e0e64446deb --- /dev/null +++ b/pages.id/common/docker-compose.md @@ -0,0 +1,36 @@ +# docker compose + +> Jalankan dan kelola aplikasi Docker dengan beberapa kontainer. +> Informasi lebih lanjut: . + +- Tampilkan semua kontainer yang sedang berjalan: + +`docker compose ps` + +- Buat dan nyalakan semua kontainer di latar belakang menggunakan file docker-compose.yml dari direktori saat ini: + +`docker compose up {{[-d|--detach]}}` + +- Nyalakan semua kontainer, dan bangun ulang jika diperlukan: + +`docker compose up --build` + +- Nyalakan semua kontainer dengan menentukan nama proyek dan menggunakan file compose alternatif: + +`docker compose {{[-p|--project-name]}} {{nama_proyek}} {{[-f|--file]}} {{jalan/menuju/file}} up` + +- Hentikan semua kontainer yang sedang berjalan: + +`docker compose stop` + +- Hentikan dan menghapus semua kontainer, jaringan, image, dan volume: + +`docker compose down --rmi all {{[-v|--volumes]}}` + +- Ikuti log untuk semua kontainer: + +`docker compose logs {{[-f|--follow]}}` + +- Ikuti log untuk kontainer tertentu: + +`docker compose logs {{[-f|--follow]}} {{container_name}}` diff --git a/pages.id/common/docker-ps.md b/pages.id/common/docker-ps.md new file mode 100644 index 00000000000000..954a8a362d4bc0 --- /dev/null +++ b/pages.id/common/docker-ps.md @@ -0,0 +1,36 @@ +# docker ps + +> Tampilkan daftar kontainer Docker. +> Informasi lebih lanjut: . + +- Tampilkan kontainer Docker yang sedang berjalan saat ini: + +`docker ps` + +- Tampilkan semua kontainer Docker (yang berjalan dan yang berhenti): + +`docker ps {{[-a|--all]}}` + +- Tampilkan kontainer yang dibuat terakhir (termasuk semua status): + +`docker ps {{[-l|--latest]}}` + +- Pilah kontainer yang mengandung substring dalam namanya: + +`docker ps {{[-f|--filter]}} "name={{nama}}"` + +- Pilah kontainer yang memiliki gambar yang sama sebagai leluhur: + +`docker ps {{[-f|--filter]}} "ancestor={{image}}:{{tag}}"` + +- Pilah kontainer berdasarkan kode status keluar (exit status code): + +`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{kode}}"` + +- Pilah kontainer berdasarkan status (created, running, removing, paused, exited, dan dead): + +`docker ps {{[-f|--filter]}} "status={{status}}"` + +- Pilah kontainer yang mengaitkan suatu volume tertentu atau memiliki volume yang terpasang pada jalur tertentu: + +`docker ps {{[-f|--filter]}} "volume={{jalan/menuju/direktori}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.id/common/docker.md b/pages.id/common/docker.md index cdd78d1946a6d1..d23b4c0393b0a7 100644 --- a/pages.id/common/docker.md +++ b/pages.id/common/docker.md @@ -1,36 +1,37 @@ # docker -> Mengatur kontainer Docker dan image. -> Informasi lebih lanjut: . +> Atur kontainer Docker dan image. +> Beberapa subperintah seperti `run` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . -- Menampilkan semua daftar kontainer docker yang sedang berjalan: +- Tampilkan semua daftar kontainer Docker (yang sedang berjalan dan berhenti): -`docker ps` +`docker ps {{[-a|--all]}}` -- Menampilkan semua daftar kontainer docker (yang sedang berjalan dan berhenti): +- Nyalakan sebuah kontainer dari citra (image), dengan nama kustom: -`docker ps -a` +`docker run --name {{nama_kontainer}} {{citra}}` -- Memulai sebuah kontainer dari image, dengan nama kustom: +- Nyalakan atau menghentikan kontainer yang tersedia: -`docker run --name {{nama_kontainer}} {{image}}` +`docker {{start|stop}} {{nama_kontainer}}` -- Memulai atau menghentikan kontainer yang tersedia: +- Tarik citra dari registri Docker: -`docker {{start|stop}} {{nama_kontainer}}` +`docker pull {{citra}}` -- Menarik image dari registri docker: +- Tampilkan daftar citra Docker yang telah diunduh: -`docker pull {{image}}` +`docker images` -- Membuka shell didalam sebuah kontainer yang sedang berjalan: +- Buka sesi shell didalam sebuah kontainer yang sedang berjalan: -`docker exec -it {{nama_kontainer}} {{sh}}` +`docker exec {{[-it|--interactive --tty]}} {{nama_kontainer}} {{sh}}` -- Menghapus kontainer yang sedang berhenti: +- Hapus kontainer yang sedang berhenti: `docker rm {{nama_kontainer}}` -- Mengambil dan mengikuti semua log dari sebuah kontainer: +- Ambil dan ikuti semua log dari sebuah kontainer: -`docker logs -f {{nama_kontainer}}` +`docker logs {{[-f|--follow]}} {{nama_kontainer}}` diff --git a/pages.id/common/echo.md b/pages.id/common/echo.md new file mode 100644 index 00000000000000..423db33863c39c --- /dev/null +++ b/pages.id/common/echo.md @@ -0,0 +1,28 @@ +# echo + +> Cetak ulang argumen-argumen yang dimasukkan ke dalam layar perangkat. +> Informasi lebih lanjut: . + +- Cetak sebuah pesan teks. Catatan: penggunaan tanda petik bersifat opsional: + +`echo "{{Halo Dunia}}"` + +- Cetak sebuah pesan bersama suatu variabel lingkungan (environment variable): + +`echo "{{Variabel path saya adalah $PATH}}"` + +- Cetak sebuah pesan tanpa mencetak baris teks baru (tanpa [n]ewline): + +`echo -n "{{Halo Dunia}}"` + +- Tambahkan isi pesan ke dalam suatu berkas teks: + +`echo "{{Halo Dunia}}" >> {{berkas.txt}}` + +- Aktifkan fitur interpretasi penggunaan tanda garis miring terbalik sebagai penanda karakter khusus: + +`echo -e "{{Kolom 1\tKolom 2}}"` + +- Cetak status keluar dari perintah terakhir yang dieksekusi (Catatan: Dalam Windows Command Prompt dan PowerShell, perintah yang setara adalah `echo %errorlevel%` dan `$lastexitcode`): + +`echo $?` diff --git a/pages.id/common/egrep.md b/pages.id/common/egrep.md new file mode 100644 index 00000000000000..22931f75fe0481 --- /dev/null +++ b/pages.id/common/egrep.md @@ -0,0 +1,28 @@ +# egrep + +> Cari pola teks tertentu pada kumpulan berkas menggunakan kata pencarian ekspresi reguler (regex) tingkat lanjut (mendukung `?`, `+`, `{}`, `()`, dan `|`). +> Informasi lebih lanjut: . + +- Cari suatu berkas untuk teks yang mengikuti pola pencarian tertentu: + +`egrep "{{pola_pencarian}}" {{jalan/menuju/berkas}}` + +- Cari lebih dari satu berkas untuk teks yang mengikuti pola pencarian tertentu: + +`egrep "{{pola_pencarian}}" {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Cari isi `stdin` untuk teks yang mengikuti pola pencarian tertentu: + +`cat {{jalan/menuju/berkas}} | egrep {{pola_pencarian}}` + +- Cetak nama berkas dan nomor baris di mana pola tersebut ditemukan: + +`egrep --with-filename --line-number "{{pola_pencarian}}" {{jalan/menuju/berkas}}` + +- Cari seluruh berkas selain berkas format biner di dalam suatu direktori secara rekursif (termasuk berkas-berkas di dalam subdirektori) dengan menunjukkan nomor barisan di mana pola tersebut ditemukan: + +`egrep --recursive --binary-files={{without-match}} "{{pola_pencarian}}" {{jalan/menuju/direktori}}` + +- Cari untuk barisan teks yang tidak memenuhi kriteria pada pola pencarian: + +`egrep --invert-match "{{pola_pencarian}}" {{jalan/menuju/berkas}}` diff --git a/pages.id/common/exa.md b/pages.id/common/exa.md new file mode 100644 index 00000000000000..bfe48ef94dbefa --- /dev/null +++ b/pages.id/common/exa.md @@ -0,0 +1,36 @@ +# exa + +> Pengganti `ls` (Tampilkan isi direktori) yang modern. +> Informasi lebih lanjut: . + +- Tampilkan daftar berkas, satu berkas per baris: + +`exa {{[-1|--oneline]}}` + +- Tampilkan daftar seluruh berkas, termasuk berkas-berkas tersembunyi: + +`exa {{[-a|--all]}}` + +- Tampilkan daftar seluruh berkas dengan format informasi panjang (perizinan, pemilik, ukuran, dan tanggal modifikasi): + +`exa {{[-l|--long]}} {{[-a|--all]}}` + +- Tampilkan daftar seluruh berkas dengan berkas terbesar terlebih dahulu: + +`exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` + +- Tampilkan daftar berkas dalam format pohon (tree) hingga tingkat kedalaman ketiga: + +`exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}` + +- Tampilkan daftar berkas yang diurutkan menurut tanggal modifikasi (terlawas terlebih dahulu): + +`exa {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` + +- Tampilkan daftar berkas dengan informasi header, ikon, dan status berkas dalam Git: + +`exa {{[-l|--long]}} {{[-h|--header]}} --icons --git` + +- Jangan tampilkan daftar berkas yang terdaftar dalam `.gitignore`: + +`exa --git-ignore` diff --git a/pages.id/common/exit.md b/pages.id/common/exit.md new file mode 100644 index 00000000000000..f0c22ccab0f424 --- /dev/null +++ b/pages.id/common/exit.md @@ -0,0 +1,12 @@ +# exit + +> Keluar dari sesi shell. +> Informasi lebih lanjut: . + +- Keluar dengan kode status keluar (exit code) yang berasal dari hasil eksekusi perintah sebelumnya: + +`exit` + +- Keluar dengan kode status keluar khusus: + +`exit {{exit_code}}` diff --git a/pages.id/common/fastd.md b/pages.id/common/fastd.md new file mode 100644 index 00000000000000..95d24849368b7c --- /dev/null +++ b/pages.id/common/fastd.md @@ -0,0 +1,30 @@ +# fastd + +> Program layanan daemon untuk jaringan priat virtual (VPN). +> Bekerja baik dalam lapisan jaringan Layer 2 atau Layer 3, mendukung berbagai metode enkripsi, dan dipakai oleh Freifunk. +> Lihat juga: `ivpn`, `mozillavpn`, `mullvad`, `warp-cli`. +> Informasi lebih lanjut: . + +- Jalankan `fastd` dengan konfigurasi yang diatur dalam suatu berkas: + +`fastd --config {{jalan/menuju/fastd.conf}}` + +- Jalankan suatu layanan VPN Layer 3 dengan MTU sebesar 1400, dengan konfigurasi lainnya yang diatur dalam suatu berkas: + +`fastd --mode {{tap}} --mtu {{1400}} --config {{jalan/menuju/fastd.conf}}` + +- Lakukan validasi terhadap suatu berkas konfigurasi: + +`fastd --verify-config --config {{jalan/menuju/fastd.conf}}` + +- Buat sebuah pasangan kunci untuk mengakses layanan VPN: + +`fastd --generate-key` + +- Tampilkan kunci publik terhadap kunci privat yang diatur dalam berkas konfigurasi: + +`fastd --show-key --config {{jalan/menuju/fastd.conf}}` + +- Tampilkan versi program: + +`fastd -v` diff --git a/pages.id/common/ffsend.md b/pages.id/common/ffsend.md new file mode 100644 index 00000000000000..2682e77a709860 --- /dev/null +++ b/pages.id/common/ffsend.md @@ -0,0 +1,24 @@ +# ffsend + +> Bagikan berkas-berkas secara mudah dan aman. +> Informasi lebih lanjut: . + +- Unggah suatu berkas: + +`ffsend upload {{jalan/menuju/berkas}}` + +- Unduh suatu berkas: + +`ffsend download {{url}}` + +- Unggah berkas dengan suatu kata sandi: + +`ffsend upload {{jalan/menuju/berkas}} {{[-p|--password]}} {{kata_sandi}}` + +- Unduh berkas yang terlindungi dengan suatu kata sandi: + +`ffsend download {{url}} {{[-p|--password]}} {{kata_sandi}}` + +- Unggah dan atur unggahan supaya hanya dapat diunduh sebanyak 4 kali: + +`ffsend upload {{jalan/menuju/berkas}} {{[-d|--downloads]}} {{4}}` diff --git a/pages.id/common/fossil-ci.md b/pages.id/common/fossil-ci.md new file mode 100644 index 00000000000000..fb516e2921fd43 --- /dev/null +++ b/pages.id/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Perintah ini merupakan alias dari `fossil commit`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr fossil commit` diff --git a/pages.id/common/fossil-forget.md b/pages.id/common/fossil-forget.md new file mode 100644 index 00000000000000..89e794cb8d58a2 --- /dev/null +++ b/pages.id/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Perintah ini merupakan alias dari `fossil rm`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr fossil rm` diff --git a/pages.id/common/fossil-new.md b/pages.id/common/fossil-new.md new file mode 100644 index 00000000000000..8760eceb21683f --- /dev/null +++ b/pages.id/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Perintah ini merupakan alias dari `fossil init`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr fossil init` diff --git a/pages.id/common/fossil-rm.md b/pages.id/common/fossil-rm.md new file mode 100644 index 00000000000000..aab6031b09d877 --- /dev/null +++ b/pages.id/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Perintah ini merupakan alias dari `fossil delete`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr fossil delete` diff --git a/pages.id/common/fping.md b/pages.id/common/fping.md new file mode 100644 index 00000000000000..05aaa3fd0d09a5 --- /dev/null +++ b/pages.id/common/fping.md @@ -0,0 +1,20 @@ +# fping + +> Utilitas ping lebih kuat yang dapat melakukan proses ping pada lebih dari satu host. +> Informasi lebih lanjut: . + +- Tampilkan daftar status atas seluruh host pada suatu rentang alamat IP: + +`fping {{192.168.1.{1..254}}}` + +- Tampilkan daftar seluruh host yang aktif dalam suatu subjaringan menurut definisi network mask (netmask): + +`fping {{[-a|--alive]}} {{[-g|--generate]}} {{192.168.1.0/24}}` + +- Tampilkan daftar seluruh host yang aktif dalam suatu subjaringan berdasarkan rentang alamat IP: + +`fping {{[-q|--quiet]}} {{[-a|--alive]}} {{[-g|--generate]}} {{192.168.1.1}} {{192.168.1.254}}` + +- Tampilkan daftar seluruh host yang tidak aktif dalam suatu subjaringan menurut definisi network mask (netmask): + +`fping {{[-u|--unreach]}} {{[-g|--generate]}} {{192.168.1.0/24}}` diff --git a/pages.id/common/freshclam.md b/pages.id/common/freshclam.md new file mode 100644 index 00000000000000..9553e21d6aae12 --- /dev/null +++ b/pages.id/common/freshclam.md @@ -0,0 +1,8 @@ +# freshclam + +> Mutakhirkan basis data (database) definisi virus untuk program antivirus ClamAV. +> Informasi lebih lanjut: . + +- Mutakhirkan basis data (database) definisi virus: + +`freshclam` diff --git a/pages.id/common/frp.md b/pages.id/common/frp.md new file mode 100644 index 00000000000000..40260638754b5d --- /dev/null +++ b/pages.id/common/frp.md @@ -0,0 +1,12 @@ +# frp + +> Fast Reverse Proxy: atur kanal terowongan jaringan komputer untuk dapat mengekspos sebagian layanan komputer peladen menuju Internet atau jaringan komputer lainnya. +> Informasi lebih lanjut: . + +- Lihat dokumentasi untuk `frpc`, program klien untuk jaringan `frp`: + +`tldr frpc` + +- Lihat dokumentasi untuk `frps`, program peladen/server jaringan `frp`: + +`tldr frps` diff --git a/pages.id/common/frpc.md b/pages.id/common/frpc.md new file mode 100644 index 00000000000000..76619225ccaca8 --- /dev/null +++ b/pages.id/common/frpc.md @@ -0,0 +1,29 @@ +# frpc + +> Hubungkan perangkat menuju jaringan proksi yang diatur oleh suatu peladen/server `frps`. +> Bagian dari `frp`. +> Informasi lebih lanjut: . + +- Jalankan layanan klien, menggunakan berkas konfigurasi bawaan/default (diasumsikan merupakan berkas `frps.ini` yang terletak pada direktori saat ini): + +`frpc` + +- Jalankan layanan menggunakan berkas konfigurasi dengan format terbaru berbasis TOML (`frps.toml` daripada `frps.ini`) pada direktori saat ini: + +`frpc {{[-c|--config]}} ./frps.toml` + +- Start the service, using a specific configuration file: + +`frpc {{[-c|--config]}} {{jalan/menuju/berkas}}` + +- Periksa apakah isi suatu berkas konfigurasi menggunakan format yang valid: + +`frpc verify {{[-c|--config]}} {{jalan/menuju/berkas}}` + +- Tampilkan isi skrip shell yang perlu dijalankan untuk mengaktifkan fitur penyelesaian perintah otomatis (autocomplete) bagi Bash, fish, PowerShell, maupun Zsh: + +`frpc completion {{bash|fish|powershell|zsh}}` + +- Tampilkan informasi versi: + +`frpc {{[-v|--version]}}` diff --git a/pages.id/common/frps.md b/pages.id/common/frps.md new file mode 100644 index 00000000000000..55f4524f01c009 --- /dev/null +++ b/pages.id/common/frps.md @@ -0,0 +1,29 @@ +# frps + +> Buat suatu peladen pelayan jaringan proksi terbalik (reverse proksi). +> Bagian dari `frp`. +> Informasi lebih lanjut: . + +- Jalankan layanan peladen, menggunakan berkas konfigurasi bawaan/default (diasumsikan merupakan berkas `frps.ini` yang terletak pada direktori saat ini): + +`frps` + +- Jalankan layanan menggunakan berkas konfigurasi dengan format terbaru berbasis TOML (`frps.toml` daripada `frps.ini`) pada direktori saat ini: + +`frps {{[-c|--config]}} ./frps.toml` + +- Start the service, using a specific configuration file: + +`frps {{[-c|--config]}} {{jalan/menuju/berkas}}` + +- Periksa apakah isi suatu berkas konfigurasi menggunakan format yang valid: + +`frps verify {{[-c|--config]}} {{jalan/menuju/berkas}}` + +- Tampilkan isi skrip shell yang perlu dijalankan untuk mengaktifkan fitur penyelesaian perintah otomatis (autocomplete) bagi Bash, fish, PowerShell, maupun Zsh: + +`frps completion {{bash|fish|powershell|zsh}}` + +- Tampilkan informasi versi: + +`frps {{[-v|--version]}}` diff --git a/pages.id/common/fuck.md b/pages.id/common/fuck.md new file mode 100644 index 00000000000000..3c552646407e8b --- /dev/null +++ b/pages.id/common/fuck.md @@ -0,0 +1,16 @@ +# fuck + +> Koreksi perintah konsol sebelumnya. +> Informasi lebih lanjut: . + +- Pasang alias `fuck` ke alat `thefuck`: + +`eval "$(thefuck --alias)"` + +- Coba cocokkan aturan untuk perintah sebelumnya: + +`fuck` + +- Pilih pilihan pertama secara langsung (argumen yang benar tergantung dari tingkat kejengkelan): + +`fuck --{{yes|yeah|hard}}` diff --git a/pages.id/common/g++.md b/pages.id/common/g++.md new file mode 100644 index 00000000000000..76bf812f8558f9 --- /dev/null +++ b/pages.id/common/g++.md @@ -0,0 +1,37 @@ +# g++ + +> Susun kode sumber C++. +> Bagian dari GCC (GNU Compiler Collection). +> Informasi lebih lanjut: . + +- Ubah suatu berkas kode sumber menjadi program: + +`g++ {{jalan/menuju/sumber1.c jalan/menuju/sumber2.cpp ...}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Tampilkan pesan peringatan dan galat dalam output: + +`g++ {{jalan/menuju/sumber.cpp}} -Wall {{[-o|--output]}} {{jalan/menuju/program}}` + +- Izinkan peringatan dan simbol debug dalam output: + +`g++ {{jalan/menuju/sumber.cpp}} -Wall {{-g|--debug}} -Og {{[-o|--output]}} {{jalan/menuju/program}}` + +- Pilih standar bahasa untuk dikompilasi (C++98/C++11/C++14/C++17): + +`g++ {{jalan/menuju/sumber.cpp}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Sertakan pustaka (library) dari direktori yang berbeda: + +`g++ {{jalan/menuju/sumber.cpp}} {{[-o|--output]}} {{jalan/menuju/program}} -I{{jalan/menuju/header}} -L{{jalan/menuju/pustaka}} -l{{nama_pustaka}}` + +- Susun dan gabungkan beberapa berkas kode sumber menjadi suatu berkas program biner: + +`g++ {{-c|--compile}} {{jalan/menuju/sumber1.cpp jalan/menuju/sumber2.cpp ...}} && g++ {{[-o|--output]}} {{jalan/menuju/program}} {{jalan/menuju/sumber1.o jalan/menuju/sumber2.o ...}}` + +- [O]ptimalkan progam yang disusun agar dapat dijalankan lebih cepat: + +`g++ {{jalan/menuju/sumber.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Tampilkan versi penyusun: + +`g++ --version` diff --git a/pages.id/common/gcc.md b/pages.id/common/gcc.md new file mode 100644 index 00000000000000..ac9c01c873cbec --- /dev/null +++ b/pages.id/common/gcc.md @@ -0,0 +1,37 @@ +# gcc + +> Praproses dan susun kode sumber C dan C++, lalu rakit dan gabungkan bersama-sama. +> Bagian dari GCC (GNU Compiler Collection). +> Informasi lebih lanjut: . + +- Ubah beberapa sumber kode menjadi program: + +`gcc {{jalan/menuju/sumber1.c jalan/menuju/sumber2.c ...}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Tampilkan pesan peringatan dan galat dalam output: + +`gcc {{jalan/menuju/sumber.c}} -Wall {{[-o|--output]}} {{jalan/menuju/program}}` + +- Izinkan peringatan dan simbol debug dalam output: + +`gcc {{jalan/menuju/sumber.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{jalan/menuju/program}}` + +- Sertakan pustaka (library) dari direktori yang berbeda: + +`gcc {{jalan/menuju/sumber.c}} {{[-o|--output]}} {{jalan/menuju/program}} -I{{jalan/menuju/header}} -L{{jalan/menuju/pustaka}} -l{{nama_pustaka}}` + +- Susun kode sumber ke dalam bahasa tingkat rendah (assembly): + +`gcc {{[-S|--assemble]}} {{jalan/menuju/sumber.c}}` + +- Susun kode sumber tanpa digabungkan: + +`gcc {{[-c|--compile]}} {{jalan/menuju/sumber.c}}` + +- [O]ptimalkan progam yang disusun agar dapat dijalankan lebih cepat: + +`gcc {{jalan/menuju/sumber.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{jalan/menuju/program}}` + +- Tampilkan versi penyusun: + +`gcc --version` diff --git a/pages.id/common/gdb.md b/pages.id/common/gdb.md new file mode 100644 index 00000000000000..58bbb2dae817d6 --- /dev/null +++ b/pages.id/common/gdb.md @@ -0,0 +1,24 @@ +# gdb + +> GNU Debugger, alat pengawakutu program komputer. +> Informasi lebih lanjut: . + +- Jalankan pengawakutu pada sebuah berkas program yang dapat dieksekusi: + +`gdb {{berkas_exe}}` + +- Tambahkan suatu proses untuk diawasi oleh gdb: + +`gdb {{[-p|--pid]}} {{berkas_exe}}` + +- Jalankan pengawakutu dengan berkas core: + +`gdb {{[-c|--core]}} {{core}} {{berkas_exe}}` + +- Kirim perintah menuju pengawakutu pada saat dijalankan: + +`gdb {{[-ex|--eval-command]}} "{{perintah}}" {{berkas_exe}}` + +- Lemparkan argumen terhadap berkas program yang dieksekusi saat hendak diawasi oleh GDB: + +`gdb --args {{berkas_exe}} {{argumen1}} {{argumen2}}` diff --git a/pages.id/common/gemtopbm.md b/pages.id/common/gemtopbm.md new file mode 100644 index 00000000000000..4018fd335ecd29 --- /dev/null +++ b/pages.id/common/gemtopbm.md @@ -0,0 +1,8 @@ +# gemtopbm + +> Perintah ini telah digantikan oleh `gemtopnm`. +> Informasi lebih lanjut: . + +- Lihat dokumentasi untuk perintah terkini: + +`tldr gemtopnm` diff --git a/pages.id/common/gemtopnm.md b/pages.id/common/gemtopnm.md new file mode 100644 index 00000000000000..92bf2e8ff18cfb --- /dev/null +++ b/pages.id/common/gemtopnm.md @@ -0,0 +1,16 @@ +# gemtopnm + +> Ubah suatu berkas gambar GEM menjadi gambar PNM. +> Informasi lebih lanjut: . + +- Ubah suatu berkas gambar GEM menjadi gambar PNM: + +`gemtopnm {{jalan/menuju/berkas.img}} > {{path/menuju/output.pnm}}` + +- Tampilkan deskripsi isi dari suatu berkas gambar GEM: + +`gemtopnm -d {{path/menuju/berkas.img}}` + +- Tampilkan informasi versi: + +`gemtopnm -version` diff --git a/pages.id/common/gh-cs.md b/pages.id/common/gh-cs.md new file mode 100644 index 00000000000000..d2fd4c8df82ee8 --- /dev/null +++ b/pages.id/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Perintah ini merupakan alias dari `gh codespace`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr gh codespace` diff --git a/pages.id/common/gh.md b/pages.id/common/gh.md new file mode 100644 index 00000000000000..f5e6e6c9f835eb --- /dev/null +++ b/pages.id/common/gh.md @@ -0,0 +1,37 @@ +# gh + +> Memudahkan pengaksesan GitHub dari command-line. +> Beberapa subcommands seperti `gh config` memiliki dokumentasi sendiri. +> Informasi lebih lanjut: . + +- Mengklon sebuah GitHub repositori di lokal: + +`gh repo clone {{pemilik}}/{{repositori}}` + +- Membuat isu baru: + +`gh issue create` + +- Melihat dan filter issue yang sedang open pada repositori: + +`gh issue list` + +- Melihat isu di browser: + +`gh issue view --web {{nomor_isu}}` + +- Membuat sebuah pull request: + +`gh pr create` + +- Melihat pull request di browser: + +`gh pr view --web {{nomor_pr}}` + +- Mengecek pada local branch sebuah pull request, diikuti dengan nomor pull requestnya: + +`gh pr checkout {{nomor_pr}}` + +- Mengecek status pull request pada sebuah repository: + +`gh pr status` diff --git a/pages.id/common/git-abort.md b/pages.id/common/git-abort.md new file mode 100644 index 00000000000000..35bbaffe58388b --- /dev/null +++ b/pages.id/common/git-abort.md @@ -0,0 +1,9 @@ +# git abort + +> Batalkan proses penyatuan melalui rebase, merge, atau cherry-pick yang sedang berlangsung. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Batalkan proses penyatuan (rebase, merge, atau cherry-pick) yang sedang berlangsung: + +`git abort` diff --git a/pages.id/common/git-add.md b/pages.id/common/git-add.md index e747bf1ed3dbe0..b7b5761393ee9d 100644 --- a/pages.id/common/git-add.md +++ b/pages.id/common/git-add.md @@ -1,32 +1,36 @@ # git add -> Menambahkan file yang diubah ke indeks. +> Tambahkan berkas yang diubah ke dalam indeks. > Informasi lebih lanjut: . -- Tambahkan file ke indeks: +- Tambahkan berkas ke dalam indeks: -`git add {{alamat/ke/file}}` +`git add {{jalan/menuju/berkas}}` -- Tambahkan semua file (yang terlacak dan tidak terlacak): +- Tambahkan seluruh berkas (baik yang terlacak maupun tidak terlacak): -`git add -A` +`git add {{[-A|--all]}}` -- Hanya tambahkan file yang sudah terlacak: +- Tambahkan seluruh berkas pada folder saat ini: -`git add -u` +`git add .` -- Tambahkan juga file yang diabaikan: +- Hanya tambahkan berkas yang sudah terlacak: -`git add -f` +`git add {{[-u|--update]}}` -- Menambahkan file ke status stage secara interaktif: +- Tambahkan juga berkas yang diabaikan: -`git add -p` +`git add {{[-f|--force]}}` -- Menambahkan file tertentu ke status stage secara interaktif: +- Tambahkan berkas ke status stage secara interaktif: -`git add -p {{alamat/ke/file}}` +`git add {{[-p|--patch]}}` -- Stage file secara interaktif: +- Tambahkan berkas tertentu ke status stage secara interaktif: -`git add -i` +`git add {{[-p|--patch]}} {{jalan/menuju/berkas}}` + +- Stage berkas secara interaktif: + +`git add {{[-i|--interactive]}}` diff --git a/pages.id/common/git-alias.md b/pages.id/common/git-alias.md new file mode 100644 index 00000000000000..4c219402cd8bac --- /dev/null +++ b/pages.id/common/git-alias.md @@ -0,0 +1,17 @@ +# git alias + +> Buat alias untuk perintah Git. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Tampilkan daftar semua alias: + +`git alias` + +- Buat alias baru: + +`git alias "{{nama}}" "{{perintah}}"` + +- Cari alias yang sudah ada: + +`git alias ^{{nama}}` diff --git a/pages.id/common/git-am.md b/pages.id/common/git-am.md new file mode 100644 index 00000000000000..b7c383613c1e5e --- /dev/null +++ b/pages.id/common/git-am.md @@ -0,0 +1,21 @@ +# git am + +> Gunakan perubahan dari file deskripsi perubahan (patch) untuk melakukan sebuah komit. Dapat digunakan untuk menerima komit melalui surel/email. +> Lihat juga `git format-patch` untuk membuat file deskripsi perubahan/patch. +> Informasi lebih lanjut: . + +- Gunakan dan komit perubahan dari file patch dalam direktori lokal: + +`git am {{jalan/menuju/file.patch}}` + +- Gunakan dan komit perubahan dari file patch dari sumber dalam jaringan (online): + +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` + +- Batalkan proses perubahan yang dilakukan: + +`git am --abort` + +- Lakukan perubahan-perubahan dari file patch sebisa mungkin, dan tolak file patch jika proses tersebut gagal: + +`git am --reject {{jalan/menuju/file.patch}}` diff --git a/pages.id/common/git-annex.md b/pages.id/common/git-annex.md new file mode 100644 index 00000000000000..fa277c71eabc4e --- /dev/null +++ b/pages.id/common/git-annex.md @@ -0,0 +1,29 @@ +# git annex + +> Kelola file dengan Git, tanpa memeriksa isi kontennya. +> Saat file dianeksasi, kontennya dipindahkan ke penyimpanan key-value, dan symlink dibuat yang mengarah ke konten tersebut. +> Informasi lebih lanjut: . + +- Inisialisasi sebuah repositori dengan Git annex: + +`git annex init` + +- Tambahkan file ke dalam repositori: + +`git annex add {{jalan/menuju/file_atau_direktori}}` + +- Tampilkan status file atau direktori saat ini: + +`git annex status {{jalan/menuju/file_atau_direktori}}` + +- Sinkronisasikan repositori lokal dengan sumber remote: + +`git annex {{remote}}` + +- Dapatkan isi file atau direktori: + +`git annex get {{jalan/menuju/file_atau_direktori}}` + +- Tampilkan informasi bantuan: + +`git annex help` diff --git a/pages.id/common/git-annotate.md b/pages.id/common/git-annotate.md new file mode 100644 index 00000000000000..5cbe5274f0bfab --- /dev/null +++ b/pages.id/common/git-annotate.md @@ -0,0 +1,18 @@ +# git annotate + +> Tampilkan kode hash serta pelaku komit terakhir pada setiap baris suatu file teks. +> Lihat juga `git blame`, yang lebih disarankan daripada `git annotate`. +> Perintah `git annotate` disediakan bagi pengguna yang telah familiar pada sistem manajemen versi lainnya. +> Informasi lebih lanjut: . + +- Tampilkan file teks beserta informasi nama pelaku dan kode hash komit terakhir pada akhir setiap baris teks: + +`git annotate {{jalan/menuju/file}}` + +- Tampilkan file dengan informasi komit menggunakan alamat surel/email daripada nama pelaku: + +`git annotate {{[-e|--show-email]}} {{jalan/menuju/file}}` + +- Tampilkan hanya baris-baris teks yang memenuhi kriteria ekspresi reguler: + +`git annotate -L :{{ekspresi_reguler}} {{jalan/menuju/file}}` diff --git a/pages.id/common/git-apply.md b/pages.id/common/git-apply.md new file mode 100644 index 00000000000000..59d003f6e8e8fb --- /dev/null +++ b/pages.id/common/git-apply.md @@ -0,0 +1,29 @@ +# git apply + +> Gunakan perubahan dari file deskripsi perubahan (patch) kepada indeks perubahan tanpa mencatat sebuah komit. +> Lihat juga `git am`, yang sama-sama menggunakan perubahan dari file patch namun juga mencatatnya ke dalam sebuah komit baru. +> Informasi lebih lanjut: . + +- Tampilkan informasi lengkap (mode verbose) atas proses perubahan yang sedang dilakukan: + +`git apply {{[-v|--verbose]}} {{jalan/menuju/file}}` + +- Gunakan patch dan tambahkan file yang diubah ke dalam indeks perubahan: + +`git apply --index {{jalan/menuju/file}}` + +- Gunakan perubahan dari file patch dari sumber dalam jaringan (online): + +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` + +- Tampilkan informasi statistik perbedaan (diffstat) setelah melakukan perubahan menurut file patch: + +`git apply --stat --apply {{jalan/menuju/file}}` + +- Batalkan perubahan yang dilakukan melalui file patch: + +`git apply {{[-R|--reverse]}} {{jalan/menuju/file}}` + +- Simpan hasil perubahan ke dalam indeks perubahan tanpa merubah susunan file/direktori dalam direktori kerja saat ini: + +`git apply --cache {{jalan/menuju/file}}` diff --git a/pages.id/common/git-archive-file.md b/pages.id/common/git-archive-file.md new file mode 100644 index 00000000000000..67a5925bd419e6 --- /dev/null +++ b/pages.id/common/git-archive-file.md @@ -0,0 +1,9 @@ +# git archive-file + +> Ekspor seluruh file pada cabang Git saat ini menjadi sebuah file arsip zip. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Masukkan seluruh file pada komit yang sedang diperiksa ke dalam suatu file arsip zip: + +`git archive-file` diff --git a/pages.id/common/git-archive.md b/pages.id/common/git-archive.md new file mode 100644 index 00000000000000..5692dfc817bf0b --- /dev/null +++ b/pages.id/common/git-archive.md @@ -0,0 +1,28 @@ +# git archive + +> Buat sebuah arsip direktori berdasarkan cabang/tree tertentu. +> Informasi lebih lanjut: . + +- Buat sebuah arsip tar berisikan isi dari tree HEAD saat ini, kemudian tampilkan isi file arsip mentah menuju `stdout`: + +`git archive {{[-v|--verbose]}} HEAD` + +- Buat sebuah arsip zip dari tree HEAD saat ini, kemudian tampilkan isi file arsip mentah menuju `stdout`: + +`git archive {{[-v|--verbose]}} --format zip HEAD` + +- Lakukan hal yang sama, namun simpan arsip zip ke dalam suatu direktori: + +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{jalan/menuju/file.zip}} HEAD` + +- Buat arsip tar dari komit terakhir pada cabang tertentu: + +`git archive {{[-o|--output]}} {{jalan/menuju/file.tar}} {{nama_cabang}}` + +- Buat arsip tar berdasaran subdirektori tertentu pada suatu repositori Git: + +`git archive {{[-o|--output]}} {{jalan/menuju/file.tar}} HEAD:{{jalan/menuju/direktori}}` + +- Bubuhkan nama jalur pada awal nama setiap file, untuk diarsipkan di dalam direktori tertentu: + +`git archive {{[-o|--output]}} {{jalan/menuju/file.tar}} --prefix {{jalan/untuk/dibubuhkan}}/ HEAD` diff --git a/pages.id/common/git-authors.md b/pages.id/common/git-authors.md new file mode 100644 index 00000000000000..adf7e90fdc0381 --- /dev/null +++ b/pages.id/common/git-authors.md @@ -0,0 +1,17 @@ +# git authors + +> Buat daftar pelaku komit pada suatu repositori Git. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Tampilkan daftar pelaku komit menuju `stdout` daripada menuju ke file `AUTHORS`: + +`git authors {{[-l|--list]}}` + +- Masukkan daftar pelaku komit menuju file `AUTHORS`, kemudian buka file tersebut pada aplikasi penyunting file teks default: + +`git authors` + +- Masukkan daftar pelaku komit tanpa informasi alamat surel/email menuju file `AUTHORS`, kemudian buka file tersebut pada aplikasi penyunting file teks default: + +`git authors --no-email` diff --git a/pages.id/common/git-bisect.md b/pages.id/common/git-bisect.md new file mode 100644 index 00000000000000..88d58ac0b5d8a4 --- /dev/null +++ b/pages.id/common/git-bisect.md @@ -0,0 +1,25 @@ +# git bisect + +> Lakukan strategi pencarian/pembelahan biner untuk mencari komit yang menyebabkan masalah/bug. +> Git akan secara otomatis melompat bolak-balik dalam grafik komit untuk semakin mempersempit kandidat komit yang bermasalah. +> Informasi lebih lanjut: . + +- Jalankan sesi pembelahan biner pada suatu rentang komit antara komit bermasalah dan komit (biasanya terdahulu) yang diketahui tak bermasalah: + +`git bisect start {{komit_bermasalah}} {{komit_baik}}` + +- Untuk setiap komit yang dipilih oleh `git bisect`, tandai komit tersebut sebagai baik (good) atau buruk (bad) setelah mencobanya: + +`git bisect {{good|bad}}` + +- Setelah `git bisect` berhasil menemukan komit yang bermasalah, akhiri sesi pembelahan dan kembali kepada cabang sebelumnya: + +`git bisect reset` + +- Lewati pengecekan suatu komit saat proses pembelahan berlangsung (misal: karena terdapat masalah yang disebabkan oleh faktor lain): + +`git bisect skip` + +- Tampilkan log tentang kemajuan proses pembelahan saat ini: + +`git bisect log` diff --git a/pages.id/common/git-blame-someone-else.md b/pages.id/common/git-blame-someone-else.md new file mode 100644 index 00000000000000..0912e8141cd0a1 --- /dev/null +++ b/pages.id/common/git-blame-someone-else.md @@ -0,0 +1,8 @@ +# git blame-someone-else + +> Salahkan orang lain karena kode buruk Anda. +> Informasi lebih lanjut: . + +- Ubah nama penulis dan pelaku komit: + +`git blame-someone-else "{{pelaku }}" {{komit}}` diff --git a/pages.id/common/git-blame.md b/pages.id/common/git-blame.md new file mode 100644 index 00000000000000..77fe08fcd5a246 --- /dev/null +++ b/pages.id/common/git-blame.md @@ -0,0 +1,20 @@ +# git blame + +> Tampilkan informasi kode hash dan pelaku komit terakhir pada setiap baris dalam suatu berkas teks. +> Informasi lebih lanjut: . + +- Tampilkan berkas teks beserta informasi nama pelaku dan kode hash komit terakhir pada akhir setiap baris teks: + +`git blame {{jalan/menuju/berkas}}` + +- Tampilkan berkas dengan informasi komit menggunakan alamat surel/email daripada nama pelaku: + +`git blame {{[-e|--show-email]}} {{jalan/menuju/berkas}}` + +- Tampilkan informasi nama pelaku dan kode hash komit terakhir pada berkas yang disimpan dalam komit tertentu: + +`git blame {{komit}} {{jalan/menuju/berkas}}` + +- Tampilkan informasi nama pelaku dan kode hash komit terakhir pada berkas yang disimpan sebelum komit tertentu: + +`git blame {{komit}}~ {{jalan/menuju/berkas}}` diff --git a/pages.id/common/git-branch.md b/pages.id/common/git-branch.md index 3b5758261e3865..93d929bcac7ae3 100644 --- a/pages.id/common/git-branch.md +++ b/pages.id/common/git-branch.md @@ -1,17 +1,17 @@ # git branch -> Perintah Git utama untuk bekerja dengan cabang (*branch*). +> Perintah Git utama untuk bekerja dengan cabang (_branch_). > Informasi lebih lanjut: . -- Menampilkan daftar cabang lokal. Cabang saat ini ditandai oleh `*`: +- Tampilkan daftar semua cabang (lokal dan remote; cabang saat ini ditandai oleh `*`) : -`git branch` +`git branch {{[-a|--all]}}` -- Menampilkan daftar semua cabang (lokal dan remote): +- Tampilkan daftar semua cabang yang memiliki komit Git tertentu di dalam riwayat: -`git branch -a` +`git branch {{[-a|--all]}} --contains {{hash_komit}}` -- Tunjukkan nama cabang saat ini: +- Tampilkan nama cabang saat ini: `git branch --show-current` @@ -23,14 +23,14 @@ `git branch {{nama_cabang}} {{hash_komit}}` -- Ganti nama cabang (harus bukan cabang saat ini untuk melakukannya): +- Ubah nama cabang (harus bukan cabang saat ini untuk melakukannya): -`git branch -m {{nama_cabang_lama}} {{nama_cabang_baru}}` +`git branch {{[-m|--move]}} {{nama_cabang_lama}} {{nama_cabang_baru}}` - Hapus cabang lokal (harus bukan cabang saat ini untuk melakukannya): -`git branch -d {{nama_cabang}}` +`git branch {{[-d|--delete]}} {{nama_cabang}}` - Hapus cabang remote: -`git push {{nama_remote}} --delete {{nama_cabang_remote}}` +`git push {{nama_remote}} {{[-d|--delete]}} {{nama_cabang_remote}}` diff --git a/pages.id/common/git-browse-ci.md b/pages.id/common/git-browse-ci.md new file mode 100644 index 00000000000000..738495fe747185 --- /dev/null +++ b/pages.id/common/git-browse-ci.md @@ -0,0 +1,13 @@ +# git browse-ci + +> Buka laman sistem CI yang dipakai dalam repositori `git` pada aplikasi peramban web (web browser) default. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Buka konfigurasi CI repositori saat ini pada situs web yang memiliki sumber/hulu jauh (upstream remote) utama: + +`git browse-ci` + +- Buka konfigurasi CI repositori saat ini pada situs web yang memiliki sumber/hulu jauh (upstream remote) tertentu: + +`git browse-ci {{hulu_jauh}}` diff --git a/pages.id/common/git-browse.md b/pages.id/common/git-browse.md new file mode 100644 index 00000000000000..c48601bb6a7882 --- /dev/null +++ b/pages.id/common/git-browse.md @@ -0,0 +1,13 @@ +# git browse + +> Lihat isi repositori dalam aplikasi peramban web (web browser) default. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Buka repositori dalam sumber/hulu jauh (upstream remote) utama pada peramban web default: + +`git browse` + +- Buka repositori dalam sumber/hulu jauh (upstream remote) tertentu pada peramban web default: + +`git browse {{hulu_jauh}}` diff --git a/pages.id/common/git-brv.md b/pages.id/common/git-brv.md new file mode 100644 index 00000000000000..8b8ae7190cb3e2 --- /dev/null +++ b/pages.id/common/git-brv.md @@ -0,0 +1,9 @@ +# git brv + +> Tampilkan daftar cabang yang diurutkan berdasarkan tanggal komit terkini. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Tampilkan dan urutkan setiap cabang, beserta informasi tanggal, kode hash, dan pesan komit terakhir: + +`git brv` diff --git a/pages.id/common/git-bug.md b/pages.id/common/git-bug.md new file mode 100644 index 00000000000000..e92fddd2b49a44 --- /dev/null +++ b/pages.id/common/git-bug.md @@ -0,0 +1,33 @@ +# git bug + +> Manajer laporan masalah/bug yang menggunakan penyimpanan git, sehingga tidak memengaruhi susunan berkas dalam direktori proyek Anda. +> Anda dapat memasukkan laporan melalui sumber/hulu jauh (remote) yang sama untuk berinteraksi dengan laporan dan pengguna lainnya seperti mengatur komit dan cabang. +> Informasi lebih lanjut: . + +- Buat identitas/pengguna baru: + +`git bug user create` + +- Buat laporan masalah/bug baru: + +`git bug add` + +- Kumpulkan laporan-laporan baru menuju sumber/hulu jarak jauh: + +`git bug push` + +- Dapatkan pembaruan atas daftar masalah dari sumber/hulu jarak jauh: + +`git bug pull` + +- Lihat daftar masalah/bug yang sebelumnya telah dilaporkan: + +`git bug ls` + +- Saring (filter) dan urutkan (sort) laporan menggunakan kata kunci permintaan tertentu: + +`git bug ls "{{status}}:{{open}} {{sort}}:{{edit}}"` + +- Cari laporan menurut kata kunci teks: + +`git bug ls "{{kata_kunci}}" baz` diff --git a/pages.id/common/git-bugreport.md b/pages.id/common/git-bugreport.md new file mode 100644 index 00000000000000..91b255c662820d --- /dev/null +++ b/pages.id/common/git-bugreport.md @@ -0,0 +1,16 @@ +# git bugreport + +> Tangkap dan simpan informasi sistem dan pengguna Git dalam berkas teks untuk kepentingan melaporkan dan menyelesaikan masalah/bug internal dalam Git. +> Informasi lebih lanjut: . + +- Buat berkas laporan masalah/bug baru pada direktori saat ini: + +`git bugreport` + +- Buat berkas laporan pada direktori tertentu, dan buat direktori tersebut jika belum: + +`git bugreport {{[-o|--output-directory]}} {{jalan/menuju/direktori}}` + +- Buat berkas laporan baru, dengan nama berkas diakhiri dengan tanggal pelaporan menurut format `strftime`: + +`git bugreport {{[-s|--suffix]}} {{%m%d%y}}` diff --git a/pages.id/common/git-bulk.md b/pages.id/common/git-bulk.md new file mode 100644 index 00000000000000..f42b5b0cfcec46 --- /dev/null +++ b/pages.id/common/git-bulk.md @@ -0,0 +1,37 @@ +# git bulk + +> Lakukan operasi yang sama dalam lebih dari satu repositori Git. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Daftarkan direktori saat ini sebagai tempat kerja (workspace): + +`git bulk --addcurrent {{nama_workspace}}` + +- Masukkan tempat kerja saat ini ke dalam daftar direktori yang akan diubah: + +`git bulk --addworkspace {{nama_workspace}} {{/jalan/absolut/menuju/repositori}}` + +- Gandakan suatu repositori ke dalam direktori induk tertentu, kemudian masukkan repositori baru tersebut sebagai tempat kerja: + +`git bulk --addworkspace {{nama_workspace}} {{/jalan/absolut/menuju/direktori_induk}} --from {{lokasi_repositori_remote}}` + +- Gandakan lebih dari satu repositori ke dalam direktori induk tertentu (menurut berkas daftar lokasi remote yang dipisah dengan barisan baru), kemudian masukkan sebagai tempat kerja: + +`git bulk --addworkspace {{nama_workspace}} {{/jalan/absolut/menuju/direktori_induk}} --from {{/jalan/absolut/menuju/berkas}}` + +- Tampilkan daftar seluruh tempat kerja yang terdaftar: + +`git bulk --listall` + +- Jalankan sebuah perintah Git pada kumpulan repositori yang dikelola oleh tempat kerja saat ini: + +`git bulk {{perintah}} {{argumen-argumen_perintah}}` + +- Hapus suatu tempat dari daftar tempat kerja (hal ini tidak akan menghilangkan seluruh isi direktori yang direferensikan sebagai tempat kerja): + +`git bulk --removeworkspace {{nama_workspace}}` + +- Hapus seluruh tempat dari daftar tempat kerja: + +`git bulk --purge` diff --git a/pages.id/common/git-bundle.md b/pages.id/common/git-bundle.md new file mode 100644 index 00000000000000..d1b99c98b5056a --- /dev/null +++ b/pages.id/common/git-bundle.md @@ -0,0 +1,36 @@ +# git bundle + +> Bungkus seluruh objek dan referensi internal Git ke dalam suatu berkas arsip. +> Informasi lebih lanjut: . + +- Buat sebuah berkas (bundle) dengan seluruh objek dan referensi Git pada cabang tertentu: + +`git bundle create {{jalan/menuju/berkas.bundle}} {{nama_cabang}}` + +- Bungkus objek dan referensi untuk seluruh cabang: + +`git bundle create {{jalan/menuju/berkas.bundle}} --all` + +- Bungkus objek dan referensi untuk lima komit terakhir pada cabang saat ini: + +`git bundle create {{jalan/menuju/berkas.bundle}} -5 {{HEAD}}` + +- Bungkus objek dan referensi untuk perubahan sejak 7 hari terakhir: + +`git bundle create {{jalan/menuju/berkas.bundle}} --since 7.days {{HEAD}}` + +- Cek apakah suatu berkas bundle bersifat valid dan dapat diaplikasikan ke dalam repositori saat ini: + +`git bundle verify {{jalan/menuju/berkas.bundle}}` + +- Cetak daftar berkas referensi yang terkandung dalam berkas bundle menuju `stdout`: + +`git bundle unbundle {{jalan/menuju/berkas.bundle}}` + +- Buka dan pakai isi bungkusan untuk suatu cabang pada repositori saat ini: + +`git pull {{jalan/menuju/berkas.bundle}} {{nama_cabang}}` + +- Buat sebuah repositori baru dari suatu berkas bundle: + +`git clone {{jalan/menuju/berkas.bundle}}` diff --git a/pages.id/common/git-cat-file.md b/pages.id/common/git-cat-file.md new file mode 100644 index 00000000000000..96888945c2bb37 --- /dev/null +++ b/pages.id/common/git-cat-file.md @@ -0,0 +1,16 @@ +# git cat-file + +> Dapatkan informasi konten atau jenis dan ukuran untuk objek repositori Git. +> Informasi lebih lanjut: . + +- Dapatkan ukuran ([s]ize) untuk komit terkini (HEAD), dalam hitungan bita/byte: + +`git cat-file -s HEAD` + +- Dapatkan [t]ipe yang direferensikan dalam suatu objek Git (seperti blob, tree, komit, atau tag): + +`git cat-file -t {{8c442dc3}}` + +- Cetak isi objek Git yang diberikan berdasarkan jenisnya, dalam format yang mudah dibaca manusia: + +`git cat-file -p {{HEAD~2}}` diff --git a/pages.id/common/git-changelog.md b/pages.id/common/git-changelog.md new file mode 100644 index 00000000000000..6da4476c1a7055 --- /dev/null +++ b/pages.id/common/git-changelog.md @@ -0,0 +1,33 @@ +# git changelog + +> Buat laporan riwayat perubahan (changelog) dari daftar komit dan tag yang terkandung dalam repositori Git. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Buat atau mutakhirkan file `History.md` berisikan riwayat komit sejak tag komit Git terkini: + +`git changelog` + +- Tampilkan daftar komit pada versi saat ini: + +`git changelog {{[-l|--list]}}` + +- Tampilkan daftar rentang komit yang dilakukan sejak tag komit `2.1.0` hingga komit terkini: + +`git changelog {{[-l|--list]}} {{[-s|--start-tag]}} {{2.1.0}}` + +- Tampilkan, dengan format yang mudah dibaca manusia, daftar rentang komit antara tag `0.5.0` dan `1.0.0`: + +`git changelog {{[-s|--start-tag]}} {{0.5.0}} {{[-f|--final-tag]}} {{1.0.0}}` + +- Tampilkan, dengan format yang mudah dibaca manusia, daftar rentang komit antara komit `0b97430` dan komit yang ditandai sebagai tag `1.0.0`: + +`git changelog --start-commit {{0b97430}} {{[-f|--final-tag]}} {{1.0.0}}` + +- Gunakan `CHANGELOG.md` untuk menyimpan informasi daftar perubahan tersebut: + +`git changelog {{CHANGELOG.md}}` + +- Hapus dan gantikan keseluruhan isi file perubahan dengan yang baru: + +`git changelog {{[-p|--prune-old]}}` diff --git a/pages.id/common/git-check-attr.md b/pages.id/common/git-check-attr.md new file mode 100644 index 00000000000000..a7a77a0e2b64b1 --- /dev/null +++ b/pages.id/common/git-check-attr.md @@ -0,0 +1,20 @@ +# git check-attr + +> Tampilkan daftar jalur direktori (pathname) beserta atribut internal Git (gitattribute) yang diasosiasikan terhadap direktori tersebut. +> Informasi lebih lanjut: . + +- Tampilkan informasi seluruh atribut Git dalam suatu berkas: + +`git check-attr --all {{jalan/menuju/berkas}}` + +- Cek nilai suatu atribut Git dalam suatu berkas: + +`git check-attr {{atribut}} {{jalan/menuju/berkas}}` + +- Cek nilai seluruh atribut Git dalam kumpulan berkas: + +`git check-attr --all {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Cek nilai suatu atribut Git dalam kumpulan berkas: + +`git check-attr {{atribut}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` diff --git a/pages.id/common/git-check-ignore.md b/pages.id/common/git-check-ignore.md new file mode 100644 index 00000000000000..dc05a285704954 --- /dev/null +++ b/pages.id/common/git-check-ignore.md @@ -0,0 +1,24 @@ +# git check-ignore + +> Analisa kumpulan file yang diabaikan/dikecualikan oleh Git (didefinisikan dalam ".gitignore"). +> Informasi lebih lanjut: . + +- Cek apakah suatu file atau direktori telah diabaikan: + +`git check-ignore {{jalan/menuju/file_atau_direktori}}` + +- Cek apakah lebih dari satu file atau direktori telah diabaikan: + +`git check-ignore {{jalan/menuju/file_atau_direktori1 jalan/menuju/file_atau_direktori2 ...}}` + +- Cek pengecualian file dan direktori menggunakan daftar yang didefinisikan dalam `stdin`: + +`git check-ignore --stdin < {{jalan/menuju/file_daftar}}` + +- Jangan cek index Git (biasanya dipakai untuk mengetahui mengapa terdapat jalur yang tetap dilacak Git dan tak diabaikan): + +`git check-ignore --no-index {{jalan/menuju/file_atau_direktori1 jalan/menuju/file_atau_direktori2 ...}}` + +- Tampilkan informasi pola pengecualian `.gitignore` yang dipakai untuk mengecualikan setiap jalur: + +`git check-ignore {{[-v|--verbose]}} {{jalan/menuju/file_atau_direktori1 jalan/menuju/file_atau_direktori2 ...}}` diff --git a/pages.id/common/git-check-mailmap.md b/pages.id/common/git-check-mailmap.md new file mode 100644 index 00000000000000..ebc5693160bc25 --- /dev/null +++ b/pages.id/common/git-check-mailmap.md @@ -0,0 +1,8 @@ +# git check-mailmap + +> Tampilkan nama kanonikal dan alamat surel/email dalam kontak yang disimpan dalam Git. +> Informasi lebih lanjut: . + +- Temukan nama kanonikal dari alamat surel/email yang dimasukkan: + +`git check-mailmap "<{{email@example.com}}>"` diff --git a/pages.id/common/git-check-ref-format.md b/pages.id/common/git-check-ref-format.md new file mode 100644 index 00000000000000..ac89b3c8a3d0b3 --- /dev/null +++ b/pages.id/common/git-check-ref-format.md @@ -0,0 +1,16 @@ +# git check-ref-format + +> Cek apakah nama suatu referensi (refname) sesuai syarat, dan keluar dengan nilai status di luar angka nol jika tidak. +> Informasi lebih lanjut: . + +- Cek kesesuaian format suatu nama referensi: + +`git check-ref-format {{refs/head/refname}}` + +- Cetak nama cabang yang terakhir kali diperiksa sebelum mengganti ke cabang saat ini: + +`git check-ref-format --branch @{-1}` + +- Lakukan normalisasi terhadap nama referensi: + +`git check-ref-format --normalize {{refs/head/refname}}` diff --git a/pages.id/common/git-checkout-index.md b/pages.id/common/git-checkout-index.md new file mode 100644 index 00000000000000..2a49fed16c82da --- /dev/null +++ b/pages.id/common/git-checkout-index.md @@ -0,0 +1,20 @@ +# git checkout-index + +> Salin file dari indeks menuju direktori kerja saat ini. +> Informasi lebih lanjut: . + +- Pulihkan berkas-berkas yang terhapus sejak komit terakhir: + +`git checkout-index --all` + +- Pulihkan berkas-berkas yang terhapus atau termodifikasi sejak komit terakhir: + +`git checkout-index --all --force` + +- Pulihkan berkas-berkas yang diubah sejak komit terakhir, mengabaikan berkas-berkas yang telah dihapus sebelumnya: + +`git checkout-index --all --force --no-create` + +- Ekspor sebuah salinan pohon (tree) pada komit terakhir kepada suatu direktori (nama direktori pada `--prefix` perlu diakhiri dengan garis miring): + +`git checkout-index --all --force --prefix={{jalan/menuju/direktori_ekspor/}}` diff --git a/pages.id/common/git-checkout.md b/pages.id/common/git-checkout.md index 75d30faa7a3928..bc4ea2766d1020 100644 --- a/pages.id/common/git-checkout.md +++ b/pages.id/common/git-checkout.md @@ -1,36 +1,36 @@ # git checkout -> Checkout cabang atau alamat ke direktori kerja. +> Periksa isi (checkout) cabang atau alamat ke direktori kerja. > Informasi lebih lanjut: . -- Membuat dan beralih ke cabang baru: +- Buat cabang baru, kemudian lihat isinya: `git checkout -b {{nama_cabang}}` -- Membuat dan beralih ke cabang baru berdasarkan referensi tertentu (misal cabang, remote, cabang remote, dan tag): +- Buat ke cabang baru berdasarkan referensi tertentu (misal cabang, remote, cabang remote, dan tag), kemudian lihat isinya: -`git checkout -b {{nama_cabang}} {{referense}}` +`git checkout -b {{nama_cabang}} {{referensi}}` -- Beralih ke cabang lokal yang ada: +- Lihat isi suatu cabang lokal: `git checkout {{nama_cabang}}` -- Beralih ke cabang yang sebelumnya di checkout: +- Lihat kembali cabang yang terakhir kali dilihat sebelum cabang saat ini: `git checkout -` -- Beralih ke cabang remote yang ada: +- Lihat isi cabang yang bersumber dari sumber jauh (remote): -`git checkout --track {{nama_remote}}/{{nama_cabang}}` +`git checkout {{[-t|--track]}} {{nama_remote}}/{{nama_cabang}}` -- Menyingkirkan semua perubahan yang tidak masuk status stage pada direktori saat ini (lihat `git reset` untuk perintah yang lebih mirip undo): +- Singkirkan semua perubahan yang tidak masuk status stage pada direktori saat ini (lihat `git reset` untuk perintah yang lebih mirip undo): `git checkout .` -- Menyingkirkan perubahan yang tidak masuk status stage pada berkas: +- Singkirkan perubahan yang tidak masuk status stage pada berkas: `git checkout {{nama_berkas}}` -- Mengganti berkas pada direktori saat ini dengan versi pada cabang lain: +- Ganti berkas pada direktori saat ini dengan versi pada cabang lain: `git checkout {{nama_cabang}} -- {{nama_berkas}}` diff --git a/pages.id/common/git-cherry-pick.md b/pages.id/common/git-cherry-pick.md new file mode 100644 index 00000000000000..9666956fe6e992 --- /dev/null +++ b/pages.id/common/git-cherry-pick.md @@ -0,0 +1,21 @@ +# git cherry-pick + +> Lakukan perubahan yang tercatat pada komit-komit saat ini menuju cabang saat ini. +> Gunakan `git checkout` terlebih dahulu jika hendak melakukan perubahan pada cabang lainnya. +> Informasi lebih lanjut: . + +- Lakukan perubahan menurut suatu komit terhadap cabang saat ini: + +`git cherry-pick {{komit}}` + +- Lakukan perubahan berdasarkan urutan komit terhadap cabang saat ini (lihat juga `git rebase --onto`): + +`git cherry-pick {{komit_awal}}~..{{komit_akhir}}` + +- Lakukan perubahan berdasarkan kumpulan komit (tak berurut) terhadap cabang saat ini: + +`git cherry-pick {{komit1 komit2 ...}}` + +- Lakukan perubahan pada direktori kerja saat ini tanpa mencatat komit baru: + +`git cherry-pick {{[-n|--no-commit]}} {{komit}}` diff --git a/pages.id/common/git-cherry.md b/pages.id/common/git-cherry.md new file mode 100644 index 00000000000000..ba81758a3c8a5b --- /dev/null +++ b/pages.id/common/git-cherry.md @@ -0,0 +1,16 @@ +# git cherry + +> Cari komit yang belum dimasukkan kepada hulu (upstream). +> Informasi lebih lanjut: . + +- Lihat daftar komit (beserta pesannya) dengan komit-komit serupa pada hulu (upstream): + +`git cherry {{[-v|--verbose]}}` + +- Gunakan sumber hulu dan cabang topik yang lain: + +`git cherry {{origin}} {{topik}}` + +- Tampilkan hanya komit yang muncul hingga komit ini: + +`git cherry {{origin}} {{topic}} {{hingga_komit_ini}}` diff --git a/pages.id/common/git-clean.md b/pages.id/common/git-clean.md new file mode 100644 index 00000000000000..e9620a46ec4bb4 --- /dev/null +++ b/pages.id/common/git-clean.md @@ -0,0 +1,28 @@ +# git clean + +> Hapus berkas-berkas yang tak dilacak oleh Git pada pohon direktori kerja saat ini. +> Informasi lebih lanjut: . + +- Hapus seluruh berkas yang tak dilacak: + +`git clean` + +- Hapus menggunakan mode interaktif: + +`git clean {{[-i|--interactive]}}` + +- Tampilkan kumpulan berkas yang akan dihapus tanpa menghapusnya: + +`git clean {{[-n|--dry-run]}}` + +- Hapus berkas-berkas secara paksa: + +`git clean {{[-f|--force]}}` + +- Hapus kumpulan [d]irektori secara paksa: + +`git clean {{[-f|--force]}} -d` + +- Hapus berkas-berkas yang tak dilacak, termasuk berkas yang dikecualikan (menurut daftar `.gitignore` dan `.git/info/exclude`): + +`git clean -x` diff --git a/pages.id/common/git-clear-soft.md b/pages.id/common/git-clear-soft.md new file mode 100644 index 00000000000000..3424dc71eb7dfc --- /dev/null +++ b/pages.id/common/git-clear-soft.md @@ -0,0 +1,9 @@ +# git clear-soft + +> Hapus direktori kerja Git tidak termasuk file di `.gitignore`, seolah-olah baru saja dikloning dengan cabang saat ini. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Reset semua file yang terlacak dan hapus semua file yang tidak terlacak: + +`git clear-soft` diff --git a/pages.id/common/git-clear.md b/pages.id/common/git-clear.md new file mode 100644 index 00000000000000..f7e3be9bda033b --- /dev/null +++ b/pages.id/common/git-clear.md @@ -0,0 +1,9 @@ +# git clear + +> Bersihkan isi direktori kerja Git menuju kondisi semula (seperti disalin melalui `git clone`) pada cabang saat ini, termasuk berkas-berkas yang dikecualikan menurut daftar `.gitignore`. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Setel ulang seluruh isi berkas yang dilacak oleh Git, serta hapus seluruh berkas yang tak dilacak meskipun dikecualikan menurut daftar `.gitignore`: + +`git clear` diff --git a/pages.id/common/git-cliff.md b/pages.id/common/git-cliff.md new file mode 100644 index 00000000000000..e5cff208fba9a9 --- /dev/null +++ b/pages.id/common/git-cliff.md @@ -0,0 +1,24 @@ +# git cliff + +> Suatu pembuat teks daftar perubahan (changelog) yang mudah diatur. +> Informasi lebih lanjut: . + +- Buat suatu pesan changelog dari seluruh komit dalam suatu repositori Git, kemudian simpan ke dalam `CHANGELOG.md`: + +`git cliff > {{CHANGELOG.md}}` + +- Buat suatu pesan changelog atas komit-komit yang dimulai sejak tag terkini dan tampilkan pesan menuju `stdout`: + +`git cliff {{[-l|--latest]}}` + +- Buat suatu pesan changelog atas komit-komit yang masuk ke dalam tag saat ini (gunakan `git checkout` atas suatu tag sebelum melakukan ini): + +`git cliff --current` + +- Buat suatu pesan changelog atas komit-komit yang tidak termasuk dalam tag apapun: + +`git cliff {{[-u|--unreleased]}}` + +- Tulis berkas konfigurasi bawaan menuju `cliff.toml` dalam direktori saat ini: + +`git cliff {{[-i|--init]}}` diff --git a/pages.id/common/git-clone.md b/pages.id/common/git-clone.md index 69455b829dee7c..b6d4fd26e41e42 100644 --- a/pages.id/common/git-clone.md +++ b/pages.id/common/git-clone.md @@ -1,24 +1,36 @@ # git clone -> Mengkloning repositori yang ada. +> Gandakan repositori dari lokasi luar/remote menuju lokal. > Informasi lebih lanjut: . -- Mengkloning repositori yang ada: +- Gandakan repositori yang ada ke direktori tertentu: -`git clone {{lokasi_repositori_remote}}` +`git clone {{lokasi_repositori_remote}} {{jalan/menuju/direktori}}` -- Mengkloning reposiori yang ada dan submodulenya: +- Gandakan repositori yang ada dan submodulnya: `git clone --recursive {{lokasi_repositori_remote}}` -- Mengkloning repositori lokal: +- Gandakan hanya direktori `.git` pada repositori saat ini: -`git clone -l {{alamat/ke/repository/lokal}}` +`git clone {{[-n|--no-checkout]}} {{lokasi_repositori_remote}}` -- Mengkloning dengan senyap: +- Gandakan repositori lokal: -`git clone -q {{lokasi_repositori_remote}}` +`git clone {{[-l|--local]}} {{jalan/menuju/repositori/lokal}}` -- Mengkloning repositori yang sudah ada dengan hanya mengambil 10 komit paling baru pada branch default (berguna untuk menghemat waktu): +- Gandakan dengan senyap: -`git clone --depth {{10}} {{lokasi_repositori_remote}}` +`git clone {{[-q|--quiet]}} {{lokasi_repositori_remote}}` + +- Gandakan repositori yang sudah ada dengan hanya mengambil 10 komit paling baru pada branch bawaan (berguna untuk menghemat waktu): + +`git clone --depth 10 {{lokasi_repositori_remote}}` + +- Gandakan repositori yang sudah ada dengan hanya mengambil dari cabang tertentu: + +`git clone {{[-b|--branch]}} {{name}} --single-branch {{lokasi_repositori_remote}}` + +- Gandakan repositori yang sudah ada menggunakan perintah SSH tertentu: + +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i jalan/menuju/kunci_ssh_privat}}" {{lokasi_repositori_remote}}` diff --git a/pages.id/common/git-coauthor.md b/pages.id/common/git-coauthor.md new file mode 100644 index 00000000000000..57a8c7260faac2 --- /dev/null +++ b/pages.id/common/git-coauthor.md @@ -0,0 +1,9 @@ +# git coauthor + +> Tambahkan penulis komit baru dalam komit terkini. Perintah ini menulis ulang riwayat perubahan pada Git, karena itu opsi `--force` akan dibutuhkan saat melakukan pendorongan perubahan (push) di lain waktu. +> Bagian dari `git extras`. +> Informasi lebih lanjut: . + +- Tambahkan penulis baru terkadap komit Git terakhir: + +`git coauthor {{nama}} {{nama@example.com}}` diff --git a/pages.id/common/git-cola.md b/pages.id/common/git-cola.md new file mode 100644 index 00000000000000..8351e6188bab88 --- /dev/null +++ b/pages.id/common/git-cola.md @@ -0,0 +1,24 @@ +# git cola + +> Tampilan antarmuka grafis (GUI) untuk Git yang kuat, apik, dan intuitif. +> Informasi lebih lanjut: . + +- Jalankan program GUI: + +`git cola` + +- Jalankan GUI pada mode perubahan (amend): + +`git cola --amend` + +- Jalankan dengan meminta program menanyakan repositori Git yang akan dilihat. Jika tidak didefinisikan, maka program ini akan melihat direktori saat ini: + +`git cola --prompt` + +- Jalankan dengan membuka repositori Git dengan alamat yang ditentukan: + +`git cola --repo {{jalan/menuju/repositori-git}}` + +- Terapkan filter jalur ke dalam widget status: + +`git cola --status-filter {{filter}}` diff --git a/pages.id/common/git-column.md b/pages.id/common/git-column.md new file mode 100644 index 00000000000000..34f5f53051f612 --- /dev/null +++ b/pages.id/common/git-column.md @@ -0,0 +1,16 @@ +# git column + +> Tampilkan data dalam bentuk kolom. +> Informasi lebih lanjut: . + +- Tampilkan `stdin` dalam bentuk beberapa kolom: + +`ls | git column --mode={{column}}` + +- Tampilkan `stdin` sebagai beberapa kolom dengan lebar maksimum sebesar `100`: + +`ls | git column --mode=column --width={{100}}` + +- Tampilkan `stdin` sebagai beberapa kolom dengan padding maksimum sebesar `30`: + +`ls | git column --mode=column --padding={{30}}` diff --git a/pages.id/common/git-commit-graph.md b/pages.id/common/git-commit-graph.md new file mode 100644 index 00000000000000..f0a9069723b100 --- /dev/null +++ b/pages.id/common/git-commit-graph.md @@ -0,0 +1,16 @@ +# git commit-graph + +> Tulis dan verifikasi file grafik komit Git. +> Informasi lebih lanjut: . + +- Tulis file grafik komit untuk komit yang dikemas di dalam direktori `.git` pada lokal repositori: + +`git commit-graph write` + +- Tulis file grafik komit yang berisi semua komit yang dapat dijangkau: + +`git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits` + +- Tulis file grafik komit yang berisi semua komit dalam file grafik komit saat ini beserta yang dapat dijangkau dari `HEAD`: + +`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append` diff --git a/pages.id/common/git-commit-tree.md b/pages.id/common/git-commit-tree.md new file mode 100644 index 00000000000000..fa825a04e423de --- /dev/null +++ b/pages.id/common/git-commit-tree.md @@ -0,0 +1,21 @@ +# git commit-tree + +> Alat untuk membuat objek komit secara tingkat rendah (low-level). +> Lihat juga: `git commit`. +> Informasi lebih lanjut: . + +- Buat objek komit baru dengan pesan tertentu: + +`git commit-tree {{tree}} -m "{{pesan}}"` + +- Buat objek komit dengan pesan yang disimpan dalam suatu berkas (gunakan `-` untuk membaca dari `stdin`): + +`git commit-tree {{tree}} -F {{jalan/menuju/berkas}}` + +- Buat sebuah objek komit yang ditandatangani oleh kunci enkripsi GPG: + +`git commit-tree {{tree}} -m "{{pesan}}" {{[-S|--gpg-sign]}}` + +- Buat sebuah objek komit dengan komit induk tertentu: + +`git commit-tree {{tree}} -m "{{message}}" -p {{kode_hash_sha_atas_komit_induk}}` diff --git a/pages.id/common/git-commit.md b/pages.id/common/git-commit.md index 92ef485584dfcb..1fcb4087839f0e 100644 --- a/pages.id/common/git-commit.md +++ b/pages.id/common/git-commit.md @@ -1,20 +1,32 @@ # git commit -> Komit file ke dalam sebuah repositori. +> Komit berkas ke dalam sebuah repositori. > Informasi lebih lanjut: . -- Komit file bertahap ke repositori dengan sebuah pesan: +- Komit berkas bertahap ke repositori dengan sebuah pesan: -`git commit -m {{pesan}}` +`git commit {{[-m|--message]}} "{{pesan}}"` -- Otomatis merubah semua file yang dimodifikasi menjadi ke status stage dan menambahkan sebuah pesan: +- Komit berkas bertahap dengan pesan yang disimpan dalam suatu berkas: -`git commit -a -m {{pesan}}` +`git commit {{[-F|--file]}} {{jalan/menuju/berkas_pesan_komit}}` + +- Ubah secara otomatis semua berkas yang dimodifikasi menjadi ke status stage dan menambahkan sebuah pesan: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{pesan}}"` + +- Komit berkas bertahap kemudian tandatangani komit tersebut menggunakan kunci GPG (atau kunci yang didefinisikan dalam berkas konfigurasi jika tidak didefinisikan): + +`git commit {{[-S|--gpg-sign]}} {{id_kunci_gpg}} {{[-m|--message]}} "{{pesan}}"` - Ganti komit terakhir dengan perubahan yang ada di status stage saat ini: `git commit --amend` -- Komit file tertentu (yang sudah di status stage): +- Komit berkas tertentu (yang sudah di status stage): + +`git commit {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Buat komit kosong, tanpa berkas bertahap: -`git commit {{alamat/ke/file/saya1}} {{alamat/ke/file/saya2}}` +`git commit {{[-m|--message]}} "{{pesan}}" --allow-empty` diff --git a/pages.id/common/git-commits-since.md b/pages.id/common/git-commits-since.md new file mode 100644 index 00000000000000..c7167c102acde9 --- /dev/null +++ b/pages.id/common/git-commits-since.md @@ -0,0 +1,21 @@ +# git commits-since + +> Tampilkan daftar komit sejak waktu atau tanggal tertentu. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Tampilkan daftar komit yang dibentuk sejak kemarin (yesterday): + +`git commits-since {{yesterday}}` + +- Tampilkan daftar komit yang dibentuk sejak minggu lalu (last week): + +`git commits-since {{last week}}` + +- Tampilkan daftar komit yang dibentuk sejak bulan lalu (last month): + +`git commits-since {{last month}}` + +- Tampilkan daftar komit yang dibentuk sejak kemarin (yesterday), pada pukul 2 siang (2pm): + +`git commits-since {{yesterday 2pm}}` diff --git a/pages.id/common/git-config.md b/pages.id/common/git-config.md new file mode 100644 index 00000000000000..23af026340fbc9 --- /dev/null +++ b/pages.id/common/git-config.md @@ -0,0 +1,37 @@ +# git config + +> Ubah pengaturan Git untuk repositori-repositori tertentu. +> Konfigurasi ini dapat diatur hanya untuk repositori saat ini (lokal/local) atau untuk pengguna sistem operasi saat ini (global). +> Informasi lebih lanjut: . + +- Tampilkan hanya daftar pengaturan Git untuk repositori saat ini (sebagaimana tersimpan dalam `.git/config` dalam pangkal direktori repositori): + +`git config {{[-l|--list]}} --local` + +- Tampilkan hanya daftar pengaturan Git untuk pengguna saat ini (sebagaimana tersimpan dalam `~/.gitconfig` sebagai default, atau bila ada, `$XDG_CONFIG_HOME/git/config`): + +`git config {{[-l|--list]}} --global` + +- Tampilkan hanya daftar pengaturan Git untuk keseluruhan sistem operasi (sebagaimana tersimpan dalam `/etc/gitconfig`), dan tampilkan lokasi berkas tersebut: + +`git config {{[-l|--list]}} --system --show-origin` + +- Tampilkan nilai atas entri konfigurasi saat ini (contoh: `alias.unstage`): + +`git config alias.unstage` + +- Simpan baru atau ubah nilai entri konfigurasi tertentu secara global (untuk pengguna saat ini): + +`git config --global alias.unstage "reset HEAD --"` + +- Hapus atau kembalikan nilai dari entri konfigurasi tersebut menuju nilai default (bila ada): + +`git config --global --unset alias.unstage` + +- Sunting konfigurasi Git pada repositori saat ini dengan aplikasi pengolah teks default: + +`git config {{[-e|--edit]}}` + +- Sunting konfigurasi Git pada pengguna saat ini dengan aplikasi pengolah teks default: + +`git config --global {{[-e|--edit]}}` diff --git a/pages.id/common/git-contrib.md b/pages.id/common/git-contrib.md new file mode 100644 index 00000000000000..59a5ae4694b5aa --- /dev/null +++ b/pages.id/common/git-contrib.md @@ -0,0 +1,9 @@ +# git contrib + +> Tampilkan daftar komit yang ditulis oleh penulis tertentu. +> Bagian dari `git extras`. +> Informasi lebih lanjut: . + +- Tampilkan daftar seluruh komit, beserta kode hash dan pesan, dari suatu penulis: + +`git contrib {{penulis}}` diff --git a/pages.id/common/git-count-objects.md b/pages.id/common/git-count-objects.md new file mode 100644 index 00000000000000..b419034a6a8405 --- /dev/null +++ b/pages.id/common/git-count-objects.md @@ -0,0 +1,20 @@ +# git count-objects + +> Hitung jumlah objek komit yang telah dibuka beserta pemakaian ruang penyimpanan dalam direktori repositori saat ini. +> Informasi lebih lanjut: . + +- Hitung jumlah seluruh objek dan pemakaian ruang penyimpanan: + +`git count-objects` + +- Hitung jumlah seluruh objek dan pemakaian ruang penyimpanan, dalam format satuan yang lebih ramah dibaca manusia: + +`git count-objects --human-readable` + +- Tampilkan informasi perhitungan secara lebih mendalam: + +`git count-objects --verbose` + +- Tampilkan informasi perhitungan secara lebih mendalam, menggunakan format satuan yang lebih ramah dibaca manusia: + +`git count-objects --human-readable --verbose` diff --git a/pages.id/common/git-count.md b/pages.id/common/git-count.md new file mode 100644 index 00000000000000..506005e60176d9 --- /dev/null +++ b/pages.id/common/git-count.md @@ -0,0 +1,13 @@ +# git count + +> Tampilkan informasi jumlah komit dalam suatu repositori. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Tampilkan informasi jumlah komit dalam repositori saat ini: + +`git count` + +- Tampilkan informasi jumlah komit per kontributor serta keseluruhan jumlah komit: + +`git count --all` diff --git a/pages.id/common/git-cp.md b/pages.id/common/git-cp.md new file mode 100644 index 00000000000000..c86963746a307c --- /dev/null +++ b/pages.id/common/git-cp.md @@ -0,0 +1,13 @@ +# git cp + +> Salin suatu berkas menuju lokasi baru dengan menyimpan riwayat perubahan atas berkas tersebut. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Salin suatu berkas dalam suatu repositori Git, menuju tujuan pada direktori yang sama: + +`git cp {{nama_berkas}} {{nama_berkas_baru}}` + +- Salin berkas menuju tujuan yang lain: + +`git cp {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` diff --git a/pages.id/common/git-create-branch.md b/pages.id/common/git-create-branch.md new file mode 100644 index 00000000000000..8ce5e70de47133 --- /dev/null +++ b/pages.id/common/git-create-branch.md @@ -0,0 +1,17 @@ +# git create-branch + +> Buat suatu cabang (branch) baru dalam suatu repositori Git. +> Bagian dari `git-extras`. +> Informasi lebih lanjut: . + +- Buat suatu cabang baru pada repositori lokal: + +`git create-branch {{nama_cabang}}` + +- Buat cabang baru pada repositori lokal dan sumber jarak jauh (remote) origin: + +`git create-branch --remote {{nama_cabang}}` + +- Buat cabang baru pada repositori lokal dan sumber jarak jauh (remote) upstream (yang dibentuk melalui proses pencangkokan/fork): + +`git create-branch --remote upstream {{nama_cabang}}` diff --git a/pages.id/common/git-credential-cache.md b/pages.id/common/git-credential-cache.md new file mode 100644 index 00000000000000..c497b6b50487c8 --- /dev/null +++ b/pages.id/common/git-credential-cache.md @@ -0,0 +1,8 @@ +# git credential-cache + +> Pembantu Git untuk menyimpan kata sandi secara sementara pada memori. +> Informasi lebih lanjut: . + +- Simpan kredensial Git untuk jangka waktu yang ditentukan: + +`git config credential.helper 'cache --timeout={{waktu_dalam_hitungan_detik}}'` diff --git a/pages.id/common/git-credential-store.md b/pages.id/common/git-credential-store.md new file mode 100644 index 00000000000000..ea55a9cbd521f5 --- /dev/null +++ b/pages.id/common/git-credential-store.md @@ -0,0 +1,8 @@ +# git credential-store + +> Pembantu Git untuk menyimpan kata sandi pada perangkat penyimpanan. +> Informasi lebih lanjut: . + +- Simpan kredensial-kredensial Git pada suatu berkas: + +`git config credential.helper 'store --file={{jalan/menuju/berkas}}'` diff --git a/pages.id/common/git-credential.md b/pages.id/common/git-credential.md new file mode 100644 index 00000000000000..53d14129e0b302 --- /dev/null +++ b/pages.id/common/git-credential.md @@ -0,0 +1,16 @@ +# git credential + +> Terima dan simpan kredensial pengguna. +> Informasi lebih lanjut: . + +- Tampilkan informasi suatu kredensial, termasuk username dan kata sandi dari berkas-berkas konfigurasi: + +`echo "{{url=http://example.com}}" | git credential fill` + +- Kirim informasi kredensial menuju seluruh piranti pembantu (credential helper) yang disetel untuk disimpan dan digunakan pada lain waktu: + +`echo "{{url=http://example.com}}" | git credential approve` + +- Hapus suatu informasi kredensial dari penyimpanan seluruh piranti pembantu: + +`echo "{{url=http://example.com}}" | git credential reject` diff --git a/pages.id/common/git-format-patch.md b/pages.id/common/git-format-patch.md new file mode 100644 index 00000000000000..6ee4c28114ea35 --- /dev/null +++ b/pages.id/common/git-format-patch.md @@ -0,0 +1,17 @@ +# git format-patch + +> Buat berkas-berkas .patch dari kumpulan komit Git. Dapat dipakai untuk mengirimkan perubahan/komit melalui surel/email. +> Lihat juga `git am`, yang memungkinkan pengguna untuk melakukan perubahan melalui berkas komit .patch yang dibuat. +> Informasi lebih lanjut: . + +- Buat suatu berkas `.patch` untuk mencatat seluruh komit yang belum dikirimkan (push) ke remote, menggunakan nama berkas otomatis: + +`git format-patch {{origin}}` + +- Tampilkan isi berkas `.patch` menuju `stdout` yang mengandung perubahan antara dua revisi/komit: + +`git format-patch {{revisi_1}}..{{revisi_2}}` + +- Tulis suatu berkas `.patch` yang mengandung segala perubahan dalam 3 komit terakhir: + +`git format-patch -{{3}}` diff --git a/pages.id/common/git-init.md b/pages.id/common/git-init.md new file mode 100644 index 00000000000000..27b7c5b6497ad2 --- /dev/null +++ b/pages.id/common/git-init.md @@ -0,0 +1,20 @@ +# git init + +> Inisialisasikan sebuah repositori Git lokal. +> Informasi lebih lanjut: . + +- Inisialisasikan suatu direktori menjadi repositori lokal baru: + +`git init` + +- Inisialisasikan sebuah repositori dengan nama cabang (branch) awal yang ditentukan: + +`git init {{[-b|--initial-branch]}} {{nama_cabang}}` + +- Inisialisasikan sebuah repositori menggunakan format hash objek berbasis SHA256 (membutuhkan Git versi 2.29+): + +`git init --object-format sha256` + +- Inisialisasikan sebuah repositori kosong (barebones) yang dapat digunakan sebagai remote melalui koneksi SSH: + +`git init --bare` diff --git a/pages.id/common/git-pull.md b/pages.id/common/git-pull.md new file mode 100644 index 00000000000000..9e5295548f4bc1 --- /dev/null +++ b/pages.id/common/git-pull.md @@ -0,0 +1,16 @@ +# git pull + +> Tarik cabang dari repositori remote and menggabungkan ke repositori lokal. +> Informasi lebih lanjut: . + +- Unduh perubahan dari bawaan repositori remote dan menggabungkannya: + +`git pull` + +- Unduh perubahan dari bawaan repositori remote dan menggunakan maju cepat: + +`git pull {{[-r|--rebase]}}` + +- Unduh perubahan dari repositori remote dan cabang yang diberikan, kemudian menggabungkannya ke HEAD: + +`git pull {{nama_remote}} {{cabang}}` diff --git a/pages.id/common/git-push.md b/pages.id/common/git-push.md new file mode 100644 index 00000000000000..3405145329c3b5 --- /dev/null +++ b/pages.id/common/git-push.md @@ -0,0 +1,36 @@ +# git push + +> Dorong kumpulan komit menuju suatu repositori jarak jauh (remote). +> Informasi lebih lanjut: . + +- Kirim perubahan lokal dari cabang (branch) saat ini menuju cabang yang sepadan pada repositori tujuan: + +`git push` + +- Kirim perubahan dari cabang lokal yang ditentukan menuju cabang yang sepadan pada repositori tujuan: + +`git push {{nama_remote}} {{cabang_lokal}}` + +- Kirim perubahan dari cabang lokal yang ditentukan menuju cabang sepadan pada repositori tujuan, dan simpan remote sebagai target operasi dorong (push) dan tarik (pull) bagi cabang lokal tersebut: + +`git push {{[-u|--set-upstream]}} {{nama_remote}} {{cabang_lokal}}` + +- Kirim perubahan dari suatu cabang lokal menuju suatu cabang remote secara spesifik: + +`git push {{nama_remote}} {{cabang_lokal}}:{{cabang_remote}}` + +- Kirim perubahan dari setiap cabang lokal menuju cabang-cabang sepadan dalam repositori tujuan: + +`git push --all {{nama-remote}}` + +- Hapus suatu cabang dalam suatu repositori remote: + +`git push {{nama_remote}} {{[-d|--delete]}} {{cabang_remote}}` + +- Hapus cabang-cabang remote yang tidak memiliki padanan pada repositori lokal: + +`git push --prune {{nama_remote}}` + +- Publikasikan kumpulan tag komit yang belum dipublikasikan dalam repositori remote: + +`git push --tags` diff --git a/pages.id/common/git-remote.md b/pages.id/common/git-remote.md index d33fcf4c1da27d..f11476d6bff916 100644 --- a/pages.id/common/git-remote.md +++ b/pages.id/common/git-remote.md @@ -1,28 +1,32 @@ # git remote -> Mengelola kumpulan repositori yang dilacak/diikuti ("remotes"). +> Kelola kumpulan repositori yang dilacak/diikuti dari sumber jarak jauh ("remotes"). > Informasi lebih lanjut: . -- Menampilkan daftar remote, namanya dan URL: +- Tampilkan daftar remote, namanya dan URL: -`git remote -v` +`git remote {{[-v|--verbose]}}` -- Menampilkan informasi tentang remote: +- Tampilkan informasi tentang suatu remote: `git remote show {{nama_remote}}` -- Menambahkan remote: +- Tambahkan suatu remote untuk diikuti pada repositori saat ini: `git remote add {{nama_remote}} {{url_remote}}` -- Mengubah URL dari remote (gunakan `--add` untuk tetap menyimpan URL lama): +- Ubah alamat URL dari remote (gunakan `--add` untuk tetap menyimpan URL lama): `git remote set-url {{nama_remote}} {{url_baru}}` -- Menghapus remote: +- Tampilkan alamat URL dari suatu remote: + +`git remote get-url {{nama_remote}}` + +- Hapus remote dari daftar remote yang dilacak pada repositori saat ini: `git remote remove {{nama_remote}}` -- Mengubah nama remote: +- Ubah nama remote untuk dikelola dalam repositori saat ini: `git remote rename {{nama_lama}} {{nama_baru}}` diff --git a/pages.id/common/git-rm.md b/pages.id/common/git-rm.md new file mode 100644 index 00000000000000..1b575cbc799a2b --- /dev/null +++ b/pages.id/common/git-rm.md @@ -0,0 +1,16 @@ +# git rm + +> Hapus berkas-berkas dari indeks repositori dan sistem manajemen berkas (filesystem) lokal. +> Informasi lebih lanjut: . + +- Hapus berkas dari indeks repositori dan filesystem lokal: + +`git rm {{jalan/menuju/berkas}}` + +- Hapus suatu direktori: + +`git rm -r {{jalan/menuju/direktori}}` + +- Hapus suatu berkas dari indeks repositori tanpa menghapusnya pada filesystem lokal: + +`git rm --cached {{jalan/menuju/berkas}}` diff --git a/pages.id/common/git-status.md b/pages.id/common/git-status.md index 74834f3e5a6d88..ad27bcc2188e4d 100644 --- a/pages.id/common/git-status.md +++ b/pages.id/common/git-status.md @@ -1,21 +1,33 @@ # git status -> Menampilkan perubahan pada file dalam repositori Git. -> Menmapilkan daftar perubahan , menambahkan dan menghapus file dibandingkan dengan komit yang saat ini di check-out. +> Tampilkan perubahan pada berkas dalam repositori Git. +> Menampilkan daftar perubahan, menambahkan dan menghapus berkas dibandingkan dengan komit yang saat ini diperiksa (checkout). > Informasi lebih lanjut: . -- Tampilkan file yang diubah yang belum ditambahkan untuk komit: +- Tampilkan daftar berkas yang diubah yang belum ditambahkan untuk komit: `git status` -- Berikan keluaran dalam format [s]hort (pendek): +- Tampilkan informasi dalam format singkat: -`git status -s` +`git status {{[-s|--short]}}` -- Jangan tampilkan file yang tidak terlacak di output: +- Tampilkan informasi secara terperinci baik dalam panggung rencana perubahan (staging) dan direktori kerja saat ini: -`git status --untracked-files=no` +`git status {{[-vv|--verbose --verbose]}}` -- Tampilkan keluaran dalam format [s]hort (pendek) bersama dengan [b] info cabangnya: +- Tampilkan informasi mengenai cabang ([b]ranch) dan status pelacakan dari remote: -`git status -sb` +`git status {{[-b|--branch]}}` + +- Tampilkan daftar berkas beserta informasi cabang dalam format: + +`git status {{[-sb|--short --branch]}}` + +- Tampilkan jumlah entri yang disimpan ke dalam kumpulan stash: + +`git status --show-stash` + +- Jangan tampilkan berkas yang tidak terlacak: + +`git status {{[-uno|--untracked-files=no]}}` diff --git a/pages.id/common/git.md b/pages.id/common/git.md index 7fad0da548667d..2a0abb8b414823 100644 --- a/pages.id/common/git.md +++ b/pages.id/common/git.md @@ -1,28 +1,29 @@ # git > Sistem kontrol versi terdistribusi. -> Informasi lebih lanjut: . +> Beberapa subperintah seperti `commit`, `add`, `branch`, `checkout`, `push`, dsb. mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . -- Memeriksa versi Git: +- Jalankan suatu subperintah Git: -`git --version` +`git {{subperintah}}` -- Menunjukkan bantuan umum: +- Jalankan suatu subperintah terhadap suatu direktori repositori: -`git --help` +`git -C {{jalan/menuju/repo}} {{subperintah}}` -- Menampilkan bantuan pada sub perintah Git (seperti `commit`,` log`, dll.): +- Jalankan suatu subperintah dengan set konfigurasi/pengaturan tertentu: -`git help {{subcommand}}` +`git -c '{{kunci.config}}={{nilai}}' {{subperintah}}` -- Menjalankan subperintah Git: +- Tampilkan bantuan umum: -`git {{subcommand}}` +`git --help` -- Menjalankan subperintah Git di jalur root repositori kustom: +- Tampilkan bantuan pada subperintah Git (seperti `clone`,` add`, `push`, `log`, dll.): -`git -C {{alamat/ke/repositori}} {{subcommand}}` +`git help {{subcommand}}` -- Menjalankan subperintah Git dengan set konfigurasi yang diberikan: +- Periksa versi Git: -`git -c '{{config.key}}={{value}}' {{subcommand}}` +`git --version` diff --git a/pages.id/common/gitstats.md b/pages.id/common/gitstats.md new file mode 100644 index 00000000000000..35a08e3baf0945 --- /dev/null +++ b/pages.id/common/gitstats.md @@ -0,0 +1,12 @@ +# gitstats + +> Buat laporan statistika atas repositori Git. +> Informasi lebih lanjut: . + +- Buat laporan statistik terhadap suatu repositori lokal: + +`gitstats {{jalan/menuju/repo_git/.git}} {{jalan/menuju/direktori_luaran}}` + +- Lihat hasil laporan dalam suatu peramban web dalam Windows (PowerShell)/macOS/Linux: + +`{{Invoke-Item|open|xdg-open}} {{jalan/menuju/direktori_luaran/index.html}}` diff --git a/pages.id/common/gnmic-sub.md b/pages.id/common/gnmic-sub.md new file mode 100644 index 00000000000000..8ae099ae8be363 --- /dev/null +++ b/pages.id/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Perintah ini merupakan alias dari `gnmic subscribe`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr gnmic subscribe` diff --git a/pages.id/common/google-chrome.md b/pages.id/common/google-chrome.md new file mode 100644 index 00000000000000..b45c7cdb5cabad --- /dev/null +++ b/pages.id/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Perintah ini merupakan alias dari `chromium`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chromium` diff --git a/pages.id/common/grep.md b/pages.id/common/grep.md new file mode 100644 index 00000000000000..bf4e692726e7c4 --- /dev/null +++ b/pages.id/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Cari pola teks tertentu pada kumpulan berkas menggunakan kata pencarian ekspresi reguler (regex). +> Informasi lebih lanjut: . + +- Cari suatu berkas untuk teks yang mengikuti pola pencarian tertentu: + +`grep "{{pola_pencarian}}" {{jalan/menuju/berkas}}` + +- Cari berkas untuk teks string tertentu secara spesifik (dengan menghentikan pencarian berbasis ekspresi reguler): + +`grep {{[-F|--fixed-strings]}} "{{teks_spesifik}}" {{jalan/menuju/berkas}}` + +- Cari seluruh berkas selain berkas format biner di dalam suatu direktori secara rekursif (termasuk berkas-berkas di dalam subdirektori) dengan menunjukkan nomor barisan di mana pola tersebut ditemukan: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{pola_pencarian}}" {{jalan/menuju/direktori}}` + +- Gunakan sintaks ekspresi reguler tingkat lanjut (mendukung `?`, `+`, `{}`, `()`, dan `|`), dalam mode case-insensitive (tanpa menghiraukan perbedaan antara huruf kapital dan kecil): + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{pola_pencarian}}" {{jalan/menuju/berkas}}` + +- Cetak 3 baris konteks isi berkas pada sekitar, sebelum, atau sesudah setiap hasil pencarian: + +`grep {{--context|--before-context|--after-context}} 3 "{{pola_pencarian}}" {{jalan/menuju/berkas}}` + +- Cetak nama berkas dan nomor baris di mana pola tersebut ditemukan dalam format teks berwarna: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{pola_pencarian}}" {{jalan/menuju/berkas}}` + +- Cari untuk barisan teks yang memenuhi kriteria pada pola pencarian, dan hanya cetak bagian teks yang memenuhi pola: + +`grep {{[-o|--only-matching]}} "{{pola_pencarian}}" {{jalan/menuju/berkas}}` + +- Cari `stdin` untuk barisan teks yang tidak memenuhi kriteria pada pola pencarian: + +`cat {{jalan/menuju/berkas}} | grep {{[-v|--invert-match]}} "{{pola_pencarian}}"` diff --git a/pages.id/common/history.md b/pages.id/common/history.md new file mode 100644 index 00000000000000..cbce8414e15052 --- /dev/null +++ b/pages.id/common/history.md @@ -0,0 +1,28 @@ +# history + +> Tampilkan riwayat penugasan baris perintah (command-line). +> Informasi lebih lanjut: . + +- Tampilkan riwayat penugasan baris perintah beserta angka baris: + +`history` + +- Tampilkan 20 perintah tugas terakhir (di Zsh perintah ini menampilkan semua perintah-perintah sejak dari baris ke-20): + +`history {{20}}` + +- Tampilkan riwayat dengan format tanggal dan waktu tertentu (hanya tersedia dalam Zsh): + +`history -{{d|f|i|E}}` + +- Hapus seluruh riwayat perintah penugasan (hanya untuk sesi shell Bash saat ini): + +`history -c` + +- Tulis ulang berkas dengan riwayat sesi shell Bash saat ini (seringkali dikombinasikan dengan `history -c` untuk menghapus riwayat): + +`history -w` + +- Hapus entri riwayat pada offset tertentu: + +`history -d {{offset}}` diff --git a/pages.id/common/hsw-cli.md b/pages.id/common/hsw-cli.md new file mode 100644 index 00000000000000..d9e024bdedfdd4 --- /dev/null +++ b/pages.id/common/hsw-cli.md @@ -0,0 +1,36 @@ +# hsw-cli + +> Alat baris perintah untuk mengakses dompet digital Handshake melalui koneksi REST API. +> Informasi lebih lanjut: . + +- Buka akses terhadap suatu dompet digital (nilai timeout dalam hitungan detik): + +`hsw-cli unlock {{kata_sandi}} {{timeout}}` + +- Kunci dompet saat ini: + +`hsw-cli lock` + +- Tampilkan informasi terhadap dompet saat ini: + +`hsw-cli get` + +- Tampilkan saldo dompet saat ini: + +`hsw-cli balance` + +- Tampilkan riwayat transaksi yang menggunakan dompet saat ini: + +`hsw-cli history` + +- Kirim suatu transaksi dengan suatu nominal koin menuju suatu alamat dompet tujuan: + +`hsw-cli send {{alamat_tujuan}} {{1.05}}` + +- Tampilkan daftar transaksi yang berstatus tertunda (pending) yang melibatkan dompet ini: + +`hsw-cli pending` + +- Tampilkan informasi rincian suatu transaksi: + +`hsw-cli tx {{hash_transaksi}}` diff --git a/pages.id/common/html5validator.md b/pages.id/common/html5validator.md new file mode 100644 index 00000000000000..762c42ee771ea3 --- /dev/null +++ b/pages.id/common/html5validator.md @@ -0,0 +1,32 @@ +# html5validator + +> Lakukan proses validasi sintaks terhadap suatu berkas HTML5. +> Informasi lebih lanjut: . + +- Lakukan proses validasi terhadap suatu berkas: + +`html5validator {{jalan/menuju/berkas}}` + +- Lakukan validasi terhadap seluruh berkas HTML pada suatu direktori: + +`html5validator --root {{jalan/menuju/direktori}}` + +- Tampilkan seluruh pesan peringatan (warning) dan galat (error): + +`html5validator --show-warnings {{jalan/menuju/berkas}}` + +- Lakukan proses validasi terhadap kumpulan berkas yang memenuhi glob kriteria nama berkas: + +`html5validator --root {{jalan/menuju/direktori}} --match "{{*.html *.php}}"` + +- Jangan lakukan validasi terhadap nama-nama berkas tertentu: + +`html5validator --root {{jalan/menuju/direktori}} --blacklist "{{node_modules vendor}}"` + +- Tampilkan laporan hasil analisa dalam format tertentu: + +`html5validator --format {{gnu|xml|json|text}} {{jalan/menuju/berkas}}` + +- Tampilkan log validasi dalam tingkat verbositas tertentu: + +`html5validator --root {{jalan/menuju/direktori}} --log {{debug|info|warning}}` diff --git a/pages.id/common/htmlq.md b/pages.id/common/htmlq.md new file mode 100644 index 00000000000000..f8c2860881edb0 --- /dev/null +++ b/pages.id/common/htmlq.md @@ -0,0 +1,24 @@ +# htmlq + +> Gunakan selektor CSS untuk mengekstrak konten dari berkas-berkas HTML. +> Informasi lebih lanjut: . + +- Dapatkan seluruh elemen HTML yang memuat class `card`: + +`cat {{jalan/menuju/berkas.html}} | htmlq '.card'` + +- Dapatkan konten teks dari paragraf pertama: + +`cat {{jalan/menuju/berkas.html}} | htmlq --text 'p:first-of-type'` + +- Tampilkan seluruh tautan dalam suatu laman: + +`cat {{jalan/menuju/berkas.html}} | htmlq --attribute href 'a'` + +- Hapus seluruh gambar dan elemen SVG dari suatu laman: + +`cat {{jalan/menuju/berkas.html}} | htmlq --remove-nodes 'img' --remove-nodes 'svg'` + +- Simpan laman input secara cetak-cantik menuju suatu berkas output: + +`htmlq --pretty --filename {{jalan/menuju/input.html}} --output {{jalan/menuju/output.html}}` diff --git a/pages.id/common/htop.md b/pages.id/common/htop.md new file mode 100644 index 00000000000000..ffe953963ecde9 --- /dev/null +++ b/pages.id/common/htop.md @@ -0,0 +1,36 @@ +# htop + +> Tampilkan informasi waktu nyata dinamis tentang proses yang berjalan. Versi `top` yang disempurnakan. +> Informasi lebih lanjut: . + +- Mulai `htop`: + +`htop` + +- Mulai `htop` dan tampilkan proses yang dimiliki oleh pengguna tertentu: + +`htop {{[-u|--user]}} {{username}}` + +- Tampilkan daftar proses beserta hierarki penugasannya dalam bentuk tampilan pohon untuk menunjukkan relasi proses induk beserta anak-anaknya: + +`htop {{[-t|--tree]}}` + +- Urutkan proses berdasarkan `sort_item` yang ditentukan (gunakan `htop --sort help` untuk opsi yang tersedia): + +`htop {{[-s|--sort]}} {{sort_item}}` + +- Jalankan `htop` dengan jangka waktu pemuatan ulang (refresh) data tertentu, dalam bentuk sepersepuluh detik (yakni 50 = 5 detik): + +`htop {{[-d|--delay]}} {{50}}` + +- Lihat perintah interaktif saat menjalankan htop: + +`` + +- Alihkan tampilan menuju tab lain: + +`` + +- Tampilkan bantuan: + +`htop {{[-h|--help]}}` diff --git a/pages.id/common/htpasswd.md b/pages.id/common/htpasswd.md new file mode 100644 index 00000000000000..1ee1dde3947c9c --- /dev/null +++ b/pages.id/common/htpasswd.md @@ -0,0 +1,28 @@ +# htpasswd + +> Buat dan atur isi berkas-berkas htpasswd untuk melindungi kumpulan direktori yang diakses oleh peladen web menggunakan metode autentikasi sederhana/basic. +> Informasi lebih lanjut: . + +- Buat/timpa isi berkas htpasswd: + +`htpasswd -c {{jalan/menuju/berkas}} {{username}}` + +- Tambahkan atau mutakhirkan konfigurasi bagi suatu akun pengguna (dalam mengakses layanan web) ke dalam berkas htpasswd: + +`htpasswd {{jalan/menuju/berkas}} {{username}}` + +- Tambahkan suatu akun pengguna kepada berkas htpasswd dalam mode batch, dengan melewati proses pemasukkan kata sandi secara interaktif (untuk penggunaan dalam skrip syel): + +`htpasswd -b {{jalan/menuju/berkas}} {{username}} {{kata_sandi}}` + +- Hapus konfigurasi akses suatu akun pengguna dari isi suatu berkas htpasswd: + +`htpasswd -D {{jalan/menuju/berkas}} {{username}}` + +- Lakukan proses verifikasi kata sandi bagi suatu akun pengguna: + +`htpasswd -v {{jalan/menuju/berkas}} {{username}}` + +- Tampilkan suatu string berisikan username (akun pengguna, dalam plain text) dan kata sandi (dalam hash md5): + +`htpasswd -nbm {{username}} {{kata_sandi}}` diff --git a/pages.id/common/hugo.md b/pages.id/common/hugo.md index 94cf6281ffb73f..8d3bea9f35160a 100644 --- a/pages.id/common/hugo.md +++ b/pages.id/common/hugo.md @@ -1,32 +1,36 @@ # hugo -> Penghasil website statis berbasis template. Menggunakan modul, komponen dan tema. -> Informasi lebih lanjut: . +> Penghasil situs web statis berbasis template. Menggunakan modul, komponen dan tema. +> Informasi lebih lanjut: . -- Membuat website Hugo baru: +- Buat sebuah proyek situs web Hugo baru: -`hugo new site {{alamat/ke/website}}` +`hugo new site {{jalan/menuju/website}}` -- Membuat tema Hugo baru (tema juga dapat diunduh dari https://themes.gohugo.io/): +- Buat sebuah proyek tema Hugo baru (tema juga dapat diunduh dari ): `hugo new theme {{nama_tema}}` -- Membuat halaman baru: +- Buat sebuah halaman situs web baru: -`hugo new {{nama_bagian}}/{{nama_berkas}}` +`hugo new {{nama_bagian}}/{{nama_halaman}}` -- Menbuild website ke direktori `./public`: +- Bangun situs web dari direktori sumber menuju direktori `./public`: `hugo` -- Menbuild website termasuk halaman yang ditandai sebagai "draft": +- Bangun situs web termasuk halaman yang ditandai sebagai "draft": -`hugo --buildDrafts` +`hugo {{[-D|--buildDrafts]}}` -- Menbuild website ke direktori yang ditentukan: +- Bangun situs web dengan untuk dijalankan pada alamat IP lokal: -`hugo --destination {{alamat/tujuan}}` +`hugo server --bind {{ip_lokal}} {{[-b|--baseURL]}} {{http://ip_lokal}}` -- Menbuild website, memulai webserver untuk menyajikannya, dan secara otomatis memuat ulang jika ada halaman yang berubah: +- Bangun situs web menuju direktori yang ditentukan: + +`hugo {{[-d|--destination]}} {{alamat/tujuan}}` + +- Bangun situs web dan jalankan peladen (server) untuk menyajikannya, dengan memuat ulang saat terdapat halaman yang berubah: `hugo server` diff --git a/pages.id/common/hx.md b/pages.id/common/hx.md new file mode 100644 index 00000000000000..98d717d95ff210 --- /dev/null +++ b/pages.id/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Perintah ini merupakan alias dari `helix`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr helix` diff --git a/pages.id/common/ivpn.md b/pages.id/common/ivpn.md new file mode 100644 index 00000000000000..70180c8f6de7b7 --- /dev/null +++ b/pages.id/common/ivpn.md @@ -0,0 +1,13 @@ +# ivpn + +> Antarmuka baris perintah bagi program klien layanan jaringan privat virtual (VPN) IVPN. +> Lihat juga: `fastd`, `mozillavpn`, `mullvad`, `warp-cli`. +> Informasi lebih lanjut: . + +- Tampilkan status layanan IVPN, termasuk kondisi koneksi dan firewall: + +`ivpn status` + +- Tampilkan daftar peladen (server) yang dapat dihubungkan: + +`ivpn servers` diff --git a/pages.id/common/java.md b/pages.id/common/java.md index 4fc0c27b30458f..5738bd1f37b9a7 100644 --- a/pages.id/common/java.md +++ b/pages.id/common/java.md @@ -1,24 +1,28 @@ # java > Peluncur Aplikasi Java. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . -- Menjalankan berkas java .class yang mengandung method main dengan hanya menggunakan nama class: +- Jalankan berkas java `.class` yang mengandung method main dengan hanya menggunakan nama class: `java {{nama_class}}` -- Menjalankan program .jar: +- Jalankan sebuah program java menggunakan berkas-berkas `.class` eksternal dan tambahan: + +`java -classpath {{jalan/menuju/direktori_class1}}:{{jalan/menuju/direktori_class2}}:. {{nama_class}}` + +- Jalankan program `.jar`: `java -jar {{nama_berkas.jar}}` -- Menjalankan program .jar dengan menunggu debugger terhubung ke port 5005: +- Jalankan program `.jar` dengan menunggu debugger terhubung ke port 5005: `java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{nama_berkas.jar}}` -- Menampilkan versi JDK, JRE dan HotSpot: +- Tampilkan versi JDK, JRE dan HotSpot: `java -version` -- Menampilkan informasi penggunaan untuk perintah java: +- Tampilkan informasi penggunaan untuk perintah java: `java -help` diff --git a/pages.id/common/kafkacat.md b/pages.id/common/kafkacat.md new file mode 100644 index 00000000000000..cf2708a31f4af0 --- /dev/null +++ b/pages.id/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Perintah ini merupakan alias dari `kcat`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr kcat` diff --git a/pages.id/common/laravel-zero.md b/pages.id/common/laravel-zero.md index d3bbf08122a694..d30c90080b38a5 100644 --- a/pages.id/common/laravel-zero.md +++ b/pages.id/common/laravel-zero.md @@ -1,6 +1,6 @@ # laravel-zero -> Pemasang Laravel Zero framework berbasis command line. +> Pasang framework Laravel Zero dari command-line. > Informasi lebih lanjut: . - Buat aplikasi Laravel Zero baru: @@ -11,6 +11,6 @@ `laravel-zero self-update` -- Lis perintah yang tersedia: +- Lihat daftar perintah yang tersedia: `laravel-zero list` diff --git a/pages.id/common/laravel.md b/pages.id/common/laravel.md index f60cd05692f625..059e7aae7c9a46 100644 --- a/pages.id/common/laravel.md +++ b/pages.id/common/laravel.md @@ -1,7 +1,7 @@ # laravel -> Pemasang Laravel framework berbasis command line. -> Informasi lebih lanjut: . +> Pasang framework Laravel framework dari command-line. +> Informasi lebih lanjut: . - Buat aplikasi Laravel baru: @@ -27,6 +27,6 @@ `laravel new {{nama}} --jet --teams` -- Lis perintah yang tersedia: +- Tampilkan daftar perintah yang tersedia: `laravel list` diff --git a/pages.id/common/ld.md b/pages.id/common/ld.md new file mode 100644 index 00000000000000..2aa8b099707cde --- /dev/null +++ b/pages.id/common/ld.md @@ -0,0 +1,16 @@ +# ld + +> Menghubungkan file-file obyek berbarengan. +> Informasi lebih lanjut: . + +- Menghubungkan file obyek tertentu yang tidak memiliki kebergantungan ke suatu executable: + +`ld {{jalan/menuju/file.o}} --output {{jalan/menuju/output_executable}}` + +- Menghubungkan 2 file obyek berbarengan: + +`ld {{jalan/menuju/file1.o}} {{jalan/menuju/file2.o}} --output {{jalan/menuju/output_executable}}` + +- Menghubungkan secara dinamis sebuah program x86_64 ke glibc (jalan-jalan file berubah bergantung pada sistem): + +`ld --output {{jalan/menuju/output_executable}} --dynamic-linker /lib/ld-linux-x86-64.so.2 /lib/crt1.o /lib/crti.o -lc {{jalan/menuju/file.o}} /lib/crtn.o` diff --git a/pages.id/common/libreoffice.md b/pages.id/common/libreoffice.md new file mode 100644 index 00000000000000..27600c6d6354e2 --- /dev/null +++ b/pages.id/common/libreoffice.md @@ -0,0 +1,20 @@ +# libreoffice + +> Antarmuka baris perintah untuk LibreOffice, aplikasi perkantoran mahir dan gratis. +> Informasi lebih lanjut: . + +- Buka suatu atau beberapa berkas dalam mode baca-saja (read-only): + +`libreoffice --view {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Tampilkan isi suatu atau beberapa berkas: + +`libreoffice --cat {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Cetak berkas menggunakan mesin pencetak (printer) tertentu: + +`libreoffice --pt {{printer_name}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Konversi semua berkas `.doc` dalam direktori saat ini menuju PDF: + +`libreoffice --convert-to pdf *.doc` diff --git a/pages.id/common/llvm-ar.md b/pages.id/common/llvm-ar.md new file mode 100644 index 00000000000000..408223a3c05a9d --- /dev/null +++ b/pages.id/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Perintah ini merupakan alias dari `ar`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ar` diff --git a/pages.id/common/llvm-g++.md b/pages.id/common/llvm-g++.md new file mode 100644 index 00000000000000..27f6c1e55deb04 --- /dev/null +++ b/pages.id/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Perintah ini merupakan alias dari `clang++`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr clang++` diff --git a/pages.id/common/llvm-gcc.md b/pages.id/common/llvm-gcc.md new file mode 100644 index 00000000000000..4a05f80cdb6280 --- /dev/null +++ b/pages.id/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Perintah ini merupakan alias dari `clang`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr clang` diff --git a/pages.id/common/llvm-nm.md b/pages.id/common/llvm-nm.md new file mode 100644 index 00000000000000..1df6341fe1b471 --- /dev/null +++ b/pages.id/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Perintah ini merupakan alias dari `nm`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr nm` diff --git a/pages.id/common/llvm-objdump.md b/pages.id/common/llvm-objdump.md new file mode 100644 index 00000000000000..49f037c3d93ee4 --- /dev/null +++ b/pages.id/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Perintah ini merupakan alias dari `objdump`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr objdump` diff --git a/pages.id/common/llvm-strings.md b/pages.id/common/llvm-strings.md new file mode 100644 index 00000000000000..a23f6645bade8e --- /dev/null +++ b/pages.id/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Perintah ini merupakan alias dari `strings`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr strings` diff --git a/pages.id/common/ls.md b/pages.id/common/ls.md index b1ae5c67455617..3b7e31aad8d810 100644 --- a/pages.id/common/ls.md +++ b/pages.id/common/ls.md @@ -1,31 +1,36 @@ # ls -> Menampilkan daftar konten pada direktori. +> Tampilkan daftar konten pada direktori. +> Informasi lebih lanjut: . -- Menampilkan daftar berkas dengan satu item tiap baris: +- Tampilkan daftar isi berkas dengan satu item tiap baris: `ls -1` -- Menampilkan daftar semua berkas, termasuk berkas tersembunyi: +- Tampilkan daftar isi semua berkas, termasuk berkas tersembunyi: -`ls -a` +`ls {{[-a|--all]}}` -- Menampilkan daftar semua berkas, dengan akhiran `/` ditambahkan ke nama direktori: +- Tampilkan daftar isi semua berkas, dengan akhiran `/` ditambahkan ke nama direktori: -`ls -F` +`ls {{[-F|--classify]}}` -- Menampilkan daftar berformat panjang (menampilkan izin, kepemilikan, ukuran dan waktu modifikasi pada setiap berkas): +- Tampilkan daftar isi berformat panjang (menampilkan izin, kepemilikan, ukuran dan waktu modifikasi pada setiap berkas): -`ls -la` +`ls {{[-la|--all -l]}}` -- Menampilkan daftar berformat panjang dan ukuran ditampilkan menggunakan unit yang mudah dibaca manusia (KB, MB, GB): +- Tampilkan daftar isi berformat panjang dan ukuran ditampilkan menggunakan unit yang mudah dibaca manusia (KiB, MiB, GiB): -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` -- Menampilkan daftar berformat panjang dan diurutkan berdasarkan ukuran (menurun): +- Tampilkan daftar isi seluruh berkas secara rekursif, berformat panjang dan diurutkan berdasarkan ukuran (menurun): -`ls -lS` +`ls {{-lSR|-lS --recursive}}` -- Menampilkan daftar berformat panjang dari semua berkas dan diurutkan berdasarkan tanggal modifikasi (terlama dulu): +- Tampilkan daftar isi berformat panjang dari semua berkas dan diurutkan berdasarkan tanggal modifikasi (terlama dulu): -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` + +- Hanya tampilkan daftar [d]irektori: + +`ls {{[-d|--directory]}} */` diff --git a/pages.id/common/lzcat.md b/pages.id/common/lzcat.md new file mode 100644 index 00000000000000..a41c35565c27a1 --- /dev/null +++ b/pages.id/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Perintah ini merupakan alias dari `xz`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr xz` diff --git a/pages.id/common/lzma.md b/pages.id/common/lzma.md new file mode 100644 index 00000000000000..f5d917565b5523 --- /dev/null +++ b/pages.id/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Perintah ini merupakan alias dari `xz`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr xz` diff --git a/pages.id/common/microsoft-edge.md b/pages.id/common/microsoft-edge.md new file mode 100644 index 00000000000000..73f143868e6394 --- /dev/null +++ b/pages.id/common/microsoft-edge.md @@ -0,0 +1,38 @@ +# microsoft-edge + +> Aplikasi peramban web (web browser) dari Microsoft yang dibangun berdasarkan peramban Chromium yang dikembangkan oleh Google. +> Perintah ini tersedia sebagai `msedge` dalam perangkat Windows. +> Catatan: Anda mungkin dapat menggunakan argumen perintah `chromium` lainnya untuk dapat mengatur jalannya Microsoft Edge. +> Informasi lebih lanjut: . + +- Buka suatu URL atau berkas: + +`microsoft-edge {{https://example.com|jalan/menuju/berkas.html}}` + +- Buka dalam mode peramban privat (InPrivate): + +`microsoft-edge --inprivate {{example.com}}` + +- Buka dalam jendela aplikasi baru: + +`microsoft-edge --new-window {{example.com}}` + +- Buka dalam mode aplikasi web (tanpa bilah toolbar, URL bar, tombol navigasi, dsb.): + +`microsoft-edge --app={{https://example.com}}` + +- Hubungkan peramban dengan suatu peladen proksi: + +`microsoft-edge --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Buka dengan direktori profil pengguna tertentu: + +`microsoft-edge --user-data-dir={{jalan/menuju/direktori}}` + +- Buka dengan menonaktifkan validasi CORS (berguna untuk menguji akses suatu API): + +`microsoft-edge --user-data-dir={{jalan/menuju/direktori}} --disable-web-security` + +- Selalu buka jendela alat DevTools (pembantu pengembang web) setiap kali membuka tab baru: + +`microsoft-edge --auto-open-devtools-for-tabs` diff --git a/pages.id/common/mkdir.md b/pages.id/common/mkdir.md index 7622defb39b654..8f5d3adb5a67bb 100644 --- a/pages.id/common/mkdir.md +++ b/pages.id/common/mkdir.md @@ -1,11 +1,16 @@ # mkdir -> Membuat sebuah direktori. +> Buat dan atur hak akses atas sejumlah direktori. +> Informasi lebih lanjut: . -- Membuat sebuah direktori di dalam direktori saat ini atau dalam jalan (path) yang diberikan: +- Buat sejumlah direktori baru secara spesifik: -`mkdir {{direktori}}` +`mkdir {{jalan/menuju/direktori1 jalan/menuju/direktori2 ...}}` -- Membuat sejumlah direktori secara rekursif (berguna untuk membuat direktori bersarang): +- Buat sejumlah direktori baru secara spesifik beserta induk-induknya, bila dibutuhkan: -`mkdir -p {{jalan/menuju/direktori}}` +`mkdir {{[-p|--parents]}} {{jalan/menuju/direktori1 jalan/menuju/direktori2 ...}}` + +- Buat sejumlah direktori baru dengan konfigurasi hak akses tertentu: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{jalan/menuju/direktori1 jalan/menuju/direktori2 ...}}` diff --git a/pages.id/common/mongo.md b/pages.id/common/mongo.md new file mode 100644 index 00000000000000..5fdad9173194cb --- /dev/null +++ b/pages.id/common/mongo.md @@ -0,0 +1,21 @@ +# mongo + +> Program syel baris perintah lawas untuk manajemen pangkalan data (database) MongoDB. Lihat `mongosh` untuk program terbaru. +> Catatan: Seluruh opsi koneksi dapat digantikan dengan suatu string: `mongodb://pengguna@host:port/nama_db?authSource=nama_authdb`. +> Informasi lebih lanjut: . + +- Hubungkan terhadap suatu database lokal menggunakan port bawaan (`mongodb://localhost:27017`): + +`mongo` + +- Hubungkan kepada suatu database: + +`mongo --host {{host}} --port {{port}} {{nama_db}}` + +- Masuk dengan akses menggunakan suatu username (nama pengguna) pada suatu database (Anda akan diminta untuk memasukkan kata sandi): + +`mongo --host {{host}} --port {{port}} --username {{pengguna}} --authenticationDatabase {{nama_authdb}} {{nama_db}}` + +- Jalankan suatu perintah JavaScript pada suatu database: + +`mongo --eval '{{JSON.stringify(db.foo.findOne())}}' {{nama_db}}` diff --git a/pages.id/common/mongod.md b/pages.id/common/mongod.md index f10dba63f1a16e..84382391facbef 100644 --- a/pages.id/common/mongod.md +++ b/pages.id/common/mongod.md @@ -1,16 +1,20 @@ # mongod -> Server database MongoDB. +> Peladen basis data MongoDB. > Informasi lebih lanjut: . -- Menentukan berkas konfigurasi: +- Tentukan direktori penyimpanan basis data (default: `/data/db` dalam Linux dan macOS, `C:\data\db` dalam Windows): -`mongod --config {{nama_berkas}}` +`mongod --dbpath {{jalan/menuju/direktori}}` -- Menentukan port yang digunakan: +- Tentukan berkas konfigurasi basis data: + +`mongod --config {{jalan/menuju/berkas}}` + +- Tentukan port yang akan digunakan (default: 27017): `mongod --port {{port}}` -- Menentukan tingkat pencatatan perilaku (*profiling*) database. 0 mati, 1 hanya operasi lambat, 2 semuanya: +- Tentukan tingkat pencatatan perilaku (profiling) peladen basis data. 0 mati, 1 hanya operasi lambat, 2 semuanya (default: 0): `mongod --profile {{0|1|2}}` diff --git a/pages.id/common/mongosh.md b/pages.id/common/mongosh.md new file mode 100644 index 00000000000000..294e75cf77aa42 --- /dev/null +++ b/pages.id/common/mongosh.md @@ -0,0 +1,21 @@ +# mongosh + +> Program syel baris perintah baru untuk manajemen pangkalan data (database) MongoDB, menggantikan `mongo`. +> Catatan: Seluruh opsi koneksi dapat digantikan dengan suatu string: `mongodb://pengguna@host:port/nama_db?authSource=nama_authdb`. +> Informasi lebih lanjut: . + +- Hubungkan terhadap suatu database lokal menggunakan port bawaan (`mongodb://localhost:27017`): + +`mongosh` + +- Hubungkan kepada suatu database: + +`mongosh --host {{host}} --port {{port}} {{nama_db}}` + +- Masuk dengan akses menggunakan suatu username (nama pengguna) pada suatu database (Anda akan diminta untuk memasukkan kata sandi): + +`mongosh --host {{host}} --port {{port}} --username {{pengguna}} --authenticationDatabase {{nama_authdb}} {{nama_db}}` + +- Jalankan suatu perintah JavaScript pada suatu database: + +`mongosh --eval '{{JSON.stringify(db.foo.findOne())}}' {{nama_db}}` diff --git a/pages.id/common/mozillavpn.md b/pages.id/common/mozillavpn.md new file mode 100644 index 00000000000000..852362b1f07e2d --- /dev/null +++ b/pages.id/common/mozillavpn.md @@ -0,0 +1,37 @@ +# mozillavpn + +> Layanan jaringan privat virtual (VPN) dari pembuat Firefox. +> Lihat juga: `fastd`, `ivpn`, `mullvad`, `warp-cli`. +> Informasi lebih lanjut: . + +- Masuk ke dalam akun melalui mode input interaktif: + +`mozillavpn login` + +- Hubungkan ke dalam jaringan Mozilla VPN: + +`mozillavpn activate` + +- Tampilkan status hubungan: + +`mozillavpn status` + +- Tampilkan daftar peladen (server) VPN yang tersedia: + +`mozillavpn servers` + +- Pilih peladen jaringan untuk dihubungkan: + +`mozillavpn select {{nama_peladen}}` + +- Putuskan hubungan dengan layanan VPN: + +`mozillavpn deactivate` + +- Keluar dari akun: + +`mozillavpn logout` + +- Tampilkan bantuan untuk suatu subperintah: + +`mozillavpn {{subperintah}} --help` diff --git a/pages.id/common/mscore.md b/pages.id/common/mscore.md new file mode 100644 index 00000000000000..56fbd8ae540c9a --- /dev/null +++ b/pages.id/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Perintah ini merupakan alias dari `musescore`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr musescore` diff --git a/pages.id/common/msedge.md b/pages.id/common/msedge.md new file mode 100644 index 00000000000000..ef1b510af0830c --- /dev/null +++ b/pages.id/common/msedge.md @@ -0,0 +1,12 @@ +# msedge + +> Perintah Microsoft Edge tersedia sebagai `msedge` untuk platform Windows dan `microsoft-edge` untuk platform lainnya. +> Informasi lebih lanjut: . + +- Lihat dokumentasi untuk perintah Microsoft Edge untuk Windows: + +`tldr {{[-p|--platform]}} windows msedge` + +- Lihat dokumentasi untuk perintah Microsoft Edge untuk perangkat lainnya: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages.id/common/mullvad.md b/pages.id/common/mullvad.md new file mode 100644 index 00000000000000..8b68ccbb307484 --- /dev/null +++ b/pages.id/common/mullvad.md @@ -0,0 +1,21 @@ +# mullvad + +> Program klien antarmuka baris perintah bagi layanan jaringan virtual privat (VPN) Mullvad VPN. +> Lihat juga: `fastd`, `ivpn`, `mozillavpn`, `warp-cli`. +> Informasi lebih lanjut: . + +- Hubungkan dengan akun Mullvad dengan nomor induk akun Anda: + +`mullvad account set {{nomor_induk_akun}}` + +- Aktifkan akses menuju jaringan lokal (LAN) selama menikmati akses VPN: + +`mullvad lan set allow` + +- Hubungkan dengan layanan VPN: + +`mullvad connect` + +- Tampilkan status koneksi VPN: + +`mullvad status` diff --git a/pages.id/common/mv.md b/pages.id/common/mv.md index 6cc0662f1f7c1d..80b31e2dd7b1a6 100644 --- a/pages.id/common/mv.md +++ b/pages.id/common/mv.md @@ -1,23 +1,36 @@ # mv -> Memindah atau menamai-ulang file dan direktori. +> Pindahkan atau namai-ulang berkas dan direktori. +> Informasi lebih lanjut: . -- Memindahkan file ke lokasi yang baru: +- Pindahkan berkas ke lokasi yang baru: -`mv {{sumber}} {{tujuan}}` +`mv {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` -- Memindah tanpa meminta konfirmasi sebelum menimpa file yang sudah ada: +- Pindahkan berkas atau direktori ke dalam direktori lain yang telah ada: -`mv -f {{sumber}} {{tujuan}}` +`mv {{jalan/menuju/sumber}} {{jalan/menuju/direktori}}` -- Meminta konfirmasi sebelum menimpa file yang sudah ada, apapun *file permissions*-nya: +- Pindahkan berkas majemuk ke dalam direktori lain yang telah ada, dengan menyimpan nama masing-masing file secara utuh: -`mv -i {{sumber}} {{tujuan}}` +`mv {{jalan/menuju/sumber1 jalan/menuju/sumber2 ...}} {{jalan/menuju/direktori}}` + +- Pindahkan tanpa meminta konfirmasi sebelum menimpa file yang sudah ada: + +`mv {{[-f|--force]}} {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` + +- Minta konfirmasi sebelum menimpa berkas yang sudah ada, tanpa memerhatikan hak akses hedua file tersebut: + +`mv {{[-i|--interactive]}} {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` - Jangan menimpa file yang sudah ada di direktori tujuan: -`mv -n {{sumber}} {{tujuan}}` +`mv {{[-n|--no-clobber]}} {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` + +- Pindahkan berkas dalam mode verbose, tampilkan berkas-berkas yang dipindahkan: + +`mv {{[-v|--verbose]}} {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` -- Memindahkan file dalam mode *verbose*, menampilkan file-file yang dipindahkan: +- Tetapkan direktori tujuan target agar Anda dapat menggunakan alat atau perintah eksternal untuk mengelola kumpulan berkas yang dapat dipindahkan: -`mv -v {{sumber}} {{tujuan}}` +`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv {{[-t|--target-directory]}} {{jalan/menuju/direktori_tujuan}}` diff --git a/pages.id/common/nm-classic.md b/pages.id/common/nm-classic.md new file mode 100644 index 00000000000000..59c5492d03d464 --- /dev/null +++ b/pages.id/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Perintah ini merupakan alias dari `nm`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr nm` diff --git a/pages.id/common/node.md b/pages.id/common/node.md index ff8134a730c2b5..52d2f646d33ac2 100644 --- a/pages.id/common/node.md +++ b/pages.id/common/node.md @@ -3,22 +3,26 @@ > Platform JavaScript sisi server (Node.js). > Informasi lebih lanjut: . -- Menjalankan berkas JavaScript: +- Jalankan berkas program JavaScript: -`node {{alamat/ke/berkas}}` +`node {{jalan/menuju/berkas}}` -- Memulai sebuah REPL (shell interaktif): +- Jalankan sebuah REPL (shell interaktif): `node` -- Mengevaluasi kode JavaScript dengan memberikanya sebagai sebuah argument: +- Jalankan berkas program dan jalankan ulang saat isi dari berkas tersebut terubah (membutuhkan Node.js versi 18.11+): -`node -e "{{kode}}"` +`node --watch {{jalan/menuju/file}}` -- Mengevaluasi dan mencetak hasil, berguna untuk melihat versi dependesni node: +- Evaluasi kode JavaScript dengan memberikanya sebagai sebuah argument: -`node -p "{{process.versions}}"` +`node {{[-e|--eval]}} "{{kode}}"` -- Mengaktifkan inspector, menjeda eksekusi sampai debugger terhubung segera setelah kode sumber sepenuhnya terparser: +- Evaluasi kode dan cetak hasil, berguna untuk melihat versi dependesni node: -`node --no-lazy --inspect-brk {{alamat/ke/berkas}}` +`node {{[-p|--print]}} "process.versions"` + +- Aktifkan inspector, yang akan menjeda eksekusi sampai debugger terhubung segera setelah kode sumber sepenuhnya terparser: + +`node --no-lazy --inspect-brk {{jalan/menuju/berkas}}` diff --git a/pages.id/common/npm.md b/pages.id/common/npm.md index d07c142a95b778..7c7d7bbdca09b8 100644 --- a/pages.id/common/npm.md +++ b/pages.id/common/npm.md @@ -2,9 +2,9 @@ > Manajer paket JavaScript dan Node.js. > Mengelola proyek Node.js dan dependensi modulnya. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . -- Membuat file package.json secara interaktif: +- Membuat file `package.json` secara interaktif: `npm init` @@ -12,19 +12,19 @@ `npm install` -- Unduh versi tertentu dari sebuah paket dan menambahkan ke daftar dependensi di package.json: +- Unduh versi tertentu dari sebuah paket dan menambahkan ke daftar dependensi di `package.json`: `npm install {{nama_modul}}@{{versi}}` - Unduh paket dan menambahkan ke daftar dependensi dev di package.json: -`npm install {{nama_modul}} --save-dev` +`npm install {{nama_modul}} {{[-D|--save-dev]}}` - Unduh paket dan instal secara global: -`npm install -g {{nama_modul}}` +`npm install {{[-g|--global]}} {{nama_modul}}` -- Copot pemasangan paket dan hapus dari daftar dependensi di package.json: +- Copot pemasangan paket dan hapus dari daftar dependensi di `package.json`: `npm uninstall {{nama_modul}}` @@ -34,4 +34,4 @@ - Buat daftar modul tingkat atas yang diinstal secara global: -`npm list -g --depth={{0}}` +`npm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.id/common/ntl.md b/pages.id/common/ntl.md new file mode 100644 index 00000000000000..40b5dfe1c78866 --- /dev/null +++ b/pages.id/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Perintah ini merupakan alias dari `netlify`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr netlify` diff --git a/pages.id/common/nvim.md b/pages.id/common/nvim.md index 76660e99eb3ee5..581144f4c6b769 100644 --- a/pages.id/common/nvim.md +++ b/pages.id/common/nvim.md @@ -1,7 +1,7 @@ # nvim > Neovim, teks editor programmer berbasis Vim, menyediakan beberapa mode untuk manipulasi teks berbeda jenis. -> Tekan `i` masuk mode edit. `` kembali ke mode normal, yang tidak mengizinkan penyisipan teks biasa. +> Tekan `` masuk mode edit. `` kembali ke mode normal, yang tidak mengizinkan penyisipan teks biasa. > Informasi lebih lanjut: . - Membuka berkas: @@ -10,28 +10,28 @@ - Masuk ke mode pengeditan teks (insert mode): -`i` +`` -- Menyalin ("yank") atau memotong ("delete") baris saat ini (tempel itu dengan `P`): +- Menyalin ("yank") atau memotong ("delete") baris saat ini (tempel itu dengan `

`): -`{{yy|dd}}` +`{{|}}` - Batalkan operasi terakhir: -`u` +`` -- Mencari sebuah pattern pada berkas (tekan `n`/`N` untuk pergi ke kecocokan berikutnya/sebelumnya): +- Mencari sebuah pattern pada berkas (tekan ``/`` untuk pergi ke kecocokan berikutnya/sebelumnya): -`/{{pattern_pencarian}}` +`{{pattern_pencarian}}` -- Melakukan penggantian regex pada seluruh berkas: +- Melakukan penggantian ekspresi reguler pada seluruh berkas: -`:%s/{{pattern}}/{{pengganti}}/g` +`<:>%s/{{ekspresi_reguler}}/{{pengganti}}/g` - Menyimpan (write) berkas, dan keluar: -`:wq` +`{{|<:>x|<:>wq}}` - Keluar tanpa menyimpan: -`:q!` +`<:>q!` diff --git a/pages.id/common/nvm.md b/pages.id/common/nvm.md new file mode 100644 index 00000000000000..223d1c76ccb516 --- /dev/null +++ b/pages.id/common/nvm.md @@ -0,0 +1,33 @@ +# nvm + +> Memasang, lepas, atau ganti versi Node.js yang dipakai. +> Mendukung nomor versi seperti "12.8" or "v16.13.1", dan label versi seperti "stable", "system", dsb. +> Informasi lebih lanjut: . + +- Pasang suatu versi Node.js: + +`nvm install {{versi_node_js}}` + +- Gunakan suatu versi Node.js untuk sesi saat ini: + +`nvm use {{versi_node_js}}` + +- Tentukan versi default Node.js untuk sesi-sesi berikutnya: + +`nvm alias default {{versi_node_js}}` + +- Tunjukkan daftar versi Node.js yang tersedia dan yang disetel sebagai default: + +`nvm list` + +- Hapus pemasangan versi Node.js yang terpasang melalui `nvm`: + +`nvm uninstall {{versi_node_js}}` + +- Jalankan interpreter (REPL) Node.js dengan versi tertentu: + +`nvm run {{versi_node_js}} --version` + +- Jalankan suatu berkas atau program JavaScript di dalam Node.js versi tertentu: + +`nvm exec {{versi_node_js}} node {{app.js}}` diff --git a/pages.id/common/open.fish.md b/pages.id/common/open.fish.md new file mode 100644 index 00000000000000..2e7d6797655d2c --- /dev/null +++ b/pages.id/common/open.fish.md @@ -0,0 +1,25 @@ +# open + +> Buka file, direktori, dan alamat URI dengan aplikasi-aplikasi default yang dapat membukanya. +> Perintah ini tersedia melalui fish dalam sistem operasi yang tidak menawarkan perintah `open` secara bawaan (seperti Haiku dan macOS). +> Informasi lebih lanjut: . + +- Buka sebuah file di dalam aplikasi default: + +`open {{file.ext}}` + +- Buka semua file dengan ekstensi tertentu di dalam aplikasi default pada direktori saat ini: + +`open {{*.ext}}` + +- Buka sebuah direktori di dalam aplikasi manajer file default: + +`open {{jalan/menuju/direktori}}` + +- Buka sebuah situs web di dalam aplikasi peramban default: + +`open {{https://example.com}}` + +- Buka sebuah alamat URI di dalam aplikasi default yang dapat menanganinya: + +`open {{tel:123}}` diff --git a/pages.id/common/open.md b/pages.id/common/open.md new file mode 100644 index 00000000000000..38b3001eb43c63 --- /dev/null +++ b/pages.id/common/open.md @@ -0,0 +1,11 @@ +# open + +> `open` dapat merujuk ke beberapa perintah dengan nama yang sama. + +- Lihat dokumentasi perintah `open` yang disediakan dalam macOS: + +`tldr open {{[-p|--platform]}} osx` + +- Lihat dokumentasi perintah `open` yang disediakan dalam fish: + +`tldr open.fish` diff --git a/pages.id/common/opera.md b/pages.id/common/opera.md new file mode 100644 index 00000000000000..84399e863ed752 --- /dev/null +++ b/pages.id/common/opera.md @@ -0,0 +1,8 @@ +# opera + +> Perintah ini merupakan alias dari `chromium`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chromium` diff --git a/pages.id/common/pbmtoatk.md b/pages.id/common/pbmtoatk.md new file mode 100644 index 00000000000000..f5aa86976dbdc9 --- /dev/null +++ b/pages.id/common/pbmtoatk.md @@ -0,0 +1,9 @@ +# pbmtoatk + +> Ubah suatu gambar PBM menjadi suatu objek raster Andrew Toolkit. +> Lihat juga: `atktopbm`. +> Informasi lebih lanjut: . + +- Ubah suatu gambar PBM menjadi suatu objek raster Andrew Toolkit: + +`pbmtoatk {{jalan/menuju/gambar.pbm}} > {{jalan/menuju/output.atk}}` diff --git a/pages.id/common/ping.md b/pages.id/common/ping.md new file mode 100644 index 00000000000000..d61f82f06ed4c6 --- /dev/null +++ b/pages.id/common/ping.md @@ -0,0 +1,32 @@ +# ping + +> Kirim kumpulan paket ICMP ECHO_REQUEST (sebagai pesan "ping") ke host dalam jaringan. +> Informasi lebih lanjut: . + +- Ping suatu host: + +`ping {{host}}` + +- Ping suatu host dengan jumlah pengulangan yang ditetapkan: + +`ping -c {{jumlah}} {{host}}` + +- Ping suatu host, dengan menentukan interval dalam sekian detik di antara permintaan (asalnya 1 detik): + +`ping -i {{detik}} {{host}}` + +- Ping suatu host tanpa mencoba untuk melihat alamat dari nama-nama simbolis: + +`ping -n {{host}}` + +- Ping suatu host dan membunyikan bel saat paket diterima (jika terminal anda mendukungnya): + +`ping -a {{host}}` + +- Tampilkan juga pesan jika tidak ada respon yang diterima: + +`ping -O {{host}}` + +- Ping suatu host dengan jumlah pengulangan yang ditetapkan, batas timeout (`-W`) untuk setiap balasan, serta batas waktu (`-w`) eksekusi bagi keseluruhan proses ping berjalan: + +`ping -c {{jumlah}} -W {{detik}} -w {{detik}} {{host}}` diff --git a/pages.id/common/pio-init.md b/pages.id/common/pio-init.md new file mode 100644 index 00000000000000..3a62b5329f5923 --- /dev/null +++ b/pages.id/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Perintah ini merupakan alias dari `pio project`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr pio project` diff --git a/pages.id/common/piodebuggdb.md b/pages.id/common/piodebuggdb.md new file mode 100644 index 00000000000000..52c0ea607a5b0b --- /dev/null +++ b/pages.id/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Perintah ini merupakan alias dari `pio debug`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr pio debug` diff --git a/pages.id/common/pip.md b/pages.id/common/pip.md index c16dcc7d268f85..692f11baaf3296 100644 --- a/pages.id/common/pip.md +++ b/pages.id/common/pip.md @@ -1,32 +1,33 @@ # pip > Pengelola paket Python. +> Beberapa subperintah seperti `install` mempunyai dokumentasi terpisah. > Informasi lebih lanjut: . -- Memasang paket: +- Pasang suatu paket (lihat dokumentasi `pip install` untuk melihat contoh pemasangan tambahan): `pip install {{nama_paket}}` -- Memasang versi paket tertentu: +- Pasang suatu paket untuk hanya digunakan oleh pengguna saat ini: -`pip install {{nama_paket}}=={{versi_paket}}` +`pip install --user {{nama_paket}}` -- Meningkatakan paket ke versi terbaru: +- Tingkatkan suatu paket ke versi terbaru: -`pip install -U {{nama_paket}}` +`pip install {{[-U|--upgrade]}} {{nama_paket}}` -- Mencopot pemasangan paket: +- Copot pemasangan suatu paket: `pip uninstall {{nama_paket}}` -- Menyimpan daftar paket terpasang ke berkas: +- Simpan daftar paket-paket terpasang ke dalam suatu berkas: `pip freeze > {{requirements.txt}}` -- Memasang paket dari berkas: +- Tampilkan informasi suatu paket yang terpasang: -`pip install -r {{requirements.txt}}` +`pip show {{nama_paket}}` -- Menampilkan informasi paket terpasang: +- Pasang kumpulan paket dari suatu berkas: -`pip show {{nama_paket}}` +`pip install {{[-r|--requirement]}} {{requirements.txt}}` diff --git a/pages.id/common/pip3.md b/pages.id/common/pip3.md index bc7fc085815344..f5f9e67f15b8ce 100644 --- a/pages.id/common/pip3.md +++ b/pages.id/common/pip3.md @@ -29,7 +29,7 @@ - Memasang paket dari berkas: -`pip3 install --requirements {{requirements.txt}}` +`pip3 install --requirement {{requirements.txt}}` - Menampilkan informasi paket terinstal: diff --git a/pages.id/common/platformio.md b/pages.id/common/platformio.md new file mode 100644 index 00000000000000..d8ff2af22b7bdf --- /dev/null +++ b/pages.id/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Perintah ini merupakan alias dari `pio`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr pio` diff --git a/pages.id/common/pm2.md b/pages.id/common/pm2.md new file mode 100644 index 00000000000000..f29c6ba11e7a78 --- /dev/null +++ b/pages.id/common/pm2.md @@ -0,0 +1,33 @@ +# pm2 + +> Manajer proses untuk Node.js. +> Digunakan untuk manajemen log, pemantauan, dan pengaturan proses. +> Informasi lebih lanjut: . + +- Memulai prooses dengan nama yang dapat digunakan untuk operasi selanjutnya: + +`pm2 start {{app.js}} --name {{nama_aplikasi}}` + +- Tampilkan daftar proses: + +`pm2 list` + +- Pantau semua proses: + +`pm2 monit` + +- Menghentikan sebuah proses: + +`pm2 stop {{nama_aplikasi}}` + +- Memulai ulang sebuah proses: + +`pm2 restart {{nama_aplikasi}}` + +- Membuang semua proses dan menghidupkan mereka kembali nanti: + +`pm2 save` + +- Menghidupkan kembali proses yang sebelumnya dibuang: + +`pm2 resurrect` diff --git a/pages.id/common/pnpm.md b/pages.id/common/pnpm.md new file mode 100644 index 00000000000000..717fea523aad9a --- /dev/null +++ b/pages.id/common/pnpm.md @@ -0,0 +1,37 @@ +# pnpm + +> Manajer paket JavaScript dan Node.js yang cepat dan efisien. +> Mengelola proyek Node.js dan dependensi modulnya. +> Informasi lebih lanjut: . + +- Buat file `package.json` file: + +`pnpm init` + +- Unduh semua paket yang terdaftar sebagai dependensi di `package.json`: + +`pnpm install` + +- Unduh versi tertentu dari sebuah paket dan menambahkan ke daftar dependensi di `package.json`: + +`pnpm add {{nama_modul}}@{{versi}}` + +- Unduh paket dan menambahkan ke daftar dependensi [D]ev di `package.json`: + +`pnpm add {{[-D|--save-dev]}} {{module_name}}` + +- Unduh paket dan instal secara [g]lobal: + +`pnpm add {{[-g|--global]}} {{module_name}}` + +- Copot pemasangan paket dan hapus dari daftar dependensi di `package.json`: + +`pnpm remove {{module_name}}` + +- Mencetak pohon dependensi yang diinstal secara lokal: + +`pnpm list` + +- Buat daftar modul tingkat atas yang diinstal secara [g]lobal: + +`pnpm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.id/common/powershell.md b/pages.id/common/powershell.md new file mode 100644 index 00000000000000..ea0bd8ed0de25f --- /dev/null +++ b/pages.id/common/powershell.md @@ -0,0 +1,13 @@ +# 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: . + +- 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|--platform]}} windows` diff --git a/pages.id/common/ps.md b/pages.id/common/ps.md new file mode 100644 index 00000000000000..c4c7db26c184b7 --- /dev/null +++ b/pages.id/common/ps.md @@ -0,0 +1,32 @@ +# ps + +> Tampilkan informasi tentang proses-proses yang berlangsung. +> Informasi lebih lanjut: . + +- Tampilkan daftar seluruh proses yang berlangsung: + +`ps aux` + +- Tampilkan daftar seluruh proses yang berlangsung termasuk string perintah secara utuh: + +`ps auxww` + +- Cari proses berdasarkan teks/string kriteria (penambahan kurung siku akan mencegah `grep` untuk mencocokkan dirinya sendiri): + +`ps aux | grep {{[s]tring}}` + +- Tampilkan daftar seluruh proses dari pengguna saat ini dengan format tambahan ekstra: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) -F` + +- Tampilkan daftar seluruh proses dari pengguna saat ini dalam format pohon: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) f` + +- Mengambil induk PID dari sebuah proses: + +`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{pid}}` + +- Sortir proses berdasarkan konsumsi memori: + +`ps --sort size` diff --git a/pages.id/common/psalm.md b/pages.id/common/psalm.md new file mode 100644 index 00000000000000..9301133354f7c5 --- /dev/null +++ b/pages.id/common/psalm.md @@ -0,0 +1,32 @@ +# psalm + +> Suatu alat analisis kode statis yang dapat dimanfaatkan untuk mencari kesalahan pada aplikasi berbasis PHP. +> Informasi lebih lanjut: . + +- Buat sebuah berkas konfigurasi Psalm baru: + +`psalm --init` + +- Periksa kesalahan pada direktori saat ini: + +`psalm` + +- Periksa kesalahan pada suatu direktori atau berkas: + +`psalm {{jalan/menuju/berkas_atau_direktori}}` + +- Periksa kesalahan menggunakan suatu berkas konfigurasi: + +`psalm --config {{jalan/menuju/psalm.xml}}` + +- Lampirkan penemuan-penemuan informasional ke dalam luaran hasil pengecekan: + +`psalm --show-info` + +- Periksa suatu proyek dan tampilkan hasil statistika: + +`psalm --stats` + +- Periksa suatu proyek secara paralel denan 4 thread pemrosesan: + +`psalm --threads {{4}}` diff --git a/pages.id/common/ptpython3.md b/pages.id/common/ptpython3.md new file mode 100644 index 00000000000000..b0cb47dd3ede65 --- /dev/null +++ b/pages.id/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Perintah ini merupakan alias dari `ptpython`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ptpython` diff --git a/pages.id/common/pwd.md b/pages.id/common/pwd.md index e36c7a074cfbe7..976f2489618fee 100644 --- a/pages.id/common/pwd.md +++ b/pages.id/common/pwd.md @@ -1,6 +1,7 @@ # pwd > Mencetak nama dari direktori saat ini/kerja. +> Informasi lebih lanjut: . - Mencetak direktori saat ini: @@ -8,4 +9,4 @@ - Mencetak direktori saat ini, dan menjelaskan semua tautan simbolis (dengan kata lain menampilkan alamat fisik): -`pwd -P` +`pwd {{[-P|--physical]}}` diff --git a/pages.id/common/pwsh.md b/pages.id/common/pwsh.md new file mode 100644 index 00000000000000..1dac14500f080c --- /dev/null +++ b/pages.id/common/pwsh.md @@ -0,0 +1,37 @@ +# 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: . + +- 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}}` diff --git a/pages.id/common/python.md b/pages.id/common/python.md index e518f52b242d18..c58b4c608e72ba 100644 --- a/pages.id/common/python.md +++ b/pages.id/common/python.md @@ -3,26 +3,34 @@ > Penerjemah bahasa Python. > Informasi lebih lanjut: . -- Menjalankan REPL (shell interaktif): +- Jalankan REPL (shell interaktif): `python` -- Menjalankan skrip pada berkas Python: +- Jalankan skrip pada berkas Python: `python {{skrip.py}}` -- Menjalankan skrip sebagai bagian dari shell interaktif: +- Jalankan skrip sebagai bagian dari shell interaktif: `python -i {{skrip.py}}` -- Menjalankan ekspresi Python: +- Jalankan ekspresi Python: `python -c "{{ekspresi}}"` -- Menjalankan modul perpustakaan sebagai skrip (diakhiri dengan daftar opsi): +- Jalankan suatu modul perpustakaan sebagai skrip (diakhiri dengan daftar opsi): `python -m {{modul}} {{argumen}}` -- Mendebug skrip Python secara interaktif: +- Pasang suatu paket pustaka menggunakan `pip`: -`python -m pdb {{script.py}}` +`python -m pip install {{paket}}` + +- Jalankan pengawakutu (debugger) terhadap skrip Python secara interaktif: + +`python -m pdb {{jalan/menuju/berkas.py}}` + +- Nyalakan program peladen (server) HTTP bawaan terhadap direktori ini menuju port 8000: + +`python -m http.server` diff --git a/pages.id/common/python3.md b/pages.id/common/python3.md new file mode 100644 index 00000000000000..249e583b00b100 --- /dev/null +++ b/pages.id/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Perintah ini merupakan alias dari `python`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr python` diff --git a/pages.id/common/r2.md b/pages.id/common/r2.md new file mode 100644 index 00000000000000..cef93d1f525bec --- /dev/null +++ b/pages.id/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Perintah ini merupakan alias dari `radare2`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr radare2` diff --git a/pages.id/common/rails-db.md b/pages.id/common/rails-db.md new file mode 100644 index 00000000000000..3f52d2178b3777 --- /dev/null +++ b/pages.id/common/rails-db.md @@ -0,0 +1,36 @@ +# rails db + +> Beragam subperintah yang berkaitan dengan database untuk Rauby on Rails. +> Informasi lebih lanjut: . + +- Buat pangkalan data (database) baru, memuat skema dan menginisiasinya dengan data awal: + +`rails db:setup` + +- Akses konsol database: + +`rails db` + +- Buat database yang didefinisikan di environment saat ini: + +`rails db:create` + +- Hapus database yang didefinisikan di environment saat ini: + +`rails db:drop` + +- Jalankan migrasi yang belum: + +`rails db:migrate` + +- Tampilkan status dari masing-masing file migrasi: + +`rails db:migrate:status` + +- Rollback ke migrasi sebelumnya: + +`rails db:rollback` + +- Isi database dengan data yang didefinisikan di `db/seeds.rb`: + +`rails db:seed` diff --git a/pages.id/common/rails-destroy.md b/pages.id/common/rails-destroy.md new file mode 100644 index 00000000000000..cc4748dc41a20d --- /dev/null +++ b/pages.id/common/rails-destroy.md @@ -0,0 +1,24 @@ +# rails destroy + +> Menghapus sumber daya (resources) yang dikelola dalam suatu proyek Rails. +> Informasi lebih lanjut: . + +- Tampilkan daftar semua generator yang tersedia untuk membantu proses penghapusan: + +`rails destroy` + +- Hapus suatu model yang bernama Post: + +`rails destroy model {{Post}}` + +- Hapus suatu controller yang bernama Posts: + +`rails destroy controller {{Posts}}` + +- Hapus suatu migrasi yang membuat Posts: + +`rails destroy migration {{CreatePosts}}` + +- Hapus suatu scaffold bagi model Post: + +`rails destroy scaffold {{Post}}` diff --git a/pages.id/common/rails-generate.md b/pages.id/common/rails-generate.md new file mode 100644 index 00000000000000..b451a514d59c9f --- /dev/null +++ b/pages.id/common/rails-generate.md @@ -0,0 +1,24 @@ +# rails generate + +> Membuat Rails templates yang baru ke suatu proyek. +> Informasi lebih lanjut: . + +- Menampilkan semua generator yang tersedia: + +`rails generate` + +- Membuat model baru bernama Post dengan atribut judul dan uraian: + +`rails generate model {{Post}} {{judul:string}} {{uraian:text}}` + +- Mmebuat _controller_ baru bernama Posts dengan actions index, show, new dan create: + +`rails generate controller {{Posts}} {{index}} {{show}} {{new}} {{create}}` + +- Membuat migrasi baru yang menambahkan atribut kategori ke model yang sudah ada bernama Post: + +`rails generate migration {{AddKategoriToPost}} {{kategori:string}}` + +- Membuat _scaffold_ untuk model bernama Post, dengan pendefinisian atribut judul dan uraian: + +`rails generate scaffold {{Post}} {{title:string}} {{body:text}}` diff --git a/pages.id/common/rails-routes.md b/pages.id/common/rails-routes.md new file mode 100644 index 00000000000000..261cdd3b9a4471 --- /dev/null +++ b/pages.id/common/rails-routes.md @@ -0,0 +1,20 @@ +# rails routes + +> Menampilkan daftar _routes_ di aplikasi Rails. +> Informasi lebih lanjut: . + +- Menampilkan semua _routes_: + +`rails routes` + +- Menampilkan semua _routes_ dengan format yang lebih panjang: + +`rails routes {{[-E|--expanded]}}` + +- Menampilkan _routes_ yang sebagian cocok dengan nama helper method URL, HTTP verb, atau path URL: + +`rails routes {{[-g|--grep]}} {{posts_path|GET|/posts}}` + +- Menampilkan _routes_ yang memetakan ke controller tertentu: + +`rails routes {{[-c|--controller]}} {{posts|Posts|Blogs::PostsController}}` diff --git a/pages.id/common/rails.md b/pages.id/common/rails.md new file mode 100644 index 00000000000000..8a780987bef02c --- /dev/null +++ b/pages.id/common/rails.md @@ -0,0 +1,25 @@ +# rails + +> Sebuah _framework_ MVC yang ditulis dalam Ruby. +> Beberapa subperintah seperti `rails generate` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . + +- Membuat proyek rails baru: + +`rails new "{{nama_proyek}}"` + +- Memulai server lokal untuk proyek pada port 3000: + +`rails server` + +- Memulai server lokal untuk proyek pada port tertentu: + +`rails server -p "{{port}}"` + +- Membuka konsol untuk berinteraksi dengan aplikasinya dari _command-line_: + +`rails console` + +- Menampilkan versi rails: + +`rails --version` diff --git a/pages.id/common/rbenv.md b/pages.id/common/rbenv.md new file mode 100644 index 00000000000000..bc121b2b7270da --- /dev/null +++ b/pages.id/common/rbenv.md @@ -0,0 +1,36 @@ +# rbenv + +> Alat untuk menginstal versi Ruby dan mengatur lingkungan aplikasi dengan mudah. +> Informasi lebih lanjut: . + +- Instal suatu versi Ruby: + +`rbenv install {{versi}}` + +- Tampilkan daftar versi-versi stabil terbaru dari Ruby: + +`rbenv install --list` + +- Tampilkan daftar versi-versi Ruby yang terinstal: + +`rbenv versions` + +- Gunakan spesifik versi Ruby di seluruh sistem: + +`rbenv global {{versi}}` + +- Gunakan spesifik versi Ruby untuk suatu direktori aplikasi/proyek: + +`rbenv local {{versi}}` + +- Tampilkan versi Ruby yang saat ini dipilih: + +`rbenv version` + +- Hapus sebuah versi Ruby: + +`rbenv uninstall {{versi}}` + +- Tampilkan semua versi Ruby yang mengandung file yang dapat dieksekusi sesuai dengan yang disebut: + +`rbenv whence {{executable}}` diff --git a/pages.id/common/rcat.md b/pages.id/common/rcat.md new file mode 100644 index 00000000000000..d69eba54b02eeb --- /dev/null +++ b/pages.id/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Perintah ini merupakan alias dari `rc`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr rc` diff --git a/pages.id/common/rm.md b/pages.id/common/rm.md index a813a3e810ff8f..fc0cc83c79d8fe 100644 --- a/pages.id/common/rm.md +++ b/pages.id/common/rm.md @@ -1,23 +1,25 @@ # rm -> Menghapus berkas atau direktori. +> Hapus berkas atau direktori. +> Lihat juga: `rmdir`. +> Informasi lebih lanjut: . -- Menghapus berkas dari lokasi manapun: +- Hapus berkas dari lokasi manapun: -`rm {{alamat/ke/berkas}} {{alamat/ke/berkas/lainnya}}` +`rm {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` -- Menghapus direktori dan semua subdirektorinya secara rekursif: +- Hapus berkas dari lokasi manapun dengan mengabaikan nama-nama file yang tidak ditemukan: -`rm -r {{alamat/ke/direktori}}` +`rm -f {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` -- Menghapus direktori secara paksa, tanpa meminta konfirmasi atau menampilkan pesan kesalahan: +- Hapus banyak berkas secara [i]nteraktif, dengan meminta konfirmasi sebelum setiap penghapusan: -`rm -rf {{alamat/ke/direktori}}` +`rm -i {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` -- Menghapus banyak berkas secara interaktif, dengan meminta konfirmasi sebelum setiap penghapusan: +- Hapus berkas dengan mode [v]erbose, mencetak pesan untuk setiap file yang terhapus: -`rm -i {{(beberapa)_berkas}}` +`rm -v {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` -- Menghapus berkas dengan mode verbose, mencetak pesan untuk setiap berkas yang terhapus: +- Hapus direktori dan semua subdirektorinya secara [r]ekursif: -`rm -v {{alamat/ke/directori/*}}` +`rm -r {{jalan/menuju/berkas_atau_direktori1 jalan/menuju/berkas_atau_direktori2 ...}}` diff --git a/pages.id/common/rspec.md b/pages.id/common/rspec.md new file mode 100644 index 00000000000000..1f7c5e3c80173e --- /dev/null +++ b/pages.id/common/rspec.md @@ -0,0 +1,28 @@ +# rspec + +> Kerangka pengujian kode Ruby berbasis Ruby dan pola pengembangan berbasis kebiasaan (behavior-driven development). +> Informasi lebih lanjut: . + +- Buat suatu berkas konfigurasi `.rspec` dan berkas pendukung spesifikasi pengujian (spec helper): + +`rspec --init` + +- Jalankan semua pengujian menurut berkas-berkas spesifikasi: + +`rspec` + +- Jalankan pengujian menurut berkas-berkas spesifikasi dalam direktori khusus: + +`rspec {{jalan/menuju/direktori}}` + +- Jalankan beberapa pengujian menurut kumpulan berkas spesifikasi: + +`rspec {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Jalankan kasus khusus dalam pengujian menurut berkas-berkas spesifikasi (misalnya tes yang ada di baris 83): + +`rspec {{jalan/menuju/berkas}}:{{83}}` + +- Jalankan tes dengan seed khusus (untuk pengujian berbasis randomisasi): + +`rspec --seed {{angka_seed}}` diff --git a/pages.id/common/rsync.md b/pages.id/common/rsync.md new file mode 100644 index 00000000000000..2bfac32468aa29 --- /dev/null +++ b/pages.id/common/rsync.md @@ -0,0 +1,37 @@ +# rsync + +> Transfer kumpulan berkas baik menuju atau dari suatu host jarak jauh (namun tidak antara dua host jarak jauh), secara konfigurasi bawaan menggunakan SSH. +> Untuk mendefinisikan suatu alamat sumber jarak jauh, gunakan `user@host:jalan/menuju/berkas_atau_direktori`. +> Informasi lebih lanjut: . + +- Transfer suatu berkas: + +`rsync {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` + +- Gunakan mode arsip (salin direktori secara rekursif, salin tautan simbolik tanpa menyelesaikan, dan pertahankan izin, kepemilikan, dan waktu modifikasi): + +`rsync {{[-a|--archive]}} {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` + +- Kompres data saat dikirim ke tujuan, tampilkan informasi kemajuan secara verbose dan dapat dibaca manusia, dan simpan sebagian file yang ditransfer jika terganggu: + +`rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` + +- Salin kumpulan direktori secara rekursif: + +`rsync {{[-r|--recursive]}} {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` + +- Transfer isi direktori, tetapi bukan direktori itu sendiri: + +`rsync {{[-r|--recursive]}} {{jalan/menuju/sumber/}} {{jalan/menuju/tujuan}}` + +- Gunakan mode arsip, selesaikan tautan simbolik, dan lewati file yang lebih baru di tujuan: + +`rsync {{[-auL|--archive --update --copy-links]}} {{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` + +- Transfer direktori dari host jarak jauh yang menjalankan `rsyncd` dan hapus file di tujuan yang tidak ada di sumber: + +`rsync {{[-r|--recursive]}} --delete rsync://{{host}}:{{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` + +- Transfer file melalui SSH menggunakan port yang berbeda dari default (22) dan tampilkan kemajuan proses secara global: + +`rsync {{[-e|--rsh]}} 'ssh -p {{port}}' --info=progress2 {{host}}:{{jalan/menuju/sumber}} {{jalan/menuju/tujuan}}` diff --git a/pages.id/common/rubocop.md b/pages.id/common/rubocop.md new file mode 100644 index 00000000000000..d7ee1940aa80b1 --- /dev/null +++ b/pages.id/common/rubocop.md @@ -0,0 +1,32 @@ +# rubocop + +> Analisa berkas Ruby. +> Informasi lebih lanjut: . + +- Periksa semua berkas dalam direktori saat ini (termasuk direktori-direktori di dalamnya): + +`rubocop` + +- Periksa satu atau lebih berkas atau direktori secara khusus: + +`rubocop {{jalan/menuju/berkas_atau_direktori1 jalan/menuju/berkas_atau_direktori2 ...}}` + +- Tulis output ke berkas: + +`rubocop --out {{jalan/menuju/berkas}}` + +- Lihat daftar cop (aturan-aturan dalam menganalisa): + +`rubocop --show-cops` + +- Kecualikan kumpulan cop dalam proses analisa: + +`rubocop --except {{cop1 cop2 ...}}` + +- Jalankan hanya beberapa cop: + +`rubocop --only {{cop1 cop2 ...}}` + +- Perbaiki berkas secara otomatis (fitur percobaan): + +`rubocop --auto-correct` diff --git a/pages.id/common/ruby.md b/pages.id/common/ruby.md new file mode 100644 index 00000000000000..77785379005152 --- /dev/null +++ b/pages.id/common/ruby.md @@ -0,0 +1,28 @@ +# ruby + +> Interpreter bahasa pemrograman Ruby. +> Informasi lebih lanjut: . + +- Jalankan suatu berkas skrip atau program Ruby: + +`ruby {{jalan/menuju/skrip.rb}}` + +- Jalankan suatu perintah Ruby dalam command-line: + +`ruby -e {{perintah}}` + +- Periksa kesalahan sintaks dari suatu berkas skrip Ruby: + +`ruby -c {{jalan/menuju/skrip.rb}}` + +- Jalankan program peladen (server) HTTP bawaan terrhadap direktori saat ini menuju port 8080: + +`ruby -run -e httpd` + +- Jalankan suatu berkas biner program Ruby tanpa memasang suatu pustaka (library) pendukung yang diwajibkan: + +`ruby -I {{jalan/menuju/direktori_pustaka}} -r {{nama_pustaka_yang_dikecualikan}} {{jalan/menuju/direktori_bin/nama_berkas_bin}}` + +- Tampilkan [v]ersi Ruby saat ini: + +`ruby {{[-v|--version]}}` diff --git a/pages.id/common/rvm.md b/pages.id/common/rvm.md new file mode 100644 index 00000000000000..6bebcc5ba25541 --- /dev/null +++ b/pages.id/common/rvm.md @@ -0,0 +1,36 @@ +# rvm + +> Alat untuk menginstal, mengatur dan bekerja dengan berbagai lingkungan Ruby. +> Informasi lebih lanjut: . + +- Pasang suatu atau beberapa versi Ruby: + +`rvm install {{versi1 versi2 ...}}` + +- Tampilkan daftar versi-versi Ruby yang terinstal: + +`rvm list` + +- Gunakan suatu versi Ruby untuk sesi saat ini: + +`rvm use {{versi}}` + +- Tetapkan versi default Ruby yang akan dipakai: + +`rvm --default use {{versi}}` + +- Perbarui suatu versi Ruby: + +`rvm upgrade {{versi_saat_ini}} {{versi_baru}}` + +- Hapus pemasangan versi Ruby namun simpan kode sumbernya: + +`rvm uninstall {{versi}}` + +- Hapus pemasangan versi Ruby beserta kode sumbernya: + +`rvm remove {{versi}}` + +- Tampilkan prasyarat piranti lunak tambahan yang perlu dipasang untuk sistem operasi anda: + +`rvm requirements` diff --git a/pages.id/common/scrcpy.md b/pages.id/common/scrcpy.md new file mode 100644 index 00000000000000..3ee534bfabf9f8 --- /dev/null +++ b/pages.id/common/scrcpy.md @@ -0,0 +1,32 @@ +# scrcpy + +> Tampilkan layar and kontrol perangkat Android anda di dalam desktop. +> Informasi lebih lanjut: . + +- Tampilkan layar sebuah perangkat yang terhubung: + +`scrcpy` + +- Tampilkan layar perangkat tertentu berdasarkan ID atau alamat IP-nya (temukan menggunakan perintah `adb devices`): + +`scrcpy --serial {{0123456789abcdef|192.168.0.1:5555}}` + +- Tampilkan layar dalam mode layar penuh / fullscreen: + +`scrcpy --fullscreen` + +- Putarkan tampilan layar perangkat dalam kelipatan 90 derajat (berlawanan arah jarum jam): + +`scrcpy --rotation {{0|1|2|3}}` + +- Tunjukkan indikator sentuhan pada perangkat fisik: + +`scrcpy --show-touches` + +- Rekam tampilan layar perangkat ke dalam file video tertentu: + +`scrcpy --record {{jalan/menuju/file.mp4}}` + +- Tentukan direktori yang akan digunakan untuk memindahkan file (non-APK) ke dalam perangkat melalui drag-and-drop: + +`scrcpy --push-target {{jalan/menuju/direktori}}` diff --git a/pages.id/common/source.md b/pages.id/common/source.md new file mode 100644 index 00000000000000..c915c08c23dd62 --- /dev/null +++ b/pages.id/common/source.md @@ -0,0 +1,12 @@ +# source + +> Mengeksekusi perintah dalam file pada shell saat ini. +> Informasi lebih lanjut: . + +- Mengevaluasi konten pada file yang ditentukan: + +`source {{jalan/menuju/file}}` + +- Mengevaluasi konten pada file yang ditentukan (`.` adalah alias dari `source`): + +`. {{jalan/menuju/file}}` diff --git a/pages.id/common/split.md b/pages.id/common/split.md new file mode 100644 index 00000000000000..a3458ee13624fa --- /dev/null +++ b/pages.id/common/split.md @@ -0,0 +1,20 @@ +# split + +> Memisahkan sebuah file menjadi beberapa bagian. +> Informasi lebih lanjut: . + +- Memisahkan sebuah file, tiap bagian memiliki 10 baris (kecuali di bagian terakhir): + +`split -l 10 {{jalan/menuju/berkas}}` + +- Memisahkan sebuah file menjadi 5 file. Dibagi sehingga masing-masing bagian memiliki ukuran yang sama (kecuali di bagian terakhir): + +`split -n 5 {{jalan/menuju/berkas}}` + +- Memisahkan sebuah file dengan ukuran 512 byte masing-masing bagiannya (kecuali di bagian terakhir; gunakan 512k untuk kilobyte dan 512m untuk megabytes): + +`split -b 512 {{jalan/menuju/berkas}}` + +- Memisahkan sebuah file dengan ukuran paling banyak 512 byte masing-masing bagiannya tanpa memotong baris: + +`split -C 512 {{jalan/menuju/berkas}}` diff --git a/pages.id/common/subl.md b/pages.id/common/subl.md new file mode 100644 index 00000000000000..465040a7bbf960 --- /dev/null +++ b/pages.id/common/subl.md @@ -0,0 +1,24 @@ +# subl + +> Editor teks Sublime. +> Informasi lebih lanjut: . + +- Membuka direktori saat ini di Sublime Text: + +`subl .` + +- Membuka sebuah berkas atau direktori in Sublime Text: + +`subl {{jalur/ke/berkas_atau_direktori}}` + +- Membuka sebuah berkas dan lompat ke baris tertentu: + +`subl {{jalur/ke/berkas}}:{{nomor_baris}}` + +- Membuka sebuah berkas atau direktori di jendela yang sedang terbuka: + +`subl {{[-a|--add]}} {{jalur/ke/berkas}}` + +- Membuka sebuah berkas atau direktori di jendela baru: + +`subl {{[-n|--new-window]}} {{jalur/ke/berkas}}` diff --git a/pages.id/common/tar.md b/pages.id/common/tar.md new file mode 100644 index 00000000000000..e7eb1bd48b425f --- /dev/null +++ b/pages.id/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> Alat pengarsip berkas. +> Sering digunakan bersamaan dengan alat kompresi tertentu, seperti `gzip` atau `bzip2`. +> Informasi lebih lanjut: . + +- Buat ([c]reate) suatu arsip dan simpan ke dalam suatu berkas ([f]ile): + +`tar cf {{jalan/menuju/target.tar}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Buat ([c]reate) suatu arsip dengan tambahan kompresi g[z]ip dan simpan ke dalam suatu berkas ([f]ile): + +`tar czf {{jalan/menuju/target.tar.gz}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Buat ([c]reate) suatu arsip dengan tambahan kompresi g[z]ip dari suatu direktori mengunakan alamat berkas relatif: + +`tar czf {{jalan/menuju/target.tar.gz}} {{[-C|--directory]}} {{jalan/menuju/direktori}} .` + +- E[x]trak suatu berkas ([f]ile) arsip (biasa atau terkompres) menuju direktori saat ini dengan menampilkan rincian operasi (mode [v]erbose): + +`tar xvf {{jalan/menuju/sumber.tar[.gz|.bz2|.xz]}}` + +- E[x]trak suatu berkas ([f]ile) arsip (biasa atau terkompres) menuju direktori target yang ditentukan: + +`tar xf {{jalan/menuju/sumber.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{jalan/menuju/direktori}}` + +- Buat ([c]reate) suatu arsip terkompres dan simpan di dalam suatu berkas ([f]ile), menggunakan metode kompresi yang ditentukan secara otom[a]tis berdasarkan nama ekstensi berkas tujuan: + +`tar caf {{jalan/menuju/target.tar.xz}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- [t]ampilkan isi suatu berkas ([f]ile) tar secara rinci (mode [v]erbose): + +`tar tvf {{jalan/menuju/sumber.tar}}` + +- E[x]trak kumpulan berkas yang namanya memenuhi pola kriteria yang ditentukan dari suatu berkas ([f]ile) arsip: + +`tar xf {{jalan/menuju/sumber.tar}} --wildcards "{{*.html}}"` diff --git a/pages.id/common/tldr.md b/pages.id/common/tldr.md new file mode 100644 index 00000000000000..24b767be32e8f3 --- /dev/null +++ b/pages.id/common/tldr.md @@ -0,0 +1,37 @@ +# tldr + +> Tampilkan laman bantuan sederhana untuk alat baris perintah (command-line) dari proyek dokumentasi tldr-pages. +> Catatan: opsi `--language` dan `--list` sering diimplementasikan oleh program-program klien meskipun tak diwajibkan menurut spesifikasi teknis. +> Informasi lebih lanjut: . + +- Tampilkan laman bantuan sederhana untuk suatu perintah (catatan: beginilah cara Anda sampai di sini!): + +`tldr {{perintah}}` + +- Tampilkan laman bantuan sederhana untuk suatu subperintah: + +`tldr {{perintah}} {{subperintah}}` + +- Tampilkan laman bantuan untuk suatu perintah dalam suatu bahasa (jika tersedia, selainnya dalam bahasa Inggris): + +`tldr {{[-L|--language]}} {{kode_bahasa}} {{perintah}}` + +- Tampilkan laman bantuan untuk suatu perintah pada [p]latform tujuan: + +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{command}}` + +- M[u]takhirkan data cache lokal untuk laman-laman bantuan: + +`tldr {{[-u|--update]}}` + +- Tampilkan daftar seluruh laman bantuan untuk perintah-perintah yang tersedia pada platform saat ini dan `common` (lintas platform): + +`tldr {{[-l|--list]}}` + +- Tampilkan daftar seluruh laman bantuan subperintah yang tersedia untuk dokumentasi suatu perintah induk: + +`tldr {{[-l|--list]}} | grep {{perintah}} | column` + +- Tampilkan suatu laman bantuan untuk perintah yang dipilih secara acak: + +`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr` diff --git a/pages.id/common/tldrl.md b/pages.id/common/tldrl.md new file mode 100644 index 00000000000000..c73667f40fff3a --- /dev/null +++ b/pages.id/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Perintah ini merupakan alias dari `tldr-lint`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr tldr-lint` diff --git a/pages.id/common/tlmgr-arch.md b/pages.id/common/tlmgr-arch.md new file mode 100644 index 00000000000000..e922e8d3e8fa8e --- /dev/null +++ b/pages.id/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Perintah ini merupakan alias dari `tlmgr platform`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr tlmgr platform` diff --git a/pages.id/common/touch.md b/pages.id/common/touch.md index 1badec2b279b8d..4f5d13fd4478f3 100644 --- a/pages.id/common/touch.md +++ b/pages.id/common/touch.md @@ -1,15 +1,20 @@ # touch -> Mengubah waktu akses (atime) dan waktu modifikasi (mtime) dari sebuah file. +> Buat berkas-berkas kosong baru dan setel waktu akses dan modifikasi terhadap para berkas. +> Informasi lebih lanjut: . -- Membuat file baru yang kosong atau mengubah waktu file yang telahj ada ke waktu sekarang: +- Buat kumpulan berkas baru: -`touch {{nama_file}}` +`touch {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` -- Mengatur waktu sebuah file ke tanggal dan jam tertentu: +- Atur informasi waktu [a]kses atau [m]odifikasi pada kumpulan berkas yang telah tersedia dalam penyimpanan, dan jangan membuat ([c]reate) berkas baru jika tak tersedia dalam penyimpanan: -`touch -t {{YYYYMMDDHHMM.SS}} {{nama_file}}` +`touch {{[-c|--no-create]}} -{{a|m}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` -- Menggunakan waktu dari satu file untuk mengatur waktu file yang lain: +- Atur informasi wak[t]u terhadap kumpulan berkas, dan jangan membuat ([c]reate) berkas baru jika tak tersedia dalam penyimpanan: -`touch -r {{nama_file}} {{nama_file2}}` +`touch {{[-c|--no-create]}} -t {{YYYYMMDDHHMM.SS}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` + +- Gunakan informasi wak[t]u atas suatu berkas referensi terhadap kumpulan berkas yang diolah, dan jangan membuat ([c]reate) berkas baru jika tak tersedia dalam penyimpanan: + +`touch {{[-c|--no-create]}} {{[-r|--reference]}} {{jalan/menuju/berkas_referensi}} {{jalan/menuju/berkas1 jalan/menuju/berkas2 ...}}` diff --git a/pages.id/common/unlzma.md b/pages.id/common/unlzma.md new file mode 100644 index 00000000000000..2eb1fc438acdb9 --- /dev/null +++ b/pages.id/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Perintah ini merupakan alias dari `xz`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr xz` diff --git a/pages.id/common/unxz.md b/pages.id/common/unxz.md new file mode 100644 index 00000000000000..c5e19dc88ff2b3 --- /dev/null +++ b/pages.id/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Perintah ini merupakan alias dari `xz`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr xz` diff --git a/pages.id/common/vi.md b/pages.id/common/vi.md new file mode 100644 index 00000000000000..039a0002b21778 --- /dev/null +++ b/pages.id/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Perintah ini merupakan alias dari `vim`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr vim` diff --git a/pages.id/common/vim.md b/pages.id/common/vim.md new file mode 100644 index 00000000000000..4bdf6fdf3035bb --- /dev/null +++ b/pages.id/common/vim.md @@ -0,0 +1,38 @@ +# vim + +> Vim (Vi IMproved), suatu aplikasi pengolah teks berbasis baris perintah, yang menyediakan beberapa mode untuk berbagai jenis proses manipulasi teks. +> Menekan `` dalam mode normal akan memasuki mode penyisipan (insert). Menekan `` akan kembali ke mode normal, yang memungkinkan penggunaan perintah Vim. +> Lihat juga: `vimdiff`, `vimtutor`, `nvim`. +> Informasi lebih lanjut: . + +- Buka suatu berkas: + +`vim {{jalan/menuju/berkas}}` + +- Buka suatu berkas pada nomor baris teks tertentu: + +`vim +{{nomor_baris}} {{jalan/menuju/berkas}}` + +- Lihat manual bantuan untuk Vim: + +`<:>help` + +- Simpan dan keluar dari sesi pengolahan teks saat ini: + +`{{|<:>x|<:>wq}}` + +- Masuk ke mode normal dan batalkan operasi terakhir: + +`` + +- Cari pola dalam berkas (tekan ``/`` untuk menuju ke kecocokan berikutnya/sebelumnya): + +`{{pola_pencarian}}` + +- Lakukan substitusi ekspresi reguler di seluruh berkas: + +`<:>%s/{{ekspresi_reguler}}/{{teks_pengganti}}/g` + +- Tampilkan nomor baris: + +`<:>set nu` diff --git a/pages.id/common/vivaldi.md b/pages.id/common/vivaldi.md new file mode 100644 index 00000000000000..bf6ab8f7442f70 --- /dev/null +++ b/pages.id/common/vivaldi.md @@ -0,0 +1,8 @@ +# vivaldi + +> Perintah ini merupakan alias dari `chromium`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chromium` diff --git a/pages.id/common/vue-build.md b/pages.id/common/vue-build.md index 6c4af6aac16255..8d1aff609becee 100644 --- a/pages.id/common/vue-build.md +++ b/pages.id/common/vue-build.md @@ -1,7 +1,7 @@ # vue build > Sub-perintah yang disediakan oleh `@vue/cli` dan `@vue/cli-service-global` yang memungkinkan prototipe cepat. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . - Membangun berkas `.js` or `.vue` pada mode produksi tanpa konfigurasi: diff --git a/pages.id/common/vue-serve.md b/pages.id/common/vue-serve.md index 3fef4b9fcc6946..9c1290e1b84150 100644 --- a/pages.id/common/vue-serve.md +++ b/pages.id/common/vue-serve.md @@ -1,7 +1,7 @@ # vue serve > Sub-perintah yang disediakan oleh `@vue/cli` dan `@vue/cli-service-global` yang memungkinkan prototipe cepat. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . - Sajikan berkas `.js` or `.vue` pada mode pengembangan tanpa konfigurasi: diff --git a/pages.id/common/vue.md b/pages.id/common/vue.md index 414b84327b1c1a..3b3e8d3dd38b86 100644 --- a/pages.id/common/vue.md +++ b/pages.id/common/vue.md @@ -1,7 +1,8 @@ # vue > CLI serba guna untuk Vue.js. -> Informasi lebih lanjut: . +> Beberapa subperintah seperti `build` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . - Buat proyek vue baru secara interaktif: diff --git a/pages.id/common/warp-cli.md b/pages.id/common/warp-cli.md new file mode 100644 index 00000000000000..b196b36373b7a2 --- /dev/null +++ b/pages.id/common/warp-cli.md @@ -0,0 +1,34 @@ +# warp-cli + +> Program command-line resmi untuk layanan Cloudflare WARP. +> WARP adalah sebuah layanan jaringan privat virtual (VPN) yang mengenkripsi lalu lintas jaringan demi meningkatkan privasi, keamanan, dan kecepatan. +> Lihat juga: `fastd`, `ivpn`, `mozillavpn`, `mullvad`. +> Informasi lebih lanjut: . + +- Daftarkan perangkat ini ke dalam jaringan WARP (harus dijalankan pada pertama kali): + +`warp-cli registration new` + +- Hubungkan perangkat ini ke dalam jaringan WARP: + +`warp-cli connect` + +- Putuskan perangkat ini dari jaringan WARP: + +`warp-cli disconnect` + +- Tampilkan status koneksi WARP saat ini: + +`warp-cli status` + +- Pindah mode operasi koneksi layanan WARP: + +`warp-cli set-mode {{mode_operasi}}` + +- Tampilkan bantuan umum: + +`warp-cli help` + +- Tampilkan bantuan untuk suatu subperintah: + +`warp-cli help {{subperintah}}` diff --git a/pages.id/common/warp-diag.md b/pages.id/common/warp-diag.md new file mode 100644 index 00000000000000..c833f6baf900b5 --- /dev/null +++ b/pages.id/common/warp-diag.md @@ -0,0 +1,21 @@ +# warp-diag + +> Alat diagnostik dan umpan balik bagi layanan Cloudflare WARP. +> Lihat juga: `warp-cli`. +> Informasi lebih lanjut: . + +- Membuat sebuah file arsip (zip) berisi informasi konfigurasi sistem dan log debug terhadap koneksi WARP: + +`warp-diag` + +- Membuat sebuah file arsip diagnostik dengan membubuhkan stempel waktu ke dalam nama file: + +`warp-diag --add-ts` + +- Menyimpan file arsip diagnostik ke dalam direktori tertentu: + +`warp-diag --output {{jalan/menuju/direktori}}` + +- Memberikan saran kepada Cloudflare WARP secara interaktif: + +`warp-diag feedback` diff --git a/pages.id/common/whois.md b/pages.id/common/whois.md new file mode 100644 index 00000000000000..9dfad1b506e552 --- /dev/null +++ b/pages.id/common/whois.md @@ -0,0 +1,16 @@ +# whois + +> Program klien antarmuka baris perintah bagi protokol informasi WHOIS (RFC 3912). +> Informasi lebih lanjut: . + +- Dapatkan informasi kepemilikan bagi suatu nama domain: + +`whois {{example.com}}` + +- Dapatkan informasi kepemilikan bagi suatu alamat IP: + +`whois {{8.8.8.8}}` + +- Dapatkan informasi kontak penyalahgunaan bagi suatu alamat IP: + +`whois -b {{8.8.8.8}}` diff --git a/pages.id/common/xzcat.md b/pages.id/common/xzcat.md new file mode 100644 index 00000000000000..7bb9a270a5b18f --- /dev/null +++ b/pages.id/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Perintah ini merupakan alias dari `xz`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr xz` diff --git a/pages.id/common/yarn.md b/pages.id/common/yarn.md index 43bd29f03e6350..55e77caab1865a 100644 --- a/pages.id/common/yarn.md +++ b/pages.id/common/yarn.md @@ -1,21 +1,21 @@ # yarn > Pengelola paket alternatif untuk JavaScript dan Node.js. -> Informasi lebih lanjut: . +> Informasi lebih lanjut: . -- Memasang modul secara global: +- Pasang suatu modul secara global: `yarn global add {{nama_modul}}` -- Memasang semua dependensi yang dirujuk di berkas `package.json` (`install` adalah opsional): +- Pasang semua pustaka prasyarat (dependency) yang dirujuk dalam berkas `package.json` (perintah `install` adalah opsional): `yarn install` -- Memasang modul dan menyimpannya sebagai dependensi ke berkas `package.json` (tambahkan `--dev` untuk menyimpannya sebagai dependensi pengembangan): +- Pasang dan catat suatu modul sebagai prasyarat ke dalam berkas `package.json` (tambahkan `--dev` jika hendak menyimpannya sebagai prasyarat khusus tahap pengembangan): `yarn add {{nama_modul}}@{{versi}}` -- Mencopot modul dan menghapusnya dari berkas `package.json`: +- Hapus pemasangan modul beserta entrinya dalam berkas `package.json`: `yarn remove {{nama_modul}}` @@ -23,6 +23,6 @@ `yarn init` -- Mengidentifikasi apakah modul merupakan dependensi dan daftar modul lainnya yang bergantung padanya: +- Periksa apakah suatu modul merupakan suatu prasyarat serta tampilkan daftar modul lainnya yang bergantung kepadanya: -`yarn why {{module_name}}` +`yarn why {{nama_modul}}` diff --git a/pages.id/common/youtube-dl.md b/pages.id/common/youtube-dl.md new file mode 100644 index 00000000000000..8002215e381b4e --- /dev/null +++ b/pages.id/common/youtube-dl.md @@ -0,0 +1,36 @@ +# youtube-dl + +> Unduh video dari YouTube dan situs web lain. +> Informasi lebih lanjut: . + +- Mengunduh sebuah video atau daftar putar: + +`youtube-dl '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` + +- Tampilkan daftar format yang tersedia untuk video atau daftar putar: + +`youtube-dl --list-formats '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` + +- Mengunduh video atau daftar putar dengan kualitas tertentu: + +`youtube-dl --format "{{best[height<=480]}}" '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` + +- Mengunduh audio dari video dan ubah menjadi MP3: + +`youtube-dl -x --audio-format {{mp3}} '{{url}}'` + +- Mengunduh video dan audio dengan kualitas terbaik lalu gabungkan: + +`youtube-dl -f bestvideo+bestaudio '{{url}}'` + +- Mengunduh satu atau beberapa video sebagai file MP4 dengan nama tertentu: + +`youtube-dl --format {{mp4}} -o "{{%(playlist_index)s-%(title)s oleh %(uploader)s pada %(upload_date)s di dalam %(playlist)s.%(ext)s}}" '{{url}}'` + +- Mengunduh video bersama dengan subtitle bahasa tertentu: + +`youtube-dl --sub-lang {{en}} --write-sub '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` + +- Mengunduh daftar putar dan ekstrak MP3 darinya: + +`youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" '{{url_to_playlist}}'` diff --git a/pages.id/common/{.md b/pages.id/common/{.md new file mode 100644 index 00000000000000..714c7825968581 --- /dev/null +++ b/pages.id/common/{.md @@ -0,0 +1,36 @@ +# { + +> Alat manipulasi input syel serbaguna. +> Informasi lebih lanjut: . + +- Isolasi nama variabel (agar dapat disambung dengan bagian teks lain tanpa dipisah menggunakan karakter spasi): + +`echo ${HOME}work` + +- Perluas urutan angka atau karakter: + +`echo {1..3} {a..c}{dir1,dir2,dir3}` + +- Periksa apakah suatu `variable` telah diatur sebelum mengembalikan sebuah pesan teks: + +`echo ${variable:+variable is set and contains $variable}` + +- Setel sebuah nilai bawaan/default apabila suatu `variable` belum pernah diatur: + +`echo ${variable:-default}` + +- Dapatkan panjang nilai suatu `variable` dalam format karakter/string: + +`echo ${#variable}` + +- Dapatkan bagian/substring pada string: + +`echo ${variable:3:7}` + +- Perluas nilai `variable` secara rekursif: + +`echo ${!variable}` + +- Ubah semua karakter menjadi huruf kapital: + +`echo ${variable^^}` diff --git a/pages.id/common/~.md b/pages.id/common/~.md new file mode 100644 index 00000000000000..776d0a555620c4 --- /dev/null +++ b/pages.id/common/~.md @@ -0,0 +1,15 @@ +# ~ + +> Informasi lebih lanjut: . + +- Tampilkan daftar berkas dan direktori yang terdapat pada direktori pangkal (home) pengguna saat ini: + +`ls ~` + +- Tampilkan daftar berkas dan direktori yang terdapat pada direktori pangkal pengguna lain: + +`ls ~{{username}}` + +- Tampilkan daftar berkas dan direktori pada direktori sebelumnya yang Anda kunjungi: + +`ls ~-` diff --git a/pages.id/freebsd/base64.md b/pages.id/freebsd/base64.md new file mode 100644 index 00000000000000..0a0eb4461dcbd5 --- /dev/null +++ b/pages.id/freebsd/base64.md @@ -0,0 +1,28 @@ +# base64 + +> Lakukan pengodean dan pendekodean terhadap suatu berkas atau `stdin` dari/menuju format Base64, menuju `stdout` atau berkas lainnya. +> Informasi lebih lanjut: . + +- Kodekan isi suatu berkas menuju format Base64, dan keluarkan hasil menuju `stdout`: + +`base64 {{[-i|--input]}} {{jalan/menuju/berkas}}` + +- Kodekan isi suatu berkas menuju format Base64, dan keluarkan hasil menuju suatu berkas luaran/output: + +`base64 {{[-i|--input]}} {{jalan/menuju/berkas_input}} {{[-o|--output]}} {{jalan/menuju/berkas_output}}` + +- Bungkus luaran Base64 dalam panjang karakter yang tetap (nilai `0` akan menonaktifkan pembungkusan): + +`base64 {{[-b|--break]}} {{0|76|...}} {{jalan/menuju/berkas}}` + +- Dekodekan kode Base64 yang tersimpan dalam suatu berkas, dan keluarkan hasil menuju `stdout`: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{jalan/menuju/berkas}}` + +- Kodekan isi dari `stdin` menuju `stdout`: + +`{{perintah}} | base64` + +- Dekodekan kode Base64 yang berasal dari `stdin` menuju `stdout`: + +`{{perintah}} | base64 {{[-d|--decode]}}` diff --git a/pages.id/freebsd/cal.md b/pages.id/freebsd/cal.md new file mode 100644 index 00000000000000..bc8ba9379ab885 --- /dev/null +++ b/pages.id/freebsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> Tampilkan kalender dengan menyorot tanggal saat ini. +> Informasi lebih lanjut: . + +- Tampilkan kalender untuk bulan saat ini: + +`cal` + +- Tampilkan kalender untuk suatu tahun: + +`cal {{tahun}}` + +- Tampilkan kalender untuk suatu bulan dalam tahun: + +`cal {{bulan}} {{tahun}}` + +- Tampilkan seluruh kalender untuk tahun ini: + +`cal -y` + +- Jangan sorot ([h]ighlight) tanggal hari ini dan tampilkan kalender untuk [3] bulan yang mencakup tanggal tersebut: + +`cal -h -3 {{bulan}} {{tahun}}` + +- Tampilkan 2 bulan se[B]elum dan 3 setel[A]h bulan tertentu pada tahun berjalan: + +`cal -A 3 -B 2 {{bulan}}` + +- Tampilkan hari [j]ulian (hari sejak awal tahun, dimulai dengan nilai satu untuk 1 Januari): + +`cal -j` diff --git a/pages.id/freebsd/pkg.md b/pages.id/freebsd/pkg.md new file mode 100644 index 00000000000000..64c456cbe8f603 --- /dev/null +++ b/pages.id/freebsd/pkg.md @@ -0,0 +1,28 @@ +# pkg + +> Manajer paket untuk FreeBSD. +> Informasi lebih lanjut: . + +- Pasang sebuah paket: + +`pkg install {{nama_paket}}` + +- Hapus pemasangan paket: + +`pkg delete {{nama_paket}}` + +- Perbarui seluruh paket yang terpasang ke dalam versi terbaru: + +`pkg upgrade` + +- Cari paket yang tersedia dalam repositori: + +`pkg search {{kata_kunci}}` + +- Tampilkan daftar paket yang terpasang: + +`pkg info` + +- Hapus paket penunjang (dependency) yang sudah tidak dipakai: + +`pkg autoremove` diff --git a/pages.id/linux/a2disconf.md b/pages.id/linux/a2disconf.md new file mode 100644 index 00000000000000..28db5fa192942d --- /dev/null +++ b/pages.id/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Matikan suatu konfigurasi piranti peladen Apache yang diatur oleh suatu berkas dalam sistem operasi berbasis Debian. +> Informasi lebih lanjut: . + +- Matikan konfigurasi yang diatur dalam suatu berkas: + +`sudo a2disconf {{berkas_konfigurasi}}` + +- Jangan menampilkan pesan-pesan informatif selama melakukan operasi: + +`sudo a2disconf --quiet {{berkas_konfigurasi}}` diff --git a/pages.id/linux/a2dismod.md b/pages.id/linux/a2dismod.md new file mode 100644 index 00000000000000..b5ac1ba2dc892b --- /dev/null +++ b/pages.id/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Matikan suatu modul piranti peladen Apache dalam sistem operasi berbasis Debian. +> Informasi lebih lanjut: . + +- Matikan suatu modul: + +`sudo a2dismod {{modul}}` + +- Jangan menampilkan pesan-pesan informatif selama melakukan operasi: + +`sudo a2dismod --quiet {{modul}}` diff --git a/pages.id/linux/a2dissite.md b/pages.id/linux/a2dissite.md new file mode 100644 index 00000000000000..cea89bc79f4d4e --- /dev/null +++ b/pages.id/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Matikan fungsi peladenan suatu host maya (virtual host) pada piranti peladen Apache dalam sistem operasi berbasis Debian. +> Informasi lebih lanjut: . + +- Matikan suatu host maya: + +`sudo a2dissite {{host_maya}}` + +- Jangan menampilkan pesan-pesan informatif selama melakukan operasi: + +`sudo a2dissite --quiet {{host_maya}}` diff --git a/pages.id/linux/a2enconf.md b/pages.id/linux/a2enconf.md new file mode 100644 index 00000000000000..81a4238da9f249 --- /dev/null +++ b/pages.id/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Nyalakan suatu konfigurasi piranti peladen Apache yang diatur oleh suatu berkas dalam sistem operasi berbasis Debian. +> Informasi lebih lanjut: . + +- Nyalakan konfigurasi yang diatur dalam suatu berkas: + +`sudo a2enconf {{berkas_konfigurasi}}` + +- Jangan menampilkan pesan-pesan informatif selama melakukan operasi: + +`sudo a2enconf --quiet {{berkas_konfigurasi}}` diff --git a/pages.id/linux/a2enmod.md b/pages.id/linux/a2enmod.md new file mode 100644 index 00000000000000..cc50d823406154 --- /dev/null +++ b/pages.id/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Nyalakan suatu modul piranti peladen Apache dalam sistem operasi berbasis Debian. +> Informasi lebih lanjut: . + +- Nyalakan suatu modul: + +`sudo a2enmod {{modul}}` + +- Jangan menampilkan pesan-pesan informatif selama melakukan operasi: + +`sudo a2enmod --quiet {{modul}}` diff --git a/pages.id/linux/a2ensite.md b/pages.id/linux/a2ensite.md new file mode 100644 index 00000000000000..ccf9d8f4bce4fa --- /dev/null +++ b/pages.id/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Nyalakan fungsi peladenan suatu host maya (virtual host) pada piranti peladen Apache dalam sistem operasi berbasis Debian. +> Informasi lebih lanjut: . + +- Nyalakan suatu host maya: + +`sudo a2ensite {{host_maya}}` + +- Jangan menampilkan pesan-pesan informatif selama melakukan operasi: + +`sudo a2ensite --quiet {{host_maya}}` diff --git a/pages.id/linux/a2query.md b/pages.id/linux/a2query.md new file mode 100644 index 00000000000000..509184a50c67c1 --- /dev/null +++ b/pages.id/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Dapatkan konfigurasi yang dipakai saat ini (secara runtime) dari piranti peladen Apache dalam sistem operasi berbasis Debian. +> Informasi lebih lanjut: . + +- Tampilkan daftar modul Apache yang sedang aktif: + +`sudo a2query -m` + +- Cek apakah suatu modul Apache sedang aktif: + +`sudo a2query -m {{nama_modul}}` + +- Tampilkan daftar host maya (virtual hosts) yang sedang aktif: + +`sudo a2query -s` + +- Tampilkan jenis modul Multi Processing Module yang sedang aktif: + +`sudo a2query -M` + +- Tampilkan versi piranti peladen Apache: + +`sudo a2query -v` diff --git a/pages.id/linux/acpi.md b/pages.id/linux/acpi.md new file mode 100644 index 00000000000000..89a2e3bed6a6fd --- /dev/null +++ b/pages.id/linux/acpi.md @@ -0,0 +1,28 @@ +# acpi + +> Tampilkan status baterai atau informasi suhu. +> Informasi lebih lanjut: . + +- Tampilkan informasi baterai: + +`acpi` + +- Tampilkan informasi suhu: + +`acpi -t` + +- Tampilkan informasi perangkat pendingin: + +`acpi -c` + +- Tampilkan informasi suhu dalam Fahrenheit: + +`acpi -tf` + +- Tampilkan semua informasi: + +`acpi -V` + +- Ekstrak informasi dari `/proc` daripada `/sys`: + +`acpi -p` diff --git a/pages.id/linux/add-apt-repository.md b/pages.id/linux/add-apt-repository.md new file mode 100644 index 00000000000000..8d28a4ddc00270 --- /dev/null +++ b/pages.id/linux/add-apt-repository.md @@ -0,0 +1,20 @@ +# add-apt-repository + +> Kelola definisi repositori `apt`. +> Informasi lebih lanjut: . + +- Tambah repositori `apt` baru: + +`add-apt-repository {{repositori}}` + +- Hilangkan sebuah repositori `apt`: + +`add-apt-repository {{[-r|--remove]}} {{repositori}}` + +- Perbarui cache paket setelah menambahkan sebuah repositori: + +`add-apt-repository --update {{repositori}}` + +- Izinkan sumber paket untuk diunduh dari repositori: + +`add-apt-repository {{[-s|--enable-source]}} {{repositori}}` diff --git a/pages.id/linux/adduser.md b/pages.id/linux/adduser.md new file mode 100644 index 00000000000000..9d379009844941 --- /dev/null +++ b/pages.id/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> Utilitas penambahan pengguna. +> Informasi lebih lanjut: . + +- Buat seorang pengguna baru dengan sebuah direktori pangkal/home bawaan dan mendesak pengguna untuk mengatur sebuah kata sandi: + +`adduser {{nama_pengguna}}` + +- Buat seorang pengguna baru tanpa sebuah direktori pangkal/home: + +`adduser --no-create-home {{nama_pengguna}}` + +- Buat seorang pengguna baru dengan sebuah direktori pangkal/home di jalur yang telah dispesifikasikan: + +`adduser --home {{jalur/ke/home}} {{nama_pengguna}}` + +- Buat seorang pengguna baru dengan shell yang telah dispesifikasikan sebagai shell login: + +`adduser --shell {{jalur/ke/shell}} {{nama_pengguna}}` + +- Buat seorang pengguna baru yang masuk ke grup pengguna yang dispesifikasikan: + +`adduser --ingroup {{grup}} {{nama_pengguna}}` diff --git a/pages.id/linux/alternatives.md b/pages.id/linux/alternatives.md new file mode 100644 index 00000000000000..49187c946bc340 --- /dev/null +++ b/pages.id/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Perintah ini merupakan alias dari `update-alternatives`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr update-alternatives` diff --git a/pages.id/linux/apt-cache.md b/pages.id/linux/apt-cache.md new file mode 100644 index 00000000000000..8c09680466c546 --- /dev/null +++ b/pages.id/linux/apt-cache.md @@ -0,0 +1,24 @@ +# apt-cache + +> Pencari paket untuk Debian dan Ubuntu. +> Informasi lebih lanjut: . + +- Cari paket di sumber yang sudah dimiliki: + +`apt-cache search {{query}}` + +- Tampilkan informasi tentang sebuah paket: + +`apt-cache show {{paket}}` + +- Tampilkan apakah sebuah paket sudah terinstal dan paling terbaru: + +`apt-cache policy {{paket}}` + +- Tampilkan dependensi sebuah paket: + +`apt-cache depends {{paket}}` + +- Tampilkan paket yang bergantung pada paket tertentu: + +`apt-cache rdepends {{paket}}` diff --git a/pages.id/linux/apt-file.md b/pages.id/linux/apt-file.md new file mode 100644 index 00000000000000..39236646825de4 --- /dev/null +++ b/pages.id/linux/apt-file.md @@ -0,0 +1,20 @@ +# apt-file + +> Cari kumpulan berkas di dalam paket `apt`, termasuk yang belum dipasang. +> Informasi lebih lanjut: . + +- Perbarui basis data metadata: + +`sudo apt update` + +- Cari paket yang berisi nama atau lokasi berkas tertentu: + +`apt-file {{search|find}} {{sebagian_nama_jalan/menuju/berkas}}` + +- Tampilkan daftar konten dari sebuah paket: + +`apt-file {{show|list}} {{paket}}` + +- Cari paket yang sesuai dengan `ekspresi_reguler`: + +`apt-file {{search|find}} --regexp {{ekspresi_reguler}}` diff --git a/pages.id/linux/apt-get.md b/pages.id/linux/apt-get.md new file mode 100644 index 00000000000000..0c22c62ae55b4a --- /dev/null +++ b/pages.id/linux/apt-get.md @@ -0,0 +1,37 @@ +# apt-get + +> Manajemen paket untuk Debian dan Ubuntu. +> Cari paket menggunakan `apt-cache`. +> Informasi lebih lanjut: . + +- Perbarui daftar paket yang tersedia beserta versinya (hal ini direkomendasikan untuk dijalankan sebelum menjalankan perintah `apt-get` yang lain): + +`apt-get update` + +- Pasang sebuah paket, atau perbarui ke versi terbaru yang tersedia: + +`apt-get install {{paket}}` + +- Hapus sebuah paket: + +`apt-get remove {{paket}}` + +- Hapus sebuah paket dan file konfigurasinya: + +`apt-get purge {{paket}}` + +- Perbarui semua paket yang terpasang ke versi terbaru yang tersedia: + +`apt-get upgrade` + +- Bersihkan repositori lokal, hapus file paket (`.deb`) yang sebelumnya gagal diunduh dan tidak bisa diunduh kembali: + +`apt-get autoclean` + +- Hapus semua paket yang tidak diperlukan kembali: + +`apt-get autoremove` + +- Perbarui paket yang terinstal (mirip `upgrade`), namun hapus paket yang tidak dipakai kembali dan pasang paket tambahan untuk memenuhi dependensi baru: + +`apt-get dist-upgrade` diff --git a/pages.id/linux/apt.md b/pages.id/linux/apt.md new file mode 100644 index 00000000000000..030fe992d6d93b --- /dev/null +++ b/pages.id/linux/apt.md @@ -0,0 +1,38 @@ +# apt + +> Manajer paket untuk distribusi Linux berbasis Debian. +> Pengganti `apt-get` yang direkomendasikan ketika digunakan secara interaktif di Ubuntu versi 16.04 atau yang lebih baru. +> Lihat untuk daftar perintah dalam manajer paket lain yang menyerupai perintah `apt`. +> Informasi lebih lanjut: . + +- Perbarui daftar paket yang tersedia dan versinya (direkomendasikan untuk menggunakan perintah ini sebelum perintah `apt` lainnya.): + +`sudo apt update` + +- Cari paket yang tersedia dengan nama atau deskripsi tertentu: + +`apt search {{nama_atau_deskripsi_paket}}` + +- Tampilkan informasi tentang suatu paket: + +`apt show {{nama_paket}}` + +- Pasang atau perbarui sebuah paket menuju versi terbaru: + +`sudo apt install {{nama_paket}}` + +- Hapus paket yang terpasang sebelumnya (gunakan `sudo apt purge` untuk sekaligus menghapus file konfigurasi yang dibuat oleh paket tersebut): + +`sudo apt remove {{nama_paket}}` + +- Perbarui seluruh paket yang terpasang ke versi terbaru: + +`sudo apt upgrade` + +- Tampilkan daftar semua paket yang tersedia di dalam repositori: + +`apt list` + +- Tampilkan daftar paket yang telah terpasang: + +`apt list {{[-i|--installed]}}` diff --git a/pages.id/linux/batcat.md b/pages.id/linux/batcat.md new file mode 100644 index 00000000000000..38d8f73f96fd81 --- /dev/null +++ b/pages.id/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Perintah ini merupakan alias dari `bat`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr bat` diff --git a/pages.id/linux/cc.md b/pages.id/linux/cc.md new file mode 100644 index 00000000000000..285a66c49f8502 --- /dev/null +++ b/pages.id/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Perintah ini merupakan alias dari `gcc`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr gcc` diff --git a/pages.id/linux/cfdisk.md b/pages.id/linux/cfdisk.md new file mode 100644 index 00000000000000..e916064de0dee1 --- /dev/null +++ b/pages.id/linux/cfdisk.md @@ -0,0 +1,12 @@ +# cfdisk + +> Atur tabel dan partisi alokasi penyimpanan pada perangkat penyimpanan keras menggunakan tampilan antarmuka teks interaktif berbasis curses. +> Informasi lebih lanjut: . + +- Jalankan program pengalokasi partisi terhadap suatu perangkat penyimpanan keras: + +`cfdisk {{/dev/sdX}}` + +- Buat kemudian kelola tabel partisi baru terhadap suatu perangkat penyimpanan keras: + +`cfdisk {{[-z|--zero]}} {{/dev/sdX}}` diff --git a/pages.id/linux/debootstrap.md b/pages.id/linux/debootstrap.md new file mode 100644 index 00000000000000..e48c95ba67699c --- /dev/null +++ b/pages.id/linux/debootstrap.md @@ -0,0 +1,24 @@ +# debootstrap + +> Membuat sistem Debian dasar. +> Informasi lebih lanjut: . + +- Membuat sistem Debian stable didalam direktori `debian-root`: + +`sudo debootstrap stable {{jalan/ke/debian-root/}} http://deb.debian.org/debian` + +- Membuat sistem minimal termasuk hanya paket yang diperlukan: + +`sudo debootstrap --variant=minbase stable {{jalan/ke/debian-root/}}` + +- Membuat sistem Ubuntu 20.04 didalam direktori `focal-root` dengan mirror lokal: + +`sudo debootstrap focal {{jalan/ke/focal-root/}} {{file:///jalan/ke/mirror/}}` + +- Berpindah ke sistem yang telah di bootstrap: + +`sudo chroot {{jalan/ke/root}}` + +- Memperlihatkan rilis Debian atau Ubuntu yang tersedia: + +`ls /usr/share/debootstrap/scripts/` diff --git a/pages.id/linux/dnf.md b/pages.id/linux/dnf.md new file mode 100644 index 00000000000000..6fdd044fb85725 --- /dev/null +++ b/pages.id/linux/dnf.md @@ -0,0 +1,37 @@ +# dnf + +> Manajer paket untuk distribusi Linux RHEL, Fedora, dan CentOS (pengganti yum). +> Lihat untuk daftar perintah dalam manajer paket lain yang menyerupai perintah `dnf`. +> Informasi lebih lanjut: . + +- Perbarui seluruh paket yang terpasang ke versi terbaru: + +`sudo dnf upgrade` + +- Cari paket yang tersedia dengan kata-kata kunci tertentu: + +`dnf search {{kata_kunci1 kata_kunci2 ...}}` + +- Tampilkan informasi tentang suatu paket: + +`dnf info {{paket}}` + +- Pasang kumpulan paket (gunakan `-y` jawab untuk ya semua pertanyaan): + +`sudo dnf install {{paket1 paket2 ...}}` + +- Hapus kumpulan paket: + +`sudo dnf remove {{paket1 paket2 ...}}` + +- Tampilkan daftar semua paket yang telah terpasang: + +`dnf list --installed` + +- Temukan paket mana yang menyediakan perintah tertentu: + +`dnf provides {{perintah}}` + +- Lihat informasi riwayat penugasan `dnf`: + +`dnf history` diff --git a/pages.id/linux/dnf5.md b/pages.id/linux/dnf5.md new file mode 100644 index 00000000000000..0057b0c9683dd1 --- /dev/null +++ b/pages.id/linux/dnf5.md @@ -0,0 +1,38 @@ +# dnf5 + +> Manajer paket untuk distribusi Linux RHEL, Fedora, dan CentOS (pengganti dnf5, yang juga dirancang sebagai pengganti yum). +> DNF5 adalah hasil penulisan ulang program manajemen paket DNF dalam C++ dengan performa yang lebih baik dan ukuran program yang lebih kecil. +> Lihat untuk daftar perintah dalam manajer paket lain yang menyerupai perintah `dnf5`. +> Informasi lebih lanjut: . + +- Perbarui seluruh paket yang terpasang ke versi terbaru: + +`sudo dnf5 upgrade` + +- Cari paket yang tersedia dengan kata-kata kunci tertentu: + +`dnf5 search {{kata_kunci1 kata_kunci2 ...}}` + +- Tampilkan informasi tentang suatu paket: + +`dnf5 info {{paket}}` + +- Pasang kumpulan paket (gunakan `-y` jawab untuk ya semua pertanyaan): + +`sudo dnf5 install {{paket1 paket2 ...}}` + +- Hapus kumpulan paket: + +`sudo dnf5 remove {{paket1 paket2 ...}}` + +- Tampilkan daftar semua paket yang telah terpasang: + +`dnf5 list --installed` + +- Temukan paket mana yang menyediakan perintah tertentu: + +`dnf5 provides {{perintah}}` + +- Hapus atau tandai data cache sebagai kedaluwarsa: + +`sudo dnf5 clean all` diff --git a/pages.id/linux/dnsdomainname.md b/pages.id/linux/dnsdomainname.md new file mode 100644 index 00000000000000..12a71f39d9b1ec --- /dev/null +++ b/pages.id/linux/dnsdomainname.md @@ -0,0 +1,9 @@ +# dnsdomainname + +> Tampilkan nama domain jaringan yang disetel oleh sistem bagi perangkat komputer ini. +> Catatan: Program ini menggunakan perintah `gethostname` untuk mendapatkan hostname perangkat serta `getaddrinfo` untuk melakukan resolusi hostname tersebut menuju nama kanonikal. +> Informasi lebih lanjut: . + +- Tampilkan nama domain DNS atas perangkat ini: + +`dnsdomainname` diff --git a/pages.id/linux/dos2unix.md b/pages.id/linux/dos2unix.md new file mode 100644 index 00000000000000..407dca7a59af7f --- /dev/null +++ b/pages.id/linux/dos2unix.md @@ -0,0 +1,22 @@ +# dos2unix + +> Ubah format pengakhiran baris teks pada suatu berkas teks (plaintext) dari format DOS menuju Unix. +> Program ini menggantikan simbol CRLF menjadi LF. +> Lihat juga: `unix2dos`, `unix2mac`, dan `mac2unix`. +> Informasi lebih lanjut: . + +- Ganti format pengakhiran baris teks dan simpan perubahan pada berkas yang sama: + +`dos2unix {{jalan/menuju/berkas}}` + +- Ganti format namun simpan perubahan sebagai berkas baru: + +`dos2unix {{[-n|--newfile]}} {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` + +- Tampilkan informasi suatu berkas teks: + +`dos2unix {{[-i|--info]}} {{jalan/menuju/berkas}}` + +- Tetap jaga/tambahkan/hapus simbol Byte Order Mark (BOM) saat mengubah isi berkas: + +`dos2unix --{{keep-bom|add-bom|remove-bom}} {{jalan/menuju/berkas}}` diff --git a/pages.id/linux/dpkg.md b/pages.id/linux/dpkg.md new file mode 100644 index 00000000000000..a8e418774f2418 --- /dev/null +++ b/pages.id/linux/dpkg.md @@ -0,0 +1,29 @@ +# dpkg + +> Manajer paket Debian. +> Beberapa subperintah seperti `dpkg deb` memiliki dokumentasi penggunaannya sendiri. +> Informasi lebih lanjut: . + +- Memasang paket dari sebuah file DEB: + +`dpkg -i {{jalan/menuju/file.deb}}` + +- Menghapus pemasangan sebuah paket: + +`dpkg -r {{nama_paket}}` + +- Memperlihatkan daftar paket terinstal: + +`dpkg -l {{pola}}` + +- Memperlihatkan isi sebuah paket: + +`dpkg -L {{nama_paket}}` + +- Memperlihatkan isi sebuah paket lokal: + +`dpkg -c {{jalan/menuju/file.deb}}` + +- Mencari tahu paket yang memiliki sebuah file: + +`dpkg -S {{nama_file}}` diff --git a/pages.id/linux/exif.md b/pages.id/linux/exif.md new file mode 100644 index 00000000000000..a4a60ca0c8bc27 --- /dev/null +++ b/pages.id/linux/exif.md @@ -0,0 +1,24 @@ +# exif + +> Lihat dan ubah informasi metadata EXIF pada berkas-berkas JPEG. +> Informasi lebih lanjut: . + +- Tampilkan daftar informasi EXIF yang terdapat pada suatu berkas gambar: + +`exif {{jalan/menuju/gambar.jpg}}` + +- Tampilkan daftar jenis tag informasi EXIF dalam format tabel, termasuk apakah tag tersebut terdapat dalam suatu gambar: + +`exif {{[-l|--list-tags]}} --no-fixup {{gambar.jpg}}` + +- Ekstrak gambar pratinjau (thumbnail) dari suatu gambar menuju `thumbnail.jpg`: + +`exif {{[-e|--extract-thumbnail]}} {{[-o|--output]}} {{thumbnail.jpg}} {{gambar.jpg}}` + +- Tampilkan isi mentahan terhadap tag metadata "Model" dalam suatu gambar: + +`exif --ifd {{0}} {{[-t|--tag]}} "Model" {{[-m|--machine-readable]}} {{gambar.jpg}}` + +- Ganti nilai tag metadata "Artist" menjadi John Smith, dan simpan perubahan menuju berkas baru di `new.jpg`: + +`exif {{[-o|--output]}} {{new.jpg}} --ifd {{0}} {{[-t|--tag]}} "Artist" --set-value "John Smith" --no-fixup {{gambar.jpg}}` diff --git a/pages.id/linux/export.md b/pages.id/linux/export.md new file mode 100644 index 00000000000000..8182272d3fadc1 --- /dev/null +++ b/pages.id/linux/export.md @@ -0,0 +1,24 @@ +# export + +> Ekspor variabel menuju anak-anak proses syel sistem operasi. +> Informasi lebih lanjut: . + +- Setel nilai suatu variabel lingkungan syel (environment variable): + +`export {{VARIABEL}}={{nilai}}` + +- Hapus nilai variabel lingkungan: + +`export -n {{VARIABEL}}` + +- Ekspor suatu fungsi perintah (function) menuju anak-anak proses syel: + +`export -f {{NAMA_FUNGSI}}` + +- Tambahkan alamat direktori baru menuju variabel lingkungan `PATH`: + +`export PATH=$PATH:{{path/to/append}}` + +- Tampilkan daftar variabel yang telah diekspor dalam bentuk kode perintah syel: + +`export -p` diff --git a/pages.id/linux/free.md b/pages.id/linux/free.md new file mode 100644 index 00000000000000..921630c063c4ca --- /dev/null +++ b/pages.id/linux/free.md @@ -0,0 +1,20 @@ +# free + +> Menampilkan jumlah memori kosong/tersedia dan memori yang digunakan dalam sistem. +> Informasi lebih lanjut: . + +- Tampilkan memori sistem: + +`free` + +- Tampilkan memori dalam Bytes/KB/MB/GB: + +`free -{{b|k|m|g}}` + +- Tampilkan memori dalam unit yang dapat dibaca manusia: + +`free {{[-h|--human]}}` + +- Tampilkan output setiap 2 detik: + +`free {{[-s|--seconds]}} {{2}}` diff --git a/pages.id/linux/google-chrome-stable.md b/pages.id/linux/google-chrome-stable.md new file mode 100644 index 00000000000000..a57e78d3432436 --- /dev/null +++ b/pages.id/linux/google-chrome-stable.md @@ -0,0 +1,8 @@ +# google-chrome-stable + +> Perintah ini merupakan alias dari `chromium`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chromium` diff --git a/pages.id/linux/halt.md b/pages.id/linux/halt.md new file mode 100644 index 00000000000000..2f8b5bf8a13864 --- /dev/null +++ b/pages.id/linux/halt.md @@ -0,0 +1,24 @@ +# halt + +> Hentikan seluruh proses dan jalannya CPU dalam sistem komputer. +> Informasi lebih lanjut: . + +- Hentikan sistem komputer: + +`halt` + +- Matikan sistem (sama seperti `poweroff`): + +`halt {{[-p|--poweroff]}}` + +- Nyalakan ulang sistem (sama seperti `reboot`): + +`halt --reboot` + +- Hentikan sistem secara segera tanpa menghubungi manajer sistem: + +`halt {{[-f|--force]}}` + +- Tulis entri wtmp shutdown tanpa menghentikan sistem: + +`halt {{[-w|--wtmp-only]}}` diff --git a/pages.id/linux/ip-route-list.md b/pages.id/linux/ip-route-list.md new file mode 100644 index 00000000000000..d5ce9c75d3e9ca --- /dev/null +++ b/pages.id/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Perintah ini merupakan alias dari `ip route show`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ip route show` diff --git a/pages.id/linux/mac2unix.md b/pages.id/linux/mac2unix.md new file mode 100644 index 00000000000000..d576ecabeab63a --- /dev/null +++ b/pages.id/linux/mac2unix.md @@ -0,0 +1,22 @@ +# mac2unix + +> Ubah format pengakhiran baris teks pada suatu berkas teks (plaintext) dari format DOS menuju Unix. +> Program ini menggantikan simbol CRLF menjadi LF. +> Lihat juga: `unix2dos`, `unix2mac`, dan `dos2unix`. +> Informasi lebih lanjut: . + +- Ganti format pengakhiran baris teks dan simpan perubahan pada berkas yang sama: + +`mac2unix {{jalan/menuju/berkas}}` + +- Ganti format namun simpan perubahan sebagai berkas baru: + +`mac2unix {{[-n|--newfile]}} {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` + +- Tampilkan informasi suatu berkas teks: + +`mac2unix {{[-i|--info]}} {{jalan/menuju/berkas}}` + +- Tetap jaga/tambahkan/hapus simbol Byte Order Mark (BOM) saat mengubah isi berkas: + +`mac2unix --{{keep-bom|add-bom|remove-bom}} {{jalan/menuju/berkas}}` diff --git a/pages.id/linux/megadl.md b/pages.id/linux/megadl.md new file mode 100644 index 00000000000000..d6e167fbf85cf3 --- /dev/null +++ b/pages.id/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Perintah ini merupakan alias dari `megatools-dl`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr megatools-dl` diff --git a/pages.id/linux/mkfs.btrfs.md b/pages.id/linux/mkfs.btrfs.md new file mode 100644 index 00000000000000..b90a5d64985b61 --- /dev/null +++ b/pages.id/linux/mkfs.btrfs.md @@ -0,0 +1,17 @@ +# mkfs.btrfs + +> Membuat sistem file btrfs. +> Default ke `raid1`, yang menyatakan 2 salinan sebuah blok data disebar ke 2 perangkat yang berbeda. +> Informasi lebih lanjut: . + +- Membuat sebuah sistem file btrfs di satu perangkat: + +`sudo mkfs.btrfs --metadata single --data single {{/dev/sda}}` + +- Membuat sebuah sistem file btrfs di beberapa perangkat dengan raid1: + +`sudo mkfs.btrfs --metadata raid1 --data raid1 {{/dev/sda}} {{/dev/sdb}} {{/dev/sdN}}` + +- Mengatur sebuah label untuk sistem file: + +`sudo mkfs.btrfs --label "{{label}}" {{/dev/sda}} [{{/dev/sdN}}]` diff --git a/pages.id/linux/mkfs.ext4.md b/pages.id/linux/mkfs.ext4.md new file mode 100644 index 00000000000000..2a4bda232f03d9 --- /dev/null +++ b/pages.id/linux/mkfs.ext4.md @@ -0,0 +1,12 @@ +# mkfs.ext4 + +> Membuat sistem file ext4 didalam sebuah partisi. +> Informasi lebih lanjut: . + +- Membuat sistem file ext4 di dalam partisi 1 di perangkat B (`sdb1`): + +`sudo mkfs.ext4 {{/dev/sdb1}}` + +- Membuat sistem file ext4 dengan label volume: + +`sudo mkfs.ext4 -L {{label_volume}} {{/dev/sdb1}}` diff --git a/pages.id/linux/ncal.md b/pages.id/linux/ncal.md new file mode 100644 index 00000000000000..44f5af83c0a221 --- /dev/null +++ b/pages.id/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Perintah ini merupakan alias dari `cal`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr cal` diff --git a/pages.id/linux/opera-stable.md b/pages.id/linux/opera-stable.md new file mode 100644 index 00000000000000..0c6b58165271fd --- /dev/null +++ b/pages.id/linux/opera-stable.md @@ -0,0 +1,8 @@ +# opera-stable + +> Perintah ini merupakan alias dari `chromium`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chromium` diff --git a/pages.id/linux/pacman-query.md b/pages.id/linux/pacman-query.md new file mode 100644 index 00000000000000..eb1383b648b766 --- /dev/null +++ b/pages.id/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Kegunaan manajer paket Arch Linux. +> Guarda anche: `pacman`. +> Informasi lebih lanjut: . + +- Tampilkan daftar paket yang diinstal beserta versinya: + +`pacman --query` + +- Tampilkan daftar paket yang diinstal beserta versinya secara eksplisit: + +`pacman --query --explicit` + +- Temukan paket mana yang memiliki file: + +`pacman --query --owns {{namafile}}` + +- Tampilkan informasi paket yang diinstal: + +`pacman --query --info {{nama_paket}}` + +- Tampilkan daftar file yang dimiliki oleh paket: + +`pacman --query --list {{nama_paket}}` + +- Tampilkan daftar paket yatim piatu (diinstal sebagai dependensi namun tidak dibutuhkan oleh paket apa pun): + +`pacman --query --unrequired --deps --quiet` + +- Tampilkan daftar paket yang diinstal tidak ditemukan di tempat penyimpanan: + +`pacman --query --foreign` + +- Tampilkan daftar paket usang: + +`pacman --query --upgrades` diff --git a/pages.id/linux/pacman-remove.md b/pages.id/linux/pacman-remove.md new file mode 100644 index 00000000000000..2c858b56dae03d --- /dev/null +++ b/pages.id/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Kegunaan manajer paket Arch Linux. +> Guarda anche: `pacman`. +> Informasi lebih lanjut: . + +- Hapus paket beserta dependensinya: + +`sudo pacman --remove --recursive {{nama_paket}}` + +- Hapus paket beserta dependensi dan file konfigurasi-nya: + +`sudo pacman --remove --recursive --nosave {{nama_paket}}` + +- Hapus tanpa konfirmasi: + +`sudo pacman --remove --noconfirm {{nama_paket}}` + +- Hapus paket yatim piatu (diinstal sebagai dependensi namun tidak dibutuhkan oleh paket apa pun): + +`sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)` + +- Hapus paket dan semua paket yang bergantung pada paket tersebut: + +`sudo pacman --remove --cascade {{nama_paket}}` + +- Tampilkan daftar paket yang akan terpengaruh (tidak menghapus paket apa pun): + +`pacman --remove --print {{nama_paket}}` + +- Tampilkan bantuan untuk subperintah ini: + +`pacman --remove --help` diff --git a/pages.id/linux/pacman-sync.md b/pages.id/linux/pacman-sync.md new file mode 100644 index 00000000000000..059c1ad8046843 --- /dev/null +++ b/pages.id/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Kegunaan manajer paket Arch Linux. +> Guarda anche: `pacman`. +> Informasi lebih lanjut: . + +- Instal paket baru: + +`sudo pacman --sync {{nama_paket}}` + +- Sinkronkan dan perbarui semua paket (tambahkan `--downloadonly` untuk unduh paket dan tidak memperbarui-nya): + +`sudo pacman --sync --refresh --sysupgrade` + +- Perbarui semua paket dan instal paket baru tanpa konfirmasi: + +`sudo pacman --sync --refresh --sysupgrade --noconfirm {{nama_paket}}` + +- Cari paket dalam database berdasarkan regular expression atau kata kunci: + +`pacman --sync --search "{{pola_pencarian}}"` + +- Tampilkan informasi sebuah paket: + +`pacman --sync --info {{nama_paket}}` + +- Timpa file yang bentrok selama pembaruan paket: + +`sudo pacman --sync --refresh --sysupgrade --overwrite {{jalan/menuju/file}}` + +- Sinkronkan dan perbarui semua paket, namun abaikan paket tertentu (dapat digunakan lebih dari sekali): + +`sudo pacman --sync --refresh --sysupgrade --ignore {{nama_paket}}` + +- Hapus paket yang tidak terpasang dan repositori yang tidak digunakan dari cache (gunakan dua tanda `--clean` untuk bersihkan semua paket): + +`sudo pacman --sync --clean` diff --git a/pages.id/linux/pacman-upgrade.md b/pages.id/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..7919cd83f74d2a --- /dev/null +++ b/pages.id/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> Kegunaan manajer paket Arch Linux. +> Guarda anche: `pacman`. +> Informasi lebih lanjut: . + +- Instal satu paket atau lebih dari file: + +`sudo pacman --upgrade {{jalan/menuju/paket1.pkg.tar.zst}} {{jalan/menuju/paket2.pkg.tar.zst}}` + +- Instal paket tanpa konfirmasi: + +`sudo pacman --upgrade --noconfirm {{jalan/menuju/paket.pkg.tar.zst}}` + +- Timpa file yang bentrok selama pemasangan paket: + +`sudo pacman --upgrade --overwrite {{jalan/menuju/file}} {{jalan/menuju/paket.pkg.tar.zst}}` + +- Instal paket, melewati pemeriksaan versi dependensi: + +`sudo pacman --upgrade --nodeps {{jalan/menuju/paket.pkg.tar.zst}}` + +- Tampilkan daftar paket yang akan terpengaruh (tidak menginstal paket apa pun): + +`pacman --upgrade --print {{jalan/menuju/paket.pkg.tar.zst}}` + +- Tampilkan bantuan: + +`pacman --upgrade --help` diff --git a/pages.id/linux/pacman.md b/pages.id/linux/pacman.md new file mode 100644 index 00000000000000..8156e08d2868d7 --- /dev/null +++ b/pages.id/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> Kegunaan manajer paket Arch Linux. +> Guarda anche: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Lihat untuk daftar perintah dalam manajer paket lain yang menyerupai perintah `pacman`. +> Informasi lebih lanjut: . + +- Sinkronkan dan perbarui semua paket: + +`sudo pacman -Syu` + +- Pasang suatu paket baru: + +`sudo pacman -S {{paket}}` + +- Hapus paket beserta dependensinya: + +`sudo pacman -Rs {{paket}}` + +- Cari pangkalan data untuk nama-nama paket yang mengandung suatu berkas secara spesifik: + +`pacman -F "{{nama_berkas}}"` + +- Tampilkan daftar paket dan versi yang diinstal: + +`pacman -Q` + +- Tampilkan daftar paket dan versi yang diinstal secara eksplisit: + +`pacman -Qe` + +- Tampilkan daftar paket yatim piatu (diinstal sebagai dependensi namun tidak dibutuhkan oleh paket apa pun): + +`pacman -Qtdq` + +- Kosongkan seluruh cache pacman: + +`sudo pacman -Scc` diff --git a/pages.id/linux/poweroff.md b/pages.id/linux/poweroff.md new file mode 100644 index 00000000000000..fc767cc4250d6a --- /dev/null +++ b/pages.id/linux/poweroff.md @@ -0,0 +1,24 @@ +# poweroff + +> Matikan sistem. +> Informasi lebih lanjut: . + +- Matikan sistem: + +`poweroff` + +- Hentikan sistem (sama seperti `halt`): + +`poweroff --halt` + +- Reboot sistem (sama seperti `reboot`): + +`poweroff --reboot` + +- Matikan segera tanpa menghubungi manajer sistem: + +`poweroff {{[-f|--force]}}` + +- Tulis entri wtmp shutdown tanpa mematikan sistem: + +`poweroff {{[-w|--wtmp-only]}}` diff --git a/pages.id/linux/reboot.md b/pages.id/linux/reboot.md new file mode 100644 index 00000000000000..bf574fb7403453 --- /dev/null +++ b/pages.id/linux/reboot.md @@ -0,0 +1,24 @@ +# reboot + +> Nyalakan ulang sistem komputer. +> Informasi lebih lanjut: . + +- Nyalakan ulang sistem komputer: + +`reboot` + +- Matikan sistem (sama seperti `poweroff`): + +`reboot {{[-p|--poweroff]}}` + +- Hentikan sistem (sama seperti `halt`): + +`reboot --halt` + +- Nyalakan ulang segera tanpa menghubungi manajer sistem: + +`reboot {{[-f|--force]}}` + +- Tulis entri wtmp shutdown tanpa menyalakan ulang sistem: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.id/linux/ruget.md b/pages.id/linux/ruget.md new file mode 100644 index 00000000000000..b9080b98a0ddaf --- /dev/null +++ b/pages.id/linux/ruget.md @@ -0,0 +1,12 @@ +# ruget + +> Alternatif untuk wget yang ditulis dalam Rust. +> Informasi lebih lanjut: . + +- Unduh konten URL ke file: + +`ruget {{https://example.com/file}}` + +- Unduh konten URL ke file [o]utput tertentu: + +`ruget --output {{nama_file}} {{https://example.com/file}}` diff --git a/pages.id/linux/shutdown.md b/pages.id/linux/shutdown.md new file mode 100644 index 00000000000000..42276105251c4b --- /dev/null +++ b/pages.id/linux/shutdown.md @@ -0,0 +1,24 @@ +# shutdown + +> Matikan dan nyalakan ulang sistem komputer. +> Informasi lebih lanjut: . + +- Matikan ([h]alt) sistem secara segera: + +`shutdown -h now` + +- Nyalakan ulang ([r]eboot) segera: + +`shutdown {{[-r|--reboot]}} now` + +- Nyalakan ulang dalam 5 menit: + +`shutdown {{[-r|--reboot]}} +{{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` diff --git a/pages.id/linux/st.md b/pages.id/linux/st.md new file mode 100644 index 00000000000000..d91c8e04e78d1d --- /dev/null +++ b/pages.id/linux/st.md @@ -0,0 +1,24 @@ +# st + +> Emulator terminal simpel untuk sistem window X. +> Informasi lebih lanjut: . + +- Membuka sebuah terminal: + +`st` + +- Membuka sebuah terminal dengan judul spesifik: + +`st -T {{judul}}` + +- Membuka sebuah terminal, menjalankan sebuah perintah, dan menuliskan output kedalam sebuah file: + +`st -o {{jalan/menuju/file}} -e {{perintah argumen1 argumen2}}` + +- Membesarkan/mengecilkan ukuran font: + +`` + +- Copy/paste dari clipboard: + +`` diff --git a/pages.id/linux/ubuntu-bug.md b/pages.id/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..353291ead5c4f6 --- /dev/null +++ b/pages.id/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Perintah ini merupakan alias dari `apport-bug`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr apport-bug` diff --git a/pages.id/linux/unix2dos.md b/pages.id/linux/unix2dos.md new file mode 100644 index 00000000000000..986310845d7d55 --- /dev/null +++ b/pages.id/linux/unix2dos.md @@ -0,0 +1,22 @@ +# unix2dos + +> Ubah format pengakhiran baris teks pada suatu berkas teks (plaintext) dari format Unix menuju DOS. +> Program ini menggantikan simbol LF menjadi CRLF. +> Lihat juga: `unix2mac`, `dos2unix`, dan `mac2unix`. +> Informasi lebih lanjut: . + +- Ganti format pengakhiran baris teks dan simpan perubahan pada berkas yang sama: + +`unix2dos {{jalan/menuju/berkas}}` + +- Ganti format namun simpan perubahan sebagai berkas baru: + +`unix2dos {{[-n|--newfile]}} {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` + +- Tampilkan informasi suatu berkas teks: + +`unix2dos {{[-i|--info]}} {{jalan/menuju/berkas}}` + +- Tetap jaga/tambahkan/hapus simbol Byte Order Mark (BOM) saat mengubah isi berkas: + +`unix2dos --{{keep-bom|add-bom|remove-bom}} {{jalan/menuju/berkas}}` diff --git a/pages.id/linux/unix2mac.md b/pages.id/linux/unix2mac.md new file mode 100644 index 00000000000000..3d4a39bf47dcde --- /dev/null +++ b/pages.id/linux/unix2mac.md @@ -0,0 +1,22 @@ +# unix2mac + +> Ubah format pengakhiran baris teks pada suatu berkas teks (plaintext) dari format Unix menuju macOS. +> Program ini menggantikan simbol LF menjadi CR. +> Lihat juga: `unix2dos`, `dos2unix`, dan `mac2unix`. +> Informasi lebih lanjut: . + +- Ganti format pengakhiran baris teks dan simpan perubahan pada berkas yang sama: + +`unix2mac {{jalan/menuju/berkas}}` + +- Ganti format namun simpan perubahan sebagai berkas baru: + +`unix2mac {{[-n|--newfile]}} {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` + +- Tampilkan informasi suatu berkas teks: + +`unix2mac {{[-i|--info]}} {{jalan/menuju/berkas}}` + +- Tetap jaga/tambahkan/hapus simbol Byte Order Mark (BOM) saat mengubah isi berkas: + +`unix2mac --{{keep-bom|add-bom|remove-bom}} {{jalan/menuju/berkas}}` diff --git a/pages.id/linux/vivaldi-stable.md b/pages.id/linux/vivaldi-stable.md new file mode 100644 index 00000000000000..450c510b45fb60 --- /dev/null +++ b/pages.id/linux/vivaldi-stable.md @@ -0,0 +1,8 @@ +# vivaldi-stable + +> Perintah ini merupakan alias dari `chromium`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chromium` diff --git a/pages.id/linux/xfce4-terminal.md b/pages.id/linux/xfce4-terminal.md new file mode 100644 index 00000000000000..259b500a2ef367 --- /dev/null +++ b/pages.id/linux/xfce4-terminal.md @@ -0,0 +1,28 @@ +# xfce4-terminal + +> Emulator terminal XFCE4. +> Informasi lebih lanjut: . + +- Membuka jendela terminal baru: + +`xfce4-terminal` + +- Mengatur judul awal: + +`xfce4-terminal --initial-title "{{judul_awal}}"` + +- Membuka tab baru di jendela terminal saat ini: + +`xfce4-terminal --tab` + +- Jalankan sebuah perintah di jendela terminal baru: + +`xfce4-terminal --command "{{perintah_dengan_argumen}}"` + +- Tetap buka terminal setelah perintah yang dijalankan selesai: + +`xfce4-terminal --command "{{perintah_dengan_argumen}}" --hold` + +- Membuka beberapa tab baru dan menjalankan perintah di masing-masing tab: + +`xfce4-terminal --tab --command "{{perintah_a}}" --tab --command "{{perintah_b}}"` diff --git a/pages.id/linux/xterm.md b/pages.id/linux/xterm.md new file mode 100644 index 00000000000000..9893d329c729e9 --- /dev/null +++ b/pages.id/linux/xterm.md @@ -0,0 +1,24 @@ +# xterm + +> Emulator terminal untuk sistem window X. +> Informasi lebih lanjut: . + +- Membuka terminal dengan judul `Example`: + +`xterm -T {{Example}}` + +- Membuka terminal dalam mode fullscreen: + +`xterm -fullscreen` + +- Membuka terminal dengan warna background biru tua dan warna foreground (warna font) kuning: + +`xterm -bg {{darkblue}} -fg {{yellow}}` + +- Membuka terminal dengan 100 karakter per baris dan 35 baris, di posisi layar x=200px, y=20px: + +`xterm -geometry {{100}}x{{35}}+{{200}}+{{20}}` + +- Membuka terminal dengan font Serif dengan ukuran font sebesar 20: + +`xterm -fa {{'Serif'}} -fs {{20}}` diff --git a/pages.id/linux/yum.md b/pages.id/linux/yum.md new file mode 100644 index 00000000000000..7fa48c6e0c8390 --- /dev/null +++ b/pages.id/linux/yum.md @@ -0,0 +1,29 @@ +# yum + +> Utilitas manajemen paket untuk RHEL, Fedora, dan CentOS (untuk versi-versi yang lebih lama). +> Lihat untuk daftar perintah dalam manajer paket lain yang menyerupai perintah `yum`. +> Informasi lebih lanjut: . + +- Pasang suatu paket: + +`yum install {{nama_paket}}` + +- Pasang paket dengan mengasumsikan jawaban [y]a untuk semua pertanyaan (juga berfungsi dengan perintah pembaruan, sangat berguna untuk pembaruan otomatis): + +`yum -y install {{nama_paket}}` + +- Cari sebuah paket yang menyediakan suatu perintah tertentu: + +`yum provides {{perintah}}` + +- Hapus paket yang terpasang sebelumnya: + +`yum remove {{paket}}` + +- Tampilkan pembaruan yang tersedia untuk paket yang terpasang: + +`yum check-update` + +- Perbarui seluruh paket yang terpasang ke versi terbaru: + +`yum upgrade` diff --git a/pages.id/netbsd/pkgin.md b/pages.id/netbsd/pkgin.md new file mode 100644 index 00000000000000..621bcec30803b6 --- /dev/null +++ b/pages.id/netbsd/pkgin.md @@ -0,0 +1,28 @@ +# pkgin + +> Atur pemasangan paket `pkgsrc` dalam NetBSD. +> Informasi lebih lanjut: . + +- Pasang sebuah paket: + +`pkgin install {{nama_paket}}` + +- Hapus paket yang dipasang beserta penunjangnya (dependencies): + +`pkgin remove {{nama_paket}}` + +- Perbarui seluruh paket yang terpasang: + +`pkgin full-upgrade` + +- Cari paket yang tersedia dalam repositori: + +`pkgin search {{kata_kunci}}` + +- Tampilkan daftar paket yang terpasang: + +`pkgin list` + +- Hapus paket-paket penunjang (dependencies) yang sudah tidak terpakai: + +`pkgin autoremove` diff --git a/pages.id/openbsd/pkg.md b/pages.id/openbsd/pkg.md new file mode 100644 index 00000000000000..8c7d5aa937b38b --- /dev/null +++ b/pages.id/openbsd/pkg.md @@ -0,0 +1,16 @@ +# pkg + +> Manajer paket untuk OpenBSD. +> Informasi lebih lanjut: . + +- Lihat dokumentasi untuk memasang/memperbarui paket: + +`tldr pkg_add` + +- Lihat dokumentasi untuk menghapus paket: + +`tldr pkg_delete` + +- Lihat dokumentasi untuk melihat informasi paket yang tersedia atau terpasang: + +`tldr pkg_info` diff --git a/pages.id/openbsd/pkg_add.md b/pages.id/openbsd/pkg_add.md new file mode 100644 index 00000000000000..36c42fab76f5b9 --- /dev/null +++ b/pages.id/openbsd/pkg_add.md @@ -0,0 +1,17 @@ +# pkg_add + +> Pasang/perbarui paket dalam OpenBSD. +> Lihat juga: `pkg_info`, `pkg_delete`. +> Informasi lebih lanjut: . + +- Perbarui seluruh paket yang terpasang, termasuk penunjangnya (dependencies): + +`pkg_add -u` + +- Pasang paket baru: + +`pkg_add {{paket}}` + +- Pasang paket menurut informasi paket yang dikeluarkan dari `pkg_info`: + +`pkg_add -l {{jalan/menuju/file_hasil_pkg_info}}` diff --git a/pages.id/openbsd/pkg_delete.md b/pages.id/openbsd/pkg_delete.md new file mode 100644 index 00000000000000..e0d648c1b3a892 --- /dev/null +++ b/pages.id/openbsd/pkg_delete.md @@ -0,0 +1,17 @@ +# pkg_delete + +> Hapus pemasangan paket dalam OpenBSD. +> Lihat juga: `pkg_add`, `pkg_info`. +> Informasi lebih lanjut: . + +- Hapus sebuah paket yang terpasang: + +`pkg_delete {{nama_paket}}` + +- Hapus paket beserta penunjang (dependency) yang juga tidak lagi dipakai: + +`pkg_delete -a {{nama_paket}}` + +- Tampilkan apa yang terjadi ketika menghapus suatu paket tanpa memprosesnya secara langsung (dry-run): + +`pkg_delete -n {{nama_paket}}` diff --git a/pages.id/openbsd/pkg_info.md b/pages.id/openbsd/pkg_info.md new file mode 100644 index 00000000000000..0107179cdf361c --- /dev/null +++ b/pages.id/openbsd/pkg_info.md @@ -0,0 +1,13 @@ +# pkg_info + +> Lihat dokumentasi mengenai paket yang tersedia baik dalam repositori atau pemasangan OpenBSD. +> Lihat juga: `pkg_add`, `pkg_delete`. +> Informasi lebih lanjut: . + +- Cari detail paket yang tersedia dalam repositori menurut namanya: + +`pkg_info -Q {{nama_paket}}` + +- Tampilkan dan simpan daftar paket yang telah terpasang, untuk digunakan dalam `pkg_add -l`: + +`pkg_info -mz` diff --git a/pages.id/osx/aa.md b/pages.id/osx/aa.md new file mode 100644 index 00000000000000..41c60dadc5deda --- /dev/null +++ b/pages.id/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Perintah ini merupakan alias dari `yaa`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr yaa` diff --git a/pages.id/osx/arch.md b/pages.id/osx/arch.md new file mode 100644 index 00000000000000..d0b18ebe93dc81 --- /dev/null +++ b/pages.id/osx/arch.md @@ -0,0 +1,17 @@ +# arch + +> Tampilkan nama arsitektur sistem saat ini, atau jalankan suatu perintah menggunakan arsitektur yang berbeda. +> Lihat juga: `uname`. +> Informasi lebih lanjut: . + +- Tampilkan informasi arsitektur sistem saat ini: + +`arch` + +- Jalankan suatu perintah menggunakan arsitektur x86_64: + +`arch -x86_64 "{{command}}"` + +- Jalankan suatu perintah menggunakan arsitektur arm: + +`arch -arm64 "{{command}}"` diff --git a/pages.id/osx/base64.md b/pages.id/osx/base64.md new file mode 100644 index 00000000000000..fc1073e827a613 --- /dev/null +++ b/pages.id/osx/base64.md @@ -0,0 +1,28 @@ +# base64 + +> Lakukan pengodean dan pendekodean terhadap suatu berkas atau `stdin` dari/menuju format Base64, menuju `stdout` atau berkas lainnya. +> Informasi lebih lanjut: . + +- Kodekan isi suatu berkas menuju format Base64, dan keluarkan hasil menuju `stdout`: + +`base64 {{[-i|--input]}} {{jalan/menuju/berkas}}` + +- Kodekan isi suatu berkas menuju format Base64, dan keluarkan hasil menuju suatu berkas luaran/output: + +`base64 {{[-i|--input]}} {{jalan/menuju/berkas_input}} {{[-o|--output]}} {{jalan/menuju/berkas_output}}` + +- Bungkus luaran Base64 dalam panjang karakter yang tetap (nilai `0` akan menonaktifkan pembungkusan): + +`base64 {{[-b|--break]}} {{0|76|...}} {{jalan/menuju/berkas}}` + +- Dekodekan kode Base64 yang tersimpan dalam suatu berkas, dan keluarkan hasil menuju `stdout`: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{jalan/menuju/berkas}}` + +- Kodekan isi dari `stdin` menuju `stdout`: + +`{{perintah}} | base64` + +- Dekodekan kode Base64 yang berasal dari `stdin` menuju `stdout`: + +`{{perintah}} | base64 {{[-d|--decode]}}` diff --git a/pages.id/osx/brightness.md b/pages.id/osx/brightness.md new file mode 100644 index 00000000000000..3961ff5aa877bb --- /dev/null +++ b/pages.id/osx/brightness.md @@ -0,0 +1,16 @@ +# brightness + +> Tampilkan dan ubah pengaturan tingkat pencahayaan (brightness) untuk layar monitor internal maupun eksternal. +> Informasi lebih lanjut: . + +- Tampilkan tingkat pencahayaan saat ini: + +`brightness -l` + +- Ubah tingkat pencahayaan secara spesifik: + +`brightness {{0..1}}` + +- Ubah tingkat pencahayaan menjadi 50%: + +`brightness {{0.5}}` diff --git a/pages.id/osx/caffeinate.md b/pages.id/osx/caffeinate.md new file mode 100644 index 00000000000000..86fdcd4fcb015e --- /dev/null +++ b/pages.id/osx/caffeinate.md @@ -0,0 +1,16 @@ +# caffeinate + +> Menghindari macOS dari sleep (mode tidur). +> Informasi lebih lanjut: . + +- Menghindari mode sleep selama 1 jam (3600 detik): + +`caffeinate -u -t {{3600}}` + +- Menghindari mode sleep sampai sebuah command selesai: + +`caffeinate -s {{command}}` + +- Menghindari mode sleep sampai anda mengetik ``: + +`caffeinate -i` diff --git a/pages.id/osx/cal.md b/pages.id/osx/cal.md new file mode 100644 index 00000000000000..ba61f6326aa7d1 --- /dev/null +++ b/pages.id/osx/cal.md @@ -0,0 +1,32 @@ +# cal + +> Tampilkan informasi kalender. +> Informasi lebih lanjut: . + +- Tampilkan kalender bulan ini: + +`cal` + +- Tampilkan kalender bulan lalu, sekarang, dan berikutnya: + +`cal -3` + +- Tampilkan kalender pada bulan tertentu (angka 1-12 atau nama): + +`cal -m {{bulan}}` + +- Tampilkan kalender pada tahun yang sedang berjalan: + +`cal -y` + +- Tampilkan kalender pada tahun tertentu (dalam format 4 digit): + +`cal {{tahun}}` + +- Tampilkan kalender pada bulan dan tahun tertentu: + +`cal {{bulan}} {{tahun}}` + +- Tampilkan tanggal Hari Raya Paskah (Gereja Kristen Barat) pada tahun tertentu: + +`ncal -e {{tahun}}` diff --git a/pages.id/osx/date.md b/pages.id/osx/date.md new file mode 100644 index 00000000000000..6ef578a595a59f --- /dev/null +++ b/pages.id/osx/date.md @@ -0,0 +1,20 @@ +# date + +> Atur atau tampilkan tanggal sistem. +> Informasi lebih lanjut: . + +- Tampilkan tanggal saat ini menggunakan format _locale_: + +`date +%c` + +- Tampilkan tanggal saat ini dalam format UTC and ISO 8601: + +`date -u +%Y-%m-%dT%H:%M:%SZ` + +- Tampilkan tanggal saat ini sebagai _Unix timestamp_ (detik sejak jaman Unix): + +`date +%s` + +- Tampilkan tanggal tertentu (diwakili sebagai _Unix timestamp_) menggunakan format bawaan: + +`date -r {{1473305798}}` diff --git a/pages.id/osx/g[.md b/pages.id/osx/g[.md new file mode 100644 index 00000000000000..e8daeea716a5c5 --- /dev/null +++ b/pages.id/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Perintah ini merupakan alias dari `[`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr [` diff --git a/pages.id/osx/gb2sum.md b/pages.id/osx/gb2sum.md new file mode 100644 index 00000000000000..de429f7e6f4872 --- /dev/null +++ b/pages.id/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Perintah ini merupakan alias dari `b2sum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr b2sum` diff --git a/pages.id/osx/gbase32.md b/pages.id/osx/gbase32.md new file mode 100644 index 00000000000000..9631ca2424c2b6 --- /dev/null +++ b/pages.id/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Perintah ini merupakan alias dari `base32`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr base32` diff --git a/pages.id/osx/gbase64.md b/pages.id/osx/gbase64.md new file mode 100644 index 00000000000000..b96bfd7995dbf9 --- /dev/null +++ b/pages.id/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Perintah ini merupakan alias dari `base64`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.id/osx/gbasename.md b/pages.id/osx/gbasename.md new file mode 100644 index 00000000000000..a047e8a578e20c --- /dev/null +++ b/pages.id/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Perintah ini merupakan alias dari `basename`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr basename` diff --git a/pages.id/osx/gbasenc.md b/pages.id/osx/gbasenc.md new file mode 100644 index 00000000000000..f2fd0260dd9e41 --- /dev/null +++ b/pages.id/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Perintah ini merupakan alias dari `basenc`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr basenc` diff --git a/pages.id/osx/gcat.md b/pages.id/osx/gcat.md new file mode 100644 index 00000000000000..d2e0cda452fce8 --- /dev/null +++ b/pages.id/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Perintah ini merupakan alias dari `-p linux cat`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.id/osx/gchcon.md b/pages.id/osx/gchcon.md new file mode 100644 index 00000000000000..474d36d712d1f9 --- /dev/null +++ b/pages.id/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Perintah ini merupakan alias dari `-p linux chcon`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.id/osx/gchgrp.md b/pages.id/osx/gchgrp.md new file mode 100644 index 00000000000000..7bc06274e4e515 --- /dev/null +++ b/pages.id/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Perintah ini merupakan alias dari `chgrp`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chgrp` diff --git a/pages.id/osx/gchmod.md b/pages.id/osx/gchmod.md new file mode 100644 index 00000000000000..66e4723421309a --- /dev/null +++ b/pages.id/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Perintah ini merupakan alias dari `chmod`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chmod` diff --git a/pages.id/osx/gchown.md b/pages.id/osx/gchown.md new file mode 100644 index 00000000000000..274c00ff0a5b85 --- /dev/null +++ b/pages.id/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Perintah ini merupakan alias dari `chown`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chown` diff --git a/pages.id/osx/gchroot.md b/pages.id/osx/gchroot.md new file mode 100644 index 00000000000000..57d98bf1f35bfb --- /dev/null +++ b/pages.id/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Perintah ini merupakan alias dari `chroot`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chroot` diff --git a/pages.id/osx/gcksum.md b/pages.id/osx/gcksum.md new file mode 100644 index 00000000000000..42162b8f123f6d --- /dev/null +++ b/pages.id/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Perintah ini merupakan alias dari `cksum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr cksum` diff --git a/pages.id/osx/gcomm.md b/pages.id/osx/gcomm.md new file mode 100644 index 00000000000000..1acdaae59c6058 --- /dev/null +++ b/pages.id/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Perintah ini merupakan alias dari `comm`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr comm` diff --git a/pages.id/osx/gcp.md b/pages.id/osx/gcp.md new file mode 100644 index 00000000000000..ec7a23bdd5bb0e --- /dev/null +++ b/pages.id/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Perintah ini merupakan alias dari `cp`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr cp` diff --git a/pages.id/osx/gcsplit.md b/pages.id/osx/gcsplit.md new file mode 100644 index 00000000000000..b1edbc82871819 --- /dev/null +++ b/pages.id/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Perintah ini merupakan alias dari `-p linux csplit`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.id/osx/gcut.md b/pages.id/osx/gcut.md new file mode 100644 index 00000000000000..cb171a6a57b886 --- /dev/null +++ b/pages.id/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Perintah ini merupakan alias dari `cut`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.id/osx/gdate.md b/pages.id/osx/gdate.md new file mode 100644 index 00000000000000..a78de0ca2afcb4 --- /dev/null +++ b/pages.id/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Perintah ini merupakan alias dari `date`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.id/osx/gdd.md b/pages.id/osx/gdd.md new file mode 100644 index 00000000000000..7a8abb5f906294 --- /dev/null +++ b/pages.id/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Perintah ini merupakan alias dari `-p linux dd`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.id/osx/gdf.md b/pages.id/osx/gdf.md new file mode 100644 index 00000000000000..fdcd79de27f379 --- /dev/null +++ b/pages.id/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Perintah ini merupakan alias dari `-p linux df`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.id/osx/gdir.md b/pages.id/osx/gdir.md new file mode 100644 index 00000000000000..a939ab4ef1df0f --- /dev/null +++ b/pages.id/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Perintah ini merupakan alias dari `-p linux dir`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.id/osx/gdircolors.md b/pages.id/osx/gdircolors.md new file mode 100644 index 00000000000000..62955583b55017 --- /dev/null +++ b/pages.id/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Perintah ini merupakan alias dari `dircolors`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr dircolors` diff --git a/pages.id/osx/gdirname.md b/pages.id/osx/gdirname.md new file mode 100644 index 00000000000000..eb5dc441bbe25d --- /dev/null +++ b/pages.id/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Perintah ini merupakan alias dari `dirname`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr dirname` diff --git a/pages.id/osx/gdnsdomainname.md b/pages.id/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..3077bb3f1fe4fb --- /dev/null +++ b/pages.id/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Perintah ini merupakan alias dari `-p linux dnsdomainname`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.id/osx/gecho.md b/pages.id/osx/gecho.md new file mode 100644 index 00000000000000..08ee51ba19395d --- /dev/null +++ b/pages.id/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Perintah ini merupakan alias dari `echo`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr echo` diff --git a/pages.id/osx/ged.md b/pages.id/osx/ged.md new file mode 100644 index 00000000000000..ad85ca1dc0038f --- /dev/null +++ b/pages.id/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Perintah ini merupakan alias dari `ed`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ed` diff --git a/pages.id/osx/gegrep.md b/pages.id/osx/gegrep.md new file mode 100644 index 00000000000000..67e000921d3a30 --- /dev/null +++ b/pages.id/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Perintah ini merupakan alias dari `egrep`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr egrep` diff --git a/pages.id/osx/genv.md b/pages.id/osx/genv.md new file mode 100644 index 00000000000000..6462971681fd77 --- /dev/null +++ b/pages.id/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Perintah ini merupakan alias dari `env`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr env` diff --git a/pages.id/osx/getfileinfo.md b/pages.id/osx/getfileinfo.md new file mode 100644 index 00000000000000..8db3cd75973f44 --- /dev/null +++ b/pages.id/osx/getfileinfo.md @@ -0,0 +1,20 @@ +# GetFileInfo + +> Dapatkan informasi sebuah file dalam direktori yang terkandung dalam penyimpanan berbasis HFS+. +> Informasi lebih lanjut: . + +- Tampilkan informasi mengenai suatu file: + +`GetFileInfo {{jalan/menuju/file}}` + +- Tampilkan tanggal dan waktu saat file tersebut pertama kali [d]ibuat: + +`GetFileInfo -d {{jalan/menuju/file}}` + +- Tampilkan tanggal dan waktu saat file tersebut terakhir kali di[m]odifikasi: + +`GetFileInfo -m {{jalan/menuju/file}}` + +- Tampilkan nama pengguna yang men[c]iptakan file tersebut: + +`GetFileInfo -c {{jalan/menuju/file}}` diff --git a/pages.id/osx/gexpand.md b/pages.id/osx/gexpand.md new file mode 100644 index 00000000000000..f76951192f4773 --- /dev/null +++ b/pages.id/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Perintah ini merupakan alias dari `expand`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr expand` diff --git a/pages.id/osx/gexpr.md b/pages.id/osx/gexpr.md new file mode 100644 index 00000000000000..80a2d6939d0d87 --- /dev/null +++ b/pages.id/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Perintah ini merupakan alias dari `expr`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr expr` diff --git a/pages.id/osx/gfactor.md b/pages.id/osx/gfactor.md new file mode 100644 index 00000000000000..f00978bbdbbdcc --- /dev/null +++ b/pages.id/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Perintah ini merupakan alias dari `factor`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr factor` diff --git a/pages.id/osx/gfalse.md b/pages.id/osx/gfalse.md new file mode 100644 index 00000000000000..28caae4e28c973 --- /dev/null +++ b/pages.id/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Perintah ini merupakan alias dari `false`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr false` diff --git a/pages.id/osx/gfgrep.md b/pages.id/osx/gfgrep.md new file mode 100644 index 00000000000000..5242dd2e126de9 --- /dev/null +++ b/pages.id/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Perintah ini merupakan alias dari `fgrep`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr fgrep` diff --git a/pages.id/osx/gfind.md b/pages.id/osx/gfind.md new file mode 100644 index 00000000000000..b304ba4315d049 --- /dev/null +++ b/pages.id/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Perintah ini merupakan alias dari `find`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr find` diff --git a/pages.id/osx/gfmt.md b/pages.id/osx/gfmt.md new file mode 100644 index 00000000000000..068c65eb9d23a5 --- /dev/null +++ b/pages.id/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Perintah ini merupakan alias dari `fmt`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr fmt` diff --git a/pages.id/osx/gfold.md b/pages.id/osx/gfold.md new file mode 100644 index 00000000000000..79af08147aaeda --- /dev/null +++ b/pages.id/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Perintah ini merupakan alias dari `-p linux fold`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.id/osx/gftp.md b/pages.id/osx/gftp.md new file mode 100644 index 00000000000000..01b3f7b15db2de --- /dev/null +++ b/pages.id/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Perintah ini merupakan alias dari `ftp`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ftp` diff --git a/pages.id/osx/ggrep.md b/pages.id/osx/ggrep.md new file mode 100644 index 00000000000000..1f9b588e343d73 --- /dev/null +++ b/pages.id/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Perintah ini merupakan alias dari `grep`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr grep` diff --git a/pages.id/osx/ggroups.md b/pages.id/osx/ggroups.md new file mode 100644 index 00000000000000..5018d8f992ac45 --- /dev/null +++ b/pages.id/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Perintah ini merupakan alias dari `groups`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr groups` diff --git a/pages.id/osx/ghead.md b/pages.id/osx/ghead.md new file mode 100644 index 00000000000000..473e9eaaa6d61c --- /dev/null +++ b/pages.id/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Perintah ini merupakan alias dari `-p linux head`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.id/osx/ghostid.md b/pages.id/osx/ghostid.md new file mode 100644 index 00000000000000..fda35e503dff3d --- /dev/null +++ b/pages.id/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Perintah ini merupakan alias dari `hostid`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr hostid` diff --git a/pages.id/osx/ghostname.md b/pages.id/osx/ghostname.md new file mode 100644 index 00000000000000..b642b2748f8b77 --- /dev/null +++ b/pages.id/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Perintah ini merupakan alias dari `hostname`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr hostname` diff --git a/pages.id/osx/gid.md b/pages.id/osx/gid.md new file mode 100644 index 00000000000000..d3db06d303fd6c --- /dev/null +++ b/pages.id/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Perintah ini merupakan alias dari `id`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr id` diff --git a/pages.id/osx/gifconfig.md b/pages.id/osx/gifconfig.md new file mode 100644 index 00000000000000..009a3d1a183b4d --- /dev/null +++ b/pages.id/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Perintah ini merupakan alias dari `ifconfig`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ifconfig` diff --git a/pages.id/osx/gindent.md b/pages.id/osx/gindent.md new file mode 100644 index 00000000000000..0831bc4daa2ea8 --- /dev/null +++ b/pages.id/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Perintah ini merupakan alias dari `indent`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.id/osx/ginstall.md b/pages.id/osx/ginstall.md new file mode 100644 index 00000000000000..ecf66213174a8c --- /dev/null +++ b/pages.id/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Perintah ini merupakan alias dari `install`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr install` diff --git a/pages.id/osx/gjoin.md b/pages.id/osx/gjoin.md new file mode 100644 index 00000000000000..c620cb680b8e8b --- /dev/null +++ b/pages.id/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Perintah ini merupakan alias dari `join`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr join` diff --git a/pages.id/osx/gkill.md b/pages.id/osx/gkill.md new file mode 100644 index 00000000000000..51cfbccb1d928e --- /dev/null +++ b/pages.id/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Perintah ini merupakan alias dari `-p linux kill`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.id/osx/glibtool.md b/pages.id/osx/glibtool.md new file mode 100644 index 00000000000000..fa5cbbdc5d5d16 --- /dev/null +++ b/pages.id/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Perintah ini merupakan alias dari `-p linux libtool`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.id/osx/glibtoolize.md b/pages.id/osx/glibtoolize.md new file mode 100644 index 00000000000000..121533aec85b13 --- /dev/null +++ b/pages.id/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Perintah ini merupakan alias dari `-p linux libtoolize`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.id/osx/glink.md b/pages.id/osx/glink.md new file mode 100644 index 00000000000000..5382bfaa7fb683 --- /dev/null +++ b/pages.id/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Perintah ini merupakan alias dari `link`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr link` diff --git a/pages.id/osx/gln.md b/pages.id/osx/gln.md new file mode 100644 index 00000000000000..2f33d361d0a529 --- /dev/null +++ b/pages.id/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Perintah ini merupakan alias dari `ln`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ln` diff --git a/pages.id/osx/glocate.md b/pages.id/osx/glocate.md new file mode 100644 index 00000000000000..3d6edf60520033 --- /dev/null +++ b/pages.id/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Perintah ini merupakan alias dari `-p linux locate`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.id/osx/glogger.md b/pages.id/osx/glogger.md new file mode 100644 index 00000000000000..9af5e5ef3e413f --- /dev/null +++ b/pages.id/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Perintah ini merupakan alias dari `-p linux logger`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.id/osx/glogname.md b/pages.id/osx/glogname.md new file mode 100644 index 00000000000000..7db76833e7c2e7 --- /dev/null +++ b/pages.id/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Perintah ini merupakan alias dari `logname`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr logname` diff --git a/pages.id/osx/gls.md b/pages.id/osx/gls.md new file mode 100644 index 00000000000000..5c0d2cadff7612 --- /dev/null +++ b/pages.id/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Perintah ini merupakan alias dari `ls`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ls` diff --git a/pages.id/osx/gmake.md b/pages.id/osx/gmake.md new file mode 100644 index 00000000000000..500e3b002dda0d --- /dev/null +++ b/pages.id/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Perintah ini merupakan alias dari `make`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr make` diff --git a/pages.id/osx/gmd5sum.md b/pages.id/osx/gmd5sum.md new file mode 100644 index 00000000000000..5e875ecb038765 --- /dev/null +++ b/pages.id/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Perintah ini merupakan alias dari `md5sum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr md5sum` diff --git a/pages.id/osx/gmkdir.md b/pages.id/osx/gmkdir.md new file mode 100644 index 00000000000000..e6581db058f59d --- /dev/null +++ b/pages.id/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Perintah ini merupakan alias dari `mkdir`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr mkdir` diff --git a/pages.id/osx/gmkfifo.md b/pages.id/osx/gmkfifo.md new file mode 100644 index 00000000000000..7e6d2053cf7b6c --- /dev/null +++ b/pages.id/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Perintah ini merupakan alias dari `mkfifo`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr mkfifo` diff --git a/pages.id/osx/gmknod.md b/pages.id/osx/gmknod.md new file mode 100644 index 00000000000000..c9463b650ef2ca --- /dev/null +++ b/pages.id/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Perintah ini merupakan alias dari `-p linux mknod`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.id/osx/gmktemp.md b/pages.id/osx/gmktemp.md new file mode 100644 index 00000000000000..262238cccb2ccc --- /dev/null +++ b/pages.id/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Perintah ini merupakan alias dari `-p linux mktemp`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.id/osx/gmv.md b/pages.id/osx/gmv.md new file mode 100644 index 00000000000000..1cbf4af0cf859e --- /dev/null +++ b/pages.id/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Perintah ini merupakan alias dari `mv`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr mv` diff --git a/pages.id/osx/gnice.md b/pages.id/osx/gnice.md new file mode 100644 index 00000000000000..b1685382f409bf --- /dev/null +++ b/pages.id/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Perintah ini merupakan alias dari `nice`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr nice` diff --git a/pages.id/osx/gnl.md b/pages.id/osx/gnl.md new file mode 100644 index 00000000000000..c74d9d655dad57 --- /dev/null +++ b/pages.id/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Perintah ini merupakan alias dari `-p linux nl`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.id/osx/gnohup.md b/pages.id/osx/gnohup.md new file mode 100644 index 00000000000000..294f2950247f7c --- /dev/null +++ b/pages.id/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Perintah ini merupakan alias dari `nohup`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr nohup` diff --git a/pages.id/osx/gnproc.md b/pages.id/osx/gnproc.md new file mode 100644 index 00000000000000..6b440f776c0c43 --- /dev/null +++ b/pages.id/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Perintah ini merupakan alias dari `nproc`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr nproc` diff --git a/pages.id/osx/gnumfmt.md b/pages.id/osx/gnumfmt.md new file mode 100644 index 00000000000000..99f422811b4c1f --- /dev/null +++ b/pages.id/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Perintah ini merupakan alias dari `numfmt`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr numfmt` diff --git a/pages.id/osx/god.md b/pages.id/osx/god.md new file mode 100644 index 00000000000000..d6a3f9aab62023 --- /dev/null +++ b/pages.id/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Perintah ini merupakan alias dari `od`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr od` diff --git a/pages.id/osx/goku.md b/pages.id/osx/goku.md new file mode 100644 index 00000000000000..50f110eb5740d6 --- /dev/null +++ b/pages.id/osx/goku.md @@ -0,0 +1,28 @@ +# goku + +> Atur konfigurasi Karabiner. +> Informasi lebih lanjut: . + +- Buat file `karabiner.json` dengan konfigurasi default: + +`goku` + +- Buat file `karabiner.json` menggunakan konfigurasi khusus dari `config.edn`: + +`goku --config {{jalan/menuju/config.edn}}` + +- Tampilkan daftar perubahan konfigurasi baru menuju `stdout`, tanpa mengubah file `karabiner.json` yang sesungguhnya: + +`goku --dry-run` + +- Tampilkan hasil file konfigurasi yang baru menuju `stdout`, tanpa mengubah file `karabiner.json` yang sesungguhnya: + +`goku --dry-run-all` + +- Tampilkan informasi bantuan: + +`goku --help` + +- Tampilkan informasi versi: + +`goku --version` diff --git a/pages.id/osx/gpaste.md b/pages.id/osx/gpaste.md new file mode 100644 index 00000000000000..07af263d40b891 --- /dev/null +++ b/pages.id/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Perintah ini merupakan alias dari `paste`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr paste` diff --git a/pages.id/osx/gpathchk.md b/pages.id/osx/gpathchk.md new file mode 100644 index 00000000000000..804a848a95ad7f --- /dev/null +++ b/pages.id/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Perintah ini merupakan alias dari `pathchk`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr pathchk` diff --git a/pages.id/osx/gping.md b/pages.id/osx/gping.md new file mode 100644 index 00000000000000..bd16a8fbc8bb8e --- /dev/null +++ b/pages.id/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Perintah ini merupakan alias dari `ping`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.id/osx/gping6.md b/pages.id/osx/gping6.md new file mode 100644 index 00000000000000..662f40ec995121 --- /dev/null +++ b/pages.id/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Perintah ini merupakan alias dari `ping6`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr ping6` diff --git a/pages.id/osx/gpinky.md b/pages.id/osx/gpinky.md new file mode 100644 index 00000000000000..39c7a229f92b9d --- /dev/null +++ b/pages.id/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Perintah ini merupakan alias dari `pinky`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr pinky` diff --git a/pages.id/osx/gpr.md b/pages.id/osx/gpr.md new file mode 100644 index 00000000000000..e062c77e50c469 --- /dev/null +++ b/pages.id/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Perintah ini merupakan alias dari `pr`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr pr` diff --git a/pages.id/osx/gprintenv.md b/pages.id/osx/gprintenv.md new file mode 100644 index 00000000000000..7be3d524f6a261 --- /dev/null +++ b/pages.id/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Perintah ini merupakan alias dari `printenv`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr printenv` diff --git a/pages.id/osx/gprintf.md b/pages.id/osx/gprintf.md new file mode 100644 index 00000000000000..5c44643b960a0e --- /dev/null +++ b/pages.id/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Perintah ini merupakan alias dari `printf`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr printf` diff --git a/pages.id/osx/gptx.md b/pages.id/osx/gptx.md new file mode 100644 index 00000000000000..26a2c5a4b719a6 --- /dev/null +++ b/pages.id/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Perintah ini merupakan alias dari `-p linux ptx`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.id/osx/gpwd.md b/pages.id/osx/gpwd.md new file mode 100644 index 00000000000000..89e86c17d7b268 --- /dev/null +++ b/pages.id/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Perintah ini merupakan alias dari `pwd`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr pwd` diff --git a/pages.id/osx/grcp.md b/pages.id/osx/grcp.md new file mode 100644 index 00000000000000..cd123c73eb9c2b --- /dev/null +++ b/pages.id/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Perintah ini merupakan alias dari `-p linux rcp`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.id/osx/greadlink.md b/pages.id/osx/greadlink.md new file mode 100644 index 00000000000000..c76a92fd2d8c71 --- /dev/null +++ b/pages.id/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Perintah ini merupakan alias dari `readlink`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr readlink` diff --git a/pages.id/osx/grealpath.md b/pages.id/osx/grealpath.md new file mode 100644 index 00000000000000..9c4742fc2fdb1d --- /dev/null +++ b/pages.id/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Perintah ini merupakan alias dari `realpath`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr realpath` diff --git a/pages.id/osx/grexec.md b/pages.id/osx/grexec.md new file mode 100644 index 00000000000000..25946a1166e5d4 --- /dev/null +++ b/pages.id/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Perintah ini merupakan alias dari `-p linux rexec`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.id/osx/grlogin.md b/pages.id/osx/grlogin.md new file mode 100644 index 00000000000000..02b1122c905380 --- /dev/null +++ b/pages.id/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Perintah ini merupakan alias dari `-p linux rlogin`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.id/osx/grm.md b/pages.id/osx/grm.md new file mode 100644 index 00000000000000..4aea549604f22f --- /dev/null +++ b/pages.id/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Perintah ini merupakan alias dari `rm`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr rm` diff --git a/pages.id/osx/grmdir.md b/pages.id/osx/grmdir.md new file mode 100644 index 00000000000000..887cb7f9cb972d --- /dev/null +++ b/pages.id/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Perintah ini merupakan alias dari `rmdir`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr rmdir` diff --git a/pages.id/osx/grsh.md b/pages.id/osx/grsh.md new file mode 100644 index 00000000000000..d16a3b0fa41019 --- /dev/null +++ b/pages.id/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Perintah ini merupakan alias dari `-p linux rsh`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.id/osx/gruncon.md b/pages.id/osx/gruncon.md new file mode 100644 index 00000000000000..ea60bd6bec289f --- /dev/null +++ b/pages.id/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Perintah ini merupakan alias dari `-p linux runcon`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.id/osx/gsed.md b/pages.id/osx/gsed.md new file mode 100644 index 00000000000000..1f05924d70205b --- /dev/null +++ b/pages.id/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Perintah ini merupakan alias dari `-p linux sed`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.id/osx/gseq.md b/pages.id/osx/gseq.md new file mode 100644 index 00000000000000..a494f02bf910a2 --- /dev/null +++ b/pages.id/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Perintah ini merupakan alias dari `seq`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr seq` diff --git a/pages.id/osx/gsha1sum.md b/pages.id/osx/gsha1sum.md new file mode 100644 index 00000000000000..c99781fb1e3882 --- /dev/null +++ b/pages.id/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Perintah ini merupakan alias dari `sha1sum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr sha1sum` diff --git a/pages.id/osx/gsha224sum.md b/pages.id/osx/gsha224sum.md new file mode 100644 index 00000000000000..b0d478bf331631 --- /dev/null +++ b/pages.id/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Perintah ini merupakan alias dari `sha224sum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr sha224sum` diff --git a/pages.id/osx/gsha256sum.md b/pages.id/osx/gsha256sum.md new file mode 100644 index 00000000000000..f9466e34b74085 --- /dev/null +++ b/pages.id/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Perintah ini merupakan alias dari `sha256sum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr sha256sum` diff --git a/pages.id/osx/gsha384sum.md b/pages.id/osx/gsha384sum.md new file mode 100644 index 00000000000000..31be19dd67a7eb --- /dev/null +++ b/pages.id/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Perintah ini merupakan alias dari `sha384sum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr sha384sum` diff --git a/pages.id/osx/gsha512sum.md b/pages.id/osx/gsha512sum.md new file mode 100644 index 00000000000000..1a99206a56b648 --- /dev/null +++ b/pages.id/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Perintah ini merupakan alias dari `sha512sum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr sha512sum` diff --git a/pages.id/osx/gshred.md b/pages.id/osx/gshred.md new file mode 100644 index 00000000000000..9796d0a10d675b --- /dev/null +++ b/pages.id/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Perintah ini merupakan alias dari `shred`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr shred` diff --git a/pages.id/osx/gshuf.md b/pages.id/osx/gshuf.md new file mode 100644 index 00000000000000..4bb0ef21bb945f --- /dev/null +++ b/pages.id/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Perintah ini merupakan alias dari `shuf`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.id/osx/gsleep.md b/pages.id/osx/gsleep.md new file mode 100644 index 00000000000000..2b3d3f0dfc15dd --- /dev/null +++ b/pages.id/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Perintah ini merupakan alias dari `-p linux sleep`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.id/osx/gsort.md b/pages.id/osx/gsort.md new file mode 100644 index 00000000000000..dc1dd2b14e31c0 --- /dev/null +++ b/pages.id/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Perintah ini merupakan alias dari `sort`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr sort` diff --git a/pages.id/osx/gsplit.md b/pages.id/osx/gsplit.md new file mode 100644 index 00000000000000..963f4baf4949b4 --- /dev/null +++ b/pages.id/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Perintah ini merupakan alias dari `split`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.id/osx/gstat.md b/pages.id/osx/gstat.md new file mode 100644 index 00000000000000..67ce06084543a4 --- /dev/null +++ b/pages.id/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Perintah ini merupakan alias dari `stat`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.id/osx/gstdbuf.md b/pages.id/osx/gstdbuf.md new file mode 100644 index 00000000000000..b83276b0a450c5 --- /dev/null +++ b/pages.id/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Perintah ini merupakan alias dari `stdbuf`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr stdbuf` diff --git a/pages.id/osx/gstty.md b/pages.id/osx/gstty.md new file mode 100644 index 00000000000000..e6787b34f1a1dc --- /dev/null +++ b/pages.id/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Perintah ini merupakan alias dari `stty`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr stty` diff --git a/pages.id/osx/gsum.md b/pages.id/osx/gsum.md new file mode 100644 index 00000000000000..fbb049cb4ec475 --- /dev/null +++ b/pages.id/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Perintah ini merupakan alias dari `sum`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr sum` diff --git a/pages.id/osx/gsync.md b/pages.id/osx/gsync.md new file mode 100644 index 00000000000000..2a40ff7c17907b --- /dev/null +++ b/pages.id/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Perintah ini merupakan alias dari `sync`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr sync` diff --git a/pages.id/osx/gtac.md b/pages.id/osx/gtac.md new file mode 100644 index 00000000000000..532b4f61934772 --- /dev/null +++ b/pages.id/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Perintah ini merupakan alias dari `tac`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr tac` diff --git a/pages.id/osx/gtail.md b/pages.id/osx/gtail.md new file mode 100644 index 00000000000000..0c3c7541c68901 --- /dev/null +++ b/pages.id/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Perintah ini merupakan alias dari `tail`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.id/osx/gtalk.md b/pages.id/osx/gtalk.md new file mode 100644 index 00000000000000..7da67131f4e151 --- /dev/null +++ b/pages.id/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Perintah ini merupakan alias dari `-p linux talk`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.id/osx/gtar.md b/pages.id/osx/gtar.md new file mode 100644 index 00000000000000..b8e98f0d8ad505 --- /dev/null +++ b/pages.id/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Perintah ini merupakan alias dari `tar`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr tar` diff --git a/pages.id/osx/gtee.md b/pages.id/osx/gtee.md new file mode 100644 index 00000000000000..1c34dbf5b570ea --- /dev/null +++ b/pages.id/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Perintah ini merupakan alias dari `tee`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr tee` diff --git a/pages.id/osx/gtelnet.md b/pages.id/osx/gtelnet.md new file mode 100644 index 00000000000000..b87d0910329f24 --- /dev/null +++ b/pages.id/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Perintah ini merupakan alias dari `telnet`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr telnet` diff --git a/pages.id/osx/gtest.md b/pages.id/osx/gtest.md new file mode 100644 index 00000000000000..8e10c5d71432b2 --- /dev/null +++ b/pages.id/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Perintah ini merupakan alias dari `test`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr test` diff --git a/pages.id/osx/gtftp.md b/pages.id/osx/gtftp.md new file mode 100644 index 00000000000000..f9280ec42cd382 --- /dev/null +++ b/pages.id/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Perintah ini merupakan alias dari `-p linux tftp`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.id/osx/gtime.md b/pages.id/osx/gtime.md new file mode 100644 index 00000000000000..d968d2eb6ec0d8 --- /dev/null +++ b/pages.id/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Perintah ini merupakan alias dari `time`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr time` diff --git a/pages.id/osx/gtimeout.md b/pages.id/osx/gtimeout.md new file mode 100644 index 00000000000000..020dcd0aa4e98a --- /dev/null +++ b/pages.id/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Perintah ini merupakan alias dari `timeout`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr timeout` diff --git a/pages.id/osx/gtouch.md b/pages.id/osx/gtouch.md new file mode 100644 index 00000000000000..c44122fd361558 --- /dev/null +++ b/pages.id/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Perintah ini merupakan alias dari `touch`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr touch` diff --git a/pages.id/osx/gtr.md b/pages.id/osx/gtr.md new file mode 100644 index 00000000000000..8b78db32a49051 --- /dev/null +++ b/pages.id/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Perintah ini merupakan alias dari `tr`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr tr` diff --git a/pages.id/osx/gtraceroute.md b/pages.id/osx/gtraceroute.md new file mode 100644 index 00000000000000..2ddcbda65caf12 --- /dev/null +++ b/pages.id/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Perintah ini merupakan alias dari `traceroute`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr traceroute` diff --git a/pages.id/osx/gtrue.md b/pages.id/osx/gtrue.md new file mode 100644 index 00000000000000..2eb290c7e9aabb --- /dev/null +++ b/pages.id/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Perintah ini merupakan alias dari `true`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr true` diff --git a/pages.id/osx/gtruncate.md b/pages.id/osx/gtruncate.md new file mode 100644 index 00000000000000..29d166db3c4132 --- /dev/null +++ b/pages.id/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Perintah ini merupakan alias dari `truncate`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr truncate` diff --git a/pages.id/osx/gtsort.md b/pages.id/osx/gtsort.md new file mode 100644 index 00000000000000..4d8df26e43f81b --- /dev/null +++ b/pages.id/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Perintah ini merupakan alias dari `tsort`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr tsort` diff --git a/pages.id/osx/gtty.md b/pages.id/osx/gtty.md new file mode 100644 index 00000000000000..740fcd74034779 --- /dev/null +++ b/pages.id/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Perintah ini merupakan alias dari `tty`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr tty` diff --git a/pages.id/osx/guname.md b/pages.id/osx/guname.md new file mode 100644 index 00000000000000..cda9fb6655c579 --- /dev/null +++ b/pages.id/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Perintah ini merupakan alias dari `uname`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.id/osx/gunexpand.md b/pages.id/osx/gunexpand.md new file mode 100644 index 00000000000000..fce2cf6f936536 --- /dev/null +++ b/pages.id/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Perintah ini merupakan alias dari `unexpand`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr unexpand` diff --git a/pages.id/osx/guniq.md b/pages.id/osx/guniq.md new file mode 100644 index 00000000000000..eef916a0cc2a4a --- /dev/null +++ b/pages.id/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Perintah ini merupakan alias dari `uniq`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr uniq` diff --git a/pages.id/osx/gunits.md b/pages.id/osx/gunits.md new file mode 100644 index 00000000000000..bd298f3b097f1f --- /dev/null +++ b/pages.id/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Perintah ini merupakan alias dari `units`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr units` diff --git a/pages.id/osx/gunlink.md b/pages.id/osx/gunlink.md new file mode 100644 index 00000000000000..46fa45f4570d30 --- /dev/null +++ b/pages.id/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Perintah ini merupakan alias dari `unlink`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr unlink` diff --git a/pages.id/osx/gupdatedb.md b/pages.id/osx/gupdatedb.md new file mode 100644 index 00000000000000..9da41f255f514e --- /dev/null +++ b/pages.id/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Perintah ini merupakan alias dari `-p linux updatedb`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.id/osx/guptime.md b/pages.id/osx/guptime.md new file mode 100644 index 00000000000000..d218596bf80f78 --- /dev/null +++ b/pages.id/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Perintah ini merupakan alias dari `uptime`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.id/osx/gusers.md b/pages.id/osx/gusers.md new file mode 100644 index 00000000000000..ef15fc4884ad36 --- /dev/null +++ b/pages.id/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Perintah ini merupakan alias dari `users`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr users` diff --git a/pages.id/osx/gvdir.md b/pages.id/osx/gvdir.md new file mode 100644 index 00000000000000..f1331b57c92def --- /dev/null +++ b/pages.id/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Perintah ini merupakan alias dari `vdir`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr vdir` diff --git a/pages.id/osx/gwc.md b/pages.id/osx/gwc.md new file mode 100644 index 00000000000000..d3140e01c81160 --- /dev/null +++ b/pages.id/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Perintah ini merupakan alias dari `wc`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.id/osx/gwhich.md b/pages.id/osx/gwhich.md new file mode 100644 index 00000000000000..8f4a25e28e1e6c --- /dev/null +++ b/pages.id/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Perintah ini merupakan alias dari `which`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr which` diff --git a/pages.id/osx/gwho.md b/pages.id/osx/gwho.md new file mode 100644 index 00000000000000..8d57751110a55a --- /dev/null +++ b/pages.id/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Perintah ini merupakan alias dari `who`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr who` diff --git a/pages.id/osx/gwhoami.md b/pages.id/osx/gwhoami.md new file mode 100644 index 00000000000000..167045e6a6813a --- /dev/null +++ b/pages.id/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Perintah ini merupakan alias dari `whoami`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr whoami` diff --git a/pages.id/osx/gwhois.md b/pages.id/osx/gwhois.md new file mode 100644 index 00000000000000..fa585db1df87b9 --- /dev/null +++ b/pages.id/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Perintah ini merupakan alias dari `whois`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr whois` diff --git a/pages.id/osx/gxargs.md b/pages.id/osx/gxargs.md new file mode 100644 index 00000000000000..8fad7efae5b5e7 --- /dev/null +++ b/pages.id/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Perintah ini merupakan alias dari `xargs`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr xargs` diff --git a/pages.id/osx/gyes.md b/pages.id/osx/gyes.md new file mode 100644 index 00000000000000..ac97229c4a239f --- /dev/null +++ b/pages.id/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Perintah ini merupakan alias dari `yes`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr yes` diff --git a/pages.id/osx/open.md b/pages.id/osx/open.md new file mode 100644 index 00000000000000..0ade67baf9b18b --- /dev/null +++ b/pages.id/osx/open.md @@ -0,0 +1,28 @@ +# open + +> Buka file, direktori, dan aplikasi. +> Informasi lebih lanjut: . + +- Buka sebuah file di dalam aplikasi default: + +`open {{jalan/menuju/file.ext}}` + +- Buka aplikasi macOS tertentu: + +`open -a "{{Aplikasi}}"` + +- Buka sebuah aplikasi macOS berdasarkan ID pengenal (bundle identifier) tertentu (gunakan `osascript` untuk mencari ID pengenal aplikasi secara mudah dan cepat): + +`open -b {{com.domain.aplikasi}}` + +- Buka direktori saat ini di dalam aplikasi Finder: + +`open .` + +- Lihat sebuah file di dalam aplikasi Finder: + +`open -R {{jalan/menuju/file}}` + +- Buka semua file dengan ekstensi tertentu di dalam aplikasi default pada direktori saat ini: + +`open {{*.ext}}` diff --git a/pages.id/osx/osascript.md b/pages.id/osx/osascript.md new file mode 100644 index 00000000000000..cff8a0098f63fa --- /dev/null +++ b/pages.id/osx/osascript.md @@ -0,0 +1,28 @@ +# osascript + +> Jalankan AppleScript atau JavaScript for Automation (JXA) dari command-line. +> Informasi lebih lanjut: . + +- Jalankan sebuah perintah AppleScript: + +`osascript -e '{{say "Halo dunia"}}'` + +- Jalankan beberapa perintah AppleScript: + +`osascript -e '{{say "Halo"}}' -e '{{say "dunia"}}'` + +- Mengeksekusi perintah dari file AppleScript yang telah terkompilasi (`*.scpt`), terbundel (`*.scptd`), atau secara plaintext (`*.applescript`): + +`osascript {{jalan/menuju/apple.scpt}}` + +- Mendapatkan ID pengenal (bundle identifier) dari sebuah aplikasi (dapat digunakan untuk perintah `open -b`): + +`osascript -e 'id of app "{{Aplikasi}}"'` + +- Jalankan sebuah perintah JavaScript: + +`osascript -l JavaScript -e "{{console.log('Halo dunia');}}"` + +- Mengeksekusi perintah dari file JavaScript: + +`osascript -l JavaScript {{jalan/menuju/javascript.js}}` diff --git a/pages.id/osx/pbcopy.md b/pages.id/osx/pbcopy.md new file mode 100644 index 00000000000000..e8128a98379f35 --- /dev/null +++ b/pages.id/osx/pbcopy.md @@ -0,0 +1,12 @@ +# pbcopy + +> Menempatkan output standar pada papan klip (clipboard). +> Informasi lebih lanjut: . + +- Menempatkan konten file pada papan klip: + +`pbcopy < {{file}}` + +- Menempatkan hasil perintah pada papan klip: + +`find . -type t -name "*.png" | pbcopy` diff --git a/pages.id/osx/pbpaste.md b/pages.id/osx/pbpaste.md new file mode 100644 index 00000000000000..9e844279bdcb9d --- /dev/null +++ b/pages.id/osx/pbpaste.md @@ -0,0 +1,12 @@ +# pbpaste + +> Kirim isi papan klip (clipboard) ke output standar. +> Informasi lebih lanjut: . + +- Tulis konten papan klip ke dalam sebuah file: + +`pbpaste > {{file}}` + +- Gunakan konten papan klip sebagai input bagi sebuah perintah: + +`pbpaste | grep foo` diff --git a/pages.id/osx/shuf.md b/pages.id/osx/shuf.md new file mode 100644 index 00000000000000..88bb74e65c008c --- /dev/null +++ b/pages.id/osx/shuf.md @@ -0,0 +1,20 @@ +# shuf + +> Generate permutasi acak. +> Informasi lebih lanjut: . + +- Acak urutan baris di sebuah file dan outputkan hasilnya: + +`shuf {{nama_file}}` + +- Hanya mengoutputkan 5 entri dari hasil: + +`shuf --head-count=5 {{nama_file}}` + +- Menuliskan output ke file lain: + +`shuf {{nama_file}} --output {{nama_file_output}}` + +- Men-generate angka acak dari 1-10: + +`shuf --input-range=1-10` diff --git a/pages.id/osx/w.md b/pages.id/osx/w.md new file mode 100644 index 00000000000000..c57db017ebd79a --- /dev/null +++ b/pages.id/osx/w.md @@ -0,0 +1,17 @@ +# w + +> Tampilkan siapa dan apa yang sedang dilakukan saat masuk ke dalam akun macOS. +> Tampilkan informasi seperti nama pengguna, TTY, asal (remote host), waktu login, waktu idle, dan proses saat ini. +> Informasi lebih lanjut: . + +- Tampilkan daftar pengguna yang sedang masuk/login: + +`w` + +- Tampilkan daftar pengguna yang sedang masuk/login tanpa teks [h]eader/kop: + +`w -h` + +- Tampilkan daftar pengguna yang diurutkan menurut waktu [i]dle: + +`w -i` diff --git a/pages.id/osx/xattr.md b/pages.id/osx/xattr.md new file mode 100644 index 00000000000000..74115212fa2321 --- /dev/null +++ b/pages.id/osx/xattr.md @@ -0,0 +1,24 @@ +# xattr + +> Utilitas untuk bekerja dengan atribut sistem berkas yang diperluas. +> Informasi lebih lanjut: . + +- Tampilkan daftar atribut kunci:nilai yang diperluas untuk berkas tertentu: + +`xattr -l {{berkas}}` + +- Tulis atribut untuk suatu berkas: + +`xattr -w {{kunci_atribut}} {{nilai_atribut}} {{berkas}}` + +- Hapus atribut dari suatu berkas: + +`xattr -d {{com.apple.quarantine}} {{berkas}}` + +- Hapus semua atribut yang diperluas dari suatu berkas: + +`xattr -c {{berkas}}` + +- Hapus atribut secara rekursif dalam direktori tertentu: + +`xattr -rd {{kunci_atribut}} {{direktori}}` diff --git a/pages.id/osx/xcodes-runtimes.md b/pages.id/osx/xcodes-runtimes.md new file mode 100644 index 00000000000000..837502ed83d4ea --- /dev/null +++ b/pages.id/osx/xcodes-runtimes.md @@ -0,0 +1,28 @@ +# xcodes runtimes + +> Atur pemasangan runtime Simulator yang tersedia bagi aplikasi Xcode. +> Informasi lebih lanjut: . + +- Tampilkan seluruh Simulator yang tersedia bagi aplikasi Xcode: + +`xcodes runtimes --include-betas` + +- Unduh sebuah runtime Simulator: + +`xcodes runtimes download {{nama_runtime}}` + +- Unduh dan pasang sebuah runtime Simulator: + +`xcodes runtimes install {{nama_runtime}}` + +- Unduh/pasang runtime Simulator untuk iOS/watchOS/tvOS/visionOS versi spesifik (nama harus ditulis sebagai case-sensitive): + +`xcodes runtimes {{download|install}} "{{iOS|watchOS|tvOS|visionOS}} {{nama_runtime}}"` + +- Atur lokasi penyimpanan arsip runtime yang akan diunduh (nilai default: `~/Downloads`): + +`xcodes runtimes {{download|install}} {{nama_runtime}} --directory {{jalan/menuju/direktori}}` + +- Jangan hapus arsip runtime Simulator setelah pemasangan selesai: + +`xcodes runtimes install {{nama_runtime}} --keep-archive` diff --git a/pages.id/osx/xcodes.md b/pages.id/osx/xcodes.md new file mode 100644 index 00000000000000..d822d6862070b5 --- /dev/null +++ b/pages.id/osx/xcodes.md @@ -0,0 +1,28 @@ +# xcodes + +> Unduh, pasang, dan atur pemasangan aplikasi Xcode dalam versi yang berbeda. +> Informasi lebih lanjut: . + +- Tampilkan daftar versi Xcode yang terpasang: + +`xcodes installed` + +- Tampilkan daftar versi Xcode yang tersedia: + +`xcodes list` + +- Pilih versi Xcode yang hendak digunakan sebagai default, dengan menyertakan versi atau lokasi aplikasi: + +`xcodes select {{versi_xcode|jalan/menuju/Xcode.app}}` + +- Unduh dan pasang Xcode versi tertentu: + +`xcodes install {{versi_xcode}}` + +- Pasang aplikasi Xcode terkini dan pilih sebagai versi default: + +`xcodes install --latest --select` + +- Unduh Xcode versi tertentu ke sebuah direktori tanpa memasangnya ke dalam perangkat: + +`xcodes download {{versi_xcode}} --directory {{jalan/menuju/direktori}}` diff --git a/pages.id/osx/xip.md b/pages.id/osx/xip.md new file mode 100644 index 00000000000000..a6d7722dbb9bfc --- /dev/null +++ b/pages.id/osx/xip.md @@ -0,0 +1,9 @@ +# xip + +> Kompres atau ekstrak file dari/dalam arsip xip yang . +> Jangan gunakan alat ini untuk membuat arsip baru, karena macOS hanya menerima arsip xip yang berasal atau ditandatangani oleh Apple. +> Informasi lebih lanjut: . + +- Ekstrak arsip xip ke dalam direktori saat ini: + +`xip --expand {{jalan/menuju/file.xip}}` diff --git a/pages.id/sunos/devfsadm.md b/pages.id/sunos/devfsadm.md new file mode 100644 index 00000000000000..58eea65ff10250 --- /dev/null +++ b/pages.id/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> Perintah administrasi untuk `/dev`. Kelola namespace `/dev`. +> Informasi lebih lanjut: . + +- Pindai piringan baru: + +`devfsadm -c disk` + +- Bersihkan semua tautan /dev yang beruntai dan memindai perangkat baru: + +`devfsadm -C -v` + +- Dry-run - luaran yang akan dirubah tapi tanpa membuat modifikasi: + +`devfsadm -C -v -n` diff --git a/pages.id/sunos/dmesg.md b/pages.id/sunos/dmesg.md new file mode 100644 index 00000000000000..ba3c5019a93c94 --- /dev/null +++ b/pages.id/sunos/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> Tulis pesan kernel ke `stdout`. +> Informasi lebih lanjut: . + +- Tampilkan pesan kernel: + +`dmesg` + +- Tampilkan berapa memori fisik yang tersedia di sistem ini: + +`dmesg | grep -i memory` + +- Tampilkan pesan kernel 1 halaman dalam 1 waktu: + +`dmesg | less` diff --git a/pages.id/sunos/prctl.md b/pages.id/sunos/prctl.md new file mode 100644 index 00000000000000..0a349f1e7d3dad --- /dev/null +++ b/pages.id/sunos/prctl.md @@ -0,0 +1,16 @@ +# prctl + +> Ambil atau atur sumber daya dari proses, tugas dan projek yang berjalan. +> Informasi lebih lanjut: . + +- Periksa batas dan perizinan proses: + +`prctl {{pid}}` + +- Periksa batas dan perizinan proses dalam format yang dapat diurai mesin: + +`prctl -P {{pid}}` + +- Ambil batas spesifik dari sebuah proses yang berjalan: + +`prctl -n process.max-file-descriptor {{pid}}` diff --git a/pages.id/sunos/prstat.md b/pages.id/sunos/prstat.md new file mode 100644 index 00000000000000..30adbb461c6b0e --- /dev/null +++ b/pages.id/sunos/prstat.md @@ -0,0 +1,24 @@ +# prstat + +> Laporkan statistik proses aktif. +> Informasi lebih lanjut: . + +- Periksa semua proses dan laporan statistik yang diurutkan berdasarkan tingkat penggunaan CPU: + +`prstat` + +- Periksa semua proses dan laporan statistik yang disortir berdasarkan penggunaan memori: + +`prstat -s rss` + +- Laporkan ringkasan total penggunaan untuk tiap user: + +`prstat -t` + +- Laporkan informasi pengukuran proses microstate: + +`prstat -m` + +- Cetak daftar penggunaan CPU 5 proses teratas tiap 1 detik: + +`prstat -c -n 5 -s cpu 1` diff --git a/pages.id/sunos/snoop.md b/pages.id/sunos/snoop.md new file mode 100644 index 00000000000000..7248b3d40b82bd --- /dev/null +++ b/pages.id/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> Pengendus paket jaringan. +> Perintah setara tcpdump untuk SunOS. +> Informasi lebih lanjut: . + +- Tangkap paket pada antarmuka jaringan tertentu: + +`snoop -d {{e1000g0}}` + +- Simpan paket yang tertangkap pada sebuah berkas dari pada menampilkannya: + +`snoop -o {{jalan/menuju/berkas}}` + +- Tampilkan rangkuman lapisan protokol paket-paket dari sebuah berkas dengan rinci: + +`snoop -V -i {{jalur/ke/berkas}}` + +- Tangkap paket jaringan yang datang dari sebuah nama host dan pergi ke port yang ditentukan: + +`snoop to port {{port}} from host {{nama_host}}` + +- Tangkap dan tampilkan sebuah hex-dump dari pertukaran paket jaringan di antara 2 alamat IP: + +`snoop -x0 -p4 {{ip1}} {{ip2}}` diff --git a/pages.id/sunos/svcadm.md b/pages.id/sunos/svcadm.md new file mode 100644 index 00000000000000..162eef1c7033fb --- /dev/null +++ b/pages.id/sunos/svcadm.md @@ -0,0 +1,24 @@ +# svcadm + +> Instansi untuk manipulasi hak akses layanan. +> Informasi lebih lanjut: . + +- Izinkan sebuah servis yang ada dalam basis data servis: + +`svcadm enable {{nama_servis}}` + +- Larang servis: + +`svcadm disable {{nama servis}}` + +- Jalankan ulang sebuah servis yang berjalan: + +`svcadm restart {{nama servis}}` + +- Perintahkan servis untuk baca ulang berkas konfigurasi: + +`svcadm refresh {{nama servis}}` + +- Bersihkan sebuah servis dari kondisi perawatan dan perintahkan untuk berjalan: + +`svcadm clear {{nama servis}}` diff --git a/pages.id/sunos/svccfg.md b/pages.id/sunos/svccfg.md new file mode 100644 index 00000000000000..35652ecb2400c9 --- /dev/null +++ b/pages.id/sunos/svccfg.md @@ -0,0 +1,16 @@ +# svccfg + +> Impor, ekspor, dan modifikasi konfigurasi servis. +> Informasi lebih lanjut: . + +- Validasi berkas konfigurasi: + +`svccfg validate {{jalan/menuju/berkas_smf.xml}}` + +- Ekspor konfigurasi servis kedalam sebuah berkas: + +`svccfg export {{nama_servis}} > {{jalur/ke/berkas_smf.xml}}` + +- Impor/perbarui konfigurasi servis dari berkas: + +`svccfg import {{jalan/menuju/berkas_smf.xml}}` diff --git a/pages.id/sunos/svcs.md b/pages.id/sunos/svcs.md new file mode 100644 index 00000000000000..d2c89923aa6699 --- /dev/null +++ b/pages.id/sunos/svcs.md @@ -0,0 +1,24 @@ +# svcs + +> Ambil atau atur sumber daya dari proses, tugas dan projek yang berjalan. +> Informasi lebih lanjut: . + +- Daftar semua servis yang berjalan: + +`svcs` + +- Daftar servis-servis yang tidak berjalan: + +`svcs -vx` + +- Daftar informasi tentang sebuah servis: + +`svcs apache` + +- Tampilkan lokasi dari berkas catatan servis: + +`svcs -L apache` + +- Display end of a service log file: + +`tail $(svcs -L apache)` diff --git a/pages.id/sunos/truss.md b/pages.id/sunos/truss.md new file mode 100644 index 00000000000000..c666663d60e15e --- /dev/null +++ b/pages.id/sunos/truss.md @@ -0,0 +1,25 @@ +# truss + +> Alat pemecah masalah untuk menelusuri panggilan sistem. +> Perintah setara strace untuk SunOS. +> Informasi lebih lanjut: . + +- Telusuri sebuah program dengan mengeksekusinya dan mengawasi semua proses turunan: + +`truss -f {{program}}` + +- Mulai menelusuri sebuah proses tertentu berdasarkan PID-nya: + +`truss -p {{pid}}` + +- Mulai menelusuri sebuah program dengan mengeksekusinya, tampilkan argumen-argumen dan variabel-variabel lingkungan: + +`truss -a -e {{program}}` + +- Menghitung waktu, panggilan, dan error untuk setiap panggilan sistem dan laporkan sebuah ringkasan saat keluar program: + +`truss -c -p {{pid}}` + +- Telusuri proses berdasarkan keluaran dari panggilan sistem: + +`truss -p {{pid}} -t {{nama_panggilan_sistem}}` diff --git a/pages.id/windows/cd.md b/pages.id/windows/cd.md index 9b9065edc0c74b..9f83fb4d5ef80f 100644 --- a/pages.id/windows/cd.md +++ b/pages.id/windows/cd.md @@ -1,20 +1,33 @@ # cd -> Menampilkan nama atau ganti direktori saat ini. -> Informasi lebih lanjut: . +> Tampilkan direktori kerja saat ini atau pindah ke direktori lain. +> Dalam PowerShell, perintah ini merupakan alias dari `Set-Location`. Dokumentasi ini ditulis menurut perintah `cd` versi Command Prompt (`cmd`). +> Informasi lebih lanjut: . -- Menuju suatu direktori pada drive yang sama: +- Lihat dokumentasi untuk perintah PowerShell serupa: -`cd {{lokasi/ke/direktori}}` +`tldr set-location` -- Menampilkan nama dari direktori saat ini: +- Tampilkan nama dari direktori saat ini: `cd` -- Menuju ke induk direktori dari direktori saat ini: +- Pergi menuju suatu direktori pada drive yang sama: + +`cd {{jalan\menuju\direktori}}` + +- Pergi menuju direktori tertentu pada [d]rive yang berbeda: + +`cd /d {{C}}:{{jalan\menuju\direktori}}` + +- Pergi menuju induk dari direktori dari saat ini: `cd ..` -- Menuju direktori di dalam suatu drive: +- Pergi menuju direktori pangkal/home milik pengguna saat ini: + +`cd %userprofile%` + +- Pergi menuju akar (root) dari drive saat ini: -`cd {{lokasi/ke/direktori}} /d` +`cd \` diff --git a/pages.id/windows/chkdsk.md b/pages.id/windows/chkdsk.md new file mode 100644 index 00000000000000..e165f23b9f2c09 --- /dev/null +++ b/pages.id/windows/chkdsk.md @@ -0,0 +1,20 @@ +# chkdsk + +> Periksa kesalahan dalam sistem file dan metadata volume penyimpanan. +> Informasi lebih lanjut: . + +- Periksa 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: + +`chkdsk {{ruang_penyimpanan}} /f` + +- Lepaskan ruang penyimpanan tertentu untuk pemeriksaan: + +`chkdsk {{ruang_penyimpanan}} /x` + +- Ubah ukuran file log dalam sebuah ruang penyimpanan dengan sistem file NTFS: + +`chkdsk /l{{ukuran}}` diff --git a/pages.id/windows/choco-info.md b/pages.id/windows/choco-info.md new file mode 100644 index 00000000000000..fe5eeb14cbb3b6 --- /dev/null +++ b/pages.id/windows/choco-info.md @@ -0,0 +1,20 @@ +# choco info + +> Tampilkan informasi suatu paket piranti lunak secara terperinci dengan Chocolatey. +> Informasi lebih lanjut: . + +- Tampilkan informasi mengenai suatu paket: + +`choco info {{paket}}` + +- Tampilkan informasi mengenai suatu paket dengan versi yang terpasang secara lokal saja: + +`choco info {{paket}} --local-only` + +- Tentukan suatu repositori paket secara kustom sebagai sumber informasi kumpulan paket: + +`choco info {{paket}} --source {{url_sumber|alias}}` + +- Gunakan suatu username dan kata sandi untuk mendukung proses autentikasi pengguna: + +`choco info {{paket}} --user {{username}} --password {{kata_sandi}}` diff --git a/pages.id/windows/choco-install.md b/pages.id/windows/choco-install.md new file mode 100644 index 00000000000000..1e670e428ffba0 --- /dev/null +++ b/pages.id/windows/choco-install.md @@ -0,0 +1,36 @@ +# choco install + +> Instal satu paket atau lebih dengan Chocolatey. +> Informasi lebih lanjut: . + +- Instal satu paket atau lebih paket yang dipisahkan oleh spasi: + +`choco install {{paket}}` + +- Instal paket dari file konfigurasi khusus: + +`choco install {{jalan/menuju/paket.config}}` + +- Instal file nuspec atau nupkg tertentu: + +`choco install {{jalan/menuju/file}}` + +- Instal versi paket tertentu: + +`choco install {{paket}} --version {{versi}}` + +- Izinkan menginstal beberapa versi paket: + +`choco install {{paket}} --allow-multiple` + +- Konfirmasikan semua prompt secara otomatis: + +`choco install {{paket}} --yes` + +- Tentukan sumber khusus untuk menerima paket: + +`choco install {{paket}} --source {{url_sumber|alias}}` + +- Berikan nama pengguna dan kata sandi untuk otentikasi: + +`choco install {{paket}} --user {{nama_pengguna}} --password {{kata_sandi}}` diff --git a/pages.id/windows/choco.md b/pages.id/windows/choco.md new file mode 100644 index 00000000000000..e1ac2fddc26eb3 --- /dev/null +++ b/pages.id/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> Manajer paket Chocolatey. +> Beberapa subperintah seperti `install` mempunyai dokumentasi terpisah. +> Informasi lebih lanjut: . + +- Jalankan suatu perintah Chocolatey: + +`choco {{perintah}}` + +- Tampilkan bantuan: + +`choco -?` + +- Tampilkan bantuan untuk suatu perintah: + +`choco {{perintah}} -?` + +- Tampilkan versi aplikasi: + +`choco --version` diff --git a/pages.id/windows/chrome.md b/pages.id/windows/chrome.md new file mode 100644 index 00000000000000..97d986b29b1cd5 --- /dev/null +++ b/pages.id/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Perintah ini merupakan alias dari `chromium`. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr chromium` diff --git a/pages.id/windows/chromium.md b/pages.id/windows/chromium.md new file mode 100644 index 00000000000000..860f1974d169b8 --- /dev/null +++ b/pages.id/windows/chromium.md @@ -0,0 +1,37 @@ +# chromium + +> Aplikasi peramban web (web browser) bersumber terbuka yang terutama dikembangkan dan dikelola oleh Google. +> Catatan: Anda mungkin perlu menggantikan perintah `chromium` dengan peramban tujuan Anda, seperti `brave`, `google-chrome`. `microsoft-edge`/`msedge`, `opera`, atau `vivaldi`. +> Informasi lebih lanjut: . + +- Buka suatu URL atau berkas: + +`chromium {{https://example.com|jalan/menuju/berkas.html}}` + +- Buka dalam mode peramban privat (incognito) (gunakan `--inprivate` untuk Microsoft Edge): + +`{{chromium --incognito|msedge --inprivate}} {{example.com}}` + +- Buka dalam jendela aplikasi baru: + +`chromium --new-window {{example.com}}` + +- Buka dalam mode aplikasi web (tanpa bilah toolbar, URL bar, tombol navigasi, dsb.): + +`chromium --app={{https://example.com}}` + +- Hubungkan peramban dengan suatu peladen proksi: + +`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Buka dengan direktori profil pengguna tertentu: + +`chromium --user-data-dir={{jalan/menuju/direktori}}` + +- Buka dengan menonaktifkan validasi CORS (berguna untuk menguji akses suatu API): + +`chromium --user-data-dir={{jalan/menuju/direktori}} --disable-web-security` + +- Selalu buka jendela alat DevTools (pembantu pengembang web) setiap kali membuka tab baru: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.id/windows/cinst.md b/pages.id/windows/cinst.md new file mode 100644 index 00000000000000..a1e57b3a063607 --- /dev/null +++ b/pages.id/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Perintah ini merupakan alias dari `choco install`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr choco install` diff --git a/pages.id/windows/clist.md b/pages.id/windows/clist.md new file mode 100644 index 00000000000000..5a0e6e8f60540f --- /dev/null +++ b/pages.id/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Perintah ini merupakan alias dari `choco list`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr choco list` diff --git a/pages.id/windows/cls.md b/pages.id/windows/cls.md index 394ed96659c04e..f29828c349ed53 100644 --- a/pages.id/windows/cls.md +++ b/pages.id/windows/cls.md @@ -1,7 +1,12 @@ # cls -> Membersihkan layar. -> Informasi lebih lanjut: . +> Bersihkan layar terminal. +> Dalam PowerShell, perintah ini merupakan alias dari `Clear-Host`. Dokumentasi ini ditulis menurut perintah `cd` versi Command Prompt (`cls`). +> Informasi lebih lanjut: . + +- Lihat dokumentasi untuk perintah PowerShell serupa: + +`tldr clear-host` - Bersihkan layar: diff --git a/pages.id/windows/cmd.md b/pages.id/windows/cmd.md new file mode 100644 index 00000000000000..c1380cc975df28 --- /dev/null +++ b/pages.id/windows/cmd.md @@ -0,0 +1,36 @@ +# cmd + +> Penerjemah baris perintah Windows. +> Informasi lebih lanjut: . + +- Jalankan suatu sesi syel interaktif: + +`cmd` + +- Jalankan suatu perintah ([c]ommand): + +`cmd /c {{echo Halo dunia}}` + +- Jalankan kumpulan perintah dalam suatu berkas skrip: + +`cmd {{jalan\menuju\skrip.bat}}` + +- Jalankan kumpulan perintah spesifik dan kemudian jalankan suatu sesi syel interaktif: + +`cmd /k {{echo Halo dunia}}` + +- Jalankan suatu sesi syel interaktif di mana fungsi `echo` dimatikan dalam luaran perintah: + +`cmd /q` + +- Jalankan suatu sesi shell interaktif dengan mengaktifkan atau menonaktifkan fitur ekspansi [v]ariabel tertunda: + +`cmd /v:{{on|off}}` + +- Jalankan suatu sesi shell interaktif dengan mengaktifkan atau menonaktifkan fitur [e]kstensi perintah: + +`cmd /e:{{on|off}}` + +- Jalankan suatu sesi shell interaktif dengan menggunakan [u]nicode sebagai metode pengkodean luaran teks: + +`cmd /u` diff --git a/pages.id/windows/color.md b/pages.id/windows/color.md new file mode 100644 index 00000000000000..dad16438e4124d --- /dev/null +++ b/pages.id/windows/color.md @@ -0,0 +1,16 @@ +# color + +> Pilih warna latar depan dan belakang konsol pada sesi saat ini. +> Informasi lebih lanjut: . + +- Kembalikan pengaturan warna latar menuju nilai bawaan (default): + +`color` + +- Tampilkan daftar pilihan warna yang tersedia beserta kodenya: + +`color /?` + +- Pilih warna latar depan dan belakang menggunakan kode warna heksadesimal (`1-9,a-f`): + +`color {{kode_warna_latar_depan}}{{kode_warna_latar_belakang}}` diff --git a/pages.id/windows/comp.md b/pages.id/windows/comp.md new file mode 100644 index 00000000000000..fea2c6dd108079 --- /dev/null +++ b/pages.id/windows/comp.md @@ -0,0 +1,37 @@ +# comp + +> Bandingkan isi antar kedua berkas atau himpunan berkas. +> Gunakan wildcard (*) untukk membandingkan himpunan berkas. +> Informasi lebih lanjut: . + +- Bandingkan isi berkas secara interaktif: + +`comp` + +- Bandingkan isi antara kedua berkas: + +`comp {{jalan\menuju\berkas1}} {{jalan\menuju\berkas2}}` + +- Bandingkan isi antara kedua himpunan berkas: + +`comp {{jalan\menuju\direktori1}}\* {{jalan\menuju\direktori2}}\*` + +- Tampilkan perbedaan dalam format [d]esimal: + +`comp /d {{jalan\menuju\berkas1}} {{jalan\menuju\berkas2}}` + +- Tampilkan perbedaan dalam format [a]SCII: + +`comp /a {{jalan\menuju\berkas1}} {{jalan\menuju\berkas2}}` + +- Tampilkan nomor baris di mana perbedaan antar isi terdeteksi: + +`comp /l {{jalan\menuju\berkas1}} {{jalan\menuju\berkas2}}` + +- Bandingkan berkas-berkas tanpa menghiraukan penggunaan huruf besar/kecil ([c]ase-insensitive): + +`comp /c {{jalan\menuju\berkas1}} {{jalan\menuju\berkas2}}` + +- Hanya bandingkan isi 5 baris pertama antara kedua berkas: + +`comp /n=5 {{jalan\menuju\berkas1}} {{jalan\menuju\berkas2}}` diff --git a/pages.id/windows/cpush.md b/pages.id/windows/cpush.md new file mode 100644 index 00000000000000..64c15cd0b786c6 --- /dev/null +++ b/pages.id/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Perintah ini merupakan alias dari `choco push`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr choco push` diff --git a/pages.id/windows/cuninst.md b/pages.id/windows/cuninst.md new file mode 100644 index 00000000000000..a95924f04953b8 --- /dev/null +++ b/pages.id/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Perintah ini merupakan alias dari `choco uninstall`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr choco uninstall` diff --git a/pages.id/windows/curl.md b/pages.id/windows/curl.md new file mode 100644 index 00000000000000..68591a07dabb5f --- /dev/null +++ b/pages.id/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> Perintah ini dapat merupakan alias dari `Invoke-WebRequest` jika program `curl` () tidak terpasang secara benar di PowerShell. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah `curl` yang asli: + +`tldr curl -p common` + +- Tampilkan dokumentasi untuk perintah `Invoke-WebRequest`: + +`tldr invoke-webrequest` + +- Cari tahu apakah `curl` sudah terpasang dengan benar dengan menampilkan versi program tersebut. Jika perintah ini memunculkan pesan galat/error, maka PowerShell berkemungkinan sedang menggantinya dengan `Invoke-WebRequest`: + +`curl --version` diff --git a/pages.id/windows/date.md b/pages.id/windows/date.md new file mode 100644 index 00000000000000..a35cf4c276c522 --- /dev/null +++ b/pages.id/windows/date.md @@ -0,0 +1,16 @@ +# date + +> Menampilkan atau mengatur tanggal sistem. +> Informasi lebih lanjut: . + +- Tampilkan tanggal sistem saat ini dan meminta untuk memasukkan tanggal baru (biarkan kosong agar tidak berubah): + +`date` + +- Tampilkan tanggal sistem saat ini tanpa meminta untuk memasukkan tanggal baru: + +`date /t` + +- Ubah tanggal sistem saat ini ke tanggal tertentu: + +`date {{bulan}}-{{hari}}-{{tahun}}` diff --git a/pages.id/windows/dir.md b/pages.id/windows/dir.md index 6b29b0f9473d82..dbc27260961fb3 100644 --- a/pages.id/windows/dir.md +++ b/pages.id/windows/dir.md @@ -1,20 +1,24 @@ # dir -> Lis isi direktori. -> Informasi lebih lanjut: . +> Tampilkan daftar isi direktori. +> Informasi lebih lanjut: . -- Tampilkan isi direktori saat ini: +- Tampilkan daftar isi direktori saat ini: `dir` -- Tampilkan isi direktori yang ditentukan: +- Tampilkan daftar isi direktori yang ditentukan: -`dir {{lokasi/ke/direktori}}` +`dir {{jalan/menuju/direktori}}` -- Tampilkan isi dari direktori saat ini, termasuk yang disembunyikan: +- Tampilkan daftar isi dari direktori saat ini, termasuk yang disembunyikan: -`dir /A` +`dir /a` -- Tampilkan isi direktori yang ditentukan, termasuk yang disembunyikan: +- Tampilkan daftar isi direktori yang ditentukan, termasuk yang disembunyikan: -`dir {{lokasi/ke/direktori}} /A` +`dir {{jalan/menuju/direktori}} /a` + +- Hanya tampilkan daftar isi tanpa informasi tambahahan mengenai masing-masing berkas dan subdirektori: + +`dir /b` diff --git a/pages.id/windows/exit.md b/pages.id/windows/exit.md new file mode 100644 index 00000000000000..503dadf0184219 --- /dev/null +++ b/pages.id/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> Keluar dari sesi Command Prompt (CMD) atau berkas skrip batch saat ini. +> Informasi lebih lanjut: . + +- Keluar dari sesi CMD saat ini: + +`exit` + +- Keluar dari proses eksekusi skrip [b]atch saat ini: + +`exit /b` + +- Keluar menggunakan kode status keluar (exit code) khusus: + +`exit {{2}}` diff --git a/pages.id/windows/explorer.md b/pages.id/windows/explorer.md new file mode 100644 index 00000000000000..77773bd80f9d8a --- /dev/null +++ b/pages.id/windows/explorer.md @@ -0,0 +1,16 @@ +# explorer + +> Windows File Explorer: penjelajah file pada Windows. +> Informasi lebih lanjut: . + +- Membuka Windows Explorer: + +`explorer` + +- Membuka Windows Explorer di direktori saat ini: + +`explorer .` + +- Membuka Windows Explorer di direktori tertentu: + +`explorer {{jalan/menuju/direktori}}` diff --git a/pages.id/windows/find.md b/pages.id/windows/find.md new file mode 100644 index 00000000000000..febdf329d2a5fc --- /dev/null +++ b/pages.id/windows/find.md @@ -0,0 +1,20 @@ +# find + +> Mencari teks tertentu di dalam suatu file atau direktori. +> Informasi lebih lanjut: . + +- Mencari baris-baris dalam file yang mengandung teks tertentu: + +`find "{{teks}}" {{jalan/menuju/file_atau_direktori}}` + +- Menunjukkan baris-baris dalam file yang tidak mengandung teks tertentu: + +`find "{{teks}}" {{jalan/menuju/file_atau_direktori}} /v` + +- Menghitung jumlah baris dalam file yang mengandung teks tertentu: + +`find "{{teks}}" {{jalan/menuju/file_atau_direktori}} /c` + +- Mencari baris-baris dalam file yang mengandung teks tertentu beserta nomor barisnya: + +`find "{{teks}}" {{jalan/menuju/file_atau_direktori}} /n` diff --git a/pages.id/windows/invoke-webrequest.md b/pages.id/windows/invoke-webrequest.md new file mode 100644 index 00000000000000..566fb226df314d --- /dev/null +++ b/pages.id/windows/invoke-webrequest.md @@ -0,0 +1,25 @@ +# Invoke-WebRequest + +> Membuat panggilan dan permintaan HTTP/HTTPS. +> Perintah ini hanya dapat digunakan dalam PowerShell. +> Informasi lebih lanjut: . + +- Unduh konten URL ke file: + +`Invoke-WebRequest {{http://example.com}} -OutFile {{jalan/menuju/file}}` + +- Kirim data form yang telah di encode (permintaan POST atau tipe data `application/x-www-form-urlencoded`): + +`Invoke-WebRequest -Method Post -Body @{ name='bob' } {{http://example.com/form}}` + +- Kirim sebuah permintaan dengan header tambahan, menggunakan metode HTTP kustom: + +`Invoke-WebRequest -Headers {{@{ X-My-Header = '123' }}} -Method {{PUT}} {{http://example.com}}` + +- Kirim data dalam format JSON, Menentukan jenis konten yang sesuai header: + +`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}` + +- Berikan nama pengguna dan kata sandi untuk otentikasi server: + +`Invoke-WebRequest -Headers @{ Authorization = "Basic "+ [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("myusername:mypassword")) } {{http://example.com}}` diff --git a/pages.id/windows/ipconfig.md b/pages.id/windows/ipconfig.md new file mode 100644 index 00000000000000..6f14bce838daa3 --- /dev/null +++ b/pages.id/windows/ipconfig.md @@ -0,0 +1,28 @@ +# ipconfig + +> Tampilkan dan atur konfigurasi jaringan dalam sistem operasi Windows. +> Informasi lebih lanjut: . + +- Tampilkan daftar seluruh adaptor jaringan yang terpasang: + +`ipconfig` + +- Tampilkan daftar adaptor jaringan secara rinci: + +`ipconfig /all` + +- Perbarui alamat IP suatu adaptor jaringan: + +`ipconfig /renew {{adaptor}}` + +- Kosongkan alamat-alamat IP yang disetel dalam suatu adaptor jaringan: + +`ipconfig /release {{adaptor}}` + +- Tampilkan dafter informasi DNS yang disimpan dalam cache: + +`ipconfig /displaydns` + +- Kosongkan cache DNS: + +`ipconfig /flushdns` diff --git a/pages.id/windows/iwr.md b/pages.id/windows/iwr.md new file mode 100644 index 00000000000000..00c83f76906cef --- /dev/null +++ b/pages.id/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Perintah ini merupakan alias dari `Invoke-WebRequest` di PowerShell. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr invoke-webrequest` diff --git a/pages.id/windows/logoff.md b/pages.id/windows/logoff.md new file mode 100644 index 00000000000000..3a04d9154e12b7 --- /dev/null +++ b/pages.id/windows/logoff.md @@ -0,0 +1,16 @@ +# logoff + +> Akhiri sesi masuk. +> Informasi lebih lanjut: . + +- Akhiri sesi saat ini: + +`logoff` + +- Akhiri sesi dengan nama atau id-nya: + +`logoff {{nama_sesi|id_sesi}}` + +- Akhiri sesi pada server tertentu yang terhubung melalui RDP: + +`logoff {{nama_sesi|id_sesi}} /server:{{namaserver}}` diff --git a/pages.id/windows/microsoft-edge.md b/pages.id/windows/microsoft-edge.md new file mode 100644 index 00000000000000..7ade519a94f6d1 --- /dev/null +++ b/pages.id/windows/microsoft-edge.md @@ -0,0 +1,12 @@ +# microsoft-edge + +> Perintah Microsoft Edge tersedia sebagai `msedge` untuk platform Windows dan `microsoft-edge` untuk platform lainnya. +> Informasi lebih lanjut: . + +- Lihat dokumentasi untuk perintah Microsoft Edge untuk Windows: + +`tldr {{[-p|--platform]}} windows msedge` + +- Lihat dokumentasi untuk perintah Microsoft Edge untuk perangkat lainnya: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages.id/windows/msedge.md b/pages.id/windows/msedge.md new file mode 100644 index 00000000000000..b68732359613b0 --- /dev/null +++ b/pages.id/windows/msedge.md @@ -0,0 +1,38 @@ +# msedge + +> Aplikasi peramban web (web browser) dari Microsoft yang dibangun berdasarkan peramban Chromium yang dikembangkan oleh Google. +> Perintah ini tersedia sebagai `microsoft-edge` dalam perangkat selain Windows. +> Catatan: Anda mungkin dapat menggunakan argumen perintah `chromium` lainnya untuk dapat mengatur jalannya Microsoft Edge. +> Informasi lebih lanjut: . + +- Buka suatu URL atau berkas: + +`msedge {{https://example.com|jalan/menuju/berkas.html}}` + +- Buka dalam mode peramban privat (InPrivate): + +`msedge --inprivate {{example.com}}` + +- Buka dalam jendela aplikasi baru: + +`msedge --new-window {{example.com}}` + +- Buka dalam mode aplikasi web (tanpa bilah toolbar, URL bar, tombol navigasi, dsb.): + +`msedge --app={{https://example.com}}` + +- Hubungkan peramban dengan suatu peladen proksi: + +`msedge --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Buka dengan direktori profil pengguna tertentu: + +`msedge --user-data-dir={{jalan/menuju/direktori}}` + +- Buka dengan menonaktifkan validasi CORS (berguna untuk menguji akses suatu API): + +`msedge --user-data-dir={{jalan/menuju/direktori}} --disable-web-security` + +- Selalu buka jendela alat DevTools (pembantu pengembang web) setiap kali membuka tab baru: + +`msedge --auto-open-devtools-for-tabs` diff --git a/pages.id/windows/msiexec.md b/pages.id/windows/msiexec.md new file mode 100644 index 00000000000000..bbd18c3524222a --- /dev/null +++ b/pages.id/windows/msiexec.md @@ -0,0 +1,20 @@ +# msiexec + +> Pasang, perbarui, perbaiki, atau hapus program Windows melalui berkas MSI dan MSP yang tersedia. +> Informasi lebih lanjut: . + +- Pasang suatu program melalui berkas MSI: + +`msiexec /package {{jalan\menuju\berkas.msi}}` + +- Pasang berkas MSI dari suatu situs web: + +`msiexec /package {{https://example.com/installer.msi}}` + +- Pasang pembaruan suatu program melalui suatu berkas MSP: + +`msiexec /update {{jalan\menuju\berkas.msp}}` + +- Menghapus pemasangan atau pembaruan suatu program melalui file MSI atau MSP yang tersedia: + +`msiexec /uninstall {{jalan\menuju\berkas}}` diff --git a/pages.id/windows/powershell.md b/pages.id/windows/powershell.md new file mode 100644 index 00000000000000..9fb9782cbdea61 --- /dev/null +++ b/pages.id/windows/powershell.md @@ -0,0 +1,37 @@ +# 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: . + +- 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}}` diff --git a/pages.id/windows/print.win.md b/pages.id/windows/print.win.md new file mode 100644 index 00000000000000..f5504b4c9e267e --- /dev/null +++ b/pages.id/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> Mencetak sebuah file teks ke dalam mesin pencetak (printer). +> Informasi lebih lanjut: . + +- Mencetak file teks ke dalam mesin pencetak (printer) default: + +`print {{jalan/menuju/file}}` + +- Mencetak file teks ke dalam mesin pencetak (printer) tertentu: + +`print /d:{{mesin_pencetak}} {{jalan/menuju/file}}` diff --git a/pages.id/windows/pwsh-where.md b/pages.id/windows/pwsh-where.md new file mode 100644 index 00000000000000..b6a2148af51800 --- /dev/null +++ b/pages.id/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Perintah ini merupakan alias dari `Where-Object`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr Where-Object` diff --git a/pages.id/windows/rd.md b/pages.id/windows/rd.md new file mode 100644 index 00000000000000..ac1eaf10c599f6 --- /dev/null +++ b/pages.id/windows/rd.md @@ -0,0 +1,11 @@ +# rd + +> Perintah ini merupakan alias dari `rmdir` dalam Command Prompt, serta `Remove-Item` dalam PowerShell. + +- Tampilkan dokumentasi untuk perintah asli Command Prompt: + +`tldr rmdir` + +- Tampilkan dokumentasi untuk perintah asli PowerShell: + +`tldr remove-item` diff --git a/pages.id/windows/scoop-bucket.md b/pages.id/windows/scoop-bucket.md new file mode 100644 index 00000000000000..deae5d833887ff --- /dev/null +++ b/pages.id/windows/scoop-bucket.md @@ -0,0 +1,25 @@ +# scoop bucket + +> Kelola bucket: Repository Git yang berisi berkas yang menjelaskan bagaimana scoop menginstall aplikasi. +> Jika Scoop tidak tahu di mana sebuah bucket terletak, maka lokasi repositori harus ditentukan. +> Informasi lebih lanjut: . + +- Tampilkan daftar semua bucket yang sedang digunakan: + +`scoop bucket list` + +- Tampilkan daftar semua bucket yang dikenal: + +`scoop bucket known` + +- Tambahkan bucket yang dikenal berdasarkan namanya: + +`scoop bucket add {{nama}}` + +- Tambahkan bucket yang tidak dikenal bersarkan nama dan URL repository Git: + +`scoop bucket add {{nama}} {{https://example.com/repository.git}}` + +- Hapus suatu bucket berdasarkan namanya: + +`scoop bucket rm {{nama}}` diff --git a/pages.id/windows/scoop.md b/pages.id/windows/scoop.md new file mode 100644 index 00000000000000..6ba39a2e52981e --- /dev/null +++ b/pages.id/windows/scoop.md @@ -0,0 +1,32 @@ +# scoop + +> Penginstal paket berantarmuka baris perintah untuk Windows. +> Informasi lebih lanjut: . + +- Memasang sebuah paket: + +`scoop install {{paket}}` + +- Mencopot pemasangan sebuah paket: + +`scoop uninstall {{paket}}` + +- Memperbarui semua paket yang terpasang: + +`scoop update --all` + +- Menampilkan daftar paket yang terpasang: + +`scoop list` + +- Menampilkan informasi tentang sebuah paket: + +`scoop info {{paket}}` + +- Mencari paket: + +`scoop search {{paket}}` + +- Menghapus versi lama dari semua paket dan membersihkan cache unduhan: + +`scoop cleanup --cache --all` diff --git a/pages.id/windows/set-location.md b/pages.id/windows/set-location.md new file mode 100644 index 00000000000000..255892ab4bf455 --- /dev/null +++ b/pages.id/windows/set-location.md @@ -0,0 +1,33 @@ +# Set-Location + +> Tampilkan direktori kerja saat ini atau pindah ke direktori lain. +> Perintah ini hanya dapat digunakan dalam PowerShell. +> Informasi lebih lanjut: . + +- Pergi menuju suatu direktori pada drive yang sama: + +`Set-Location {{jalan\menuju\direktori}}` + +- Pergi menuju direktori tertentu pada drive yang berbeda: + +`Set-Location {{C}}:{{jalan\menuju\direktori}}` + +- Pergi dan tampilkan lokasi lengkap (absolute path) atas direktori yang dituju: + +`Set-Location {{jalan\menuju\direktori}} -PassThru` + +- Pergi menuju induk dari direktori dari saat ini: + +`Set-Location ..` + +- Pergi menuju direktori pangkal/home milik pengguna saat ini: + +`Set-Location ~` + +- Pergi menuju direktori yang telah dikunjungi sebelumnya/setelahnya: + +`Set-Location {{-|+}}` + +- Pergi menuju akar (root) dari drive saat ini: + +`Set-Location \` diff --git a/pages.id/windows/sl.md b/pages.id/windows/sl.md new file mode 100644 index 00000000000000..31f228c600622e --- /dev/null +++ b/pages.id/windows/sl.md @@ -0,0 +1,7 @@ +# sl + +> Perintah ini merupakan alias dari `Set-Location` di PowerShell. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr set-location` diff --git a/pages.id/windows/sls.md b/pages.id/windows/sls.md new file mode 100644 index 00000000000000..7fde15b1b6655f --- /dev/null +++ b/pages.id/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Perintah ini merupakan alias dari `Select-String`. + +- Tampilkan dokumentasi untuk perintah asli: + +`tldr select-string` diff --git a/pages.id/windows/tree.md b/pages.id/windows/tree.md new file mode 100644 index 00000000000000..807192cd0ada6c --- /dev/null +++ b/pages.id/windows/tree.md @@ -0,0 +1,20 @@ +# tree + +> Tampilkan struktur direktori pada suatu lokasi dengan tampilan grafis pohon. +> Informasi lebih lanjut: . + +- Tampilkan pohon struktur direktori saat ini: + +`tree` + +- Tampilkan pohon struktur direktori yang ditentukan: + +`tree {{jalan\menuju\direktori}}` + +- Tampilkan pohon struktur direktori termasuk daftar berkas ([f]ile) dalam setiap direktori: + +`tree {{jalan\menuju\direktori}} /f` + +- Tampilkan pohon hanya dengan menggunakan karakter [a]SCII daripada menggunakan set karakter yang lebih luas: + +`tree {{jalan\menuju\direktori}} /a` diff --git a/pages.id/windows/ver.md b/pages.id/windows/ver.md new file mode 100644 index 00000000000000..b1bb874971ebe2 --- /dev/null +++ b/pages.id/windows/ver.md @@ -0,0 +1,8 @@ +# ver + +> Tampilkan nomor versi Windows atau MS-DOS saat ini. +> Informasi lebih lanjut: . + +- Tampilkan nomor versi saat ini: + +`ver` diff --git a/pages.id/windows/wget.md b/pages.id/windows/wget.md new file mode 100644 index 00000000000000..de39ccc8b11312 --- /dev/null +++ b/pages.id/windows/wget.md @@ -0,0 +1,16 @@ +# wget + +> Perintah ini dapat merupakan alias dari `Invoke-WebRequest` jika program `wget` () tidak terpasang secara benar di PowerShell. +> Informasi lebih lanjut: . + +- Tampilkan dokumentasi untuk perintah `wget` yang asli: + +`tldr wget -p common` + +- Tampilkan dokumentasi untuk perintah `Invoke-WebRequest`: + +`tldr invoke-webrequest` + +- Cari tahu apakah `wget` sudah terpasang dengan benar dengan menampilkan versi program tersebut. Jika perintah ini memunculkan pesan galat/error, maka PowerShell berkemungkinan sedang menggantinya dengan `Invoke-WebRequest`: + +`wget --version` diff --git a/pages.id/windows/whoami.md b/pages.id/windows/whoami.md new file mode 100644 index 00000000000000..25796f02070b6a --- /dev/null +++ b/pages.id/windows/whoami.md @@ -0,0 +1,28 @@ +# whoami + +> Tampilkan informasi identitas pengguna saat ini secara rinci. +> Informasi lebih lanjut: . + +- Tampilkan username pengguna saat ini: + +`whoami` + +- Tampilkan daftar grup dari pengguna saat ini: + +`whoami /groups` + +- Tampilkan hak (privileges) pengguna saat ini: + +`whoami /priv` + +- Tampilkan nama utama pengguna (UPN) saat ini: + +`whoami /upn` + +- Tampilkan ID logon dari pengguna saat ini: + +`whoami /logonid` + +- Tampilkan seluruh informasi identitas pengguna saat ini: + +`whoami /all` diff --git a/pages.id/windows/winget.md b/pages.id/windows/winget.md new file mode 100644 index 00000000000000..e6d36241094543 --- /dev/null +++ b/pages.id/windows/winget.md @@ -0,0 +1,36 @@ +# winget + +> Manajer Paket Antarmuka Baris Perintah Windows. +> Informasi lebih lanjut: . + +- Pasang suatu paket: + +`winget install {{nama_paket}}` + +- Hapus paket yang terpasang sebelumnya (Catatan: subperintah `uninstall` juga dapat digantikan dengan `remove`): + +`winget uninstall {{nama_paket}}` + +- Tampilkan informasi tentang paket: + +`winget show {{nama_paket}}` + +- Cari paket: + +`winget search {{nama_paket}}` + +- Perbarui seluruh paket menuju versi terkini: + +`winget upgrade --all` + +- Tampilkan paket terpasang yang dapat dikelola oleh `winget`: + +`winget list --source winget` + +- Impor atau ekspor daftar paket terpasang ke dalam suatu file: + +`winget {{import|export}} {{--import-file|--output}} {{jalan/menuju/berkas}}` + +- Lakukan uji validasi manifes pemaketan winget sebelum mengirimkan rencana perubahan (Pull Request) menuju repositori winget-pkgs: + +`winget validate {{jalan/menuju/manifes}}` diff --git a/pages.id/windows/xcopy.md b/pages.id/windows/xcopy.md new file mode 100644 index 00000000000000..38b99ac53ed755 --- /dev/null +++ b/pages.id/windows/xcopy.md @@ -0,0 +1,36 @@ +# xcopy + +> Salin berkas dan direktori. +> Informasi lebih lanjut: . + +- Salin berkas atau direktori ke lokasi lain: + +`xcopy {{jalan/menuju/berkas_atau_direktori_sumber}} {{jalan/menuju/berkas_atau_direktori_tujuan}}` + +- Lihat daftar berkas yang akan disalin sebelum proses salinan dimulai: + +`xcopy {{jalan/menuju/berkas_atau_direktori_sumber}} {{jalan/menuju/berkas_atau_direktori_tujuan}} /p` + +- Hanya buat salinan struktur direktori saja (tanpa memasukkan berkas apapun ke dalamnya): + +`xcopy {{jalan/menuju/berkas_atau_direktori_sumber}} {{jalan/menuju/berkas_atau_direktori_tujuan}} /t` + +- Salin termasuk direktori-direktori tanpa isi berkas: + +`xcopy {{jalan/menuju/berkas_atau_direktori_sumber}} {{jalan/menuju/berkas_atau_direktori_tujuan}} /e` + +- Salin berkas dan direktori termasuk informasi hak akses pengguna (ACL) masing-masing: + +`xcopy {{jalan/menuju/berkas_atau_direktori_sumber}} {{jalan/menuju/berkas_atau_direktori_tujuan}} /o` + +- Izinkan proses penyalinan berkas atau direktori untuk berlangsung saat koneksi jaringan komputer terputus: + +`xcopy {{jalan/menuju/berkas_atau_direktori_sumber}} {{jalan/menuju/berkas_atau_direktori_tujuan}} /z` + +- Izinkan `xcopy` untuk tetap mengganti berkas yang sudah ada di lokasi tujuan dengan berkas yang berada di lokasi sumber (override): + +`xcopy {{jalan/menuju/berkas_atau_direktori_sumber}} {{jalan/menuju/berkas_atau_direktori_tujuan}} /y` + +- Tampilkan informasi bantuan: + +`xcopy /?` diff --git a/pages.it/android/am.md b/pages.it/android/am.md new file mode 100644 index 00000000000000..8d2463bcab09e0 --- /dev/null +++ b/pages.it/android/am.md @@ -0,0 +1,20 @@ +# am + +> Gestore delle Attività di Android. +> Maggiori informazioni: . + +- Inizia un'attività: + +`am start -n {{com.android.settings/.Settings}}` + +- Inizia un'attività e e invia dati: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Inizia un'attività corrispondente ad un'azione, e in una categoria delineato: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Converti un intent in un URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.it/android/bugreport.md b/pages.it/android/bugreport.md new file mode 100644 index 00000000000000..e6c6f6250367c1 --- /dev/null +++ b/pages.it/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Mostra un report dei bug del dispositivo Android. +> Questo comando può essere usato solamente addraverso la `adb shell`. +> Maggiori informazioni: . + +- Mostra un report completo dei bug riscontrati nel dispositivo Android: + +`bugreport` diff --git a/pages.it/android/bugreportz.md b/pages.it/android/bugreportz.md new file mode 100644 index 00000000000000..9d3e55fd0805e0 --- /dev/null +++ b/pages.it/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Genera un report di bug di Android in formato compresso (.zip). +> Questo comando può essere usato solo tramite `adb shell`. +> Maggiori informazioni: . + +- Genera un report di bug completo in formato compresso di un dispositivo Android: + +`bugreportz` + +- Mostra l'avanzamento di un'operazione `bugreportz` in esecuzione: + +`bugreportz -p` + +- Scrive il contenuto di un report di bug Android su `stdout`: + +`bugreportz -s` + +- Mostra la guida: + +`bugreportz -h` + +- Mostra la versione: + +`bugreportz -v` diff --git a/pages.it/android/cmd.md b/pages.it/android/cmd.md new file mode 100644 index 00000000000000..136843aa793222 --- /dev/null +++ b/pages.it/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Gestore del servizio Android. +> Maggiori informazioni: . + +- Elenca tutti i servizi in esecuzione: + +`cmd -l` + +- Chiama un servizio specifico: + +`cmd {{alarm}}` + +- Chiama un servizio con argomenti: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.it/android/dalvikvm.md b/pages.it/android/dalvikvm.md new file mode 100644 index 00000000000000..34c8451c8a617e --- /dev/null +++ b/pages.it/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Macchina virtuale Java per Android. +> Maggiori informazioni: . + +- Lancia un programma Java: + +`dalvikvm -classpath {{percorso/del/file.jar}} {{nomeclasse}}` diff --git a/pages.it/android/dumpsys.md b/pages.it/android/dumpsys.md new file mode 100644 index 00000000000000..9edb23bf77cba5 --- /dev/null +++ b/pages.it/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Mostra informazioni sui servizi di sistema Android. +> Questo comando può essere usato solo tramite `adb shell`. +> Maggiori informazioni: . + +- Ottieni l'output diagnostico di tutti i servizi di sistema: + +`dumpsys` + +- Ottieni l'output diagnostico di un servizio di sistema specifico: + +`dumpsys {{servizio}}` + +- Elenca tutti i servizi di cui `dumpsys` può fornire informazioni: + +`dumpsys -l` + +- Elenca gli argomenti specifici per un determinato servizio: + +`dumpsys {{servizio}} -h` + +- Escludi un servizio specifico dall'output diagnostico: + +`dumpsys --skip {{servizio}}` + +- Specifica un [t]imeout in secondi (predefinito: 10s): + +`dumpsys -t {{8}}` diff --git a/pages.it/android/getprop.md b/pages.it/android/getprop.md new file mode 100644 index 00000000000000..c879d22848c662 --- /dev/null +++ b/pages.it/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Visualizza informazioni sulle proprietà del sistema Android. +> Maggiori informazioni: . + +- Visualizza informazioni sulle proprietà del sistema Android: + +`getprop` + +- Visualizza informazioni su una specifica proprietà del sistema Android: + +`getprop {{prop}}` + +- Visualizza il livello della API SDK: + +`getprop {{ro.build.version.sdk}}` + +- Visualizza la versione Android: + +`getprop {{ro.build.version.release}}` + +- Visualizza il modello del dispositivo Android: + +`getprop {{ro.vendor.product.model}}` + +- Visualizza lo stato dello sblocco OEM: + +`getprop {{ro.oem_unlock_supported}}` + +- Visualizza l'indirizzo MAC della scheda Wi-Fi di Android: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.it/android/input.md b/pages.it/android/input.md new file mode 100644 index 00000000000000..7e35c4f5120055 --- /dev/null +++ b/pages.it/android/input.md @@ -0,0 +1,25 @@ +# input + +> Invia codici evento o gesture touchscreen a un dispositivo Android. +> Questo comando può essere usato solo attraverso `abd shell`. +> Maggiori informazioni: . + +- Invia un codice evento per un singolo carattere a un dispositivo Android: + +`input keyevent {{codice_evento}}` + +- Invia un testo a un dispositivo Android (`%s` rappresenta lo spazio): + +`input text "{{testo}}"` + +- Invia un singolo tap a un dispositivo Android: + +`input tap {{pos_x}} {{pos_y}}` + +- Invia una gesture di scorrimento a un dispositivo Android: + +`input swipe {{inizio_x}} {{inizio_y}} {{fine_x}} {{fine_y}} {{durata_in_ms}}` + +- Invia un tap lungo a un dispositivo Android usando una gesture di scorrimento: + +`input swipe {{pos_x}} {{pos_y}} {{pos_x}} {{pos_y}} {{durata_in_ms}}` diff --git a/pages.it/android/logcat.md b/pages.it/android/logcat.md new file mode 100644 index 00000000000000..c43109a1179221 --- /dev/null +++ b/pages.it/android/logcat.md @@ -0,0 +1,16 @@ +# logcat + +> Scarica il registro dei messaggi di sistema, comprese le stack traces quando si verifica un errore, e i messaggi di log delle applicazioni. +> Maggiori informazioni: . + +- Mostra il log di sistema: + +`logcat` + +- Scrivi il log di sistema su file: + +`logcat -f {{percorso/del/file}}` + +- Mostra le righe corrispondenti ad una specifica espressione regolare: + +`logcat --regex {{espressione_regolare}}` diff --git a/pages.it/android/pkg.md b/pages.it/android/pkg.md new file mode 100644 index 00000000000000..97c2882f690d2b --- /dev/null +++ b/pages.it/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Strumento di gestione pacchetti per Termux. +> Maggiori informazioni: . + +- Aggiorna tutti i pacchetti installati: + +`pkg upgrade` + +- Installa un pacchetto: + +`pkg install {{pacchetto}}` + +- Disinstalla un pacchetto: + +`pkg uninstall {{pacchetto}}` + +- Reinstalla un pacchetto: + +`pkg reinstall {{pacchetto}}` + +- Cerca un pacchetto: + +`pkg search {{pacchetto}}` diff --git a/pages.it/android/pm.md b/pages.it/android/pm.md new file mode 100644 index 00000000000000..e69f84d8ffa3b7 --- /dev/null +++ b/pages.it/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Mostra informazioni sulle applicazioni su un dispositivo Android. +> Maggiori informazioni: . + +- Elenca tutte le app installate: + +`pm list packages` + +- Elenca tutte le app di sistema installate: + +`pm list packages -s` + +- Elenca tutte le app di terze parti installate: + +`pm list packages -3` + +- Elenca le app che corrispondono a parole chiave specifiche: + +`pm list packages {{parola_chiave1 parola_chiave2 ...}}` + +- Mostra il percorso dell'APK di una specifica app: + +`pm path {{app}}` diff --git a/pages.it/android/screencap.md b/pages.it/android/screencap.md new file mode 100644 index 00000000000000..b7543403a4ecff --- /dev/null +++ b/pages.it/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Cattura uno screenshot del display di un dispositivo mobile. +> Questo comando può essere usato solo tramite `adb shell`. +> Maggiori informazioni: . + +- Cattura uno screenshot: + +`screencap {{percorso/al/file}}` diff --git a/pages.it/android/settings.md b/pages.it/android/settings.md new file mode 100644 index 00000000000000..85d6da2c52ee33 --- /dev/null +++ b/pages.it/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Acquisici informazioni su Android OS. +> Maggiori informazioni: . + +- Visualizza una lista di impostazioni nel namespace `global`: + +`settings list {{global}}` + +- Ottieni il valore di un'impostazione specifica: + +`settings get {{global}} {{airplane_mode_on}}` + +- Imposta il valore di un'impostazione: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Elimina un'impostazione specifica: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.it/android/wm.md b/pages.it/android/wm.md new file mode 100644 index 00000000000000..e8b7c3d2dda090 --- /dev/null +++ b/pages.it/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Visualizza informazioni dello schermo del dispositivo Android. +> Questo comando può essere usato solo attraverso `adb shell`. +> Maggiori informazioni: . + +- Visualizza le dimensioni fisiche dello schermo di un dispositivo Android: + +`wm size` + +- Visualizza la densità fisica dello schermo di un dispositivo Android: + +`wm density` diff --git a/pages.it/common/!.md b/pages.it/common/!.md new file mode 100644 index 00000000000000..541c8e5e2c8004 --- /dev/null +++ b/pages.it/common/!.md @@ -0,0 +1,24 @@ +# ! + +> Comando bash integrato per sostituire con un comando trovato nella cronologia. +> Maggiori informazioni: . + +- Sostituisci con il comando precedente ed eseguilo con sudo: + +`sudo !!` + +- Sostituisci con un comando in base al numero di riga trovato con `history`: + +`!{{numero}}` + +- Sostituisci con un comando che è stato utilizzato un numero specificato di righe indietro: + +`!-{{numero}}` + +- Sostituisci con il comando più recente che inizia con stringa: + +`!{{stringa}}` + +- Sostituisci con gli argomenti dell'ultimo comando: + +`{{comando}} !*` diff --git a/pages.it/common/7z.md b/pages.it/common/7z.md index ead24059ee1031..876c57f64fb02d 100644 --- a/pages.it/common/7z.md +++ b/pages.it/common/7z.md @@ -1,11 +1,11 @@ # 7z > Archiviatore di file con alto fattore di compressione. -> Maggiori informazioni: . +> Maggiori informazioni: . - Archivia un file o una directory: -`7z a {{archivio.7z}} {{percorso/a/file_o_directory}}` +`7z a {{archivio.7z}} {{percorso/del/file_o_directory}}` - Cripta un archivio esistente (inclusi gli header): @@ -17,15 +17,15 @@ - Estrai un archivio in una specifica directory: -`7z x {{archivio.7z}} -o{{percorso/alla/directory}}` +`7z x {{archivio.7z}} -o{{percorso/della/directory}}` -- Archivia utilizzando uno specifico tipo di archivio: +- Estrai un archivio sullo standard output: -`7z a -t {{zip|gzip|bzip2|tar}} {{archivio.7z}} {{percorso/a/file_o_directory}}` +`7z x {{archivio.7z}} -so` -- Elenca i tipi di archivio supportati: +- Archivia utilizzando uno specifico tipo di archivio: -`7z i` +`7z a -t {{7z|bzip2|gzip|lzip|tar|zip}} {{archivio}} {{percorso/del/file_o_directory}}` - Elenca i contenuti in un archivio: diff --git a/pages.it/common/7za.md b/pages.it/common/7za.md index 2b91c1a226834a..d720b183886e22 100644 --- a/pages.it/common/7za.md +++ b/pages.it/common/7za.md @@ -2,23 +2,19 @@ > Archiviatore di file con alto fattore di compressione. > Versione standalone di `7z` con supporto a meno tipi di archivi. -> Maggiori informazioni: . +> Maggiori informazioni: . - Archivia un file o una directory: -`7za a {{archivio.7z}} {{percorso/a/file_o_directory}}` +`7za a {{archivio.7z}} {{percorso/del/file_o_directory}}` -- Estrai un archivio mantenendo la gerarchia delle cartelle: +- Estrai un archivio mantenendo la gerarchia delle directory: `7za x {{archivio.7z}}` - Archivia utilizzando uno specifico tipo di archivio: -`7za a -t {{zip|gzip|bzip2|tar}} {{archivio.7z}} {{percorso/a/file_o_directory}}` - -- Elenca i tipi di archivio supportati: - -`7za i` +`7za a -t {{zip|gzip|bzip2|tar}} {{archivio.7z}} {{percorso/del/file_o_directory}}` - Elenca i contenuti in un archivio: diff --git a/pages.it/common/7zr.md b/pages.it/common/7zr.md index cc8d7ec411a834..681aaed0c10fd5 100644 --- a/pages.it/common/7zr.md +++ b/pages.it/common/7zr.md @@ -2,11 +2,11 @@ > Archiviatore di file con alto fattore di compressione. > Versione standalone di `7z` che supporta solo file .7z. -> Maggiori informazioni: . +> Maggiori informazioni: . - Archivia un file o una directory: -`7zr a {{archivio.7z}} {{percorso/a/file_o_directory}}` +`7zr a {{archivio.7z}} {{percorso/del/file_o_directory}}` - Estrai un archivio mantenendo la gerarchia delle directory: diff --git a/pages.it/common/[.md b/pages.it/common/[.md new file mode 100644 index 00000000000000..47d15643cede82 --- /dev/null +++ b/pages.it/common/[.md @@ -0,0 +1,33 @@ +# [ + +> Controlla i tipi di file e confronta i valori. +> Restituisce uno stato pari a 0 se la condizione risulta vera, 1 se risulta falsa. +> Maggiori informazioni: . + +- Verifica se una determinata variabile è uguale/diversa dalla stringa specificata: + +`[ "${{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: + +`[ "${{variabile}}" -{{eq|ne|gt|lt|ge|le}} {{intero}} ]` + +- Verifica se la variabile specificata ha un valore [n]on-empty : + +`[ -n "${{variabile}}" ]` + +- Verifica se la variabile specificata ha un valore vuoto: + +`[ -z "${{variabile}}" ]` + +- Verifica se il [f]ile specificato esiste: + +`[ -f {{percorso/del/file}} ]` + +- Verifica se la [d]irectory specificata esiste: + +`[ -d {{percorso/della/directory}} ]` + +- Verifica se la directory o file specificata/o [e]siste: + +`[ -e {{percorso/del/file_o_directory}} ]` diff --git a/pages.it/common/ab.md b/pages.it/common/ab.md index 7912b2e0d4a248..2d5f5f11c995d8 100644 --- a/pages.it/common/ab.md +++ b/pages.it/common/ab.md @@ -1,17 +1,21 @@ # ab > Strumento di benchmarking di Apache. Il più semplice modo per eseguire un test sul carico del server. -> Maggiori informazioni: . +> Maggiori informazioni: . - Esegui 100 richieste HTTP GET ad un dato URL: -`ab -n {{100}} {{url}}` +`ab -n 100 {{url}}` -- Esegui 100 richieste HTTP GET ad un dato url, processandone fino a 10 requests contemporaneamente: +- Esegui 100 richieste HTTP GET ad un dato URL, processandone fino a 10 contemporaneamente: -`ab -n {{100}} -c {{10}} {{url}}` +`ab -n 100 -c 10 {{url}}` -- Usa keep alive: +- Esegui 100 richieste HTTP POST a un dato URL, utilizzando un payload JSON tramite file: + +`ab -n 100 -T {{application/json}} -p {{percorso/del/file.json}} {{url}}` + +- Usa HTTP [K]eep Alive, ovvero esegui richieste multiple in una stessa sessione HTTP: `ab -k {{url}}` diff --git a/pages.it/common/abduco.md b/pages.it/common/abduco.md index 51bba92f2c1cc9..2facf0bfac318b 100644 --- a/pages.it/common/abduco.md +++ b/pages.it/common/abduco.md @@ -1,7 +1,7 @@ # abduco > Gestore di sessioni di terminale. -> Maggiori informazioni: . +> Maggiori informazioni: . - List sessioni: @@ -17,7 +17,7 @@ - Esci da una sessione: -`CTRL + \` +`` - Entra in una sessione in modalità sola lettura: diff --git a/pages.it/common/ack.md b/pages.it/common/ack.md index f222ff417fc072..99e9f4ddc28149 100644 --- a/pages.it/common/ack.md +++ b/pages.it/common/ack.md @@ -1,20 +1,37 @@ # ack > Un tool di ricerca simile a `grep`, ottimizzato per programmatori. -> Maggiori informazioni: . +> Vedi anche: `rg`, che è molto più veloce. +> Maggiori informazioni: . -- Trova file contenenti "foo": +- Cerca ricorsivamente file contenenti una stringa o un'espressione regolare nella directory corrente: -`ack {{foo}}` +`ack "{{pattern_di_ricerca}}"` -- Trova file Ruby contenenti una specifica parola chiave: +- Cerca un pattern in modalità case-insensitive: -`ack --ruby {{each_with_object}}` +`ack {{[-i|--ignore-case]}} "{{pattern_di_ricerca}}"` -- Conta il numero di file contenenti "foo": +- Cerca righe di testo contenenti un pattern, mostrando solo il testo corrispondente e non il resto della riga: -`ack -ch {{foo}}` +`ack {{[-o|--output '$&']}} "{{pattern_di_ricerca}}"` -- Mostra i nomi dei file contenenti "foo" insieme al numero di occorrenze del termine all'interno di essi: +- Limita la ricerca ai file di un tipo specifico: -`ack -cl {{foo}}` +`ack {{[-t|--type]}} {{ruby}} "{{pattern_di_ricerca}}"` + +- Non cercare nei file di un tipo specifico: + +`ack {{[-t|--type]}} no{{ruby}} "{{pattern_di_ricerca}}"` + +- Conta il numero totale di corrispondenze trovate: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{pattern_di_ricerca}}"` + +- Mostra i nomi dei file e il numero di corrispondenze per ogni singolo file: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{pattern_di_ricerca}}"` + +- Mostra la lista di tutti i valori che possono essere usati con `--type`: + +`ack --help-types` diff --git a/pages.it/common/adb-install.md b/pages.it/common/adb-install.md index 5d30b251cb0a8e..30cab0fce69f22 100644 --- a/pages.it/common/adb-install.md +++ b/pages.it/common/adb-install.md @@ -1,20 +1,20 @@ # adb install > Android Debug Bridge Install: Invia pacchetti ad un emulatore Android od ad un dispositivo Android connesso. -> Maggiori informazioni: . +> Maggiori informazioni: . - Invia un'applicazione Android ad un emulatore emulatore/Android: -`adb install {{percorso/al/file.apk}}` +`adb install {{percorso/del/file.apk}}` - Reinstalla una applicazione esistente, preservandone i dati: -`adb install -r {{percorso/al/file.apk}}` +`adb install -r {{percorso/del/file.apk}}` - Fornisce tutti i permessi elencati nel manifest dell'applicazione: -`adb install -g {{percorso/al/file.apk}}` +`adb install -g {{percorso/del/file.apk}}` - Aggiorna rapidamente un pacchetto installato aggiornando solamente le parti dell'APK che sono cambiate: -`adb install --fastdeploy {{percorso/al/file.apk}}` +`adb install --fastdeploy {{percorso/del/file.apk}}` diff --git a/pages.it/common/adb-shell.md b/pages.it/common/adb-shell.md index e78dcb7c0fb458..9433721ffa08d9 100644 --- a/pages.it/common/adb-shell.md +++ b/pages.it/common/adb-shell.md @@ -1,7 +1,7 @@ # adb shell > Android Debug Bridge Shell: Esegue un commando remoto sull'emulatore o dispositivo Android connesso. -> Maggiori informazioni: . +> Maggiori informazioni: . - Avvia un interprete di comandi iterativo remoto sull'emulatore/dispositivo: diff --git a/pages.it/common/adb.md b/pages.it/common/adb.md index 02d0471a00ace7..48d4c4b1cbe015 100644 --- a/pages.it/common/adb.md +++ b/pages.it/common/adb.md @@ -1,7 +1,8 @@ # adb > Android Debug Bridge: comunica con un'instanza di un emulatore Android o con un dispositivo android connesso. -> Maggiori informazioni: . +> Alcuni comandi aggiuntivi, come `shell`, hanno la propria documentazione. +> Maggiori informazioni: . - Controlla se il processo server adb è attivo ed avvialo: @@ -17,15 +18,15 @@ - Installa un'applicazione Android nell'emulatore o dispositivo target: -`adb install -r {{percorso/al/file.apk}}` +`adb install -r {{percorso/del/file.apk}}` - Copia file o directory dal dispositivo target: -`adb pull {{percorso/a/file_o_directory_dispositivo}} {{percorso/a/file_o_directory_locale}}` +`adb pull {{percorso/del/file_o_directory_dispositivo}} {{percorso/del/file_o_directory_locale}}` - Copia file/directory sul dispositivo target: -`adb push {{percorso/a/file_o_directory_locale}} {{percorso/a/directory_destinazione_dispositivo}}` +`adb push {{percorso/del/file_o_directory_locale}} {{percorso/della/directory_destinazione_dispositivo}}` - Mostra una lista dei dispositivi connessi: diff --git a/pages.it/common/ag.md b/pages.it/common/ag.md index 1de88210006b79..6db1bd11c842e5 100644 --- a/pages.it/common/ag.md +++ b/pages.it/common/ag.md @@ -1,7 +1,7 @@ # ag > The Silver Searcher. Come `ack`, ma più veloce. -> Maggiori informazioni: . +> Maggiori informazioni: . - Trova file contenenti "foo" e mostra le corrisponenti linee contenenti il termine: @@ -9,7 +9,7 @@ - Trova file contenenti "foo" in una specifica directory: -`ag {{foo}} {{percorso/alla/directory}}` +`ag {{foo}} {{percorso/della/directory}}` - Trova file contenenti "foo" elencandone solamente i nomi: @@ -25,7 +25,7 @@ - Trova file il quale contenuto soddisfi una determinata espressione regolare: -`ag '{{regexp}}'` +`ag '{{espressione_regolare}}'` - Trova file il quale nome contiene "foo": diff --git a/pages.it/common/agate.md b/pages.it/common/agate.md new file mode 100644 index 00000000000000..3bea003f06c768 --- /dev/null +++ b/pages.it/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> Un semplice server per il protocollo di rete Gemini. +> Maggiori informazioni: . + +- Esegui e genera una chiave privata e un certificato: + +`agate --content {{percorso/del/contenuto}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{esempio.it}} --lang {{it-IT}}` + +- Avvia server: + +`agate {{percorso/del/file}}` + +- Visualizza la guida: + +`agate -h` diff --git a/pages.it/common/age.md b/pages.it/common/age.md new file mode 100644 index 00000000000000..fcf25085c0adf1 --- /dev/null +++ b/pages.it/common/age.md @@ -0,0 +1,28 @@ +# age + +> Uno strumento semplice, moderno e sicuro per la cifratura di file. +> Maggiori informazioni: . + +- Generare un file cifrato che può essere decifrato con una passphrase: + +`age --passphrase --output {{percorso/del/file_cifrato}} {{percorso/del/file_non_cifrato}}` + +- Generare una coppia di chiavi, salvando la chiave privata in un file non cifrato e stampando sullo `stdout` la chiave pubblica: + +`age-keygen --output {{percorso/del/file}}` + +- Cifrare un file con una o più chiavi pubbliche inserite come letterali: + +`age --recipient {{chiave_pubblica_1}} --recipient {{chiave_pubblica_2}} {{percorso/del/file_non_cifrato}} --output {{percorso/del/file_cifrato}}` + +- Cifrare un file con una o più chiavi pubbliche specificate in un file di destinatari: + +`age --recipients-file {{percorso/del/file_di_destinatari}} {{percorso/del/file_non_cifrato}} --output {{percorso/del/file_cifrato}}` + +- Decifrare un file con una passphrase: + +`age --decrypt --output {{percorso/del/file_decifrato}} {{percorso/del/file_cifrato}}` + +- Decifrare un file con il file di una chiave privata: + +`age --decrypt --identity {{percorso/del/file_chiave_privata}} --output {{percorso/del/file_decifrato}} {{percorso/del/file_cifrato}}` diff --git a/pages.it/common/airpaste.md b/pages.it/common/airpaste.md index 14ac3ebe7c467a..0feaba5e983b4a 100644 --- a/pages.it/common/airpaste.md +++ b/pages.it/common/airpaste.md @@ -1,8 +1,9 @@ # airpaste > Condividi messaggi e file nella stessa rete. +> Maggiori informazioni: . -- Aspetta un messaggo e mostralo una volta ricevuto: +- Aspetta un messaggio e mostralo una volta ricevuto: `airpaste` @@ -12,11 +13,11 @@ - Invia un file: -`airpaste < {{percorso/al/file}}` +`airpaste < {{percorso/del/file}}` - Ricevi un file: -`airpaste > {{percorso/al/file}}` +`airpaste > {{percorso/del/file}}` - Crea o entra in un canale: diff --git a/pages.it/common/alacritty.md b/pages.it/common/alacritty.md new file mode 100644 index 00000000000000..84d61b2208621b --- /dev/null +++ b/pages.it/common/alacritty.md @@ -0,0 +1,24 @@ +# alacritty + +> Multipiattaforma, GPU-accelerato emulatore di terminale. +> Maggiori informazioni: . + +- Apri un nuovo finestra di Alacritty: + +`alacritty` + +- Esegui in una directory specifica: + +`alacritty --working-directory {{percorso/della/directory}}` + +- Esegui un comando in una nuova finestra di Alacritty: + +`alacritty -e {{comando}}` + +- Specifica un file di configurazione alternativo (predefinito a `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): + +`alacritty --config-file {{percorso/di/config.toml}}` + +- Esegui con ricaricamento configurazione live (può anche essere acceso in `alacritty.toml`): + +`alacritty --live-config-reload --config-file {{percorsi/al/config.toml}}` diff --git a/pages.it/common/alias.md b/pages.it/common/alias.md index b6c8c9eb48889b..90b043279bb118 100644 --- a/pages.it/common/alias.md +++ b/pages.it/common/alias.md @@ -2,6 +2,7 @@ > Crea alias -- parole che sono sostituite da stringhe di comandi. > Gli alias vengono persi alla chiusura della shell corrente, a meno che non siano definiti nel file di configurazione della shell (ad esempio `~/.bashrc`). +> Maggiori informazioni: . - Crea un alias: @@ -15,10 +16,6 @@ `unalias {{parola}}` -- Elenca tutti gli alias correntemente in uso: - -`alias -p` - - Rendi il comando rm interattivo: `alias {{rm}}="{{rm -i}}"` diff --git a/pages.it/common/ansible-galaxy.md b/pages.it/common/ansible-galaxy.md index 66dea27396cc17..c02f56108a4b3f 100644 --- a/pages.it/common/ansible-galaxy.md +++ b/pages.it/common/ansible-galaxy.md @@ -1,24 +1,32 @@ # ansible-galaxy -> Crea e gestisci ruoli di Ansible. +> Esegui varie operazioni inerenti ai Ruoli e alle Collezioni in Ansible. > Maggiori informazioni: . -- Installa un ruolo: +- Lista i ruoli o le collezioni installate: -`ansible-galaxy install {{utente.ruolo}}` +`ansible-galaxy {{ruolo|collezione}} list` -- Rimuovi un ruolo: +- Cerca un ruolo con vari livelli di verbosità (`-v` deve essere specificato alla fine): -`ansible-galaxy remove {{utente.ruolo}}` +`ansible-galaxy role search {{keyword}} -v{{vvvvv}}` -- Elenca i ruoli installati: +- Installa o rimuovi ruoli: -`ansible-galaxy list` +`ansible-galaxy role {{install|remove}} {{nome_ruolo1 nome_ruolo2 ...}}` -- Cerca un determinato ruolo: +- Crea un nuovo ruolo: -`ansible-galaxy search {{nome_ruolo}}` +`ansible-galaxy role init {{nome_ruolo}}` -- Crea un nuovo ruolo: +- Ottieni informazioni inerenti a un ruolo: + +`ansible-galaxy role info {{nome_ruolo}}` + +- Installa o rimuovi collezioni: + +`ansible-galaxy collection {{install|remove}} {{nome_collezione1 nome_collezione2 ...}}` + +- Mostra aiuto su ruoli o collezioni: -`ansible-galaxy init {{nome_nuovo_ruolo}}` +`ansible-galaxy {{ruolo|collezione}} {{[-h|--help]}}` diff --git a/pages.it/common/ansible-playbook.md b/pages.it/common/ansible-playbook.md index e49204b622edf4..8030fe8aefd43b 100644 --- a/pages.it/common/ansible-playbook.md +++ b/pages.it/common/ansible-playbook.md @@ -9,12 +9,12 @@ - Esegui task nel playbook con un inventory personalizzato: -`ansible-playbook {{playbook}} -i {{inventory}}` +`ansible-playbook {{playbook}} {{[-i|--inventory]}} {{inventory}}` - Esegui task nel playvook con variabili aggiuntive definite da linea di comando: -`ansible-playbook {{playbook}} -e "{{variabile1}}={{valore1}} {{variabile2}}={{valore2}} ..."` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "{{variabile1}}={{valore1}} {{variabile2}}={{valore2}} ..."` - Esegui task nel playbook con variabili aggiuntive definite in un file JSON: -`ansible-playbook {{playbook}} -e "@{{variabili.json}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "@{{variabili.json}}"` diff --git a/pages.it/common/ansible.md b/pages.it/common/ansible.md index ae83cf9016c3ab..99393332af2296 100644 --- a/pages.it/common/ansible.md +++ b/pages.it/common/ansible.md @@ -1,29 +1,34 @@ # ansible -> Gestisci gruppi di computer da remoto via SSH. -> Usa il file /etc/ansible/hosts per aggiungere nuovi gruppi/host. -> Maggiori informazioni: . +> Gestisce gruppi di computer da remoto via SSH. +> Usa il file `/etc/ansible/hosts` per aggiungere nuovi gruppi/host. +> Alcuni comandi aggiuntivi, come `galaxy`, hanno la propria documentazione. +> Maggiori informazioni: . -- Lista gli host appartenenti ad un gruppo: +- Elenca gli host appartenenti ad un gruppo: `ansible {{gruppo}} --list-hosts` - Invia un ping ad un gruppo di host invocando il modulo "ping": -`ansible {{gruppo}} -m ping` +`ansible {{gruppo}} {{[-m|--module-name]}} ping` -- Mostra informazioni su di un gruppo di host invocando il modulo "setup": +- Mostra informazioni su un gruppo di host invocando il modulo "setup": -`ansible {{gruppo}} -m setup` +`ansible {{gruppo}} {{[-m|--module-name]}} setup` - Esegui un comando su un gruppo di host invocando il modulo "command" con degli argomenti: -`ansible {{gruppo}} -m command -a '{{comando_da_eseguire}}'` +`ansible {{gruppo}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{comando_da_eseguire}}'` - Esegui un comando con privilegi di amministratore: -`ansible {{gruppo}} --become --ask-become-pass -m command -a '{{comando}}'` +`ansible {{gruppo}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{comando}}'` - Esegui un comando usando un file di inventory personalizzato: -`ansible {{gruppo}} -i {{file_inventory}} -m command -a '{{comando}}'` +`ansible {{gruppo}} {{[-i|--inventory]}} {{file_inventory}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{comando}}'` + +- Elenca i gruppi in un inventory: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.it/common/ansiweather.md b/pages.it/common/ansiweather.md index e06c509f219fa2..068f9b789924db 100644 --- a/pages.it/common/ansiweather.md +++ b/pages.it/common/ansiweather.md @@ -5,12 +5,12 @@ - Mostra una previsione usando unità SI per i prossimi cinque giorni in Rzeszow (Polonia): -`ansiweather -u {{metric}} -f {{5}} -l {{Rzeszow,PL}}` +`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}` - Mostra una previsione con simboli e informazioni sulla luce solare per la tua posizione attuale: -`ansiweather -s {{true}} -d {{true}}` +`ansiweather -F -s true -d true` - Mostra una previsione con informazioni su vento ed umidità per la tua posizione attuale: -`ansiweather -w {{true}} -h {{true}}` +`ansiweather -w true -h true` diff --git a/pages.it/common/apg.md b/pages.it/common/apg.md index 6f0d04facef230..4bbe06e4b022db 100644 --- a/pages.it/common/apg.md +++ b/pages.it/common/apg.md @@ -1,6 +1,7 @@ # apg > Crea password randomiche arbitrariamente complesse. +> Maggiori informazioni: . - Genera password randomiche (la lunghezza predefinita è 8): @@ -20,4 +21,4 @@ - Crea una password che non è già presente in un dizionario (file dizionario fornito come argomento): -`apg -r {{dizionario}}` +`apg -r {{percorso/del/dizionario}}` diff --git a/pages.it/common/apm.md b/pages.it/common/apm.md index e8f745a0389843..7361e1721e15b7 100644 --- a/pages.it/common/apm.md +++ b/pages.it/common/apm.md @@ -4,7 +4,7 @@ > Vedi `atom`. > Maggiori informazioni: . -- Installa pacchetti da http://atom.io/packages e temi da http://atom.io/themes: +- Installa pacchetti da e temi da : `apm install {{nome_pacchetto}}` diff --git a/pages.it/common/apropos.md b/pages.it/common/apropos.md index 172c03ba862c60..3d512672121ccb 100644 --- a/pages.it/common/apropos.md +++ b/pages.it/common/apropos.md @@ -1,6 +1,7 @@ # apropos > Cerca nelle pagine di manuale, ad esempio per trovare un nuovo comando. +> Maggiori informazioni: . - Cerca una parola chiave: diff --git a/pages.it/common/ar.md b/pages.it/common/ar.md index 0e183dbbdf9827..823d5679492ca2 100644 --- a/pages.it/common/ar.md +++ b/pages.it/common/ar.md @@ -1,23 +1,24 @@ # ar -> Crea, modifica ed estrai da archivi (.a, .so, .o). +> Crea, modifica ed estrai da archivi (`.a`, `.so`, `.o`). +> Maggiori informazioni: . -- Estrai tutti i membri da un archivio: +- Estrai ([x]) tutti i membri da un archivio: -`ar -x {{libfoo.a}}` +`ar x {{percorso/del/file.a}}` -- Lista tutti i membri di un archivio: +- Lis[t]a tutti i membri di un archivio: -`ar -t {{libfoo.a}}` +`ar t {{percorso/del/file.ar}}` -- Sostituisci o aggiungi file ad un archvio: +- Sostituisci ([r]) o aggiungi file ad un archvio: -`ar -r {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}` +`ar r {{percorso/del/file.deb}} {{percorso/del/debian-binary percorso/del/control.tar.gz percorso/del/data.tar.xz ...}}` -- Inserisci o sostituisci un indice in un archivio (equivalente ad usare `ranlib`): +- In[s]erisci o sostituisci un indice in un archivio (equivalente ad usare `ranlib`): -`ar -s {{libfoo.a}}` +`ar s {{percorso/del/file.a}}` - Crea un archivio con dei file creando anche il relativo indice: -`ar -rs {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}` +`ar rs {{percorso/del/file.a}} {{percorso/del/file1.o percorso/del/file2.o ...}}` diff --git a/pages.it/common/arc.md b/pages.it/common/arc.md new file mode 100644 index 00000000000000..063f0161ca615e --- /dev/null +++ b/pages.it/common/arc.md @@ -0,0 +1,20 @@ +# arc + +> Arcanist: una CLI per Phabricator. +> Maggiori informazioni: . + +- Invia le modifiche a Differential per la revisione: + +`arc diff` + +- Mostra le informazioni sulle revisioni in sospeso: + +`arc list` + +- Aggiorna i messaggi dei commit Git dopo la revisione: + +`arc amend` + +- Esegui il push delle modifiche Git: + +`arc land` diff --git a/pages.it/common/arch.md b/pages.it/common/arch.md index c2372820948231..66b4d7c702b2d0 100644 --- a/pages.it/common/arch.md +++ b/pages.it/common/arch.md @@ -2,6 +2,7 @@ > Mostra il nome dell'architettura del sistema. > Vedi anche `uname`. +> Maggiori informazioni: . - Mostra l'architettura del sistema: diff --git a/pages.it/common/aria2.md b/pages.it/common/aria2.md index cd30c3b9563c1a..42a346e5fa31e4 100644 --- a/pages.it/common/aria2.md +++ b/pages.it/common/aria2.md @@ -1,33 +1,7 @@ # aria2 -> Strumento di download da linea di comando leggero, multi-protocollo e multi-sorgente. -> Supporta HTTP, HTTPS, FTP, SFTP, BitTorrent e Metalink. -> Maggiori informazioni: . +> Questo comando è un alias per `aria2c`. -- Scarica una risorsa web: +- Consulta la documentazione del comando originale: -`aria2c {{http://example.org/myLinux.iso}}` - -- Scarica una risorsa da sorgenti multiple: - -`aria2c {{http://mirror1.org/myLinux.iso}} {{http://mirror2.org/myLinux.iso}}` - -- Scarica utilizzando 2 connessioni per host: - -`aria2c -x{{2}} {{http://example.org/myLinux.iso}}` - -- Scarica un file da un URI Metalink: - -`aria2c {{http://example.org/myLinux.metalink}}` - -- Scarica da un URI BitTorrent: - -`aria2c {{http://example.org/myLinux.torrent}}` - -- Scarica da un Magnet URI BitTorrent: - -`aria2c {{'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C'}}` - -- Scarica dagli URI listati in un file: - -`aria2c -i {{uris.txt}}` +`tldr aria2c` diff --git a/pages.it/common/aria2c.md b/pages.it/common/aria2c.md index 43dcf022c5dbe6..a5f09c345e527e 100644 --- a/pages.it/common/aria2c.md +++ b/pages.it/common/aria2c.md @@ -24,6 +24,6 @@ `aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}` -- Limita la valocità di download (in byte al secondo): +- Limita la velocità di download (in byte al secondo): `aria2c --max-download-limit={{velocità}} {{url}}` diff --git a/pages.it/common/arp.md b/pages.it/common/arp.md index 751d66a18d1ce4..70f6b79cb798c5 100644 --- a/pages.it/common/arp.md +++ b/pages.it/common/arp.md @@ -1,15 +1,12 @@ # arp > Mostra e gestisci la cache ARP di sistema. +> Maggiori informazioni: . - Mostra la tabella ARP corrente: `arp -a` -- Elimina l'intera cache: - -`sudo arp -a -d` - - Elimina una specifica voce: `arp -d {{indirizzo}}` diff --git a/pages.it/common/arping.md b/pages.it/common/arping.md index cd3014fba06839..5fa17aaeec112c 100644 --- a/pages.it/common/arping.md +++ b/pages.it/common/arping.md @@ -2,7 +2,7 @@ > Scopri e interroga host in una rete utilizzando il protocollo ARP. > Utile per scoprire indirizzi MAC. -> Maggiori informazioni: . +> Maggiori informazioni: . - Invia un ping ad un host inviando pacchetti ARP request: diff --git a/pages.it/common/asar.md b/pages.it/common/asar.md index f5ac7adc3c5b2f..92f35dd98e6c01 100644 --- a/pages.it/common/asar.md +++ b/pages.it/common/asar.md @@ -3,9 +3,9 @@ > Gestore di archivi per la piattaforma Electron. > Maggiori informazioni: . -- Archivia un file o una cartella: +- Archivia un file o una directory: -`asar pack {{percorso/al/file}} {{archivio.asar}}` +`asar pack {{percorso/del/file}} {{archivio.asar}}` - Estrai un archivio: diff --git a/pages.it/common/asciinema.md b/pages.it/common/asciinema.md index 7a325740c517d6..b6d4661272e485 100644 --- a/pages.it/common/asciinema.md +++ b/pages.it/common/asciinema.md @@ -1,7 +1,7 @@ # asciinema > Registra e riproduci sessioni di terminale, condividendole opzionalmente su asciiname.org. -> Maggiori informazioni: . +> Maggiori informazioni: . - Associa l'installazione locale di `asciiname` ad un account di asciiname.org: @@ -13,11 +13,11 @@ - Avvia una nuova registrazione e salvala come file locale: -`asciinema rec {{nome_registrazione}}.cast` +`asciinema rec {{percorso/del/registrazione.cast}}` - Riproduci una sessione da un file locale: -`asciinema play {{percorso/al/file}}.cast` +`asciinema play {{percorso/del/registrazione.cast}}` - Riproducei una sessione da asciinema.org: @@ -25,12 +25,12 @@ - Avvia una nuova registrazione, limitando qualsiasi periodo di inattività a 2.5 secondi: -`asciinema rec -i {{2.5}}` +`asciinema rec {{[-i|--idle-time-limit]}} 2.5` - Stampa l'output completo di una sessione locale: -`asciinema cat {{percorso/al/file}}.cast` +`asciinema cat {{percorso/del/registrazione.cast}}` - Carica una sessione locale su asciinama.org: -`asciinema upload {{percorso/al/file}}.cast` +`asciinema upload {{percorso/del/registrazione.cast}}` diff --git a/pages.it/common/asdf.md b/pages.it/common/asdf.md index a66ebdef782f5a..4d57963a194114 100644 --- a/pages.it/common/asdf.md +++ b/pages.it/common/asdf.md @@ -1,19 +1,19 @@ # asdf > Interfaccia da linea di comando per gestire le versionai di diversi pacchetti. -> Maggiori informazioni: . +> Maggiori informazioni: . - Elenca tutti i plugin disponibili: -`asdf plugin-list-all` +`asdf plugin list all` - Installa un plugin: -`asdf plugin-add {{nome}}` +`asdf plugin add {{nome}}` - Elenca tutte le versioni disponibili per un pacchetto: -`asdf list-all {{nome}}` +`asdf list all {{nome}}` - Installa una specifica versione di un pacchetto: @@ -21,8 +21,12 @@ - Imposta la versione globale per un pacchetto: -`asdf global {{nome}} {{versiona}}` +`asdf set -u {{nome}} {{versiona}}` - Imposta la versiona locale per un pacchetto: -`asdf local {{nome}} {{versiona}}` +`asdf set {{nome}} {{versiona}}` + +- Elenca la versione utilizzata per un pacchetto: + +`asdf current {{nome}}` diff --git a/pages.it/common/assimp.md b/pages.it/common/assimp.md index 068620965bdea5..fd31f1a7eaea46 100644 --- a/pages.it/common/assimp.md +++ b/pages.it/common/assimp.md @@ -2,7 +2,7 @@ > Client da linea di comando per la Open Asset Import Library. > Supporta il caricamento di 40+ formati di file per modelli 3D, e l'espoerazione di diversi formati 3D popolari. -> Maggiori informazioni: . +> Maggiori informazioni: . - Elenca tutti i formati supportati: @@ -22,7 +22,7 @@ - Mostra un riepilogo del contenuto di un file: -`assimp info {{percordo/al/file}}` +`assimp info {{percorso/del/file}}` - Elenca tutti i sottocomandi disponibili (detti "verbs"): diff --git a/pages.it/common/astyle.md b/pages.it/common/astyle.md index 907a27f94f41c8..71821ad964ac9c 100644 --- a/pages.it/common/astyle.md +++ b/pages.it/common/astyle.md @@ -2,24 +2,24 @@ > Indentatore, formattatore e beautifier di codice sorgente per i linguaggi C, C++, C# e Java. > Quando eseguito, una copia del file originale è creata con l'estensione ".orig" aggiunta come suffisso. -> Maggiori informazioni: . +> Maggiori informazioni: . - Applica lo stile di default di 4 spazi per livello di indentazione e nessun cambiamento alla formattazione: `astyle {{file_sorgente}}` -- Applica lo stile java con parentesi graffe aperte sulla stessa riga (attached braces): +- Applica lo stile Java con parentesi graffe aperte sulla stessa riga (attached braces): -`astyle --style=java {{percorso/al/file}}` +`astyle --style=java {{percorso/del/file}}` - Applica lo stile allman per parantesi graffe su linee separate (broken braces): -`astyle --style=allman {{percorso/al/file}}` +`astyle --style=allman {{percorso/del/file}}` - Applica un'indentazione personalizzata utilizzando spazi. Scegli tra 2 e 20 spazi: -`astyle --indent=spaces={{numero_spazi}} {{percorso/al/file}}` +`astyle --indent=spaces={{numero_spazi}} {{percorso/del/file}}` - Applica un'indentazione personalizzata utilizzando tab. Scegli tra 2 e 20 tab: -`astyle --indent=tab={{numero_tab}} {{percorso/al/file}}` +`astyle --indent=tab={{numero_tab}} {{percorso/del/file}}` diff --git a/pages.it/common/at.md b/pages.it/common/at.md index 9a5bf83b842a77..e6efe35ca2642e 100644 --- a/pages.it/common/at.md +++ b/pages.it/common/at.md @@ -2,8 +2,9 @@ > Programma l'esecuzione di comandi nel futuro. > Il servizio atd (o atrun) deve essere attivo per eseguire i comandi. +> Maggiori informazioni: . -- Esegui i comandi inseriti standard input tra 5 minuti (premere `Ctrl + D` dopo aver inserito i comandi): +- Esegui i comandi inseriti standard input tra 5 minuti (premere `` dopo aver inserito i comandi): `at now + 5 minutes` @@ -13,4 +14,4 @@ - Esegui comandi contenuti in un dato file il prossimo martedì alle 9:30 di sera: -`at -f {{percorso/al/file}} 9:30 PM Tue` +`at -f {{percorso/del/file}} 9:30 PM Tue` diff --git a/pages.it/common/atom.md b/pages.it/common/atom.md index 1bc270d3416a08..7dcb3fc9cd9b91 100644 --- a/pages.it/common/atom.md +++ b/pages.it/common/atom.md @@ -4,17 +4,17 @@ > I plugin sono gestiti da `apm`. > Maggiori informazioni: . -- Apri un file o una cartella: +- Apri un file o una directory: -`atom {{percorso/a/file_o_cartella}}` +`atom {{percorso/del/file_o_directory}}` -- Apri un file o una cartella in una nuova finestra: +- Apri un file o una directory in una nuova finestra: -`atom -n {{percorso/a/file_o_cartella}}` +`atom -n {{percorso/del/file_o_directory}}` -- Apri un file o una cartella in una finestra esistente: +- Apri un file o una directory in una finestra esistente: -`atom --add {{percorso/a/file_o_cartella}}` +`atom --add {{percorso/del/file_o_directory}}` - Avvia Atom in safe mode (non carica nessun pacchetto): diff --git a/pages.it/common/atoum.md b/pages.it/common/atoum.md index 1f036309a1a9b4..f0416afd20b9ca 100644 --- a/pages.it/common/atoum.md +++ b/pages.it/common/atoum.md @@ -1,7 +1,7 @@ # atoum > Un semplice, moderno ed intuitivo framework PHP per unit testing. -> Maggiori informazioni: . +> Maggiori informazioni: . - Inizializza un file di configurazione: @@ -13,24 +13,24 @@ - Esegui test utilizzando uno specifico file di configurazione: -`atoum -c {{percorso/al/file}}` +`atoum {{[-c|--configuration]}} {{percorso/del/file}}` - Esegui uno specifico file di test: -`atoum -f {{percorso/al/file}}` +`atoum {{[-f|--files]}} {{percorso/del/file}}` - Esegui una specifica directory di test: -`atoum -d {{path/to/directory}}` +`atoum {{[-d|--directories]}} {{percorso/della/directory}}` - Esegui tutti i test sotto uno specifico namespace: -`atoum -ns {{namespace}}` +`atoum {{[-ns|--namespaces]}} {{namespace}}` -- Esegui tutti i test con uno speficico tag: +- Esegui tutti i test con uno specifico tag: -`atoum -t {{tag}}` +`atoum {{[-t|--tags]}} {{tag}}` - Carica un file di bootstrap personalizzato prima di eseguire i test: -`atoum --bootstrap-file {{percorso/al/file}}` +`atoum {{[-bf|--bootstrap-file]}} {{percorso/del/file}}` diff --git a/pages.it/common/atq.md b/pages.it/common/atq.md index 04da5cee145769..8c61304bb5d643 100644 --- a/pages.it/common/atq.md +++ b/pages.it/common/atq.md @@ -1,6 +1,7 @@ # atq > Mostra job programmati dai comandi `at` o `batch`. +> Maggiori informazioni: . - Mostra i job programmati per l'utente corrente: diff --git a/pages.it/common/atrm.md b/pages.it/common/atrm.md index e8df4ebbebd16f..73b9a337abd17a 100644 --- a/pages.it/common/atrm.md +++ b/pages.it/common/atrm.md @@ -2,6 +2,7 @@ > Rimuovi job programmati dai comandi `at` o `batch`. > Per trovare i numeri dei job utilizzare `atq`. +> Maggiori informazioni: . - Rimuovi il job numero 10: diff --git a/pages.it/common/autoflake.md b/pages.it/common/autoflake.md index a5e5bad9af4cea..9513988a4755a1 100644 --- a/pages.it/common/autoflake.md +++ b/pages.it/common/autoflake.md @@ -5,16 +5,16 @@ - Rimuovi le variabili inutilizzate da un file e mostra la differenza: -`autoflake --remove-unused-variables {{file.py}}` +`autoflake --remove-unused-variables {{percorso/del/file.py}}` - Rimuovi gli import inutilizzati da multipli file mostrando le differenze: -`autoflake --remove-all-unused-imports {{file1.py}} {{file2.py}} {{file3.py}}` +`autoflake --remove-all-unused-imports {{percorso/del/file1.py percorso/del/file2.py ...}}` - Rimuovi le variabili inutilizzate da un file, sovrascrivendolo: -`autoflake --remove-unused-variables --in-place {{file.py}}` +`autoflake --remove-unused-variables --in-place {{percorso/del/file.py}}` -- Rimuovi le variabili inutilizzate da tutti i file in una cartella, ricorsivamente e sovrascrivendoli: +- Rimuovi le variabili inutilizzate da tutti i file in una directory, ricorsivamente e sovrascrivendoli: -`autoflake --remove-unused-variables --in-place --recursive {{percorso/a/cartella}}` +`autoflake --remove-unused-variables --in-place --recursive {{percorso/della/directory}}` diff --git a/pages.it/common/autojump.md b/pages.it/common/autojump.md index a2d544e788b9ff..8a804d078331b6 100644 --- a/pages.it/common/autojump.md +++ b/pages.it/common/autojump.md @@ -1,7 +1,7 @@ # autojump > Salta velocemente tra le directory che usi più spesso. -> Alias come j o jc sono disponibili per una maggiore velocità di scrittura. +> Alias come `j` o `jc` sono disponibili per una maggiore velocità di scrittura. > Maggiori informazioni: . - Muoviti in una directory il cui nome contiene una parola chiave: @@ -16,10 +16,10 @@ `jo {{parola_chiave}}` -- Rimuovi directory non esistenti dal database di autojump: +- Rimuovi directory non esistenti dal database di `autojump`: `j --purge` -- Mostra le voci nel database di autojump: +- Mostra le voci nel database di `autojump`: -`j -s` +`j {{[-s|--stat]}}` diff --git a/pages.it/common/autossh.md b/pages.it/common/autossh.md index df889f5ee69cf1..18b94b3a133037 100644 --- a/pages.it/common/autossh.md +++ b/pages.it/common/autossh.md @@ -1,24 +1,24 @@ # autossh > Esegue, monitora e riavvia connessioni SSH. -> Si riconnette automaticamente per tenere attivi tunnel di port forwarding. Accetta tutte le flag di ssh. -> Maggiori informazioni: . +> Si riconnette automaticamente per tenere attivi tunnel di port forwarding. Accetta tutte le flag di SSH. +> Maggiori informazioni: . - Apri una sessione SSH, riavviandola quando una porta monitorata smette di rispondere: -`autossh -M {{porta_monitorata}} {{comando_ssh}}` +`autossh -M {{porta_monitorata}} "{{comando_ssh}}"` -- Apri una sessione ssh che forwarda una porta locale verso una remota, riavviandola se necessario: +- Apri una sessione SSH che forwarda una porta locale verso una remota, riavviandola se necessario: `autossh -M {{porta_monitorata}} -L {{porta_locale}}:localhost:{{porta_remota}} {{utente}}@{{host}}` -- Forka prima di eseguire il comando ssh (si avvia in background) e non aprire una shell remota: +- Forka prima di eseguire il comando SSH (si avvia in background) e non aprire una shell remota: -`autossh -f -M {{porta_monitorata}} -N {{comando_ssh}}` +`autossh -f -M {{porta_monitorata}} -N "{{comando_ssh}}"` - Esegui autossh in background, senza una porta da monitorare, utilizzando i keep-alive di SSH ogni 10 secondi per rilevare una disconnessione: -`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" {{comando_ssh}}` +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" "{{comando_ssh}}"` - Esegui autossh in background, senza una porta da monitorare, senza una shell remota, uscendo se il port forwarding fallisce: diff --git a/pages.it/common/avrdude.md b/pages.it/common/avrdude.md index 4c5e572740f872..e2f1fc62480184 100644 --- a/pages.it/common/avrdude.md +++ b/pages.it/common/avrdude.md @@ -1,7 +1,7 @@ # avrdude > Driver per il programmatore di microcontrollori Atmel AVR. -> Maggiori informazioni: . +> Maggiori informazioni: . - Leggi dal microcontrollore AVR: diff --git a/pages.it/common/aws-s3.md b/pages.it/common/aws-s3.md index dba2b77920d051..9c50947c3b9d7f 100644 --- a/pages.it/common/aws-s3.md +++ b/pages.it/common/aws-s3.md @@ -1,7 +1,7 @@ # aws s3 > CLI per AWS S3 - fornisce spazio di archiviazione tramite le interfacce di Amazon Web Services. -> Maggiori informazioni: . +> Maggiori informazioni: . - Mostra file in un bucket: @@ -9,19 +9,19 @@ - Sincronizza file e directory locali su un bucket: -`aws s3 sync {{percorso/ai/file}} s3://{{nome_bucket}}` +`aws s3 sync {{percorso/dei/file}} s3://{{nome_bucket}}` - Sincronizza file e directory da un bucket in locle: -`aws s3 sync s3://{{nome_bucket}} {{path/to/target}}` +`aws s3 sync s3://{{nome_bucket}} {{percorso/del/file_o_cartella}}` - Sincronizza file e directory escludendo alcuni file o directory: -`aws s3 sync {{percorso/ai/file}} s3://{{nome_bucket}} --exclude {{percorso/al/file}} --exclude {{directory}}/*` +`aws s3 sync {{percorso/dei/file}} s3://{{nome_bucket}} --exclude {{percorso/del/file}} --exclude {{directory}}/*` - Rimuovi un file dal bucket: -`aws s3 rm s3://{{bucket}}/{{percorso/al/file}}` +`aws s3 rm s3://{{bucket}}/{{percorso/del/file}}` - Mostra solo un'anteprima dei cambiamenti: diff --git a/pages.it/common/aws.md b/pages.it/common/aws.md index d34c956db6b146..e9eae0f8197467 100644 --- a/pages.it/common/aws.md +++ b/pages.it/common/aws.md @@ -1,6 +1,7 @@ # aws > Il tool da linea di comando ufficiale per Amazon Web Services. +> Alcuni comandi aggiuntivi, come `s3`, hanno la propria documentazione. > Maggiori informazioni: . - Lista tutti gli utenti IAM (Identity and Access Management): diff --git a/pages.it/common/axel.md b/pages.it/common/axel.md index 64ff5f61dcfc36..7522e3607d7c05 100644 --- a/pages.it/common/axel.md +++ b/pages.it/common/axel.md @@ -2,7 +2,7 @@ > Downloader accelerato. > Supporta HTTP, HTTPS e FTP. -> Maggiori informazioni: . +> Maggiori informazioni: . - Scarica un file da un URL: diff --git a/pages.it/common/az.md b/pages.it/common/az.md index dd60a767214319..1135469e9915f6 100644 --- a/pages.it/common/az.md +++ b/pages.it/common/az.md @@ -1,13 +1,14 @@ # az > Strumento ufficiale da linea di comando per Microsoft Azure. -> Maggiori informazioni: . +> Alcuni comandi aggiuntivi, come `login`, hanno la propria documentazione. +> Maggiori informazioni: . - Effettua il log in ad Azure: `az login` -- Gestisci la tua iscrizione ad Azure: +- Gestisci il tuo abbonamento ad Azure: `az account` @@ -15,7 +16,7 @@ `az disk list` -- Elenca tutte le virtual machine Azure: +- Elenca tutte le macchine virtuali di Azure: `az vm list` @@ -26,3 +27,11 @@ - Gestisci le risorse della rete di Azure: `az network` + +- Avvia la modalità interattiva: + +`az interactive` + +- Mostra le descrizioni dei comandi: + +`az --help` diff --git a/pages.it/common/b2sum.md b/pages.it/common/b2sum.md index 755fce11928851..3bca78afe6e41b 100644 --- a/pages.it/common/b2sum.md +++ b/pages.it/common/b2sum.md @@ -1,7 +1,7 @@ # b2sum > Calcola checksum BLAKE2. -> Maggiori informazioni: . +> Maggiori informazioni: . - Calcola il checksum BLAKE2 per un file: diff --git a/pages.it/common/babel.md b/pages.it/common/babel.md index 0aac2241c8210b..b12c0ccb00da92 100644 --- a/pages.it/common/babel.md +++ b/pages.it/common/babel.md @@ -5,31 +5,31 @@ - Transpila uno specifico file e stampa il risultato su `stdout`: -`babel {{percorso/al/file}}` +`babel {{percorso/del/file}}` - Transpila un file e scrivi il risultato su uno specifico file di output: -`babel {{percorso/al/file_input}} --out-file {{percorso/al/file_output}}` +`babel {{percorso/del/file_input}} --out-file {{percorso/del/file_output}}` - Transpila un file ogni volta che viene modificato: -`babel {{percorso/al/file}} --watch` +`babel {{percorso/del/file}} --watch` - Transpila un'intera directory di file: -`babel {{percorso/a/directory_input}}` +`babel {{percorso/della/directory_input}}` - Transpila un'intera directory ignorando specifici file separati da virgola: -`babel {{percorso/a/directory_input}} --ignore {{file_ignorati}}` +`babel {{percorso/della/directory_input}} --ignore {{file_ignorati}}` - Transpila minimizzando il codice JavaScript in output: -`babel {{percorso/al/file_input}} --minified` +`babel {{percorso/del/file_input}} --minified` - Scegli un insieme di preset per formattare l'output: -`babel {{percorso/al/file_input}} --presets {{preset}}` +`babel {{percorso/del/file_input}} --presets {{preset}}` - Mostra tutte le opzioni disponibili: diff --git a/pages.it/common/badblocks.md b/pages.it/common/badblocks.md index 3d5cf8909b6432..c6c38baab407b1 100644 --- a/pages.it/common/badblocks.md +++ b/pages.it/common/badblocks.md @@ -2,6 +2,7 @@ > Cerca blocchi corrotti in un dispositivo. > Alcuni utilizzi di badblocks possono avere esiti non reversibili, come perdita dei dati o anche della tabella delle partizioni di un disco. +> Maggiori informazioni: . - Cerca blocchi corrotti in un disco utilizzando un test non distruttivo in sola lettura: diff --git a/pages.it/common/banner.md b/pages.it/common/banner.md index c32a14a88fecd0..1c26d05db77ef8 100644 --- a/pages.it/common/banner.md +++ b/pages.it/common/banner.md @@ -1,6 +1,7 @@ # banner > Stampa il testo fornito per argomento come un grande banner in ASCII art. +> Maggiori informazioni: . - Stampa il testo come un grande banner (le virgolette sono opzionali): @@ -8,7 +9,7 @@ - Stampa il testo come un banner con una larghezza di 50 caratteri: -`banner -w {{50}} "{{Hello World}}"` +`banner -w 50 "{{Hello World}}"` - Leggi testo da `stdin`: diff --git a/pages.it/common/base32.md b/pages.it/common/base32.md index 56fca3b769fa6c..fba92c450e2cd1 100644 --- a/pages.it/common/base32.md +++ b/pages.it/common/base32.md @@ -1,14 +1,19 @@ # base32 > Codifica o decodifica file o standard input in Base32 su standard output. +> Maggiori informazioni: . - Codifica un file: -`base32 {{nome_file}}` +`base32 {{percoso/del/file}}` + +- Avvolgi l'output codificato a una larghezza specifica (`0` disabilita l'avvolgimento): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{percoso/del/file}}` - Decodifica un file: -`base32 -d {{nome_file}}` +`base32 {{[-d|--decode]}} {{percoso/del/file}}` - Codifica da `stdin`: @@ -16,4 +21,4 @@ - Decodifica da `stdin`: -`{{comando}} | base32 -d` +`{{comando}} | base32 {{[-d|--decode]}}` diff --git a/pages.it/common/base64.md b/pages.it/common/base64.md index 2a62322b1a64a3..5a21a0d61183c0 100644 --- a/pages.it/common/base64.md +++ b/pages.it/common/base64.md @@ -1,14 +1,19 @@ # base64 > Codifica o decodifica file o standard input in Base64 su standard output. +> Maggiori informazioni: . - Codifica un file: -`base64 {{nome_file}}` +`base64 {{percoso/del/file}}` + +- Avvolgi l'output codificato a una larghezza specifica (`0` disabilita l'avvolgimento): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{percoso/del/file}}` - Decodifica un file: -`base64 -d {{nome_file}}` +`base64 {{[-d|--decode]}} {{percoso/del/file}}` - Codifica da `stdin`: @@ -16,4 +21,4 @@ - Decodifica da `stdin`: -`{{comando}} | base64 -d` +`{{comando}} | base64 {{[-d|--decode]}}` diff --git a/pages.it/common/basename.md b/pages.it/common/basename.md index 61927d1d2675ba..c221314f922770 100644 --- a/pages.it/common/basename.md +++ b/pages.it/common/basename.md @@ -1,11 +1,12 @@ # basename > Restituisce la parte finale un percorso. +> Maggiori informazioni: . - Mostra solo il nome del file da un percorso: -`basename {{percorso/al/file}}` +`basename {{percorso/del/file}}` - Mostra solo il nome di un file da un percorso, rimuovendo un suffisso: -`basename {{percorso/al/file}} {{suffisso}}` +`basename {{percorso/del/file}} {{suffisso}}` diff --git a/pages.it/common/basenc.md b/pages.it/common/basenc.md new file mode 100644 index 00000000000000..3def3f44e938f4 --- /dev/null +++ b/pages.it/common/basenc.md @@ -0,0 +1,20 @@ +# basenc + +> Codifica o decodifica un file o `stdin` usando una codifica specificata, inviando il risultato a `stdout`. +> Maggiori informazioni: . + +- Codifica un file con codifica base64: + +`basenc --base64 {{percorso/del/file}}` + +- Decodifica un file con codifica base64: + +`basenc {{[-d|--decode]}} --base64 {{percorso/del/file}}` + +- Codifica da `stdin` con codifica base32 e 42 colonne: + +`{{comando}} | basenc --base32 {{[-w|--wrap]}} 42` + +- Codifica da `stdin` con codifica base32: + +`{{comando}} | basenc --base32` diff --git a/pages.it/common/bash-it.md b/pages.it/common/bash-it.md new file mode 100644 index 00000000000000..a977a9305a5fa0 --- /dev/null +++ b/pages.it/common/bash-it.md @@ -0,0 +1,32 @@ +# bash-it + +> Una collezione di comandi e script Bash contribuiti dalla community per Bash 3.2+. +> Maggiori informazioni: . + +- Aggiorna Bash-it all’ultima versione stabile/sviluppo: + +`bash-it update {{stable|dev}}` + +- Ricarica il profilo di Bash (impostare `BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE` a un valore non vuoto per un ricaricamento automatico): + +`bash-it reload` + +- Riavvia Bash: + +`bash-it restart` + +- Ricarica il profilo di Bash con log di errori e avvisi abilitati: + +`bash-it doctor` + +- Ricarica il profilo di Bash con log di errori/avvisi/completo abilitati: + +`bash-it doctor {{errors|warnings|all}}` + +- Cerca alias/plugin/completamenti di Bash-it: + +`bash-it search {{alias|plugin|completion}}` + +- Cerca alias/plugin/completamenti di Bash-it ed abilita/disabilita tutti gli elementi trovati: + +`bash-it search --{{enable|disable}} {{alias|plugin|completion}}` diff --git a/pages.it/common/bash.md b/pages.it/common/bash.md index 83fef8dc22876b..0309a216dc2cf8 100644 --- a/pages.it/common/bash.md +++ b/pages.it/common/bash.md @@ -2,7 +2,7 @@ > Bourne-Again SHell. > Interprete da linea di comando compatibile con `sh`. -> Maggiori informazioni: . +> Maggiori informazioni: . - Avvia una shell interattiva: @@ -24,6 +24,6 @@ `bash -s` -- Stampa informazioni sulla versione di bash (usa `echo $BASH_VERSION` per mostrare solo la versione): +- Stampa informazioni sulla versione di Bash (usa `echo $BASH_VERSION` per mostrare solo la versione): `bash --version` diff --git a/pages.it/common/bashmarks.md b/pages.it/common/bashmarks.md index 12ffbb03b0be9b..6ba2b726c2be8e 100644 --- a/pages.it/common/bashmarks.md +++ b/pages.it/common/bashmarks.md @@ -7,15 +7,15 @@ `l` -- Salva la cartella corrente come segnalibro: +- Salva la directory corrente come segnalibro: `s {{nome_segnalibro}}` -- Vai ad una cartella salvata: +- Vai ad una directory salvata: `g {{nome_segnalibro}}` -- Lista i contenuti di una cartella salvata: +- Lista i contenuti di una directory salvata: `p {{nome_segnalibro}}` diff --git a/pages.it/common/bastet.md b/pages.it/common/bastet.md new file mode 100644 index 00000000000000..6a40da48b42aed --- /dev/null +++ b/pages.it/common/bastet.md @@ -0,0 +1,32 @@ +# bastet + +> Clone di Tetris nel Terminale. +> Maggiori informazioni: . + +- Invia un gioco tetris: + +`bastet` + +- Sposta il pezzo a sinistra o a destra: + +`{{|}}` + +- Ruota in senso orario o inverso: + +`{{|}}` + +- Caduta lenta: + +`` + +- Caduta veloce: + +`` + +- Pausa: + +`

` + +- Lasciare il gioco: + +`` diff --git a/pages.it/common/bat.md b/pages.it/common/bat.md index 79a8b5b779c2df..9b11e31f0d4064 100644 --- a/pages.it/common/bat.md +++ b/pages.it/common/bat.md @@ -2,6 +2,7 @@ > Stampa e concatena file. > Un clone di `cat` con syntax highlighting e integrazione Git. +> Maggiori informazioni: . - Stampa i contenuti di un file su standard output: @@ -17,12 +18,12 @@ - Numera tutte le linee stampate: -`bat -n {{file}}` +`bat {{[-n|--number]}} {{file}}` - Evidenzia la sintassi di un file JSON: -`bat --language json {{file.json}}` +`bat {{[-l|--language]}} json {{file.json}}` - Mostra tutti i linguaggi supportati: -`bat --list-languages` +`bat {{[-L|--list-languages]}}` diff --git a/pages.it/common/batch.md b/pages.it/common/batch.md index bfdf36b8488270..f1aee74856c4de 100644 --- a/pages.it/common/batch.md +++ b/pages.it/common/batch.md @@ -2,8 +2,9 @@ > Esegui comandi nel futuro quando il carico di lavoro del sistema lo permette. > Il servizio atd (o atrun) deve essere attivo per eseguire i comandi. +> Maggiori informazioni: . -- Esegui i comandi inseriti standard input (premere `Ctrl + D` dopo aver inserito i comandi): +- Esegui i comandi inseriti standard input (premere `` dopo aver inserito i comandi): `batch` @@ -13,4 +14,4 @@ - Esegui comandi contenuti in un dato file: -`batch -f {{percorso/al/file}}` +`batch -f {{percorso/del/file}}` diff --git a/pages.it/common/bc.md b/pages.it/common/bc.md index 0d60c104436d27..07d228bb9aef14 100644 --- a/pages.it/common/bc.md +++ b/pages.it/common/bc.md @@ -1,6 +1,7 @@ # bc > Calcolatore. +> Maggiori informazioni: . - Esegui in modalità interattiva utilizzando la libreria math della standard library: diff --git a/pages.it/common/beanstalkd.md b/pages.it/common/beanstalkd.md index f21acc9b282af8..54cd12f5c9eabf 100644 --- a/pages.it/common/beanstalkd.md +++ b/pages.it/common/beanstalkd.md @@ -1,7 +1,7 @@ # beanstalkd > Un semplice e generico gestore di code di lavoro. -> Maggiori informazioni: . +> Maggiori informazioni: . - Avvia beanstalkd, ascoltando sulla porta 11300: @@ -13,8 +13,8 @@ - Rendi le code di lavoro persistenti salvandole su disco: -`beanstalkd -b {{percorso/a/directory_persistente}}` +`beanstalkd -b {{percorso/della/directory_persistente}}` -- Sincronizza con una cartella persistente ogni 500 millisecondi: +- Sincronizza con una directory persistente ogni 500 millisecondi: -`beanstalkd -b {{percorso/a/directory_persistente}} -f {{500}}` +`beanstalkd -b {{percorso/della/directory_persistente}} -f {{500}}` diff --git a/pages.it/common/bedtools.md b/pages.it/common/bedtools.md index 25f6e1c89b6669..c946e0ed184e11 100644 --- a/pages.it/common/bedtools.md +++ b/pages.it/common/bedtools.md @@ -1,29 +1,29 @@ # bedtools -> Un coltellino svizzero di strumenti per analisi genomica. +> Un coltellino svizzero di strumenti per una vasta gamma di operazioni di analisi genomica. > Usato per intersecare, raggruppare, convertire e contare dati in formato BAM, BED, GFF/GTF, VCF. -> Maggiori informazioni: . +> Maggiori informazioni: . -- Interseca i fili genetici delle sequenze contenute in due file diversi e salva il risultato: +- Interseca il file [a] ed il/i file [b] in base alla sequenza del filamento [s] e salva il risultato in un file specifico: -`bedtools intersect -a {{percorso/al/file_1}} -b {{percorso/al/file_2}} -s > {{percorso/al/file_output}}` +`bedtools intersect -a {{percorso/del/file_A}} -b {{percorso/del/file_B1 percorso/del/file_B2 ...}} -s > {{percorso/del/file_output}}` -- Interseca due file unendo il risultato a sinistra, ovvero riporta ogni feature da {{file_1}} e NULL dove non c'è sovrapposizione con {{file_2}}: +- Interseca 2 file in base a una [l]eft [o]uter [j]oin ovvero una unione d'insieme di dati ordinati in colonne che restituisce i dati della tabella di sinistra. Es: riporta ogni proprietà presente nel `file1` e NULL dove non c'è sovrapposizione con `file2`: -`bedtools intersect -a {{percorso/al/file_1}} -b {{percorso/al/file_2}} -lof > {{percorso/al/file_output}}` +`bedtools intersect -a {{percorso/del/file1}} -b {{percorso/del/file2}} -loj > {{percorso/del/file_output}}` - Usa un algoritmo più efficiente per intersecare due file precedentemente ordinati: -`bedtools intersect -a {{percorso/al/file_1}} -b {{percorso/al/file_2}} -sorted > {{percorso/al/file_output}}` +`bedtools intersect -a {{percorso/del/file1}} -b {{percorso/del/file2}} -sorted > {{percorso/del/file_output}}` -- Raggruppa file in base alle prime tre e la quinta colonna e raggruppa la sesta colonna sommandola: +- Seleziona in un file le prime tre colonne e la quinta [c]olonna utilizzando la sesta colonna per ra[g]gruppare i dati al fine di poter calcolare tramite un'[o]perazione di addizione la somma delle colonne 1,2,3 e 5 per ciascun gruppo: -`bedtools groupby -i {{percorso/al/file}} -c 1-3,5 -g 6 -o sum` +`bedtools groupby -i {{percorso/del/file}} -c 1-3,5 -g 6 -o sum` -- Converti da formato BAM a BED: +- Converti un file in [i]nput formattato bam in un file formattato bed: -`bedtools bamtobed -i {{percorso/al/file}}.bam > {{percorso/al/file}}.bed` +`bedtools bamtobed -i {{percorso/del/file.bam}} > {{percorso/del/file.bed}}` -- Trova per tutte le proprietà in {{file_1}} la più vicina in {{file_2}} e scrivi la loro distanza in una ulteriore colonna (i file in input devono essere ordinati): +- Trova per tutte le proprietà presenti nel `file1.bed` la più vicina nel `file2.bed` e aggiunge la loro [d]istanza in una ulteriore colonna al risultato finale (i file in input devono essere ordinati): -`bedtools closest -a {{percorso/al/file_1}}.bed -b {{percorso/al/file_2}}.bed -d` +`bedtools closest -a {{percorso/del/file1.bed}} -b {{percorso/del/file2.bed}} -d` diff --git a/pages.it/common/behat.md b/pages.it/common/behat.md index c372b1786a9c58..3b0bee5b32b05e 100644 --- a/pages.it/common/behat.md +++ b/pages.it/common/behat.md @@ -13,7 +13,7 @@ - Esegui tutti i test di una specifica suite: -`behat --suite={{nome_suite}}` +`behat --suite {{nome_suite}}` - Esegui i test con uno specifico formato di output: @@ -21,7 +21,7 @@ - Esegui i testi e scrivi i risultati in un file: -`behat --out {{percorso/a/file}}` +`behat --out {{percorso/del/file}}` - Mostra una lista delle definizioni nelle suite di test: diff --git a/pages.it/common/bg.md b/pages.it/common/bg.md index 12ffb7ef075890..5d2eb02a4e90ce 100644 --- a/pages.it/common/bg.md +++ b/pages.it/common/bg.md @@ -1,6 +1,7 @@ # bg -> Riprende job che sono stati sospesi (e.g. usando `Ctrl + Z`) mettendoli in esecuzione in background. +> Riprende job che sono stati sospesi (e.g. usando ``) mettendoli in esecuzione in background. +> Maggiori informazioni: . - Riprendi il job sospeso più recentemente ed eseguilo in background: @@ -8,4 +9,4 @@ - Riprendi uno specifico job (usa `jobs -l` per trovare l'ID) ed eseguilo in background: -`bg {{id_job}}` +`bg %{{id_job}}` diff --git a/pages.it/common/binwalk.md b/pages.it/common/binwalk.md new file mode 100644 index 00000000000000..afd2d9847c6129 --- /dev/null +++ b/pages.it/common/binwalk.md @@ -0,0 +1,28 @@ +# binwalk + +> Strumento per l'analisi di file binari. +> Maggiori informazioni: . + +- Scansiona un file binario: + +`binwalk {{percorso/del/file}}` + +- Estrae file da un binario, specificando la directory di output: + +`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{directory_di_output}} {{percorso/del/file}}` + +- Estrae file in maniera ricorsiva a partire da un binario, limitando la profondità di ricorsione a 2 livelli: + +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{percorso/del/file}}` + +- Estrae file da un binario utilizzando una particolare firma (ad esempio il MIME Type): + +`binwalk {{[-D|--dd]}} '{{png image:png}}' {{percorso/del/file}}` + +- Analizza l'entropia di un binario e salva il grafico con lo stesso filename del binario, con l'estensione `.png` in fondo: + +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{percorso/del/file}}` + +- Combina analisi di entropia, firme e opcode in un unico comando: + +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{percorso/del/file}}` diff --git a/pages.it/common/bitcoin-cli.md b/pages.it/common/bitcoin-cli.md index 0e4eb9b200212d..0520b71cea2ba7 100644 --- a/pages.it/common/bitcoin-cli.md +++ b/pages.it/common/bitcoin-cli.md @@ -22,4 +22,4 @@ - Esporta le informazioni sul portafogli in un file di testo: -`bitcoin-cli dumpwallet "{{percorso/al/file}}"` +`bitcoin-cli dumpwallet "{{percorso/del/file}}"` diff --git a/pages.it/common/black.md b/pages.it/common/black.md new file mode 100644 index 00000000000000..70e72cb0b7f42d --- /dev/null +++ b/pages.it/common/black.md @@ -0,0 +1,28 @@ +# black + +> Un formattatore automatico di codice Python. +> Maggiori informazioni: . + +- Auto-formatta un file o un'intera directory: + +`black {{percorso/del/file_o_directory}}` + +- Formatta il codice che gli viene passato come stringa: + +`black -c "{{codice}}"` + +- Verifica se i file necessitano di auto-formattazione senza modificare nulla: + +`black --check {{percorso/del/file_o_directory}}` + +- Mostra i cambiamenti che verrebbero applicati a ciascun file: + +`black --diff {{percorso/del/file_o_directory}}` + +- Auto-formatta un file o una directory senza produrre output: + +`black --quiet {{percorso/del/file_o_directory}}` + +- Auto-formatta un file o una directory senza sostituire gli apici con le doppie virgolette: + +`black --skip-string-normalization {{percorso/del/file_o_directory}}` diff --git a/pages.it/common/blackfire.md b/pages.it/common/blackfire.md index 4409394678568f..170fc52275aa65 100644 --- a/pages.it/common/blackfire.md +++ b/pages.it/common/blackfire.md @@ -17,19 +17,19 @@ - Lancia il profiler su uno specifico programma: -`blackfire run {{php percorso/al/file.php}}` +`blackfire run {{php percorso/del/file.php}}` - Lancia il profiler e raccogli 10 campioni: -`blackfire --samples={{10}} run {{php percorso/al/file.php}}` +`blackfire --samples 10 run {{php percorso/del/file.php}}` - Lancia il profiler e mostra i risultati in output come JSON: -`blackfire --json run {{php percorso/al/file.php}}` +`blackfire --json run {{php percorso/del/file.php}}` - Carica un file del profiler sul servizio web di Blackfire: -`blackfire upload {{percorso/al/file}}` +`blackfire upload {{percorso/del/file}}` - Mostra lo stato dei profili sul servizio web di Blackfire: diff --git a/pages.it/common/blender.md b/pages.it/common/blender.md index c53a29601f2150..1de91f99c586a9 100644 --- a/pages.it/common/blender.md +++ b/pages.it/common/blender.md @@ -2,32 +2,32 @@ > Interfaccia da linea di comando per il programma di grafica Blender 3D. > Gli argomenti sono eseguiti nell'ordine in cui sono dati. -> Maggiori informazioni: . +> Maggiori informazioni: . - Renderizza tutti i frame di una animazione in background, senza caricare l'interfaccia grafica (l'output è salvato in `/tmp`): -`blender -b {{nome_file}}.blend -a` +`blender --background {{nome_file.blend}} --render-anim` -- Renderizza un'animazione usando uno specifico pattern, in un percorso relativo (`//`) al file .blend: +- Renderizza un'animazione usando uno specifico pattern, in un percorso relativo (`//`) al file `.blend`: -`blender -b {{nome_file}}.blend -o //{{render/frame_###.png}} -a` +`blender --background {{nome_file.blend}} --render-output //{{render/frame_###.png}} --render-anim` -- Renderizza il decimo frame di un'animazione come singola immagine, salvandolo in una cartella esistente (percorso assoluto): +- Renderizza il decimo frame di un'animazione come singola immagine, salvandolo in una directory esistente (percorso assoluto): -`blender -b {{nome_file}}.blend -o {{/percorso/a/directory_output}} -f {{10}}` +`blender --background {{nome_file.blend}} --render-output {{/percorso/della/directory_output}} --render-frame {{10}}` -- Renderizza il penultimo frame di un'animazione come immagine JPEG, salvandolo in una cartella esistente (path relativa al file): +- Renderizza il penultimo frame di un'animazione come immagine JPEG, salvandolo in una directory esistente (path relativa al file): -`blender -b {{nome_file}}.blend -o //{{directory_output}} -F {{JPEG}} -f {{-2}}` +`blender --background {{nome_file.blend}} --render-output //{{directory_output}} --render-frame {{JPEG}} --render-frame {{-2}}` - Renderizza l'animazione di una specifica scena, dal frame 10 al 500: -`blender -b {{nome_file}}.blend -S {{nome_scena}} -s {{10}} -e {{500}} -a` +`blender --background {{nome_file.blend}} --scene {{nome_scena}} --frame-start {{10}} --frame-end {{500}} --render-anim` - Renderizza un'animazione ad una specifica risoluzione, attraverso l'utilizzo di uno script python: -`blender -b {{nome_file}}.blend --python-expr '{{import bpy; bpy.data.scenes[0].render.resolution_percentage = 25}}' -a` +`blender --background {{nome_file.blend}} --python-expr '{{import bpy; bpy.data.scenes[0].render.resolution_percentage = 25}}' --render-anim` - Avvia una sessione interattiva di Blender nel terminale con una console python (esegui `import bpy` dopo l'avvio): -`blender -b --python-console` +`blender --background --python-console` diff --git a/pages.it/common/boot.md b/pages.it/common/boot.md index f3e90d00fd435b..379d8c389b19d9 100644 --- a/pages.it/common/boot.md +++ b/pages.it/common/boot.md @@ -1,28 +1,28 @@ # boot -> Strumenti di build per il linguaggio di programmazione Clojure. +> Strumenti di implementazione per il linguaggio di programmazione Clojure. > Maggiori informazioni: . -- Avvia una sessione REPL con il progetto o da sola: +- Avvia una sessione REPL con il progetto o autonomamente (standalone): `boot repl` -- Builda un singolo "uberjar": +- Implementa un singolo `uberjar`: `boot jar` -- Mostra aiuto per un comando: +- Genera lo scheletro di un nuovo progetto basato su un modello di codice esistente: -`boot cljs --help` +`boot --dependencies boot/new new --template {{nome_del_modello}} --name {{nome_del_progetto}}` -- Genera le fondamenta per un nuovo progetto basandoti su una template: - -`boot --dependencies boot/new new --template {{nome_template}} --name {{nome_progetto}}` - -- Builda per development (se si sta utilizzando il template boot/new): +- Implementa l'ambiente di sviluppo (se si sta utilizzando il modello di codice boot/new): `boot dev` -- BUilda per produzione (se si sta utilizzando il template boot/new): +- Implementa l'ambiente di produzione (se si sta utilizzando il modello di codice boot/new): `boot prod` + +- Mostra la descrizione di uno specifico comando: + +`boot {{task}} --help` diff --git a/pages.it/common/borg.md b/pages.it/common/borg.md index ba598f35fb3307..bdc4108fb119ec 100644 --- a/pages.it/common/borg.md +++ b/pages.it/common/borg.md @@ -6,27 +6,27 @@ - Inizializza una repository (locale): -`borg init {{/percorso/a/repo_o_directory}}` +`borg init {{/percorso/del/repo_o_directory}}` - Esegui il backup di una directory nella repository, creando un archivio chiamato "Lunedi": -`borg create --progress {{/percorso/a/repo_o_directory}}::{{Lunedi}} {{/percorso/a/directory_sorgente}}` +`borg create --progress {{/percorso/del/repo_o_directory}}::{{Lunedi}} {{/percorso/della/directory_sorgente}}` - Lista tutti gli archivi in una repository: -`borg list {{/percorso/a/repo_o_directory}}` +`borg list {{/percorso/del/repo_o_directory}}` -- Estrai una specifica directory dall'archivio "Lunedi" in una repository remota, escludendo tutti i file .ext: +- Estrai una specifica directory dall'archivio "Lunedi" in una repository remota, escludendo tutti i file `.ext`: -`borg extract {{utente}}@{{host}}:{{/percorso/a/repo_o_directory}}::{{Lunedi}} {{percorso/a/cartella_destinazione}} --exclude '{{*.ext}}'` +`borg extract {{utente}}@{{host}}:{{/percorso/del/repo_o_directory}}::{{Lunedi}} {{percorso/della/directory_destinazione}} --exclude '{{*.ext}}'` - Riduci una repository eliminando tutti gli archivi più vecchi di 7 giorni, elencando i cambiamenti: -`borg prune --keep-within {{7d}} --list {{/percorso/a/repo_o_directory}}` +`borg prune --keep-within {{7d}} --list {{/percorso/del/repo_o_directory}}` - Monta una repository come filesystem FUSE: -`borg mount {{/percorso/a/repo_o_directory}}::{{Lunedi}} {{/percorso/a/mountpoint}}` +`borg mount {{/percorso/del/repo_o_directory}}::{{Lunedi}} {{/percorso/del/mountpoint}}` - Mostra aiuto sul come creare archivi: diff --git a/pages.it/common/bosh.md b/pages.it/common/bosh.md index f414906641537c..957955f9c5a0dd 100644 --- a/pages.it/common/bosh.md +++ b/pages.it/common/bosh.md @@ -13,7 +13,7 @@ - Esegui il login al director: -`bosh login -e {{ambiente}} ` +`bosh login -e {{ambiente}}` - Elenca deployment (distribuzioni): diff --git a/pages.it/common/bower.md b/pages.it/common/bower.md index 0d36ba75d4181a..f83788b15816f3 100644 --- a/pages.it/common/bower.md +++ b/pages.it/common/bower.md @@ -4,30 +4,30 @@ > Un pacchetto può essere una abbreviazione utente/repo GitHub, un endpoint Git, un URL o un pacchetto registrato. > Maggiori informazioni: . -- Installa le dipendenze di un progetto, listate nel suo file bower.json: +- Installa le dipendenze di un progetto, listate nel suo file `bower.json`: `bower install` - Installa pacchetti nella directory bower_components: -`bower install {{pacchetto1}} {{pacchetto2}} ...` +`bower install {{pacchetto}} {{pacchetto}}` - Disinstalla pacchetti localmente rimuovendolo dalla directory bower_components: -`bower uninstall {{pacchetto1}} {{pacchetto2}}` +`bower uninstall {{pacchetto}} {{pacchetto}}` - Elenca pacchetti locali e possibili aggiornamenti: `bower list` -- Mostra aiuto per un comando di bower: - -`bower help {{comando}}` - - Crea un file bower.json per i tuoi pacchetti: `bower init` -- Installa unoa specifica versione di una dipendenza ed aggiungila al file bower.json: +- Installa unoa specifica versione di una dipendenza ed aggiungila al file `bower.json`: `bower install {{nome_locale}}={{pacchetto}}#{{versione}} --save` + +- Mostra aiuto per un comando di bower: + +`bower help {{comando}}` diff --git a/pages.it/common/box.md b/pages.it/common/box.md index edab0b26ead39c..6bceccf9efc7a6 100644 --- a/pages.it/common/box.md +++ b/pages.it/common/box.md @@ -1,15 +1,15 @@ # box > Una applicazione PHP per creare e gestire Phars. -> Maggiori informazioni: . +> Maggiori informazioni: . - Crea un nuovo file Phar: -`box build` +`box compile` - Crea un nuovo file Phar usando uno specifico file di configurazione: -`box build -c {{percorso/a/configurazione}}` +`box compile -c {{percorso/della/configurazione}}` - Mostra informazioni sulla estensione PHP PHAR: @@ -17,7 +17,7 @@ - Mostra informazioni su di uno specifico file Phar: -`box info {{percorso/a/file_phar}}` +`box info {{percorso/del/file_phar}}` - Valida il primo file di configurazione trovato nella directory corrente: @@ -25,7 +25,7 @@ - Verifica la firma di uno specifico file Phar: -`box verify {{percorso/a/file_phar}}` +`box verify {{percorso/del/file_phar}}` - Mostra tutti i comandi ed opzioni disponibili: diff --git a/pages.it/common/brew-bundle.md b/pages.it/common/brew-bundle.md new file mode 100644 index 00000000000000..79c63940efa60a --- /dev/null +++ b/pages.it/common/brew-bundle.md @@ -0,0 +1,28 @@ +# brew bundle + +> Bundler per Homebrew, Homebrew Cask e per il Mac App Store. +> Maggiori informazioni: . + +- Installa un pacchetto da un Brewfile nel percorso corrente: + +`brew bundle` + +- Installa pacchetti da un Brewfile specifico in un percorso specifico: + +`brew bundle --file {{percorso/del/file}}` + +- Crea un Brewfile con tutti i pacchetti installati: + +`brew bundle dump` + +- Disinstalla tutti i pacchetti non specificati nel Brewfile: + +`brew bundle cleanup --force` + +- Controlla se c'è qualcosa da installare o da aggiornare nel Brewfile: + +`brew bundle check` + +- Mostra una lista di tutte le righe presenti nel Brewfile: + +`brew bundle list --all` diff --git a/pages.it/common/brew.md b/pages.it/common/brew.md new file mode 100644 index 00000000000000..71fff185925dd1 --- /dev/null +++ b/pages.it/common/brew.md @@ -0,0 +1,32 @@ +# brew + +> Gestore di pacchetti per macOS. +> Maggiori informazioni: . + +- Installa l'ultima versione stabile di una formula: + +`brew install {{formula|cask}}` + +- Mostra tutte le formule installate: + +`brew list` + +- Aggiorna una formula installata (se non viene fornito il nome di nessuna formula, tutte le formule installate verranno aggiornate): + +`brew upgrade {{formula|cask}}` + +- Trova la versione più aggiornata di Homebrew e di tutte le formule da GitHub: + +`brew update` + +- Cerca formule e cask: + +`brew search {{testo}}` + +- Mostra le informazioni su una specifica formula (versione, percorso di installazione, dipendenze, ecc...): + +`brew info {{formula|cask}}` + +- Verifica se la versione installata di Homebrew presenta dei problemi: + +`brew doctor` diff --git a/pages.it/common/browser-sync.md b/pages.it/common/browser-sync.md index c269cea5f7090c..03abba45b2a29c 100644 --- a/pages.it/common/browser-sync.md +++ b/pages.it/common/browser-sync.md @@ -5,11 +5,11 @@ - Avvia un server da una specifica directory: -`browser-sync start --server {{percorso/a/directory}} --files {{percorso/a/directory}}` +`browser-sync start --server {{percorso/della/directory}} --files {{percorso/della/directory}}` - Avvia un server da una directory locale, monitorando tutti i file CSS: -`browser-sync start --server --files '{{percorso/a/directory/*.css}}'` +`browser-sync start --server --files '{{percorso/della/directory/*.css}}'` - Crea un file di configurazione: diff --git a/pages.it/common/bundle.md b/pages.it/common/bundle.md index 360447bba126cb..1a4a3846de99de 100644 --- a/pages.it/common/bundle.md +++ b/pages.it/common/bundle.md @@ -7,7 +7,7 @@ `bundle install` -- Aggiorna tutte le gem secondo le regole definite nel gemfile e genera un gemfile.lock: +- Aggiorna tutte le gem secondo le regole definite nel gemfile e genera un `gemfile.lock`: `bundle update` diff --git a/pages.it/common/bup.md b/pages.it/common/bup.md index 2cbffc283a47f3..91086897dc613b 100644 --- a/pages.it/common/bup.md +++ b/pages.it/common/bup.md @@ -5,20 +5,20 @@ - Inizializza una repository di backup nella directory locale specificata: -`bup -d {{percorso/a/repository}} init` +`bup -d {{percorso/della/repository}} init` -- Prepara una certa cartella prima di fare un backup: +- Prepara una certa directory prima di fare un backup: -`bup -d {{percorso/a/repository}} index {{percorso/a/directory}}` +`bup -d {{percorso/della/repository}} index {{percorso/della/directory}}` -- Esegui il backup di una cartella in una repository locale: +- Esegui il backup di una directory in una repository locale: -`bup -d {{percorso/a/repository}} save -n {{nome_backup}} {{percorso/a/directory}}` +`bup -d {{percorso/della/repository}} save -n {{nome_backup}} {{percorso/della/directory}}` - Elenca i di backup attualmente nella repository: -`bup -d {{percorso/a/repository}} ls` +`bup -d {{percorso/della/repository}} ls` -- Ripristina uno specifico backup in una determinata cartella locale: +- Ripristina uno specifico backup in una determinata directory locale: -`bup -d {{percorso/a/repository}} restore -C {{percorso/a/destinazione}} {{nome_backup}}` +`bup -d {{percorso/della/repository}} restore -C {{percorso/della/destinazione}} {{nome_backup}}` diff --git a/pages.it/common/bw.md b/pages.it/common/bw.md index 86ebca00ec1369..f94ca578ebb7e8 100644 --- a/pages.it/common/bw.md +++ b/pages.it/common/bw.md @@ -19,6 +19,6 @@ `bw get item {{github}}` -- Crea una cartella in un vault bitwarden: +- Crea una directory in un vault bitwarden: -`{{echo -n '{"name":"Nome cartella"}' | base64}} | bw create folder` +`{{echo -n '{"name":"Nome directory"}' | base64}} | bw create folder` diff --git a/pages.it/common/bzip2.md b/pages.it/common/bzip2.md index 730746b4065f0b..c829b64b899907 100644 --- a/pages.it/common/bzip2.md +++ b/pages.it/common/bzip2.md @@ -1,16 +1,16 @@ # bzip2 > Compressore di file a blocchi ordinati. -> Maggiori informazioni: . +> Maggiori informazioni: . - Comprimi un file: -`bzip2 {{percorso/al/file}}` +`bzip2 {{percorso/del/file}}` - Decomprimi un file: -`bzip2 -d {{percorso/al/file_compresso.bz2}}` +`bzip2 -d {{percorso/del/file_compresso.bz2}}` - Decomprimi un file e mostrane il contenuto su standard output: -`bzip2 -dc {{percorso/al/file_compresso.bz2}}` +`bzip2 -dc {{percorso/del/file_compresso.bz2}}` diff --git a/pages.it/common/c99.md b/pages.it/common/c99.md index 93e7154094ac55..993b629f3e5b0a 100644 --- a/pages.it/common/c99.md +++ b/pages.it/common/c99.md @@ -1,6 +1,7 @@ # c99 > Compila programmi C secondo lo standard ISO C. +> Maggiori informazioni: . - Compila file sorgente/i e crea un eseguibile: diff --git a/pages.it/common/cabal.md b/pages.it/common/cabal.md index 2d72a329689ee8..37cff90d942088 100644 --- a/pages.it/common/cabal.md +++ b/pages.it/common/cabal.md @@ -2,7 +2,7 @@ > Interfaccia da linea di comando per l'infrastruttura di compilazione di Haskell (Cabal). > Gestisce progetti Haskell e pacchetti Cabal dal repository di pacchetti Hackage. -> Maggiori informazioni: . +> Maggiori informazioni: . - Cerca ed elenca pacchetti da Hackage: diff --git a/pages.it/common/calibre-server.md b/pages.it/common/calibre-server.md index df0cb09c986cd5..b74677d21bde39 100644 --- a/pages.it/common/calibre-server.md +++ b/pages.it/common/calibre-server.md @@ -1,15 +1,15 @@ # calibre-server -> Un'applicazione server che può essere usata per distribuire ebook in una rete. -> Gli ebook devono prima essere importati nella libreria usando la GUI o calibredb. -> Parte del manager di ebook Calibre. +> Un'applicazione server che può essere usata per distribuire e-book in una rete. +> Gli e-book devono prima essere importati nella libreria usando la GUI o calibredb. +> Parte del manager di e-book Calibre. > Maggiori informazioni: . -- Avvia un server per distribuire ebook. Accesso a http://localhost:8080: +- Avvia un server per distribuire e-book. Accesso a : `calibre-server` -- Avvia il server su una specifica porta. Accesso a http://localhost:porta: +- Avvia il server su una specifica porta. Accesso a : `calibre-server --port {{porta}}` diff --git a/pages.it/common/calibredb.md b/pages.it/common/calibredb.md index bd5ac6b0873e14..2a0833e990710f 100644 --- a/pages.it/common/calibredb.md +++ b/pages.it/common/calibredb.md @@ -1,25 +1,29 @@ # calibredb -> Strumentoi per gestire il tuo database di ebook. -> Parte del manager di ebook Calibre. +> Strumentoi per gestire il tuo database di e-book. +> Parte del manager di e-book Calibre. > Maggiori informazioni: . -- Elenca gli ebook nella libreria con informazioni aggiuntive: +- Elenca gli e-book nella libreria con informazioni aggiuntive: `calibredb list` -- Cerca tra gli ebook mostrando informazioni aggiuntive: +- Cerca tra gli e-book mostrando informazioni aggiuntive: `calibredb list --search {{termine_di_ricerca}}` -- Cerca mostrando solamente gli ID degli ebook: +- Cerca mostrando solamente gli ID degli e-book: `calibredb search {{termine_di_ricerca}}` -- Aggiungi uno o più ebook alla libreria: +- Aggiungi uno o più e-book alla libreria: -`calibredb add {{file1 file2 …}}` +`calibredb add {{percoso/del/file1 percoso/del/file2 ...}}` -- Rimuovi uno o più ebook dalla libreria. Sono necessari gli ID (vedi sopra): +- Aggiungere ricorsivamente tutti gli e-book in una directory alla libreria: -`calibredb remove {{id1 id2 …}}` +`calibredb add {{[-r|--recurse]}} {{percoso/della/directory}}` + +- Rimuovi uno o più e-book dalla libreria. Sono necessari gli ID (vedi sopra): + +`calibredb remove {{id1 id2 ...}}` diff --git a/pages.it/common/cargo.md b/pages.it/common/cargo.md index d9ae80c427c066..c450eab07101fb 100644 --- a/pages.it/common/cargo.md +++ b/pages.it/common/cargo.md @@ -2,7 +2,8 @@ > Gestore di pacchetti di Rust. > Gestisce progetti Rust ed i moduli dai quali sono dipendenti (detti crate). -> Maggiori informazioni: . +> Alcuni comandi aggiuntivi, come `build`, hanno la propria documentazione. +> Maggiori informazioni: . - Cerca una crate: @@ -22,12 +23,12 @@ - Crea un nuovo progetto Rust binario o di libreria nella directory specificata: -`cargo new {{path/a/directory}} --{{bin|lib}}` +`cargo new {{percorso/della/directory}} --{{bin|lib}}` -- Builda il progetto Rust nella cartella corrente: +- Builda il progetto Rust nella directory corrente: -`cargo build` +`cargo {{[b|build]}}` - Builda utilizzando più job (thread) paralleli: -`cargo build -j {{numero_job}}` +`cargo {{[b|build]}} --jobs {{numero_job}}` diff --git a/pages.it/common/case.md b/pages.it/common/case.md index 887d4a031ece6b..558605a3a4c7cb 100644 --- a/pages.it/common/case.md +++ b/pages.it/common/case.md @@ -1,6 +1,7 @@ # case > Esegui branch diversi in base al valore di un'espressione. +> Maggiori informazioni: . - Esegui il match di una variabile su diverse stringhe per decidere che comando eseguire: diff --git a/pages.it/common/cat.md b/pages.it/common/cat.md index e336de8aee6422..115ccf62ace61c 100644 --- a/pages.it/common/cat.md +++ b/pages.it/common/cat.md @@ -1,6 +1,7 @@ # cat > Stampa e concatena file. +> Maggiori informazioni: . - Stampa i contenuti di un file su standard output: diff --git a/pages.it/common/cd.md b/pages.it/common/cd.md index 1ea4a11e307c36..9e5d87f111e33a 100644 --- a/pages.it/common/cd.md +++ b/pages.it/common/cd.md @@ -1,10 +1,11 @@ # cd > Cambia la directory corrente. +> Maggiori informazioni: . - Vai alla directory specificata: -`cd {{percorso/a/directory}}` +`cd {{percorso/della/directory}}` - Vai alla directory home dell'utente corrente: diff --git a/pages.it/common/chcon.md b/pages.it/common/chcon.md deleted file mode 100644 index 304b8341f88948..00000000000000 --- a/pages.it/common/chcon.md +++ /dev/null @@ -1,31 +0,0 @@ -# chcon - -> Cambia contesto di sicurezza SELinux di file o directory. - -- Mostra il contesto di sicurezza di un file: - -`ls -lZ {{percorso/al/file}}` - -- Cambia il contesto di sicurezza di un file usandone un'altro come riferimento: - -`chcon --reference={{file_di_riferimento}} {{file}}` - -- Cambia l'intero contesto di sicurezza SELinux di un file: - -`chcon {{utente}}:{{ruolo}}:{{tipo}}:{{range/livello}} {{file}}` - -- Cambia solo l'utente di un contesto di sicurezza SELinux: - -`chcon -u {{utente}} {{file}}` - -- Cambia solo il ruolo di un contesto di sicurezza SELinux: - -`chcon -r {{ruolo}} {{file}}` - -- Cambia solo il tipo di un contesto di sicurezza SELinux: - -`chcon -t {{tipo}} {{file}}` - -- Cambia solo il range/livello di un contesto di sicurezza SELinux: - -`chcon -l {{range/livello}} {{file}}` diff --git a/pages.it/common/chgrp.md b/pages.it/common/chgrp.md index 898e3007e0336c..f688dcf618f553 100644 --- a/pages.it/common/chgrp.md +++ b/pages.it/common/chgrp.md @@ -1,19 +1,20 @@ # chgrp > Cambia il gruppo proprietario di file e directory. +> Maggiori informazioni: . - Cambia il gruppo proprietario di un file/directory: -`chgrp {{gruppo}} {{percorso/al/file}}` +`chgrp {{gruppo}} {{percorso/del/file}}` - Cambia ricorsivamente il gruppo proprietario di una directory e dei suoi contenuti: -`chgrp -R {{gruppo}} {{percorso/a/directory}}` +`chgrp {{[-R|--recursive]}} {{gruppo}} {{percorso/della/directory}}` - Cambia il gruppo proprietario di un link simbolico: -`chgrp -h {{gruppo}} {{path/to/symlink}}` +`chgrp {{[-h|--no-dereference]}} {{gruppo}} {{percorso/del/symlink}}` - Cambia il gruppo proprietario di un file/directory rendendolo uguale a quello di un altro file di riferimento: -`chgrp --reference={{percorso/al/file_riferimento}} {{percorso/al/file}}` +`chgrp --reference {{percorso/del/file_riferimento}} {{percorso/del/file}}` diff --git a/pages.it/common/chmod.md b/pages.it/common/chmod.md index fea0edfe1e49a7..6e753f42b46065 100644 --- a/pages.it/common/chmod.md +++ b/pages.it/common/chmod.md @@ -1,27 +1,28 @@ # chmod > Cambia i permessi di accesso di file o directory. +> Maggiori informazioni: . - Dai il permesso di eseguire (x) un file al suo proprietario (u): -`chmod u+x {{percorso/al/file}}` +`chmod u+x {{percorso/del/file}}` - Dai permessi di lettura (r) e scrittura (w) per un file/directory al suo proprietario: -`chmod u+rw {{percorso/a/file_o_directory}}` +`chmod u+rw {{percorso/del/file_o_directory}}` - Rimuovi i permessi di esecuzione al [g]ruppo proprietario del file: -`chmod g-x {{percorso/al/file}}` +`chmod g-x {{percorso/del/file}}` - Dai a tutti gli utenti (a) diritti di lettura ed esecuzione: -`chmod a+rx {{percorso/al/file}}` +`chmod a+rx {{percorso/del/file}}` - Dai ad altri utenti (non nel gruppo proprietario) gli stessi diritti del gruppo: -`chmod o=g {{percorso/al/file}}` +`chmod o=g {{percorso/del/file}}` - Cambia permessi ricorsivamente dando al [g]ruppo e agli altri utenti (o) diritto di scrittura: -`chmod -R g+w,o+w {{percorso/alla/directory}}` +`chmod {{[-R|--recursive]}} g+w,o+w {{percorso/della/directory}}` diff --git a/pages.it/common/chown.md b/pages.it/common/chown.md index daff738b0edd69..ffa2682892116a 100644 --- a/pages.it/common/chown.md +++ b/pages.it/common/chown.md @@ -1,23 +1,24 @@ # chown > Cambia utente e gruppo proprietario di file e directory. +> Maggiori informazioni: . - Cambia l'utente proprietario di un file/directory: -`chown {{utente}} {{percorso/a/file_o_directory}}` +`chown {{utente}} {{percorso/del/file_o_directory}}` - Cambia utente e gruppo proprietari di un file/directory: -`chown {{utente}}:{{gruppo}} {{percorso/a/file_o_directory}}` +`chown {{utente}}:{{gruppo}} {{percorso/del/file_o_directory}}` -- Cambia ricorsivamente il proprietario di una cartella ed i suoi contenuti: +- Cambia ricorsivamente il proprietario di una directory ed i suoi contenuti: -`chown -R {{utente}} {{percorso/alla/directory}}` +`chown {{[-R|--recursive]}} {{utente}} {{percorso/della/directory}}` - Cambia il proprietario di un link simbolico: -`chown -h {{utente}} {{percorso/al/link_simbolico}}` +`chown {{[-h|--no-dereference]}} {{utente}} {{percorso/del/link_simbolico}}` - Cambia il proprietario di un file/directory rendendolo uguale a quello di un altro file di riferimento: -`chown --reference={{percorso/al/file_riferimento}} {{percorso/a/file_o_directory}}` +`chown --reference {{percorso/del/file_riferimento}} {{percorso/del/file_o_directory}}` diff --git a/pages.it/common/chromium.md b/pages.it/common/chromium.md index 267a8ee68c5669..89e772ea0ad758 100644 --- a/pages.it/common/chromium.md +++ b/pages.it/common/chromium.md @@ -1,11 +1,11 @@ # chromium > Browser web open-source di Google. -> Maggiori informazioni: . +> Maggiori informazioni: . - Apri un file: -`chromium {{percorso/al/file.html}}` +`chromium {{percorso/del/file.html}}` - Apri un URL: diff --git a/pages.it/common/chroot.md b/pages.it/common/chroot.md index b5c843578ab725..b622f47d2768ca 100644 --- a/pages.it/common/chroot.md +++ b/pages.it/common/chroot.md @@ -1,10 +1,11 @@ # chroot -> Esegui un comando o una shell interattiva con una speciale root directory. +> Esegui un comando o una shell interattiva con una speciale directory root. +> Maggiori informazioni: . -- Esegui un comando con una diversa root directory: +- Esegui un comando con una diversa directory root: -`chroot {{/percorso/alla/nuova/root}} {{comando}}` +`chroot {{/percorso/della/nuova/root}} {{comando}}` - Specifica utente e gruppo (ID o nome) da usare: diff --git a/pages.it/common/chsh.md b/pages.it/common/chsh.md deleted file mode 100644 index b7eb576b42e505..00000000000000 --- a/pages.it/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> Cambia shell di login dell'utente. - -- Cambia shell: - -`chsh -s {{percorso/a/eseguibile_della_shell}} {{nome_utente}}` diff --git a/pages.it/common/cksum.md b/pages.it/common/cksum.md index 6234d388ad5caf..080684039a4181 100644 --- a/pages.it/common/cksum.md +++ b/pages.it/common/cksum.md @@ -2,7 +2,8 @@ > Calcola checksum CRC e conta i byte di un file. > Nota: in vecchi sistemi UNIX l'implementazione di CRC potrebbe essere diversa. +> Maggiori informazioni: . - Calcola e mostra un checksum di 32 bit, dimensione in byte e nome del file: -`cksum {{percorso/al/file}}` +`cksum {{percorso/del/file}}` diff --git a/pages.it/common/clamscan.md b/pages.it/common/clamscan.md index 13c11dbf91e5c2..3a6bb469bc7fcf 100644 --- a/pages.it/common/clamscan.md +++ b/pages.it/common/clamscan.md @@ -1,15 +1,15 @@ # clamscan > Scanner antivirus da linea di comando. -> Maggiori informazioni: . +> Maggiori informazioni: . - Analizza un file cercando vulnerabilità: -`clamscan {{percorso/al/file}}` +`clamscan {{percorso/del/file}}` - Analizza ricorsivamente tutti i file in una specifica directory: -`clamscan -r {{percorso/alla/directory}}` +`clamscan -r {{percorso/della/directory}}` - Analizza dati da standard input: @@ -17,7 +17,7 @@ - Specifica un file o directory di file da usare come database virus: -`clamscan --database {{percorso/a/file_o_directory}}` +`clamscan --database {{percorso/del/file_o_directory}}` - Analizza la directory corrente e mostra in output solo i file infetti: @@ -25,11 +25,11 @@ - Scrivi il risultato di uno scan in un file di log: -`clamscan --log {{percorso/a/file_log}}` +`clamscan --log {{percorso/del/file_log}}` - Sposta i file infetti in una specifica directory: -`clamscan --move {{percorso/a/directory_quarantena}}` +`clamscan --move {{percorso/della/directory_quarantena}}` - Elimina i file infetti: diff --git a/pages.it/common/clang-cpp.md b/pages.it/common/clang-cpp.md new file mode 100644 index 00000000000000..1a812ddb166308 --- /dev/null +++ b/pages.it/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Questo comando è un alias per `clang++`. + +- Consulta la documentazione del comando originale: + +`tldr clang++` diff --git a/pages.it/common/clang.md b/pages.it/common/clang.md index 6ca24c5872a5d0..e2464db51ef44f 100644 --- a/pages.it/common/clang.md +++ b/pages.it/common/clang.md @@ -5,16 +5,16 @@ - Compila un file sorgente in un binario eseguibile: -`clang {{sorgente_input.c}} -o {{eseguibile_output}}` +`clang {{sorgente_input.c}} {{[-o|--output]}} {{eseguibile_output}}` - Attiva l'output di tutti gli errori ed i warning: -`clang {{sorgente_input.c}} -Wall -o {{eseguibile_output}}` +`clang {{sorgente_input.c}} -Wall {{[-o|--output]}} {{eseguibile_output}}` - Includi librerie contenute in un percorso differente da quello del file di sorgente: -`clang {{sorgente_input.c}} -o {{eseguibile_output}} -I{{percorso_header}} -L{{percorso_librerie}} -l{{nome_libreria}}` +`clang {{sorgente_input.c}} {{[-o|--output]}} {{eseguibile_output}} -I{{percorso_header}} -L{{percorso_librerie}} -l{{nome_libreria}}` - Compila codice sorgente in IR LLVM (Intermediate Representation): -`clang -S -emit-llvm {{file.c}} -o {{file.ll}}` +`clang {{[-S|--assemble]}} -emit-llvm {{file.c}} {{[-o|--output]}} {{file.ll}}` diff --git a/pages.it/common/clear.md b/pages.it/common/clear.md index 9ea6ec9f38cf91..4cef30e3d2e962 100644 --- a/pages.it/common/clear.md +++ b/pages.it/common/clear.md @@ -1,7 +1,8 @@ # clear > Pulisce lo schermo del terminale. +> Maggiori informazioni: . -- Pulisci lo schermo (equivalente a Control+L se si utilizza la shell bash): +- Pulisci lo schermo (equivalente a `` se si utilizza la shell Bash): `clear` diff --git a/pages.it/common/clementine.md b/pages.it/common/clementine.md index a75c4fd5d98bc8..c3341f86759974 100644 --- a/pages.it/common/clementine.md +++ b/pages.it/common/clementine.md @@ -1,17 +1,17 @@ # clementine > Un moderno player e gestore di librerie musicali. -> Maggiori informazioni: . +> Maggiori informazioni: . -- Apri Clementine: +- Avvia l'interfaccia grafica oppure lo mette in evidenza: `clementine` - Avvia la riproduzione di un file musicale: -`clementine {{URL|percorso/a/file}}` +`clementine {{url|percorso/del/file/music.ext}}` -- Pausa o riprendi la riproduzione: +- Pausa o riprende la riproduzione: `clementine --play-pause` @@ -19,18 +19,18 @@ `clementine --stop` -- Passa alla prossima traccia: +- Passa alla traccia successiva o precedente: -`clementine --next` +`clementine --{{next|previous}}` -- Passa alla traccia precedente: +- Crea una nuova playlist con uno o più file musicali oppure URL: -`clementine --previous` +`clementine --create {{url1 url2 ... | percorso/del/file/music1.ext percorso/del/file/music2.ext ...}}` -- Carica un file playlist: +- Carica una playlist: -`clementine --load {{percorso/a/file_playlist}}` +`clementine --load {{percorso/del/file/playlist.ext}}` -- Riproduci la quinta traccia nella playlist attualmente caricata: +- Riproduce una specifica traccia nella playlist caricata: `clementine --play-track {{5}}` diff --git a/pages.it/common/cloc.md b/pages.it/common/cloc.md index f0ab505a3cf006..d7ad734f14a2ae 100644 --- a/pages.it/common/cloc.md +++ b/pages.it/common/cloc.md @@ -5,12 +5,12 @@ - Conta tutte le linee di codice in una directory: -`cloc {{percorso/alla/directory}}` +`cloc {{percorso/della/directory}}` - Conta tutte le linee di codice in una directory, mostrando una barra di avanzamento durante l'operazione: -`cloc --progress=1 {{percorso/alla/directory}}` +`cloc --progress=1 {{percorso/della/directory}}` - Compara i file sorgente in 2 diverse directory e conta le differenze tra di essi: -`cloc --diff {{percorso/a/directory1}} {{percorso/a/directory2}}` +`cloc --diff {{percorso/della/directory1}} {{percorso/della/directory2}}` diff --git a/pages.it/common/clockwork-cli.md b/pages.it/common/clockwork-cli.md index a11ca1ada2f67e..b8e057199d12ab 100644 --- a/pages.it/common/clockwork-cli.md +++ b/pages.it/common/clockwork-cli.md @@ -9,8 +9,8 @@ - Monitora i log di Clockwork per uno specifico progetto: -`clockwork-cli {{percorso/a/directory_progetto}}` +`clockwork-cli {{percorso/della/directory_progetto}}` - Monitora i log di Clockwork per più progetti: -`clockwork-cli {{percorso/a/directory1 percorso/a/directory2 …}}` +`clockwork-cli {{percorso/della/directory1 percorso/della/directory2 ...}}` diff --git a/pages.it/common/clojure.md b/pages.it/common/clojure.md new file mode 100644 index 00000000000000..4bda9c1a75a627 --- /dev/null +++ b/pages.it/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Questo comando è un alias per `clj`. + +- Consulta la documentazione del comando originale: + +`tldr clj` diff --git a/pages.it/common/cmake.md b/pages.it/common/cmake.md index f6f97bf658d518..15920ce4970eba 100644 --- a/pages.it/common/cmake.md +++ b/pages.it/common/cmake.md @@ -2,7 +2,7 @@ > Generatore di ambienti di compilazione multipiattaforma. > Genera Makefile, progetti Visual Studio o altro, in base al sistema operativo. -> Maggiori informazioni: . +> Maggiori informazioni: . - Genera un Makefile ed usalo per compilare un progetto nella stessa directory dei sorgenti: diff --git a/pages.it/common/cmark.md b/pages.it/common/cmark.md index f2c6b10633f10f..08e9b376b5b83c 100644 --- a/pages.it/common/cmark.md +++ b/pages.it/common/cmark.md @@ -7,7 +7,7 @@ `cmark --to html {{file.md}}` -- Converti in latex da standard input: +- Converti in LaTeX da standard input: `cmark --to latex` @@ -15,6 +15,6 @@ `cmark --smart --to html {{file.md}}` -- Converti validando i caratteri UTF8: +- Converti validando i caratteri UTF-8: `cmark --validate-utf8 {{file.md}}` diff --git a/pages.it/common/cmatrix.md b/pages.it/common/cmatrix.md new file mode 100644 index 00000000000000..aa73bfcd55dade --- /dev/null +++ b/pages.it/common/cmatrix.md @@ -0,0 +1,20 @@ +# cmatrix + +> Genera lettere che cadono, come in Matrix. +> Maggiori informazioni: . + +- Attivare lo scorrimento asincrono: + +`cmatrix -a` + +- Rendi le lettere rosse: + +`cmatrix -C {{red}}` + +- Cambia colore a arcobaleno: + +`cmatrix -r` + +- Imposta il dilazione di aggiornamento a 100 centisecondi (10 secondi): + +`cmatrix -u 100` diff --git a/pages.it/common/cmp.md b/pages.it/common/cmp.md index e114f8e8dbb5bb..59d47981c32dde 100644 --- a/pages.it/common/cmp.md +++ b/pages.it/common/cmp.md @@ -1,6 +1,7 @@ # cmp > Compara due file. +> Maggiori informazioni: . - Trova l'indice del primo byte e della prima riga differente tra due file: @@ -8,4 +9,4 @@ - Trova ogni coppia di byte differenti ed il relativo indice: -`cmp -l {{file1}} {{file2}}` +`cmp {{[-l|--verbose]}} {{file1}} {{file2}}` diff --git a/pages.it/common/code.md b/pages.it/common/code.md index 10710a466c93d6..d1f189eae942d2 100644 --- a/pages.it/common/code.md +++ b/pages.it/common/code.md @@ -1,7 +1,7 @@ # code > Visual Studio Code. -> Maggiori informazioni: . +> Maggiori informazioni: . - Apri VS Code: @@ -13,11 +13,11 @@ - Apri un file o una directory in VS Code: -`code {{percorso/a/file_o_directory}}` +`code {{percorso/del/file_o_directory}}` - Apri un file o una directory nella finestra attualmente aperta di VS Code: -`code --reuse-window {{percorso/a/file_o_directory}}` +`code --reuse-window {{percorso/del/file_o_directory}}` - Confronta due file in VS Code: diff --git a/pages.it/common/coffee.md b/pages.it/common/coffee.md index 7e5fafbd965936..4f05029236f459 100644 --- a/pages.it/common/coffee.md +++ b/pages.it/common/coffee.md @@ -5,15 +5,15 @@ - Esegui uno script: -`coffee {{percorso/al/file.coffee}}` +`coffee {{percorso/del/file.coffee}}` - Compila in JavaScript e salva lo script con lo stesso nome: -`coffee --compile {{percorso/al/file.coffee}}` +`coffee --compile {{percorso/del/file.coffee}}` - Compila in JavaScript e salva lo script specificandone il nome: -`coffee --compile {{percorso/al/file.coffee}} --output {{percorso/al/file.js}}` +`coffee --compile {{percorso/del/file.coffee}} --output {{percorso/del/file.js}}` - Esegui una console REPL interattiva: @@ -21,4 +21,4 @@ - Monitora cambiamenti in uno script rieseguendolo ogni volta: -`coffee --watch {{percorso/al/file.coffee}}` +`coffee --watch {{percorso/del/file.coffee}}` diff --git a/pages.it/common/cola.md b/pages.it/common/cola.md new file mode 100644 index 00000000000000..c3e49cbffd90e2 --- /dev/null +++ b/pages.it/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Questo comando è un alias per `git-cola`. + +- Consulta la documentazione del comando originale: + +`tldr git-cola` diff --git a/pages.it/common/colordiff.md b/pages.it/common/colordiff.md new file mode 100644 index 00000000000000..69178faa1ae450 --- /dev/null +++ b/pages.it/common/colordiff.md @@ -0,0 +1,25 @@ +# colordiff + +> Un'utilità per aggiungere colore all'output diff. +> Colordiff è un wrapper scritto in Perl per `diff` e produce lo stesso output, ma con una bella evidenziazione della sintassi. I colori possono essere personalizzati. +> Maggiori informazioni: . + +- Analisi di due file: + +`colordiff {{file1}} {{file2}}` + +- Output in due colonne: + +`colordiff -y {{file1}} {{file2}}` + +- Ignora differenze di maiuscole in file: + +`colordiff -i {{file1}} {{file2}}` + +- Notifica se file identici: + +`colordiff -s {{file1}} {{file2}}` + +- Ignora spazio vuoto (white space): + +`colordiff -w {{file1}} {{file2}}` diff --git a/pages.it/common/column.md b/pages.it/common/column.md deleted file mode 100644 index f2449bba157252..00000000000000 --- a/pages.it/common/column.md +++ /dev/null @@ -1,20 +0,0 @@ -# column - -> Formatta standard input o un file in più colonne. -> Le righe sono riempite prima delle colonne; il separatore predefinito è lo spazio. - -- Formatta l'output per uno schermo largo 30 caratteri: - -`printf "intestazione1 intestazione2\nbar foo\n" | column -c {{30}}` - -- Specifica un diverso separatore di colonna (e.g. "," per csv); il predefinito è lo spazio: - -`printf "intestazione1 intestazione2\nbar foo\n" | column -s{{,}}` - -- Separa colonne ed allinea automaticamente in un formato tabulare: - -`printf "intestazione1 intestazione2\nbar foo\n" | column -t` - -- Riempi le colonne prima delle righe: - -`printf "intestazione1\nbar\nfoobar\n" | column -c {{30}} -x` diff --git a/pages.it/common/comm.md b/pages.it/common/comm.md index 162263629bc8a7..9aaa7be791ddd1 100644 --- a/pages.it/common/comm.md +++ b/pages.it/common/comm.md @@ -1,6 +1,7 @@ # comm > Seleziona o ignora linee comuni a due file. Entrambi i file devono essere ordinati. +> Maggiori informazioni: . - Produci tre colonne separate da tab: linee solo nel primo file, linee solo nel secondo file, e linee comuni ad entrambi: diff --git a/pages.it/common/command.md b/pages.it/common/command.md index dd4babf48bedfa..6f6ec08796bc8f 100644 --- a/pages.it/common/command.md +++ b/pages.it/common/command.md @@ -1,7 +1,8 @@ # command > Command forza la shell ad eseguire programmi ignorando qualsiasi funzione, builtin e alias con lo stesso nome. +> Maggiori informazioni: . -- Esegui il comando ls letteralmente, anche se esiste un alias ls: +- Esegui il comando `ls` letteralmente, anche se esiste un alias `ls`: `command {{ls}}` diff --git a/pages.it/common/complete.md b/pages.it/common/complete.md index 36d9cff01d7617..6a650b83dceab5 100644 --- a/pages.it/common/complete.md +++ b/pages.it/common/complete.md @@ -1,6 +1,7 @@ # complete > Fornisce autocompletamento per argomenti dei comandi della shell. +> Maggiori informazioni: . - Applica ad un comando una funzione per gestirne l'autocompletamento: diff --git a/pages.it/common/conan.md b/pages.it/common/conan.md new file mode 100644 index 00000000000000..33d5cf07e23310 --- /dev/null +++ b/pages.it/common/conan.md @@ -0,0 +1,29 @@ +# conan + +> Il package manager open source, decentralizzato e multipiattaforma per creare e condividere tutti i tuoi binari nativi. +> Alcuni sottocomandi come `frogarian` hanno la loro documentazione specifica. +> Maggiori informazioni: . + +- Installa i pacchetti basandosi su `conanfile.txt`: + +`conan install {{.}}` + +- Installa pacchetti e crea file di configurazione per un generatore specifico: + +`conan install -g {{generator}}` + +- Installa pacchetti costruendo dal sorgente: + +`conan install {{.}} --build` + +- Cerca pacchetti installati localmente: + +`conan search {{package}}` + +- Cerca pacchetti remoti: + +`conan search {{package}} -r {{remote}}` + +- Elenca i remoti: + +`conan remote list` diff --git a/pages.it/common/conda.md b/pages.it/common/conda.md index 498eacdfc28499..21cb0f400b7455 100644 --- a/pages.it/common/conda.md +++ b/pages.it/common/conda.md @@ -1,27 +1,28 @@ # conda > Gestione pacchetti, dipendenze ed ambiente per qualsiasi linguaggio di programmazione. -> Maggiori informazioni: . +> Alcuni comandi aggiuntivi, come `create`, hanno la propria documentazione. +> Maggiori informazioni: . - Crea un nuovo ambiente, installandovi alcuni pacchetti: -`conda create --name {{nome_ambiente}} {{python=2.7 matplotlib}}` +`conda create {{[-n|--name]}} {{nome_ambiente}} {{python=3.9 matplotlib}}` - Elenca tutti gli ambienti: -`conda info --envs` +`conda info {{[-e|--envs]}}` -- Attiva o disattiva un ambiente: +- Attiva un ambiente: -`conda {{activate|deactivate}} {{nome_ambiente}}` +`conda activate {{nome_ambiente}}` -- Elimina un ambiente rimuovendo anche tutti i pacchetti: +- Disattiva un ambiente: -`conda remove --name {{nome_ambiente}} --all` +`conda deactivate` -- Cerca un determinato pacchetto nei canali di conda: +- Elimina un ambiente rimuovendo anche tutti i pacchetti: -`conda search {{package_name}}` +`conda remove {{[-n|--name]}} {{nome_ambiente}} --all` - Installa pacchetti nell'ambiente corrente: @@ -33,4 +34,4 @@ - Elimina pacchetti inutilizzati e cache: -`conda clean --all` +`conda clean {{[-a|--all]}}` diff --git a/pages.it/common/consul.md b/pages.it/common/consul.md index a7b1c73bcd6195..51ee0950569df8 100644 --- a/pages.it/common/consul.md +++ b/pages.it/common/consul.md @@ -1,11 +1,8 @@ # consul > Rete distribuita per gestire e configurare servizi tramite database chiave-valore. -> Maggiori informazioni: . - -- Controlla la versione di Consul: - -`consul --version` +> Alcuni comandi aggiuntivi, come `kv`, hanno la propria documentazione. +> Maggiori informazioni: . - Mostra informazioni di aiuto generali: @@ -14,3 +11,7 @@ - Mostra aiuto per un sottocomando: `consul {{sottocomando}} --help` + +- Controlla la versione di Consul: + +`consul --version` diff --git a/pages.it/common/convert.md b/pages.it/common/convert.md deleted file mode 100644 index 4157824c02fa78..00000000000000 --- a/pages.it/common/convert.md +++ /dev/null @@ -1,28 +0,0 @@ -# convert - -> Strumento della suite immagineMagick per la conversione di immagini. -> Maggiori informazioni: . - -- Converti un'immagine da JPG a PNG: - -`convert {{immagine.jpg}} {{immagine.png}}` - -- Scala un'immagine al 50% delle sue dimensioni originali: - -`convert {{immagine.png}} -resize 50% {{immagine2.png}}` - -- Scala un'immagine ad una dimensione massima di 640x480 mantenendo le proporzioni originali: - -`convert {{immagine.png}} -resize 640x480 {{immagine2.png}}` - -- Concatena più immagini orizzontalmente: - -`convert {{immagine1.png}} {{immagine2.png}} {{immagine3.png}} +append {{immagine123.png}}` - -- Crea una GIF da una serie di immagini con un intervallo di 100ms tra ogni immagine: - -`convert {{immagine1.png}} {{immagine2.png}} {{immagine3.png}} -delay {{100}} {{animazione.gif}}` - -- Crea un'immagine a tinta unita di un determinato colore: - -`convert -size {{800x600}} "xc:{{#ff0000}}" {{immagine.png}}` diff --git a/pages.it/common/convmv.md b/pages.it/common/convmv.md index 3778ab93ba14a8..02d25d0edd2b5c 100644 --- a/pages.it/common/convmv.md +++ b/pages.it/common/convmv.md @@ -1,6 +1,6 @@ # convmv -> Coversione dei nomi dei file (NON del contenuto) da un encoding ad un altro. +> Conversione dei nomi dei file (NON del contenuto) da un encoding ad un altro. > Maggiori informazioni: . - Controlla la conversione di encoding (non rinomina realmente il file): diff --git a/pages.it/common/copr.md b/pages.it/common/copr.md new file mode 100644 index 00000000000000..9e7df0701df452 --- /dev/null +++ b/pages.it/common/copr.md @@ -0,0 +1,7 @@ +# copr + +> Questo comando è un alias di `copr-cli`. + +- Mostra la documentazione del comando originale: + +`tldr copr-cli` diff --git a/pages.it/common/cowsay.md b/pages.it/common/cowsay.md index db4a476aa87ccf..f3a20d3d437b6a 100644 --- a/pages.it/common/cowsay.md +++ b/pages.it/common/cowsay.md @@ -1,23 +1,23 @@ # cowsay > Genera un personaggio ASCII (di default una mucca) che dice o pensa qualcosa. -> Maggiori informazioni: . +> Maggiori informazioni: . -- Stampa una mucca ASCII che dice "Hello world!": +- Stampa una mucca ASCII che dice "Hello world": -`cowsay "Hello world!"` +`cowsay "Hello world"` - Usa il testo da standard input per il fumetto: -`echo "Ciao!" | cowsay` +`echo "Ciao" | cowsay` - Elenca tutti i personaggi disponibili: `cowsay -l` -- Stampa un drago ASCII che dice "Ciao!": +- Stampa un drago ASCII che dice "Ciao": -`cowsay -f dragon "Ciao!"` +`cowsay -f dragon "Ciao"` - Stampa una mucca ASCII sballata che pensa: diff --git a/pages.it/common/cp.md b/pages.it/common/cp.md index ceb281fd8f88e9..a8bcec9fa8bc46 100644 --- a/pages.it/common/cp.md +++ b/pages.it/common/cp.md @@ -1,27 +1,28 @@ # cp > Copia file e directory. +> Maggiori informazioni: . - Copia un file in un'altra posizione: -`cp {{percorso/al/file}} {{percorso/alla/copia}}` +`cp {{percorso/del/file}} {{percorso/della/copia}}` - Copia un file in una directory mantenendo il nome: -`cp {{percorso/al/file}} {{percorso/alla/directory}}` +`cp {{percorso/del/file}} {{percorso/della/directory}}` - Copia una directory ricorsivamente in un'altra posizione: -`cp -r {{percorso/alla/directory}} {{percorso/alla/copia}}` +`cp -r {{percorso/della/directory}} {{percorso/della/copia}}` - Copia una directory ricorsivamente in modo verboso (mostra a schermo ogni file copiato): -`cp -vr {{percorso/alla/directory}} {{percorso/alla/copia}}` +`cp -vr {{percorso/della/directory}} {{percorso/della/copia}}` - Copia i contenuti di una directory in una seconda directory: -`cp -r {{percorso/alla/directory/*}} {{percorso/alla/seconda/directory}}` +`cp -r {{percorso/della/directory/*}} {{percorso/della/seconda/directory}}` -- Copia tutti i file di testo in una seconda directory in modo interattivo (chiede conferma prima di sovrascrivere): +- Copia tutti i file di testo in una seconda directory in modo interattivo (chiede conferma prima di sovrascrivere): -`cp -i {{*.txt}} {{percorso/alla/directory}}` +`cp -i {{*.txt}} {{percorso/della/directory}}` diff --git a/pages.it/common/cpio.md b/pages.it/common/cpio.md index 39d1745e714ddd..b8cd69cf1928e3 100644 --- a/pages.it/common/cpio.md +++ b/pages.it/common/cpio.md @@ -10,7 +10,7 @@ - Copia tutti i file e le directory in una directory ed aggiungili ad un archivio, in modalità verbosa: -`find {{path/to/directory}} | cpio -ov > {{archivio.cpio}}` +`find {{percorso/della/directory}} | cpio -ov > {{archivio.cpio}}` - Estrai file da un archivio, generando le directory necessarie, in modalità verbosa: diff --git a/pages.it/common/cppcheck.md b/pages.it/common/cppcheck.md index 28265f9e8c3e98..731630520a0ea7 100644 --- a/pages.it/common/cppcheck.md +++ b/pages.it/common/cppcheck.md @@ -2,7 +2,7 @@ > Strumento di analisi statica per codice C/C++. > Piuttosto che sugli errori di sintassi, si concentra su tipi di bug che normalmente non vengono rilevati dai compilatori. -> Maggiori informazioni: . +> Maggiori informazioni: . - Controlla la directory corrente ricorsivamente, mostrando il progresso a schermo e loggando i messaggi di errore in un file: @@ -10,11 +10,11 @@ - Controlla una determinata directory ricorsivamente, senza stampare informazioni sul progresso: -`cppcheck --quiet {{path/to/directory}}` +`cppcheck --quiet {{percorso/della/directory}}` - Controlla un determinato file, specificando quali test eseguire (di default, solo gli errori sono mostrati): -`cppcheck --enable={{error|warning|style|performance|portability|information|all}} {{percorso/al/file.cpp}}` +`cppcheck --enable {{error|warning|style|performance|portability|information|all}} {{percorso/del/file.cpp}}` - Elenca i test disponibili: @@ -22,7 +22,7 @@ - Controlla un determinato file, ignorando specifici test: -`cppcheck --suppress={{id_test1}} --suppress={{it_test2}} {{percorso/al/file.cpp}}` +`cppcheck --suppress {{id_test1}} --suppress {{it_test2}} {{percorso/del/file.cpp}}` - Controlla la directory corrente, fornendo percorsi da includere per file esterni (e.g. librerie esterne): @@ -30,4 +30,4 @@ - Controlla un progetto Microsoft Visual Studio (`*.vcxproj`) o file solution (`*.sln`): -`cppcheck --project={{path/to/progetto.sln}}` +`cppcheck --project {{percorso/del/progetto.sln}}` diff --git a/pages.it/common/cppclean.md b/pages.it/common/cppclean.md index 2d2153167e575a..aa2c922ced8409 100644 --- a/pages.it/common/cppclean.md +++ b/pages.it/common/cppclean.md @@ -5,16 +5,16 @@ - Esegui nella directory di un progetto: -`cppclean {{percorso/a/directory_progetto}}` +`cppclean {{percorso/della/directory_progetto}}` - Esegui su di un progetto dove gli header sono nella directory "inc1" ed "inc2": -`cppclean {{percorso/a/directory_progetto}} --include-path={{inc1}} --include-path={{inc2}}` +`cppclean {{percorso/della/directory_progetto}} --include-path {{inc1}} --include-path {{inc2}}` -- Esegui su di uno specifico file "main.cpp": +- Esegui su di uno specifico file `main.cpp`: `cppclean {{main.cpp}}` - Esegui della directory corrente, escludendo la directory "build": -`cppclean {{.}} --exclude={{build}}` +`cppclean {{.}} --exclude {{build}}` diff --git a/pages.it/common/cradle.md b/pages.it/common/cradle.md index 62cd8bcacff594..6b43021b29817a 100644 --- a/pages.it/common/cradle.md +++ b/pages.it/common/cradle.md @@ -8,6 +8,10 @@ `cradle connect {{nome_server}}` +- Esegui un comando Cradle: + +`cradle {{command}}` + - Mostra informazioni di aiuto generali: `cradle help` @@ -15,7 +19,3 @@ - MOstra aiuto per uno specifico comando: `cradle {{command}} help` - -- Esegui un comando Cradle: - -`cradle {{command}}` diff --git a/pages.it/common/cron.md b/pages.it/common/cron.md new file mode 100644 index 00000000000000..797e6c84a50770 --- /dev/null +++ b/pages.it/common/cron.md @@ -0,0 +1,8 @@ +# cron + +> Un pianificatore di sistema per eseguire processi o attività in modo automatico. +> Il comando per aggiungere, modificare o eliminare voci in cron è chiamato `crontab`. + +- Visualizza la documentazione per la gestione delle voci di cron: + +`tldr crontab` diff --git a/pages.it/common/cronic.md b/pages.it/common/cronic.md new file mode 100644 index 00000000000000..f81607b2695e5a --- /dev/null +++ b/pages.it/common/cronic.md @@ -0,0 +1,8 @@ +# cronic + +> Script Bash per eseguire processi cron evitando l'invio eccessivo di email. +> Maggiori informazioni: . + +- Esegui un comando e mostra l'output solo se restituisce un codice di uscita diverso da zero: + +`cronic {{comando}}` diff --git a/pages.it/common/crontab.md b/pages.it/common/crontab.md index 5e02a5bcafc1ea..296bf198b2c947 100644 --- a/pages.it/common/crontab.md +++ b/pages.it/common/crontab.md @@ -2,6 +2,7 @@ > Programma cron job per essere eseguiti a determinati intervalli di tempo per l'utente corrente. > Formato definizione di un job: "(minuto) (ora) (giorno_del_mese) (mese) (giorno_della_settimana) comando_da_eseguire". +> Maggiori informazioni: . - Modifica il file crontab per l'utente corrente: @@ -25,4 +26,4 @@ - Esempio di un job che esegue un determinato script alle 02:30 ogni venerdì: -`30 2 * * Fri {{/percorso/assoluto/allo/script.sh}}` +`30 2 * * Fri {{/percorso/assoluto/dello/script.sh}}` diff --git a/pages.it/common/crunch.md b/pages.it/common/crunch.md new file mode 100644 index 00000000000000..98e0678e245b17 --- /dev/null +++ b/pages.it/common/crunch.md @@ -0,0 +1,36 @@ +# crunch + +> Generatore di wordlist. +> Maggiori informazioni: . + +- Genera una lista di parole di lunghezza da 1 a 3 con solo caratteri minuscoli: + +`crunch {{1}} {{3}}` + +- Genera una lista di parole esadecimali di lunghezza 8: + +`crunch {{8}} {{8}} {{0123456789abcdef}}` + +- Genera una lista con tutte le permutazioni di "abc" (le lunghezze non vengono elaborate): + +`crunch {{1}} {{1}} -p {{abc}}` + +- Genera una lista con tutte le permutazioni delle stringhe fornite (le lunghezze non vengono elaborate): + +`crunch {{1}} {{1}} -p {{abc}} {{def}} {{ghi}}` + +- Genera una lista di parole secondo un modello specifico e un numero massimo di lettere duplicate: + +`crunch {{5}} {{5}} {{abcde123}} -t {{@@@12}} -d 2@` + +- Scrive una lista di parole in file suddivisi per dimensione, iniziando con una stringa specificata: + +`crunch {{3}} {{5}} -o {{START}} -b {{10kb}} -s {{abc}}` + +- Scrive una lista di parole terminando con una stringa specificata e invertendo la wordlist: + +`crunch {{1}} {{5}} -o {{START}} -e {{abcde}} -i` + +- Scrive una lista di parole in file compressi suddivisi per numero di parole: + +`crunch {{1}} {{5}} -o {{START}} -c {{1000}} -z {{gzip|bzip2|lzma|7z}}` diff --git a/pages.it/common/crush.md b/pages.it/common/crush.md new file mode 100644 index 00000000000000..0ff61dd7c30179 --- /dev/null +++ b/pages.it/common/crush.md @@ -0,0 +1,29 @@ +# crush + +> Assistente da terminale basato su IA per attività di sviluppo software. +> Fornisce un'interfaccia di chat interattiva con funzionalità di intelligenza artificiale, analisi del codice e integrazione LSP. +> Maggiori informazioni: . + +- Avvia la modalità interattiva: + +`crush` + +- Esegui con log di debug attivi: + +`crush {{[-d|--debug]}}` + +- Esegui con log di debug in una directory specifica: + +`crush {{[-d|--debug]}} {{[-c|--cwd]}} {{percorso/al/progetto}}` + +- Esegui un prompt singolo in modalità non interattiva: + +`crush run "{{Spiega l'uso del contesto in Go}}"` + +- Esegui in modalità pericolosa (accetta automaticamente tutti i permessi): + +`crush {{[-y|--yolo]}}` + +- Mostra la versione: + +`crush {{[-v|--version]}}` diff --git a/pages.it/common/crystal.md b/pages.it/common/crystal.md index f41b9432bd0486..29f68a6bf08935 100644 --- a/pages.it/common/crystal.md +++ b/pages.it/common/crystal.md @@ -5,11 +5,11 @@ - Esegui un file Crystal: -`crystal {{percorso/al/file.cr}}` +`crystal {{percorso/del/file.cr}}` - Compila un file e tutte le sue dipendenze in un unico eseguibile: -`crystal build {{percorso/al/file.cr}}` +`crystal build {{percorso/del/file.cr}}` - Avvia un server locale interattivo per testare il linguaggio: diff --git a/pages.it/common/csc.md b/pages.it/common/csc.md index 15a71dcc6c6dfa..c2793242384ac6 100644 --- a/pages.it/common/csc.md +++ b/pages.it/common/csc.md @@ -1,36 +1,36 @@ # csc > Compilatore per Microsoft C#. -> Maggiori informazioni: . +> Maggiori informazioni: . -- Compila uno o più file C# in un eseguibile da command line: +- Compila uno o più file C# in un eseguibile da command-line: -`csc {{percorso/al/file_input_a.cs}} {{percorso/al/file_input_b.cs}}` +`csc {{percorso/del/file_input_a.cs}} {{percorso/del/file_input_b.cs}}` - Specifica il nome del file output: -`csc /out:{{percorso/al/nome_file_output}} {{percorso/al/file_input.cs}}` +`csc /out:{{percorso/del/nome_file_output}} {{percorso/del/file_input.cs}}` -- Compila in una libreria '.dll' invece che in un eseguibile: +- Compila in una libreria `.dll` invece che in un eseguibile: -`csc /target:library {{percorso/al/file_input.cs}}` +`csc /target:library {{percorso/del/file_input.cs}}` - Referenzia un altro assembly: -`csc /reference:{{percorso/a/libreria.dll}} {{percorso/al/file_input.cs}}` +`csc /reference:{{percorso/della/libreria.dll}} {{percorso/del/file_input.cs}}` - Includi una risorsa: -`csc /resource:{{percorso/al/file_risorsa}} {{percorso/al/file_input.cs}}` +`csc /resource:{{percorso/del/file_risorsa}} {{percorso/del/file_input.cs}}` - Genera una documentazione XML automaticamente: -`csc /doc:{{percorso/alla/documentazione.xml}} {{percorso/al/file_input.cs}}` +`csc /doc:{{percorso/della/documentazione.xml}} {{percorso/del/file_input.cs}}` - Specifica un'icona: -`csc /win32icon:{{percorso/a/icona.ico}} {{percorso/al/file_input.cs}}` +`csc /win32icon:{{percorso/dell/icona.ico}} {{percorso/del/file_input.cs}}` - Firma un assembly con un nome sicuro utilizzando una chiave: -`csc /keyfile:{{percorso/a/chiave.snk}} {{percorso/al/file_input.cs}}` +`csc /keyfile:{{percorso/della/chiave.snk}} {{percorso/del/file_input.cs}}` diff --git a/pages.it/common/csslint.md b/pages.it/common/csslint.md index e11fd45f0cf918..a1c7dcf4013a6d 100644 --- a/pages.it/common/csslint.md +++ b/pages.it/common/csslint.md @@ -9,7 +9,7 @@ - Esegui il linting di file CSS multipli: -`csslint {{file1.css}} {{file2.css}} {{file3.css}}` +`csslint {{file1.css file2.css ...}}` - Elenca tutte le possibili regole di stile: diff --git a/pages.it/common/csvcut.md b/pages.it/common/csvcut.md index 76671f097b0fa6..91a49346bee212 100644 --- a/pages.it/common/csvcut.md +++ b/pages.it/common/csvcut.md @@ -12,7 +12,7 @@ `csvcut -c {{1,3}} {{dati.csv}}` -- Estrai tutte le colonne **eccetto** la quarta: +- Estrai tutte le colonne eccetto la quarta: `csvcut -C {{4}} {{dati.csv}}` diff --git a/pages.it/common/csvgrep.md b/pages.it/common/csvgrep.md index 9652d7ca9d937c..34b064cdd9dd95 100644 --- a/pages.it/common/csvgrep.md +++ b/pages.it/common/csvgrep.md @@ -8,9 +8,9 @@ `csvgrep -c {{1}} -m {{stringa}} {{data.csv}}` -- Trova righe per le quali le colonne 3 e 4 soddisfano una certa regex: +- Trova righe per le quali le colonne 3 e 4 soddisfano una certa espressione regolare: -`csvgrep -c {{3,4}} -r {{pattern_regex}} {{data.csv}}` +`csvgrep -c {{3,4}} -r {{espressione_regolare}} {{data.csv}}` - Trova righe dove la colonna "nome" NON include la stringa "Mario Rossi": diff --git a/pages.it/common/csvstat.md b/pages.it/common/csvstat.md index aa5ee2470a0a7b..414bcecb6efced 100644 --- a/pages.it/common/csvstat.md +++ b/pages.it/common/csvstat.md @@ -20,6 +20,6 @@ `csvstat -c {{3}} --len {{dati.csv}}` -- Mostra il numedo di valori unici nella colonna "nome": +- Mostra il numero di valori unici nella colonna "nome": `csvstat -c {{nome}} --unique {{dati.csv}}` diff --git a/pages.it/common/curl.md b/pages.it/common/curl.md index 6009f3488c748b..1046e3f9462362 100644 --- a/pages.it/common/curl.md +++ b/pages.it/common/curl.md @@ -1,37 +1,37 @@ # curl > Trasferisci dati da o ad un server. -> Supporta molti protocollo, tra cui HTTP, FTP e POP3. -> Maggiori informazioni: . +> Supporta la maggior parte dei protocolli, tra cui HTTP, HTTPS, FTP, SCP, etc. +> Maggiori informazioni: . -- Scarica il contenuto di un URL in un file: +- Esegue una richiesta HTTP GET e stampa il contenuto in `stdout`: -`curl {{http://example.com}} -o {{nome_file}}` +`curl {{https://example.com}}` -- Scarica un file, salvando l'output con lo stesso nome indicato nell'URL: +- Esegue una richiesta HTTP GET, [L] segue eventuali reindirizzamenti `3xx` e [D] stampa il contenuto e la intestazione della risposta su `stdout`: -`curl -O {{http://example.com/nome_file}}` +`curl {{[-L|--location]}} {{[-D|--dump-header]}} - {{https://example.com}}` -- Scarica un file, seguendo reindirizzamenti, e continuando automaticamente (riprendendo) un trasferimento precedente: +- Scarica un file salvando l'[O]utput con lo stesso nome indicato nell'URL: -`curl -O -L -C - {{http://example.com/nome_file}}` +`curl {{[-O|--remote-name]}} {{https://example.com/nome_file.zip}}` -- Invia dati form-encoded (richiesta POST di tipo `application/x-www-form-urlencoded`): +- Invia [d]ati form-encoded (con una richiesta POST di tipo `application/x-www-form-urlencoded`). Utilizza `--data @file_name` oppure `--data @'-'` per leggere da `stdin`: -`curl -d {{'nome=mario'}} {{http://example.com/form}}` +`curl {{[-X|--request]}} POST {{[-d|--data]}} {{'name=mario'}} {{http://example.com/form}}` -- Invia una richiesta con un header aggiuntivo, utilizzando un metodo HTTP personalizzato: +- Invia una richiesta con una intestazione aggiuntiva utilizzando un metodo HTTP personalizzato attraverso un pro[x]y (come BurpSuite) ignorando i certificati autofirmati non sicuri: -`curl -H {{'X-Mio-Header: 123'}} -X {{PUT}} {{http://example.com}}` +`curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} {{'Authorization: Bearer token'}} {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}` -- Invia dati in formato JSON, specificando l'header content-type appropriato: +- Invia dati in formato JSON, specificando la [H] intestazione content-type appropriata: -`curl -d {{'{"nome":"mario"}'}} -H {{'Content-Type: application/json'}} {{http://example.com/utenti/1234}}` +`curl {{[-d|--data]}} {{'{"name":"mario"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` -- Utilizza un nome utente ed una password per l'autenticazione con il server: +- Invia il certificato client e la chiave per una risorsa omettendo la validazione del certificato: -`curl -u utente:password {{http://example.com}}` +`curl {{[-E|--cert]}} {{cliente.pem}} --key {{chiave.pem}} {{[-k|--insecure]}} {{https://example.com}}` -- Utilizza un certificato ed una chiave per una risorsa, ignorando la validazione dei certificati: +- Risolve un hostname con un indirizzo IP personalizzato con un output [v] dettagliato (simile alla modifica del file `/etc/hosts` per la risoluzione di un DNS personalizzato): -`curl --cert {{client.pem}} --key {{chiave.pem}} --insecure {{https://example.com}}` +`curl {{[-v|--verbose]}} --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}` diff --git a/pages.it/common/cut.md b/pages.it/common/cut.md index ea8c5010f2918f..f5e76e1f1a5e51 100644 --- a/pages.it/common/cut.md +++ b/pages.it/common/cut.md @@ -1,6 +1,7 @@ # cut > Taglia dividendo in campi `stdin` o file. +> Maggiori informazioni: . - Estrai i primi 16 caratteri di ogni riga da `stdin`: diff --git a/pages.it/common/darkhttpd.md b/pages.it/common/darkhttpd.md index a4923354a32735..e55ce731d4a51f 100644 --- a/pages.it/common/darkhttpd.md +++ b/pages.it/common/darkhttpd.md @@ -1,16 +1,16 @@ # darkhttpd > Web server Darkhttpd. -> Maggiori informazioni: . +> Maggiori informazioni: . - Avvia il server utilizzando la directory specificata come document root: -`darkhttpd {{percorso/a/docroot}}` +`darkhttpd {{percorso/della/docroot}}` - Avvia il server su una specifica porta (8080 di default per utenti non root): -`darkhttpd {{percorso/a/docroot}} --port {{porta}}` +`darkhttpd {{percorso/della/docroot}} --port {{porta}}` - Ascolta solo su uno specifico indirizzo IP (di default, il server ascolta su tutte le interfacce): -`darkhttpd {{percorso/a/docroot}} --addr {{indirizzo_ip}}` +`darkhttpd {{percorso/della/docroot}} --addr {{indirizzo_ip}}` diff --git a/pages.it/common/dash.md b/pages.it/common/dash.md new file mode 100644 index 00000000000000..9dbb2a5055aa2f --- /dev/null +++ b/pages.it/common/dash.md @@ -0,0 +1,28 @@ +# dash + +> Debian Almquist Shell, una implementazione di `sh` moderna, che conforme a POSIX, (non compatibile con Bash). +> Maggiori informazioni: . + +- Avvia una sessione shell interattiva: + +`dash` + +- Esegui un comando, ed esci subito: + +`dash -c "{{comando}}"` + +- Esegui un script: + +`dash {{percorso/dello/script.sh}}` + +- Esegui comandi da un script, stampando ogni comando prima di eseguirlo: + +`dash -x {{percorso/dello/script.sh}}` + +- Esegui comandi da un script, fermandosi al primo errore: + +`dash -e {{percorso/dello/script.sh}}` + +- Leggi ed esegui commandi dal `stdin`: + +`dash -s` diff --git a/pages.it/common/date.md b/pages.it/common/date.md index 5b639ca253ccf2..ada704972afb72 100644 --- a/pages.it/common/date.md +++ b/pages.it/common/date.md @@ -1,6 +1,7 @@ # date > Imposta o mostra data e ora di sistema. +> Maggiori informazioni: . - Mostra la data corrente utilizzando il formato predefinito della locale corrente: diff --git a/pages.it/common/dc.md b/pages.it/common/dc.md index 54ba8d1b539254..5f3e340c4c6848 100644 --- a/pages.it/common/dc.md +++ b/pages.it/common/dc.md @@ -1,6 +1,7 @@ # dc > Calcolatore a precisione arbitraria. Usa la notazione polacca inversa (RPN). +> Maggiori informazioni: . - Avvia il calcolatore in modalità interattiva: diff --git a/pages.it/common/dd.md b/pages.it/common/dd.md index 776207c272fdf3..44e4a6b3db145e 100644 --- a/pages.it/common/dd.md +++ b/pages.it/common/dd.md @@ -1,23 +1,24 @@ # dd > Converti e copia un file. +> Maggiori informazioni: . - Crea un disco USB avviabile da un file ISO e mostra il progresso: -`dd if={{file.iso}} of=/dev/{{disco_usb}} status=progress` +`dd if={{percorso/del/file.iso}} of={{/dev/disco_usb}} status=progress` -- Clona un disco in un altro a blocchi di 4MB, ignora gli errori e mostra il progresso: +- Clona un disco su un altro disco a blocchi con grandezza di 4 MiB e scarica le scritture prima che il comando termini: -`dd if=/dev/{{disco_sorgente}} of=/dev/{{disco_destinazione}} bs=4M conv=noerror status=progress` +`dd bs=4194304 conv=fsync if={{/dev/disco_sorgente}} of={{/dev/disco_destinazione}}` -- Genera un file di 100 byte randomici utilizzando il driver random del kernel: +- Genera un file con un numero specifico di byte randomici utilizzando il driver random del kernel: -`dd if=/dev/urandom of={{file_random}} bs=100 count=1` +`dd bs={{100}} count={{1}} if=/dev/urandom of={{percorso/del/file_random}}` - Testa la performance in scrittura di un disco: -`dd if=/dev/zero of={{file_1GB}} bs=1024 count=1000000` +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{percorso/del/file_1GB}}` -- Mostra il progresso di un'operazione dd in corso (comando da eseguire in un'altra shell): +- Crea un backup di sistema, salvalo in un file IMG (può essere ripristinato in seguito scambiando `if` e `of`), e mostra il progresso: -`kill -USR1 $(pgrep ^dd)` +`dd if={{/dev/disco}} of={{percorso/del/file.img}} status=progress` diff --git a/pages.it/common/decaffeinate.md b/pages.it/common/decaffeinate.md index b6521a1f28c803..1d414166054f08 100644 --- a/pages.it/common/decaffeinate.md +++ b/pages.it/common/decaffeinate.md @@ -5,16 +5,16 @@ - Converti un file CoffeeScript in JavaScript: -`decaffeinate {{percorso/al/file.coffee}}` +`decaffeinate {{percorso/del/file.coffee}}` - Converti un file CoffeeScript v2 in JavaScript: -`decaffeinate --use-cs2 {{percorso/al/file.coffee}}` +`decaffeinate --use-cs2 {{percorso/del/file.coffee}}` - Converti `require` e `module.exports` in `import` ed `export`: -`decaffeinate --use-js-modules {{percorso/al/file.coffee}}` +`decaffeinate --use-js-modules {{percorso/del/file.coffee}}` - Converti un file CoffeeScript, permettendo di esportare nomi: -`decaffeinate --loose-js-modules {{percorso/al/file.coffee}}` +`decaffeinate --loose-js-modules {{percorso/del/file.coffee}}` diff --git a/pages.it/common/deluge-console.md b/pages.it/common/deluge-console.md index 429972cac4cfae..638adfa8cfaddd 100644 --- a/pages.it/common/deluge-console.md +++ b/pages.it/common/deluge-console.md @@ -1,7 +1,7 @@ # deluge-console > Interfaccia interattiva da linea di comando per il client BitTorrent Deluge. -> Maggiori informazioni: . +> Maggiori informazioni: . - Avvia un'interfaccia interattiva da console: @@ -13,7 +13,7 @@ - Aggiungi un torrent al demone: -`add {{url|magnet|percorso/a/file}}` +`add {{url|magnet|percorso/del/file}}` - Mostra informazioni su tutti i torrent: diff --git a/pages.it/common/deluge.md b/pages.it/common/deluge.md index 9b23d29e4a09e2..bbf64982fac484 100644 --- a/pages.it/common/deluge.md +++ b/pages.it/common/deluge.md @@ -1,20 +1,20 @@ # deluge > Client BItTorrent da linea di comando. -> Maggiori informazioni: . +> Maggiori informazioni: . - Scarica un torrent: -`deluge {{url|magnet|percorso/a/file}}` +`deluge {{url|magnet|percorso/del/file}}` - Scarica un torrent utilizzando uno specifico file di configurazione: -`deluge -c {{percorso/a/file_configurazione}} {{url|magnet|percorso/a/file}}` +`deluge {{[-c|--config]}} {{percorso/del/file_configurazione}} {{url|magnet|percorso/del/file}}` - Scarica un torrent ed avvia una specifica interfaccia utente: -`deluge -u {{gtk|web|console}} {{url|magnet|percorso/a/file}}` +`deluge -u {{gtk|web|console}} {{url|magnet|percorso/del/file}}` - Scarica un torrent e scrivi il log in un file: -`deluge -l {{percorso/a/file_log}} {{url|magnet|percorso/a/file}}` +`deluge {{[-l|--logfile]}} {{percorso/del/file_log}} {{url|magnet|percorso/del/file}}` diff --git a/pages.it/common/deluged.md b/pages.it/common/deluged.md index cd860f73bf82ef..d34a7b2d45f008 100644 --- a/pages.it/common/deluged.md +++ b/pages.it/common/deluged.md @@ -1,7 +1,7 @@ # deluged > Un processo demone per il client BitTorrent Deluge. -> Maggiori informazioni: . +> Maggiori informazioni: . - Avvia il demone di Deluge: @@ -9,12 +9,12 @@ - Avvia il demone di Deluge su di una specifica porta: -`deluged -p {{porta}}` +`deluged {{[-p|--port]}} {{porta}}` - Avvia il demone di Deluge utilizzando uno specifico file di configurazione: -`deluged -c {{percorso/a/file_configurazione}}` +`deluged {{[-c|--config]}} {{percorso/del/file_configurazione}}` - Avvia il demone di Deluge e scrivi il log in un file: -`deluged -l {{percorso/a/file_log}}` +`deluged {{[-l|--logfile]}} {{percorso/del/file_log}}` diff --git a/pages.it/common/deluser.md b/pages.it/common/deluser.md deleted file mode 100644 index 403be62e2a3592..00000000000000 --- a/pages.it/common/deluser.md +++ /dev/null @@ -1,15 +0,0 @@ -# deluser - -> Rimuovi un account utente o un utente da un gruppo. - -- Rimuovi un utente: - -`deluser {{nome}}` - -- Rimuovi un utente insieme alla sua directory home e raccolta mail: - -`deluser -r {{nome}}` - -- Rimuovi un utente da un gruppo: - -`deluser {{nome}} {{gruppo}}` diff --git a/pages.it/common/dep.md b/pages.it/common/dep.md index 975afff50ff6c5..6784cda53e7ea7 100644 --- a/pages.it/common/dep.md +++ b/pages.it/common/dep.md @@ -1,13 +1,13 @@ # dep > Strumento di gestione delle dipendenze per progetti Go. -> Maggiori informazioni: . +> Maggiori informazioni: . - Inizializza la directory corrente come radice di un progetto Go: `dep init` -- Installa dipendenze mancanti (scannerizza Gopkg.toml ed i file .go): +- Installa dipendenze mancanti (scannerizza `Gopkg.toml` ed i file `.go`): `dep ensure` @@ -19,6 +19,6 @@ `dep ensure -add {{url_pacchetto}}` -- Aggiorna le versioni bloccate (in Gopkg.lock) di tutte le dipendenze: +- Aggiorna le versioni bloccate (in `Gopkg.lock`) di tutte le dipendenze: `dep ensure -update` diff --git a/pages.it/common/dexter.md b/pages.it/common/dexter.md index baa8489bc8a6d2..f3e61091b4308d 100644 --- a/pages.it/common/dexter.md +++ b/pages.it/common/dexter.md @@ -9,4 +9,4 @@ - Sovrascrivi la posizione predefinita della configurazione di kube: -`dexter auth -i {{id-client}} -s {{segreto-client}} --kube-config {{percorso/a/config}}` +`dexter auth -i {{id-client}} -s {{segreto-client}} --kube-config {{percorso/della/configurazione}}` diff --git a/pages.it/common/df.md b/pages.it/common/df.md index 743eb0138d6474..ff724830129b6f 100644 --- a/pages.it/common/df.md +++ b/pages.it/common/df.md @@ -1,6 +1,7 @@ # df > Fornisce una panoramica dello spazio utilizzato dai file system sui dischi. +> Maggiori informazioni: . - Mostra tutti i file system ed il loro utilizzo del disco: @@ -12,4 +13,4 @@ - Mostra il file system ed contenente il file o directory dato ed il suo utilizzo del disco: -`df {{percorso/a/file_o_directory}}` +`df {{percorso/del/file_o_directory}}` diff --git a/pages.it/common/diff.md b/pages.it/common/diff.md index 017c800a2d86d5..32bba09cfcc1e8 100644 --- a/pages.it/common/diff.md +++ b/pages.it/common/diff.md @@ -1,6 +1,7 @@ # diff > Confronta file e directory. +> Maggiori informazioni: . - Confronta due file (elenca cambiamenti necessari per trasformare `vecchio_file` in `nuovo_file`): @@ -8,20 +9,20 @@ - Confronta due file ignorando gli spazi: -`diff -w {{vecchio_file}} {{nuovo_file}}` +`diff {{[-w|--ignore-all-space]}} {{vecchio_file}} {{nuovo_file}}` - Confronta due file mostrando le differenze fianco a fianco: -`diff -y {{vecchio_file}} {{nuovo_file}}` +`diff {{[-y|--side-by-side]}} {{vecchio_file}} {{nuovo_file}}` - Confronta due file, mostrando le differenze in formato unificato (come `git diff`): -`diff -u {{vecchio_file}} {{nuovo_file}}` +`diff {{[-u|--unified]}} {{vecchio_file}} {{nuovo_file}}` - Confronta due directory ricorsivamente (mostra i nomi dei file/directory diversi e le differenze trai file): -`diff -r {{old_directory}} {{new_directory}}` +`diff {{[-r|--recursive]}} {{old_directory}} {{new_directory}}` - Confronta due directory mostrando solamente il nome dei file diversi: -`diff -rq {{old_directory}} {{new_directory}}` +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{old_directory}} {{new_directory}}` diff --git a/pages.it/common/diffstat.md b/pages.it/common/diffstat.md index ec25637e2c16eb..45a7ad5eed77ad 100644 --- a/pages.it/common/diffstat.md +++ b/pages.it/common/diffstat.md @@ -1,6 +1,7 @@ # diffstat > Crea un istogramma dall'output del comando `diff`. +> Maggiori informazioni: . - Mostra i cambiamenti in un istogramma: diff --git a/pages.it/common/dig.md b/pages.it/common/dig.md index fdeeb98a7f644b..32a334df65eed2 100644 --- a/pages.it/common/dig.md +++ b/pages.it/common/dig.md @@ -1,6 +1,7 @@ # dig > Utilità di lookup DNS. +> Maggiori informazioni: . - Mostra gli IP associati ad un hostname (record A): @@ -10,10 +11,6 @@ `dig +short {{esempio.com}} MX` -- Richiedi tutti i tipi di record per un dato dominio: - -`dig {{esempio.com}} ANY` - - Specifica un server DNS alternativo a cui fare richiesta: `dig @{{8.8.8.8}} {{esempio.com}}` diff --git a/pages.it/common/dircolors.md b/pages.it/common/dircolors.md index ed55a596eff0bb..442e00628c0338 100644 --- a/pages.it/common/dircolors.md +++ b/pages.it/common/dircolors.md @@ -1,6 +1,7 @@ # dircolors > Stampa comandi necessari per settare la variabile d'ambiente LS_COLOR per stilizzare `ls`, `dir`, etc. +> Maggiori informazioni: . - Stampa i comandi per settare LS_COLOR con i colori predefiniti: diff --git a/pages.it/common/direnv.md b/pages.it/common/direnv.md new file mode 100644 index 00000000000000..f6e63c5dd01277 --- /dev/null +++ b/pages.it/common/direnv.md @@ -0,0 +1,24 @@ +# direnv + +> Estensione della shell per aggiungere o rimuovere variabili d'ambiente in base alla directory corrente. +> Maggiori informazioni: . + +- Permette il caricamento del `.envrc` presente nella directory corrente: + +`direnv allow {{.}}` + +- Revoca il permesso del `.envrc` presente nella directory corrente: + +`direnv deny {{.}}` + +- Permette la modifica del `.envrc` nell'editor di testo predefinito, in seguito ricarica l'ambiente: + +`direnv edit {{.}}` + +- Ricarica l'ambiente corrente: + +`direnv reload` + +- Mostra delle informazioni di debug: + +`direnv status` diff --git a/pages.it/common/dirname.md b/pages.it/common/dirname.md index 764f4a10c4c4f4..45ee473da7f634 100644 --- a/pages.it/common/dirname.md +++ b/pages.it/common/dirname.md @@ -1,15 +1,16 @@ # dirname > Determina la directory genitore di un determinato file o percorso. +> Maggiori informazioni: . - Calcola la directory genitore di un dato percorso: -`dirname {{percorso/a/file_o_directory}}` +`dirname {{percorso/del/file_o_directory}}` - Calcola la directory genitore di più percorsi: -`dirname {{percorso/a/file_a}} {{percorso/a/directory_b}}` +`dirname {{percorso/del/file_or_directory1 percorso/del/file_or_directory2 ...}}` -- Delimita l'output con caratteri NUL invece di newline (utile in combinazione con `xargs`): +- Delimita l'output utilizzando caratteri NUL invece di una nuova linea (utile in combinazione con `xargs`): -`dirname --zero {{percorso/a/directory_a}} {{percorso/a/file_b}}` +`dirname {{[-z|--zero]}} {{percorso/del/file_or_directory1 percorso/del/file_or_directory2 ...}}` diff --git a/pages.it/common/dirs.md b/pages.it/common/dirs.md index 4018bb80c5a833..9e817e2350d9df 100644 --- a/pages.it/common/dirs.md +++ b/pages.it/common/dirs.md @@ -2,6 +2,7 @@ > Mostra o manipola uno stack di directory. > Uno stack di directory è una lista di directory recentemente visitate che può essere manipolata con i comandi `pushd` e `popd`. +> Maggiori informazioni: . - Mostra lo stack di directory dividendo i nomi con uno spazio: diff --git a/pages.it/common/dive.md b/pages.it/common/dive.md index b28de54edd21a5..473b42ed85ef31 100644 --- a/pages.it/common/dive.md +++ b/pages.it/common/dive.md @@ -3,7 +3,7 @@ > Un tool per esplorare immagini Docker, contenuti dei livelli, e ridurne la dimensione. > Maggiori informazioni: . -- Analizza un'immaigine Docker: +- Analizza un'immagine Docker: `dive {{tag_immagine}}` diff --git a/pages.it/common/docker-build.md b/pages.it/common/docker-build.md new file mode 100644 index 00000000000000..8207aba601912b --- /dev/null +++ b/pages.it/common/docker-build.md @@ -0,0 +1,28 @@ +# docker build + +> Crea un'immagine a partire da un Dockerfile. La creazione di un'immagine Docker è chiamata build. +> Maggiori informazioni: . + +- Crea un'immagine Docker usando il Dockerfile nella directory corrente: + +`docker build .` + +- Crea un'immagine Docker usando il Dockerfile disponibile a un dato URL: + +`docker build {{github.com/creack/docker-firefox}}` + +- Crea e tagga un'immagine Docker: + +`docker build {{[-t|--tag]}} {{nome:tag}} .` + +- Non usare la cache per la creazione di un'immagine Docker: + +`docker build --no-cache {{[-t|--tag]}} {{nome:tag}} .` + +- Crea un'immagine Docker usando un dato Dockerfile: + +`docker build {{[-f|--file]}} {{Dockerfile}} .` + +- Crea un'immagine Docker usando variabili fornite in fase di build: + +`docker build --build-arg {{HTTP_PROXY=http://10.20.30.2:1234}} --build-arg {{FTP_PROXY=http://40.50.60.5:4567}} .` diff --git a/pages.it/common/docker-compose.md b/pages.it/common/docker-compose.md index b0eab9f9b6a130..da1719d28372ac 100644 --- a/pages.it/common/docker-compose.md +++ b/pages.it/common/docker-compose.md @@ -1,28 +1,36 @@ -# docker-compose +# docker compose > Esegui e gestisci applicazioni Docker composte da più container. -> Maggiori informazioni: . +> Maggiori informazioni: . + +- Elenca i container in esecuzione: + +`docker compose ps` - Crea ed avvia tutti i container in background utilizzando il file `docker-compose.yml` nella directory corrente: -`docker-compose up -d` +`docker compose up {{[-d|--detach]}}` - Avvia tutti i container, buildandoli di nuovo se necessario: -`docker-compose up --build` +`docker compose up --build` -- Avvia tutti i container utilizzando un file compose alternativo: +- Avvia tutti i contenitori specificando un nome di progetto e utilizzando un file compose alternativo: -`docker-compose --file {{percorso/a/file}} up` +`docker compose {{[-p|--project-name]}} {{nome_di_progetto}} {{[-f|--file]}} {{percorso/del/file}} up` - Ferma tutti i container in esecuzione: -`docker-compose stop` +`docker compose stop` - Ferma e rimuovi tutti i container, reti, immagini e volumi: -`docker-compose down` +`docker compose down --rmi all {{[-v|--volumes]}}` - Segui i log di tutti i container: -`docker-compose logs --follow` +`docker compose logs {{[-f|--follow]}}` + +- Segui i log di un container specifico: + +`docker compose logs {{[-f|--follow]}} {{nome_container}}` diff --git a/pages.it/common/docker-container.md b/pages.it/common/docker-container.md new file mode 100644 index 00000000000000..4dd7fca4a8662d --- /dev/null +++ b/pages.it/common/docker-container.md @@ -0,0 +1,36 @@ +# docker container + +> Gestisci container Docker. +> Maggiori informazioni: . + +- Elenca i container Docker attualmente in esecuzione: + +`docker container ls` + +- Avvia uno o più container fermi: + +`docker container start {{nome_container1}} {{nome_container2}}` + +- Termina uno o più container in esecuzione: + +`docker container kill {{nome_container}}` + +- Ferma uno o più container in esecuzione: + +`docker container stop {{nome_container}}` + +- Sospendi tutti i processi dentro uno o più container: + +`docker container pause {{nome_container}}` + +- Mostra informazioni dettagliate su uno o più container: + +`docker container inspect {{nome_container}}` + +- Esporta il filesystem di un container come archivio tar: + +`docker container export {{nome_container}}` + +- Crea una nuova immagine dai cambiamenti di un container: + +`docker container commit {{nome_container}}` diff --git a/pages.it/common/docker-containers.md b/pages.it/common/docker-containers.md deleted file mode 100644 index bb6e39b8c2b625..00000000000000 --- a/pages.it/common/docker-containers.md +++ /dev/null @@ -1,36 +0,0 @@ -# docker container - -> Gestisci container Docker. -> Maggiori informazioni: . - -- Elenca i container Docker attualmente in esecuzione: - -`docker container ls` - -- Avvia uno o più container fermi: - -`docker container start {{nome_container1}} {{nome_container2}}` - -- Termina uno o più container in esecuzione: - -`docker container kill {{nome_container}}` - -- Ferma uno o più container in esecuzione: - -`docker container stop {{nome_container}}` - -- Sospendi tutti i processi dentro uno o più container: - -`docker container pause {{nome_container}}` - -- Mostra informazioni dettagliate su uno o più container: - -`docker container inspect {{nome_container}}` - -- Esporta il filesystem di un container come archivio tar: - -`docker container export {{nome_container}}` - -- Crea una nuova immagine dai cambiamenti di un container: - -`docker container commit {{nome_container}}` diff --git a/pages.it/common/docker-cp.md b/pages.it/common/docker-cp.md new file mode 100644 index 00000000000000..a573b0450dabba --- /dev/null +++ b/pages.it/common/docker-cp.md @@ -0,0 +1,16 @@ +# docker cp + +> Copia file o directory tra il filesystem di un container e quello locale (host). +> Maggiori informazioni: . + +- Copia un file o una directory dall'host a un container: + +`docker cp {{percorso/del/file_o_directory_su_host}} {{nome_container}}:{{percorso/del/file_o_directory_su_container}}` + +- Copia un file o una directory da un container all'host: + +`docker cp {{nome_container}}:{{percorso/del/file_o_directory_su_container}} {{percorso/del/file_o_directory_su_host}}` + +- Copia un file o una directory dall'host a un container, seguendo un link simbolico (non copiare il link simbolico, ma direttamente il file da lui referenziato): + +`docker cp {{[-L|--follow-link]}} {{percorso/del/link_simbolico_su_host}} {{nome_container}}:{{percorso/del/file_o_directory_su_container}}` diff --git a/pages.it/common/docker-exec.md b/pages.it/common/docker-exec.md new file mode 100644 index 00000000000000..2ad6536ba9f3cd --- /dev/null +++ b/pages.it/common/docker-exec.md @@ -0,0 +1,28 @@ +# docker exec + +> Esegui un comando su un Docker container in esecuzione. +> Maggiori informazioni: . + +- Avvia una shell interattiva all'interno di un container in esecuzione: + +`docker exec {{[-it|--interactive --tty]}} {{nome_container}} {{/bin/bash}}` + +- Esegui un commando in background ("detached") su un container in esecuzione: + +`docker exec {{[-d|--detach]}} {{nome_container}} {{comando}}` + +- Seleziona la directory di lavoro in cui eseguire un dato comando: + +`docker exec {{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{percorso/della/directory}} {{nome_container}} {{comando}}` + +- Esegui un comando in background su un container esistente, mantenendo aperto `stdin`: + +`docker exec {{[-i|--interactive]}} {{[-d|--detach]}} {{nome_container}} {{comando}}` + +- Imposta una variabile d'ambiente in una sessione Bash in esecuzione: + +`docker exec {{[-it|--interactive --tty]}} {{[-e|--env]}} {{nome_variabile}}={{valore}} {{nome_container}} {{/bin/bash}}` + +- Specifica l'utente da usare per eseguire un comando: + +`docker exec {{[-u|--user]}} {{utente}} {{nome_container}} {{comando}}` diff --git a/pages.it/common/docker-image.md b/pages.it/common/docker-image.md new file mode 100644 index 00000000000000..9dfb5879ee67a9 --- /dev/null +++ b/pages.it/common/docker-image.md @@ -0,0 +1,21 @@ +# docker image + +> Gestisci immagini Docker. +> Vedi anche `docker build`, `docker import` e `docker pull`. +> Maggiori informazioni: . + +- Elenca tutte le immagini Docker locali: + +`docker image ls` + +- Elimina le immagini Docker locali inutilizzate: + +`docker image prune` + +- Cancella tutte le immagini inutilizzate (non solo quelle sprovviste di tag): + +`docker image prune --all` + +- Mostra la cronologia di un'immagine Docker locale: + +`docker image history {{immagine}}` diff --git a/pages.it/common/docker-images.md b/pages.it/common/docker-images.md index f012b9c2254e56..db258535048729 100644 --- a/pages.it/common/docker-images.md +++ b/pages.it/common/docker-images.md @@ -1,7 +1,7 @@ # docker images > Gestisci immagini Docker. -> Maggiori informazioni: . +> Maggiori informazioni: . - Elenca tutte le immagini Docker: @@ -9,12 +9,12 @@ - Elenca tutte le immagini Docker incluse quelle intermedie: -`docker images -a` +`docker images {{[-a|--all]}}` - Elenca in modalità silenziosa (solo gli ID numerici): -`docker images -q` +`docker images {{[-q|--quiet]}}` - Elenca tutte le immagini Docker che non sono usate da alcun container: -`docker images --filter dangling=true` +`docker images {{[-f|--filter]}} dangling=true` diff --git a/pages.it/common/docker-inspect.md b/pages.it/common/docker-inspect.md new file mode 100644 index 00000000000000..9054734f05de65 --- /dev/null +++ b/pages.it/common/docker-inspect.md @@ -0,0 +1,32 @@ +# docker inspect + +> Mostra informazioni a basso livello di oggetti Docker. +> Maggiori informazioni: . + +- Mostra aiuto: + +`docker inspect` + +- Mostra informazioni su un container, immagine o volume usando un nome o un identificativo (ID): + +`docker inspect {{nome_container|nome_immagine|ID}}` + +- Mostra l'indirizzo IP di un container: + +`docker inspect {{[-f|--format]}} '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{nome_container}}` + +- Mostra il percorso dei file di log di un container: + +`docker inspect {{[-f|--format]}} '\{\{.LogPath\}\}' {{nome_container}}` + +- Mostra il nome dell'immagine di un container: + +`docker inspect {{[-f|--format]}} '\{\{.Config.Image\}\}' {{nome_container}}` + +- Mostra le informazioni di configurazione in formato JSON: + +`docker inspect {{[-f|--format]}} '\{\{json .Config\}\}' {{nome_container}}` + +- Mostra il binding di tutte le porte: + +`docker inspect {{[-f|--format]}} '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{nome_container}}` diff --git a/pages.it/common/docker-logs.md b/pages.it/common/docker-logs.md new file mode 100644 index 00000000000000..972aea995f90c3 --- /dev/null +++ b/pages.it/common/docker-logs.md @@ -0,0 +1,24 @@ +# docker logs + +> Mostra i log di un container. +> Maggiori informazioni: . + +- Mostra i log di un container: + +`docker logs {{nome_container}}` + +- Segui i log di un container: + +`docker logs {{[-f|--follow]}} {{nome_container}}` + +- Mostra le ultime 5 righe: + +`docker logs {{nome_container}} {{[-n|--tail]}} {{5}}` + +- Mostra i log mettendo un timestamp in coda: + +`docker logs {{[-t|--timestamps]}} {{nome_container}}` + +- Mostra i log avvenuti prima di un dato momento nell'esecuzione del container (ad esempio, 23m, 10s, 2013-01-02T13:23:37): + +`docker logs {{nome_container}} --until {{momento}}` diff --git a/pages.it/common/docker-machine.md b/pages.it/common/docker-machine.md index 928348c3e3c201..a6607466f2c3ad 100644 --- a/pages.it/common/docker-machine.md +++ b/pages.it/common/docker-machine.md @@ -1,7 +1,7 @@ # docker-machine > Crea e gestisci macchine che utilizzano Docker. -> Maggiori informazioni: . +> Maggiori informazioni: . - Elenca macchine Docker in esecuzione: diff --git a/pages.it/common/docker-network.md b/pages.it/common/docker-network.md new file mode 100644 index 00000000000000..e6304c293ab455 --- /dev/null +++ b/pages.it/common/docker-network.md @@ -0,0 +1,32 @@ +# docker network + +> Crea e gestisci reti docker. +> Maggiori informazioni: . + +- Elenca le reti disponibili configurate sul Docker daemon: + +`docker network ls` + +- Crea una rete definita da un utente: + +`docker network create {{[-d|--driver]}} {{nome_del_driver}} {{nome_rete}}` + +- Mostra informazioni dettagliate su una lista di reti (separata da spazi): + +`docker network inspect {{nome_rete_1 nome_rete_2}}` + +- Connetti un container ad una rete usando il suo nome o ID: + +`docker network connect {{nome_rete}} {{nome_container|ID}}` + +- Disconnetti un container da una rete: + +`docker network disconnect {{nome_rete}} {{nome_container|ID}}` + +- Elimina le reti inutilizzate (non referenziate da alcun container): + +`docker network prune` + +- Elimina una lista di reti (separata da spazi) inutilizzate: + +`docker network rm {{nome_rete_1 nome_rete_2}}` diff --git a/pages.it/common/docker.md b/pages.it/common/docker.md index e075799fd680dc..33d51425cd4812 100644 --- a/pages.it/common/docker.md +++ b/pages.it/common/docker.md @@ -1,15 +1,12 @@ # docker > Gestisci container ed immagini Docker. -> Maggiori informazioni: . - -- Elenca i container Docker attualmente in esecuzione: - -`docker ps` +> Alcuni comandi aggiuntivi, come `run`, hanno la propria documentazione. +> Maggiori informazioni: . - Elenca tutti i container Docker (in esecuzione e arrestati): -`docker ps -a` +`docker ps {{[-a|--all]}}` - Avvia un container da una immagine, con un nome personalizzato: @@ -25,7 +22,7 @@ - Avvia una shell all'interno di un container in esecuzione: -`docker exec -it {{nome_container}} {{sh}}` +`docker exec {{[-it|--interactive --tty]}} {{nome_container}} {{sh}}` - Rimuovi un container arrestato: @@ -33,4 +30,4 @@ - Ottieni e visualizza i log di un container: -`docker logs -f {{nome_container}}` +`docker logs {{[-f|--follow]}} {{nome_container}}` diff --git a/pages.it/common/dokku.md b/pages.it/common/dokku.md index 28fcfe5ae2fa97..1b65436bfe5164 100644 --- a/pages.it/common/dokku.md +++ b/pages.it/common/dokku.md @@ -2,7 +2,7 @@ > Mini-Heroku basato su Docker (PaaS, Platform As A Service). > Distribuisci facilmente molteplici app sul tuo server in diversi linguaggi utilizzando un singolo comando `git-push`. -> Maggiori informazioni: . +> Maggiori informazioni: . - Elenca app in esecuzione: diff --git a/pages.it/common/dot.md b/pages.it/common/dot.md index 2986fe87e4d300..c2f12fdbef7cb7 100644 --- a/pages.it/common/dot.md +++ b/pages.it/common/dot.md @@ -1,11 +1,12 @@ # dot > Strumento da linea di comando per produrre disegni a livelli di grafi orientati. +> Maggiori informazioni: . - Renderizza un'immagine determinando il nome del file di output dal nome del file di input ed il formato: -`dot -Tpng -O {{percorso/al/file.dot}}` +`dot -Tpng -O {{percorso/del/file.dot}}` - Crea una SVG da un file DOT: -`dot -Tsvg -o {{percorso/al/file_output.svg}} {{percorso/al/file.dot}}` +`dot -Tsvg -o {{percorso/del/file_output.svg}} {{percorso/del/file.dot}}` diff --git a/pages.it/common/dotnet.md b/pages.it/common/dotnet.md index a5a7396cd4d030..8b9fceed93fa2c 100644 --- a/pages.it/common/dotnet.md +++ b/pages.it/common/dotnet.md @@ -1,7 +1,8 @@ # dotnet > Strumenti .NET da linea di comando multipiattaforma per .NET Core. -> Maggiori informazioni: . +> Alcuni comandi aggiuntivi, come `build`, hanno la propria documentazione. +> Maggiori informazioni: . - Inizializza un nuovo progetto .NET: @@ -17,4 +18,4 @@ - Esegui una applicazione dotnet pacchettizzata (solo il runtime è necessario, il resto dei comandi richiedono .NET Core SDK): -`dotnet {{percorso/a/applicazione.dll}}` +`dotnet {{percorso/della/applicazione.dll}}` diff --git a/pages.it/common/doxygen.md b/pages.it/common/doxygen.md index 05a894507dcc2e..ccd07cc07c9caa 100644 --- a/pages.it/common/doxygen.md +++ b/pages.it/common/doxygen.md @@ -1,16 +1,16 @@ # doxygen > Un sistema di documentazione per diversi linguaggi di programmazione. -> Maggiori informazioni: . +> Maggiori informazioni: . -- Genera il modello di configurazione di default "Doxyfile": +- Genera il modello di configurazione di default `Doxyfile`: `doxygen -g` - Genera un modello di file di configurazione: -`doxygen -g {{percorso/a/file_config}}` +`doxygen -g {{percorso/del/file_config}}` - Genera la documentazione utilizzando un file di configurazione esistente: -`doxygen {{percorso/a/file_config}}` +`doxygen {{percorso/del/file_config}}` diff --git a/pages.it/common/drill.md b/pages.it/common/drill.md index aeba665ec3694d..d153e7de4d04f6 100644 --- a/pages.it/common/drill.md +++ b/pages.it/common/drill.md @@ -1,6 +1,7 @@ # drill > Esegui varie query DNS. +> Maggiori informazioni: . - Mostra gli IP associati ad un hostname (record A): diff --git a/pages.it/common/du.md b/pages.it/common/du.md index 8f5df2e58eb71b..f4e6a21b3dc242 100644 --- a/pages.it/common/du.md +++ b/pages.it/common/du.md @@ -1,27 +1,28 @@ # du > Utilizzo del disco: stima e riassumi lo spazio utilizzato da file e directory. +> Maggiori informazioni: . -- Elenca le dimensioni di una directory ed ogni sotto-directory, nell'unità specificata (B/KB/MB): +- Elenca le dimensioni di una directory ed ogni sotto-directory, nell'unità specificata (B/KiB/MiB): -`du -{{b|k|m}} {{percorso/alla/directory}}` +`du -{{b|k|m}} {{percorso/della/directory}}` - Elenca le dimensioni di una directory ed ogni sotto-directory, in formato umanamente leggibile (seleziona automaticamente l'unità appropriata per ogni dimensione): -`du -h {{percorso/alla/directory}}` +`du -h {{percorso/della/directory}}` - Mostra la dimensione di una singola directory, in unità umanamente leggibili: -`du -sh {{percorso/alla/directory}}` +`du {{[-sh|--summarize --human-readable]}} {{percorso/della/directory}}` - Mostra in formato umanamente leggibile le dimensioni di una directory e tutti i file e directory in essa contenuti: -`du -ah {{percorso/alla/directory}}` +`du {{[-ah|--all --human-readable]}} {{percorso/della/directory}}` - Elenca le dimensioni umanamente leggibili di una directory e d ogni sotto-directory, fino ad N livelli di profondità: -`du -h --max-depth=N {{percorso/alla/directory}}` +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{percorso/della/directory}}` -- Mostra le dimensioni umanamente leggibili di tutti i file .jpg nelle sottocartelle della cartella corrente, e mostra il totale cumulativo alla fine: +- Mostra le dimensioni umanamente leggibili di tutti i file `.jpg` nelle sottodirectory della directory corrente, e mostra il totale cumulativo alla fine: -`du -ch */*.jpg` +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` diff --git a/pages.it/common/duplicity.md b/pages.it/common/duplicity.md index 016de2fc0bf8f6..668c13cc1839a5 100644 --- a/pages.it/common/duplicity.md +++ b/pages.it/common/duplicity.md @@ -2,15 +2,15 @@ > Crea archivi incrementali, compressi, cifrati con controllo di versione. > Può caricare i backup su una varietà di servizi backend. -> Maggiori informazioni: . +> Maggiori informazioni: . - Esegui il backup di una directory via FTPS su una macchina remota, cifrandolo con una password: -`FTP_PASSWORD={{password_login_ftp}} PASSPHRASE={{password_cifratura}} duplicity {{percorso/a/cartella_sorgente}} {{ftps://utente@hostname/percorso/a/cartella_target/}}` +`FTP_PASSWORD={{password_login_ftp}} PASSPHRASE={{password_cifratura}} duplicity {{percorso/della/directory_sorgente}} {{ftps://utente@hostname/percorso/della/directory_target/}}` - Esegui il backup di una directory in un server Amazon S3, facendo un backup completo ogni mese: -`duplicity --full-if-older-than {{1M}} --use-new-style s3://{{nome_bucket[/prefisso]}}` +`duplicity --full-if-older-than {{1M}} s3://{{nome_bucket[/prefisso]}}` - Elimina le versioni più vecchie di un anno da un backup salvato in un server WebDAV: @@ -18,12 +18,12 @@ - Elenca i backup disponibili: -`duplicity collection-status "file://{{percorso/assoluto/a/directory/di/backup}}"` +`duplicity collection-status "file://{{percorso/assoluto/della/directory/di/backup}}"` - Elenca i file in un backup salvato su una macchina remota, via SSH: -`duplicity list-current-files --time {{YYYY-MM-DD}} scp://{{utente@hostname}}/percorso/a/directory/backup` +`duplicity list-current-files --time {{YYYY-MM-DD}} scp://{{utente@hostname}}/{{percorso/della/directory/backup}}` - Ripristina una sotto-directory da un backup locale cifrato con GnuPG in una posizione precisa: -`PASSPHRASE={{password_chiave_gpg}} duplicity restore --encrypt-key {{id_chiave_gpg}} --file-to-restore {{percorso/relativo/sotto_directory}} file://{{percorso/assoluto/a/directory/di/backup}} {{percorso/a/directory/dove/ripristinare}}` +`PASSPHRASE={{password_chiave_gpg}} duplicity restore --encrypt-key {{id_chiave_gpg}} --path-to-restore {{percorso/relativo/sotto_directory}} file://{{percorso/assoluto/della/directory/di/backup}} {{percorso/della/directory/dove/ripristinare}}` diff --git a/pages.it/common/ebook-convert.md b/pages.it/common/ebook-convert.md index 614dcfeae44387..7a86b401541fbe 100644 --- a/pages.it/common/ebook-convert.md +++ b/pages.it/common/ebook-convert.md @@ -1,9 +1,9 @@ # ebook-convert -> Converti ebook in differenti formati, come PDF, EPUB, Mobi. -> Parte dello strumento Calibre per librerie ebook. +> Converti e-book in differenti formati, come PDF, EPUB, Mobi. +> Parte dello strumento Calibre per librerie e-book. > Maggiori informazioni: . -- Converti un ebook in un altro formato: +- Converti un e-book in un altro formato: -`ebook-convert {{originale}} {{convertito}}` +`ebook-convert {{percorso/del/file_input}} {{file_output}}` diff --git a/pages.it/common/echo.md b/pages.it/common/echo.md index b3c4a8b2a13e4e..e7995655437db7 100644 --- a/pages.it/common/echo.md +++ b/pages.it/common/echo.md @@ -1,6 +1,7 @@ # echo > Stampa a schermo gli argomenti forniti. +> Maggiori informazioni: . - Stampa un messaggio di testo. Nota: le virgolette sono opzionali: diff --git a/pages.it/common/ect.md b/pages.it/common/ect.md index 40129a0902f220..5778c1c67720c6 100644 --- a/pages.it/common/ect.md +++ b/pages.it/common/ect.md @@ -1,16 +1,16 @@ # ect -> Efficiente Tool di Compressione (o ECT) è un ottimizzatore di file scritto in C++. Supporta file PNG, JPEG, GZIP e ZIP. +> Efficiente Tool di Compressione (o ECT) è un ottimizzatore di file scritto in C++. Supporta file PNG, JPEG, gzip e Zip. > Maggiori informazioni: . - Comprimi un file: `ect {{file.png}}` -- Comprimi un file con il massimo livello di compressione utilizzanto più thread: +- Comprimi un file con il massimo livello di compressione utilizzando più thread: `ect -9 --mt-deflate {{file.png}}` - Comprimi tutti i file in una directory ricorsivamente, mantenendo la data di modifica originale: -`ect -keep -recurse {{percorso/a/directory}}` +`ect -keep -recurse {{percorso/della/directory}}` diff --git a/pages.it/common/ed.md b/pages.it/common/ed.md index 37adc8eb998c5a..36413f903859db 100644 --- a/pages.it/common/ed.md +++ b/pages.it/common/ed.md @@ -1,6 +1,7 @@ # ed > L'originale editor di testo Unix. +> Maggiori informazioni: . - Avvia ed per editare un documento vuoto (che può essere salvato come nuovo file nella directory corrente): @@ -8,11 +9,11 @@ - Avvia ed per editare un documento vuoto, con `:` come indicatore del prompt di comandi: -`ed -p :` +`ed {{[-p|--prompt]}} :` - Avvia ed per editare un file esistente (mostra il numero di byte del file caricato): -`ed -p : {{percorso/al/file}}` +`ed {{[-p|--prompt]}} : {{percorso/del/file}}` - Attiva o disattiva la stampa di spiegazioni per gli errori (di default, le spiegazioni non sono stampate ed appare solo un `?`): @@ -32,4 +33,4 @@ - Termina ed: -`q` +`q` diff --git a/pages.it/common/elinks.md b/pages.it/common/elinks.md index e4b2022b2f2298..41db5de2a353d9 100644 --- a/pages.it/common/elinks.md +++ b/pages.it/common/elinks.md @@ -1,7 +1,7 @@ # elinks > Un browser testuale simile a lynx. -> Maggiori informazioni: . +> Maggiori informazioni: . - Avvia elinks: @@ -9,7 +9,7 @@ - Termina elinks: -`Ctrl + C` +`` - Stampa l'output di una pagina web nella console, colorando il testo con codici di controllo ANSI: diff --git a/pages.it/common/elm.md b/pages.it/common/elm.md index 33e25c2aefc14b..80b1a04ac1dec8 100644 --- a/pages.it/common/elm.md +++ b/pages.it/common/elm.md @@ -3,7 +3,7 @@ > Compila ed esegui file sorgente Elm. > Maggiori informazioni: . -- Inizializza un progetto Elm, generando un file elm.json: +- Inizializza un progetto Elm, generando un file `elm.json`: `elm init` @@ -11,7 +11,7 @@ `elm repl` -- Compila un file Elm, scrivendo il risultato in un file index.html: +- Compila un file Elm, scrivendo il risultato in un file `index.html`: `elm make {{sorgente}}` @@ -23,6 +23,6 @@ `elm reactor` -- Installa un pacchetto Elm da https://package.elm-lang.org: +- Installa un pacchetto Elm da : `elm install {{author}}/{{package}}` diff --git a/pages.it/common/emacs.md b/pages.it/common/emacs.md index 3386ce7baffd81..0092db20219d85 100644 --- a/pages.it/common/emacs.md +++ b/pages.it/common/emacs.md @@ -5,7 +5,7 @@ - Avvia emacs in modalità console (senza finestra X): -`emacs -nw` +`emacs {{[-nw|--no-window-system]}}` - Apri un file in emacs: @@ -13,4 +13,4 @@ - Esci da emacs (salva i buffer e termina): -`Ctrl + X, Ctrl + C` +`` diff --git a/pages.it/common/emacsclient.md b/pages.it/common/emacsclient.md index aea002f3b95ef9..b15712ca2295c9 100644 --- a/pages.it/common/emacsclient.md +++ b/pages.it/common/emacsclient.md @@ -1,9 +1,9 @@ # emacsclient > Apri file in un server emacs esistente. -> Maggiori informazioni: . +> Maggiori informazioni: . -- Apri un file in un server Emacs esistene (utilizzando la GUI se disponibile): +- Apri un file in un server Emacs esistente (utilizzando la GUI se disponibile): `emacsclient {{nome_file}}` diff --git a/pages.it/common/enca.md b/pages.it/common/enca.md index 10ca63e854eb3b..bea0e86c93e216 100644 --- a/pages.it/common/enca.md +++ b/pages.it/common/enca.md @@ -15,6 +15,6 @@ `enca -L {{linguaggio}} -x {{encoding}} {{file1 file2 ...}}` -- Crea una copia di un file esistente utilizznado un encoding diverso: +- Crea una copia di un file esistente utilizzando un encoding diverso: `enca -L {{linguaggio}} -x {{encoding_finale}} < {{file_originale}} > {{nuovo_file}}` diff --git a/pages.it/common/enscript.md b/pages.it/common/enscript.md index 16254d716dcddd..6d5933e3640b1b 100644 --- a/pages.it/common/enscript.md +++ b/pages.it/common/enscript.md @@ -5,15 +5,15 @@ - Genera un file PostScript da un file di testo: -`enscript {{percorso/a/file_input}} --output={{percorso/a/file_output}}` +`enscript {{percorso/del/file_input}} --output={{percorso/del/file_output}}` - Genera un file in un linguaggio differente da PostScript: -`enscript {{percorso/a/file_input}} --language={{linguaggio}} --output={{percorso/a/file_output}}` +`enscript {{percorso/del/file_input}} --language={{linguaggio}} --output={{percorso/del/file_output}}` - Genera un file PostScript con layout orizzontale, dividendo la pagina in colonne (massimo 9): -`enscript {{percorso/a/file_input}} --columns={{numero_colonne}} --landscape --output={{percorso/a/file_output}}` +`enscript {{percorso/del/file_input}} --columns={{numero_colonne}} --landscape --output={{percorso/del/file_output}}` - Mostra linguaggi e formati file disponibili per evidenziare la sintassi: @@ -21,4 +21,4 @@ - Genera un file PostScript con evidenziazione della sintassi e colori per uno specifico linguaggio: -`enscript {{percorso/a/file_input}} --color=1 --highlight={{linguaggio}} --output={{percorso/a/file_output}}` +`enscript {{percorso/del/file_input}} --color=1 --highlight={{linguaggio}} --output={{percorso/del/file_output}}` diff --git a/pages.it/common/entr.md b/pages.it/common/entr.md index f923d10ab23095..916f45015050fc 100644 --- a/pages.it/common/entr.md +++ b/pages.it/common/entr.md @@ -1,12 +1,13 @@ # entr > Esegui comandi arbitrari al cambiamento di file. +> Maggiori informazioni: . - Ricompila con `make` se qualsiasi file in quasiasi sottodirectory cambia: `{{ag -l}} | entr {{make}}` -- Ricompila e testa con `make` se qualsiasi file sorgente `.c` nella cartella corrente cambia: +- Ricompila e testa con `make` se qualsiasi file sorgente `.c` nella directory corrente cambia: `{{ls *.c}} | entr {{'make && make test'}}` diff --git a/pages.it/common/env.md b/pages.it/common/env.md index 1b3c1d8ace553b..e91e3d4229ba63 100644 --- a/pages.it/common/env.md +++ b/pages.it/common/env.md @@ -1,6 +1,7 @@ # env > Mostra le variabili d'ambiente o esegui un programma in un ambiente modificato. +> Maggiori informazioni: . - Mostra le variabili d'ambiente: diff --git a/pages.it/common/envsubst.md b/pages.it/common/envsubst.md index 1b1d5745ce5de1..f9031fa89c5a2f 100644 --- a/pages.it/common/envsubst.md +++ b/pages.it/common/envsubst.md @@ -2,6 +2,7 @@ > Sostituisci variabili di ambiente con il loro valore in stringhe di formato della shell. > Le variabili da sostituire devono essere nella forma `${var}` oppure `$var`. +> Maggiori informazioni: . - Sostituisci variabili di ambiente in `stdin` e stampa l'output su `stdout`: @@ -9,12 +10,12 @@ - Sostituisci variabili di ambiente in un file input e stampa l'output su `stdout`: -`envsubst < {{percorso/a/file_input}}` +`envsubst < {{percorso/del/file_input}}` - Sostituisci variabili di ambiente in un file input e scrivi l'output su un file: -`envsubst < {{percorso/a/file_input}} > {{percorso/a/file_output}}` +`envsubst < {{percorso/del/file_input}} > {{percorso/del/file_output}}` - Sostituisci in un file input le variabili di ambiente specificate in una lista separata da spazi: -`envsubst {{$USER $HOME $SHELL}} < {{percorso/a/file_input}}` +`envsubst '{{$USER $HOME $SHELL}}' < {{percorso/del/file_input}}` diff --git a/pages.it/common/erl.md b/pages.it/common/erl.md index 855da2b7597cd0..d6ee5347cd782d 100644 --- a/pages.it/common/erl.md +++ b/pages.it/common/erl.md @@ -13,4 +13,4 @@ - Fai caricare alla shell Erlang dei moduli da una directory: -`erl -pa {{cartella_con_file_beam}}` +`erl -pa {{directory_con_file_beam}}` diff --git a/pages.it/common/eslint.md b/pages.it/common/eslint.md index 166fe6473e1823..09843e530a3ced 100644 --- a/pages.it/common/eslint.md +++ b/pages.it/common/eslint.md @@ -9,7 +9,7 @@ - Esegui il linting di un dato set di file: -`eslint {{file1.js file2.js}}` +`eslint {{percorso/del/file1.js percorso/del/file2.js ...}}` - Risolvi gli errori di linting: @@ -17,4 +17,4 @@ - Esegui il linting utilizzando un determinato file di configurazione: -`eslint -c {{percorso/a/file_config}} {{app/src}}` +`eslint -c {{percorso/del/file_config}} {{percorso/del/file1.js percorso/del/file2.js ...}}` diff --git a/pages.it/common/espeak.md b/pages.it/common/espeak.md index fb221bef56eb66..8133476f767ecf 100644 --- a/pages.it/common/espeak.md +++ b/pages.it/common/espeak.md @@ -1,7 +1,7 @@ # espeak > Usa la sintesi vocale per parlare tramite il dispositivo audio di output predefinito. -> Maggiori informazioni: . +> Maggiori informazioni: . - Pronuncia una frase ad alta voce: diff --git a/pages.it/common/exa.md b/pages.it/common/exa.md index f99462f3cd0c90..63e386650df4bc 100644 --- a/pages.it/common/exa.md +++ b/pages.it/common/exa.md @@ -1,28 +1,28 @@ # exa > Un moderno sostituto per `ls` (elenca i contenuti di una directory). -> Maggiori informazioni: . +> Maggiori informazioni: . - Elenca i file nella directory corrente, uno per riga: -`exa --oneline` +`exa {{[-1|--oneline]}}` - Elenca tutti i file, inclusi quelli nascosti: -`exa --all` +`exa {{[-a|--all]}}` - Elenca tutti i file e mostra informazioni (permessi, dimensione e data di ultima modifica): -`exa --long --all` +`exa {{[-l|--long]}} {{[-a|--all]}}` - Elenca i file, ordinandoli per dimensione decrescente: -`exa --reverse --sort={{size}}` +`exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` - Mostra un albero dei file con 3 livelli di profondità: -`exa --long --tree --level={{3}}` +`exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}` - Elenca i file e mostra informazioni, ordinandoli per ultima modifica (più vechci prima): -`exa --long --sort={{modified}}` +`exa {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` diff --git a/pages.it/common/exec.md b/pages.it/common/exec.md index 2500f28fdaae44..e60a1ac83baefe 100644 --- a/pages.it/common/exec.md +++ b/pages.it/common/exec.md @@ -1,6 +1,7 @@ # exec > Sostituisci il processo corrente con un altro. +> Maggiori informazioni: . - Sostituisci con il comando specificato utilizzando le variabili di ambiente correnti: diff --git a/pages.it/common/exiftool.md b/pages.it/common/exiftool.md index da2eb563a7b1d2..381faac750f4b9 100644 --- a/pages.it/common/exiftool.md +++ b/pages.it/common/exiftool.md @@ -1,7 +1,7 @@ # exiftool > Leggi e scrivi metadati nei file. -> Maggiori informazioni: . +> Maggiori informazioni: . - Rimuovi tutti i metadati EXIF dai file specificati: @@ -9,7 +9,7 @@ - Muovi avanti di 1 ora la data in cui sono state scattate tutte le foto contenute in una directory: -`exiftool "-AllDates+=0:0:0 1:0:0" {{percorso/a/directory}}` +`exiftool "-AllDates+=0:0:0 1:0:0" {{percorso/della/directory}}` - Muovi indietro di 1 giorno e 2 ore la data in cui sono state scattate tutte le immagini JPEG: @@ -21,4 +21,4 @@ - Rinomina ricorsivamente tutti i file JPEG in una directory in base al campo `DateTimeOriginal`: -`exiftool '-filename Converti caratteri tab in spazi. +> Maggiori informazioni: . - Converti tab in un file in spazi, scrivendo su standard output: @@ -14,10 +15,10 @@ `expand -i {{file}}` -- Sostituisci i tab con un determinato numeroo di spazi, non 8 (default): +- Sostituisci i tab con un determinato numero di spazi, non 8 (default): -`expand -t={{numero_spazi}} {{file}}` +`expand -t {{numero_spazi}} {{file}}` - Utilizza una lista separata da virgole di posizioni esplicite di tab: -`expand -t={{1,4,6}}` +`expand -t {{1,4,6}}` diff --git a/pages.it/common/fastboot.md b/pages.it/common/fastboot.md index fa9e0ce2acd01b..78755fbd3200e4 100644 --- a/pages.it/common/fastboot.md +++ b/pages.it/common/fastboot.md @@ -1,7 +1,7 @@ # fastboot -> Comunica con il dispositivo Android connessione quando in modalità bootloader (la situazione in cui `adb` non funziona). -> Maggiori informazioni: . +> Comunica con il dispositivo Android connessione quando in modalità bootloader (la situazione in cui `adb` non funziona). +> Maggiori informazioni: . - Sblocca il bootloader: @@ -17,7 +17,7 @@ - Esegue in Flash di una data immagine: -`fastboot flash {{file.zip}}` +`fastboot flash {{file.img}}` - Esegue il Flash di una recovery image personalizzata: diff --git a/pages.it/common/ffmpeg.md b/pages.it/common/ffmpeg.md index 26ef4bb619616d..ba0aa06c839fd7 100644 --- a/pages.it/common/ffmpeg.md +++ b/pages.it/common/ffmpeg.md @@ -5,32 +5,28 @@ - Estrai l'audio da un video e salvalo come MP3: -`ffmpeg -i {{video.mp4}} -vn {{audio}}.mp3` +`ffmpeg -i {{percorso/del/video.mp4}} -vn {{percorso/del/audio}}.mp3` -- Converti i fotogrammi di un video o una GIF in una serie di immagini numerate: +- Sequenzia immagini numerate (`foto_1.jpg`, `foto_2.jpg`, ecc) per creare un video o una GIF: -`ffmpeg -i {{video.mpg|video.gif}} {{foto_%d.png}}` +`ffmpeg -i {{percorso/del/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` -- Sequenzia immagini numerate (foto_1.jpg, foto_2.jpg, ecc) per creare un video o una GIF: +- Estrai un singolo fotogramma da un video al timestamp mm:ss e salvalo come immagine di dimensioni 128x128: -`ffmpeg -i {{frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` - -- Estrai un singolo fotogramma da un video al timestamp mm:ss e salvalo come immagine di dimensioni 128x128 - -`ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -frames 1 -s {{128x128}} -f image2 {{image.png}}` +`ffmpeg -ss {{mm:ss}} -i {{percorso/del/video.mp4}} -frames 1 -s {{128x128}} -f image2 {{percorso/del/image.png}}` - Taglia un video da un momento iniziale mm:ss a un momento finale mm:ss (rimuovi la flag -to per tagliare fino alla fine): -`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{video.mp4}} -codec copy {{output.mp4}}` +`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{percorso/del/video.mp4}} {{[-c|-codec]}} copy {{percorso/del/output.mp4}}` - Converti un video AVI a MP4. Audio AAC a 128kbit, video h264 a CRF 23: -`ffmpeg -i {{input_video}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{output_video}}.mp4` +`ffmpeg -i {{percorso/del/input_video}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{percorso/del/output_video}}.mp4` - Effettua un remux di un video MKV a MP4 senza re-encodare gli stream audio o video: -`ffmpeg -i {{input_video}}.mkv -codec copy {{output_video}}.mp4` +`ffmpeg -i {percorso/del/{input_video}}.mkv {{[-c|-codec]}} copy {{percorso/del/output_video}}.mp4` -- Converti un video MP4 a codec VP9. Per ottenere la migliore qualità possibile, usa un valore di CRF (consigliabile tra 15-35) e -b:video DEVE essere 0: +- Converti un video MP4 a codec VP9. Per ottenere la migliore qualità possibile, usa un valore di CRF (consigliabile tra 15-35) e -b:v DEVE essere 0: -`ffmpeg -i {{input_video}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{number_of_threads}} {{output_video}}.webm` +`ffmpeg -i {{percorso/del/input_video}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{number_of_threads}} {{percorso/del/output_video}}.webm` diff --git a/pages.it/common/ffprobe.md b/pages.it/common/ffprobe.md index 3b0c17b453f1b7..e27da2ff2c2fe2 100644 --- a/pages.it/common/ffprobe.md +++ b/pages.it/common/ffprobe.md @@ -5,7 +5,7 @@ - Visualizza tutte le informazioni disponibili sui flussi di un file multimediale (audio, video, immagini, etc): -`ffprobe -v error -show_entries {{file.mp4}}` +`ffprobe -v error -show_streams {{file.mp4}}` - Visualizza la durata del contenuto: diff --git a/pages.it/common/file.md b/pages.it/common/file.md new file mode 100644 index 00000000000000..aff63ffdfd8c41 --- /dev/null +++ b/pages.it/common/file.md @@ -0,0 +1,24 @@ +# file + +> Determina il tipo di file. +> Maggiori informazioni: . + +- Fornisce una descrizione del tipo di file specificato. Funziona anche con file senza estensione: + +`file {{nome_file}}` + +- Controlla dentro un file zip e determina il tipo dei file in esso contenuti: + +`file {{[-z|--uncompress]}} {{foo.zip}}` + +- Permette a `file` di leggere file speciali o di dispositivo: + +`file {{[-s|--special-files]}} {{nome_file}}` + +- Non si limita al primo tipo di file trovato; continua a leggere il file fino alla fine: + +`file {{[-k|--keep-going]}} {{nome_file}}` + +- Determina il tipo MIME di un file: + +`file {{[-i|--mime]}} {{nome_file}}` diff --git a/pages.it/common/flac.md b/pages.it/common/flac.md index ae64591f1c1a90..568a6c14a173db 100644 --- a/pages.it/common/flac.md +++ b/pages.it/common/flac.md @@ -5,16 +5,16 @@ - Converte un file wav in un file flac (questo creerà un file flac nella medesima posizione del file wav): -`flac {{percorso/al/file.wav}}` +`flac {{percorso/del/file.wav}}` - Codifica un file wav in flac, specificando il nome del risultato: -`flac -o {{percorso/al/file_compresso.flac}} {{percorso/al/file_originale.wav}}` +`flac {{[-o|--output-name]}} {{percorso/del/file_compresso.flac}} {{percorso/del/file_originale.wav}}` - Decodifica un file wav in flac, specificando il nome del risultato: -`flac -d -o {{percorso/al/file_decompresso.wav}} {{percorso/al/file_originale.flac}}` +`flac {{[-d|--decode]}} {{[-o|--output-name]}} {{percorso/del/file_decompresso.wav}} {{percorso/del/file_originale.flac}}` - Controlla che un file flac sia codificato correttamente: -`flac -t {{percorso/al/file.flac}}` +`flac {{[-t|--test]}} {{percorso/del/file.flac}}` diff --git a/pages.it/common/flake8.md b/pages.it/common/flake8.md new file mode 100644 index 00000000000000..181b2fde763856 --- /dev/null +++ b/pages.it/common/flake8.md @@ -0,0 +1,20 @@ +# flake8 + +> Programma per verificare lo stile e la qualità di un codice Python. +> Maggiori informazioni: . + +- Analizza ricorsivamente un file o una directory: + +`flake8 {{percorso/del/file_o_directory}}` + +- Analizza ricorsivamente un file o una directory e mostra le righe contenenti errori: + +`flake8 --show-source {{percorso/del/file_o_directory}}` + +- Analizza ricorsivamente un file o una directory e ignora la lista delle regole specificate. (La lista con tutte le regole è consultabile su flake8rules.com): + +`flake8 --ignore {{regola1,regola2}} {{percorso/del/file_o_directory}}` + +- Analizza ricorsivamente un file o una directory ma esclude i file che corrispondono a una sottostringa o a un glob: + +`flake8 --exclude {{sottostringa1,glob2}} {{percorso/del/file_o_directory}}` diff --git a/pages.it/common/fmt.md b/pages.it/common/fmt.md index 731f4e00aef746..5f12bbd151c0ec 100644 --- a/pages.it/common/fmt.md +++ b/pages.it/common/fmt.md @@ -1,19 +1,20 @@ # fmt > Riformatta i paragrafi di un file di testo unendoli e limitando la larghezza delle righe a un dato numero di caratteri (di default 75). +> Maggiori informazioni: . - Riformatta un file: -`fmt {{percorso/al/file}}` +`fmt {{percorso/del/file}}` - Riformatta un file producendo linee di (al massimo) `n` caratteri: -`fmt -w {{n}} {{percorso/al/file}}` +`fmt -w {{n}} {{percorso/del/file}}` - Riformatta un file senza unire assieme le linee più corte della data larghezza: -`fmt -s {{percorso/al/file}}` +`fmt -s {{percorso/del/file}}` - Riformatta un file usando una spaziatura uniforme (1 spazio tra due parole e 2 spazi tra due paragrafi): -`fmt -u {{percorso/al/file}}` +`fmt -u {{percorso/del/file}}` diff --git a/pages.it/common/fossil-ci.md b/pages.it/common/fossil-ci.md new file mode 100644 index 00000000000000..4e9804331ce169 --- /dev/null +++ b/pages.it/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Questo comando è un alias per `fossil commit`. + +- Consulta la documentazione del comando originale: + +`tldr fossil commit` diff --git a/pages.it/common/fossil-forget.md b/pages.it/common/fossil-forget.md new file mode 100644 index 00000000000000..4288687b257b14 --- /dev/null +++ b/pages.it/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Questo comando è un alias per `fossil rm`. +> Maggiori informazioni: . + +- Consulta la documentazione del comando originale: + +`tldr fossil rm` diff --git a/pages.it/common/fossil-new.md b/pages.it/common/fossil-new.md new file mode 100644 index 00000000000000..76bf7941bdddad --- /dev/null +++ b/pages.it/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Questo comando è un alias per `fossil init`. + +- Consulta la documentazione del comando originale: + +`tldr fossil init` diff --git a/pages.it/common/fossil-rm.md b/pages.it/common/fossil-rm.md new file mode 100644 index 00000000000000..6bc2fc60233d8f --- /dev/null +++ b/pages.it/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Questo comando è un alias per `fossil delete`. + +- Consulta la documentazione del comando originale: + +`tldr fossil delete` diff --git a/pages.it/common/gh-cs.md b/pages.it/common/gh-cs.md new file mode 100644 index 00000000000000..c723afbefe78a8 --- /dev/null +++ b/pages.it/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Questo comando è un alias per `gh codespace`. + +- Consulta la documentazione del comando originale: + +`tldr gh codespace` diff --git a/pages.it/common/git-add.md b/pages.it/common/git-add.md index 62c3c25eedf3ef..17c409eba17693 100644 --- a/pages.it/common/git-add.md +++ b/pages.it/common/git-add.md @@ -5,20 +5,20 @@ - Aggiungi un file all'area di stage: -`git add {{percorso/al/file}}` +`git add {{percorso/del/file}}` - Aggiungi tutti i file (tracciati e non tracciati): -`git add -A` +`git add {{[-A|--all]}}` - Aggiungi solo i file già tracciati: -`git add -u` +`git add {{[-u|--update]}}` - Aggiungi anche i file ignorati: -`git add -f` +`git add {{[-f|--force]}}` - Aggiungi parti di un file in modo interattivo: -`git add -p {{percorso/al/file}}` +`git add {{[-p|--patch]}} {{percorso/del/file}}` diff --git a/pages.it/common/git-am.md b/pages.it/common/git-am.md index a4f114d37df8d4..3a4c85764a535f 100644 --- a/pages.it/common/git-am.md +++ b/pages.it/common/git-am.md @@ -6,12 +6,12 @@ - Applica un file di patch: -`git am {{percorso/al/file.patch}}` +`git am {{percorso/del/file.patch}}` - Interrompi l'applicazione di un file di patch: `git am --abort` -- Applica quanto possibile di un file di patch, salvando le parti non applicabili in file .rej: +- Applica quanto possibile di un file di patch, salvando le parti non applicabili in file `.rej`: -`git am --reject {{percorso/al/file.patch}}` +`git am --reject {{percorso/del/file.patch}}` diff --git a/pages.it/common/git-archive.md b/pages.it/common/git-archive.md index d555bb78c61d7d..3e6ac79300afd3 100644 --- a/pages.it/common/git-archive.md +++ b/pages.it/common/git-archive.md @@ -5,24 +5,24 @@ - Crea un archivio tar del contenuto in HEAD e stampa il risultato su standard output: -`git archive --verbose HEAD` +`git archive {{[-v|--verbose]}} HEAD` - Crea un archivio zip del contenuto in HEAD e stampa il risultato su standard output: -`git archive --verbose --format=zip HEAD` +`git archive {{[-v|--verbose]}} --format zip HEAD` - Come sopra, ma scrivi l'archivio zip su file: -`git archive --verbose --output={{percorso/al/file.zip}} HEAD` +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{percorso/del/file.zip}} HEAD` - Crea un archivio tar dell'ultimo commit sul ramo specificato: -`git archive --output={{percorso/al/file.tar}} {{nome_ramo}}` +`git archive {{[-o|--output]}} {{percorso/del/file.tar}} {{nome_ramo}}` -- Crea un archivio tar del contenuto di una specifica cartella: +- Crea un archivio tar del contenuto di una specifica directory: -`git archive --output={{percorso/al/file.tar}} HEAD:{{percorso/alla/directory}}` +`git archive {{[-o|--output]}} {{percorso/del/file.tar}} HEAD:{{percorso/della/directory}}` -- Anteponi un percorso ad ogni file cosí da archiviarlo in una cartella specifica: +- Anteponi un percorso ad ogni file cosí da archiviarlo in una directory specifica: -`git archive --output={{percorso/al/file.tar}} --prefix={{percorso/da/anteporre}}/ HEAD` +`git archive {{[-o|--output]}} {{percorso/del/file.tar}} --prefix {{percorso/da/anteporre}}/ HEAD` diff --git a/pages.it/common/git-blame.md b/pages.it/common/git-blame.md index c4de280024b1e3..5b20050674d824 100644 --- a/pages.it/common/git-blame.md +++ b/pages.it/common/git-blame.md @@ -9,4 +9,4 @@ - Stampa il contenuto di un file annotando ogni riga con l'hash del commit e l'indirizzo email dell'autore: -`git blame -e {{file}}` +`git blame {{[-e|--show-email]}} {{file}}` diff --git a/pages.it/common/git-branch.md b/pages.it/common/git-branch.md index ca3a7ecbc61b51..b2e15272c1b22c 100644 --- a/pages.it/common/git-branch.md +++ b/pages.it/common/git-branch.md @@ -9,7 +9,7 @@ - Elenca tutti i rami (locali e remoti): -`git branch -a` +`git branch {{[-a|--all]}}` - Crea un nuovo ramo a partire dal commit corrente: @@ -21,8 +21,8 @@ - Rinomina un ramo (non applicabile sul ramo corrente): -`git branch -m {{vecchio_nome}} {{nuovo_nome}}` +`git branch {{[-m|--move]}} {{vecchio_nome}} {{nuovo_nome}}` - Cancella un ramo locale (non applicabile sul ramo corrente): -`git branch -d {{nome_ramo}}` +`git branch {{[-d|--delete]}} {{nome_ramo}}` diff --git a/pages.it/common/git-bundle.md b/pages.it/common/git-bundle.md index 24cd50f370a33b..35675771b711eb 100644 --- a/pages.it/common/git-bundle.md +++ b/pages.it/common/git-bundle.md @@ -5,28 +5,28 @@ - Crea un file bundle che contiene tutti gli oggetti e riferimenti di un dato ramo: -`git bundle create {{percorso/al/file.bundle}} {{nome_ramo}}` +`git bundle create {{percorso/del/file.bundle}} {{nome_ramo}}` - Crea un file bundle di tutti i rami: -`git bundle create {{percorso/al/file.bundle}} --all` +`git bundle create {{percorso/del/file.bundle}} --all` - Crea un file bundle degli ultimi 5 commit sul ramo corrente: -`git bundle create {{percorso/al/file.bundle}} -{{5}} {{HEAD}}` +`git bundle create {{percorso/del/file.bundle}} -5 {{HEAD}}` - Crea un file bundle degli ultimi 7 giorni: -`git bundle create {{percorso/al/file.bundle}} --since={{7.days}} {{HEAD}}` +`git bundle create {{percorso/del/file.bundle}} --since=7.days {{HEAD}}` - Verifica che un file bundle sia valido e possa essere applicato al repository in uso: -`git bundle verify {{percorso/al/file.bundle}}` +`git bundle verify {{percorso/del/file.bundle}}` - Stampa su standard output la lista di riferimenti contenuti in un bundle: -`git bundle unbundle {{percorso/al/file.bundle}}` +`git bundle unbundle {{percorso/del/file.bundle}}` - Dato un file bundle, estrai un ramo specifico nel repository in uso: -`git pull {{percorso/al/file.bundle}} {{nome_ramo}}` +`git pull {{percorso/del/file.bundle}} {{nome_ramo}}` diff --git a/pages.it/common/git-check-ignore.md b/pages.it/common/git-check-ignore.md index 45226361df1566..c0b1a5cf8d6bb1 100644 --- a/pages.it/common/git-check-ignore.md +++ b/pages.it/common/git-check-ignore.md @@ -3,22 +3,22 @@ > Analizza ed esegui il debug di ".gitignore" e dei file esclusi. > Maggiori informazioni: . -- Verifica se un file o una cartella sono ignorati: +- Verifica se un file o una directory sono ignorati: -`git check-ignore {{percorso/al/file_o_cartella}}` +`git check-ignore {{percorso/del/file_o_directory}}` -- Verifica se più file o cartelle sono ignorati: +- Verifica se più file o directory sono ignorati: -`git check-ignore {{percorso/al/file}} {{percorso/alla/cartella}}` +`git check-ignore {{percorso/del/file_o_directory1 percorso/del/file_o_directory2 ...}}` -- Leggi i percorsi di file o cartelle da `stdin` (uno per riga) invece che dalla riga di comando: +- Leggi i percorsi di file o directory da `stdin` (uno per riga) invece che dalla riga di comando: -`git check-ignore --stdin < {{percorso/alla/lista_dei_file_o_cartelle}}` +`git check-ignore --stdin < {{percorso/della/lista_dei_file_o_directory}}` - Non controllare nell'indice (usato per determinare il motivo per cui alcuni percorsi non sono ignorati): -`git check-ignore --no-index {{percorsi/ai/file_o_cartelle}}` +`git check-ignore --no-index {{percorso/del/file_o_directory1 percorso/del/file_o_directory2 ...}}` - Includi dettagli sul pattern corrispondente per ogni percorso specificato: -`git check-ignore --verbose {{percorsi/ai/file_o_cartelle}}` +`git check-ignore {{[-v|--verbose]}} {{percorso/del/file_o_directory1 percorso/del/file_o_directory2 ...}}` diff --git a/pages.it/common/git-checkout.md b/pages.it/common/git-checkout.md index 7264d452ddc320..37d237088059ec 100644 --- a/pages.it/common/git-checkout.md +++ b/pages.it/common/git-checkout.md @@ -17,9 +17,9 @@ - Passa ad un ramo remoto esistente: -`git checkout --track {{nome_repository_remoto}}/{{nome_ramo}}` +`git checkout {{[-t|--track]}} {{nome_repository_remoto}}/{{nome_ramo}}` -- Annulla tutte le modifiche nella cartella corrente che non sono state aggiunte all'area di stage (vedi `git reset` per più comandi simili): +- Annulla tutte le modifiche nella directory corrente che non sono state aggiunte all'area di stage (vedi `git reset` per più comandi simili): `git checkout .` diff --git a/pages.it/common/git-cherry-pick.md b/pages.it/common/git-cherry-pick.md index 077b8f003f6ae8..08181f4dd610b3 100644 --- a/pages.it/common/git-cherry-pick.md +++ b/pages.it/common/git-cherry-pick.md @@ -14,8 +14,8 @@ - Applica un insieme di commit non sequenziali al ramo corrente: -`git cherry-pick {{commit_1}} {{commit_2}}` +`git cherry-pick {{commit_1 commit_2 ...}}` -- Aggiungi le modifiche introdotte da un commit alla cartella di lavoro, ma senza creare un nuovo commit: +- Aggiungi le modifiche introdotte da un commit alla directory di lavoro, ma senza creare un nuovo commit: -`git cherry-pick -n {{commit}}` +`git cherry-pick {{[-n|--no-commit]}} {{commit}}` diff --git a/pages.it/common/git-clean.md b/pages.it/common/git-clean.md index 1e1ac025b831ee..af07531a8da7ba 100644 --- a/pages.it/common/git-clean.md +++ b/pages.it/common/git-clean.md @@ -9,19 +9,19 @@ - Elimina in modo interattivo i file non tracciati da Git: -`git clean -i` +`git clean {{[-i|--interactive]}}` - Mostra quali file non tracciati sarebbero eliminati, senza però eliminarli davvero: -`git clean --dry-run` +`git clean {{[-n|--dry-run]}}` - Forza l'eliminazione dei file non tracciati da Git: -`git clean -f` +`git clean {{[-f|--force]}}` -- Forza l'eliminazione delle cartelle non tracciate da Git: +- Forza l'eliminazione delle directory non tracciate da Git: -`git clean -fd` +`git clean {{[-f|--force]}} -d` - Elimina i file non tracciati, compresi quelli da ignorare elencati in `.gitignore` e `.git/info/exclude`: diff --git a/pages.it/common/git-clone.md b/pages.it/common/git-clone.md index ec9d207e1482fd..e1fa5f2533958d 100644 --- a/pages.it/common/git-clone.md +++ b/pages.it/common/git-clone.md @@ -13,7 +13,7 @@ - Clona un repository locale: -`git clone -l {{percorso/a/repository/locale}}` +`git clone -l {{percorso/del/repository/locale}}` - Clona in modalità silenziosa: @@ -21,4 +21,4 @@ - Clona un repository remoto scaricando solo i 10 commit più recenti del ramo principale (utile per risparmiare tempo): -`git clone --depth {{10}} {{url_repository_remoto}}` +`git clone --depth 10 {{url_repository_remoto}}` diff --git a/pages.it/common/git-commit.md b/pages.it/common/git-commit.md index 90598999bb9e35..60ba9121f7aff4 100644 --- a/pages.it/common/git-commit.md +++ b/pages.it/common/git-commit.md @@ -5,11 +5,11 @@ - Committa sul repository i file nell'area di stage con un messaggio: -`git commit -m {{messaggio}}` +`git commit {{[-m|--message]}} "{{messaggio}}"` - Aggiungi all'area di stage tutti i file modificati e committali con un messaggio: -`git commit -a -m {{messaggio}}` +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{messaggio}}"` - Sostituisci l'ultimo commit con le modifiche attualmente salvate nell'area di stage: @@ -17,4 +17,4 @@ - Committa solo i file specificati (tra quelli presenti nell'area di stage): -`git commit {{percorso/al/file1}} {{percorso/al/file2}}` +`git commit {{percorso/del/file1 percorso/del/file2 ...}}` diff --git a/pages.it/common/git-config.md b/pages.it/common/git-config.md index 426514c2d8d46d..0359998366f49a 100644 --- a/pages.it/common/git-config.md +++ b/pages.it/common/git-config.md @@ -6,15 +6,15 @@ - Elenca solo le opzioni di configurazione locali (salvate in `.git/config` nel repository corrente): -`git config --list --local` +`git config {{[-l|--list]}} --local` - Elenca solo le opzioni di configurazione globali (salvate in `~/.gitconfig`): -`git config --list --global` +`git config {{[-l|--list]}} --global` - Elenca tutte le opzioni di configurazione impostate, sia locali che globali: -`git config --list` +`git config {{[-l|--list]}}` - Mostra il valore di una data opzione di configurazione: diff --git a/pages.it/common/git-diff.md b/pages.it/common/git-diff.md index c0a743d32397e1..a8401426a7d174 100644 --- a/pages.it/common/git-diff.md +++ b/pages.it/common/git-diff.md @@ -11,26 +11,26 @@ `git diff HEAD` -- Mostra solo le modifiche nell'area di stage (aggiunte, ma non ancora committate): +- Mostra solo le modifiche nell'area di stage (aggiunte, ma non ancora aggiunte ad un commit): `git diff --staged` -- Mostra le modifiche di tutti i commit a partire da una certa data/ora (un'espressione temporale come "1 week 2 days" o una data ISO): +- Mostra le modifiche di tutti i commit a partire da una certa data/ora (un'espressione temporale come ad esempio "1 week 2 days" o una data ISO): -`git diff 'HEAD@{3 months|weeks|days|hours|seconds ago}'` +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` -- Mostra solo i nomi dei file modificati a partire da un dato commit: +- Mostra le differenze tramite delle statistiche come quali file modificati o l'istogramma e il totale delle righe inserite/cancellate: -`git diff --name-only {{commit}}` +`git diff --stat {{commit}}` -- Stampa un riepilogo dei file creati, rinominati o la cui modalità è cambiata a partire da un dato commit: +- Mostra un riepilogo dei file creati, rinominati o la cui modalità è cambiata a partire da un dato commit: `git diff --summary {{commit}}` - Confronta le versioni di un dato file tra due rami o commit: -`git diff {{ramo_1}}..{{ramo_2}} [--] {{percorso/al/file}}` +`git diff {{ramo_1}}..{{ramo_2}} {{percorso/del/file}}` - Confronta le versioni di più file tra il ramo corrente e un altro ramo: -`git diff {{ramo}}:{{percorso/al/file2}} {{percorso/al/file}}` +`git diff {{ramo}}:{{percorso/del/file2}} {{percorso/del/file}}` diff --git a/pages.it/common/git-fetch.md b/pages.it/common/git-fetch.md index 18100afdf28b36..cbb58880576902 100644 --- a/pages.it/common/git-fetch.md +++ b/pages.it/common/git-fetch.md @@ -17,8 +17,8 @@ - Scarica anche i tag dal repository remoto di origine: -`git fetch --tags` +`git fetch {{[-t|--tags]}}` - Elimina i riferimenti locali ai rami remoti che sono stati eliminati dal repositoy di origine: -`git fetch --prune` +`git fetch {{[-p|--prune]}}` diff --git a/pages.it/common/git-format-patch.md b/pages.it/common/git-format-patch.md index 3cd64bef84fb77..7298a08494aeb9 100644 --- a/pages.it/common/git-format-patch.md +++ b/pages.it/common/git-format-patch.md @@ -4,14 +4,14 @@ > Vedi anche `git am`, che permette di applicare file .patch. > Maggiori informazioni: . -- Crea un file .patch (il nome è assegnato automaticamente) con i commit non ancora inviati al repository remoto: +- Crea un file `.patch` (il nome è assegnato automaticamente) con i commit non ancora inviati al repository remoto: `git format-patch {{origin}}` -- Scrivi su `stdout` un file .patch per l'intervallo di commit definito dai due commit dati: +- Scrivi su `stdout` un file `.patch` per l'intervallo di commit definito dai due commit dati: -`git format-patch --stdout {{commit_1}}..{{commit_2}}` +`git format-patch {{commit_1}}..{{commit_2}}` -- Scrivi un file .patch per gli ultimi 3 commit: +- Scrivi un file `.patch` per gli ultimi 3 commit: `git format-patch -{{3}}` diff --git a/pages.it/common/git-help.md b/pages.it/common/git-help.md index 33adb63ad081b2..d0eb47927aabcc 100644 --- a/pages.it/common/git-help.md +++ b/pages.it/common/git-help.md @@ -9,16 +9,16 @@ - Visualizza aiuto per un sottocomando Git in un browser web: -`git help --web {{sottocomando}}` +`git help {{[-w|--web]}} {{sottocomando}}` - Mostra un elenco dei sottocomandi Git disponibili: -`git help --all` +`git help {{[-a|--all]}}` - Mostra un elenco delle guide disponibili: -`git help --guide` +`git help {{[-g|--guides]}}` - Mostra tutte le possibili variabili di configurazione: -`git help --config` +`git help {{[-c|--config]}}` diff --git a/pages.it/common/git-ignore-io.md b/pages.it/common/git-ignore-io.md new file mode 100644 index 00000000000000..d910dbba9cf4cc --- /dev/null +++ b/pages.it/common/git-ignore-io.md @@ -0,0 +1,12 @@ +# git ignore-io + +> Genera file .gitignore usando template predefiniti. +> Maggiori informazioni: . + +- Elenca i template disponibili: + +`git ignore-io list` + +- Genera un template `.gitignore`: + +`git ignore-io {{elemento_a,elemento_b,elemento_n}}` diff --git a/pages.it/common/git-ignore.md b/pages.it/common/git-ignore.md deleted file mode 100644 index 977cb97857592a..00000000000000 --- a/pages.it/common/git-ignore.md +++ /dev/null @@ -1,12 +0,0 @@ -# git ignore - -> Genera file .gitignore usando template predefiniti. -> Maggiori informazioni: . - -- Elenca i template disponibili: - -`git ignore list` - -- Genera un template .gitignore: - -`git ignore {{elemento_a,elemento_b,elemento_n}}` diff --git a/pages.it/common/git-init.md b/pages.it/common/git-init.md index 8265695644035e..ff2bb1cf8e0f4c 100644 --- a/pages.it/common/git-init.md +++ b/pages.it/common/git-init.md @@ -7,6 +7,14 @@ `git init` -- Inizializza un repository di soli dati, adatto per essere usato come server remoto accessibile via ssh: +- Inizializza un repository con il nome specificato per il ramo iniziale: + +`git init {{[-b|--initial-branch]}} {{nome_ramo}}` + +- Inizializza un repository usando SHA256 per gli hash degli oggetti (richiede Git versione 2.29+): + +`git init --object-format sha256` + +- Inizializza un repository di soli dati, adatto per essere usato come server remoto accessibile via SSH: `git init --bare` diff --git a/pages.it/common/git-instaweb.md b/pages.it/common/git-instaweb.md index 704e6388842a11..680dcc075267ce 100644 --- a/pages.it/common/git-instaweb.md +++ b/pages.it/common/git-instaweb.md @@ -15,7 +15,7 @@ `git instaweb --start --port {{1234}}` -- Usa un http daemon specifico: +- Usa un HTTP daemon specifico: `git instaweb --start --httpd {{lighttpd|apache2|mongoose|plackup|webrick}}` diff --git a/pages.it/common/git-lfs.md b/pages.it/common/git-lfs.md index 63e5e43540944b..20363034253e10 100644 --- a/pages.it/common/git-lfs.md +++ b/pages.it/common/git-lfs.md @@ -1,7 +1,7 @@ # git lfs > Lavora con file di grandi dimensioni in repository Git. -> Maggiori informazioni: . +> Maggiori informazioni: . - Inizializza Git LFS: @@ -13,7 +13,7 @@ - Cambia l'URL endpoint di Git LFS (utile quando server LFS e server Git sono separati): -`git config -f .lfsconfig lfs.url {{lfs_url_endpoint}}` +`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_url_endpoint}}` - Elenca i criteri tracciati: diff --git a/pages.it/common/git-log.md b/pages.it/common/git-log.md index 1142a24f2ffead..1523ab15d5888d 100644 --- a/pages.it/common/git-log.md +++ b/pages.it/common/git-log.md @@ -7,9 +7,9 @@ `git log` -- Mostra la cronologia di un dato file o cartella, mostrando anche le modifiche: +- Mostra la cronologia di un dato file o directory, mostrando anche le modifiche: -`git log -p {{percorso/al/file_o_directory}}` +`git log {{[-p|--patch]}} {{percorso/del/file_o_directory}}` - Offri una panoramica dei file che sono cambiati ad ogni commit: @@ -25,12 +25,12 @@ - Mostra solo i commit il cui messaggio contiene una data stringa (ignorando maiuscole/minuscole): -`git log -i --grep {{stringa_da_cercare}}` +`git log {{[-i|--regexp-ignore-case]}} --grep {{stringa_da_cercare}}` - Mostra gli ultimi N commit di un certo autore: -`git log -n {{numero}} --author={{autore}}` +`git log {{[-n|--max-count]}} {{numero}} --author "{{autore}}"` -- Mostra i commit effettuati tra due date: +- Mostra i commit effettuati tra due date (yyyy-mm-dd): -`git log --before={{data}} --after={{data}}` +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages.it/common/git-merge.md b/pages.it/common/git-merge.md index cc931a3a490124..f4834c7ec26628 100644 --- a/pages.it/common/git-merge.md +++ b/pages.it/common/git-merge.md @@ -1,7 +1,7 @@ # git merge > Esegui un'unione (merge) tra due rami Git. -> Maggiori informazioni: . +> Maggiori informazioni: . - Avvia un'unione con il tuo ramo corrente: @@ -9,7 +9,7 @@ - Avvia un'unione e cambia il messaggio predefinito: -`git merge --edit {{ramo_da_unire}}` +`git merge {{[-e|--edit]}} {{ramo_da_unire}}` - Avvia un'unione e committa l'operazione: diff --git a/pages.it/common/git-mv.md b/pages.it/common/git-mv.md index 000554c7ff5412..aadb502f02f3e7 100644 --- a/pages.it/common/git-mv.md +++ b/pages.it/common/git-mv.md @@ -5,7 +5,7 @@ - Sposta i file nella repository e aggiungi l'operazione al commit successivo: -`git mv {{percorso/al/file}} {{nuovo/percorso/al/file}}` +`git mv {{percorso/del/file}} {{nuovo/percorso/del/file}}` - Rinomina i file e aggiungi l'operazione al commit successivo: @@ -13,4 +13,4 @@ - Sposta sovrascrivendo eventuali file esistenti nel percorso di destinazione: -`git mv --force {{percorso/al/file}} {{nuovo/percorso/al/file}}` +`git mv {{[-f|--force]}} {{percorso/del/file}} {{nuovo/percorso/del/file}}` diff --git a/pages.it/common/git-prune.md b/pages.it/common/git-prune.md index 3d08d86b076f20..9b56dbda3621cd 100644 --- a/pages.it/common/git-prune.md +++ b/pages.it/common/git-prune.md @@ -4,13 +4,13 @@ > Questo comando è usato più spesso internamente da Git gc piuttosto che in modo diretto. > Maggiori informazioni: . -- Elenca quali oggetti saranno eliminati da Git prune senza eliminarli definitivamente; +- Elenca quali oggetti saranno eliminati da Git prune senza eliminarli definitivamente: -`git prune --dry-run` +`git prune {{[-n|--dry-run]}}` - Elimina gli oggetti non raggiungibili e stampane un elenco su `stdout`: -`git prune --verbose` +`git prune {{[-v|--verbose]}}` - Elimina gli oggetti non raggiungibili, mostrando lo stato di avanzamento: diff --git a/pages.it/common/git-pull.md b/pages.it/common/git-pull.md index f9a85da874ca65..83214c296569f7 100644 --- a/pages.it/common/git-pull.md +++ b/pages.it/common/git-pull.md @@ -9,7 +9,7 @@ - Scarica le ultime modifiche dal repository remoto e avvia un rebase: -`git pull --rebase` +`git pull {{[-r|--rebase]}}` - Scarica le ultime modifiche da uno specifico ramo remoto e avvia un'unione con il ramo corrente: diff --git a/pages.it/common/git-push.md b/pages.it/common/git-push.md index 8a0432e0db2afa..cf2bafa3c2bd8f 100644 --- a/pages.it/common/git-push.md +++ b/pages.it/common/git-push.md @@ -1,6 +1,6 @@ # git push -> Invia i commit a un repository remoto. +> Invia i commit ad un repository remoto. > Maggiori informazioni: . - Invia le modifiche fatte nel ramo corrente locale al corrispondente ramo remoto: @@ -11,17 +11,21 @@ `git push {{nome_repository_remoto}} {{nome_ramo}}` -- Pubblica il ramo corrente in un repository remoto, specificando il nome del ramo remoto: +- Invia le modifiche fatte in uno specifico ramo locale al corrispondente ramo remoto ed imposta il ramo remoto come destinazione di default per i push/pull del ramo locale: -`git push {{nome_repository_remoto}} -u {{nome_ramo_remoto}}` +`git push {{[-u|--set-upstream]}} {{nome_repository_remoto}} {{nome_ramo}}` -- Invia le modifiche fatte in ogni ramo locale ai corrispondenti rami remoti: +- Invia le modifiche fatte in uno specifico ramo locale ad uno specifico ramo remoto: + +`git push {{nome_repository_remoto}} {{nome_ramo}}:{{nome_ramo_remoto}}` + +- Invia le modifiche fatte in ogni ramo locale ai corrispondenti rami remoti in uno specifico repository remoto: `git push --all {{nome_repository_remoto}}` - Cancella un ramo di un repository remoto: -`git push {{nome_repository_remoto}} --delete {{nome_ramo_remoto}}` +`git push {{nome_repository_remoto}} {{[-d|--delete]}} {{nome_ramo_remoto}}` - Cancella i rami remoti che non hanno un ramo locale corrispondente: diff --git a/pages.it/common/git-rebase.md b/pages.it/common/git-rebase.md index bfcf250e3ac694..915c7ba7f32378 100644 --- a/pages.it/common/git-rebase.md +++ b/pages.it/common/git-rebase.md @@ -10,7 +10,7 @@ - Avvia un rebase interattivo, che consente di riordinare, omettere, unire o modificare i commit: -`git rebase -i {{nome_ramo_o_commit_hash}}` +`git rebase {{[-i|--interactive]}} {{nome_ramo_o_commit_hash}}` - Prosegui con un rebase che era stato sospeso da un errore di unione, dopo aver risolto i conflitti: @@ -30,8 +30,8 @@ - Applica gli ultimi 5 commit locali, consentendo di riordinarli, ometterli, unirli o modificarli: -`git rebase -i {{HEAD~5}}` +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` - Risolvi automaticamente i conflitti a favore del ramo di versione corrente (la parola chiave `theirs` ha qui un significato opposto): -`git rebase -X theirs {{nome_ramo}}` +`git rebase {{[-X|--strategy-option]}} theirs {{nome_ramo}}` diff --git a/pages.it/common/git-reflog.md b/pages.it/common/git-reflog.md index c266dd8ce2a128..964528f333a334 100644 --- a/pages.it/common/git-reflog.md +++ b/pages.it/common/git-reflog.md @@ -13,4 +13,4 @@ - Mostra le ultime 5 voci del reflog: -`git reflog -n {{5}}` +`git reflog {{[-n|--max-count]}} 5` diff --git a/pages.it/common/git-remote.md b/pages.it/common/git-remote.md index 9a36d395cdcfb6..919779f6d0f664 100644 --- a/pages.it/common/git-remote.md +++ b/pages.it/common/git-remote.md @@ -5,7 +5,7 @@ - Mostra l'elenco dei collegamenti remoti, con il loro nome e URL: -`git remote -v` +`git remote {{[-v|--verbose]}}` - Mostra informazioni su un remote: diff --git a/pages.it/common/git-repack.md b/pages.it/common/git-repack.md index 497f4c5b096c16..a867bf7babc169 100644 --- a/pages.it/common/git-repack.md +++ b/pages.it/common/git-repack.md @@ -3,7 +3,7 @@ > Comprimi gli oggetti decompressi in un repository Git. > Maggiori informazioni: . -- Comprimi gli oggetti decompressi nella cartella corrente: +- Comprimi gli oggetti decompressi nella directory corrente: `git repack` diff --git a/pages.it/common/git-reset.md b/pages.it/common/git-reset.md index 373725fbf450db..58711964bba8f6 100644 --- a/pages.it/common/git-reset.md +++ b/pages.it/common/git-reset.md @@ -10,11 +10,11 @@ - Rimuovi dall'area di stage uno o più file: -`git reset {{percorso/al/file1}} {{percorso/al/file2}}` +`git reset {{percorso/del/file1 percorso/del/file2 ...}}` -- Rimuovi dall'area di stage solo alcune porzioni di un file: +- Rimuovi dall'area di stage solo alcune porzioni di un file in modo interattivo: -`git reset -p {{percorso/al/file}}` +`git reset {{[-p|--patch]}} {{percorso/del/file}}` - Annulla l'ultimo commit, preservando tutte le modifiche nel filesystem: diff --git a/pages.it/common/git-restore.md b/pages.it/common/git-restore.md index 15d6b4120f8e81..0983d3a0e2bd20 100644 --- a/pages.it/common/git-restore.md +++ b/pages.it/common/git-restore.md @@ -6,11 +6,11 @@ - Ripristina un file cancellato dal contenuto del commit corrente (HEAD): -`git restore {{percorso/al/file}}` +`git restore {{percorso/del/file}}` - Ripristina un file alla versione di un commit differente: -`git restore --source {{commit}} {{percorso/al/file}}` +`git restore --source {{commit}} {{percorso/del/file}}` - Annulla le modifiche ai file nell'area di stage, ripristinandoli all'HEAD: diff --git a/pages.it/common/git-rev-parse.md b/pages.it/common/git-rev-parse.md index 208f4fc4febc7c..47d56d71efacc3 100644 --- a/pages.it/common/git-rev-parse.md +++ b/pages.it/common/git-rev-parse.md @@ -11,6 +11,6 @@ `git rev-parse --abbrev-ref {{HEAD}}` -- Mostra il percorso assoluto della cartella di root: +- Mostra il percorso assoluto della directory di root: `git rev-parse --show-toplevel` diff --git a/pages.it/common/git-revert.md b/pages.it/common/git-revert.md index 21db4c830b70af..c72a114e0cbfe6 100644 --- a/pages.it/common/git-revert.md +++ b/pages.it/common/git-revert.md @@ -5,7 +5,7 @@ - Inverti il commit più recente: -`git revert {{@}}` +`git revert {{HEAD}}` - Inverti il quintùltimo commit: diff --git a/pages.it/common/git-rm.md b/pages.it/common/git-rm.md index f6fd0a0937675e..2d18687ceae45d 100644 --- a/pages.it/common/git-rm.md +++ b/pages.it/common/git-rm.md @@ -7,9 +7,9 @@ `git rm {{file}}` -- Cancella una cartella: +- Cancella una directory: -`git rm -r {{cartella}}` +`git rm -r {{directory}}` - Cancella un file dall'indice del repository ma non dal filesystem locale: diff --git a/pages.it/common/git-send-email.md b/pages.it/common/git-send-email.md index fe975222ea2489..5d216113a252cf 100644 --- a/pages.it/common/git-send-email.md +++ b/pages.it/common/git-send-email.md @@ -1,7 +1,7 @@ # git send-email > Invia una raccolta di patch via email. -> Le patch possono essere specificate come file, cartelle, o liste di revisione. +> Le patch possono essere specificate come file, directory, o liste di revisione. > Maggiori informazioni: . - Invia l'ultimo commit nel ramo corrente: diff --git a/pages.it/common/git-shortlog.md b/pages.it/common/git-shortlog.md index 4c60479898f0a5..e33fca2bbd2bb0 100644 --- a/pages.it/common/git-shortlog.md +++ b/pages.it/common/git-shortlog.md @@ -9,20 +9,20 @@ - Mostra un riassunto dei commit fatti, ordinati per numero di commit: -`git shortlog -n` +`git shortlog {{[-n|--numbered]}}` - Mostra un riassunto dei commit fatti, raggruppati per identità dell'utente che ha eseguito il commit (nome e email): -`git shortlog -c` +`git shortlog {{[-c|--committer]}}` - Mostra un riassunto degli ultimi 5 commit (richiesti sottoforma di intervallo di revisione): -`git shortlog HEAD~{{5}}..HEAD` +`git shortlog HEAD~5..HEAD` - Mostra tutti gli utenti, email e numero di commit nel ramo corrente: -`git shortlog -sne` +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}` - Mostra tutti gli utenti, email e numero di commit in tutti i rami: -`git shortlog -sne --all` +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}} --all` diff --git a/pages.it/common/git-show-ref.md b/pages.it/common/git-show-ref.md index 302850b0238fa0..767484028e9f48 100644 --- a/pages.it/common/git-show-ref.md +++ b/pages.it/common/git-show-ref.md @@ -17,4 +17,4 @@ - Verifica che un certo riferimento esista: -`git show-ref --verify {{percorso/al/riferimento}}` +`git show-ref --verify {{percorso/del/riferimento}}` diff --git a/pages.it/common/git-show.md b/pages.it/common/git-show.md index 9dbb84d6d6eec0..42af8ef0ead42f 100644 --- a/pages.it/common/git-show.md +++ b/pages.it/common/git-show.md @@ -29,4 +29,4 @@ - Mostra il contenuto di un file ad una data revisione (ad esempio, in un ramo, tag o commit): -`git show {{revisione}}:{{percorso/al/file}}` +`git show {{revisione}}:{{percorso/del/file}}` diff --git a/pages.it/common/git-sizer.md b/pages.it/common/git-sizer.md index fa995be6649670..e4c835f5fd6eb8 100644 --- a/pages.it/common/git-sizer.md +++ b/pages.it/common/git-sizer.md @@ -1,16 +1,16 @@ -# git sizer +# git-sizer > Calcola varie metriche dimensionali su repository Git e avvisa quando i loro valori rilevano problematicità. > Maggiori informazioni: . - Mostra solo le statistiche che hanno un livello di rischio maggiore di 0: -`git sizer` +`git-sizer` - Mostra tutte le statistiche: -`git sizer -v` +`git-sizer -v` - Mostra opzioni aggiuntive: -`git sizer -h` +`git-sizer -h` diff --git a/pages.it/common/git-stage.md b/pages.it/common/git-stage.md index 67e9649e0495c8..fbc22abbc221d0 100644 --- a/pages.it/common/git-stage.md +++ b/pages.it/common/git-stage.md @@ -1,33 +1,7 @@ # git stage -> Aggiungi file all'area di stage. -> Sinonimo di `git add`. -> Maggiori informazioni: . +> Questo comando è un alias per `git add`. -- Aggiungi un file all'indice: +- Consulta la documentazione del comando originale: -`git stage {{percorso/al/file}}` - -- Aggiungi tutti i file (tracciati e non): - -`git stage -A` - -- Aggiungi solo file già tracciati: - -`git stage -u` - -- Aggiungi anche file ignorati: - -`git stage -f` - -- Aggiungi parti di file all'area di stage in modo interattivo: - -`git stage -p` - -- Aggiungi parti di un dato file all'area di stage in modo interattivo: - -`git stage -p {{percorso/al/file}}` - -- Aggiungi all'area di stage in modo interattivo: - -`git stage -i` +`tldr git add` diff --git a/pages.it/common/git-stash.md b/pages.it/common/git-stash.md index 1ab08344774ea6..db729bee28cd38 100644 --- a/pages.it/common/git-stash.md +++ b/pages.it/common/git-stash.md @@ -5,15 +5,15 @@ - Salva in un'area temporanea modifiche locali, tranne i file nuovi e non tracciati: -`git stash [push -m {{messaggio_di_stash_opzionale}}]` +`git stash push {{[-m|--message]}} {{messaggio_di_stash_opzionale}}` - Includi nello stash anche i file nuovi e non tracciati: -`git stash -u` +`git stash {{[-u|--include-untracked]}}` - Seleziona per lo stash parti di file modificati in modo interattivo: -`git stash -p` +`git stash {{[-p|--patch]}}` - Elenca tutti gli stash, mostrandone il nome, ramo relativo e messaggio: @@ -27,10 +27,6 @@ `git stash pop {{nome_stash_opzionale}}` -- Rimuovi uno stash (il predefinito è stash@{0}): - -`git stash drop {{nome_stash_opzionale}}` - - Rimuovi tutti gli stash: `git stash clear` diff --git a/pages.it/common/git-status.md b/pages.it/common/git-status.md index 064542dc36b3e3..3521d8c07e09f0 100644 --- a/pages.it/common/git-status.md +++ b/pages.it/common/git-status.md @@ -10,12 +10,12 @@ - Mostra l'output in formato ridotto: -`git status -s` +`git status {{[-s|--short]}}` - Nascondi i file non tracciati dall'output: -`git status --untracked-files=no` +`git status {{[-uno|--untracked-files=no]}}` - Mostra informazioni sul ramo ed in formato ridotto: -`git status -sb` +`git status {{[-sb|--short --branch]}}` diff --git a/pages.it/common/git-submodule.md b/pages.it/common/git-submodule.md index 292e4514eb5109..77da993436653f 100644 --- a/pages.it/common/git-submodule.md +++ b/pages.it/common/git-submodule.md @@ -11,9 +11,9 @@ `git submodule add {{url_repository}}` -- Aggiungi un repository Git come modulo secondario alla cartella specificata: +- Aggiungi un repository Git come modulo secondario alla directory specificata: -`git submodule add {{url_repository}} {{percorso/alla/cartella}}` +`git submodule add {{url_repository}} {{percorso/della/directory}}` - Aggiorna tutti i moduli secondari al loro commit più recente: diff --git a/pages.it/common/git-subtree.md b/pages.it/common/git-subtree.md index bea58aeefd3a67..653afcd75a4a35 100644 --- a/pages.it/common/git-subtree.md +++ b/pages.it/common/git-subtree.md @@ -1,24 +1,24 @@ # git subtree > Strumento per gestire le dipendenze di un progetto come progetti secondari. -> Maggiori informazioni: . +> Maggiori informazioni: . - Aggiungi un repository Git come albero secondario: -`git subtree add --prefix={{percorso/alla/cartella/}} --squash {{url_repository}} {{master}}` +`git subtree add {{[-P|--prefix]}} {{percorso/della/directory/}} --squash {{url_repository}} {{master}}` - Aggiorna l'albero secondario di un repository al suo commit più recente: -`git subtree pull --prefix={{percorso/alla/cartella/}} {{url_repository}} {{master}}` +`git subtree pull {{[-P|--prefix]}} {{percorso/della/directory/}} {{url_repository}} {{master}}` - Unisci un albero secondario al ramo principale (master): -`git subtree merge --prefix={{percorso/alla/cartella/}} --squash {{url_repository}} {{master}}` +`git subtree merge {{[-P|--prefix]}} {{percorso/della/directory/}} --squash {{url_repository}} {{master}}` - Invia commit all'albero secondario di un repository: -`git subtree push --prefix={{percorso/alla/cartella/}} {{url_repository}} {{master}}` +`git subtree push {{[-P|--prefix]}} {{percorso/della/directory/}} {{url_repository}} {{master}}` - Estrai la cronologia di un nuovo progetto dalla cronologia di un albero secondario: -`git subtree split --prefix={{percorso/alla/cartella/}} {{url_repository}} -b {{nome_ramo}}` +`git subtree split {{[-P|--prefix]}} {{percorso/della/directory/}} {{url_repository}} {{[-b|--branch]}} {{nome_ramo}}` diff --git a/pages.it/common/git-svn.md b/pages.it/common/git-svn.md index 1e5e6b8a72f30f..0584b663784a5c 100644 --- a/pages.it/common/git-svn.md +++ b/pages.it/common/git-svn.md @@ -5,11 +5,11 @@ - Clona un repository SVN: -`git svn clone {{https://esempio.com/repo_subversion}} {{cartella_locale}}` +`git svn clone {{https://esempio.com/repo_subversion}} {{directory_locale}}` - Clona un repository SVN a partire da uno specifico numero di revisione: -`git svn clone -r{{1234}}:HEAD {{https://svn.esempio.net/subversion/repo}} {{cartella_locale}}` +`git svn clone {{[-r|--revision]}} {{1234}}:HEAD {{https://svn.esempio.net/subversion/repo}} {{directory_locale}}` - Aggiorna una copia locale da un repository SVN remoto: @@ -21,4 +21,4 @@ - Invia un commit a un repository SVN: -`git svn dcommit` +`git svn commit` diff --git a/pages.it/common/git-switch.md b/pages.it/common/git-switch.md index dd7afc66eb2719..3fc2f4699c0bb5 100644 --- a/pages.it/common/git-switch.md +++ b/pages.it/common/git-switch.md @@ -10,11 +10,11 @@ - Crea un nuovo ramo e passa a quel ramo: -`git switch --create {{nome_ramo}}` +`git switch {{[-c|--create]}} {{nome_ramo}}` - Crea un nuovo ramo a partire da un commit esistente e passa a quel ramo: -`git switch --create {{nome_ramo}} {{commit}}` +`git switch {{[-c|--create]}} {{nome_ramo}} {{commit}}` - Torna al ramo precedente: @@ -26,4 +26,4 @@ - Passa ad un ramo e uniscilo automaticamente al ramo corrente, include le modifiche non committate: -`git switch --merge {{nome_ramo}}` +`git switch {{[-m|--merge]}} {{nome_ramo}}` diff --git a/pages.it/common/git-tag.md b/pages.it/common/git-tag.md index 8423e3f3e8e64b..4d970c0e2580de 100644 --- a/pages.it/common/git-tag.md +++ b/pages.it/common/git-tag.md @@ -18,15 +18,15 @@ - Crea un tag annotandolo con un messaggio: -`git tag {{nome_tag}} -m {{messaggio_tag}}` +`git tag {{nome_tag}} {{[-m|--message]}} {{messaggio_tag}}` - Cancella un tag, dato il suo nome: -`git tag -d {{nome_tag}}` +`git tag {{[-d|--delete]}} {{nome_tag}}` - Scarica tag aggiornati da upstream: -`git fetch --tags` +`git fetch {{[-t|--tags]}}` - Mostra tutti i tag i cui predecessori includono uno specifico commit: diff --git a/pages.it/common/git-worktree.md b/pages.it/common/git-worktree.md index 53ec22457c82b0..e07d7a33b30d70 100644 --- a/pages.it/common/git-worktree.md +++ b/pages.it/common/git-worktree.md @@ -3,18 +3,18 @@ > Gestisci gli alberi di lavoro collegati allo stesso repository. > Maggiori informazioni: . -- Crea una nuova cartella a partire da uno specifico ramo: +- Crea una nuova directory a partire da uno specifico ramo: -`git worktree add {{percorso/alla/cartella}} {{ramo}}` +`git worktree add {{percorso/della/directory}} {{ramo}}` -- Crea una nuova cartella a partire da un nuovo ramo: +- Crea una nuova directory a partire da un nuovo ramo: -`git worktree add {{percorso/alla/cartella}} -b {{nuovo_ramo}}` +`git worktree add {{percorso/della/directory}} -b {{nuovo_ramo}}` -- Mostra tutte le cartelle di lavoro collegate al repository corrente: +- Mostra tutte le directory di lavoro collegate al repository corrente: `git worktree list` -- Cancella un albero di lavoro (dopo averne cancellato la cartella): +- Cancella un albero di lavoro (dopo averne cancellato la directory): `git worktree prune` diff --git a/pages.it/common/git.md b/pages.it/common/git.md index ce5f69735b8751..7993121788e983 100644 --- a/pages.it/common/git.md +++ b/pages.it/common/git.md @@ -1,7 +1,8 @@ # git > Sistema di controllo versione distribuito. -> Maggiori informazioni: . +> Alcuni comandi aggiuntivi, come `commit`, hanno la propria documentazione. +> Maggiori informazioni: . - Controlla la versione di Git: diff --git a/pages.it/common/gitea.md b/pages.it/common/gitea.md new file mode 100644 index 00000000000000..2f2bc8241de6fb --- /dev/null +++ b/pages.it/common/gitea.md @@ -0,0 +1,29 @@ +# gitea + +> Amministra Gitea, un leggero server di hosting Git. +> Richiede un file `app.ini` configurato o variabili d'ambiente. +> Maggiori informazioni: . + +- Avvia il server web Gitea usando la configurazione predefinita: + +`gitea web` + +- Crea lo schema e le tabelle necessarie del database: + +`gitea migrate` + +- Esegui sottocomandi amministrativi per la gestione degli utenti o dell’autenticazione: + +`gitea admin {{user list}}` + +- Mostra l’aiuto per un sottocomando specifico: + +`gitea {{admin}} --help` + +- Mostra l’aiuto: + +`gitea help` + +- Mostra la versione: + +`gitea --version` diff --git a/pages.it/common/gnmic-sub.md b/pages.it/common/gnmic-sub.md new file mode 100644 index 00000000000000..e26b85062d1bb2 --- /dev/null +++ b/pages.it/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Questo comando è un alias per `gnmic subscribe`. + +- Consulta la documentazione del comando originale: + +`tldr gnmic subscribe` diff --git a/pages.it/common/go.md b/pages.it/common/go.md new file mode 100644 index 00000000000000..745c34fae375d8 --- /dev/null +++ b/pages.it/common/go.md @@ -0,0 +1,33 @@ +# go + +> Gestisci il codice sorgente Go. +> Alcuni sottocomandi come `build` hanno la propria documentazione d'uso. +> Maggiori informazioni: . + +- Scarica e installa un pacchetto, specificato tramite il suo import path: + +`go get {{percorso/del/pacchetto}}` + +- Compila ed esegui un file sorgente (deve contenere un package `main`): + +`go run {{percorso/del/file}}.go` + +- Compila un file sorgente in un eseguibile con nome specifico: + +`go build -o {{eseguibile}} {{percorso/del/file}}.go` + +- Compila il pacchetto presente nella directory corrente: + +`go build` + +- Esegui tutti i test del pacchetto corrente (i file devono terminare con `_test.go`): + +`go test` + +- Compila e installa il pacchetto corrente: + +`go install` + +- Inizializza un nuovo modulo nella directory corrente: + +`go mod init {{nome_modulo}}` diff --git a/pages.it/common/gocryptfs.md b/pages.it/common/gocryptfs.md new file mode 100644 index 00000000000000..79321a5bdc9140 --- /dev/null +++ b/pages.it/common/gocryptfs.md @@ -0,0 +1,24 @@ +# gocryptfs + +> Filesystem crittografato scritto in Go. +> Maggiori informazioni: . + +- Inizializzare un filesystem crittografato: + +`gocryptfs -init {{percorso/della/directory_cifrata}}` + +- Montare un filesystem crittografato: + +`gocryptfs {{percorso/della/directory_cifrata}} {{percorso/del/punto_di_mount}}` + +- Montare un filesystem usando la master key invece della password: + +`gocryptfs --masterkey {{percorso/della/directory_cifrata}} {{percorso/del/punto_di_mount}}` + +- Cambiare la password: + +`gocryptfs --passwd {{percorso/della/directory_cifrata}}` + +- Generare uno snapshot cifrato di una directory: + +`gocryptfs --reverse {{percorso/della/directory}} {{percorso/della/directory_cifrata}}` diff --git a/pages.it/common/google-chrome.md b/pages.it/common/google-chrome.md new file mode 100644 index 00000000000000..fc8eebf42503e3 --- /dev/null +++ b/pages.it/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Questo comando è un alias per `chromium`. +> Maggiori informazioni: . + +- Consulta la documentazione del comando originale: + +`tldr chromium` diff --git a/pages.it/common/head.md b/pages.it/common/head.md index 39d4ccbac99ec1..8e0ac489c58fc8 100644 --- a/pages.it/common/head.md +++ b/pages.it/common/head.md @@ -1,6 +1,7 @@ # head > Stampa a schermo le prime linee di un file. +> Maggiori informazioni: . - Stampa a schermo le prime linee di un file: diff --git a/pages.it/common/hello.md b/pages.it/common/hello.md new file mode 100644 index 00000000000000..ea2f2e5a55aaae --- /dev/null +++ b/pages.it/common/hello.md @@ -0,0 +1,16 @@ +# hello + +> Stampa a schermo "Hello, world!", "hello, world" oppure del testo personalizzabile. +> Maggiori informazioni: . + +- Stampa a schermo "Hello, world!": + +`hello` + +- Stampa a schermo "hello, world", nel modo tradizionale: + +`hello {{[-t|--traditional]}}` + +- Stampa a schermo un messaggio: + +`hello {{[-g|--greeting]}} "{{messaggio}}"` diff --git a/pages.it/common/helm.md b/pages.it/common/helm.md new file mode 100644 index 00000000000000..a6e2778648770c --- /dev/null +++ b/pages.it/common/helm.md @@ -0,0 +1,37 @@ +# helm + +> Helm è un gestore di pacchetti per Kubernetes. +> Alcuni comandi aggiuntivi, come `install`, hanno la propria documentazione. +> Maggiori informazioni: . + +- Crea una helm chart: + +`helm create {{nome_chart}}` + +- Aggiungi un nuovo repository helm: + +`helm repo add {{nome_repository}}` + +- Elenca i repositories helm: + +`helm repo list` + +- Aggiorna i repositories helm: + +`helm repo update` + +- Cancella un repository helm: + +`helm repo remove {{nome_repository}}` + +- Installa una helm chart: + +`helm install {{nome_chart}} {{nome_repository}}/{{nome_chart}}` + +- Scarica una helm chart sottoforma di archivio tar: + +`helm get {{nome_chart_rilasciata}}` + +- Aggiorna le dipendenze helm: + +`helm dependency update` diff --git a/pages.it/common/hx.md b/pages.it/common/hx.md new file mode 100644 index 00000000000000..56522955f7e9f7 --- /dev/null +++ b/pages.it/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Questo comando è un alias per `helix`. + +- Consulta la documentazione del comando originale: + +`tldr helix` diff --git a/pages.it/common/hyperfine.md b/pages.it/common/hyperfine.md new file mode 100644 index 00000000000000..b72a083248b190 --- /dev/null +++ b/pages.it/common/hyperfine.md @@ -0,0 +1,28 @@ +# hyperfine + +> Strumento di benchmarking con interfaccia CLI. +> Maggiori informazioni: . + +- Esegui un benchmark di base, eseguendo almeno 10 esecuzioni: + +`hyperfine '{{make}}'` + +- Esegui un benchmark comparativo: + +`hyperfine '{{make target1}}' '{{make target2}}'` + +- Modifica il numero minimo di esecuzioni di benchmark: + +`hyperfine --min-runs {{7}} '{{make}}'` + +- Esegui benchmark con periodo di riscaldamento: + +`hyperfine --warmup {{5}} '{{make}}'` + +- Esegui un comando prima di ogni esecuzione di benchmark (per cancellare le cache, etc.): + +`hyperfine --prepare '{{make clean}}' '{{make}}'` + +- Esegui un benchmark in cui un singolo parametro cambia per ogni esecuzione: + +`hyperfine --prepare '{{make clean}}' --parameter-scan {{num_threads}} {{1}} {{10}} '{{make -j {num_threads}}}'` diff --git a/pages.it/common/i3.md b/pages.it/common/i3.md new file mode 100644 index 00000000000000..10ae5874a045c5 --- /dev/null +++ b/pages.it/common/i3.md @@ -0,0 +1,33 @@ +# i3 + +> Window Manager Dinamico. +> Tasto Windows=Super=Mod4, Alt=Mod1. +> Maggiori informazioni: . + +- Avvia i3 (non può essere eseguito contemporaneamente con un altro gestore di finestre): + +`i3` + +- Apri un terminale: + +`` + +- Crea un nuovo workspace: + +`` + +- Salta a workspace numero `n`: + +`` + +- Per il prossimo nuovo, dividi orizzontalmente: + +`` + +- Per il prossimo nuovo, dividi verticalmente: + +`` + +- Avvia dmenu, lanciatore di programmi: + +`` diff --git a/pages.it/common/id3tag.md b/pages.it/common/id3tag.md index 07a918b98173a0..dde2a16be4acc3 100644 --- a/pages.it/common/id3tag.md +++ b/pages.it/common/id3tag.md @@ -1,14 +1,15 @@ # id3tag > Strumento per leggere, scrivere, e manipolare i tag (etichette) ID3v1 e ID3v2 di file MP3. +> Maggiori informazioni: . - Imposta l'etichetta dell'artista e del titolo in un file MP3: -`id3tag --artist={{artista}} --title={{titolo}} {{percorso/al/file.mp3}}` +`id3tag --artist {{artista}} --song {{titolo}} {{percorso/del/file.mp3}}` -- Imposta il titolo dell'album di tutti i file MP3 nella cartella corrente: +- Imposta il titolo dell'album di tutti i file MP3 nella directory corrente: -`id3tag --album={{album}} {{*.mp3}}` +`id3tag --album {{album}} {{*.mp3}}` - Fornisce altro aiuto: diff --git a/pages.it/common/jrnl.md b/pages.it/common/jrnl.md new file mode 100644 index 00000000000000..a8833a89400dc1 --- /dev/null +++ b/pages.it/common/jrnl.md @@ -0,0 +1,24 @@ +# jrnl + +> Una semplice applicazione da linea di comando per tenere un diario. +> Maggiori informazioni: . + +- Inserisci una nuova nota con il tuo editor: + +`jrnl` + +- Inserimento veloce di una nota: + +`jrnl {{today at 3am}}: {{titolo}}. {{contenuto}}` + +- Mostra le ultime dieci note inserite: + +`jrnl -n {{10}}` + +- Mostra tutto quello che è successo dall'inizio dello scorso anno fino all'inizio di marzo: + +`jrnl -from "{{last year}}" -until {{march}}` + +- Modifica tutte le note taggate con "texas" e "history": + +`jrnl {{@texas}} -and {{@history}} --edit` diff --git a/pages.it/common/kafkacat.md b/pages.it/common/kafkacat.md new file mode 100644 index 00000000000000..849065f6757bac --- /dev/null +++ b/pages.it/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Questo comando è un alias per `kcat`. + +- Consulta la documentazione del comando originale: + +`tldr kcat` diff --git a/pages.it/common/kubectl.md b/pages.it/common/kubectl.md new file mode 100644 index 00000000000000..63c7086be2dead --- /dev/null +++ b/pages.it/common/kubectl.md @@ -0,0 +1,37 @@ +# kubectl + +> Interfaccia interattiva da linea di comando per eseguire comandi sui clusters Kubernetes. +> Alcuni comandi aggiuntivi, come `run`, hanno la propria documentazione.. +> Maggiori informazioni: . + +- Elenca le informazioni su una risorsa in maniera dettagliata: + +`kubectl get {{pod|service|deployment|ingress|...}} {{[-o|--output]}} wide` + +- Aggiorna il pod specificato con l'etichetta 'unhealthy' e il valore 'true': + +`kubectl label pods {{nome}} unhealthy=true` + +- Elenca tutte le risorse: + +`kubectl get all` + +- Mostra l'utilizzo delle risorse (CPU/Memory/Storage) di nodi o pods: + +`kubectl top {{pod|nodo}}` + +- Mostra l'indirizzo del master e i servizi del cluster: + +`kubectl cluster-info` + +- Mostra la spiegazione di un campo specifico: + +`kubectl explain {{pods.spec.containers}}` + +- Mostra i logs di un container in un pod o in una risorsa specificata: + +`kubectl logs {{nome_pod}}` + +- Esegue un commando in un pod esistente: + +`kubectl exec {{nome_pod}} -- {{ls /}}` diff --git a/pages.it/common/less.md b/pages.it/common/less.md index 5a18e119d89e89..43f2992363d5a2 100644 --- a/pages.it/common/less.md +++ b/pages.it/common/less.md @@ -1,6 +1,7 @@ # less > Apri un file per lettura interattiva, permettendo di scorrere e cercare testo al suo interno. +> Maggiori informazioni: . - Apri un file: @@ -8,28 +9,28 @@ - Muoviti una pagina in giù / su: -` (giù), b (su)` +`{{|}}` - Vai alla fine o all'inizio del file: -`G (fine), g (inizio)` +`{{|}}` -- Cerca una stringa in avanti (usa `n`/`N` per muoverti al risultato successivo/precedente): +- Cerca una stringa in avanti (usa ``/`` per muoverti al risultato successivo/precedente): -`/{{stinga}}` +`{{stinga}}` -- Cerca una stringa indietro (usa `n`/`N` per muoverti al risultato successivo/precedente): +- Cerca una stringa indietro (usa ``/`` per muoverti al risultato successivo/precedente): -`?{{stringa}}` +`{{stringa}}` - Aggiorna il file dinamicamente: -`F` +`` - Apri il file in un editor di testo: -`v` +`` - Esci: -`q` +`` diff --git a/pages.it/common/llvm-ar.md b/pages.it/common/llvm-ar.md new file mode 100644 index 00000000000000..1a7c0474339c81 --- /dev/null +++ b/pages.it/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Questo comando è un alias per `ar`. + +- Consulta la documentazione del comando originale: + +`tldr ar` diff --git a/pages.it/common/llvm-g++.md b/pages.it/common/llvm-g++.md new file mode 100644 index 00000000000000..c1e2ff8eaf6da8 --- /dev/null +++ b/pages.it/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Questo comando è un alias per `clang++`. + +- Consulta la documentazione del comando originale: + +`tldr clang++` diff --git a/pages.it/common/llvm-gcc.md b/pages.it/common/llvm-gcc.md new file mode 100644 index 00000000000000..47efd58557338c --- /dev/null +++ b/pages.it/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Questo comando è un alias per `clang`. + +- Consulta la documentazione del comando originale: + +`tldr clang` diff --git a/pages.it/common/llvm-nm.md b/pages.it/common/llvm-nm.md new file mode 100644 index 00000000000000..d95cc843713d19 --- /dev/null +++ b/pages.it/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Questo comando è un alias per `nm`. + +- Consulta la documentazione del comando originale: + +`tldr nm` diff --git a/pages.it/common/llvm-objdump.md b/pages.it/common/llvm-objdump.md new file mode 100644 index 00000000000000..f22fd7da556709 --- /dev/null +++ b/pages.it/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Questo comando è un alias per `objdump`. + +- Consulta la documentazione del comando originale: + +`tldr objdump` diff --git a/pages.it/common/llvm-strings.md b/pages.it/common/llvm-strings.md new file mode 100644 index 00000000000000..81b0f9402eea1b --- /dev/null +++ b/pages.it/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Questo comando è un alias per `strings`. + +- Consulta la documentazione del comando originale: + +`tldr strings` diff --git a/pages.it/common/ln.md b/pages.it/common/ln.md index e37758530aad1a..040937d634e206 100644 --- a/pages.it/common/ln.md +++ b/pages.it/common/ln.md @@ -1,15 +1,16 @@ # ln > Crea un collegamento a un file o a una directory. +> Maggiori informazioni: . - Crea un collegamento simbolico a un file (o directory): -`ln -s {{percorso/al/file}} {{percorso/al/collegamento}}` +`ln {{[-s|--symbolic]}} {{/percorso/del/file}} {{percorso/del/collegamento}}` - Sovrascrivi un collegamento esistente in modo che punti a un nuovo file: -`ln -sg {{percorso/al/nuovo/file}} {{percorso/al/collegamento}}` +`ln {{[-sf|--symbolic --force]}} {{/percorso/del/nuovo/file}} {{percorso/del/collegamento}}` - Crea un collegamento fisico a un file: -`ln {{percorso/al/file}} {{percorso/al/collegamento}}` +`ln {{/percorso/del/file}} {{percorso/del/collegamento}}` diff --git a/pages.it/common/ls.md b/pages.it/common/ls.md index 09a55a46995cef..b7d31bcd6f64a3 100644 --- a/pages.it/common/ls.md +++ b/pages.it/common/ls.md @@ -1,6 +1,7 @@ # ls > Elenca i contenuti di una directory. +> Maggiori informazioni: . - Elenca i file nella directory corrente, uno per riga: @@ -8,20 +9,28 @@ - Elenca tutti i file, inclusi quelli nascosti: -`ls -a` +`ls {{[-a|--all]}}` -- Elenca tutti i file e mostra informazioni (permessi, dimensione e data di ultima modifica): +- Elenca tutti i file, aggiungendo `/` in coda ai nomi delle directory: -`ls -la` +`ls {{[-F|--classify]}}` -- Elenca tutti i file e mostra informazioni usando un formato facilmente leggibile (KB, MB, GB): +- Elenca tutti i file e mostra informazioni (permessi, proprietà, dimensione e data di ultima modifica): -`ls -lh` +`ls {{[-la|--all -l]}}` + +- Elenca tutti i file e mostra informazioni con la dimensione esposta usando un formato facilmente leggibile (KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` - Elenca tutti i file e mostra informazioni, ordinandoli per dimensione decrescente: -`ls -lS` +`ls {{-lSR|-lS --recursive}}` + +- Elenca tutti i file e mostra informazioni, ordinandoli per data di ultima modifica (i più vecchi prima): + +`ls {{[-ltr|-lt --reverse]}}` -- Elenca tutti i file e mostra informazioni, ordinandoli per ultima modifica: +- Elenca solo le directory: -`ls -ltr` +`ls {{[-d|--directory]}} */` diff --git a/pages.it/common/lzcat.md b/pages.it/common/lzcat.md new file mode 100644 index 00000000000000..55103fa0e0901a --- /dev/null +++ b/pages.it/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Questo comando è un alias per `xz`. + +- Consulta la documentazione del comando originale: + +`tldr xz` diff --git a/pages.it/common/lzma.md b/pages.it/common/lzma.md new file mode 100644 index 00000000000000..ae0e02450cdc96 --- /dev/null +++ b/pages.it/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Questo comando è un alias per `xz`. + +- Consulta la documentazione del comando originale: + +`tldr xz` diff --git a/pages.it/common/magick-convert.md b/pages.it/common/magick-convert.md new file mode 100644 index 00000000000000..9c75a28edb2b1b --- /dev/null +++ b/pages.it/common/magick-convert.md @@ -0,0 +1,28 @@ +# magick convert + +> Strumento della suite immagineMagick per la conversione di immagini. +> Maggiori informazioni: . + +- Converti un'immagine da JPEG a PNG: + +`magick convert {{immagine.jpg}} {{immagine.png}}` + +- Scala un'immagine al 50% delle sue dimensioni originali: + +`magick convert {{immagine.png}} -resize 50% {{immagine2.png}}` + +- Scala un'immagine ad una dimensione massima di 640x480 mantenendo le proporzioni originali: + +`magick convert {{immagine.png}} -resize 640x480 {{immagine2.png}}` + +- Concatena più immagini orizzontalmente: + +`magick convert {{immagine1.png}} {{immagine2.png}} {{immagine3.png}} +append {{immagine123.png}}` + +- Crea una GIF da una serie di immagini con un intervallo di 100ms tra ogni immagine: + +`magick convert {{immagine1.png}} {{immagine2.png}} {{immagine3.png}} -delay {{100}} {{animazione.gif}}` + +- Crea un'immagine a tinta unita di un determinato colore: + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{immagine.png}}` diff --git a/pages.it/common/man.md b/pages.it/common/man.md index ebf427f1fed494..081b0becc9205d 100644 --- a/pages.it/common/man.md +++ b/pages.it/common/man.md @@ -1,6 +1,7 @@ # man > Formatta e mostra pagine manuale. +> Maggiori informazioni: . - Mostra la pagina di manuale di un comando: @@ -8,7 +9,7 @@ - Mostra la pagina di manuale per un comando dalla sezione 7: -`man {{comando}}.{{7}}` +`man {{7}} {{comando}}` - Mostra il percorso in cui vengono cercate le pagine: diff --git a/pages.it/common/md5sum.md b/pages.it/common/md5sum.md new file mode 100644 index 00000000000000..6121e9a8da8966 --- /dev/null +++ b/pages.it/common/md5sum.md @@ -0,0 +1,20 @@ +# md5sum + +> Calcola i checksum crittografici di tipo MD5. +> Maggiori informazioni: . + +- Calcolare il checksum MD5 di un file: + +`md5sum {{percorso/del/file}}` + +- Calcola i checksum MD5 per più di un file: + +`md5sum {{percorso/del/file1}} {{percorso/del/file2}}` + +- Verifica che tutti i file abbiano checksum corrispondenti al file di MD5SUM: + +`md5sum -c {{percorso/del/file.md5}}` + +- Calcola il checksum MD5 dal standard input: + +`echo "{{testo}}" | md5sum` diff --git a/pages.it/common/minecraft.md b/pages.it/common/minecraft.md new file mode 100644 index 00000000000000..e7d8601d06a61d --- /dev/null +++ b/pages.it/common/minecraft.md @@ -0,0 +1,20 @@ +# Minecraft + +> Esegui un server di Minecraft senza interfaccia grafica. +> Maggiori informazioni: . + +- Avvia un server Minecraft e genera un mondo se non esiste: + +`java -jar {{percorso/del/server.jar}} --nogui` + +- Imposta il quantitativo minimo e massimo di memoria che il server può avere (Nota: Impostare gli stessi valori previene lag causati da heap scaling): + +`java -Xms{{1024M}} -Xmx{{2048M}} -jar {{percorso/del/server.jar}} --nogui` + +- Avvia un server con una GUI: + +`java -jar {{percorso/del/server.jar}}` + +- Spegne il server: + +`stop` diff --git a/pages.it/common/mkdir.md b/pages.it/common/mkdir.md index 15695bb300dd2d..bb1f534fa962c3 100644 --- a/pages.it/common/mkdir.md +++ b/pages.it/common/mkdir.md @@ -1,6 +1,7 @@ # mkdir > Crea directory. +> Maggiori informazioni: . - Crea una directory nella directory corrente o in un dato percorso: @@ -8,4 +9,4 @@ - Crea directory ricorsivamente (utile per creare directory annidate): -`mkdir -p {{percorso/alla/directory}}` +`mkdir {{[-p|--parents]}} {{percorso/della/directory}}` diff --git a/pages.it/common/more.md b/pages.it/common/more.md new file mode 100644 index 00000000000000..ce132a55d0d879 --- /dev/null +++ b/pages.it/common/more.md @@ -0,0 +1,32 @@ +# more + +> Aprire un file per la lettura interattiva, con scorrimento e ricerca. +> Maggiori informazioni: . + +- Apri un file: + +`more {{percorso/del/file}}` + +- Apri un file visualizzato da una riga specifica: + +`more +{{linea_numero}} {{percorso/del/file}}` + +- Mostra aiuto: + +`more --help` + +- Prossima pagina: + +`` + +- Cerca una stringa (tocca `` per passare alla corrispondenza successiva): + +`{{qualcose}}` + +- Smettere: + +`` + +- Mostra aiuto per comando interattivo: + +`` diff --git a/pages.it/common/mount.md b/pages.it/common/mount.md deleted file mode 100644 index b2c4e969e14e0b..00000000000000 --- a/pages.it/common/mount.md +++ /dev/null @@ -1,27 +0,0 @@ -# mount - -> Fornisce accesso a un intero filesystem in una cartella specifica. - -- Mostra tutti i filesystem montati: - -`mount` - -- Monta un dispositivo in una cartella: - -`mount -t {{tipo_di_filesystem}} {{percorso/al/dispositivo}} {{percorso/alla/cartella_desiderata}}` - -- Monta un CD-ROM (con il filetypo ISO9660) a /cdrom (sola lettura): - -`mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}` - -- Monta tutti i filesystem definiti in /etc/fstab: - -`mount -a` - -- Monta un filesystem specifico descritto in /etc/fstab (ad esempio "dev/sda1 /my_drive ext2 defaults 0 2"): - -`mount {{/my_drive}}` - -- Monta una cartella in un'altra cartella: - -`mount --bind {{percorso/alla/vecchia_cartella}} {{percorso/alla/nuova_cartella}}` diff --git a/pages.it/common/mpicc.md b/pages.it/common/mpicc.md new file mode 100644 index 00000000000000..3d33ca287bf2ee --- /dev/null +++ b/pages.it/common/mpicc.md @@ -0,0 +1,17 @@ +# mpicc + +> Involucro Open MPI per il compilatore di C. +> Shell che esegue sul compilatore, aggiungono i relevanti argomenti e linkers necessari a compilare/collegare programmi Open MPI, invocando il sottostante compilatore di C per effettuare le effetive operazioni. +> Maggiori informazioni: . + +- Compila un file sorgente in un file oggetto: + +`mpicc -c {{percorso/del/file.c}}` + +- Linka un file oggetto file e genera un eseguibile: + +`mpicc -o {{executable}} {{percorso/del/file.o}}` + +- Linka e compila i file sorgente in un solo commando: + +`mpicc -o {{executable}} {{percorso/del/file.c}}` diff --git a/pages.it/common/mpv.md b/pages.it/common/mpv.md index ce5383471edc28..a5c0918d498e95 100644 --- a/pages.it/common/mpv.md +++ b/pages.it/common/mpv.md @@ -1,7 +1,7 @@ # mpv > Un player audio/video basato su MPlayer. -> Maggiori informazioni: . +> Maggiori informazioni: . - Riproduci un file video o audio: @@ -9,15 +9,15 @@ - Salta avanti/indietro di 5 secondi: -`SINISTRA DESTRA` +`{{|}}` - Salta indietro/avanti di 1 minuto: -`GIÙ SU` +`{{|}}` - Riduci o aumenta la velocità di riproduzione del 10%: -`[ ]` +`{{<[>|<]>}}` - Riproduci un file a una velocità specifica (da 0.01 a 100, normalmente 1): diff --git a/pages.it/common/mscore.md b/pages.it/common/mscore.md new file mode 100644 index 00000000000000..486cb008179fff --- /dev/null +++ b/pages.it/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Questo comando è un alias per `musescore`. + +- Consulta la documentazione del comando originale: + +`tldr musescore` diff --git a/pages.it/common/mv.md b/pages.it/common/mv.md index 1366d3e61cb97e..7ef6bea6e12bc7 100644 --- a/pages.it/common/mv.md +++ b/pages.it/common/mv.md @@ -1,23 +1,32 @@ # mv > Sposta o rinomina file e directory. +> Maggiori informazioni: . -- Sposta file: +- Rinomina un file o una directory quando la destinazione non è una directory esistente: -`mv {{sorgente}} {{destinazione}}` +`mv {{percorso/del/file}} {{percorso/di/destinazione}}` -- Sposta file senza chiedere conferma prima di sovrascrivere file esistenti: +- Sposta un file o una directory in una directory esistente: -`mv -f {{sorgente}} {{destinazione}}` +`mv {{percorso/di/origine}} {{percorso/della/directory_esistente}}` -- Sposta file interattivamente, chiedendo conferma prima di sovrascrivere file esistenti: +- Sposta più file in una directory esistente, mantenendo i nomi dei file invariati: -`mv -i {{sorgente}} {{destinazione}}` +`mv {{percorso/di/origine1 percorso/di/origine2 ...}} {{percorso/della/directory_esistente}}` -- Sposta file senza sovrascrivere file esistenti: +- Non richiedere conferma prima di sovrascrivere i file esistenti: -`mv -n {{sorgente}} {{destinazione}}` +`mv {{[-f|--force]}} {{percorso/di/origine}} {{percorso/di/destinazione}}` -- Sposta file in modità verbosa, mostrando a schermo ogni file che viene spostato: +- Richiedi conferma prima di sovrascrivere i file esistenti, indipendentemente dalle autorizzazioni dei file: -`mv -v {{sorgente}} {{destinazione}}` +`mv {{[-i|--interactive]}} {{percorso/di/origine}} {{percorso/di/destinazione}}` + +- Non sovrascrivere i file esistenti nella destinazione: + +`mv {{[-n|--no-clobber]}} {{percorso/di/origine}} {{percorso/di/destinazione}}` + +- Sposta i file in modalità dettagliata, mostrando i file dopo che sono stati spostati: + +`mv {{[-v|--verbose]}} {{percorso/di/origine}} {{percorso/di/destinazione}}` diff --git a/pages.it/common/neofetch.md b/pages.it/common/neofetch.md new file mode 100644 index 00000000000000..54d7873e7bfaf7 --- /dev/null +++ b/pages.it/common/neofetch.md @@ -0,0 +1,20 @@ +# neofetch + +> Strumento CLI per visualizzare informazioni al OS, software e hardware. +> Maggiori informazioni: . + +- Stampa secondo la configurazione predefinita e genera una configurazione, se è la prima volta: + +`neofetch` + +- Attiva o disattiva la visualizzazione di una riga di informazioni nell'output, dove 'infoname' è il nome della funzione nel config, e.g. 'memory': + +`neofetch --{{enable|disable}} {{infoname}}` + +- Nascondi/mostri l'architettura del OS: + +`neofetch --os_arch {{on|off}}` + +- Attiva/disattiva marca CPU nell' output: + +`neofetch --cpu_brand {{on|off}}` diff --git a/pages.it/common/nm-classic.md b/pages.it/common/nm-classic.md new file mode 100644 index 00000000000000..0d76ab596985fb --- /dev/null +++ b/pages.it/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Questo comando è un alias per `nm`. + +- Consulta la documentazione del comando originale: + +`tldr nm` diff --git a/pages.it/common/nmap.md b/pages.it/common/nmap.md index 37938e1a2490f6..597067bc6d0119 100644 --- a/pages.it/common/nmap.md +++ b/pages.it/common/nmap.md @@ -2,7 +2,7 @@ > Nmap è un tool per port scanning ed esplorazione di rete. > Alcune funzionalità diventano attive solamente con privilegi d'amministratore. -> Maggiori informazioni: . +> Maggiori informazioni: . - Controlla se un indirizzo IP è attivo, e indovina il suo sistema operativo: @@ -10,31 +10,15 @@ - Cerca di determinare se gli host specificati sono attivi e quali sono i loro nomi: -`nmap -sn {{ip_o_nome_host}} {{opzionale_altro_indirizzo}}` - -- Come sopra, ma esegui una scansione della porta TCP predefinita 1000 se l'host sembra attivo: - -`nmap {{ip_o_nome_host}} {{opzionale_altro_indirizzo}}` +`sudo nmap -sn {{ip_o_nome_host}} {{opzionale_altro_indirizzo}}` - Attiva scripts, segnalazione di servizi, OS fingerprinting e traceroute: `nmap -A {{indirizzo_o_indirizzi}}` -- Velocizza esecuzione dando per scontato una buona connessione di rete: - -`nmap -T4 {{indirizzo_o_indirizzi}}` - -- Scansiona una specifica lista di porte (usa -p- per tutte le porte 1-65535): - -`nmap -p {{porta1,porta2,…,portaN}} {{indirizzo_o_indirizzi}}` - -- Esegui scansione TCP e UDP (usa -sU per usare solo UDP, -sZ per SCTP, -sO per IP): - -`nmap -sSU {{indirizzo_o_indirizzi}}` - -- Esegui una scansione di cifratori TLS verso un host per individuarne i cifratori supportati e i protocolli SSL/TLS: +- Scansiona una specifica lista di porte (usa `-p-` per tutte le porte `1-65535`): -`nmap --script ssl-enum-ciphers {{indirizzo_o_indirizzi}} -p 443` +`nmap -p {{porta1,porta2,...}} {{indirizzo_o_indirizzi}}` - Determina vulnerabilità e informazioni di un host eseguendo una scansione di tutte le porte, servizi e versioni con tutti gli script di default NSE attivi: diff --git a/pages.it/common/node.md b/pages.it/common/node.md new file mode 100644 index 00000000000000..7168bb16ef5598 --- /dev/null +++ b/pages.it/common/node.md @@ -0,0 +1,24 @@ +# node + +> Piattaforma JavaScript Server-side (Node.js). +> Maggiori informazioni: . + +- Esegue un file JavaScript: + +`node {{percorso/al/file}}` + +- Avvia una REPL (shell interattiva): + +`node` + +- Esegue il codice JavaScript che viene specificato come argomento: + +`node {{[-e|--eval]}} "{{codice}}"` + +- Valuta un'espressione e ne stampa il risultato, questo comando specifico è utile per vedere le versioni delle dipendenze di node: + +`node {{[-p|--print]}} "process.versions"` + +- Attiva il debugger mettendo in pausa l'esecuzione finché il codice sorgente non viene caricato: + +`node --no-lazy --inspect-brk {{percorso/al/file}}` diff --git a/pages.it/common/npx.md b/pages.it/common/npx.md new file mode 100644 index 00000000000000..57d5d9d4cb626b --- /dev/null +++ b/pages.it/common/npx.md @@ -0,0 +1,24 @@ +# npx + +> Esegue file binari dai pacchetti `npm`. +> Maggiori informazioni: . + +- Esegue un file binario di uno specifico modulo: + +`npx {{nome_modulo}} {{argomenti_comando}}` + +- Nel caso in cui ci siano più binari per lo stesso modulo, specifica il pacchetto da eseguire: + +`npx --package {{nome_pacchetto}} {{nome_modulo}}` + +- Lancia un comando unicamente se questo esiste nel path corrente o in `node_modules/.bin`: + +`npx --no-install {{comando}} {{argomenti_comando}}` + +- Esegue il file binario del modulo specificato evitando di mostrare l'output prodotto dallo stesso `npx`: + +`npx --quiet {{nome_modulo}} {{argomenti_comando}}` + +- Mostra il menù d'aiuto: + +`npx --help` diff --git a/pages.it/common/ntl.md b/pages.it/common/ntl.md new file mode 100644 index 00000000000000..bfecd6f539d944 --- /dev/null +++ b/pages.it/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Questo comando è un alias per `netlify`. + +- Consulta la documentazione del comando originale: + +`tldr netlify` diff --git a/pages.it/common/nvim.md b/pages.it/common/nvim.md new file mode 100644 index 00000000000000..3e345d69294b2c --- /dev/null +++ b/pages.it/common/nvim.md @@ -0,0 +1,37 @@ +# nvim + +> Neovim, un editor di testo basato su Vim che offre molti diversi modi di manipolare e navigare il testo. +> Premere `` per entrare in modalità inserimento (insert mode), `` per uscire e tornare alla modalità normale (normal mode). +> Maggiori informazioni: . + +- Aprire un file: + +`nvim {{file}}` + +- Entrare nella modalità per scrivere testo (insert mode): + +`` + +- Copiare ("yank") o cancellare ("delete") la linea corrente (può poi essere copiata con `

`): + +`{{|}}` + +- Annullare l'ultima operazione fatta: + +`` + +- Cercare uno specifico pattern nel file (premere ``/`` per navigare tra le occorrenze successive/precedenti): + +`{{patter_da_cercare}}` + +- Eseguire una sostituzione tramite espressione regolare nell'intero file: + +`<:>%s/{{espressione_regolare}}/{{sostituzione}}/g` + +- Salvare (scrivere) il file per poi uscire: + +`{{|<:>x|<:>wq}}` + +- Uscire senza salvare: + +`<:>q!` diff --git a/pages.it/common/opusenc.md b/pages.it/common/opusenc.md index 5fd31fdc61a4ba..5510a5b86954cb 100644 --- a/pages.it/common/opusenc.md +++ b/pages.it/common/opusenc.md @@ -5,16 +5,16 @@ - Converte un file WAV in un file Opus usando le opzioni predefinite: -`opusenc {{percorso/al/file_originale.wav}} {{percorso/al/file_convertito}}.opus` +`opusenc {{percorso/del/file_originale.wav}} {{percorso/del/file_convertito.opus}}` - Converte un audio stereo alla massima qualità possibile: -`opusenc --bitrate {{512}} {{percorso/al/file_originale.wav}} {{percorso/al/file_convertito}}.opus` +`opusenc --bitrate {{512}} {{percorso/del/file_originale.wav}} {{percorso/del/file_convertito.opus}}` - Converte un audio con canali surround 5.1 alla massima qualità possibile: -`opusenc --bitrate {{1536}} {{percorso/al/file_originale.flac}} {{percorso/al/file_convertito}}.opus` +`opusenc --bitrate {{1536}} {{percorso/del/file_originale.flac}} {{percorso/del/file_convertito.opus}}` - Converte l'audio di una voce alla minima qualità possibile: -`opusenc {{percorso/al/file_originale.wav}} --downmix-mono --bitrate {{6}} {{percorso/al/file_convertito}}.opus` +`opusenc {{percorso/del/file_originale.wav}} --downmix-mono --bitrate {{6}} {{percorso/del/file_convertito.opus}}` diff --git a/pages.it/common/pio-init.md b/pages.it/common/pio-init.md new file mode 100644 index 00000000000000..936a827cc28ef2 --- /dev/null +++ b/pages.it/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Questo comando è un alias per `pio project`. + +- Consulta la documentazione del comando originale: + +`tldr pio project` diff --git a/pages.it/common/piodebuggdb.md b/pages.it/common/piodebuggdb.md new file mode 100644 index 00000000000000..c7a5b598797dce --- /dev/null +++ b/pages.it/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Questo comando è un alias per `pio debug`. + +- Consulta la documentazione del comando originale: + +`tldr pio debug` diff --git a/pages.it/common/platformio.md b/pages.it/common/platformio.md new file mode 100644 index 00000000000000..7cd0a775918fac --- /dev/null +++ b/pages.it/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Questo comando è un alias per `pio`. + +- Consulta la documentazione del comando originale: + +`tldr pio` diff --git a/pages.it/common/poetry.md b/pages.it/common/poetry.md new file mode 100644 index 00000000000000..ad90a03ff3d6fa --- /dev/null +++ b/pages.it/common/poetry.md @@ -0,0 +1,24 @@ +# poetry + +> Gestore di pacchetti e dipendenze per Python. +> Maggiori informazioni: . + +- Crea un nuovo progetto Poetry nella directory specificata: + +`poetry new {{nome_progetto}}` + +- Installa una dipendenza e le relative sottodipendenze: + +`poetry add {{dipendenza}}` + +- Inizializza interattivamente la nuova directory come un nuovo progetto Poetry: + +`poetry init` + +- Recupera l'ultima versione di ciascuna dipendenza e aggiorna il file `poetry.lock`: + +`poetry update` + +- Esegue un comando all'interno dell'ambiente virtuale del progetto: + +`poetry run {{comando}}` diff --git a/pages.it/common/powershell.md b/pages.it/common/powershell.md new file mode 100644 index 00000000000000..5238f3d8964977 --- /dev/null +++ b/pages.it/common/powershell.md @@ -0,0 +1,37 @@ +# powershell + +> Shell della riga di comando e linguaggio di scripting progettato appositamente per l'amministrazione dei sistemi. +> Guarda anche: `pwsh`. +> Maggiori informazioni: . + +- Avvia una sessione di shell interattiva: + +`powershell` + +- Avvia una sessione shell interattiva senza caricare le configurazioni di avvio: + +`powershell -NoProfile` + +- Esegui specifici comandi: + +`powershell -Command "{{echo 'powershell è eseguito'}}"` + +- Esegui uno specifico script: + +`powershell -File {{percorso/dello/script.ps1}}` + +- Avvia una sessione con una versione specifica di PowerShell: + +`powershell -Version {{versione}}` + +- Impedisci l'uscita dalla shell dopo aver eseguito i comandi di avvio: + +`powershell -NoExit` + +- Specifica il formato dei dati inviati a PowerShell: + +`powershell -InputFormat {{Text|XML}}` + +- Specifica come formattatare l'output da PowerShell: + +`powershell -OutputFormat {{Text|XML}}` diff --git a/pages.it/common/ptpython3.md b/pages.it/common/ptpython3.md new file mode 100644 index 00000000000000..98f6f62d94f5f7 --- /dev/null +++ b/pages.it/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Questo comando è un alias per `ptpython`. + +- Consulta la documentazione del comando originale: + +`tldr ptpython` diff --git a/pages.it/common/pwd.md b/pages.it/common/pwd.md new file mode 100644 index 00000000000000..e50db4fe1a195f --- /dev/null +++ b/pages.it/common/pwd.md @@ -0,0 +1,16 @@ +# pwd + +> Mostra il nome della directory corrente/di lavoro. +> Maggiori informazioni: . + +- Mostra la directory corrente: + +`pwd` + +- Mostra la directory corrente e risolve tutti i collegamenti simbolici (cioè mostra il percorso "fisico"): + +`pwd {{[-P|--physical]}}` + +- Mostra l'aiuto: + +`pwd --help` diff --git a/pages.it/common/pyenv-virtualenv.md b/pages.it/common/pyenv-virtualenv.md new file mode 100644 index 00000000000000..eb3fb6ea43eafc --- /dev/null +++ b/pages.it/common/pyenv-virtualenv.md @@ -0,0 +1,20 @@ +# pyenv virtualenv + +> Crea ambienti virtuali basati sulle distribuzioni Python che si hanno installate. +> Maggiori informazioni: . + +- Crea un nuovo ambiente virtuale basato su Python 3.6.6: + +`pyenv virtualenv {{3.6.6}} {{virtualenv_name}}` + +- Elenca tutti gli ambienti virtuali esistenti: + +`pyenv virtualenvs` + +- Attiva un ambiente virtuale: + +`pyenv activate {{virtualenv_name}}` + +- Disattiva l'ambiente virtuale corrente: + +`pyenv deactivate` diff --git a/pages.it/common/pyenv.md b/pages.it/common/pyenv.md new file mode 100644 index 00000000000000..25695a0a55f0a0 --- /dev/null +++ b/pages.it/common/pyenv.md @@ -0,0 +1,32 @@ +# pyenv + +> Passa da una distribuzione all'altra di Python in modo semplice. +> Maggiori informazioni: . + +- Elenca i comandi disponibili: + +`pyenv commands` + +- Elenca tutte le distribuzioni di Python presenti nella directory `${PYENV_ROOT}/versions`: + +`pyenv versions` + +- Elenca tutte le versioni di Python che possono essere installate da upstream: + +`pyenv install --list` + +- Installa una distribuzione di Python nella directory `${PYENV_ROOT}/versions`: + +`pyenv install {{2.7.10}}` + +- Disinstalla una distribuzione di Python dalla directory `${PYENV_ROOT}/versions`: + +`pyenv uninstall {{2.7.10}}` + +- Imposta la distribuzione di Python da utilizzare globalmente sulla macchina: + +`pyenv global {{2.7.10}}` + +- Imposta la distribuzione di Python da utilizzare nella directory corrente e in tutte le relative sottodirectory: + +`pyenv local {{2.7.10}}` diff --git a/pages.it/common/python.md b/pages.it/common/python.md new file mode 100644 index 00000000000000..1ad99e8718a9f3 --- /dev/null +++ b/pages.it/common/python.md @@ -0,0 +1,32 @@ +# python + +> Interprete del linguaggio Python. +> Maggiori informazioni: . + +- Avvia una REPL (shell interattiva): + +`python` + +- Esegue lo script contenuto in un file Python: + +`python {{script.py}}` + +- Esegue uno script all'interno della shell interattiva: + +`python -i {{script.py}}` + +- Esegue un'espressione Python: + +`python -c "{{expression}}"` + +- Esegue lo script di un modulo presente nella libreria: + +`python -m {{modulo}} {{argomenti}}` + +- Installa un pacchetto usando `pip`: + +`python -m pip install {{nome_pacchetto}}` + +- Esegue il debug interattivo di uno script Python: + +`python -m pdb {{script.py}}` diff --git a/pages.it/common/python3.md b/pages.it/common/python3.md new file mode 100644 index 00000000000000..e1fc522358ccb2 --- /dev/null +++ b/pages.it/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Questo comando è un alias di `python`. + +- Consulta la documentazione del comando originale: + +`tldr python` diff --git a/pages.it/common/r2.md b/pages.it/common/r2.md new file mode 100644 index 00000000000000..1ea49d17e9f6ce --- /dev/null +++ b/pages.it/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Questo comando è un alias per `radare2`. + +- Consulta la documentazione del comando originale: + +`tldr radare2` diff --git a/pages.it/common/rcat.md b/pages.it/common/rcat.md new file mode 100644 index 00000000000000..e551deb253c0b3 --- /dev/null +++ b/pages.it/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Questo comando è un alias per `rc`. + +- Consulta la documentazione del comando originale: + +`tldr rc` diff --git a/pages.it/common/readlink.md b/pages.it/common/readlink.md new file mode 100644 index 00000000000000..90569a78e7979e --- /dev/null +++ b/pages.it/common/readlink.md @@ -0,0 +1,12 @@ +# readlink + +> Segue un collegamento simbolico e ne recupera le informazioni. +> Maggiori informazioni: . + +- Restituisce il percorso originale a cui il collegamento simbolico fa riferimento: + +`readlink {{nome_file}}` + +- Ottiene il percorso assoluto di un file: + +`readlink {{[-f|--canonicalize]}} {{nome_file}}` diff --git a/pages.it/common/rm.md b/pages.it/common/rm.md index 165a92c496dd75..ca9258afd63071 100644 --- a/pages.it/common/rm.md +++ b/pages.it/common/rm.md @@ -1,23 +1,24 @@ # rm > Rimuovi file o directory. +> Maggiori informazioni: . - Rimuovi file: -`rm {{percorso/a/file1 percorso/a/file2 ...}}` +`rm {{percorso/del/file1 percorso/del/file2 ...}}` -- Rimuovi ricorsivamente una directory e tutti i suoi contenuti: - -`rm -r {{percorso/alla/directory}}` - -- Rimuovi ricorsivamente una directory, senza chiedere conferma o mostrare messaggi di errore: +- Rimuovi file, senza chiedere conferma o mostrare messaggi di errore: -`rm -rf {{percorso/alla/directory}}` +`rm -f {{percorso/della/directory}}` - Rimuovi file interattivamente, chiedendo conferma prima di rimuovere ogni file: -`rm -i {{file(s)}}` +`rm -i {{percorso/del/file1 percorso/del/file2 ...}}` - Rimuovi file in modalità verbosa, scrivendo un messaggio a schermo per ogni file rimosso: -`rm -v {{percorso/a/un/file}}` +`rm -v {{percorso/del/file}}` + +- Rimuovi ricorsivamente una directory e tutti i suoi contenuti: + +`rm -r {{percorso/della/directory}}` diff --git a/pages.it/common/sudo.md b/pages.it/common/sudo.md index 6d9d2a389d20bd..6d49d60ccf6dd9 100644 --- a/pages.it/common/sudo.md +++ b/pages.it/common/sudo.md @@ -1,6 +1,7 @@ # sudo > Esegue un singolo comando come superuser o come un altro utente. +> Maggiori informazioni: . - Esegui un comando come superuser: @@ -8,16 +9,16 @@ - Modifica un file come superuser con il tuo editor di default: -`sudo -e {{/etc/fstab}}` +`sudo {{[-e|--edit]}} {{/etc/fstab}}` - Esegui un comando come un altro utente e/o gruppo: -`sudo -u {{utente}} -g {{gruppo}} {{id -a}}` +`sudo {{[-u|--user]}} {{utente}} {{[-g|--group]}} {{gruppo}} {{id -a}}` -- Ripeti l'ultimo comando prefissandolo con "sudo" (funziona solo in bash, zsh, ecc): +- Ripeti l'ultimo comando prefissandolo con "sudo" (funziona solo in Bash, Zsh, ecc): `sudo !!` - Fai partire la shell di default con i privilegi da superuser: -`sudo -i` +`sudo {{[-i|--login]}}` diff --git a/pages.it/common/tac.md b/pages.it/common/tac.md index 4284f18b947549..b9384d57cc2b83 100644 --- a/pages.it/common/tac.md +++ b/pages.it/common/tac.md @@ -1,11 +1,25 @@ # tac -> Stampa e concatena file al contrario. +> Visualizza e concatena file con righe in ordine inverso. +> Guarda anche: `cat`. +> Maggiori informazioni: . -- Stampa il contenuto di *file1* al contrario su standard output: +- Concatena file specifici in ordine inverso: -`tac {{file1}}` +`tac {{percorso/del/file1 percorso/del/file2 ...}}` -- Concatena multipli file al contrario in un nuovo file: +- Visualizza `stdin` in ordine inverso: -`tac {{file1}} {{file2}} > {{nuovo_file}}` +`{{cat percorso/del/file}} | tac` + +- Usa un [s]riparatore specifico: + +`tac -s {{separatore}} {{percorso/del/file1 percorso/del/file2 ...}}` + +- Usa un [r]egex specifico come [s]eparatore: + +`tac -r -s {{separatore}} {{percorso/del/file1 percorso/del/file2 ...}}` + +- Utilizzare un separatore [b]prima di ciascun file: + +`tac -b {{percorso/del/file1 percorso/del/file2 ...}}` diff --git a/pages.it/common/task.md b/pages.it/common/task.md new file mode 100644 index 00000000000000..aa68be807aa5cb --- /dev/null +++ b/pages.it/common/task.md @@ -0,0 +1,24 @@ +# task + +> Gestore della lista dei TODO. +> Maggiori informazioni: . + +- Aggiungere un nuovo task: + +`task add {{thing_to_do}}` + +- Lista dei task: + +`task list` + +- Contrassegnare un task come completato: + +`task {{task_id}} done` + +- Modificare un task: + +`task {{task_id}} modify {{new_thing_to_do}}` + +- Eliminare un task: + +`task {{task_id}} delete` diff --git a/pages.it/common/tldrl.md b/pages.it/common/tldrl.md new file mode 100644 index 00000000000000..8d5d0b443b0365 --- /dev/null +++ b/pages.it/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Questo comando è un alias per `tldr-lint`. + +- Consulta la documentazione del comando originale: + +`tldr tldr-lint` diff --git a/pages.it/common/tlmgr-arch.md b/pages.it/common/tlmgr-arch.md new file mode 100644 index 00000000000000..7abcf4aa381221 --- /dev/null +++ b/pages.it/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Questo comando è un alias per `tlmgr platform`. + +- Consulta la documentazione del comando originale: + +`tldr tlmgr platform` diff --git a/pages.it/common/todo.md b/pages.it/common/todo.md new file mode 100644 index 00000000000000..ab17a9cae6edce --- /dev/null +++ b/pages.it/common/todo.md @@ -0,0 +1,32 @@ +# todo + +> Un semplice gestore per i todo da linea di comando. +> Maggiori informazioni: . + +- Elenco dei task che possono essere inizializzati: + +`todo list --startable` + +- Aggiungere un nuovo task alla lista delle cose da fare per lavoro: + +`todo new {{cose_da_fare}} --list {{lavoro}}` + +- Aggiungere una località ad un task con un dato ID: + +`todo edit --location {{nome_località}} {{task_id}}` + +- Mostrare i dettagli di un task: + +`todo show {{task_id}}` + +- Contrassegnare un task con un ID specifico come completato: + +`todo done {{task_id1 task_id2 ...}}` + +- Eliminare un task: + +`todo delete {{task_id}}` + +- Eliminare un task completato e ripristinare gli ID dei task rimanenti: + +`todo flush` diff --git a/pages.it/common/tree.md b/pages.it/common/tree.md new file mode 100644 index 00000000000000..550fe1633c9f0a --- /dev/null +++ b/pages.it/common/tree.md @@ -0,0 +1,36 @@ +# tree + +> Mostra i contenuti della directory corrente come un albero. +> Maggiori informazioni: . + +- Stampa file e directory fino al 'num'-esimo livello di profondità (dove 1 significa la directory corrente): + +`tree -L {{num}}` + +- Stampa solamente le directory: + +`tree -d` + +- Stampa anche i file nascosti con la colorazione attiva: + +`tree -a -C` + +- Stampa l'albero senza linee di indentazione, mostrando invece il percorso completo (usa `-N` per non convertire caratteri non stampabili in sequenze di escape): + +`tree -i -f` + +- Stampa la dimensione di ogni file e la dimensione totale di ogni directory, in formato leggibile dall'utente: + +`tree -s -h --du` + +- Stampa i file all'interno dell'albero gerarchico, utilizzando espressioni di metacaratteri (glob pattern) per escludere le directory che non contengono file corrispondenti alla ricerca: + +`tree -P '{{*.txt}}' --prune` + +- Stampa le directory all'interno dell'albero gerarchico, utilizzando espressioni di metacaratteri (glob pattern) per escludere le directory che non sono progenitori di quelle desiderate: + +`tree -P {{nomi_di_directory}} --matchdirs --prune` + +- Stampa l'albero ignorando le directory date: + +`tree -I '{{nome_directory1|nome_directory2}}'` diff --git a/pages.it/common/unlzma.md b/pages.it/common/unlzma.md new file mode 100644 index 00000000000000..ff5f35d6188e3e --- /dev/null +++ b/pages.it/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Questo comando è un alias per `xz`. + +- Consulta la documentazione del comando originale: + +`tldr xz` diff --git a/pages.it/common/unxz.md b/pages.it/common/unxz.md new file mode 100644 index 00000000000000..f019ddd4eb11ca --- /dev/null +++ b/pages.it/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Questo comando è un alias per `xz`. + +- Consulta la documentazione del comando originale: + +`tldr xz` diff --git a/pages.it/common/vi.md b/pages.it/common/vi.md new file mode 100644 index 00000000000000..94a31b5d0e4173 --- /dev/null +++ b/pages.it/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Questo comando è un alias per `vim`. + +- Consulta la documentazione del comando originale: + +`tldr vim` diff --git a/pages.it/common/vim.md b/pages.it/common/vim.md index b49bbe4b23167e..fb19f034445cba 100644 --- a/pages.it/common/vim.md +++ b/pages.it/common/vim.md @@ -1,37 +1,21 @@ # vim > Vi IMproved, un editor di testo per programmatori che fornisce diverse modalità per modificare testo. -> Premi `i` per entrare in insert mode e `` per tornare in normal mode dove non puoi inserire testo normalmente. +> Premi `` per entrare in insert mode e `` per tornare in normal mode dove non puoi inserire testo normalmente. > Maggiori informazioni: . - Apri un file in vim: `vim {{file}}` -- Vai in insert mode (per inserire testo): - -`i` - -- Copia ("yank") o taglia ("delete") la linea corrente (per incollarla poi con `P`): - -`{{yy|dd}}` - - Annulla l'ultima operazione: -`u` - -- Cerca un pattern nel file (usa `n`/`N` per spostarti al risultato successivo/precedente): - -`/{{pattern}}` - -- Effettua una sostituzione tramite regex nell'intero file: - -`:%s/{{pattern}}/{{sostituzione}}/g` +`` -- Salva modifiche al file ed esci: +- Cerca un pattern nel file (usa ``/`` per spostarti al risultato successivo/precedente): -`:wq` +`{{espressione_regolare}}` -- Esci senza salvare: +- Effettua una sostituzione tramite espressione regolare nell'intero file: -`:q!` +`<:>%s/{{espressione_regolare}}/{{sostituzione}}/g` diff --git a/pages.it/common/vlc.md b/pages.it/common/vlc.md index 9a93957cb75ed4..b30779c450332c 100644 --- a/pages.it/common/vlc.md +++ b/pages.it/common/vlc.md @@ -1,23 +1,23 @@ # vlc > Lettore multimediale multi-piattaforma. -> Maggiori informazioni: . +> Maggiori informazioni: . - Riproduce un file: -`vlc {{percorso/al/file}}` +`vlc {{percorso/del/file}}` - Riproduce a schermo intero: -`vlc --fullscreen {{percorso/al/file}}` +`vlc --fullscreen {{percorso/del/file}}` - Riproduce con audio disattivato: -`vlc --no-audio {{percorso/al/file}}` +`vlc --no-audio {{percorso/del/file}}` - Riproduce in ciclo continuo: -`vlc --loop {{percorso/al/file}}` +`vlc --loop {{percorso/del/file}}` - Riproduce il video in un certo URL: diff --git a/pages.it/common/wget.md b/pages.it/common/wget.md index dca06e529e77ea..713ddd4acb32d4 100644 --- a/pages.it/common/wget.md +++ b/pages.it/common/wget.md @@ -10,28 +10,28 @@ - Scarica il contenuto dell'URL in un file (dal nome "efgh" in questo caso): -`wget -O {{efgh}} {{https://esempio.com/abcd}}` +`wget {{[-O|--output-document]}} {{efgh}} {{https://esempio.com/abcd}}` - Scarica una singola pagina web e tutte le sue risorse (script, immagini, stili, ecc..) aspettando 3 secondi dopo ogni richiesta: -`wget --page-requisites --convert-links --wait=3 {{https://esempio.com/pagina_web.html}}` +`wget {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{[-w|--wait]}} 3 {{https://esempio.com/pagina_web.html}}` -- Scarica tutti i file elencati nella cartella e nelle sue sotto-cartelle (non scarica gli elementi incorporati nella pagina): +- Scarica tutti i file elencati nella directory e nelle sue sotto-directory (non scarica gli elementi incorporati nella pagina): -`wget --mirror --no-parent {{https://esempio.com/unqualchepercorso/}}` +`wget {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://esempio.com/unqualchepercorso/}}` - Limita la velocità di download e il numero di tentativi di connessione: -`wget --limit-rate={{300k}} --tries={{100}} {{https://esempio.com/unqualchepercorso/}}` +`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://esempio.com/unqualchepercorso/}}` - Scarica un file da un server HTTP trasmettendo le credenziali tramite Basis Auth (funzione anche con FTP): -`wget --user={{nome_utente}} --password={{password}} {{https://esempio.com}}` +`wget --user {{nome_utente}} --password {{password}} {{https://esempio.com}}` - Riprende un download incompleto: -`wget -c {{https://esempio.com}}` +`wget {{[-c|--continue]}} {{https://esempio.com}}` -- Scarica tutti gli URL contenuti in un file di testo in una cartella specificata: +- Scarica tutti gli URL contenuti in un file di testo in una directory specificata: -`wget -P {{percorso/alla/cartella}} -i {{lista_di_URL.txt}}` +`wget {{[-P|--directory-prefix]}} {{percorso/della/directory}} {{[-i|--input-file]}} {{lista_di_URL.txt}}` diff --git a/pages.it/common/xkill.md b/pages.it/common/xkill.md new file mode 100644 index 00000000000000..784ca35356cdc1 --- /dev/null +++ b/pages.it/common/xkill.md @@ -0,0 +1,9 @@ +# xkill + +> Termina una finestra interattivamente attraverso la sessione grafica. +> Vedi anche `kill` e `killall`. +> Maggiori informazioni: . + +- Mostra un cursore per terminate una finestra cliccandoci sopra con il tasto sinistro del mouse (premendo qualsiasi altro tasto si cancella l'azione): + +`xkill` diff --git a/pages.it/common/xxd.md b/pages.it/common/xxd.md new file mode 100644 index 00000000000000..c190dae78737ed --- /dev/null +++ b/pages.it/common/xxd.md @@ -0,0 +1,32 @@ +# xxd + +> Mostra la rappresentazione esadecimale (hexdump) di un file binario e viceversa. +> Maggiori informazioni: . + +- Creare l'hexdump di un file binario e mostrare l'output: + +`xxd {{file_di_input}}` + +- Creare l'hexdump di un file binario e salvare il risultato in un file: + +`xxd {{file_di_input}} {{file_di_output}}` + +- Mostrare un output in una versione un po' più compatta, dove gli zero consegutivi vengono sostituiti da un asterisco: + +`xxd -a {{file_di_input}}` + +- Mostrare l'output in 10 colonne di un ottetto (byte) ciascuna: + +`xxd -c {{10}} {{file_di_input}}` + +- Mostrare l'output solo fino ad una lunghezza massima di 32 bytes: + +`xxd -l {{32}} {{file_di_input}}` + +- Mostrare l'output in modalità normale, senza spazi tra le colonne: + +`xxd -p {{file_di_input}}` + +- Eseguire l'operazione inversa, ovvero da un hexdump creare il binario e salvarlo in un file: + +`xxd -r -p {{file_di_input}} {{file_di_output}}` diff --git a/pages.it/common/xzcat.md b/pages.it/common/xzcat.md new file mode 100644 index 00000000000000..885a0b1bc2665b --- /dev/null +++ b/pages.it/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Questo comando è un alias per `xz`. + +- Consulta la documentazione del comando originale: + +`tldr xz` diff --git a/pages.it/common/youtube-dl.md b/pages.it/common/youtube-dl.md index 7796986db3b4bb..bc08348462ac61 100644 --- a/pages.it/common/youtube-dl.md +++ b/pages.it/common/youtube-dl.md @@ -1,7 +1,7 @@ # youtube-dl > Scarica video da YouTube ed altri siti web. -> Maggiori informazioni: . +> Maggiori informazioni: . - Scarica un video od una playlist: @@ -33,4 +33,4 @@ - Scarica una playlist, ne estrae l'audio e lo salva in formato mp3: -`youtube-dl -i --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" '{{url_della_playlist}}'` +`youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" '{{url_della_playlist}}'` diff --git a/pages.it/common/zsh.md b/pages.it/common/zsh.md index fa9171e8560f7e..94c47f7b9e0f2c 100644 --- a/pages.it/common/zsh.md +++ b/pages.it/common/zsh.md @@ -2,7 +2,7 @@ > Z SHell. > Inteprete da linea di comando compatibile con `bash` e `sh`. -> Maggiori informazioni: . +> Maggiori informazioni: . - Fai partire l'interprete interattivo da linea di comando: diff --git a/pages.it/linux/a2disconf.md b/pages.it/linux/a2disconf.md new file mode 100644 index 00000000000000..dda91f2bbabe3f --- /dev/null +++ b/pages.it/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Disattiva un file di configurazione Apache su Sistemi Operativi basati su Debian. +> Maggiori informazioni: . + +- Disattiva un file di configurazione: + +`sudo a2disconf {{file_di_configurazione}}` + +- Non mostrare messaggi informativi: + +`sudo a2disconf --quiet {{file_di_configurazione}}` diff --git a/pages.it/linux/a2dismod.md b/pages.it/linux/a2dismod.md new file mode 100644 index 00000000000000..0fbdaa3d2fcfd0 --- /dev/null +++ b/pages.it/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Disattiva un modulo Apache su sistemi operativi basati su Debian. +> Maggiori informazioni: . + +- Disattiva un modulo: + +`sudo a2dismod {{modulo}}` + +- Non mostrare messaggi informativi: + +`sudo a2dismod --quiet {{modulo}}` diff --git a/pages.it/linux/a2dissite.md b/pages.it/linux/a2dissite.md new file mode 100644 index 00000000000000..dc75d45b94d3e9 --- /dev/null +++ b/pages.it/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Disattiva un virtual host Apache su sistemi operativi basati su Debian. +> Maggiori informazioni: . + +- Disattiva un virtual host: + +`sudo a2dissite {{virtual_host}}` + +- Non mostrare messaggi informativi: + +`sudo a2dissite --quiet {{virtual_host}}` diff --git a/pages.it/linux/a2enconf.md b/pages.it/linux/a2enconf.md new file mode 100644 index 00000000000000..94fb67800d41b9 --- /dev/null +++ b/pages.it/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Attiva un file di configurazione Apache su sistemi operativi basati su Debian. +> Maggiori informazioni: . + +- Attiva un file di configurazione: + +`sudo a2enconf {{file_di_configurazione}}` + +- Non mostrare messaggi informativi: + +`sudo a2enconf --quiet {{file_di_configurazione}}` diff --git a/pages.it/linux/a2enmod.md b/pages.it/linux/a2enmod.md new file mode 100644 index 00000000000000..537691a9c47b58 --- /dev/null +++ b/pages.it/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Attiva un modulo Apache su sistemi operativi basati su Debian. +> Maggiori informazioni: . + +- Attiva un modulo: + +`sudo a2enmod {{modulo}}` + +- Non mostrare messaggi informativi: + +`sudo a2enmod --quiet {{modulo}}` diff --git a/pages.it/linux/a2ensite.md b/pages.it/linux/a2ensite.md new file mode 100644 index 00000000000000..ed3f5292279123 --- /dev/null +++ b/pages.it/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Attiva un virtual host Apache su sistemi operativi basati su Debian. +> Maggiori informazioni: . + +- Attiva un virtual host: + +`sudo a2ensite {{virtual_host}}` + +- Non mostrare messaggi informativi: + +`sudo a2ensite --quiet {{virtual_host}}` diff --git a/pages.it/linux/a2query.md b/pages.it/linux/a2query.md new file mode 100644 index 00000000000000..5a90c176993ae6 --- /dev/null +++ b/pages.it/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Recupera la configurazione di runtime da Apache su sistemi operativi basati su Debian. +> Maggiori informazioni: . + +- Lista i moduli Apache attivi: + +`sudo a2query -m` + +- Controlla se un modulo specifico è installato: + +`sudo a2query -m {{nome_modulo}}` + +- Lista virtual host attivi: + +`sudo a2query -s` + +- Mostra il Modulo Multi-Processo correntemente attivo: + +`sudo a2query -M` + +- Mostra la versione di Apache: + +`sudo a2query -v` diff --git a/pages.it/linux/acpi.md b/pages.it/linux/acpi.md index eb517a6a3eb31c..07098c7378e693 100644 --- a/pages.it/linux/acpi.md +++ b/pages.it/linux/acpi.md @@ -1,7 +1,7 @@ # acpi > Mostra lo stato e le informazioni termiche della batteria. -> Maggiori informazioni: . +> Maggiori informazioni: . - Mostra le informazioni sulla batteria: diff --git a/pages.it/linux/add-apt-repository.md b/pages.it/linux/add-apt-repository.md index 786d5b1dfba57a..006f9228bfb863 100644 --- a/pages.it/linux/add-apt-repository.md +++ b/pages.it/linux/add-apt-repository.md @@ -1,14 +1,15 @@ # add-apt-repository -> Gestisce le definizioni di repository apt. +> Gestisce le definizioni di repository APT. +> Maggiori informazioni: . -- Aggiunge un nuovo repository apt: +- Aggiunge un nuovo repository APT: `add-apt-repository {{identificativo_del_repository}}` -- Rimuove un repository apt: +- Rimuove un repository APT: -`add-apt-repository --remove {{identificativo_del_repository}}` +`add-apt-repository {{[-r|--remove]}} {{identificativo_del_repository}}` - Aggiorna la cache dei pacchetti dopo aver aggiunto un repository: @@ -16,4 +17,4 @@ - Attiva i pacchetti sorgente: -`add-apt-repository --enable-source {{identificativo_del_repository}}` +`add-apt-repository {{[-s|--enable-source]}} {{identificativo_del_repository}}` diff --git a/pages.it/linux/adduser.md b/pages.it/linux/adduser.md index 133092eee6a127..9be6dfe19cf2ca 100644 --- a/pages.it/linux/adduser.md +++ b/pages.it/linux/adduser.md @@ -1,22 +1,23 @@ # adduser > Servizio per aggiungere utenti. +> Maggiori informazioni: . -- Crea un nuovo utente con una home directory predefinita e richiede all'utente di impostare una password: +- Crea un nuovo utente con una directory home predefinita e richiede all'utente di impostare una password: `adduser {{nome_utente}}` -- Crea un utente senza una home directory: +- Crea un utente senza una directory home: `adduser --no-create-home {{nome_utente}}` -- Crea un utente con una home directory nel percorso specificato: +- Crea un utente con una directory home nel percorso specificato: -`adduser --home {{percorso/all/home}} {{nome_utente}}` +`adduser --home {{percorso/della/home}} {{nome_utente}}` - Crea un nuovo utente con l'interprete di comandi(shell) specificato come shell di accesso: -`adduser --shell {{percorso/alla/shell}} {{nome_utente}}` +`adduser --shell {{percorso/della/shell}} {{nome_utente}}` - Crea un nuovo utente appartenente al gruppo specificato: diff --git a/pages.it/linux/alternatives.md b/pages.it/linux/alternatives.md new file mode 100644 index 00000000000000..773b3708e58397 --- /dev/null +++ b/pages.it/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Questo comando è un alias per `update-alternatives`. + +- Consulta la documentazione del comando originale: + +`tldr update-alternatives` diff --git a/pages.it/linux/apk.md b/pages.it/linux/apk.md new file mode 100644 index 00000000000000..f4cd4ab4e81a80 --- /dev/null +++ b/pages.it/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> Gestore pacchetti di Alpine Linux. +> Maggiori informazioni: . + +- Aggiorna gli indici di tutti i repository remoti: + +`apk update` + +- Installa un nuovo pacchetto: + +`apk add {{pacchetto}}` + +- Disinstalla un pacchetto: + +`apk del {{pacchetto}}` + +- Prova a riparare un pacchetto o ad aggiornare un pacchetto senza modificarne le dipendenze: + +`apk fix {{paquet}}` + +- Ricerca pacchetti data una parola chiave: + +`apk search {{parola_chiave}}` + +- Ottieni informazioni su un pacchetto: + +`apk info {{pacchetto}}` diff --git a/pages.it/linux/apt-add-repository.md b/pages.it/linux/apt-add-repository.md index e5ecb639650abe..759041b2fb533c 100644 --- a/pages.it/linux/apt-add-repository.md +++ b/pages.it/linux/apt-add-repository.md @@ -1,12 +1,13 @@ # apt-add-repository -> Gestisce le definizioni di repository apt. +> Gestisce le definizioni di repository APT. +> Maggiori informazioni: . -- Aggiunge un nuovo repository apt: +- Aggiunge un nuovo repository APT: `apt-add-repository {{identificativo_del_repository}}` -- Rimuove un repository apt: +- Rimuove un repository APT: `apt-add-repository --remove {{identificativo_del_repository}}` diff --git a/pages.it/linux/apt-cache.md b/pages.it/linux/apt-cache.md index 6523c759ab7bde..d3d3a907508a32 100644 --- a/pages.it/linux/apt-cache.md +++ b/pages.it/linux/apt-cache.md @@ -1,6 +1,7 @@ # apt-cache > Strumenti di Debian e Ubuntu per richiedere informazioni sui pacchetti. +> Maggiori informazioni: . - Cerca un pacchetto nelle sorgenti attuali: diff --git a/pages.it/linux/apt-file.md b/pages.it/linux/apt-file.md index 5610d6ad196d65..41716869ac7e34 100644 --- a/pages.it/linux/apt-file.md +++ b/pages.it/linux/apt-file.md @@ -1,6 +1,7 @@ # apt-file -> Cerca un file dentro un pacchetto apt, includendo quelli non ancora installati. +> Cerca un file dentro un pacchetto APT, includendo quelli non ancora installati. +> Maggiori informazioni: . - Aggiorna il database dei metadati: diff --git a/pages.it/linux/apt-get.md b/pages.it/linux/apt-get.md index cc512ab9e376b2..5a8982228e6566 100644 --- a/pages.it/linux/apt-get.md +++ b/pages.it/linux/apt-get.md @@ -1,7 +1,8 @@ # apt-get -> Servizio di gestione dei pacchetti per Debian e Ubuntu +> Servizio di gestione dei pacchetti per Debian e Ubuntu. > Cerca i pacchetti usando `apt-cache`. +> Maggiori informazioni: . - Aggiorna la lista dei pacchetti e delle loro versioni disponibili (è consigliato eseguire questo comando prima di altri comandi `apt-get`): diff --git a/pages.it/linux/apt-key.md b/pages.it/linux/apt-key.md index 234f2ebc138752..dda61ad93858a1 100644 --- a/pages.it/linux/apt-key.md +++ b/pages.it/linux/apt-key.md @@ -1,6 +1,7 @@ # apt-key > Servizio di gestione delle chiavi per il gestore di pacchetti APT su Debian ed Ubuntu. +> Maggiori informazioni: . - Elenca le chiavi fidate: @@ -18,6 +19,6 @@ `wget -qO - {{https://indirizzo.tld/filename.key}} | apt-key add -` -- Aggiunge una chiave da un server di chiavi con il solo id della chiave: +- Aggiunge una chiave da un server di chiavi con il solo ID della chiave: `apt-key adv --keyserver {{pgp.mit.edu}} --recv {{ID_DELLA_CHIAVE}}` diff --git a/pages.it/linux/apt-mark.md b/pages.it/linux/apt-mark.md index e1d641ef7d4ab0..92358ea448c251 100644 --- a/pages.it/linux/apt-mark.md +++ b/pages.it/linux/apt-mark.md @@ -1,6 +1,7 @@ # apt-mark > Servizio per cambiare lo stato di un pacchetto installato. +> Maggiori informazioni: . - Contrassegna un pacchetto come installato automaticamente: diff --git a/pages.it/linux/apt.md b/pages.it/linux/apt.md index 8f972478e5ee96..bad9c53d4ba173 100644 --- a/pages.it/linux/apt.md +++ b/pages.it/linux/apt.md @@ -1,7 +1,8 @@ # apt > Servizio di gestione dei pacchetti per distribuzioni basate su Debian. -> Rimpiazzo raccomandato di apt-get quando usato interattivamente su Ubuntu 16.04 e versioni successive. +> Rimpiazzo raccomandato di `apt-get` quando usato interattivamente su Ubuntu 16.04 e versioni successive. +> Maggiori informazioni: . - Aggiorna la lista dei pacchetti e delle loro versioni disponibili (è consigliato eseguire questo comando prima di altri comandi `apt`): @@ -33,4 +34,4 @@ - Elenca i pacchetti installati: -`apt list --installed` +`apt list {{[-i|--installed]}}` diff --git a/pages.it/linux/aur.md b/pages.it/linux/aur.md new file mode 100644 index 00000000000000..8a8a407ca639d4 --- /dev/null +++ b/pages.it/linux/aur.md @@ -0,0 +1,37 @@ +# aur + +> Compila pacchetti dall’AUR e gestisci repository locali. +> Nota: è necessario definire un repository locale in `/etc/pacman.conf` e installare `vifm` per avere tutte le funzionalità. +> Maggiori informazioni: . + +- Inizializza il repository che corrisponde al percorso in `/etc/pacman.conf`: + +`repo-add {{percorso/del/database.db.tar.gz}}` + +- Cerca un pacchetto nel database AUR: + +`aur search {{parola_chiave}}` + +- Scarica uno o più pacchetti e le loro dipendenze dall’AUR, compilali e aggiungili a un repository locale: + +`aur sync {{pacchetto1 pacchetto2 ...}}` + +- Elenca i pacchetti disponibili nel tuo repository locale: + +`aur repo {{[-l|--list]}}` + +- Aggiorna i pacchetti del repository locale: + +`aur sync {{[-u|--upgrades]}}` + +- Pulisci i file di compilazione dopo l’installazione: + +`aur sync {{[-C|--clean]}} {{pacchetto}}` + +- Installa un pacchetto senza mostrare le modifiche in Vim e senza confermare l’installazione delle dipendenze: + +`aur sync --noview {{[-n|--noconfirm]}} {{pacchetto}}` + +- Rimuovi un pacchetto dai metadati del repository (non rimuove il file del pacchetto stesso): + +`repo-remove {{percorso/del/database.db.tar.gz}} {{pacchetto}}` diff --git a/pages.it/linux/autorecon.md b/pages.it/linux/autorecon.md new file mode 100644 index 00000000000000..97c666d13ccfd1 --- /dev/null +++ b/pages.it/linux/autorecon.md @@ -0,0 +1,20 @@ +# autorecon + +> Uno strumento multi-threaded di ricognizione di rete che esegue l'enumerazione automatica dei servizi. +> Maggiori informazioni: . + +- Esegui la ricognizione su uno o più host di destinazione (i risultati dettagliati della scansione verranno salvati in `./results`): + +`sudo autorecon {{host_o_ip1,host_o_ip2,...}}` + +- Esegui la ricognizione su target specificati in un file: + +`sudo autorecon {{[-t|--target-file]}} {{percorso/del/file}}` + +- Salva i risultati in una directory diversa: + +`sudo autorecon {{[-o|--output]}} {{percorso/dei/risultati}} {{host_o_ip1,host_o_ip2,...}}` + +- Limita la scansione a porte e protocolli specifici (`T` per TCP, `U` per UDP, `B` per entrambi): + +`sudo autorecon {{[-p|--ports]}} {{T:21-25,80,443,U:53,B:123}} {{host_o_ip1,host_o_ip2,...}}` diff --git a/pages.it/linux/batcat.md b/pages.it/linux/batcat.md new file mode 100644 index 00000000000000..685e2f12808491 --- /dev/null +++ b/pages.it/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Questo comando è un alias per `bat`. + +- Consulta la documentazione del comando originale: + +`tldr bat` diff --git a/pages.it/linux/beep.md b/pages.it/linux/beep.md new file mode 100644 index 00000000000000..9b0b37227ea76c --- /dev/null +++ b/pages.it/linux/beep.md @@ -0,0 +1,24 @@ +# beep + +> Un'utilità per emettere un segnale acustico all'altoparlante del PC. +> Maggiori informazioni: . + +- Emetti un suono: + +`beep` + +- Emetti un suono che si ripete: + +`beep -r {{ripetizioni}}` + +- Emetti un suono a una specifica frequenza (Hz) e durata (millisecondi): + +`beep -f {{frequenza}} -l {{durata}}` + +- Riproduci ogni nuova frequenza e durata come un segnale acustico distinto: + +`beep -f {{frequenza}} -l {{durata}} -n -f {{frequenza}} -l {{durata}}` + +- Suona la scala di do maggiore: + +`beep -f {{262}} -n -f {{294}} -n -f {{330}} -n -f {{349}} -n -f {{392}} -n -f {{440}} -n -f {{494}} -n -f {{523}}` diff --git a/pages.it/linux/binwalk.md b/pages.it/linux/binwalk.md deleted file mode 100644 index 8b5edbb16dd2c7..00000000000000 --- a/pages.it/linux/binwalk.md +++ /dev/null @@ -1,28 +0,0 @@ -# binwalk - -> Strumento per l'analisi di file binari. -> Maggiori informazioni: . - -- Scansiona un file binario: - -`binwalk {{percorso/a/file}}` - -- Estrae file da un binario, specificando la cartella di output: - -`binwalk --extract --directory {{cartella_di_output}} {{percorso/a/file}}` - -- Estrae file in maniera ricorsiva a partire da un binario, limitando la profondità di ricorsione a 2 livelli: - -`binwalk --extract --matryoshka --depth {{2}} {{percorso/a/file}}` - -- Estrae file da un binario utilizzando una particolare firma (ad esempio il MIME Type): - -`binwalk --dd '{{png image:png}}' {{percorso/a/file}}` - -- Analizza l'entropia di un binario e salva il grafico con lo stesso filename del binario, con l'estensione `.png` in fondo: - -`binwalk --entropy --save {{percorso/a/file}}` - -- Combina analisi di entropia, firme e opcode in un unico comando: - -`binwalk --entropy --signature --opcodes {{percorso/a/file}}` diff --git a/pages.it/linux/cc.md b/pages.it/linux/cc.md new file mode 100644 index 00000000000000..690f1a44eb6ad3 --- /dev/null +++ b/pages.it/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Questo comando è un alias per `gcc`. + +- Consulta la documentazione del comando originale: + +`tldr gcc` diff --git a/pages.it/linux/chcon.md b/pages.it/linux/chcon.md new file mode 100644 index 00000000000000..a02c82e15cec8a --- /dev/null +++ b/pages.it/linux/chcon.md @@ -0,0 +1,32 @@ +# chcon + +> Cambia contesto di sicurezza SELinux di file o directory. +> Maggiori informazioni: . + +- Mostra il contesto di sicurezza di un file: + +`ls {{[-lZ|-l --context]}} {{percorso/del/file}}` + +- Cambia il contesto di sicurezza di un file usandone un'altro come riferimento: + +`chcon --reference {{file_di_riferimento}} {{file}}` + +- Cambia l'intero contesto di sicurezza SELinux di un file: + +`chcon {{utente}}:{{ruolo}}:{{tipo}}:{{range/livello}} {{file}}` + +- Cambia solo l'utente di un contesto di sicurezza SELinux: + +`chcon {{[-u|--user]}} {{utente}} {{file}}` + +- Cambia solo il ruolo di un contesto di sicurezza SELinux: + +`chcon {{[-r|--role]}} {{ruolo}} {{file}}` + +- Cambia solo il tipo di un contesto di sicurezza SELinux: + +`chcon {{[-t|--type]}} {{tipo}} {{file}}` + +- Cambia solo il range/livello di un contesto di sicurezza SELinux: + +`chcon {{[-l|--range]}} {{range/livello}} {{file}}` diff --git a/pages.it/linux/chpasswd.md b/pages.it/linux/chpasswd.md new file mode 100644 index 00000000000000..c93f6a87ca9109 --- /dev/null +++ b/pages.it/linux/chpasswd.md @@ -0,0 +1,20 @@ +# chpasswd + +> Cambia le password di più utenti utilizzando `stdin`. +> Maggiori informazioni: . + +- Cambia la password di un utente specifico: + +`printf "{{username}}:{{new_password}}" | sudo chpasswd` + +- Cambia le password di più utenti (il testo in input non deve contenere spazi): + +`printf "{{username_1}}:{{new_password_1}}\n{{username_2}}:{{new_password_2}}" | sudo chpasswd` + +- Cambia la password di un utente specifico, specificandola in forma crittografata: + +`printf "{{username}}:{{new_encrypted_password}}" | sudo chpasswd --encrypted` + +- Cambia la password di un utente specifico e utilizza un metodo di crittografia specifico: + +`printf "{{username}}:{{new_password}}" | sudo chpasswd --crypt-method {{NONE|DES|MD5|SHA256|SHA512}}` diff --git a/pages.it/linux/chsh.md b/pages.it/linux/chsh.md new file mode 100644 index 00000000000000..2078b38e1fb280 --- /dev/null +++ b/pages.it/linux/chsh.md @@ -0,0 +1,21 @@ +# chsh + +> Cambia la shell di login di un utente. +> Fa parte di `util-linux`. +> Maggiori informazioni: . + +- Imposta interattivamente una shell di login per l'utente corrente: + +`chsh` + +- Elenca le shell disponibili: + +`chsh {{[-l|--list-shells]}}` + +- Imposta una shell di login specifica per l'utente corrente: + +`chsh {{[-s|--shell]}} {{percorso/alla/shell}}` + +- Imposta la shell di login per un utente specifico: + +`sudo chsh {{[-s|--shell]}} {{percorso/alla/shell}} {{username}}` diff --git a/pages.it/linux/column.md b/pages.it/linux/column.md new file mode 100644 index 00000000000000..47526cabba5c60 --- /dev/null +++ b/pages.it/linux/column.md @@ -0,0 +1,21 @@ +# column + +> Formatta standard input o un file in più colonne. +> Le colonne sono riempite prima delle righe; il separatore predefinito è lo spazio. +> Maggiori informazioni: . + +- Formatta l'output per uno schermo largo 30 caratteri: + +`printf "intestazione1 intestazione2\nbar foo\n" | column {{[-c|--output-width]}} {{30}}` + +- Separa colonne ed allinea automaticamente in un formato tabulare: + +`printf "intestazione1 intestazione2\nbar foo\n" | column {{[-t|--table]}}` + +- Specifica un diverso separatore di colonna (e.g. "," per CSV) (il predefinito è lo spazio): + +`printf "intestazione1 intestazione2\nbar foo\n" | column {{[-t|--table]}} {{[-s|--separator]}} {{,}}` + +- Riempi le righe prima delle colonne: + +`printf "intestazione1\nbar\nfoobar\n" | column {{[-c|--output-width]}} {{30}} {{[-x|--fillrows]}}` diff --git a/pages.it/linux/cp.md b/pages.it/linux/cp.md deleted file mode 100644 index 3c9dcad9cd0e5e..00000000000000 --- a/pages.it/linux/cp.md +++ /dev/null @@ -1,31 +0,0 @@ -# cp - -> Copia file e cartelle. - -- Copia un file in un'altra posizione: - -`cp {{persorso/al/file_da_copiare.est}} {{percorso/al/file_di_destinazione.est}}` - -- Copia un file all'interno di una cartella, mantenendone uguale il nome: - -`cp {{percorso/al/file_da_copiare.est}} {{percorso/alla/cartella}}` - -- Copia ricorsivamente i contenuti di una cartella in un'altra posizione (se la destinazione esiste, la cartella è copiata al suo interno): - -`cp -r {{percorso/alla/cartella_da_copiare}} {{percorso/di/destinazione}}` - -- Copia una cartella ricorsivamente in modalità prolissa (mostra i file mentre vengono copiati): - -`cp -vr {{percorso/alla/cartella_da_copiare}} {{percorso/di/destinazione}}` - -- Copia i file di testo in un'altra posizione, in modalità interattiva (richiede conferma all'utente prima di sovrascrivere): - -`cp -i {{*.txt}} {{percorso/di/destinazione}}` - -- Segue i collegamenti simbolici prima di copiare: - -`cp -L {{collegamento}} {{percorso/di/destinazione}}` - -- Utilizza il percorso completo dei file originali, creando ogni cartella intermedia mancante mentre durante la copia: - -`cp --parents {{percorso/dei/file/da/copiare}} {{percorso/al/file/destinazione}}` diff --git a/pages.it/linux/crond.md b/pages.it/linux/crond.md new file mode 100644 index 00000000000000..cd41d658fb68b0 --- /dev/null +++ b/pages.it/linux/crond.md @@ -0,0 +1,24 @@ +# crond + +> Servizio per eseguire i comandi pianificati dai file crontab. +> Maggiori informazioni: . + +- Avvia un servizio in background e controlla i comandi pianificati: + +`crond` + +- Avvia un servizio in primo piano e controlla i comandi pianificati: + +`crond -n` + +- Invia l'output del job dal servizio al [s]ystem log: + +`crond -s` + +- Sovrascrive le limitazioni di default e accetta crontables personalizzate: + +`crond -p` + +- Eredita il percorso del file crontab dalle impostazioni dell'ambiente: + +`crond -P` diff --git a/pages.it/linux/deluser.md b/pages.it/linux/deluser.md new file mode 100644 index 00000000000000..a2d5617876f1a1 --- /dev/null +++ b/pages.it/linux/deluser.md @@ -0,0 +1,16 @@ +# deluser + +> Rimuovi un account utente o un utente da un gruppo. +> Maggiori informazioni: . + +- Rimuovi un utente: + +`deluser {{nome}}` + +- Rimuovi un utente insieme alla sua directory home e raccolta mail: + +`deluser -r {{nome}}` + +- Rimuovi un utente da un gruppo: + +`deluser {{nome}} {{gruppo}}` diff --git a/pages.it/linux/dkms.md b/pages.it/linux/dkms.md new file mode 100644 index 00000000000000..023b8d46d062db --- /dev/null +++ b/pages.it/linux/dkms.md @@ -0,0 +1,20 @@ +# dkms + +> Un framework che permette la compilazione dinamica di moduli del kernel. +> Maggiori informazioni: . + +- Elenca i moduli attualmente installati: + +`dkms status` + +- Ricompila tutti i moduli per il kernel in esecuzione: + +`sudo dkms autoinstall` + +- Installa la versione 1.2.1 del modulo acpi_call per il kernel in esecuzione: + +`sudo dkms install -m {{acpi_call}} -v {{1.2.1}}` + +- Rimuovi la versione 1.2.1 del modulo acpi_call da tutti i kernel: + +`sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all` diff --git a/pages.it/linux/dpkg-deb.md b/pages.it/linux/dpkg-deb.md index 7fc45669da48ea..a1b59b98c75e10 100644 --- a/pages.it/linux/dpkg-deb.md +++ b/pages.it/linux/dpkg-deb.md @@ -1,24 +1,24 @@ # dpkg-deb > Impacchetta, spacchetta e fornisce informazioni su archivi Debian. -> Maggiori informazioni: . +> Maggiori informazioni: . - Mostra le informazioni riguardo ad un pacchetto: -`dpkg-deb --info {{percorso/al/file.deb}}` +`dpkg-deb --info {{percorso/del/file.deb}}` - Mostra il nome e la versione del pacchetto in una singola riga: -`dpkg-deb --show {{percorso/al/file.deb}}` +`dpkg-deb --show {{percorso/del/file.deb}}` - Elenca i contenuti del pacchetto: -`dpkg-deb --contents {{percorso/al/file.deb}}` +`dpkg-deb --contents {{percorso/del/file.deb}}` -- Estrae i contenuti del pacchetto in una cartella: +- Estrae i contenuti del pacchetto in una directory: -`dpkg-deb --extract {{percorso/al/file.deb}} {{percorso/alla/cartella}}` +`dpkg-deb --extract {{percorso/del/file.deb}} {{percorso/della/directory}}` -- Crea una pacchetto a partire da una cartella specificata: +- Crea una pacchetto a partire da una directory specificata: -`dpkg-deb --build {{percorso/alla/cartella}}` +`dpkg-deb --build {{percorso/della/directory}}` diff --git a/pages.it/linux/dpkg-query.md b/pages.it/linux/dpkg-query.md index 59f90fc1ebd567..7a30a2592b71f5 100644 --- a/pages.it/linux/dpkg-query.md +++ b/pages.it/linux/dpkg-query.md @@ -1,6 +1,7 @@ # dpkg-query > Uno strumento che mostra informazioni sui pacchetti installati. +> Maggiori informazioni: . - Elenca tutti i pacchetti installati: diff --git a/pages.it/linux/dpkg.md b/pages.it/linux/dpkg.md index 2acdaadbe94e8d..28d1aa75ba07b7 100644 --- a/pages.it/linux/dpkg.md +++ b/pages.it/linux/dpkg.md @@ -1,11 +1,12 @@ # dpkg > Gestore di pacchetti Debian. -> Maggiori informazioni: . +> Alcuni comandi aggiuntivi, come `deb`, hanno la propria documentazione. +> Maggiori informazioni: . - Installa un pacchetto: -`dpkg -i {{percorso/al/file.deb}}` +`dpkg -i {{percorso/del/file.deb}}` - Rimuove un pacchetto: @@ -21,7 +22,7 @@ - Elenca i contenuti di un file pacchetto locale: -`dpkg -c {{percorso/al/file.deb}}` +`dpkg -c {{percorso/del/file.deb}}` - Trova a quale pacchetto appartiene un file: diff --git a/pages.it/linux/enum4linux.md b/pages.it/linux/enum4linux.md new file mode 100644 index 00000000000000..be08893148c0ec --- /dev/null +++ b/pages.it/linux/enum4linux.md @@ -0,0 +1,24 @@ +# enum4linux + +> Strumento per ottenere informazioni da Windows e Samba da un sistema remoto. +> Maggiori informazioni: . + +- Ottieni informazioni utilizzando tutti i metodi disponibili: + +`enum4linux -a {{host_remoto}}` + +- Ottieni informazioni utilizzando le credenziali fornite: + +`enum4linux -u {{nome_utente}} -p {{password}} {{host_remoto}}` + +- Ottieni la lista utenti: + +`enum4linux -U {{host_remoto}}` + +- Mostra le risorse condivise: + +`enum4linux -S {{host_remoto}}` + +- Ottieni informazioni riguardo al sistema operativo: + +`enum4linux -o {{host_remoto}}` diff --git a/pages.it/linux/fail2ban-client.md b/pages.it/linux/fail2ban-client.md new file mode 100644 index 00000000000000..237bbabcab1be5 --- /dev/null +++ b/pages.it/linux/fail2ban-client.md @@ -0,0 +1,16 @@ +# fail2ban-client + +> Configurare e controllare il server fail2ban. +> Maggiori informazioni: . + +- Ottiene lo stato corrente del servizio jail: + +`fail2ban-client status {{jail}}` + +- Rimuove l'IP specificato dalla lista ban del servizio jail: + +`fail2ban-client set {{jail}} unbanip {{ip}}` + +- Verifica che il server fail2ban sia attivo: + +`fail2ban-client ping` diff --git a/pages.it/linux/firewall-cmd.md b/pages.it/linux/firewall-cmd.md new file mode 100644 index 00000000000000..e2a76c62450be6 --- /dev/null +++ b/pages.it/linux/firewall-cmd.md @@ -0,0 +1,37 @@ +# firewall-cmd + +> Il client a linea di comando firewalld. +> Visualizza e adatta lo stato di configurazione del firewall in esecuzione (runtime) o permanente. +> Maggiori informazioni: . + +- Visualizza tutte le zone e regole firewall disponibili nel loro stato di configurazione runtime: + +`firewall-cmd --list-all-zones` + +- Sposta permanentemente l'interfaccia nella zona block, bloccando effettivamente tutte le comunicazioni: + +`firewall-cmd --permanent --zone {{block}} --change-interface {{enp1s0}}` + +- Apre permanentemente la porta per un servizio nella zona specificata (come la porta 443 nella zona `public`): + +`firewall-cmd --permanent --zone {{public}} --add-service {{https}}` + +- Chiude permanentemente la porta per un servizio nella zona specificata (come la porta 80 nella zona `public`): + +`firewall-cmd --permanent --zone {{public}} --remove-service {{http}}` + +- Reindirizzare permanentemente una porta per i pacchetti in ingresso nella zona specificata (ad esempio dalla porta 443 alla 8443 nella zona `public`): + +`firewall-cmd --permanent --zone {{public}} --add-rich-rule 'rule family "{{ipv4|ipv6}}" forward-port port "{{443}}" protocol "{{udp|tcp}}" to-port "{{8443}}"'` + +- Ricarica firewalld per annullare tutte le modifiche temporanee (runtime) e applicare immediatamente la configurazione permanente: + +`firewall-cmd --reload` + +- Salva la configurazione runtime in quella permanente: + +`firewall-cmd --runtime-to-permanent` + +- Abilita la modalità di panico in caso di emergenza. Tutto il traffico viene bloccato, ogni connessione attiva viene terminata: + +`firewall-cmd --panic-on` diff --git a/pages.it/linux/fsck.md b/pages.it/linux/fsck.md index 394e8c1616187b..2c45551b3bd7ba 100644 --- a/pages.it/linux/fsck.md +++ b/pages.it/linux/fsck.md @@ -1,15 +1,16 @@ # fsck > Controlla l'integrità di un filesystem o lo ripara. Il filesystem non dev'essere montato al momento in cui il comando viene eseguito. +> Maggiori informazioni: . - Controlla il filesystem `/dev/sdX`, riportando eventuali blocchi danneggiati: -`fsck {{/dev/sdX}}` +`sudo fsck {{/dev/sdX}}` - Controlla il filesystem `/dev/sdX`, riportando eventuali blocchi danneggiati e per ognuno consente all'utente di scegliere interattivamente se ripararlo: -`fsck -r {{/dev/sdX}}` +`sudo fsck -r {{/dev/sdX}}` - Controlla il filesystem `/dev/sdX`, riportando eventuali blocchi danneggiati e riparandoli automaticamente: -`fsck -a {{/dev/sdX}}` +`sudo fsck -a {{/dev/sdX}}` diff --git a/pages.it/linux/halt.md b/pages.it/linux/halt.md index 09c89674170eed..3e32eec1c875c7 100644 --- a/pages.it/linux/halt.md +++ b/pages.it/linux/halt.md @@ -1,7 +1,7 @@ # halt > Arresta, spegne o riavvia la macchina. -> Maggiori informazioni: . +> Maggiori informazioni: . - Arresta la macchina: @@ -9,7 +9,7 @@ - Spegne la macchina: -`halt --poweroff` +`halt {{[-p|--poweroff]}}` - Riavvia la macchina: diff --git a/pages.it/linux/ip-route-list.md b/pages.it/linux/ip-route-list.md new file mode 100644 index 00000000000000..158c64d7472672 --- /dev/null +++ b/pages.it/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Questo comando è un alias per `ip route show`. + +- Consulta la documentazione del comando originale: + +`tldr ip route show` diff --git a/pages.it/linux/ip.md b/pages.it/linux/ip.md new file mode 100644 index 00000000000000..93d35b4456391a --- /dev/null +++ b/pages.it/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> Mostra / manipola routing, dispositivi, criteri di routing e tunnel. +> Alcuni sottocomandi, come `address`, hanno una propria documentazione d'uso. +> Maggiori informazioni: . + +- Elenca le interfacce con informazioni dettagliate: + +`ip {{[a|address]}}` + +- Elenca le interfacce con informazioni brevi sul livello di rete: + +`ip {{[-br a|-brief address]}}` + +- Elenca le interfacce con informazioni brevi sul livello di collegamento: + +`ip {{[-br l|-brief link]}}` + +- Visualizza la tabella di routing: + +`ip {{[r|route]}}` + +- Mostra i vicini (tabella ARP): + +`ip {{[n|neighbour]}}` + +- Attiva/disattiva un'interfaccia: + +`sudo ip {{[l|link]}} {{[s|set]}} {{interfaccia}} {{up|down}}` + +- Aggiungi/elimina un indirizzo IP a/da un'interfaccia: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interfaccia}}` + +- Aggiungi una route predefinita: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interfaccia}}` diff --git a/pages.it/linux/iptables.md b/pages.it/linux/iptables.md new file mode 100644 index 00000000000000..cef0650a676751 --- /dev/null +++ b/pages.it/linux/iptables.md @@ -0,0 +1,32 @@ +# iptables + +> Programma che permette di configurare tabelle, catene e regole fornite dal firewall del kernel Linux. +> Maggiori informazioni: . + +- Visualizza catene, regole e contatori di pacchetti/byte per la tabella dei filtri: + +`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}` + +- Imposta regola ad una catena: + +`sudo iptables {{[-P|--policy]}} {{catena}} {{regola}}` + +- Appendi regola ad una catena di policy per IP: + +`sudo iptables {{[-A|--append]}} {{catena}} {{[-s|--source]}} {{ip}} {{[-j|--jump]}} {{regola}}` + +- Appendi regola ad una catena di policy per IP considerando protocollo e porta: + +`sudo iptables {{[-A|--append]}} {{catena}} {{[-s|--source]}} {{ip}} {{[-p|--protocol]}} {{protocollo}} --dport {{porta}} {{[-j|--jump]}} {{regola}}` + +- Cancella regola da una catena: + +`sudo iptables {{[-D|--delete]}} {{catena}} {{numero_di_linea_della_regola}}` + +- Salva la configurazione di ip tables di una specifica tabella in un file: + +`sudo iptables-save {{[-t|--table]}} {{nome tabella}} > {{percorso/del/file_iptables}}` + +- Ripristina la configurazione di iptables da un file: + +`sudo iptables-restore < {{percorso/del/file_iptables}}` diff --git a/pages.it/linux/lsmod.md b/pages.it/linux/lsmod.md index e1efa81d1a790d..d28a1de0f132ef 100644 --- a/pages.it/linux/lsmod.md +++ b/pages.it/linux/lsmod.md @@ -2,6 +2,7 @@ > Mostra lo stato dei moduli del kernel Linux. > Vedi anche `modprobe`, che carica i moduli del kernel. +> Maggiori informazioni: . - Elenca tutti i moduli del kernel attualmente caricati: diff --git a/pages.it/linux/lsusb.md b/pages.it/linux/lsusb.md index c73dd1a41bd2df..4f84976522438a 100644 --- a/pages.it/linux/lsusb.md +++ b/pages.it/linux/lsusb.md @@ -1,6 +1,7 @@ # lsusb > Visualizza le informazioni su i bus USB e i dispositivi a loro connessi. +> Maggiori informazioni: . - Elenca tutti i dispositivi USB disponibili: @@ -8,16 +9,12 @@ - Visualizza la gerarchia USB come un albero: -`lsusb -t` +`lsusb {{[-t|--tree]}}` - Elenca informazioni prolisse riguardo ai dispositivi USB: -`lsusb --verbose` +`lsusb {{[-v|--verbose]}}` -- Elenca informazioni dettagliate riguardo ad un dispositivo USB: - -`lsusb -D {{dispositivo}}` - -- Elenca solamente i dispositivi con un certo id fornitore e id prodotto: +- Elenca solamente i dispositivi con un certo id fornitore e ID prodotto: `lsusb -d {{fornitore}}:{{prodotto}}` diff --git a/pages.it/linux/megadl.md b/pages.it/linux/megadl.md new file mode 100644 index 00000000000000..73d9a56ba35029 --- /dev/null +++ b/pages.it/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Questo comando è un alias per `megatools-dl`. + +- Consulta la documentazione del comando originale: + +`tldr megatools-dl` diff --git a/pages.it/linux/mkfs.md b/pages.it/linux/mkfs.md index 9f447d753ceb27..35017e4e05f861 100644 --- a/pages.it/linux/mkfs.md +++ b/pages.it/linux/mkfs.md @@ -1,16 +1,17 @@ # mkfs > Costruisce un filesystem Linux su una partizione del disco rigido. -> Questo comando è deprecato in favore degli strumenti specifici per filesystem: mkfs.. +> Questo comando è deprecato in favore degli strumenti specifici per filesystem: mkfs.tipo. +> Maggiori informazioni: . - Costruisce un filesystem Linux ext2 su una partizione: -`mkfs {{percorso/alla/partizione}}` +`mkfs {{percorso/della/partizione}}` - Costruisce un filesystem del tipo specificato: -`mkfs -t {{ext4}} {{percorso/alla/partizione}}` +`mkfs -t {{ext4}} {{percorso/della/partizione}}` - Costruisce un filesystem del specificato e controlla la presenza di settori danneggiati: -`mkfs -c -t {{ntfs}} {{percorso/alla/partizione}}` +`mkfs -c -t {{ntfs}} {{percorso/della/partizione}}` diff --git a/pages.it/linux/modinfo.md b/pages.it/linux/modinfo.md index 6cf3915b040779..a7581888acc5e1 100644 --- a/pages.it/linux/modinfo.md +++ b/pages.it/linux/modinfo.md @@ -1,6 +1,7 @@ # modinfo > Estrae le informazioni riguardarti un modulo del kernel Linux. +> Maggiori informazioni: . - Elenca tutti gli attributi di un modulo del kernel: diff --git a/pages.it/linux/modprobe.md b/pages.it/linux/modprobe.md index 0522be99db1f14..fc0a65a4e45a54 100644 --- a/pages.it/linux/modprobe.md +++ b/pages.it/linux/modprobe.md @@ -1,6 +1,7 @@ # modprobe > Aggiunge o rimuove moduli del kernel Linux. +> Maggiori informazioni: . - Fa finta di carica un modulo nel kernel, ma non lo fa veramente: @@ -16,7 +17,7 @@ - Rimuove dal kernel un modulo e quelli che dipendono da quest'ultimo: -`sudo modprobe --remove-dependencies {{nome_del_modulo}}` +`sudo modprobe {{[-r|--remove]}} --remove-holders {{nome_del_modulo}}` - Mostra le dipendenza di un modulo del kernel: diff --git a/pages.it/linux/mount.md b/pages.it/linux/mount.md new file mode 100644 index 00000000000000..9fdcc5a8802583 --- /dev/null +++ b/pages.it/linux/mount.md @@ -0,0 +1,28 @@ +# mount + +> Fornisce accesso a un intero filesystem in una directory specifica. +> Maggiori informazioni: . + +- Mostra tutti i filesystem montati: + +`mount` + +- Monta un dispositivo in una directory: + +`mount {{[-t|--types]}} {{tipo_di_filesystem}} {{percorso/del/dispositivo}} {{percorso/della/directory_desiderata}}` + +- Monta un CD-ROM (con il filetypo ISO9660) a `/cdrom` (sola lettura): + +`mount {{[-t|--types]}} {{iso9660}} {{[-o|--options]}} ro {{/dev/cdrom}} {{/cdrom}}` + +- Monta tutti i filesystem definiti in `/etc/fstab`: + +`mount {{[-a|--all]}}` + +- Monta un filesystem specifico descritto in `/etc/fstab` (ad esempio `/dev/sda1 /my_drive ext2 defaults 0 2`): + +`mount {{/my_drive}}` + +- Monta una directory in un'altra directory: + +`mount {{[-B|--bind]}} {{percorso/della/vecchia_directory}} {{percorso/della/nuova_directory}}` diff --git a/pages.it/linux/ncal.md b/pages.it/linux/ncal.md new file mode 100644 index 00000000000000..ea1c96fddd65e9 --- /dev/null +++ b/pages.it/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Questo comando è un alias per `cal`. + +- Consulta la documentazione del comando originale: + +`tldr cal` diff --git a/pages.it/linux/nixos-container.md b/pages.it/linux/nixos-container.md new file mode 100644 index 00000000000000..48e2938ef61516 --- /dev/null +++ b/pages.it/linux/nixos-container.md @@ -0,0 +1,28 @@ +# nixos-container + +> Avvia container NixOS usando container Linux. +> Maggiori informazioni: . + +- Elenca i container in esecuzione: + +`sudo nixos-container list` + +- Crea un container NixOS con un file di configurazione specifico: + +`sudo nixos-container create {{nome_container}} --config-file {{percorso_file_configurazione_nix}}` + +- Avvia, ferma, termina o elimina uno specifico container: + +`sudo nixos-container {{start|stop|terminate|destroy|status}} {{nome_container}}` + +- Esegue un comando all'interno di un container in esecuzione: + +`sudo nixos-container run {{nome_container}} -- {{comando}} {{argomenti}}` + +- Aggiorna la configurazione di un container: + +`sudo $EDITOR /var/lib/container/{{nome_container}}/etc/nixos/configuration.nix && sudo nixos-container update {{nome_container}}` + +- Entra in una sessione shell interattiva in un container già in esecuzione: + +`sudo nixos-container root-login {{nome_container}}` diff --git a/pages.it/linux/nixos-option.md b/pages.it/linux/nixos-option.md new file mode 100644 index 00000000000000..02097467652d28 --- /dev/null +++ b/pages.it/linux/nixos-option.md @@ -0,0 +1,28 @@ +# nixos-option + +> Ispeziona una configurazione NixOS. +> Maggiori informazioni: . + +- Elenca tutte le sottochiavi di una data opzione: + +`nixos-option {{opzione}}` + +- Elenca tutti i moduli del kernel corrente: + +`nixos-option boot.kernelModules` + +- Elenca le chiavi di autorizzazioni per uno specifico utente: + +`nixos-option users.users.{{utente}}.openssh.authorizedKeys.{{keyFiles|keys}}` + +- Elenca tutte le macchine di compilazione remote: + +`nixos-option nix.buildMachines` + +- Elenca tutte le sottochiavi di una data opzione di un'altra configurazione NixOS: + +`NIXOS_CONFIG={{percorso_per_configuration.nix}} nixos-option {{opzione}}` + +- Visualizza ricorsivamente tutti i valori per un utente: + +`nixos-option {{[-r|--recursive]}} users.users.{{utente}}` diff --git a/pages.it/linux/nixos-rebuild.md b/pages.it/linux/nixos-rebuild.md new file mode 100644 index 00000000000000..c14924495ca7bc --- /dev/null +++ b/pages.it/linux/nixos-rebuild.md @@ -0,0 +1,36 @@ +# nixos-rebuild + +> Riconfigura una macchina NixOS. +> Maggiori informazioni: . + +- Compila e passa alla nuova configurazione, rendendola quella predefinita all'avvio: + +`sudo nixos-rebuild switch` + +- Compila e passa alla nuova configurazione, rendendola quella predefinita all'avvio e assegnando un nome alla voce del menù di avvio: + +`sudo nixos-rebuild switch {{[-p|--profile-name]}} {{nome}}` + +- Compila e passa alla nuova configurazione, rendendola quella predefinita all'avvio e installando gli aggiornamenti: + +`sudo nixos-rebuild switch --upgrade` + +- Annulla le modifiche alla configurazione, passando alla generazione precedente: + +`sudo nixos-rebuild switch --rollback` + +- Compila la nuova configurazione rendendola quella predefinita all'avvio, senza passare ad essa: + +`sudo nixos-rebuild boot` + +- Compila e passa alla nuova configurazione senza aggiungere la voce al menù di avvio (a scopo di test): + +`sudo nixos-rebuild test` + +- Compila la configurazione e la apre in una macchina virtuale: + +`sudo nixos-rebuild build-vm` + +- Elenca le generazioni disponibili in modo simile al menù di avvio: + +`nixos-rebuild list-generations` diff --git a/pages.it/linux/nmtui.md b/pages.it/linux/nmtui.md new file mode 100644 index 00000000000000..b7b8a349a6f49e --- /dev/null +++ b/pages.it/linux/nmtui.md @@ -0,0 +1,25 @@ +# nmtui + +> Interfaccia utente solo testo per NetworkManager. +> Usa `` e `` per navigare. +> Maggiori informazioni: . + +- Apri interfaccia utente: + +`nmtui` + +- Mostra le reti disponibili, con opzioni per attivare o disattivare: + +`nmtui connect` + +- Per la connessione a una rete: + +`nmtui connect {{nome|uuid|device|SSID}}` + +- Cambia/Agiunge/Elimina una rete: + +`nmtui edit {{nome|id}}` + +- Imposta un hostname nuovo: + +`nmtui hostname` diff --git a/pages.it/linux/pacman.md b/pages.it/linux/pacman.md new file mode 100644 index 00000000000000..b16794065f6fc9 --- /dev/null +++ b/pages.it/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> Gestore pacchetti di Arch Linux. +> Vedi anche: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Per comandi equivalenti in altri gestori pacchetti, vedi . +> Maggiori informazioni: . + +- Sincronizza e aggiorna tutti i pacchetti: + +`sudo pacman -Syu` + +- Installa un nuovo pacchetto: + +`sudo pacman -S {{nome_pacchetto}}` + +- Rimuovi un pacchetto e le sue dipendenze: + +`sudo pacman -Rs {{nome_pacchetto}}` + +- Cerca nel database un pacchetto contenente uno specifico file: + +`pacman -F "{{nome_file}}"` + +- Mostra i pacchetti installati e le versioni: + +`pacman -Q` + +- Mostra solo i pacchetti esplicitamente installati e le versioni: + +`pacman -Qe` + +- Mostra i pacchetti orfani (installati come dipendenze ma attualmente non richiesti da nessun altro pacchetto): + +`pacman -Qtdq` + +- Svuota l'intera cache di `pacman`: + +`sudo pacman -Scc` diff --git a/pages.it/linux/pidof.md b/pages.it/linux/pidof.md index 04633ff84b913c..af871ab6f753dd 100644 --- a/pages.it/linux/pidof.md +++ b/pages.it/linux/pidof.md @@ -1,6 +1,7 @@ # pidof > Ottiene l'ID di un processo a partire dal suo nome. +> Maggiori informazioni: . - Elenca gli ID di tutti i processi con un dato nome: @@ -16,4 +17,4 @@ - Uccide tutti i processi con un dato nome: -`kill "$(pidof {{nome}})" ` +`kill $(pidof {{nome}})` diff --git a/pages.it/linux/poweroff.md b/pages.it/linux/poweroff.md index ccb8b782f4d4eb..dbbcd850e2c90a 100644 --- a/pages.it/linux/poweroff.md +++ b/pages.it/linux/poweroff.md @@ -1,6 +1,7 @@ # poweroff > Chiude il sistema. +> Maggiori informazioni: . - Spegne il sistema: diff --git a/pages.it/linux/pulseaudio.md b/pages.it/linux/pulseaudio.md new file mode 100644 index 00000000000000..2ff1b82b50b825 --- /dev/null +++ b/pages.it/linux/pulseaudio.md @@ -0,0 +1,24 @@ +# pulseaudio + +> Programma che permette di gestire il daemon audio di sistema. +> Maggiori informazioni: . + +- Controlla se PulseAudio è in esecuzione. Se il programma non è attivo viene restituito un exit code diverso da 0: + +`pulseaudio --check` + +- Esegue il daemon di PulseAudio in background: + +`pulseaudio --start` + +- Interrompe l'esecuzione del daemon di PulseAudio: + +`pulseaudio {{[-k|--kill]}}` + +- Mostra i moduli disponibili: + +`pulseaudio --dump-modules` + +- Carica un modulo all'interno del daemon in esecuzione con gli argomenti specificati: + +`pulseaudio {{[-L|--load]}} "{{nome_modulo}} {{argomenti}}"` diff --git a/pages.it/linux/radeontop.md b/pages.it/linux/radeontop.md new file mode 100644 index 00000000000000..0b62a82e27429a --- /dev/null +++ b/pages.it/linux/radeontop.md @@ -0,0 +1,20 @@ +# radeontop + +> Mostra Utilizzo di AMD GPUs. +> Maggiori informazioni: . + +- Mostra utilizzo del AMD GPU principale: + +`radeontop` + +- Inizia output con colore: + +`radeontop --color` + +- Scegli un GPU specifico (il numero del bus è il primo numero nell'output di `lspci`): + +`radeontop --bus {{bus_numero}}` + +- Specifica la frequenza di aggiornamento del display (più alto aggiunge più sovraccarico al GPU): + +`radeontop --ticks {{aggiornamenti_per_secondo}}` diff --git a/pages.it/linux/rankmirrors.md b/pages.it/linux/rankmirrors.md new file mode 100644 index 00000000000000..7e22b48369ad46 --- /dev/null +++ b/pages.it/linux/rankmirrors.md @@ -0,0 +1,25 @@ +# rankmirrors + +> Classifica una lista di mirror di Pacman in base alla velocità di connessione e apertura. +> Scrive la nuova lista di mirror su `stdout`. +> Maggiori informazioni: . + +- Classifica una lista di mirror: + +`rankmirrors {{/etc/pacman.d/mirrorlist}}` + +- Mostra solo un certo numero di server con il punteggio più alto: + +`rankmirrors -n {{numero}} {{/etc/pacman.d/mirrorlist}}` + +- Mostra output dettagliato durante la generazione della lista di mirror: + +`rankmirrors {{[-v|--verbose]}} {{/etc/pacman.d/mirrorlist}}` + +- Verifica solo un URL specifico: + +`rankmirrors {{[-u|--url]}} {{url}}` + +- Mostra solo i tempi di risposta invece della lista completa: + +`rankmirrors {{[-t|--times]}} {{/etc/pacman.d/mirrorlist}}` diff --git a/pages.it/linux/reset.md b/pages.it/linux/reset.md new file mode 100644 index 00000000000000..eb9abcdc77f984 --- /dev/null +++ b/pages.it/linux/reset.md @@ -0,0 +1,12 @@ +# reset + +> Reinizializza il terminale corrente. Cancella l'intera schermata del terminale. +> Maggiori informazioni: . + +- Reinizializza il terminale corrente: + +`reset` + +- Visualizza invece il tipo di terminale: + +`reset -q` diff --git a/pages.it/linux/retroarch.md b/pages.it/linux/retroarch.md new file mode 100644 index 00000000000000..597b56a4a0c7be --- /dev/null +++ b/pages.it/linux/retroarch.md @@ -0,0 +1,29 @@ +# retroarch + +> Un frontend per emulatori, motori di gioco e lettori multimediali. +> L'implementazione di riferimento dell'API libretro. +> Maggiori informazioni: . + +- Avvia in modalità menu: + +`retroarch` + +- Avvia in modalità schermo intero: + +`retroarch --fullscreen` + +- Elenca tutte le funzionalità compilate: + +`retroarch --features` + +- Imposta il percorso di un file di configurazione: + +`retroarch --config={{percorso/al/file_di_configurazione}}` + +- Mostra l'aiuto: + +`retroarch --help` + +- Mostra la versione: + +`retroarch --version` diff --git a/pages.it/linux/rpm-ostree.md b/pages.it/linux/rpm-ostree.md new file mode 100644 index 00000000000000..ba39cf6e354a8f --- /dev/null +++ b/pages.it/linux/rpm-ostree.md @@ -0,0 +1,25 @@ +# rpm-ostree + +> Un sistema ibrido immagine/pacchetto. +> Gestisce i deployment ostree, i layer di pacchetti, gli overlay del filesystem e la configurazione di boot. +> Maggiori informazioni: . + +- Mostra i deployment rpm-ostree nell’ordine in cui appariranno nel bootloader: + +`rpm-ostree status` + +- Mostra i pacchetti obsoleti che possono essere aggiornati: + +`rpm-ostree upgrade --preview` + +- Prepara un nuovo deployment ostree con i pacchetti aggiornati e riavvia in esso: + +`rpm-ostree upgrade {{[-r|--reboot]}}` + +- Riavvia nel deployment ostree precedente: + +`rpm-ostree rollback {{[-r|--reboot]}}` + +- Installa un pacchetto in un nuovo deployment ostree e riavvia in esso: + +`rpm-ostree install {{package}} {{[-r|--reboot]}}` diff --git a/pages.it/linux/rpm.md b/pages.it/linux/rpm.md new file mode 100644 index 00000000000000..5a438f12ede11e --- /dev/null +++ b/pages.it/linux/rpm.md @@ -0,0 +1,37 @@ +# rpm + +> RPM Package Manager. +> Per comandi equivalenti in altri gestori di pacchetti, vedi . +> Maggiori informazioni: . + +- Mostra la versione del pacchetto httpd: + +`rpm {{[-q|--query]}} httpd` + +- Elenca le versioni di tutti i pacchetti corrispondenti: + +`rpm {{[-qa|--query --all]}} '{{mariadb*}}'` + +- Installa forzatamente un pacchetto indipendentemente dalle versioni attualmente installate: + +`rpm {{[-U|--upgrade]}} {{path/to/package.rpm}} --force` + +- Identifica il proprietario di un file e mostra la versione del pacchetto: + +`rpm {{[-qf|--query --file]}} {{/etc/postfix/main.cf}}` + +- Elenca i file posseduti da un pacchetto: + +`rpm {{[-ql|--query --list]}} {{kernel}}` + +- Mostra gli scriptlet da un file RPM: + +`rpm {{[-qp|--query --package]}} --scripts {{package.rpm}}` + +- Mostra file modificati, mancanti e/o installati in modo errato dei pacchetti corrispondenti: + +`rpm {{[-Va|--verify --all]}} '{{php-*}}'` + +- Mostra il changelog di un pacchetto specifico: + +`rpm {{[-q|--query]}} --changelog {{package}}` diff --git a/pages.it/linux/shutdown.md b/pages.it/linux/shutdown.md new file mode 100644 index 00000000000000..b7863ff58dfeb4 --- /dev/null +++ b/pages.it/linux/shutdown.md @@ -0,0 +1,24 @@ +# shutdown + +> Spegni e riavvia il sistema. +> Maggiori informazioni: . + +- Spegni il sistema immediatamente: + +`shutdown -h now` + +- Riavvia il sistema immediatamente: + +`shutdown {{[-r|--reboot]}} now` + +- Riavvia il sistema in 5 minuti: + +`shutdown {{[-r|--reboot]}} +{{5}} &` + +- Spegni il sistema alle 13: + +`shutdown -h 13:00` + +- Annulla un'operazione programmata di riavvio o spegnimento: + +`shutdown -c` diff --git a/pages.it/linux/smbclient.md b/pages.it/linux/smbclient.md new file mode 100644 index 00000000000000..acbad14e810bfe --- /dev/null +++ b/pages.it/linux/smbclient.md @@ -0,0 +1,32 @@ +# smbclient + +> Programma client simile ad FTP per server SMB/CIFS. +> Maggiori informazioni: . + +- Connettiti ad una share (all'utente verrà richiesta la password; `exit` per uscire dalla sessione): + +`smbclient {{//server/share}}` + +- Connettiti con un altro nome utente: + +`smbclient {{//server/share}} --user {{username}}` + +- Connettiti con un altro gruppo di lavoro: + +`smbclient {{//server/share}} --workgroup {{dominio}} --user {{username}}` + +- Connettiti con un nome utente ed una password: + +`smbclient {{//server/share}} --user {{username%password}}` + +- Scarica un file dal server: + +`smbclient {{//server/share}} --directory {{percorso/della/directory}} --command "get {{file.txt}}"` + +- Carica un file sul server: + +`smbclient {{//server/share}} --directory {{percorso/della/directory}} --command "put {{file.txt}}"` + +- Elenca le share di un server in modo anonimo: + +`smbclient --list={{server}} --no-pass` diff --git a/pages.it/linux/tree.md b/pages.it/linux/tree.md deleted file mode 100644 index e7de98484e56e0..00000000000000 --- a/pages.it/linux/tree.md +++ /dev/null @@ -1,36 +0,0 @@ -# tree - -> Mostra i contenuti della cartella corrente come un albero. -> Maggiori informazioni: . - -- Stampa file e cartella fino al 'num'-esimo livello di profondità (dove 1 significa la cartella corrente): - -`tree -L {{num}}` - -- Stampa solamente le cartelle: - -`tree -d` - -- Stampa anche i file nascosti con la colorazione attiva: - -`tree -a -C` - -- Stampa l'albero senza linee di indentazione, mostrando invece il percorso completo (usa `-N` per non convertire caratteri non stampabili in sequenze di escape): - -`tree -i -f` - -- Stampa la dimensione di ogni file e la dimensione totale di ogni cartella, in formato leggibile dall'utente: - -`tree -s -h --du` - -- Stampa i file all'interno dell'albero gerarchico, utilizzando espressioni di metacaratteri (glob pattern) per escludere le cartelle che non contengono file corrispondenti alla ricerca: - -`tree -P '{{*.txt}}' --prune` - -- Stampa le cartelle all'interno dell'albero gerarchico, utilizzando espressioni di metacaratteri (glob pattern) per escludere le cartelle che non sono progenitori di quelle desiderate: - -`tree -P {{nomi_di_cartelle}} --matchdirs --prune` - -- Stampa l'albero ignorando le cartelle date: - -`tree -I '{{nome_cartella1|nome_cartella2}}'` diff --git a/pages.it/linux/ubuntu-bug.md b/pages.it/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..914e45e4f9a624 --- /dev/null +++ b/pages.it/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Questo comando è un alias per `apport-bug`. + +- Consulta la documentazione del comando originale: + +`tldr apport-bug` diff --git a/pages.it/linux/ufw.md b/pages.it/linux/ufw.md new file mode 100644 index 00000000000000..5e69ab366ed483 --- /dev/null +++ b/pages.it/linux/ufw.md @@ -0,0 +1,37 @@ +# ufw + +> Ufw (Uncomplicated Firewall) - Firewall Semplice. +> Frontend per `iptables` per semplificare la configurazione di un firewall. +> Maggiori informazioni: . + +- Accendi ufw: + +`ufw enable` + +- Spegni ufw: + +`ufw disable` + +- Mostra le regole di ufw, con i numeri corrispondenti: + +`ufw status numbered` + +- Aperto al traffico in entrata sulla porta 5432, con un commento che identifica il servizio: + +`ufw allow {{5432}} comment "{{servizio}}"` + +- Aperto solo al traffico TCP da 192.168.0.4 a qualsiasi indirizzo su questo host, sulla porta 22: + +`ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}` + +- Blocchi traffico su porta 80 su questo host: + +`ufw deny {{80}}` + +- Nega tutto il traffico UDP alla porta 22: + +`ufw deny proto {{udp}} from {{any}} to {{any}} port {{22}}` + +- Elimina una regola particolare. Il numero della regola può essere trovato con "ufw status numbered": + +`ufw delete {{numero_della_regola}}` diff --git a/pages.it/linux/zathura.md b/pages.it/linux/zathura.md new file mode 100644 index 00000000000000..e34677cfec4dcb --- /dev/null +++ b/pages.it/linux/zathura.md @@ -0,0 +1,33 @@ +# zathura + +> Un visualizzatore di documenti ispirato a vim, con una linea di comando integrata. +> Assicurati che sia installata un backend (poppler, PostScript, o DjVu). +> Maggiori informazioni: . + +- Aprire un file: + +`zathura {{percorso/del/file}}` + +- Navigare sinistra/sopra/sotto/destra: + +`{{||||}}` + +- Ruotare: + +`` + +- Invertire i colori: + +`` + +- Ricercare all'interno del testo una stringa: + +`{{string}}` + +- Creare/eliminare i segnalibri: + +`<:>{{bmark|bdelete}} {{bookmark_name}}` + +- Lista dei segnalibri: + +`<:>blist` diff --git a/pages.it/linux/zypper.md b/pages.it/linux/zypper.md new file mode 100644 index 00000000000000..5c18b98d9746c5 --- /dev/null +++ b/pages.it/linux/zypper.md @@ -0,0 +1,24 @@ +# zypper + +> Sistema di Gestione dei Pacchetti di SUSE e openSUSE. +> Maggiori informazioni: . + +- Sincronizza il database dei pacchetti e delle versioni disponibili: + +`zypper refresh` + +- Installa un nuovo pacchetto: + +`zypper install {{pacchetto}}` + +- Rimuovi un pacchetto: + +`zypper remove {{pacchetto}}` + +- Aggiorna i pacchetti installati alle ultime versioni disponibili: + +`zypper update` + +- Cerca usando nome o parola chiave: + +`zypper search {{nome|parole_chiave}}` diff --git a/pages.it/osx/aa.md b/pages.it/osx/aa.md new file mode 100644 index 00000000000000..2c3c91d19a6897 --- /dev/null +++ b/pages.it/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Questo comando è un alias per `yaa`. + +- Consulta la documentazione del comando originale: + +`tldr yaa` diff --git a/pages.it/osx/afinfo.md b/pages.it/osx/afinfo.md index ff9e42d7c68592..04147a0468c133 100644 --- a/pages.it/osx/afinfo.md +++ b/pages.it/osx/afinfo.md @@ -2,6 +2,7 @@ > Analizzatore dei metadata dei file audio per macOS. > Comando integrato di macOS. +> Maggiori informazioni: . - Mostra le informazioni relative ad un file audio specificato: @@ -9,15 +10,15 @@ - Mostra una breve descrizione del file audio: -`afinfo -b {{percorso/del/file}}` +`afinfo --brief {{percorso/del/file}}` - Mostra i metadati ed i contenuti dell'InfoDictionary del file audio: -`afinfo -i {{percorso/del/file}}` +`afinfo --info {{percorso/del/file}}` - Mostra l'output in formato xml: -`afinfo -x {{percorso/del/file}}` +`afinfo --xml {{percorso/del/file}}` - Mostra i problemi del file audio (se ce ne sono): @@ -25,4 +26,4 @@ - Mostra la pagina di aiuto: -`afinfo -h` +`afinfo --help` diff --git a/pages.it/osx/afplay.md b/pages.it/osx/afplay.md index 41a57fce192410..0cd5a43af640f0 100644 --- a/pages.it/osx/afplay.md +++ b/pages.it/osx/afplay.md @@ -1,6 +1,7 @@ # afplay > Riproduttore audio a riga di comando. +> Maggiori informazioni: . - Riproduci un file audio (fino a quando non finisce la riproduzione): @@ -8,11 +9,11 @@ - Riproduci un file audio al doppio della velocità: -`afplay --rate 2 {{percorso/del/file}}` +`afplay --rate {{2}} {{percorso/del/file}}` - Riproduci un file audio alla metà della velocità: -`afplay --rate 0.5 {{percorso/del/file}}` +`afplay --rate {{0.5}} {{percorso/del/file}}` - Riproduci i primi N secondi di un file audio: diff --git a/pages.it/osx/airport.md b/pages.it/osx/airport.md index 379f729be4758c..2092a274141a7e 100644 --- a/pages.it/osx/airport.md +++ b/pages.it/osx/airport.md @@ -1,10 +1,11 @@ # airport > Strumento di configurazione delle reti senza fili. +> Maggiori informazioni: . - Mostra le informazioni relative allo stato attuale delle connessioni senza fili: -`airport -I` +`airport --getinfo` - Intercetta il traffico delle connessioni senza fili sul primo canale: @@ -12,8 +13,8 @@ - Ricerca le reti senza fili disponibili: -`airport -s` +`airport --scan` - Disassocia dalla rete airport corrente: -`sudo airport -z` +`sudo airport --disassociate` diff --git a/pages.it/osx/apachectl.md b/pages.it/osx/apachectl.md index fb28efc1f1e78c..ebfcfc2a6dfd4a 100644 --- a/pages.it/osx/apachectl.md +++ b/pages.it/osx/apachectl.md @@ -1,8 +1,9 @@ # apachectl > Interfaccia di controllo del server HTTP Apache per macOS. +> Maggiori informazioni: . -- Avvia il demone org.apache.httpd: +- Avvia il demone `org.apache.httpd`: `apachectl start` diff --git a/pages.it/osx/archey.md b/pages.it/osx/archey.md index 11ae2e63099aa3..4e7ba34176ee8c 100644 --- a/pages.it/osx/archey.md +++ b/pages.it/osx/archey.md @@ -1,6 +1,7 @@ # archey > Semplice strumento per mostrare con stile le informazioni di sistema. +> Maggiori informazioni: . - Mostra le informazioni di sistema: diff --git a/pages.it/osx/as.md b/pages.it/osx/as.md index 53725c810d1c4a..043755691c867b 100644 --- a/pages.it/osx/as.md +++ b/pages.it/osx/as.md @@ -2,19 +2,20 @@ > Assembler GNU portabile. > Progettato principalmente per assemblare l'output di `gcc` ed utilizzarlo con `ld`. +> Maggiori informazioni: . - Assembla un file, scrivendo l'output su a.out: -`as {{file.s}}` +`as {{percorso/del/file.s}}` - Assembla l'output nel file dato: -`as {{file.s}} -o {{out.o}}` +`as {{percorso/del/file.s}} -o {{percorso/del/out.o}}` - Genera l'output più velocemente saltando gli spazi e senza preprocessare i commenti. (Questo comando dovrebbe essere utilizzato solo con compilatori fidati): -`as -f {{file.s}}` +`as -f {{percorso/del/file.s}}` -- Includi un percorso dato alla lista delle cartelle in cui cercare i file specificati nelle direttive .include: +- Includi un percorso dato alla lista delle directory in cui cercare i file specificati nelle direttive `.include`: -`as -I {{path/to/directory}} {{file.s}}` +`as -I {{percorso/della/directory}} {{percorso/del/file.s}}` diff --git a/pages.it/osx/asr.md b/pages.it/osx/asr.md index ba88367e82554f..5eb7e1c9ae2f2f 100644 --- a/pages.it/osx/asr.md +++ b/pages.it/osx/asr.md @@ -2,18 +2,19 @@ > Ripristina (copia) un'immagine disco dentro a un volume. > Il nome del comando sta per Apple Software Restore (software di ripristino Apple). +> Maggiori informazioni: . - Ripristina un'immagine disco su un volume specifico: -`sudo asr restore --source {{nome_immagine}}.dmg --target {{percorso/del/volume}}` +`sudo asr restore --source {{nome_immagine.dmg}} --target {{percorso/del/volume}}` - Distruggi il volume specifico prima di ripristinare: -`sudo asr restore --source {{nome_immagine}}.dmg --target {{percorso/del/volume}} --erase` +`sudo asr restore --source {{nome_immagine.dmg}} --target {{percorso/del/volume}} --erase` - Salta la verifica dopo il ripristino: -`sudo asr restore --source {{nome_immagine}}.dmg --target {{percorso/del/volume}} --noverify` +`sudo asr restore --source {{nome_immagine.dmg}} --target {{percorso/del/volume}} --noverify` - Clona i volumi senza utilizzare un'immagine disco intermedia: diff --git a/pages.it/osx/base64.md b/pages.it/osx/base64.md index 821172a83988b6..a42ed6ffd72434 100644 --- a/pages.it/osx/base64.md +++ b/pages.it/osx/base64.md @@ -1,19 +1,20 @@ # base64 > Codifica e decodifica utilizzando la rappresentazione in base64. +> Maggiori informazioni: . - Codifica un file: -`base64 -i {{file_da_codificare}}` +`base64 {{[-i|--input]}} {{file_da_codificare}}` - Decodifica un file: -`base64 -D -i {{file_da_decodificare}}` +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{file_da_decodificare}}` - Codifica da `stdin`: -`echo -n {{testo_da_codificare}} | base64` +`echo -n "{{testo_da_codificare}}" | base64` - Decodifica da `stdin`: -`echo -n {{testo_da_decodificare}} | base64 -D` +`echo -n {{testo_da_decodificare}} | base64 {{[-d|--decode]}}` diff --git a/pages.it/osx/brew-bundle.md b/pages.it/osx/brew-bundle.md deleted file mode 100644 index 03d47faee5db57..00000000000000 --- a/pages.it/osx/brew-bundle.md +++ /dev/null @@ -1,28 +0,0 @@ -# brew bundle - -> Bundler per Homebrew, Homebrew Cask e per il Mac App Store. -> Maggiori informazioni: . - -- Installa un pacchetto da un Brewfile nel percorso corrente: - -`brew bundle` - -- Installa pacchetti da un Brewfile specifico in un percorso specifico: - -`brew bundle --file={{percorso/del/file}}` - -- Crea un Brewfile con tutti i pacchetti installati: - -`brew bundle dump` - -- Disinstalla tutti i pacchetti non specificati nel Brewfile: - -`brew bundle cleanup --force` - -- Controlla se c'è qualcosa da installare o da aggiornare nel Brewfile: - -`brew bundle check` - -- Mostra una lista di tutte le righe presenti nel Brewfile: - -`brew bundle list --all` diff --git a/pages.it/osx/brew-cask.md b/pages.it/osx/brew-cask.md deleted file mode 100644 index 8dd54219dff862..00000000000000 --- a/pages.it/osx/brew-cask.md +++ /dev/null @@ -1,36 +0,0 @@ -# brew cask - -> Gestore di pacchetti per applicazioni macOS distribuite sotto forma di file binari. -> Maggiori informazioni: . - -- Cerca formule e cask: - -`brew search {{testo}}` - -- Installa un cask: - -`brew cask install {{nome_del_cask}}` - -- Elenca tutti i cask installati: - -`brew cask list` - -- Elenca i cask installati con versioni più nuove disponibili: - -`brew cask outdated` - -- Aggiorna un cask installato (se non viene fornito il nome di nessun cask, tutti i cask saranno aggiornati): - -`brew cask upgrade {{nome_del_cask}}` - -- Disinstalla un cask: - -`brew cask uninstall {{nome_del_cask}}` - -- Disinstalla un cask e rimuovi i relativi file e impostazioni: - -`brew cask zap {{nome_del_cask}}` - -- Mostra informazioni su uno specifico cask: - -`brew cask info {{nome_del_cask}}` diff --git a/pages.it/osx/brew.md b/pages.it/osx/brew.md deleted file mode 100644 index 648e690bf2e40f..00000000000000 --- a/pages.it/osx/brew.md +++ /dev/null @@ -1,40 +0,0 @@ -# brew - -> Gestore di pacchetti per macOS. -> Maggiori informazioni: . - -- Cerca formule e cask: - -`brew search {{testo}}` - -- Installa l'ultima versione stabile di una formula (usa `--devel` per le versioni in sviluppo): - -`brew install {{formula}}` - -- Mostra tutte le formule installate: - -`brew list` - -- Mostra le formule installate che non sono dipendenze di un'altra formula installata: - -`brew leaves` - -- Aggiorna una formula installata (se non viene fornito il nome di nessuna formula, tutte le formule installate verranno aggiornate): - -`brew upgrade {{formula}}` - -- Trova la versione più aggiornata di Homebrew e di tutte le formule da GitHub: - -`brew update` - -- Rimuovi le vecchie versioni di una specifica formula installata (se nessuna formula viene specificata, tutte le formule saranno processate): - -`brew cleanup {{formula}}` - -- Mostra le informazioni su una specifica formula (versione, percorso di installazione, dipendenze, ecc...): - -`brew info {{formula}}` - -- Verifica se la versione installata di Homebrew presenta dei problemi: - -`brew doctor` diff --git a/pages.it/osx/caffeinate.md b/pages.it/osx/caffeinate.md index b1a7a60b67405f..2f729dd9c2de4f 100644 --- a/pages.it/osx/caffeinate.md +++ b/pages.it/osx/caffeinate.md @@ -1,6 +1,7 @@ # caffeinate > Impedisci al mac di sospendersi. +> Maggiori informazioni: . - Impedisci la sospensione per un'ora (3600 secondi): @@ -10,6 +11,6 @@ `caffeinate -s {{comando}}` -- Impedisci la sospensione fino alla pressione della combinazione di tasti Ctrl-C: +- Impedisci la sospensione fino alla pressione della combinazione di tasti ``: `caffeinate -i` diff --git a/pages.it/osx/diskutil.md b/pages.it/osx/diskutil.md index 72dd9dcfd04cab..f5d4ed28e7a22f 100644 --- a/pages.it/osx/diskutil.md +++ b/pages.it/osx/diskutil.md @@ -1,6 +1,7 @@ # diskutil > Strumento per gestire i dischi locali e i volumi. +> Maggiori informazioni: . - Mostra tutti i dischi correnti, le partizioni e i volumi montati: diff --git a/pages.it/osx/g[.md b/pages.it/osx/g[.md new file mode 100644 index 00000000000000..1087d2b4f8c872 --- /dev/null +++ b/pages.it/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Questo comando è un alias per `[`. + +- Consulta la documentazione del comando originale: + +`tldr [` diff --git a/pages.it/osx/gb2sum.md b/pages.it/osx/gb2sum.md new file mode 100644 index 00000000000000..c504a829d11126 --- /dev/null +++ b/pages.it/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Questo comando è un alias per `b2sum`. + +- Consulta la documentazione del comando originale: + +`tldr b2sum` diff --git a/pages.it/osx/gbase32.md b/pages.it/osx/gbase32.md new file mode 100644 index 00000000000000..800f2e9ddbcfeb --- /dev/null +++ b/pages.it/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Questo comando è un alias per `base32`. + +- Consulta la documentazione del comando originale: + +`tldr base32` diff --git a/pages.it/osx/gbase64.md b/pages.it/osx/gbase64.md new file mode 100644 index 00000000000000..61d2ab31f38993 --- /dev/null +++ b/pages.it/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Questo comando è un alias per `base64`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.it/osx/gbasename.md b/pages.it/osx/gbasename.md new file mode 100644 index 00000000000000..9a5b43a56656c2 --- /dev/null +++ b/pages.it/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Questo comando è un alias per `basename`. + +- Consulta la documentazione del comando originale: + +`tldr basename` diff --git a/pages.it/osx/gbasenc.md b/pages.it/osx/gbasenc.md new file mode 100644 index 00000000000000..3f14d0f1b7045f --- /dev/null +++ b/pages.it/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Questo comando è un alias per `basenc`. + +- Consulta la documentazione del comando originale: + +`tldr basenc` diff --git a/pages.it/osx/gcat.md b/pages.it/osx/gcat.md new file mode 100644 index 00000000000000..8c221a25442b14 --- /dev/null +++ b/pages.it/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Questo comando è un alias per `-p linux cat`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.it/osx/gchcon.md b/pages.it/osx/gchcon.md new file mode 100644 index 00000000000000..347e09722bbaf8 --- /dev/null +++ b/pages.it/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Questo comando è un alias per `-p linux chcon`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.it/osx/gchgrp.md b/pages.it/osx/gchgrp.md new file mode 100644 index 00000000000000..0b12412ef1ce11 --- /dev/null +++ b/pages.it/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Questo comando è un alias per `chgrp`. + +- Consulta la documentazione del comando originale: + +`tldr chgrp` diff --git a/pages.it/osx/gchmod.md b/pages.it/osx/gchmod.md new file mode 100644 index 00000000000000..51c9010fb03048 --- /dev/null +++ b/pages.it/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Questo comando è un alias per `chmod`. + +- Consulta la documentazione del comando originale: + +`tldr chmod` diff --git a/pages.it/osx/gchown.md b/pages.it/osx/gchown.md new file mode 100644 index 00000000000000..49b21bdcc7d005 --- /dev/null +++ b/pages.it/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Questo comando è un alias per `chown`. + +- Consulta la documentazione del comando originale: + +`tldr chown` diff --git a/pages.it/osx/gchroot.md b/pages.it/osx/gchroot.md new file mode 100644 index 00000000000000..918b51fb378ff7 --- /dev/null +++ b/pages.it/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Questo comando è un alias per `chroot`. + +- Consulta la documentazione del comando originale: + +`tldr chroot` diff --git a/pages.it/osx/gcksum.md b/pages.it/osx/gcksum.md new file mode 100644 index 00000000000000..2064c0e64ebf17 --- /dev/null +++ b/pages.it/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Questo comando è un alias per `cksum`. + +- Consulta la documentazione del comando originale: + +`tldr cksum` diff --git a/pages.it/osx/gcomm.md b/pages.it/osx/gcomm.md new file mode 100644 index 00000000000000..3ac0b3f14449f8 --- /dev/null +++ b/pages.it/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Questo comando è un alias per `comm`. + +- Consulta la documentazione del comando originale: + +`tldr comm` diff --git a/pages.it/osx/gcp.md b/pages.it/osx/gcp.md new file mode 100644 index 00000000000000..35d5d5f61a3985 --- /dev/null +++ b/pages.it/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Questo comando è un alias per `cp`. + +- Consulta la documentazione del comando originale: + +`tldr cp` diff --git a/pages.it/osx/gcsplit.md b/pages.it/osx/gcsplit.md new file mode 100644 index 00000000000000..dba005467e84de --- /dev/null +++ b/pages.it/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Questo comando è un alias per `-p linux csplit`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.it/osx/gcut.md b/pages.it/osx/gcut.md new file mode 100644 index 00000000000000..631ec3ce73d312 --- /dev/null +++ b/pages.it/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Questo comando è un alias per `cut`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.it/osx/gdate.md b/pages.it/osx/gdate.md new file mode 100644 index 00000000000000..8b3853ed2522a4 --- /dev/null +++ b/pages.it/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Questo comando è un alias per `date`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.it/osx/gdd.md b/pages.it/osx/gdd.md new file mode 100644 index 00000000000000..e681806d56ba9d --- /dev/null +++ b/pages.it/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Questo comando è un alias per `-p linux dd`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.it/osx/gdf.md b/pages.it/osx/gdf.md new file mode 100644 index 00000000000000..65b26683b1547f --- /dev/null +++ b/pages.it/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Questo comando è un alias per `-p linux df`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.it/osx/gdir.md b/pages.it/osx/gdir.md new file mode 100644 index 00000000000000..b528ea9eaf17a3 --- /dev/null +++ b/pages.it/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Questo comando è un alias per `-p linux dir`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.it/osx/gdircolors.md b/pages.it/osx/gdircolors.md new file mode 100644 index 00000000000000..f24138fb9d2d68 --- /dev/null +++ b/pages.it/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Questo comando è un alias per `dircolors`. + +- Consulta la documentazione del comando originale: + +`tldr dircolors` diff --git a/pages.it/osx/gdirname.md b/pages.it/osx/gdirname.md new file mode 100644 index 00000000000000..3d4f2b966b1680 --- /dev/null +++ b/pages.it/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Questo comando è un alias per `dirname`. + +- Consulta la documentazione del comando originale: + +`tldr dirname` diff --git a/pages.it/osx/gdnsdomainname.md b/pages.it/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..7fcad0a8cd4598 --- /dev/null +++ b/pages.it/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Questo comando è un alias per `-p linux dnsdomainname`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.it/osx/gecho.md b/pages.it/osx/gecho.md new file mode 100644 index 00000000000000..af6b3de21f8dd6 --- /dev/null +++ b/pages.it/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Questo comando è un alias per `echo`. + +- Consulta la documentazione del comando originale: + +`tldr echo` diff --git a/pages.it/osx/ged.md b/pages.it/osx/ged.md new file mode 100644 index 00000000000000..fe2bb03e32755b --- /dev/null +++ b/pages.it/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Questo comando è un alias per `ed`. + +- Consulta la documentazione del comando originale: + +`tldr ed` diff --git a/pages.it/osx/gegrep.md b/pages.it/osx/gegrep.md new file mode 100644 index 00000000000000..c73f0c647b3325 --- /dev/null +++ b/pages.it/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Questo comando è un alias per `egrep`. + +- Consulta la documentazione del comando originale: + +`tldr egrep` diff --git a/pages.it/osx/genv.md b/pages.it/osx/genv.md new file mode 100644 index 00000000000000..c002be7c0e914e --- /dev/null +++ b/pages.it/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Questo comando è un alias per `env`. + +- Consulta la documentazione del comando originale: + +`tldr env` diff --git a/pages.it/osx/gexpand.md b/pages.it/osx/gexpand.md new file mode 100644 index 00000000000000..ce75d061933c9e --- /dev/null +++ b/pages.it/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Questo comando è un alias per `expand`. + +- Consulta la documentazione del comando originale: + +`tldr expand` diff --git a/pages.it/osx/gexpr.md b/pages.it/osx/gexpr.md new file mode 100644 index 00000000000000..0ff814f0f504c1 --- /dev/null +++ b/pages.it/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Questo comando è un alias per `expr`. + +- Consulta la documentazione del comando originale: + +`tldr expr` diff --git a/pages.it/osx/gfactor.md b/pages.it/osx/gfactor.md new file mode 100644 index 00000000000000..f9c2aa1fdefc01 --- /dev/null +++ b/pages.it/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Questo comando è un alias per `factor`. + +- Consulta la documentazione del comando originale: + +`tldr factor` diff --git a/pages.it/osx/gfalse.md b/pages.it/osx/gfalse.md new file mode 100644 index 00000000000000..d9f6174b93dcad --- /dev/null +++ b/pages.it/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Questo comando è un alias per `false`. + +- Consulta la documentazione del comando originale: + +`tldr false` diff --git a/pages.it/osx/gfgrep.md b/pages.it/osx/gfgrep.md new file mode 100644 index 00000000000000..1c1d2f3fd9777c --- /dev/null +++ b/pages.it/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Questo comando è un alias per `fgrep`. + +- Consulta la documentazione del comando originale: + +`tldr fgrep` diff --git a/pages.it/osx/gfind.md b/pages.it/osx/gfind.md new file mode 100644 index 00000000000000..95890d4a1455ad --- /dev/null +++ b/pages.it/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Questo comando è un alias per `find`. + +- Consulta la documentazione del comando originale: + +`tldr find` diff --git a/pages.it/osx/gfmt.md b/pages.it/osx/gfmt.md new file mode 100644 index 00000000000000..94b39e42e0f12f --- /dev/null +++ b/pages.it/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Questo comando è un alias per `fmt`. + +- Consulta la documentazione del comando originale: + +`tldr fmt` diff --git a/pages.it/osx/gfold.md b/pages.it/osx/gfold.md new file mode 100644 index 00000000000000..e16a7d36279e3b --- /dev/null +++ b/pages.it/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Questo comando è un alias per `-p linux fold`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.it/osx/gftp.md b/pages.it/osx/gftp.md new file mode 100644 index 00000000000000..36f48639a9faa9 --- /dev/null +++ b/pages.it/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Questo comando è un alias per `ftp`. + +- Consulta la documentazione del comando originale: + +`tldr ftp` diff --git a/pages.it/osx/ggrep.md b/pages.it/osx/ggrep.md new file mode 100644 index 00000000000000..e8e30f48d6bd1a --- /dev/null +++ b/pages.it/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Questo comando è un alias per `grep`. + +- Consulta la documentazione del comando originale: + +`tldr grep` diff --git a/pages.it/osx/ggroups.md b/pages.it/osx/ggroups.md new file mode 100644 index 00000000000000..880e574b437d2e --- /dev/null +++ b/pages.it/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Questo comando è un alias per `groups`. + +- Consulta la documentazione del comando originale: + +`tldr groups` diff --git a/pages.it/osx/ghead.md b/pages.it/osx/ghead.md new file mode 100644 index 00000000000000..f5ea7c028f65c8 --- /dev/null +++ b/pages.it/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Questo comando è un alias per `-p linux head`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.it/osx/ghostid.md b/pages.it/osx/ghostid.md new file mode 100644 index 00000000000000..60cce0e3e770d9 --- /dev/null +++ b/pages.it/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Questo comando è un alias per `hostid`. + +- Consulta la documentazione del comando originale: + +`tldr hostid` diff --git a/pages.it/osx/ghostname.md b/pages.it/osx/ghostname.md new file mode 100644 index 00000000000000..dc7746955b84fe --- /dev/null +++ b/pages.it/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Questo comando è un alias per `hostname`. + +- Consulta la documentazione del comando originale: + +`tldr hostname` diff --git a/pages.it/osx/gid.md b/pages.it/osx/gid.md new file mode 100644 index 00000000000000..24ed4a3d19bf7b --- /dev/null +++ b/pages.it/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Questo comando è un alias per `id`. + +- Consulta la documentazione del comando originale: + +`tldr id` diff --git a/pages.it/osx/gifconfig.md b/pages.it/osx/gifconfig.md new file mode 100644 index 00000000000000..7135d9c5900dc3 --- /dev/null +++ b/pages.it/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Questo comando è un alias per `ifconfig`. + +- Consulta la documentazione del comando originale: + +`tldr ifconfig` diff --git a/pages.it/osx/gindent.md b/pages.it/osx/gindent.md new file mode 100644 index 00000000000000..4dd3f4e66cb9a8 --- /dev/null +++ b/pages.it/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Questo comando è un alias per `indent`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.it/osx/ginstall.md b/pages.it/osx/ginstall.md new file mode 100644 index 00000000000000..e7262cc525cf39 --- /dev/null +++ b/pages.it/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Questo comando è un alias per `install`. + +- Consulta la documentazione del comando originale: + +`tldr install` diff --git a/pages.it/osx/gjoin.md b/pages.it/osx/gjoin.md new file mode 100644 index 00000000000000..1afb70fc8bc555 --- /dev/null +++ b/pages.it/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Questo comando è un alias per `join`. + +- Consulta la documentazione del comando originale: + +`tldr join` diff --git a/pages.it/osx/gkill.md b/pages.it/osx/gkill.md new file mode 100644 index 00000000000000..c78d7e84996b1b --- /dev/null +++ b/pages.it/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Questo comando è un alias per `-p linux kill`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.it/osx/glibtool.md b/pages.it/osx/glibtool.md new file mode 100644 index 00000000000000..39dfe2dccbb2e0 --- /dev/null +++ b/pages.it/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Questo comando è un alias per `-p linux libtool`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.it/osx/glibtoolize.md b/pages.it/osx/glibtoolize.md new file mode 100644 index 00000000000000..f2f2f1c2ed3067 --- /dev/null +++ b/pages.it/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Questo comando è un alias per `-p linux libtoolize`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.it/osx/glink.md b/pages.it/osx/glink.md new file mode 100644 index 00000000000000..dc35ce0711023f --- /dev/null +++ b/pages.it/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Questo comando è un alias per `link`. + +- Consulta la documentazione del comando originale: + +`tldr link` diff --git a/pages.it/osx/gln.md b/pages.it/osx/gln.md new file mode 100644 index 00000000000000..3d2f596b4ef48a --- /dev/null +++ b/pages.it/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Questo comando è un alias per `ln`. + +- Consulta la documentazione del comando originale: + +`tldr ln` diff --git a/pages.it/osx/glocate.md b/pages.it/osx/glocate.md new file mode 100644 index 00000000000000..2e79d3a979b687 --- /dev/null +++ b/pages.it/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Questo comando è un alias per `-p linux locate`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.it/osx/glogger.md b/pages.it/osx/glogger.md new file mode 100644 index 00000000000000..25bb9338e689fe --- /dev/null +++ b/pages.it/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Questo comando è un alias per `-p linux logger`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.it/osx/glogname.md b/pages.it/osx/glogname.md new file mode 100644 index 00000000000000..eead3239321b0a --- /dev/null +++ b/pages.it/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Questo comando è un alias per `logname`. + +- Consulta la documentazione del comando originale: + +`tldr logname` diff --git a/pages.it/osx/gls.md b/pages.it/osx/gls.md new file mode 100644 index 00000000000000..92cda78de24b23 --- /dev/null +++ b/pages.it/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Questo comando è un alias per `ls`. + +- Consulta la documentazione del comando originale: + +`tldr ls` diff --git a/pages.it/osx/gmake.md b/pages.it/osx/gmake.md new file mode 100644 index 00000000000000..824f92a6ec7540 --- /dev/null +++ b/pages.it/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Questo comando è un alias per `make`. + +- Consulta la documentazione del comando originale: + +`tldr make` diff --git a/pages.it/osx/gmd5sum.md b/pages.it/osx/gmd5sum.md new file mode 100644 index 00000000000000..505f03f0a674d9 --- /dev/null +++ b/pages.it/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Questo comando è un alias per `md5sum`. + +- Consulta la documentazione del comando originale: + +`tldr md5sum` diff --git a/pages.it/osx/gmkdir.md b/pages.it/osx/gmkdir.md new file mode 100644 index 00000000000000..06766d6fd615c2 --- /dev/null +++ b/pages.it/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Questo comando è un alias per `mkdir`. + +- Consulta la documentazione del comando originale: + +`tldr mkdir` diff --git a/pages.it/osx/gmkfifo.md b/pages.it/osx/gmkfifo.md new file mode 100644 index 00000000000000..421138758e553d --- /dev/null +++ b/pages.it/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Questo comando è un alias per `mkfifo`. + +- Consulta la documentazione del comando originale: + +`tldr mkfifo` diff --git a/pages.it/osx/gmknod.md b/pages.it/osx/gmknod.md new file mode 100644 index 00000000000000..139775bf189f0e --- /dev/null +++ b/pages.it/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Questo comando è un alias per `-p linux mknod`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.it/osx/gmktemp.md b/pages.it/osx/gmktemp.md new file mode 100644 index 00000000000000..d1824c059fc637 --- /dev/null +++ b/pages.it/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Questo comando è un alias per `-p linux mktemp`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.it/osx/gmv.md b/pages.it/osx/gmv.md new file mode 100644 index 00000000000000..8778d90dd2af71 --- /dev/null +++ b/pages.it/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Questo comando è un alias per `mv`. + +- Consulta la documentazione del comando originale: + +`tldr mv` diff --git a/pages.it/osx/gnice.md b/pages.it/osx/gnice.md new file mode 100644 index 00000000000000..662a3f0a238a1c --- /dev/null +++ b/pages.it/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Questo comando è un alias per `nice`. + +- Consulta la documentazione del comando originale: + +`tldr nice` diff --git a/pages.it/osx/gnl.md b/pages.it/osx/gnl.md new file mode 100644 index 00000000000000..71f9cac008dc44 --- /dev/null +++ b/pages.it/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Questo comando è un alias per `-p linux nl`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.it/osx/gnohup.md b/pages.it/osx/gnohup.md new file mode 100644 index 00000000000000..581bbe975eda97 --- /dev/null +++ b/pages.it/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Questo comando è un alias per `nohup`. + +- Consulta la documentazione del comando originale: + +`tldr nohup` diff --git a/pages.it/osx/gnproc.md b/pages.it/osx/gnproc.md new file mode 100644 index 00000000000000..eba7bbacd66f4a --- /dev/null +++ b/pages.it/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Questo comando è un alias per `nproc`. + +- Consulta la documentazione del comando originale: + +`tldr nproc` diff --git a/pages.it/osx/gnumfmt.md b/pages.it/osx/gnumfmt.md new file mode 100644 index 00000000000000..a1d10bc0445c83 --- /dev/null +++ b/pages.it/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Questo comando è un alias per `numfmt`. + +- Consulta la documentazione del comando originale: + +`tldr numfmt` diff --git a/pages.it/osx/god.md b/pages.it/osx/god.md new file mode 100644 index 00000000000000..22a427f338e554 --- /dev/null +++ b/pages.it/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Questo comando è un alias per `od`. + +- Consulta la documentazione del comando originale: + +`tldr od` diff --git a/pages.it/osx/gpaste.md b/pages.it/osx/gpaste.md new file mode 100644 index 00000000000000..1018ccfa050b63 --- /dev/null +++ b/pages.it/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Questo comando è un alias per `paste`. + +- Consulta la documentazione del comando originale: + +`tldr paste` diff --git a/pages.it/osx/gpathchk.md b/pages.it/osx/gpathchk.md new file mode 100644 index 00000000000000..8e6c1ed679d582 --- /dev/null +++ b/pages.it/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Questo comando è un alias per `pathchk`. + +- Consulta la documentazione del comando originale: + +`tldr pathchk` diff --git a/pages.it/osx/gping.md b/pages.it/osx/gping.md new file mode 100644 index 00000000000000..1cb55f5581779e --- /dev/null +++ b/pages.it/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Questo comando è un alias per `ping`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.it/osx/gping6.md b/pages.it/osx/gping6.md new file mode 100644 index 00000000000000..e5d9565533f3e4 --- /dev/null +++ b/pages.it/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Questo comando è un alias per `ping6`. + +- Consulta la documentazione del comando originale: + +`tldr ping6` diff --git a/pages.it/osx/gpinky.md b/pages.it/osx/gpinky.md new file mode 100644 index 00000000000000..738273243d1255 --- /dev/null +++ b/pages.it/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Questo comando è un alias per `pinky`. + +- Consulta la documentazione del comando originale: + +`tldr pinky` diff --git a/pages.it/osx/gpr.md b/pages.it/osx/gpr.md new file mode 100644 index 00000000000000..74a13508b17c44 --- /dev/null +++ b/pages.it/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Questo comando è un alias per `pr`. + +- Consulta la documentazione del comando originale: + +`tldr pr` diff --git a/pages.it/osx/gprintenv.md b/pages.it/osx/gprintenv.md new file mode 100644 index 00000000000000..82a29f4440b1c4 --- /dev/null +++ b/pages.it/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Questo comando è un alias per `printenv`. + +- Consulta la documentazione del comando originale: + +`tldr printenv` diff --git a/pages.it/osx/gprintf.md b/pages.it/osx/gprintf.md new file mode 100644 index 00000000000000..9e9fad825247b4 --- /dev/null +++ b/pages.it/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Questo comando è un alias per `printf`. + +- Consulta la documentazione del comando originale: + +`tldr printf` diff --git a/pages.it/osx/gptx.md b/pages.it/osx/gptx.md new file mode 100644 index 00000000000000..41a6a4c23ba284 --- /dev/null +++ b/pages.it/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Questo comando è un alias per `-p linux ptx`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.it/osx/gpwd.md b/pages.it/osx/gpwd.md new file mode 100644 index 00000000000000..d2531fad4e3e87 --- /dev/null +++ b/pages.it/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Questo comando è un alias per `pwd`. + +- Consulta la documentazione del comando originale: + +`tldr pwd` diff --git a/pages.it/osx/grcp.md b/pages.it/osx/grcp.md new file mode 100644 index 00000000000000..edb35cf2a1d18e --- /dev/null +++ b/pages.it/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Questo comando è un alias per `-p linux rcp`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.it/osx/greadlink.md b/pages.it/osx/greadlink.md new file mode 100644 index 00000000000000..29206d76eb8b93 --- /dev/null +++ b/pages.it/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Questo comando è un alias per `readlink`. + +- Consulta la documentazione del comando originale: + +`tldr readlink` diff --git a/pages.it/osx/grealpath.md b/pages.it/osx/grealpath.md new file mode 100644 index 00000000000000..78e0442c2b31fb --- /dev/null +++ b/pages.it/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Questo comando è un alias per `realpath`. + +- Consulta la documentazione del comando originale: + +`tldr realpath` diff --git a/pages.it/osx/grexec.md b/pages.it/osx/grexec.md new file mode 100644 index 00000000000000..0168d56642882a --- /dev/null +++ b/pages.it/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Questo comando è un alias per `-p linux rexec`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.it/osx/grlogin.md b/pages.it/osx/grlogin.md new file mode 100644 index 00000000000000..199368fdbb39f9 --- /dev/null +++ b/pages.it/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Questo comando è un alias per `-p linux rlogin`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.it/osx/grm.md b/pages.it/osx/grm.md new file mode 100644 index 00000000000000..26b58ba9e5aea7 --- /dev/null +++ b/pages.it/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Questo comando è un alias per `rm`. + +- Consulta la documentazione del comando originale: + +`tldr rm` diff --git a/pages.it/osx/grmdir.md b/pages.it/osx/grmdir.md new file mode 100644 index 00000000000000..0961b3cba38e8c --- /dev/null +++ b/pages.it/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Questo comando è un alias per `rmdir`. + +- Consulta la documentazione del comando originale: + +`tldr rmdir` diff --git a/pages.it/osx/grsh.md b/pages.it/osx/grsh.md new file mode 100644 index 00000000000000..cefd629c40ff10 --- /dev/null +++ b/pages.it/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Questo comando è un alias per `-p linux rsh`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.it/osx/gruncon.md b/pages.it/osx/gruncon.md new file mode 100644 index 00000000000000..dd0d37abb08754 --- /dev/null +++ b/pages.it/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Questo comando è un alias per `-p linux runcon`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.it/osx/gsed.md b/pages.it/osx/gsed.md new file mode 100644 index 00000000000000..8c3367b4421128 --- /dev/null +++ b/pages.it/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Questo comando è un alias per `-p linux sed`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.it/osx/gseq.md b/pages.it/osx/gseq.md new file mode 100644 index 00000000000000..63fb94e3b8921c --- /dev/null +++ b/pages.it/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Questo comando è un alias per `seq`. + +- Consulta la documentazione del comando originale: + +`tldr seq` diff --git a/pages.it/osx/gsha1sum.md b/pages.it/osx/gsha1sum.md new file mode 100644 index 00000000000000..a4c1d41af1117b --- /dev/null +++ b/pages.it/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Questo comando è un alias per `sha1sum`. + +- Consulta la documentazione del comando originale: + +`tldr sha1sum` diff --git a/pages.it/osx/gsha224sum.md b/pages.it/osx/gsha224sum.md new file mode 100644 index 00000000000000..dee8e30cbbed2f --- /dev/null +++ b/pages.it/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Questo comando è un alias per `sha224sum`. + +- Consulta la documentazione del comando originale: + +`tldr sha224sum` diff --git a/pages.it/osx/gsha256sum.md b/pages.it/osx/gsha256sum.md new file mode 100644 index 00000000000000..3be3fcde9e228f --- /dev/null +++ b/pages.it/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Questo comando è un alias per `sha256sum`. + +- Consulta la documentazione del comando originale: + +`tldr sha256sum` diff --git a/pages.it/osx/gsha384sum.md b/pages.it/osx/gsha384sum.md new file mode 100644 index 00000000000000..0d86636c50938a --- /dev/null +++ b/pages.it/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Questo comando è un alias per `sha384sum`. + +- Consulta la documentazione del comando originale: + +`tldr sha384sum` diff --git a/pages.it/osx/gsha512sum.md b/pages.it/osx/gsha512sum.md new file mode 100644 index 00000000000000..057207b37cec68 --- /dev/null +++ b/pages.it/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Questo comando è un alias per `sha512sum`. + +- Consulta la documentazione del comando originale: + +`tldr sha512sum` diff --git a/pages.it/osx/gshred.md b/pages.it/osx/gshred.md new file mode 100644 index 00000000000000..59e52ff82c564b --- /dev/null +++ b/pages.it/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Questo comando è un alias per `shred`. + +- Consulta la documentazione del comando originale: + +`tldr shred` diff --git a/pages.it/osx/gshuf.md b/pages.it/osx/gshuf.md new file mode 100644 index 00000000000000..9f033d5b59814a --- /dev/null +++ b/pages.it/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Questo comando è un alias per `shuf`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.it/osx/gsleep.md b/pages.it/osx/gsleep.md new file mode 100644 index 00000000000000..b42a67ca3c2e3e --- /dev/null +++ b/pages.it/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Questo comando è un alias per `-p linux sleep`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.it/osx/gsort.md b/pages.it/osx/gsort.md new file mode 100644 index 00000000000000..accb13e4a4246d --- /dev/null +++ b/pages.it/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Questo comando è un alias per `sort`. + +- Consulta la documentazione del comando originale: + +`tldr sort` diff --git a/pages.it/osx/gsplit.md b/pages.it/osx/gsplit.md new file mode 100644 index 00000000000000..328d153ae7a676 --- /dev/null +++ b/pages.it/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Questo comando è un alias per `split`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.it/osx/gstat.md b/pages.it/osx/gstat.md new file mode 100644 index 00000000000000..73f22dd5fd7d37 --- /dev/null +++ b/pages.it/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Questo comando è un alias per `stat`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.it/osx/gstdbuf.md b/pages.it/osx/gstdbuf.md new file mode 100644 index 00000000000000..33cec6522845fe --- /dev/null +++ b/pages.it/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Questo comando è un alias per `stdbuf`. + +- Consulta la documentazione del comando originale: + +`tldr stdbuf` diff --git a/pages.it/osx/gstty.md b/pages.it/osx/gstty.md new file mode 100644 index 00000000000000..7ebd630e034ebb --- /dev/null +++ b/pages.it/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Questo comando è un alias per `stty`. + +- Consulta la documentazione del comando originale: + +`tldr stty` diff --git a/pages.it/osx/gsum.md b/pages.it/osx/gsum.md new file mode 100644 index 00000000000000..c013d8e6c0a160 --- /dev/null +++ b/pages.it/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Questo comando è un alias per `sum`. + +- Consulta la documentazione del comando originale: + +`tldr sum` diff --git a/pages.it/osx/gsync.md b/pages.it/osx/gsync.md new file mode 100644 index 00000000000000..5fe4dc91435422 --- /dev/null +++ b/pages.it/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Questo comando è un alias per `sync`. + +- Consulta la documentazione del comando originale: + +`tldr sync` diff --git a/pages.it/osx/gtac.md b/pages.it/osx/gtac.md new file mode 100644 index 00000000000000..32cf3ca38a517b --- /dev/null +++ b/pages.it/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Questo comando è un alias per `tac`. + +- Consulta la documentazione del comando originale: + +`tldr tac` diff --git a/pages.it/osx/gtail.md b/pages.it/osx/gtail.md new file mode 100644 index 00000000000000..06e872813158d0 --- /dev/null +++ b/pages.it/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Questo comando è un alias per `tail`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.it/osx/gtalk.md b/pages.it/osx/gtalk.md new file mode 100644 index 00000000000000..fdddab0c3abb42 --- /dev/null +++ b/pages.it/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Questo comando è un alias per `-p linux talk`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.it/osx/gtar.md b/pages.it/osx/gtar.md new file mode 100644 index 00000000000000..c37e490a3647ef --- /dev/null +++ b/pages.it/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Questo comando è un alias per `tar`. + +- Consulta la documentazione del comando originale: + +`tldr tar` diff --git a/pages.it/osx/gtee.md b/pages.it/osx/gtee.md new file mode 100644 index 00000000000000..998b372f2332c3 --- /dev/null +++ b/pages.it/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Questo comando è un alias per `tee`. + +- Consulta la documentazione del comando originale: + +`tldr tee` diff --git a/pages.it/osx/gtelnet.md b/pages.it/osx/gtelnet.md new file mode 100644 index 00000000000000..f3af965c769b25 --- /dev/null +++ b/pages.it/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Questo comando è un alias per `telnet`. + +- Consulta la documentazione del comando originale: + +`tldr telnet` diff --git a/pages.it/osx/gtest.md b/pages.it/osx/gtest.md new file mode 100644 index 00000000000000..e976ee24b35342 --- /dev/null +++ b/pages.it/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Questo comando è un alias per `test`. + +- Consulta la documentazione del comando originale: + +`tldr test` diff --git a/pages.it/osx/gtftp.md b/pages.it/osx/gtftp.md new file mode 100644 index 00000000000000..8afb0df544b760 --- /dev/null +++ b/pages.it/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Questo comando è un alias per `-p linux tftp`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.it/osx/gtime.md b/pages.it/osx/gtime.md new file mode 100644 index 00000000000000..7eb60c8dae1628 --- /dev/null +++ b/pages.it/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Questo comando è un alias per `time`. + +- Consulta la documentazione del comando originale: + +`tldr time` diff --git a/pages.it/osx/gtimeout.md b/pages.it/osx/gtimeout.md new file mode 100644 index 00000000000000..e087c5469bed1b --- /dev/null +++ b/pages.it/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Questo comando è un alias per `timeout`. + +- Consulta la documentazione del comando originale: + +`tldr timeout` diff --git a/pages.it/osx/gtouch.md b/pages.it/osx/gtouch.md new file mode 100644 index 00000000000000..ddb0f62ac33a93 --- /dev/null +++ b/pages.it/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Questo comando è un alias per `touch`. + +- Consulta la documentazione del comando originale: + +`tldr touch` diff --git a/pages.it/osx/gtr.md b/pages.it/osx/gtr.md new file mode 100644 index 00000000000000..07224257f0f011 --- /dev/null +++ b/pages.it/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Questo comando è un alias per `tr`. + +- Consulta la documentazione del comando originale: + +`tldr tr` diff --git a/pages.it/osx/gtraceroute.md b/pages.it/osx/gtraceroute.md new file mode 100644 index 00000000000000..ebd16595208e76 --- /dev/null +++ b/pages.it/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Questo comando è un alias per `traceroute`. + +- Consulta la documentazione del comando originale: + +`tldr traceroute` diff --git a/pages.it/osx/gtrue.md b/pages.it/osx/gtrue.md new file mode 100644 index 00000000000000..f7abfc3b3572be --- /dev/null +++ b/pages.it/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Questo comando è un alias per `true`. + +- Consulta la documentazione del comando originale: + +`tldr true` diff --git a/pages.it/osx/gtruncate.md b/pages.it/osx/gtruncate.md new file mode 100644 index 00000000000000..c131f7f3d4b59d --- /dev/null +++ b/pages.it/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Questo comando è un alias per `truncate`. + +- Consulta la documentazione del comando originale: + +`tldr truncate` diff --git a/pages.it/osx/gtsort.md b/pages.it/osx/gtsort.md new file mode 100644 index 00000000000000..b4c1b53afa1755 --- /dev/null +++ b/pages.it/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Questo comando è un alias per `tsort`. + +- Consulta la documentazione del comando originale: + +`tldr tsort` diff --git a/pages.it/osx/gtty.md b/pages.it/osx/gtty.md new file mode 100644 index 00000000000000..d65d91c168547c --- /dev/null +++ b/pages.it/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Questo comando è un alias per `tty`. + +- Consulta la documentazione del comando originale: + +`tldr tty` diff --git a/pages.it/osx/guname.md b/pages.it/osx/guname.md new file mode 100644 index 00000000000000..1b78ba2abccace --- /dev/null +++ b/pages.it/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Questo comando è un alias per `uname`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.it/osx/gunexpand.md b/pages.it/osx/gunexpand.md new file mode 100644 index 00000000000000..2b2e6bfdfcf467 --- /dev/null +++ b/pages.it/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Questo comando è un alias per `unexpand`. + +- Consulta la documentazione del comando originale: + +`tldr unexpand` diff --git a/pages.it/osx/guniq.md b/pages.it/osx/guniq.md new file mode 100644 index 00000000000000..ac8b428752332b --- /dev/null +++ b/pages.it/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Questo comando è un alias per `uniq`. + +- Consulta la documentazione del comando originale: + +`tldr uniq` diff --git a/pages.it/osx/gunits.md b/pages.it/osx/gunits.md new file mode 100644 index 00000000000000..d5ee3e88add569 --- /dev/null +++ b/pages.it/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Questo comando è un alias per `units`. + +- Consulta la documentazione del comando originale: + +`tldr units` diff --git a/pages.it/osx/gunlink.md b/pages.it/osx/gunlink.md new file mode 100644 index 00000000000000..913be4b89c81ac --- /dev/null +++ b/pages.it/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Questo comando è un alias per `unlink`. + +- Consulta la documentazione del comando originale: + +`tldr unlink` diff --git a/pages.it/osx/gupdatedb.md b/pages.it/osx/gupdatedb.md new file mode 100644 index 00000000000000..1d9467fd5ee9e4 --- /dev/null +++ b/pages.it/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Questo comando è un alias per `-p linux updatedb`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.it/osx/guptime.md b/pages.it/osx/guptime.md new file mode 100644 index 00000000000000..b266440106d577 --- /dev/null +++ b/pages.it/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Questo comando è un alias per `uptime`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.it/osx/gusers.md b/pages.it/osx/gusers.md new file mode 100644 index 00000000000000..ad7c795eef51e3 --- /dev/null +++ b/pages.it/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Questo comando è un alias per `users`. + +- Consulta la documentazione del comando originale: + +`tldr users` diff --git a/pages.it/osx/gvdir.md b/pages.it/osx/gvdir.md new file mode 100644 index 00000000000000..129ea861579863 --- /dev/null +++ b/pages.it/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Questo comando è un alias per `vdir`. + +- Consulta la documentazione del comando originale: + +`tldr vdir` diff --git a/pages.it/osx/gwc.md b/pages.it/osx/gwc.md new file mode 100644 index 00000000000000..f64ab9dc2bb7b1 --- /dev/null +++ b/pages.it/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Questo comando è un alias per `wc`. + +- Consulta la documentazione del comando originale: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.it/osx/gwhich.md b/pages.it/osx/gwhich.md new file mode 100644 index 00000000000000..b0e4866670fa1c --- /dev/null +++ b/pages.it/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Questo comando è un alias per `which`. + +- Consulta la documentazione del comando originale: + +`tldr which` diff --git a/pages.it/osx/gwho.md b/pages.it/osx/gwho.md new file mode 100644 index 00000000000000..f46b41721ef699 --- /dev/null +++ b/pages.it/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Questo comando è un alias per `who`. + +- Consulta la documentazione del comando originale: + +`tldr who` diff --git a/pages.it/osx/gwhoami.md b/pages.it/osx/gwhoami.md new file mode 100644 index 00000000000000..b3e3413968cc93 --- /dev/null +++ b/pages.it/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Questo comando è un alias per `whoami`. + +- Consulta la documentazione del comando originale: + +`tldr whoami` diff --git a/pages.it/osx/gwhois.md b/pages.it/osx/gwhois.md new file mode 100644 index 00000000000000..a5d1a1c7d6ee79 --- /dev/null +++ b/pages.it/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Questo comando è un alias per `whois`. + +- Consulta la documentazione del comando originale: + +`tldr whois` diff --git a/pages.it/osx/gxargs.md b/pages.it/osx/gxargs.md new file mode 100644 index 00000000000000..14ec218504c908 --- /dev/null +++ b/pages.it/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Questo comando è un alias per `xargs`. + +- Consulta la documentazione del comando originale: + +`tldr xargs` diff --git a/pages.it/osx/gyes.md b/pages.it/osx/gyes.md new file mode 100644 index 00000000000000..126f4dfe093031 --- /dev/null +++ b/pages.it/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Questo comando è un alias per `yes`. + +- Consulta la documentazione del comando originale: + +`tldr yes` diff --git a/pages.it/osx/log.md b/pages.it/osx/log.md new file mode 100644 index 00000000000000..ceeebdcb88e4de --- /dev/null +++ b/pages.it/osx/log.md @@ -0,0 +1,20 @@ +# log + +> Visualizza, esporta e configura i sistemi di log. +> Maggiori informazioni: . + +- Mostra i log di sistema in diretta: + +`log stream` + +- Mostra i log mandati a `syslog` da processi con un PID specifico: + +`log stream --process {{ID_processo}}` + +- Mostra i log mandati a `syslog` da processi con un nome specifico: + +`log show --predicate "process == '{{process_name}}'"` + +- Esporta sul disco tutti i log dell'ultima ora: + +`sudo log collect --last {{1h}} --output {{percorso/del/file.logarchive}}` diff --git a/pages.it/windows/attrib.md b/pages.it/windows/attrib.md new file mode 100644 index 00000000000000..52a0ec464f5e63 --- /dev/null +++ b/pages.it/windows/attrib.md @@ -0,0 +1,28 @@ +# attrib + +> Mostra o cambia gli attributi di file e cartelle. +> Maggiori informazioni: . + +- Mostra tutti gli attributi dei file in una cartella: + +`attrib` + +- Mostra tutti gli attributi dei file in una cartella specifica: + +`attrib {{percorso\della\cartella}}` + +- Mostra tutti gli attributi dei file e delle cartelle nella cartella corrente: + +`attrib /d` + +- Mostra tutti gli attributi dei file in una cartella e le sue sotto-cartelle: + +`attrib /s` + +- Aggiungi l'attributo `[r]ead-only` o `[a]rchive` o `[s]ystem` o `[h]idden` o `not content [i]ndexed` a file o cartelle: + +`attrib +{{r|a|s|h|i}} {{percorso\del\file_o_cartella1 percorso\del\file_o_cartella2 ...}}` + +- Rimuovi un attributo specifico da un file o una cartella: + +`attrib -{{r|a|s|h|i}} {{percorso\del\file_o_cartella1 percorso\del\file_o_cartella2 ...}}` diff --git a/pages.it/windows/cd.md b/pages.it/windows/cd.md new file mode 100644 index 00000000000000..18f52ab6aeb585 --- /dev/null +++ b/pages.it/windows/cd.md @@ -0,0 +1,20 @@ +# cd + +> Mostra informazioni riguardo alla directory corrente e permette di muoversi in un altra directory. +> Maggiori informazioni: . + +- Mostra il percorso (path) della directory corrente: + +`cd` + +- Spostati nella directory superiore: + +`cd ..` + +- Spostati ad una specifica directory sullo stesso disco: + +`cd {{percorso\della\directory}}` + +- Spostati ad una specifica directory in un altro disco: + +`cd /d {{C}}:{{percorso\della\directory}}` diff --git a/pages.it/windows/chkdsk.md b/pages.it/windows/chkdsk.md new file mode 100644 index 00000000000000..12dd78541506f8 --- /dev/null +++ b/pages.it/windows/chkdsk.md @@ -0,0 +1,20 @@ +# chkdsk + +> Controlla il file system e i metadata dei dischi per cercare errori. +> Maggiori informazioni: . + +- Specifica la lettera del disco (seguita da due punti ':'), monta una partizione o un disco da controllare: + +`chkdsk {{disco}}` + +- Ripara gli errori di un disco specifico: + +`chkdsk {{disco}} /f` + +- Smonta un disco specifico prima di eseguire il controllo: + +`chkdsk {{volume}} /x` + +- Cambia la dimensione dei file di log in una dimensione specifica (solo per NTFS): + +`chkdsk /l{{dimensione}}` diff --git a/pages.it/windows/choco-apikey.md b/pages.it/windows/choco-apikey.md new file mode 100644 index 00000000000000..97803caf9c5f3f --- /dev/null +++ b/pages.it/windows/choco-apikey.md @@ -0,0 +1,20 @@ +# choco apikey + +> Gestisci le chiavi API per le fonti di Chocolatey. +> Maggiori informazioni: . + +- Mostra una lista di fonti e le loro chiavi API: + +`choco apikey` + +- Mostra una specifica fonte e la sua chiave API: + +`choco apikey --source "{{url_della_fonte}}"` + +- Imposta una chiave API per una fonte: + +`choco apikey --source "{{url_della_fonte}}" --key "{{chiave_api}}"` + +- Rimuovi una chiave API per una fonte: + +`choco apikey --source "{{url_della_fonte}}" --remove` diff --git a/pages.it/windows/choco-install.md b/pages.it/windows/choco-install.md new file mode 100644 index 00000000000000..aa19f9df6a983e --- /dev/null +++ b/pages.it/windows/choco-install.md @@ -0,0 +1,36 @@ +# choco install + +> Installa uno o più pacchetti con Chocolatey. +> Maggiori informazioni: . + +- Installa uno o più pacchetti separati da spazio: + +`choco install {{pacchetto1 pacchetto2 ...}}` + +- Installa pacchetti da un file di configurazione personalizzato: + +`choco install {{percorso\del\file_di_pacchetti.config}}` + +- Installa un file nuspec o nupkg specifico: + +`choco install {{percorso\del\file}}` + +- Installa una nuova versione specifica di un pacchetto: + +`choco install {{pacchetto}} --version {{versione}}` + +- Consenti l'installazione di più versioni di un pacchetto: + +`choco install {{pacchetto}} --allow-multiple` + +- Conferma automaticamente tutte le richieste: + +`choco install {{pacchetto}} --yes` + +- Specifica una fonte personalizzata per ricevere pacchetti: + +`choco install {{pacchetto}} --source {{url_fonte|alias}}` + +- Fornisci un nome utente e una password per l'autenticazione: + +`choco install {{pacchetto}} --user {{nome_utente}} --password {{password}}` diff --git a/pages.it/windows/choco.md b/pages.it/windows/choco.md new file mode 100644 index 00000000000000..27137f90ba9734 --- /dev/null +++ b/pages.it/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> Interfaccia a linea di comando per il gestore pacchetti Chocolatey. +> Alcuni sottocomandi come `choco install` hanno la loro documentazione. +> Maggiori informazioni: . + +- Esegui comandi Chocolatey: + +`choco {{comando}}` + +- Guarda il messaggio d'aiuto: + +`choco -?` + +- Guarda il messaggio d'aiuto di un comando specifico: + +`choco {{command}} -?` + +- Controlla la versione di Chocolatey: + +`choco --version` diff --git a/pages.it/windows/chrome.md b/pages.it/windows/chrome.md new file mode 100644 index 00000000000000..329dd9cfcf8d99 --- /dev/null +++ b/pages.it/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Questo comando è un alias per `chromium`. +> Maggiori informazioni: . + +- Consulta la documentazione del comando originale: + +`tldr chromium` diff --git a/pages.it/windows/cinst.md b/pages.it/windows/cinst.md new file mode 100644 index 00000000000000..6cb4845c1307ae --- /dev/null +++ b/pages.it/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Questo comando è un alias per `choco install`. + +- Consulta la documentazione del comando originale: + +`tldr choco install` diff --git a/pages.it/windows/clip.md b/pages.it/windows/clip.md new file mode 100644 index 00000000000000..05bdff32257d03 --- /dev/null +++ b/pages.it/windows/clip.md @@ -0,0 +1,20 @@ +# clip + +> Copia il contenuto di input negli Appunti di Windows. +> Maggiori informazioni: . + +- Manda l'output della riga di comando negli Appunti di Windows: + +`{{dir}} | clip` + +- Copia i contenuti di un file negli appunti di Windows: + +`clip < {{percorso\per\file.ext}}` + +- Copia il testo con una nuova riga finale negli appunti di Windows: + +`echo {{testo_generico}} | clip` + +- Copia il testo senza una nuova riga finale negli appunti di Windows: + +`echo | set /p="testo_generico" | clip` diff --git a/pages.it/windows/clist.md b/pages.it/windows/clist.md new file mode 100644 index 00000000000000..e84af58b56eae5 --- /dev/null +++ b/pages.it/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Questo comando è un alias per `choco list`. + +- Consulta la documentazione del comando originale: + +`tldr choco list` diff --git a/pages.it/windows/cls.md b/pages.it/windows/cls.md new file mode 100644 index 00000000000000..77c2dc9c17931f --- /dev/null +++ b/pages.it/windows/cls.md @@ -0,0 +1,8 @@ +# cls + +> Pulisce lo schermo del terminale. +> Maggiori informazioni: . + +- Pulisce lo schermo: + +`cls` diff --git a/pages.it/windows/cmd.md b/pages.it/windows/cmd.md index 93d602491739ae..f289bef755307c 100644 --- a/pages.it/windows/cmd.md +++ b/pages.it/windows/cmd.md @@ -1,7 +1,7 @@ # cmd > L'interprete dei comandi di Windows. -> Maggiori informazioni: . +> Maggiori informazioni: . - Lancia una nuova istanza dell'interprete dei comandi: @@ -9,11 +9,11 @@ - Esegue il comando specificato e poi esce: -`cmd /c "{{comando}}"` +`cmd /c {{echo Ciao mondo}}` - Esegue il comando specificato e poi apre una shell interattiva: -`cmd /k "{{comando}}"` +`cmd /k {{echo Ciao mondo}}` - Disabilita l'uso di `echo` nell'output di un comando: @@ -23,14 +23,10 @@ `cmd /e:{{on|off}}` -- Abilita o disabilita l'autocompletamento dei nomi di file e cartelle: - -`cmd /f:{{on|off}}` - - Abilita o disabilita l'espansione delle variabili d'ambiente: `cmd /v:{{on|off}}` -- Forza l'encoding delle stringhe in unicode per l'output: +- Forza l'encoding delle stringhe in Unicode per l'output: `cmd /u` diff --git a/pages.it/windows/color.md b/pages.it/windows/color.md new file mode 100644 index 00000000000000..542a4141555f64 --- /dev/null +++ b/pages.it/windows/color.md @@ -0,0 +1,16 @@ +# color + +> Imposta i colori di primo piano e di sfondo della console. +> Maggiori informazioni: . + +- Imposta i colori della console sui valori predefiniti: + +`color` + +- Elenca i valori di colore disponibili e le informazioni dettagliate: + +`color /?` + +- Imposta il primo piano e lo sfondo della console su un colore specifico utilizzando numeri esadecimali (`1-9,a-f`): + +`color {{codice_primo_piano}}{{codice_sfondo}}` diff --git a/pages.it/windows/cpush.md b/pages.it/windows/cpush.md new file mode 100644 index 00000000000000..01dca836a2c5b8 --- /dev/null +++ b/pages.it/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Questo comando è un alias per `choco push`. + +- Consulta la documentazione del comando originale: + +`tldr choco push` diff --git a/pages.it/windows/cuninst.md b/pages.it/windows/cuninst.md new file mode 100644 index 00000000000000..048316bdfaf629 --- /dev/null +++ b/pages.it/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Questo comando è un alias per `choco uninstall`. + +- Consulta la documentazione del comando originale: + +`tldr choco uninstall` diff --git a/pages.it/windows/date.md b/pages.it/windows/date.md new file mode 100644 index 00000000000000..f7ed179ef9799b --- /dev/null +++ b/pages.it/windows/date.md @@ -0,0 +1,16 @@ +# date + +> Mostra o imposta la data del sistema. +> Maggiori informazioni: . + +- Mostra la data corrente e chiedi di impostarne una nuova (lascia vuoto per lasciare quella corrente): + +`date` + +- Mostra la data corrente senza chiedere di impostarne una nuova: + +`date /t` + +- Cambia la data corrente a una data specifica: + +`date {{mese}}-{{giorno}}-{{anno}}` diff --git a/pages.it/windows/del.md b/pages.it/windows/del.md new file mode 100644 index 00000000000000..168811ce910ecd --- /dev/null +++ b/pages.it/windows/del.md @@ -0,0 +1,32 @@ +# del + +> Cancella uno o più file. +> Maggiori informazioni: . + +- Cancella uno o più (separati da uno spazio) file o pattern: + +`del {{pattern_di_file}}` + +- Chiedi conferma prima di cancellare ogni file: + +`del {{pattern_di_file}} /p` + +- Forza l'eliminazione di un file a sola lettura: + +`del {{pattern_di_file}} /f` + +- Elimina in modo ricorsivo i file da tutte le sottodirectory: + +`del {{pattern_di_file}} /s` + +- Non chiedere conferma quando si eliminano i file in base a un carattere globale: + +`del {{pattern_di_file}} /q` + +- Mostra il messaggio d'aiuto e fà vedere la lista di attributi disponibili: + +`del /?` + +- Cancella dei file in base a degli attributi specifici: + +`del {{pattern_di_file}} /a {{attributo}}` diff --git a/pages.it/windows/dir.md b/pages.it/windows/dir.md new file mode 100644 index 00000000000000..54c3777669693c --- /dev/null +++ b/pages.it/windows/dir.md @@ -0,0 +1,20 @@ +# dir + +> Elenca i contenuti di una directory. +> Maggiori informazioni: . + +- Mostra i contenuti della directory corrente: + +`dir` + +- Mostra i contenuti di una directory specifica: + +`dir {{percorso\della\directory}}` + +- Mostra i contenuti della directory corrente includendo quelli nascosti: + +`dir /A` + +- Mostra i contenuti di una directory specifica includendo quelli nascosti: + +`dir {{percorso\della\directory}} /A` diff --git a/pages.it/windows/diskpart.md b/pages.it/windows/diskpart.md new file mode 100644 index 00000000000000..1d4ac5342a0a9f --- /dev/null +++ b/pages.it/windows/diskpart.md @@ -0,0 +1,32 @@ +# diskpart + +> Gestore di dischi, volumi e partizioni. +> Maggiori informazioni: . + +- Esegui diskpart da solo in un prompt dei comandi da amministratore per inserire la sua riga di comando: + +`diskpart` + +- Elenca tutti i dischi: + +`list disk` + +- Seleziona un volume: + +`select volume {{volume}}` + +- Assegna una lettera di unità al volume selezionato: + +`assign letter {{lettera}}` + +- Crea una nuova partizione: + +`create partition primary` + +- Attiva il volume selezionato: + +`active` + +- Esci da diskpart: + +`exit` diff --git a/pages.it/windows/exit.md b/pages.it/windows/exit.md new file mode 100644 index 00000000000000..e3fa434699b5a0 --- /dev/null +++ b/pages.it/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> Esci dall'istanza CMD corrente o dal file batch corrente. +> Maggiori informazioni: . + +- Esci dall'istanza CMD corrente: + +`exit` + +- Esci dallo script [b]atch corrente: + +`exit /b` + +- Esci usando uno specifico codice d'uscita: + +`exit {{2}}` diff --git a/pages.it/windows/explorer.md b/pages.it/windows/explorer.md new file mode 100644 index 00000000000000..02f10b1a07eca1 --- /dev/null +++ b/pages.it/windows/explorer.md @@ -0,0 +1,16 @@ +# explorer + +> Il file explorer di Windows. +> Maggiori informazioni: . + +- Apri Windows Explorer: + +`explorer` + +- Apri Windows Explorer nella directory corrente: + +`explorer .` + +- Apri Windows Explorer in una directory specifica: + +`explorer {{percorso\della\directory}}` diff --git a/pages.it/windows/ftp.md b/pages.it/windows/ftp.md new file mode 100644 index 00000000000000..62ea4e53bc82c4 --- /dev/null +++ b/pages.it/windows/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> Trasferisci file in modo interattivo tra un server FTP locale e remoto. +> Maggiori informazioni: . + +- Connettiti a un server FTP remoto: + +`ftp {{host}}` + +- Accedi come utente anonimo: + +`ftp -A {{host}}` + +- Disabilita l'accesso automatico alla connessione iniziale: + +`ftp -n {{host}}` + +- Esegui un file contenente una lista di comandi FTP: + +`ftp -s:{{percorso\to\file}} {{host}}` + +- Carica file (espressione glob): + +`mget {{*.png}}` + +- Carica file (espressione glob): + +`mput {{*.zip}}` + +- Cancella file sul server remoto: + +`mdelete {{*.txt}}` + +- Mostra la pagina di aiuto dettagliato: + +`ftp --help` diff --git a/pages.it/windows/ipconfig.md b/pages.it/windows/ipconfig.md new file mode 100644 index 00000000000000..5b51436e1e7cd9 --- /dev/null +++ b/pages.it/windows/ipconfig.md @@ -0,0 +1,24 @@ +# ipconfig + +> Mostra e gestisce le configurazioni di rete di Windows. +> Maggiori informazioni: . + +- Mostra la lista delle schede di rete: + +`ipconfig` + +- Mostra la lista dettagliata delle schede di rete: + +`ipconfig /all` + +- Rinnova l'indirizzo IP di una scheda di rete: + +`ipconfig /renew {{scheda_di_rete}}` + +- Libera gli indirizzi IP per una scheda di rete: + +`ipconfig /release {{scheda_di_rete}}` + +- Rimuovi tutti i dati dalla cache DNS: + +`ipconfig /flushdns` diff --git a/pages.it/windows/iwr.md b/pages.it/windows/iwr.md new file mode 100644 index 00000000000000..5a92b58ef1a8fc --- /dev/null +++ b/pages.it/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Questo comando è un alias per `invoke-webrequest`. + +- Consulta la documentazione del comando originale: + +`tldr invoke-webrequest` diff --git a/pages.it/windows/logoff.md b/pages.it/windows/logoff.md new file mode 100644 index 00000000000000..869b864ec89fa8 --- /dev/null +++ b/pages.it/windows/logoff.md @@ -0,0 +1,16 @@ +# logoff + +> Termina una sessione di accesso. +> Maggiori informazioni: . + +- Termina la sessione in uso: + +`logoff` + +- Termina una sessione con il suo nome o ID: + +`logoff {{nome_sessione|id_sessione}}` + +- Termina la sessione su un server specifico connesso tramite RDP: + +`logoff {{name_sessione|id_sessione}} /server:{{nome_server}}` diff --git a/pages.it/windows/mount.md b/pages.it/windows/mount.md new file mode 100644 index 00000000000000..2a8b8eb9a4a3bb --- /dev/null +++ b/pages.it/windows/mount.md @@ -0,0 +1,32 @@ +# mount + +> Montare le condivisioni di rete del Network File System (NFS). +> Maggiori informazioni: . + +- Monta una share con la lettera di unità "Z": + +`mount \\{{nome_del_computer}}\{{nome_della_share}} {{Z:}}` + +- Monta una share con la successiva lettera di unità disponibile: + +`mount \\{{nome_del_computer}}\{{nome_della_share}} *` + +- Monta una share con un timeout di lettura in secondi (predefinito a 0,8, può essere 0,9 o da 1 a 60): + +`mount -o timeout={{secondi}} \\{{nome_del_computer}}\{{nome_della_share}} {{Z:}}` + +- Monta una share e riprova fino a 10 volte se fallisce: + +`mount -o retry=10 \\{{nome_del_computer}}\{{nome_della_share}} {{Z:}}` + +- Monta una share forzando la distinzione tra maiuscole e minuscole: + +`mount -o casesensitive \\{{nome_del_computer}}\{{nome_della_share}} {{Z:}}` + +- Monta una share come utente anonimo: + +`mount -o anon \\{{nome_del_computer}}\{{nome_della_share}} {{Z:}}` + +- Monta una share utilizzando un tipo di montaggio specifico: + +`mount -o mtype={{soft|hard}} \\{{nome_del_computer}}\{{nome_della_share}} {{Z:}}` diff --git a/pages.it/windows/pwsh-where.md b/pages.it/windows/pwsh-where.md new file mode 100644 index 00000000000000..62d7789e64e71e --- /dev/null +++ b/pages.it/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Questo comando è un alias per `Where-Object`. + +- Consulta la documentazione del comando originale: + +`tldr Where-Object` diff --git a/pages.it/windows/rd.md b/pages.it/windows/rd.md new file mode 100644 index 00000000000000..aa6d17608c8c51 --- /dev/null +++ b/pages.it/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> Questo comando è un alias per `rmdir`. + +- Consulta la documentazione del comando originale: + +`tldr rmdir` diff --git a/pages.it/windows/robocopy.md b/pages.it/windows/robocopy.md new file mode 100644 index 00000000000000..80035436a7e8d6 --- /dev/null +++ b/pages.it/windows/robocopy.md @@ -0,0 +1,33 @@ +# robocopy + +> Copia robusta di file e directory. +> Di default, i file saranno copiati solo se la sorgente e la destinazione hanno timestamp o dimensioni diverse. +> Maggiori informazioni: . + +- Copia tutti i file `.jpg` e `.bmp` da una directory ad un'altra: + +`robocopy {{percorso\della\directory_sorgente}} {{percorso\della\directory_destinazione}} {{*.jpg}} {{*.bmp}}` + +- Copia tutti i file e le sottodirectory, includento anche quelle vuote: + +`robocopy {{percorso\della\directory_sorgente}} {{percorso\della\directory_destinazione}} /E` + +- Mirror/Sincronizza una directory, eliminando tutto ciò che non è nella sorgente e includendo tutti gli attributi e le autorizzazioni: + +`robocopy {{percorso\della\directory_sorgente}} {{percorso\della\directory_destinazione}} /MIR /COPYALL` + +- Copia tutti i file e le sottodirectory, escludendo i file di origine più vecchi rispetto ai file di destinazione: + +`robocopy {{percorso\della\directory_sorgente}} {{percorso\della\directory_destinazione}} /E /XO` + +- Elencare tutti i file di dimensioni maggiori o uguali a 50 MB anziché copiarli: + +`robocopy {{percorso\della\directory_sorgente}} {{percorso\della\directory_destinazione}} /MIN:{{52428800}} /L` + +- Consenti la ripresa se la connessione di rete viene interrotta, limita i tentativi di ripresa a 5 ed il tempo di attesa a 15 secondi: + +`robocopy {{percorso\della\directory_sorgente}} {{percorso\della\directory_destinazione}} /Z /R:5 /W:15` + +- Mostra l'aiuto dettagliato: + +`robocopy /?` diff --git a/pages.it/windows/sls.md b/pages.it/windows/sls.md new file mode 100644 index 00000000000000..059a890e446a26 --- /dev/null +++ b/pages.it/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Questo comando è un alias per `Select-String`. + +- Consulta la documentazione del comando originale: + +`tldr select-string` diff --git a/pages.it/windows/tasklist.md b/pages.it/windows/tasklist.md new file mode 100644 index 00000000000000..e3835afac85427 --- /dev/null +++ b/pages.it/windows/tasklist.md @@ -0,0 +1,24 @@ +# tasklist + +> Mostra una lista dei processi in esecuzione su una macchina locale o remota. +> Maggiori informazioni: . + +- Mostra i processi in esecuzione: + +`tasklist` + +- Mostra i processi in esecuzione in un formato specifico: + +`tasklist /fo {{table|list|csv}}` + +- Mostra i processi in esecuzione utilizzando il nome del file `.exe` o `.dll` specificato: + +`tasklist /m {{pattern_di_moduli}}` + +- Mostra i processi in esecuzione su una macchina remota: + +`tasklist /s {{nome_macchina_remota}} /u {{nome_utente}} /p {{password}}` + +- Visualizzare i servizi utilizzando ogni processo: + +`tasklist /svc` diff --git a/pages.it/windows/wget.md b/pages.it/windows/wget.md new file mode 100644 index 00000000000000..7b4833aece734f --- /dev/null +++ b/pages.it/windows/wget.md @@ -0,0 +1,17 @@ +# wget + +> In PowerShell, questo comando può essere un alias di `Invoke-WebRequest` quando il programma originale `wget` () non è installato correttamente. +> Nota: se il comando della versione restituisce un errore, PowerShell potrebbe aver sostituito questo comando con `Invoke-WebRequest`. +> Maggiori informazioni: . + +- Mostra la documentazione del comando `wget` originale: + +`tldr wget -p common` + +- Mostra la documentazione del comando `Invoke-WebRequest` di PowerShell: + +`tldr invoke-webrequest` + +- Mostra la versione: + +`wget --version` diff --git a/pages.it/windows/whoami.md b/pages.it/windows/whoami.md new file mode 100644 index 00000000000000..ef2a1ab43dfe9a --- /dev/null +++ b/pages.it/windows/whoami.md @@ -0,0 +1,28 @@ +# whoami + +> Mostra informazioni riguardo all'utente utilizzato. +> Maggiori informazioni: . + +- Mostra il nome dell'utente corrente: + +`whoami` + +- Mostra i gruppi di cui l'utente corrente fa parte: + +`whoami /groups` + +- Mostra i privilegi dell'utente corrente: + +`whoami /priv` + +- Mostra l'UPN (User Principal Name) dell'utente corrente: + +`whoami /upn` + +- Mostra l'ID di logon dell'utente corrente: + +`whoami /logonid` + +- Mostra tutte le informazioni riguardo all'utente corrente: + +`whoami /all` diff --git a/pages.it/windows/winget.md b/pages.it/windows/winget.md new file mode 100644 index 00000000000000..f067d2777a5ad2 --- /dev/null +++ b/pages.it/windows/winget.md @@ -0,0 +1,24 @@ +# winget + +> Gestore pacchetti a linea di comando di Windows. +> Maggiori informazioni: . + +- Installa un pacchetto: + +`winget install {{pacchetto}}` + +- Mostra informazioni su un pacchetto: + +`winget show {{pacchetto}}` + +- Cerca un pacchetto: + +`winget search {{pacchetto}}` + +- Aggiorna tutti i pacchetti all'ultima versione: + +`winget upgrade --all` + +- Elenca tutti i pacchetti installati che possono essere gestiti con winget: + +`winget list --source winget` diff --git a/pages.it/windows/xcopy.md b/pages.it/windows/xcopy.md new file mode 100644 index 00000000000000..7a5c532f38f625 --- /dev/null +++ b/pages.it/windows/xcopy.md @@ -0,0 +1,36 @@ +# xcopy + +> Copia di file e directory. +> Maggiori informazioni: . + +- Copia il/i file nella destinazione specificata: + +`xcopy {{percorso\del\file_o_directory}} {{percorso\della\destinazione}}` + +- Elenca i file da copiare prima di copiarli verso la destinazione: + +`xcopy {{percorso\del\file_o_directory}} {{percorso\della\destinazione}} /p` + +- Copia solo la struttura della directory senza i file: + +`xcopy {{percorso\del\file_o_directory}} {{percorso\della\destinazione}} /t` + +- Copia le directory vuote: + +`xcopy {{percorso\del\file_o_directory}} {{percorso\della\destinazione}} /e` + +- Mantieni le politiche di accesso della sorgente (ACL) nella directory di destinazione: + +`xcopy {{percorso\del\file_o_directory}} {{percorso\della\destinazione}} /o` + +- Continua l'operazione dopo l'interruzione della connessione di rete: + +`xcopy {{percorso\del\file_o_directory}} {{percorso\della\destinazione}} /z` + +- Sovrascrivi automaticamente i file di destinazione già esistenti: + +`xcopy {{percorso\del\file_o_directory}} {{percorso\della\destinazione}} /y` + +- Mostra l'aiuto dettagliato: + +`xcopy /?` diff --git a/pages.ja/android/am.md b/pages.ja/android/am.md new file mode 100644 index 00000000000000..054bd8122358c1 --- /dev/null +++ b/pages.ja/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android Activity Manager(アクティビティ マネージャー) +> もっと詳しく: 。 + +- 指定したコンポーネントとパッケージ名でアクティビティを開始します: + +`am start -n {{com.android.settings/.Settings}}` + +- インテントアクションを開始させ、データを渡します: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- 指定したカテゴリーとマッチしたアクティビティを実行します: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- インテントをURIに変換します: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.ja/android/bugreport.md b/pages.ja/android/bugreport.md new file mode 100644 index 00000000000000..5886675ade87fe --- /dev/null +++ b/pages.ja/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Androidのバグレポートを表示します。 +> このコマンドは `adb shell` 経由でのみ実行できます。 +> もっと詳しく: 。 + +- Androidデバイスの完全なバグレポートを表示します: + +`bugreport` diff --git a/pages.ja/android/bugreportz.md b/pages.ja/android/bugreportz.md new file mode 100644 index 00000000000000..246449720340c9 --- /dev/null +++ b/pages.ja/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> 圧縮されたAndroid バグレポートを生成します。 +> このコマンドは `adb shell` 経由でのみ実行できます。 +> もっと詳しく: 。 + +- 圧縮されたAndroidデバイスの完全なバグレポートを生成します: + +`bugreportz` + +- 実行中の `bugreportz` の進捗を表示します: + +`bugreportz -p` + +- バグレポートの内容を標準出力 `stdout` に出力します: + +`bugreportz -s` + +- ヘルプを表示します: + +`bugreportz -h` + +- バージョンを表示します: + +`bugreportz -v` diff --git a/pages.ja/android/cmd.md b/pages.ja/android/cmd.md new file mode 100644 index 00000000000000..365a69c3e73914 --- /dev/null +++ b/pages.ja/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Android サービスマネージャー。 +> もっと詳しく: 。 + +- 実行中のすべてのサービスを表示します: + +`cmd -l` + +- 指定したサービスを呼び出します: + +`cmd {{service}}` + +- 指定した引数でサービスを呼び出します: + +`cmd {{service}} {{argument1 argument2 ...}}` diff --git a/pages.ja/android/dalvikvm.md b/pages.ja/android/dalvikvm.md new file mode 100644 index 00000000000000..2e271d36b66b7c --- /dev/null +++ b/pages.ja/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Android Java 仮想環境。 +> もっと詳しく: 。 + +- 指定したJavaプログラムを開始します: + +`dalvikvm -classpath {{path/to/file.jar}} {{classname}}` diff --git a/pages.ja/android/dumpsys.md b/pages.ja/android/dumpsys.md new file mode 100644 index 00000000000000..def07a9e5363cf --- /dev/null +++ b/pages.ja/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Android システムサービスの情報を取得します。 +> このコマンドは `adb shell` 経由でのみ実行できます。 +> もっと詳しく: 。 + +- すべてのシステムに対して診断を出力します: + +`dumpsys` + +- 特定のシステムに対して診断を出力します: + +`dumpsys {{service}}` + +- `dumpsys` で表示できるすべてのサービスの情報を表示します: + +`dumpsys -l` + +- 指定したサービスを引数をサービスに表示させます: + +`dumpsys {{service}} -h` + +- 指定したサービスを診断から除外して出力します: + +`dumpsys --skip {{service}}` + +- タイムアウトを秒数で指定します。(デフォルトは10秒): + +`dumpsys -t {{8}}` diff --git a/pages.ja/android/getprop.md b/pages.ja/android/getprop.md new file mode 100644 index 00000000000000..4a94e73f940929 --- /dev/null +++ b/pages.ja/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Androidのシステムプロパティについての情報を表示します。 +> もっと詳しく: 。 + +- Android のシステムプロパティについての情報を表示します: + +`getprop` + +- 指定したプロパティの情報を表示します: + +`getprop {{property}}` + +- SDK API レベルを表示します: + +`getprop {{ro.build.version.sdk}}` + +- Androidのバージョン情報を表示します: + +`getprop {{ro.build.version.release}}` + +- Androidのデバイス情報を表示します: + +`getprop {{ro.vendor.product.model}}` + +- OEMのアンロック状況を表示します: + +`getprop {{ro.oem_unlock_supported}}` + +- Android の Wi-FiカードのMACアドレスを表示します: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.ja/android/input.md b/pages.ja/android/input.md new file mode 100644 index 00000000000000..3d3e7314c01b38 --- /dev/null +++ b/pages.ja/android/input.md @@ -0,0 +1,25 @@ +# input + +> イベントコードまたはタッチスクリーンジェスチャーをAndroidデバイスに送信します。 +> このコマンドは `adb shell` 経由でのみ実行できます。 +> もっと詳しく: 。 + +- Androidデバイスに1文字のイベントコードを送信します: + +`input keyevent {{event_code}}` + +- Androidデバイスにテキストを送信します。(`%s` はスペースを表します): + +`input text "{{text}}"` + +- Androidデバイスに単一のタップを送信します: + +`input tap {{x_position}} {{y_position}}` + +- Android デバイスにスワイプジェスチャーを送信します: + +`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duration_in_ms}}` + +- Androidデバイスにホールドをスワイプジェスチャーを利用して送信します: + +`input swipe {{x_position}} {{y_position}} {{x_position}} {{y_position}} {{duration_in_ms}}` diff --git a/pages.ja/android/logcat.md b/pages.ja/android/logcat.md new file mode 100644 index 00000000000000..2160a6c9c25290 --- /dev/null +++ b/pages.ja/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> エラー時に発生したスタックトレースを含む、アプリケーションによって作成されたログや、システムメッセージのログを削除します。 +> もっと詳しく: 。 + +- システムログを表示します: + +`logcat` + +- 指定したファイルにシステムログを書き出します: + +`logcat -f {{path/to/file}}` + +- 正規表現にマッチする行を表示します: + +`logcat --regex {{regular_expression}}` + +- 指定したPIDのログを表示します: + +`logcat --pid {{pid}}` + +- 特定のパッケージのプロセスのログを表示します: + +`logcat --pid $(pidof -s {{package}})` diff --git a/pages.ja/android/pkg.md b/pages.ja/android/pkg.md new file mode 100644 index 00000000000000..d0538cf2ba963a --- /dev/null +++ b/pages.ja/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Termux 用パッケージ管理ユーティリティ。 +> もっと詳しく: 。 + +- すべてのインストールされたパッケージをアップグレードします: + +`pkg upgrade` + +- パッケージをインストールします: + +`pkg install {{package}}` + +- パッケージをアンインストールします: + +`pkg uninstall {{package}}` + +- パッケージを再インストールします: + +`pkg reinstall {{package}}` + +- パッケージを検索します: + +`pkg search {{package}}` diff --git a/pages.ja/android/pm.md b/pages.ja/android/pm.md new file mode 100644 index 00000000000000..b9b5378fd87362 --- /dev/null +++ b/pages.ja/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Android デバイスに関連するアプリケーションの情報を表示します。 +> もっと詳しく: 。 + +- インストールされたすべてのアプリケーションを表示します: + +`pm list packages` + +- インストールされたすべてのシステムアプリケーションを表示します: + +`pm list packages -s` + +- インストールされたすべてのサードパーティ製アプリケーションを表示します: + +`pm list packages -3` + +- 指定したキーワードにマッチするアプリケーションを表示します: + +`pm list packages {{keyword1 keyword2 ...}}` + +- 指定したアプリケーションのAPKのパスを表示します: + +`pm path {{app}}` diff --git a/pages.ja/android/screencap.md b/pages.ja/android/screencap.md new file mode 100644 index 00000000000000..77f1d7fd91ade9 --- /dev/null +++ b/pages.ja/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> モバイルディスプレイのスクリーンショットを撮影します。 +> このコマンドは `adb shell` 経由でのみ実行できます。 +> もっと詳しく: 。 + +- スクリーンショットを撮影します: + +`screencap {{path/to/file}}` diff --git a/pages.ja/android/settings.md b/pages.ja/android/settings.md new file mode 100644 index 00000000000000..d6976f5e827616 --- /dev/null +++ b/pages.ja/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Android OSに関連する情報を取得します。 +> もっと詳しく: . + +- `global` 名前空間にある設定を表示します: + +`settings list {{global}}` + +- 指定した設定値を取得します: + +`settings get {{global}} {{airplane_mode_on}}` + +- 指定した設定値を設定します: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- 指定した設定を削除します: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.ja/android/wm.md b/pages.ja/android/wm.md new file mode 100644 index 00000000000000..3e6409fa629547 --- /dev/null +++ b/pages.ja/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Android デバイスのスクリーンに関する情報を表示します。 +> このコマンドは `adb shell` 経由でのみ実行できます。 +> もっと詳しく: 。 + +- Android デバイスの物理サイズを表示します: + +`wm size` + +- Android デバイスの画面の物理的密度を表示します: + +`wm density` diff --git a/pages.ja/common/7z.md b/pages.ja/common/7z.md index ca156307e52547..aee99f18ada811 100644 --- a/pages.ja/common/7z.md +++ b/pages.ja/common/7z.md @@ -1,36 +1,32 @@ # 7z -> 7-Zipは高圧縮率のファイルアーカイバ -> 詳しくはこちら: . +> 圧縮率の高いファイルアーカイバです。 +> もっと詳しく: 。 -- ファイルまたはディレクトリをアーカイブする: +- ファイルまたはディレクトリを圧縮する: -`7z a {{アーカイブ.7z}} {{道/に/ファイルまたはディレクトリ}}` +`7z a {{アーカイブ.7z}} {{ファイルまたはディレクトリへのパス}}` -- 既存のアーカイブを暗号 (ヘッダーを含む): +- 既存のアーカイブを暗号化する (ファイル名も含め): -`7z a {{暗号する.7z}} -p{{パスワード}} -mhe=on {{アーカイブ.7z}}` +`7z a {{暗号化済み.7z}} -p{{パスワード}} -mhe=on {{アーカイブ.7z}}` -- 元のディレクトリ構造で既存の7zファイルを抽出します: +- 元のディレクトリ構造を保持したまま展開する: `7z x {{アーカイブ.7z}}` -- ユーザー定義の出力パスで既存の7zファイルを抽出します: +- 展開先のディレクトリを指定して展開する: -`7z x {{アーカイブ.7z}} -o{{道/に/出力}}` +`7z x {{アーカイブ.7z}} -o{{出力先のパス}}` -- stdoutの出力で既存のファイルを抽出します: +- `stdout`に対してファイルを出力する: `7z x {{アーカイブ.7z}} -so` -- 特定のアーカイブタイプを使用したアーカイブする: +- 特定のアーカイブ形式を使用した圧縮を行う: -`7z a -t{{zip|gzip|bzip2|tar}} {{アーカイブ.7z}} {{道/に/ファイルまたはディレクトリ}}` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{アーカイブ}} {{ファイルまたはディレクトリへのパス}}` -- 利用可能なアーカイブプをします: - -`7z i` - -- アーカイブの内容を一します: +- アーカイブの内容を表示する: `7z l {{アーカイブ.7z}}` diff --git a/pages.ja/common/7za.md b/pages.ja/common/7za.md index 67a90fd289ff92..989d90a3b97ef7 100644 --- a/pages.ja/common/7za.md +++ b/pages.ja/common/7za.md @@ -1,25 +1,21 @@ # 7za -> 7-Zipは高圧縮率のファイルアーカイバ -> より少ないアーカイブタイプをサポートする `7z`. スタンドアロンバージョン. -> 詳しくはこちら: . +> 圧縮率の高いファイルアーカイバです。 +> `7z` よりも対応しているファイル形式は少ないですが、複数のプラットフォームに対応しています。 +> もっと詳しく: 。 -- ファイルまたはディレクトリをアーカイブする: +- ファイルまたはディレクトリを圧縮する: -`7za a {{アーカイブ.7z}} {{道/に/ファイルまたはディレクトリ}}` +`7za a {{アーカイブ.7z}} {{ファイルまたはディレクトリへのパス}}` -- 元のディレクトリ構造で既存の7zファイルを抽出します: +- 元のディレクトリ構造を保持したまま展開する: -`7za x {{アーカイブ}}` +`7za x {{アーカイブ.7z}}` -- 特定のアーカイブタイプを使用したアーカイブする: +- 特定のアーカイブ形式を使用した圧縮を行う: -`7za a -t{{zip|gzip|bzip2|tar}} {{アーカイブ}} {{道/に/ファイルまたはディレクトリ}}` +`7za a -t{{zip|gzip|bzip2|tar}} {{アーカイブ.7z}} {{ファイルまたはディレクトリへのパス}}` -- 利用可能なアーカイブプをします: +- アーカイブの内容を表示する: -`7za i` - -- アーカイブの内容を一します: - -`7za l {{アーカイブ}}` +`7za l {{アーカイブ.7z}}` diff --git a/pages.ja/common/7zr.md b/pages.ja/common/7zr.md index 6a6b3d3f29b68d..dbd3b61a832580 100644 --- a/pages.ja/common/7zr.md +++ b/pages.ja/common/7zr.md @@ -1,17 +1,17 @@ # 7zr -> 7-Zipは高圧縮率のファイルアーカイバ -> .7zファイルをアーカイブタイプをサポートする -> 詳しくはこちら: . +> 圧縮率の高いファイルアーカイバです。 +> `7z` と似ていますが、 `7zr` は 7z 形式のみをサポートしています。 +> もっと詳しく: 。 -- ファイルまたはディレクトリをアーカイブする: +- ファイルまたはディレクトリを圧縮する: -`7zr a {{アーカイブ.7z}} {{道/に/ファイルまたはディレクトリ}}` +`7zr a {{アーカイブ.7z}} {{ファイルまたはディレクトリへのパス}}` -- 元のディレクトリ構造で既存の7zファイルを抽出します: +- 元のディレクトリ構造を保持したまま展開する: `7zr x {{アーカイブ.7z}}` -- アーカイブの内容を一します: +- アーカイブの内容を表示する: `7zr l {{アーカイブ.7z}}` diff --git a/pages.ja/common/[.md b/pages.ja/common/[.md new file mode 100644 index 00000000000000..80f6ae9554bc6a --- /dev/null +++ b/pages.ja/common/[.md @@ -0,0 +1,25 @@ +# [ + +> 条件を評価します。 +> 条件が真と評価された場合は 0 を、偽と評価された場合は 1 を返します。 +> もっと詳しく: 。 + +- 与えられた変数が与えられた文字列と等しいかどうかをテスト: + +`[ "{{$変数名}}" = "{{/bin/zsh}}" ]` + +- 与えられた変数が空であるかどうかをテスト: + +`[ -z "{{$変数名}}" ]` + +- ファイルが存在するかどうかをテスト: + +`[ -f "{{ファイルへのパス}}" ]` + +- ディレクトリが存在しないかどうかをテスト: + +`[ ! -d "{{ディレクトリへのパス}}" ]` + +- if-else 文: + +`[ {{条件}} ] && {{echo "真"}} || {{echo "偽"}}` diff --git a/pages.ja/common/ab.md b/pages.ja/common/ab.md new file mode 100644 index 00000000000000..a8147e74d6cdd9 --- /dev/null +++ b/pages.ja/common/ab.md @@ -0,0 +1,24 @@ +# ab + +> Apache HTTP server のベンチマーク用ツールです。 +> もっと詳しく: 。 + +- 指定された URL に 100 個の GET リクエストを送信する: + +`ab -n 100 {{url}}` + +- 指定された URL に 100 個の GET リクエストを、10 個ずつ同時に送信する: + +`ab -n 100 -c 10 {{url}}` + +- ファイルからの JSON ペイロードを使って、指定された URL に 100 個の POST リクエストを送信する: + +`ab -n 100 -T {{application/json}} -p {{ファイルパス.json}} {{url}}` + +- [K]eep Alive を有効化する(1つの HTTP セッションで複数のリクエストを実行する): + +`ab -k {{url}}` + +- ベンチマークを行う最大秒数を設定する: + +`ab -t {{60}} {{url}}` diff --git a/pages.ja/common/ag.md b/pages.ja/common/ag.md new file mode 100644 index 00000000000000..2a7f0f0480da74 --- /dev/null +++ b/pages.ja/common/ag.md @@ -0,0 +1,32 @@ +# ag + +> Silver Searcher と呼ばれます。`ack` コマンドに似ていますが、より高速化を目指したコマンドです。 +> もっと詳しく: 。 + +- "foo"という文字列が含まれるファイルを検索し、コンテキスト内でマッチした行を出力する: + +`ag {{foo}}` + +- 特定のディレクトリ内で、"foo"という文字列が含まれるファイルを検索する: + +`ag {{foo}} {{ディレクトリパス}}` + +- "foo"という文字列が含まれるファイルの一覧をリストアップする: + +`ag -l {{foo}}` + +- 大文字と小文字を区別せずに、"FOO"という文字列が含まれるファイルを検索し、マッチした行のみ出力する: + +`ag -i -o {{FOO}}` + +- "bar"という名前にマッチするファイルから、"foo"という文字列を検索する: + +`ag {{foo}} -G {{bar}}` + +- 正規表現にマッチするコンテンツが含まれるファイルを検索する: + +`ag '{{^ba(r|z)$}}'` + +- ファイル名が "foo" に一致するファイルを検索する: + +`ag -g {{foo}}` diff --git a/pages.ja/common/alias.md b/pages.ja/common/alias.md new file mode 100644 index 00000000000000..520e564be2b016 --- /dev/null +++ b/pages.ja/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> alias (コマンド文字列を置き換える別名)を作成します。 +> alias は `~/.bashrc` などの shell の設定ファイルで定義されない限り、現在のセッションで失効します。 +> もっと詳しく: 。 + +- alias の一覧表示: + +`alias` + +- alias を作成する: + +`alias {{別名}}="{{コマンド}}"` + +- 指定した alias に紐付くコマンドの表示: + +`alias {{別名}}` + +- 作成された alias の削除: + +`unalias {{別名}}` + +- `rm` を対話型にする: + +`alias {{rm}}="{{rm -i}}"` + +- `ls -a` のショートカットして `la` を作成する: + +`alias {{la}}="{{ls -a}}"` diff --git a/pages.ja/common/apktool.md b/pages.ja/common/apktool.md new file mode 100644 index 00000000000000..dd036f57988ca2 --- /dev/null +++ b/pages.ja/common/apktool.md @@ -0,0 +1,16 @@ +# apktool + +> APK ファイルの解析ツールです。 +> もっと詳しく: 。 + +- APK ファイルのデコード: + +`apktool d {{APK ファイルのパス}}` + +- 指定したディレクトリから APK ファイルを生成: + +`apktool b {{ディレクトリへのパス}}` + +- フレームワークをインストールし、保存する: + +`apktool if {{フレームワークファイルへのパス}}` diff --git a/pages.ja/common/arch.md b/pages.ja/common/arch.md index 024f4f697ca7f9..ee111bda6c62b7 100644 --- a/pages.ja/common/arch.md +++ b/pages.ja/common/arch.md @@ -1,7 +1,8 @@ # arch -> システムアーキテクチャ名前を示する. -> 'uname' も参照してください. +> システムアーキテクチャ名前を示する。 +> 'uname' も参照してください。 +> もっと詳しく: 。 - システムアーキテクチャを示する: diff --git a/pages.ja/common/arp.md b/pages.ja/common/arp.md new file mode 100644 index 00000000000000..8f87426c3ab09a --- /dev/null +++ b/pages.ja/common/arp.md @@ -0,0 +1,16 @@ +# arp + +> システムのARPキャッシュを表示し、操作します。 +> もっと詳しく: 。 + +- 現在のARPテーブルを表示する: + +`arp -a` + +- 特定のエントリを削除([d]elete)する: + +`arp -d {{アドレス}}` + +- ARPテーブルに新しいエントリを追加([s]et up)する: + +`arp -s {{アドレス}} {{macアドレス}}` diff --git a/pages.ja/common/asdf.md b/pages.ja/common/asdf.md new file mode 100644 index 00000000000000..57e3d28d89edbe --- /dev/null +++ b/pages.ja/common/asdf.md @@ -0,0 +1,28 @@ +# asdf + +> さまざまなパッケージのバージョンを管理するためのコマンドラインインターフェイスです。 +> もっと詳しく: 。 + +- 利用可能なプラグインの一覧を表示: + +`asdf plugin list all` + +- プラグインのインストール: + +`asdf plugin add {{プラグイン名}}` + +- パッケージで利用可能なすべてのバージョンの一覧を表示: + +`asdf list all {{パッケージ名}}` + +- パッケージの特定バージョンのインストール: + +`asdf install {{パッケージ名}} {{バージョン}}` + +- パッケージのグローバルバージョンの設定: + +`asdf set -u {{パッケージ名}} {{バージョン}}` + +- パッケージのローカルバージョンの設定: + +`asdf set {{パッケージ名}} {{バージョン}}` diff --git a/pages.ja/common/awk.md b/pages.ja/common/awk.md new file mode 100644 index 00000000000000..8b7bde29f2b582 --- /dev/null +++ b/pages.ja/common/awk.md @@ -0,0 +1,36 @@ +# awk + +> ファイル操作のための汎用プログラミング言語。 +> もっと詳しく: 。 + +- スペースで区切られたファイルの、5列目(別名フィールド)を表示する: + +`awk '{print $5}' {{path/to/file}}` + +- スペースで区切られたファイル中の、"foo"を含む行の2列目を表示する: + +`awk '/{{foo}}/ {print $2}' {{path/to/file}}` + +- ファイルの各行の最後の列を、フィールドの区切り文字として(スペースの代わりに)カンマを使って表示する: + +`awk -F ',' '{print $NF}' {{path/to/file}}` + +- ファイルの最初の列の値を合計し、合計を表示する: + +`awk '{s+=$1} END {print s}' {{path/to/file}}` + +- 1行目から3行目までを表示する: + +`awk 'NR%3==1' {{path/to/file}}` + +- 条件によって異なる値を表示する: + +`awk '{if ($1 == "foo") print "Exact match foo"; else if ($1 ~ "bar") print "Partial match bar"; else print "Baz"}' {{path/to/file}}` + +- 10列目の値が、最小値と最大値の間にある行を、全て表示する: + +`awk '($10 >= {{min_value}} && $10 <= {{max_value}})'` + +- UID>=1000であるユーザーの表を、コロンを区切り文字として、ヘッダと書式付き出力で表示する(`%-20s` は左寄せ文字列20文字を意味する。`%6s` は右寄せ文字列6文字を意味する。): + +`awk 'BEGIN {FS=":";printf "%-20s %6s %25s\n", "Name", "UID", "Shell"} $4 >= 1000 {printf "%-20s %6d %25s\n", $1, $4, $7}' /etc/passwd` diff --git a/pages.ja/common/aws-configure.md b/pages.ja/common/aws-configure.md new file mode 100644 index 00000000000000..3f3b9d0a55c36b --- /dev/null +++ b/pages.ja/common/aws-configure.md @@ -0,0 +1,36 @@ +# aws configure + +> AWS CLI の設定を管理します。 +> もっと詳しく: 。 + +- 対話形式で AWS CLI を設定する(新しい設定の作成、または既定の更新): + +`aws configure` + +- 対話形式で AWS CLI の名前付きプロファイルを設定する(新規プロファイルの作成、または既存プロファイルの更新): + +`aws configure --profile {{プロファイル名}}` + +- 特定の設定変数の値を表示する: + +`aws configure get {{名前}}` + +- 特定プロファイルの設定変数の値を表示する: + +`aws configure get {{名前}} --profile {{プロファイル名}}` + +- 特定の設定変数の値をセットする: + +`aws configure set {{名前}} {{値}}` + +- 特定プロファイルの設定変数の値をセットする: + +`aws configure set {{名前}} {{値}} --profile {{プロファイル名}}` + +- 設定エントリを一覧表示する: + +`aws configure list` + +- 特定プロファイル内の設定エントリを一覧表示する: + +`aws configure list --profile {{プロファイル名}}` diff --git a/pages.ja/common/aws.md b/pages.ja/common/aws.md new file mode 100644 index 00000000000000..bdda7203e4a32b --- /dev/null +++ b/pages.ja/common/aws.md @@ -0,0 +1,37 @@ +# aws + +> アマゾンウェブサービスの公式 CLI ツールです。 +> `s3` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- AWS コマンドラインを設定する: + +`aws configure wizard` + +- SSO を利用して AWS コマンドラインを設定する: + +`aws configure sso` + +- 操作呼び出しに使用した認証情報の取得(パーミッションのトラブルシューティングに使用します): + +`aws sts get-caller-identity` + +- リージョン内の AWS リソースをリストアップし、YAML で出力する: + +`aws dynamodb list-tables --region {{us-east-1}} --output yaml` + +- 自動プロンプトを使用してコマンドを補助する: + +`aws iam create-user --cli-auto-prompt` + +- AWS リソースの対話型ウィザードを取得する: + +`aws dynamodb wizard {{新しいテーブル}}` + +- JSON CLI スケルトンを生成する(Infrastructure as Code に役立ちます): + +`aws dynamodb update-table --generate-cli-skeleton` + +- AWS コマンドのヘルプを参照する: + +`aws {{コマンド}} help` diff --git a/pages.ja/common/bat.md b/pages.ja/common/bat.md new file mode 100644 index 00000000000000..eedbe0372f6eec --- /dev/null +++ b/pages.ja/common/bat.md @@ -0,0 +1,29 @@ +# bat + +> ファイルの内容を表示したり、連結したりします。 +> シンタックスハイライトと Git 統合を備えた `cat`クローンです。 +> もっと詳しく: 。 + +- ファイルの内容を、標準出力に出力する: + +`bat {{ファイル}}` + +- 複数のファイルの内容を連結して、目的のファイルに書き込む: + +`bat {{ファイル1}} {{ファイル2}} > {{ターゲットファイル}}` + +- 複数のファイルの内容を連結して、目的のファイルに追記する: + +`bat {{ファイル1}} {{ファイル2}} >> {{ターゲットファイル}}` + +- すべての出力行に番号をつける: + +`bat {{[-n|--number]}} {{ファイル}}` + +- JSON ファイルをハイライトする構文: + +`bat {{[-l|--language]}} json {{JSONファイル}}` + +- すべての対応言語を表示する: + +`bat {{[-L|--list-languages]}}` diff --git a/pages.ja/common/bc.md b/pages.ja/common/bc.md new file mode 100644 index 00000000000000..fbd56f24048ca7 --- /dev/null +++ b/pages.ja/common/bc.md @@ -0,0 +1,29 @@ +# bc + +> 任意の精度で計算を行える言語です。 +> `dc`も参照してください。 +> もっと詳しく: 。 + +- 対話モードのセッションを開始する: + +`bc` + +- 標準数学ライブラリを有効化して対話モードのセッションを開始する: + +`bc --mathlib` + +- 式を計算する: + +`echo '{{5 / 3}}' | bc` + +- スクリプトを実行する: + +`bc {{スクリプト/への/パス.bc}}` + +- 小数点以下の桁数を指定して式を計算する: + +`echo 'scale = {{10}}; {{5 / 3}}' | bc` + +- `mathlib`を使用してサイン/コサイン/アークタンジェント/自然対数/指数関数を計算する: + +`echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib` diff --git a/pages.ja/common/bg.md b/pages.ja/common/bg.md new file mode 100644 index 00000000000000..718127379cd87c --- /dev/null +++ b/pages.ja/common/bg.md @@ -0,0 +1,12 @@ +# bg + +> 一時停止していたジョブ(例. `` 使用時)を再開し、バックグラウンドで実行します。 +> もっと詳しく: 。 + +- 最も最近に一時停止されたジョブを再開し、バックグラウンドで実行する: + +`bg` + +- 指定されたジョブ(`jobs -l` でジョブIDを取得)を再開し、バックグラウンドで実行する: + +`bg %{{ジョブID}}` diff --git a/pages.ja/common/brew.md b/pages.ja/common/brew.md new file mode 100644 index 00000000000000..4a352df0477b16 --- /dev/null +++ b/pages.ja/common/brew.md @@ -0,0 +1,37 @@ +# brew + +> Homebrew - macOS と Linux 用のパッケージマネージャ。 +> `install` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- formulae や cask の最新の安定版をインストールする: + +`brew install {{formula|cask}}` + +- 全てのインストールされている formulae や cask を一覧表示: + +`brew list` + +- インストールされている formula または cask をアップグレード (何も指定されない場合、インストールされている全ての formulae/cask がアップグレードされる): + +`brew upgrade {{formula|cask}}` + +- Homebrew のソースリポジトリから、Homebrew の最新バージョン、全ての formulae と cask を取得: + +`brew update` + +- より新しいバージョンが利用可能な formulae と cask を表示: + +`brew outdated` + +- 利用可能な formulae (パッケージ) と cask (ネイティブ macOS の `.app` パッケージ) を検索: + +`brew search {{検索文字列}}` + +- formula または cask の情報を表示 (バージョン, インストールパス, 依存関係, etc.): + +`brew info {{formula|cask}}` + +- ローカルの Homebrew インストールに潜在的な問題がないかチェック: + +`brew doctor` diff --git a/pages.ja/common/cargo.md b/pages.ja/common/cargo.md new file mode 100644 index 00000000000000..7631ede97f0389 --- /dev/null +++ b/pages.ja/common/cargo.md @@ -0,0 +1,37 @@ +# cargo + +> Rust プロジェクトとそのモジュールの依存関係(クレート)を管理します。 +> `build` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- クレートを検索: + +`cargo search {{検索文字列}}` + +- バイナリのクレートをインストール: + +`cargo install {{クレート名}}` + +- インストールされたバイナリクレートを一覧表示: + +`cargo install --list` + +- 指定したディレクトリ(デフォルトでは現在の作業ディレクトリ)に新しいバイナリまたはライブラリ Rust プロジェクトを作成: + +`cargo init --{{bin|lib}} {{path/to/directory}}` + +- カレントディレクトリの `Cargo.toml` に依存関係を追加: + +`cargo add {{dependency}}` + +- カレントディレクトリの Rust プロジェクトを release プロファイルを使ってビルド: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- nightly コンパイラを使ってカレントディレクトリに Rust プロジェクトをビルド (`rustup` が必要): + +`cargo +nightly {{[b|build]}}` + +- 特定のスレッド数を使用してビルド (デフォルトは論理 CPU 数): + +`cargo {{[b|build]}} --jobs {{スレッド数}}` diff --git a/pages.ja/common/case.md b/pages.ja/common/case.md new file mode 100644 index 00000000000000..e20a4f0b8c7387 --- /dev/null +++ b/pages.ja/common/case.md @@ -0,0 +1,12 @@ +# case + +> 複数の選択肢がある条件文を作成するための Bash 組み込み構文。 +> もっと詳しく: 。 + +- 変数を文字列リテラルとマッチさせ、実行するコマンドを決める: + +`case {{$tocount}} in {{words}}) {{wc -w README}}; ;; {{lines}}) {{wc -l README}}; ;; esac` + +- パターンは | で結合し、どれにも該当しないパターンには \* を使う: + +`case {{$tocount}} in {{[wW]|words}}) {{wc -w README}}; ;; {{[lL]|lines}}) {{wc -l README}}; ;; *) {{echo "what?"}}; ;; esac` diff --git a/pages.ja/common/cat.md b/pages.ja/common/cat.md new file mode 100644 index 00000000000000..db82b41ba60536 --- /dev/null +++ b/pages.ja/common/cat.md @@ -0,0 +1,24 @@ +# cat + +> ファイルの出力と連結を行います。 +> もっと詳しく: 。 + +- ファイルの内容を標準出力に出力する: + +`cat {{ファイルパス}}` + +- 複数ファイルを連結して1つの出力ファイルにする: + +`cat {{ファイルパス1 ファイルパス2 ...}} > {{出力ファイルパス}}` + +- 複数ファイルを1つの出力ファイルに追加する: + +`cat {{ファイルパス1 ファイルパス2 ...}} >> {{出力ファイルパス}}` + +- ファイルの内容をバッファリング(一時保存)せずに出力ファイルにコピーする: + +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` + +- `stdin`(標準入力)をファイルに書き込む: + +`cat - > {{ファイルパス}}` diff --git a/pages.ja/common/cd.md b/pages.ja/common/cd.md new file mode 100644 index 00000000000000..fec7a7bb34d8ba --- /dev/null +++ b/pages.ja/common/cd.md @@ -0,0 +1,28 @@ +# cd + +> 現在の作業ディレクトリを変更します。 +> もっと詳しく: 。 + +- 指定したディレクトリへ移動する: + +`cd {{ディレクトリパス}}` + +- カレントディレクトリの親ディレクトリへ移動する: + +`cd ..` + +- カレントユーザーのホームディレクトリへ移動する: + +`cd` + +- 指定したユーザーのホームディレクトリへ移動する: + +`cd ~{{ユーザー名}}` + +- 以前に選択されたディレクトリへ移動する: + +`cd -` + +- ルートディレクトリへ移動する: + +`cd /` diff --git a/pages.ja/common/chmod.md b/pages.ja/common/chmod.md new file mode 100644 index 00000000000000..acef7bf3d3bebd --- /dev/null +++ b/pages.ja/common/chmod.md @@ -0,0 +1,36 @@ +# chmod + +> ファイルやディレクトリのアクセス権限を変更します。 +> もっと詳しく: 。 + +- ファイルを所有する [u]ser に、そのファイルを実行 ([x]ecute) する権限を付与する: + +`chmod u+x {{path/to/file}}` + +- [u]ser に、ファイル/ディレクトリの 読み取り ([r]ead) と 書き込み ([w]rite) の権限を付与する: + +`chmod u+rw {{path/to/file_or_directory}}` + +- [g]roup から 実行 (e[x]ecutable) 権限を削除する: + +`chmod g-x {{path/to/file}}` + +- 全て ([a]ll) のユーザに [r]ead と e[x]ecute の権限を付与する: + +`chmod a+rx {{path/to/file}}` + +- (ファイル所有者のグループに属していない) その他のユーザ ([o]thers) に [g]roup と同じ権限を付与する: + +`chmod o=g {{path/to/file}}` + +- その他のユーザ ([o]thers) から全ての権限を削除する: + +`chmod o= {{path/to/file}}` + +- [g]roup と [o]thers に [w]rite 権限を再帰的に付与する: + +`chmod {{[-R|--recursive]}} g+w,o+w {{path/to/directory}}` + +- 全て ([a]ll) のユーザーに、ファイルへの [r]ead 権限と、ディレクトリ内のサブディレクトリへの e[X]ecute 権限を再帰的に付与する: + +`chmod {{[-R|--recursive]}} a+rX {{path/to/directory}}` diff --git a/pages.ja/common/chown.md b/pages.ja/common/chown.md new file mode 100644 index 00000000000000..063b86e5157193 --- /dev/null +++ b/pages.ja/common/chown.md @@ -0,0 +1,28 @@ +# chown + +> ファイルやディレクトリのユーザとグループの所有者を変更します。 +> もっと詳しく: 。 + +- ファイル/ディレクトリの所有ユーザを変更: + +`chown {{ユーザ名}} {{path/to/file_or_directory}}` + +- ファイル/ディレクトリの所有ユーザとグループを変更: + +`chown {{ユーザ名}}:{{グループ名}} {{path/to/file_or_directory}}` + +- ファイル/ディレクトリの所有ユーザとグループを `user` という名前に変更する: + +`chown {{ユーザ名}}: {{path/to/file_or_directory}}` + +- ディレクトリとそのコンテンツの所有者を、再帰的に変更する: + +`chown {{[-R|--recursive]}} {{ユーザ名}} {{path/to/directory}}` + +- シンボリックリンクの所有者を変更: + +`chown {{[-h|--no-dereference]}} {{ユーザ名}} {{path/to/symlink}}` + +- 参照ファイルに合わせてファイル/ディレクトリの所有者を変更: + +`chown --reference {{path/to/reference_file}} {{path/to/file_or_directory}}` diff --git a/pages.ja/common/clang-cpp.md b/pages.ja/common/clang-cpp.md new file mode 100644 index 00000000000000..558087b4d3932d --- /dev/null +++ b/pages.ja/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> このコマンドは `clang++` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr clang++` diff --git a/pages.ja/common/claude.md b/pages.ja/common/claude.md new file mode 100644 index 00000000000000..bcf01e39a88ce8 --- /dev/null +++ b/pages.ja/common/claude.md @@ -0,0 +1,24 @@ +# claude + +> コードベースを理解し、自然言語コマンドを通じてより速くコーディングできるようサポートするエージェント型コーディングツールです。 +> もっと詳しく: 。 + +- プロンプトを指定して実行する: + +`claude prompt` + +- `claude`を更新する: + +`claude update` + +- 設定されたMCPサーバ一覧を取得する: + +`claude mcp list` + +- 一つのコミットでコマンドを作成: + +`claude commit` + +- 設定を取得する: + +`claude config list` diff --git a/pages.ja/common/clojure.md b/pages.ja/common/clojure.md new file mode 100644 index 00000000000000..a2ea0e4ecb4a9b --- /dev/null +++ b/pages.ja/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> このコマンドは `clj` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr clj` diff --git a/pages.ja/common/cola.md b/pages.ja/common/cola.md new file mode 100644 index 00000000000000..efdc8f2dc79294 --- /dev/null +++ b/pages.ja/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> このコマンドは `git-cola` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr git-cola` diff --git a/pages.ja/common/colorls.md b/pages.ja/common/colorls.md new file mode 100644 index 00000000000000..c060dcaf0a4247 --- /dev/null +++ b/pages.ja/common/colorls.md @@ -0,0 +1,20 @@ +# colorls + +> カラー化と Font Awesome アイコンの使用によりターミナルの ls コマンドを美しくした Ruby の gem です。 +> もっと詳しく: 。 + +- ファイルを 1 行ずつ表示する: + +`colorls -1` + +- 隠しファイルを含めた全てのファイルを表示する: + +`colorls --all` + +- 全てのファイルを長文形式(パーミッション、所有者、サイズ、更新日時)で表示する: + +`colorls --long --all` + +- ディレクトリのみ表示する: + +`colorls --dirs` diff --git a/pages.ja/common/cp.md b/pages.ja/common/cp.md new file mode 100644 index 00000000000000..b1ea0f64bd9e40 --- /dev/null +++ b/pages.ja/common/cp.md @@ -0,0 +1,28 @@ +# cp + +> ファイルやディレクトリをコピーします。 +> もっと詳しく: 。 + +- ファイルを別の場所にコピー: + +`cp {{コピー元ファイルへのパス}} {{コピー先ファイルへのパス}}` + +- ファイル名を維持したまま、ファイルを別のディレクトリにコピーする: + +`cp {{コピー元ファイルへのパス}} {{コピー先ディレクトリへのパス}}` + +- ディレクトリの内容を別の場所に再帰的にコピーする(コピー先が存在する場合は、その中にディレクトリがコピーされる): + +`cp -R {{コピー元ディレクトリへのパス}} {{コピー先ディレクトリへのパス}}` + +- 詳細モードでディレクトリを再帰的にコピーする(コピーされたファイルが表示される): + +`cp -vR {{コピー元ディレクトリへのパス}} {{コピー先ディレクトリへのパス}}` + +- 対話形式でテキストファイルを別の場所にコピーする(上書きする前にユーザーに確認する): + +`cp -i {{*.txt}} {{コピー先ディレクトリへのパス}}` + +- コピーする前にシンボリックリンクをたどる: + +`cp -L {{link}} {{コピー先ディレクトリへのパス}}` diff --git a/pages.ja/common/curl.md b/pages.ja/common/curl.md new file mode 100644 index 00000000000000..0ba52434657fc9 --- /dev/null +++ b/pages.ja/common/curl.md @@ -0,0 +1,37 @@ +# curl + +> データをサーバーから転送、もしくはサーバーへ転送します。 +> HTTP、FTP、POP3を含むほとんどのプロトコルをサポートしています。 +> もっと詳しく: 。 + +- URLのコンテンツをファイルにダウンロードする: + +`curl {{http://example.com}} {{[-o|--output]}} {{ファイルパス}}` + +- ファイルをダウンロードし、URLにより指定されたファイル名で出力を保存する: + +`curl {{[-O|--remote-name]}} {{http://example.com/filename}}` + +- ファイルをダウンロードし、ロケーションレスポンスヘッダーのリダイレクトに追従しつつ自動的に以前のファイル転送を継続(再開)する。サーバーエラー時にはエラーを返す: + +`curl {{[-f|--fail]}} {{[-O|--remote-name]}} {{[-L|--location]}} {{[-C|--continue-at]}} - {{http://example.com/filename}}` + +- フォームエンコードされたデータを送信する(`application/x-www-form-urlencoded`型のPOSTリクエスト)。`stdin`(標準入力) から読み込むには、`--data @file_name` または `--data @'-'` を使用する: + +`curl {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` + +- カスタムHTTPメソッドを用いて追加のヘッダーを持つリクエストを送信する: + +`curl {{[-H|--header]}} {{'X-My-Header: 123'}} {{[-X|--request]}} {{PUT}} {{http://example.com}}` + +- 適切なContent-Type 表現ヘッダーを指定することで、JSONフォーマットでデータを送信する: + +`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` + +- サーバー認証のためユーザー名とパスワードを送る: + +`curl {{[-u|--user]}} {{ユーザー名}} {{http://example.com}}` + +- リソースのクライアント証明書とキーを送り、証明書の検証をスキップする: + +`curl {{[-E|--cert]}} {{client.pem}} --key {{key.pem}} {{[-k|--insecure]}} {{https://example.com}}` diff --git a/pages.ja/common/df.md b/pages.ja/common/df.md new file mode 100644 index 00000000000000..ddccc38da12834 --- /dev/null +++ b/pages.ja/common/df.md @@ -0,0 +1,20 @@ +# df + +> ファイルシステムのディスク使用量の概要を表示します。 +> もっと詳しく: 。 + +- 512バイト単位で全てのファイルシステムとそのディスク使用量を表示する: + +`df` + +- 指定したファイルまたはディレクトリを含むファイルシステムとそのディスク使用量を表示する: + +`df {{path/to/file_or_directory}}` + +- 1024バイト単位で表示する: + +`df -k` + +- 移植性のある方法で情報を表示する: + +`df -P` diff --git a/pages.ja/common/diff.md b/pages.ja/common/diff.md new file mode 100644 index 00000000000000..e6e4db398828b0 --- /dev/null +++ b/pages.ja/common/diff.md @@ -0,0 +1,36 @@ +# diff + +> ファイルとディレクトリを比較する。 +> もっと詳しく: 。 + +- ファイルを比較する(`old_file`を`new_file`にするための変更点を列挙する): + +`diff {{old_file}} {{new_file}}` + +- 空白を無視してファイルを比較する: + +`diff {{[-w|--ignore-all-space]}} {{old_file}} {{new_file}}` + +- ファイルを比較し、差分を並べて表示する: + +`diff {{[-y|--side-by-side]}} {{old_file}} {{new_file}}` + +- ファイルを比較し、差分を統一フォーマットで表示する(`git diff`で使用される): + +`diff {{[-u|--unified]}} {{old_file}} {{new_file}}` + +- ディレクトリを再帰的に比較する (異なるファイル/ディレクトリの名前と、ファイルに加えられた変更を表示します): + +`diff {{[-r|--recursive]}} {{old_directory}} {{new_directory}}` + +- ディレクトリを比較し、異なるファイル名のみを表示する: + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{old_directory}} {{new_directory}}` + +- 2つのテキストファイルの差分からGit用のパッチファイルを作成します。存在しないファイルは空ファイルとして扱います: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{old_file}} {{new_file}} > {{diff.patch}}` + +- ファイルを比較し、出力を色分けして表示する: + +`diff {{[-d|--minimal]}} --color=always {{old_file}} {{new_file}}` diff --git a/pages.ja/common/dig.md b/pages.ja/common/dig.md new file mode 100644 index 00000000000000..8c7af49c310514 --- /dev/null +++ b/pages.ja/common/dig.md @@ -0,0 +1,32 @@ +# dig + +> DNS 情報を調べるユーティリティーです。 +> もっと詳しく: 。 + +- ホスト名に関連する IP を検索(A レコード): + +`dig +short {{example.com}}` + +- 指定したドメインの詳細な回答を得る(A レコード): + +`dig +noall +answer {{example.com}}` + +- 指定されたドメイン名に関連する特定の DNS レコードタイプを取得する: + +`dig +short {{example.com}} {{A|MX|TXT|CNAME|NS}}` + +- 問い合わせる別の DNS サーバーを指定する: + +`dig @{{8.8.8.8}} {{example.com}}` + +- IP アドレスの DNS 逆引きの実行(PTR レコード): + +`dig -x {{8.8.8.8}}` + +- ゾーンの権威ネームサーバーの検索と SOA レコードの表示: + +`dig +nssearch {{example.com}}` + +- ドメイン名を解決するための反復的なクエリの実行と、そのトレースパス全体を表示する: + +`dig +trace {{example.com}}` diff --git a/pages.ja/common/docker-build.md b/pages.ja/common/docker-build.md new file mode 100644 index 00000000000000..0e752a402cccbb --- /dev/null +++ b/pages.ja/common/docker-build.md @@ -0,0 +1,32 @@ +# docker build + +> Dockerfileからイメージを構築します。 +> もっと詳しく: 。 + +- カレントディレクトリ内のDockerfileを使ってDockerイメージを構築する: + +`docker build .` + +- 指定URLにあるDockerfileからDockerイメージを構築する: + +`docker build {{github.com/creack/docker-firefox}}` + +- Dockerイメージを構築しそれにタグを付ける: + +`docker build {{[-t|--tag]}} {{名前:タグ}} .` + +- ビルドコンテキスト無しでDockerイメージを構築する: + +`docker build {{[-t|--tag]}} {{名前:タグ}} - < {{Dockerfile}}` + +- Dockerイメージ構築時にキャッシュを使わないようにする: + +`docker build --no-cache {{[-t|--tag]}} {{名前:タグ}} .` + +- 指定のDockerfileを用いてDockerイメージを構築する: + +`docker build {{[-f|--file]}} {{Dockerfile}} .` + +- ビルド時のカスタム変数を指定してイメージを構築する: + +`docker build --build-arg {{HTTP_PROXY=http://10.20.30.2:1234}} --build-arg {{FTP_PROXY=http://40.50.60.5:4567}} .` diff --git a/pages.ja/common/docker-compose.md b/pages.ja/common/docker-compose.md new file mode 100644 index 00000000000000..df38593d933bd0 --- /dev/null +++ b/pages.ja/common/docker-compose.md @@ -0,0 +1,32 @@ +# docker compose + +> 複数コンテナを持つDockerアプリケーションの実行と管理をします。 +> もっと詳しく: 。 + +- 実行中のコンテナ全てをリスト表示する: + +`docker compose ps` + +- カレントディレクトリにある `docker-compose.yml`ファイルを使用してバックグラウンドで全てのコンテナを作成・起動する: + +`docker compose up {{[-d|--detach]}}` + +- 全てのコンテナを起動し、必要に応じて再ビルドする: + +`docker compose up --build` + +- 実行中の全てのコンテナを停止する: + +`docker compose stop` + +- 全てのコンテナ、ネットワーク、イメージ、ボリュームを停止して削除する: + +`docker compose down --rmi all {{[-v|--volumes]}}` + +- 全てのコンテナのログをフォローする(表示し続ける): + +`docker compose logs {{[-f|--follow]}}` + +- 特定コンテナのログをフォローする(表示し続ける): + +`docker compose logs {{[-f|--follow]}} {{コンテナ名}}` diff --git a/pages.ja/common/docker-cp.md b/pages.ja/common/docker-cp.md new file mode 100644 index 00000000000000..09b524bc8d9667 --- /dev/null +++ b/pages.ja/common/docker-cp.md @@ -0,0 +1,16 @@ +# docker cp + +> ホスト、コンテナのファイルシステム間でファイルやディレクトリをコピーします。 +> もっと詳しく: 。 + +- ホストからコンテナへファイルやディレクトリをコピーする: + +`docker cp {{ホスト上のファイルパスもしくはディレクトリパス}} {{コンテナ名}}:{{コンテナ内のファイルパスもしくはディレクトリパス}}` + +- コンテナからホストへファイルやディレクトリをコピーする: + +`docker cp {{コンテナ名}}:{{コンテナ内のファイルパスもしくはディレクトリパス}} {{ホスト上のファイルパスもしくはディレクトリパス}}` + +- ホストからコンテナへシンボリックリンクに従ってファイルやディレクトリをコピーする。(シンボリックリンクされたファイルを直接コピーし、シンボリックリンクそのものはコピーしない): + +`docker cp {{[-L|--follow-link]}} {{ホスト上のシンボリックリンクパス}} {{コンテナ名}}:{{コンテナ内のファイルパスもしくはディレクトリパス}}` diff --git a/pages.ja/common/docker-ps.md b/pages.ja/common/docker-ps.md new file mode 100644 index 00000000000000..f0ac145f894903 --- /dev/null +++ b/pages.ja/common/docker-ps.md @@ -0,0 +1,36 @@ +# docker ps + +> Dockerコンテナ一覧を表示します。 +> もっと詳しく: 。 + +- 現在実行中のdockerコンテナ一覧を表示する: + +`docker ps` + +- 全てのdockerコンテナを表示する(実行中・停止中、両方のコンテナ): + +`docker ps {{[-a|--all]}}` + +- 最後に作成したコンテナを表示する(全ての状態を含む): + +`docker ps {{[-l|--latest]}}` + +- コンテナ名に指定の部分文字列を含むコンテナのみになるようにフィルタリングする: + +`docker ps {{[-f|--filter]}} "name={{コンテナ名}}"` + +- 指定したイメージを原型(ancestor)として共有するコンテナのみになるようにフィルタリングする: + +`docker ps {{[-f|--filter]}} "ancestor={{イメージ名}}:{{タグ}}"` + +- 終了コードでコンテナをフィルタリングする: + +`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{コード}}"` + +- 以下のいずれかのステータスでフィルタリングする(created, running, removing, paused, exited, dead): + +`docker ps {{[-f|--filter]}} "status={{ステータス}}"` + +- 特定のボリュームをマウントしている、または特定のパスにボリュームがマウントされているコンテナをフィルタリングする: + +`docker ps {{[-f|--filter]}} "volume={{ディレクトリパス}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.ja/common/docker-run.md b/pages.ja/common/docker-run.md new file mode 100644 index 00000000000000..f5fe91e2cfb01d --- /dev/null +++ b/pages.ja/common/docker-run.md @@ -0,0 +1,36 @@ +# docker run + +> 新しいDockerコンテナでコマンドを実行します。 +> もっと詳しく: 。 + +- タグ付けイメージから作成した新しいコンテナでコマンドを実行する: + +`docker run {{イメージ:タグ}} {{コマンド}}` + +- 新しいコンテナでコマンドをバックグランド実行し、そのIDを表示する: + +`docker run {{[-d|--detach]}} {{イメージ}} {{コマンド}}` + +- インタラクティブモードと疑似端末の割り当てを行って、使い捨てコンテナでコマンドを実行する: + +`docker run --rm {{[-it|--interactive --tty]}} {{イメージ}} {{コマンド}}` + +- 渡された環境変数を使って新しいコンテナでコマンドを実行する: + +`docker run {{[-e|--env]}} '{{環境変数名}}={{値}}' {{[-e|--env]}} {{環境変数名}} {{イメージ}} {{コマンド}}` + +- バインドマウントを持つ新しいコンテナでコマンドを実行する: + +`docker run {{[-v|--volume]}} {{ホストへのパス}}:{{コンテナへのパス}} {{イメージ}} {{コマンド}}` + +- 公開ポートを持った新しいコンテナでコマンドを実行する: + +`docker run {{[-p|--publish]}} {{ホスト側のポート}}:{{コンテナ側のポート}} {{イメージ}} {{コマンド}}` + +- イメージのエントリーポイントを上書きして新しいコンテナでコマンドを実行する: + +`docker run --entrypoint {{コマンド}} {{イメージ}}` + +- 新しいコンテナをネットワークに繋ぎ、そのコンテナでコマンドを実行する: + +`docker run --network {{ネットワーク}} {{イメージ}}` diff --git a/pages.ja/common/docker-start.md b/pages.ja/common/docker-start.md new file mode 100644 index 00000000000000..359cc0fbbed26a --- /dev/null +++ b/pages.ja/common/docker-start.md @@ -0,0 +1,20 @@ +# docker start + +> 1つまたは複数の停止中コンテナを起動します。 +> もっと詳しく: 。 + +- ヘルプを表示する: + +`docker start` + +- Dockerコンテナを起動する: + +`docker start {{コンテナ}}` + +- コンテナを起動し、`stdout`(標準出力) と `stderr`(標準エラー出力) をアタッチし、シグナルを転送する: + +`docker start {{[-a|--attach]}} {{コンテナ}}` + +- スペースで区切られた1つまたは複数の停止中コンテナを起動する: + +`docker start {{コンテナ1 コンテナ2 ...}}` diff --git a/pages.ja/common/docker-system.md b/pages.ja/common/docker-system.md new file mode 100644 index 00000000000000..867268ef730279 --- /dev/null +++ b/pages.ja/common/docker-system.md @@ -0,0 +1,36 @@ +# docker system + +> Dockerのデータ管理とシステム全体に関わる情報の表示をします。 +> もっと詳しく: 。 + +- ヘルプの表示をする: + +`docker system` + +- Dockerディスクの使用量を表示する: + +`docker system df` + +- ディスクの使用量に関して詳細な情報を表示する: + +`docker system df {{[-v|--verbose]}}` + +- 不使用データを削除する: + +`docker system prune` + +- 不使用データのうち指定時間より前に作成されたものを削除する: + +`docker system prune --filter "until={{時}}h{{分}}m"` + +- Dockerデーモンからのリアルタイムイベントを表示する: + +`docker system events` + +- コンテナからのリアルタイムイベントを適正なJSON行としてストリーム表示する: + +`docker system events {{[-f|--filter]}} 'type=container' --format '{{json .}}'` + +- システム全体に関わる情報の表示をする: + +`docker system info` diff --git a/pages.ja/common/docker.md b/pages.ja/common/docker.md new file mode 100644 index 00000000000000..b8dc31f5b37f57 --- /dev/null +++ b/pages.ja/common/docker.md @@ -0,0 +1,37 @@ +# docker + +> Dockerコンテナ及びDockerイメージの管理を行います。 +> `run` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- 全てのDockerコンテナを表示する(実行中・停止中、両方のコンテナ): + +`docker ps {{[-a|--all]}}` + +- イメージからカスタムのコンテナ名でコンテナを起動する: + +`docker run --name {{コンテナ名}} {{イメージ}}` + +- 既存のコンテナの起動もしくは停止を行う: + +`docker {{start|stop}} {{コンテナ名}}` + +- dockerレジストリからイメージをプルする: + +`docker pull {{イメージ}}` + +- 既にダウンロード済のイメージ一覧を表示する: + +`docker images` + +- 実行中のコンテナ内でシェルを開く: + +`docker exec {{[-it|--interactive --tty]}} {{コンテナ名}} {{sh}}` + +- 停止中のコンテナを削除する: + +`docker rm {{コンテナ名}}` + +- コンテナのログを取得・追跡する: + +`docker logs {{[-f|--follow]}} {{コンテナ名}}` diff --git a/pages.ja/common/dotnet.md b/pages.ja/common/dotnet.md new file mode 100644 index 00000000000000..83b53b37e055a8 --- /dev/null +++ b/pages.ja/common/dotnet.md @@ -0,0 +1,21 @@ +# dotnet + +> .NET Core 用のクロスプラットフォーム .NET コマンドラインツール。 +> `build` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- .NET プロジェクトを初期化する: + +`dotnet new {{テンプレート短縮名}}` + +- NuGet パッケージを復元する: + +`dotnet restore` + +- 現在のディレクトリで .NET プロジェクトをビルドして実行する: + +`dotnet run` + +- パッケージ化された dotnet アプリケーションを実行する (必要なのはランタイムだけで、残りのコマンドには.NET Core SDK がインストールされている必要がある): + +`dotnet {{path/to/application.dll}}` diff --git a/pages.ja/common/du.md b/pages.ja/common/du.md index dc743f2ffb6bad..597f59843620c9 100644 --- a/pages.ja/common/du.md +++ b/pages.ja/common/du.md @@ -1,27 +1,28 @@ # du > ディスク使用状況: ファイルとディレクトリの使用量の概算を表示します。 +> もっと詳しく: 。 -- 指定した単位(B/KB/MB)でディレクトリおよびサブディレクトリのサイズを表示します。 +- 指定した単位 (B/KiB/MiB) でディレクトリおよびサブディレクトリのサイズを表示します: -`du -{{b|k|m}} {{path/to/directory}}` +`du -{{b|k|m}} {{ディレクトリパス}}` -- 人間にとって解釈しやすい形式(サイズに応じた単位の選択など)で、ディレクトリおよびサブディレクトリのサイズを表示します。 +- 人間にとって解釈しやすい形式(サイズに応じた単位の選択など)で、ディレクトリおよびサブディレクトリのサイズを表示します: -`du -h {{path/to/directory}}` +`du -h {{ディレクトリパス}}` -- 人間にとって解釈しやすい形式で、単一ディレクトリのサイズを表示します。 +- 人間にとって解釈しやすい形式で、単一ディレクトリのサイズを表示します: -`du -sh {{path/to/directory}}` +`du {{[-sh|--summarize --human-readable]}} {{ディレクトリパス}}` -- 人間にとって解釈しやすい形式で、指定ディレクトリ、そのサブディレクトリ、それらに含まれる全てのファイルのサイズを表示します。 +- 人間にとって解釈しやすい形式で、指定ディレクトリ、そのサブディレクトリ、それらに含まれる全てのファイルのサイズを表示します: -`du -ah {{path/to/directory}}` +`du {{[-ah|--all --human-readable]}} {{ディレクトリパス}}` -- 人間にとって解釈しやすい形式で、指定ディレクトリおよび N 階層先までのディレクトリのサイズを表示します。 +- 人間にとって解釈しやすい形式で、指定ディレクトリおよび N 階層先までのディレクトリのサイズを表示します: -`du -h --max-depth=N {{path/to/directory}}` +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{ディレクトリパス}}` -- 人間にとって解釈しやすい形式で、現在のディレクトリおよびその下のディレクトリに含まれる全ての .jpg ファイルサイズを表示し、最後に合計を表示します。 +- 人間にとって解釈しやすい形式で、現在のディレクトリおよびその下のディレクトリに含まれる全ての `.jpg` ファイルサイズを表示し、最後に合計を表示します: -`du -ch */*.jpg` +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` diff --git a/pages.ja/common/echo.md b/pages.ja/common/echo.md new file mode 100644 index 00000000000000..5a9adbcc84caa0 --- /dev/null +++ b/pages.ja/common/echo.md @@ -0,0 +1,24 @@ +# echo + +> 与えられた引数を表示します。 +> もっと詳しく: 。 + +- テキストメッセージを印刷する。備考: 引用符は任意: + +`echo "{{Hello World}}"` + +- 環境変数のメッセージを表示する: + +`echo "{{パスは $PATH です。}}"` + +- メッセージを最後の改行なしで表示する: + +`echo -n "{{Hello World}}"` + +- ファイルにメッセージを追加する: + +`echo "{{Hello World}}" >> {{ファイル.txt}}` + +- バックスラッシュエスケープ(特殊文字)の解釈を可能にする: + +`echo -e "{{カラム 1\tカラム 2}}"` diff --git a/pages.ja/common/ffmpeg.md b/pages.ja/common/ffmpeg.md new file mode 100644 index 00000000000000..733f68d6264965 --- /dev/null +++ b/pages.ja/common/ffmpeg.md @@ -0,0 +1,36 @@ +# ffmpeg + +> 動画変換ツールです。 +> もっと詳しく: 。 + +- ビデオからサウンドを抽出し、MP3 として保存: + +`ffmpeg -i {{path/to/video.mp4}} -vn {{path/to/sound.mp3}}` + +- FLAC ファイルを Red Book CD フォーマット(44100kHz、16bit)にトランスコード: + +`ffmpeg -i {{path/to/input_audio.flac}} -ar 44100 -sample_fmt s16 {{path/to/output_audio.wav}}` + +- ビデオを GIF として保存する。高さを 1000px に拡大縮小し、フレームレートを 15 に設定: + +`ffmpeg -i {{path/to/video.mp4}} {{[-vf|-filter:v]}} 'scale=-1:{{1000}}' -r {{15}} {{path/to/output.gif}}` + +- 番号付けされた画像(`frame_1.jpg`, `frame_2.jpg` など)を動画または GIF に結合: + +`ffmpeg -i {{path/to/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` + +- 指定した開始時刻 mm:ss から終了時刻 mm2:ss2 までの動画をトリミング (最後までトリミングするには -to フラグを省略): + +`ffmpeg -i {{path/to/input_video.mp4}} -ss {{mm:ss}} -to {{mm2:ss2}} {{[-c|-codec]}} copy {{path/to/output_video.mp4}}` + +- AAC Audio @ 128kbit、 h264 Video @ CRF 23 の設定で、 AVI 動画を MP4 に変換: + +`ffmpeg -i {{path/to/input_video}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{path/to/output_video}}.mp4` + +- 音声やビデオストリームを再エンコードせずに、MKV ビデオを MP4 にリマックスする: + +`ffmpeg -i {{path/to/input_video}}.mkv {{[-c|-codec]}} copy {{path/to/output_video}}.mp4` + +- MP4 ビデオを VP9 コーデックに変換する。最高の画質を得るには、CRF 値(推奨範囲 15-35)を使用し、-b:v は 0 でなければならない: + +`ffmpeg -i {{path/to/input_video}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{number_of_threads}} {{path/to/output_video}}.webm` diff --git a/pages.ja/common/ffprobe.md b/pages.ja/common/ffprobe.md new file mode 100644 index 00000000000000..8cef162c323db8 --- /dev/null +++ b/pages.ja/common/ffprobe.md @@ -0,0 +1,24 @@ +# ffprobe + +> マルチメディアストリームを解析します。 +> もっと詳しく: 。 + +- メディアファイルの利用可能なストリーム情報を全て表示: + +`ffprobe -v error -show_streams {{input.mp4}}` + +- メディアの継続時間(尺)を表示: + +`ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}` + +- 動画のフレームレートを表示: + +`ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}` + +- 動画の幅または高さを表示: + +`ffprobe -v error -select_streams v:0 -show_entries stream={{width|height}} -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}` + +- 動画の平均ビットレートを表示: + +`ffprobe -v error -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}` diff --git a/pages.ja/common/fg.md b/pages.ja/common/fg.md new file mode 100644 index 00000000000000..d7abefe22a4a39 --- /dev/null +++ b/pages.ja/common/fg.md @@ -0,0 +1,12 @@ +# fg + +> フォアグラウンドでジョブを実行する。 +> もっと詳しく: 。 + +- 最も最近に停止されたジョブまたはバックグラウンドジョブをフォアグラウンドで実行する: + +`fg` + +- 指定されたジョブをフォアグラウンドで実行する: + +`fg %{{job_id}}` diff --git a/pages.ja/common/find.md b/pages.ja/common/find.md new file mode 100644 index 00000000000000..076fc63e93908c --- /dev/null +++ b/pages.ja/common/find.md @@ -0,0 +1,36 @@ +# find + +> ディレクトリツリー下のファイルやディレクトリを再帰的に検索します。 +> もっと詳しく: 。 + +- 拡張子でファイル検索する: + +`find {{ルートパス}} -name '{{*.ext}}'` + +- 複数のパス/名前パターンに一致するファイルを検索する: + +`find {{ルートパス}} -path '{{*/path/*/*.ext}}' -or -name '{{*pattern*}}'` + +- 大文字小文字を区別しないモードで、指定された名前にマッチするディレクトリを検索する: + +`find {{ルートパス}} -type d -iname '{{*lib*}}'` + +- 特定のパスを除いて、与えられたパターンにマッチするファイルを検索する: + +`find {{ルートパス}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- 与えられたサイズ範囲にマッチするファイルを検索し、再帰的な深さを"1"に制限する: + +`find {{ルートパス}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- 各ファイルに対してコマンドを実行する (ファイル名にアクセスするにはコマンド内で`{}`を使用): + +`find {{ルートパス}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- 今日変更されたすべてのファイルを検索し、その結果を引数として1つのコマンドに渡す: + +`find {{ルートパス}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` + +- 空のファイルまたはディレクトリを検索し、冗長に削除する: + +`find {{ルートパス}} -type {{f|d}} -empty -delete -print` diff --git a/pages.ja/common/fossil-ci.md b/pages.ja/common/fossil-ci.md new file mode 100644 index 00000000000000..18910c5207a6a4 --- /dev/null +++ b/pages.ja/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> このコマンドは `fossil commit`.のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr fossil commit` diff --git a/pages.ja/common/fossil-forget.md b/pages.ja/common/fossil-forget.md new file mode 100644 index 00000000000000..7a41b498558b32 --- /dev/null +++ b/pages.ja/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> このコマンドは `fossil rm` のエイリアスです。 +> もっと詳しく: 。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr fossil rm` diff --git a/pages.ja/common/fossil-new.md b/pages.ja/common/fossil-new.md new file mode 100644 index 00000000000000..c8f69330a76978 --- /dev/null +++ b/pages.ja/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> このコマンドは `fossil init`.のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr fossil init` diff --git a/pages.ja/common/fossil-rm.md b/pages.ja/common/fossil-rm.md new file mode 100644 index 00000000000000..2a67fb83fbb0c0 --- /dev/null +++ b/pages.ja/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> このコマンドは `fossil delete` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr fossil delete` diff --git a/pages.ja/common/gcc.md b/pages.ja/common/gcc.md new file mode 100644 index 00000000000000..4e8777ca676972 --- /dev/null +++ b/pages.ja/common/gcc.md @@ -0,0 +1,37 @@ +# gcc + +> C と C++ のソースファイルを前処理してコンパイルし、アセンブルしてリンクします。 +> GCC (GNU Compiler Collection) の一部です。 +> もっと詳しく: 。 + +- 複数のソースファイルを実行ファイルにコンパイルする: + +`gcc {{path/to/source1.c path/to/source2.c ...}} {{[-o|--output]}} {{path/to/output_executable}}` + +- 全てのエラーと警告の出力を有効にする: + +`gcc {{path/to/source.c}} -Wall {{[-o|--output]}} {{output_executable}}` + +- 一般的な警告、デバッグシンボルを出力に表示し、デバッグに影響を与えずに最適化する: + +`gcc {{path/to/source.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{path/to/output_executable}}` + +- 別のパスからライブラリをインクルード: + +`gcc {{path/to/source.c}} {{[-o|--output]}} {{path/to/output_executable}} -I{{path/to/header}} -L{{path/to/library}} -l{{library_name}}` + +- ソースコードをアセンブラ命令にコンパイルする: + +`gcc {{[-S|--assemble]}} {{path/to/source.c}}` + +- ソースコードをリンクせずにオブジェクトファイルにコンパイル: + +`gcc {{[-c|--compile]}} {{path/to/source.c}}` + +- コンパイルしたプログラムをパフォーマンスのために最適化する: + +`gcc {{path/to/source.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{path/to/output_executable}}` + +- バージョンを表示: + +`gcc --version` diff --git a/pages.ja/common/gh-cs.md b/pages.ja/common/gh-cs.md new file mode 100644 index 00000000000000..533f8341ea0fdd --- /dev/null +++ b/pages.ja/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> このコマンドは `gh codespace`.のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr gh codespace` diff --git a/pages.ja/common/git-commit.md b/pages.ja/common/git-commit.md new file mode 100644 index 00000000000000..6f3652fb7db467 --- /dev/null +++ b/pages.ja/common/git-commit.md @@ -0,0 +1,28 @@ +# git commit + +> リポジトリにファイルをコミットします。 +> もっと詳しく: 。 + +- メッセージと共に、ステージ済のファイルをリポジトリにコミットする: + +`git commit {{[-m|--message]}} "{{メッセージ}}"` + +- ファイルから読みとったメッセージと共に、ステージ済のファイルをコミットする: + +`git commit {{[-F|--file]}} {{コミットメッセージが書かれたファイルへのパス}}` + +- 変更されたファイルを全て自動的にステージし、メッセージと共にコミットする: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{メッセージ}}"` + +- 今のステージ済の変更を最後のコミットに付け足し、コミットハッシュを変更する: + +`git commit --amend` + +- 特定のファイル(ステージ済)だけをコミットする: + +`git commit {{ファイルパス1 ファイルパス2 ...}}` + +- ステージ済のファイルが無くても、コミットを作る: + +`git commit {{[-m|--message]}} "{{メッセージ}}" --allow-empty` diff --git a/pages.ja/common/git.md b/pages.ja/common/git.md new file mode 100644 index 00000000000000..551d0a48838d19 --- /dev/null +++ b/pages.ja/common/git.md @@ -0,0 +1,29 @@ +# git + +> 分散型バージョン管理システム +> いくつかのサブコマンドがあります。例えば `commit`, `add`, `branch`, `checkout`, `push`, などです。 これらには使用方法についての独自のドキュメントがあり、 `tldr git subcommand` で見ることができます。 +> もっと詳しく: 。 + +- Gitのサブコマンドを実行する: + +`git {{サブコマンド}}` + +- Gitのサブコマンドを、任意のリポジトリのルートパスを指定して実行する: + +`git -C {{ディレクトリパス}} {{サブコマンド}}` + +- Gitのサブコマンドを、指定された設定値で実行する: + +`git -c '{{config.key}}={{値}}' {{サブコマンド}}` + +- Git全体のヘルプを見る: + +`git --help` + +- Gitのサブコマンドのヘルプを見る (例えば `clone`, `add`, `push`, `log`, など): + +`git help {{サブコマンド}}` + +- Gitのバージョンを確認する: + +`git --version` diff --git a/pages.ja/common/gnmic-sub.md b/pages.ja/common/gnmic-sub.md new file mode 100644 index 00000000000000..9ecde5c43303eb --- /dev/null +++ b/pages.ja/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> このコマンドは `gnmic subscribe` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr gnmic subscribe` diff --git a/pages.ja/common/go.md b/pages.ja/common/go.md new file mode 100644 index 00000000000000..b9ad10392ac6d0 --- /dev/null +++ b/pages.ja/common/go.md @@ -0,0 +1,33 @@ +# go + +> Go のソースコードを管理します。 +> `build` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- インポートパスで指定されたパッケージを、ダウンロードしてインストール: + +`go get {{パッケージパス}}` + +- ソースファイルをコンパイルして実行 (`main`パッケージを含む必要がある): + +`go run {{file}}.go` + +- ソースファイルをコンパイルして実行ファイルにする: + +`go build -o {{実行ファイル名}} {{file}}.go` + +- 現在のディレクトリにあるパッケージをコンパイル: + +`go build` + +- 現在のパッケージの全てのテストケースを実行 (ファイル名の末尾は `_test.go` でなければならない): + +`go test` + +- 現在のパッケージをコンパイルしてインストール: + +`go install` + +- 現在のディレクトリで新しいモジュールを初期化: + +`go mod init {{モジュール名}}` diff --git a/pages.ja/common/gpg.md b/pages.ja/common/gpg.md new file mode 100644 index 00000000000000..663a2fea590bb2 --- /dev/null +++ b/pages.ja/common/gpg.md @@ -0,0 +1,36 @@ +# gpg + +> GNU Privacy Guard。 +> もっと詳しく: 。 + +- GPGの公開鍵と秘密鍵を対話的に作成する: + +`gpg {{[--full-gen-key|--full-generate-key]}}` + +- 暗号化せずに `doc.txt` に署名する (出力を `doc.txt.asc` に書き出す): + +`gpg --clearsign {{doc.txt}}` + +- alice@example.com と bob@example.com の `doc.txt` を暗号化して署名する (`doc.txt.gpg` に出力): + +`gpg {{[-es|--encrypt --sign]}} {{[-r|--recipient]}} {{alice@example.com}} {{[-r|--recipient]}} {{bob@example.com}} {{doc.txt}}` + +- パスフレーズのみで `doc.txt` を暗号化する (`doc.txt.gpg` に出力): + +`gpg {{[-c|--symmetric]}} {{doc.txt}}` + +- `doc.txt.gpg` を復号化する (`stdout` に出力): + +`gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}` + +- 公開鍵をインポートする: + +`gpg --import {{public.gpg}}` + +- alice@example.com 用に公開鍵をエクスポートする (`stdout` に出力): + +`gpg --export {{[-a|--armor]}} {{alice@example.com}}` + +- alice@example.com の秘密鍵をエクスポートする (`stdout` に出力): + +`gpg --export-secret-keys {{[-a|--armor]}} {{alice@example.com}}` diff --git a/pages.ja/common/gradle.md b/pages.ja/common/gradle.md new file mode 100644 index 00000000000000..b187f32c00fb1f --- /dev/null +++ b/pages.ja/common/gradle.md @@ -0,0 +1,32 @@ +# gradle + +> オープンソースのビルド自動化システムです。 +> もっと詳しく: 。 + +- パッケージをコンパイルする: + +`gradle build` + +- test タスクを除外する: + +`gradle build -x {{test}}` + +- ビルド中に Gradle がネットワークにアクセスしないようにオフラインモードで実行する: + +`gradle build --offline` + +- ビルドディレクトリを消去する: + +`gradle clean` + +- release モードで Android パッケージ (APK) をビルドする: + +`gradle assembleRelease` + +- 主なタスクを一覧表示する: + +`gradle tasks` + +- 全てのタスクを一覧表示する: + +`gradle tasks --all` diff --git a/pages.ja/common/grep.md b/pages.ja/common/grep.md new file mode 100644 index 00000000000000..d403442134fed1 --- /dev/null +++ b/pages.ja/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> 正規表現を使ってファイルのパターンを見つけます。 +> もっと詳しく: 。 + +- ファイル内のパターンを検索する: + +`grep "{{検索パターン}}" {{path/to/file}}` + +- 正確な文字列を検索する(正規表現を無効にする): + +`grep {{[-F|--fixed-strings]}} "{{正確な文字列}}" {{path/to/file}}` + +- ディレクトリ内の全てのファイルを再帰的にパターン検索し、マッチしたファイルの行番号を表示する: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{検索パターン}}" {{path/to/directory}}` + +- 拡張正規表現 (`?`, `+`, `{}`, `()`, `|` をサポート)を大文字小文字を区別しないモードで使用する: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{検索パターン}}" {{path/to/file}}` + +- 各マッチの前後3行のコンテキストを表示する: + +`grep {{--context|--before-context|--after-context}} 3 "{{検索パターン}}" {{path/to/file}}` + +- 各マッチのファイル名と行番号をカラー出力する: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{検索パターン}}" {{path/to/file}}` + +- パターンにマッチする行を検索し、マッチしたテキストのみを表示する: + +`grep {{[-o|--only-matching]}} "{{検索パターン}}" {{path/to/file}}` + +- パターンにマッチしない行を `stdin` から検索する: + +`cat {{path/to/file}} | grep {{[-v|--invert-match]}} "{{検索パターン}}"` diff --git a/pages.ja/common/history.md b/pages.ja/common/history.md new file mode 100644 index 00000000000000..955603593d1ca5 --- /dev/null +++ b/pages.ja/common/history.md @@ -0,0 +1,24 @@ +# history + +> コマンドラインの履歴です。 +> もっと詳しく: 。 + +- コマンドの履歴一覧を行番号付きで表示する: + +`history` + +- 直近の20個のコマンドを表示する (Zsh では20個目から始まるすべてのコマンドを表示する): + +`history {{20}}` + +- コマンド履歴のリストを消去する (現在の Bash シェルに対してのみ): + +`history -c` + +- コマンド履歴ファイルを現在の Bash シェルのコマンド履歴で上書きする (履歴を削除するために `history -c` と組み合わせることがよくあります): + +`history -w` + +- 指定されたオフセットの履歴エントリーを削除する: + +`history -d {{オフセット}}` diff --git a/pages.ja/common/htop.md b/pages.ja/common/htop.md new file mode 100644 index 00000000000000..34a4cf744f8b2b --- /dev/null +++ b/pages.ja/common/htop.md @@ -0,0 +1,28 @@ +# htop + +> 実行中のプロセスに関する動的なリアルタイム情報を表示する。 `top` の拡張版。 +> もっと詳しく: 。 + +- htop を起動: + +`htop` + +- 特定のユーザが所有するプロセスを表示する htop を起動する: + +`htop {{[-u|--user]}} {{ユーザー名}}` + +- 指定した `並べ替え項目` でプロセスをソートする (利用可能なオプションは `htop --sort help` を使用する): + +`htop {{[-s|--sort]}} {{並べ替え項目}}` + +- htop 実行中の対話型コマンドを見る: + +`` + +- 別のタブに切り替える: + +`` + +- ヘルプを表示する: + +`htop {{[-h|--help]}}` diff --git a/pages.ja/common/java.md b/pages.ja/common/java.md new file mode 100644 index 00000000000000..ce2c0b30fd0042 --- /dev/null +++ b/pages.ja/common/java.md @@ -0,0 +1,28 @@ +# java + +> Java アプリケーションランチャ。 +> もっと詳しく: 。 + +- main メソッドを含む Java の `.class` ファイルを、クラス名だけで実行する: + +`java {{クラス名}}` + +- Java プログラムを実行し、追加のサードパーティまたはユーザー定義クラスを使用する: + +`java -classpath {{path/to/classes1}}:{{path/to/classes2}}:. {{クラス名}}` + +- `.jar` プログラムを実行する: + +`java -jar {{filename.jar}}` + +- `.jar` プログラムを、デバッグ待ちポート 5005 で実行する: + +`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{filename.jar}}` + +- JDK、JRE、HotSpot のバージョンを表示する: + +`java -version` + +- ヘルプを表示する: + +`java -help` diff --git a/pages.ja/common/kdash.md b/pages.ja/common/kdash.md new file mode 100644 index 00000000000000..04e4532510dc58 --- /dev/null +++ b/pages.ja/common/kdash.md @@ -0,0 +1,20 @@ +# kdash + +> ターミナル上でKubernetesのダッシュボードを作成するためのコマンドラインインターフェイス。 +> もっと詳しく: 。 + +- ダッシュボードの起動: + +`kdash` + +- デバッグモードで起動しログをファイルに書き込む: + +`kdash {{[-d|--debug]}}` + +- ティックレートを設定する: + +`kdash {{[-t|--tick-rate]}} {{100}}` + +- ポーリングレートを設定する(ポーリングレートはティックレートの倍数である必要があります): + +`kdash {{[-t|--tick-rate]}} {{200}} {{[-p|--poll-rate]}} {{400}}` diff --git a/pages.ja/common/kubectl.md b/pages.ja/common/kubectl.md new file mode 100644 index 00000000000000..384a8795650b4b --- /dev/null +++ b/pages.ja/common/kubectl.md @@ -0,0 +1,37 @@ +# kubectl + +> Kubernetes クラスタに対してコマンドを実行するためのコマンドラインインターフェイス。 +> `run` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- リソースに関する情報をより詳細に一覧表示する: + +`kubectl get {{pod|service|deployment|ingress|...}} {{[-o|--output]}} wide` + +- 指定したポッドにラベル 'unhealthy' と値 'true' を付けて更新する: + +`kubectl label pods {{ポッド名}} unhealthy=true` + +- 異なるタイプのリソースを全て一覧表示する: + +`kubectl get all` + +- ノードまたはポッドのリソース (CPU/Memory/Storage) 使用量を表示する: + +`kubectl top {{pod|node}}` + +- マスターとクラスタサービスのアドレスを表示する: + +`kubectl cluster-info` + +- 特定のフィールドの説明を表示する: + +`kubectl explain {{pods.spec.containers}}` + +- ポッドまたは指定したリソース内のコンテナのログを表示する: + +`kubectl logs {{ポッド名}}` + +- 既存のポッドでコマンドを実行する: + +`kubectl exec {{ポッド名}} -- {{ls /}}` diff --git a/pages.ja/common/less.md b/pages.ja/common/less.md new file mode 100644 index 00000000000000..94459a9c8a0e5c --- /dev/null +++ b/pages.ja/common/less.md @@ -0,0 +1,36 @@ +# less + +> ファイルを開いて、スクロールや検索などのインタラクティブな読み方ができます。 +> もっと詳しく: 。 + +- ファイルを開く: + +`less {{ソースファイル}}` + +- ページダウン/アップ: + +`{{|}}` + +- ファイルの最後/最初に移動: + +`{{|}}` + +- 文字列の前方検索(``/`` を押すと、次の/前のマッチに移動する): + +`{{検索文字列}}` + +- 文字列の後方検索(``/`` を押すと次/前のマッチに進む): + +`{{検索文字列}}` + +- 現在開いているファイルの出力を追跡する: + +`` + +- 現在のファイルをエディターで開く: + +`` + +- 閉じる: + +`` diff --git a/pages.ja/common/llvm-ar.md b/pages.ja/common/llvm-ar.md new file mode 100644 index 00000000000000..74aafb58340181 --- /dev/null +++ b/pages.ja/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> このコマンドは `ar` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr ar` diff --git a/pages.ja/common/llvm-g++.md b/pages.ja/common/llvm-g++.md new file mode 100644 index 00000000000000..ab72280b8648ad --- /dev/null +++ b/pages.ja/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> このコマンドは `clang++` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr clang++` diff --git a/pages.ja/common/llvm-gcc.md b/pages.ja/common/llvm-gcc.md new file mode 100644 index 00000000000000..e6e94e82a1a3af --- /dev/null +++ b/pages.ja/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> このコマンドは `clang` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr clang` diff --git a/pages.ja/common/llvm-nm.md b/pages.ja/common/llvm-nm.md new file mode 100644 index 00000000000000..27839b11045ff1 --- /dev/null +++ b/pages.ja/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> このコマンドは `nm` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr nm` diff --git a/pages.ja/common/llvm-objdump.md b/pages.ja/common/llvm-objdump.md new file mode 100644 index 00000000000000..0808ebb88ab36d --- /dev/null +++ b/pages.ja/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> このコマンドは `objdump` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr objdump` diff --git a/pages.ja/common/llvm-strings.md b/pages.ja/common/llvm-strings.md new file mode 100644 index 00000000000000..be2fddfe026de0 --- /dev/null +++ b/pages.ja/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> このコマンドは `strings` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr strings` diff --git a/pages.ja/common/ls.md b/pages.ja/common/ls.md new file mode 100644 index 00000000000000..58dbb53c1f9997 --- /dev/null +++ b/pages.ja/common/ls.md @@ -0,0 +1,32 @@ +# ls + +> ディレクトリの内容を一覧表示します。 +> もっと詳しく: 。 + +- ファイルを1行ごとに一覧表示: + +`ls -1` + +- 隠しファイルを含むすべてのファイルを一覧表示: + +`ls {{[-a|--all]}}` + +- すべてのファイルを一覧表示し、ディレクトリ名の最後に `/` を付加する: + +`ls {{[-F|--classify]}}` + +- 全ファイルを長い形式(パーミッション、所有者、サイズ、修正日)で一覧表示します: + +`ls {{[-la|--all -l]}}` + +- サイズを人間が読みやすい単位(KiB、MiB、GiB)で表示した長い形式での一覧表示: + +`ls {{[-lh|-l --human-readable]}}` + +- サイズ順(降順)に並べた長い形式での一覧表示: + +`ls {{-lSR|-lS --recursive}}` + +- すべてのファイルの長い形式でのリストで、更新日が古いものから順に表示されます: + +`ls {{[-ltr|-lt --reverse]}}` diff --git a/pages.ja/common/magick.md b/pages.ja/common/magick.md new file mode 100644 index 00000000000000..7f1f3d78731925 --- /dev/null +++ b/pages.ja/common/magick.md @@ -0,0 +1,26 @@ +# magick + +> 画像フォーマットの作成、編集、合成、変換を行います。 +> このツールは、ImageMagick 7+ の `convert` を置き換えるものです。古いツールを version 7+ で使うには、 `magick convert` を参照してください。 +> `mogrify` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- 画像フォーマットを変換する: + +`magick {{path/to/input_image.png}} {{path/to/output_image.jpg}}` + +- 入力画像をリサイズし、新規に出力する: + +`magick {{path/to/input_image.jpg}} -resize {{100x100}} {{path/to/output_image.jpg}}` + +- 現在のディレクトリにある全ての JPEG 画像から GIF を作成: + +`magick {{*.jpg}} {{path/to/images.gif}}` + +- 市松模様(チェッカーボード)の画像を生成する: + +`magick -size {{640x480}} pattern:checkerboard {{path/to/checkerboard.png}}` + +- 現在のディレクトリ内の全ての JPEG 画像から PDF ファイルを作成する: + +`magick {{*.jpg}} -adjoin {{path/to/file.pdf}}` diff --git a/pages.ja/common/make.md b/pages.ja/common/make.md new file mode 100644 index 00000000000000..bab5f68509dcab --- /dev/null +++ b/pages.ja/common/make.md @@ -0,0 +1,37 @@ +# make + +> Makefile に記述されたターゲットのタスクランナー。 +> 主に、ソースコードから実行可能ファイルのコンパイルを制御する為に使用されます。 +> もっと詳しく: 。 + +- Makefile で指定された最初のターゲットを呼び出す (通常 "all" という名前): + +`make` + +- 特定のターゲットを呼び出す: + +`make {{ターゲット}}` + +- 特定のターゲットを呼び出し、一度に 4 つのジョブを並列実行: + +`make -j{{4}} {{ターゲット}}` + +- 指定した Makefile を使用: + +`make --file {{path/to/file}}` + +- 別ディレクトリから make を実行: + +`make --directory {{path/to/directory}}` + +- ソースファイルが変更されていなくても、強制的にターゲットを作る: + +`make --always-make {{ターゲット}}` + +- Makefile で定義された変数を上書きする: + +`make {{ターゲット}} {{変数名}}={{値}}` + +- 環境変数によって与えられた変数で、 Makefile に定義されている変数を上書きするようにする: + +`make --environment-overrides {{ターゲット}}` diff --git a/pages.ja/common/msbuild.md b/pages.ja/common/msbuild.md new file mode 100644 index 00000000000000..4afdf7a5db4cdc --- /dev/null +++ b/pages.ja/common/msbuild.md @@ -0,0 +1,32 @@ +# msbuild + +> Microsoft の Visual Studio プロジェクトソリューション用ビルドツールです。 +> もっと詳しく: 。 + +- 現在のディレクトリにある最初のプロジェクトファイルをビルドする: + +`msbuild` + +- 特定のプロジェクトファイルをビルドする: + +`msbuild {{path/to/project_file}}` + +- ビルドするターゲットを 1 つ以上指定する (セミコロン(;)で区切る): + +`msbuild {{path/to/project_file}} /target:{{ターゲット名}}` + +- プロパティを 1 つ以上指定する (セミコロン(;)で区切る): + +`msbuild {{path/to/project_file}} /property:{{プロパティ名=値}}` + +- 使用するビルドツールのバージョンを指定する: + +`msbuild {{path/to/project_file}} /toolsversion:{{バージョン}}` + +- プロジェクトの設定方法に関する詳細情報をログの最後に表示する: + +`msbuild {{path/to/project_file}} /detailedsummary` + +- ヘルプを表示: + +`msbuild /help` diff --git a/pages.ja/common/mscore.md b/pages.ja/common/mscore.md new file mode 100644 index 00000000000000..22996341fa454c --- /dev/null +++ b/pages.ja/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> このコマンドは `musescore` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr musescore` diff --git a/pages.ja/common/mvn.md b/pages.ja/common/mvn.md new file mode 100644 index 00000000000000..aecc0d4b0c1b2d --- /dev/null +++ b/pages.ja/common/mvn.md @@ -0,0 +1,36 @@ +# mvn + +> Apache Maven:Java ベースのプロジェクトをビルドおよび管理します。 +> もっと詳しく: 。 + +- プロジェクトをコンパイルする: + +`mvn compile` + +- コンパイルしたコードを `jar` のような配布可能な形式でパッケージ化: + +`mvn package` + +- ユニットテストをスキップしてコンパイルし、パッケージ化: + +`mvn package -DskipTests` + +- ビルドしたパッケージをローカルの maven リポジトリにインストール (コンパイルとパッケージのコマンドも呼び出される): + +`mvn install` + +- ターゲットディレクトリから、ビルドアーティファクトを削除: + +`mvn clean` + +- clean にしてから package フェーズを起動: + +`mvn clean package` + +- 指定されたビルドプロファイルを使用して、コードをクリーンアップしてパッケージ化: + +`mvn clean -P {{プロファイル}} package` + +- main メソッドを持つクラスを実行: + +`mvn exec:java -Dexec.mainClass="{{com.example.Main}}" -Dexec.args="{{引数1 引数2 ...}}"` diff --git a/pages.ja/common/mysql.md b/pages.ja/common/mysql.md new file mode 100644 index 00000000000000..087baafe23db20 --- /dev/null +++ b/pages.ja/common/mysql.md @@ -0,0 +1,32 @@ +# mysql + +> MySQL のコマンドラインツールです。 +> もっと詳しく: . + +- データベースへの接続: + +`mysql {{データベース名}}` + +- データベースへの接続、ユーザーにはパスワードの入力が求められる: + +`mysql {{[-u|--user]}} {{ユーザー}} {{[-p|--password]}} {{データベース名}}` + +- 別のホスト上のデータベースに接続する: + +`mysql {{[-h|--host]}} {{データベースホスト}} {{データベース名}}` + +- Unix ソケット経由でのデータベースへの接続: + +`mysql {{[-S|--socket]}} {{ソケットファイルへのパス}}` + +- スクリプトファイル(バッチファイル)での SQL 文の実行: + +`mysql {{[-e|--execute]}} "source {{sqlファイル}}" {{データベース名}}` + +- `mysqldump` で作成したバックアップからデータベースをリストアする(ユーザーはパスワードの入力を求められます): + +`mysql {{[-u|--user]}} {{ユーザー}} {{[-p|--password]}} {{データベース名}} < {{バックアップsqlファイルへのパス}}` + +- バックアップからすべてのデータベースを復元する(ユーザーはパスワードの入力を求められます): + +`mysql {{[-u|--user]}} {{ユーザー}} {{[-p|--password]}} < {{バックアップsqlファイルへのパス}}` diff --git a/pages.ja/common/netstat.md b/pages.ja/common/netstat.md new file mode 100644 index 00000000000000..37466bce554f21 --- /dev/null +++ b/pages.ja/common/netstat.md @@ -0,0 +1,33 @@ +# netstat + +> 開いている接続、開いているソケットポートなどのネットワーク関連情報を表示します。 +> `ss` も参照してください。 +> もっと詳しく: 。 + +- 全てのポートを一覧表示する: + +`netstat --all` + +- 全てのリスニングポートを一覧表示する: + +`netstat --listening` + +- リッスン中のTCPポートを一覧表示する: + +`netstat --tcp` + +- PIDとプログラム名を表示する: + +`netstat --program` + +- 情報を連続的に一覧表示する: + +`netstat --continuous` + +- ルートを一覧表示し、IPアドレスをホスト名に解決しない: + +`netstat --route --numeric` + +- リッスンしているTCPポートとUDPポートを一覧表示する (+ rootの場合はユーザーとプロセス): + +`netstat --listening --program --numeric --tcp --udp --extend` diff --git a/pages.ja/common/nginx.md b/pages.ja/common/nginx.md new file mode 100644 index 00000000000000..b9c1797ee814ee --- /dev/null +++ b/pages.ja/common/nginx.md @@ -0,0 +1,24 @@ +# nginx + +> Nginx ウェブサーバ。 +> もっと詳しく: 。 + +- デフォルトの設定ファイルでサーバーを起動する: + +`nginx` + +- カスタム設定ファイルでサーバを起動する: + +`nginx -c {{設定ファイル}}` + +- 設定ファイル内の全ての相対パスのプレフィクスを指定して、サーバを起動する: + +`nginx -c {{設定ファイル}} -p {{prefix/for/relative/paths}}` + +- 実行中のサーバに影響を与えずに設定をテストする: + +`nginx -t` + +- ダウンタイムなしでシグナルを送って、設定をリロードする: + +`nginx -s reload` diff --git a/pages.ja/common/node.md b/pages.ja/common/node.md new file mode 100644 index 00000000000000..0889bba203a3ef --- /dev/null +++ b/pages.ja/common/node.md @@ -0,0 +1,28 @@ +# node + +> サーバサイド JavaScript プラットフォーム (Node.js)。 +> もっと詳しく: 。 + +- JavaScript ファイルを実行: + +`node {{path/to/file}}` + +- REPL(インタラクティブシェル)を開始: + +`node` + +- インポートされたファイルが変更された時に、プロセスを再起動して指定されたファイルを実行する (Node.js version 18.11+ が必要): + +`node --watch {{path/to/file}}` + +- JavaScript コードを引数として渡して評価する: + +`node {{[-e|--eval]}} "{{code}}"` + +- 結果を評価して表示する。ノードの依存関係のバージョンを出力するのに役立つ: + +`node {{[-p|--print]}} "process.versions"` + +- ソースコードが完全に解析されたら、デバッガが接続されるまで実行を一時停止するインスペクタをアクティブにする: + +`node --no-lazy --inspect-brk {{path/to/file}}` diff --git a/pages.ja/common/npm.md b/pages.ja/common/npm.md new file mode 100644 index 00000000000000..cf73eb608b4f03 --- /dev/null +++ b/pages.ja/common/npm.md @@ -0,0 +1,37 @@ +# npm + +> JavaScript と Node.js のパッケージマネージャ。 +> Node.js プロジェクトとそのモジュールの依存関係を管理します。 +> もっと詳しく: 。 + +- デフォルト値の `package.json` ファイルを生成 (対話的に行う場合は `--yes` を省略): + +`npm init {{-y|--yes}}` + +- `package.json`に依存パッケージとしてリストされている全てのパッケージをダウンロード: + +`npm install` + +- パッケージの特定のバージョンをダウンロードして `package.json` の dependencies に追加: + +`npm install {{パッケージ名}}@{{バージョン}}` + +- パッケージの最新バージョンをダウンロードして `package.json` の dev dependencies に追加: + +`npm install {{パッケージ名}} {{-D|--save-dev}}` + +- パッケージの最新バージョンをダウンロードし、グローバルにインストール: + +`npm install {{-g|--global}} {{パッケージ名}}` + +- パッケージをアンインストールして `package.json` の dependencies から削除: + +`npm uninstall {{パッケージ名}}` + +- ローカルにインストールされている依存パッケージを全て一覧表示: + +`npm list` + +- グローバルにインストールされているトップレベルのパッケージを一覧表示する: + +`npm list {{-g|--global}} --depth {{0}}` diff --git a/pages.ja/common/nslookup.md b/pages.ja/common/nslookup.md new file mode 100644 index 00000000000000..0069177fe20fa2 --- /dev/null +++ b/pages.ja/common/nslookup.md @@ -0,0 +1,32 @@ +# nslookup + +> ネームサーバに様々なドメインレコードを問い合わせます。 +> もっと詳しく: 。 + +- システムのデフォルトネームサーバに、ドメインの IP アドレス(A レコード)を問い合わせる: + +`nslookup {{example.com}}` + +- 指定したネームサーバにドメインの NS レコードを問い合わせる: + +`nslookup -type=NS {{example.com}} {{8.8.8.8}}` + +- IP アドレスの逆引き(PTR レコード)を問い合わせる: + +`nslookup -type=PTR {{54.240.162.118}}` + +- TCP プロトコルを使って利用可能なレコードを問い合わせる: + +`nslookup -vc -type=ANY {{example.com}}` + +- TCP プロトコルを使用して、指定したネームサーバにドメインのゾーンファイル全体を問い合わせる (ゾーン転送): + +`nslookup -vc -type=AXFR {{example.com}} {{ネームサーバ}}` + +- ドメインのメールサーバ (MX レコード)を照会し、トランザクションの詳細を表示する: + +`nslookup -type=MX -debug {{example.com}}` + +- 指定したポート番号のネームサーバに、ドメインの TXT レコードを問い合わせる: + +`nslookup -port={{ポート番号}} -type=TXT {{example.com}} {{ネームサーバ}}` diff --git a/pages.ja/common/ping.md b/pages.ja/common/ping.md new file mode 100644 index 00000000000000..e5cd809dd73533 --- /dev/null +++ b/pages.ja/common/ping.md @@ -0,0 +1,32 @@ +# ping + +> ICMP ECHO_REQUEST パケットをネットワークホストに送信します。 +> もっと詳しく: 。 + +- ホストをPingする: + +`ping {{ホスト}}` + +- ホストに特定の回数だけpingする: + +`ping -c {{回数}} {{ホスト}}` + +- リクエストの間隔を秒単位で指定して、ホストにpingする (デフォルトは1秒): + +`ping -i {{秒数}} {{ホスト}}` + +- アドレスのシンボリックネームを調べずに、ホストにpingする: + +`ping -n {{ホスト}}` + +- pingしてパケットを受信したら、ベルを鳴らす (端末がサポートしている場合): + +`ping -a {{ホスト}}` + +- 応答がない場合は、メッセージも表示する: + +`ping -O {{ホスト}}` + +- 特定のping回数、パケットごとの応答タイムアウト(`-W`)、ping実行全体の制限時間(`-w`)を指定して、ホストにpingする: + +`ping -c {{回数}} -W {{秒数}} -w {{秒数}} {{ホスト}}` diff --git a/pages.ja/common/pio-init.md b/pages.ja/common/pio-init.md new file mode 100644 index 00000000000000..1b3a3b070a8066 --- /dev/null +++ b/pages.ja/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> このコマンドは `pio project` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr pio project` diff --git a/pages.ja/common/piodebuggdb.md b/pages.ja/common/piodebuggdb.md new file mode 100644 index 00000000000000..a26615cd695712 --- /dev/null +++ b/pages.ja/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> このコマンドは `pio debug` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr pio debug` diff --git a/pages.ja/common/platformio.md b/pages.ja/common/platformio.md new file mode 100644 index 00000000000000..bd0a29c9fd5660 --- /dev/null +++ b/pages.ja/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> このコマンドは `pio` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr pio` diff --git a/pages.ja/common/podman.md b/pages.ja/common/podman.md new file mode 100644 index 00000000000000..90d83b99b86895 --- /dev/null +++ b/pages.ja/common/podman.md @@ -0,0 +1,37 @@ +# podman + +> ポッド、コンテナ、イメージのシンプルな管理ツールです。 +> PodmanはDocker-CLIと互換性のあるコマンドラインを提供します。簡潔に言うと: `alias docker=podman`。 +> もっと詳しく: 。 + +- 全てのコンテナ(実行中と停止中の両方)を一覧表示する: + +`podman ps --all` + +- イメージから任意の名前でコンテナを作成する: + +`podman run --name {{コンテナ名}} {{イメージ}}` + +- 既存のコンテナを起動または停止する: + +`podman {{start|stop}} {{コンテナ名}}` + +- レジストリからイメージをプルする (デフォルトは Docker Hub): + +`podman pull {{イメージ}}` + +- 既にダウンロードされているイメージのリストを表示する: + +`podman images` + +- 既に起動しているコンテナ内でシェルを開く: + +`podman exec --interactive --tty {{コンテナ名}} {{sh}}` + +- 停止しているコンテナを削除する: + +`podman rm {{コンテナ名}}` + +- 1つまたは複数のコンテナのログを表示し、ログ出力を追跡する: + +`podman logs --follow {{コンテナ名}} {{コンテナid}}` diff --git a/pages.ja/common/ps.md b/pages.ja/common/ps.md new file mode 100644 index 00000000000000..b337ca47edcbdd --- /dev/null +++ b/pages.ja/common/ps.md @@ -0,0 +1,32 @@ +# ps + +> 実行中のプロセスに関する情報。 +> もっと詳しく: 。 + +- 実行中のプロセスをすべてリストアップ: + +`ps aux` + +- 実行中のすべてのプロセスを、完全なコマンド文字列を含めて一覧表示する: + +`ps auxww` + +- 文字列にマッチするプロセスを検索する: + +`ps aux | grep {{文字列}}` + +- 現在のユーザーのすべてのプロセスを完全なフォーマットで表示する: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) -F` + +- カレントユーザーの全プロセスをツリー状にリストアップ: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) f` + +- プロセスの親 pid を取得する: + +`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{pid}}` + +- プロセスをメモリ消費量でソート: + +`ps --sort size` diff --git a/pages.ja/common/psql.md b/pages.ja/common/psql.md new file mode 100644 index 00000000000000..336f8e0b525937 --- /dev/null +++ b/pages.ja/common/psql.md @@ -0,0 +1,24 @@ +# psql + +> PostgreSQL コマンドラインクライアントです。 +> もっと詳しく: 。 + +- データベースに接続する。デフォルトでは、現在ログインしているユーザで、ポート5432を使用して、ローカルソケットに接続する: + +`psql {{データベース}}` + +- 指定ポートで、動作している指定サーバホストのデータベースに、指定ユーザ名で、パスワードプロンプトなしで接続する: + +`psql -h {{ホスト}} -p {{ポート}} -U {{ユーザ名}} {{データベース}}` + +- データベースに接続する。ユーザはパスワードの入力を求められる: + +`psql -h {{ホスト}} -p {{ポート}} -U {{ユーザ名}} -W {{データベース}}` + +- 与えられたデータベースに対して、SQLクエリまたはPostgreSQLコマンドを1つ実行する (シェルスクリプトで有用): + +`psql -c '{{クエリ}}' {{データベース}}` + +- 与えられたデータベース上で、ファイルからコマンドを実行する: + +`psql {{データベース}} -f {{file.sql}}` diff --git a/pages.ja/common/pwd.md b/pages.ja/common/pwd.md new file mode 100644 index 00000000000000..417911a4173bed --- /dev/null +++ b/pages.ja/common/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> 現在の作業ディレクトリを表示します。 +> もっと詳しく: 。 + +- 現在のディレクトリを表示する: + +`pwd` + +- 現在のディレクトリを表示し、すべてのシンボリックリンクを解決する(つまり、「物理的な」パスを表示する): + +`pwd {{[-P|--physical]}}` diff --git a/pages.ja/common/pyenv.md b/pages.ja/common/pyenv.md new file mode 100644 index 00000000000000..d4279716514bcb --- /dev/null +++ b/pages.ja/common/pyenv.md @@ -0,0 +1,32 @@ +# pyenv + +> 複数バージョンのPythonを容易に切り替えします。 +> もっと詳しく: 。 + +- 利用可能なコマンド全てをリスト表示する: + +`pyenv commands` + +- `${PYENV_ROOT}/versions`ディレクトリ下のPythonバージョン全てをリスト表示する: + +`pyenv versions` + +- アップストリーム(Python公式)からインストール可能なPythonのバージョン全てをリスト表示する: + +`pyenv install --list` + +- `${PYENV_ROOT}/versions`ディレクトリ下に指定のPythonバージョンをインストールする: + +`pyenv install {{2.7.10}}` + +- `${PYENV_ROOT}/versions`ディレクトリ下の指定のPythonバージョンをアンインストールする: + +`pyenv uninstall {{2.7.10}}` + +- 現在のマシンでグローバルに使用するPythonバージョンをセットする: + +`pyenv global {{2.7.10}}` + +- カレントディレクトリとその下にある全てのディレクトリ内で使用するPythonバージョンをセットする: + +`pyenv local {{2.7.10}}` diff --git a/pages.ja/common/python.md b/pages.ja/common/python.md new file mode 100644 index 00000000000000..8b674b81dcba5e --- /dev/null +++ b/pages.ja/common/python.md @@ -0,0 +1,36 @@ +# python + +> Python language インタプリタ。 +> もっと詳しく: 。 + +- REPLを開始する (インタラクティブ): + +`python` + +- 指定したPythonスクリプトを実行: + +`python {{Pythonファイルパス}}` + +- 指定したPythonスクリプトを実行してREPLを実行: + +`python -i {{Pythonファイルパス}}` + +- Python実装を文字列で指定して実行する: + +`python -c "{{Python実装文字列}}"` + +- 指定したライブラリモジュールのスクリプトを実行する: + +`python -m {{モジュール名}} {{引数}}` + +- `pip`を利用してパッケージをインストールする: + +`python -m pip install {{パッケージ}}` + +- インタラクティブにPythonスクリプトをデバッグする: + +`python -m pdb {{Pythonファイルパス}}` + +- ビルトインのHTTPサーバをポート8000版でカレントディレクトリで実行する: + +`python -m http.server` diff --git a/pages.ja/common/r2.md b/pages.ja/common/r2.md new file mode 100644 index 00000000000000..b0acd7f6345cb2 --- /dev/null +++ b/pages.ja/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> このコマンドは `radare2` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr radare2` diff --git a/pages.ja/common/ranger.md b/pages.ja/common/ranger.md index 1e3afe24fc4b92..8cdf44c6446e3d 100644 --- a/pages.ja/common/ranger.md +++ b/pages.ja/common/ranger.md @@ -1,24 +1,24 @@ # ranger -> VI キーバインドのコンソールファイルマネージャー -> 詳しくはこちら: . +> VI キーバインドのコンソールファイルマネージャー。 +> もっと詳しく: 。 -- ranger を起動する。 +- ranger を起動する: `ranger` -- ディレクトリのみ表示する。 +- ディレクトリのみ表示する: `ranger --show-only-dirs` -- 設定ディレクトリを変更する。 +- 設定ディレクトリを変更する: `ranger --confdir={{path/to/directory}}` -- データディレクトリを変更する。 +- データディレクトリを変更する: `ranger --datadir={{path/to/directory}}` -- 終了時に CPU 使用統計を表示する。 +- 終了時に CPU 使用統計を表示する: `ranger --profile` diff --git a/pages.ja/common/rustup.md b/pages.ja/common/rustup.md new file mode 100644 index 00000000000000..69e23e47043e07 --- /dev/null +++ b/pages.ja/common/rustup.md @@ -0,0 +1,33 @@ +# rustup + +> Rust ツールチェーンのインストール、管理、更新を行います。 +> `toolchain`, `target`, `update` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- nightly ツールチェーンをシステムにインストール: + +`rustup install nightly` + +- デフォルトのツールチェーンを nightly に切り替えて、`cargo` コマンドと `rustc` コマンドがそれを使用するようにする: + +`rustup default nightly` + +- 現在のプロジェクト内では nightly ツールチェーンを使用するが、グローバル設定は変更しない: + +`rustup override set nightly` + +- 全てのツールチェーンを更新: + +`rustup update` + +- インストール済ツールチェーンを一覧表示: + +`rustup show` + +- 特定のツールチェーンで `cargo build` を実行: + +`rustup run {{ツールチェーン名}} cargo build` + +- デフォルトのウェブブラウザでローカルの Rust ドキュメントを開く: + +`rustup doc` diff --git a/pages.ja/common/scrapy.md b/pages.ja/common/scrapy.md new file mode 100644 index 00000000000000..1da774acac103b --- /dev/null +++ b/pages.ja/common/scrapy.md @@ -0,0 +1,32 @@ +# scrapy + +> ウェブクローリングのフレームワークです。 +> もっと詳しく: 。 + +- プロジェクトを作成する: + +`scrapy startproject {{プロジェクト名}}` + +- スパイダーを作成する (プロジェクトのディレクトリ内での実行): + +`scrapy genspider {{スパイダー名}} {{ウェブサイトのドメイン名}}` + +- スパイダーを編集する (プロジェクトのディレクトリ内での実行): + +`scrapy edit {{スパイダー名}}` + +- スパイダーを実行する (プロジェクトのディレクトリ内での実行): + +`scrapy crawl {{スパイダー名}}` + +- Scrapyが見るようにWebページを取得しソースを`stdout`(標準出力)に表示する: + +`scrapy fetch {{url}}` + +- Scrapyが見ているようにデフォルトブラウザ内でウェブページを開く(より応答に忠実であるようにするためにJavaScriptを無効化している): + +`scrapy view {{url}}` + +- URL用のScrapyシェルを開き、Python(もしくは可能であればIPython)シェル内でページソースとの対話式でのやり取りを可能にする: + +`scrapy shell {{url}}` diff --git a/pages.ja/common/sed.md b/pages.ja/common/sed.md new file mode 100644 index 00000000000000..f2530ccd3566eb --- /dev/null +++ b/pages.ja/common/sed.md @@ -0,0 +1,36 @@ +# sed + +> スクリプトによるテキスト編集。 +> もっと詳しく: 。 + +- ファイルの各行で正規表現の最初の出現箇所を置換し、その結果を表示する: + +`sed 's/{{正規表現}}/{{置き換え後}}/' {{ファイル名}}` + +- ファイル内の拡張正規表現のすべての出現箇所を置換し、その結果を表示する: + +`sed -r 's/{{正規表現}}/{{置き換え後}}/g' {{ファイル名}}` + +- ファイル内のすべての文字列を置き換え、ファイルを上書きする(すなわち インプレイス): + +`sed -i 's/{{置き換え前}}/{{置き換え後}}/g' {{ファイル名}}}` + +- ラインパターンに一致する行のみを置換: + +`sed '/{{ラインパターン}}/s/{{置き換え前}}/{{置き換え後}}/' {{ファイル名}}` + +- ラインパターンに一致する行を削除する: + +`sed '/{{ラインパターン}}/d' {{ファイル名}}}` + +- ファイルの最初の 11 行を表示する: + +`sed 11q {{ファイル名}}` + +- 複数の検索・置換式をファイルに適用: + +`sed -e 's/{{置き換え名}}/{{置き換え後}}/' -e 's/{{置き換え前}}/{{置き換え後}}/' {{ファイル名}}` + +- 区切り文字 `/` を、検索や置換のパターンで使われていない他の文字(例:`#`)で置き換える: + +`sed 's#{{置き換え前}}#{{置き換え後}}#' {{ファイル名}}` diff --git a/pages.ja/common/ssh-keygen.md b/pages.ja/common/ssh-keygen.md new file mode 100644 index 00000000000000..3db10bbe6094ef --- /dev/null +++ b/pages.ja/common/ssh-keygen.md @@ -0,0 +1,36 @@ +# ssh-keygen + +> 認証やパスワード不要のログインなどに使われるSSHキーを生成します。 +> もっと詳しく: 。 + +- 対話的にキーを生成します: + +`ssh-keygen` + +- 32ラウンド回数の鍵導出関数でed25519鍵を生成し、特定のファイルに保存する: + +`ssh-keygen -t {{ed25519}} -a {{32}} -f {{~/.ssh/filename}}` + +- Eメールをコメントとして、RSA 4096ビット鍵を生成する: + +`ssh-keygen -t {{rsa}} -b {{4096}} -C "{{comment|email}}"` + +- known_hostsファイルからホストの鍵を削除する (既知のホストが新しい鍵を持つ場合に便利): + +`ssh-keygen -R {{remote_host}}` + +- 鍵のフィンガープリントをMD5 Hexで取得する: + +`ssh-keygen -l -E {{md5}} -f {{~/.ssh/filename}}` + +- 鍵のパスワードを変更する: + +`ssh-keygen -p -f {{~/.ssh/filename}}` + +- 鍵の形式を変更する (たとえば OPENSSH 形式から PEM 形式へ): + +`ssh-keygen -p -N "" -m {{PEM}} -f {{~/.ssh/OpenSSH_private_key}}` + +- 秘密鍵から公開鍵を取得する: + +`ssh-keygen -y -f {{~/.ssh/OpenSSH_private_key}}` diff --git a/pages.ja/common/ssh.md b/pages.ja/common/ssh.md new file mode 100644 index 00000000000000..91c5ff53fac91f --- /dev/null +++ b/pages.ja/common/ssh.md @@ -0,0 +1,37 @@ +# ssh + +> Secure Shell は、リモートシステムに安全にログオンするために使用されるプロトコルです。 +> これは、リモート・サーバー上でのロギングやコマンド実行に使用できます。 +> もっと詳しく: 。 + +- リモートサーバに接続する: + +`ssh {{ユーザ名}}@{{リモートホスト}}` + +- 特定のID(秘密鍵)でリモートサーバに接続する: + +`ssh -i {{path/to/key_file}} {{ユーザ名}}@{{リモートホスト}}` + +- 特定のポート([p]ort)を使ってリモートサーバに接続する: + +`ssh {{ユーザ名}}@{{リモートホスト}} -p {{2222}}` + +- リモートコマンドとのやり取りを許可する[t]ty割当を使って、リモートサーバ上でコマンドを実行する: + +`ssh {{ユーザ名}}@{{リモートホスト}} -t {{コマンド}} {{コマンド引数}}` + +- SSHトンネリング: [D]ynamic port forwarding (`localhost:1080` の SOCKSプロキシ): + +`ssh -D {{1080}} {{ユーザ名}}@{{リモートホスト}}` + +- SSHトンネリング: 特定のポート(`localhost:9999`から`example.org:80`)を転送し、擬似[T]tyの割当とリモートコマンドの実行(executio[N])を無効にする: + +`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{ユーザ名}}@{{リモートホスト}}` + +- SSH [J]umping: ジャンプホストを経由して、リモートサーバーに接続する (カンマ区切りで複数のジャンプホップを指定できる): + +`ssh -J {{ユーザ名}}@{{ジャンプホスト}} {{ユーザ名}}@{{リモートホスト}}` + +- ハングしたセッションを閉じる: + +`<~><.>` diff --git a/pages.ja/common/svn.md b/pages.ja/common/svn.md new file mode 100644 index 00000000000000..24dd552aa2667d --- /dev/null +++ b/pages.ja/common/svn.md @@ -0,0 +1,28 @@ +# svn + +> Subversion のコマンドラインクライアントツールです。 +> もっと詳しく: 。 + +- リポジトリから作業コピーをチェックアウトする: + +`svn co {{url/to/repository}}` + +- リポジトリからの変更を作業コピーに取り込む: + +`svn up` + +- ファイルやディレクトリをバージョン管理下に置き、リポジトリへの追加をスケジューリングする。これらは次のコミットで追加される: + +`svn add {{パス}}` + +- 作業コピーの変更をリポジトリに送信する: + +`svn ci -m {{コミットログメッセージ}} [{{パス}}]` + +- 過去10リビジョンの変更点を表示し、各リビジョンで変更されたファイルを表示する: + +`svn log -vl {{10}}` + +- ヘルプを表示する: + +`svn help` diff --git a/pages.ja/common/tar.md b/pages.ja/common/tar.md new file mode 100644 index 00000000000000..9679b30bcf84ca --- /dev/null +++ b/pages.ja/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> アーカイブ(複数のファイルやフォルダを 1 つのファイルに纏める)の為のユーティリティー。 +> gzip や bzip2 などの圧縮方法と組み合わせることが多いです。 +> もっと詳しく: 。 + +- アーカイブを作成し、それをファイルに書き込む: + +`tar cf {{出力ファイル名.tar}} {{ファイル1 ファイル2 ...}}` + +- gzip 形式で圧縮されたアーカイブを作成し、それをファイルに書き込む: + +`tar czf {{出力ファイル名.tar.gz}} {{ファイル1 ファイル2 ...}}` + +- 相対パスを用いてディレクトリから gzip 形式のアーカイブを作成する: + +`tar czf {{出力ファイル名.tar.gz}} {{[-C|--directory]}} {{ディレクトリへの相対パス}} .` + +- (圧縮された)アーカイブファイルを、カレントディレクトリに過程を詳細表示しながら展開する: + +`tar xvf {{入力ファイル名.tar[.gz|.bz2|.xz]}}` + +- (圧縮された)アーカイブファイルを、指定のディレクトリに展開する: + +`tar xf {{入力ファイル名.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{ディレクトリ}}` + +- 圧縮されたアーカイブを作成し、それにファイルを書き込む。なお、接尾辞で圧縮プログラムを指定する: + +`tar caf {{出力ファイル名.tar.xz}} {{ファイル1 ファイル2 ...}}` + +- tar ファイルの内容を詳細に表示する: + +`tar tvf {{入力ファイル名.tar}}` + +- アーカイブファイルからパターンに合致するファイルを抽出する: + +`tar xf {{入力ファイル名.tar}} --wildcards "{{*.html}}"` diff --git a/pages.ja/common/tee.md b/pages.ja/common/tee.md new file mode 100644 index 00000000000000..a8ffe433153dba --- /dev/null +++ b/pages.ja/common/tee.md @@ -0,0 +1,20 @@ +# tee + +> `stdin` から読み込んで `stdout` とファイル(またはコマンド)に書き込みます。 +> もっと詳しく: 。 + +- 各ファイルに `stdin` をコピーし、`stdout` にもコピーする: + +`echo "example" | tee {{path/to/file}}` + +- 与えられたファイルに追記する。上書きはしない: + +`echo "example" | tee {{[-a|--append]}} {{path/to/file}}` + +- ターミナルに `stdin` を表示し、さらに処理するために別のプログラムにパイプする: + +`echo "example" | tee {{/dev/tty}} | {{xargs printf "[%s]"}}` + +- "example"と言うディレクトリを作成し、"example"の文字バイト数を数え、"example"をターミナルに出力する: + +`echo "example" | tee >(xargs mkdir) >(wc -c)` diff --git a/pages.ja/common/terraform.md b/pages.ja/common/terraform.md new file mode 100644 index 00000000000000..45c01f8f6362c4 --- /dev/null +++ b/pages.ja/common/terraform.md @@ -0,0 +1,28 @@ +# terraform + +> インフラストラクチャをコードとして作成し、クラウドプロバイダにデプロイします。 +> もっと詳しく: 。 + +- 新規または既存のTerraform設定を初期化する: + +`terraform init` + +- 設定ファイルが構文的に正しいか確認する: + +`terraform validate` + +- Terraformの言語スタイルの規則に従って設定をフォーマットする: + +`terraform fmt` + +- 実行プランを生成して表示する: + +`terraform plan` + +- インフラストラクチャを構築または変更する: + +`terraform apply` + +- Terraformが管理するインフラストラクチャを破棄する: + +`terraform destroy` diff --git a/pages.ja/common/test.md b/pages.ja/common/test.md new file mode 100644 index 00000000000000..109949c688aa2f --- /dev/null +++ b/pages.ja/common/test.md @@ -0,0 +1,25 @@ +# test + +> 条件を評価します。 +> 条件が真と評価された場合は 0 を、偽と評価された場合は 1 を返します。 +> もっと詳しく: 。 + +- 与えられた変数が与えられた文字列と等しいかどうかをテスト: + +`test "{{$変数名}}" = "{{/bin/zsh}}"` + +- 与えられた変数が空であるかどうかをテスト: + +`test -z "{{$変数名}}"` + +- ファイルが存在するかどうかをテスト: + +`test -f "{{ファイルへのパス}}"` + +- ディレクトリが存在しないかどうかをテスト: + +`test ! -d "{{ディレクトリへのパス}}"` + +- if-else 文: + +`test {{条件}} && {{echo "真"}} || {{echo "偽"}}` diff --git a/pages.ja/common/time.md b/pages.ja/common/time.md new file mode 100644 index 00000000000000..9d3f49deabac72 --- /dev/null +++ b/pages.ja/common/time.md @@ -0,0 +1,13 @@ +# time + +> コマンドの実行にかかった時間を計測します。 +> 注意: `time` はシェル組み込み、スタンドアロン、またはその両方として存在することができます。 +> もっと詳しく: 。 + +- `コマンド`を実行し、計測時間を `stdout` に出力: + +`time {{コマンド}}` + +- 非常にシンプルなストップウォッチを作成 (Bash でのみ動作): + +`time read` diff --git a/pages.ja/common/tldr.md b/pages.ja/common/tldr.md index a07719eb1d12bb..3a9f335d28c83d 100644 --- a/pages.ja/common/tldr.md +++ b/pages.ja/common/tldr.md @@ -1,7 +1,7 @@ # tldr -> コマンドの簡単なマニュアル -> 詳しくはこちら: . +> コマンドの簡単なマニュアル。 +> もっと詳しく: 。 - コマンドのよくある使用例を見られます (ヒント: このページにたどり着いた方法です!): @@ -9,9 +9,8 @@ - tarのlinux向けtldrページを見る: -`tldr -p {{linux}} {{tar}}` +`tldr {{[-p|--platform]}} {{linux}} {{tar}}` - gitのサブコマンドについての情報を見る: `tldr {{git checkout}}` - diff --git a/pages.ja/common/tldrl.md b/pages.ja/common/tldrl.md new file mode 100644 index 00000000000000..c0c187ce11d4cc --- /dev/null +++ b/pages.ja/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> このコマンドは `tldr-lint` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr tldr-lint` diff --git a/pages.ja/common/tlmgr-arch.md b/pages.ja/common/tlmgr-arch.md new file mode 100644 index 00000000000000..f9cc1ee23cacfe --- /dev/null +++ b/pages.ja/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> このコマンドは `tlmgr platform` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr tlmgr platform` diff --git a/pages.ja/common/tmux.md b/pages.ja/common/tmux.md new file mode 100644 index 00000000000000..922a73d57dc801 --- /dev/null +++ b/pages.ja/common/tmux.md @@ -0,0 +1,38 @@ +# tmux + +> 端末のマルチプレクサ。 +> ウィンドウやペインなどによる複数セッションを可能にします。 +> も参照してください: `zellij`, `screen` 。 +> もっと詳しく: 。 + +- 新規セッションの開始: + +`tmux` + +- 新しい名前付きセッションを開始する: + +`tmux new -s {{セッション名}}` + +- 既存のセッションを一覧表示: + +`tmux ls` + +- 直近に使用したセッションにアタッチ: + +`tmux attach` + +- 現在のセッションからの切り離し(tmuxセッション内): + +`` + +- 新しいウィンドウを作成する(tmuxセッション内): + +`` + +- セッションとウィンドウの切り替え(tmuxセッション内): + +`` + +- 名前を指定してセッションを終了させる: + +`tmux kill-session -t {{セッション名}}` diff --git a/pages.ja/common/traceroute.md b/pages.ja/common/traceroute.md new file mode 100644 index 00000000000000..2f54ceb0497208 --- /dev/null +++ b/pages.ja/common/traceroute.md @@ -0,0 +1,32 @@ +# traceroute + +> ネットワークホストへの経路パケット追跡を表示します。 +> もっと詳しく: 。 + +- ホストへの経路追跡: + +`traceroute {{example.com}}` + +- IPアドレスとホスト名のマッピングを無効化する: + +`traceroute -n {{example.com}}` + +- 応答までの待機時間を秒単位で指定する: + +`traceroute --wait={{0.5}} {{example.com}}` + +- ホップごとのクエリ回数を指定する: + +`traceroute --queries={{5}} {{example.com}}` + +- プローブパケットのサイズをバイト単位で指定する: + +`traceroute {{example.com}} {{42}}` + +- 宛先までのMTUを特定する: + +`traceroute --mtu {{example.com}}` + +- UDPの代わりにICMPを使ってトレースルートする: + +`traceroute --icmp {{example.com}}` diff --git a/pages.ja/common/unalias.md b/pages.ja/common/unalias.md new file mode 100644 index 00000000000000..8289ff0c5aa72a --- /dev/null +++ b/pages.ja/common/unalias.md @@ -0,0 +1,12 @@ +# unalias + +> alias を削除します。 +> もっと詳しく: 。 + +- alias を削除する: + +`unalias {{別名}}` + +- 全ての alias を削除する: + +`unalias -a` diff --git a/pages.ja/common/uname.md b/pages.ja/common/uname.md new file mode 100644 index 00000000000000..3edc5585e3a280 --- /dev/null +++ b/pages.ja/common/uname.md @@ -0,0 +1,25 @@ +# uname + +> 現在のマシンとその上で動作しているオペレーティングシステムの詳細を表示します。 +> `lsb_release` も参照してください。 +> もっと詳しく: 。 + +- カーネル名を表示する: + +`uname` + +- システムアーキテクチャとプロセッサ情報を表示: + +`uname --machine --processor` + +- カーネル名、カーネルリリース名、カーネルバージョンを表示: + +`uname --kernel-name --kernel-release --kernel-version` + +- システムのホスト名を表示する: + +`uname --nodename` + +- 利用可能な全てのシステム情報を表示: + +`uname --all` diff --git a/pages.ja/common/vi.md b/pages.ja/common/vi.md new file mode 100644 index 00000000000000..98bbc0be7caff1 --- /dev/null +++ b/pages.ja/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> このコマンドは `vim` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr vim` diff --git a/pages.ja/common/vim.md b/pages.ja/common/vim.md new file mode 100644 index 00000000000000..c63abf8e568df9 --- /dev/null +++ b/pages.ja/common/vim.md @@ -0,0 +1,37 @@ +# vim + +> コマンドラインのテキストエディタである Vim(Vi IMproved)には、さまざまな種類のテキスト操作のためのモードが用意されています。 +> `` を押すと編集モードになります。`` を押すと通常モードに戻り、通常のテキスト挿入はできません。 +> もっと詳しく: 。 + +- ファイルを開く: + +`vim {{ファイルへのパス}}` + +- 指定した行番号でファイルを開く: + +`vim +{{ライン番号}} {{ファイルへのパス}}` + +- Vim のヘルプマニュアルを見る: + +`<:>help` + +- 保存と終了: + +`{{|<:>x|<:>wq}}` + +- 最後の操作を元に戻す: + +`` + +- ファイル内のパターンを検索する(``/`` を押すと次/前のマッチに進む): + +`{{検索パターン}}` + +- ファイル全体での正規表現による置換の実行: + +`<:>%s/{{パターン}}/{{置き換え後}}/g` + +- ライン番号の表示: + +`<:>set nu` diff --git a/pages.ja/common/wget.md b/pages.ja/common/wget.md new file mode 100644 index 00000000000000..8bbe6e901cff8c --- /dev/null +++ b/pages.ja/common/wget.md @@ -0,0 +1,37 @@ +# wget + +> Webからファイルをダウンロードします。 +> HTTP, HTTPS, そして FTP をサポートします。 +> もっと詳しく: 。 + +- URLの内容を、ファイルにダウンロードする (この場合 "foo" と言う名前で): + +`wget {{https://example.com/foo}}` + +- URLの内容を、ファイルにダウンロードする (この場合 "bar" と言う名前で): + +`wget {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}` + +- 1つのウェブページと、その全てのリソースを、リクエスト間隔を3秒にしてダウンロードする (スクリプト、スタイルシート、画像など): + +`wget {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{[-w|--wait]}} 3 {{https://example.com/somepage.html}}` + +- ディレクトリと、そのサブディレクトリ内のリストされたファイルを、全てダウンロードする (埋め込まれたページ要素はダウンロードしない): + +`wget {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/somepath/}}` + +- ダウンロード速度と接続再試行回数を制限する: + +`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/somepath/}}` + +- HTTPサーバーからBasic認証を使って、ファイルをダウンロードする (FTPも機能する): + +`wget --user {{ユーザ名}} --password {{パスワード}} {{https://example.com}}` + +- 未完了のダウンロードを続行する: + +`wget {{[-c|--continue]}} {{https://example.com}}` + +- テキストファイルに格納されている全てのURLを、特定のディレクトリにダウンロードする: + +`wget {{[-P|--directory-prefix]}} {{path/to/directory}} {{[-i|--input-file]}} {{URLs.txt}}` diff --git a/pages.ja/common/z.md b/pages.ja/common/z.md index 162070766d9873..639c407b1140b6 100644 --- a/pages.ja/common/z.md +++ b/pages.ja/common/z.md @@ -1,28 +1,28 @@ # z > 高頻度で利用されるディレクトリを把握し、文字列や正規表現をつかうことでスムーズに移動できるようにします。 -> 詳しくはこちら: . +> もっと詳しく: 。 -- "foo"が名前に含まれるディレクトリに移動する。 +- "foo"が名前に含まれるディレクトリに移動する: `z {{foo}}` -- "foo"と"bar"が名前に含まれるディレクトリに移動する。 +- "foo"と"bar"が名前に含まれるディレクトリに移動する: `z {{foo}} {{bar}}` -- "foo"と最もマッチングするディレクトリに移動する。 +- "foo"と最もマッチングするディレクトリに移動する: `z -r {{foo}}` -- "foo"とマッチングするディレクトリの中で、最も最近アクセスしたディレクトリに移動する。 +- "foo"とマッチングするディレクトリの中で、最も最近アクセスしたディレクトリに移動する: `z -t {{foo}}` -- `z`コマンドのデータベースの中で、`foo` にマッチングするディレクトリの一覧を表示する。 +- `z`コマンドのデータベースの中で、`foo` にマッチングするディレクトリの一覧を表示する: `z -l {{foo}}` -- 現在のディレクトリを`z`コマンドのデータベース除去する。 +- 現在のディレクトリを`z`コマンドのデータベース除去する: `z -x .` diff --git a/pages.ja/common/zip.md b/pages.ja/common/zip.md new file mode 100644 index 00000000000000..08aa303a219f8f --- /dev/null +++ b/pages.ja/common/zip.md @@ -0,0 +1,33 @@ +# zip + +> ファイルを Zip アーカイブにパッケージして圧縮(アーカイブ)します。 +> `unzip` も参照してください。 +> もっと詳しく: 。 + +- 指定したアーカイブに、ファイル/ディレクトリを追加する ([r]ecursively): + +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- 指定したアーカイブから、ファイル/ディレクトリを削除する ([d]elete): + +`zip {{[-d|--delete]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- 指定されたファイル/ディレクトリ以外 (e[x]cluding) をアーカイブする: + +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{[-x|--exclude]}} {{path/to/excluded_files_or_directories}}` + +- ファイルやディレクトリを、指定の圧縮レベルでアーカイブする (`0` - 最低、 `9` - 最高): + +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- パスワードで暗号化 ([e]ncrypted) されたアーカイブを作成: + +`zip {{[-re|--recurse-paths --encrypt]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- ファイル/ディレクトリを複数に分割 ([s]plit) された Zip アーカイブ(例えば 3GB の部分)にアーカイブする: + +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- 指定したアーカイブの内容を表示する: + +`zip {{[-sf|--split-size --freshen]}} {{path/to/compressed.zip}}` diff --git a/pages.ja/linux/apk.md b/pages.ja/linux/apk.md new file mode 100644 index 00000000000000..7245aec3cfc73e --- /dev/null +++ b/pages.ja/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> Alpine Linux のパッケージ管理ツールです。 +> もっと詳しく: 。 + +- 全てのリモートリポジトリからリポジトリインデックスを更新する: + +`apk update` + +- 新しいパッケージをインストールする: + +`apk add {{パッケージ名}}` + +- パッケージの削除: + +`apk del {{パッケージ名}}` + +- パッケージを修復、または主な依存関係を変更せずにアップグレードする: + +`apk fix {{パッケージ名}}` + +- キーワードでパッケージを検索する: + +`apk search {{キーワード}}` + +- 特定のパッケージに関する情報を表示する: + +`apk info {{パッケージ名}}` diff --git a/pages.ja/linux/apt.md b/pages.ja/linux/apt.md new file mode 100644 index 00000000000000..0ff0eff300b7f1 --- /dev/null +++ b/pages.ja/linux/apt.md @@ -0,0 +1,37 @@ +# apt + +> Debian系ディストリビューションで使われるパッケージ管理システムです。 +> Ubuntuのバージョンが16.04か、それ以降で対話モードを使う場合`apt-get`の代わりとして使用します。 +> もっと詳しく: 。 + +- 利用可能なパーケージとバージョンのリストの更新(他の`apt`コマンドの前での実行を推奨): + +`sudo apt update` + +- 指定されたパッケージの検索: + +`apt search {{パッケージ}}` + +- パッケージの情報を出力: + +`apt show {{パッケージ}}` + +- パッケージのインストール、または利用可能な最新バージョンに更新: + +`sudo apt install {{パッケージ}}` + +- パッケージの削除(`sudo apt remove --purge`の場合設定ファイルも削除): + +`sudo apt remove {{パッケージ}}` + +- インストールされている全てのパッケージを最新のバージョンにアップグレード: + +`sudo apt upgrade` + +- インストールできるすべてのパッケージを表示: + +`apt list` + +- インストールされた全てのパッケージを表示(依存関係も表示): + +`apt list {{[-i|--installed]}}` diff --git a/pages.ja/linux/column.md b/pages.ja/linux/column.md new file mode 100644 index 00000000000000..171ba9b511651f --- /dev/null +++ b/pages.ja/linux/column.md @@ -0,0 +1,21 @@ +# column + +> `stdin` またはファイルを複数の列にフォーマットします。 +> デフォルトの区切り文字は空白文字です。 +> もっと詳しく: 。 + +- 30文字幅の表示用にコマンドの出力をフォーマットする: + +`printf "header1 header2\nbar foo\n" | column {{[-c|--output-width]}} {{30}}` + +- カラムを自動的に分割し、表形式に自動整列する: + +`printf "header1 header2\nbar foo\n" | column {{[-t|--table]}}` + +- `table`オプションにカラムの区切り文字を指定する(CSVの場合は","など) (デフォルトは空白文字): + +`printf "header1,header2\nbar,foo\n" | column {{[-t|--table]}} {{[-s|--separator]}} {{,}}` + +- 列を埋める前に行を埋める: + +`printf "header1\nbar\nfoobar\n" | column {{[-c|--output-width]}} {{30}} {{[-x|--fillrows]}}` diff --git a/pages.ja/linux/df.md b/pages.ja/linux/df.md new file mode 100644 index 00000000000000..28ec94a7f6a401 --- /dev/null +++ b/pages.ja/linux/df.md @@ -0,0 +1,28 @@ +# df + +> ファイルシステムのディスク使用量の概要を表示します。 +> もっと詳しく: 。 + +- すべてのファイルシステムとそのディスク使用量を表示する: + +`df` + +- すべてのファイルシステムとそのディスク使用量を、人が解釈可能な形式で表示する: + +`df {{[-h|--human-readable]}}` + +- 与えられたファイルまたはディレクトリを含むファイルシステムと、そのディスク使用量を表示する: + +`df {{path/to/file_or_directory}}` + +- 空きinode数の統計を含める: + +`df {{[-i|--inodes]}}` + +- ファイルシステムを表示するが、指定したタイプは除外する: + +`df {{[-x|--exclude-type]}} {{squashfs}} {{[-x|--exclude-type]}} {{tmpfs}}` + +- ファイルシステムのタイプを表示する: + +`df {{[-T|--print-type]}}` diff --git a/pages.ja/linux/dnf.md b/pages.ja/linux/dnf.md new file mode 100644 index 00000000000000..b5a49ab2b7ab15 --- /dev/null +++ b/pages.ja/linux/dnf.md @@ -0,0 +1,38 @@ +# dnf + +> RHEL、Fedora、CentOS 用のパッケージ管理ユーティリティ (yum の後継)。 +> `group`, `config-manager` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> 他のパッケージマネジャーの同等のコマンドについては、 を参照してください。 +> もっと詳しく: 。 + +- インストールされたパッケージを、利用可能な最新バージョンにアップグレードする: + +`sudo dnf upgrade` + +- キーワードでパッケージを検索: + +`dnf search {{キーワード1 キーワード2 ...}}` + +- パッケージの詳細を表示: + +`dnf info {{パッケージ}}` + +- 新しいパッケージをインストール (`-y` を使用すると、全てのプロンプトを自動的に追認する): + +`sudo dnf install {{パッケージ1 パッケージ2 ...}}` + +- パッケージを削除: + +`sudo dnf remove {{パッケージ1 パッケージ2 ...}}` + +- インストールされているパッケージを一覧表示: + +`dnf list --installed` + +- 指定したコマンドを提供するパッケージを検索: + +`dnf provides {{コマンド}}` + +- 過去の全オペレーションを見る: + +`dnf history` diff --git a/pages.ja/linux/flatpak.md b/pages.ja/linux/flatpak.md new file mode 100644 index 00000000000000..dd877926fe8603 --- /dev/null +++ b/pages.ja/linux/flatpak.md @@ -0,0 +1,36 @@ +# flatpak + +> Flatpak アプリケーションとランタイムのビルド、インストール、実行をします。 +> もっと詳しく: 。 + +- インストール済のアプリケーションを実行する: + +`flatpak run {{com.example.app}}` + +- リモートソースからアプリケーションをインストール: + +`flatpak install {{リモート名}} {{com.example.app}}` + +- ランタイムは無視して、インストールされたアプリケーションを一覧表示: + +`flatpak list --app` + +- インストールされている全てのアプリケーションとランタイムを更新: + +`flatpak update` + +- リモートソースを追加: + +`flatpak remote-add --if-not-exists {{リモート名}} {{リモートurl}}` + +- インストール済のアプリケーションを削除: + +`flatpak remove {{com.example.app}}` + +- 未使用のアプリケーションを全て削除: + +`flatpak remove --unused` + +- インストールされているアプリケーションの情報を表示: + +`flatpak info {{com.example.app}}` diff --git a/pages.ja/linux/ip-route-list.md b/pages.ja/linux/ip-route-list.md new file mode 100644 index 00000000000000..4fbf6c70a207df --- /dev/null +++ b/pages.ja/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> このコマンドは `ip route show`.のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr ip route show` diff --git a/pages.ja/linux/ip.md b/pages.ja/linux/ip.md new file mode 100644 index 00000000000000..c0be0457174273 --- /dev/null +++ b/pages.ja/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> ルーティング、デバイス、ポリシールーティング、トンネルの表示/操作。 +> `address` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- インターフェースの詳細情報を表示する: + +`ip {{[a|address]}}` + +- 簡単なネットワークレイヤの情報を持つインターフェースを一覧表示する: + +`ip {{[-br a|-brief address]}}` + +- リンク層の簡単な情報を持つインターフェースを一覧表示する: + +`ip {{[-br l|-brief link]}}` + +- ルーティングテーブルを表示する: + +`ip {{[r|route]}}` + +- ネイバー(ARP テーブル)を表示する: + +`ip {{[n|neighbour]}}` + +- インターフェースを up/down する: + +`sudo ip {{[l|link]}} {{[s|set]}} {{インターフェース}} {{up|down}}` + +- インターフェースに IP アドレスを追加/削除する: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{インターフェース}}` + +- デフォルトルートを追加する: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{インターフェース}}` diff --git a/pages.ja/linux/iw.md b/pages.ja/linux/iw.md new file mode 100644 index 00000000000000..06980f5d52d919 --- /dev/null +++ b/pages.ja/linux/iw.md @@ -0,0 +1,37 @@ +# iw + +> ワイヤレスデバイスの表示と操作を行います。 +> `iw dev` も参照してください。 +> もっと詳しく: 。 + +- 利用可能なワイヤレスネットワークをスキャンする: + +`iw dev {{wlp}} scan` + +- 開いているワイヤレスネットワークに接続する: + +`iw dev {{wlp}} connect {{SSID}}` + +- 現在の接続を切断する: + +`iw dev {{wlp}} disconnect` + +- 現在の接続に関する情報を表示: + +`iw dev {{wlp}} link` + +- 全ての物理・論理ワイヤレスネットワークインターフェースを一覧表示: + +`iw dev` + +- 全ての物理ハードウェアインターフェースの、全てのワイヤレス機能を一覧表示: + +`iw phy` + +- カーネルの現在のワイヤレス規制ドメイン情報を一覧表示: + +`iw reg get` + +- 全てのコマンドのヘルプを表示: + +`iw help` diff --git a/pages.ja/linux/lsb_release.md b/pages.ja/linux/lsb_release.md new file mode 100644 index 00000000000000..547f061f74e16f --- /dev/null +++ b/pages.ja/linux/lsb_release.md @@ -0,0 +1,20 @@ +# lsb_release + +> LSB (Linux Standard Base)とディストリビューション固有の情報を取得します。 +> もっと詳しく: 。 + +- 利用可能なすべての情報を表示する: + +`lsb_release -a` + +- オペレーティングシステムの説明(通常はフルネーム)を表示する: + +`lsb_release -d` + +- オペレーティングシステムの名前(ID)だけを表示する: + +`lsb_release -i -s` + +- ディストリビューションのリリース番号とコードネームを表示する: + +`lsb_release -rcs` diff --git a/pages.ja/linux/ncal.md b/pages.ja/linux/ncal.md new file mode 100644 index 00000000000000..22f0674955570b --- /dev/null +++ b/pages.ja/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> このコマンドは `cal` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr cal` diff --git a/pages.ja/linux/sed.md b/pages.ja/linux/sed.md new file mode 100644 index 00000000000000..547ad83b945bed --- /dev/null +++ b/pages.ja/linux/sed.md @@ -0,0 +1,33 @@ +# sed + +> スクリプタブルな方法でテキストを編集します。 +> `awk`, `ed` も参照してください。 +> もっと詳しく: 。 + +- 全ての入力行の `apple` (基本正規表現)を `mango` (基本正規表現)に置換し、結果を`stdout`に出力する: + +`{{command}} | sed 's/apple/mango/g'` + +- 全ての入力行で出現する全ての `apple` (拡張正規表現)を `APPLE` (拡張正規表現)に置換し、結果を`stdout`に出力する: + +`{{command}} | sed {{[-E|--regexp-extended]}} 's/(apple)/\U\1/g'` + +- 特定のファイルに出現する全ての `apple` (基本正規表現)を `mango` (基本正規表現)に置換し、元のファイルを上書きする: + +`sed {{[-i|--in-place]}} 's/apple/mango/g' {{path/to/file}}` + +- 特定のスクリプトファイルを実行し、結果を`stdout`に出力する: + +`{{command}} | sed {{[-f|--file]}} {{path/to/script.sed}}` + +- 最初の行だけを`stdout`に出力する: + +`{{command}} | sed {{[-n|--quiet]}} '1p'` + +- ファイルの最初の行を削除する: + +`sed {{[-i|--in-place]}} 1d {{path/to/file}}` + +- ファイルの先頭行に改行を挿入する: + +`sed {{[-i|--in-place]}} '1i\your new line text\' {{path/to/file}}` diff --git a/pages.ja/linux/snap.pkg.md b/pages.ja/linux/snap.pkg.md new file mode 100644 index 00000000000000..4ec17b0aa89fa4 --- /dev/null +++ b/pages.ja/linux/snap.pkg.md @@ -0,0 +1,37 @@ +# snap + +> 自己完結型の "snap" ソフトウェアパッケージを管理します。 +> `apt` が `.deb` の為のものであるのと似ています。 +> もっと詳しく: 。 + +- パッケージを検索する: + +`snap find {{クエリ}}` + +- パッケージをインストール: + +`snap install {{パッケージ}}` + +- パッケージを更新: + +`snap refresh {{パッケージ}}` + +- パッケージを別のチャンネルに更新 (track, risk, または branch): + +`snap refresh {{パッケージ}} --channel={{チャンネル}}` + +- 全てのパッケージを更新する: + +`snap refresh` + +- インストールされている snap ソフトウェアの基本情報を表示: + +`snap list` + +- パッケージをアンインストール: + +`snap remove {{パッケージ}}` + +- システムに最近の snap の変更がないか確認: + +`snap changes` diff --git a/pages.ja/linux/systemctl.md b/pages.ja/linux/systemctl.md new file mode 100644 index 00000000000000..8231a8780dd686 --- /dev/null +++ b/pages.ja/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> systemd システムとサービスマネージャーを制御します。 +> もっと詳しく: 。 + +- 実行中のサービスを全て表示する: + +`systemctl status` + +- 失敗状態のユニット一覧: + +`systemctl --failed` + +- サービスを Start/Stop/Restart/Reload/Show 状態にする: + +`systemctl {{start|stop|restart|reload|status}} {{ユニット}}` + +- 起動時に起動するユニットを Enable/Disable に設定する: + +`systemctl {{enable|disable}} {{ユニット}}` + +- systemdを再読み込みし、新規または変更されたユニットをスキャンする: + +`systemctl daemon-reload` + +- ユニットが active/enabled/failed かをチェックする: + +`systemctl {{is-active|is-enabled|is-failed}} {{ユニット}}` + +- 全ての service/socket/automount ユニットを running/failed 状態でフィルタリングして一覧表示する: + +`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` + +- ユニットファイルの内容と絶対パスを表示する: + +`systemctl cat {{ユニット}}` diff --git a/pages.ja/linux/ufw.md b/pages.ja/linux/ufw.md new file mode 100644 index 00000000000000..170ebf5258cc7d --- /dev/null +++ b/pages.ja/linux/ufw.md @@ -0,0 +1,37 @@ +# ufw + +> シンプルなファイアウォール。 +> ファイアウォールの設定を簡単にすることを目的とした `iptables` のフロントエンドです。 +> もっと詳しく: 。 + +- ufw を有効化: + +`ufw enable` + +- ufw を無効化: + +`ufw disable` + +- ufw ルールを、番号と共に表示する: + +`ufw status numbered` + +- このホストのポート 5432 へのトラフィックを、サービスを識別するコメント付きで許可: + +`ufw allow {{5432}} comment "{{Service}}"` + +- 192.168.0.4 からこのホストの任意のアドレスへのポート 22 の TCP トラフィックのみを許可: + +`ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}` + +- このホストのポート 80 のトラフィックを拒否: + +`ufw deny {{80}}` + +- 8412:8500 の範囲のポートへの全ての UDP トラフィックを拒否: + +`ufw deny proto {{udp}} from {{any}} to {{any}} port {{8412:8500}}` + +- 特定のルールを削除する。ルール番号は `ufw status numbered` コマンドで取得できる: + +`ufw delete {{ルール番号}}` diff --git a/pages.ja/linux/whatis.md b/pages.ja/linux/whatis.md new file mode 100644 index 00000000000000..c9b50491dccc31 --- /dev/null +++ b/pages.ja/linux/whatis.md @@ -0,0 +1,24 @@ +# whatis + +> マニュアルページから、一行の説明文を表示します。 +> もっと詳しく: 。 + +- manページの説明文を表示する: + +`whatis {{コマンド}}` + +- 説明文を行末で切らないで表示する: + +`whatis --long {{コマンド}}` + +- globパターンにマッチするすべてのコマンドの説明文を表示する: + +`whatis --wildcard {{net*}}` + +- 正規表現でmanページの説明文を検索する: + +`whatis --regex '{{wish[0-9]\.[0-9]}}'` + +- 言語を指定して説明文で表示する: + +`whatis --locale={{ja}} {{コマンド}}` diff --git a/pages.ja/windows/assoc.md b/pages.ja/windows/assoc.md index e08516c2700814..c53869ca41e1da 100644 --- a/pages.ja/windows/assoc.md +++ b/pages.ja/windows/assoc.md @@ -1,7 +1,7 @@ # assoc -> ファイル拡張子の関連付けを表示または変更します -> 詳しくはこちら: . +> ファイル拡張子の関連付けを表示または変更します。 +> もっと詳しく: 。 - 関連するすべてのファイルタイプをします: diff --git a/pages.ja/windows/attrib.md b/pages.ja/windows/attrib.md index 6daecf3aa6b3b7..6fb634e83019b9 100644 --- a/pages.ja/windows/attrib.md +++ b/pages.ja/windows/attrib.md @@ -1,28 +1,8 @@ # attrib -> ファイルまたはディレクトリの属性を表示または変更します -> 詳しくはこちら: . +> ファイルまたはディレクトリの属性を表示または変更します。 +> もっと詳しく: 。 - 現在のディレクトリ内のファイルの属性を表示します: `attrib` - -- 現在のディレクトリとサブディレクトリにあるファイルの属性を表示します: - -`attrib /S` - -- 現在のディレクトリとサブディレクトリ内のファイルとディレクトリの属性を表示します: - -`attrib /S /D` - -- ファイルに読み取り専用属性を追加します: - -`attrib +R {{ファイル名.txt}}` - -- システムとファイルの非表示属性を削除します: - -`attrib -S -H {{ファイル名.txt}}` - -- 非表示の属性をディレクトリに追加します: - -`attrib +H {{ディレクトリパス}}` diff --git a/pages.ja/windows/cd.md b/pages.ja/windows/cd.md index 50a79400d800b0..41ae7ca15bae14 100644 --- a/pages.ja/windows/cd.md +++ b/pages.ja/windows/cd.md @@ -1,7 +1,7 @@ # cd -> 現在の作業ディレクトリの名前を表示するか、現在の作業ディレクトリを変更します -> 詳しくはこちら: . +> 現在の作業ディレクトリの名前を表示するか、現在の作業ディレクトリを変更します。 +> もっと詳しく: 。 - 同じドライブ内のディレクトリに移動します: diff --git a/pages.ja/windows/chkdsk.md b/pages.ja/windows/chkdsk.md new file mode 100644 index 00000000000000..1b4c8cd28fe96d --- /dev/null +++ b/pages.ja/windows/chkdsk.md @@ -0,0 +1,20 @@ +# chkdsk + +> ファイルシステムとボリュームのメタデータにエラーがないかチェックします。 +> もっと詳しく: 。 + +- チェックするドライブ文字(コロンの後に続く)、マウントポイント、またはボリューム名を指定する: + +`chkdsk {{ボリューム名}}` + +- 特定のボリュームのエラーを修正する: + +`chkdsk {{ボリューム名}} /f` + +- チェックする前に指定ボリュームをマウント解除する: + +`chkdsk {{ボリューム名}} /x` + +- ログファイルのサイズを指定したサイズに変更する (NTFS の場合のみ): + +`chkdsk /l{{サイズ数}}` diff --git a/pages.ja/windows/choco-apikey.md b/pages.ja/windows/choco-apikey.md index 93cc4951377b38..669b184c15081f 100644 --- a/pages.ja/windows/choco-apikey.md +++ b/pages.ja/windows/choco-apikey.md @@ -1,7 +1,7 @@ -# choco-apikey +# choco apikey -> ChocolateyソースのAPIキーを管理します -> 詳しくはこちら: . +> ChocolateyソースのAPIキーを管理します。 +> もっと詳しく: 。 - ソースとそのAPIキーのリストを表示します: diff --git a/pages.ja/windows/choco-feature.md b/pages.ja/windows/choco-feature.md index 6680fc406a6957..d3a76660234b2e 100644 --- a/pages.ja/windows/choco-feature.md +++ b/pages.ja/windows/choco-feature.md @@ -1,7 +1,7 @@ # choco feature -> Chocolateyで機能を操作します. -> 詳しくはこちら: . +> Chocolateyで機能を操作します。 +> もっと詳しく: 。 - 利用可能な機能のリストを表示します: diff --git a/pages.ja/windows/choco-info.md b/pages.ja/windows/choco-info.md index faa43df89d95b2..926b902e97f33e 100644 --- a/pages.ja/windows/choco-info.md +++ b/pages.ja/windows/choco-info.md @@ -1,7 +1,7 @@ # choco info -> Chocolateyのパッケージに関する詳細情報を表示します -> 詳しくはこちら: . +> Chocolateyのパッケージに関する詳細情報を表示します。 +> もっと詳しく: 。 - 特定のパッケージに関する情報を表示します: diff --git a/pages.ja/windows/choco.md b/pages.ja/windows/choco.md index dde497a5a44750..557eeb758fab5e 100644 --- a/pages.ja/windows/choco.md +++ b/pages.ja/windows/choco.md @@ -1,8 +1,8 @@ # choco -> Chocolateyパッケージマネージャーのコマンドラインインターフェイスです -> 詳細については、「choco install」、「choco upgrade」などのページを参照してください -> 詳しくはこちら: . +> Chocolateyパッケージマネージャーのコマンドラインインターフェイスです。 +> `install` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 - Chocolateyコマンドを実行します: diff --git a/pages.ja/windows/cinst.md b/pages.ja/windows/cinst.md new file mode 100644 index 00000000000000..eff1d06086891f --- /dev/null +++ b/pages.ja/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> このコマンドは `choco install` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr choco install` diff --git a/pages.ja/windows/clip.md b/pages.ja/windows/clip.md index e23e7235571d60..551c8c5aa8870f 100644 --- a/pages.ja/windows/clip.md +++ b/pages.ja/windows/clip.md @@ -1,7 +1,7 @@ # clip -> 入力コンテンツをWindowsクリップボードにコピーします -> 詳しくはこちら: . +> 入力コンテンツをWindowsクリップボードにコピーします。 +> もっと詳しく: 。 - コマンドライン出力をWindowsクリップボードにパイプします: diff --git a/pages.ja/windows/clist.md b/pages.ja/windows/clist.md new file mode 100644 index 00000000000000..536e7ee09456ca --- /dev/null +++ b/pages.ja/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> このコマンドは `choco list` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr choco list` diff --git a/pages.ja/windows/cls.md b/pages.ja/windows/cls.md index 50025bf70f8d97..8416a28870089e 100644 --- a/pages.ja/windows/cls.md +++ b/pages.ja/windows/cls.md @@ -1,7 +1,7 @@ # cls -> 画面をクリアします -> 詳しくはこちら: . +> 画面をクリアします。 +> もっと詳しく: 。 - 画面をクリアします: diff --git a/pages.ja/windows/cmd.md b/pages.ja/windows/cmd.md index bd60973c78b98c..55da474c245ea2 100644 --- a/pages.ja/windows/cmd.md +++ b/pages.ja/windows/cmd.md @@ -1,7 +1,7 @@ # cmd -> Windowsコマンドインタープリター -> 詳しくはこちら: . +> Windowsコマンドインタープリター。 +> もっと詳しく: 。 - コマンドインタープリターの新しいインスタンスを開始します: @@ -9,28 +9,24 @@ - 指定されたコマンドを実行して終了します: -`cmd /c "{{コマンド}}"` +`cmd /c {{コマンド}}` - 指定されたコマンドを実行して、インタラクティブシェルに入ります: -`cmd /k "{{コマンド}}"` +`cmd /k {{コマンド}}` - コマンドの出力での「echo」の使用を無効にします: `cmd /q` -- コマンド拡張機能を有効または無効にします: - -`cmd /e:{{on|off}}` - -- ファイルまたはディレクトリのオートコンプリートを有効または無効にします: - -`cmd /f:{{on|off}}` - - 環境変数の拡張を有効または無効にします: `cmd /v:{{on|off}}` +- コマンド拡張機能を有効または無効にします: + +`cmd /e:{{on|off}}` + - 出力でUnicodeエンコーディングを使用するように強制します: `cmd /u` diff --git a/pages.ja/windows/cuninst.md b/pages.ja/windows/cuninst.md new file mode 100644 index 00000000000000..74cee68b7e9dc6 --- /dev/null +++ b/pages.ja/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> このコマンドは `choco uninstall` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr choco uninstall` diff --git a/pages.ja/windows/dir.md b/pages.ja/windows/dir.md index 9a0ac8724382ce..0f27d2e683a93b 100644 --- a/pages.ja/windows/dir.md +++ b/pages.ja/windows/dir.md @@ -1,7 +1,7 @@ # dir -> ディレクトリの内容を一覧表示します -> 詳しくはこちら: . +> ディレクトリの内容を一覧表示します。 +> もっと詳しく: 。 - 現在のディレクトリの内容を表示します: diff --git a/pages.ja/windows/diskpart.md b/pages.ja/windows/diskpart.md new file mode 100644 index 00000000000000..32f9db9cd5bbf0 --- /dev/null +++ b/pages.ja/windows/diskpart.md @@ -0,0 +1,32 @@ +# diskpart + +> ディスク、ボリューム、およびパーティションマネージャ。 +> もっと詳しく: 。 + +- 管理者コマンドプロンプトでdiskpartを単独で実行し、コマンドラインを入力する: + +`diskpart` + +- 全てのディスクを一覧表示する: + +`list disk` + +- ボリュームを選択: + +`select volume {{ボリューム}}` + +- 選択したボリュームにドライブレターを割り当てる: + +`assign letter {{ドライブレター}}` + +- 新しいパーティションを作成: + +`create partition primary` + +- 選択したボリュームを有効化: + +`active` + +- diskpartを終了する: + +`exit` diff --git a/pages.ja/windows/find.md b/pages.ja/windows/find.md index 7c596fd8160c9b..e569904a97ae34 100644 --- a/pages.ja/windows/find.md +++ b/pages.ja/windows/find.md @@ -1,20 +1,20 @@ # find -> 1つ以上のファイルで指定された文字列を検索します -> 詳しくはこちら: . +> 1つ以上のファイルで指定された文字列を検索します。 +> もっと詳しく: 。 - 指定された文字列を含む行を検索します: -`find {{文字列}} {{ファイルまたはディレクトリのパス}}` +`find "{{文字列}}" {{ファイルまたはディレクトリのパス}}` - 指定された文字列を含まない行を表示します: -`find {{文字列}} {{ファイルまたはディレクトリのパス}} /v` +`find "{{文字列}}" {{ファイルまたはディレクトリのパス}} /v` - 指定された文字列を含む行数を表示します: -`find {{文字列}} {{ファイルまたはディレクトリのパス}} /c` +`find "{{文字列}}" {{ファイルまたはディレクトリのパス}} /c` - 行リストとともに行番号を表示します: -`find {{文字列}} {{ファイルまたはディレクトリのパス}} /n` +`find "{{文字列}}" {{ファイルまたはディレクトリのパス}} /n` diff --git a/pages.ja/windows/findstr.md b/pages.ja/windows/findstr.md new file mode 100644 index 00000000000000..c1aaa20b7459db --- /dev/null +++ b/pages.ja/windows/findstr.md @@ -0,0 +1,36 @@ +# findstr + +> 1 つ以上のファイル内で指定されたテキストを検索します。 +> もっと詳しく: 。 + +- 全てのファイルから 1 つ以上の文字列を検索: + +`findstr "{{文字列1 文字列2 ...}}" *` + +- パイプされたコマンドの出力で 1 つ以上の文字列を検索: + +`{{dir}} | findstr "{{文字列1 文字列2 ...}}"` + +- 全てのファイル内の 1 つ以上の文字列を再帰的(recur[s]ively)に検索: + +`findstr /s "{{文字列1 文字列2 ...}}" *` + +- 大文字と小文字を区別せず文字列を検索: + +`findstr /i "{{文字列1 文字列2 ...}}" *` + +- 正規表現を使用し、全てのファイル内の文字列を検索: + +`findstr /r "{{エクスプレッション}}" *` + +- 全テキストファイルでリテラル文字列 (スペースを含む) を検索: + +`findstr /c:"{{文字列1 文字列2 ...}}" *.txt` + +- 一致する各行の前に行番号を表示: + +`findstr /n "{{文字列1 文字列2 ...}}" *` + +- 一致するファイル名のみを表示: + +`findstr /m "{{文字列1 文字列2 ...}}" *` diff --git a/pages.ja/windows/ipconfig.md b/pages.ja/windows/ipconfig.md index 9f293c567c915f..bd8a71344bfed8 100644 --- a/pages.ja/windows/ipconfig.md +++ b/pages.ja/windows/ipconfig.md @@ -1,7 +1,7 @@ # ipconfig > Windowsのネットワーク構成を表示および管理します。 -> 詳しくはこちら: . +> もっと詳しく: 。 - ネットワークアダプタのリストを表示します: diff --git a/pages.ja/windows/iwr.md b/pages.ja/windows/iwr.md new file mode 100644 index 00000000000000..3c397636cc52e2 --- /dev/null +++ b/pages.ja/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> このコマンドは `invoke-webrequest` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr invoke-webrequest` diff --git a/pages.ja/windows/mkdir.md b/pages.ja/windows/mkdir.md index 42e8afe4e1348a..9b468ae2934a14 100644 --- a/pages.ja/windows/mkdir.md +++ b/pages.ja/windows/mkdir.md @@ -1,7 +1,7 @@ # mkdir -> ディレクトリを作成します -> 詳しくはこちら: . +> ディレクトリを作成します。 +> もっと詳しく: 。 - ディレクトリを作成します: diff --git a/pages.ja/windows/mklink.md b/pages.ja/windows/mklink.md index e66fe3a6deacda..b21da14a347fb8 100644 --- a/pages.ja/windows/mklink.md +++ b/pages.ja/windows/mklink.md @@ -1,7 +1,7 @@ # mklink -> シンボリックリンクを作成します -> 詳しくはこちら: . +> シンボリックリンクを作成します。 +> もっと詳しく: 。 - ファイルへのシンボリックリンクを作成します: diff --git a/pages.ja/windows/more.md b/pages.ja/windows/more.md new file mode 100644 index 00000000000000..6cdb1814dcfe50 --- /dev/null +++ b/pages.ja/windows/more.md @@ -0,0 +1,32 @@ +# more + +> `stdin` またはファイルからのページ分割された出力を表示します。 +> もっと詳しく: 。 + +- `stdin`の出力をページ分割して表示する: + +`{{echo test}} | more` + +- 1つ以上のファイルからページ分割された出力を表示する: + +`more {{path\to\file}}` + +- タブを指定した数のスペースに変換する: + +`more {{path\to\file}} /t{{スペース数}}` + +- ページを表示する前に画面をクリアする: + +`more {{path\to\file}} /c` + +- 5行目からの出力を表示する: + +`more {{path\to\file}} +{{5}}` + +- 拡張インタラクティブモードを有効にする(使い方はヘルプを参照): + +`more {{path\to\file}} /e` + +- ヘルプを表示する: + +`more /?` diff --git a/pages.ja/windows/net.md b/pages.ja/windows/net.md new file mode 100644 index 00000000000000..68df3dee281e43 --- /dev/null +++ b/pages.ja/windows/net.md @@ -0,0 +1,36 @@ +# net + +> ネットワーク関連の設定を表示、変更するためのシステムユーティリティ。 +> もっと詳しく: 。 + +- Windowsサービスを同期的に開始または停止する: + +`net {{start|stop}} {{サービス}}` + +- 現在のコンソールでSMB共有が利用可能であることを確認する: + +`net use {{\\smb共有フォルダ}} /USER:{{ユーザ名}}` + +- 現在SMBで共有されているフォルダを表示する: + +`net share` + +- SMB共有の使用者を表示する(管理者特権コンソールで実行): + +`net session` + +- ローカルセキュリティグループ内のユーザーを表示する: + +`net localgroup "{{Administrators}}"` + +- ローカルセキュリティグループにユーザーを追加する(管理者特権コンソールで実行): + +`net localgroup "{{Administrators}}" {{ユーザ名}} /add` + +- サブコマンドのヘルプを表示する: + +`net help {{サブコマンド}}` + +- ヘルプを表示する: + +`net help` diff --git a/pages.ja/windows/pwsh-where.md b/pages.ja/windows/pwsh-where.md new file mode 100644 index 00000000000000..3b75568b7d8350 --- /dev/null +++ b/pages.ja/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> このコマンドは `Where-Object` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr Where-Object` diff --git a/pages.ja/windows/reg.md b/pages.ja/windows/reg.md new file mode 100644 index 00000000000000..9f2c8b03c0785a --- /dev/null +++ b/pages.ja/windows/reg.md @@ -0,0 +1,37 @@ +# reg + +> Windows レジストリのキーとその値を管理します。 +> `add` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- レジストリのコマンドを実行する: + +`reg {{command}}` + +- サブキーの追加とコピーのドキュメントを見る: + +`tldr reg {{add|copy}}` + +- キーとサブキーの削除に関するドキュメントを見る: + +`tldr reg {{delete|unload}}` + +- キーの検索、表示、比較に関するドキュメントを見る: + +`tldr reg {{compare|query}}` + +- キーの所有権とACLを保持しないレジストリキーのエクスポートと、インポートに関するドキュメントを見る: + +`tldr reg {{export|import}}` + +- キーの所有権とACLを保持したまま、レジストリを保存、リストア、アンロードするためのドキュメントを見る: + +`tldr reg {{save|restore|load|unload}}` + +- ヘルプを表示する: + +`reg /?` + +- コマンドのヘルプを表示する: + +`reg {{command}} /?` diff --git a/pages.ja/windows/robocopy.md b/pages.ja/windows/robocopy.md new file mode 100644 index 00000000000000..c2f16212803eed --- /dev/null +++ b/pages.ja/windows/robocopy.md @@ -0,0 +1,33 @@ +# robocopy + +> 堅牢なファイルとフォルダのコピー。 +> デフォルトでは、コピー元とコピー先でタイムスタンプが異なるか、ファイルサイズが異なる場合のみ、ファイルがコピーされます。 +> もっと詳しく: 。 + +- すべての `.jpg` と `.bmp` ファイルをあるディレクトリから、別のディレクトリにコピーする: + +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} {{*.jpg}} {{*.bmp}}` + +- 空のファイルも含めて、すべてのファイルとサブディレクトリをコピーする: + +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /E` + +- ディレクトリをミラー/同期し、ソースにないものを削除し、すべての属性とパーミッションを含める: + +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /MIR /COPYALL` + +- コピー先のファイルより古いソースファイルを除いて、すべてのファイルとサブディレクトリをコピーする: + +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /E /XO` + +- 50MB以上のファイルをコピーする代わりに一覧表示する: + +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /MIN:{{52428800}} /L` + +- ネットワーク接続が失われた場合の再開を許可し、再試行を5回、待機時間を15秒に制限する: + +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /Z /R:5 /W:15` + +- ヘルプを表示する: + +`robocopy /?` diff --git a/pages.ja/windows/scoop.md b/pages.ja/windows/scoop.md new file mode 100644 index 00000000000000..91c31c3e66175b --- /dev/null +++ b/pages.ja/windows/scoop.md @@ -0,0 +1,33 @@ +# scoop + +> Scoop パッケージマネージャ。 +> `bucket` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 +> もっと詳しく: 。 + +- パッケージをインストールする: + +`scoop install {{パッケージ}}` + +- パッケージを削除: + +`scoop uninstall {{パッケージ}}` + +- 全てのインストール済パッケージを更新: + +`scoop update --all` + +- インストールしたパッケージを一覧表示: + +`scoop list` + +- パッケージに関する情報を表示: + +`scoop info {{パッケージ}}` + +- パッケージを検索: + +`scoop search {{パッケージ}}` + +- 全てパッケージの古いバージョンを削除し、ダウンロードキャッシュを消去: + +`scoop cleanup --cache --all` diff --git a/pages.ja/windows/sls.md b/pages.ja/windows/sls.md new file mode 100644 index 00000000000000..0961184b52b14a --- /dev/null +++ b/pages.ja/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> このコマンドは `Select-String` のエイリアスです。 + +- オリジナルのコマンドのドキュメントを表示する: + +`tldr select-string` diff --git a/pages.ja/windows/tracert.md b/pages.ja/windows/tracert.md new file mode 100644 index 00000000000000..0c14fb4146825d --- /dev/null +++ b/pages.ja/windows/tracert.md @@ -0,0 +1,28 @@ +# tracert + +> PCとターゲット間の経路の各ステップに関する情報を受信します。 +> もっと詳しく: 。 + +- ルートを追跡する: + +`tracert {{IP}}` + +- `tracert`がIPアドレスをホスト名に解決しないようにする: + +`tracert /d {{IP}}` + +- `tracert`にIPv4のみの利用を強制する: + +`tracert /4 {{IP}}` + +- `tracert`にIpv6のみの利用を強制する: + +`tracert /6 {{IP}}` + +- ターゲットの検索における最大ホップ数を指定する: + +`tracert /h {{最大ホップ数}} {{IP}}` + +- ヘルプを表示する: + +`tracert /?` diff --git a/pages.ja/windows/type.md b/pages.ja/windows/type.md new file mode 100644 index 00000000000000..f5a09fab18dc0a --- /dev/null +++ b/pages.ja/windows/type.md @@ -0,0 +1,8 @@ +# type + +> ファイルの内容を表示します。 +> もっと詳しく: 。 + +- 特定のファイルの内容を表示する: + +`type {{path\to\file}}` diff --git a/pages.ja/windows/vol.md b/pages.ja/windows/vol.md new file mode 100644 index 00000000000000..2a7b9ce0be7cb0 --- /dev/null +++ b/pages.ja/windows/vol.md @@ -0,0 +1,12 @@ +# vol + +> ボリュームに関する情報を表示します。 +> もっと詳しく: 。 + +- 現在のドライブのラベルとシリアル番号を表示する: + +`vol` + +- 特定のボリュームのラベルとシリアル番号を表示する: + +`vol {{D:}}` diff --git a/pages.ja/windows/wget.md b/pages.ja/windows/wget.md new file mode 100644 index 00000000000000..30a4dfc2f48b4d --- /dev/null +++ b/pages.ja/windows/wget.md @@ -0,0 +1,17 @@ +# wget + +> PowerShellでは、オリジナルの `wget` プログラム () が正しくインストールされていない場合、`Invoke-WebRequest` のエイリアスかもしれません。 +> 注意: version コマンドがエラーを返すのであれば、 PowerShell はこのコマンドを `Invoke-WebRequest` で置き換えている可能性があります。 +> もっと詳しく: 。 + +- オリジナルの `wget` コマンドのドキュメントを見る: + +`tldr wget -p common` + +- PowerShellの `Invoke-WebRequest` コマンドのドキュメントを見る: + +`tldr invoke-webrequest` + +- バージョンを表示する: + +`wget --version` diff --git a/pages.ja/windows/where.md b/pages.ja/windows/where.md new file mode 100644 index 00000000000000..7a166390be1ef6 --- /dev/null +++ b/pages.ja/windows/where.md @@ -0,0 +1,21 @@ +# where + +> 検索パターンに一致するファイルの場所を表示します。 +> デフォルトは現在の作業ディレクトリと環境変数 PATH のパスです。 +> もっと詳しく: 。 + +- ファイルパターンの場所を表示する: + +`where {{ファイルパターン}}` + +- ファイルサイズと日付を含む、ファイルパターンの場所を表示する: + +`where /T {{ファイルパターン}}` + +- 指定したパスのファイルパターンを、再帰的に検索する: + +`where /R {{path\to\directory}} {{ファイルパターン}}` + +- ファイルパターンの場所のエラーコードを、表示無しで返す: + +`where /Q {{ファイルパターン}}` diff --git a/pages.ja/windows/winget.md b/pages.ja/windows/winget.md new file mode 100644 index 00000000000000..2a8ea1d77034e6 --- /dev/null +++ b/pages.ja/windows/winget.md @@ -0,0 +1,36 @@ +# winget + +> Windows パッケージマネージャ。 +> もっと詳しく: 。 + +- パッケージをインストール: + +`winget install {{パッケージ}}` + +- パッケージを削除 (注意: `uninstall` の代わりに `remove` を使用することもできる): + +`winget uninstall {{パッケージ}}` + +- パッケージに関する情報を表示: + +`winget show {{パッケージ}}` + +- パッケージを検索: + +`winget search {{パッケージ}}` + +- 全てのパッケージを最新バージョンにアップグレード: + +`winget upgrade --all` + +- `winget`で管理可能なインストール済パッケージを全て一覧表示: + +`winget list --source winget` + +- ファイルからのパッケージのインポート、またはインストールされたパッケージのファイルへのエクスポート: + +`winget {{import|export}} {{--import-file|--output}} {{path/to/file}}` + +- winget-pkgs リポジトリに PR を開く前にマニフェストを検証する: + +`winget validate {{path/to/manifest}}` diff --git a/pages.ja/windows/wsl.md b/pages.ja/windows/wsl.md new file mode 100644 index 00000000000000..cbf0a3a22ffe18 --- /dev/null +++ b/pages.ja/windows/wsl.md @@ -0,0 +1,36 @@ +# wsl + +> Windows Subsystem for Linux を管理します。 +> もっと詳しく: 。 + +- Linuxシェルを起動する(デフォルトのディストリビューションの場合): + +`wsl {{シェルコマンド}}` + +- シェルを使わずにLinuxコマンドを実行する: + +`wsl --exec {{コマンド}} {{コマンド引数}}` + +- 特定のディストリビューションを指定する: + +`wsl --distribution {{ディストリビューション}} {{シェルコマンド}}` + +- 利用可能なディストリビューションを一覧表示する: + +`wsl --list` + +- ディストリビューションを`.tar`ファイルにエクスポートする: + +`wsl --export {{ディストリビューション}} {{path\to\distro_file.tar}}` + +- ディストリビューションを`.tar`ファイルからインポートする: + +`wsl --import {{ディストリビューション}} {{path\to\install_location}} {{path/to/distro_file.tar}}` + +- 指定したディストリビューションで使用するwslのバージョンを変更する: + +`wsl --set-version {{ディストリビューション}} {{バージョン}}` + +- Windows Subsystem for Linux をシャットダウンする: + +`wsl --shutdown` diff --git a/pages.ja/windows/xcopy.md b/pages.ja/windows/xcopy.md new file mode 100644 index 00000000000000..87e9168dd521d1 --- /dev/null +++ b/pages.ja/windows/xcopy.md @@ -0,0 +1,36 @@ +# xcopy + +> ファイルとディレクトリツリーをコピーします。 +> もっと詳しく: 。 + +- ファイル(単独または複数)を指定された宛先にコピーする: + +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}}` + +- コピーの前に、コピーするファイルを一覧表示する: + +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /p` + +- ファイルを除いてディレクトリ構造だけをコピーする: + +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /t` + +- コピー時に、空のディレクトリを含める: + +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /e` + +- コピー元のACLを、コピー先に残す: + +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /o` + +- ネットワーク接続が切れたときに、再開できるようにする: + +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /z` + +- コピー先にファイルが存在する場合、プロンプトを表示しない: + +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /y` + +- ヘルプを表示する: + +`xcopy /?` diff --git a/pages.ko/android/am.md b/pages.ko/android/am.md new file mode 100644 index 00000000000000..41d05747404738 --- /dev/null +++ b/pages.ko/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android 활동 관리자. +> 더 많은 정보: . + +- 특정 활동 시작: + +`am start -n {{com.android.settings/.Settings}}` + +- 데이터와 함께 특정 활동 시작: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- 특정 액션과 카테고리와 일치하는 활동 시작: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- intent를 URI로 변환: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.ko/android/bugreport.md b/pages.ko/android/bugreport.md new file mode 100644 index 00000000000000..53f3fbc253fbab --- /dev/null +++ b/pages.ko/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Android 장치의 버그 보고서를 표시합니다. +> 이 명령은 `adb shell`을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- Android 장치의 완전한 버그 보고서를 표시: + +`bugreport` diff --git a/pages.ko/android/bugreportz.md b/pages.ko/android/bugreportz.md new file mode 100644 index 00000000000000..ae45a00931f5a0 --- /dev/null +++ b/pages.ko/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> 압축된 Android 버그 리포트 생성. +> 이 명령은 `adb shell`를 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- Android 기기의 전체 압축된 버그 보고서 생성: + +`bugreportz` + +- 실행 중인 `bugreportz` 작업의 진행 상황 표시: + +`bugreportz -p` + +- Android 버그 보고서의 내용을 `stdout`에 작성: + +`bugreportz -s` + +- 도움말 표시: + +`bugreportz -h` + +- `bugreportz` 버전 표시: + +`bugreportz -v` diff --git a/pages.ko/android/cmd.md b/pages.ko/android/cmd.md new file mode 100644 index 00000000000000..633f949183bf38 --- /dev/null +++ b/pages.ko/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Android 서비스 매니저. +> 더 많은 정보: . + +- 실행 중인 모든 서비스 나열: + +`cmd -l` + +- 특정 서비스 호출: + +`cmd {{서비스}}` + +- 특정 인자를 사용해 서비스 호출: + +`cmd {{서비스}} {{인자1 인자2 ...}}` diff --git a/pages.ko/android/dalvikvm.md b/pages.ko/android/dalvikvm.md new file mode 100644 index 00000000000000..6f88a6cf475662 --- /dev/null +++ b/pages.ko/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> 안드로이드 자바 가상 머신. +> 더 많은 정보: . + +- 특정 자바 프로그램 실행: + +`dalvikvm -classpath {{경로/대상/파일.jar}} {{클래스명}}` diff --git a/pages.ko/android/dumpsys.md b/pages.ko/android/dumpsys.md new file mode 100644 index 00000000000000..e49e40210e1047 --- /dev/null +++ b/pages.ko/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Android 시스템 서비스에 대한 제공. +> 이 명령은 `adb shell`을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 모든 시스템 서비스에 대한 진단 출력 가져오기: + +`dumpsys` + +- 특정 시스템 서비스에 대한 진단 출력 가져오기: + +`dumpsys {{서비스}}` + +- `dumpsys`가 제공할 수 있는 모든 서비스를 나열: + +`dumpsys -l` + +- 서비스에 대한 서비스별 인수 나열: + +`dumpsys {{서비스}} -h` + +- 진단 출력에서 특정 서비스 제외: + +`dumpsys --skip {{서비스}}` + +- 시간 초과 기간을 초 단위로 지정(기본값은 10초): + +`dumpsys -t {{8}}` diff --git a/pages.ko/android/getprop.md b/pages.ko/android/getprop.md new file mode 100644 index 00000000000000..604e7f1f45027c --- /dev/null +++ b/pages.ko/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Android 시스템 속성에 대한 정보 보여주기. +> 더 많은 정보: . + +- Android 시스템 속성에 대한 정보 표시: + +`getprop` + +- 특정 속성에 대한 정보 표시: + +`getprop {{property}}` + +- SDK API 수준 표시: + +`getprop {{ro.build.version.sdk}}` + +- Android 버전 표시: + +`getprop {{ro.build.version.release}}` + +- Android 기기 모델 표시: + +`getprop {{ro.vendor.product.model}}` + +- OEM 잠금 해제 상태 표시: + +`getprop {{ro.oem_unlock_supported}}` + +- Android's Wi-Fi 카드의 MAC 주소를 표시: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.ko/android/input.md b/pages.ko/android/input.md new file mode 100644 index 00000000000000..24bc2a6e8fb016 --- /dev/null +++ b/pages.ko/android/input.md @@ -0,0 +1,25 @@ +# input + +> Android 기기에 이벤트 코드 또는 터치스크린 동작 보내기. +> 이 명령은 `adb shell`을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 단일 문자의 이벤트 코드를 Android 기기로 보내기: + +`input keyevent {{이벤트_코드}}` + +- Android 기기로 문자 보내기 (`%s`는 공백을 나타냅니다): + +`input text "{{텍스트}}"` + +- Android 기기에 탭 한 번 보내기: + +`input tap {{x축_위치}} {{y축_위치}}` + +- Android 기기에 스와이프 동작 보내기: + +`input swipe {{x축_시작}} {{y축_시작}} {{x축_끝}} {{y축_끝}} {{지속 시간(밀리초)}}` + +- 스와이프 동작을 사용하여 Android 기기에 길게 누르기 보내기: + +`input swipe {{x축_위치}} {{y축_위치}} {{x축_위치}} {{y축_위치}} {{지속 시간(밀리초)}}` diff --git a/pages.ko/android/logcat.md b/pages.ko/android/logcat.md new file mode 100644 index 00000000000000..5d5ab2ed47866a --- /dev/null +++ b/pages.ko/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> 오류 발생 시, 스택 추적을 포함한 시스템 메시지 로그와 애플리케이션에서 기록한 정보 메시지를 덤프합니다. +> 더 많은 정보: . + +- 시스템 로그 표시: + +`logcat` + +- 파일에 시스템 로그 작성: + +`logcat -f {{경로/대상/파일}}` + +- 정규표현식과 일치하는 행 표시: + +`logcat --regex {{정규_표현식}}` + +- 특정 PID에 대한 로그 표시: + +`logcat --pid {{프로세스_id}}` + +- 특정 패키지의 프로세스에 대한 로그 표시: + +`logcat --pid $(pidof -s {{패키지}})` diff --git a/pages.ko/android/pkg.md b/pages.ko/android/pkg.md new file mode 100644 index 00000000000000..db822839fe6c89 --- /dev/null +++ b/pages.ko/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Termux용 패키지 관리 유틸리티. +> 더 많은 정보: . + +- 설치된 모든 패키지 업그레이드: + +`pkg upgrade` + +- 패키지 설치: + +`pkg install {{패키지}}` + +- 패키지 삭제: + +`pkg uninstall {{패키지}}` + +- 패키지 재설치: + +`pkg reinstall {{패키지}}` + +- 패키지 검색: + +`pkg search {{패키지}}` diff --git a/pages.ko/android/pm.md b/pages.ko/android/pm.md new file mode 100644 index 00000000000000..afb1f5bffb6463 --- /dev/null +++ b/pages.ko/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Android 기기의 앱에 대한 정보 표시. +> 더 많은 정보: . + +- 설치된 모든 앱 나열: + +`pm list packages` + +- 설치된 모든 시스템 앱 나열: + +`pm list packages -s` + +- 설치된 모든 타사 앱 나열: + +`pm list packages -3` + +- 특정 키워드와 일치하는 앱 나열: + +`pm list packages {{키워드1 키워드2 ...}}` + +- 특정 앱의 APK 경로 표시: + +`pm path {{애플리케이션}}` diff --git a/pages.ko/android/screencap.md b/pages.ko/android/screencap.md new file mode 100644 index 00000000000000..7e42436211d957 --- /dev/null +++ b/pages.ko/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> 모바일 디스플레이의 스크린샷 찍기. +> 이 명령은 `adb shell`을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 스크린샷 찍기: + +`screencap {{경로/대상/파일}}` diff --git a/pages.ko/android/settings.md b/pages.ko/android/settings.md new file mode 100644 index 00000000000000..8da8fd28b93578 --- /dev/null +++ b/pages.ko/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Android OS에 대한 정보 얻기. +> 더 많은 정보: . + +- `global` 네임스페이스의 설정 목록을 표시: + +`settings list {{global}}` + +- 특정 설정의 값 가져오기: + +`settings get {{global}} {{airplane_mode_on}}` + +- 특정 설정 값 설정: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- 특정 설정 삭제: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.ko/android/wm.md b/pages.ko/android/wm.md new file mode 100644 index 00000000000000..bda78b527642b7 --- /dev/null +++ b/pages.ko/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Android 기기 화면에 대한 정보 표시. +> 이 명령은 `adb shell`을 통해서만 사용할 수 있습니다. +> 더 많은 정보: .. + +- Android 기기 화면의 물리적 크기를 표시: + +`wm size` + +- Android 기기 화면의 물리적 밀도를 표시: + +`wm density` diff --git a/pages.ko/common/!.md b/pages.ko/common/!.md new file mode 100644 index 00000000000000..0a4962c7917b5e --- /dev/null +++ b/pages.ko/common/!.md @@ -0,0 +1,36 @@ +# ! + +> 히스토리 명령에서 찾은 명령어로 대체하기 위해 Bash가 내장. +> 더 많은 정보: . + +- 이전에 실행했던 명령을 sudo 권한이 있는 상태로 대체: + +`sudo !!` + +- `history` 명령어를 통해 찾은 줄 번호의 명령으로 대체: + +`!{{숫자}}` + +- 지정된 행의 수만큼 사용된 명령으로 대체: + +`!-{{숫자}}` + +- `문자열`로 시작하는 가장 최근의 명령으로 대체: + +`!{{문자열}}` + +- 가장 최신 명령어의 인수로 대체: + +`{{명령어}} !*` + +- 가장 최근에 입력했던 명령의 마지막 인수로 대체: + +`{{명령어}} !$` + +- 가장 최근에 입력했던 명령으로 대체하지만, 인수 없이 대체: + +`!:-` + +- 문자열로 시작하는 가장 최근에 입력했던 명령을 실행하지 않고 출력: + +`!{{문자열}}:p` diff --git a/pages.ko/common/$.md b/pages.ko/common/$.md new file mode 100644 index 00000000000000..62265c132d76a4 --- /dev/null +++ b/pages.ko/common/$.md @@ -0,0 +1,24 @@ +# $ + +> bash 변수를 확장. +> 더 많은 정보: . + +- 변수 출력: + +`echo ${{변수}}` + +- 이전 명령의 종료 상태를 인쇄: + +`echo $?` + +- 0에서 32767 사이의 임의의 숫자를 출력: + +`echo $RANDOM` + +- 프롬프트 문자열 중 하나를 출력: + +`echo ${{PS1|PS2|PS3|PS4}}` + +- `command` 출력으로 확장하여 실행. 백틱을 통해 `command`를 묶는 것과 같음: + +`$({{명령어}})` diff --git a/pages.ko/common/%.md b/pages.ko/common/%.md new file mode 100644 index 00000000000000..01f4eb90e5dbc6 --- /dev/null +++ b/pages.ko/common/%.md @@ -0,0 +1,28 @@ +# % + +> 작업 관리. +> 더 많은 정보: . + +- 현재 작업을 포어그라운드로 가져오기: + +`%` + +- 이전 작업을 포어그라운드로 가져오기: + +`%-` + +- `N` 번호가 붙은 작업을 포어그라운드로 가져오기: + +`%{{N}}` + +- 명령이 `문자열`로 시작하는 작업을 포어그라운드로 가져오기: + +`%{{문자열}}` + +- 명령에 `문자열`이 포함된 작업을 포어그라운드로 가져오기: + +`%?{{문자열}}` + +- 일시 중지된 작업을 재개: + +`%{{1}} &` diff --git a/pages.ko/common/,.md b/pages.ko/common/,.md new file mode 100644 index 00000000000000..8bf3a9e34a4150 --- /dev/null +++ b/pages.ko/common/,.md @@ -0,0 +1,16 @@ +# , + +> 설치하지 않고 명령어를 실행. +> 더 많은 정보: . + +- 명령어 실행: + +`, {{명령어 -with -flags}}` + +- 하위 쉘에 명령어 추가: + +`, {{[-s|--shell]}} {{명령어}}` + +- 캐시 삭제: + +`, {{[-e|--empty-cache]}}` diff --git a/pages.ko/common/..md b/pages.ko/common/..md new file mode 100644 index 00000000000000..9143aea5cf7869 --- /dev/null +++ b/pages.ko/common/..md @@ -0,0 +1,7 @@ +# . + +> 이 명령어는 `source`의 별칭입니다. + +- 원래 명령어에 대한 문서: + +`tldr source` diff --git a/pages.ko/common/2to3.md b/pages.ko/common/2to3.md new file mode 100644 index 00000000000000..2b39130e79edbe --- /dev/null +++ b/pages.ko/common/2to3.md @@ -0,0 +1,32 @@ +# 2to3 + +> 파이썬 2 코드를 3으로 자동 변환. +> 더 많은 정보: . + +- 파일을 변경하지않고, 변경될 내용을 출력 (모의 테스트): + +`2to3 {{경로/파일.py}}` + +- 파이썬 2 파일을 3 파일로 변경: + +`2to3 --write {{경로/파일.py}}` + +- 특정 파이썬 2 기능을 파이썬 3로 변경 (아래는 raw_input과 print를 수정하는 예): + +`2to3 --write {{경로/파일.py}} --fix {{raw_input}} --fix {{print}}` + +- 특정 기능을 제외한 모든 파이썬 2 기능을 파이썬 3로 변경: + +`2to3 --write {{경로/파일.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- 파이썬 2 에서 파이썬 3 로 변환할 수 있는 목록을 출력: + +`2to3 --list-fixes` + +- 디렉토리 안의 모든 파이썬 2 파일을 파이썬 3로 변경: + +`2to3 --output-dir {{파이썬3/디렉토리/경로}} --write-unchanged-files --nobackups {{파이썬2/디렉토리/경로}}` + +- 2to3을 멀티쓰레드로 실행: + +`2to3 --processes {{4}} --output-dir {{파이썬3/디렉토리/경로}} --write --nobackups --no-diff {{파이썬2/디렉토리/경로}}` diff --git a/pages.ko/common/7z.md b/pages.ko/common/7z.md index 555cc0745fcce3..869ba87032b566 100644 --- a/pages.ko/common/7z.md +++ b/pages.ko/common/7z.md @@ -1,36 +1,36 @@ # 7z > 높은 압축률을 보여주는 파일 압축 프로그램. -> 더 많은 정보: . +> 더 많은 정보: . - 파일 또는 디렉토리 압축하기: -`7z a {{archived.7z}} {{경로/파일명_또는_디렉토리명}}` +`7z a {{경로/archived.7z}} {{경로/파일명_또는_디렉토리명}}` - 존재하는 압축파일 암호화(헤더를 포함한): -`7z a {{encrypted.7z}} -p{{비밀번호}} -mhe=on {{archived.7z}}` +`7z a {{경로/encrypted.7z}} -p{{비밀번호}} -mhe=on {{archived.7z}}` - 기본 디렉토리 구조로 존재하는 7z 파일 추출: -`7z x {{archived.7z}}` +`7z x {{경로/archived.7z}}` -- 사용자정의 출력 경로로 압축 출력 : +- 사용자정의 출력 경로로 압축 출력: -`7z x {{archived.7z}} -o{{경로/출력}}` +`7z x {{경로/archived.7z}} -o{{경로/출력}}` - 표준출력으로 압축 추출: -`7z x {{archived.7z}} -so` +`7z x {{경로/archived.7z}} -so` - 특정 압축 타입으로 추출: -`7z a -t{{zip|gzip|bzip2|tar}} {{archived.7z}} {{경로/파일명_또는_디렉토리명}}` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archived}} {{경로/파일명_또는_디렉토리명}}` -- 사용가능한 압축 타입 리스트: +- 압축 파일의 내용 리스트: -`7z i` +`7z l {{경로/archived.7z}}` -- 압축 파일의 내용 리스트: +- 압축 수준 설정(높을수록 압축률 상승, 속도는 감소): -`7z l {{archived.7z}}` +`7z a {{경로/archive.7z}} -mx={{0|1|3|5|7|9}} {{경로/파일명_또는_디렉토리명}}` diff --git a/pages.ko/common/7za.md b/pages.ko/common/7za.md index 4e47c963f60d58..cf84356d72062c 100644 --- a/pages.ko/common/7za.md +++ b/pages.ko/common/7za.md @@ -1,25 +1,37 @@ # 7za > 높은 파일 압축률을 보여주는 파일 압축 프로그램. -> 더 적은 압축 타입을 지원하는 `7z`의 독립형 버전. -> 더 많은 정보: . +> 더 적은 압축 타입을 지원하지만, 크로스플랫폼인 점을 제외하면 `7z`과 유사합니다. +> 더 많은 정보: . - 파일이나 디렉토리 압축하기: -`7za a {{archived.7z}} {{path/to/file_or_directory}}` +`7za a {{경로/대상/압축파일.7z}} {{경로/대상/파일_혹은_디렉토리}}` + +- 압축파일 암호화 (including file names): + +`7za a {{경로/대상/압축파일.7z}} -p{{비밀번호}} -mhe={{on}} {{경로/대상/압축파일.7z}}` - 기존 디렉토리 경로에 존재하는 7z 파일 추출: -`7za x {{archived}}` +`7za x {{경로/대상/압축파일.7z}}` + +- 특정 디렉토리에 압축파일 추출: + +`7za x {{경로/대상/압축파일.7z}} -o{{경로/대상/결과물}}` + +- `stdout`에 압축파일 추출: + +`7za x {{경로/대상/압축파일.7z}} -so` - 특정 압축 타입을 이용하여 추출하기: -`7za a -t{{zip|gzip|bzip2|tar}} {{archived}} {{path/to/file_or_directory}}` +`7za a -t{{zip|gzip|bzip2|tar}} {{archived}} {{경로/대상/파일명_또는_디렉터리명}}` -- 사용가능한 압축 타입 리스트: +- 압축 파일의 내용 목록: -`7za i` +`7za l {{경로/대상/압축파일.7z}}` -- 압축 파일의 내용 리스트: +- 압축 수준 설정(높을수록 압축률 상승, 속도는 감소): -`7za l {{archived}}` +`7za a {{경로/대상/압축파일.7z}} -mx={{0|1|3|5|7|9}} {{경로/파일명_또는_디렉토리명}}` diff --git a/pages.ko/common/7zr.md b/pages.ko/common/7zr.md index b535d06f0e60ae..46af21de420149 100644 --- a/pages.ko/common/7zr.md +++ b/pages.ko/common/7zr.md @@ -2,16 +2,32 @@ > 높은 파일압축률을 보여주는 압축 프로그램. > .7z파일들만을 지원하는 `7z`의 독립형 버전. -> 더 많은 정보: . +> 더 많은 정보: . - 파일이나 디렉토리 압축하기: -`7zr a {{archived.7z}} {{경로/파일명_또는_디렉토리명}}` +`7zr a {{경로/archived.7z}} {{경로/파일명_또는_디렉토리명}}` + +- 압축파일 암호화 (including file names): + +`7zr a {{경로/encrypted.7z}} -p{{비밀번호}} -mhe={{on}} {{경로/archive.7z}}` - 기존 디렉토리 경로에 존재하는 7z파일 추출하기: `7zr x {{archived.7z}}` +- 특정 디렉토리에 압축파일 추출: + +`7zr x {{경로/archive.7z}} -o{{아웃풋/의/경로}}` + +- `stdout`에 압축파일 추출: + +`7zr x {{경로/archive.7z}} -so` + - 압축 파일의 내용 리스트: -`7zr l {{archived.7z}}` +`7zr l {{경로/archived.7z}}` + +- 압축 수준을 설정 (수준이 높을수록 압축률이 높아지지만, 속도는 느려짐): + +`7zr a {{경로/대상/아카이브.7z}} -mx={{0|1|3|5|7|9}} {{경로/대상/파일_또는_디렉터리}}` diff --git a/pages.ko/common/[.md b/pages.ko/common/[.md new file mode 100644 index 00000000000000..c7b6b19f066d7b --- /dev/null +++ b/pages.ko/common/[.md @@ -0,0 +1,33 @@ +# [ + +> 파일 형식 확인 및 값 비교. +> 조건이 참이면 0을 반환하고, 거짓이면 1을 반환합니다. +> 더 많은 정보: . + +- 주어진 변수가 문자열과 같은지/다른지 비교: + +`[ "${{변수}}" {{=|!=}} "{{문자열}}" ]` + +- 주어진 변수가 주어진 숫자와 같은지[eq]/다른지[ne]/보다 큰지[gt]/보다 작은지[lt]/크거나 같은지[ge]/작거나 같은지[le] 비교: + +`[ "${{변수}}" -{{eq|ne|gt|lt|ge|le}} {{숫자}} ]` + +- 지정된 변수에 비어 있지 않은 값이 있는지 확인: + +`[ -n "${{변수}}" ]` + +- 지정된 변수가 비어있는지 확인: + +`[ -z "${{변수}}" ]` + +- 지정된 파일이 있는지 확인: + +`[ -f {{파일/의/경로}} ]` + +- 지정된 디렉토리가 있는지 확인: + +`[ -d {{디렉토리/의/경로}} ]` + +- 지정된 파일 혹은 디렉토리가 있는지 확인: + +`[ -e {{디렉토리_혹은_파일/의/경로}} ]` diff --git a/pages.ko/common/[[.md b/pages.ko/common/[[.md new file mode 100644 index 00000000000000..3e2f6aa629cad0 --- /dev/null +++ b/pages.ko/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> 파일 형식 확인 및 값 비교. +> 조건이 참이면 0을 반환하고, 거짓이면 1을 반환합니다. +> 더 많은 정보: . + +- 주어진 변수가 특정 문자열과 같은지/다른지 테스트: + +`[[ ${{변수}} {{==|!=}} "{{문자열}}" ]]` + +- 주어진 문자열이 특정 glob/regex 와 매칭되는지 테스트: + +`[[ ${{변수}} {{==|=~}} {{패턴}} ]]` + +- 주어진 변수가 주어진 숫자와 같은지[eq]/다른지[ne]/보다 큰지[gt]/보다 작은지[lt]/크거나 같은지[ge]/작거나 같은지[le] 비교: + +`[[ ${{변수}} -{{eq|ne|gt|lt|ge|le}} {{숫자}} ]]` + +- 지정된 변수에 비어 있지 않은 값이 있는지 확인: + +`[[ -n ${{변수}} ]]` + +- 지정된 변수가 비어있는지 확인: + +`[[ -z ${{변수}} ]]` + +- 지정된 파일이 있는지 확인: + +`[[ -f {{파일/의/경로}} ]]` + +- 지정된 디렉토리가 있는지 확인: + +`[[ -d {{디렉토리/의/경로}} ]]` + +- 지정된 파일 혹은 디렉토리가 있는지 확인: + +`[[ -e {{디렉토리_혹은_파일/의/경로}} ]]` diff --git a/pages.ko/common/].md b/pages.ko/common/].md new file mode 100644 index 00000000000000..39e2ca854aa202 --- /dev/null +++ b/pages.ko/common/].md @@ -0,0 +1,7 @@ +# ] + +> 이 쉘 키워드는 `[`를 닫는 데 사용. + +- `[` 키워드에 대한 문서 보기: + +`tldr [` diff --git a/pages.ko/common/]].md b/pages.ko/common/]].md new file mode 100644 index 00000000000000..0411ca40d634ac --- /dev/null +++ b/pages.ko/common/]].md @@ -0,0 +1,7 @@ +# ]] + +> 이 쉘 키워드는 `[[`를 닫는 데 사용. + +- `[[` 키워드에 대한 문서 보기: + +`tldr [[` diff --git a/pages.ko/common/^.md b/pages.ko/common/^.md new file mode 100644 index 00000000000000..15e45ab5368d3d --- /dev/null +++ b/pages.ko/common/^.md @@ -0,0 +1,21 @@ +# ^ + +> 전에 입력했던 명령의 문자열을 빠르게 대체해서 사용하고, 결과를 실행하기 위해 Bash에 내장되어 있습니다. +> `!!:s^문자열1^문자열2`와 동등합니다. +> 더 많은 정보: . + +- `문자열1`을 `문자열2`로 변경하고 이전 명령을 실행: + +`^{{문자열1}}^{{문자열2}}` + +- 이전 명령에서 `문자열1`을 제거: + +`^{{문자열1}}^` + +- 이전 명령에서 `문자열1`을 `문자열2`로 변경 후, 끝에 `문자열3`을 추가: + +`^{{문자열1}}^{{문자열2}}^{{문자열3}}` + +- `string1`의 모든 항목을 변경: + +`^{{문자열1}}^{{문자열2}}^:&` diff --git a/pages.ko/common/a2ping.md b/pages.ko/common/a2ping.md new file mode 100644 index 00000000000000..3c73253609586c --- /dev/null +++ b/pages.ko/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> 이미지를 EPS 또는 PDF 파일로 변환. +> 더 많은 정보: . + +- 이미지를 PDF로 변환 (참고: 출력 파일 이름 지정은 선택사항): + +`a2ping {{경로/대상/이미지.ext}} {{경로/대상/출력파일.pdf}}` + +- 지정된 방법을 사용해 문서를 압축: + +`a2ping --nocompress {{none|zip|best|flate}} {{경로/대상/파일}}` + +- HiResBoundingBox가 있는 경우 검색 (참고: 기본값은 yes): + +`a2ping --nohires {{경로/대상/파일}}` + +- 원본 아래 및 왼쪽 페이지 콘텐츠 허용 (참고: 기본값은 no): + +`a2ping --below {{경로/대상/파일}}` + +- `gs``에 추가 인수 전달: + +`a2ping --gsextra {{인수}} {{경로/대상/파일}}` + +- 외부 프로그램 (예, `pdftops`)에 추가 인수 전달: + +`a2ping --extra {{인수}} {{경로/대상/파일}}` + +- 도움말 표시: + +`a2ping -h` diff --git a/pages.ko/common/aapt.md b/pages.ko/common/aapt.md new file mode 100644 index 00000000000000..f1f5c21a02c9fa --- /dev/null +++ b/pages.ko/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> Android Asset Packaging Tool. +> 안드로이드 앱의 소스를 컴파일하고 패키징합니다. +> 더 많은 정보: . + +- APK 아카이브에 포함된 파일 나열: + +`aapt list {{경로/app.apk}}` + +- 앱의 메타데이타 출력 (버전, 권한, 등등...): + +`aapt dump badging {{경로/app.apk}}` + +- 지정된 디렉토리에 새 APK 아카이브 생성: + +`aapt package -F {{경로/app.apk}} {{디렉토리/의/경로}}` diff --git a/pages.ko/common/ab.md b/pages.ko/common/ab.md index cb03797c3062b3..ce6798102a6a81 100644 --- a/pages.ko/common/ab.md +++ b/pages.ko/common/ab.md @@ -2,20 +2,28 @@ > 아파치 벤치마킹 도구. > 로드 테스트를 수행하는 가장 간단한 도구. -> 더 많은 정보: . +> 더 많은 정보: . -- 주어진 URL에 대해 100개의 HTTP GET 요청 실행: +- 지정된 URL에 대해 100개의 HTTP GET 요청 실행: -`ab -n {{100}} {{url}}` +`ab -n 100 {{url}}` -- 지정된 URL에 대해 최대 10개의 요청을 동시에 처리하여 100개의 HTTP GET을 실행: +- 지정된 URL에 대해 100개의 HTTP GET 요청을 최대 10개의 요청을 동시에 처리하며 실행: -`ab -n {{100}} -c {{10}} {{url}}` +`ab -n 100 -c 10 {{url}}` -- 생존을 유지하며 사용: +- 지정된 파일의 JSON 페이로드를 사용하여 URL에 대해 100개의 HTTP POST 요청 실행: + +`ab -n 100 -T {{application/json}} -p {{경로/대상/파일.json}} {{url}}` + +- HTTP [K]eep Alive 사용, 즉 하나의 HTTP 세션 내에서 여러 요청을 수행: `ab -k {{url}}` -- 벤치마킹에 사용될 최대 시간(초) 설정: +- 벤치마킹에 사용될 최대 시간(초) 설정(기본 30초): `ab -t {{60}} {{url}}` + +- 결과를 CSV에 작성: + +`ab -e {{경로/대상/파일.csv}}` diff --git a/pages.ko/common/abduco.md b/pages.ko/common/abduco.md index f307ec5d681a66..9f7823f7f845e0 100644 --- a/pages.ko/common/abduco.md +++ b/pages.ko/common/abduco.md @@ -1,7 +1,7 @@ # abduco > 터미널 세션 관리자. -> 더 많은 정보: . +> 더 많은 정보: . - 세션 목록: @@ -17,7 +17,7 @@ - 세션으로부터 제거: -`Ctrl + \` +`` - 읽기 전용 모드로 세션 연결하기: diff --git a/pages.ko/common/ac.md b/pages.ko/common/ac.md new file mode 100644 index 00000000000000..35e62314f1a7c4 --- /dev/null +++ b/pages.ko/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> 사용자들이 시스템에 얼마나 오랫동안 접속해 있는지에 대한 통계 정보를 표시. +> 더 많은 정보: . + +- 현재 사용자의 연결된 시간을 시간 단위로 출력: + +`ac` + +- 모든 사용자의 연결된 시간을 시간 단위로 출력: + +`ac -p` + +- 특정 사용자의 연결된 시간을 시간 단위로 출력: + +`ac -p {{사용자 명}}` + +- 특정 사용자의 연결된 시간을 평균 시간과 총 접속 시간을 일 단위로 출력: + +`ac -dp {{사용자 명}}` diff --git a/pages.ko/common/accelerate.md b/pages.ko/common/accelerate.md new file mode 100644 index 00000000000000..a449b9d31f7364 --- /dev/null +++ b/pages.ko/common/accelerate.md @@ -0,0 +1,28 @@ +# accelerate + +> Accelerate는 동일한 PyTorch 코드를 모든 분산 환경 구성에서 실행할 수 있게 해주는 라이브러리입니다. +> 더 많은 정보: . + +- 실행환경 정보 출력: + +`accelerate env` + +- 대화형으로 구성 파일 생성: + +`accelerate config` + +- 다양한 데이터 타입을 사용하여 Hugging Face 모델을 실행하는 데 필요한 예상 GPU 메모리 비용을 출력: + +`accelerate estimate-memory {{이름/모델}}` + +- Accelerate 구성 파일 테스트: + +`accelerate test --config_file {{경로/대상/구성파일.yaml}}` + +- Accelerate를 사용하여 CPU에서 모델을 실행: + +`accelerate launch {{경로/대상/스크립트.py}} {{--cpu}}` + +- 2대의 머신을 사용하고, Accelerate로 다중 GPU에서 모델을 실행: + +`accelerate launch {{경로/대상/스크립트.py}} --multi_gpu --num_machines 2` diff --git a/pages.ko/common/ack.md b/pages.ko/common/ack.md index d0008ded61ef1d..7b50c915fa40f2 100644 --- a/pages.ko/common/ack.md +++ b/pages.ko/common/ack.md @@ -1,24 +1,37 @@ # ack -> 프로그래머에게 최적화된 grep과 같은 검색툴. -> 더 많은 정보: . +> 프로그래머에게 최적화된 grep과 같은 검색 도구. +> 추가 정보: 훨씬 빠른 rg 명령어도 참고. +> 더 많은 정보: . -- "foo"를 포함하고 있는 파일 검색: +- 현재 디렉토리에서 문자열 또는 정규 표현식이 포함된 파일을 재귀적으로 검색: -`ack {{foo}}` +`ack "{{검색_패턴}}"` -- 특정 타입의 파일 검색: +- 대소문자를 구분하지 않는 패턴 검색: -`ack --ruby {{foo}}` +`ack {{[-i|--ignore-case]}} "{{검색_패턴}}"` -- "foo"라는 용어와 일치하는 총 합을 계산: +- 패턴과 일치하는 줄을 검색해, 검색되어 일치하는 텍스트만([o]nly) 인쇄: -`ack -ch {{foo}}` +`ack {{[-o|--output '$&']}} "{{검색_패턴}}"` -- "foo"를 포함하고있는 파일의 이름과 각각 파일에서 일치하는 수를 표시: +- 특정 타입을 가지는 파일로 검색을 제한: -`ack -cl {{foo}}` +`ack {{[-t|--type]}} {{ruby}} "{{검색_패턴}}"` -- 모든 가능한 타입 리스트: +- 특정 타입을 가지는 파일을 검색하지 않음: + +`ack {{[-t|--type]}} no{{ruby}} "{{검색_패턴}}"` + +- 패턴과 일치하는 총 항목 수를 계산: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{검색_패턴}}"` + +- 각 파일에 대해서, 파일 이름과 일치하는 개수를 출력: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{검색_패턴}}"` + +- `--type`과 함께 사용할 수 있는 모든 값을 나열: `ack --help-types` diff --git a/pages.ko/common/acme.sh-dns.md b/pages.ko/common/acme.sh-dns.md new file mode 100644 index 00000000000000..476b64e84aa1f5 --- /dev/null +++ b/pages.ko/common/acme.sh-dns.md @@ -0,0 +1,24 @@ +# acme.sh --dns + +> TLS 인증서를 발급하려면 DNS-01 챌린지를 사용. +> 더 많은 정보: . + +- 자동 DNS API 모드를 사용해 인증서 발급: + +`acme.sh --issue --dns {{gnd_gd}} --domain {{example.com}}` + +- 자동 DNS API 모드를 사용하여 와일드카드 인증서 (별표로 표시) 발급: + +`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}` + +- DNS 별칭 모드를 사용해 인증서 발급: + +`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{alias-for-example-validation.com}}` + +- 사용자 지정 대기 시간(초)을 지정해, DNS 레코드가 추가된 후 자동 Cloudflare 또는 Google DNS 폴링을 비활성화하는 동안 인증서를 발급: + +`acme.sh --issue --dns {{dns_namecheap}} --domain {{example.com}} --dnssleep {{300}}` + +- 수동 DNS 모드를 사용하여 인증서 발급: + +`acme.sh --issue --dns --domain {{example.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please` diff --git a/pages.ko/common/acme.sh.md b/pages.ko/common/acme.sh.md new file mode 100644 index 00000000000000..09e7a64044f064 --- /dev/null +++ b/pages.ko/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> `certbot`의 대안으로 ACME 클라이언트 프로토콜을 구현하는 쉘 스크립트. +> 참고: `acme.sh dns`. +> 더 많은 정보: . + +- webroot 모드를 사용해 인증서를 발급: + +`acme.sh --issue --domain {{example.com}} --webroot {{/경로/대상/웹루트}}` + +- 80번 포트와 독립 실행형 모드를 사용해 여러 도메인에 대한 인증서를 발급: + +`acme.sh --issue --standalone --domain {{example.com}} --domain {{www.example.com}}` + +- 443번 포트와 독립 실행형 TLS 모드를 사용해 인증서 발급: + +`acme.sh --issue --alpn --domain {{example.com}}` + +- 작동하는 Nginx 구성파일을 사용해 인증서 발급: + +`acme.sh --issue --nginx --domain {{example.com}}` + +- 작동하는 Apache 구성파일을 사용해 인증서 발급: + +`acme.sh --issue --apache --domain {{example.com}}` + +- 자동 DNS API 모드를 사용해 와일드카드 (\*) 인증서를 발급: + +`acme.sh --issue --dns {{dns_인증서}} --domain {{*.example.com}}` + +- 지정된 위치에 인증서 파일 설치 (자동 인증서 갱신에 장점이 있음): + +`acme.sh --install-cert -d {{example.com}} --key-file {{/경로/대상/example.com.key}} --fullchain-file {{/경로/대상/example.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"` diff --git a/pages.ko/common/act.md b/pages.ko/common/act.md index 88bade2878d833..50553096aba980 100644 --- a/pages.ko/common/act.md +++ b/pages.ko/common/act.md @@ -1,7 +1,7 @@ # act > Docker를 사용하여 로컬로 GitHub작업 실행. -> 더 많은 정보: . +> 더 많은 정보: . - 가능한 작업들 목록: @@ -26,3 +26,7 @@ - 자세한 로그 표시: `act -v` + +- 특정 워크플로우 실행: + +`act push -W {{경로/대상/워크플로우}}` diff --git a/pages.ko/common/acyclic.md b/pages.ko/common/acyclic.md new file mode 100644 index 00000000000000..c7575ef69a2614 --- /dev/null +++ b/pages.ko/common/acyclic.md @@ -0,0 +1,17 @@ +# acyclic + +> 일부 간선을 반전시켜 방향성 그래프를 순환이 없는 그래프로 변환합니다. +> Graphviz 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 일부 간선을 반전시켜 방향성 그래프를 순환이 없는 그래프로 변환: + +`acyclic {{경로/대상/입력.gv}} > {{경로/대상/출력.gv}}` + +- 그래프가 순환이 없거나 주기가 있거나 방향이 지정되지 않아 출력 그래프가 생성되지 않는 경우 출력: + +`acyclic -v -n {{경로/대상/입력.gv}}` + +- `acyclic`의 도움말 표시: + +`acyclic -?` diff --git a/pages.ko/common/adb-devices.md b/pages.ko/common/adb-devices.md new file mode 100644 index 00000000000000..75a7597f03f960 --- /dev/null +++ b/pages.ko/common/adb-devices.md @@ -0,0 +1,12 @@ +# adb devices + +> 연결된 Android 장치 나열. +> 더 많은 정보: . + +- 장치 목록 나열: + +`adb devices` + +- 장치 및 해당 시스템 정보 나열: + +`adb devices -l` diff --git a/pages.ko/common/adb-install.md b/pages.ko/common/adb-install.md new file mode 100644 index 00000000000000..e6c9d9ce727e42 --- /dev/null +++ b/pages.ko/common/adb-install.md @@ -0,0 +1,28 @@ +# adb install + +> 안드로이드 디버그 브릿지 설치: 안드로이드 에뮬레이터 인스턴스 또는 연결된 안드로이드 장치에 패키지를 삽입. +> 더 많은 정보: . + +- 에뮬레이터/장치에 안드로이드 애플리케이션 삽입: + +`adb install {{경로/대상/파일.apk}}` + +- 특정 에뮬레이터/장치에 안드로이드 애플리케이션 삽입 ( `$ANDROID_SERIAL`를 재정의): + +`adb -s {{시리얼_번호}} install {{경로/대상/파일.apk}}` + +- 데이터를 유지하면서, 기존 앱을 다시 설치([r]einstall): + +`adb install -r {{경로/대상/파일.apk}}` + +- 버전 코드 다운그레이드([d]owngrade)를 허용하는 안드로이드 애플리케이션 삽입(디버깅 가능한 패키지만 해당): + +`adb install -d {{경로/대상/파일.apk}}` + +- 애플리케이션 매니페스트에 나열된 모든 권한을 부여([g]rant): + +`adb install -g {{경로/대상/파일.apk}}` + +- 변경된 APK 부분만 업데이트하여, 설치된 패키지를 빠르게 업데이트: + +`adb install --fastdeploy {{경로/대상/파일.apk}}` diff --git a/pages.ko/common/adb-logcat.md b/pages.ko/common/adb-logcat.md new file mode 100644 index 00000000000000..f2d23119aa3154 --- /dev/null +++ b/pages.ko/common/adb-logcat.md @@ -0,0 +1,36 @@ +# adb logcat + +> 시스템 메시지의 로그 덤프. +> 더 많은 정보: . + +- 시스템 로그 표시: + +`adb logcat` + +- 정규 표현식([e]xpression)과 일치하는 행 표시: + +`adb logcat -e {{정규_표현식}}` + +- 특정 모드(상세 ([V]erbose), 디버그([D]ebug), 정보([I]nfo), 경고([W]arning), 에러([E]rror), 치명적 오류([F]atal), 무음([S]ilent))에서 태그에 대한 로그를 표시하고 다른 태그를 필터링: + +`adb logcat {{태그}}:{{모드}} *:S` + +- 다른 태그를 무음으로([S]ilencing), 상세 ([V]erbose) 모드에서 React Native 애플리케이션에 대한 로그를 표시: + +`adb logcat ReactNative:V ReactNativeJS:V *:S` + +- 우선순위 수준이 경고([W]arning) 이상인 모든 태그에 대한 로그 표시: + +`adb logcat *:W` + +- 특정 PID에 대한 로그 표시: + +`adb logcat --pid {{pid}}` + +- 특정 패키지의 프로세스에 대한 로그 표시: + +`adb logcat --pid $(adb shell pidof -s {{패키지}})` + +- 로그 색상 지정(보통 필터와 함께 사용): + +`adb logcat -v color` diff --git a/pages.ko/common/adb-reboot.md b/pages.ko/common/adb-reboot.md new file mode 100644 index 00000000000000..c39b21c80a0414 --- /dev/null +++ b/pages.ko/common/adb-reboot.md @@ -0,0 +1,20 @@ +# adb reboot + +> 연결된 Android 기기 또는 에뮬레이터를 재부팅. +> 더 많은 정보: . + +- 장치를 정상적으로 재부팅: + +`adb reboot` + +- 장치를 부트로더 모드로 재부팅: + +`adb reboot bootloader` + +- 장치를 복구 모드로 재부팅: + +`adb reboot recovery` + +- 장치를 빠른 부팅 모드로 재부팅: + +`adb reboot fastboot` diff --git a/pages.ko/common/adb-reverse.md b/pages.ko/common/adb-reverse.md new file mode 100644 index 00000000000000..7c38f0cfddad0b --- /dev/null +++ b/pages.ko/common/adb-reverse.md @@ -0,0 +1,20 @@ +# adb reverse + +> 안드로이드 디버그 브릿지 역방향: 안드로이드 에뮬레이터 인스턴스 또는 연결된 안드로이드 장치에서 소켓 연결을 역방향으로 수행 +> 더 많은 정보: . + +- 에뮬레이터 및 장치의 모든 역방향 소켓 연결을 나열: + +`adb reverse --list` + +- 에뮬레이터 또는 장치의 TCP 포트를 localhost로 전환: + +`adb reverse tcp:{{원격_포트}} tcp:{{로컬_포트}}` + +- 에뮬레이터 또는 장치에서 역방향 소켓 연결을 제거: + +`adb reverse --remove tcp:{{원격_포트}}` + +- 모든 에뮬레이터 또는 장치에서 역방향 소켓 연결을 제거: + +`adb reverse --remove-all` diff --git a/pages.ko/common/adb-shell.md b/pages.ko/common/adb-shell.md new file mode 100644 index 00000000000000..0d68152bfb7d02 --- /dev/null +++ b/pages.ko/common/adb-shell.md @@ -0,0 +1,36 @@ +# adb shell + +> 안드로이드 디버그 브릿지 쉘: 안드로이드 에뮬레이터 인스턴스 또는 연결된 안드로이드 장치에서 원격 쉘 명령을 실행. +> 더 많은 정보: . + +- 에뮬레이터 또는 장치에서 원격 대화형 셸을 시작: + +`adb shell` + +- 에뮬레이터 또는 장치에서 모든 속성을 가져옴: + +`adb shell getprop` + +- 모든 런타임 권한을 기본 값으로 복구: + +`adb shell pm reset-permissions` + +- 애플리케이션에 대한 위험한 권한 취소: + +`adb shell pm revoke {{패키지}} {{권한}}` + +- 키보드 이벤트 트리거: + +`adb shell input keyevent {{키코드}}` + +- 에뮬레이터 또는 장치에서 애플리케이션 데이터 지우기: + +`adb shell pm clear {{패키지}}` + +- 에뮬레이터 또는 장치에서 액티비티 컴포넌트 시작: + +`adb shell am start -n {{패키지}}/{{활동}}` + +- 에뮬레이터 또는 기기에서 홈 액티비티 컴포넌트 시작: + +`adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN` diff --git a/pages.ko/common/adb.md b/pages.ko/common/adb.md index c596c2c6348f89..f21b127ba17869 100644 --- a/pages.ko/common/adb.md +++ b/pages.ko/common/adb.md @@ -1,7 +1,7 @@ # adb > 안드로이드 디버그 브릿지: 안드로이드 에뮬레이터 객체 또는 연결된 안드로이드 장치와 통신. -> 더 많은 정보: . +> 더 많은 정보: . - adb 서버 프로세스가 실행되고 있고, 시작하는지 확인: diff --git a/pages.ko/common/adguardhome.md b/pages.ko/common/adguardhome.md new file mode 100644 index 00000000000000..6b654364d5fe0d --- /dev/null +++ b/pages.ko/common/adguardhome.md @@ -0,0 +1,32 @@ +# AdGuardHome + +> 광고 및 추적을 차단하는 네트워크 소프트웨어. +> 더 많은 정보: . + +- AdGuard Home 실행: + +`AdGuardHome` + +- 구성 파일 지정: + +`AdGuardHome --config {{경로/대상/AdGuardHome.yaml}}` + +- 특정 작업 디렉터리에 데이터 저장: + +`AdGuardHome --work-dir {{경로/대상/디렉토리}}` + +- AdGuard Home을 서비스로 설치 또는 제거: + +`AdGuardHome --service {{install|uninstall}}` + +- AdGuard Home 서비스 시작: + +`AdGuardHome --service start` + +- AdGuard Home 서비스 구성 파일 리로드: + +`AdGuardHome --service reload` + +- AdGuard Home 서비스 중지 또는 재시작: + +`AdGuardHome --service {{stop|restart}}` diff --git a/pages.ko/common/adscript.md b/pages.ko/common/adscript.md new file mode 100644 index 00000000000000..2436d3e2a78dde --- /dev/null +++ b/pages.ko/common/adscript.md @@ -0,0 +1,20 @@ +# adscript + +> 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}}` diff --git a/pages.ko/common/afconvert.md b/pages.ko/common/afconvert.md new file mode 100644 index 00000000000000..7960c38e28371d --- /dev/null +++ b/pages.ko/common/afconvert.md @@ -0,0 +1,12 @@ +# afconvert + +> AFF와 원시 파일 형식 간의 변환. +> 더 많은 정보: . + +- 특정 확장자 사용(기본값: `aff`): + +`afconvert -a {{확장자}} {{경로/대상/입력_파일}} {{경로/대상/출력_파일1 경로/대상/출력_파일2 ...}}` + +- 특정 압축 단계 사용(기본값: `7`): + +`afconvert -X{{0..7}} {{경로/대상/입력_파일}} {{경로/대상/출력_파일1 경로/대상/출력_파일2 ...}}` diff --git a/pages.ko/common/ag.md b/pages.ko/common/ag.md index 0cc1e6f3d5b633..9b5c50b02b0b83 100644 --- a/pages.ko/common/ag.md +++ b/pages.ko/common/ag.md @@ -1,8 +1,8 @@ # ag > The Silver Searcher. -> ack과 비슷하지만, 더 빠르다. -> 더 많은 정보: . +> `ack` 과 비슷하지만, 더 빠르다. +> 더 많은 정보: . - "foo"를 포함하고 있는 파일들을 찾고, 내용에서 일치하는 행을 출력: diff --git a/pages.ko/common/agate.md b/pages.ko/common/agate.md new file mode 100644 index 00000000000000..73ab367a9c335d --- /dev/null +++ b/pages.ko/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> Gemini 네트워크 프로토콜을 위한 간단한 서버. +> 더 많은 정보: . + +- 개인 키와 인증서 실행 및 생성: + +`agate --content {{경로/대상/컨텐츠/}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{en-US}}` + +- 서버 실행: + +`agate {{경로/대상/파일}}` + +- 도움말 표시: + +`agate -h` diff --git a/pages.ko/common/age-keygen.md b/pages.ko/common/age-keygen.md new file mode 100644 index 00000000000000..a24e86076e2248 --- /dev/null +++ b/pages.ko/common/age-keygen.md @@ -0,0 +1,13 @@ +# age-keygen + +> `age` 키 쌍을 생성합니다. +> 더 보기: 파일을 암호화/복호화하기 위한 `age` 명령어. +> 더 많은 정보: . + +- 키 쌍을 생성하고, 암호화되지 않은 파일에 저장한 후 공개키를 `stdout`에 인쇄: + +`age-keygen --output {{경로/대상/파일}}` + +- 인증 정보(identit[y])를 수신자로 변환하고, 공개 키를 `stdout`에 인쇄: + +`age-keygen -y {{경로/대상/파일}}` diff --git a/pages.ko/common/age.md b/pages.ko/common/age.md new file mode 100644 index 00000000000000..e64290ed7eb2eb --- /dev/null +++ b/pages.ko/common/age.md @@ -0,0 +1,25 @@ +# age + +> 간단하고, 현대적이며 안전한 파일 암호화 도구. +> 더 보기: 키의 쌍을 생성하기 위한 `age-keygen`. +> 더 많은 정보: . + +- 암호로 해독할 수 있는 암호화된 파일을 생성: + +`age --passphrase --output {{경로/대상/암호화된_파일}} {{경로/대상/복호화된_파일}}` + +- 문자로 입력된 하나 이상의 공개키로 파일을 암호화 (여러 공개키를 지정하려면, `--recipient` 플래그를 반복): + +`age --recipient {{공개키}} --output {{경로/대상/암호화된_파일}} {{경로/대상/복호화된_파일}}` + +- 파일에 지정된 공개키를 사용하여 한 명 이상의 수신자에게 파일을 암호화 (한 줄에 하나씩): + +`age --recipients-file {{경로/대상/수신자_파일}} --output {{경로/대상/암호화된_파일}} {{경로/대상/복호화된_파일}}` + +- 암호를 가지고 파일 해독: + +`age --decrypt --output {{경로/대상/복호화된_파일}} {{경로/대상/암호화된_파일}}` + +- 개인 키 파일을 사용해 파일을 해독: + +`age --decrypt --identity {{경로/대상/개인_키_파일}} --output {{경로/대상/복호화된_파일}} {{경로/대상/암호화된_파일}}` diff --git a/pages.ko/common/aircrack-ng.md b/pages.ko/common/aircrack-ng.md new file mode 100644 index 00000000000000..6c6071e54288a8 --- /dev/null +++ b/pages.ko/common/aircrack-ng.md @@ -0,0 +1,17 @@ +# aircrack-ng + +> 수집된 패킷의 핸드셰이크 과정 중, WEP 및 WPA/WPA2 키를 크랙. +> Aircrack-ng 네트워크 소프트웨어 제품군의 일부. +> 더 많은 정보: . + +- [w]ordlist를 사용해 캡처 파일에서 크랙 키를 생성: + +`aircrack-ng -w {{경로/대상/wordlist.txt}} {{경로/대상/capture.cap}}` + +- [w]ordlist와 액세스 포인트의 [e]ssid를 사용하여 캡처 파일에서 키를 크랙: + +`aircrack-ng -w {{경로/대상/wordlist.txt}} -e {{essid}} {{경로/대상/capture.cap}}` + +- [w]ordlist와 액세스 포인트의 MAC 주소를 사용하여 캡처 파일에서 키를 크랙: + +`aircrack-ng -w {{경로/대상/wordlist.txt}} --bssid {{mac}} {{경로/대상/capture.cap}}` diff --git a/pages.ko/common/airdecap-ng.md b/pages.ko/common/airdecap-ng.md new file mode 100644 index 00000000000000..379d69dd8b6fa9 --- /dev/null +++ b/pages.ko/common/airdecap-ng.md @@ -0,0 +1,25 @@ +# airdecap-ng + +> WEP, WPA 또는 WPA2로 암호화된 캡처 파일 해독. +> Aircrack-ng 네트워크 소프트웨어 제품군의 일부. +> 더 많은 정보: . + +- 열려있는 네트워크 캡처 파일에서 무선 헤더를 제거, 액세스 포인트의 MAC 주소를 사용해 필터링: + +`airdecap-ng -b {{ap_mac}} {{경로/대상/capture.cap}}` + +- 16진수 형식의 키를 사용하여 [w]EP 암호화된 캡처 파일을 해독: + +`airdecap-ng -w {{hex_key}} {{경로/대상/capture.cap}}` + +- 액세스 포인트의 [e]ssid 및 [p]assword를 사용하여 WPA/WPA2 암호화된 캡처 파일을 해독: + +`airdecap-ng -e {{essid}} -p {{비밀번호}} {{경로/대상/capture.cap}}` + +- 액세스 포인트의 [e]ssid 및 [p]assword를 사용하여 헤더를 보존하는, WPA/WPA2 암호화된 캡처 파일을 해독: + +`airdecap-ng -l -e {{essid}} -p {{비밀번호}} {{경로/대상/capture.cap}}` + +- 액세스 포인트의 [e]ssid 및 [p]assword를 사용하여 WPA/WPA2 암호화된 캡처 파일을 해독하고, 해당 MAC 주소를 사용하여 필터링: + +`airdecap-ng -b {{ap_mac}} -e {{essid}} -p {{비밀번호}} {{경로/대상/capture.cap}}` diff --git a/pages.ko/common/aireplay-ng.md b/pages.ko/common/aireplay-ng.md new file mode 100644 index 00000000000000..a0f9bff4858c66 --- /dev/null +++ b/pages.ko/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> 무선 네트워크에 패킷을 주입. +> `aircrack-ng`의 일부. +> 더 많은 정보: . + +- 액세스 포인트의 MAC 주소, 클라이언트의 MAC 주소 및 인터페이스가 주어지면, 특정 개수의 분리된 패킷을 전송: + +`sudo aireplay-ng --deauth {{count}} --bssid {{ap_mac}} --dmac {{client_mac}} {{interface}}` diff --git a/pages.ko/common/airmon-ng.md b/pages.ko/common/airmon-ng.md new file mode 100644 index 00000000000000..fe7d607192a815 --- /dev/null +++ b/pages.ko/common/airmon-ng.md @@ -0,0 +1,21 @@ +# airmon-ng + +> 무선 네트워크 장치에서 모니터 모드를 활성화. +> `aircrack-ng`의 일부. +> 더 많은 정보: . + +- 무선 장치 및 상태를 나열: + +`sudo airmon-ng` + +- 특정 장치에 대한 모니터 모드 실행: + +`sudo airmon-ng start {{wlan0}}` + +- 무선 장치를 사용하는 방해되는 프로세스를 종료: + +`sudo airmon-ng check kill` + +- 특정 네트워크 인터페이스에 대한 모니터 모드 종료: + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.ko/common/airodump-ng.md b/pages.ko/common/airodump-ng.md new file mode 100644 index 00000000000000..daaff6bcaa7dd4 --- /dev/null +++ b/pages.ko/common/airodump-ng.md @@ -0,0 +1,21 @@ +# airodump-ng + +> 패킷을 캡처하고, 무선 네트워크에 대한 정보를 표시. +> `aircrack-ng`의 일부. +> 더 많은 정보: . + +- 2.4GHz 대역의 무선 네트워크에 대한 패킷을 캡처하고 정보를 표시: + +`sudo airodump-ng {{인터페이스}}` + +- 5GHz 대역의 무선 네트워크에 대한 패킷을 캡처하고 정보를 표시: + +`sudo airodump-ng {{인터페이스}} --band a` + +- 2.4GHz 및 5GHz 대역 모두에서 무선 네트워크에 대한 패킷을 캡처하고 정보를 표시: + +`sudo airodump-ng {{인터페이스}} --band abg` + +- MAC 주소와 채널을 통해 패킷을 캡처하고, 무선 네트워크에 대한 정보를 표시 및 출력 결과를 파일에 저장: + +`sudo airodump-ng --channel {{channel}} --write {{path/to/file}} --bssid {{mac}} {{interface}}` diff --git a/pages.ko/common/airpaste.md b/pages.ko/common/airpaste.md index e41130a17d2118..15d56d0b7f12e2 100644 --- a/pages.ko/common/airpaste.md +++ b/pages.ko/common/airpaste.md @@ -1,6 +1,7 @@ # airpaste > 동일 네트워크 내에서 메시지와 파일들 공유. +> 더 많은 정보: . - 메시지 대기와 수신 시 표시: diff --git a/pages.ko/common/airshare.md b/pages.ko/common/airshare.md new file mode 100644 index 00000000000000..b53b09d94b6447 --- /dev/null +++ b/pages.ko/common/airshare.md @@ -0,0 +1,28 @@ +# airshare + +> 로컬 네트워크의 두 컴퓨터 사이의 데이터 전송. +> 더 많은 정보: . + +- 파일 또는 디렉터리 공유: + +`airshare {{코드}} {{경로/대상/파일_또는_디렉토리1 경로/대상/파일_또는_디렉토리2 ...}}` + +- 파일 받기: + +`airshare {{코드}}` + +- 수신 서버 호스팅 (웹 인터페이스를 사용하여 파일을 업로드할 때 사용): + +`airshare --upload {{코드}}` + +- 파일이나 디렉터리를 수신 서버로 전송: + +`airshare --upload {{코드}} {{경로/대상/파일_또는_디렉토리1 경로/대상/파일_또는_디렉토리2 ...}}` + +- 경로가 클립보드에 복사된 파일 전송: + +`airshare --file-path {{코드}}` + +- 파일을 받아 클립보드에 복사: + +`airshare --clip-receive {{코드}}` diff --git a/pages.ko/common/ajson.md b/pages.ko/common/ajson.md new file mode 100644 index 00000000000000..b7110572367d72 --- /dev/null +++ b/pages.ko/common/ajson.md @@ -0,0 +1,20 @@ +# ajson + +> JSON 객체에서 JSONPath를 실행합니다. +> 더 많은 정보: . + +- 파일에서 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 * $}}'` diff --git a/pages.ko/common/alacritty.md b/pages.ko/common/alacritty.md index f43feaaa26e256..a3a3f23a3e115b 100644 --- a/pages.ko/common/alacritty.md +++ b/pages.ko/common/alacritty.md @@ -1,9 +1,9 @@ # alacritty > 교차 플랫폼으로, GPU-가속 터미널 에뮬레이터. -> 더 많은 정보: . +> 더 많은 정보: . -- 새 alacritty 창 열기: +- 새 Alacritty 창 열기: `alacritty` @@ -11,14 +11,14 @@ `alacritty --working-directory {{경로/디렉토리명}}` -- 새로운 alacritty 창에서 명령어 실행: +- 새로운 Alacritty 창에서 명령어 실행: `alacritty -e {{명령어}}` -- 대체 구성파일 지정 (기본값 : $XDG_CONFIG_HOME/alacritty/alacritty.yml): +- 대체 구성파일 지정 (기본값 : `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): -`alacritty --config-file {{경로/config.yml}}` +`alacritty --config-file {{경로/config.toml}}` -- 재배치가 가능한 라이브 구성 설정으로 실행 (기본적으로 alacritty.yml에서도 활성화 가능): +- 재배치가 가능한 라이브 구성 설정으로 실행 (기본적으로 `alacritty.toml` 에서도 활성화 가능): -`alacritty --live-config-reload --config-file {{경로/config.yml}}` +`alacritty --live-config-reload --config-file {{경로/config.toml}}` diff --git a/pages.ko/common/alias.md b/pages.ko/common/alias.md index 21bcd2e6c3ac98..70ac970552ce04 100644 --- a/pages.ko/common/alias.md +++ b/pages.ko/common/alias.md @@ -2,6 +2,7 @@ > 명령 문자열로 대체되는 단어인 별칭 -- 작성. > 별칭은 셀의 구성 파일에 정의되어 있지 않으면 현재 쉘 세션으로 만료됩니다, 예 : `~/.bashrc`. +> 더 많은 정보: . - 모든 별칭 리스트: diff --git a/pages.ko/common/amass-enum.md b/pages.ko/common/amass-enum.md new file mode 100644 index 00000000000000..4ec29295728155 --- /dev/null +++ b/pages.ko/common/amass-enum.md @@ -0,0 +1,28 @@ +# amass enum + +> 도메인의 하위 도메인 찾기. +> 더 많은 정보: . + +- 도메인([d]omain)의 하위 도메인을 (수동적으로) 찾기: + +`amass enum -d {{도메인_이름}}` + +- 도메인([d]omain)의 하위 도메인을 찾아 발견된 하위 도메인을 해결하려고 시도하면서, 적극적으로 확인: + +`amass enum -active -d {{도메인_이름}} -p {{80,443,8080}}` + +- 하위 도메인(sub[d]omains)에 대한 무차별 대입 검색을 수행: + +`amass enum -brute -d {{도메인_이름}}` + +- 결과를 텍스트 파일에 저장: + +`amass enum -o {{출력_파일}} -d {{도메인_이름}}` + +- 터미널 출력을 파일에 저장하고 기타 자세한 출력을 디렉터리에 저장: + +`amass enum -o {{출력_파일}} -dir {{경로/대상/디렉터리}} -d {{도메인_이름}}` + +- 사용 가능한 모든 데이터 소스 나열: + +`amass enum -list` diff --git a/pages.ko/common/amass-intel.md b/pages.ko/common/amass-intel.md new file mode 100644 index 00000000000000..b0aa6c508963c9 --- /dev/null +++ b/pages.ko/common/amass-intel.md @@ -0,0 +1,32 @@ +# amass intel + +> 루트 도메인 및 ASN과 같은 조직에 대한 오픈 소스 정보 수집. +> 더 많은 정보: . + +- IP 주소([addr]ess) 범위에서 루트 도메인 찾기: + +`amass intel -addr {{192.168.0.1-254}}` + +- 활성 정찰 방법을 사용: + +`amass intel -active -addr {{192.168.0.1-254}}` + +- 도메인([d]omain)과 관련된 루트 도메인 찾기: + +`amass intel -whois -d {{도메인_이름}}` + +- 조직([org]anisation)에 속하는 ASN 찾기: + +`amass intel -org {{조직_이름}}` + +- 주어진 자율 시스템 번호에 속하는 루트 도메인 찾기: + +`amass intel -asn {{asn}}` + +- 결과를 텍스트 파일에 저장: + +`amass intel -o {{출력_파일}} -whois -d {{도메인_이름}}` + +- 사용 가능한 모든 데이터 소스 나열: + +`amass intel -list` diff --git a/pages.ko/common/amass.md b/pages.ko/common/amass.md new file mode 100644 index 00000000000000..835fff6d594e6a --- /dev/null +++ b/pages.ko/common/amass.md @@ -0,0 +1,21 @@ +# amass + +> 심층 공격 표면 매핑 및 자산 검색 도구. +> `amass intel`과 같은 일부 하위 명령에는 자체적으로 사용 설명서가 존재. +> 더 많은 정보: . + +- Amass 하위 명령어 실행: + +`amass {{intel|enum}} {{options}}` + +- 도움말 표시: + +`amass -help` + +- Amass 하위 명령에 대한 도움말 표시: + +`amass {{intel|enum}} -help` + +- 버전 정보 표시: + +`amass -version` diff --git a/pages.ko/common/androguard.md b/pages.ko/common/androguard.md new file mode 100644 index 00000000000000..446d32b0e7929b --- /dev/null +++ b/pages.ko/common/androguard.md @@ -0,0 +1,16 @@ +# androguard + +> 파이썬으로 작성된 안드로이드 애플리케이션 용 리버스 엔지니어링 도구입니다. +> 더 많은 정보: . + +- Android 앱 매니페스트 표시: + +`androguard axml {{경로/대상/앱.apk}}` + +- 앱 메타데이터(버전 및 앱 아이디) 표시: + +`androguard apkid {{경로/대상/앱.apk}}` + +- 앱에서 자바 코드를 디컴파일: + +`androguard decompile {{경로/대상/앱.apk}} --output {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/ani-cli.md b/pages.ko/common/ani-cli.md new file mode 100644 index 00000000000000..15456a19e57e4c --- /dev/null +++ b/pages.ko/common/ani-cli.md @@ -0,0 +1,28 @@ +# ani-cli + +> 애니메이션을 탐색하고 시청할 수 있는 커멘드라인 인터페이스. +> 더 많은 정보: . + +- 이름으로 애니메이션 검색: + +`ani-cli "{{애니메이션_이름}}"` + +- 에피소드 다운로드([d]ownload): + +`ani-cli -d "{{애니메이션_이름}}"` + +- 에피소드 다운로드 [v]LC를 미디어 플레이어로 사용: + +`ani-cli -v "{{애니메이션_이름}}"` + +- 특정 에피소드([e]pisode)를 시청: + +`ani-cli -e {{에피소드_숫자}} "{{애니메이션_이름}}"` + +- 기록에 있는 애니메이션을 계속해서([c]ontinue) 시청: + +`ani-cli -c` + +- `ani-cli` 업데이트([U]pdate): + +`ani-cli -U` diff --git a/pages.ko/common/animdl.md b/pages.ko/common/animdl.md new file mode 100644 index 00000000000000..f49a7c203a6dc2 --- /dev/null +++ b/pages.ko/common/animdl.md @@ -0,0 +1,37 @@ +# animdl + +> 매우 효율적으로 강력하며, 빠른 애니메이션 스크레이퍼. +> 참고: `ani-cli`. +> 더 많은 정보: . + +- 특정 애니메이션 다운로드: + +`animdl download {{애니메이션_제목}}` + +- 에피소드 범위를 지정하여 특정 애니메이션을 다운로드: + +`animdl download {{애니메이션_제목}} {{[-r|--range]}} {{시작_에피소드}}-{{종료_에피소드}}` + +- 다운로드 디렉터리를 지정하여 특정 애니메이션을 다운로드: + +`animdl download {{애니메이션_제목}} {{[-d|--download-dir]}} {{경로/대상/다운로드_디렉터리}}` + +- 특정 애니메이션의 스트림 URL을 확인: + +`animdl grab {{애니메이션_제목}}` + +- 다음주에 예정된 애니메이션 일정을 표시: + +`animdl schedule` + +- 특정 애니메이션 검색: + +`animdl search {{애니메이션_제목}}` + +- 특정 애니메이션 스트리밍: + +`animdl stream {{애니메이션_제목}}` + +- 특정 애니메이션의 최신 에피소드를 스트리밍: + +`animdl stream {{애니메이션_제목}} {{[-s|--special]}} latest` diff --git a/pages.ko/common/anki.md b/pages.ko/common/anki.md new file mode 100644 index 00000000000000..b451e5281ab888 --- /dev/null +++ b/pages.ko/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> 강력하고, 지능적인 플래시카드 프로그램. +> 더 많은 정보: . + +- `anki` 실행: + +`anki` + +- 특정 프로필로 `anki` 실행: + +`anki -p {{프로필_이름}}` + +- 특정 언어로 `anki` 실행: + +`anki -l {{언어}}` + +- 기본값 대신 특정 디렉터리에서 `anki`를 실행 (`~/Anki`): + +`anki -b {{경로/대상/디렉토리}}` diff --git a/pages.ko/common/ansible-doc.md b/pages.ko/common/ansible-doc.md new file mode 100644 index 00000000000000..41c81108f2f700 --- /dev/null +++ b/pages.ko/common/ansible-doc.md @@ -0,0 +1,29 @@ +# ansible-doc + +> Ansible 라이브러리에 설치된 모듈에 대한 정보를 표시. +> 플러그인과 간단한 설명의 정리된 목록을 표시. +> 더 많은 정보: . + +- 사용 가능한 작업 플러그인(모듈) 목록: + +`ansible-doc {{[-l|--list]}}` + +- 특정 유형의 사용 가능한 플러그인을 나열: + +`ansible-doc {{[-t|--type]}} {{become|cache|callback|cliconf|connection|...}} {{[-l|--list]}}` + +- 특정 작업 플러그인(모듈)에 대한 정보 표시: + +`ansible-doc {{plugin_name}}` + +- 특정 유형의 플러그인에 대한 정보 표시: + +`ansible-doc {{[-t|--type]}} {{become|cache|callback|cliconf|connection|...}} {{플러그인_이름}}` + +- 액션 플러그인(모듈)에 대한 플레이북 스니펫 표시: + +`ansible-doc {{[-s|--snippet]}} {{플러그인_이름}}` + +- 액션 플러그인(모듈)에 대한 정보를 JSON으로 표시: + +`ansible-doc {{[-j|--json]}} {{플러그인_이름}}` diff --git a/pages.ko/common/ansible-galaxy.md b/pages.ko/common/ansible-galaxy.md index 7ba81c0628c16d..31a103075bcad6 100644 --- a/pages.ko/common/ansible-galaxy.md +++ b/pages.ko/common/ansible-galaxy.md @@ -1,15 +1,15 @@ # ansible-galaxy -> 수용 가능한 역할 생성 및 관리. +> Ansible 역할 생성 및 관리. > 더 많은 정보: . - 역할 설치: -`ansible-galaxy install {{사용자이름.역할_}}` +`ansible-galaxy install {{사용자명}}.{{역할_이름}}` - 역할 제거: -`ansible-galaxy remove {{사용자이름.역할_이름}}` +`ansible-galaxy remove {{사용자명}}.{{역할_이름}}` - 설치된 역할 리스트: @@ -22,3 +22,11 @@ - 새로운 역할 생성: `ansible-galaxy init {{역할_이름}}` + +- 사용자 역할에 해당하는 정보 가져오기: + +`ansible-galaxy role info {{사용자명}}.{{역할_이름}}` + +- 컬렉션에 대한 정보 가져오기: + +`ansible-galaxy collection info {{사용자명}}.{{컬렉션_이름}}` diff --git a/pages.ko/common/ansible-inventory.md b/pages.ko/common/ansible-inventory.md new file mode 100644 index 00000000000000..5dee3e557d5dc3 --- /dev/null +++ b/pages.ko/common/ansible-inventory.md @@ -0,0 +1,21 @@ +# ansible-inventory + +> Ansible 인벤토리를 표시하거나 덤프. +> 또한, `ansible`을 참조하세요. +> 더 많은 정보: . + +- 기본 인벤토리를 표시: + +`ansible-inventory --list` + +- 사용자 지정 인벤토리를 표시: + +`ansible-inventory --list {{[-i|--inventory-file]}} {{경로/대상/파일_또는_스크립트_또는_디렉토리}}` + +- YAML에서 기본 인벤토리를 표시: + +`ansible-inventory --list {{[-y|--yaml]}}` + +- 기본 인벤토리를 파일에 덤프: + +`ansible-inventory --list --output {{경로/대상/파일}}` diff --git a/pages.ko/common/ansible-playbook.md b/pages.ko/common/ansible-playbook.md index a55de060957aeb..3423e978bbd10c 100644 --- a/pages.ko/common/ansible-playbook.md +++ b/pages.ko/common/ansible-playbook.md @@ -9,12 +9,24 @@ - 사용자 정의 호스트 인벤토리를 포함한 playbook에서 작업 실행: -`ansible-playbook {{playbook}} -i {{인벤토리_파일}}` +`ansible-playbook {{playbook}} {{[-i|--inventory]}} {{인벤토리_파일}}` -- 명령어 라인을 통해 정의된 추가 변수를 사용하여 playbook에서 작업 실행: +- 명령어로 정의된 추가 변수를 사용하여 playbook에서 작업 실행: -`ansible-playbook {{playbook}} -e "{{변수1}}={{값1}} {{변수2}}={{값2}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "{{변수1}}={{값1}} {{변수2}}={{값2}}"` - json 파일에 정의된 추가 변수를 사용하여 playbook에서 작업 실행: -`ansible-playbook {{playbook}} -e "@{{변수.json}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "@{{변수.json}}"` + +- 지정된 태그에 대해 플레이북에서 작업 실행: + +`ansible-playbook {{playbook}} {{[-t|--tags|]}} {{태그1,태그2}}` + +- 특정 작업에서 시작하는 playbook에서 작업 실행: + +`ansible-playbook {{playbook}} --start-at {{작업_이름}}` + +- 변경사항을 적용하지 않고 플레이북에서 작업 실행(dry-run): + +`ansible-playbook {{playbook}} {{[-C|--check|]}} {{[-D|--diff|]}}` diff --git a/pages.ko/common/ansible-pull.md b/pages.ko/common/ansible-pull.md new file mode 100644 index 00000000000000..a30b8d8164cd38 --- /dev/null +++ b/pages.ko/common/ansible-pull.md @@ -0,0 +1,20 @@ +# ansible-pull + +> VCS 저장소에서 Ansible 플레이북을 가져와 로컬 호스트에서 실행. +> 더 많은 정보: . + +- VCS에서 플레이북을 가져와 기본 local.yml playbook을 실행: + +`ansible-pull {{[-U|--url]}} {{저장소_url}}` + +- VCS에서 플레이북을 가져와 특정 플레이북을 실행: + +`ansible-pull {{[-U|--url]}} {{저장소_url}} {{playbook}}` + +- 특정 지점의 VCS에서 플레이북을 가져와 특정 플레이북을 실행: + +`ansible-pull {{[-U|--url]}} {{저장소_url}} {{[-C|--checkout]}} {{branch}} {{playbook}}` + +- VCS에서 플레이북을 가져오고, 호스트 파일을 지정하고 특정 플레이북을 실행: + +`ansible-pull {{[-U|--url]}} {{저장소_url}} {{[-i|--inventory]}} {{hosts_file}} {{playbook}}` diff --git a/pages.ko/common/ansible-vault.md b/pages.ko/common/ansible-vault.md new file mode 100644 index 00000000000000..801437136025e1 --- /dev/null +++ b/pages.ko/common/ansible-vault.md @@ -0,0 +1,28 @@ +# ansible-vault + +> Ansible 프로젝트 내에서 값, 데이터 구조 및 파일을 암호화하고 해독. +> 더 많은 정보: . + +- 비밀번호를 입력하라는 메시지가 표시된 새로운 암호화된 볼트 파일을 만듬: + +`ansible-vault create {{볼트_파일}}` + +- 볼트 키 파일을 사용하여, 암호화된 새 볼트 파일을 만듬: + +`ansible-vault create --vault-password-file {{비밀번호_파일}} {{볼트_파일}}` + +- 선택적 비밀번호 파일을 사용하여, 기존 파일을 암호화: + +`ansible-vault encrypt --vault-password-file {{비밀번호_파일}} {{볼트_파일}}` + +- Ansible의 암호화된 문자열 형식을 사용하여, 문자열을 암호화하고 대화형 프롬프트를 표시: + +`ansible-vault encrypt_string` + +- 암호 파일을 사용하여, 암호화된 파일을 해독하는 방법: + +`ansible-vault view --vault-password-file {{비밀번호_파일}} {{볼트_파일}}` + +- 이미 암호화된 볼트 파일을 새 암호 파일로 다시 키 지정: + +`ansible-vault rekey --vault-password-file {{예전_비밀번호_파일}} --new-vault-password-file {{새로운_비밀번호_파일}} {{볼트_파일}}` diff --git a/pages.ko/common/ansible.md b/pages.ko/common/ansible.md index 14f99b5be7b284..827b2350007a25 100644 --- a/pages.ko/common/ansible.md +++ b/pages.ko/common/ansible.md @@ -1,8 +1,8 @@ # ansible -> SSH를 통해 컴퓨터 그룹을 원격으로 관리. -> /etc/ansible/hosts 파일을 사용하여 새 그룹/호스트를 추가하십시오. -> 더 많은 정보: . +> SSH를 통해 컴퓨터 그룹을 원격으로 관리. (`/etc/ansible/hosts` 파일을 사용하여 새 그룹/호스트를 추가하십시오). +> `galaxy`와 같은 일부 하위 명령에는 자체 사용 설명서가 있음. +> 더 많은 정보: . - 그룹에 속한 호스트 목록: @@ -10,20 +10,24 @@ - 핑 모듈을 호출하여 호스트 그룹 핑: -`ansible {{그룹명}} -m ping` +`ansible {{그룹명}} {{[-m|--module-name]}} ping` - 설정 모듈을 호출하여 호스트 그룹에 대한 사실 표시: -`ansible {{그룹명}} -m setup` +`ansible {{그룹명}} {{[-m|--module-name]}} setup` - 명령 모듈을 인수로 호출하여 호스트 그룹에서 명령어 실행: -`ansible {{그룹명}} -m command -a '{{나의_명령어}}'` +`ansible {{그룹명}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{나의_명령어}}'` - 관리자 권한으로 명령어 실행: -`ansible {{그룹명}} --become --ask-become-pass -m command -a '{{나의_명령어}}'` +`ansible {{그룹명}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{나의_명령어}}'` - 사용자 정의 인벤토리 파일을 사용하여 명령어 실행: -`ansible {{그룹}} -i {{인벤토리_파일}} -m command -a '{{나의_명령어}}'` +`ansible {{그룹}} {{[-i|--inventory]}} {{인벤토리_파일}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{나의_명령어}}'` + +- 인벤토리의 그룹을 나열: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.ko/common/ansiweather.md b/pages.ko/common/ansiweather.md index 070ca085fdfe4c..2996501ee7ba40 100644 --- a/pages.ko/common/ansiweather.md +++ b/pages.ko/common/ansiweather.md @@ -5,12 +5,12 @@ - 폴란드 르제조에 대한 메트릭 단위를 사용하여 예측 표시: -`ansiweather -u {{metric}} -f {{5}} -l {{Rzeszow,PL}}` +`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}` - 당신의 현재 위치에 대한 기호 및 일광 데이터를 표시하는 예측 표시: -`ansiweather -s {{true}} -d {{true}}` +`ansiweather -F -s true -d true` - 당신의 현재 위치의 바람과 습도 데이터를 보여주는 예측 표시: -`ansiweather -w {{true}} -h {{true}}` +`ansiweather -w true -h true` diff --git a/pages.ko/common/ant.md b/pages.ko/common/ant.md new file mode 100644 index 00000000000000..d5e5d4cba665c4 --- /dev/null +++ b/pages.ko/common/ant.md @@ -0,0 +1,25 @@ +# ant + +> Apache Ant. +> 자바 기반 프로젝트를 빌드하고 관리하는 도구. +> 더 많은 정보: . + +- 기본 빌드 파일인 `build.xml`로 프로젝트 빌드: + +`ant` + +- 기본 빌드 파일인 `build.xml`이 아니라 지정된 빌드 파일로 프로젝트 빌드: + +`ant -f {{buildfile.xml}}` + +- 이 프로젝트에 정의된 타겟들에 대한 정보 출력: + +`ant -p` + +- 디버깅 정보를 함께 출력: + +`ant -d` + +- 실패한 타겟(들)에 의존하지 않는 모든 타겟을 실행: + +`ant -k` diff --git a/pages.ko/common/antibody.md b/pages.ko/common/antibody.md new file mode 100644 index 00000000000000..8d64668e2195c7 --- /dev/null +++ b/pages.ko/common/antibody.md @@ -0,0 +1,16 @@ +# antibody + +> "가장 빠른" 쉘 플러그인 관리자. +> 더 많은 정보: . + +- 정적 로딩을 위해 모든 플러그인을 번들로 묶음: + +`antibody bundle < {{~/.zsh_plugins.txt}} > {{~/.zsh_plugins.sh}}` + +- 모든 번들 업데이트: + +`antibody update` + +- 설치된 모든 플러그인 나열: + +`antibody list` diff --git a/pages.ko/common/anytopnm.md b/pages.ko/common/anytopnm.md new file mode 100644 index 00000000000000..3aaabc1f493cf6 --- /dev/null +++ b/pages.ko/common/anytopnm.md @@ -0,0 +1,12 @@ +# anytopnm + +> 임의 유형의 이미지 파일을 일반적인 이미지 형식으로 변환합니다. +> 더 많은 정보: . + +- 입력 유형에 관계없이 입력 이미지를 PBM, PGM 또는 PPM 형식으로 변환: + +`anytopnm {{경로/대상/입력}} > {{경로/대상/출력.pnm}}` + +- 디스플레이 버전: + +`anytopnm -version` diff --git a/pages.ko/common/apg.md b/pages.ko/common/apg.md index 5a615db69fb610..5e701c266eea10 100644 --- a/pages.ko/common/apg.md +++ b/pages.ko/common/apg.md @@ -1,6 +1,7 @@ # apg > 임의로 복잡한 랜덤 암호를 만듭니다. +> 더 많은 정보: . - 임의 비밀번호 생성 (기본 비밀번호 길이는 8): @@ -20,4 +21,4 @@ - 사전에 나타나지 않는 암호를 생성(사전 파일을 제공해야함): -`apg -r {{디렉토리_파일}}` +`apg -r {{경로/대상/디렉토리_파일}}` diff --git a/pages.ko/common/apkleaks.md b/pages.ko/common/apkleaks.md new file mode 100644 index 00000000000000..5157b5d33eb43f --- /dev/null +++ b/pages.ko/common/apkleaks.md @@ -0,0 +1,17 @@ +# apkleaks + +> APK 파일에서 URI, 엔드포인트, 비밀을 노출. +> 참고: APKLeaks는 `jadx` 디스어셈블러를 사용하여 APK 파일을 디컴파일. +> 더 많은 정보: . + +- APK 파일([f]ile)에서 URI, 엔드포인트, 비밀을 스캔: + +`apkleaks --file {{경로/대상/파일.apk}}` + +- 출력([o]utput)을 스캔하여 특정 파일에 저장: + +`apkleaks --file {{경로/대상/파일.apk}} --output {{경로/대상/출력파일.txt}}` + +- `jadx` 디스어셈블러 인수([a]rguments) 전달: + +`apkleaks --file {{경로/대상/파일.apk}} --args "{{--threads-count 5 --deobf}}"` diff --git a/pages.ko/common/apktool.md b/pages.ko/common/apktool.md new file mode 100644 index 00000000000000..64909aeb0e9860 --- /dev/null +++ b/pages.ko/common/apktool.md @@ -0,0 +1,16 @@ +# apktool + +> APK 파일 리버스 엔지니어링. +> 더 많은 정보: . + +- APK 파일 디코딩: + +`apktool d {{경로/대상/파일.apk}}` + +- 디렉토리로부터 APK 파일 빌드: + +`apktool b {{경로/대상/폴더}}` + +- 프레임워크 설치 및 저장: + +`apktool if {{경로/대상/프레임워크.apk}}` diff --git a/pages.ko/common/apropos.md b/pages.ko/common/apropos.md index a0015948240001..132c70adc238dd 100644 --- a/pages.ko/common/apropos.md +++ b/pages.ko/common/apropos.md @@ -1,6 +1,7 @@ # apropos > 메뉴얼 페이지에서 검색, 예를 들어 새로운 명령어 검색. +> 더 많은 정보: . - 키워드 검색: @@ -12,4 +13,4 @@ - 주어진 모든 표현식만 포함하는 페이지 검색(AND 검색): -`apropos {{정규 표현식_1}} -a {{정규 표현식_2}} -a {{정규 표현식_3}` +`apropos {{정규 표현식_1}} -a {{정규 표현식_2}} -a {{정규 표현식_3}}` diff --git a/pages.ko/common/ar.md b/pages.ko/common/ar.md index d63043ede133ee..aab25c19c14565 100644 --- a/pages.ko/common/ar.md +++ b/pages.ko/common/ar.md @@ -1,23 +1,24 @@ # ar -> 아카이브로부터 생성, 수정, 추출 (.a, .so, .o). +> 아카이브로부터 생성, 수정, 추출 (`.a`, `.so`, `.o`). +> 더 많은 정보: . - 보관소로부터 모든 멤버를 추출하기: -`ar -x {{libfoo.a}}` +`ar x {{경로/대상/파일.a}}` - 보관소 멤버 리스트 보여주기: -`ar -t {{libfoo.a}}` +`ar t {{경로/대상/파일.ar}}` - 보관소로 파일을 대체하거나 추가하기: -`ar -r {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}` +`ar r {{경로/대상/파일.deb}} {{경로/대상/debian-binary 경로/대상/control.tar.gz 경로/대상/data.tar.xz ...}}` - object 파일 인덱스 삽입( `ranlib` 와 같은 기능입니다): -`ar -s {{libfoo.a}}` +`ar s {{경로/대상/파일.a}}` - 파일 및 첨부된 객체 파일 색인을 사용하여 보관소에 작성: -`ar -rs {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}` +`ar rs {{경로/대상/파일.a}} {{경로/대상/파일1.o 경로/대상/파일2.o ...}}` diff --git a/pages.ko/common/arch.md b/pages.ko/common/arch.md index 3955b011680cc1..7d4727b4334c52 100644 --- a/pages.ko/common/arch.md +++ b/pages.ko/common/arch.md @@ -2,6 +2,7 @@ > 시스템 구조의 이름을 보여줍니다. > `uname` 도 같이 보세요. +> 더 많은 정보: . - 시스템 구조 보여주기: diff --git a/pages.ko/common/archwiki-rs.md b/pages.ko/common/archwiki-rs.md new file mode 100644 index 00000000000000..fb1e188b5484b1 --- /dev/null +++ b/pages.ko/common/archwiki-rs.md @@ -0,0 +1,20 @@ +# archwiki-rs + +> ArchWiki에서 페이지를 읽고 검색하고 다운로드. +> 더 많은 정보: . + +- ArchWiki에서 한 페이지를 읽어보기: + +`archwiki-rs read-page {{페이지_제목}}` + +- 지정된 형식으로 ArchWiki에서 페이지를 읽음: + +`archwiki-rs read-page {{페이지_제목}} --format {{plain-text|markdown|html}}` + +- 제공된 텍스트가 포함된 페이지를 ArchWiki에서 검색: + +`archwiki-rs search "{{검색_텍스트}}" --text-search` + +- 모든 ArchWiki 페이지의 로컬 복사본을 특정 디렉터리로 다운로드: + +`archwiki-rs local-wiki {{/경로/대상/로컬_위키}} --format {{plain-text|markdown|html}}` diff --git a/pages.ko/common/arduino-builder.md b/pages.ko/common/arduino-builder.md new file mode 100644 index 00000000000000..335d56396ed986 --- /dev/null +++ b/pages.ko/common/arduino-builder.md @@ -0,0 +1,25 @@ +# arduino-builder + +> 아두이노 스케치 컴파일. +> 사용 중단 경고: 이 도구는 `arduino`로 인해 단계적으로 중단. +> 더 많은 정보: . + +- 스케치를 작성: + +`arduino-builder -compile {{경로/대상/sketch.ino}}` + +- 디버그 수준 지정 (기본값: 5): + +`arduino-builder -debug-level {{1..10}}` + +- 사용자 정의 빌드 디렉토리 지정: + +`arduino-builder -build-path {{경로/대상/빌드_디렉터리}}` + +- `-hardware`, `-tools` 등을 매번 수동으로 지정하는 대신, 빌드 옵션 파일을 사용: + +`arduino-builder -build-options-file {{경로/대상/build.options.json}}` + +- 상세 모드 활성화: + +`arduino-builder -verbose {{true}}` diff --git a/pages.ko/common/arduino.md b/pages.ko/common/arduino.md new file mode 100644 index 00000000000000..10ead8e10b25db --- /dev/null +++ b/pages.ko/common/arduino.md @@ -0,0 +1,36 @@ +# arduino + +> Arduino Studio - Arduino 플랫폼을 위한 통합 개발 환경. +> 더 많은 정보: . + +- 스케치 작성: + +`arduino --verify {{경로/대상/파일.ino}}` + +- 스케치를 작성하고 업로드: + +`arduino --upload {{경로/대상/파일.ino}}` + +- Atmega328p CPU가 장착된 Arduino Nano에 스케치를 빌드하고 업로드, 포트 `/dev/ttyACM0`에 연결됨: + +`arduino --board {{arduino:avr:nano:cpu=atmega328p}} --port {{/dev/ttyACM0}} --upload {{경로/대상/파일.ino}}` + +- 환경 설정 `name`을 주어진 `value`로 설정: + +`arduino --pref {{이름}}={{값}}` + +- 스케치를 빌드하고 빌드 결과를 빌드 디렉터리에 넣고, 해당 디렉토리에 있는 이전 빌드 결과를 재사용: + +`arduino --pref build.path={{경로/대상/빌드_디렉터리}} --verify {{경로/대상/파일.ino}}` + +- (변경된) 기본 설정을 `preferences.txt`에 저장: + +`arduino --save-prefs` + +- 최신 SAM 보드 설치: + +`arduino --install-boards "{{arduino:sam}}"` + +- Bridge 및 Servo 라이브러리 설치: + +`arduino --install-library "{{Bridge:1.0.0,Servo:1.2.0}}"` diff --git a/pages.ko/common/argocd-app.md b/pages.ko/common/argocd-app.md new file mode 100644 index 00000000000000..b20745004b81a2 --- /dev/null +++ b/pages.ko/common/argocd-app.md @@ -0,0 +1,36 @@ +# argocd app + +> Argo CD로 애플리케이션을 관리하는 명령줄 인터페이스. +> 더 많은 정보: . + +- 애플리케이션 목록 보여주기: + +`argocd app list --output {{json|yaml|wide}}` + +- 애플리케이션 세부사항 가져오기: + +`argocd app get {{애플리케이션_이름}} --output {{json|yaml|wide}}` + +- 애플리케이션을 내부적으로 (Argo CD가 실행되고 있는 동일한 클러스터에) 배포: + +`argocd app create {{애플리케이션_이름}} --repo {{git_레포지토리_주소}} --path {{경로/대상/레포지토리}} --dest-server https://kubernetes.default.svc --dest-namespace {{네임스페이스}}` + +- 애플리케이션 삭제: + +`argocd app delete {{애플리케이션_이름}}` + +- 애플리케이션 자동 동기화 활성화: + +`argocd app set {{애플리케이션_이름}} --sync-policy auto --auto-prune --self-heal` + +- 클러스터에 영향을 주지 않고 애플리케이션 동기화 미리보기: + +`argocd app sync {{애플리케이션_이름}} --dry-run --prune` + +- 애플리케이션 배포 기록 표시: + +`argocd app history {{애플리케이션_이름}} --output {{wide|id}}` + +- 히스토리 ID를 기준으로 이전 배포 버전으로 애플리케이션 롤백 (예상치 못한 리소스 삭제): + +`argocd app rollback {{애플리케이션_이름}} {{히스토리_id}} --prune` diff --git a/pages.ko/common/argocd.md b/pages.ko/common/argocd.md new file mode 100644 index 00000000000000..38a7d470ed9b4e --- /dev/null +++ b/pages.ko/common/argocd.md @@ -0,0 +1,13 @@ +# argocd + +> Argo CD 서버를 제어하는 명령줄 인터페이스. +> `argocd app`과 같은 일부 하위 명령에는 자체 사용 문서가 있습니다. +> 더 많은 정보: . + +- Argo CD 서버에 로그인: + +`argocd login --insecure --username {{사용자}} --password {{비밀번호}} {{argocd_서버:포트}}` + +- 애플리케이션 목록 보여주기: + +`argocd app list` diff --git a/pages.ko/common/argon2.md b/pages.ko/common/argon2.md new file mode 100644 index 00000000000000..9f061aaaab19eb --- /dev/null +++ b/pages.ko/common/argon2.md @@ -0,0 +1,20 @@ +# argon2 + +> Argon2 암호화 해시 계산. +> 더 많은 정보: . + +- 기본 매개변수를 사용하여 비밀번호와 솔트를 사용하여 해시를 계산: + +`echo "{{비밀번호}}" | argon2 "{{솔트_문자}}"` + +- 지정된 알고리즘을 사용하여 해시 계산: + +`echo "{{비밀번호}}" | argon2 "{{솔트_문자}}" -{{d|i|id}}` + +- 추가 정보 없이 출력 해시 표시: + +`echo "{{비밀번호}}" | argon2 "{{솔트_문자}}" -e` + +- 주어진 반복 [t](시간), [m](메모리 사용량) 및 [p](병렬성 매개변수)를 사용하여 해시를 계산: + +`echo "{{비밀번호}}" | argon2 "{{솔트_문자}}" -t {{5}} -m {{20}} -p {{7}}` diff --git a/pages.ko/common/argos-translate.md b/pages.ko/common/argos-translate.md new file mode 100644 index 00000000000000..84a71f460db26f --- /dev/null +++ b/pages.ko/common/argos-translate.md @@ -0,0 +1,32 @@ +# argos-translate + +> Python으로 작성된 오픈소스 오프라인 번역 라이브러리 및 CLI 도구. +> 더 많은 정보: . + +- 스페인어에서 영어로 번역하려면 번역 쌍을 설치: + +`argospm install translate-es_en` + +- 일부 텍스트를 스페인어(`es`)에서 영어(`en`)로 번역 (참고: 두 글자 언어 코드만 지원됨): + +`argos-translate --from-lang es --to-lang en {{un texto corto}}` + +- 텍스트 파일을 영어에서 힌디어로 번역: + +`cat {{경로/대상/파일.txt}} | argos-translate --from-lang en --to-lang hi` + +- 설치된 모든 번역 쌍 나열: + +`argospm list` + +- 설치 가능한 영어 번역 쌍 표시: + +`argospm search --from-lang en` + +- 설치된 언어 패키지 쌍 업데이트: + +`argospm update` + +- `ar`에서 `ru`로 번역 (참고: 번역 쌍 `translate-ar_en` 및 `translate-en_ru`가 설치되어 있어야 함): + +`argos-translate --from-lang ar --to-lang ru {{صورة تساوي أكثر من ألف كلمة}}` diff --git a/pages.ko/common/aria2.md b/pages.ko/common/aria2.md index 3cc1dcf6e6c437..4fc18b6bec067d 100644 --- a/pages.ko/common/aria2.md +++ b/pages.ko/common/aria2.md @@ -1,33 +1,7 @@ # aria2 -> 경량 멀티 프로토콜 및 멀티 소스 명령줄 다운로드 유틸리티입니다. -> HTTP, HTTPS, FTP, SFTP, BitTorrent와 Metalink를 지원합니다. -> 더 많은 정보: . +> 이 명령은 `aria2c` 의 에일리어스 (별칭) 입니다. -- 웹 리소스 다운로드: +- 원본 명령의 도큐멘테이션 (설명서) 보기: -`aria2c {{http://example.org/myLinux.iso}}` - -- 멀티 소스 리소스 다운로드: - -`aria2c {{http://mirror1.org/myLinux.iso}} {{http://mirror2.org/myLinux.iso}}` - -- 호스트당 2개의 연결을 사용하여 다운로드 : - -`aria2c -x{{2}} {{http://example.org/myLinux.iso}}` - -- Metalink URL로 다운로드: - -`aria2c {{http://example.org/myLinux.metalink}}` - -- BitTorrent URI로 다운로드: - -`aria2c {{http://example.org/myLinux.torrent}}` - -- BitTorrent Magnet URI로 다운로드: - -`aria2c {{'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C'}}` - -- 파일로 URls 다운로드: - -`aria2c -i {{uris.txt}}` +`tldr aria2c` diff --git a/pages.ko/common/aria2c.md b/pages.ko/common/aria2c.md index 294bb7954ffd19..dd03f22f27dfd3 100644 --- a/pages.ko/common/aria2c.md +++ b/pages.ko/common/aria2c.md @@ -1,29 +1,37 @@ # aria2c > 빠른 다운로드 유틸리티. -> HTTP(S), FTP, SFTP, BitTorrent, and Metalink를 지원합니다. +> HTTP(S), FTP, SFTP, BitTorrent 및 Metalink를 지원합니다. > 더 많은 정보: . -- URl을 파일에 다운로드: +- 특정 URI를 파일로 다운로드: -`aria2c {{url}}` +`aria2c "{{url}}"` -- 다중 소스를 다운로드: +- 특정 출력 이름을 가진 URI에서 파일을 다운로드: -`aria2c {{url_1}} {{url_2}}` +`aria2c --out {{경로/대상/파일}} "{{url}}"` -- 파일에 나열된 URI 다운로드 : +- 여러 개의 서로 다른 파일을 병렬로 다운로드: -`aria2c -i {{filename}}` +`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"` -- 여러 연결로 다운로드 : +- 다른 미러 사이트에서 동일한 파일을 다운로드: -`aria2c -s {{connections_num}} {{url}}` +`aria2c --checksum {{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"` -- 사용자 이름과 암호가 있는 FTP 다운로드 : +- 특정 개수의 병렬 다운로드가 되고 있는 파일에 나열된 URI을 다운로드: -`aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}` +`aria2c --input-file {{경로/대상/파일}} --max-concurrent-downloads {{다운로드_횟수}}` -- 다운로드 속도를 바이트/s로 제한 : +- 다중 연결로 다운로드: -`aria2c --max-download-limit={{speed}} {{url}}` +`aria2c --split {{연결_개수}} "{{url}}"` + +- 사용자 이름과 비밀번호를 사용하여 FTP 다운로드: + +`aria2c --ftp-user {{사용자명}} --ftp-passwd {{패스워드}} "{{url}}"` + +- 다운로드 속도를 바이트/초로 제한: + +`aria2c --max-download-limit {{속도}} "{{url}}"` diff --git a/pages.ko/common/arp-scan.md b/pages.ko/common/arp-scan.md new file mode 100644 index 00000000000000..3c52c348d0220a --- /dev/null +++ b/pages.ko/common/arp-scan.md @@ -0,0 +1,20 @@ +# arp-scan + +> ARP 패킷을 호스트(IP 주소 또는 호스트 이름으로 지정)로 보내 로컬 네트워크를 검색합니다. +> 더 많은 정보: . + +- 현재 로컬 네트워크 검색: + +`arp-scan {{[-l|--localnet]}}` + +- 사용자 정의 비트마스크를 사용하여 IP 네트워크 스캔: + +`arp-scan {{192.168.1.1}}/{{24}}` + +- 사용자 정의 범위 내에서 IP 네트워크 검색: + +`arp-scan {{127.0.0.0}}-{{127.0.0.31}}` + +- 사용자 정의 넷 마스크로 IP 네트워크 스캔: + +`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages.ko/common/arp.md b/pages.ko/common/arp.md index 0cc81ef28c6c55..d12a27e7c305ec 100644 --- a/pages.ko/common/arp.md +++ b/pages.ko/common/arp.md @@ -1,15 +1,12 @@ # arp > 시스템의 ARP 캐시 표시 및 조작. +> 더 많은 정보: . - 현재 arp 테이블을 보여줍니다: `arp -a` -- 전체 캐시 삭제: - -`sudo arp -a -d` - - 특정 엔트리 삭제: `arp -d {{address}}` diff --git a/pages.ko/common/arping.md b/pages.ko/common/arping.md index c58410c102a938..e4bfb5d1ad9a70 100644 --- a/pages.ko/common/arping.md +++ b/pages.ko/common/arping.md @@ -2,7 +2,7 @@ > ARP 프로토콜을 사용하여 네트워크에서 호스트를 발견하고 탐색합니다. > MAC 주소 검색에 유용합니다. -> 더 많은 정보: . +> 더 많은 정보: . - ARP 요청 패킷으로 호스트 ping 하기: @@ -20,7 +20,7 @@ `arping -c {{count}} {{host_ip}}` -- 브로드캐스트 ARP 요청 패킷을 통해 이웃 ARP 캐시 업데이트 : +- 브로드캐스트 ARP 요청 패킷을 통해 이웃 ARP 캐시 업데이트: `arping -U {{ip_to_broadcast}}` diff --git a/pages.ko/common/asar.md b/pages.ko/common/asar.md index 8699baa07357df..b65b061327026b 100644 --- a/pages.ko/common/asar.md +++ b/pages.ko/common/asar.md @@ -15,6 +15,6 @@ `asar extract-file {{archived.asar}} {{file}}` -- 보관소 파일의 내용을 나열 : +- 보관소 파일의 내용을 나열: `asar list {{archived.asar}}` diff --git a/pages.ko/common/asciidoctor.md b/pages.ko/common/asciidoctor.md new file mode 100644 index 00000000000000..5563bd54034316 --- /dev/null +++ b/pages.ko/common/asciidoctor.md @@ -0,0 +1,20 @@ +# asciidoctor + +> AsciiDoc 파일을 게시 가능한 형식으로 변환하는 프로세서. +> 더 많은 정보: . + +- 특정 `.adoc` 파일을 HTML(기본 출력 형식)로 변환: + +`asciidoctor {{경로/대상/파일.adoc}}` + +- 특정 `.adoc` 파일을 HTML로 변환하고 CSS 스타일시트 연결: + +`asciidoctor -a stylesheet {{경로/대상/스타일시트.css}} {{경로/대상/파일.adoc}}` + +- 특정 `.adoc` 파일을 포함 가능한 HTML로 변환하고, 본문을 제외한 모든 항목을 제거: + +`asciidoctor --embedded {{경로/대상/파일.adoc}}` + +- `asciidoctor-pdf` 라이브러리를 사용하여 특정 `.adoc` 파일을 PDF로 변환: + +`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{경로/대상/파일.adoc}}` diff --git a/pages.ko/common/asciinema.md b/pages.ko/common/asciinema.md index a3be07d32ca3ce..4727bdfe972766 100644 --- a/pages.ko/common/asciinema.md +++ b/pages.ko/common/asciinema.md @@ -1,9 +1,9 @@ # asciinema > 터미널 세션을 녹음하고 재생하며 선택적으로 asciinema.org에서 공유합니다. -> 더 많은 정보: . +> 더 많은 정보: . -- `asciinema` 로컬 설치와 with an asciinema.org 계정을 연결하기: +- `asciinema` 로컬 설치와 with an asciinema.org 계정을 연결하기: `asciinema auth` @@ -13,11 +13,11 @@ - 새 녹음을 만들고 로컬 파일에 저장: -`asciinema rec {{경로/파일명}}.cast` +`asciinema rec {{경로/파일명.cast}}` - 로컬 파일에서 녹음한 터미널을 재생: -`asciinema play {{경로/파일명}}.cast` +`asciinema play {{경로/파일명.cast}}` - asciinema.org에서 호스트된 터미널 녹음을 재생: @@ -25,12 +25,12 @@ - 새로운 녹음을 만들어 유휴 시간을 최대 2.5초로 제한: -`asciinema rec -i {{2.5}}` +`asciinema rec {{[-i|--idle-time-limit]}} 2.5` - 로컬 저장 기록의 전체 출력을 인쇄: -`asciinema cat {{경로/파일명}}.cast` +`asciinema cat {{경로/파일명.cast}}` - 로컬로 저장된 터미널 세션을 asciinema.org에 업로드하기: -`asciinema upload {{경로/파일명}}.cast` +`asciinema upload {{경로/파일명.cast}}` diff --git a/pages.ko/common/asciitopgm.md b/pages.ko/common/asciitopgm.md new file mode 100644 index 00000000000000..e64ceaa80ad63f --- /dev/null +++ b/pages.ko/common/asciitopgm.md @@ -0,0 +1,12 @@ +# asciitopgm + +> ASCII 그래픽을 PGM 파일로 변환합니다. +> 더 많은 정보: . + +- ASCII 데이터를 입력으로 읽고 ASCII 문자의 "밝기"에 가까운 픽셀 값을 사용하여 PGM 이미지를 생성: + +`asciitopgm {{경로/대상/입력_파일}} > {{경로/대상/출력_파일.pgm}}` + +- 버전 정보 표시: + +`asciitopgm -version` diff --git a/pages.ko/common/asdf.md b/pages.ko/common/asdf.md index b09686456ba389..556d8cbab3c3de 100644 --- a/pages.ko/common/asdf.md +++ b/pages.ko/common/asdf.md @@ -1,19 +1,19 @@ # asdf -> 여러 패키지 버전을 관리하기 위한 CLI(Command Line Interface) 입니다. -> 더 많은 정보: . +> 여러 패키지 버전을 관리하기 위한 CLI(Command-line Interface) 입니다. +> 더 많은 정보: . - 사용 가능한 모든 플러그인을 나열: -`asdf plugin-list-all` +`asdf plugin list all` - 플러그인 설치: -`asdf plugin-add {{이름}}` +`asdf plugin add {{이름}}` - 모든 사용 가능한 패키지 버전 나열: -`asdf list-all {{이름}}` +`asdf list all {{이름}}` - 특정 패키지 버전 설치: @@ -21,8 +21,8 @@ - 글로벌 버전 패키지 설치: -`asdf global {{버전}} {{버전}}` +`asdf set -u {{버전}} {{버전}}` - 로컬 버전 패키지 설치: -`asdf local {{이름}} {{버전}}` +`asdf set {{이름}} {{버전}}` diff --git a/pages.ko/common/aspell.md b/pages.ko/common/aspell.md new file mode 100644 index 00000000000000..6c4ecf42f94ee9 --- /dev/null +++ b/pages.ko/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> 대화형 맞춤법 검사기. +> 더 많은 정보: . + +- 단일 파일의 철자 검사: + +`aspell check {{경로/대상/파일}}` + +- `stdin`에서 철자가 틀린 단어를 나열: + +`cat {{경로/대상/파일}} | aspell list` + +- 사용 가능한 사전적 언어 표시: + +`aspell dicts` + +- 다른 언어로 `aspell`을 실행 (두 글자 ISO 639 언어 코드 사용): + +`aspell --lang={{cs}}` + +- `stdin`에서 철자가 틀린 단어를 나열하고, 개인 단어 목록에서 단어를 무시: + +`cat {{경로/대상/파일}} | aspell --personal={{personal-word-list.pws}} list` diff --git a/pages.ko/common/assimp.md b/pages.ko/common/assimp.md index 3af687aaea8fe6..fcc4def739b72b 100644 --- a/pages.ko/common/assimp.md +++ b/pages.ko/common/assimp.md @@ -2,7 +2,7 @@ > Open Asset Import Library 위한 Command-line 클라이언트. > 40 +3D 파일 형식을 지원하고 몇 개의 유명한 3D포맷으로 내보낼 수 있습니다. -> 더 많은 정보: . +> 더 많은 정보: . - 지원되는 모든 가져오기 형식을 나열: @@ -20,14 +20,14 @@ `assimp export {{입력_파일명.stl}} {{출력_파일명.obj}} {{매개변수}}` -- 3D 파일의 내용을 요약하여 표시. +- 3D 파일의 내용을 요약하여 표시: `assimp info {{경로/파일명}}` -- 지원되는 모든 하위 명령 ("Verb")을 나열. +- 지원되는 모든 하위 명령 ("Verb")을 나열: `assimp help` -- 특정 하위 명령에 대한 도움말 얻기 (예 : 특정 하위 명령에 특정 매개 변수) : +- 특정 하위 명령에 대한 도움말 얻기 (예 : 특정 하위 명령에 특정 매개 변수): `assimp {{하위명령어}} --help` diff --git a/pages.ko/common/astronomer.md b/pages.ko/common/astronomer.md index 3013c6aa39a091..614731609e5342 100644 --- a/pages.ko/common/astronomer.md +++ b/pages.ko/common/astronomer.md @@ -11,6 +11,6 @@ `astronomer {{tldr-pages/tldr-node-client}} --stars {{50}}` -- 비교 보고서를 포함한 리포지토리 스캔: +- 비교 보고서를 포함한 리포지토리 스캔: -`astronomer {{tldr-pages/tldr-node-client}} --verbose +`astronomer {{tldr-pages/tldr-node-client}} --verbose` diff --git a/pages.ko/common/astyle.md b/pages.ko/common/astyle.md index d82591eff62708..b89fedce875e26 100644 --- a/pages.ko/common/astyle.md +++ b/pages.ko/common/astyle.md @@ -2,13 +2,13 @@ > C, C ++, C # 및 Java 프로그래밍 언어에 대한 소스 코드 인덴터, 포맷터 및 미화기. > 실행 시 원본 파일의 사본은 원래 파일 이름에 ".orig"가 추가된 상태로 작성된다. -> 더 많은 정보: . +> 더 많은 정보: . - 들여쓰기 당 4개의 공백의 기본 스타일을 적용하고 형식 변경 없도록 적용: `astyle {{소스파일명}}` -- java 스타일 코드로 적용: +- Java 스타일 코드로 적용: `astyle --style=java {{경로/파일명}}` diff --git a/pages.ko/common/at.md b/pages.ko/common/at.md index 87848e76dbcbc9..416a559cabd08b 100644 --- a/pages.ko/common/at.md +++ b/pages.ko/common/at.md @@ -1,16 +1,25 @@ # at > 명령 실행 후 한 번 실행합니다. -> 서비스 AD(또는 ATRUN)는 실제 실행을 위해 실행되어야 합니다. +> 결과는 사용자의 메일로 전송됨. +> 더 많은 정보: . -- 표준 입력에서 명령을 5분 내에 실행(작업이 끝나면 `Ctrl + D` 를 누르세요): +- `atd` 데몬 시작: + +`systemctl start atd` + +- 대화형으로 명령을 생성하고, 5분 안에 실행 (완료되면 `` 누르기): `at now + 5 minutes` -- 오전 10시에 표준 입력에서 명령을 실행하십시오: +- 대화형으로 명령을 생성하고, 특정 시간에 실행: + +`at {{hh:mm}}` + +- 오늘 오전 10시에 `stdin`에서 명령을 실행: -`echo "{{./make_db_backup.sh}}" | at 1000` +`echo "{{명령어}}" | at 1000` -- 다음 주 화요일에 주어진 파일에서 명령을 실행하십시오: +- 다음주 화요일에 지정된 파일에서 명령을 실행: -`at -f {{경로/파일명}} 9:30 PM Tue` +`at -f {{경로/대상/파일}} 9:30 PM Tue` diff --git a/pages.ko/common/atktopbm.md b/pages.ko/common/atktopbm.md new file mode 100644 index 00000000000000..289e814e9873de --- /dev/null +++ b/pages.ko/common/atktopbm.md @@ -0,0 +1,9 @@ +# atktopbm + +> Andrew Toolkit 래스터 객체를 PBM 이미지로 변환. +> `pbmtoatk` 명령어를 참고하세요. +> 더 많은 정보: . + +- Andrew Toolkit 래스터 객체를 PBM 이미지로 변환: + +`atktopbm {{경로/대상/image.atk}} > {{경로/대상/output.pbm}}` diff --git a/pages.ko/common/atom.md b/pages.ko/common/atom.md index 4b658d72c844fe..5def8ab562fc7e 100644 --- a/pages.ko/common/atom.md +++ b/pages.ko/common/atom.md @@ -1,25 +1,29 @@ # atom -> 플러그 기능이 있는 교차 플랫폼 텍스트 편집기. -> 플러그는 `apm`에 의해 관리됩니다. +> 플러그인 기능이 있는 크로스 플랫폼 텍스트 편집기. +> 플러그인은 `apm`에 의해 관리됩니다. > 더 많은 정보: . - 파일이나 디렉토리 열기: -`atom {{경로/파일명_또는_디렉토리명}}` +`atom {{경로/대상/파일명_또는_디렉토리명}}` - 새로운 창에서 파일이나 디렉토리 열기: -`atom -n {{경로/파일명_또는_디렉토리명}}` +`atom -n {{경로/대상/파일명_또는_디렉토리명}}` - 현재 창에서 파일이나 디렉토리 열기: -`atom --add {{경로/파일명_또는_디렉토리명}}` +`atom --add {{경로/대상/파일명_또는_디렉토리명}}` -- 안전모드에서 atom 열기Open atom in safe mode (추가 패키지를 로드하지 마시오): +- 안전모드에서 atom 열기 (추가 패키지 로드 없이): `atom --safe` -- 백그라운드에서 fork하지 않도록 막기, atom을 터미널에 부착합니다: +- Atom을 백그라운드로 포크하는 대신 터미널에 연결된 채로 유지: `atom --foreground` + +- Atom이 닫힐 때까지 터미널에서 대기 (Git 커밋 에디터에 유용): + +`atom --wait` diff --git a/pages.ko/common/atool.md b/pages.ko/common/atool.md new file mode 100644 index 00000000000000..4563763438e2a5 --- /dev/null +++ b/pages.ko/common/atool.md @@ -0,0 +1,20 @@ +# atool + +> 다양한 형식의 압축 파일을 관리합니다. +> 더 많은 정보: . + +- Zip 압축 파일의 파일 목록 표시: + +`atool --list {{경로/대상/압축_파일.zip}}` + +- tar.gz 압축 파일을 새로운 하위 디렉토리(또는 파일이 하나뿐인 경우 현재 디렉토리)에 풀기: + +`atool --extract {{경로/대상/압축_파일.tar.gz}}` + +- 두 개의 파일로 새로운 7z 압축 파일 생성: + +`atool --add {{경로/대상/압축_파일.7z}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 현재 디렉토리의 모든 Zip 및 rar 압축 파일 추출: + +`atool --each --extract {{*.zip *.rar}}` diff --git a/pages.ko/common/atoum.md b/pages.ko/common/atoum.md index e53d54e2f90f4d..c82a36d8781872 100644 --- a/pages.ko/common/atoum.md +++ b/pages.ko/common/atoum.md @@ -1,7 +1,7 @@ # atoum > PHP를 위한 단순하고 현대적이며 직관적인 단위 테스트 프레임워크. -> 더 많은 정보: . +> 더 많은 정보: . - 설정 파일 초기화: @@ -13,24 +13,24 @@ - 특정 설정 파일을 사용한 테스트 실행: -`atoum -c {{경로/파일명}}` +`atoum {{[-c|--configuration]}} {{경로/파일명}}` - 특정 테스트파일 실행: -`atoum -f {{경로/파일명}}` +`atoum {{[-f|--files]}} {{경로/파일명}}` - 특정 테스트 디렉토리 실행: -`atoum -d {{경로/디렉토리명}}` +`atoum {{[-d|--directories]}} {{경로/디렉토리명}}` - 특정 namespace 아래 있는 모든 테스트 실행: -`atoum -ns {{namespace}}` +`atoum {{[-ns|--namespaces]}} {{namespace}}` -- 특정 태그를 갖고 테스트 실행 +- 특정 태그를 갖고 테스트 실행: -`atoum -t {{태그}}` +`atoum {{[-t|--tags]}} {{태그}}` - 테스트를 실행하기 전에 사용자 지정 부트스트랩 파일을 로드: -`atoum --bootstrap-file {{경로/파일명}}` +`atoum {{[-bf|--bootstrap-file]}} {{경로/파일명}}` diff --git a/pages.ko/common/atq.md b/pages.ko/common/atq.md new file mode 100644 index 00000000000000..8222fde5afc069 --- /dev/null +++ b/pages.ko/common/atq.md @@ -0,0 +1,16 @@ +# atq + +> `at` 또는 `batch` 명령으로 예약된 작업 표시. +> 더 많은 정보: . + +- 현재 사용자의 예약된 작업 표시: + +`atq` + +- 'a'라는 대기열의 작업 표시 (대기열에는 단일 문자 이름이 있음): + +`atq -q {{a}}` + +- 모든 사용자의 직업 표시 (슈퍼유저로 실행): + +`sudo atq` diff --git a/pages.ko/common/atrm.md b/pages.ko/common/atrm.md new file mode 100644 index 00000000000000..81ffb4bf8834bc --- /dev/null +++ b/pages.ko/common/atrm.md @@ -0,0 +1,13 @@ +# atrm + +> `at` 또는 `batch` 명령으로 예약된 작업 제거. +> 작업 번호를 찾으려면 `atq`를 사용하세요. +> 더 많은 정보: . + +- 작업 번호 10 제거: + +`atrm {{10}}` + +- 공백으로 구분된 여러 작업 제거: + +`atrm {{15}} {{17}} {{22}}` diff --git a/pages.ko/common/atuin.md b/pages.ko/common/atuin.md new file mode 100644 index 00000000000000..a5847267da5d1f --- /dev/null +++ b/pages.ko/common/atuin.md @@ -0,0 +1,29 @@ +# atuin + +> 검색 가능한 데이터베이스에 쉘 기록을 저장하세요. +> 선택적으로 컴퓨터 간에 암호화된 기록을 동기화하세요. +> 더 많은 정보: . + +- 쉘에 atuin 설치: + +`eval "$(atuin init {{bash|zsh|fish}})"` + +- 쉘 기본 기록 파일에서 기록 가져오기: + +`atuin import auto` + +- 특정 명령에 대한 쉘 기록 검색: + +`atuin search {{명령어}}` + +- 기본 동기화 서버에 계정 등록: + +`atuin register -u {{사용자명}} -e {{이메일}} -p {{비밀번호}}` + +- 기본 동기화 서버에 로그인: + +`atuin login -u {{사용자명}} -p {{비밀번호}}` + +- 동기화 서버와의 동기화 기록: + +`atuin sync` diff --git a/pages.ko/common/audacious.md b/pages.ko/common/audacious.md new file mode 100644 index 00000000000000..4073829d7084f6 --- /dev/null +++ b/pages.ko/common/audacious.md @@ -0,0 +1,36 @@ +# audacious + +> 오픈 소스 오디오 플레이어. +> 더 많은 정보: . + +- 프로그램 실행: + +`audacious` + +- 새로운 인스턴스를 시작하고 오디오를 재생: + +`audacious --new-instance {{경로/대상/오디오}}` + +- 오디오 파일의 특정 디렉터리를 대기열에 삽입: + +`audacious --enqueue {{경로/대상/디렉터리}}` + +- 재생 시작 또는 중지: + +`audacious --play-pause` + +- 재생 목록에서 앞으로 또는 뒤로 건너뛰기: + +`audacious --{{fwd|rew}}` + +- 재생 중지: + +`audacious --stop` + +- 헤드리스 버전 시작: + +`audacious --headless` + +- 재생이 중지되거나 재생할 내용이 없으면 즉시 종료: + +`audacious --quit-after-play` diff --git a/pages.ko/common/audit2allow.md b/pages.ko/common/audit2allow.md new file mode 100644 index 00000000000000..b1c4158466e773 --- /dev/null +++ b/pages.ko/common/audit2allow.md @@ -0,0 +1,21 @@ +# audit2allow + +> SELinux 로컬 정책 모듈을 생성하여 로그에 기록된 거부된 작업 기반의 규칙을 허용합니다. +> 참고: audit2allow 사용 시 주의가 필요하며, 생성된 정책을 적용하기 전에 항상 검토하세요. 과도한 접근을 허용할 수 있습니다. +> 더 많은 정보: . + +- 거부된 모든 서비스에 대한 접근을 허용하는 로컬 정책 생성: + +`sudo audit2allow --all -M {{로컬_정책_이름}}` + +- 감사 로그에서 특정 프로세스/서비스/명령에 대한 접근을 허용하는 로컬 정책 모듈 생성: + +`sudo grep {{apache2}} /var/log/audit/audit.log | sudo audit2allow -M {{로컬_정책_이름}}` + +- 로컬 정책의 Type Enforcement (.te) 파일을 검사하고 검토: + +`vim {{로컬_정책_이름}}.te` + +- 로컬 정책 모듈 설치: + +`sudo semodule -i {{로컬_정책_이름}}.pp` diff --git a/pages.ko/common/auditd.md b/pages.ko/common/auditd.md new file mode 100644 index 00000000000000..458052b9d9f401 --- /dev/null +++ b/pages.ko/common/auditd.md @@ -0,0 +1,17 @@ +# auditd + +> 감사 유틸리티의 요청과 커널의 알림에 응답합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`auditd` + +- 디버그 모드에서 데몬 시작: + +`auditd -d` + +- launchd에서 주문형 데몬 시작: + +`auditd -l` diff --git a/pages.ko/common/audtool.md b/pages.ko/common/audtool.md new file mode 100644 index 00000000000000..83913086d563a8 --- /dev/null +++ b/pages.ko/common/audtool.md @@ -0,0 +1,37 @@ +# audtool + +> 명령을 사용해 Audacious 제어. +> 참고: `audacious`. +> 더 많은 정보: . + +- 오디오 재생/일시 중지: + +`audtool playback-playpause` + +- 현재 재생 중인 노래의 아티스트, 앨범, 노래 제목을 출력: + +`audtool current-song` + +- 오디오 재생 볼륨 설정: + +`audtool set-volume {{100}}` + +- 다음 노래로 건너뛰기: + +`audtool playlist-advance` + +- 현재 노래의 비트레이트를 킬로비트 단위로 출력: + +`audtool current-song-bitrate-kbps` + +- 숨겨진 경우, 전체 화면으로 Audacious 열기: + +`audtool mainwin-show` + +- 도움말 표시: + +`audtool help` + +- 설정 표시: + +`audtool preferences-show` diff --git a/pages.ko/common/autoconf.md b/pages.ko/common/autoconf.md new file mode 100644 index 00000000000000..7ff7ef770ce628 --- /dev/null +++ b/pages.ko/common/autoconf.md @@ -0,0 +1,16 @@ +# autoconf + +> 소프트웨어 소스 코드 패키지를 자동으로 구성하는 구성 스크립트 생성. +> 더 많은 정보: . + +- `configure.ac` (있는 경우) 또는 `configure.in` 에서 구성 스크립트를 생성하고 이 스크립트를 `configure`에 저장: + +`autoconf` + +- 지정된 템플릿에서 구성 스크립트를 생성; `stdout`으로 출력: + +`autoconf {{템플릿-파일}}` + +- 지정된 템플릿에서 구성 스크립트를 생성하고(입력 파일이 변경되지 않은 경우에도) 출력을 파일에 작성: + +`autoconf --force --output {{출력파일}} {{템플릿-파일}}` diff --git a/pages.ko/common/autoflake.md b/pages.ko/common/autoflake.md new file mode 100644 index 00000000000000..c2d90106d00072 --- /dev/null +++ b/pages.ko/common/autoflake.md @@ -0,0 +1,20 @@ +# autoflake + +> Python 코드에서 사용하지 않는 가져오기 및 변수를 제거하는 도구. +> 더 많은 정보: . + +- 단일 파일에서 사용되지 않는 변수를 제거하고 차이점을 표시: + +`autoflake --remove-unused-variables {{경로/대상/파일.py}}` + +- 여러 파일에서 사용되지 않은 가져오기를 제거하고 차이점을 표시: + +`autoflake --remove-all-unused-imports {{경로/대상/파일1.py 경로/대상/파일2.py ...}}` + +- 파일에서 사용되지 않는 변수를 제거하고 파일을 덮어씀: + +`autoflake --remove-unused-variables --in-place {{경로/대상/파일.py}}` + +- 디렉터리의 모든 파일에서 사용되지 않는 변수를 반복적으로 제거하여 각 파일을 덮어씀: + +`autoflake --remove-unused-variables --in-place --recursive {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/autojump.md b/pages.ko/common/autojump.md new file mode 100644 index 00000000000000..28c56f76dcf646 --- /dev/null +++ b/pages.ko/common/autojump.md @@ -0,0 +1,25 @@ +# autojump + +> 가장 자주 방문하는 디렉토리 사이를 빠르게 이동. +> `j` 또는 `jc`와 같은 별칭은 타이핑을 줄이기 위해 제공. +> 더 많은 정보: . + +- 주어진 패턴이 포함된 디렉토리로 이동: + +`j {{패턴}}` + +- 주어진 패턴이 포함된 현재 디렉토리의 하위 디렉토리(자식)로 이동: + +`jc {{패턴}}` + +- 운영체제 파일 관리자에서 주어진 패턴이 포함된 디렉토리 열기: + +`jo {{패턴}}` + +- 자동 점프 데이터베이스에서 존재하지 않는 디렉토리 제거: + +`j --purge` + +- 자동 점프 데이터베이스의 항목을 표시: + +`j {{[-s|--stat]}}` diff --git a/pages.ko/common/autopep8.md b/pages.ko/common/autopep8.md new file mode 100644 index 00000000000000..cab1cac2a7f46e --- /dev/null +++ b/pages.ko/common/autopep8.md @@ -0,0 +1,20 @@ +# autopep8 + +> PEP 8 스타일 가이드에 따라 Python 코드 형식을 지정. +> 더 많은 정보: . + +- 사용자 정의 최대 줄 길이를 사용해, 파일을 `stdout`로 포맷: + +`autopep8 {{경로/대상/파일.py}} --max-line-length {{길이}}` + +- 변경 사항의 차이점을 표시하여, 파일을 포맷을 함: + +`autopep8 --diff {{경로/대상/파일}}` + +- 파일을 제자리에서, 포맷하고 변경 사항을 저장함: + +`autopep8 --in-place {{경로/대상/파일.py}}` + +- 디렉토리의 모든 파일을 재귀적으로 포맷하고, 변경 사항을 저장: + +`autopep8 --in-place --recursive {{경로/대상/디렉토리}}` diff --git a/pages.ko/common/autossh.md b/pages.ko/common/autossh.md index a6eb678d993d61..083ec692c676b2 100644 --- a/pages.ko/common/autossh.md +++ b/pages.ko/common/autossh.md @@ -1,11 +1,11 @@ # autossh -> SSH 연결을 실행, 모니터링 및 재시작. port 재전송 tunnel을 유지하기 위해 자동 재연결. 모든 ssh 플래그 허용. -> 더 많은 정보: . +> SSH 연결을 실행, 모니터링 및 재시작. port 재전송 tunnel을 유지하기 위해 자동 재연결. 모든 SSH 플래그 허용. +> 더 많은 정보: . - SSH session을 열고, 모니터링 포트가 데이터를 리턴하지 못하면 다시 시작: -`autossh -M {{monitor_port}} {{ssh_command}}` +`autossh -M {{monitor_port}} "{{ssh_command}}"` - 로컬 포트를 원격 포트로 전달하는 SSH session을 열고 필요한 경우 다시 시작: @@ -13,11 +13,11 @@ - ssh(백그라운드에서 실행)를 실행하기 전에 포크하고 원격 쉘을 열지 않는다: -`autossh -f -M {{monitor_port}} -N {{ssh_command}}` +`autossh -f -M {{monitor_port}} -N "{{ssh_command}}"` - 모니터링 포트없이 백그라운드에서 autossh를 실행하는 대신 실패를 감지하기 위해 10초마다 SSH 연결 유지에 의존: -`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" {{ssh_command}}` +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" "{{ssh_command}}"` - 모니터링 포트, 원격 쉘 없이 백그라운드에서 autossh를 실행하고, 포트 전달에 실패하면 종료: diff --git a/pages.ko/common/avo.md b/pages.ko/common/avo.md new file mode 100644 index 00000000000000..4592838f7dece5 --- /dev/null +++ b/pages.ko/common/avo.md @@ -0,0 +1,36 @@ +# avo + +> Avo의 공식 인터넷 명령어 라인 인터페이스. +> 더 많은 정보: . + +- 현재 디렉터리에서 작업 공간 초기화: + +`avo init` + +- Avo 플랫폼에 로그인: + +`avo login` + +- 기존 Avo 지점으로 전환: + +`avo checkout {{브랜치_이름}}` + +- 현재 경로에 대한 분석 래퍼 가져오기: + +`avo pull` + +- Avo 구현 상태 표시: + +`avo status` + +- Avo 파일의 Git 충돌 해결: + +`avo conflict` + +- 기본 웹 브라우저에서 현재 Avo 작업 공간을 공개: + +`avo edit` + +- 하위 명령에 대한 도움말 표시: + +`avo {{하위명령어}} --help` diff --git a/pages.ko/common/avrdude.md b/pages.ko/common/avrdude.md index 1d12f8f996407f..8ce441a19b8b60 100644 --- a/pages.ko/common/avrdude.md +++ b/pages.ko/common/avrdude.md @@ -1,7 +1,7 @@ # avrdude > Atmel AVR 마이크로 컨트롤러 프로그래밍을 위한 드라이버 프로그램. -> 더 많은 정보: . +> 더 많은 정보: . - AVR 마이크로 컨트롤러 읽기: diff --git a/pages.ko/common/awk.md b/pages.ko/common/awk.md index 780fdb97db80a9..7a8057f91f5cde 100644 --- a/pages.ko/common/awk.md +++ b/pages.ko/common/awk.md @@ -7,10 +7,9 @@ `awk '{print $5}' {{filename}}` +- 공백으로 구분 된 파일에서 `foo`을 포함한 두 번째 열 출력하기: -- 공백으로 구분 된 파일에서 "something"을 포함한 두 번째 열 출력하기: - -`awk '/{{something}}/ {print $2}' {{filename}}` +`awk '/{{foo}}/ {print $2}' {{filename}}` - 공백이 아닌 쉼표를 필드 구분 기호로 사용한 파일에서 각 줄의 마지막 열을 출력하기: diff --git a/pages.ko/common/aws-accessanalyzer.md b/pages.ko/common/aws-accessanalyzer.md new file mode 100644 index 00000000000000..2118fa8d5017ae --- /dev/null +++ b/pages.ko/common/aws-accessanalyzer.md @@ -0,0 +1,36 @@ +# aws accessanalyzer + +> 잠재적인 보안 위험을 파악하기 위해, 리소스 정책을 분석하고 검토. +> 더 많은 정보: . + +- 새로운 Access Analyzer 생성: + +`aws accessanalyzer create-analyzer --analyzer-name {{분석기_이름}} --type {{타입}} --tags {{태그}}` + +- 기존 Access Analyzer 삭제: + +`aws accessanalyzer delete-analyzer --analyzer-arn {{analyzer_arn}}` + +- 특정 Access Analyzer 세부 정보 출력: + +`aws accessanalyzer get-analyzer --analyzer-arn {{analyzer_arn}}` + +- 모든 Access Analyzers 나열: + +`aws accessanalyzer list-analyzers` + +- Access Analyzer 설정 업데이트: + +`aws accessanalyzer update-analyzer --analyzer-arn {{analyzer_arn}} --tags {{new_tags}}` + +- 새로운 Access Analyzer 아카이브 규칙 생성: + +`aws accessanalyzer create-archive-rule --analyzer-arn {{analyzer_arn}} --rule-name {{규칙_이름}} --filter {{filter}}` + +- Access Analyzer 아카이브 규칙 삭제: + +`aws accessanalyzer delete-archive-rule --analyzer-arn {{analyzer_arn}} --rule-name {{rule_name}}` + +- 모든 Access Analyzer 아카이브 규칙 나열: + +`aws accessanalyzer list-archive-rules --analyzer-arn {{analyzer_arn}}` diff --git a/pages.ko/common/aws-acm-pca.md b/pages.ko/common/aws-acm-pca.md new file mode 100644 index 00000000000000..4b997a38b50edb --- /dev/null +++ b/pages.ko/common/aws-acm-pca.md @@ -0,0 +1,36 @@ +# aws acm-pca + +> AWS 인증서 관리자 개인 인증 기관. +> 더 많은 정보: . + +- 개인 인증 기관 생성: + +`aws acm-pca create-certificate-authority --certificate-authority-configuration {{ca_config}} --idempotency-token {{token}} --permanent-deletion-time-in-days {{number}}` + +- 개인 인증 기관 정보 표시: + +`aws acm-pca describe-certificate-authority --certificate-authority-arn {{ca_arn}}` + +- 개인 인증 기관 목록: + +`aws acm-pca list-certificate-authorities` + +- 인증 기관 업데이트: + +`aws acm-pca update-certificate-authority --certificate-authority-arn {{ca_arn}} --certificate-authority-configuration {{ca_config}} --status {{status}}` + +- 개인 인증 기관 삭제: + +`aws acm-pca delete-certificate-authority --certificate-authority-arn {{ca_arn}}` + +- 인증서 발행: + +`aws acm-pca issue-certificate --certificate-authority-arn {{ca_arn}} --certificate-signing-request {{cert_signing_request}} --signing-algorithm {{algorithm}} --validity {{validity}}` + +- 인증서 취소: + +`aws acm-pca revoke-certificate --certificate-authority-arn {{ca_arn}} --certificate-serial {{serial}} --reason {{reason}}` + +- 인증서 세부사항 출력: + +`aws acm-pca get-certificate --certificate-authority-arn {{ca_arn}} --certificate-arn {{cert_arn}}` diff --git a/pages.ko/common/aws-acm.md b/pages.ko/common/aws-acm.md new file mode 100644 index 00000000000000..2ae1575b57f719 --- /dev/null +++ b/pages.ko/common/aws-acm.md @@ -0,0 +1,36 @@ +# aws acm + +> AWS 인증서 관리자. +> 더 많은 정보: . + +- 인증서 가져오기: + +`aws acm import-certificate --certificate-arn {{certificate_arn}} --certificate {{인증서}} --private-key {{개인_키}} --certificate-chain {{인증서_체인}}` + +- 인증서 나열: + +`aws acm list-certificates` + +- 인증서 설명 확인: + +`aws acm describe-certificate --certificate-arn {{certificate_arn}}` + +- 인증서 요청: + +`aws acm request-certificate --domain-name {{도메인_이름}} --validation-method {{검증_방법}}` + +- 인증서 삭제: + +`aws acm delete-certificate --certificate-arn {{certificate_arn}}` + +- 인증서 검증 방법 나열: + +`aws acm list-certificates --certificate-statuses {{status}}` + +- 인증서 세부 정보 출력: + +`aws acm get-certificate --certificate-arn {{certificate_arn}}` + +- 인증서 옵션 업데이트: + +`aws acm update-certificate-options --certificate-arn {{certificate_arn}} --options {{옵션}}` diff --git a/pages.ko/common/aws-amplify.md b/pages.ko/common/aws-amplify.md new file mode 100644 index 00000000000000..0e39c3115f29e4 --- /dev/null +++ b/pages.ko/common/aws-amplify.md @@ -0,0 +1,36 @@ +# aws amplify + +> 안전하고, 확장 가능한 모바일 및 웹 애플리케이션을 구축하기 위한 개발 플랫폼. +> 더 많은 정보: . + +- 새로운 Amplify 앱 생성: + +`aws amplify create-app --name {{앱_이름}} --description {{세부정보}} --repository {{레포지토리_주소}} --platform {{플랫폼}} --environment-variables {{환경_변수}} --tags {{태그}}` + +- 기존 Amplify 앱 삭제: + +`aws amplify delete-app --app-id {{앱_아이디}}` + +- 특정 Amplify 앱 세부정보 가져오기: + +`aws amplify get-app --app-id {{앱_아이디}}` + +- 모든 Amplify 앱 나열: + +`aws amplify list-apps` + +- Amplify 앱 설정 업데이트: + +`aws amplify update-app --app-id {{앱_아이디}} --name {{새로운_이름}} --description {{새로운_세부정보}} --repository {{새로운_레포지토리_주소}} --environment-variables {{새로운_환경_변수}} --tags {{새로운_태그}}` + +- Amplify 앱에 새로운 백엔드 환경 추가: + +`aws amplify create-backend-environment --app-id {{앱_아이디}} --environment-name {{환경변수_이름}} --deployment-artifacts {{artifacts}}` + +- Amplify 앱에서 백엔드 환경 제거: + +`aws amplify delete-backend-environment --app-id {{앱_아이디}} --environment-name {{환경변수_이름}}` + +- Amplify 앱의 모든 백엔드 환경 나열: + +`aws amplify list-backend-environments --app-id {{앱_아이디}}` diff --git a/pages.ko/common/aws-backup.md b/pages.ko/common/aws-backup.md new file mode 100644 index 00000000000000..45b86fe3f2e5ce --- /dev/null +++ b/pages.ko/common/aws-backup.md @@ -0,0 +1,24 @@ +# aws backup + +> Amazon Web Services와 관련 데이터를 보호하기 위해 설계된 통합 백업 서비스. +> 더 많은 정보: . + +- 특정 BackupPlanId에 대한 백업 계획 세부 정보 반환: + +`aws backup get-backup-plan --backup-plan-id {{id}}` + +- 특정 백업 계획 이름과 백업 규칙을 사용해 백업 계획 생성: + +`aws backup create-backup-plan --backup-plan {{plan}}` + +- 특정 백업 계획 삭제: + +`aws backup delete-backup-plan --backup-plan-id {{id}}` + +- 현재 계정에 대한 모든 활성 백업 계획 목록 반환: + +`aws backup list-backup-plans` + +- 보고서 작업에 대한 세부 정보 표시: + +`aws backup list-report-jobs` diff --git a/pages.ko/common/aws-batch.md b/pages.ko/common/aws-batch.md new file mode 100644 index 00000000000000..ecfe30a0c50c49 --- /dev/null +++ b/pages.ko/common/aws-batch.md @@ -0,0 +1,28 @@ +# aws batch + +> AWS Batch를 통해 배치 컴퓨팅 워크로드를 실행합니다. +> 더 많은 정보: . + +- 실행 중인 배치 작업 목록: + +`aws batch list-jobs --job-queue {{queue_name}}` + +- 컴퓨팅 환경 생성: + +`aws batch create-compute-environment --compute-environment-name {{compute_environment_name}} --type {{type}}` + +- 배치 작업 큐 생성: + +`aws batch create-job-queue --job-queue-name {{queue_name}} --priority {{priority}} --compute-environment-order {{compute_environment}}` + +- 작업 제출: + +`aws batch submit-job --job-name {{job_name}} --job-queue {{job_queue}} --job-definition {{job_definition}}` + +- 배치 작업 목록 설명: + +`aws batch describe-jobs --jobs {{jobs}}` + +- 작업 취소: + +`aws batch cancel-job --job-id {{job_id}} --reason {{reason}}` diff --git a/pages.ko/common/aws-ce.md b/pages.ko/common/aws-ce.md new file mode 100644 index 00000000000000..ff2d4ed9d3e7ea --- /dev/null +++ b/pages.ko/common/aws-ce.md @@ -0,0 +1,36 @@ +# aws ce + +> AWS Cost Explorer 서비스를 통한 비용 관리 작업 수행합니다. +> 더 많은 정보: . + +- 이상 모니터 생성: + +`aws ce create-anomaly-monitor --monitor {{모니터_이름}} --monitor-type {{모니터_유형}}` + +- 이상 구독 생성: + +`aws ce create-anomaly-subscription --subscription {{구독_이름}} --monitor-arn {{모니터_arn}} --subscribers {{구독자}}` + +- 이상 조회: + +`aws ce get-anomalies --monitor-arn {{모니터_arn}} --start-time {{시작_날짜}} --end-time {{종료_날짜}}` + +- 비용 및 사용량 조회: + +`aws ce get-cost-and-usage --time-period {{시작_날짜}}/{{종료_날짜}} --granularity {{세분화}} --metrics {{메트릭}}` + +- 비용 예측 조회: + +`aws ce get-cost-forecast --time-period {{시작_날짜}}/{{종료_날짜}} --granularity {{세분화}} --metric {{메트릭}}` + +- 예약 사용량 조회: + +`aws ce get-reservation-utilization --time-period {{시작_날짜}}/{{종료_날짜}} --granularity {{세분화}}` + +- 비용 카테고리 정의 목록 조회: + +`aws ce list-cost-category-definitions` + +- 리소스 태깅: + +`aws ce tag-resource --resource-arn {{리소스_arn}} --tags {{태그}}` diff --git a/pages.ko/common/aws-cloud9.md b/pages.ko/common/aws-cloud9.md new file mode 100644 index 00000000000000..24cf3442ae469c --- /dev/null +++ b/pages.ko/common/aws-cloud9.md @@ -0,0 +1,32 @@ +# aws cloud9 + +> AWS Cloud9은 클라우드에서 소프트웨어를 작성, 빌드, 실행, 테스트, 디버그 및 릴리스하는 도구 모음입니다. +> 더 많은 정보: . + +- Cloud9 개발 환경 식별자 목록 가져오기: + +`aws cloud9 list-environments` + +- Cloud9 개발 환경 만들기: + +`aws cloud9 create-environment-ec2 --name {{name}} --instance-type {{instance_type}}` + +- Cloud9 개발 환경에 대한 정보 표시: + +`aws cloud9 describe-environments --environment-ids {{environment_ids}}` + +- Cloud9 개발 환경에 환경 멤버 추가: + +`aws cloud9 create-environment-membership --environment-id {{environment_id}} --user-arn {{user_arn}} --permissions {{permissions}}` + +- Cloud9 개발 환경에 대한 상태 정보 표시: + +`aws cloud9 describe-environment-status --environment-id {{environment_id}}` + +- Cloud9 환경 삭제: + +`aws cloud9 delete-environment --environment-id {{environment_id}}` + +- 개발 환경에서 환경 멤버 삭제: + +`aws cloud9 delete-environment-membership --environment-id {{environment_id}} --user-arn {{user_arn}}` diff --git a/pages.ko/common/aws-cloudformation.md b/pages.ko/common/aws-cloudformation.md new file mode 100644 index 00000000000000..4f9850d32e98c6 --- /dev/null +++ b/pages.ko/common/aws-cloudformation.md @@ -0,0 +1,32 @@ +# aws cloudformation + +> 인프라를 코드로 처리하여 AWS 및 타사 리소스를 모델링, 프로비저닝 및 관리. +> 더 많은 정보: . + +- 템플릿 파일에서 스택 생성: + +`aws cloudformation create-stack --stack-name {{스택-이름}} --region {{지역}} --template-body {{file://경로/대상/파일.yml}} --profile {{프로파일}}` + +- 스택 삭제: + +`aws cloudformation delete-stack --stack-name {{스택-이름}} --profile {{프로파일}}` + +- 모든 스택 나열: + +`aws cloudformation list-stacks --profile {{프로파일}}` + +- 실행 중인 모든 스택 나열: + +`aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE --profile {{프로파일}}` + +- 스택 상태 확인: + +`aws cloudformation describe-stacks --stack-name {{스택-아이디}} --profile {{프로파일}}` + +- 스택에 대한 드리프트 감지 시작: + +`aws cloudformation detect-stack-drift --stack-name {{스택-아이디}} --profile {{프로파일}}` + +- 이전 명령어 호출 결과의 'StackDriftDetectionId'를 사용하여 스택의 드리프트 상태 출력을 확인: + +`aws cloudformation describe-stack-resource-drifts --stack-name {{스택-드리프트-탐지-아이디}} --profile {{프로파일}}` diff --git a/pages.ko/common/aws-cloudwatch.md b/pages.ko/common/aws-cloudwatch.md new file mode 100644 index 00000000000000..14bf05429fbb63 --- /dev/null +++ b/pages.ko/common/aws-cloudwatch.md @@ -0,0 +1,32 @@ +# aws cloudwatch + +> AWS 리소스를 모니터링하여 리소스 이용률, 애플리케이션 성능 및 운영 상태에 대한 시스템 전반적인 가시성 확보. +> 더 많은 정보: . + +- 대시보드 목록 나열: + +`aws cloudwatch list-dashboards` + +- 지정한 대시보드의 세부 정보 표시: + +`aws cloudwatch get-dashboard --dashboard-name {{대시보드_이름}}` + +- 메트릭 목록 나열: + +`aws cloudwatch list-metrics` + +- 알람(경보) 목록 나열: + +`aws cloudwatch describe-alarms` + +- 해당 매트릭과 연결된 알람 생성(또는 업데이트): + +`aws cloudwatch put-metric-alarm --alarm-name {{알람_이름}} --evaluation-periods {{평가_주기}} --comparison-operator {{비교_연산자}}` + +- 지정한 알람들 삭제: + +`aws cloudwatch delete-alarms --alarm_names {{알람_이름}}` + +- 지정한 대시보드들 삭제: + +`aws cloudwatch delete-dashboards --dashboard-names {{대시보드_이름}}` diff --git a/pages.ko/common/aws-codeartifact.md b/pages.ko/common/aws-codeartifact.md new file mode 100644 index 00000000000000..64375a9d8e7445 --- /dev/null +++ b/pages.ko/common/aws-codeartifact.md @@ -0,0 +1,25 @@ +# aws codeartifact + +> CodeArtifact 리포지토리, 도메인, 패키지, 패키지 버전 및 자산을 관리. +> CodeArtifact는 인기 있는 패키지 관리자 및 Maven, Gradle, npm, Yarn, Twine, pip, NuGet 및 SwiftPM과 같은 빌드 도구와 호환되는 아티팩트 리포지토리. +> 더 많은 정보: . + +- AWS 계정에 사용 가능한 도메인 나열: + +`aws codeartifact list-domains` + +- 특정 패키지 관리자에 대한 자격 증명 생성: + +`aws codeartifact login --tool {{npm|pip|twine}} --domain {{_도메인}} --repository {{레포지토리_이름}}` + +- CodeArtifact 레포지토리의 엔드포인트 URL 가져오기: + +`aws codeartifact get-repository-endpoint --domain {{your_domain}} --repository {{레포지토리_이름}} --format {{npm|pypi|maven|nuget|generic}}` + +- 도움말 표시: + +`aws codeartifact help` + +- 특정 하위 명령어에 대한 도움말 표시: + +`aws codeartifact {{subcommand}} help` diff --git a/pages.ko/common/aws-codecommit.md b/pages.ko/common/aws-codecommit.md new file mode 100644 index 00000000000000..6d2267d53f79d5 --- /dev/null +++ b/pages.ko/common/aws-codecommit.md @@ -0,0 +1,12 @@ +# aws codecommit + +> 개인 Git 저장소를 호스팅하는 관리형 소스 제어 서비스. +> 더 많은 정보: . + +- 도움말 표시: + +`aws codecommit help` + +- 특정 명령어에 대한 도움말 표시: + +`aws codecommit {{명령어}} help` diff --git a/pages.ko/common/aws-cognito-idp.md b/pages.ko/common/aws-cognito-idp.md new file mode 100644 index 00000000000000..0bed3a82dfa1e2 --- /dev/null +++ b/pages.ko/common/aws-cognito-idp.md @@ -0,0 +1,28 @@ +# aws cognito-idp + +> Configure an Amazon Cognito user pool and its users and groups and authenticate them. +> 더 많은 정보: . + +- 새로운 Cognito 사용자 풀 생성: + +`aws cognito-idp create-user-pool --pool-name {{이름}}` + +- 모든 사용자 풀 나열 : + +`aws cognito-idp list-user-pools --max-results {{10}}` + +- 특정 사용자 풀 삭제: + +`aws cognito-idp delete-user-pool --user-pool-id {{사용자_풀_아이디}}` + +- 특정 풀에 사용자 생성: + +`aws cognito-idp admin-create-user --username {{사용자명}} --user-pool-id {{사용자_풀_아이디}}` + +- 특정 풀의 사용자 나열: + +`aws cognito-idp list-users --user-pool-id {{사용자_풀_아이디}}` + +- 특정 풀에서 사용자 삭제: + +`aws cognito-idp admin-delete-user --username {{사용자명}} --user-pool-id {{사용자_풀_아이디}}` diff --git a/pages.ko/common/aws-configure.md b/pages.ko/common/aws-configure.md new file mode 100644 index 00000000000000..bab5f0ddd9a713 --- /dev/null +++ b/pages.ko/common/aws-configure.md @@ -0,0 +1,36 @@ +# aws configure + +> AWS CLI 환경 설정 관리. +> 더 많은 정보: . + +- AWS CLI를 대화형으로 구성 (새로운 환경을 설정하거나 기본값을 업데이트): + +`aws configure` + +- 대화형으로 AWS CLI에 대한 명명된 프로필을 구성 (새 프로필을 생성하거나, 기존 프로필을 업데이트): + +`aws configure --profile {{프로파일_이름}}` + +- 특정 환경 변수의 값을 표시: + +`aws configure get {{이름}}` + +- 특정 프로필의 환경 변수 값을 표시: + +`aws configure get {{이름}} --profile {{프로파일_이름}}` + +- 특정 환경 변수의 값을 설정: + +`aws configure set {{이름}} {{값}}` + +- 특정 프로필의 환경 변수 값 설정: + +`aws configure set {{이름}} {{값}} --profile {{프로파일_이름}}` + +- 구성 파일의 항목을 나열: + +`aws configure list` + +- 특정 프로필에 대한 환경 설정 항목 나열: + +`aws configure list --profile {{프로파일_이름}}` diff --git a/pages.ko/common/aws-cur.md b/pages.ko/common/aws-cur.md new file mode 100644 index 00000000000000..fd529c9a170dcd --- /dev/null +++ b/pages.ko/common/aws-cur.md @@ -0,0 +1,16 @@ +# aws cur + +> AWS 사용 보고서 정의 파일 생성, 쿼리 및 삭제. +> 더 많은 정보: . + +- JSON 파일에서 AWS 비용 및 사용 보고서 정의 파일 생성: + +`aws cur put-report-definition --report-definition file://{{경로/대상/리포트_정의파일.json}}` + +- 로그인 한 계정에 대해 정의된 사용 보고서 정의 나열: + +`aws cur describe-report-definitions` + +- 사용 보고서 정의 삭제: + +`aws cur --region {{aws_리전}} delete-report-definition --report-name {{레포트}}` diff --git a/pages.ko/common/aws-dynamodb.md b/pages.ko/common/aws-dynamodb.md new file mode 100644 index 00000000000000..03f3300a3ebaf7 --- /dev/null +++ b/pages.ko/common/aws-dynamodb.md @@ -0,0 +1,36 @@ +# aws dynamodb + +> 예측 가능한 성능과 원활한 확장성을 갖춘 빠른 NoSQL 데이터베이스인 AWS Dynamodb 데이터베이스를 조작. +> 더 많은 정보: . + +- 테이블 생성: + +`aws dynamodb create-table --table-name {{테이블_이름}} --attribute-definitions {{AttributeName=S,AttributeType=S}} --key-schema {{AttributeName=S,KeyType=HASH}} --provisioned-throughput {{ReadCapacityUnits=5,WriteCapacityUnits=5}}` + +- DynamoDB의 모든 테이블 나열: + +`aws dynamodb list-tables` + +- 특정 테이블에 대한 세부정보 출력: + +`aws dynamodb describe-table --table-name {{테이블_이름}}` + +- 테이블에 항목 ㅊ두가: + +`aws dynamodb put-item --table-name {{테이블_이름}} --item '{{{"AttributeName": {"S": "value"}}}}'` + +- 테이블에서 항목 검색: + +`aws dynamodb get-item --table-name {{테이블_이름}} --key '{{{"ID": {"N": "1"}}}}'` + +- 테이블의 항목 업데이트: + +`aws dynamodb update-item --table-name {{테이블_이름}} --key '{{{"ID": {"N": "1"}}}}' --update-expression "{{SET Name = :n}}" --expression-attribute-values '{{{":n": {"S": "Jane"}}}}'` + +- 테이블의 항목을 스캔: + +`aws dynamodb scan --table-name {{테이블_이름}}` + +- 테이블에서 항목 제거: + +`aws dynamodb delete-item --table-name {{테이블_이름}} --key '{{{"ID": {"N": "1"}}}}'` diff --git a/pages.ko/common/aws-ec2.md b/pages.ko/common/aws-ec2.md new file mode 100644 index 00000000000000..6fb0c078933ed1 --- /dev/null +++ b/pages.ko/common/aws-ec2.md @@ -0,0 +1,37 @@ +# aws ec2 + +> AWS EC2 인스턴스 및 볼륨 관리. +> AWS EC2는 더 빠른 애플리케이션 개발과 배포를 위해 AWS 클라우드에서 안전하고 크기 조정이 가능한 컴퓨팅 용량을 제공. +> 더 많은 정보: . + +- 특정 인스턴스의 정보 출력: + +`aws ec2 describe-instances --instance-ids {{인스턴스_아이디}}` + +- 모든 인스턴스에 대한 정보 출력: + +`aws ec2 describe-instances` + +- 모든 EC2 볼륨에 대한 정보 출력: + +`aws ec2 describe-volumes` + +- EC2 볼륨 삭제: + +`aws ec2 delete-volume --volume-id {{볼륨_아이디}}` + +- EC2 볼륨에서 스냅샷 생성: + +`aws ec2 create-snapshot --volume-id {{볼륨_아이디}}` + +- 사용 가능한 AMIs (Amazon 머신 이미지) 목록 나열: + +`aws ec2 describe-images` + +- 모든 사용 가능한 EC2 명령어 나열: + +`aws ec2 help` + +- 특정 EC2 하위 명령어 도움말 표시: + +`aws ec2 {{subcommand}} help` diff --git a/pages.ko/common/aws-ecr.md b/pages.ko/common/aws-ecr.md new file mode 100644 index 00000000000000..b86ed0924c5e94 --- /dev/null +++ b/pages.ko/common/aws-ecr.md @@ -0,0 +1,36 @@ +# aws ecr + +> 컨테이너 이미지 추가, 당겨오기 및 관리. +> 더 많은 정보: . + +- 기본 레지스트리로 Docker 인증 (사용자 이름은 AWS): + +`aws ecr get-login-password --region {{리전}} | {{docker login}} --username AWS --password-stdin {{aws_계정_아이디}}.dkr.ecr.{{리전}}.amazonaws.com` + +- 저장소 생성: + +`aws ecr create-repository --repository-name {{저장소}} --image-scanning-configuration scanOnPush={{true|false}} --region {{리전}}` + +- ECR용 로컬 이미지에 태그 지정: + +`docker tag {{컨테이너_이름}}:{{태그}} {{aws_계정_아이디}}.dkr.ecr.{{리전}}.amazonaws.com/{{컨테이너_이름}}:{{태그}}` + +- 저장소에 이미지 추가: + +`docker push {{aws_계정_아이디}}.dkr.ecr.{{리전}}.amazonaws.com/{{컨테이너_이름}}:{{태그}}` + +- 저장소에서 이미지 가져오기: + +`docker pull {{aws_계정_아이디}}.dkr.ecr.{{리전}}.amazonaws.com/{{컨테이너_이름}}:{{태그}}` + +- 저장소에서 이미지 삭제: + +`aws ecr batch-delete-image --repository-name {{저장소}} --image-ids imageTag={{latest}}` + +- 저장소 삭제: + +`aws ecr delete-repository --repository-name {{저장소}} --force` + +- 저장소 안 이미지 나열: + +`aws ecr list-images --repository-name {{저장소}}` diff --git a/pages.ko/common/aws-eks.md b/pages.ko/common/aws-eks.md new file mode 100644 index 00000000000000..be336adcfdde69 --- /dev/null +++ b/pages.ko/common/aws-eks.md @@ -0,0 +1,33 @@ +# aws eks + +> Amazon Elastic Kubernetes Service (EKS) 애드온, 클러스터 및 노드 그룹 관리. +> Amazon EKS는 AWS에서 Kubernetes를 쉽게 실행하기 위한 서비스. +> 더 많은 정보: . + +- EKS 클러스터 생성: + +`aws eks create-cluster --name {{클러스터_이름}} --role-arn {{eks_service_role_arn}} --resources-vpc-config {{subnetIds={{subnet_ids}},securityGroupIds={{security_group_ids}}}}` + +- EKS 클러스터에 연결하기 위한 kubeconfig를 업데이트: + +`aws eks update-kubeconfig --name {{클러스터_이름}}` + +- 사용 가능한 EKS 클러스터 목록 나열: + +`aws eks list-clusters` + +- Describe EKS 클러스터 세부정보 나열: + +`aws eks describe-cluster --name {{클러스터_이름}}` + +- EKS 클러스터 삭제: + +`aws eks delete-cluster --name {{클러스터_이름}}` + +- EKS 클러스터의 노드그룹 나열: + +`aws eks list-nodegroups --cluster-name {{클러스터_이름}}` + +- 노드 그룹 세부 정보 표시: + +`aws eks describe-nodegroup --cluster-name {{클러스터_이름}} --nodegroup-name {{노드그룹_이름}}` diff --git a/pages.ko/common/aws-glue.md b/pages.ko/common/aws-glue.md new file mode 100644 index 00000000000000..1c786ffb0829aa --- /dev/null +++ b/pages.ko/common/aws-glue.md @@ -0,0 +1,29 @@ +# aws glue + +> AWS Glue용 CLI. +> AWS Glue 서비스에 대한 퍼블릭 엔드포인트 정의. +> 더 많은 정보: . + +- 작업 나열: + +`aws glue list-jobs` + +- 작업 시작: + +`aws glue start-job-run --job-name {{작업_이름}}` + +- 워크플로우 실행 시작: + +`aws glue start-workflow-run --name {{워크플로우_이름}}` + +- 트리거 나열: + +`aws glue list-triggers` + +- 트리거 시작: + +`aws glue start-trigger --name {{트리거_이름}}` + +- 개발 엔드포인트 생성: + +`aws glue create-dev-endpoint --endpoint-name {{이름}} --role-arn {{role_arn_used_by_endpoint}}` diff --git a/pages.ko/common/aws-help.md b/pages.ko/common/aws-help.md new file mode 100644 index 00000000000000..9fc31b9416a342 --- /dev/null +++ b/pages.ko/common/aws-help.md @@ -0,0 +1,16 @@ +# aws help + +> AWS CLI에 대한 도움말 정보를 표시. +> 더 많은 정보: . + +- 도움말 표시: + +`aws help` + +- 사용 가능한 모든 주제를 나열: + +`aws help topics` + +- 특정 주제에 대한 도움말 표시: + +`aws help {{주제_이름}}` diff --git a/pages.ko/common/aws-history.md b/pages.ko/common/aws-history.md new file mode 100644 index 00000000000000..01a2cf49f03190 --- /dev/null +++ b/pages.ko/common/aws-history.md @@ -0,0 +1,12 @@ +# aws history + +> AWS CLI 명령어 대한 명령어 입력 기록을 인쇄 (AWS CLI 명령어 입력 기록 권한이 활성화되어야 함). +> 더 많은 정보: . + +- 명령어 ID로 명령 기록 나열: + +`aws history list` + +- 명령어 ID가 지정된 특정 명령과 관련된 이벤트 표시: + +`aws history show {{명령어_아이디}}` diff --git a/pages.ko/common/aws-iam.md b/pages.ko/common/aws-iam.md new file mode 100644 index 00000000000000..ae10f86ba7ad55 --- /dev/null +++ b/pages.ko/common/aws-iam.md @@ -0,0 +1,36 @@ +# aws iam + +> AWS 서비스에 대한 접근을 안전하게 제어하기 위한 웹 서비스인 IAM(Identity and Access Management)과 상호작용. +> 더 많은 정보: . + +- 사용자 나열: + +`aws iam list-users` + +- 정책 나열: + +`aws iam list-policies` + +- 그룹 나열: + +`aws iam list-groups` + +- 그룹 내 사용자 가져오기: + +`aws iam get-group --group-name {{그룹_이름}}` + +- IAM 정책 표시: + +`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{정책_이름}}` + +- 액세스 키 나열: + +`aws iam list-access-keys` + +- 특정 사용자의 액세스 키 나열: + +`aws iam list-access-keys --user-name {{사용자_이름}}` + +- 도움말 표시: + +`aws iam help` diff --git a/pages.ko/common/aws-kafka.md b/pages.ko/common/aws-kafka.md new file mode 100644 index 00000000000000..e227fcce38a125 --- /dev/null +++ b/pages.ko/common/aws-kafka.md @@ -0,0 +1,37 @@ +# aws kafka + +> Amazon MSK (Apache Kafka용 관리형 스트리밍) 클러스터 관리. +> 추가 정보: `aws`. +> 더 많은 정보: . + +- 새로운 MSK 클러스터 만들기: + +`aws kafka create-cluster --cluster-name {{클러스터_이름}} --broker-node-group-info instanceType={{인스턴스_타입}},clientSubnets={{서브넷_아이디1 서브넷_아이디2 ...}} --kafka-version {{버전}} --number-of-broker-nodes {{숫자}}` + +- MSK 클러스터 정보 표시: + +`aws kafka describe-cluster --cluster-arn {{cluster_arn}}` + +- 현재 지역의 모든 MSK 클러스터 목록 나열: + +`aws kafka list-clusters` + +- 새로운 MSK 구성 파일 생성: + +`aws kafka create-configuration --name {{구성파일_이름}} --server-properties file://{{경로/대상/구성파일_이름.txt}}` + +- MSK 구성파일 내용 표시: + +`aws kafka describe-configuration --arn {{configuration_arn}}` + +- 현재 지역의 모든 MSK 구성 나열: + +`aws kafka list-configurations` + +- MSK 클러스터 구성 업데이트: + +`aws kafka update-cluster-configuration --cluster-arn {{cluster_arn}} --configuration-info arn={{configuration_arn}},revision={{configuration_revision}}` + +- MSK 클러스터 삭제: + +`aws kafka delete-cluster --cluster-arn {{cluster_arn}}` diff --git a/pages.ko/common/aws-kendra.md b/pages.ko/common/aws-kendra.md new file mode 100644 index 00000000000000..7efc4e3d8d1645 --- /dev/null +++ b/pages.ko/common/aws-kendra.md @@ -0,0 +1,28 @@ +# aws kendra + +> AWS Kendra의 CLI. +> 더 많은 정보: . + +- 인덱스 생성: + +`aws kendra create-index --name {{이름}} --role-arn {{role_arn}}` + +- 인덱스 나열: + +`aws kendra list-indexes` + +- 인덱스 표시: + +`aws kendra describe-index --id {{index_id}}` + +- 데이터 소스 나열: + +`aws kendra list-data-sources` + +- 데이터 소스 정보 표시: + +`aws kendra describe-data-source --id {{데이터_소스_아이디}}` + +- 검색 쿼리 나열: + +`aws kendra list-query-suggestions --index-id {{인덱스_아이디}} --query-text {{쿼리_문자열}}` diff --git a/pages.ko/common/aws-kinesis.md b/pages.ko/common/aws-kinesis.md new file mode 100644 index 00000000000000..46fab95ab20979 --- /dev/null +++ b/pages.ko/common/aws-kinesis.md @@ -0,0 +1,28 @@ +# aws kinesis + +> 빅데이터를 스트리밍하는 실시간 처리를 위해 탄력적으로 확장되는 서비스인, Amazon Kinesis Data Streams와 상호작용함. +> 더 많은 정보: . + +- 계정의 모든 스트림 표시: + +`aws kinesis list-streams` + +- Kinesis 스트림에 하나의 레코드 쓰기: + +`aws kinesis put-record --stream-name {{이름}} --partition-key {{키}} --data {{base64로_인코딩된_메시지}}` + +- 인라인 base64 인코딩을 사용하여 Kinesis 스트림에 레코드를 씀: + +`aws kinesis put-record --stream-name {{이름}} --partition-key {{키}} --data "$( echo "{{my raw message}}" | base64 )"` + +- 스트림에서 사용 가능한 shard를 나열: + +`aws kinesis list-shards --stream-name {{이름}}` + +- 스트림의 shard에서 가장 오래된 메시지를 읽기 위한 shard 반복자를 가져옴: + +`aws kinesis get-shard-iterator --shard-iterator-type TRIM_HORIZON --stream-name {{이름}} --shard-id {{아이디}}` + +- shard 반복자를 사용하여, shard에서 레코드를 읽음: + +`aws kinesis get-records --shard-iterator {{반복자}}` diff --git a/pages.ko/common/aws-lambda.md b/pages.ko/common/aws-lambda.md new file mode 100644 index 00000000000000..2e676b6d1a588d --- /dev/null +++ b/pages.ko/common/aws-lambda.md @@ -0,0 +1,32 @@ +# aws lambda + +> 서버를 프로비저닝하거나 관리하지 않고도 코드를 실행하기 위한 컴퓨팅 서비스인 AWS Lambda를 사용. +> 더 많은 정보: . + +- 함수 실행: + +`aws lambda invoke --function-name {{이름}} {{경로/대상/응답.json}}` + +- JSON 형식의 입력 페이로드를 사용하여 함수를 실행: + +`aws lambda invoke --function-name {{이름}} --payload {{json}} {{경로/대상/응답.json}}` + +- 함수 나열: + +`aws lambda list-functions` + +- 함수 구성 설정을 표시: + +`aws lambda get-function-configuration --function-name {{이름}}` + +- 함수 별칭 나열: + +`aws lambda list-aliases --function-name {{이름}}` + +- 함수에 대해 예약된 동시성 구성 설정을 표시: + +`aws lambda get-function-concurrency --function-name {{이름}}` + +- 함수를 호출할 수 있는 AWS 서비스를 나열: + +`aws lambda get-policy --function-name {{이름}}` diff --git a/pages.ko/common/aws-lightsail.md b/pages.ko/common/aws-lightsail.md new file mode 100644 index 00000000000000..555300e6abafee --- /dev/null +++ b/pages.ko/common/aws-lightsail.md @@ -0,0 +1,32 @@ +# aws lightsail + +> Amazon Lightsail 리소스 관리. +> 더 많은 정보: . + +- 모든 가상 사설 서버 또는 인스턴스를 나열: + +`aws lightsail get-instances` + +- 모든 번들 나열 (인스턴스 플랜): + +`aws lightsail list-bundles` + +- 사용 가능한 모든 인스턴스 이미지 또는 청사진을 나열: + +`aws lightsail list-blueprints` + +- 인스턴스 생성: + +`aws lightsail create-instances --instance-names {{이름}} --availability-zone {{리전}} --bundle-id {{nano_2_0}} --blueprint-id {{청사진_아이디}}` + +- 특정 인스턴스의 상태를 출력: + +`aws lightsail get-instance-state --instance-name {{이름}}` + +- 특정 인스턴스 중지: + +`aws lightsail stop-instance --instance-name {{이름}}` + +- 특정 인스턴스 삭제: + +`aws lightsail delete-instance --instance-name {{이름}}` diff --git a/pages.ko/common/aws-pricing.md b/pages.ko/common/aws-pricing.md new file mode 100644 index 00000000000000..fe58d017e0d943 --- /dev/null +++ b/pages.ko/common/aws-pricing.md @@ -0,0 +1,24 @@ +# aws pricing + +> Amazon Web Services에서 서비스, 제품 및 가격 정보를 쿼리. +> 더 많은 정보: . + +- 특정 지역의 서비스 코드 나열: + +`aws pricing describe-services --region {{us-east-1}}` + +- 특정 지역의 지정된 서비스 코드에 대한 속성을 나열: + +`aws pricing describe-services --service-code {{AmazonEC2}} --region {{us-east-1}}` + +- 특정 지역의 서비스 코드에 대한 가격 정보 출력: + +`aws pricing get-products --service-code {{AmazonEC2}} --region {{us-east-1}}` + +- 특정 지역의 서비스 코드에 대한 특정 속성 값 나열: + +`aws pricing get-attribute-values --service-code {{AmazonEC2}} --attribute-name {{인스턴스타입}} --region {{us-east-1}}` + +- 인스턴스 유형 및 위치에 대한 필터를 사용하여, 서비스 코드에 대한 가격 정보를 출력: + +`aws pricing get-products --service-code {{AmazonEC2}} --filters "{{Type=TERM_MATCH,Field=instanceType,Value=m5.xlarge}}" "{{Type=TERM_MATCH,Field=location,Value=US East (N. Virginia)}}" --region {{us-east-1}}` diff --git a/pages.ko/common/aws-quicksight.md b/pages.ko/common/aws-quicksight.md new file mode 100644 index 00000000000000..a8bc9fa5b2bc2a --- /dev/null +++ b/pages.ko/common/aws-quicksight.md @@ -0,0 +1,28 @@ +# aws quicksight + +> AWS QuickSight 엔터티를 생성, 삭제, 나열, 검색 및 업데이트. +> 더 많은 정보: . + +- 데이터셋 나열: + +`aws quicksight list-data-sets --aws-account-id {{aws_계정_아이디}}` + +- 사용자 나열: + +`aws quicksight list-users --aws-account-id {{aws_계정_아이디}} --namespace default` + +- 그룹 나열: + +`aws quicksight list-groups --aws-account-id {{aws_계정_아이디}} --namespace default` + +- 대시보드 나열: + +`aws quicksight list-dashboards --aws-account-id {{aws_계정_아이디}}` + +- 데이터 세트에 대한 자세한 정보 표시: + +`aws quicksight describe-data-set --aws-account-id {{aws_계정_아이디}} --data-set-id {{데이터_셋_아이디}}` + +- 데이터셋에 접근할 수 있는 사람과 해당 사용자가 데이터셋에서 수행할 수 있는 작업 종류를 표시: + +`aws quicksight describe-data-set-permissions --aws-account-id {{aws_계정_아이디}} --data-set-id {{데이터_셋_아이디}}` diff --git a/pages.ko/common/aws-rds.md b/pages.ko/common/aws-rds.md new file mode 100644 index 00000000000000..5ab210fb759c0c --- /dev/null +++ b/pages.ko/common/aws-rds.md @@ -0,0 +1,36 @@ +# aws rds + +> 관계형 데이터베이스를 설정, 운영 및 확장하기 위한 웹 서비스인 AWS Relational Database Service를 사용. +> 더 많은 정보: . + +- 특정 RDS 하위 명령어에 대한 도움말을 표시: + +`aws rds {{하위명령어}} help` + +- 인스턴스 중지: + +`aws rds stop-db-instance --db-instance-identifier {{인스턴스_구분자}}` + +- 인스턴스 시작: + +`aws rds start-db-instance --db-instance-identifier {{인스턴스_구분자}}` + +- RDS 인스턴스 수정: + +`aws rds modify-db-instance --db-instance-identifier {{인스턴스_구분자}} {{매개변수}} --apply-immediately` + +- RDS 인스턴스에 업데이트 적용: + +`aws rds apply-pending-maintenance-action --resource-identifier {{database_arn}} --apply-action {{system-update}} --opt-in-type {{immediate}}` + +- 인스턴스 구분자 변경: + +`aws rds modify-db-instance --db-instance-identifier {{오래된_인스턴스_구분자}} --new-db-instance-identifier {{새로운_인스턴스_구분자}}` + +- 인스턴스 재부팅: + +`aws rds reboot-db-instance --db-instance-identifier {{인스턴스_구분자}}` + +- 인스턴스 삭제: + +`aws rds delete-db-instance --db-instance-identifier {{인스턴스_구분자}} --final-db-snapshot-identifier {{스냅샷_구분자}} --delete-automated-backups` diff --git a/pages.ko/common/aws-route53.md b/pages.ko/common/aws-route53.md new file mode 100644 index 00000000000000..9b9e1e5c03ca05 --- /dev/null +++ b/pages.ko/common/aws-route53.md @@ -0,0 +1,24 @@ +# aws route53 + +> AWS Route53용 CLI - Route 53은 가용성과 확장성이 뛰어난 DNS(도메인 네임 시스템) 웹 서비스입니다. +> 더 많은 정보: . + +- 모든 호스팅 영역(프라이빗 및 퍼블릭)을 나열: + +`aws route53 list-hosted-zones` + +- 존의 모든 레코드 표시: + +`aws route53 list-resource-record-sets --hosted-zone-id {{존_아이디}}` + +- 작업을 안전하게 재시도하려면, 요청 식별자를 사용해 새로운 공개 존을 생성: + +`aws route53 create-hosted-zone --name {{이름}} --caller-reference {{요청_구분자}}` + +- 존 삭제 (존에 기본 값이 아닌 SOA가 존재하며, NS 레코드가 있는 경우 명령어 실행이 실패): + +`aws route53 delete-hosted-zone --id {{존_아이디}}` + +- 특정 영역의 Amazon 서버에서 DNS 확인을 테스트: + +`aws route53 test-dns-answer --hosted-zone-id {{존_아이디}} --record-name {{이름}} --record-type {{타입}}` diff --git a/pages.ko/common/aws-s3-cp.md b/pages.ko/common/aws-s3-cp.md new file mode 100644 index 00000000000000..56a7fe1e5e09fb --- /dev/null +++ b/pages.ko/common/aws-s3-cp.md @@ -0,0 +1,24 @@ +# aws s3 cp + +> 로컬 파일 또는 S3 객체를 로컬로 또는 S3의 다른 위치로 복사. +> 더 많은 정보: . + +- 로컬에서 특정 버킷으로 파일 복사: + +`aws s3 cp {{경로/대상/파일}} s3://{{버킷_이름}}/{{경로/대상/원격_파일}}` + +- 특정 S3 객체를 다른 버킷에 복사: + +`aws s3 cp s3://{{버킷_이름}}/{{경로/대상/파일}} s3://{{버킷_이름2}}/{{경로/대상/목표}}` + +- 특정 S3 객체를 원래 이름을 유지하면서, 다른 버킷에 복사: + +`aws s3 cp s3://{{버킷_이름1}}/{{경로/대상/파일}} s3://{{버킷_이름2}}` + +- S3 객체를 로컬 디렉터리에 재귀적으로 복사: + +`aws s3 cp s3://{{버킷_이름}} . --recursive` + +- 도움말 표시: + +`aws s3 cp help` diff --git a/pages.ko/common/aws-s3-ls.md b/pages.ko/common/aws-s3-ls.md new file mode 100644 index 00000000000000..7bbc25f651d371 --- /dev/null +++ b/pages.ko/common/aws-s3-ls.md @@ -0,0 +1,28 @@ +# aws s3 ls + +> AWS S3 버킷, 폴더 (접두사) 및 파일 (객체) 나열. +> 더 많은 정보: . + +- 모든 버킷 나열: + +`aws s3 ls` + +- 버킷 루트 파일 및 폴더 나열 (`s3://`는 선택 사항): + +`aws s3 ls s3://{{버킷_이름}}` + +- 디렉터리 내부에 있는 파일과 폴더를 직접 나열: + +`aws s3 ls {{버킷_이름}}/{{경로/대상/디렉터리/}}/` + +- 버킷의 모든 파일 나열: + +`aws s3 ls --recursive {{버킷_이름}}` + +- 주어진 접두사가 있는 경로의 모든 파일 나열: + +`aws s3 ls --recursive {{버킷_이름}}/{{경로/대상/디렉터리/}}{{접두사}}` + +- 도움말 표시: + +`aws s3 ls help` diff --git a/pages.ko/common/aws-s3-mb.md b/pages.ko/common/aws-s3-mb.md new file mode 100644 index 00000000000000..603e9e03995c50 --- /dev/null +++ b/pages.ko/common/aws-s3-mb.md @@ -0,0 +1,16 @@ +# aws s3 mb + +> S3 버킷들을 생성. +> 더 많은 정보: . + +- S3 버킷을 생성: + +`aws s3 mb s3://{{버킷_이름}}` + +- 특정 지역에 S3 버킷 생성: + +`aws s3 mb s3://{{버킷_이름}} --region {{리전}}` + +- 도움말 표시: + +`aws s3 mb help` diff --git a/pages.ko/common/aws-s3-mv.md b/pages.ko/common/aws-s3-mv.md new file mode 100644 index 00000000000000..91ba9b6bfd29f1 --- /dev/null +++ b/pages.ko/common/aws-s3-mv.md @@ -0,0 +1,20 @@ +# aws s3 mv + +> 로컬 파일이나 S3 객체를 로컬로 또는 S3의 다른 위치로 이동. +> 더 많은 정보: . + +- 로컬에서 지정된 버킷으로 파일 이동: + +`aws s3 mv {{경로/대상/로컬_파일}} s3://{{버킷_이름}}/{{경로/대상/원격_파일}}` + +- 특정 S3 객체를 다른 버킷으로 이동: + +`aws s3 mv s3://{{버킷_이름1}}/{{경로/대상/파일}} s3://{{버킷_이름2}}/{{경로/대상/목표파일}}` + +- 특정 S3 객체를 원래 이름을 유지하는 다른 버킷으로 이동: + +`aws s3 mv s3://{{버킷_이름1}}/{{경로/대상/파일}} s3://{{버킷_이름2}}` + +- 도움말 표시: + +`aws s3 mv help` diff --git a/pages.ko/common/aws-s3-presign.md b/pages.ko/common/aws-s3-presign.md new file mode 100644 index 00000000000000..e6f94c7dce2139 --- /dev/null +++ b/pages.ko/common/aws-s3-presign.md @@ -0,0 +1,16 @@ +# aws s3 presign + +> Amazon S3 객체에 대해 미리 서명된 URL 생성. +> 더 많은 정보: . + +- 한 시간 동안 유효한 특정 S3 객체에 대해 미리 서명된 URL을 생성: + +`aws s3 presign s3://{{버킷_이름}}/{{경로/대상/파일}}` + +- 특정 수명 동안 유효한 미리 서명된 URL을 생성: + +`aws s3 presign s3://{{버킷_이름}}/{{경로/대상/파일}} --expires-in {{지속_시간}}` + +- 도움말 표시: + +`aws s3 presign help` diff --git a/pages.ko/common/aws-s3-rb.md b/pages.ko/common/aws-s3-rb.md new file mode 100644 index 00000000000000..17fe61815f2bdd --- /dev/null +++ b/pages.ko/common/aws-s3-rb.md @@ -0,0 +1,12 @@ +# aws s3 rb + +> 비어있는 S3 버킷 삭제. +> 더 많은 정보: . + +- 비어있는 S3 버킷 삭제: + +`aws s3 rb s3://{{버킷_이름}}` + +- S3 버킷 및 버전이 지정되지 않은 객체를 강제 삭제 (버전이 명시된 객체가 있는 경우 충돌 발생): + +`aws s3 rb s3://{{버킷_이름}} --force` diff --git a/pages.ko/common/aws-s3-rm.md b/pages.ko/common/aws-s3-rm.md new file mode 100644 index 00000000000000..46ea7e326b07de --- /dev/null +++ b/pages.ko/common/aws-s3-rm.md @@ -0,0 +1,24 @@ +# aws s3 rm + +> S3 객체 삭제. +> 더 많은 정보: . + +- 특정 S3 객체 삭제: + +`aws s3 rm s3://{{버킷_이름}}/{{경로/대상/파일}}` + +- 특정 S3 객체를 삭제하지 않고 삭제 결과를 미리보기 (dry-run): + +`aws s3 rm s3://{{버킷_이름}}/{{경로/대상/파일}} --dryrun` + +- 특정 S3 액세스 포인트에서 객체 삭제: + +`aws s3 rm s3://arn:aws:s3:{{리전}}:{{계정_아이디}}:{{액세스_포인트}}/{{액세스_포인트_이름}}/{{객체_키}}` + +- 버킷 내 모든 객체 삭제 (버킷 비우기): + +`aws s3 rm s3://{{버킷_이름}} --recursive` + +- 도움말 표시: + +`aws s3 rm help` diff --git a/pages.ko/common/aws-s3-website.md b/pages.ko/common/aws-s3-website.md new file mode 100644 index 00000000000000..4c34008697cce0 --- /dev/null +++ b/pages.ko/common/aws-s3-website.md @@ -0,0 +1,13 @@ +# aws s3 website + +> 버킷의 웹사이트 구성 설정. +> 추가 정보: `aws s3`. +> 더 많은 정보: . + +- 버킷을 정적 웹 사이트로 구성: + +`aws s3 website {{s3://버킷-이름}} --index-document {{index.html}}` + +- 웹 사이트에 대한 오류 페이지 구성: + +`aws s3 website {{s3://버킷-이름}} --index-document {{index.html}} --error-document {{error.html}}` diff --git a/pages.ko/common/aws-s3.md b/pages.ko/common/aws-s3.md index 94f151437dd0a4..044f084bac8f33 100644 --- a/pages.ko/common/aws-s3.md +++ b/pages.ko/common/aws-s3.md @@ -1,7 +1,7 @@ # aws s3 > AWS S3용 CLI - 웹 서비스 인터페이스를 통해 스토리지를 제공합니다. -> 더 많은 정보: . +> 더 많은 정보: . - 버킷 안의 파일 보기: diff --git a/pages.ko/common/aws-s3api.md b/pages.ko/common/aws-s3api.md new file mode 100644 index 00000000000000..25a6833785203f --- /dev/null +++ b/pages.ko/common/aws-s3api.md @@ -0,0 +1,36 @@ +# aws s3api + +> Amazon S3 버킷을 생성 및 삭제하고 버킷 속성을 편집. +> 더 많은 정보: . + +- 특정 리전에 버킷 생성: + +`aws s3api create-bucket --bucket {{버킷_이름}} --region {{리전}} --create-bucket-configuration LocationConstraint={{리전}}` + +- 버킷 삭제: + +`aws s3api delete-bucket --bucket {{버킷_이름}}` + +- 버킷 나열: + +`aws s3api list-buckets` + +- 버킷 내부의 객체를 나열하고, 각 객체의 키와 크기만 표시: + +`aws s3api list-objects --bucket {{버킷_이름}} --query '{{Contents[].{Key: Key, Size: Size}}}'` + +- 버킷에 객체를 추가: + +`aws s3api put-object --bucket {{버킷_이름}} --key {{object_key}} --body {{path/to/file}}` + +- 버킷에서 객체 다운로드 (출력 파일은 항상 마지막 인수로 와야 함): + +`aws s3api get-object --bucket {{버킷_이름}} --key {{객체_키}} {{경로/대상/출력_파일}}` + +- 지정된 버킷에 Amazon S3 버킷 정책 적용: + +`aws s3api put-bucket-policy --bucket {{버킷_이름}} --policy file://{{경로/대상/버킷_정책.json}}` + +- 지정된 버킷에서 Amazon S3 버킷 정책 다운로드: + +`aws s3api get-bucket-policy --bucket {{버킷_이름}} --query Policy --output {{json|table|text|yaml|yaml-stream}} > {{경로/대상/버킷_정책}}` diff --git a/pages.ko/common/aws-secretsmanager.md b/pages.ko/common/aws-secretsmanager.md new file mode 100644 index 00000000000000..ec403467ade8ef --- /dev/null +++ b/pages.ko/common/aws-secretsmanager.md @@ -0,0 +1,36 @@ +# aws secretsmanager + +> 시크릿을 저장, 관리 및 검색. +> 더 많은 정보: . + +- 현재 계정에 저장된 시크릿 표시: + +`aws secretsmanager list-secrets` + +- 모든 시크릿 표시 (시크릿 이름 및 ARN만 표시, 보기 쉬움): + +`aws secretsmanager list-secrets --query 'SecretList[*].{Name: Name, ARN: ARN}'` + +- 시크릿 생성: + +`aws secretsmanager create-secret --name {{이름}} --description "{{시크릿_설명}}" --secret-string '{{시크릿}}'` + +- 시크릿 삭제 (복구 없이 즉시 삭제하려면 `--force-delete-without-recovery` 추가): + +`aws secretsmanager delete-secret --secret-id {{이름|arn}}` + +- 시크릿 세부 정보 표시 (시크릿 텍스트 제외): + +`aws secretsmanager describe-secret --secret-id {{이름|arn}}` + +- 시크릿 값 검색 (최신 버전의 시크릿을 얻으려면 `--version-stage` 생략): + +`aws secretsmanager get-secret-value --secret-id {{이름|arn}} --version-stage {{시크릿_버전}}` + +- 즉시 시크릿 교체을 위해 람다 함수 사용: + +`aws secretsmanager rotate-secret --secret-id {{이름|arn}} --rotation-lambda-arn {{람다_함수_arn}}` + +- 30일마다 자동으로 시크릿 교체을 위해 람다 함수 사용: + +`aws secretsmanager rotate-secret --secret-id {{이름|arn}} --rotation-lambda-arn {{람다_함수_arn}} --rotation-rules AutomaticallyAfterDays={{30}}` diff --git a/pages.ko/common/aws-ses.md b/pages.ko/common/aws-ses.md new file mode 100644 index 00000000000000..c2ad34e148aef9 --- /dev/null +++ b/pages.ko/common/aws-ses.md @@ -0,0 +1,37 @@ +# aws ses + +> AWS Simple Email Service용 CLI. +> 대규모 인바운드 및 아운바운드 클라우드 이메일 서비스. +> 더 많은 정보: . + +- 새로운 수신 규칙 세트를 생성: + +`aws ses create-receipt-rule-set --rule-set-name {{정책_모음_이름}} --generate-cli-skeleton` + +- 활성 수신 규칙 세트 정보를 표시: + +`aws ses describe-active-receipt-rule-set --generate-cli-skeletion` + +- 특정 수신 규칙 정보를 표시: + +`aws ses describe-receipt-rule --rule-set-name {{정책_모음_이름}} --rule-name {{정책_이름}} --generate-cli-skeleton` + +- 모든 수신 규칙 세트를 나열: + +`aws ses list-receipt-rule-sets --starting-token {{토큰_문자열}} --max-items {{정수}} --generate-cli-skeleton` + +- 특정 수신 규칙 세트 삭제 (현재 활성화된 규칙 세트는 삭제할 수 없음): + +`aws ses delete-receipt-rule-set --rule-set-name {{규칙_정보_이름}} --generate-cli-skeleton` + +- 특정 수신 규칙 삭제: + +`aws ses delete-receipt-rule --rule-set-name {{규칙_정보_이름}} --rule-name {{규칙_이름}} --generate-cli-skeleton` + +- 이메일 전송: + +`aws ses send-email --from {{송신_주소}} --destination "ToAddresses={{주소}}" --message "Subject={Data={{subject_text}},Charset=utf8},Body={Text={Data={{body_text}},Charset=utf8},Html={Data={{message_body_containing_html}},Charset=utf8}}"` + +- 특정 SES 하위 명령어에 대한 도움말 표시: + +`aws ses {{하위명령어}} help` diff --git a/pages.ko/common/aws-sns.md b/pages.ko/common/aws-sns.md new file mode 100644 index 00000000000000..b4baf3ae136a2c --- /dev/null +++ b/pages.ko/common/aws-sns.md @@ -0,0 +1,36 @@ +# aws sns + +> 주제 및 구독을 만들고, 메시지를 보내고 받고, Amazon Simple Notification Service에 대한 이벤트 및 로그를 모니터링. +> 더 많은 정보: . + +- 특정 유형의 모든 객체를 나열: + +`aws sns list-{{origination-numbers|phone-numbers-opted-out|platform-applications|sms-sandbox-phone-numbers|subscriptions|topics}}` + +- 특정 이름의 주제를 만들고 Amazon Resource Name (ARN)을 표시: + +`aws sns create-topic --name {{이름}}` + +- 특정 ARN을 사용하여 주제에 대한 이메일 주소를 구독하고 구독 정보를 표시: + +`aws sns subscribe --topic-arn {{topic_ARN}} --protocol email --notification-endpoint {{이메일}}` + +- 특정 주제 또는 전화번호에 대한 메시지를 게시하고, 메시지 ID를 표시: + +`aws sns publish {{--topic-arn "arn:aws:sns:us-west-2:123456789012:topic-name"||--phone-number +1-555-555-0100}} --message file://{{경로/대상/파일}}` + +- 해당 주제에서 특정 ARN이 있는 구독을 삭제: + +`aws sns unsubscribe --subscription-arn {{subscription_ARN}}` + +- 플랫폼 엔드포인트를 생성: + +`aws sns create-platform-endpoint --platform-application-arn {{platform_application_ARN}} --token {{token}}` + +- 주제의 액세스 제어 정책에 설명 추가: + +`aws sns add-permission --topic-arn {{topic_ARN}} --label {{topic_label}} --aws-account-id {{account_id}} --action-name {{AddPermission|CreatePlatformApplication|DeleteEndpoint|GetDataProtectionPolicy|GetEndpointAttributes|Subscribe|...}}` + +- 특정 ARN을 사용하여 주제에 태그를 추가: + +`aws sns tag-resource --resource-arn {{topic_ARN}} --tags {{Key=tag1_key Key=tag2_key,Value=tag2_value ...}}` diff --git a/pages.ko/common/aws-sqs.md b/pages.ko/common/aws-sqs.md new file mode 100644 index 00000000000000..8939010e18af22 --- /dev/null +++ b/pages.ko/common/aws-sqs.md @@ -0,0 +1,36 @@ +# aws sqs + +> AWS SQS 서비스 대기열에 메시지 생성, 삭제 및 전송. +> 더 많은 정보: . + +- 사용 가능한 모든 대기열 나열: + +`aws sqs list-queues` + +- 특정 대기열의 URL 표시: + +`aws sqs get-queue-url --queue-name {{큐_이름}}` + +- JSON 형식의 파일에서 특정 속성을 사용하여 대기열을 생성: + +`aws sqs create-queue --queue-name {{큐_이름}} --attributes {{file://경로/대상/속성_파일.json}}` + +- 특정 메시지를 대기열로 보냄: + +`aws sqs send-message --queue-url https://sqs.{{리전}}.amazonaws.com/{{큐_이름}} --message-body "{{메시지_본문}}" --delay-seconds {{지연}} --message-attributes {{file://경로/대상/속성_파일.json}}` + +- 대기열에서 지정된 메시지를 삭제: + +`aws sqs delete-message --queue-url {{https://queue_url}} --receipt-handle {{receipt_handle}}` + +- 특정 큐 삭제: + +`aws sqs delete-queue --queue-url https://sqs.{{리전}}.amazonaws.com/{{큐_이름}}` + +- 지정된 대기열에서 모든 메시지를 삭제: + +`aws sqs purge-queue --queue-url https://sqs.{{리전}}.amazonaws.com/{{큐_이름}}` + +- 대기열에 메시지를 보내려면, 특정 AWS 계정을 활성화: + +`aws sqs add-permission --queue-url https://sqs.{{리전}}.amazonaws.com/{{큐_이름}} --label {{권한_이름}} --aws-account-ids {{계정_아이디}} --actions SendMessage` diff --git a/pages.ko/common/aws-sso.md b/pages.ko/common/aws-sso.md new file mode 100644 index 00000000000000..0e09069d144e69 --- /dev/null +++ b/pages.ko/common/aws-sso.md @@ -0,0 +1,24 @@ +# aws sso + +> SSO(Single Sign-On) 자격 증명을 사용하여 AWS 리소스에 대한 액세스를 관리. +> 더 많은 정보: . + +- SSO 세션을 시작하고 액세스 토큰을 새로 고침. `aws configure sso`를 사용한 설정이 필요: + +`aws sso login` + +- SSO 세션을 종료하고 캐시된 액세스 토큰을 지움: + +`aws sso logout` + +- 사용자가 액세스할 수 있는 모든 AWS 계정을 나열: + +`aws sso list-accounts` + +- 특정 AWS 계정에 대해 사용자가 액세스할 수 있는 모든 역할을 나열: + +`aws sso list-account-roles --account-id {{계정}} --access-token {{토큰}}` + +- 특정 계정에 대한 단기 자격 증명 검색: + +`aws get-role-credentials --account-id {{계정}} --role-name {{역할}} --access-token {{토큰}}` diff --git a/pages.ko/common/aws-sts.md b/pages.ko/common/aws-sts.md new file mode 100644 index 00000000000000..7f7523e1140199 --- /dev/null +++ b/pages.ko/common/aws-sts.md @@ -0,0 +1,12 @@ +# aws sts + +> STS(Security Token Service)를 사용하면 IAM 사용자 또는 연합 사용자에 대한 임시 자격 증명을 요청. +> 더 많은 정보: . + +- 특정 AWS 리소스에 액세스하려면, 임시 보안 자격 증명을 받아야 함: + +`aws sts assume-role --role-arn {{aws_role_arn}}` + +- 작업을 호출하는 데 사용되는 자격 증명이 있는 IAM 사용자 또는 역할을 가져옴: + +`aws sts get-caller-identity` diff --git a/pages.ko/common/aws-vault.md b/pages.ko/common/aws-vault.md new file mode 100644 index 00000000000000..7d88383c00c01b --- /dev/null +++ b/pages.ko/common/aws-vault.md @@ -0,0 +1,28 @@ +# aws-vault + +> 개발 환경에서 AWS 자격 증명을 안전하게 저장하고 액세스하기 위한 저장소. +> 더 많은 정보: . + +- 보안 키 저장소에 자격 증명을 추가: + +`aws-vault add {{프로파일}}` + +- 환경에서 AWS 자격 증명을 사용하여 명령을 실행: + +`aws-vault exec {{프로파일}} -- {{aws s3 ls}}` + +- 브라우저 창을 열고 AWS 콘솔에 로그인: + +`aws-vault login {{프로파일}}` + +- 자격 증명 및 세션과 함께 프로필을 나열: + +`aws-vault list` + +- AWS 자격 증명 교체: + +`aws-vault rotate {{프로파일}}` + +- 보안 키 저장소에서 자격 증명을 제거: + +`aws-vault remove {{프로파일}}` diff --git a/pages.ko/common/aws-workmail.md b/pages.ko/common/aws-workmail.md new file mode 100644 index 00000000000000..c06c14634e6d41 --- /dev/null +++ b/pages.ko/common/aws-workmail.md @@ -0,0 +1,36 @@ +# aws workmail + +> Amazon WorkMail을 관리. +> 더 많은 정보: . + +- 모든 WorkMail 조직을 나열: + +`aws workmail list-organizations` + +- 특정 조직의 모든 사용자를 나열: + +`aws workmail list-users --organization-id {{조직_아이디}}` + +- 특정 조직에서 WorkMail 사용자를 생성: + +`aws workmail create-user --name {{사용자명}} --display-name {{이름}} --password {{비밀번호}} --organization-id {{조직_아이디}}` + +- 그룹/사용자를 WorkMail에 등록하고 활성화: + +`aws workmail register-to-work-mail --entity-id {{엔티티_아이디}} --email {{이메일}} --organization-id {{조직_아이디}}` + +- 특정 조직에 WorkMail 그룹을 생성: + +`aws workmail create-group --name {{그룹_이름}} --organization-id {{조직_아이디}}` + +- 특정 그룹에 구성원을 연결: + +`aws workmail associate-member-to-group --group-id {{그룹_아이디}} --member-id {{멤버_아이디}} --organization-id {{조직_아이디}}` + +- WorkMail에서 사용자/그룹 등록을 취소하고 비활성화: + +`aws workmail deregister-from-work-mail --entity-id {{엔티티_아이디}} --organization-id {{조직_아이디}}` + +- 조직에서 사용자 삭제: + +`aws workmail delete-user --user-id {{사용자_아이디}} --organization-id {{조직_아이디}}` diff --git a/pages.ko/common/aws.md b/pages.ko/common/aws.md index 3b16ae6d857e57..48a9c3e33087cb 100644 --- a/pages.ko/common/aws.md +++ b/pages.ko/common/aws.md @@ -1,24 +1,37 @@ # aws > Amazon Web Services의 공식 CLI tool입니다. +> `s3`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. > 더 많은 정보: . -- 모든 IAM 사용자 목록: +- AWS Command-line 설정: -`aws iam list-users` +`aws configure wizard` -- 특정 지역의 모든 ec2 인스턴스 나열: +- SSO를 사용해 AWS Command-line 설정: -`aws ec2 describe-instances --region {{us-east-1}}` +`aws configure sso` -- 특정 SQS 대기열에서 메시지 수신: +- 호출자 ID 가져오기 (권한 문제 해결에 사용됨): -`aws sqs receive-message --queue-url {{https://queue.amazonaws.com/546123/Test}}` +`aws sts get-caller-identity` -- 특정 SNS 주제에 메시지 게시: +- 지역의 AWS 리소스 목록 및 YAML로 출력: -`aws sns publish --topic-arn {{arn:aws:sns:us-east-1:54633:testTopic}} --message "Message"` +`aws dynamodb list-tables --region {{us-east-1}} --output yaml` -- AWS 명령어에 대한 도움말을 보려면: +- 명령에 대한 자동 프롬프트 사용: + +`aws iam create-user --cli-auto-prompt` + +- AWS 리소스에 대한 대화형 마법사 사용: + +`aws dynamodb wizard {{new_table}}` + +- JSON CLI 스켈레톤 생성 (인프라를 코드로 사용하는 데 유용): + +`aws dynamodb update-table --generate-cli-skeleton` + +- AWS 명령에 대한 도움말: `aws {{command}} help` diff --git a/pages.ko/common/awslogs.md b/pages.ko/common/awslogs.md new file mode 100644 index 00000000000000..ad0a0091b07e8a --- /dev/null +++ b/pages.ko/common/awslogs.md @@ -0,0 +1,24 @@ +# awslogs + +> Amazon CloudWatch 로그에서 그룹, 스트림 및 이벤트를 쿼리. +> 더 많은 정보: . + +- 로그 그룹 나열: + +`awslogs groups` + +- 지정된 그룹의 기존 스트림을 나열: + +`awslogs streams {{/var/log/syslog}}` + +- 1~2시간 전 사이에 지정된 그룹의 모든 스트림에 대한 로그를 가져옴: + +`awslogs get {{/var/log/syslog}} --start='{{2h ago}}' --end='{{1h ago}}'` + +- 특정 CloudWatch Logs 필터 패턴과 일치하는 로그 가져오기: + +`awslogs get {{/aws/lambda/my_lambda_group}} --filter-pattern='{{ERROR}}'` + +- 지정된 그룹의 모든 스트림에 대한 로그를 감시: + +`awslogs get {{/var/log/syslog}} ALL --watch` diff --git a/pages.ko/common/axel.md b/pages.ko/common/axel.md index e9e6023a97e5b2..682f2dd0d68958 100644 --- a/pages.ko/common/axel.md +++ b/pages.ko/common/axel.md @@ -1,7 +1,7 @@ # axel > 가속기를 다운로드 하십시오. HTTP, HTTPS, FTP를 지원합니다. -> 더 많은 정보: . +> 더 많은 정보: . - 파일로 URL 다운로드: diff --git a/pages.ko/common/az-account.md b/pages.ko/common/az-account.md new file mode 100644 index 00000000000000..d5245636034c8d --- /dev/null +++ b/pages.ko/common/az-account.md @@ -0,0 +1,25 @@ +# az account + +> Azure 구독 정보를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 로그인한 계정의 모든 구독을 나열: + +`az account list` + +- `구독`을 햔재 활성 구독으로 설정: + +`az account set --subscription {{구독_아이디}}` + +- 현재 활성 구독이 지원되는 지역을 나열: + +`az account list-locations` + +- `MS Graph API`와 함께 사용할 액세스 토큰을 인쇄: + +`az account get-access-token --resource-type {{ms-graph}}` + +- 현재 활성화된 구독의 세부 정보를 특정 형식으로 출력: + +`az account show --output {{json|tsv|table|yaml}}` diff --git a/pages.ko/common/az-acr.md b/pages.ko/common/az-acr.md new file mode 100644 index 00000000000000..547b699f16c820 --- /dev/null +++ b/pages.ko/common/az-acr.md @@ -0,0 +1,37 @@ +# az acr + +> Azure Container Registries를 사용해 프라이빗 레지스트리를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 관리형 컨테이너 레지스트리를 생성: + +`az acr create --name {{레지스트리_이름}} --resource-group {{리소스_그룹}} --sku {{sku}}` + +- 레지스트리에 로그인: + +`az acr login --name {{레지스트리_이름}}` + +- ACR용 로컬 이미지에 태그를 지정: + +`docker tag {{이미지_이름}} {{레지스트리_이름}}.azurecr.io/{{이미지_이름}}:{{태그}}` + +- 이미지를 레지스트리에 푸시: + +`docker push {{레지스트리_이름}}.azurecr.io/{{이미지_이름}}:{{태그}}` + +- 레지스트리에서 이미지를 가져옴: + +`docker pull {{레지스트리_이름}}.azurecr.io/{{이미지_이름}}:{{태그}}` + +- 레지스트리에서 이미지 삭제: + +`az acr repository delete --name {{레지스트리_이름}} --repository {{이미지_이름}}:{{태그}}` + +- 관리형 컨테이너 레지스트리를 삭제: + +`az acr delete --name {{레지스트리_이름}} --resource-group {{리소스_그룹}} --yes` + +- 레지스트리 내의 이미지 목록 나열: + +`az acr repository list --name {{레지스트리_이름}} --output table` diff --git a/pages.ko/common/az-advisor.md b/pages.ko/common/az-advisor.md new file mode 100644 index 00000000000000..f9579084500b52 --- /dev/null +++ b/pages.ko/common/az-advisor.md @@ -0,0 +1,25 @@ +# az advisor + +> Azure 구독 정보를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 전체 구독에 대한 Azure Advisor 구성을 나열: + +`az advisor configuration list` + +- 지정된 구독 또는 리소스 그룹에 대한 Azure Advisor 구성을 표시: + +`az advisor configuration show --resource_group {{리소스_그룹}}` + +- Azure Advisor 권장사항 나열: + +`az advisor recommendation list` + +- Azure Advisor 권장사항 활성화: + +`az advisor recommendation enable --resource_group {{리소스_그룹}}` + +- Azure Advisor 권장사항 비활성화: + +`az advisor recommendation disable --resource_group {{리소스_그룹}}` diff --git a/pages.ko/common/az-aks.md b/pages.ko/common/az-aks.md new file mode 100644 index 00000000000000..6788b12c432c49 --- /dev/null +++ b/pages.ko/common/az-aks.md @@ -0,0 +1,25 @@ +# az aks + +> Azure Kubernetes Service (AKS) 클러스터 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- AKS 클러스터 나열: + +`az aks list --resource-group {{리소스_그룹}}` + +- 새로운 AKS 클러스터 생성: + +`az aks create --resource-group {{리소스_그룹}} --name {{이름}} --node-count {{개수}} --node-vm-size {{크기}}` + +- AKS 클러스터 삭제: + +`az aks delete --resource-group {{리소스_그룹}} --name {{이름}}` + +- AKS 클러스터에 대한 접근 자격 증명을 가져옴: + +`az aks get-credentials --resource-group {{리소스_그룹}} --name {{이름}}` + +- AKS 클러스터에 사용할 수 있는 업그레이드 버전 가져오기: + +`az aks get-upgrades --resource-group {{리소스_그룹}} --name {{이름}}` diff --git a/pages.ko/common/az-apim.md b/pages.ko/common/az-apim.md new file mode 100644 index 00000000000000..451733884dac79 --- /dev/null +++ b/pages.ko/common/az-apim.md @@ -0,0 +1,25 @@ +# az apim + +> Azure API Management 서비스를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 리소스 그룹 내 API Management 서비스를 나열: + +`az apim list --resource-group {{리소스_그룹}}` + +- API Management 서비스 인스턴스 생성: + +`az apim create --name {{이름}} --resource-group {{리소스_그룹}} --publisher-email {{이메일}} --publisher-name {{이름}}` + +- API Management 서비스 삭제: + +`az apim delete --name {{이름}} --resource-group {{리소스_그룹}}` + +- API Management 서비스 인스턴스의 세부정보 표시: + +`az apim show --name {{이름}} --resource-group {{리소스_그룹}}` + +- API Management 서비스 인스턴스 업데이트: + +`az apim update --name {{이름}} --resource-group {{리소스_그룹}}` diff --git a/pages.ko/common/az-appconfig.md b/pages.ko/common/az-appconfig.md new file mode 100644 index 00000000000000..86960f1ebe2bfa --- /dev/null +++ b/pages.ko/common/az-appconfig.md @@ -0,0 +1,29 @@ +# az appconfig + +> Azure에서 앱 구성을 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 앱 구성 만들기: + +`az appconfig create --name {{이름}} --resource-group {{그룹_이름}} --location {{위치}}` + +- 특정 앱 구성 삭제: + +`az appconfig delete --resource-group {{리소스그룹_이름}} --name {{앱구성파일_이름}}` + +- 현재 구독 아래의 모든 앱 구성을 나열: + +`az appconfig list` + +- 특정 리소스 그룹 아래 모든 앱 구성을 나열: + +`az appconfig list --resource-group {{리소스그룹_이름}}` + +- 앱 구성의 속성 표시: + +`az appconfig show --name {{앱구성파일_이름}}` + +- 특정 앱 구성 업데이트: + +`az appconfig update --resource-group {{리소스그룹_이름}} --name {{앱구성파일_이름}}` diff --git a/pages.ko/common/az-bicep.md b/pages.ko/common/az-bicep.md new file mode 100644 index 00000000000000..fa4b5df2183624 --- /dev/null +++ b/pages.ko/common/az-bicep.md @@ -0,0 +1,33 @@ +# az bicep + +> Bicep CLI 명령어 집합. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- Bicep CLI 설치: + +`az bicep install` + +- Bicep 파일 빌드: + +`az bicep build --file {{경로/대상/파일.bicep}}` + +- ARM 템플릿 파일을 Bicep 파일로 디컴파일 하려고 시도: + +`az bicep decompile --file {{경로/대상/템플릿_파일.json}}` + +- Bicep CLI를 최신 버전으로 업그레이드: + +`az bicep upgrade` + +- 설치된 Bicep CLI 버전을 표시: + +`az bicep version` + +- 사용 가능한 모든 Bicep CLI 버전 나열: + +`az bicep list-versions` + +- Bicep CLI 설치 삭제: + +`az bicep uninstall` diff --git a/pages.ko/common/az-config.md b/pages.ko/common/az-config.md new file mode 100644 index 00000000000000..d44622806aa975 --- /dev/null +++ b/pages.ko/common/az-config.md @@ -0,0 +1,21 @@ +# az config + +> Azure CLI 구성을 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 모든 구성 설정을 출력: + +`az config get` + +- 특정 섹션에 대한 구성 설정 출력: + +`az config get {{섹션_이름}}` + +- 구성을 설정: + +`az config set {{구성_이름}}={{값}}` + +- 구성 설정을 해제: + +`az config unset {{구성_이름}}` diff --git a/pages.ko/common/az-devops.md b/pages.ko/common/az-devops.md new file mode 100644 index 00000000000000..ef03870b8c5e2b --- /dev/null +++ b/pages.ko/common/az-devops.md @@ -0,0 +1,25 @@ +# az devops + +> Azure DevOps 조직을 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 특정 조직에 로그인하려면 개인 액세스 토큰(PAT)을 설정: + +`az devops login --organization {{조직_url}}` + +- 브라우저에서 프로젝트를 열기: + +`az devops project show --project {{프로젝트_이름}} --open` + +- 특정 프로젝트에 참여하는 특정 팀의 구성원을 나열: + +`az devops team list-member --project {{프로젝트_이름}} --team {{팀_이름}}` + +- Azure DevOps CLI 현재 구성을 확인: + +`az devops configure --list` + +- 기본 프로젝트와 기본 조직을 설정하여 Azure DevOps CLI 동작을 구성: + +`az devops configure --defaults project={{프로젝트_이름}} organization={{조직_url}}` diff --git a/pages.ko/common/az-disk.md b/pages.ko/common/az-disk.md new file mode 100644 index 00000000000000..c370a763836805 --- /dev/null +++ b/pages.ko/common/az-disk.md @@ -0,0 +1,25 @@ +# az disk + +> Azure 관리 디스크를 관리. +> `azure-cli`의 일부(`az`라고도 함). +> 더 많은 정보: . + +- 관리 디스크 만들기: + +`az disk create --resource-group {{리소스_그룹}} --name {{디스크_이름}} --size-gb {{기가바이트_크기}}` + +- 리소스 그룹의 관리 디스크 나열: + +`az disk list --resource-group {{리소스_그룹}}` + +- 관리 디스크 삭제: + +`az disk delete --resource-group {{리소스_그룹}} --name {{디스크_이름}}` + +- 관리 디스크에 대한 읽기 또는 쓰기 액세스 권한 부여 (내보내기 용): + +`az disk grant-access --resource-group {{리소스_그룹}} --name {{디스크_이름}} --access-level {{Read|Write}} --duration-in-seconds {{초}}` + +- 디스크 사이즈 업데이트: + +`az disk update --resource-group {{리소스_그룹}} --name {{디스크_이름}} --size-gb {{새로운_기가바이트_크기}}` diff --git a/pages.ko/common/az-feedback.md b/pages.ko/common/az-feedback.md new file mode 100644 index 00000000000000..0d7c9144e5ecf2 --- /dev/null +++ b/pages.ko/common/az-feedback.md @@ -0,0 +1,9 @@ +# az feedback + +> Azure CLI 팀에 피드백을 전송. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- Azure CLI 팀에 피드백 보내기: + +`az feedback` diff --git a/pages.ko/common/az-group.md b/pages.ko/common/az-group.md new file mode 100644 index 00000000000000..12aa87be05019b --- /dev/null +++ b/pages.ko/common/az-group.md @@ -0,0 +1,21 @@ +# az group + +> 리소스 그룹 및 템플릿 배포를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 새로운 리소스 그룹 생성: + +`az group create --name {{이름}} --location {{위치}}` + +- 리소스 그룹이 있는지 확인: + +`az group exists --name {{이름}}` + +- 리소스 그룹 삭제: + +`az group delete --name {{이름}}` + +- 리소스 그룹의 조건이 충족될 때까지 기다림: + +`az group wait --name {{이름}} --{{created|deleted|exists|updated}}` diff --git a/pages.ko/common/az-image.md b/pages.ko/common/az-image.md new file mode 100644 index 00000000000000..de29db04157db3 --- /dev/null +++ b/pages.ko/common/az-image.md @@ -0,0 +1,25 @@ +# az image + +> Azure에서 사용자 지정 가상 머신 이미지를 관리. +> `azure-cli` (`az`라고도 함)의 일부. +> 더 많은 정보: . + +- 리소스 그룹 아래에 사용자 정의 이미지를 나열: + +`az image list --resource-group {{리소스_그룹}}` + +- 관리 디스크 또는 스냅샷에서 사용자 지정 이미지를 생성: + +`az image create --resource-group {{리소스_그룹}} --name {{이름}} --os-type {{windows|linux}} --source {{os_디스크_소스}}` + +- 사용자 정의 이미지 삭제: + +`az image delete --name {{이름}} --resource-group {{리소스_그룹}}` + +- 사용자 정의 이미지의 세부정보 표시: + +`az image show --name {{이름}} --resource-group {{리소스_그룹}}` + +- 사용자 정의 이미지 업데이트: + +`az image update --name {{이름}} --resource-group {{리소스_그룹}} --set {{property=value}}` diff --git a/pages.ko/common/az-lock.md b/pages.ko/common/az-lock.md new file mode 100644 index 00000000000000..6d0b380bf3d2b3 --- /dev/null +++ b/pages.ko/common/az-lock.md @@ -0,0 +1,29 @@ +# az lock + +> Azure 잠금 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 읽기 전용 구독 수준의 잠금을 생성: + +`az lock create --name {{잠금_이름}} --lock-type ReadOnly` + +- 읽기 전용 리소스 그룹 수준 잠금을 생성: + +`az lock create --name {{잠금_이름}} --resource-group {{그룹_이름}} --lock-type ReadOnly` + +- 구독 수준 잠금을 해제: + +`az lock delete --name {{잠금_이름}}` + +- 리소스 그룹 수준의 잠금을 삭제: + +`az lock delete --name {{잠금_이름}} --resource-group {{그룹_이름}}` + +- 구독 수준의 모든 잠금을 나열: + +`az lock list` + +- 특정 이름([n])으로 구독 수준 잠금 표시: + +`az lock show -n {{잠금_이름}}` diff --git a/pages.ko/common/az-logicapp.md b/pages.ko/common/az-logicapp.md new file mode 100644 index 00000000000000..a932d03985f079 --- /dev/null +++ b/pages.ko/common/az-logicapp.md @@ -0,0 +1,29 @@ +# az logicapp + +> Azure Cloud Services에서 논리 앱을 관리. +> `azure-cli` (`az`라고도 함)의 일부. +> 더 많은 정보: . + +- 논리 앱 만들기: + +`az logicapp create --name {{이름}} --resource-group {{리소스_그룹}} --storage-account {{스토리지_계정}}` + +- 논리 앱 삭제: + +`az logicapp delete --name {{이름}} --resource-group {{리소스_그룹}}` + +- 논리 앱 나열: + +`az logicapp list --resource-group {{리소스_그룹}}` + +- 논리 앱을 다시 시작: + +`az logicapp restart --name {{이름}} --resource-group {{리소스_그룹}}` + +- 논리 앱을 시작: + +`az logicapp start --name {{이름}} --resource-group {{리소스_그룹}}` + +- 논리 앱을 중지: + +`az logicapp stop --name {{이름}} --resource-group {{리소스_그룹}}` diff --git a/pages.ko/common/az-login.md b/pages.ko/common/az-login.md new file mode 100644 index 00000000000000..6703ddd50eff13 --- /dev/null +++ b/pages.ko/common/az-login.md @@ -0,0 +1,25 @@ +# az login + +> Azure에 로그인. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 대화형으로 로그인: + +`az login` + +- 클라이언트 암호를 사용하여 서비스 주체로 로그인: + +`az login --service-principal --username {{http://azure-cli-service-principal}} --password {{비밀}} --tenant {{someone.onmicrosoft.com}}` + +- 클라이언트 인증서를 사용하여 서비스 주체로 로그인: + +`az login --service-principal --username {{http://azure-cli-service-principal}} --password {{경로/대상/cert.pem}} --tenant {{someone.onmicrosoft.com}}` + +- VM의 시스템 할당 ID를 사용하여 로그인: + +`az login --identity` + +- VM의 사용자 할당 ID를 사용하여 로그인: + +`az login --identity --username /subscriptions/{{구독_아이디}}/resourcegroups/{{나의_리소스그룹}}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{{나의_아이디}}` diff --git a/pages.ko/common/az-logout.md b/pages.ko/common/az-logout.md new file mode 100644 index 00000000000000..9be084bb6a49a9 --- /dev/null +++ b/pages.ko/common/az-logout.md @@ -0,0 +1,13 @@ +# az logout + +> Azure 구독에서 로그아웃. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 활성 계정에서 로그아웃: + +`az logout` + +- 특정 사용자 이름을 로그아웃: + +`az logout --username {{alias@somedomain.com}}` diff --git a/pages.ko/common/az-network.md b/pages.ko/common/az-network.md new file mode 100644 index 00000000000000..a17d5868fcc6f4 --- /dev/null +++ b/pages.ko/common/az-network.md @@ -0,0 +1,21 @@ +# az network + +> Azure 네트워크 리소스를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 구독 할당량에 대해 사용되는 지역의 네트워크 리소스 목록을 나열: + +`az network list-usages` + +- 구독의 모든 가상 네트워크를 나열: + +`az network vnet list` + +- 가상 네트워크 만들기: + +`az network vnet create --address-prefixes {{10.0.0.0/16}} --name {{가상네트워크}} --resource_group {{그룹_이름}} --submet-name {{서브넷}} --subnet-prefixes {{10.0.0.0/24}}` + +- 네트워크 인터페이스 카드에 대한 가속화된 네트워킹 활성화: + +`az network nic update --accelerated-networking true --name {{네트워크_인터페이스_카드}} --resource-group {{리소스_그룹}}` diff --git a/pages.ko/common/az-pipelines.md b/pages.ko/common/az-pipelines.md new file mode 100644 index 00000000000000..dcad036cac0c2b --- /dev/null +++ b/pages.ko/common/az-pipelines.md @@ -0,0 +1,33 @@ +# az pipelines + +> Azure Pipelines 리소스를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 새로운 Azure 파이프라인(YAML 기반)을 생성: + +`az pipelines create --org {{조직_url}} --project {{프로젝트_이름}} --name {{파이프라인_이름}} --description {{구독}} --repository {{레포지토리_이름}} --branch {{브랜치_이름}}` + +- 특정 파이프라인 삭제: + +`az pipelines delete --org {{조직_url}} --project {{프로젝트_이름}} --id {{파이프라인_아이디}}` + +- 파이프라인 나열: + +`az pipelines list --org {{조직_url}} --project {{프로젝트_이름}}` + +- 실행할 특정 파이프라인을 대기열에 추가: + +`az pipelines run --org {{organization_url}} --project {{프로젝트_이름}} --name {{파이프라인_이름}}` + +- 특정 파이프라인의 세부정보를 가져옴: + +`az pipelines show --org {{조직_url}} --project {{프로젝트_이름}} --name {{파이프라인_이름}}` + +- 특정 파이프라인 업데이트: + +`az pipelines update --org {{조직_url}} --project {{프로젝트_이름}} --name {{파이프라인_이름}} --new-name {{새로운_파이프라인_이름}} --new-folder-path {{user1/production_pipelines}}` + +- 풀의 모든 에이전트를 나열: + +`az pipelines agent list --org {{조직_url}} --pool-id {{agent_pool}}` diff --git a/pages.ko/common/az-provider.md b/pages.ko/common/az-provider.md new file mode 100644 index 00000000000000..de4bf48b52db24 --- /dev/null +++ b/pages.ko/common/az-provider.md @@ -0,0 +1,25 @@ +# az provider + +> 리소스 공급자 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 공급자 등록: + +`az provider register --namespace {{Microsoft.PolicyInsights}}` + +- 공급자 등록 취소: + +`az provider unregister --namespace {{Microsoft.Automation}}` + +- 구독에 대한 모든 공급자를 나열: + +`az provider list` + +- 특정 공급업체에 대한 정보를 표시: + +`az provider show --namespace {{Microsoft.Storage}}` + +- 특정 공급자에 대한 모든 리소스 유형을 나열: + +`az provider list --query "[?namespace=='{{Microsoft.Network}}'].resourceTypes[].resourceType"` diff --git a/pages.ko/common/az-redis.md b/pages.ko/common/az-redis.md new file mode 100644 index 00000000000000..79f25b208beeae --- /dev/null +++ b/pages.ko/common/az-redis.md @@ -0,0 +1,21 @@ +# az redis + +> Redis 캐시 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 새로운 Redis 캐시 인스턴스를 생성: + +`az redis create --location {{위치}} --name {{이름}} --resource-group {{리소스_그룹}} --sku {{Basic|Premium|Standard}} --vm-size {{c0|c1|c2|c3|c4|c5|c6|p1|p2|p3|p4|p5}}` + +- Redis 캐시 업데이트: + +`az redis update --name {{이름}} --resource-group {{리소스_그룹}} --sku {{Basic|Premium|Standard}} --vm-size {{c0|c1|c2|c3|c4|c5|c6|p1|p2|p3|p4|p5}}` + +- Redis 캐시에 저장된 데이터 내보내기: + +`az redis export --container {{컨테이너}} --file-format {{파일-포맷}} --name {{이름}} --prefix {{접두사}} --resource-group {{리소스_그룹}}` + +- Redis 캐시 삭제: + +`az redis delete --name {{이름}} --resource-group {{리소스_그룹}} --yes` diff --git a/pages.ko/common/az-repos.md b/pages.ko/common/az-repos.md new file mode 100644 index 00000000000000..dc99f77d61eae4 --- /dev/null +++ b/pages.ko/common/az-repos.md @@ -0,0 +1,21 @@ +# az repos + +> Azure DevOps 레포지토리를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 특정 프로젝트의 모든 저장소 나열: + +`az repos list --project {{프로젝트_이름}}` + +- 특정 저장소의 특정 분기에 정책을 추가해, 기본 병합을 제한: + +`az repos policy merge-strategy create --repository-id {{저장소_목록_내부_레포지토리}} --branch {{브랜치_이름}} --blocking --enabled --allow-no-fast-forward false --allow-rebase true --allow-rebase-merge true --allow-squash true` + +- 소스 업데이트 할때 자동으로 추적되도록 기존 빌드 파이프라인을 사용하여, 특정 저장소에 빌드 유효성 검사를 추가: + +`az repos policy build create --repository-id {{레포지토리_아이디}} --build-definition-id {{빌드_파이프라인_아이디}} --branch main --blocking --enabled --queue-on-source-update-only true --display-name {{이름}} --valid-duration {{분}}` + +- 특정 프로젝트 내의 특정 저장소의 모든 활성 끌어오기 요청을 나열: + +`az repos pr list --project {{프로젝트_이름}} --repository {{레포지토리_이름}} --status active` diff --git a/pages.ko/common/az-serial-console.md b/pages.ko/common/az-serial-console.md new file mode 100644 index 00000000000000..e6469d6bcd23ca --- /dev/null +++ b/pages.ko/common/az-serial-console.md @@ -0,0 +1,13 @@ +# az serial-console + +> 가상 머신의 직렬 콘솔에 연결. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 직렬 콘솔에 연결: + +`az serial-console connect --resource-group {{리소스_그룹_이름}} --name {{가상_머신_이름}}` + +- 연결을 종료: + +`` diff --git a/pages.ko/common/az-sshkey.md b/pages.ko/common/az-sshkey.md new file mode 100644 index 00000000000000..c3ea301babe3eb --- /dev/null +++ b/pages.ko/common/az-sshkey.md @@ -0,0 +1,21 @@ +# az sshkey + +> 가상 머신으로 SSH 공개 키를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 새로운 SSH 키를 생성: + +`az sshkey create --name {{이름}} --resource-group {{리소스_그룹}}` + +- 기존 SSH 키 업로드: + +`az sshkey create --name {{이름}} --resource-group {{리소스_그룹}} --public-key "{{@path/to/key.pub}}"` + +- 모든 SSH 공개 키를 나열: + +`az sshkey list` + +- SSH 공개 키를 대한 정보 표시: + +`az sshkey show --name {{이름}} --resource-group {{리소스_그룹}}` diff --git a/pages.ko/common/az-storage-account.md b/pages.ko/common/az-storage-account.md new file mode 100644 index 00000000000000..4c2684f78d7280 --- /dev/null +++ b/pages.ko/common/az-storage-account.md @@ -0,0 +1,21 @@ +# az storage account + +> Azure에서 스토리지 계정을 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 스토리지 계정 생성: + +`az storage account create --name {{스토리지_계정_이름}} --resource-group {{azure_리소스_그룹}} --location {{azure_위치}} --sku {{storage_account_sku}}` + +- 특정 스토리지 계정에 대한 공유 액세스 서명을 생성: + +`az storage account generate-sas --account-name {{스토리지_계정_이름}} --name {{계정_이름}} --permissions {{sas_permissions}} --expiry {{만료_날짜}} --services {{스토리지_서비스}} --resource-types {{리소스_타입}}` + +- 스토리지 계정 나열: + +`az storage account list --resource-group {{azure_리소스_그룹}}` + +- 특정 저장소 계정 삭제: + +`az storage account delete --name {{스토리지_계정_이름}} --resource-group {{azure_리소스_그룹}}` diff --git a/pages.ko/common/az-storage-blob.md b/pages.ko/common/az-storage-blob.md new file mode 100644 index 00000000000000..3d4d96a702cac4 --- /dev/null +++ b/pages.ko/common/az-storage-blob.md @@ -0,0 +1,25 @@ +# az storage blob + +> Azure에서 blob 저장소 컨테이너 및 개체를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 소스([s]ource) 컨테이너를 지정하는 파일([f]ile) 경로에 blob를 다운로드: + +`az storage blob download --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}} -c {{컨테이너_이름}} -n {{경로/대상/blob}} -f {{경로/대상/로컬_파일}}` + +- blob 컨테이너에서 blob을 재귀적으로 다운로드([d]ownload): + +`az storage blob download-batch --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}} -s {{컨테이너_이름}} -d {{경로/대상/remote}} --pattern {{파일이름_정규표현식}} --destination {{경로/대상/목적지}}` + +- blob 스토리지에 로컬 파일을 업로드: + +`az storage blob upload --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}} -c {{컨테이너_이름}} -n {{경로/대상/blob}} -f {{경로/대상/로컬_파일}}` + +- blob 객체 삭제: + +`az storage blob delete --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}} -c {{컨테이너_이름}} -n {{경로/대상/blob}}` + +- blob에 대한 공유 액세스 서명을 생성: + +`az storage blob generate-sas --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}} -c {{컨테이너_이름}} -n {{경로/대상/blob}} --permissions {{permission_set}} --expiry {{Y-m-d'T'H:M'Z'}} --https-only` diff --git a/pages.ko/common/az-storage-container.md b/pages.ko/common/az-storage-container.md new file mode 100644 index 00000000000000..6cc14bd0ad6a13 --- /dev/null +++ b/pages.ko/common/az-storage-container.md @@ -0,0 +1,21 @@ +# az storage container + +> Azure에서 blob 저장소 컨테이너를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 스토리지 계정에 컨테이너를 생성: + +`az storage container create --account-name {{스토리지_계정_이름}} --name {{컨테이너_이름}} --public-access {{접근_레벨}} --fail-on-exist` + +- 컨테이너에 대한 공유 액세스 서명을 생성: + +`az storage container generate-sas --account-name {{스토리지_계정_이름}} --name {{컨테이너_이름}} --permissions {{sas_permissions}} --expiry {{만료_날짜}} --https-only` + +- 스토리지 계정의 컨테이너를 나열: + +`az storage container list --account-name {{스토리지_계정_이름}} --prefix {{필터_접두사}}` + +- 지정된 컨테이너를 삭제하도록 표시: + +`az storage container delete --account-name {{스토리지_계정_이름}} --name {{컨테이너_이름}} --fail-not-exist` diff --git a/pages.ko/common/az-storage-entity.md b/pages.ko/common/az-storage-entity.md new file mode 100644 index 00000000000000..f919c8822a0883 --- /dev/null +++ b/pages.ko/common/az-storage-entity.md @@ -0,0 +1,25 @@ +# az storage entity + +> Azure Table storage 엔티티를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 테이블에 엔터티를 삽입: + +`az storage entity insert --entity {{space_separated_key_value_pairs}} --table-name {{테이블_이름}} --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}}` + +- 테이블에서 기존 엔터티를 삭제: + +`az storage entity delete --partition-key {{파티션_키}} --row-key {{행_키}} --table-name {{테이블_이름}} --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}}` + +- 해당 속성을 병합하여 기존 엔터티를 업데이트: + +`az storage entity merge --entity {{space_separated_key_value_pairs}} --table-name {{테이블_이름}} --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}}` + +- 쿼리를 만족하는 항목을 나열: + +`az storage entity query --filter {{쿼리_필터}} --table-name {{테이블_이름}} --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}}` + +- 지정된 테이블에서 엔터티를 가져옴: + +`az storage entity show --partition-key {{파티션_키}} --row-key {{행_키}} --table-name {{테이블_이름}} --account-name {{스토리지_계정_이름}} --account-key {{스토리지_계정_키}}` diff --git a/pages.ko/common/az-storage-queue.md b/pages.ko/common/az-storage-queue.md new file mode 100644 index 00000000000000..6d300d1b284961 --- /dev/null +++ b/pages.ko/common/az-storage-queue.md @@ -0,0 +1,21 @@ +# az storage queue + +> Azure에서 스토리지 큐를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 큐 생성: + +`az storage queue create --account-name {{스토리지_계정_이름}} --name {{큐_이름}} --metadata {{큐_메타데이터}}` + +- 큐에 대한 공유 액세스 서명을 생성: + +`az storage queue generate-sas --account-name {{스토리지_계정_이름}} --name {{큐_이름}} --permissions {{큐_권한}} --expiry {{만료_날짜}} --https-only` + +- 스토리지 계정의 큐 나열: + +`az storage queue list --prefix {{필터_접두사}} --account-name {{스토리지_계정_이름}}` + +- 지정된 대기열과 포함된 모든 메시지를 삭제: + +`az storage queue delete --account-name {{스토리지_계정_이름}} --name {{큐_이름}} --fail-not-exist` diff --git a/pages.ko/common/az-storage-table.md b/pages.ko/common/az-storage-table.md new file mode 100644 index 00000000000000..9dac91261014b5 --- /dev/null +++ b/pages.ko/common/az-storage-table.md @@ -0,0 +1,21 @@ +# az storage table + +> Azure에서 NoSQL 키-값 스토리지를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 스토리지 계정에 새 테이블을 만듬: + +`az storage table create --account-name {{스토리지_계정_이름}} --name {{테이블_이름}} --fail-on-exist` + +- 테이블에 대한 공유 액세스 서명을 공유: + +`az storage table generate-sas --account-name {{스토리지_계정_이름}} --name {{테이블_이름}} --permissions {{sas_permissions}} --expiry {{만료_날짜}} --https-only` + +- 스토리지 계정의 테이블 나열: + +`az storage table list --account-name {{스토리지_계정_이름}}` + +- 지정된 테이블과 여기에 포함된 모든 데이터를 삭제: + +`az storage table delete --account-name {{스토리지_계정_이름}} --name {{테이블_이름}} --fail-not-exist` diff --git a/pages.ko/common/az-storage.md b/pages.ko/common/az-storage.md new file mode 100644 index 00000000000000..e98c1d9f7e268f --- /dev/null +++ b/pages.ko/common/az-storage.md @@ -0,0 +1,25 @@ +# az storage + +> Azure Cloud Storage 리소스를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 위치([l]ocation)를 지정하는 스토리지 계정을 생성: + +`az storage account create --resource-group {{그룹_이름}} --name {{계정_이름}} -l {{위치}} --sku {{account_sku}}` + +- 리소스 그룹의 모든 스토리지 게정을 나열: + +`az storage account list --resource-group {{그룹_이름}}` + +- 스토리지 계정에 대한 액세스 키를 나열: + +`az storage account keys list --resource-group {{그룹_이름}} --name {{계정_이름}}` + +- 스토리지 계정 삭제: + +`az storage account delete --resource-group {{그룹_이름}} --name {{계정_이름}}` + +- 스토리지 계정에 대한 최소 TLS 버전 설정을 업데이트: + +`az storage account update --min-tls-version {{TLS1_0|TLS1_1|TLS1_2}} --resource-group {{그룹_이름}} --name {{계정_이름}}` diff --git a/pages.ko/common/az-tag.md b/pages.ko/common/az-tag.md new file mode 100644 index 00000000000000..f290be0793ff80 --- /dev/null +++ b/pages.ko/common/az-tag.md @@ -0,0 +1,25 @@ +# az tag + +> 리소스에 대한 태그를 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 태그 값 생성: + +`az tag add-value --name {{태그_이름}} --value {{태그_값}}` + +- 구독에서 태그를 생성: + +`az tag create --name {{태그_이름}}` + +- 구독에서 태그를 삭제: + +`az tag delete --name {{태그_이름}}` + +- 구독의 모든 태그 나열: + +`az tag list --resource-id /subscriptions/{{구독_아이디}}` + +- 특정 태그 이름에 대한 태그 값 삭제: + +`az tag remove-value --name {{태그_이름}} --value {{태그_값}}` diff --git a/pages.ko/common/az-term.md b/pages.ko/common/az-term.md new file mode 100644 index 00000000000000..b25ab45f4cffc7 --- /dev/null +++ b/pages.ko/common/az-term.md @@ -0,0 +1,13 @@ +# az term + +> 마켓플레이스주문을 통해 마켓플레이스 계약을 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 마켓플레이스 약관 인쇄: + +`az term show --product "{{제품_식별자}}" --plan "{{플랜_식별자}}" --publisher "{{배포_식별자}}"` + +- 마켓플레이스 약관에 동의: + +`az term accept --product "{{제품_식별자}}" --plan "{{플랜_식별자}}" --publisher "{{배포_식별자}}"` diff --git a/pages.ko/common/az-upgrade.md b/pages.ko/common/az-upgrade.md new file mode 100644 index 00000000000000..9912980fa88164 --- /dev/null +++ b/pages.ko/common/az-upgrade.md @@ -0,0 +1,17 @@ +# az upgrade + +> Azure CLI 및 확장을 업그레이드. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- Azure CLI 업그레이드: + +`az upgrade` + +- Azure CLI 및 확장을 업그레이드: + +`az upgrade --all` + +- 확인 메시지를 표시하지 않고 Azure CLI 및 확장을 업그레이드: + +`az upgrade --all --yes` diff --git a/pages.ko/common/az-version.md b/pages.ko/common/az-version.md new file mode 100644 index 00000000000000..843dbf6c4373ee --- /dev/null +++ b/pages.ko/common/az-version.md @@ -0,0 +1,13 @@ +# az version + +> Azure CLI 모듈 및 확장의 현재 버전을 표시. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- Azure CLI 모듈 및 확장의 현재 버전을 JSON 형식으로 표시: + +`az version` + +- Azure CLI 모듈 및 확장의 현재 버전을 지정된 형식으로 표시: + +`az version --output {{json|table|tsv}}` diff --git a/pages.ko/common/az-vm.md b/pages.ko/common/az-vm.md new file mode 100644 index 00000000000000..60c89e2cec28b1 --- /dev/null +++ b/pages.ko/common/az-vm.md @@ -0,0 +1,33 @@ +# az vm + +> Azure에서 가상 머신을 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 사용 가능한 가상 머신의 세부 정보 나열: + +`az vm list` + +- 기본 Ubuntu 이미지를 사용하여 가상 머신을 생성하고 SSH 키를 생성: + +`az vm create --resource-group {{리소스그룹}} --name {{가상머신_이름}} --image {{UbuntuLTS}} --admin-user {{azureuser}} --generate-ssh-keys` + +- 가상 머신 정지: + +`az vm stop --resource-group {{리소스그룹}} --name {{가상머신_이름}}` + +- 가상 머신 할당 해제: + +`az vm deallocate --resource-group {{리소스그룹}} --name {{가상머신_이름}}` + +- 가상 머신 시작: + +`az vm start --resource-group {{리소스그룹}} --name {{vm_name}}` + +- 가상 머신 재시작: + +`az vm restart --resource-group {{리소스그룹}} --name {{가상머신_이름}}` + +- Azure Marketplace에서 사용할 수 있는 VM 이미지를 나열: + +`az vm image list` diff --git a/pages.ko/common/az-webapp.md b/pages.ko/common/az-webapp.md new file mode 100644 index 00000000000000..e81f9f15c47b28 --- /dev/null +++ b/pages.ko/common/az-webapp.md @@ -0,0 +1,21 @@ +# az webapp + +> Azure Cloud Services에서 호스팅되는 웹 애플리케이션을 관리. +> `azure-cli`의 일부 (`az`라고도 함). +> 더 많은 정보: . + +- 웹 애플리케이션에 사용 가능한 런타임 나열: + +`az webapp list-runtimes --os-type {{windows|linux}}` + +- 웹 애플리케이션 생성: + +`az webapp up --name {{이름}} --location {{위치}} --runtime {{런타임}}` + +- 모든 웹 애플리케이션 나열: + +`az webapp list` + +- 특정 웹 애플리케이션 삭제: + +`az webapp delete --name {{이름}} --resource-group {{리소스_그룹}}` diff --git a/pages.ko/common/az.md b/pages.ko/common/az.md index 8437b86f5d1cf9..2ef5896e39c2b1 100644 --- a/pages.ko/common/az.md +++ b/pages.ko/common/az.md @@ -1,7 +1,8 @@ # az > Microsoft Azure의 공식 CLI tool입니다. -> 더 많은 정보: . +> `login`과 같은 하위 명령어는 자체 사용법 문서가 존재. +> 더 많은 정보: . - Azure에 로그인: @@ -26,3 +27,11 @@ - Azure 네트워크 리소스 관리: `az network` + +- 대화형으로 시작: + +`az interactive` + +- 도움말 표시: + +`az --help` diff --git a/pages.ko/common/azure-cli.md b/pages.ko/common/azure-cli.md new file mode 100644 index 00000000000000..a096d59f489304 --- /dev/null +++ b/pages.ko/common/azure-cli.md @@ -0,0 +1,7 @@ +# azure-cli + +> 이 명령은 `az`의 별칭. + +- 원래 명령에 대한 문서를 보기: + +`tldr az` diff --git a/pages.ko/common/azurite.md b/pages.ko/common/azurite.md new file mode 100644 index 00000000000000..bf68ff5d2a969d --- /dev/null +++ b/pages.ko/common/azurite.md @@ -0,0 +1,24 @@ +# azurite + +> 로컬 환경의 Azure Storage API 호환 서버 (에뮬레이터). +> 더 많은 정보: . + +- 기존 위치를 작업공간 경로로 사용: + +`azurite {{[-l|--location]}} {{경로/대상/디렉터리}}` + +- 콘솔에 표시된 액세스 로그를 비활성화: + +`azurite {{[-s|--silent]}}` + +- 파일 경로를 로그 대상으로 제공하여, 디버그 로그를 활성화: + +`azurite {{[-d|--debug]}} {{경로/대상/debug.log}}` + +- Blob/Queue/Table 서비스의 수신 주소를 사용자 정의: + +`azurite {{--blobHost|--queueHost|--tableHost}} {{0.0.0.0}}` + +- Blob/Queue/Table 서비스의 수신 포트를 사용자 정의: + +`azurite {{--blobPort|--queuePort|--tablePort}} {{8888}}` diff --git a/pages.ko/common/b2.md b/pages.ko/common/b2.md new file mode 100644 index 00000000000000..ce4048ae565118 --- /dev/null +++ b/pages.ko/common/b2.md @@ -0,0 +1,36 @@ +# b2 + +> Backblaze B2 Cloud Storage의 모든 기능에 쉽게 액세스할 수 있음. +> 더 많은 정보: . + +- 귀하의 계정에 접속: + +`b2 authorize_account {{키_아이디}}` + +- 게정의 기존 버킷을 나열: + +`b2 list_buckets` + +- 버킷을 생성하고, 버킷 이름과 액세스 유형 (예, allPublic 또는 allPrivate을 제공): + +`b2 create_bucket {{버킷_이름}} {{allPublic|allPrivate}}` + +- 파일 업로드, 파일, 버킷, 폴더를 선택: + +`b2 upload_file {{버킷_이름}} {{경로/대상/파일}} {{폴더_이름}}` + +- Backblaze B2 버킷 대상에 소스 디렉터리를 업로드: + +`b2 sync {{경로/대상/소스_파일}} {{버킷_이름}}` + +- 한 버킷에서 다른 버킷으로 파일을 복사: + +`b2 copy-file-by-id {{경로/대상/소스_파일_아이디}} {{목적지_버킷_이름}} {{경로/대상/b2_file}}` + +- 버킷에 있는 파일을 표시: + +`b2 ls {{버킷_이름}}` + +- 패턴과 일치하는 "폴더" 또는 파일 집합을 제거: + +`b2 rm {{경로/대상/폴더|pattern}}` diff --git a/pages.ko/common/b2sum.md b/pages.ko/common/b2sum.md index ff06eda06abe66..9833db3f5db874 100644 --- a/pages.ko/common/b2sum.md +++ b/pages.ko/common/b2sum.md @@ -1,20 +1,28 @@ # b2sum -> BLACK2 암호화 체크섬을 계산하십시오. -> 더 많은 정보: . +> BLACK2 암호화 체크섬을 계산. +> 더 많은 정보: . -- 파일의 BLACKE2 체크섬 계산: +- 하나 이상의 파일에 대해 BLAKE2 체크섬을 계산: -`b2sum {{filename1}}` +`b2sum {{경로/대상/파일1 경로/대상/파일2 ...}}` -- 여러 파일의 BLACKE2 체크섬 계산: +- BLAKE2 체크섬 목록을 계산하고 파일에 저장: -`b2sum {{filename1}} {{filename2}}` +`b2sum {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.b2}}` -- BLAKE2 합계 파일 및 파일 이름을 읽고 모든 파일에 일치하는 체크섬이 있는지 확인: +- `stdin`에서 BLAKE2 체크섬을 계산: -`b2sum -c {{filename.b2}}` +`{{command}} | b2sum` -- `stdin`에서 BLACK2 체크섬 계산: +- BLAKE2 합계 및 파일이름의 파일을 읽고 모든 파일에 일치하는 체크섬을 확인: -`{{somecommand}} | b2sum` +`b2sum --check {{경로/대상/파일.b2}}` + +- 누락된 파일이 있거나 확인에 실패한 경우에만 메시지를 표시: + +`b2sum --check --quiet {{경로/대상/파일.b2}}` + +- 누락된 파일은 무시하고, 확인에 실패한 경우에만 메시지를 표시: + +`b2sum --ignore-missing --check --quiet {{경로/대상/파일.b2}}` diff --git a/pages.ko/common/b3sum.md b/pages.ko/common/b3sum.md new file mode 100644 index 00000000000000..f37e57716d6209 --- /dev/null +++ b/pages.ko/common/b3sum.md @@ -0,0 +1,24 @@ +# b3sum + +> BLAKE3 암호화 체크섬을 계산. +> 더 많은 정보: . + +- 하나 이상의 파일에 대한 BLAKE3 체크섬을 계산: + +`b3sum {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- BLAKE3 체크섬 목록을 게산하고 파일에 저장: + +`b3sum {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.b3}}` + +- `stdin`에서 BLAKE3 체크섬을 계산: + +`{{명령어}} | b3sum` + +- BLAKE3 합계 및 파일 이름이 포함된 파일을 읽고, 모든 파일에 일치하는 체크섬이 있는지 확인: + +`b3sum --check {{경로/대상/파일.b3}}` + +- 누락된 파일이 있거나 확인에 실패한 경우에만 메시지를 표시: + +`b3sum --check --quiet {{경로/대상/파일.b3}}` diff --git a/pages.ko/common/babel.md b/pages.ko/common/babel.md index f5521331d1c9c7..ef2a637586fb13 100644 --- a/pages.ko/common/babel.md +++ b/pages.ko/common/babel.md @@ -1,9 +1,9 @@ # babel -> 코드를 JavaScript ES6/ES7문법에서 ES5문법으로 변환하는 변환기입니다. +> 코드를 JavaScript ES6/ES7 문법에서 ES5 문법으로 변환하는 변환기입니다. > 더 많은 정보: . -- 지정된 입력 파일을 변환하고 `stdout'으로 출력: +- 지정된 입력 파일을 변환하고 ``stdout`'으로 출력: `babel {{path/to/file}}` @@ -11,7 +11,7 @@ `babel {{path/to/input_file}} --out-file {{path/to/output_file}}` -- 입력 파일이 변경 될 때마다 변환: +- 입력 파일이 변경될 때마다 변환: `babel {{path/to/input_file}} --watch` @@ -19,11 +19,11 @@ `babel {{path/to/input_directory}}` -- 디렉토리에서 지정된 쉼표로 구분 된 파일 무시: +- 디렉토리에서 지정된 쉼표로 구분된 파일 무시: `babel {{path/to/input_directory}} --ignore {{ignored_files}}` -- 축소 된 JavaScript로 변환 및 출력: +- 축소된 JavaScript로 변환 및 출력: `babel {{path/to/input_file}} --minified` diff --git a/pages.ko/common/babeld.md b/pages.ko/common/babeld.md new file mode 100644 index 00000000000000..9bf908ed972f36 --- /dev/null +++ b/pages.ko/common/babeld.md @@ -0,0 +1,20 @@ +# babeld + +> 방화벽-스타일 필터를 사용하는 Babel용 라우팅 데몬입니다. +> 더 많은 정보: . + +- 하나 이상의 구성([c]onfiguration) 파일을 사용하여 데몬을 시작 (순서대로 읽음): + +`babeld -c {{경로/대상/ports.conf}} -c {{경로/대상/filters.conf}} -c {{경로/대상/interfaces.conf}}` + +- 시작 후 데몬화([D]eamonize): + +`babeld -D` + +- 구성([C]onfiguration) 명령어를 지정: + +`babeld -C {{'redistribute metric 256'}}` + +- 작동할 인터페이스를 지정: + +`babeld {{eth0}} {{eth1}} {{wlan0}}` diff --git a/pages.ko/common/badblocks.md b/pages.ko/common/badblocks.md index c2628457792803..cdd7e7e0c81191 100644 --- a/pages.ko/common/badblocks.md +++ b/pages.ko/common/badblocks.md @@ -1,16 +1,29 @@ # badblocks -> 불량 블록이 있는지 장치를 검사하십시오. -> 불량 블록을 사용하면 파티션 테이블을 포함하여 디스크의 모든 데이터를 지우는 등의 파괴적인 작업이 발생할 수 있습니다. +> 장치에서 불량 블록을 검색. +> 일부 불량 블록 사용은 파티션 테이블을 포함해 디스크의 모든 데이터를 지우는 등 돌이킬 수 없는 작업 유발 가능. +> 더 많은 정보: . -- 비파괴 읽기 전용 테스트를 사용하여 디스크에서 불량 블록을 검사: +- 비파괴 읽기 전용 테스트를 사용하여 디스크에서 불량 블록을 검색: -`sudo badblocks {{/dev/sda}}` +`sudo badblocks {{/dev/sdX}}` -- 비파괴 읽기-쓰기 테스트로 마운트되지 않은 디스크에서 불량 블록이 있는지 검사: +- 비파괴([n]on-destructive) 읽기-쓰기 테스트를 통해 마운트 해제된 디스크에서 불량 블록을 검색: -`sudo badblocks -n {{/dev/sda}}` +`sudo badblocks -n {{/dev/sdX}}` -- 파괴 쓰기 테스트로 마운드되지 않은 디스크에서 불량 블록이 있는지 검사: +- 파괴적인 쓰기([w]rite) 테스트를 통해 마운트되지 않은 디스크에서 불량 블록을 검색: -`sudo badblocks -w {{/dev/sda}}` +`sudo badblocks -w {{/dev/sdX}}` + +- 파괴적인 쓰기([w]rite) 테스트를 사용하고 상세하게 진행([s]how [v]erbose): + +`sudo badblocks -svw {{/dev/sdX}}` + +- 파괴적인 모드에선, 발견된 블록을 파일로 출력([o]utput): + +`sudo badblocks -o {{path/to/file}} -w {{/dev/sdX}}` + +- 4K 블록([b]lock) 크기 및 64K 블록 수([c]ount)를 사용하여 속도가 향상된 파괴 모드를 사용: + +`sudo badblocks -w -b {{4096}} -c {{65536}} {{/dev/sdX}}` diff --git a/pages.ko/common/bandwhich.md b/pages.ko/common/bandwhich.md new file mode 100644 index 00000000000000..850c1064a22cc8 --- /dev/null +++ b/pages.ko/common/bandwhich.md @@ -0,0 +1,24 @@ +# bandwhich + +> 프로세스, 연결 또는 원격 IP/호스트 이름별로 현재 네트워크 사용량을 표시. +> 더 많은 정보: . + +- 원격 주소 테이블만 표시: + +`bandwhich {{[-a|--addresses]}}` + +- DNS 쿼리 표시: + +`bandwhich {{[-s|--show-dns]}}` + +- 총 (누적) 사용량 표시: + +`bandwhich {{[-t|--total-utilization]}}` + +- 특정 네트워크 인터페이스에 대한 네트워크 활용도를 표시: + +`bandwhich {{[-i|--interface]}} {{eth0}}` + +- 특정 DNS 서버로 DNS 쿼리를 표시: + +`bandwhich {{[-s|--show-dns]}} {{[-d|--dns-server]}} {{dns_서버_ip}}` diff --git a/pages.ko/common/banner.md b/pages.ko/common/banner.md index 79c84d929196ed..8c7a7bb0e2250f 100644 --- a/pages.ko/common/banner.md +++ b/pages.ko/common/banner.md @@ -1,6 +1,7 @@ # banner > 주어진 인자를 큰 ASCII art로 출력. +> 더 많은 정보: . - 텍스트 메시지를 큰 배너로 출력(따옴표는 선택 사항): @@ -8,7 +9,7 @@ - 텍스트 메시지를 너비가 50자인 배너로 출력: -`banner -w {{50}} "{{Hello World}}"` +`banner -w 50 "{{Hello World}}"` - `stdin`에서 텍스트 읽기: diff --git a/pages.ko/common/base32.md b/pages.ko/common/base32.md index b3d604dfceaef0..253601b7ff5ab7 100644 --- a/pages.ko/common/base32.md +++ b/pages.ko/common/base32.md @@ -1,14 +1,19 @@ # base32 > 파일 또는 표준 입력을 Base32와 표준 출력으로 인코딩하거나 디코딩함. +> 더 많은 정보: . - 파일 인코딩: -`base32 {{filename}}` +`base32 {{경로/대상/파일}}` + +- 특정 너비로 ​​인코딩된 출력을 래핑합니다 (`0`은 래핑을 비활성화합니다): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{경로/대상/파일}}` - 파일 디코딩: -`base32 -d {{filename}}` +`base32 {{[-d|--decode]}} {{경로/대상/파일}}` - `stdin`에서 인코딩: @@ -16,5 +21,4 @@ - `stdin`에서 디코딩: -`{{somecommand}} | base32 -d` - +`{{somecommand}} | base32 {{[-d|--decode]}}` diff --git a/pages.ko/common/base64.md b/pages.ko/common/base64.md index ebace5b6b8b872..b46f2442c8622a 100644 --- a/pages.ko/common/base64.md +++ b/pages.ko/common/base64.md @@ -1,14 +1,19 @@ # base64 > 파일 또는 표준 입력을 Base64와 표준 출력으로 인코딩하거나 디코딩함. +> 더 많은 정보: . - 파일 인코딩: -`base64 {{filename}}` +`base64 {{경로/대상/파일}}` + +- 특정 너비로 ​​인코딩된 출력을 래핑합니다 (`0`은 래핑을 비활성화합니다): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{경로/대상/파일}}` - 파일 디코딩: -`base64 -d {{filename}}` +`base64 {{[-d|--decode]}} {{경로/대상/파일}}` - `stdin`에서 인코딩: @@ -16,4 +21,4 @@ - `stdin`에서 디코딩: -`{{somecommand}} | base64 -d` +`{{somecommand}} | base64 {{[-d|--decode]}}` diff --git a/pages.ko/common/basename.md b/pages.ko/common/basename.md index 2f195cdde49586..05074f507a388f 100644 --- a/pages.ko/common/basename.md +++ b/pages.ko/common/basename.md @@ -1,11 +1,16 @@ # basename > 경로명의 디렉토리가 아닌 부분을 반환. +> 더 많은 정보: . - 경로에서 파일 이름만 표시: -`basename {{path/to/file}}` +`basename {{경로/대상/파일}}` + +- 경로에서 가장 오른쪽 디렉터리 이름만 표시: + +`basename {{경로/대상/디렉토리}}` - 경로에서 접미사가 제거된 파일 이름만 표시: -`basename {{path/to/file}} {{suffix}}` +`basename {{경로/대상/파일}} {{접미사}}` diff --git a/pages.ko/common/basenc.md b/pages.ko/common/basenc.md new file mode 100644 index 00000000000000..1c30da77dc303f --- /dev/null +++ b/pages.ko/common/basenc.md @@ -0,0 +1,20 @@ +# basenc + +> 지정된 인코딩을 사용하여 파일 또는 `stdin`을 `stdout`으로 인코딩하거나 디코딩함. +> 더 많은 정보: . + +- base64 인코딩으로 파일을 인코딩: + +`basenc --base64 {{경로/대상/파일}}` + +- base64 인코딩으로 파일을 디코딩: + +`basenc --decode --base64 {{경로/대상/파일}}` + +- 42개의 열이 있는 base32 인코딩을 사용하여 `stdin`에서 인코딩: + +`{{명령어}} | basenc --base32 -w42` + +- base32 인코딩을 사용하여 `stdin`에서 인코딩: + +`{{명령어}} | basenc --base32` diff --git a/pages.ko/common/bash-it.md b/pages.ko/common/bash-it.md new file mode 100644 index 00000000000000..07806322a5b130 --- /dev/null +++ b/pages.ko/common/bash-it.md @@ -0,0 +1,32 @@ +# bash-it + +> 커뮤니티에서 제공한 Bash 3.2+용 Bash 명령 및 스크립트 모음. +> 더 많은 정보: . + +- Bash-it을 최신 안정/개발 버전으로 업데이트: + +`bash-it update {{stable|dev}}` + +- Bash 프로필 다시 로드 (자동 다시 로드를 위해 `BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE`를 비어있지 않은 값으로 설정): + +`bash-it reload` + +- Bash 재시작: + +`bash-it restart` + +- 오류 및 경고 로깅이 활성화된 Bash 프로필을 다시 로드: + +`bash-it doctor` + +- 오류/경고/전체 로깅이 활성화된 Bash 프로필을 다시 로드: + +`bash-it doctor {{errors|warnings|all}}` + +- Bash-it 별칭/플러그인/완성 검색: + +`bash-it search {{alias|plugin|completion}}` + +- Bash-it 별칭/플러그인/완성을 검색하고 발견된 모든 항목을 활성화/비활성화: + +`bash-it search --{{enable|disable}} {{alias|plugin|completion}}` diff --git a/pages.ko/common/bash.md b/pages.ko/common/bash.md index 543f3641951ee6..43019cd04ecb32 100644 --- a/pages.ko/common/bash.md +++ b/pages.ko/common/bash.md @@ -1,32 +1,37 @@ # bash -> Bourne-Again SHell. `sh`-호환 명령 행 인터프리터. -> 더 많은 정보: . +> Bourne-Again SHell, an `sh`- 호환 명령 행 인터프리터. +> 참조: `zsh`, `histexpand` (history 확장). +> 더 많은 정보: . -- 대화식 쉘 시작: +- 대화형 쉘 시작하기: `bash` -- 명령 실행: +- 설정 파일 로딩 없이 대화형 쉘 시작하기: -`bash -c "{{command}}"` +`bash --norc` -- 파일에서 명령 실행: +- 특정 명령어([c]ommands) 실행하기: -`bash {{file.sh}}` +`bash -c "{{echo 'bash가 실행되었습니다'}}"` -- 파일에서 명령 실행하고, 터미널에서 실행 된 모든 명령 기록: +- 특정 스크립트 실행하기: -`bash -x {{file.sh}}` +`bash {{경로/대상/스크립트.sh}}` -- 파일에서 명령 실행하고, 첫 번째 에러에서 중지: +- 각 명령어 실행 전 명령어 인쇄하며 특정 스크립트 실행하기(E[x]ecute): -`bash -e {{file.sh}}` +`bash -x {{경로/대상/스크립트.sh}}` -- `stdin`에서 명령 실행: +- 첫 번째 에러([e]rror)가 발생하면 중지되도록 하며 특정 스크립트 실행하기: -`bash -s` +`bash -e {{경로/대상/스크립트.sh}}` -- bash의 버전 정보 출력 (`echo $BASH_VERSION`을 사용하여 버전 문자열만 표시): +- `stdin`에서 Bash 실행하기: -`bash --version` +`{{echo "echo 'bash가 실행되었습니다'"}} | bash` + +- 제한된([r]estricted) 쉘 세션을 시작: + +`bash -r` diff --git a/pages.ko/common/bastet.md b/pages.ko/common/bastet.md new file mode 100644 index 00000000000000..4cf9dfa9abb943 --- /dev/null +++ b/pages.ko/common/bastet.md @@ -0,0 +1,32 @@ +# bastet + +> 터미널에 테트리스 게임을 복제. +> 더 많은 정보: . + +- 테트리스 게임을 시작: + +`bastet` + +- 조각을 수평으로 탐색: + +`{{|}}` + +- 조각을 시계 방향 또는 시계 반대 방향으로 회전: + +`{{|}}` + +- 조각을 부드럽게 떨어뜨림: + +`` + +- 조각을 세게 떨어뜨림: + +`` + +- 게임 중지: + +`

` + +- 게임 나가기: + +`` diff --git a/pages.ko/common/bat.md b/pages.ko/common/bat.md index 2db1ae1dc9a87b..4a33bd4f17eeee 100644 --- a/pages.ko/common/bat.md +++ b/pages.ko/common/bat.md @@ -1,27 +1,37 @@ # bat -> 파일들을 출력하고 연결. 구문 강조와 Git 통합을 가진`cat`클론. +> 파일을 출력하고 연결. +> 구문 강조 및 Git 통합 기능을 갖춘 `cat`을 클론. +> 더 많은 정보: . -- 파일 내용을 표준 출력으로 출력: +- 하나 이상의 파일 내용을 `stdout`으로 깔끔하게 출력: -`bat {{file}}` +`bat {{경로/대상/파일1 경로/대상/파일2 ...}}` - 여러 파일을 대상 파일에 연결: -`bat {{file1}} {{file2}} > {{target_file}}` +`bat {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/대상_파일}}` -- 대상 파일에 여러 파일을 추가: +- 꾸밈을 제거하고 페이징을 비활성화 (`--style plain`은 `-p`로 대체되거나, 두 옵션 모두 `-pp`로 대체될 수 있음): -`bat {{file1}} {{file2}} >> {{target_file}}` +`bat --style plain --pager never {{경로/대상/파일}}` -- 모든 출력 라인 번호 매기기: +- 배경색이 다른 특정 줄이나 범위를 강조 표시: -`bat -n {{file}}` +`bat {{-H|--highlight-line}} {{10|5:10|:10|10:|10:+5}} {{경로/대상/파일}}` -- json파일 구문 강조: +- 공백, 탭, 개행 문자 등 출력할 수 없는 문자 표시: -`bat --language json {{file.json}}` +`bat {{[-A|--show-all]}} {{경로/대상/파일}}` + +- 출력에서 줄 번호를 제외한 모든 꾸밈을 제거: + +`bat {{[-n|--number]}} {{경로/대상/파일}}` + +- 구문은 언어를 명시적으로 설정하여 JSON 파일을 강조 표시: + +`bat {{[-l|--language]}} json {{경로/대상/파일.json}}` - 지원되는 모든 언어 표시: -`bat --list-languages` +`bat {{[-L|--list-languages]}}` diff --git a/pages.ko/common/batch.md b/pages.ko/common/batch.md index 5e4852984fe229..e2a6a10b14e1a5 100644 --- a/pages.ko/common/batch.md +++ b/pages.ko/common/batch.md @@ -1,15 +1,8 @@ # batch -> 시스템 로드 레벨이 허가된 후, 명령을 실행하십시오. 실제로 실행하기 위해서는 atd (혹은 atrun) 를 실행해야합니다. +> 이 명령은 `at`의 에일리어스 (별칭) 입니다. +> 더 많은 정보: . -- 표준 입력에서 명령 실행하기 (완료 시 `Ctrl + D` 를 누릅니다): +- 원본 명령의 도큐멘테이션 (설명서) 보기: -`batch` - -- 표준 입력에서의 명령 실행하기: - -`echo "{{./make_db_backup.sh}}" | batch` - -- 특정 파일에서 명령 실행하기: - -`batch -f {{path/to/file}}` +`tldr at` diff --git a/pages.ko/common/bats.md b/pages.ko/common/bats.md new file mode 100644 index 00000000000000..25d462759d830a --- /dev/null +++ b/pages.ko/common/bats.md @@ -0,0 +1,28 @@ +# bats + +> Bash 자동 테스트 시스템: Bash용 TAP () 호환 테스트 프레임워크. +> 더 많은 정보: . + +- BATS 테스트 스크립트를 실행하고 결과를 [t]AP (Test Anything Protocol) 형식으로 출력: + +`bats --tap {{경로/대상/test.bats}}` + +- 테스트를 실행하지 않고 테스트 스크립트의 테스트 케이스 수([c]ount)를 계산: + +`bats --count {{경로/대상/test.bats}}` + +- BATS 테스트 케이스를 반복적으로([r]ecursively) 실행 (`.bats` 확장자를 가진 파일): + +`bats --recursive {{경로/대상/디렉터리}}` + +- 특정 형식([F]ormat)으로 결과를 출력: + +`bats --formatter {{pretty|tap|tap13|junit}} {{경로/대상/test.bats}}` + +- 테스트에 타이밍([T]iming) 정보 추가: + +`bats --timing {{경로/대상/test.bats}}` + +- 특정 개수의 작업([j]obs)을 병렬로 실행 (GNU `parallel` 을 설치해야 함): + +`bats --jobs {{number}} {{경로/대상/test.bats}}` diff --git a/pages.ko/common/bazel.md b/pages.ko/common/bazel.md new file mode 100644 index 00000000000000..03ad5a4fc7c601 --- /dev/null +++ b/pages.ko/common/bazel.md @@ -0,0 +1,28 @@ +# bazel + +> Make, Maven, Gradle과 유사한 오픈 소스 빌드 및 테스트 도구. +> 더 많은 정보: . + +- 작업공간에서 지정된 대상을 빌드: + +`bazel build {{대상}}` + +- 출력 파일을 제거하고 실행 중인 경우 서버를 중지: + +`bazel clean` + +- bazel 서버 중지: + +`bazel shutdown` + +- Bazel 서버에 대한 런타임 정보를 표시: + +`bazel info` + +- 도움말 표시: + +`bazel help` + +- 버전 확인: + +`bazel version` diff --git a/pages.ko/common/bb.md b/pages.ko/common/bb.md new file mode 100644 index 00000000000000..98c452407977de --- /dev/null +++ b/pages.ko/common/bb.md @@ -0,0 +1,20 @@ +# bb + +> 스크립팅을 위한 기본 Clojure 인터프리터. +> 더 많은 정보: . + +- 표현식 평가: + +`bb -e "(+ 1 2 3)"` + +- 스크립트 파일 평가: + +`bb -f {{경로/대상/스크립트.clj}}` + +- `stdin`의 일련의 라인에 입력을 바인딩: + +`printf "first\nsecond" | bb -i "(map clojure.string/capitalize *input*)"` + +- `stdin`의 EDN(확장 가능한 데이터 표기법) 값 시퀀스에 입력을 바인딩: + +`echo "{:key 'val}" | bb -I "(:key (first *input*))"` diff --git a/pages.ko/common/bc.md b/pages.ko/common/bc.md index 2c824701d21bbc..44203d00f6f905 100644 --- a/pages.ko/common/bc.md +++ b/pages.ko/common/bc.md @@ -1,19 +1,33 @@ # bc -> 계산기의 기능을 수행합니다. +> 임의의 정밀 계산기 언어. +> 참조: `dc`, `qalc`. +> 더 많은 정보: . -- 표준 Math 라이브러리를 사용한 대화형 모드에서 계산기 실행하기. +- 대화형 세션을 시작: -`bc -l` +`bc` -- 계산 결과 표현법: +- 표준 수학 라이브러리([l]ibrary)가 활성화된 상태에서 대화형([i]nteractive) 세션을 시작: -`bc <<< "(1 + 2) * 2 ^ 2"` +`bc --interactive --mathlib` -- 계산 및 표현되는 소수 자릿수를 10으로 지정하기: +- 표현식을 계산: -`bc <<< "scale=10; 5 / 3"` +`echo '{{5 / 3}}' | bc` -- mathlib를 사용하여 sin 및 cosine의 계산식 표현하기: +- 스크립트 실행: -`bc -l <<< "s(1) + c(1)"` +`bc {{경로/대상/스크립트.bc}}` + +- 지정된 척도를 사용해 표현식을 계산: + +`echo 'scale = {{10}}; {{5 / 3}}' | bc` + +- `mathlib`을 사용하여 사인/코사인/아크탄젠트/자연 로그/지수 함수를 계산: + +`echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib` + +- 인라인 계승 스크립트를 실행: + +`echo "define factorial(n) { if (n <= 1) return 1; return n*factorial(n-1); }; factorial({{10}})" | bc` diff --git a/pages.ko/common/bcomps.md b/pages.ko/common/bcomps.md new file mode 100644 index 00000000000000..90a1555901eb8e --- /dev/null +++ b/pages.ko/common/bcomps.md @@ -0,0 +1,21 @@ +# bcomps + +> 그래프를 이중 연결 구성 요소로 분해. +> 그래프비즈 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 그래프를 이중 연결 구성요소로 분해: + +`bcomps {{경로/대상/input1.gv}} {{경로/대상/input2.gv ...}} > {{경로/대상/output.gv}}` + +- 하나 이상의 그래프에서 블록 및 절단되는 정점 수를 인쇄: + +`bcomps -v -s {{경로/대상/input1.gv}} {{경로/대상/input2.gv ...}}` + +- `output.gv`를 기반으로 각 블록과 블록-절단정점 트리를 여러 번호의 파일 이름에 쓰기: + +`bcomps -x -o {{경로/대상/output.gv}} {{경로/대상/input1.gv 경로/대상/input2.gv ...}}` + +- 도움말 표시: + +`bcomps -?` diff --git a/pages.ko/common/bdfr.md b/pages.ko/common/bdfr.md new file mode 100644 index 00000000000000..a80e178e7befad --- /dev/null +++ b/pages.ko/common/bdfr.md @@ -0,0 +1,28 @@ +# bdfr + +> Reddit용 대량 다운로더. +> 더 많은 정보: . + +- 지정된 링크([l]inks)에서 게시물의 URL 또는 ID로 비디오/이미지를 다운로드: + +`bdfr download {{경로/대상/출력_디렉터리}} -l {{게시_url}}` + +- 지정된 사용자([u]ser)로부터 가능한 최대 수(약 1000개)의 비디오/이미지를 다운로드 : + +`bdfr download {{경로/대상/출력_디렉터리}} -u {{reddit_사용자}} --submitted` + +- 제출 데이터 (텍스트, 공감, 댓글 등) 다운로드를 각 [s]ubreddit에 대해 10개의 제출로 제한됨 ([L]imited) (총 30개): + +`bdfr archive {{경로/대상/출력_디렉터리}} -s '{{Python, all, mindustry}}' -L 10` + +- [s]ubreddit r/Python에서 시간([t]ime) 필터 전체를 사용하여 상위 순으로 정렬됨([S]orted) (기본값은 hot), 제출은 10개로 제한됨([L]imited): + +`bdfr download {{경로/대상/출력_디렉터리}} -s Python -S top -t all -L 10` + +- [s]ubreddit r/Python에서 제출 데이터와 비디오/이미지 모두 가능한 최대 수를 다운로드하고, mp4 또는 gif 파일 확장자를 가진 제출을 건너뛰고 중복 파일에 대한 하드 링크를 생성: + +`bdfr clone {{경로/대상/출력_디렉터리}} -s Python --skip mp4 --skip gif --make-hard-links` + +- 지정된 형식에 따라 각 파일의 이름을 지정하여, 인증된 사용자의 저장된 게시물을 다운로드. 출력 디렉터리에 이미 존재하는 중복 항목과 게시물을 다운로드하지 않음: + +`bdfr download {{경로/대상/출력_디렉터리}} --user me --saved --authenticate --file-scheme '{{ {POSTID}_{TITLE}_{UPVOTES} }}' --no-dupes --search-existing` diff --git a/pages.ko/common/beanstalkd.md b/pages.ko/common/beanstalkd.md index 617b7190b87c36..26b521ea087b84 100644 --- a/pages.ko/common/beanstalkd.md +++ b/pages.ko/common/beanstalkd.md @@ -1,7 +1,7 @@ # beanstalkd > 단순하고 일반적인 work-queue 서버. -> 더 많은 정보:. +> 더 많은 정보: . - beanstalkd를 시작하고, 11300 포트로 듣기: diff --git a/pages.ko/common/bear.md b/pages.ko/common/bear.md new file mode 100644 index 00000000000000..faa23cb3f1df3b --- /dev/null +++ b/pages.ko/common/bear.md @@ -0,0 +1,24 @@ +# bear + +> `clang` 도구용 컴파일 데이터베이스를 생성하는 도구. +> 더 많은 정보: . + +- 빌드 명령을 실행하여 `compile_commands.json`을 생성: + +`bear -- {{make}}` + +- 사용자 정의 출력 파일 이름으로 컴파일 데이터베이스 생성: + +`bear --output {{경로/대상/컴파일_명령어.json}} -- {{make}}` + +- 기존 `compile_commands.json` 파일에 결과를 추가: + +`bear --append -- {{make}}` + +- 자세한 출력을 얻으려면, 상세 모드로 실행: + +`bear --verbose -- {{make}}` + +- `bear`가 명령 차단을 위해 사전 로드 방법을 사용하도록 강제: + +`bear --force-preload -- {{make}}` diff --git a/pages.ko/common/bedtools.md b/pages.ko/common/bedtools.md index 654718d6f44a80..9da6f309c3e436 100644 --- a/pages.ko/common/bedtools.md +++ b/pages.ko/common/bedtools.md @@ -1,28 +1,28 @@ # bedtools > 유전자 분석 작업을 위한 도구의 swiss-army knife. BAM, BED, GFF/GTF, VCF 형식으로 데이터를 교차, 그룹화, 변환 및 카운트하는 데 사용. -> 더 많은 정보: . +> 더 많은 정보: . -- sequence의 strand를 기준으로 두개의 파일을 교차하고 결과를 {{path/to/output_file}}의 경로에 저장: +- sequence의 strand를 기준으로 두개의 파일을 교차하고 결과를 `path/to/output_file`의 경로에 저장: -`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -s > {{path/to/output_file}}` +`bedtools intersect -a {{path/to/file1}} -b {{path/to/file2}} -s > {{path/to/output_file}}` -- 외부 조인이 왼쪽인 두개의 파일을 교차, 예시. {{file_1}}에서 각 기능을 보고하고 {{file_2}}와 겹치지 않으면 NULL: +- 외부 조인이 왼쪽인 두개의 파일을 교차, 예시. `file1`에서 각 기능을 보고하고 `file2`와 겹치지 않으면 NULL: -`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -lof > {{path/to/output_file}}` +`bedtools intersect -a {{path/to/file1}} -b {{path/to/file2}} -lof > {{path/to/output_file}}` - 더 효율적인 알고리즘을 사용하여 두개의 사전 정렬된 파일을 교차: -`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -sorted > {{path/to/output_file}}` +`bedtools intersect -a {{path/to/file1}} -b {{path/to/file2}} -sorted > {{path/to/output_file}}` -- 첫 3열과 5열을 기준으로 {{path/to/file}}을 그룹화하여 6열을 요약: +- 첫 3열과 5열을 기준으로 `path/to/file`을 그룹화하여 6열을 요약: `bedtools groupby -i {{path/to/file}} -c 1-3,5 -g 6 -o sum` - bam-formated 파일을 bed-formated 파일로 변환: -`bedtools bamtobed -i {{path/to/file}}.bam > {{path/to/file}}.bed` +`bedtools bamtobed -i {{path/to/file.bam}} > {{path/to/file.bed}}` -- {{file_2}}.bed와 가장 가까운 {{file_1}}.bed에서의 모든 기능을 찾고,그들의 거리와 추가 열을 기록 (입력 파일 정렬 필요): +- `file_2.bed`와 가장 가까운 `file1.bed`에서의 모든 기능을 찾고,그들의 거리와 추가 열을 기록 (입력 파일 정렬 필요): -`bedtools closest -a {{path/to/file_1}}.bed -b {{path/to/file_2}}.bed -d` +`bedtools closest -a {{path/to/file1.bed}} -b {{path/to/file2.bed}} -d` diff --git a/pages.ko/common/behat.md b/pages.ko/common/behat.md index c3bd2b249d795a..251d25e19f407b 100644 --- a/pages.ko/common/behat.md +++ b/pages.ko/common/behat.md @@ -1,7 +1,7 @@ # behat > Behaviour-Driven 개발을 위한 PHP 프레임워크. -> 더 많은 정보: . +> 더 많은 정보: . - 새로운 Behat 프로젝트 초기화: @@ -13,7 +13,7 @@ - 지정된 suite에서 모든 테스트 실행: -`behat --suite={{suite_명}}` +`behat --suite {{suite_명}}` - 특정 출력 formatter로 테스트 실행: diff --git a/pages.ko/common/betty.md b/pages.ko/common/betty.md new file mode 100644 index 00000000000000..8775a70fc94124 --- /dev/null +++ b/pages.ko/common/betty.md @@ -0,0 +1,36 @@ +# betty + +> 자연어를 사용해 명령을 실행. +> 더 많은 정보: . + +- Betty에게 무엇이든 물어보세요: + +`betty {{what time is it}}` + +- 파일 다운로드: + +`betty download {{https://example.com/file.ext}} to {{경로/대상/output_file.ext}}` + +- 파일이나 디렉터리를 지원하는 아카이브 형식 중 하나로 압축: + +`betty {{zip}} {{경로/대상/파일_또는_디렉토리}}` + +- 현재 디렉토리에 아카이브 추출: + +`betty {{unzip}} {{archive.tar.gz}}` + +- 아카이브를 특정 디렉터리로 추출: + +`betty unarchive {{archive.tar.gz}} to {{경로/대상/디렉터리}}` + +- Spotify 실행: + +`betty play {{Spotify}}` + +- Betty를 미치게 만들기: + +`betty go crazy` + +- 버전 표시: + +`betty version` diff --git a/pages.ko/common/bfg.md b/pages.ko/common/bfg.md new file mode 100644 index 00000000000000..a23f8078ac53b3 --- /dev/null +++ b/pages.ko/common/bfg.md @@ -0,0 +1,13 @@ +# bfg + +> git-filter-branch와 같은 Git 기록에서 대용량 파일이나, 비밀번호를 제거. +> 참고: 저장소가 원격 장치에 연결되어 있으면, 강제로 푸시해야 함. +> 더 많은 정보: . + +- 민감한 데이터가 포함된 파일을 제거하되 최신 커밋은 그대로 유지: + +`bfg --delete-files {{민감한_데이터가_포함된_파일}}` + +- 저장소 기록에서 찾을 수 있는 특정 파일에 언급된 모든 텍스트를 제거: + +`bfg --replace-text {{경로/대상/파일.txt}}` diff --git a/pages.ko/common/bfs.md b/pages.ko/common/bfs.md new file mode 100644 index 00000000000000..ffbcce988d2236 --- /dev/null +++ b/pages.ko/common/bfs.md @@ -0,0 +1,36 @@ +# bfs + +> 파일에 대한 너비 우선 검색. +> 더 많은 정보: . + +- 확장자로 파일 찾기: + +`bfs {{루트_경로}} -name '{{*.ext}}'` + +- 여러 경로/이름 패턴과 일치하는 파일 찾기: + +`bfs {{루트_경로}} -path '{{**/경로/**/*.ext}}' -or -name '{{*패턴*}}'` + +- 대소문자를 구분하지 않는 모드에서, 주어진 이름과 일치하는 디렉터리를 찾음: + +`bfs {{루트_경로}} -type d -iname '{{*lib*}}'` + +- 특정 경로를 제외하고 주어진 패턴과 일치하는 파일을 찾음: + +`bfs {{루트_경로}} -name '{{*.py}}' -not -path '{{*/사이트-패키지/*}}'` + +- 재귀 깊이를 "1"로 제한하여 지정된 크기 범위와 일치하는 파일을 찾음: + +`bfs {{루트_경로}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- 각 파일에 대해 명령을 실행 (파일 이름에 접근하려면 명령 내에서 `{}` 사용): + +`bfs {{루트_경로}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- 오늘 수정된 모든 파일을 찾아, 결과를 단일 명령에 인수로 전달: + +`bfs {{루트_경로}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` + +- 빈 파일 (0 바이트) 또는 디렉터리를 찾아 상세하게 삭제: + +`bfs {{루트_경로}} -type {{f|d}} -empty -delete -print` diff --git a/pages.ko/common/bg.md b/pages.ko/common/bg.md index 00e6fa9f30ef5f..dbbe1a6069df5e 100644 --- a/pages.ko/common/bg.md +++ b/pages.ko/common/bg.md @@ -1,6 +1,7 @@ # bg -> 일시 중단된 작업을 다시 시작하고 (예. `Ctrl + Z`), 그 작업이 background에서 동작하게 유지. +> 일시 중단된 작업을 다시 시작하고 (예. ``), 그 작업이 background에서 동작하게 유지. +> 더 많은 정보: . - 가장 최근에 일시 중단된 작업을 재개하고 background에서 실행: diff --git a/pages.ko/common/bgpgrep.md b/pages.ko/common/bgpgrep.md new file mode 100644 index 00000000000000..6c2bce47dc81a0 --- /dev/null +++ b/pages.ko/common/bgpgrep.md @@ -0,0 +1,29 @@ +# bgpgrep + +> MRT 덤프 내의 BGP 데이터 필터링 및 인쇄. +> `gzip`, `bzip2` 및 `xz`로 압축된 파일을 읽을 수 있음. +> 더 많은 정보: . + +- 모든 경로 나열: + +`bgpgrep {{master6.mrt}}` + +- 피어의 AS 번호로 결정된 특정 피어로부터 수신된 경로를 나열: + +`bgpgrep {{master4.mrt}} -peer {{64498}}` + +- 피어의 IP 주소로 결정된 특정 피어로부터 수신된 경로를 나열: + +`bgpgrep {{master4.mrt.bz2}} -peer {{2001:db8:dead:cafe:acd::19e}}` + +- AS 경로에 특정 ASN이 있는 경로를 나열: + +`bgpgrep {{master6.mrt.bz2}} -aspath '{{64498 64510}}'` + +- 특정 주소로 연결되는 경로 목록: + +`bgpgrep {{master6.mrt.bz2}} -supernet '{{2001:db8:dead:cafe:aef::5}}'` + +- 특정 AS의 커뮤니티가 있는 경로를 나열: + +`bgpgrep {{master4.mrt}} -communities \( '{{64497}}:*' \)` diff --git a/pages.ko/common/bind.md b/pages.ko/common/bind.md new file mode 100644 index 00000000000000..b8bf0b4d38b156 --- /dev/null +++ b/pages.ko/common/bind.md @@ -0,0 +1,24 @@ +# bind + +> bash 단축키 및 변수를 관리하기 위한 bash 내장. +> 더 많은 정보: . + +- 모든 바인딩된 명령어와 해당 단축키를 나열: + +`bind {{-p|-P}}` + +- 단축키에 대한 명령어를 쿼리: + +`bind -q {{명령어}}` + +- 키 바인딩: + +`bind -x '"{{키_시퀸스}}":{{명령어}}'` + +- 사용자 정의 바인딩 나열: + +`bind -X` + +- 도움말 표시: + +`help bind` diff --git a/pages.ko/common/bindkey.md b/pages.ko/common/bindkey.md new file mode 100644 index 00000000000000..f2c7ae9c1dc1c4 --- /dev/null +++ b/pages.ko/common/bindkey.md @@ -0,0 +1,20 @@ +# bindkey + +> Z-Shell에 키 바인딩을 추가. +> 더 많은 정보: . + +- 특정 명령에 단축키를 바인딩: + +`bindkey "{{^k}}" {{kill-line}}` + +- 핫키를 특정 키 시퀀스([s]equence)에 바인딩: + +`bindkey -s '^o' 'cd ..\n'` + +- 키맵의 목록([l]ist)을 출력: + +`bindkey -l` + +- 키맵(key[M]ap)에서 단축키 보기: + +`bindkey -M main` diff --git a/pages.ko/common/binwalk.md b/pages.ko/common/binwalk.md new file mode 100644 index 00000000000000..ab6da8fea9de36 --- /dev/null +++ b/pages.ko/common/binwalk.md @@ -0,0 +1,28 @@ +# binwalk + +> 펌웨어 분석 도구. +> 더 많은 정보: . + +- 바이너리 파일 스캔: + +`binwalk {{경로/대상/바이너리}}` + +- 출력 디렉터리를 지정하여 바이너리에서 파일을 추출: + +`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{출력_디렉토리}} {{경로/대상/바이너리}}` + +- 재귀 깊이를 2로 제한하는 바이너리에서 파일을 재귀적으로 추출: + +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{경로/대상/바이너리}}` + +- 지정된 파일 서명을 사용하여 바이너리에서 파일을 추출: + +`binwalk {{[-D|--dd]}} '{{png image:png}}' {{경로/대상/바이너리}}` + +- 바이너리의 엔트로피를 분석하여, 바이너리와 동일한 이름과 `.png` 확장자를 추가하여 플롯을 저장: + +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{경로/대상/바이너리}}` + +- 엔트로피, 서명 및 opcode 분석을 단일 명령으로 결합: + +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{경로/대상/바이너리}}` diff --git a/pages.ko/common/bioradtopgm.md b/pages.ko/common/bioradtopgm.md new file mode 100644 index 00000000000000..99326d8338d801 --- /dev/null +++ b/pages.ko/common/bioradtopgm.md @@ -0,0 +1,16 @@ +# bioradtopgm + +> Biorad 공초점 파일을 PGM 파일로 변환. +> 더 많은 정보: . + +- Biorad 공초점 파일을 읽고 여기에 포함된 n번째 이미지를 PGM 파일로 저장: + +`bioradtopgm -{{n}} {{경로/대상/file.pic}} > {{경로/대상/file.pgm}}` + +- Biorad 공초점 파일을 읽고 포함된 이미지 수를 인쇄: + +`bioradtopgm {{경로/대상/file.pic}}` + +- 버전 출력: + +`bioradtopgm -version` diff --git a/pages.ko/common/bird.md b/pages.ko/common/bird.md new file mode 100644 index 00000000000000..32071de1341033 --- /dev/null +++ b/pages.ko/common/bird.md @@ -0,0 +1,13 @@ +# bird + +> BIRD 인터넷 라우팅 데몬. +> BGP, OSPF, Babel 등을 지원하는 라우팅 데몬. +> 더 많은 정보: . + +- 특정 구성 파일로 Bird를 시작: + +`bird -c {{경로/대상/bird.conf}}` + +- 특정 사용자 및 그룹으로 Bird를 시작: + +`bird -u {{사용자명}} -g {{그룹}}` diff --git a/pages.ko/common/birdc.md b/pages.ko/common/birdc.md new file mode 100644 index 00000000000000..16cb1e9dcddb9c --- /dev/null +++ b/pages.ko/common/birdc.md @@ -0,0 +1,37 @@ +# birdc + +> BIRD 원격 제어. +> bird로부터 경로와 같은 정보를 검색하고 런타임 중에 구성을 수행. +> 더 많은 정보: . + +- 원격 제어 콘솔을 열기: + +`birdc` + +- BIRD를 다시 시작하지 않고 구성을 다시 로드: + +`birdc configure` + +- BIRD의 현재 상태를 표시: + +`birdc show status` + +- 구성된 모든 프로토콜 표시: + +`birdc show protocols` + +- 프로토콜에 대한 모든 세부정보 표시: + +`birdc show protocols {{upstream1}} all` + +- 특정 AS 번호를 포함하는 모든 경로 표시: + +`birdc "show route where bgp_path ~ [{{4242120045}}]"` + +- 모든 최적 경로 표시: + +`birdc show route primary` + +- 특정 접두사에서 모든 경로의 모든 세부 정보를 표시: + +`birdc show route for {{fd00:/8}} all` diff --git a/pages.ko/common/bison.md b/pages.ko/common/bison.md new file mode 100644 index 00000000000000..7ffcbf1c5c86b7 --- /dev/null +++ b/pages.ko/common/bison.md @@ -0,0 +1,20 @@ +# bison + +> GNU 파서 생성기. +> 더 많은 정보: . + +- bison 정의 파일을 컴파일: + +`bison {{경로/대상/file.y}}` + +- 디버그 모드에서 컴파일하면, 결과 파서가 `stdout`에 추가 정보를 쓰게 됨: + +`bison --debug {{경로/대상/file.y}}` + +- 출력 파일 이름 지정: + +`bison --output {{경로/대상/output.c}} {{경로/대상/file.y}}` + +- 컴파일할 때 세세한 정보를 같이 출력: + +`bison --verbose` diff --git a/pages.ko/common/bitcoin-cli.md b/pages.ko/common/bitcoin-cli.md index 8be5971a240037..a9c8e446aed108 100644 --- a/pages.ko/common/bitcoin-cli.md +++ b/pages.ko/common/bitcoin-cli.md @@ -1,7 +1,7 @@ # bitcoin-cli > RPC 호출을 통해 비트코인 데몬과 상호 작용하는 커맨드라인 클라이언트.`bitcoin.conf`에 정의된 구성 사용. -> 더 많은 정보:. +> 더 많은 정보: . - 지정된 주소로 트랜잭션 전송: @@ -21,4 +21,16 @@ - wallet 정보를 텍스트 파일로 출력: -`bitcoin-cli dumpwallet "{{파일/의/경로}}"` +`bitcoin-cli dumpwallet "{{경로/대상/파일}}"` + +- 블록체인 정보 출력: + +`bitcoin-cli getblockchaininfo` + +- 네트워크 정보 출력: + +`bitcoin-cli getnetworkinfo` + +- 비트코인 코어 데몬 중지: + +`bitcoin-cli stop` diff --git a/pages.ko/common/bitcoind.md b/pages.ko/common/bitcoind.md new file mode 100644 index 00000000000000..b8d51b07a147bc --- /dev/null +++ b/pages.ko/common/bitcoind.md @@ -0,0 +1,21 @@ +# bitcoind + +> Bitcoin Core 데몬. +> `bitcoin.conf`에 정의된 구성을 사용. +> 더 많은 정보: . + +- 비트코인 코어 데몬을 시작 (포어그라운드 환경에서): + +`bitcoind` + +- 백그라운드에서 Bitcoin Core 데몬을 시작 (중지하려면 `bitcoin-cli stop` 사용): + +`bitcoind -daemon` + +- 특정 네트워크에서 Bitcoin Core 데몬을 시작: + +`bitcoind -chain={{main|test|signet|regtest}}` + +- 특정 구성 파일 및 데이터 디렉터리를 사용하여 Bitcoin Core 데몬을 시작: + +`bitcoind -conf={{경로/대상/bitcoin.conf}} -datadir={{경로/대상/디렉터리}}` diff --git a/pages.ko/common/black.md b/pages.ko/common/black.md index 4718492138de40..3b885076dd72ea 100644 --- a/pages.ko/common/black.md +++ b/pages.ko/common/black.md @@ -1,7 +1,7 @@ # black > Python 자동 코드 formatter. -> 더 많은 정보: . +> 더 많은 정보: . - 파일 또는 전체 디렉토리의 자동 포맷: @@ -9,16 +9,20 @@ - 전달된 코드를 문자열로 포맷: -`black -c {{파일_또는_디렉토리/의/경로}}` +`black -c "{{파일_또는_디렉토리/의/경로}}"` + +- 파일을 다시 쓰지 않고 상태 반환: + +`black --check {{파일_또는_디렉토리/의/경로}}` - 표준 출력시 각 파일에 대해 diff 출력: `black --diff {{파일_또는_디렉토리/의/경로}}` -- 파일을 다시 쓰지 않고 상태 반환: +- 파일 또는 디렉토리가 `stderr`에 배타적 오류 메시지를 발생시키는 자동 포맷: -`black --check {{파일_또는_디렉토리/의/경로}}` +`black --quiet {{파일_또는_디렉토리/의/경로}}` -- 파일 또는 디렉토리가 stderr에 배타적 오류 메시지를 발생시키는 자동 포맷: +- 작은 따옴표를 큰 따옴표로 바꾸지 않고 파일 또는 디렉토리 자동 서식 지정(채택 도우미, 새 프로젝트에 사용하지 마세요): -`black --quiet {{파일_또는_디렉토리/의/경로}}` +`black --skip-string-normalization {{파일_또는_디렉토리/의/경로}}` diff --git a/pages.ko/common/blackfire.md b/pages.ko/common/blackfire.md index 0493ea199b37ea..20cf02b5853fda 100644 --- a/pages.ko/common/blackfire.md +++ b/pages.ko/common/blackfire.md @@ -1,7 +1,7 @@ # blackfire > PHP용 커맨드라인 프로파일링 도구. -> 더 많은 정보: . +> 더 많은 정보: . - Blackfire 클라이언트 초기화 및 구성: @@ -21,7 +21,7 @@ - 프로파일러 실행 및 샘플 10개 수집: -`blackfire --samples={{10}} run {{파일.php/의/php 경로}}` +`blackfire --samples 10 run {{파일.php/의/php 경로}}` - 프로파일러 및 출력 결과를 JSON으로 실행: diff --git a/pages.ko/common/blender.md b/pages.ko/common/blender.md index ac43cda7229b60..ce0e0b8e2c9f45 100644 --- a/pages.ko/common/blender.md +++ b/pages.ko/common/blender.md @@ -1,32 +1,32 @@ # blender > Blender 3D 컴퓨터 그래픽스 어플리케이션의 커맨드라인 인터페이스. 인자는 주어진 순서대로 실행. -> 더 많은 정보: . +> 더 많은 정보: . -- UI를 로드하지 않고 background에서 애니메이션의 모든 프레임을 렌더링.(출력은 `/tmp`에 저장): +- UI를 로드하지 않고 백그라운드에서 애니메이션의 모든 프레임을 렌더링(출력은 `/tmp`에 저장): -`blender -b {{파일명}}.blend -a` +`blender --background {{경로/대상/파일.blend}} --render-anim` - .blend 파일에 대한 경로 (`//`)에서 특정 이미지 명명 패턴을 사용하여 애니메이션 렌더링: -`blender -b {{파일명}}.blend -o //{{render/frame_###.png}} -a` +`blender --background {{경로/대상/파일.blend}} --render-output //{{render/frame_###.png}} --render-anim` - 기존 디렉토리에 저장된 단일 이미지로 애니메이션의 10번째 프레임 렌더링(절대 경로): -`blender -b {{파일명}}.blend -o {{/출력_디렉토리/의/경로}} -f {{10}}` +`blender --background {{경로/대상/파일.blend}} --render-output {{/경로/대상/출력_디렉토리}} --render-frame {{10}}` - 기존 디렉토리에 저장된 JPEG 이미지로 애니메이션의 두번째 마지막 프레임 렌더링(상대 경로): -`blender -b {{파일명}}.blend -o //{{출력_디렉토리}} -F {{JPEG}} -f {{-2}}` +`blender --background {{경로/대상/파일.blend}} --render-output //{{출력_디렉토리}} --render-frame {{JPEG}} --render-frame {{-2}}` - 프레임 10에서 시작하여 프레임 500에서 끝나는 특정 장면의 애니메이션 렌더링: -`blender -b {{파일명}}.blend -S {{씬_이름}} -s {{10}} -e {{500}} -a` +`blender --background {{경로/대상/파일.blend}} --scene {{장면_이름}} --frame-start {{10}} --frame-end {{500}} --render-anim` - Python 표현식을 전달하여 특정 해상도로 애니메이션 렌더링: -`blender -b {{파일명}}.blend --python-expr '{{import bpy; bpy.data.scenes[0].render.resolution_percentage = 25}}' -a` +`blender --background {{경로/대상/파일.blend}} --python-expr '{{import bpy; bpy.data.scenes[0].render.resolution_percentage = 25}}' --render-anim` - Python 콘솔을 사용하여 터미널에서 대화형 Blender 세션 시작(시작 후`import bpy` 수행): -`blender -b --python-console` +`blender --background --python-console` diff --git a/pages.ko/common/blockout2.md b/pages.ko/common/blockout2.md new file mode 100644 index 00000000000000..a3e7b38f974987 --- /dev/null +++ b/pages.ko/common/blockout2.md @@ -0,0 +1,24 @@ +# blockout2 + +> 3D 게임과 같은 테트리스. +> 더 많은 정보: . + +- 새로운 게임 시작: + +`blockout2` + +- 2D 평면에서 현재 조각을 탐색: + +`{{|||}}` + +- 축을 중심으로 조각 회전: + +`{{|||||}}` + +- 현재 조각을 하드 드롭: + +`` + +- 게임 일시 중지/일시 중지 해제: + +`

` diff --git a/pages.ko/common/bmptopnm.md b/pages.ko/common/bmptopnm.md new file mode 100644 index 00000000000000..5c9dfe83a14c59 --- /dev/null +++ b/pages.ko/common/bmptopnm.md @@ -0,0 +1,16 @@ +# bmptopnm + +> BMP 파일을 PBM, PGM 또는 PNM 이미지로 변환. +> 더 많은 정보: . + +- Windows 또는 OS/2 BMP 파일의 경우, PBM, PGM 또는 PNM 이미지를 출력으로 생성: + +`bmptopnm {{경로/대상/file.bmp}}` + +- BMP 헤더의 내용을 `stderr`에 보고: + +`bmptopnm -verbose {{경로/대상/file.bmp}}` + +- 버전 표시: + +`bmptopnm -version` diff --git a/pages.ko/common/bmptoppm.md b/pages.ko/common/bmptoppm.md new file mode 100644 index 00000000000000..8374010ff4cd09 --- /dev/null +++ b/pages.ko/common/bmptoppm.md @@ -0,0 +1,8 @@ +# bmptoppm + +> 이 명령은 `bmptopnm`으로 대체됨. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr bmptopnm` diff --git a/pages.ko/common/bob.md b/pages.ko/common/bob.md new file mode 100644 index 00000000000000..73775965bca2f4 --- /dev/null +++ b/pages.ko/common/bob.md @@ -0,0 +1,24 @@ +# bob + +> Neovim 버전을 관리하고 전환. +> 더 많은 정보: . + +- 지정된 버전의 Neovim을 설치하고 전환: + +`bob use {{nightly|stable|latest|version_string|commit_hash}}` + +- Neovim의 설치 및 현재 사용되는 버전을 출력: + +`bob list` + +- 특정 버전의 Neovim을 제거: + +`bob uninstall {{nightly|stable|latest|version_string|commit_hash}}` + +- Neovim을 제거하고 `bob`이 변경한 내용을 모두 삭제: + +`bob erase` + +- 이전에 최신으로 수정된 버전으로 롤백: + +`bob rollback` diff --git a/pages.ko/common/boot.md b/pages.ko/common/boot.md index 46345cb6fee787..0501cf544482fa 100644 --- a/pages.ko/common/boot.md +++ b/pages.ko/common/boot.md @@ -1,6 +1,6 @@ # boot -> Clojure 프로그래밍 언어를 위한 빌드 +> Clojure 프로그래밍 언어를 위한 빌드. > 더 많은 정보: . - 프로젝트 혹은 독립으로 REPL 세션 시작: @@ -25,4 +25,4 @@ - 생산용 빌드 (부트/새 템플릿을 사용하는 경우): -`boot prod`? +`boot prod` diff --git a/pages.ko/common/borg.md b/pages.ko/common/borg.md index 43249f972e2b99..ede88cb0159044 100644 --- a/pages.ko/common/borg.md +++ b/pages.ko/common/borg.md @@ -1,6 +1,6 @@ # borg -> 중복제거 백업 도구. 파일시스템으로 마운트할 수 있는 로컬 또는 원격 저장소를 제작. +> 중복제거 백업 도구. 파일 시스템으로 마운트할 수 있는 로컬 또는 원격 저장소를 제작. > 더 많은 정보: . - (로컬) 저장소 초기화: diff --git a/pages.ko/common/bosh.md b/pages.ko/common/bosh.md index 4d67d7d3e0e0ed..23d9a5bb7ce7c0 100644 --- a/pages.ko/common/bosh.md +++ b/pages.ko/common/bosh.md @@ -23,7 +23,7 @@ `bosh -e {{환경}} vms -d {{전개}}` -- 가상 머신의 ssh: +- 가상 머신의 SSH: `bosh -e {{환경}} ssh {{가상머신}} -d {{전개}}` diff --git a/pages.ko/common/bower.md b/pages.ko/common/bower.md index f4161db25d612a..ab4095c696264e 100644 --- a/pages.ko/common/bower.md +++ b/pages.ko/common/bower.md @@ -19,14 +19,14 @@ `bower list` -- bower 명령에 대한 도움말 표시: - -`bower help {{명령}}` - -- 패키지에 대한 bower.json 파일 생성 : +- 패키지에 대한 bower.json 파일 생성: `bower init` - 특정 종속 버전을 설치하고, bower.json에 추가: `bower install {{로컬명}}={{패키지}}#{{버젼}} --save` + +- bower 명령에 대한 도움말 표시: + +`bower help {{명령}}` diff --git a/pages.ko/common/box.md b/pages.ko/common/box.md index 469377250d3d2a..042d01c643ff23 100644 --- a/pages.ko/common/box.md +++ b/pages.ko/common/box.md @@ -1,15 +1,15 @@ # box > Phar의 빌드 및 관리를 위한 PHP 어플리케이션. -> 더 많은 정보: . +> 더 많은 정보: . - 새 Phar 파일 작성: -`box build` +`box compile` - 특정 구성 파일을 사용하여 새 Phar 파일 작성: -`box build -c {{config/의/경로}}` +`box compile -c {{config/의/경로}}` - PHAR PHP 확장에 대한 정보 표시: diff --git a/pages.ko/common/boxes.md b/pages.ko/common/boxes.md new file mode 100644 index 00000000000000..033d2b15b9b855 --- /dev/null +++ b/pages.ko/common/boxes.md @@ -0,0 +1,32 @@ +# boxes + +> ASCII 아트 상자 그리기, 제거 및 복구 +> 더 많은 정보: . + +- 문자열 주위에 상자 그리기: + +`echo "{{문자열}}" | boxes` + +- 문자열에서 상자를 제거[r]: + +`echo "{{문자열}}" | boxes -r` + +- 문자열 주위에 특정 디자인[d]의 상자 그리기: + +`echo "{{문자열}}" | boxes -d {{parchment}}` + +- 상자 크기[s] 지정(열 단위): + +`echo "{{문자열}}" | boxes -s {{10}}x{{5}}` + +- 상자 텍스트 수평[h] 정렬[a](왼쪽[l], 중앙[c], 오른쪽[r]): + +`echo "{{문자열}}" | boxes -a h{{l|c|r}}` + +- 상자 텍스트 수직[v] 정렬[a](위쪽[t], 중앙[c], 아래쪽[b]): + +`echo "{{문자열}}" | boxes -a v{{t|c|b}}` + +- 상자 텍스트 양쪽 조정[j](왼쪽[l], 중앙[c], 오른쪽[r]): + +`echo "{{문자열}}" | boxes -a j{{l|c|r}}{{vt}}` diff --git a/pages.ko/common/bpkg.md b/pages.ko/common/bpkg.md new file mode 100644 index 00000000000000..821811cfb0baff --- /dev/null +++ b/pages.ko/common/bpkg.md @@ -0,0 +1,28 @@ +# bpkg + +> Bash 스크립트용 패키지 관리자. +> 더 많은 정보: . + +- 로컬 색인 업데이트: + +`bpkg update` + +- 전역적으로 패키지를 설치: + +`bpkg install --global {{패키지}}` + +- 현재 디렉터리의 하위 디렉터리에 패키지를 설치: + +`bpkg install {{패키지}}` + +- 특정 버전의 패키지를 전역적으로 설치: + +`bpkg install {{패키지}}@{{버전}} -g` + +- 특정 패키지에 대한 세부정보 표시: + +`bpkg show {{패키지}}` + +- 선택적으로 인수를 지정하여, 명령을 실행: + +`bpkg run {{명령어}} {{인자1 인자2 ...}}` diff --git a/pages.ko/common/bpytop.md b/pages.ko/common/bpytop.md new file mode 100644 index 00000000000000..76b7f57b99d735 --- /dev/null +++ b/pages.ko/common/bpytop.md @@ -0,0 +1,29 @@ +# bpytop + +> CPU, 메모리, 디스크, 네트워크 및 프로세스에 대한 정보를 표시하는 리소스 모니터. +> `bashtop`의 Python 버전. +> 더 많은 정보: . + +- `bpytop` 시작: + +`bpytop` + +- 메모리와 네트워킹 박스 없이 최소 모드에서 시작: + +`bpytop -m` + +- 최소 모드 전환: + +`` + +- 실행 중인 프로그램이나 프로세스 검색: + +`` + +- 설정 변경: + +`` + +- 버전 표시: + +`bpytop -v` diff --git a/pages.ko/common/bq.md b/pages.ko/common/bq.md new file mode 100644 index 00000000000000..203a14b952dbc5 --- /dev/null +++ b/pages.ko/common/bq.md @@ -0,0 +1,32 @@ +# bq + +> Google Cloud의 완전 관리형 서버리스 엔터프라이즈 데이터 웨어하우스인 BigQuery용 Python 기반 도구. +> 더 많은 정보: . + +- 표준 SQL을 사용하여 BigQuery 테이블에 대해 쿼리를 실행하고, `--dry_run` 플래그를 추가해 쿼리에서 읽은 바이트 수를 추정: + +`bq query --nouse_legacy_sql 'SELECT COUNT(*) FROM {{데이터셋_이름}}.{{테이블_이름}}'` + +- 매개변수화된 쿼리 실행: + +`bq query --use_legacy_sql=false --parameter='ts_value:TIMESTAMP:2016-12-07 08:00:00' 'SELECT TIMESTAMP_ADD(@ts_value, INTERVAL 1 HOUR)'` + +- 미국 위치에 새 데이터 세트 또는 테이블을 만듬: + +`bq mk --location=US {{dataset_name}}.{{table_name}}` + +- 프로젝트의 모든 데이터세트를 나열: + +`bq ls --filter labels.{{키}}:{{값}} --max_results {{정수}} --format=prettyjson --project_id {{프로젝트_아이디}}` + +- CSV, JSON, Parquet, Avro 등의 형식으로 특정 파일의 데이터를 테이블에 일괄 로드: + +`bq load --location {{위치}} --source_format {{CSV|JSON|PARQUET|AVRO}} {{데이터셋}}.{{테이블}} {{경로_대상_소스}}` + +- 한 테이블을 다른 테이블에 복사: + +`bq cp {{데이터셋}}.{{오래된_테이블}} {{데이터셋}}.{{새로운_테이블}}` + +- 버전 정보 표시: + +`bq help` diff --git a/pages.ko/common/brave.md b/pages.ko/common/brave.md new file mode 100644 index 00000000000000..1c6865b41a5097 --- /dev/null +++ b/pages.ko/common/brave.md @@ -0,0 +1,8 @@ +# brave + +> 이 명령은 `chromium`의 에일리어스 (별칭)입니다. +> 더 많은 정보: . + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chromium` diff --git a/pages.ko/common/brew-autoremove.md b/pages.ko/common/brew-autoremove.md new file mode 100644 index 00000000000000..c097907559eb3d --- /dev/null +++ b/pages.ko/common/brew-autoremove.md @@ -0,0 +1,12 @@ +# brew autoremove + +> 이전에 종속성으로 설치되어 사용되지 않는 수식을 제거. +> 더 많은 정보: . + +- 사용하지 않는 수식을 모두 제거: + +`brew autoremove` + +- 제거할 항목을 인쇄하지만, 실제로 아무것도 제거하지 않음: + +`brew autoremove {{[-n|--dry-run]}}` diff --git a/pages.ko/common/brew-bundle.md b/pages.ko/common/brew-bundle.md new file mode 100644 index 00000000000000..225a3be79bd4c9 --- /dev/null +++ b/pages.ko/common/brew-bundle.md @@ -0,0 +1,28 @@ +# brew bundle + +> Homebrew, Homebrew Cask 및 Mac App Store용 번들러. +> 더 많은 정보: . + +- 현재 경로의 Brewfile에서 패키지를 설치: + +`brew bundle` + +- 특정 경로의 특정 Brewfile에서 패키지를 설치: + +`brew bundle --file {{경로/대상/파일}}` + +- 설치된 모든 패키지에서 Brewfile을 생성: + +`brew bundle dump` + +- Brewfile에 나열되지 않은 모든 공식을 제거: + +`brew bundle cleanup --force` + +- Brewfile에 설치하거나 업그레이드할 항목이 있는지 확인: + +`brew bundle check` + +- Brewfile의 모든 항목을 나열: + +`brew bundle list --all` diff --git a/pages.ko/common/brew-install.md b/pages.ko/common/brew-install.md new file mode 100644 index 00000000000000..75ee80de446c57 --- /dev/null +++ b/pages.ko/common/brew-install.md @@ -0,0 +1,16 @@ +# brew install + +> Homebrew formuale이나 cask를 설치. +> 더 많은 정보: . + +- formuale/cask 설치: + +`brew install {{formula|cask}}` + +- 소스에서 formuale을 빌드하고 설치 (의존성은 여전히 병에서 설치): + +`brew install {{[-s|--build-from-source]}} {{formula}}` + +- 매니페스트를 다운로드하고, 설치될 항목을 인쇄하지만 실제로는 아무것도 설치하지 않음: + +`brew install {{[-n|--dry-run]}} {{formula|cask}}` diff --git a/pages.ko/common/brew-list.md b/pages.ko/common/brew-list.md new file mode 100644 index 00000000000000..08672908565506 --- /dev/null +++ b/pages.ko/common/brew-list.md @@ -0,0 +1,24 @@ +# brew list + +> 설치된 formulae 또는 cask 패키지 및 파일을 나열. +> 더 많은 정보: . + +- 설치된 formulae 및 casks를 나열: + +`brew list` + +- 설치된 formula에 속하는 파일 목록: + +`brew list {{formula}}` + +- cask의 아티팩트 나열: + +`brew list {{cask}}` + +- formulae만 출력: + +`brew list --formula` + +- casks만 출력: + +`brew list --cask` diff --git a/pages.ko/common/brew-outdated.md b/pages.ko/common/brew-outdated.md new file mode 100644 index 00000000000000..d890e7ef1eb346 --- /dev/null +++ b/pages.ko/common/brew-outdated.md @@ -0,0 +1,17 @@ +# brew outdated + +> 오래된 casks와 formulae를 나열. +> 모든 것을 업그레이드하려면, `brew upgrade`를 사용. +> 더 많은 정보: . + +- 오래된 casks와 formulae를 모두 나열: + +`brew outdated` + +- 오직 오래된 formulae만 나열: + +`brew outdated --formula` + +- 오직 오래된 casks를 나열: + +`brew outdated --cask` diff --git a/pages.ko/common/brew-search.md b/pages.ko/common/brew-search.md new file mode 100644 index 00000000000000..34efde8aabd26e --- /dev/null +++ b/pages.ko/common/brew-search.md @@ -0,0 +1,24 @@ +# brew search + +> casks와 formulae를 검색. +> 더 많은 정보: . + +- 키워드를 사용하여 casks와 formulae를 검색: + +`brew search {{키워드}}` + +- 정규식을 사용하여 casks와 formulae를 검색: + +`brew search /{{정규_표현식}}/` + +- 설명을 통한 검색 활성화: + +`brew search --desc {{키워드}}` + +- formulae만 검색: + +`brew search --formula {{키워드}}` + +- casks만 검색: + +`brew search --cask {{키워드}}` diff --git a/pages.ko/common/brew-uninstall.md b/pages.ko/common/brew-uninstall.md new file mode 100644 index 00000000000000..55148ac9d37d67 --- /dev/null +++ b/pages.ko/common/brew-uninstall.md @@ -0,0 +1,13 @@ +# brew uninstall + +> Homebrew formula/cask를 제거. +> 나중에 사용하지 않는 의존성을 제거하려면, `brew autoremove`를 사용. +> 더 많은 정보: . + +- formula/cask를 설치 삭제: + +`brew uninstall {{formula|cask}}` + +- cask를 제거하고 관련 파일을 모두 제거: + +`brew uninstall --zap {{cask}}` diff --git a/pages.ko/common/brew-update.md b/pages.ko/common/brew-update.md new file mode 100644 index 00000000000000..039fa6f67965f0 --- /dev/null +++ b/pages.ko/common/brew-update.md @@ -0,0 +1,9 @@ +# brew update + +> `git`을 사용하여 GitHub에서 Homebrew의 최신버전과 모든 수식을 가져오고 필요한 마이그레이션을 수행. +> 설치된 모든 formulae를 업그레이드하려면, `brew upgrade`를 사용. +> 더 많은 정보: . + +- 최신 버전의 Homebrew 및 모든 공식을 가져옴: + +`brew update` diff --git a/pages.ko/common/brew-upgrade.md b/pages.ko/common/brew-upgrade.md new file mode 100644 index 00000000000000..558330bfff1d14 --- /dev/null +++ b/pages.ko/common/brew-upgrade.md @@ -0,0 +1,16 @@ +# brew upgrade + +> 오래된 formulae 및 casks를 업그레이드. +> 더 많은 정보: . + +- 모든 오래된 casks 및 formulae 업그레이드: + +`brew upgrade` + +- 특정 formula/cask를 업그레이드: + +`brew upgrade {{formula|cask}}` + +- 업그레이드할 항목을 인쇄하되, 실제로는 아무것도 업그레이드 하지 않음 : + +`brew upgrade --dry-run` diff --git a/pages.ko/common/brew.md b/pages.ko/common/brew.md new file mode 100644 index 00000000000000..de18a9617c0d72 --- /dev/null +++ b/pages.ko/common/brew.md @@ -0,0 +1,36 @@ +# brew + +> macOS와 Linux를 위한 패키지 관리자. +> 더 많은 정보: . + +- 공식(formula) 혹은 캐스크(cask)의 최신 안정 버전을 설치: + +`brew install {{formula}}` + +- 설치된 모든 공식(formulae)과 캐스크(casks) 나열: + +`brew list` + +- 설치된 특정 공식(formula) 혹은 캐스크(cask) 업그레이드 (옵션이 주어지지 않으면 모든 공식과 캐스크 업그레이드): + +`brew upgrade {{formula}}` + +- Homebrew 저장소에서 Homebrew와 함께 모든 공식(formulae)과 캐스크(casks)의 최신 버전 가져오기: + +`brew update` + +- 최신 버전이 아닌 공식(formulae)과 캐스크(casks) 나열: + +`brew outdated` + +- 사용 가능한 공식(formulae)과 캐스크(casks) 검색: + +`brew search {{text}}` + +- 공식(formula) 혹은 캐스크(cask)에 대한 정보 표시 (버전, 설치 경로, 의존성 등): + +`brew info {{formula}}` + +- 설치된 Homebrew에 문제가 있는 확인: + +`brew doctor` diff --git a/pages.ko/common/brittany.md b/pages.ko/common/brittany.md new file mode 100644 index 00000000000000..aefd96662dce09 --- /dev/null +++ b/pages.ko/common/brittany.md @@ -0,0 +1,24 @@ +# brittany + +> Haskell 소스 파일을 형식에 맞추어 출력. +> 더 많은 정보: . + +- Haskell 소스 파일의 형식을 지정하고 결과를 `stdout`으로 인쇄: + +`brittany {{경로/대상/file.hs}}` + +- 현재 디렉터리에 있는 모든 Haskell 소스 파일을 바로 포맷: + +`brittany --write-mode=inplace {{*.hs}}` + +- Haskell 소스 파일에 변경이 필요한지 확인하고 프로그램 종료 코드를 통해 결과를 표시: + +`brittany --check-mode {{경로/대상/file.hs}}` + +- 들여쓰기 수준, 줄 길이 별로 지정된 공백 설정을 사용하여 Haskell 소스 파일 형식을 지정: + +`brittany --indent {{4}} --columns {{100}} {{경로/대상/file.hs}}` + +- 지정된 구성 파일에 정의된 스타일에 따라 Haskell 소스 파일의 형식을 지정: + +`brittany --config-file {{경로/대상/config.yaml}} {{경로/대상/file.hs}}` diff --git a/pages.ko/common/brotli.md b/pages.ko/common/brotli.md new file mode 100644 index 00000000000000..d48c814a3e69d7 --- /dev/null +++ b/pages.ko/common/brotli.md @@ -0,0 +1,24 @@ +# brotli + +> Brotli 압축을 사용하여 파일을 압축/압축 해제. +> 더 많은 정보: . + +- 파일을 압축하여 파일 옆에 압축 버전을 생성: + +`brotli {{경로/대상/파일}}` + +- 파일을 압축 해제([d]ecompress)하여, 파일 옆에 압축되지 않은 버전을 생성: + +`brotli -d {{경로/대상/파일.br}}` + +- 출력([o]utput) 파일 이름을 지정하여, 파일을 압축: + +`brotli {{경로/대상/파일}} -o {{경로/대상/압축된_출력_파일.br}}` + +- 출력([o]utput) 파일 이름을 지정하여 Brotli 파일을 압축 해제([d]ecompress)ㄴ: + +`brotli -d {{경로/대상/압축된_파일.br}} -o {{경로/대상/출력_파일}}` + +- 압축 품질을 지정 (1=가장 빠름 (가장 안 좋은 품질), 11=가장 느림 (가장 좋은 품질)): + +`brotli -q {{11}} {{경로/대상/파일}} -o {{경로/대상/압축된_출력_파일.br}}` diff --git a/pages.ko/common/browser-sync.md b/pages.ko/common/browser-sync.md index ebf989dc1c0c05..08dbb5e1adf3c5 100644 --- a/pages.ko/common/browser-sync.md +++ b/pages.ko/common/browser-sync.md @@ -7,7 +7,7 @@ `browser-sync start --server {{디렉토리/의/경로}} --files {{디렉토리/의/경로}}` -- 로컬 디렉토리에서 서버 시작, 일부 디렉토리에서 모든 css파일 확인: +- 로컬 디렉토리에서 서버 시작, 일부 디렉토리에서 모든 CSS파일 확인: `browser-sync start --server --files '{{디렉토리/의/경로/*.css}}'` diff --git a/pages.ko/common/bru.md b/pages.ko/common/bru.md new file mode 100644 index 00000000000000..123cb735184b5d --- /dev/null +++ b/pages.ko/common/bru.md @@ -0,0 +1,28 @@ +# bru + +> API 탐색 및 테스트를 위한 오픈소스 IDE인 Bruno용 CLI. +> 더 많은 정보: . + +- 현재 디렉터리에서 모든 요청된 파일을 실행: + +`bru run` + +- 파일 이름을 지정하여, 현재 디렉터리에서 단일 요청을 실행: + +`bru run {{file.bru}}` + +- 환경 파일을 사용해 요청을 실행: + +`bru run --env {{환경_이름}}` + +- 변수가 있는 환경을 사용하여 요청을 실행: + +`bru run --env {{환경_이름}} --env-var {{변수_이름}}={{변수_값}}` + +- 요청을 실행하고, 출력 파일에 결과를 수집: + +`bru run --output {{경로/대상/출력.json}}` + +- 도움말 표시: + +`bru run --help` diff --git a/pages.ko/common/brushtopbm.md b/pages.ko/common/brushtopbm.md new file mode 100644 index 00000000000000..543d6f1d4573cb --- /dev/null +++ b/pages.ko/common/brushtopbm.md @@ -0,0 +1,12 @@ +# brushtopbm + +> Xerox 낙서 브러시 파일을 PBM 이미지로 변환. +> 더 많은 정보: . + +- Xerox doodle 브러시 파일을 입력으로 출력으로 PBM 파일을 생성: + +`brushtopbm {{경로/대상/file.brush}}` + +- 버전 표시: + +`brushtopbm -version` diff --git a/pages.ko/common/bshell.md b/pages.ko/common/bshell.md new file mode 100644 index 00000000000000..a406f5128c9b58 --- /dev/null +++ b/pages.ko/common/bshell.md @@ -0,0 +1,21 @@ +# bshell + +> 로컬 네트워크에서 SSH/VNC 서버를 검색하기 위한 GUI. +> 참고: `bssh` 및 `bvnc`. +> 더 많은 정보: . + +- SSH 및 VNC 서버 모두 찾아보기: + +`bshell` + +- SSH 서버만 찾아보기: + +`bshell --ssh` + +- VNC 서버만 찾아보기: + +`bshell --vnc` + +- 지정된 도메인에서 SSH 및 VNC 서버를 모두 찾음: + +`bshell --domain {{도메인}}` diff --git a/pages.ko/common/bssh.md b/pages.ko/common/bssh.md new file mode 100644 index 00000000000000..ec53a185a72e8d --- /dev/null +++ b/pages.ko/common/bssh.md @@ -0,0 +1,21 @@ +# bssh + +> 로컬 네트워크에서 SSH/VNC 서버를 검색하기 위한 GUI 도구. +> 참고: `bvnc` 및 `bshell`. +> 더 많은 정보: . + +- SSH 서버를 찾아보기: + +`bssh` + +- VNC 서버를 찾아보기: + +`bssh --vnc` + +- SSH 및 VNC 서버를 찾아보기: + +`bssh --shell` + +- 지정된 도메인에서 SSH 서버를 찾아보기: + +`bssh --domain {{도메인}}` diff --git a/pages.ko/common/btm.md b/pages.ko/common/btm.md new file mode 100644 index 00000000000000..f29ca996d4c9e7 --- /dev/null +++ b/pages.ko/common/btm.md @@ -0,0 +1,25 @@ +# btm + +> `top`에 대한 대안. +> `top`보다 가볍고 크로스 플랫폼이며 그래픽이 더 많이 존재하는 것을 목표로 함. +> 더 많은 정보: . + +- 기본 레이아웃 표시 (CPU, 메모리, 온도, 디스크, 네트워크 및 프로세스): + +`btm` + +- 기본 모드를 활성화하여, 차트를 제거하고 데이터를 압축 (`top`과 유사): + +`btm --basic` + +- 차트에 작은 점 대신 큰 점을 사용: + +`btm --dot_marker` + +- 배터리 충전 및 상태도 표시: + +`btm --battery` + +- 250 밀리초마다 새로 고치고 차트에 마지막 30초를 표시: + +`btm --rate 250 --default_time_value 30000` diff --git a/pages.ko/common/btop.md b/pages.ko/common/btop.md new file mode 100644 index 00000000000000..e53e7b04a07458 --- /dev/null +++ b/pages.ko/common/btop.md @@ -0,0 +1,21 @@ +# btop + +> CPU, 메모리, 디스크, 네트워크 및 프로세스에 대한 정보를 표시하는 리소스 모니터. +> `bpytop`의 C++ 버전. +> 더 많은 정보: . + +- `btop` 시작: + +`btop` + +- 지정된 사전 설정으로 `btop`을 시작: + +`btop {{[-p|--preset]}} {{0..9}}` + +- 16가지 색상과 TTY 친화적인 그래프 기호를 사용해, TTY 모드에서 `btop`을 시작: + +`btop {{[-t|--tty]}}` + +- 24비트 색상 모드 대신 256색 모드에서 `btop`을 시작: + +`btop {{[-l|--low-color]}}` diff --git a/pages.ko/common/builtin.md b/pages.ko/common/builtin.md new file mode 100644 index 00000000000000..ccf0583bda1ce9 --- /dev/null +++ b/pages.ko/common/builtin.md @@ -0,0 +1,8 @@ +# builtin + +> 내장 쉘을 실행. +> 더 많은 정보: . + +- 내장 쉘을 실행: + +`builtin {{명령어}}` diff --git a/pages.ko/common/buku.md b/pages.ko/common/buku.md new file mode 100644 index 00000000000000..f632ac3f74f6cd --- /dev/null +++ b/pages.ko/common/buku.md @@ -0,0 +1,24 @@ +# buku + +> 명령어 브라우저 독립적인 북마크 관리자. +> 더 많은 정보: . + +- "키워드"와 일치하고 "개인 정보 보호" 태그가 있는 모든 북마크를 표시: + +`buku {{키워드}} --stag {{개인 정보 보호}}` + +- "검색 엔진" 및 "개인 정보 보호" 태그가 포함된 북마크 추가: + +`buku --add {{https://example.com}} {{검색 엔진}}, {{개인 정보 보호}}` + +- 북마크 삭제: + +`buku --delete {{북마크_아이디}}` + +- 북마크를 편집하기 위한 편집기 열기: + +`buku --write {{북마크_아이디}}` + +- 북마크에서 "검색 엔진" 태그 제거: + +`buku --update {{북마크_아이디}} --tag {{-}} {{검색 엔진}}` diff --git a/pages.ko/common/bun.md b/pages.ko/common/bun.md new file mode 100644 index 00000000000000..408990e43d14a5 --- /dev/null +++ b/pages.ko/common/bun.md @@ -0,0 +1,37 @@ +# bun + +> JavaScript 런타임 및 툴킷. +> 번들러, 테스트 러너 및 패키지 관리자가 포함. +> 더 많은 정보: . + +- JavaScript 파일 또는 `package.json` 스크립트 실행: + +`bun run {{경로/대상/파일|스크립트_이름}}` + +- 단위 테스트 실행: + +`bun test` + +- `package.json`에 종속성으로 나열된 모든 패키지를 다운로드하고 설치: + +`bun install` + +- `package.json`에 의존성 추가: + +`bun add {{모듈_이름}}` + +- `package.json`로부터 의존성 제거: + +`bun remove {{모듈_이름}}` + +- 현재 디렉토리에 새로운 Bun 프로젝트 생성: + +`bun init` + +- REPL 시작 (대화형 쉘): + +`bun repl` + +- Bun을 최신버전으로 업그레이드: + +`bun upgrade` diff --git a/pages.ko/common/bundle.md b/pages.ko/common/bundle.md index 2b763c3a7ce7a5..8cd6b9cb9801bc 100644 --- a/pages.ko/common/bundle.md +++ b/pages.ko/common/bundle.md @@ -7,14 +7,30 @@ `bundle install` +- 현재 번들의 컨텍스트에서 명령을 실행: + +`bundle exec {{명령어}} {{인자}}` + - `Gemfile` 에 정의된 규칙에 따라 모든 gem을 업데이트 하고 `Gemfile.lock`을 재생성: `bundle update` -- `Gemfile`에 정의된 특정 gem을 업데이트: +- `Gemfile`에 정의된 하나 이상의 특정 gem을 업데이트: + +`bundle update {{gem_이름1}} {{gem_이름2}}` + +- `Gemfile`에 정의된 하나 이상의 특정 gem을 다음 패치 버전으로만 업데이트: + +`bundle update --patch {{gem_이름1}} {{gem_이름2}}` + +- `Gemfile`에서 지정된 그룹 내의 모든 gem을 업데이트: + +`bundle update --group {{development}}` + +- 최신 버전이 있는 `Gemfile`에 설치된 gem을 나열: -`bundle update --source {{gem명}}` +`bundle outdated` -- 새로운 gem의 스켈레톤 생성: +- 새로운 gem 스켈레톤을 생성: -`bundle gem {{gem명}}` +`bundle gem {{gem_이름}}` diff --git a/pages.ko/common/bundler.md b/pages.ko/common/bundler.md new file mode 100644 index 00000000000000..50721e9425e518 --- /dev/null +++ b/pages.ko/common/bundler.md @@ -0,0 +1,9 @@ +# bundler + +> Ruby 프로그래밍 언어의 의존성 관리자. +> `bundler`는 `bundle` 명령의 일반적인 이름이지만, 명령어 자체는 아님. +> 더 많은 정보: . + +- 원래 명령에 대한 문서 보기: + +`tldr bundle` diff --git a/pages.ko/common/bundletool-dump.md b/pages.ko/common/bundletool-dump.md new file mode 100644 index 00000000000000..b9879d016c67fc --- /dev/null +++ b/pages.ko/common/bundletool-dump.md @@ -0,0 +1,32 @@ +# bundletool dump + +> Android 애플리케이션 번들을 조작. +> 더 많은 정보: . + +- 기본 모듈의 `AndroidManifest.xml`을 표시: + +`bundletool dump manifest --bundle {{경로/대상/bundle.aab}}` + +- XPath를 사용해 `AndroidManifest.xml`의 특정 값을 표시: + +`bundletool dump manifest --bundle {{경로/대상/bundle.aab}} --xpath {{/manifest/@android:versionCode}}` + +- 특정 모듈의 `AndroidManifest.xml`을 표시: + +`bundletool dump manifest --bundle {{경로/대상/bundle.aab}} --module {{이름}}` + +- 애플리케이션 번들의 모든 리소스를 표시: + +`bundletool dump resources --bundle {{경로/대상/bundle.aab}}` + +- 특정 리소스에 대한 구성을 표시: + +`bundletool dump resources --bundle {{경로/대상/bundle.aab}} --resource {{type/name}}` + +- ID를 사용하여 특정 리소스에 대한 구성 및 값을 표시: + +`bundletool dump resources --bundle {{경로/대상/bundle.aab}} --resource {{0x7f0e013a}} --values` + +- 번들 구성 파일의 내용을 표시: + +`bundletool dump config --bundle {{경로/대상/bundle.aab}}` diff --git a/pages.ko/common/bundletool-validate.md b/pages.ko/common/bundletool-validate.md new file mode 100644 index 00000000000000..fde9a6d6486a06 --- /dev/null +++ b/pages.ko/common/bundletool-validate.md @@ -0,0 +1,8 @@ +# bundletool validate + +> Android 애플리케이션 번들 조작. +> 더 많은 정보: . + +- 번들을 확인하고, 이에 대한 자세한 정보를 표시: + +`bundletool validate --bundle {{경로/대상/bundle.aab}}` diff --git a/pages.ko/common/bundletool.md b/pages.ko/common/bundletool.md new file mode 100644 index 00000000000000..49c12ff1cfb44a --- /dev/null +++ b/pages.ko/common/bundletool.md @@ -0,0 +1,37 @@ +# bundletool + +> Android 애플리케이션 번들을 조작. +> `validate`와 같은 일부 하위 명0령에는 자체적인 사용법 문서가 존재. +> 더 많은 정보: . + +- 하위 명령어에 대한 도움말 표시: + +`bundletool help {{하위명령어}}` + +- 애플리케이션 번들에서 APK를 생성 (키 저장소 비밀번호를 묻는 메시지 표시): + +`bundletool build-apks --bundle {{경로/대상/bundle.aab}} --ks {{경로/대상/key.keystore}} --ks-key-alias {{key_alias}} --output {{경로/대상/file.apks}}` + +- 키스토어 비밀번호를 제공하는 애플리케이션 번들에서 APK를 생성: + +`bundletool build-apks --bundle {{경로/대상/bundle.aab}} --ks {{경로/대상/key.keystore}} --ks-key-alias {{key_alias}} --ks-pass {{pass:the_password}} --output {{경로/대상/file.apks}}` + +- 보편적인 사용을 위해 단 하나의 단일 APK를 포함하는 APK 생성: + +`bundletool build-apks --bundle {{경로/대상/bundle.aab}} --mode {{universal}} --ks {{경로/대상/key.keystore}} --ks-key-alias {{key_alias}} --output {{경로/대상/file.apks}}` + +- 에뮬레이터나 기기에 올바른 APK 조합을 설치: + +`bundletool install-apks --apks {{경로/대상/file.apks}}` + +- 애플리케이션의 다운로드 크기를 측정: + +`bundletool get-size total --apks {{경로/대상/file.apks}}` + +- 에뮬레이터 또는 장치에 대한 장치 사양 JSON 파일을 생성: + +`bundletool get-device-spec --output {{경로/대상/file.json}}` + +- 번들을 확인하고 이에 대한 자세한 정보를 표시: + +`bundletool validate --bundle {{경로/대상/bundle.aab}}` diff --git a/pages.ko/common/buzzphrase.md b/pages.ko/common/buzzphrase.md index 2cb5bddd3c6b50..3c22fab8351b40 100644 --- a/pages.ko/common/buzzphrase.md +++ b/pages.ko/common/buzzphrase.md @@ -11,6 +11,6 @@ `buzzphrase {{'{i} {v} {a} {N}'}}` -- 현재분사 동사[V] + 형용사[a] + 단수형 명사[n] + 마침[f] 형태로 포맷된 4개의 구문 출력: +- 현재분사 동사[V] + 형용사[a] + 단수형 명사[n] + 마침[f] 형태로 포맷된 `k`개의 구문 출력: -`buzzphrase {{4 '{V} {a} {n} {f}'}}` +`buzzphrase {{k}} {{'{V} {a} {n} {f}'}}` diff --git a/pages.ko/common/bvnc.md b/pages.ko/common/bvnc.md new file mode 100644 index 00000000000000..a930db246e5524 --- /dev/null +++ b/pages.ko/common/bvnc.md @@ -0,0 +1,21 @@ +# bvnc + +> 로컬 네트워크에서 SSH/VNC 서버를 검색하기 위한 GUI 도구. +> 참고: `bssh` 및 `bshell`. +> 더 많은 정보: . + +- VNC 서버 탐색: + +`bvnc` + +- SSH 서버 탐색: + +`bvnc --ssh` + +- VNC 및 SSH 서버 탐색: + +`bvnc --shell` + +- 지정된 도메인에서 VNC 서버를 찾음: + +`bvnc --domain {{도메인}}` diff --git a/pages.ko/common/bzegrep.md b/pages.ko/common/bzegrep.md new file mode 100644 index 00000000000000..b1eaada95bc7db --- /dev/null +++ b/pages.ko/common/bzegrep.md @@ -0,0 +1,28 @@ +# bzegrep + +> `egrep`을 사용하여 `bzip2` 압축 파일에서 확장 정규식 패턴을 찾음. +> 더 많은 정보: . + +- 압축 파일에서 확장된 정규식 (`?`, `+`, `{}`, `()` 및 `|` 지원)을 검색 (대소문자 구분): + +`bzegrep "{{검색_패턴}}" {{경로/대상/파일}}` + +- 압축 파일에서 확장된 정규식 (`?`, `+`, `{}`, `()` 및 `|` 지원)을 검색 (대소문자 구분하지 않음):: + +`bzegrep --ignore-case "{{검색_패턴}}" {{경로/대상/파일}}` + +- 패턴과 일치하지 않는 라인 검색: + +`bzegrep --invert-match "{{검색_패턴}}" {{경로/대상/파일}}` + +- 각 일치 항목의 파일 이름과 줄 번호를 인쇄: + +`bzegrep --with-filename --line-number "{{검색_패턴}}" {{경로/대상/파일}}` + +- 패턴과 일치하는 줄을 검색하여 일치하는 텍스트만 인쇄: + +`bzegrep --only-matching "{{검색_패턴}}" {{경로/대상/파일}}` + +- bzip2으로 압축된 tar 아카이브에서 파일을 반복적으로 검색하여 패턴을 찾음: + +`bzegrep --recursive "{{검색_패턴}}" {{경로/대상/파일}}` diff --git a/pages.ko/common/bzfgrep.md b/pages.ko/common/bzfgrep.md new file mode 100644 index 00000000000000..dae221f2926b53 --- /dev/null +++ b/pages.ko/common/bzfgrep.md @@ -0,0 +1,28 @@ +# bzfgrep + +> `fgrep`을 사용하여 `bzip2`로 압축된 파일에서 새로운 줄로 구분된 고정 문자열을 찾음. +> 더 많은 정보: . + +- 압축 파일에서 새로운 줄로 구분된 검색 문자열 목록과 일치하는 줄을 검색 (대소문자 구분): + +`bzfgrep "{{검색_문자열}}" {{경로/대상/파일}}` + +- 압축 파일에서 새로운 줄로 구분된 검색 문자열 목록과 일치하는 줄을 검색 (대소문자 구분하지 않음): + +`bzfgrep --ignore-case "{{검색_문자열}}" {{경로/대상/파일}}` + +- 압축 파일에서 새로운 줄로 구분된 검색 문자열 목록과 일치하지 않는 줄을 검색 : + +`bzfgrep --invert-match "{{검색_문자열}}" {{경로/대상/파일}}` + +- 각 일치 항목의 파일 이름과 줄 번호를 인쇄: + +`bzfgrep --with-filename --line-number "{{검색_문자열}}" {{경로/대상/파일}}` + +- 패턴과 일치하는 줄을 검색하여, 일치하는 텍스트만 인쇄: + +`bzfgrep --only-matching "{{검색_문자열}}" {{경로/대상/파일}}` + +- 주어진 문자열 목록에 대해 bzip2로 압축된 tar 아카이브에서 파일을 반복적으로 검색: + +`bzfgrep --recursive "{{검색_문자열}}" {{경로/대상/파일}}` diff --git a/pages.ko/common/bzgrep.md b/pages.ko/common/bzgrep.md new file mode 100644 index 00000000000000..980d92cbf73a12 --- /dev/null +++ b/pages.ko/common/bzgrep.md @@ -0,0 +1,32 @@ +# bzgrep + +> `grep`을 사용하여 `bzip2`로 압축된 파일에서 패턴을 찾음. +> 더 많은 정보: . + +- 압축 파일 내에서 패턴 검색: + +`bzgrep "{{검색_패턴}}" {{path/to/file}}` + +- 대소문자를 구분하지 않는 모드에서 확장 정규표현식 (`?`, `+`, `{}`, `()` 및 `|` 지원)을 사용: + +`bzgrep --extended-regexp --ignore-case "{{검색_패턴}}" {{경로/대상/파일}}` + +- 각 일치하는 전후 및 전후 3줄의 컨텍스트를 출력: + +`bzgrep --{{context|before-context|after-context}}={{3}} "{{검색_패턴}}" {{경로/대상/파일}}` + +- 각 일치 항목의 파일 이름과 줄 번호를 출력: + +`bzgrep --with-filename --line-number "{{검색_패턴}}" {{경로/대상/파일}}` + +- 패턴과 일치하는 줄을 검색하여 일치하는 텍스트만 출력: + +`bzgrep --only-matching "{{검색_패턴}}" {{경로/대상/파일}}` + +- bzip2로 압축된 tar 아카이브에서 파일을 반복적으로 검색하여 패턴을 찾음: + +`bzgrep --recursive "{{검색_패턴}}" {{경로/대상/tar/파일}}` + +- 패턴과 일치하지 않는 줄을 `stdin`으로 검색: + +`cat {{/path/to/bz/compressed/file}} | bzgrep --invert-match "{{검색_패턴}}"` diff --git a/pages.ko/common/bzip2.md b/pages.ko/common/bzip2.md index 96c84a79f91f7f..c7226ae93b1037 100644 --- a/pages.ko/common/bzip2.md +++ b/pages.ko/common/bzip2.md @@ -1,16 +1,32 @@ # bzip2 > 블록 정렬 파일 압축기. -> 더 많은 정보: . +> 더 많은 정보: . - 파일 압축하기: -`bzip2 {{경로/압축할_파일명}}` +`bzip2 {{경로/대상/압축할_파일}}` - 파일 압축해제하기: -`bzip2 -d {{경로/압축된_.bz2파일}}` +`bzip2 -d {{경로/대상/압축된_파일.bz2}}` - 파일을 표준 출력으로 압축해제: -`bzip2 -dc {{경로/압축된_.bz2파일}}` +`bzip2 -dc {{경로/대상/압축된_파일.bz2}}` + +- 압축된 파일 내 각 파일의 무결성 테스트: + +`bzip2 --test {{경로/대상/압축된_파일.bz2}}` + +- 압축된 파일의 각 파일에 대한 압축률과 자세한 정보 표시: + +`bzip2 --verbose {{경로/대상/압축된_파일.bz2}}` + +- 기존 파일을 덮어쓰면서 파일 압축 해제: + +`bzip2 --force {{경로/대상/압축된_파일.bz2}}` + +- 도움말 표시: + +`bzip2 -h` diff --git a/pages.ko/common/bzip3.md b/pages.ko/common/bzip3.md new file mode 100644 index 00000000000000..04541183a63f14 --- /dev/null +++ b/pages.ko/common/bzip3.md @@ -0,0 +1,32 @@ +# bzip3 + +> 효율적인 파일 압축 도구. +> 더 많은 정보: . + +- 파일 압축: + +`bzip3 {{경로/대상/압축_목적_파일}}` + +- 파일 압축 해제([d]ecompress): + +`bzip3 {{[-d|--decode]}} {{경로/대상/압축된_파일.bz3}}` + +- 파일을 `stdout`([c])으로 압축 해제: + +`bzip3 {{[-dc|--decode --stdout]}} {{경로/대상/압축된_파일.bz3}}` + +- 아카이브 파일 내 각 파일의 무결성을 테스트: + +`bzip3 {{[-t|--test]}} {{경로/대상/압축된_파일.bz3}}` + +- 자세한 정보로 처리된 각 파일의 압축 비율을 표시: + +`bzip3 {{[-v|--verbose]}} {{경로/대상/압축된_파일들.bz3}}` + +- 기존 파일을 덮어쓰면서 압축을 해제: + +`bzip3 {{[-d|--decode]}} {{[-f--force]}} {{경로/대상/압축된_파일.bz3}}` + +- 도움말 표시: + +`bzip3 {{[-h|--help]}}` diff --git a/pages.ko/common/c99.md b/pages.ko/common/c99.md index 8bf791f1c065f8..362f9132f7454e 100644 --- a/pages.ko/common/c99.md +++ b/pages.ko/common/c99.md @@ -1,6 +1,7 @@ # c99 > ISO C 표준에 따라 C 프로그램을 컴파일한다. +> 더 많은 정보: . - 원본 파일 컴파일 및 실행 파일 생성: diff --git a/pages.ko/common/cabal.md b/pages.ko/common/cabal.md index 85a079573d70b0..d7e555e9868445 100644 --- a/pages.ko/common/cabal.md +++ b/pages.ko/common/cabal.md @@ -2,7 +2,7 @@ > Haskell 패키지 인프라 (Cabal)에 대한 명령어 라인 인터페이스. > Hackage 패키지 저장소에서 Haskell 프로젝트 및 Cabal패키지 관리. -> 더 많은 정보: . +> 더 많은 정보: . - Hackage에서 패키지 검색 및 리스트: diff --git a/pages.ko/common/cadaver.md b/pages.ko/common/cadaver.md new file mode 100644 index 00000000000000..1cd68eda9760d9 --- /dev/null +++ b/pages.ko/common/cadaver.md @@ -0,0 +1,16 @@ +# cadaver + +> Unix용 WebDAV 클라이언트. +> 더 많은 정보: . + +- 서버 에 연결하고, 루트 컬렉션을 연결: + +`cadaver {{http://dav.example.com/}}` + +- 특정 포트를 사용하여 서버에 연결하고 `/foo/bar/` 컬렉션을 오픈: + +`cadaver {{http://dav.example.com:8022/foo/bar/}}` + +- SSL를 사용해 서버에 연결: + +`cadaver {{https://davs.example.com/}}` diff --git a/pages.ko/common/caddy.md b/pages.ko/common/caddy.md new file mode 100644 index 00000000000000..123977335d00f8 --- /dev/null +++ b/pages.ko/common/caddy.md @@ -0,0 +1,28 @@ +# caddy + +> Go로 작성된 자동 HTTPS를 갖춘 엔터프라이즈급 오픈 소스 웹 서버. +> 더 많은 정보: . + +- 포어그라운드에서 Caddy를 시작: + +`caddy run` + +- 지정된 Caddyfile로 Caddy를 시작: + +`caddy run --config {{경로/대상/Caddyfile}}` + +- 백그라운드에서 Caddy를 시작: + +`caddy start` + +- 백그라운드 Caddy 프로세스를 중지: + +`caddy stop` + +- 탐색 가능한 인터페이스를 사용하여 지정된 포트에서 간단한 파일 서버를 실행: + +`caddy file-server --listen :{{8000}} --browse` + +- 리버스 프록시 서버 실행: + +`caddy reverse-proxy --from :{{80}} --to localhost:{{8000}}` diff --git a/pages.ko/common/cal.md b/pages.ko/common/cal.md new file mode 100644 index 00000000000000..8b3a493c2ba59a --- /dev/null +++ b/pages.ko/common/cal.md @@ -0,0 +1,17 @@ +# cal + +> 현재 날짜가 강조 표시된 달력을 표시. +> 참고: `gcal`. +> 더 많은 정보: . + +- 이번 달의 달력을 표시: + +`cal` + +- 특정 연도의 달력 표시: + +`cal {{연도}}` + +- 특정 월과 연도에 대한 달력 표시: + +`cal {{월}} {{연도}}` diff --git a/pages.ko/common/calc.md b/pages.ko/common/calc.md new file mode 100644 index 00000000000000..a8d8812271b678 --- /dev/null +++ b/pages.ko/common/calc.md @@ -0,0 +1,36 @@ +# calc + +> 터미널의 대화형 임의 정밀도 계산기. +> 더 많은 정보: . + +- 대화형 모드에서 `calc`을 시작: + +`calc` + +- 비대화형 모드에서 계산을 수행: + +`calc '{{85 * (36 / 4)}}'` + +- 출력 형식을 지정하지 마세요 (파이프([p]ipes)와 함께 사용하기 위한 목적): + +`calc -p '{{4/3 * pi() * 5^3}}'` + +- 계산을 수행한 다음 대화형([i]nteractive) 모드로 전환: + +`calc -i '{{sqrt(2)}}'` + +- 특정 권한 모드([m]ode)에서 `calc`을 실행 (0부터 7까지, 기본값은 7): + +`calc -m {{모드}}` + +- `calc`에 대한 소개 보기: + +`calc help intro` + +- `calc`에 대한 개요 보기: + +`calc help overview` + +- `calc` 매뉴얼 오픈: + +`calc help` diff --git a/pages.ko/common/calendar.md b/pages.ko/common/calendar.md new file mode 100644 index 00000000000000..5d5ff37c7dc84f --- /dev/null +++ b/pages.ko/common/calendar.md @@ -0,0 +1,20 @@ +# calendar + +> 캘린더 파일에서 예정된 이벤트를 표시. +> 더 많은 정보: . + +- 기본 캘린더에서 오늘과 내일 (또는 주말, 금요일마다) 이벤트를 표시: + +`calendar` + +- 앞으로 30일 동안의 이벤트를 표시하는 미리([A]head) 보기: + +`calendar -A {{30}}` + +- 지난 7일 동안의 이벤트를 표시하는 되돌아([B]ack) 보기: + +`calendar -B {{7}}` + +- 사용자 정의 캘린더 파일([f]ile)의 이벤트 표시: + +`calendar -f {{경로/대상/파일}}` diff --git a/pages.ko/common/calibre-server.md b/pages.ko/common/calibre-server.md index 49e3f09a126082..25b0bbba592dd0 100644 --- a/pages.ko/common/calibre-server.md +++ b/pages.ko/common/calibre-server.md @@ -5,11 +5,11 @@ > Calibre 전자책 라이브러리의 일부. > 더 많은 정보: . -- 전자책을 배포할 서버 시작. http://localhost:8080에 연결: +- 전자책을 배포할 서버 시작. 에 연결: `calibre-server` -- 다른 포트에서 서버 시작. http://localhost:port에 연결: +- 다른 포트에서 서버 시작. 에 연결: `calibre-server --port {{포트번호}}` diff --git a/pages.ko/common/calibredb.md b/pages.ko/common/calibredb.md index d7c2c86551658c..6723dde71e280a 100644 --- a/pages.ko/common/calibredb.md +++ b/pages.ko/common/calibredb.md @@ -18,8 +18,12 @@ - 라이브러리에 전자책 하나 이상 추가하기: -`calibredb add {{파일명1 파일명2 …}}` +`calibredb add {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 디렉토리 내의 모든 전자책을 재귀적으로 라이브러리에 추가: + +`calibredb add {{[-r|--recurse]}} {{경로/대상/디렉토리}}` - 라이브러리에서 전자책을 하나 이상 제거하기. 전자책 ID 필요(위를 참조하시오): -`calibredb remove {{id1 id2 …}}` +`calibredb remove {{id1 id2 ...}}` diff --git a/pages.ko/common/calligraflow.md b/pages.ko/common/calligraflow.md new file mode 100644 index 00000000000000..edef13defae533 --- /dev/null +++ b/pages.ko/common/calligraflow.md @@ -0,0 +1,17 @@ +# calligraflow + +> Calligra의 흐름도 및 다이어그램 응용 프로그램. +> 참고: `calligrastage`, `calligrawords`, `calligrasheets`. +> 더 많은 정보: . + +- 순서도 및 다이어그램 애플리케이션을 시작: + +`calligraflow` + +- 특정 파일 열기: + +`calligraflow {{경로/대상/파일}}` + +- 도움말 또는 버전 표시: + +`calligraflow --{{도움말|버전}}` diff --git a/pages.ko/common/calligrasheets.md b/pages.ko/common/calligrasheets.md new file mode 100644 index 00000000000000..78b871eb4d32d0 --- /dev/null +++ b/pages.ko/common/calligrasheets.md @@ -0,0 +1,17 @@ +# calligrasheets + +> Calligra의 스프레드 시트 애플리케이션. +> 참고: `calligraflow`, `calligrastage`, `calligrawords`. +> 더 많은 정보: . + +- 스프레드시트 애플리케이션을 실행: + +`calligrasheets` + +- 특정 스프레드시트 열기: + +`calligrasheets {{경로/대상/스프레드시트}}` + +- 도움말 또는 버전 표시: + +`calligrasheets --{{help|version}}` diff --git a/pages.ko/common/calligrastage.md b/pages.ko/common/calligrastage.md new file mode 100644 index 00000000000000..ad80d85e7e127a --- /dev/null +++ b/pages.ko/common/calligrastage.md @@ -0,0 +1,17 @@ +# calligrastage + +> Calligra의 프레젠테이션 애플리케이션. +> 참고: `calligraflow`, `calligrawords`, `calligrasheets`. +> 더 많은 정보: . + +- 프레젠테이션 애플리케이션 싱ㄹ행: + +`calligrastage` + +- 특정 프레젠테이션 열기: + +`calligrastage {{경로/대상/프레젠테이션}}` + +- 도움말 또는 버전 표시: + +`calligrastage --{{help|version}}` diff --git a/pages.ko/common/calligrawords.md b/pages.ko/common/calligrawords.md new file mode 100644 index 00000000000000..b33586412e1540 --- /dev/null +++ b/pages.ko/common/calligrawords.md @@ -0,0 +1,17 @@ +# calligrawords + +> Calligra의 워드 프로세서 응용 프로그램. +> 참고: `calligraflow`, `calligrastage`, `calligrasheets`. +> 더 많은 정보: . + +- 워드 프로세서 애플리케이션을 실행: + +`calligrawords` + +- 특정 문서 열기: + +`calligrawords {{경로/대상/문서}}` + +- 도움말 또는 버전 표시: + +`calligrawords --{{help|version}}` diff --git a/pages.ko/common/cancel.md b/pages.ko/common/cancel.md new file mode 100644 index 00000000000000..b90cb82b54fdec --- /dev/null +++ b/pages.ko/common/cancel.md @@ -0,0 +1,33 @@ +# cancel + +> 프린트 작업 취소. +> 참고: `lp`, `lpmove`, `lpstat`. +> 더 많은 정보: . + +- 기본 프린터의 현재 작업을 취소 (`lpoptions -d {{printer}}`로 설정): + +`cancel` + +- 특정 사용자([u]ser)가 소유한 기본 프린터의 작업을 취소: + +`cancel -u {{사용자명}}` + +- 특정 프린터의 현재 작업을 취소: + +`cancel {{프린터}}` + +- 특정 프린터에서 특정 작업을 취소: + +`cancel {{프린터}}-{{작업_아이디}}` + +- 모든 프린터의 모든([a]ll) 작업을 취소: + +`cancel -a` + +- 특정 프린터의 모든([a]ll) 작업을 취소: + +`cancel -a {{프린터}}` + +- 특정 서버의 현재 작업을 취소한 다음 작업 데이터 파일을 삭제([x]): + +`cancel -h {{서버}} -x` diff --git a/pages.ko/common/carbon-now.md b/pages.ko/common/carbon-now.md new file mode 100644 index 00000000000000..2d2fc5a0c13af7 --- /dev/null +++ b/pages.ko/common/carbon-now.md @@ -0,0 +1,36 @@ +# carbon-now + +> 아름다운 코드 이미지 생성. +> 더 많은 정보: . + +- 기본 설정을 사용하여 파일에서 이미지를 만듬: + +`carbon-now {{경로/대상/파일}}` + +- 기본 설정을 사용해 클립보드의 텍스트에서 이미지를 생성: + +`carbon-now --from-clipboard` + +- 기본 설정을 사용해 `stdin`에서 이미지를 만들고 클립보드에서 복사: + +`{{입력}} | carbon-now --to-clipboard` + +- 사용자 정의 설정을 위해 대화형으로([i]nteractively) 이미지를 생성하고, 선택적으로 사전 설정을 저장: + +`carbon-now -i {{경로/대상/파일}}` + +- 이전에 저장된 프리셋([p]reset)에서 이미지 생성: + +`carbon-now -p {{preset}} {{경로/대상/파일}}` + +- 지정된 텍스트 줄에서 시작([s]tart): + +`carbon-now -s {{line}} {{경로/대상/파일}}` + +- 지정된 텍스트 줄에서 종료([e]nd): + +`carbon-now -e {{line}} {{경로/대상/파일}}` + +- 이미지를 저장하는 대신, 브라우저에서 열기: + +`carbon-now --open {{경로/대상/파일}}` diff --git a/pages.ko/common/cargo-add.md b/pages.ko/common/cargo-add.md new file mode 100644 index 00000000000000..347469f3a9b456 --- /dev/null +++ b/pages.ko/common/cargo-add.md @@ -0,0 +1,32 @@ +# cargo add + +> Rust 프로젝트의 `Cargo.toml` 매니페스트에 종속성을 추가. +> 더 많은 정보: . + +- 현재 프로젝트에 최신 버전의 종속성을 추가: + +`cargo add {{의존성}}` + +- 특정 버전의 종속성을 추가: + +`cargo add {{의존성}}@{{버전}}` + +- 종속성을 추가하고 하나 이상의 특정 기능을 활성화: + +`cargo add {{의존성}} --features {{기능_1}},{{기능_2}}` + +- 선택적 종속성을 추가하면, 크레이트의 기능으로 노출됨: + +`cargo add {{의존성}} --optional` + +- 로컬 크레이트를 종속성으로 추가: + +`cargo add --path {{경로/대상/크레이트_디렉토리}}` + +- 개발 또는 빌드 종속성을 추가: + +`cargo add {{의존성}} --{{dev|build}}` + +- 모든 기본 기능이 비활성화된 종속성을 추가: + +`cargo add {{의존성}} --no-default-features` diff --git a/pages.ko/common/cargo-bench.md b/pages.ko/common/cargo-bench.md new file mode 100644 index 00000000000000..63ce40643232ca --- /dev/null +++ b/pages.ko/common/cargo-bench.md @@ -0,0 +1,36 @@ +# cargo bench + +> 벤치마크를 컴파일하고 실행. +> 더 많은 정보: . + +- 패키지의 모든 벤치마크를 실행: + +`cargo bench` + +- 벤치마크가 실패하더라도 중단하지 않음: + +`cargo bench --no-fail-fast` + +- 컴파일하지만, 벤치마크를 실행하지 않음: + +`cargo bench --no-run` + +- 지정된 벤치마크를 벤치마킹: + +`cargo bench --bench {{벤치마크}}` + +- 주어진 프로필을 사용한 벤치마크 (기본값: `bench`): + +`cargo bench --profile {{프로필}}` + +- 모든 예시 타겟을 벤치마킹: + +`cargo bench --examples` + +- 모든 바이너리 타겟을 벤치마킹: + +`cargo bench --bins` + +- 패키지 라이브러리를 벤치마킹: + +`cargo bench --lib` diff --git a/pages.ko/common/cargo-build.md b/pages.ko/common/cargo-build.md new file mode 100644 index 00000000000000..3690a8ce4850bc --- /dev/null +++ b/pages.ko/common/cargo-build.md @@ -0,0 +1,32 @@ +# cargo build + +> 로컬 패키지와 모든 종속성을 컴파일. +> 더 많은 정보: . + +- 로컬 경로의 `Cargo.toml` 매니페이스트 파일에 의해 정의된 패키지를 빌드: + +`cargo {{[b|build]}}` + +- 최적화를 통해 릴리스 모드에서 아티팩트 빌드: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- `Cargo.lock`이 최신 버전이어야 함: + +`cargo {{[b|build]}} --locked` + +- 작업공간에서 모든 패키지를 빌드: + +`cargo {{[b|build]}} --workspace` + +- 특정 패키지를 빌드: + +`cargo {{[b|build]}} {{[-p|--package]}} {{패키지}}` + +- 지정된 바이너리만 빌드: + +`cargo {{[b|build]}} --bin {{이름}}` + +- 지정된 테스트 대상만 빌드: + +`cargo {{[b|build]}} --test {{테스트이름}}` diff --git a/pages.ko/common/cargo-check.md b/pages.ko/common/cargo-check.md new file mode 100644 index 00000000000000..64ee7fec6a5378 --- /dev/null +++ b/pages.ko/common/cargo-check.md @@ -0,0 +1,24 @@ +# cargo check + +> 로컬 패키지와 모든 종속 항목에 오류가 있는지 확인. +> 더 많은 정보: . + +- 현재 패키지 검사: + +`cargo {{[c|check]}}` + +- 모든 테스트 검사: + +`cargo {{[c|check]}} --tests` + +- `tests/integration_test1.rs`에서 통합 테스트를 확인: + +`cargo {{[c|check]}} --test {{통합_테스트1}}` + +- `feature1` 및 `feature2` 기능이 포함된 현재 패키지를 확인: + +`cargo {{[c|check]}} {{[-F|--features]}} {{기능1,기능2}}` + +- 기본 기능이 비활성화된 현재 패키지 확인: + +`cargo {{[c|check]}} --no-default-features` diff --git a/pages.ko/common/cargo-clean.md b/pages.ko/common/cargo-clean.md new file mode 100644 index 00000000000000..d985b77b8c43c0 --- /dev/null +++ b/pages.ko/common/cargo-clean.md @@ -0,0 +1,20 @@ +# cargo clean + +> `target` 디렉터리에서 생성된 아티팩트를 제거. +> 더 많은 정보: . + +- 전체 `target` 디렉터리를 제거: + +`cargo clean` + +- 문서 아티팩트 제거 (`target/doc` 디렉터리): + +`cargo clean --doc` + +- 릴리스 아티팩트 제거 (`target/release` 디렉터리): + +`cargo clean --release` + +- 지정된 프로필의 디렉터리에서 아티팩트를 제거 (이 경우, `target/debug`): + +`cargo clean --profile {{dev}}` diff --git a/pages.ko/common/cargo-clippy.md b/pages.ko/common/cargo-clippy.md new file mode 100644 index 00000000000000..ece88ef19f500a --- /dev/null +++ b/pages.ko/common/cargo-clippy.md @@ -0,0 +1,36 @@ +# cargo clippy + +> 일반적인 실수를 포착하고 Rust 코드를 개선하기 위한 린트 모음. +> 더 많은 정보: . + +- 현재 디렉터리의 코드에 대한 검사를 실행: + +`cargo clippy` + +- `Cargo.lock`이 최신 버전이어야 함: + +`cargo clippy --locked` + +- 작업공간의 모든 패키지에 대해 검사 실행: + +`cargo clippy --workspace` + +- Run checks for a package: + +`cargo clippy --package {{패키지}}` + +- 린트 그룹에 대한 검사 실행 ( 참조): + +`cargo clippy -- --warn clippy::{{린트_그룹}}` + +- 경고를 오류로 처리: + +`cargo clippy -- --deny warnings` + +- 검사를 실행하고 경고를 무시: + +`cargo clippy -- --allow warnings` + +- Clippy 제안을 자동으로 적용: + +`cargo clippy --fix` diff --git a/pages.ko/common/cargo-doc.md b/pages.ko/common/cargo-doc.md new file mode 100644 index 00000000000000..57a7fdce3cf390 --- /dev/null +++ b/pages.ko/common/cargo-doc.md @@ -0,0 +1,20 @@ +# cargo doc + +> Rust 패키지의 문서를 작성. +> 더 많은 정보: . + +- 현재 프로젝트와 모든 종속성에 대한 문서를 작성: + +`cargo {{[d|doc]}}` + +- 종속성에 대한 문서를 작성하지 않음: + +`cargo {{[d|doc]}} --no-deps` + +- 브라우저에서 문서를 빌드하고 오픈: + +`cargo {{[d|doc]}} --open` + +- 특정 패키지의 문서를 빌드하고 확인: + +`cargo {{[d|doc]}} --open {{[-p|--package]}} {{패키지}}` diff --git a/pages.ko/common/cargo-fetch.md b/pages.ko/common/cargo-fetch.md new file mode 100644 index 00000000000000..97ed4ae13730e1 --- /dev/null +++ b/pages.ko/common/cargo-fetch.md @@ -0,0 +1,12 @@ +# cargo fetch + +> 네트워크에서 패키지의 종속성을 가져옴. +> 더 많은 정보: . + +- `Cargo.lock`에 지정된 종속성 가져오기 (모든 대상에 대해): + +`cargo fetch` + +- 지정된 대상에 대한 종속성을 가져옴: + +`cargo fetch --target {{타겟_아키텍처_정보}}` diff --git a/pages.ko/common/cargo-fix.md b/pages.ko/common/cargo-fix.md new file mode 100644 index 00000000000000..25b76ad5519faf --- /dev/null +++ b/pages.ko/common/cargo-fix.md @@ -0,0 +1,28 @@ +# cargo fix + +> `rustc`에서 보고된 린트 경고를 자동으로 수정. +> 더 많은 정보: . + +- 이미 컴파일러 오류가 있는 경우에도 코드를 수정: + +`cargo fix --broken-code` + +- 작업 디렉터리에 변경 사항이 있어도 코드를 수정: + +`cargo fix --allow-dirty` + +- 패키지를 다음 Rust 에디션으로 마이그래이션: + +`cargo fix --edition` + +- 패키지 라이브러리 수정: + +`cargo fix --lib` + +- 지정된 통합 테스트 수정: + +`cargo fix --test {{이름}}` + +- 작업공간의 모든 멤버를 수정: + +`cargo fix --workspace` diff --git a/pages.ko/common/cargo-fmt.md b/pages.ko/common/cargo-fmt.md new file mode 100644 index 00000000000000..5a346a3e1e74ee --- /dev/null +++ b/pages.ko/common/cargo-fmt.md @@ -0,0 +1,16 @@ +# cargo fmt + +> Rust 프로젝트의 모든 소스 파일에 대해 `rustfmt`를 실행. +> 더 많은 정보: . + +- 모든 소스 파일 포맷: + +`cargo fmt` + +- 파일에 쓰지 않고 포맷 오류를 확인: + +`cargo fmt --check` + +- 각 `rustfmt` 호출에 인수를 전달: + +`cargo fmt -- {{rustfmt_인수}}` diff --git a/pages.ko/common/cargo-generate-lockfile.md b/pages.ko/common/cargo-generate-lockfile.md new file mode 100644 index 00000000000000..9b897aad2e1c57 --- /dev/null +++ b/pages.ko/common/cargo-generate-lockfile.md @@ -0,0 +1,9 @@ +# cargo generate-lockfile + +> 현재 패키지에 대한 `Cargo.lock` 파일을 생성. `cargo update`와 유사하지만, 옵션이 더 적음. +> 잠금 파일이 이미 존재하는 경우, 모든 패키지의 최신 버전으로 다시 빌드됨. +> 더 많은 정보: . + +- 모든 패키지의 최신 버전으로 `Cargo.lock` 파일을 생성: + +`cargo generate-lockfile` diff --git a/pages.ko/common/cargo-help.md b/pages.ko/common/cargo-help.md new file mode 100644 index 00000000000000..3b2b4cff801f99 --- /dev/null +++ b/pages.ko/common/cargo-help.md @@ -0,0 +1,12 @@ +# cargo help + +> `cargo` 및 해당 하위 명령에 대한 도움말을 표시. +> 더 많은 정보: . + +- 일반 도움말 표시: + +`cargo help` + +- 하위 명령에 대한 도움말 표시: + +`cargo help {{하위명령어}}` diff --git a/pages.ko/common/cargo-init.md b/pages.ko/common/cargo-init.md new file mode 100644 index 00000000000000..5b82790f8aa358 --- /dev/null +++ b/pages.ko/common/cargo-init.md @@ -0,0 +1,25 @@ +# cargo init + +> 새로운 Cargo 패키지를 생성. +> `cargo new`와 동일하지만, 디렉터리 지정은 선택 사항. +> 더 많은 정보: . + +- 현재 디렉터리의 바이너리 대상을 사용하여 Rust 프로젝트를 초기화: + +`cargo init` + +- 지정된 디렉터리의 바이너리 대상을 사용해 Rust 프로젝트를 초기화: + +`cargo init {{경로/대상/디렉터리}}` + +- 현재 디렉터리의 라이브러리 대상을 사용해 Rust 프로젝트를 초기화: + +`cargo init --lib` + +- 프로젝트 디렉터리에서 버전 제어 시스템 저장소를 초기화 (기본값: `git`): + +`cargo init --vcs {{git|hg|pijul|fossil|none}}` + +- 패키지 이름 설정 (기본값: 디렉터리 이름): + +`cargo init --name {{이름}}` diff --git a/pages.ko/common/cargo-install.md b/pages.ko/common/cargo-install.md new file mode 100644 index 00000000000000..78d863b4a544bc --- /dev/null +++ b/pages.ko/common/cargo-install.md @@ -0,0 +1,20 @@ +# cargo install + +> Rust 바이너리를 빌드하고 설치. +> 더 많은 정보: . + +- 에서 패키지를 설치 (버전은 선택사항 - 기본적으로 최신버전): + +`cargo install {{패키지}}@{{버전}}` + +- 지정된 Git 저장소에서 패키지를 설치: + +`cargo install --git {{레포지토리_주소}}` + +- Git 저장소에서 설치할 떄 지정된 분기/태그/커밋에서 빌드: + +`cargo install --git {{레포지토리_주소}} --{{branch|tag|rev}} {{브랜치_이름|태그|커밋_해시}}` + +- 설치된 모든 패키지와 해당 버전을 나열: + +`cargo install --list` diff --git a/pages.ko/common/cargo-locate-project.md b/pages.ko/common/cargo-locate-project.md new file mode 100644 index 00000000000000..556f4d3ef49712 --- /dev/null +++ b/pages.ko/common/cargo-locate-project.md @@ -0,0 +1,21 @@ +# cargo locate-project + +> 프로젝트의 `Cargo.toml` 매니페스트에 대한 전체 경로를 인쇄. +> 프로젝트가 작업공간의 일부인 경우, 작업공간의 매니페스트가 아닌 프로젝트의 매니페스트가 표시됨. +> 더 많은 정보: . + +- `Cargo.toml` 매니페스트에 대한 전체 경로가 포함된 JSON 객체를 표시: + +`cargo locate-project` + +- 지정된 형식으로 프로젝트 경로를 표시: + +`cargo locate-project --message-format {{plain|json}}` + +- 현재 작업공간 멤버가 아닌 작업공간 루트에 있는 `Cargo.toml` 매니페스트를 표시: + +`cargo locate-project --workspace` + +- 특정 디렉터리의 `Cargo.toml` 매니페스트를 표시: + +`cargo locate-project --manifest-path {{경로/대상/Cargo.toml}}` diff --git a/pages.ko/common/cargo-login.md b/pages.ko/common/cargo-login.md new file mode 100644 index 00000000000000..614a8d7534590a --- /dev/null +++ b/pages.ko/common/cargo-login.md @@ -0,0 +1,13 @@ +# cargo login + +> 레지스트리에서 로컬로 API 토큰을 저장. +> 토큰은 패키지 레지스트리를 인증하는 데 사용됨. `cargo logout`을 사용하여 제거할 수 있음 . +> 더 많은 정보: . + +- 로컬 자격 증명 저장소 (`$CARGO_HOME/credentials.toml`에 위치)에 API 토큰을 추가: + +`cargo login` + +- 지정된 레지스트리를 사용 (레지스트리 이름은 구성에서 정의할 수 있음 - 기본값은 ): + +`cargo login --registry {{이름}}` diff --git a/pages.ko/common/cargo-logout.md b/pages.ko/common/cargo-logout.md new file mode 100644 index 00000000000000..d745e3f78ef608 --- /dev/null +++ b/pages.ko/common/cargo-logout.md @@ -0,0 +1,13 @@ +# cargo logout + +> 레지스트리에서 로컬로 API 토큰을 제거. +> 토큰은 패키지 레지스트리를 인증하는 데 사용됨. `cargo login`을 사용하여 다시 추가할 수 있음. +> 더 많은 정보: . + +- 로컬 자격 증명 저장소 (`$CARGO_HOME/credentials.toml`에 위치)에서 API 토큰을 제거: + +`cargo logout` + +- 지정된 레지스트리를 사용 (레지스트리 이름은 구성에서 정의할 수 있음 - 기본값은 ): + +`cargo logout --registry {{이름}}` diff --git a/pages.ko/common/cargo-metadata.md b/pages.ko/common/cargo-metadata.md new file mode 100644 index 00000000000000..aa0551ca2614e7 --- /dev/null +++ b/pages.ko/common/cargo-metadata.md @@ -0,0 +1,21 @@ +# cargo metadata + +> 현재 패키지의 작업공간 멤버와 해결된 종속성을 JSON으로 출력. +> 참고: 출력 형식은 Cargo의 향후 버전에서 변경될 수 있음. +> 더 많은 정보: . + +- 현재 패키지의 작업공간 멤버 및 해결된 종속성을 출력: + +`cargo metadata` + +- 작업공간 멤버만 출력하고 종속성을 가져오지 않음: + +`cargo metadata --no-deps` + +- 지정된 버전에 따라 특정 형식으로 메타데이터를 인쇄: + +`cargo metadata --format-version {{버전}}` + +- 주어진 타겟 트리플에 대한 종속성만 포함하는 `resolve` 필드로 메타데이터를 출력 (참고: `packages` 배열에는 여전히 모든 대상에 대한 종속성이 포함됨): + +`cargo metadata --filter-platform {{타겟_아키텍처_정보}}` diff --git a/pages.ko/common/cargo-new.md b/pages.ko/common/cargo-new.md new file mode 100644 index 00000000000000..bf107a5d98f27d --- /dev/null +++ b/pages.ko/common/cargo-new.md @@ -0,0 +1,9 @@ +# cargo new + +> 새로운 Cargo 패키지를 생성. +> `cargo init`과 동일하지만, 디렉터리를 지정해야 함. +> 더 많은 정보: . + +- 바이너리 타겟으로 새로운 Rust 프로젝트를 생성: + +`cargo new {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/cargo-owner.md b/pages.ko/common/cargo-owner.md new file mode 100644 index 00000000000000..d1eb4da32fdf3d --- /dev/null +++ b/pages.ko/common/cargo-owner.md @@ -0,0 +1,20 @@ +# cargo owner + +> 레지스트리에서 크레이트의 소유자를 관리. +> 더 많은 정보: . + +- 특정 사용자나 팀을 소유자로 초대: + +`cargo owner --add {{사용자명|github:조직_이름:팀_이름}} {{크레이트}}` + +- 지정된 사용자 또는 팀을 소유자로 제거: + +`cargo owner --remove {{사용자명|github:조직_이름:팀_이름}} {{크레이트}}` + +- 크레이트 소유자 목록: + +`cargo owner --list {{크레이트}}` + +- 지정된 레지스트리를 사용 (레지스트리 이름은 구성에서 정의할 수 있음 - 기본값은 ): + +`cargo owner --registry {{이름}}` diff --git a/pages.ko/common/cargo-package.md b/pages.ko/common/cargo-package.md new file mode 100644 index 00000000000000..6364ac3223005c --- /dev/null +++ b/pages.ko/common/cargo-package.md @@ -0,0 +1,13 @@ +# cargo package + +> 로컬 패키지를 배포 가능한 tarball (`.crate` 파일)로 어셈블. +> `cargo publish --dry-run`과 유사하지만, 더 많은 옵션이 있음. +> 더 많은 정보: . + +- 검사를 수행하고 `.crate` 파일을 생성 (`cargo publish --dry-run`과 동일): + +`cargo package` + +- 실제로 tarball을 생성하지 않고 tarball에 포함될 파일을 표시: + +`cargo package --list` diff --git a/pages.ko/common/cargo-pkgid.md b/pages.ko/common/cargo-pkgid.md new file mode 100644 index 00000000000000..e7136429be374c --- /dev/null +++ b/pages.ko/common/cargo-pkgid.md @@ -0,0 +1,12 @@ +# cargo pkgid + +> 현재 작업공간의 패키지 또는 종속성에 대한 정규화된 패키지 ID 지정자를 출력. +> 더 많은 정보: . + +- 현재 프로젝트에 대한 정규화된 패키지 사양을 출력: + +`cargo pkgid` + +- 지정된 패키지에 대한 정규화된 패키지 사양을 출력: + +`cargo pkgid {{부분_패키지사양}}` diff --git a/pages.ko/common/cargo-publish.md b/pages.ko/common/cargo-publish.md new file mode 100644 index 00000000000000..75cfc832426a1e --- /dev/null +++ b/pages.ko/common/cargo-publish.md @@ -0,0 +1,17 @@ +# cargo publish + +> 패키지를 레지스트리에 업로드. +> 참고: 패키지를 게시하기 전에 `cargo login`을 사용하여 인증 토큰을 추가해야 함. +> 더 많은 정보: . + +- 검사를 수행하고, `.crate` 파일을 생성하여 레지스트리에 업로드: + +`cargo publish` + +- 검사를 수행하고, `.crate` 파일을 생성하여 레지스트리에 업로드하지 않음 (`cargo package`와 동일): + +`cargo publish --dry-run` + +- 지정된 레지스트리를 사용함 (레지스트리 이름은 구성에서 정의할 수 있음 - 기본값은 ): + +`cargo publish --registry {{이름}}` diff --git a/pages.ko/common/cargo-remove.md b/pages.ko/common/cargo-remove.md new file mode 100644 index 00000000000000..5ae5c112c68914 --- /dev/null +++ b/pages.ko/common/cargo-remove.md @@ -0,0 +1,16 @@ +# cargo remove + +> Rust 프로젝트의 `Cargo.toml` 매니페스트에서 종속성을 제거. +> 더 많은 정보: . + +- 현재 프로젝트에서 종속성을 제거: + +`cargo remove {{종속성}}` + +- 개발 또는 빌드 종속성을 제거: + +`cargo remove --{{dev|build}} {{종속성}}` + +- 특정 대상 플랫폼의 종속성을 제거: + +`cargo remove --target {{타겟}} {{종속성}}` diff --git a/pages.ko/common/cargo-report.md b/pages.ko/common/cargo-report.md new file mode 100644 index 00000000000000..b0957a1cdc23f4 --- /dev/null +++ b/pages.ko/common/cargo-report.md @@ -0,0 +1,16 @@ +# cargo report + +> 다양한 종류의 보고서를 표시. +> 더 많은 정보: . + +- 보고서 표시: + +`cargo report {{미래의-비호환성|...}}` + +- 지정된 Cargo 생성 ID가 포함된 보고서를 표시: + +`cargo report {{미래의-비호환성|...}} --id {{아이디}}` + +- 지정된 패키지에 대한 보고서를 표시: + +`cargo report {{미래의-비호환성|...}} --package {{패키지}}` diff --git a/pages.ko/common/cargo-run.md b/pages.ko/common/cargo-run.md new file mode 100644 index 00000000000000..b76ade849f7c82 --- /dev/null +++ b/pages.ko/common/cargo-run.md @@ -0,0 +1,33 @@ +# cargo run + +> 현재 Cargo 패키지를 실행. +> 참고: 실행된 바이너리의 작업 디렉터리는 현재 작업 디렉터리로 설정됨. +> 더 많은 정보: . + +- 기본 바이너리 타겟을 실행: + +`cargo {{[r|run]}}` + +- 지정된 바이너리를 실행: + +`cargo {{[r|run]}} --bin {{이름}}` + +- 지정된 예제를 실행: + +`cargo {{[r|run]}} --example {{이름}}` + +- 공백 또는 쉼표로 구분된 기능 목록을 활성화: + +`cargo {{[r|run]}} {{[-F|--features]}} "{{기능1 기능2 ...}}"` + +- 기본 기능을 비활성화: + +`cargo {{[r|run]}} --no-default-features` + +- 사용 가능한 모든 기능을 활성화: + +`cargo {{[r|run]}} --all-features` + +- 주어진 프로필로 실행: + +`cargo {{[r|run]}} --profile {{이름}}` diff --git a/pages.ko/common/cargo-rustc.md b/pages.ko/common/cargo-rustc.md new file mode 100644 index 00000000000000..49edbc1d91d883 --- /dev/null +++ b/pages.ko/common/cargo-rustc.md @@ -0,0 +1,37 @@ +# cargo rustc + +> Rust 패키지를 컴파일. `cargo build`와 유사하지만, 컴파일러에 추가 옵션을 전달할 수 있음. +> 사용 가능한 모든 옵션은 `rustc --help`를 참조. +> 더 많은 정보: . + +- 패키지를 빌드하고 `rustc`에 옵션을 전달: + +`cargo rustc -- {{rustc_옵션}}` + +- 최적화를 통해 릴리스 모드에서 아티팩트 빌드: + +`cargo rustc --release` + +- 현재 CPU에 대한 아키텍처별 최적화로 컴파일: + +`cargo rustc --release -- -C target-cpu=native` + +- 속도 최적화로 컴파일: + +`cargo rustc -- -C opt-level {{1|2|3}}` + +- 크기([s]ize) 최적화로 컴파일 (`z` 또한 루프 벡터화를 끔): + +`cargo rustc -- -C opt-level {{s|z}}` + +- 패키지가 안전하지 않은 코드를 사용하는지 확인: + +`cargo rustc --lib -- -D unsafe-code` + +- 특정 패키지 빌드: + +`cargo rustc --package {{패키지}}` + +- 지정된 바이너리만 빌드: + +`cargo rustc --bin {{이름}}` diff --git a/pages.ko/common/cargo-rustdoc.md b/pages.ko/common/cargo-rustdoc.md new file mode 100644 index 00000000000000..cfb362ed99cd3b --- /dev/null +++ b/pages.ko/common/cargo-rustdoc.md @@ -0,0 +1,33 @@ +# cargo rustdoc + +> Rust 패키지의 문서를 작성. +> `cargo doc`과 유사하지만, `rustdoc`에 옵션을 전달할 수 있음. 사용 가능한 모든 옵션은 `rustdoc --help`를 참조. +> 더 많은 정보: . + +- `rustdoc`에 옵션을 전달: + +`cargo rustdoc -- {{rustdoc_옵션}}` + +- 문서 린트에 대해 경고: + +`cargo rustdoc -- --warn rustdoc::{{린트_이름}}` + +- 문서 린트를 무시: + +`cargo rustdoc -- --allow rustdoc::{{린트_이름}}` + +- 패키지 라이브러리를 문서화: + +`cargo rustdoc --lib` + +- 지정된 바이너리를 문서화: + +`cargo rustdoc --bin {{이름}}` + +- 지정된 예시를 문서화: + +`cargo rustdoc --example {{이름}}` + +- 지정된 통합 테스트를 문서화: + +`cargo rustdoc --test {{이름}}` diff --git a/pages.ko/common/cargo-search.md b/pages.ko/common/cargo-search.md new file mode 100644 index 00000000000000..1838a7e6cd2bcb --- /dev/null +++ b/pages.ko/common/cargo-search.md @@ -0,0 +1,13 @@ +# cargo search + +> 에서 패키지를 검색. +> 크레이트는 설명과 함께 `Cargo.toml`에 복사하기에 적합한 TOML 형식으로 표시됨. +> 더 많은 정보: . + +- 패키지 검색: + +`cargo search {{쿼리}}` + +- `n` 결과 표시 (기본값: 10, 최댓값: 100): + +`cargo search --limit {{n}} {{쿼리}}` diff --git a/pages.ko/common/cargo-test.md b/pages.ko/common/cargo-test.md new file mode 100644 index 00000000000000..b763dc570503c7 --- /dev/null +++ b/pages.ko/common/cargo-test.md @@ -0,0 +1,28 @@ +# cargo test + +> Rust 패키지의 단위 및 통합 테스트를 실행. +> 더 많은 정보: . + +- 이름에 특정 문자열이 포함된 테스트만 실행: + +`cargo {{[t|test]}} {{테스트명}}` + +- 동시 실행 테스트 케이스 수 설정: + +`cargo {{[t|test]}} -- --test-threads {{숫자}}` + +- 최적화를 통해, 릴리스 모드에서 아티팩트 테스트: + +`cargo {{[t|test]}} {{[-r|--release]}}` + +- 작업공간의 모든 패키지를 테스트: + +`cargo {{[t|test]}} --workspace` + +- 특정 패키지에 대한 테스트를 실행: + +`cargo {{[t|test]}} {{[-p|--package]}} {{패키지}}` + +- 테스트 실행의 출력을 숨기지 않고 테스트를 실행: + +`cargo {{[t|test]}} -- --nocapture` diff --git a/pages.ko/common/cargo-tree.md b/pages.ko/common/cargo-tree.md new file mode 100644 index 00000000000000..47b262e868929e --- /dev/null +++ b/pages.ko/common/cargo-tree.md @@ -0,0 +1,25 @@ +# cargo tree + +> Display a tree visualization of a dependency graph. +> 참고: 트리에서, `(*)`로 표시된 패키지의 종속성은 이미 그래프의 다른 곳에 표시되었으므로, 반복되지 않음. +> 더 많은 정보: . + +- 현재 프로젝트의 종속성 트리를 표시: + +`cargo tree` + +- 지정된 깊이까지의 종속성만 표시 (예: `n`이 1인 경우, 직접적인 종속성만 표시): + +`cargo tree --depth {{n}}` + +- 지정된 패키지(및 해당 종속성)를 트리에 표시하지 않음: + +`cargo tree --prune {{패키지_스펙}}` + +- 반복되는 종속 항목을 모두 표시: + +`cargo tree --no-dedupe` + +- 일반/빌드/개발 종속성만 표시: + +`cargo tree --edges {{normal|build|dev}}` diff --git a/pages.ko/common/cargo-uninstall.md b/pages.ko/common/cargo-uninstall.md new file mode 100644 index 00000000000000..c9247dd7e8d9dc --- /dev/null +++ b/pages.ko/common/cargo-uninstall.md @@ -0,0 +1,8 @@ +# cargo uninstall + +> `cargo install`을 사용하여 설치된 Rust 바이너리를 제거. +> 더 많은 정보: . + +- 설치된 바이너리를 제거: + +`cargo uninstall {{패키지_스펙}}` diff --git a/pages.ko/common/cargo-update.md b/pages.ko/common/cargo-update.md new file mode 100644 index 00000000000000..2929dc4c19e136 --- /dev/null +++ b/pages.ko/common/cargo-update.md @@ -0,0 +1,20 @@ +# cargo update + +> `Cargo.lock`에 기록된 종속성을 업데이트. +> 더 많은 정보: . + +- `Cargo.lock`의 종속성을 가능한 최신버전으로 업데이트함: + +`cargo update` + +- 업데이트될 내용을 표시하지만, 실제로 잠금 파일을 작성하지는 않음: + +`cargo update --dry-run` + +- 지정된 종속성만 업데이트함: + +`cargo update --package {{의존성1}} --package {{의존성2}} --package {{의존성3}}` + +- 특정 버전에 대한 특정 종속성을 설정: + +`cargo update --package {{의존성}} --precise {{1.2.3}}` diff --git a/pages.ko/common/cargo-vendor.md b/pages.ko/common/cargo-vendor.md new file mode 100644 index 00000000000000..ea5a4f9b0daf02 --- /dev/null +++ b/pages.ko/common/cargo-vendor.md @@ -0,0 +1,8 @@ +# cargo vendor + +> 프로젝트의 모든 종속성을 지정된 디렉터리에 공급 (기본값: `vendor`). +> 더 많은 정보: . + +- 공급업체 종속성 및 현재 프로젝트에서 공급업체 소스를 사용하도록 `cargo`를 구성: + +`cargo vendor {{경로/대상/디렉터리}} > .cargo/config.toml` diff --git a/pages.ko/common/cargo-verify-project.md b/pages.ko/common/cargo-verify-project.md new file mode 100644 index 00000000000000..17f4465b1cb027 --- /dev/null +++ b/pages.ko/common/cargo-verify-project.md @@ -0,0 +1,12 @@ +# cargo verify-project + +> `Cargo.toml` 매니페스트의 정확성을 확인하고 결과를 JSON 객체로 출력. +> 더 많은 정보: . + +- 현재 프로젝트 매니페스트의 정확성을 확인: + +`cargo verify-project` + +- 지정된 매니페스트 파일의 정확성을 확인: + +`cargo verify-project --manifest-path {{경로/대상/Cargo.toml}}` diff --git a/pages.ko/common/cargo-version.md b/pages.ko/common/cargo-version.md new file mode 100644 index 00000000000000..feac1f7c13329d --- /dev/null +++ b/pages.ko/common/cargo-version.md @@ -0,0 +1,12 @@ +# cargo version + +> `cargo` 버전 정보를 표시. +> 더 많은 정보: . + +- 버전 정보 표시: + +`cargo version` + +- 추가 빌드 정보 표시: + +`cargo version --verbose` diff --git a/pages.ko/common/cargo-yank.md b/pages.ko/common/cargo-yank.md new file mode 100644 index 00000000000000..3822ebc7a02166 --- /dev/null +++ b/pages.ko/common/cargo-yank.md @@ -0,0 +1,17 @@ +# cargo yank + +> 색인에서 밀린 상자를 제거, 이 방법은 실수로 심하게 파손된 크레이트를 놓은 경우에만 사용해야 함. +> 참고: 데이터를 제거하지 않음. 크레이트는 가져온 후에도 여전히 존재, 새 프로젝트에서 상자를 사용하는 것을 방해할 뿐. +> 더 많은 정보: . + +- 정해진 버전의 상자를 꺼냄: + +`cargo yank {{크레이트}}@{{버전}}` + +- 꺼내는 실행 취소 (i.e. 다시 다운로드 허용): + +`cargo yank --undo {{크레이트}}@{{버전}}` + +- 지정된 레지스트리를 사용 (레지스트리 이름은 구성에서 정의할 수 있음 - 기본값은 ): + +`cargo yank --registry {{이름}} {{크레이트}}@{{버전}}` diff --git a/pages.ko/common/cargo.md b/pages.ko/common/cargo.md index f24c1d9138ca5f..502880ee40641a 100644 --- a/pages.ko/common/cargo.md +++ b/pages.ko/common/cargo.md @@ -1,33 +1,37 @@ # cargo -> Rust 패키지 관리프로그램. -> Rust 프로젝트 및 해당 모듈 종속성(크레이트) 관리. -> 더 많은 정보: . +> Rust 프로젝트 및 모듈 종속성(크레이트)을 관리. +> `build`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . - 크레이트 검색: `cargo search {{검색할_문자열}}` -- 크레이트 설치: +- 바이너리 크레이트 설치: `cargo install {{크레이트_이름}}` -- 설치된 크레이트 목록: +- 설치된 바이너리 크레이트 나열: `cargo install --list` -- 현재 디렉토리에 새 이진 또는 라이브러리 Rust 프로젝트 생성: +- 지정된 디렉터리(기본값은 현재 작업 디렉터리)에 새 바이너리 또는 라이브러리 Rust 프로젝트 생성: -`cargo init --{{bin|lib}}` +`cargo init --{{bin|lib}} {{경로/대상/폴더}}` -- 지정된 디렉토리에 새 이진 또는 라이브러리 Rust 프로젝트 생성: +- 현재 디렉터리의 `Cargo.toml`에 종속성 추가: -`cargo new {{경로/디렉토리}} --{{bin|lib}}` +`cargo add {{종속성}}` -- 현재 디렉토리에 Rust 프로젝트 구축: +- 현재 디렉터리의 Rust 프로젝트를 릴리스 프로파일로 빌드: -`cargo build` +`cargo {{[b|build]}} {{[-r|--release]}}` -- 특정 쓰레드 수를 사용하여 구축(기본값은 CPU 코어 수): +- 야간 컴파일러를 사용하여 현재 디렉터리의 Rust 프로젝트 빌드 (`rustup` 필요): -`cargo build -j {{작업}}` +`cargo +nightly {{[b|build]}}` + +- 특정 스레드 수를 사용하여 빌드 (기본값은 논리적 CPU 수): + +`cargo {{[b|build]}} --jobs {{스레드_수}}` diff --git a/pages.ko/common/carp.md b/pages.ko/common/carp.md new file mode 100644 index 00000000000000..1a0784882030f0 --- /dev/null +++ b/pages.ko/common/carp.md @@ -0,0 +1,28 @@ +# carp + +> Carp용 REPL 및 빌드 도구. +> 더 많은 정보: . + +- REPL (대화형 셸)을 시작: + +`carp` + +- 사용자 정의 프롬프트로 REPL을 시작: + +`carp --prompt "{{> }}"` + +- `carp` 파일을 빌드: + +`carp -b {{경로/대상/파일.carp}}` + +- 파일 빌드 및 실행: + +`carp -x {{경로/대상/파일.carp}}` + +- 최적화가 활성화된 파일을 빌드: + +`carp -b --optimize {{경로/대상/파일.carp}}` + +- 파일을 C 코드로 변환: + +`carp --generate-only {{경로/대상/파일.carp}}` diff --git a/pages.ko/common/case.md b/pages.ko/common/case.md index 45babfa5effdbb..dad10347bb6063 100644 --- a/pages.ko/common/case.md +++ b/pages.ko/common/case.md @@ -1,6 +1,7 @@ # case > 표현식의 값에 근거하여 분기. +> 더 많은 정보: . - 변수를 문자열 리터럴과 일치시켜 실행할 명령어 결정: diff --git a/pages.ko/common/cat.md b/pages.ko/common/cat.md index 45ef2cc4d5c5dc..34f3182051bb1d 100644 --- a/pages.ko/common/cat.md +++ b/pages.ko/common/cat.md @@ -1,23 +1,24 @@ # cat > 파일 출력 및 연결. +> 더 많은 정보: . -- 표준출력으로 파일 내용 출력: +- 파일 내용을 `stdout`으로 출력: -`cat {{파일명}}` +`cat {{경로/대상/파일}}` -- 여러 파일을 대상 파일에 연결: +- 여러 파일을 출력 파일로 연결: -`cat {{파일명1}} {{파일명2}} > {{대상_파일명}}` +`cat {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/출력_파일}}` -- 대상 파일에 여러 파일 내용 추가: +- 여러 파일을 출력 파일에 추가: -`cat {{파일명1}} {{파일명2}} >> {{대상_파일명}}` +`cat {{경로/대상/파일1 경로/대상/파일2 ...}} >> {{경로/대상/출력_파일}}` -- 모든 출력 라인에 번호 매기기: +- 버퍼링 없이 파일 내용을 출력 파일로 복사: -`cat -n {{파일명}}` +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` -- 출력할 수 없는 문자 및 공백 문자 표시 (ASCII가 아닌 경우 `M-`접두사 포함): +- `stdin`을 파일로 쓰기: -`cat -v -t -e {{파일명}}` +`cat - > {{경로/대상/파일}}` diff --git a/pages.ko/common/catimg.md b/pages.ko/common/catimg.md new file mode 100644 index 00000000000000..8717c10bdf86e1 --- /dev/null +++ b/pages.ko/common/catimg.md @@ -0,0 +1,21 @@ +# catimg + +> 터미널에서 이미지 인쇄. +> 참고: `pixterm`, `chafa`. +> 더 많은 정보: . + +- 터미널에 JPEG, PNG, GIF를 인쇄: + +`catimg {{경로/대상/파일}}` + +- 이미지 해상도([r]esolution)를 두 배로 늘림: + +`catimg -r 2 {{경로/대상/파일}}` + +- 더 나은 터미널([t]erminal) 지원을 위해 24비트 색상을 비활성화: + +`catimg -t {{경로/대상/파일}}` + +- 사용자 정의 너비([w]idth) 또는 높이([H]eight)를 지정: + +`catimg {{-w|-H}} {{40}} {{경로/대상/파일}}` diff --git a/pages.ko/common/cavif.md b/pages.ko/common/cavif.md new file mode 100644 index 00000000000000..1f7f796e2fa606 --- /dev/null +++ b/pages.ko/common/cavif.md @@ -0,0 +1,21 @@ +# cavif + +> PNG/JPEG 이미지를 AVIF로 변환함. Rust로 작성됨. +> 참고: `convert`. +> 더 많은 정보: . + +- JPEG 파일을 AVIF로 변환하여, `file.avif`에 저장: + +`cavif {{경로/대상/image.jpg}}` + +- 이미지를 품질을 조정하고 PNG 파일을 AVIF로 변환: + +`cavif --quality {{1..100}} {{경로/대상/image.png}}` + +- 출력 위치를 지정: + +`cavif {{경로/대상/image.jpg}} --output {{경로/대상/output.avif}}` + +- 이미 존재하는 경우, 대상 파일을 덮어씀: + +`cavif --overwrite {{경로/대상/image.jpg}}` diff --git a/pages.ko/common/cb.md b/pages.ko/common/cb.md new file mode 100644 index 00000000000000..48df84a22f0e97 --- /dev/null +++ b/pages.ko/common/cb.md @@ -0,0 +1,36 @@ +# cb + +> 터미널에서 무엇이든 잘라내고, 복사하고, 붙여넣으세요. +> 더 많은 정보: . + +- 모든 클립보드 표시: + +`cb` + +- 파일을 클립보드에 복사: + +`cb copy {{경로/대상/파일}}` + +- 일부 텍스트를 클립보드에 복사: + +`cb copy "{{일부 예시 텍스트}}"` + +- 파이프된 데이터를 클립보드에 복사: + +`echo "{{일부 예시 텍스트}}" | cb` + +- 클립보드 내용 붙여넣기: + +`cb paste` + +- 클립보드 콘텐츠 파이프 아웃: + +`cb | cat` + +- 클립보드 기록 보기: + +`cb history` + +- 클립보드 정보 표시: + +`cb info` diff --git a/pages.ko/common/cbonsai.md b/pages.ko/common/cbonsai.md new file mode 100644 index 00000000000000..9b1d15089fdb10 --- /dev/null +++ b/pages.ko/common/cbonsai.md @@ -0,0 +1,24 @@ +# cbonsai + +> 아름답고 랜덤한 분재 나무 생성도구. +> 더 많은 정보: . + +- 라이브 모드에서 분재를 생성: + +`cbonsai -l` + +- 무한 모드에서 분재를 생성: + +`cbonsai -i` + +- 분재에 메시지를 추가: + +`cbonsai -m "{{메시지}}"` + +- 분재에 대한 추가 정보 표시: + +`cbonsai -v` + +- 도움말 표시: + +`cbonsai -h` diff --git a/pages.ko/common/cbt.md b/pages.ko/common/cbt.md new file mode 100644 index 00000000000000..bea23a1d294bff --- /dev/null +++ b/pages.ko/common/cbt.md @@ -0,0 +1,28 @@ +# cbt + +> Google Cloud's Bigtable에서 데이터를 읽는 유틸리티. +> 더 많은 정보: . + +- 현재 프로젝트의 테이블 나열: + +`cbt ls` + +- 현재 프로젝트의 특정 테이블에 있는 행 수를 인쇄: + +`cbt count "{{테이블_이름}}"` + +- 현재 프로젝트의 열 당 1개의 (가장 최근) 셀 수정만 사용하여 특정 테이블의 단일 행을 표시: + +`cbt lookup "{{테이블_이름}}" "{{열_키}}" cells-per-column={{1}}` + +- 현재 프로젝트에서 특정 열만 있는 단일 행 표시 (전체 패밀리를 반환하려면 한정자를 생략): + +`cbt lookup "{{테이블_이름}}" "{{열_키}}" columns="{{family1:qualifier1,family2:qualifier2,...}}"` + +- 특정 정규식 패턴으로 현재 프로젝트에서 최대 5개 행을 검색하고 인쇄: + +`cbt read "{{테이블_이름}}" regex="{{열_키_패턴}}" count={{5}}` + +- 특정 행 범위를 읽고, 현재 프로젝트에서 반환된 행 키만 인쇄: + +`cbt read {{테이블_이름}} start={{시작_열_키}} end={{마지막_열_키}} keys-only=true` diff --git a/pages.ko/common/ccache.md b/pages.ko/common/ccache.md new file mode 100644 index 00000000000000..e5db1aba5194e9 --- /dev/null +++ b/pages.ko/common/ccache.md @@ -0,0 +1,21 @@ +# ccache + +> C/C++ 컴파일러 캐시. +> 참고: 패키지는 일반적으로 `/usr/lib/ccache/bin`에 컴파일러에 대한 심볼릭 링크를 제공. 자동으로 `ccache`를 사용하려면 이 디렉토리를 `$PATH` 앞에 추가. +> 더 많은 정보: . + +- 현재 캐시 통계 표시([s]tatistics): + +`ccache --show-stats` + +- 모든 캐시 지우기([C]lear): + +`ccache --clear` + +- 통계 재설정 ([z]ero) (캐시 자체는 아님): + +`ccache --zero-stats` + +- C 코드를 컴파일하고 컴파일된 출력을 캐시 (모든 `gcc` 호출에서 `ccache`를 사용하려면, 위를 참고): + +`ccache gcc {{경로/대상/파일.c}}` diff --git a/pages.ko/common/ccomps.md b/pages.ko/common/ccomps.md new file mode 100644 index 00000000000000..280142cf47e77e --- /dev/null +++ b/pages.ko/common/ccomps.md @@ -0,0 +1,21 @@ +# ccomps + +> 그래프를 연결된 구성 요소로 분해. +> 그래프비즈 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 그래프를 연결된 구성 요소로 분해: + +`ccomps {{경로/대상/입력파일1.gv}} {{경로/대상/입력파일2.gv ...}} > {{경로/대상/출력파일.gv}}` + +- 하나 이상의 그래프에서 노드, 간선 및 연결된 구성요소의 수를 인쇄: + +`ccomps -v -s {{경로/대상/입력파일1.gv}} {{경로/대상/입력파일2.gv ...}}` + +- `output.gv`를 기반으로 번호가 매겨진 파일이름에 연결된 각 구성요소를 작성: + +`ccomps -x -o {{경로/대상/출력파일.gv}} {{경로/대상/입력파일1.gv}} {{경로/대상/입력파일2.gv ...}}` + +- 도움말 표시: + +`ccomps -?` diff --git a/pages.ko/common/cd.md b/pages.ko/common/cd.md index 142e586519fc3f..bc73f08a0edde5 100644 --- a/pages.ko/common/cd.md +++ b/pages.ko/common/cd.md @@ -1,19 +1,28 @@ # cd > 현재 작업중인 디렉토리 변경. +> 더 많은 정보: . -- 주어진 디렉토리로 이동: +- 지정된 디렉토리로 이동: -`cd {{경로/디렉토리명}}` +`cd {{경로/대상/디렉토리}}` + +- 현재 디렉토리의 상위 디렉토리로 이동: + +`cd ..` - 현재 사용자의 홈 디렉토리로 이동: `cd` -- 현재 디렉토리의 상위 디렉토리로 이동: +- 지정된 사용자의 홈 디렉토리로 이동: -`cd ..` +`cd ~{{사용자명}}` -- 이전에 선택되었던 디렉토리로 이동: +- 이전에 선택한 디렉토리로 이동: `cd -` + +- 루트 디렉토리로 이동: + +`cd /` diff --git a/pages.ko/common/cdecl.md b/pages.ko/common/cdecl.md new file mode 100644 index 00000000000000..e2507dbea2c265 --- /dev/null +++ b/pages.ko/common/cdecl.md @@ -0,0 +1,20 @@ +# cdecl + +> C 및 C++ 타입 선언을 작성하고 디코딩. +> 더 많은 정보: . + +- 영어 구문을 C 선언으로 작성하고, 컴파일 가능한([c]ompilable) 출력을 생성 (`;` 및 `{}` 포함): + +`cdecl -c {{구문}}` + +- C 선언을 영어로 설명: + +`cdecl explain {{C_선언}}` + +- 변수를 다른 타입으로 캐스팅: + +`cdecl cast {{변수_이름}} to {{타입}}` + +- 대화형([i]nteractive) 모드에서 실행: + +`cdecl -i` diff --git a/pages.ko/common/cdk.md b/pages.ko/common/cdk.md new file mode 100644 index 00000000000000..8662458ecc999c --- /dev/null +++ b/pages.ko/common/cdk.md @@ -0,0 +1,32 @@ +# cdk + +> AWS Cloud 개발 키트 (CDK)용 CLI. +> 더 많은 정보: . + +- 애플리케이션의 스택 나열: + +`cdk ls` + +- Synthesize and print the CloudFormation template for the specified stack(s): + +`cdk synth {{스택_이름}}` + +- 하나 이상의 스택을 배포: + +`cdk deploy {{스택_이름1 스택_이름2 ...}}` + +- 하나 이상의 스택을 파괴: + +`cdk destroy {{스택_이름1 스택_이름2 ...}}` + +- 지정된 스택을 배포된 스택 또는 로컬 CloudFormation 템플릿과 비교: + +`cdk diff {{스택_이름}}` + +- 지정된 언어([l]anguage)에 대해 현재 디렉터리에 새 CDK 프로젝트를 만듬: + +`cdk init -l {{언어}}` + +- 브라우저에서 CDK API 참조를 열기: + +`cdk docs` diff --git a/pages.ko/common/certutil.md b/pages.ko/common/certutil.md new file mode 100644 index 00000000000000..0b3c98f0f0adb6 --- /dev/null +++ b/pages.ko/common/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> NSS 데이터베이스와 기타 NSS 토큰 모두에서 키와 인증서를 관리. +> 더 많은 정보: . + +- 현재 디렉터리([d]irectory)에 새로운([N]ew) 인증서 데이터베이스를 만듬: + +`certutil -N -d .` + +- 데이터베이스의 모든 인증서를 나열: + +`certutil -L -d .` + +- 비밀번호 파일([f]ile)을 지정하는 데이터베이스의 모든 개인 키([K]eys)를 나열: + +`certutil -K -d . -f {{경로/대상/패스워드_파일.txt}}` + +- 닉네임([n]ickname), 신뢰 속성([t]rust attributes) 및 입력([i]nput) CRT 파일을 지정하여 요청자 데이터베이스에 서명된 인증서를 추가([A]dd): + +`certutil -A -n "{{서버_인증서}}" -t ",," -i {{경로/대상/파일.crt}} -d .` + +- Add subject alternative names to a given [c]ertificate with a specific key size ([g]): + +`certutil -S -f {{경로/대상/패스워드_파일.txt}} -d . -t ",," -c "{{서버_인증서}}" -n "{{서버_이름}}" -g {{2048}} -s "CN={{공통_이름}},O={{조직}}"` diff --git a/pages.ko/common/cf.md b/pages.ko/common/cf.md new file mode 100644 index 00000000000000..2ee9d703ead55c --- /dev/null +++ b/pages.ko/common/cf.md @@ -0,0 +1,36 @@ +# cf + +> Cloud Foundry에서 앱과 서비스를 관리. +> 더 많은 정보: . + +- Cloud Foundry API에 로그인: + +`cf login -a {{api_주소}}` + +- 기본 설정을 사용하여 앱을 푸시: + +`cf push {{앱_이름}}` + +- 조직에서 사용할 수 있는 서비스 보기: + +`cf marketplace` + +- 서비스 인스턴스를 생성: + +`cf create-service {{서비스}} {{플랜}} {{서비스_이름}}` + +- 애플리케이션을 서비스에 연결: + +`cf bind-service {{앱_이름}} {{서비스_이름}}` + +- 코드가 앱에 포함되어 있지만, 독립적으로 실행되는 스크립트를 실행: + +`cf run-task {{앱_이름}} "{{스크립트_명령어}}" --name {{작업_이름}}` + +- 앱을 호스팅하는 VM으로 대화형 SSH 세션을 시작: + +`cf ssh {{앱_이름}}` + +- 최근 앱 로그 덤프 보기: + +`cf logs {{앱_이름}} --recent` diff --git a/pages.ko/common/cfssl.md b/pages.ko/common/cfssl.md new file mode 100644 index 00000000000000..e1064c70a6ea60 --- /dev/null +++ b/pages.ko/common/cfssl.md @@ -0,0 +1,21 @@ +# cfssl + +> Cloudflare의 PKI 및 TLS 툴킷. +> 참고: `openssl`. +> 더 많은 정보: . + +- 호스트의 인증서 정보 표시: + +`cfssl certinfo -domain {{www.google.com}}` + +- 파일에서 인증서 정보를 디코딩: + +`cfssl certinfo -cert {{경로/대상/인증서.pem}}` + +- 호스트에서 SSL/TLS 문제를 검색: + +`cfssl scan {{호스트1 호스트2 ...}}` + +- 하위 명령에 대한 도움말 표시: + +`cfssl {{genkey|gencsr|certinfo|sign|gencrl|ocspdump|ocsprefresh|ocspsign|ocspserve|scan|bundle|crl|print-defaults|revoke|gencert|serve|version|selfsign|info}} -h` diff --git a/pages.ko/common/chafa.md b/pages.ko/common/chafa.md new file mode 100644 index 00000000000000..ec19c5dfe30ead --- /dev/null +++ b/pages.ko/common/chafa.md @@ -0,0 +1,25 @@ +# chafa + +> 터미널에서 이미지 출력. +> 참고: `catimg`, `pixterm`. +> 더 많은 정보: . + +- 터미널에서 직접 이미지를 렌더링: + +`chafa {{경로/대상/파일}}` + +- 24비트 색깔([c]olor) 이미지 렌더링: + +`chafa -c full {{경로/대상/파일}}` + +- 디더링을 사용하여 작은 색상 팔레트로 이미지 렌더링을 개선: + +`chafa -c 16 --dither ordered {{경로/대상/파일}}` + +- 이미지를 렌더링하여, 픽셀화된 것처럼 보이게 만듬: + +`chafa --symbols vhalf {{경로/대상/파일}}` + +- 점자 문자만 사용하여 흑백 이미지를 렌더링: + +`chafa -c none --symbols braille {{경로/대상/파일}}` diff --git a/pages.ko/common/charm.md b/pages.ko/common/charm.md new file mode 100644 index 00000000000000..d4de63529a7dc7 --- /dev/null +++ b/pages.ko/common/charm.md @@ -0,0 +1,32 @@ +# charm + +> 사용자 계정, 데이터 저장 및 암호화에 대해 걱정하지 않고 터미널 기반 애플리케이션에 백엔드를 추가할 수 있는 도구 세트. +> 더 많은 정보: . + +- Charm 계정 키를 백업: + +`charm backup-keys` + +- Charm 계정 키를 특정 위치에 백업: + +`charm backup-keys -o {{경로/대상/출력_파일.tar}}` + +- 이전에 백업한 Charm 계정 키 가져오기: + +`charm import-keys "{{charm-키-백업.tar}}"` + +- 컴퓨터에서 `cloud.charm.sh` 폴더가 있는 위치를 발견: + +`charm where` + +- Charm 서버를 시작: + +`charm serve` + +- 연결된 SSH 키 인쇄: + +`charm keys` + +- Charm ID를 인쇄: + +`charm id` diff --git a/pages.ko/common/chars.md b/pages.ko/common/chars.md index e4a2696aeb1cbe..01ce6a6434bde1 100644 --- a/pages.ko/common/chars.md +++ b/pages.ko/common/chars.md @@ -1,7 +1,7 @@ # chars > 다양한 ASCII 및 유니코드 문자 및 코드 포인트에 대한 이름 및 코드 표시. -> 더 많은 정보: . +> 더 많은 정보: . - 밸류 값으로 문자 검색: diff --git a/pages.ko/common/chatgpt.md b/pages.ko/common/chatgpt.md new file mode 100644 index 00000000000000..81dc8aa91c9899 --- /dev/null +++ b/pages.ko/common/chatgpt.md @@ -0,0 +1,28 @@ +# chatgpt + +> 터미널에서 OpenAI의 ChatGPT 및 DALL-E를 사용하기 위한 쉘 스크립트. +> 더 많은 정보: . + +- 채팅 모드에서 시작: + +`chatgpt` + +- 다음 질문에 답하도록 프롬프트([p]rompt)를 제공: + +`chatgpt --prompt "{{이메일 주소와 일치하는 정규식은 무엇입니가?}}"` + +- 특정 모델([m]odel)을 사용하여 채팅 모드에서 시작(기본값은 `gpt-3.5-turbo`입니다): + +`chatgpt --model {{gpt-4}}` + +- 초기([i]nitial) 프롬프트로 채팅 모드를 시작: + +`chatgpt --init-prompt "{{당신은 Rick과 Morty의 Rick입니다. 그의 매너리즘을 사용하여 질문에 응답하고 모욕적인 농담을 포함합니다.}}"` + +- 명령 결과를 `chatgpt`에 프롬프트로 파이프: + +`echo "{{Ubuntu에서 실행중인 프로세스를 보는 방법?}}" | chatgpt` + +- DALL-E를 사용하여 이미지를 생성: + +`chatgpt --prompt "{{image: A white cat}}"` diff --git a/pages.ko/common/chcon.md b/pages.ko/common/chcon.md deleted file mode 100644 index 9978703f3f9a9a..00000000000000 --- a/pages.ko/common/chcon.md +++ /dev/null @@ -1,31 +0,0 @@ -# chcon - -> 파일 또는 파일/디렉토리의 SELinux 보안 내용 변경. - -- 파일의 보안 내용 보기: - -`ls -lZ {{경로/파일명}}` - -- 참조된 파일을 사용하여, 대상 파일의 보안 내용 변경: - -`chcon --reference={{참조_파일명}} {{대상_파일명}}` - -- 파일의 전체 SELinux 보안 내용 변경: - -`chcon {{사용자}}:{{역할}}:{{타입}}:{{범위/레벨}} {{파일명}}` - -- SELinux 보안 내용의 사용자 부분만 변경: - -`chcon -u {{사용자}} {{파일명}}` - -- SELinux 보안 내용의 역할 부분만 변경: - -`chcon -r {{역할}} {{파일명}}` - -- SELinux 보안 컨텍스트의 타입 부분만 변경: - -`chcon -t {{타입}} {{파일명}}` - -- SELinux 보안 컨텍스트의 범위/레벨 부분만 변경: - -`chcon -l {{범위/레벨}} {{파일명}}` diff --git a/pages.ko/common/cheat.md b/pages.ko/common/cheat.md new file mode 100644 index 00000000000000..e8c0f7aedd378c --- /dev/null +++ b/pages.ko/common/cheat.md @@ -0,0 +1,24 @@ +# cheat + +> 대화형 치트 시트를 생성하고 봅니다. +> 더 많은 정보: . + +- 명령어 사용법의 예를 보여줌: + +`cheat {{명령어}}` + +- 명령어에 대한 치트 시트를 편집: + +`cheat -e {{명령어}}` + +- 사용 가능한 치트 시트 목록: + +`cheat -l` + +- 지정된 명령어 이름에 대한 치트 시트를 검색할 수 있음: + +`cheat -s {{명령어}}` + +- 버전 정보 표시: + +`cheat -v` diff --git a/pages.ko/common/cheatshh.md b/pages.ko/common/cheatshh.md new file mode 100644 index 00000000000000..6fe8e009a2d6f5 --- /dev/null +++ b/pages.ko/common/cheatshh.md @@ -0,0 +1,33 @@ +# cheatshh + +> 참조할 수 있도록 사용자 정의된 설명, tldr 및 그룹이 포함된 CLI 치트시트. +> `` 키를 눌러 명령을 클립보드에 복사하고 종료. +> 더 많은 정보: . + +- 치트시트에 새로운 명령 추가([a]dd): + +`cheatshh --add` + +- 치트시트에서 기존 명령의 설명이나 그룹을 편집([ec]): + +`cheatshh --edit-command` + +- 치트시트에서 기존 명령을 삭제([dc]): + +`cheatshh --delete-command` + +- 새로운 그룹([g]roup) 생성: + +`cheatshh --group` + +- 치트시트에서 기존 그룹의 이름이나 설명을 편집([eg]): + +`cheatshh --edit-group` + +- 기존 그룹을 삭제([dg])하고 commands.json 파일에서 해당 하위 명령을 삭제: + +`cheatshh --delete-group` + +- 미리보기에서 tldr 뒤에 [m]개의 페이지를 표시: + +`cheatshh --man` diff --git a/pages.ko/common/checkov.md b/pages.ko/common/checkov.md new file mode 100644 index 00000000000000..d6aeba4230c751 --- /dev/null +++ b/pages.ko/common/checkov.md @@ -0,0 +1,17 @@ +# checkov + +> Checkov는 IaC(Infrastructure as Code)를 위한 정적 코드 분석 도구. +> 이미지 및 오픈소스 패키지를 위한 SCA(소프트웨어 구성 분석) 도구. +> 더 많은 정보: . + +- IaC(Terraform, Cloudformation, ARM, Ansible, Bicep, Dockerfile 등)가 포함된 디렉터리를 스캔: + +`checkov --directory {{경로/대상/디렉터리}}` + +- 출력에서 코드 블록을 생략하고 IaC 파일을 스캔: + +`checkov --compact --file {{경로/대상/파일}}` + +- 모든 IaC 유형에 대한 모든 검사를 나열: + +`checkov --list` diff --git a/pages.ko/common/checksec.md b/pages.ko/common/checksec.md new file mode 100644 index 00000000000000..373d99a2860210 --- /dev/null +++ b/pages.ko/common/checksec.md @@ -0,0 +1,20 @@ +# checksec + +> 실행 파일의 보안 속성을 확인. +> 더 많은 정보: . + +- 실행 가능한 바이너리 파일의 보안 속성을 확인: + +`checksec --file={{경로/대상/바이너리}}` + +- 디렉터리에 있는 모든 실행 파일의 보안 속성을 반복적으로 나열: + +`checksec --dir={{경로/대상/디렉터리}}` + +- 프로세스의 보안 속성을 나열: + +`checksec --proc={{pid}}` + +- 실행 중인 커널의 보안 속성을 나열: + +`checksec --kernel` diff --git a/pages.ko/common/chezmoi.md b/pages.ko/common/chezmoi.md new file mode 100644 index 00000000000000..f316ca47fa6630 --- /dev/null +++ b/pages.ko/common/chezmoi.md @@ -0,0 +1,37 @@ +# Chezmoi + +> Go로 작성된, 다중 머신 도트파일 관리자. +> 참고: `stow`, `tuckr`, `vcsh`, `homeshick`. +> 더 많은 정보: . + +- `chezmoi`를 설정하고, `~/.local/share/chezmoi`에 Git 저장소를 만듬: + +`chezmoi init` + +- Git 저장소의 기존 도트 파일에서 `chezmoi`를 설정: + +`chezmoi init {{레포지토리_주소}}` + +- 하나 이상의 도트 파일 추적을 시작: + +`chezmoi add {{경로/대상/도트파일1 경로/대상/도트파일2 ...}}` + +- 로컬 변경 사항으로 저장소 업데이트: + +`chezmoi re-add {{경로/대상/도트파일1 경로/대상/도트파일2 ...}}` + +- 추적된 도트파일의 소스 상태를 편집: + +`chezmoi edit {{경로/대상/도트파일_또는_심볼릭링크}}` + +- 대기 중인 변경사항 보기: + +`chezmoi diff` + +- 변경 사항을 적용: + +`chezmoi -v apply` + +- 원격 저장소에서 변경 사항을 가져와 적용: + +`chezmoi update` diff --git a/pages.ko/common/chgrp.md b/pages.ko/common/chgrp.md index 5f1fd4e8174c97..8fe7d963633792 100644 --- a/pages.ko/common/chgrp.md +++ b/pages.ko/common/chgrp.md @@ -1,6 +1,7 @@ # chgrp > 파일 및 디렉토리의 그룹 소유권 변경. +> 더 많은 정보: . - 파일/디렉토리의 소유 그룹 변경: @@ -8,12 +9,12 @@ - 디렉토리 및 해당 컨텐츠의 소유 그룹 변경: -`chgrp -R {{그룹}} {{경로/디렉토리명}}` +`chgrp {{[-R|--recursive]}} {{그룹}} {{경로/디렉토리명}}` - 심볼릭 링크의 소유 그룹 변경: -`chgrp -h {{그룹}} {{경로/심볼릭_링크}}` +`chgrp {{[-h|--no-dereference]}} {{그룹}} {{경로/심볼릭_링크}}` - 참조 파일과 일치하도록 파일/디렉토리의 소유 그룹 변경: -`chgrp --reference={{경로/참조_파일명}} {{경로/파일명_또는_디렉토리명}}` +`chgrp --reference {{경로/참조_파일명}} {{경로/파일명_또는_디렉토리명}}` diff --git a/pages.ko/common/chisel.md b/pages.ko/common/chisel.md index 2f82b0c96e6035..e41643f5edf768 100644 --- a/pages.ko/common/chisel.md +++ b/pages.ko/common/chisel.md @@ -1,29 +1,37 @@ # chisel -> Chisel은 TCP 터널을 생성하는 도구. -> 클라이언트와 서버 모두 포함. +> TCP/UDP 터널 생성, HTTP를 통해 전송, SSH를 통해 보안. +> 동일한 `chisel` 실행 파일에 클라이언트와 서버 모두 포함됩니다. > 더 많은 정보: . -- chisel 서버 실행: +- Chisel 서버 실행: -`chisel ` +`chisel server` -- 특정 포트를 수신하는 chisel 서버 실행: +- 특정 포트를 수신하는 Chisel 서버 실행: -`chisel server -p {{서버_포트}}` +`chisel server {{[-p|--port]}} {{서버_포트}}` -- 사용자 이름 및 암호 인증을 사용하여 연결을 보호하는 chisel 서버 실행: +- 사용자 이름 및 암호 인증을 사용하여 연결을 보호하는 Chisel 서버 실행: -`chisel server --auth {{사용자이름}}:{{비밀번호}}` +`chisel server --auth {{사용자명}}:{{비밀번호}}` -- chisel 서버에 연결하고 특정 포트를 원격 서버 와 포트에 터널링: +- Chisel 서버에 연결하고 특정 포트를 원격 서버 와 포트에 터널링: `chisel client {{서버_IP}}:{{서버_포트}} {{로컬_포트}}:{{원격_서버}}:{{원격_포트}}` -- chisel 서버에 연결하고 특정 호스트와 포트를 원격 서버 및 포트에 터널링: +- Chisel 서버에 연결하고 특정 호스트와 포트를 원격 서버 및 포트에 터널링: `chisel client {{서버_IP}}:{{서버_포트}} {{로컬_호스트}}:{{로컬_포트}}:{{원격_서버}}:{{원격_포트}}` -- 사용자 이름 및 암호 인증을 사용하여 chisel 서버에 연결: +- 사용자 이름 및 암호 인증을 사용하여 Chisel 서버에 연결: -`chisel client --auth {{사용자이름}}:{{비밀번호}} {{서버_IP}}:{{서버_포트}} {{local_port}}:{{원격_서버}}:{{원격_포트}}` +`chisel client --auth {{사용자명}}:{{비밀번호}} {{서버_IP}}:{{서버_포트}} {{로컬_포트}}:{{원격_서버}}:{{원격_포트}}` + +- 특정 포트에서 역방향 모드로 Chisel 서버 초기화, 또한 SOCKS5 프록시(포트 1080) 기능 활성화: + +`chisel server {{[-p|--port]}} {{서버_포트}} --reverse --socks5` + +- 특정 IP 및 포트에서 Chisel 서버에 연결하고 로컬 SOCKS 프록시에 매핑된 역방향 터널 생성: + +`chisel client {{서버_IP}}:{{서버_포트}} R:socks` diff --git a/pages.ko/common/chmod.md b/pages.ko/common/chmod.md index dd9c2688cbc6ba..8b946c73a9509d 100644 --- a/pages.ko/common/chmod.md +++ b/pages.ko/common/chmod.md @@ -1,27 +1,36 @@ # chmod > 파일이나 디렉토리의 연결 권한 변경. +> 더 많은 정보: . - 파일을 소유한 사용자[u]에게 실행[x] 권한 부여: -`chmod u+x {{파일명}}` +`chmod u+x {{경로/대상/파일}}` - 파일/디렉토리에 읽기[r] 와 쓰기[w] 사용자 권한 부여: -`chmod u+rw {{파일명_또는_디렉토리명}}` +`chmod u+rw {{경로/대상/파일명_또는_디렉토리명}}` - 그룹[g]에서 실행 권한 제거: -`chmod g-x {{파일명}}` +`chmod g-x {{경로/대상/파일}}` - 모든[a] 사용자에게 읽기 및 실행 권한 부여: -`chmod a+rx {{파일명}}` +`chmod a+rx {{경로/대상/파일}}` - 다른[o] 사람(파일 소유자의 그룹이 아님)에게 그룹과 동일한 권한 부여: -`chmod o=g {{파일명}}` +`chmod o=g {{경로/대상/파일}}` + +- 다른[o] 사람에게 모든 권한 제거: + +`chmod o= {{경로/대상/파일}}` - 그룹[g] 및 다른 사람[o]에 대한 쓰기[w]에 대한 권한을 재귀적으로 변경: -`chmod -R g+w,o+w {{디렉토리명}}` +`chmod {{[-R|--recursive]}} g+w,o+w {{경로/대상/디렉토리}}` + +- 모든 사용자[a]에게 파일에 대한 읽기[r] 권한과 디렉토리에 대한 실행[X] 권한 재귀적으로 부여: + +`chmod {{[-R|--recursive]}} a+rX {{경로/대상/디렉토리}}` diff --git a/pages.ko/common/choose.md b/pages.ko/common/choose.md new file mode 100644 index 00000000000000..cd14cfce588f39 --- /dev/null +++ b/pages.ko/common/choose.md @@ -0,0 +1,36 @@ +# choose + +> cut 및 (때떄로) awk에 대한 사람 친화적이고 빠른 대안. +> 더 많은 정보: . + +- 한 줄에서 5번째 항목을 출력 (0부터 시작): + +`choose {{4}}` + +- 공백 대신 ':'으로 항목을 구분하는 줄의 첫 번째, 세 번째, 다섯 번째 항목을 출력: + +`choose --field-separator '{{:}}' {{0}} {{2}} {{4}}` + +- 5번째 항목을 포함하여, 줄의 2번째 항목부터 5번째 항목까지 모든 항목을 출력: + +`choose {{1}}:{{4}}` + +- 5번째 항목을 제외하고, 줄의 2번째 항목부터 5번째 항목까지 모든 항목을 출력: + +`choose --exclusive {{1}}:{{4}}` + +- 줄의 시작 부분을 세 번째 항목에 출력: + +`choose :{{2}}` + +- 줄의 처음부터 세번쨰(제외) 항목까지 모든 항목을 출력: + +`choose --exclusive :{{2}}` + +- 3번쨰부터 줄 끝까지의 모든 항목을 출력: + +`choose {{2}}:` + +- 줄의 마지막 항목을 출력: + +`choose {{-1}}` diff --git a/pages.ko/common/chown.md b/pages.ko/common/chown.md index b5eed13fd80710..a4bc96d11e08ef 100644 --- a/pages.ko/common/chown.md +++ b/pages.ko/common/chown.md @@ -1,23 +1,28 @@ # chown -> 파일과 디렉토리의 사용자 및 그룹 소유권을 변경 +> 파일과 디렉토리의 사용자 및 그룹 소유권 변경. +> 더 많은 정보: . -- 파일/디렉토리의 소유 사용자 변경: +- 파일/디렉토리를 소유한 사용자를 변경: -`chown {{사용자}} {{경로/파일명_또는_디렉토리명}}` +`chown {{사용자}} {{경로/대상/파일_또는_디렉토리}}` -- 파일/디렉토리의 소유 사용자 및 그룹 변경: +- 파일/디렉토리를 소유한 사용자 및 그룹을 변경: -`chown {{사용자}}:{{그룹}} {{경로/파일명_또는_디렉토리명}}` +`chown {{사용자}}:{{그룹}} {{경로/대상/파일_또는_디렉토리}}` -- 디렉토리 소유자와 그 내용을 재귀적으로 변경: +- 소유한 사용자 및 그룹을 모두 `사용자`로 변경: -`chown -R {{사용자}} {{경로/디렉토리명}}` +`chown {{사용자}}: {{경로/대상/파일_또는_디렉토리}}` -- 심볼릭 링크의 소유자 변경: +- 디렉토리 및 그 내용의 소유한 사용자를 재귀적으로 변경: -`chown -h {{사용자}} {{경로/심볼릭_링크}}` +`chown {{[-R|--recursive]}} {{사용자}} {{경로/대상/디렉토리}}` -- 참조 파일과 일치하도록 파일/디렉토리 소유자 변경: +- 심볼릭 링크의 소유한 사용자를 변경: -`chown --reference={{경로/참조_파일명}} {{경로/파일명_또는_디렉토리명}}` +`chown {{[-h|--no-dereference]}} {{사용자}} {{심볼릭_링크}}` + +- 파일/디렉토리의 소유한 사용자를 참조 파일과 일치시키기: + +`chown --reference {{경로/대상/참조_파일}} {{경로/대상/파일_또는_디렉토리}}` diff --git a/pages.ko/common/chroma.md b/pages.ko/common/chroma.md new file mode 100644 index 00000000000000..3c4d78df98791b --- /dev/null +++ b/pages.ko/common/chroma.md @@ -0,0 +1,21 @@ +# chroma + +> 범용 구문 강조 표시기. +> `--lexer` 옵션은 파일 확장자에 따라 자동으로 결정되므로, 일반적으로 필요하지 않음. +> 더 많은 정보: . + +- Python 어희 분석기를 사용해 파일에서 소스 코드를 강조 표시하고 `stdout`으로 출력: + +`chroma --lexer {{python}} {{경로/대상/소스_파일.py}}` + +- Go 어휘 분석기를 사용하여 파일의 소스코드를 강조 표시하고 HTML 파일로 출력: + +`chroma --lexer {{go}} --formatter {{html}} {{경로/대상/소스_파일.go}} > {{경로/대상/대상_파일.html}}` + +- C++ 어휘 분석기를 사용하여 `stdin`의 소스코드를 강조표시하고, Monokai 스타일을 사용하여 SVG 파일로 출력: + +`{{명령어}} | chroma --lexer {{c++}} --formatter {{svg}} --style {{monokai}} > {{경로/대상/대상_파일.svg}}` + +- 사용 가능한 어휘 분석기, 스타일 및 포맷터 목록 나열: + +`chroma --list` diff --git a/pages.ko/common/chromium.md b/pages.ko/common/chromium.md index 672c4e8d1da316..7f50a5b57f240d 100644 --- a/pages.ko/common/chromium.md +++ b/pages.ko/common/chromium.md @@ -1,28 +1,37 @@ # chromium -> 구글에서 제공하는 오픈소스 웹 브라우저. -> 더 많은 정보: . +> 구글에서 주도하는 오픈소스 웹 브라우저. +> 참고: 원하는 웹 브라우저로 `chromium` 명령어를 대체할 수 있습니다. 예를 들어 `brave`, `google-chrome`, `opera`, `vivaldi` 등을 사용할 수 있습니다. +> 더 많은 정보: . -- 파일 열기: +- 특정 URL 또는 파일 열기: -`chromium {{경로/파일명.html}}` - -- URL 열기: - -`chromium {{example.com}}` +`chromium {{https://example.com|경로/대상/파일.html}}` - 익명으로 열기: `chromium --incognito {{example.com}}` -- 새 창에서 열기: +- 새 창으로 열기: `chromium --new-window {{example.com}}` - 앱 모드로 열기 (툴바, URL 바, 버튼 등 제외): -`chromium --app='{{https://example.com}}'` +`chromium --app={{https://example.com}}` - 프록시 서버 사용: -`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` +`chromium --proxy-server="{{socks5://호스트명:포트}}" {{example.com}}` + +- 사용자 데이터 디렉토리 지정: + +`chromium --user-data-dir={{경로/대상/디렉토리}}` + +- CORS 검증 없이 열기 (API 테스트 유용): + +`chromium --user-data-dir={{경로/대상/디렉토리}} --disable-web-security` + +- 각 탭에 대해 DevTools 창 열기: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.ko/common/chronic.md b/pages.ko/common/chronic.md new file mode 100644 index 00000000000000..1d3bbb9a5a0c95 --- /dev/null +++ b/pages.ko/common/chronic.md @@ -0,0 +1,16 @@ +# chronic + +> 명령이 실패한 경우에만 명령의 `stdout` 및 `stderr`를 표시. +> 더 많은 정보: . + +- 0이 아닌 종료 코들드를 생성하거나 충돌하는 경우에만 지정된 명령의 `stdout` 및 `stderr`을 표시: + +`chronic {{명령어 옵션 ...}}` + +- 비어있지 않은 `stderr`을 생성하는 경우에만 지정된 명령의 `stdout` 및 `stderr`을 표시: + +`chronic -e {{명령어 옵션 ...}}` + +- 상세([v]erbose) 모드 활성화: + +`chronic -v {{명령어 옵션 ...}}` diff --git a/pages.ko/common/chronyc.md b/pages.ko/common/chronyc.md new file mode 100644 index 00000000000000..7eefa05be831f8 --- /dev/null +++ b/pages.ko/common/chronyc.md @@ -0,0 +1,28 @@ +# chronyc + +> Chrony NTP 데몬을 쿼리합니다. +> 더 많은 정보: . + +- 대화형 모드로 `chronyc` 시작: + +`chronyc` + +- Chrony 데몬의 추적 통계 표시: + +`chronyc tracking` + +- Chrony가 현재 사용 중인 시간 소스 출력: + +`chronyc sources` + +- Chrony 데몬이 현재 시간 소스로 사용 중인 소스의 통계 표시: + +`chronyc sourcestats` + +- 시스템 시계를 즉시 조정하여 슬루를 우회: + +`chronyc makestep` + +- 각 NTP 소스에 대한 자세한 정보 표시: + +`chronyc ntpdata` diff --git a/pages.ko/common/chroot.md b/pages.ko/common/chroot.md index 425af5c827bf5c..1b6c2759a9fe34 100644 --- a/pages.ko/common/chroot.md +++ b/pages.ko/common/chroot.md @@ -1,6 +1,7 @@ # chroot > 특수 루트 디렉토리를 사용하여 명령 또는 대화형 쉘 실행. +> 더 많은 정보: . - 새로운 루트 디렉토리로 명령어 실행: diff --git a/pages.ko/common/chsh.md b/pages.ko/common/chsh.md deleted file mode 100644 index 2089b6b4634530..00000000000000 --- a/pages.ko/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> 사용자 로그인 쉘을 변경합니다. - -- 쉘 변경하기: - -`chsh -s {{경로/쉘_바이너리명}} {{사용자이름}}` diff --git a/pages.ko/common/circo.md b/pages.ko/common/circo.md new file mode 100644 index 00000000000000..b4af3129f71ca7 --- /dev/null +++ b/pages.ko/common/circo.md @@ -0,0 +1,25 @@ +# circo + +> `graphviz` 파일에서 `circular` 네트워크 그래프의 이미지를 렌더링. +> 레이아웃: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> 더 많은 정보: . + +- 입력 파일 이름 및 출력 형식(대문자 -O)을 기반으로 하는 파일 이름으로 PNG 이미지를 렌더링: + +`circo -T {{png}} -O {{경로/대상/입력.gv}}` + +- 지정된 출력 파일명으로 SVG(소문자 -o) 이미지를 렌더링: + +`circo -T {{svg}} -o {{경로/대상/이미지.svg}} {{경로/대상/입력.gv}}` + +- 출력을 PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, 또는 DOT 형식으로 렌더링: + +`circo -T {{포맷}} -O {{경로/대상/입력.gv}}` + +- `stdin` 및 `stdout`을 사용하여 GIF 이미지 렌더링: + +`echo "{{digraph {this -> that} }}" | circo -T {{gif}} > {{경로/대상/이미지.gif}}` + +- 도움말 표시: + +`circo -?` diff --git a/pages.ko/common/circup.md b/pages.ko/common/circup.md new file mode 100644 index 00000000000000..8e481fe266daaa --- /dev/null +++ b/pages.ko/common/circup.md @@ -0,0 +1,24 @@ +# circup + +> CircuitPython 라이브러리 업데이트 도구. +> 더 많은 정보: . + +- 장치의 모듈을 대화형 방식으로 업데이트: + +`circup update` + +- 새로운 라이브러리 설치: + +`circup install {{라이브러리_이름}}` + +- 라이브러리 검색: + +`circup show {{부분문자열_이름}}` + +- `requirements.txt` 형식으로 연결된 장치의 모든 라이브러리를 나열: + +`circup freeze` + +- 연결된 장치의 모든 라이브러리를 현재 디렉터리에 저장: + +`circup freeze -r` diff --git a/pages.ko/common/cjxl.md b/pages.ko/common/cjxl.md new file mode 100644 index 00000000000000..8a7d0b939a9c3e --- /dev/null +++ b/pages.ko/common/cjxl.md @@ -0,0 +1,17 @@ +# cjxl + +> 이미지를 JPEG XL로 압축. +> 허용되는 입력 확장자는 PNG, APNG, GIF, JPEG, EXR, PPM, PFM, PAM, PGX 및 JXL입니다. +> 더 많은 정보: . + +- 이미지를 JPEG XL로 변환: + +`cjxl {{경로/대상/이미지.ext}} {{경로/대상/출력.jxl}}` + +- 품질에 손실이 없게하고 결과 이미지의 압축을 최대화함: + +`cjxl --distance 0 --effort 9 {{경로/대상/이미지.ext}} {{경로/대상/출력.jxl}}` + +- 매우 상세한 도움말 페이지를 표시: + +`cjxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}` diff --git a/pages.ko/common/cksum.md b/pages.ko/common/cksum.md index 5f76b0bdfd7997..ba07b36e5dc132 100644 --- a/pages.ko/common/cksum.md +++ b/pages.ko/common/cksum.md @@ -1,7 +1,8 @@ # cksum > 파일의 바이트 개수나 CRC 무결성 검사를 계산합니다. -> 알립니다, 오래된 UNIX 시스템은 CRC 검사가 다를 수 있습니다. +> 알립니다: 오래된 UNIX 시스템은 CRC 검사가 다를 수 있습니다. +> 더 많은 정보: . - 바이트 단위의 사이즈와 파일이름의 32비트 무결성 검사를 보여줍니다: diff --git a/pages.ko/common/clamav.md b/pages.ko/common/clamav.md new file mode 100644 index 00000000000000..b244e6a5e30e8f --- /dev/null +++ b/pages.ko/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> 오픈 소스 안티 바이러스 프로그램. +> ClamAV는 명령이 아니라 명령 집합. +> 더 많은 정보: . + +- `clamd` 데몬을 사용하여 파일을 스캔하는 방법에 대한 문서 보기: + +`tldr clamdscan` + +- `clamd` 데몬을 실행하지 않고 파일을 검색하는 방법에 대한 문서 보기: + +`tldr clamscan` + +- 바이러스 정의 업데이트에 대한 문서 보기: + +`tldr freshclam` diff --git a/pages.ko/common/clamdscan.md b/pages.ko/common/clamdscan.md new file mode 100644 index 00000000000000..a49cc1e279c0c4 --- /dev/null +++ b/pages.ko/common/clamdscan.md @@ -0,0 +1,36 @@ +# clamdscan + +> ClamAV 데몬을 사용하여 바이러스를 검사. +> 더 많은 정보: . + +- 취약점이 있는지 파일이나 디렉터리를 스캔: + +`clamdscan {{경로/대상/파일_또는_디렉터리}}` + +- `stdin`로부터 데이터를 스캔: + +`{{command}} | clamdscan -` + +- 현재 디렉터리를 검사하고 감염된 파일만 출력: + +`clamdscan --infected` + +- 스캔 보고서를 로그 파일로 인쇄: + +`clamdscan --log {{경로/대상/로그_파일}}` + +- 감염된 파일을 특정 디렉토리로 이동: + +`clamdscan --move {{경로/대상/격리되는_디렉토리}}` + +- 감염된 파일을 제거: + +`clamdscan --remove` + +- 여러 스레드를 사용하여 디렉터리를 검사: + +`clamdscan --multiscan` + +- 파일을 데몬으로 스트리밍하는 대신 파일 설명자를 전달: + +`clamdscan --fdpass` diff --git a/pages.ko/common/clamscan.md b/pages.ko/common/clamscan.md index b34587c8db0d42..60b33d4c4d85f2 100644 --- a/pages.ko/common/clamscan.md +++ b/pages.ko/common/clamscan.md @@ -1,7 +1,7 @@ # clamscan > 바이러스 검사를 하는 줄 명령어. -> 더 많은 정보: . +> 더 많은 정보: . - 약점이 있는 파일을 검사합니다: diff --git a/pages.ko/common/clang++.md b/pages.ko/common/clang++.md new file mode 100644 index 00000000000000..61537c40970b0a --- /dev/null +++ b/pages.ko/common/clang++.md @@ -0,0 +1,25 @@ +# clang++ + +> C++ 소스 파일을 컴파일합니다. +> LLVM의 일부. +> 더 많은 정보: . + +- 소스 코드를 실행 가능한 바이너리 파일로 컴파일합니다: + +`clang++ {{입력/파일/경로.cpp}} {{[-o|--output]}} {{출력/파일/경로}}` + +- (거의) 모든 에러와 경고 메시지를 표시합니다: + +`clang++ {{입력/파일/경로.cpp}} -Wall {{[-o|--output]}} {{출력/파일/경로}}` + +- 컴파일할 때 사용할 언어 표준을 지정합니다: + +`clang++ {{입력/파일/경로.cpp}} -std={{c++20}} {{[-o|--output]}} {{출력/파일/경로}}` + +- 소스 파일과 다른 경로에 있는 라이브러리를 포함합니다: + +`clang++ {{입력/파일/경로.cpp}} {{[-o|--output]}} {{출력/파일/경로}} -I{{헤더/경로}} -L{{라이브러리/경로}} -l{{라이브러리/이름}}` + +- 소스 코드를 LLVM Intermediate Representation(IR)로 컴파일 합니다: + +`clang++ {{[-S|--assemble]}} -emit-llvm {{입력/파일/경로.cpp}} {{[-o|--output]}} {{출력/파일/경로.ll}}` diff --git a/pages.ko/common/clang-cpp.md b/pages.ko/common/clang-cpp.md new file mode 100644 index 00000000000000..5d7d104b7f57f9 --- /dev/null +++ b/pages.ko/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> 이 명령어는 `clang++`의 별칭입니다. + +- 원본 명령어의 문서 확인: + +`tldr clang++` diff --git a/pages.ko/common/clang-format.md b/pages.ko/common/clang-format.md new file mode 100644 index 00000000000000..487b5f75bc721f --- /dev/null +++ b/pages.ko/common/clang-format.md @@ -0,0 +1,24 @@ +# clang-format + +> C/C++/Java/JavaScript/Objective-C/Protobuf/C# 코드 자동 형식화. +> 더 많은 정보: . + +- 파일 형식을 지정하고 결과를 `stdout`으로 출력: + +`clang-format {{경로/대상/파일}}` + +- 그 자리에서 파일 형식을 지정: + +`clang-format -i {{경로/대상/파일}}` + +- 미리 정의된 코딩 스타일을 사용하여 파일 형식을 지정: + +`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} {{경로/대상/파일}}` + +- 소스 파일의 상위 디렉터리 중 하나에 있는 `.clang-format` 파일을 사용하여 파일 형식을 지정: + +`clang-format --style=file {{경로/대상/파일}}` + +- 사용자 정의 `.clang-format` 파일을 생성: + +`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} --dump-config > {{.clang-format}}` diff --git a/pages.ko/common/clang-tidy.md b/pages.ko/common/clang-tidy.md new file mode 100644 index 00000000000000..e20a02a9523348 --- /dev/null +++ b/pages.ko/common/clang-tidy.md @@ -0,0 +1,20 @@ +# clang-tidy + +> 정적 분석을 통해 스타일 위반, 버그 및 보안 결함을 찾는 LLVM 기반 C/C++ 린트 프로그램입니다. +> 더 많은 정보: . + +- 소스 파일에 대한 기본 검사를 실행: + +`clang-tidy {{경로/대상/파일.cpp}}` + +- 파일에 대해 `cppcoreguidelines` 검사 이외의 검사를 실행하지 않음: + +`clang-tidy {{경로/대상/파일.cpp}} -checks={{-*,cppcoreguidelines-*}}` + +- 사용 가능한 모든 검사를 나열: + +`clang-tidy -checks={{*}} -list-checks` + +- 컴파일 옵션으로 정의 및 포함을 지정 (`--` 뒤에서): + +`clang-tidy {{경로/대상/파일.cpp}} -- -I{{내_프로젝트/포함}} -D{{정의}}` diff --git a/pages.ko/common/clang.md b/pages.ko/common/clang.md index b90c6a78250355..009828aacc15ce 100644 --- a/pages.ko/common/clang.md +++ b/pages.ko/common/clang.md @@ -1,20 +1,24 @@ # clang -> C, C++ 그리고 Objective-C 소스 파일을 컴파일합니다. GCC의 드롭인 대체로 사용할 수 있습니다. +> C, C++ 그리고 Objective-C 소스 파일을 위한 컴파일러입니다. GCC의 드롭인 대체로 사용할 수 있습니다. > 더 많은 정보: . -- 실행 가능한 바이너리 파일로 소스 코드를 컴파일합니다: +- 소스 코드를 실행 가능한 바이너리 파일로 컴파일합니다: -`clang {{입력_소스.c}} -o {{출력_실행가능파일}}` +`clang {{입력_소스.c}} {{[-o|--output]}} {{출력_실행가능파일}}` - 모든 에러와 경고 메시지를 출력하도록 활성화합니다: -`clang {{입력_소스.c}} -Wall -o {{출력_실행가능파일}}` +`clang {{입력_소스.c}} -Wall {{[-o|--output]}} {{출력_실행가능파일}}` - 소스 파일과 다른 경로에 있는 라이브러리를 포함합니다: -`clang {{입력_소스.c}} -o {{출력_실행가능파일}} -I{{헤더_경로}} -L{{라이브러리_경로}} -l{{라이브러리명}}` +`clang {{입력_소스.c}} {{[-o|--output]}} {{출력_실행가능파일}} -I{{헤더_경로}} -L{{라이브러리_경로}} -l{{라이브러리명}}` - 소스 코드를 LLVM Intermediate Representation(IR)로 컴파일 합니다: -`clang -S -emit-llvm {{파일.c}} -o {{파일.ll}}` +`clang {{[-S|--assemble]}} -emit-llvm {{파일.c}} {{[-o|--output]}} {{파일.ll}}` + +- 소스 코드를 링킹 없이 컴파일합니다: + +`clang {{[-c|--compile]}} {{입력_소스.c}}` diff --git a/pages.ko/common/clangd.md b/pages.ko/common/clangd.md new file mode 100644 index 00000000000000..c926b75993a55a --- /dev/null +++ b/pages.ko/common/clangd.md @@ -0,0 +1,17 @@ +# clangd + +> 편집자에게 IDE와 유사한 기능을 제공하는 언어 서버. +> 직접 호출하기보다는 편집기 플러그인을 통해 사용해야 함. +> 더 많은 정보: . + +- 사용 가능한 옵션 표시: + +`clangd --help` + +- 사용 가능한 옵션 목록: + +`clangd --help-list` + +- 버전 표시: + +`clangd --version` diff --git a/pages.ko/common/clear.md b/pages.ko/common/clear.md index 097e8d71c93525..7952e4dbf2fdf0 100644 --- a/pages.ko/common/clear.md +++ b/pages.ko/common/clear.md @@ -1,7 +1,8 @@ # clear > 터미널 화면을 지웁니다(clear). +> 더 많은 정보: . -- 터미널 화면을 지웁니다 (bash 쉘에서 Control-L을 누르는 것과 같은 기능입니다): +- 터미널 화면을 지웁니다 (Bash 쉘에서 ``을 누르는 것과 같은 기능입니다): `clear` diff --git a/pages.ko/common/clementine.md b/pages.ko/common/clementine.md index e39d47753db93d..53206b992d1874 100644 --- a/pages.ko/common/clementine.md +++ b/pages.ko/common/clementine.md @@ -1,7 +1,7 @@ # clementine > 현대적인 음악 플레이어이자 라이브러리 생성자. -> 더 많은 정보: . +> 더 많은 정보: . - Clementine 열기: diff --git a/pages.ko/common/cli53.md b/pages.ko/common/cli53.md new file mode 100644 index 00000000000000..6d07f24b0f0eca --- /dev/null +++ b/pages.ko/common/cli53.md @@ -0,0 +1,36 @@ +# cli53 + +> Amazon Route 53용 명령줄 도구. +> 더 많은 정보: . + +- 도메인 나열: + +`cli53 list` + +- 도메인 생성: + +`cli53 create {{도메인주소.com}} --comment "{{코멘트}}"` + +- 바인드 존 파일을 `stdout`으로 내보내기: + +`cli53 export {{도메인주소.com}}` + +- 동일한 영역의 상대 레코드를 가리키는 `www` 하위 도메인을 생성: + +`cli53 {{rc|rrcreate}} {{도메인주소.com}} {{'www 300 CNAME lb'}}` + +- 외부 주소를 가리키는 `www` 하위 도메인을 생성 (점으로 끝나야 함): + +`cli53 {{rc|rrcreate}} {{도메인주소.com}} {{'www 300 CNAME lb.externalhost.com.'}}` + +- IP 주소를 가리키는 `www` 하위 도메인을 생성: + +`cli53 {{rc|rrcreate}} {{도메인주소.com}} {{'www 300 A 150.130.110.1'}}` + +- 다른 IP를 가리키는 `www` 하위 도메인을 교체: + +`cli53 {{rc|rrcreate}} --replace {{'www 300 A 150.130.110.2'}}` + +- A 레코드 삭제: + +`cli53 {{rd|rrdelete}} {{도메인주소.com}} {{www}} {{A}}` diff --git a/pages.ko/common/clido.md b/pages.ko/common/clido.md new file mode 100644 index 00000000000000..7a7fceab7a1267 --- /dev/null +++ b/pages.ko/common/clido.md @@ -0,0 +1,36 @@ +# clido + +> 터미널용 상태 저장 TODO 앱. +> 더 많은 정보: . + +- 목록 생성: + +`clido --new {{이름}}` + +- 목록 로드: + +`clido --load {{이름}}` + +- 목록 삭제: + +`clido --remove {{이름}}` + +- 모든 목록 나열: + +`clido --lists` + +- 자동쓰기 전환: + +`clido toggle-autowrite` + +- 텍스트 편집기에서 목록을 열기: + +`clido edit {{텍스트_편집기}}` + +- 도움말 표시: + +`clido -h` + +- 버전 정보 표시: + +`clido -v` diff --git a/pages.ko/common/clifm.md b/pages.ko/common/clifm.md new file mode 100644 index 00000000000000..6de2748fea9363 --- /dev/null +++ b/pages.ko/common/clifm.md @@ -0,0 +1,37 @@ +# clifm + +> 명령줄 파일 관리자. +> 참고: `vifm`, `ranger`, `mc`, `nautilus`. +> 더 많은 정보: . + +- CliFM 시작: + +`clifm` + +- ELN (항목 목록 번호)이 12인 파일 또는 디렉터리 열기: + +`12` + +- 새 파일 또는 디렉터리 생성: + +`file dir/` + +- 현재 디렉터리에서 PDF 파일 검색: + +`*.pdf` + +- 현재 디렉터리에 있는 모든 PNG 파일을 선택: + +` *.png` + +- 이전에 선택한 파일을 제거 (대신 `t`를 사용하여 파일을 휴지통으로 보냄): + +`sel` + +- 도움말 표시: + +`` + +- CliFM 종료: + +`` diff --git a/pages.ko/common/clip-view.md b/pages.ko/common/clip-view.md new file mode 100644 index 00000000000000..24ea2b803075fc --- /dev/null +++ b/pages.ko/common/clip-view.md @@ -0,0 +1,33 @@ +# clip-view + +> 명령줄 인터페이스 페이지 렌더링. +> 훨씬 더 광범위한 구문과 여러 렌더링 모드를 사용해 TlDr과 유사한 프로젝트를 렌더링. +> 더 많은 정보: . + +- 특정 로컬 페이지 렌더링: + +`clip-view {{경로/대상/페이지1.clip 경로/대상/페이지2.clip ...}}` + +- 특정 원격 페이지 렌더링: + +`clip-view {{페이지_이름1 페이지_이름2 ...}}` + +- 특정 렌더링으로 페이지 렌더링: + +`clip-view --render {{tldr|tldr-colorful|docopt|docopt-colorful}} {{페이지_이름1 페이지_이름2 ...}}` + +- 특정 색상 테마로 페이지 렌더링: + +`clip-view --theme {{경로/대상/로컬_테마.yaml|원격_테마_이름}} {{페이지_이름1 페이지_이름2...}}` + +- 페이지 또는 테마 캐시 지우기: + +`clip-view --clear-{{페이지|테마}}-cache` + +- 도움말 표시: + +`clip-view --help` + +- 버전정보 표시: + +`clip-view --version` diff --git a/pages.ko/common/clj.md b/pages.ko/common/clj.md new file mode 100644 index 00000000000000..b2411c17edf1f6 --- /dev/null +++ b/pages.ko/common/clj.md @@ -0,0 +1,29 @@ +# clj + +> REPL을 시작하거나 데이터로 함수를 호출하는 Clojure 도구. +> 모든 옵션은 `deps.edn` 파일에서 정의할 수 있음. +> 더 많은 정보: . + +- REPL를 시작 (대화형 쉘): + +`clj` + +- 함수의 실행: + +`clj -X {{네임스페이스/함수_이름}}` + +- 지정된 네임스페이스의 기본 기능을 실행: + +`clj -M -m {{네임스페이스}} {{args}}` + +- 의존성을 해결하고, 라이브러리를 다운로드하고, 클래스 경로를 생성/캐싱하여 프로젝트를 준비: + +`clj -P` + +- CIDER 미들웨어로 nREPL 서버를 시작: + +`clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactive` + +- ClojureScript용 REPL을 시작하고 웹 브라우저를 열기: + +`clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.758"}}}' --main cljs.main --repl` diff --git a/pages.ko/common/clockwork-cli.md b/pages.ko/common/clockwork-cli.md index 4e8a499133261b..b7f0362618be6d 100644 --- a/pages.ko/common/clockwork-cli.md +++ b/pages.ko/common/clockwork-cli.md @@ -13,4 +13,4 @@ - 여러 개의 프로젝트의 Clockwork 로그들을 모니터링 합니다: -`clockwork-cli {{경로/디렉토리1 경로/디렉토리2 …}}` +`clockwork-cli {{경로/디렉토리1 경로/디렉토리2 ...}}` diff --git a/pages.ko/common/clojure.md b/pages.ko/common/clojure.md new file mode 100644 index 00000000000000..114047c8e68d85 --- /dev/null +++ b/pages.ko/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> 이 명령은 `clj` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr clj` diff --git a/pages.ko/common/cloudflared.md b/pages.ko/common/cloudflared.md new file mode 100644 index 00000000000000..9ac512495cd4ba --- /dev/null +++ b/pages.ko/common/cloudflared.md @@ -0,0 +1,28 @@ +# cloudflared + +> Cloudflare 네트워크에 대한 지속적인 연결을 생성. +> 더 많은 정보: . + +- Cloudflare 계정의 도메인에 대한 연결을 인증하고 연결: + +`cloudflared tunnel login` + +- 특정 이름의 터널을 생성: + +`cloudflared tunnel create {{이름}}` + +- 로컬 서버에서 Cloudflare의 호스트로 터널을 설정: + +`cloudflared tunnel --hostname {{호스트명}} localhost:{{port_number}}` + +- 로컬 서버의 인증서를 확인하지 않고, 로컬 서버에서 Cloudflare의 호스트로 터널을 설정: + +`cloudflared tunnel --hostname {{호스트명}} localhost:{{포트_번호}} --no-tls-verify` + +- 로그를 파일에 저장: + +`cloudflared tunnel --hostname {{호스트명}} http://localhost:{{포트_번호}} --loglevel {{panic|fatal|error|warn|info|debug}} --logfile {{경로/대상/파일}}` + +- cloudflared를 시스템 서비스로 설치: + +`cloudflared service install` diff --git a/pages.ko/common/cmake.md b/pages.ko/common/cmake.md index a5d4f58f1550be..da893ee630a1f9 100644 --- a/pages.ko/common/cmake.md +++ b/pages.ko/common/cmake.md @@ -1,7 +1,7 @@ # cmake > 빌드 시스템을 생성하는 크로스 플랫폼으로 선택한 시스템에 따라 Makefiles, Visual Studio 프로젝트 또는 기타를 생성합니다. -> 더 많은 정보: . +> 더 많은 정보: . - 작성 파일을 생성하고 이를 사용하여 원본과 동일한 디렉토리에서 프로젝트를 컴파일합니다: diff --git a/pages.ko/common/cmark.md b/pages.ko/common/cmark.md index ca63bdfd769cbc..4f7882335f3af9 100644 --- a/pages.ko/common/cmark.md +++ b/pages.ko/common/cmark.md @@ -1,9 +1,9 @@ # cmark -> Commonmark Markdown 텍스트를 다른 텍스트 형식으로 변환합니다. +> CommonMark Markdown 텍스트를 다른 텍스트 형식으로 변환합니다. > 더 많은 정보: . -- Commonmark Markdown 파일을 HTML 파일로 렌더링합니다: +- CommonMark Markdown 파일을 HTML 파일로 렌더링합니다: `cmark --to html {{파일명.md}}` @@ -15,6 +15,6 @@ `cmark --smart --to html {{파일명.md}}` -- utf8 문자들을 검증: +- UTF-8 문자들을 검증: `cmark --validate-utf8 {{파일명.md}}` diff --git a/pages.ko/common/cmatrix.md b/pages.ko/common/cmatrix.md new file mode 100644 index 00000000000000..66dc0e6e8ec98e --- /dev/null +++ b/pages.ko/common/cmatrix.md @@ -0,0 +1,20 @@ +# cmatrix + +> 터미널에 화면과 같이 스크롤링되는 Matrix를 표시. +> 더 많은 정보: . + +- 비동기([a]synchronous) 스크롤 활성화: + +`cmatrix -a` + +- 텍스트 색상([C]olor) 변경 (기본적으로 녹색): + +`cmatrix -C {{red}}` + +- [r]ainbow 모드 활성화: + +`cmatrix -r` + +- 100 센티초 (1초)의 화면 업데이트([u]pdate) 지연을 사용: + +`cmatrix -u 100` diff --git a/pages.ko/common/cmctl.md b/pages.ko/common/cmctl.md new file mode 100644 index 00000000000000..f5b9c2f5eeea62 --- /dev/null +++ b/pages.ko/common/cmctl.md @@ -0,0 +1,21 @@ +# cmctl + +> 클러스터 내부의 cert-manager 리소스를 관리. +> 인증서 서명 상태를 확인하고, 요청을 승인/거부하고, 새 인증서 요청을 발급. +> 더 많은 정보: . + +- cert-manager API가 준비되었는지 확인: + +`cmctl check api` + +- 인증서 상태를 확인: + +`cmctl status certificate {{인증서_이름}}` + +- 기존 인증서를 기반으로 새 인증서 요청을 만듬: + +`cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}}` + +- 새 인증서 요청을 생성하고, 서명된 인증서를 가져오고, 최대 대기 시간을 설정: + +`cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}} --fetch-certificate --timeout {{20m}}` diff --git a/pages.ko/common/cmp.md b/pages.ko/common/cmp.md index eae30dc3fdd3b3..616b4fb0af5593 100644 --- a/pages.ko/common/cmp.md +++ b/pages.ko/common/cmp.md @@ -1,6 +1,7 @@ # cmp > 두 개의 파일 비교. +> 더 많은 정보: . - 파일 간의 첫 번째 바이트 번호와 선 번호의 차이를 찾습니다: @@ -8,4 +9,4 @@ - 모든 바이트 수와 다른 바이트의 차이 찾기: -`cmp -l {{파일1}} {{파일2}}` +`cmp {{[-l|--verbose]}} {{파일1}} {{파일2}}` diff --git a/pages.ko/common/cmuwmtopbm.md b/pages.ko/common/cmuwmtopbm.md new file mode 100644 index 00000000000000..0a96a09087378f --- /dev/null +++ b/pages.ko/common/cmuwmtopbm.md @@ -0,0 +1,9 @@ +# cmuwmtopbm + +> CMU 창 관리자 비트맵을 PBM 이미지로 변환. +> 참고: `pbmtocmuwm`. +> 더 많은 정보: . + +- CMU 창 관리자 비트맵을 PBM 이미지로 변환: + +`cmuwmtopbm {{경로/대상/이미지.pbm}} > {{경로/대상/출력파일.bmp}}` diff --git a/pages.ko/common/code.md b/pages.ko/common/code.md index a772e66ede5aac..09b9755df726b6 100644 --- a/pages.ko/common/code.md +++ b/pages.ko/common/code.md @@ -1,24 +1,36 @@ # code -> 비주얼 스튜디오 코드. -> 더 많은 정보: . +> 확장 가능한 크로스 플랫폼 코드 에디터. +> 더 많은 정보: . -- VS Code 열기: +- Visual Studio Code 실행: `code` -- 현재 디렉토리에서 VS Code 열기: +- 특정 파일 혹은 디렉토리 열기: -`code .` +`code {{파일/혹은/디렉토리의/경로1 파일/혹은/디렉토리의/경로2 ...}}` -- 파일이나 디렉토리에서 VS Code 열기: +- 두 파일 비교: -`code {{경로/파일_혹은_디렉토리}}` +`code {{[-d|--diff]}} {{파일의/경로1}} {{파일의/경로2}}` -- 현재 열려 있는 VS 코드 창에서 파일 또는 디렉토리를 열기: +- 특정 파일 혹은 디렉토리를 새로운 창에서 열기: -`code --reuse-window {{경로/파일_혹은_디렉토리}}` +`code {{[-n|--new-window]}} {{파일/혹은/디렉토리의/경로1 파일/혹은/디렉토리의/경로2 ...}}` -- 두 개의 VS Code 파일 비교: +- 특정 확장 프로그램 설치/삭제: -`code -d {{파일1}} {{파일2}}` +`code --{{install|uninstall}}-extension {{publisher.extension}}` + +- 설치된 확장 프로그램 나열: + +`code --list-extensions` + +- 설치된 확장 프로그램을 버전과 함께 나열: + +`code --list-extensions --show-versions` + +- 사용자 정보를 특정 디렉토리에 저장하면서 관리자 (루트) 권한으로 에디터 실행: + +`sudo code --user-data-dir {{디렉토리/경로}}` diff --git a/pages.ko/common/codecrafters.md b/pages.ko/common/codecrafters.md new file mode 100644 index 00000000000000..e13853b07b2f6f --- /dev/null +++ b/pages.ko/common/codecrafters.md @@ -0,0 +1,20 @@ +# codecrafters + +> 복잡한 소프트웨어 구현을 연습. +> 더 많은 정보: . + +- 변경 사항을 적용하지 않고, 테스트를 실행: + +`codecrafters test` + +- 변경 사항을 적용하지 않고 모든 이전 단계와 현재 단계에 대해 테스트를 실행: + +`codecrafters test --previous` + +- 변경 사항을 커밋하고 제출하여, 다음 단계로 이동함: + +`codecrafters submit` + +- 언어 버전 업데이트: + +`codecrafters update-buildpack` diff --git a/pages.ko/common/codespell.md b/pages.ko/common/codespell.md new file mode 100644 index 00000000000000..2253ca050f4000 --- /dev/null +++ b/pages.ko/common/codespell.md @@ -0,0 +1,36 @@ +# codespell + +> 소스 코드에 대한 맞춤범 검사기. +> 더 많은 정보: . + +- 현재 디렉터리에 있는 모든 텍스트 파일의 오타를 재귀적으로 확인: + +`codespell` + +- 발견된 모든 오타를 수정: + +`codespell --write-changes` + +- 지정된 패턴과 일치하는 이름을 가진 파일을 건너뜀 (와일드카드를 사용하여 쉼표로 구분된 패턴 목록 허용): + +`codespell --skip "{{패턴}}"` + +- 확인할 때 사용자 정의사전 파일을 사용 (`--dictionary`는 여러 번 사용될 수 있음): + +`codespell --dictionary {{경로/대상/파일.txt}}` + +- 지정된 파일에 나열된 단어를 확인해서는 안 됨: + +`codespell --ignore-words {{경로/대상/파일.txt}}` + +- 지정된 단어를 확인하지 않음: + +`codespell --ignore-words-list {{무시되는_단어1,무시되는_단어2,...}}` + +- 각 매치되는 전후에, 3줄의 컨텍스트를 출력: + +`codespell --{{context|before-context|after-context}} {{3}}` + +- 파일 내용 외에도, 파일 이름에 오타가 있는지 확인: + +`codespell --check-filenames` diff --git a/pages.ko/common/cola.md b/pages.ko/common/cola.md new file mode 100644 index 00000000000000..0452adfc4f8973 --- /dev/null +++ b/pages.ko/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> 이 명령은 `git-cola` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr git-cola` diff --git a/pages.ko/common/colima.md b/pages.ko/common/colima.md new file mode 100644 index 00000000000000..3ab76bc2b71ba4 --- /dev/null +++ b/pages.ko/common/colima.md @@ -0,0 +1,36 @@ +# colima + +> 최소한의 설정으로 macOS 및 Linux용 컨테이너 런타임을 제공. +> 더 많은 정보: . + +- 백그라운드에서 데몬을 시작: + +`colima start` + +- 구성 파일을 생성하고 사용: + +`colima start --edit` + +- containerd 시작 및 설정 (`nerdctl`을 통해 containerd를 사용하려면 `nerdctl` 설치): + +`colima start --runtime containerd` + +- Kubernetes로 시작 (`kubectl`이 필요): + +`colima start --kubernetes` + +- CPU 수, RAM 메모리 및 디스크 공간(GiB 단위)을 사용자 정의: + +`colima start --cpu {{숫자}} --memory {{메모리}} --disk {{저장_공간}}` + +- Colima를 통해 Docker 사용 (Docker가 필요함): + +`colima start` + +- 정보 및 상태와 함께 컨테이너를 나열: + +`colima list` + +- 런타임 상태 표시: + +`colima status` diff --git a/pages.ko/common/colon.md b/pages.ko/common/colon.md new file mode 100644 index 00000000000000..23b80335356c93 --- /dev/null +++ b/pages.ko/common/colon.md @@ -0,0 +1,12 @@ +# Colon + +> 성공적인 종료 상태 코드 0을 반환. +> 더 많은 정보: . + +- 성공적인 종료 코드를 반환: + +`:` + +- 명령이 항상 0으로 종료되도록 함: + +`{{명령어}} || :` diff --git a/pages.ko/common/colordiff.md b/pages.ko/common/colordiff.md new file mode 100644 index 00000000000000..476e1cd2b5dddd --- /dev/null +++ b/pages.ko/common/colordiff.md @@ -0,0 +1,25 @@ +# colordiff + +> 동일한 출력을 생성하지만, 구문 강조가 잘 되어있는 `diff` 래퍼입니다. +> 색깔 구성표를 사용자 정의할 수 있음. +> 더 많은 정보: . + +- 파일 비교: + +`colordiff {{파일1}} {{파일2}}` + +- 두 개의 열로 출력: + +`colordiff -y {{파일1}} {{파일2}}` + +- 파일 내용의 대소문자 차이를 무시: + +`colordiff -i {{파일1}} {{파일2}}` + +- 두 파일이 동일한 경우에 보고: + +`colordiff -s {{파일1}} {{파일2}}` + +- 공백을 무시: + +`colordiff -w {{파일1}} {{파일2}}` diff --git a/pages.ko/common/colorls.md b/pages.ko/common/colorls.md new file mode 100644 index 00000000000000..d13b4a4b4f815e --- /dev/null +++ b/pages.ko/common/colorls.md @@ -0,0 +1,20 @@ +# colorls + +> 색상 및 font-awesome 아이콘으로 `ls` 명령 출력을 예쁘게 만듬 Ruby gem으로 사용 가능. +> 더 많은 정보: . + +- 파일을 한 줄에 하나씩 나열: + +`colorls -1` + +- 숨김 파일을 포함한 모든 파일을 나열: + +`colorls --all` + +- 모든 파일의 긴 형식 (권한, 소유권, 크기 및 수정 날짜): + +`colorls --long --all` + +- 디렉토리만 나열: + +`colorls --dirs` diff --git a/pages.ko/common/colorpicker.md b/pages.ko/common/colorpicker.md new file mode 100644 index 00000000000000..28e05d75a0d3ca --- /dev/null +++ b/pages.ko/common/colorpicker.md @@ -0,0 +1,25 @@ +# colorpicker + +> 최소화된 X11 색상선택기. +> 왼쪽 클릭을 제외한 모든 마우스 동작은 프로그램을 종료. +> 더 많은 정보: . + +- 색상 선택기를 실행하고 클릭한 각 픽셀의 16진수 및 RGB 값을 `stdout`로 출력: + +`colorpicker` + +- 클릭한 픽셀 하나의 색상만 출력하고 종료: + +`colorpicker --one-shot` + +- 클릭한 각 픽셀의 색상을 출력하고 키를 누르면 종료: + +`colorpicker --quit-on-keypress` + +- RGB 값만 출력: + +`colorpicker --rgb` + +- 16진수 값만 출력: + +`colorpicker --hex` diff --git a/pages.ko/common/column.md b/pages.ko/common/column.md deleted file mode 100644 index 236525061cdba2..00000000000000 --- a/pages.ko/common/column.md +++ /dev/null @@ -1,20 +0,0 @@ -# column - -> 표준 입력 또는 파일을 여러 열로 포맷 설정. -> 행은 열 앞에 채워집니다; 기본 구분 기호는 공백입니다. - -- 30자 폭 디스플레이의 형식 출력으로 포맷 정하기: - -`printf "header1 header2\nbar foo\n" | column -c {{30}}` - -- 열 자동 분할 및 자동 정렬을 표 형식으로 분할: - -`printf "header1 header2\nbar foo\n" | column -t` - -- -t 옵션(예: "", csv)에 대한 열 구분 기호 문자를 지정; 기본값은 공백입니다: - -`printf "header1,header2\nbar,foo\n" | column -t -s{{,}}` - -- 행을 채우기 전에 열을 채웁니다: - -`printf "header1\nbar\nfoobar\n" | column -c {{30}} -x` diff --git a/pages.ko/common/combine.md b/pages.ko/common/combine.md new file mode 100644 index 00000000000000..315dddfcb9fc66 --- /dev/null +++ b/pages.ko/common/combine.md @@ -0,0 +1,22 @@ +# combine + +> 두 파일의 줄에서 설정 작업 수행. +> 출력되는 줄의 순서는 첫 번째 파일의 줄 순서에 따라 결정됨. +> 참고: `diff`. +> 더 많은 정보: . + +- 지정된 두 파일 모두에 있는 라인을 출력: + +`combine {{경로/대상/파일1}} and {{경로/대상/파일2}}` + +- 첫 번째 파일에는 있지만, 두 번째 파일에는 없는 줄을 출력: + +`combine {{경로/대상/파일1}} not {{경로/대상/파일2}}` + +- 지정된 파일 중 하나에 있는 줄을 출력: + +`combine {{경로/대상/파일1}} or {{경로/대상/파일2}}` + +- 지정된 파일 중 정확히 하나에만 있는 줄을 출력: + +`combine {{경로/대상/파일1}} xor {{경로/대상/파일2}}` diff --git a/pages.ko/common/comby.md b/pages.ko/common/comby.md new file mode 100644 index 00000000000000..c03f17f42778da --- /dev/null +++ b/pages.ko/common/comby.md @@ -0,0 +1,20 @@ +# comby + +> 다양한 언어를 지원하는 구조적인 코드 검색 및 교체 도구. +> 더 많은 정보: . + +- 템플릿 일치 및 재작성, 변경 사항 출력: + +`comby '{{assert_eq!(:[a], :[b])}}' '{{assert_eq!(:[b], :[a])}}' {{.rs}}` + +- 일치되는 부분을 찾고, 프로퍼티에 따른 교체를 수행: + +`comby '{{assert_eq!(:[a], :[b])}}' '{{assert_eq!(:[b].Capitalize, :[a])}}' {{.rs}}` + +- 패턴과 일치하는 부분을 찾고 바로 교체: + +`comby -in-place '{{일치_패턴}}' '{{교체_패턴}}'` + +- 패턴 검색만 수행하고 일치되는 항목을 출력: + +`comby -match-only '{{일치_패턴}}' ""` diff --git a/pages.ko/common/comm.md b/pages.ko/common/comm.md index 03cc7c79e5c962..d93e9c176f3f3a 100644 --- a/pages.ko/common/comm.md +++ b/pages.ko/common/comm.md @@ -2,6 +2,7 @@ > 두 파일의 공통되는 줄을 선택하거나 거절합니다. > 두 파일 모두 정렬되어 있어야합니다. +> 더 많은 정보: . - 세 개의 탭으로 구분된 열을 생성합니다: 첫 번째 파일에는 줄만, 두 번째 파일에서는 줄들과 공통 줄: diff --git a/pages.ko/common/command.md b/pages.ko/common/command.md index b51d6918c5a30b..1868b11e8d718b 100644 --- a/pages.ko/common/command.md +++ b/pages.ko/common/command.md @@ -1,7 +1,8 @@ # command > Command 명령은 쉘이 프로그램을 실행하고 동일한 이름의 기능, 빌드인 및 별칭을 무시하도록 합니다. +> 더 많은 정보: . -- ls 별칭이 존재하더라도 문자 그대로 ls 프로그램을 실행: +- ls 별칭이 존재하더라도 문자 그대로 `ls` 프로그램을 실행: `command {{ls}}` diff --git a/pages.ko/common/compare.md b/pages.ko/common/compare.md new file mode 100644 index 00000000000000..81b4878d758eef --- /dev/null +++ b/pages.ko/common/compare.md @@ -0,0 +1,7 @@ +# compare + +> 이 명령은 `magick compare`의 별칭. + +- 원래 명령에 대한 문서 보기: + +`tldr magick compare` diff --git a/pages.ko/common/compgen.md b/pages.ko/common/compgen.md new file mode 100644 index 00000000000000..7ca54f256a1335 --- /dev/null +++ b/pages.ko/common/compgen.md @@ -0,0 +1,24 @@ +# compgen + +> `` 키를 두 번 누르면 호출되는 Bash의 자동 완성 명령이 내장. +> 더 많은 정보: . + +- 실행할 수 있는 모든 명령을 나열: + +`compgen -c` + +- 모든 별칭을 나열: + +`compgen -a` + +- 실행할 수 있는 모든 기능을 나열: + +`compgen -A function` + +- 쉘 예약 키워드 표시: + +`compgen -k` + +- 'ls'로 시작하는 사용 가능한 모든 명령/별칭을 확인: + +`compgen -ac {{ls}}` diff --git a/pages.ko/common/complete.md b/pages.ko/common/complete.md index a83184c790c1a9..67d3adaf01b5ca 100644 --- a/pages.ko/common/complete.md +++ b/pages.ko/common/complete.md @@ -1,6 +1,7 @@ # complete > 쉘 명령어에 자동 완성 인자를 제공합니다. +> 더 많은 정보: . - 함수에 명령어 자동 완성 기능을 적용합니다: diff --git a/pages.ko/common/compopt.md b/pages.ko/common/compopt.md new file mode 100644 index 00000000000000..a0ad09316f0dfc --- /dev/null +++ b/pages.ko/common/compopt.md @@ -0,0 +1,12 @@ +# compopt + +> 명령어 완성 옵션을 출력하거나 변경. +> 더 많은 정보: . + +- 현재 실행 중인 완성에 대한 옵션을 출력: + +`compopt` + +- 주어진 명령에 대한 완성 옵션을 출력: + +`compopt {{명령어}}` diff --git a/pages.ko/common/composer-require-checker.md b/pages.ko/common/composer-require-checker.md new file mode 100644 index 00000000000000..e78f1e9640d446 --- /dev/null +++ b/pages.ko/common/composer-require-checker.md @@ -0,0 +1,12 @@ +# composer-require-checker + +> 소프트 종속성에 대한 Composer 종속성을 분석. +> 더 많은 정보: . + +- Composer JSON 파일 분석: + +`composer-require-checker check {{path/to/composer.json}}` + +- 특정 구성으로 Composer JSON 파일을 분석: + +`composer-require-checker check --config-file {{path/to/config.json}} {{path/to/composer.json}}` diff --git a/pages.ko/common/composer.md b/pages.ko/common/composer.md index c277c72bef2422..a5dbf859f50ada 100644 --- a/pages.ko/common/composer.md +++ b/pages.ko/common/composer.md @@ -7,7 +7,7 @@ `composer require {{사용자/패키지명}}` -- 프로젝트의 `composer.json` 안에 모든 의존성(dependency)를 설치합니다 : +- 프로젝트의 `composer.json` 안에 모든 의존성(dependency)를 설치합니다: `composer install` @@ -15,7 +15,7 @@ `composer remove {{사용자/패키지명}}` -- 프로젝트의 `composer.json` 파일의 모든 의존성(dependency)를 업데이트 합니다: +- 프로젝트의 `composer.json` 파일의 모든 의존성(dependency)를 업데이트 합니다: `composer update` diff --git a/pages.ko/common/conan.md b/pages.ko/common/conan.md new file mode 100644 index 00000000000000..85f51e4fe5e2f8 --- /dev/null +++ b/pages.ko/common/conan.md @@ -0,0 +1,29 @@ +# conan + +> 모든 기본 바이너리를 생성하고 공유할 수 있는 오픈소스, 분산형 및 크로스 플랫폼 패키지 관리자. +> `frogarian`과 같은 일부 하위 명령에는 자체 사용법 문서가 있음. +> 더 많은 정보: . + +- `conanfile.txt`를 기반으로 패키지를 설치: + +`conan install {{.}}` + +- 패키지를 설치하고 특정 생성기에 대한 구성 파일을 만듬: + +`conan install -g {{생성기}}` + +- 소스에서 빌드하여 패키지를 설치: + +`conan install {{.}} --build` + +- 로컬에 설치된 패키지 검색: + +`conan search {{패키지}}` + +- 원격 패키지 검색: + +`conan search {{패키지}} -r {{원격}}` + +- 원격 패키지 목록: + +`conan remote list` diff --git a/pages.ko/common/conda-create.md b/pages.ko/common/conda-create.md new file mode 100644 index 00000000000000..a173ae49a65009 --- /dev/null +++ b/pages.ko/common/conda-create.md @@ -0,0 +1,16 @@ +# conda create + +> 새로운 conda 환경을 생성. +> 더 많은 정보: . + +- `py39`라는 새로운 환경을 만들고, 여기에 Python 3.9 및 NumPy v1.11 이상을 설치: + +`conda create --yes --name {{py39}} python={{3.9}} "{{numpy>=1.11}}"` + +- 환경의 완벽한 복사본 생성: + +`conda create --clone {{py39}} --name {{py39-copy}}` + +- 지정된 이름으로 새 환경을 만들고 지정된 패키지를 설치: + +`conda create --name {{환경_이름}} {{패키지}}` diff --git a/pages.ko/common/conda-install.md b/pages.ko/common/conda-install.md new file mode 100644 index 00000000000000..f871e07cfd40b1 --- /dev/null +++ b/pages.ko/common/conda-install.md @@ -0,0 +1,32 @@ +# conda install + +> 기존 conda 환경에 패키지를 설치. +> 더 많은 정보: . + +- 현재 활성 conda 환경에 하나 이상의 패키지를 설치: + +`conda install {{패키지1 패키지2 ...}}` + +- 채널 conda-forge를 사용하여 현재 활성 conda 환경에 단일 패키지를 설치: + +`conda install -c conda-forge {{패키지}}` + +- conda-forge 채널을 사용하고 다른 채널을 무시하고 현재 활성 conda 환경에 단일 패키지를 설치: + +`conda install -c conda-forge --override-channels {{패키지}}` + +- 특정 버전의 패키지를 설치: + +`conda install {{패키지}}={{버전}}` + +- 특정 환경에 패키지를 설치: + +`conda install --name {{환경}} {{패키지}}` + +- 현재 환경에서 패키지 업데이트: + +`conda install --upgrade {{패키지}}` + +- 메시지를 표시하지 않고 동의하여 패키지를 설치: + +`conda install --yes {{패키지}}` diff --git a/pages.ko/common/conda.md b/pages.ko/common/conda.md index 87db6192e934f1..ab65142798d195 100644 --- a/pages.ko/common/conda.md +++ b/pages.ko/common/conda.md @@ -1,27 +1,27 @@ # conda > 프로그래밍 언어에 대한 패키지, 의존성 및 환경 관리. -> 더 많은 정보: . +> 더 많은 정보: . - 새로운 환경을 생성합니다, 이름이 주어진 패키지로 설치합니다: -`conda create --name {{환경_이름}} {{python=2.7 matplotlib}}` +`conda create {{[-n|--name]}} {{환경_이름}} {{python=3.9 matplotlib}}` - 모든 환경의 리스트를 보여줍니다: -`conda info --envs` +`conda info {{[-e|--envs]}}` -- 환경을 불러오거나 내립니다: +- 환경을 불러오거나: -`conda {{활성화|비활성화}} {{환경_이름}}` +`conda activate {{환경_이름}}` -- 모든 환경을 제거합니다 (모든 패키지 제거): +- 환경을 비활성화: -`conda remove --name {{환경_이름}} --all` +`conda deactivate` -- 패키지 이름으로 conda의 채널을 찾습니다: +- 모든 환경을 제거합니다 (모든 패키지 제거): -`conda search {{패키지명}}` +`conda remove {{[-n|--name]}} {{환경_이름}} --all` - 현재 환경의 패키지를 설치합니다: @@ -33,4 +33,4 @@ - 사용하지 않는 패키지나 캐시를 제거합니다: -`conda clean --all` +`conda clean {{[-a|--all]}}` diff --git a/pages.ko/common/consul.md b/pages.ko/common/consul.md index f760c15f511630..af5a7f83492160 100644 --- a/pages.ko/common/consul.md +++ b/pages.ko/common/consul.md @@ -1,11 +1,7 @@ # consul > 서비스 검색 기능과 상태 확인을 위한 분산된 키-값(key-value)쌍 저장. -> 더 많은 정보: . - -- Consul 버전을 체크합니다: - -`consul --version` +> 더 많은 정보: . - 일반 도움말을 보여줍니다: @@ -14,3 +10,7 @@ - 서브 명령어를 위한 도움말을 보여줍니다: `consul {{하위-명령어}} --help` + +- Consul 버전을 체크합니다: + +`consul --version` diff --git a/pages.ko/common/convert.md b/pages.ko/common/convert.md index ce2a4968fb1d74..4e89f122ef9c6c 100644 --- a/pages.ko/common/convert.md +++ b/pages.ko/common/convert.md @@ -1,32 +1,9 @@ # convert -> Imagemagick 이미지 변환 도구. -> 더 많은 정보: . +> 이 명령어는 `magick convert`의 별칭. +> 참고: ImageMagick 7부터 이 별칭은 사용되지 않음. `magick`으로 대체됨. +> 7 이상 버전에서 이전 도구를 사용해야 하는 경우, `magick convert`를 사용해야 함. -- JPG이미지를 PNG이미지로 변환: +- 원래 명령에 대한 문서 보기: -`convert {{이미지.jpg}} {{이미지.png}}` - -- 이미지를 원래 크기의 50%로 조정: - -`convert {{이미지.png}} -resize 50% {{이미지2.png}}` - -- 원래 종횡비를 유지하면서 이미지를 최대 640x480 크기로 조정: - -`convert {{이미지.png}} -resize 640x480 {{이미지2.png}}` - -- 이미지를 가로로 추가: - -`convert {{이미지1.png}} {{이미지2.png}} {{이미지3.png}} +append {{이미지123.png}}` - -- 이미지를 세로로 추가: - -`convert {{이미지1.png}} {{이미지2.png}} {{이미지3.png}} -append {{이미지123.png}}` - -- 100ms 지연된 일련의 이미지에서 GIF 만들기: - -`convert {{이미지1.png}} {{이미지2.png}} {{이미지3.png}} -delay {{100}} {{애니메이션.gif}}` - -- 단색 배경만으로 이미지 만들기: - -`convert -size {{800x600}} "xc:{{#ff0000}}" {{이미지.png}}` +`tldr magick convert` diff --git a/pages.ko/common/coproc.md b/pages.ko/common/coproc.md new file mode 100644 index 00000000000000..d0c56d9b9ea86e --- /dev/null +++ b/pages.ko/common/coproc.md @@ -0,0 +1,28 @@ +# coproc + +> 대화형 비동기 서브셸을 생성하기 위한 내장 Bash. +> 더 많은 정보: . + +- 서브셸을 비동기적으로 실행: + +`coproc { {{명령어1; 명령어2; ...}}; }` + +- 특정 이름을 가진 보조 프로세스를 만듬: + +`coproc {{이름}} { {{명령어1; 명령어2; ...}}; }` + +- 특정 보조 프로세스 `stdin`에 쓰기: + +`echo "{{입력}}" >&"${{{이름}}[1]}"` + +- 특정 보조 프로세스 `stdout`에서 읽음: + +`read {{변수}} <&"${{{이름}}[0]}"` + +- `stdin`을 반복적으로 읽고 입력에 대해 일부 명령을 실행하는 보조 프로세스를 만듬: + +`coproc {{이름}} { while read line; do {{명령어1; 명령어2; ...}}; done }` + +- `bc`를 실행하는 보조 프로세스를 만들고 사용: + +`coproc BC { bc --mathlib; }; echo "1/3" >&"${BC[1]}"; read output <&"${BC[0]}"; echo "$output"` diff --git a/pages.ko/common/copyq.md b/pages.ko/common/copyq.md index 9a5fdf9445f6d2..bcfd58560c2830 100644 --- a/pages.ko/common/copyq.md +++ b/pages.ko/common/copyq.md @@ -1,7 +1,7 @@ # copyq > 고급 기능을 갖춘 클립보드 매니저. -> 더 많은 정보: . +> 더 많은 정보: . - copyQ를 시작하여 클립보드 기록 저장: diff --git a/pages.ko/common/core-validate-commit.md b/pages.ko/common/core-validate-commit.md new file mode 100644 index 00000000000000..5a594af976408f --- /dev/null +++ b/pages.ko/common/core-validate-commit.md @@ -0,0 +1,32 @@ +# core-validate-commit + +> Node.js 코어에 대한 커밋 메시지를 확인. +> 더 많은 정보: . + +- 현재 커밋을 확인: + +`core-validate-commit` + +- 특정 커밋을 확인: + +`core-validate-commit {{커밋_해시}}` + +- 다양한 커밋의 유효성을 검사: + +`git rev-list {{커밋_해시}}..HEAD | xargs core-validate-commit` + +- 모든 유효성 검사 규칙을 나열: + +`core-validate-commit --list` + +- 유효한 Node.js 하위시스템을 모두 나열: + +`core-validate-commit --list-subsystem` + +- 탭 형식으로 출력 형식을 지정하는 현재 커밋의 유효성을 검사: + +`core-validate-commit --tap` + +- 도움말 표시: + +`core-validate-commit --help` diff --git a/pages.ko/common/corepack.md b/pages.ko/common/corepack.md new file mode 100644 index 00000000000000..de3331af0d06ad --- /dev/null +++ b/pages.ko/common/corepack.md @@ -0,0 +1,36 @@ +# corepack + +> Node 프로젝트와 해당 패키지 관리자 사이의 브라지 역할을 하는 런타임 종속성이 없는 패키지. +> 더 많은 정보: . + +- Corepack shim을 Node.js 설치 디렉터리에 추가하여 전역 명령으로 사용할 수 있도록 함: + +`corepack enable` + +- 특정 디렉토리에 Corepack shim을 추가함: + +`corepack enable --install-directory {{경로/대상/디렉토리}}` + +- Node.js 설치 디렉터리에서 Corepack shim을 제거: + +`corepack disable` + +- 특정 패키지 관리자를 준비: + +`corepack prepare {{패키지_매니저}}@{{버전}} --activate` + +- 현재 경로의 프로젝트에 대해 구성된 패키지 관리자를 준비: + +`corepack prepare` + +- 전역 명령으로 설치하지 않고 패키지 관리자를 사용: + +`corepack {{npm|pnpm|yarn}} {{패키지_매니저_인자}}` + +- 지정된 아카이브에서 패키지 관리자를 설치: + +`corepack hydrate {{경로/대상/corepack.tgz}}` + +- 하위 명령어에 대한 도움말 표시: + +`corepack {{하위명령어}} --help` diff --git a/pages.ko/common/cosign.md b/pages.ko/common/cosign.md new file mode 100644 index 00000000000000..4ae7550b68c59c --- /dev/null +++ b/pages.ko/common/cosign.md @@ -0,0 +1,36 @@ +# cosign + +> OCI 레지스트리의 컨테이너 서명, 검증 및 저장. +> 더 많은 정보: . + +- 키의 쌍을 생성: + +`cosign generate-key-pair` + +- 컨테이너에 서명하고 레지스트리에 서명을 저장: + +`cosign sign -key {{cosign.key}} {{이미지}}` + +- Kubernetes 비밀에 저장된 키 쌍을 사용하여 컨테이너 이미지에 서명: + +`cosign sign -key k8s://{{네임스페이스}}/{{키}} {{이미지}}` + +- 로컬 키 쌍 파일로 blob에 서명: + +`cosign sign-blob --key {{cosign.key}} {{경로/대상/파일}}` + +- 공개 키에 대해 컨테이너를 확인: + +`cosign verify -key {{cosign.pub}} {{이미지}}` + +- Dockerfile의 공개 키로 이미지를 확인: + +`cosign dockerfile verify -key {{cosign.pub}} {{경로/대상/Dockerfile}}` + +- Kubernetes 비밀에 저장된 공개 키로 이미지를 확인: + +`cosign verify -key k8s://{{네임스페이스}}/{{key}} {{이미지}}` + +- 컨테이너 이미지와 해당 서명을 복사: + +`cosign copy {{example.com/src:latest}} {{example.com/dest:latest}}` diff --git a/pages.ko/common/cotton.md b/pages.ko/common/cotton.md index 434cdec3b435c3..9ae202474e74ee 100644 --- a/pages.ko/common/cotton.md +++ b/pages.ko/common/cotton.md @@ -3,15 +3,14 @@ > 마크다운 테스트 사양 러너. > 더 많은 정보: . -- 특정 기본 url 사용하기: +- 특정 기본 URL 사용하기: -`cotton -u {{기본_url}} {{파일}}.md` +`cotton -u {{기본_url}} {{파일.md}}` - 인증서 확인 비활성화(비 보안 모드): -`cotton -u {{기본_url}} -i {{파일}}.md` +`cotton -u {{기본_url}} -i {{파일.md}}` - 테스트 실패시 실행 중지: -`cotton -u {{기본_url}} -s {{파일}}.md` - +`cotton -u {{기본_url}} -s {{파일.md}}` diff --git a/pages.ko/common/cowsay.md b/pages.ko/common/cowsay.md index 426f2516321474..50927dc9e31c6a 100644 --- a/pages.ko/common/cowsay.md +++ b/pages.ko/common/cowsay.md @@ -1,24 +1,24 @@ # cowsay > 무언가를 말하거나 생각하는 ASCII 문자(기본적으로 cow)를 생성. -> 더 많은 정보: . +> 더 많은 정보: . -- "Hello world!"라고 말하는 ASCII cow 출력: +- "Hello world"라고 말하는 ASCII cow 출력: -`cowsay "Hello world!"` +`cowsay "Hello world"` - 풍선에 표준 입력의 텍스트 사용: -`echo "Hello!" | cowsay` +`echo "Hello" | cowsay` - 사용 가능한 모든 문자 나열: `cowsay -l` -- "Hello!"라고 말하는 ASCII dragon 출력: +- "Hello"라고 말하는 ASCII dragon 출력: -`cowsay -f dragon "Hello!"` +`cowsay -f dragon "Hello"` - 돌로 된 생각하는 ASCII cow 출력: -`cowthink -s "I'm just a cow, not a great thinker ..."` +`cowthink -s "I'm just a cow, not a great thinker..."` diff --git a/pages.ko/common/cp.md b/pages.ko/common/cp.md index 8a47d35e28e417..8fe71b9245c3d6 100644 --- a/pages.ko/common/cp.md +++ b/pages.ko/common/cp.md @@ -1,6 +1,7 @@ # cp > 파일 및 디렉토리 복사. +> 더 많은 정보: . - 파일을 다른 위치로 복사: diff --git a/pages.ko/common/cpan.md b/pages.ko/common/cpan.md new file mode 100644 index 00000000000000..b81bff8d44d3f1 --- /dev/null +++ b/pages.ko/common/cpan.md @@ -0,0 +1,20 @@ +# cpan + +> CPAN 사이트에서 perl 모듈을 쿼리, 다운로드 및 빌드하기. +> 더 많은 정보: . + +- 모듈을 설치(`-i`는 선택 사항): + +`cpan {{-i}} {{모듈_이름}}` + +- 모듈을 강제 설치(`-i`는 선택 사항이 아님): + +`cpan -fi {{모듈_이름}}` + +- 설치된 모든 모듈을 업그레이드: + +`cpan -u` + +- 모듈을 다시 컴파일: + +`cpan -r` diff --git a/pages.ko/common/cpdf.md b/pages.ko/common/cpdf.md new file mode 100644 index 00000000000000..ebed36b6ec5a5c --- /dev/null +++ b/pages.ko/common/cpdf.md @@ -0,0 +1,36 @@ +# cpdf + +> PDF 파일 조작. +> 더 많은 정보: . + +- 소스 문서에서 1, 2, 3 및 6페이지를 선택하고 이를 대상 문서에 작성: + +`cpdf {{경로/대상/소스_문서.pdf}} {{1-3,6}} -o {{경로/대상/대상_문서.pdf}}` + +- 두 개의 문서를 새 문서로 병합: + +`cpdf -merge {{경로/대상/소스_문서_1.pdf}} {{경로/대상/소스_문서_2.pdf}} -o {{경로/대상/대상_문서.pdf}}` + +- 문서의 북마크 표시: + +`cpdf -list-bookmarks {{경로/대상/문서.pdf}}` + +- 문서를 10페이지 단위로 나누어 `chunk001.pdf`, `chunk002.pdf` 등에 작성: + +`cpdf -split {{경로/대상/문서.pdf}} -o {{경로/대상/문서%%%.pdf}} -chunk {{10}}` + +- 128비트 암호화를 사용하여 문서를 암호화하고, `fred`를 소유자 비밀번호로, `joe`를 사용자 비밀번호로 제공: + +`cpdf -encrypt {{128bit}} {{fred}} {{joe}} {{경로/대상/소스_문서.pdf}} -o {{경로/대상/암호화된_문서.pdf}}` + +- 소유자 비밀번호 `fred`를 사용하여 문서를 해독: + +`cpdf -decrypt {{경로/대상/암호화된_문서.pdf}} owner={{fred}} -o {{경로/대상/복호화된_문서.pdf}}` + +- 문서의 주석 표시: + +`cpdf -list-annotations {{경로/대상/문서.pdf}}` + +- 추가 메타데이터를 사용하여 기존 문서에서 새 문서를 생성: + +`cpdf -set-metadata {{경로/대상/메타데이터.xml}} {{경로/대상/소스_문서.pdf}} -o {{경로/대상/대상_문서.pdf}}` diff --git a/pages.ko/common/cppcheck.md b/pages.ko/common/cppcheck.md index aaecd41d382804..dc6b98764c29c5 100644 --- a/pages.ko/common/cppcheck.md +++ b/pages.ko/common/cppcheck.md @@ -2,7 +2,7 @@ > C/C++ 코드를 위한 정적 분석 도구. > 구문 오류 대신 컴파일러가 일반적으로 감지하지 못하는 버그 유형에 중점을 둠. -> 더 많은 정보: . +> 더 많은 정보: . - 화면에 진행률을 표시하고 오류 메시지를 파일에 로깅하여 현재 디렉토리를 반복적으로 확인: @@ -14,7 +14,7 @@ - 수행 할 테스트를 지정하여 주어진 파일을 확인(기본적으로 오류만 표시됨): -`cppcheck --enable={{error|warning|style|performance|portability|information|all}} {{file.cpp/의/경로}}` +`cppcheck --enable {{error|warning|style|performance|portability|information|all}} {{file.cpp/의/경로}}` - 사용 가능한 테스트 목록: @@ -22,7 +22,7 @@ - 특정 테스트를 무시하고 주어진 파일을 확인: -`cppcheck --suppress={{test_id1}} --suppress={{test_id2}} {{file.cpp/의/경로}}` +`cppcheck --suppress {{test_id1}} --suppress {{test_id2}} {{file.cpp/의/경로}}` - 현재 디렉토리를 확인하여 외부에 있는 include 파일의 경로를 제공(예 : 외부 라이브러리): @@ -30,4 +30,4 @@ - Microsoft Visual Studio 프로젝트 (`*.vcxproj`) 또는 솔루션 (`*.sln`)을 확인: -`cppcheck --project={{project.sln/의/경로}}` +`cppcheck --project {{project.sln/의/경로}}` diff --git a/pages.ko/common/cppclean.md b/pages.ko/common/cppclean.md index 7336e70a9ad7da..0ebaa4223c8363 100644 --- a/pages.ko/common/cppclean.md +++ b/pages.ko/common/cppclean.md @@ -7,14 +7,14 @@ `cppclean {{프로젝트/의/경로}}` -- 헤더가 "inc1/" 및 "inc2/" 디렉토리에 있는 프로젝트에서 실행: +- 헤더가 `inc1/` 및 `inc2/` 디렉토리에 있는 프로젝트에서 실행: -`cppclean {{프로젝트/의/경로}} --include-path={{inc1}} --include-path={{inc2}}` +`cppclean {{프로젝트/의/경로}} --include-path {{inc1}} --include-path {{inc2}}` -- 특정 팡리 "main.cpp"에서 실행: +- 특정 팡리 `main.cpp`에서 실행: `cppclean {{main.cpp}}` -- "build"디렉토리를 제외한 현재 디렉토리에서 실행: +- `build`디렉토리를 제외한 현재 디렉토리에서 실행: -`cppclean {{.}} --exclude={{build}}` +`cppclean {{.}} --exclude {{build}}` diff --git a/pages.ko/common/crackle.md b/pages.ko/common/crackle.md new file mode 100644 index 00000000000000..987bf470e7b564 --- /dev/null +++ b/pages.ko/common/crackle.md @@ -0,0 +1,16 @@ +# crackle + +> BLE(Bluetooth Low Energy) 암호화를 크랙하고 해독. +> 더 많은 정보: . + +- 녹음된 BLE 통신에 임시 키(TK)를 복구하는 데 필요한 패킷이 포함되어 있는지 확인: + +`crackle -i {{경로/대상/입력.pcap}}` + +- 무차별 대입을 사용해 기록된 페어링 이벤트의 TK를 복구하고 이를 사용하여 모든 후속 통신을 해독: + +`crackle -i {{경로/대상/입력.pcap}} -o {{경로/대상/복호화데이터.pcap}}` + +- 지정된 장기 키 (LTK)를 사용하여 녹음된 통신을 해독: + +`crackle -i {{경로/대상/입력.pcap}} -o {{경로/대상/복호화데이터.pcap}} -l {{81b06facd90fe7a6e9bbd9cee59736a7}}` diff --git a/pages.ko/common/cradle.md b/pages.ko/common/cradle.md index e5067bb791e5c6..093842f532d6cc 100644 --- a/pages.ko/common/cradle.md +++ b/pages.ko/common/cradle.md @@ -8,6 +8,10 @@ `cradle connect {{서버_명}}` +- Cradle 명령 실행: + +`cradle {{명령}}` + - 일반적인 도움말 표시: `cradle help` @@ -15,7 +19,3 @@ - 특정 명령에 대한 도움말 표시: `cradle {{명령}} help` - -- Cradle 명령 실행: - -`cradle {{명령}}` diff --git a/pages.ko/common/crane-append.md b/pages.ko/common/crane-append.md new file mode 100644 index 00000000000000..9e20e0478dee6f --- /dev/null +++ b/pages.ko/common/crane-append.md @@ -0,0 +1,33 @@ +# crane append + +> (선택 사항) 기본 이미지를 기반으로 이미지를 푸시. +> 제공된 tarball의 내용이 포함된 레이어를 추가. +> 더 많은 정보: . + +- 기본 이미지를 기반으로 하는 이미지 푸시: + +`crane append {{[-b|--base]}} {{이미지_이름}}` + +- tarball에서 추가된 레이어가 있는 이미지 푸시: + +`crane append {{[-f|--new_layer]}} {{레이어_이름1 레이어_이름2 ...}}` + +- 새로운 태그가 포함된 레이어가 추가된 이미지 푸시: + +`crane append {{[-t|--new_tag]}} {{태그_이름}}` + +- 결과 이미지를 새 tarball로 푸시: + +`crane append {{[-o|--output]}} {{경로/대상/tarball}}` + +- Docker 대신 OCI 미디어 유형의 비어있는 기본 이미지를 사용: + +`crane append --oci-empty-base` + +- 기본 이미지를 기반으로 결과 이미지에 주석을 달기: + +`crane append --set-base-image-annotations` + +- 도움말 표시: + +`crane append {{[-h|--help]}}` diff --git a/pages.ko/common/crane-auth.md b/pages.ko/common/crane-auth.md new file mode 100644 index 00000000000000..c67ec4df7921db --- /dev/null +++ b/pages.ko/common/crane-auth.md @@ -0,0 +1,28 @@ +# crane auth + +> 로그인하거나 자격 증명에 액세스. +> 더 많은 정보: . + +- `crane auth` 하위명령어를 실행: + +`crane auth {{하위명령어}}` + +- 자격증명 도우미 구현: + +`crane auth get {{레지스트리_주소}} {{[-h|--help]}}` + +- 레지스트리에 로그인: + +`crane auth login {{레지스트리_주소}} {{[-h|--help]}} {{[-p|--password]}} {{비밀번호}} {{-password-stdin}} {{[-u|--username]}} {{사용자명}}` + +- 레지스트리에서 로그아웃: + +`crane auth logout {{레지스트리_주소}} {{[-h|--help]}}` + +- 원격 저장소에 대한 토큰을 검색: + +`crane auth token {{레지스트리_주소}} {{[-H|--header]}} {{[-h|--help]}} {{[-m|--mount]}} {{스코프1 스코프2 ...}} --push` + +- 도움말 표시: + +`crane auth {{[-h|--help]}}` diff --git a/pages.ko/common/crane-blob.md b/pages.ko/common/crane-blob.md new file mode 100644 index 00000000000000..08798624790334 --- /dev/null +++ b/pages.ko/common/crane-blob.md @@ -0,0 +1,12 @@ +# crane blob + +> 레지스트리에서 blob를 읽음. +> 더 많은 정보: . + +- 레지스트리에서 blob를 읽음: + +`crane blob {{blob_구분자}}` + +- 도움말 표시: + +`crane blob {{[-h|--help]}}` diff --git a/pages.ko/common/crane-catalog.md b/pages.ko/common/crane-catalog.md new file mode 100644 index 00000000000000..e5839e51f79275 --- /dev/null +++ b/pages.ko/common/crane-catalog.md @@ -0,0 +1,16 @@ +# crane catalog + +> 레지스트리의 저장소를 나열. +> 더 많은 정보: . + +- 레지스트리의 저장소를 나열: + +`crane catalog {{레지스트리_주소}}` + +- 전체 이미지 참조를 출력: + +`crane catalog {{레지스트리_주소}} --full-ref` + +- 도움말 표시: + +`crane catalog {{[-h|--help]}}` diff --git a/pages.ko/common/crane-config.md b/pages.ko/common/crane-config.md new file mode 100644 index 00000000000000..f8dfea9e75fe59 --- /dev/null +++ b/pages.ko/common/crane-config.md @@ -0,0 +1,12 @@ +# crane config + +> 이미지 구성 가져오기. +> 더 많은 정보: . + +- 이미지 구성 가져오기: + +`crane config {{이미지_이름}}` + +- 도움말 표시: + +`crane config {{[-h|--help]}}` diff --git a/pages.ko/common/crane-copy.md b/pages.ko/common/crane-copy.md new file mode 100644 index 00000000000000..365a1771a6542b --- /dev/null +++ b/pages.ko/common/crane-copy.md @@ -0,0 +1,24 @@ +# crane copy + +> 다이제스트 값을 유지하면서 소스에서 대상으로 원격 이미지를 효율적으로 복사. +> 더 많은 정보: . + +- 소스에서 대상으로 이미지를 복사: + +`crane copy {{소스}} {{대상}}` + +- 모든 태그 복사: + +`crane copy {{소스}} {{대상}} {{[-a|--all-tags]}}` + +- 최대 동시 복사본 수를 설정, 기본값은 GOMAXPROCS: + +`crane copy {{소스}} {{대상}} {{[-j|--jobs]}} {{int}}` + +- 대상의 기존 태그를 덮어쓰지 않음: + +`crane copy {{소스}} {{대상}} {{[-n|--no-clobber]}}` + +- 도움말 표시: + +`crane copy {{[-h|--help]}}` diff --git a/pages.ko/common/crane-cp.md b/pages.ko/common/crane-cp.md new file mode 100644 index 00000000000000..d745415bbe8448 --- /dev/null +++ b/pages.ko/common/crane-cp.md @@ -0,0 +1,7 @@ +# crane cp + +> 이 명령은 `crane copy`의 별칭이다. + +- 원본 명령어에 대한 설명서 보기: + +`tldr crane copy` diff --git a/pages.ko/common/crane-delete.md b/pages.ko/common/crane-delete.md new file mode 100644 index 00000000000000..7b5170fc3b1ac1 --- /dev/null +++ b/pages.ko/common/crane-delete.md @@ -0,0 +1,12 @@ +# crane delete + +> 레지스트리에서 이미지 참조를 삭제. +> 더 많은 정보: . + +- 레지스트리에서 이미지 참조를 삭제: + +`crane delete {{이미지_이름}}` + +- 도움말 표시: + +`crane delete {{[-h|--help]}}` diff --git a/pages.ko/common/crane-digest.md b/pages.ko/common/crane-digest.md new file mode 100644 index 00000000000000..fa361ed9694d5d --- /dev/null +++ b/pages.ko/common/crane-digest.md @@ -0,0 +1,20 @@ +# crane digest + +> 이미지의 다이제스트를 가져옴. +> 더 많은 정보: . + +- 이미지의 다이제스트를 가져옴: + +`crane digest {{이미지_이름}}` + +- 다이제스트로 전체 이미지 참조를 출력: + +`crane digest {{이미지_이름}} --full-ref` + +- 이미지가 포함된 tarball의 경로를 지정: + +`crane digest {{이미지_이름}} --tarball {{경로/대상/tarball}}` + +- 도움말 표시: + +`crane digest {{[-h|--help]}}` diff --git a/pages.ko/common/crane-export.md b/pages.ko/common/crane-export.md new file mode 100644 index 00000000000000..995a10a5971937 --- /dev/null +++ b/pages.ko/common/crane-export.md @@ -0,0 +1,16 @@ +# crane export + +> 컨테이너 이미지의 파일 시스템을 tarball로 내보냄. +> 더 많은 정보: . + +- `stdout`에 tarball을 작성 : + +`crane export {{이미지_이름}} -` + +- 파일에 tarball 쓰기: + +`crane export {{이미지_이름}} {{경로/대상/tarball}}` + +- stdin에서 이미지 읽기: + +`crane export - {{경로/대상/파일이름}}` diff --git a/pages.ko/common/crane-flatten.md b/pages.ko/common/crane-flatten.md new file mode 100644 index 00000000000000..aa8507a07e1db6 --- /dev/null +++ b/pages.ko/common/crane-flatten.md @@ -0,0 +1,17 @@ +# crane flatten + +> 이미지의 레이어를 단일 레이어로 병합. +> 태그가 지정되지 않은 경우, 다이제스트를 원본 이미지 저장소에 푸시. +> 더 많은 정보: . + +- 이미지 병합: + +`crane flatten` + +- 병합된 이미지에 새로운 태그 적용: + +`crane flatten {{[-t|--tag]}} {{태그_이름}}` + +- 도움말 표시: + +`crane flatten {{[-h|--help]}}` diff --git a/pages.ko/common/crane-index-append.md b/pages.ko/common/crane-index-append.md new file mode 100644 index 00000000000000..c63dcaab41dfd6 --- /dev/null +++ b/pages.ko/common/crane-index-append.md @@ -0,0 +1,30 @@ +# crane index append + +> 원격 인덱스에 매니페스트를 추가. +> 하위 명령은 매니페스트가 추가된 (선택사항) 기본 인덱스를 기반으로 인덱스를 푸시. +> 추가된 매니페스트의 플랫폼은 구성 파일에서 유추되거나 실행 불가능한 경우 생략. +> 더 많은 정보: . + +- 원격 인덱스에 매니페스트를 추가: + +`crane index append` + +- 기본 인덱스에 추가할 매니페스트에 대한 참조: + +`crane index append {{[-m|--manifest]}} {{매니페스트_이름1 매니페스트_이름2 ...}}` + +- 결과 이미지에 적용할 태그: + +`crane index append {{[-t|--tag]}} {{태그_이름}}` + +- 비어있는 기본 인덱스에는 OCI 대신 Docker 미디어 유형을 지정: + +`crane index append --docker-empty-base` + +- 인덱스 자체가 아닌 각 하위의 항목을 추가 (기본값 true): + +`crane index append --flatten` + +- 도움말 표시: + +`crane index append {{[-h|--help]}}` diff --git a/pages.ko/common/crane-index-filter.md b/pages.ko/common/crane-index-filter.md new file mode 100644 index 00000000000000..65eca4fdbc2129 --- /dev/null +++ b/pages.ko/common/crane-index-filter.md @@ -0,0 +1,20 @@ +# crane index filter + +> 플랫폼 기반 필터링을 통해 원격 인덱스를 수정. +> 더 많은 정보: . + +- 원격 인덱스 수정: + +`crane index filter` + +- os/arch{{/variant}}{{:osversion}}{{,}} 형식으로 기본에서 유지할 플랫폼을 지정: + +`crane index filter --platform {{플랫폼1 플랫폼2 ...}}` + +- 결과 이미지에 적용할 태그 지정: + +`crane index filter {{[-t|--tags]}} {{태그_이름}}` + +- 도움말 표시: + +`crane index filter {{[-h|--help]}}` diff --git a/pages.ko/common/crane-index.md b/pages.ko/common/crane-index.md new file mode 100644 index 00000000000000..31fe4c467a51ee --- /dev/null +++ b/pages.ko/common/crane-index.md @@ -0,0 +1,17 @@ +# crane index + +> 이미지 인덱스를 수정. +> `append` 및 `filter` 하위 명령어에는 자체적인 사용법 문서가 존재. +> 더 많은 정보: . + +- 이미지 인덱스 수정: + +`crane index` + +- 하위 명령어로 이미지 인덱스를 수정: + +`crane index {{하위명령어}}` + +- 도움말 표시: + +`crane index {{[-h|--help]}}` diff --git a/pages.ko/common/crane-ls.md b/pages.ko/common/crane-ls.md new file mode 100644 index 00000000000000..f235ef4f68865f --- /dev/null +++ b/pages.ko/common/crane-ls.md @@ -0,0 +1,20 @@ +# crane ls + +> 저장소의 태그를 나열. +> 더 많은 정보: . + +- 태그 나열: + +`crane ls {{레포지토리}}` + +- 전체 이미지 참조 출력: + +`crane ls {{레포지토리}} --full-ref` + +- 다이제스트 태그 생략: + +`crane ls {{[-o|--omit-digest-tags]}}` + +- 도움말 표시: + +`crane ls {{[-h|--help]}}` diff --git a/pages.ko/common/crane-manifest.md b/pages.ko/common/crane-manifest.md new file mode 100644 index 00000000000000..3f946b2ef228d4 --- /dev/null +++ b/pages.ko/common/crane-manifest.md @@ -0,0 +1,12 @@ +# crane manifest + +> 이미지의 매니페스트를 가져옴. +> 더 많은 정보: . + +- 매니페스트 가져오기: + +`crane manifest {{이미지_이름}}` + +- 도움말 표시: + +`crane manifest {{[-h|--help]}}` diff --git a/pages.ko/common/crane-mutate.md b/pages.ko/common/crane-mutate.md new file mode 100644 index 00000000000000..0e64be4883303d --- /dev/null +++ b/pages.ko/common/crane-mutate.md @@ -0,0 +1,37 @@ +# crane mutate + +> 이미지 라벨과 주석을 수정. +> 컨테이너를 레지스트리에 푸시해야 하며, 매니페스트가 레지스트리에서 업데이트. +> 더 많은 정보: . + +- 새로운 주석을 설정 (기본값 []): + +`crane mutate {{[-a|--annotation]}}/{{[-l|--label]}} {{annotation/label}}` + +- 이미지에 추가할 tarball/command/entrypoint/environment variable/exposed-ports의 경로를 지정: + +`crane mutate {{--append}}/{{--cmd}}/{{--entrypoint}}/{{[-e|--env]}}/{{--exposed-ports}} {{var1 var2 ...}}` + +- 결과 이미지의 새로운 tarball 경로: + +`crane mutate {{[-o|--output]}} {{경로/대상/tarball}}` + +- 변형된 이미지를 푸시하기 위한 os/arch{{/variant}}{{:osversion}}{{,}} 형식의 저장소: + +`crane mutate --set-platform {{플랫폼_이름}}` + +- 변형된 이미지에 적용할 새로운 태그를 참조: + +`crane mutate {{[-t|--tag]}} {{태그_이름}}` + +- 새로운 사용자 설정: + +`crane mutate {{[-u|--user]}} {{사용자명}}` + +- 설정할 새로운 작업 디렉토리 설정: + +`crane mutate {{[-w|--workdir]}} {{경로/대상/작업디렉토리}}` + +- 도움말 표시: + +`crane mutate {{[-h|--help]}}` diff --git a/pages.ko/common/crane-pull.md b/pages.ko/common/crane-pull.md new file mode 100644 index 00000000000000..260b80bb9699b1 --- /dev/null +++ b/pages.ko/common/crane-pull.md @@ -0,0 +1,24 @@ +# crane pull + +> 참조를 통해 원격 이미지를 가져오고 해당 콘텐츠를 로컬에 저장. +> 더 많은 정보: . + +- 원격 이미지 가져오기: + +`crane pull {{이미지_이름}} {{경로/대상/tarball}}` + +- --format=oci와 함께 사용할 때 주석으로 가져오는 데 사용되는 이미지 참조를 유지: + +`crane pull {{이미지_이름}} {{경로/대상/tarball}} --annotate-ref` + +- 캐시 이미지 레이어 경로: + +`crane pull {{이미지_이름}} {{경로/대상/tarball}} {{[-c|--cache_path]}} {{경로/대상/캐시}}` + +- 이미지를 저장할 형식 지정 (기본값 'tarball'): + +`crane pull {{이미지_이름}} {{경로/대상/tarball}} {{-format}} {{포맷_이름}}` + +- 도움말 표시: + +`crane pull {{[-h|--help]}}` diff --git a/pages.ko/common/crane-push.md b/pages.ko/common/crane-push.md new file mode 100644 index 00000000000000..9d96ef2e33b576 --- /dev/null +++ b/pages.ko/common/crane-push.md @@ -0,0 +1,20 @@ +# crane push + +> 로컬 이미지 콘텐츠를 원격 레지스트리로 푸시. +> 더 많은 정보: . + +- 로컬 이미지 콘텐츠를 원격 레지스트리로 푸시: + +`crane push {{경로/대상/tarball}} {{이미지_이름}}` + +- 게시된 이미지 참조 목록이 있는 파일 경로: + +`crane push {{경로/대상/tarball}} {{이미지_이름}} --image-refs {{경로/대상/파일이름}}` + +- 이미지 모음을 단일 인덱스로 푸시 (경로에 여러 이미지가 있는 경우 필수): + +`crane push {{경로/대상/tarball}} {{이미지_이름}} --index` + +- 도움말 표시: + +`crane push {{[-h|--help]}}` diff --git a/pages.ko/common/crane-rebase.md b/pages.ko/common/crane-rebase.md new file mode 100644 index 00000000000000..2529630211b6ac --- /dev/null +++ b/pages.ko/common/crane-rebase.md @@ -0,0 +1,24 @@ +# crane rebase + +> 이미지를 새로운 기본 이미지로 rebase. +> 더 많은 정보: . + +- 이미지 rebase: + +`crane rebase` + +- 새로운 기본 이미지 삽입: + +`crane rebase --new_base {{이미지_이름}}` + +- 오래된 이미지 제거: + +`crane rebase --old_base {{이미지_이름}}` + +- rebase된 이미지에 적용할 태그 추가: + +`crane rebase {{[-t|--tag]}} {{태그_이름}}` + +- 도움말 표시: + +`crane rebase {{[-h|--help]}}` diff --git a/pages.ko/common/crane-registry.md b/pages.ko/common/crane-registry.md new file mode 100644 index 00000000000000..dbe620e0905ce2 --- /dev/null +++ b/pages.ko/common/crane-registry.md @@ -0,0 +1,25 @@ +# crane registry + +> 이 명령은 자동으로 선택된 포트(:0), $PORT 또는 --address에서 레지스트리 구현을 제공. +> 서버가 push 및 pull을 수락하는 동안 명령 블록과 내용을 메모리 및 디스크에 저장할 . 수 있음. +> 더 많은 정보: . + +- 레지스트리 구현 제공: + +`crane registry serve` + +- 서버 준비 상태의 주소: + +`crane registry serve --address {{주소_이름}}` + +- blob이 저장될 디렉터리의 경로: + +`crane registry serve --disk {{경로/대상/store_dir}}` + +- 도움말 표시: + +`crane registry {{[-h|--help]}}` + +- 도움말 표시: + +`crane registry serve {{[-h|--help]}}` diff --git a/pages.ko/common/crane-tag.md b/pages.ko/common/crane-tag.md new file mode 100644 index 00000000000000..5e38f2ea9a51a2 --- /dev/null +++ b/pages.ko/common/crane-tag.md @@ -0,0 +1,13 @@ +# crane tag + +> `copy` 명령과 달리 다운로드지 않고 원격 이미지에 효율적으로 태그를 지정. +> 매니페스트가 이미 존재한다는 것을 알고 있어, 레이어 존재 확인을 건너뛰므로 속도가 약간 빨라짐. +> 더 많은 정보: . + +- 원격 이미지 태깅: + +`crane tag {{이미지_이름}} {{태그_이름}}` + +- 도움말 표시: + +`crane tag {{[-h|--help]}}` diff --git a/pages.ko/common/crane-validate.md b/pages.ko/common/crane-validate.md new file mode 100644 index 00000000000000..bff9cde5fb8b9f --- /dev/null +++ b/pages.ko/common/crane-validate.md @@ -0,0 +1,24 @@ +# crane validate + +> 이미지의 형식이 올바른지 확인. +> 더 많은 정보: . + +- 이미지 유효성 검사: + +`crane validate` + +- 레이어 다운로드/다이제스트 건너뛰기: + +`crane validate --fast` + +- 유효성을 검사할 원격 이미지의 이름: + +`crane validate --remote {{이미지_이름}}` + +- 유효성을 검사할 tarball 경로: + +`crane validate --tarball {{경로/대상/tarball}}` + +- 도움말 표시: + +`crane validate {{[-h|--help]}}` diff --git a/pages.ko/common/crane-version.md b/pages.ko/common/crane-version.md new file mode 100644 index 00000000000000..cba23e2e609cb8 --- /dev/null +++ b/pages.ko/common/crane-version.md @@ -0,0 +1,13 @@ +# crane version + +> 바이너리 버전을 출력. +> 버전 문자열은 바이너리 빌드 방법에 전적으로 의존, 버전 형식에 의존해서는 안 됨. 예고 없이 변경이 될 수 있음. +> 더 많은 정보: . + +- 버전 정보 표시: + +`crane version` + +- 도움말 표시: + +`crane version {{[-h|--help]}}` diff --git a/pages.ko/common/crane.md b/pages.ko/common/crane.md new file mode 100644 index 00000000000000..985ade9c39966c --- /dev/null +++ b/pages.ko/common/crane.md @@ -0,0 +1,29 @@ +# crane + +> 컨테이너 이미지 관리 도구. +> `pull`, `push`, `copy` 등과 같은 일부 하위 명령에는 자체 사용 설명서가 있음. +> 더 많은 정보: . + +- `crane` 하위 명령을 실행: + +`crane {{하위명령어}}` + +- 배포할 수 없는 (외부) 레이어 푸시를 허용: + +`crane --allow-nondistributable-artifacts {{하위명령어}}` + +- TLS 없이 이미지 참조를 가져오록 허용: + +`crane --insecure {{하위명령어}}` + +- os/arch{{/variant}}{{:osversion}} 형식으로 플랫폼을 지정 (e.g. linux/amd64). (기본값 모두): + +`crane --platform {{플랫폼}} {{하위명령어}}` + +- 하위 명령에 대한 디버그 로그 활성화: + +`crane {{[-v|--verbose]}} {{하위명령어}}` + +- 하위 명령에 대한 도움말 표시: + +`crane {{[-h|--help]}} {{하위명령어}}` diff --git a/pages.ko/common/createdb.md b/pages.ko/common/createdb.md new file mode 100644 index 00000000000000..a70e6f91b98396 --- /dev/null +++ b/pages.ko/common/createdb.md @@ -0,0 +1,16 @@ +# createdb + +> PostgreSQL 데이터베이스 생성. +> 더 많은 정보: . + +- 현재 사용자가 가지고 있는 데이터베이스를 생성: + +`createdb {{데이터베이스_이름}}` + +- 설명과 함께 특정 사용자가 소유한 데이터베이스를 생성: + +`createdb --owner {{사용자명}} {{데이터베이스_이름}} '{{설명}}'` + +- 템플릿에서 데이터베이스를 생성: + +`createdb --template {{템플릿_이름}} {{데이터베이스_이름}}` diff --git a/pages.ko/common/crictl.md b/pages.ko/common/crictl.md new file mode 100644 index 00000000000000..bb5427e0bac50a --- /dev/null +++ b/pages.ko/common/crictl.md @@ -0,0 +1,36 @@ +# crictl + +> CRI 호환 컨테이너 런타임을 위한 커멘드라인. +> 더 많은 정보: . + +- 모든 kubernetes 파드 나열 (준비 및 준비되지 않음): + +`crictl pods` + +- 모든 컨테이너 나열 (실행 중 및 종료): + +`crictl ps --all` + +- 모든 이미지 나열: + +`crictl images` + +- 특정 컨테이너들 정보 표시: + +`crictl inspect {{컨테이너_아이디1 컨테이너_아이디2 ...}}` + +- 실행 중인 컨테이너 내에서 특정 셸을 열기: + +`crictl exec -it {{컨테이너_아이디}} {{sh}}` + +- 레지스트리에서 특정 이미지를 가져옴: + +`crictl pull {{이미지:태그}}` + +- 특정 컨테이너의 로그를 출력하고 추적([f]ollow): + +`crictl logs -f {{컨테이너_아이디}}` + +- 하나 이상의 이미지를 제거: + +`crictl rmi {{이미지_아이디1 이미지_아이디2 ...}}` diff --git a/pages.ko/common/croc.md b/pages.ko/common/croc.md new file mode 100644 index 00000000000000..c854b00eadf4d1 --- /dev/null +++ b/pages.ko/common/croc.md @@ -0,0 +1,32 @@ +# croc + +> 모든 네트워크를 통해 쉽고 안전하게 파일을 보내고 받을 수 있음. +> 더 많은 정보: . + +- 파일 또는 디렉터리 전송: + +`croc send {{경로/대상/파일_또는_디렉터리}}` + +- 특정 암호를 사용하여 파일이나 디렉터리를 전송: + +`croc send --code {{암호}} {{경로/대상/파일_또는_디렉터리}}` + +- 수신 시스템에서 파일 또는 디렉터리 수신: + +`croc {{암호}}` + +- 맞춤형 릴레이를 통해 전송 및 연결: + +`croc --relay {{ip_to_relay}} send {{경로/대상/파일_또는_디렉터리}}` + +- 맞춤형 릴레이를 통해 수신 및 연결: + +`croc --relay {{ip_to_relay}} {{암호}}` + +- 기본 포트에서 croc 릴레이를 호스팅: + +`croc relay` + +- croc 명령에 대한 매개변수 및 옵션 표시: + +`croc {{send|relay}} --help` diff --git a/pages.ko/common/cron.md b/pages.ko/common/cron.md new file mode 100644 index 00000000000000..3c6fe06ec60021 --- /dev/null +++ b/pages.ko/common/cron.md @@ -0,0 +1,8 @@ +# cron + +> 작업이나 작업을 무인으로 실행하기 위한 시스템 스케줄러. +> `cron`에 항목을 제출, 편집 또는 삭제하는 명령을 `crontab`이라고 함. + +- `cron` 항목 관리에 대한 문서 보기: + +`tldr crontab` diff --git a/pages.ko/common/cronic.md b/pages.ko/common/cronic.md new file mode 100644 index 00000000000000..2fe1fe558c309f --- /dev/null +++ b/pages.ko/common/cronic.md @@ -0,0 +1,8 @@ +# cronic + +> 과도한 이메일 전송을 방지하기 위해 cron 작업을 래핑하는 Bash 스크립트. +> 더 많은 정보: . + +- 명령을 호출하고 0이 아닌 종료 코드를 반환하는 경우, 해당 출력을 표시: + +`cronic {{명령어}}` diff --git a/pages.ko/common/crontab.md b/pages.ko/common/crontab.md index 4783d3f74c9ab3..924dfeed9b44b7 100644 --- a/pages.ko/common/crontab.md +++ b/pages.ko/common/crontab.md @@ -2,6 +2,7 @@ > 현재 사용자의 시간 간격으로 cron작업이 실행되도록 스케줄. > 작업 정의 형식: "(분) (시) (날짜) (달) (요일) 실행 할 명령". +> 더 많은 정보: . - 현재 사용자의 crontab파일 편집: @@ -27,6 +28,6 @@ `* * 3 Apr * {{실행_할_명령}}` -- 매주 금요일 02:30에 특정 스크립트를 실행하는 샘플 작업 : +- 매주 금요일 02:30에 특정 스크립트를 실행하는 샘플 작업: `30 2 * * Fri {{/script.sh/의/절대/경로}}` diff --git a/pages.ko/common/crunch.md b/pages.ko/common/crunch.md new file mode 100644 index 00000000000000..d1e1adfc4d825a --- /dev/null +++ b/pages.ko/common/crunch.md @@ -0,0 +1,36 @@ +# crunch + +> 단어 목록 생성기. +> 더 많은 정보: . + +- 소문자만 사용하여 길이가 1부터 3인 단어 목록을 출력: + +`crunch {{1}} {{3}}` + +- 길이가 8인 16진수 단어 목록을 출력: + +`crunch {{8}} {{8}} {{0123456789abcdef}}` + +- abc의 모든 순열 목록을 출력 (길이는 처리되지 않음): + +`crunch {{1}} {{1}} -p {{abc}}` + +- 주어진 문자열의 모든 순열 목록을 출력 (길이는 처리되지 않음): + +`crunch {{1}} {{1}} -p {{abc}} {{def}} {{ghi}}` + +- 주어진 패턴에 따라 생성된 단어 목록과 최대 중복 문자 수를 출력: + +`crunch {{5}} {{5}} {{abcde123}} -t {{@@@12}} -d 2@` + +- 주어진 문자열로 시작하여 주어진 크기의 청크 파일에 단어 목록을 작성: + +`crunch {{3}} {{5}} -o {{START}} -b {{10kb}} -s {{abc}}` + +- 주어진 문자열에서 멈추고 단어 목록을 반전시켜 단어 목록을 작성: + +`crunch {{1}} {{5}} -o {{START}} -e {{abcde}} -i` + +- 지정된 단어 수로 압축된 청크 파일에 단어 목록을 작성: + +`crunch {{1}} {{5}} -o {{START}} -c {{1000}} -z {{gzip|bzip2|lzma|7z}}` diff --git a/pages.ko/common/cs-complete-dep.md b/pages.ko/common/cs-complete-dep.md new file mode 100644 index 00000000000000..2ac6787a739673 --- /dev/null +++ b/pages.ko/common/cs-complete-dep.md @@ -0,0 +1,20 @@ +# cs complete dep + +> 웹에서 직접 검색하지 않고도 라이브러리를 검색할 수 있음. +> 더 많은 정보: . + +- 특정 Maven 그룹 식별자로 게시된 아티팩트를 출력: + +`cs complete-dep {{그룹_아이디}}` + +- 특정 Maven 그룹 식별자 및 아티팩트 식별자로 게시된 라이브러리 버전을 나열: + +`cs complete-dep {{그룹_아이디}}:{{아티팩트_아이디}}` + +- ivy2local에서 검색하여 특정 Maven 그룹 ID 아래에 게시된 아티팩트를 출력: + +`cs complete-dep {{그룹_아이디}} --repository ivy2local` + +- 특정 저장소 및 자격 증명에서 검색하는 Maven 그룹 식별자 아래에 게시된 아티팩트를 나열: + +`cs complete-dep {{그룹_아이디}}:{{아티팩트_아이디}} --repository {{레포지토리_주소}} --credentials {{사용자}}:{{비밀번호}}` diff --git a/pages.ko/common/cs-fetch.md b/pages.ko/common/cs-fetch.md new file mode 100644 index 00000000000000..5dbd959dce2240 --- /dev/null +++ b/pages.ko/common/cs-fetch.md @@ -0,0 +1,28 @@ +# cs fetch + +> Fetch는 종속성의 JAR를 가져옴. +> 더 많은 정보: . + +- jar의 특정 버전을 가져옴: + +`cs fetch {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}}` + +- 패키지를 가져오고 env var에서 선택한 패키지에 해당하는 클래스 경로를 평가: + +`CP="$(cs fetch --classpath org.scalameta::scalafmt-cli:latest.release)"` + +- 특정 jar의 소스를 가져옴: + +`cs fetch --sources {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}}` + +- javadoc jar를 가져옴: + +`cs fetch --javadoc {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}}` + +- javadoc jar 및 소스 jar로 종속성을 가져옴: + +`cs fetch --default={{true}} --sources --javadoc {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}}` + +- 종속성 파일에서 오는 jar 가져오기: + +`cs fetch {{--dependency-file 경로/대상/파일1 --dependency-file 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/cs-install.md b/pages.ko/common/cs-install.md new file mode 100644 index 00000000000000..e7a90311134a2b --- /dev/null +++ b/pages.ko/common/cs-install.md @@ -0,0 +1,36 @@ +# cs install + +> `cs`를 설치할 때 구성된 디렉터리에 애플리케이션 설치 (바이너리를 로드하려면 `.bash_profile`에 `$ eval "$(cs install --env)"` 명령을 추가). +> 더 많은 정보: . + +- 특정 애플리케이션 설치: + +`cs install {{애플리케이션_이름}}` + +- 특정 버전의 애플리케이션을 설치: + +`cs install {{애플리케이션_이름}}:{{애플리케이션_버전}}` + +- 특정 이름으로 애플리케이션 검색: + +`cs search {{부분_애플리케이션_이름}}` + +- 가능한 경우 특정 애플리케이션을 업데이트: + +`cs update {{애플리케이션_이름}}` + +- 설치된 모든 애플리케이션을 업데이트: + +`cs update` + +- 특정 애플리케이션 제거: + +`cs uninstall {{애플리케이션_이름}}` + +- 설치된 모든 애플리케이션 나열: + +`cs list` + +- 설치된 애플리케이션에 특정 Java 옵션을 전달: + +`{{애플리케이션_이름}} {{-Jjava_option_name1=value1 -Jjava_option_name2=value2 ...}}` diff --git a/pages.ko/common/cs-java.md b/pages.ko/common/cs-java.md new file mode 100644 index 00000000000000..91106c2e7fbee7 --- /dev/null +++ b/pages.ko/common/cs-java.md @@ -0,0 +1,32 @@ +# cs java + +> `java` 및 `java-home` 명령은 JVM을 가져오고 설치. `java` 명령으로도 설치됨. +> 더 많은 정보: . + +- coursier를 사용하여 Java 버전 표시: + +`cs java -version` + +- coursier를 사용하여 사용자 정의 속성으로 특정 Java 버전을 호출: + +`cs java --jvm {{jvm_이름}}:{{jvm_버전}} -Xmx32m -X{{다른_jvm_옵션}} -jar {{경로/대상/jar_이름.jar}}` + +- coursier 기본 인덱스에 사용 가능한 모든 JVM을 나열: + +`cs java --available` + +- 시스템에 설치된 모든 JVM을 자신의 위치와 함께 나열: + +`cs java --installed` + +- 특정 JVM을 셸 인스턴스의 일회성 기본값으로 설정: + +`cs java --jvm {{jvm_이름}}:{{jvm_버전}} --env` + +- 기본 JVM 설정에 대한 변경 사항을 되돌림: + +`eval "$(cs java --disable)"` + +- 특정 JVM을 전체 시스템의 기본값으로 설정: + +`cs java --jvm {{jvm_이름}}:{{jvm_버전}} --setup` diff --git a/pages.ko/common/cs-launch.md b/pages.ko/common/cs-launch.md new file mode 100644 index 00000000000000..43571ef4dbd2bc --- /dev/null +++ b/pages.ko/common/cs-launch.md @@ -0,0 +1,20 @@ +# cs launch + +> 설치할 필요 없이 Maven 종속성에서 직접 이름으로 애플리케이션을 실행. +> 더 많은 정보: . + +- 인수를 사용하여 특정 애플리케이션을 시작: + +`cs launch {{애플리케이션_이름}} -- {{인수1 인수2 ...}}` + +- 인수를 사용하여 특정 애플리케이션 버전을 시작: + +`cs launch {{애플리케이션_이름}}:{{애플리케이션_버전}} -- {{인수1 인수2 ...}}` + +- 주요 파일이 무엇인지 지정하는 애플리케이션의 특정 버전인 specLaunch를 실행, 인수를 사용하여 특정 애플리케이션 버전을 지정: + +`cs launch {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}} --main-class {{경로/대상/메인_클래스_파일}}` + +- 특정 Java 옵션 및 JVM 메모리 옵션을 사용하여 애플리케이션을 시작: + +`cs launch --java-opt {{-Doption_name1:option_value1 -Doption_name2:option_value2 ...}} --java-opt {{-Xjvm_option1 -Xjvm_option2 ...}} {{애플리케이션_이름}}` diff --git a/pages.ko/common/cs-resolve.md b/pages.ko/common/cs-resolve.md new file mode 100644 index 00000000000000..0a264627bbf3f8 --- /dev/null +++ b/pages.ko/common/cs-resolve.md @@ -0,0 +1,28 @@ +# cs resolve + +> 해결은 다른 종속성의 전이적 종속성을 나열. +> 더 많은 정보: . + +- 두 가지 종속성의 정의적 종속성 목록을 해결: + +`cs resolve {{그룹_아이디1}}:{{아티팩트_아이디1}}:{{아티팩트_버전1}} {{그룹_아이디2}}:{{아티팩트_아이디2}}:{{아티팩트_버전2}}` + +- 종속성 트리를 통해 패키지의 전이적 종속성 목록을 확인: + +`cs resolve --tree {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}}` + +- 종속성 트리를 역순으로 해결 (종속성에서 종속성으로): + +`cs resolve --reverse-tree {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}}` + +- 특정 라이브러리에 의존하는 모든 라이브러리를 출력: + +`cs resolve {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}} --what-depends-on {{검색된_그룹_아이디}}:{{검색된_아티팩트_아이디}}` + +- 특정 라이브러리 버전에 의존하는 모든 라이브러리를 출력: + +`cs resolve {{그룹_아이디}}:{{아티팩트_아이디}}:{{아티팩트_버전}} --what-depends-on {{검색된_그룹_아이디}}:{{검색된_아티팩트_아이디}}{{검색된_아티팩트_버전}}` + +- 패키지들 간의 최종 충돌 결과를 출력: + +`cs resolve --conflicts {{그룹_아이디1:아티팩트_아이디1:아티팩트_버전1 그룹_아이디2:아티팩트_아이디2:아티팩트_버전2 ...}}` diff --git a/pages.ko/common/cs.md b/pages.ko/common/cs.md new file mode 100644 index 00000000000000..bcb481518ab742 --- /dev/null +++ b/pages.ko/common/cs.md @@ -0,0 +1,30 @@ +# cs + +> Scala 언어용 애플리케이션 및 아티팩트 관리자. +> Scala 애플리케이션을 설치하고 Scala 개발 환경을 설정. +> `install`, `launch`, `java`, `fetch`, `resolve`, `complete-dep` 등과 같은 일부 하위 명령에는 자체 사용 설명서가 있음. +> 더 많은 정보: . + +- 설치된 애플리케이션 목록: + +`cs list` + +- 특정 애플리케이션 설치: + +`cs install {{애플리케이션_이름}}` + +- 특정 애플리케이션 제거: + +`cs uninstall {{애플리케이션_이름}}` + +- Scala 개발을 위한 설정 머신: + +`cs setup` + +- 설치된 모든 애플리케이션을 업데이트: + +`cs update` + +- 버전 표시: + +`cs version` diff --git a/pages.ko/common/csc.md b/pages.ko/common/csc.md index 862a7dfb104943..e9ac7a4abb53d9 100644 --- a/pages.ko/common/csc.md +++ b/pages.ko/common/csc.md @@ -1,7 +1,7 @@ # csc > 마이크로 소프트 사의 C# 컴파일러. -> 더 많은 정보: . +> 더 많은 정보: . - 하나 이상의 C# 파일을 CIL 실행파일로 컴파일: diff --git a/pages.ko/common/csh.md b/pages.ko/common/csh.md new file mode 100644 index 00000000000000..61ff21734570bd --- /dev/null +++ b/pages.ko/common/csh.md @@ -0,0 +1,21 @@ +# csh + +> C와 유사한 구문을 사용하는 셸 (명령어 인터프리터). +> 참고: `tcsh`. +> 더 많은 정보: . + +- 대화형 셸 세션을 시작: + +`csh` + +- 시작 구성을 로드하지 않고 대화형 셸 세션을 시작: + +`csh -f` + +- 특정 명령어([c]ommands)를 실행: + +`csh -c "{{echo 'csh가 실행됨'}}"` + +- 특정 스크립트를 실행: + +`csh {{경로/대상/스크립트.csh}}` diff --git a/pages.ko/common/csslint.md b/pages.ko/common/csslint.md index 2804da6476b40f..3d59d4265180ae 100644 --- a/pages.ko/common/csslint.md +++ b/pages.ko/common/csslint.md @@ -3,13 +3,13 @@ > CSS 코드용 린터. > 더 많은 정보: . -- 하나의 CSS 파일을 린트:: +- 하나의 CSS 파일을 린트: `csslint {{파일.css}}` - 여러개의 CSS 파일을 린트: -`csslint {{파일1.css}} {{파일2.css}} {{파일3.css}}` +`csslint {{파일1.css 파일2.css ...}}` - 가능한 모든 스타일 규칙 나열: diff --git a/pages.ko/common/csv-diff.md b/pages.ko/common/csv-diff.md new file mode 100644 index 00000000000000..e4803fd2680dbb --- /dev/null +++ b/pages.ko/common/csv-diff.md @@ -0,0 +1,16 @@ +# csv-diff + +> 두 개의 CSV, TSV 또는 JSON 파일 간의 차이점을 확인. +> 더 많은 정보: . + +- 특정 열을 고유 식별자로 사용해 파일 간의 차이점을 사람이 읽을 수 있는 요약정보로 표시: + +`csv-diff {{경로/대상/파일1.csv}} {{경로/대상/파일2.csv}} --key {{열_이름}}` + +- 최소한 하나의 변경 사항이 있는 행의 변경되지 않은 값은 포함하는 파일 간의 차이점에 대해서, 사람이 읽을 수 있는 요약정보로 표시: + +`csv-diff {{경로/대상/파일1.csv}} {{경로/대상/파일2.csv}} --key {{열_이름}} --show-unchanged` + +- 특정 열을 고유 식별자로 사용하여 JSON 형식 파일 간 차이점을 요약정보로 표시: + +`csv-diff {{경로/대상/파일1.csv}} {{경로/대상/파일2.csv}} --key {{열_이름}} --json` diff --git a/pages.ko/common/csv2tsv.md b/pages.ko/common/csv2tsv.md new file mode 100644 index 00000000000000..ac7bf38da355df --- /dev/null +++ b/pages.ko/common/csv2tsv.md @@ -0,0 +1,16 @@ +# csv2tsv + +> CSV (쉼표로 구분) 텍스트를 TSV (탭으로 구분) 형식으로 변환함. +> 더 많은 정보: . + +- CSV를 TSV로 변환: + +`csv2tsv {{경로/대상/입력_csv1 경로/대상/입력_csv2 ...}} > {{경로/대상/출력_csv}}` + +- 필드 구분 기호로 구분되어 있는 CSV를 TSV로 변환: + +`csv2tsv -c'{{field_delimiter}}' {{경로/대상/입력_csv}}` + +- 세미콜론으로 구분된 CSV를 TSV로 변환: + +`csv2tsv -c';' {{경로/대상/입력_csv}}` diff --git a/pages.ko/common/csvcut.md b/pages.ko/common/csvcut.md index c3952c857b995f..f3a00a8cfe3b5e 100644 --- a/pages.ko/common/csvcut.md +++ b/pages.ko/common/csvcut.md @@ -11,7 +11,7 @@ `csvcut -c {{1,3}} {{데이터.csv}}` -- 네번째 열을 **제외한** 모든 열 출력: +- 네번째 열을 제외한 모든 열 출력: `csvcut -C {{4}} {{데이터.csv}}` diff --git a/pages.ko/common/csvsql.md b/pages.ko/common/csvsql.md new file mode 100644 index 00000000000000..6db4beafec4033 --- /dev/null +++ b/pages.ko/common/csvsql.md @@ -0,0 +1,17 @@ +# csvsql + +> CSV 파일에 대한 SQL문을 생성하거나 해당 문을 데이터베이스에서 직접 실행. +> csvkit에 포함됨. +> 더 많은 정보: . + +- CSV 파일에 대한 `CREATE TABLE` SQL 문을 생성: + +`csvsql {{경로/대상/데이터.csv}}` + +- CSV 파일을 SQL 데이터베이스로 가져옴: + +`csvsql --insert --db "{{mysql://user:password@host/database}}" {{데이터.csv}}` + +- CSV 파일에서 SQL 쿼리를 실행: + +`csvsql --query "{{select * from 'data'}}" {{데이터.csv}}` diff --git a/pages.ko/common/csvtool.md b/pages.ko/common/csvtool.md new file mode 100644 index 00000000000000..fd88b57754adc5 --- /dev/null +++ b/pages.ko/common/csvtool.md @@ -0,0 +1,24 @@ +# csvtool + +> CSV 형식의 소스. +> 더 많은 정보: . + +- CSV 파일에서 두 번째 열을 추출: + +`csvtool --column {{2}} {{경로/대상/파일.csv}}` + +- CSV 파일에서 두 번째 및 네 번째 열을 추출: + +`csvtool --column {{2,4}} {{경로/대상/파일.csv}}` + +- 두 번째 열이 'Foo'와 정확히 일치하는 CSV 파일에서 줄을 추출: + +`csvtool --column {{2}} --search '{{^Foo$}}' {{경로/대상/파일.csv}}` + +- 두 번째 열이 'Bar'로 시작하는 CSV 파일에서 줄을 추출: + +`csvtool --column {{2}} --search '{{^Bar}}' {{경로/대상/파일.csv}}` + +- 두 번째 열이 'Baz'로 끝나는 CSV 파일의 줄을 찾은 다음, 세 번째와 여섯 번째 열을 추출: + +`csvtool --column {{2}} --search '{{Baz$}}' {{경로/대상/파일.csv}} | csvtool --no-header --column {{3,6}}` diff --git a/pages.ko/common/ctags.md b/pages.ko/common/ctags.md new file mode 100644 index 00000000000000..c0d8c402a2f8bf --- /dev/null +++ b/pages.ko/common/ctags.md @@ -0,0 +1,20 @@ +# ctags + +> 널리 사용되는 많은 프로그래밍 언어에 대해 소스 파일에 있는 언어 객체의 인덱스 (또는 태그) 파일을 생성. +> 더 많은 정보: . + +- 단일 파일에 대한 태그를 생성하고, 현재 디렉터리에 "tags"라는 파일로 출력, 파일이 존재하면 덮어씀: + +`ctags {{경로/대상/파일}}` + +- 현재 디렉터리의 모든 파일에 대한 태그를 생성하고, 특정 파일에 출력, 파일이 존재하면 덮어씀: + +`ctags -f {{경로/대상/파일}} *` + +- 현재 디렉터리와 모든 하위 디렉터리의 모든 파일에 대한 태그를 생성: + +`ctags --recurse` + +- 단일 파일에 대한 태그를 생성하고, JSON 형식의 시작 줄 번호와 끝 줄 번호로 출력: + +`ctags --fields=+ne --output-format=json {{경로/대상/파일}}` diff --git a/pages.ko/common/cups-config.md b/pages.ko/common/cups-config.md new file mode 100644 index 00000000000000..19dbb8f5fcec04 --- /dev/null +++ b/pages.ko/common/cups-config.md @@ -0,0 +1,24 @@ +# cups-config + +> CUPS 인쇄 서버 설치에 대한 기술 정보를 표시. +> 더 많은 정보: . + +- CUPS가 현재 설치된 위치를 표시: + +`cups-config --serverbin` + +- CUPS의 구성 디렉터리 위치를 표시: + +`cups-config --serverroot` + +- CUPS의 데이터 디렉터리 위치를 표시: + +`cups-config --datadir` + +- 도움말 표시: + +`cups-config --help` + +- CUPS 버전 표시: + +`cups-config --version` diff --git a/pages.ko/common/cups.md b/pages.ko/common/cups.md new file mode 100644 index 00000000000000..252797fa84db4a --- /dev/null +++ b/pages.ko/common/cups.md @@ -0,0 +1,25 @@ +# CUPS + +> 오픈 소스 인쇄 시스템. +> CUPS는 단일 명령이 아니라, 명령의 집합. +> 더 많은 정보: . + +- CUPS 데몬 실행에 대한 문서 보기: + +`tldr cupsd` + +- 프린터 관리에 대한 문서 보기: + +`tldr lpadmin` + +- 파일 인쇄에 대한 문서 보기: + +`tldr lp` + +- 현재 클래스, 작업 및 프린터에 대한 상태 정보를 확인하기 위한 설명서 보기: + +`tldr lpstat` + +- 인쇄 작업 취소에 대한 문서 보기 : + +`tldr lprm` diff --git a/pages.ko/common/cupsaccept.md b/pages.ko/common/cupsaccept.md new file mode 100644 index 00000000000000..f88344d8a44cc3 --- /dev/null +++ b/pages.ko/common/cupsaccept.md @@ -0,0 +1,14 @@ +# cupsaccept + +> 목적지로 전송된 작업을 수락. +> 참고: 목적지는 프린터 또는 프린터 클래스라고 함. +> 추가 정보: `cupsreject`, `cupsenable`, `cupsdisable`, `lpstat`. +> 더 많은 정보: . + +- 지정된 목적지로 인쇄 작업 수락: + +`cupsaccept {{목적지1 목적지2 ...}}` + +- 다른 서버 지정: + +`cupsaccept -h {{서버}} {{목적지1 목적지2 ...}}` diff --git a/pages.ko/common/cupsctl.md b/pages.ko/common/cupsctl.md new file mode 100644 index 00000000000000..cd57be3ecee35e --- /dev/null +++ b/pages.ko/common/cupsctl.md @@ -0,0 +1,28 @@ +# cupsctl + +> 서버의 `cupsd.conf` 업데이트 또는 질의. +> 더 많은 정보: . + +- 현재 구성 설정 값을 표시: + +`cupsctl` + +- 특정 서버의 구성 값을 표시: + +`cupsctl -h {{서버[:포트]}}` + +- 스케줄러 연결 시 암호화를 활성화: + +`cupsctl -E` + +- `error_log` 파일에 대한 디버그 로깅을 활성화 또는 비활성화: + +`cupsctl {{--debug-logging|--no-debug-logging}}` + +- 원격 관리 활성화 또는 비활성화: + +`cupsctl {{--remote-admin|--no-remote-admin}}` + +- 현재 디버그 로깅 상태를 구문 분석: + +`cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'` diff --git a/pages.ko/common/cupsd.md b/pages.ko/common/cupsd.md new file mode 100644 index 00000000000000..f38fce9f48c53b --- /dev/null +++ b/pages.ko/common/cupsd.md @@ -0,0 +1,36 @@ +# cupsd + +> CUPS 인쇄 서버용 서버 데몬. +> 더 많은 정보: . + +- 백그라운드에서 `cupsd`를 데몬으로 시작: + +`cupsd` + +- 포어그라운드에서 `cupsd`를 시작: + +`cupsd -f` + +- 필요에 따라 `cupsd` 실행([l]aunch) (일반적으로 `launchd` 또는 `systemd`에서 사용됨): + +`cupsd -l` + +- Start `cupsd` using the specified [`c`]`upsd.conf` configuration file: + +`cupsd -c {{경로/대상/cupsd.conf}}` + +- 지정된 `cups-file`[`s`]`.conf` 구성 파일을 사용하여 `cupsd`를 시작: + +`cupsd -s {{경로/대상/cups-파일.conf}}` + +- [`c`]`upsd.conf` 구성 파일에 오류가 있는지 확인([t]est): + +`cupsd -t -c {{path/to/cupsd.conf}}` + +- `cups-file`[`s`]`.conf` 구성 파일들에 오류가 있는지 확인([t]est): + +`cupsd -t -s {{경로/대상/cups-파일.conf}}` + +- 도움말 표시: + +`cupsd -h` diff --git a/pages.ko/common/cupsdisable.md b/pages.ko/common/cupsdisable.md new file mode 100644 index 00000000000000..bffaead98f6b06 --- /dev/null +++ b/pages.ko/common/cupsdisable.md @@ -0,0 +1,14 @@ +# cupsdisable + +> 프린터 및 프린터 클래스를 중단. +> 참고: 목적지는 프린터 또는 프린터 클래스를 나타냄. +> 더 보기: `cupsenable`, `cupsaccept`, `cupsreject`, `lpstat`. +> 더 많은 정보: . + +- 하나 이상의 목적지들을 중지: + +`cupsdisable {{목적지1 목적지2 ...}}` + +- 지정된 목적지들의 모든 작업 취소: + +`cupsdisable -c {{목적지1 목적지2 ...}}` diff --git a/pages.ko/common/cupsenable.md b/pages.ko/common/cupsenable.md new file mode 100644 index 00000000000000..fb04e36406a6b5 --- /dev/null +++ b/pages.ko/common/cupsenable.md @@ -0,0 +1,18 @@ +# cupsenable + +> 프린터 및 프린터 클래스를 시작. +> 참고: 목적지는 프린터 또는 프린터 클래스를 나타냄. +> 더 보기: `cupsdisable`, `cupsaccept`, `cupsreject`, `lpstat`. +> 더 많은 정보: . + +- 하나 이상의 목적지들을 시작: + +`cupsenable {{목적지1 목적지2 ...}}` + +- 목적지의 보류 중인 작업 인쇄를 재개 (`--hold`와 함께 `cupsdisable` 뒤에 사용): + +`cupsenable --release {{목적지}}` + +- 지정된 목적지들의 모든 작업 취소: + +`cupsenable -c {{목적지1 목적지2 ...}}` diff --git a/pages.ko/common/cupsreject.md b/pages.ko/common/cupsreject.md new file mode 100644 index 00000000000000..e88834800f396c --- /dev/null +++ b/pages.ko/common/cupsreject.md @@ -0,0 +1,18 @@ +# cupsreject + +> 프린터로 전송된 작업 거부. +> 참고: 목적지는 프린터 또는 프린터 클래스를 나타냄. +> 더 보기: `cupsaccept`, `cupsenable`, `cupsdisable`, `lpstat`. +> 더 많은 정보: . + +- 지정된 목적지로의 인쇄 작업 거부: + +`cupsreject {{목적지1 목적지2 ...}}` + +- 다른 서버 지정: + +`cupsreject -h {{서버}} {{목적지1 목적지2 ...}}` + +- 이유 문자열을 지정 (기본적으로 "Reason Unknown"): + +`cupsreject -r {{이유}} {{목적지1 목적지2 ...}}` diff --git a/pages.ko/common/cupstestppd.md b/pages.ko/common/cupstestppd.md new file mode 100644 index 00000000000000..cb762ad353ab3f --- /dev/null +++ b/pages.ko/common/cupstestppd.md @@ -0,0 +1,19 @@ +# cupstestppd + +> 사양 버전 4.3에 대한 PPD 파일의 적합성 테스트. +> 오류 코드 (각각 1, 2, 3, 4): 잘못된 CLI 인수, 파일을 열 수 없음, 건너뛸 수 없는 형식 오류 및 PPD 사양 불일치. +> 참고: 이 명령은 더 이상 사용되지 않음. +> 더 보기: `lpadmin`. +> 더 많은 정보: . + +- 자동 모드에서 하나 이상의 파일의 적합성을 테스트: + +`cupstestppd -q {{경로/대상/파일1.ppd 경로/대상/파일2.ppd ...}}` + +- 자세한 적합성 테스트 결과를 보여주는 `stdin`에서 PPD 파일을 가져옴: + +`cupstestppd -v - < {{경로/대상/파일.ppd}}` + +- 현재 디렉터리 아래의 모든 PPD 파일을 테스트하고, 일치하지 않는 각 파일의 이름을 인쇄: + +`find . -name \*.ppd \! -execdir cupstestppd -q '{}' \; -print` diff --git a/pages.ko/common/curl.md b/pages.ko/common/curl.md index 7ac2b64e18fd71..1e8193adf64eaa 100644 --- a/pages.ko/common/curl.md +++ b/pages.ko/common/curl.md @@ -1,37 +1,37 @@ # curl > 데이터를 서버에서 혹은 서버로 전송. -> HTTP,FTP 및 POP3를 포함한 대부분의 프로토콜 지원. -> 더 많은 정보: . +> HTTP, HTTPS, FTP, SCP 등 대부분의 프로토콜 지원. +> 더 많은 정보: . -- URL의 내용을 파일로 다운로드: +- HTTP GET 요청을 수행하고 내용을 `stdout`에 덤프: -`curl {{http://example.com}} -o {{파일명}}` +`curl {{https://example.com}}` -- URL에 표시된 파일 명으로 출력을 저장하고 파일을 다운로드: +- HTTP GET 요청을 수행하고, `3xx` 리디렉션을 따라가며(fo[L]low), 응답 헤더와 내용을 `stdout`에 덤프([D]ump): -`curl -O {{http://example.com/filename}}` +`curl {{[-L|--location]}} {{[-D|--dump-header]}} - {{https://example.com}}` -- [L]위치 리다이렉션 후 파일을 다운로드 하고, 자동으로 이전 파일 [C]전송(재시작): +- URL에 표시된 파일명으로 출력([O]utput)을 저장하고 파일을 다운로드: -`curl -O -L -C - {{http://example.com/filename}}` +`curl {{[-O|--remote-name]}} {{http://example.com/filename.zip}}` -- 양식 인코딩 데이터 전송(`application/x-www-form-urlencoded`유형의 POST 요청): +- 폼으로 인코딩된 데이터([d]ata) 전송 (POST 요청의 타입, `application/x-www-form-urlencoded`). `stdin`으로 부터 읽으려면 `--data @file_name` 이나 `--data @'-'`를 사용: -`curl -d {{'name=bob'}} {{http://example.com/form}}` +`curl {{[-X|--request]}} POST {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` -- 사용자 지정 HTTP 메서드를 사용하여 추가 헤더로 요청 전송: +- 추가 헤더를 포함하여 요청을 전송하고, 사용자 지정 HTTP 메소드를 사용한 후 프록시(pro[x]y)를 통해 전송하고 (예: BurpSuite), 신뢰할 수 없는 자체 서명 인증서를 무시: -`curl -H {{'X-My-Header: 123'}} -X {{PUT}} {{http://example.com}}` +`curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} {{'Authorization: Bearer token'}} {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}` -- 적절한 컨텐츠 유형 헤더를 지정하여 JSON 포멧으로 데이터 전송: +- 적절한 컨텐츠 유형 헤더([H]eader)를 지정하여 JSON 포맷으로 데이터 전송: -`curl -d {{'{"name":"bob"}'}} -H {{'Content-Type: application/json'}} {{http://example.com/users/123}}` +`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/123}}` -- 서버 인증을 위한 사용자 이름 및 비밀번호 전달: +- 리소스에 대한 클라이언트 인증서 및 키 전달, 인증서 유효성 검사 생략: -`curl -u myusername:mypassword {{http://example.com}}` +`curl {{[-E|--cert]}} {{클라이언트.pem}} --key {{키.pem}} {{[-k|--insecure]}} {{https://example.com}}` -- 리소스에 대한 클라이언트 인증서 및 키 전달, 인증서 유효성 검사 스킵: +- 호스트 이름을 사용자 지정 IP 주소로 해결하고, 상세한([v]erbose) 출력 결과를 표시 (사용자 지정 DNS resolution을 위해 `/etc/hosts` 파일을 편집하는 것과 유사): -`curl --cert {{클라이언트.pem}} --key {{키.pem}} --insecure {{https://example.com}}` +`curl {{[-v|--verbose]}} --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}` diff --git a/pages.ko/common/cut.md b/pages.ko/common/cut.md index dab30afa4f1415..65a5b775fb93a1 100644 --- a/pages.ko/common/cut.md +++ b/pages.ko/common/cut.md @@ -1,6 +1,7 @@ # cut > `stdin` 혹은 파일에서 출력 필드를 자른다. +> 더 많은 정보: . - `stdin`의 각 라인에 첫번째 16개의 문자를 자르기: diff --git a/pages.ko/common/cvs.md b/pages.ko/common/cvs.md new file mode 100644 index 00000000000000..1c40ea9940115c --- /dev/null +++ b/pages.ko/common/cvs.md @@ -0,0 +1,32 @@ +# cvs + +> 수정 관리 시스템이며 동시성 버전 관리 시스템. +> 더 많은 정보: . + +- 새로운 저장소를 생성 (`CVSROOT` 환경 변수를 외부에서 설정해야 함): + +`cvs -d {{경로/대상/레포지토리}} init` + +- 저장소에 프로젝트를 추가: + +`cvs import -m "{{메시지}}" {{프로젝트_이름}} {{버전}} {{벤더}}` + +- 프로젝트 체크아웃: + +`cvs checkout {{프로젝트_이름}}` + +- 파일에 대한 변경 사항 표시: + +`cvs diff {{경로/대상/파일}}` + +- 파일 추가: + +`cvs add {{경로/대상/파일}}` + +- 파일 커밋: + +`cvs commit -m "{{메시지}}" {{경로/대상/파일}}` + +- 원격 저장소에서 작업 디렉터리를 업데이트: + +`cvs update` diff --git a/pages.ko/common/cwebp.md b/pages.ko/common/cwebp.md new file mode 100644 index 00000000000000..e3e9f4d11fc4d0 --- /dev/null +++ b/pages.ko/common/cwebp.md @@ -0,0 +1,24 @@ +# cwebp + +> 이미지 파일을 WebP 파일로 압축. +> 더 많은 정보: . + +- 기본 설정 (q = 75)을 사용하여 WebP 파일을 출력([o]utput) 파일로 압축: + +`cwebp {{경로/대상/이미지_파일}} -o {{경로/대상/출력파일.webp}}` + +- 최고 품질([q]uality)과 최대 파일 크기로 WebP 파일을 압축: + +`cwebp {{경로/대상/이미지_파일}} -o {{경로/대상/출력파일.webp}} -q {{100}}` + +- 최저 품질([q]uality)과 최소 파일 크기로 WebP 파일을 압축: + +`cwebp {{경로/대상/이미지_파일}} -o {{경로/대상/출력파일.webp}} -q {{0}}` + +- WebP 파일을 압축하고 이미지에 크기 조정을 적용: + +`cwebp {{경로/대상/이미지_파일}} -o {{경로/대상/출력파일.webp}} -resize {{width}} {{height}}` + +- WebP 파일을 압축하고 알파 채널 정보를 삭제: + +`cwebp {{경로/대상/이미지_파일}} -o {{경로/대상/출력파일.webp}} -noalpha` diff --git a/pages.ko/common/cypher-shell.md b/pages.ko/common/cypher-shell.md new file mode 100644 index 00000000000000..7ebe8be2c486f0 --- /dev/null +++ b/pages.ko/common/cypher-shell.md @@ -0,0 +1,33 @@ +# cypher-shell + +> 대화형 세션을 열고 Neo4j 인스턴스에 대해 Cypher 쿼리를 실행. +> 참고: `neo4j-admin`, `mysql`. +> 더 많은 정보: . + +- 기본 포트에서 로컬 인스턴스에 연결 (`neo4j://localhost:7687`): + +`cypher-shell` + +- 원격 인스턴스에 연결: + +`cypher-shell --address neo4j://{{호스트}}:{{포트}}` + +- 보안 자격 증명 연결 및 제공: + +`cypher-shell --username {{사용자명}} --password {{비밀번호}}` + +- 특정 데이터베이스에 연결: + +`cypher-shell --database {{데이터베이스_이름}}` + +- 파일에서 Cypher 문을 실행하고 닫음: + +`cypher-shell --file {{경로/대상/파일.cypher}}` + +- 파일에 대한 로깅 활성화: + +`cypher-shell --log {{경로/대상/파일.log}}` + +- 도움말 표시: + +`cypher-shell --help` diff --git a/pages.ko/common/czkawka-cli.md b/pages.ko/common/czkawka-cli.md new file mode 100644 index 00000000000000..94624f8221d22d --- /dev/null +++ b/pages.ko/common/czkawka-cli.md @@ -0,0 +1,12 @@ +# czkawka-cli + +> 중복 항목, 빈 폴더, 유사한 이미지 등을 찾는 다양한 기능의 앱 `czkawka`의 명령어 입력 버전. +> 더 많은 정보: . + +- 특정 디렉토리에 중복되거나 유사한 파일을 나열: + +`czkawka-cli {{dup|image}} --directories {{경로/대상/디렉터리1 경로/대상/디렉터리2 ...}}` + +- 특정 디렉터리에서 중복 파일을 찾아 삭제 (기본값: `NONE`): + +`czkawka-cli dup --directories {{경로/대상/디렉터리1 경로/대상/디렉터리2 ...}} --delete-method {{AEN|AEO|ON|OO|HARD|NONE}}` diff --git a/pages.ko/common/d2.md b/pages.ko/common/d2.md new file mode 100644 index 00000000000000..45fe3f45bdd74e --- /dev/null +++ b/pages.ko/common/d2.md @@ -0,0 +1,29 @@ +# d2 + +> 텍스트를 다이어그램으로 변환하는 최신 다이어그램 스크립팅 언어. +> 참고: 출력 파일은 SVG 및 PNG 파일 형식을 지원. +> 더 많은 정보: . + +- D2 소스 파일을 출력 파일로 컴파일하고 렌더링: + +`d2 {{경로/대상/입력_파일.d2}} {{경로/대상/출력_파일.ext}}` + +- 기본 웹 브라우저에서 D2 소스 파일에 대한 실시간 변경 사항을 확인([w]atch): + +`d2 --watch {{경로/대상/입력_파일.d2}} {{경로/대상/출력_파일.ext}}` + +- D2 소스 파일 형식 지정: + +`d2 fmt {{경로/대상/입력_파일.d2}}` + +- 사용 가능한 테마 목록: + +`d2 themes` + +- 출력 파일에 다른 테마([t]heme)를 사용 (원하는 `theme_id`를 얻으려면 먼저 사용 가능한 테마를 나열): + +`d2 --theme {{테마_아이디}} {{경로/대상/입력_파일.d2}} {{경로/대상/츨력_파일.ext}}` + +- 렌더링된 다이어그램을 손으로 그린([s]ketches) 것처럼 보이게 만듬: + +`d2 --sketch true {{경로/대상/입력_파일.d2}} {{경로/대상/출력_파일.ext}}` diff --git a/pages.ko/common/d8.md b/pages.ko/common/d8.md new file mode 100644 index 00000000000000..142742a64adca5 --- /dev/null +++ b/pages.ko/common/d8.md @@ -0,0 +1,16 @@ +# d8 + +> V8 JavaScript 엔진용 개발자 쉘. +> 더 많은 정보: . + +- REPL (대화형 쉘)을 시작: + +`d8` + +- JavaScript 파일 실행: + +`d8 {{경로/대상/파일.js}}` + +- JavaScript 표현식을 평가: + +`d8 -e "{{코드}}` diff --git a/pages.ko/common/dalfox.md b/pages.ko/common/dalfox.md new file mode 100644 index 00000000000000..9d74b26efd2290 --- /dev/null +++ b/pages.ko/common/dalfox.md @@ -0,0 +1,16 @@ +# dalfox + +> 자동화에 중점을 둔 강력한 오픈소스 XSS 스캐너. +> 더 많은 정보: . + +- XSS 취약점에 대한 단일 URL을 스캔: + +`dalfox url {{http://example.com}}` + +- 인증을 위해 헤더를 사용해 URL을 스캔: + +`dalfox url {{http://example.com}} -H {{'X-My-Header: 123'}}` + +- 파일에서 URL 목록을 스캔: + +`dalfox file {{경로/대상/파일}}` diff --git a/pages.ko/common/daps.md b/pages.ko/common/daps.md new file mode 100644 index 00000000000000..2387e2301a8236 --- /dev/null +++ b/pages.ko/common/daps.md @@ -0,0 +1,24 @@ +# daps + +> DocBook XML을 HTML 또는 PDF와 같은 출력 형식으로 변환하기 위한 오픈소스 프로그램. +> 더 많은 정보: . + +- DocBook XML 파일이 유효한지 확인: + +`daps -d {{경로/대상/파일.xml}} validate` + +- DocBook XML 파일을 PDF로 변환: + +`daps -d {{경로/대상/파일.xml}} pdf` + +- DocBook XML 파일을 단일 HTML file로 뱐환: + +`daps -d {{경로/대상/파일.xml}} html --single` + +- 도움말 표시: + +`daps --help` + +- 버전 정보 표시: + +`daps --version` diff --git a/pages.ko/common/darkhttpd.md b/pages.ko/common/darkhttpd.md index 32fa1944da4033..dedc988cdcc7a8 100644 --- a/pages.ko/common/darkhttpd.md +++ b/pages.ko/common/darkhttpd.md @@ -1,7 +1,7 @@ # darkhttpd > Darkhttpd 웹 서버. -> 더 많은 정보: . +> 더 많은 정보: . - 지정된 문서 경로를 제공하는 서버 시작: diff --git a/pages.ko/common/dart.md b/pages.ko/common/dart.md new file mode 100644 index 00000000000000..9fac199cf4388d --- /dev/null +++ b/pages.ko/common/dart.md @@ -0,0 +1,32 @@ +# dart + +> Dart 프로젝트 관리. +> 더 많은 정보: . + +- 같은 이름의 디렉터리에서 새로운 Dart 프로젝트를 초기화: + +`dart create {{프로젝트_이름}}` + +- Dart 파일 실행: + +`dart run {{경로/대상/파일.dart}}` + +- 현재 프로젝트에 대한 종속성을 다운로드: + +`dart pub get` + +- 현재 프로젝트에 대한 단위 테스트를 실행: + +`dart test` + +- null 안정성을 지원하도록 오래된 프로젝트의 의존성을 업데이트: + +`dart pub upgrade --null-safety` + +- Dart 파일을 기본 바이너리로 컴파일: + +`dart compile exe {{경로/대상/파일.dart}}` + +- 현재 프로젝트에 자동 수정 사항을 적용: + +`dart fix --apply` diff --git a/pages.ko/common/dash.md b/pages.ko/common/dash.md new file mode 100644 index 00000000000000..2e2db62c8ea37b --- /dev/null +++ b/pages.ko/common/dash.md @@ -0,0 +1,32 @@ +# dash + +> Debian Almquist Shell은 `sh`의 최신 POSIX 호환 구현 (Bash와 호환되지 않음). +> 더 많은 정보: . + +- 대화형 쉘 세션을 시작: + +`dash` + +- 특정 명령어([c]ommands)를 실행: + +`dash -c "{{echo 'dash가 실행중'}}"` + +- 특정 스크립트 실행: + +`dash {{경로/대상/스크립트.sh}}` + +- 구문 오류가 있는지 특정 스크립트를 확인: + +`dash -n {{경로/대상/스크립트.sh}}` + +- 실행하기 전에 각 명령을 출력하는 동안 특정 스크립트를 실행: + +`dash -x {{경로/대상/스크립트.sh}}` + +- 특정 스크립트를 실행하고 첫 번째 오류([e]rror)에서 중지: + +`dash -e {{경로/대상/스크립트.sh}}` + +- `stdin`에서 특정 명령을 실행: + +`{{echo "echo 'dash가 실행중'"}} | dash` diff --git a/pages.ko/common/datashader_cli.md b/pages.ko/common/datashader_cli.md new file mode 100644 index 00000000000000..9c7b072f4fd5c0 --- /dev/null +++ b/pages.ko/common/datashader_cli.md @@ -0,0 +1,16 @@ +# datashader_cli + +> Datashader 기반의 CLI을 사용하여 대규모 데이터 세트를 빠르게 시각화. +> 더 많은 정보: . + +- 점의 음영처리된 산점도를 생성하고 PNG 파일로 저장한 후 배경색을 설정: + +`datashader_cli points {{경로/대상/입력.parquet}} --x {{pickup_x}} --y {{pickup_y}} {{경로/대상/출력.png}} --background {{black|white|#rrggbb}}` + +- 지리공간 데이터 시각화 (Geoparquet, shapefile, geojson, geopackage 등 지원): + +`datashader_cli points {{경로/대상/입력_데이터.geo.parquet}} {{경로/대상/출력_데이터.png}} --geo true` + +- matplotlib를 사용해 이미지 렌더링: + +`datashader_cli points {{경로/대상/입력_데이터.geo.parquet}} {{경로/대상/출력_데이터.png}} --geo {{true}} --matplotlib true` diff --git a/pages.ko/common/date.md b/pages.ko/common/date.md index 73cc0e622afb78..683804de972588 100644 --- a/pages.ko/common/date.md +++ b/pages.ko/common/date.md @@ -1,14 +1,15 @@ # date > 시스템 날짜 설정 및 표시. +> 더 많은 정보: . - 기본 로컬 형식을 사용하여 현재 날짜 표시: -`date +"%c"` +`date +%c` - 현재 날짜를 UTC 및 ISO 8601 형식으로 표시: -`date -u +"%Y-%m-%dT%H:%M:%S%Z"` +`date -u +%Y-%m-%dT%H:%M:%S%Z` - 현재 날짜를 Unix 타임스탬프로 표시 (Unix epoch 이후 몇 초): @@ -16,8 +17,20 @@ - 기본 형식을 사용하여 특정 날짜 표시(Unix 타임스탬프로 표시): -`date -d @1473305798` +`date -d @{{1473305798}}` - 특정 날짜를 Unix 타임스탬프 형식으로 변환: `date -d "{{2018-09-01 00:00}}" +%s --utc` + +- 현재 날짜를 RFC-3339 형식으로 표시 (`YYYY-MM-DD hh:mm:ss TZ`): + +`date --rfc-3339 s` + +- `MMDDhhmmYYYY.ss` (`YYYY` 와 `.ss`는 선택 사항) 형식을 사용해 현재 날짜를 설정: + +`date {{093023592021.59}}` + +- ISO 기준 현재 몇 번째 주인지 표시: + +`date +%V` diff --git a/pages.ko/common/dc.md b/pages.ko/common/dc.md new file mode 100644 index 00000000000000..cd189c724196a4 --- /dev/null +++ b/pages.ko/common/dc.md @@ -0,0 +1,29 @@ +# dc + +> 임의 정밀도 계산기. 역방향 폴란드어 표기법(RPN)을 사용. +> 참고: `bc`, `qalc`. +> 더 많은 정보: . + +- 대화형 세션 시작: + +`dc` + +- 스크립트 실행: + +`dc {{경로/대상/스크립트.dc}}` + +- 지정된 척도를 사용하여 표현식을 계산: + +`dc --expression='{{10}} k {{5 3 /}} p'` + +- 4 곱하기 5 (4 5 \*)를 계산하고, 17 (17 -)을 뺀 후에, 결과값을 출력([p]rint): + +`dc --expression='4 5 * 17 - p'` + +- 소수 자릿수를 7 (7 k)로 지정하고, 5를 -3 (5 \_3 /)으로 나눈 다음, 결과값을 출력([p]rint): + +`dc --expression='7 k 5 _3 / p'` + +- 황금비, phi를 계산: 소수 자릿수를 100 (100 k)으로 설정하고, 5 (5 v) 더하기 1 (1 +)의 제곱근을 2 (2 /)로 나눈 후, 결과값을 출력([p]rint): + +`dc --expression='100 k 5 v 1 + 2 / p'` diff --git a/pages.ko/common/dcfldd.md b/pages.ko/common/dcfldd.md new file mode 100644 index 00000000000000..60234be5c93573 --- /dev/null +++ b/pages.ko/common/dcfldd.md @@ -0,0 +1,12 @@ +# dcfldd + +> 법의학 및 보안을 위한 향상된 dd 버전. +> 더 많은 정보: . + +- 원시 이미지 파일에 디스크를 복사하고 SHA256을 사용해 이미지를 해시: + +`dcfldd if={{/dev/disk_device}} of={{파일.img}} hash=sha256 hashlog={{파일.hash}}` + +- 디스크를 원시 이미지 파일에 복사하여, 각 1GB 청크를 해싱: + +`dcfldd if={{/dev/disk_device}} of={{파일.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{파일.hash}} hashwindow={{1G}}` diff --git a/pages.ko/common/dcg.md b/pages.ko/common/dcg.md new file mode 100644 index 00000000000000..b058c9add45585 --- /dev/null +++ b/pages.ko/common/dcg.md @@ -0,0 +1,16 @@ +# dcg + +> Drupal 코드 생성기. +> 더 많은 정보: . + +- 마법사를 시작하여 생성할 코드 종류(예. 모듈, 서비스, 양식 등)를 선택: + +`dcg` + +- 생성할 코드 종류를 직접 지정: + +`dcg {{service|plugin|theme|module|form}}` + +- 특정 디렉터리에 코드를 생성: + +`dcg --directory {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/dcode.md b/pages.ko/common/dcode.md new file mode 100644 index 00000000000000..11d7b408a419f3 --- /dev/null +++ b/pages.ko/common/dcode.md @@ -0,0 +1,21 @@ +# dcode + +> 16진수, 10진수, 2진수, base64, URL, FromChar 인코딩, 카이사르 암호, MD5, SHA1 및 SHA2 해시를 지원하여 문자열을 반복적으로 감지하고 디코딩. +> 경고: MD5, SHA1 및 SHA2 해시 조회를 위해 타사 웹 서비스를 사용. 민감한 데이터의 경우, `-s` 옵션을 사용하여 이러한 서비스 사용을 피해야 합니다. +> 더 많은 정보: . + +- 문자열을 재귀적으로 감지하고 디코딩: + +`dcode "{{NjM3YTQyNzQ1YTQ0NGUzMg==}}"` + +- 지정된 오프셋만큼 문자열을 회전: + +`dcode -rot {{11}} "{{spwwz hzcwo}}"` + +- 가능한 26가지 오프셋을 모두 사용하여 문자열을 회전: + +`dcode -rot {{all}} "{{bpgkta xh qtiitg iwpc sr}}"` + +- 문자열 뒤집기: + +`dcode -rev "{{hello world}}"` diff --git a/pages.ko/common/dd.md b/pages.ko/common/dd.md new file mode 100644 index 00000000000000..f296369b9329a8 --- /dev/null +++ b/pages.ko/common/dd.md @@ -0,0 +1,24 @@ +# dd + +> 파일을 변환하고 복사. +> 더 많은 정보: . + +- isohybrid 파일(예: `archlinux-xxx.iso`)에서 부팅 가능한 USB 드라이브를 만들고 진행 상황을 표시: + +`dd if={{경로/대상/파일.iso}} of={{/dev/usb_drive}} status=progress` + +- 블록 크기가 4 MiB인 다른 드라이브에 복제하고 명령이 끝나기 전 쓰기 버퍼를 비움: + +`dd bs=4194304 conv=fsync if={{/dev/source_drive}} of={{/dev/dest_drive}}` + +- 커널 랜덤 드라이버를 사용하여 임의 바이트를 가진 파일을 생성: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{경로/대상/임의의_파일}}` + +- 디스크의 순차적인 쓰기 성능을 벤치마킹: + +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{경로/대상/파일_1GB}}` + +- 시스템 백업을 생성하여, IMG 파일에 저장하고 (나중에 `if`와 `of`를 교체해 복원 가능), 진행 상황을 표시: + +`dd if={{/dev/drive_device}} of={{경로/대상/파일.img}} status=progress` diff --git a/pages.ko/common/ddev.md b/pages.ko/common/ddev.md new file mode 100644 index 00000000000000..767807d1028b33 --- /dev/null +++ b/pages.ko/common/ddev.md @@ -0,0 +1,32 @@ +# ddev + +> PHP 환경을 위한 컨테이너 기반 로컬 개발도구. +> 더 많은 정보: . + +- 프로젝트 시작: + +`ddev start` + +- 프로젝트 유형 및 문서 루트를 구성: + +`ddev config` + +- 로그를 계속해서 출력([f]ollow): + +`ddev logs -f` + +- 컨테이너 내에서 composer를 실행: + +`ddev composer` + +- 특정 Node.js 버전 설치: + +`ddev nvm install {{버전}}` + +- 데이터베이스 내보내기: + +`ddev export-db --file={{/tmp/db.sql.gz}}` + +- 컨테이너 내에서 특정 명령을 실행: + +`ddev exec {{echo 1}}` diff --git a/pages.ko/common/ddgr.md b/pages.ko/common/ddgr.md new file mode 100644 index 00000000000000..4f1d58ad89de96 --- /dev/null +++ b/pages.ko/common/ddgr.md @@ -0,0 +1,36 @@ +# ddgr + +> 터미널에서 DuckDuckGo (HTML 버전)를 검색. +> 더 많은 정보: . + +- 대화형 모드 시작: + +`ddgr` + +- DuckDuckGo에서 키워드를 검색: + +`ddgr {{키워드}}` + +- 검색 결과 수를 `N`으로 제한: + +`ddgr -n {{N}} {{키워드}}` + +- 검색결과에 전체 URL을 표시: + +`ddgr -x {{키워드}}` + +- 키워드로 DuckDuckGo를 검색하고, 브라우저에 첫 번째 검색결과를 보여줌: + +`ddgr !w {{키워드}}` + +- 웹사이트별 검색을 수행: + +`ddgr -w {{사이트}} {{키워드}}` + +- 특정 파일 유형 검색: + +`ddgr {{키워드}} filetype:{{파일유형}}` + +- 대화형 모드에서 도움말 표시: + +`` diff --git a/pages.ko/common/decaffeinate.md b/pages.ko/common/decaffeinate.md new file mode 100644 index 00000000000000..8e054dc8ba2ba1 --- /dev/null +++ b/pages.ko/common/decaffeinate.md @@ -0,0 +1,20 @@ +# decaffeinate + +> CoffeeScript 소스를 최신 JavaScript로 이동. +> 더 많은 정보: . + +- CoffeeScript 파일을 JavaScript로 변환: + +`decaffeinate {{경로/대상/파일.coffee}}` + +- CoffeeScript v2 파일을 JavaScript로 변환: + +`decaffeinate --use-cs2 {{경로/대상/파일.coffee}}` + +- 가져오기 및 내보내기를 위해 require 및 `module.exports`를 변환: + +`decaffeinate --use-js-modules {{경로/대상/파일.coffee}}` + +- 이름있는 내보내기를 허용하는 CoffeeScript를 변환: + +`decaffeinate --loose-js-modules {{경로/대상/파일.coffee}}` diff --git a/pages.ko/common/declare.md b/pages.ko/common/declare.md new file mode 100644 index 00000000000000..aa5559636b22ad --- /dev/null +++ b/pages.ko/common/declare.md @@ -0,0 +1,28 @@ +# declare + +> 변수를 선언하고 속성을 부여. +> 더 많은 정보: . + +- 지정된 값을 사용하여 문자열 변수를 선언: + +`declare {{변수}}="{{값}}"` + +- 지정된 값을 가진 정수 변수를 선언: + +`declare -i {{변수}}="{{값}}"` + +- 지정된 값을 사용하여 배열 변수를 선언: + +`declare -a {{변수}}=({{항목_a 항목_b 항목_c}})` + +- 지정된 값을 사용하여 연관 배열 변수를 선언: + +`declare -A {{변수}}=({{[키_a]=항목_a [키_b]=항목_b [키_c]=항목_c}})` + +- 지정된 값을 사용해 읽기 전용 문자열 변수를 선언: + +`declare -r {{변수}}="{{값}}"` + +- 지정된 값을 사용해 함수 내에서 전역 변수를 선언: + +`declare -g {{변수}}="{{값}}"` diff --git a/pages.ko/common/deemix.md b/pages.ko/common/deemix.md new file mode 100644 index 00000000000000..64434fc5667ac3 --- /dev/null +++ b/pages.ko/common/deemix.md @@ -0,0 +1,21 @@ +# deemix + +> Deezloader Remix의 나머지를 바탕으로 구축된 베어본 deezer 다운로드 라이브러리. +> 독립형 CLI 앱 또는 API를 사용하여 UI에서 구현 가능. +> 더 많은 정보: . + +- 트랙이나 재생목록 다운로드: + +`deemix {{https://www.deezer.com/us/track/00000000}}` + +- 특정 비트전송률로 트랙/재생 목록 다운로드: + +`deemix --bitrate {{FLAC|MP3}} {{url}}` + +- 특정 경로로 다운로드: + +`deemix --bitrate {{비트전송률}} --path {{경로}} {{url}}` + +- 현재 디렉터리에 휴대용 deemix 구성 파일을 생성: + +`deemix --portable --bitrate {{비트전송률}} --path {{경로}} {{url}}` diff --git a/pages.ko/common/delta.md b/pages.ko/common/delta.md new file mode 100644 index 00000000000000..a81cde56fb208c --- /dev/null +++ b/pages.ko/common/delta.md @@ -0,0 +1,32 @@ +# delta + +> Git 및 diff 출력 전용 뷰어. +> 더 많은 정보: . + +- 파일 또는 디렉터리 비교: + +`delta {{경로/대상/오래된_파일_또는_디렉터리}} {{경로/대상/새로운_파일_또는_디렉터리}}` + +- 줄 번호를 표시하여 파일이나 디렉터리를 비교: + +`delta {{[-n|--line-numbers]}} {{경로/대상/오래된_파일_또는_디렉터리}} {{경로/대상/새로운_파일_또는_디렉터리}}` + +- 파일이나 디렉터리를 비교하여 차이점을 나란히 표시: + +`delta {{[-s|--side-by-side]}} {{경로/대상/오래된_파일_또는_디렉터리}} {{경로/대상/새로운_파일_또는_디렉터리}}` + +- Git 구성 설정을 무시하고 파일이나 디렉터리를 비교: + +`delta --no-gitconfig {{경로/대상/오래된_파일_또는_디렉터리}} {{경로/대상/새로운_파일_또는_디렉터리}}` + +- 터미널 에뮬레이터의 하이퍼링크 사양에 따라 커밋 해시, 파일 이름 및 줄 번호를 하이퍼링크로 비교하고 렌더링: + +`delta --hyperlinks {{경로/대상/오래된_파일_또는_디렉터리}} {{경로/대상/새로운_파일_또는_디렉터리}}` + +- 현재 설정을 표시: + +`delta --show-config` + +- 지원되는 언어 및 관련 파일 확장자를 표시: + +`delta --list-languages` diff --git a/pages.ko/common/deluge-console.md b/pages.ko/common/deluge-console.md index ac40b7276ceda9..dc5e157033fbb4 100644 --- a/pages.ko/common/deluge-console.md +++ b/pages.ko/common/deluge-console.md @@ -1,7 +1,7 @@ # deluge-console > Deluge BitTorrent 클라이언트를 위한 대화형 인터페이스. -> 더 많은 정보: . +> 더 많은 정보: . - 대화형 콘솔 인터페이스 시작: diff --git a/pages.ko/common/deluge.md b/pages.ko/common/deluge.md index 48f8f8714a181d..023d4e0fc698a3 100644 --- a/pages.ko/common/deluge.md +++ b/pages.ko/common/deluge.md @@ -1,7 +1,7 @@ # deluge > BitTorrent 클라이언트 명령어. -> 더 많은 정보: . +> 더 많은 정보: . - 토렌트 다운로드: @@ -9,7 +9,7 @@ - 특정 구성 파일을 사용하여 토렌트를 다운로드하십시오: -`deluge -c {{경로/구성_파일}} {{url|마그넷|경로/파일명}}` +`deluge {{[-c|--config]}} {{경로/구성_파일}} {{url|마그넷|경로/파일명}}` - 토렌트를 다운로드하고 지정된 사용자 인터페이스로 시작: @@ -17,4 +17,4 @@ - 토렌트를 다운로드하고 로그를 파일로 출력: -`deluge -l {{경로/로그_파일}} {{url|마그넷|경로/파일명}}` +`deluge {{[-l|--logfile]}} {{경로/로그_파일}} {{url|마그넷|경로/파일명}}` diff --git a/pages.ko/common/deluged.md b/pages.ko/common/deluged.md index ba47d2d623c2e0..c9916415306cdb 100644 --- a/pages.ko/common/deluged.md +++ b/pages.ko/common/deluged.md @@ -1,7 +1,7 @@ # deluged > Deluge BitTorrent 클라이언트를 위한 데몬 프로세스. -> 더 많은 정보: . +> 더 많은 정보: . - Deluge 데몬 시작하기: @@ -9,12 +9,12 @@ - 특정 포트에서 Deluge 데몬 시작하기: -`deluged -p {{포트번호}}` +`deluged {{[-p|--port]}} {{포트번호}}` - 특정 구성파일을 이용하여 Deluge 데몬 시작하기: -`deluged -c {{경로/구성_파일명}}` +`deluged {{[-c|--config]}} {{경로/구성_파일명}}` - Deluge 데몬을 시작하고 파일에 로그 출력하기: -`deluged -l {{경로/로그_파일명}}` +`deluged {{[-l|--logfile]}} {{경로/로그_파일명}}` diff --git a/pages.ko/common/deluser.md b/pages.ko/common/deluser.md deleted file mode 100644 index 573f4a2464df21..00000000000000 --- a/pages.ko/common/deluser.md +++ /dev/null @@ -1,15 +0,0 @@ -# deluser - -> 유저 계정 제거 또는 그룹으로부터 사용자 제거. - -- 유저 삭제: - -`deluser {{이름}}` - -- 사용자의 홈 디렉토리 및 메일 스풀과 함께 사용자 제거: - -`deluser -r {{이름}}` - -- 그룹으로부터 사용자 제거: - -`deluser {{이름}} {{그룹}}` diff --git a/pages.ko/common/deno.md b/pages.ko/common/deno.md new file mode 100644 index 00000000000000..9a961111ab3638 --- /dev/null +++ b/pages.ko/common/deno.md @@ -0,0 +1,24 @@ +# deno + +> JavaScript 및 TypeScript를 위한 보안 런타임입니다. +> 더 많은 정보: . + +- JavaScript 또는 TypeScript 파일을 실행: + +`deno run {{경로/대상/파일.ts}}` + +- REPL(대화형 쉘)을 시작: + +`deno` + +- 네트워크 접근이 가능한 파일을 실행: + +`deno run --allow-net {{경로/대상/파일.ts}}` + +- URL을 통해 파일을 실행: + +`deno run {{https://deno.land/std/examples/welcome.ts}}` + +- URL을 통해 실행 가능항 스크립트 설치: + +`deno install {{https://deno.land/std/examples/colors.ts}}` diff --git a/pages.ko/common/dep.md b/pages.ko/common/dep.md index b25ce221d3f26b..311120b2bccd6a 100644 --- a/pages.ko/common/dep.md +++ b/pages.ko/common/dep.md @@ -1,7 +1,7 @@ # dep > Go 프로젝트에서 종속성 관리를 위한 툴. -> 더 많은 정보: . +> 더 많은 정보: . - 현재 디렉토리를 Go 프로젝트의 루트 디렉토리로 초기화: diff --git a/pages.ko/common/devcontainer.md b/pages.ko/common/devcontainer.md new file mode 100644 index 00000000000000..55c13caf173721 --- /dev/null +++ b/pages.ko/common/devcontainer.md @@ -0,0 +1,28 @@ +# devcontainer + +> Docker 컨테이너를 개발 환경으로 사용. +> 더 많은 정보: . + +- Dev Container 생성 및 실행: + +`devcontainer up` + +- 작업 공간에 Dev Container 템플릿을 적용: + +`devcontainer templates apply --template-id {{템플릿_아이디}} --template-args {{템플릿_매개변수}} --workspace-folder {{경로/대상/작업공간}}` + +- 현재 작업공간에서 실행 중인 Dev Container에 명령을 실행: + +`devcontainer exec {{명령어}}` + +- `devcontainer.json`에서 Dev Container 이미지를 빌드: + +`devcontainer build {{경로/대상/작업공간}}` + +- VS Code에서 Dev 컨테이너를 열기 (경로는 선택사항): + +`devcontainer open {{경로/대상/작업공간}}` + +- `devcontainer.json`에서 Dev Container의 구성을 읽고 출력: + +`devcontainer read-configuration` diff --git a/pages.ko/common/devenv.md b/pages.ko/common/devenv.md new file mode 100644 index 00000000000000..d9f14bfb8da6c8 --- /dev/null +++ b/pages.ko/common/devenv.md @@ -0,0 +1,28 @@ +# devenv + +> Nix를 사용하여 빠르고, 선언적이며, 재현 가능하고 구성 가능한 개발자 환경을 의미. +> 더 많은 정보: . + +- 환경 초기화: + +`devenv init` + +- 완화된 기밀성 (밀폐된 상태)로 개발 환경에 진입: + +`devenv shell --impure` + +- 현재 환경에 대한 자세한 정보를 얻기: + +`devenv info --verbose` + +- `devenv`로 프로세스를 시작: + +`devenv up --config /{{파일}}/{{경로}}/` + +- 환경 변수를 정리하고 오프라인 모드에서 쉘을 재입력: + +`devenv --clean --offline` + +- 이전 쉘 세대를 삭제: + +`devenv gc` diff --git a/pages.ko/common/devpod.md b/pages.ko/common/devpod.md new file mode 100644 index 00000000000000..460225cfd6eba6 --- /dev/null +++ b/pages.ko/common/devpod.md @@ -0,0 +1,32 @@ +# devpod + +> 도커, 쿠버네티스, SSH를 사용해서 재현 가능한 개발 환경을 시작. +> 더 많은 정보: . + +- 도커 또는 쿠버네티스에 프로바이더 추가: + +`devpod provider add {{프로바이더_이름}}` + +- 사용 가능한 모든 프로바이더 나열: + +`devpod provider list-available` + +- 특정 IDE를 사용해 GitHub 저장소에서 작업공간을 시작: + +`devpod up {{github.com/사용자/레포지토리}} {{[-i|--ide]}} {{vscode}}` + +- 로컬 디렉터리에서 작업공간 시작: + +`devpod up {{경로/대상/프로젝트}}` + +- 존재하는 작업공간을 다시 생성: + +`devpod up {{작업공간_이름}} {{[-r|--recreate]}}` + +- 작업공간을 초기 상태로 재설정: + +`devpod up {{작업공간_이름}} {{[-x|--reset]}}` + +- GitHub 레포지토리에 사용자 지정 프로바이더 추가: + +`devpod provider add {{조직/프로바이더-레포지토리}}` diff --git a/pages.ko/common/dexdump.md b/pages.ko/common/dexdump.md index b6d4c47a1bbe2d..e338af1368ab55 100644 --- a/pages.ko/common/dexdump.md +++ b/pages.ko/common/dexdump.md @@ -1,7 +1,7 @@ # dexdump > 안드로이드 DEX 파일들에 대한 정보 출력. -> 더 많은 정보: . +> 더 많은 정보: . - APK 파일으로부터 클래스들과 메서드들 추출: diff --git a/pages.ko/common/dexter.md b/pages.ko/common/dexter.md index ca6d848a517169..4d36e4d9f7da9b 100644 --- a/pages.ko/common/dexter.md +++ b/pages.ko/common/dexter.md @@ -10,4 +10,3 @@ - 기본 kube 구성파일 위치 재정의: `dexter auth -i {{클라이언트_아이디}} -s {{클라이언트_secret}} --kube-config {{예시/구성파일}}` - diff --git a/pages.ko/common/df.md b/pages.ko/common/df.md index 39f8bf2f8ad6be..c91be3951df066 100644 --- a/pages.ko/common/df.md +++ b/pages.ko/common/df.md @@ -1,19 +1,20 @@ # df -> 파일 시스템 디스크 공간 사용량에 대한 개요를 제공합니다. +> 파일 시스템 디스크 공간 사용량에 대한 개요를 표시. +> 더 많은 정보: . -- 모든 파일 시스템들과 그들의 디스크 사용량 출력: +- 모든 파일 시스템과 디스크 사용량을 512-바이트 단위로 표시: `df` -- 사람이 읽을 수 있는 형태로 모든 파일시스템들과 그들의 디스크 사용량 출력: +- 주어진 파일이나 디렉터리를 포함하는 파일 시스템과 디스크 사용량을 표시: -`df -h` +`df {{경로/대상/파일_또는_디렉터리}}` -- 주어진 파일이나 디렉토리를 포함하는 파일 시스템과 그것의 디스크 사용량 출력: +- 공백 숫자 작성 시 1024바이트 단위를 사용: -`df {{경로/파일_혹은_디렉토리명}}` +`df -k` -- 사용 가능한 inode들의 수에 대한 통계 출력: +- 휴대용 방식으로 정보 표시: -`df -i` +`df -P` diff --git a/pages.ko/common/dfc.md b/pages.ko/common/dfc.md new file mode 100644 index 00000000000000..bff845b5f9f55d --- /dev/null +++ b/pages.ko/common/dfc.md @@ -0,0 +1,20 @@ +# dfc + +> 색상과 그래프를 통해 파일 시스템 디스크 공간 사용량 요약을 확인. +> 더 많은 정보: . + +- 색상과 그래프를 통해 사람이 읽을 수 있는 형식으로 파일 시스템과 디스크 사용량을 표시: + +`dfc` + +- 의사적인, 중복 및 액세스할 수 없는 파일 시스템을 포함한 모든 파일 시스템을 표시: + +`dfc -a` + +- 색상 없이 파일 시스템 표시: + +`dfc -c never` + +- 파일 시스템 유형에 "ext"가 포함된 파일 시스템 표시: + +`dfc -t ext` diff --git a/pages.ko/common/dhclient.md b/pages.ko/common/dhclient.md index 0937f617d9ae32..964ec37245d229 100644 --- a/pages.ko/common/dhclient.md +++ b/pages.ko/common/dhclient.md @@ -1,6 +1,7 @@ # dhclient > DHCP 클라이언트. +> 더 많은 정보: . - 'eht0' 인터페이스의 IP 주소 얻기: diff --git a/pages.ko/common/dhcpig.md b/pages.ko/common/dhcpig.md new file mode 100644 index 00000000000000..3756a5f7ecc5ea --- /dev/null +++ b/pages.ko/common/dhcpig.md @@ -0,0 +1,33 @@ +# dhcpig + +> 고급 DHCP 자원 고갈 공격 및 스트레스 테스트를 시작. +> DHCPig은 루트 권한으로 실행해야 함. +> 더 많은 정보: . + +- 지정된 인터페이스를 사용하여 사용 가능한 DHCP 주소를 소진: + +`sudo ./pig.py {{eth0}}` + +- eth1 인터페이스를 사용하여 IPv6를 고갈: + +`sudo ./pig.py -6 {{eth1}}` + +- 인터페이스를 사용하여 퍼지/잘못된 데이터 패킷을 전송: + +`sudo ./pig.py --fuzz {{eth1}}` + +- 색상 출력 활성화: + +`sudo ./pig.py -c {{eth1}}` + +- 최소한의 장황함과 색상 출력을 활성화: + +`sudo ./pig.py -c --verbosity=1 {{eth1}}` + +- 디버그 상세 출력 수준을 100으로 하고 ARP 패킷을 사용해 장치 근처 네트워크를 검색: + +`sudo ./pig.py -c --verbosity=100 --neighbors-scan-arp {{eth1}}` + +- 임대 정보 출력을 활성화하고, 모든 근처 IP 주소를 검색하고 해제하려 시도: + +`sudo ./pig.py --neighbors-scan-arp -r --show-options {{eth1}}` diff --git a/pages.ko/common/dict.md b/pages.ko/common/dict.md new file mode 100644 index 00000000000000..0395921e2550b2 --- /dev/null +++ b/pages.ko/common/dict.md @@ -0,0 +1,24 @@ +# dict + +> DICT 프로토콜을 사용하는 명령줄 사전. +> 더 많은 정보: . + +- 사용 가능한 데이터베이스 목록 나열: + +`dict -D` + +- 데이터베이스에 대한 정보 얻기: + +`dict -i {{데이터베이스_이름}}` + +- 특정 데이터베이스에서 단어를 검색: + +`dict -d {{데이터베이스_이름}} {{단어}}` + +- 사용 가능한 모든 데이터베이스에서 단어를 검색: + +`dict {{단어}}` + +- DICT 서버에 대한 정보 표시: + +`dict -I` diff --git a/pages.ko/common/diff-pdf.md b/pages.ko/common/diff-pdf.md new file mode 100644 index 00000000000000..88d3a0db4341d0 --- /dev/null +++ b/pages.ko/common/diff-pdf.md @@ -0,0 +1,16 @@ +# diff-pdf + +> 2개의 PDF를 비교. +> 더 많은 정보: . + +- 반환 코드를 사용하여, 변경 사항을 나타내는 PDF를 비교 (`0` = 차이 없음, `1` = PDF가 다름): + +`diff-pdf {{경로/대상/a.pdf}} {{경로/대상/b.pdf}}` + +- PDF를 비교하여, 시각적으로 강조된 차이점이 있는 PDF를 출력: + +`diff-pdf --output-diff={{경로/대상/diff.pdf}} {{경로/대상/a.pdf}} {{경로/대상/b.pdf}}` + +- PDF를 비교하고, 간단한 GUI에서 차이점을 확인: + +`diff-pdf --view {{경로/대상/a.pdf}} {{경로/대상/b.pdf}}` diff --git a/pages.ko/common/diff.md b/pages.ko/common/diff.md index ca035006269efa..8904fa7d500b39 100644 --- a/pages.ko/common/diff.md +++ b/pages.ko/common/diff.md @@ -1,6 +1,7 @@ # diff > 파일들과 디렉토리들을 비교한다. +> 더 많은 정보: . - 파일들 비교하기 (`이전_파일명`을 `새_파일명`으로 바꾸는 변경점들 목록): @@ -8,20 +9,20 @@ - 공백들을 무시하고, 파일들 비교하기: -`diff -w {{이전_파일명}} {{새_파일명}}` +`diff {{[-w|--ignore-all-space]}} {{이전_파일명}} {{새_파일명}}` - 차이점들을 나란히 보여주는 파일들 비교하기: -`diff -y {{이전_파일명}} {{새_파일명}}` +`diff {{[-y|--side-by-side]}} {{이전_파일명}} {{새_파일명}}` - 통합된 포맷의 차이점들 표시하며 파일들 비교하기 (`git diff`에서 사용되는 것 같이): -`diff -u {{이전_파일명}} {{새_파일명}}` +`diff {{[-u|--unified]}} {{이전_파일명}} {{새_파일명}}` - 재귀적으로 디렉토리들 비교하기 (다른 파일/디렉토리들의 이름 및 파일에 대한 변경점 출력): -`diff -r {{이전_디렉토리명}} {{새_디렉토리명}}` +`diff {{[-r|--recursive]}} {{이전_디렉토리명}} {{새_디렉토리명}}` - 디렉토리들을 비교하고, 서로 다른 파일이름만 표시하기: -`diff -rq {{이전_디렉토리명}} {{새_디렉토리명}}` +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{이전_디렉토리명}} {{새_디렉토리명}}` diff --git a/pages.ko/common/diffoscope.md b/pages.ko/common/diffoscope.md new file mode 100644 index 00000000000000..8909069a592584 --- /dev/null +++ b/pages.ko/common/diffoscope.md @@ -0,0 +1,24 @@ +# diffoscope + +> 파일, 아카이브 및 디렉터리를 비교. +> 더 많은 정보: . + +- 2개 파일 비교: + +`diffoscope {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 진행 표시줄을 보여주지 않고 두 파일을 비교: + +`diffoscope --no-progress {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 두 파일을 비교하고 HTML 보고서를 파일에 작성 (`stdout`에는 `-` 사용): + +`diffoscope --html {{경로/대상/출력파일|-}} {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 지정된 패턴과 일치하는 이름을 가진 파일을 제외한 두 디렉터리를 비교: + +`diffoscope --exclude {{패턴}} {{경로/대상/디렉터리1}} {{경로/대상/디렉터리2}}` + +- 두 디렉터리를 비교하고 디렉터리 메타데이터가 고려되는지 여부를 제어: + +`diffoscope --exclude-directory-metadata {{auto|yes|no|recursive}} {{경로/대상/디렉터리1}} {{경로/대상/디렉터리2}}` diff --git a/pages.ko/common/diffstat.md b/pages.ko/common/diffstat.md index bfaba5285007a9..b44da83322de58 100644 --- a/pages.ko/common/diffstat.md +++ b/pages.ko/common/diffstat.md @@ -1,6 +1,7 @@ # diffstat > `diff` 명령어의 결과로부터 히스토그램을 생성한다. +> 더 많은 정보: . - 히스토그램에서 변경점들 표시: diff --git a/pages.ko/common/difft.md b/pages.ko/common/difft.md new file mode 100644 index 00000000000000..48b4820c6a0038 --- /dev/null +++ b/pages.ko/common/difft.md @@ -0,0 +1,33 @@ +# difft + +> 프로그래밍 언어의 구문을 기반으로 파일이나 디렉터리를 비교. +> 참고: `delta`, `diff`. +> 더 많은 정보: . + +- 두 개의 파일 또는 디렉터리를 비교: + +`difft {{경로/대상/파일_또는_디렉터리1}} {{경로/대상/파일_또는_디렉터리2}}` + +- 파일 간의 차이점만 보고: + +`difft --check-only {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 디스플레이 모드를 지정 (기본값은 `side-by-side`): + +`difft --display {{side-by-side|side-by-side-show-both|inline|json}} {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 비교할 때 설명을 무시: + +`difft --ignore-comments {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 소스코드 구문 강조 활성화/비활성화 (기본값은 `on`): + +`difft --syntax-highlight {{on|off}} {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 파일 간에 차이가 없으면 아무것도 출력하지 않음: + +`difft --skip-unchanged {{경로/대상/파일_또는_디렉터리1}} {{경로/대상/파일_또는_디렉터리2}}` + +- 확장명과 함께, 도구에서 지원하는 모든 프로그래밍 언어를 출력: + +`difft --list-languages` diff --git a/pages.ko/common/dig.md b/pages.ko/common/dig.md index 60badcca2c95cf..6b61f56919f625 100644 --- a/pages.ko/common/dig.md +++ b/pages.ko/common/dig.md @@ -1,6 +1,7 @@ # dig > DNS 조회 유틸리티. +> 더 많은 정보: . - 호스트이름과 관련된 IP 조회하기 (A records): @@ -10,15 +11,11 @@ `dig +short {{example.com}} MX` -- 주어진 도메인 이름에 대한 모든 유형의 레코드들 가져오기: - -`dig {{example.com}} ANY` - - 쿼리할 대체 DNS 서버를 지정하기: `dig @{{8.8.8.8}} {{example.com}}` -- IP 주소에서 역방향 DNS 조회하기 (PTR record): +- IP 주소에서 역방향 DNS 조회하기 (PTR record): `dig -x {{8.8.8.8}}` diff --git a/pages.ko/common/dillo.md b/pages.ko/common/dillo.md new file mode 100644 index 00000000000000..b3c68e97a7519a --- /dev/null +++ b/pages.ko/common/dillo.md @@ -0,0 +1,32 @@ +# dillo + +> 느린 컴퓨터를 위한 경량 웹 브라우저. +> 더 많은 정보: . + +- Dillo 실행: + +`dillo` + +- 특정 창 크기와 화면 위치로 Dillo를 실행: + +`dillo --geometry {{너비}}x{{높이}}+{{x_위치}}+{{y_위치}}` + +- Dillo를 실행하고 특정 URL을 열기: + +`dillo {{duckduckgo.com}}` + +- Dillo를 실행하고 파일이나 디렉터리를 열기: + +`dillo {{경로/대상/파일_또는_디렉터리}}` + +- 전체 화면 모드로 Dillo를 실행: + +`dillo --fullwindow` + +- 버전 정보 출력: + +`dillo --version` + +- 도움말 표시: + +`dillo --help` diff --git a/pages.ko/common/dircolors.md b/pages.ko/common/dircolors.md index 40f94a89e68b00..09f55d5bfb3653 100644 --- a/pages.ko/common/dircolors.md +++ b/pages.ko/common/dircolors.md @@ -1,6 +1,7 @@ # dircolors > LS_COLOR 환경변수와 스타일 `ls`, `dir`, 등을 설정하기 위한 명령어들을 출력한다. +> 더 많은 정보: . - 기본 색상을 사용하여 LS_COLOR를 설정하는 명령어들 출력하기: diff --git a/pages.ko/common/direnv.md b/pages.ko/common/direnv.md new file mode 100644 index 00000000000000..8061530d041e87 --- /dev/null +++ b/pages.ko/common/direnv.md @@ -0,0 +1,24 @@ +# direnv + +> 현재 디렉터리에 따라 환경 변수를 로드 및 언로드하는 쉘 확장. +> 더 많은 정보: . + +- 현재 디렉터리에 있는 `.envrc`를 로드하려면 direnv 권한을 부여: + +`direnv allow {{.}}` + +- 현재 디렉터리에 있는`.envrc`를 로드하기 위한 인증을 취소: + +`direnv deny {{.}}` + +- 기본 텍스트 편집기에서 `.envrc` 파일을 편집하고 종료 시 환경을 다시 로드: + +`direnv edit {{.}}` + +- 환경 다시 로드를 트리거: + +`direnv reload` + +- 일부 디버그 상태 정보를 출력: + +`direnv status` diff --git a/pages.ko/common/dirname.md b/pages.ko/common/dirname.md index 60e7ec3f2f52cf..853d5176032727 100644 --- a/pages.ko/common/dirname.md +++ b/pages.ko/common/dirname.md @@ -1,6 +1,7 @@ # dirname > 주어진 파일 혹은 디렉토리 경로의 부모 디렉토리를 계산한다. +> 더 많은 정보: . - 주어진 경로의 부모 디렉토리 계산: @@ -10,6 +11,6 @@ `dirname {{경로/a_파일}} {{경로/b_디렉토리}}` -- 개행 대신 NUL 문자로 출력을 구분하기 (`xargs`와 결합 시 유용함): +- 개행 대신 NUL 문자로 출력을 구분하기 (`xargs`와 결합 시 유용함): -`dirname --zero {{경로/a_디렉토리}} {{경로/b_파일}}` +`dirname {{[-z|--zero]}} {{경로/a_디렉토리}} {{경로/b_파일}}` diff --git a/pages.ko/common/dirs.md b/pages.ko/common/dirs.md index 3382a26099cc7c..18f660b5dc9f6a 100644 --- a/pages.ko/common/dirs.md +++ b/pages.ko/common/dirs.md @@ -2,6 +2,7 @@ > 디렉토리 스택을 표시하거나 조작한다. > 디렉토리 스택은 `pushd`과 `popd` 명령어로 조작할 수 있는 최근 방문한 디렉토리의 목록이다. +> 더 많은 정보: . - 각각의 엔트리 사이에서 공백으로 디렉토리 스택을 표시하기: diff --git a/pages.ko/common/dirsearch.md b/pages.ko/common/dirsearch.md new file mode 100644 index 00000000000000..bc5a4deab4bbfa --- /dev/null +++ b/pages.ko/common/dirsearch.md @@ -0,0 +1,28 @@ +# dirsearch + +> 웹 경로 스캐너. +> 더 많은 정보: . + +- 공통 확장자를 가진 공통 경로를 웹 서버에서 검색: + +`dirsearch --url {{url}} --extensions-list` + +- `.php` 확장자를 사용하여 일반 경로에 대한 웹 서버 목록을 스캔: + +`dirsearch --url-list {{경로/대상/url-list.txt}} --extensions {{php}}` + +- 공통 확장자를 사용하여 사용자 정의 경로를 웹 서버에서 검색: + +`dirsearch --url {{url}} --extensions-list --wordlist {{경로/대상/url-paths.txt}}` + +- 쿠키를 사용하여 웹 서버를 검색: + +`dirsearch --url {{url}} --extensions {{php}} --cookie {{쿠키}}` + +- `HEAD` HTTP 메소드를 사용하여 웹 서버를 스캔: + +`dirsearch --url {{url}} --extensions {{php}} --http-method {{HEAD}}` + +- 웹 서버를 스캔하고, 결과를 `.json` 파일에 저장: + +`dirsearch --url {{url}} --extensions {{php}} --json-report {{경로/대상/리포트.json}}` diff --git a/pages.ko/common/diskonaut.md b/pages.ko/common/diskonaut.md new file mode 100644 index 00000000000000..6dda097c9a0ed8 --- /dev/null +++ b/pages.ko/common/diskonaut.md @@ -0,0 +1,20 @@ +# diskonaut + +> Rust로 작성된 터미널 디스크 공간 탐색기. +> 더 많은 정보: . + +- 현재 디렉터리에서 `diskonaut`를 시작: + +`diskonaut` + +- 특정 디렉토리에서 `diskonaut`를 시작: + +`diskonaut {{경로/대상/디렉토리}}` + +- 디스크의 블록 사용량 대신 파일 크기를 표시: + +`diskonaut --apparent-size {{경로/대상/디렉토리}}` + +- 삭제 확인 비활성화: + +`diskonaut --disable-delete-confirmation` diff --git a/pages.ko/common/disown.md b/pages.ko/common/disown.md new file mode 100644 index 00000000000000..ac117637e62683 --- /dev/null +++ b/pages.ko/common/disown.md @@ -0,0 +1,21 @@ +# disown + +> 하위 프로세스가 연결된 쉘 외부에서 작동하도록 허용. +> `jobs` 명령도 참조. +> 더 많은 정보: . + +- 현재 작업을 해제: + +`disown` + +- 특정 작업을 해제: + +`disown %{{작업_번호}}` + +- 모든 작업 해제: + +`disown -a` + +- 작업을 유지 (해제하지 않음), 쉘 종료 시 향후 SIGHUP이 수신되지 않도록 표시: + +`disown -h %{{작업_번호}}` diff --git a/pages.ko/common/distcc.md b/pages.ko/common/distcc.md new file mode 100644 index 00000000000000..ed9ed983eed7c4 --- /dev/null +++ b/pages.ko/common/distcc.md @@ -0,0 +1,28 @@ +# distcc + +> `distccd`와 함께 사용하는 분산 C/C++/ObjC 컴파일 클라이언트입니다. +> 더 많은 정보: . + +- `gcc`와 같은 컴파일러로 소스 파일을 컴파일: + +`distcc {{컴파일러명}} -c {{소스/파일/경로.c}} -o {{출력/파일/경로.o}}` + +- 컴파일을 분산시킬 원격 호스트 설정: + +`export DISTCC_HOSTS="localhost {{호스트IP1 호스트IP2 ...}}"` + +- `distcc`를 사용해 `make`로 프로젝트를 병렬 컴파일: + +`make {{[-j|--jobs]}} {{병렬_작업_수}} CC="distcc {{컴파일러명}}"` + +- 현재 설정된 `distcc` 호스트 목록 확인: + +`distcc --show-hosts` + +- 도움말 출력: + +`distcc --help` + +- 버전 출력: + +`distcc --version` diff --git a/pages.ko/common/distccd.md b/pages.ko/common/distccd.md new file mode 100644 index 00000000000000..db2e8edcdf5588 --- /dev/null +++ b/pages.ko/common/distccd.md @@ -0,0 +1,24 @@ +# distccd + +> distcc 분산 컴파일러용 서버 데몬. +> 더 많은 정보: . + +- 기본 설정으로 데몬을 시작: + +`distccd --daemon` + +- IPv4 개인 네트워크 범위 연결을 수락해 데몬을 시작: + +`distccd --daemon --allow-private` + +- 특정 네트워크 주소 또는 주소 버위로부터의 연결을 수락해 데몬을 시작: + +`distccd --daemon --allow {{ip_주소|네트워크_접두사}}` + +- 한 번에 최대 4개의 작업을 실행할 수 있는 낮은 우선순위로 데몬을 시작: + +`distccd --daemon --jobs {{4}} --nice {{5}}` + +- 데몬을 시작하고 mDNS/DNS-SD (Zeroconf)를 통해 등록: + +`distccd --daemon --zeroconf` diff --git a/pages.ko/common/django-admin.md b/pages.ko/common/django-admin.md new file mode 100644 index 00000000000000..62dc65939e714c --- /dev/null +++ b/pages.ko/common/django-admin.md @@ -0,0 +1,20 @@ +# django-admin + +> 관리 작업을 위한 Django 유틸리티. +> 더 많은 정보: . + +- 새로운 Django 프로젝트를 생성: + +`django-admin startproject {{프로젝트_이름}}` + +- 현재 프로젝트 내부에 새로운 애플리케이션 생성: + +`django-admin startapp {{애플리케이션_이름}}` + +- 현재 설치된 Django 버전 확인: + +`django-admin --version` + +- 입력한 명령어에 대해 더 많은 정보 표시: + +`django-admin help {{명령어}}` diff --git a/pages.ko/common/djxl.md b/pages.ko/common/djxl.md new file mode 100644 index 00000000000000..099429e456a190 --- /dev/null +++ b/pages.ko/common/djxl.md @@ -0,0 +1,13 @@ +# djxl + +> JPEG XL 이미지의 압축을 해제. +> 허용되는 출력 확장자는 PNG, APNG, JPEG, EXR, PGM, PPM, PNM, PFM, PAM, EXIF, XMP 및 JUMBF. +> 더 많은 정보: . + +- JPEG XL 이미지를 다른 형식으로 압축 해제: + +`djxl {{경로/대상/이미지.jxl}} {{경로/대상/출력.ext}}` + +- 매우 상세한 도움말 페이지를 표시: + +`djxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}` diff --git a/pages.ko/common/dlv.md b/pages.ko/common/dlv.md new file mode 100644 index 00000000000000..faafc3844b31c7 --- /dev/null +++ b/pages.ko/common/dlv.md @@ -0,0 +1,28 @@ +# dlv + +> Go 프로그래밍 언어용 디버거. +> 더 많은 정보: . + +- 현재 디렉터리에서 기본 패키지를 컴파일하고, 디버깅을 시작 (기본으로 인수가 없음): + +`dlv debug` + +- 특정 패키지를 컴파일하고 디버깅을 시작: + +`dlv debug {{패키지}} {{인수}}` + +- 테스트 바이너리를 컴파일하고 컴파일된 프로그램 디버깅을 시작: + +`dlv test` + +- 헤드리스 디버그 서버에 연결: + +`dlv connect {{ip_주소}}` + +- 실행 중인 프로세스에 연결하고 디버깅을 시작: + +`dlv attach {{pid}}` + +- 프로그램 컴파일 및 추적 시작: + +`dlv trace {{패키지}} --regexp '{{정규_표현식}}'` diff --git a/pages.ko/common/dmd.md b/pages.ko/common/dmd.md new file mode 100644 index 00000000000000..e7ab82c5ca883f --- /dev/null +++ b/pages.ko/common/dmd.md @@ -0,0 +1,24 @@ +# dmd + +> 공식적 D 컴파일러. +> 더 많은 정보: . + +- D 소스 파일 빌드: + +`dmd {{경로/대상/소스.d}}` + +- 모든 템플릿 인스턴스화에 대한 코드 생성: + +`dmd -allinst` + +- 제어 범위 확인: + +`dmd -boundscheck={{on|safeonly|off}}` + +- 사용 가능한 모든 체크사항에 대한 나열: + +`dmd -check={{h|help|?}}` + +- 색깔있는 콘솔 출력을 보여줌: + +`dmd -color` diff --git a/pages.ko/common/dnsx.md b/pages.ko/common/dnsx.md new file mode 100644 index 00000000000000..02073a6248db7c --- /dev/null +++ b/pages.ko/common/dnsx.md @@ -0,0 +1,38 @@ +# dnsx + +> 여러 DNS 쿼리를 실행하기 위한 빠르고 목적이 다양한 DNS 도구 키트. +> 참고: 어떤 경우에는 `dnsx`에 대한 입력이 `stdin` (파이프 `|`)를 통해 전달되어야 함. +> See also: `dig`, `dog`, `dnstracer`. +> 더 많은 정보: . + +- (하위)도메인의 A 레코드를 쿼리하고 수신된 응답([re]sponse)을 표시: + +`echo {{example.com}} | dnsx -a -re` + +- 모든 DNS 레코드(A, AAAA, CNAME, NS, TXT, SRV, PTR, MX, SOA, AXFR, CAA)를 쿼리: + +`dnsx -recon -re <<< {{example.com}}` + +- 특정 유형의 DNS 레코드를 쿼리: + +`echo {{example.com}} | dnsx -re -{{a|aaaa|cname|ns|txt|srv|ptr|mx|soa|any|axfr|caa}}` + +- 응답([r]esponse)만 ([o]nly) 출력 (쿼리된 도메인이나 하위 도메인은 표시하지 않음): + +`echo {{example.com}} | dnsx -ro` + +- 쿼리의 원시 응답을 표시하고, 실패에 대한 시도를 라도 재시도할 [r]esolvers를 지정: + +`echo {{example.com}} | dnsx -{{debug|raw}} -resolver {{1.1.1.1,8.8.8.8,...}} -retry {{number}}` + +- 자리 표시자를 사용한 무차별 대입 DNS 레코드: + +`dnsx -domain {{FUZZ.example.com}} -wordlist {{경로/대상/단어목록.txt}} -re` + +- DNS 도메인([d]omains) 및 단어 목록의 무차별 대입 DNS 레코드를 색상 코드가 없는([n]o [c]olor) 파일에 출력([o]utput) 결과를 추가: + +`dnsx -domain {{경로/대상/도메인.txt}} -wordlist {{경로/대상/단어목록.txt}} -re -output {{경로/대상/출력.txt}} -no-color` + +- 초당 DNS 쿼리 속도를 제한하여([r]ate [l]imiting) 지정된 하위 도메인 목록에 대한 `CNAME` 레코드를 추출: + +`subfinder -silent -d {{example.com}} | dnsx -cname -re -rl {{숫자}}` diff --git a/pages.ko/common/doas.md b/pages.ko/common/doas.md new file mode 100644 index 00000000000000..c55633be09799a --- /dev/null +++ b/pages.ko/common/doas.md @@ -0,0 +1,24 @@ +# doas + +> 다른 사용자로 명령을 실행. +> 더 많은 정보: . + +- 루트 권한으로 명령을 실행: + +`doas {{명령어}}` + +- 다른 사용자 권한으로 명령을 실행: + +`doas -u {{사용자}} {{명령어}}` + +- 루트 권한으로 기본 쉘을 시작: + +`doas -s` + +- 구성 파일을 구문 분석하고, 다른 사용자로 명령 실행이 허용되는지 확인: + +`doas -C {{구성_파일}} {{명령어}}` + +- `doas`가 이전에 제공된 후에도 비밀번호를 요청하도록 함: + +`doas -L` diff --git a/pages.ko/common/docker-build.md b/pages.ko/common/docker-build.md new file mode 100644 index 00000000000000..53e6c29acf3d05 --- /dev/null +++ b/pages.ko/common/docker-build.md @@ -0,0 +1,32 @@ +# docker build + +> 도커파일로부터 이미지 빌드. +> 더 많은 정보: . + +- 현재 디렉토리 안의 도커파일을 이용해 도커 이미지 빌드: + +`docker build .` + +- 명시된 URL의 도커파일로부터 도커 이미지 빌드: + +`docker build {{github.com/creack/docker-firefox}}` + +- 도커 이미지 빌드 및 태그 추가: + +`docker build {{[-t|--tag]}} {{이름:태그}} .` + +- 빌드 컨텍스트 없이 도커 이미지 빌드: + +`docker build {{[-t|--tag]}} {{이름:태그}} - < {{도커파일}}` + +- 캐시를 사용하지 않고 도커 이미지 빌드: + +`docker build --no-cache {{[-t|--tag]}} {{이름:태그}} .` + +- 특정 도커파일을 이용하여 도커 이미지 빌드: + +`docker build {{[-f|--file]}} {{도커파일}} .` + +- 빌드 시 커스텀 변수 추가: + +`docker build --build-arg {{HTTP_PROXY=http://10.20.30.2:1234}} --build-arg {{FTP_PROXY=http://40.50.60.5:4567}} .` diff --git a/pages.ko/common/docker-commit.md b/pages.ko/common/docker-commit.md new file mode 100644 index 00000000000000..a7ecb26092d926 --- /dev/null +++ b/pages.ko/common/docker-commit.md @@ -0,0 +1,32 @@ +# docker commit + +> 컨테이너의 변경 사항으로부터 새로운 이미지를 생성합니다. +> 더 많은 정보: . + +- 특정 컨테이너로부터 이미지 생성: + +`docker commit {{컨테이너}} {{이미지}}:{{태그}}` + +- 생성된 이미지에 `CMD` Dockerfile 명령 적용: + +`docker commit {{[-c|--change]}} "CMD {{명령}}" {{컨테이너}} {{이미지}}:{{태그}}` + +- 생성된 이미지에 `ENV` Dockerfile 명령 적용: + +`docker commit {{[-c|--change]}} "ENV {{이름}}={{값}}" {{컨테이너}} {{이미지}}:{{태그}}` + +- 메타데이터에 특정 작성자를 포함하여 이미지 생성: + +`docker commit {{[-a|--author]}} "{{작성자}}" {{컨테이너}} {{이미지}}:{{태그}}` + +- 메타데이터에 특정 주석을 포함하여 이미지 생성: + +`docker commit {{[-m|--message]}} "{{주석}}" {{컨테이너}} {{이미지}}:{{태그}}` + +- 커밋 중 컨테이너를 중지하지 않고 이미지 생성: + +`docker commit {{[-p|--pause]}} {{false}} {{컨테이너}} {{이미지}}:{{태그}}` + +- 도움말 표시: + +`docker commit --help` diff --git a/pages.ko/common/docker-compose.md b/pages.ko/common/docker-compose.md index 3b670a0d9143ce..19e469b4cf62f1 100644 --- a/pages.ko/common/docker-compose.md +++ b/pages.ko/common/docker-compose.md @@ -1,32 +1,36 @@ -# docker-compose +# docker compose -> 다중 도커 응용 프로그램 실행 및 관리합니다. -> 더 많은 정보: . +> 다중 컨테이너 도커 어플리케이션 실행 및 관리. +> 더 많은 정보: . -- 실행 중인 모든 컨테이너들 목록: +- 실행 중인 모든 컨테이너 목록 보기: -`docker-compose ps` +`docker compose ps` -- 현재 디렉토리로로부터 `docker-compose.yml` 파일을 사용하여 백그라운드에서 모든 컨테이너들을 생성하고 실행하기: +- 현재 디렉토리의 `docker-compose.yml` 파일을 사용해 모든 컨테이너를 백그라운드에서 생성하고 실행하기: -`docker-compose up -d` +`docker compose up {{[-d|--detach]}}` -- 모든 컨테이너들을 실행하고, 필요 시 재조립: +- 모든 컨테이너 실행, 필요 시 재빌드: -`docker-compose up --build` +`docker compose up --build` -- 대체 구성 파일을 사용하여 모든 컨테이너들 실행하기: +- 특정 구성 파일을 사용해 모든 컨테이너 실행: -`docker-compose --file {{경로/파일명}} up` +`docker compose {{[-p|--project-name]}} {{프로젝트_이름}} {{[-f|--file]}} {{경로/파일명}} up` -- 실행중인 모든 컨테이너들 중지하기: +- 실행 중인 모든 컨테이너 중지: -`docker-compose stop` +`docker compose stop` -- 모든 컨테이너들, 네트워크, 이미지, 그리고 볼륨을 중지하고 제거하기: +- 모든 컨테이너, 네트워크, 이미지, 볼륨 중지 및 삭제: -`docker-compose down --rmi all --volumes` +`docker compose down --rmi all {{[-v|--volumes]}}` -- 모든 컨테이너들에 대한 로그들 팔로우: +- 모든 컨테이너에 대한 로그 팔로우: -`docker-compose logs --follow` +`docker compose logs {{[-f|--follow]}}` + +- 특정 컨테이너에 대한 로그 팔로우: + +`docker compose logs {{[-f|--follow]}} {{컨테이너_이름}}` diff --git a/pages.ko/common/docker-container-diff.md b/pages.ko/common/docker-container-diff.md new file mode 100644 index 00000000000000..ff8cb1340dba5f --- /dev/null +++ b/pages.ko/common/docker-container-diff.md @@ -0,0 +1,7 @@ +# docker container diff + +> 이 명령은 `docker diff`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr docker diff` diff --git a/pages.ko/common/docker-container-remove.md b/pages.ko/common/docker-container-remove.md new file mode 100644 index 00000000000000..7de70e7cc83564 --- /dev/null +++ b/pages.ko/common/docker-container-remove.md @@ -0,0 +1,7 @@ +# docker container remove + +> 이 명령은 `docker rm`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr docker rm` diff --git a/pages.ko/common/docker-container-rename.md b/pages.ko/common/docker-container-rename.md new file mode 100644 index 00000000000000..b0167fe1af9478 --- /dev/null +++ b/pages.ko/common/docker-container-rename.md @@ -0,0 +1,7 @@ +# docker container rename + +> 이 명령은 `docker rename`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr docker rename` diff --git a/pages.ko/common/docker-container-rm.md b/pages.ko/common/docker-container-rm.md new file mode 100644 index 00000000000000..061106a89822ed --- /dev/null +++ b/pages.ko/common/docker-container-rm.md @@ -0,0 +1,7 @@ +# docker container rm + +> 이 명령은 `docker rm`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr docker rm` diff --git a/pages.ko/common/docker-container-top.md b/pages.ko/common/docker-container-top.md new file mode 100644 index 00000000000000..0083fd605c4385 --- /dev/null +++ b/pages.ko/common/docker-container-top.md @@ -0,0 +1,7 @@ +# docker container top + +> 이 명령은 `docker top`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr docker top` diff --git a/pages.ko/common/docker-container.md b/pages.ko/common/docker-container.md new file mode 100644 index 00000000000000..d662b288d879d1 --- /dev/null +++ b/pages.ko/common/docker-container.md @@ -0,0 +1,36 @@ +# docker container + +> 도커 컨테이너들을 관리한다. +> 더 많은 정보: . + +- 현재 실행중인 도커 컨테이너들의 목록: + +`docker container ls` + +- 하나 혹은 더 많은 정지된 컨테이너들 실행하기: + +`docker container start {{컨테이너1_이름}} {{컨테이너2_이름}}` + +- 하나 혹은 더 많은 실행중인 컨테이너들 종료하기: + +`docker container kill {{컨테이너_이름}}` + +- 하나 혹은 더 많은 실행중인 컨테이너들 중지하기: + +`docker container stop {{컨테이너_이름}}` + +- 하나 혹은 더 많은 컨테이너들 내에서 모든 프로세스들 일시중지하기: + +`docker container pause {{컨테이너_이름}}` + +- 하나 혹은 더 많은 컨테이너들에 대한 상세 정보 표시하기: + +`docker container inspect {{컨테이너_이름}}` + +- 컨테이너의 파일 시스템을 tar 아카이브로 내보내기: + +`docker container export {{컨테이너_이름}}` + +- 컨테이너의 변경점들로부터 새 이미지 생성하기: + +`docker container commit {{컨테이너_이름}}` diff --git a/pages.ko/common/docker-containers.md b/pages.ko/common/docker-containers.md deleted file mode 100644 index be202a9247aee9..00000000000000 --- a/pages.ko/common/docker-containers.md +++ /dev/null @@ -1,36 +0,0 @@ -# docker container - -> 도커 컨테이너들을 관리한다. -> 더 많은 정보: . - -- 현재 실행중인 도커 컨테이너들의 목록: - -`docker container ls` - -- 하나 혹은 더 많은 정지된 컨테이너들 실행하기: - -`docker container start {{컨테이너1_이름}} {{컨테이너2_이름}}` - -- 하나 혹은 더 많은 실행중인 컨테이너들 종료하기: - -`docker container kill {{컨테이너_이름}}` - -- 하나 혹은 더 많은 실행중인 컨테이너들 중지하기: - -`docker container stop {{컨테이너_이름}}` - -- 하나 혹은 더 많은 컨테이너들 내에서 모든 프로세스들 일시중지하기: - -`docker container pause {{컨테이너_이름}}` - -- 하나 혹은 더 많은 컨테이너들에 대한 상세 정보 표시하기: - -`docker container inspect {{컨테이너_이름}}` - -- 컨테이너의 파일 시스템을 tar 아카이브로 내보내기: - -`docker container export {{컨테이너_이름}}` - -- 컨테이너의 변경점들로부터 새 이미지 생성하기: - -`docker container commit {{컨테이너_이름}}` diff --git a/pages.ko/common/docker-cp.md b/pages.ko/common/docker-cp.md new file mode 100644 index 00000000000000..4abd024d974562 --- /dev/null +++ b/pages.ko/common/docker-cp.md @@ -0,0 +1,16 @@ +# docker cp + +> 호스트와 컨테이너 파일 시스템 간에 파일이나 디렉토리를 복사. +> 더 많은 정보: . + +- 호스트에서 컨테이너로 파일이나 디렉토리 복사: + +`docker cp {{호스트의/파일_또는_디렉토리_경로}} {{컨테이너_이름}}:{{컨테이너의/파일_또는_디렉토리_경로}}` + +- 컨테이너에서 호스트로 파일이나 디렉토리 복사: + +`docker cp {{컨테이너_이름}}:{{컨테이너의/파일_또는_디렉토리_경로}} {{호스트의/파일_또는_디렉토리_경로}}` + +- 호스트에서 컨테이너로 심볼릭 링크를 따라 파일이나 디렉토리 복사 (심볼릭 링크가 아닌 링크된 파일을 직접 복사): + +`docker cp {{[-L|--follow-link]}} {{호스트의/심볼릭_링크_경로}} {{컨테이너_이름}}:{{컨테이너의/파일_또는_디렉토리_경로}}` diff --git a/pages.ko/common/docker-diff.md b/pages.ko/common/docker-diff.md new file mode 100644 index 00000000000000..b1a3918a89a218 --- /dev/null +++ b/pages.ko/common/docker-diff.md @@ -0,0 +1,12 @@ +# docker diff + +> 컨테이너의 파일 시스템에서 파일이나 디렉토리의 변경 사항을 검사. +> 더 많은 정보: . + +- 컨테이너가 생성된 이후의 변경 사항 검사: + +`docker diff {{컨테이너}}` + +- 도움말 표시: + +`docker diff --help` diff --git a/pages.ko/common/docker-exec.md b/pages.ko/common/docker-exec.md new file mode 100644 index 00000000000000..41da37d24888cb --- /dev/null +++ b/pages.ko/common/docker-exec.md @@ -0,0 +1,28 @@ +# docker exec + +> 이미 실행 중인 Docker 컨테이너에서 명령을 실행. +> 더 많은 정보: . + +- 이미 실행 중인 컨테이너에서 대화형 셸 세션 시작: + +`docker exec {{[-it|--interactive --tty]}} {{컨테이너_이름}} {{/bin/bash}}` + +- 실행 중인 컨테이너에서 백그라운드(분리 모드)로 명령 실행: + +`docker exec {{[-d|--detach]}} {{컨테이너_이름}} {{명령}}` + +- 특정 명령을 실행할 작업 디렉토리 선택: + +`docker exec {{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{경로/대상/폴더}} {{컨테이너_이름}} {{명령}}` + +- 기존 컨테이너에서 백그라운드로 명령을 실행하되 `stdin`을 열어 둠: + +`docker exec {{[-i|--interactive]}} {{[-d|--detach]}} {{컨테이너_이름}} {{명령}}` + +- 실행 중인 Bash 세션에서 환경 변수를 설정: + +`docker exec {{[-it|--interactive --tty]}} {{[-e|--env]}} {{변수_이름}}={{값}} {{컨테이너_이름}} {{/bin/bash}}` + +- 특정 사용자로 명령 실행: + +`docker exec {{[-u|--user]}} {{사용자}} {{컨테이너_이름}} {{명령}}` diff --git a/pages.ko/common/docker-image.md b/pages.ko/common/docker-image.md new file mode 100644 index 00000000000000..165cbbc2ddac63 --- /dev/null +++ b/pages.ko/common/docker-image.md @@ -0,0 +1,21 @@ +# docker image + +> 도커 이미지 관리. +> `docker build`, `docker import`, `docker pull` 도 확인하세요. +> 더 많은 정보: . + +- 로컬 도커 이미지 목록 보기: + +`docker image ls` + +- 사용되지 않는 로컬 도커 이미지 제거: + +`docker image prune` + +- (태그가 없는 이미지뿐만 아니라) 모든 사용되지 않는 이미지 제거: + +`docker image prune --all` + +- 특정 로컬 도커 이미지 히스토리 보기: + +`docker image history {{이미지}}` diff --git a/pages.ko/common/docker-images.md b/pages.ko/common/docker-images.md index a04a05cb23517a..819afe595e1626 100644 --- a/pages.ko/common/docker-images.md +++ b/pages.ko/common/docker-images.md @@ -1,20 +1,24 @@ # docker images -> 도커 이미지를 관리한다. -> 더 많은 정보: . +> 도커 이미지 관리. +> 더 많은 정보: . -- 모든 도커 이미지 목록보기: +- 모든 도커 이미지 목록 보기: `docker images` -- 중간자를 포함한 모든 도커 이미지 목록보기: +- 중간 레이어를 포함한 도커 이미지 목록 보기: -`docker images -a` +`docker images --all` -- 잔잔한 모드로 결과 목록보기(수로 표현된 ID들만): +- 조용한 모드로 결과 목록 보기 (이미지 ID만 출력): -`docker images -q` +`docker images --quiet` -- 어떠한 컨테이너에서도 사용되지 않은 모든 도커 이미지 목록보기: +- 어떤 컨테이너에도 사용되지 않은 도커 이미지 목록 보기: `docker images --filter dangling=true` + +- 이름에 부분 문자열을 포함한 이미지 목록 보기: + +`docker images "{{*이름*}}"` diff --git a/pages.ko/common/docker-inspect.md b/pages.ko/common/docker-inspect.md new file mode 100644 index 00000000000000..a8e8fdcbef823f --- /dev/null +++ b/pages.ko/common/docker-inspect.md @@ -0,0 +1,32 @@ +# docker inspect + +> Docker 객체에 대한 저수준 정보를 반환. +> 더 많은 정보: . + +- 도움말 표시: + +`docker inspect` + +- 이름 또는 ID를 사용하여 컨테이너, 이미지 또는 볼륨에 대한 정보 표시: + +`docker inspect {{컨테이너|이미지|ID}}` + +- 컨테이너의 IP 주소 표시: + +`docker inspect {{[-f|--format]}} '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{컨테이너}}` + +- 컨테이너의 로그 파일 경로 표시: + +`docker inspect {{[-f|--format]}} '\{\{.LogPath\}\}' {{컨테이너}}` + +- 컨테이너의 이미지 이름 표시: + +`docker inspect {{[-f|--format]}} '\{\{.Config.Image\}\}' {{컨테이너}}` + +- JSON 형식으로 구성 정보 표시: + +`docker inspect {{[-f|--format]}} '\{\{json .Config\}\}' {{컨테이너}}` + +- 모든 포트 바인딩 표시: + +`docker inspect {{[-f|--format]}} '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{컨테이너}}` diff --git a/pages.ko/common/docker-load.md b/pages.ko/common/docker-load.md new file mode 100644 index 00000000000000..05e7d1d4ae45b5 --- /dev/null +++ b/pages.ko/common/docker-load.md @@ -0,0 +1,16 @@ +# docker load + +> 파일 또는 `stdin`에서 Docker 이미지를 로드합니다. +> 더 많은 정보: . + +- `stdin`에서 Docker 이미지 로드: + +`docker load < {{경로/대상/이미지_파일.tar}}` + +- 특정 파일에서 Docker 이미지 로드: + +`docker load {{[-i|--input]}} {{경로/대상/이미지_파일.tar}}` + +- 조용한 모드로 특정 파일에서 Docker 이미지 로드: + +`docker load {{[-q|--quiet]}} {{[-i|--input]}} {{경로/대상/이미지_파일.tar}}` diff --git a/pages.ko/common/docker-login.md b/pages.ko/common/docker-login.md new file mode 100644 index 00000000000000..b5764b102d8e17 --- /dev/null +++ b/pages.ko/common/docker-login.md @@ -0,0 +1,20 @@ +# docker login + +> Docker 레지스트리에 로그인. +> 더 많은 정보: . + +- 레지스트리에 대화형으로 로그인: + +`docker login` + +- 특정 사용자 명으로 레지스트리에 로그인 (사용자는 비밀번호를 입력하라는 메시지를 받음): + +`docker login {{[-u|{{[-u|--username]}}]}} {{사용자_명}}` + +- 사용자 명과 비밀번호로 레지스트리에 로그인: + +`docker login {{[-u|--username]}} {{사용자_명}} {{[-p|--password]}} {{비밀번호}} {{서버}}` + +- `stdin`에서 비밀번호를 받아 레지스트리에 로그인: + +`echo "{{비밀번호}}" | docker login {{[-u|--username]}} {{사용자_명}} --password-stdin` diff --git a/pages.ko/common/docker-logs.md b/pages.ko/common/docker-logs.md index 9138a866f71b9c..b0bf1945ffe1a0 100644 --- a/pages.ko/common/docker-logs.md +++ b/pages.ko/common/docker-logs.md @@ -1,7 +1,7 @@ # docker logs > 컨테이너 로그들을 출력한다. -> 더 많은 정보: . +> 더 많은 정보: . - 컨테이너로부터 로그들을 출력하기: @@ -9,15 +9,15 @@ - 로그들을 출력하고 추적하기: -`docker logs -f {{컨테이너_이름}}` +`docker logs {{[-f|--follow]}} {{컨테이너_이름}}` - 최근 5줄만 출력하기: -`docker logs {{컨테이너_이름}} --tail {{5}}` +`docker logs {{컨테이너_이름}} {{[-n|--tail]}} {{5}}` - 로그들을 출력하고 타임스태프 추가하기: -`docker logs -t {{컨테이너_이름}}` +`docker logs {{[-t|--timestamps]}} {{컨테이너_이름}}` - 특정 시점의 컨테이너 실행 시점으로부터 로그 출력하기 (예시. 23m, 10s, 2013-01-02T13:23:37): diff --git a/pages.ko/common/docker-machine.md b/pages.ko/common/docker-machine.md index ec40effc3d09ec..59bfbdc68ffb26 100644 --- a/pages.ko/common/docker-machine.md +++ b/pages.ko/common/docker-machine.md @@ -1,7 +1,7 @@ # docker-machine > 도커를 실행하는 머신들을 생성하고 관리한다. -> 더 많은 정보: . +> 더 많은 정보: . - 현재 실행중인 도커 머신들 목록보기: diff --git a/pages.ko/common/docker-network.md b/pages.ko/common/docker-network.md new file mode 100644 index 00000000000000..14bd9686a82862 --- /dev/null +++ b/pages.ko/common/docker-network.md @@ -0,0 +1,32 @@ +# docker network + +> Docker 네트워크 생성 및 관리. +> 더 많은 정보: . + +- Docker 데몬에서 사용 가능하고 구성된 모든 네트워크 나열: + +`docker network ls` + +- 사용자 정의 네트워크 생성: + +`docker network create {{[-d|--driver]}} {{드라이버_이름}} {{네트워크_이름}}` + +- 하나 이상의 네트워크에 대한 자세한 정보 표시: + +`docker network inspect {{네트워크_이름1 네트워크_이름2 ...}}` + +- 이름 또는 ID를 사용하여 네트워크에 컨테이너 연결: + +`docker network connect {{네트워크_이름}} {{컨테이너_이름|ID}}` + +- 네트워크에서 컨테이너 연결 해제: + +`docker network disconnect {{네트워크_이름}} {{컨테이너_이름|ID}}` + +- 사용되지 않는 모든 네트워크 제거 (어떤 컨테이너에도 참조되지 않음): + +`docker network prune` + +- 하나 이상의 사용되지 않는 네트워크 제거: + +`docker network rm {{네트워크_이름1 네트워크_이름2 ...}}` diff --git a/pages.ko/common/docker-ps.md b/pages.ko/common/docker-ps.md new file mode 100644 index 00000000000000..7b5ee4a55dd764 --- /dev/null +++ b/pages.ko/common/docker-ps.md @@ -0,0 +1,36 @@ +# docker ps + +> Docker 컨테이너 목록. +> 더 많은 정보: . + +- 현재 실행 중인 Docker 컨테이너 목록: + +`docker ps` + +- 모든 Docker 컨테이너 목록 (실행 중 및 중지됨): + +`docker ps {{[-a|--all]}}` + +- 가장 최근에 생성된 컨테이너 표시 (모든 상태 포함): + +`docker ps {{[-l|--latest]}}` + +- 이름에 특정 문자열이 포함된 컨테이너 필터링: + +`docker ps {{[-f|--filter]}} "name={{이름}}"` + +- 주어진 이미지를 조상으로 공유하는 컨테이너 필터링: + +`docker ps {{[-f|--filter]}} "ancestor={{이미지}}:{{태그}}"` + +- 종료 상태 코드로 컨테이너 필터링: + +`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{코드}}"` + +- 상태로 컨테이너 필터링 (created, running, removing, paused, exited, dead): + +`docker ps {{[-f|--filter]}} "status={{상태}}"` + +- 특정 볼륨을 마운트하거나 특정 경로에 볼륨이 마운트된 컨테이너 필터링: + +`docker ps {{[-f|--filter]}} "volume={{경로/대상/폴더}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.ko/common/docker-pull.md b/pages.ko/common/docker-pull.md new file mode 100644 index 00000000000000..068f0b3de9dde3 --- /dev/null +++ b/pages.ko/common/docker-pull.md @@ -0,0 +1,24 @@ +# docker pull + +> Docker 이미지를 레지스트리에서 다운로드. +> 더 많은 정보: . + +- 특정 Docker 이미지 다운로드: + +`docker pull {{이미지}}:{{태그}}` + +- 조용한 모드로 특정 Docker 이미지 다운로드: + +`docker pull {{[-q|--quiet]}} {{이미지}}:{{태그}}` + +- 특정 Docker 이미지의 모든 태그 다운로드: + +`docker pull {{[-a|--all-tags]}} {{이미지}}` + +- 특정 플랫폼의 Docker 이미지 다운로드 (예: linux/amd64): + +`docker pull --platform {{linux/amd64}} {{이미지}}:{{태그}}` + +- 도움말 표시: + +`docker pull {{[-h|--help]}}` diff --git a/pages.ko/common/docker-rename.md b/pages.ko/common/docker-rename.md new file mode 100644 index 00000000000000..c2b70fad500d12 --- /dev/null +++ b/pages.ko/common/docker-rename.md @@ -0,0 +1,12 @@ +# docker rename + +> 컨테이너 이름 변경. +> 더 많은 정보: . + +- 컨테이너 이름 변경: + +`docker rename {{컨테이너}} {{새_이름}}` + +- 도움말 표시: + +`docker rename --help` diff --git a/pages.ko/common/docker-rm.md b/pages.ko/common/docker-rm.md new file mode 100644 index 00000000000000..e7c8697474ff80 --- /dev/null +++ b/pages.ko/common/docker-rm.md @@ -0,0 +1,20 @@ +# docker rm + +> 컨테이너 제거. +> 더 많은 정보: . + +- 컨테이너 제거: + +`docker rm {{컨테이너1 컨테이너2 ...}}` + +- 컨테이너 강제 제거: + +`docker rm {{[-f|--force]}} {{컨테이너1 컨테이너2 ...}}` + +- 컨테이너와 그 볼륨 제거: + +`docker rm {{[-v|--volumes]}} {{컨테이너}}` + +- 도움말 표시: + +`docker rm {{[-h|--help]}}` diff --git a/pages.ko/common/docker-rmi.md b/pages.ko/common/docker-rmi.md new file mode 100644 index 00000000000000..a0bf4de4a43c1c --- /dev/null +++ b/pages.ko/common/docker-rmi.md @@ -0,0 +1,20 @@ +# docker rmi + +> Docker 이미지 삭제. +> 더 많은 정보: . + +- 도움말 표시: + +`docker rmi` + +- 하나 이상의 이미지를 이름으로 삭제: + +`docker rmi {{이미지1 이미지2 ...}}` + +- 강제로 이미지 삭제: + +`docker rmi {{[-f|--force]}} {{이미지}}` + +- 태그되지 않은 부모 이미지를 삭제하지 않고 이미지 삭제: + +`docker rmi --no-prune {{이미지}}` diff --git a/pages.ko/common/docker-run.md b/pages.ko/common/docker-run.md new file mode 100644 index 00000000000000..6b6df247fd4bb9 --- /dev/null +++ b/pages.ko/common/docker-run.md @@ -0,0 +1,36 @@ +# docker run + +> 새로운 Docker 컨테이너에서 명령 실행. +> 더 많은 정보: . + +- 태그가 지정된 이미지에서 새 컨테이너로 명령 실행: + +`docker run {{이미지:태그}} {{명령}}` + +- 백그라운드에서 새 컨테이너로 명령 실행하고 ID 표시: + +`docker run {{[-d|--detach]}} {{이미지}} {{명령}}` + +- 일회성 컨테이너에서 대화형 모드와 가상 TTY로 명령 실행: + +`docker run --rm {{[-it|--interactive --tty]}} {{이미지}} {{명령}}` + +- 전달된 환경 변수를 사용하여 새 컨테이너로 명령 실행: + +`docker run {{[-e|--env]}} '{{변수}}={{값}}' {{[-e|--env]}} {{변수}} {{이미지}} {{명령}}` + +- 바인드 마운트된 볼륨을 사용하여 새 컨테이너로 명령 실행: + +`docker run {{[-v|--volume]}} {{/경로/대상/호스트_경로}}:{{/경로/대상/컨테이너_경로}} {{이미지}} {{명령}}` + +- 게시된 포트를 사용하여 새 컨테이너로 명령 실행: + +`docker run {{[-p|--publish]}} {{호스트_포트}}:{{컨테이너_포트}} {{이미지}} {{명령}}` + +- 이미지의 엔트리포인트를 덮어쓰며 새 컨테이너로 명령 실행: + +`docker run --entrypoint {{명령}} {{이미지}}` + +- 네트워크에 연결하여 새 컨테이너로 명령 실행: + +`docker run --network {{네트워크}} {{이미지}}` diff --git a/pages.ko/common/docker-save.md b/pages.ko/common/docker-save.md new file mode 100644 index 00000000000000..1264ae81efbedd --- /dev/null +++ b/pages.ko/common/docker-save.md @@ -0,0 +1,20 @@ +# docker save + +> Docker 이미지를 아카이브로 내보내기. +> 더 많은 정보: . + +- 이미지를 `stdout`를 통해 tar 아카이브로 저장: + +`docker save {{이미지}}:{{태그}} > {{경로/대상/파일.tar}}` + +- 이미지를 tar 아카이브로 저장: + +`docker save {{[-o|--output]}} {{경로/대상/파일.tar}} {{이미지}}:{{태그}}` + +- 이미지의 모든 태그 저장: + +`docker save {{[-o|--output]}} {{경로/대상/파일.tar}} {{이미지_이름}}` + +- 저장할 이미지의 특정 태그 선택: + +`docker save {{[-o|--output]}} {{경로/대상/파일.tar}} {{이미지_이름:태그1 이미지_이름:태그2 ...}}` diff --git a/pages.ko/common/docker-secret.md b/pages.ko/common/docker-secret.md new file mode 100644 index 00000000000000..47a733f4d2b030 --- /dev/null +++ b/pages.ko/common/docker-secret.md @@ -0,0 +1,24 @@ +# docker secret + +> Docker 스웜 비밀 관리. +> 더 많은 정보: . + +- `stdin`에서 새 비밀 생성: + +`{{command}} | docker secret create {{비밀_이름}} -` + +- 파일에서 새 비밀 생성: + +`docker secret create {{비밀_이름}} {{경로/대상/파일}}` + +- 모든 비밀 나열: + +`docker secret ls` + +- 하나 이상의 비밀에 대한 자세한 정보를 사람이 읽기 쉬운 형식으로 표시: + +`docker secret inspect --pretty {{비밀_이름1 비밀_이름2 ...}}` + +- 하나 이상의 비밀 제거: + +`docker secret rm {{비밀_이름1 비밀_이름2 ...}}` diff --git a/pages.ko/common/docker-service.md b/pages.ko/common/docker-service.md new file mode 100644 index 00000000000000..fb154a374007d4 --- /dev/null +++ b/pages.ko/common/docker-service.md @@ -0,0 +1,28 @@ +# docker service + +> Docker 데몬에서 서비스를 관리합니다. +> 더 많은 정보: . + +- Docker 데몬에서 서비스 목록 나열: + +`docker service ls` + +- 새 서비스 생성: + +`docker service create --name {{서비스_이름}} {{이미지}}:{{태그}}` + +- 하나 이상의 서비스에 대한 자세한 정보 표시: + +`docker service inspect {{서비스_이름_또는_ID1 서비스_이름_또는_ID2}}` + +- 하나 이상의 서비스에 대한 작업 목록 나열: + +`docker service ps {{서비스_이름_또는_ID1 서비스_이름_또는_ID2 ...}}` + +- 공백으로 구분된 서비스 목록에 대해 특정 복제본 수로 확장: + +`docker service scale {{서비스_이름}}={{복제본_수}}` + +- 하나 이상의 서비스 제거: + +`docker service rm {{서비스_이름_또는_ID1 서비스_이름_또는_ID2}}` diff --git a/pages.ko/common/docker-slim.md b/pages.ko/common/docker-slim.md new file mode 100644 index 00000000000000..1830ac05350ef2 --- /dev/null +++ b/pages.ko/common/docker-slim.md @@ -0,0 +1,24 @@ +# docker-slim + +> Docker 이미지를 분석하고 최적화. +> 더 많은 정보: . + +- 인터랙티브 모드로 DockerSlim 시작: + +`docker-slim` + +- 특정 이미지에서 Docker 레이어 분석: + +`docker-slim xray --target {{이미지:태그}}` + +- Dockerfile 검사: + +`docker-slim lint --target {{경로/대상/Dockerfile}}` + +- 분석하고 최적화된 Docker 이미지 생성: + +`docker-slim build {{이미지:태그}}` + +- 하위 명령에 대한 도움말 표시: + +`docker-slim {{하위_명령}} --help` diff --git a/pages.ko/common/docker-start.md b/pages.ko/common/docker-start.md new file mode 100644 index 00000000000000..23fa5d2ddabf60 --- /dev/null +++ b/pages.ko/common/docker-start.md @@ -0,0 +1,20 @@ +# docker start + +> 중지된 컨테이너 시작. +> 더 많은 정보: . + +- 도움말 표시: + +`docker start` + +- Docker 컨테이너 시작: + +`docker start {{컨테이너}}` + +- `stdout` 및 `stderr`를 연결하고 신호를 전달하여 컨테이너 시작: + +`docker start {{[-a|--attach]}} {{컨테이너}}` + +- 하나 이상의 컨테이너 시작: + +`docker start {{컨테이너1 컨테이너2 ...}}` diff --git a/pages.ko/common/docker-stats.md b/pages.ko/common/docker-stats.md new file mode 100644 index 00000000000000..d08dd60d17d16b --- /dev/null +++ b/pages.ko/common/docker-stats.md @@ -0,0 +1,24 @@ +# docker stats + +> 컨테이너의 리소스 사용 통계를 실시간 스트림으로 표시. +> 더 많은 정보: . + +- 실행 중인 모든 컨테이너의 통계를 실시간 스트림으로 표시: + +`docker stats` + +- 하나 이상의 컨테이너에 대한 통계를 실시간 스트림으로 표시: + +`docker stats {{컨테이너1 컨테이너2 ...}}` + +- 컨테이너의 CPU 사용률을 표시하도록 열 형식을 변경: + +`docker stats --format "{{.Name}}:\t{{.CPUPerc}}"` + +- 모든 컨테이너(실행 중 및 중지된)의 통계를 표시: + +`docker stats {{[-a|--all]}}` + +- 스트리밍 통계를 비활성화하고 현재 통계만 가져오기: + +`docker stats --no-stream` diff --git a/pages.ko/common/docker-swarm.md b/pages.ko/common/docker-swarm.md new file mode 100644 index 00000000000000..0d698f8c9a88ba --- /dev/null +++ b/pages.ko/common/docker-swarm.md @@ -0,0 +1,32 @@ +# docker swarm + +> 컨테이너 오케스트레이션 도구. +> 더 많은 정보: . + +- 스웜 클러스터 초기화: + +`docker swarm init` + +- 매니저 또는 워커에 합류할 수 있는 토큰 표시: + +`docker swarm join-token {{worker|manager}}` + +- 새로운 노드를 클러스터에 합류: + +`docker swarm join --token {{토큰}} {{매니저_노드_url:2377}}` + +- 스웜에서 워커 제거 (워커 노드 내부에서 실행): + +`docker swarm leave` + +- 현재 CA 인증서를 PEM 형식으로 표시: + +`docker swarm ca` + +- 현재 CA 인증서를 갱신하고 새 인증서 표시: + +`docker swarm ca --rotate` + +- 노드 인증서의 유효 기간 변경: + +`docker swarm update --cert-expiry {{시간}}h{{분}}m{{초}}s` diff --git a/pages.ko/common/docker-system.md b/pages.ko/common/docker-system.md new file mode 100644 index 00000000000000..3ab4a104f26f3d --- /dev/null +++ b/pages.ko/common/docker-system.md @@ -0,0 +1,36 @@ +# docker system + +> Docker 데이터를 관리하고 시스템 전반의 정보를 표시합니다. +> 더 많은 정보: . + +- 도움말 표시: + +`docker system` + +- Docker 디스크 사용량 표시: + +`docker system df` + +- 디스크 사용량에 대한 자세한 정보 표시: + +`docker system df {{[-v|--verbose]}}` + +- 사용하지 않는 데이터 제거: + +`docker system prune` + +- 지정된 시간 이상 전에 생성된 사용하지 않는 데이터 제거: + +`docker system prune --filter "until={{hours}}h{{minutes}}m"` + +- Docker 데몬의 실시간 이벤트 표시: + +`docker system events` + +- 유효한 JSON 라인으로 스트리밍되는 컨테이너의 실시간 이벤트 표시: + +`docker system events {{[-f|--filter]}} 'type=container' --format '{{json .}}'` + +- 시스템 전반의 정보 표시: + +`docker system info` diff --git a/pages.ko/common/docker-tag.md b/pages.ko/common/docker-tag.md new file mode 100644 index 00000000000000..86b09800db7470 --- /dev/null +++ b/pages.ko/common/docker-tag.md @@ -0,0 +1,16 @@ +# docker tag + +> 기존 Docker 이미지에 태그를 지정합니다. +> 더 많은 정보: . + +- 특정 이미지 ID에 이름과 태그 지정: + +`docker tag {{id}} {{이름}}:{{태그}}` + +- 특정 이미지에 태그 지정: + +`docker tag {{이미지}}:{{현재_태그}} {{이미지}}:{{새_태그}}` + +- 도움말 표시: + +`docker tag` diff --git a/pages.ko/common/docker-top.md b/pages.ko/common/docker-top.md new file mode 100644 index 00000000000000..6fa29ea565d360 --- /dev/null +++ b/pages.ko/common/docker-top.md @@ -0,0 +1,12 @@ +# docker top + +> 컨테이너의 실행 중인 프로세스를 표시. +> 더 많은 정보: . + +- 컨테이너의 실행 중인 프로세스 표시: + +`docker top {{컨테이너}}` + +- 도움말 표시: + +`docker top --help` diff --git a/pages.ko/common/docker-update.md b/pages.ko/common/docker-update.md new file mode 100644 index 00000000000000..a73658158f0bf5 --- /dev/null +++ b/pages.ko/common/docker-update.md @@ -0,0 +1,29 @@ +# docker update + +> Docker 컨테이너의 구성 업데이트. +> 이 명령은 Windows 컨테이너에서는 지원되지 않습니다. +> 더 많은 정보: . + +- 특정 컨테이너가 종료될 때 적용할 재시작 정책 업데이트: + +`docker update --restart={{always|no|on-failure|unless-stopped}} {{컨테이너_이름}}` + +- 특정 컨테이너가 0이 아닌 종료 상태로 종료될 때 최대 3번까지 재시작하는 정책 업데이트: + +`docker update --restart=on-failure:3 {{컨테이너_이름}}` + +- 특정 컨테이너에 사용할 수 있는 CPU 수 업데이트: + +`docker update --cpus {{개수}} {{컨테이너_이름}}` + +- 특정 컨테이너의 메모리 제한을 [M]egabytes 단위로 업데이트: + +`docker update --memory {{제한값}}M {{컨테이너_이름}}` + +- 특정 컨테이너 내에서 허용되는 최대 프로세스 ID 수 업데이트 (`-1`은 무제한): + +`docker update --pids-limit {{개수}} {{컨테이너_이름}}` + +- 특정 컨테이너가 디스크로 스왑할 수 있는 메모리 양을 [M]egabytes 단위로 업데이트 (`-1`은 무제한): + +`docker update --memory-swap {{제한값}}M {{컨테이너_이름}}` diff --git a/pages.ko/common/docker-volume.md b/pages.ko/common/docker-volume.md new file mode 100644 index 00000000000000..8c1a48710c9689 --- /dev/null +++ b/pages.ko/common/docker-volume.md @@ -0,0 +1,36 @@ +# docker volume + +> Docker 볼륨 관리. +> 더 많은 정보: . + +- 볼륨 생성: + +`docker volume create {{볼륨_이름}}` + +- 특정 레이블을 사용하여 볼륨 생성: + +`docker volume create --label {{레이블}} {{볼륨_이름}}` + +- 100 MiB의 크기와 1000의 uid를 가진 `tmpfs` 볼륨 생성: + +`docker volume create --opt {{type}}={{tmpfs}} --opt {{device}}={{tmpfs}} --opt {{o}}={{size=100m,uid=1000}} {{볼륨_이름}}` + +- 모든 볼륨 나열: + +`docker volume ls` + +- 볼륨 제거: + +`docker volume rm {{볼륨_이름}}` + +- 볼륨에 대한 정보 표시: + +`docker volume inspect {{볼륨_이름}}` + +- 사용되지 않는 모든 로컬 볼륨 제거: + +`docker volume prune` + +- 하위 명령에 대한 도움말 표시: + +`docker volume {{서브커맨드}} --help` diff --git a/pages.ko/common/docker.md b/pages.ko/common/docker.md index d75b62bd20e56e..8cec4e4c6541c5 100644 --- a/pages.ko/common/docker.md +++ b/pages.ko/common/docker.md @@ -1,36 +1,37 @@ # docker -> 도커 컨테이너들과 이미지들을 관리한다. -> 더 많은 정보: . +> Docker 컨테이너 및 이미지를 관리. +> `run`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . -- 현재 실행중인 도커 컨테이너들 목록보기: +- 모든 도커 컨테이너들(실행 및 중지) 목록 보기: -`docker ps` - -- 모든 도커 컨테이너들(실행중이고 중지된) 목록 보기: - -`docker ps -a` +`docker ps {{[-a|--all]}}` - 사용자 정의 이름으로 이미지로부터 컨테이너 실행: `docker run --name {{컨테이너_이름}} {{이미지}}` -- 기존 컨테이너 실행 또는 중지하기: +- 기존 컨테이너 시작 또는 중지: -`docker {{실행|중지}} {{컨테이너_이름}}` +`docker {{start|stop}} {{컨테이너_이름}}` - 도커 레지스트리로부터 이미지 가져오기: `docker pull {{이미지}}` -- 이미 실행중인 컨테이너 내부에서 쉘 열기: +- 이미 다운로드한 이미지 목록 표시: + +`docker images` + +- 실행 중인 컨테이너 내부에서 Bourne 셸(`sh`)과 함께 [i]nteractive [t]ty 열기: -`docker exec -it {{컨테이너_이름}} {{쉘}}` +`docker exec {{[-it|--interactive --tty]}} {{컨테이너_이름}} {{sh}}` -- 중지된 컨테이너 제거하기: +- 중지된 컨테이너 제거: `docker rm {{컨테이너_이름}}` -- 컨테이너 로그를 가져오고 팔로우하기: +- 컨테이너의 로그 가져오기 및 실시간으로 보기: -`docker logs -f {{컨테이너_이름}}` +`docker logs {{[-f|--follow]}} {{컨테이너_이름}}` diff --git a/pages.ko/common/docsify.md b/pages.ko/common/docsify.md new file mode 100644 index 00000000000000..af1c55fcb307f4 --- /dev/null +++ b/pages.ko/common/docsify.md @@ -0,0 +1,24 @@ +# docsify + +> 마크다운 문서를 초기화하고 제공. +> 더 많은 정보: . + +- 현재 디렉토리에서 새로운 문서를 초기화: + +`docsify init` + +- 지정된 디렉토리에서 새로운 문서를 초기화: + +`docsify init {{경로/대상/디렉토리}}` + +- 실시간 재로드를 통해 `localhost:3000`에 로컬 문서 제공: + +`docsify serve {{경로/대상/디렉토리}}` + +- 지정된 포트의 `localhost`에 대한 로컬 문서를 제공: + +`docsify serve --port {{80}} {{경로/대상/디렉토리}}` + +- 지정된 디렉터리에 사이드바 마크다운 파일을 생성: + +`docsify generate {{경로/대상/디렉토리}}` diff --git a/pages.ko/common/doctl-account.md b/pages.ko/common/doctl-account.md new file mode 100644 index 00000000000000..f3d21901421fda --- /dev/null +++ b/pages.ko/common/doctl-account.md @@ -0,0 +1,16 @@ +# doctl account + +> Digital Ocean 계정에 대한 정보를 검색. +> 더 많은 정보: . + +- 계정 정보 표시: + +`doctl account get` + +- 시간별 API 한도, 진행 상황, 비율 한도 재설정 시점을 표시: + +`doctl account ratelimit` + +- 도움말 표시: + +`doctl account --help` diff --git a/pages.ko/common/doctl-apps.md b/pages.ko/common/doctl-apps.md new file mode 100644 index 00000000000000..42e83b13547227 --- /dev/null +++ b/pages.ko/common/doctl-apps.md @@ -0,0 +1,36 @@ +# doctl apps + +> DigitalOcean 앱 관리. +> 더 많은 정보: . + +- 애플리케이션 생성: + +`doctl apps create` + +- 특정 애플리케이션에 대한 배포 생성: + +`doctl apps create-deployment {{앱_아이디}}` + +- 대화형으로 앱 삭제: + +`doctl apps delete {{앱_아이디}}` + +- 앱 다운로드: + +`doctl apps get` + +- 모든 앱 나열: + +`doctl apps list` + +- 특정 앱의 모든 배포를 나열: + +`doctl apps list-deployments {{앱_아이디}}` + +- 특정 앱에서 로그를 가져오기: + +`doctl apps logs {{앱_아이디}}` + +- 특정 앱 사양으로 특정 앱을 업데이트: + +`doctl apps update {{앱_아이디}} --spec {{path/to/spec.yml}}` diff --git a/pages.ko/common/doctl-auth.md b/pages.ko/common/doctl-auth.md new file mode 100644 index 00000000000000..cd83be1b4ddedf --- /dev/null +++ b/pages.ko/common/doctl-auth.md @@ -0,0 +1,24 @@ +# doctl auth + +> API 토큰으로 `doctl`을 인증. +> 더 많은 정보: . + +- API 토큰을 입력하고 해당 컨텍스트에 라벨을 지정하라는 메시지를 열기: + +`doctl auth init --context {{토큰_라벨}}` + +- 인증 컨텍스트 나열 (API 토큰): + +`doctl auth list` + +- 컨텍스트 전환 (API 토큰): + +`doctl auth switch --context {{토큰_라벨}}` + +- 저장된 인증 컨텍스트 제거 (API 토큰): + +`doctl auth remove --context {{토큰_라벨}}` + +- 사용 가능한 명령 표시: + +`doctl auth --help` diff --git a/pages.ko/common/doctl-balance.md b/pages.ko/common/doctl-balance.md new file mode 100644 index 00000000000000..f5caf1eaf41bdf --- /dev/null +++ b/pages.ko/common/doctl-balance.md @@ -0,0 +1,16 @@ +# doctl balance + +> Digital Ocean 계정의 잔액을 표시. +> 더 많은 정보: . + +- 현재 컨텍스트와 관련된 계정의 잔액을 가져옴: + +`doctl balance get` + +- 액세스 토큰과 연결된 계정 잔액을 가져옴: + +`doctl balance get --access-token {{액세스_토큰}}` + +- 지정된 컨텍스트와 연결된 계정의 잔액을 가져옴: + +`doctl balance get --context` diff --git a/pages.ko/common/doctl-compute-droplet.md b/pages.ko/common/doctl-compute-droplet.md new file mode 100644 index 00000000000000..9aa6fe9fbc87eb --- /dev/null +++ b/pages.ko/common/doctl-compute-droplet.md @@ -0,0 +1,16 @@ +# doctl compute droplet + +> 드롭릿이라고 불리는 가상 머신을 나열, 생성, 삭제. +> 더 많은 정보: . + +- 드롭릿 생성: + +`doctl compute droplet create --region {{지역}} --image {{os_이미지}} --size {{vps_타입}} {{드롭릿_이름}}` + +- 드롭릿 삭제: + +`doctl compute droplet delete {{드롭릿_아이디|드롭릿_이름}}` + +- 드롭릿 나열: + +`doctl compute droplet list` diff --git a/pages.ko/common/doctl-databases-db.md b/pages.ko/common/doctl-databases-db.md new file mode 100644 index 00000000000000..856e4ed5f00fb1 --- /dev/null +++ b/pages.ko/common/doctl-databases-db.md @@ -0,0 +1,24 @@ +# doctl databases db + +> 데이터베이스 클러스터에서 제공하는 데이터베이스를 관리. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases db` 명령을 실행: + +`doctl databases db {{명령어}} --access-token {{액세스_토큰}}` + +- 특정 데이터베이스 클러스터에서 호스팅되는 특정 데이터베이스의 이름을 검색: + +`doctl databases db get {{데이터베이스_아이디}} {{데이터베이스_이름}}` + +- 특정 데이터베이스 클러스터 내에서 호스팅되는 기존 데이터베이스를 나열: + +`doctl databases db list {{데이터베이스_아이디}}` + +- 주어진 데이터베이스 클러스터에 주어진 이름을 가진 데이터베이스를 생성: + +`doctl databases db create {{데이터베이스_아이디}} {{데이터베이스_이름}}` + +- 주어진 데이터베이스 클러스터에 주어진 이름을 가진 데이터베이스를 삭제: + +`doctl databases db delete {{데이터베이스_아이디}} {{데이터베이스_이름}}` diff --git a/pages.ko/common/doctl-databases-firewalls.md b/pages.ko/common/doctl-databases-firewalls.md new file mode 100644 index 00000000000000..82bef5f1819a53 --- /dev/null +++ b/pages.ko/common/doctl-databases-firewalls.md @@ -0,0 +1,20 @@ +# doctl databases firewalls + +> 데이터베이스 클러스터의 방화벽을 관리. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases firewalls` 명령을 실행: + +`doctl databases firewalls {{명령어}} --access-token {{액세스_토큰}}` + +- 특정 데이터베이스에 대한 방화벽 규칙 목록을 검색: + +`doctl databases firewalls list` + +- 특정 데이터베이스에 데이터베이스 방화벽 규칙을 추가: + +`doctl databases firewalls append {{데이터베이스_아이디}} --rule {{droplet|k8s|ip_addr|tag|app}}:{{value}}` + +- 특정 데이터베이스에 대한 방화벽 규칙을 추가: + +`doctl databases firewalls remove {{데이터베이스_아이디}} {{룰_uuid}}` diff --git a/pages.ko/common/doctl-databases-maintenance-window.md b/pages.ko/common/doctl-databases-maintenance-window.md new file mode 100644 index 00000000000000..9e98c12158d0ea --- /dev/null +++ b/pages.ko/common/doctl-databases-maintenance-window.md @@ -0,0 +1,16 @@ +# doctl databases maintenance-window + +> 데이터베이스의 유지 관리 기간을 예약하고 일정을 확인. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases maintenance-window` 명령을 실행: + +`doctl databases maintenance-window {{command}} --access-token {{액세스_토큰}}` + +- 데이터베이스 클러스터의 유지 관리 기간에 대한 세부 정보를 검색: + +`doctl databases maintenance-window get {{데이터베이스_아이디}}` + +- 데이터베이스 클러스터의 유지 관리 기간을 업데이트: + +`doctl databases maintenance-window update {{데이터베이스_아이디}} --day {{요일}} --hour {{24시간_형식의_시간}}` diff --git a/pages.ko/common/doctl-databases-options.md b/pages.ko/common/doctl-databases-options.md new file mode 100644 index 00000000000000..0b00775c001322 --- /dev/null +++ b/pages.ko/common/doctl-databases-options.md @@ -0,0 +1,24 @@ +# doctl databases options + +> 각 데이터베이스 엔진에서 사용 가능한 옵션 탐색을 활성화. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases options` 명령을 실행: + +`doctl databases options {{명령어}} --access-token {{액세스_토큰}}` + +- 사용 가능한 데이터베이스 엔진 목록을 검색: + +`doctl databases options engines` + +- 특정 데이터베이스 엔진에 사용 가능한 지역 목록을 검색: + +`doctl databases options regions --engine {{pg|mysql|redis|mongodb}}` + +- 특정 데이터베이스 엔진에 사용 가능한 슬러그 목록을 검색: + +`doctl databases options slugs --engine {{pg|mysql|redis|mongodb}}` + +- 특정 데이터베이스 엔진에 사용 가능한 버전 목록을 검색: + +`doctl databases options versions --engine {{pg|mysql|redis|mongodb}}` diff --git a/pages.ko/common/doctl-databases-pool.md b/pages.ko/common/doctl-databases-pool.md new file mode 100644 index 00000000000000..ba8c0d899e4dbf --- /dev/null +++ b/pages.ko/common/doctl-databases-pool.md @@ -0,0 +1,24 @@ +# doctl databases pool + +> 데이터베이스 클러스터의 연결 풀을 관리. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases pool` 명령을 실행: + +`doctl databases pool {{명령어}} --access-token {{액세스_토큰}}` + +- 데이터베이스 연결 풀에 대한 정보 검색: + +`doctl databases pool get {{데이터베이스_아이디}} {{풀_이름}}` + +- 데이터베이스 클러스터에 대한 연결 풀을 나열: + +`doctl databases pool list {{데이터베이스_아이디}}` + +- 데이터베이스에 대한 연결 풀을 생성: + +`doctl databases pool create {{데이터베이스_아이디}} {{풀_이름}} --db {{새로운_풀_이름}} --size {{풀_크기}}` + +- 데이터베이스에 대한 연결 풀을 삭제: + +`doctl databases pool create {{데이터베이스_아이디}} {{풀_이름}}` diff --git a/pages.ko/common/doctl-databases-replica.md b/pages.ko/common/doctl-databases-replica.md new file mode 100644 index 00000000000000..236602ab11eb89 --- /dev/null +++ b/pages.ko/common/doctl-databases-replica.md @@ -0,0 +1,24 @@ +# doctl databases replica + +> 데이터베이스 클러스터와 연결된 읽기 전용 복제본을 관리. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases replica` 명령을 실행: + +`doctl databases pool {{명령어}} --access-token {{액세스_토큰}}` + +- 읽기 전용 데이터베이스 복제본에 대한 정보를 검색: + +`doctl databases replica get {{데이터베이스_아이디}} {{복제본_이름}}` + +- 읽기 전용 데이터베이스 복제본 목록 검색: + +`doctl databases replica list {{데이터베이스_아이디}}` + +- 읽기 전용 데이터베이스 복제본 생성: + +`doctl databases replica create {{데이터베이스_아이디}} {{복제본_이름}}` + +- 읽기 전용 데이터베이스 복제본 삭제: + +`doctl databases replica delete {{데이터베이스_아이디}} {{복제본_이름}}` diff --git a/pages.ko/common/doctl-databases-sql-mode.md b/pages.ko/common/doctl-databases-sql-mode.md new file mode 100644 index 00000000000000..594b409c3c01c0 --- /dev/null +++ b/pages.ko/common/doctl-databases-sql-mode.md @@ -0,0 +1,16 @@ +# doctl databases sql-mode + +> MySQL 데이터베이스 클러스터의 전역 SQL 모드를 보고 구성. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases sql-mode` 명령을 실행: + +`doctl databases sql-mode {{명령어}} --access-token {{액세스_토큰}}` + +- MySQL 데이터베이스 클러스터의 SQL 모드를 가져옴: + +`doctl databases sql-mode get {{데이터베이스_아이디}}` + +- MySQL 데이터베이스 클러스터의 SQL 모드를 지정된 모드로 덮어씀: + +`doctl databases sql-mode set {{데이터베이스_아이디}} {{sql_모드_1 sql_모드_2 ...}}` diff --git a/pages.ko/common/doctl-databases-user.md b/pages.ko/common/doctl-databases-user.md new file mode 100644 index 00000000000000..bb85781df5e929 --- /dev/null +++ b/pages.ko/common/doctl-databases-user.md @@ -0,0 +1,32 @@ +# doctl databases user + +> 데이터베이스 사용자에 대한 세부 정보를 보고 생성. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases user` 명령을 실행: + +`doctl databases user {{명령어}} --access-token {{access_token}}` + +- 데이터베이스 사용자에 대한 세부 정보를 검색: + +`doctl databases user get {{데이터베이스_아이디}} {{사용자_이름}}` + +- 특정 데이터베이스에 대한 데이터베이스 사용자 목록을 검색: + +`doctl databases user list {{데이터베이스_아이디}}` + +- 특정 사용자의 인증 비밀번호를 재설정: + +`doctl databases user reset {{데이터베이스_아이디}} {{사용자_이름}}` + +- 특정 사용자에 대한 MySQL 인증 플러그인 재설정: + +`doctl databases user reset {{데이터베이스_아이디}} {{사용자_이름}} {{caching_sha2_password|mysql_native_password}}` + +- 주어진 사용자 이름으로 주어진 데이터베이스에 사용자를 생성: + +`doctl databases user create {{데이터베이스_아이디}} {{사용자_이름}}` + +- 주어진 사용자 이름을 가진 주어진 데이터베이스에서 사용자를 삭제: + +`doctl databases user delete {{데이터베이스_아이디}} {{사용자_이름}}` diff --git a/pages.ko/common/doctl-databases.md b/pages.ko/common/doctl-databases.md new file mode 100644 index 00000000000000..63a7536cd5fd4b --- /dev/null +++ b/pages.ko/common/doctl-databases.md @@ -0,0 +1,24 @@ +# doctl databases + +> MySQL, Redis, PostgreSQL 및 MongoDB 데이터베이스 서비스를 관리. +> 더 많은 정보: . + +- 액세스 토큰을 사용하여 `doctl databases` 명령을 실행: + +`doctl databases {{명령어}} --access-token {{액세스_토큰}}` + +- 데이터베이스 클러스터에 대한 세부 정보를 가져옴: + +`doctl databases get` + +- 데이터베이스 클러스터를 나열: + +`doctl databases list` + +- 데이터베이스 클러스터 생성: + +`doctl databases create {{데이터베이스_이름}}` + +- 클러스터 삭제: + +`doctl databases delete {{데이터베이스_아이디}}` diff --git a/pages.ko/common/doctl-kubernetes-cluster.md b/pages.ko/common/doctl-kubernetes-cluster.md new file mode 100644 index 00000000000000..287d694e84a118 --- /dev/null +++ b/pages.ko/common/doctl-kubernetes-cluster.md @@ -0,0 +1,28 @@ +# doctl kubernetes cluster + +> Kubernetes 클러스터를 관리하고 클러스터와 관련된 구성 옵션을 봄. +> 더 많은 정보: . + +- Kubernetes 클러스터 생성: + +`doctl kubernetes cluster create --count {{3}} --region {{nyc1}} --size {{s-1vcpu-2gb}} --version {{latest}} {{클러스터_이름}}` + +- 모든 Kubernetes 클러스터 나열: + +`doctl kubernetes cluster list` + +- kubeconfig를 가져와 저장: + +`doctl kubernetes cluster kubeconfig save {{클러스터_이름}}` + +- 사용 가능한 업그레이드 확인: + +`doctl kubernetes cluster get-upgrades {{클러스터_이름}}` + +- 클러스터를 새로운 Kubernetes 버전으로 업그레이드: + +`doctl kubernetes cluster upgrade {{클러스터_이름}}` + +- 클러스터 삭제: + +`doctl kubernetes cluster delete {{클러스터_이름}}` diff --git a/pages.ko/common/doctl-kubernetes-options.md b/pages.ko/common/doctl-kubernetes-options.md new file mode 100644 index 00000000000000..2ce9afc334b1f5 --- /dev/null +++ b/pages.ko/common/doctl-kubernetes-options.md @@ -0,0 +1,16 @@ +# doctl kubernetes options + +> `doctl`의 Kubernetes 명령에 사용할 수 있는 값을 가져옴. +> 더 많은 정보: . + +- Kubernetes 클러스터를 지원하는 지역 목록 나열: + +`doctl kubernetes options regions` + +- Kubernetes 클러스터에서 사용할 수 있는 머신 크기를 나열: + +`doctl kubernetes options sizes` + +- DigitalOcean 클러스터와 함께 사용할 수 있는 Kubernetes 버전을 나열: + +`doctl kubernetes options versions` diff --git a/pages.ko/common/doctl-serverless.md b/pages.ko/common/doctl-serverless.md new file mode 100644 index 00000000000000..4d5f0306851bf9 --- /dev/null +++ b/pages.ko/common/doctl-serverless.md @@ -0,0 +1,20 @@ +# doctl serverless + +> 서버리스 함수 관리. +> 더 많은 정보: . + +- 로컬 서버리스 지원을 함수 네임스페이스에 연결: + +`doctl serverless connect` + +- 함수 네임스페이스에 함수 프로젝트를 배포: + +`doctl serverless deploy` + +- 함수 프로젝트의 메타데이터 얻기: + +`doctl serverless get-metadata` + +- 서버리스 지원에 대한 정보를 제공: + +`doctl serverless status` diff --git a/pages.ko/common/doctum.md b/pages.ko/common/doctum.md new file mode 100644 index 00000000000000..68ac0e2d7b5127 --- /dev/null +++ b/pages.ko/common/doctum.md @@ -0,0 +1,24 @@ +# doctum + +> PHP API에 대한 문서를 생성. +> 더 많은 정보: . + +- 프로젝트 구문 분석: + +`doctum parse` + +- 프로젝트 렌더링: + +`doctum render` + +- 프로젝트를 구문 분석한 후 렌더링: + +`doctum update` + +- 프로젝트의 특정 버전만 구문 분석하고 렌더링: + +`doctum update --only-version={{버전}}` + +- 특정 구성을 사용하여 프로젝트를 구문 분석하고 렌더링: + +`doctum update {{경로/대상/구성파일.php}}` diff --git a/pages.ko/common/dog.md b/pages.ko/common/dog.md new file mode 100644 index 00000000000000..3b2cb1db30121b --- /dev/null +++ b/pages.ko/common/dog.md @@ -0,0 +1,29 @@ +# dog + +> DNS 조회 유틸리티. +> 다채로운 출력을 제공하고, DNS-over-TLS 및 DNS-over-HTTPS 프로토콜을 지원하며, JSON을 내보낼 수 있음. +> 더 많은 정보: . + +- 호스트 이름과 연결된 IP를 조회 (A 레코드): + +`dog {{example.com}}` + +- 특정 도메인 이름과 관련된 MX 레코드 유형을 쿼리: + +`dog {{example.com}} MX` + +- 쿼리할 특정 DNS 서버를 지정 (예. Cloudflare): + +`dog {{example.com}} MX @{{1.1.1.1}}` + +- UDP가 아닌 TCP를 통한 쿼리: + +`dog {{example.com}} MX @{{1.1.1.1}} {{[-T|--tcp]}}` + +- 명시적 인수를 사용하여 TCP를 통해 특정 도메인 이름과 연결된 MX 레코드 유형을 쿼리: + +`dog {{[-q|--query]}} {{example.com}} {{[-t|--type]}} MX {{[-n|--nameserver]}} {{1.1.1.1}} {{[-T|--tcp]}}` + +- DoH(DNS over HTTPS)를 사용하여 호스트 이름(A 레코드)과 연결된 IP를 조회: + +`dog {{example.com}} {{[-H|--https]}} @{{https://cloudflare-dns.com/dns-query}}` diff --git a/pages.ko/common/doggo.md b/pages.ko/common/doggo.md new file mode 100644 index 00000000000000..6884203548e217 --- /dev/null +++ b/pages.ko/common/doggo.md @@ -0,0 +1,25 @@ +# doggo + +> 사람을 위한 DNS 클라이언트. +> Golang으로 작성됨. +> 더 많은 정보: . + +- 간단한 DNS 조회를 수행: + +`doggo {{example.com}}` + +- 특정 네임서버를 사용하여 MX 레코드를 쿼리: + +`doggo MX {{codeberg.org}} @{{1.1.1.2}}` + +- HTTPS를 통해 DNS 사용: + +`doggo {{example.com}} @{{https://dns.quad9.net/dns-query}}` + +- JSON 형식으로 출력: + +`doggo {{example.com}} {{[-J|--json]}} | jq '{{.responses[0].answers[].address}}'` + +- 역방향 DNS 조회를 수행: + +`doggo {{[-x|--reverse]}} {{8.8.4.4}} --short` diff --git a/pages.ko/common/dokku.md b/pages.ko/common/dokku.md index 8cb190b1bbaeef..66c639a57af5e6 100644 --- a/pages.ko/common/dokku.md +++ b/pages.ko/common/dokku.md @@ -2,7 +2,7 @@ > 도커로 구동되는 미니-Heroku (PaaS). > 하나의 `git-push` 명령을 사용하여 여러 언어로 다른 앱을 쉽게 배포 할수 있습니다. -> 더 많은 정보: . +> 더 많은 정보: . - 실행중인 앱들 목록보기: diff --git a/pages.ko/common/dolt-add.md b/pages.ko/common/dolt-add.md new file mode 100644 index 00000000000000..965a02c29af538 --- /dev/null +++ b/pages.ko/common/dolt-add.md @@ -0,0 +1,12 @@ +# dolt add + +> Dolt 스테이지 테이블 목록에 테이블의 내용을 추가. +> 더 많은 정보: . + +- 준비된 테이블 목록에 테이블 추가 (테이블 준비): + +`dolt add {{테이블}}` + +- 모든 테이블 준비: + +`dolt add --all` diff --git a/pages.ko/common/dolt-blame.md b/pages.ko/common/dolt-blame.md new file mode 100644 index 00000000000000..ad00d33ad9d362 --- /dev/null +++ b/pages.ko/common/dolt-blame.md @@ -0,0 +1,16 @@ +# dolt blame + +> Dolt 테이블의 각 행에 대한 커밋 정보를 표시. +> 더 많은 정보: . + +- 테이블의 각 행에 대한 최신 커밋을 표시: + +`dolt blame {{테이블}}` + +- 지정된 커밋이 수행되었을 때, 테이블의 각 행에 대한 최신 커밋을 표시: + +`dolt blame {{커밋}} {{테이블}}` + +- 도움말 표시: + +`dolt blame --help` diff --git a/pages.ko/common/dolt-branch.md b/pages.ko/common/dolt-branch.md new file mode 100644 index 00000000000000..3eb455a9167147 --- /dev/null +++ b/pages.ko/common/dolt-branch.md @@ -0,0 +1,36 @@ +# dolt branch + +> Dolt 브랜치 관리. +> 더 많은 정보: . + +- 로컬 분기 나열 (현재 분기는 `*`로 강조 표시됨): + +`dolt branch` + +- 모든 로컬 및 원격 브랜치를 나열: + +`dolt branch --all` + +- 현재 브랜치를 기반으로 새로운 브랜치를 생성: + +`dolt branch {{브랜치_이름}}` + +- 지정된 커밋을 최신으로 사용하여 새로운 브랜치를 생성: + +`dolt branch {{브랜치_이름}} {{커밋}}` + +- 브랜치 이름 변경: + +`dolt branch --move {{브랜치_이름1}} {{브랜치_이름2}}` + +- 브랜치 복제: + +`dolt branch --copy {{브랜치_이름1}} {{브랜치_이름2}}` + +- 브랜치 삭제: + +`dolt branch --delete {{브랜치_이름}}` + +- 현재 브랜치의 이름을 표시: + +`dolt branch --show-current` diff --git a/pages.ko/common/dolt-checkout.md b/pages.ko/common/dolt-checkout.md new file mode 100644 index 00000000000000..90aa710a125abe --- /dev/null +++ b/pages.ko/common/dolt-checkout.md @@ -0,0 +1,20 @@ +# dolt checkout + +> 작업 트리나 테이블을 브랜치나 커밋으로 체크아웃. +> 더 많은 정보: . + +- 브랜치 교체: + +`dolt checkout {{브랜치_이름}}` + +- 스테이지되지 않은 변경 사항을 테이블로 되돌림: + +`dolt checkout {{테이블}}` + +- 새로운 브랜치를 생성하고, 그 브랜치로 체크아웃: + +`dolt checkout -b {{브랜치_이름}}` + +- 지정된 커밋을 기반으로 새로운 브랜치를 생성하고 해당 커밋으로 전환: + +`dolt checkout -b {{브랜치_이름}} {{커밋}}` diff --git a/pages.ko/common/dolt-clone.md b/pages.ko/common/dolt-clone.md new file mode 100644 index 00000000000000..49268b66233e58 --- /dev/null +++ b/pages.ko/common/dolt-clone.md @@ -0,0 +1,32 @@ +# dolt clone + +> 저장소를 새로운 디렉터리에 복제. +> 더 많은 정보: . + +- 기존 저장소를 특정 디렉터리에 복제 (기본값은 저장소 이름): + +`dolt clone {{레포지토리_주소}} {{경로/대상/디렉터리}}` + +- 기존 저장소를 복제하고 특정 원격값을 추가 (기본값은 origin): + +`dolt clone --remote {{원격_이름}} {{레포지토리_주소}}` + +- 특정 브랜치만 가져오는 기존 저장소를 복제 (기본값은 모든 브랜치): + +`dolt clone --branch {{브랜치_이름}} {{레포지토리_주소}}` + +- AWS 리전을 사용하여, 리포지토리를 복제 (uses the profile's default region if none is provided): + +`dolt clone --aws-region {{리전_이름}} {{레포지토리_주소}}` + +- AWS 자격 증명 파일을 사용하여 리포지토리를 복제: + +`dolt clone --aws-creds-file {{인증_파일}} {{레포지토리_주소}}` + +- AWS 자격 증명 프로필을 사용하여 리포지토리를 복제 (아무것도 제공되지 않은 경우, 기본 프로필을 사용): + +`dolt clone --aws-creds-profile {{프로필_이름}} {{레포지토리_주소}}` + +- AWS 자격 증명 유형을 사용하여 리포지토리를 복젴: + +`dolt clone --aws-creds-type {{인증_타입}} {{레포지토리_주소}}` diff --git a/pages.ko/common/dolt-commit.md b/pages.ko/common/dolt-commit.md new file mode 100644 index 00000000000000..64fae1813423d9 --- /dev/null +++ b/pages.ko/common/dolt-commit.md @@ -0,0 +1,32 @@ +# dolt commit + +> 테이블에 대한 단계적인 변경 사항을 커밋. +> 더 많은 정보: . + +- 커밋 메시지를 입력하려면 `$EDITOR`로 지정된 편집기를 열어 모든 단계적 변경 사항을 커밋: + +`dolt commit` + +- 지정된 메시지로 모든 단계적 변경 사항을 커밋: + +`dolt commit --message "{{커밋_메시지}}"` + +- 커밋하기 전에, 테이블에 대한 모든 스테이지되지 않은 변경 사항을 스테이징함: + +`dolt commit --all` + +- 지정된 ISO 8601 커밋 날짜를 사용 (기본값은 현재 날짜 및 시간): + +`dolt commit --date "{{2021-12-31T00:00:00}}"` + +- 커밋에 지정된 작성자를 사용: + +`dolt commit --author "{{작성자_이름}} <{{작성자_이메일}}>"` + +- 변경 사항 없이, 빈 커밋 생성을 허용: + +`dolt commit --allow-empty` + +- 외래 키 경고를 무시: + +`dolt commit --force` diff --git a/pages.ko/common/dolt-config.md b/pages.ko/common/dolt-config.md new file mode 100644 index 00000000000000..1d3bcd97d7b459 --- /dev/null +++ b/pages.ko/common/dolt-config.md @@ -0,0 +1,28 @@ +# dolt config + +> 로컬 (저장소별) 및 전역 (사용자별) Dolt 구성 변수 읽기 및 쓰기. +> 더 많은 정보: . + +- 모든 로컬 및 글로벌 구성 옵션과 해당 값을 나열: + +`dolt config --list` + +- 로컬 또는 전역 구성 변수의 값을 표시: + +`dolt config --get {{이름}}` + +- 로컬 구성 변수의 값을 수정하여, 존재하지 않는 경우 생성: + +`dolt config --add {{이름}} {{값}}` + +- 전역 구성 변수의 값을 수정하여, 존재하지 않는 경우 생성: + +`dolt config --global --add {{이름}} {{값}}` + +- 로컬 구성 변수를 삭제: + +`dolt config --unset {{이름}}` + +- 전역 구성 변수를 삭제: + +`dolt config --global --unset {{이름}}` diff --git a/pages.ko/common/dolt-fetch.md b/pages.ko/common/dolt-fetch.md new file mode 100644 index 00000000000000..6624bf0368df43 --- /dev/null +++ b/pages.ko/common/dolt-fetch.md @@ -0,0 +1,16 @@ +# dolt fetch + +> 다른 저장소에서 객체와 참조를 다운로드. +> 더 많은 정보: . + +- 기본 원격 업스트림 저장소(origin)에서 최신 변경 사항을 가져옴: + +`dolt fetch` + +- 특정 원격 업스트림 저장소에서 최신 변경 사항을 가져옴: + +`dolt fetch {{원격_이름}}` + +- 원격의 현재 상태로 브랜치를 업데이트하고, 충돌하는 기록을 덮어씀: + +`dolt fetch -f` diff --git a/pages.ko/common/dolt-gc.md b/pages.ko/common/dolt-gc.md new file mode 100644 index 00000000000000..cb8e77545604dd --- /dev/null +++ b/pages.ko/common/dolt-gc.md @@ -0,0 +1,12 @@ +# dolt gc + +> 더 이상 참조되지 않거나, 더 이상 필요하지 않은 데이터를 저장소에서 검색. +> 더 많은 정보: . + +- 저장소에서 참조되지 않은 데이터를 정리: + +`dolt gc` + +- 더 빠르지만 덜 철저한 가비지 수집 프로세스를 시작: + +`dolt gc --shallow` diff --git a/pages.ko/common/dolt-init.md b/pages.ko/common/dolt-init.md new file mode 100644 index 00000000000000..909485c9a4f10c --- /dev/null +++ b/pages.ko/common/dolt-init.md @@ -0,0 +1,12 @@ +# dolt init + +> 비어있는 Dolt 데이터 저장소를 생성. +> 더 많은 정보: . + +- 현재 디렉토리에서 새로운 Dolt 데이터 저장소를 초기화: + +`dolt init` + +- 지정된 메타데이터로 커밋을 생성하는 새로운 Dolt 데이터 저장소를 초기화: + +`dolt init --name "{{이름}}" --email "{{이메일}}" --date "{{2021-12-31T00:00:00}}" -b "{{브랜치_이름}}"` diff --git a/pages.ko/common/dolt-merge.md b/pages.ko/common/dolt-merge.md new file mode 100644 index 00000000000000..988bf67107bc61 --- /dev/null +++ b/pages.ko/common/dolt-merge.md @@ -0,0 +1,24 @@ +# dolt merge + +> 두 개 이상의 개발 이력을 함께 결합. +> 더 많은 정보: . + +- 이름이 있는 커밋의 변경 사항을 현재 브랜치에 통합: + +`dolt merge {{브랜치_이름}}` + +- 커밋 기록을 업데이트하지 않고, 명명된 커밋의 변경 사항을 현재 브랜치에 통합: + +`dolt merge --squash {{브랜치_이름}}` + +- 병합이 빨리-감기로 해결되는 경우에도, 브랜치를 병합하고 병합 커밋을 생성: + +`dolt merge --no-ff {{브랜치_이름}}` + +- 브랜치를 병합하고 특정 커밋 메시지가 포함된 병합 커밋을 생성: + +`dolt merge --no-ff -m "{{메시지}}" {{브랜치_이름}}` + +- 현재 충돌 해결 프로세스를 중단: + +`dolt merge --abort` diff --git a/pages.ko/common/dolt-sql.md b/pages.ko/common/dolt-sql.md new file mode 100644 index 00000000000000..019535c990f2b9 --- /dev/null +++ b/pages.ko/common/dolt-sql.md @@ -0,0 +1,12 @@ +# dolt sql + +> SQL 쿼리를 실행. 여러 SQL 문은 세미콜론으로 구분해야 함. +> 더 많은 정보: . + +- 단일 쿼리 실행: + +`dolt sql --query "{{INSERT INTO t values (1, 3);}}"` + +- 저장된 모든 쿼리를 나열: + +`dolt sql --list-saved` diff --git a/pages.ko/common/dolt-status.md b/pages.ko/common/dolt-status.md new file mode 100644 index 00000000000000..bd26284b8e7d98 --- /dev/null +++ b/pages.ko/common/dolt-status.md @@ -0,0 +1,8 @@ +# dolt status + +> 데이터베이스 세션의 상태를 표시. +> 더 많은 정보: . + +- 상태 정보 표시: + +`dolt status` diff --git a/pages.ko/common/dolt-version.md b/pages.ko/common/dolt-version.md new file mode 100644 index 00000000000000..1c4d5644b75b2b --- /dev/null +++ b/pages.ko/common/dolt-version.md @@ -0,0 +1,8 @@ +# dolt version + +> 현재 dolt CLI 버전을 표시. +> 더 많은 정보: . + +- 버전 정보 표시: + +`dolt version` diff --git a/pages.ko/common/dolt.md b/pages.ko/common/dolt.md new file mode 100644 index 00000000000000..8adcec08114958 --- /dev/null +++ b/pages.ko/common/dolt.md @@ -0,0 +1,13 @@ +# dolt + +> Git 레포지토리처럼 분기, 복제, 브랜치, 병합, 푸시 및 풀을 수행할 수 있는 SQL 데이터베이스. +> `commit`과 같은 일부 하위 명령에는 자체 사용법 문서가 있음. +> 더 많은 정보: . + +- `dolt` 하위 명령을 실행: + +`dolt {{하위명령어}}` + +- 사용 가능한 하위 명령어 나열: + +`dolt help` diff --git a/pages.ko/common/doppler-projects.md b/pages.ko/common/doppler-projects.md new file mode 100644 index 00000000000000..10c86daffcf013 --- /dev/null +++ b/pages.ko/common/doppler-projects.md @@ -0,0 +1,24 @@ +# doppler projects + +> Doppler 프로젝트 관리. +> 더 많은 정보: . + +- 모든 프로젝트 가져오기: + +`doppler projects` + +- 프로젝트에 대한 정보 얻기: + +`doppler projects get {{이름|프로젝트_아이디}}` + +- 프로젝트 생성: + +`doppler projects create {{이름}}` + +- 프로젝트 이름과 설명 업데이트: + +`doppler projects update {{이름|프로젝트_아이디}} --name "{{새로운_이름}}" --description "{{새로운_설명}}"` + +- 프로젝트 삭제: + +`doppler projects delete {{이름|프로젝트_아이디}}` diff --git a/pages.ko/common/doppler-run.md b/pages.ko/common/doppler-run.md new file mode 100644 index 00000000000000..9aca0007751f4d --- /dev/null +++ b/pages.ko/common/doppler-run.md @@ -0,0 +1,24 @@ +# doppler run + +> 환경에 주입된 Doppler 비밀 정보를 사용하여 명령을 실행. +> 더 많은 정보: . + +- 명령어 실행: + +`doppler run --command {{명령어}}` + +- 다중 명령어 실행: + +`doppler run --command {{명령어1 && 명령어2}}` + +- 스크립트 실행: + +`doppler run {{경로/대상/명령어.sh}}` + +- 지정된 프로젝트 및 구성으로 명령을 실행: + +`doppler run -p {{프로젝트_이름}} -c {{구성_이름}} -- {{명령어}}` + +- 비밀이 변경되면 자동으로 프로세스를 다시 시작: + +`doppler run --watch {{명령어}}` diff --git a/pages.ko/common/doppler-secrets.md b/pages.ko/common/doppler-secrets.md new file mode 100644 index 00000000000000..3a82c764077643 --- /dev/null +++ b/pages.ko/common/doppler-secrets.md @@ -0,0 +1,24 @@ +# doppler secrets + +> Doppler 프로젝트의 비밀을 관리. +> 더 많은 정보: . + +- 모든 비밀을 얻기: + +`doppler secrets` + +- 하나 이상의 비밀 값을 가져오기: + +`doppler secrets get {{비밀}}` + +- 비밀 파일 업로드: + +`doppler secrets upload {{경로/대상/파일.env}}` + +- 하나 이상의 비밀 값을 삭제: + +`doppler secrets delete {{비밀}}` + +- 비밀을 `.env`로 다운로드: + +`doppler secrets download --format=env --no-file > {{경로/대상/.env}}` diff --git a/pages.ko/common/doppler.md b/pages.ko/common/doppler.md new file mode 100644 index 00000000000000..0ce2f89a4397b6 --- /dev/null +++ b/pages.ko/common/doppler.md @@ -0,0 +1,29 @@ +# doppler + +> Doppler를 사용하여 다양한 환경의 환경 변수를 관리. +> `run` 및 `secrets`와 같은 일부 하위 명령에는 자체 사용법 문서가 존재. +> 더 많은 정보: . + +- 현재 디렉터리에 Doppler CLI를 설정: + +`doppler setup` + +- 현재 디렉터리에 Doppler 프로젝트 및 구성을 설정: + +`doppler setup` + +- 환경에 비밀을 삽입하여 명령을 실행: + +`doppler run --command {{명령어}}` + +- 프로젝트 목록 보기: + +`doppler projects` + +- 현재 프로젝트에 대한 비밀 보기: + +`doppler secrets` + +- 브라우저에서 Doppler 대시보기를 열기: + +`doppler open` diff --git a/pages.ko/common/dot.md b/pages.ko/common/dot.md index b9ae6c88edcd8f..a43ce450d5bdc9 100644 --- a/pages.ko/common/dot.md +++ b/pages.ko/common/dot.md @@ -1,11 +1,25 @@ # dot -> 방향 그래프의 레이어 도면을 생성하는 명령 도구입니다. +> `graphviz` 파일로부터 `선형 방향` 네트워크 그래프를 렌더링. +> 레이아웃: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage`, `patchwork`. +> 더 많은 정보: . -- 입력 파일 이름과 선택한 포맷을 기반으로 이미지 파일을 랜더링하고 출력파일 이름 결정하기: +- 입력 파일명과 출력 포맷에 기반한 파일명으로 PNG 이미지 렌더링(대문자 -O 사용): -`dot -Tpng -O {{경로/파일명.dot}}` +`dot -T {{png}} -O {{경로/대상/입력_파일명.gv}}` -- DOT 파일로부터 SVG 생성하기: +- 지정된 출력 파일명으로 SVG 이미지 렌더링(소문자 -o 사용): -`dot -Tsvg -o {{경로/출력_파일명.svg}} {{경로/파일명.dot}}` +`dot -T {{svg}} -o {{경로/대상/이미지.svg}} {{경로/대상/입력_파일명.gv}}` + +- PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, DOT 포맷으로 출력물을 렌더링: + +`dot -T {{format}} -O {{경로/대상/입력_파일명.gv}}` + +- `stdin`과 `stdout`을 사용해 GIF 이미지를 렌더링: + +`echo "{{digraph {this -> that} }}" | dot -T {{gif}} > {{경로/대상/이미지.gif}}` + +- 도움말을 표시: + +`dot -?` diff --git a/pages.ko/common/dotnet-add-package.md b/pages.ko/common/dotnet-add-package.md new file mode 100644 index 00000000000000..e9283b1b813366 --- /dev/null +++ b/pages.ko/common/dotnet-add-package.md @@ -0,0 +1,28 @@ +# dotnet add package + +> 프로젝트 파일에 .NET 패키지 참조 추가 또는 업데이트. +> 더 많은 정보: . + +- 현재 디렉토리의 프로젝트에 패키지 추가: + +`dotnet add package {{패키지}}` + +- 특정 프로젝트에 패키지 추가: + +`dotnet add {{경로/대상/파일.csproj}} package {{패키지}}` + +- 특정 버전의 패키지를 프로젝트에 추가: + +`dotnet add package {{패키지}} --version {{1.0.0}}` + +- 특정 NuGet 소스를 사용하여 패키지 추가: + +`dotnet add package {{패키지}} --source {{https://api.nuget.org/v3/index.json}}` + +- 특정 프레임워크를 대상으로 할 때만 패키지 추가: + +`dotnet add package {{패키지}} --framework {{net7.0}}` + +- 패키지를 복원할 디렉토리 지정 후 추가 (`~/.nuget/packages` 기본값): + +`dotnet add package {{패키지}} --package-directory {{경로/대상/폴더}}` diff --git a/pages.ko/common/dotnet-add-reference.md b/pages.ko/common/dotnet-add-reference.md new file mode 100644 index 00000000000000..f281c179cc45b1 --- /dev/null +++ b/pages.ko/common/dotnet-add-reference.md @@ -0,0 +1,20 @@ +# dotnet add reference + +> .NET 프로젝트 간 참조 추가. +> 더 많은 정보: . + +- 현재 디렉터리에 있는 프로젝트에 참조 추가: + +`dotnet add reference {{경로/대상/참조.csproj}}` + +- 현재 디렉터리에 있는 프로젝트에 여러 참조 추가: + +`dotnet add reference {{경로/대상/참조1.csproj 경로/대상/참조2.csproj ...}}` + +- 특정 프로젝트에 참조 추가: + +`dotnet add {{경로/대상/프로젝트.csproj}} reference {{경로/대상/참조.csproj}}` + +- 특정 프로젝트에 여러 참조 추가: + +`dotnet add {{경로/대상/프로젝트.csproj}} reference {{경로/대상/참조1.csproj 경로/대상/참조2.csproj ...}}` diff --git a/pages.ko/common/dotnet-build.md b/pages.ko/common/dotnet-build.md new file mode 100644 index 00000000000000..7d3096b5350254 --- /dev/null +++ b/pages.ko/common/dotnet-build.md @@ -0,0 +1,32 @@ +# dotnet build + +> .NET 애플리케이션과 그 의존성을 빌드. +> 더 많은 정보: . + +- 현재 디렉토리의 프로젝트나 솔루션 컴파일: + +`dotnet build` + +- 디버그 모드에서 .NET 프로젝트나 솔루션 컴파일: + +`dotnet build {{경로/대상/프로젝트_또는_솔루션}}` + +- 릴리즈 모드에서 컴파일: + +`dotnet build --configuration {{Release}}` + +- 의존성을 복원하지 않고 컴파일: + +`dotnet build --no-restore` + +- 특정 상세 수준으로 컴파일: + +`dotnet build --verbosity {{quiet|minimal|normal|detailed|diagnostic}}` + +- 특정 런타임을 위해 컴파일: + +`dotnet build --runtime {{런타임_식별자}}` + +- 출력 디렉토리 지정: + +`dotnet build --output {{경로/대상/폴더}}` diff --git a/pages.ko/common/dotnet-ef.md b/pages.ko/common/dotnet-ef.md new file mode 100644 index 00000000000000..55bceeec000c68 --- /dev/null +++ b/pages.ko/common/dotnet-ef.md @@ -0,0 +1,36 @@ +# dotnet ef + +> Entity Framework Core용 디자인 타임 개발 작업 수행. +> 더 많은 정보: . + +- 지정된 마이그레이션으로 데이터베이스 업데이트: + +`dotnet ef database update {{마이그레이션}}` + +- 데이터베이스 삭제: + +`dotnet ef database drop` + +- 사용 가능한 `DbContext` 유형 나열: + +`dotnet ef dbcontext list` + +- 데이터베이스에 대한 `DbContext` 및 엔티티 유형의 코드 생성: + +`dotnet ef dbcontext scaffold {{연결_문자열}} {{프로바이더}}` + +- 새 마이그레이션 추가: + +`dotnet ef migrations add {{이름}}` + +- 마지막 마이그레이션 제거 및 최신 마이그레이션에 대한 코드 변경 사항 롤백: + +`dotnet ef migrations remove` + +- 사용 가능한 마이그레이션 나열: + +`dotnet ef migrations list` + +- 마이그레이션 범위에서 SQL 스크립트 생성: + +`dotnet ef migrations script {{시작_마이그레이션}} {{종료_마이그레이션}}` diff --git a/pages.ko/common/dotnet-publish.md b/pages.ko/common/dotnet-publish.md new file mode 100644 index 00000000000000..aeb23543fd07f9 --- /dev/null +++ b/pages.ko/common/dotnet-publish.md @@ -0,0 +1,28 @@ +# dotnet publish + +> .NET 애플리케이션과 그 의존성을 호스팅 시스템에 배포하기 위해 디렉터리에 게시. +> 더 많은 정보: . + +- .NET 프로젝트를 릴리스 모드로 컴파일: + +`dotnet publish --configuration Release {{경로/대상/프로젝트_파일}}` + +- 지정된 런타임에 대해 .NET Core 런타임을 애플리케이션과 함께 게시: + +`dotnet publish --self-contained true --runtime {{런타임_식별자}} {{경로/대상/프로젝트_파일}}` + +- 애플리케이션을 플랫폼별 단일 파일 실행 파일로 패키징: + +`dotnet publish --runtime {{런타임_식별자}} -p:PublishSingleFile=true {{경로/대상/프로젝트_파일}}` + +- 사용하지 않는 라이브러리를 제거하여 애플리케이션의 배포 크기 줄이기: + +`dotnet publish --self-contained true --runtime {{런타임_식별자}} -p:PublishTrimmed=true {{경로/대상/프로젝트_파일}}` + +- 의존성을 복원하지 않고 .NET 프로젝트 컴파일: + +`dotnet publish --no-restore {{경로/대상/프로젝트_파일}}` + +- 출력 디렉터리 지정: + +`dotnet publish --output {{경로/대상/폴더}} {{경로/대상/프로젝트_파일}}` diff --git a/pages.ko/common/dotnet-restore.md b/pages.ko/common/dotnet-restore.md new file mode 100644 index 00000000000000..4e0151c5831b2d --- /dev/null +++ b/pages.ko/common/dotnet-restore.md @@ -0,0 +1,28 @@ +# dotnet restore + +> .NET 프로젝트의 의존성과 도구를 복원합니다. +> 더 많은 정보: . + +- 현재 디렉터리의 .NET 프로젝트 또는 솔루션의 의존성 복원: + +`dotnet restore` + +- 특정 위치의 .NET 프로젝트 또는 솔루션의 의존성 복원: + +`dotnet restore {{경로/대상/프로젝트_또는_솔루션}}` + +- HTTP 요청을 캐시하지 않고 의존성 복원: + +`dotnet restore --no-cache` + +- 마지막 복원이 성공했더라도 모든 의존성을 강제로 해결: + +`dotnet restore --force` + +- 패키지 소스 실패를 경고로 처리하여 의존성 복원: + +`dotnet restore --ignore-failed-sources` + +- 특정 상세 수준으로 의존성 복원: + +`dotnet restore --verbosity {{quiet|minimal|normal|detailed|diagnostic}}` diff --git a/pages.ko/common/dotnet-run.md b/pages.ko/common/dotnet-run.md new file mode 100644 index 00000000000000..b1311d84d3a046 --- /dev/null +++ b/pages.ko/common/dotnet-run.md @@ -0,0 +1,24 @@ +# dotnet run + +> 명시적인 컴파일 또는 실행 명령 없이 .NET 애플리케이션을 실행합니다. +> 더 많은 정보: . + +- 현재 디렉토리의 프로젝트 실행: + +`dotnet run` + +- 특정 프로젝트 실행: + +`dotnet run --project {{경로/대상/파일.csproj}}` + +- 특정 인수를 사용하여 프로젝트 실행: + +`dotnet run -- {{arg1=foo arg2=bar ...}}` + +- 대상 프레임워크 모니커를 사용하여 프로젝트 실행: + +`dotnet run --framework {{net7.0}}` + +- .NET 6부터 사용 가능한 아키텍처 및 OS 지정 (이 옵션들과 함께 `--runtime` 사용 금지): + +`dotnet run --arch {{x86|x64|arm|arm64}} --os {{win|win7|osx|linux|ios|android}}` diff --git a/pages.ko/common/dotnet-test.md b/pages.ko/common/dotnet-test.md new file mode 100644 index 00000000000000..95ec1180bae256 --- /dev/null +++ b/pages.ko/common/dotnet-test.md @@ -0,0 +1,17 @@ +# dotnet test + +> .NET 애플리케이션의 테스트를 실행. +> 참고: 지원되는 필터 표현식은 를 참조. +> 더 많은 정보: . + +- 현재 디렉토리의 .NET 프로젝트/솔루션에 대한 테스트 실행: + +`dotnet test` + +- 특정 위치에 있는 .NET 프로젝트/솔루션에 대한 테스트 실행: + +`dotnet test {{경로/대상/프로젝트_또는_솔루션}}` + +- 주어진 필터 표현식과 일치하는 테스트 실행: + +`dotnet test --filter {{Name~TestMethod1}}` diff --git a/pages.ko/common/dotnet-tool.md b/pages.ko/common/dotnet-tool.md new file mode 100644 index 00000000000000..e8ccf4bbf200dd --- /dev/null +++ b/pages.ko/common/dotnet-tool.md @@ -0,0 +1,32 @@ +# dotnet tool + +> .NET 도구를 관리하고 NuGet에서 게시된 도구를 검색. +> 더 많은 정보: . + +- 전역 도구 설치 (`--global`은 로컬 도구에는 사용하지 않음): + +`dotnet tool install --global {{dotnetsay}}` + +- 로컬 도구 매니페스트에 정의된 도구 설치: + +`dotnet tool restore` + +- 특정 전역 도구 업데이트 (`--global`은 로컬 도구에는 사용하지 않음): + +`dotnet tool update --global {{도구_이름}}` + +- 전역 도구 제거 (`--global`은 로컬 도구에는 사용하지 않음): + +`dotnet tool uninstall --global {{도구_이름}}` + +- 설치된 전역 도구 나열 (`--global`은 로컬 도구에는 사용하지 않음): + +`dotnet tool list --global` + +- NuGet에서 도구 검색: + +`dotnet tool search {{검색_어구}}` + +- 도움말 표시: + +`dotnet tool --help` diff --git a/pages.ko/common/dotnet.md b/pages.ko/common/dotnet.md index 340545bad68e53..15fb04dfb2f4fb 100644 --- a/pages.ko/common/dotnet.md +++ b/pages.ko/common/dotnet.md @@ -1,20 +1,21 @@ # dotnet -> .NET Core를 위한 크로스 플랫폼 .NET 명령어 도구. -> 더 많은 정보: . +> 크로스 플랫폼 .NET Core용 명령줄 도구. +> `build`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . -- 새 .NET 프로젝트 초기화하기: +- 새 .NET 프로젝트 초기화: -`dotnet new {{짧은_템플릿_이름}}` +`dotnet new {{템플릿_짧은_이름}}` -- nuget 패키지들 복구하기: +- NuGet 패키지 복원: `dotnet restore` -- 현재 디렉토리에서 .NET 프로젝트를 빌드하고 실행하기: +- 현재 디렉터리에서 .NET 프로젝트를 빌드하고 실행: `dotnet run` -- 패키지화 된 dotnet 어플리케이션을 실행하기(런타임만 필요하며, 나머지 명령어들은 .NET Core SDK 설치가 필요): +- 패키지된 dotnet 애플리케이션 실행 (런타임만 필요하며, 나머지 명령은 .NET Core SDK 설치 필요): -`dotnet {{경로/어플리케이션.dll}}` +`dotnet {{경로/대상/application.dll}}` diff --git a/pages.ko/common/doxygen.md b/pages.ko/common/doxygen.md new file mode 100644 index 00000000000000..13dd81ded37878 --- /dev/null +++ b/pages.ko/common/doxygen.md @@ -0,0 +1,16 @@ +# doxygen + +> 다양한 프로그래밍 언어의 문서화 시스템. +> 더 많은 정보: . + +- 기본 템플릿 구성 파일 `Doxyfile`을 생성: + +`doxygen -g` + +- 템플릿 구성 파일 생성: + +`doxygen -g {{경로/대상/구성_파일}}` + +- 기존 구성 파일을 사용하여 문서 생성: + +`doxygen {{경로/대상/구성_파일}}` diff --git a/pages.ko/common/drill.md b/pages.ko/common/drill.md new file mode 100644 index 00000000000000..d0f75be78d2296 --- /dev/null +++ b/pages.ko/common/drill.md @@ -0,0 +1,32 @@ +# drill + +> 다양한 DNS 쿼리를 수행. +> 더 많은 정보: . + +- 호스트 이름 (A 레코드)과 연결된 IP를 조회: + +`drill {{example.com}}` + +- 특정 도메인 이름 (MX 레코드)과 연결된 메일 서버를 조회: + +`drill mx {{example.com}}` + +- 특정 도메인 이름에 대한 모든 유형의 레코드를 가져옴: + +`drill any {{example.com}}` + +- 쿼리할 대체 DNS 서버를 지정: + +`drill {{example.com}} @{{8.8.8.8}}` + +- IP 주소 (PTR 레코드)에 대해 역방향 DNS 조회를 수행: + +`drill -x {{8.8.8.8}}` + +- 루트 서버부터 도메인 이름까지 DNSSEC 추적을 수행: + +`drill -TD {{example.com}}` + +- 도메인 이름에 대한 DNSKEY 레코드 표시: + +`drill -s dnskey {{example.com}}` diff --git a/pages.ko/common/drupal-check.md b/pages.ko/common/drupal-check.md new file mode 100644 index 00000000000000..b642861cdf7f2a --- /dev/null +++ b/pages.ko/common/drupal-check.md @@ -0,0 +1,20 @@ +# drupal-check + +> 더 이상 사용되지 않는 Drupal PHP 코드를 확인. +> 더 많은 정보: . + +- 더 이상 사용되지 않는 특정 디렉터리의 코드를 확인: + +`drupal-check {{경로/대상/디렉터리}}` + +- 쉼표로 구분된 디렉터리 목록을 제외한 코드를 확인: + +`drupal-check --exclude-dir {{경로/대상/제외된_디렉터리}},{{경로/대상/제외된_파일/*.php}} {{경로/대상/디렉터리}}` + +- 진행률 표시줄을 표시하지 않음: + +`drupal-check --no-progress {{경로/대상/디렉터리}}` + +- 잘못된 코딩 관행을 탐지하기 위해 정적 분석을 수행: + +`drupal-check --analysis {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/drupal.md b/pages.ko/common/drupal.md new file mode 100644 index 00000000000000..5e2b974687e86b --- /dev/null +++ b/pages.ko/common/drupal.md @@ -0,0 +1,21 @@ +# drupal + +> 상용구 코드를 생성하고, Drupal 프로젝트와 상호작용하며 디버그. +> `check`와 같은 일부 하위 명령에는 자체 사용법 문서가 존재. +> 더 많은 정보: . + +- 모듈 설치: + +`drupal module:install {{모듈_이름}}` + +- 모듈 삭제: + +`drupal module:uninstall {{모듈_이름}}` + +- 모든 캐시 지우기: + +`drupal cache:rebuild` + +- 현재 Drupal 설치 상태 보기: + +`drupal site:status` diff --git a/pages.ko/common/drush.md b/pages.ko/common/drush.md new file mode 100644 index 00000000000000..3177006536965e --- /dev/null +++ b/pages.ko/common/drush.md @@ -0,0 +1,20 @@ +# drush + +> Drupal용 명령줄 쉘 및 스크립팅 인터페이스. +> 더 많은 정보: . + +- "foo" 모듈 활성화: + +`drush en {{foo}}` + +- "foo" 모듈 비활성화: + +`drush pmu {{foo}}` + +- 모든 캐시 지우기: + +`drush cr` + +- CSS 및 JavaScript 캐시 지우기: + +`drush cc css-js` diff --git a/pages.ko/common/dtc.md b/pages.ko/common/dtc.md new file mode 100644 index 00000000000000..06ab0e9882b33a --- /dev/null +++ b/pages.ko/common/dtc.md @@ -0,0 +1,8 @@ +# dtc + +> 장치 트리 컴파일러는 형식 간에 장치 트리를 다시 컴파일하는 도구. +> 더 많은 정보: . + +- `.dtb` 파일을 읽을 수 있는 `.dts` 파일로 디컴파일: + +`dtc -I dtb -O dts -o {{경로/대상/출력_파일.dts}} {{경로/대상/입력_파일.dtb}}` diff --git a/pages.ko/common/du.md b/pages.ko/common/du.md new file mode 100644 index 00000000000000..61ced7fbf7eac8 --- /dev/null +++ b/pages.ko/common/du.md @@ -0,0 +1,32 @@ +# du + +> 디스크 사용량: 파일 및 디렉터리 공간 사용량을 추정하고 요약. +> 더 많은 정보: . + +- 지정된 단위(B/KiB/MiB)로 디렉터리 및 하위 디렉터리의 크기를 나열: + +`du -{{b|k|m}} {{경로/대상/디렉터리}}` + +- 사람이 읽을 수 있는 형식으로 디렉터리 및 하위 디렉터리의 크기를 나열 (예: 각 크기에 적합한 단위 자동 선택 ): + +`du -h {{경로/대상/디렉터리}}` + +- 사람이 읽을 수 있는 단위로 단일 디렉터리의 크기를 표시: + +`du {{[-sh|--summarize --human-readable]}} {{경로/대상/디렉터리}}` + +- 사람이 읽을 수 있는 디렉터리와 그 안에 있는 모든 파일 및 디렉터리의 크기를 나열: + +`du {{[-ah|--all --human-readable]}} {{경로/대상/디렉터리}}` + +- 사람이 읽을 수 있는 디렉터리 및 하위 디렉터리의 크기를 최대 N 수준까지 나열: + +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{경로/대상/디렉터리}}` + +- 현재 디렉터리의 하위 디렉터리에 있는 모든 `.jpg` 파일의 사람이 읽을 수 있는 크기를 보여주고, 마지막에 누적 합계를 표시: + +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` + +- 특정 임계값([t]hreshold) 크기를 초과하는 모든 파일 및 디렉터리(숨겨진 디렉터리 포함)를 나열 (실제로 공간을 차지하는 것이 무엇인지 조사하는 데 유용): + +`du {{[-ah|--all --human-readable]}} {{[-t|--threshold]}} {{1G|1024M|1048576K}} .[^.]* *` diff --git a/pages.ko/common/dua.md b/pages.ko/common/dua.md new file mode 100644 index 00000000000000..4c195cc8bd00b4 --- /dev/null +++ b/pages.ko/common/dua.md @@ -0,0 +1,32 @@ +# dua + +> Dua (Disk Usage Analyzer): 디렉터리의 디스크 공간 사용량을 가져옴. +> 더 많은 정보: . + +- 특정 디렉터리 분석: + +`dua {{경로/대상/디렉터리}}` + +- 디스크 사용량 대신 실제로 파일에 있는 유효한 데이터 크기로 표시: + +`dua --apparent-size` + +- 하드 링크된 파일이 표시될 때마다, 개수를 계산: + +`dua --count-hard-links` + +- 하나 이상의 디렉터리 또는 파일이 소비한 공간을 집계: + +`dua aggregate` + +- 터미널 사용자 인터페이스 실행: + +`dua interactive` + +- 바이트 수를 형식에 맞게 출력: + +`dua --format {{metric|binary|bytes|GB|GiB|MB|MiB}}` + +- 특정 스레드 수 사용(기본값은 프로세스 스레드 수): + +`dua --threads {{count}}` diff --git a/pages.ko/common/dub.md b/pages.ko/common/dub.md new file mode 100644 index 00000000000000..212e078200b736 --- /dev/null +++ b/pages.ko/common/dub.md @@ -0,0 +1,28 @@ +# dub + +> D 패키지의 패키지 관리. +> 더 많은 정보: . + +- 대화형으로 새 D 프로젝트 생성: + +`dub init {{프로젝트_이름}}` + +- 비대화형으로 새 D 프로젝트 생성: + +`dub init {{프로젝트_이름}} -n` + +- D 프로젝트 빌드 및 실행: + +`dub` + +- D 프로젝트의 `dub.json` 또는 `dub.sdl` 파일에 지정된 종속성을 설치: + +`dub fetch` + +- D 프로젝트의 종속성을 업데이트: + +`dub upgrade` + +- 도움말 표시: + +`dub --help` diff --git a/pages.ko/common/duc.md b/pages.ko/common/duc.md new file mode 100644 index 00000000000000..c2fcb714085133 --- /dev/null +++ b/pages.ko/common/duc.md @@ -0,0 +1,29 @@ +# duc + +> 디스크 사용량을 인덱싱, 검사, 시각화하기 위한 도구 모음. +> Duc는 파일 시스템 디렉토리의 누적 크기에 대한 데이터베이스를 유지 및 관리하여, 데이터베이스에서 쿼리를 허용하거나, 데이터 위치를 보여주는 멋있는 그래프를 생성. +> 더 많은 정보: . + +- /usr 디렉터리를 색인화하여, 기본 데이터베이스 위치 ~/.duc.db에 기록: + +`duc index {{/usr}}` + +- /usr/local 아래의 모든 파일과 디렉터리를 나열, 그래프([g]raph)에 상대 파일 크기를 표시: + +`duc ls -Fg {{/usr/local}}` + +- treeview를 반복적으로 사용해 /usr/local 아래의 모든 파일과 디렉터리를 나열: + +`duc ls -Fg -R {{/usr/local}}` + +- sunburst 그래프를 사용하여 파일 시스템을 탐색하려면, 그래픽 인터페이스를 시작: + +`duc gui {{/usr}}` + +- ncurses 콘솔 인터페이스를 실행하여, 파일 시스템을 탐색: + +`duc ui {{/usr}}` + +- 데이터베이스 정보 덤프: + +`duc info` diff --git a/pages.ko/common/duckdb.md b/pages.ko/common/duckdb.md new file mode 100644 index 00000000000000..4d2a9f72be8aad --- /dev/null +++ b/pages.ko/common/duckdb.md @@ -0,0 +1,36 @@ +# duckdb + +> 처리 중인 분석 SQL 엔진인 DuckDB용 명령줄 클라이언트. +> 더 많은 정보: . + +- 임시 메모리 내 데이터베이스를 사용하여 대화형 쉘을 시작: + +`duckdb` + +- 데이터베이스 파일에서 대화형 쉘을 시작. 파일이 없으면, 새로운 데이터베이스가 생성됨: + +`duckdb {{경로/대상/데이터베이스파일}}` + +- CSV, JSON 또는 Parquet 파일을 직접 쿼리: + +`duckdb -c "{{SELECT * FROM 'data_source.[csv|csv.gz|json|json.gz|parquet]'}}"` + +- SQL 스크립트를 실행: + +`duckdb -c ".read {{경로/대상/스크립트.sql}}"` + +- 데이터베이스 파일에 대해 쿼리를 실행하고 대화형 쉘을 열어둠: + +`duckdb {{경로/대상/데이터베이스파일}} -cmd "{{SELECT DISTINCT * FROM tbl}}"` + +- 데이터베이스 파일에서 SQL 쿼리를 실행하고 대화형 쉘을 열어둠: + +`duckdb {{경로/대상/데이터베이스파일}} -init {{경로/대상/스크립트.sql}}` + +- `stdin`에서 CSV를 읽고 `stdout`에 CSV를 쓰기: + +`cat {{경로/대상/소스.csv}} | duckdb -c "{{COPY (FROM read_csv('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)}}"` + +- 도움말 표시: + +`duckdb -help` diff --git a/pages.ko/common/duf.md b/pages.ko/common/duf.md new file mode 100644 index 00000000000000..201bf210c04e5c --- /dev/null +++ b/pages.ko/common/duf.md @@ -0,0 +1,32 @@ +# duf + +> 디스크 사용량/무료 유틸리티. +> 더 많은 정보: . + +- 접근 가능한 장치 목록: + +`duf` + +- 모든 항목을 나열 (예: 의사, 중복 또는 액세스할 수 없는 파일 시스템): + +`duf --all` + +- 지정된 장치 또는 마운트 지점만 표시: + +`duf {{경로/대상/디렉터리1 경로/대상/디렉터리2 ...}}` + +- 지정된 기준에 따라 출력 결과를 정렬: + +`duf --sort {{size|used|avail|usage}}` + +- 특정 파일 시스템을 표시하거나 숨김: + +`duf --{{only-fs|hide-fs}} {{tmpfs|vfat|ext4|xfs}}` + +- 키별로 출력을 정렬: + +`duf --sort {{mountpoint|size|used|avail|usage|inodes|inodes_used|inodes_avail|inodes_usage|type|filesystem}}` + +- 테마를 변경 (`duf`가 올바른 테마를 사용하지 못하는 경우): + +`duf --theme {{dark|light}}` diff --git a/pages.ko/common/dumpcap.md b/pages.ko/common/dumpcap.md new file mode 100644 index 00000000000000..17891c7588f47f --- /dev/null +++ b/pages.ko/common/dumpcap.md @@ -0,0 +1,20 @@ +# dumpcap + +> 네트워크 트래픽 덤프 도구. +> 더 많은 정보: . + +- 사용 가능한 인터페이스 표시: + +`dumpcap --list-interfaces` + +- 특정 인터페이스에서 패킷을 캡처: + +`dumpcap --interface {{1}}` + +- 특정 위치로 패킷을 캡처: + +`dumpcap --interface {{1}} -w {{경로/대상/출력_파일.pcapng}}` + +- 특정 크기의 특정 최대 파일 제한을 사용해 링 버퍼에 쓰기: + +`dumpcap --interface {{1}} -w {{경로/대상/출력_파일.pcapng}} --ring-buffer filesize:{{500000}} --ring-buffer files:{{10}}` diff --git a/pages.ko/common/dune.md b/pages.ko/common/dune.md new file mode 100644 index 00000000000000..a5dbbc01cf1cba --- /dev/null +++ b/pages.ko/common/dune.md @@ -0,0 +1,20 @@ +# dune + +> OCaml 프로그램용 빌드 시스템. +> 더 많은 정보: . + +- 모든 타겟 빌드: + +`dune build` + +- 작업 공간을 정리: + +`dune clean` + +- 모든 테스트 실행: + +`dune runtest` + +- 수동으로 로드할 필요가 없도록, 자동으로 로드된 컴파일된 모듈로 utop REPL을 시작: + +`dune utop` diff --git a/pages.ko/common/dunstctl.md b/pages.ko/common/dunstctl.md new file mode 100644 index 00000000000000..591384970df6a3 --- /dev/null +++ b/pages.ko/common/dunstctl.md @@ -0,0 +1,20 @@ +# dunstctl + +> `dunst` 제어 명령어. +> 더 많은 정보: . + +- 알림 일시 중지: + +`dunstctl set-paused true` + +- 알림 일시 중지 해제: + +`dunstctl set-paused false` + +- 모든 알림 닫기: + +`dunstctl close-all` + +- 도움말 표시: + +`dunstctl --help` diff --git a/pages.ko/common/dunstify.md b/pages.ko/common/dunstify.md new file mode 100644 index 00000000000000..12978256181c79 --- /dev/null +++ b/pages.ko/common/dunstify.md @@ -0,0 +1,21 @@ +# dunstify + +> `notify-send`의 확장 기능을 가진 알림 도구로, `dunst`를 중심으로 더 많은 기능을 제공합니다. +> `notify-send`의 모든 옵션을 수용합니다. +> 더 많은 정보: . + +- 지정된 제목과 메시지로 알림 표시: + +`dunstify "{{제목}}" "{{메시지}}"` + +- 지정된 긴급도로 알림 표시: + +`dunstify "{{제목}}" "{{메시지}}" -u {{low|normal|critical}}` + +- 메시지 ID 지정 (같은 ID의 이전 메시지를 덮어씀): + +`dunstify "{{제목}}" "{{메시지}}" -r {{123}}` + +- 도움말 표시: + +`dunstify --help` diff --git a/pages.ko/common/duplicacy.md b/pages.ko/common/duplicacy.md new file mode 100644 index 00000000000000..9fc4337c6cfc61 --- /dev/null +++ b/pages.ko/common/duplicacy.md @@ -0,0 +1,36 @@ +# duplicacy + +> 잠금 없는 중복 제거 클라우드 백업 도구. +> 더 많은 정보: . + +- 현재 디레터리를 저장소로 사용하고, SFTP 저장소를 초기화하고, 저장소를 비밀번호로 암호화: + +`duplicacy init -e {{snapshot_id}} {{sftp://user@192.168.2.100/path/to/storage/}}` + +- 저장소의 스냅샷을 기본 저장소에 저장: + +`duplicacy backup` + +- 현재 저장소의 스냅샷 목록: + +`duplicacy list` + +- 이전에 저장된 스냅샷으로 저장소를 복원: + +`duplicacy restore -r {{revision}}` + +- 스냅샷의 무결성을 확인: + +`duplicacy check` + +- 기존 저장소에 사용할 다른 저장소를 추가: + +`duplicacy add {{스토리지_이름}} {{스냅샷_아이디}} {{스토리지_주소}}` + +- 스냅샷의 특정 버전을 정리: + +`duplicacy prune -r {{버전}}` + +- `m`일보다 오래된 버전에 대해 `n`일마다 하나의 업데이트된 버전을 유지하여 버전을 정리: + +`duplicacy prune -keep {{n:m}}` diff --git a/pages.ko/common/duplicity.md b/pages.ko/common/duplicity.md new file mode 100644 index 00000000000000..7e42f2cee3846c --- /dev/null +++ b/pages.ko/common/duplicity.md @@ -0,0 +1,30 @@ +# duplicity + +> 증분, 압축, 암호화 및 버전별 백업을 생성. +> 다양한 백엔드 서비스에 백업을 업로드할 수도 있음. +> 버전에 따라 일부 옵션을 사용하지 못할 수도 있음 (예: 2.0.0의 `--gio`). +> 더 많은 정보: . + +- FTPS를 통해 디렉터리를 원격 시스템에 백업하고, 비밀번호로 암호화: + +`FTP_PASSWORD={{ftp_로그인_비밀번호}} PASSPHRASE={{암호_비밀번호}} duplicity {{경로/대상/소스/디렉토리}} {{ftps://사용자@호스트명/타겟/디렉토리/경로/}}` + +- 매월 전체 백업을 수행하여 Amazon S3에 디렉터리를 백업: + +`duplicity --full-if-older-than {{1M}} s3://{{버킷_이름[/접두사]}}` + +- WebDAV 공유에 저장된 백업에서 1년이 넘은 버전을 삭제: + +`FTP_PASSWORD={{webdav_로그인_비밀번호}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://사용자@호스트명[:포트]/일부_디렉토리}}` + +- 사용 가능한 백업을 나열: + +`duplicity collection-status "file://{{절대/경로/대상/백업/디렉토리}}"` + +- SSH를 통해 원격 시스템에 저장된 백업의 파일을 나열: + +`duplicity list-current-files --time {{YYYY-MM-DD}} scp://{{사용자@호스트명}}/{{경로/대상/백업/디렉토리}}` + +- GnuPG로 암호화된 로컬 백업의 하위 디렉토리를 지정된 위치로 복원: + +`PASSPHRASE={{gpg_키_비밀번호}} duplicity restore --encrypt-key {{gpg_키_아이디}} --path-to-restore {{상대/경로/복원된디렉토리}} file://{{절대/경로/대상/백업/디렉토리}} {{경로/대상/디렉토리/대상/복원/대상}}` diff --git a/pages.ko/common/dust.md b/pages.ko/common/dust.md new file mode 100644 index 00000000000000..bb0a510c9cbd1c --- /dev/null +++ b/pages.ko/common/dust.md @@ -0,0 +1,32 @@ +# dust + +> Dust는 어떤 디렉토리가 디스크 공간을 사용하고 있는지에 대한 즉각적인 개요를 제공. +> 더 많은 정보: . + +- 현재 디렉토리에 대한 정보 표시: + +`dust` + +- 하나 이상의 디렉토리에 대한 정보를 표시: + +`dust {{경로/대상/디렉터리1 경로/대상/디렉터리2 ...}}` + +- 30개 디렉터리 표시 (기본값은 21): + +`dust --number-of-lines {{30}}` + +- 현재 디렉토리에 대한 정보를, 최대 3단계까지 표시: + +`dust --depth {{3}}` + +- 가장 큰 디렉토리를 내림차순으로 맨 위에 표시: + +`dust --reverse` + +- 특정 이름을 가진 모든 파일과 디렉터리를 무시: + +`dust --ignore-directory {{파일_또는_디렉터리_이름}}` + +- 백분율 막대 및 백분율을 표시하지 않음: + +`dust --no-percent-bars` diff --git a/pages.ko/common/dvc-add.md b/pages.ko/common/dvc-add.md new file mode 100644 index 00000000000000..cd2a15131ecf62 --- /dev/null +++ b/pages.ko/common/dvc-add.md @@ -0,0 +1,20 @@ +# dvc add + +> 변경된 파일을 색인에 추가. +> 더 많은 정보: . + +- 단일 대상 파일을 색인에 추가: + +`dvc add {{경로/대상/파일}}` + +- 대상 디렉토리를 색인에 추가: + +`dvc add {{경로/대상/폴더}}` + +- 주어진 대상 디렉토리의 모든 파일을 재귀적으로 추가: + +`dvc add --recursive {{경로/대상/폴더}}` + +- 사용자 정의 `.dvc` 파일 이름으로 대상 파일 추가: + +`dvc add --file {{custom_name.dvc}} {{경로/대상/파일}}` diff --git a/pages.ko/common/dvc-checkout.md b/pages.ko/common/dvc-checkout.md new file mode 100644 index 00000000000000..432f37a0128f64 --- /dev/null +++ b/pages.ko/common/dvc-checkout.md @@ -0,0 +1,16 @@ +# dvc checkout + +> 캐시에서 데이터 파일 및 디렉토리를 체크아웃. +> 더 많은 정보: . + +- 모든 대상 파일 및 디렉토리의 최신 버전 체크아웃: + +`dvc checkout` + +- 지정된 대상의 최신 버전 체크아웃: + +`dvc checkout {{대상}}` + +- 다른 Git 커밋/태그/브랜치에서 특정 버전의 대상 체크아웃: + +`git checkout {{커밋_해시|태그|브랜치}} {{대상}} && dvc checkout {{대상}}` diff --git a/pages.ko/common/dvc-commit.md b/pages.ko/common/dvc-commit.md new file mode 100644 index 00000000000000..c740889bd8fa82 --- /dev/null +++ b/pages.ko/common/dvc-commit.md @@ -0,0 +1,16 @@ +# dvc commit + +> 프로젝트에서 DVC로 추적되는 파일의 변경 사항 기록. +> 더 많은 정보: . + +- 모든 DVC로 추적된 파일과 디렉토리의 변경 사항 커밋: + +`dvc commit` + +- 지정된 DVC로 추적된 대상의 변경 사항 커밋: + +`dvc commit {{대상}}` + +- 디렉토리 내의 모든 DVC로 추적된 파일을 재귀적으로 커밋: + +`dvc commit --recursive {{경로/대상/폴더}}` diff --git a/pages.ko/common/dvc-config.md b/pages.ko/common/dvc-config.md new file mode 100644 index 00000000000000..4be3321f8f94bc --- /dev/null +++ b/pages.ko/common/dvc-config.md @@ -0,0 +1,33 @@ +# dvc config + +> DVC 저장소의 사용자 정의 구성 옵션을 관리하는 저수준 명령어입니다. +> 이러한 구성은 프로젝트, 로컬, 글로벌 또는 시스템 수준에서 가능합니다. +> 더 많은 정보: . + +- 기본 원격 저장소의 이름 확인: + +`dvc config core.remote` + +- 프로젝트의 기본 원격 저장소 설정: + +`dvc config core.remote {{원격_이름}}` + +- 프로젝트의 기본 원격 저장소 설정 해제: + +`dvc config --unset core.remote` + +- 현재 프로젝트에 대해 지정된 키의 구성 값 확인: + +`dvc config {{키}}` + +- 프로젝트 수준에서 키의 구성 값 설정: + +`dvc config {{키}} {{값}}` + +- 주어진 키에 대한 프로젝트 수준 구성 값 설정 해제: + +`dvc config --unset {{키}}` + +- 로컬, 글로벌 또는 시스템 수준에서 구성 값 설정: + +`dvc config --{{local|global|system}} {{키}} {{값}}` diff --git a/pages.ko/common/dvc-dag.md b/pages.ko/common/dvc-dag.md new file mode 100644 index 00000000000000..10ea7d5a5992fd --- /dev/null +++ b/pages.ko/common/dvc-dag.md @@ -0,0 +1,16 @@ +# dvc dag + +> `dvc.yaml`에 정의된 파이프라인을 시각화. +> 더 많은 정보: . + +- 전체 파이프라인 시각화: + +`dvc dag` + +- 지정된 대상 스테이지까지의 파이프라인 스테이지 시각화: + +`dvc dag {{대상}}` + +- 파이프라인을 dot 형식으로 내보내기: + +`dvc dag --dot > {{경로/대상/파이프라인.dot}}` diff --git a/pages.ko/common/dvc-destroy.md b/pages.ko/common/dvc-destroy.md new file mode 100644 index 00000000000000..e264516157d053 --- /dev/null +++ b/pages.ko/common/dvc-destroy.md @@ -0,0 +1,12 @@ +# dvc destroy + +> DVC 프로젝트에서 모든 DVC 파일과 디렉터리를 제거. +> 더 많은 정보: . + +- 현재 프로젝트 삭제: + +`dvc destroy` + +- 현재 프로젝트 강제 삭제: + +`dvc destroy --force` diff --git a/pages.ko/common/dvc-diff.md b/pages.ko/common/dvc-diff.md new file mode 100644 index 00000000000000..3bc18974e2d434 --- /dev/null +++ b/pages.ko/common/dvc-diff.md @@ -0,0 +1,24 @@ +# dvc diff + +> DVC로 추적된 파일과 디렉토리의 변경 사항을 표시. +> 더 많은 정보: . + +- 다른 Git 커밋, 태그, 브랜치와 현재 작업 공간을 기준으로 DVC로 추적된 파일 비교: + +`dvc diff {{커밋_해시/태그/브랜치}}` + +- 한 Git 커밋에서 다른 커밋으로의 DVC로 추적된 파일의 변경 사항 비교: + +`dvc diff {{리비전1}} {{리비전2}}` + +- DVC로 추적된 파일을 최신 해시와 함께 비교: + +`dvc diff --show-hash {{커밋}}` + +- DVC로 추적된 파일을 JSON 형식으로 출력하여 비교: + +`dvc diff --show-json --show-hash {{커밋}}` + +- DVC로 추적된 파일을 Markdown 형식으로 출력하여 비교: + +`dvc diff --show-md --show-hash {{커밋}}` diff --git a/pages.ko/common/dvc-fetch.md b/pages.ko/common/dvc-fetch.md new file mode 100644 index 00000000000000..42f8001eccbd9c --- /dev/null +++ b/pages.ko/common/dvc-fetch.md @@ -0,0 +1,24 @@ +# dvc fetch + +> 원격 저장소에서 DVC로 추적된 파일 및 디렉토리를 다운로드. +> 더 많은 정보: . + +- 기본 원격 업스트림 저장소(설정된 경우)에서 최신 변경사항 가져오기: + +`dvc fetch` + +- 특정 원격 업스트림 저장소에서 변경사항 가져오기: + +`dvc fetch --remote {{원격_이름}}` + +- 특정 대상의 최신 변경사항 가져오기: + +`dvc fetch {{대상/들}}` + +- 모든 브랜치 및 태그의 변경사항 가져오기: + +`dvc fetch --all-branches --all-tags` + +- 모든 커밋의 변경사항 가져오기: + +`dvc fetch --all-commits` diff --git a/pages.ko/common/dvc-freeze.md b/pages.ko/common/dvc-freeze.md new file mode 100644 index 00000000000000..92d14f621122a2 --- /dev/null +++ b/pages.ko/common/dvc-freeze.md @@ -0,0 +1,10 @@ +# dvc freeze + +> DVC 파이프라인의 스테이지를 동결. +> 이는 스테이지 종속성의 변경 사항을 추적하고, 해동될 때까지 재실행을 방지합니다. +> 같이 보기: `dvc unfreeze`. +> 더 많은 정보: . + +- 하나 이상의 특정 스테이지를 동결: + +`dvc freeze {{스테이지_이름1 스테이지_이름2 ...}}` diff --git a/pages.ko/common/dvc-gc.md b/pages.ko/common/dvc-gc.md new file mode 100644 index 00000000000000..fea7e30c0379ae --- /dev/null +++ b/pages.ko/common/dvc-gc.md @@ -0,0 +1,20 @@ +# dvc gc + +> 캐시 또는 원격 저장소에서 사용되지 않는 파일 및 디렉토리를 제거. +> 더 많은 정보: . + +- 현재 작업 공간에서 참조하는 버전만 남기고 캐시에서 가비지 수집: + +`dvc gc --workspace` + +- 브랜치, 태그, 커밋에서 참조하는 버전만 남기고 캐시에서 가비지 수집: + +`dvc gc --all-branches --all-tags --all-commits` + +- 기본 클라우드 원격 저장소를 포함하여 캐시에서 가비지 수집 (설정된 경우): + +`dvc gc --all-commits --cloud` + +- 특정 클라우드 원격 저장소를 포함하여 캐시에서 가비지 수집: + +`dvc gc --all-commits --cloud --remote {{원격_이름}}` diff --git a/pages.ko/common/dvc-init.md b/pages.ko/common/dvc-init.md new file mode 100644 index 00000000000000..a48b307fd858fb --- /dev/null +++ b/pages.ko/common/dvc-init.md @@ -0,0 +1,16 @@ +# dvc init + +> 새로운 로컬 DVC 저장소 초기화. +> 더 많은 정보: . + +- 새로운 로컬 저장소 초기화: + +`dvc init` + +- Git 없이 DVC 초기화: + +`dvc init --no-scm` + +- 하위 디렉토리에서 DVC 초기화: + +`cd {{경로/대상/하위_디렉토리}} && dvc init --sudir` diff --git a/pages.ko/common/dvc-unfreeze.md b/pages.ko/common/dvc-unfreeze.md new file mode 100644 index 00000000000000..f4fc78b1ffbad7 --- /dev/null +++ b/pages.ko/common/dvc-unfreeze.md @@ -0,0 +1,10 @@ +# dvc unfreeze + +> DVC 파이프라인에서 스테이지의 동결을 해제. +> 이는 동결된 후 스테이지의 의존성 변경 사항을 DVC가 다시 추적할 수 있게 합니다. +> 같이 보기: `dvc freeze`. +> 더 많은 정보: . + +- 하나 이상의 지정된 스테이지 동결 해제: + +`dvc unfreeze {{스테이지_이름1 스테이지_이름2 ...}}` diff --git a/pages.ko/common/dvc.md b/pages.ko/common/dvc.md new file mode 100644 index 00000000000000..a9e74c501de897 --- /dev/null +++ b/pages.ko/common/dvc.md @@ -0,0 +1,21 @@ +# dvc + +> 데이터 버전 관리: 데이터용 `git`과 유사. +> `commit`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- DVC 하위 명령 실행: + +`dvc {{하위_명령}}` + +- 일반 도움말 표시: + +`dvc --help` + +- 특정 하위 명령에 대한 도움말 표시: + +`dvc {{하위_명령}} --help` + +- 버전 표시: + +`dvc --version` diff --git a/pages.ko/common/dwebp.md b/pages.ko/common/dwebp.md new file mode 100644 index 00000000000000..a26f538336f52f --- /dev/null +++ b/pages.ko/common/dwebp.md @@ -0,0 +1,29 @@ +# dwebp + +> `dwebp`는 WebP 파일을 PNG, PAM, PPM 또는 PGM 이미지로 압축 해제. +> 애니메이션 WebP 파일은 지원되지 않음. +> 더 많은 정보: . + +- WebP 파일을 PNG 파일로 변환: + +`dwebp {{경로/대상/입력파일.webp}} -o {{경로/대상/출력파일.png}}` + +- WebP 파일을 특정 파일 형식으로 변환: + +`dwebp {{경로/대상/입력파일.webp}} -bmp|-tiff|-pam|-ppm|-pgm|-yuv -o {{경로/대상/출력파일}}` + +- 가능한 경우, 멀티스레딩을 사용하여 WebP 파일을 변환: + +`dwebp {{경로/대상/입력파일.webp}} -o {{경로/대상/출력파일.png}} -mt` + +- WebP 파일을 변환하는 동시에, 자르기 및 크기 조정도 가능: + +`dwebp {{입력.webp}} -o {{출력.png}} -crop {{x_위치}} {{y_위치}} {{너비}} {{높이;}} -scale {{너비}} {{높이}}` + +- WebP 파일을 변환하고 출력을 뒤집음: + +`dwebp {{경로/대상/입력파일.webp}} -o {{경로/대상/출력파일.png}} -flip` + +- Convert a WebP 파일을 변환하고 디코딩 프로세스 속도를 높이기 위해 인루프 필터링을 사용하지 않음: + +`dwebp {{경로/대상/입력파일.webp}} -o {{경로/대상/출력파일.png}} -nofilter` diff --git a/pages.ko/common/ebook-convert.md b/pages.ko/common/ebook-convert.md new file mode 100644 index 00000000000000..70f2f6cb62e10b --- /dev/null +++ b/pages.ko/common/ebook-convert.md @@ -0,0 +1,13 @@ +# ebook-convert + +> 일반적인 형식 간 전자책을 변환하는 데 사용 가능(예: PDF, EPUB 및 MOBI). +> Calibre 전자책 라이브러리 도구의 일부. +> 더 많은 정보: . + +- 전자책을 다른 형식으로 변환: + +`ebook-convert {{경로/대상/입력_파일}} {{출력_파일}}` + +- Markdown 또는 HTML을 목차, 제목 및 저자가 포함된 전자책으로 변환: + +`ebook-convert {{경로/대상/입력_파일}} {{출력_파일}} --level1-toc="//h:h1" --level2-toc="//h:h2" --level3-toc="//h:h3" --title={{title}} --authors={{author}}` diff --git a/pages.ko/common/echo.md b/pages.ko/common/echo.md new file mode 100644 index 00000000000000..d128008e85dae0 --- /dev/null +++ b/pages.ko/common/echo.md @@ -0,0 +1,24 @@ +# echo + +> 주어진 인자들을 출력한다. +> 더 많은 정보: . + +- 텍스트 메시지를 출력한다. 참고: 따옴표는 선택 사항: + +`echo "{{Hello World}}"` + +- 환경 변수가 있는 메시지 출력하기: + +`echo "{{My path is $PATH}}"` + +- 끝에 줄바꿈 없이 메시지 출력하기: + +`echo -n "{{Hello World}}"` + +- 파일에 메시지 추가하기: + +`echo "{{Hello World}}" >> {{file.txt}}` + +- 백슬래시 이스케이프 (특수문자)의 해석을 가능하게 하기: + +`echo -e "{{Column 1\tColumn 2}}"` diff --git a/pages.ko/common/ect.md b/pages.ko/common/ect.md new file mode 100644 index 00000000000000..c9606cec52cd25 --- /dev/null +++ b/pages.ko/common/ect.md @@ -0,0 +1,25 @@ +# ect + +> 효율적인 압축 도구. +> C++로 작성된 파일 최적화 프로그램. PNG, JPEG, gzip 및 Zip 파일을 지원. +> 더 많은 정보: . + +- 파일 압축: + +`ect {{경로/대상/파일.png}}` + +- 지정된 압축 수준 및 멀티스레딩을 사용하여 파일을 압축 (1=가장 빠름 (가장 안 좋음), 9=가장 느림 (가장 좋음), 기본값은 3): + +`ect -{{9}} --mt-deflate {{경로/대상/파일.zip}}` + +- 디렉토리의 모든 파일을 재귀적으로 압축: + +`ect -recurse {{경로/대상/디렉터리}}` + +- 원래 수정 시간을 유지하며, 파일을 압축: + +`ect -keep {{경로/대상/파일.png}}` + +- 파일을 압축하고 메타데이터를 제거: + +`ect -strip {{경로/대상/파일.png}}` diff --git a/pages.ko/common/ed.md b/pages.ko/common/ed.md new file mode 100644 index 00000000000000..31e6db7dba0682 --- /dev/null +++ b/pages.ko/common/ed.md @@ -0,0 +1,33 @@ +# ed + +> Unix의 원본 텍스트 편집기. +> 참고: `awk`, `sed`. +> 더 많은 정보: . + +- 빈 문서로 대화형 편집기 세션을 시작: + +`ed` + +- 빈 문서와 특정 프롬프트로 대화형 편집기 세션을 시작: + +`ed {{[-p|--prompt]}} '{{> }}'` + +- 사용자에게 친숙한 오류로 대화형 편집기 세션을 시작: + +`ed {{[-v|--verbose]}}` + +- 진단, 바이트 수 및 '!' 프롬프트가 없는 빈 문서로 대화형 편집기 세션을 시작: + +`ed {{[-q|--quiet]}}` + +- 명령이 실패할 때, 종료 상태 변경 없이 대화형 편집기 세션을 시작: + +`ed {{[-l|--loose-exit-status]}}` + +- 특정 파일을 편집 (로드된 파일의 바이트가 표시): + +`ed {{경로/대상/파일}}` + +- 문자열을 모든 줄에 대한 특정 대체 문자열로 대체: + +`,s/{{정규_표현식}}/{{[대체_문자열]}}/g` diff --git a/pages.ko/common/edgepaint.md b/pages.ko/common/edgepaint.md new file mode 100644 index 00000000000000..6a95208dff13f7 --- /dev/null +++ b/pages.ko/common/edgepaint.md @@ -0,0 +1,21 @@ +# edgepaint + +> 교차하는 가장자리를 명확하게 하기 위해, 그래프 레이아웃의 가장자리에 색상을 지정. +> Graphviz 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 그래프 레이아웃 (이미 레이아웃 정보가 있음)의 가장자리에 색상을 지정하여, 교차하는 가장자리를 명확하게 함: + +`edgepaint {{경로/대상/레이아웃1.gv}} {{경로/대상/레이아웃2.gv ...}} > {{경로/대상/출력파일.gv}}` + +- 색 구성표를 사용하여 가장자리에 색상을 지정. ( 참조): + +`edgepaint -color-scheme={{accent7}} {{경로/대상/레이아웃.gv}} > {{경로/대상/출력파일.gv}}` + +- 그래프를 배치하고 가장자리에 색상을 지정한다음, PNG 이미지로 변환: + +`dot {{경로/대상/입력파일.gv}} | edgepaint | dot -T {{png}} > {{경로/대상/출력파일.png}}` + +- 도움말 표시: + +`edgepaint -?` diff --git a/pages.ko/common/eget.md b/pages.ko/common/eget.md new file mode 100644 index 00000000000000..90d4e61ec97c7b --- /dev/null +++ b/pages.ko/common/eget.md @@ -0,0 +1,32 @@ +# eget + +> GitHub에서 사전 구축된 바이너리를 쉽게 설치 가능. +> 더 많은 정보: . + +- GitHub 저장소에서 현재 시스템에 대해 사전 빌드된 바이너리를 다운로드: + +`eget {{zyedidia/micro}}` + +- URL부터 다운로드: + +`eget {{https://go.dev/dl/go1.17.5.linux-amd64.tar.gz}}` + +- 다운로드한 파일을 저장할 위치를 지정: + +`eget {{zyedidia/micro}} --to={{경로/대상/디렉터리}}` + +- 최신 버전을 사용하는 대신 Git 태그를 지정: + +`eget {{zyedidia/micro}} --tag={{v2.0.10}}` + +- 최신 안정 버전 대신 최신 시험판을 설치: + +`eget {{zyedidia/micro}} --pre-release` + +- 추출을 건너뛰고, 리소스만 다운로드: + +`eget {{zyedidia/micro}} --download-only` + +- 현재 다운로드한 버전보다 회신 버전이 있는 경우에만 다운로드: + +`eget {{zyedidia/micro}} --upgrade-only` diff --git a/pages.ko/common/egrep.md b/pages.ko/common/egrep.md new file mode 100644 index 00000000000000..de2a76d42e2df2 --- /dev/null +++ b/pages.ko/common/egrep.md @@ -0,0 +1,28 @@ +# egrep + +> 확장 정규식을 사용하여 파일에서 패턴을 찾음 (`?`, `+`, `{}`, `()`, 및 `|` 지원). +> 더 많은 정보: . + +- 파일 내에서 패턴 검색: + +`egrep "{{검색_패턴}}" {{경로/대상/파일}}` + +- 여러 파일 내에서 패턴 검색: + +`egrep "{{검색_패턴}}" {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 패턴에 대한 `stdin` 검색: + +`cat {{경로/대상/파일}} | egrep {{검색_패턴}}` + +- 각 일치 항목의 파일 이름과 줄 번호를 출력: + +`egrep --with-filename --line-number "{{검색_패턴}}" {{경로/대상/파일}}` + +- 바이너리 파일을 무시하고 디렉터리에서 반복적으로 모든 파일의 패턴을 검색: + +`egrep --recursive --binary-files={{without-match}} "{{검색_패턴}}" {{경로/대상/디렉터리}}` + +- 패턴과 일치하지 않는 라인 검색: + +`egrep --invert-match "{{검색_패턴}}" {{경로/대상/파일}}` diff --git a/pages.ko/common/eksctl.md b/pages.ko/common/eksctl.md new file mode 100644 index 00000000000000..b09eaf69e0e5f2 --- /dev/null +++ b/pages.ko/common/eksctl.md @@ -0,0 +1,36 @@ +# eksctl + +> Amazon EKS의 공식 CLI. +> 더 많은 정보: . + +- 기본 클러스터 생성: + +`eksctl create cluster` + +- 클러스터 또는 모든 클러스터에 대한 세부 정보를 나열: + +`eksctl get cluster --name={{이름}} --region={{지역}}` + +- 파일의 모든 구성 정보를 전달하는 클러스터를 생성: + +`eksctl create cluster --config-file={{경로/대상/파일}}` + +- 구성 파일을 사용하여 클러스터를 생성하고, 나중에까지 노드 그룹 생성을 건너뜀: + +`eksctl create cluster --config-file= --without-nodegroup` + +- 클러스터 삭제: + +`eksctl delete cluster --name={{이름}} --region={{지역}}` + +- 클러스터를 생성하고, 기본값이 아닌 다른 파일에 클러스터 자격 증명을 사용: + +`eksctl create cluster --name={{이름}} --nodes={{4}} --kubeconfig={{path/to/config.yaml}}` + +- 클러스터를 생성하고, 클러스터 자격 증명을 로컬에 저장하지 않도록 방지: + +`eksctl create cluster --name={{이름}} --nodes={{4}} --write-kubeconfig=false` + +- 클러스터를 생성하고 `eksctl`이 `~/.kube/eksctl/clusters` 디렉터리에서 클러스터 자격 증명을 관리: + +`eksctl create cluster --name={{이름}} --nodes={{4}} --auto-kubeconfig` diff --git a/pages.ko/common/electron-packager.md b/pages.ko/common/electron-packager.md new file mode 100644 index 00000000000000..ae717df80af581 --- /dev/null +++ b/pages.ko/common/electron-packager.md @@ -0,0 +1,21 @@ +# electron-packager + +> Windows, Linux 및 macOS용 Electron 앱 실행 파일을 빌드. +> 애플리케이션 디렉터리에 유효한 package.json이 필요. +> 더 많은 정보: . + +- 현재 아키텍처 및 플랫폼에 대한 애플리케이션을 패키징: + +`electron-packager "{{경로/대상/앱}}" "{{애플리케이션}}"` + +- 모든 아키텍처와 플랫폼에 대한 애플리케이션을 패키징: + +`electron-packager "{{경로/대상/앱}}" "{{애플리케이션}}" --all` + +- 64비트 Linux용 애플리케이션을 패키징: + +`electron-packager "{{경로/대상/앱}}" "{{애플리케이션}}" --platform="{{linux}}" --arch="{{x64}}"` + +- ARM macOS용 애플리케이션을 패키징: + +`electron-packager "{{경로/대상/앱}}" "{{애플리케이션}}" --platform="{{darwin}}" --arch="{{arm64}}"` diff --git a/pages.ko/common/electrum.md b/pages.ko/common/electrum.md new file mode 100644 index 00000000000000..91961849099aea --- /dev/null +++ b/pages.ko/common/electrum.md @@ -0,0 +1,32 @@ +# electrum + +> 인체공학적 Bitcoin 지갑 및 개인 키 관리. +> 더 많은 정보: . + +- 새로운 지갑 생성: + +`electrum -w {{new_wallet.dat}} create` + +- 오프라인 시드에서 기존 지갑 복원: + +`electrum -w {{recovery_wallet.dat}} restore -o` + +- 오프라인으로 서명된 거래 생성: + +`electrum mktx {{recipient}} {{amount}} -f 0.0000001 -F {{from}} -o` + +- 모든 지갑 수신 주소 표시: + +`electrum listaddresses -a` + +- 메시지에 설명: + +`electrum signmessage {{주소}} {{메시지}}` + +- 메시지 확인: + +`electrum verifymessage {{주소}} {{서명}} {{메시지}}` + +- 특정 일렉트럼 서버 인스턴스에만 연결: + +`electrum -p socks5:{{127.0.0.1}}:9050 -s {{56ckl5obj37gypcu.onion}}:50001:t -1` diff --git a/pages.ko/common/elinks.md b/pages.ko/common/elinks.md new file mode 100644 index 00000000000000..74e844bb5df3e3 --- /dev/null +++ b/pages.ko/common/elinks.md @@ -0,0 +1,16 @@ +# elinks + +> `lynx`와 유사한 텍스트 기반 브라우저. +> 더 많은 정보: . + +- ELink 시작: + +`elinks` + +- elinks 종료: + +`` + +- 웹페이지 출력을 콘솔에 덤프하고, ANSI 제어 코드로 텍스트 색상을 지정: + +`elinks -dump -dump-color-mode {{1}} {{url}}` diff --git a/pages.ko/common/elixir.md b/pages.ko/common/elixir.md new file mode 100644 index 00000000000000..2e1bac007e105e --- /dev/null +++ b/pages.ko/common/elixir.md @@ -0,0 +1,12 @@ +# elixir + +> Elixir 프로그래밍 언어 해석기. +> 더 많은 정보: . + +- Elixir 파일을 실행: + +`elixir {{경로/대상/파일}}` + +- Elixir 코드를 인수로 전달하여 평가: + +`elixir -e "{{코드}}"` diff --git a/pages.ko/common/elm.md b/pages.ko/common/elm.md new file mode 100644 index 00000000000000..76540231fcaa2a --- /dev/null +++ b/pages.ko/common/elm.md @@ -0,0 +1,28 @@ +# elm + +> Elm 소스 파일을 컴파일하고 실행. +> 더 많은 정보: . + +- Elm 프로젝트를 초기화하고, elm.json 파일을 생성: + +`elm init` + +- 대화형 Elm 쉘을 시작: + +`elm repl` + +- Elm 파일을 컴파일하고, 결과를 `index.html` 파일로 출력: + +`elm make {{소스}}` + +- Elm 파일을 컴파일하고, 결과를 JavaScript 파일로 출력: + +`elm make {{소스}} --output={{대상}}.js` + +- 페이지 로드 시 Elm 파일을 컴파일하는 로컬 웹 서버 시작: + +`elm reactor` + +- 에서 Elm 패키지를 설치: + +`elm install {{저자}}/{{패키지}}` diff --git a/pages.ko/common/elvish.md b/pages.ko/common/elvish.md new file mode 100644 index 00000000000000..c6178d49319693 --- /dev/null +++ b/pages.ko/common/elvish.md @@ -0,0 +1,17 @@ +# elvish + +> 표현력이 풍부한 프로그래밍 언어와 다양한 대화형 쉘. +> 참고: `nu`. +> 더 많은 정보: . + +- 대화형 쉘 세션을 시작: + +`elvish` + +- 특정 명령([c]ommands)을 실행: + +`elvish -c "{{echo 'elvish is executed'}}"` + +- 특정 스크립트 실행: + +`elvish {{경로/대상/스크립트.elv}}` diff --git a/pages.ko/common/emacs.md b/pages.ko/common/emacs.md new file mode 100644 index 00000000000000..57193dfab43c7e --- /dev/null +++ b/pages.ko/common/emacs.md @@ -0,0 +1,37 @@ +# emacs + +> 확장 가능, 사용자 정의 가능, 자체 문서화가 되는 실시간 디스플레이 편집기. +> 참고: `emacsclient`. +> 더 많은 정보: . + +- Emacs 시작 및 파일 열기: + +`emacs {{경로/대상/파일}}` + +- 지정된 줄 번호에서 파일 열기: + +`emacs +{{줄_번호}} {{경로/대상/파일}}` + +- Emacs Lisp 파일을 스크립트로 실행: + +`emacs --script {{경로/대상/파일.el}}` + +- 콘솔 모드에서 Emacs를 시작 (X 윈도우 없이): + +`emacs {{[-nw|--no-window-system]}}` + +- 백그라운드에서 Emacs 서버를 시작 (`emacsclient`를 통해 액세스 가능): + +`emacs --daemon` + +- 실행 중인 Emacs 서버와 모든 인스턴스를 중지하고, 저장되지 않은 파일에 대한 확인을 요청: + +`emacsclient --eval '(save-buffers-kill-emacs)'` + +- Emacs에 파일을 저장: + +`` + +- Emacs를 종료: + +`` diff --git a/pages.ko/common/emacsclient.md b/pages.ko/common/emacsclient.md new file mode 100644 index 00000000000000..82f7739c9fc5b2 --- /dev/null +++ b/pages.ko/common/emacsclient.md @@ -0,0 +1,29 @@ +# emacsclient + +> 기존 Emacs 서버에서 파일을 열기. +> 참고: `emacs`. +> 더 많은 정보: . + +- 기존 Emacs 서버에서 파일을 열기 (사용 가능한 경우, GUI 사용): + +`emacsclient {{경로/대상/파일}}` + +- 콘솔 모드에서 파일 열기 (X 윈도우 없이): + +`emacsclient --no-window-system {{경로/대상/파일}}` + +- 새로운 Emacs 창에서 파일을 열기: + +`emacsclient --create-frame {{경로/대상/파일}}` + +- 명령을 평가하고 출력을 `stdout`으로 출력한 다음 종료: + +`emacsclient --eval '({{명령어}})'` + +- Emacs 서버가 실행되고 있지 않은 경우, 대체 편집기를 지정: + +`emacsclient --alternate-editor {{에디터}} {{경로/대상/파일}}` + +- 실행 중인 Emacs 서버와 모든 인스턴스를 중지, 저장되지 않은 파일에 대한 확인을 요청: + +`emacsclient --eval '(save-buffers-kill-emacs)'` diff --git a/pages.ko/common/ember.md b/pages.ko/common/ember.md new file mode 100644 index 00000000000000..4a923f1149a854 --- /dev/null +++ b/pages.ko/common/ember.md @@ -0,0 +1,36 @@ +# ember + +> Ember CLI: Ember.js 애플리케이션을 생성하고 관리. +> 더 많은 정보: . + +- 새로운 Ember 애플리케이션을 생성: + +`ember new {{나의_새로운_앱}}` + +- 새로운 Ember 애드온 생성: + +`ember addon {{나의_새로운_애드온}}` + +- 프로젝트 빌드: + +`ember build` + +- 프로덕션 모드에서 프로젝트를 빌드: + +`ember build -prod` + +- 개발 서버를 실행: + +`ember serve` + +- 테스트 스위트 실행: + +`ember test` + +- 청사진을 실행하여 경로나 구성 요소와 같은 것을 생성: + +`ember generate {{타입}} {{이름}}` + +- ember-cli 에드온 설치: + +`ember install {{애드온_이름}}` diff --git a/pages.ko/common/emulator.md b/pages.ko/common/emulator.md new file mode 100644 index 00000000000000..cc1ec5338efa7e --- /dev/null +++ b/pages.ko/common/emulator.md @@ -0,0 +1,36 @@ +# emulator + +> Android 에뮬레이터 관리. +> 더 많은 정보: . + +- Android 에뮬레이터 장치를 시작: + +`emulator -avd {{이름}}` + +- 에뮬레이션에 사용할 수 있는 개발 컴퓨터에 웹캠을 표시: + +`emulator -avd {{이름}} -webcam-list` + +- 후면 카메라 설정을 무시하고 에뮬레이터를 시작 (전면 카메라의 경우 `-camera-front` 사용): + +`emulator -avd {{이름}} -camera-back {{none|emulated|webcamN}}` + +- 최대 네트워크 속도로 에뮬레이터를 시작: + +`emulator -avd {{이름}} -netspeed {{gsm|hscsd|gprs|edge|hsdpa|lte|evdo|full}}` + +- 네트워크 대기 시간이 있는 에뮬레이터를 시작: + +`emulator -avd {{이름}} -netdelay {{gsm|hscsd|gprs|edge|hsdpa|lte|evdo|none}}` + +- 지정된 HTTP/HTTPS 프록시를 통해, 모든 TCP 연결을 만들어 에뮬레이터를 시작 (포트 번호가 필요함): + +`emulator -avd {{이름}} -http-proxy {{http://example.com:80}}` + +- 지정된 SD 카드 파티션 이미지 파일로 에뮬레이터를 시작: + +`emulator -avd {{이름}} -sdcard {{경로/대상/sdcard.img}}` + +- 도움말 표시: + +`emulator -help` diff --git a/pages.ko/common/enable.md b/pages.ko/common/enable.md new file mode 100644 index 00000000000000..d62fa668601efa --- /dev/null +++ b/pages.ko/common/enable.md @@ -0,0 +1,12 @@ +# enable + +> 쉘 내장 기능 활성화 및 비활성화. +> 더 많은 정보: . + +- 내장 목록을 출력: + +`enable` + +- 내장 기능을 비활성화 (`bash`에서만 작동): + +`enable -n {{명령어}}` diff --git a/pages.ko/common/enca.md b/pages.ko/common/enca.md new file mode 100644 index 00000000000000..d5e4075510c443 --- /dev/null +++ b/pages.ko/common/enca.md @@ -0,0 +1,20 @@ +# enca + +> 텍스트 파일의 인코딩을 감지하고 변환. +> 더 많은 정보: . + +- 시스템의 위치에 따라 파일 인코딩을 감지: + +`enca {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- POSIX/C 위치 형식 (예: zh_CN, en_US)에서 언어를 지정하는 파일 인코딩을 감지: + +`enca -L {{언어}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일을 특정 인코딩으로 변환: + +`enca -L {{언어}} -x {{인코딩}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 다른 인코딩을 사용하여 기존 파일의 복사본을 만듬: + +`enca -L {{언어}} -x {{인코딩}} < {{원본_파일}} > {{새로운_파일}}` diff --git a/pages.ko/common/encfs.md b/pages.ko/common/encfs.md new file mode 100644 index 00000000000000..5ea1d986d31499 --- /dev/null +++ b/pages.ko/common/encfs.md @@ -0,0 +1,21 @@ +# encfs + +> 암호화된 가상 파일 시스템을 마운트하거나 생성. +> 마운트된 파일 시스템을 마운트 해제할 수 있는 `fusermount`도 참조. +> 더 많은 정보: . + +- 암호화된 파일 시스템 초기화 또는 마운트: + +`encfs {{/경로/대상/암호화_폴더}} {{/경로/대상/마운트_지점}}` + +- 표준 설정으로 암호화된 파일 시스템을 초기화: + +`encfs --standard {{/경로/대상/암호화_폴더}} {{/경로/대상/마운트_지점}}` + +- 데몬을 생성하는 대신 포어그라운드에서 encfs를 실행: + +`encfs -f {{/경로/대상/암호화_폴더}} {{/경로/대상/마운트_지점}}` + +- 일반 디렉터리의 암호화된 스냅샷을 마운트: + +`encfs --reverse {{경로/대상/일반_디렉토리}} {{경로/대상/암호화_폴더}}` diff --git a/pages.ko/common/enscript.md b/pages.ko/common/enscript.md new file mode 100644 index 00000000000000..15787cf5d4b059 --- /dev/null +++ b/pages.ko/common/enscript.md @@ -0,0 +1,24 @@ +# enscript + +> 텍스트 파일을 PostScript, HTML, RTF, ANSI 및 겹쳐쓰기로 변환. +> 더 많은 정보: . + +- 텍스트 파일에서 PostScript 파일: + +`enscript {{경로/대상/입력_파일}} --output={{경로/대상/출력_파일}}` + +- PostScript와 다른 언어로 파일을 생성: + +`enscript {{경로/대상/입력_파일}} --language={{html|rtf|...}} --output={{경로/대상/출력_파일}}` + +- 페이지를 열(최대 9개)로 분할하여 가로 레이아웃으로 PostScript 파일을 생성: + +`enscript {{경로/대상/입력_파일}} --columns={{숫자}} --landscape --output={{경로/대상/출력_파일}}` + +- 사용 가능한 구문 강조 언어 및 파일 형식 표시: + +`enscript --help-highlight` + +- 지정된 언어에 대한 구문 강조 및 색상을 사용하여 PostScript 파일을 생성: + +`enscript {{경로/대상/입력_파일}} --color=1 --highlight={{언어}} --output={{경로/대상/출력_파일}}` diff --git a/pages.ko/common/entr.md b/pages.ko/common/entr.md new file mode 100644 index 00000000000000..229112afde2ab0 --- /dev/null +++ b/pages.ko/common/entr.md @@ -0,0 +1,32 @@ +# entr + +> 파일이 변경되면 임의의 명령을 실행. +> 더 많은 정보: . + +- 하위 디렉터리의 파일이 변경되면 `make`로 다시 빌드: + +`{{ag -l}} | entr {{make}}` + +- 현재 디렉터리에 `.c` 소스 파일이 변경되면 `make`로 다시 빌드하고 테스트: + +`{{ls *.c}} | entr {{'make && make test'}}` + +- `ruby main.rb`를 실행하기 전에 이전에 생성된 ruby 하위 프로세스에 `SIGTERM`을 보냄: + +`{{ls *.rb}} | entr -r {{ruby main.rb}}` + +- 변경된 파일 (`/_`)을 인수로 사용하여 명령을 실행: + +`{{ls *.sql}} | entr {{psql -f}} /_` + +- 화면을 지우고([c]lear) SQL 스크립트가 업데이트된 후 쿼리를 실행: + +`{{echo my.sql}} | entr -cp {{psql -f}} /_` + +- 소스 파일이 변경되면 프로젝트를 다시 빌드하고, 출력을 처음 몇 줄로 제한: + +`{{find src/}} | entr -s {{'make | sed 10q'}}` + +- Node.js 서버를 시작하고 자동으로 로드(auto-[r]eload): + +`{{ls *.js}} | entr -r {{node app.js}}` diff --git a/pages.ko/common/env.md b/pages.ko/common/env.md new file mode 100644 index 00000000000000..53622186cd2d1c --- /dev/null +++ b/pages.ko/common/env.md @@ -0,0 +1,28 @@ +# env + +> 환경을 보여주거나 수정된 환경에서 프로그램을 실행. +> 더 많은 정보: . + +- 환경 표시: + +`env` + +- 프로그램을 실행. 프로그램 경로를 찾기 위해 스크립트에서 셔뱅 (#!) 뒤에 자주 사용됨: + +`env {{프로그램}}` + +- 환경을 지우고 프로그램을 실행: + +`env -i {{프로그램}}` + +- 환경에서 변수를 제거하고 프로그램을 실행: + +`env -u {{변수}} {{프로그램}}` + +- 변수를 설정하고 프로그램을 실행: + +`env {{변수}}={{value}} {{프로그램}}` + +- 하나 이상의 변수를 설정하고 프로그램을 실행: + +`env {{변수1}}={{값}} {{변수2}}={{값}} {{변수3}}={{값}} {{프로그램}}` diff --git a/pages.ko/common/envoy.md b/pages.ko/common/envoy.md new file mode 100644 index 00000000000000..327a386893e13e --- /dev/null +++ b/pages.ko/common/envoy.md @@ -0,0 +1,28 @@ +# envoy + +> Laravel 원격 서버를 위한 PHP 기반 작업 관리자. +> 더 많은 정보: . + +- 구성 파일을 초기화: + +`envoy init {{호스트_파일}}` + +- 작업 실행: + +`envoy run {{작업_이름}}` + +- 특정 프로젝트에서 작업 실행: + +`envoy run --path {{경로/대상/디렉터리}} {{작업_이름}}` + +- 작업을 실행하고 실패 시 계속 진행: + +`envoy run --continue {{작업_이름}}` + +- 검사를 위해 작업을 Bash 스크립트로 덤프: + +`envoy run --pretend {{작업_이름}}` + +- SSH를 통해 지정된 서버에 연결: + +`envoy ssh {{서버_이름}}` diff --git a/pages.ko/common/envsubst.md b/pages.ko/common/envsubst.md new file mode 100644 index 00000000000000..9eb964d1f7c12b --- /dev/null +++ b/pages.ko/common/envsubst.md @@ -0,0 +1,21 @@ +# envsubst + +> 환경변수를 쉘 형식 문자열의 값으로 대체. +> 교체할 변수는 `${var}` 또는 `$var` 형식이어야 함. +> 더 많은 정보: . + +- `stdin`의 환경 변수를 바꾸고 `stdout`으로 출력: + +`echo '{{$HOME}}' | envsubst` + +- 입력 파일의 환경 변수를 바꾸고 `stdout`으로 출력: + +`envsubst < {{경로/대상/입력_파일}}` + +- 입력 파일의 환경 변수를 바꾸고 파일로 출력: + +`envsubst < {{경로/대상/입력_파일}} > {{경로/대상/출력_파일}}` + +- 공백으로 구분된 목록에서 입력 파일의 환경 변수를 변경: + +`envsubst '{{$USER $SHELL $HOME}}' < {{경로/대상/입력_파일}}` diff --git a/pages.ko/common/eol.md b/pages.ko/common/eol.md new file mode 100644 index 00000000000000..cb1f6711cfcf46 --- /dev/null +++ b/pages.ko/common/eol.md @@ -0,0 +1,28 @@ +# eol + +> 여러 제품의 수명 종료 날짜(EoL)를 표시. +> 더 많은 정보: . + +- 사용 가능한 모든 제품의 목록을 나열: + +`eol` + +- 하나 이상의 제품에 대한 EoL을 가져옴: + +`eol {{제품1 제품2 ...}}` + +- 제품 웹페이지 열기: + +`eol {{제품}} --web` + +- 특정 형식으로 하나 이상의 제품에 대한 EoL을 가져옴노: + +`eol {{제품1 제품2 ...}} --format {{html|json|md|markdown|pretty|rst|csv|tsv|yaml}}` + +- 하나 이상의 제품에 대한 EoL을 단일 마크다운 파일로 가져옴: + +`eol {{제품1 제품2 ...}} --format {{마크다운}} > {{eol_보고서.md}}` + +- 도움말 표시: + +`eol --help` diff --git a/pages.ko/common/eqn.md b/pages.ko/common/eqn.md new file mode 100644 index 00000000000000..a79e9d8940b8b8 --- /dev/null +++ b/pages.ko/common/eqn.md @@ -0,0 +1,13 @@ +# eqn + +> groff (GNU Troff) 문서 형식화 시스템용 방정식 전처리. +> 참고: `troff` 및 `groff`. +> 더 많은 정보: . + +- 방정식으로 입력을 처리하고, groff를 사용하여 향후 조판을 위해 출력을 PostScript에 저장: + +`eqn {{경로/대상/입력.eqn}} > {{경로/대상/출력.roff}}` + +- 매크로([me] macro) 패키지를 사용하여 방정식이 포함된 입력 파일을 PDF로 조판: + +`eqn -T {{pdf}} {{경로/대상/입력.eqn}} | groff -{{me}} -T {{pdf}} > {{경로/대상/출력.pdf}}` diff --git a/pages.ko/common/erl.md b/pages.ko/common/erl.md new file mode 100644 index 00000000000000..0f162c07307806 --- /dev/null +++ b/pages.ko/common/erl.md @@ -0,0 +1,16 @@ +# erl + +> Erlang 프로그래밍 언어로 프로그램을 실행하고 관리. +> 더 많은 정보: . + +- 순차적 Erlang 프로그램을 공통 스크립트로 컴파일하고 실행한 후 종료: + +`erlc {{경로/대상/파일1 경로/대상/파일2 ...}} && erl -noshell '{{mymodule:myfunction(arguments)}}, init:stop().'` + +- 실행중인 Erlang 노드에 연결: + +`erl -remsh {{노드이름}}@{{호스트명}} -sname {{커스텀_단축이름}} -hidden -setcookie {{원격노드의_쿠키}}` + +- 디렉터리에서 모듈을 로드하도록 Erlang 쉘에 지시: + +`erl -pa {{경로/대상/beam파일에_관한_디렉토리}}` diff --git a/pages.ko/common/ern.md b/pages.ko/common/ern.md new file mode 100644 index 00000000000000..5eae8b865c1056 --- /dev/null +++ b/pages.ko/common/ern.md @@ -0,0 +1,32 @@ +# ern + +> 전극 네이티브 플랫폼 명령줄 클라이언트. +> 더 많은 정보: . + +- 새로운 `ern` 애플리케이션(`MiniApp`)을 생성: + +`ern create-miniapp {{애플리케이션_이름}}` + +- iOS/Android 러너 애플리케이션에서 하나 이상의 `MiniApps`를 실행: + +`ern run-{{ios|android}}` + +- 전극 네이티브 컨테이너 만들기: + +`ern create-container --miniapps {{/경로/대상/miniapp_디렉토리}} --platform {{ios|android}}` + +- 전극 네이티브 컨테이너를 로컬 Maven 저장소에 저장: + +`ern publish-container --publisher {{maven}} --platform {{android}} --extra {{'{"groupId":"com.walmart.ern","artifactId":"quickstart"}'}}` + +- iOS 컨테이너를 사전 컴파일된 바이너리 프레임워크로 변환: + +`ern transform-container --platform {{ios}} --transformer {{xcframework}}` + +- 설치된 모든 전극 Native 버전을 나열: + +`ern platform versions` + +- 로깅 수준을 설정: + +`ern platform config set logLevel {{trace|debug}}` diff --git a/pages.ko/common/errno.md b/pages.ko/common/errno.md new file mode 100644 index 00000000000000..1a08c34f825859 --- /dev/null +++ b/pages.ko/common/errno.md @@ -0,0 +1,20 @@ +# errno + +> 오류 번호 이름과 설명을 검색. +> 더 많은 정보: . + +- 이름이나 코드로 오류 번호 설명 조회: + +`errno {{name|code}}` + +- 모든 오류 번호 이름, 코드 및 설명을 나열: + +`errno --list` + +- 설명에 주어진 텍스트가 모두 포함된 코드를 검색: + +`errno --search {{텍스트}}` + +- 설명에 주어진 텍스트 (모든 로케일)가 모두 포함된 코드를 검색: + +`errno --search-all-locales {{텍스트}}` diff --git a/pages.ko/common/esbuild.md b/pages.ko/common/esbuild.md new file mode 100644 index 00000000000000..2ad8efcece4bd5 --- /dev/null +++ b/pages.ko/common/esbuild.md @@ -0,0 +1,36 @@ +# esbuild + +> 속도를 위해 제작된 자바스크립트 번들러 및 압축 도구. +> 더 많은 정보: . + +- 자바스크립트 애플리케이션을 번들로 묶어 `stdout`으로 인쇄: + +`esbuild --bundle {{경로/대상/파일.js}}` + +- `stdin`에서 JSX 애플리케이션 번들링: + +`esbuild --bundle --outfile={{경로/대상/파일.js}} < {{경로/대상/파일.jsx}}` + +- `production` 모드에서 소스맵을 사용하여 JSX 애플리케이션을 번들로 묶고 압축: + +`esbuild --bundle --define:{{process.env.NODE_ENV=\"production\"}} --minify --sourcemap {{경로/대상/파일.js}}` + +- 쉼표로 구분된 브라우저 목록을 위해 JSX 애플리케이션을 번들로 묶음: + +`esbuild --bundle --minify --sourcemap --target={{chrome58,firefox57,safari11,edge16}} {{경로/대상/파일.jsx}}` + +- 특정 노드 버전에 대한 자바스크립트 애플리케이션 번들: + +`esbuild --bundle --platform={{node}} --target={{node12}} {{경로/대상/파일.js}}` + +- `.js` 파일에 JSX 구문을 활성화하는 자바스크립트 애플리케이션을 번들로 묶음: + +`esbuild --bundle app.js --loader:{{.js=jsx}} {{경로/대상/파일.js}}` + +- HTTP 서버에서 자바스크립트 애플리케이션을 번들링하고 제공: + +`esbuild --bundle --serve={{port}} --outfile={{index.js}} {{경로/대상/파일.js}}` + +- 파일 목록을 출력 폴더에 번들링: + +`esbuild --bundle --outdir={{경로/대상/출력_폴더}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/escp2topbm.md b/pages.ko/common/escp2topbm.md new file mode 100644 index 00000000000000..873ace06d82d4e --- /dev/null +++ b/pages.ko/common/escp2topbm.md @@ -0,0 +1,9 @@ +# escp2topbm + +> PBM를 ESC/P2 프린터 파일로 변환. +> 참고: `pbmtoescp2`. +> 더 많은 정보: . + +- ESC/P2 프린터 파일을 PBM 이미지로 변환: + +`escp2topbm {{경로/대상/이미지.escp2}} > {{경로/대상/출력파일.pbm}}` diff --git a/pages.ko/common/eslint.md b/pages.ko/common/eslint.md new file mode 100644 index 00000000000000..66abe654a83dd9 --- /dev/null +++ b/pages.ko/common/eslint.md @@ -0,0 +1,20 @@ +# eslint + +> JavaScript 및 JSX용 플러그형 린팅 유틸리티. +> 더 많은 정보: . + +- ESLint 구성파일 생성: + +`eslint --init` + +- 하나 이상의 파일 린팅: + +`eslint {{경로/대상/파일1.js 경로/대상/파일2.js ...}}` + +- 린트 문제 수정: + +`eslint --fix` + +- 지정된 구성 파일을 사용하는 린트: + +`eslint -c {{경로/대상/구성_파일}} {{경로/대상/파일1.js 경로/대상/파일2.js}}` diff --git a/pages.ko/common/espanso.md b/pages.ko/common/espanso.md new file mode 100644 index 00000000000000..63722008ecc045 --- /dev/null +++ b/pages.ko/common/espanso.md @@ -0,0 +1,20 @@ +# espanso + +> Rust로 작성된 크로스 플랫폼 텍스트 확장기. +> 더 많은 정보: . + +- 상태 확인: + +`espanso status` + +- 구성 파일 편집: + +`espanso edit config` + +- 허브 스토어 ()에서 패키지를 설치: + +`espanso install {{패키지}}` + +- 다시 시작 (패키지 설치 후 필요, 실패 시 유용함): + +`espanso restart` diff --git a/pages.ko/common/espeak.md b/pages.ko/common/espeak.md new file mode 100644 index 00000000000000..12ba9549e082b0 --- /dev/null +++ b/pages.ko/common/espeak.md @@ -0,0 +1,20 @@ +# espeak + +> 텍스트 음성 변환을 사용하여, 기본 사운드 장치를 통해 이야기. +> 더 많은 정보: . + +- 문구를 큰 소리로 이야기: + +`espeak "I like to ride my bike."` + +- 파일을 소리내어 말하기: + +`espeak -f {{경로/대상/파일}}` + +- 출력을 직접 말하지 않고, WAV 오디오 파일로 저장: + +`espeak -w {{파일이름.wav}} "It's GNU plus Linux"` + +- 다른 목소리를 사용: + +`espeak -v {{음성}}` diff --git a/pages.ko/common/esptool.py.md b/pages.ko/common/esptool.py.md new file mode 100644 index 00000000000000..f55324ee4ec9da --- /dev/null +++ b/pages.ko/common/esptool.py.md @@ -0,0 +1,12 @@ +# esptool.py + +> Espressif 칩용 부트로더 유틸리티 (예: ESP8266). +> 더 많은 정보: . + +- 특정 포트 및 전송 속도를 사용하여 펌웨어 파일을 ESP 칩에 플래시: + +`sudo esptool.py --port {{포트}} --baud {{전송_속도}} write_flash 0x0 {{경로/대상/펌웨어.bin}}` + +- ESP 칩의 플래시를 지움: + +`sudo esptool.py --port {{포트}} --baud {{전송_속도}} erase_flash` diff --git a/pages.ko/common/etcd.md b/pages.ko/common/etcd.md new file mode 100644 index 00000000000000..4d5332ae93a081 --- /dev/null +++ b/pages.ko/common/etcd.md @@ -0,0 +1,20 @@ +# etcd + +> 분산 시스템의 가장 중요한 데이터를 위한, 신뢰할 수 있는 분산 키-값 저장소. +> 더 많은 정보: . + +- 단일 노드 etcd 클러스터를 시작: + +`etcd` + +- 단일 노드 etcd 클러스터를 시작하고, 사용자 정의 URL에서 클라이언트 요청을 수신: + +`etcd --advertise-client-urls {{http://127.0.0.1:1234}} --listen-client-urls {{http://127.0.0.1:1234}}` + +- 사용자 정의 이름으로 단일 노드 etcd 클러스터를 시작: + +`etcd --name {{내_etcd_클러스터}}` + +- 에서 사용할 수 있는 광범위한 측정항목을 사용하여, 단일 노드 etcd 클러스터를 시작: + +`etcd --enable-pprof --metrics extensive` diff --git a/pages.ko/common/etcdctl.md b/pages.ko/common/etcdctl.md new file mode 100644 index 00000000000000..7910faa172cf6b --- /dev/null +++ b/pages.ko/common/etcdctl.md @@ -0,0 +1,36 @@ +# etcdctl + +> 고가용성 키-값 쌍 저장소인 `etcd`와 상호작용. +> 더 많은 정보: . + +- 지정된 키와 연관된 값을 표시: + +`etcdctl get {{자신의_키}}` + +- 키-값-쌍을 저장: + +`etcdctl put {{자신의_키}} {{자신의_값}}` + +- 키-값 쌍 삭제: + +`etcdctl del {{자신의_키}}` + +- 파일에서 값을 읽어 키-값 쌍을 저장: + +`etcdctl put {{자신의_파일}} < {{경로/대상/파일.txt}}` + +- etcd 키 저장소의 스냅샷을 저장: + +`etcdctl snapshot save {{경로/대상/스냅샷.db}}` + +- etcd 키 저장소의 스냅샷을 복원 (나중에 etcd 서버를 다시 시작): + +`etcdctl snapshot restore {{경로/대상/스냅샷.db}}` + +- 사용자 추가: + +`etcdctl user add {{자신의_유저}}` + +- 주요 변경사항 살펴보기: + +`etcdctl watch {{자신의_키}}` diff --git a/pages.ko/common/eva.md b/pages.ko/common/eva.md new file mode 100644 index 00000000000000..c4269cd6ae527d --- /dev/null +++ b/pages.ko/common/eva.md @@ -0,0 +1,20 @@ +# eva + +> 구문 강조 및 지속적인 기록을 갖춘 `bc`와 유사한 간단한 계산기 REPL. +> 더 많은 정보: . + +- 대화형 모드에서 계산기 실행: + +`eva` + +- 표현식의 결과를 계산: + +`eva "{{(1 + 2) * 2 ^ 2}}"` + +- 소수 자릿수를 5로 강제하는 표현식을 계산: + +`eva --fix {{5}} "{{5 / 3}}"` + +- 사인과 코사인을 사용하여 표현식을 계산: + +`eva "{{sin(1) + cos(1)}}"` diff --git a/pages.ko/common/eval.md b/pages.ko/common/eval.md new file mode 100644 index 00000000000000..c8bb376222f1d8 --- /dev/null +++ b/pages.ko/common/eval.md @@ -0,0 +1,12 @@ +# eval + +> 현재 쉘에서 인수를 단일 명령으로 실행하고 그 결과를 반환. +> 더 많은 정보: . + +- "foo" 인수를 사용하여 `echo`를 호출: + +`eval "{{echo foo}}"` + +- 현재 쉘에서 변수를 설정: + +`eval "{{foo=bar}}"` diff --git a/pages.ko/common/evil-winrm.md b/pages.ko/common/evil-winrm.md new file mode 100644 index 00000000000000..0119f36f7547c4 --- /dev/null +++ b/pages.ko/common/evil-winrm.md @@ -0,0 +1,37 @@ +# evil-winrm + +> 침투 테스트를 위한 WinRM(Windows 원격 관리 쉘). +> 연결되면, 대상 호스트에 PowerShell 프롬프트가 표시됨. +> 더 많은 정보: . + +- 호스트에 연결: + +`evil-winrm {{[-i|--ip]}} {{아이피}} {{[-u|--user]}} {{사용자}} {{[-p|--password]}} {{비밀번호}}` + +- 비밀번호 해시를 전달하여 호스트에 연결: + +`evil-winrm {{[-i|--ip]}} {{아이피}} {{[-u|--user]}} {{사용자}} {{[-H|--hash]}} {{nt_hash}}` + +- 스크립트 및 실행 파일에 대한 디렉터리를 지정하여 호스트에 연결: + +`evil-winrm {{[-i|--ip]}} {{아이피}} {{[-u|--user]}} {{사용자}} {{[-p|--password]}} {{비밀번호}} {{[-s|--scripts]}} {{경로/대상/스크립트}} {{[-e|--executables]}} {{경로/대상/실행파일}}` + +- SSL을 사용하여 호스트에 연결: + +`evil-winrm {{[-i|--ip]}} {{아이피}} {{[-u|--user]}} {{사용자}} {{[-p|--password]}} {{비밀번호}} {{[-S|--ssl]}} {{[-c|--pub-key]}} {{경로/대상/공개키}} {{[-k|--priv-key]}} {{경로/대상/개인키}}` + +- 호스트에 파일 업로드: + +`PS > upload {{경로/대상/로컬/파일}} {{경로/대상/원격/파일}}` + +- 로드된 모든 PowerShell 함수를 나열: + +`PS > menu` + +- `--scripts` 디렉터리에서 PowerShell 스크립트를 로드: + +`PS > {{스크립트.ps1}}` + +- `--executables` 디렉터리에서 호스트의 바이너리를 호출: + +`PS > Invoke-Binary {{바이너리.exe}}` diff --git a/pages.ko/common/ex.md b/pages.ko/common/ex.md new file mode 100644 index 00000000000000..b18937db3a212d --- /dev/null +++ b/pages.ko/common/ex.md @@ -0,0 +1,33 @@ +# ex + +> 명령줄 텍스트 편집기. +> 참고: `vim`. +> 더 많은 정보: . + +- 파일 열기: + +`ex {{경로/대상/파일}}` + +- 저장하고 종료: + +`wq` + +- 마지막 작업 실행 취소: + +`undo` + +- 파일에서 패턴 검색: + +`/{{검색_패턴}}` + +- 전체 파일에서 정규식 대체를 수행: + +`%s/{{정규_표현식}}/{{대체}}/g` + +- 텍스트 삽입: + +`i{{텍스트}}` + +- Vim으로 전환: + +`visual` diff --git a/pages.ko/common/exa.md b/pages.ko/common/exa.md new file mode 100644 index 00000000000000..af5c83662e71a7 --- /dev/null +++ b/pages.ko/common/exa.md @@ -0,0 +1,36 @@ +# exa + +> `ls`의 현대적인 대체품 (디렉토리 내용 나열). +> 더 많은 정보: . + +- 파일을 한 줄에 하나씩 나열: + +`exa {{[-1|--oneline]}}` + +- 숨김 파일을 포함한 모든 파일 나열: + +`exa {{[-a|--all]}}` + +- 모든 파일의 긴 형식 목록 (권한, 소유권, 크기 및 수정 날짜): + +`exa {{[-l|--long]}} {{[-a|--all]}}` + +- 가장 큰 파일을 맨 위에 나열: + +`exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` + +- 파일 트리를 3단계 깊이로 표시: + +`exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}` + +- 수정 날짜순으로 파일 나열 (오래된 것부터): + +`exa {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` + +- 헤더, 아이콘 및 Git 상태와 함께 파일 나열: + +`exa {{[-l|--long]}} {{[-h|--header]}} --icons --git` + +- `.gitignore`에 언급된 파일은 나열하지 않음: + +`exa --git-ignore` diff --git a/pages.ko/common/exec.md b/pages.ko/common/exec.md new file mode 100644 index 00000000000000..3908744d82069f --- /dev/null +++ b/pages.ko/common/exec.md @@ -0,0 +1,8 @@ +# exec + +> 하위 프로세스를 생성하지 않고 명령을 실행. +> 더 많은 정보: . + +- 현재 환경 변수를 사용하여 특정 명령을 실행: + +`exec {{명령어 -with -flags}}` diff --git a/pages.ko/common/exenv.md b/pages.ko/common/exenv.md new file mode 100644 index 00000000000000..d276b2537251cb --- /dev/null +++ b/pages.ko/common/exenv.md @@ -0,0 +1,24 @@ +# exenv + +> Elixir 버전을 쉽게 설치하고 애플리케이션 환경을 관리. +> 더 많은 정보: . + +- 설치된 버전 목록 표시: + +`exenv versions` + +- 전체 시스템에서 특정 버전의 Elixir을 사용: + +`exenv global {{버전}}` + +- 현재 애플리케이션/프로젝트 디렉토리에 특정 버전의 Elixir를 사용: + +`exenv local {{버전}}` + +- Show the currently selected Elixir version: + +`exenv {{버전}}` + +- Elixir 버전을 설치 (`elixir-build` 플러그인 필요): + +`exenv install {{버전}}` diff --git a/pages.ko/common/exercism.md b/pages.ko/common/exercism.md new file mode 100644 index 00000000000000..07a9761b8a24e7 --- /dev/null +++ b/pages.ko/common/exercism.md @@ -0,0 +1,20 @@ +# exercism + +> 문제를 다운로드하고 해결. +> 더 많은 정보: . + +- 문제에 대한 애플리케이션 토큰 및 기본 작업 공간을 구성: + +`exercism configure --token={{당신의-애플리케이션-토큰}} --workspace={{/경로/대상/선호하는/작업공간}}` + +- 특정 문제를 다운로드: + +`exercism download --exercise={{문제_별칭}} --track={{트랙_별칭}}` + +- 문제 제출: + +`exercism submit {{경로/대상/파일}}` + +- 문제 해결 작업 영역의 경로를 출력: + +`exercism workspace` diff --git a/pages.ko/common/exfatlabel.md b/pages.ko/common/exfatlabel.md new file mode 100644 index 00000000000000..62c117a4f60afc --- /dev/null +++ b/pages.ko/common/exfatlabel.md @@ -0,0 +1,12 @@ +# exfatlabel + +> exFAT 파일 시스템 레이블 가져오기 또는 설정. +> 더 많은 정보: . + +- 현재 파일 시스템 레이블을 표시: + +`exfatlabel {{/dev/sda}}` + +- 파일 시스템 레이블을 설정: + +`exfatlabel {{/dev/sda}} {{새로운_라벨}}` diff --git a/pages.ko/common/exiftool.md b/pages.ko/common/exiftool.md new file mode 100644 index 00000000000000..87f21e9b3aa453 --- /dev/null +++ b/pages.ko/common/exiftool.md @@ -0,0 +1,36 @@ +# exiftool + +> 파일의 메타 정보를 읽고 쓰기. +> 더 많은 정보: . + +- 특정 파일에 대한 EXIF 메타데이터를 출력 : + +`exiftool {{경로/대상/파일}}` + +- 지정된 파일에서 모든 EXIF 메타데이터를 제거 : + +`exiftool -All= {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 지정된 이미지 파일에서 GPS EXIF 메타데이터를 제거: + +`exiftool "-gps*=" {{경로/대상/이미지1 경로/대상/이미지2 ...}}` + +- 지정된 이미지 파일에서 모든 EXIF 메타데이터를 제거한 다음, 색상 및 방향에 대한 메타데이터를 다시 추가: + +`exiftool -All= -tagsfromfile @ -colorspacetags -orientation {{경로/대상/이미지1 경로/대상/이미지2 ...}}` + +- 디렉터리의 모든 사진을 찍은 날짜를 1시간 앞으로 이동: + +`exiftool "-AllDates+=0:0:0 1:0:0" {{경로/대상/디렉토리}}` + +- 현재 디렉토리의 모든 JPEG 사진을 촬영한 날짜를 1일 2시간 뒤로 이동: + +`exiftool "-AllDates-=0:0:1 2:0:0" -ext jpg` + +- 백업을 유지하지 않고, `DateTimeOriginal` 필드에서 1.5 시간을 뺀 값만 변경: + +`exiftool -DateTimeOriginal-=1.5 -overwrite_original` + +- `DateTimeOriginal` 필드를 기반으로 디렉토리에 있는 모든 JPEG 사진의 이름을 반복적으로 변경: + +`exiftool '-filename 쉘 종료. +> 더 많은 정보: . + +- 가장 최근에 실행된 명령의 종료 상태로 종료: + +`exit` + +- 특정 종료 상태로 종료: + +`exit {{종료_코드}}` diff --git a/pages.ko/common/exiv2.md b/pages.ko/common/exiv2.md new file mode 100644 index 00000000000000..cf5fcd5f4652f3 --- /dev/null +++ b/pages.ko/common/exiv2.md @@ -0,0 +1,28 @@ +# exiv2 + +> 이미지 메타데이터 도구. +> 더 많은 정보: . + +- 이미지 Exif 메타데이터 요약을 출력: + +`exiv2 {{경로/대상/파일}}` + +- 해석된 값으로 모든 메타데이터 (Exif, IPTC, XMP)를 출력: + +`exiv2 -P kt {{경로/대상/파일}}` + +- 윈시 값으로 모든 메타데이터를 출력: + +`exiv2 -P kv {{경로/대상/파일}}` + +- 이미지에서 모든 메타데이터를 삭제: + +`exiv2 -d a {{경로/대상/파일}}` + +- 파일 타임스탬프를 유지하면서, 모든 메타데이터를 삭제: + +`exiv2 -d a -k {{경로/대상/파일}}` + +- 메타데이터(파일 타임스탬프가 아님)의 날짜와 시간을 앞에 추가하여 파일 이름을 변경: + +`exiv2 -r {{'%Y%m%d_%H%M%S_:basename:'}} {{경로/대상/파일}}` diff --git a/pages.ko/common/expand.md b/pages.ko/common/expand.md new file mode 100644 index 00000000000000..60e4b6592696dc --- /dev/null +++ b/pages.ko/common/expand.md @@ -0,0 +1,24 @@ +# expand + +> 탭을 공백으로 변환. +> 더 많은 정보: . + +- 각 파일의 탭을 공백으로 변환하여 `stdout`에 작성: + +`expand {{경로/대상/파일}}` + +- `stdin`에서 읽어 탭을 공백으로 변환: + +`expand` + +- 공백이 아닌 경우 탭을 변환하지 않음: + +`expand -i {{경로/대상/파일}}` + +- 탭을 8자가 아닌 특정 수의 문자 간격으로 위치: + +`expand -t {{숫자}} {{경로/대상/파일}}` + +- 명시적인 탭 위치를 쉼표로 구분한 목록을 사용: + +`expand -t {{1,4,6}}` diff --git a/pages.ko/common/export.md b/pages.ko/common/export.md new file mode 100644 index 00000000000000..e0f542192be618 --- /dev/null +++ b/pages.ko/common/export.md @@ -0,0 +1,12 @@ +# export + +> 쉘 변수를 하위 프로세스로 내보냄. +> 더 많은 정보: . + +- 환경 변수를 설정: + +`export {{변수}}={{값}}` + +- 환경 변수 `PATH`에 경로 이름을 추가: + +`export PATH=$PATH:{{경로/대상/추가}}` diff --git a/pages.ko/common/expose.md b/pages.ko/common/expose.md new file mode 100644 index 00000000000000..7514c6fe9f592c --- /dev/null +++ b/pages.ko/common/expose.md @@ -0,0 +1,28 @@ +# expose + +> 웹 사이트 공유를 위한 오픈 소스 터널 애플리케이션. +> 더 많은 정보: . + +- 인증 토큰을 등록: + +`expose token {{토큰}}` + +- 현재 작업 디렉터리를 공유: + +`expose` + +- 현재 작업 디렉터리를 특정 하위 도메인과 공유: + +`expose --subdomain={{하위도메인}}` + +- 로컬 URL 공유: + +`expose share {{url}}` + +- Expose 서버를 실행: + +`expose serve` + +- 특정 호스트 이름으로 Expose 서버를 실행: + +`expose serve {{호스트명}}` diff --git a/pages.ko/common/expr.md b/pages.ko/common/expr.md new file mode 100644 index 00000000000000..ff7cda6fc7aa60 --- /dev/null +++ b/pages.ko/common/expr.md @@ -0,0 +1,32 @@ +# expr + +> 표현식을 평가하고 문자열을 조작. +> 더 많은 정보: . + +- 특정 문자열의 길이를 가져옴: + +`expr length "{{문자열}}"` + +- 특정 길이의 문자열의 하위 문자열을 가져옴: + +`expr substr "{{문자열}}" {{시작}} {{길이}}` + +- 고정된 패턴과 특정 하위 문자열을 일치시킴: + +`expr match "{{문자열}}" '{{패턴}}'` + +- 문자열의 특정 세트에서 첫 번째 문자 위치를 가져옴: + +`expr index "{{문자열}}" "{{문자}}"` + +- 특정 수학적 표현을 계산: + +`expr {{표현식1}} {{+|-|*|/|%}} {{표현식2}}` + +- 값이 0이 아니며 null이 아닌 경우, 첫 번째 표현식을 가져오고, 그렇지 않으면 두 번째 표현식을 가져옴: + +`expr {{표현식1}} \| {{표현식2}}` + +- 두 표현식이 모두 0이 아니고 null이 아닌 경우, 첫 번째 표현식을 가져오고 그렇지 않으면 0을 얻음: + +`expr {{표현식1}} \& {{표현식2}}` diff --git a/pages.ko/common/exrex.md b/pages.ko/common/exrex.md new file mode 100644 index 00000000000000..658a897edd3e45 --- /dev/null +++ b/pages.ko/common/exrex.md @@ -0,0 +1,37 @@ +# exrex + +> 정규식에 대해 모두/무작위로 일치하는 문자열을 생성. +> 정규식을 단순화할 수 있음. +> 더 많은 정보: . + +- 정규식과 일치하는 가능한 모든 문자열을 생성: + +`exrex '{{정규_표현식}}'` + +- 정규식과 일치하는 임의의 문자열을 생성: + +`exrex --random '{{정규_표현식}}'` + +- 정규식과 일치하는 최대 100개의 문자열을 생성: + +`exrex --max-number {{100}} '{{정규_표현식}}'` + +- 사용자 정의 구분 기호 문자열로 결합된, 정규식과 일치하는 가능한 모든 문자열을 생성: + +`exrex --delimiter "{{, }}" '{{정규_표현식}}'` + +- 정규식과 일치하는 가능한 모든 문자열의 개수를 출력: + +`exrex --count '{{정규_표현식}}'` + +- 정규 표현식을 단순화: + +`exrex --simplify '{{ab|ac}}'` + +- 눈 출력: + +`exrex '{{[oO0](_)[oO0]}}'` + +- 보트 출력: + +`exrex '{{( {20}(\| *\\|-{22}|\|)|\.={50}| ( ){0,5}\\\.| {12}~{39})}}'` diff --git a/pages.ko/common/eyuvtoppm.md b/pages.ko/common/eyuvtoppm.md new file mode 100644 index 00000000000000..c0680902365045 --- /dev/null +++ b/pages.ko/common/eyuvtoppm.md @@ -0,0 +1,8 @@ +# eyuvtoppm + +> Berkeley YUV 파일을 PPM으로 변환. +> 더 많은 정보: . + +- 지정된 입력 파일에서 Berkeley YUV 파일을 읽고, 이를 PPM 이미지로 변환한 후 지정된 출력 파일에 저장: + +`eyuvtoppm --width {{너비}} --height {{높이}} {{경로/대상/입력_파일.eyuv}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/eza.md b/pages.ko/common/eza.md new file mode 100644 index 00000000000000..132a5f0f0e72ee --- /dev/null +++ b/pages.ko/common/eza.md @@ -0,0 +1,36 @@ +# eza + +> `exa`를 기반으로 한 `ls`의 현대적이고 유지 관리되는 대체품. +> 더 많은 정보: . + +- 파일을 한 줄에 하나씩 나열: + +`eza --oneline` + +- 숨김 파일을 포함한 모든 파일 나열: + +`eza --all` + +- 모든 파일의 긴 형식 목록 (권한, 소유권, 크기 및 수정 날짜): + +`eza --long --all` + +- 가장 큰 파일을 맨 위에 나열: + +`eza --reverse --sort={{size}}` + +- 파일 트리를 3단계 깊이로 표시: + +`eza --long --tree --level={{3}}` + +- 수정 날짜순으로 파일 나열 (오래된 것부터): + +`eza --long --sort={{modified}}` + +- 헤더, 아이콘 및 Git 상태와 함께 파일 나열: + +`eza --long --header --icons --git` + +- `.gitignore`에 언급된 파일은 나열하지 않음: + +`eza --git-ignore` diff --git a/pages.ko/common/f3fix.md b/pages.ko/common/f3fix.md new file mode 100644 index 00000000000000..e497a737ad5225 --- /dev/null +++ b/pages.ko/common/f3fix.md @@ -0,0 +1,17 @@ +# f3fix + +> 가짜 플래시 드라이브의 파티션 테이블 편집. +> 참고: `f3probe`, `f3write`, `f3read`. +> 더 많은 정보: . + +- 실제 용량과 일치하는 단일 파티션으로 가짜 플래시 드라이브를 채우기: + +`sudo f3fix {{/dev/장치_이름}}` + +- 파티션을 부팅 가능한 것으로 표시: + +`sudo f3fix --boot {{/dev/장치_이름}}` + +- 파일 시스템을 지정: + +`sudo f3fix --fs-type={{파일시스템_타입}} {{/dev/장치_이름}}` diff --git a/pages.ko/common/f3probe.md b/pages.ko/common/f3probe.md new file mode 100644 index 00000000000000..811992fa415a11 --- /dev/null +++ b/pages.ko/common/f3probe.md @@ -0,0 +1,17 @@ +# f3probe + +> 위조 플래시 메모리가 있는지 블록 장치(예: 플래시 드라이브 또는 microSD 카드)를 조사. +> 참고: `f3read`, `f3write`, `f3fix`. +> 더 많은 정보: . + +- 블록 장치 조사: + +`sudo f3probe {{경로/대상/블록_장치}}` + +- 가능한 최소한의 RAM을 사용: + +`sudo f3probe --min-memory {{경로/대상/블록_장치}}` + +- 디스크 작업에 걸리는 시간: + +`sudo f3probe --time-ops {{경로/대상/블록_장치}}` diff --git a/pages.ko/common/f3read.md b/pages.ko/common/f3read.md new file mode 100644 index 00000000000000..0a265c2f1cfe53 --- /dev/null +++ b/pages.ko/common/f3read.md @@ -0,0 +1,9 @@ +# f3read + +> .h2w 파일을 검증하여 드라이브의 실제 용량을 테스트. +> 참고: `f3write`, `f3probe`, `f3fix`. +> 더 많은 정보: . + +- 특정 디렉터리의 파일을 확인하여, 장치의 유효성을 검사: + +`f3read {{경로/대상/마운트_포인트}}` diff --git a/pages.ko/common/f3write.md b/pages.ko/common/f3write.md new file mode 100644 index 00000000000000..be38ab2f07d297 --- /dev/null +++ b/pages.ko/common/f3write.md @@ -0,0 +1,13 @@ +# f3write + +> 실제 용량을 테스트하려면, 드라이브를 .h2w 파일로 채우기. +> 참고: `f3read`, `f3probe`, `f3fix`. +> 더 많은 정보: . + +- 지정된 디렉터리에 테스트 파일을 작성하여 드라이브를 채움: + +`f3write {{경로/대상/마운트_포인트}}` + +- 쓰기 속도 제한을 둠: + +`f3write --max-write-rate={{초당_kb}} {{경로/대상/마운트_포인트}}` diff --git a/pages.ko/common/factor.md b/pages.ko/common/factor.md new file mode 100644 index 00000000000000..52b1d5e67c58f8 --- /dev/null +++ b/pages.ko/common/factor.md @@ -0,0 +1,12 @@ +# factor + +> 숫자의 소인수분해를 출력. +> 더 많은 정보: . + +- 숫자의 소인수분해를 표시: + +`factor {{숫자}}` + +- 인수가 지정되지 않은 경우, `stdin`에서 입력을 가져옴: + +`echo {{숫자}} | factor` diff --git a/pages.ko/common/fakedata.md b/pages.ko/common/fakedata.md new file mode 100644 index 00000000000000..261c48a870d6f8 --- /dev/null +++ b/pages.ko/common/fakedata.md @@ -0,0 +1,24 @@ +# fakedata + +> 다양한 생성기를 사용하여 가짜 데이터를 생성. +> 더 많은 정보: . + +- 유효한 모든 생성기를 나열: + +`fakedata --generators` + +- 하나 이상의 생성기를 사용하여 데이터를 생성: + +`fakedata {{생성기1}} {{생성기2}}` + +- 특정 출력 형식으로 데이터를 생성: + +`fakedata --format {{csv|tab|sql}} {{생성기}}` + +- 주어진 수의 데이터 항목을 생성 (기본값은 10): + +`fakedata --limit {{n}} {{생성기}}` + +- 사용자 정의 출력 템플릿을 사용하여 데이터를 생성 (생성기 이름의 첫 글자는 대문자여야 함): + +`echo "{{\{\{Generator\}\}}}" | fakedata` diff --git a/pages.ko/common/false.md b/pages.ko/common/false.md new file mode 100644 index 00000000000000..3bf592752bb41e --- /dev/null +++ b/pages.ko/common/false.md @@ -0,0 +1,8 @@ +# false + +> 종료 코드 1을 반환한다. +> 더 많은 정보: . + +- 종료 코드 1 반환: + +`false` diff --git a/pages.ko/common/fast.md b/pages.ko/common/fast.md new file mode 100644 index 00000000000000..34015386ccc6d5 --- /dev/null +++ b/pages.ko/common/fast.md @@ -0,0 +1,16 @@ +# fast + +> fast.com을 사용하여 다운로드 및 업로드 속도를 테스트. +> 더 많은 정보: . + +- 현재 다운로드 속도 측정: + +`fast` + +- 다운로드 속도 외에 현재 업로드 속도도 측정: + +`fast --upload` + +- 간격을 줄이기 위해 결과를 한 줄에 표시: + +`fast --single-line` diff --git a/pages.ko/common/fastapi.md b/pages.ko/common/fastapi.md new file mode 100644 index 00000000000000..3aa5bbc7cab8db --- /dev/null +++ b/pages.ko/common/fastapi.md @@ -0,0 +1,28 @@ +# fastapi + +> Uvicorn을 기반으로 동작하는 FastAPI 앱 실행용 CLI 도구. +> 추가 정보: . + +- 자동 재시작 기능을 사용하여 FastAPI 앱 실행 (개발용): + +`fastapi run {{경로/파일.py}} --reload` + +- 개발 모드에서 앱 실행: + +`fastapi dev {{경로/파일.py}}` + +- 호스트와 포트를 지정하여 실행: + +`fastapi run {{경로/파일.py}} --host {{호스트_주소}} --port {{포트}}` + +- 앱 변수 이름을 설정하거나 (기본값은 `app`), 앱 디렉터리를 지정: + +`fastapi run {{경로/파일.py}} --app-dir {{경로/앱}} --app {{사용자_정의_앱명}}` + +- 전체 도움말 보기: + +`fastapi --help` + +- 하위 명령어의 도움말 보기: + +`fastapi {{하위명령어}} --help` diff --git a/pages.ko/common/fastboot.md b/pages.ko/common/fastboot.md new file mode 100644 index 00000000000000..580ab1badc575d --- /dev/null +++ b/pages.ko/common/fastboot.md @@ -0,0 +1,32 @@ +# fastboot + +> 부트로더 모드에 있을 때 연결된 Android 장치와 통신 (ADB가 작동하지 않는 곳). +> 더 많은 정보: . + +- 부트로더 잠금해제: + +`fastboot oem unlock` + +- 부트로더 리로드: + +`fastboot oem lock` + +- 장치를 fastboot 모드에서 fastboot 모드로 재부팅: + +`fastboot reboot bootloader` + +- 주어진 이미지를 조사: + +`fastboot flash {{경로/대상/파일.img}}` + +- 사용자 정의 복구 이미지 조사: + +`fastboot flash recovery {{경로/대상/파일.img}}` + +- 연결된 장치 목록 나열: + +`fastboot devices` + +- 장치의 모든 정보를 표시: + +`fastboot getvar all` diff --git a/pages.ko/common/fastd.md b/pages.ko/common/fastd.md new file mode 100644 index 00000000000000..e3da83ae47894b --- /dev/null +++ b/pages.ko/common/fastd.md @@ -0,0 +1,30 @@ +# fastd + +> VPN 데몬. +> 레이어 2 또는 레이어 3에서 작동하며, Freifunk에서 사용하는 다양한 암호화 방법을 지원. +> 참고: `ivpn`, `mozillavpn`, `mullvad`, `warp-cli`. +> 더 많은 정보: . + +- 특정 구성 파일로 `fastd`를 시작: + +`fastd --config {{경로/대상/fastd.conf}}` + +- MTU 1400으로 레이어 3 VPN을 시작하고 파일에서 나머지 구성 매개변수를 로드: + +`fastd --mode {{tap}} --mtu {{1400}} --config {{경로/대상/fastd.conf}}` + +- 구성 파일의 유효성을 검증: + +`fastd --verify-config --config {{경로/대상/fastd.conf}}` + +- 새로운 키의 쌍을 생성: + +`fastd --generate-key` + +- 구성 파일의 개인 키에 공개 키를 표시: + +`fastd --show-key --config {{경로/대상/fastd.conf}}` + +- 현재 버전 보여주기: + +`fastd -v` diff --git a/pages.ko/common/fastfetch.md b/pages.ko/common/fastfetch.md new file mode 100644 index 00000000000000..65dae62f07fbc7 --- /dev/null +++ b/pages.ko/common/fastfetch.md @@ -0,0 +1,32 @@ +# fastfetch + +> 운영체제, 소프트웨어 및 하드웨어에 대한 정보 표시. +> 더 많은 정보: . + +- 시스템 정보 표시: + +`fastfetch` + +- 모든 모듈과 함께 전체 시스템 정보 표시: + +`fastfetch {{[-c|--config]}} all` + +- 사용자 정의 구성 파일 로드: + +`fastfetch {{[-c|--config]}} {{경로/대상/구성_파일}}` + +- 특정 구조를 가져오기: + +`fastfetch {{[-s|--structure]}} {{구조}}` + +- 특정 로고 사용: + +`fastfetch {{[-l|--logo]}} {{로고}}` + +- 로고 없이 시스템 정보를 표기: + +`fastfetch {{[-l|--logo]}} none` + +- 키와 제목에 특정 색상을 사용: + +`fastfetch --color {{파랑}}` diff --git a/pages.ko/common/fastlane.md b/pages.ko/common/fastlane.md new file mode 100644 index 00000000000000..c89e8d3ae44824 --- /dev/null +++ b/pages.ko/common/fastlane.md @@ -0,0 +1,20 @@ +# fastlane + +> 모바일 애플리케이션 구축 및 출시. +> 더 많은 정보: . + +- 현재 디렉터리에서 iOS 애플리케이션을 빌드하고 서명: + +`fastlane run build_app` + +- 현재 디렉터리의 프로젝트에 대해 `pod install`을 실행: + +`fastlane run cocoapods` + +- Xcode에서 파생된 데이터 삭제: + +`fastlane run clear_derived_data` + +- pod의 캐시 제거: + +`fastlane run clean_cocoapods_cache` diff --git a/pages.ko/common/fastmod.md b/pages.ko/common/fastmod.md new file mode 100644 index 00000000000000..29576d46d4715f --- /dev/null +++ b/pages.ko/common/fastmod.md @@ -0,0 +1,29 @@ +# fastmod + +> codemod 도구에 대한 빠른 부분 교체, 전체 코드베이스에서 부분 및 모두 교체. +> 정규식은 Rust 정규식 상자와 일치. +> 더 많은 정보: . + +- .ignore 및 .gitignore의 파일을 무시하고 현재 디렉터리의 모든 파일에서 정규식 패턴을 변경: + +`fastmod {{정규표현식_패턴}} {{대체문자열}}` + +- 특정 파일이나 디렉터리에서 대소문자 구분 모드로 정규식 패턴을 변경: + +`fastmod --ignore-case {{정규표현식_패턴}} {{대체문자열}} -- {{경로/대상/파일 경로/대상/디렉터리 ...}}` + +- 대소문자를 구분하지 않는 glob 패턴으로 필터링된 파일의 특정 디렉터리에 있는 정규식 패턴을 변경: + +`fastmod {{regex}} {{대체문자열}} --dir {{경로/대상/디렉터리}} --iglob {{'**/*.{js,json}'}}` + +- `.js` 또는 JSON 파일에서 정확한 문자열 변경을 수행: + +`fastmod --fixed-strings {{완전한_문자열}} {{대체문자열}} --extensions {{json,js}}` + +- 확인 메시지 없이 정확한 문자열 바꾸기 (정규식 비활성화): + +`fastmod --accept-all --fixed-strings {{완전한_문자열}} {{대체문자열}}` + +- 확인 메시지 없이 정확한 문자열을 교체하고, 변경된 파일을 출력: + +`fastmod --accept-all --print-changed-files --fixed-strings {{완전한_문자열}} {{대체문자열}}` diff --git a/pages.ko/common/fc-cache.md b/pages.ko/common/fc-cache.md new file mode 100644 index 00000000000000..8023ba0ff332ff --- /dev/null +++ b/pages.ko/common/fc-cache.md @@ -0,0 +1,16 @@ +# fc-cache + +> 글꼴 디렉터리를 스캔하여 글꼴 캐시 파일을 만듬. +> 더 많은 정보: . + +- 글꼴 캐시 파일 생성: + +`fc-cache` + +- 캐시가 최신인지 확인하지 않고, 모든 글꼴 캐시 파일을 강제로 다시 빌드: + +`fc-cache -f` + +- 글꼴 캐시 파일을 지우고, 새 글꼴 캐시 파일을 생성: + +`fc-cache -r` diff --git a/pages.ko/common/fc-list.md b/pages.ko/common/fc-list.md new file mode 100644 index 00000000000000..bc1b8ec347ca19 --- /dev/null +++ b/pages.ko/common/fc-list.md @@ -0,0 +1,16 @@ +# fc-list + +> 시스템에 설치된 사용 가능한 글꼴을 나열. +> 더 많은 정보: . + +- 시스템에 설치된 글꼴 목록을 반환: + +`fc-list` + +- 주어진 이름으로 설치된 글꼴 목록을 반환: + +`fc-list | grep '{{DejaVu Serif}}'` + +- 시스템에 설치된 글꼴 수를 반환: + +`fc-list | wc -l` diff --git a/pages.ko/common/fc-match.md b/pages.ko/common/fc-match.md new file mode 100644 index 00000000000000..6d958340f1336c --- /dev/null +++ b/pages.ko/common/fc-match.md @@ -0,0 +1,8 @@ +# fc-match + +> 사용 가능한 글꼴을 일치시킴. +> 더 많은 정보: . + +- 가장 잘 일치하는 글꼴의 정렬된 목록을 반환: + +`fc-match -s '{{DejaVu Serif}}'` diff --git a/pages.ko/common/fc-pattern.md b/pages.ko/common/fc-pattern.md new file mode 100644 index 00000000000000..ac304b4379c9c2 --- /dev/null +++ b/pages.ko/common/fc-pattern.md @@ -0,0 +1,12 @@ +# fc-pattern + +> 패턴과 일치하는 글꼴에 대한 정보를 표시. +> 더 많은 정보: . + +- 글꼴에 대한 기본 정보를 표시: + +`fc-pattern --default '{{DejaVu Serif}}'` + +- 글꼴에 대한 구성 정보 표시: + +`fc-pattern --config '{{DejaVu Serif}}'` diff --git a/pages.ko/common/fc.md b/pages.ko/common/fc.md new file mode 100644 index 00000000000000..a06187973f1da3 --- /dev/null +++ b/pages.ko/common/fc.md @@ -0,0 +1,32 @@ +# fc + +> 편집할 최신 명령을 열고 실행. +> 더 많은 정보: . + +- 기본 시스템 편집기에서 마지막 명령을 열고 편집 후 실행: + +`fc` + +- 열 때 사용할 편집기를 지정: + +`fc -e {{'emacs'}}` + +- 기록에서 최근 명령을 나열: + +`fc -l` + +- 최근 명령을 역순을 나열: + +`fc -l -r` + +- 기록에서 명령을 편집하고 실행: + +`fc {{숫자}}` + +- 주어진 간격으로 명령을 편집하고 실행함: + +`fc '{{416}}' '{{420}}'` + +- 도움말 표시: + +`fc --help` diff --git a/pages.ko/common/fclones.md b/pages.ko/common/fclones.md new file mode 100644 index 00000000000000..37cb215327f3e5 --- /dev/null +++ b/pages.ko/common/fclones.md @@ -0,0 +1,32 @@ +# fclones + +> 효율적인 중복 파일 찾기 및 제거기. +> 더 많은 정보: . + +- 현재 디렉터리에서 중복 파일 검색: + +`fclones group .` + +- 여러 디렉터리에서 중복 파일을 검색하고 결과를 캐시: + +`fclones group --cache {{경로/대상/디렉터리1 경로/대상/디렉터리2}}` + +- 하위 디렉터리를 건너 뛰고, 지정된 디렉터리에서만 중복 파일을 검색하고 결과를 파일에 저장: + +`fclones group {{경로/대상/디렉터리}} --depth 1 > {{경로/대상/파일.txt}}` + +- TXT 파일의 중복 파일을 다른 디렉터리로 이동: + +`fclones move {{경로/대상/대상_디렉터리}} < {{경로/대상/파일.txt}}` + +- 실제로 연결하지 않고 TXT 파일의 소프트 링크에 대해 연습 실행을 수행: + +`fclones link --soft < {{경로/대상/파일.txt}} --dry-run 2 > /dev/null` + +- 파일에 저장하지 않고 현재 디렉터리에서 최신 복사본을 삭제: + +`fclones group . | fclones remove --priority newest` + +- 중복 항목을 찾기 전에 EXIF 데이터를 제거하는 외부 명령을 사용하여 현재 디렉터리의 JPEG 파일을 전처리: + +`fclones group . --name '*.jpg' -i --transform 'exiv2 -d a $IN' --in-place` diff --git a/pages.ko/common/fd.md b/pages.ko/common/fd.md new file mode 100644 index 00000000000000..bc06c924571f11 --- /dev/null +++ b/pages.ko/common/fd.md @@ -0,0 +1,29 @@ +# fd + +> `find`의 대안. +> `find`보다 더 빠르고 쉽게 사용하는 것을 목표. +> 더 많은 정보: . + +- 현재 디렉터리에서 특정 패턴과 일치하는 파일을 반복적으로 찾음: + +`fd "{{string|regex}}"` + +- `foo`로 시작하는 파일 찾기: + +`fd "^foo"` + +- 특정 확장자를 가진 파일 찾기: + +`fd --extension txt` + +- 특정 디렉터리에서 파일 찾기: + +`fd "{{string|regex}}" {{경로/대상/디렉터리}}` + +- 검색에 무시되거나 숨겨진 파일을 포함: + +`fd --hidden --no-ignore "{{string|regex}}"` + +- 반환된 각 검색 결과에 대해 명령을 실행: + +`fd "{{string|regex}}" --exec {{명령어}}` diff --git a/pages.ko/common/fdp.md b/pages.ko/common/fdp.md new file mode 100644 index 00000000000000..da4d9f859d8e4a --- /dev/null +++ b/pages.ko/common/fdp.md @@ -0,0 +1,25 @@ +# fdp + +> `graphviz` 파일에서 `force-directed` 네트워크 그래프의 이미지를 렌더링. +> 레이아웃: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> 더 많은 정보: . + +- 입력 파일 이름 및 출력 형식(대문자 -O)을 기반으로 하는 파일 이름으로 PNG 이미지를 렌더링: + +`fdp -T png -O {{경로/대상/입력파일.gv}}` + +- 지정된 출력 파일 이름 (소문자 -o) SVG 이미지를 렌더링: + +`fdp -T svg -o {{경로/대상/이미지.svg}} {{경로/대상/입력파일.gv}}` + +- 출력을 특정 형식으로 렌더링: + +`fdp -T {{ps|pdf|svg|fig|png|gif|jpg|json|dot}} -O {{경로/대상/입력파일.gv}}` + +- `stdin` 및 `stdout`을 사용하여 `gif` 이미지 렌더링: + +`echo "{{digraph {this -> that} }}" | fdp -T gif > {{경로/대상/이미지.gif}}` + +- 도움말 표시: + +`fdp -?` diff --git a/pages.ko/common/fdroid.md b/pages.ko/common/fdroid.md new file mode 100644 index 00000000000000..fca414a272773f --- /dev/null +++ b/pages.ko/common/fdroid.md @@ -0,0 +1,29 @@ +# fdroid + +> F-Droid 빌드 도구. +> F-Droid는 Android 플랫폼용 FOSS (무료 및 오픈 소스 소프트웨어) 애플리케이션의 설치 가능한 카탈로그. +> 더 많은 정보: . + +- 특정 앱 구축: + +`fdroid build {{앱_아이디}}` + +- 빌드 서버 VM에서 특정 앱을 빌드: + +`fdroid build {{앱_아이디}} --server` + +- 앱을 로컬 저장소에 게시: + +`fdroid publish {{앱_아이디}}` + +- 연결된 모든 기기에 앱을 설치: + +`fdroid install {{앱_아이디}}` + +- 메타데이터의 형식이 올바른지 확인: + +`fdroid lint --format {{앱_아이디}}` + +- 자동으로 서식을 수정 (가능한 경우): + +`fdroid rewritemeta {{앱_아이디}}` diff --git a/pages.ko/common/fdroidcl.md b/pages.ko/common/fdroidcl.md new file mode 100644 index 00000000000000..c44f900c6377fa --- /dev/null +++ b/pages.ko/common/fdroidcl.md @@ -0,0 +1,32 @@ +# fdroidcl + +> ADB를 통해 연결된 장치의 F-Droid 앱을 관리. +> 더 많은 정보: . + +- F-Droid 색인을 가져옴: + +`fdroidcl update` + +- 애플리케이션에 대한 정보 표시: + +`fdroidcl show {{앱_아이디}}` + +- 애플리케이션의 APK 파일을 다운로드: + +`fdroidcl download {{앱_아이디}}` + +- 색인에서 앱 검색: + +`fdroidcl search {{검색_패턴}}` + +- 연결된 장치에 앱 설치: + +`fdroidcl install {{앱_아이디}}` + +- 저장소 추가: + +`fdroidcl repo add {{저장소_이름}} {{url}}` + +- 저장소 제거, 활성화 또는 비활성화: + +`fdroidcl repo {{remove|enable|disable}} {{저장소_이름}}` diff --git a/pages.ko/common/fdupes.md b/pages.ko/common/fdupes.md new file mode 100644 index 00000000000000..fdf752a24ce708 --- /dev/null +++ b/pages.ko/common/fdupes.md @@ -0,0 +1,32 @@ +# fdupes + +> 일련의 디렉터리에서 중복 파일을 찾음. +> 더 많은 정보: . + +- 단일 디렉터리 검색: + +`fdupes {{경로/대상/디렉터리}}` + +- 여러 디렉터리 검색: + +`fdupes {{디렉터리1}} {{디렉터리2}}` + +- 재귀적으로 디렉터리를 검색: + +`fdupes -r {{경로/대상/디렉터리}}` + +- 여러 디렉터리를 하나의 재귀적으로 검색: + +`fdupes {{디렉터리1}} -R {{디렉터리2}}` + +- 하드링크를 중복으로 간주하여 재귀적으로 검색: + +`fdupes -rH {{경로/대상/디렉터리}}` + +- 반복적으로 중복 항목을 검색하고 유지할 항목을 선택하고, 나머지 항목을 삭제하는 것: + +`fdupes -rd {{경로/대상/디렉터리}}` + +- 메시지를 표시하지 않고 반복적으로 검색하고 중복 항목을 삭제: + +`fdupes -rdN {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/feh.md b/pages.ko/common/feh.md new file mode 100644 index 00000000000000..a005415fc2f9ce --- /dev/null +++ b/pages.ko/common/feh.md @@ -0,0 +1,32 @@ +# feh + +> 경량 이미지 보기 유틸리티. +> 더 많은 정보: . + +- 로컬에서 또는 URL을 사용하여 이미지 보기: + +`feh {{경로/대상/이미지}}` + +- 재귀적으로 이미지 보기: + +`feh --recursive {{경로/대상/이미지}}` + +- 창 테두리 없이 이미지 보기: + +`feh --borderless {{경로/대상/이미지}}` + +- 마지막 이미지 이후 종료: + +`feh --cycle-once {{경로/대상/이미지}}` + +- 특정 슬라이드쇼 주기 지연을 사용: + +`feh --slideshow-delay {{초}} {{경로/대상/이미지}}` + +- 특정 배경화면 모드 사용 (중앙 맞춤, 채우기, 최대화, 크기 조정 또는 타일링): + +`feh --bg-{{center|fill|max|scale|tile}} {{경로/대상/이미지}}` + +- 디렉터리 내 모든 이미지의 몽타주를 생성하여 새 이미지로 출력: + +`feh --montage --thumb-height {{150}} --thumb-width {{150}} --index-info "{{%nn%wx%h}}" --output {{경로/대상/몽타주_이미지}}` diff --git a/pages.ko/common/feroxbuster.md b/pages.ko/common/feroxbuster.md new file mode 100644 index 00000000000000..e9727ed2ba925f --- /dev/null +++ b/pages.ko/common/feroxbuster.md @@ -0,0 +1,21 @@ +# feroxbuster + +> Rust로 작성된 간단하고 빠르며 반복적인 콘텐츠 검색 도구. +> 웹 서버 등에서 숨겨진 경로를 무차별 공격하는 데 사용됨. +> 더 많은 정보: . + +- 확장자, 100개의 스레드 및 임의의 사용자 에이전트가 포함된 단어 목록에서 일치하는 특정 디렉터리 및 파일 검색: + +`feroxbuster --url "{{https://example.com}}" --wordlist {{경로/대상/파일}} --threads {{100}} --extensions "{{php,txt}}" --random-agent` + +- 특정 프록시를 통해 재귀 없이 디렉터리를 열거: + +`feroxbuster --url "{{https://example.com}}" --wordlist {{경로/대상/파일}} --no-recursion --proxy "{{http://127.0.0.1:8080}}"` + +- 웹페이지에서 링크 찾기: + +`feroxbuster --url "{{https://example.com}}" --extract-links` + +- 특정 상태 코드 및 문자 수로 필터링: + +`feroxbuster --url "{{https://example.com}}" --filter-status {{301}} --filter-size {{4092}}` diff --git a/pages.ko/common/ffe.md b/pages.ko/common/ffe.md new file mode 100644 index 00000000000000..ffc7c54f80d43f --- /dev/null +++ b/pages.ko/common/ffe.md @@ -0,0 +1,29 @@ +# ffe + +> 플랫 데이터베이스 파일에서 필드를 추출하고 다른 형식으로 씀. +> 입력을 해석하고 출력 형식을 지정하려면 구성 파일이 필요. +> 더 많은 정보: . + +- 지정된 데이터 구성을 사용하여 모든 입력 데이터를 표시: + +`ffe --configuration={{경로/대상/구성.ffe}} {{경로/대상/입력}}` + +- 입력 파일을 새로운 형식의 출력 파일로 변환: + +`ffe --output={{path/to/output}} -c {{경로/대상/구성.ffe}} {{경로/대상/입력}}` + +- `~/.fferc` 구성 파일의 정의에서 입력 구조 및 출력 형식을 선택: + +`ffe --structure={{structure}} --print={{format}} {{경로/대상/입력}}` + +- 선택한 필드만 작성하기: + +`ffe --field-list="{{FirstName,LastName,Age}}" -c {{경로/대상/구성.ffe}} {{경로/대상/입력}}` + +- 표현식과 일치하는 레코드만 작성: + +`ffe -e "{{LastName=Smith}}" -c {{경로/대상/구성.ffe}} {{경로/대상/입력}}` + +- 도움말 표시: + +`ffe --help` diff --git a/pages.ko/common/ffmpeg.md b/pages.ko/common/ffmpeg.md new file mode 100644 index 00000000000000..f8c182c15ef735 --- /dev/null +++ b/pages.ko/common/ffmpeg.md @@ -0,0 +1,36 @@ +# ffmpeg + +> 비디오 변환 도구. +> 더 많은 정보: . + +- 비디오에서 사운드를 추출하여 MP3로 저장: + +`ffmpeg -i {{경로/대상/비디오.mp4}} -vn {{경로/대상/소리.mp3}}` + +- FLAC 파일을 Red Book CD 형식 (44100kHz, 16bit)으로 트랜스코딩: + +`ffmpeg -i {{경로/대상/입력_소리.flac}} -ar 44100 -sample_fmt s16 {{경로/대상/출력_소리.wav}}` + +- 비디오를 GIF로 저장하고, 높이를 1000px로 조정하고 프레임 속도를 15로 설정: + +`ffmpeg -i {{경로/대상/비디오.mp4}} {{[-vf|-filter:v]}} 'scale=-1:{{1000}}' -r {{15}} {{path/to/output.gif}}` + +- 번호가 매겨진 이미지 (`frame_1.jpg`, `frame_2.jpg`, etc) 를 비디오 또는 GIF로 결합: + +`ffmpeg -i {{경로/대상/프레임_%d.jpg}} -f image2 {{video.mpg|video.gif}}` + +- 주어진 시작 시간 mm:ss부터 종료 시간 mm2:ss2까지 비디오를 편집 (끝까지 다듬으려면 -to 플래그 생략): + +`ffmpeg -i {{경로/대상/입력_비디오.mp4}} -ss {{mm:ss}} -to {{mm2:ss2}} {{[-c|-codec]}} copy {{경로/대상/출력_비디오.mp4}}` + +- AVI 비디오를 MP4로 변환. AAC 오디오 @ 128kbit, h264 Video @ CRF 23: + +`ffmpeg -i {{경로/대상/입력_비디오}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{경로/대상/출력_비디오}}.mp4` + +- 오디오 또는 비디오 스트림을 다시 인코딩하지 않고 MKV 비디오를 MP4로 리먹싱: + +`ffmpeg -i {{경로/대상/입력_비디오}}.mkv {{[-c|-codec]}} copy {{경로/대상/출력_비디오}}.mp4` + +- MP4 비디오를 VP9 코덱으로 변환. 최상의 품질을 위해서는, CRF 값(권장 범위 15-35)을 사용하고 -b:v는 0이어야 함: + +`ffmpeg -i {{경로/대상/입력_비디오}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{스레드_수}} {{경로/대상/출력_비디오}}.webm` diff --git a/pages.ko/common/ffplay.md b/pages.ko/common/ffplay.md new file mode 100644 index 00000000000000..a9c155aab4aaca --- /dev/null +++ b/pages.ko/common/ffplay.md @@ -0,0 +1,24 @@ +# ffplay + +> FFmpeg 라이브러리와 SDL 라이브러리를 사용하는 간단하고 휴대 간으한 미디어 플레이어. +> 더 많은 정보: . + +- 미디어 파일 재생: + +`ffplay {{경로/대상/파일}}` + +- GUI 없이 미디어 파일에서 오디오 재생: + +`ffplay -nodisp {{경로/대상/파일}}` + +- `stdin`을 통해 `ffmpeg`에 의해 전달된 미디어 재생: + +`ffmpeg -i {{경로/대상/파일}} -c {{copy}} -f {{미디어_포맷}} - | ffplay -` + +- 실시간으로 비디오를 재생하고 모션 벡터를 표시: + +`ffplay -flags2 +export_mvs -vf codecview=mv=pf+bf+bb {{경로/대상/파일}}` + +- 비디오 키프레임만 표시: + +`ffplay -vf select="{{eq(pict_type\,PICT_TYPE_I)}}" {{경로/대상/파일}}` diff --git a/pages.ko/common/ffprobe.md b/pages.ko/common/ffprobe.md new file mode 100644 index 00000000000000..e6e26ec9bb886f --- /dev/null +++ b/pages.ko/common/ffprobe.md @@ -0,0 +1,24 @@ +# ffprobe + +> 멀티미디어 스트림 분석기. +> 더 많은 정보: . + +- 미디어 파일에 대해 사용 가능한 모든 스트림 정보를 표시: + +`ffprobe -v error -show_streams {{입력.mp4}}` + +- 미디어 지속시간 표시: + +`ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {{입력.mp4}}` + +- 비디오의 프레임 속도 표시: + +`ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 {{입력.mp4}}` + +- 비디오의 너비 또는 높이를 표시: + +`ffprobe -v error -select_streams v:0 -show_entries stream={{width|height}} -of default=noprint_wrappers=1:nokey=1 {{입력.mp4}}` + +- 비디오의 평균 비트 전송률 표시: + +`ffprobe -v error -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1:nokey=1 {{입력.mp4}}` diff --git a/pages.ko/common/ffsend.md b/pages.ko/common/ffsend.md new file mode 100644 index 00000000000000..984a753d1f8de4 --- /dev/null +++ b/pages.ko/common/ffsend.md @@ -0,0 +1,24 @@ +# ffsend + +> 쉽고 안전하게 파일을 공유. +> 더 많은 정보: . + +- 파일 업로드: + +`ffsend upload {{경로/대상/파일}}` + +- 파일 다운로드: + +`ffsend download {{url}}` + +- 비밀번호가 포함된 파일 업로드: + +`ffsend upload {{경로/대상/파일}} {{[-p|--password]}} {{비밀번호}}` + +- 비밀번호로 보호된 파일 다운로드: + +`ffsend download {{url}} {{[-p|--password]}} {{비밀번호}}` + +- 파일을 업로드하고 4번의 다운로드를 허용: + +`ffsend upload {{경로/대상/파일}} {{[-d|--downloads]}} {{4}}` diff --git a/pages.ko/common/ffuf.md b/pages.ko/common/ffuf.md new file mode 100644 index 00000000000000..89356f64b89841 --- /dev/null +++ b/pages.ko/common/ffuf.md @@ -0,0 +1,33 @@ +# ffuf + +> Go로 작성된 빠른 웹 퍼저. +> `FUZZ` 키워드가 자리 표시자로 사용됨. `ffuf`는 `FUZZ`라는 단어를 단어 목록의 모든 단어로 변경해 URL에 접속하려 시도. +> 더 많은 정보: . + +- 색상 출력([c]olored output)과 대상 URL([u]RL)을 지정하는 단어 리스트([w]ordlist)를 사용하여 디렉토리를 열거: + +`ffuf -c -w {{경로/대상/단어목록.txt}} -u {{http://target/FUZZ}}` + +- 키워드 위치를 변경하여 하위 도메인의 웹서버를 열거: + +`ffuf -w {{경로/대상/서브도메인.txt}} -u {{http://FUZZ.target.com}}` + +- 지정된 스레드([t]hreads) (기본값: 40)를 퍼징하고 트래픽을 프로파일링(pro[x]ying)하고 출력([o]utput)을 파일에 저장: + +`ffuf -o -w {{경로/대상/단어목록.txt}} -u {{http://target/FUZZ}} -t {{500}} -x {{http://127.0.0.1:8080}}` + +- 특정 헤더([H]eader) ("이름: 값")를 퍼징하고 HTTP 상태 코드와 일치시킴([m]atch): + +`ffuf -w {{경로/대상/단어목록.txt}} -u {{http://target.com}} -H "{{Host: FUZZ}}" -mc {{200}}` + +- 지정된 HTTP 메소드와 데이터([d]ata)를 퍼즈하고, 쉼표로 구분된 상태 코드([c]odes)를 필터링([f]iltering): + +`ffuf -w {{경로/대상/포스트데이터.txt}} -X {{POST}} -d "{{username=admin\&password=FUZZ}}" -u {{http://target/login.php}} -fc {{401,403}}` + +- 다양한 모드를 사용하여 여러 단어 목록으로 여러 위치를 퍼즈: + +`ffuf -w {{경로/대상/keys:KEY}} -w {{경로/대상/values:VALUE}} -mode {{pitchfork|clusterbomb}} -u {{http://target.com/id?KEY=VALUE}}` + +- HTTP MITM 프록시(pro[x]y) (Burp Suite 또는 `mitmproxy`)를 통한 프록시 요청: + +`ffuf -w {{경로/대상/단어목록}} -x {{http://127.0.0.1:8080}} -u {{http://target.com/FUZZ}}` diff --git a/pages.ko/common/fg.md b/pages.ko/common/fg.md new file mode 100644 index 00000000000000..0b769846f11008 --- /dev/null +++ b/pages.ko/common/fg.md @@ -0,0 +1,12 @@ +# fg + +> 포그라운드에서 작업을 실행. +> 더 많은 정보: . + +- 가장 최근에 일시 중지되었거나 실행 중인 백그라운드 작업을 포그라운드로 가져옴: + +`fg` + +- 특정 작업을 포그라운드로 가져옴: + +`fg %{{작업_아이디}}` diff --git a/pages.ko/common/fgrep.md b/pages.ko/common/fgrep.md new file mode 100644 index 00000000000000..49eb856322ebb2 --- /dev/null +++ b/pages.ko/common/fgrep.md @@ -0,0 +1,29 @@ +# fgrep + +> 파일의 고정 문자열과 일치. +> `grep -F`와 동일. +> 더 많은 정보: . + +- 파일에서 정확한 문자열을 검색: + +`fgrep {{검색_문자열}} {{경로/대상/파일}}` + +- 하나 이상의 파일에서 완전히 일치하는 행만 검색: + +`fgrep -x {{검색_문자열}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일에서 주어진 문자열과 일치하는 줄 수를 셈: + +`fgrep -c {{검색_문자열}} {{경로/대상/파일}}` + +- 일치하는 줄과 함께 파일의 줄 번호를 표시: + +`fgrep -n {{검색_문자열}} {{경로/대상/파일}}` + +- 검색 문자열을 포함하는 행을 제외한 모든 행을 표시: + +`fgrep -v {{검색_문자열}} {{경로/대상/파일}}` + +- 콘텐츠가 검색 문자열과 한 번 이상 일치하는 파일 이름을 표시: + +`fgrep -l {{검색_문자열}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/fiascotopnm.md b/pages.ko/common/fiascotopnm.md new file mode 100644 index 00000000000000..d2964da3808893 --- /dev/null +++ b/pages.ko/common/fiascotopnm.md @@ -0,0 +1,24 @@ +# fiascotopnm + +> 압축된 FIASCO 파일을 PNM 이미지로 변환. +> 더 많은 정보: . + +- 압축된 FIASCO 파일을 PNM 파일로 변환하거나 비디오 스트리밍의 경우 여러 PNM 파일을 변환: + +`fiascotopnm {{경로/대상/파일.fiasco}} -o {{출력_파일_기본이름}}` + +- 빠른 압축 풀기를 사용하면, 출력 파일의 품질이 약간 저하됨: + +`fiascotopnm --fast {{경로/대상/파일.fiasco}} -o {{출력_파일_기본이름}}` + +- 지정된 구성 파일에서 사용할 옵션을 로드: + +`fiascotopnm --config {{경로/대상/fiascorc}} {{경로/대상/파일.fiasco}} -o {{출력_파일_기본이름}}` + +- 압축 해제된 이미지를 2^n배로 확대: + +`fiascotopnm --magnify {{n}} {{경로/대상/파일.fiasco}} -o {{출력_파일_기본이름}}` + +- 지정된 양만큼 압축 해제된 이미지를 부드럽게 함: + +`fiascotopnm --smooth {{n}} {{경로/대상/파일.fiasco}} -o {{출력_파일_기본이름}}` diff --git a/pages.ko/common/figlet.md b/pages.ko/common/figlet.md new file mode 100644 index 00000000000000..a8489f6a6e45e0 --- /dev/null +++ b/pages.ko/common/figlet.md @@ -0,0 +1,33 @@ +# figlet + +> 사용자 입력에서 ASCII 배너를 생성. +> 참고: `showfigfonts`. +> 더 많은 정보: . + +- 텍스트를 직접 입력하여 생성: + +`figlet {{입력_문자열}}` + +- 사용자 정의 폰트([f]ont) 파일을 사용: + +`figlet {{입력_문자열}} -f {{경로/대상/폰트_파일.flf}}` + +- 기본 글꼴 디렉토리의 폰트([f]ont)를 사용 (확장자는 생략 가능): + +`figlet {{입력_문자열}} -f {{폰트_파일이름}}` + +- FIGlet을 통한 파이프 명령 출력: + +`{{명령어}} | figlet` + +- 사용 가능한 FIGlet 글꼴 표시: + +`showfigfonts {{표시할 선택적 문자열}}` + +- 터미널([t]erminal)의 전체 너비를 사용하고 입력 텍스트를 중앙([c]enter)에 배치: + +`figlet -t -c {{입력_문자열}}` + +- 겹치지 않도록 모든 문자를 전체 너비([W]idth)로 표시: + +`figlet -W {{입력_문자열}}` diff --git a/pages.ko/common/file.md b/pages.ko/common/file.md new file mode 100644 index 00000000000000..9d21675fdcca5a --- /dev/null +++ b/pages.ko/common/file.md @@ -0,0 +1,24 @@ +# file + +> 파일 형식을 결정. +> 더 많은 정보: . + +- 지정된 파일의 유형에 대한 설명을 제공. 파일 확장자가 없는 파일에서는 잘 작동: + +`file {{경로/대상/파일}}` + +- 압축된 파일 내부를 살펴보고 내부의 파일 형식을 확인: + +`file {{[-z|--uncompress]}} {{foo.zip}}` + +- 파일이 특수 파일 또는 장치 파일과 함께 작동하도록 허용: + +`file {{[-s|--special-files]}} {{경로/대상/파일}}` + +- 첫 번째 파일 형식 일치에서 멈추지 않음. 파일 끝까지 계속 진행: + +`file {{[-k|--keep-going]}} {{경로/대상/파일}}` + +- 파일의 MIME 인코딩 유형을 결정: + +`file {{[-i|--mime]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/fin.md b/pages.ko/common/fin.md new file mode 100644 index 00000000000000..45218f0469f68b --- /dev/null +++ b/pages.ko/common/fin.md @@ -0,0 +1,24 @@ +# fin + +> Docksal 명령줄 유틸리티. +> 더 많은 정보: . + +- 현재 디렉터리에서 프로젝트를 시작: + +`fin project start` + +- 현재 디렉터리에서 프로젝트를 중지: + +`fin project stop` + +- 특정 컨테이너에 쉘을 열기: + +`fin bash {{컨테이너_이름}}` + +- 특정 컨테이너의 로그 표시: + +`fin logs {{컨테이너_이름}}` + +- 특정 컨테이너의 로그 표시하고 로그를 계속 출력: + +`fin logs -f {{컨테이너_이름}}` diff --git a/pages.ko/common/find.md b/pages.ko/common/find.md new file mode 100644 index 00000000000000..f073353765f9cd --- /dev/null +++ b/pages.ko/common/find.md @@ -0,0 +1,36 @@ +# find + +> 디렉토리 트리 아래에서 파일 또는 폴더를 재귀적으로 찾습니다. +> 더 많은 정보: . + +- 확장자로 파일 찾기: + +`find {{루트_경로}} -name '{{*.ext}}'` + +- 여러 경로/이름 패턴에 맞는 파일 찾기: + +`find {{루트_경로}} -path '{{**/경로/**/*.ext}}' -or -name '{{*패턴*}}'` + +- 대소문자를 구분하지 않고 주어진 이름에 맞는 디렉토리 찾기: + +`find {{루트_경로}} -type d -iname '{{*lib*}}'` + +- 주어진 패턴에 맞는 파일을 특정 경로를 제외하고 찾기: + +`find {{루트_경로}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- 주어진 크기 범위에 맞는 파일을 찾고 재귀 깊이를 "1"로 제한: + +`find {{루트_경로}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- 각 파일에 대해 명령 실행 (명령 내에서 파일명을 액세스하려면 `{}` 사용): + +`find {{루트_경로}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- 오늘 수정된 모든 파일을 찾아 결과를 단일 명령에 인수로 전달: + +`find {{루트_경로}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` + +- 빈 (0 바이트) 파일을 찾아 삭제: + +`find {{루트_경로}} -type {{f}} -empty -delete` diff --git a/pages.ko/common/finger.md b/pages.ko/common/finger.md new file mode 100644 index 00000000000000..99f28fae500959 --- /dev/null +++ b/pages.ko/common/finger.md @@ -0,0 +1,24 @@ +# finger + +> 사용자 정보조회 프로그램. +> 더 많은 정보: . + +- 현재 로그인한 사용자에 대한 정보 표시: + +`finger` + +- 특정 사용자에 대한 정보 표시: + +`finger {{사용자명}}` + +- 사용자의 로그인 이름, 실명, 단말기 이름 및 기타 정보를 표시: + +`finger -s` + +- `-s`와 동일한 정보는 물론 사용자의 홈 디렉터리, 집. ㅓㄴ화번호, 로그인 쉘, 메일 상태 등을 표시하는 여러 줄 출력 형식을 생성: + +`finger -l` + +- 사용자 이름과의 일치를 방지하고 로그인 이름만 사용: + +`finger -m` diff --git a/pages.ko/common/fio.md b/pages.ko/common/fio.md new file mode 100644 index 00000000000000..2716ceb48950b3 --- /dev/null +++ b/pages.ko/common/fio.md @@ -0,0 +1,24 @@ +# fio + +> 유연한 I/O 테스터: 여러 스레드 또는 프로세스를 생성하는 I/O 작업을 수행. +> 더 많은 정보: . + +- 무작위 읽기 테스트: + +`fio --filename={{경로/대상/파일}} --direct=1 --rw=randread --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1 --readonly` + +- 순차 읽기 테스트: + +`fio --filename={{경로/대상/파일}} --direct=1 --rw=read --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1 --readonly` + +- 무작위 읽기/쓰기 테스트: + +`fio --filename={{경로/대상/파일}} --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1` + +- 작업 파일의 매개변수로 테스트: + +`fio {{경로/대상/작업_파일}}` + +- 특정 작업 파일을 명령줄 옵션으로 변환: + +`fio --showcmd {{경로/대상/작업_파일}}` diff --git a/pages.ko/common/firebase.md b/pages.ko/common/firebase.md new file mode 100644 index 00000000000000..5287f6d7136509 --- /dev/null +++ b/pages.ko/common/firebase.md @@ -0,0 +1,28 @@ +# firebase + +> Firebase 프로젝트를 테스트, 관리, 배포. +> 더 많은 정보: . + +- 에 로그인: + +`firebase login` + +- 기존 Firebase 프로젝트 나열: + +`firebase projects:list` + +- 대화형 마법사를 시작하여 현재 디렉터리에 Firebase 프로젝트를 만듬: + +`firebase init` + +- 현재 Firebase 프로젝트에 코드와 리소스를 배포: + +`firebase deploy` + +- 현재 Firebase 프로젝트의 리소스를 정적으로 호스팅하기 위해 로컬 서버를 시작: + +`firebase serve` + +- 대화형 마법사를 시작하여 기본 웹 브라우저에서 현재 Firebase 프로젝트의 여러 링크 중 하나를 열기: + +`firebase open` diff --git a/pages.ko/common/firefox.md b/pages.ko/common/firefox.md new file mode 100644 index 00000000000000..2bcf23de99c79e --- /dev/null +++ b/pages.ko/common/firefox.md @@ -0,0 +1,36 @@ +# firefox + +> 무료 오픈 소스 웹 브라우저. +> 더 많은 정보: . + +- Firefox를 실행하고 웹 페이지 열기: + +`firefox {{https://www.duckduckgo.com}}` + +- 새로운 창 열기: + +`firefox --new-window {{https://www.duckduckgo.com}}` + +- 비공개 (시크릿) 창을 열기: + +`firefox --private-window` + +- 기본 검색 엔진을 사용하여 "wikipedia"를 검색: + +`firefox --search "{{wikipedia}}"` + +- 모든 확장 기능을 비활성화한 상태에서 안전 모드로 Firefox를 실행: + +`firefox --safe-mode` + +- 헤드리스 모드에서 웹 페이지의 스크린샷을 찍음: + +`firefox --headless --screenshot {{경로/대상/출력_파일.png}} {{https://example.com/}}` + +- 특정 프로필을 사용하여 여러 개의 개별 Firefox 인스턴스를 동시에 실행: + +`firefox --profile {{경로/대상/디렉토리}} {{https://example.com/}}` + +- Firefox를 기본 브라우저로 설정: + +`firefox --setDefaultBrowser` diff --git a/pages.ko/common/fish.md b/pages.ko/common/fish.md new file mode 100644 index 00000000000000..fe781e3dc92eee --- /dev/null +++ b/pages.ko/common/fish.md @@ -0,0 +1,36 @@ +# fish + +> 사용자 친화적으로 설계된 명령줄 해석기인 Friendly Interactive SHell입니다. +> 더 많은 정보: . + +- 대화형 쉘 세션을 시작: + +`fish` + +- 시작 구성을 로드하지 않고 대화형 쉘 세션을 시작: + +`fish {{[-N|--no-config]}}` + +- 특정 명령을 실행: + +`fish {{[-c|--command]}} "{{echo 'fish is executed'}}"` + +- 특정 스크립트를 실행: + +`fish {{경로/대상/스크립트.fish}}` + +- 구문 오류가 있는지 특정 스크립트를 확인: + +`fish {{[-N|--no-execute]}} {{경로/대상/스크립트.fish}}` + +- `stdin`에서 특정 명령을 실행: + +`{{echo "echo 'fish is executed'"}} | fish` + +- 쉘이 이전 기록에 액세스하거나 새 기록을 저장하지 않는 비공개 모드에서 대화형 쉘 세션을 시작: + +`fish {{[-P|--private]}}` + +- 쉘을 다시 시작해도 지속되는 환경 변수를 정의하고 내보냄 (기본 제공): + +`set {{[-U|--universal]}} {{[-x|--export]}} {{변수_이름}} {{변수_값}}` diff --git a/pages.ko/common/fisher.md b/pages.ko/common/fisher.md new file mode 100644 index 00000000000000..7b3278a66321a0 --- /dev/null +++ b/pages.ko/common/fisher.md @@ -0,0 +1,29 @@ +# fisher + +> Fish-shell 플러그인 관리자인 Fisher. +> 이름별로 플러그인을 설치하거나 번들 설치의 경우 관리되는 'fishfile'에서 플러그인을 설치. +> 더 많은 정보: . + +- 하나 이상의 플러그인을 설치: + +`fisher {{플러그인1}} {{플러그인2}}` + +- GitHub 요점에서 플러그인을 설치: + +`fisher {{gist_url}}` + +- 선호하는 편집기로 'fishfile'을 수동으로 편집하고 여러 플러그인을 설치: + +`{{editor}} ~/.config/fish/fishfile; fisher` + +- 설치된 플러그인 목록: + +`fisher ls` + +- 플러그인 업데이트: + +`fisher update` + +- 하나 이상의 플러그인을 제거: + +`fisher remove {{플러그인1}} {{플러그인2}}` diff --git a/pages.ko/common/fitstopnm.md b/pages.ko/common/fitstopnm.md new file mode 100644 index 00000000000000..b67b769b3ee180 --- /dev/null +++ b/pages.ko/common/fitstopnm.md @@ -0,0 +1,13 @@ +# fitstopnm + +> FITS(Flexible Image Transport System) 파일을 PNM 이미지로 변환. +> 참조: `pamtofits`. +> 더 많은 정보: . + +- FITS 파일을 PNM 이미지로 변환: + +`fitstopnm {{경로/대상/파일.fits}} > {{경로/대상/출력파일.pnm}}` + +- FITS 파일의 세 번째 축의 지정된 위치에서 이미지를 변환: + +`fitstopnm -image {{z_position}} {{경로/대상/파일.fits}} > {{경로/대상/출력파일.pnm}}` diff --git a/pages.ko/common/fkill.md b/pages.ko/common/fkill.md new file mode 100644 index 00000000000000..d170c6478a34b2 --- /dev/null +++ b/pages.ko/common/fkill.md @@ -0,0 +1,12 @@ +# fkill + +> 프로세스를 훌륭하게 종료. 크로스 플랫폼에서도 가능. +> 더 많은 정보: . + +- 대화형 인터페이스를 사용하려면 인수 없이 실행: + +`fkill` + +- PID, 이름 또는 포트로 프로세스를 종료: + +`fkill {{pid|name|:port}}` diff --git a/pages.ko/common/flac.md b/pages.ko/common/flac.md new file mode 100644 index 00000000000000..dee9e11bf33d74 --- /dev/null +++ b/pages.ko/common/flac.md @@ -0,0 +1,20 @@ +# flac + +> FLAC 파일을 인코딩, 디코딩 및 테스트. +> 더 많은 정보: . + +- WAV 파일을 FLAC로 인코딩 (WAV 파일과 동일한 FLAC 파일이 생성됨): + +`flac {{경로/대상/파일.wav}}` + +- 출력 파일을 지정하여 WAV 파일을 FLAC로 인코딩: + +`flac {{[-o|--output-name]}} {{경로/대상/출력파일.flac}} {{경로/대상/파일.wav}}` + +- 출력 파일을 지정하여 FLAC 파일을 WAV로 인코딩: + +`flac {{[-d|--decode]}} {{[-o|--output-name]}} {{경로/대상/출력파일.wav}} {{경로/대상/파일.flac}}` + +- 올바른 인코딩을 위해 FLAC 파일을 테스트: + +`flac {{[-t|--test]}} {{경로/대상/파일.flac}}` diff --git a/pages.ko/common/flake8.md b/pages.ko/common/flake8.md new file mode 100644 index 00000000000000..bc668321812315 --- /dev/null +++ b/pages.ko/common/flake8.md @@ -0,0 +1,20 @@ +# flake8 + +> Python 코드의 스타일과 품질을 확인. +> 더 많은 정보: . + +- 파일이나 디렉터리를 재귀적으로 린트: + +`flake8 {{경로/대상/파일_또는_디렉터리}}` + +- 파일이나 디렉터리를 재귀적으로 린트하고 각 오류가 발생한 줄을 표시: + +`flake8 --show-source {{경로/대상/파일_또는_디렉터리}}` + +- 파일이나 디렉터리를 재귀적으로 린트하고 규칙 목록을 무시. (사용 가능한 모든 규칙은 flake8rules.com에서 찾을 수 있음): + +`flake8 --ignore {{rule1,rule2}} {{경로/대상/파일_또는_디렉터리}}` + +- 파일이나 디렉터리를 재귀적으로 린트하지만, 지정된 glob 또는 하위 문자열과 일치하는 파일은 제외: + +`flake8 --exclude {{substring1,glob2}} {{경로/대상/파일_또는_디렉터리}}` diff --git a/pages.ko/common/flarectl.md b/pages.ko/common/flarectl.md new file mode 100644 index 00000000000000..d5c8c9300cfaef --- /dev/null +++ b/pages.ko/common/flarectl.md @@ -0,0 +1,24 @@ +# flarectl + +> Cloudflare 공식 CLI. +> 더 많은 정보: . + +- 특정 IP 차단: + +`flarectl firewall rules create --zone="{{example.com}}" --value="{{8.8.8.8}}" --mode="{{block}}" --notes="{{Block bad actor}}"` + +- DNS 레코드 추가: + +`flarectl dns create --zone="{{example.com}}" --name="{{app}}" --type="{{CNAME}}" --content="{{myapp.herokuapp.com}}" --proxy` + +- 모든 Cloudflare IPv4/IPv6 범위 나열: + +`flarectl ips --ip-type {{ipv4|ipv6|all}}` + +- `domains.txt`의 이름을 사용하여 자동으로 많은 새 Cloudflare 영역을 생성: + +`for domain in $(cat {{domains.txt}}); do flarectl zone info --zone=$domain; done` + +- 모든 방화벽 규칙을 나열: + +`flarectl firewall rules list` diff --git a/pages.ko/common/flask.md b/pages.ko/common/flask.md new file mode 100644 index 00000000000000..023847772245a2 --- /dev/null +++ b/pages.ko/common/flask.md @@ -0,0 +1,16 @@ +# flask + +> Flask 애플리케이션을 위한 일반 유틸리티 스크립트. `FLASK_APP` 환경 변수에 정의된 애플리케이션을 로드. +> 더 많은 정보: . + +- 개발 서버 실행: + +`flask run` + +- 앱의 경로 표시: + +`flask routes` + +- 앱의 컨텍스트에서 Python 대화형 쉘을 실행: + +`flask shell` diff --git a/pages.ko/common/flips.md b/pages.ko/common/flips.md new file mode 100644 index 00000000000000..bac63ce0571417 --- /dev/null +++ b/pages.ko/common/flips.md @@ -0,0 +1,16 @@ +# flips + +> IPS 및 BPS 파일용 패치를 생성하고 적용. +> 더 많은 정보: . + +- 대화형으로 패치를 생성하고 적용하려면 Flips를 시작: + +`flips` + +- 패치를 적용하고 새 ROM 파일을 만듬: + +`flips --apply {{patch.bps}} {{rom.smc}} {{hack.smc}}` + +- 두 개의 ROM에서 패치를 만듬: + +`flips --create {{rom.smc}} {{hack.smc}} {{patch.bps}}` diff --git a/pages.ko/common/flite.md b/pages.ko/common/flite.md new file mode 100644 index 00000000000000..c7ae1890d83861 --- /dev/null +++ b/pages.ko/common/flite.md @@ -0,0 +1,28 @@ +# flite + +> 음성 합성 엔진. +> 더 많은 정보: . + +- 사용 가능한 모든 음성을 나열: + +`flite -lv` + +- 텍스트 문자열을 음성으로 변환: + +`flite -t "{{문자열}}"` + +- 파일 내용을 음성으로 변환: + +`flite -f {{경로/대상/파일.txt}}` + +- 지정된 음성 사용: + +`flite -voice {{file://경로/대상/파일이름.flitevox|url}}` + +- 출력을 wav 파일에 저장: + +`flite -voice {{file://경로/대상/파일이름.flitevox|url}} -f {{경로/대상/파일.txt}} -o {{츨력파일.wav}}` + +- 버전 정보 표시: + +`flite --version` diff --git a/pages.ko/common/flow.md b/pages.ko/common/flow.md new file mode 100644 index 00000000000000..8561476c71c4bc --- /dev/null +++ b/pages.ko/common/flow.md @@ -0,0 +1,20 @@ +# flow + +> JavaScript용 정적 유형 검사기. +> 더 많은 정보: . + +- 흐름 검사를 실행: + +`flow` + +- 흐름별로 검사 중인 파일을 확인: + +`flow ls` + +- 디렉토리의 모든 파일에 대해 유형 검사를 실행: + +`flow batch-coverage --show-all --strip-root {{경로/대상/디렉터리}}` + +- 라인별 유형 적용 범위 통계 표시: + +`flow coverage --color {{경로/대상/파일.jsx}}` diff --git a/pages.ko/common/fls.md b/pages.ko/common/fls.md new file mode 100644 index 00000000000000..5ace1607a1dee5 --- /dev/null +++ b/pages.ko/common/fls.md @@ -0,0 +1,16 @@ +# fls + +> 이미지 파일이나 장치의 파일과 디렉터리를 나열. +> 더 많은 정보: . + +- 장치에 대한 재귀 fls 목록을 작성하면, 출력 경로가 C로 시작: + +`fls -r -m {{C:}} {{/dev/loop1p1}}` + +- 단일 파티션을 분석하여 이미지에서 파일 시스템이 시작되는 섹터 오프셋을 제공: + +`fls -r -m {{C:}} -o {{sector}} {{경로/대상/이미지_파일}}` + +- 단일 파티션을 분석하여, 원래 시스템의 시간대를 제공: + +`fls -r -m {{C:}} -z {{timezone}} {{/dev/loop1p1}}` diff --git a/pages.ko/common/flutter-pub.md b/pages.ko/common/flutter-pub.md new file mode 100644 index 00000000000000..10c2f39aeb67a9 --- /dev/null +++ b/pages.ko/common/flutter-pub.md @@ -0,0 +1,21 @@ +# flutter pub + +> Flutter 패키지 매니저. +> 참고: 패키지는 에서 사용 가능. 참조: `flutter`. +> 더 많은 정보: . + +- `pubspec.yaml`에 지정된 모든 패키지를 다운로드/업데이트: + +`flutter pub get` + +- 앱에 패키지 종속성을 추가: + +`flutter pub add {{패키지1 패키지2 ...}}` + +- 앱에 패키지 종속성을 제거: + +`flutter pub remove {{패키지1 패키지2 ...}}` + +- `pubspec.yaml`에서 허용하는 가장 높은 버전의 패키지로 업그레이드: + +`flutter pub upgrade {{패키지}}` diff --git a/pages.ko/common/flutter.md b/pages.ko/common/flutter.md new file mode 100644 index 00000000000000..729b09b52bff3e --- /dev/null +++ b/pages.ko/common/flutter.md @@ -0,0 +1,33 @@ +# flutter + +> Google의 무료 오픈 소스 크로스 플랫폼 모바일 앱 SDK. +> `pub`과 같은 일부 하위 명령에는 자체 사용법 문서가 있음. +> 더 많은 정보: . + +- 동일한 이름의 디렉터리에서 새로운 Flutter 프로젝트를 초기화: + +`flutter create {{프로젝트_이름}}` + +- 모든 외부 도구가 올바르게 설치되었는지 확인: + +`flutter doctor` + +- Flutter 채널 나열 또는 변경: + +`flutter channel {{stable|beta|dev|master}}` + +- 시작된 모든 에뮬레이터와 연결된 장치에서 Flutter를 실행: + +`flutter run -d all` + +- 프로젝트 루트의 터미널에서 테스트를 실행: + +`flutter test {{test/예시_테스트.dart}}` + +- 대부분의 최신 스마트폰을 대상으로 하는 출시 APK를 구축: + +`flutter build apk --target-platform {{android-arm}},{{android-arm64}}` + +- 특정 명령에 대한 도움말을 표시: + +`flutter help {{명령어}}` diff --git a/pages.ko/common/fluxctl.md b/pages.ko/common/fluxctl.md new file mode 100644 index 00000000000000..45de550b1df321 --- /dev/null +++ b/pages.ko/common/fluxctl.md @@ -0,0 +1,20 @@ +# fluxctl + +> Flux v1용 명령줄 도구. +> 더 많은 정보: . + +- 특정 네임스페이스의 클러스터에서 현재 실행 중인 워크로드를 나열: + +`fluxctl --k8s-fwd-ns={{네임스페이스}} list-workloads` + +- 배포 및 사용 가능한 이미지 표시: + +`fluxctl list-images` + +- 클러스터를 Git 저장소와 동기화: + +`fluxctl sync` + +- 워크로드에 대한 자동 배포를 활성화: + +`fluxctl automate` diff --git a/pages.ko/common/fly.md b/pages.ko/common/fly.md new file mode 100644 index 00000000000000..94346c2dcf90b4 --- /dev/null +++ b/pages.ko/common/fly.md @@ -0,0 +1,36 @@ +# fly + +> concourse-ci용 명령줄 도구. +> 더 많은 정보: . + +- concourse 대상으로 인증 및 저장: + +`fly --target {{타겟_이름}} login --team-name {{팀_이름}} -c {{https://ci.example.com}}` + +- 타겟 나열: + +`fly targets` + +- 파이프라인 나열: + +`fly -t {{타겟_이름}} pipelines` + +- 파이프라인 업로드 또는 업데이트: + +`fly -t {{타겟_이름}} set-pipeline --config {{pipeline.yml}} --pipeline {{파이프라인_이름}}` + +- 파이프라인 일시중지 해제: + +`fly -t {{타겟_이름}} unpause-pipeline --pipeline {{파이프라인_이름}}` + +- 파이프라인 구성 표시: + +`fly -t {{타겟_이름}} get-pipeline --pipeline {{파이프라인_이름}}` + +- fly의 로컬 사본 업데이트: + +`fly -t {{타겟_이름}} sync` + +- 파이프라인 삭제: + +`fly -t {{타겟_이름}} destroy-pipeline --pipeline {{파이프라인_이름}}` diff --git a/pages.ko/common/flyctl.md b/pages.ko/common/flyctl.md new file mode 100644 index 00000000000000..52d9fa7f2a2b66 --- /dev/null +++ b/pages.ko/common/flyctl.md @@ -0,0 +1,36 @@ +# flyctl + +> flyctl.io용 명령줄 도구. +> 더 많은 정보: . + +- Fly 계정에 로그인: + +`flyctl auth login` + +- 특정 Dockerfile에서 애플리케이션을 시작 (기본 경로는 현재 작업 디렉터리): + +`flyctl launch --dockerfile {{경로/대상/도커파일}}` + +- 기본 웹 브라우저에서 현재 배포된 애플리케이션을 열기: + +`flyctl open` + +- 특정 Dockerfile에서 Fly 애플리케이션을 배포: + +`flyctl deploy --dockerfile {{경로/대상/도커파일}}` + +- 웹 브라우저에서 현재 애플리케이션에 대한 Fly Web UI를 열기: + +`flyctl dashboard` + +- 로그인한 Fly 계정의 모든 애플리케이션을 나열: + +`flyctl apps list` + +- 실행 중인 특정 애플리케이션의 상태 보기: + +`flyctl status --app {{앱_이름}}` + +- 버전 정보 표시: + +`flyctl version` diff --git a/pages.ko/common/fmt.md b/pages.ko/common/fmt.md new file mode 100644 index 00000000000000..ddd2d58675f717 --- /dev/null +++ b/pages.ko/common/fmt.md @@ -0,0 +1,20 @@ +# fmt + +> 단락을 결합하고 줄 너비를 문자 수 (기본적으로 75자)로 제한하여 텍스트 파일의 서식을 다시 지정. +> 더 많은 정보: . + +- 파일 재포맷: + +`fmt {{경로/대상/파일}}` + +- (최대) `n` 문자의 출력 줄을 생성하는 파일 형식을 다시 지정: + +`fmt -w {{n}} {{경로/대상/파일}}` + +- 주어진 너비보다 짧은 줄을 결합하지 않고, 파일 형식을 다시 지정: + +`fmt -s {{경로/대상/파일}}` + +- 균일한 간격 (단어 사이에 1칸, 단락 사이에 2칸)으로 파일 형식을 다시 지정: + +`fmt -u {{경로/대상/파일}}` diff --git a/pages.ko/common/fnm.md b/pages.ko/common/fnm.md new file mode 100644 index 00000000000000..4455cf95edda2d --- /dev/null +++ b/pages.ko/common/fnm.md @@ -0,0 +1,25 @@ +# fnm + +> 빠른 Node.js 버전 관리자. +> Node.js 버전을 설치, 제거하거나 전환. +> 더 많은 정보: . + +- 특정 버전의 Node.js를 설치: + +`fnm install {{노드_버전}}` + +- 사용 가능한 모든 Node.js 버전을 나열하고 기본 버전을 강조 표시: + +`fnm list` + +- 현재 쉘에서 특정 버전의 Node.js를 사용: + +`fnm use {{노드_버전}}` + +- 기본 Node.js 버전을 설정: + +`fnm default {{노드_버전}}` + +- 지정된 Node.js 버전을 제거: + +`fnm uninstall {{노드_버전}}` diff --git a/pages.ko/common/fold.md b/pages.ko/common/fold.md new file mode 100644 index 00000000000000..4367218fb59eff --- /dev/null +++ b/pages.ko/common/fold.md @@ -0,0 +1,16 @@ +# fold + +> 지정된 너비에 맞게 입력 파일의 각 줄을 감싸고 `stdout`으로 출력. +> 더 많은 정보: . + +- 각 줄을 기본 너비로 변경 (80 자): + +`fold {{경로/대상/파일}}` + +- 각 줄을 너비 "30"으로 줄 바꿈: + +`fold -w30 {{경로/대상/파일}}` + +- 각 줄을 너비 "5"로 묶고 공백에서 줄을 (공백으로 구분된 각 단어를, 새 줄에 넣고, 5보다 큰 단어는 줄바꿈됨): + +`fold -w5 -s {{경로/대상/파일}}` diff --git a/pages.ko/common/for.md b/pages.ko/common/for.md new file mode 100644 index 00000000000000..584edb9d18b5ab --- /dev/null +++ b/pages.ko/common/for.md @@ -0,0 +1,24 @@ +# for + +> 명령을 여러 번 수행. +> 더 많은 정보: . + +- 지정된 각 항목에 대해 지정된 명령을 실행: + +`for {{변수}} in {{item1 item2 ...}}; do {{echo "Loop is executed"}}; done` + +- 주어진 숫자 범위에 대해 반복: + +`for {{변수}} in {{{from}}..{{to}}..{{step}}}; do {{echo "Loop is executed"}}; done` + +- 주어진 파일 목록을 반복: + +`for {{변수}} in {{경로/대상/파일1 경로/대상/파일2 ...}}; do {{echo "Loop is executed"}}; done` + +- 주어진 디렉터리 목록을 반복: + +`for {{변수}} in {{경로/대상/디렉터리1/ 경로/대상/디렉터리2/ ...}}; do {{echo "Loop is executed"}}; done` + +- 모든 디렉터리에서 주어진 명령을 수행: + +`for {{변수}} in */; do (cd "${{변수}}" || continue; {{echo "Loop is executed"}}) done` diff --git a/pages.ko/common/forever.md b/pages.ko/common/forever.md new file mode 100644 index 00000000000000..019cb1d0bb423e --- /dev/null +++ b/pages.ko/common/forever.md @@ -0,0 +1,16 @@ +# forever + +> Node.js 애플리케이션이 무기한 실행되도록 하는 서버측 JavaScript 애플리케이션 (종료 후 다시 시작됨). +> 더 많은 정보: . + +- 파일을 무기한으로 실행하기 시작 (데몬으로): + +`forever {{스크립트}}` + +- 실행중인 "영원한" 프로세스 목록 ("영원한" 프로세스의 ID 및 기타 세부정보와 함께): + +`forever list` + +- 실행 중인 "영구" 프로세스를 중지: + +`forever stop {{ID|pid|script}}` diff --git a/pages.ko/common/fortune.md b/pages.ko/common/fortune.md new file mode 100644 index 00000000000000..2d162dbb5c96b3 --- /dev/null +++ b/pages.ko/common/fortune.md @@ -0,0 +1,28 @@ +# fortune + +> 무작위 인용구 출력 (fortune-cookie style). +> 더 많은 정보: . + +- 인용구 출력: + +`fortune` + +- 공격적인 인용구 출력: + +`fortune -o` + +- 길이가 긴 인용구 출력: + +`fortune -l` + +- 길이가 짧은 인용구 출력: + +`fortune -s` + +- 사용 가능한 인용구 데이터베이스 파일 목록 나열: + +`fortune -f` + +- `fortune -f`에 나열된 데이터베이스 파일 중 하나에서 인용문을 출력: + +`fortune {{경로/대상/파일}}` diff --git a/pages.ko/common/fossa.md b/pages.ko/common/fossa.md new file mode 100644 index 00000000000000..559d298cfe0dd9 --- /dev/null +++ b/pages.ko/common/fossa.md @@ -0,0 +1,24 @@ +# fossa + +> Fossa 서비스용 CLI - 종속성 라이센스에 대한 실시간 라이센스 감사, 취약성 검색 및 보고서를 생성. +> 더 많은 정보: . + +- `.fossa.yml` 구성 파일을 초기화: + +`fossa init` + +- 기본 프로젝트 빌드를 실행: + +`fossa build` + +- 빌드된 종속성을 분석: + +`fossa analyze` + +- 보고서 생성: + +`fossa report` + +- FOSSA 스캔 상태에 대해 현재 개정판을 테스트하고 문제가 발견되면 오류와 함께 종료: + +`fossa test` diff --git a/pages.ko/common/fossil-add.md b/pages.ko/common/fossil-add.md new file mode 100644 index 00000000000000..2ecf23e5900d81 --- /dev/null +++ b/pages.ko/common/fossil-add.md @@ -0,0 +1,12 @@ +# fossil add + +> 파일이나 디렉터리를 Fossil 버전 관리하에 두는 것. +> 더 많은 정보: . + +- 파일이나 디렉토리를 버전 관리하에 두어, 현재 체크아웃 상태가 되도록 함: + +`fossil add {{경로/대상/파일_또는_디렉터리}}` + +- 현재 체크아웃에서 추가된 모든 파일을 제거: + +`fossil add --reset` diff --git a/pages.ko/common/fossil-ci.md b/pages.ko/common/fossil-ci.md new file mode 100644 index 00000000000000..742368ba491f7e --- /dev/null +++ b/pages.ko/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> 이 명령은 `fossil commit`.의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr fossil commit` diff --git a/pages.ko/common/fossil-commit.md b/pages.ko/common/fossil-commit.md new file mode 100644 index 00000000000000..c9740878a712f7 --- /dev/null +++ b/pages.ko/common/fossil-commit.md @@ -0,0 +1,20 @@ +# fossil commit + +> 파일을 Fossil 저장소에 커밋. +> 더 많은 정보: . + +- 현재 체크아웃의 모든 변경 사항을 포함하는 새로운 버전을 만듬; 사용자에게 설명을 요청하는 메시지가 표시됨: + +`fossil commit` + +- 지정된 설명을 사용하여, 현재 체크아웃의 모든 변경 사항을 포함하는 새 버전을 만듬: + +`fossil commit --comment "{{코멘트}}"` + +- 특정 파일에서 읽은 설명과 함께 현재 체크아웃의 모든 변경 사항을 포함하는 새 버전을 생성: + +`fossil commit --message-file {{경로/대상/커밋_메시지}}` + +- Create a new version containing changes from the specified files; user will be prompted for a comment: + +`fossil commit {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/fossil-delete.md b/pages.ko/common/fossil-delete.md new file mode 100644 index 00000000000000..cd64b6c0b43005 --- /dev/null +++ b/pages.ko/common/fossil-delete.md @@ -0,0 +1,17 @@ +# fossil delete + +> Fossil 버전 관리에서 파일이나 디렉터리를 제거. +> 참고: `fossil forget`. +> 더 많은 정보: . + +- Fossil 버전 관리에서 파일이나 디렉터리를 제거: + +`fossil {{[rm|delete]}} {{경로/대상/파일_또는_디렉토리}}` + +- Fossil 버전 관리에서 파일이나 디렉터리를 제거하고, 디스크에서도 삭제: + +`fossil {{[rm|delete]}} --hard {{경로/대상/파일_또는_디렉토리}}` + +- 이전에 제거하고 커밋하지 않은 모든 파일을 Fossil 버전 관리에 다시 추가: + +`fossil {{[rm|delete]}} --reset` diff --git a/pages.ko/common/fossil-forget.md b/pages.ko/common/fossil-forget.md new file mode 100644 index 00000000000000..515667c2196d5b --- /dev/null +++ b/pages.ko/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> 이 명령은 `fossil rm` 의 에일리어스 (별칭) 입니다. +> 더 많은 정보: . + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr fossil rm` diff --git a/pages.ko/common/fossil-init.md b/pages.ko/common/fossil-init.md new file mode 100644 index 00000000000000..ca72e4babc9e5e --- /dev/null +++ b/pages.ko/common/fossil-init.md @@ -0,0 +1,9 @@ +# fossil init + +> 프로젝트에 대한 새로운 저장소를 초기화함. +> 참고: `fossil clone`. +> 더 많은 정보: . + +- 이름있는 파일에 새로운 저장소를 생성: + +`fossil init {{경로/대상/파일이름}}` diff --git a/pages.ko/common/fossil-new.md b/pages.ko/common/fossil-new.md new file mode 100644 index 00000000000000..bd940e03f89071 --- /dev/null +++ b/pages.ko/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> 이 명령은 `fossil init`.의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr fossil init` diff --git a/pages.ko/common/fossil-rm.md b/pages.ko/common/fossil-rm.md new file mode 100644 index 00000000000000..67db56da95fe3a --- /dev/null +++ b/pages.ko/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> 이 명령은 `fossil delete` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr fossil delete` diff --git a/pages.ko/common/fossil.md b/pages.ko/common/fossil.md new file mode 100644 index 00000000000000..b30622f1afff46 --- /dev/null +++ b/pages.ko/common/fossil.md @@ -0,0 +1,21 @@ +# fossil + +> 분산 버전 제어 시스템. +> `commit`과 같은 하위명령어는 자체적 설명서가 있음. +> 더 많은 정보: . + +- Fossil 하위명령어 실행: + +`fossil {{하위명령어}}` + +- Display help: + +`fossil help` + +- 특정 하위명령어에 대한 도움말 표시 (`add`, `commit` 등과 같이): + +`fossil help {{하위명령어}}` + +- 버전 정보 표시: + +`fossil version` diff --git a/pages.ko/common/fping.md b/pages.ko/common/fping.md new file mode 100644 index 00000000000000..b6188963d0f9d7 --- /dev/null +++ b/pages.ko/common/fping.md @@ -0,0 +1,20 @@ +# fping + +> 여러 호스트에 ping을 보낼 수 있는 더욱 강력한 ping. +> 더 많은 정보: . + +- 범위 내의 모든 호스트 상태를 나열: + +`fping {{192.168.1.{1..254}}}` + +- 넷마스크에서 생성된 서브넷 내의 활성 호스트를 나열: + +`fping {{[-a|--alive]}} {{[-g|--generate]}} {{192.168.1.0/24}}` + +- IP 범위에서 생성된 서브넷 내의 활성 호스트를 나열하고 프로브별 결과를 정리: + +`fping {{[-q|--quiet]}} {{[-a|--alive]}} {{[-g|--generate]}} {{192.168.1.1}} {{192.168.1.254}}` + +- 넷마스크에서 생성된 서브넷 내의 연결할 수 없는 호스트를 나열: + +`fping {{[-u|--unreach]}} {{[-g|--generate]}} {{192.168.1.0/24}}` diff --git a/pages.ko/common/fpsync.md b/pages.ko/common/fpsync.md new file mode 100644 index 00000000000000..4723a004def9a4 --- /dev/null +++ b/pages.ko/common/fpsync.md @@ -0,0 +1,28 @@ +# fpsync + +> 여러 동기화 프로세스를 로컬 또는 여러 원격 워커에서 SSH를 통해 실행. +> 더 많은 정보: . + +- 디렉토리를 다른 위치로 재귀적으로 동기화: + +`fpsync -v {{/경로/대상/소스/}} {{/경로/대상/목적지/}}` + +- 디렉토리를 재귀적으로 최종 패스로 동기화 (각 동기화 작업에 rsync의 `--delete` 옵션 활성화): + +`fpsync -v -E {{/경로/대상/소스/}} {{/경로/대상/목적지/}}` + +- 디렉토리를 재귀적으로 8개의 동시 동기화 작업을 사용하여 목적지로 동기화: + +`fpsync -v -n 8 -E {{/경로/대상/소스/}} {{/경로/대상/목적지/}}` + +- 디렉토리를 재귀적으로 8개의 동시 동기화 작업을 두 개의 원격 워커(machin1 및 machine2)에 분산하여 목적지로 동기화: + +`fpsync -v -n 8 -E -w login@machine1 -w login@machine2 -d {{/경로/대상/공유/디렉토리}} {{/경로/대상/소스/}} {{/경로/대상/목적지/}}` + +- 디렉토리를 재귀적으로 4개의 로컬 워커를 사용하여 각 동기화 작업당 최대 1000개의 파일과 100MB를 전송하며 목적지로 동기화: + +`fpsync -v -n 4 -f 1000 -s $((100 * 1024 * 1024)) {{/경로/대상/소스/}} {{/경로/대상/목적지/}}` + +- 특정 `.snapshot*` 파일을 제외한 디렉토리를 재귀적으로 동기화 (참고: 옵션과 값은 파이프 문자로 구분해야 함): + +`fpsync -v -O "-x|.snapshot*" {{/경로/대상/소스/}} {{/경로/대상/목적지/}}` diff --git a/pages.ko/common/freshclam.md b/pages.ko/common/freshclam.md new file mode 100644 index 00000000000000..936876675e8ef0 --- /dev/null +++ b/pages.ko/common/freshclam.md @@ -0,0 +1,8 @@ +# freshclam + +> ClamAV 바이러스 백신 프로그램의 바이러스 정의를 업데이트. +> 더 많은 정보: . + +- 바이러스 정의 업데이트: + +`freshclam` diff --git a/pages.ko/common/from.md b/pages.ko/common/from.md new file mode 100644 index 00000000000000..c8cc34c9398c21 --- /dev/null +++ b/pages.ko/common/from.md @@ -0,0 +1,20 @@ +# from + +> 현재 사용자의 편지함에서 메일 헤더 줄을 출력. +> 더 많은 정보: . + +- 메일 나열: + +`from` + +- 저장된 메시지 수 표시: + +`from --count` + +- 지정된 사서함 디렉토리의 메일을 나열: + +`MAIL={{경로/대상/메일박스}} from` + +- 지정된 주소에서 보낸 메일을 출력: + +`from --sender={{me@example.com}}` diff --git a/pages.ko/common/frp.md b/pages.ko/common/frp.md new file mode 100644 index 00000000000000..25816963bb46b4 --- /dev/null +++ b/pages.ko/common/frp.md @@ -0,0 +1,12 @@ +# frp + +> 고속 역방향 프록시: 특정 서비스를 인터넷이나 기타 외부 네트워크에 노출하도록 네트워크 터널을 빠르게 설정. +> 더 많은 정보: . + +- `frp` 클라이언트 구성요소인 `frpc`에 대한 문서 보기: + +`tldr frpc` + +- `frp` 서버 구성요소인 `frps`에 대한 문서 보기: + +`tldr frps` diff --git a/pages.ko/common/frpc.md b/pages.ko/common/frpc.md new file mode 100644 index 00000000000000..d424e681ca4305 --- /dev/null +++ b/pages.ko/common/frpc.md @@ -0,0 +1,29 @@ +# frpc + +> 현재 호스트에서 프록시 연결을 시작하려면 `frps`서버에 연결. +> `frp`의 부분. +> 더 많은 정보: . + +- 기본 구성 파일(현재 디렉터리의 `frps.ini`로 가정)을 사용하여 서비스를 시작: + +`frpc` + +- 현재 디렉터리에서 최신 TOML 구성 파일 (`frps.ini` 대신 `frps.toml`)을 사용하여 서비스를 시작: + +`frpc {{[-c|--config]}} ./frps.toml` + +- 특정 구성 파일을 사용하여, 서비스를 시작: + +`frpc {{[-c|--config]}} {{경로/대상/파일}}` + +- 구성 파일이 유효한지 확인: + +`frpc verify {{[-c|--config]}} {{경로/대상/파일}}` + +- Bash, fish, PowerShell 또는 Zsh에 대한 자동 완성 설정 스크립트를 출력: + +`frpc completion {{bash|fish|powershell|zsh}}` + +- 버전 정보 표시: + +`frpc {{[-v|--version]}}` diff --git a/pages.ko/common/frps.md b/pages.ko/common/frps.md new file mode 100644 index 00000000000000..0964b28b8890ae --- /dev/null +++ b/pages.ko/common/frps.md @@ -0,0 +1,29 @@ +# frps + +> 리버스 프록스 서비스를 빠르게 설정. +> `frp`의 부분. +> 더 많은 정보: . + +- 기본 구성 파일(현재 디렉터리의 `frps.ini`로 가정)을 사용하여 서비스를 시작: + +`frps` + +- 현재 디렉터리에서 최신 TOML 구성 파일 (`frps.ini` 대신 `frps.toml`)을 사용하여 서비스를 시작: + +`frps {{[-c|--config]}} ./frps.toml` + +- 특정 구성 파일을 사용하여, 서비스를 시작: + +`frps {{[-c|--config]}} {{경로/대상/파일}}` + +- 구성 파일이 유효한지 확인: + +`frps verify {{[-c|--config]}} {{경로/대상/파일}}` + +- Bash, fish, PowerShell 또는 Zsh에 대한 자동 완성 설정 스크립트를 출력: + +`frps completion {{bash|fish|powershell|zsh}}` + +- 버전 정보 표시: + +`frps {{[-v|--version]}}` diff --git a/pages.ko/common/fselect.md b/pages.ko/common/fselect.md new file mode 100644 index 00000000000000..f863391133f785 --- /dev/null +++ b/pages.ko/common/fselect.md @@ -0,0 +1,24 @@ +# fselect + +> SQL과 유사한 쿼리로 파일을 찾음. +> 더 많은 정보: . + +- 특정 디렉터리의 임시 또는 구성 파일에서 전체 경로와 크기를 선택: + +`fselect size, path from {{경로/대상/디렉토리}} where name = {{'*.cfg'}} or name = {{'*.tmp'}}` + +- 정사각형 이미지 찾기: + +`fselect path from {{경로/대상/디렉토리}} where width = height` + +- 옛날 랩 320kbps MP3 파일 찾기: + +`fselect path from {{경로/대상/디렉토리}} where genre = {{Rap}} and bitrate = {{320}} and mp3_year lt {{2000}}` + +- 처음 5개 결과만 선택하고 JSON으로 출력: + +`fselect size, path from {{경로/대상/디렉토리}} limit {{5}} into json` + +- SQL 집계 함수를 사용하여, 디렉터리에 있는 파일의 최소, 최대 및 평균 크기를 계산: + +`fselect "{{MIN(size), MAX(size), AVG(size), SUM(size), COUNT(*)}} from {{경로/대상/디렉토리}}"` diff --git a/pages.ko/common/fstopgm.md b/pages.ko/common/fstopgm.md new file mode 100644 index 00000000000000..ba051d7b628f34 --- /dev/null +++ b/pages.ko/common/fstopgm.md @@ -0,0 +1,9 @@ +# fstopgm + +> Usenix FaceSaver 파일을 PGM 이미지로 변환. +> 참고: `pgmtofs`. +> 더 많은 정보: . + +- 지정된 Usenix FaceSaver 파일을 PGM 이미지로 변환: + +`fstopgm {{경로/대상/입력.fs}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/fswatch.md b/pages.ko/common/fswatch.md new file mode 100644 index 00000000000000..35b7fef62299b2 --- /dev/null +++ b/pages.ko/common/fswatch.md @@ -0,0 +1,20 @@ +# fswatch + +> 크로스 플랫폼 파일 변경 모니터. +> 더 많은 정보: . + +- 파일 생성, 업데이트 또는 삭제 시 Bash 명령을 실행: + +`fswatch {{경로/대상/파일}} | xargs {{[-n|--max-args]}} 1 {{bash_명령어}}` + +- 하나 이상의 파일 또는 디렉터리를 감시: + +`fswatch {{경로/대상/파일}} {{경로/대상/디렉토리}} {{path/to/another_directory/**/*.js}} | xargs {{[-n|--max-args]}} 1 {{bash_명령어}}` + +- 변경된 파일의 절대 경로를 출력: + +`fswatch {{경로/대상/디렉토리}} | xargs {{[-n|--max-args]}} 1 -I _ echo _` + +- 이벤트 유형 별로 필터링: + +`fswatch --event {{Updated|Deleted|Created}} {{경로/대상/디렉토리}} | xargs {{[-n|--max-args]}} 1 {{bash_명령어}}` diff --git a/pages.ko/common/fswebcam.md b/pages.ko/common/fswebcam.md new file mode 100644 index 00000000000000..dd5828b5e1309c --- /dev/null +++ b/pages.ko/common/fswebcam.md @@ -0,0 +1,20 @@ +# fswebcam + +> 작고 간단한 \*nix용 웹캠. +> 더 많은 정보: . + +- 사진을 찍음: + +`fswebcam {{파일이름}}` + +- 사용자 정의 해상도로 사진 찍기: + +`fswebcam -r {{너비}}x{{높이}} {{파일이름}}` + +- 선택한 장치에서 사진을 찍음(기본값 `/dev/video0`): + +`fswebcam -d {{장치}} {{파일이름}}` + +- 타임스탬프가 있는 사진을 찍음(타임스탬프 문자열은 strftime로 형식화됨): + +`fswebcam --timestamp {{타임스탬프}} {{파일이름}}` diff --git a/pages.ko/common/ftp.md b/pages.ko/common/ftp.md new file mode 100644 index 00000000000000..06d1c0c8a46255 --- /dev/null +++ b/pages.ko/common/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> 파일 전송 프로토콜을 통해 서버와 상호 작용하는 도구. +> 더 많은 정보: . + +- FTP 서버에 연결: + +`ftp {{ftp.example.com}}` + +- IP 주소와 포트를 지정하여 FTP 서버에 연결: + +`ftp {{아이피_주소}} {{포트}}` + +- 바이너리 전송 모드 (그래픽, 압축 파일 등)로 전환: + +`binary` + +- 모든 파일에 대해 확인 메시지를 표시하지 않고 여러 파일을 전송: + +`prompt off` + +- 여러 파일 다운로드 (glob 표현식): + +`mget {{*.png}}` + +- 여러 파일 업로드 (glob 표현식): + +`mput {{*.zip}}` + +- 원격 서버에서 여러 파일 삭제: + +`mdelete {{*.txt}}` + +- 원격 서버의 파일 이름 바꾸기: + +`rename {{원본_파일이름}} {{새로운_파일이름}}` diff --git a/pages.ko/common/fuck.md b/pages.ko/common/fuck.md new file mode 100644 index 00000000000000..f506f3e91c1c62 --- /dev/null +++ b/pages.ko/common/fuck.md @@ -0,0 +1,16 @@ +# fuck + +> 이전 콘솔 명령을 수정. +> 더 많은 정보: . + +- `fuck` 별칭을 `thefuck` 도구로 설정: + +`eval "$(thefuck --alias)"` + +- 이전 명령에 대한 규칙을 일치시킴: + +`fuck` + +- 첫 번째 선택을 즉시 확인 (올바른 주장은 짜증의 정도에 따라 다름): + +`fuck --{{yes|yeah|hard}}` diff --git a/pages.ko/common/func.md b/pages.ko/common/func.md new file mode 100644 index 00000000000000..e46949e19775d0 --- /dev/null +++ b/pages.ko/common/func.md @@ -0,0 +1,29 @@ +# func + +> Azure Functions 핵심 도구: Azure Functions를 로컬에서 개발하고 테스트. +> 로컬 함수는 라이브 Azure 서비스에 연결할 수 있고, Azure 구독에 함수 앱을 배포할 수 있음. +> 더 많은 정보: . + +- 새로운 함수 프로젝트를 생성: + +`func init {{project}}` + +- 새로운 함수 생성: + +`func new` + +- 로컬에서 함수 실행: + +`func start` + +- Azure의 함수 앱에 코드를 게시: + +`func azure functionapp publish {{함수}}` + +- 기존 함수 앱에서 모든 설정을 다운로드: + +`func azure functionapp fetch-app-settings {{함수}}` + +- 특정 스토리지 계정에 대한 연결 문자열을 가져옴: + +`func azure storage fetch-connection-string {{스토리지_계정}}` diff --git a/pages.ko/common/funzip.md b/pages.ko/common/funzip.md new file mode 100644 index 00000000000000..ab1d81a2b490fd --- /dev/null +++ b/pages.ko/common/funzip.md @@ -0,0 +1,16 @@ +# funzip + +> 추출 없이 아키이브의 첫 번째 (디렉토리가 아닌) 멤버의 내용을 출력. +> 더 많은 정보: . + +- Zip 아카이브의 첫 번째 멤버 내용을 출력: + +`funzip {{경로/대상/아카이브.zip}}` + +- gzip 아카이브의 콘텐츠를 출력: + +`funzip {{경로/대상/아카이브.gz}}` + +- Zip 또는 gzip 아카이브를 해독하고 콘텐츠를 출력: + +`funzip -password {{비밀번호}} {{경로/대상/아카이브}}` diff --git a/pages.ko/common/fusermount.md b/pages.ko/common/fusermount.md new file mode 100644 index 00000000000000..1fa70b473ede75 --- /dev/null +++ b/pages.ko/common/fusermount.md @@ -0,0 +1,16 @@ +# fusermount + +> FUSE 파일 시스템 마운트 및 마운트 해제. +> 더 많은 정보: . + +- FUSE 파일 시스템 마운트 해제: + +`fusermount -u {{경로/대상/마운트_포인트}}` + +- FUSE 파일 시스템이 사용되지 않는 즉시 마운트를 해제: + +`fusermount -z {{경로/대상/마운트_포인트}}` + +- 버전 정보 표시: + +`fusermount --version` diff --git a/pages.ko/common/fvm.md b/pages.ko/common/fvm.md new file mode 100644 index 00000000000000..7a45df0d18ea2d --- /dev/null +++ b/pages.ko/common/fvm.md @@ -0,0 +1,32 @@ +# fvm + +> Flutter 버전 관리. +> 더 많은 정보: . + +- Flutter SDK 버전을 설치. 프로젝트 설정에 `version` 없이 사용: + +`fvm install {{버전}}` + +- 프로젝트에서 특정 버전의 Flutter SDK를 설치: + +`fvm use {{버전}} {{옵션}}` + +- Flutter SDK의 글로벌 버전을 설정: + +`fvm global {{버전}}` + +- FVM 캐시 삭제: + +`fvm destroy` + +- Flutter SDK의 특정 버전을 제거: + +`fvm remove {{버전}}` + +- Flutter SDK의 설치된 모든 버전을 나열: + +`fvm list` + +- Flutter SDK의 모든 릴리스를 나열: + +`fvm releases` diff --git a/pages.ko/common/fzf.md b/pages.ko/common/fzf.md new file mode 100644 index 00000000000000..ab7daa20bb0606 --- /dev/null +++ b/pages.ko/common/fzf.md @@ -0,0 +1,29 @@ +# fzf + +> 명령줄 퍼지 찾기. +> `sk`와 유사. +> 더 많은 정보: . + +- 지정된 디렉터리의 모든 파일에서 `fzf`를 시작: + +`find {{경로/대상/디렉터리}} -type f | fzf` + +- 프로세스 실행을 위해 `fzf`를 시작: + +`ps aux | fzf` + +- ``을 사용해 여러 파일을 선택하고 파일에 작성: + +`find {{경로/대상/디렉터리}} -type f | fzf {{[-m|--multi]}} > {{경로/대상/파일}}` + +- 지정된 쿼리로 `fzf`를 시작: + +`fzf {{[-q|--query]}} "{{쿼리}}"` + +- core로 시작하고 go, rb 또는 py로 끝나는 항목에서 `fzf`를 시작: + +`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"` + +- pvc와 일치하지 않고 travis와 정확히 일치하는 항목에 대해 `fzf`를 시작: + +`fzf {{[-q|--query]}} "!pyc 'travis"` diff --git a/pages.ko/common/g++.md b/pages.ko/common/g++.md new file mode 100644 index 00000000000000..c926725b5adc4e --- /dev/null +++ b/pages.ko/common/g++.md @@ -0,0 +1,29 @@ +# g++ + +> C++ 소스 파일을 컴파일합니다. +> GCC (GNU 컴파일로 모음)의 일부입니다. +> 더 많은 정보: . + +- 소스 코드 파일을 실행 가능한 바이너리로 컴파일합니다: + +`g++ {{소스/파일/경로.cpp}} {{[-o|--output]}} {{출력/실행파일/경로}}` + +- 일반적인 경고를 표시합니다: + +`g++ {{소스/파일/경로.cpp}} -Wall {{[-o|--output]}} {{출력/실행파일/경로}}` + +- 컴파일할 때 사용할 언어 표준을 선택합니다 (C++98/C++11/C++14/C++17): + +`g++ {{소스/파일/경로.cpp}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{출력/실행파일/경로}}` + +- 소스 파일과 다른 경로에 위치한 라이브러리들을 포함합니다: + +`g++ {{소스/파일/경로.cpp}} {{[-o|--output]}} {{출력/실행파일/경로}} -I{{헤더/경로}} -L{{라이브러리/경로}} -l{{라이브러리명}}` + +- 다수의 소스 코드 파일을 실행 가능한 바이너리로 컴파일하고 링킹합니다: + +`g++ -c {{소스/파일/경로1.cpp 소스/파일/경로2.cpp ...}} && g++ {{[-o|--output]}} {{출력/실행파일/경로}} {{소스/파일/경로1.o 소스/파일/경로2.o ...}}` + +- 버전을 표시합니다: + +`g++ --version` diff --git a/pages.ko/common/gacutil.md b/pages.ko/common/gacutil.md new file mode 100644 index 00000000000000..1bd8eea0428bc3 --- /dev/null +++ b/pages.ko/common/gacutil.md @@ -0,0 +1,16 @@ +# gacutil + +> 전역 어셈블리 캐시 (Global Assembly Cache, CAG) 관리 유틸리티. +> 더 많은 정보: . + +- 지정된 어셈블리를 GAC에 설치: + +`gacutil -i {{경로/대상/어셈블리.dll}}` + +- GAC에서 지정된 어셈블리를 제거: + +`gacutil -i {{어셈블리_표시_이름}}` + +- GAC의 내용을 출력: + +`gacutil -l` diff --git a/pages.ko/common/gallery-dl.md b/pages.ko/common/gallery-dl.md new file mode 100644 index 00000000000000..531b25280c69a1 --- /dev/null +++ b/pages.ko/common/gallery-dl.md @@ -0,0 +1,20 @@ +# gallery-dl + +> 여러 이미지 호스팅 사이트에서 이미지 갤러리와 컬렉션 다운로드. +> 더 많은 정보: . + +- 지정된 URL에서 이미지 다운로드: + +`gallery-dl "{{url}}"` + +- 웹 브라우저에서 기존 쿠키를 검색 (로그인이 필요한 사이트에 유용): + +`gallery-dl --cookies-from-browser {{browser}} "{{주소}}"` + +- 사용자 이름과 비밀번호를 사용하여 인증을 지원하는 사이트에서 이미지의 직접 URL을 가져옴: + +`gallery-dl --get-urls --username {{사용자명}} --password {{비밀번호}} "{{주소}}"` + +- 장 번호와 언어별로 만화 장을 필터링: + +`gallery-dl --chapter-filter "{{10 <= chapter < 20}}" --option "lang={{언어_코드}}" "{{주소}}"` diff --git a/pages.ko/common/gammastep.md b/pages.ko/common/gammastep.md new file mode 100644 index 00000000000000..9b174f2b7f5c44 --- /dev/null +++ b/pages.ko/common/gammastep.md @@ -0,0 +1,28 @@ +# Gammastep + +> 하루 중 시간에 따라 화면의 색온도를 조정. +> 더 많은 정보: . + +- 낮(예: 5700k)과 밤(예: 3600k)에 특정 온도([t]emperature)로 Gammastep은 켜기: + +`gammastep -t {{5700}}:{{3600}}` + +- 수동으로 지정한 사용자 정의 위치([l]ocation)로 Gammastep을 켜기: + +`gammastep -l {{latitude}}:{{longitude}}` + +- 낮(예: 70%)과 밤(예: 40%)의 특정 화면 밝기([b]rightness)로 최소 밝기 10% 및 최대 밝기 100%로 Gammastep을 켜기: + +`gammastep -b {{0.7}}:{{0.4}}` + +- 사용자 정의 [g]amma 레벨 (0과 1 사이)로 Gammastep을 켜기: + +`gammastep -g {{red}}:{{green}}:{{blue}}` + +- 지속적으로 변하지 않는 색온도(c[O]nstant) Gammastep을 켜기: + +`gammastep -O {{온도}}` + +- Gammastep에 의해 적용된 온도 조정 재설정: + +`gammastep -x` diff --git a/pages.ko/common/ganache-cli.md b/pages.ko/common/ganache-cli.md new file mode 100644 index 00000000000000..1964e05b9a5763 --- /dev/null +++ b/pages.ko/common/ganache-cli.md @@ -0,0 +1,32 @@ +# ganache-cli + +> 이더리움 개발을 위한 개인 블록체인 Ganache의 명령줄 버전. +> 더 많은 정보: . + +- Ganache 실행: + +`ganache-cli` + +- 특정 수의 계정으로 Ganache를 실행: + +`ganache-cli --accounts={{계정_의_수}}` + +- Ganache를 실행하고 기본적으로 사용 가능한 계정을 잠금: + +`ganache-cli --secure` + +- Ganache 서버를 실행하고 특정 계정을 잠금 해제: + +`ganache-cli --secure --unlock "{{계정_개인_키1}}" --unlock "{{계정_개인_키2}}"` + +- 특정 계정과 잔액으로 Ganache을 실행: + +`ganache-cli --account="{{계정_개인_키}},{{계정_잔액}}"` + +- 기본 잔액이 있는 계정으로 Ganache를 실행: + +`ganache-cli --defaultBalanceEther={{기본_잔액}}` + +- Ganache를 실행하고 모든 요청을 `stdout`에 기록: + +`ganache-cli --verbose` diff --git a/pages.ko/common/gatsby.md b/pages.ko/common/gatsby.md new file mode 100644 index 00000000000000..3d3a44156cae7d --- /dev/null +++ b/pages.ko/common/gatsby.md @@ -0,0 +1,24 @@ +# gatsby + +> React용 정적 사이트 생성기. +> 더 많은 정보: . + +- 새로운 사이트 생성: + +`gatsby new {{사이트_이름}}` + +- Gatsby '스타터'를 사용하여 새로운 사이트 생성: + +`gatsby new {{사이트_이름}} {{스타터_깃허브_레포_주소}}` + +- 라이브 다시 로드하는 로컬 새발 서버를 시작: + +`gatsby develop` + +- 프로덕션 빌드를 수행하고 정적 HTML을 생성: + +`gatsby build` + +- 프로덕션 빌드를 제공하는 로컬 서버를 시작: + +`gatsby serve` diff --git a/pages.ko/common/gau.md b/pages.ko/common/gau.md new file mode 100644 index 00000000000000..ccb595868e87b5 --- /dev/null +++ b/pages.ko/common/gau.md @@ -0,0 +1,32 @@ +# gau + +> 모든 URL 가져오기: AlienVault의 Open Threat Exchange, Wayback Machine, 및 모든 도메인에 대한 Common Crawl에서 알려진 URL을 가져옴. +> 더 많은 정보: . + +- AlienVault의 Open Threat Exchange, Wayback Machine, Common Crawl 및 URLScan에서 도메인의 모든 URL을 가져옴: + +`gau {{example.com}}` + +- 여러 도메인의 URL을 가져옴: + +`gau {{도메인1 도메인2 ...}}` + +- 여러 스레드를 실행하여 입력 파일에서 여러 도메인의 모든 URL을 가져옴: + +`gau --threads {{4}} < {{경로/대상/도메인.txt}}` + +- 출력([o]utput) 결과를 파일에 기록: + +`gau {{example.com}} --o {{경로/대상/찾은_주소.txt}}` + +- 특정 제공업체의 URL만 검색: + +`gau --providers {{wayback|commoncrawl|otx|urlscan}} {{example.com}}` + +- 여러 제공업체의 URL 검색: + +`gau --providers {{wayback,otx,...}} {{example.com}}` + +- 특정 날짜 범위 내의 URL 검색: + +`gau --from {{YYYYMM}} --to {{YYYYMM}} {{example.com}}` diff --git a/pages.ko/common/gcal.md b/pages.ko/common/gcal.md new file mode 100644 index 00000000000000..aaadd62a67e832 --- /dev/null +++ b/pages.ko/common/gcal.md @@ -0,0 +1,24 @@ +# gcal + +> 달력 표시. +> 더 많은 정보: . + +- 이번 달의 달력 표시: + +`gcal` + +- 2010년 2월의 달력 표시: + +`gcal 2 2010` + +- 주 번호가 포함된 달력 시트 제공: + +`gcal --with-week-number` + +- 한 주의 시작일을 한 주의 첫 번째 날(월요일)로 변경: + +`gcal --starting-day=1` + +- 오늘을 중심으로 이전, 이번, 다음 달을 표시: + +`gcal .` diff --git a/pages.ko/common/gcalcli.md b/pages.ko/common/gcalcli.md new file mode 100644 index 00000000000000..cdec72004df983 --- /dev/null +++ b/pages.ko/common/gcalcli.md @@ -0,0 +1,33 @@ +# gcalcli + +> Google 캘린더와 상호작용. +> 처음 실행 시 Google API 인증을 요청. +> 더 많은 정보: . + +- 향후 7일 동안의 모든 캘린더에 대한 이벤트를 나열: + +`gcalcli agenda` + +- 특정 날짜부터 또는 그 사이에 시작되는 이벤트 표시(예: "내일"과 같은 상대 날짜도 사용): + +`gcalcli agenda {{mm/dd}} [{{mm/dd}}]` + +- 특정 캘린더의 이벤트 나열: + +`gcalcli --calendar {{캘린더_이름}} agenda` + +- 주별 이벤트의 ASCII 달력을 표시: + +`gcalcli calw` + +- 한 달 동안의 이벤트에 대한 ASCII 달력을 표시: + +`gcalcli calm` + +- 캘린더에 이벤트를 빠르게 추가: + +`gcalcli --calendar {{캘린더_이름}} quick "{{mm/dd}} {{HH:MM}} {{이벤트_이름}}"` + +- 캘린더에 이벤트를 추가. 대화형 프롬프트를 트리거: + +`gcalcli --calendar "{{캘린더_이름}}" add` diff --git a/pages.ko/common/gcc.md b/pages.ko/common/gcc.md new file mode 100644 index 00000000000000..dee996ba264521 --- /dev/null +++ b/pages.ko/common/gcc.md @@ -0,0 +1,24 @@ +# gcc + +> C와 C++ 소스 파일들을 전처리, 컴파일하여 모으고 이어줍니다. +> 더 많은 정보: . + +- 다수의 소스 파일을 실행 파일로 컴파일합니다: + +`gcc {{소스/파일1/경로.c 소스/파일2/경로.c ...}} {{[-o|--output]}} {{출력/실행파일/경로}}` + +- 일반적인 경고와 디버그 심볼을 출력합니다: + +`gcc {{소스/파일/경로.c}} -Wall -Og {{[-o|--output]}} {{출력/실행파일/경로}}` + +- 다른 경로에 위치한 라이브러리들을 포함합니다: + +`gcc {{소스/파일/경로.c}} {{[-o|--output]}} {{출력/실행파일/경로}}} -I{{헤더/경로}} -L{{라이브러리/경로}} -l{{라이브러리명}}` + +- 소스 코드를 어셈블리어로 컴파일합니다: + +`gcc {{[-S|--assemble]}} {{소스/파일/경로.c}}` + +- 소스 코드를 링킹 없이 오브젝트 파일로 컴파일합니다: + +`gcc {{[-c|--compile]}} {{소스/파일/경로.c}}` diff --git a/pages.ko/common/gcloud-app.md b/pages.ko/common/gcloud-app.md new file mode 100644 index 00000000000000..33399f77e23d87 --- /dev/null +++ b/pages.ko/common/gcloud-app.md @@ -0,0 +1,25 @@ +# gcloud app + +> 관리형 서버리스 플랫폼에서 확장 가능한 애플리케이션 구축. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 애플리케이션의 코드와 구성을 App Engine 서버에 배포: + +`gcloud app deploy {{배포물들}}` + +- App Engine 서버에 배포된 모든 서비스의 모든 버전 나열: + +`gcloud app versions list` + +- 현재 애플리케이션을 웹 브라우저에서 열기: + +`gcloud app browse` + +- 현재 프로젝트 내에서 App Engine 애플리케이션 생성: + +`gcloud app create` + +- 최신 App Engine 애플리케이션 로그 표시: + +`gcloud app logs read` diff --git a/pages.ko/common/gcloud-auth.md b/pages.ko/common/gcloud-auth.md new file mode 100644 index 00000000000000..6e6fdca1d24336 --- /dev/null +++ b/pages.ko/common/gcloud-auth.md @@ -0,0 +1,29 @@ +# gcloud auth + +> `gcloud`에 대한 권한 부여 및 취소, 자격 증명 관리. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- Google Cloud 사용자 자격 증명으로 `gcloud` CLI에 대한 액세스를 허용하고 현재 계정을 활성 계정으로 설정: + +`gcloud auth login` + +- 서비스 계정 자격 증명으로 `gcloud auth login`과 유사하게 Google Cloud 액세스 허용: + +`gcloud auth activate-service-account` + +- Cloud Client Libraries를 위한 애플리케이션 기본 자격 증명(ADC) 관리: + +`gcloud auth application-default` + +- 시스템에서 현재 인증된 Google Cloud 계정 목록 표시: + +`gcloud auth list` + +- 현재 계정의 액세스 토큰 표시: + +`gcloud auth print-access-token` + +- 계정의 액세스 자격 증명 제거: + +`gcloud auth revoke` diff --git a/pages.ko/common/gcloud-components-install.md b/pages.ko/common/gcloud-components-install.md new file mode 100644 index 00000000000000..fc492f43f0c415 --- /dev/null +++ b/pages.ko/common/gcloud-components-install.md @@ -0,0 +1,21 @@ +# gcloud components install + +> Google Cloud CLI의 구성 요소와 그 의존성을 설치. +> 기존 설치를 업그레이드하지 않고 현재 Google Cloud CLI 버전의 구성 요소를 설치. +> 더 많은 정보: . + +- 설치 가능한 구성 요소 보기: + +`gcloud components list` + +- 하나 이상의 구성 요소 설치 (필요한 의존성도 함께 설치): + +`gcloud components install {{구성_요소_id1 구성_요소_id2 ...}}` + +- 현재 Google Cloud CLI 버전 확인: + +`gcloud version` + +- Google Cloud CLI를 최신 버전으로 업데이트: + +`gcloud components update` diff --git a/pages.ko/common/gcloud-components-update.md b/pages.ko/common/gcloud-components-update.md new file mode 100644 index 00000000000000..96d6bff8984108 --- /dev/null +++ b/pages.ko/common/gcloud-components-update.md @@ -0,0 +1,17 @@ +# gcloud components update + +> 설치된 Google Cloud CLI 구성 요소를 최신 버전으로 업데이트. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 모든 구성 요소를 최신 버전으로 업데이트: + +`gcloud components update` + +- 모든 구성 요소를 특정 버전으로 업데이트: + +`gcloud components update --version={{1.2.3}}` + +- 확인 없이 구성 요소 업데이트 (자동화 스크립트에 유용): + +`gcloud components update --quiet` diff --git a/pages.ko/common/gcloud-compute.md b/pages.ko/common/gcloud-compute.md new file mode 100644 index 00000000000000..36459eeead9494 --- /dev/null +++ b/pages.ko/common/gcloud-compute.md @@ -0,0 +1,37 @@ +# gcloud compute + +> Google Cloud 인프라에서 VM을 생성, 실행 및 관리. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- Compute Engine 영역 나열: + +`gcloud compute zones list` + +- VM 인스턴스 생성: + +`gcloud compute instances create {{인스턴스_이름}}` + +- VM 인스턴스 세부 정보 표시: + +`gcloud compute instances describe {{인스턴스_이름}}` + +- 프로젝트 내 모든 VM 인스턴스 나열: + +`gcloud compute instances list` + +- 영구 디스크 스냅샷 생성: + +`gcloud compute disks snapshot {{디스크_이름}} --snapshot-names {{스냅샷_이름}}` + +- 스냅샷 세부 정보 표시: + +`gcloud compute snapshots describe {{스냅샷_이름}}` + +- 스냅샷 삭제: + +`gcloud compute snapshots delete {{스냅샷_이름}}` + +- SSH를 사용하여 VM 인스턴스에 연결: + +`gcloud compute ssh {{인스턴스_이름}}` diff --git a/pages.ko/common/gcloud-config-set.md b/pages.ko/common/gcloud-config-set.md new file mode 100644 index 00000000000000..bedb95bdfb4539 --- /dev/null +++ b/pages.ko/common/gcloud-config-set.md @@ -0,0 +1,33 @@ +# gcloud config set + +> Google Cloud CLI 구성에서 속성을 설정. +> 속성은 Google Cloud CLI 동작의 다양한 측면을 제어합니다. +> 더 많은 정보: . + +- core 섹션에서 프로젝트 속성 설정: + +`gcloud config set project {{프로젝트_ID}}` + +- 향후 작업을 위한 컴퓨트 영역 설정: + +`gcloud config set compute/zone {{존_이름}}` + +- 스크립팅에 적합하도록 gcloud의 프롬프트 비활성화: + +`gcloud config set disable_prompts true` + +- 현재 사용 중인 속성 목록 보기: + +`gcloud config list` + +- 설정된 속성 해제: + +`gcloud config unset {{속성_이름}}` + +- 새로운 구성 프로필 생성: + +`gcloud config configurations create {{구성_이름}}` + +- 다른 구성 프로필 간 전환: + +`gcloud config configurations activate {{구성_이름}}` diff --git a/pages.ko/common/gcloud-config.md b/pages.ko/common/gcloud-config.md new file mode 100644 index 00000000000000..9ef55b4d7599f4 --- /dev/null +++ b/pages.ko/common/gcloud-config.md @@ -0,0 +1,29 @@ +# gcloud config + +> `gcloud`의 다양한 구성 관리. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 현재 구성에 대한 속성(예: compute/zone) 정의: + +`gcloud config set {{속성}} {{값}}` + +- `gcloud` 속성의 값 가져오기: + +`gcloud config get {{속성}}` + +- 현재 구성의 모든 속성 표시: + +`gcloud config list` + +- 주어진 이름으로 새 구성 만들기: + +`gcloud config configurations create {{구성_이름}}` + +- 사용 가능한 모든 구성 목록 표시: + +`gcloud config configurations list` + +- 주어진 이름의 기존 구성으로 전환: + +`gcloud config configurations activate {{구성_이름}}` diff --git a/pages.ko/common/gcloud-container.md b/pages.ko/common/gcloud-container.md new file mode 100644 index 00000000000000..dfe4d312ea93d5 --- /dev/null +++ b/pages.ko/common/gcloud-container.md @@ -0,0 +1,25 @@ +# gcloud container + +> Kubernetes 및 클러스터에서 컨테이너화된 애플리케이션 관리. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- `gcloud`를 Docker 자격 증명 도우미로 등록: + +`gcloud auth configure-docker` + +- GKE 컨테이너를 실행할 클러스터 생성: + +`gcloud container clusters create {{클러스터_이름}}` + +- GKE 컨테이너를 실행할 클러스터 나열: + +`gcloud container clusters list` + +- `kubectl`이 GKE 클러스터를 사용하도록 kubeconfig 업데이트: + +`gcloud container clusters get-credentials {{클러스터_이름}}` + +- 컨테이너 이미지의 태그 및 다이제스트 메타데이터 나열: + +`gcloud container images list-tags {{이미지}}` diff --git a/pages.ko/common/gcloud-feedback.md b/pages.ko/common/gcloud-feedback.md new file mode 100644 index 00000000000000..786bb3822075b8 --- /dev/null +++ b/pages.ko/common/gcloud-feedback.md @@ -0,0 +1,13 @@ +# gcloud feedback + +> Google Cloud 팀에게 피드백 제공. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- `gcloud` 팀에게 피드백 제공: + +`gcloud feedback` + +- `gcloud` 팀에게 피드백 제공 및 로그 파일 첨부: + +`gcloud feedback --log-file {{로그_파일}}` diff --git a/pages.ko/common/gcloud-help.md b/pages.ko/common/gcloud-help.md new file mode 100644 index 00000000000000..3713738724df11 --- /dev/null +++ b/pages.ko/common/gcloud-help.md @@ -0,0 +1,9 @@ +# gcloud help + +> `gcloud`에 대한 도움말 및 참조 정보 표시. +> 개별 명령과 직접 관련되지 않은 주제에 대한 추가 도움말은 `tldr gcloud topic`을 참조. +> 더 많은 정보: . + +- 특정 용어에 대한 `gcloud` CLI 참조 문서를 검색: + +`gcloud help` diff --git a/pages.ko/common/gcloud-iam.md b/pages.ko/common/gcloud-iam.md new file mode 100644 index 00000000000000..f57fb6da4dc548 --- /dev/null +++ b/pages.ko/common/gcloud-iam.md @@ -0,0 +1,29 @@ +# gcloud iam + +> Identity and Access Management (IAM) 환경 설정 및 서비스 계정을 구성합니다. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 리소스에 대한 IAM 부여 가능한 역할 나열: + +`gcloud iam list-grantable-roles {{리소스}}` + +- 조직 또는 프로젝트에 대한 사용자 정의 역할 생성: + +`gcloud iam roles create {{역할_이름}} --{{조직|프로젝트}} {{조직|프로젝트_아이디}} --file {{경로/대상/role.yaml}}` + +- 프로젝트에 대한 서비스 계정 생성: + +`gcloud iam service-accounts create {{이름}}` + +- 서비스 계정에 IAM 정책 바인딩 추가: + +`gcloud iam service-accounts add-iam-policy-binding {{서비스_계정_이메일}} --member {{멤버}} --role {{역할}}` + +- 기존 IAM 정책 바인딩 교체: + +`gcloud iam service-accounts set-iam-policy {{서비스_계정_이메일}} {{정책_파일}}` + +- 서비스 계정의 키 나열: + +`gcloud iam service-accounts keys list --iam-account {{서비스_계정_이메일}}` diff --git a/pages.ko/common/gcloud-info.md b/pages.ko/common/gcloud-info.md new file mode 100644 index 00000000000000..f0be018a48f98d --- /dev/null +++ b/pages.ko/common/gcloud-info.md @@ -0,0 +1,16 @@ +# gcloud info + +> 현재 `gcloud` 환경에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- `gcloud` 환경 정보 표시: + +`gcloud info` + +- 네트워크 연결 상태 및 숨겨진 속성 확인: + +`gcloud info --run-diagnostics` + +- 가장 최근의 로그 파일 내용 출력: + +`gcloud info --show-log` diff --git a/pages.ko/common/gcloud-init.md b/pages.ko/common/gcloud-init.md new file mode 100644 index 00000000000000..acc5171c6ad0ef --- /dev/null +++ b/pages.ko/common/gcloud-init.md @@ -0,0 +1,16 @@ +# gcloud init + +> `gcloud`를 설정하거나 구성을 다시 초기화하는 대화형 워크플로우 시작. +> 더 많은 정보: . + +- "시작하기" 워크플로우 시작: + +`gcloud init` + +- 진단 없이 워크플로우 시작: + +`gcloud init --skip-diagnostics` + +- 콘솔을 사용하여 인증: + +`gcloud init --console-only` diff --git a/pages.ko/common/gcloud-kms-decrypt.md b/pages.ko/common/gcloud-kms-decrypt.md new file mode 100644 index 00000000000000..ca07993f41b385 --- /dev/null +++ b/pages.ko/common/gcloud-kms-decrypt.md @@ -0,0 +1,13 @@ +# gcloud kms decrypt + +> Cloud KMS 키를 사용하여 암호화된 파일 복호화. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 지정된 키, 키 링 및 위치를 사용하여 파일 복호화: + +`gcloud kms decrypt --key={{키_이름}} --keyring={{키_링_이름}} --location={{global}} --ciphertext-file={{경로/대상/암호문}} --plaintext-file={{경로/대상/평문}}` + +- 추가 인증 데이터를 사용하여 파일을 복호화하고 복호화된 평문을 `stdout`에 출력: + +`gcloud kms decrypt --key={{키_이름}} --keyring={{키_링_이름}} --location={{global}} --additional-authenticated-data-file={{경로/대상/파일.aad}} --ciphertext-file={{경로/대상/암호문}} --plaintext-file=-` diff --git a/pages.ko/common/gcloud-logging-logs-list.md b/pages.ko/common/gcloud-logging-logs-list.md new file mode 100644 index 00000000000000..435106adbe30c3 --- /dev/null +++ b/pages.ko/common/gcloud-logging-logs-list.md @@ -0,0 +1,37 @@ +# gcloud logging logs list + +> Google Cloud 프로젝트에서 로그 목록을 나열합니다. +> 모니터링 및 분석을 위한 사용 가능한 로그 식별에 유용합니다. 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 현재 프로젝트의 모든 로그 나열: + +`gcloud logging logs list` + +- 특정 로그 버킷 및 위치의 모든 로그 나열: + +`gcloud logging logs list --bucket={{버킷_아이디}} --location={{위치}}` + +- 로그 버킷의 특정 뷰에 대한 모든 로그 나열: + +`gcloud logging logs list --bucket={{버킷_아이디}} --location={{위치}} --view={{뷰_아이디}}` + +- 필터 표현식을 사용하여 로그 나열: + +`gcloud logging logs list --filter="{{표현식}}"` + +- 지정된 수의 로그 나열: + +`gcloud logging logs list --limit={{숫자}}` + +- 특정 필드를 기준으로 오름차순 또는 내림차순(`~`는 내림차순)으로 정렬하여 로그 나열: + +`gcloud logging logs list --sort-by="{{필드_이름}}"` + +- 여러 필드를 기준으로 정렬하여 로그 나열: + +`gcloud logging logs list --sort-by="{{필드1}},~{{필드2}}"` + +- 추가 세부 정보를 보여주는 자세한 출력으로 로그 나열: + +`gcloud logging logs list --verbosity=debug` diff --git a/pages.ko/common/gcloud-projects.md b/pages.ko/common/gcloud-projects.md new file mode 100644 index 00000000000000..649f263d54922e --- /dev/null +++ b/pages.ko/common/gcloud-projects.md @@ -0,0 +1,25 @@ +# gcloud projects + +> Google Cloud에서 프로젝트 액세스 정책 관리. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 새 프로젝트 생성: + +`gcloud projects create {{프로젝트_아이디|프로젝트_번호}}` + +- 모든 활성 프로젝트 나열: + +`gcloud projects list` + +- 프로젝트의 메타데이터 표시: + +`gcloud projects describe {{프로젝트_아이디}}` + +- 프로젝트 삭제: + +`gcloud projects delete {{프로젝트_아이디|프로젝트_번호}}` + +- 지정된 프로젝트에 IAM 정책 바인딩 추가: + +`gcloud projects add-iam-policy-binding {{프로젝트_아이디}} --member {{주체}} --role {{역할}}` diff --git a/pages.ko/common/gcloud-sql-backups-describe.md b/pages.ko/common/gcloud-sql-backups-describe.md new file mode 100644 index 00000000000000..63bbf45849f5ce --- /dev/null +++ b/pages.ko/common/gcloud-sql-backups-describe.md @@ -0,0 +1,9 @@ +# gcloud sql backups describe + +> 백업에 대한 정보 검색. +> 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 백업 정보 검색: + +`gcloud sql backups describe {{백업_id}} --instance={{인스턴스_id}}` diff --git a/pages.ko/common/gcloud-sql-export-sql.md b/pages.ko/common/gcloud-sql-export-sql.md new file mode 100644 index 00000000000000..6ec9e3c3adaf40 --- /dev/null +++ b/pages.ko/common/gcloud-sql-export-sql.md @@ -0,0 +1,29 @@ +# gcloud sql export sql + +> Cloud SQL 인스턴스에서 Google Cloud Storage의 SQL 파일로 데이터를 내보내기. +> 백업 생성이나 데이터 마이그레이션에 유용합니다. 같이 보기: `gcloud`. +> 더 많은 정보: . + +- 특정 Cloud SQL 인스턴스에서 Google Cloud Storage 버킷으로 데이터를 SQL 덤프 파일로 내보내기: + +`gcloud sql export sql {{인스턴스}} gs://{{버킷_이름}}/{{파일_이름}}` + +- 비동기적으로 데이터를 내보내고, 작업 완료를 기다리지 않고 즉시 반환: + +`gcloud sql export sql {{인스턴스}} gs://{{버킷_이름}}/{{파일_이름}} --async` + +- Cloud SQL 인스턴스 내 특정 데이터베이스에서 데이터 내보내기: + +`gcloud sql export sql {{인스턴스}} gs://{{버킷_이름}}/{{파일_이름}} --database={{데이터베이스1,데이터베이스2,...}}` + +- Cloud SQL 인스턴스 내의 지정된 데이터베이스에서 특정 테이블 내보내기: + +`gcloud sql export sql {{인스턴스}} gs://{{버킷_이름}}/{{파일_이름}} --database={{데이터베이스}} --table={{테이블1,테이블2,...}}` + +- 소스 인스턴스의 부담을 줄이기 위해 임시 인스턴스로 작업을 오프로드하여 데이터 내보내기: + +`gcloud sql export sql {{인스턴스}} gs://{{버킷_이름}}/{{파일_이름}} --offload` + +- 데이터를 내보내고 출력을 `gzip`으로 압축: + +`gcloud sql export sql {{인스턴스}} gs://{{버킷_이름}}/{{파일_이름}}.gz` diff --git a/pages.ko/common/gcloud-topic.md b/pages.ko/common/gcloud-topic.md new file mode 100644 index 00000000000000..19e413eddf56a5 --- /dev/null +++ b/pages.ko/common/gcloud-topic.md @@ -0,0 +1,13 @@ +# gcloud topic + +> 개별 명령과 직접적으로 관련되지 않은 주제에 대한 추가 도움말 보기. 같이 보기: `gcloud`. +> 일반적인 도움말은 `tldr gcloud help`를 참조. +> 더 많은 정보: . + +- 접근성, 필터링, 포맷팅과 같은 비명령형 주제에 대한 추가 도움말 자료 보기: + +`gcloud topic {{주제_이름}}` + +- 사용 가능한 모든 주제 나열: + +`gcloud topic --help` diff --git a/pages.ko/common/gcloud-version.md b/pages.ko/common/gcloud-version.md new file mode 100644 index 00000000000000..7662417332feb6 --- /dev/null +++ b/pages.ko/common/gcloud-version.md @@ -0,0 +1,12 @@ +# gcloud-version + +> Google Cloud CLI 구성 요소의 버전 정보를 출력. +> 더 많은 정보: . + +- 설치된 모든 구성 요소의 버전 정보와 사용 가능한 업데이트 표시: + +`gcloud version` + +- 도움말 표시: + +`gcloud version --help` diff --git a/pages.ko/common/gcloud.md b/pages.ko/common/gcloud.md new file mode 100644 index 00000000000000..8995e63c73f307 --- /dev/null +++ b/pages.ko/common/gcloud.md @@ -0,0 +1,37 @@ +# gcloud + +> Google Cloud Platform을 위한 공식 CLI 도구. +> 참고: `gcloud` 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 활성 구성에서 모든 속성 나열: + +`gcloud config list` + +- Google 계정에 로그인: + +`gcloud auth login` + +- 활성 프로젝트 설정: + +`gcloud config set project {{프로젝트_이름}}` + +- 가상 머신 인스턴스에 SSH 접속: + +`gcloud compute ssh {{사용자}}@{{인스턴스}}` + +- 프로젝트 내 모든 Google Compute Engine 인스턴스 표시 (기본적으로 모든 영역의 인스턴스가 나열됨): + +`gcloud compute instances list` + +- 적절한 자격 증명으로 kubeconfig 파일을 업데이트하여 `kubectl`을 특정 Google Kubernetes Engine (GKE) 클러스터에 연결: + +`gcloud container clusters get-credentials {{클러스터_이름}}` + +- 모든 `gcloud` 구성 요소 업데이트: + +`gcloud components update` + +- 특정 명령에 대한 도움말 표시: + +`gcloud help {{명령}}` diff --git a/pages.ko/common/gcpdiag.md b/pages.ko/common/gcpdiag.md new file mode 100644 index 00000000000000..8d47d970973fe1 --- /dev/null +++ b/pages.ko/common/gcpdiag.md @@ -0,0 +1,25 @@ +# gcpdiag + +> Google Cloud Platform 문제 해결 및 진단 도구. +> Docker 컨테이너 또는 GCP Cloudshell에서 실행. +> 더 많은 정보: . + +- 프로젝트에서 `gcpdiag`를 실행하고, 모든 규칙을 반환: + +`gcpdiag lint --project={{gcp_프로젝트_아이디}}` + +- 괜찮은 규칙 숨기기: + +`gcpdiag lint --project={{gcp_프로젝트_아이디}} --hide-ok` + +- 서비스 계정 비공개 키 파일을 사용해 인증: + +`gcpdiag lint --project={{gcp_프로젝트_아이디}} --auth-key {{경로/대상/개인_키}}` + +- 며칠 전의 로그 및 지표를 검색 (기본값: 3일): + +`gcpdiag lint --project={{gcp_프로젝트_아이디}} --within-days {{숫자}}` + +- 도움말 표시: + +`gcpdiag lint --help` diff --git a/pages.ko/common/gcrane-copy.md b/pages.ko/common/gcrane-copy.md new file mode 100644 index 00000000000000..b7d63f074be1d1 --- /dev/null +++ b/pages.ko/common/gcrane-copy.md @@ -0,0 +1,20 @@ +# gcrane copy + +> 다이제스트 값을 유지하며 소스에서 대상으로 원격 이미지를 효율적으로 복사. +> 더 많은 정보: . + +- 소스에서 대상으로 이미지 복사: + +`gcrane {{[cp|copy]}} {{소스}} {{대상}}` + +- 최대 동시 복사본 수를 설정, 기본값은 20: + +`gcrane copy {{소스}} {{대상}} {{[-j|--jobs]}} {{nr_of_copies}}` + +- 레포지토리를 통해 반복할지 여부 문의: + +`grance copy {{소스}} {{대상}} {{[-r|--recursive]}}` + +- 도움말 표시: + +`gcrane copy {{[-h|--help]}}` diff --git a/pages.ko/common/gcrane-gc.md b/pages.ko/common/gcrane-gc.md new file mode 100644 index 00000000000000..22eef646ba8533 --- /dev/null +++ b/pages.ko/common/gcrane-gc.md @@ -0,0 +1,18 @@ +# gcrane gc + +> 태그가 지정되지 않은 이미지를 나열. +> 가비지 수집이 가능한 이미지를 계산. +> `gcrane delete`로 구성하여 실제로 가비지 수집할 수 있음. +> 더 많은 정보: . + +- 태그가 지정되지 않은 이미지 목록: + +`gcrane gc {{레포지토리}}` + +- 레포지토리를 통해 반복할지 여부: + +`gcrane gc {{레포지토리}} {{[-r|--recursive]}}` + +- 도움말 표시: + +`gcrane gc {{[-h|--help]}}` diff --git a/pages.ko/common/gcrane-help.md b/pages.ko/common/gcrane-help.md new file mode 100644 index 00000000000000..fb8e2726f1d3b3 --- /dev/null +++ b/pages.ko/common/gcrane-help.md @@ -0,0 +1,12 @@ +# gcrane help + +> 도움말은 응용 프로그램 모든 명령에 대한 도움말을 제공. +> 더 많은 정보: . + +- 하위 명령에 대한 도움말 표시: + +`gcrane help {{명령어}}` + +- 도움말 표시: + +`grance help {{[-h|--help]}}` diff --git a/pages.ko/common/gcrane-ls.md b/pages.ko/common/gcrane-ls.md new file mode 100644 index 00000000000000..8f3afe7131e11f --- /dev/null +++ b/pages.ko/common/gcrane-ls.md @@ -0,0 +1,21 @@ +# gcrane ls + +> 저장소의 태그 나열. +> 태그, 매니페스트 및 하위 저장소를 나열할 수 있는 `crane ls`보다 더 복잡한 형식. +> 더 많은 정보: . + +- 태그 목록 나열: + +`gcrane ls {{레포지토리}}` + +- 레지스트리의 응답 형식을 JSON으로 지정: + +`gcrane ls {{레포지토리}} --json` + +- 레포지토리를 통해 반복할지 여부 결정: + +`gcrane ls {{레포지토리}} {{[-r|--recursive]}}` + +- 도움말 표시: + +`gcrane ls {{[-h|--help]}}` diff --git a/pages.ko/common/gcrane.md b/pages.ko/common/gcrane.md new file mode 100644 index 00000000000000..33654870c890be --- /dev/null +++ b/pages.ko/common/gcrane.md @@ -0,0 +1,31 @@ +# gcrane + +> 컨테이너 이미지 관리. +> 이 도구는 `gcr.io`와 관련된 추가 명령과 함께 `crane` 명령의 상위 집합을 구현. +> `append`, `auth`, `copy` 등과 같은 일부 하위 명령에는 `crane` 아래에서 찾을 수 있는 자체 사용법 문서가 존재. +> `completion`, `gc`, `help`와 같은 일부 하위 명령은 gcrane에만 해당되며 자체 사용 문서가 있음. +> 더 많은 정보: . + +- `gcrane` 하위 명령을 실행: + +`gcrane {{하위명령어}}` + +- 배포할 수 없는 (외부) 레이어 푸시를 허용: + +`gcrane --allow-nondistributable-artifacts {{하위명령어}}` + +- TLS 없이 이미지 참조를 가져오도록 허용: + +`gcrane --insecure {{하위명령어}}` + +- os/arch{{/variant}}{{:osversion}} 형식으로 플랫폼을 지정 (예: linux/amd64). (기본값은 모두): + +`gcrane --platform {{플랫폼}} {{하위명령어}}` + +- 디버그 로그 활성화: + +`gcrane {{[-v|--verbose]}} {{하위명령어}}` + +- 도움말 표시: + +`gcrane {{[-h|--help]}}` diff --git a/pages.ko/common/gdal2tiles.py.md b/pages.ko/common/gdal2tiles.py.md new file mode 100644 index 00000000000000..abf5047f04ee70 --- /dev/null +++ b/pages.ko/common/gdal2tiles.py.md @@ -0,0 +1,12 @@ +# gdal2tiles.py + +> 래스터 데이터세트를 위한 TMS 또는 XYZ 타일을 생성. +> 더 많은 정보: . + +- 래스터 데이터세트의 확대/축소 수준 2~5에 대한 TMS 타일을 생성: + +`gdal2tiles.py --zoom 2-5 {{경로/대상/입력파일.tif}} {{경로/대상/출력_디렉토리}}` + +- 래스터 데이터세트의 확대/축소 수준 2~5에 대한 XYZ 타일을 생성: + +`gdal2tiles.py --zoom 2-5 --xyz {{경로/대상/입력파일.tif}} {{경로/대상/출력_디렉토리}}` diff --git a/pages.ko/common/gdal_contour.md b/pages.ko/common/gdal_contour.md new file mode 100644 index 00000000000000..eb52581980f00c --- /dev/null +++ b/pages.ko/common/gdal_contour.md @@ -0,0 +1,12 @@ +# gdal_contour + +> 디지털 표고 모델에서 등고선과 다각형을 생성. +> 더 많은 정보: . + +- 고도 속성([a]ttributing)을 "ele"로 지정하면서 100미터 간격([i]nterval)에 걸쳐 등고선이 퍼져있는 벡터 데이터세트를 생성: + +`gdal_contour -a {{ele}} -i {{100.0}} {{경로/대상/입력.tif}} {{경로/대상/출력.gpkg}}` + +- 100미터 간격([i]nterval)에 걸쳐 분산된 다각형([p]olygons)으로 벡터 데이터세트를 생성: + +`gdal_contour -i {{100.0}} -p {{경로/대상/입력.tif}} {{경로/대상/출력.gpkg}}` diff --git a/pages.ko/common/gdal_translate.md b/pages.ko/common/gdal_translate.md new file mode 100644 index 00000000000000..fd6791cbd8eca0 --- /dev/null +++ b/pages.ko/common/gdal_translate.md @@ -0,0 +1,20 @@ +# gdal_translate + +> 래스터 데이터를 다양한 형식으로 변환. +> 더 많은 정보: . + +- 래스터 데이터세트를 JPEG 형식으로 변환: + +`gdal_translate -of {{JPEG}} {{경로/대상/입력.tif}} {{경로/대상/출력.jpeg}}` + +- 레스터 데이터세트에 투영을 할당: + +`gdal_translate -a_srs {{EPSG:4326}} {{경로/대상/입력.tif}} {{경로/대상/출력.tif}}` + +- 래스터 데이터세트의 크기를 특정 부분으로 줄임: + +`gdal_translate -outsize {{40%}} {{40%}} {{경로/대상/입력.tif}} {{경로/대상/출력.tif}}` + +- GeoTiff를 클라우드 최적화 GeoTiff로 변환: + +`gdal_translate {{경로/대상/입력.tif}} {{경로/대상/출력.tif}} -of COG -co COMPRESS=LZW` diff --git a/pages.ko/common/gdaladdo.md b/pages.ko/common/gdaladdo.md new file mode 100644 index 00000000000000..99931fb81fcd18 --- /dev/null +++ b/pages.ko/common/gdaladdo.md @@ -0,0 +1,8 @@ +# gdaladdo + +> 래스터 데이터세트의 개요 이미지를 구축. +> 더 많은 정보: . + +- "평균" 리샘플링([r]esampling) 방법을 사용하여 래스터 데이터세트의 개요 이미지를 구축: + +`gdaladdo -r average {{경로/대상/입력.tif}}` diff --git a/pages.ko/common/gdalbuildvrt.md b/pages.ko/common/gdalbuildvrt.md new file mode 100644 index 00000000000000..13aac575d352ce --- /dev/null +++ b/pages.ko/common/gdalbuildvrt.md @@ -0,0 +1,20 @@ +# gdalbuildvrt + +> 기존 데이터세트 목록에서 가상 데이터 세트를 구축. +> 더 많은 정보: . + +- 디렉토리에 포함된 모든 TIFF 파일로 가상 모자이크를 생성: + +`gdalbuildvrt {{경로/대상/출력.vrt}} {{경로/대상/입력_디렉토리/*.tif}}` + +- 텍스트 파일에 이름이 지정된 파일로 가상 모자이크를 만듬 : + +`gdalbuildvrt -input_file_list {{경로/대상/목록.txt}} {{경로/대상/출력.vrt}}` + +- 3개의 단일 대역 입력 파일에서 RGB 가상 모자이크를 만듬: + +`gdalbuildvrt -separate {{경로/대상/rgb.vrt}} {{경로/대상/빨강.tif}} {{경로/대상/초록.tif}} {{경로/대상/파랑.tif}}` + +- 파란색 배경색 (RGB: 0 0 255)으로 가상 모자이크 만들기: + +`gdalbuildvrt -hidenodata -vrtnodata "{{0 0 255}}" {{경로/대상/출력.vrt}} {{경로/대상/입력_디렉토리/*.tif}}` diff --git a/pages.ko/common/gdaldem.md b/pages.ko/common/gdaldem.md new file mode 100644 index 00000000000000..8a506a921f72ed --- /dev/null +++ b/pages.ko/common/gdaldem.md @@ -0,0 +1,16 @@ +# gdaldem + +> 디지털 표고 모델 (DEM)을 분석하고 시각화. +> 더 많은 정보: . + +- DEM의 음영기복도를 계산: + +`gdaldem hillshade {{경로/대상/입력.tif}} {{경로/대상/출력.tif}}` + +- DEM의 기울기를 계산: + +`gdaldem slope {{경로/대상/입력.tif}} {{경로/대상/출력.tif}}` + +- DEM의 측면을 계산: + +`gdaldem aspect {{경로/대상/입력.tif}} {{경로/대상/출력.tif}}` diff --git a/pages.ko/common/gdalinfo.md b/pages.ko/common/gdalinfo.md new file mode 100644 index 00000000000000..2534fc95207966 --- /dev/null +++ b/pages.ko/common/gdalinfo.md @@ -0,0 +1,28 @@ +# gdalinfo + +> GDAL 지원 래스터 데이터세트에 대한 다양한 정보를 나열. +> 더 많은 정보: . + +- 지원하는 래스터 포맷 나열: + +`gdalinfo --formats` + +- 특정 래스터 데이터세트에 대한 정보 나열: + +`gdalinfo {{경로/대상/입력.tif}}` + +- 특정 래스터 데이터세트에 대한 정보를 JSON 형식으로 나열: + +`gdalinfo -json {{경로/대상/입력.tif}}` + +- 특정 래스터 데이터세트의 히스토그램 값 표시: + +`gdalinfo -hist {{경로/대상/입력.tif}}` + +- 웹 맵 서비스(WMS)에 대한 정보를 나열: + +`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}}` + +- 웹 맵 서비스(WMS)의 특정 데이터세트에 대한 정보를 나열: + +`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}} -sd {{4}}` diff --git a/pages.ko/common/gdalwarp.md b/pages.ko/common/gdalwarp.md new file mode 100644 index 00000000000000..2aa61fd1d23793 --- /dev/null +++ b/pages.ko/common/gdalwarp.md @@ -0,0 +1,16 @@ +# gdalwarp + +> 이미지 재투영 및 워핑 유틸리티. +> 더 많은 정보: . + +- 래스터 데이터세트 재투영: + +`gdalwarp -t_srs {{EPSG:4326}} {{경로/대상/입력.tif}} {{경로/대상/출력.tif}}` + +- 특정 좌표를 사용하여 래스터 데이터세트 자르기: + +`gdalwarp -te {{min_x}} {{min_y}} {{max_x}} {{max_y}} -te_srs {{EPSG:4326}} {{경로/대상/입력.tif}} {{경로/대상/출력.tif}}` + +- 벡터 레이어를 사용하여 래스터 데이터세트 자르기: + +`gdalwarp -cutline {{경로/대상/자르기_위한_영역.geojson}} -crop_to_cutline {{경로/대상/입력.tif}} {{경로/대상/출력.tif}}` diff --git a/pages.ko/common/gdb.md b/pages.ko/common/gdb.md new file mode 100644 index 00000000000000..79da4f02c38733 --- /dev/null +++ b/pages.ko/common/gdb.md @@ -0,0 +1,24 @@ +# gdb + +> GNU 디버거. +> 더 많은 정보: . + +- 실행파일을 디버깅합니다: + +`gdb {{실행파일}}` + +- 프로세스를 gdb에 연결합니다: + +`gdb {{[-p|--pid]}} {{프로세스ID}}` + +- 코어 파일과 함께 디버깅합니다: + +`gdb {{[-c|--core]}} {{코어}} {{실행파일}}` + +- 디버깅을 시작하면서 주어진 GDB 명령들을 수행합니다: + +`gdb {{[-ex|--eval-command]}} "{{명령들}}" {{실행파일}}` + +- 디버깅을 시작하면서 실행파일에 인자들을 넘겨줍니다: + +`gdb --args {{실행파일}} {{인자1}} {{인자2}}` diff --git a/pages.ko/common/gdc.md b/pages.ko/common/gdc.md new file mode 100644 index 00000000000000..f7737ec2063060 --- /dev/null +++ b/pages.ko/common/gdc.md @@ -0,0 +1,24 @@ +# gdc + +> GCC를 백엔드로 사용하는 D 컴파일러. +> 더 많은 정보: . + +- 실행 파일을 생성: + +`gdc {{경로/대상/소스.d}} -o {{경로/대상/출력_실행파일}}` + +- 모듈 종속성에 대한 정보를 출력: + +`gdc -fdeps` + +- Ddoc 문서를 생성: + +`gdc -fdoc` + +- D 인터페이스 파일 생성: + +`gdc -fintfc` + +- 컴파일 시 표준 GCC 라이브러리를 링크하지 않음: + +`gdc -nostdlib` diff --git a/pages.ko/common/gdown.md b/pages.ko/common/gdown.md new file mode 100644 index 00000000000000..faf2b90f055902 --- /dev/null +++ b/pages.ko/common/gdown.md @@ -0,0 +1,24 @@ +# gdown + +> Google Drive 및 기타 URL에서 파일을 다운로드. +> 더 많은 정보: . + +- URL에서 파일 다운로드: + +`gdown {{주소}}` + +- 파일 ID를 사용하여 다운로드: + +`gdown {{파일_아이디}}` + +- 퍼지 파일 ID 추출을 사용하여 다운로드 ( 링크에서도 작동): + +`gdown --fuzzy {{주소}}` + +- 해당 ID 또는 전체 URL을 사용하여 폴더를 다운로드: + +`gdown {{폴더_아이디|주소}} -O {{경로/대상/출력_디렉토리}} --folder` + +- tar 아카이브를 다운로드하고, `stdout`에 쓴 후 추출: + +`gdown {{tar압축파일_주소}} -O - --quiet | tar xvf -` diff --git a/pages.ko/common/gdrive.md b/pages.ko/common/gdrive.md new file mode 100644 index 00000000000000..535e2f0f855fb2 --- /dev/null +++ b/pages.ko/common/gdrive.md @@ -0,0 +1,21 @@ +# gdrive + +> Google 드라이브와 상호작용. +> 폴더/파일 ID는 구글 드라이브 폴더나 ID URL에서 얻을 수 있음. +> 더 많은 정보: . + +- 지정된 ID를 사용하여 상위 폴더에 대한 로컬 경로를 업로드: + +`gdrive upload -p {{아이디}} {{경로/대상/파일_또는_폴더}}` + +- ID 별로 파일이나 디렉터리를 현재 디렉터리로 다운로드: + +`gdrive download {{아이디}}` + +- 해당 ID로 지정된 로컬 경로에 다운로드: + +`gdrive download --path {{경로/대상/폴더}} {{아이디}}` + +- 주어진 파일이나 폴더를 사용하여 ID의 새로운 개정판을 생성: + +`gdrive update {{아이디}} {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/gdu.md b/pages.ko/common/gdu.md new file mode 100644 index 00000000000000..e3c38bcf9a995a --- /dev/null +++ b/pages.ko/common/gdu.md @@ -0,0 +1,36 @@ +# gdu + +> 콘솔 인터페이스를 갖춘 디스크 사용량 분석. +> 더 많은 정보: . + +- 현재 디렉터리의 디스크 사용량을 대화형으로 표시: + +`gdu` + +- 주어진 디렉토리의 디스크 사용량을 대화식으로 표시: + +`gdu {{경로/대상/디렉토리}}` + +- 마운트된 모든 디스크의 디스크 사용량을 대화형으로 표시: + +`gdu --show-disks` + +- 현재 디렉터리의 디스크 사용량을 대화형으로 표시하지만, 일부 하위 디렉터리는 무시: + +`gdu --ignore-dirs {{경로/대상/디렉토리1,경로/대상/디렉토리2,...}}` + +- 정규식으로 경로를 무시: + +`gdu --ignore-dirs-pattern '{{.*[abc]+}}'` + +- 숨겨진 디렉토리는 무시: + +`gdu --no-hidden` + +- 결과만 출력하고 대화형 모드로 전환하지 않음: + +`gdu --non-interactive {{경로/대상/디렉토리}}` + +- 비대화형 모드에선 진행상황을 표시하지 않음 (스크립트에서 유용): + +`gdu --no-progress {{경로/대상/디렉토리}}` diff --git a/pages.ko/common/gem.md b/pages.ko/common/gem.md new file mode 100644 index 00000000000000..7eca548a657ff3 --- /dev/null +++ b/pages.ko/common/gem.md @@ -0,0 +1,36 @@ +# gem + +> Ruby 프로그래밍 언어용 패키지 관리자. +> 더 많은 정보: . + +- 원격 gem을 검색하고 사용 가능한 모든 버전을 표시: + +`gem search {{정규_표현식}} {{[-a|--all]}}` + +- 최신 버전의 gem을 설치: + +`gem install {{젬_이름}}` + +- 특정 버전의 gem을 설치: + +`gem install {{젬_이름}} {{[-v|--version]}} {{1.0.0}}` + +- 일치하는 최신 (SemVer) 버전의 gem을 설치: + +`gem install {{젬_이름}} {{[-v|--version]}} '~> {{1.0}}'` + +- gem 업데이트: + +`gem update {{젬_이름}}` + +- 모든 로컬 gem을 나열: + +`gem list` + +- gem 제거: + +`gem uninstall {{젬_이름}}` + +- 특정 버전의 gem을 제거: + +`gem uninstall {{젬_이름}} {{[-v|--version]}} {{1.0.0}}` diff --git a/pages.ko/common/gemtopbm.md b/pages.ko/common/gemtopbm.md new file mode 100644 index 00000000000000..2206358641ef17 --- /dev/null +++ b/pages.ko/common/gemtopbm.md @@ -0,0 +1,8 @@ +# gemtopbm + +> 이 명령은 `gemtopnm`으로 대체됨. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr gemtopnm` diff --git a/pages.ko/common/gemtopnm.md b/pages.ko/common/gemtopnm.md new file mode 100644 index 00000000000000..22f9f2876a1311 --- /dev/null +++ b/pages.ko/common/gemtopnm.md @@ -0,0 +1,16 @@ +# gemtopnm + +> GEM 이미지 파일을 PNM 이미지로 변환. +> 더 많은 정보: . + +- GEM 이미지 파일을 PNM 이미지로 변환.: + +`gemtopnm {{경로/대상/파일.img}} > {{경로/대상/출력.pnm}}` + +- 지정된 GEM 이미지의 내용을 설명: + +`gemtopnm -d {{경로/대상/파일.img}}` + +- 버전 정보 표시: + +`gemtopnm -version` diff --git a/pages.ko/common/get-nodeinstalllocation.md b/pages.ko/common/get-nodeinstalllocation.md new file mode 100644 index 00000000000000..0ea3ec02356098 --- /dev/null +++ b/pages.ko/common/get-nodeinstalllocation.md @@ -0,0 +1,9 @@ +# Get-NodeInstallLocation + +> `ps-nvm`에 대한 현재 Node.js 설치 디렉터리를 가져옴. +> `ps-nvm`의 일부이며 PowerShell에서만 실행할 수 있음. +> 더 많은 정보: . + +- 현재 Node.js 설치 디렉터리를 가져옴: + +`Get-NodeInstallLocation` diff --git a/pages.ko/common/get-nodeversions.md b/pages.ko/common/get-nodeversions.md new file mode 100644 index 00000000000000..37250209356267 --- /dev/null +++ b/pages.ko/common/get-nodeversions.md @@ -0,0 +1,17 @@ +# Get-NodeVersions + +> `ps-nvm`에 설치되어 사용 가능한 Node.js 버전을 나열. +> `ps-nvm`의 일부이며 PowerShell에서만 실행할 수 있음. +> 더 많은 정보: . + +- 설치된 모든 Node.js 버전을 나열: + +`Get-NodeVersions` + +- 사용 가능한 모든 Node.js 버전을 나열: + +`Get-NodeVersions -Remote` + +- 사용 가능한 모든 Node.js 20.x 버전을 나열: + +`Get-NodeVersions -Remote -Filter ">=20.0.0 <21.0.0"` diff --git a/pages.ko/common/geth.md b/pages.ko/common/geth.md new file mode 100644 index 00000000000000..7a9c937295a217 --- /dev/null +++ b/pages.ko/common/geth.md @@ -0,0 +1,20 @@ +# geth + +> go-ethereum 명령줄 인터페이스. +> 더 많은 정보: . + +- 메인 이더리움 네트워크에 연결하고 자동으로 전체 노드를 다운로드: + +`geth` + +- Ropsten 테스트 네트워크에 연결: + +`geth --testnet` + +- 새로운 계정 생성: + +`geth account new` + +- 마이닝 활성화: + +`geth --mine` diff --git a/pages.ko/common/gfortran.md b/pages.ko/common/gfortran.md new file mode 100644 index 00000000000000..2e955867713633 --- /dev/null +++ b/pages.ko/common/gfortran.md @@ -0,0 +1,24 @@ +# gfortran + +> Fortran 소스 파일을 전처리하고 컴파일한 다음 함께 어셈블하고 링크. +> 더 많은 정보: . + +- 여러 소스 파일을 실행 파일로 컴파일: + +`gfortran {{경로/대상/소스1.f90 경로/대상/소스2.f90 ...}} -o {{경로/대상/출력_실행파일}}` + +- 일반적인 경고를 표시하고, 출력에서 기호를 디버그하고, 디버깅에 영향을 주지 않고 최적화: + +`gfortran {{경로/대상/소스.f90}} -Wall -g -Og -o {{경로/대상/출력_실행파일}}` + +- 다른 경로의 라이브러리를 포함: + +`gfortran {{경로/대상/소스.f90}} -o {{경로/대상/출력_실행파일}} -I{{경로/대상/수정_또는_포함}} -L{{경로/대상/라이브러리}} -l{{라이브러리_이름}}` + +- 소스 코드를 어셈블러 명령어로 컴파일: + +`gfortran -S {{경로/대상/소스.f90}}` + +- 링크 없이 소스 코드를 객체 파일로 컴파일: + +`gfortran -c {{경로/대상/소스.f90}}` diff --git a/pages.ko/common/gh-alias.md b/pages.ko/common/gh-alias.md new file mode 100644 index 00000000000000..6d5233b11d517a --- /dev/null +++ b/pages.ko/common/gh-alias.md @@ -0,0 +1,24 @@ +# gh alias + +> GitHub CLI 명령 별칭 관리. +> 더 많은 정보: . + +- `gh`에 설정된 모든 별칭 나열: + +`gh alias list` + +- `gh` 하위 명령 별칭 생성: + +`gh alias set {{pv}} '{{pr view}}'` + +- 셸 명령을 `gh` 하위 명령으로 설정: + +`gh alias set --shell {{별칭_이름}} {{명령}}` + +- 명령 단축키 삭제: + +`gh alias delete {{별칭_이름}}` + +- 하위 명령 도움말 표시: + +`gh alias` diff --git a/pages.ko/common/gh-api.md b/pages.ko/common/gh-api.md new file mode 100644 index 00000000000000..a7d615e2cdb466 --- /dev/null +++ b/pages.ko/common/gh-api.md @@ -0,0 +1,36 @@ +# gh api + +> GitHub API에 인증된 HTTP 요청을 보내고 응답을 출력. +> 더 많은 정보: . + +- 현재 저장소의 릴리스를 JSON 형식으로 표시: + +`gh api repos/:owner/:repo/releases` + +- 특정 이슈에 대해 반응 생성: + +`gh api --header {{Accept:application/vnd.github.squirrel-girl-preview+json}} --raw-field '{{content=+1}}' {{repos/:owner/:repo/issues/123/reactions}}` + +- GraphQL 쿼리 결과를 JSON 형식으로 표시: + +`gh api graphql --field {{name=':repo'}} --raw-field '{{query}}'` + +- 사용자 지정 HTTP 메서드를 사용하여 요청 전송: + +`gh api --method {{POST}} {{endpoint}}` + +- HTTP 응답 헤더를 출력에 포함: + +`gh api --include {{endpoint}}` + +- 응답 본문을 출력하지 않음: + +`gh api --silent {{endpoint}}` + +- 특정 GitHub Enterprise 서버에 요청 전송: + +`gh api --hostname {{github.example.com}} {{endpoint}}` + +- 하위 명령 도움말 표시: + +`gh api --help` diff --git a/pages.ko/common/gh-auth.md b/pages.ko/common/gh-auth.md new file mode 100644 index 00000000000000..ebb964d6e04d4a --- /dev/null +++ b/pages.ko/common/gh-auth.md @@ -0,0 +1,32 @@ +# gh auth + +> GitHub 호스트에 인증. +> 더 많은 정보: . + +- 대화형 프롬프트로 로그인: + +`gh auth login` + +- `stdin`에서 토큰으로 로그인 (에서 생성됨): + +`echo {{your_token}} | gh auth login --with-token` + +- 로그인 여부 확인: + +`gh auth status` + +- 로그아웃: + +`gh auth logout` + +- 특정 GitHub 엔터프라이즈 서버로 로그인: + +`gh auth login --hostname {{github.example.com}}` + +- 인증 자격 증명이 올바른 최소 범위를 갖도록 세션 새로 고침 (이전에 요청된 추가 범위 제거): + +`gh auth refresh` + +- 권한 범위 확장: + +`gh auth refresh --scopes {{repo,admin:repo_hook,admin:org,admin:public_key,admin:org_hook,...}}` diff --git a/pages.ko/common/gh-browse.md b/pages.ko/common/gh-browse.md new file mode 100644 index 00000000000000..dc1d523ffff465 --- /dev/null +++ b/pages.ko/common/gh-browse.md @@ -0,0 +1,36 @@ +# gh browse + +> GitHub 저장소를 브라우저에서 열거나 URL을 출력. +> 더 많은 정보: . + +- 현재 저장소의 홈페이지를 기본 웹 브라우저에서 열기: + +`gh browse` + +- 특정 저장소의 홈페이지를 기본 웹 브라우저에서 열기: + +`gh browse {{소유자}}/{{저장소}}` + +- 현재 저장소의 설정 페이지를 기본 웹 브라우저에서 열기: + +`gh browse --settings` + +- 현재 저장소의 위키를 기본 웹 브라우저에서 열기: + +`gh browse --wiki` + +- 특정 이슈나 풀 리퀘스트를 웹 브라우저에서 열기: + +`gh browse {{이슈_번호|풀_리퀘스트_번호}}` + +- 특정 브랜치를 웹 브라우저에서 열기: + +`gh browse --branch {{브랜치_이름}}` + +- 현재 저장소의 특정 파일이나 디렉토리를 웹 브라우저에서 열기: + +`gh browse {{경로/대상/파일_또는_폴더}}` + +- 웹 브라우저를 열지 않고 URL 출력: + +`gh browse --no-browser` diff --git a/pages.ko/common/gh-codespace.md b/pages.ko/common/gh-codespace.md new file mode 100644 index 00000000000000..eee2155da0cdf3 --- /dev/null +++ b/pages.ko/common/gh-codespace.md @@ -0,0 +1,36 @@ +# gh codespace + +> GitHub에서 코드스페이스를 연결하고 관리. +> 더 많은 정보: . + +- GitHub에서 코드스페이스를 대화식으로 생성: + +`gh {{[cs|codespace]}} create` + +- 사용 가능한 모든 코드스페이스 나열: + +`gh {{[cs|codespace]}} {{[ls|list]}}` + +- SSH를 통해 코드스페이스에 대화식으로 연결: + +`gh {{[cs|codespace]}} ssh` + +- 특정 파일을 코드스페이스로 대화식으로 전송: + +`gh {{[cs|codespace]}} cp {{경로/대상/소스_파일}} remote:{{경로/대상/원격_파일}}` + +- 코드스페이스의 포트를 대화식으로 나열: + +`gh {{[cs|codespace]}} ports` + +- 코드스페이스의 로그를 대화식으로 표시: + +`gh {{[cs|codespace]}} logs` + +- 코드스페이스를 대화식으로 삭제: + +`gh {{[cs|codespace]}} delete` + +- 하위 명령어에 대한 도움말 표시: + +`gh {{[cs|codespace]}} {{code|cp|create|delete|edit|...}} {{[-h|--help]}}` diff --git a/pages.ko/common/gh-completion.md b/pages.ko/common/gh-completion.md new file mode 100644 index 00000000000000..0fe27ee9e46dbe --- /dev/null +++ b/pages.ko/common/gh-completion.md @@ -0,0 +1,20 @@ +# gh completion + +> GitHub CLI 명령어에 대한 셸 자동완성 스크립트 생성. +> 더 많은 정보: . + +- 자동완성 스크립트 출력: + +`gh completion --shell {{bash|zsh|fish|powershell}}` + +- `gh` 자동완성 스크립트를 `~/.bashrc`에 추가: + +`gh completion --shell {{bash}} >> {{~/.bashrc}}` + +- `gh` 자동완성 스크립트를 `~/.zshrc`에 추가: + +`gh completion --shell {{zsh}} >> {{~/.zshrc}}` + +- 하위 명령어 도움말 표시: + +`gh completion` diff --git a/pages.ko/common/gh-config.md b/pages.ko/common/gh-config.md new file mode 100644 index 00000000000000..ace1c70f433eb3 --- /dev/null +++ b/pages.ko/common/gh-config.md @@ -0,0 +1,32 @@ +# gh config + +> GitHub CLI의 설정 변경. +> 더 많은 정보: . + +- 사용 중인 Git 프로토콜 표시: + +`gh config get git_protocol` + +- 프로토콜을 SSH로 설정: + +`gh config set git_protocol {{ssh}}` + +- 모든 `gh` 명령어의 기본 페이지로 `delta`를 나란히 보기 모드로 사용: + +`gh config set pager '{{delta --side-by-side}}'` + +- 텍스트 편집기를 Vim으로 설정: + +`gh config set editor {{vim}}` + +- 기본 텍스트 편집기로 재설정: + +`gh config set editor ""` + +- 대화형 프롬프트 비활성화: + +`gh config set prompt {{disabled}}` + +- 특정 설정 값 설정: + +`gh config set {{key}} {{value}}` diff --git a/pages.ko/common/gh-cs.md b/pages.ko/common/gh-cs.md new file mode 100644 index 00000000000000..604e2d3966c980 --- /dev/null +++ b/pages.ko/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> 이 명령은 `gh codespace`.의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr gh codespace` diff --git a/pages.ko/common/gh-environment.md b/pages.ko/common/gh-environment.md new file mode 100644 index 00000000000000..7153342c2677fe --- /dev/null +++ b/pages.ko/common/gh-environment.md @@ -0,0 +1,8 @@ +# gh environment + +> GitHub CLI 명령어에 사용되는 환경 변수에 대한 도움말 표시. +> 더 많은 정보: . + +- `gh`와 함께 사용할 수 있는 환경 변수에 대한 도움말 표시: + +`gh environment` diff --git a/pages.ko/common/gh-extension.md b/pages.ko/common/gh-extension.md new file mode 100644 index 00000000000000..d08c6274e1586e --- /dev/null +++ b/pages.ko/common/gh-extension.md @@ -0,0 +1,36 @@ +# gh extension + +> GitHub CLI 확장 관리. +> 더 많은 정보: . + +- 동일한 이름의 디렉토리에 새로운 GitHub CLI 확장 프로젝트 초기화: + +`gh extension create {{확장_이름}}` + +- GitHub 저장소에서 확장 설치: + +`gh extension install {{소유자}}/{{저장소}}` + +- 설치된 확장 나열: + +`gh extension list` + +- 특정 확장 업그레이드: + +`gh extension upgrade {{확장_이름}}` + +- 모든 확장 업그레이드: + +`gh extension upgrade --all` + +- 설치된 확장 나열: + +`gh extension list` + +- 확장 제거: + +`gh extension remove {{확장_이름}}` + +- 하위 명령에 대한 도움말 표시: + +`gh extension {{하위_명령}} --help` diff --git a/pages.ko/common/gh-formatting.md b/pages.ko/common/gh-formatting.md new file mode 100644 index 00000000000000..620068f8bb2e9a --- /dev/null +++ b/pages.ko/common/gh-formatting.md @@ -0,0 +1,8 @@ +# gh formatting + +> gh GitHub CLI 명령어에서 내보낸 JSON 데이터에 대한 포맷 옵션. +> 더 많은 정보: . + +- `jq`를 사용하여 `gh`의 JSON 출력 포맷에 대한 도움말 표시: + +`gh formatting` diff --git a/pages.ko/common/gh-gist.md b/pages.ko/common/gh-gist.md new file mode 100644 index 00000000000000..4303d7ff697957 --- /dev/null +++ b/pages.ko/common/gh-gist.md @@ -0,0 +1,24 @@ +# gh gist + +> GitHub Gist 작업. +> 더 많은 정보: . + +- 하나 이상의 파일에서 새 Gist 생성: + +`gh gist create {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 설명으로 새 Gist 생성: + +`gh gist create {{경로/대상/파일1 경로/대상/파일2 ...}} --desc "{{설명}}"` + +- Gist 수정: + +`gh gist edit {{id|url}}` + +- 현재 로그인된 사용자가 소유한 최대 42개의 Gist 나열: + +`gh gist list --limit {{42}}` + +- 기본 브라우저에서 마크다운 렌더링 없이 Gist 보기: + +`gh gist view {{id|url}} --web --raw` diff --git a/pages.ko/common/gh-help.md b/pages.ko/common/gh-help.md new file mode 100644 index 00000000000000..6fc3a481633b70 --- /dev/null +++ b/pages.ko/common/gh-help.md @@ -0,0 +1,36 @@ +# gh help + +> GitHub CLI 명령에 대한 도움말 표시. +> 더 많은 정보: . + +- 일반 도움말 표시: + +`gh help` + +- `gh help` 하위 명령에 대한 도움말 표시: + +`gh help --help` + +- `gh`와 함께 사용할 수 있는 환경 변수에 대한 도움말 표시: + +`gh help environment` + +- 모든 `gh` 명령의 마크다운 참고 자료 표시: + +`gh help reference` + +- `jq`를 사용하여 `gh`의 JSON 출력 형식을 지정하는 방법에 대한 도움말 표시: + +`gh help formatting` + +- MinTTY와 함께 `gh`를 사용하는 방법에 대한 도움말 표시: + +`gh help mintty` + +- 하위 명령에 대한 도움말 표시: + +`gh help {{하위_명령}}` + +- 하위 명령 작업에 대한 도움말 표시: + +`gh help {{pr}} {{create}}` diff --git a/pages.ko/common/gh-issue-create.md b/pages.ko/common/gh-issue-create.md new file mode 100644 index 00000000000000..e4a24e9ded7014 --- /dev/null +++ b/pages.ko/common/gh-issue-create.md @@ -0,0 +1,32 @@ +# gh issue create + +> 저장소에 GitHub 이슈 생성. +> 더 많은 정보: . + +- 현재 저장소에 대해 대화식으로 새 이슈 생성: + +`gh issue create` + +- `bug` 레이블을 사용하여 대화식으로 새 이슈 생성: + +`gh issue create --label "{{bug}}"` + +- 지정된 사용자에게 할당하여 대화식으로 새 이슈 생성: + +`gh issue create --assignee {{user1,user2,...}}` + +- 제목과 본문을 지정하고 현재 사용자에게 할당하여 새 이슈 생성: + +`gh issue create --title "{{제목}}" --body "{{본문}}" --assignee "{{@me}}"` + +- 파일에서 본문 텍스트를 읽어와 대화식으로 새 이슈 생성: + +`gh issue create --body-file {{경로/대상/파일}}` + +- 기본 웹 브라우저에서 새 이슈 생성: + +`gh issue create --web` + +- 도움말 표시: + +`gh issue create --help` diff --git a/pages.ko/common/gh-issue.md b/pages.ko/common/gh-issue.md new file mode 100644 index 00000000000000..b00afbf1af2601 --- /dev/null +++ b/pages.ko/common/gh-issue.md @@ -0,0 +1,32 @@ +# gh issue + +> GitHub 이슈 관리. +> 더 많은 정보: . + +- 특정 이슈 보기: + +`gh issue view {{이슈_번호}}` + +- 기본 웹 브라우저에서 특정 이슈 보기: + +`gh issue view {{이슈_번호}} --web` + +- 기본 웹 브라우저에서 새 이슈 생성: + +`gh issue create --web` + +- `bug` 라벨이 있는 최근 10개의 이슈 나열: + +`gh issue list --limit {{10}} --label "{{bug}}"` + +- 특정 사용자가 만든 닫힌 이슈 나열: + +`gh issue list --state closed --author {{사용자_명}}` + +- 특정 저장소의 사용자와 관련된 이슈 상태 표시: + +`gh issue status --repo {{소유자}}/{{저장소}}` + +- 특정 이슈 다시 열기: + +`gh issue reopen {{이슈_번호}}` diff --git a/pages.ko/common/gh-label.md b/pages.ko/common/gh-label.md new file mode 100644 index 00000000000000..0a4bb0d69abf74 --- /dev/null +++ b/pages.ko/common/gh-label.md @@ -0,0 +1,32 @@ +# gh label + +> GitHub 레이블 작업. +> 더 많은 정보: . + +- 현재 디렉토리의 저장소에 대한 레이블 나열: + +`gh label list` + +- 현재 디렉토리의 저장소에 대한 레이블을 기본 웹 브라우저에서 보기: + +`gh label list --web` + +- 현재 디렉토리의 저장소에 특정 이름, 설명 및 16진수 형식 색상으로 레이블 생성: + +`gh label create {{이름}} --description "{{설명}}" --color {{색상_16진수}}` + +- 현재 디렉토리의 저장소에 대한 레이블 삭제 (확인 요청): + +`gh label delete {{이름}}` + +- 현재 디렉토리의 저장소에 특정 레이블의 이름과 설명 업데이트: + +`gh label edit {{이름}} --name {{새_이름}} --description "{{설명}}"` + +- 특정 저장소의 레이블을 현재 디렉토리의 저장소로 복제: + +`gh label clone {{소유자}}/{{저장소}}` + +- 하위 명령에 대한 도움말 표시: + +`gh label {{하위_명령}} --help` diff --git a/pages.ko/common/gh-mintty.md b/pages.ko/common/gh-mintty.md new file mode 100644 index 00000000000000..4b5aa601d708d2 --- /dev/null +++ b/pages.ko/common/gh-mintty.md @@ -0,0 +1,8 @@ +# gh mintty + +> GitHub CLI 명령에 대한 MinTTY 통합 도움말 표시. +> 더 많은 정보: . + +- MinTTY에서 `gh` 사용에 대한 도움말 표시: + +`gh mintty` diff --git a/pages.ko/common/gh-pr-create.md b/pages.ko/common/gh-pr-create.md new file mode 100644 index 00000000000000..fdb21ed69a3429 --- /dev/null +++ b/pages.ko/common/gh-pr-create.md @@ -0,0 +1,24 @@ +# gh pr create + +> GitHub 풀 리퀘스트 관리. +> 더 많은 정보: . + +- 대화형으로 풀 리퀘스트 생성: + +`gh pr create` + +- 현재 브랜치의 커밋 메시지에서 제목과 설명을 결정하여 풀 리퀘스트 생성: + +`gh pr create --fill` + +- 드래프트 풀 리퀘스트 생성: + +`gh pr create --draft` + +- 베이스 브랜치, 제목 및 설명을 지정하여 풀 리퀘스트 생성: + +`gh pr create --base {{베이스_브랜치}} --title "{{제목}}" --body "{{본문}}"` + +- 기본 웹 브라우저에서 풀 리퀘스트 열기 시작: + +`gh pr create --web` diff --git a/pages.ko/common/gh-pr-merge.md b/pages.ko/common/gh-pr-merge.md new file mode 100644 index 00000000000000..06a0cf09674c3a --- /dev/null +++ b/pages.ko/common/gh-pr-merge.md @@ -0,0 +1,32 @@ +# gh pr merge + +> GitHub 풀 리퀘스트 병합. +> 더 많은 정보: . + +- 현재 브랜치와 연관된 풀 리퀘스트를 대화식으로 병합: + +`gh pr merge` + +- 지정된 풀 리퀘스트를 대화식으로 병합: + +`gh pr merge {{pr_number}}` + +- 로컬과 원격 모두에서 브랜치를 삭제하며 풀 리퀘스트 병합: + +`gh pr merge --delete-branch` + +- 지정된 병합 전략으로 현재 풀 리퀘스트 병합: + +`gh pr merge --{{merge|squash|rebase}}` + +- 지정된 병합 전략과 커밋 메시지로 현재 풀 리퀘스트 병합: + +`gh pr merge --{{merge|squash|rebase}} --subject {{commit_message}}` + +- 메시지 본문과 함께 현재 풀 리퀘스트를 하나의 커밋으로 압축하여 병합: + +`gh pr merge --squash --body="{{commit_message_body}}"` + +- 도움말 표시: + +`gh pr merge --help` diff --git a/pages.ko/common/gh-pr.md b/pages.ko/common/gh-pr.md new file mode 100644 index 00000000000000..757a7eb38b3a37 --- /dev/null +++ b/pages.ko/common/gh-pr.md @@ -0,0 +1,37 @@ +# gh pr + +> GitHub 풀 리퀘스트를 관리. +> `create`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 풀 리퀘스트 생성: + +`gh pr create` + +- 특정 풀 리퀘스트를 로컬에서 체크아웃: + +`gh pr checkout {{pr_number}}` + +- 현재 브랜치의 풀 리퀘스트에서 변경 사항 보기: + +`gh pr diff` + +- 현재 브랜치의 풀 리퀘스트 승인: + +`gh pr review --approve` + +- 현재 브랜치와 연관된 풀 리퀘스트를 대화식으로 병합: + +`gh pr merge` + +- 풀 리퀘스트를 대화식으로 수정: + +`gh pr edit` + +- 풀 리퀘스트의 기준 브랜치 수정: + +`gh pr edit --base {{branch_name}}` + +- 현재 저장소의 풀 리퀘스트 상태 확인: + +`gh pr status` diff --git a/pages.ko/common/gh-reference.md b/pages.ko/common/gh-reference.md new file mode 100644 index 00000000000000..092c456663c856 --- /dev/null +++ b/pages.ko/common/gh-reference.md @@ -0,0 +1,8 @@ +# gh reference + +> GitHub CLI 명령에 대한 참조 표시. +> 더 많은 정보: . + +- 모든 `gh` 명령의 마크다운 참조 표시: + +`gh reference` diff --git a/pages.ko/common/gh-release.md b/pages.ko/common/gh-release.md new file mode 100644 index 00000000000000..003beccf9e36b0 --- /dev/null +++ b/pages.ko/common/gh-release.md @@ -0,0 +1,28 @@ +# gh release + +> GitHub 릴리스 관리. +> 더 많은 정보: . + +- GitHub 저장소의 릴리스 목록 표시, 최대 30개 항목으로 제한: + +`gh release list` + +- 특정 릴리스에 대한 정보 표시: + +`gh release view {{태그}}` + +- 새 릴리스 생성: + +`gh release create {{태그}}` + +- 특정 릴리스 삭제: + +`gh release delete {{태그}}` + +- 특정 릴리스에서 자산 다운로드: + +`gh release download {{태그}}` + +- 특정 릴리스에 자산 업로드: + +`gh release upload {{태그}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/gh-repo.md b/pages.ko/common/gh-repo.md new file mode 100644 index 00000000000000..2eb8a7aef956c1 --- /dev/null +++ b/pages.ko/common/gh-repo.md @@ -0,0 +1,32 @@ +# gh repo + +> GitHub 저장소 작업. +> 더 많은 정보: . + +- 새 저장소 생성 (저장소 이름이 설정되지 않으면, 기본 이름은 현재 디렉토리 이름이 됨): + +`gh repo create {{이름}}` + +- 저장소 복제: + +`gh repo clone {{소유자}}/{{저장소}}` + +- 저장소 포크 및 복제: + +`gh repo fork {{소유자}}/{{저장소}} --clone` + +- 기본 웹 브라우저에서 저장소 보기: + +`gh repo view {{저장소}} --web` + +- 특정 사용자 또는 조직이 소유한 저장소 나열 (소유자가 설정되지 않으면, 기본 소유자는 현재 로그인된 사용자): + +`gh repo list {{소유자}}` + +- 포크가 아닌 저장소만 나열하고 나열할 저장소 수 제한 (기본값: 30): + +`gh repo list {{소유자}} --source -L {{제한}}` + +- 특정 주요 코딩 언어가 있는 저장소 나열: + +`gh repo list {{소유자}} --language {{언어_이름}}` diff --git a/pages.ko/common/gh-run.md b/pages.ko/common/gh-run.md new file mode 100644 index 00000000000000..b894d342c812a7 --- /dev/null +++ b/pages.ko/common/gh-run.md @@ -0,0 +1,36 @@ +# gh run + +> 최근 GitHub Actions 워크플로 실행을 보고, 실행하고, 모니터링. +> 더 많은 정보: . + +- 실행을 인터랙티브하게 선택하여 작업 정보 보기: + +`gh run view` + +- 특정 실행에 대한 정보 표시: + +`gh run view {{workflow_run_number}}` + +- 작업의 단계에 대한 정보 표시: + +`gh run view --job={{job_number}}` + +- 작업의 로그 표시: + +`gh run view --job={{job_number}} --log` + +- 특정 워크플로를 확인하고 실행이 실패한 경우 0이 아닌 상태로 종료: + +`gh run view {{workflow_run_number}} --exit-status && {{echo "run pending or passed"}}` + +- 활성 실행을 인터랙티브하게 선택하고 완료될 때까지 대기: + +`gh run watch` + +- 실행의 작업을 표시하고 완료될 때까지 대기: + +`gh run watch {{workflow_run_number}}` + +- 특정 워크플로 재실행: + +`gh run rerun {{workflow_run_number}}` diff --git a/pages.ko/common/gh-screensaver.md b/pages.ko/common/gh-screensaver.md new file mode 100644 index 00000000000000..ac77892c32a856 --- /dev/null +++ b/pages.ko/common/gh-screensaver.md @@ -0,0 +1,25 @@ +# gh screensaver + +> GitHub CLI용 확장 기능으로 애니메이션 터미널 화면 보호기를 실행합니다. +> 같이 보기: `gh extension`. +> 더 많은 정보: . + +- 무작위 화면 보호기 실행: + +`gh screensaver` + +- 특정 화면 보호기 실행: + +`gh screensaver --saver {{fireworks|life|marquee|pipes|pollock|starfield}}` + +- 특정 텍스트와 폰트를 사용하여 "marquee" 화면 보호기 실행: + +`gh screensaver --saver {{marquee}} -- --message="{{메시지}}" --font={{폰트_이름}}` + +- 특정 밀도와 속도로 "starfield" 화면 보호기 실행: + +`gh screensaver --saver {{starfield}} -- --density {{500}} --speed {{10}}` + +- 사용 가능한 화면 보호기 목록 나열: + +`gh screensaver --list` diff --git a/pages.ko/common/gh-secret-set.md b/pages.ko/common/gh-secret-set.md new file mode 100644 index 00000000000000..ce40b223b93f3d --- /dev/null +++ b/pages.ko/common/gh-secret-set.md @@ -0,0 +1,24 @@ +# gh secret set + +> GitHub 시크릿 생성 또는 업데이트. +> 더 많은 정보: . + +- 현재 저장소에 시크릿 설정 (사용자에게 값 입력을 요청함): + +`gh secret set {{이름}}` + +- 파일에서 값을 읽어와 현재 저장소에 시크릿 설정: + +`gh secret set {{이름}} < {{경로/대상/파일}}` + +- 특정 저장소에 시크릿 설정: + +`gh secret set {{이름}} --body {{값}} --repo {{소유자}}/{{저장소}}` + +- 특정 저장소들에 대해 조직 시크릿 설정: + +`gh secret set {{이름}} --org {{조직}} --repos "{{저장소1,저장소2,...}}"` + +- 특정 가시성으로 조직 시크릿 설정: + +`gh secret set {{이름}} --org {{조직}} --visibility {{all|private|selected}}` diff --git a/pages.ko/common/gh-secret.md b/pages.ko/common/gh-secret.md new file mode 100644 index 00000000000000..3f1a8b4ca26469 --- /dev/null +++ b/pages.ko/common/gh-secret.md @@ -0,0 +1,36 @@ +# gh secret + +> GitHub 시크릿 관리. +> 더 많은 정보: . + +- 현재 저장소의 시크릿 키 나열: + +`gh secret list` + +- 특정 조직의 시크릿 키 나열: + +`gh secret list --org {{조직}}` + +- 특정 저장소의 시크릿 키 나열: + +`gh secret list --repo {{소유자}}/{{저장소}}` + +- 현재 저장소에 시크릿 설정 (사용자가 값을 입력해야 함): + +`gh secret set {{이름}}` + +- 파일에서 값을 가져와 현재 저장소에 시크릿 설정: + +`gh secret set {{이름}} < {{경로/대상/파일}}` + +- 특정 저장소에 대한 조직 시크릿 설정: + +`gh secret set {{이름}} --org {{조직}} --repos {{저장소1,저장소2}}` + +- 현재 저장소의 시크릿 제거: + +`gh secret remove {{이름}}` + +- 특정 조직의 시크릿 제거: + +`gh secret remove {{이름}} --org {{조직}}` diff --git a/pages.ko/common/gh-ssh-key.md b/pages.ko/common/gh-ssh-key.md new file mode 100644 index 00000000000000..f8a0976e4eaba6 --- /dev/null +++ b/pages.ko/common/gh-ssh-key.md @@ -0,0 +1,20 @@ +# gh ssh-key + +> GitHub SSH 키 관리. +> 더 많은 정보: . + +- 도움말 표시: + +`gh ssh-key` + +- 현재 인증된 사용자의 SSH 키 나열: + +`gh ssh-key list` + +- 현재 인증된 사용자의 계정에 SSH 키 추가: + +`gh ssh-key add {{경로/대상/key.pub}}` + +- 특정 제목으로 현재 인증된 사용자의 계정에 SSH 키 추가: + +`gh ssh-key add --title {{제목}} {{경로/대상/key.pub}}` diff --git a/pages.ko/common/gh-workflow.md b/pages.ko/common/gh-workflow.md new file mode 100644 index 00000000000000..96bc64e741b05c --- /dev/null +++ b/pages.ko/common/gh-workflow.md @@ -0,0 +1,36 @@ +# gh workflow + +> GitHub Actions 워크플로우를 나열, 보기 및 실행. +> 더 많은 정보: . + +- 상호작용식으로 워크플로우를 선택하여 최신 작업 보기: + +`gh workflow view` + +- 기본 브라우저에서 특정 워크플로우 보기: + +`gh workflow view {{id|workflow_name|filename.yml}} --web` + +- 특정 워크플로우의 YAML 정의 표시: + +`gh workflow view {{id|workflow_name|filename.yml}} --yaml` + +- 특정 Git 브랜치 또는 태그의 YAML 정의 표시: + +`gh workflow view {{id|workflow_name|filename.yml}} --ref {{branch|tag_name}} --yaml` + +- 워크플로우 파일 나열 (`--all`을 사용하여 비활성 워크플로우 포함 가능): + +`gh workflow list` + +- 매개변수와 함께 수동으로 워크플로우 실행: + +`gh workflow run {{id|workflow_name|filename.yml}} {{--raw-field param1=value1 --raw-field param2=value2 ...}}` + +- 특정 브랜치 또는 태그를 사용하여 `stdin`에서 JSON 매개변수로 수동 워크플로우 실행: + +`echo '{{{"param1": "value1", "param2": "value2", ...}}}' | gh workflow run {{id|workflow_name|filename.yml}} --ref {{branch|tag_name}}` + +- 특정 워크플로우 활성화 또는 비활성화: + +`gh workflow {{enable|disable}} {{id|workflow_name|filename.yml}}` diff --git a/pages.ko/common/gh.md b/pages.ko/common/gh.md new file mode 100644 index 00000000000000..495fda2fee73ed --- /dev/null +++ b/pages.ko/common/gh.md @@ -0,0 +1,37 @@ +# gh + +> GitHub와 원활하게 작업. +> `config`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- GitHub 리포지토리를 로컬에 복제: + +`gh repo clone {{소유자}}/{{리포지토리}}` + +- 새 이슈 생성: + +`gh issue create` + +- 현재 리포지토리의 열린 이슈를 보고 필터링: + +`gh issue list` + +- 기본 웹 브라우저에서 이슈 보기: + +`gh issue view --web {{이슈_번호}}` + +- 풀 리퀘스트 생성: + +`gh pr create` + +- 기본 웹 브라우저에서 풀 리퀘스트 보기: + +`gh pr view --web {{pr_번호}}` + +- 특정 풀 리퀘스트를 로컬에 체크아웃: + +`gh pr checkout {{pr_번호}}` + +- 리포지토리의 풀 리퀘스트 상태 확인: + +`gh pr status` diff --git a/pages.ko/common/ghc.md b/pages.ko/common/ghc.md new file mode 100644 index 00000000000000..429bbbfd1cd457 --- /dev/null +++ b/pages.ko/common/ghc.md @@ -0,0 +1,29 @@ +# ghc + +> Glasgow Haskell 컴파일러. +> 하스켈 소스 파일을 컴파일하고 링크. +> 더 많은 정보: . + +- 현재 디렉터리에서 모든 모듈을 찾아 컴파일: + +`ghc Main` + +- 단일 파일 컴파일: + +`ghc {{경로/대상/파일.hs}}` + +- 추가 최적화를 사용해 컴파일: + +`ghc -O {{경로/대상/파일.hs}}` + +- 객체 파일(.o) 생성 후 컴파일 중지: + +`ghc -c {{경로/대상/파일.hs}}` + +- REPL (대화형 쉘)을 시작: + +`ghci` + +- 단일 표현식 평가: + +`ghc -e {{표현식}}` diff --git a/pages.ko/common/ghci.md b/pages.ko/common/ghci.md new file mode 100644 index 00000000000000..894fff0964ac04 --- /dev/null +++ b/pages.ko/common/ghci.md @@ -0,0 +1,24 @@ +# ghci + +> Glasgow Haskell 컴파일러 대화형 환경. +> 더 많은 정보: . + +- REPL (대화형 쉘)을 시작: + +`ghci` + +- REPL을 시작하고 지정된 Haskell 소스 파일을 로드: + +`ghci {{소스_파일.hs}}` + +- REPL을 시작하고 언어 옵션을 활성화: + +`ghci -X{{언어_옵션}}` + +- REPL을 시작하고 일젓 수준의 컴파일러 경고(예: `all` 또는 `compact`)를 활성화: + +`ghci -W{{경고_수준}}` + +- 소스 파일을 찾기 위해 콜론으로 구분된 디렉터리 목록으로 REPL을 시작: + +`ghci -i{{경로/대상/디렉터리1:경로/대상/디렉터리2:...}}` diff --git a/pages.ko/common/ghcup.md b/pages.ko/common/ghcup.md new file mode 100644 index 00000000000000..c2e4fa6f2abcc8 --- /dev/null +++ b/pages.ko/common/ghcup.md @@ -0,0 +1,33 @@ +# ghcup + +> Haskell 툴체인을 설치 도우미. +> Haskell 툴체인을 설치, 관리, 업데이트. +> 더 많은 정보: . + +- 대화형 TUI을 시작: + +`ghcup tui` + +- 사용 가능한 GHC/cabal 버전 목록 나열: + +`ghcup list` + +- 권장 GHC 버전 설치: + +`ghcup install ghc` + +- 특정 GHC 버전 설치: + +`ghcup install ghc {{버전}}` + +- 현재 "활성" GHC 버전을 설정: + +`ghcup set ghc {{버전}}` + +- cabal을 설치: + +`ghcup install cabal` + +- `ghcup` 자체를 업데이트: + +`ghcup upgrade` diff --git a/pages.ko/common/ghdl.md b/pages.ko/common/ghdl.md new file mode 100644 index 00000000000000..a020e460b02620 --- /dev/null +++ b/pages.ko/common/ghdl.md @@ -0,0 +1,28 @@ +# ghdl + +> VHDL 언어용 오픈 소스 시뮬레이터. +> 더 많은 정보: . + +- VHDL 소스 파일을 분석하고 개체 파일을 생성: + +`ghdl -a {{파일이름.vhdl}}` + +- 설계를 정교화 (여기서 `design`은 구성 단위, 엔터티 단위 또는 아키텍처 단위의 이름): + +`ghdl -e {{디자인}}` + +- 정교한 디자인 실행: + +`ghdl -r {{디자인}}` + +- 정교한 설계를 실행하고 출력을 파형 파일로 덤프: + +`ghdl -r {{디자인}} --wave={{output.ghw}}` + +- VHDL 소스 파일의 구문을 확인: + +`ghdl -s {{파일이름.vhdl}}` + +- 도움말 표시: + +`ghdl --help` diff --git a/pages.ko/common/ghost.md b/pages.ko/common/ghost.md new file mode 100644 index 00000000000000..5f1959d5eeb2de --- /dev/null +++ b/pages.ko/common/ghost.md @@ -0,0 +1,36 @@ +# ghost + +> 블로그 플랫폼이자 헤드리스 CMS. +> 더 많은 정보: . + +- 현재 디렉토리에 Ghost를 설치: + +`ghost install` + +- Ghost 인스턴스를 시작: + +`ghost start` + +- Ghost 인스턴스를 재시작: + +`ghost restart` + +- Ghost를 설치하거나 업데이트하는 동안 시스템에 잠재적인 문제가 있는지 확인: + +`ghost doctor` + +- Ghost 인스턴스의 로그 보기: + +`ghost log {{이름}}` + +- Ghost 인스턴스를 직접 실행 (프로세스 관리자 및 디버깅에 사용): + +`ghost run` + +- 실행 중인 Ghost 프로세스 보기: + +`ghost ls` + +- Ghost 구성 보기 또는 편집: + +`ghost config {{키}} {{값}}` diff --git a/pages.ko/common/gibo.md b/pages.ko/common/gibo.md new file mode 100644 index 00000000000000..15b0596bdc9a1b --- /dev/null +++ b/pages.ko/common/gibo.md @@ -0,0 +1,24 @@ +# gibo + +> gitignore 상용구를 가져옴. +> 더 많은 정보: . + +- 사용 가능한 상용구 목록: + +`gibo list` + +- `stdout`에 상용구를 작성: + +`gibo dump {{상용구}}` + +- .gitignore에 상용구를 작성: + +`gibo dump {{상용구}} >>{{.gitignore}}` + +- 주어진 문자열을 포함하는 상용구 검색: + +`gibo search {{문자열}}` + +- 사용 가능한 로컬 상용구 업데이트: + +`gibo update` diff --git a/pages.ko/common/gifdiff.md b/pages.ko/common/gifdiff.md new file mode 100644 index 00000000000000..0b530bb6d32331 --- /dev/null +++ b/pages.ko/common/gifdiff.md @@ -0,0 +1,13 @@ +# gifdiff + +> 동일한 시각적 모양을 위해 두 개의 GIF를 비교. +> 참고: `gifsicle`. +> 더 많은 정보: . + +- GIF가 어떻게 다른지 확인: + +`gifdiff {{경로/대상/첫번째파일.gif}} {{경로/대상/두번째파일.gif}}` + +- GIF가 다른지 확인: + +`gifdiff --brief {{경로/대상/첫번째파일.gif}} {{경로/대상/두번째파일.gif}}` diff --git a/pages.ko/common/gifsicle.md b/pages.ko/common/gifsicle.md new file mode 100644 index 00000000000000..bf8a9768a70502 --- /dev/null +++ b/pages.ko/common/gifsicle.md @@ -0,0 +1,32 @@ +# gifsicle + +> GIF 파일에 대한 정보를 생성, 편집, 조작 및 가져옴. +> 더 많은 정보: . + +- GIF를 새로운 파일로 최적화: + +`gifsicle {{경로/대상/입력파일.gif}} --optimize=3 -o {{경로/대상/출력파일.gif}}` + +- [b]atch 모드를 사용하고 (주어진 각 파일을 제자리에서 수정) GIF 최적화를 취소: + +`gifsicle -b {{경로/대상/입력파일.gif}} --unoptimize` + +- GIF에서 프레임 추출: + +`gifsicle {{경로/대상/입력파일.gif}} '#{{0}}' > {{경로/대상/첫번째_프레임.gif}}` + +- 선택한 GIF로 GIF 애니메이션 만들기: + +`gifsicle {{*.gif}} --delay={{10}} --loop > {{경로/대상/출력파일.gif}}` + +- 손실 압축을 사용하여 파일 크기 줄이기 : + +`gifsicle -b {{경로/대상/입력파일.gif}} --optimize=3 --lossy={{100}} --colors={{16}} --dither` + +- GIF에서 처음 10개 프레임과 20개 이후 프레임 모두를 삭제: + +`gifsicle -b {{경로/대상/입력파일.gif}} --delete '#{{0-9}}' '#{{20-}}'` + +- 직사각형으로 자르고, 비율을 변경하고, 뒤집고, 회전하여 모든 프레임을 수정: + +`gifsicle -b --crop {{x시작점}},{{y시작점}}+{{직사각형_너비}}x{{직사각형_높이}} --scale {{0.25}} --flip-horizontal --rotate-{{90|180|270}} {{경로/대상/입력파일.gif}}` diff --git a/pages.ko/common/giftopnm.md b/pages.ko/common/giftopnm.md new file mode 100644 index 00000000000000..6f14893a0af893 --- /dev/null +++ b/pages.ko/common/giftopnm.md @@ -0,0 +1,12 @@ +# giftopnm + +> GIF 파일을 PNM 이미지로 변환. +> 더 많은 정보: . + +- GIF 이미지를 픽셀 단위의 Netpbm 이미지로 변환: + +`giftopnm {{경로/대상/입력파일.gif}} > {{경로/대상/출력파일.pnm}}` + +- 버전 정보 표시: + +`giftopnm -version` diff --git a/pages.ko/common/gimp.md b/pages.ko/common/gimp.md new file mode 100644 index 00000000000000..d1c9e33f6cba80 --- /dev/null +++ b/pages.ko/common/gimp.md @@ -0,0 +1,29 @@ +# gimp + +> GNU 이미지 조작 프로그램. +> 참고: `krita`. +> 더 많은 정보: . + +- GIMP 시작: + +`gimp` + +- 특정 파일 열기: + +`gimp {{경로/대상/이미지1 경로/대상/이미지2 ...}}` + +- 새로운 창에서 특정 파일 열기: + +`gimp --new-instance {{경로/대상/이미지1 경로/대상/이미지2 ...}}` + +- 스플래시 화면 없이 시작: + +`gimp --no-splash` + +- 오류 및 경고를 대화 상자에 표시하는 대신 콘솔에 출력: + +`gimp --console-messages` + +- 디버깅 신호 처리기 활성화: + +`gimp --debug-handlers` diff --git a/pages.ko/common/gist.md b/pages.ko/common/gist.md new file mode 100644 index 00000000000000..e9308ff6eb6c92 --- /dev/null +++ b/pages.ko/common/gist.md @@ -0,0 +1,32 @@ +# gist + +> 에 코드 업로드. +> 더 많은 정보: . + +- 이 컴퓨터에서 gist에 로그인: + +`gist --login` + +- 원하는 수의 텍스트 파일에서 gist를 생성: + +`gist {{파일.txt}} {{파일2.txt}}` + +- 설명이 포함된 비공개 gist를 생성: + +`gist --private --description "{{의미있는 설명}}" {{파일.txt}}` + +- `stdin`의 내용을 읽고 그것으로부터 gist를 생성: + +`{{echo "hello world"}} | gist` + +- 공개 및 비공개 gist를 나열: + +`gist --list` + +- 모든 사용자에 대한 모든 공개 gist를 나열: + +`gist --list {{사용자명}}` + +- URL의 ID를 사용하여 gist를 업데이트: + +`gist --update {{GIST_아이디}} {{파일.txt}}` diff --git a/pages.ko/common/git-abort.md b/pages.ko/common/git-abort.md new file mode 100644 index 00000000000000..037307c8a5a0d8 --- /dev/null +++ b/pages.ko/common/git-abort.md @@ -0,0 +1,9 @@ +# git abort + +> 진행중인 rebase, merge 혹은 cherry-pick을 중단합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- Git rebase, merge, 혹은 cherry-pick 중단: + +`git abort` diff --git a/pages.ko/common/git-add.md b/pages.ko/common/git-add.md new file mode 100644 index 00000000000000..9cc813150c56da --- /dev/null +++ b/pages.ko/common/git-add.md @@ -0,0 +1,36 @@ +# git add + +> 변경된 파일을 색인에 추가합니다. +> 더 많은 정보: . + +- 파일을 색인에 추가: + +`git add {{경로/대상/파일}}` + +- 모든 파일 추가 (추적된 파일 및 추적되지 않은 파일): + +`git add {{[-A|--all]}}` + +- 현재 폴더의 모든 파일 추가: + +`git add .` + +- 이미 추적된 파일만 추가: + +`git add {{[-u|--update]}}` + +- 무시된 파일도 추가: + +`git add {{[-f|--force]}}` + +- 파일의 일부를 대화식으로 스테이징: + +`git add {{[-p|--patch]}}` + +- 지정된 파일의 일부를 대화식으로 스테이징: + +`git add {{[-p|--patch]}} {{경로/대상/파일}}` + +- 파일을 대화식으로 스테이징: + +`git add {{[-i|--interactive]}}` diff --git a/pages.ko/common/git-alias.md b/pages.ko/common/git-alias.md new file mode 100644 index 00000000000000..91aa61baa36478 --- /dev/null +++ b/pages.ko/common/git-alias.md @@ -0,0 +1,17 @@ +# git alias + +> Git 명령어 단축어 생성. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 모든 단축어 리스트: + +`git alias` + +- 새로운 단축어 생성: + +`git alias "{{단축어_이름}}" "{{명령어}}"` + +- 이미 존재하는 단축어 검색: + +`git alias ^{{단축어_이름}}` diff --git a/pages.ko/common/git-am.md b/pages.ko/common/git-am.md new file mode 100644 index 00000000000000..bcdcd2879ed236 --- /dev/null +++ b/pages.ko/common/git-am.md @@ -0,0 +1,21 @@ +# git am + +> 패치 파일을 적용하고 커밋 생성. 이메일을 통해 커밋을 받을 때 유용합니다. +> 패치 파일을 생성할 수 있는 `git format-patch`도 같이 보세요. +> 더 많은 정보: . + +- 로컬 패치 파일을 적용하고 커밋: + +`git am {{경로/대상/파일.patch}}` + +- 원격 패치 파일을 적용하고 커밋: + +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` + +- 패치 파일 적용 과정 중단: + +`git am --abort` + +- 가능한 한 많은 패치 파일을 적용하고, 실패한 부분을 거부 파일로 저장: + +`git am --reject {{경로/대상/파일.patch}}` diff --git a/pages.ko/common/git-annex.md b/pages.ko/common/git-annex.md new file mode 100644 index 00000000000000..4c69f91ba2b990 --- /dev/null +++ b/pages.ko/common/git-annex.md @@ -0,0 +1,29 @@ +# git annex + +> Git을 사용하여 파일을 관리하지만, 파일의 내용을 체크인하지 않습니다. +> 파일이 annexed되면, 해당 내용이 키-값 저장소로 이동되고, 내용을 가리키는 심볼릭 링크가 생성됩니다. +> 더 많은 정보: . + +- Git annex로 저장소 초기화: + +`git annex init` + +- 파일 추가: + +`git annex add {{경로/대상/파일_또는_폴더}}` + +- 파일 또는 디렉토리의 현재 상태 표시: + +`git annex status {{경로/대상/파일_또는_폴더}}` + +- 로컬 저장소를 원격과 동기화: + +`git annex {{원격}}` + +- 파일 또는 디렉토리 가져오기: + +`git annex get {{경로/대상/파일_또는_폴더}}` + +- 도움말 표시: + +`git annex help` diff --git a/pages.ko/common/git-annotate.md b/pages.ko/common/git-annotate.md new file mode 100644 index 00000000000000..fcbdf1a3612988 --- /dev/null +++ b/pages.ko/common/git-annotate.md @@ -0,0 +1,18 @@ +# git annotate + +> 파일의 각 줄에 커밋 해시와 마지막 작성자를 표시합니다. +> `git blame`을 참조하세요, `git annotate`보다 선호됩니다. +> `git annotate`는 다른 버전 관리 시스템에 익숙한 사람들을 위해 제공됩니다. +> 더 많은 정보: . + +- 각 줄에 작성자 이름과 커밋 해시를 추가하여 파일 출력: + +`git annotate {{경로/대상/파일}}` + +- 각 줄에 작성자 이메일과 커밋 해시를 추가하여 파일 출력: + +`git annotate {{[-e|--show-email]}} {{경로/대상/파일}}` + +- 정규 표현식과 일치하는 줄만 출력: + +`git annotate -L :{{정규식}} {{경로/대상/파일}}` diff --git a/pages.ko/common/git-apply.md b/pages.ko/common/git-apply.md new file mode 100644 index 00000000000000..ff83ba37b57846 --- /dev/null +++ b/pages.ko/common/git-apply.md @@ -0,0 +1,29 @@ +# git apply + +> 커밋을 생성하지 않고 파일 및/또는 색인에 패치를 적용합니다. +> 같이 보기: `git am` (패치를 적용하고 커밋도 생성). +> 더 많은 정보: . + +- 패치된 파일에 대한 메시지 출력: + +`git apply {{[-v|--verbose]}} {{경로/대상/파일}}` + +- 패치를 적용하고 패치된 파일을 색인에 추가: + +`git apply --index {{경로/대상/파일}}` + +- 원격 패치 파일 적용: + +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` + +- 입력에 대한 diffstat을 출력하고 패치를 적용: + +`git apply --stat --apply {{경로/대상/파일}}` + +- 패치를 역방향으로 적용: + +`git apply {{[-R|--reverse]}} {{경로/대상/파일}}` + +- 작업 트리를 수정하지 않고 패치 결과를 색인에 저장: + +`git apply --cache {{경로/대상/파일}}` diff --git a/pages.ko/common/git-archive-file.md b/pages.ko/common/git-archive-file.md new file mode 100644 index 00000000000000..fa76450c10943c --- /dev/null +++ b/pages.ko/common/git-archive-file.md @@ -0,0 +1,9 @@ +# git archive-file + +> 현재 Git 브랜치의 모든 파일을 Zip 아카이브로 내보냅니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 현재 체크아웃된 커밋을 Zip 아카이브로 패킹: + +`git archive-file` diff --git a/pages.ko/common/git-archive.md b/pages.ko/common/git-archive.md new file mode 100644 index 00000000000000..c0e4c93db34851 --- /dev/null +++ b/pages.ko/common/git-archive.md @@ -0,0 +1,28 @@ +# git archive + +> 트리에서 파일의 아카이브를 생성합니다. +> 더 많은 정보: . + +- 현재 HEAD의 내용을 tar 아카이브로 생성하고 `stdout`에 출력: + +`git archive {{[-v|--verbose]}} HEAD` + +- Zip 형식을 사용하고 진행 상황을 자세히 보고: + +`git archive {{[-v|--verbose]}} --format zip HEAD` + +- Zip 아카이브를 특정 파일로 출력: + +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{경로/대상/파일.zip}} HEAD` + +- 특정 브랜치의 최신 커밋 내용을 tar 아카이브로 생성: + +`git archive {{[-o|--output]}} {{경로/대상/파일.tar}} {{branch_name}}` + +- 특정 디렉토리의 내용을 사용: + +`git archive {{[-o|--output]}} {{경로/대상/파일.tar}} HEAD:{{경로/대상/폴더}}` + +- 각 파일에 경로를 추가하여 특정 디렉토리에 아카이브: + +`git archive {{[-o|--output]}} {{경로/대상/파일.tar}} --prefix {{경로/대상/폴더}}/ HEAD` diff --git a/pages.ko/common/git-authors.md b/pages.ko/common/git-authors.md new file mode 100644 index 00000000000000..2fb603d8ebee0a --- /dev/null +++ b/pages.ko/common/git-authors.md @@ -0,0 +1,17 @@ +# git authors + +> Git 저장소의 커밋 작성자 목록을 생성. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 커밋 작성자 목록을 `AUTHORS` 파일 대신 `stdout`에 출력: + +`git authors {{[-l|--list]}}` + +- 커밋 작성자 목록을 `AUTHORS` 파일에 추가하고 기본 편집기로 열기: + +`git authors` + +- 이메일 주소를 제외한 커밋 작성자 목록을 `AUTHORS` 파일에 추가하고 기본 편집기로 열기: + +`git authors --no-email` diff --git a/pages.ko/common/git-bisect.md b/pages.ko/common/git-bisect.md new file mode 100644 index 00000000000000..2a95a0501d7a47 --- /dev/null +++ b/pages.ko/common/git-bisect.md @@ -0,0 +1,25 @@ +# git bisect + +> 버그를 도입한 커밋을 찾기 위해 이진 탐색을 사용합니다. +> Git은 자동적으로 커밋 그래프를 왔다갔다하면서 결함이 있는 커밋을 점차적으로 좁힙니다. +> 더 많은 정보: . + +- 알려진 버그가 있는 커밋과 알려진 깨끗한 (일반적으로 이전) 커밋으로 제한된 커밋 범위에서 bisect 세션 시작: + +`git bisect start {{bad_commit}} {{good_commit}}` + +- `git bisect`가 선택한 각 커밋에 대해 이슈를 테스트한 후 "good" 또는 "bad"로 표시: + +`git bisect {{good|bad}}` + +- `git bisect`가 결함이 있는 커밋을 정확히 찾으면 bisect 세션을 종료하고 이전 브랜치로 돌아가기: + +`git bisect reset` + +- bisect 중 커밋 건너뛰기 (예: 다른 이슈로 인해 테스트가 실패하는 커밋): + +`git bisect skip` + +- 지금까지 수행된 작업에 대한 로그 표시: + +`git bisect log` diff --git a/pages.ko/common/git-blame-someone-else.md b/pages.ko/common/git-blame-someone-else.md new file mode 100644 index 00000000000000..3eb238bab33b84 --- /dev/null +++ b/pages.ko/common/git-blame-someone-else.md @@ -0,0 +1,8 @@ +# git blame-someone-else + +> 당신의 잘못된 코드를 다른 사람에게 탓하는 도구. +> 더 많은 정보: . + +- 커밋의 작성자와 커미터 변경: + +`git blame-someone-else "{{작성자 }}" {{커밋}}` diff --git a/pages.ko/common/git-blame.md b/pages.ko/common/git-blame.md new file mode 100644 index 00000000000000..cedd4370cfa8f2 --- /dev/null +++ b/pages.ko/common/git-blame.md @@ -0,0 +1,20 @@ +# git blame + +> 파일의 각 줄에 커밋 해시와 마지막 작성자를 표시. +> 더 많은 정보: . + +- 각 줄에 작성자 이름과 커밋 해시를 표시하여 파일 출력: + +`git blame {{경로/대상/파일}}` + +- 각 줄에 작성자 이메일과 커밋 해시를 표시하여 파일 출력: + +`git blame {{[-e|--show-email]}} {{경로/대상/파일}}` + +- 특정 커밋에서 각 줄에 작성자 이름과 커밋 해시를 표시하여 파일 출력: + +`git blame {{커밋}} {{경로/대상/파일}}` + +- 특정 커밋 이전의 각 줄에 작성자 이름과 커밋 해시를 표시하여 파일 출력: + +`git blame {{커밋}}~ {{경로/대상/파일}}` diff --git a/pages.ko/common/git-branch.md b/pages.ko/common/git-branch.md new file mode 100644 index 00000000000000..37b0e9117f5ba0 --- /dev/null +++ b/pages.ko/common/git-branch.md @@ -0,0 +1,36 @@ +# git branch + +> Git 브랜치 작업을 위한 주요 명령어. +> 더 많은 정보: . + +- 모든 브랜치 나열 (로컬 및 원격; 현재 브랜치는 `*`로 강조): + +`git branch {{[-a|--all]}}` + +- 특정 Git 커밋을 포함한 브랜치 나열: + +`git branch {{[-a|--all]}} --contains {{커밋_해시}}` + +- 현재 브랜치 이름 표시: + +`git branch --show-current` + +- 현재 커밋을 기준으로 새 브랜치 생성: + +`git branch {{브랜치_이름}}` + +- 특정 커밋을 기준으로 새 브랜치 생성: + +`git branch {{브랜치_이름}} {{커밋_해시}}` + +- 브랜치 이름 변경 (현재 체크아웃된 브랜치가 아니어야 함): + +`git branch {{[-m|--move]}} {{이전_브랜치_이름}} {{새_브랜치_이름}}` + +- 로컬 브랜치 삭제 (현재 체크아웃된 브랜치가 아니어야 함): + +`git branch {{[-d|--delete]}} {{브랜치_이름}}` + +- 원격 브랜치 삭제: + +`git push {{원격_이름}} {{[-d|--delete]}} {{원격_브랜치_이름}}` diff --git a/pages.ko/common/git-browse-ci.md b/pages.ko/common/git-browse-ci.md new file mode 100644 index 00000000000000..4935afb6665400 --- /dev/null +++ b/pages.ko/common/git-browse-ci.md @@ -0,0 +1,13 @@ +# git browse-ci + +> 현재 `git` 저장소의 CI 웹사이트를 기본 웹 브라우저에서 엽니다. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 저장소의 CI 설정을 업스트림 웹사이트에서 열기: + +`git browse-ci` + +- 특정 원격 저장소의 CI 설정을 업스트림 웹사이트에서 열기: + +`git browse-ci {{remote}}` diff --git a/pages.ko/common/git-browse.md b/pages.ko/common/git-browse.md new file mode 100644 index 00000000000000..89258c1834bd2e --- /dev/null +++ b/pages.ko/common/git-browse.md @@ -0,0 +1,13 @@ +# git browse + +> 기본 브라우저에서 업스트림 리포지터리 보기. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 첫 번째 업스트림을 기본 브라우저에서 열기: + +`git browse` + +- 특정 업스트림을 기본 브라우저에서 열기: + +`git browse {{업스트림}}` diff --git a/pages.ko/common/git-brv.md b/pages.ko/common/git-brv.md new file mode 100644 index 00000000000000..93246373ba91ad --- /dev/null +++ b/pages.ko/common/git-brv.md @@ -0,0 +1,9 @@ +# git brv + +> 마지막 커밋 날짜별로 정렬된 브랜치 목록을 출력. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 날짜, 최신 커밋 해시 및 메시지를 표시하여 각 브랜치 나열: + +`git brv` diff --git a/pages.ko/common/git-bug.md b/pages.ko/common/git-bug.md new file mode 100644 index 00000000000000..5b5470a45753ca --- /dev/null +++ b/pages.ko/common/git-bug.md @@ -0,0 +1,33 @@ +# git bug + +> Git의 내부 저장소를 사용하는 분산 버그 추적기입니다. 프로젝트에 파일이 추가되지 않습니다. +> 문제를 커밋 및 브랜치처럼 다른 사람들과 상호작용하는 동일한 Git 원격 저장소에 제출할 수 있습니다. +> 더 많은 정보: . + +- 새 사용자 생성: + +`git bug user create` + +- 새 버그 생성: + +`git bug add` + +- 원격 저장소에 새로운 버그 항목 푸시: + +`git bug push` + +- 업데이트 가져오기: + +`git bug pull` + +- 기존 버그 나열: + +`git bug ls` + +- 쿼리를 사용하여 버그 필터링 및 정렬: + +`git bug ls "{{상태}}:{{열림}} {{정렬}}:{{편집}}"` + +- 텍스트 내용으로 버그 검색: + +`git bug ls "{{검색_쿼리}}" baz` diff --git a/pages.ko/common/git-bugreport.md b/pages.ko/common/git-bugreport.md new file mode 100644 index 00000000000000..e485937a356a72 --- /dev/null +++ b/pages.ko/common/git-bugreport.md @@ -0,0 +1,16 @@ +# git bugreport + +> 시스템 및 사용자로부터 디버그 정보를 수집하여 Git 버그 보고에 도움이 되는 텍스트 파일을 생성합니다. +> 더 많은 정보: . + +- 현재 디렉토리에 새로운 버그 보고 파일 생성: + +`git bugreport` + +- 지정된 디렉토리에 새로운 버그 보고 파일 생성 (디렉토리가 없을 경우 생성됨): + +`git bugreport {{[-o|--output-directory]}} {{경로/대상/폴더}}` + +- `strftime` 형식의 지정된 파일명 접미사를 사용하여 새로운 버그 보고 파일 생성: + +`git bugreport {{[-s|--suffix]}} {{%m%d%y}}` diff --git a/pages.ko/common/git-bulk.md b/pages.ko/common/git-bulk.md new file mode 100644 index 00000000000000..35592cdb28cfad --- /dev/null +++ b/pages.ko/common/git-bulk.md @@ -0,0 +1,37 @@ +# git bulk + +> 여러 Git 저장소에서 작업을 실행. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 디렉토리를 작업 공간으로 등록: + +`git bulk --addcurrent {{작업_공간_이름}}` + +- 대량 작업을 위한 작업 공간 등록: + +`git bulk --addworkspace {{작업_공간_이름}} {{/절대/경로/대상/저장소}}` + +- 특정 디렉토리 내에 저장소를 클론하고, 작업 공간으로 등록: + +`git bulk --addworkspace {{작업_공간_이름}} {{/절대/경로/대상/부모_디렉토리}} --from {{원격_저장소_위치}}` + +- 원격 위치의 새 줄로 구분된 목록에서 저장소를 클론하고, 작업 공간으로 등록: + +`git bulk --addworkspace {{작업_공간_이름}} {{/경로/대상/루트_디렉토리}} --from {{/경로/대상/파일}}` + +- 등록된 모든 작업 공간 나열: + +`git bulk --listall` + +- 현재 작업 공간의 저장소에서 Git 명령 실행: + +`git bulk {{명령}} {{명령_인수}}` + +- 특정 작업 공간 제거: + +`git bulk --removeworkspace {{작업_공간_이름}}` + +- 모든 작업 공간 제거: + +`git bulk --purge` diff --git a/pages.ko/common/git-bundle.md b/pages.ko/common/git-bundle.md new file mode 100644 index 00000000000000..97b65db5cc4761 --- /dev/null +++ b/pages.ko/common/git-bundle.md @@ -0,0 +1,36 @@ +# git bundle + +> 객체와 참조를 아카이브로 패키징합니다. +> 더 많은 정보: . + +- 특정 브랜치의 모든 객체와 참조를 포함하는 번들 파일 생성: + +`git bundle create {{경로/대상/파일.bundle}} {{브랜치_이름}}` + +- 모든 브랜치의 번들 파일 생성: + +`git bundle create {{경로/대상/파일.bundle}} --all` + +- 현재 브랜치의 마지막 5개의 커밋을 포함하는 번들 파일 생성: + +`git bundle create {{경로/대상/파일.bundle}} -5 {{HEAD}}` + +- 최근 7일간의 커밋을 포함하는 번들 파일 생성: + +`git bundle create {{경로/대상/파일.bundle}} --since 7.days {{HEAD}}` + +- 번들 파일이 유효하고 현재 저장소에 적용될 수 있는지 확인: + +`git bundle verify {{경로/대상/파일.bundle}}` + +- 번들에 포함된 참조 목록을 `stdout`에 출력: + +`git bundle unbundle {{경로/대상/파일.bundle}}` + +- 번들 파일에서 특정 브랜치를 현재 저장소로 언번들: + +`git pull {{경로/대상/파일.bundle}} {{브랜치_이름}}` + +- 번들에서 새 저장소 생성: + +`git clone {{경로/대상/파일.bundle}}` diff --git a/pages.ko/common/git-cat-file.md b/pages.ko/common/git-cat-file.md new file mode 100644 index 00000000000000..1285325720cf74 --- /dev/null +++ b/pages.ko/common/git-cat-file.md @@ -0,0 +1,16 @@ +# git cat-file + +> Git 저장소 객체의 콘텐츠 또는 유형 및 크기 정보를 제공합니다. +> 더 많은 정보: . + +- HEAD 커밋의 크기(바이트 단위) 확인: + +`git cat-file -s HEAD` + +- 주어진 Git 객체의 유형(blob, tree, commit, tag) 확인: + +`git cat-file -t {{8c442dc3}}` + +- 주어진 Git 객체의 유형에 따라 콘텐츠를 보기 좋게 출력: + +`git cat-file -p {{HEAD~2}}` diff --git a/pages.ko/common/git-changelog.md b/pages.ko/common/git-changelog.md new file mode 100644 index 00000000000000..ba85b1d46e503c --- /dev/null +++ b/pages.ko/common/git-changelog.md @@ -0,0 +1,33 @@ +# git changelog + +> 저장소 커밋 및 태그에서 변경 로그 보고서를 생성. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 최신 Git 태그 이후의 커밋 메시지로 기존 파일을 업데이트하거나 새 `History.md` 파일을 생성: + +`git changelog` + +- 현재 버전의 커밋 나열: + +`git changelog {{[-l|--list]}}` + +- `2.1.0` 태그부터 현재까지의 커밋 범위 나열: + +`git changelog {{[-l|--list]}} {{[-s|--start-tag]}} {{2.1.0}}` + +- `0.5.0` 태그와 `1.0.0` 태그 사이의 커밋 범위를 보기 좋게 나열: + +`git changelog {{[-s|--start-tag]}} {{0.5.0}} {{[-f|--final-tag]}} {{1.0.0}}` + +- 커밋 `0b97430`과 태그 `1.0.0` 사이의 커밋 범위를 보기 좋게 나열: + +`git changelog --start-commit {{0b97430}} {{[-f|--final-tag]}} {{1.0.0}}` + +- 출력 파일로 `CHANGELOG.md` 지정: + +`git changelog {{CHANGELOG.md}}` + +- 현재 변경 로그 파일의 내용을 완전히 교체: + +`git changelog {{[-p|--prune-old]}}` diff --git a/pages.ko/common/git-check-attr.md b/pages.ko/common/git-check-attr.md new file mode 100644 index 00000000000000..96f0f113511bc4 --- /dev/null +++ b/pages.ko/common/git-check-attr.md @@ -0,0 +1,20 @@ +# git check-attr + +> 각 경로명에 대해 해당 경로명에 대한 gitattribute로 지정되지 않았는지, 설정되었는지 또는 해제되었는지 속성을 나열합니다. +> 더 많은 정보: . + +- 파일의 모든 속성 값을 확인: + +`git check-attr --all {{경로/대상/파일}}` + +- 파일의 특정 속성 값을 확인: + +`git check-attr {{속성}} {{경로/대상/파일}}` + +- 특정 파일들의 모든 속성 값을 확인: + +`git check-attr --all {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 하나 이상의 파일에 대한 특정 속성 값을 확인: + +`git check-attr {{속성}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/git-check-ignore.md b/pages.ko/common/git-check-ignore.md new file mode 100644 index 00000000000000..fad5cdc5997301 --- /dev/null +++ b/pages.ko/common/git-check-ignore.md @@ -0,0 +1,24 @@ +# git check-ignore + +> Git ignore/exclude (".gitignore") 파일을 분석하고 디버깅. +> 더 많은 정보: . + +- 파일 또는 폴더가 무시되는지 확인: + +`git check-ignore {{경로/대상/파일_또는_폴더}}` + +- 여러 파일 또는 폴더가 무시되는지 확인: + +`git check-ignore {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 각 경로를 한 줄씩 `stdin`에서 사용: + +`git check-ignore --stdin < {{경로/대상/파일_목록}}` + +- 색인을 확인하지 않음 (경로가 추적되고 무시되지 않은 이유를 디버그하는 데 사용): + +`git check-ignore --no-index {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 각 경로에 대한 일치하는 패턴에 대한 세부 정보 포함: + +`git check-ignore {{[-v|--verbose]}} {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` diff --git a/pages.ko/common/git-check-mailmap.md b/pages.ko/common/git-check-mailmap.md new file mode 100644 index 00000000000000..403ddc9eb0b239 --- /dev/null +++ b/pages.ko/common/git-check-mailmap.md @@ -0,0 +1,8 @@ +# git check-mailmap + +> 연락처의 표준 이름과 이메일 주소를 표시. +> 더 많은 정보: . + +- 이메일 주소와 연관된 표준 이름 조회: + +`git check-mailmap "<{{email@example.com}}>"` diff --git a/pages.ko/common/git-check-ref-format.md b/pages.ko/common/git-check-ref-format.md new file mode 100644 index 00000000000000..f84ec2765007b9 --- /dev/null +++ b/pages.ko/common/git-check-ref-format.md @@ -0,0 +1,16 @@ +# git check-ref-format + +> 참조 이름이 적절한지 확인하고, 그렇지 않으면 0이 아닌 상태로 종료. +> 더 많은 정보: . + +- 지정된 참조 이름의 형식 확인: + +`git check-ref-format {{refs/head/refname}}` + +- 마지막으로 체크아웃한 브랜치 이름 출력: + +`git check-ref-format --branch @{-1}` + +- 참조 이름을 정규화: + +`git check-ref-format --normalize {{refs/head/refname}}` diff --git a/pages.ko/common/git-checkout-index.md b/pages.ko/common/git-checkout-index.md new file mode 100644 index 00000000000000..bb2b8fa50b74c9 --- /dev/null +++ b/pages.ko/common/git-checkout-index.md @@ -0,0 +1,20 @@ +# git checkout-index + +> 색인에서 작업 트리로 파일 복사. +> 더 많은 정보: . + +- 마지막 커밋 이후 삭제된 파일 복원: + +`git checkout-index --all` + +- 마지막 커밋 이후 삭제되거나 변경된 파일 복원: + +`git checkout-index --all --force` + +- 마지막 커밋 이후 변경된 파일 복원, 삭제된 파일은 무시: + +`git checkout-index --all --force --no-create` + +- 마지막 커밋 시점의 전체 트리 복사본을 지정된 디렉토리에 내보내기 (끝의 슬래시가 중요): + +`git checkout-index --all --force --prefix={{경로/대상/내보내기_폴더/}}` diff --git a/pages.ko/common/git-checkout.md b/pages.ko/common/git-checkout.md new file mode 100644 index 00000000000000..26809c1a6e75ae --- /dev/null +++ b/pages.ko/common/git-checkout.md @@ -0,0 +1,36 @@ +# git checkout + +> 브랜치 또는 작업 트리로 경로를 체크아웃합니다. +> 더 많은 정보: . + +- 새로운 브랜치를 생성하고 체크아웃: + +`git checkout -b {{브랜치_이름}}` + +- 특정 참조를 기반으로 새로운 브랜치를 생성하고 체크아웃 (브랜치, remote/branch, tag가 유효한 참조 예시입니다): + +`git checkout -b {{브랜치_이름}} {{참조}}` + +- 기존 로컬 브랜치로 체크아웃: + +`git checkout {{브랜치_이름}}` + +- 이전에 체크아웃한 브랜치로 체크아웃: + +`git checkout -` + +- 기존 원격 브랜치로 체크아웃: + +`git checkout {{[-t|--track]}} {{원격_이름}}/{{브랜치_이름}}` + +- 현재 디렉토리에서 모든 스테이징되지 않은 변경 사항을 삭제 (더 많은 취소 유사 명령은 `git reset`을 참조하십시오): + +`git checkout .` + +- 특정 파일의 스테이징되지 않은 변경 사항 삭제: + +`git checkout {{경로/대상/파일}}` + +- 현재 디렉토리에 있는 파일을 주어진 브랜치에서 커밋된 버전으로 대체: + +`git checkout {{브랜치_이름}} -- {{경로/대상/파일}}` diff --git a/pages.ko/common/git-cherry-pick.md b/pages.ko/common/git-cherry-pick.md new file mode 100644 index 00000000000000..67defcf33527b9 --- /dev/null +++ b/pages.ko/common/git-cherry-pick.md @@ -0,0 +1,21 @@ +# git cherry-pick + +> 기존의 커밋에서 가져온 변경내용을 현재 브랜치에 적용합니다. +> 변경내용을 다른 브랜치에 적용하고싶으면, 우선 `git checkout`을 사용해 원하는 브랜치로 변경하세요. +> 더 많은 정보: . + +- 커밋을 현재 브랜치에 적용: + +`git cherry-pick {{커밋}}` + +- 특정 범위의 커밋들을 현재 브랜치에 적용 (`git rebase --onto`도 보세요): + +`git cherry-pick {{시작_커밋}}~..{{끝_커밋}}` + +- 연속되지 않은 여러 커밋들을 현재 브랜치에 적용: + +`git cherry-pick {{커밋1 커밋2 ...}}` + +- 커밋의 변경내역을 커밋 없이 디렉토리에 추가: + +`git cherry-pick {{[-n|--no-commit]}} {{커밋}}` diff --git a/pages.ko/common/git-cherry.md b/pages.ko/common/git-cherry.md new file mode 100644 index 00000000000000..e18b666d907109 --- /dev/null +++ b/pages.ko/common/git-cherry.md @@ -0,0 +1,16 @@ +# git cherry + +> 아직 상류에 적용되지 않은 커밋을 찾습니다. +> 더 많은 정보: . + +- 상류에 동등한 커밋이 있는 커밋(및 그 메시지) 표시: + +`git cherry {{[-v|--verbose]}}` + +- 다른 상류 및 주제 브랜치 지정: + +`git cherry {{origin}} {{topic}}` + +- 주어진 한계 내의 커밋만 제한: + +`git cherry {{origin}} {{topic}} {{base}}` diff --git a/pages.ko/common/git-clean.md b/pages.ko/common/git-clean.md new file mode 100644 index 00000000000000..8b4871cfafd6e2 --- /dev/null +++ b/pages.ko/common/git-clean.md @@ -0,0 +1,28 @@ +# git clean + +> 워킹 트리에서 추적되지 않는 파일을 제거합니다. +> 더 많은 정보: . + +- 깃에 의해 추적되지 않는 파일들 지우기: + +`git clean` + +- 깃에 의해 추적되지 않는 파일들 인터액티브 하게 지우기: + +`git clean {{[-i|--interactive]}}` + +- 어떤 파일들이 제거될 것인지 실제로 지우지 않고 보여주기: + +`git clean {{[-n|--dry-run]}}` + +- 깃에 의해 추적되지 않는 파일들 강제적으로 지우기: + +`git clean {{[-f|--force]}}` + +- 추적되지 않은 [d]irectory 강제로 삭제: + +`git clean {{[-f|--force]}} -d` + +- 추적되지 않는 파일들, `.gitignore` 와 `.git/info/exclude` 안에 있는 무시된 파일들을 포함하여 지우기: + +`git clean -x` diff --git a/pages.ko/common/git-clear-soft.md b/pages.ko/common/git-clear-soft.md new file mode 100644 index 00000000000000..71ca85001afb91 --- /dev/null +++ b/pages.ko/common/git-clear-soft.md @@ -0,0 +1,9 @@ +# git clear-soft + +> 현재 브랜치와 `.gitignore`에 포함된 파일을 제외하고 Git 작업 디렉토리를 새로 클론한 것처럼 초기화. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 모든 추적된 파일을 초기화하고 모든 추적되지 않은 파일 삭제: + +`git clear-soft` diff --git a/pages.ko/common/git-clear.md b/pages.ko/common/git-clear.md new file mode 100644 index 00000000000000..63c8705ff0b28c --- /dev/null +++ b/pages.ko/common/git-clear.md @@ -0,0 +1,9 @@ +# git clear + +> 현재 브랜치와 `.gitignore`에 포함된 파일들을 포함하여 Git 작업 디렉토리를 새로 클론한 것처럼 초기화합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 모든 추적된 파일을 초기화하고 `.gitignore`에 포함된 파일을 포함하여 모든 추적되지 않은 파일 삭제: + +`git clear` diff --git a/pages.ko/common/git-clone.md b/pages.ko/common/git-clone.md new file mode 100644 index 00000000000000..cbd69c19dbe6af --- /dev/null +++ b/pages.ko/common/git-clone.md @@ -0,0 +1,36 @@ +# git clone + +> 기존 저장소를 복제합니다. +> 더 많은 정보: . + +- 기존 저장소를 새 디렉토리로 복제 (기본 디렉토리는 저장소 이름): + +`git clone {{원격_저장소_위치}} {{경로/대상/폴더}}` + +- 기존 저장소 및 그 하위 모듈 복제: + +`git clone --recursive {{원격_저장소_위치}}` + +- 기존 저장소의 `.git` 디렉토리만 복제: + +`git clone {{[-n|--no-checkout]}} {{원격_저장소_위치}}` + +- 로컬 저장소 복제: + +`git clone {{[-l|--local]}} {{경로/대상/로컬/저장소}}` + +- 조용히 복제: + +`git clone {{[-q|--quiet]}} {{원격_저장소_위치}}` + +- 기존 저장소를 기본 브랜치에서 최근 커밋 10개만 복제 (시간 절약에 좋음): + +`git clone --depth 10 {{원격_저장소_위치}}` + +- 기존 저장소의 특정 브랜치만 복제: + +`git clone {{[-b|--branch]}} {{이름}} --single-branch {{원격_저장소_위치}}` + +- 특정 SSH 명령을 사용하여 기존 저장소 복제: + +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i path/to/private_ssh_key}}" {{원격_저장소_위치}}` diff --git a/pages.ko/common/git-coauthor.md b/pages.ko/common/git-coauthor.md new file mode 100644 index 00000000000000..2c1f573c7daf5d --- /dev/null +++ b/pages.ko/common/git-coauthor.md @@ -0,0 +1,9 @@ +# git coauthor + +> 최신 커밋에 다른 작성자를 추가. 이 명령은 Git 기록을 다시 작성하므로, 다음 푸시 시 `--force`가 필요합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 마지막 Git 커밋에 추가 작성자 삽입: + +`git coauthor {{이름}} {{name@example.com}}` diff --git a/pages.ko/common/git-cola.md b/pages.ko/common/git-cola.md new file mode 100644 index 00000000000000..b36267745f068c --- /dev/null +++ b/pages.ko/common/git-cola.md @@ -0,0 +1,24 @@ +# git cola + +> 강력하고 직관적인 사용자 인터페이스를 갖춘 Git GUI. +> 더 많은 정보: . + +- GUI 시작: + +`git cola` + +- 수정 모드에서 GUI 시작: + +`git cola --amend` + +- Git 저장소를 묻기. 기본값은 현재 디렉토리: + +`git cola --prompt` + +- 지정된 경로의 Git 저장소 열기: + +`git cola --repo {{경로/대상/git-저장소}}` + +- 상태 위젯에 경로 필터 적용: + +`git cola --status-filter {{필터}}` diff --git a/pages.ko/common/git-column.md b/pages.ko/common/git-column.md new file mode 100644 index 00000000000000..52c7848deca4b2 --- /dev/null +++ b/pages.ko/common/git-column.md @@ -0,0 +1,16 @@ +# git column + +> 데이터를 여러 열로 표시. +> 더 많은 정보: . + +- `stdin`을 여러 열로 형식화: + +`ls | git column --mode={{column}}` + +- 최대 너비가 `100`인 여러 열로 `stdin`을 형식화: + +`ls | git column --mode=column --width={{100}}` + +- 최대 여백이 `30`인 여러 열로 `stdin`을 형식화: + +`ls | git column --mode=column --padding={{30}}` diff --git a/pages.ko/common/git-commit-graph.md b/pages.ko/common/git-commit-graph.md new file mode 100644 index 00000000000000..8094745650a195 --- /dev/null +++ b/pages.ko/common/git-commit-graph.md @@ -0,0 +1,16 @@ +# git commit-graph + +> Git commit-graph 파일을 작성하고 검증합니다. +> 더 많은 정보: . + +- 저장소의 로컬 `.git` 디렉토리에 있는 모든 커밋들에 대한 commit-graph 파일 작성: + +`git commit-graph write` + +- 모든 브랜치와 태그에서 접근 가능한 커밋들을 포함하는 commit-graph 파일 작성: + +`git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits` + +- 현재 commit-graph 파일의 모든 커밋과 현재 `HEAD`에서 접근 가능한 커밋들을 포함하는 업데이트된 commit-graph 파일 작성: + +`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append` diff --git a/pages.ko/common/git-commit-tree.md b/pages.ko/common/git-commit-tree.md new file mode 100644 index 00000000000000..cfd00deb96728c --- /dev/null +++ b/pages.ko/common/git-commit-tree.md @@ -0,0 +1,21 @@ +# git commit-tree + +> Git의 내부 동작을 직접 다루는 명령어로, 커밋 객체를 직접 생성합니다. +> 참조: `git commit`. +> 더 많은 정보: . + +- 지정된 메시지로 커밋 객체 생성: + +`git commit-tree {{tree}} -m "{{message}}"` + +- 지정된 파일의 내용을 커밋 메시지로 사용하여 커밋 객체 생성 (`stdin`의 경우 `-` 사용): + +`git commit-tree {{tree}} -F {{path/to/file}}` + +- GPG 키로 인증된 커밋 객체 생성: + +`git commit-tree {{tree}} -m "{{message}}" {{[-S|--gpg-sign]}}` + +- 지정된 부모 커밋 객체를 가진 커밋 객체 생성: + +`git commit-tree {{tree}} -m "{{message}}" -p {{parent_commit_sha}}` diff --git a/pages.ko/common/git-commit.md b/pages.ko/common/git-commit.md new file mode 100644 index 00000000000000..9743a8265c098c --- /dev/null +++ b/pages.ko/common/git-commit.md @@ -0,0 +1,32 @@ +# git commit + +> 파일을 저장소에 커밋합니다. +> 더 많은 정보: . + +- 스테이징된 파일을 메시지와 함께 저장소에 커밋: + +`git commit {{[-m|--message]}} "{{메시지}}"` + +- 파일에서 읽은 메시지로 스테이징된 파일을 저장소에 커밋: + +`git commit {{[-F|--file]}} {{경로/대상/커밋_메시지_파일}}` + +- 수정 및 삭제된 모든 파일을 자동으로 스테이징하고 메시지와 함께 커밋: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{메시지}}"` + +- 스테이징된 파일을 커밋하고 지정된 GPG 키로 서명합니다 (인수가 지정되지 않은 경우 구성 파일에 정의된 키 사용): + +`git commit {{[-S|--gpg-sign]}} {{키_아이디}} {{[-m|--message]}} "{{메시지}}"` + +- 현재 스테이징된 변경 사항을 추가하여 마지막 커밋을 업데이트하고 커밋의 해시를 변경합니다: + +`git commit --amend` + +- 특정 파일(이미 스테이징된)만 커밋: + +`git commit {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 스테이징된 파일이 없더라도 커밋 생성: + +`git commit {{[-m|--message]}} "{{메시지}}" --allow-empty` diff --git a/pages.ko/common/git-commits-since.md b/pages.ko/common/git-commits-since.md new file mode 100644 index 00000000000000..52f58579b9eb39 --- /dev/null +++ b/pages.ko/common/git-commits-since.md @@ -0,0 +1,21 @@ +# git commits-since + +> 특정 시간이나 날짜 이후의 커밋을 표시. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 어제 이후의 커밋 표시: + +`git commits-since {{어제}}` + +- 지난주 이후의 커밋 표시: + +`git commits-since {{지난주}}` + +- 지난달 이후의 커밋 표시: + +`git commits-since {{지난달}}` + +- 어제 오후 2시 이후의 커밋 표시: + +`git commits-since {{어제 오후 2시}}` diff --git a/pages.ko/common/git-config.md b/pages.ko/common/git-config.md new file mode 100644 index 00000000000000..317aa644a0d7a8 --- /dev/null +++ b/pages.ko/common/git-config.md @@ -0,0 +1,37 @@ +# git config + +> Git 저장소의 사용자 지정 설정 옵션을 관리합니다. +> 이러한 설정은 개별 (현재 저장소) 또는 전역 (현재 사용자)용일 수 있습니다. +> 더 많은 정보: . + +- 전역으로 이름이나 이메일을 설정 (이 정보는 저장소에 커밋하는 데 필요하며 모든 커밋에 포함): + +`git config --global {{user.name|user.email}} "{{유저_이름|email@example.com}}"` + +- 개별 저장소 또는 전역 설정 항목을 나열: + +`git config {{[-l|--list]}} --{{local|global}}` + +- 시스템 설정 항목만 나열하고(저장 위치: `/etc/gitconfig`), 파일 위치를 표시: + +`git config {{[-l|--list]}} --system --show-origin` + +- 주어진 설정 항목의 값을 가져오기: + +`git config alias.unstage` + +- 주어진 설정 항목의 전역 값을 설정: + +`git config --global alias.unstage "reset HEAD --"` + +- 전역 설정 항목을 기본값으로 되돌리기: + +`git config --global --unset alias.unstage` + +- 개별 저장소의 Git 설정(`.git/config`)을 기본 편집기에서 편집: + +`git config {{[-e|--edit]}}` + +- 전역 Git 설정(기본적으로 `~/.gitconfig` 또는 `$XDG_CONFIG_HOME/git/config` 파일이 존재하는 경우)을 기본 편집기에서 편집: + +`git config --global {{[-e|--edit]}}` diff --git a/pages.ko/common/git-contrib.md b/pages.ko/common/git-contrib.md new file mode 100644 index 00000000000000..335a2bff5ec7d7 --- /dev/null +++ b/pages.ko/common/git-contrib.md @@ -0,0 +1,9 @@ +# git contrib + +> 특정 작성자의 커밋을 표시. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 특정 작성자의 모든 커밋 해시 및 해당 커밋 메시지 표시: + +`git contrib {{작성자}}` diff --git a/pages.ko/common/git-count-objects.md b/pages.ko/common/git-count-objects.md new file mode 100644 index 00000000000000..a07b4d5748335d --- /dev/null +++ b/pages.ko/common/git-count-objects.md @@ -0,0 +1,20 @@ +# git count-objects + +> 풀리지 않은 객체의 수와 디스크 사용량을 계산. +> 더 많은 정보: . + +- 모든 객체를 계산하고 총 디스크 사용량 표시: + +`git count-objects` + +- 모든 객체의 수와 총 디스크 사용량을 계산하여 사람이 읽기 쉬운 단위로 표시: + +`git count-objects --human-readable` + +- 더 자세한 정보 표시: + +`git count-objects --verbose` + +- 더 자세한 정보를 사람이 읽기 쉬운 단위로 표시: + +`git count-objects --human-readable --verbose` diff --git a/pages.ko/common/git-count.md b/pages.ko/common/git-count.md new file mode 100644 index 00000000000000..60dc4984f951f5 --- /dev/null +++ b/pages.ko/common/git-count.md @@ -0,0 +1,13 @@ +# git count + +> 커밋의 총 개수를 출력합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 커밋의 총 개수를 출력: + +`git count` + +- 기여자별 커밋 개수와 총 커밋 개수를 출력: + +`git count --all` diff --git a/pages.ko/common/git-cp.md b/pages.ko/common/git-cp.md new file mode 100644 index 00000000000000..4213e8533088b5 --- /dev/null +++ b/pages.ko/common/git-cp.md @@ -0,0 +1,13 @@ +# git cp + +> 기존 파일을 새로운 위치로 복사하면서 기록을 보존. +> `git-extras`의 일부. +> 더 많은 정보: . + +- Git 저장소에서 기존 파일을 동일한 디렉토리에 복사: + +`git cp {{파일}} {{새_파일}}` + +- Git 저장소에서 기존 파일을 다른 위치에 복사: + +`git cp {{경로/대상/파일}} {{경로/대상/새_파일}}` diff --git a/pages.ko/common/git-create-branch.md b/pages.ko/common/git-create-branch.md new file mode 100644 index 00000000000000..293b2ea5fc7c62 --- /dev/null +++ b/pages.ko/common/git-create-branch.md @@ -0,0 +1,17 @@ +# git create-branch + +> 리포지토리에 Git 브랜치 생성. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 로컬 브랜치 생성: + +`git create-branch {{브랜치_이름}}` + +- 로컬 및 origin에 브랜치 생성: + +`git create-branch --remote {{브랜치_이름}}` + +- 로컬 및 upstream(포크를 통해)에 브랜치 생성: + +`git create-branch --remote upstream {{브랜치_이름}}` diff --git a/pages.ko/common/git-credential-cache.md b/pages.ko/common/git-credential-cache.md new file mode 100644 index 00000000000000..53862cff65d6d6 --- /dev/null +++ b/pages.ko/common/git-credential-cache.md @@ -0,0 +1,8 @@ +# git credential-cache + +> Git 비밀번호를 메모리에 임시로 저장하는 도구. +> 더 많은 정보: . + +- Git 자격 증명을 특정 시간 동안 저장: + +`git config credential.helper 'cache --timeout={{초단위_시간}}'` diff --git a/pages.ko/common/git-credential-store.md b/pages.ko/common/git-credential-store.md new file mode 100644 index 00000000000000..f65a0bab316d39 --- /dev/null +++ b/pages.ko/common/git-credential-store.md @@ -0,0 +1,8 @@ +# git credential-store + +> 디스크에 비밀번호를 저장하는 Git 도우미. +> 더 많은 정보: . + +- 특정 파일에 Git 자격 증명 저장: + +`git config credential.helper 'store --file={{경로/대상/파일}}'` diff --git a/pages.ko/common/git-credential.md b/pages.ko/common/git-credential.md new file mode 100644 index 00000000000000..74581833f000fc --- /dev/null +++ b/pages.ko/common/git-credential.md @@ -0,0 +1,16 @@ +# git credential + +> 사용자 자격 증명을 검색하고 저장. +> 더 많은 정보: . + +- 자격 증명 정보를 표시하고, 구성 파일에서 사용자 명과 비밀번호를 검색: + +`echo "{{url=http://example.com}}" | git credential fill` + +- 모든 구성된 자격 증명 도우미에 자격 증명 정보를 보내서 나중에 사용할 수 있도록 저장: + +`echo "{{url=http://example.com}}" | git credential approve` + +- 모든 구성된 자격 증명 도우미에서 지정된 자격 증명 정보를 삭제: + +`echo "{{url=http://example.com}}" | git credential reject` diff --git a/pages.ko/common/git-cvsexportcommit.md b/pages.ko/common/git-cvsexportcommit.md new file mode 100644 index 00000000000000..e1934dfb3a87b5 --- /dev/null +++ b/pages.ko/common/git-cvsexportcommit.md @@ -0,0 +1,8 @@ +# git cvsexportcommit + +> 단일 `Git` 커밋을 CVS 체크아웃으로 내보내기. +> 더 많은 정보: . + +- 특정 패치를 CVS에 병합: + +`git cvsexportcommit -v -c -w {{경로/대상/프로젝트_cvs_체크아웃}} {{커밋_sha1}}` diff --git a/pages.ko/common/git-daemon.md b/pages.ko/common/git-daemon.md new file mode 100644 index 00000000000000..eef543a4443c86 --- /dev/null +++ b/pages.ko/common/git-daemon.md @@ -0,0 +1,16 @@ +# git daemon + +> Git 저장소를 위한 매우 간단한 서버. +> 더 많은 정보: . + +- 허용된 디렉토리 집합으로 Git 데몬 실행: + +`git daemon --export-all {{경로/대상/폴더1}} {{경로/대상/폴더2}}` + +- 특정 기본 디렉토리로 Git 데몬 실행하고 Git 저장소처럼 보이는 모든 하위 디렉토리에서 조회 허용: + +`git daemon --base-path={{경로/대상/폴더}} --export-all --reuseaddr` + +- 지정된 디렉토리에서 Git 데몬을 실행하여 로그 메시지를 자세히 출력하고 Git 클라이언트가 쓸 수 있도록 허용: + +`git daemon {{경로/대상/폴더}} --enable=receive-pack --informative-errors --verbose` diff --git a/pages.ko/common/git-delete-branch.md b/pages.ko/common/git-delete-branch.md new file mode 100644 index 00000000000000..d22326333de24d --- /dev/null +++ b/pages.ko/common/git-delete-branch.md @@ -0,0 +1,9 @@ +# git delete-branch + +> 로컬 및 원격 Git 브랜치 삭제. +> `git-extras`의 일부. 체크 아웃된 브랜치를 삭제하려면 원격 브랜치만 삭제됩니다. +> 더 많은 정보: . + +- 하나 이상의 로컬 및 원격 Git 브랜치 삭제: + +`git delete-branch {{브랜치_이름1 브랜치_이름2 ...}}` diff --git a/pages.ko/common/git-delete-merged-branches.md b/pages.ko/common/git-delete-merged-branches.md new file mode 100644 index 00000000000000..32bde0ae76d4ad --- /dev/null +++ b/pages.ko/common/git-delete-merged-branches.md @@ -0,0 +1,9 @@ +# git delete-merged-branches + +> `git branch --merged`에 나열된 master를 제외한 브랜치를 삭제합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 병합된 브랜치 삭제: + +`git delete-merged-branches` diff --git a/pages.ko/common/git-delete-squashed-branches.md b/pages.ko/common/git-delete-squashed-branches.md new file mode 100644 index 00000000000000..5e23d28a4f4fdf --- /dev/null +++ b/pages.ko/common/git-delete-squashed-branches.md @@ -0,0 +1,13 @@ +# git delete-squashed-branches + +> 지정된 브랜치에 "스쿼시 병합"된 브랜치를 삭제하고 체크아웃합니다. 브랜치가 지정되지 않은 경우, 기본적으로 현재 체크아웃된 브랜치를 사용합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 현재 체크아웃된 브랜치에 "스쿼시 병합"된 모든 브랜치를 삭제: + +`git delete-squashed-branches` + +- 특정 브랜치에 "스쿼시 병합"된 모든 브랜치를 삭제: + +`git delete-squashed-branches {{브랜치_이름}}` diff --git a/pages.ko/common/git-delete-submodule.md b/pages.ko/common/git-delete-submodule.md new file mode 100644 index 00000000000000..3d7dcdbf5854c6 --- /dev/null +++ b/pages.ko/common/git-delete-submodule.md @@ -0,0 +1,9 @@ +# git delete-submodule + +> `git` 저장소에서 서브모듈 삭제. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 특정 서브모듈 삭제: + +`git delete-submodule {{경로/대상/서브모듈}}` diff --git a/pages.ko/common/git-delete-tag.md b/pages.ko/common/git-delete-tag.md new file mode 100644 index 00000000000000..09dab5c56dabd5 --- /dev/null +++ b/pages.ko/common/git-delete-tag.md @@ -0,0 +1,9 @@ +# git delete-tag + +> 기존 로컬 및 원격 태그 삭제. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 태그 삭제: + +`git delete-tag {{태그_버전}}` diff --git a/pages.ko/common/git-delta.md b/pages.ko/common/git-delta.md new file mode 100644 index 00000000000000..4b1f46d789629a --- /dev/null +++ b/pages.ko/common/git-delta.md @@ -0,0 +1,13 @@ +# git delta + +> 다른 브랜치와 다른 파일을 나열. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 체크아웃된 브랜치와 `main` 브랜치가 다른 파일을 나열: + +`git delta {{main}}` + +- 특정 브랜치와 다른 특정 브랜치가 다른 파일을 나열: + +`git delta {{branch_1}} {{branch_2}}` diff --git a/pages.ko/common/git-describe.md b/pages.ko/common/git-describe.md new file mode 100644 index 00000000000000..eefedf447e9f6d --- /dev/null +++ b/pages.ko/common/git-describe.md @@ -0,0 +1,24 @@ +# git describe + +> 사용할 수 있는 참조를 기반으로 객체에 사람이 읽을 수 있는 이름을 부여. +> 더 많은 정보: . + +- 현재 커밋에 고유한 이름 생성 (이름에는 가장 최근의 주석이 있는 태그, 추가 커밋 수 및 약어로 된 커밋 해시가 포함됨): + +`git describe` + +- 약어로 된 커밋 해시에 4자리 숫자를 포함한 이름 생성: + +`git describe --abbrev={{4}}` + +- 태그 참조 경로로 이름 생성: + +`git describe --all` + +- Git 태그 설명: + +`git describe {{v1.0.0}}` + +- 주어진 브랜치의 마지막 커밋에 이름 생성: + +`git describe {{브랜치_이름}}` diff --git a/pages.ko/common/git-diff-files.md b/pages.ko/common/git-diff-files.md new file mode 100644 index 00000000000000..48c0a1d856b5be --- /dev/null +++ b/pages.ko/common/git-diff-files.md @@ -0,0 +1,20 @@ +# git diff-files + +> 파일의 sha1 해시와 모드를 사용하여 파일을 비교. +> 더 많은 정보: . + +- 변경된 모든 파일 비교: + +`git diff-files` + +- 지정된 파일만 비교: + +`git diff-files {{경로/대상/파일}}` + +- 변경된 파일의 이름만 출력: + +`git diff-files --name-only` + +- 확장 헤더 정보 요약 출력: + +`git diff-files --summary` diff --git a/pages.ko/common/git-diff-index.md b/pages.ko/common/git-diff-index.md new file mode 100644 index 00000000000000..807c08aea01676 --- /dev/null +++ b/pages.ko/common/git-diff-index.md @@ -0,0 +1,20 @@ +# git diff-index + +> 작업 디렉터리를 커밋 또는 트리 객체와 비교. +> 더 많은 정보: . + +- 작업 디렉터리를 특정 커밋과 비교: + +`git diff-index {{commit}}` + +- 작업 디렉터리 내 특정 파일 또는 폴더를 커밋과 비교: + +`git diff-index {{commit}} {{경로/대상/파일_또는_폴더}}` + +- 인덱스(스테이징 영역)에 있는 작업 디렉터리를 비교하여 스테이징된 변경 사항 확인: + +`git diff-index --cached {{commit}}` + +- 출력 억제 및 종료 상태를 반환하여 차이점 확인: + +`git diff-index --quiet {{commit}}` diff --git a/pages.ko/common/git-diff-tree.md b/pages.ko/common/git-diff-tree.md new file mode 100644 index 00000000000000..6d67569795bf31 --- /dev/null +++ b/pages.ko/common/git-diff-tree.md @@ -0,0 +1,20 @@ +# git diff-tree + +> 두 트리 객체를 통해 찾은 블롭의 내용과 모드를 비교. +> 더 많은 정보: . + +- 두 트리 객체 비교: + +`git diff-tree {{tree-ish1}} {{tree-ish2}}` + +- 특정 두 커밋 간의 변경 사항 표시: + +`git diff-tree -r {{commit1}} {{commit2}}` + +- 패치 형식으로 변경 사항 표시: + +`git diff-tree {{[-p|--patch]}} {{tree-ish1}} {{tree-ish2}}` + +- 특정 경로로 변경 사항 필터링: + +`git diff-tree {{tree-ish1}} {{tree-ish2}} -- {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/git-diff.md b/pages.ko/common/git-diff.md new file mode 100644 index 00000000000000..bd91cd6fc13744 --- /dev/null +++ b/pages.ko/common/git-diff.md @@ -0,0 +1,36 @@ +# git diff + +> 추적된 파일의 변경 사항을 보여줍니다. +> 더 많은 정보: . + +- 스테이지되지 않은 변경 사항 표시: + +`git diff` + +- 모든 커밋되지 않은 변경 사항 표시 (스테이지된 것 포함): + +`git diff HEAD` + +- 오직 스테이지에 있는(추가되었지만 아직 커밋되지 않은) 변경 사항만 표시: + +`git diff --staged` + +- 특정 일자/시간 이후의 모든 커밋부터 변경 사항 표시 (일자 표현, 예: "1 주 2 일" 또는 ISO 일자): + +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` + +- 변경된 파일, 히스토그램, 총 라인 삽입/삭제와 같은 diff 통계 표시: + +`git diff --stat {{커밋}}` + +- 주어진 커밋 이후의 파일 생성, 이름 변경 및 모드 변경 요약 출력: + +`git diff --summary {{커밋}}` + +- 두 브랜치 또는 커밋 사이의 단일 파일 비교: + +`git diff {{브랜치_1}}..{{브랜치_2}} {{경로/대상/파일}}` + +- 현재 브랜치에서 다른 브랜치로부터 다른 파일 비교: + +`git diff {{브랜치}}:{{경로/대상/파일2}} {{경로/대상/파일}}` diff --git a/pages.ko/common/git-difftool.md b/pages.ko/common/git-difftool.md new file mode 100644 index 00000000000000..c3ef4865e1425c --- /dev/null +++ b/pages.ko/common/git-difftool.md @@ -0,0 +1,21 @@ +# git difftool + +> 외부 diff 도구를 사용하여 파일 변경 사항을 표시합니다. `git diff`와 동일한 옵션과 인수를 허용합니다. +> 같이 보기: `git diff`. +> 더 많은 정보: . + +- 사용 가능한 diff 도구 나열: + +`git difftool --tool-help` + +- 기본 diff 도구를 meld로 설정: + +`git config --global diff.tool "{{meld}}"` + +- 기본 diff 도구를 사용하여 스테이징된 변경 사항 표시: + +`git difftool --staged` + +- 특정 도구(opendiff)를 사용하여 주어진 커밋 이후의 변경 사항 표시: + +`git difftool --tool={{opendiff}} {{커밋}}` diff --git a/pages.ko/common/git-effort.md b/pages.ko/common/git-effort.md new file mode 100644 index 00000000000000..73f3c1d8e07e1e --- /dev/null +++ b/pages.ko/common/git-effort.md @@ -0,0 +1,29 @@ +# git effort + +> 파일의 활동량을 표시하며, 파일별 커밋 수와 "활성 일수" 즉, 파일에 기여한 총 일수를 보여줍니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 저장소의 각 파일에 대해 커밋 수와 활성 일수를 표시: + +`git effort` + +- 특정 커밋 수 이상으로 수정된 파일을 표시하며, 커밋 수와 활성 일수를 보여줍니다: + +`git effort --above {{5}}` + +- 특정 작성자가 수정한 파일을 표시하며, 커밋 수와 활성 일수를 보여줍니다: + +`git effort -- --author="{{사용자_명}}"` + +- 특정 시간/날짜 이후에 수정된 파일을 표시하며, 커밋 수와 활성 일수를 보여줍니다: + +`git effort -- --since="{{지난달}}"` + +- 지정된 파일이나 디렉터리만 표시하며, 커밋 수와 활성 일수를 보여줍니다: + +`git effort {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 디렉터리 내 모든 파일을 표시하며, 커밋 수와 활성 일수를 보여줍니다: + +`git effort {{경로/대상/폴더/*}}` diff --git a/pages.ko/common/git-extras.md b/pages.ko/common/git-extras.md new file mode 100644 index 00000000000000..205daacd49e1ad --- /dev/null +++ b/pages.ko/common/git-extras.md @@ -0,0 +1,16 @@ +# git extras + +> Git 확장 도구 모음. +> 더 많은 정보: . + +- `git-extras` 명령어 설치 또는 업그레이드: + +`git extras update` + +- 도움말 표시: + +`git extras {{[-h|--help]}}` + +- 버전 표시: + +`git extras {{[-v|--version]}}` diff --git a/pages.ko/common/git-fame.md b/pages.ko/common/git-fame.md new file mode 100644 index 00000000000000..d61f07c0479002 --- /dev/null +++ b/pages.ko/common/git-fame.md @@ -0,0 +1,36 @@ +# git fame + +> Git 저장소 기여도를 예쁘게 출력. +> 더 많은 정보: . + +- 현재 Git 저장소의 기여도 계산: + +`git fame` + +- 지정된 정규 표현식과 일치하는 파일/디렉토리 제외: + +`git fame --excl "{{정규_표현식}}"` + +- 지정된 날짜 이후의 기여도 계산: + +`git fame --since "{{3주_전|2021-05-13}}"` + +- 지정된 형식으로 기여도 출력: + +`git fame --format {{pipe|yaml|json|csv|tsv}}` + +- 파일 확장자별 기여도 표시: + +`git fame {{[-t|--bytype]}}` + +- 공백 변화 무시: + +`git fame {{[-w|--ignore-whitespace]}}` + +- 파일 간의 줄 이동 및 복사 감지: + +`git fame -C` + +- 파일 내의 줄 이동 및 복사 감지: + +`git fame -M` diff --git a/pages.ko/common/git-feature.md b/pages.ko/common/git-feature.md new file mode 100644 index 00000000000000..2443a239fe46b4 --- /dev/null +++ b/pages.ko/common/git-feature.md @@ -0,0 +1,21 @@ +# git feature + +> 기능 브랜치를 생성하거나 병합. +> 기능 브랜치는 feature/<이름> 형식을 따릅니다. +> 더 많은 정보: . + +- 새 기능 브랜치를 생성하고 전환: + +`git feature {{기능_브랜치}}` + +- 기능 브랜치를 병합 커밋을 생성하며 현재 브랜치에 병합: + +`git feature finish {{기능_브랜치}}` + +- 기능 브랜치를 하나의 커밋으로 합쳐서 현재 브랜치에 병합: + +`git feature finish --squash {{기능_브랜치}}` + +- 특정 기능 브랜치의 변경 사항을 원격 대응 브랜치로 전송: + +`git feature {{기능_브랜치}} {{[-r|--remote]}} {{원격_이름}}` diff --git a/pages.ko/common/git-fetch.md b/pages.ko/common/git-fetch.md new file mode 100644 index 00000000000000..ec1c4be04c3a3e --- /dev/null +++ b/pages.ko/common/git-fetch.md @@ -0,0 +1,24 @@ +# git fetch + +> 원격 저장소에서 객체와 참조를 다운로드합니다. +> 더 많은 정보: . + +- 기본 원격 업스트림 저장소로부터 최신 변경 사항 가져오기 (설정된 경우): + +`git fetch` + +- 특정 원격 업스트림 저장소에서 새 브랜치 가져오기: + +`git fetch {{remote_name}}` + +- 모든 원격 업스트림 저장소에서 최신 변경 사항 가져오기: + +`git fetch --all` + +- 원격 업스트림 저장소에서 태그도 함께 가져오기: + +`git fetch {{[-t|--tags]}}` + +- 업스트림에서 삭제된 원격 브랜치에 대한 로컬 참조 삭제: + +`git fetch {{[-p|--prune]}}` diff --git a/pages.ko/common/git-filter-repo.md b/pages.ko/common/git-filter-repo.md new file mode 100644 index 00000000000000..9b38ae07333db5 --- /dev/null +++ b/pages.ko/common/git-filter-repo.md @@ -0,0 +1,21 @@ +# git filter-repo + +> Git 히스토리를 재작성하는 다목적 도구. +> 같이 보기: `bfg`. +> 더 많은 정보: . + +- 모든 파일에서 민감한 문자열 대체: + +`git filter-repo --replace-text <(echo '{{찾을_문자열}}==>{{대체할_문자열}}')` + +- 특정 폴더를 히스토리를 유지하면서 추출: + +`git filter-repo --path {{경로/대상/폴더}}` + +- 특정 폴더를 히스토리를 유지하면서 제거: + +`git filter-repo --path {{경로/대상/폴더}} --invert-paths` + +- 하위 폴더의 모든 파일을 한 단계 위로 이동: + +`git filter-repo --path-rename {{경로/대상/폴더/:}}` diff --git a/pages.ko/common/git-flow.md b/pages.ko/common/git-flow.md new file mode 100644 index 00000000000000..de9b67c54be439 --- /dev/null +++ b/pages.ko/common/git-flow.md @@ -0,0 +1,24 @@ +# git flow + +> 고수준 저장소 작업을 제공하는 Git 확장 모음. +> 더 많은 정보: . + +- 기존 Git 저장소에서 초기화: + +`git flow init` + +- `develop` 브랜치를 기반으로 기능 브랜치에서 개발 시작: + +`git flow feature start {{기능}}` + +- 기능 브랜치에서의 개발을 완료하고, 이를 `develop` 브랜치에 병합한 후 삭제: + +`git flow feature finish {{기능}}` + +- 기능을 원격 서버에 게시: + +`git flow feature publish {{기능}}` + +- 다른 사용자가 게시한 기능 가져오기: + +`git flow feature pull origin {{기능}}` diff --git a/pages.ko/common/git-for-each-repo.md b/pages.ko/common/git-for-each-repo.md new file mode 100644 index 00000000000000..0afe913724fb9f --- /dev/null +++ b/pages.ko/common/git-for-each-repo.md @@ -0,0 +1,13 @@ +# git for-each-repo + +> 여러 저장소에서 Git 명령을 실행. +> 참고: 이 명령은 실험적이며 변경될 수 있습니다. +> 더 많은 정보: . + +- `maintenance.repo` 사용자 구성 변수에 저장된 목록의 각 저장소에서 유지 관리를 실행: + +`git for-each-repo --config={{maintenance.repo}} {{maintenance run}}` + +- 글로벌 구성 변수에 나열된 각 저장소에서 `git pull` 실행: + +`git for-each-repo --config={{global_configuration_variable}} {{pull}}` diff --git a/pages.ko/common/git-force-clone.md b/pages.ko/common/git-force-clone.md new file mode 100644 index 00000000000000..d614b06e3e0432 --- /dev/null +++ b/pages.ko/common/git-force-clone.md @@ -0,0 +1,17 @@ +# git force-clone + +> `git clone`의 기본 기능을 제공하지만, 대상 Git 저장소가 이미 존재하는 경우 원격의 클론으로 강제 리셋합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 새로운 디렉토리에 Git 저장소 클론: + +`git force-clone {{원격_저장소_위치}} {{경로/대상/폴더}}` + +- 특정 브랜치를 체크아웃하여 새로운 디렉토리에 Git 저장소 클론: + +`git force-clone -b {{브랜치_이름}} {{원격_저장소_위치}} {{경로/대상/폴더}}` + +- 기존 Git 저장소 디렉토리에 Git 저장소 클론, 원격과 유사하게 강제 리셋을 수행하고 특정 브랜치를 체크아웃: + +`git force-clone -b {{브랜치_이름}} {{원격_저장소_위치}} {{경로/대상/폴더}}` diff --git a/pages.ko/common/git-fork.md b/pages.ko/common/git-fork.md new file mode 100644 index 00000000000000..4cc2344c3bf279 --- /dev/null +++ b/pages.ko/common/git-fork.md @@ -0,0 +1,13 @@ +# git fork + +> GitHub 저장소를 포크합니다. `git clone`과 유사하지만 먼저 포크를 수행합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- URL을 사용하여 GitHub 저장소를 포크하고 클론: + +`git fork {{https://github.com/tldr-pages/tldr}}` + +- 슬러그를 사용하여 GitHub 저장소를 포크하고 클론: + +`git fork {{tldr-pages/tldr}}` diff --git a/pages.ko/common/git-format-patch.md b/pages.ko/common/git-format-patch.md new file mode 100644 index 00000000000000..5de1f1767ae525 --- /dev/null +++ b/pages.ko/common/git-format-patch.md @@ -0,0 +1,17 @@ +# git format-patch + +> .patch 파일 준비. 커밋을 이메일로 전송할 때 유용합니다. +> 생성된 .patch 파일을 적용할 수 있는 `git am`도 참고하세요. +> 더 많은 정보: . + +- 푸시되지 않은 모든 커밋에 대한 자동 이름 지정 `.patch` 파일 생성: + +`git format-patch {{origin}}` + +- 두 개의 리비전 사이의 모든 커밋에 대한 `.patch` 파일을 `stdout`으로 출력: + +`git format-patch {{revision_1}}..{{revision_2}}` + +- 최근 3개의 커밋에 대한 `.patch` 파일 생성: + +`git format-patch -{{3}}` diff --git a/pages.ko/common/git-fresh-branch.md b/pages.ko/common/git-fresh-branch.md new file mode 100644 index 00000000000000..d93fa45d85b90d --- /dev/null +++ b/pages.ko/common/git-fresh-branch.md @@ -0,0 +1,9 @@ +# git fresh-branch + +> 빈 로컬 브랜치를 생성. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 빈 로컬 브랜치 생성: + +`git fresh-branch {{브랜치_이름}}` diff --git a/pages.ko/common/git-fsck.md b/pages.ko/common/git-fsck.md new file mode 100644 index 00000000000000..4016d15f2db16b --- /dev/null +++ b/pages.ko/common/git-fsck.md @@ -0,0 +1,18 @@ +# git fsck + +> Git 저장소 색인의 노드 유효성과 연결성을 확인. +> 수정 작업은 수행하지 않음. +> 같이 보기: `git gc` (dangling blobs 정리). +> 더 많은 정보: . + +- 현재 저장소 확인: + +`git fsck` + +- 발견된 모든 태그 나열: + +`git fsck --tags` + +- 발견된 모든 루트 노드 나열: + +`git fsck --root` diff --git a/pages.ko/common/git-gc.md b/pages.ko/common/git-gc.md new file mode 100644 index 00000000000000..8cae8c9de43cac --- /dev/null +++ b/pages.ko/common/git-gc.md @@ -0,0 +1,24 @@ +# git gc + +> 불필요한 파일을 정리하여 로컬 저장소 최적화. +> 더 많은 정보: . + +- 저장소 최적화: + +`git gc` + +- 더 오래 걸리지만, 강력하게 최적화: + +`git gc --aggressive` + +- 느슨한 객체를 제거하지 않음 (기본적으로 제거): + +`git gc --no-prune` + +- 모든 출력을 억제: + +`git gc --quiet` + +- 도움말 표시: + +`git gc --help` diff --git a/pages.ko/common/git-gh-pages.md b/pages.ko/common/git-gh-pages.md new file mode 100644 index 00000000000000..f9c3c72833b600 --- /dev/null +++ b/pages.ko/common/git-gh-pages.md @@ -0,0 +1,9 @@ +# git gh-pages + +> 현재 저장소 내에 `gh-pages`라는 새 브랜치를 생성합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 현재 디렉터리의 저장소 내에 GitHub 페이지 브랜치 생성: + +`git gh-pages` diff --git a/pages.ko/common/git-graft.md b/pages.ko/common/git-graft.md new file mode 100644 index 00000000000000..577df1f0a4f02d --- /dev/null +++ b/pages.ko/common/git-graft.md @@ -0,0 +1,9 @@ +# git graft + +> 브랜치의 커밋들을 다른 브랜치로 병합하고, 소스 브랜치를 삭제. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 소스 브랜치의 모든 커밋을 대상 브랜치로 병합하고, 소스 브랜치를 삭제: + +`git graft {{source_branch}} {{target_branch}}` diff --git a/pages.ko/common/git-grep.md b/pages.ko/common/git-grep.md new file mode 100644 index 00000000000000..7014b6b2491af3 --- /dev/null +++ b/pages.ko/common/git-grep.md @@ -0,0 +1,25 @@ +# git-grep + +> 저장소의 히스토리에서 파일 내의 문자열을 찾습니다. +> 일반 `grep`과 같은 많은 플래그를 수용합니다. +> 더 많은 정보: . + +- 추적된 파일에서 문자열 검색: + +`git grep {{검색_문자열}}` + +- 추적된 파일 중 일치하는 패턴의 파일에서 문자열 검색: + +`git grep {{검색_문자열}} -- {{파일_글로브_패턴}}` + +- 서브모듈을 포함하여 추적된 파일에서 문자열 검색: + +`git grep --recurse-submodules {{검색_문자열}}` + +- 특정 히스토리 지점에서 문자열 검색: + +`git grep {{검색_문자열}} {{HEAD~2}}` + +- 모든 브랜치에서 문자열 검색: + +`git grep {{검색_문자열}} $(git rev-list --all)` diff --git a/pages.ko/common/git-gui.md b/pages.ko/common/git-gui.md new file mode 100644 index 00000000000000..0bd09cd8fb3bde --- /dev/null +++ b/pages.ko/common/git-gui.md @@ -0,0 +1,37 @@ +# git gui + +> Git의 GUI를 사용하여 브랜치, 커밋, 원격 저장소를 관리하고 로컬 병합을 수행할 수 있습니다. +> 같이 보기: `git-cola`, `gitk`. +> 더 많은 정보: . + +- GUI 시작: + +`git gui` + +- 각 줄에 작성자 이름과 커밋 해시가 표시된 특정 파일 보기: + +`git gui blame {{경로/대상/파일}}` + +- 특정 리비전에서 `git gui blame` 열기: + +`git gui blame {{리비전}} {{경로/대상/파일}}` + +- 특정 줄을 중심으로 뷰를 스크롤하여 `git gui blame` 열기: + +`git gui blame --line={{줄}} {{경로/대상/파일}}` + +- 하나의 커밋을 만들기 위한 창을 열고 완료되면 쉘로 돌아가기: + +`git gui citool` + +- "마지막 커밋 수정" 모드로 `git gui citool` 열기: + +`git gui citool --amend` + +- 읽기 전용 모드로 `git gui citool` 열기: + +`git gui citool --nocommit` + +- 특정 브랜치의 트리 브라우저를 열고, 파일을 클릭하면 블레임 도구 열기: + +`git gui browser maint` diff --git a/pages.ko/common/git-guilt.md b/pages.ko/common/git-guilt.md new file mode 100644 index 00000000000000..779006d2b06722 --- /dev/null +++ b/pages.ko/common/git-guilt.md @@ -0,0 +1,29 @@ +# git guilt + +> 스테이지되지 않은 변경 사항이 있는 파일에 대한 전체 블레임 수를 표시하거나 두 개의 리비전 간 블레임 변경을 계산. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 전체 블레임 수 표시: + +`git guilt` + +- 두 개의 리비전 간 블레임 변경 계산: + +`git guilt {{첫번째_리비전}} {{마지막_리비전}}` + +- 작성자 이메일을 이름 대신 표시: + +`git guilt {{[-e|--email]}}` + +- 블레임을 할당할 때 공백만 변경된 부분 무시: + +`git guilt {{[-e|--email]}}` + +- 지난 3주 동안의 블레임 델타 찾기: + +`git guilt 'git log --until "3 weeks ago" --format "%H" {{[-n|--max-count]}} 1'` + +- 지난 3주 동안의 블레임 델타 찾기 (git 1.8.5+): + +`git guilt @{3.weeks.ago}` diff --git a/pages.ko/common/git-hash-object.md b/pages.ko/common/git-hash-object.md new file mode 100644 index 00000000000000..78ed17ae09ba1b --- /dev/null +++ b/pages.ko/common/git-hash-object.md @@ -0,0 +1,20 @@ +# git hash-object + +> 콘텐츠의 고유 해시 키를 계산하고, 선택적으로 지정된 유형의 객체를 생성. +> 더 많은 정보: . + +- 저장하지 않고 객체 ID 계산: + +`git hash-object {{경로/대상/파일}}` + +- 객체 ID를 계산하고 Git 데이터베이스에 저장: + +`git hash-object -w {{경로/대상/파일}}` + +- 객체 유형을 지정하여 객체 ID 계산: + +`git hash-object -t {{blob|commit|tag|tree}} {{경로/대상/파일}}` + +- `stdin`에서 객체 ID 계산: + +`cat {{경로/대상/파일}} | git hash-object --stdin` diff --git a/pages.ko/common/git-help.md b/pages.ko/common/git-help.md new file mode 100644 index 00000000000000..3aceccbdd257a0 --- /dev/null +++ b/pages.ko/common/git-help.md @@ -0,0 +1,24 @@ +# git help + +> Git에 대한 도움말 정보를 표시합니다. +> 더 많은 정보: . + +- 특정 Git 하위 명령에 대한 도움말 표시: + +`git help {{하위_명령}}` + +- 웹 브라우저에서 특정 Git 하위 명령에 대한 도움말 표시: + +`git help {{[-w|--web]}} {{하위_명령}}` + +- 사용 가능한 모든 Git 하위 명령의 목록 표시: + +`git help {{[-a|--all]}}` + +- 사용 가능한 가이드 목록 표시: + +`git help {{[-g|--guides]}}` + +- 모든 가능한 설정 변수 나열: + +`git help {{[-c|--config]}}` diff --git a/pages.ko/common/git-ignore-io.md b/pages.ko/common/git-ignore-io.md new file mode 100644 index 00000000000000..d82bed9651357a --- /dev/null +++ b/pages.ko/common/git-ignore-io.md @@ -0,0 +1,12 @@ +# git ignore-io + +> 미리 정의된 템플릿에서 .gitignore 파일을 생성. +> 더 많은 정보: . + +- 사용 가능한 템플릿 나열: + +`git ignore-io list` + +- .gitignore 템플릿 생성: + +`git ignore-io {{항목_a,항목_b,항목_n}}` diff --git a/pages.ko/common/git-ignore.md b/pages.ko/common/git-ignore.md new file mode 100644 index 00000000000000..f67b9750eeeade --- /dev/null +++ b/pages.ko/common/git-ignore.md @@ -0,0 +1,21 @@ +# git ignore + +> `.gitignore` 파일을 표시/업데이트. +> `git-extras`의 일부. 같이 보기: `git ignore-io`. +> 더 많은 정보: . + +- 모든 전역 및 로컬 `.gitignore` 파일의 내용을 표시: + +`git ignore` + +- 파일을 비공개로 무시하고, `.git/info/exclude` 파일을 업데이트: + +`git ignore {{파일_패턴}} --private` + +- 파일을 로컬에서 무시하고, 로컬 `.gitignore` 파일을 업데이트: + +`git ignore {{파일_패턴}}` + +- 파일을 전역에서 무시하고, 전역 `.gitignore` 파일을 업데이트: + +`git ignore {{파일_패턴}} --global` diff --git a/pages.ko/common/git-imerge.md b/pages.ko/common/git-imerge.md new file mode 100644 index 00000000000000..297dbf91b09ccc --- /dev/null +++ b/pages.ko/common/git-imerge.md @@ -0,0 +1,29 @@ +# git-imerge + +> 두 Git 브랜치 간의 병합 또는 리베이스를 점진적으로 수행. +> 브랜치 간의 충돌은 개별 커밋 쌍으로 추적되어 충돌 해결을 단순화. +> 더 많은 정보: . + +- imerge 기반 리베이스 시작 (먼저 리베이스할 브랜치를 체크아웃): + +`git imerge rebase {{리베이스할_브랜치}}` + +- imerge 기반 병합 시작 (먼저 병합할 브랜치를 체크아웃): + +`git imerge merge {{병합할_브랜치}}` + +- 진행 중인 병합 또는 리베이스의 ASCII 다이어그램 표시: + +`git imerge diagram` + +- 충돌을 해결한 후 imerge 작업 계속 (`git add`로 충돌 파일을 추가한 후): + +`git imerge continue --no-edit` + +- 모든 충돌이 해결된 후 imerge 작업 마무리: + +`git imerge finish` + +- imerge 작업 중단 및 이전 브랜치로 돌아가기: + +`git-imerge remove && git checkout {{이전_브랜치}}` diff --git a/pages.ko/common/git-info.md b/pages.ko/common/git-info.md new file mode 100644 index 00000000000000..afce530afa911f --- /dev/null +++ b/pages.ko/common/git-info.md @@ -0,0 +1,13 @@ +# git info + +> Git 저장소 정보 표시. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 원격 위치, 원격 및 로컬 브랜치, 최근 커밋 데이터 및 `.git/config` 설정 표시: + +`git info` + +- 원격 위치, 원격 및 로컬 브랜치, 최근 커밋 데이터만 표시: + +`git info --no-config` diff --git a/pages.ko/common/git-init.md b/pages.ko/common/git-init.md new file mode 100644 index 00000000000000..3074f3807cb458 --- /dev/null +++ b/pages.ko/common/git-init.md @@ -0,0 +1,20 @@ +# git init + +> 새로운 로컬 Git 저장소를 초기화합니다. +> 더 많은 정보: . + +- 새로운 로컬 저장소 초기화: + +`git init` + +- 초기 브랜치에 지정된 이름을 가진 저장소를 초기화: + +`git init {{[-b|--initial-branch]}} {{branch_name}}` + +- 객체 해시로 SHA256를 사용하여 저장소 초기화 (Git 버전 2.29+ 이상 필요): + +`git init --object-format sha256` + +- SSH를 통해 원격으로 사용할 수 있는 베어본 저장소 초기화: + +`git init --bare` diff --git a/pages.ko/common/git-instaweb.md b/pages.ko/common/git-instaweb.md new file mode 100644 index 00000000000000..a59ac320f6a3fc --- /dev/null +++ b/pages.ko/common/git-instaweb.md @@ -0,0 +1,32 @@ +# git instaweb + +> GitWeb 서버를 실행하는 도우미 도구. +> 더 많은 정보: . + +- 현재 Git 저장소에 대해 GitWeb 서버 실행: + +`git instaweb --start` + +- 로컬호스트에서만 리슨: + +`git instaweb --start --local` + +- 특정 포트에서 리슨: + +`git instaweb --start --port {{1234}}` + +- 지정된 HTTP 데몬 사용: + +`git instaweb --start --httpd {{lighttpd|apache2|mongoose|plackup|webrick}}` + +- 웹 브라우저도 자동으로 실행: + +`git instaweb --start --browser` + +- 현재 실행 중인 GitWeb 서버 중지: + +`git instaweb --stop` + +- 현재 실행 중인 GitWeb 서버 재시작: + +`git instaweb --restart` diff --git a/pages.ko/common/git-lfs.md b/pages.ko/common/git-lfs.md new file mode 100644 index 00000000000000..14e1aad65d3e41 --- /dev/null +++ b/pages.ko/common/git-lfs.md @@ -0,0 +1,36 @@ +# git lfs + +> Git 저장소에서 대용량 파일을 다루기 위한 도구. +> 더 많은 정보: . + +- Git LFS 초기화: + +`git lfs install` + +- 특정 패턴의 파일 추적: + +`git lfs track '{{*.bin}}'` + +- Git LFS 엔드포인트 URL 변경 (LFS 서버가 Git 서버와 분리된 경우 유용): + +`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}` + +- 추적된 패턴 나열: + +`git lfs track` + +- 커밋된 추적 파일 나열: + +`git lfs ls-files` + +- 모든 Git LFS 객체를 원격 서버에 푸시 (오류 발생 시 유용): + +`git lfs push --all {{remote_name}} {{branch_name}}` + +- 모든 Git LFS 객체 가져오기: + +`git lfs fetch` + +- 모든 Git LFS 객체 체크아웃: + +`git lfs checkout` diff --git a/pages.ko/common/git-local-commits.md b/pages.ko/common/git-local-commits.md new file mode 100644 index 00000000000000..cade5828ded1a5 --- /dev/null +++ b/pages.ko/common/git-local-commits.md @@ -0,0 +1,9 @@ +# git local-commits + +> 원격 저장소에 푸시되지 않은 로컬 커밋을 표시. 추가 인수는 `git log`에 직접 전달됨. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 푸시되지 않은 커밋 표시: + +`git local-commits` diff --git a/pages.ko/common/git-lock.md b/pages.ko/common/git-lock.md new file mode 100644 index 00000000000000..2200d677d7be93 --- /dev/null +++ b/pages.ko/common/git-lock.md @@ -0,0 +1,9 @@ +# git lock + +> Git 저장소에서 파일이 커밋에 의해 수정되지 않도록 잠금. +> `git-extras`의 일부. 같이 보기: `git-unlock`. +> 더 많은 정보: . + +- 로컬 파일의 변경 사항을 커밋할 수 없도록 비활성화: + +`git lock {{경로/대상/파일}}` diff --git a/pages.ko/common/git-locked.md b/pages.ko/common/git-locked.md new file mode 100644 index 00000000000000..86a2251950c4ad --- /dev/null +++ b/pages.ko/common/git-locked.md @@ -0,0 +1,9 @@ +# git locked + +> Git 저장소에서 잠긴 파일을 나열. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 모든 로컬 잠긴 파일 나열: + +`git locked` diff --git a/pages.ko/common/git-log.md b/pages.ko/common/git-log.md new file mode 100644 index 00000000000000..efaea007fa202a --- /dev/null +++ b/pages.ko/common/git-log.md @@ -0,0 +1,36 @@ +# git log + +> 커밋 이력을 보여줍니다. +> 더 많은 정보: . + +- 현재 작업 디렉토리의 Git 리포지토리에서 현재 커밋을 기준으로 역순으로 커밋 시퀀스 보기: + +`git log` + +- 변경 사항을 포함해, 특정 파일 또는 디렉토리의 이력 보기: + +`git log {{[-p|--patch]}} {{경로/대상/파일_또는_폴더}}` + +- 각 커밋에서 어떤 파일이 변경되었는지 개요 보기: + +`git log --stat` + +- 현재 브랜치의 커밋 그래프를 첫 줄만 사용해 보기: + +`git log --oneline --graph` + +- 전체 리포지토리의 모든 커밋, 태그 및 브랜치의 그래프 보기: + +`git log --oneline --decorate --all --graph` + +- 특정 문자열이 포함된 커밋 메시지만 보기 (대소문자 구분 없이): + +`git log {{[-i|--regexp-ignore-case]}} --grep {{검색_문자열}}` + +- 특정 작성자의 마지막 N개의 커밋 보기: + +`git log {{[-n|--max-count]}} {{개수}} --author "{{작성자}}"` + +- 두 날짜(yyyy-mm-dd) 사이의 커밋 보기: + +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages.ko/common/git-ls-files.md b/pages.ko/common/git-ls-files.md new file mode 100644 index 00000000000000..0e346d80c88aa8 --- /dev/null +++ b/pages.ko/common/git-ls-files.md @@ -0,0 +1,20 @@ +# git ls-files + +> 색인과 작업 트리의 파일 정보를 보여줍니다. +> 더 많은 정보: . + +- 삭제된 파일 보기: + +`git ls-files --deleted` + +- 수정되거나 삭제된 파일 보기: + +`git ls-files --modified` + +- .gitignore에 명시된 파일과 Git이 관리하지 않는 파일 보기: + +`git ls-files --others` + +- Git이 관리하지 않는 파일 중 .gitignore에 명시되지 않은 파일 보기: + +`git ls-files --others --exclude-standard` diff --git a/pages.ko/common/git-ls-remote.md b/pages.ko/common/git-ls-remote.md new file mode 100644 index 00000000000000..3456fd8cc5160a --- /dev/null +++ b/pages.ko/common/git-ls-remote.md @@ -0,0 +1,25 @@ +# git ls-remote + +> 원격 저장소의 브랜치, 태그 등의 정보를 나열하는 Git 명령어입니다. +> 이름이나 URL이 주어지지 않으면 설정된 업스트림 브랜치를 사용하며, 업스트림이 설정되지 않은 경우 원격 origin을 사용합니다. +> 더 많은 정보: . + +- 기본 원격 저장소의 모든 브랜치와 태그 정보 보기: + +`git ls-remote` + +- 기본 원격 저장소의 브랜치 정보만 보기: + +`git ls-remote --heads` + +- 기본 원격 저장소의 태그 정보만 보기: + +`git ls-remote --tags` + +- 이름이나 URL을 기반으로 특정 원격 저장소의 모든 브랜치와 태그 정보 보기: + +`git ls-remote {{저장소_URL}}` + +- 특정 검색어와 일치하는 정보만 보기: + +`git ls-remote {{저장소_이름}} "{{브랜치_혹은_태그_이름}}"` diff --git a/pages.ko/common/git-ls-tree.md b/pages.ko/common/git-ls-tree.md new file mode 100644 index 00000000000000..7b5606cfbd686c --- /dev/null +++ b/pages.ko/common/git-ls-tree.md @@ -0,0 +1,20 @@ +# git ls-tree + +> 트리 객체의 파일과 디렉토리 목록을 보여줍니다. +> 더 많은 정보: . + +- 특정 브랜치의 파일과 디렉토리 목록 보기: + +`git ls-tree {{브랜치_이름}}` + +- 특정 커밋의 파일과 디렉토리 목록을 하위 디렉토리까지 재귀적으로 보기: + +`git ls-tree -r {{커밋_해시}}` + +- 특정 커밋의 파일 이름만 보기: + +`git ls-tree --name-only {{커밋_해시}}` + +- 현재 브랜치의 최신 상태 파일과 디렉토리 목록을 트리 구조로 출력하기 (참고: `tree --fromfile`은 Windows에서 지원되지 않음): + +`git ls-tree -r --name-only HEAD | tree --fromfile` diff --git a/pages.ko/common/git-magic.md b/pages.ko/common/git-magic.md new file mode 100644 index 00000000000000..a91815aeed657c --- /dev/null +++ b/pages.ko/common/git-magic.md @@ -0,0 +1,29 @@ +# git magic + +> 추가, 커밋 및 푸시 루틴 자동화. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 생성된 메시지로 변경 사항 커밋: + +`git magic` + +- 추적되지 않은 파일을 [a]dd하고 생성된 메시지로 변경 사항 커밋: + +`git magic -a` + +- 사용자 정의 [m]essage로 변경 사항 커밋: + +`git magic -m "{{사용자_커밋_메시지}}"` + +- 커밋하기 전에 커밋 [m]essage를 [e]dit: + +`git magic -em "{{사용자_커밋_메시지}}"` + +- 변경 사항 커밋 및 원격 저장소에 [p]ush: + +`git magic -p` + +- 변경 사항 커밋 및 원격 저장소에 [f]orce [p]ush: + +`git magic -fp` diff --git a/pages.ko/common/git-mailinfo.md b/pages.ko/common/git-mailinfo.md new file mode 100644 index 00000000000000..08b8b3b4ac2eb6 --- /dev/null +++ b/pages.ko/common/git-mailinfo.md @@ -0,0 +1,16 @@ +# git mailinfo + +> 이메일 메시지에서 패치 및 작성자 정보를 추출. +> 더 많은 정보: . + +- 이메일 메시지에서 패치 및 작성자 데이터 추출: + +`git mailinfo {{message|patch}}` + +- 추출하지만 앞뒤 공백 제거: + +`git mailinfo -k {{message|patch}}` + +- 본문에서 가위선 (예: "-->* --") 이전의 모든 내용을 제거하고 메시지 또는 패치 추출: + +`git mailinfo --scissors {{message|patch}}` diff --git a/pages.ko/common/git-maintenance.md b/pages.ko/common/git-maintenance.md new file mode 100644 index 00000000000000..f6922f24002048 --- /dev/null +++ b/pages.ko/common/git-maintenance.md @@ -0,0 +1,24 @@ +# git-maintenance + +> Git 저장소 데이터를 최적화하기 위한 작업 실행. +> 더 많은 정보: . + +- 현재 저장소를 사용자의 목록에 등록하여 매일 유지 관리 작업 실행: + +`git maintenance register` + +- 현재 저장소에서 유지 관리 작업 시작: + +`git maintenance start` + +- 현재 저장소의 백그라운드 유지 관리 일정 중지: + +`git maintenance stop` + +- 현재 저장소를 사용자의 유지 관리 저장소 목록에서 제거: + +`git maintenance unregister` + +- 현재 저장소에서 특정 유지 관리 작업 실행: + +`git maintenance run --task {{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}` diff --git a/pages.ko/common/git-merge-base.md b/pages.ko/common/git-merge-base.md new file mode 100644 index 00000000000000..1ecab72ebd6753 --- /dev/null +++ b/pages.ko/common/git-merge-base.md @@ -0,0 +1,16 @@ +# git merge-base + +> 두 커밋의 공통 조상을 찾습니다. +> 더 많은 정보: . + +- 두 커밋의 최상의 공통 조상을 출력: + +`git merge-base {{commit_1}} {{commit_2}}` + +- 두 커밋의 모든 최상의 공통 조상을 출력: + +`git merge-base --all {{commit_1}} {{commit_2}}` + +- 특정 커밋이 다른 커밋의 조상인지 확인: + +`git merge-base --is-ancestor {{ancestor_commit}} {{commit}}` diff --git a/pages.ko/common/git-merge-into.md b/pages.ko/common/git-merge-into.md new file mode 100644 index 00000000000000..c8a0a61cf25dc6 --- /dev/null +++ b/pages.ko/common/git-merge-into.md @@ -0,0 +1,13 @@ +# git merge-into + +> 하나의 브랜치를 다른 브랜치에 병합. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 소스 브랜치를 특정 목적지 브랜치에 병합: + +`git merge-into {{source_branch}} {{destination_branch}}` + +- 현재 브랜치를 특정 목적지 브랜치에 병합: + +`git merge-into {{destination_branch}}` diff --git a/pages.ko/common/git-merge-repo.md b/pages.ko/common/git-merge-repo.md new file mode 100644 index 00000000000000..beaf4a93acf799 --- /dev/null +++ b/pages.ko/common/git-merge-repo.md @@ -0,0 +1,13 @@ +# git merge-repo + +> 두 저장소의 히스토리를 병합. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 저장소의 브랜치를 현재 저장소의 디렉토리에 병합: + +`git merge-repo {{경로/대상/저장소}} {{브랜치_이름}} {{경로/대상/폴더}}` + +- 원격 저장소의 브랜치를 현재 저장소의 디렉토리에 히스토리를 보존하지 않고 병합: + +`git merge-repo {{경로/대상/원격_저장소}} {{브랜치_이름}} .` diff --git a/pages.ko/common/git-merge.md b/pages.ko/common/git-merge.md new file mode 100644 index 00000000000000..dc67fff2671100 --- /dev/null +++ b/pages.ko/common/git-merge.md @@ -0,0 +1,24 @@ +# git merge + +> 브랜치를 병합합니다. +> 더 많은 정보: . + +- 현재 브랜치에 브랜치 병합: + +`git merge {{브랜치_이름}}` + +- 병합 메시지 편집: + +`git merge {{[-e|--edit]}} {{브랜치_이름}}` + +- 브랜치 병합 및 병합 커밋 생성: + +`git merge --no-ff {{브랜치_이름}}` + +- 충돌이 발생한 경우 병합 중단: + +`git merge --abort` + +- 특정 전략을 사용하여 병합: + +`git merge {{[-s|--strategy]}} {{전략}} {{[-X|--strategy-option]}} {{전략_옵션}} {{브랜치_이름}}` diff --git a/pages.ko/common/git-mergetool.md b/pages.ko/common/git-mergetool.md new file mode 100644 index 00000000000000..cdb2df83810f57 --- /dev/null +++ b/pages.ko/common/git-mergetool.md @@ -0,0 +1,28 @@ +# git mergetool + +> 병합 충돌을 해결하기 위해 병합 충돌 해결 도구를 실행. +> 더 많은 정보: . + +- 기본 병합 도구를 실행하여 충돌 해결: + +`git mergetool` + +- 유효한 병합 도구 나열: + +`git mergetool --tool-help` + +- 이름으로 식별된 병합 도구 실행: + +`git mergetool --tool {{tool_name}}` + +- 병합 도구를 실행하기 전에 각 호출마다 묻지 않음: + +`git mergetool --no-prompt` + +- GUI 병합 도구를 명시적으로 사용 (설정 변수 `merge.guitool` 참조): + +`git mergetool --gui` + +- 일반 병합 도구를 명시적으로 사용 (설정 변수 `merge.tool` 참조): + +`git mergetool --no-gui` diff --git a/pages.ko/common/git-missing.md b/pages.ko/common/git-missing.md new file mode 100644 index 00000000000000..98790ddd6424dd --- /dev/null +++ b/pages.ko/common/git-missing.md @@ -0,0 +1,13 @@ +# git missing + +> 두 브랜치 간에 공유되지 않은 커밋을 표시. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 체크아웃된 브랜치와 다른 브랜치 간에 공유되지 않은 커밋 표시: + +`git missing {{브랜치}}` + +- 두 브랜치 간에 공유되지 않은 커밋 표시: + +`git missing {{브랜치_1}} {{브랜치_2}}` diff --git a/pages.ko/common/git-mktree.md b/pages.ko/common/git-mktree.md new file mode 100644 index 00000000000000..9ab55bcd20e7a4 --- /dev/null +++ b/pages.ko/common/git-mktree.md @@ -0,0 +1,24 @@ +# git mktree + +> `ls-tree` 형식의 텍스트를 사용하여 트리 객체를 생성합니다. +> 더 많은 정보: . + +- 트리 객체를 생성하고 각 트리 항목의 해시가 기존 객체를 식별하는지 확인: + +`git mktree` + +- 누락된 객체 허용: + +`git mktree --missing` + +- 트리 객체의 NUL([z]ero character)로 종료된 출력을 읽기 (`ls-tree -z`): + +`git mktree -z` + +- 여러 트리 객체 생성 허용: + +`git mktree --batch` + +- `stdin`에서 정렬하여 트리 생성 (비재귀 `git ls-tree` 출력 형식 필요): + +`git mktree < {{경로/대상/tree.txt}}` diff --git a/pages.ko/common/git-mr.md b/pages.ko/common/git-mr.md new file mode 100644 index 00000000000000..89359cd505f3de --- /dev/null +++ b/pages.ko/common/git-mr.md @@ -0,0 +1,21 @@ +# git mr + +> GitLab 병합 요청을 로컬에서 체크아웃. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 특정 병합 요청 체크아웃: + +`git mr {{mr_number}}` + +- 특정 원격에서 병합 요청 체크아웃: + +`git mr {{mr_number}} {{remote}}` + +- 병합 요청 URL에서 체크아웃: + +`git mr {{url}}` + +- 오래된 병합 요청 브랜치 정리: + +`git mr clean` diff --git a/pages.ko/common/git-mv.md b/pages.ko/common/git-mv.md new file mode 100644 index 00000000000000..981ff642bb1e8b --- /dev/null +++ b/pages.ko/common/git-mv.md @@ -0,0 +1,16 @@ +# git mv + +> 파일을 이동하거나 이름을 변경하고 Git 인덱스를 업데이트합니다. +> 더 많은 정보: . + +- 파일을 저장소 내에서 이동하고 해당 이동을 다음 커밋에 추가: + +`git mv {{경로/대상/파일}} {{새/경로/대상/파일}}` + +- 파일 또는 디렉토리의 이름을 변경하고 해당 변경 사항을 다음 커밋에 추가: + +`git mv {{경로/대상/파일_또는_디렉토리}} {{경로/대상/목적지}}` + +- 대상 경로에 파일 또는 디렉토리가 이미 존재하는 경우 덮어쓰기: + +`git mv {{[-f|--force]}} {{경로/대상/파일_또는_디렉토리}} {{경로/대상/목적지}}` diff --git a/pages.ko/common/git-notes.md b/pages.ko/common/git-notes.md new file mode 100644 index 00000000000000..4ed8766c042d84 --- /dev/null +++ b/pages.ko/common/git-notes.md @@ -0,0 +1,36 @@ +# git notes + +> 객체 노트를 추가하거나 검사. +> 더 많은 정보: . + +- 모든 노트와 연결된 객체 나열: + +`git notes list` + +- 주어진 객체에 연결된 모든 노트 나열 (기본값은 HEAD): + +`git notes list [{{객체}}]` + +- 주어진 객체에 연결된 노트 표시 (기본값은 HEAD): + +`git notes show [{{객체}}]` + +- 지정된 객체에 노트 추가 (기본 텍스트 편집기 열림): + +`git notes append {{객체}}` + +- 지정된 객체에 메시지를 지정하여 노트 추가: + +`git notes append --message="{{메시지_텍스트}}"` + +- 기존 노트 편집 (기본값은 HEAD): + +`git notes edit [{{객체}}]` + +- 한 객체에서 다른 객체로 노트 복사: + +`git notes copy {{소스_객체}} {{대상_객체}}` + +- 지정된 객체에 추가된 모든 노트 제거: + +`git notes remove {{객체}}` diff --git a/pages.ko/common/git-obliterate.md b/pages.ko/common/git-obliterate.md new file mode 100644 index 00000000000000..cc1f3e90326d8d --- /dev/null +++ b/pages.ko/common/git-obliterate.md @@ -0,0 +1,13 @@ +# git obliterate + +> Git 저장소에서 파일을 삭제하고 해당 기록을 지웁니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 특정 파일의 존재를 지우기: + +`git obliterate {{파일_이름_1 파일_이름_2 ...}}` + +- 두 커밋 사이의 특정 파일 존재를 지우기: + +`git obliterate {{파일_이름_1 파일_이름_2 ...}} -- {{커밋_해시_1}}..{{커밋_해시_2}}` diff --git a/pages.ko/common/git-paste.md b/pages.ko/common/git-paste.md new file mode 100644 index 00000000000000..9297231bbcbb7b --- /dev/null +++ b/pages.ko/common/git-paste.md @@ -0,0 +1,13 @@ +# git paste + +> `pastebinit`을 사용하여 커밋을 pastebin 사이트에 전송. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 브랜치와 업스트림 간의 패치를 `pastebinit`을 사용하여 pastebin에 전송: + +`git paste` + +- `git format-patch`에 옵션을 전달하여 다른 커밋 집합을 선택 ( `@^`는 HEAD의 부모를 선택하여 현재 체크아웃된 커밋을 전송): + +`git paste {{@^}}` diff --git a/pages.ko/common/git-pr.md b/pages.ko/common/git-pr.md new file mode 100644 index 00000000000000..65498ed26447ca --- /dev/null +++ b/pages.ko/common/git-pr.md @@ -0,0 +1,21 @@ +# git pr + +> GitHub 풀 리퀘스트를 로컬에서 체크아웃. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 특정 풀 리퀘스트를 체크아웃: + +`git pr {{pr_number}}` + +- 특정 원격 저장소에서 풀 리퀘스트를 체크아웃: + +`git pr {{pr_number}} {{remote}}` + +- URL에서 풀 리퀘스트를 체크아웃: + +`git pr {{url}}` + +- 오래된 풀 리퀘스트 브랜치 정리: + +`git pr clean` diff --git a/pages.ko/common/git-prune.md b/pages.ko/common/git-prune.md new file mode 100644 index 00000000000000..e098faab59cfd8 --- /dev/null +++ b/pages.ko/common/git-prune.md @@ -0,0 +1,17 @@ +# git prune + +> Git 객체 데이터베이스에서 도달할 수 없는 모든 객체를 제거하는 명령. +> 이 명령은 종종 직접 사용되지 않고, Git gc에서 내부 명령으로 사용됩니다. +> 더 많은 정보: . + +- Git prune에 의해 제거될 항목을 보고하지만 실제로 제거하지 않음: + +`git prune {{[-n|--dry-run]}}` + +- 도달할 수 없는 객체를 제거하고 제거된 항목을 `stdout`에 표시: + +`git prune {{[-v|--verbose]}}` + +- 진행 상황을 표시하면서 도달할 수 없는 객체를 제거: + +`git prune --progress` diff --git a/pages.ko/common/git-psykorebase.md b/pages.ko/common/git-psykorebase.md new file mode 100644 index 00000000000000..543fe4a8c5ec16 --- /dev/null +++ b/pages.ko/common/git-psykorebase.md @@ -0,0 +1,17 @@ +# git psykorebase + +> 병합 커밋과 단 한 번의 충돌 처리를 사용하여 브랜치를 다른 브랜치 위에 리베이스합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 병합 커밋과 단 한 번의 충돌 처리를 사용하여 현재 브랜치를 다른 브랜치 위에 리베이스: + +`git psykorebase {{업스트림_브랜치}}` + +- 충돌이 해결된 후 계속 진행: + +`git psykorebase --continue` + +- 리베이스할 브랜치 지정: + +`git psykorebase {{업스트림_브랜치}} {{대상_브랜치}}` diff --git a/pages.ko/common/git-pull-request.md b/pages.ko/common/git-pull-request.md new file mode 100644 index 00000000000000..7d1cc29df9a17b --- /dev/null +++ b/pages.ko/common/git-pull-request.md @@ -0,0 +1,9 @@ +# git pull-request + +> GitHub 프로젝트에 대한 풀 리퀘스트 생성. +> `git-extras`의 일부. +> 더 많은 정보: . + +- GitHub 프로젝트에 대한 풀 리퀘스트 생성: + +`git pull-request {{대상_브랜치}}` diff --git a/pages.ko/common/git-pull.md b/pages.ko/common/git-pull.md new file mode 100644 index 00000000000000..30167f8d5a6cd4 --- /dev/null +++ b/pages.ko/common/git-pull.md @@ -0,0 +1,16 @@ +# git pull + +> 원격 저장소에서 브랜치를 가져와 로컬 저장소에 병합합니다. +> 더 많은 정보: . + +- 기본 원격 저장소에서 변경 사항 다운로드 및 병합: + +`git pull` + +- 기본 원격 저장소에서 변경 사항 다운로드 후 패스트-포워드 사용: + +`git pull {{[-r|--rebase]}}` + +- 지정된 원격 저장소와 브랜치에서 변경 사항 다운로드 후 다음 HEAD에 병합: + +`git pull {{원격_이름}} {{브랜치}}` diff --git a/pages.ko/common/git-push.md b/pages.ko/common/git-push.md new file mode 100644 index 00000000000000..94060d3f3043c1 --- /dev/null +++ b/pages.ko/common/git-push.md @@ -0,0 +1,36 @@ +# git push + +> 로컬 커밋을 원격 저장소로 푸시합니다. +> 더 많은 정보: . + +- 현재 브랜치의 로컬 변경 사항을 기본 원격 상대 브랜치에 보내기: + +`git push` + +- 특정 로컬 브랜치에서 해당 원격 상대 브랜치로 변경 사항 보내기: + +`git push {{원격_이름}} {{로컬_브랜치}}` + +- 특정 로컬 브랜치에서 해당 원격 상대 브랜치로 변경 사항을 보내고, 원격 브랜치를 로컬 브랜치의 기본 푸시/풀 대상으로 설정: + +`git push {{[-u|--set-upstream]}} {{원격_이름}} {{로컬_브랜치}}` + +- 특정 로컬 브랜치에서 특정 원격 브랜치로 변경 사항 보내기: + +`git push {{원격_이름}} {{로컬_브랜치}}:{{원격_브랜치}}` + +- 모든 로컬 브랜치의 변경 사항을 주어진 원격 저장소의 상대 브랜치로 보내기: + +`git push --all {{원격_이름}}` + +- 원격 저장소에서 브랜치 삭제: + +`git push {{원격_이름}} {{[-d|--delete]}} {{원격_브랜치}}` + +- 로컬과 대응되는 원격 브랜치가 없는 원격 브랜치 제거: + +`git push --prune {{원격_이름}}` + +- 아직 원격 저장소에 없는 태그 게시: + +`git push --tags` diff --git a/pages.ko/common/git-range-diff.md b/pages.ko/common/git-range-diff.md new file mode 100644 index 00000000000000..50ef499a2b35d9 --- /dev/null +++ b/pages.ko/common/git-range-diff.md @@ -0,0 +1,16 @@ +# git range-diff + +> 두 커밋 범위(예: 브랜치의 두 버전)를 비교. +> 더 많은 정보: . + +- 두 개별 커밋의 변경 사항을 비교: + +`git range-diff {{커밋_1}}^! {{커밋_2}}^!` + +- 공통 조상으로부터 ours와 theirs의 변경 사항을 비교 (예: 인터랙티브 리베이스 후): + +`git range-diff {{theirs}}...{{ours}}` + +- 두 커밋 범위의 변경 사항을 비교 (예: `base1`에서 `base2`로 리베이스하는 동안 충돌이 적절하게 해결되었는지 확인): + +`git range-diff {{base1}}..{{rev1}} {{base2}}..{{rev2}}` diff --git a/pages.ko/common/git-reauthor.md b/pages.ko/common/git-reauthor.md new file mode 100644 index 00000000000000..de2b9e6010ebf0 --- /dev/null +++ b/pages.ko/common/git-reauthor.md @@ -0,0 +1,17 @@ +# git reauthor + +> 작성자 신원에 대한 세부 정보를 변경합니다. 이 명령은 Git 기록을 재작성하므로 다음 푸시 시 `--force`가 필요합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- Git 저장소 전체에서 작성자의 이메일과 이름 변경: + +`git reauthor --old-email {{old@example.com}} --correct-email {{new@example.com}} --correct-name "{{name}}"` + +- Git 설정에 정의된 이메일과 이름으로 변경: + +`git reauthor --old-email {{old@example.com}} --use-config` + +- 원래 작성자와 관계없이 모든 커밋의 이메일과 이름 변경: + +`git reauthor --all --correct-email {{name@example.com}} --correct-name {{name}}` diff --git a/pages.ko/common/git-rebase-patch.md b/pages.ko/common/git-rebase-patch.md new file mode 100644 index 00000000000000..b7a854faf78ef1 --- /dev/null +++ b/pages.ko/common/git-rebase-patch.md @@ -0,0 +1,9 @@ +# git rebase-patch + +> 패치가 적용되는 커밋을 찾고 리베이스를 수행. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 패치가 적용되는 커밋을 찾고 리베이스 수행: + +`git rebase-patch {{패치_파일}}` diff --git a/pages.ko/common/git-rebase.md b/pages.ko/common/git-rebase.md new file mode 100644 index 00000000000000..b238a4c77f5d8c --- /dev/null +++ b/pages.ko/common/git-rebase.md @@ -0,0 +1,37 @@ +# git rebase + +> 다른 브랜치 위에 있는 커밋을 다시 적용합니다. +> 주로 전체 브랜치를 다른 기저로 "이동"하여 새 위치에 커밋의 복사본을 만들 때 사용됩니다. +> 더 많은 정보: . + +- 현재 브랜치를 다른 지정된 브랜치 위에 리베이스: + +`git rebase {{새_기저_브랜치}}` + +- 커밋을 재배치, 생략, 결합 또는 수정할 수 있도록 하는 대화형 리베이스 시작: + +`git rebase {{[-i|--interactive]}} {{대상_기저_브랜치_또는_커밋_해시}}` + +- 충돌하는 파일 편집 후, 병합 실패로 중단된 리베이스 계속하기: + +`git rebase --continue` + +- 충돌이 발생한 커밋을 건너뛸 때, 병합 충돌로 일시 중지된 리베이스를 건너뛰어서 계속하기: + +`git rebase --skip` + +- 진행 중인 리베이스 중단 (예: 병합 충돌로 인해 중단된 경우): + +`git rebase --abort` + +- 시작할 수 있는 오래된 베이스 제공 및 현재 브랜치 일부를 새 베이스로 이동: + +`git rebase --onto {{새_기저}} {{이전_기저}}` + +- 마지막 5개의 커밋을 그대로 다시 적용해, 재배치, 생략, 결합 또는 수정할 수 있도록 멈추기: + +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` + +- 작업 브랜치 버전을 우선하는 방식으로 모든 충돌을 자동으로 해결 (`theirs` 키워드는 이 경우 반대 의미를 갖습니다): + +`git rebase {{[-X|--strategy-option]}} theirs {{브랜치_이름}}` diff --git a/pages.ko/common/git-reflog.md b/pages.ko/common/git-reflog.md new file mode 100644 index 00000000000000..f96d17192b76a4 --- /dev/null +++ b/pages.ko/common/git-reflog.md @@ -0,0 +1,16 @@ +# git reflog + +> 로컬 Git 저장소의 브랜치, 태그, HEAD 등의 변경사항을 로그로 보여줍니다. +> 더 많은 정보: . + +- HEAD의 변경된 기록을 표시: + +`git reflog` + +- 지정된 브랜치의 변경된 기록을 표시: + +`git reflog {{브랜치_이름}}` + +- 변경된 기록의 최근 5개 항목만 표시: + +`git reflog {{[-n|--max-count]}} 5` diff --git a/pages.ko/common/git-release.md b/pages.ko/common/git-release.md new file mode 100644 index 00000000000000..c44d4660271ba9 --- /dev/null +++ b/pages.ko/common/git-release.md @@ -0,0 +1,17 @@ +# git release + +> 릴리스를 위한 Git 태그 생성. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 릴리스 생성 및 푸시: + +`git release {{태그_이름}}` + +- 서명된 릴리스 생성 및 푸시: + +`git release {{태그_이름}} -s` + +- 메시지와 함께 릴리스 생성 및 푸시: + +`git release {{태그_이름}} -m "{{메시지}}"` diff --git a/pages.ko/common/git-remote.md b/pages.ko/common/git-remote.md new file mode 100644 index 00000000000000..e28fde7808013b --- /dev/null +++ b/pages.ko/common/git-remote.md @@ -0,0 +1,32 @@ +# git remote + +> 원격 저장소(remote repositories)를 관리하는 명령어입니다. +> 더 많은 정보: . + +- 이름과 URL을 포함한 기존 원격 저장소 목록 보기: + +`git remote {{[-v|--verbose]}}` + +- 특정 원격 저장소에 대한 정보 표시: + +`git remote show {{원격_저장소_이름}}` + +- 원격 저장소 추가: + +`git remote add {{원격_저장소_이름}} {{원격_저장소_URL}}` + +- 원격 저장소의 URL 변경 (기존 URL을 유지하려면 --add 사용): + +`git remote set-url {{원격_저장소_이름}} {{새_URL}}` + +- 원격 저장소의 URL 표시: + +`git remote get-url {{원격_저장소_이름}}` + +- 원격 저장소 제거: + +`git remote remove {{원격_저장소_이름}}` + +- 원격 저장소 이름 변경: + +`git remote rename {{이전_이름}} {{새_이름}}` diff --git a/pages.ko/common/git-rename-branch.md b/pages.ko/common/git-rename-branch.md new file mode 100644 index 00000000000000..5773f7ba736d9f --- /dev/null +++ b/pages.ko/common/git-rename-branch.md @@ -0,0 +1,13 @@ +# git rename-branch + +> Git 브랜치 이름 변경. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 사용 중인 브랜치 이름 변경: + +`git rename-branch {{새_브랜치_이름}}` + +- 특정 브랜치 이름 변경: + +`git rename-branch {{기존_브랜치_이름}} {{새_브랜치_이름}}` diff --git a/pages.ko/common/git-rename-remote.md b/pages.ko/common/git-rename-remote.md new file mode 100644 index 00000000000000..b5f3bed0e368b9 --- /dev/null +++ b/pages.ko/common/git-rename-remote.md @@ -0,0 +1,9 @@ +# git rename-remote + +> 가져오기 및 푸시용 원격 저장소 변경. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 업스트림 원격 저장소를 origin으로 변경: + +`git rename-remote {{upstream}} {{origin}}` diff --git a/pages.ko/common/git-rename-tag.md b/pages.ko/common/git-rename-tag.md new file mode 100644 index 00000000000000..d8436e6089a349 --- /dev/null +++ b/pages.ko/common/git-rename-tag.md @@ -0,0 +1,9 @@ +# git rename-tag + +> Git 태그 이름 변경. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 기존 Git 태그를 로컬 및 원격에서 이름 변경: + +`git rename-tag {{old_tag_name}} {{new_tag_name}}` diff --git a/pages.ko/common/git-repack.md b/pages.ko/common/git-repack.md new file mode 100644 index 00000000000000..3519791c9e37b3 --- /dev/null +++ b/pages.ko/common/git-repack.md @@ -0,0 +1,12 @@ +# git repack + +> Git 저장소에서 압축되지 않은 객체를 패킹. +> 더 많은 정보: . + +- 현재 디렉토리에서 압축되지 않은 객체를 패킹: + +`git repack` + +- 패킹 후 중복 객체도 제거: + +`git repack -d` diff --git a/pages.ko/common/git-repl.md b/pages.ko/common/git-repl.md new file mode 100644 index 00000000000000..dcfbb5b3f4e5a5 --- /dev/null +++ b/pages.ko/common/git-repl.md @@ -0,0 +1,21 @@ +# git repl + +> Git REPL (read-evaluate-print-loop) - 인터랙티브 Git 쉘. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 인터랙티브 Git 쉘 시작: + +`git repl` + +- 인터랙티브 Git 쉘에서 Git 명령 실행: + +`{{git_하위_명령}} {{명령_인수}}` + +- 인터랙티브 Git 쉘에서 외부 (Git 이외의) 명령 실행: + +`!{{명령}} {{명령_인수}}` + +- 인터랙티브 Git 쉘 종료 (또는 `` 누르기): + +`exit` diff --git a/pages.ko/common/git-replace.md b/pages.ko/common/git-replace.md new file mode 100644 index 00000000000000..b50c89dce19a4b --- /dev/null +++ b/pages.ko/common/git-replace.md @@ -0,0 +1,16 @@ +# git replace + +> 객체를 대체하기 위한 참조를 생성, 목록화 및 삭제. +> 더 많은 정보: . + +- 특정 커밋을 다른 커밋으로 대체하고, 다른 커밋은 변경하지 않음: + +`git replace {{객체}} {{대체_객체}}` + +- 주어진 객체에 대한 기존 대체 참조 삭제: + +`git replace --delete {{객체}}` + +- 객체의 내용을 대화형으로 편집: + +`git replace --edit {{객체}}` diff --git a/pages.ko/common/git-request-pull.md b/pages.ko/common/git-request-pull.md new file mode 100644 index 00000000000000..8778979f71f178 --- /dev/null +++ b/pages.ko/common/git-request-pull.md @@ -0,0 +1,12 @@ +# git request-pull + +> 업스트림 프로젝트에 변경 사항을 병합해 달라고 요청하는 요청서를 생성. +> 더 많은 정보: . + +- v1.1 릴리스와 지정된 브랜치 간의 변경 사항을 요약한 요청서 생성: + +`git request-pull {{v1.1}} {{https://example.com/project}} {{브랜치_이름}}` + +- `foo` 브랜치의 v0.1 릴리스와 로컬 `bar` 브랜치 간의 변경 사항을 요약한 요청서 생성: + +`git request-pull {{v0.1}} {{https://example.com/project}} {{foo:bar}}` diff --git a/pages.ko/common/git-reset-file.md b/pages.ko/common/git-reset-file.md new file mode 100644 index 00000000000000..daf10e733e15ab --- /dev/null +++ b/pages.ko/common/git-reset-file.md @@ -0,0 +1,13 @@ +# git reset-file + +> 파일을 HEAD 또는 특정 커밋으로 되돌리기. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 파일을 HEAD로 되돌리기: + +`git reset-file {{경로/대상/파일}}` + +- 파일을 특정 커밋으로 되돌리기: + +`git reset-file {{경로/대상/파일}} {{커밋_해시}}` diff --git a/pages.ko/common/git-reset.md b/pages.ko/common/git-reset.md new file mode 100644 index 00000000000000..d40a26fc93d242 --- /dev/null +++ b/pages.ko/common/git-reset.md @@ -0,0 +1,33 @@ +# git reset + +> 현재 Git HEAD를 지정된 상태로 재설정하여 커밋을 취소하거나 변경 사항의 스테이징을 취소합니다. +> 경로가 전달되면 "스테이징 해제"로 작동하고, 커밋 해시 또는 브랜치가 전달되면 "커밋 취소"로 작동합니다. +> 더 많은 정보: . + +- 모두 스테이징 해제: + +`git reset` + +- 특정 파일의 스테이징 해제: + +`git reset {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일 일부를 대화식으로 스테이징 해제: + +`git reset {{[-p|--patch]}} {{경로/대상/파일}}` + +- 마지막 커밋을 취소하되 해당 변경 사항을 (그리고 추가로 커밋되지 않은 변경 사항들도) 파일 시스템에 유지: + +`git reset HEAD~` + +- 마지막 두 개의 커밋을 취소하고 해당 변경 사항을 인덱스에 추가하여 커밋할 준비 완료: + +`git reset --soft HEAD~2` + +- 커밋되지 않은 변경 사항을 모두 무시하고, staged 또는 unstaged 상태에 상관없이 삭제 (오직 unstaged 변경 사항인 경우 `git checkout` 사용): + +`git reset --hard` + +- 지정된 커밋으로 저장소를 재설정하여 해당 이후에 발생한 커밋, 스테이징 및 커밋되지 않은 변경 사항을 모두 삭제: + +`git reset --hard {{커밋}}` diff --git a/pages.ko/common/git-restore.md b/pages.ko/common/git-restore.md new file mode 100644 index 00000000000000..23c9ac5f5b02a1 --- /dev/null +++ b/pages.ko/common/git-restore.md @@ -0,0 +1,33 @@ +# git restore + +> 작업 트리 파일을 복원합니다. Git 버전 2.23+ 이상이 필요합니다. +> 같이 보기: `git checkout` 및 `git reset`. +> 더 많은 정보: . + +- 언스테이지된 파일을 현재 커밋 (HEAD)의 버전으로 복원: + +`git restore {{경로/대상/파일}}` + +- 언스테이지된 파일을 특정 커밋의 버전으로 복원: + +`git restore {{[-s|--source]}} {{커밋}} {{경로/대상/파일}}` + +- 추적 중인 파일에 대한 모든 언스테이지된 변경 사항을 폐기: + +`git restore :/` + +- 파일의 스테이지를 내리기: + +`git restore {{[-S|--staged]}} {{경로/대상/파일}}` + +- 모든 파일의 스테이지를 내리기: + +`git restore {{[-S|--staged]}} :/` + +- 스테이지 및 언스테이지된 파일의 모든 변경 사항 폐기: + +`git restore {{[-W|--worktree]}} {{[-S|--staged]}} :/` + +- 파일의 섹션을 대화적으로 선택하여 복원: + +`git restore {{[-p|--patch]}}` diff --git a/pages.ko/common/git-rev-list.md b/pages.ko/common/git-rev-list.md new file mode 100644 index 00000000000000..ded029c926da1e --- /dev/null +++ b/pages.ko/common/git-rev-list.md @@ -0,0 +1,24 @@ +# git rev-list + +> 리비전(커밋)을 역순으로 나열합니다. +> 더 많은 정보: . + +- 현재 브랜치의 모든 커밋 나열: + +`git rev-list {{HEAD}}` + +- 특정 파일이 변경(추가/편집/제거)된 최신 커밋 출력: + +`git rev-list {{[-n|--max-count]}} 1 HEAD -- {{경로/대상/파일}}` + +- 특정 날짜 이후의 커밋을 특정 브랜치에서 나열: + +`git rev-list --since "{{2019-12-01 00:00:00}}" {{브랜치_이름}}` + +- 특정 커밋의 모든 병합 커밋 나열: + +`git rev-list --merges {{커밋}}` + +- 특정 태그 이후의 커밋 수 출력: + +`git rev-list {{태그_이름}}..HEAD --count` diff --git a/pages.ko/common/git-rev-parse.md b/pages.ko/common/git-rev-parse.md new file mode 100644 index 00000000000000..48fa8833447d38 --- /dev/null +++ b/pages.ko/common/git-rev-parse.md @@ -0,0 +1,16 @@ +# git rev-parse + +> 리비전에 관련된 메타데이터를 표시. +> 더 많은 정보: . + +- 브랜치의 커밋 해시 가져오기: + +`git rev-parse {{브랜치_이름}}` + +- 현재 브랜치 이름 가져오기: + +`git rev-parse --abbrev-ref {{HEAD}}` + +- 루트 디렉토리의 절대 경로 가져오기: + +`git rev-parse --show-toplevel` diff --git a/pages.ko/common/git-revert.md b/pages.ko/common/git-revert.md new file mode 100644 index 00000000000000..e3f55e617a01d0 --- /dev/null +++ b/pages.ko/common/git-revert.md @@ -0,0 +1,24 @@ +# git revert + +> 이전 커밋의 영향을 되돌리는 새로운 커밋을 생성합니다. +> 더 많은 정보: . + +- 가장 최근 커밋 되돌리기: + +`git revert {{HEAD}}` + +- 마지막에서 5번째 커밋 되돌리기: + +`git revert HEAD~{{4}}` + +- 특정 커밋 되돌리기: + +`git revert {{0c01a9}}` + +- 여러 커밋 되돌리기: + +`git revert {{branch_name~5..branch_name~2}}` + +- 새로운 커밋을 생성하지 않고 작업 트리만 변경: + +`git revert {{[-n|--no-commit]}} {{0c01a9..9a1743}}` diff --git a/pages.ko/common/git-rm.md b/pages.ko/common/git-rm.md new file mode 100644 index 00000000000000..2c9da337cfecdc --- /dev/null +++ b/pages.ko/common/git-rm.md @@ -0,0 +1,16 @@ +# git rm + +> 저장소 인덱스와 로컬 파일 시스템에서 파일을 제거합니다. +> 더 많은 정보: . + +- 저장소 인덱스와 파일 시스템에서 파일 제거: + +`git rm {{경로/대상/파일}}` + +- 디렉토리 제거: + +`git rm -r {{경로/대상/폴더}}` + +- 저장소 인덱스에서 파일 제거하되 로컬에서는 그대로 유지: + +`git rm --cached {{경로/대상/파일}}` diff --git a/pages.ko/common/git-root.md b/pages.ko/common/git-root.md new file mode 100644 index 00000000000000..436f6146406e0b --- /dev/null +++ b/pages.ko/common/git-root.md @@ -0,0 +1,13 @@ +# git root + +> 현재 Git 저장소의 루트 디렉토리를 출력. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 Git 저장소의 절대 경로 출력: + +`git root` + +- 현재 작업 디렉토리를 현재 Git 저장소의 루트에 상대적으로 출력: + +`git root --relative` diff --git a/pages.ko/common/git-rscp.md b/pages.ko/common/git-rscp.md new file mode 100644 index 00000000000000..09c78d3e17e6e4 --- /dev/null +++ b/pages.ko/common/git-rscp.md @@ -0,0 +1,13 @@ +# git rscp + +> Reverse `git scp` - 원격 저장소의 작업 디렉터리에서 현재 작업 트리로 파일을 복사. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 원격에서 특정 파일 복사: + +`git rscp {{remote_name}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 원격에서 특정 디렉터리 복사: + +`git rscp {{remote_name}} {{경로/대상/폴더}}` diff --git a/pages.ko/common/git-scp.md b/pages.ko/common/git-scp.md new file mode 100644 index 00000000000000..979df1ae5d4b5f --- /dev/null +++ b/pages.ko/common/git-scp.md @@ -0,0 +1,25 @@ +# git scp + +> 현재 작업 트리에서 원격 저장소의 작업 디렉토리로 파일을 복사합니다. +> `git-extras`의 일부입니다. 파일 전송에는 `rsync`를 사용합니다. +> 더 많은 정보: . + +- 스테이지되지 않은 파일을 특정 원격으로 복사: + +`git scp {{remote_name}}` + +- 스테이지된 파일과 스테이지되지 않은 파일을 원격으로 복사: + +`git scp {{remote_name}} HEAD` + +- 마지막 커밋에서 변경된 파일 및 모든 스테이지된 또는 스테이지되지 않은 파일을 원격으로 복사: + +`git scp {{remote_name}} HEAD~1` + +- 특정 파일을 원격으로 복사: + +`git scp {{remote_name}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 디렉토리를 원격으로 복사: + +`git scp {{remote_name}} {{경로/대상/폴더}}` diff --git a/pages.ko/common/git-secret.md b/pages.ko/common/git-secret.md new file mode 100644 index 00000000000000..83ac89cc4f4449 --- /dev/null +++ b/pages.ko/common/git-secret.md @@ -0,0 +1,36 @@ +# git secret + +> Git 리포지토리에 개인 데이터를 저장. Bash로 작성됨. +> 더 많은 정보: . + +- 로컬 리포지토리에 `git-secret` 초기화: + +`git secret init` + +- 현재 Git 사용자의 이메일에 액세스 권한 부여: + +`git secret tell -m` + +- 이메일로 액세스 권한 부여: + +`git secret tell {{email}}` + +- 이메일로 액세스 권한 취소: + +`git secret killperson {{email}}` + +- 비밀에 대한 액세스 권한이 있는 이메일 목록: + +`git secret whoknows` + +- 비밀 파일 등록: + +`git secret add {{경로/대상/파일}}` + +- 비밀 암호화: + +`git secret hide` + +- 비밀 파일 복호화: + +`git secret reveal` diff --git a/pages.ko/common/git-sed.md b/pages.ko/common/git-sed.md new file mode 100644 index 00000000000000..981456c31abda1 --- /dev/null +++ b/pages.ko/common/git-sed.md @@ -0,0 +1,21 @@ +# git sed + +> git으로 관리되는 파일에서 sed를 사용하여 패턴을 대체. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 저장소에서 지정된 텍스트 대체: + +`git sed '{{찾을_텍스트}}' '{{대체할_텍스트}}'` + +- 지정된 텍스트를 대체한 후, 표준 커밋 메시지로 결과 변경사항 커밋: + +`git sed -c '{{찾을_텍스트}}' '{{대체할_텍스트}}'` + +- 정규 표현식을 사용하여 지정된 텍스트 대체: + +`git sed -f g '{{찾을_텍스트}}' '{{대체할_텍스트}}'` + +- 주어진 디렉터리 내 모든 파일에서 특정 텍스트 대체: + +`git sed '{{찾을_텍스트}}' '{{대체할_텍스트}}' -- {{경로/대상/폴더}}` diff --git a/pages.ko/common/git-send-email.md b/pages.ko/common/git-send-email.md new file mode 100644 index 00000000000000..7b68e6a04e8053 --- /dev/null +++ b/pages.ko/common/git-send-email.md @@ -0,0 +1,25 @@ +# git send-email + +> 여러 개의 패치를 이메일로 전송. +> 패치는 파일, 디렉토리 또는 수정 목록으로 지정할 수 있습니다. +> 더 많은 정보: . + +- 현재 브랜치에서 마지막 커밋을 대화형으로 전송: + +`git send-email -1` + +- 지정된 커밋 전송: + +`git send-email -1 {{커밋}}` + +- 현재 브랜치에서 여러 개의 커밋(예: 10개) 전송: + +`git send-email {{-10}}` + +- 패치 시리즈에 대한 소개 이메일 메시지 전송: + +`git send-email -{{커밋_수}} --compose` + +- 전송할 각 패치의 이메일 메시지 검토 및 편집: + +`git send-email -{{커밋_수}} --annotate` diff --git a/pages.ko/common/git-setup.md b/pages.ko/common/git-setup.md new file mode 100644 index 00000000000000..98f9ac9ab663a7 --- /dev/null +++ b/pages.ko/common/git-setup.md @@ -0,0 +1,13 @@ +# git setup + +> 디렉터리에 Git 저장소를 생성하고 모든 파일을 커밋. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 디렉터리에 Git 저장소를 생성하고 모든 파일을 커밋: + +`git setup` + +- 특정 디렉터리에 Git 저장소를 생성하고 모든 파일을 커밋: + +`git setup {{경로/대상/폴더}}` diff --git a/pages.ko/common/git-shortlog.md b/pages.ko/common/git-shortlog.md new file mode 100644 index 00000000000000..3d09388b6c6203 --- /dev/null +++ b/pages.ko/common/git-shortlog.md @@ -0,0 +1,28 @@ +# git shortlog + +> `git log` 출력을 요약. +> 더 많은 정보: . + +- 작성자 이름별로 알파벳 순으로 그룹화된 모든 커밋 요약 보기: + +`git shortlog` + +- 커밋 수에 따라 정렬된 모든 커밋 요약 보기: + +`git shortlog {{[-n|--numbered]}}` + +- 커미터의 신원(이름과 이메일)별로 그룹화된 모든 커밋 요약 보기: + +`git shortlog {{[-c|--committer]}}` + +- 마지막 5개의 커밋 요약 보기(즉, 리비전 범위 지정): + +`git shortlog HEAD~5..HEAD` + +- 현재 브랜치에서 모든 사용자, 이메일 및 커밋 수 요약 보기: + +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}` + +- 모든 브랜치에서 모든 사용자, 이메일 및 커밋 수 요약 보기: + +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}} --all` diff --git a/pages.ko/common/git-show-branch.md b/pages.ko/common/git-show-branch.md new file mode 100644 index 00000000000000..dd90b2f46aa277 --- /dev/null +++ b/pages.ko/common/git-show-branch.md @@ -0,0 +1,36 @@ +# git show-branch + +> 브랜치와 해당 커밋을 표시. +> 더 많은 정보: . + +- 브랜치의 최신 커밋 요약 표시: + +`git show-branch {{브랜치_이름|참조|커밋}}` + +- 여러 커밋 또는 브랜치의 히스토리 비교: + +`git show-branch {{브랜치_이름1|참조1|커밋1 브랜치_이름2|참조2|커밋2 ...}}` + +- 모든 원격 추적 브랜치 비교: + +`git show-branch --remotes` + +- 로컬 및 원격 추적 브랜치 모두 비교: + +`git show-branch --all` + +- 모든 브랜치의 최신 커밋 나열: + +`git show-branch --all --list` + +- 현재 브랜치와 특정 브랜치 비교: + +`git show-branch --current {{커밋|브랜치_이름|참조}}` + +- 상대적 이름 대신 커밋 이름 표시: + +`git show-branch --sha1-name --current {{현재|브랜치_이름|참조}}` + +- 공통 조상 이후의 커밋을 주어진 숫자만큼 계속 표시: + +`git show-branch --more {{5}} {{커밋|브랜치_이름|참조}} {{커밋|브랜치_이름|참조}} {{...}}` diff --git a/pages.ko/common/git-show-index.md b/pages.ko/common/git-show-index.md new file mode 100644 index 00000000000000..7ff530f061062c --- /dev/null +++ b/pages.ko/common/git-show-index.md @@ -0,0 +1,12 @@ +# git show-index + +> Git 저장소의 패키지된 아카이브 색인 표시. +> 더 많은 정보: . + +- Git 패키지 파일의 IDX 파일을 읽고 내용을 `stdout`에 덤프: + +`git show-index {{경로/대상/파일.idx}}` + +- 색인 파일의 해시 알고리즘 지정 (실험적): + +`git show-index --object-format={{sha1|sha256}} {{경로/대상/파일}}` diff --git a/pages.ko/common/git-show-merged-branches.md b/pages.ko/common/git-show-merged-branches.md new file mode 100644 index 00000000000000..1f809db9153980 --- /dev/null +++ b/pages.ko/common/git-show-merged-branches.md @@ -0,0 +1,8 @@ +# git show-merged-branches + +> 현재 헤드에 병합된 모든 브랜치를 출력. +> 더 많은 정보: . + +- 현재 헤드에 병합된 모든 브랜치를 출력: + +`git show-merged-branches` diff --git a/pages.ko/common/git-show-ref.md b/pages.ko/common/git-show-ref.md new file mode 100644 index 00000000000000..4cd79c82b927b7 --- /dev/null +++ b/pages.ko/common/git-show-ref.md @@ -0,0 +1,20 @@ +# git show-ref + +> Git 레퍼런스를 나열하는 명령어. +> 더 많은 정보: . + +- 저장소의 모든 레퍼런스 표시: + +`git show-ref` + +- 헤드 레퍼런스만 표시: + +`git show-ref --heads` + +- 태그 레퍼런스만 표시: + +`git show-ref --tags` + +- 주어진 레퍼런스가 존재하는지 확인: + +`git show-ref --verify {{경로/대상/레퍼런스}}` diff --git a/pages.ko/common/git-show-tree.md b/pages.ko/common/git-show-tree.md new file mode 100644 index 00000000000000..a6d3e189cad355 --- /dev/null +++ b/pages.ko/common/git-show-tree.md @@ -0,0 +1,9 @@ +# git show-tree + +> Git 저장소의 모든 브랜치를 장식된 트리 그래프로 보여주며 주석을 표시합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 태그와 브랜치 이름이 주석으로 달린 모든 브랜치의 장식된 트리 그래프 표시: + +`git show-tree` diff --git a/pages.ko/common/git-show-unmerged-branches.md b/pages.ko/common/git-show-unmerged-branches.md new file mode 100644 index 00000000000000..914922c98cd011 --- /dev/null +++ b/pages.ko/common/git-show-unmerged-branches.md @@ -0,0 +1,8 @@ +# git show-unmerged-branches + +> 현재 HEAD에 병합되지 않은 모든 브랜치를 출력. +> 더 많은 정보: . + +- 현재 HEAD에 병합되지 않은 모든 브랜치를 출력: + +`git show-unmerged-branches` diff --git a/pages.ko/common/git-show.md b/pages.ko/common/git-show.md new file mode 100644 index 00000000000000..624d2c577385c3 --- /dev/null +++ b/pages.ko/common/git-show.md @@ -0,0 +1,36 @@ +# git show + +> 다양한 종류의 Git 객체 (커밋, 태그 등)을 표시합니다. +> 더 많은 정보: . + +- 최신 커밋에 대한 정보 표시 (해시, 메시지, 변경 사항 및 기타 메타데이터): + +`git show` + +- 특정 커밋에 대한 정보 표시: + +`git show {{커밋}}` + +- 특정 태그와 관련된 커밋에 대한 정보 표시: + +`git show {{태그}}` + +- 브랜치의 HEAD로부터 3번째 커밋에 대한 정보 표시: + +`git show {{브랜치}}~{{3}}` + +- 커밋 메시지를 한 줄로 표시하고 diff 출력을 억제: + +`git show --oneline -s {{커밋}}` + +- 변경된 파일에 대한 추가/제거된 문자의 통계만 표시: + +`git show --stat {{커밋}}` + +- 추가, 이름 변경 또는 삭제된 파일 목록만 표시: + +`git show --summary {{커밋}}` + +- 파일의 내용을 특정 리비전 (예: 브랜치, 태그 또는 커밋)에서 표시: + +`git show {{리비전}}:{{경로/대상/파일}}` diff --git a/pages.ko/common/git-sizer.md b/pages.ko/common/git-sizer.md new file mode 100644 index 00000000000000..d8686405bd36b5 --- /dev/null +++ b/pages.ko/common/git-sizer.md @@ -0,0 +1,16 @@ +# git-sizer + +> 다양한 Git 저장소 크기 메트릭을 계산하고 문제나 불편을 초래할 수 있는 항목을 경고합니다. +> 더 많은 정보: . + +- 우려 수준이 0보다 큰 통계만 보고: + +`git-sizer` + +- 모든 통계 보고: + +`git-sizer -v` + +- 추가 옵션 보기: + +`git-sizer -h` diff --git a/pages.ko/common/git-squash.md b/pages.ko/common/git-squash.md new file mode 100644 index 00000000000000..04e1923b778d3b --- /dev/null +++ b/pages.ko/common/git-squash.md @@ -0,0 +1,21 @@ +# git squash + +> 여러 커밋을 하나의 커밋으로 합치기. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 특정 브랜치의 모든 커밋을 현재 브랜치에 하나의 커밋으로 합치기: + +`git squash {{source_branch}}` + +- 현재 브랜치에서 특정 커밋부터 시작하는 모든 커밋을 합치기: + +`git squash {{commit}}` + +- 최근 `n`개의 커밋을 합치고 메시지와 함께 커밋: + +`git squash HEAD~{{n}} "{{메시지}}"` + +- 최근 `n`개의 커밋을 합치고 모든 개별 메시지를 연결하여 커밋: + +`git squash --squash-msg HEAD~{{n}}` diff --git a/pages.ko/common/git-stage.md b/pages.ko/common/git-stage.md new file mode 100644 index 00000000000000..67cbe08e40c35c --- /dev/null +++ b/pages.ko/common/git-stage.md @@ -0,0 +1,7 @@ +# git stage + +> 이 명령은 `git add`의 별칭입니다. + +- 원본 명령에 대한 설명 보기: + +`tldr git add` diff --git a/pages.ko/common/git-stamp.md b/pages.ko/common/git-stamp.md new file mode 100644 index 00000000000000..b10f38d9cd808d --- /dev/null +++ b/pages.ko/common/git-stamp.md @@ -0,0 +1,17 @@ +# git stamp + +> 마지막 커밋 메시지에 버그 추적기의 이슈 번호를 참조하거나 리뷰 페이지 링크를 추가합니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 버그 추적기의 이슈 번호를 참조하여 마지막 커밋 메시지에 스탬프 추가: + +`git stamp {{이슈_번호}}` + +- 리뷰 페이지 링크를 추가하여 마지막 커밋 메시지에 스탬프 추가: + +`git stamp {{리뷰 https://example.org/path/to/review}}` + +- 이전 이슈를 새 이슈로 교체하여 마지막 커밋 메시지에 스탬프 추가: + +`git stamp {{[-r|--replace]}} {{이슈_번호}}` diff --git a/pages.ko/common/git-standup.md b/pages.ko/common/git-standup.md new file mode 100644 index 00000000000000..25c0b0a7955b81 --- /dev/null +++ b/pages.ko/common/git-standup.md @@ -0,0 +1,21 @@ +# git standup + +> 지정된 사용자의 커밋을 확인. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 지정된 작성자의 최근 10일간의 커밋 보기: + +`git standup -a {{이름|이메일}} -d {{10}}` + +- 지정된 작성자의 최근 10일간의 커밋 및 GPG 서명 여부 확인: + +`git standup -a {{이름|이메일}} -d {{10}} -g` + +- 최근 10일간 모든 기여자의 모든 커밋 보기: + +`git standup -a all -d {{10}}` + +- 도움말 표시: + +`git standup -h` diff --git a/pages.ko/common/git-stash.md b/pages.ko/common/git-stash.md new file mode 100644 index 00000000000000..349e1d65c300e0 --- /dev/null +++ b/pages.ko/common/git-stash.md @@ -0,0 +1,36 @@ +# git stash + +> 로컬 Git 변경사항을 임시 영역에 저장합니다. +> 더 많은 정보: . + +- 새롭게 생성한 (Git에서 관리하지 않는) 파일을 제외하고 현재 변경사항을 메시지와 함께 임시 저장: + +`git stash push {{[-m|--message]}} {{optional_stash_message}}` + +- 새롭게 생성한 (Git에서 관리하지 않는) 파일을 포함하여 현재 변경사항을 임시 저장: + +`git stash {{[-u|--include-untracked]}}` + +- 변경된 파일들의 특정 부분만 선택하여 임시 저장 (대화형 프롬프트): + +`git stash {{[-p|--patch]}}` + +- 모든 임시 저장 목록 표시 (임시 저장 이름, 관련 브랜치 및 메시지 표시): + +`git stash list` + +- 임시 저장(기본값은 `stash@{0}`)과 해당 임시 저장이 생성된 시점의 커밋 사이의 변경 사항을 터미널에 상세히 표시: + +`git stash show {{[-p|--patch]}} {{stash@{0}}}` + +- 임시 저장 적용 (기본값은 가장 최근 임시 저장인 stash@{0}): + +`git stash apply {{optional_stash_name_or_commit}}` + +- 임시 저장을 적용하고 (기본값은 stash@{0}), 적용 시 충돌이 없으면 임시 저장 목록에서 제거: + +`git stash pop {{optional_stash_name}}` + +- 모든 임시 저장 삭제: + +`git stash clear` diff --git a/pages.ko/common/git-status.md b/pages.ko/common/git-status.md new file mode 100644 index 00000000000000..1af5f9d1937b8f --- /dev/null +++ b/pages.ko/common/git-status.md @@ -0,0 +1,33 @@ +# git status + +> Git 저장소의 파일 변경 사항을 표시합니다. +> 현재 체크아웃된 커밋과 비교하여 변경된, 추가된 및 삭제된 파일을 나열합니다. +> 더 많은 정보: . + +- 커밋할 파일로 아직 추가되지 않은 변경된 파일 보기: + +`git status` + +- [s]hort 형식으로 출력: + +`git status {{[-s|--short]}}` + +- 스테이징 영역과 작업 디렉토리의 변경 사항에 대한 [v]erbose 정보 표시: + +`git status {{[-vv|--verbose --verbose]}}` + +- [b]ranch 및 추적 정보 표시: + +`git status {{[-b|--branch]}}` + +- [s]hort 형식으로 출력하면서 [b]ranch 정보 표시: + +`git status {{[-sb|--short --branch]}}` + +- 현재 숨겨둔 엔트리의 수 표시: + +`git status --show-stash` + +- 출력에 추적되지 않는 파일을 표시하지 않기: + +`git status {{[-uno|--untracked-files=no]}}` diff --git a/pages.ko/common/git-stripspace.md b/pages.ko/common/git-stripspace.md new file mode 100644 index 00000000000000..e4806980511934 --- /dev/null +++ b/pages.ko/common/git-stripspace.md @@ -0,0 +1,16 @@ +# git stripspace + +> 텍스트(예: 커밋 메시지, 노트, 태그 및 브랜치 설명)를 `stdin`에서 읽고 Git에서 사용하는 방식으로 정리합니다. +> 더 많은 정보: . + +- 파일에서 공백 제거: + +`cat {{경로/대상/파일}} | git stripspace` + +- 파일에서 공백 및 Git 주석 제거: + +`cat {{경로/대상/파일}} | git stripspace --strip-comments` + +- 파일의 모든 줄을 Git 주석으로 변환: + +`git stripspace --comment-lines < {{경로/대상/파일}}` diff --git a/pages.ko/common/git-submodule.md b/pages.ko/common/git-submodule.md new file mode 100644 index 00000000000000..57ed6b48bbc721 --- /dev/null +++ b/pages.ko/common/git-submodule.md @@ -0,0 +1,20 @@ +# git submodule + +> 서브모듈을 검사하고 업데이트하며 관리합니다. +> 더 많은 정보: . + +- 저장소의 지정된 서브모듈 설치: + +`git submodule update --init --recursive` + +- Git 저장소를 서브모듈로 추가: + +`git submodule add {{repository_url}}` + +- Git 저장소를 지정된 폴더에 서브모듈로 추가: + +`git submodule add {{repository_url}} {{경로/대상/폴더}}` + +- 모든 서브모듈을 최신 커밋으로 업데이트: + +`git submodule foreach git pull` diff --git a/pages.ko/common/git-subtree.md b/pages.ko/common/git-subtree.md new file mode 100644 index 00000000000000..1b83c22cd9d7f3 --- /dev/null +++ b/pages.ko/common/git-subtree.md @@ -0,0 +1,24 @@ +# git subtree + +> 프로젝트 종속성을 하위 프로젝트로 관리. +> 더 많은 정보: . + +- Git 저장소를 서브트리로 추가: + +`git subtree add {{[-P|--prefix]}} {{경로/대상/폴더/}} --squash {{repository_url}} {{branch_name}}` + +- 서브트리 저장소를 최신 커밋으로 업데이트: + +`git subtree pull {{[-P|--prefix]}} {{경로/대상/폴더/}} {{repository_url}} {{branch_name}}` + +- 최신 서브트리 커밋까지의 최근 변경 사항을 서브트리에 병합: + +`git subtree merge {{[-P|--prefix]}} {{경로/대상/폴더/}} --squash {{repository_url}} {{branch_name}}` + +- 커밋을 서브트리 저장소로 푸시: + +`git subtree push {{[-P|--prefix]}} {{경로/대상/폴더/}} {{repository_url}} {{branch_name}}` + +- 서브트리의 기록에서 새로운 프로젝트 기록 추출: + +`git subtree split {{[-P|--prefix]}} {{경로/대상/폴더/}} {{repository_url}} {{[-b|--branch]}} {{branch_name}}` diff --git a/pages.ko/common/git-summary.md b/pages.ko/common/git-summary.md new file mode 100644 index 00000000000000..c13242e0a88743 --- /dev/null +++ b/pages.ko/common/git-summary.md @@ -0,0 +1,21 @@ +# git summary + +> Git 저장소에 대한 정보를 표시. +> `git-extras`의 일부. +> 더 많은 정보: . + +- Git 저장소에 대한 정보 표시: + +`git summary` + +- 특정 커밋 이후의 Git 저장소에 대한 정보 표시: + +`git summary {{커밋|브랜치_명|태그_명}}` + +- 서로 다른 이메일을 사용하는 커미터를 저자별 통계로 합산하여 Git 저장소에 대한 정보 표시: + +`git summary --dedup-by-email` + +- 각 기여자가 수정한 줄 수를 표시하여 Git 저장소에 대한 정보 표시: + +`git summary --line` diff --git a/pages.ko/common/git-svn.md b/pages.ko/common/git-svn.md new file mode 100644 index 00000000000000..a7be26a4fd8193 --- /dev/null +++ b/pages.ko/common/git-svn.md @@ -0,0 +1,24 @@ +# git svn + +> Subversion 저장소와 Git 간의 양방향 작업. +> 더 많은 정보: . + +- SVN 저장소 클론: + +`git svn clone {{https://example.com/subversion_repo}} {{local_dir}}` + +- 특정 리비전 번호에서 시작하여 SVN 저장소 클론: + +`git svn clone {{[-r|--revision]}} {{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}` + +- 원격 SVN 저장소에서 로컬 클론 업데이트: + +`git svn rebase` + +- Git HEAD를 변경하지 않고 원격 SVN 저장소에서 업데이트 가져오기: + +`git svn fetch` + +- SVN 저장소에 커밋: + +`git svn commit` diff --git a/pages.ko/common/git-switch.md b/pages.ko/common/git-switch.md new file mode 100644 index 00000000000000..2158ee7258aba2 --- /dev/null +++ b/pages.ko/common/git-switch.md @@ -0,0 +1,29 @@ +# git switch + +> Git 브랜치 간 전환합니다. Git 버전 2.23+가 필요합니다. +> 같이 보기: `git checkout`. +> 더 많은 정보: . + +- 기존 브랜치로 전환: + +`git switch {{브랜치_이름}}` + +- 새 브랜치를 만들고 전환: + +`git switch {{[-c|--create]}} {{브랜치_이름}}` + +- 기존 커밋을 기반으로 새 브랜치를 만들고 전환: + +`git switch {{[-c|--create]}} {{브랜치_이름}} {{커밋}}` + +- 이전 브랜치로 전환: + +`git switch -` + +- 브랜치로 전환하고 모든 서브모듈을 일치하도록 업데이트: + +`git switch --recurse-submodules {{브랜치_이름}}` + +- 브랜치로 전환하고 현재 브랜치와 미커밋된 변경 사항을 자동으로 병합: + +`git switch {{[-m|--merge]}} {{브랜치_이름}}` diff --git a/pages.ko/common/git-symbolic-ref.md b/pages.ko/common/git-symbolic-ref.md new file mode 100644 index 00000000000000..32e5b2f3936c3b --- /dev/null +++ b/pages.ko/common/git-symbolic-ref.md @@ -0,0 +1,24 @@ +# git symbolic-ref + +> 참조를 저장하는 파일을 읽고, 변경하거나 삭제합니다. +> 더 많은 정보: . + +- 이름으로 참조 저장: + +`git symbolic-ref refs/{{이름}} {{참조}}` + +- 업데이트 이유를 포함한 메시지와 함께 이름으로 참조 저장: + +`git symbolic-ref -m "{{메시지}}" refs/{{이름}} refs/heads/{{브랜치_이름}}` + +- 이름으로 참조 읽기: + +`git symbolic-ref refs/{{이름}}` + +- 이름으로 참조 삭제: + +`git symbolic-ref --delete refs/{{이름}}` + +- 스크립팅을 위해 `--quiet`로 오류를 숨기고 `--short`를 사용하여 간소화하기 ("refs/heads/X"가 "X"로 출력됨): + +`git symbolic-ref --quiet --short refs/{{이름}}` diff --git a/pages.ko/common/git-sync.md b/pages.ko/common/git-sync.md new file mode 100644 index 00000000000000..01501a6589c0cd --- /dev/null +++ b/pages.ko/common/git-sync.md @@ -0,0 +1,17 @@ +# git sync + +> 로컬 브랜치를 원격 브랜치와 동기화. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 현재 로컬 브랜치를 해당 원격 브랜치와 동기화: + +`git sync` + +- 현재 로컬 브랜치를 원격 main 브랜치와 동기화: + +`git sync origin main` + +- 추적되지 않은 파일을 삭제하지 않고 동기화: + +`git sync {{[-s|--soft]}} {{원격_이름}} {{브랜치_이름}}` diff --git a/pages.ko/common/git-tag.md b/pages.ko/common/git-tag.md new file mode 100644 index 00000000000000..0f679bf23c7350 --- /dev/null +++ b/pages.ko/common/git-tag.md @@ -0,0 +1,37 @@ +# git tag + +> 태그를 생성하거나 나열하거나 삭제하거나 확인합니다. +> 태그는 커밋에 대한 정적 참조입니다. +> 더 많은 정보: . + +- 모든 태그 나열: + +`git tag` + +- 주어진 이름을 가진 태그를 현재 커밋을 가리키도록 생성: + +`git tag {{태그_이름}}` + +- 주어진 이름을 가진 태그를 주어진 커밋을 가리키도록 생성: + +`git tag {{태그_이름}} {{커밋}}` + +- 주어진 메시지로 주석이 달린 태그 생성: + +`git tag {{태그_이름}} {{[-m|--message]}} {{태그_메시지}}` + +- 주어진 이름을 가진 태그를 삭제: + +`git tag {{[-d|--delete]}} {{태그_이름}}` + +- 업스트림에서 업데이트된 태그 가져오기: + +`git fetch {{[-t|--tags]}}` + +- 태그를 원격 저장소에 푸시: + +`git push origin tag {{태그_이름}}` + +- 주어진 커밋을 포함하는 모든 태그 목록: + +`git tag --contains {{커밋}}` diff --git a/pages.ko/common/git-touch.md b/pages.ko/common/git-touch.md new file mode 100644 index 00000000000000..9c7ad8229c37fc --- /dev/null +++ b/pages.ko/common/git-touch.md @@ -0,0 +1,9 @@ +# git touch + +> 새 파일을 생성하고 색인에 추가. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 새 파일을 생성하고 색인에 추가: + +`git touch {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/git-undo.md b/pages.ko/common/git-undo.md new file mode 100644 index 00000000000000..60ec6bb316d512 --- /dev/null +++ b/pages.ko/common/git-undo.md @@ -0,0 +1,13 @@ +# git undo + +> 최근 커밋을 되돌립니다. +> `git-extras`의 일부입니다. +> 더 많은 정보: . + +- 가장 최근 커밋 제거: + +`git undo` + +- 가장 최근 커밋 중 특정 개수 제거: + +`git undo {{3}}` diff --git a/pages.ko/common/git-unlock.md b/pages.ko/common/git-unlock.md new file mode 100644 index 00000000000000..423078ca97f42c --- /dev/null +++ b/pages.ko/common/git-unlock.md @@ -0,0 +1,9 @@ +# git unlock + +> Git 저장소에서 특정 파일의 잠금을 해제하여 커밋으로 수정할 수 있도록 합니다. +> `git-extras`의 일부입니다. 같이 보기: `git lock`. +> 더 많은 정보: . + +- 이전에 잠긴 로컬 파일의 변경 사항을 커밋할 수 있도록 설정: + +`git unlock {{경로/대상/파일}}` diff --git a/pages.ko/common/git-unpack-file.md b/pages.ko/common/git-unpack-file.md new file mode 100644 index 00000000000000..a9713fd6278926 --- /dev/null +++ b/pages.ko/common/git-unpack-file.md @@ -0,0 +1,8 @@ +# git unpack-file + +> Blob의 내용을 가진 임시 파일을 생성. +> 더 많은 정보: . + +- ID로 지정된 Blob의 내용을 가진 파일을 생성하고 임시 파일의 이름 출력: + +`git unpack-file {{blob_id}}` diff --git a/pages.ko/common/git-update-index.md b/pages.ko/common/git-update-index.md new file mode 100644 index 00000000000000..8695ef98d86a24 --- /dev/null +++ b/pages.ko/common/git-update-index.md @@ -0,0 +1,8 @@ +# git update-index + +> Git 색인을 조작하기 위한 명령어. +> 더 많은 정보: . + +- 수정된 파일이 변경되지 않은 것처럼 가장하기 (`git status`에서 변경 사항으로 표시되지 않음): + +`git update-index --skip-worktree {{경로/대상/수정된_파일}}` diff --git a/pages.ko/common/git-update-ref.md b/pages.ko/common/git-update-ref.md new file mode 100644 index 00000000000000..53e21a81c1adc9 --- /dev/null +++ b/pages.ko/common/git-update-ref.md @@ -0,0 +1,12 @@ +# git update-ref + +> Git 참조를 생성, 업데이트 및 삭제하는 Git 명령어. +> 더 많은 정보: . + +- 참조 삭제 (첫 커밋을 소프트 리셋하는 데 유용): + +`git update-ref -d {{HEAD}}` + +- 메시지와 함께 참조 업데이트: + +`git update-ref -m {{메시지}} {{HEAD}} {{4e95e05}}` diff --git a/pages.ko/common/git-utimes.md b/pages.ko/common/git-utimes.md new file mode 100644 index 00000000000000..dd2458070e0ab3 --- /dev/null +++ b/pages.ko/common/git-utimes.md @@ -0,0 +1,13 @@ +# git utimes + +> 파일의 수정 시간을 마지막 커밋 날짜로 변경. 작업 트리 또는 색인에 있는 파일은 건드리지 않습니다. +> `git-extras`의 일부. +> 더 많은 정보: . + +- 모든 파일의 수정 시간을 마지막 커밋 날짜로 변경: + +`git utimes` + +- 마지막 커밋 날짜보다 최신인 파일의 수정 시간을 변경하고, 로컬 리포지토리에서 커밋된 파일의 원래 수정 시간을 유지: + +`git utimes --newer` diff --git a/pages.ko/common/git-var.md b/pages.ko/common/git-var.md new file mode 100644 index 00000000000000..434f9777200e32 --- /dev/null +++ b/pages.ko/common/git-var.md @@ -0,0 +1,13 @@ +# git var + +> Git 논리 변수의 값을 출력. +> `git var`보다 `git config`를 사용하는 것이 좋습니다. +> 더 많은 정보: . + +- Git 논리 변수의 값을 출력: + +`git var {{GIT_AUTHOR_IDENT|GIT_COMMITTER_IDENT|GIT_EDITOR|GIT_PAGER}}` + +- 모든 Git 논리 변수를 [l]리스트: + +`git var -l` diff --git a/pages.ko/common/git-verify-commit.md b/pages.ko/common/git-verify-commit.md new file mode 100644 index 00000000000000..54e19171325f60 --- /dev/null +++ b/pages.ko/common/git-verify-commit.md @@ -0,0 +1,17 @@ +# git verify-commit + +> 커밋의 GPG 검증 확인. +> 커밋이 검증되지 않으면, 지정된 옵션에 상관없이 아무것도 출력되지 않습니다. +> 더 많은 정보: . + +- 커밋에 대한 GPG 서명 확인: + +`git verify-commit {{커밋_해시1 선택_커밋_해시2 ...}}` + +- 커밋에 대한 GPG 서명을 확인하고 각 커밋의 세부 정보를 표시: + +`git verify-commit {{커밋_해시1 선택_커밋_해시2 ...}} --verbose` + +- 커밋에 대한 GPG 서명을 확인하고 원시 세부 정보를 출력: + +`git verify-commit {{커밋_해시1 선택_커밋_해시2 ...}} --raw` diff --git a/pages.ko/common/git-verify-pack.md b/pages.ko/common/git-verify-pack.md new file mode 100644 index 00000000000000..2a8479bbb0ebf0 --- /dev/null +++ b/pages.ko/common/git-verify-pack.md @@ -0,0 +1,16 @@ +# git verify-pack + +> Git 압축 아카이브 파일 검증. +> 더 많은 정보: . + +- Git 압축 아카이브 파일 검증: + +`git verify-pack {{경로/대상/pack-file}}` + +- Git 압축 아카이브 파일을 검증하고 자세한 정보 표시: + +`git verify-pack --verbose {{경로/대상/pack-file}}` + +- Git 압축 아카이브 파일을 검증하고 통계만 표시: + +`git verify-pack --stat-only {{경로/대상/pack-file}}` diff --git a/pages.ko/common/git-verify-tag.md b/pages.ko/common/git-verify-tag.md new file mode 100644 index 00000000000000..f55a9b52594bf3 --- /dev/null +++ b/pages.ko/common/git-verify-tag.md @@ -0,0 +1,17 @@ +# git verify-tag + +> 태그의 GPG 서명을 검증. +> 태그가 서명되지 않은 경우 오류가 발생합니다. +> 더 많은 정보: . + +- 태그의 GPG 서명 검증: + +`git verify-tag {{태그1 선택적_태그2 ...}}` + +- 태그의 GPG 서명을 검증하고 각 태그에 대한 세부 정보를 표시: + +`git verify-tag {{태그1 선택적_태그2 ...}} --verbose` + +- 태그의 GPG 서명을 검증하고 원시 세부 정보를 출력: + +`git verify-tag {{태그1 선택적_태그2 ...}} --raw` diff --git a/pages.ko/common/git-whatchanged.md b/pages.ko/common/git-whatchanged.md new file mode 100644 index 00000000000000..f6b1661694db1c --- /dev/null +++ b/pages.ko/common/git-whatchanged.md @@ -0,0 +1,17 @@ +# git whatchanged + +> 최근 커밋 또는 파일의 변경 사항을 보여줍니다. +> 같이 보기: `git log`. +> 더 많은 정보: . + +- 최근 커밋의 로그와 변경 사항 표시: + +`git whatchanged` + +- 지정된 시간 범위 내에서 최근 커밋의 로그와 변경 사항 표시: + +`git whatchanged --since="{{2 hours ago}}"` + +- 특정 파일 또는 디렉토리에 대한 최근 커밋의 로그와 변경 사항 표시: + +`git whatchanged {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/git-worktree.md b/pages.ko/common/git-worktree.md new file mode 100644 index 00000000000000..d3f3a3e8d06578 --- /dev/null +++ b/pages.ko/common/git-worktree.md @@ -0,0 +1,20 @@ +# git worktree + +> 동일한 저장소에 연결된 여러 작업 트리를 관리. +> 더 많은 정보: . + +- 지정된 브랜치가 체크아웃된 새 디렉터리 생성: + +`git worktree add {{경로/대상/폴더}} {{브랜치}}` + +- 새로운 브랜치가 체크아웃된 새 디렉터리 생성: + +`git worktree add {{경로/대상/폴더}} -b {{새_브랜치}}` + +- 이 저장소에 연결된 모든 작업 디렉터리 나열: + +`git worktree list` + +- 작업 트리 제거 (작업 트리 디렉터리 삭제 후): + +`git worktree prune` diff --git a/pages.ko/common/git-write-tree.md b/pages.ko/common/git-write-tree.md new file mode 100644 index 00000000000000..e3ae61eec44673 --- /dev/null +++ b/pages.ko/common/git-write-tree.md @@ -0,0 +1,16 @@ +# git write-tree + +> 현재 색인에서 트리 객체를 생성하는 저수준 유틸리티. +> 더 많은 정보: . + +- 현재 색인에서 트리 객체 생성: + +`git write-tree` + +- 디렉토리가 참조하는 객체가 객체 데이터베이스에 존재하는지 확인하지 않고 트리 객체 생성: + +`git write-tree --missing-ok` + +- 하위 디렉토리를 나타내는 트리 객체 생성 (지정된 하위 디렉토리에 대한 하위 프로젝트의 트리 객체를 작성할 때 사용): + +`git write-tree --prefix {{하위_디렉토리}}/` diff --git a/pages.ko/common/git.md b/pages.ko/common/git.md new file mode 100644 index 00000000000000..be36798960636f --- /dev/null +++ b/pages.ko/common/git.md @@ -0,0 +1,29 @@ +# git + +> 분산 버전 관리 시스템. +> `commit`, `add`, `branch`, `checkout`, `push` 등의 특정 하위 명령어는 고유의 문서가 따로 있습니다. `tldr git subcommand`를 통해 확인할 수 있습니다. +> 더 많은 정보: . + +- 하위 명령어 실행: + +`git {{하위_명령어}}` + +- 특정 레파지토리 위치에서 Git 하위 명령어 실행: + +`git -C {{특정/레파지토리/경로}} {{하위_명령어}}` + +- 주어진 설정으로 Git 하위 명령어 실행: + +`git -c '{{설정.키}}={{설정.값}}' {{하위_명령어}}` + +- 일반 도움말 출력: + +`git --help` + +- 하위 명령어 도움말 출력 (`clone`, `add`, `push`, `log`, 등등): + +`git help {{하위_명령어}}` + +- Git 버전 확인: + +`git --version` diff --git a/pages.ko/common/github-label-sync.md b/pages.ko/common/github-label-sync.md new file mode 100644 index 00000000000000..cd358fe9ac0445 --- /dev/null +++ b/pages.ko/common/github-label-sync.md @@ -0,0 +1,24 @@ +# github-label-sync + +> GitHub 라벨 동기화. +> 더 많은 정보: . + +- 로컬 `labels.json` 파일을 사용하여 라벨을 동기화: + +`github-label-sync --access-token {{토큰}} {{레포지토리_이름}}` + +- 특정 라벨 JSON 파일을 사용하여 라벨을 동기화: + +`github-label-sync --access-token {{토큰}} --labels {{url|경로/대상/json_파일}} {{레포지토리_이름}}` + +- 실제로 라벨을 동기화하는 대신 테스트 실행을 수행: + +`github-label-sync --access-token {{토큰}} --dry-run {{레포지토리_이름}}` + +- `labels.json`에 없는 라벨을 유지: + +`github-label-sync --access-token {{토큰}} --allow-added-labels {{레포지토리_이름}}` + +- `GITHUB_ACCESS_TOKEN` 환경 변수를 사용하여 동기화: + +`github-label-sync {{레포지토리_이름}}` diff --git a/pages.ko/common/gitk.md b/pages.ko/common/gitk.md new file mode 100644 index 00000000000000..1bcee1548a3194 --- /dev/null +++ b/pages.ko/common/gitk.md @@ -0,0 +1,25 @@ +# gitk + +> Git 저장소를 그래픽으로 탐색. +> 참고: `git-gui`, `git-cola`, `tig`. +> 더 많은 정보: . + +- 현재 Git 저장소에 대한 저장소 브라우저를 표시: + +`gitk` + +- 특정 파일이나 디렉토리에 대한 저장소 브라우저 표시: + +`gitk {{경로/대상/파일_또는_디렉토리}}` + +- 1주일 전 이후에 이루어진 커밋 표시: + +`gitk --since="{{1 week ago}}"` + +- 2016년 1월 1일보다 오래된 커밋을 표시: + +`gitk --until="{{1/1/2015}}"` + +- 모든 지점에서 최대 100개의 변경 사항 표시: + +`gitk --max-count=100 --all` diff --git a/pages.ko/common/gitlab-ctl.md b/pages.ko/common/gitlab-ctl.md new file mode 100644 index 00000000000000..dba1512544719e --- /dev/null +++ b/pages.ko/common/gitlab-ctl.md @@ -0,0 +1,28 @@ +# gitlab-ctl + +> GitLab 옴니버스를 관리. +> 더 많은 정보: . + +- 모든 서비스의 상태를 표시: + +`sudo gitlab-ctl status` + +- 특정 서비스의 상태를 표시: + +`sudo gitlab-ctl status {{nginx}}` + +- 모든 서비스 재시작: + +`sudo gitlab-ctl restart` + +- 특정 서비스 재시작: + +`sudo gitlab-ctl restart {{nginx}}` + +- 모든 서비스의 로그를 표시 및 ``를 누를 때까지 계속 읽기: + +`sudo gitlab-ctl tail` + +- 특정 서비스의 로그를 표시: + +`sudo gitlab-ctl tail {{nginx}}` diff --git a/pages.ko/common/gitlab-runner.md b/pages.ko/common/gitlab-runner.md new file mode 100644 index 00000000000000..53d4978ee47337 --- /dev/null +++ b/pages.ko/common/gitlab-runner.md @@ -0,0 +1,28 @@ +# gitlab-runner + +> GitLab 실행기 관리. +> 더 많은 정보: . + +- 실행기 등록: + +`sudo gitlab-runner register --url {{https://gitlab.example.com}} --registration-token {{토큰}} --name {{이름}}` + +- Docker 실행기로 실행기를 등록: + +`sudo gitlab-runner register --url {{https://gitlab.example.com}} --registration-token {{토큰}} --name {{이름}} --executor {{docker}}` + +- 실행기 등록 해제: + +`sudo gitlab-runner unregister --name {{이름}}` + +- 실행기 서비스 상태를 표시: + +`sudo gitlab-runner status` + +- 실행기 서비스를 다시 시작: + +`sudo gitlab-runner restart` + +- 등록된 실행기가 GitLab에 연결할 수 있는지 확인: + +`sudo gitlab-runner verify` diff --git a/pages.ko/common/gitlab.md b/pages.ko/common/gitlab.md new file mode 100644 index 00000000000000..a78edc11a9239e --- /dev/null +++ b/pages.ko/common/gitlab.md @@ -0,0 +1,21 @@ +# gitlab + +> GitLab API용 Ruby 래퍼. +> `ctl`과 같은 일부 하위 명령에는 자체 사용법 문서가 존재. +> 더 많은 정보: . + +- 새로운 프로젝트를 생성: + +`gitlab create_project {{프로젝트_이름}}` + +- 특정 커밋에 대한 정보를 얻기: + +`gitlab commit {{프로젝트_이름}} {{커밋_해시}}` + +- CI 파이프라인의 작업에 대한 정보를 얻기: + +`gitlab pipeline_jobs {{프로젝트_이름}} {{파이프라인_아이디}}` + +- 특정 CI 작업을 시작: + +`gitlab job_play {{프로젝트_이름}} {{작업_아이디}}` diff --git a/pages.ko/common/gitleaks.md b/pages.ko/common/gitleaks.md new file mode 100644 index 00000000000000..2677395476d828 --- /dev/null +++ b/pages.ko/common/gitleaks.md @@ -0,0 +1,32 @@ +# gitleaks + +> Git 레포지토리에서 유출된 비밀 및 API 키를 탐지. +> 더 많은 정보: . + +- 원격 디렉터리 스캔: + +`gitleaks detect --repo-url {{https://github.com/username/repository.git}}` + +- 로컬 디렉터리 스캔: + +`gitleaks detect --source {{경로/대상/디렉터리}}` + +- 스캔 결과를 JSON 파일로 출력: + +`gitleaks detect --source {{경로/대상/디렉터리}} --report {{경로/대상/리포트.json}}` + +- 사용자 정의 규칙 파일을 사용: + +`gitleaks detect --source {{경로/대상/디렉터리}} --config-path {{경로/대상/구성파일.toml}}` + +- 특정 커밋에서 스캔을 시작: + +`gitleaks detect --source {{경로/대상/디렉터리}} --log-opts {{--since=commit_id}}` + +- 커밋 전에 커밋되지 않은 변경사항을 검색: + +`gitleaks protect --staged` + +- 스캔 중에 보안 위험 노출로 식별된 부분을 나타내는 자세한 출력을 표시: + +`gitleaks protect --staged --verbose` diff --git a/pages.ko/common/gitlint.md b/pages.ko/common/gitlint.md new file mode 100644 index 00000000000000..feac9c723a1574 --- /dev/null +++ b/pages.ko/common/gitlint.md @@ -0,0 +1,28 @@ +# gitlint + +> Git 커밋 메시지 린터는 커밋 메시지의 스타일을 확인. +> 더 많은 정보: . + +- 마지막 커밋 메시지를 확인: + +`gitlint` + +- 린트에 대한 커밋 범위: + +`gitlint --commits {{단일_refspec_인수}}` + +- 추가 사용자 정의 규칙이 있는 디렉토리 또는 Python 모듈의 경로 표시: + +`gitlint --extra-path {{경로/대상/디렉터리}}` + +- 특정 CI 작업 시작: + +`gitlint --target {{경로/대상/대상_디렉터리}}` + +- commit-msg가 포함된 파일의 경로 표시: + +`gitlint --msg-filename {{경로/대상/파일이름}}` + +- 로컬 저장소에서 단계적 커밋 메타 정보를 읽음: + +`gitlint --staged` diff --git a/pages.ko/common/gitmoji.md b/pages.ko/common/gitmoji.md new file mode 100644 index 00000000000000..8ec4ce51c440ed --- /dev/null +++ b/pages.ko/common/gitmoji.md @@ -0,0 +1,32 @@ +# gitmoji + +> 커밋 시 이모티콘을 사용하기 위한 대화형 명령줄 도구입니다. +> 더 많은 정보: . + +- 커밋 마법사 시작: + +`gitmoji --commit` + +- git 훅을 초기화 (따라서, `git commit`이 실행될 때마다 `gitmoji`가 실행됨): + +`gitmoji --init` + +- git 훅을 제거: + +`gitmoji --remove` + +- 사용 가능한 모든 이모티콘과 설명을 나열: + +`gitmoji --list` + +- 키워드 목록에 대한 이모티콘 목록 검색: + +`gitmoji --search {{키워드1}} {{키워드2}}` + +- 기본 저장소에서 캐시된 이모티콘 목록 갱신: + +`gitmoji --update` + +- 전역 기본 설정 구성: + +`gitmoji --config` diff --git a/pages.ko/common/gitsome.md b/pages.ko/common/gitsome.md new file mode 100644 index 00000000000000..cc06e17614ef9f --- /dev/null +++ b/pages.ko/common/gitsome.md @@ -0,0 +1,29 @@ +# gitsome + +> `gh` 명령을 통해 접근할 수 있는 GitHub용 터미널 기반 인터페이스. +> 또한 `git` 명령에 대한 메뉴 스타일 자동 완성 제안도 제공. +> 더 많은 정보: . + +- Git (및 gh) 명령에 대한 자동 완성 및 대화형 도움말을 활성화하려면, gitsome 쉘(선택 사항)을 입력: + +`gitsome` + +- 현재 계정과 GitHub 통합을 설정: + +`gh configure` + +- 현재 계정에 대한 알림을 나열 (에서 볼 수 있음): + +`gh notifications` + +- 주어진 검색 문자열로 필터링된, 현재 계정의 별표 표시된 저장소를 나열: + +`gh starred "{{python 3}}"` + +- 특정 GitHub 저장소의 최근 활동 피드를 보기: + +`gh feed {{tldr-pages/tldr}}` + +- 기본 호출기(예: `less`)를 사용하여 특정 GitHub 사용자의 최근 활동 피드를 보기: + +`gh feed {{torvalds}} -p` diff --git a/pages.ko/common/gitstats.md b/pages.ko/common/gitstats.md new file mode 100644 index 00000000000000..6b4143b53ffd90 --- /dev/null +++ b/pages.ko/common/gitstats.md @@ -0,0 +1,12 @@ +# gitstats + +> Git 레포지토리 통계 생성기. +> 더 많은 정보: . + +- 로컬 저장소에 대한 통계를 생성: + +`gitstats {{경로/대상/git_레포/.git}} {{경로/대상/출력_폴더}}` + +- Windows (PowerShell)/macOS/Linux의 웹 브라우저에서 생성된 통계를 보기: + +`{{Invoke-Item|open|xdg-open}} {{경로/대상/출력_폴더/index.html}}` diff --git a/pages.ko/common/gitui.md b/pages.ko/common/gitui.md new file mode 100644 index 00000000000000..a4228740c8a686 --- /dev/null +++ b/pages.ko/common/gitui.md @@ -0,0 +1,37 @@ +# gitui + +> Git용 경량 키보드 전용 TUI. +> 참고: `tig`, `git-gui`. +> 더 많은 정보: . + +- 색상 테마를 지정 (기본값은 `theme.ron`): + +`gitui --theme {{테마}}` + +- 로깅 출력을 캐시 디렉터리에 저장: + +`gitui --logging` + +- tick 기반 업데이트 대신, 알림 기반 파일 시스템 감시자를 사용: + +`gitui --watcher` + +- 버그 리포트를 생성: + +`gitui --bugreport` + +- 특정 Git 레포지토리 사용: + +`gitui --directory {{경로/대상/디렉터리}}` + +- 특정 작업 디렉터리 사용: + +`gitui --workdir {{경로/대상/디렉터리}}` + +- 도움말 표시: + +`gitui --help` + +- 버전 정보 표시: + +`gitui --version` diff --git a/pages.ko/common/gitwatch.md b/pages.ko/common/gitwatch.md new file mode 100644 index 00000000000000..4913d718275eb7 --- /dev/null +++ b/pages.ko/common/gitwatch.md @@ -0,0 +1,16 @@ +# gitwatch + +> 파일 또는 디렉터리 변경 사항을 Git 리포지토리에 자동으로 커밋. +> 더 많은 정보: . + +- 파일이나 디렉터리에 대한 모든 변경 사항을 자동으로 커밋: + +`gitwatch {{경로/대상/파일_또는_디렉터리}}` + +- 변경 사항을 자동으로 커밋하고 원격 저장소에 푸시: + +`gitwatch -r {{원격_이름}} {{경로/대상/파일_또는_디렉터리}}` + +- 변경 사항을 자동으로 커밋하고 원격 저장소의 특정 브랜치로 푸시: + +`gitwatch -r {{원격_이름}} -b {{브랜치_이름}} {{경로/대상/파일_또는_디렉터리}}` diff --git a/pages.ko/common/gixy.md b/pages.ko/common/gixy.md new file mode 100644 index 00000000000000..037bb9de58af07 --- /dev/null +++ b/pages.ko/common/gixy.md @@ -0,0 +1,20 @@ +# gixy + +> nginx 구성 파일 분석. +> 더 많은 정보: . + +- nginx 구성 파일 분석 (기본 경로: `/etc/nginx/nginx.conf`): + +`gixy` + +- nginx 구성 분석하지만 특정 테스트 넘어감: + +`gixy --skips {{http_splitting}}` + +- 특정 세부 수준으로 nginx 구성을 분석: + +`gixy {{-l|-ll|-lll}}` + +- 특정 경로에서 nginx 구성 파일을 분석: + +`gixy {{경로/대상/구성_파일_1}} {{경로/대상/구성_파일_2}}` diff --git a/pages.ko/common/glab-alias.md b/pages.ko/common/glab-alias.md new file mode 100644 index 00000000000000..66256f14c4ec68 --- /dev/null +++ b/pages.ko/common/glab-alias.md @@ -0,0 +1,24 @@ +# glab alias + +> GitLab CLI 명령어 별칭을 관리. +> 더 많은 정보: . + +- 하위 명령어 도움말을 표시: + +`glab alias` + +- `glab`이 사용하도록 구성된 모든 별칭을 나열: + +`glab alias list` + +- `glab` 하위 명령 별칭을 생성: + +`glab alias set {{mrv}} '{{mr view}}'` + +- 쉘 명령을 `glab` 하위 명령으로 설정: + +`glab alias set {{[-s|--shell]}} {{alias_이름}} {{명령어}}` + +- 명령 단축키 삭제: + +`glab alias delete {{alias_이름}}` diff --git a/pages.ko/common/glab-auth.md b/pages.ko/common/glab-auth.md new file mode 100644 index 00000000000000..417f0be260825f --- /dev/null +++ b/pages.ko/common/glab-auth.md @@ -0,0 +1,20 @@ +# glab auth + +> GitLab 호스트로 인증. +> 더 많은 정보: . + +- 대화형 프롬프트로 로그인: + +`glab auth login` + +- 토큰으로 로그인: + +`glab auth login {{[-t|--token]}} {{토큰}}` + +- 인증 상태 확인: + +`glab auth status` + +- 특정 GitLab 인스턴스에 로그인: + +`glab auth login {{[-h|--hostname]}} {{gitlab.example.com}}` diff --git a/pages.ko/common/glab-issue.md b/pages.ko/common/glab-issue.md new file mode 100644 index 00000000000000..a1d35be2ac37d6 --- /dev/null +++ b/pages.ko/common/glab-issue.md @@ -0,0 +1,28 @@ +# glab issue + +> GitLab 이슈 관리. +> 더 많은 정보: . + +- 특정 이슈 표시: + +`glab issue view {{이슈_번호}}` + +- 기본 웹 브라우저에 특정 문제를 표시: + +`glab issue view {{이슈_번호}} {{[-w|--web]}}` + +- 기본 웹 브라우저에 새로운 이슈를 생성: + +`glab issue create --web` + +- `bug` 라벨이 있는 최근 10개 문제를 나열: + +`glab issue list {{[-P|--per-page]}} {{10}} {{[-l|--label]}} "{{bug}}"` + +- 특정 사용자가 작성한 닫힌 이슈를 나열: + +`glab issue list {{[-c|--closed]}} --author {{사용자명}}` + +- 특정 이슈 다시 열기: + +`glab issue reopen {{이슈_번호}}` diff --git a/pages.ko/common/glab-mr-create.md b/pages.ko/common/glab-mr-create.md new file mode 100644 index 00000000000000..cd46e44fc2cc0d --- /dev/null +++ b/pages.ko/common/glab-mr-create.md @@ -0,0 +1,24 @@ +# glab mr create + +> GitLab 병합 요청을 관리. +> 더 많은 정보: . + +- 대화형으로 병합 요청을 생성: + +`glab mr create` + +- 현재 브랜치의 커밋 메시지에서 제목과 설명을 결정하여 병합 요청을 생성: + +`glab mr create {{[-f|--fill]}}` + +- 초안 병합 요청을 생성: + +`glab mr create --draft` + +- 대상 브랜치, 제목 및 설명을 지정하는 병합 요청을 생성: + +`glab mr create {{[-b|--target-branch]}} {{대상_브랜치}} {{[-t|--title]}} "{{제목}}" {{[-d|--description]}} "{{설명}}"` + +- 기본 웹 브라우저에서 병합 요청 열기를 시작: + +`glab mr create {{[-w|--web]}}` diff --git a/pages.ko/common/glab-mr-merge.md b/pages.ko/common/glab-mr-merge.md new file mode 100644 index 00000000000000..b89f4e4a5fe33b --- /dev/null +++ b/pages.ko/common/glab-mr-merge.md @@ -0,0 +1,24 @@ +# glab mr merge + +> GitLab 병합 요청을 관리. +> 더 많은 정보: . + +- 현재 브랜치와 관련된 병합 요청을 대화식으로 병합: + +`glab mr merge` + +- 지정된 병합 요청을 대화식으로 병합: + +`glab mr merge {{mr_번호}}` + +- 로컬과 원격 모두에서 브랜치를 제거하여 병합 요청을 병합: + +`glab mr merge {{[-d|--remove-source-branch]}}` + +- 현재 병합 요청을 메시지 본문과 함께 하나의 커밋으로 스쿼시하고 병합: + +`glab mr merge {{[-s|--squash]}} {{[-m|--message]}} "{{커밋_메시지_본체}}"` + +- 도움말 표시: + +`glab mr merge --help` diff --git a/pages.ko/common/glab-mr.md b/pages.ko/common/glab-mr.md new file mode 100644 index 00000000000000..761cba49761f96 --- /dev/null +++ b/pages.ko/common/glab-mr.md @@ -0,0 +1,33 @@ +# glab mr + +> GitLab 병합 요청을 관리. +> `create`와 같은 일부 하위 명령어에는 자체 사용법 문서가 있음. +> 더 많은 정보: . + +- 병합 요청을 생성: + +`glab mr create` + +- 특정 병합 요청을 로컬에서 확인: + +`glab mr checkout {{mr_번호}}` + +- 병합 요청의 변경 사항을 확인: + +`glab mr diff` + +- 현재 브랜치에 대한 병합 요청을 승인: + +`glab mr approve` + +- 현재 분기와 관련된 병합 요청을 대화형으로 병합: + +`glab mr merge` + +- 대화형으로 병합 요청을 편집: + +`glab mr update` + +- 병합 요청의 대상 브랜치를 편집: + +`glab mr update --target-branch {{브랜치_이름}}` diff --git a/pages.ko/common/glab-pipeline.md b/pages.ko/common/glab-pipeline.md new file mode 100644 index 00000000000000..a96d1b1426c64b --- /dev/null +++ b/pages.ko/common/glab-pipeline.md @@ -0,0 +1,24 @@ +# glab pipeline + +> GitLab CI/CD 파이프라인을 나열, 보고, 실행. +> 더 많은 정보: . + +- 현재 브랜치에서 실행 중인 파이프라인을 보기: + +`glab pipeline status` + +- 특정 분기에서 실행 중인 파이프라인을 보기: + +`glab pipeline status --branch {{브랜치_이름}}` + +- 파이프라인 목록을 가져옴: + +`glab pipeline list` + +- 현재 브랜치에서 수동 파이프라인을 실행: + +`glab pipeline run` + +- 특정 브랜치에서 수동 파이프라인을 실행: + +`glab pipeline run --branch {{브랜치_이름}}` diff --git a/pages.ko/common/glab-release.md b/pages.ko/common/glab-release.md new file mode 100644 index 00000000000000..08785cda365bed --- /dev/null +++ b/pages.ko/common/glab-release.md @@ -0,0 +1,28 @@ +# glab release + +> GitLab 배포 관맄. +> 더 많은 정보: . + +- Gitlab 저장소의 릴리스 목록은 30개 항목으로 제한됨: + +`glab release list` + +- 특정 릴리스에 대한 정보 표시: + +`glab release view {{태그}}` + +- 새로운 배포 생성: + +`glab release create {{태그}}` + +- 특정 배포 삭제: + +`glab release delete {{태그}}` + +- 특정 릴리스에서 리소스 다운로드: + +`glab release download {{태그}}` + +- 특정 릴리스에 리소스 업로드: + +`glab release upload {{태그}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/glab-repo.md b/pages.ko/common/glab-repo.md new file mode 100644 index 00000000000000..3053316f57545a --- /dev/null +++ b/pages.ko/common/glab-repo.md @@ -0,0 +1,24 @@ +# glab repo + +> GitLab 레포지토리 작업. +> 더 많은 정보: . + +- 새로운 저장소를 생성 (저장소 이름이 설정되지 않은 경우, 기본 이름은 현재 디렉터리의 이름이 됨): + +`glab repo create {{이름}}` + +- 레포지토리 복제: + +`glab repo clone {{소유자}}/{{레포지토리}}` + +- 레포지토리 포크 및 복제: + +`glab repo fork {{소유자}}/{{레포지토리}} {{[-c|--clone]}}` + +- 기본 웹 브라우저에서 레포지토리 보기: + +`glab repo view {{소유자}}/{{레포지토리}} {{[-w|--web]}}` + +- GitLab 인스턴스에서 일부 레포지토리를 검색: + +`glab repo search {{[-s|--search]}} {{검색_문자열}}` diff --git a/pages.ko/common/glab.md b/pages.ko/common/glab.md new file mode 100644 index 00000000000000..6e61e40fdc75e2 --- /dev/null +++ b/pages.ko/common/glab.md @@ -0,0 +1,33 @@ +# glab + +> GitLab으로 원활하게 작업. +> `config`와 같은 일부 하위 명령에는 자체 사용법 문서가 있음. +> 더 많은 정보: . + +- 로컬에서 GitLab 저장소를 복제: + +`glab repo clone {{소유자}}/{{레포지토리}}` + +- 새로운 이슈 생성: + +`glab issue create` + +- 현재 저장소의 공개 이슈를 보고 필터링: + +`glab issue list` + +- 기본 브라우저에서 이슈 보기: + +`glab issue view {{[-w|--web]}} {{이슈_번호}}` + +- 병합 요청을 생성: + +`glab mr create` + +- 기본 웹 브라우저에서 풀 요청 보기: + +`glab mr view {{[-w|--web]}} {{pr_번호}}` + +- 특정 풀 요청을 로컬에서 확인: + +`glab mr checkout {{pr_번호}}` diff --git a/pages.ko/common/gladtex.md b/pages.ko/common/gladtex.md new file mode 100644 index 00000000000000..2a674cee24d2b2 --- /dev/null +++ b/pages.ko/common/gladtex.md @@ -0,0 +1,33 @@ +# gladtex + +> HTML 파일용 LaTeX 수식 전처리기. +> LaTeX 수식을 이미지로 변환. +> 더 많은 정보: . + +- HTML로 변환: + +`gladtex {{경로/대상/입력파일.htex}}` + +- 변환된 파일을 특정 위치에 저장: + +`gladtex {{경로/대상/입력파일.htex}} -o {{경로/대상/출력파일.html}}` + +- 생성된 이미지를 특정 디렉토리([d]irectory)에 저장: + +`gladtex {{경로/대상/입력파일.htex}} -d {{경로/대상/이미지_출력_디렉토리}}` + +- 이미지 해상도([r]esolution) 설정 (dpi 단위, 기본값은 100): + +`gladtex {{경로/대상/입력파일.htex}} -r {{resolution}}` + +- 변환 후 LaTeX 파일 유지([k]eep) : + +`gladtex {{경로/대상/입력파일.htex}} -k` + +- 이미지의 배경([b]ackground) 및 전경([f]oreground)색 설정: + +`gladtex {{경로/대상/입력파일.htex}} -b {{배경_색}} -f {{전경_색}}` + +- `pandoc` 및 `gladtex`를 사용하여 마크다운을 HTML로 변환: + +`pandoc -s -t html --gladtex {{경로/대상/입력파일.md}} | gladtex -o {{경로/대상/출력파일.html}}` diff --git a/pages.ko/common/glances.md b/pages.ko/common/glances.md new file mode 100644 index 00000000000000..075579044f0333 --- /dev/null +++ b/pages.ko/common/glances.md @@ -0,0 +1,24 @@ +# glances + +> 크로스 플랫폼 시스템 모니터링 도구. +> 더 많은 정보: . + +- 터미널에서 실행: + +`glances` + +- 웹 서버 모드에서 실행하여 브라우저에 결과를 표시: + +`glances -w` + +- other Glances 클라이언트의 연결을 허용하려면 서버 모드에서 실행: + +`glances -s` + +- Glances 서버에 연결: + +`glances -c {{호스트명}}` + +- (웹) 서버 모드에서 비밀번호가 필요: + +`glances -s --password` diff --git a/pages.ko/common/gleam.md b/pages.ko/common/gleam.md new file mode 100644 index 00000000000000..95b18f416b61d7 --- /dev/null +++ b/pages.ko/common/gleam.md @@ -0,0 +1,36 @@ +# gleam + +> "확장 가능한 타입 안전 시스템을 구축하기 위한 친숙한 언어!"인 Gleam용 컴파일러, 빌드 도구, 패키지 관리자 및 코드 포맷터. +> 더 많은 정보: . + +- 새로운 gleam 프로젝트 생성: + +`gleam new {{프로젝트_이름}}` + +- gleam 프로젝트 빌드 및 실행: + +`gleam run` + +- 프로젝트 빌드: + +`gleam build` + +- 특정 플랫폼 및 런타임에 대한 프로젝트를 실행: + +`gleam run --target {{플랫폼}} --runtime {{런타임}}` + +- 프로젝트에 16진수 종속성을 추가: + +`gleam add {{의존성_이름}}` + +- 프로젝트 테스트 실행: + +`gleam test` + +- 소스 코드 형식 포맷팅: + +`gleam format` + +- 프로젝트를 확인: + +`gleam check` diff --git a/pages.ko/common/glib-compile-resources.md b/pages.ko/common/glib-compile-resources.md new file mode 100644 index 00000000000000..8fe94f99e7fe80 --- /dev/null +++ b/pages.ko/common/glib-compile-resources.md @@ -0,0 +1,21 @@ +# glib-compile-resources + +> 리소스 파일 (예: 이미지)을 바이너리 리소스 번들로 컴파일. +> GResource API를 사용해 GTK 애플리케이션에 연결될 수 있음. +> 더 많은 정보: . + +- `file.gresource.xml`에서 참조된 리소스를 .gresource 바이너리로 컴파일: + +`glib-compile-resources {{파일.gresource.xml}}` + +- `file.gresource.xml`에서 참조된 리소스를 C 소스 파일로 컴파일: + +`glib-compile-resources --generate-source {{파일.gresource.xml}}` + +- `file.gresource.xml`의 리소스를 `.c`, `.h` 또는 `.gresource` 확장자를 사용하여 선택한 대상 파일로 컴파일: + +`glib-compile-resources --generate --target={{file.ext}} {{파일.gresource.xml}}` + +- `file.gresource.xml`에서 참조되는 리소스 파일 목록을 출력: + +`glib-compile-resources --generate-dependencies {{파일.gresource.xml}}` diff --git a/pages.ko/common/glow.md b/pages.ko/common/glow.md new file mode 100644 index 00000000000000..4c30f1062070c0 --- /dev/null +++ b/pages.ko/common/glow.md @@ -0,0 +1,24 @@ +# glow + +> 터미널에서 마크다운을 렌더링. +> 더 많은 정보: . + +- glow 실행하고 보려는 파일을 선택: + +`glow` + +- Markdown 파일을 터미널에 렌더링: + +`glow {{경로/대상/파일}}` + +- 페이지네이터를 사용하여 Markdown 파일 보기: + +`glow -p {{경로/대상/파일}}` + +- URL에서 파일 보기: + +`glow {{https://example.com/file.md}}` + +- GitHub/GitLab README 보기: + +`glow {{github.com/소유자/디렉토리}}` diff --git a/pages.ko/common/gml2gv.md b/pages.ko/common/gml2gv.md new file mode 100644 index 00000000000000..95eb2d6c9b8937 --- /dev/null +++ b/pages.ko/common/gml2gv.md @@ -0,0 +1,17 @@ +# gml2gv + +> 그래프를 `gml`에서 `gv` 형식으로 변환. +> 변환기: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> 더 많은 정보: . + +- 그래프를 `gml`에서 `gv` 형식으로 변환: + +`gml2gv -o {{output.gv}} {{입력파일.gml}}` + +- `stdin` 및 `stdout`을 사용하여 그래프를 반환: + +`cat {{입력파일.gml}} | gml2gv > {{output.gv}}` + +- 도움말 표시: + +`gml2gv -?` diff --git a/pages.ko/common/gmssl.md b/pages.ko/common/gmssl.md new file mode 100644 index 00000000000000..27c7cee52018d4 --- /dev/null +++ b/pages.ko/common/gmssl.md @@ -0,0 +1,36 @@ +# gmssl + +> GmSSL은 SM1, SM2, SM3, SM4, SM9 및 ZUC/ZUC256을 지원하는 암호화 툴킷. +> 더 많은 정보: . + +- 파일에 대한 SM3 해시를 생성: + +`gmssl sm3 {{경로/대상/파일}}` + +- SM4 암호를 사용하여 파일을 암호화: + +`gmssl sms4 -e -in {{경로/대상/파일}} -out {{경로/대상/파일.sms4}}` + +- SM4 암호를 사용하여 파일을 복호화: + +`gmssl sms4 -d -in {{경로/대상/파일.sms4}}` + +- SM2 개인키를 생성: + +`gmssl sm2 -genkey -out {{경로/대상/파일.pem}}` + +- 기존 개인 키에서 SM2 공개키를 생성: + +`gmssl sm2 -pubout -in {{경로/대상/파일.pem}} -out {{경로/대상/파일.pem.pub}}` + +- ZUC 암호를 사용하여 파일을 암호화: + +`gmssl zuc -e -in {{경로/대상/파일}} -out {{경로/대상/파일.zuc}}` + +- ZUC 암호를 사용하여 파일을 복호화: + +`gmssl zuc -d -in {{경로/대상/파일.zuc}}` + +- 버전 정보 출력: + +`gmssl version` diff --git a/pages.ko/common/gnatmake.md b/pages.ko/common/gnatmake.md new file mode 100644 index 00000000000000..5f2295ed8c36e8 --- /dev/null +++ b/pages.ko/common/gnatmake.md @@ -0,0 +1,16 @@ +# gnatmake + +> Ada 프로그램용 저수준 빌드 도구 (GNAT 도구 체인의 일부). +> 더 많은 정보: . + +- 실행 파일을 컴파일: + +`gnatmake {{소스_파일1.adb 소스_파일2.adb ...}}` + +- 사용자 정의 실행 파일 이름을 설정: + +`gnatmake -o {{실행파일_이름}} {{소스_파일.adb}}` + +- 강제([f]orce) 재컴파일: + +`gnatmake -f {{소스_파일.adb}}` diff --git a/pages.ko/common/gnmic-get.md b/pages.ko/common/gnmic-get.md new file mode 100644 index 00000000000000..50d5e659c7adae --- /dev/null +++ b/pages.ko/common/gnmic-get.md @@ -0,0 +1,20 @@ +# gnmic get + +> gnmi 네트워크 장치 작동 데이터의 스냅샷 가져오기. +> 더 많은 정보: . + +- 특정 경로에서 장치 상태의 스냅샷을 가져옴: + +`gnmic --address {{아이피:포트}} get --path {{경로}}` + +- 여러 경로에서 장치 상태를 쿼리: + +`gnmic -a {{아이피:포트}} get --path {{경로/대상/파일_또는_디렉터리1}} --path {{경로/대상/파일_또는_디렉터리2}}` + +- 공통 접두사를 사용하여 여러 경로에서 장치 상태를 쿼리: + +`gnmic -a {{아이피:포트}} get --prefix {{접두사}} --path {{경로/대상/파일_또는_디렉터리1}} --path {{경로/대상/파일_또는_디렉터리2}}` + +- 장치 상태를 쿼리하고 응답 인코딩을 지정 (json_ietf): + +`gnmic -a {{아이피:포트}} get --path {{경로}} --encoding json_ietf` diff --git a/pages.ko/common/gnmic-set.md b/pages.ko/common/gnmic-set.md new file mode 100644 index 00000000000000..048cfd3963f2a4 --- /dev/null +++ b/pages.ko/common/gnmic-set.md @@ -0,0 +1,20 @@ +# gnmic set + +> gnmi 네트워크 장치 구성을 수정. +> 더 많은 정보: . + +- 경로의 값을 업데이트: + +`gnmic --address {{아이피:포트}} set --update-path {{경로}} --update-value {{값}}` + +- JSON 파일의 내용과 일치하도록 경로 값을 업데이트: + +`gnmic -a {{아이피:포트}} set --update-path {{경로}} --update-file {{파일경로}}` + +- JSON 파일의 내용과 일치하도록 경로 값을 변경: + +`gnmic -a {{아이피:포트}} set --replace-path {{경로}} --replace-file {{파일경로}}` + +- 주어진 경로에서 노드를 삭제: + +`gnmic -a {{아이피:포트}} set --delete {{경로}}` diff --git a/pages.ko/common/gnmic-sub.md b/pages.ko/common/gnmic-sub.md new file mode 100644 index 00000000000000..a4958c6d48f344 --- /dev/null +++ b/pages.ko/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> 이 명령은 `gnmic subscribe` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr gnmic subscribe` diff --git a/pages.ko/common/gnmic-subscribe.md b/pages.ko/common/gnmic-subscribe.md new file mode 100644 index 00000000000000..deb151f0856991 --- /dev/null +++ b/pages.ko/common/gnmic-subscribe.md @@ -0,0 +1,24 @@ +# gnmic subscribe + +> gnmic 네트워크 장치 상태 업데이트를 구독. +> 더 많은 정보: . + +- 특정 경로의 하위 트리 아래에서 대상 상태 업데이트를 구독: + +`gnmic --address {{아이피:포트}} subscribe --path {{경로}}` + +- 샘플 간격이 30초인 대상을 구독 (기본값 10초): + +`gnmic -a {{아이피:포트}} subscribe --path {{경로}} --sample-interval 30s` + +- 샘플 간격으로 대상을 구독하고 변경 시에만 업데이트: + +`gnmic -a {{아이피:포트}} subscribe --path {{경로}} --stream-mode on-change --heartbeat-interval 1m` + +- 단 한 번의 업데이트만을 위해 대상을 구독: + +`gnmic -a {{아이피:포트}} subscribe --path {{경로}} --mode once` + +- 대상을 구독하고 응답 인코딩을 지정 (json_ietf): + +`gnmic -a {{아이피:포트}} subscribe --path {{경로}} --encoding json_ietf` diff --git a/pages.ko/common/gnmic.md b/pages.ko/common/gnmic.md new file mode 100644 index 00000000000000..33136cf08f36cf --- /dev/null +++ b/pages.ko/common/gnmic.md @@ -0,0 +1,25 @@ +# gnmic + +> gNMI 명령줄 클라이언트. +> gNMI 네트워크 장치 구성을 관리하고 운영 데이터를 살펴봄. +> 더 많은 정보: . + +- 장치 기능을 요청: + +`gnmic --address {{아이피:포트}} capabilities` + +- 장치 기능을 가져오려면 사용자 이름과 비밀번호를 제공: + +`gnmic --address {{아이피:포트}} --username {{사용자명}} --password {{비밀번호}} capabilities` + +- 특정 경로에서 장치 상태의 스냅샷을 가져옴: + +`gnmic -a {{아이피:포트}} get --path {{경로}}` + +- 특정 경로에서 장치 상태 업데이트: + +`gnmic -a {{아이피:포트}} set --update-path {{경로}} --update-value {{값}}` + +- 특정 경로의 하위 트리 아래에서 대상 상태 업데이트를 구독: + +`gnmic -a {{아이피:포트}} subscribe --path {{경로}}` diff --git a/pages.ko/common/gnomon.md b/pages.ko/common/gnomon.md new file mode 100644 index 00000000000000..71d75825ea2455 --- /dev/null +++ b/pages.ko/common/gnomon.md @@ -0,0 +1,24 @@ +# gnomon + +> 타임스탬프로 콘솔 로깅 문에 주석을 달고, 느린 프로세스를 찾는 유틸리티. +> 더 많은 정보: . + +- UNIX (또는 DOS) 파이프를 사용하여 gnomon을 통해 명령의 `stdout`을 파이프: + +`{{npm test}} | gnomon` + +- 프로세스 시작 이후 경과한 시간(초)를 표시: + +`{{npm test}} | gnomon --type=elapsed-total` + +- UTC로 절대 타임스탬프를 표시: + +`{{npm test}} | gnomon --type=absolute` + +- 0.5초의 높은 임계값을 사용, 이 값을 초과하면 타임스탬프가 밝은 빨간색으로 표시됨: + +`{{npm test}} | gnomon --high 0.5` + +- 0.2초의 중간 임계값을 사용, 이를 초과하면 타임스탬프가 밝은 노란색으로 표시됨: + +`{{npm test}} | gnomon --medium {{0.2}}` diff --git a/pages.ko/common/gnucash-cli.md b/pages.ko/common/gnucash-cli.md new file mode 100644 index 00000000000000..52ee4bcedc22bb --- /dev/null +++ b/pages.ko/common/gnucash-cli.md @@ -0,0 +1,12 @@ +# gnucash-cli + +> GnuCash의 명령줄 버전. +> 더 많은 정보: . + +- 파일에 지정된 통화 및 주식에 대한 견적을 받아 출력: + +`gnucash-cli --quotes get {{경로/대상/파일.gnucash}}` + +- `--name`으로 지정된 특정 유형의 재무 보고서를 생성: + +`gnucash-cli --report run --name "{{Balance Sheet}}" {{경로/대상/파일.gnucash}}` diff --git a/pages.ko/common/gnucash.md b/pages.ko/common/gnucash.md new file mode 100644 index 00000000000000..dafc007e865580 --- /dev/null +++ b/pages.ko/common/gnucash.md @@ -0,0 +1,16 @@ +# gnucash + +> 개인 및 소규모 기업의 재무 회계 소프트웨어. +> 더 많은 정보: . + +- GnuCash를 실행하고 이전에 열었던 파일을 불러옴: + +`gnucash` + +- GnuCash를 실행하고 특정 파일을 로딩: + +`gnucash {{경로/대상/파일.gnucash}}` + +- GnuCash를 실행하고 빈 파일을 불러옴: + +`gnucash --nofile` diff --git a/pages.ko/common/gnuplot.md b/pages.ko/common/gnuplot.md new file mode 100644 index 00000000000000..b2247f1efb8935 --- /dev/null +++ b/pages.ko/common/gnuplot.md @@ -0,0 +1,20 @@ +# gnuplot + +> 다양한 포맷으로 출력하는 그래프 플로터. +> 더 많은 정보: . + +- 대화형 그래프 플로팅 쉘을 시작: + +`gnuplot` + +- 지정된 그래프 정의 파일에 대한 그래프를 그림: + +`gnuplot {{경로/대상/정의파일.plt}}` + +- 정의 파일을 로드하기 전에 명령을 실행하여 출력 형식을 설정: + +`gnuplot -e "{{set output "경로/대상/파일이름.png" size 1024,768}}" {{경로/대상/정의파일.plt}}` + +- gnuplot이 종료된 후에도 그래프 플롯 미리보기 창을 유지: + +`gnuplot --persist {{경로/대상/정의파일.plt}}` diff --git a/pages.ko/common/go-bug.md b/pages.ko/common/go-bug.md new file mode 100644 index 00000000000000..07eb86f46edace --- /dev/null +++ b/pages.ko/common/go-bug.md @@ -0,0 +1,8 @@ +# go bug + +> 버그 보고. +> 더 많은 정보: . + +- 버그 보고를 시작하기 위해 웹 페이지 열기: + +`go bug` diff --git a/pages.ko/common/go-build.md b/pages.ko/common/go-build.md new file mode 100644 index 00000000000000..3ac9c0137eb86a --- /dev/null +++ b/pages.ko/common/go-build.md @@ -0,0 +1,20 @@ +# go build + +> Go 소스 컴파일. +> 더 많은 정보: . + +- 'package main' 파일 컴파일 (출력은 확장자가 없는 파일 이름): + +`go build {{경로/대상/main.go}}` + +- 출력 파일 이름을 지정하여 컴파일: + +`go build -o {{경로/대상/바이너리}} {{경로/대상/소스.go}}` + +- 패키지 컴파일: + +`go build -o {{경로/대상/바이너리}} {{경로/대상/패키지}}` + +- 데이터 경쟁 감지를 활성화하여 메인 패키지를 실행 파일로 컴파일: + +`go build -race -o {{경로/대상/실행_파일}} {{경로/대상/메인/패키지}}` diff --git a/pages.ko/common/go-clean.md b/pages.ko/common/go-clean.md new file mode 100644 index 00000000000000..201c7afd0bcf9b --- /dev/null +++ b/pages.ko/common/go-clean.md @@ -0,0 +1,20 @@ +# go clean + +> 오브젝트 파일과 캐시 파일 제거. +> 더 많은 정보: . + +- 실제로 제거하지 않고 제거 명령 출력: + +`go clean -n` + +- 빌드 캐시 삭제: + +`go clean -cache` + +- 모든 캐시된 테스트 결과 삭제: + +`go clean -testcache` + +- 모듈 캐시 삭제: + +`go clean -modcache` diff --git a/pages.ko/common/go-doc.md b/pages.ko/common/go-doc.md new file mode 100644 index 00000000000000..86796650ee9754 --- /dev/null +++ b/pages.ko/common/go-doc.md @@ -0,0 +1,24 @@ +# go doc + +> 패키지나 심볼에 대한 문서 보기. +> 더 많은 정보: . + +- 현재 패키지에 대한 문서 보기: + +`go doc` + +- 패키지 문서 및 내보내진 기호 보기: + +`go doc {{encoding/json}}` + +- 기호의 문서도 함께 보기: + +`go doc -all {{encoding/json}}` + +- 소스도 함께 보기: + +`go doc -all -src {{encoding/json}}` + +- 특정 기호 보기: + +`go doc -all -src {{encoding/json.Number}}` diff --git a/pages.ko/common/go-env.md b/pages.ko/common/go-env.md new file mode 100644 index 00000000000000..dc68f668bd1e47 --- /dev/null +++ b/pages.ko/common/go-env.md @@ -0,0 +1,20 @@ +# go env + +> Go 툴체인이 사용하는 환경 변수를 관리합니다. +> 더 많은 정보: . + +- 모든 환경 변수 표시: + +`go env` + +- 특정 환경 변수 표시: + +`go env {{GOPATH}}` + +- 환경 변수를 특정 값으로 설정: + +`go env -w {{GOBIN}}={{경로/대상/폴더}}` + +- 환경 변수의 값을 재설정: + +`go env -u {{GOBIN}}` diff --git a/pages.ko/common/go-fix.md b/pages.ko/common/go-fix.md new file mode 100644 index 00000000000000..279de1686797ad --- /dev/null +++ b/pages.ko/common/go-fix.md @@ -0,0 +1,8 @@ +# go fix + +> 패키지를 새로운 API를 사용하도록 업데이트. +> 더 많은 정보: . + +- 패키지를 새로운 API를 사용하도록 업데이트: + +`go fix {{packages}}` diff --git a/pages.ko/common/go-fmt.md b/pages.ko/common/go-fmt.md new file mode 100644 index 00000000000000..238a3d12f536d4 --- /dev/null +++ b/pages.ko/common/go-fmt.md @@ -0,0 +1,24 @@ +# go fmt + +> Go 소스 파일을 포맷하고 변경된 파일 이름을 출력합니다. +> 더 많은 정보: . + +- 현재 디렉토리의 Go 소스 파일 포맷: + +`go fmt` + +- 가져오기 경로(`$GOPATH/src`)에 있는 특정 Go 패키지 포맷: + +`go fmt {{경로/대상/패키지}}` + +- 현재 디렉토리와 모든 하위 디렉토리의 패키지 포맷 (`...`을 주의하세요): + +`go fmt {{./...}}` + +- 포맷 명령이 실행될 때 어떤 명령이 실행될지 출력하고 실제로 수정하지 않음: + +`go fmt -n` + +- 포맷 명령이 실행될 때 실행되는 명령을 출력: + +`go fmt -x` diff --git a/pages.ko/common/go-generate.md b/pages.ko/common/go-generate.md new file mode 100644 index 00000000000000..a2228b0168401b --- /dev/null +++ b/pages.ko/common/go-generate.md @@ -0,0 +1,8 @@ +# go generate + +> 소스 파일 내에서 명령을 실행하여 Go 파일 생성. +> 더 많은 정보: . + +- 소스 파일 내에서 명령을 실행하여 Go 파일 생성: + +`go generate` diff --git a/pages.ko/common/go-get.md b/pages.ko/common/go-get.md new file mode 100644 index 00000000000000..bf815b2f6ae2d4 --- /dev/null +++ b/pages.ko/common/go-get.md @@ -0,0 +1,16 @@ +# go get + +> 의존성 패키지를 추가하거나 레거시 GOPATH 모드에서 패키지를 다운로드. +> 더 많은 정보: . + +- 모듈 모드에서 `go.mod`에 지정된 패키지를 추가하거나 GOPATH 모드에서 패키지 설치: + +`go get {{example.com/pkg}}` + +- 모듈 인식 모드에서 지정된 버전으로 패키지 수정: + +`go get {{example.com/pkg}}@{{v1.2.3}}` + +- 지정된 패키지 제거: + +`go get {{example.com/pkg}}@{{none}}` diff --git a/pages.ko/common/go-install.md b/pages.ko/common/go-install.md new file mode 100644 index 00000000000000..fa5297dbed53e5 --- /dev/null +++ b/pages.ko/common/go-install.md @@ -0,0 +1,20 @@ +# go install + +> import 경로로 지정된 패키지를 컴파일하고 설치. +> 더 많은 정보: . + +- 현재 패키지를 컴파일하고 설치: + +`go install` + +- 특정 로컬 패키지를 컴파일하고 설치: + +`go install {{경로/대상/패키지}}` + +- 현재 디렉토리의 `go.mod`를 무시하고 프로그램의 최신 버전 설치: + +`go install {{golang.org/x/tools/gopls}}@{{최신}}` + +- 현재 디렉토리의 `go.mod`에 의해 선택된 버전으로 프로그램 설치: + +`go install {{golang.org/x/tools/gopls}}` diff --git a/pages.ko/common/go-list.md b/pages.ko/common/go-list.md new file mode 100644 index 00000000000000..7359a6776be5d6 --- /dev/null +++ b/pages.ko/common/go-list.md @@ -0,0 +1,20 @@ +# go list + +> 패키지 또는 모듈 나열. +> 더 많은 정보: . + +- 패키지 나열: + +`go list ./...` + +- 표준 패키지 나열: + +`go list std` + +- JSON 형식으로 패키지 나열: + +`go list -json time net/http` + +- 모듈 종속성과 이용 가능한 업데이트 나열: + +`go list -m -u all` diff --git a/pages.ko/common/go-mod.md b/pages.ko/common/go-mod.md new file mode 100644 index 00000000000000..7088c20f35fc79 --- /dev/null +++ b/pages.ko/common/go-mod.md @@ -0,0 +1,24 @@ +# go mod + +> 모듈 유지 관리. +> 더 많은 정보: . + +- 현재 디렉터리에 새 모듈 초기화: + +`go mod init {{모듈_이름}}` + +- 모듈을 로컬 캐시로 다운로드: + +`go mod download` + +- 누락된 모듈 추가 및 사용하지 않는 모듈 제거: + +`go mod tidy` + +- 의존성이 예상된 내용을 가지고 있는지 확인: + +`go mod verify` + +- 모든 의존성의 소스를 vendor 디렉터리에 복사: + +`go mod vendor` diff --git a/pages.ko/common/go-run.md b/pages.ko/common/go-run.md new file mode 100644 index 00000000000000..ac955650036ad2 --- /dev/null +++ b/pages.ko/common/go-run.md @@ -0,0 +1,12 @@ +# go run + +> Go 코드를 컴파일하고 바이너리를 저장하지 않고 실행. +> 더 많은 정보: . + +- Go 파일 실행: + +`go run {{경로/대상/파일.go}}` + +- 메인 Go 패키지 실행: + +`go run {{경로/대상/패키지}}` diff --git a/pages.ko/common/go-test.md b/pages.ko/common/go-test.md new file mode 100644 index 00000000000000..9b85d12ddad55d --- /dev/null +++ b/pages.ko/common/go-test.md @@ -0,0 +1,28 @@ +# go test + +> Go 패키지를 테스트합니다 (`_test.go`로 끝나는 파일이어야 함). +> 더 많은 정보: . + +- 현재 디렉터리에 있는 패키지 테스트: + +`go test` + +- 현재 디렉터리의 패키지를 [v]자세히 테스트: + +`go test -v` + +- 현재 디렉터리와 모든 하위 디렉터리의 패키지 테스트 (`...` 주의): + +`go test -v ./...` + +- 현재 디렉터리의 패키지를 테스트하고 모든 벤치마크 실행: + +`go test -v -bench .` + +- 현재 디렉터리의 패키지를 테스트하고 50초 동안 모든 벤치마크 실행: + +`go test -v -bench . -benchtime {{50s}}` + +- 커버리지 분석으로 패키지 테스트: + +`go test -cover` diff --git a/pages.ko/common/go-tool.md b/pages.ko/common/go-tool.md new file mode 100644 index 00000000000000..2e64e7bc98a507 --- /dev/null +++ b/pages.ko/common/go-tool.md @@ -0,0 +1,25 @@ +# go tool + +> Go 도구 또는 명령 실행. +> Go 명령을 독립 실행형 바이너리로 실행하여 주로 디버깅에 사용. +> 더 많은 정보: . + +- 사용 가능한 도구 나열: + +`go tool` + +- go link 도구 실행: + +`go tool link {{경로/대상/main.o}}` + +- 실행될 명령을 출력하지만 실제로 실행하지 않음 (`whereis`와 유사): + +`go tool -n {{명령}} {{인수들}}` + +- 지정된 도구에 대한 문서 보기: + +`go tool {{명령}} --help` + +- 사용 가능한 모든 교차 컴파일 대상 나열: + +`go tool dist list` diff --git a/pages.ko/common/go-version.md b/pages.ko/common/go-version.md new file mode 100644 index 00000000000000..55e520c3f9d2c0 --- /dev/null +++ b/pages.ko/common/go-version.md @@ -0,0 +1,12 @@ +# go version + +> Go 버전을 표시. +> 더 많은 정보: . + +- 버전 표시: + +`go version` + +- 특정 실행 파일을 빌드하는 데 사용된 Go 버전 표시: + +`go version {{경로/대상/실행파일}}` diff --git a/pages.ko/common/go-vet.md b/pages.ko/common/go-vet.md new file mode 100644 index 00000000000000..158e6081c24108 --- /dev/null +++ b/pages.ko/common/go-vet.md @@ -0,0 +1,29 @@ +# go vet + +> Go 소스 코드를 검사하고 의심스러운 구조를 보고합니다 (예: Go 소스 파일을 린트). +> 문제가 발견되면 go vet는 0이 아닌 종료 코드를 반환하고, 문제가 없으면 0 종료 코드를 반환합니다. +> 더 많은 정보: . + +- 현재 디렉토리의 Go 패키지 검사: + +`go vet` + +- 지정된 경로의 Go 패키지 검사: + +`go vet {{경로/대상/파일_또는_폴더}}` + +- go vet로 실행할 수 있는 사용 가능한 검사 목록 나열: + +`go tool vet help` + +- 특정 검사의 세부정보 및 플래그 보기: + +`go tool vet help {{검사_이름}}` + +- 문제 있는 줄과 그 주변의 N 줄을 표시: + +`go vet -c={{N}}` + +- 분석 결과와 오류를 JSON 형식으로 출력: + +`go vet -json` diff --git a/pages.ko/common/go.md b/pages.ko/common/go.md new file mode 100644 index 00000000000000..c8361984fb2a4c --- /dev/null +++ b/pages.ko/common/go.md @@ -0,0 +1,33 @@ +# go + +> Go 소스 코드를 관리. +> `build`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 패키지 다운로드 및 설치 (import 경로로 지정): + +`go get {{패키지_경로}}` + +- 소스 파일 컴파일 및 실행 (`main` 패키지를 포함해야 함): + +`go run {{파일}}.go` + +- 소스 파일을 지정한 이름의 실행 파일로 컴파일: + +`go build -o {{실행_파일}} {{파일}}.go` + +- 현재 디렉토리에 있는 패키지 컴파일: + +`go build` + +- 현재 패키지의 모든 테스트 케이스 실행 (`_test.go`로 끝나야 함): + +`go test` + +- 현재 패키지 컴파일 및 설치: + +`go install` + +- 현재 디렉토리에 새 모듈 초기화: + +`go mod init {{모듈_이름}}` diff --git a/pages.ko/common/gobuster.md b/pages.ko/common/gobuster.md new file mode 100644 index 00000000000000..fee0b003edbc60 --- /dev/null +++ b/pages.ko/common/gobuster.md @@ -0,0 +1,28 @@ +# gobuster + +> 웹 서버 등의 숨겨진 경로를 무차별 공격. +> 더 많은 정보: . + +- 단어 목록에서 일치하는 디렉터리와 파일을 검색: + +`gobuster dir {{[-u|--url]}} {{https://example.com/}} {{[-w|--wordlist]}} {{경로/대상/파일}}` + +- 하위 도메인 검색: + +`gobuster dns {{[-d|--domain]}} {{example.com}} {{[-w|--wordlist]}} {{경로/대상/파일}}` + +- Amazon S3 버킷 검색: + +`gobuster s3 {{[-w|--wordlist]}} {{경로/대상/파일}}` + +- 서버에서 다른 가상 호스트를 검색: + +`gobuster vhost {{[-u|--url]}} {{https://example.com/}} {{[-w|--wordlist]}} {{경로/대상/파일}}` + +- 매개변수 값을 퍼징: + +`gobuster fuzz {{[-u|--url]}} {{https://example.com/?parameter=FUZZ}} {{[-w|--wordlist]}} {{경로/대상/파일}}` + +- 매개변수 이름을 퍼징: + +`gobuster fuzz {{[-u|--url]}} {{https://example.com/?FUZZ=value}} {{[-w|--wordlist]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/gocr.md b/pages.ko/common/gocr.md new file mode 100644 index 00000000000000..a45de09fb67dba --- /dev/null +++ b/pages.ko/common/gocr.md @@ -0,0 +1,17 @@ +# gocr + +> 광학 문자 인식 도구. +> 엔진을 사용하여 문자를 인식하고, 사용자에게 알 수 없는 패턴을 묻는 메시지를 표시하여 데이터베이스에 저장. +> 더 많은 정보: . + +- 입력([i]nput) 이미지의 문자를 인식하여 주어진 파일에 출력([o]utput)합니다. 데이터베이스([p])를 `경로/대상/데이터베이스_디렉토리` 안에 넣음. (폴더가 있는지 확인하고, 그렇지 않으면 DB 사용량이 자동으로 넘어가짐). 모드([m]ode) 130은 데이터베이스 생성 + 사용 + 확장을 의미: + +`gocr -m 130 -p {{경로/대상/데이터베이스_디렉토리}} -i {{경로/대상/입력_이미지.png}} -o {{경로/대상/출력_파일.txt}}` + +- 문자를 인식하고 모든 문자([C]haracters)가 숫자라고 가정: + +`gocr -m 130 -p {{경로/대상/데이터베이스_디렉토리}} -i {{경로/대상/입력_이미지.png}} -o {{경로/대상/출력_파일.txt}} -C "{{0..9}}"` + +- 100% 확실성(cert[a]inty)으로 문자를 인식 (문자는 알 수 없는 것을 간주될 확률이 더 높음): + +`gocr -m 130 -p {{경로/대상/데이터베이스_디렉토리}} -i {{경로/대상/입력_이미지.png}} -o {{경로/대상/출력_파일.txt}} -a 100` diff --git a/pages.ko/common/gocryptfs.md b/pages.ko/common/gocryptfs.md new file mode 100644 index 00000000000000..1c7b5a40184ba5 --- /dev/null +++ b/pages.ko/common/gocryptfs.md @@ -0,0 +1,24 @@ +# gocryptfs + +> Go로 작성된 암호화된 오버레이 파일 시스템. +> 더 많은 정보: . + +- 암호화된 파일 시스템 초기화: + +`gocryptfs -init {{경로/대상/암호화된_디렉터리}}` + +- 암호화된 파일 시스템 마운트: + +`gocryptfs {{경로/대상/암호화된_디렉터리}} {{경로/대상/마운트_포인트}}` + +- 비밀번호 대신 명시적인 마스터 키를 사용하여 마운트: + +`gocryptfs --masterkey {{경로/대상/암호화된_디렉터리}} {{경로/대상/마운트_포인트}}` + +- 비밀번호 변경: + +`gocryptfs --passwd {{경로/대상/암호화된_디렉터리}}` + +- 일반 디렉터리의 암호화된 스냅샷 생성: + +`gocryptfs --reverse {{경로/대상/일반_디렉터리}} {{경로/대상/암호화된_디렉터리}}` diff --git a/pages.ko/common/godoc.md b/pages.ko/common/godoc.md new file mode 100644 index 00000000000000..77138e8e3b81fa --- /dev/null +++ b/pages.ko/common/godoc.md @@ -0,0 +1,24 @@ +# godoc + +> Go 패키지에 대한 문서를 확인. +> 더 많은 정보: . + +- 특정 패키지에 대한 도움말 표시: + +`godoc {{fmt}}` + +- "fmt" 패키지의 "Printf" 함수에 대한 도움말 표시: + +`godoc {{fmt}} {{Printf}}` + +- 포트 6060에서 웹 서버로 문서 제공: + +`godoc -http=:{{6060}}` + +- 인덱스 파일을 생성: + +`godoc -write_index -index_files={{경로/대상/파일}}` + +- 주어진 색인 파일을 사용하여 문서를 검색: + +`godoc -http=:{{6060}} -index -index_files={{경로/대상/파일}}` diff --git a/pages.ko/common/godot.md b/pages.ko/common/godot.md new file mode 100644 index 00000000000000..9d0782c7797cc9 --- /dev/null +++ b/pages.ko/common/godot.md @@ -0,0 +1,24 @@ +# godot + +> 오픈 소스 2D 및 3D 게임 엔진. +> 더 많은 정보: . + +- 현재 디렉터리에 `project.godot` 파일이 포함되어 있으면 프로젝트를 실행하고, 그렇지 않으면 프로젝트 관리자를 열기: + +`godot` + +- 프로젝트 편집 (현재 디렉토리에 `project.godot` 파일이 포함되어 있어야 함): + +`godot -e` + +- 현재 디렉터리에 `project.godot` 파일이 포함되어 있어도 프로젝트 관리자를 열기: + +`godot -p` + +- 주어진 내보내기 사전 설정에 대한 프로젝트 내보내기 (사전 설정은 프로젝트에서 정의되어야 함): + +`godot --export {{프리셋}} {{출력_경로}}` + +- 독립형 GDScript 파일을 실행 (스크립트는 `SceneTree` 또는 `MainLoop`에서 상속되어야 함): + +`godot -s {{스크립트.gd}}` diff --git a/pages.ko/common/gofmt.md b/pages.ko/common/gofmt.md new file mode 100644 index 00000000000000..e68fe16bcf7002 --- /dev/null +++ b/pages.ko/common/gofmt.md @@ -0,0 +1,20 @@ +# gofmt + +> Go 소스 코드를 포맷합니다. +> 더 많은 정보: . + +- 파일을 포맷하고 결과를 콘솔에 표시: + +`gofmt {{source.go}}` + +- 파일을 포맷하여 원본 파일을 덮어쓰기: + +`gofmt -w {{source.go}}` + +- 파일을 포맷하고 코드를 단순화한 후 원본 파일을 덮어쓰기: + +`gofmt -s -w {{source.go}}` + +- 모든 오류(불필요한 오류 포함)를 출력: + +`gofmt -e {{source.go}}` diff --git a/pages.ko/common/goimports.md b/pages.ko/common/goimports.md new file mode 100644 index 00000000000000..fb1c824456ec5d --- /dev/null +++ b/pages.ko/common/goimports.md @@ -0,0 +1,20 @@ +# goimports + +> Go 언어의 import 줄을 업데이트하여 누락된 항목을 추가하고 참조되지 않은 항목을 제거합니다. +> 더 많은 정보: . + +- 완료된 import 소스 파일 표시: + +`goimports {{경로/대상/파일.go}}` + +- 결과를 `stdout` 대신 소스 파일에 다시 작성: + +`goimports -w {{경로/대상/파일.go}}` + +- 차이점을 표시하고 결과를 소스 파일에 다시 작성: + +`goimports -w -d {{경로/대상/파일.go}}` + +- 3rd-party 패키지 이후에 import 접두사 문자열 설정 (쉼표로 구분된 목록): + +`goimports -local {{경로/대상/패키지1,경로/대상/패키지2,...}} {{경로/대상/파일.go}}` diff --git a/pages.ko/common/golangci-lint.md b/pages.ko/common/golangci-lint.md new file mode 100644 index 00000000000000..8ba03a2d0dd076 --- /dev/null +++ b/pages.ko/common/golangci-lint.md @@ -0,0 +1,16 @@ +# golangci-lint + +> 병렬 처리, 스마트하고 빠른 Go 린터 실행 도구로 주요 IDE와 통합되며 YAML 구성을 지원합니다. +> 더 많은 정보: . + +- 현재 폴더에서 린터 실행: + +`golangci-lint run` + +- 활성화 및 비활성화된 린터 목록 표시 (참고: 비활성화된 린터는 마지막에 표시되며, 활성화된 린터로 착각하지 마세요): + +`golangci-lint linters` + +- 특정 린터를 이 실행에서 [E]nable: + +`golangci-lint run --enable {{린터}}` diff --git a/pages.ko/common/google-chrome.md b/pages.ko/common/google-chrome.md new file mode 100644 index 00000000000000..5b631b72fc0c1a --- /dev/null +++ b/pages.ko/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> 이 명령은 `chromium` 의 에일리어스 (별칭) 입니다. +> 더 많은 정보: . + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chromium` diff --git a/pages.ko/common/googler.md b/pages.ko/common/googler.md new file mode 100644 index 00000000000000..dd52893e8f465e --- /dev/null +++ b/pages.ko/common/googler.md @@ -0,0 +1,36 @@ +# googler + +> 명령줄에서 Google 검색하기. +> 더 많은 정보: . + +- Google에서 키워드 검색: + +`googler {{키워드}}` + +- Google을 검색하고 웹 브라우저에서 첫 번째 결과를 열기: + +`googler -j {{키워드}}` + +- N개의 검색 결과 표시 (기본값 10): + +`googler -n {{N}} {{키워드}}` + +- 자동 맞춤법 교정 비활성화: + +`googler -x {{키워드}}` + +- 하나의 사이트에서 키워드를 검색: + +`googler -w {{사이트}} {{키워드}}` + +- Google 검색 결과를 JSON 형식으로 표시: + +`googler --json {{키워드}}` + +- 내부적으로 자체 업그레이드 수행: + +`googler -u` + +- 대화형 모드에서 도움말 표시: + +`` diff --git a/pages.ko/common/gopass.md b/pages.ko/common/gopass.md new file mode 100644 index 00000000000000..fbd2590306ff6f --- /dev/null +++ b/pages.ko/common/gopass.md @@ -0,0 +1,36 @@ +# gopass + +> 팀을 위한 표준 Unix 비밀번호 관리자. Go 언어로 작성됨. +> 더 많은 정보: . + +- 구성 설정을 초기화: + +`gopass init` + +- 새로운 항목 생성: + +`gopass new` + +- 모든 저장소 보기: + +`gopass mounts` + +- 공유 Git 저장소 마운트: + +`gopass mounts add {{저장소_이름}} {{git_레포지토리_주소}}` + +- 키워드를 사용해 대화형으로 검색: + +`gopass show {{키워드}}` + +- 키워드를 사용해 검색: + +`gopass find {{키워드}}` + +- 마운트된 모든 저장소 동기화: + +`gopass sync` + +- 특정 비밀번호 항목을 표시: + +`gopass {{저장소_이름|경로/대상/디렉터리|이메일@email.com}}` diff --git a/pages.ko/common/gops.md b/pages.ko/common/gops.md new file mode 100644 index 00000000000000..1fbdf729829dd7 --- /dev/null +++ b/pages.ko/common/gops.md @@ -0,0 +1,24 @@ +# gops + +> 현재 시스템에서 실행중인 Go 프로세스를 나열하고 진단. +> 더 많은 정보: . + +- 로컬에서 실행되는 모든 go 프로세스를 출력: + +`gops` + +- 프로세스에 대한 추가 정보를 출력: + +`gops {{프로세스아이디}}` + +- 프로세스 트리 출력: + +`gops tree` + +- 대상 프로그램에서 현재 스택 추적 현황을 출력: + +`gops stack {{프로세스아이디|주소}}` + +- 현재 런타임 메모리 통계를 출력: + +`gops memstats {{프로세스아이디|주소}}` diff --git a/pages.ko/common/goreload.md b/pages.ko/common/goreload.md new file mode 100644 index 00000000000000..d69a2b8784ec56 --- /dev/null +++ b/pages.ko/common/goreload.md @@ -0,0 +1,16 @@ +# goreload + +> Go 프로그램용 라이브 리로드 유틸리티. +> 더 많은 정보: . + +- 바이너리 파일 보기 (기본값은 `.goreload`): + +`goreload -b {{경로/대상/바이너리}} {{경로/대상/파일.go}}` + +- 사용자 정의 로그 접두사를 설정 (기본값은 `goreload`): + +`goreload --logPrefix {{prefix}} {{경로/대상/파일.go}}` + +- 파일이 변경될 때마다 다시 로드: + +`goreload --all` diff --git a/pages.ko/common/gotelemetry.md b/pages.ko/common/gotelemetry.md new file mode 100644 index 00000000000000..3915e9ac1f4b12 --- /dev/null +++ b/pages.ko/common/gotelemetry.md @@ -0,0 +1,24 @@ +# gotelemetry + +> Go 원격 측정 데이터 및 설정을 관리. +> 더 많은 정보: . + +- 원격 측정 업로드 활성화: + +`gotelemetry on` + +- 원격 측정 업로드 비활성화: + +`gotelemetry off` + +- 로컬 원격 측정 데이터에 대한 웹 뷰어를 실행: + +`gotelemetry view` + +- 현재 원격 측정 환경을 출력: + +`gotelemetry env` + +- 특정 하위 명령에 대한 도움말을 표시: + +`gotelemetry help {{하위명령어}}` diff --git a/pages.ko/common/gotty.md b/pages.ko/common/gotty.md new file mode 100644 index 00000000000000..e992073e763a4d --- /dev/null +++ b/pages.ko/common/gotty.md @@ -0,0 +1,16 @@ +# gotty + +> 터미널을 웹 애플리케이션으로 공유. +> 더 많은 정보: . + +- 명령어 결과 공유: + +`gotty {{명령어}}` + +- 쓰기 권한으로 공유: + +`gotty -w {{쉘}}` + +- 자격 증명으로 공유 (기본 인증): + +`gotty -w -c {{사용자명}}:{{비밀번호}} {{쉘}}` diff --git a/pages.ko/common/gouldtoppm.md b/pages.ko/common/gouldtoppm.md new file mode 100644 index 00000000000000..02275f96abff34 --- /dev/null +++ b/pages.ko/common/gouldtoppm.md @@ -0,0 +1,8 @@ +# gouldtoppm + +> Gould 스캐너 파일을 PPM 이미지로 변환. +> 더 많은 정보: . + +- Gould 스캐너 파일을 PPM 이미지로 변환: + +`gouldtoppm {{경로/대상/파일.gould}} > {{경로/대상/출력파일.ppm}}` diff --git a/pages.ko/common/gource.md b/pages.ko/common/gource.md new file mode 100644 index 00000000000000..259be136663ff3 --- /dev/null +++ b/pages.ko/common/gource.md @@ -0,0 +1,29 @@ +# gource + +> Git, SVN, Mercurial 및 Bazaar 저장소의 애니메이션 트리 다이러그램을 렌더링. +> 시간이 지남에 따라 생성, 수정 또는 제거되는 파일 및 디렉터리르 보여줌. +> 더 많은 정보: . + +- 디렉토리에서 gource를 실행 (저장소의 루트 디렉토리가 아닌 경우, 그곳에서 루트를 찾음): + +`gource {{경로/대상/레포지토리}}` + +- 사용자 정의 출력 해상도를 사용해, 현재 디렉터리에서 gource를 실행: + +`gource -{{너비}}x{{높이}}` + +- 애니메이션의 기간을 지정: + +`gource -c {{시간_척도_승수}}` + +- 매일 애니메이션에 표시되는 시간을 지정 (제공된 경우, -c와 결합): + +`gource -s {{초}}` + +- 전체 화면 모드 및 사용자 정의 배경색 사용: + +`gource -f -b {{hex_색상_코드}}` + +- 애니메이션 제목을 지정: + +`gource --title {{제목}}` diff --git a/pages.ko/common/gow.md b/pages.ko/common/gow.md new file mode 100644 index 00000000000000..754e410a7c4f94 --- /dev/null +++ b/pages.ko/common/gow.md @@ -0,0 +1,24 @@ +# gow + +> Go 파일을 관찰하고 변경 사항이 있으면, 앱을 다시 시작. +> 더 많은 정보: . + +- 현재 디렉터리를 시작하고 감시: + +`gow run .` + +- 지정된 인수를 사용하여 애플리케이션을 시작: + +`gow run . {{인수1 인수2 ...}}` + +- 상세 모드에서 하위 디렉터리를 보기: + +`gow -v -w={{경로/대상/디렉터리1,경로/대상/디렉터리2,...}} run .` + +- 지정된 파일 확장자를 확인: + +`gow -e={{go,html}} run .` + +- 도움말 표시: + +`gow -h` diff --git a/pages.ko/common/gox.md b/pages.ko/common/gox.md new file mode 100644 index 00000000000000..84aeb16648c982 --- /dev/null +++ b/pages.ko/common/gox.md @@ -0,0 +1,20 @@ +# gox + +> Go 프로그램을 크로스 컴파일. +> 더 많은 정보: . + +- 모든 운영체제 및 아키텍처 조합에 대해 현재 디렉터리에서 Go 프로그램을 컴파일: + +`gox` + +- 원격 URL에서 Go 프로그램을 다운로드하고 컴파일: + +`gox {{url_1}} {{url_2}}` + +- 특정 운영 체제에 대한 현재 디렉터리를 컴파일: + +`gox -os="{{운영체제}}"` + +- 단일 운영 체제 및 아키텍처 조합에 대한 현재 디렉터리를 컴파일: + +`gox -osarch="{{운영체제}}/{{아키텍처}}"` diff --git a/pages.ko/common/gpg-card.md b/pages.ko/common/gpg-card.md new file mode 100644 index 00000000000000..331a3ca04b02bb --- /dev/null +++ b/pages.ko/common/gpg-card.md @@ -0,0 +1,37 @@ +# gpg-card + +> OpenPGP 및 PIV 스마트 카드를 관리. +> `gpg --card-edit`과 유사. +> 더 많은 정보: . + +- 대화형 모드에서 시작: + +`gpg-card` + +- 비대화식으로 하나 이상의 명령을 호출: + +`gpg-card {{명령어1}} -- {{명령어2}} -- {{명령어3}}` + +- 스마트 카드에 대한 정보 표시: + +`gpg-card list` + +- OpenPGP 카드에 저장된 URL을 사용하여 공개 키를 검색: + +`gpg-card fetch` + +- `fetch` 명령어에 사용되는 URL을 설정: + +`gpg-card url` + +- PIN 변경 또는 차단 해제 (비대화형 모드에서 카드에 대한 기본 작업을 사용): + +`gpg-card passwd` + +- OpenPGP 카드의 forcesig 플래그를 토글 (즉, 서명을 위해 사용자 PIN을 입력해야 함): + +`gpg-card forcesig` + +- 스마트 카드 공장 초기화 (예. 모든 데이터 삭제 및 PIN 재설정): + +`gpg-card factory-reset` diff --git a/pages.ko/common/gpg-tui.md b/pages.ko/common/gpg-tui.md new file mode 100644 index 00000000000000..b020440b2dc284 --- /dev/null +++ b/pages.ko/common/gpg-tui.md @@ -0,0 +1,36 @@ +# gpg-tui + +> GNU Privacy Guard용 터미널 사용자 인터페이스. +> 더 많은 정보: . + +- `gpg-tui` 시작: + +`gpg-tui` + +- 색상 및 ASCII로 암호화된 출력으로 `gpg-tui`를 시작: + +`gpg-tui --style {{colored}} --armor` + +- `gpg-tui` 종료: + +`` + +- 대화형으로 새로운 키를 생성: + +`` + +- 선택한 키 내보내기: + +`` + +- 선택한 키에 대한 세부 수준을 설정: + +`<1>|<2>|<3>` + +- `gpg-tui`를 새로고침: + +`` + +- `gpg-tui`에 도움말 표시: + +`` diff --git a/pages.ko/common/gpg-zip.md b/pages.ko/common/gpg-zip.md new file mode 100644 index 00000000000000..a1c16b9446f628 --- /dev/null +++ b/pages.ko/common/gpg-zip.md @@ -0,0 +1,16 @@ +# gpg-zip + +> GPG를 사용하여 아카이브의 파일과 디렉터리를 암호화. +> 더 많은 정보: . + +- 비밀번호 문구를 사용하여 디렉터리를 `archive.gpg`로 암호화: + +`gpg-zip --symmetric --output {{아카이브.gpg}} {{경로/대상/디렉터리}}` + +- `아카이브.gpg`를 같은 이름의 디렉터리로 복호화: + +`gpg-zip --decrypt {{경로/대상/아카이브.gpg}}` + +- 암호화된 `아카이브.gpg`의 내용을 나열: + +`gpg-zip --list-archive {{경로/대상/아카이브.gpg}}` diff --git a/pages.ko/common/gpg.md b/pages.ko/common/gpg.md new file mode 100644 index 00000000000000..5a73dcb63fd8ea --- /dev/null +++ b/pages.ko/common/gpg.md @@ -0,0 +1,36 @@ +# gpg + +> GNU Privacy Guard. +> 더 많은 정보: . + +- GPG 공개 및 개인 키를 대화형으로 생성: + +`gpg {{[--full-gen-key|--full-generate-key]}}` + +- 암호화 없이 `doc.txt`에 서명 (`doc.txt.asc`에 출력을 기록): + +`gpg --clearsign {{doc.txt}}` + +- alice@example.com 및 bob@example.com에 대해 `doc.txt`를 암호화하고 서명 (`doc.txt.gpg`로 출력): + +`gpg {{[-es|--encrypt --sign]}} {{[-r|--recipient]}} {{alice@example.com}} {{[-r|--recipient]}} {{bob@example.com}} {{doc.txt}}` + +- 비밀번호 문구만으로 `doc.txt`를 암호화 (`doc.txt.gpg`로 출력): + +`gpg {{[-c|--symmetric]}} {{doc.txt}}` + +- `doc.txt.gpg` 복호화 (`stdout`으로 출력): + +`gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}` + +- 공개 키 가져오기: + +`gpg --import {{public.gpg}}` + +- alice@example.com에 대한 공개 키 내보내기 (`stdout`으로 출력): + +`gpg --export {{[-a|--armor]}} {{alice@example.com}}` + +- alice@example.com의 개인 키 내보내기 (`stdout`으로 출력): + +`gpg --export-secret-keys {{[-a|--armor]}} {{alice@example.com}}` diff --git a/pages.ko/common/gpgconf.md b/pages.ko/common/gpgconf.md new file mode 100644 index 00000000000000..3f5f0f15ec5b54 --- /dev/null +++ b/pages.ko/common/gpgconf.md @@ -0,0 +1,24 @@ +# gpgconf + +> .gnupg 홈 디렉터리를 수정. +> 더 많은 정보: . + +- 모든 컴포넌트 나열: + +`gpgconf --list-components` + +- gpgconf가 사용하는 디렉토리를 나열: + +`gpgconf --list-dirs` + +- 컴포넌트의 모든 옵션을 나열: + +`gpgconf --list-options {{컴포넌트}}` + +- 프로그램을 나열하고 실행 가능한지 테스트: + +`gpgconf --check-programs` + +- 컴포넌트 리로드: + +`gpgconf --reload {{컴포넌트}}` diff --git a/pages.ko/common/gpgv.md b/pages.ko/common/gpgv.md new file mode 100644 index 00000000000000..9d7e53617b4171 --- /dev/null +++ b/pages.ko/common/gpgv.md @@ -0,0 +1,16 @@ +# gpgv + +> OpenPGP 서명을 확인. +> 더 많은 정보: . + +- 서명된 파일을 확인: + +`gpgv {{경로/대상/파일}}` + +- 분리된 서명을 사용하여 서명된 파일을 확인: + +`gpgv {{경로/대상/서명}} {{경로/대상/파일}}` + +- 키링 목록에 파일을 추가 (내보낸 단일 키도 키링으로 간주됨): + +`gpgv --keyring {{./alice.keyring}} {{경로/대상/서명}} {{경로/대상/파일}}` diff --git a/pages.ko/common/gprbuild.md b/pages.ko/common/gprbuild.md new file mode 100644 index 00000000000000..44ff7499d7d0a3 --- /dev/null +++ b/pages.ko/common/gprbuild.md @@ -0,0 +1,20 @@ +# gprbuild + +> Ada 및 기타 언어 (C/C++/Fortran)로 작성된 프로젝트를 위한 고급 빌드 도구. +> 더 많은 정보: . + +- 프로젝트를 빌드 (현재 디렉터리에 하나의 `*.gpr` 파일만 존재한다고 가정): + +`gprbuild` + +- 특정 프로젝트([P]roject) 파일 빌드: + +`gprbuild -P{{프로젝트_이름}}` + +- 빌드 작업공간을 정리: + +`gprclean` + +- 컴파일된 바이너리를 설치: + +`gprinstall --prefix {{경로/대상/설치/폴더}}` diff --git a/pages.ko/common/gprof.md b/pages.ko/common/gprof.md new file mode 100644 index 00000000000000..44c6c4d14dbb65 --- /dev/null +++ b/pages.ko/common/gprof.md @@ -0,0 +1,21 @@ +# gprof + +> 다양한 프로그래밍 언어에 대한 성능 분석 도구. +> 프로그램의 기능 실행을 프로파일링. +> 더 많은 정보: . + +- gprof 정보로 바이너리를 컴파일하고 실행하여 `gmon.out`을 얻음: + +`gcc -pg {{program.c}} && {{./a.out}}` + +- gprof를 실행하여 프로필 출력을 얻음: + +`gprof` + +- 프로필 필드의 설명을 제거: + +`gprof -b` + +- 사용량이 전혀 없는 루틴을 보여줌: + +`gprof -bz` diff --git a/pages.ko/common/gradle.md b/pages.ko/common/gradle.md new file mode 100644 index 00000000000000..6932f721fdcf46 --- /dev/null +++ b/pages.ko/common/gradle.md @@ -0,0 +1,32 @@ +# gradle + +> 오픈소스 빌드 자동화 시스템. +> 더 많은 정보: . + +- 패키지 컴파일: + +`gradle build` + +- 테스트 작업 제외: + +`gradle build -x {{test}}` + +- Gradle이 빌드 중에 네트워크에 접근하지 못하도록 오프라인 모드에서 실행: + +`gradle build --offline` + +- 빌드 디렉터리를 삭제: + +`gradle clean` + +- 릴리스 모드에서 Android 패키지(APK)를 빌드: + +`gradle assembleRelease` + +- 주요 업무를 나열: + +`gradle tasks` + +- 모든 작업을 나열: + +`gradle tasks --all` diff --git a/pages.ko/common/grafana-cli.md b/pages.ko/common/grafana-cli.md new file mode 100644 index 00000000000000..5ed4baacf3d9a1 --- /dev/null +++ b/pages.ko/common/grafana-cli.md @@ -0,0 +1,12 @@ +# grafana-cli + +> Grafana 서브와 함께 번들로 제공되는 작은 실행 파일. +> 더 많은 정보: . + +- 특정 플러그인을 설치, 업데이트 또는 제거: + +`grafana-cli plugins {{install|update|remove}} {{플러그인_아이디1 플러그인_아이디2 ...}}` + +- 설치된 모든 플러그인을 나열: + +`grafana-cli plugins ls` diff --git a/pages.ko/common/grap.md b/pages.ko/common/grap.md new file mode 100644 index 00000000000000..ab1ec06c13ac3c --- /dev/null +++ b/pages.ko/common/grap.md @@ -0,0 +1,13 @@ +# grap + +> groff (GNU Troff) 문서 형식화 시스템을 위한 차트 작성 전처리기. +> `pic` 및 `groff`를 참고. +> 더 많은 정보: . + +- `grap` 파일을 처리하고 `pic` 및 `groff`를 사용하여 향후 처리를 위해 출력 파일을 저장: + +`grap {{경로/대상/입력파일.grap}} > {{경로/대상/출력파일.pic}}` + +- [me] 매크로 패키지를 사용하여 `grap` 파일을 PDF로 조판하고, 출력을 파일에 저장: + +`grap {{경로/대상/입력파일.grap}} | pic -T {{pdf}} | groff -{{me}} -T {{pdf}} > {{경로/대상/출력파일.pdf}}` diff --git a/pages.ko/common/graphml2gv.md b/pages.ko/common/graphml2gv.md new file mode 100644 index 00000000000000..0adfb4f2c6530b --- /dev/null +++ b/pages.ko/common/graphml2gv.md @@ -0,0 +1,17 @@ +# graphml2gv + +> 그래프를 `graphml`에서 `gv` 형식으로 변환. +> 변환기: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> 더 많은 정보: . + +- 그래프를 `gml`에서 `gv` 형식으로 변환: + +`graphml2gv -o {{출력.gv}} {{input.gml}}` + +- `stdin` 및 `stdout`을 사용하여 그래프를 변환: + +`cat {{input.gml}} | graphml2gv > {{출력.gv}}` + +- 도움말 표시: + +`graphml2gv -?` diff --git a/pages.ko/common/greater-than.md b/pages.ko/common/greater-than.md new file mode 100644 index 00000000000000..da64fd8fada84b --- /dev/null +++ b/pages.ko/common/greater-than.md @@ -0,0 +1,24 @@ +# Greater than + +> 출력을 파일로 리디렉션. +> 더 많은 정보: . + +- `stdout`을 파일로 리디렉션: + +`{{명령어}} > {{경로/대상/파일}}` + +- 파일에 추가: + +`{{명령어}} >> {{경로/대상/파일}}` + +- `stdout`과 `stderr`을 모두 파일로 리디렉션함: + +`{{명령어}} &> {{경로/대상/파일}}` + +- `stdout` 및 `stderr`을 모두 `/dev/null`로 리디렉션하여, 터미널 출력을 깨끗하게 유지: + +`{{명령어}} &> /dev/null` + +- 파일 내용을 지우거나 새로운 빈 파일을 생성: + +`> {{경로/대상/파일}}` diff --git a/pages.ko/common/grep.md b/pages.ko/common/grep.md new file mode 100644 index 00000000000000..f4686365010b91 --- /dev/null +++ b/pages.ko/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> 정규표현식으로 파일에서 패턴을 찾습니다. +> 더 많은 정보: . + +- 파일 안에서 패턴을 검색: + +`grep "{{검색_패턴}}" {{파일/의/경로}}` + +- 정규표현식을 사용하지 않고 정확히 일치하는 문자열 검색: + +`grep {{[-F|--fixed-strings]}} "{{문자열}}" {{파일/의/경로}}` + +- 재귀적으로 디렉토리 안의 바이너리 파일을 제외한 모든 파일 안에서 패턴을 검색하고, 일치하는 줄의 번호를 보여줌: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{검색_패턴}}" {{디렉토리/의/경로}}` + +- 대소문자를 구분하지 않는 모드에서 확장된 정규표현식 사용 (`?`, `+`, `{}`, `()`, 그리고 `|` 를 지원): + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{검색_패턴}}" {{파일/의/경로}}` + +- 일치하는 문자열 주변, 이전 혹은 이후의 3줄을 출력: + +`grep {{--context|--before-context|--after-context}} 3 "{{검색_패턴}}" {{파일/의/경로}}` + +- 각각의 일치하는 문자열의 파일 이름과 줄 번호 출력: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{검색_패턴}}" {{파일/의/경로}}` + +- 패턴과 일치하는 줄을 검색하고, 일치하는 문자만 출력: + +`grep {{[-o|--only-matching]}} "{{검색_패턴}}" {{파일/의/경로}}` + +- 패턴과 일치하지 않는 라인에 대한 `stdin` 검색: + +`cat {{파일/의/경로}} | grep {{[-v|--invert-match]}} "{{검색_패턴}}"` diff --git a/pages.ko/common/grex.md b/pages.ko/common/grex.md new file mode 100644 index 00000000000000..ae4fde6fd46c6d --- /dev/null +++ b/pages.ko/common/grex.md @@ -0,0 +1,28 @@ +# grex + +> 정규 표현식을 생성. +> 더 많은 정보: . + +- 간단한 정규 표현식 생성: + +`grex {{공백으로_구분된_문자열}}` + +- 대소문자를 구분하지 않는 정규식을 생성: + +`grex -i {{공백으로_구분된_문자열}}` + +- 숫자를 '\d'로 변경: + +`grex -d {{공백으로_구분된_문자열}}` + +- 유니코드 단어 문자를 '\w'로 변경: + +`grex -w {{공백으로_구분된_문자열}}` + +- 공백을 '\s'로 변경: + +`grex -s {{공백으로_구분된_문자열}}` + +- 반복되는 하위 문자열에 대한 {min, max} 수량자 표현을 추가: + +`grex -r {{공백으로_구분된_문자열}}` diff --git a/pages.ko/common/grip.md b/pages.ko/common/grip.md new file mode 100644 index 00000000000000..8bc73db11ddaf4 --- /dev/null +++ b/pages.ko/common/grip.md @@ -0,0 +1,20 @@ +# grip + +> GitHub 기반 Markdown 파일을 로컬에서 미리 볼 수 있음. +> 더 많은 정보: . + +- 서버를 시작하고 현재 디렉터리의 렌더링된 `README` 파일을 제공: + +`grip` + +- 서버를 시작하고 특정 Markdown 파일을 제공: + +`grip {{경로/대상/파일.md}}` + +- 서버를 시작하고 브라우저에서 현재 디렉터리의 `README` 파일을 열기: + +`grip --browser` + +- 지정된 포트에서 서버를 시작하고 현재 디렉터리의 렌더링된 `README` 파일을 제공: + +`grip {{포트}}` diff --git a/pages.ko/common/groff.md b/pages.ko/common/groff.md new file mode 100644 index 00000000000000..b74589451b9684 --- /dev/null +++ b/pages.ko/common/groff.md @@ -0,0 +1,24 @@ +# groff + +> `troff` 및 `nroff` 조판 유틸리티를 GNU로 대체. +> 더 많은 정보: . + +- PostScript 프린터의 출력 형식을 지정하고, 출력을 파일에 저장: + +`groff {{경로/대상/입력파일.roff}} > {{경로/대상/출력파일.ps}}` + +- ASCII 출력 장치를 사용하여 매뉴얼 페이지를 렌더링하고, 호출기를 사용하여 표시: + +`groff -man -T ascii {{경로/대상//manpage.1}} | less --RAW-CONTROL-CHARS` + +- 매뉴얼 페이지를 HTML 파일로 렌더링: + +`groff -man -T html {{경로/대상//manpage.1}} > {{경로/대상//manpage.html}}` + +- [me] 매크로 세트를 사용하여 테이블([t]ables) 및 그림([p]ictures)이 포함된 roff 파일을 PDF로 조판하고, 출력을 저장: + +`groff {{-t}} {{-p}} -{{me}} -T {{pdf}} {{경로/대상/입력파일.me}} > {{경로/대상/출력파일.pdf}}` + +- `grog` 유틸리티에서 추측한 전처리기 및 매크로 옵션을 사용하여 `groff` 명령을 실행: + +`eval "$(grog -T utf8 {{경로/대상/입력파일.me}})"` diff --git a/pages.ko/common/groups.md b/pages.ko/common/groups.md new file mode 100644 index 00000000000000..7a58e15f5588f4 --- /dev/null +++ b/pages.ko/common/groups.md @@ -0,0 +1,13 @@ +# groups + +> 사용자의 그룹 멤버십을 출력. +> 참고: `groupadd`, `groupdel`, `groupmod`. +> 더 많은 정보: . + +- 현재 사용자의 그룹 멤버십을 출력: + +`groups` + +- 사용자 목록의 그룹 구성원을 출력: + +`groups {{사용자명1 사용자명2 ...}}` diff --git a/pages.ko/common/grpcurl.md b/pages.ko/common/grpcurl.md new file mode 100644 index 00000000000000..f04934f2d775a8 --- /dev/null +++ b/pages.ko/common/grpcurl.md @@ -0,0 +1,21 @@ +# grpcurl + +> gRPC 서버와 상호 작용. +> `curl`과 비슷하지만, gRPC용임. +> 더 많은 정보: . + +- 빈 요청 보내기: + +`grpcurl {{grpc.server.com:443}} {{my.custom.server.Service/Method}}` + +- 헤더와 본문이 포함된 요청을 보냄: + +`grpcurl -H "{{Authorization: Bearer $token}}" -d {{'{"foo": "bar"}'}} {{grpc.server.com:443}} {{my.custom.server.Service/Method}}` + +- 서버가 노출하는 모든 서비스를 나열: + +`grpcurl {{grpc.server.com:443}} list` + +- 특정 서비스의 모든 메서드를 나열: + +`grpcurl {{grpc.server.com:443}} list {{my.custom.server.Service}}` diff --git a/pages.ko/common/grumphp.md b/pages.ko/common/grumphp.md new file mode 100644 index 00000000000000..b7484abac1f9e5 --- /dev/null +++ b/pages.ko/common/grumphp.md @@ -0,0 +1,16 @@ +# grumphp + +> 소스 코드 품질 검사를 가능하게 하는 PHP Composer 플러그인. +> 더 많은 정보: . + +- Git 훅을 등록: + +`grumphp git:init` + +- 사전 커밋 후크를 수동으로 트리거: + +`grumphp git:pre-commit` + +- 버전이 지정된 모든 파일을 확인: + +`grumphp run` diff --git a/pages.ko/common/grunt.md b/pages.ko/common/grunt.md new file mode 100644 index 00000000000000..90518362cb7c9a --- /dev/null +++ b/pages.ko/common/grunt.md @@ -0,0 +1,32 @@ +# grunt + +> 프로세스 자동화를 위한 JavaScript 작업 실행기. +> 더 많은 정보: . + +- 기본 작업 프로세스를 실행: + +`grunt` + +- 하나 이상의 작업을 실행: + +`grunt {{작업1 작업2 ...}}` + +- 대체 구성 파일을 지정: + +`grunt --gruntfile {{경로/대상/파일}}` + +- 상대 파일에 대한 대체 기본 경로를 지정: + +`grunt --base {{경로/대상/디렉터리}}` + +- 작업을 검색할 추가 디렉터리를 지정: + +`grunt --tasks {{경로/대상/디렉터리}}` + +- 파일을 쓰지 않고 테스트 실행을 수행: + +`grunt --no-write` + +- 도움말 표시: + +`grunt --help` diff --git a/pages.ko/common/gst-inspect-1.0.md b/pages.ko/common/gst-inspect-1.0.md new file mode 100644 index 00000000000000..a9ca67c3511f9d --- /dev/null +++ b/pages.ko/common/gst-inspect-1.0.md @@ -0,0 +1,12 @@ +# gst-inspect-1.0 + +> GStreamer 플러그인에 대한 정보를 출력. +> 더 많은 정보: . + +- 플러그인 정보 출력: + +`gst-inspect-1.0 {{플러그인}}` + +- 장치의 하드웨어 트랜스코딩 기능을 나열: + +`gst-inspect-1.0 {{vaapi|nvcodec}}` diff --git a/pages.ko/common/gst-launch-1.0.md b/pages.ko/common/gst-launch-1.0.md new file mode 100644 index 00000000000000..f842aac60803fa --- /dev/null +++ b/pages.ko/common/gst-launch-1.0.md @@ -0,0 +1,20 @@ +# gst-launch-1.0 + +> GStreamer 파이프라인 빌드 및 실행. +> 더 많은 정보: . + +- 창에서 테스트 비디오 재생: + +`gst-launch-1.0 videotestsrc ! xvimagesink` + +- 창에서 미디어 파일 재생: + +`gst-launch-1.0 playbin uri={{프로토콜}}://{{호스트}}/{{경로/대상/파일}}` + +- 미디어 파일을 다시 인코딩: + +`gst-launch-1.0 filesrc location={{경로/대상/파일}} ! {{파일_타입}}demux ! {{코덱_타입}}dec ! {{코덱_타입}}enc ! {{파일_타입}}mux ! filesink location={{경로/대상/파일}}` + +- RTSP 서버로 파일 스트리밍: + +`gst-launch-1.0 filesrc location={{경로/대상/파일}} ! rtspclientsink location=rtsp://{{호스트_아이피}}/{{경로/대상/파일}}` diff --git a/pages.ko/common/gsutil.md b/pages.ko/common/gsutil.md new file mode 100644 index 00000000000000..76c16c30e04393 --- /dev/null +++ b/pages.ko/common/gsutil.md @@ -0,0 +1,33 @@ +# gsutil + +> Google Cloud 스토리지 접근. +> `gsutil`을 사용하여 광범위한 버킷 및 객체 관리 작업을 수행 가능. +> 더 많은 정보: . + +- 로그인한 프로젝트의 모든 버킷을 나열: + +`gsutil ls` + +- 버킷의 객체를 나열: + +`gsutil ls -r 'gs://{{버킷_이름}}/{{prefix}}**'` + +- 버킷에서 객체 다운로드: + +`gsutil cp gs://{{버킷_이름}}/{{객체_이름}} {{path/to/save_location}}` + +- 버킷에 객체 업로드: + +`gsutil cp {{object_location}} gs://{{목적지_버킷_이름}}/` + +- 버킷의 객체 이름을 바꾸거나 객체를 이동: + +`gsutil mv gs://{{버킷_이름}}/{{오래된_객체_이름}} gs://{{버킷_이름}}/{{새로운_객체_이름}}` + +- 로그인한 프로젝트에서 새로운 버킷을 생성: + +`gsutil mb gs://{{버킷_이름}}` + +- 버킷을 삭제하고 버킷에 있는 모든 객체를 제거: + +`gsutil rm -r gs://{{버킷_이름}}` diff --git a/pages.ko/common/gt.md b/pages.ko/common/gt.md new file mode 100644 index 00000000000000..39699a9dec6bd9 --- /dev/null +++ b/pages.ko/common/gt.md @@ -0,0 +1,32 @@ +# gt + +> Git 및 GitHub에 대한 종속 코드 변경(스택) 시퀀스를 생성하고 관리. +> 더 많은 정보: . + +- Graphite의 API를 사용하여 CLI 인증: + +`gt auth --token {{graphite_cli_인증_토큰}}` + +- 현재 디렉터리의 저장소에 대해 `gt`를 초기화: + +`gt repo init` + +- 현재 브랜치 위에 쌓은 새로운 브랜치를 만들고 단계적 변경 사항을 커밋: + +`gt branch create {{브랜치_이름}}` + +- 새로운 커밋을 생성하고 업스택 브랜치를 수정: + +`gt commit create -m {{커밋_메시지}}` + +- 현재 스택의 모든 브랜치를 GitHub에 강제로 푸시하고 PR을 생성하거나 업데이트: + +`gt stack submit` + +- 추적된 모든 스택을 기록: + +`gt log short` + +- 지정된 하위 명령에 대한 도움말을 표시: + +`gt {{하위명령어}} --help` diff --git a/pages.ko/common/gtop.md b/pages.ko/common/gtop.md new file mode 100644 index 00000000000000..fbaf7cbf194d1a --- /dev/null +++ b/pages.ko/common/gtop.md @@ -0,0 +1,16 @@ +# gtop + +> 터미널의 시스템 모니터링 대시보드. +> 더 많은 정보: . + +- 시스템 통계 대시보드: + +`gtop` + +- CPU 사용량을 기준으로 정렬: + +`` + +- 메모리 사용량을 기준으로 정렬: + +`` diff --git a/pages.ko/common/guacd.md b/pages.ko/common/guacd.md new file mode 100644 index 00000000000000..56982add43652e --- /dev/null +++ b/pages.ko/common/guacd.md @@ -0,0 +1,21 @@ +# guacd + +> Apache Guacamole 프록시 데몬. +> Guacamole 프로토콜과 임의의 원격 데스크톱 프로토콜(예. RDP, VNC, 기타) 간의 인터페이스를 위한 클라이언트 플러그인용 로더를 지원ㄴ. +> 더 많은 정보: . + +- localhost의 특정 포트에 바인딩: + +`guacd -b {{127.0.0.1}} -l {{4823}}` + +- 디버그 모드에서 시작하여, 프로세스를 포그라운드에 유지: + +`guacd -f -L {{debug}}` + +- TLS 지원과 함께 시작: + +`guacd -C {{my-cert.crt}} -K {{my-key.pem}}` + +- PID을 파일에 작성: + +`guacd -p {{path/to/file.pid}}` diff --git a/pages.ko/common/guetzli.md b/pages.ko/common/guetzli.md new file mode 100644 index 00000000000000..69e3d4e7e605a3 --- /dev/null +++ b/pages.ko/common/guetzli.md @@ -0,0 +1,16 @@ +# guetzli + +> JPEG 이미지 압축 유틸리티. +> 더 많은 정보: . + +- JPEG 이미지 압축: + +`guetzli {{입력.jpg}} {{출력.jpg}}` + +- PNG에서 압축된 JPEG 만들기: + +`guetzli {{입력.png}} {{출력.jpg}}` + +- 원하는 시각적 품질 (84-100)로 JPEG를 압축: + +`guetzli --quality {{품질_값}} {{입력.jpg}} {{출력.jpg}}` diff --git a/pages.ko/common/guile.md b/pages.ko/common/guile.md new file mode 100644 index 00000000000000..91400274e78617 --- /dev/null +++ b/pages.ko/common/guile.md @@ -0,0 +1,20 @@ +# guile + +> Guile 스키마 해석기. +> 더 많은 정보: . + +- REPL(대화형 쉘)을 시작: + +`guile` + +- 지정된 스키마 파일에서 스크립트를 실행: + +`guile {{스크립트.scm}}` + +- 스키마 표현식 실행: + +`guile -c "{{표현식}}"` + +- 원격 REPL 연결을 위해 포트 또는 Unix 도메인 소켓(기본값은 37146포트): + +`guile --listen={{포트_또는_소켓}}` diff --git a/pages.ko/common/gulp.md b/pages.ko/common/gulp.md new file mode 100644 index 00000000000000..fd54a7354c6c8b --- /dev/null +++ b/pages.ko/common/gulp.md @@ -0,0 +1,17 @@ +# gulp + +> JavaScript 작업 실행기 및 스트리밍 빌드 시스템. +> 작업은 프로젝트 루트의 `gulpfile.js` 내에 정의됨. +> 더 많은 정보: . + +- 기본 작업 실행: + +`gulp` + +- 개별 작업 실행: + +`gulp {{작업}} {{다른작업}}` + +- 로드된 gulpfile에 대한 작업 종속성 트리를 출력: + +`gulp --tasks` diff --git a/pages.ko/common/gum.md b/pages.ko/common/gum.md new file mode 100644 index 00000000000000..e3fe9d0698acef --- /dev/null +++ b/pages.ko/common/gum.md @@ -0,0 +1,28 @@ +# gum + +> 매력적인 쉘 스크립트 만들기. +> 더 많은 정보: . + +- `stdout`으로 출력할 특정 옵션을 대화형으로 선택: + +`gum choose "{{옵션_1}}" "{{옵션_2}}" "{{옵션_3}}"` + +- 사용자가 특정 자리 표시자와 함께 문자열을 입력할 수 있는 대화형 프롬프트를 열기: + +`gum input --placeholder "{{값}}"` + +- 대화형 확인 프롬프트를 열고 `<0>` 또는 `<1>`로 종료: + +`gum confirm "{{Continue?}}" --default=false --affirmative "{{Yes}}" --negative "{{No}}" {{&& echo "Yes selected" || echo "No selected"}}` + +- 명령이 실행되는 동안 텍스트와 함께 스피너를 표시: + +`gum spin --spinner {{dot|line|minidot|jump|pulse|points|globe|moon|monkey|meter|hamburger}} --title "{{loading...}}" -- {{명령어}}` + +- 이모티콘을 포함하도록 텍스트 형식을 지정: + +`gum format -t {{emoji}} "{{:smile: :heart: hello}}"` + +- 여러 줄의 텍스트를 대화식으로 프롬프트하고 (저장하려면 ``) `data.txt`에 작성: + +`gum write > {{data.txt}}` diff --git a/pages.ko/common/gunicorn.md b/pages.ko/common/gunicorn.md new file mode 100644 index 00000000000000..c4b4f501ecf3ff --- /dev/null +++ b/pages.ko/common/gunicorn.md @@ -0,0 +1,28 @@ +# gunicorn + +> Python WSGI HTTP 서버. +> 더 많은 정보: . + +- Python 웹 애플리케이션 실행: + +`gunicorn {{import.path:app_object}}` + +- localhost의 포트 8080에서 수신 대기: + +`gunicorn --bind {{localhost}}:{{8080}} {{import.path:app_object}}` + +- 실시간 새로고침을 켜기: + +`gunicorn --reload {{import.path:app_object}}` + +- 요청 처리를 위해 4개의 작업자 프로세스를 사용: + +`gunicorn --workers {{4}} {{import.path:app_object}}` + +- 요청 처리를 위해 4개의 작업자 스레드를 사용: + +`gunicorn --threads {{4}} {{import.path:app_object}}` + +- Run app over HTTPS를 통해 애플리케이션을 실행: + +`gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{import.path:app_object}}` diff --git a/pages.ko/common/gunzip.md b/pages.ko/common/gunzip.md new file mode 100644 index 00000000000000..84aa19f7cd2dcd --- /dev/null +++ b/pages.ko/common/gunzip.md @@ -0,0 +1,24 @@ +# gunzip + +> `gzip` (`.gz`) 아카이브에서 파일을 추출. +> 더 많은 정보: . + +- 아카이브에서 파일을 추출하고, 원본 파일이 있는 경우 교체: + +`gunzip {{아카이브.tar.gz}}` + +- 대상 목적지로 파일을 추출: + +`gunzip --stdout {{아카이브.tar.gz}} > {{아카이브.tar}}` + +- 파일을 추출하고 아카이브 파일을 보관: + +`gunzip --keep {{아카이브.tar.gz}}` + +- 압축 파일의 내용을 나열: + +`gunzip --list {{file.txt.gz}}` + +- `stdin`에서 아카이브 압축 풀기: + +`cat {{경로/대상/아카이브.gz}} | gunzip` diff --git a/pages.ko/common/gv2gml.md b/pages.ko/common/gv2gml.md new file mode 100644 index 00000000000000..f85f28f8d26e9e --- /dev/null +++ b/pages.ko/common/gv2gml.md @@ -0,0 +1,17 @@ +# gv2gml + +> 그래프를 `gv`에서 `gml`형식으로 변환. +> 변환기: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> 더 많은 정보: . + +- 그래프를 `gv`에서 `gml`형식으로 변환.: + +`gv2gml -o {{output.gml}} {{input.gv}}` + +- `stdin` 및 `stdout` 사용하여 그래프를 변환: + +`cat {{입력.gv}} | gv2gml > {{출력.gml}}` + +- 도움말 표시: + +`gv2gml -?` diff --git a/pages.ko/common/gv2gxl.md b/pages.ko/common/gv2gxl.md new file mode 100644 index 00000000000000..05703ab990e573 --- /dev/null +++ b/pages.ko/common/gv2gxl.md @@ -0,0 +1,17 @@ +# gv2gxl + +> 그래프를 `gv`에서 `gxl` 형식으로 변환. +> 변환기: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> 더 많은 정보: . + +- 그래프를 `gv`에서 `gxl` 형식으로 변환: + +`gv2gxl -o {{출력.gxl}} {{입력.gv}}` + +- `stdin` 및 `stdout`을 사용하여 그래프를 반환: + +`cat {{입력.gv}} | gv2gxl > {{출력.gxl}}` + +- 도움말 표시: + +`gv2gxl -?` diff --git a/pages.ko/common/gvcolor.md b/pages.ko/common/gvcolor.md new file mode 100644 index 00000000000000..ecb0a7b29d34f0 --- /dev/null +++ b/pages.ko/common/gvcolor.md @@ -0,0 +1,17 @@ +# gvcolor + +> 다양한 색상으로 순위가 매겨진 이중 그래프를 색깔 입히기. +> 그래프비즈 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 순위가 매겨진 이중 그래프(이미 `dot`으로 처리됨)에 색상을 지정: + +`gvcolor {{경로/대상/레이아웃1.gv}} {{경로/대상/레이아웃2.gv ...}} > {{경로/대상/출력.gv}}` + +- 그래프를 배치하고 색상을 지정한 다음, PNG 이미지로 변환: + +`dot {{경로/대상/입력.gv}} | gvcolor | dot -T {{png}} > {{경로/대상/출력.png}}` + +- 도움말 표시: + +`gvcolor -?` diff --git a/pages.ko/common/gvpack.md b/pages.ko/common/gvpack.md new file mode 100644 index 00000000000000..d842205dcc080a --- /dev/null +++ b/pages.ko/common/gvpack.md @@ -0,0 +1,25 @@ +# gvpack + +> 여러 그래프 레이아웃 (이미 레이아웃 정보가 있음을 결합)을 결합. +> 그래프비즈 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 이미 레이아웃 정보가 있는 여러 그래프 레이아웃을 결합: + +`gvpack {{경로/대상/레이아웃1.gv}} {{경로/대상/레이아웃2.gv ...}} > {{경로/대상/출력파일.gv}}` + +- 그래프 수준에서 여러 그래프 레이아웃을 결합하여, 그래프를 별도로 유지: + +`gvpack -g {{경로/대상/레이아웃1.gv}} {{경로/대상/레이아웃2.gv ...}} > {{경로/대상/출력파일.gv}}` + +- 클러스터를 무시하고, 노드 수준에서 여러 그래프 레이아웃을 결합: + +`gvpack -n {{경로/대상/레이아웃1.gv}} {{경로/대상/레이아웃2.gv ...}} > {{경로/대상/출력파일.gv}}` + +- 패킹 없이 여러 그래프 레이아웃 결합: + +`gvpack -u {{경로/대상/레이아웃1.gv}} {{경로/대상/레이아웃2.gv ...}} > {{경로/대상/출력파일.gv}}` + +- 도움말 표시: + +`gvpack -?` diff --git a/pages.ko/common/gxl2gv.md b/pages.ko/common/gxl2gv.md new file mode 100644 index 00000000000000..5d28a6676a13e0 --- /dev/null +++ b/pages.ko/common/gxl2gv.md @@ -0,0 +1,17 @@ +# gxl2gv + +> 그래프를 `gxl`에서 `gv` 형식으로 변환. +> 변환기: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> 더 많은 정보: . + +- 그래프를 `gxl`에서 `gv` 형식으로 변환: + +`gxl2gv -o {{출력.gv}} {{입력.gxl}}` + +- `stdin` 및 `stdout`을 사용하여 그래프를 변환: + +`cat {{입력.gxl}} | gxl2gv > {{출력.gv}}` + +- 도움말 표시: + +`gxl2gv -?` diff --git a/pages.ko/common/gyb.md b/pages.ko/common/gyb.md new file mode 100644 index 00000000000000..4b9e924b2cfad3 --- /dev/null +++ b/pages.ko/common/gyb.md @@ -0,0 +1,20 @@ +# gyb + +> HTTPS를 통해 Gmail API를 사용하여 Gmail 메시지를 로컬로 백업. +> 더 많은 정보: . + +- Gmail 계정에 있는 모든 이메일의 수와 크기를 추정: + +`gyb --email {{email@gmail.com}} --action estimate` + +- Gmail 계정을 특정 디렉토리에 백업: + +`gyb --email {{email@gmail.com}} --action backup --local-folder {{경로/대상/디렉토리}}` + +- Gmail 계정에서 중요하거나 별표 표시된 이메일만 기본 로컬 폴더에 백업: + +`gyb --email {{email@gmail.com}} --search "{{is:important OR is:starred}}"` + +- 로컬 폴더에서 Gmail 계정에서 복원: + +`gyb --email {{email@gmail.com}} --action restore --local-folder {{경로/대상/디렉토리}}` diff --git a/pages.ko/common/gzip.md b/pages.ko/common/gzip.md new file mode 100644 index 00000000000000..6c88dc72200e09 --- /dev/null +++ b/pages.ko/common/gzip.md @@ -0,0 +1,32 @@ +# gzip + +> `gzip` 압축 (LZ77)을 사용하여 파일 압축/압축 해제. +> 더 많은 정보: . + +- 파일을 압축하여, `gzip` 아카이브로 대체: + +`gzip {{경로/대상/파일}}` + +- 파일의 압축을 풀어, 원래의 압축되지 않은 버전으로 교체: + +`gzip {{[-d|--decompress]}} {{경로/대상/파일.gz}}` + +- 원본 파일을 유지하면서, 파일을 압축: + +`gzip {{[-k|--keep]}} {{경로/대상/파일}}` + +- 출력 파일 이름을 지정하여, 파일을 압축: + +`gzip {{[-c|--stdout]}} {{경로/대상/파일}} > {{경로/대상/압축된_파일.gz}}` + +- 출력 파일 이름을 지정하여, `gzip` 아카이브의 압축을 품: + +`gzip {{[-c|--stdout]}} {{[-d|--decompress]}} {{경로/대상/파일.gz}} > {{경로/대상/압축해제된_파일}}` + +- 압축 수준을 지정. 1은 가장 빠르며 (낮은 압축), 9는 가장 느림 (높은 압축), 6은 기본값: + +`gzip -{{1..9}} {{[-c|--stdout]}} {{경로/대상/파일}} > {{경로/대상/압축된_파일.gz}}` + +- 압축 또는 압축 해제된 각 파일의 이름과 감소 비율을 표시: + +`gzip {{[-v|--verbose]}} {{[-d|--decompress]}} {{경로/대상/파일.gz}}` diff --git a/pages.ko/common/hadolint.md b/pages.ko/common/hadolint.md new file mode 100644 index 00000000000000..cd3ebbc1d52d23 --- /dev/null +++ b/pages.ko/common/hadolint.md @@ -0,0 +1,24 @@ +# hadolint + +> Dockerfile 린터. +> 더 많은 정보: . + +- Dockerfile 린트: + +`hadolint {{경로/대상/Dockerfile}}` + +- Dockerfile을 린트하여, 출력을 JSON 형식으로 표시: + +`hadolint --format {{json}} {{경로/대상/Dockerfile}}` + +- Dockerfile을 린트하여, 특정 형식으로 출력을 표시: + +`hadolint --format {{tty|json|checkstyle|codeclimate|codacy}} {{경로/대상/Dockerfile}}` + +- 특정 규칙을 무시하고 Dockerfile을 린트: + +`hadolint --ignore {{DL3006}} --ignore {{DL3008}} {{경로/대상/Dockerfile}}` + +- 특정 신뢰할 수 있는 레지스트리를 사용하여 여러 Dockerfile을 린트하는 것: + +`hadolint --trusted-registry {{docker.io}} --trusted-registry {{example.com}}:{{5000}} {{경로/대상/Dockerfile1 경로/대상/Dockerfile2 ...}}` diff --git a/pages.ko/common/hakyll-init.md b/pages.ko/common/hakyll-init.md new file mode 100644 index 00000000000000..782bd7908c0850 --- /dev/null +++ b/pages.ko/common/hakyll-init.md @@ -0,0 +1,12 @@ +# hakyll-init + +> 새로운 Hakyll 샘플 블로그 생성. +> 더 많은 정보: . + +- 새로운 Hakyll 샘플 블로그 생성: + +`hakyll-init {{경로/대상/디렉토리}}` + +- 도움말 표시: + +`hakyll-init --help` diff --git a/pages.ko/common/handbrakecli.md b/pages.ko/common/handbrakecli.md new file mode 100644 index 00000000000000..fa25fa636ed52c --- /dev/null +++ b/pages.ko/common/handbrakecli.md @@ -0,0 +1,28 @@ +# handbrakecli + +> HandBrake 비디오 변환 및 DVD 리핑 도구에 대한 명령줄 인터페이스. +> 더 많은 정보: . + +- 비디오 파일을 MKV(AAC 160kbit 오디오 및 x264 CRF20 비디오)로 변환: + +`handbrakecli --input {{입력.avi}} --output {{출력.mkv}} --encoder x264 --quality 20 --ab 160` + +- 비디오 파일 크기를 320x240으로 조정: + +`handbrakecli --input {{입력.mp4}} --output {{출력.mp4}} --width 320 --height 240` + +- 사용 가능한 사전 설정 목록: + +`handbrakecli --preset-list` + +- Android 사전 설정을 사용하여 AVI 비디오를 MP4로 변환: + +`handbrakecli --preset="Android" --input {{입력.ext}} --output {{출력.mp4}}` + +- DVD 내용을 출력하고 그 과정에서 CSS 키를 가져옴: + +`handbrakecli --input {{/dev/sr0}} --title 0` + +- 지정된 장치에서 DVD의 첫 번째 트랙을 추출. 오디오트랙과 자막 언어는 목록으로 지정됨: + +`handbrakecli --input {{/dev/sr0}} --title 1 --output {{out.mkv}} --format av_mkv --encoder x264 --subtitle {{1,4,5}} --audio {{1,2}} --aencoder copy --quality {{23}}` diff --git a/pages.ko/common/hangups.md b/pages.ko/common/hangups.md new file mode 100644 index 00000000000000..58f9461ce49426 --- /dev/null +++ b/pages.ko/common/hangups.md @@ -0,0 +1,16 @@ +# hangups + +> Google Hangouts용 타사 명령줄 클라이언트. +> 더 많은 정보: . + +- `hangups` 시작: + +`hangups` + +- 문제 해결 정보 및 도움말 표시: + +`hangups -h` + +- hangups에 대한 새로 고침 토큰 설정: + +`hangups --token-path {{경로/대상/토큰}}` diff --git a/pages.ko/common/hardhat.md b/pages.ko/common/hardhat.md new file mode 100644 index 00000000000000..20f8c70497244f --- /dev/null +++ b/pages.ko/common/hardhat.md @@ -0,0 +1,36 @@ +# hardhat + +> Ethereum 소프트웨어 개발 환경. +> 더 많은 정보: . + +- 사용 가능한 하위 명령어를 나열 (또는 구성 파일이 없는 경우, 새로운 프로젝트 생성): + +`hardhat` + +- 현재 프로젝트를 컴파일하고, 모든 아티팩트를 빌드: + +`hardhat compile` + +- 프로젝트를 컴파일한 후 사용자 정의 스크립트를 실행: + +`hardhat run {{경로/대상/스크립트.js}}` + +- Mocha 테스트 실행: + +`hardhat test` + +- 주어진 모든 테스트 파일을 실행: + +`hardhat test {{경로/대상/파일1.js}} {{경로/대상/파일2.js}}` + +- 개발을 위해 로컬 Ethereum JSON-RPC 노드를 시작: + +`hardhat node` + +- 특정 호스트 이름과 포트를 사용하여 로컬 Ethereum JSON-RPC 노드를 시작: + +`hardhat node --hostname {{호스트명}} --port {{포트}}` + +- 캐시 및 모든 아티팩트 정리: + +`hardhat clean` diff --git a/pages.ko/common/hashcat.md b/pages.ko/common/hashcat.md new file mode 100644 index 00000000000000..4f6fc76853ca25 --- /dev/null +++ b/pages.ko/common/hashcat.md @@ -0,0 +1,36 @@ +# hashcat + +> 빠른 고급 비밀번호 복구 도구. +> 더 많은 정보: . + +- 기본 hashcat 마스크를 사용하여 무차별 대입 공격(모드 3)을 수행: + +`hashcat --hash-type {{hash_타입_아이디}} --attack-mode {{3}} {{hash_값}}` + +- 알려진 4자리 패턴으로 무차별 대입 공격(모드 3)을 수행: + +`hashcat --hash-type {{hash_타입_아이디}} --attack-mode {{3}} {{hash_값}} "{{?d?d?d?d}}"` + +- 인쇄 가능한 모든 ASCII 문자 중 최대 8개를 사용하여 무차별 대입 공격(모드 3)을 수행: + +`hashcat --hash-type {{hash_타입_아이디}} --attack-mode {{3}} --increment {{hash_값}} "{{?a?a?a?a?a?a?a?a}}"` + +- Kali Linux 상자의 단어 목록을 사용하여 사전 공격(모드 0)을 수행: + +`hashcat --hash-type {{hash_타입_아이디}} --attack-mode {{0}} {{hash_값}} {{/usr/share/wordlists/rockyou.txt}}` + +- 일반적인 비밀번호 변형으로 변형된 RockYou 단어 목록을 사용하여 규칙 기반 사전 공격(모드 0)을 수행: + +`hashcat --hash-type {{hash_타입_아이디}} --attack-mode {{0}} --rules-file {{/usr/share/hashcat/rules/best64.rule}} {{hash_값}} {{/usr/share/wordlists/rockyou.txt}}` + +- 두 가지 다른 사용자 정의 사전의 단어 연결을 사용하여 조합 공격(모드 1)을 수행: + +`hashcat --hash-type {{hash_타입_아이디}} --attack-mode {{1}} {{hash_값}} {{/경로/대상/사전1.txt}} {{/경로/대상/사전2.txt}}` + +- 이미 크랙된 해시의 결과를 표시: + +`hashcat --show {{hash_값}}` + +- 모든 예시 해시 표시: + +`hashcat --example-hashes` diff --git a/pages.ko/common/hashid.md b/pages.ko/common/hashid.md new file mode 100644 index 00000000000000..7cfa41f4ebb508 --- /dev/null +++ b/pages.ko/common/hashid.md @@ -0,0 +1,28 @@ +# hashid + +> 데이터 및 비밀번호 해시를 식별하는 Python3 프로그램. +> 더 많은 정보: . + +- `stdin`에서 해시를 식별 (입력, 복사 및 붙여넣기 또는 해시를 프로그램에 파이프 사용): + +`hashid` + +- 하나 이상의 해시를 식별: + +`hashid {{해시1 해시2 ...}}` + +- 파일의 해시를 식별 (한 줄에 하나의 해시): + +`hashid {{경로/대상/해시.txt}}` + +- 가능한 모든 해시 유형 표시 (salt된 해시를 포함): + +`hashid --extended {{해시}}` + +- `hashcat`의 모드 번호와 `john`의 해시 유형 형식 문자열을 표시: + +`hashid --mode --john {{해시}}` + +- `stdout`으로 출력하는 대신 파일에 출력을 저장: + +`hashid --outfile {{경로/대상/출력파일.txt}} {{해시}}` diff --git a/pages.ko/common/haxelib.md b/pages.ko/common/haxelib.md new file mode 100644 index 00000000000000..0362e41af9ffa1 --- /dev/null +++ b/pages.ko/common/haxelib.md @@ -0,0 +1,32 @@ +# haxelib + +> Haxe 라이브러리 관리자. +> 더 많은 정보: . + +- Haxe 라이브러리 검색: + +`haxelib search {{키워드}}` + +- Haxe 라이브러리 설치: + +`haxelib install {{라이브러리이름}}` + +- 특정 버전의 Haxe 라이브러리를 설치: + +`haxelib install {{라이브러리이름}} {{버전}}` + +- 설치된 모든 Haxe 라이브러리를 업그레이드: + +`haxelib upgrade` + +- Git 저장소에서 라이브러리의 개발 버전을 설치: + +`haxelib git {{라이브러리이름}} {{git_주소}}` + +- Haxe 라이브러리 설치 삭제: + +`haxelib remove {{라이브러리이름}}` + +- 로컬에 설치된 Haxe 라이브러리의 트리를 출력: + +`haxelib list` diff --git a/pages.ko/common/hcloud.md b/pages.ko/common/hcloud.md new file mode 100644 index 00000000000000..7cd56b517f0bbe --- /dev/null +++ b/pages.ko/common/hcloud.md @@ -0,0 +1,16 @@ +# hcloud + +> Hetzner Cloud용 CLI를 사용하는 방법을 보여줌. +> 더 많은 정보: . + +- 사용 가능한 명령 및 플래그 표시: + +`hcloud` + +- 도움말 표시: + +`hcloud -h` + +- `hcloud` 컨텍스트에 사용 가능한 명령과 플래그를 표시: + +`hcloud context` diff --git a/pages.ko/common/hd.md b/pages.ko/common/hd.md new file mode 100644 index 00000000000000..64d31bb50fd721 --- /dev/null +++ b/pages.ko/common/hd.md @@ -0,0 +1,7 @@ +# hd + +> 이 명령은 `hexdump`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr hexdump` diff --git a/pages.ko/common/head.md b/pages.ko/common/head.md new file mode 100644 index 00000000000000..1817c28182e59e --- /dev/null +++ b/pages.ko/common/head.md @@ -0,0 +1,8 @@ +# head + +> 파일의 첫 번째 부분을 출력. +> 더 많은 정보: . + +- 파일의 처음 몇 줄을 출력: + +`head -n {{개수}} {{경로/대상/파일}}` diff --git a/pages.ko/common/helix.md b/pages.ko/common/helix.md new file mode 100644 index 00000000000000..d4869f75056b86 --- /dev/null +++ b/pages.ko/common/helix.md @@ -0,0 +1,33 @@ +# helix + +> 포스트모던 텍스트 편집기인 Helix는 다양한 종류의 텍스트 조작을 위한 여러 모드를 제공. +> ``를 누르면 삽입 모드로 들어감. ``는 Helix 명령을 사용할 수 있는 일반 모드로 들어감. +> 더 많은 정보: . + +- 파일 열기: + +`helix {{경로/대상/파일}}` + +- Helix 테마 변경: + +`<:>theme {{테마_이름}}` + +- 저장 및 종료: + +`<:>wq` + +- 저장하지 않고 강제 종료: + +`<:>q!` + +- 마지막 작업 실행 취소: + +`` + +- 파일에서 패턴 검색 (다음/이전 일치 항목으로 이동하려면 ``/``을 누름): + +`{{검색_패턴}}` + +- 파일 포맷: + +`<:>format` diff --git a/pages.ko/common/hello.md b/pages.ko/common/hello.md new file mode 100644 index 00000000000000..7f7300b34e328f --- /dev/null +++ b/pages.ko/common/hello.md @@ -0,0 +1,16 @@ +# hello + +> "Hello, world!", "hello, world" 또는 사용자 정의 가능한 텍스트를 출력. +> 더 많은 정보: . + +- "Hello, world!" 출력: + +`hello` + +- 전통적인 유형인 "hello, world"를 출력: + +`hello {{[-t|--traditional]}}` + +- 문자 메시지 출력: + +`hello {{[-g|--greeting]}} "{{인사말_텍스트}}"` diff --git a/pages.ko/common/helm-install.md b/pages.ko/common/helm-install.md new file mode 100644 index 00000000000000..6b302f90ffb26c --- /dev/null +++ b/pages.ko/common/helm-install.md @@ -0,0 +1,32 @@ +# helm install + +> helm 차트 설치. +> 더 많은 정보: . + +- helm 차트 설치: + +`helm install {{이름}} {{레포지토리_이름}}/{{차트_이름}}` + +- 압축을 푼 차트 디렉터리에서 helm 차트를 설치: + +`helm install {{이름}} {{경로/대상/소스_디렉터리}}` + +- URL에서 helm 차트를 설치: + +`helm install {{패키지_이름}} {{https://example.com/charts/packagename-1.2.3.tgz}}` + +- helm 차트 설치하고 이름을 생성: + +`helm install {{레포지토리_이름}}/{{차트_이름}} --generate-name` + +- 연습 실행을 수행: + +`helm install {{이름}} {{레포지토리_이름}}/{{차트_이름}} --dry-run` + +- Install a helm chart with custom values: + +`helm install {{이름}} {{레포지토리_이름}}/{{차트_이름}} --set {{매개변수1}}={{값1}},{{매개변수2}}={{값2}}` + +- 사용자 정의 값 파일을 전달하는 helm 차트를 설치: + +`helm install {{이름}} {{레포지토리_이름}}/{{차트_이름}} --values {{경로/대상/값들.yaml}}` diff --git a/pages.ko/common/helm.md b/pages.ko/common/helm.md new file mode 100644 index 00000000000000..8fdb13f51beb74 --- /dev/null +++ b/pages.ko/common/helm.md @@ -0,0 +1,37 @@ +# helm + +> Kubernetes 패키지 관리자. +> `install`과 같은 하위 명령어에는 자체 사용법 문서가 있음. +> 더 많은 정보: . + +- helm 차트 생성: + +`helm create {{차트_이름}}` + +- 새로운 helm 레포지토리를 추가: + +`helm repo add {{레포지토리_이름}}` + +- helm 레포지토리 나열: + +`helm repo list` + +- helm 레포지토리 업데이트: + +`helm repo update` + +- helm 레포지토리 삭제: + +`helm repo remove {{레포지토리_이름}}` + +- helm 차트 설치: + +`helm install {{이름}} {{레포지토리_이름}}/{{차트_이름}}` + +- tar 아카이브로 helm 차트 다운로드: + +`helm get {{차트_배포_이름}}` + +- helm 종속성 업데이트: + +`helm dependency update` diff --git a/pages.ko/common/help.md b/pages.ko/common/help.md new file mode 100644 index 00000000000000..6dffee1b659a24 --- /dev/null +++ b/pages.ko/common/help.md @@ -0,0 +1,28 @@ +# help + +> Bash 내장 명령에 대한 정보를 표시. +> 더 많은 정보: . + +- 내장 명령의 전체 목록을 표시: + +`help` + +- `while` 루프 구성을 사용하는 방법에 대한 지침을 출력: + +`help while` + +- `for` 루프 구성을 사용하는 방법에 대한 지침을 출력: + +`help for` + +- 조건부 명령에 `[[ ]]`를 사용하는 방법에 대한 지침을 출력: + +`help [[ ]]` + +- 산술 표현식을 평가하기 위해 `(( ))`를 사용하는 방법에 대한 지침을 출력: + +`help \( \)` + +- `cd` 명령 사용 방법에 대한 지침을 출력: + +`help cd` diff --git a/pages.ko/common/help2man.md b/pages.ko/common/help2man.md new file mode 100644 index 00000000000000..5c8a8f475534d5 --- /dev/null +++ b/pages.ko/common/help2man.md @@ -0,0 +1,24 @@ +# help2man + +> 실행 파일의 `--help` 및 `--version` 출력에서 간단한 매뉴얼 페이지 생성. +> 더 많은 정보: . + +- 실행 파일에 대한 매뉴얼 페이지를 생성: + +`help2man {{실행파일}}` + +- man 페이지에서 "이름" 단락을 지정: + +`help2man {{실행파일}} --name {{이름}}` + +- man 페이지의 섹션을 지정 (기본값은 1): + +`help2man {{실행파일}} --section {{섹션}}` + +- `stdout` 대신 파일로 출력: + +`help2man {{실행파일}} --output {{경로/대상/파일}}` + +- 도움말 표시: + +`help2man --help` diff --git a/pages.ko/common/heroku.md b/pages.ko/common/heroku.md new file mode 100644 index 00000000000000..1ad90d11673658 --- /dev/null +++ b/pages.ko/common/heroku.md @@ -0,0 +1,28 @@ +# heroku + +> Heroku 애플리케이션 생성 및 관리. +> 더 많은 정보: . + +- Heroku 계정에 로그인: + +`heroku login` + +- Heroku 애플리케이션 생성: + +`heroku create` + +- 애플리케이션 로그 표시: + +`heroku logs --app {{애플리케이션_이름}}` + +- dyno (Heroku 가상 머신) 내에서 일회성 프로세스를 실행: + +`heroku run {{프로세스_이름}} --app {{애플리케이션_이름}}` + +- 애플리케이션의 dynos (Heroku 가상 머신) 나열: + +`heroku ps --app {{애플리케이션_이름}}` + +- 애플리케이션 영구적으로 삭제: + +`heroku destroy --app {{애플리케이션_이름}}` diff --git a/pages.ko/common/hexo.md b/pages.ko/common/hexo.md new file mode 100644 index 00000000000000..7aebb155b54711 --- /dev/null +++ b/pages.ko/common/hexo.md @@ -0,0 +1,28 @@ +# hexo + +> 빠르고, 간단하며 강력한 블로그 프레임워크. +> 더 많은 정보: . + +- 웹사이트 초기화: + +`hexo init {{path/to/directory}}` + +- 새로운 기사 생성: + +`hexo new {{layout}} {{title}}` + +- 정적 파일을 생성: + +`hexo generate` + +- 로컬 서버 실행: + +`hexo server` + +- 웹사이트 배포: + +`hexo deploy` + +- 캐시 파일(`db.json`)과 생성된 파일(`public/`)을 정리: + +`hexo clean` diff --git a/pages.ko/common/hexyl.md b/pages.ko/common/hexyl.md new file mode 100644 index 00000000000000..a1bb4835527801 --- /dev/null +++ b/pages.ko/common/hexyl.md @@ -0,0 +1,20 @@ +# hexyl + +> 터미널용 간단한 16진수 뷰어. 다양한 카테고리의 바이트를 구별하기 위해 컬러 출력을 사용. +> 더 많은 정보: . + +- 파일의 16진수 표현을 출력: + +`hexyl {{경로/대상/파일}}` + +- 파일의 처음 n 바이트의 16진수 표현을 출력: + +`hexyl -n {{n}} {{경로/대상/파일}}` + +- 파일의 바이트 512부터 1024를 출력: + +`hexyl -r {{512}}:{{1024}} {{경로/대상/파일}}` + +- 1024번째 바이트부터 512 바이트를 출력: + +`hexyl -r {{1024}}:+{{512}} {{경로/대상/파일}}` diff --git a/pages.ko/common/hg-add.md b/pages.ko/common/hg-add.md new file mode 100644 index 00000000000000..923f525d6fc550 --- /dev/null +++ b/pages.ko/common/hg-add.md @@ -0,0 +1,24 @@ +# hg add + +> 지정한 파일을 Mercurial의 다음 커밋을 위한 스테이징 영역에 추가. +> 더 많은 정보: . + +- 파일 또는 디렉토리를 스테이징 영역에 추가: + +`hg add {{경로/대상/파일}}` + +- 지정된 패턴과 일치하는 모든 스테이징되지 않은 파일 추가: + +`hg add --include {{패턴}}` + +- 지정된 패턴과 일치하지 않는 모든 스테이징되지 않은 파일 추가: + +`hg add --exclude {{패턴}}` + +- 하위 저장소를 재귀적으로 추가: + +`hg add --subrepos` + +- 아무런 작업도 수행하지 않고 테스트 실행: + +`hg add --dry-run` diff --git a/pages.ko/common/hg-branch.md b/pages.ko/common/hg-branch.md new file mode 100644 index 00000000000000..b0268d62bbbc10 --- /dev/null +++ b/pages.ko/common/hg-branch.md @@ -0,0 +1,12 @@ +# hg branch + +> 브랜치 이름을 생성하거나 표시. +> 더 많은 정보: . + +- 현재 활성 브랜치의 이름 표시: + +`hg branch` + +- 다음 커밋을 위한 새 브랜치 생성: + +`hg branch {{브랜치_이름}}` diff --git a/pages.ko/common/hg-clone.md b/pages.ko/common/hg-clone.md new file mode 100644 index 00000000000000..0756a92d6daf06 --- /dev/null +++ b/pages.ko/common/hg-clone.md @@ -0,0 +1,24 @@ +# hg clone + +> 기존 저장소의 복사본을 새 디렉터리에 생성. +> 더 많은 정보: . + +- 저장소를 지정한 디렉터리에 클론: + +`hg clone {{원격_저장소_소스}} {{대상_경로}}` + +- 특정 브랜치의 헤드로 저장소를 클론하고 이후 커밋 무시: + +`hg clone --branch {{브랜치}} {{원격_저장소_소스}}` + +- 파일을 체크아웃하지 않고 `.hg` 디렉터리만으로 저장소를 클론: + +`hg clone --noupdate {{원격_저장소_소스}}` + +- 특정 리비전, 태그 또는 브랜치로 저장소를 클론하며 전체 기록 유지: + +`hg clone --updaterev {{리비전}} {{원격_저장소_소스}}` + +- 특정 리비전까지만 저장소를 클론하고 이후 기록 무시: + +`hg clone --rev {{리비전}} {{원격_저장소_소스}}` diff --git a/pages.ko/common/hg-commit.md b/pages.ko/common/hg-commit.md new file mode 100644 index 00000000000000..c461a1ec39248c --- /dev/null +++ b/pages.ko/common/hg-commit.md @@ -0,0 +1,28 @@ +# hg commit + +> 준비된 모든 파일 또는 지정된 파일을 저장소에 커밋. +> 더 많은 정보: . + +- 준비된 파일을 저장소에 커밋: + +`hg commit` + +- 특정 파일 또는 디렉터리를 커밋: + +`hg commit {{경로/대상/파일_또는_디렉터리}}` + +- 특정 메시지와 함께 커밋: + +`hg commit --message {{메시지}}` + +- 지정된 패턴과 일치하는 모든 파일을 커밋: + +`hg commit --include {{패턴}}` + +- 지정된 패턴과 일치하지 않는 모든 파일을 커밋: + +`hg commit --exclude {{패턴}}` + +- 대화형 모드를 사용하여 커밋: + +`hg commit --interactive` diff --git a/pages.ko/common/hg-init.md b/pages.ko/common/hg-init.md new file mode 100644 index 00000000000000..18901f25fac501 --- /dev/null +++ b/pages.ko/common/hg-init.md @@ -0,0 +1,12 @@ +# hg init + +> 지정된 디렉토리에 새 저장소를 생성. +> 더 많은 정보: . + +- 현재 디렉토리에 새 저장소 초기화: + +`hg init` + +- 지정된 디렉토리에 새 저장소 초기화: + +`hg init {{경로/대상/폴더}}` diff --git a/pages.ko/common/hg-log.md b/pages.ko/common/hg-log.md new file mode 100644 index 00000000000000..1f6c671d79a5c1 --- /dev/null +++ b/pages.ko/common/hg-log.md @@ -0,0 +1,36 @@ +# hg log + +> 저장소의 수정 내역을 표시. +> 더 많은 정보: . + +- 저장소의 전체 수정 내역 표시: + +`hg log` + +- ASCII 그래프와 함께 수정 내역 표시: + +`hg log --graph` + +- 지정된 패턴과 일치하는 파일 이름과 함께 수정 내역 표시: + +`hg log --include {{패턴}}` + +- 지정된 패턴과 일치하는 파일 이름을 제외한 수정 내역 표시: + +`hg log --exclude {{패턴}}` + +- 특정 수정에 대한 로그 정보 표시: + +`hg log --rev {{수정}}` + +- 특정 브랜치의 수정 내역 표시: + +`hg log --branch {{브랜치}}` + +- 특정 날짜에 대한 수정 내역 표시: + +`hg log --date {{날짜}}` + +- 특정 사용자에 의해 커밋된 수정 내역 표시: + +`hg log --user {{사용자}}` diff --git a/pages.ko/common/hg-pull.md b/pages.ko/common/hg-pull.md new file mode 100644 index 00000000000000..fa7bedc59abbcc --- /dev/null +++ b/pages.ko/common/hg-pull.md @@ -0,0 +1,32 @@ +# hg pull + +> 지정된 저장소에서 로컬 저장소로 변경 사항을 가져옵니다. +> 더 많은 정보: . + +- "기본" 소스 경로에서 가져오기: + +`hg pull` + +- 지정된 소스 저장소에서 가져오기: + +`hg pull {{경로/대상/소스_저장소}}` + +- 로컬 저장소를 원격의 최신 상태로 업데이트: + +`hg pull --update` + +- 원격 저장소가 관련이 없는 경우에도 변경 사항 가져오기: + +`hg pull --force` + +- 특정 리비전 변경 세트를 지정하여 가져오기: + +`hg pull --rev {{리비전}}` + +- 특정 브랜치를 지정하여 가져오기: + +`hg pull --branch {{브랜치}}` + +- 특정 북마크를 지정하여 가져오기: + +`hg pull --bookmark {{북마크}}` diff --git a/pages.ko/common/hg-push.md b/pages.ko/common/hg-push.md new file mode 100644 index 00000000000000..3fafbcc74b727f --- /dev/null +++ b/pages.ko/common/hg-push.md @@ -0,0 +1,28 @@ +# hg push + +> 로컬 저장소의 변경 사항을 지정된 대상으로 푸시. +> 더 많은 정보: . + +- "기본" 원격 경로로 변경 사항 푸시: + +`hg push` + +- 지정된 원격 저장소로 변경 사항 푸시: + +`hg push {{경로/대상/저장소}}` + +- 존재하지 않는 경우 새 브랜치 푸시 (기본적으로 비활성화됨): + +`hg push --new-branch` + +- 특정 리비전 체인지셋을 지정하여 푸시: + +`hg push --rev {{리비전}}` + +- 특정 브랜치를 지정하여 푸시: + +`hg push --branch {{브랜치}}` + +- 특정 북마크를 지정하여 푸시: + +`hg push --bookmark {{북마크}}` diff --git a/pages.ko/common/hg-remove.md b/pages.ko/common/hg-remove.md new file mode 100644 index 00000000000000..f9ada2e9ef783d --- /dev/null +++ b/pages.ko/common/hg-remove.md @@ -0,0 +1,24 @@ +# hg remove + +> 지정된 파일을 스테이징 영역에서 제거. +> 더 많은 정보: . + +- 파일 또는 디렉토리를 스테이징 영역에서 제거: + +`hg remove {{경로/대상/파일}}` + +- 지정된 패턴과 일치하는 모든 스테이지된 파일 제거: + +`hg remove --include {{패턴}}` + +- 지정된 패턴과 일치하지 않는 모든 스테이지된 파일 제거: + +`hg remove --exclude {{패턴}}` + +- 하위 저장소를 재귀적으로 제거: + +`hg remove --subrepos` + +- 물리적으로 제거된 파일을 저장소에서 제거: + +`hg remove --after` diff --git a/pages.ko/common/hg-root.md b/pages.ko/common/hg-root.md new file mode 100644 index 00000000000000..ad4fd8a2cc013d --- /dev/null +++ b/pages.ko/common/hg-root.md @@ -0,0 +1,12 @@ +# hg root + +> Hg 저장소의 루트 위치를 표시. +> 더 많은 정보: . + +- 현재 저장소의 루트 위치 표시: + +`hg root` + +- 지정된 저장소의 루트 위치 표시: + +`hg root --cwd {{경로/대상/폴더}}` diff --git a/pages.ko/common/hg-serve.md b/pages.ko/common/hg-serve.md new file mode 100644 index 00000000000000..e97a39723b022b --- /dev/null +++ b/pages.ko/common/hg-serve.md @@ -0,0 +1,28 @@ +# hg serve + +> 리포지토리를 탐색하기 위한 독립형 Mercurial 웹 서버 시작. +> 더 많은 정보: . + +- 웹 서버 인스턴스 시작: + +`hg serve` + +- 지정된 포트에서 웹 서버 인스턴스 시작: + +`hg serve --port {{포트}}` + +- 지정된 수신 주소에서 웹 서버 인스턴스 시작: + +`hg serve --address {{주소}}` + +- 특정 식별자로 웹 서버 인스턴스 시작: + +`hg serve --name {{이름}}` + +- 지정된 테마를 사용하여 웹 서버 인스턴스 시작 (템플릿 디렉토리 참조): + +`hg serve --style {{스타일}}` + +- 지정된 SSL 인증서 번들을 사용하여 웹 서버 인스턴스 시작: + +`hg serve --certificate {{경로/대상/인증서}}` diff --git a/pages.ko/common/hg-status.md b/pages.ko/common/hg-status.md new file mode 100644 index 00000000000000..80ef150c4d22f0 --- /dev/null +++ b/pages.ko/common/hg-status.md @@ -0,0 +1,36 @@ +# hg status + +> 작업 디렉토리에서 변경된 파일을 보여줍니다. +> 더 많은 정보: . + +- 변경된 파일의 상태 표시: + +`hg status` + +- 수정된 파일만 표시: + +`hg status --modified` + +- 추가된 파일만 표시: + +`hg status --added` + +- 제거된 파일만 표시: + +`hg status --removed` + +- 삭제되었지만 추적된 파일만 표시: + +`hg status --deleted` + +- 특정 변경 세트와 비교하여 작업 디렉토리의 변경 사항 표시: + +`hg status --rev {{리비전}}` + +- 특정 글로브 패턴과 일치하는 파일만 표시: + +`hg status --include {{패턴}}` + +- 특정 글로브 패턴과 일치하지 않는 파일만 표시: + +`hg status --exclude {{패턴}}` diff --git a/pages.ko/common/hg-update.md b/pages.ko/common/hg-update.md new file mode 100644 index 00000000000000..455bbfb8a609b2 --- /dev/null +++ b/pages.ko/common/hg-update.md @@ -0,0 +1,20 @@ +# hg update + +> 작업 디렉터리를 지정된 변경 집합으로 업데이트. +> 더 많은 정보: . + +- 현재 브랜치의 최신 변경 사항으로 업데이트: + +`hg update` + +- 지정된 리비전으로 업데이트: + +`hg update --rev {{리비전}}` + +- 커밋되지 않은 변경 사항을 폐기하고 업데이트: + +`hg update --clean` + +- 지정된 날짜와 일치하는 마지막 커밋으로 업데이트: + +`hg update --date {{일-월-연도}}` diff --git a/pages.ko/common/hg.md b/pages.ko/common/hg.md new file mode 100644 index 00000000000000..3b5a9f2f525cee --- /dev/null +++ b/pages.ko/common/hg.md @@ -0,0 +1,21 @@ +# hg + +> Mercurial - 분산 소스 제어 관리 시스템. +> `commit`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- Mercurial 명령 실행: + +`hg {{명령}}` + +- 도움말 표시: + +`hg help` + +- 특정 명령에 대한 도움말 표시: + +`hg help {{명령}}` + +- Mercurial 버전 확인: + +`hg --version` diff --git a/pages.ko/common/highlight.md b/pages.ko/common/highlight.md new file mode 100644 index 00000000000000..0ba2698678c20b --- /dev/null +++ b/pages.ko/common/highlight.md @@ -0,0 +1,24 @@ +# highlight + +> 구문 강조된 소스 코드를 다양한 형식으로 출력. +> 더 많은 정보: . + +- 소스 코드 파일에서 완전한 HTML 문서를 생성: + +`highlight --out-format={{html}} --style {{테마_이름}} --syntax {{언어}} {{경로/대상/소스_코드}}` + +- 더 큰 문서에 포함하기에 적합한 HTML 조각을 생성: + +`highlight --out-format={{html}} --fragment --syntax {{언어}} {{소스_파일}}` + +- 모든 태그에 CSS 스타일을 인라인: + +`highlight --out-format={{html}} --inline-css --syntax {{언어}} {{소스_파일}}` + +- 지원되는 모든 언어, 테마 또는 플러그인을 나열: + +`highlight --list-scripts {{langs|themes|plugins}}` + +- 테마에 대한 CSS 스타일시트를 출력: + +`highlight --out-format={{html}} --print-style --style {{테마_이름}} --syntax {{언어}}] --stdout` diff --git a/pages.ko/common/hipstopgm.md b/pages.ko/common/hipstopgm.md new file mode 100644 index 00000000000000..1983c8e0b86d3b --- /dev/null +++ b/pages.ko/common/hipstopgm.md @@ -0,0 +1,17 @@ +# hipstopgm + +> HIPS 파일을 입력으로 읽고 PGM 이미지를 출력으로 반환. +> HIPS 파일에 2개 이상의 프레임이 연속적으로 포함되어 있는 경우, `hipstopgm`은 모든 프레임을 수직으로 연결함. +> 더 많은 정보: . + +- HIPS 파일을 PGM 이미지로 변환: + +`hipstopgm {{경로/대상/파일.hips}}` + +- 모든 정보 메시지를 억제함: + +`hipstopgm -quiet` + +- 버전 정보 출력: + +`hipstopgm -version` diff --git a/pages.ko/common/history.md b/pages.ko/common/history.md new file mode 100644 index 00000000000000..100e8fb5c0d151 --- /dev/null +++ b/pages.ko/common/history.md @@ -0,0 +1,28 @@ +# history + +> 커멘드 라인 히스토리. +> 더 많은 정보: . + +- 줄 번호와 함께 명령 기록 목록을 표시: + +`history` + +- 마지막 20개의 명령을 표시 (Zsh에서는 20번째부터 시작하는 모든 명령을 표시): + +`history {{20}}` + +- 다양한 형식의 타임스탬프가 포함된 기록을 표시 (Zsh에서만 사용 가능): + +`history -{{d|f|i|E}}` + +- 명령 기록 목록을 삭제([c]lear) (현재 Bash 쉘에만 해당): + +`history -c` + +- 현재 Bash 쉘의 기록으로 기록 파일 덮어쓰기(Over[w]rite) (종종 기록을 제거하기 위해 `history -c`와 결합되어 사용): + +`history -w` + +- 지정된 오프셋에서 기록 항목을 삭제([d]elete): + +`history -d {{오프셋}}` diff --git a/pages.ko/common/hive.md b/pages.ko/common/hive.md new file mode 100644 index 00000000000000..8637dc66631b6a --- /dev/null +++ b/pages.ko/common/hive.md @@ -0,0 +1,20 @@ +# hive + +> Apache Hive용 CLI 도구. +> 더 많은 정보: . + +- Hive 대화형 쉘을 시작: + +`hive` + +- HiveQL 실행: + +`hive -e "{{hiveql_쿼리}}"` + +- 변수 대체를 사용해서 HiveQL 파일을 실행: + +`hive --define {{키}}={{값}} -f {{경로/대상/파일.sql}}` + +- HiveConfig를 사용해 HiveQL을 실행 (예: `mapred.reduce.tasks=32`): + +`hive --hiveconf {{구성_이름}}={{구성_값}}` diff --git a/pages.ko/common/hledger-accounts.md b/pages.ko/common/hledger-accounts.md new file mode 100644 index 00000000000000..51e83ea9257d4c --- /dev/null +++ b/pages.ko/common/hledger-accounts.md @@ -0,0 +1,36 @@ +# hledger accounts + +> 계정 이름 목록. +> 더 많은 정보: . + +- 기본 저널 파일에 사용되거나 선언된 모든 계정 표시: + +`hledger accounts` + +- 거래에 사용된 계정 표시: + +`hledger accounts --used` + +- 계정 지시문으로 선언된 계정 표시: + +`hledger accounts --declared` + +- 사용되었지만 선언되지 않은 계정에 대한 새 계정 지시문을 저널에 추가: + +`hledger accounts --undeclared --directives >> {{2024-계정.journal}}` + +- 이름에 `asset`이 포함된 계정 및 선언/추론된 유형 표시: + +`hledger accounts asset --types` + +- `Asset` 유형의 계정 표시: + +`hledger accounts type:A` + +- 계정 계층 구조의 처음 두 레벨 표시: + +`hledger accounts --tree --depth 2` + +- 위의 명령의 축약형: + +`hledger acc -t -2` diff --git a/pages.ko/common/hledger-add.md b/pages.ko/common/hledger-add.md new file mode 100644 index 00000000000000..d23ac1d9ae0af6 --- /dev/null +++ b/pages.ko/common/hledger-add.md @@ -0,0 +1,24 @@ +# hledger add + +> 콘솔에서 대화형 프롬프트로 새로운 거래를 기록합니다. +> 더 많은 정보: . + +- 기본 저널 파일에 새로운 거래 기록: + +`hledger add` + +- `2024.journal`에 거래를 추가하되, 자동 완성을 위해 `2023.journal`도 로드: + +`hledger add --file {{경로/대상/2024.journal}} --file {{경로/대상/2023.journal}}` + +- 처음 네 개의 프롬프트에 대한 답변 제공: + +`hledger add {{오늘}} '{{best buy}}' {{지출:용품}} '{{$20}}'` + +- `$PAGER`로 `add`의 옵션 및 문서 보기: + +`hledger add --help` + +- 사용 가능하면 `info` 또는 `man`으로 `add`의 문서 보기: + +`hledger help add` diff --git a/pages.ko/common/hledger-aregister.md b/pages.ko/common/hledger-aregister.md new file mode 100644 index 00000000000000..aa93676e0e2ffb --- /dev/null +++ b/pages.ko/common/hledger-aregister.md @@ -0,0 +1,20 @@ +# hledger aregister + +> 한 계좌의 거래 내역과 잔액을 한 줄로 표시. +> 더 많은 정보: . + +- `assets:bank:checking` 계좌의 거래 내역과 잔액 표시: + +`hledger aregister assets:bank:checking` + +- `*savings*`라는 이름의 첫 번째 계좌의 거래 내역과 잔액 표시: + +`hledger aregister savings` + +- 지정된 너비로 체크 계좌의 정리된 거래 내역 표시: + +`hledger aregister checking --cleared --width {{120}}` + +- 예측 규칙의 거래를 포함하여 체크 계좌의 내역 표시: + +`hledger aregister checking --forecast` diff --git a/pages.ko/common/hledger-balance.md b/pages.ko/common/hledger-balance.md new file mode 100644 index 00000000000000..ac8eb2aa7d3da1 --- /dev/null +++ b/pages.ko/common/hledger-balance.md @@ -0,0 +1,37 @@ +# hledger balance + +> 유연하고 일반적인 "합계" 보고서로, 숫자 데이터가 포함된 계정을 보여줍니다. +> 이는 기간별 잔액 변화, 종료 잔액, 예산 성과, 미실현 자본 이득 등을 포함할 수 있습니다. +> 더 많은 정보: . + +- 모든 시간 동안 모든 계좌의 모든 기입에서 잔액 변화를 표시: + +`hledger balance` + +- `*expenses*`로 명명된 계정에서, 상위 두 수준만 요약하여 트리 형태로 잔액 변화를 표시: + +`hledger balance {{expenses}} --tree --depth {{2}}` + +- 매월 비용, 총계 및 평균을 표시하고, 총계로 정렬하며 월간 예산 목표 포함: + +`hledger balance {{expenses}} --monthly --row-total --average --sort-amount --budget` + +- 위와 유사하지만, `Expense` 유형으로 계정을 일치시키고, 지루한 계정을 생략하지 않고 두 개의 수준 트리로 표시: + +`hledger bal type:{{X}} -MTAS --budget -t -{{2}} --no-elide` + +- 종료 잔액을 2024년 분기별로, `*assets*` 또는 `*liabilities*`로 명명된 계정에서 표시 (시작일 이전의 기입 포함): + +`hledger balance --historical --period '{{quarterly in 2024}}' {{assets}} {{liabilities}}` + +- 위와 유사하지만, 0 잔액도 표시하고, 총계로 정렬하여 세 개의 수준으로 요약: + +`hledger bal -HQ date:{{2024}} type:{{AL}} -ES -{{3}}` + +- 각 분기 말에 기본 통화로 투자 자산의 시장 가치를 표시: + +`hledger bal -HVQ {{assets:investments}}` + +- 암호화폐가 아닌 투자 자산에 대한 각 분기의 시장 가격 변동으로 인한 미실현 자본 이득/손실 표시: + +`hledger bal --gain -Q {{assets:investments}} not:{{cryptocurrency}}` diff --git a/pages.ko/common/hledger-balancesheet.md b/pages.ko/common/hledger-balancesheet.md new file mode 100644 index 00000000000000..b3e15246592982 --- /dev/null +++ b/pages.ko/common/hledger-balancesheet.md @@ -0,0 +1,33 @@ +# hledger balancesheet + +> 자산 및 부채 계정의 최종 잔액을 표시. +> 금액은 일반 재무제표와 같이 정상적인 양의 부호로 표시됩니다. +> 더 많은 정보: . + +- 0을 제외한 `자산` 및 `부채` 계정의 현재 잔액 표시: + +`hledger balancesheet` + +- 유동 자산(`현금` 계정 유형)만 표시: + +`hledger balancesheet type:C` + +- 0 잔액의 계정을 포함하고 계정 계층 구조 표시: + +`hledger balancesheet --empty --tree` + +- 매월 말 잔액 표시: + +`hledger balancesheet --monthly` + +- 매월 말 잔액의 시장 가치를 홈 통화로 표시: + +`hledger balancesheet --monthly -V` + +- 분기별 잔액을 계정 계층 구조의 상위 두 레벨만 표시: + +`hledger balancesheet --quarterly --tree --depth 2` + +- 위의 명령의 간단한 형태로 `bs.html`에서 HTML 출력 생성: + +`hledger bs -Qt -2 -o bs.html` diff --git a/pages.ko/common/hledger-import.md b/pages.ko/common/hledger-import.md new file mode 100644 index 00000000000000..e9c2612a215954 --- /dev/null +++ b/pages.ko/common/hledger-import.md @@ -0,0 +1,28 @@ +# hledger import + +> 하나 이상의 데이터 파일에서 새 거래를 가져와 주요 저널에 추가. +> 더 많은 정보: . + +- `bank.csv.rules`를 사용하여 `bank.csv`에서 새 거래 가져오기: + +`hledger import {{경로/대상/은행.csv}}` + +- 두 파일에서 가져올 내용을 보여주고 아무 작업도 하지 않기: + +`hledger import {{경로/대상/은행1.csv}} {{경로/대상/은행2.csv}} --dry-run` + +- 모든 CSV 파일에서 새 거래 가져오기, 모든 파일에 동일한 규칙 사용: + +`hledger import --rules-file {{common.rules}} *.csv` + +- `bank.csv.rules`를 편집하면서 변환 오류 또는 결과 보기: + +`watchexec -- hledger -f {{경로/대상/은행.csv}} print` + +- `bank.csv`의 현재 데이터를 이미 가져온 것으로 표시: + +`hledger import --catchup {{경로/대상/은행.csv}}` + +- `bank.csv`를 모두 새로 가져온 것으로 표시: + +`rm -f .latest.bank.csv` diff --git a/pages.ko/common/hledger-incomestatement.md b/pages.ko/common/hledger-incomestatement.md new file mode 100644 index 00000000000000..f752f45512c1de --- /dev/null +++ b/pages.ko/common/hledger-incomestatement.md @@ -0,0 +1,21 @@ +# hledger incomestatement + +> 보고 기간 동안 수익 유입과 비용 유출 표시. +> 금액은 일반적인 재무제표처럼 정상적인 양수 기호로 표시됩니다. +> 더 많은 정보: . + +- 수익과 비용(수익 및 비용 계정의 변화) 표시: + +`hledger incomestatement` + +- 매월 수익과 비용 표시: + +`hledger incomestatement --monthly` + +- 매월 수익/비용/총액을 가장 큰 것부터 두 단계로 요약하여 표시: + +`hledger incomestatement --monthly --row-total --average --sort --depth 2` + +- 위 명령의 단축형으로, `is.html`에 HTML 출력 생성: + +`hledger is -MTAS -2 -o is.html` diff --git a/pages.ko/common/hledger-print.md b/pages.ko/common/hledger-print.md new file mode 100644 index 00000000000000..08dc167179745a --- /dev/null +++ b/pages.ko/common/hledger-print.md @@ -0,0 +1,32 @@ +# hledger print + +> 전체 저널 항목을 표시하여 거래를 나타냅니다. +> 더 많은 정보: . + +- 기본 저널 파일의 모든 거래 표시: + +`hledger print` + +- 암시된 금액이나 비용을 명시적으로 하여 거래 표시: + +`hledger print --explicit --infer-costs` + +- 두 개의 지정된 파일에서 거래를 표시하고, 금액을 비용으로 변환: + +`hledger print --file {{경로/대상/2023.journal}} --file {{경로/대상/2024.journal}} --cost` + +- 이번 달 `*food*` 계좌의 `$` 거래를 표시하되, `*groceries*` 계좌는 제외: + +`hledger print cur:\\$ food not:groceries date:thismonth` + +- 설명에 `whole foods`가 포함된 50 이상의 금액 거래 표시: + +`hledger print amt:'>50' desc:'whole foods'` + +- `EUR` 금액을 소수점 콤마로 반올림하여 입금된 거래 표시: + +`hledger print --cleared --commodity '1000, EUR' --round hard` + +- `foo.journal`의 거래를 CSV 파일로 작성: + +`hledger print --file {{경로/대상/foo.journal}} --output-file {{경로/대상/output_file.csv}}` diff --git a/pages.ko/common/hledger-ui.md b/pages.ko/common/hledger-ui.md new file mode 100644 index 00000000000000..03ddcbfaa2289d --- /dev/null +++ b/pages.ko/common/hledger-ui.md @@ -0,0 +1,32 @@ +# hledger-ui + +> `hledger`의 터미널 인터페이스(TUI), 강력하고 친숙한 일반 텍스트 회계 앱. +> 더 많은 정보: . + +- 기본 저널 파일을 읽어 메인 메뉴 화면에서 시작: + +`hledger-ui` + +- 다른 색상 테마로 시작: + +`hledger-ui --theme {{terminal|greenterm|dark}}` + +- 대차대조표 계정 화면에서 시작하고, 계층 구조를 3단계까지 표시: + +`hledger-ui --bs --tree --depth 3` + +- 이 계정의 화면에서 시작하고, 정리된 거래를 표시하며 변경 시 다시 로드: + +`hledger-ui --register {{assets:bank:checking}} --cleared --watch` + +- 두 개의 저널 파일을 읽고, 알려진 경우 현재 가치로 금액을 표시: + +`hledger-ui --file {{경로/대상/2024.journal}} --file {{경로/대상/2024-prices.journal}} --value now` + +- 가능한 경우 Info 형식으로 매뉴얼 표시: + +`hledger-ui --info` + +- 도움말 표시: + +`hledger-ui --help` diff --git a/pages.ko/common/hledger-web.md b/pages.ko/common/hledger-web.md new file mode 100644 index 00000000000000..06a2b464fbb2b4 --- /dev/null +++ b/pages.ko/common/hledger-web.md @@ -0,0 +1,32 @@ +# hledger-web + +> `hledger`의 웹 인터페이스 및 API. `hledger`는 견고하고 사용자 친화적인 일반 텍스트 회계 앱입니다. +> 더 많은 정보: . + +- 웹 앱을 시작하고, 가능한 경우 브라우저를 열어 로컬에서 보기 및 추가만 허용: + +`hledger-web` + +- 위와 동일하지만, 특정 파일을 지정하고 기존 데이터 편집 허용: + +`hledger-web --file {{경로/대상/파일.journal}} --allow edit` + +- 웹 앱만 시작하고, 지정된 호스트와 포트에서 들어오는 연결 수락: + +`hledger-web --serve --host {{my.host.name}} --port 8000` + +- 웹 앱의 JSON API만 시작하고, 읽기 전용 접근만 허용: + +`hledger-web --serve-api --host {{my.host.name}} --allow view` + +- 현재 시장 가치로 환산된 금액을 기본 통화로 표시 (알려진 경우): + +`hledger-web --value now --infer-market-prices` + +- 가능한 경우 Info 형식으로 매뉴얼 보기: + +`hledger-web --info` + +- 도움말 표시: + +`hledger-web --help` diff --git a/pages.ko/common/hledger.md b/pages.ko/common/hledger.md new file mode 100644 index 00000000000000..dca73fb020a106 --- /dev/null +++ b/pages.ko/common/hledger.md @@ -0,0 +1,37 @@ +# hledger + +> 강력하고 사용하기 쉬운 텍스트 기반 회계 앱. +> 같이 보기: TUI를 위한 `hledger-ui`, 웹 인터페이스를 위한 `hledger-web`. +> 더 많은 정보: . + +- 새로운 거래를 대화형으로 기록하고 기본 저널 파일에 저장: + +`hledger add` + +- `bank.csv`에서 새로운 거래를 가져오고, `bank.csv.rules`를 사용하여 변환: + +`hledger import {{경로/대상/bank.csv}}` + +- 여러 지정된 저널 파일에서 모든 거래를 출력: + +`hledger print --file {{경로/대상/prices-2024.journal}} --file {{경로/대상/prices-2023.journal}}` + +- 계정과 그 유형을 계층 구조로 모두 표시: + +`hledger accounts --tree --types` + +- 자산 및 부채 계정 잔액을 0을 포함하여 계층적으로 표시: + +`hledger balancesheet --empty --tree --no-elide` + +- 월별 수입/지출/총액을 가장 큰 것부터 2단계로 요약하여 표시: + +`hledger incomestatement --monthly --row-total --average --sort --depth 2` + +- `assets:bank:checking` 계정의 거래 및 진행 중인 잔액을 표시: + +`hledger aregister assets:bank:checking` + +- `assets:cash` 계정에서 음식에 소비한 금액을 표시: + +`hledger print assets:cash | hledger -f- -I aregister expenses:food` diff --git a/pages.ko/common/hn.md b/pages.ko/common/hn.md new file mode 100644 index 00000000000000..b8164d495cf2f9 --- /dev/null +++ b/pages.ko/common/hn.md @@ -0,0 +1,20 @@ +# hn + +> Hacker News용 커멘드 라인 인터페이스. +> 더 많은 정보: . + +- Hacker News에서 기사 보기: + +`hn` + +- Hacker News에서 _숫자_ 만큼의 기사 보기: + +`hn {{[-l|--limit]}} {{숫자}}` + +- Hacker News에서 기사를 보고, 링크를 선택한 후 목록을 열어두기: + +`hn {{[-k|--keep-open]}}` + +- 제출 날짜별로 정렬된 Hacker News의 기사 보기: + +`hn --latest` diff --git a/pages.ko/common/holehe.md b/pages.ko/common/holehe.md new file mode 100644 index 00000000000000..d334297bda40f0 --- /dev/null +++ b/pages.ko/common/holehe.md @@ -0,0 +1,12 @@ +# holehe + +> Twitter, Instagram, Imgur 등 120개 이상의 사이트에서 이메일이 계정에 첨부되어 있는지 확인. +> 더 많은 정보: . + +- 지정된 이메일 주소에 대해 지원하는 모든 웹 사이트의 상태를 표시: + +`holehe {{사용자명@example.org}}` + +- 지정된 이메일 주소가 사용중인 사이트에 대해서만 상태를 표시: + +`holehe {{사용자명@example.org}} --only-used` diff --git a/pages.ko/common/home-manager.md b/pages.ko/common/home-manager.md new file mode 100644 index 00000000000000..4855b64706ec93 --- /dev/null +++ b/pages.ko/common/home-manager.md @@ -0,0 +1,12 @@ +# home-manager + +> Nix를 이용하여 사용자 환경을 관리. +> 더 많은 정보: . + +- `~/.config/nixpkgs/home.nix`에 정의된 구성을 활성화: + +`home-manager build` + +- 구성을 활성화하고 해당 구성으로 전환: + +`home-manager switch` diff --git a/pages.ko/common/host.md b/pages.ko/common/host.md new file mode 100644 index 00000000000000..de832f66fdb1e2 --- /dev/null +++ b/pages.ko/common/host.md @@ -0,0 +1,20 @@ +# host + +> 도메인 네임 서버 조회. +> 더 많은 정보: . + +- 도메인의 A, AAAA 및 MX 레코드 조회: + +`host {{도메인}}` + +- 도메인의 필드 (CNAME, TXT, ...) 조회: + +`host -t {{필드}} {{도메인}}` + +- IP 역방향 조회: + +`host {{ip_주소}}` + +- 쿼리할 대체 DNS 서버를 지정: + +`host {{도메인}} {{8.8.8.8}}` diff --git a/pages.ko/common/hostapd.md b/pages.ko/common/hostapd.md new file mode 100644 index 00000000000000..9988be9b164512 --- /dev/null +++ b/pages.ko/common/hostapd.md @@ -0,0 +1,12 @@ +# hostapd + +> 무선 인터페이스를 사용하여 액세스 포인트를 시작. +> 더 많은 정보: . + +- 액세스 포인트 시작: + +`sudo hostapd {{경로/대상/hostapd.conf}}` + +- 백그라운드로 분기하여, 액세스 포인트를 시작: + +`sudo hostapd -B {{경로/대상/hostapd.conf}}` diff --git a/pages.ko/common/hostess.md b/pages.ko/common/hostess.md new file mode 100644 index 00000000000000..889bd21aafe8d1 --- /dev/null +++ b/pages.ko/common/hostess.md @@ -0,0 +1,20 @@ +# hostess + +> `/etc/hosts` 파일 관리. +> 더 많은 정보: . + +- 도메인, 대상 IP 주소 및 켜기/끄기 상태를 나열: + +`hostess list` + +- 호스트 파일에 컴퓨터를 가리키는 도메인을 추가: + +`hostess add {{local.example.com}} {{127.0.0.1}}` + +- 호스트 파일에서 도메인을 제거: + +`hostess del {{local.example.com}}` + +- 도메인 비활성화(제거하지는 않음): + +`hostess off {{local.example.com}}` diff --git a/pages.ko/common/hostid.md b/pages.ko/common/hostid.md new file mode 100644 index 00000000000000..2b030ee80412cc --- /dev/null +++ b/pages.ko/common/hostid.md @@ -0,0 +1,8 @@ +# hostid + +> 현재 호스트의 숫자 식별자를 출력 (IP 주소일 필요는 없음). +> 더 많은 정보: . + +- 현재 호스트의 숫자 식별자를 16진수로 표시: + +`hostid` diff --git a/pages.ko/common/hostname.md b/pages.ko/common/hostname.md new file mode 100644 index 00000000000000..f1d4fafad49d20 --- /dev/null +++ b/pages.ko/common/hostname.md @@ -0,0 +1,24 @@ +# hostname + +> 시스템의 호스트 이름을 표시하거나 설정. +> 더 많은 정보: . + +- 현재 호스트 이름 표시: + +`hostname` + +- 호스트 이름의 네트워크 주소 표시: + +`hostname -i` + +- 호스트의 모든 네트워크 주소를 표시: + +`hostname -I` + +- FQDN 표시 (Fully Qualified Domain Name): + +`hostname --fqdn` + +- 현재 호스트 이름 설정: + +`hostname {{새로운_호스트명}}` diff --git a/pages.ko/common/hping.md b/pages.ko/common/hping.md new file mode 100644 index 00000000000000..c349dbfc19027a --- /dev/null +++ b/pages.ko/common/hping.md @@ -0,0 +1,7 @@ +# hping + +> 이 명령은 `hping3`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr hping3` diff --git a/pages.ko/common/hping3.md b/pages.ko/common/hping3.md new file mode 100644 index 00000000000000..5b7ab0e1091378 --- /dev/null +++ b/pages.ko/common/hping3.md @@ -0,0 +1,33 @@ +# hping3 + +> TCP, UDP 및 원시 IP와 같은 프로토콜을 지원하는 고급 ping 유틸리티. +> 높은 권한으로 실행하는 것이 가장 좋음. +> 더 많은 정보: . + +- 4개의 ICMP ping 요청으로 대상에 ping을 보냄: + +`hping3 --icmp --count {{4}} {{ip_또는_호스트명}}` + +- 포트 80에서 UDP를 통해 IP 주소를 ping: + +`hping3 --udp --destport {{80}} --syn {{ip_또는_호스트명}}` + +- 특정 로컬 소스 포트 5090에서 스캔해 TCP 포트 80을 스캔: + +`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_또는_호스트명}}` + +- 특정 대상 포트에 대한 TCP 스캔을 사용해 경로를 추적: + +`hping3 --traceroute --verbose --syn --destport {{80}} {{ip_또는_호스트명}}` + +- 특정 IP 주소에서 TCP 포트 세트를 스캔 : + +`hping3 --scan {{80,3000,9000}} --syn {{ip_또는_호스트명}}` + +- TCP ACK 스캔을 수행해, 특정 호스트가 살아 있는지 확인: + +`hping3 --count {{2}} --verbose --destport {{80}} --ack {{ip_또는_호스트명}}` + +- 포트 80에서 부하 테스트를 수행: + +`hping3 --flood --destport {{80}} --syn {{ip_또는_호스트명}}` diff --git a/pages.ko/common/hr.md b/pages.ko/common/hr.md new file mode 100644 index 00000000000000..491a170464f529 --- /dev/null +++ b/pages.ko/common/hr.md @@ -0,0 +1,16 @@ +# hr + +> 터미널에서 수평선을 출력. +> 더 많은 정보: . + +- 수평선을 출력: + +`hr` + +- 사용자 정의 문자열로 수평선 출력: + +`hr {{문자열}}` + +- 여러 줄의 가로 수평선을 출력: + +`hr {{문자열1 문자열2 ...}}` diff --git a/pages.ko/common/hsd-cli.md b/pages.ko/common/hsd-cli.md new file mode 100644 index 00000000000000..16b9153019627c --- /dev/null +++ b/pages.ko/common/hsd-cli.md @@ -0,0 +1,36 @@ +# hsd-cli + +> Handshake 블록체인용 커멘드 라인 REST 도구. +> 더 많은 정보: . + +- 현재 서버에 대한 정보 검색: + +`hsd-cli info` + +- 로컬 트랜잭션 브로드캐스트: + +`hsd-cli broadcast {{트랜잭션_16진수값}}` + +- mempool 스냅샷 검색: + +`hsd-cli mempool` + +- 주소 또는 해시로 트랜잭션 보기: + +`hsd-cli tx {{주소_또는_해시}}` + +- 해시 인덱스 또는 주소로 코인 보기: + +`hsd-cli coin {{해시_인덱스_또는_주소}}` + +- 높이 또는 해시별로 블록 보기: + +`hsd-cli block {{높이_또는_해시}}` + +- 지정된 블록으로 체인을 재설정: + +`hsd-cli reset {{높이_또는_해시}}` + +- RPC 명령을 실행: + +`hsd-cli rpc {{명령어}} {{인자}}` diff --git a/pages.ko/common/hsw-cli.md b/pages.ko/common/hsw-cli.md new file mode 100644 index 00000000000000..633c61b8087fbc --- /dev/null +++ b/pages.ko/common/hsw-cli.md @@ -0,0 +1,36 @@ +# hsw-cli + +> Handshake 지갑을 위한 커멘드 라인 REST 도구. +> 더 많은 정보: . + +- 현재 지갑 잠금 해제 (초 단위 시간 초과): + +`hsw-cli unlock {{암호}} {{시간}}` + +- 현재 지갑을 잠금: + +`hsw-cli lock` + +- 현재 지갑의 세부정보 보기: + +`hsw-cli get` + +- 현재 지갑 잔액 보기: + +`hsw-cli balance` + +- 현재 지갑의 거래 내역 보기: + +`hsw-cli history` + +- 지정된 코인 금액으로 트랜잭션을 주소로 보냄: + +`hsw-cli send {{주소}} {{1.05}}` + +- 현재 지갑의 보류 중인 트랜잭션을 확인: + +`hsw-cli pending` + +- 트랜잭션 세부정보 보기: + +`hsw-cli tx {{트랜잭션_해시}}` diff --git a/pages.ko/common/html5validator.md b/pages.ko/common/html5validator.md new file mode 100644 index 00000000000000..4023a8b733bc0f --- /dev/null +++ b/pages.ko/common/html5validator.md @@ -0,0 +1,32 @@ +# html5validator + +> HTML5 유효성 검증. +> 더 많은 정보: . + +- 특정 파일 유효성 검증: + +`html5validator {{경로/대상/파일}}` + +- 특정 디렉토리에 있는 모든 HTML 파일의 유효성을 검사: + +`html5validator --root {{경로/대상/디렉터리}}` + +- 경고와 오류 표시: + +`html5validator --show-warnings {{경로/대상/파일}}` + +- glob 패턴을 사용하여 여러 파일을 일치시킴: + +`html5validator --root {{경로/대상/디렉터리}} --match "{{*.html *.php}}"` + +- 특정 디렉터리 이름 무시: + +`html5validator --root {{경로/대상/디렉터리}} --blacklist "{{node_modules vendor}}"` + +- 특정 형식으로 결과를 출력: + +`html5validator --format {{gnu|xml|json|text}} {{경로/대상/파일}}` + +- 특정 상세 수준으로 로그를 출력: + +`html5validator --root {{경로/대상/디렉터리}} --log {{debug|info|warning}}` diff --git a/pages.ko/common/htop.md b/pages.ko/common/htop.md new file mode 100644 index 00000000000000..8e7608a4af5cb6 --- /dev/null +++ b/pages.ko/common/htop.md @@ -0,0 +1,32 @@ +# htop + +> 실행 중인 프로세스에 대한 동적 실시간 정보를 표시합니다. `top`의 향상된 버전입니다. +> 더 많은 정보: . + +- `htop` 시작: + +`htop` + +- 특정 사용자가 소유한 프로세스를 표시하는 `htop`을 시작합니다: + +`htop {{[-u|--user]}} {{사용자 이름}}` + +- 지정된 `sort_item`을 기준으로 프로세스를 정렬합니다(사용 가능한 옵션을 보려면 `htop --sort help`을 사용): + +`htop {{[-s|--sort]}} {{sort_item}}` + +- 업데이트 사이에 지정된 지연(10분의 1초)으로 `htop`을 시작(예: 50 = 5초): + +`htop {{[-d|--delay]}} {{50}}` + +- htop을 실행하는 동안 대화형 명령 확인: + +`` + +- 다른 탭으로 전환: + +`` + +- 도움말 표시: + +`htop {{[-h|--help]}}` diff --git a/pages.ko/common/htpasswd.md b/pages.ko/common/htpasswd.md new file mode 100644 index 00000000000000..721aca6766afb5 --- /dev/null +++ b/pages.ko/common/htpasswd.md @@ -0,0 +1,28 @@ +# htpasswd + +> 기본 인증을 사용하여 웹 서버 폴더를 보호하기 위해 htpasswd 파일을 생성하고 관리합니다. +> 더 많은 정보: . + +- htpasswd 파일 생성/덮어쓰기: + +`htpasswd -c {{경로/대상/파일}} {{사용자명}}` + +- htpasswd 파일에 사용자 추가 또는 기존 사용자 업데이트: + +`htpasswd {{경로/대상/파일}} {{사용자명}}` + +- 대화형 비밀번호 프롬프트 없이 배치 모드에서 htpasswd 파일에 사용자 추가(스크립트 사용 목적): + +`htpasswd -b {{경로/대상/파일}} {{사용자명}} {{비밀번호}}` + +- htpasswd 파일에서 사용자 삭제: + +`htpasswd -D {{경로/대상/파일}} {{사용자명}}` + +- 사용자 비밀번호 확인: + +`htpasswd -v {{경로/대상/파일}} {{사용자명}}` + +- 사용자 이름(일반 텍스트) 및 비밀번호(md5)가 포함된 문자열 표시: + +`htpasswd -nbm {{사용자명}} {{비밀번호}}` diff --git a/pages.ko/common/http-server-upload.md b/pages.ko/common/http-server-upload.md new file mode 100644 index 00000000000000..6bdef9747e43b8 --- /dev/null +++ b/pages.ko/common/http-server-upload.md @@ -0,0 +1,28 @@ +# http-server-upload + +> 파일 업로드를 위한 경량 인터페이스를 제공하는 구성이 필요없는 커멘트라인 HTTP 서버. +> 더 많은 정보: . + +- 기본 포트에서 HTTP 서버를 시작하여 현재 디렉터리에 파일을 업로드: + +`http-server-upload` + +- MiB 단위로 지정된 최대 허용 파일 크기로 HTTP 서버를 시작 (기본값 200 MiB): + +`MAX_FILE_SIZE={{size_in_megabytes}} http-server-upload` + +- 특정 포트에서 HTTP 서버를 시작해 현재 디렉터리에 파일을 업로드: + +`PORT={{포트}} http-server-upload` + +- HTTP 서버를 시작하고, 업로드된 파일을 특정 디렉터리에 저장: + +`UPLOAD_DIR={{경로/대상/디렉터리}} http-server-upload` + +- 업로드 중에 파일을 임시로 저장하기 위해 특정 디렉터리를 사용하여 HTTP 서버를 시작: + +`UPLOAD_TMP_DIR={{경로/대상/디렉터리}} http-server-upload` + +- HTTP post의 특정 토큰 필드를 사용하여 업로드를 허용하는 HTTP 서버를 시작: + +`TOKEN={{secret}} http-server-upload` diff --git a/pages.ko/common/http-server.md b/pages.ko/common/http-server.md new file mode 100644 index 00000000000000..9d4f866ee2d6fc --- /dev/null +++ b/pages.ko/common/http-server.md @@ -0,0 +1,36 @@ +# http-server + +> 정적 파일을 제공하는 간단한 정적 HTTP 서버. +> 더 많은 정보: . + +- 현재 디렉터리를 제공하기 위해 기본 포트에서 수신 대기하는 HTTP 서버를 시작: + +`http-server` + +- 특정 디렉터리를 제공하려면 특정 포트에서 HTTP 서버를 시작: + +`http-server {{경로/대상/디렉토리}} --port {{포트}}` + +- 기본 인증을 사용하여 HTTP 서버를 시작: + +`http-server --username {{사용자명}} --password {{비밀번호}}` + +- 디렉토리 목록이 비활성화된 상태에서 HTTP 서버를 시작: + +`http-server -d {{false}}` + +- 지정된 인증서를 사용하여 기본 포트에서 HTTPS 서버를 시작: + +`http-server --ssl --cert {{경로/대상/인증서.pem}} --key {{경로/대상/키.pem}}` + +- HTTP 서버를 시작하고 출력 로깅에 클라이언트의 IP 주소를 포함: + +`http-server --log-ip` + +- 모든 응답에 `Access-Control-Allow-Origin: *` 헤더를 포함하여 CORS가 활성화된 HTTP 서버를 시작: + +`http-server --cors` + +- 로깅이 비활성화된 상태에서 HTTP 서버를 시작: + +`http-server --silent` diff --git a/pages.ko/common/http.md b/pages.ko/common/http.md new file mode 100644 index 00000000000000..8eda463fb23d2f --- /dev/null +++ b/pages.ko/common/http.md @@ -0,0 +1,36 @@ +# http + +> HTTPie: 테스트, 디버깅 및 일반적으로 API 및 HTTP 서버와 상호작용하도록 설계된 HTTP 클라이언트. +> 더 많은 정보: . + +- 간단한 GET 요청을 수행 (응답 헤더 및 콘텐츠 표시): + +`http {{https://example.org}}` + +- 특정 출력 내용을 인쇄 (`H`: 요청 헤더, `B`: 요청 본문, `h`: 응답 헤더, `b`: 응답 본문, `m`: 응답 메타데이터): + +`http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}` + +- 요청을 보낼 때 HTTP 메소드를 지정하고 프록시를 사용하여 요청을 가로채기: + +`http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}` + +- `3xx` 리디렉션을 따르고 요청에 추가 헤더를 지정: + +`http {{[-F|--follow]}} {{https://example.com}} {{'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'}}` + +- 다양한 인증 방법을 사용하여 서버에 인증: + +`http {{[-a|--auth]}} {{username:password|token}} {{[-A|--auth-type]}} {{basic|digest|bearer}} {{GET|POST|...}} {{https://example.com/auth}}` + +- 요청을 생성하지만, 보내지 않음 (모의 실행과 유사): + +`http --offline {{GET|DELETE|...}} {{https://example.com}}` + +- 지속적인 사용자 정의 헤더, 인증 자격 증명 및 쿠키에 대해 명명된 세션을 사용: + +`http --session {{세션_이름|경로/대상/세션.json}} {{[-a|--auth]}} {{사용자명}}:{{비밀번호}} {{https://example.com/auth}} {{API-KEY:xxx}}` + +- 양식에 파일을 업로드 (아래 예에서는 양식 필드가 ``라고 가정): + +`http {{[-f|--form]}} {{POST}} {{https://example.com/upload}} {{cv@경로/대상/파일}}` diff --git a/pages.ko/common/httpflow.md b/pages.ko/common/httpflow.md new file mode 100644 index 00000000000000..7ecfef54fb191b --- /dev/null +++ b/pages.ko/common/httpflow.md @@ -0,0 +1,24 @@ +# httpflow + +> HTTP 스트림을 캡처하고 덤프하는 커멘드라인 유틸리티. +> 더 많은 정보: . + +- 모든 인터페이스에서 트래픽 캡처: + +`httpflow -i {{any}}` + +- bpf-스타일 캡처를 사용하여 결과를 필터링: + +`httpflow {{host httpbin.org 또는 host baidu.com}}` + +- 정규식을 사용하여 URL별로 요청을 필터링: + +`httpflow -u '{{정규_표현식}}'` + +- PCAP 형식 바이너리 파일에서 패킷을 읽음: + +`httpflow -r {{out.cap}}` + +- 출력을 디렉터리에 씀: + +`httpflow -w {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/httpie.md b/pages.ko/common/httpie.md new file mode 100644 index 00000000000000..830071f0580f0a --- /dev/null +++ b/pages.ko/common/httpie.md @@ -0,0 +1,17 @@ +# httpie + +> HTTPie용 관리 인터페이스. +> 참조: `http`, 도구 자체. +> 더 많은 정보: . + +- `http` 업데이트를 확인: + +`httpie cli check-updates` + +- 설치된 `http` 플러그인 목록 나열: + +`httpie cli plugins list` + +- 플러그인 설치/업그레이드/제거: + +`httpie cli plugins {{설치|업그레이드|제거}} {{플러그인_이름}}` diff --git a/pages.ko/common/httping.md b/pages.ko/common/httping.md new file mode 100644 index 00000000000000..f78a8ef21d2307 --- /dev/null +++ b/pages.ko/common/httping.md @@ -0,0 +1,20 @@ +# httping + +> 웹 서버의 대기 시간과 처리량을 측정. +> 더 많은 정보: . + +- 지정된 URL을 ping: + +`httping -g {{주소}}` + +- `호스트` 및 `포트`에서 웹 서버를 ping: + +`httping -h {{호스트}} -p {{포트}}` + +- TLS 연결을 사용하여 `호스트`에서 웹 서버를 ping: + +`httping -l -g https://{{호스트}}` + +- HTTP 기본 인증을 사용하여 `호스트`에서 웹 서버를 ping: + +`httping -g http://{{호스트}} -U {{사용자명}} -P {{비밀번호}}` diff --git a/pages.ko/common/httprobe.md b/pages.ko/common/httprobe.md new file mode 100644 index 00000000000000..d19d97c002f8a3 --- /dev/null +++ b/pages.ko/common/httprobe.md @@ -0,0 +1,20 @@ +# httprobe + +> 작동하는 HTTP 및 HTTPS 서버에 대한 도메인 밒 프로브 목록을 가져옴. +> 더 많은 정보: . + +- 텍스트 파일에서 도에인 목록을 조사: + +`cat {{입력_파일}} | httprobe` + +- HTTPS가 작동하지 않는 경우에만 HTTP 확인: + +`cat {{입력_파일}} | httprobe --prefer-https` + +- 특정 프로토콜을 사용하여 추가 포트를 조사: + +`cat {{입력_파일}} | httprobe -p {{https:2222}}` + +- 도움말 표시: + +`httprobe --help` diff --git a/pages.ko/common/httpry.md b/pages.ko/common/httpry.md new file mode 100644 index 00000000000000..687e598fe0aaf2 --- /dev/null +++ b/pages.ko/common/httpry.md @@ -0,0 +1,25 @@ +# httpry + +> HTTP 트래픽을 표시하고 기록하기 위한 경량 패킷 스니퍼. +> 구문 분석되는 트래픽을 실시간으로 표시하거나 출력 파일에 기록하는 데몬 프로세스로 실행될 수 있음. +> 더 많은 정보: . + +- 출력을 파일로 저장: + +`httpry -o {{경로/대상/파일.log}}` + +- 특정 인터페이스를 수신하고 출력을 바이너리 PCAP 형식 파일로 저장: + +`httpry {{eth0}} -b {{경로/대상/파일.pcap}}` + +- 쉼표로 구분된 HTTP 동사 목록으로 출력을 필터링: + +`httpry -m {{get|post|put|head|options|delete|trace|connect|patch}}` + +- 입력 캡처 파일에서 IP로 필터링: + +`httpry -r {{경로/대상/파일.log}} '{{host 192.168.5.25}}'` + +- 데몬 프로세스로 실행: + +`httpry -d -o {{경로/대상/파일.log}}` diff --git a/pages.ko/common/https.md b/pages.ko/common/https.md new file mode 100644 index 00000000000000..a9d0645f9f3d7e --- /dev/null +++ b/pages.ko/common/https.md @@ -0,0 +1,7 @@ +# https + +> 이 명령은 `http`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr http` diff --git a/pages.ko/common/httpx.md b/pages.ko/common/httpx.md new file mode 100644 index 00000000000000..5f7ec05602e1e7 --- /dev/null +++ b/pages.ko/common/httpx.md @@ -0,0 +1,37 @@ +# httpx + +> 여러 프로브를 한 번에 실행하기 위해 Go로 작성된 빠르고 다목적 HTTP 도구 키트. +> 참고: 동일한 명령 이름을 가진 관련 없는 Python's HTTPX와 혼동하지 말것. +> 더 많은 정보: . + +- 프로브 상태를 표시하는 [u]RL, 호스트, IP 주소 또는 서브넷 (CIDR 표기법)에 대해 프로브를 실행: + +`httpx -probe -u {{url|host|ipaddress|subnet_with_cidr}}` + +- `subfinder`의 입력으로 상태 코드([s]tatus [c]ode)를 표시하는 여러 호스트에 대해 프로브를 실행: + +`subfinder -d {{example.com}} | httpx -sc` + +- 감지된([d]etected) 기술([t]echnology) 및 응답시간([r]esponse [t]ime)을 보여주는 파일에서 호스트 목록([l]ist)에 대해 제한된 속도로 실행: + +`httpx -rl {{150}} -l {{경로/대상/개행으로_구분된_호스트_목록}} -td -rt` + +- 웹페이지 제목, 사용 중인 CDN/WAF 및 페이지 콘텐츠 해시를 표시하는 [u]RL에 대해 프로브를 실행: + +`httpx -u {{주소}} -title -cdn -hash {{sha256}}` + +- 사용자 정의된 포트([p]orts)와 특정 초 후 시간 초과가 있는 호스트 목록에 대해 프로블를 실행: + +`httpx -probe -u {{호스트1,호스트2,...}} -p http:{{80,8000-8080}},https:{{443,8443}} -timeout {{10}}` + +- 특정 응답 코드([c]odes)를 필터링하여([f]iltering), 호스트 목록에 대해 프로브를 실행: + +`httpx -u {{호스트1,호스트2,...}} -fc {{400,401,404}}` + +- 특정 응답 코드([c]odes)와 일치하는([m]atching) 호스트 목록에 대해 프로브를 실행: + +`httpx -u {{호스트1,호스트2,...}} -mc {{200,301,304}}` + +- 특정 경로의 스크린샷([s]creenshots)을 저장하고([s]aving) 스크린샷 타임아웃([s]creenshot [t]imeouts)을 사용하여 URL에 대해 프로브를 실행 (리소스는 `./output`에 저장됨): + +`httpx -u {{https://www.github.com}} -path {{/tldr-pages/tldr,/projectdiscovery/httpx}} -ss -st {{10}}` diff --git a/pages.ko/common/hub-branch.md b/pages.ko/common/hub-branch.md new file mode 100644 index 00000000000000..32bcd4e64b3925 --- /dev/null +++ b/pages.ko/common/hub-branch.md @@ -0,0 +1,12 @@ +# hub branch + +> 브랜치 생성 및 현재 브랜치 표시. +> 참고: `git branch`. + +- 현재 활성화된 브랜치의 이름을 표시: + +`hub branch` + +- 새로운 브랜치 생성: + +`hub branch {{브랜치_이름}}` diff --git a/pages.ko/common/hub-browse.md b/pages.ko/common/hub-browse.md new file mode 100644 index 00000000000000..4f6d19eb717970 --- /dev/null +++ b/pages.ko/common/hub-browse.md @@ -0,0 +1,16 @@ +# hub browse + +> 브라우저에서 GitHub 저장소를 열거나 URL을 출력. +> 더 많은 정보: . + +- 기본 웹 브라우저에서 현재 저장소의 홈페이지를 열기: + +`hub browse` + +- 기본 웹 브라우저에서 특정 저장소의 홈페이지를 열기: + +`hub browse {{소유자}}/{{레포지토리}}` + +- 기본 웹 브라우저에서 특정 저장소의 하위 페이지를 열기, 하위페이지는 "wiki", "commits", "issues" 또는 기타일 수 있음 (기본값: "tree"): + +`hub browse {{소유자}}/{{레포지토리}} {{하위페이지}}` diff --git a/pages.ko/common/hub-ci-status.md b/pages.ko/common/hub-ci-status.md new file mode 100644 index 00000000000000..71f869269ba112 --- /dev/null +++ b/pages.ko/common/hub-ci-status.md @@ -0,0 +1,12 @@ +# hub ci-status + +> GitHub 검사 상태를 표시. +> 더 많은 정보: . + +- 이 브랜치의 CI 상태를 확인: + +`hub ci-status --verbose` + +- 커밋에 대한 GitHub 검사 상태 표시: + +`hub ci-status --verbose {{커밋_SHA}}` diff --git a/pages.ko/common/hub-clone.md b/pages.ko/common/hub-clone.md new file mode 100644 index 00000000000000..5efe84bc6f6665 --- /dev/null +++ b/pages.ko/common/hub-clone.md @@ -0,0 +1,8 @@ +# hub clone + +> 기존 저장소를 복제. +> 더 많은 정보: . + +- 기존 저장소를 현재 디렉터리로 복제 (인증 문제가 발생하면, 전체 SSH 경로를 시도): + +`hub clone {{원격_레포지토리_위치}}` diff --git a/pages.ko/common/hub-create.md b/pages.ko/common/hub-create.md new file mode 100644 index 00000000000000..858fcbf7828235 --- /dev/null +++ b/pages.ko/common/hub-create.md @@ -0,0 +1,12 @@ +# hub create + +> GitHub에서 새로운 레포지토리 생성. +> 더 많은 정보: . + +- 현재 (로컬 전용) 저장소를 GitHub 계정에 공개로 업로드: + +`hub create` + +- 개인 저장소를 생성하고 웹 브라우저에서 새로운 저장소를 열기: + +`hub create --private --browse` diff --git a/pages.ko/common/hub-delete.md b/pages.ko/common/hub-delete.md new file mode 100644 index 00000000000000..734266061f5a49 --- /dev/null +++ b/pages.ko/common/hub-delete.md @@ -0,0 +1,8 @@ +# hub delete + +> GitHub에서 존재하는 레포지토리 삭제. +> 더 많은 정보: . + +- GitHub에서 개인 저장소 삭젴: + +`hub delete {{저장소}}` diff --git a/pages.ko/common/hub-fork.md b/pages.ko/common/hub-fork.md new file mode 100644 index 00000000000000..9ef0cee199e813 --- /dev/null +++ b/pages.ko/common/hub-fork.md @@ -0,0 +1,16 @@ +# hub fork + +> GitHub 저장소를 포크. `git-extras`의 `git fork`와 같음. +> 더 많은 정보: . + +- slug로 GitHub 저장소를 포크: + +`hub fork {{tldr-pages/tldr}}` + +- 해당 URL로 GitHub 저장소를 포크: + +`hub fork {{https://github.com/tldr-pages/tldr}}` + +- 현재 GitHub 저장소를 포크하고, 원격 이름을 원본으로 설정: + +`hub fork --remote-name {{원본}}` diff --git a/pages.ko/common/hub-init.md b/pages.ko/common/hub-init.md new file mode 100644 index 00000000000000..da2aac0a0ae1d9 --- /dev/null +++ b/pages.ko/common/hub-init.md @@ -0,0 +1,8 @@ +# hub init + +> 새로운 로컬 Git 저장소를 초기화. +> 더 많은 정보: . + +- 새로운 로컬 저장소를 초기화: + +`hub init` diff --git a/pages.ko/common/hub-issue.md b/pages.ko/common/hub-issue.md new file mode 100644 index 00000000000000..143ca2628b63a0 --- /dev/null +++ b/pages.ko/common/hub-issue.md @@ -0,0 +1,16 @@ +# hub issue + +> Github 이슈를 관리. +> 더 많은 정보: . + +- `bug` 라벨이 있는 최근 10개 문제를 나열: + +`hub issue list --limit {{10}} --labels "{{bug}}"` + +- 특정 문제를 표시: + +`hub issue show {{이슈_번호}}` + +- 특정 사용자에게 할당된 10개의 종결된 문제를 나열: + +`hub issue --state {{closed}} --assignee {{사용자명}} --limit {{10}}` diff --git a/pages.ko/common/hub.md b/pages.ko/common/hub.md new file mode 100644 index 00000000000000..a3191cb483df66 --- /dev/null +++ b/pages.ko/common/hub.md @@ -0,0 +1,33 @@ +# hub + +> GitHub 기반 프로젝트 작업을 위한 명령을 추가하는 Git용 래퍼. +> `hub alias`의 지시에 따라 설정되면, `git`을 사용하여 `hub` 명령을 실행할 수 있음. +> 더 많은 정보: . + +- slug를 사용해 저장소를 복제 (소유자는 사용자 이름을 생략할 수 있음): + +`hub clone {{사용자명}}/{{저장소_이름}}` + +- GitHub 프로필 아래에 현재 저장소 (다른 사용자로부터 복제됨)의 포크를 생성: + +`hub fork` + +- 현재 로컬 브랜치를 GitHub에 푸시하고 원본 저장소에 이에 대한 PR을 생성: + +`hub push {{원격_이름}} && hub pull-request` + +- 첫 번째 커밋의 메시지를 재사용하여 현재 (이미 푸시된) 브랜치의 PR을 생성: + +`hub pull-request --no-edit` + +- 풀 요청 내용으로 새 브랜치를 생성하고, 해당 브랜치로 전환: + +`hub pr checkout {{pr_번호}}` + +- 현재 (로컬 전용) 저장소를 GitHub 계정에 업로드: + +`hub create` + +- 업스트림에서 Git 객체를 가져오고 로컬 브랜치를 업데이트: + +`hub sync` diff --git a/pages.ko/common/huggingface-cli.md b/pages.ko/common/huggingface-cli.md new file mode 100644 index 00000000000000..aa1a2bf62de203 --- /dev/null +++ b/pages.ko/common/huggingface-cli.md @@ -0,0 +1,37 @@ +# huggingface-cli + +> Hugging Face Hub와 상호작용. +> 로그인, 로컬 캐시 관리, 파일 다운로드 또는 업로드. +> 더 많은 정보: . + +- Hugging Face Hub에 로그인: + +`huggingface-cli login` + +- 로그인한 사용자의 이름을 표시: + +`huggingface-cli whoami` + +- 로그아웃: + +`huggingface-cli logout` + +- 환경에 관한 정보를 출력: + +`huggingface-cli env` + +- 저장소에서 파일을 다운로드하고 경로를 출력 (전체 저장소를 다운로드하려면 파일 이름을 생략): + +`huggingface-cli download --repo-type {{저장소_타입}} {{저장소_id}} {{파일명1 파일명2 ...}}` + +- Hugging Face에 전체 폴더 또는 파일 업로드: + +`huggingface-cli upload --repo-type {{저장소_타입}} {{저장소_id}} {{경로/대상/로컬_파일_또는_디렉터리}} {{경로/대상/저장소_파일_또는_디렉터리}}` + +- 캐시를 스캔하여 다운로드한 저장소와 디스크 사용량을 확인: + +`huggingface-cli scan-cache` + +- 대화형으로 캐시를 삭제: + +`huggingface-cli delete-cache` diff --git a/pages.ko/common/hugo-server.md b/pages.ko/common/hugo-server.md new file mode 100644 index 00000000000000..36fc890f2b529f --- /dev/null +++ b/pages.ko/common/hugo-server.md @@ -0,0 +1,20 @@ +# hugo server + +> Hugo의 내장 웹서버로 사이트를 구축하고 제공. +> 더 많은 정보: . + +- 사이트 구축 및 서빙: + +`hugo server` + +- 지정된 포트 번호에서 사이트 구축 및 제공: + +`hugo server --port {{포트_번호}}` + +- 지원되는 출력 형식 (HTML, XML 등)을 최소화하면서 사이트를 구축하고 제공: + +`hugo server --minify` + +- 도움말 표시: + +`hugo server --help` diff --git a/pages.ko/common/hugo.md b/pages.ko/common/hugo.md new file mode 100644 index 00000000000000..c38a16a0d4defb --- /dev/null +++ b/pages.ko/common/hugo.md @@ -0,0 +1,37 @@ +# hugo + +> 템플릿 기반 정적 사이트 생성기. 모듈, 구성 요소 및 테마를 사용 +> `server`와 같은 일부 하위 명령에는 자체 사용법 문서가 있음. +> 더 많은 정보: . + +- 새로운 Hugo 사이트 생성: + +`hugo new site {{경로/대상/사이트}}` + +- 새로운 Hugo 테마를 생성 (테마는 에서도 다운로드 할 수 있음): + +`hugo new theme {{테마_이름}}` + +- 새로운 페이지 생성: + +`hugo new {{섹션_이름}}/{{페이지_이름}}` + +- `./public/` 디렉토리에 사이트를 구축: + +`hugo` + +- "초안"으로 표시된 페이지를 포함하는 사이트 구축: + +`hugo {{[-D|--buildDrafts]}}` + +- 로컬 IP에 사이트 구축: + +`hugo server --bind {{로컬_ip}} {{[-b|--baseURL]}} {{http://로컬_ip}}` + +- 주어진 디렉토리에 사이트를 구축: + +`hugo {{[-d|--destination]}} {{경로/대상/목적지}}` + +- 사이트를 구축하고, 웹 서버를 시작하여 서비스를 제공하여, 페이지가 편집되면 자동으로 다시 로드됨: + +`hugo server` diff --git a/pages.ko/common/hunspell.md b/pages.ko/common/hunspell.md new file mode 100644 index 00000000000000..c192ed871b784b --- /dev/null +++ b/pages.ko/common/hunspell.md @@ -0,0 +1,16 @@ +# hunspell + +> 철자 확인. +> 더 많은 정보: . + +- 파일의 철자를 확인: + +`hunspell {{경로/대상/파일}}` + +- en_US 사전을 사용하여 파일의 철자를 확인: + +`hunspell -d {{en_US}} {{경로/대상/파일}}` + +- 파일에 철자가 틀린 단어를 나열: + +`hunspell -l {{경로/대상/파일}}` diff --git a/pages.ko/common/husky.md b/pages.ko/common/husky.md new file mode 100644 index 00000000000000..2ce2b9d41fc581 --- /dev/null +++ b/pages.ko/common/husky.md @@ -0,0 +1,28 @@ +# husky + +> 네이티브 Git 훅을 쉽게 만들었습니다. +> 더 많은 정보: . + +- 현재 폴더에 Husky를 설치: + +`husky install` + +- Husky를 특정 폴더에 설치: + +`husky install {{경로/대상/폴더}}` + +- 특정 명령을 Git의 `pre-push` 훅으로 설정: + +`husky set {{.husky/pre-push}} "{{명령어}} {{명령어_인자}}"` + +- 현재 `pre-commit` 훅에 특정 명령을 추가: + +`husky add {{.husky/pre-commit}} "{{명령어}} {{명령어_인자}}"` + +- 현재 폴더에서 Husky 훅 제거: + +`husky uninstall` + +- 도움말 표시: + +`husky` diff --git a/pages.ko/common/hut.md b/pages.ko/common/hut.md new file mode 100644 index 00000000000000..8f9af94c2d904b --- /dev/null +++ b/pages.ko/common/hut.md @@ -0,0 +1,28 @@ +# hut + +> sourcehut용 CLI 도구. +> 더 많은 정보: . + +- `hut`의 구성 파일을 초기화 (`hut`를 사용하는 데 필요한 OAuth2 액세스 토큰을 묻는 메시지가 표시됨): + +`hut init` + +- Git/Mercurial 저장소 나열: + +`hut {{git|hg}} list` + +- 공개 Git/Mercurial 저장소를 생성: + +`hut {{git|hg}} create {{이름}}` + +- 의 작업 목록 나열: + +`hut builds list` + +- 작업 상태 표시: + +`hut builds show {{작업_아이디}}` + +- 작업 컨테이너에 SSH로 연결: + +`hut ssh {{작업_아이디}}` diff --git a/pages.ko/common/hx.md b/pages.ko/common/hx.md new file mode 100644 index 00000000000000..de1360cb6e7bd9 --- /dev/null +++ b/pages.ko/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> 이 명령은 `helix` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr helix` diff --git a/pages.ko/common/hydra.md b/pages.ko/common/hydra.md new file mode 100644 index 00000000000000..71e5dfb6bb7191 --- /dev/null +++ b/pages.ko/common/hydra.md @@ -0,0 +1,37 @@ +# hydra + +> 온라인 비밀번호 추측 도구. +> 지원되는 프로토콜에는 FTP, HTTP(S), SMTP, SNMP, XMPP, SSH 등이 포함됨. +> 더 많은 정보: . + +- Hydra의 마법사를 시작: + +`hydra-wizard` + +- 주어진 사용자 이름과 비밀번호 목록을 사용하여 SSH 자격 증명을 추측: + +`hydra -l {{사용자명}} -P {{경로/대상/단어목록.txt}} {{호스트_ip}} {{ssh}}` + +- 두 개의 특정 사용자명 및 비밀번호 목록을 사용하여 HTTPS 웹 양식 자격 증명을 추측 ("https_post_request"는 "사용자명=^USER^&password=^PASS^"와 유사할 수 있음): + +`hydra -L {{경로/대상/사용자명.txt}} -P {{경로/대상/단어목록.txt}} {{호스트_ip}} {{https-post-form}} "{{호스트_없는_url}}:{{https_post_요청}}:{{로그인_실패_문자열}}"` + +- 사용자명과 비밀번호 목록을 사용하여 FTP 자격 증명을 추측하고, 스레드 수를 지정: + +`hydra -L {{경로/대상/사용자명.txt}} -P {{경로/대상/단어목록.txt}} -t {{n_tasks}} {{호스트_ip}} {{ftp}}` + +- 사용자명과 비밀번호 목록을 사용하여 MySQL 자격 증명을 추측하고, 사용자명/비밀번호 쌍이 발견되면 종료됨: + +`hydra -l {{사용자명}} -P {{경로/대상/단어목록.txt}} -f {{호스트_ip}} {{mysql}}` + +- 각 시도를 보여주는 사용자명과 비밀번호 목록을 사용하여, RDP 자격 증명을 추측: + +`hydra -l {{사용자명}} -P {{경로/대상/단어목록.txt}} -V {{rdp://호스트_ip}}` + +- 콜론으로 구분된 사용자명/비밀번호 쌍 목록을 사용하여, 다양한 호스트의 IMAP 자격 증명을 추측: + +`hydra -C {{경로/대상/사용자명_비밀번호_쌍.txt}} {{imap://[호스트_범위_cidr]}}` + +- 사용자명과 비밀번호 목록을 사용하여 호스트 목록에서 POP3 자격 증명을 추측하고, 사용자명/비밀번호 쌍이 발견되면 종료됨: + +`hydra -L {{경로/대상/사용자명.txt}} -P {{경로/대상/단어목록.txt}} -M {{경로/대상/호스트.txt}} -F {{pop3}}` diff --git a/pages.ko/common/hyperfine.md b/pages.ko/common/hyperfine.md new file mode 100644 index 00000000000000..d5e49366db39db --- /dev/null +++ b/pages.ko/common/hyperfine.md @@ -0,0 +1,28 @@ +# hyperfine + +> 커멘드라인 벤치마킹 도구. +> 더 많은 정보: . + +- 최소 10회 실행하여, 기본 벤치마크를 실행: + +`hyperfine '{{make}}'` + +- 비교 벤치마크 실행: + +`hyperfine '{{make target1}}' '{{make target2}}'` + +- 최소 벤치마킹 실행 횟수 변경: + +`hyperfine --min-runs {{7}} '{{make}}'` + +- 웜업으로 벤치마크 수행: + +`hyperfine --warmup {{5}} '{{make}}'` + +- 각 벤치마크 실행 전에 명령을 실행 (캐시 지우기, 등): + +`hyperfine --prepare '{{make clean}}' '{{make}}'` + +- 각 실행마다 단일 매개변수가 변경되는 벤치마크를 실행: + +`hyperfine --prepare '{{make clean}}' --parameter-scan {{스레드_수}} {{1}} {{10}} '{{make -j {스레드_수}}}'` diff --git a/pages.ko/common/i3.md b/pages.ko/common/i3.md new file mode 100644 index 00000000000000..ab8b7eab41d802 --- /dev/null +++ b/pages.ko/common/i3.md @@ -0,0 +1,32 @@ +# i3 + +> 동적 타일링 윈도우 관리자. +> 더 많은 정보: . + +- i3 시작 (기존의 윈도우 관리자가 열려 있지 않아야 함): + +`i3` + +- 새 터미널 창 열기: + +`` + +- 새 작업 공간 만들기: + +`` + +- 작업 공간 번호 `n`으로 전환: + +`` + +- 가로로 새 창 열기: + +`` + +- 세로로 새 창 열기: + +`` + +- 애플리케이션 열기 (명령 실행 후 애플리케이션 이름 입력): + +`` diff --git a/pages.ko/common/i3lock.md b/pages.ko/common/i3lock.md new file mode 100644 index 00000000000000..d5c440b88ec45d --- /dev/null +++ b/pages.ko/common/i3lock.md @@ -0,0 +1,32 @@ +# i3lock + +> i3 윈도우 관리자를 위해 만들어진 간단한 화면 잠금 도구. +> 더 많은 정보: . + +- 흰색 배경으로 화면 잠금: + +`i3lock` + +- 단색 배경(rrggbb 형식)으로 화면 잠금: + +`i3lock --color {{0000ff}}` + +- PNG 배경으로 화면 잠금: + +`i3lock --image {{경로/대상/파일.png}}` + +- 잠금 해제 표시기를 비활성화하고 화면 잠금 (키 입력 시 피드백 제거): + +`i3lock --no-unlock-indicator` + +- 마우스 포인터를 숨기지 않고 화면 잠금: + +`i3lock --pointer {{default}}` + +- 모든 모니터에 타일링된 PNG 배경으로 화면 잠금: + +`i3lock --image {{경로/대상/파일.png}} --tiling` + +- 실패한 로그인 시도 횟수를 표시하며 화면 잠금: + +`i3lock --show-failed-attempts` diff --git a/pages.ko/common/ia.md b/pages.ko/common/ia.md new file mode 100644 index 00000000000000..9ec2e779bb7139 --- /dev/null +++ b/pages.ko/common/ia.md @@ -0,0 +1,24 @@ +# ia + +> `archive.org`와 상호작용하기 위한 커멘드라인 도구. +> 더 많은 정보: . + +- API 키로 `ia`를 구성 (일부 기능은 이 단계 없이 작동하지 않음): + +`ia configure` + +- 하나 이상의 항목을 `archive.org`에 업로드: + +`ia upload {{식별자}} {{경로/대상/파일}} --metadata="{{mediatype:data}}" --metadata="{{title:example}}"` + +- `archive.org`에서 하나 이상의 항목을 다운로드: + +`ia download {{항목}}` + +- `archive.org`에서 하나 이상의 항목을 삭제: + +`ia delete {{식별자}} {{파일}}` + +- `archive.org`에서 검색하여, 결과를 JSON로 반환: + +`ia search '{{subject:"subject" collection:collection}}'` diff --git a/pages.ko/common/ibmcloud-login.md b/pages.ko/common/ibmcloud-login.md new file mode 100644 index 00000000000000..20e9c218c668f7 --- /dev/null +++ b/pages.ko/common/ibmcloud-login.md @@ -0,0 +1,28 @@ +# ibmcloud login + +> IBM Cloud에 로그인하심. +> 더 많은 정보: . + +- 대화형 프롬프트를 사용하여 로그인: + +`ibmcloud login` + +- 특정 API 엔드포인트에 로그인 (기본값은 `cloud.ibm.com`): + +`ibmcloud login -a {{api_엔드포인트}}` + +- 사용자명, 비밀번호 및 대상 지역을 매개변수로 제공하여 로그인: + +`ibmcloud login -u {{사용자명}} -p {{비밀번호}} -r {{us-south}}` + +- API 키로 로그인하고, 이를 인수로 전달: + +`ibmcloud login --apikey {{api_키_문자열}}` + +- API 키로 로그인하여, 파일로 전달: + +`ibmcloud login --apikey @{{경로/대상/api_키_파일}}` + +- 연합 ID로 로그인 (single sign-on): + +`ibmcloud login --sso` diff --git a/pages.ko/common/ibmcloud.md b/pages.ko/common/ibmcloud.md new file mode 100644 index 00000000000000..a8c3f74e263a9e --- /dev/null +++ b/pages.ko/common/ibmcloud.md @@ -0,0 +1,24 @@ +# ibmcloud + +> IBM Cloud 앱 및 서비스를 관리하기 위한 커멘드라인 도구. +> 더 많은 정보: . + +- `ibmcloud`를 최신 버전으로 업데이트: + +`ibmcloud update` + +- 사용 가능한 모든 IBM Cloud 리전을 나열: + +`ibmcloud regions` + +- 도움말 표시: + +`ibmcloud help` + +- 하위 명령에 대한 도움말 표시: + +`ibmcloud help {{하위명령어}}` + +- 버전 정보 표시: + +`ibmcloud version` diff --git a/pages.ko/common/ical.md b/pages.ko/common/ical.md new file mode 100644 index 00000000000000..c42af8f808211c --- /dev/null +++ b/pages.ko/common/ical.md @@ -0,0 +1,16 @@ +# ical + +> 히르지/이슬람 달력과 Gregorian력을 보고 날짜를 변환. +> 더 많은 정보: . + +- 현재 달의 달력을 표시: + +`ical` + +- 그레고리력 날짜를 회교식 날짜로 변환: + +`ical --gregorian {{yyyymmdd}}` + +- Hirji 날짜를 그레고리력 날짜로 변환: + +`ical --hijri {{yyyymmdd}}` diff --git a/pages.ko/common/icontopbm.md b/pages.ko/common/icontopbm.md new file mode 100644 index 00000000000000..5fa27bf8d4455e --- /dev/null +++ b/pages.ko/common/icontopbm.md @@ -0,0 +1,8 @@ +# icontopbm + +> 이 명령은 `sunicontopnm`으로 대체됨. +> 더 많은 정보: . + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sunicontopnm` diff --git a/pages.ko/common/iconv.md b/pages.ko/common/iconv.md new file mode 100644 index 00000000000000..fe17754c9036ea --- /dev/null +++ b/pages.ko/common/iconv.md @@ -0,0 +1,16 @@ +# iconv + +> 한 인코딩에서 다른 인코딩으로 텍스트를 변환. +> 더 많은 정보: . + +- 파일을 특정 인코딩으로 변환하고, `stdout`으로 출력: + +`iconv -f {{현재_인코딩}} -t {{특정_인코딩}} {{입력_파일}}` + +- 파일을 현재 로케일의 인코딩으로 변환하고, 파일로 출력: + +`iconv -f {{현재_인코딩}} {{입력_파일}} > {{출력_파일}}` + +- 지원되는 인코딩 나열: + +`iconv -l` diff --git a/pages.ko/common/id.md b/pages.ko/common/id.md new file mode 100644 index 00000000000000..54a059bdb7b02f --- /dev/null +++ b/pages.ko/common/id.md @@ -0,0 +1,28 @@ +# id + +> 현재 사용자 및 그룹 ID를 표시. +> 더 많은 정보: . + +- 현재 사용자의 ID (UID), 그룹 ID (GID) 및 이들이 속한 그룹을 표시: + +`id` + +- 현재 사용자 ID를 표시: + +`id {{[-un|--user --name]}}` + +- 현재 사용자 ID를 숫자로 표시: + +`id {{[-u|--user]}}` + +- 현재 기본 그룹 ID를 표시: + +`id {{[-gn|--group --name]}}` + +- 현재 기본 그룹 ID를 숫자로 표시: + +`id {{[-g|--group]}}` + +- 임의의 사용자 ID (UID), 그룹 ID (GID) 및 이들이 속한 그룹을 표시: + +`id {{사용자명}}` diff --git a/pages.ko/common/id3tag.md b/pages.ko/common/id3tag.md new file mode 100644 index 00000000000000..908bf946a70c35 --- /dev/null +++ b/pages.ko/common/id3tag.md @@ -0,0 +1,16 @@ +# id3tag + +> MP3 파일의 ID3v1 및 ID3v2 태그를 읽고, 쓰고, 조작. +> 더 많은 정보: . + +- MP3 파일의 아티스트 및 노래 제목 태그 설정: + +`id3tag --artist {{아티스트}} --song {{노래_제목}} {{경로/대상/파일.mp3}}` + +- 현재 디렉토리에 있는 모든 MP3 파일의 앨범 제목 설정: + +`id3tag --album {{앨범}} {{*.mp3}}` + +- 도움말 표시: + +`id3tag --help` diff --git a/pages.ko/common/idea.md b/pages.ko/common/idea.md new file mode 100644 index 00000000000000..53241e7f17a10f --- /dev/null +++ b/pages.ko/common/idea.md @@ -0,0 +1,24 @@ +# idea + +> JetBrains Java 및 Kotlin IDE. +> 더 많은 정보: . + +- IntelliJ IDEA에서 현재 디렉터리를 열기: + +`idea {{경로/대상/디렉터리}}` + +- IntelliJ IDEA에서 특정 파일이나 디렉터리를 열기: + +`idea {{경로/대상/파일_또는_디렉터리}}` + +- diff 뷰어를 열어 최대 3개의 파일을 비교해보기: + +`idea diff {{경로/대상/파일1 경로/대상/파일2 경로/대상/선택적_파일3}}` + +- 양방향 파일 병합을 수행하려면, 병합 대화상자를 열기: + +`idea merge {{경로/대상/파일1}} {{경로/대상/파일2}} {{경로/대상/출력}}` + +- 프로젝트에서 코드 검사를 실행: + +`idea inspect {{경로/대상/프로젝트_디렉터리}} {{경로/대상/조사_프로파일}} {{경로/대상/출력}}` diff --git a/pages.ko/common/identify.md b/pages.ko/common/identify.md new file mode 100644 index 00000000000000..bb6548b69ad928 --- /dev/null +++ b/pages.ko/common/identify.md @@ -0,0 +1,7 @@ +# identify + +> 이 명령은 `magick identify`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr magick identify` diff --git a/pages.ko/common/idevice_id.md b/pages.ko/common/idevice_id.md new file mode 100644 index 00000000000000..d8e27c43893780 --- /dev/null +++ b/pages.ko/common/idevice_id.md @@ -0,0 +1,12 @@ +# idevice_id + +> 연결된 iOS 장치를 나열하거나 특정 장치의 장치 이름을 출력. +> 더 많은 정보: . + +- 연결된 모든 장치의 UDID를 나열: + +`idevice_id --list` + +- 네트워크를 통해 사용 가능한 모든 장치의 UDID를 나열: + +`idevice_id --network` diff --git a/pages.ko/common/idevicebackup.md b/pages.ko/common/idevicebackup.md new file mode 100644 index 00000000000000..0336b4f78e61d7 --- /dev/null +++ b/pages.ko/common/idevicebackup.md @@ -0,0 +1,13 @@ +# idevicebackup + +> iOS 기기용 백업 생성 또는 복원. +> 참고: 이 도구는 오래되었습니다. `idevicebackup2`를 참조. +> 더 많은 정보: . + +- 지정된 디렉터리에 장치의 백업을 생성: + +`idevicebackup backup {{경로/대상/디렉터리}}` + +- 지정된 디렉터리에서 백업을 복원: + +`idevicebackup restore {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/idevicebackup2.md b/pages.ko/common/idevicebackup2.md new file mode 100644 index 00000000000000..ec11f4429ff9f3 --- /dev/null +++ b/pages.ko/common/idevicebackup2.md @@ -0,0 +1,20 @@ +# idevicebackup2 + +> iOS 4 이상을 실행하는 장치에 대한 백업을 생성하거나 복원. +> 더 많은 정보: . + +- 지정된 디렉터리에 장치의 백업을 생성: + +`idevicebackup2 backup {{경로/대상/디렉터리}}` + +- 지정된 디렉터리에서 백업을 복원: + +`idevicebackup2 restore {{경로/대상/디렉터리}}` + +- 백업 암호화 활성화: + +`idevicebackup2 encryption on {{비밀번호}}` + +- 마지막으로 완료된 백업의 파일을 나열: + +`idevicebackup2 list` diff --git a/pages.ko/common/idevicecrashreport.md b/pages.ko/common/idevicecrashreport.md new file mode 100644 index 00000000000000..1fba31c758ee03 --- /dev/null +++ b/pages.ko/common/idevicecrashreport.md @@ -0,0 +1,16 @@ +# idevicecrashreport + +> iOS 장치에서 충돌 보고서를 검색. +> 더 많은 정보: . + +- 충돌 보고서를 검색하여 지정된 디렉터리로 이동: + +`idevicecrashreport {{경로/대상/디렉터리}}` + +- 장치에서 충돌 보고서를 제거하지 않고 검색: + +`idevicecrashreport --keep {{경로/대상/디렉터리}}` + +- 충돌 보고서를 별도의 `.crash` 파일로 추출: + +`idevicecrashreport --extract {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/idevicedate.md b/pages.ko/common/idevicedate.md new file mode 100644 index 00000000000000..a610801b38202e --- /dev/null +++ b/pages.ko/common/idevicedate.md @@ -0,0 +1,16 @@ +# idevicedate + +> 현재 날짜를 표시하거나 iOS 장치에서 설정. +> 더 많은 정보: . + +- 현재 날짜와 시간을 표시: + +`idevicedate` + +- 장치의 날짜와 시간을 시스템 시간으로 설정: + +`idevicedate --sync` + +- 날짜와 시간을 특정 타임스탬프로 설정: + +`idevicedate --set {{타임스탬프}}` diff --git a/pages.ko/common/idevicediagnostics.md b/pages.ko/common/idevicediagnostics.md new file mode 100644 index 00000000000000..1304f358b2ecd2 --- /dev/null +++ b/pages.ko/common/idevicediagnostics.md @@ -0,0 +1,16 @@ +# idevicediagnostics + +> iOS 장치의 진단 인터페이스와 상호 작용. +> 더 많은 정보: . + +- 진단 정보를 출력: + +`idevicediagnostics diagnostics` + +- Print mobilegestalt 키 값 출력: + +`idevicediagnostics mobilegestalt {{키1}} {{키2}}` + +- 장치 종료, 다시 시작 또는 절전 모드: + +`idevicediagnostics {{shutdown|restart|sleep}}` diff --git a/pages.ko/common/ideviceimagemounter.md b/pages.ko/common/ideviceimagemounter.md new file mode 100644 index 00000000000000..912592871692cc --- /dev/null +++ b/pages.ko/common/ideviceimagemounter.md @@ -0,0 +1,12 @@ +# ideviceimagemounter + +> iOS 기기에 디스크 이미지 마운트. +> 더 많은 정보: . + +- 연결된 장치에 디스크 이미지 마운트: + +`ideviceimagemounter {{경로/대상/이미지_파일}} {{경로/대상/서명_파일}}` + +- 현재 마운트된 디스크 이미지 목록: + +`ideviceimagemounter --list` diff --git a/pages.ko/common/ideviceinfo.md b/pages.ko/common/ideviceinfo.md new file mode 100644 index 00000000000000..28b5b7c1cac4d4 --- /dev/null +++ b/pages.ko/common/ideviceinfo.md @@ -0,0 +1,12 @@ +# ideviceinfo + +> 처음 연결된 iOS 기기에 대한 정보를 표시. +> 더 많은 정보: . + +- 연결된 기기에 대한 자세한 정보를 표시: + +`ideviceinfo` + +- UDID로 특정 장치에 대한 정보를 표시: + +`ideviceinfo --udid {{장치_udid}}` diff --git a/pages.ko/common/idevicename.md b/pages.ko/common/idevicename.md new file mode 100644 index 00000000000000..830b9d1ef4b8c8 --- /dev/null +++ b/pages.ko/common/idevicename.md @@ -0,0 +1,12 @@ +# idevicename + +> 장치 이름을 표시하거나 새로운 이름으로 설정. +> 더 많은 정보: . + +- 현재 장치 이름 표시: + +`idevicename` + +- 새로운 장치 이름 설정: + +`idevicename {{새로운_이름}}` diff --git a/pages.ko/common/idevicepair.md b/pages.ko/common/idevicepair.md new file mode 100644 index 00000000000000..43328cccd1396e --- /dev/null +++ b/pages.ko/common/idevicepair.md @@ -0,0 +1,12 @@ +# idevicepair + +> iOS 장치와의 호스트 페어링을 관리. +> 더 많은 정보: . + +- 장치를 호스트와 페어링: + +`idevicepair pair` + +- 호스트와 페어링된 장치 목록: + +`idevicepair list` diff --git a/pages.ko/common/idevicescreenshot.md b/pages.ko/common/idevicescreenshot.md new file mode 100644 index 00000000000000..b01f7e86ad95b2 --- /dev/null +++ b/pages.ko/common/idevicescreenshot.md @@ -0,0 +1,12 @@ +# idevicescreenshot + +> 연결된 iOS 기기에서 스크린샷을 찍음. +> 더 많은 정보: . + +- 기본 파일 이름을 사용하여 스크린샷을 TIFF 이미지로 저장: + +`idevicescreenshot` + +- 특정 파일 이름으로 스크린샷을 저장: + +`idevicescreenshot {{경로/대상/파일.tiff}}` diff --git a/pages.ko/common/idevicesetlocation.md b/pages.ko/common/idevicesetlocation.md new file mode 100644 index 00000000000000..cf1e0e8d4acbeb --- /dev/null +++ b/pages.ko/common/idevicesetlocation.md @@ -0,0 +1,12 @@ +# idevicesetlocation + +> iOS 장치에서 위치를 시뮬레이션. +> 더 많은 정보: . + +- 특정 위도와 경도 설정: + +`idevicesetlocation {{위도}} {{경도}}` + +- 시뮬레이션 위치 재설정: + +`idevicesetlocation reset` diff --git a/pages.ko/common/idevicesyslog.md b/pages.ko/common/idevicesyslog.md new file mode 100644 index 00000000000000..4eefced724f169 --- /dev/null +++ b/pages.ko/common/idevicesyslog.md @@ -0,0 +1,12 @@ +# idevicesyslog + +> 연결된 iOS 장치의 syslog 메시지를 릴레이. +> 더 많은 정보: . + +- 연결된 장치의 syslog 메시지 릴레이: + +`idevicesyslog` + +- 커널 메시지를 억제하고 다른 모든 내용을 출력: + +`idevicesyslog --no-kernel` diff --git a/pages.ko/common/idnits.md b/pages.ko/common/idnits.md new file mode 100644 index 00000000000000..bc2af8f0725dda --- /dev/null +++ b/pages.ko/common/idnits.md @@ -0,0 +1,25 @@ +# idnits + +> 제출 니트에 대한 인터넷 초안을 확인. +> 에 나열된 요구 사항의 섹션 2.1 및 2.2에 대한 위반 사항을 찾음. +> 더 많은 정보: . + +- 파일에서 니트를 확인: + +`idnits {{경로/대상/파일.txt}}` + +- 표시하지 않고 니트 수 계산: + +`idnits --nitcount {{경로/대상/파일.txt}}` + +- 위반 라인에 대한 추가 정보 표시: + +`idnits --verbose {{경로/대상/파일.txt}}` + +- 현재 연도 대신 상용구에 지정된 연도를 예상: + +`idnits --year {{2021}} {{경로/대상/파일.txt}}` + +- 문서가 지정된 상태에 있다고 가정: + +`idnits --doctype {{standard|informational|experimental|bcp|ps|ds}} {{경로/대상/파일.txt}}` diff --git a/pages.ko/common/iex.md b/pages.ko/common/iex.md new file mode 100644 index 00000000000000..81969cbf9c91d5 --- /dev/null +++ b/pages.ko/common/iex.md @@ -0,0 +1,16 @@ +# iex + +> IEx는 Elixir의 대화형 셸. +> 더 많은 정보: . + +- 대화형 세션을 시작: + +`iex` + +- 역사를 기억하는 세션을 시작: + +`iex --erl "-kernel shell_history enabled"` + +- Mix 프로젝트 파일 시작 및 로드: + +`iex -S mix` diff --git a/pages.ko/common/if.md b/pages.ko/common/if.md new file mode 100644 index 00000000000000..a10c122191e642 --- /dev/null +++ b/pages.ko/common/if.md @@ -0,0 +1,37 @@ +# if + +> 쉘 스크립트에서 조건부 처리를 수행. +> 참고: `test`, `[`. +> 더 많은 정보: . + +- 조건 명령어의 종료 상태가 0인 경우, 지정된 명령을 실행: + +`if {{조건_명령어}}; then {{echo "Condition is true"}}; fi` + +- 조건 명령어의 종료 상태가 0이 아닌 경우, 지정된 명령을 실행: + +`if ! {{조건_명령어}}; then {{echo "Condition is true"}}; fi` + +- 조건 명령어의 종료 상태가 0이면 첫 번째 지정된 명령을 실행하고, 그렇지 않으면 두 번째 지정된 명령을 실행: + +`if {{조건_명령어}}; then {{echo "Condition is true"}}; else {{echo "Condition is false"}}; fi` + +- 파일([f]ile)이 존재하는지 확인: + +`if [[ -f {{경로/대상/파일}} ]]; then {{echo "Condition is true"}}; fi` + +- 디렉토리([d]irectory)가 존재하는지 확인: + +`if [[ -d {{경로/대상/디렉터리}} ]]; then {{echo "Condition is true"}}; fi` + +- 파일이나 디렉터리가 존재하는지([e]xists) 확인: + +`if [[ -e {{경로/대상/파일_또는_디렉터리}} ]]; then {{echo "Condition is true"}}; fi` + +- 변수가 정의되었는지 아닌지 검사: + +`if [[ -n "${{변수}}" ]]; then {{echo "Condition is true"}}; fi` + +- 가능한 모든 조건을 나열 (`test`는 `[`의 별칭; 둘 다 일반적으로 `if`와 함께 사용됨): + +`man [` diff --git a/pages.ko/common/ifconfig.md b/pages.ko/common/ifconfig.md new file mode 100644 index 00000000000000..a5a3521424d78b --- /dev/null +++ b/pages.ko/common/ifconfig.md @@ -0,0 +1,24 @@ +# ifconfig + +> 네트워크 인터페이스 구성자. +> 더 많은 정보: . + +- 인터페이스 네트워크 설정 보기: + +`ifconfig {{인터페이스_이름}}` + +- 비활성화된 인터페이스를 포함하여, 모든 인터페이스의 세부 정보를 표시: + +`ifconfig -a` + +- 인터페이스 비활성화: + +`ifconfig {{인터페이스_이름}} down` + +- 인터페이스 활성화: + +`ifconfig {{인터페이스_이름}} up` + +- 인터페이스에 IP 주소를 할당: + +`ifconfig {{인터페이스_이름}} {{ip_주소}}` diff --git a/pages.ko/common/ifdata.md b/pages.ko/common/ifdata.md new file mode 100644 index 00000000000000..719a956ac44c22 --- /dev/null +++ b/pages.ko/common/ifdata.md @@ -0,0 +1,24 @@ +# ifdata + +> 네트워크 인터페이스에 대한 정보를 표시. +> 더 많은 정보: . + +- 지정된 인터페이스의 전체 구성을 표시: + +`ifdata -p {{eth0}}` + +- 종료 코드를 통해 지정된 인터페이스의 존재([e]xistence)를 나타냄: + +`ifdata -e {{eth0}}` + +- 지정된 인터페이스의 IPv4 주소([a]ddress)와 넷마스크([n]etmask)를 표시: + +`ifdata -pa -pn {{eth0}}` + +- 네트워크([N]etwork) 주소, 브로드캐스트([b]roadcast) 주소 및 지정된 인터페이스의 MTU를 표시: + +`ifdata -pN -pb -pm {{eth0}}` + +- 도움말 표시: + +`ifdata` diff --git a/pages.ko/common/ifne.md b/pages.ko/common/ifne.md new file mode 100644 index 00000000000000..ff788f1d251e81 --- /dev/null +++ b/pages.ko/common/ifne.md @@ -0,0 +1,12 @@ +# ifne + +> `stdin`의 비어 있음에 따라 명령을 실행. +> 더 많은 정보: . + +- `stdin`이 비어 있지 않은 경우에만 지정된 명령을 실행: + +`ifne {{명령어 옵션 ...}}` + +- `stdin`이 비어 있는 경우에만 지정된 명령을 실행하고, 그렇지 않으면 `stdin`을 `stdout`에 전달: + +`ifne -n {{명령어 옵션 ...}}` diff --git a/pages.ko/common/ifs.md b/pages.ko/common/ifs.md new file mode 100644 index 00000000000000..6bd923454ae905 --- /dev/null +++ b/pages.ko/common/ifs.md @@ -0,0 +1,21 @@ +# IFS + +> IFS (Internal Field Separator)는 Unix쉘에서 단어 분할에 사용되는 구분 기호를 정의하는 특수 환경 변수. +> IFS의 기본값은 공백, 탭 및 줄바꿈. 세 문자는 구분 기호 역할을 함. +> 더 많은 정보: . + +- 현재 IFS 값 보기: + +`echo "$IFS"` + +- IFS 값 변경: + +`IFS="{{:}}"` + +- IFS를 기본값으로 재설정: + +`IFS=$' \t\n'` + +- 서브셸에서 IFS 값을 일시적으로 변경: + +`(IFS="{{:}}"; echo "{{one:two:three}}")` diff --git a/pages.ko/common/ignite.md b/pages.ko/common/ignite.md new file mode 100644 index 00000000000000..b85923b78a6daa --- /dev/null +++ b/pages.ko/common/ignite.md @@ -0,0 +1,20 @@ +# ignite + +> React Native 보일러플레이트, 플러그인, 생성기 등을 위한 CLI. +> 더 많은 정보: . + +- 새로운 React Native 프로젝트를 생성: + +`ignite new {{프로젝트_이름}}` + +- 플러그인에서 파일 생성: + +`ignite generate {{플러그인_이름}} {{경로/대상/파일}}` + +- 프로젝트에 Ignite 플러그인을 추가: + +`ignite add {{플러그인_이름}}` + +- Remove an Ignite plugin from the project: + +`ignite remove {{플러그인_이름}}` diff --git a/pages.ko/common/ilbmtoppm.md b/pages.ko/common/ilbmtoppm.md new file mode 100644 index 00000000000000..a548811263c654 --- /dev/null +++ b/pages.ko/common/ilbmtoppm.md @@ -0,0 +1,20 @@ +# ilbmtoppm + +> ILBM 파일을 PPM 이미지로 변환:. +> 더 많은 정보: . + +- ILBM 파일을 PPM 이미지로 변환: + +`ilbmtoppm {{경로/대상/파일.ilbm}} > {{경로/대상/파일.ppm}}` + +- 이미지가 투명한 부분을 "비춰보이게" 하려면 지정된 색상을 사용: + +`ilbmtoppm -transparent {{색깔}} {{경로/대상/파일.ilbm}} > {{경로/대상/파일.ppm}}` + +- 지정된 청크 ID를 가진 청크를 무시: + +`ilbmtoppm -ignore {{chunkID}} {{경로/대상/파일.ilbm}} > {{경로/대상/파일.ppm}}` + +- 입력의 투명도 정보를 지정된 PBM 파일에 저장: + +`ilbmtoppm -maskfile {{경로/대상/마스크파일.pbm}} {{경로/대상/파일.ilbm}} > {{경로/대상/파일.ppm}}` diff --git a/pages.ko/common/imapsync.md b/pages.ko/common/imapsync.md new file mode 100644 index 00000000000000..d9faa517fd78b7 --- /dev/null +++ b/pages.ko/common/imapsync.md @@ -0,0 +1,8 @@ +# imapsync + +> 두 개의 IMAP 서버 사이에 중복없이 단방향으로 이메일 사서함을 동기화, 복사 및 마이그레이션하기 위한 이메일 IMAP 도구. +> 더 많은 정보: . + +- 호스트1과 호스트2 간에 IMAP 계정을 동기화: + +`imapsync --host1 {{호스트1}} --user1 {{사용자1}} --password1 {{비밀1}} --host2 {{호스트2}} --user2 {{사용자2}} --password2 {{비밀2}}` diff --git a/pages.ko/common/img2pdf.md b/pages.ko/common/img2pdf.md new file mode 100644 index 00000000000000..97871d1bda1b82 --- /dev/null +++ b/pages.ko/common/img2pdf.md @@ -0,0 +1,25 @@ +# img2pdf + +> 래스터 이미지를 무손실로 PDF 파일로 변환. +> 지원되는 이미지 포맷으로는 GIF, JPEG, JPEG2000, PNG, GIF, TIFF 등이 있습니다. +> 더 많은 정보: . + +- 하나 이상의 이미지를 각각의 페이지에 넣어 단일 PDF로 변환: + +`img2pdf {{경로/대상/이미지1.확장자 경로/대상/이미지2.확장자 ...}} --output {{경로/대상/파일.pdf}}` + +- 다중 프레임 이미지의 첫 프레임만 PDF로 변환: + +`img2pdf {{경로/대상/파일.gif}} --first-frame-only --output {{경로/대상/파일.pdf}}` + +- 이미지를 자동으로 방향 설정하고, 가로 모드의 특정 페이지 크기를 사용하며, 가로 및 세로로 특정 크기의 테두리를 설정: + +`img2pdf {{경로/대상/이미지.확장자}} --auto-orient --pagesize {{A4^T}} --border {{2cm}}:{{5.1cm}} --output {{경로/대상/파일.pdf}}` + +- 페이지의 특정 크기 내에 지정된 치수로만 큰 이미지를 축소: + +`img2pdf {{경로/대상/이미지.확장자}} --pagesize {{30cm}}x{{20cm}} --imgsize {{10cm}}x{{15cm}} --fit {{shrink}} --output {{경로/대상/파일.pdf}}` + +- 이미지를 PDF로 변환하고, 결과 파일에 메타데이터 지정: + +`img2pdf {{경로/대상/이미지.확장자}} --title {{제목}} --author {{저자}} --creationdate {{1970-01-31}} --keywords {{키워드1 키워드2}} --subject {{주제}} --output {{경로/대상/파일.pdf}}` diff --git a/pages.ko/common/imgcat.md b/pages.ko/common/imgcat.md new file mode 100644 index 00000000000000..48173ef2b89b94 --- /dev/null +++ b/pages.ko/common/imgcat.md @@ -0,0 +1,9 @@ +# imgcat + +> 커멘드라인에 이미지를 표시. +> iTerm2와 같은 호환 가능한 터미널이 필요. +> 더 많은 정보: . + +- 커멘드라인에 이미지를 표시: + +`imgcat {{경로/대상/파일}}` diff --git a/pages.ko/common/imgtoppm.md b/pages.ko/common/imgtoppm.md new file mode 100644 index 00000000000000..b8f360628bdc15 --- /dev/null +++ b/pages.ko/common/imgtoppm.md @@ -0,0 +1,12 @@ +# imgtoppm + +> 다양한 이미지 파일 형식을 PPM (Portable Pixmap) 형식으로 변환. +> 더 많은 정보: . + +- 입력 이미지를 PPM 형식으로 변환: + +`imgtoppm {{경로/대상/입력}} > {{경로/대상/출력.ppm}}` + +- 버전 정보 표시: + +`imgtoppm -version` diff --git a/pages.ko/common/immich-go.md b/pages.ko/common/immich-go.md new file mode 100644 index 00000000000000..e6d7b81aeff64f --- /dev/null +++ b/pages.ko/common/immich-go.md @@ -0,0 +1,25 @@ +# immich-go + +> Immich-Go는 대규모 사진 컬렉션을 자체 호스팅 Immich 서버에 업로드하는 작업을 간소화하도록 설계된 오픈소스 도구. +> 참고: `immich-cli`. +> 더 많은 정보: . + +- Google 사진 테이크아웃 파일을 Immich 서버에 업로드: + +`immich-go -server={{서버_주소}} -key={{서버_키}} upload {{경로/대상/테이크아웃_파일.zip}}` + +- 앨범을 자동 생성하면서 2019년 6월에 촬영한 사진을 가져옴: + +`immich-go -server={{서버_주소}} -key={{서버_키}} upload -create-albums -google-photos -date={{2019-06}} {{경로/대상/테이크아웃_파일.zip}}` + +- 구성 파일의 서버 및 키를 사용하여 테이크아웃 파일 업로드: + +`immich-go -use-configuration={{~/.immich-go/immich-go.json}} upload {{경로/대상/테이크아웃_파일.zip}}` + +- Immich 서버 콘텐츠를 검사하고, 품질이 낮은 이미지를 제거하고, 엘범을 보존: + +`immich-go -server={{서버_주소}} -key={{서버_키}} duplicate -yes` + +- "YYYY-MM-DD" 패턴으로 생성된 모든 앨범 삭제: + +`immich-go -server={{서버_주소}} -key={{서버_키}} tool album delete {{\d{4}-\d{2}-\d{2}}}` diff --git a/pages.ko/common/immich.md b/pages.ko/common/immich.md new file mode 100644 index 00000000000000..cd10c7f24b2d4c --- /dev/null +++ b/pages.ko/common/immich.md @@ -0,0 +1,29 @@ +# immich + +> Immich에는 커멘드라인에서 특정 작업을 수행할 수 있는 커멘드라인 인터페이스 (CLI)가 있음. +> 참고: `immich-go`. +> 더 많은 정보: . + +- Immich 서버에 인증: + +`immich login {{서버_주소/api}} {{서버_키}}` + +- 일부 이미지 파일 업로드: + +`immich upload {{파일1.jpg 파일2.jpg}}` + +- 하위 디렉터리를 포함한 디렉터리 업로드: + +`immich upload --recursive {{경로/대상/디렉터리}}` + +- 디렉터리를 기반으로 앨범 만들기: + +`immich upload --album-name "{{My summer holiday}}" --recursive {{경로/대상/디렉터리}}` + +- glob 패턴과 일치하는 리소스 건너뛰기: + +`immich upload --ignore {{**/Raw/** **/*.tif}} --recursive {{경로/대상/디렉터리}}` + +- 숨겨진 파일 포함: + +`immich upload --include-hidden --recursive {{경로/대상/디렉터리}}` diff --git a/pages.ko/common/import.md b/pages.ko/common/import.md new file mode 100644 index 00000000000000..4aea4043c1abe5 --- /dev/null +++ b/pages.ko/common/import.md @@ -0,0 +1,7 @@ +# import + +> 이 명령은 `magick import`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr magick import` diff --git a/pages.ko/common/in2csv.md b/pages.ko/common/in2csv.md new file mode 100644 index 00000000000000..ffd54dbde624f8 --- /dev/null +++ b/pages.ko/common/in2csv.md @@ -0,0 +1,21 @@ +# in2csv + +> 다양한 표 데이터 형식을 CSV로 변환. +> csvkit에 포함. +> 더 많은 정보: . + +- XLS 파일을 CSV로 변환: + +`in2csv {{data.xls}}` + +- DBF 파일을 CSV 파일로 변환: + +`in2csv {{data.dbf}} > {{data.csv}}` + +- 특정 시트를 XLSX 파일에서 CSV로 변환: + +`in2csv --sheet={{시트_이름}} {{data.xlsx}}` + +- JSON 파일을 in2csv로 파이프: + +`cat {{data.json}} | in2csv -f json > {{data.csv}}` diff --git a/pages.ko/common/indent.md b/pages.ko/common/indent.md new file mode 100644 index 00000000000000..70a66ba005f1cd --- /dev/null +++ b/pages.ko/common/indent.md @@ -0,0 +1,16 @@ +# indent + +> 공백을 삽입하거나 삭제하여 a C/C++ 프로그램의 모양을 변경. +> 더 많은 정보: . + +- Linux 스타일 가이드에 따라 C/C++ 소스 형식을 지정하고, 원본 파일을 자동으로 백업한 후, 들여쓰기된 버전으로 변경: + +`indent --linux-style {{경로/대상/소스.c}} {{경로/대상/또다른_소스.c}}` + +- GNU 스타일에 따라 C/C++ 소스 형식을 지정하고, 들여쓰기된 버전을 다른 파일에 저장: + +`indent --gnu-style {{경로/대상/소스.c}} -o {{경로/대상/들여쓰기된_소스.c}}` + +- Kernighan & Ritchie (K&R) 스타일에 따라 C/C++ 소스 형식을 지정하고, 탭이 없으며, 들여쓰기당 공백 3개, 줄바꿈은 120자: + +`indent --k-and-r-style --indent-level3 --no-tabs --line-length120 {{경로/대상/소스.c}} -o {{경로/대상/들여쓰기된_소스.c}}` diff --git a/pages.ko/common/infection.md b/pages.ko/common/infection.md new file mode 100644 index 00000000000000..9f246bf57e416b --- /dev/null +++ b/pages.ko/common/infection.md @@ -0,0 +1,36 @@ +# infection + +> PHP용 코드 변경 테스팅 프레임워크. +> 더 많은 정보: . + +- 구성 파일을 사용하여 코드를 분석 (또는 존재하지 않는 경우 새롭게 생성): + +`infection` + +- 특정 수의 스레드를 사용: + +`infection --threads {{스레드_수}}` + +- 최소 MSI(Mutation Score Indicator)를 지정: + +`infection --min-msi {{백분율}}` + +- 최소 적용 코드 MSI를 지정: + +`infection --min-covered-msi {{백분율}}` + +- 특정 테스트 프레임워크를 사용 (기본값은 PHPUnit): + +`infection --test-framework {{phpunit|phpspec}}` + +- 테스트에 포함된 코드 줄만 변경: + +`infection --only-covered` + +- 적용된 코드 변경을 주는 부분을 표시: + +`infection --show-mutations` + +- 로그 상세 수준을 지정: + +`infection --log-verbosity {{default|all|none}}` diff --git a/pages.ko/common/influx.md b/pages.ko/common/influx.md new file mode 100644 index 00000000000000..af50db0e81a003 --- /dev/null +++ b/pages.ko/common/influx.md @@ -0,0 +1,28 @@ +# influx + +> InfluxDB 커멘드 라인 클라이언트. +> 더 많은 정보: . + +- 자격증명 없이 localhost에서 실행되는 InfluxDB에 연결: + +`influx` + +- 특정 사용자 이름으로 연결 (비밀번호를 묻는 메시지가 표시됨): + +`influx -username {{사용자명}} -password ""` + +- 특정 호스트에 연결: + +`influx -host {{호스트명}}` + +- 특정 데이터베이스 사용: + +`influx -database {{데이터베이스_이름}}` + +- 주어진 명령을 실행: + +`influx -execute "{{influxql_명령}}"` + +- 특정 형식으로 출력을 반환: + +`influx -execute "{{influxql_명령}}" -format {{json|csv|column}}` diff --git a/pages.ko/common/info.md b/pages.ko/common/info.md new file mode 100644 index 00000000000000..b32e0e8a6749a6 --- /dev/null +++ b/pages.ko/common/info.md @@ -0,0 +1,16 @@ +# info + +> info 형식으로 저장된 문서를 읽음. +> 더 많은 정보: . + +- 최상위 디렉토리 메뉴 읽기 시작: + +`info` + +- 최상위 디렉토리의 지정된 메뉴 항목 노드에서 읽기 시작: + +`info {{메뉴_아이템}}` + +- 첫 번째 메뉴 항목 설명서 안에서, 두 번째 메뉴 항목부터 읽기 시작: + +`info {{첫번째_메뉴_아이템}} {{두번째_메뉴_아이템}}` diff --git a/pages.ko/common/initdb.md b/pages.ko/common/initdb.md new file mode 100644 index 00000000000000..844f17e5575b88 --- /dev/null +++ b/pages.ko/common/initdb.md @@ -0,0 +1,8 @@ +# initdb + +> 디스크에 PostgreSQL 데이터베이스를 생성. +> 더 많은 정보: . + +- `/usr/local/var/postgres`에 데이터베이스를 생성: + +`initdb -D /usr/local/var/postgres` diff --git a/pages.ko/common/inkmake.md b/pages.ko/common/inkmake.md new file mode 100644 index 00000000000000..2ad3fadd50ef05 --- /dev/null +++ b/pages.ko/common/inkmake.md @@ -0,0 +1,24 @@ +# inkmake + +> Inkscape의 백엔드를 사용하여 GNU Makefile 스타일 SVG 내보내기. +> 더 많은 정보: . + +- 지정된 Inkfile을 실행하는 SVG 파일 내보내기: + +`inkmake {{경로/대상/Inkfile}}` + +- Inkfile을 실행하고 자세한 정보를 표시: + +`inkmake --verbose {{경로/대상/Inkfile}}` + +- SVG 입력 파일과 출력 파일을 지정하여, Inkfile을 실행: + +`inkmake --svg {{경로/대상/파일.svg}} --out {{경로/대상/출력_이미지}} {{경로/대상/Inkfile}}` + +- 사용자 정의 Inkscape 바이너리를 백엔드로 사용: + +`inkmake --inkscape {{/Applications/Inkscape.app/Contents/Resources/bin/inkscape}} {{경로/대상/Inkfile}}` + +- 도움말 표시: + +`inkmake --help` diff --git a/pages.ko/common/inkscape.md b/pages.ko/common/inkscape.md new file mode 100644 index 00000000000000..a5f0205d1a0fd6 --- /dev/null +++ b/pages.ko/common/inkscape.md @@ -0,0 +1,33 @@ +# inkscape + +> SVG (Scalable Vector Graphics) 편집 프로그램. +> Inkscape 버전 0.92.x 이하의 경우, -o 대신 -e를 사용하세요. +> 더 많은 정보: . + +- Inkscape GUI에서 SVG 파일을 열기: + +`inkscape {{경로/대상/파일명.svg}}` + +- 기본 형식(PNG) 및 기본 해상도(96 DPI)를 사용하여 SVG 파일을 비트맵으로 내보냄: + +`inkscape {{경로/대상/파일명.svg}} -o {{경로/대상/파일명.png}}` + +- SVG 파일을 600x400 픽셀의 비트맵으로 내보내기 (가로와 세로 사이의 비율 왜곡이 발생할 수 있음): + +`inkscape {{경로/대상/파일명.svg}} -o {{경로/대상/파일명.png}} -w {{600}} -h {{400}}` + +- SVG 파일의 그림(모든 객체의 경계가 있는 상자)을 비트맵으로 내보냄: + +`inkscape {{경로/대상/파일명.svg}} -o {{경로/대상/파일명.png}} -D` + +- 해당 ID가 지정된 단일 객체를 비트맵으로 내보냄: + +`inkscape {{경로/대상/파일명.svg}} -i {{id}} -o {{object.png}}` + +- SVG 문서를 PDF로 내보내고 모든 텍스트를 경로로 변경: + +`inkscape {{경로/대상/파일명.svg}} -o {{경로/대상/파일명.pdf}} --export-text-to-path` + +- id="path123"로 객체를 복제하고, 복사본을 90도로 회전한 다음, 파일을 저장하고, Inkscape를 종료: + +`inkscape {{경로/대상/파일명.svg}} --select=path123 --verb="{{EditDuplicate;ObjectRotate90;FileSave;FileQuit}}"` diff --git a/pages.ko/common/install-nodeversion.md b/pages.ko/common/install-nodeversion.md new file mode 100644 index 00000000000000..18da0e6c936401 --- /dev/null +++ b/pages.ko/common/install-nodeversion.md @@ -0,0 +1,25 @@ +# Install-NodeVersion + +> `ps-nvm`에 대한 Node.js 런타임 버전 설치. +> 이 명령어는 `ps-nvm`의 일부이며 PowerShell에서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 특정 Node.js 버전 설치: + +`Install-NodeVersion {{노드_버전}}` + +- 여러 개의 Node.js 버전 설치: + +`Install-NodeVersion {{노드_버전1, 노드_버전2, ...}}` + +- 최신 사용 가능한 Node.js 20 버전 설치: + +`Install-NodeVersion ^20` + +- x86 (x86 32-bit) / x64 (x86 64-bit) / arm64 (ARM 64-bit) 버전의 Node.js 설치: + +`Install-NodeVersion {{노드_버전}} -Architecture {{x86|x64|arm64}}` + +- HTTP 프록시를 사용하여 Node.js 다운로드: + +`Install-NodeVersion {{노드_버전}} -Proxy {{http://example.com}}` diff --git a/pages.ko/common/install.md b/pages.ko/common/install.md new file mode 100644 index 00000000000000..87b598d8505164 --- /dev/null +++ b/pages.ko/common/install.md @@ -0,0 +1,29 @@ +# install + +> 파일 복사 및 속성 설정. +> 파일 (자주 실행 가능)을 시스템 위치 (예: `/usr/local/bin`)에 복사하고 적절한 권한/소유권을 부여합니다. +> 더 많은 정보: . + +- 파일들을 목표에 복사: + +`install {{경로/대상/원본_파일1 경로/대상/원본_파일2 ...}} {{경로/대상/목표}}` + +- 파일들을 목표에 복사하고 소유권 설정: + +`install --owner {{사용자}} {{경로/대상/원본_파일1 경로/대상/원본_파일2 ...}} {{경로/대상/목표}}` + +- 파일들을 목표에 복사하고 그룹 소유권 설정: + +`install --group {{사용자}} {{경로/대상/원본_파일1 경로/대상/원본_파일2 ...}} {{경로/대상/목표}}` + +- `mode`를 설정하고 파일들을 목표에 복사: + +`install --mode {{+x}} {{경로/대상/원본_파일1 경로/대상/원본_파일2 ...}} {{경로/대상/목표}}` + +- 파일들을 목표에 복사하고 원본의 접근/수정 시간 적용: + +`install --preserve-timestamps {{경로/대상/원본_파일1 경로/대상/원본_파일2 ...}} {{경로/대상/목표}}` + +- 파일들을 목표에 복사하고 목표 디렉토리가 없으면 생성: + +`install -D {{경로/대상/원본_파일1 경로/대상/원본_파일2 ...}} {{경로/대상/목표}}` diff --git a/pages.ko/common/ipcalc.md b/pages.ko/common/ipcalc.md new file mode 100644 index 00000000000000..df6967f5997947 --- /dev/null +++ b/pages.ko/common/ipcalc.md @@ -0,0 +1,24 @@ +# ipcalc + +> IP 주소 및 네트워크에 대한 간단한 연산 및 계산 수행. +> 더 많은 정보: . + +- 주어진 서브넷 마스크로 주소 또는 네트워크에 대한 정보 표시: + +`ipcalc {{1.2.3.4}} {{255.255.255.0}}` + +- CIDR 표기법으로 주소 또는 네트워크에 대한 정보 표시: + +`ipcalc {{1.2.3.4}}/{{24}}` + +- 주소 또는 네트워크의 브로드캐스트 주소 표시: + +`ipcalc -b {{1.2.3.4}}/{{30}}` + +- 제공된 IP 주소와 넷마스크의 네트워크 주소 표시: + +`ipcalc -n {{1.2.3.4}}/{{24}}` + +- 주어진 IP 주소의 지리적 정보 표시: + +`ipcalc -g {{1.2.3.4}}` diff --git a/pages.ko/common/iperf3.md b/pages.ko/common/iperf3.md new file mode 100644 index 00000000000000..db5fb7b9a48407 --- /dev/null +++ b/pages.ko/common/iperf3.md @@ -0,0 +1,24 @@ +# iperf3 + +> 네트워크 대역폭 테스트를 위한 트래픽 생성기입니다. +> 더 많은 정보: . + +- iperf3를 서버로 실행: + +`iperf3 -s` + +- 특정 포트에서 iperf3 서버 실행: + +`iperf3 -s -p {{포트}}` + +- 대역폭 테스트 시작: + +`iperf3 -c {{서버}}` + +- 여러 병렬 스트림에서 iperf3 실행: + +`iperf3 -c {{서버}} -P {{스트림}}` + +- 테스트를 역방향으로 진행합니다. 서버가 클라이언트에 데이터를 전송: + +`iperf3 -c {{서버}} -R` diff --git a/pages.ko/common/jadx.md b/pages.ko/common/jadx.md new file mode 100644 index 00000000000000..5f59a138684dec --- /dev/null +++ b/pages.ko/common/jadx.md @@ -0,0 +1,13 @@ +# jadx + +> Dex를 Java로 디컴파일하는 도구. +> Android Dex 및 APK 파일에서 Java 소스 코드를 생성합니다. +> 더 많은 정보: . + +- Dex 파일을 디렉터리로 디컴파일: + +`jadx {{경로/대상/파일}}` + +- Dex 파일을 특정 디렉터리로 디컴파일: + +`jadx --output-dir {{경로/대상/폴더}} {{경로/대상/파일}}` diff --git a/pages.ko/common/jar.md b/pages.ko/common/jar.md new file mode 100644 index 00000000000000..5ea7e9dcad87ee --- /dev/null +++ b/pages.ko/common/jar.md @@ -0,0 +1,20 @@ +# jar + +> Java 애플리케이션/라이브러리 패키지 도구. +> 더 많은 정보: . + +- 현재 디렉터리의 모든 파일을 .jar 파일로 반복적으로 아카이브: + +`jar cf {{파일.jar}} *` + +- .jar/.war 파일을 현재 디렉터리에 압축 해제: + +`jar -xvf {{파일.jar}}` + +- .jar/.war 파일 콘텐츠 나열: + +`jar tf {{경로/대상/파일.jar}}` + +- 자세한 출력이 포함된 .jar/.war 파일 콘텐츠 나열: + +`jar tvf {{경로/대상/파일.jar}}` diff --git a/pages.ko/common/jarsigner.md b/pages.ko/common/jarsigner.md new file mode 100644 index 00000000000000..9833c46c92c4dd --- /dev/null +++ b/pages.ko/common/jarsigner.md @@ -0,0 +1,16 @@ +# jarsigner + +> Java 아카이브(JAR) 파일 서명 및 검증 도구. +> 더 많은 정보: . + +- JAR 파일 서명: + +`jarsigner {{경로/대상/파일.jar}} {{키스토어_별칭}}` + +- 특정 알고리즘으로 JAR 파일 서명: + +`jarsigner -sigalg {{알고리즘}} {{경로/대상/파일.jar}} {{키스토어_별칭}}` + +- JAR 파일의 서명 검증: + +`jarsigner -verify {{경로/대상/파일.jar}}` diff --git a/pages.ko/common/java.md b/pages.ko/common/java.md new file mode 100644 index 00000000000000..0873d1dd717db5 --- /dev/null +++ b/pages.ko/common/java.md @@ -0,0 +1,28 @@ +# java + +> Java 애플리케이션 실행기. +> 더 많은 정보: . + +- 메인 메서드를 포함한 Java `.class` 파일을 클래스 이름만 사용하여 실행: + +`java {{클래스명}}` + +- 추가 서드파티 또는 사용자 정의 클래스를 사용하여 Java 프로그램 실행: + +`java -classpath {{경로/대상/클래스1}}:{{경로/대상/클래스2}}:. {{클래스명}}` + +- `.jar` 프로그램 실행: + +`java -jar {{파일명.jar}}` + +- 포트 5005에서 연결 대기 상태로 디버그 모드에서 `.jar` 프로그램 실행: + +`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{파일명.jar}}` + +- JDK, JRE 및 HotSpot 버전 표시: + +`java -version` + +- 도움말 표시: + +`java -help` diff --git a/pages.ko/common/javac.md b/pages.ko/common/javac.md new file mode 100644 index 00000000000000..bebab4726e9752 --- /dev/null +++ b/pages.ko/common/javac.md @@ -0,0 +1,20 @@ +# javac + +> 자바 애플리케이션 컴파일러. +> 더 많은 정보: . + +- `.java` 파일을 컴파일: + +`javac {{파일.java}}` + +- 여러 개의 `.java` 파일들을 컴파일: + +`javac {{파일1.java 파일2.java ...}}` + +- 현재 디렉토리 내의 모든 `.java` 파일들을 컴파일: + +`javac {{*.java}}` + +- `.java` 파일을 컴파일한 후, 결과 `.class` 파일을 특정 디렉토리에 위치시키기: + +`javac -d {{경로/대상/폴더}} {{파일.java}}` diff --git a/pages.ko/common/javadoc.md b/pages.ko/common/javadoc.md new file mode 100644 index 00000000000000..78658052824ac7 --- /dev/null +++ b/pages.ko/common/javadoc.md @@ -0,0 +1,16 @@ +# javadoc + +> 소스 코드에서 HTML 형식으로 Java API 문서 생성. +> 더 많은 정보: . + +- Java 소스 코드에 대한 문서를 생성하고 결과를 폴더에 저장: + +`javadoc -d {{경로/대상/폴더/}} {{경로/대상/자바_소스코드}}` + +- 특정 인코딩으로 문서 생성: + +`javadoc -docencoding {{UTF-8}} {{경로/대상/자바_소스코드}}` + +- 일부 패키지를 제외한 문서 생성: + +`javadoc -exclude {{패키지_목록}} {{경로/대상/자바_소스코드}}` diff --git a/pages.ko/common/javap.md b/pages.ko/common/javap.md new file mode 100644 index 00000000000000..57117ad48f7b3d --- /dev/null +++ b/pages.ko/common/javap.md @@ -0,0 +1,20 @@ +# javap + +> 클래스 파일을 디스어셈블하고 나열. +> 더 많은 정보: . + +- 하나 이상의 `.class` 파일을 디스어셈블하고 나열: + +`javap {{경로/대상/파일1.class 경로/대상/파일2.class ...}}` + +- 내장된 클래스 파일을 디스어셈블하고 나열: + +`javap java.{{패키지}}.{{클래스}}` + +- 도움말 표시: + +`javap -help` + +- 버전 표시: + +`javap -version` diff --git a/pages.ko/common/jbang.md b/pages.ko/common/jbang.md new file mode 100644 index 00000000000000..0ed3665b20ae54 --- /dev/null +++ b/pages.ko/common/jbang.md @@ -0,0 +1,37 @@ +# jbang + +> 독립 실행형 소스 전용 Java 프로그램을 쉽게 생성, 편집 및 실행. +> 같이 보기: `java`. +> 더 많은 정보: . + +- 간단한 Java 클래스 초기화: + +`jbang init {{경로/대상/파일.java}}` + +- Java 클래스 초기화 (스크립팅에 유용): + +`jbang init --template={{cli}} {{경로/대상/파일.java}}` + +- `jshell`을 사용하여 REPL 편집기에서 스크립트 및 의존성을 탐색하고 사용: + +`jbang run --interactive` + +- IDE에서 스크립트를 편집할 수 있도록 임시 프로젝트 설정: + +`jbang edit --open={{codium|code|eclipse|idea|netbeans|gitpod}} {{경로/대상/스크립트.java}}` + +- Java 코드 스니펫 실행 (Java 9 이상): + +`{{echo 'Files.list(Paths.get("/etc")).forEach(System.out::println);'}} | jbang -` + +- 명령줄 애플리케이션 실행: + +`jbang {{경로/대상/파일.java}} {{명령}} {{인수1 인수2 ...}}` + +- 사용자의 `$PATH`에 스크립트 설치: + +`jbang app install --name {{명령_이름}} {{경로/대상/스크립트.java}}` + +- `jbang`과 함께 사용할 특정 버전의 JDK 설치: + +`jbang jdk install {{버전}}` diff --git a/pages.ko/common/jc.md b/pages.ko/common/jc.md new file mode 100644 index 00000000000000..33b3db95eb6b79 --- /dev/null +++ b/pages.ko/common/jc.md @@ -0,0 +1,20 @@ +# jc + +> 여러 명령어의 출력을 JSON으로 변환. +> 더 많은 정보: . + +- 파이프를 통해 명령어 출력을 JSON으로 변환: + +`{{ifconfig}} | jc {{--ifconfig}}` + +- 매직 구문을 통해 명령어 출력을 JSON으로 변환: + +`jc {{ifconfig}}` + +- 파이프를 통해 예쁘게 출력된 JSON 출력: + +`{{ifconfig}} | jc {{--ifconfig}} -p` + +- 매직 구문을 통해 예쁘게 출력된 JSON 출력: + +`jc -p {{ifconfig}}` diff --git a/pages.ko/common/jcal.md b/pages.ko/common/jcal.md new file mode 100644 index 00000000000000..f2ba5ff8faed2d --- /dev/null +++ b/pages.ko/common/jcal.md @@ -0,0 +1,20 @@ +# jcal + +> Jalali 형식으로 달력을 표시하며, 현재 날짜를 강조 표시. +> 더 많은 정보: . + +- 현재 월의 달력 표시: + +`jcal` + +- 이전, 현재 및 다음 달의 달력 표시: + +`jcal -3` + +- 특정 연도의 달력 표시 (4자리): + +`jcal {{연도}}` + +- 특정 월과 연도의 달력 표시: + +`jcal {{연도}} {{월}}` diff --git a/pages.ko/common/jdeps.md b/pages.ko/common/jdeps.md new file mode 100644 index 00000000000000..dd2c26bc6aed3b --- /dev/null +++ b/pages.ko/common/jdeps.md @@ -0,0 +1,24 @@ +# jdeps + +> Java 클래스 의존성 분석기. +> 더 많은 정보: . + +- `.jar` 또는 `.class` 파일의 의존성을 분석: + +`jdeps {{경로/대상/파일이름.class}}` + +- 특정 `.jar` 파일의 모든 의존성 요약 표시: + +`jdeps {{경로/대상/파일이름.jar}} -summary` + +- `.jar` 파일의 모든 클래스 레벨 의존성 표시: + +`jdeps {{경로/대상/파일이름.jar}} -verbose` + +- 분석 결과를 특정 디렉토리에 DOT 파일로 출력: + +`jdeps {{경로/대상/파일이름.jar}} -dotoutput {{경로/대상/폴더}}` + +- 도움말 표시: + +`jdeps --help` diff --git a/pages.ko/common/jdupes.md b/pages.ko/common/jdupes.md new file mode 100644 index 00000000000000..70995dcc554024 --- /dev/null +++ b/pages.ko/common/jdupes.md @@ -0,0 +1,28 @@ +# jdupes + +> 강력한 중복 파일 찾기 도구이며, fdupes의 개선된 포크입니다. +> 더 많은 정보: . + +- 단일 디렉터리 검색: + +`jdupes {{경로/대상/폴더}}` + +- 여러 디렉터리 검색: + +`jdupes {{디렉터리1}} {{디렉터리2}}` + +- 모든 디렉터리를 재귀적으로 검색: + +`jdupes --recurse {{경로/대상/폴더}}` + +- 디렉터리를 재귀적으로 검색하고 사용자가 보관할 파일을 선택하도록 허용: + +`jdupes --delete --recurse {{경로/대상/폴더}}` + +- 여러 디렉터리를 검색하고 디렉터리1이 아닌 디렉터리2의 하위 디렉터리를 따라가며 검색: + +`jdupes {{디렉터리1}} --recurse: {{디렉터리2}}` + +- 여러 디렉터리를 검색하고 결과에서 디렉터리 순서를 유지: + +`jdupes -O {{디렉터리1}} {{디렉터리2}} {{디렉터리3}}` diff --git a/pages.ko/common/jekyll.md b/pages.ko/common/jekyll.md new file mode 100644 index 00000000000000..9cc32810c253f7 --- /dev/null +++ b/pages.ko/common/jekyll.md @@ -0,0 +1,24 @@ +# jekyll + +> 간단하고 블로그 친화적인 정적 사이트 생성기. +> 더 많은 정보: . + +- http://localhost:4000/ 에서 실행되는 개발 서버 생성: + +`jekyll serve` + +- 증분 재생성 활성화: + +`jekyll serve --incremental` + +- 자세한 출력 활성화: + +`jekyll serve --verbose` + +- 현재 디렉토리를 `./_site`로 생성: + +`jekyll build` + +- 사이트 정리 (사이트 출력 및 `cache` 디렉토리를 제거) 빌드 없이: + +`jekyll clean` diff --git a/pages.ko/common/jello.md b/pages.ko/common/jello.md new file mode 100644 index 00000000000000..3f41a492a7c230 --- /dev/null +++ b/pages.ko/common/jello.md @@ -0,0 +1,32 @@ +# jello + +> Python 구문을 사용하는 명령줄 JSON 처리기. +> 더 많은 정보: . + +- `stdin`에서 `stdout`으로 JSON 또는 JSON-Lines 데이터를 보기 좋게 출력: + +`cat {{파일.json}} | jello` + +- `stdin`에서 `stdout`으로 JSON 또는 JSON Lines 데이터의 스키마 출력 (grep에 유용): + +`cat {{파일.json}} | jello -s` + +- `stdin`에서 `stdout`으로 JSON 또는 JSON-Lines 데이터의 배열의 모든 요소 (또는 객체의 모든 값) 출력: + +`cat {{파일.json}} | jello -l` + +- `stdin`에서 `stdout`으로 JSON 또는 JSON-Lines 데이터의 첫 번째 요소 출력: + +`cat {{파일.json}} | jello _[0]` + +- `stdin`에서 `stdout`으로 JSON 또는 JSON-Lines 데이터의 각 요소에서 주어진 키의 값 출력: + +`cat {{파일.json}} | jello '[i.{{키_이름}} for i in _]'` + +- (입력 JSON에 `key_name1` 및 `key_name2` 키가 있다고 가정할 때) 여러 키의 값을 새 JSON 객체로 출력: + +`cat {{파일.json}} | jello '{"{{키1}}": _.{{key_name1}}, "{{key_name}}": _.{{key_name2}}}'` + +- 문자열로 주어진 키의 값 출력 (JSON 출력 비활성화): + +`cat {{파일.json}} | jello -r '"{{문자열}}: " + _.{{키_이름}}'` diff --git a/pages.ko/common/jenv.md b/pages.ko/common/jenv.md new file mode 100644 index 00000000000000..af0071e73ce864 --- /dev/null +++ b/pages.ko/common/jenv.md @@ -0,0 +1,28 @@ +# jenv + +> "JAVA_HOME" 환경 변수를 관리. +> 더 많은 정보: . + +- Java 버전을 jEnv에 추가: + +`jenv add {{경로/대상/jdk_home}}` + +- 사용 중인 현재 JDK 버전 표시: + +`jenv version` + +- 관리 중인 모든 JDK 표시: + +`jenv versions` + +- 전역 JDK 버전 설정: + +`jenv global {{java_버전}}` + +- 현재 셸 세션에 대한 JDK 버전 설정: + +`jenv shell {{java_버전}}` + +- jEnv 플러그인 활성화: + +`jenv enable-plugin {{플러그인_이름}}` diff --git a/pages.ko/common/jest.md b/pages.ko/common/jest.md new file mode 100644 index 00000000000000..ca1391d8a095b7 --- /dev/null +++ b/pages.ko/common/jest.md @@ -0,0 +1,36 @@ +# jest + +> 제로 구성 JavaScript 테스트 플랫폼. +> 더 많은 정보: . + +- 사용 가능한 모든 테스트 실행: + +`jest` + +- 지정된 파일의 테스트 스위트 실행: + +`jest {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 현재 디렉토리 및 하위 디렉토리 내에서 경로가 주어진 정규 표현식과 일치하는 파일의 테스트 스위트 실행: + +`jest {{정규_표현식1}} {{정규_표현식2}}` + +- 이름이 주어진 정규 표현식과 일치하는 테스트 실행: + +`jest --testNamePattern {{정규_표현식}}` + +- 특정 소스 파일과 관련된 테스트 스위트 실행: + +`jest --findRelatedTests {{경로/대상/소스_파일.js}}` + +- 커밋되지 않은 모든 파일과 관련된 테스트 스위트 실행: + +`jest --onlyChanged` + +- 파일 변경을 감시하고 관련 테스트를 자동으로 다시 실행: + +`jest --watch` + +- 도움말 표시: + +`jest --help` diff --git a/pages.ko/common/jetifier.md b/pages.ko/common/jetifier.md new file mode 100644 index 00000000000000..cfbaf44d5bf649 --- /dev/null +++ b/pages.ko/common/jetifier.md @@ -0,0 +1,12 @@ +# jetifier + +> Jetifier AndroidX 전환 도구로, npm 포맷의 react-native 호환 스타일을 제공합니다. +> 더 많은 정보: . + +- 프로젝트 종속성을 AndroidX 포맷으로 마이그레이션: + +`jetifier` + +- 프로젝트 종속성을 AndroidX 포맷에서 되돌리기: + +`jetifier reverse` diff --git a/pages.ko/common/jf.md b/pages.ko/common/jf.md new file mode 100644 index 00000000000000..e27f1b9fb9c423 --- /dev/null +++ b/pages.ko/common/jf.md @@ -0,0 +1,16 @@ +# jf + +> Artifactory, Xray, Distribution, Pipelines, Mission Control과 같은 JFrog 제품과 상호작용. +> 더 많은 정보: . + +- 새 구성 추가: + +`jf config add` + +- 현재 구성 표시: + +`jf config show` + +- 지정된 저장소 및 디렉토리 내에서 아티팩트 검색: + +`jf rt search --recursive {{저장소_이름}}/{{경로}}/` diff --git a/pages.ko/common/jfrog.md b/pages.ko/common/jfrog.md new file mode 100644 index 00000000000000..c450ef56fdf054 --- /dev/null +++ b/pages.ko/common/jfrog.md @@ -0,0 +1,7 @@ +# jfrog + +> 이 명령은 `jf`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr jf` diff --git a/pages.ko/common/jhat.md b/pages.ko/common/jhat.md new file mode 100644 index 00000000000000..ce9aa0142beddc --- /dev/null +++ b/pages.ko/common/jhat.md @@ -0,0 +1,16 @@ +# jhat + +> Java 힙 분석 도구. +> 더 많은 정보: . + +- 힙 덤프(`jmap`에서 생성)를 분석하고, HTTP를 통해 포트 7000에서 보기: + +`jhat {{덤프_파일.bin}}` + +- 힙 덤프를 분석하고, HTTP 서버의 대체 포트를 지정: + +`jhat -p {{포트}} {{덤프_파일.bin}}` + +- 최대 8GB RAM을 사용하여 덤프를 분석 (`jhat` 사용 권장 2-4배 덤프 크기): + +`jhat -J-mx8G {{덤프_파일.bin}}` diff --git a/pages.ko/common/jhipster.md b/pages.ko/common/jhipster.md new file mode 100644 index 00000000000000..4faaa566fc18b7 --- /dev/null +++ b/pages.ko/common/jhipster.md @@ -0,0 +1,36 @@ +# jhipster + +> 모놀리식 또는 마이크로서비스 아키텍처를 사용하는 웹 애플리케이션 생성기. +> 더 많은 정보: . + +- 간단한 풀스택 프로젝트 생성 (모놀리식 또는 마이크로서비스): + +`jhipster` + +- 간단한 프론트엔드 프로젝트 생성: + +`jhipster --skip-server` + +- 간단한 백엔드 프로젝트 생성: + +`jhipster --skip-client` + +- 프로젝트에 최신 JHipster 업데이트 적용: + +`jhipster upgrade` + +- 생성된 프로젝트에 새로운 엔티티 추가: + +`jhipster entity {{엔티티_이름}}` + +- JDL 파일을 가져와 애플리케이션 구성 (참고: ): + +`jhipster import-jdl {{첫번째_파일.jh 두번째_파일.jh ... n번째_파일.jh}}` + +- 애플리케이션을 위한 CI/CD 파이프라인 생성: + +`jhipster ci-cd` + +- 애플리케이션을 위한 Kubernetes 구성 생성: + +`jhipster kubernetes` diff --git a/pages.ko/common/jhsdb.md b/pages.ko/common/jhsdb.md new file mode 100644 index 00000000000000..5852d664e46084 --- /dev/null +++ b/pages.ko/common/jhsdb.md @@ -0,0 +1,20 @@ +# jhsdb + +> Java 프로세스에 연결하거나 충돌한 Java 가상 머신의 코어 덤프를 분석하기 위해 사후 디버거를 실행. +> 더 많은 정보: . + +- Java 프로세스의 스택 및 잠금 정보 출력: + +`jhsdb jstack --pid {{pid}}` + +- 코어 덤프를 인터랙티브 디버그 모드에서 열기: + +`jhsdb clhsdb --core {{경로/대상/core_dump}} --exe {{경로/대상/jdk/bin/java}}` + +- 원격 디버그 서버 시작: + +`jhsdb debugd --pid {{pid}} --serverid {{선택적_고유_ID}}` + +- 프로세스에 인터랙티브 디버그 모드로 연결: + +`jhsdb clhsdb --pid {{pid}}` diff --git a/pages.ko/common/jigsaw.md b/pages.ko/common/jigsaw.md new file mode 100644 index 00000000000000..3196828c240e50 --- /dev/null +++ b/pages.ko/common/jigsaw.md @@ -0,0 +1,28 @@ +# jigsaw + +> PHP용 Laravel 기반 정적 사이트 빌더. +> 더 많은 정보: . + +- 프로젝트 초기화: + +`jigsaw init` + +- 스타터 템플릿을 사용하여 프로젝트 초기화: + +`jigsaw init {{템플릿_이름}}` + +- 개발을 위한 사이트 빌드: + +`jigsaw build` + +- "build_local" 디렉토리에서 사이트 미리보기: + +`jigsaw serve` + +- 프로덕션을 위한 사이트 빌드: + +`jigsaw build production` + +- "build_production" 디렉토리에서 사이트 미리보기: + +`jigsaw serve {{build_production}}` diff --git a/pages.ko/common/jmap.md b/pages.ko/common/jmap.md new file mode 100644 index 00000000000000..e649f54c86f8eb --- /dev/null +++ b/pages.ko/common/jmap.md @@ -0,0 +1,24 @@ +# jmap + +> Java 메모리 맵 도구. +> 더 많은 정보: . + +- Java 프로세스에 대한 공유 객체 매핑 출력 (pmap과 유사한 출력): + +`jmap {{java_pid}}` + +- 힙 요약 정보 출력: + +`jmap -heap {{파일명.jar}} {{java_pid}}` + +- 타입별 힙 사용량 히스토그램 출력: + +`jmap -histo {{java_pid}}` + +- 힙의 내용을 바이너리 파일로 덤프하여 jhat로 분석: + +`jmap -dump:format=b,file={{경로/대상/파일}} {{java_pid}}` + +- 힙의 활성 객체를 바이너리 파일로 덤프하여 jhat로 분석: + +`jmap -dump:live,format=b,file={{경로/대상/파일}} {{java_pid}}` diff --git a/pages.ko/common/jmeter.md b/pages.ko/common/jmeter.md new file mode 100644 index 00000000000000..15b195523e624c --- /dev/null +++ b/pages.ko/common/jmeter.md @@ -0,0 +1,20 @@ +# jmeter + +> 기능적 동작의 부하 테스트 및 성능 측정을 위해 설계된 오픈 소스 Java 애플리케이션. +> 더 많은 정보: . + +- GUI 없이 특정 테스트 플랜 실행: + +`jmeter --nongui --testfile {{경로/대상/파일.jmx}}` + +- 특정 로그 파일을 사용하여 GUI 없이 테스트 플랜 실행: + +`jmeter --nogui --testfile {{경로/대상/파일.jmx}} --logfile {{경로/대상/로그파일.jtl}}` + +- 특정 프록시를 사용하여 GUI 없이 테스트 플랜 실행: + +`jmeter --nongui --testfile {{경로/대상/파일.jmx}} --proxyHost {{127.0.0.1}} --proxyPort {{8888}}` + +- 특정 JMeter 속성을 사용하여 GUI 없이 테스트 플랜 실행: + +`jmeter --jmeterproperty {{키}}='{{값}}' --nongui --testfile {{경로/대상/파일.jmx}}` diff --git a/pages.ko/common/jmtpfs.md b/pages.ko/common/jmtpfs.md new file mode 100644 index 00000000000000..eb5835a7901f82 --- /dev/null +++ b/pages.ko/common/jmtpfs.md @@ -0,0 +1,24 @@ +# jmtpfs + +> MTP 장치에 액세스하기 위한 FUSE 기반 파일 시스템. +> 더 많은 정보: . + +- MTP 장치를 디렉토리에 마운트: + +`jmtpfs {{경로/대상/폴더}}` + +- 마운트 옵션 설정: + +`jmtpfs -o {{allow_other,auto_unmount}} {{경로/대상/폴더}}` + +- 사용 가능한 MTP 장치 나열: + +`jmtpfs --listDevices` + +- 여러 장치가 있는 경우 특정 장치 마운트: + +`jmtpfs -device={{버스_ID}},{{장치_ID}} {{경로/대상/폴더}}` + +- MTP 장치 마운트 해제: + +`fusermount -u {{경로/대상/폴더}}` diff --git a/pages.ko/common/jobs.md b/pages.ko/common/jobs.md new file mode 100644 index 00000000000000..34e34d525b91e8 --- /dev/null +++ b/pages.ko/common/jobs.md @@ -0,0 +1,20 @@ +# jobs + +> 현재 세션의 작업 상태 표시. +> 더 많은 정보: . + +- 모든 작업의 상태 표시: + +`jobs` + +- 특정 작업의 상태 표시: + +`jobs %{{작업_ID}}` + +- 모든 작업의 상태 및 프로세스 ID 표시: + +`jobs -l` + +- 모든 작업의 프로세스 ID 표시: + +`jobs -p` diff --git a/pages.ko/common/joe.md b/pages.ko/common/joe.md new file mode 100644 index 00000000000000..9d69e861f976ae --- /dev/null +++ b/pages.ko/common/joe.md @@ -0,0 +1,20 @@ +# joe + +> Joe의 자체 텍스트 편집기. +> 더 많은 정보: . + +- JOE에서 새 파일 열기: + +`joe` + +- 특정 파일 열기: + +`joe {{경로/대상/파일}}` + +- 특정 파일을 열고 지정된 줄에 커서 위치시키기: + +`joe +{{줄}} {{경로/대상/파일}}` + +- 특정 파일을 읽기 전용 모드로 열기: + +`joe -rdonly {{경로/대상/파일}}` diff --git a/pages.ko/common/john.md b/pages.ko/common/john.md new file mode 100644 index 00000000000000..c376ef4dc6c807 --- /dev/null +++ b/pages.ko/common/john.md @@ -0,0 +1,36 @@ +# john + +> 비밀번호 크래커. +> 더 많은 정보: . + +- 비밀번호 해시 크래킹: + +`john {{경로/대상/해시들.txt}}` + +- 크래킹된 비밀번호 표시: + +`john --show {{경로/대상/해시들.txt}}` + +- 여러 파일에서 사용자 식별자로 크래킹된 비밀번호 표시: + +`john --show --users={{사용자_ID들}} {{경로/대상/해시들1.txt 경로/대상/해시들2.txt ...}}` + +- 사용자 정의 워드리스트를 사용하여 비밀번호 해시 크래킹: + +`john --wordlist={{경로/대상/워드리스트.txt}} {{경로/대상/해시들.txt}}` + +- 사용 가능한 해시 형식 나열: + +`john --list=formats` + +- 특정 해시 형식을 사용하여 비밀번호 해시 크래킹: + +`john --format={{md5crypt}} {{경로/대상/해시들.txt}}` + +- 단어 변형 규칙을 활성화하여 비밀번호 해시 크래킹: + +`john --rules {{경로/대상/해시들.txt}}` + +- 중단된 크래킹 세션을 상태 파일에서 복구, 예: `mycrack.rec`: + +`john --restore={{경로/대상/mycrack.rec}}` diff --git a/pages.ko/common/join.md b/pages.ko/common/join.md new file mode 100644 index 00000000000000..eb7efe91d3a340 --- /dev/null +++ b/pages.ko/common/join.md @@ -0,0 +1,24 @@ +# join + +> 두 정렬된 파일의 공통 필드를 기준으로 줄을 결합. +> 더 많은 정보: . + +- 기본 필드(첫 번째 필드)를 기준으로 두 파일 결합: + +`join {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 쉼표(공백 대신)를 필드 구분자로 사용하여 두 파일 결합: + +`join -t {{','}} {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 파일1의 필드3과 파일2의 필드1을 기준으로 결합: + +`join -1 {{3}} -2 {{1}} {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 파일1에서 결합할 수 없는 각 줄에 대해 줄 생성: + +`join -a {{1}} {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- `stdin`에서 파일 결합: + +`cat {{경로/대상/파일1}} | join - {{경로/대상/파일2}}` diff --git a/pages.ko/common/josm.md b/pages.ko/common/josm.md new file mode 100644 index 00000000000000..fdbbbf47576588 --- /dev/null +++ b/pages.ko/common/josm.md @@ -0,0 +1,32 @@ +# josm + +> Java 8+용 확장 가능한 OpenStreetMap 편집기. +> 더 많은 정보: . + +- JOSM 시작: + +`josm` + +- JOSM을 최대화 모드로 시작: + +`josm --maximize` + +- JOSM을 특정 언어로 시작: + +`josm --language {{de}}` + +- JOSM을 시작하고 모든 환경설정을 기본값으로 재설정: + +`josm --reset-preferences` + +- JOSM을 시작하고 특정 경계 상자를 다운로드: + +`josm --download {{minlat,minlon,maxlat,maxlon}}` + +- JOSM을 시작하고 특정 경계 상자를 원시 GPS로 다운로드: + +`josm --downloadgps {{minlat,minlon,maxlat,maxlon}}` + +- 플러그인 없이 JOSM 시작: + +`josm --skip-plugins` diff --git a/pages.ko/common/jp2a.md b/pages.ko/common/jp2a.md new file mode 100644 index 00000000000000..b723e8b2a7f9f5 --- /dev/null +++ b/pages.ko/common/jp2a.md @@ -0,0 +1,28 @@ +# jp2a + +> JPEG 이미지를 ASCII로 변환. +> 더 많은 정보: . + +- 파일에서 JPEG 이미지를 읽어 ASCII로 출력: + +`jp2a {{경로/대상/이미지.jpeg}}` + +- URL에서 JPEG 이미지를 읽어 ASCII로 출력: + +`jp2a {{www.example.com/image.jpeg}}` + +- ASCII 출력을 색상화: + +`jp2a --colors {{경로/대상/이미지.jpeg}}` + +- ASCII 출력에 사용할 문자 지정: + +`jp2a --chars='{{..-ooxx@@}}' {{경로/대상/이미지.jpeg}}` + +- ASCII 출력을 파일에 작성: + +`jp2a --output={{경로/대상/출력_파일.txt}} {{경로/대상/이미지.jpeg}}` + +- 웹 브라우저에서 볼 수 있도록 HTML 파일 형식으로 ASCII 출력 작성: + +`jp2a --html --output={{경로/대상/출력_파일.html}} {{경로/대상/이미지.jpeg}}` diff --git a/pages.ko/common/jpegoptim.md b/pages.ko/common/jpegoptim.md new file mode 100644 index 00000000000000..ee4ff9c127d4f7 --- /dev/null +++ b/pages.ko/common/jpegoptim.md @@ -0,0 +1,20 @@ +# jpegoptim + +> JPEG 이미지 최적화 도구. +> 더 많은 정보: . + +- 모든 관련 데이터를 유지하며 JPEG 이미지 집합 최적화: + +`jpegoptim {{이미지1.jpeg}} {{이미지2.jpeg}} {{이미지N.jpeg}}` + +- 모든 비필수 데이터를 제거하며 JPEG 이미지 최적화: + +`jpegoptim --strip-all {{이미지1.jpeg}} {{이미지2.jpeg}} {{이미지N.jpeg}}` + +- 출력 이미지를 프로그레시브 형식으로 강제 변환: + +`jpegoptim --all-progressive {{이미지1.jpeg}} {{이미지2.jpeg}} {{이미지N.jpeg}}` + +- 출력 이미지의 최대 파일 크기를 고정: + +`jpegoptim --size={{250k}} {{이미지1.jpeg}} {{이미지2.jpeg}} {{이미지N.jpeg}}` diff --git a/pages.ko/common/jpegtopnm.md b/pages.ko/common/jpegtopnm.md new file mode 100644 index 00000000000000..5033ea0da24fe4 --- /dev/null +++ b/pages.ko/common/jpegtopnm.md @@ -0,0 +1,12 @@ +# jpegtopnm + +> JPEG/JFIF 파일을 PPM 또는 PGM 형식으로 변환. +> 더 많은 정보: . + +- JPEG/JFIF 이미지를 PPM 또는 PGM 이미지로 변환: + +`jpegtopnm {{경로/대상/파일.jpg}} > {{경로/대상/파일.pnm}}` + +- 버전 표시: + +`jpegtopnm -version` diff --git a/pages.ko/common/jps.md b/pages.ko/common/jps.md new file mode 100644 index 00000000000000..522ae75eb0f0cf --- /dev/null +++ b/pages.ko/common/jps.md @@ -0,0 +1,24 @@ +# jps + +> 현재 사용자의 JVM 프로세스 상태를 표시. +> 더 많은 정보: . + +- 모든 JVM 프로세스 나열: + +`jps` + +- PID만 표시하여 모든 JVM 프로세스 나열: + +`jps -q` + +- 프로세스에 전달된 인수 표시: + +`jps -m` + +- 모든 프로세스의 전체 패키지 이름 표시: + +`jps -l` + +- JVM에 전달된 인수 표시: + +`jps -v` diff --git a/pages.ko/common/jq.md b/pages.ko/common/jq.md new file mode 100644 index 00000000000000..707824dd6cb17f --- /dev/null +++ b/pages.ko/common/jq.md @@ -0,0 +1,36 @@ +# jq + +> 도메인 특화 언어(DSL)를 사용하는 JSON 처리기. +> 더 많은 정보: . + +- 특정 표현식을 실행하여 JSON을 색상 및 포맷된 출력으로 표시: + +`{{cat 경로/대상/파일.json}} | jq '.'` + +- `jq` 바이너리를 사용하여 특정 표현식을 실행하고 JSON을 색상 및 포맷된 출력으로 표시: + +`jq '.' {{/경로/대상/파일.json}}` + +- 특정 스크립트를 실행: + +`{{cat 경로/대상/파일.json}} | jq --from-file {{경로/대상/스크립트.jq}}` + +- 특정 인수 전달: + +`{{cat 경로/대상/파일.json}} | jq {{--arg "name1" "value1" --arg "name2" "value2" ...}} '{{. + $ARGS.named}}'` + +- 특정 키 출력: + +`{{cat 경로/대상/파일.json}} | jq '{{.key1, .key2, ...}}'` + +- 특정 배열 항목 출력: + +`{{cat 경로/대상/파일.json}} | jq '{{.[index1], .[index2], ...}}'` + +- 모든 배열/객체 값 출력: + +`{{cat 경로/대상/파일.json}} | jq '.[]'` + +- 특정 키 추가/제거: + +`{{cat 경로/대상/파일.json}} | jq '. {{+|-}} {{{"key1": "value1", "key2": "value2", ...}}}'` diff --git a/pages.ko/common/jrnl.md b/pages.ko/common/jrnl.md new file mode 100644 index 00000000000000..11b0ce5502ed8a --- /dev/null +++ b/pages.ko/common/jrnl.md @@ -0,0 +1,24 @@ +# jrnl + +> 간단한 커맨드라인 저널 애플리케이션. +> 더 많은 정보: . + +- 편집기를 사용하여 새 항목 삽입: + +`jrnl` + +- 빠르게 새 항목 삽입: + +`jrnl {{오늘 오전 3시}}: {{제목}}. {{내용}}` + +- 최근 열 개의 항목 보기: + +`jrnl -n {{10}}` + +- 작년 초부터 올해 3월 초까지 발생한 모든 일 보기: + +`jrnl -from "{{작년}}" -until {{3월}}` + +- "texas" 및 "history" 태그가 있는 모든 항목 편집: + +`jrnl {{@texas}} -and {{@history}} --edit` diff --git a/pages.ko/common/json5.md b/pages.ko/common/json5.md new file mode 100644 index 00000000000000..27822905b9cc70 --- /dev/null +++ b/pages.ko/common/json5.md @@ -0,0 +1,28 @@ +# json5 + +> JSON5 파일을 JSON으로 변환. +> 더 많은 정보: . + +- JSON5 `stdin`을 JSON `stdout`으로 변환: + +`echo {{입력}} | json5` + +- JSON5 파일을 JSON으로 변환하여 `stdout`으로 출력: + +`json5 {{경로/대상/입력_파일.json5}}` + +- JSON5 파일을 지정된 JSON 파일로 변환: + +`json5 {{경로/대상/입력_파일.json5}} --out-file {{경로/대상/출력_파일.json}}` + +- JSON5 파일 유효성 검사: + +`json5 {{경로/대상/입력_파일.json5}} --validate` + +- 들여쓰기할 공백 수를 지정 (또는 "t"로 탭 사용): + +`json5 --space {{들여쓰기_수량}}` + +- 도움말 표시: + +`json5 --help` diff --git a/pages.ko/common/jstack.md b/pages.ko/common/jstack.md new file mode 100644 index 00000000000000..667577b09cefed --- /dev/null +++ b/pages.ko/common/jstack.md @@ -0,0 +1,16 @@ +# jstack + +> Java 스택 추적 도구. +> 더 많은 정보: . + +- Java 프로세스의 모든 스레드에 대한 Java 스택 추적 출력: + +`jstack {{자바_PID}}` + +- Java 프로세스의 모든 스레드에 대한 혼합 모드(Java/C++) 스택 추적 출력: + +`jstack -m {{자바_PID}}` + +- Java 코어 덤프에서 스택 추적 출력: + +`jstack {{/usr/bin/java}} {{파일.core}}` diff --git a/pages.ko/common/jtbl.md b/pages.ko/common/jtbl.md new file mode 100644 index 00000000000000..caf9da4ec8d408 --- /dev/null +++ b/pages.ko/common/jtbl.md @@ -0,0 +1,20 @@ +# jtbl + +> JSON 및 JSON Lines 데이터를 터미널에서 표 형태로 출력하는 유틸리티. +> 더 많은 정보: . + +- JSON 또는 JSON Lines 입력으로부터 표 출력: + +`cat {{파일.json}} | jtbl` + +- 표를 출력하고 열 너비를 지정하여 줄 바꿈 설정: + +`cat {{파일.json}} | jtbl --cols={{너비}}` + +- 표를 출력하고 줄 바꿈 대신 행 잘라내기: + +`cat {{파일.json}} | jtbl -t` + +- 표를 출력하고 행을 줄 바꾸거나 잘라내지 않음: + +`cat {{파일.json}} | jtbl -n` diff --git a/pages.ko/common/julia.md b/pages.ko/common/julia.md new file mode 100644 index 00000000000000..a37f389003f075 --- /dev/null +++ b/pages.ko/common/julia.md @@ -0,0 +1,32 @@ +# julia + +> 기술 컴퓨팅을 위한 고수준, 고성능 동적 프로그래밍 언어. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`julia` + +- Julia 프로그램 실행 후 종료: + +`julia {{프로그램.jl}}` + +- 인자를 받는 Julia 프로그램 실행: + +`julia {{프로그램.jl}} {{인자_목록}}` + +- Julia 코드를 포함한 문자열 평가: + +`julia -e '{{julia_코드}}'` + +- 인자를 전달하며 Julia 코드 문자열 평가: + +`julia -e '{{for x in ARGS; println(x); end}}' {{인자_목록}}` + +- 표현식을 평가하고 결과 출력: + +`julia -E '{{(1 - cos(pi/4))/2}}'` + +- N개의 스레드를 사용하여 멀티스레드 모드로 Julia 시작: + +`julia -t {{N}}` diff --git a/pages.ko/common/jupyter.md b/pages.ko/common/jupyter.md new file mode 100644 index 00000000000000..352f665fa36175 --- /dev/null +++ b/pages.ko/common/jupyter.md @@ -0,0 +1,33 @@ +# jupyter + +> 코드, 시각화 및 노트를 포함한 문서를 생성하고 공유할 수 있는 웹 애플리케이션. +> 주로 데이터 분석, 과학 컴퓨팅 및 머신 러닝에 사용됩니다. +> 더 많은 정보: . + +- 현재 디렉토리에서 Jupyter 노트북 서버 시작: + +`jupyter notebook` + +- 특정 Jupyter 노트북 열기: + +`jupyter notebook {{예제.ipynb}}` + +- 특정 Jupyter 노트북을 다른 형식으로 내보내기: + +`jupyter nbconvert --to {{html|markdown|pdf|script}} {{예제.ipynb}}` + +- 특정 포트에서 서버 시작: + +`jupyter notebook --port {{포트}}` + +- 현재 실행 중인 노트북 서버 나열: + +`jupyter notebook list` + +- 현재 실행 중인 서버 중지: + +`jupyter notebook stop` + +- 설치되어 있다면 현재 디렉토리에서 JupyterLab 시작: + +`jupyter lab` diff --git a/pages.ko/common/jupytext.md b/pages.ko/common/jupytext.md new file mode 100644 index 00000000000000..88099e08a14bf2 --- /dev/null +++ b/pages.ko/common/jupytext.md @@ -0,0 +1,28 @@ +# jupytext + +> Jupyter 노트북을 일반 텍스트 문서로 변환하고, 다시 노트북으로 변환합니다. +> 더 많은 정보: . + +- 노트북을 `.ipynb`/`.py`로 쌍으로 변환: + +`jupytext --set-formats ipynb,py {{노트북.ipynb}}` + +- 노트북을 `.py` 파일로 변환: + +`jupytext --to py {{노트북.ipynb}}` + +- `.py` 파일을 출력 없이 노트북으로 변환: + +`jupytext --to notebook {{노트북.py}}` + +- `.md` 파일을 노트북으로 변환하고 실행: + +`jupytext --to notebook --execute {{노트북.md}}` + +- 노트북의 입력 셀을 업데이트하고 출력 및 메타데이터를 유지: + +`jupytext --update --to notebook {{노트북.py}}` + +- 노트북의 모든 쌍으로 연결된 표현 업데이트: + +`jupytext --sync {{노트북.ipynb}}` diff --git a/pages.ko/common/just.1.md b/pages.ko/common/just.1.md new file mode 100644 index 00000000000000..7afcffa9e08406 --- /dev/null +++ b/pages.ko/common/just.1.md @@ -0,0 +1,24 @@ +# just + +> 프로젝트별 명령을 저장하고 실행. +> 더 많은 정보: . + +- justfile에서 지정된 레시피 실행: + +`just {{레시피}}` + +- 프로젝트 루트에 새 justfile 초기화: + +`just --init` + +- 기본 편집기로 justfile 편집: + +`just -e` + +- justfile에 있는 사용 가능한 레시피 나열: + +`just -l` + +- justfile 출력: + +`just --dump` diff --git a/pages.ko/common/just.md b/pages.ko/common/just.md new file mode 100644 index 00000000000000..cf588107d4216d --- /dev/null +++ b/pages.ko/common/just.md @@ -0,0 +1,11 @@ +# just + +> `just`는 동일한 이름을 가진 여러 명령을 참조할 수 있습니다. + +- 명령 실행기에 대한 문서 보기: + +`tldr just.1` + +- V8 JavaScript 런타임에 대한 문서 보기: + +`tldr just.js` diff --git a/pages.ko/common/jwt.md b/pages.ko/common/jwt.md new file mode 100644 index 00000000000000..b6c1dc11d68f41 --- /dev/null +++ b/pages.ko/common/jwt.md @@ -0,0 +1,21 @@ +# jwt + +> JSON Web Token(JWT) 처리. +> 사용할 수 있는 암호화 알고리즘: HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384. +> 더 많은 정보: . + +- JWT 디코드: + +`jwt decode {{jwt_문자열}}` + +- JWT를 JSON 문자열로 디코드: + +`jwt decode -j {{jwt_문자열}}` + +- JSON 문자열을 JWT로 인코드: + +`jwt encode --alg {{HS256}} --secret {{1234567890}} '{{json_문자열}}'` + +- 키-값 쌍 페이로드를 JWT로 인코드: + +`jwt encode --alg {{HS256}} --secret {{1234567890}} -P {{키=값}}` diff --git a/pages.ko/common/k3d.md b/pages.ko/common/k3d.md new file mode 100644 index 00000000000000..eba96fd46960a9 --- /dev/null +++ b/pages.ko/common/k3d.md @@ -0,0 +1,24 @@ +# k3d + +> Docker 내에 k3s 클러스터를 쉽게 생성할 수 있는 래퍼. +> 더 많은 정보: . + +- 클러스터 생성: + +`k3d cluster create {{클러스터_이름}}` + +- 클러스터 삭제: + +`k3d cluster delete {{클러스터_이름}}` + +- 새로운 컨테이너화된 k3s 노드 생성: + +`k3d node create {{노드_이름}}` + +- Docker에서 k3d 클러스터로 이미지 가져오기: + +`k3d image import {{이미지_이름}} --cluster {{클러스터_이름}}` + +- 새로운 레지스트리 생성: + +`k3d registry create {{레지스트리_이름}}` diff --git a/pages.ko/common/k6.md b/pages.ko/common/k6.md new file mode 100644 index 00000000000000..e23cc311908b30 --- /dev/null +++ b/pages.ko/common/k6.md @@ -0,0 +1,36 @@ +# k6 + +> 엔지니어링 팀을 위한 오픈 소스 부하 테스트 도구 및 SaaS. +> 더 많은 정보: . + +- 로컬에서 부하 테스트 실행: + +`k6 run {{스크립트.js}}` + +- 주어진 가상 사용자 수와 지속 시간으로 로컬에서 부하 테스트 실행: + +`k6 run --vus {{10}} --duration {{30s}} {{스크립트.js}}` + +- 주어진 환경 변수를 사용하여 로컬에서 부하 테스트 실행: + +`k6 run -e {{HOSTNAME=example.com}} {{스크립트.js}}` + +- InfluxDB를 사용하여 결과를 저장하며 로컬에서 부하 테스트 실행: + +`k6 run --out influxdb={{http://localhost:8086/k6db}} {{스크립트.js}}` + +- 응답 본문을 버리면서 (상당히 빠르게) 로컬에서 부하 테스트 실행: + +`k6 run --discard-response-bodies {{스크립트.js}}` + +- 기본 JavaScript 호환 모드를 사용하여 (상당히 빠르게) 로컬에서 부하 테스트 실행: + +`k6 run --compatibility-mode=base {{스크립트.js}}` + +- 비밀 토큰을 사용하여 클라우드 서비스에 로그인: + +`k6 login cloud --token {{비밀}}` + +- 클라우드 인프라에서 부하 테스트 실행: + +`k6 cloud {{스크립트.js}}` diff --git a/pages.ko/common/k8s-unused-secret-detector.md b/pages.ko/common/k8s-unused-secret-detector.md new file mode 100644 index 00000000000000..fb5f3684943d82 --- /dev/null +++ b/pages.ko/common/k8s-unused-secret-detector.md @@ -0,0 +1,16 @@ +# k8s-unused-secret-detector + +> 사용되지 않는 Kubernetes 시크릿 감지. +> 더 많은 정보: . + +- 사용되지 않는 시크릿 감지: + +`k8s-unused-secret-detector` + +- 특정 네임스페이스에서 사용되지 않는 시크릿 감지: + +`k8s-unused-secret-detector -n {{네임스페이스}}` + +- 특정 네임스페이스에서 사용되지 않는 시크릿 삭제: + +`k8s-unused-secret-detector -n {{네임스페이스}} | kubectl delete secret -n {{네임스페이스}}` diff --git a/pages.ko/common/k8sec.md b/pages.ko/common/k8sec.md new file mode 100644 index 00000000000000..0d2274991a4885 --- /dev/null +++ b/pages.ko/common/k8sec.md @@ -0,0 +1,32 @@ +# k8sec + +> Kubernetes 시크릿 관리 도구. +> 더 많은 정보: . + +- 모든 시크릿 나열: + +`k8sec list` + +- 특정 시크릿을 base64로 인코딩된 문자열로 나열: + +`k8sec list {{비밀_이름}} --base64` + +- 시크릿 값 설정: + +`k8sec set {{비밀_이름}} {{key=값}}` + +- base64로 인코딩된 값 설정: + +`k8sec set --base64 {{비밀_이름}} {{key=인코딩된_값}}` + +- 시크릿 해제: + +`k8sec unset {{비밀_이름}}` + +- 파일에서 시크릿 불러오기: + +`k8sec load -f {{경로/대상/파일}} {{비밀_이름}}` + +- 파일로 시크릿 덤프: + +`k8sec dump -f {{경로/대상/파일}} {{비밀_이름}}` diff --git a/pages.ko/common/k9s.md b/pages.ko/common/k9s.md new file mode 100644 index 00000000000000..742d2e5adbe0af --- /dev/null +++ b/pages.ko/common/k9s.md @@ -0,0 +1,20 @@ +# k9s + +> Kubernetes 클러스터를 보고 관리. +> 더 많은 정보: . + +- kubeconfig 컨텍스트를 사용하여 클러스터 관리: + +`k9s --context {{kubeconfig_컨텍스트_이름}}` + +- 읽기 전용 모드로 클러스터 관리 (수정을 초래할 수 있는 모든 명령 비활성화): + +`k9s --readonly --cluster {{클러스터_이름}}` + +- 주어진 Kubernetes 네임스페이스를 사용하여 클러스터 관리: + +`k9s --namespace {{Kubernetes_네임스페이스}} --cluster {{클러스터_이름}}` + +- pod 보기로 k9s를 실행하고 디버그 로깅을 활성화하여 클러스터 관리: + +`k9s --command {{pod}} --logLevel debug --cluster {{클러스터_이름}}` diff --git a/pages.ko/common/kafkacat.md b/pages.ko/common/kafkacat.md new file mode 100644 index 00000000000000..78acef0ca2ceea --- /dev/null +++ b/pages.ko/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> 이 명령은 `kcat` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr kcat` diff --git a/pages.ko/common/kaggle.md b/pages.ko/common/kaggle.md new file mode 100644 index 00000000000000..5025de2d44c895 --- /dev/null +++ b/pages.ko/common/kaggle.md @@ -0,0 +1,12 @@ +# kaggle + +> Python 3로 구현된 Kaggle 공식 CLI. +> 더 많은 정보: . + +- 현재 구성 값 보기: + +`kaggle config view` + +- 대회 데이터셋에서 특정 파일 다운로드: + +`kaggle competitions download {{대회}} -f {{파일명}}` diff --git a/pages.ko/common/kahlan.md b/pages.ko/common/kahlan.md new file mode 100644 index 00000000000000..73b1e2b58210ef --- /dev/null +++ b/pages.ko/common/kahlan.md @@ -0,0 +1,20 @@ +# kahlan + +> PHP용 단위 테스트 및 행동 주도 개발 테스트 프레임워크. +> 더 많은 정보: . + +- "spec" 디렉토리의 모든 사양 실행: + +`kahlan` + +- 특정 구성 파일을 사용하여 사양 실행: + +`kahlan --config={{경로/대상/구성_파일}}` + +- 리포터를 사용하여 사양 실행 및 출력: + +`kahlan --reporter={{dot|bar|json|tap|verbose}}` + +- 코드 커버리지와 함께 사양 실행 (세부 수준은 0에서 4 사이): + +`kahlan --coverage={{세부_수준}}` diff --git a/pages.ko/common/kak.md b/pages.ko/common/kak.md new file mode 100644 index 00000000000000..5d1a0f07f1d34e --- /dev/null +++ b/pages.ko/common/kak.md @@ -0,0 +1,37 @@ +# kak + +> Kakoune는 "다중 선택" 패러다임을 구현한 모드 기반 코드 편집기입니다. +> 데이터를 여러 위치에서 동시에 선택 및 편집할 수 있으며, 사용자는 동일한 세션에 연결하여 공동 편집을 할 수 있습니다. +> 더 많은 정보: . + +- 파일을 열고 명령 실행을 위한 일반 모드로 진입: + +`kak {{경로/대상/파일}}` + +- 일반 모드에서 삽입 모드로 전환하여 파일에 텍스트 작성: + +`` + +- 삽입 모드를 벗어나 일반 모드로 돌아가기: + +`` + +- 현재 파일에서 "foo"를 모든 "bar"로 대체: + +`%s{{foo}}c{{bar}}` + +- 모든 보조 선택을 해제하고 주 선택만 유지: + +`` + +- 숫자를 검색하고 처음 두 개 선택: + +`/\d+N` + +- 파일의 내용을 삽입: + +`cat {{경로/대상/파일}}` + +- 현재 파일 저장: + +`<:>w` diff --git a/pages.ko/common/katana.md b/pages.ko/common/katana.md new file mode 100644 index 00000000000000..88d100f5cbd0ae --- /dev/null +++ b/pages.ko/common/katana.md @@ -0,0 +1,29 @@ +# katana + +> 자동화 파이프라인에서의 실행에 중점을 둔 빠른 크롤러로, 헤드리스 및 비헤드리스 크롤링을 모두 제공합니다. +> 같이 보기: `gau`, `scrapy`, `waymore`. +> 더 많은 정보: . + +- URL 목록을 크롤링: + +`katana -list {{https://example.com,https://google.com,...}}` + +- Chromium을 사용하여 헤드리스 모드로 URL 크롤링: + +`katana -u {{https://example.com}} -headless` + +- `subfinder`를 사용하여 서브도메인을 찾고, [p]a[s]sive 소스(Wayback Machine, Common Crawl, AlienVault)로 URL 검색: + +`subfinder -list {{경로/대상/domains.txt}} | katana -passive` + +- 프록시(http/socks5)를 통해 요청 전달하고 파일에서 사용자 정의 [H]eaders 사용: + +`katana -proxy {{http://127.0.0.1:8080}} -headers {{경로/대상/headers.txt}} -u {{https://example.com}}` + +- 크롤링 [s]trategy, 크롤링할 하위 디렉토리의 [d]epth, 속도 제한(초당 요청 수) 지정: + +`katana -strategy {{depth-first|breadth-first}} -depth {{값}} -rate-limit {{값}} -u {{https://example.com}}` + +- `subfinder`를 사용하여 서브도메인을 찾고, 각 서브도메인을 최대 시간 동안 크롤링하며 결과를 [o]utput 파일에 저장: + +`subfinder -list {{경로/대상/domains.txt}} | katana -crawl-duration {{값}} -output {{경로/대상/output.txt}}` diff --git a/pages.ko/common/kate.md b/pages.ko/common/kate.md new file mode 100644 index 00000000000000..1276a74ea890de --- /dev/null +++ b/pages.ko/common/kate.md @@ -0,0 +1,32 @@ +# kate + +> KDE의 고급 텍스트 편집기. +> 더 많은 정보: . + +- 특정 파일 열기: + +`kate {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 원격 파일 열기: + +`kate {{https://example.com/경로/대상/파일1 https://example.com/경로/대상/파일2 ...}}` + +- 이미 열려 있는 경우에도 새 편집기 인스턴스 생성: + +`kate --new` + +- 특정 줄에 커서를 놓고 파일 열기: + +`kate --line {{줄_번호}} {{경로/대상/파일}}` + +- 특정 줄과 열에 커서를 놓고 파일 열기: + +`kate --line {{줄_번호}} --column {{열_번호}} {{경로/대상/파일}}` + +- `stdin`에서 파일 생성: + +`cat {{경로/대상/파일}} | kate --stdin` + +- 도움말 표시: + +`kate --help` diff --git a/pages.ko/common/kcadm.sh.md b/pages.ko/common/kcadm.sh.md new file mode 100644 index 00000000000000..2686709c3f386d --- /dev/null +++ b/pages.ko/common/kcadm.sh.md @@ -0,0 +1,20 @@ +# kcadm.sh + +> 관리 작업 수행. +> 더 많은 정보: . + +- 인증된 세션 시작: + +`kcadm.sh config credentials --server {{호스트}} --realm {{영역_이름}} --user {{사용자명}} --password {{비밀번호}}` + +- 사용자 생성: + +`kcadm.sh create users -s username={{사용자명}} -r {{영역_이름}}` + +- 모든 영역 나열: + +`kcadm.sh get realms` + +- JSON 구성으로 영역 업데이트: + +`kcadm.sh update realms/{{영역_이름}} -f {{경로/대상/파일.json}}` diff --git a/pages.ko/common/kcat.md b/pages.ko/common/kcat.md new file mode 100644 index 00000000000000..4bd26a080900c2 --- /dev/null +++ b/pages.ko/common/kcat.md @@ -0,0 +1,36 @@ +# kcat + +> Apache Kafka 생산자 및 소비자 도구. +> 더 많은 정보: . + +- 최신 오프셋부터 메시지 소비: + +`kcat -C -t {{토픽}} -b {{브로커}}` + +- 가장 오래된 오프셋부터 메시지를 소비하고 마지막 메시지를 받은 후 종료: + +`kcat -C -t {{토픽}} -b {{브로커}} -o beginning -e` + +- Kafka 소비자 그룹으로 메시지 소비: + +`kcat -G {{그룹_ID}} {{토픽}} -b {{브로커}}` + +- `stdin`에서 읽어 메시지 게시: + +`echo {{메시지}} | kcat -P -t {{토픽}} -b {{브로커}}` + +- 파일에서 읽어 메시지 게시: + +`kcat -P -t {{토픽}} -b {{브로커}} {{경로/대상/파일}}` + +- 모든 토픽 및 브로커의 메타데이터 나열: + +`kcat -L -b {{브로커}}` + +- 특정 토픽의 메타데이터 나열: + +`kcat -L -t {{토픽}} -b {{브로커}}` + +- 특정 시간에 대한 토픽/파티션의 오프셋 가져오기: + +`kcat -Q -t {{토픽}}:{{파티션}}:{{유닉스_타임스탬프}} -b {{브로커}}` diff --git a/pages.ko/common/kdeconnect-cli.md b/pages.ko/common/kdeconnect-cli.md new file mode 100644 index 00000000000000..02c0a414ea04f7 --- /dev/null +++ b/pages.ko/common/kdeconnect-cli.md @@ -0,0 +1,36 @@ +# kdeconnect-cli + +> 파일이나 텍스트를 장치에 공유하거나, 벨소리를 울리거나, 잠금을 해제하는 등 여러 작업을 수행하기 위해 KDE Connect를 사용하세요. +> 더 많은 정보: . + +- 모든 장치 나열: + +`kdeconnect-cli --list-devices` + +- 사용 가능한 장치(페어링되고 접근 가능한) 나열: + +`kdeconnect-cli --list-available` + +- 특정 장치와 페어링 요청, 장치 ID 지정: + +`kdeconnect-cli --pair --device {{장치_ID}}` + +- 장치의 벨소리를 울리기, 장치 이름 지정: + +`kdeconnect-cli --ring --name "{{장치_이름}}"` + +- URL 또는 파일을 페어링된 장치와 공유, 장치 ID 지정: + +`kdeconnect-cli --share {{url|경로/대상/파일}} --device {{장치_ID}}` + +- 선택적 첨부 파일과 함께 특정 번호로 SMS 보내기: + +`kdeconnect-cli --name "{{장치_이름}}" --send-sms "{{메시지}}" --destination {{전화번호}} --attachment {{경로/대상/파일}}` + +- 특정 장치 잠금 해제: + +`kdeconnect-cli --name "{{장치_이름}}" --unlock` + +- 특정 장치에서 키 입력 시뮬레이션: + +`kdeconnect-cli --name "{{장치_이름}}" --send-keys {{키}}` diff --git a/pages.ko/common/kdenlive.md b/pages.ko/common/kdenlive.md new file mode 100644 index 00000000000000..ca492afe4cb08c --- /dev/null +++ b/pages.ko/common/kdenlive.md @@ -0,0 +1,28 @@ +# kdenlive + +> KDE의 비선형 비디오 편집기. +> 더 많은 정보: . + +- 비디오 편집기 시작: + +`kdenlive` + +- 특정 파일 열기: + +`kdenlive {{경로/대상/파일.kdenlive}}` + +- MLT 환경을 위한 특정 경로 사용: + +`kdenlive --mlt-path {{경로/대상/폴더}}` + +- MLT 환경을 위한 특정 로그 레벨 사용: + +`kdenlive --mlt-log {{verbose|debug}}` + +- 도움말 표시: + +`kdenlive --help` + +- 버전 표시: + +`kdenlive --version` diff --git a/pages.ko/common/kdig.md b/pages.ko/common/kdig.md new file mode 100644 index 00000000000000..d3773915f0db5e --- /dev/null +++ b/pages.ko/common/kdig.md @@ -0,0 +1,24 @@ +# kdig + +> 고급 DNS 조회 유틸리티. +> 더 많은 정보: . + +- 호스트 이름과 연결된 IP(A 레코드) 조회: + +`kdig {{example.com}}` + +- 특정 DNS 서버를 지정하여 쿼리(예: Google DNS): + +`kdig {{example.com}} @{{8.8.8.8}}` + +- 주어진 도메인 이름과 연결된 특정 DNS 레코드 유형 쿼리: + +`kdig {{example.com}} {{A|AAAA|NS|SOA|DNSKEY|ANY}}` + +- DNS over TLS(DoT)를 사용하여 호스트 이름과 연결된 IP(A 레코드) 조회: + +`kdig -d @{{8.8.8.8}} +tls-ca +tls-host={{dns.google}} {{example.com}}` + +- DNS over HTTPS(DoH)를 사용하여 호스트 이름과 연결된 IP(A 레코드) 조회: + +`kdig -d @{{1.1.1.1}} +https +tls-hostname={{1dot1dot1dot1.cloudflare-dns.com}} {{example.com}}` diff --git a/pages.ko/common/keep-header.md b/pages.ko/common/keep-header.md new file mode 100644 index 00000000000000..48434b28c4b6d7 --- /dev/null +++ b/pages.ko/common/keep-header.md @@ -0,0 +1,20 @@ +# keep-header + +> 첫 번째 줄을 명령어에 의해 처리하지 않고 그대로 `stdout`에 전달. +> 더 많은 정보: . + +- 파일을 정렬하고 첫 번째 줄을 맨 위에 유지: + +`keep-header {{경로/대상/파일}} -- sort` + +- 첫 번째 줄을 `stdout`에 직접 출력하고 파일의 나머지를 지정된 명령어로 처리: + +`keep-header {{경로/대상/파일}} -- {{명령어}}` + +- `stdin`에서 읽어 첫 번째 줄을 제외한 모든 줄을 정렬: + +`cat {{경로/대상/파일}} | keep-header -- {{명령어}}` + +- 파일을 `grep`하여 검색 패턴에 상관없이 첫 번째 줄을 유지: + +`keep-header {{경로/대상/파일}} -- grep {{패턴}}` diff --git a/pages.ko/common/keepass2.md b/pages.ko/common/keepass2.md new file mode 100644 index 00000000000000..8e7387e37b1359 --- /dev/null +++ b/pages.ko/common/keepass2.md @@ -0,0 +1,16 @@ +# keepass2 + +> 경량 비밀번호 관리자. +> 더 많은 정보: . + +- 가장 최근에 열었던 비밀번호 데이터베이스를 열면서 KeePass 2 시작: + +`keepass2` + +- 특정 비밀번호 데이터베이스를 열면서 KeePass 2 시작: + +`keepass2 {{경로/대상/데이터베이스.kbdx}}` + +- 특정 키 파일을 사용하여 비밀번호 데이터베이스 열기: + +`keepass2 {{경로/대상/데이터베이스.kbdx}} -keyfile:{{경로/대상/키/파일.key}}` diff --git a/pages.ko/common/keepassxc-cli.md b/pages.ko/common/keepassxc-cli.md new file mode 100644 index 00000000000000..067d52ee0e69cc --- /dev/null +++ b/pages.ko/common/keepassxc-cli.md @@ -0,0 +1,36 @@ +# keepassxc-cli + +> KeepassXC의 명령줄 인터페이스. +> 더 많은 정보: . + +- 항목 검색: + +`keepassxc-cli search {{경로/대상/데이터베이스_파일}} {{이름}}` + +- 폴더 내용 나열: + +`keepassxc-cli ls {{경로/대상/데이터베이스_파일}} {{경로/대상/폴더}}` + +- 자동 생성된 비밀번호로 항목 추가: + +`keepassxc-cli add --generate {{경로/대상/데이터베이스_파일}} {{항목_이름}}` + +- 항목 삭제: + +`keepassxc-cli rm {{경로/대상/데이터베이스_파일}} {{항목_이름}}` + +- 항목의 비밀번호를 클립보드에 복사: + +`keepassxc-cli clip {{경로/대상/데이터베이스_파일}} {{항목_이름}}` + +- TOTP 코드를 클립보드에 복사: + +`keepassxc-cli clip --totp {{경로/대상/데이터베이스_파일}} {{항목_이름}}` + +- 7개의 단어로 구성된 구문 생성: + +`keepassxc-cli diceware --words {{7}}` + +- 16개의 출력 가능한 ASCII 문자로 비밀번호 생성: + +`keepassxc-cli generate --lower --upper --numeric --special --length {{16}}` diff --git a/pages.ko/common/keybase.md b/pages.ko/common/keybase.md new file mode 100644 index 00000000000000..c0949044d312fb --- /dev/null +++ b/pages.ko/common/keybase.md @@ -0,0 +1,32 @@ +# keybase + +> 소셜 미디어 신원을 암호화 키에 공개적으로 감사 가능한 방식으로 매핑하는 키 디렉토리. +> 더 많은 정보: . + +- 다른 사용자 팔로우: + +`keybase follow {{사용자명}}` + +- 새로운 증명 추가: + +`keybase prove {{서비스}} {{서비스_사용자명}}` + +- 파일 서명: + +`keybase sign {{[-i|--infile]}} {{입력_파일}} {{[-o|--outfile]}} {{출력_파일}}` + +- 서명된 파일 검증: + +`keybase verify {{[-i|--infile]}} {{입력_파일}} {{[-o|--outfile]}} {{출력_파일}}` + +- 파일 암호화: + +`keybase encrypt {{[-i|--infile]}} {{입력_파일}} {{[-o|--outfile]}} {{출력_파일}} {{수신자}}` + +- 파일 복호화: + +`keybase decrypt {{[-i|--infile]}} {{입력_파일}} {{[-o|--outfile]}} {{출력_파일}}` + +- 현재 장치 해지, 로그아웃 및 로컬 데이터 삭제: + +`keybase deprovision` diff --git a/pages.ko/common/keychain.md b/pages.ko/common/keychain.md new file mode 100644 index 00000000000000..ba5d435061d9f5 --- /dev/null +++ b/pages.ko/common/keychain.md @@ -0,0 +1,24 @@ +# keychain + +> ssh-agent 및/또는 gpg-agent를 로그인 간에 재사용. +> 더 많은 정보: . + +- 실행 중인 ssh-agent를 확인하고 필요한 경우 시작: + +`keychain` + +- gpg-agent도 확인: + +`keychain --agents "{{gpg,ssh}}"` + +- 모든 활성 키의 서명 나열: + +`keychain --list` + +- 모든 활성 키의 지문 나열: + +`keychain --list-fp` + +- 에이전트에 추가된 ID에 대한 타임아웃을 분 단위로 추가: + +`keychain --timeout {{분}}` diff --git a/pages.ko/common/keytool.md b/pages.ko/common/keytool.md new file mode 100644 index 00000000000000..5ef27516576d9d --- /dev/null +++ b/pages.ko/common/keytool.md @@ -0,0 +1,16 @@ +# keytool + +> Java에 포함된 인증서 관리 도구. +> 더 많은 정보: . + +- 키스토어 생성: + +`keytool -genkeypair -v -keystore {{경로/대상/파일.keystore}} -alias {{키_이름}}` + +- 키스토어 비밀번호 변경: + +`keytool -storepasswd -keystore {{경로/대상/파일.keystore}}` + +- 특정 키스토어 내 키의 비밀번호 변경: + +`keytool -keypasswd -alias {{키_이름}} -keystore {{경로/대상/파일.keystore}}` diff --git a/pages.ko/common/khal.md b/pages.ko/common/khal.md new file mode 100644 index 00000000000000..2f57927dac9e6b --- /dev/null +++ b/pages.ko/common/khal.md @@ -0,0 +1,24 @@ +# khal + +> 명령줄에서 사용하는 텍스트 기반 캘린더 및 일정 관리 애플리케이션. +> 더 많은 정보: . + +- 상호작용 모드에서 Khal 시작: + +`ikhal` + +- 개인 캘린더에 예정된 다음 7일 동안의 모든 이벤트 출력: + +`khal list -a {{personal}} {{today}} {{7d}}` + +- 개인 캘린더가 아닌 내일 10:00에 예정된 모든 이벤트 출력: + +`khal at -d {{personal}} {{tomorrow}} {{10:00}}` + +- 다음 3개월 동안의 이벤트 목록이 포함된 캘린더 출력: + +`khal calendar` + +- 개인 캘린더에 새 이벤트 추가: + +`khal new -a {{personal}} {{2020-09-08}} {{18:00}} {{18:30}} "{{치과 예약}}"` diff --git a/pages.ko/common/kill.md b/pages.ko/common/kill.md new file mode 100644 index 00000000000000..716b66df41e010 --- /dev/null +++ b/pages.ko/common/kill.md @@ -0,0 +1,37 @@ +# kill + +> 보통 프로세스를 정지시키는 것과 관련된 시그널을 전송합니다. +> SIGKILL과 SIGSTOP을 제외한 모든 시그널들은 깔끔한 종료를 위해 프로세스에게 뺏길 수 있습니다. +> 더 많은 정보: . + +- 기본 SIGTERM ("terminate") 시그널을 보내 프로그램을 종료: + +`kill {{프로세스_아이디}}` + +- 사용 가능한 시그널 이름을 출력 (`SIG` 접두사는 없이 출력): + +`kill -l` + +- 백그라운드 job 종료: + +`kill %{{job_아이디}}` + +- SIGHUP ("hang up") 시그널을 사용해서 프로그램을 종료. 대다수의 데몬(백그라운드 프로세스)은 종료하는 대신 리로드 함: + +`kill -{{1|HUP}} {{프로세스_아이디}}` + +- SIGINT ("interrupt") 시그널을 사용해서 프로그램을 종료. 이건 일반적으로 사용자가 ``를 누를 때 일어나는 일과 같음: + +`kill -{{2|INT}} {{프로세스_아이디}}` + +- 운영체제에게 즉시 프로그램을 종료하라는 시그널을 전송 (프로세스가 신호를 받지 못하고 종료됨): + +`kill -{{9|KILL}} {{프로세스_아이디}}` + +- 운영체제에게 SIGCONT ("continue") 시그널을 받기 전까지 프로그램을 일시정지하라는 시그널을 전송: + +`kill -{{17|STOP}} {{프로세스_아이디}}` + +- 주어진 GID (그룹 아이디)를 가진 모든 프로세스에게 `SIGUSR1` 시그널을 전송: + +`kill -{{SIGUSR1}} -{{그룹_아이디}}` diff --git a/pages.ko/common/killall.md b/pages.ko/common/killall.md new file mode 100644 index 00000000000000..388613fa370b82 --- /dev/null +++ b/pages.ko/common/killall.md @@ -0,0 +1,25 @@ +# killall + +> 프로세스 이름으로 모든 인스턴스에 종료 신호를 보냅니다 (정확한 이름이어야 함). +> SIGKILL 및 SIGSTOP을 제외한 모든 신호는 프로세스에 의해 가로채어져 클린 종료가 가능합니다. +> 더 많은 정보: . + +- 기본 SIGTERM (종료) 신호를 사용하여 프로세스 종료: + +`killall {{프로세스_이름}}` + +- 사용 가능한 신호 이름 [l]ist 보기 ('SIG' 접두사 없이 사용): + +`killall -l` + +- 종료 전에 인터랙티브하게 확인 요청: + +`killall -i {{프로세스_이름}}` + +- SIGINT (인터럽트) 신호를 사용하여 프로세스 종료, 이는 ``로 전송되는 신호와 동일: + +`killall -INT {{프로세스_이름}}` + +- 프로세스를 강제로 종료: + +`killall -KILL {{프로세스_이름}}` diff --git a/pages.ko/common/kind.md b/pages.ko/common/kind.md new file mode 100644 index 00000000000000..809b9c34ef9f47 --- /dev/null +++ b/pages.ko/common/kind.md @@ -0,0 +1,21 @@ +# kind + +> Docker 컨테이너 "노드"를 사용하여 로컬 Kubernetes 클러스터를 실행. +> Kubernetes 자체 테스트를 위해 설계되었으나, 로컬 개발이나 지속적 통합에도 사용 가능. +> 더 많은 정보: . + +- 로컬 Kubernetes 클러스터 생성: + +`kind create cluster --name {{클러스터_이름}}` + +- 하나 이상의 클러스터 삭제: + +`kind delete clusters {{클러스터_이름}}` + +- 클러스터, 노드 또는 kubeconfig에 대한 세부 정보 가져오기: + +`kind get {{clusters|nodes|kubeconfig}}` + +- kubeconfig 또는 로그 내보내기: + +`kind export {{kubeconfig|logs}}` diff --git a/pages.ko/common/kinit.md b/pages.ko/common/kinit.md new file mode 100644 index 00000000000000..93e861a5a4c2c0 --- /dev/null +++ b/pages.ko/common/kinit.md @@ -0,0 +1,29 @@ +# kinit + +> Kerberos 서버와 주체를 인증하여 티켓을 얻고 캐시. +> 참고: Kerberos 주체는 사용자, 서비스 또는 애플리케이션일 수 있습니다. +> 더 많은 정보: . + +- 사용자를 인증하고 티켓 발급 티켓 획득: + +`kinit {{사용자명}}` + +- 티켓 발급 티켓 갱신: + +`kinit -R` + +- 티켓의 유효 기간 지정: + +`kinit -l {{5시간}}` + +- 티켓의 총 갱신 가능 기간 지정: + +`kinit -r {{1주}}` + +- 다른 주체 이름으로 인증 지정: + +`kinit -p {{주체@REALM}}` + +- 다른 키탭 파일로 인증 지정: + +`kinit -t {{경로/대상/keytab}}` diff --git a/pages.ko/common/kismet.md b/pages.ko/common/kismet.md new file mode 100644 index 00000000000000..a96e1dc90dfe89 --- /dev/null +++ b/pages.ko/common/kismet.md @@ -0,0 +1,36 @@ +# kismet + +> 무선 네트워크 및 장치 감지기, 스니퍼, 워드라이빙 도구, WIDS(무선 침입 탐지) 프레임워크. +> 더 많은 정보: . + +- 특정 무선 인터페이스에서 패킷 캡처: + +`sudo kismet -c {{wlan0}}` + +- 무선 인터페이스에서 여러 채널 모니터링: + +`sudo kismet -c {{wlan0,wlan1}} -m` + +- 패킷을 캡처하고 특정 디렉토리에 저장: + +`sudo kismet -c {{wlan0}} -d {{경로/대상/출력}}` + +- 특정 구성 파일로 Kismet 시작: + +`sudo kismet -c {{wlan0}} -f {{경로/대상/config.conf}}` + +- SQLite 데이터베이스에 데이터를 모니터링하고 기록: + +`sudo kismet -c {{wlan0}} --log-to-db` + +- 특정 데이터 소스를 사용하여 모니터링: + +`sudo kismet -c {{wlan0}} --data-source={{rtl433}}` + +- 특정 이벤트에 대한 경고 활성화: + +`sudo kismet -c {{wlan0}} --enable-alert={{new_ap}}` + +- 특정 AP의 패킷에 대한 자세한 정보 표시: + +`sudo kismet -c {{wlan0}} --info {{BSSID}}` diff --git a/pages.ko/common/kitex.md b/pages.ko/common/kitex.md new file mode 100644 index 00000000000000..034bc731940d26 --- /dev/null +++ b/pages.ko/common/kitex.md @@ -0,0 +1,21 @@ +# kitex + +> Go RPC 프레임워크 Kitex에서 제공하는 코드 생성 도구. +> Kitex는 thrift와 protobuf IDL을 모두 수용하며, 서버 측 프로젝트의 스켈레톤을 생성하는 것을 지원합니다. +> 더 많은 정보: . + +- 프로젝트가 `$GOPATH`에 있을 때 클라이언트 코드 생성: + +`kitex {{경로/대상/IDL_파일.thrift}}` + +- 프로젝트가 `$GOPATH`에 없을 때 클라이언트 코드 생성: + +`kitex -module {{github.com/xx-org/xx-name}} {{경로/대상/IDL_파일.thrift}}` + +- protobuf IDL로 클라이언트 코드 생성: + +`kitex -type protobuf {{경로/대상/IDL_파일.proto}}` + +- 서버 코드 생성: + +`kitex -service {{서비스_이름}} {{경로/대상/IDL_파일.thrift}}` diff --git a/pages.ko/common/kitty.md b/pages.ko/common/kitty.md new file mode 100644 index 00000000000000..aa442bf3f5c99d --- /dev/null +++ b/pages.ko/common/kitty.md @@ -0,0 +1,24 @@ +# kitty + +> 빠르고 기능이 풍부한 GPU 기반 터미널 에뮬레이터. +> 더 많은 정보: . + +- 새로운 터미널 열기: + +`kitty` + +- 지정된 제목으로 창 열기: + +`kitty --title "{{제목}}"` + +- 테마 선택기 내장 기능 시작: + +`kitty +kitten themes` + +- 터미널에 이미지 표시: + +`kitty +kitten icat {{경로/대상/이미지}}` + +- `stdin`의 내용을 클립보드에 복사: + +`echo {{예제}} | kitty +kitten clipboard` diff --git a/pages.ko/common/kiwi-ng.md b/pages.ko/common/kiwi-ng.md new file mode 100644 index 00000000000000..80a2924a5999aa --- /dev/null +++ b/pages.ko/common/kiwi-ng.md @@ -0,0 +1,20 @@ +# kiwi-ng + +> 운영 체제 이미지 및 어플라이언스 빌더. +> 더 많은 정보: . + +- 어플라이언스 빌드: + +`kiwi-ng system build --description={{경로/대상/폴더}} --target-dir={{경로/대상/폴더}}` + +- 빌드된 어플라이언스의 빌드 결과 표시: + +`kiwi-ng result list --target-dir={{경로/대상/폴더}}` + +- 도움말 표시: + +`kiwi-ng help` + +- 버전 표시: + +`kiwi-ng -v` diff --git a/pages.ko/common/knife.md b/pages.ko/common/knife.md new file mode 100644 index 00000000000000..068c7d1a6708b9 --- /dev/null +++ b/pages.ko/common/knife.md @@ -0,0 +1,32 @@ +# knife + +> 로컬 Chef 저장소에서 Chef 서버와 상호 작용. +> 더 많은 정보: . + +- 새 노드 부트스트랩: + +`knife bootstrap {{fqdn_또는_ip}}` + +- 등록된 모든 노드 나열: + +`knife node list` + +- 노드 표시: + +`knife node show {{노드_이름}}` + +- 노드 편집: + +`knife node edit {{노드_이름}}` + +- 역할 편집: + +`knife role edit {{역할_이름}}` + +- 데이터 백 보기: + +`knife data bag show {{데이터_백_이름}} {{데이터_백_항목}}` + +- 로컬 쿠크북을 Chef 서버에 업로드: + +`knife cookbook upload {{쿠크북_이름}}` diff --git a/pages.ko/common/knotc.md b/pages.ko/common/knotc.md new file mode 100644 index 00000000000000..a000c04666ed1e --- /dev/null +++ b/pages.ko/common/knotc.md @@ -0,0 +1,24 @@ +# knotc + +> Knot DNS 서버 제어. +> 더 많은 정보: . + +- zone 편집 시작: + +`knotc zone-begin {{zone}}` + +- TTL이 3600인 A 레코드 설정: + +`knotc zone-set {{zone}} {{서브도메인}} 3600 A {{IP_주소}}` + +- zone 편집 완료: + +`knotc zone-commit {{zone}}` + +- 현재 zone 데이터 얻기: + +`knotc zone-read {{zone}}` + +- 현재 서버 구성 가져오기: + +`knotc conf-read server` diff --git a/pages.ko/common/kompose.md b/pages.ko/common/kompose.md new file mode 100644 index 00000000000000..504848746a3046 --- /dev/null +++ b/pages.ko/common/kompose.md @@ -0,0 +1,16 @@ +# kompose + +> Docker Compose 애플리케이션을 Kubernetes로 변환. +> 더 많은 정보: . + +- 도커화된 애플리케이션을 Kubernetes에 배포: + +`kompose up -f {{docker-compose.yml}}` + +- Kubernetes에서 서비스/배포 인스턴스 삭제: + +`kompose down -f {{docker-compose.yml}}` + +- docker-compose 파일을 Kubernetes 리소스 파일로 변환: + +`kompose convert -f {{docker-compose.yml}}` diff --git a/pages.ko/common/kool.md b/pages.ko/common/kool.md new file mode 100644 index 00000000000000..f6279aa592480a --- /dev/null +++ b/pages.ko/common/kool.md @@ -0,0 +1,28 @@ +# kool + +> 소프트웨어 개발 환경을 구축. +> 더 많은 정보: . + +- 특정 프리셋을 사용하여 프로젝트 생성: + +`kool create {{프리셋}} {{프로젝트_이름}}` + +- 현재 디렉토리의 `kool.yml` 파일에 정의된 특정 스크립트 실행: + +`kool run {{스크립트}}` + +- 현재 디렉토리의 서비스 시작/중지: + +`kool {{start|stop}}` + +- 현재 디렉토리의 서비스 상태 표시: + +`kool status` + +- 최신 버전으로 업데이트: + +`kool self-update` + +- 지정된 셸에 대한 자동 완성 스크립트 출력: + +`kool completion {{bash|fish|powershell|zsh}}` diff --git a/pages.ko/common/kopia.md b/pages.ko/common/kopia.md new file mode 100644 index 00000000000000..f7ca1246e1343e --- /dev/null +++ b/pages.ko/common/kopia.md @@ -0,0 +1,37 @@ +# kopia + +> 빠르고 안전한 오픈 소스 백업 도구. +> 암호화, 압축, 중복 제거 및 증분 스냅샷을 지원합니다. +> 더 많은 정보: . + +- 로컬 파일 시스템에 저장소 생성: + +`kopia repository create filesystem --path {{경로/대상/로컬_저장소}}` + +- Amazon S3에 저장소 생성: + +`kopia repository create s3 --bucket {{버킷_이름}} --access-key {{AWS_액세스_키_ID}} --secret-access-key {{AWS_비밀_액세스_키}}` + +- 저장소에 연결: + +`kopia repository connect {{저장소_유형}} --path {{경로/대상/저장소}}` + +- 디렉터리의 스냅샷 생성: + +`kopia snapshot create {{경로/대상/폴더}}` + +- 스냅샷 나열: + +`kopia snapshot list` + +- 특정 디렉터리에 스냅샷 복원: + +`kopia snapshot restore {{스냅샷_ID}} {{경로/대상/목표_폴더}}` + +- 새 정책 생성: + +`kopia policy set --global --keep-latest {{유지할_스냅샷_수}} --compression {{압축_알고리즘}}` + +- 특정 파일 또는 폴더를 백업에서 제외: + +`kopia policy set --global --add-ignore {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/kops.md b/pages.ko/common/kops.md new file mode 100644 index 00000000000000..180407654693dd --- /dev/null +++ b/pages.ko/common/kops.md @@ -0,0 +1,28 @@ +# kops + +> Kubernetes 클러스터를 생성, 삭제, 업그레이드 및 유지 관리. +> 더 많은 정보: . + +- 구성 사양에서 클러스터 생성: + +`kops create cluster -f {{클러스터_이름.yaml}}` + +- 새로운 SSH 공개 키 생성: + +`kops create secret sshpublickey {{키_이름}} -i {{~/.ssh/id_rsa.pub}}` + +- 클러스터 구성을 `~/.kube/config` 파일로 내보내기: + +`kops export kubecfg {{클러스터_이름}}` + +- 클러스터 구성을 YAML로 가져오기: + +`kops get cluster {{클러스터_이름}} -o yaml` + +- 클러스터 삭제: + +`kops delete cluster {{클러스터_이름}} --yes` + +- 클러스터 유효성 검사: + +`kops validate cluster {{클러스터_이름}} --wait {{준비_시간}} --count {{필요한_검증_수}}` diff --git a/pages.ko/common/kosmorro.md b/pages.ko/common/kosmorro.md new file mode 100644 index 00000000000000..eb398ae7181158 --- /dev/null +++ b/pages.ko/common/kosmorro.md @@ -0,0 +1,20 @@ +# kosmorro + +> 특정 날짜 및 지구상의 위치에 대한 천체력 및 이벤트를 계산. +> 더 많은 정보: . + +- 프랑스 파리의 천체력 얻기: + +`kosmorro --latitude={{48.7996}} --longitude={{2.3511}}` + +- UTC+2 시간대의 프랑스 파리의 천체력 얻기: + +`kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --timezone={{2}}` + +- 2020년 6월 9일의 프랑스 파리의 천체력 얻기: + +`kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --date={{2020-06-09}}` + +- PDF 생성 (참고: TeXLive가 설치되어 있어야 함): + +`kosmorro --format={{pdf}} --output={{경로/대상/파일.pdf}}` diff --git a/pages.ko/common/kotlin.md b/pages.ko/common/kotlin.md new file mode 100644 index 00000000000000..9b69428a123c9a --- /dev/null +++ b/pages.ko/common/kotlin.md @@ -0,0 +1,12 @@ +# kotlin + +> Kotlin 애플리케이션 실행기. +> 더 많은 정보: . + +- jar 파일 실행: + +`kotlin {{파일이름.jar}}` + +- Kotlin 및 JVM 버전 표시: + +`kotlin -version` diff --git a/pages.ko/common/kotlinc.md b/pages.ko/common/kotlinc.md new file mode 100644 index 00000000000000..278dee5eeb07a3 --- /dev/null +++ b/pages.ko/common/kotlinc.md @@ -0,0 +1,24 @@ +# kotlinc + +> Kotlin 컴파일러. +> 더 많은 정보: . + +- REPL (대화형 셸) 시작: + +`kotlinc` + +- Kotlin 파일 컴파일: + +`kotlinc {{경로/대상/파일.kt}}` + +- 여러 Kotlin 파일 컴파일: + +`kotlinc {{경로/대상/파일1.kt 경로/대상/파일2.kt ...}}` + +- 특정 Kotlin Script 파일 실행: + +`kotlinc -script {{경로/대상/파일.kts}}` + +- Kotlin 파일을 Kotlin 런타임 라이브러리가 포함된 독립 실행형 jar 파일로 컴파일: + +`kotlinc {{경로/대상/파일.kt}} -include-runtime -d {{경로/대상/파일.jar}}` diff --git a/pages.ko/common/krita.md b/pages.ko/common/krita.md new file mode 100644 index 00000000000000..e99ab0d0160aa7 --- /dev/null +++ b/pages.ko/common/krita.md @@ -0,0 +1,25 @@ +# krita + +> 디지털 아티스트를 위한 스케치 및 페인팅 프로그램. +> 같이 보기: `gimp`. +> 더 많은 정보: . + +- Krita 시작: + +`krita` + +- 특정 파일 열기: + +`krita {{경로/대상/이미지1 경로/대상/이미지2 ...}}` + +- 시작 화면 없이 시작: + +`krita --nosplash` + +- 특정 작업 공간으로 시작: + +`krita --workspace {{애니메이션}}` + +- 전체 화면 모드로 시작: + +`krita --fullscreen` diff --git a/pages.ko/common/krunvm.md b/pages.ko/common/krunvm.md new file mode 100644 index 00000000000000..1d94ba10d58272 --- /dev/null +++ b/pages.ko/common/krunvm.md @@ -0,0 +1,24 @@ +# krunvm + +> OCI 이미지를 사용하여 MicroVM을 생성. +> 더 많은 정보: . + +- Fedora 기반 MicroVM 생성: + +`krunvm create {{docker.io/fedora}} --cpus {{vCPU_수}} --mem {{메모리_메가바이트}} --name "{{이름}}"` + +- 특정 이미지 시작: + +`krunvm start "{{이미지_이름}}"` + +- 이미지 나열: + +`krunvm list` + +- 특정 이미지 변경: + +`krunvm changevm --cpus {{vCPU_수}} --mem {{메모리_메가바이트}} --name "{{새_VM_이름}}" "{{현재_VM_이름}}"` + +- 특정 이미지 삭제: + +`krunvm delete "{{이미지_이름}}"` diff --git a/pages.ko/common/ksh.md b/pages.ko/common/ksh.md new file mode 100644 index 00000000000000..52b415c0cc564c --- /dev/null +++ b/pages.ko/common/ksh.md @@ -0,0 +1,25 @@ +# ksh + +> Korn Shell, Bash와 호환되는 명령줄 인터프리터. +> 같이 보기: `histexpand`. +> 더 많은 정보: . + +- 대화형 셸 세션 시작: + +`ksh` + +- 특정 [c]명령어 실행: + +`ksh -c "{{echo 'ksh is executed'}}"` + +- 특정 스크립트 실행: + +`ksh {{경로/대상/스크립트.ksh}}` + +- 특정 스크립트를 실행하지 않고 구문 오류 검사: + +`ksh -n {{경로/대상/스크립트.ksh}}` + +- 특정 스크립트를 실행하면서 각 명령을 실행 전 출력: + +`ksh -x {{경로/대상/스크립트.ksh}}` diff --git a/pages.ko/common/kube-capacity.md b/pages.ko/common/kube-capacity.md new file mode 100644 index 00000000000000..3de911d4ded109 --- /dev/null +++ b/pages.ko/common/kube-capacity.md @@ -0,0 +1,17 @@ +# kube-capacity + +> Kubernetes 클러스터의 리소스 요청, 제한 및 활용 개요 제공. +> `kubectl top`과 `kubectl describe`의 장점을 결합하여 클러스터 리소스에 초점을 맞춘 CLI. +> 더 많은 정보: . + +- 노드를 나열하고 총 CPU 및 메모리 리소스 요청 및 제한 포함: + +`kube-capacity` + +- 파드 포함: + +`kube-capacity -p` + +- 활용도 포함: + +`kube-capacity -u` diff --git a/pages.ko/common/kube-fzf.md b/pages.ko/common/kube-fzf.md new file mode 100644 index 00000000000000..777b35a8da8148 --- /dev/null +++ b/pages.ko/common/kube-fzf.md @@ -0,0 +1,29 @@ +# kube-fzf + +> Kubernetes Pod의 명령줄 퍼지 검색을 위한 셸 명령. +> 관련 명령은 `kubectl`을 참고하세요. +> 더 많은 정보: . + +- Pod 세부 정보 가져오기 (현재 네임스페이스에서): + +`findpod` + +- Pod 세부 정보 가져오기 (모든 네임스페이스에서): + +`findpod -a` + +- Pod 설명: + +`describepod` + +- Pod 로그 실시간 보기: + +`tailpod` + +- Pod의 컨테이너에 접속: + +`execpod {{셸_명령어}}` + +- Pod 포트 포워딩: + +`pfpod {{포트_번호}}` diff --git a/pages.ko/common/kubeadm.md b/pages.ko/common/kubeadm.md new file mode 100644 index 00000000000000..59c97620b49bc3 --- /dev/null +++ b/pages.ko/common/kubeadm.md @@ -0,0 +1,32 @@ +# kubeadm + +> Kubernetes 클러스터를 생성하고 관리하기 위한 명령줄 인터페이스. +> 더 많은 정보: . + +- Kubernetes 마스터 노드 생성: + +`kubeadm init` + +- Kubernetes 워커 노드를 부트스트랩하고 클러스터에 가입: + +`kubeadm join --token {{토큰}}` + +- TTL이 12시간인 새로운 부트스트랩 토큰 생성: + +`kubeadm token create --ttl {{12h0m0s}}` + +- Kubernetes 클러스터가 업그레이드 가능한지와 사용 가능한 버전 확인: + +`kubeadm upgrade plan` + +- 지정된 버전으로 Kubernetes 클러스터 업그레이드: + +`kubeadm upgrade apply {{버전}}` + +- 클러스터의 구성이 포함된 kubeadm ConfigMap 보기: + +`kubeadm config view` + +- 'kubeadm init' 또는 'kubeadm join'으로 호스트에 적용된 변경사항 되돌리기: + +`kubeadm reset` diff --git a/pages.ko/common/kubectl-apply.md b/pages.ko/common/kubectl-apply.md new file mode 100644 index 00000000000000..16bae60f907798 --- /dev/null +++ b/pages.ko/common/kubectl-apply.md @@ -0,0 +1,21 @@ +# kubectl apply + +> Kubernetes 리소스를 정의하는 파일을 통해 애플리케이션을 관리하세요. +> 클러스터에서 리소스를 생성하고 업데이트하세요. +> 더 많은 정보: . + +- 파일 이름이나 `stdin`으로 리소스에 설정 적용: + +`kubectl apply {{[-f|--filename]}} {{리소스_파일명}}` + +- 기본 편집기를 사용하여 리소스의 최신 마지막 적용 구성 주석 수정: + +`kubectl apply edit-last-applied {{[-f|--filename]}} {{리소스_파일명}}` + +- 파일 내용과 일치하도록 설정하여 최신 마지막 적용 구성 주석 설정: + +`kubectl apply set-last-applied {{[-f|--filename]}} {{리소스_파일명}}` + +- 유형/이름 또는 파일로 최신 마지막 적용 구성 주석 보기: + +`kubectl apply view-last-applied {{[-f|--filename]}} {{리소스_파일명}}` diff --git a/pages.ko/common/kubectl-config.md b/pages.ko/common/kubectl-config.md new file mode 100644 index 00000000000000..00ee9d995b4f8e --- /dev/null +++ b/pages.ko/common/kubectl-config.md @@ -0,0 +1,30 @@ +# kubectl config + +> Kubernetes 구성(kubeconfig) 파일을 관리하여 `kubectl` 또는 Kubernetes API를 통해 클러스터에 접근할 수 있도록 함. +> 기본적으로 Kubernetes는 `${HOME}/.kube/config`에서 구성을 가져옵니다. +> 같이 보기: `kubectx`, `kubens`. +> 더 많은 정보: . + +- 기본 kubeconfig 파일에서 모든 컨텍스트 가져오기: + +`kubectl config get-contexts` + +- 사용자 지정 kubeconfig 파일에서 모든 클러스터/컨텍스트/사용자 가져오기: + +`kubectl config {{get-clusters|get-contexts|get-users}} --kubeconfig {{경로/대상/kubeconfig.yaml}}` + +- 현재 컨텍스트 가져오기: + +`kubectl config current-context` + +- 다른 컨텍스트로 전환: + +`kubectl config {{use|use-context}} {{컨텍스트_이름}}` + +- 클러스터/컨텍스트/사용자 삭제: + +`kubectl config {{delete-cluster|delete-context|delete-user}} {{cluster|context|user}}` + +- 사용자 지정 kubeconfig 파일을 영구적으로 추가: + +`export KUBECONFIG="{{$HOME.kube/config:경로/대상/사용자/정의/kubeconfig.yaml}}" kubectl config get-contexts` diff --git a/pages.ko/common/kubectl-create.md b/pages.ko/common/kubectl-create.md new file mode 100644 index 00000000000000..3ebdc4198b6248 --- /dev/null +++ b/pages.ko/common/kubectl-create.md @@ -0,0 +1,28 @@ +# kubectl create + +> 파일 또는 `stdin`에서 리소스를 생성. +> 더 많은 정보: . + +- 리소스 정의 파일을 사용하여 리소스 생성: + +`kubectl create {{[-f|--filename]}} {{경로/대상/파일.yml}}` + +- `stdin`에서 리소스 생성: + +`kubectl create {{[-f|--filename]}} -` + +- 배포 생성: + +`kubectl create deployment {{배포_이름}} --image={{이미지}}` + +- 복제본과 함께 배포 생성: + +`kubectl create deployment {{배포_이름}} --image={{이미지}} --replicas={{복제본_수}}` + +- 서비스 생성: + +`kubectl create service {{서비스_유형}} {{서비스_이름}} --tcp={{포트}}:{{대상_포트}}` + +- 네임스페이스 생성: + +`kubectl create namespace {{네임스페이스_이름}}` diff --git a/pages.ko/common/kubectl-delete.md b/pages.ko/common/kubectl-delete.md new file mode 100644 index 00000000000000..b76d967f41b20f --- /dev/null +++ b/pages.ko/common/kubectl-delete.md @@ -0,0 +1,32 @@ +# kubectl delete + +> Kubernetes 리소스 삭제. +> 더 많은 정보: . + +- 특정 포드 삭제: + +`kubectl delete {{[po|pod]}} {{포드_이름}}` + +- 특정 배포 삭제: + +`kubectl delete {{[deploy|deployment]}} {{배포_이름}}` + +- 특정 노드 삭제: + +`kubectl delete {{[no|node]}} {{노드_이름}}` + +- 지정된 네임스페이스의 모든 포드 삭제: + +`kubectl delete {{[po|pods]}} --all {{[-n|--namespace]}} {{네임스페이스}}` + +- 지정된 네임스페이스의 모든 배포 및 서비스 삭제: + +`kubectl delete {{[deploy|deployment]}},{{[svc|services]}} --all {{[-n|--namespace]}} {{네임스페이스}}` + +- 모든 노드 삭제: + +`kubectl delete {{[no|nodes]}} --all` + +- YAML 매니페스트에 정의된 리소스 삭제: + +`kubectl delete {{[-f|--filename]}} {{경로/대상/매니페스트.yaml}}` diff --git a/pages.ko/common/kubectl-describe.md b/pages.ko/common/kubectl-describe.md new file mode 100644 index 00000000000000..f5f10fa7d0a0c1 --- /dev/null +++ b/pages.ko/common/kubectl-describe.md @@ -0,0 +1,24 @@ +# kubectl describe + +> Kubernetes 객체 및 리소스의 세부 정보 표시. +> 더 많은 정보: . + +- [n]amespace의 포드 세부 정보 표시: + +`kubectl describe {{[po|pods]}} {{[-n|--namespace]}} {{네임스페이스}}` + +- [n]amespace의 노드 세부 정보 표시: + +`kubectl describe {{[no|nodes]}} {{[-n|--namespace]}} {{네임스페이스}}` + +- [n]amespace의 특정 포드 세부 정보 표시: + +`kubectl describe {{[po|pods]}} {{포드_이름}} {{[-n|--namespace]}} {{네임스페이스}}` + +- [n]amespace의 특정 노드 세부 정보 표시: + +`kubectl describe {{[no|nodes]}} {{노드_이름}} {{[-n|--namespace]}} {{네임스페이스}}` + +- YAML 매니페스트 [f]ile에 정의된 Kubernetes 객체의 세부 정보 표시: + +`kubectl describe {{[-f|--filename]}} {{경로/대상/manifest.yaml}}` diff --git a/pages.ko/common/kubectl-edit.md b/pages.ko/common/kubectl-edit.md new file mode 100644 index 00000000000000..ecd530430b32d2 --- /dev/null +++ b/pages.ko/common/kubectl-edit.md @@ -0,0 +1,24 @@ +# kubectl edit + +> Kubernetes 리소스를 편집. +> 더 많은 정보: . + +- Pod 편집: + +`kubectl edit pod/{{pod_이름}}` + +- Deployment 편집: + +`kubectl edit deployment/{{deployment_이름}}` + +- Service 편집: + +`kubectl edit svc/{{service_이름}}` + +- 특정 편집기를 사용하여 리소스 편집: + +`KUBE_EDITOR={{nano}} kubectl edit {{resource}}/{{리소스_이름}}` + +- JSON 형식으로 리소스 편집: + +`kubectl edit {{resource}}/{{리소스_이름}} --output json` diff --git a/pages.ko/common/kubectl-expose.md b/pages.ko/common/kubectl-expose.md new file mode 100644 index 00000000000000..126ab6a52f1cc5 --- /dev/null +++ b/pages.ko/common/kubectl-expose.md @@ -0,0 +1,16 @@ +# kubectl expose + +> 리소스를 새로운 Kubernetes 서비스로 노출. +> 더 많은 정보: . + +- 컨테이너 포트에서 노드 포트로 제공될 리소스에 대한 서비스 생성: + +`kubectl expose {{리소스_타입}} {{리소스_이름}} --port={{노드_포트}} --target-port={{컨테이너_포트}}` + +- 파일로 식별된 리소스에 대한 서비스 생성: + +`kubectl expose {{[-f|--filename]}} {{경로/대상/파일.yml}} --port={{노드_포트}} --target-port={{컨테이너_포트}}` + +- 컨테이너 포트와 동일한 노드 포트로 제공할 이름이 있는 서비스 생성: + +`kubectl expose {{리소스_타입}} {{리소스_이름}} --port={{노드_포트}} --name={{서비스_이름}}` diff --git a/pages.ko/common/kubectl-get.md b/pages.ko/common/kubectl-get.md new file mode 100644 index 00000000000000..699703557052cd --- /dev/null +++ b/pages.ko/common/kubectl-get.md @@ -0,0 +1,32 @@ +# kubectl get + +> Kubernetes 객체 및 리소스 가져오기. +> 더 많은 정보: . + +- 현재 클러스터의 모든 네임스페이스 가져오기: + +`kubectl get namespaces` + +- 지정된 [n]amespace의 노드 가져오기: + +`kubectl get nodes {{[-n|--namespace]}} {{네임스페이스}}` + +- 지정된 [n]amespace의 파드 가져오기: + +`kubectl get pods {{[-n|--namespace]}} {{네임스페이스}}` + +- 지정된 [n]amespace의 배포 가져오기: + +`kubectl get deployments {{[-n|--namespace]}} {{네임스페이스}}` + +- 지정된 [n]amespace의 서비스 가져오기: + +`kubectl get services {{[-n|--namespace]}} {{네임스페이스}}` + +- 지정된 [n]amespace의 모든 리소스 가져오기: + +`kubectl get all {{[-n|--namespace]}} {{네임스페이스}}` + +- YAML 매니페스트 [f]ile에 정의된 Kubernetes 객체 가져오기: + +`kubectl get {{[-f|--filename]}} {{경로/대상/매니페스트.yaml}}` diff --git a/pages.ko/common/kubectl-label.md b/pages.ko/common/kubectl-label.md new file mode 100644 index 00000000000000..2cdf31761a0e4b --- /dev/null +++ b/pages.ko/common/kubectl-label.md @@ -0,0 +1,24 @@ +# kubectl label + +> Kubernetes 리소스에 레이블 지정. +> 더 많은 정보: . + +- 포드에 레이블 지정: + +`kubectl label pod {{포드_이름}} {{키}}={{값}}` + +- 기존 값을 덮어쓰며 포드 레이블 업데이트: + +`kubectl label --overwrite pod {{포드_이름}} {{키}}={{값}}` + +- 네임스페이스의 모든 포드에 레이블 지정: + +`kubectl label pods --all {{키}}={{값}}` + +- 포드 정의 파일로 식별된 포드에 레이블 지정: + +`kubectl label {{[-f|--filename]}} {{포드_정의_파일}} {{키}}={{값}}` + +- 포드에서 레이블 제거: + +`kubectl label pod {{포드_이름}} {{키}}-` diff --git a/pages.ko/common/kubectl-logs.md b/pages.ko/common/kubectl-logs.md new file mode 100644 index 00000000000000..e633e4002c73a1 --- /dev/null +++ b/pages.ko/common/kubectl-logs.md @@ -0,0 +1,32 @@ +# kubectl logs + +> 컨테이너의 로그를 조회하는 도구. +> 더 많은 정보: . + +- 단일 컨테이너가 있는 파드의 로그 조회: + +`kubectl logs {{포드_이름}}` + +- 특정 컨테이너의 로그 조회: + +`kubectl logs {{[-c|--container]}} {{컨테이너_이름}} {{포드_이름}}` + +- 포드 내 모든 컨테이너의 로그 조회: + +`kubectl logs --all-containers={{true}} {{포드_이름}}` + +- 포드 로그 스트리밍: + +`kubectl logs {{[-f|--follow]}} {{포드_이름}}` + +- `10s`, `5m` 또는 `1h`와 같은 상대 시간 이후의 포드 로그 조회: + +`kubectl logs --since={{상대_시간}} {{포드_이름}}` + +- 가장 최근의 10개의 포드 로그 조회: + +`kubectl logs --tail={{10}} {{포드_이름}}` + +- 특정 배포의 모든 포드 로그 조회: + +`kubectl logs deployment/{{배포_이름}}` diff --git a/pages.ko/common/kubectl-replace.md b/pages.ko/common/kubectl-replace.md new file mode 100644 index 00000000000000..c284f77dedb7df --- /dev/null +++ b/pages.ko/common/kubectl-replace.md @@ -0,0 +1,16 @@ +# kubectl replace + +> 파일 또는 `stdin`을 통해 리소스를 교체. +> 더 많은 정보: . + +- 리소스 정의 파일을 사용하여 리소스 교체: + +`kubectl replace {{[-f|--filename]}} {{경로/대상/파일.yml}}` + +- `stdin`으로 전달된 입력을 사용하여 리소스 교체: + +`kubectl replace {{[-f|--filename]}} -` + +- 강제로 교체: 리소스를 삭제한 후 다시 생성: + +`kubectl replace --force {{[-f|--filename]}} {{경로/대상/파일.yml}}` diff --git a/pages.ko/common/kubectl-rollout.md b/pages.ko/common/kubectl-rollout.md new file mode 100644 index 00000000000000..9f4fbd07e344c6 --- /dev/null +++ b/pages.ko/common/kubectl-rollout.md @@ -0,0 +1,20 @@ +# kubectl rollout + +> Kubernetes 리소스(배포, 데몬셋, 스테이트풀셋)의 롤아웃 관리. +> 더 많은 정보: . + +- 리소스의 롤링 재시작 시작: + +`kubectl rollout restart {{리소스_유형}}/{{리소스_이름}}` + +- 리소스의 롤링 업데이트 상태 보기: + +`kubectl rollout status {{리소스_유형}}/{{리소스_이름}}` + +- 리소스를 이전 리비전으로 롤백: + +`kubectl rollout undo {{리소스_유형}}/{{리소스_이름}}` + +- 리소스의 롤아웃 기록 보기: + +`kubectl rollout history {{리소스_유형}}/{{리소스_이름}}` diff --git a/pages.ko/common/kubectl-run.md b/pages.ko/common/kubectl-run.md new file mode 100644 index 00000000000000..beb05354d25ca2 --- /dev/null +++ b/pages.ko/common/kubectl-run.md @@ -0,0 +1,24 @@ +# kubectl run + +> Kubernetes에서 파드를 실행. 일부 K8S 버전에서 경고 메시지를 피하기 위해 파드 생성기를 지정. +> 더 많은 정보: . + +- nginx 파드를 실행하고 포트 80을 노출: + +`kubectl run {{nginx-dev}} --image=nginx --port 80` + +- TEST_VAR 환경 변수를 설정하여 nginx 파드 실행: + +`kubectl run {{nginx-dev}} --image=nginx --env="{{TEST_VAR}}={{testing}}"` + +- nginx 컨테이너를 생성하기 위해 수행될 API 호출을 표시: + +`kubectl run {{nginx-dev}} --image=nginx --dry-run={{none|server|client}}` + +- Ubuntu 파드를 대화형으로 실행, 재시작하지 않으며 종료 시 제거: + +`kubectl run {{temp-ubuntu}} --image=ubuntu:22.04 --restart=Never --rm -- /bin/bash` + +- 기본 명령을 echo로 변경하고 사용자 정의 인수를 지정하여 Ubuntu 파드 실행: + +`kubectl run {{temp-ubuntu}} --image=ubuntu:22.04 --command -- echo {{인수1 인수2 ...}}` diff --git a/pages.ko/common/kubectl-scale.md b/pages.ko/common/kubectl-scale.md new file mode 100644 index 00000000000000..967ef3388cddba --- /dev/null +++ b/pages.ko/common/kubectl-scale.md @@ -0,0 +1,16 @@ +# kubectl scale + +> 배포, 레플리카 세트, 복제 컨트롤러 또는 스테이트풀 세트의 크기를 조정. +> 더 많은 정보: . + +- 레플리카 세트 크기 조정: + +`kubectl scale --replicas={{레플리카_수}} rs/{{레플리카_이름}}` + +- 파일로 식별된 리소스 크기 조정: + +`kubectl scale --replicas={{레플리카_수}} {{[-f|--filename]}} {{경로/대상/파일.yml}}` + +- 현재 레플리카 수를 기준으로 배포 크기 조정: + +`kubectl scale --current-replicas={{현재_레플리카_수}} --replicas={{레플리카_수}} deployment/{{배포_이름}}` diff --git a/pages.ko/common/kubectl-taint.md b/pages.ko/common/kubectl-taint.md new file mode 100644 index 00000000000000..551f96c72e1559 --- /dev/null +++ b/pages.ko/common/kubectl-taint.md @@ -0,0 +1,16 @@ +# kubectl taint + +> 노드에 taint 업데이트. +> 더 많은 정보: . + +- 노드에 taint 적용: + +`kubectl taint {{[no|nodes]}} {{노드_이름}} {{라벨_키}}={{라벨_값}}:{{효과}}` + +- 노드에서 taint 제거: + +`kubectl taint {{[no|nodes]}} {{노드_이름}} {{라벨_키}}:{{효과}}-` + +- 노드에서 모든 taint 제거: + +`kubectl taint {{[no|nodes]}} {{노드_이름}} {{라벨_키}}-` diff --git a/pages.ko/common/kubectl.md b/pages.ko/common/kubectl.md new file mode 100644 index 00000000000000..c33fe49eb80971 --- /dev/null +++ b/pages.ko/common/kubectl.md @@ -0,0 +1,37 @@ +# kubectl + +> Kubernetes 클러스터에서 명령을 실행하기 위한 명령줄 인터페이스. +> `run`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 리소스에 대한 정보를 자세히 나열: + +`kubectl get {{pod|service|deployment|ingress|...}} {{[-o|--output]}} wide` + +- 지정된 포드에 'unhealthy' 레이블과 'true' 값을 추가: + +`kubectl label pods {{이름}} unhealthy=true` + +- 다양한 유형의 모든 리소스 나열: + +`kubectl get all` + +- 노드 또는 포드의 리소스(CPU/메모리/스토리지) 사용량 표시: + +`kubectl top {{pod|node}}` + +- 마스터 및 클러스터 서비스의 주소 출력: + +`kubectl cluster-info` + +- 특정 필드에 대한 설명 표시: + +`kubectl explain {{pods.spec.containers}}` + +- 포드 또는 지정된 리소스의 컨테이너 로그 출력: + +`kubectl logs {{포드_이름}}` + +- 기존 포드에서 명령 실행: + +`kubectl exec {{포드_이름}} -- {{ls /}}` diff --git a/pages.ko/common/kubectx.md b/pages.ko/common/kubectx.md new file mode 100644 index 00000000000000..b602b5142ad7b2 --- /dev/null +++ b/pages.ko/common/kubectx.md @@ -0,0 +1,28 @@ +# kubectx + +> `kubectl` 컨텍스트를 관리하고 전환하는 도구. +> 더 많은 정보: . + +- 컨텍스트 나열: + +`kubectx` + +- 지정된 이름의 컨텍스트로 전환: + +`kubectx {{이름}}` + +- 이전 컨텍스트로 전환: + +`kubectx -` + +- 지정된 이름의 컨텍스트 이름 변경: + +`kubectx {{별칭}}={{이름}}` + +- 현재 사용 중인 컨텍스트 표시: + +`kubectx -c` + +- 지정된 이름의 컨텍스트 삭제: + +`kubectx -d {{이름}}` diff --git a/pages.ko/common/kubens.md b/pages.ko/common/kubens.md new file mode 100644 index 00000000000000..94f5090e2bb01e --- /dev/null +++ b/pages.ko/common/kubens.md @@ -0,0 +1,16 @@ +# kubens + +> Kubernetes 네임스페이스 간 전환 유틸리티. +> 더 많은 정보: . + +- 네임스페이스 나열: + +`kubens` + +- 활성 네임스페이스 변경: + +`kubens {{이름}}` + +- 이전 네임스페이스로 전환: + +`kubens -` diff --git a/pages.ko/common/kubetail.md b/pages.ko/common/kubetail.md new file mode 100644 index 00000000000000..63f94af44d8f4d --- /dev/null +++ b/pages.ko/common/kubetail.md @@ -0,0 +1,20 @@ +# kubetail + +> 여러 Kubernetes 포드의 로그를 동시에 추적하는 유틸리티. +> 더 많은 정보: . + +- 여러 포드의 로그를 한 번에 추적 (포드 이름이 "my_app"으로 시작하는 경우): + +`kubetail {{my_app}}` + +- 여러 포드에서 특정 컨테이너의 로그만 추적: + +`kubetail {{my_app}} -c {{my_container}}` + +- 여러 포드에서 여러 컨테이너의 로그를 추적: + +`kubetail {{my_app}} -c {{my_container_1}} -c {{my_container_2}}` + +- 여러 애플리케이션의 로그를 동시에 추적하려면 쉼표로 구분: + +`kubetail {{my_app_1}},{{my_app_2}}` diff --git a/pages.ko/common/kustomize.md b/pages.ko/common/kustomize.md new file mode 100644 index 00000000000000..58883ff6422520 --- /dev/null +++ b/pages.ko/common/kustomize.md @@ -0,0 +1,20 @@ +# kustomize + +> Kubernetes 리소스를 쉽게 배포. +> 더 많은 정보: . + +- 리소스 및 네임스페이스가 포함된 커스터마이제이션 파일 생성: + +`kustomize create --resources {{deployment.yaml,service.yaml}} --namespace {{staging}}` + +- 커스터마이제이션 파일을 빌드하고 `kubectl`로 배포: + +`kustomize build . | kubectl apply -f -` + +- 커스터마이제이션 파일에 이미지 설정: + +`kustomize edit set image {{busybox=alpine:3.6}}` + +- 현재 디렉터리의 Kubernetes 리소스를 검색하여 커스터마이제이션 파일에 추가: + +`kustomize create --autodetect` diff --git a/pages.ko/common/l2ping.md b/pages.ko/common/l2ping.md new file mode 100644 index 00000000000000..d5453bd13145f1 --- /dev/null +++ b/pages.ko/common/l2ping.md @@ -0,0 +1,32 @@ +# l2ping + +> L2CAP 에코 요청을 보내고 응답을 받습니다. +> 더 많은 정보: . + +- 블루투스 장치에 핑: + +`sudo l2ping {{mac_주소}}` + +- 블루투스 장치에 역방향 핑: + +`sudo l2ping -r {{mac_주소}}` + +- 지정된 인터페이스에서 블루투스 장치에 핑: + +`sudo l2ping -i {{hci0}} {{mac_주소}}` + +- 지정된 크기의 데이터 패키지로 블루투스 장치에 핑: + +`sudo l2ping -s {{바이트_수}} {{mac_주소}}` + +- 블루투스 장치에 핑 플러드: + +`sudo l2ping -f {{mac_주소}}` + +- 블루투스 장치에 지정된 횟수만큼 핑: + +`sudo l2ping -c {{횟수}} {{mac_주소}}` + +- 요청 간의 지정된 지연으로 블루투스 장치에 핑: + +`sudo l2ping -d {{초}} {{mac_주소}}` diff --git a/pages.ko/common/lambo-new.md b/pages.ko/common/lambo-new.md new file mode 100644 index 00000000000000..1c015370051aa6 --- /dev/null +++ b/pages.ko/common/lambo-new.md @@ -0,0 +1,36 @@ +# lambo new + +> Laravel과 Valet을 위한 강력한 `laravel new`. +> 더 많은 정보: . + +- 새로운 Laravel 애플리케이션 생성: + +`lambo new {{앱_이름}}` + +- 특정 경로에 애플리케이션 설치: + +`lambo new --path={{경로/대상/폴더}} {{앱_이름}}` + +- 인증 스캐폴딩 포함: + +`lambo new --auth {{앱_이름}}` + +- 특정 프론트엔드 포함: + +`lambo new --{{vue|bootstrap|react}} {{앱_이름}}` + +- 프로젝트 생성 후 `npm` 종속성 설치: + +`lambo new --node {{앱_이름}}` + +- 프로젝트 생성 후 Valet 사이트 생성: + +`lambo new --link {{앱_이름}}` + +- 프로젝트와 동일한 이름의 새 MySQL 데이터베이스 생성: + +`lambo new --create-db --dbuser={{사용자}} --dbpassword={{비밀번호}} {{앱_이름}}` + +- 프로젝트 생성 후 특정 편집기 열기: + +`lambo new --editor="{{편집기}}" {{앱_이름}}` diff --git a/pages.ko/common/lambo.md b/pages.ko/common/lambo.md new file mode 100644 index 00000000000000..a7a899945d7099 --- /dev/null +++ b/pages.ko/common/lambo.md @@ -0,0 +1,21 @@ +# lambo + +> Laravel 및 Valet을 위한 강력한 `laravel new`. +> 추가 명령 플래그에 대해서는 `lambo new`를 참조하세요. +> 더 많은 정보: . + +- 새 Laravel 애플리케이션 생성: + +`lambo new {{앱_이름}}` + +- 기본 편집기로 구성 열기: + +`lambo edit-config` + +- 특정 편집기로 구성 열기: + +`lambo edit-config --editor="{{경로/대상/편집기}}"` + +- 새 애플리케이션이 스캐폴딩된 후 실행되는 구성 파일 열기: + +`lambo edit-after` diff --git a/pages.ko/common/lando.md b/pages.ko/common/lando.md new file mode 100644 index 00000000000000..08c5de257369ec --- /dev/null +++ b/pages.ko/common/lando.md @@ -0,0 +1,36 @@ +# lando + +> Docker를 기반으로 한 로컬 개발 환경 및 DevOps 도구. +> 더 많은 정보: . + +- `lando`에서 사용할 코드를 초기화: + +`lando init` + +- 앱에 대한 정보 출력: + +`lando info` + +- 앱 시작: + +`lando start` + +- 앱 중지: + +`lando stop` + +- 앱 재시작: + +`lando restart` + +- 데이터를 보존하며 앱을 처음부터 재구축: + +`lando rebuild` + +- 앱의 로그 표시: + +`lando logs` + +- 앱 삭제: + +`lando destroy` diff --git a/pages.ko/common/laravel-zero.md b/pages.ko/common/laravel-zero.md new file mode 100644 index 00000000000000..985a66cc7c5261 --- /dev/null +++ b/pages.ko/common/laravel-zero.md @@ -0,0 +1,16 @@ +# laravel-zero + +> Laravel Zero 프레임워크를 위한 명령줄 설치 도구. +> 더 많은 정보: . + +- 새 Laravel Zero 애플리케이션 생성: + +`laravel-zero new {{이름}}` + +- 설치 도구를 최신 버전으로 업데이트: + +`laravel-zero self-update` + +- 사용 가능한 설치 명령 나열: + +`laravel-zero list` diff --git a/pages.ko/common/laravel.md b/pages.ko/common/laravel.md new file mode 100644 index 00000000000000..94a57427d43bbb --- /dev/null +++ b/pages.ko/common/laravel.md @@ -0,0 +1,32 @@ +# laravel + +> Laravel 프레임워크를 위한 명령줄 설치 도구. +> 더 많은 정보: . + +- 새 Laravel 애플리케이션 생성: + +`laravel new {{이름}}` + +- 최신 개발 릴리스 사용: + +`laravel new {{이름}} --dev` + +- 디렉터리가 이미 존재하는 경우 덮어쓰기: + +`laravel new {{이름}} --force` + +- Laravel Jetstream 스캐폴딩 설치: + +`laravel new {{이름}} --jet` + +- 특정 스택을 사용하여 Laravel Jetstream 스캐폴딩 설치: + +`laravel new {{이름}} --jet --stack {{livewire|inertia}}` + +- 팀 지원과 함께 Laravel Jetstream 스캐폴딩 설치: + +`laravel new {{이름}} --jet --teams` + +- 사용 가능한 설치 도구 명령 나열: + +`laravel list` diff --git a/pages.ko/common/lastcomm.md b/pages.ko/common/lastcomm.md new file mode 100644 index 00000000000000..dde8f326faa268 --- /dev/null +++ b/pages.ko/common/lastcomm.md @@ -0,0 +1,20 @@ +# lastcomm + +> 마지막으로 실행된 명령어를 표시. +> 더 많은 정보: . + +- acct (기록 파일)에 있는 모든 명령어 정보 출력: + +`lastcomm` + +- 특정 사용자가 실행한 명령어 표시: + +`lastcomm --user {{사용자}}` + +- 시스템에서 실행된 특정 명령어 정보 표시: + +`lastcomm --command {{명령어}}` + +- 특정 터미널에서 실행된 명령어 정보 표시: + +`lastcomm --tty {{터미널_이름}}` diff --git a/pages.ko/common/latex.md b/pages.ko/common/latex.md new file mode 100644 index 00000000000000..0974f0dc878a48 --- /dev/null +++ b/pages.ko/common/latex.md @@ -0,0 +1,16 @@ +# latex + +> LaTeX 소스 파일에서 DVI 문서를 컴파일합니다. +> 더 많은 정보: . + +- DVI 문서 컴파일: + +`latex {{소스.tex}}` + +- 출력 디렉토리를 지정하여 DVI 문서 컴파일: + +`latex -output-directory={{경로/대상/폴더}} {{소스.tex}}` + +- 각 오류 발생 시 종료하며 DVI 문서 컴파일: + +`latex -halt-on-error {{소스.tex}}` diff --git a/pages.ko/common/latexdiff.md b/pages.ko/common/latexdiff.md new file mode 100644 index 00000000000000..2e29a3a1b36dcd --- /dev/null +++ b/pages.ko/common/latexdiff.md @@ -0,0 +1,16 @@ +# latexdiff + +> 두 개의 LaTeX 파일 간의 차이점을 확인. +> 더 많은 정보: . + +- 서로 다른 버전의 LaTeX 파일 간의 변경 사항 확인 (결과 LaTeX 파일은 밑줄로 차이점을 표시하도록 컴파일 가능): + +`latexdiff {{오래된.tex}} {{새.tex}} > {{차이.tex}}` + +- 서로 다른 버전의 LaTeX 파일 간의 변경 사항을 굵은 글씨로 강조하여 확인: + +`latexdiff --type=BOLD {{오래된.tex}} {{새.tex}} > {{차이.tex}}` + +- 서로 다른 버전의 LaTeX 파일 간의 변경 사항을 확인하고, 방정식의 작은 변경 사항을 추가 및 삭제된 그래픽과 함께 표시: + +`latexdiff --math-markup=fine --graphics-markup=both {{오래된.tex}} {{새.tex}} > {{차이.tex}}` diff --git a/pages.ko/common/latexmk.md b/pages.ko/common/latexmk.md new file mode 100644 index 00000000000000..38e5c884c98d72 --- /dev/null +++ b/pages.ko/common/latexmk.md @@ -0,0 +1,33 @@ +# latexmk + +> LaTeX 소스 파일을 완성된 문서로 컴파일. +> 필요에 따라 자동으로 여러 번 실행. +> 더 많은 정보: . + +- 모든 소스에서 DVI(장치 독립 파일) 문서 컴파일: + +`latexmk` + +- 특정 소스 파일에서 DVI 문서 컴파일: + +`latexmk {{경로/대상/소스.tex}}` + +- PDF 문서 컴파일: + +`latexmk -pdf {{경로/대상/소스.tex}}` + +- 문서를 뷰어에서 열고 소스 파일이 변경될 때마다 지속적으로 업데이트: + +`latexmk -pvc {{경로/대상/소스.tex}}` + +- 오류가 있어도 문서 생성을 강제: + +`latexmk -f {{경로/대상/소스.tex}}` + +- 특정 TEX 파일에 대해 생성된 임시 TEX 파일 정리: + +`latexmk -c {{경로/대상/소스.tex}}` + +- 현재 디렉토리의 모든 임시 TEX 파일 정리: + +`latexmk -c` diff --git a/pages.ko/common/laydown.md b/pages.ko/common/laydown.md new file mode 100644 index 00000000000000..1615a91aa29903 --- /dev/null +++ b/pages.ko/common/laydown.md @@ -0,0 +1,24 @@ +# laydown + +> 일일 스탠드업 준비를 위한 커맨드라인 애플리케이션. +> 더 많은 정보: . + +- DID 섹션에 항목 추가: + +`laydown did {{항목}}` + +- DOING 섹션에 항목 추가: + +`laydown doing {{항목}}` + +- 모든 항목 지우기: + +`laydown clear` + +- 편집기를 사용하여 현재 데이터 편집: + +`laydown edit` + +- 현재 데이터 아카이브 및 지우기: + +`laydown archive` diff --git a/pages.ko/common/lb.md b/pages.ko/common/lb.md new file mode 100644 index 00000000000000..a34014ccebb8af --- /dev/null +++ b/pages.ko/common/lb.md @@ -0,0 +1,29 @@ +# lb + +> 현재 디렉토리에 있는 블로그를 관리. +> 명령어 실행 시 상호 작용을 통해 작업할 초안과 게시글을 선택. +> 더 많은 정보: . + +- 새 초안 작성: + +`lb new` + +- 초안 편집: + +`lb edit` + +- 초안 삭제: + +`lb trash` + +- 초안 게시: + +`lb publish` + +- 게시된 글 삭제: + +`lb delete` + +- 게시된 글을 초안으로 다시 편집하기 위해 미게시 상태로 변경: + +`lb revise` diff --git a/pages.ko/common/lckdo.md b/pages.ko/common/lckdo.md new file mode 100644 index 00000000000000..32d1a1ca7cc86c --- /dev/null +++ b/pages.ko/common/lckdo.md @@ -0,0 +1,8 @@ +# lckdo + +> 이 명령은 더 이상 사용되지 않으며 `flock`으로 대체되었습니다. +> 더 많은 정보: . + +- 권장 대체 명령에 대한 문서 보기: + +`tldr flock` diff --git a/pages.ko/common/ld.md b/pages.ko/common/ld.md new file mode 100644 index 00000000000000..ee4f75ec9ae09c --- /dev/null +++ b/pages.ko/common/ld.md @@ -0,0 +1,16 @@ +# ld + +> 오브젝트 파일을 함께 링크. +> 더 많은 정보: . + +- 특정 오브젝트 파일을 의존성 없이 실행 파일로 링크: + +`ld {{경로/대상/파일.o}} --output {{경로/대상/출력_실행파일}}` + +- 두 오브젝트 파일을 함께 링크: + +`ld {{경로/대상/파일1.o}} {{경로/대상/파일2.o}} --output {{경로/대상/출력_실행파일}}` + +- x86_64 프로그램을 glibc에 동적으로 링크 (파일 경로는 시스템에 따라 달라짐): + +`ld --output {{경로/대상/출력_실행파일}} --dynamic-linker /lib/ld-linux-x86-64.so.2 /lib/crt1.o /lib/crti.o -lc {{경로/대상/파일.o}} /lib/crtn.o` diff --git a/pages.ko/common/ldapsearch.md b/pages.ko/common/ldapsearch.md new file mode 100644 index 00000000000000..92e9cda1937ec1 --- /dev/null +++ b/pages.ko/common/ldapsearch.md @@ -0,0 +1,36 @@ +# ldapsearch + +> LDAP 디렉토리를 쿼리. +> 더 많은 정보: . + +- 주어진 그룹의 멤버인 모든 항목을 LDAP 서버에서 쿼리하고 객체의 displayName 값을 반환: + +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' displayName` + +- 줄바꿈 없는 비밀번호 파일을 사용하여 주어진 그룹의 멤버인 모든 항목을 LDAP 서버에서 쿼리하고 객체의 displayName 값을 반환: + +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-u|--keyStorePasswordFile]}} '{{비밀번호_파일}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' displayName` + +- 주어진 필터에 맞는 5개의 항목 반환: + +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 5 displayName` + +- 응답을 최대 7초 동안 대기: + +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 7 displayName` + +- 필터 반전: + +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '(!(memberOf={{group1}}))' displayName` + +- 여러 그룹에 속한 모든 항목을 반환하고 각 항목의 display name 반환: + +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` + +- 지정된 그룹 중 적어도 1개에 속한 모든 항목 반환: + +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` + +- 여러 부울 논리 필터 결합: + +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName` diff --git a/pages.ko/common/ldc.md b/pages.ko/common/ldc.md new file mode 100644 index 00000000000000..a608ba13b263b2 --- /dev/null +++ b/pages.ko/common/ldc.md @@ -0,0 +1,24 @@ +# ldc + +> LLVM을 백엔드로 사용하는 D 컴파일러. +> 더 많은 정보: . + +- 소스 코드 파일을 실행 가능한 바이너리로 컴파일: + +`ldc2 {{경로/대상/소스.d}} -of={{경로/대상/출력_실행파일}}` + +- 소스 코드 파일을 링크하지 않고 컴파일: + +`ldc2 -c {{경로/대상/소스.d}}` + +- 대상 아키텍처와 OS 선택: + +`ldc -mtriple={{아키텍처_OS}} -c {{경로/대상/소스.d}}` + +- 도움말 표시: + +`ldc2 -h` + +- 전체 도움말 표시: + +`ldc2 -help-hidden` diff --git a/pages.ko/common/leaftoppm.md b/pages.ko/common/leaftoppm.md new file mode 100644 index 00000000000000..85eddd76dab530 --- /dev/null +++ b/pages.ko/common/leaftoppm.md @@ -0,0 +1,12 @@ +# leaftoppm + +> Interleaf 이미지를 PPM 이미지로 변환. +> 더 많은 정보: . + +- Interleaf 이미지 파일을 입력으로 받아 PPM 이미지 파일을 출력으로 생성: + +`leaftoppm {{경로/대상/파일.pl}}` + +- 버전 표시: + +`leaftoppm -version` diff --git a/pages.ko/common/leave.md b/pages.ko/common/leave.md new file mode 100644 index 00000000000000..4e38e44492eb04 --- /dev/null +++ b/pages.ko/common/leave.md @@ -0,0 +1,21 @@ +# leave + +> 출발할 시간이 되었을 때 알림을 설정. +> 알림을 제거하려면 `kill $(pidof leave)` 사용. +> 더 많은 정보: . + +- 지정된 시간에 알림 설정: + +`leave {{출발_시간}}` + +- 정오에 출발할 알림 설정: + +`leave {{1200}}` + +- 특정 시간 후에 알림 설정: + +`leave +{{시간_량}}` + +- 4시간 4분 후에 출발할 알림 설정: + +`leave +{{0404}}` diff --git a/pages.ko/common/lebab.md b/pages.ko/common/lebab.md new file mode 100644 index 00000000000000..f635ea84e4fd42 --- /dev/null +++ b/pages.ko/common/lebab.md @@ -0,0 +1,25 @@ +# lebab + +> ES6/ES7로 코드 변환을 위한 JavaScript 모더나이저. +> 모든 예시에 대한 변환이 제공되어야 합니다. +> 더 많은 정보: . + +- 하나 이상의 쉼표로 구분된 변환을 사용하여 트랜스파일: + +`lebab --transform {{변환1,변환2,...}}` + +- 파일을 `stdout`으로 트랜스파일: + +`lebab {{경로/대상/입력_파일}}` + +- 파일을 지정된 출력 파일로 트랜스파일: + +`lebab {{경로/대상/입력_파일}} --out-file {{경로/대상/출력_파일}}` + +- 지정된 디렉토리, 글로브 또는 파일의 모든 `.js` 파일을 제자리에서 대체: + +`lebab --replace {{디렉토리|글로브|파일}}` + +- 도움말 표시: + +`lebab --help` diff --git a/pages.ko/common/ledger.md b/pages.ko/common/ledger.md new file mode 100644 index 00000000000000..41d2a10550d665 --- /dev/null +++ b/pages.ko/common/ledger.md @@ -0,0 +1,24 @@ +# ledger + +> 강력한 복식부기 회계 시스템. +> 더 많은 정보: . + +- 총계를 보여주는 잔액 보고서 출력: + +`ledger balance --file {{경로/대상/ledger.journal}}` + +- 금액순으로 정렬된 지출 내역의 모든 게시물 나열: + +`ledger register {{지출}} --sorted {{금액}}` + +- 음료 및 음식 이외의 총 지출 출력: + +`ledger balance {{지출}} and not ({{음료}} or {{음식}})` + +- 예산 보고서 출력: + +`ledger budget` + +- 모든 게시물에 대한 요약 정보 출력: + +`ledger stats` diff --git a/pages.ko/common/lein.md b/pages.ko/common/lein.md new file mode 100644 index 00000000000000..457385f722cee1 --- /dev/null +++ b/pages.ko/common/lein.md @@ -0,0 +1,24 @@ +# lein + +> 선언적 구성을 사용하여 Clojure 프로젝트를 관리. +> 더 많은 정보: . + +- 템플릿을 기반으로 새 프로젝트의 구조 생성: + +`lein new {{템플릿_이름}} {{프로젝트_이름}}` + +- 프로젝트와 함께 또는 독립적으로 REPL 세션 시작: + +`lein repl` + +- 프로젝트의 `-main` 함수와 선택적 인수 실행: + +`lein run {{인수}}` + +- 프로젝트 테스트 실행: + +`lein test` + +- 프로젝트 파일과 모든 의존성을 jar 파일로 패키징: + +`lein uberjar` diff --git a/pages.ko/common/lerna.md b/pages.ko/common/lerna.md new file mode 100644 index 00000000000000..5a83d761947de9 --- /dev/null +++ b/pages.ko/common/lerna.md @@ -0,0 +1,24 @@ +# lerna + +> 여러 패키지가 있는 JavaScript 프로젝트 관리. +> 더 많은 정보: . + +- 프로젝트 파일 초기화(`lerna.json`, `package.json`, `.git` 등): + +`lerna init` + +- 각 패키지의 모든 외부 의존성을 설치하고 로컬 의존성을 심볼릭 링크로 연결: + +`lerna bootstrap` + +- `package.json`에 포함된 특정 스크립트를 모든 패키지에서 실행: + +`lerna run {{스크립트}}` + +- 모든 패키지에서 임의의 셸 명령 실행: + +`lerna exec -- {{ls}}` + +- 마지막 릴리스 이후 변경된 모든 패키지 배포: + +`lerna publish` diff --git a/pages.ko/common/less-than.md b/pages.ko/common/less-than.md new file mode 100644 index 00000000000000..2139756d431d92 --- /dev/null +++ b/pages.ko/common/less-than.md @@ -0,0 +1,16 @@ +# Less than + +> 데이터를 `stdin`으로 리다이렉트. +> 더 많은 정보: . + +- 파일을 `stdin`으로 리다이렉트 (`cat file.txt |`와 동일한 효과를 가짐): + +`{{명령어}} < {{경로/대상/파일.txt}}` + +- 히어 문서를 생성하여 `stdin`으로 전달 (여러 줄 명령 필요): + +`{{명령어}} << {{EOF}} {{여러_줄_데이터}} {{EOF}}` + +- 히어 문자열을 생성하여 `stdin`으로 전달 (`echo string |`와 동일한 효과를 가짐): + +`{{명령어}} <<< {{문자열}}` diff --git a/pages.ko/common/less.md b/pages.ko/common/less.md new file mode 100644 index 00000000000000..ceb973becdd6dc --- /dev/null +++ b/pages.ko/common/less.md @@ -0,0 +1,36 @@ +# less + +> 파일을 인터랙티브하게 열어 스크롤 및 검색할 수 있음. +> 더 많은 정보: . + +- 파일 열기: + +`less {{소스_파일}}` + +- 페이지 아래로/위로 이동: + +`{{|}}` + +- 파일 끝/시작으로 이동: + +`{{|}}` + +- 문자열을 앞으로 검색 (다음/이전 일치 항목으로 이동하려면 ``/``을 누름): + +`{{무언가}}` + +- 문자열을 뒤로 검색 (다음/이전 일치 항목으로 이동하려면 ``/``을 누름): + +`{{무언가}}` + +- 현재 열린 파일의 출력을 따라가기: + +`` + +- 현재 파일을 편집기에서 열기: + +`` + +- 종료: + +`` diff --git a/pages.ko/common/lex.md b/pages.ko/common/lex.md new file mode 100644 index 00000000000000..74bc1835db2ff4 --- /dev/null +++ b/pages.ko/common/lex.md @@ -0,0 +1,18 @@ +# lex + +> 어휘 분석기 생성기. +> 어휘 분석기의 명세가 주어지면 이를 구현하는 C 코드를 생성합니다. +> 참고: 대부분의 주요 운영 체제에서 이 명령은 `flex`의 별칭입니다. +> 더 많은 정보: . + +- Lex 파일로부터 분석기를 생성하고, `lex.yy.c` 파일에 저장: + +`lex {{분석기.l}}` + +- 출력 파일 지정: + +`lex -t {{분석기.l}} > {{분석기.c}}` + +- Lex가 생성한 C 파일 컴파일: + +`c99 {{경로/대상/lex.yy.c}} -o {{실행_파일}}` diff --git a/pages.ko/common/libreoffice.md b/pages.ko/common/libreoffice.md new file mode 100644 index 00000000000000..3d4e931220c38d --- /dev/null +++ b/pages.ko/common/libreoffice.md @@ -0,0 +1,20 @@ +# libreoffice + +> 강력하고 무료인 오피스 제품군 LibreOffice의 CLI. +> 더 많은 정보: . + +- 하나 이상의 파일을 읽기 전용 모드로 열기: + +`libreoffice --view {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 하나 이상의 파일 내용 표시: + +`libreoffice --cat {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 프린터를 사용하여 파일 인쇄: + +`libreoffice --pt {{프린터_이름}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 현재 디렉터리의 모든 `.doc` 파일을 PDF로 변환: + +`libreoffice --convert-to pdf *.doc` diff --git a/pages.ko/common/license.md b/pages.ko/common/license.md new file mode 100644 index 00000000000000..202b524fc0bc4c --- /dev/null +++ b/pages.ko/common/license.md @@ -0,0 +1,20 @@ +# license + +> 오픈 소스 프로젝트를 위한 라이선스 파일 생성. +> 더 많은 정보: . + +- 기본값(자동 감지된 작성자 이름 및 현재 연도)을 사용하여 `stdout`에 라이선스 출력: + +`license {{라이선스_이름}}` + +- 라이선스를 생성하고 파일에 저장: + +`license -o {{경로/대상/파일}} {{라이선스_이름}}` + +- 사용 가능한 모든 라이선스 나열: + +`license ls` + +- 사용자 정의 작성자 이름과 연도로 라이선스 생성: + +`license --name {{작성자}} --year {{출시_연도}} {{라이선스_이름}}` diff --git a/pages.ko/common/licensor.md b/pages.ko/common/licensor.md new file mode 100644 index 00000000000000..686946d4bef46f --- /dev/null +++ b/pages.ko/common/licensor.md @@ -0,0 +1,28 @@ +# licensor + +> 라이선스를 `stdout`에 출력. +> 더 많은 정보: . + +- MIT 라이선스를 `LICENSE`라는 이름의 파일에 작성: + +`licensor {{MIT}} > {{LICENSE}}` + +- [p]laceholder 저작권 공지를 포함하여 MIT 라이선스를 `LICENSE`라는 이름의 파일에 작성: + +`licensor -p {{MIT}} > {{LICENSE}}` + +- Bobby Tables라는 저작권자를 지정: + +`licensor {{MIT}} "{{Bobby Tables}}" > {{LICENSE}}` + +- WITH 표현을 사용하여 라이선스 예외사항 지정: + +`licensor "{{Apache-2.0 WITH LLVM-exception}}" > {{LICENSE}}` + +- 사용 가능한 모든 라이선스 목록: + +`licensor --licenses` + +- 사용 가능한 모든 예외사항 목록: + +`licensor --exceptions` diff --git a/pages.ko/common/light-arionum-cli.md b/pages.ko/common/light-arionum-cli.md new file mode 100644 index 00000000000000..d09c77848857e1 --- /dev/null +++ b/pages.ko/common/light-arionum-cli.md @@ -0,0 +1,36 @@ +# light-arionum-cli + +> Arionum 암호화폐를 위한 PHP 경량 지갑. +> 더 많은 정보: . + +- 새로운 공개/개인 키 쌍 생성: + +`light-arionum-cli` + +- 현재 주소의 잔액 표시: + +`light-arionum-cli balance` + +- 지정된 주소의 잔액 표시: + +`light-arionum-cli balance {{주소}}` + +- 선택적 메시지와 함께 거래 전송: + +`light-arionum-cli send {{주소}} {{값}} {{선택적_메시지}}` + +- 현재 지갑 정보 내보내기: + +`light-arionum-cli export` + +- 현재 블록에 대한 정보 표시: + +`light-arionum-cli block` + +- 현재 주소의 거래 내역 정보 표시: + +`light-arionum-cli transactions` + +- 특정 거래에 대한 정보 표시: + +`light-arionum-cli transaction {{거래_ID}}` diff --git a/pages.ko/common/lighthouse.md b/pages.ko/common/lighthouse.md new file mode 100644 index 00000000000000..3fff3149e8ca17 --- /dev/null +++ b/pages.ko/common/lighthouse.md @@ -0,0 +1,36 @@ +# lighthouse + +> 웹 애플리케이션과 웹 페이지를 분석하여 최신 성능 메트릭과 개발자 모범 사례에 대한 통찰을 수집합니다. +> 더 많은 정보: . + +- 특정 웹사이트에 대한 HTML 보고서를 생성하고 현재 디렉토리에 파일로 저장: + +`lighthouse {{https://example.com}}` + +- JSON 보고서를 생성하고 출력: + +`lighthouse --output {{json}} {{https://example.com}}` + +- JSON 보고서를 생성하고 특정 파일에 저장: + +`lighthouse --output {{json}} --output-path {{경로/대상/파일.json}} {{https://example.com}}` + +- 브라우저를 무헤드 모드로 사용하고 `stdout`에 기록하지 않고 보고서 생성: + +`lighthouse --quiet --chrome-flags="{{--headless}}" {{https://example.com}}` + +- 모든 요청에 대해 지정된 JSON 파일의 HTTP 헤더 키/값 쌍을 사용하여 보고서 생성: + +`lighthouse --extra-headers={{경로/대상/파일.json}} {{https://example.com}}` + +- 특정 카테고리만을 위한 보고서 생성: + +`lighthouse --only-categories={{performance,accessibility,best-practices,seo,pwa}} {{https://example.com}}` + +- 장치 에뮬레이션과 모든 제한을 비활성화하여 보고서 생성: + +`lighthouse --screenEmulation.disabled --throttling-method={{provided}} --no-emulatedUserAgent {{https://example.com}}` + +- 도움말 표시: + +`lighthouse --help` diff --git a/pages.ko/common/lilypond.md b/pages.ko/common/lilypond.md new file mode 100644 index 00000000000000..569d0cb240acaf --- /dev/null +++ b/pages.ko/common/lilypond.md @@ -0,0 +1,25 @@ +# lilypond + +> 악보를 조판하고/또는 파일에서 MIDI를 생성합니다. +> 같이 보기: `musescore`. +> 더 많은 정보: . + +- lilypond 파일을 PDF로 컴파일: + +`lilypond {{경로/대상/파일}}` + +- 지정된 형식으로 컴파일: + +`lilypond --formats={{형식_덤프}} {{경로/대상/파일}}` + +- 진행 상태 업데이트를 생략하고 지정된 파일을 컴파일: + +`lilypond -s {{경로/대상/파일}}` + +- 지정된 파일을 컴파일하고 출력 파일 이름 지정: + +`lilypond --output={{경로/대상/출력_파일}} {{경로/대상/입력_파일}}` + +- lilypond의 현재 버전 확인: + +`lilypond --version` diff --git a/pages.ko/common/lima.md b/pages.ko/common/lima.md new file mode 100644 index 00000000000000..ad03bba8f59071 --- /dev/null +++ b/pages.ko/common/lima.md @@ -0,0 +1,8 @@ +# lima + +> 이 명령은 기본 VM 인스턴스에 대한 `limactl shell`의 별칭입니다. +> 다른 인스턴스에서 작업하려면 `$LIMA_INSTANCE` 환경 변수를 설정할 수도 있습니다. + +- 원본 명령에 대한 문서 보기: + +`tldr limactl` diff --git a/pages.ko/common/limactl.md b/pages.ko/common/limactl.md new file mode 100644 index 00000000000000..0aa1da80e9dc83 --- /dev/null +++ b/pages.ko/common/limactl.md @@ -0,0 +1,33 @@ +# limactl + +> Linux 게스트용 가상 머신 관리자로, 여러 VM 템플릿을 제공합니다. +> macOS에서 컨테이너 실행에 사용할 수 있으며, macOS 및 Linux 호스트에서 일반적인 가상 머신 사용 사례에도 적합합니다. +> 더 많은 정보: . + +- VM 목록 보기: + +`limactl list` + +- 기본 설정을 사용하여 VM 생성(선택적으로 이름 및/또는 템플릿 제공 가능, 사용 가능한 템플릿은 `limactl create --list-templates` 참조): + +`limactl create --name {{vm_이름}} template://{{debian|fedora|ubuntu|...}}` + +- VM 시작(일부 의존성이 설치될 수 있으며 몇 분이 소요될 수 있음): + +`limactl start {{vm_이름}}` + +- VM 내부에서 원격 셸 열기: + +`limactl shell {{vm_이름}}` + +- VM 내부에서 명령 실행: + +`limactl shell {{vm_이름}} {{명령어}}` + +- VM 중지/종료: + +`limactl stop {{vm_이름}}` + +- VM 삭제: + +`limactl remove {{vm_이름}}` diff --git a/pages.ko/common/link.md b/pages.ko/common/link.md new file mode 100644 index 00000000000000..6a943131332940 --- /dev/null +++ b/pages.ko/common/link.md @@ -0,0 +1,9 @@ +# link + +> 기존 파일에 대한 하드 링크 생성. +> 더 많은 옵션은 `ln` 명령을 참조하세요. +> 더 많은 정보: . + +- 기존 파일에 새로운 파일로 하드 링크 생성: + +`link {{경로/대상/기존_파일}} {{경로/대상/새로운_파일}}` diff --git a/pages.ko/common/linkchecker.md b/pages.ko/common/linkchecker.md new file mode 100644 index 00000000000000..9cd5e435e107e7 --- /dev/null +++ b/pages.ko/common/linkchecker.md @@ -0,0 +1,20 @@ +# linkchecker + +> HTML 문서 및 웹사이트의 깨진 링크를 확인하는 명령줄 클라이언트. +> 더 많은 정보: . + +- 에서 깨진 링크 찾기: + +`linkchecker {{https://example.com/}}` + +- 외부 도메인을 가리키는 URL도 확인: + +`linkchecker --check-extern {{https://example.com/}}` + +- 특정 정규 표현식과 일치하는 URL 무시: + +`linkchecker --ignore-url {{정규_표현식}} {{https://example.com/}}` + +- 결과를 CSV 파일로 출력: + +`linkchecker --file-output {{csv}}/{{경로/대상/파일}} {{https://example.com/}}` diff --git a/pages.ko/common/linode-cli-account.md b/pages.ko/common/linode-cli-account.md new file mode 100644 index 00000000000000..7d4658f45221a2 --- /dev/null +++ b/pages.ko/common/linode-cli-account.md @@ -0,0 +1,21 @@ +# linode-cli account + +> Linode 계정 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 계정 보기: + +`linode-cli account view` + +- 계정 설정 보기: + +`linode-cli account settings` + +- 결제하기: + +`linode-cli account payment-create --cvv {{CVV}} --usd {{달러_금액}}` + +- 계정 알림 보기: + +`linode-cli account notifications-list` diff --git a/pages.ko/common/linode-cli-domains.md b/pages.ko/common/linode-cli-domains.md new file mode 100644 index 00000000000000..181812c51020b9 --- /dev/null +++ b/pages.ko/common/linode-cli-domains.md @@ -0,0 +1,37 @@ +# linode-cli domains + +> Linode 도메인 및 DNS 구성 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 관리되는 모든 도메인 나열: + +`linode-cli domains list` + +- 새 관리 도메인 생성: + +`linode-cli domains create --domain {{도메인_이름}} --type {{master|slave}} --soa-email {{이메일}}` + +- 특정 도메인의 세부 정보 보기: + +`linode-cli domains view {{도메인_ID}}` + +- 관리 도메인 삭제: + +`linode-cli domains delete {{도메인_ID}}` + +- 특정 도메인의 레코드 나열: + +`linode-cli domains records-list {{도메인_ID}}` + +- 도메인에 DNS 레코드 추가: + +`linode-cli domains records-create {{도메인_ID}} --type {{A|AAAA|CNAME|MX|...}} --name {{서브도메인}} --target {{대상_값}}` + +- 도메인의 DNS 레코드 업데이트: + +`linode-cli domains records-update {{도메인_ID}} {{레코드_ID}} --target {{새로운_대상_값}}` + +- 도메인에서 DNS 레코드 삭제: + +`linode-cli domains records-delete {{도메인_ID}} {{레코드_ID}}` diff --git a/pages.ko/common/linode-cli-events.md b/pages.ko/common/linode-cli-events.md new file mode 100644 index 00000000000000..1a44d216abbbcf --- /dev/null +++ b/pages.ko/common/linode-cli-events.md @@ -0,0 +1,17 @@ +# linode-cli events + +> Linode 이벤트 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 계정의 이벤트 목록 보기: + +`linode-cli events list` + +- 특정 이벤트에 대한 세부 정보 보기: + +`linode-cli events view {{이벤트_ID}}` + +- 이벤트를 읽은 것으로 표시: + +`linode-cli events mark-read {{이벤트_ID}}` diff --git a/pages.ko/common/linode-cli-linodes.md b/pages.ko/common/linode-cli-linodes.md new file mode 100644 index 00000000000000..c8a4b693654e7a --- /dev/null +++ b/pages.ko/common/linode-cli-linodes.md @@ -0,0 +1,37 @@ +# linode-cli linodes + +> Linode 인스턴스를 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 모든 Linode 나열: + +`linode-cli linodes list` + +- 새 Linode 생성: + +`linode-cli linodes create --type {{linode_유형}} --region {{지역}} --image {{이미지_ID}}` + +- 특정 Linode의 세부 정보 보기: + +`linode-cli linodes view {{linode_ID}}` + +- Linode 설정 업데이트: + +`linode-cli linodes update {{linode_ID}} --label {{새_레이블}}` + +- Linode 삭제: + +`linode-cli linodes delete {{linode_ID}}` + +- Linode에 전원 관리 작업 수행: + +`linode-cli linodes {{boot|reboot|shutdown}} {{linode_ID}}` + +- Linode에 대한 사용 가능한 백업 목록: + +`linode-cli linodes backups-list {{linode_ID}}` + +- Linode에 백업 복원: + +`linode-cli linodes backups-restore {{linode_ID}} --backup-id {{백업_ID}}` diff --git a/pages.ko/common/linode-cli-lke.md b/pages.ko/common/linode-cli-lke.md new file mode 100644 index 00000000000000..1d445fac743096 --- /dev/null +++ b/pages.ko/common/linode-cli-lke.md @@ -0,0 +1,25 @@ +# linode-cli lke + +> Linode Kubernetes Engine (LKE) 클러스터 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 모든 LKE 클러스터 나열: + +`linode-cli lke clusters list` + +- 새 LKE 클러스터 생성: + +`linode-cli lke clusters create --region {{지역}} --type {{유형}} --node-type {{노드_유형}} --nodes-count {{수량}}` + +- 특정 LKE 클러스터 세부정보 보기: + +`linode-cli lke clusters view {{클러스터_ID}}` + +- 기존 LKE 클러스터 업데이트: + +`linode-cli lke clusters update {{클러스터_ID}} --node-type {{새_노드_유형}}` + +- LKE 클러스터 삭제: + +`linode-cli lke clusters delete {{클러스터_ID}}` diff --git a/pages.ko/common/linode-cli-nodebalancers.md b/pages.ko/common/linode-cli-nodebalancers.md new file mode 100644 index 00000000000000..7c660f204d2bee --- /dev/null +++ b/pages.ko/common/linode-cli-nodebalancers.md @@ -0,0 +1,33 @@ +# linode-cli nodebalancers + +> Linode NodeBalancer 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 모든 NodeBalancer 나열: + +`linode-cli nodebalancers list` + +- 새 NodeBalancer 생성: + +`linode-cli nodebalancers create --region {{지역}}` + +- 특정 NodeBalancer의 세부 정보 보기: + +`linode-cli nodebalancers view {{nodebalancer_id}}` + +- 기존 NodeBalancer 업데이트: + +`linode-cli nodebalancers update {{nodebalancer_id}} --label {{새_라벨}}` + +- NodeBalancer 삭제: + +`linode-cli nodebalancers delete {{nodebalancer_id}}` + +- NodeBalancer의 구성 목록 나열: + +`linode-cli nodebalancers configs list {{nodebalancer_id}}` + +- NodeBalancer에 새 구성 추가: + +`linode-cli nodebalancers configs create {{nodebalancer_id}} --port {{포트}} --protocol {{프로토콜}}` diff --git a/pages.ko/common/linode-cli-object-storage.md b/pages.ko/common/linode-cli-object-storage.md new file mode 100644 index 00000000000000..74f15d25bb8518 --- /dev/null +++ b/pages.ko/common/linode-cli-object-storage.md @@ -0,0 +1,33 @@ +# linode-cli object-storage + +> Linode 오브젝트 스토리지 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 모든 오브젝트 스토리지 버킷 나열: + +`linode-cli object-storage buckets list` + +- 새 오브젝트 스토리지 버킷 생성: + +`linode-cli object-storage buckets create --cluster {{클러스터_ID}} --label {{버킷_레이블}}` + +- 오브젝트 스토리지 버킷 삭제: + +`linode-cli object-storage buckets delete {{클러스터_ID}} {{버킷_레이블}}` + +- 오브젝트 스토리지 클러스터 지역 나열: + +`linode-cli object-storage clusters list` + +- 오브젝트 스토리지의 액세스 키 나열: + +`linode-cli object-storage keys list` + +- 오브젝트 스토리지에 대한 새 액세스 키 생성: + +`linode-cli object-storage keys create --label {{레이블}}` + +- 오브젝트 스토리지에 대한 액세스 키 해제: + +`linode-cli object-storage keys revoke {{액세스_키_ID}}` diff --git a/pages.ko/common/linode-cli-tickets.md b/pages.ko/common/linode-cli-tickets.md new file mode 100644 index 00000000000000..eca9d4ce062a2d --- /dev/null +++ b/pages.ko/common/linode-cli-tickets.md @@ -0,0 +1,21 @@ +# linode-cli tickets + +> Linode 지원 티켓 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 지원 티켓 목록 보기: + +`linode-cli tickets list` + +- 새 티켓 열기: + +`linode-cli tickets create --summary "{{티켓에 대한 요약 또는 간단한 제목}}" --description "{{문제에 대한 자세한 설명}}"` + +- 티켓에 대한 답변 목록 보기: + +`linode-cli tickets replies {{티켓_ID}}` + +- 특정 티켓에 답장하기: + +`linode-cli tickets reply {{티켓_ID}} --description "{{답변 내용}}"` diff --git a/pages.ko/common/linode-cli-volumes.md b/pages.ko/common/linode-cli-volumes.md new file mode 100644 index 00000000000000..34e5473da0df70 --- /dev/null +++ b/pages.ko/common/linode-cli-volumes.md @@ -0,0 +1,29 @@ +# linode-cli volumes + +> Linode 볼륨 관리. +> 같이 보기: `linode-cli`. +> 더 많은 정보: . + +- 현재 볼륨 나열: + +`linode-cli volumes list` + +- 새 볼륨 생성 및 특정 Linode에 연결: + +`linode-cli volumes create --label {{볼륨_레이블}} --size {{크기_GB}} --linode-id {{linode_id}}` + +- 특정 Linode에 볼륨 연결: + +`linode-cli volumes attach {{볼륨_id}} --linode-id {{linode_id}}` + +- Linode에서 볼륨 분리: + +`linode-cli volumes detach {{볼륨_id}}` + +- 볼륨 크기 조정 (참고: 크기만 증가 가능): + +`linode-cli volumes resize {{볼륨_id}} --size {{새_크기_GB}}` + +- 볼륨 삭제: + +`linode-cli volumes delete {{볼륨_id}}` diff --git a/pages.ko/common/linode-cli.md b/pages.ko/common/linode-cli.md new file mode 100644 index 00000000000000..53a2e8250b0959 --- /dev/null +++ b/pages.ko/common/linode-cli.md @@ -0,0 +1,37 @@ +# linode-cli + +> Linode 클라우드 서비스를 관리. +> `events`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 모든 Linode 나열: + +`linode-cli linodes list` + +- Linode 계정 관리를 위한 문서 보기: + +`tldr linode-cli account` + +- Linode 관리를 위한 문서 보기: + +`tldr linode-cli linodes` + +- Linode Kubernetes Engine (LKE) 클러스터 관리를 위한 문서 보기: + +`tldr linode-cli lke` + +- NodeBalancer 관리를 위한 문서 보기: + +`tldr linode-cli nodebalancers` + +- 객체 저장소 관리를 위한 문서 보기: + +`tldr linode-cli object-storage` + +- 도메인 및 DNS 구성 관리를 위한 문서 보기: + +`tldr linode-cli domains` + +- Linode 볼륨 관리를 위한 문서 보기: + +`tldr linode-cli volumes` diff --git a/pages.ko/common/liquidctl.md b/pages.ko/common/liquidctl.md new file mode 100644 index 00000000000000..219f4e800f22ef --- /dev/null +++ b/pages.ko/common/liquidctl.md @@ -0,0 +1,20 @@ +# liquidctl + +> 수냉 쿨러 제어. +> 더 많은 정보: . + +- 사용 가능한 장치 나열: + +`liquidctl list` + +- 지원되는 모든 장치 초기화: + +`sudo liquidctl initialize all` + +- 사용 가능한 수냉 쿨러의 상태 출력: + +`liquidctl status` + +- 제품 이름에서 문자열을 일치시켜 장치를 선택하고 팬 속도를 20°C에서 0%, 50°C에서 50%, 70°C에서 100%로 설정: + +`liquidctl --match {{문자열}} set fan speed {{20 0 50 50 70 100}}` diff --git a/pages.ko/common/lispmtopgm.md b/pages.ko/common/lispmtopgm.md new file mode 100644 index 00000000000000..5d4b8b09bd7b5e --- /dev/null +++ b/pages.ko/common/lispmtopgm.md @@ -0,0 +1,9 @@ +# lispmtopgm + +> Lisp Machine 비트맵을 PGM 이미지로 변환. +> 같이 보기: `pgmtolispm`. +> 더 많은 정보: . + +- 지정된 Lisp Machine 비트맵 파일을 PGM 이미지로 변환: + +`lispmtopgm {{경로/대상/입력.lispm}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/live-server.md b/pages.ko/common/live-server.md new file mode 100644 index 00000000000000..d85a44689baa11 --- /dev/null +++ b/pages.ko/common/live-server.md @@ -0,0 +1,20 @@ +# live-server + +> 실시간 리로드 기능을 갖춘 간단한 개발 HTTP 서버. +> 더 많은 정보: . + +- `index.html` 파일을 제공하고 변경 시 리로드: + +`live-server` + +- 파일을 제공할 포트 지정 (기본값은 8080): + +`live-server --port={{8081}}` + +- 특정 파일을 제공: + +`live-server --open={{about.html}}` + +- ROUTE에 대한 모든 요청을 URL로 프록시: + +`live-server --proxy={{/}}:{{http://localhost:3000}}` diff --git a/pages.ko/common/llc.md b/pages.ko/common/llc.md new file mode 100644 index 00000000000000..89916616429d1d --- /dev/null +++ b/pages.ko/common/llc.md @@ -0,0 +1,20 @@ +# llc + +> LLVM 중간 표현(IR) 또는 비트코드를 대상에 맞는 어셈블리 언어로 컴파일합니다. +> 더 많은 정보: . + +- 비트코드 또는 IR 파일을 동일한 기본 이름의 어셈블리 파일로 컴파일: + +`llc {{경로/대상/파일.ll}}` + +- 모든 최적화 활성화: + +`llc -O3 {{경로/대상/입력.ll}}` + +- 특정 파일로 어셈블리 출력: + +`llc --output {{경로/대상/출력.s}}` + +- 완전히 재배치 가능하고 위치 독립적인 코드 생성: + +`llc -relocation-model=pic {{경로/대상/입력.ll}}` diff --git a/pages.ko/common/lldb.md b/pages.ko/common/lldb.md new file mode 100644 index 00000000000000..632bf94dfb4e5b --- /dev/null +++ b/pages.ko/common/lldb.md @@ -0,0 +1,16 @@ +# lldb + +> LLVM 저수준 디버거. +> 더 많은 정보: . + +- 실행 파일을 디버그: + +`lldb {{실행_파일}}` + +- 주어진 PID로 실행 중인 프로세스에 `lldb` 연결: + +`lldb -p {{pid}}` + +- 주어진 이름의 새 프로세스가 시작될 때까지 기다렸다가 연결: + +`lldb -w -n {{프로세스_이름}}` diff --git a/pages.ko/common/lli.md b/pages.ko/common/lli.md new file mode 100644 index 00000000000000..cc4fad109d91ad --- /dev/null +++ b/pages.ko/common/lli.md @@ -0,0 +1,20 @@ +# lli + +> LLVM 비트코드에서 프로그램을 직접 실행. +> 더 많은 정보: . + +- 비트코드 또는 IR 파일 실행: + +`lli {{경로/대상/파일.ll}}` + +- 명령줄 인수와 함께 실행: + +`lli {{경로/대상/파일.ll}} {{인수1 인수2 ...}}` + +- 모든 최적화 활성화: + +`lli -O3 {{경로/대상/파일.ll}}` + +- 링크 전에 동적 라이브러리 로드: + +`lli --dlopen={{경로/대상/라이브러리.dll}} {{경로/대상/파일.ll}}` diff --git a/pages.ko/common/llm.md b/pages.ko/common/llm.md new file mode 100644 index 00000000000000..661a06317d4284 --- /dev/null +++ b/pages.ko/common/llm.md @@ -0,0 +1,32 @@ +# llm + +> 원격 API 및 로컬에서 설치 및 실행할 수 있는 모델을 통해 대형 언어 모델(LLM)과 상호 작용. +> 더 많은 정보: . + +- OpenAI API 키 설정: + +`llm keys set openai` + +- 프롬프트 실행: + +`llm "{{펠리칸 애완동물에게 어울리는 재미있는 이름 10개}}"` + +- 파일에 대해 [s]시스템 프롬프트 실행: + +`cat {{경로/대상/파일.py}} | llm --system "{{이 코드를 설명하세요}}"` + +- LLM과 동일한 환경에 PyPI에서 패키지 설치: + +`llm install {{패키지1 패키지2 ...}}` + +- [m]모델을 다운로드하고 프롬프트 실행: + +`llm --model {{orca-mini-3b-gguf2-q4_0}} "{{프랑스의 수도는 어디인가요?}}"` + +- [s]시스템 프롬프트를 생성하고 템플릿 이름으로 [s]저장: + +`llm --system '{{당신은 지각 있는 치즈케이크입니다}}' --save {{지각있는_치즈케이크}}` + +- 특정 [m]모델과 특정 [t]템플릿을 사용하여 대화형 채팅: + +`llm chat --model {{chatgpt}} --template {{지각있는_치즈케이크}}` diff --git a/pages.ko/common/llvd.md b/pages.ko/common/llvd.md new file mode 100644 index 00000000000000..417d9f1158c105 --- /dev/null +++ b/pages.ko/common/llvd.md @@ -0,0 +1,20 @@ +# llvd + +> Linkedin Learning 비디오 다운로드 도구. +> 더 많은 정보: . + +- 쿠키 기반 인증을 사용하여 [c]ourse 다운로드: + +`llvd -c {{코스-슬러그}} --cookies` + +- 특정 [r]esolution으로 코스 다운로드: + +`llvd -c {{코스-슬러그}} -r 720` + +- [ca]ptions(자막)과 함께 코스 다운로드: + +`llvd -c {{코스-슬러그}} --caption` + +- [p]ath를 다운로드하고 10초에서 30초 사이 [t]hrottling 적용: + +`llvd -p {{경로-슬러그}} -t {{10,30}} --cookies` diff --git a/pages.ko/common/llvm-ar.md b/pages.ko/common/llvm-ar.md new file mode 100644 index 00000000000000..8968e22fe94174 --- /dev/null +++ b/pages.ko/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> 이 명령은 `ar` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ar` diff --git a/pages.ko/common/llvm-as.md b/pages.ko/common/llvm-as.md new file mode 100644 index 00000000000000..ce26fb41661752 --- /dev/null +++ b/pages.ko/common/llvm-as.md @@ -0,0 +1,16 @@ +# llvm-as + +> LLVM Intermediate Representation(`.ll`)을 Bitcode(`.bc`)로 변환하는 어셈블러. +> 더 많은 정보: . + +- IR 파일을 어셈블: + +`llvm-as -o {{경로/대상/출력.bc}} {{경로/대상/소스.ll}}` + +- IR 파일을 어셈블하고, 생성된 Bitcode 파일에 모듈 해시 포함: + +`llvm-as --module-hash -o {{경로/대상/출력.bc}} {{경로/대상/소스.ll}}` + +- `stdin`에서 IR 파일을 읽어 어셈블: + +`cat {{경로/대상/소스.ll}} | llvm-as -o {{경로/대상/출력.bc}}` diff --git a/pages.ko/common/llvm-bcanalyzer.md b/pages.ko/common/llvm-bcanalyzer.md new file mode 100644 index 00000000000000..c13ea93471d82c --- /dev/null +++ b/pages.ko/common/llvm-bcanalyzer.md @@ -0,0 +1,16 @@ +# llvm-bcanalyzer + +> LLVM Bitcode (`.bc`) 분석기. +> 더 많은 정보: . + +- Bitcode 파일에 대한 통계 출력: + +`llvm-bcanalyzer {{경로/대상/파일.bc}}` + +- Bitcode 파일에 대한 SGML 표현과 통계 출력: + +`llvm-bcanalyzer -dump {{경로/대상/파일.bc}}` + +- `stdin`에서 Bitcode 파일을 읽고 분석: + +`cat {{경로/대상/파일.bc}} | llvm-bcanalyzer` diff --git a/pages.ko/common/llvm-cat.md b/pages.ko/common/llvm-cat.md new file mode 100644 index 00000000000000..f6445de0bafe81 --- /dev/null +++ b/pages.ko/common/llvm-cat.md @@ -0,0 +1,8 @@ +# llvm-cat + +> LLVM 비트코드(`.bc`) 파일을 연결. +> 더 많은 정보: . + +- 비트코드 파일 연결: + +`llvm-cat {{경로/대상/파일1.bc}} {{경로/대상/파일2.bc}} -o {{경로/대상/출력.bc}}` diff --git a/pages.ko/common/llvm-config.md b/pages.ko/common/llvm-config.md new file mode 100644 index 00000000000000..49ae1ecc6bbcfa --- /dev/null +++ b/pages.ko/common/llvm-config.md @@ -0,0 +1,17 @@ +# llvm-config + +> LLVM을 사용하는 프로그램을 컴파일하는 데 필요한 다양한 구성 정보를 얻습니다. +> 일반적으로 Makefile이나 configure 스크립트와 같은 빌드 시스템에서 호출됩니다. +> 더 많은 정보: . + +- LLVM 기반 프로그램을 컴파일하고 링크: + +`clang++ $(llvm-config --cxxflags --ldflags --libs) --output {{경로/대상/출력_실행파일}} {{경로/대상/소스.cc}}` + +- LLVM 설치의 `PREFIX` 출력: + +`llvm-config --prefix` + +- LLVM 빌드에서 지원하는 모든 대상 출력: + +`llvm-config --targets-built` diff --git a/pages.ko/common/llvm-dis.md b/pages.ko/common/llvm-dis.md new file mode 100644 index 00000000000000..0bcb4b0565979e --- /dev/null +++ b/pages.ko/common/llvm-dis.md @@ -0,0 +1,16 @@ +# llvm-dis + +> LLVM 비트코드 파일을 사람이 읽을 수 있는 LLVM 중간 표현(IR)로 변환. +> 더 많은 정보: . + +- 비트코드 파일을 LLVM IR로 변환하고 결과를 `stdout`으로 출력: + +`llvm-dis {{경로/대상/입력.bc}} -o -` + +- 비트코드 파일을 동일한 파일 이름의 LLVM IR 파일로 변환: + +`llvm-dis {{경로/대상/파일.bc}}` + +- 비트코드 파일을 LLVM IR로 변환하고 결과를 지정된 파일에 기록: + +`llvm-dis {{경로/대상/입력.bc}} -o {{경로/대상/출력.ll}}` diff --git a/pages.ko/common/llvm-g++.md b/pages.ko/common/llvm-g++.md new file mode 100644 index 00000000000000..6eed07f4b37e5d --- /dev/null +++ b/pages.ko/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> 이 명령은 `clang++` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr clang++` diff --git a/pages.ko/common/llvm-gcc.md b/pages.ko/common/llvm-gcc.md new file mode 100644 index 00000000000000..f82ede769ee500 --- /dev/null +++ b/pages.ko/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> 이 명령은 `clang` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr clang` diff --git a/pages.ko/common/llvm-nm.md b/pages.ko/common/llvm-nm.md new file mode 100644 index 00000000000000..23640e1b5f8d71 --- /dev/null +++ b/pages.ko/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> 이 명령은 `nm` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr nm` diff --git a/pages.ko/common/llvm-objdump.md b/pages.ko/common/llvm-objdump.md new file mode 100644 index 00000000000000..605a97747e9788 --- /dev/null +++ b/pages.ko/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> 이 명령은 `objdump` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr objdump` diff --git a/pages.ko/common/llvm-strings.md b/pages.ko/common/llvm-strings.md new file mode 100644 index 00000000000000..5bdf4519bea1c4 --- /dev/null +++ b/pages.ko/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> 이 명령은 `strings` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr strings` diff --git a/pages.ko/common/lmms.md b/pages.ko/common/lmms.md new file mode 100644 index 00000000000000..e971f39912aec8 --- /dev/null +++ b/pages.ko/common/lmms.md @@ -0,0 +1,38 @@ +# lmms + +> 무료, 오픈 소스, 크로스 플랫폼 디지털 오디오 워크스테이션. +> `.mmp` 또는 `.mmpz` 프로젝트 파일을 렌더링하거나, `.mmpz`를 XML로 덤프하거나, GUI를 시작할 수 있습니다. +> 같이 보기: `mixxx`. +> 더 많은 정보: . + +- GUI 시작: + +`lmms` + +- GUI 시작 및 외부 구성 파일 로드: + +`lmms --config {{경로/대상/config.xml}}` + +- GUI 시작 및 MIDI 또는 Hydrogen 파일 가져오기: + +`lmms --import {{경로/대상/midi/또는/hydrogen/파일}}` + +- 지정된 창 크기로 GUI 시작: + +`lmms --geometry {{x_크기}}x{{y_크기}}+{{x_오프셋}}+{{y_오프셋}}` + +- `.mmpz` 파일 덤프: + +`lmms dump {{경로/대상/mmpz/파일.mmpz}}` + +- 프로젝트 파일 렌더링: + +`lmms render {{경로/대상/mmpz_또는_mmp/파일}}` + +- 프로젝트 파일의 개별 트랙 렌더링: + +`lmms rendertracks {{경로/대상/mmpz_또는_mmp/파일}} {{경로/대상/덤프/폴더}}` + +- 사용자 지정 샘플레이트, 포맷으로 루프 렌더링: + +`lmms render --samplerate {{88200}} --format {{ogg}} --loop --output {{경로/대상/출력/파일.ogg}}` diff --git a/pages.ko/common/ln.md b/pages.ko/common/ln.md new file mode 100644 index 00000000000000..3e74bcc16c0de5 --- /dev/null +++ b/pages.ko/common/ln.md @@ -0,0 +1,16 @@ +# ln + +> 파일 및 디렉터리에 대한 링크를 생성합니다. +> 더 많은 정보: . + +- 파일이나 디렉터리에 대한 심볼릭 링크 생성: + +`ln {{[-s|--symbolic]}} {{/경로/대상/파일_또는_폴더}} {{경로/대상/심볼릭링크}}` + +- 다른 파일을 가리키도록 기존 심볼릭 링크를 덮어쓰기: + +`ln {{[-sf|--symbolic --force]}} {{/경로/대상/새로운_파일}} {{경로/대상/심볼릭링크}}` + +- 파일에 대한 하드 링크 생성: + +`ln {{/경로/대상/파일}} {{경로/대상/하드링크}}` diff --git a/pages.ko/common/loadtest.md b/pages.ko/common/loadtest.md new file mode 100644 index 00000000000000..629b2c86048f71 --- /dev/null +++ b/pages.ko/common/loadtest.md @@ -0,0 +1,16 @@ +# loadtest + +> 선택한 HTTP 또는 WebSockets URL에 대해 부하 테스트를 실행. +> 더 많은 정보: . + +- 동시 사용자 및 초당 요청 수를 지정하여 실행: + +`loadtest --concurrency {{10}} --rps {{200}} {{https://example.com}}` + +- 사용자 지정 HTTP 헤더와 함께 실행: + +`loadtest --headers "{{accept:text/plain;text-html}}" {{https://example.com}}` + +- 특정 HTTP 메서드를 사용하여 실행: + +`loadtest --method {{GET}} {{https://example.com}}` diff --git a/pages.ko/common/loc.md b/pages.ko/common/loc.md new file mode 100644 index 00000000000000..7c64cc83387ee0 --- /dev/null +++ b/pages.ko/common/loc.md @@ -0,0 +1,20 @@ +# loc + +> 코드의 줄 수를 계산합니다. Rust로 작성되었습니다. +> 더 많은 정보: . + +- 현재 디렉토리의 코드 줄 수 출력: + +`loc` + +- 대상 디렉토리의 코드 줄 수 출력: + +`loc {{경로/대상/폴더}}` + +- 개별 파일에 대한 통계와 함께 코드 줄 수 출력: + +`loc --files` + +- .gitignore (등) 파일을 제외하고 코드 줄 수 출력 (예: `-u` 플래그를 두 번 사용하면 숨겨진 파일과 디렉토리도 추가로 계산): + +`loc -u` diff --git a/pages.ko/common/local.md b/pages.ko/common/local.md new file mode 100644 index 00000000000000..c2dddb109bd69c --- /dev/null +++ b/pages.ko/common/local.md @@ -0,0 +1,24 @@ +# local + +> 로컬 변수를 선언하고 속성을 부여합니다. +> 더 많은 정보: . + +- 지정된 값으로 문자열 변수 선언: + +`local {{변수}}="{{값}}"` + +- 지정된 값으로 정수 변수 선언: + +`local -i {{변수}}="{{값}}"` + +- 지정된 값으로 배열 변수 선언: + +`local {{변수}}=({{항목_a 항목_b 항목_c}})` + +- 지정된 값으로 연관 배열 변수 선언: + +`local -A {{변수}}=({{[키_a]=항목_a [키_b]=항목_b [키_c]=항목_c}})` + +- 지정된 값으로 읽기 전용 변수 선언: + +`local -r {{변수}}="{{값}}"` diff --git a/pages.ko/common/locust.md b/pages.ko/common/locust.md new file mode 100644 index 00000000000000..bb722ecc5ab204 --- /dev/null +++ b/pages.ko/common/locust.md @@ -0,0 +1,28 @@ +# locust + +> 시스템이 처리할 수 있는 동시 사용자 수를 결정하는 부하 테스트 도구. +> 더 많은 정보: . + +- locustfile.py를 사용하여 "example.com"에 웹 인터페이스로 부하 테스트: + +`locust --host={{http://example.com}}` + +- 다른 테스트 파일 사용: + +`locust --locustfile={{테스트_파일.py}} --host={{http://example.com}}` + +- 웹 인터페이스 없이 테스트 실행, 1초에 1명의 사용자를 추가하여 100명의 사용자가 될 때까지: + +`locust --no-web --clients={{100}} --hatch-rate={{1}} --host={{http://example.com}}` + +- Locust를 마스터 모드로 시작: + +`locust --master --host={{http://example.com}}` + +- Locust 슬레이브를 마스터에 연결: + +`locust --slave --host={{http://example.com}}` + +- 다른 기기에 있는 마스터에 Locust 슬레이브 연결: + +`locust --slave --master-host={{마스터_호스트명}} --host={{http://example.com}}` diff --git a/pages.ko/common/logger.md b/pages.ko/common/logger.md new file mode 100644 index 00000000000000..d8aa5bea867657 --- /dev/null +++ b/pages.ko/common/logger.md @@ -0,0 +1,24 @@ +# logger + +> 메시지를 syslog (/var/log/syslog)에 추가. +> 더 많은 정보: . + +- 메시지를 syslog에 기록: + +`logger {{메시지}}` + +- `stdin`에서 입력을 받아 syslog에 기록: + +`echo {{로그_항목}} | logger` + +- 지정된 포트에서 실행 중인 원격 syslog 서버로 출력 전송. 기본 포트는 514: + +`echo {{로그_항목}} | logger --server {{호스트명}} --port {{포트}}` + +- 기록된 모든 줄에 특정 태그 사용. 기본값은 로그인한 사용자 이름: + +`echo {{로그_항목}} | logger --tag {{태그}}` + +- 주어진 우선순위로 메시지 기록. 기본값은 `user.notice`. 모든 우선순위 옵션은 `man logger` 참조: + +`echo {{로그_항목}} | logger --priority {{user.warning}}` diff --git a/pages.ko/common/logname.md b/pages.ko/common/logname.md new file mode 100644 index 00000000000000..f7d779994bebc0 --- /dev/null +++ b/pages.ko/common/logname.md @@ -0,0 +1,8 @@ +# logname + +> 사용자의 로그인 이름을 표시합니다. +> 더 많은 정보: . + +- 현재 로그인한 사용자의 이름 표시: + +`logname` diff --git a/pages.ko/common/logstash.md b/pages.ko/common/logstash.md new file mode 100644 index 00000000000000..c77b228a83f45a --- /dev/null +++ b/pages.ko/common/logstash.md @@ -0,0 +1,17 @@ +# logstash + +> Elasticsearch ETL(추출, 변환 및 로드) 도구. +> 주로 다양한 소스(데이터베이스 및 로그 파일 등)에서 Elasticsearch로 데이터를 로드하는 데 사용됩니다. +> 더 많은 정보: . + +- Logstash 구성의 유효성 검사: + +`logstash --configtest --config {{logstash_config.conf}}` + +- 구성 파일을 사용하여 Logstash 실행: + +`sudo logstash --config {{logstash_구성.conf}}` + +- 가장 기본적인 인라인 구성 문자열로 Logstash 실행: + +`sudo logstash -e 'input {} filter {} output {}'` diff --git a/pages.ko/common/lolcat.md b/pages.ko/common/lolcat.md new file mode 100644 index 00000000000000..8c27873652dd1e --- /dev/null +++ b/pages.ko/common/lolcat.md @@ -0,0 +1,20 @@ +# lolcat + +> 모든 `cat` 결과를 콘솔에 무지개 색상으로 출력합니다. +> 더 많은 정보: . + +- 파일을 콘솔에 무지개 색상으로 출력: + +`lolcat {{경로/대상/파일}}` + +- 텍스트를 생성하는 명령의 결과를 무지개 색상으로 출력: + +`{{fortune}} | lolcat` + +- 파일을 콘솔에 애니메이션 무지개 색상으로 출력: + +`lolcat -a {{경로/대상/파일}}` + +- 파일을 콘솔에 24비트 (진정한 색상) 무지개 색상으로 출력: + +`lolcat -t {{경로/대상/파일}}` diff --git a/pages.ko/common/look.md b/pages.ko/common/look.md new file mode 100644 index 00000000000000..dce8389b412072 --- /dev/null +++ b/pages.ko/common/look.md @@ -0,0 +1,22 @@ +# look + +> 정렬된 파일에서 특정 접두사로 시작하는 줄을 표시. +> 참고: 파일 내의 줄은 정렬되어 있어야 합니다. +> 같이 보기: `grep`, `sort`. +> 더 많은 정보: . + +- 특정 파일에서 특정 접두사로 시작하는 줄 검색: + +`look {{접두사}} {{경로/대상/파일}}` + +- 대소문자 구분 없이 ([f]) 영숫자 문자만으로 검색 ([d]): + +`look -f -d {{접두사}} {{경로/대상/파일}}` + +- 문자열 종료 문자 지정 (기본값은 공백): + +`look -t {{,}}` + +- `/usr/share/dict/words`에서 검색 (`-d`와 `-f`가 기본적으로 적용됨): + +`look {{접두사}}` diff --git a/pages.ko/common/lorem.md b/pages.ko/common/lorem.md new file mode 100644 index 00000000000000..03e7ddbf718ec8 --- /dev/null +++ b/pages.ko/common/lorem.md @@ -0,0 +1,20 @@ +# lorem + +> 랜덤한 라틴어 모양의 플레이스홀더 텍스트 생성. +> 더 많은 정보: . + +- 지정된 수의 단어 출력: + +`lorem -n {{20}}` + +- 괴테의 파우스트 10줄 출력: + +`lorem -l {{10}} --faust` + +- 포의 까마귀 5문장 출력: + +`lorem -s {{5}} --raven` + +- 보카치오의 데카메론에서 랜덤한 문자 40개 출력: + +`lorem --randomize -c {{40}} --decamerone` diff --git a/pages.ko/common/lp.md b/pages.ko/common/lp.md new file mode 100644 index 00000000000000..701195f0982387 --- /dev/null +++ b/pages.ko/common/lp.md @@ -0,0 +1,28 @@ +# lp + +> 파일을 인쇄합니다. +> 더 많은 정보: . + +- 명령어의 출력을 기본 프린터로 인쇄 (참고: `lpstat` 명령어): + +`echo "test" | lp` + +- 파일을 기본 프린터로 인쇄: + +`lp {{경로/대상/파일이름}}` + +- 파일을 지정된 프린터로 인쇄 (참고: `lpstat` 명령어): + +`lp -d {{프린터_이름}} {{경로/대상/파일이름}}` + +- 파일을 기본 프린터로 N부 인쇄 (N을 원하는 복사본 수로 대체): + +`lp -n {{N}} {{경로/대상/파일이름}}` + +- 특정 페이지만 기본 프린터로 인쇄 (페이지 1, 3-5, 16번 인쇄): + +`lp -P 1,3-5,16 {{경로/대상/파일이름}}` + +- 인쇄 작업 재개: + +`lp -i {{작업_ID}} -H resume` diff --git a/pages.ko/common/lpadmin.md b/pages.ko/common/lpadmin.md new file mode 100644 index 00000000000000..1be8a0d490b8c5 --- /dev/null +++ b/pages.ko/common/lpadmin.md @@ -0,0 +1,21 @@ +# lpadmin + +> CUPS 프린터 및 클래스를 구성. +> 같이 보기: `lpoptions`. +> 더 많은 정보: . + +- 기본 프린터 설정: + +`lpadmin -d {{프린터}}` + +- 특정 프린터 또는 클래스 삭제: + +`lpadmin -x {{프린터|클래스}}` + +- 프린터를 클래스에 추가: + +`lpadmin -p {{프린터}} -c {{클래스}}` + +- 프린터를 클래스에서 제거: + +`lpadmin -p {{프린터}} -r {{클래스}}` diff --git a/pages.ko/common/lpass.md b/pages.ko/common/lpass.md new file mode 100644 index 00000000000000..b5c0b2a2eff3ea --- /dev/null +++ b/pages.ko/common/lpass.md @@ -0,0 +1,24 @@ +# lpass + +> LastPass 비밀번호 관리자의 명령줄 인터페이스. +> 더 많은 정보: . + +- 마스터 비밀번호를 입력하여 LastPass 계정에 로그인: + +`lpass login {{사용자이름}}` + +- 로그인 상태 표시: + +`lpass status` + +- 카테고리별로 그룹화된 모든 사이트 나열: + +`lpass ls` + +- `myinbox` 식별자로 gmail.com의 새 비밀번호 생성 및 LastPass에 추가: + +`lpass generate --username {{사용자이름}} --url {{gmail.com}} {{myinbox}} {{비밀번호_길이}}` + +- 지정된 항목의 비밀번호 표시: + +`lpass show {{myinbox}} --password` diff --git a/pages.ko/common/lpinfo.md b/pages.ko/common/lpinfo.md new file mode 100644 index 00000000000000..2676a69ed05751 --- /dev/null +++ b/pages.ko/common/lpinfo.md @@ -0,0 +1,16 @@ +# lpinfo + +> CUPS 프린트 서버의 연결된 프린터 및 설치된 드라이버 나열. +> 더 많은 정보: . + +- 현재 연결된 모든 프린터 나열: + +`lpinfo -v` + +- 현재 설치된 모든 프린터 드라이버 나열: + +`lpinfo -m` + +- 제조사 및 모델로 설치된 프린터 드라이버 검색: + +`lpinfo --make-and-model "{{프린터_모델}}" -m` diff --git a/pages.ko/common/lpmove.md b/pages.ko/common/lpmove.md new file mode 100644 index 00000000000000..7d5e689a6a21c9 --- /dev/null +++ b/pages.ko/common/lpmove.md @@ -0,0 +1,21 @@ +# lpmove + +> 작업 또는 모든 작업을 다른 프린터로 이동. +> 같이 보기: `cancel`, `lp`, `lpr`, `lprm`. +> 더 많은 정보: . + +- 특정 작업을 `new_printer`로 이동: + +`lpmove {{작업_ID}} {{new_printer}}` + +- `old_printer`에서 `new_printer`로 작업 이동: + +`lpmove {{old_printer}}-{{작업_ID}} {{new_printer}}` + +- `old_printer`에서 `new_printer`로 모든 작업 이동: + +`lpmove {{old_printer}} {{new_printer}}` + +- 특정 서버에서 `new_printer`로 특정 작업 이동: + +`lpmove -h {{서버}} {{작업_ID}} {{new_printer}}` diff --git a/pages.ko/common/lpoptions.md b/pages.ko/common/lpoptions.md new file mode 100644 index 00000000000000..908e647c98b39e --- /dev/null +++ b/pages.ko/common/lpoptions.md @@ -0,0 +1,21 @@ +# lpoptions + +> 프린터 옵션 및 기본값 표시 또는 설정. +> 같이 보기: `lpadmin`. +> 더 많은 정보: . + +- 기본 프린터 설정: + +`lpoptions -d {{프린터[/인스턴스]}}` + +- 특정 프린터의 프린터 전용 옵션 나열: + +`lpoptions -d {{프린터}} -l` + +- 특정 프린터에 새 옵션 설정: + +`lpoptions -d {{프린터}} -o {{옵션}}` + +- 특정 프린터의 옵션 제거: + +`lpoptions -d {{프린터}} -x` diff --git a/pages.ko/common/lpq.md b/pages.ko/common/lpq.md new file mode 100644 index 00000000000000..813e0b490593de --- /dev/null +++ b/pages.ko/common/lpq.md @@ -0,0 +1,24 @@ +# lpq + +> 프린터 대기열 상태 표시. +> 더 많은 정보: . + +- 기본 대상의 대기 중인 작업 표시: + +`lpq` + +- 모든 프린터의 대기 중인 작업을 암호화 적용하여 표시: + +`lpq -a -E` + +- 대기 중인 작업을 자세한 형식으로 표시: + +`lpq -l` + +- 특정 프린터나 클래스의 대기 중인 작업 표시: + +`lpq -P {{대상[/인스턴스]}}` + +- 대기열이 비어질 때까지 n초마다 한 번씩 대기 중인 작업 표시: + +`lpq +{{간격}}` diff --git a/pages.ko/common/lpr.md b/pages.ko/common/lpr.md new file mode 100644 index 00000000000000..02213303898d68 --- /dev/null +++ b/pages.ko/common/lpr.md @@ -0,0 +1,33 @@ +# lpr + +> 파일을 인쇄합니다. +> 같이 보기: `lpstat` 및 `lpadmin`. +> 더 많은 정보: . + +- 기본 프린터로 파일 인쇄: + +`lpr {{경로/대상/파일}}` + +- 2부 인쇄: + +`lpr -# {{2}} {{경로/대상/파일}}` + +- 지정된 프린터로 인쇄: + +`lpr -P {{프린터}} {{경로/대상/파일}}` + +- 특정 페이지(예: 2) 또는 페이지 범위(예: 2-16) 인쇄: + +`lpr -o page-ranges={{2|2-16}} {{경로/대상/파일}}` + +- 세로(긴) 또는 가로(짧은) 양면 인쇄: + +`lpr -o sides={{two-sided-long-edge|two-sided-short-edge}} {{경로/대상/파일}}` + +- 페이지 크기 설정 (설정에 따라 더 많은 옵션 사용 가능): + +`lpr -o media={{a4|letter|legal}} {{경로/대상/파일}}` + +- 한 장에 여러 페이지 인쇄: + +`lpr -o number-up={{2|4|6|9|16}} {{경로/대상/파일}}` diff --git a/pages.ko/common/lprm.md b/pages.ko/common/lprm.md new file mode 100644 index 00000000000000..0c4047be171d03 --- /dev/null +++ b/pages.ko/common/lprm.md @@ -0,0 +1,25 @@ +# lprm + +> 서버의 대기 중인 인쇄 작업 취소. +> 같이 보기: `lpq`. +> 더 많은 정보: . + +- 기본 프린터에서 현재 작업 취소: + +`lprm` + +- 특정 서버의 작업 취소: + +`lprm -h {{서버[:포트]}} {{작업_ID}}` + +- 서버에 암호화된 연결로 여러 작업 취소: + +`lprm -E {{작업_ID1 작업_ID2 ...}}` + +- 모든 작업 취소: + +`lprm -` + +- 특정 프린터 또는 클래스의 현재 작업 취소: + +`lprm -P {{대상[/인스턴스]}}` diff --git a/pages.ko/common/lpstat.md b/pages.ko/common/lpstat.md new file mode 100644 index 00000000000000..44ef85d144d9c9 --- /dev/null +++ b/pages.ko/common/lpstat.md @@ -0,0 +1,20 @@ +# lpstat + +> 프린터에 대한 상태 정보를 표시. +> 더 많은 정보: . + +- 기기에 존재하는 프린터와 프린터 사용 가능 여부 나열: + +`lpstat -p` + +- 기본 프린터 표시: + +`lpstat -d` + +- 사용 가능한 모든 상태 정보 표시: + +`lpstat -t` + +- 특정 사용자가 대기 중인 인쇄 작업 나열: + +`lpstat -u {{사용자}}` diff --git a/pages.ko/common/ls.md b/pages.ko/common/ls.md new file mode 100644 index 00000000000000..7c7f4e4e8eed21 --- /dev/null +++ b/pages.ko/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> 폴더의 내용물을 리스팅합니다. +> 더 많은 정보: . + +- 한줄에 하나의 파일씩 나열: + +`ls -1` + +- 숨겨진 파일을 포함해 모든 파일 나열: + +`ls {{[-a|--all]}}` + +- 모든 파일 나열, 폴더명에는 뒤에 '/'를 붙음: + +`ls {{[-F|--classify]}}` + +- 파일의 모든 정보(권한, 소유자, 크기, 그리고 수정날짜)를 나열: + +`ls {{[-la|--all -l]}}` + +- 파일의 모든정보를 나열, 다만 크기는 읽기쉽게 (KiB, MiB, GiB)를 사용: + +`ls {{[-lh|-l --human-readable]}}` + +- 파일의 모든 정보를 크기의 내림차순으로 정렬: + +`ls {{-lSR|-lS --recursive}}` + +- 파일의 모든 정보를 수정날짜(오래된 순서)로 정렬: + +`ls {{[-ltr|-lt --reverse]}}` + +- 폴더만 나열: + +`ls {{[-d|--directory]}} */` diff --git a/pages.ko/common/lsar.md b/pages.ko/common/lsar.md new file mode 100644 index 00000000000000..b8655e367c813a --- /dev/null +++ b/pages.ko/common/lsar.md @@ -0,0 +1,29 @@ +# lsar + +> 아카이브 파일의 내용을 나열합니다. +> 같이 보기: `unar`, `ar`. +> 더 많은 정보: . + +- 아카이브 파일의 내용 나열: + +`lsar {{경로/대상/아카이브}}` + +- 암호로 보호된 아카이브 파일의 내용 나열: + +`lsar {{경로/대상/아카이브}} {{[-p|--password]}} {{암호}}` + +- 아카이브 내 각 파일에 대한 모든 사용 가능한 정보 출력 (매우 길게 출력됨): + +`lsar {{-L|--verylong}} {{경로/대상/아카이브}}` + +- 아카이브 파일의 무결성 테스트 (가능한 경우): + +`lsar {{[-t|--test]}} {{경로/대상/아카이브}}` + +- 아카이브 파일의 내용을 JSON 형식으로 나열: + +`lsar {{[-j|--json]}} {{경로/대상/아카이브}}` + +- 도움말 표시: + +`lsar {{-h|--help}}` diff --git a/pages.ko/common/lsd.md b/pages.ko/common/lsd.md new file mode 100644 index 00000000000000..b0c037f0386028 --- /dev/null +++ b/pages.ko/common/lsd.md @@ -0,0 +1,37 @@ +# lsd + +> 디렉터리 내용 목록. +> Rust로 작성된 차세대 `ls` 명령어. +> 더 많은 정보: . + +- 파일과 디렉터리를 한 줄에 하나씩 나열: + +`lsd -1` + +- 현재 디렉터리의 모든 파일과 디렉터리(숨김 파일 포함) 나열: + +`lsd -a` + +- 디렉터리 이름에 `/`를 추가하여 파일과 디렉터리 나열: + +`lsd -F` + +- 파일과 디렉터리를 긴 형식으로 나열 (권한, 소유권, 사람이 읽기 쉬운 형식의 크기, 수정 날짜 포함): + +`lsd -lha` + +- 파일과 디렉터리를 크기별로 내림차순 정렬하여 긴 형식으로 나열: + +`lsd -lS` + +- 파일과 디렉터리를 수정 날짜별로 오래된 것부터 정렬하여 긴 형식으로 나열: + +`lsd -ltr` + +- 디렉터리만 나열: + +`lsd -d {{*/}}` + +- 모든 디렉터리를 재귀적으로 트리 형식으로 나열: + +`lsd --tree -d` diff --git a/pages.ko/common/lsof.md b/pages.ko/common/lsof.md new file mode 100644 index 00000000000000..fed883c3d78890 --- /dev/null +++ b/pages.ko/common/lsof.md @@ -0,0 +1,37 @@ +# lsof + +> 열린 파일과 상응하는 프로세스들을 나열합니다. +> 참고: 다른 사람으로부터 열린 파일 리스트는 루트 권한 ( 혹은 sudo ) 이 요구됩니다. +> 더 많은 정보: . + +- 주어진 파일을 열고있는 프로세스 찾기: + +`lsof {{파일/의/경로}}` + +- 로컬 인터넷 포트를 열고있는 프로세스 찾기: + +`lsof -i :{{포트}}` + +- 프로세스 아이디 (PID)만 출력: + +`lsof -t {{파일/의/경로}}` + +- 주어진 유저에 의해 열린 파일 나열: + +`lsof -u {{유저이름}}` + +- 주어진 명령어 혹은 프로세스에 의해 열린 파일 나열: + +`lsof -c {{프로세스_혹은_명령어_이름}}` + +- 주어진 PID와 일치하는 프로세스에 의해 열린 파일 나열: + +`lsof -p {{PID}}` + +- 디렉토리 안의 열린 파일 나열: + +`lsof +D {{디렉토리/의/경로}}` + +- 로컬 IPv6 TCP 포트에서 수신 중이고 네트워크 또는 포트 번호를 변환하지 않는 프로세스 찾기: + +`lsof -i6TCP:{{포트}} -sTCP:LISTEN -n -P` diff --git a/pages.ko/common/lspath.md b/pages.ko/common/lspath.md new file mode 100644 index 00000000000000..08adce2c5053c5 --- /dev/null +++ b/pages.ko/common/lspath.md @@ -0,0 +1,12 @@ +# lspath + +> `PATH` 환경 변수의 내용을 나열하고, 선택적으로 페이지를 나눠서 표시합니다. +> 더 많은 정보: . + +- 시스템 `PATH` 변수의 내용을 한 줄에 하나씩 출력: + +`lspath` + +- 현재 시스템 `PATH` 변수의 내용을 한 줄에 하나씩 출력하고, 페이지로 나눠서 표시: + +`lspath --page` diff --git a/pages.ko/common/lstopo.md b/pages.ko/common/lstopo.md new file mode 100644 index 00000000000000..447b05f9d80fc4 --- /dev/null +++ b/pages.ko/common/lstopo.md @@ -0,0 +1,24 @@ +# lstopo + +> 시스템의 하드웨어 토폴로지를 보여줍니다. +> 더 많은 정보: . + +- 그래픽 창에서 요약된 시스템 토폴로지 표시 (그래픽 디스플레이가 없는 경우 콘솔에 출력): + +`lstopo` + +- 요약 없이 전체 시스템 토폴로지 표시: + +`lstopo --no-factorize` + +- 요약된 시스템 토폴로지를 [p]hysical 인덱스만 사용하여 표시 (즉, OS에서 보는 것처럼): + +`lstopo --physical` + +- 지정된 형식으로 파일에 전체 시스템 토폴로지 작성: + +`lstopo --no-factorize --output-format {{콘솔|ascii|tex|fig|svg|pdf|ps|png|xml}} {{경로/대상/파일}}` + +- 단색 또는 회색조로 출력: + +`lstopo --palette {{없음|회색}}` diff --git a/pages.ko/common/lsyncd.md b/pages.ko/common/lsyncd.md new file mode 100644 index 00000000000000..4c8c66d104e48e --- /dev/null +++ b/pages.ko/common/lsyncd.md @@ -0,0 +1,13 @@ +# lsyncd + +> 파일과 디렉토리를 감시하고 변경 시 `rsync`를 실행. +> 주로 두 시스템의 디렉토리를 동기화하여 한 디렉토리에서 발생한 변경 사항을 즉시 다른 디렉토리에 반영하기 위해 사용. +> 더 많은 정보: . + +- 소스를 감시하고 변경 시마다 `rsync`를 실행하여 파일을 대상에 동기화: + +`lsyncd -rsync {{경로/대상/소스}} {{호스트::공유_이름}}` + +- `rsyncd` 공유 대신 SSH 사용: + +`lsyncd -rsyncssh {{경로/대상/소스}} {{호스트}} {{경로/대상/대상}}` diff --git a/pages.ko/common/lt.md b/pages.ko/common/lt.md new file mode 100644 index 00000000000000..2d09bfc4f1faeb --- /dev/null +++ b/pages.ko/common/lt.md @@ -0,0 +1,24 @@ +# lt + +> Localtunnel은 로컬호스트를 외부에 노출시켜 손쉽게 테스트하고 공유할 수 있게 해줍니다. +> 더 많은 정보: . + +- 특정 포트에서 터널 시작: + +`lt --port {{8000}}` + +- 포워딩을 수행하는 업스트림 서버 지정: + +`lt --port {{8000}} --host {{호스트}}` + +- 특정 서브도메인 요청: + +`lt --port {{8000}} --subdomain {{서브도메인}}` + +- 기본 요청 정보 출력: + +`lt --port {{8000}} --print-requests` + +- 기본 웹 브라우저에서 터널 URL 열기: + +`lt --port {{8000}} --open` diff --git a/pages.ko/common/lua.md b/pages.ko/common/lua.md new file mode 100644 index 00000000000000..0d8b3c698da48b --- /dev/null +++ b/pages.ko/common/lua.md @@ -0,0 +1,16 @@ +# lua + +> 강력하고 가벼운 임베디드 프로그래밍 언어. +> 더 많은 정보: . + +- 대화형 Lua 셸 시작: + +`lua` + +- Lua 스크립트 실행: + +`lua {{경로/대상/스크립트.lua}} {{--선택적-인자}}` + +- Lua 표현식 실행: + +`lua -e '{{print("Hello World")}}'` diff --git a/pages.ko/common/luac.md b/pages.ko/common/luac.md new file mode 100644 index 00000000000000..5cc9fb9a9d99e8 --- /dev/null +++ b/pages.ko/common/luac.md @@ -0,0 +1,12 @@ +# luac + +> Lua 바이트코드 컴파일러. +> 더 많은 정보: . + +- Lua 소스 파일을 Lua 바이트코드로 컴파일: + +`luac -o {{바이트_코드.luac}} {{소스.lua}}` + +- 출력에 디버그 심볼을 포함하지 않음: + +`luac -s -o {{바이트_코드.luac}} {{소스.lua}}` diff --git a/pages.ko/common/luajit.md b/pages.ko/common/luajit.md new file mode 100644 index 00000000000000..9dd822b80a39a8 --- /dev/null +++ b/pages.ko/common/luajit.md @@ -0,0 +1,17 @@ +# luajit + +> Lua 프로그래밍 언어를 위한 즉시 컴파일러(JIT). +> 같이 보기: `lua`. +> 더 많은 정보: . + +- 대화형 Lua 셸 시작: + +`luajit` + +- Lua 스크립트 실행: + +`luajit {{경로/대상/스크립트.lua}} {{--선택적-인자}}` + +- Lua 표현식 실행: + +`luajit -e '{{print("Hello World")}}'` diff --git a/pages.ko/common/lualatex.md b/pages.ko/common/lualatex.md new file mode 100644 index 00000000000000..0ced10d50fbc0d --- /dev/null +++ b/pages.ko/common/lualatex.md @@ -0,0 +1,20 @@ +# lualatex + +> Lua를 사용하여 컴파일하는 TeX의 확장 버전. +> 더 많은 정보: . + +- Lua 인터프리터로 작동하도록 `texlua` 시작: + +`lualatex` + +- Tex 파일을 PDF로 컴파일: + +`lualatex {{경로/대상/파일.tex}}` + +- 오류로 중단 없이 Tex 파일 컴파일: + +`lualatex -interaction nonstopmode {{경로/대상/파일.tex}}` + +- 특정 출력 파일 이름으로 Tex 파일 컴파일: + +`lualatex -jobname={{파일이름}} {{경로/대상/파일.tex}}` diff --git a/pages.ko/common/lumen.md b/pages.ko/common/lumen.md new file mode 100644 index 00000000000000..2882664092fc6e --- /dev/null +++ b/pages.ko/common/lumen.md @@ -0,0 +1,12 @@ +# lumen + +> Lumen 마이크로 프레임워크를 위한 명령줄 설치 도구. +> 더 많은 정보: . + +- 새로운 Lumen 애플리케이션 생성: + +`lumen new {{애플리케이션_이름}}` + +- 사용 가능한 설치 명령 나열: + +`lumen list` diff --git a/pages.ko/common/lwp-request.md b/pages.ko/common/lwp-request.md new file mode 100644 index 00000000000000..f3b580ca319b83 --- /dev/null +++ b/pages.ko/common/lwp-request.md @@ -0,0 +1,29 @@ +# lwp-request + +> 간단한 명령줄 HTTP 클라이언트. +> libwww-perl로 제작되었습니다. +> 더 많은 정보: . + +- 간단한 GET 요청 만들기: + +`lwp-request -m GET {{http://example.com/some/path}}` + +- 파일을 POST 요청으로 업로드: + +`lwp-request -m POST {{http://example.com/some/path}} < {{경로/대상/파일}}` + +- 사용자 지정 에이전트로 요청 만들기: + +`lwp-request -H 'User-Agent: {{사용자_에이전트}} -m {{METHOD}} {{http://example.com/some/path}}` + +- HTTP 인증으로 요청 만들기: + +`lwp-request -C {{사용자이름}}:{{비밀번호}} -m {{METHOD}} {{http://example.com/some/path}}` + +- 요청 헤더를 출력하며 요청 만들기: + +`lwp-request -U -m {{METHOD}} {{http://example.com/some/path}}` + +- 응답 헤더와 상태 체인을 출력하며 요청 만들기: + +`lwp-request -E -m {{METHOD}} {{http://example.com/some/path}}` diff --git a/pages.ko/common/lychee.md b/pages.ko/common/lychee.md new file mode 100644 index 00000000000000..079b215b624dda --- /dev/null +++ b/pages.ko/common/lychee.md @@ -0,0 +1,24 @@ +# lychee + +> 깨진 URL을 찾기 위한 도구. +> 더 많은 정보: . + +- 웹사이트에서 깨진 링크 스캔: + +`lychee {{https://example.com}}` + +- 오류 유형의 세부 분류 표시: + +`lychee --format detailed {{https://example.com}}` + +- DDOS 보호를 방지하기 위해 연결 수 제한: + +`lychee --max-concurrency {{5}} {{links.txt}}` + +- 디렉터리 구조 내 파일에서 깨진 URL 확인: + +`grep -r "{{패턴}}" | lychee -` + +- 도움말 표시: + +`lychee --help` diff --git a/pages.ko/common/lynx.md b/pages.ko/common/lynx.md new file mode 100644 index 00000000000000..9679e50f9814de --- /dev/null +++ b/pages.ko/common/lynx.md @@ -0,0 +1,36 @@ +# lynx + +> 명령줄 웹 브라우저. +> 더 많은 정보: . + +- 웹사이트 방문: + +`lynx {{example.com}}` + +- 익명 계정에 대한 제한 적용: + +`lynx -anonymous {{example.com}}` + +- 가능할 경우 마우스 지원 활성화: + +`lynx -use_mouse {{example.com}}` + +- 가능할 경우 컬러 모드 강제 활성화: + +`lynx -color {{example.com}}` + +- 특정 파일을 사용하여 쿠키를 읽고 쓰면서 링크 열기: + +`lynx -cookie_file={{경로/대상/파일}} {{example.com}}` + +- 페이지의 링크를 앞뒤로 탐색: + +`{{|}}` + +- 이전에 표시된 페이지로 돌아가기: + +`{{|}}` + +- 종료: + +`` diff --git a/pages.ko/common/lz4.md b/pages.ko/common/lz4.md new file mode 100644 index 00000000000000..10b07b73942cac --- /dev/null +++ b/pages.ko/common/lz4.md @@ -0,0 +1,28 @@ +# lz4 + +> .lz4 파일을 압축하거나 압축 해제합니다. +> 더 많은 정보: . + +- 파일 압축: + +`lz4 {{경로/대상/파일}}` + +- 파일 압축 해제: + +`lz4 -d {{파일.lz4}}` + +- 파일 압축 해제 후 `stdout`에 출력: + +`lz4 -dc {{파일.lz4}}` + +- 디렉토리 및 그 내용 패키징 및 압축: + +`tar cvf - {{경로/대상/폴더}} | lz4 - {{디렉토리.tar.lz4}}` + +- 디렉토리 및 그 내용 압축 해제 및 풀기: + +`lz4 -dc {{디렉토리.tar.lz4}} | tar -xv` + +- 최고 압축률로 파일 압축: + +`lz4 -9 {{경로/대상/파일}}` diff --git a/pages.ko/common/lzcat.md b/pages.ko/common/lzcat.md new file mode 100644 index 00000000000000..4af12e5d6a1cb4 --- /dev/null +++ b/pages.ko/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> 이 명령은 `xz` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr xz` diff --git a/pages.ko/common/lzcmp.md b/pages.ko/common/lzcmp.md new file mode 100644 index 00000000000000..744cfd573dc3e1 --- /dev/null +++ b/pages.ko/common/lzcmp.md @@ -0,0 +1,7 @@ +# lzcmp + +> 이 명령은 `xzcmp`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr xzcmp` diff --git a/pages.ko/common/lzegrep.md b/pages.ko/common/lzegrep.md new file mode 100644 index 00000000000000..08cacdfaa84a50 --- /dev/null +++ b/pages.ko/common/lzegrep.md @@ -0,0 +1,8 @@ +# lzegrep + +> 이 명령은 `xzgrep --extended-regexp`의 별칭입니다. +> 같이 보기: `egrep`. + +- 원본 명령에 대한 문서 보기: + +`tldr xzgrep` diff --git a/pages.ko/common/lzfgrep.md b/pages.ko/common/lzfgrep.md new file mode 100644 index 00000000000000..4e542487f88d11 --- /dev/null +++ b/pages.ko/common/lzfgrep.md @@ -0,0 +1,8 @@ +# lzfgrep + +> 이 명령은 `xzgrep --fixed-strings`의 별칭입니다. +> 같이 보기: `fgrep`. + +- 원본 명령에 대한 문서 보기: + +`tldr xzgrep` diff --git a/pages.ko/common/lzgrep.md b/pages.ko/common/lzgrep.md new file mode 100644 index 00000000000000..e851e62f4e0451 --- /dev/null +++ b/pages.ko/common/lzgrep.md @@ -0,0 +1,7 @@ +# lzgrep + +> 이 명령은 `xzgrep`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr xzgrep` diff --git a/pages.ko/common/lzip.md b/pages.ko/common/lzip.md new file mode 100644 index 00000000000000..92ff0cf3d04437 --- /dev/null +++ b/pages.ko/common/lzip.md @@ -0,0 +1,37 @@ +# lzip + +> `gzip` 또는 `bzip2`와 유사한 사용자 인터페이스를 가진 무손실 데이터 압축기. +> Lzip은 "Lempel-Ziv-Markovchain-Algorithm" (LZMA) 스트림 형식의 단순화된 형태를 사용하며 상호 운용성을 극대화하고 안전성을 최적화하기 위해 3단계 무결성 검사를 제공합니다. +> 더 많은 정보: . + +- 파일을 압축하여 원본 파일을 대체: + +`lzip {{경로/대상/파일}}` + +- 파일을 압축하면서 원본 파일 유지: + +`lzip -k {{경로/대상/파일}}` + +- 가장 높은 압축률로 파일 압축 (레벨=9): + +`lzip -k {{경로/대상/파일}} --best` + +- 가장 빠른 속도로 파일 압축 (레벨=0): + +`lzip -k {{경로/대상/파일}} --fast` + +- 압축 파일의 무결성 테스트: + +`lzip --test {{경로/대상/아카이브.lz}}` + +- 파일을 압축 해제하여 원본 파일로 대체: + +`lzip -d {{경로/대상/아카이브.lz}}` + +- 파일을 압축 해제하면서 압축본 유지: + +`lzip -d -k {{경로/대상/아카이브.lz}}` + +- 아카이브 내 파일 목록 및 압축 통계 표시: + +`lzip --list {{경로/대상/아카이브.lz}}` diff --git a/pages.ko/common/lzless.md b/pages.ko/common/lzless.md new file mode 100644 index 00000000000000..844ed4442987e8 --- /dev/null +++ b/pages.ko/common/lzless.md @@ -0,0 +1,7 @@ +# lzless + +> 이 명령은 `xzless`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr xzless` diff --git a/pages.ko/common/lzma.md b/pages.ko/common/lzma.md new file mode 100644 index 00000000000000..5f4a5874510103 --- /dev/null +++ b/pages.ko/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> 이 명령은 `xz` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr xz` diff --git a/pages.ko/common/lzmore.md b/pages.ko/common/lzmore.md new file mode 100644 index 00000000000000..4beb340bfd4cb9 --- /dev/null +++ b/pages.ko/common/lzmore.md @@ -0,0 +1,7 @@ +# lzmore + +> 이 명령은 `xzmore`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr xzmore` diff --git a/pages.ko/common/lzop.md b/pages.ko/common/lzop.md new file mode 100644 index 00000000000000..39d5ccdc754fbb --- /dev/null +++ b/pages.ko/common/lzop.md @@ -0,0 +1,16 @@ +# lzop + +> LZO 압축을 사용하여 파일을 압축하거나 압축 해제. +> 더 많은 정보: . + +- 파일을 `.lzo` 확장자로 새 파일로 압축: + +`lzop {{경로/대상/파일}}` + +- 파일 압축 해제: + +`lzop -d {{경로/대상/파일.lzo}}` + +- 압축 레벨을 지정하여 파일 압축. 0 = 최악, 9 = 최고 (기본 레벨은 3): + +`lzop -{{레벨}} {{경로/대상/파일}}` diff --git a/pages.ko/common/m4.md b/pages.ko/common/m4.md new file mode 100644 index 00000000000000..5ad0cf590d803c --- /dev/null +++ b/pages.ko/common/m4.md @@ -0,0 +1,12 @@ +# m4 + +> 매크로 프로세서. +> 더 많은 정보: . + +- 파일의 매크로 처리: + +`m4 {{경로/대상/파일}}` + +- 파일을 처리하기 전에 매크로 정의: + +`m4 -D{{매크로_이름}}={{매크로_값}} {{경로/대상/파일}}` diff --git a/pages.ko/common/macchina.md b/pages.ko/common/macchina.md new file mode 100644 index 00000000000000..128ab8793301b0 --- /dev/null +++ b/pages.ko/common/macchina.md @@ -0,0 +1,24 @@ +# macchina + +> 컴퓨터에 대한 정보를 표시. +> 더 많은 정보: . + +- 기본 설정 또는 구성 파일에 지정된 설정으로 시스템 정보 나열: + +`macchina` + +- 사용자 정의 구성 파일 경로 지정: + +`macchina --config {{경로/대상/구성_파일}}` + +- 시스템 정보를 나열하되, 업타임, 셸 및 커널 출력을 길게 표시: + +`macchina --long-uptime --long-shell --long-kernel` + +- 시스템 정보를 가져올 때 발생한 오류/시스템 실패 점검: + +`macchina --doctor` + +- 모든 ASCII 아트의 원작자 나열: + +`macchina --ascii-artists` diff --git a/pages.ko/common/macptopbm.md b/pages.ko/common/macptopbm.md new file mode 100644 index 00000000000000..30afd014eeaf33 --- /dev/null +++ b/pages.ko/common/macptopbm.md @@ -0,0 +1,21 @@ +# macptopbm + +> MacPaint 파일을 입력으로 받아 PBM 이미지를 출력으로 생성합니다. +> 같이 보기: `pbmtomacp`. +> 더 많은 정보: . + +- MacPaint 파일을 PGM 이미지로 변환: + +`macptopbm {{경로/대상/파일.macp}} > {{경로/대상/출력.pbm}}` + +- 파일을 읽을 때 지정된 바이트 수만큼 건너뜀: + +`macptopbm -extraskip {{N}} > {{경로/대상/출력.pbm}}` + +- 모든 정보 메시지 억제: + +`macptopbm -quiet > {{경로/대상/출력.pbm}}` + +- 버전 표시: + +`macptopbm -version` diff --git a/pages.ko/common/maestral.md b/pages.ko/common/maestral.md new file mode 100644 index 00000000000000..7f6732aa9b7529 --- /dev/null +++ b/pages.ko/common/maestral.md @@ -0,0 +1,24 @@ +# maestral + +> macOS 및 Linux용 경량 Dropbox 클라이언트. +> 더 많은 정보: . + +- GUI 시작: + +`maestral gui` + +- 현재 Maestral 상태 출력: + +`maestral status` + +- 동기화 일시 중지: + +`maestral pause` + +- 동기화 재개: + +`maestral resume` + +- 특정 파일 또는 폴더의 동기화 상태 출력: + +`maestral filestatus {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/magento.md b/pages.ko/common/magento.md new file mode 100644 index 00000000000000..314343817e2031 --- /dev/null +++ b/pages.ko/common/magento.md @@ -0,0 +1,36 @@ +# magento + +> Magento PHP 프레임워크 관리. +> 더 많은 정보: . + +- 하나 이상의 모듈 활성화: + +`magento module:enable {{모듈1 모듈2 ...}}` + +- 하나 이상의 모듈 비활성화: + +`magento module:disable {{모듈1 모듈2 ...}}` + +- 모듈 활성화 후 데이터베이스 업데이트: + +`magento setup:upgrade` + +- 코드 및 의존성 주입 구성 업데이트: + +`magento setup:di:compile` + +- 정적 에셋 배포: + +`magento setup:static-content:deploy` + +- 유지보수 모드 활성화: + +`magento maintenance:enable` + +- 유지보수 모드 비활성화: + +`magento maintenance:disable` + +- 사용 가능한 모든 명령 나열: + +`magento list` diff --git a/pages.ko/common/magick-compare.md b/pages.ko/common/magick-compare.md new file mode 100644 index 00000000000000..7f1c1e876dcd98 --- /dev/null +++ b/pages.ko/common/magick-compare.md @@ -0,0 +1,13 @@ +# magick compare + +> 두 이미지 간의 차이를 시각적으로 주석 처리하기 위한 비교 이미지를 생성. +> 같이 보기: `magick`. +> 더 많은 정보: . + +- 두 이미지 비교: + +`magick compare {{경로/대상/이미지1.png}} {{경로/대상/이미지2.png}} {{경로/대상/diff.png}}` + +- 지정된 측정 기준을 사용하여 두 이미지 비교: + +`magick compare -verbose -metric {{PSNR}} {{경로/대상/image1.png}} {{경로/대상/image2.png}} {{경로/대상/diff.png}}` diff --git a/pages.ko/common/magick-convert.md b/pages.ko/common/magick-convert.md new file mode 100644 index 00000000000000..8b48c778c03047 --- /dev/null +++ b/pages.ko/common/magick-convert.md @@ -0,0 +1,37 @@ +# magick convert + +> 이미지 형식 간 변환, 크기 조정, 병합, 생성 등을 수행. +> 참고: 이 도구는 이전의 `convert`로, ImageMagick 7+에서 `magick`으로 대체되었습니다. +> 더 많은 정보: . + +- 이미지를 JPEG에서 PNG로 변환: + +`magick convert {{경로/대상/입력_이미지.jpg}} {{경로/대상/출력_이미지.png}}` + +- 이미지를 원래 크기의 50%로 조정: + +`magick convert {{경로/대상/입력_이미지.png}} -resize 50% {{경로/대상/출력_이미지.png}}` + +- 이미지의 원본 비율을 유지하며 최대 크기가 640x480이 되도록 축소: + +`magick convert {{경로/대상/입력_이미지.png}} -resize 640x480 {{경로/대상/출력_이미지.png}}` + +- 지정된 파일 크기를 가지도록 이미지 크기 조정: + +`magick convert {{경로/대상/입력_이미지.png}} -define jpeg:extent=512kb {{경로/대상/출력_이미지.jpg}}` + +- 이미지를 수직/수평으로 결합: + +`magick convert {{경로/대상/이미지1.png 경로/대상/이미지2.png ...}} {{-append|+append}} {{경로/대상/출력_이미지.png}}` + +- 100ms 간격의 이미지 시리즈로 GIF 생성: + +`magick convert {{경로/대상/이미지1.png 경로/대상/이미지2.png ...}} -delay {{10}} {{경로/대상/애니메이션.gif}}` + +- 단색 빨간색 배경만 있는 이미지 생성: + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{경로/대상/이미지.png}}` + +- 여러 크기의 이미지를 사용하여 파비콘 생성: + +`magick convert {{경로/대상/이미지1.png 경로/대상/이미지2.png ...}} {{경로/대상/favicon.ico}}` diff --git a/pages.ko/common/magick-identify.md b/pages.ko/common/magick-identify.md new file mode 100644 index 00000000000000..5a640d1491a4f6 --- /dev/null +++ b/pages.ko/common/magick-identify.md @@ -0,0 +1,17 @@ +# magick identify + +> 이미지 파일의 형식과 특성을 설명합니다. +> 같이 보기: `magick`. +> 더 많은 정보: . + +- 이미지의 형식과 기본 특성 설명: + +`magick identify {{경로/대상/이미지}}` + +- 이미지의 형식과 자세한 특성 설명: + +`magick identify -verbose {{경로/대상/이미지}}` + +- 현재 디렉토리의 모든 JPEG 파일의 크기를 수집하여 CSV 파일에 저장: + +`magick identify -format "{{%f,%w,%h\n}}" {{*.jpg}} > {{경로/대상/파일목록.csv}}` diff --git a/pages.ko/common/magick-import.md b/pages.ko/common/magick-import.md new file mode 100644 index 00000000000000..6333954c167ea4 --- /dev/null +++ b/pages.ko/common/magick-import.md @@ -0,0 +1,17 @@ +# magick import + +> X 서버 화면의 일부 또는 전체를 캡처하여 파일로 저장. +> 같이 보기: `magick`. +> 더 많은 정보: . + +- 전체 X 서버 화면을 PostScript 파일로 캡처: + +`magick import -window root {{경로/대상/output.ps}}` + +- 원격 X 서버 화면의 내용을 PNG 이미지로 캡처: + +`magick import -window root -display {{remote_host}}:{{화면}}.{{디스플레이}} {{경로/대상/output.png}}` + +- `xwininfo`로 표시된 ID를 가진 특정 창을 JPEG 이미지로 캡처: + +`magick import -window {{window_id}} {{경로/대상/output.jpg}}` diff --git a/pages.ko/common/magick-mogrify.md b/pages.ko/common/magick-mogrify.md new file mode 100644 index 00000000000000..2f87351f28925a --- /dev/null +++ b/pages.ko/common/magick-mogrify.md @@ -0,0 +1,26 @@ +# magick mogrify + +> 여러 이미지에 대한 크기 조정, 자르기, 뒤집기, 효과 추가와 같은 작업 수행. +> 변경 사항은 원본 파일에 직접 적용됩니다. +> 같이 보기: `magick`. +> 더 많은 정보: . + +- 디렉토리 내 모든 JPEG 이미지를 원래 크기의 50%로 조정: + +`magick mogrify -resize {{50%}} {{*.jpg}}` + +- `DSC`로 시작하는 모든 이미지를 800x600으로 조정: + +`magick mogrify -resize {{800x600}} {{DSC*}}` + +- 디렉토리 내 모든 PNG를 JPEG로 변환: + +`magick mogrify -format {{jpg}} {{*.png}}` + +- 현재 디렉토리의 모든 이미지 파일의 채도를 절반으로 줄이기: + +`magick mogrify -modulate {{100,50}} {{*}}` + +- 현재 디렉토리의 모든 이미지 파일의 밝기를 두 배로 증가: + +`magick mogrify -modulate {{200}} {{*}}` diff --git a/pages.ko/common/magick-montage.md b/pages.ko/common/magick-montage.md new file mode 100644 index 00000000000000..63f88436e7f89c --- /dev/null +++ b/pages.ko/common/magick-montage.md @@ -0,0 +1,25 @@ +# magick montage + +> 이미지를 사용자 지정 가능한 그리드로 배열. +> 같이 보기: `magick`. +> 더 많은 정보: . + +- 이미지를 그리드로 배열하고, 그리드 셀 크기보다 큰 이미지를 자동으로 크기 조정: + +`magick montage {{경로/대상/이미지1.jpg 경로/대상/이미지2.jpg ...}} {{경로/대상/몽타주.jpg}}` + +- 가장 큰 이미지로부터 그리드 셀 크기를 자동 계산하여 이미지를 그리드로 배열: + +`magick montage {{경로/대상/이미지1.jpg 경로/대상/이미지2.jpg ...}} -geometry {{+0+0}} {{경로/대상/몽타주.jpg}}` + +- 그리드 셀 크기를 지정하고, 타일링 전에 이미지를 해당 크기에 맞게 조정: + +`magick montage {{경로/대상/이미지1.jpg 경로/대상/이미지2.jpg ...}} -geometry {{640x480+0+0}} {{경로/대상/몽타주.jpg}}` + +- 그리드의 행과 열 수를 제한하여 입력 이미지가 여러 출력 몽타주로 넘치도록 설정: + +`magick montage {{경로/대상/이미지1.jpg 경로/대상/이미지2.jpg ...}} -geometry {{+0+0}} -tile {{2x3}} {{몽타주_%d.jpg}}` + +- 타일링 전에 이미지를 그리드 셀에 맞게 크기 조정 및 자르기: + +`magick montage {{경로/대상/이미지1.jpg 경로/대상/이미지2.jpg ...}} -geometry {{+0+0}} -resize {{640x480^}} -gravity {{center}} -crop {{640x480+0+0}} {{경로/대상/몽타주.jpg}}` diff --git a/pages.ko/common/magick.md b/pages.ko/common/magick.md new file mode 100644 index 00000000000000..92fecc7dec530b --- /dev/null +++ b/pages.ko/common/magick.md @@ -0,0 +1,26 @@ +# magick + +> 이미지 형식 간 변환, 편집, 합성 또는 변환. +> 이 도구는 ImageMagick 7+에서 `convert`를 대체합니다. 7+ 버전에서 이전 도구를 사용하려면 `magick convert`를 참조하세요. +> `mogrify`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 이미지 형식 간 변환: + +`magick {{경로/대상/입력_이미지.png}} {{경로/대상/출력_이미지.jpg}}` + +- 이미지를 크기 조정하여 새 복사본 만들기: + +`magick {{경로/대상/입력_이미지.jpg}} -resize {{100x100}} {{경로/대상/출력_이미지.jpg}}` + +- 현재 디렉토리의 모든 JPEG 이미지로 GIF 생성: + +`magick {{*.jpg}} {{경로/대상/이미지.gif}}` + +- 체커보드 패턴 생성: + +`magick -size {{640x480}} pattern:checkerboard {{경로/대상/체커보드.png}}` + +- 현재 디렉토리의 모든 JPEG 이미지로 PDF 파일 생성: + +`magick {{*.jpg}} -adjoin {{경로/대상/파일.pdf}}` diff --git a/pages.ko/common/mail.md b/pages.ko/common/mail.md new file mode 100644 index 00000000000000..60480a0bda13f9 --- /dev/null +++ b/pages.ko/common/mail.md @@ -0,0 +1,21 @@ +# mail + +> 인수가 주어지지 않으면 사용자의 메일함을 조작하는 명령입니다. +> 이메일을 보내려면 메시지 본문을 `stdin`에서 작성합니다. +> 더 많은 정보: . + +- 개인 메일을 확인하기 위한 대화형 프롬프트 열기: + +`mail` + +- 입력한 이메일 메시지를 선택적으로 참조(CC)와 함께 보내기. 아래 명령은 ``를 누른 후 계속됩니다. 메시지 텍스트를 입력하세요(여러 줄 가능). 메시지 입력이 완료되면 ``를 누르세요: + +`mail --subject "{{제목}}" {{받는이@example.com}} --cc "{{참조_이메일_주소}}"` + +- 파일 내용을 포함하는 이메일 보내기: + +`mail --subject "{{$HOSTNAME 파일명.txt}}" {{받는이@example.com}} < {{경로/대상/파일명.txt}}` + +- `tar.gz` 파일을 첨부 파일로 보내기: + +`tar cvzf - {{경로/대상/폴더1 경로/대상/폴더2}} | uuencode {{데이터.tar.gz}} | mail --subject "{{제목}}" {{받는이@example.com}}` diff --git a/pages.ko/common/mailx.md b/pages.ko/common/mailx.md new file mode 100644 index 00000000000000..1fb8f9961fd116 --- /dev/null +++ b/pages.ko/common/mailx.md @@ -0,0 +1,28 @@ +# mailx + +> 메일을 보내고 받습니다. +> 더 많은 정보: . + +- 메일 보내기 (명령어 입력 후 내용을 작성하고 ``로 종료): + +`mailx -s "{{제목}}" {{수신자_주소}}` + +- 다른 명령의 출력을 메일 내용으로 보내기: + +`echo "{{내용}}" | mailx -s "{{제목}}" {{수신자_주소}}` + +- 파일에서 읽은 내용을 메일로 보내기: + +`mailx -s "{{제목}}" {{수신자_주소}} < {{내용.txt}}` + +- 메일을 보내고 다른 주소로 CC하기: + +`mailx -s "{{제목}}" -c {{참조_주소}} {{수신자_주소}}` + +- 발신자 주소를 지정하여 메일 보내기: + +`mailx -s "{{제목}}" -r {{발신자_주소}} {{수신자_주소}}` + +- 첨부 파일과 함께 메일 보내기: + +`mailx -a {{경로/대상/파일}} -s "{{제목}}" {{수신자_주소}}` diff --git a/pages.ko/common/make.md b/pages.ko/common/make.md new file mode 100644 index 00000000000000..703abeb4a70289 --- /dev/null +++ b/pages.ko/common/make.md @@ -0,0 +1,37 @@ +# make + +> Makefile에 작성된 대상에 대한 작업 실행기입니다. +> 주로 소스 코드에서 실행 파일의 컴파일을 제어하는 데 사용됩니다. +> 더 많은 정보: . + +- Makefile에 지정된 첫 번째 대상(일반적으로 "all"이라는 이름)을 호출: + +`make` + +- 특정 대상을 호출: + +`make {{대상}}` + +- 특정 대상을 호출하여, 한 번에 4개의 작업을 병렬로 실행: + +`make -j{{4}} {{대상}}` + +- 특정 Makefile을 사용: + +`make --file {{경로/대상/파일}}` + +- 다른 디렉토리에서 make 실행: + +`make --directory {{경로/대상/폴더}}` + +- 소스 파일이 변경되지 않은 경우에도, 대상을 강제로 make 실행: + +`make --always-make {{대상}}` + +- Makefile에 정의된 변수를 재정의: + +`make {{대상}} {{변수}}={{새로운_값}}` + +- 환경에 의해 Makefile에 정의된 변수를 재정의: + +`make --environment-overrides {{대상}}` diff --git a/pages.ko/common/makebuildserver.md b/pages.ko/common/makebuildserver.md new file mode 100644 index 00000000000000..dffdebbff1af2b --- /dev/null +++ b/pages.ko/common/makebuildserver.md @@ -0,0 +1,12 @@ +# makebuildserver + +> F-Droid 빌드 서버 가상 머신 생성. +> 더 많은 정보: . + +- 새 가상 머신을 생성하거나 기존 머신이 있을 경우 업데이트: + +`makebuildserver` + +- 새로운 가상 머신을 강제로 생성: + +`makebuildserver --clean` diff --git a/pages.ko/common/makensis.md b/pages.ko/common/makensis.md new file mode 100644 index 00000000000000..054c8df21bee8e --- /dev/null +++ b/pages.ko/common/makensis.md @@ -0,0 +1,17 @@ +# makensis + +> NSIS 설치 프로그램을 위한 크로스 플랫폼 컴파일러. +> NSIS 스크립트를 Windows 설치 프로그램 실행 파일로 컴파일합니다. +> 더 많은 정보: . + +- NSIS 스크립트 컴파일: + +`makensis {{경로/대상/파일.nsi}}` + +- 엄격 모드로 NSIS 스크립트 컴파일 (경고를 오류로 처리): + +`makensis -WX {{경로/대상/파일.nsi}}` + +- 특정 명령에 대한 도움말 표시: + +`makensis -CMDHELP {{명령}}` diff --git a/pages.ko/common/makepasswd.md b/pages.ko/common/makepasswd.md new file mode 100644 index 00000000000000..4763b81e0000e0 --- /dev/null +++ b/pages.ko/common/makepasswd.md @@ -0,0 +1,20 @@ +# makepasswd + +> 비밀번호 생성 및 암호화. +> 더 많은 정보: . + +- 무작위 비밀번호 생성 (8~10자, 문자 및 숫자 포함): + +`makepasswd` + +- 10자 길이의 비밀번호 생성: + +`makepasswd --chars {{10}}` + +- 5~10자 길이의 비밀번호 생성: + +`makepasswd --minchars {{5}} --maxchars {{10}}` + +- "b", "a", "r" 문자만 포함하는 비밀번호 생성: + +`makepasswd --string {{bar}}` diff --git a/pages.ko/common/mamba-repoquery.md b/pages.ko/common/mamba-repoquery.md new file mode 100644 index 00000000000000..53591471598a99 --- /dev/null +++ b/pages.ko/common/mamba-repoquery.md @@ -0,0 +1,20 @@ +# mamba repoquery + +> conda 및 mamba 패키지 저장소와 패키지 의존성을 효율적으로 조회. +> 더 많은 정보: . + +- 특정 패키지의 사용 가능한 모든 버전 검색: + +`mamba repoquery search {{패키지}}` + +- 특정 제약 조건을 만족하는 모든 패키지 검색: + +`mamba repoquery search {{sphinx<5}}` + +- 현재 활성화된 환경에 설치된 패키지의 의존성을 트리 형식으로 나열: + +`mamba repoquery depends --tree {{scipy}}` + +- 특정 패키지의 설치가 필요한 현재 환경의 패키지를 출력 (`depends`의 역방향): + +`mamba repoquery whoneeds {{ipython}}` diff --git a/pages.ko/common/mamba.md b/pages.ko/common/mamba.md new file mode 100644 index 00000000000000..bfc026eed1c0b2 --- /dev/null +++ b/pages.ko/common/mamba.md @@ -0,0 +1,37 @@ +# mamba + +> 빠르고 플랫폼 간에 호환되는 패키지 관리자로, conda의 대체품으로 설계되었습니다. +> `repoquery`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 새 환경을 생성하고 지정한 패키지를 설치: + +`mamba create --name {{환경_이름}} {{python=3.10 matplotlib}}` + +- 현재 환경에 패키지를 설치하고 패키지 [c]hannel을 지정: + +`mamba install -c {{conda-forge}} {{python=3.6 numpy}}` + +- 현재 환경의 모든 패키지 업데이트: + +`mamba update --all` + +- 저장소에서 특정 패키지 검색: + +`mamba repoquery search {{numpy}}` + +- 모든 환경 나열: + +`mamba info --envs` + +- 캐시에서 사용되지 않는 [p]패키지 및 [t]타르볼 제거: + +`mamba clean -pt` + +- 환경 활성화: + +`mamba activate {{환경_이름}}` + +- 현재 활성화된 환경에 설치된 모든 패키지 나열: + +`mamba list` diff --git a/pages.ko/common/man.md b/pages.ko/common/man.md new file mode 100644 index 00000000000000..810a9ba6ae11dd --- /dev/null +++ b/pages.ko/common/man.md @@ -0,0 +1,32 @@ +# man + +> 설명서 페이지 형식 지정 및 표시. +> 더 많은 정보: . + +- 명령에 대한 설명서 페이지를 표시: + +`man {{명령어}}` + +- 섹션 7의 명령에 대한 설명서 페이지를 표시: + +`man {{7}} {{명령어}}` + +- 명령에 사용 가능한 모든 섹션 나열: + +`man -f {{명령어}}` + +- 설명서 페이지 검색 경로 표시: + +`man --path` + +- 설명서 페이지 자체가 아닌 설명서 페이지의 위치를 표시: + +`man -w {{명령어}}` + +- 특정 로케일을 사용하여 설명서 페이지 표시: + +`man {{명령어}} --locale={{지역}}` + +- 검색 문자열이 포함된 설명서 페이지 검색: + +`man -k "{{검색_문자열}}"` diff --git a/pages.ko/common/manim.md b/pages.ko/common/manim.md new file mode 100644 index 00000000000000..3819a00ffd9517 --- /dev/null +++ b/pages.ko/common/manim.md @@ -0,0 +1,32 @@ +# manim + +> 수학 설명 영상을 위한 애니메이션 엔진입니다. +> 더 많은 정보: . + +- 기본 설정으로 Python 스크립트의 장면을 렌더링: + +`manim {{경로/파일.py}} {{장면이름}}` + +- 실시간 미리보기로 렌더링 (렌더링 후 자동으로 영상 열기): + +`manim {{[-pql|--preview --quality low]}} {{경로/파일.py}} {{장면이름}}` + +- 고화질(1080p 60fps)로 렌더링: + +`manim {{[-pqh|--preview --quality high]}} {{경로/파일.py}} {{장면이름}}` + +- 출력 파일 이름을 직접 지정: + +`manim {{[-o|--output_file]}} {{출력파일이름}} {{경로/파일.py}} {{장면이름}}` + +- 특정 해상도와 프레임 속도로 렌더링: + +`manim {{[-r|--resolution]}} {{1920,1080}} {{[-f|--fps]}} {{60}} {{경로/파일.py}} {{장면이름}}` + +- 렌더링 없이 스크립트에 정의된 장면 목록 보기: + +`manim --list_scenes {{경로/파일.py}}` + +- 도움말 표시: + +`manim --help` diff --git a/pages.ko/common/masscan.md b/pages.ko/common/masscan.md new file mode 100644 index 00000000000000..151c3393cad414 --- /dev/null +++ b/pages.ko/common/masscan.md @@ -0,0 +1,33 @@ +# masscan + +> 가능한 한 빠르게 스캔하기 위한 네트워크 스캐너. +> 권한 상승 상태에서 실행하는 것이 가장 좋습니다. Nmap 호환성을 확인하려면 `masscan --nmap`을 실행하세요. +> 더 많은 정보: . + +- IP 또는 네트워크 서브넷에서 포트 80 스캔: + +`masscan {{IP_주소|네트워크_프리픽스}} --ports {{80}}` + +- 클래스 B 서브넷을 초당 100,000 패킷의 속도로 상위 100개 포트 스캔: + +`masscan {{10.0.0.0/16}} --top-ports {{100}} --rate {{100000}}` + +- 특정 제외 파일의 범위를 피하여 클래스 B 서브넷 스캔: + +`masscan {{10.0.0.0/16}} --top-ports {{100}} --excludefile {{경로/대상/파일}}` + +- 인터넷에서 포트 80 및 443에서 실행 중인 웹 서버 스캔: + +`masscan {{0.0.0.0/0}} --ports {{80,443}} --rate {{10000000}}` + +- 인터넷에서 UDP 포트 53에서 실행 중인 DNS 서버 스캔: + +`masscan {{0.0.0.0/0}} --ports {{U:53}} --rate {{10000000}}` + +- 특정 포트 범위를 인터넷에서 스캔하고 파일로 내보내기: + +`masscan {{0.0.0.0/0}} --ports {{0-65535}} --output-format {{binary|grepable|json|list|xml}} --output-filename {{경로/대상/파일}}` + +- 파일에서 바이너리 스캔 결과를 읽고 `stdout`으로 출력: + +`masscan --readscan {{경로/대상/파일}}` diff --git a/pages.ko/common/mat2.md b/pages.ko/common/mat2.md new file mode 100644 index 00000000000000..ba7c544c4cb400 --- /dev/null +++ b/pages.ko/common/mat2.md @@ -0,0 +1,28 @@ +# mat2 + +> 다양한 파일 형식의 메타데이터를 제거하여 익명화. +> 더 많은 정보: . + +- 지원되는 파일 형식 나열: + +`mat2 --list` + +- 파일에서 메타데이터 제거: + +`mat2 {{경로/대상/파일}}` + +- 파일에서 메타데이터를 제거하고 자세한 출력을 콘솔에 출력: + +`mat2 --verbose {{경로/대상/파일}}` + +- 파일에 있는 메타데이터를 제거하지 않고 표시: + +`mat2 --show {{경로/대상/파일}}` + +- 파일에서 메타데이터를 부분적으로 제거: + +`mat2 --lightweight {{경로/대상/파일}}` + +- 백업을 생성하지 않고 파일에서 메타데이터를 제거: + +`mat2 --inplace {{경로/대상/파일}}` diff --git a/pages.ko/common/mate-dictionary.md b/pages.ko/common/mate-dictionary.md new file mode 100644 index 00000000000000..2931ff36e19a5f --- /dev/null +++ b/pages.ko/common/mate-dictionary.md @@ -0,0 +1,12 @@ +# mate-dictionary + +> 사전에서 단어를 찾아보세요. +> 더 많은 정보: . + +- 특정 단어의 정의 출력: + +`mate-dictionary --no-window --look-up '{{단어}}'` + +- 새 창에서 특정 단어와 유사한 단어 표시: + +`mate-dictionary --match '{{단어}}'` diff --git a/pages.ko/common/matlab.md b/pages.ko/common/matlab.md new file mode 100644 index 00000000000000..36b95f0f90dc57 --- /dev/null +++ b/pages.ko/common/matlab.md @@ -0,0 +1,16 @@ +# matlab + +> MathWorks의 수치 계산 환경. +> 더 많은 정보: . + +- 시작 시 스플래시 화면 없이 실행: + +`matlab -nosplash` + +- MATLAB 명령문 실행: + +`matlab -r "{{matlab_명령문}}"` + +- MATLAB 스크립트 실행: + +`matlab -r "run({{경로/대상/스크립트.m}})"` diff --git a/pages.ko/common/maza.md b/pages.ko/common/maza.md new file mode 100644 index 00000000000000..c761e9ce8f00b9 --- /dev/null +++ b/pages.ko/common/maza.md @@ -0,0 +1,20 @@ +# maza + +> 로컬 광고 차단기. Pi-hole과 유사하지만 로컬에서 운영 체제를 사용합니다. +> 더 많은 정보: . + +- Maza 데이터베이스 업데이트: + +`maza update` + +- Maza 시작: + +`sudo maza start` + +- Maza 중지: + +`sudo maza stop` + +- Maza 상태 표시: + +`maza status` diff --git a/pages.ko/common/mc.md b/pages.ko/common/mc.md new file mode 100644 index 00000000000000..29c52c4f3eb713 --- /dev/null +++ b/pages.ko/common/mc.md @@ -0,0 +1,14 @@ +# mc + +> Midnight Commander, TUI 파일 관리자. +> ``, 마우스 또는 터미널에 명령을 입력하여 디렉토리 구조를 탐색하세요. +> 같이 보기: `ranger`, `clifm`, `vifm`, `nautilus`. +> 더 많은 정보: . + +- Midnight Commander 시작: + +`mc` + +- 흑백 모드로 Midnight Commander 시작: + +`mc -b` diff --git a/pages.ko/common/mcfly.md b/pages.ko/common/mcfly.md new file mode 100644 index 00000000000000..588edb52a0dd31 --- /dev/null +++ b/pages.ko/common/mcfly.md @@ -0,0 +1,29 @@ +# mcfly + +> 스마트 명령어 기록 검색 및 관리 도구. +> 기본 셸 히스토리 검색(``)을 대체하여 명령어에 대한 문맥과 관련성을 제공하는 지능형 검색 엔진. +> 더 많은 정보: . + +- 지정된 셸에 대한 mcfly 통합 코드 출력: + +`mcfly init {{bash|fish|zsh}}` + +- 기록에서 명령어를 검색하여 20개의 결과 출력: + +`mcfly search --results {{20}} "{{검색어}}"` + +- 새로운 명령어를 기록에 추가: + +`mcfly add "{{명령어}}"` + +- 디렉토리가 이동되었음을 기록하고, 이전 경로의 기록을 새로운 경로로 전송: + +`mcfly move "{{경로/대상/이전_폴더}}" "{{경로/대상/새로운_폴더}}"` + +- 추천 엔진 훈련 (개발자 도구): + +`mcfly train` + +- 특정 하위 명령어에 대한 도움말 표시: + +`mcfly help {{하위_명령어}}` diff --git a/pages.ko/common/mcs.md b/pages.ko/common/mcs.md new file mode 100644 index 00000000000000..bb38d1bb3e942b --- /dev/null +++ b/pages.ko/common/mcs.md @@ -0,0 +1,16 @@ +# mcs + +> Mono C# 컴파일러. +> 더 많은 정보: . + +- 지정된 파일 컴파일: + +`mcs {{경로/대상/입력_파일1.cs 경로/대상/입력_파일2.cs ...}}` + +- 출력 프로그램 이름 지정: + +`mcs -out:{{경로/대상/파일.exe}} {{경로/대상/입력_파일1.cs 경로/대상/입력_파일2.cs ...}}` + +- 출력 프로그램 유형 지정: + +`mcs -target:{{exe|winexe|library|module}} {{경로/대상/입력_파일1.cs 경로/대상/입력_파일2.cs ...}}` diff --git a/pages.ko/common/md-to-clip.md b/pages.ko/common/md-to-clip.md new file mode 100644 index 00000000000000..e8f6392e0c4c4d --- /dev/null +++ b/pages.ko/common/md-to-clip.md @@ -0,0 +1,29 @@ +# md-to-clip + +> tldr 페이지를 커맨드라인 인터페이스 페이지로 변환. +> 같이 보기: `clip-view`. +> 더 많은 정보: . + +- tldr 페이지 파일을 변환하고 같은 디렉토리에 저장: + +`md-to-clip {{경로/대상/페이지.md 경로/대상/페이지2.md ...}}` + +- tldr 페이지 파일을 변환하고 특정 디렉토리에 저장: + +`md-to-clip --output-directory {{경로/대상/폴더}} {{경로/대상/페이지1.md 경로/대상/페이지2.md ...}}` + +- tldr 페이지 파일을 변환하여 `stdout`에 출력: + +`md-to-clip --no-file-save <(echo '{{페이지-내용}}')` + +- 특정 설정 파일에서 추가 플레이스홀더를 인식하여 tldr 페이지 파일 변환: + +`md-to-clip --special-placeholder-config {{경로/대상/구성.yaml}} {{경로/대상/페이지1.md 경로/대상/페이지2.md ...}}` + +- 도움말 표시: + +`md-to-clip --help` + +- 버전 정보 표시: + +`md-to-clip --version` diff --git a/pages.ko/common/md5sum.md b/pages.ko/common/md5sum.md new file mode 100644 index 00000000000000..3dd7554865e770 --- /dev/null +++ b/pages.ko/common/md5sum.md @@ -0,0 +1,28 @@ +# md5sum + +> MD5 암호화 체크섬 계산. +> 더 많은 정보: . + +- 하나 이상의 파일에 대한 MD5 체크섬 계산: + +`md5sum {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- MD5 체크섬 목록을 파일에 계산하고 저장: + +`md5sum {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.md5}}` + +- `stdin`에서 MD5 체크섬 계산: + +`{{명령어}} | md5sum` + +- MD5 합 및 파일 이름이 포함된 파일을 읽고 모든 파일이 일치하는지 확인: + +`md5sum --check {{경로/대상/파일.md5}}` + +- 누락된 파일이나 확인 실패 시 메시지만 표시: + +`md5sum --check --quiet {{경로/대상/파일.md5}}` + +- 누락된 파일은 무시하고 확인 실패 시 메시지만 표시: + +`md5sum --ignore-missing --check --quiet {{경로/대상/파일.md5}}` diff --git a/pages.ko/common/mdatopbm.md b/pages.ko/common/mdatopbm.md new file mode 100644 index 00000000000000..c86c16a00719f1 --- /dev/null +++ b/pages.ko/common/mdatopbm.md @@ -0,0 +1,17 @@ +# mdatopbm + +> Microdesign MDA 파일을 PBM 이미지로 변환. +> 같이 보기: `pbmtomda`. +> 더 많은 정보: . + +- MDA 파일을 PBM 이미지로 변환: + +`mdatopbm {{경로/대상/이미지.mda}} > {{경로/대상/출력.pbm}}` + +- 입력 이미지의 색상을 반전: + +`mdatopbm -i {{경로/대상/이미지.mda}} > {{경로/대상/출력.pbm}}` + +- 입력 이미지의 높이를 두 배로: + +`mdatopbm -d {{경로/대상/이미지.mda}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/mdp.md b/pages.ko/common/mdp.md new file mode 100644 index 00000000000000..521a64e0fffd48 --- /dev/null +++ b/pages.ko/common/mdp.md @@ -0,0 +1,20 @@ +# mdp + +> 명령줄 기반 도구로, Markdown 파일로부터 프레젠테이션을 만듭니다. +> 더 많은 정보: . + +- 터미널에서 Markdown 파일로 프레젠테이션 시작: + +`mdp {{프레젠테이션.md}}` + +- 페이드 전환 비활성화: + +`mdp --nofade {{프레젠테이션.md}}` + +- 밝은 배경의 터미널에서 사용할 수 있도록 글꼴 색상 반전: + +`mdp --invert {{프레젠테이션.md}}` + +- 투명한 터미널에서 투명도 비활성화: + +`mdp --notrans {{프레젠테이션.md}}` diff --git a/pages.ko/common/mediainfo.md b/pages.ko/common/mediainfo.md new file mode 100644 index 00000000000000..3c5615974bc2b5 --- /dev/null +++ b/pages.ko/common/mediainfo.md @@ -0,0 +1,16 @@ +# mediainfo + +> 비디오 및 오디오 파일의 메타데이터 표시. +> 더 많은 정보: . + +- 주어진 파일의 메타데이터를 콘솔에 표시: + +`mediainfo {{파일}}` + +- 콘솔에 표시하면서 출력 결과를 주어진 파일에 저장: + +`mediainfo --Logfile={{출력.txt}} {{파일}}` + +- 추출할 수 있는 메타데이터 속성 나열: + +`mediainfo --Info-Parameters` diff --git a/pages.ko/common/medusa.md b/pages.ko/common/medusa.md new file mode 100644 index 00000000000000..35a76079eb0b15 --- /dev/null +++ b/pages.ko/common/medusa.md @@ -0,0 +1,28 @@ +# medusa + +> 다양한 프로토콜에 대한 모듈식 병렬 로그인 브루트포싱 도구. +> 더 많은 정보: . + +- 설치된 모든 모듈 나열: + +`medusa -d` + +- 특정 모듈의 사용 예시 보기 (`medusa -d`로 모든 설치된 모듈 나열 가능): + +`medusa -M {{ssh|http|web-form|postgres|ftp|mysql|...}} -q` + +- 사용자 이름 파일과 비밀번호 파일을 사용하여 FTP 서버에 대해 브루트포싱 실행: + +`medusa -M ftp -h host -U {{경로/대상/사용자_이름_파일}} -P {{경로/대상/비밀번호_파일}}` + +- 지정된 사용자 이름, 비밀번호, 사용자 에이전트를 사용하여 HTTP 서버에 로그인 시도: + +`medusa -M HTTP -h host -u {{사용자_이름}} -p {{비밀번호}} -m USER-AGENT:"{{에이전트}}"` + +- 사용자 이름 파일과 해시를 사용하여 MySQL 서버에 대해 브루트포싱 실행: + +`medusa -M mysql -h host -U {{경로/대상/사용자_이름_파일}} -p {{해시}} -m PASS:HASH` + +- 사용자 이름과 pwdump 파일을 사용하여 SMB 서버 목록에 대해 브루트포싱 실행: + +`medusa -M smbnt -H {{경로/대상/호스트_파일}} -C {{경로/대상/pwdump_파일}} -u {{사용자_이름}} -m PASS:HASH` diff --git a/pages.ko/common/meld.md b/pages.ko/common/meld.md new file mode 100644 index 00000000000000..38d6b484a3d6ea --- /dev/null +++ b/pages.ko/common/meld.md @@ -0,0 +1,28 @@ +# meld + +> 그래픽 차이 및 병합 도구. +> 더 많은 정보: . + +- `meld` 시작: + +`meld` + +- 두 파일 비교: + +`meld {{경로/대상/파일_1}} {{경로/대상/파일_2}}` + +- 두 디렉터리 비교: + +`meld {{경로/대상/폴더_1}} {{경로/대상/폴더_2}}` + +- 세 파일 비교: + +`meld {{경로/대상/파일_1}} {{경로/대상/파일_2}} {{경로/대상/파일_3}}` + +- 기존 meld 인스턴스에서 새 탭으로 비교 열기: + +`meld --newtab {{경로/대상/파일_1}} {{경로/대상/파일_2}}` + +- 여러 세트의 파일 비교: + +`meld --diff {{경로/대상/파일_1}} {{경로/대상/파일_2}} --diff {{경로/대상/파일_3}} {{경로/대상/파일_4}}` diff --git a/pages.ko/common/mesg.md b/pages.ko/common/mesg.md new file mode 100644 index 00000000000000..6a75907ddcb26c --- /dev/null +++ b/pages.ko/common/mesg.md @@ -0,0 +1,17 @@ +# mesg + +> 터미널이 다른 사용자로부터 메시지를 받을 수 있는지 확인하거나 설정합니다. 주로 `write` 명령에서 사용됩니다. +> 같이 보기: `write`, `talk`. +> 더 많은 정보: . + +- 터미널이 메시지를 받을 수 있는지 확인: + +`mesg` + +- `write` 명령으로부터 메시지 수신을 허용하지 않음: + +`mesg n` + +- `write` 명령으로부터 메시지 수신을 허용: + +`mesg y` diff --git a/pages.ko/common/meshlabserver.md b/pages.ko/common/meshlabserver.md new file mode 100644 index 00000000000000..8140e464b965ae --- /dev/null +++ b/pages.ko/common/meshlabserver.md @@ -0,0 +1,24 @@ +# meshlabserver + +> MeshLab 3D 메쉬 처리 소프트웨어의 명령줄 인터페이스. +> 더 많은 정보: . + +- STL 파일을 OBJ 파일로 변환: + +`meshlabserver -i {{입력.stl}} -o {{출력.obj}}` + +- WRL 파일을 OFF 파일로 변환하고 출력 메쉬에 버텍스 및 면 노멀 포함: + +`meshlabserver -i {{입력.wrl}} -o {{출력.off}} -om vn fn` + +- 사용 가능한 모든 처리 필터 목록을 파일로 덤프: + +`meshlabserver -d {{경로/대상/파일}}` + +- MeshLab GUI에서 생성된 필터 스크립트를 사용하여 3D 파일 처리 (Filters > Show current filter script > Save Script): + +`meshlabserver -i {{입력.ply}} -o {{출력.ply}} -s {{필터_스크립트.mlx}}` + +- 필터 스크립트를 사용하여 3D 파일을 처리하고 필터 출력 내용을 로그 파일에 기록: + +`meshlabserver -i {{입력.x3d}} -o {{출력.x3d}} -s {{필터_스크립트.mlx}} -l {{로그파일}}` diff --git a/pages.ko/common/meshnamed.md b/pages.ko/common/meshnamed.md new file mode 100644 index 00000000000000..6a38565914be99 --- /dev/null +++ b/pages.ko/common/meshnamed.md @@ -0,0 +1,16 @@ +# meshnamed + +> IPv6 메쉬 네트워크를 위한 분산 네이밍 시스템. +> 더 많은 정보: . + +- 로컬 메쉬네임 DNS 서버 시작: + +`meshnamed` + +- IPv6 주소를 메쉬네임으로 변환: + +`meshnamed -getname {{200:6fc8:9220:f400:5cc2:305a:4ac6:967e}}` + +- 메쉬네임을 IPv6 주소로 변환: + +`meshnamed -getip {{aiag7sesed2aaxgcgbnevruwpy}}` diff --git a/pages.ko/common/meson.md b/pages.ko/common/meson.md new file mode 100644 index 00000000000000..fc1e42f6a178ce --- /dev/null +++ b/pages.ko/common/meson.md @@ -0,0 +1,28 @@ +# meson + +> SCons와 유사한 빌드 시스템으로, Python을 프론트엔드 언어로 사용하고 Ninja를 빌드 백엔드로 사용합니다. +> 더 많은 정보: . + +- 주어진 이름과 버전으로 C 프로젝트 생성: + +`meson init --language={{c}} --name={{내프로젝트}} --version={{0.1}}` + +- 기본값으로 `builddir` 구성: + +`meson setup {{빌드_폴더}}` + +- 프로젝트 빌드: + +`meson compile -C {{경로/대상/빌드_폴더}}` + +- 프로젝트의 모든 테스트 실행: + +`meson test` + +- 도움말 표시: + +`meson --help` + +- 버전 표시: + +`meson --version` diff --git a/pages.ko/common/meteor.md b/pages.ko/common/meteor.md new file mode 100644 index 00000000000000..da2deedcb08def --- /dev/null +++ b/pages.ko/common/meteor.md @@ -0,0 +1,28 @@ +# meteor + +> 웹 애플리케이션을 구축하기 위한 풀스택 JavaScript 플랫폼. +> 더 많은 정보: . + +- 루트 디렉터리에서 개발 모드로 meteor 프로젝트 실행: + +`meteor` + +- 지정된 디렉터리에 프로젝트 생성: + +`meteor create {{경로/대상/폴더}}` + +- 프로젝트에서 현재 사용 중인 패키지 목록 표시: + +`meteor list` + +- 프로젝트에 패키지 추가: + +`meteor add {{패키지}}` + +- 프로젝트에서 패키지 제거: + +`meteor remove {{패키지}}` + +- 지정된 디렉터리에 tarball 형식의 프로젝트 배포용 빌드 생성: + +`meteor build {{경로/대상/폴더}}` diff --git a/pages.ko/common/mg.md b/pages.ko/common/mg.md new file mode 100644 index 00000000000000..1147b373f55a76 --- /dev/null +++ b/pages.ko/common/mg.md @@ -0,0 +1,20 @@ +# mg + +> 작고 빠르며 이식성이 뛰어난 `emacs` 기반 텍스트 편집기. +> 더 많은 정보: . + +- 파일을 열어 편집: + +`mg {{경로/대상/파일}}` + +- 지정된 줄 번호에서 파일 열기: + +`mg +{{줄_번호}} {{경로/대상/파일}}` + +- 읽기 전용 모드로 파일 열기: + +`mg -R {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 편집 시 `~` 백업 파일 비활성화: + +`mg -n {{경로/대상/파일}}` diff --git a/pages.ko/common/mgrtopbm.md b/pages.ko/common/mgrtopbm.md new file mode 100644 index 00000000000000..1669f8576d1ebf --- /dev/null +++ b/pages.ko/common/mgrtopbm.md @@ -0,0 +1,9 @@ +# mgrtopbm + +> MGR 비트맵을 PBM 파일로 변환. +> 같이 보기: `pbmtomgr`. +> 더 많은 정보: . + +- MGR 비트맵을 PBM 파일로 변환: + +`mgrtopbm {{경로/대상/이미지.mgr}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/mh_copyright.md b/pages.ko/common/mh_copyright.md new file mode 100644 index 00000000000000..cc7a0ef585d162 --- /dev/null +++ b/pages.ko/common/mh_copyright.md @@ -0,0 +1,12 @@ +# mh_copyright + +> MATLAB 또는 Octave 코드의 저작권 헤더를 조정합니다. +> 더 많은 정보: . + +- 지정된 파일의 연도(범위)를 현재 연도로 업데이트: + +`mh_copyright --primary-entity="{{엔티티}}" --update-year {{경로/대상/파일_또는_디렉토리1.m 경로/대상/파일_또는_디렉토리2.m ...}}` + +- 모든 파일의 연도(범위)를 현재 연도로 업데이트: + +`mh_copyright --primary-entity="{{엔티티}}" --update-year` diff --git a/pages.ko/common/mh_lint.md b/pages.ko/common/mh_lint.md new file mode 100644 index 00000000000000..3577d857bd0e31 --- /dev/null +++ b/pages.ko/common/mh_lint.md @@ -0,0 +1,21 @@ +# mh_lint + +> MATLAB 또는 Octave 코드에서 버그를 찾으려 시도합니다. +> 이 도구는 완벽하지도 않고 완전하지도 않음을 유의하세요. +> 더 많은 정보: . + +- 현재 디렉토리 검사: + +`mh_lint` + +- 특정 디렉토리를 재귀적으로 검사: + +`mh_lint {{경로/대상/폴더}}` + +- MATLAB 파일 검사: + +`mh_lint {{경로/대상/파일.m}}` + +- Octave 파일 검사: + +`mh_lint --octave {{경로/대상/파일.m}}` diff --git a/pages.ko/common/mh_metric.md b/pages.ko/common/mh_metric.md new file mode 100644 index 00000000000000..972cbaebe658bc --- /dev/null +++ b/pages.ko/common/mh_metric.md @@ -0,0 +1,24 @@ +# mh_metric + +> MATLAB 또는 Octave 코드의 코드 메트릭을 계산하고 적용. +> 더 많은 정보: . + +- 지정된 파일의 코드 메트릭 출력: + +`mh_metric {{경로/대상/파일1.m 경로/대상/파일2.m ...}}` + +- 지정된 Octave 파일의 코드 메트릭 출력: + +`mh_metric --octave {{경로/대상/파일1.m 경로/대상/파일2.m ...}}` + +- 지정된 디렉터리의 코드 메트릭을 재귀적으로 출력: + +`mh_metric {{경로/대상/폴더}}` + +- 현재 디렉터리의 코드 메트릭 출력: + +`mh_metric` + +- 코드 메트릭 보고서를 HTML 또는 JSON 형식으로 출력: + +`mh_metric --{{html|json}} {{경로/대상/출력_파일}}` diff --git a/pages.ko/common/micro.md b/pages.ko/common/micro.md new file mode 100644 index 00000000000000..12d479d84030ba --- /dev/null +++ b/pages.ko/common/micro.md @@ -0,0 +1,33 @@ +# micro + +> 현대적이고 직관적인 터미널 기반 텍스트 편집기. +> 키보드뿐만 아니라 마우스를 사용하여 탐색하거나 텍스트를 선택할 수 있습니다. +> 더 많은 정보: . + +- 파일 열기: + +`micro {{경로/대상/파일}}` + +- 파일 저장: + +`` + +- 전체 줄 잘라내기: + +`` + +- 파일에서 패턴 검색 (다음/이전 일치 항목으로 이동하려면 ``/``를 누르세요): + +`{{패턴}}` + +- 명령 실행: + +`{{명령}}` + +- 파일 전체에서 치환 수행: + +`replaceall "{{패턴}}" "{{대체}}"` + +- 종료: + +`` diff --git a/pages.ko/common/microsoft-edge.md b/pages.ko/common/microsoft-edge.md new file mode 100644 index 00000000000000..d036a158974d9e --- /dev/null +++ b/pages.ko/common/microsoft-edge.md @@ -0,0 +1,38 @@ +# microsoft-edge + +> Google에서 개발한 Chromium 웹 브라우저를 기반으로 Microsoft가 개발한 현대적인 웹 브라우저. +> 이 명령은 Windows에서는 `msedge`로 사용 가능합니다. +> 참고: `chromium`의 추가 명령 인수도 Microsoft Edge 제어에 사용할 수 있습니다. +> 더 많은 정보: . + +- 특정 URL 또는 파일 열기: + +`microsoft-edge {{https://example.com|경로/대상/파일.html}}` + +- InPrivate 모드로 열기: + +`microsoft-edge --inprivate {{example.com}}` + +- 새 창에서 열기: + +`microsoft-edge --new-window {{example.com}}` + +- 애플리케이션 모드로 열기 (툴바, URL 바, 버튼 등 없이): + +`microsoft-edge --app={{https://example.com}}` + +- 프록시 서버 사용: + +`microsoft-edge --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- 사용자 지정 프로필 디렉토리로 열기: + +`microsoft-edge --user-data-dir={{경로/대상/폴더}}` + +- CORS 검증 없이 열기 (API 테스트에 유용): + +`microsoft-edge --user-data-dir={{경로/대상/폴더}} --disable-web-security` + +- 각 탭이 열릴 때마다 DevTools 창 열기: + +`microsoft-edge --auto-open-devtools-for-tabs` diff --git a/pages.ko/common/mid3v2.md b/pages.ko/common/mid3v2.md new file mode 100644 index 00000000000000..7354f713975927 --- /dev/null +++ b/pages.ko/common/mid3v2.md @@ -0,0 +1,33 @@ +# mid3v2 + +> 오디오 태그 편집. +> 같이 보기: `id3v2`. +> 더 많은 정보: . + +- 지원되는 모든 ID3v2.3 또는 ID3v2.4 프레임과 그 의미 나열: + +`mid3v2 --list-frames {{경로/대상/파일1.mp3 경로/대상/파일2.mp3 ...}}` + +- 지원되는 모든 ID3v1 숫자 장르 나열: + +`mid3v2 --list-genres {{경로/대상/파일1.mp3 경로/대상/파일2.mp3 ...}}` + +- 특정 파일의 모든 태그 나열: + +`mid3v2 --list {{경로/대상/파일1.mp3 경로/대상/파일2.mp3 ...}}` + +- 특정 아티스트, 앨범 또는 곡 정보 설정: + +`mid3v2 {{--artist|--album|--song}}={{문자열}} {{경로/대상/파일1.mp3 경로/대상/파일2.mp3 ...}}` + +- 특정 이미지 정보 설정: + +`mid3v2 --picture={{파일이름:설명:이미지_유형:마임_유형}} {{경로/대상/파일1.mp3 경로/대상/파일2.mp3 ...}}` + +- 특정 연도 정보 설정: + +`mid3v2 --year={{YYYY}} {{경로/대상/파일1.mp3 경로/대상/파일2.mp3 ...}}` + +- 특정 날짜 정보 설정: + +`mid3v2 --date={{YYYY-MM-DD}} {{경로/대상/파일1.mp3 경로/대상/파일2.mp3 ...}}` diff --git a/pages.ko/common/middleman.md b/pages.ko/common/middleman.md new file mode 100644 index 00000000000000..10906c1e4f0b5b --- /dev/null +++ b/pages.ko/common/middleman.md @@ -0,0 +1,24 @@ +# middleman + +> Ruby로 작성된 정적 사이트 생성기. +> 더 많은 정보: . + +- 새 Middleman 프로젝트 생성: + +`middleman init "{{프로젝트_이름}}"` + +- 현재 프로젝트를 위한 로컬 서버를 포트 4567에서 시작: + +`middleman server` + +- 지정된 포트에서 현재 프로젝트를 위한 로컬 서버 시작: + +`middleman server -p "{{포트}}"` + +- 현재 디렉토리의 프로젝트를 배포 준비를 위해 빌드: + +`bundle exec middleman build` + +- 현재 디렉토리의 Middleman 프로젝트 배포: + +`middleman deploy` diff --git a/pages.ko/common/minetest.md b/pages.ko/common/minetest.md new file mode 100644 index 00000000000000..354fdf097fe81b --- /dev/null +++ b/pages.ko/common/minetest.md @@ -0,0 +1,21 @@ +# minetest + +> 다중 사용자 무한 세계 블록 샌드박스. +> 같이 보기: `minetestserver`, 서버 전용 바이너리. +> 더 많은 정보: . + +- 클라이언트 모드에서 Minetest 시작: + +`minetest` + +- 특정 세계를 호스팅하여 서버 모드에서 Minetest 시작: + +`minetest --server --world {{이름}}` + +- 로그를 특정 파일에 기록: + +`minetest --logfile {{경로/대상/파일}}` + +- 콘솔에 오류만 기록: + +`minetest --quiet` diff --git a/pages.ko/common/minetestserver.md b/pages.ko/common/minetestserver.md new file mode 100644 index 00000000000000..ab631ce70ac777 --- /dev/null +++ b/pages.ko/common/minetestserver.md @@ -0,0 +1,37 @@ +# minetestserver + +> 멀티플레이어 무한 세계 블록 샌드박스 서버. +> 그래픽 클라이언트인 `minetest`도 참고하세요. +> 더 많은 정보: . + +- 서버 시작: + +`minetestserver` + +- 사용 가능한 세계 목록 나열: + +`minetestserver --world list` + +- 지정된 세계 로드: + +`minetestserver --world {{세계_이름}}` + +- 사용 가능한 게임 ID 목록 나열: + +`minetestserver --gameid list` + +- 지정된 게임 사용: + +`minetestserver --gameid {{게임_ID}}` + +- 특정 포트로 수신 대기: + +`minetestserver --port {{34567}}` + +- 다른 데이터 백엔드로 마이그레이션: + +`minetestserver --migrate {{sqlite3|leveldb|redis}}` + +- 서버 시작 후 대화형 터미널 시작: + +`minetestserver --terminal` diff --git a/pages.ko/common/mingle.md b/pages.ko/common/mingle.md new file mode 100644 index 00000000000000..894ce03f1dafb4 --- /dev/null +++ b/pages.ko/common/mingle.md @@ -0,0 +1,17 @@ +# mingle + +> 그래프 레이아웃의 엣지를 번들링. +> Graphviz 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 그래프 레이아웃(이미 레이아웃 정보가 있는)의 엣지를 번들링: + +`mingle {{경로/대상/레이아웃1.gv}} {{경로/대상/레이아웃2.gv ...}} > {{경로/대상/출력.gv}}` + +- 레이아웃, 번들링을 수행하고 한 번의 명령으로 그림으로 출력: + +`dot {{경로/대상/입력.gv}} | mingle | dot -T {{png}} > {{경로/대상/출력.png}}` + +- 도움말 표시: + +`mingle -?` diff --git a/pages.ko/common/minifab.md b/pages.ko/common/minifab.md new file mode 100644 index 00000000000000..582607a8bb895a --- /dev/null +++ b/pages.ko/common/minifab.md @@ -0,0 +1,36 @@ +# minifab + +> Hyperledger Fabric 네트워크의 설정 및 배포를 자동화. +> 더 많은 정보: . + +- 기본 Hyperledger Fabric 네트워크 시작: + +`minifab up -i {{minifab_버전}}` + +- Hyperledger Fabric 네트워크 중지: + +`minifab down` + +- 지정된 채널에 체인코드 설치: + +`minifab install -n {{체인코드_이름}}` + +- 특정 버전의 체인코드를 채널에 설치: + +`minifab install -n {{체인코드_이름}} -v {{체인코드_버전}}` + +- 설치/업그레이드 후 체인코드 초기화: + +`minifab approve,commit,initialize,discover` + +- 지정된 인수로 체인코드 메서드 호출: + +`minifab invoke -n {{체인코드_이름}} -p '"{{메서드_이름}}", "{{인수1}}", "{{인수2}}", ...'` + +- 원장에 쿼리 실행: + +`minifab blockquery {{블록_번호}}` + +- 애플리케이션을 빠르게 실행: + +`minifab apprun -l {{앱_프로그래밍_언어}}` diff --git a/pages.ko/common/minikube-start.md b/pages.ko/common/minikube-start.md new file mode 100644 index 00000000000000..a1a642e98785f3 --- /dev/null +++ b/pages.ko/common/minikube-start.md @@ -0,0 +1,24 @@ +# minikube start + +> 다양한 설정으로 `minikube` 시작. +> 더 많은 정보: . + +- 특정 Kubernetes 버전으로 `minikube` 시작: + +`minikube start --kubernetes-version {{v1.24.0}}` + +- 특정 자원 할당(예: 메모리 및 CPU)으로 `minikube` 시작: + +`minikube start --memory {{2048}} --cpus {{2}}` + +- 특정 드라이버(예: VirtualBox)로 `minikube` 시작: + +`minikube start --driver {{virtualbox}}` + +- 백그라운드에서 `minikube` 시작 (헤드리스 모드): + +`minikube start --background` + +- 사용자 지정 애드온(예: 메트릭 서버)과 함께 `minikube` 시작: + +`minikube start --addons {{metrics-server}}` diff --git a/pages.ko/common/minikube.md b/pages.ko/common/minikube.md new file mode 100644 index 00000000000000..e47089c8720beb --- /dev/null +++ b/pages.ko/common/minikube.md @@ -0,0 +1,32 @@ +# minikube + +> Kubernetes를 로컬에서 실행. +> 더 많은 정보: . + +- 클러스터 시작: + +`minikube start` + +- 클러스터의 IP 주소 가져오기: + +`minikube ip` + +- 노드 포트를 통해 노출된 my_service라는 서비스에 접근하고 URL 가져오기: + +`minikube service {{my_service}} --url` + +- 브라우저에서 Kubernetes 대시보드 열기: + +`minikube dashboard` + +- 실행 중인 클러스터 중지: + +`minikube stop` + +- 클러스터 삭제: + +`minikube delete` + +- LoadBalancer 서비스에 연결: + +`minikube tunnel` diff --git a/pages.ko/common/miniserve.md b/pages.ko/common/miniserve.md new file mode 100644 index 00000000000000..c3f3ac8653d355 --- /dev/null +++ b/pages.ko/common/miniserve.md @@ -0,0 +1,16 @@ +# miniserve + +> 간단한 HTTP 파일 서버. +> 더 많은 정보: . + +- 디렉터리 서빙: + +`miniserve {{경로/대상/폴더}}` + +- 단일 파일 서빙: + +`miniserve {{경로/대상/파일}}` + +- HTTP 기본 인증을 사용하여 디렉터리 서빙: + +`miniserve --auth {{사용자이름}}:{{비밀번호}} {{경로/대상/폴더}}` diff --git a/pages.ko/common/minisign.md b/pages.ko/common/minisign.md new file mode 100644 index 00000000000000..09ffd02eaf83b1 --- /dev/null +++ b/pages.ko/common/minisign.md @@ -0,0 +1,24 @@ +# minisign + +> 파일 서명 및 서명 검증을 위한 간단한 도구. +> 더 많은 정보: . + +- 기본 위치에 새 키 쌍 생성: + +`minisign -G` + +- 파일 서명: + +`minisign -Sm {{경로/대상/파일}}` + +- 파일 서명 시, 서명에 신뢰할 수 있는(서명된) 주석과 신뢰할 수 없는(서명되지 않은) 주석 추가: + +`minisign -Sm {{경로/대상/파일}} -c "{{신뢰할 수 없는 주석}}" -t "{{신뢰할 수 있는 주석}}"` + +- 지정된 공개 키 파일을 사용하여 파일 및 서명 내 신뢰할 수 있는 주석 검증: + +`minisign -Vm {{경로/대상/파일}} -p {{경로/대상/공개키.pub}}` + +- Base64로 인코딩된 리터럴로 공개 키를 지정하여 파일 및 서명 내 신뢰할 수 있는 주석 검증: + +`minisign -Vm {{경로/대상/파일}} -P "{{공개_키_base64}}"` diff --git a/pages.ko/common/mise.md b/pages.ko/common/mise.md new file mode 100644 index 00000000000000..10044c1f1bfdb8 --- /dev/null +++ b/pages.ko/common/mise.md @@ -0,0 +1,32 @@ +# mise + +> 다양한 패키지의 버전을 관리. +> 더 많은 정보: . + +- 사용 가능한 모든 플러그인 나열: + +`mise plugins list-all` + +- 플러그인 설치: + +`mise plugins add {{이름}}` + +- 설치 가능한 런타임 버전 나열: + +`mise ls-remote {{이름}}` + +- 특정 버전의 패키지 설치: + +`mise install {{이름}}@{{버전}}` + +- 패키지의 전역 버전 설정: + +`mise use --global {{이름}}@{{버전}}` + +- 패키지의 로컬 버전 설정: + +`mise use {{이름}}@{{버전}}` + +- 구성에서 환경 변수 설정: + +`mise set {{변수}}={{값}}` diff --git a/pages.ko/common/mispipe.md b/pages.ko/common/mispipe.md new file mode 100644 index 00000000000000..57fd92ca15fadb --- /dev/null +++ b/pages.ko/common/mispipe.md @@ -0,0 +1,8 @@ +# mispipe + +> 두 개의 명령을 파이프하고 첫 번째 명령의 종료 상태를 반환. +> 더 많은 정보: . + +- 두 개의 명령을 파이프하고 첫 번째 명령의 종료 상태 반환: + +`mispipe {{명령1}} {{명령2}}` diff --git a/pages.ko/common/mitmdump.md b/pages.ko/common/mitmdump.md new file mode 100644 index 00000000000000..77b78ee3be6518 --- /dev/null +++ b/pages.ko/common/mitmdump.md @@ -0,0 +1,17 @@ +# mitmdump + +> HTTP 트래픽을 보기, 기록 및 프로그래밍적으로 변환. +> mitmproxy의 명령줄 대응 도구. +> 더 많은 정보: . + +- 프록시를 시작하고 모든 출력을 파일에 저장: + +`mitmdump -w {{경로/대상/파일}}` + +- 저장된 트래픽 파일에서 POST 요청만 필터링: + +`mitmdump -nr {{입력_파일_이름}} -w {{출력_파일_이름}} "{{~m post}}"` + +- 저장된 트래픽 파일 재생: + +`mitmdump -nc {{경로/대상/파일}}` diff --git a/pages.ko/common/mitmproxy.md b/pages.ko/common/mitmproxy.md new file mode 100644 index 00000000000000..c9a61d8c346c41 --- /dev/null +++ b/pages.ko/common/mitmproxy.md @@ -0,0 +1,29 @@ +# mitmproxy + +> 대화형 중간자 HTTP 프록시. +> 같이 보기: `mitmweb` 및 `mitmdump`. +> 더 많은 정보: . + +- 기본 설정으로 `mitmproxy` 시작 (포트 `8080`에서 대기): + +`mitmproxy` + +- 사용자 정의 주소와 포트에 바인딩하여 `mitmproxy` 시작: + +`mitmproxy --listen-host {{IP_주소}} {{[-p|--listen-port]}} {{포트}}` + +- 스크립트를 사용하여 트래픽을 처리하는 `mitmproxy` 시작: + +`mitmproxy {{[-s|--scripts]}} {{경로/대상/script.py}}` + +- SSL/TLS 마스터 키로 로그를 외부 프로그램(와이어샤크 등)으로 내보내기: + +`SSLKEYLOGFILE="{{경로/대상/파일}}" mitmproxy` + +- 프록시 서버의 작동 모드 지정 (`regular`가 기본값): + +`mitmproxy {{[-m|--mode]}} {{regular|transparent|socks5|...}}` + +- 콘솔 레이아웃 설정: + +`mitmproxy --console-layout {{horizontal|single|vertical}}` diff --git a/pages.ko/common/mitmweb.md b/pages.ko/common/mitmweb.md new file mode 100644 index 00000000000000..54155177617d78 --- /dev/null +++ b/pages.ko/common/mitmweb.md @@ -0,0 +1,17 @@ +# mitmweb + +> 웹 기반의 대화형 중간자(MITM) HTTP 프록시. +> 같이 보기: `mitmproxy`. +> 더 많은 정보: . + +- 기본 설정으로 `mitmweb` 시작: + +`mitmweb` + +- 사용자 지정 주소와 포트로 `mitmweb` 시작: + +`mitmweb --listen-host {{IP_주소}} --listen-port {{포트}}` + +- 트래픽을 처리하기 위해 스크립트를 사용하여 `mitmweb` 시작: + +`mitmweb --scripts {{경로/대상/스크립트.py}}` diff --git a/pages.ko/common/mix.md b/pages.ko/common/mix.md new file mode 100644 index 00000000000000..abd6430691a2b9 --- /dev/null +++ b/pages.ko/common/mix.md @@ -0,0 +1,24 @@ +# mix + +> Elixir 프로젝트를 생성, 컴파일 및 테스트하고, 의존성을 관리하는 작업을 제공하는 빌드 도구. +> 더 많은 정보: . + +- 특정 파일 실행: + +`mix run {{나의_스크립트.exs}}` + +- 새 프로젝트 생성: + +`mix new {{프로젝트_이름}}` + +- 프로젝트 컴파일: + +`mix compile` + +- 프로젝트 테스트 실행: + +`mix test` + +- 도움말 표시: + +`mix help` diff --git a/pages.ko/common/mixxx.md b/pages.ko/common/mixxx.md new file mode 100644 index 00000000000000..85590c5a9b3b15 --- /dev/null +++ b/pages.ko/common/mixxx.md @@ -0,0 +1,29 @@ +# mixxx + +> 무료 및 오픈 소스 크로스 플랫폼 DJ 소프트웨어. +> 같이 보기: `lmms`. +> 더 많은 정보: . + +- Mixxx GUI를 전체 화면으로 시작: + +`mixxx --fullScreen` + +- 안전한 개발자 모드에서 시작하여 충돌 디버그: + +`mixxx --developer --safeMode` + +- 오작동 디버그: + +`mixxx --debugAssertBreak --developer --loglevel trace` + +- 지정된 설정 파일을 사용하여 Mixxx 시작: + +`mixxx --resourcePath {{mixxx/res/controllers}} --settingsPath {{경로/대상/설정-파일}}` + +- 사용자 정의 컨트롤러 매핑 디버그: + +`mixxx --controllerDebug --resourcePath {{경로/대상/매핑-폴더}}` + +- 도움말 표시: + +`mixxx --help` diff --git a/pages.ko/common/mk.md b/pages.ko/common/mk.md new file mode 100644 index 00000000000000..02713676521f79 --- /dev/null +++ b/pages.ko/common/mk.md @@ -0,0 +1,29 @@ +# mk + +> Mkfile에 설명된 대상을 위한 태스크 실행기. +> 주로 소스 코드에서 실행 파일의 컴파일을 제어하는 데 사용됩니다. +> 더 많은 정보: . + +- Mkfile에 지정된 첫 번째 대상 호출 (일반적으로 "all"로 명명됨): + +`mk` + +- 특정 대상 호출: + +`mk {{대상}}` + +- 특정 대상 호출, 동시에 4개의 작업을 병렬로 실행: + +`NPROC=4 mk {{대상}}` + +- 소스 파일이 변경되지 않았더라도 대상을 강제로 만들기: + +`mk -w{{대상}} {{대상}}` + +- 모든 대상을 최신 상태가 아닌 것으로 가정하고, `대상` 및 모든 의존성을 업데이트: + +`mk -a {{대상}}` + +- 오류가 발생해도 가능한 한 계속 진행: + +`mk -k` diff --git a/pages.ko/common/mkcert.md b/pages.ko/common/mkcert.md new file mode 100644 index 00000000000000..499542a9b32113 --- /dev/null +++ b/pages.ko/common/mkcert.md @@ -0,0 +1,24 @@ +# mkcert + +> 로컬에서 신뢰할 수 있는 개발 인증서 생성. +> 더 많은 정보: . + +- 시스템 신뢰 저장소에 로컬 CA 설치: + +`mkcert -install` + +- 주어진 도메인에 대한 인증서와 개인 키 생성: + +`mkcert {{example.org}}` + +- 여러 도메인에 대한 인증서와 개인 키 생성: + +`mkcert {{example.org}} {{myapp.dev}} {{127.0.0.1}}` + +- 주어진 도메인과 하위 도메인에 대한 와일드카드 인증서와 개인 키 생성: + +`mkcert "{{*.example.it}}"` + +- 로컬 CA 제거: + +`mkcert -uninstall` diff --git a/pages.ko/common/mkdir.md b/pages.ko/common/mkdir.md new file mode 100644 index 00000000000000..2ff6a1dc9e5077 --- /dev/null +++ b/pages.ko/common/mkdir.md @@ -0,0 +1,16 @@ +# mkdir + +> 디렉토리를 생성하고 해당 권한을 설정합니다. +> 더 많은 정보: . + +- 특정 디렉토리 생성: + +`mkdir {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 필요시 특정 디렉토리와 그 [상위] 디렉토리를 생성: + +`mkdir {{[-p|--parents]}} {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 특정 권한으로 디렉토리 생성: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{경로/대상/폴더1 경로/대상/폴더2 ...}}` diff --git a/pages.ko/common/mkdocs.md b/pages.ko/common/mkdocs.md new file mode 100644 index 00000000000000..c07ce966990bb5 --- /dev/null +++ b/pages.ko/common/mkdocs.md @@ -0,0 +1,20 @@ +# mkdocs + +> Markdown으로 프로젝트 문서화. +> 더 많은 정보: . + +- 새 mkdocs 프로젝트 생성: + +`mkdocs new {{프로젝트_이름}}` + +- Mkdocs 개발 서버를 사용하여 현재 디렉토리에서 프로젝트 제공: + +`mkdocs serve` + +- 현재 디렉토리에서 문서 빌드: + +`mkdocs build` + +- 현재 디렉토리의 문서를 GitHub 페이지에 배포: + +`mkdocs gh-deploy` diff --git a/pages.ko/common/mkfifo.md b/pages.ko/common/mkfifo.md new file mode 100644 index 00000000000000..35726c2577b877 --- /dev/null +++ b/pages.ko/common/mkfifo.md @@ -0,0 +1,20 @@ +# mkfifo + +> FIFO(이름 있는 파이프) 생성. +> 더 많은 정보: . + +- 지정된 경로에 이름 있는 파이프 생성: + +`mkfifo {{경로/대상/파이프}}` + +- 이름 있는 파이프를 통해 데이터를 보내고 명령을 백그라운드로 전송: + +`echo "{{Hello World}}" > {{경로/대상/파이프}} &` + +- 이름 있는 파이프를 통해 데이터 수신: + +`cat {{경로/대상/파이프}}` + +- 터미널 세션을 실시간으로 공유: + +`mkfifo {{경로/대상/파이프}}; script -f {{경로/대상/파이프}}` diff --git a/pages.ko/common/mkfile.md b/pages.ko/common/mkfile.md new file mode 100644 index 00000000000000..6afc586f9efe99 --- /dev/null +++ b/pages.ko/common/mkfile.md @@ -0,0 +1,16 @@ +# mkfile + +> 원하는 크기의 빈 파일을 생성. +> 더 많은 정보: . + +- 15킬로바이트의 빈 파일 생성: + +`mkfile -n {{15k}} {{경로/대상/파일}}` + +- 주어진 크기와 단위(바이트, KB, MB, GB)의 파일 생성: + +`mkfile -n {{크기}}{{b|k|m|g}} {{경로/대상/파일}}` + +- 각각 4메가바이트의 두 파일 생성: + +`mkfile -n {{4m}} {{첫번째_파일명}} {{두번째_파일명}}` diff --git a/pages.ko/common/mktemp.md b/pages.ko/common/mktemp.md new file mode 100644 index 00000000000000..ebc7ccd2dec969 --- /dev/null +++ b/pages.ko/common/mktemp.md @@ -0,0 +1,24 @@ +# mktemp + +> 임시 파일이나 디렉토리를 생성. +> 더 많은 정보: . + +- 빈 임시 파일을 생성하고 절대 경로 출력: + +`mktemp` + +- `$TMPDIR`이 설정되지 않은 경우 사용자 지정 디렉토리 사용 (기본값은 플랫폼에 따라 다르지만 보통 `/tmp`): + +`mktemp -p {{/경로/대상/임시디렉토리}}` + +- 사용자 지정 경로 템플릿 사용 (`X`는 무작위 영숫자로 대체됨): + +`mktemp {{/tmp/example.XXXXXXXX}}` + +- 사용자 지정 파일 이름 템플릿 사용: + +`mktemp -t {{example.XXXXXXXX}}` + +- 빈 임시 디렉토리를 생성하고 절대 경로 출력: + +`mktemp -d` diff --git a/pages.ko/common/mktorrent.md b/pages.ko/common/mktorrent.md new file mode 100644 index 00000000000000..1cfcae08d1f4de --- /dev/null +++ b/pages.ko/common/mktorrent.md @@ -0,0 +1,24 @@ +# mktorrent + +> BitTorrent 메타정보 파일 생성. +> 더 많은 정보: . + +- 조각 크기를 2^21 KB로 설정하여 토렌트 생성: + +`mktorrent -a {{트래커_발표_URL}} -l {{21}} -o {{경로/대상/예시.torrent}} {{경로/대상/파일_또는_폴더}}` + +- 조각 크기를 2^21 KB로 설정하여 개인 토렌트 생성: + +`mktorrent -p -a {{트래커_발표_URL}} -l {{21}} -o {{경로/대상/예시.torrent}} {{경로/대상/파일_또는_폴더}}` + +- 주석이 포함된 토렌트 생성: + +`mktorrent -c "{{주석}}" -a {{트래커_발표_URL}} -l {{21}} -o {{경로/대상/예시.torrent}} {{경로/대상/파일_또는_폴더}}` + +- 여러 트래커가 포함된 토렌트 생성: + +`mktorrent -a {{트래커_발표_URL,트래커_발표_URL_2}} -l {{21}} -o {{경로/대상/예시.torrent}} {{경로/대상/파일_또는_폴더}}` + +- 웹 시드 URL이 포함된 토렌트 생성: + +`mktorrent -a {{트래커_발표_URL}} -w {{웹_시드_URL}} -l {{21}} -o {{경로/대상/예시.torrent}} {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/mkvmerge.md b/pages.ko/common/mkvmerge.md new file mode 100644 index 00000000000000..379cbbde0de5f8 --- /dev/null +++ b/pages.ko/common/mkvmerge.md @@ -0,0 +1,20 @@ +# mkvmerge + +> 멀티미디어 스트림을 병합하고 추출. +> 더 많은 정보: . + +- Matroska 파일 정보 표시: + +`mkvmerge --identify {{경로/대상/파일.mkv}}` + +- 특정 파일의 트랙 1에서 오디오 추출: + +`mkvextract tracks {{경로/대상/파일.mkv}} {{1}}:{{경로/대상/출력.webm}}` + +- 특정 파일의 트랙 3에서 자막 추출: + +`mkvextract tracks {{경로/대상/파일.mkv}} {{3}}:{{경로/대상/자막.srt}}` + +- 파일에 자막 트랙 추가: + +`mkvmerge --output {{경로/대상/출력.mkv}} {{경로/대상/파일.mkv}} {{경로/대상/자막.srt}}` diff --git a/pages.ko/common/mlr.md b/pages.ko/common/mlr.md new file mode 100644 index 00000000000000..c7e7db0b65dcfb --- /dev/null +++ b/pages.ko/common/mlr.md @@ -0,0 +1,32 @@ +# mlr + +> Miller는 CSV, TSV 및 표 형식 JSON과 같은 이름으로 색인된 데이터를 위한 `awk`, `sed`, `cut`, `join`, `sort`와 유사합니다. +> 더 많은 정보: . + +- CSV 파일을 표 형식으로 보기 좋게 출력: + +`mlr --icsv --opprint cat {{예제.csv}}` + +- JSON 데이터를 받아 출력 형식을 보기 좋게 출력: + +`echo '{"hello":"world"}' | mlr --ijson --opprint cat` + +- 특정 필드를 알파벳 순서로 정렬: + +`mlr --icsv --opprint sort -f {{필드}} {{예제.csv}}` + +- 특정 필드를 내림차순 숫자 순서로 정렬: + +`mlr --icsv --opprint sort -nr {{필드}} {{예제.csv}}` + +- CSV를 JSON으로 변환하며 계산 수행 및 계산 결과 표시: + +`mlr --icsv --ojson put '${{새필드1}} = ${{옛필드A}}/${{옛필드B}}' {{예제.csv}}` + +- JSON을 받아 출력 형식을 수직 JSON으로 포맷: + +`echo '{"hello":"world", "foo":"bar"}' | mlr --ijson --ojson --jvstack cat` + +- 압축된 CSV 파일의 숫자를 문자열로 처리하여 행 필터링: + +`mlr --prepipe 'gunzip' --csv filter -S '${{필드명}} =~ "{{정규_표현식}}"' {{예제.csv.gz}}` diff --git a/pages.ko/common/mm2gv.md b/pages.ko/common/mm2gv.md new file mode 100644 index 00000000000000..859928b6266fad --- /dev/null +++ b/pages.ko/common/mm2gv.md @@ -0,0 +1,17 @@ +# mm2gv + +> 그래프를 Matrix Market `mm` 형식에서 `gv` 형식으로 변환. +> 변환기: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> 더 많은 정보: . + +- 그래프를 `mm` 형식에서 `gv` 형식으로 변환: + +`mm2gv -o {{출력.gv}} {{입력.mm}}` + +- `stdin`과 `stdout`을 사용하여 그래프 변환: + +`cat {{입력.mm}} | mm2gv > {{출력.gv}}` + +- 도움말 표시: + +`mm2gv -?` diff --git a/pages.ko/common/mmdc.md b/pages.ko/common/mmdc.md new file mode 100644 index 00000000000000..d6e555b344e631 --- /dev/null +++ b/pages.ko/common/mmdc.md @@ -0,0 +1,17 @@ +# mmdc + +> 도메인 특화 언어를 사용하는 다이어그램 생성 도구인 mermaid의 CLI. +> mermaid 정의 파일을 입력으로 받아 SVG, PNG 또는 PDF 파일을 출력으로 생성. +> 더 많은 정보: . + +- 파일을 지정된 형식으로 변환 (파일 확장자에 따라 자동 결정): + +`mmdc --input {{입력.mmd}} --output {{출력.svg}}` + +- 차트의 테마 지정: + +`mmdc --input {{입력.mmd}} --output {{출력.svg}} --theme {{forest|dark|neutral|default}}` + +- 차트의 배경색 지정 (예: `lime`, `"#D8064F"` 또는 `transparent`): + +`mmdc --input {{입력.mmd}} --output {{출력.svg}} --backgroundColor {{색상}}` diff --git a/pages.ko/common/mmls.md b/pages.ko/common/mmls.md new file mode 100644 index 00000000000000..e87921192cb18a --- /dev/null +++ b/pages.ko/common/mmls.md @@ -0,0 +1,20 @@ +# mmls + +> 볼륨 시스템의 파티션 레이아웃을 표시. +> 더 많은 정보: . + +- 이미지 파일에 저장된 파티션 테이블 표시: + +`mmls {{경로/대상/이미지_파일}}` + +- 파티션 크기를 포함한 추가 열과 함께 파티션 테이블 표시: + +`mmls -B -i {{경로/대상/이미지_파일}}` + +- 분할된 EWF 이미지에서 파티션 테이블 표시: + +`mmls -i ewf {{이미지.e01}} {{이미지.e02}}` + +- 중첩된 파티션 테이블 표시: + +`mmls -t {{중첩_테이블_유형}} -o {{오프셋}} {{경로/대상/이미지_파일}}` diff --git a/pages.ko/common/mmv.md b/pages.ko/common/mmv.md new file mode 100644 index 00000000000000..98a74527a76ddf --- /dev/null +++ b/pages.ko/common/mmv.md @@ -0,0 +1,20 @@ +# mmv + +> 파일을 대량으로 이동 및 이름 변경. +> 더 많은 정보: . + +- 특정 확장자를 가진 모든 파일의 확장자 변경: + +`mmv "*{{.old_extension}}" "#1{{.new_extension}}"` + +- `report6part4.txt`를 `./french/rapport6partie4.txt`로 복사하고, 유사한 이름을 가진 모든 파일도 함께 복사: + +`mmv -c "{{report*part*.txt}}" "{{./french/rapport#1partie#2.txt}}"` + +- 모든 `.txt` 파일을 하나의 파일로 합치기: + +`mmv -a "{{*.txt}}" "{{모두.txt}}"` + +- 파일 이름의 날짜 형식을 "M-D-Y"에서 "D-M-Y"로 변환: + +`mmv "{{[0-1][0-9]-[0-3][0-9]-[0-9][0-9][0-9][0-9].txt}}" "{{#3#4-#1#2-#5#6#7#8.txt}}"` diff --git a/pages.ko/common/mocha.md b/pages.ko/common/mocha.md new file mode 100644 index 00000000000000..acae27e0f69ea4 --- /dev/null +++ b/pages.ko/common/mocha.md @@ -0,0 +1,24 @@ +# mocha + +> 기능이 풍부한 JavaScript 테스트 프레임워크. +> 더 많은 정보: . + +- 기본 설정 또는 `mocha.opts`에 구성된 대로 테스트 실행: + +`mocha` + +- 특정 위치에 포함된 테스트 실행: + +`mocha {{테스트가_있는_디렉토리}}` + +- 특정 `grep` 패턴과 일치하는 테스트 실행: + +`mocha --grep {{정규_표현식}}` + +- 현재 디렉토리의 JavaScript 파일 변경 시 및 최초 실행 시 테스트 실행: + +`mocha --watch` + +- 특정 리포터로 테스트 실행: + +`mocha --reporter {{리포터}}` diff --git a/pages.ko/common/mods.md b/pages.ko/common/mods.md new file mode 100644 index 00000000000000..fb5fec604a63b1 --- /dev/null +++ b/pages.ko/common/mods.md @@ -0,0 +1,32 @@ +# mods + +> 파이프라인을 위해 설계된 커맨드라인 AI. +> 더 많은 정보: . + +- 일반적인 질문하기: + +`mods "{{오리너구리에 대한 시를 써 줘}}"` + +- `$EDITOR`에서 설정 열기: + +`mods --settings` + +- 코드에 대한 의견을 마크다운 형식으로 요청하기: + +`mods --format "{{이 코드를 개선하기 위한 의견은?}}" < {{경로/대상/파일}}` + +- 문서화 도움을 마크다운 형식으로 요청하기: + +`mods --format "{{r을 누르면 무료 토끼를 보내주는 기능에 대한 새로운 섹션을 이 README에 작성해 줘}}" < {{README.md}}` + +- 비디오를 마크다운 형식으로 정리하기: + +`ls {{경로/대상/비디오}} | mods --format "{{이를 시대별로 정리하고 요약해 줘}}"` + +- 원시 HTML을 읽고 내용을 마크다운 형식으로 요약하기: + +`curl "{{https://api.open-meteo.com/v1/forecast?latitude=29.00&longitude=-90.00¤t_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m}}" | mods --format "{{이 날씨 데이터를 사람을 위해 요약해 줘}}"` + +- 도움말 표시: + +`mods --help` diff --git a/pages.ko/common/moe.md b/pages.ko/common/moe.md new file mode 100644 index 00000000000000..d9d43431a415f5 --- /dev/null +++ b/pages.ko/common/moe.md @@ -0,0 +1,24 @@ +# moe + +> ISO-8859-15로 인코딩된 텍스트를 위한 WYSIWYG 텍스트 편집기. +> 더 많은 정보: . + +- moe를 열고 편집 내용을 저장할 때 백업 파일(파일~) 생성: + +`moe {{경로/대상/파일}}` + +- 파일을 읽기 전용으로 열기: + +`moe --read-only {{경로/대상/파일}}` + +- 백업 파일을 생성하지 않고 파일 편집: + +`moe --no-backup {{경로/대상/파일}}` + +- 검색 시 대소문자 구분 없이 파일 편집: + +`moe --ignore-case {{경로/대상/파일}}` + +- 저장하고 종료: + +`` diff --git a/pages.ko/common/mogrify.md b/pages.ko/common/mogrify.md new file mode 100644 index 00000000000000..cd8a307f1bcb43 --- /dev/null +++ b/pages.ko/common/mogrify.md @@ -0,0 +1,7 @@ +# mogrify + +> 이 명령은 `magick mogrify`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr magick mogrify` diff --git a/pages.ko/common/molecule.md b/pages.ko/common/molecule.md new file mode 100644 index 00000000000000..a8add817ce2ac4 --- /dev/null +++ b/pages.ko/common/molecule.md @@ -0,0 +1,28 @@ +# molecule + +> Molecule은 Ansible 역할 테스트를 돕습니다. +> 더 많은 정보: . + +- 새 Ansible 역할 생성: + +`molecule init role --role-name {{역할_이름}}` + +- 테스트 실행: + +`molecule test` + +- 인스턴스 시작: + +`molecule create` + +- 인스턴스 구성: + +`molecule converge` + +- 인스턴스의 시나리오 나열: + +`molecule matrix converge` + +- 인스턴스에 로그인: + +`molecule login` diff --git a/pages.ko/common/mongo.md b/pages.ko/common/mongo.md new file mode 100644 index 00000000000000..de3bfd2932f2ac --- /dev/null +++ b/pages.ko/common/mongo.md @@ -0,0 +1,21 @@ +# mongo + +> 레거시 MongoDB 셸. 새로운 셸에 대해서는 `mongosh`를 참조. +> 참고: 모든 연결 옵션은 하나의 문자열로 대체할 수 있습니다: `mongodb://user@host:port/db_name?authSource=authdb_name`. +> 더 많은 정보: . + +- 기본 포트(`mongodb://localhost:27017`)에서 로컬 데이터베이스에 연결: + +`mongo` + +- 데이터베이스에 연결: + +`mongo --host {{호스트}} --port {{포트}} {{데이터베이스_이름}}` + +- 지정된 데이터베이스에서 지정된 사용자 명으로 인증(비밀번호 입력이 필요합니다): + +`mongo --host {{호스트}} --port {{포트}} --username {{사용자_명}} --authenticationDatabase {{인증_데이터베이스_이름}} {{데이터베이스_이름}}` + +- 데이터베이스에서 JavaScript 표현식을 평가: + +`mongo --eval '{{JSON.stringify(db.foo.findOne())}}' {{데이터베이스_이름}}` diff --git a/pages.ko/common/mongod.md b/pages.ko/common/mongod.md new file mode 100644 index 00000000000000..56eddb96af1a52 --- /dev/null +++ b/pages.ko/common/mongod.md @@ -0,0 +1,20 @@ +# mongod + +> MongoDB 데이터베이스 서버. +> 더 많은 정보: . + +- 저장 디렉터리 지정 (기본값: Linux 및 macOS는 `/data/db`, Windows는 `C:\data\db`): + +`mongod --dbpath {{경로/대상/폴더}}` + +- 설정 파일 지정: + +`mongod --config {{경로/대상/파일}}` + +- 청취할 포트 지정 (기본값: 27017): + +`mongod --port {{포트}}` + +- 데이터베이스 프로파일링 수준 지정. 0은 꺼짐, 1은 느린 작업만, 2는 모든 작업 (기본값: 0): + +`mongod --profile {{0|1|2}}` diff --git a/pages.ko/common/mongodump.md b/pages.ko/common/mongodump.md new file mode 100644 index 00000000000000..927ec6ec6920a9 --- /dev/null +++ b/pages.ko/common/mongodump.md @@ -0,0 +1,32 @@ +# mongodump + +> MongoDB 인스턴스의 내용을 내보내는 유틸리티. +> 더 많은 정보: . + +- 모든 데이터베이스의 덤프 생성 (파일은 "dump"라는 폴더에 저장됨): + +`mongodump` + +- 덤프의 출력 위치 지정: + +`mongodump --out {{경로/대상/폴더}}` + +- 특정 데이터베이스의 덤프 생성: + +`mongodump --db {{데이터베이스_이름}}` + +- 특정 데이터베이스 내의 특정 컬렉션 덤프 생성: + +`mongodump --collection {{컬렉션_이름}} --db {{데이터베이스_이름}}` + +- 주어진 포트에서 실행 중인 특정 호스트에 연결하여 덤프 생성: + +`mongodump --host {{호스트}} --port {{포트}}` + +- 특정 사용자 명으로 데이터베이스의 덤프 생성; 사용자에게 비밀번호 입력이 요청됨: + +`mongodump --username {{사용자_명}} {{데이터베이스}} --password` + +- 특정 인스턴스에서 덤프 생성; 호스트, 사용자, 비밀번호 및 데이터베이스가 연결 문자열에 정의됨: + +`mongodump --uri {{연결_문자열}}` diff --git a/pages.ko/common/mongoexport.md b/pages.ko/common/mongoexport.md new file mode 100644 index 00000000000000..5570d8df9d77cd --- /dev/null +++ b/pages.ko/common/mongoexport.md @@ -0,0 +1,32 @@ +# mongoexport + +> MongoDB 인스턴스에 저장된 데이터를 JSON 또는 CSV 형식으로 내보내기. +> 더 많은 정보: . + +- 컬렉션을 JSON 형식으로 `stdout`에 내보내기: + +`mongoexport --uri={{연결_문자열}} --collection={{컬렉션_이름}}` + +- 쿼리에 맞는 지정된 컬렉션의 문서를 JSON 파일로 내보내기: + +`mongoexport --db={{데이터베이스_이름}} --collection={{컬렉션_이름}} --query="{{쿼리_객체}}" --out={{경로/대상/파일.json}}` + +- 문서를 한 줄에 하나의 객체 대신 JSON 배열로 내보내기: + +`mongoexport --collection={{컬렉션_이름}} --jsonArray` + +- 문서를 CSV 파일로 내보내기: + +`mongoexport --collection={{컬렉션_이름}} --type={{csv}} --fields="{{필드1,필드2,...}}" --out={{경로/대상/파일.csv}}` + +- 지정된 파일의 쿼리에 맞는 문서를 CSV 파일로 내보내고, 첫 번째 줄에 필드 이름 목록 생략: + +`mongoexport --collection={{컬렉션_이름}} --type={{csv}} --fields="{{필드1,필드2,...}}" --queryFile={{경로/대상/파일}} --noHeaderLine --out={{경로/대상/파일.csv}}` + +- 문서를 사람이 읽을 수 있는 JSON 형식으로 `stdout`에 내보내기: + +`mongoexport --uri={{몽고DB_URI}} --collection={{컬렉션_이름}} --pretty` + +- 도움말 표시: + +`mongoexport --help` diff --git a/pages.ko/common/mongoimport.md b/pages.ko/common/mongoimport.md new file mode 100644 index 00000000000000..d84aabccf00656 --- /dev/null +++ b/pages.ko/common/mongoimport.md @@ -0,0 +1,28 @@ +# mongoimport + +> JSON, CSV, 또는 TSV 파일의 내용을 MongoDB 데이터베이스로 가져오기. +> 더 많은 정보: . + +- 특정 컬렉션에 JSON 파일 가져오기: + +`mongoimport --file={{경로/대상/파일.json}} --uri={{mongodb_uri}} --collection={{컬렉션_이름}}` + +- CSV 파일을 가져와서 파일의 첫 번째 줄을 필드 이름으로 사용: + +`mongoimport --type={{csv}} --file={{경로/대상/파일.csv}} --db={{데이터베이스_이름}} --collection={{컬렉션_이름}}` + +- JSON 배열을 가져와서 각 요소를 별도의 문서로 사용: + +`mongoimport --jsonArray --file={{경로/대상/파일.json}}` + +- 특정 모드와 기존 문서를 일치시키는 쿼리를 사용하여 JSON 파일 가져오기: + +`mongoimport --file={{경로/대상/파일.json}} --mode={{delete|merge|upsert}} --upsertFields="{{필드1,필드2,...}}"` + +- 별도의 CSV 파일에서 필드 이름을 읽고 빈 값의 필드를 무시하여 CSV 파일 가져오기: + +`mongoimport --type={{csv}} --file={{경로/대상/파일.csv}} --fieldFile={{경로/대상/필드_파일.csv}} --ignoreBlanks` + +- 도움말 표시: + +`mongoimport --help` diff --git a/pages.ko/common/mongorestore.md b/pages.ko/common/mongorestore.md new file mode 100644 index 00000000000000..95380fb18e38f7 --- /dev/null +++ b/pages.ko/common/mongorestore.md @@ -0,0 +1,20 @@ +# mongorestore + +> 컬렉션이나 데이터베이스를 바이너리 덤프에서 MongoDB 인스턴스로 가져오기 위한 유틸리티. +> 더 많은 정보: . + +- BSON 데이터 덤프를 디렉토리에서 MongoDB 데이터베이스로 가져오기: + +`mongorestore --db {{데이터베이스_이름}} {{경로/대상/폴더}}` + +- 사용자인증을 통해, 특정 포트에서 실행 중인 MongoDB 서버 호스트의 지정된 데이터베이스로 디렉토리의 BSON 데이터 덤프 가져오기 (사용자는 비밀번호를 묻게 됩니다): + +`mongorestore --host {{데이터베이스_호스트:포트}} --db {{데이터베이스_이름}} --username {{사용자_명}} {{경로/대상/폴더}} --password` + +- BSON 파일에서 MongoDB 데이터베이스로 컬렉션 가져오기: + +`mongorestore --db {{데이터베이스_이름}} {{경로/대상/파일}}` + +- 사용자인증을 통해, 특정 포트에서 실행 중인 MongoDB 서버 호스트의 지정된 데이터베이스로 BSON 파일에서 컬렉션 가져오기 (사용자는 비밀번호를 묻게 됩니다): + +`mongorestore --host {{데이터베이스_호스트:포트}} --db {{데이터베이스_이름}} --username {{사용자_명}} {{경로/대상/파일}} --password` diff --git a/pages.ko/common/mongosh.md b/pages.ko/common/mongosh.md new file mode 100644 index 00000000000000..27f74240ecfbbb --- /dev/null +++ b/pages.ko/common/mongosh.md @@ -0,0 +1,21 @@ +# mongosh + +> MongoDB의 새로운 쉘로, `mongo`의 대체품입니다. +> 참고: 모든 연결 옵션은 하나의 문자열로 대체할 수 있습니다: `mongodb://user@host:port/db_name?authSource=authdb_name`. +> 더 많은 정보: . + +- 기본 포트(`mongodb://localhost:27017`)를 사용하여 로컬 데이터베이스에 연결: + +`mongosh` + +- 데이터베이스에 연결: + +`mongosh --host {{호스트}} --port {{포트}} {{데이터베이스_이름}}` + +- 지정된 데이터베이스에서 지정된 사용자 명으로 인증 (비밀번호 입력이 요구됩니다): + +`mongosh --host {{호스트}} --port {{포트}} --username {{사용자_명}} --authenticationDatabase {{인증_데이터베이스_이름}} {{데이터베이스_이름}}` + +- 데이터베이스에서 JavaScript 표현식을 평가: + +`mongosh --eval '{{JSON.stringify(db.foo.findOne())}}' {{데이터베이스_이름}}` diff --git a/pages.ko/common/monodevelop.md b/pages.ko/common/monodevelop.md new file mode 100644 index 00000000000000..84e31873ebf8de --- /dev/null +++ b/pages.ko/common/monodevelop.md @@ -0,0 +1,28 @@ +# monodevelop + +> C#, F# 등을 위한 크로스 플랫폼 IDE. +> 더 많은 정보: . + +- MonoDevelop 시작: + +`monodevelop` + +- 특정 파일 열기: + +`monodevelop {{경로/대상/파일}}` + +- 특정 파일을 특정 위치에 커서를 두고 열기: + +`monodevelop {{경로/대상/파일}};{{행_번호}};{{열_번호}}` + +- 기존 창으로 전환하지 않고 새 창 강제 열기: + +`monodevelop --new-window` + +- `stdout` 및 `stderr`를 로그 파일로 리디렉션하지 않기: + +`monodevelop --no-redirect` + +- 성능 모니터링 활성화: + +`monodevelop --perf-log` diff --git a/pages.ko/common/monodis.md b/pages.ko/common/monodis.md new file mode 100644 index 00000000000000..fe5569860329d1 --- /dev/null +++ b/pages.ko/common/monodis.md @@ -0,0 +1,32 @@ +# monodis + +> Mono 공용 중간 언어(CIL) 디스어셈블러. +> 더 많은 정보: . + +- 어셈블리를 텍스트 CIL로 디스어셈블: + +`monodis {{경로/대상/어셈블리.exe}}` + +- 출력 결과를 파일로 저장: + +`monodis --output={{경로/대상/출력.il}} {{경로/대상/어셈블리.exe}}` + +- 어셈블리에 대한 정보 표시: + +`monodis --assembly {{경로/대상/어셈블리.dll}}` + +- 어셈블리의 참조 목록: + +`monodis --assemblyref {{경로/대상/어셈블리.exe}}` + +- 어셈블리의 모든 메서드 나열: + +`monodis --method {{경로/대상/어셈블리.exe}}` + +- 어셈블리에 내장된 리소스 나열: + +`monodis --manifest {{경로/대상/어셈블리.dll}}` + +- 모든 내장 리소스를 현재 디렉터리로 추출: + +`monodis --mresources {{경로/대상/어셈블리.dll}}` diff --git a/pages.ko/common/monop.md b/pages.ko/common/monop.md new file mode 100644 index 00000000000000..5cdc8c71564efe --- /dev/null +++ b/pages.ko/common/monop.md @@ -0,0 +1,32 @@ +# monop + +> .NET 어셈블리 내의 타입 및 메서드 시그니처를 찾아 표시. +> 더 많은 정보: . + +- .NET Framework의 내장 타입 구조 표시: + +`monop {{System.String}}` + +- 어셈블리 내 타입 나열: + +`monop -r:{{경로/대상/어셈블리.exe}}` + +- 특정 어셈블리의 타입 구조 표시: + +`monop -r:{{경로/대상/어셈블리.dll}} {{네임스페이스.경로.대상.타입}}` + +- 지정된 타입에 정의된 멤버만 표시: + +`monop -r:{{경로/대상/어셈블리.dll}} --only-declared {{네임스페이스.경로.대상.타입}}` + +- 비공개 멤버 표시: + +`monop -r:{{경로/대상/어셈블리.dll}} --private {{네임스페이스.경로.대상.타입}}` + +- 사용되지 않는 멤버 숨기기: + +`monop -r:{{경로/대상/어셈블리.dll}} --filter-obsolete {{네임스페이스.경로.대상.타입}}` + +- 특정 어셈블리가 참조하는 다른 어셈블리 나열: + +`monop -r:{{경로/대상/어셈브리.dll}} --refs` diff --git a/pages.ko/common/montage.md b/pages.ko/common/montage.md new file mode 100644 index 00000000000000..9747518f8d1b3d --- /dev/null +++ b/pages.ko/common/montage.md @@ -0,0 +1,7 @@ +# montage + +> 이 명령은 `magick montage`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr magick montage` diff --git a/pages.ko/common/more.md b/pages.ko/common/more.md new file mode 100644 index 00000000000000..a117dc09dee8c0 --- /dev/null +++ b/pages.ko/common/more.md @@ -0,0 +1,29 @@ +# more + +> 파일을 인터랙티브하게 표시하며 스크롤 및 검색 기능 제공. +> 같이 보기: `less`. +> 더 많은 정보: . + +- 파일 열기: + +`more {{경로/대상/파일}}` + +- 특정 줄 표시: + +`more +{{줄_번호}} {{경로/대상/파일}}` + +- 다음 페이지로 이동: + +`` + +- 문자열 검색 (다음 일치를 찾으려면 ``을 누름): + +`{{무엇인가}}` + +- 종료: + +`` + +- 인터랙티브 명령에 대한 도움말 표시: + +`` diff --git a/pages.ko/common/moreutils.md b/pages.ko/common/moreutils.md new file mode 100644 index 00000000000000..0a138f816578f8 --- /dev/null +++ b/pages.ko/common/moreutils.md @@ -0,0 +1,13 @@ +# moreutils + +> UNIX 도구 모음. +> 참고: moreutils는 명령이 아니라 명령 집합입니다. +> 더 많은 정보: . + +- 표준 스트림과 관련된 페이지의 문서 보기: + +`tldr {{ifne|mispipe|pee|sponge|vipe|vidir}}` + +- 다른 페이지의 문서 보기: + +`tldr {{combine|errno|ifdata|isutt8|lckdo|parallel|zrun}}` diff --git a/pages.ko/common/moro.md b/pages.ko/common/moro.md new file mode 100644 index 00000000000000..7af68fc4f75f78 --- /dev/null +++ b/pages.ko/common/moro.md @@ -0,0 +1,32 @@ +# moro + +> 작업 시간을 추적. +> 더 많은 정보: . + +- 매개변수 없이 `moro`를 호출하여 현재 시간을 작업 시작 시간으로 설정: + +`moro` + +- 작업 시작 시간을 사용자 정의 시간으로 지정: + +`moro hi {{09:30}}` + +- 매개변수 없이 `moro`를 두 번째로 호출하여 현재 시간을 작업 종료 시간으로 설정: + +`moro` + +- 작업 종료 시간을 사용자 정의 시간으로 지정: + +`moro bye {{17:30}}` + +- 현재 작업일에 메모 추가: + +`moro note {{3시간 프로젝트 Foo}}` + +- 현재 작업일의 시간 기록 및 메모 보고서 표시: + +`moro report` + +- 기록된 모든 작업일의 시간 기록 및 메모 보고서 표시: + +`moro report --all` diff --git a/pages.ko/common/mosh.md b/pages.ko/common/mosh.md new file mode 100644 index 00000000000000..65714b86a727f0 --- /dev/null +++ b/pages.ko/common/mosh.md @@ -0,0 +1,29 @@ +# mosh + +> Mobile Shell (`mosh`)는 SSH를 대체하는 강력하고 반응성이 뛰어난 도구입니다. +> `mosh`는 네트워크를 이동하면서도 원격 서버와의 연결을 지속합니다. +> 더 많은 정보: . + +- 원격 서버에 연결: + +`mosh {{사용자이름}}@{{원격_호스트}}` + +- 특정 신원(개인 키)으로 원격 서버에 연결: + +`mosh --ssh="ssh -i {{경로/대상/키_파일}}" {{사용자이름}}@{{원격_호스트}}` + +- 특정 포트를 사용하여 원격 서버에 연결: + +`mosh --ssh="ssh -p {{2222}}" {{사용자이름}}@{{원격_호스트}}` + +- 원격 서버에서 명령 실행: + +`mosh {{원격_호스트}} -- {{명령어 -옵션들}}` + +- Mosh UDP 포트 선택 (`원격_호스트`가 NAT 뒤에 있을 때 유용): + +`mosh -p {{124}} {{사용자이름}}@{{원격_호스트}}` + +- `mosh-server` 바이너리가 표준 경로 외부에 있을 때 사용법: + +`mosh --server={{경로/대상/바이너리/}}mosh-server {{원격_호스트}}` diff --git a/pages.ko/common/mosquitto.md b/pages.ko/common/mosquitto.md new file mode 100644 index 00000000000000..74ba4f96364bb5 --- /dev/null +++ b/pages.ko/common/mosquitto.md @@ -0,0 +1,20 @@ +# mosquitto + +> MQTT 브로커. +> 더 많은 정보: . + +- Mosquitto 시작: + +`mosquitto` + +- 사용할 구성 파일 지정: + +`mosquitto --config-file {{경로/대상/파일.conf}}` + +- 특정 포트로 수신 대기: + +`mosquitto --port {{8883}}` + +- 백그라운드로 포크하여 데몬화: + +`mosquitto --daemon` diff --git a/pages.ko/common/mosquitto_passwd.md b/pages.ko/common/mosquitto_passwd.md new file mode 100644 index 00000000000000..a80f0a5e2fd858 --- /dev/null +++ b/pages.ko/common/mosquitto_passwd.md @@ -0,0 +1,21 @@ +# mosquitto_passwd + +> mosquitto의 비밀번호 파일을 관리. +> 관리하는 MQTT 서버인 `mosquitto`도 참고하세요. +> 더 많은 정보: . + +- 비밀번호 파일에 새 사용자 추가 (비밀번호 입력을 요청함): + +`mosquitto_passwd {{경로/대상/비밀번호_파일}} {{사용자명}}` + +- 비밀번호 파일이 없을 경우 생성: + +`mosquitto_passwd -c {{경로/대상/비밀번호_파일}} {{사용자명}}` + +- 지정된 사용자명을 삭제: + +`mosquitto_passwd -D {{경로/대상/비밀번호_파일}} {{사용자명}}` + +- 기존의 평문 비밀번호 파일을 해시된 비밀번호 파일로 업그레이드: + +`mosquitto_passwd -U {{경로/대상/비밀번호_파일}}` diff --git a/pages.ko/common/mosquitto_pub.md b/pages.ko/common/mosquitto_pub.md new file mode 100644 index 00000000000000..7fd378825c88c2 --- /dev/null +++ b/pages.ko/common/mosquitto_pub.md @@ -0,0 +1,28 @@ +# mosquitto_pub + +> 단일 메시지를 주제에 게시하고 종료하는 간단한 MQTT 버전 3.1.1 클라이언트. +> 더 많은 정보: . + +- Quality of Service(QoS)를 1로 설정하고, 192.168.1.1(기본값은 `localhost`)에 `sensors/temperature` 주제로 온도 값 32 게시: + +`mosquitto_pub -h {{192.168.1.1}} -t {{sensors/temperature}} -m {{32}} -q {{1}}` + +- 비표준 포트로 원격 호스트에 `sensors/temperature` 주제로 타임스탬프와 온도 데이터 게시: + +`mosquitto_pub -h {{192.168.1.1}} -p {{1885}} -t {{sensors/temperature}} -m "{{1266193804 32}}"` + +- 스위치 이벤트 사이에 긴 시간이 있을 수 있으므로, 원격 호스트에 `switches/kitchen_lights/status` 주제로 스위치 상태 게시 및 메시지 유지: + +`mosquitto_pub -r -h "{{iot.eclipse.org}}" -t {{switches/kitchen_lights/status}} -m "{{on}}"` + +- 파일(`data.txt`)의 내용을 메시지로 전송하고 `sensors/temperature` 주제로 게시: + +`mosquitto_pub -t {{sensors/temperature}} -f {{data.txt}}` + +- `stdin`에서 읽어들인 파일(`data.txt`)의 전체 입력 내용을 메시지로 전송하고 `sensors/temperature` 주제로 게시: + +`mosquitto_pub -t {{sensors/temperature}} -s < {{data.txt}}` + +- `stdin`에서 줄바꿈된 데이터를 메시지로 읽어들여 `sensors/temperature` 주제로 게시: + +`{{echo data.txt}} | mosquitto_pub -t {{sensors/temperature}} -l` diff --git a/pages.ko/common/mosquitto_sub.md b/pages.ko/common/mosquitto_sub.md new file mode 100644 index 00000000000000..53cfba300a2d88 --- /dev/null +++ b/pages.ko/common/mosquitto_sub.md @@ -0,0 +1,16 @@ +# mosquitto_sub + +> 주제를 구독하고 수신한 메시지를 출력하는 간단한 MQTT 버전 3.1.1 클라이언트. +> 더 많은 정보: . + +- `sensors/temperature` 주제를 구독하고, 서비스 품질(`QoS`)을 1로 설정합니다. (기본 호스트명은 `localhost`이고 포트는 1883입니다): + +`mosquitto_sub -t {{sensors/temperature}} -q {{1}}` + +- `iot.eclipse.org` 포트 1885에서 발행하는 모든 브로커 상태 메시지를 구독하고, 발행된 메시지를 자세히 출력합니다: + +`mosquitto_sub -v -h "iot.eclipse.org" -p 1885 -t {{\$SYS/#}}` + +- 주어진 패턴과 일치하는 여러 주제를 구독합니다. (+는 모든 메트릭 이름을 의미합니다): + +`mosquitto_sub -t {{sensors/machines/+/temperature/+}}` diff --git a/pages.ko/common/most.md b/pages.ko/common/most.md new file mode 100644 index 00000000000000..fba7789d03d42e --- /dev/null +++ b/pages.ko/common/most.md @@ -0,0 +1,36 @@ +# most + +> 하나 또는 여러 파일을 대화형으로 열어 스크롤 및 검색을 할 수 있습니다. +> 더 많은 정보: . + +- 파일 열기: + +`most {{경로/대상/파일}}` + +- 여러 파일 열기: + +`most {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- "문자열"의 첫 번째 발생 지점에서 파일 열기: + +`most {{경로/대상/파일}} +/{{문자열}}` + +- 열린 파일 사이를 이동: + +`<:>{{|}}` + +- 100번째 줄로 이동: + +`{{100}}` + +- 현재 파일 편집: + +`` + +- 현재 창을 반으로 분할: + +`` + +- 종료: + +`` diff --git a/pages.ko/common/mozillavpn.md b/pages.ko/common/mozillavpn.md new file mode 100644 index 00000000000000..b2d8b8f9d29173 --- /dev/null +++ b/pages.ko/common/mozillavpn.md @@ -0,0 +1,37 @@ +# mozillavpn + +> Firefox 제작사에서 제공하는 가상 사설망. +> 같이 보기: `fastd`, `ivpn`, `mullvad`, `warp-cli`. +> 더 많은 정보: . + +- 대화형 프롬프트로 로그인: + +`mozillavpn login` + +- Mozilla VPN에 연결: + +`mozillavpn activate` + +- 연결 상태 표시: + +`mozillavpn status` + +- 사용 가능한 서버 목록 표시: + +`mozillavpn servers` + +- 특정 서버 선택: + +`mozillavpn select {{서버_이름}}` + +- Mozilla VPN 연결 해제: + +`mozillavpn deactivate` + +- 로그아웃: + +`mozillavpn logout` + +- 하위 명령에 대한 도움말 표시: + +`mozillavpn {{하위_명령}} --help` diff --git a/pages.ko/common/mp3info.md b/pages.ko/common/mp3info.md new file mode 100644 index 00000000000000..c69fb640378ce5 --- /dev/null +++ b/pages.ko/common/mp3info.md @@ -0,0 +1,28 @@ +# mp3info + +> MP3 파일의 ID3v1 태그를 보기/편집하는 도구(ID3v2는 지원하지 않음). +> 더 많은 정보: . + +- 특정 MP3 파일의 모든 ID3v1 태그 표시: + +`mp3info {{경로/대상/파일.mp3}}` + +- ID3v1 태그를 대화식으로 편집: + +`mp3info -i {{경로/대상/파일.mp3}}` + +- 특정 MP3 파일의 ID3v1 태그 값 설정: + +`mp3info -a "{{아티스트_이름}}" -t "{{노래_제목}}" -l "{{앨범_제목}}" -y {{연도}} -c "{{댓글_텍스트}}" {{경로/대상/파일.mp3}}` + +- 특정 MP3 파일의 앨범 내 트랙 번호 설정: + +`mp3info -n {{트랙_번호}} {{경로/대상/파일.mp3}}` + +- 유효한 장르와 해당 숫자 코드 목록 출력: + +`mp3info -G` + +- 특정 MP3 파일의 음악 장르 설정: + +`mp3info -g {{장르_번호}} {{경로/대상/파일.mp3}}` diff --git a/pages.ko/common/mp4box.md b/pages.ko/common/mp4box.md new file mode 100644 index 00000000000000..7e1f7e43682cee --- /dev/null +++ b/pages.ko/common/mp4box.md @@ -0,0 +1,16 @@ +# mp4box + +> MPEG-4 시스템 도구: 스트림을 MP4 컨테이너에 멀티플렉싱. +> 더 많은 정보: . + +- 기존 MP4 파일에 대한 정보 표시: + +`mp4box -info {{경로/대상/파일}}` + +- MP4 파일에 SRT 자막 파일 추가: + +`mp4box -add {{입력_자막.srt}}:lang=eng -add {{입력.mp4}} {{출력.mp4}}` + +- 한 파일에서 오디오와 다른 파일에서 비디오 결합: + +`mp4box -add {{입력1.mp4}}#audio -add {{입력2.mp4}}#video {{출력.mp4}}` diff --git a/pages.ko/common/mpc.md b/pages.ko/common/mpc.md new file mode 100644 index 00000000000000..f889531318f1e6 --- /dev/null +++ b/pages.ko/common/mpc.md @@ -0,0 +1,29 @@ +# mpc + +> Music Player Client: Music Player Daemon (MPD)를 제어하는 클라이언트. +> 같이 보기: `mpd`, `ncmpcpp`, `cmus`. +> 더 많은 정보: . + +- 재생/일시 정지 전환: + +`mpc toggle` + +- 재생 중지: + +`mpc stop` + +- 현재 재생 중인 곡에 대한 정보 표시: + +`mpc status` + +- 다음 곡 재생: + +`mpc next` + +- 이전 곡 재생: + +`mpc prev` + +- `n`초 앞으로(`+`) 또는 뒤로(`-`) 탐색: + +`mpc {{+n|-n}}` diff --git a/pages.ko/common/mpd.md b/pages.ko/common/mpd.md new file mode 100644 index 00000000000000..bbf589a589d9f4 --- /dev/null +++ b/pages.ko/common/mpd.md @@ -0,0 +1,21 @@ +# mpd + +> Music Player Daemon. +> 같이 보기: `mpc`, `ncmpcpp`. +> 더 많은 정보: . + +- MPD 시작: + +`mpd` + +- 설정 파일을 읽지 않고 MPD 시작: + +`mpd --no-config` + +- 콘솔에서 분리하지 않고 MPD 시작: + +`mpd --no-daemon` + +- 현재 실행 중인 MPD 세션 종료: + +`mpd --kill` diff --git a/pages.ko/common/mpg321.md b/pages.ko/common/mpg321.md new file mode 100644 index 00000000000000..5a31aeb3100b08 --- /dev/null +++ b/pages.ko/common/mpg321.md @@ -0,0 +1,29 @@ +# mpg321 + +> 레이어 1, 2 및 3을 위한 고성능 MPEG 1.0/2.0/2.5 오디오 플레이어. +> Mpg321은 (이전에는 유료였던) mpg123 플레이어의 대체품으로 1999년경에 작성되었습니다. +> 더 많은 정보: . + +- 오디오 소스를 정확히 N번 재생 (N=0은 무한 반복): + +`mpg321 -l {{N}} {{경로/대상/파일_a|URL}} {{경로/대상/파일_b|URL}} {{...}}` + +- 디렉터리를 재귀적으로 재생: + +`mpg321 -B {{경로/대상/폴더}}` + +- 재생 중에 기본 키 활성화 ( `*` 또는 `/` - 볼륨 증가 또는 감소, `n` - 곡 건너뛰기, `m` - 음소거/음소거 해제): + +`mpg321 -K {{경로/대상/파일_a|URL}} {{경로/대상/파일_b|URL}} {{...}}` + +- 파일을 무작위로 재생 (중단될 때까지): + +`mpg321 -Z {{경로/대상/파일_a|URL}} {{경로/대상/파일_b|URL}} {{...}}` + +- 재생하기 전에 파일을 섞기: + +`mpg321 -z {{경로/대상/파일_a|URL}} {{경로/대상/파일_b|URL}} {{...}}` + +- 현재 디렉터리 및 하위 디렉터리의 모든 파일을 무작위로 재생 (중단될 때까지), 기본 키 활성화: + +`mpg321 -B -Z -K .` diff --git a/pages.ko/common/mpicc.md b/pages.ko/common/mpicc.md new file mode 100644 index 00000000000000..67b1701192a93f --- /dev/null +++ b/pages.ko/common/mpicc.md @@ -0,0 +1,17 @@ +# mpicc + +> Open MPI C 래퍼 컴파일러. +> 래퍼는 C 컴파일러 위에 얇은 쉘로, Open MPI 프로그램을 컴파일/링크하는 데 필요한 관련 컴파일러 및 링커 플래그를 명령줄에 추가한 후, 실제 명령을 수행하기 위해 기본 C 컴파일러를 호출합니다. +> 더 많은 정보: . + +- 소스 코드 파일을 개체 파일로 컴파일: + +`mpicc -c {{경로/대상/파일.c}}` + +- 개체 파일을 링크하여 실행 파일 생성: + +`mpicc -o {{실행_파일}} {{경로/대상/개체_파일.o}}` + +- 소스 코드를 컴파일하고 링크를 한 번에 수행: + +`mpicc -o {{실행_파일}} {{경로/대상/파일.c}}` diff --git a/pages.ko/common/mplayer.md b/pages.ko/common/mplayer.md new file mode 100644 index 00000000000000..1c8d5065f3568c --- /dev/null +++ b/pages.ko/common/mplayer.md @@ -0,0 +1,28 @@ +# mplayer + +> 크로스 플랫폼 멀티미디어 플레이어. +> 더 많은 정보: . + +- 지정된 파일 또는 URL 재생: + +`mplayer {{경로/대상/파일|url}}` + +- 여러 파일 재생: + +`mplayer {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 파일 반복 재생: + +`mplayer -loop {{0}} {{경로/대상/파일}}` + +- 재생 일시 정지: + +`` + +- mplayer 종료: + +`` + +- 10초 뒤로 또는 앞으로 탐색: + +`{{|}}` diff --git a/pages.ko/common/mpv.md b/pages.ko/common/mpv.md new file mode 100644 index 00000000000000..d02573737d1964 --- /dev/null +++ b/pages.ko/common/mpv.md @@ -0,0 +1,37 @@ +# mpv + +> MPlayer 기반의 오디오/비디오 플레이어. +> 같이 보기: `mplayer`, `vlc`. +> 더 많은 정보: . + +- URL 또는 파일에서 비디오나 오디오 재생: + +`mpv {{url|경로/대상/파일}}` + +- 5초 뒤로/앞으로 이동: + +`{{|}}` + +- 1분 뒤로/앞으로 이동: + +`{{|}}` + +- 재생 속도를 10% 감소/증가: + +`{{<[>|<]>}}` + +- 현재 프레임의 스크린샷 찍기 (기본적으로 `./mpv-shotNNNN.jpg`에 저장됨): + +`` + +- 지정된 속도로 파일 재생 (기본값은 1): + +`mpv --speed {{0.01..100}} {{경로/대상/파일}}` + +- `mpv.conf` 파일에 정의된 프로필을 사용하여 파일 재생: + +`mpv --profile {{프로필_이름}} {{경로/대상/파일}}` + +- 웹캠 또는 다른 비디오 입력 장치의 출력 표시: + +`mpv {{/dev/video0}}` diff --git a/pages.ko/common/mr.md b/pages.ko/common/mr.md new file mode 100644 index 00000000000000..c92a7aab88c1c9 --- /dev/null +++ b/pages.ko/common/mr.md @@ -0,0 +1,20 @@ +# mr + +> 버전 관리 저장소를 한 번에 모두 관리. +> 더 많은 정보: . + +- 저장소 등록: + +`mr register` + +- 5개의 동시 작업으로 저장소 업데이트: + +`mr -j{{5}} update` + +- 모든 저장소의 상태 출력: + +`mr status` + +- 모든 저장소를 최신 버전으로 체크아웃: + +`mr checkout` diff --git a/pages.ko/common/msbuild.md b/pages.ko/common/msbuild.md new file mode 100644 index 00000000000000..ff798ae9d456f4 --- /dev/null +++ b/pages.ko/common/msbuild.md @@ -0,0 +1,32 @@ +# msbuild + +> Visual Studio 프로젝트 솔루션을 위한 Microsoft 빌드 도구. +> 더 많은 정보: . + +- 현재 디렉토리의 첫 번째 프로젝트 파일 빌드: + +`msbuild` + +- 특정 프로젝트 파일 빌드: + +`msbuild {{경로/대상/프로젝트_파일}}` + +- 빌드할 하나 이상의 세미콜론으로 구분된 타겟 지정: + +`msbuild {{경로/대상/프로젝트_파일}} /target:{{타겟들}}` + +- 하나 이상의 세미콜론으로 구분된 속성 지정: + +`msbuild {{경로/대상/프로젝트_파일}} /property:{{이름=값}}` + +- 사용할 빌드 도구 버전 지정: + +`msbuild {{경로/대상/프로젝트_파일}} /toolsversion:{{버전}}` + +- 프로젝트가 어떻게 구성되었는지에 대한 자세한 정보를 로그 끝에 표시: + +`msbuild {{경로/대상/프로젝트_파일}} /detailedsummary` + +- 도움말 표시: + +`msbuild /help` diff --git a/pages.ko/common/mscore.md b/pages.ko/common/mscore.md new file mode 100644 index 00000000000000..4556394fe8e820 --- /dev/null +++ b/pages.ko/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> 이 명령은 `musescore` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr musescore` diff --git a/pages.ko/common/msedge.md b/pages.ko/common/msedge.md new file mode 100644 index 00000000000000..2938818156bc54 --- /dev/null +++ b/pages.ko/common/msedge.md @@ -0,0 +1,12 @@ +# msedge + +> Microsoft Edge 명령줄 유틸리티는 Windows에서는 `msedge`, 다른 플랫폼에서는 `microsoft-edge`로 사용할 수 있습니다. +> 더 많은 정보: . + +- Windows에서 Microsoft Edge에 대한 문서 보기: + +`tldr {{[-p|--platform]}} windows msedge` + +- 다른 플랫폼에서 Microsoft Edge에 대한 문서 보기: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages.ko/common/msfconsole.md b/pages.ko/common/msfconsole.md new file mode 100644 index 00000000000000..ba6317b2827bfe --- /dev/null +++ b/pages.ko/common/msfconsole.md @@ -0,0 +1,24 @@ +# msfconsole + +> Metasploit 프레임워크의 콘솔. +> 더 많은 정보: . + +- 콘솔 시작: + +`msfconsole` + +- 배너 없이 조용히 콘솔 시작: + +`msfconsole --quiet` + +- 데이터베이스 지원을 비활성화하고 시작: + +`msfconsole --no-database` + +- 콘솔 명령 실행 (참고: 여러 명령을 전달하려면 `;` 사용): + +`msfconsole --execute-command "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"` + +- 버전 표시: + +`msfconsole --version` diff --git a/pages.ko/common/msfvenom.md b/pages.ko/common/msfvenom.md new file mode 100644 index 00000000000000..9155a4e4f381f7 --- /dev/null +++ b/pages.ko/common/msfvenom.md @@ -0,0 +1,28 @@ +# msfvenom + +> Metasploit의 페이로드를 수동으로 생성. +> 더 많은 정보: . + +- 페이로드 목록 표시: + +`msfvenom -l payloads` + +- 형식 목록 표시: + +`msfvenom -l formats` + +- 페이로드 옵션 표시: + +`msfvenom -p {{페이로드}} --list-options` + +- 역방향 TCP 핸들러로 ELF 바이너리 생성: + +`msfvenom -p linux/x64/meterpreter/reverse_tcp LHOST={{로컬_IP}} LPORT={{로컬_포트}} -f elf -o {{경로/대상/바이너리}}` + +- 역방향 TCP 핸들러로 EXE 바이너리 생성: + +`msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST={{로컬_IP}} LPORT={{로컬_포트}} -f exe -o {{경로/대상/바이너리.exe}}` + +- 역방향 TCP 핸들러로 원시 Bash 생성: + +`msfvenom -p cmd/unix/reverse_bash LHOST={{로컬_IP}} LPORT={{로컬_포트}} -f raw` diff --git a/pages.ko/common/msgfmt.md b/pages.ko/common/msgfmt.md new file mode 100644 index 00000000000000..f0866e9b2edff0 --- /dev/null +++ b/pages.ko/common/msgfmt.md @@ -0,0 +1,8 @@ +# msgfmt + +> 메시지 카탈로그를 바이너리 형식으로 컴파일. +> 더 많은 정보: . + +- `.po` 파일을 `.mo` 파일로 변환: + +`msgfmt {{경로/대상/파일.po}} {{[-o|--output-file]}} {{경로/대상/파일.mo}}` diff --git a/pages.ko/common/msgunfmt.md b/pages.ko/common/msgunfmt.md new file mode 100644 index 00000000000000..e87070eca505b2 --- /dev/null +++ b/pages.ko/common/msgunfmt.md @@ -0,0 +1,12 @@ +# msgunfmt + +> 바이너리 형식에서 메시지 카탈로그를 디컴파일. +> 더 많은 정보: . + +- 출력 변환: + +`msgunfmt {{경로/대상/파일.mo}}` + +- `.mo` 파일을 `.po` 파일로 변환: + +`msgunfmt {{경로/대상/파일.mo}} > {{경로/대상/파일.po}}` diff --git a/pages.ko/common/msmtp.md b/pages.ko/common/msmtp.md new file mode 100644 index 00000000000000..a276915d456653 --- /dev/null +++ b/pages.ko/common/msmtp.md @@ -0,0 +1,17 @@ +# msmtp + +> SMTP 클라이언트. +> `stdin`에서 텍스트를 읽고 이를 SMTP 서버로 전송합니다. +> 더 많은 정보: . + +- `~/.msmtprc`에 설정된 기본 계정을 사용하여 이메일 전송: + +`echo "{{안녕하세요}}" | msmtp {{to@example.org}}` + +- `~/.msmtprc`에 설정된 특정 계정을 사용하여 이메일 전송: + +`echo "{{안녕하세요}}" | msmtp --account={{계정_이름}} {{to@example.org}}` + +- 설정된 계정 없이 이메일 전송. 비밀번호는 `~/.msmtprc` 파일에 명시해야 합니다: + +`echo "{{안녕하세요}}" | msmtp --host={{localhost}} --port={{999}} --from={{from@example.org}} {{to@example.org}}` diff --git a/pages.ko/common/mtr.md b/pages.ko/common/mtr.md new file mode 100644 index 00000000000000..d905c5886056cf --- /dev/null +++ b/pages.ko/common/mtr.md @@ -0,0 +1,32 @@ +# mtr + +> Matt's Traceroute: 트레이서라우트와 핑 도구를 결합한 도구. +> 더 많은 정보: . + +- 호스트로 트레이서라우트를 수행하고 모든 중간 홉을 지속적으로 핑: + +`mtr {{example.com}}` + +- IP 주소 및 호스트 이름 매핑 비활성화: + +`mtr --no-dns {{example.com}}` + +- 각 홉을 10번씩 핑한 후 출력 생성: + +`mtr --report-wide {{example.com}}` + +- IPv4 또는 IPv6 강제 사용: + +`mtr -4 {{example.com}}` + +- 동일한 홉에 또 다른 패킷을 보내기 전 주어진 시간(초) 대기: + +`mtr --interval {{10}} {{example.com}}` + +- 각 홉에 대한 자율 시스템 번호(ASN) 표시: + +`mtr --aslookup {{example.com}}` + +- IP 주소와 역방향 DNS 이름 모두 표시: + +`mtr --show-ips {{example.com}}` diff --git a/pages.ko/common/mtvtoppm.md b/pages.ko/common/mtvtoppm.md new file mode 100644 index 00000000000000..eb0b1777090926 --- /dev/null +++ b/pages.ko/common/mtvtoppm.md @@ -0,0 +1,8 @@ +# mtvtoppm + +> MTV 또는 PRT 레이 트레이서 파일을 PPM 이미지로 변환. +> 더 많은 정보: . + +- MTV 또는 PRT 레이 트레이서 파일을 PPM 이미지로 변환: + +`mtvtoppm {{경로/대상/파일.mtv}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/mu.md b/pages.ko/common/mu.md new file mode 100644 index 00000000000000..0b5b5fbe71e52b --- /dev/null +++ b/pages.ko/common/mu.md @@ -0,0 +1,32 @@ +# mu + +> 로컬 Maildir에서 이메일을 색인하고 검색. +> 더 많은 정보: . + +- 이메일 데이터베이스 초기화, 선택적으로 Maildir 디렉토리와 이메일 주소 지정: + +`mu init --maildir={{경로/대상/폴더}} --my-address={{name@example.com}}` + +- 새로운 이메일 색인: + +`mu index` + +- 특정 키워드를 사용하여 메시지 찾기 (메시지 본문, 제목, 발신자 등): + +`mu find {{키워드}}` + +- Alice에게 보낸 메시지 중 제목이 `jellyfish`이고 본문에 `apples` 또는 `oranges`가 포함된 메시지 찾기: + +`mu find to:{{alice}} subject:{{jellyfish}} {{apples}} OR {{oranges}}` + +- 보낸 편지함에 있는, `soc`로 시작하는 단어에 대한 읽지 않은 메시지 찾기 (`*`는 검색어 끝에서만 작동): + +`mu find 'subject:{{soc}}*' flag:{{unread}} maildir:'/{{Sent Items}}'` + +- Sam에게서 온, 이미지가 첨부된 2 KiB에서 2 MiB 사이의 크기로 2021년에 작성된 메시지 찾기: + +`mu find 'mime:{{image/*}} size:{{2k..2m}} date:{{20210101..20211231}} from:{{sam}}` + +- 이름 또는 이메일 주소에 `Bob`이 포함된 연락처 나열: + +`mu cfind {{Bob}}` diff --git a/pages.ko/common/mullvad.md b/pages.ko/common/mullvad.md new file mode 100644 index 00000000000000..63117cb66bf2eb --- /dev/null +++ b/pages.ko/common/mullvad.md @@ -0,0 +1,21 @@ +# mullvad + +> Mullvad VPN을 위한 CLI 클라이언트. +> 같이 보기: `fastd`, `ivpn`, `mozillavpn`, `warp-cli`. +> 더 많은 정보: . + +- 지정된 계정 번호로 Mullvad 계정 연결: + +`mullvad account set {{계정_번호}}` + +- VPN이 켜져 있는 동안 LAN 액세스 허용: + +`mullvad lan set allow` + +- VPN 터널 연결: + +`mullvad connect` + +- VPN 터널 상태 확인: + +`mullvad status` diff --git a/pages.ko/common/multipass.md b/pages.ko/common/multipass.md new file mode 100644 index 00000000000000..7da21a98a2b383 --- /dev/null +++ b/pages.ko/common/multipass.md @@ -0,0 +1,36 @@ +# multipass + +> 네이티브 하이퍼바이저를 사용하여 Ubuntu 가상 머신을 관리. +> 더 많은 정보: . + +- 인스턴스를 시작할 때 사용할 수 있는 별칭 나열: + +`multipass find` + +- 새 인스턴스를 시작하고 이름을 설정하고 클라우드-초기화 설정 파일 사용: + +`multipass launch -n {{인스턴스_이름}} --cloud-init {{설정_파일}}` + +- 생성된 모든 인스턴스와 일부 속성 나열: + +`multipass list` + +- 특정 이름의 인스턴스 시작: + +`multipass start {{인스턴스_이름}}` + +- 인스턴스의 속성 표시: + +`multipass info {{인스턴스_이름}}` + +- 특정 이름의 인스턴스에서 셸 프롬프트 열기: + +`multipass shell {{인스턴스_이름}}` + +- 이름으로 인스턴스 삭제: + +`multipass delete {{인스턴스_이름}}` + +- 특정 인스턴스에 디렉토리 마운트: + +`multipass mount {{경로/대상/로컬/디렉토리}} {{인스턴스_이름}}:{{경로/대상/대상/디렉토리}}` diff --git a/pages.ko/common/multitail.md b/pages.ko/common/multitail.md new file mode 100644 index 00000000000000..6059609273c813 --- /dev/null +++ b/pages.ko/common/multitail.md @@ -0,0 +1,20 @@ +# multitail + +> tail의 확장판. +> 더 많은 정보: . + +- 패턴과 일치하는 모든 파일을 하나의 스트림에서 보여주기: + +`multitail -Q 1 '{{패턴}}'` + +- 디렉터리의 모든 파일을 하나의 스트림에서 보여주기: + +`multitail -Q 1 '{{경로/대상/폴더}}/*'` + +- 새 파일을 자동으로 창에 추가: + +`multitail -Q {{패턴}}` + +- 5개의 로그 파일을 표시하고 2개를 병합하여 2개의 열에 넣되, 왼쪽 열에는 하나만 배치: + +`multitail -s 2 -sn 1,3 {{경로/대상/병합파일}} -I {{경로/대상/파일1}} {{경로/대상/파일2}} {{경로/대상/파일3}} {{경로/대상/파일4}}` diff --git a/pages.ko/common/mumble.md b/pages.ko/common/mumble.md new file mode 100644 index 00000000000000..73860ae667d9d3 --- /dev/null +++ b/pages.ko/common/mumble.md @@ -0,0 +1,24 @@ +# mumble + +> 저지연, 고품질 음성 채팅 소프트웨어. +> 더 많은 정보: . + +- Mumble 열기: + +`mumble` + +- Mumble을 열고 즉시 서버에 연결: + +`mumble mumble://{{사용자이름}}@{{예제.com}}` + +- Mumble을 열고 즉시 비밀번호로 보호된 서버에 연결: + +`mumble mumble://{{사용자이름}}:{{비밀번호}}@{{예제.com}}` + +- 실행 중인 Mumble 인스턴스에서 마이크 음소거/음소거 해제: + +`mumble rpc {{mute|unmute}}` + +- Mumble의 마이크 및 오디오 출력 음소거/음소거 해제: + +`mumble rpc {{deaf|undeaf}}` diff --git a/pages.ko/common/mupdf.md b/pages.ko/common/mupdf.md new file mode 100644 index 00000000000000..0fe1d62ca6564a --- /dev/null +++ b/pages.ko/common/mupdf.md @@ -0,0 +1,32 @@ +# mupdf + +> 경량 PDF, XPS 및 전자책 뷰어. +> 더 많은 정보: . + +- 첫 페이지에서 PDF 열기: + +`mupdf {{경로/대상/파일}}` + +- 3페이지에서 PDF 열기: + +`mupdf {{경로/대상/파일}} {{3}}` + +- 비밀번호로 보호된 PDF 열기: + +`mupdf -p {{비밀번호}} {{경로/대상/파일}}` + +- 초기 확대 수준(72 DPI)으로 PDF 열기: + +`mupdf -r {{72}} {{경로/대상/파일}}` + +- 색상이 반전된 PDF 열기: + +`mupdf -I {{경로/대상/파일}}` + +- 빨간색 #FF0000 틴트가 적용된 PDF 열기 (16진수 색상 구문 RRGGBB): + +`mupdf -C {{FF0000}}` + +- 안티앨리어싱 없이 PDF 열기 (0 = 끔, 8 = 최고): + +`mupdf -A {{0}}` diff --git a/pages.ko/common/musescore.md b/pages.ko/common/musescore.md new file mode 100644 index 00000000000000..136fca3ac1f7f3 --- /dev/null +++ b/pages.ko/common/musescore.md @@ -0,0 +1,33 @@ +# musescore + +> MuseScore 3 악보 편집기. +> 같이 보기: `lilypond`. +> 더 많은 정보: . + +- 특정 오디오 드라이버 사용: + +`musescore --audio-driver {{jack|alsa|portaudio|pulse}}` + +- MP3 출력 비트레이트를 kbit/s 단위로 설정: + +`musescore --bitrate {{비트레이트}}` + +- MuseScore를 디버그 모드로 시작: + +`musescore --debug` + +- 레이어와 같은 실험적 기능 활성화: + +`musescore --experimental` + +- 주어진 파일을 지정된 출력 파일로 내보내기. 파일 유형은 주어진 확장자에 따라 결정됨: + +`musescore --export-to {{출력_파일}} {{입력_파일}}` + +- 주어진 악보 간의 차이를 출력: + +`musescore --diff {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- MIDI 가져오기 작업 파일 지정: + +`musescore --midi-operations {{경로/대상/파일}}` diff --git a/pages.ko/common/musl-gcc.md b/pages.ko/common/musl-gcc.md new file mode 100644 index 00000000000000..f45abdfc4245d0 --- /dev/null +++ b/pages.ko/common/musl-gcc.md @@ -0,0 +1,9 @@ +# musl-gcc + +> `musl libc`에 대한 링크 옵션을 자동으로 설정하는 `gcc`의 래퍼. +> 지정된 모든 옵션은 `gcc`에 직접 전달됩니다. +> 더 많은 정보: . + +- `gcc`에 대한 문서 보기: + +`tldr gcc` diff --git a/pages.ko/common/mutagen.md b/pages.ko/common/mutagen.md new file mode 100644 index 00000000000000..890480e519af53 --- /dev/null +++ b/pages.ko/common/mutagen.md @@ -0,0 +1,28 @@ +# mutagen + +> 실시간 파일 동기화 및 네트워크 전달 도구. +> 더 많은 정보: . + +- 로컬 디렉토리와 원격 호스트 간의 동기화 세션 시작: + +`mutagen sync create --name={{세션_이름}} {{/경로/대상/로컬/폴더/}} {{사용자}}@{{호스트}}:{{/경로/대상/원격/폴더/}}` + +- 로컬 디렉토리와 Docker 컨테이너 간의 동기화 세션 시작: + +`mutagen sync create --name={{세션_이름}} {{/경로/대상/로컬/폴더/}} docker://{{사용자}}@{{컨테이너_이름}}{{/경로/대상/원격/폴더/}}` + +- 실행 중인 세션 중지: + +`mutagen sync terminate {{세션_이름}}` + +- 프로젝트 시작: + +`mutagen project start` + +- 프로젝트 중지: + +`mutagen project terminate` + +- 현재 프로젝트의 실행 중인 세션 나열: + +`mutagen project list` diff --git a/pages.ko/common/mutool.md b/pages.ko/common/mutool.md new file mode 100644 index 00000000000000..3b241d0fcfb490 --- /dev/null +++ b/pages.ko/common/mutool.md @@ -0,0 +1,28 @@ +# mutool + +> PDF 파일에서 데이터를 변환, 정보 조회 및 추출. +> 더 많은 정보: . + +- 페이지 범위를 PNG로 변환 (참고: 출력 자리 표시자에서 `%nd`는 `%d` 또는 `%2d`와 같은 인쇄 수정자로 대체해야 함): + +`mutool convert -o {{경로/대상/출력%nd.png}} {{경로/대상/입력.pdf}} {{1-10}}` + +- PDF의 한 개 이상의 페이지를 `stdout`에 텍스트로 변환: + +`mutool draw -F txt {{경로/대상/입력.pdf}} {{2,3,5,...}}` + +- 여러 PDF 파일을 병합: + +`mutool merge -o {{경로/대상/출력.pdf}} {{경로/대상/입력1.pdf 경로/대상/입력2.pdf ...}}` + +- PDF에 포함된 모든 콘텐츠에 대한 정보 조회: + +`mutool info {{경로/대상/입력.pdf}}` + +- PDF에 포함된 모든 이미지, 글꼴 및 리소스를 현재 디렉터리에 추출: + +`mutool extract {{경로/대상/입력.pdf}}` + +- PDF의 목차 (책갈피) 표시: + +`mutool show {{경로/대상/입력.pdf}} outline` diff --git a/pages.ko/common/mutt.md b/pages.ko/common/mutt.md new file mode 100644 index 00000000000000..404220815c4083 --- /dev/null +++ b/pages.ko/common/mutt.md @@ -0,0 +1,24 @@ +# mutt + +> 커맨드라인 이메일 클라이언트. +> 더 많은 정보: . + +- 지정된 메일박스 열기: + +`mutt -f {{메일박스}}` + +- 이메일을 보내며 제목과 참조 수신자를 지정: + +`mutt -s {{제목}} -c {{참조@example.com}} {{수신자@example.com}}` + +- 파일을 첨부하여 이메일 보내기: + +`mutt -a {{파일1}} {{파일2}} -- {{수신자@example.com}}` + +- 메시지 본문으로 포함할 파일 지정: + +`mutt -i {{경로/대상/파일}} {{수신자@example.com}}` + +- RFC 5322 형식으로 헤더와 본문을 포함한 초안 파일 지정: + +`mutt -H {{경로/대상/파일}} {{수신자@example.com}}` diff --git a/pages.ko/common/mv.md b/pages.ko/common/mv.md new file mode 100644 index 00000000000000..c2b998a854670d --- /dev/null +++ b/pages.ko/common/mv.md @@ -0,0 +1,36 @@ +# mv + +> 파일 및 디렉토리를 이동하거나 이름을 변경합니다. +> 더 많은 정보: . + +- 대상이 기존 디렉토리가 아닌 경우 파일 또는 디렉토리 이름 변경: + +`mv {{경로/대상/원본}} {{경로/대상/목표}}` + +- 파일 또는 디렉토리를 기존 디렉토리로 이동: + +`mv {{경로/대상/원본}} {{경로/대상/기존_폴더}}` + +- 여러 파일을 기존 디렉토리로 이동하고 파일 이름은 그대로 유지: + +`mv {{경로/대상/원본1 경로/대상/원본2 ...}} {{경로/대상/기존_폴더}}` + +- 기존 파일을 덮어쓸 때 확인하지 않고 이동: + +`mv {{[-f|--force]}} {{경로/대상/소스}} {{경로/대상/타겟}}` + +- 파일 권한과 관계없이 기존 파일을 덮어쓸 때 [i]대화형 확인 요청: + +`mv {{[-i|--interactive]}} {{경로/대상/소스}} {{경로/대상/타겟}}` + +- 대상에서 기존 파일을 덮어쓰지 않음 ([n]): + +`mv {{[-n|--no-clobber]}} {{경로/대상/소스}} {{경로/대상/타겟}}` + +- 파일 이동 후 자세한 모드로 파일 보기: + +`mv {{[-v|--verbose]}} {{경로/대상/소스}} {{경로/대상/타겟}}` + +- 외부 도구를 사용하여 이동 가능한 파일을 수집하기 위해 [t]타겟 디렉터리 지정: + +`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv {{[-t|--target-directory]}} {{경로/대상/타겟_디렉터리}}` diff --git a/pages.ko/common/mvn.md b/pages.ko/common/mvn.md new file mode 100644 index 00000000000000..56b2756ccbc7b2 --- /dev/null +++ b/pages.ko/common/mvn.md @@ -0,0 +1,36 @@ +# mvn + +> Apache Maven: Java 기반 프로젝트를 빌드하고 관리. +> 더 많은 정보: . + +- 프로젝트 컴파일: + +`mvn compile` + +- 컴파일된 코드를 `jar`와 같은 배포 가능한 형식으로 패키지: + +`mvn package` + +- 유닛 테스트를 건너뛰고 컴파일 및 패키지: + +`mvn package -DskipTests` + +- 빌드된 패키지를 로컬 Maven 저장소에 설치 (컴파일 및 패키지 명령도 실행됨): + +`mvn install` + +- 타겟 디렉터리에서 빌드 아티팩트 삭제: + +`mvn clean` + +- 클린 후 패키지 단계 실행: + +`mvn clean package` + +- 주어진 빌드 프로필로 코드를 클린 후 패키지: + +`mvn clean -P {{프로필}} package` + +- 메인 메서드를 가진 클래스를 실행: + +`mvn exec:java -Dexec.mainClass="{{com.example.Main}}" -Dexec.args="{{인수1 인수2 ...}}"` diff --git a/pages.ko/common/mycli.md b/pages.ko/common/mycli.md new file mode 100644 index 00000000000000..574d177490ea49 --- /dev/null +++ b/pages.ko/common/mycli.md @@ -0,0 +1,16 @@ +# mycli + +> 자동 완성 및 구문 강조 기능을 제공하는 MySQL 명령줄 클라이언트. +> 더 많은 정보: . + +- 현재 사용자의 사용자명을 사용하여 포트 3306의 로컬 데이터베이스에 연결: + +`mycli {{데이터베이스_이름}}` + +- 데이터베이스에 연결 (사용자에게 비밀번호 입력이 요청됨): + +`mycli {{[-u|--user]}} {{사용자명}} {{데이터베이스_이름}}` + +- 다른 호스트의 데이터베이스에 연결: + +`mycli {{[-h|--host]}} {{데이터베이스_호스트}} {{[-P|--port]}} {{포트}} {{[-u|--user]}} {{사용자명}} {{데이터베이스_이름}}` diff --git a/pages.ko/common/mypy.md b/pages.ko/common/mypy.md new file mode 100644 index 00000000000000..582c9fe6dee636 --- /dev/null +++ b/pages.ko/common/mypy.md @@ -0,0 +1,36 @@ +# mypy + +> Python 코드의 타입을 검사. +> 더 많은 정보: . + +- 특정 파일의 타입 검사: + +`mypy {{경로/대상/파일.py}}` + +- 특정 [m]모듈의 타입 검사: + +`mypy -m {{모듈_이름}}` + +- 특정 [p]패키지의 타입 검사: + +`mypy -p {{패키지_이름}}` + +- 코드 문자열의 타입 검사: + +`mypy -c "{{코드}}"` + +- 누락된 import 무시: + +`mypy --ignore-missing-imports {{경로/대상/파일_또는_폴더}}` + +- 자세한 오류 메시지 표시: + +`mypy --show-traceback {{경로/대상/파일_또는_폴더}}` + +- 사용자 지정 구성 파일 지정: + +`mypy --config-file {{경로/대상/구성_파일}}` + +- [h]도움말 표시: + +`mypy -h` diff --git a/pages.ko/common/mysql.md b/pages.ko/common/mysql.md new file mode 100644 index 00000000000000..dbf0464e804e97 --- /dev/null +++ b/pages.ko/common/mysql.md @@ -0,0 +1,32 @@ +# mysql + +> MySQL 명령줄 도구. +> 더 많은 정보: . + +- 데이터베이스에 연결: + +`mysql {{데이터베이스_이름}}` + +- 데이터베이스에 연결하고, 비밀번호 입력 요청: + +`mysql {{[-u|--user]}} {{사용자}} {{[-p|--password]}} {{데이터베이스_이름}}` + +- 다른 호스트의 데이터베이스에 연결: + +`mysql {{[-h|--host]}} {{데이터베이스_호스트}} {{데이터베이스_이름}}` + +- Unix 소켓을 통해 데이터베이스에 연결: + +`mysql {{[-S|--socket]}} {{경로/대상/socket.sock}}` + +- 스크립트 파일(배치 파일)에서 SQL 문 실행: + +`mysql {{[-e|--execute]}} "source {{파일이름.sql}}" {{데이터베이스_이름}}` + +- `mysqldump`로 생성된 백업에서 데이터베이스 복원 (비밀번호 입력 요청): + +`mysql {{[-u|--user]}} {{사용자}} {{[-p|--password]}} {{데이터베이스_이름}} < {{경로/대상/backup.sql}}` + +- 백업에서 모든 데이터베이스 복원 (비밀번호 입력 요청): + +`mysql {{[-u|--user]}} {{사용자}} {{[-p|--password]}} < {{경로/대상/backup.sql}}` diff --git a/pages.ko/common/mysql_secure_installation.md b/pages.ko/common/mysql_secure_installation.md new file mode 100644 index 00000000000000..8be2d068adaa59 --- /dev/null +++ b/pages.ko/common/mysql_secure_installation.md @@ -0,0 +1,16 @@ +# mysql_secure_installation + +> MySQL을 보다 안전하게 설정. +> 더 많은 정보: . + +- 대화형 설정 시작: + +`mysql_secure_installation` + +- 특정 호스트와 포트 사용: + +`mysql_secure_installation --host {{호스트}} --port {{포트}}` + +- 도움말 표시: + +`mysql_secure_installation --help` diff --git a/pages.ko/common/mysqlbinlog.md b/pages.ko/common/mysqlbinlog.md new file mode 100644 index 00000000000000..8adbe4ebbf3675 --- /dev/null +++ b/pages.ko/common/mysqlbinlog.md @@ -0,0 +1,24 @@ +# mysqlbinlog + +> MySQL 바이너리 로그 파일을 처리하는 도구. +> 더 많은 정보: . + +- 특정 바이너리 로그 파일에서 이벤트 표시: + +`mysqlbinlog {{경로/대상/바인로그}}` + +- 특정 데이터베이스에 대한 바이너리 로그의 항목 표시: + +`mysqlbinlog --database {{데이터베이스_이름}} {{경로/대상/바인로그}}` + +- 특정 날짜 사이의 바이너리 로그에서 이벤트 표시: + +`mysqlbinlog --start-datetime='{{2022-01-01 01:00:00}}' --stop-datetime='{{2022-02-01 01:00:00}}' {{경로/대상/바인로그}}` + +- 특정 위치 사이의 바이너리 로그에서 이벤트 표시: + +`mysqlbinlog --start-position={{100}} --stop-position={{200}} {{경로/대상/바인로그}}` + +- 지정된 호스트의 MySQL 서버에서 바이너리 로그 표시: + +`mysqlbinlog --host={{호스트_이름}} {{경로/대상/바인로그}}` diff --git a/pages.ko/common/mysqlcheck.md b/pages.ko/common/mysqlcheck.md new file mode 100644 index 00000000000000..9b50306d906d96 --- /dev/null +++ b/pages.ko/common/mysqlcheck.md @@ -0,0 +1,20 @@ +# mysqlcheck + +> MySQL 테이블 검사 및 복구. +> 더 많은 정보: . + +- 테이블 검사: + +`mysqlcheck --check {{테이블}}` + +- 테이블을 검사하고 접근을 위한 인증 정보 제공: + +`mysqlcheck --check {{테이블}} --user {{사용자_명}} --password {{비밀번호}}` + +- 테이블 복구: + +`mysqlcheck --repair {{테이블}}` + +- 테이블 최적화: + +`mysqlcheck --optimize {{테이블}}` diff --git a/pages.ko/common/mysqld.md b/pages.ko/common/mysqld.md new file mode 100644 index 00000000000000..094b89f2c7091d --- /dev/null +++ b/pages.ko/common/mysqld.md @@ -0,0 +1,32 @@ +# mysqld + +> MySQL 데이터베이스 서버 시작. +> 더 많은 정보: . + +- MySQL 데이터베이스 서버 시작: + +`mysqld` + +- 서버 시작 및 오류 메시지를 콘솔에 출력: + +`mysqld --console` + +- 서버 시작 및 로그 출력을 사용자 지정 로그 파일에 저장: + +`mysqld --log={{경로/대상/파일.log}}` + +- 기본 인자와 그 값을 출력하고 종료: + +`mysqld --print-defaults` + +- 파일에서 인자와 값을 읽어 서버 시작: + +`mysqld --defaults-file={{경로/대상/파일}}` + +- 사용자 지정 포트에서 서버 시작: + +`mysqld --port={{포트}}` + +- 도움말 표시: + +`mysqld --verbose --help` diff --git a/pages.ko/common/mysqldump.md b/pages.ko/common/mysqldump.md new file mode 100644 index 00000000000000..897ae5b6397082 --- /dev/null +++ b/pages.ko/common/mysqldump.md @@ -0,0 +1,21 @@ +# mysqldump + +> MySQL 데이터베이스 백업. +> 데이터베이스 복원에 대해서는 `mysql`을 참조하세요. +> 더 많은 정보: . + +- 백업 생성 (사용자에게 비밀번호가 요청됨): + +`mysqldump --user {{사용자_명}} --password {{데이터베이스_이름}} --result-file={{경로/대상/파일.sql}}` + +- 특정 테이블을 백업하여 파일로 출력 (사용자에게 비밀번호가 요청됨): + +`mysqldump --user {{사용자_명}} --password {{데이터베이스_이름}} {{테이블_이름}} > {{경로/대상/파일.sql}}` + +- 모든 데이터베이스를 백업하여 파일로 출력 (사용자에게 비밀번호가 요청됨): + +`mysqldump --user {{사용자_명}} --password --all-databases > {{경로/대상/파일.sql}}` + +- 원격 호스트의 모든 데이터베이스를 백업하여 파일로 출력 (사용자에게 비밀번호가 요청됨): + +`mysqldump --host={{IP_또는_호스트이름}} --user {{사용자_명}} --password --all-databases > {{경로/대상/파일.sql}}` diff --git a/pages.ko/common/mysqlsh.md b/pages.ko/common/mysqlsh.md new file mode 100644 index 00000000000000..131770561f4236 --- /dev/null +++ b/pages.ko/common/mysqlsh.md @@ -0,0 +1,33 @@ +# mysqlsh + +> SQL, JavaScript, Python을 지원하는 MySQL의 고급 명령줄 클라이언트. +> InnoDB 클러스터 및 문서 저장소 컬렉션 관리를 위한 기능 제공. +> 더 많은 정보: . + +- 대화형 모드로 MySQL Shell 시작: + +`mysqlsh` + +- MySQL 서버에 연결: + +`mysqlsh --user {{사용자_명}} --host {{호스트_명}} --port {{포트}}` + +- 서버에서 SQL 문을 실행하고 종료: + +`mysqlsh --user {{사용자_명}} --execute '{{sql_문}}'` + +- JavaScript 모드로 MySQL Shell 시작: + +`mysqlsh --js` + +- Python 모드로 MySQL Shell 시작: + +`mysqlsh --py` + +- JSON 문서를 MySQL 컬렉션에 가져오기: + +`mysqlsh --import {{경로/대상/파일.json}} --schema {{스키마_명}} --collection {{컬렉션_명}}` + +- 상세 출력 활성화: + +`mysqlsh --verbose` diff --git a/pages.ko/common/mytop.md b/pages.ko/common/mytop.md new file mode 100644 index 00000000000000..9333792730d305 --- /dev/null +++ b/pages.ko/common/mytop.md @@ -0,0 +1,20 @@ +# mytop + +> MySQL 서버 성능 정보를 `top`처럼 표시. +> 더 많은 정보: . + +- `mytop` 시작: + +`mytop` + +- 지정된 사용자 이름과 비밀번호로 연결: + +`mytop -u {{사용자}} -p {{비밀번호}}` + +- 지정된 사용자 이름으로 연결 (비밀번호 입력이 요청됨): + +`mytop -u {{사용자}} --prompt` + +- 유휴(대기) 스레드를 표시하지 않음: + +`mytop -u {{사용자}} -p {{비밀번호}} --noidle` diff --git a/pages.ko/common/n.md b/pages.ko/common/n.md new file mode 100644 index 00000000000000..f23fbf26f15d35 --- /dev/null +++ b/pages.ko/common/n.md @@ -0,0 +1,24 @@ +# n + +> 여러 노드 버전을 관리합니다. +> 더 많은 정보: . + +- 지정된 버전의 노드를 설치합니다. 버전이 이미 설치되어 있으면 활성화됩니다: + +`n {{버전}}` + +- 설치된 버전을 표시하고 대화형으로 하나를 활성화합니다: + +`n` + +- 버전을 제거합니다: + +`n rm {{버전}}` + +- 지정된 버전으로 파일을 실행합니다: + +`n use {{버전}} {{파일.js}}` + +- 버전의 바이너리 경로를 출력합니다: + +`n bin {{버전}}` diff --git a/pages.ko/common/naabu.md b/pages.ko/common/naabu.md new file mode 100644 index 00000000000000..639c3b34a44320 --- /dev/null +++ b/pages.ko/common/naabu.md @@ -0,0 +1,33 @@ +# naabu + +> 신뢰성과 단순성에 중점을 둔 Go로 작성된 빠른 포트 스캐너. +> 참고: 일부 기능은 `naabu`를 루트 권한으로 실행할 때만 활성화되며, 예를 들어 SYN 스캔이 있습니다. +> 더 많은 정보: . + +- 원격 호스트의 기본(상위 100개) 포트에 대해 SYN 스캔 실행: + +`sudo naabu -host {{호스트}}` + +- 사용 가능한 네트워크 인터페이스와 로컬 호스트의 공용 IP 주소 표시: + +`naabu -interface-list` + +- 원격 호스트의 모든 포트 스캔 (CONNECT 스캔, `sudo` 없이): + +`naabu -p - -host {{호스트}}` + +- 원격 호스트의 상위 1000개 포트 스캔: + +`naabu -top-ports 1000 -host {{호스트}}` + +- 원격 호스트의 TCP 포트 80, 443 및 UDP 포트 53 스캔: + +`naabu -p 80,443,u:53 -host {{호스트}}` + +- 원격 호스트가 사용하는 CDN 유형 표시 (있는 경우): + +`naabu -p 80,443 -cdn -host {{호스트}}` + +- 추가 기능을 위해 `naabu`에서 `nmap` 실행 (`nmap`이 설치되어 있어야 함): + +`sudo naabu -v -host {{호스트}} -nmap-cli 'nmap {{-v -T5 -sC}}'` diff --git a/pages.ko/common/nano.md b/pages.ko/common/nano.md new file mode 100644 index 00000000000000..e264e9a5a09db6 --- /dev/null +++ b/pages.ko/common/nano.md @@ -0,0 +1,32 @@ +# nano + +> 명령줄 텍스트 편집기. 향상된 `Pico` 클론. +> 더 많은 정보: . + +- 편집기 시작: + +`nano` + +- 설정 파일을 사용하지 않고 편집기 시작: + +`nano {{[-I|--ignorercfiles]}}` + +- 특정 파일 열기, 이전 파일을 닫으면 다음 파일로 이동: + +`nano {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일을 열고 특정 행과 열에 커서 배치: + +`nano +{{행}},{{열}} {{경로/대상/파일}}` + +- 파일을 열고 소프트 랩핑 활성화: + +`nano {{[-S|--softwrap]}} {{경로/대상/파일}}` + +- 파일을 열고 새 줄을 이전 줄의 들여쓰기로 자동 들여쓰기: + +`nano {{[-i|--autoindent]}} {{경로/대상/파일}}` + +- 파일을 열고 저장 시 백업 파일(`경로/대상/파일~`) 생성: + +`nano {{[-B|--backup]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/nasm.md b/pages.ko/common/nasm.md new file mode 100644 index 00000000000000..74b379ebef38b2 --- /dev/null +++ b/pages.ko/common/nasm.md @@ -0,0 +1,24 @@ +# nasm + +> Netwide Assembler, 휴대용 80x86 어셈블러. +> 더 많은 정보: . + +- `source.asm`을 (기본) raw 바이너리 형식의 바이너리 파일 `source`로 어셈블: + +`nasm {{source.asm}}` + +- `source.asm`을 지정된 형식의 바이너리 파일 `output_file`로 어셈블: + +`nasm -f {{형식}} {{source.asm}} -o {{출력_파일}}` + +- 유효한 출력 형식 목록 나열(기본 nasm 도움말 포함): + +`nasm -hf` + +- 어셈블하고 어셈블리 목록 파일 생성: + +`nasm -l {{목록_파일}} {{source.asm}}` + +- 어셈블하기 전에 포함 파일 검색 경로에 디렉토리 추가(마지막에 슬래시 포함 필요): + +`nasm -i {{경로/대상/포함_폴더/}} {{source.asm}}` diff --git a/pages.ko/common/nativefier.md b/pages.ko/common/nativefier.md new file mode 100644 index 00000000000000..ccf0af1bbbfc6a --- /dev/null +++ b/pages.ko/common/nativefier.md @@ -0,0 +1,16 @@ +# nativefier + +> 최소한의 설정으로 모든 웹사이트를 위한 데스크탑 앱 생성. +> 더 많은 정보: . + +- 웹사이트를 위한 데스크탑 앱 만들기: + +`nativefier {{url}}` + +- 사용자 지정 이름으로 데스크탑 앱 생성: + +`nativefier --name {{이름}} {{url}}` + +- 사용자 지정 아이콘 사용 (PNG 형식이어야 함): + +`nativefier --icon {{경로/대상/아이콘.png}} {{url}}` diff --git a/pages.ko/common/nbtscan.md b/pages.ko/common/nbtscan.md new file mode 100644 index 00000000000000..236394f256a421 --- /dev/null +++ b/pages.ko/common/nbtscan.md @@ -0,0 +1,24 @@ +# nbtscan + +> 네트워크를 스캔하여 NetBIOS 이름 정보를 검색. +> 더 많은 정보: . + +- 네트워크에서 NetBIOS 이름 스캔: + +`nbtscan {{192.168.0.1/24}}` + +- 단일 IP 주소 스캔: + +`nbtscan {{192.168.0.1}}` + +- 자세한 출력 표시: + +`nbtscan -v {{192.168.0.1/24}}` + +- `/etc/hosts` 형식으로 출력 표시: + +`nbtscan -e {{192.168.0.1/24}}` + +- 스캔할 IP 주소/네트워크를 파일에서 읽기: + +`nbtscan -f {{경로/대상/파일.txt}}` diff --git a/pages.ko/common/nc.md b/pages.ko/common/nc.md new file mode 100644 index 00000000000000..75857a31a1c2fc --- /dev/null +++ b/pages.ko/common/nc.md @@ -0,0 +1,32 @@ +# nc + +> Netcat은 TCP 또는 UDP 데이터 작업을 위한 다목적 유틸리티입니다. +> 더 많은 정보: . + +- 특정 포트에서 수신대기 및 수신한 데이터 출력: + +`nc -l {{포트}}` + +- 특정 포트에 연결: + +`nc {{ip_주소}} {{포트}}` + +- 타임아웃 설정: + +`nc -w {{타임아웃_될_시간}} {{ip_주소}} {{포트}}` + +- 클라이언트가 연결 해제 된 상황에도 서버를 가동 상태로 유지: + +`nc -k -l {{포트}}` + +- EOF가 들어와도 클라이언트와 연결 유지: + +`nc -q {{타임아웃_될_시간}} {{ip_주소}}` + +- 특정 호스트의 포트가 열렸는지 확인: + +`nc -v -z {{ip_주소}} {{포트}}` + +- 프록시처럼 로컬 TCP 포트로부터 받은 데이터를 주어진 원격 호스트에게 전달합니다: + +`nc -l {{로컬_포트}} | nc {{호스트_이름}} {{원격_포트}}` diff --git a/pages.ko/common/ncc.md b/pages.ko/common/ncc.md new file mode 100644 index 00000000000000..2724d73260f12f --- /dev/null +++ b/pages.ko/common/ncc.md @@ -0,0 +1,29 @@ +# ncc + +> Node.js 애플리케이션을 단일 파일로 컴파일. +> TypeScript, 바이너리 애드온 및 동적 require를 지원. +> 더 많은 정보: . + +- Node.js 애플리케이션 번들링: + +`ncc build {{경로/대상/파일.js}}` + +- Node.js 애플리케이션을 번들링하고 축소: + +`ncc build --minify {{경로/대상/파일.js}}` + +- Node.js 애플리케이션을 번들링하고 축소하며 소스 맵 생성: + +`ncc build --source-map {{경로/대상/파일.js}}` + +- 소스 파일 변경 시 자동으로 다시 컴파일: + +`ncc build --watch {{경로/대상/파일.js}}` + +- Node.js 애플리케이션을 임시 디렉토리에 번들링하고 테스트를 위해 실행: + +`ncc run {{경로/대상/파일.js}}` + +- `ncc` 캐시 삭제: + +`ncc clean cache` diff --git a/pages.ko/common/ncdu.md b/pages.ko/common/ncdu.md new file mode 100644 index 00000000000000..274dd6f73f123c --- /dev/null +++ b/pages.ko/common/ncdu.md @@ -0,0 +1,24 @@ +# ncdu + +> ncurses 인터페이스를 사용하는 디스크 사용량 분석기. +> 더 많은 정보: . + +- 현재 작업 중인 디렉터리 분석: + +`ncdu` + +- 출력에 색상 적용: + +`ncdu --color {{dark|off}}` + +- 지정된 디렉터리 분석: + +`ncdu {{경로/대상/폴더}}` + +- 결과를 파일에 저장: + +`ncdu -o {{경로/대상/파일}}` + +- 패턴과 일치하는 파일 제외(추가 패턴을 위해 여러 번 인수 전달 가능): + +`ncdu --exclude '{{*.txt}}'` diff --git a/pages.ko/common/ncmpcpp.md b/pages.ko/common/ncmpcpp.md new file mode 100644 index 00000000000000..26365108153f90 --- /dev/null +++ b/pages.ko/common/ncmpcpp.md @@ -0,0 +1,21 @@ +# ncmpcpp + +> Music Player Daemon을 위한 음악 플레이어 클라이언트. +> 같이 보기: `mpd`, `mpc`, `qmmp`, `termusic`. +> 더 많은 정보: . + +- 지정된 호스트와 포트의 음악 플레이어 데몬에 연결: + +`ncmpcpp --host {{아이피}} --port {{포트}}` + +- 현재 곡의 메타데이터를 콘솔에 표시: + +`ncmpcpp --current-song` + +- 지정된 설정 파일 사용: + +`ncmpcpp --config {{파일}}` + +- 파일에서 다른 키 바인딩 세트 사용: + +`ncmpcpp --bindings {{파일}}` diff --git a/pages.ko/common/ncu.md b/pages.ko/common/ncu.md new file mode 100644 index 00000000000000..37b587c9230fb2 --- /dev/null +++ b/pages.ko/common/ncu.md @@ -0,0 +1,37 @@ +# ncu + +> 패키지 종속성의 최신 버전을 찾고, 로컬 또는 전역적으로 오래된 npm 패키지를 확인. +> `ncu`는 `package.json`의 종속성 버전만 업데이트합니다. 새 버전을 설치하려면 이후에 `npm install`을 실행하세요. +> 더 많은 정보: . + +- 현재 디렉토리의 오래된 종속성 나열: + +`ncu` + +- 전역 `npm` 패키지 중 오래된 항목 나열: + +`ncu --global` + +- 현재 디렉토리의 모든 종속성 업그레이드: + +`ncu --upgrade` + +- 현재 디렉토리의 종속성을 대화형으로 업그레이드: + +`ncu --interactive` + +- 가장 높은 마이너 버전까지의 오래된 종속성 나열: + +`ncu --target {{마이너_버전}}` + +- 키워드 또는 정규 표현식과 일치하는 오래된 종속성 나열: + +`ncu --filter {{키워드|/정규식/}}` + +- 특정 섹션의 오래된 종속성만 나열: + +`ncu --dep {{dev|optional|peer|prod|packageManager}}` + +- 도움말 표시: + +`ncu --help` diff --git a/pages.ko/common/neato.md b/pages.ko/common/neato.md new file mode 100644 index 00000000000000..9d451ff3a59126 --- /dev/null +++ b/pages.ko/common/neato.md @@ -0,0 +1,25 @@ +# neato + +> `graphviz` 파일에서 `선형 무방향` 네트워크 그래프의 이미지를 렌더링. +> 레이아웃: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage`, `patchwork`. +> 더 많은 정보: . + +- 입력 파일 이름과 출력 형식에 기반하여 PNG 이미지 렌더링 (대문자 -O 사용): + +`neato -T {{png}} -O {{경로/대상/입력.gv}}` + +- 지정된 출력 파일 이름으로 SVG 이미지 렌더링 (소문자 -o 사용): + +`neato -T {{svg}} -o {{경로/대상/이미지.svg}} {{경로/대상/입력.gv}}` + +- PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, 또는 DOT 형식으로 출력 렌더링: + +`neato -T {{형식}} -O {{경로/대상/입력.gv}}` + +- `stdin`과 `stdout`을 사용하여 GIF 이미지 렌더링: + +`echo "{{graph {this -- that} }}" | neato -T {{gif}} > {{경로/대상/이미지.gif}}` + +- 도움말 표시: + +`neato -?` diff --git a/pages.ko/common/ned.md b/pages.ko/common/ned.md new file mode 100644 index 00000000000000..e8159c9e591b01 --- /dev/null +++ b/pages.ko/common/ned.md @@ -0,0 +1,37 @@ +# ned + +> `grep`과 유사하지만 강력한 치환 기능을 제공. +> `sed`와 달리 줄 단위 편집에 제한되지 않음. +> 더 많은 정보: . + +- 현재 디렉토리에서 대소문자를 무시하고 재귀적으로 검색: + +`ned --ignore-case --recursive '{{^[dl]og}}' {{.}}` + +- 항상 색상 출력으로 검색: + +`ned --colors '{{^[dl]og}}' {{.}}` + +- 색상 출력을 사용하지 않고 검색: + +`ned --colors=never '{{^[dl]og}}' {{.}}` + +- 특정 파일을 무시하고 검색: + +`ned --recursive --exclude '{{*.htm}}' '{{^[dl]og}}' {{.}}` + +- 간단한 치환: + +`ned '{{dog}}' --replace '{{cat}}' {{.}}` + +- 번호가 매겨진 그룹 참조를 사용한 치환: + +`ned '{{the ([a-z]+) dog and the ([a-z]+) dog}}' --replace '{{the $2 dog and the $1 dog}}' {{.}}` + +- 대소문자를 변경하여 치환: + +`ned '{{([a-z]+) dog}}' --case-replacements --replace '{{\U$1\E! dog}}' --stdout {{.}}` + +- 대상 파일을 업데이트하지 않고 찾기 및 바꾸기 결과 미리 보기: + +`ned '{{^[sb]ad}}' --replace '{{happy}}' --stdout {{.}}` diff --git a/pages.ko/common/neo4j-admin.md b/pages.ko/common/neo4j-admin.md new file mode 100644 index 00000000000000..3637e751ace429 --- /dev/null +++ b/pages.ko/common/neo4j-admin.md @@ -0,0 +1,33 @@ +# neo4j-admin + +> Neo4j DBMS(데이터베이스 관리 시스템) 관리 및 운영. +> 같이 보기: `cypher-shell`, `mysqld`. +> 더 많은 정보: . + +- DBMS 시작: + +`neo4j-admin server start` + +- DBMS 중지: + +`neo4j-admin server stop` + +- 기본 `neo4j` 사용자의 초기 비밀번호 설정 (DBMS를 처음 시작하기 위한 전제 조건): + +`neo4j-admin dbms set-initial-password {{데이터베이스_이름}}` + +- 오프라인 데이터베이스의 아카이브(덤프)를 `database_name.dump`라는 이름의 파일로 생성: + +`neo4j-admin database dump --to-path={{경로/대상/폴더}} {{데이터베이스_이름}}` + +- `database_name.dump`라는 아카이브에서 데이터베이스 로드: + +`neo4j-admin database load --from-path={{경로/대상/폴더}} {{데이터베이스_이름}} --overwrite-destination=true` + +- 지정된 아카이브 파일을 `stdin`을 통해 데이터베이스 로드: + +`neo4j-admin database load --from-stdin {{데이터베이스_이름}} --overwrite-destination=true < {{경로/대상/파일이름.dump}}` + +- 도움말 표시: + +`neo4j-admin --help` diff --git a/pages.ko/common/neofetch.md b/pages.ko/common/neofetch.md new file mode 100644 index 00000000000000..5fdb946a0d0b80 --- /dev/null +++ b/pages.ko/common/neofetch.md @@ -0,0 +1,20 @@ +# neofetch + +> 운영 체제, 소프트웨어 및 하드웨어에 대한 정보를 표시. +> 더 많은 정보: . + +- 기본 설정을 반환하고, 프로그램이 처음 실행되는 경우 설정 생성: + +`neofetch` + +- 출력에서 특정 정보 라인을 표시하거나 숨김, 여기서 'infoname'은 설정 파일의 함수 이름(예: 메모리): + +`neofetch --{{enable|disable}} {{정보명}}` + +- 운영 체제 아키텍처 숨기기/표시: + +`neofetch --os_arch {{on|off}}` + +- 출력에서 CPU 브랜드 활성화/비활성화: + +`neofetch --cpu_brand {{on|off}}` diff --git a/pages.ko/common/neomutt.md b/pages.ko/common/neomutt.md new file mode 100644 index 00000000000000..5d97aa0df25ae2 --- /dev/null +++ b/pages.ko/common/neomutt.md @@ -0,0 +1,24 @@ +# neomutt + +> NeoMutt 명령줄 이메일 클라이언트. +> 더 많은 정보: . + +- 지정된 메일박스 열기: + +`neomutt -f {{경로/대상/메일박스}}` + +- 이메일 작성 시작 및 제목과 `cc` 수신자 지정: + +`neomutt -s "{{제목}}" -c {{cc@example.com}} {{recipient@example.com}}` + +- 첨부 파일과 함께 이메일 보내기: + +`neomutt -a {{경로/대상/파일1 경로/대상/파일2 ...}} -- {{recipient@example.com}}` + +- 메시지 본문으로 포함할 파일 지정: + +`neomutt -i {{경로/대상/파일}} {{recipient@example.com}}` + +- RFC 5322 형식의 헤더와 본문이 포함된 초안 파일 지정: + +`neomutt -H {{경로/대상/파일}} {{recipient@example.com}}` diff --git a/pages.ko/common/neotoppm.md b/pages.ko/common/neotoppm.md new file mode 100644 index 00000000000000..1ed039add6f841 --- /dev/null +++ b/pages.ko/common/neotoppm.md @@ -0,0 +1,12 @@ +# neotoppm + +> Atari Neochrome NEO 파일을 PPM 이미지로 변환. +> 더 많은 정보: . + +- Atari Neochrome NEO 파일을 입력으로 받아 PPM 이미지를 출력으로 생성: + +`neotoppm {{경로/대상/파일.neo}}` + +- 버전 표시: + +`neotoppm -version` diff --git a/pages.ko/common/nest.md b/pages.ko/common/nest.md new file mode 100644 index 00000000000000..3f77cec2dc70f4 --- /dev/null +++ b/pages.ko/common/nest.md @@ -0,0 +1,24 @@ +# nest + +> Nest 애플리케이션을 초기화하고 개발하며 유지 관리. +> 더 많은 정보: . + +- 설치된 Nest 버전에 대한 정보 표시: + +`nest info` + +- 동일한 이름의 디렉터리에 새 NestJS 프로젝트 생성: + +`nest new {{프로젝트_이름}}` + +- 특정 NestJS 프로젝트 빌드: + +`nest build {{프로젝트_이름}}` + +- 특정 NestJS 프로젝트 실행: + +`nest start {{프로젝트_이름}}` + +- 현재 NestJS 프로젝트에 라이브러리 추가: + +`nest add {{라이브러리_이름}}` diff --git a/pages.ko/common/netcat.md b/pages.ko/common/netcat.md new file mode 100644 index 00000000000000..a050245a215c52 --- /dev/null +++ b/pages.ko/common/netcat.md @@ -0,0 +1,7 @@ +# netcat + +> 이 명령은 `nc`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr nc` diff --git a/pages.ko/common/netdiscover.md b/pages.ko/common/netdiscover.md new file mode 100644 index 00000000000000..2b23e7d1ce7297 --- /dev/null +++ b/pages.ko/common/netdiscover.md @@ -0,0 +1,8 @@ +# netdiscover + +> 네트워크에서 활성 호스트를 찾기 위한 네트워크 스캐너. +> 더 많은 정보: . + +- 네트워크 인터페이스의 IP 범위를 스캔하여 활성 호스트 검색: + +`netdiscover -r {{172.16.6.0/23}} -i {{ens244}}` diff --git a/pages.ko/common/netlify.md b/pages.ko/common/netlify.md new file mode 100644 index 00000000000000..8fb27085259e40 --- /dev/null +++ b/pages.ko/common/netlify.md @@ -0,0 +1,20 @@ +# netlify + +> Netlify 플랫폼에 사이트를 배포하고 지속적 배포를 설정. +> 더 많은 정보: . + +- Netlify 계정에 로그인: + +`netlify login` + +- 디렉토리의 내용을 Netlify에 배포: + +`netlify deploy` + +- 새 사이트 또는 기존 사이트에 대해 지속적 배포 설정: + +`netlify init` + +- 로컬 개발 서버 시작: + +`netlify dev` diff --git a/pages.ko/common/netperf.md b/pages.ko/common/netperf.md new file mode 100644 index 00000000000000..2faa0066acd731 --- /dev/null +++ b/pages.ko/common/netperf.md @@ -0,0 +1,21 @@ +# netperf + +> 네트워크 처리량을 측정하는 벤치마킹 애플리케이션 `netperf`의 클라이언트 측 명령어. `iperf`와 유사합니다. +> 같이 보기: 서버 측 명령어 `netserver`. +> 더 많은 정보: . + +- 기본 포트(12865)를 통해 특정 IP 주소의 서버에 연결: + +`netperf {{주소}}` + +- [p]ort 지정: + +`netperf {{주소}} -p {{포트}}` + +- 샘플링 [l]ength를 초 단위로 지정 (기본값은 10초): + +`netperf {{주소}} -l {{초}}` + +- IPv[4] 또는 IPv[6] 강제 사용: + +`netperf {{주소}} -{{4|6}}` diff --git a/pages.ko/common/netserver.md b/pages.ko/common/netserver.md new file mode 100644 index 00000000000000..9e43c68ac33b9c --- /dev/null +++ b/pages.ko/common/netserver.md @@ -0,0 +1,21 @@ +# netserver + +> 네트워크 처리량을 측정하는 벤치마킹 애플리케이션 `netperf`의 서버 측 명령. +> 같이 보기: `netperf`, 클라이언트 측 명령. +> 더 많은 정보: . + +- 기본 포트(12865)에서 서버 시작 및 백그라운드로 포크: + +`netserver` + +- 포그라운드에서 서버 시작 및 포크하지 않음: + +`netserver -D` + +- 포트 지정: + +`netserver -p {{포트}}` + +- IPv[4] 또는 IPv[6] 강제 설정: + +`netserver -{{4|6}}` diff --git a/pages.ko/common/netstat.md b/pages.ko/common/netstat.md new file mode 100644 index 00000000000000..b0a321cb95dbb5 --- /dev/null +++ b/pages.ko/common/netstat.md @@ -0,0 +1,33 @@ +# netstat + +> 네트워크 관련 정보(열려 있는 연결, 소켓 포트 등) 표시. +> 같이 보기: `ss`. +> 더 많은 정보: . + +- 모든 포트 나열: + +`netstat --all` + +- 수신 대기 중인 모든 포트 나열: + +`netstat --listening` + +- 수신 대기 중인 TCP 포트 나열: + +`netstat --tcp` + +- PID 및 프로그램 이름 표시: + +`netstat --program` + +- 정보를 지속적으로 나열: + +`netstat --continuous` + +- 경로를 나열하고 IP 주소를 호스트 이름으로 변환하지 않음: + +`netstat --route --numeric` + +- 수신 대기 중인 TCP 및 UDP 포트 나열 (+ 루트 권한일 경우 사용자 및 프로세스 표시): + +`netstat --listening --program --numeric --tcp --udp --extend` diff --git a/pages.ko/common/nettacker.md b/pages.ko/common/nettacker.md new file mode 100644 index 00000000000000..05c11611e73753 --- /dev/null +++ b/pages.ko/common/nettacker.md @@ -0,0 +1,20 @@ +# nettacker + +> 정보 수집 자동화, 취약점 스캔 및 보고서 생성. +> 더 많은 정보: . + +- 사용 가능한 모든 모듈 나열: + +`nettacker --show-all-modules` + +- 대상에 포트 스캔 실행: + +`nettacker {{[-m|--modules]}} port_scan {{[-i|--targets]}} {{192.168.0.1/24,owasp.org,scanme.org,...}}` + +- 특정 포트 및 파일에 나열된 대상에 포트 스캔 실행 (줄바꿈으로 구분): + +`nettacker {{[-m|--modules]}} port_scan {{[-g|--ports]}} {{22,80,443,...}} {{-l|--targets-list}} {{경로/대상/targets.txt}}` + +- 스캔 전 핑 테스트를 실행한 후 대상에 여러 스캔 유형 실행: + +`nettacker --ping-before-scan {{[-m|--modules]}} {{port_scan,subdomain_scan,waf_scan,...}} {{[-g|--ports]}} {{80,443}} {{[-i|--targets]}} {{owasp.org}}` diff --git a/pages.ko/common/newman.md b/pages.ko/common/newman.md new file mode 100644 index 00000000000000..13a44ea57123b8 --- /dev/null +++ b/pages.ko/common/newman.md @@ -0,0 +1,12 @@ +# newman + +> Postman의 컬렉션 실행 도구. +> 더 많은 정보: . + +- 컬렉션 실행 (파일에서): + +`newman run {{경로/대상/collection.json}}` + +- 컬렉션 실행 (URL에서): + +`newman run {{https://www.getpostman.com/collections/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65-JsLv}}` diff --git a/pages.ko/common/newsboat.md b/pages.ko/common/newsboat.md new file mode 100644 index 00000000000000..147943a66e7d09 --- /dev/null +++ b/pages.ko/common/newsboat.md @@ -0,0 +1,24 @@ +# newsboat + +> 텍스트 터미널용 RSS/Atom 피드 리더. +> 더 많은 정보: . + +- OPML 파일에서 피드 URL을 처음으로 가져오기: + +`newsboat -i {{내-피드.xml}}` + +- 또는 피드를 수동으로 추가: + +`echo {{http://example.com/path/to/feed}} >> "${HOME}/.newsboat/urls"` + +- Newsboat을 시작하고 시작 시 모든 피드를 새로 고침: + +`newsboat -r` + +- 비대화형 모드에서 하나 이상의 명령 실행: + +`newsboat -x {{reload print-unread ...}}` + +- 키보드 단축키 보기 (가장 관련 있는 것은 상태 줄에 표시됨): + +`` diff --git a/pages.ko/common/next.md b/pages.ko/common/next.md new file mode 100644 index 00000000000000..c4f3924c6ed17e --- /dev/null +++ b/pages.ko/common/next.md @@ -0,0 +1,36 @@ +# next + +> 서버사이드 렌더링을 사용하여 최적화된 웹 애플리케이션을 구축하는 React 프레임워크. +> 더 많은 정보: . + +- 현재 애플리케이션을 개발 모드로 시작: + +`next dev` + +- 현재 애플리케이션을 특정 포트에서 시작: + +`next dev {{[-p|--port]}} {{포트}}` + +- 프로덕션에 맞게 최적화된 애플리케이션 빌드: + +`next build` + +- 컴파일된 애플리케이션을 프로덕션 모드로 시작: + +`next start` + +- 컴파일된 애플리케이션을 특정 포트에서 시작: + +`next start {{[-p|--port]}} {{포트}}` + +- 현재 애플리케이션을 정적 HTML 페이지로 내보내기: + +`next export` + +- Next.js 텔레메트리 상태 표시: + +`next telemetry` + +- 하위 명령에 대한 도움말 표시: + +`next {{build|dev|export|start|telemetry}} {{[-h|--help]}}` diff --git a/pages.ko/common/nextclade.md b/pages.ko/common/nextclade.md new file mode 100644 index 00000000000000..54a04bf99aca39 --- /dev/null +++ b/pages.ko/common/nextclade.md @@ -0,0 +1,32 @@ +# nextclade + +> 바이러스 유전체 정렬, 계통 할당 및 품질 검사를 위한 생물정보학 도구. +> 더 많은 정보: . + +- 사용자 제공 [r]eference에 시퀀스를 정렬하고, 정렬 결과를 파일로 출력: + +`nextclade run {{경로/대상/시퀀스.fa}} -r {{경로/대상/레퍼런스.fa}} -o {{경로/대상/정렬결과.fa}}` + +- 최신 [d]ataset을 자동으로 다운로드하여 [t]SV 보고서 생성: + +`nextclade run {{경로/대상/fasta}} -d {{데이터셋_이름}} -t {{경로/대상/보고서.tsv}}` + +- 사용 가능한 모든 데이터셋 나열: + +`nextclade dataset list` + +- 최신 SARS-CoV-2 데이터셋 다운로드: + +`nextclade dataset get --name sars-cov-2 --output-dir {{경로/대상/폴더}}` + +- 다운로드한 [D]ataset을 사용하여 모든 [O]utputs 생성: + +`nextclade run -D {{경로/대상/데이터셋_폴더}} -O {{경로/대상/출력_폴더}} {{경로/대상/시퀀스.fasta}}` + +- 여러 파일에서 실행: + +`nextclade run -d {{데이터셋_이름}} -t {{경로/대상/출력_tsv}} -- {{경로/대상/입력_fasta_1 경로/대상/입력_fasta_2 ...}}` + +- 시퀀스가 정렬되지 않을 경우 역상보 시도: + +`nextclade run --retry-reverse-complement -d {{데이터셋_이름}} -t {{경로/대상/출력_tsv}} {{경로/대상/입력_fasta}}` diff --git a/pages.ko/common/nextflow.md b/pages.ko/common/nextflow.md new file mode 100644 index 00000000000000..01c60527484c8e --- /dev/null +++ b/pages.ko/common/nextflow.md @@ -0,0 +1,36 @@ +# nextflow + +> 계산 파이프라인 실행. 주로 생물정보학 워크플로우에 사용됩니다. +> 더 많은 정보: . + +- 파이프라인 실행, 이전 실행의 캐시된 결과 사용: + +`nextflow run {{main.nf}} -resume` + +- GitHub에서 원격 워크플로우의 특정 릴리스 실행: + +`nextflow run {{사용자/저장소}} -revision {{릴리스_태그}}` + +- 중간 파일을 위한 작업 디렉토리를 지정하고 실행 보고서 저장: + +`nextflow run {{워크플로우}} -work-dir {{경로/대상/폴더}} -with-report {{보고서.html}}` + +- 현재 디렉토리에서 이전 실행의 세부 정보 표시: + +`nextflow log` + +- 특정 실행의 캐시 및 중간 파일 제거: + +`nextflow clean -force {{실행_이름}}` + +- 다운로드된 모든 프로젝트 나열: + +`nextflow list` + +- Bitbucket에서 원격 워크플로우의 최신 버전 가져오기: + +`nextflow pull {{사용자/저장소}} -hub bitbucket` + +- Nextflow 업데이트: + +`nextflow self-update` diff --git a/pages.ko/common/nf-core.md b/pages.ko/common/nf-core.md new file mode 100644 index 00000000000000..38a3e1b7ab3463 --- /dev/null +++ b/pages.ko/common/nf-core.md @@ -0,0 +1,28 @@ +# nf-core + +> Nextflow의 모범 사례 지침을 생성, 검사 및 개발하기 위한 nf-core 프레임워크 도구. +> 더 많은 정보: . + +- nf-core에서 기존 파이프라인 나열: + +`nf-core list` + +- 새 파이프라인 스켈레톤 생성: + +`nf-core create` + +- 파이프라인 코드 린트: + +`nf-core lint {{경로/대상/폴더}}` + +- 파이프라인 레시피의 소프트웨어 버전 업그레이드: + +`nf-core bump-version {{경로/대상/폴더}} {{새_버전}}` + +- nf-core 파이프라인 실행: + +`nf-core launch {{파이프라인_이름}}` + +- 오프라인 사용을 위한 nf-core 파이프라인 다운로드: + +`nf-core download {{파이프라인_이름}}` diff --git a/pages.ko/common/ng.md b/pages.ko/common/ng.md new file mode 100644 index 00000000000000..d7f789058d75ff --- /dev/null +++ b/pages.ko/common/ng.md @@ -0,0 +1,36 @@ +# ng + +> Angular 애플리케이션 생성 및 관리 도구. +> 더 많은 정보: . + +- 디렉토리 내에 새로운 Angular 애플리케이션 생성: + +`ng new {{프로젝트_이름}}` + +- 애플리케이션에 새 컴포넌트 추가: + +`ng generate component {{컴포넌트_이름}}` + +- 애플리케이션에 새 클래스 추가: + +`ng generate class {{클래스_이름}}` + +- 애플리케이션에 새 디렉티브 추가: + +`ng generate directive {{디렉티브_이름}}` + +- 루트 디렉토리에서 애플리케이션 실행: + +`ng serve` + +- 애플리케이션 빌드: + +`ng build` + +- 유닛 테스트 실행: + +`ng test` + +- 현재 Angular 설치 버전 표시: + +`ng version` diff --git a/pages.ko/common/nginx.md b/pages.ko/common/nginx.md new file mode 100644 index 00000000000000..e7281e8d0bb6ff --- /dev/null +++ b/pages.ko/common/nginx.md @@ -0,0 +1,24 @@ +# nginx + +> Nginx 웹 서버. +> 더 많은 정보: . + +- 기본 설정 파일로 서버 시작: + +`nginx` + +- 사용자 정의 설정 파일로 서버 시작: + +`nginx -c {{설정_파일}}` + +- 설정 파일 내 모든 상대 경로에 접두사를 붙여 서버 시작: + +`nginx -c {{설정_파일}} -p {{접두사/대상/상대/경로}}` + +- 실행 중인 서버에 영향을 주지 않고 설정 테스트: + +`nginx -t` + +- 서버 중단 없이 설정 다시 로드: + +`nginx -s reload` diff --git a/pages.ko/common/ngrep.md b/pages.ko/common/ngrep.md new file mode 100644 index 00000000000000..13c7dee9452005 --- /dev/null +++ b/pages.ko/common/ngrep.md @@ -0,0 +1,24 @@ +# ngrep + +> 정규식을 사용하여 네트워크 트래픽 패킷을 필터링. +> 더 많은 정보: . + +- 모든 인터페이스의 트래픽 캡처: + +`ngrep -d any` + +- 특정 인터페이스의 트래픽 캡처: + +`ngrep -d {{eth0}}` + +- 인터페이스 eth0의 포트 22를 지나는 트래픽 캡처: + +`ngrep -d {{eth0}} port {{22}}` + +- 특정 호스트로부터 또는 특정 호스트로 가는 트래픽 캡처: + +`ngrep host {{www.example.com}}` + +- 인터페이스 eth0의 'User-Agent:' 키워드 필터링: + +`ngrep -d {{eth0}} '{{User-Agent:}}'` diff --git a/pages.ko/common/ngrok.md b/pages.ko/common/ngrok.md new file mode 100644 index 00000000000000..909d0acd12d705 --- /dev/null +++ b/pages.ko/common/ngrok.md @@ -0,0 +1,24 @@ +# ngrok + +> 로컬에서 실행 중인 웹 서비스에 공용 엔드포인트로부터 안전한 터널을 생성하는 리버스 프록시. +> 더 많은 정보: . + +- 지정된 포트로 로컬 HTTP 서비스 노출: + +`ngrok http {{80}}` + +- 특정 호스트에서 로컬 HTTP 서비스 노출: + +`ngrok http {{foo.dev}}:{{80}}` + +- 로컬 HTTPS 서버 노출: + +`ngrok http https://localhost` + +- 지정된 포트로 TCP 트래픽 노출: + +`ngrok tcp {{22}}` + +- 특정 호스트 및 포트를 위한 TLS 트래픽 노출: + +`ngrok tls -hostname={{foo.com}} {{443}}` diff --git a/pages.ko/common/ngs.md b/pages.ko/common/ngs.md new file mode 100644 index 00000000000000..085d6176dfebde --- /dev/null +++ b/pages.ko/common/ngs.md @@ -0,0 +1,16 @@ +# ngs + +> Ops를 위해 특별히 만들어진 스크립트 언어. +> 더 많은 정보: . + +- 코드 스니펫 실행: + +`ngs -e "{{echo('ngs is executed')}}"` + +- 스크립트 실행: + +`ngs {{경로/대상/스크립트.ngs}}` + +- 버전 표시: + +`ngs --version` diff --git a/pages.ko/common/nice.md b/pages.ko/common/nice.md new file mode 100644 index 00000000000000..62f356e21cdaf9 --- /dev/null +++ b/pages.ko/common/nice.md @@ -0,0 +1,13 @@ +# nice + +> 프로그램을 사용자 정의 스케줄링 우선순위(친화도)로 실행. +> 친화도 값은 -20(가장 높은 우선순위)에서 19(가장 낮은 우선순위)까지 범위. +> 더 많은 정보: . + +- 변경된 우선순위로 프로그램 실행: + +`nice -{{친화도_값}} {{명령어}}` + +- 명시적 옵션으로 우선순위 정의: + +`nice {{[-n|--adjustment]}} {{친화도_값}} {{명령어}}` diff --git a/pages.ko/common/nikto.md b/pages.ko/common/nikto.md new file mode 100644 index 00000000000000..edae46c23888aa --- /dev/null +++ b/pages.ko/common/nikto.md @@ -0,0 +1,24 @@ +# nikto + +> 웹 서버에 대해 여러 항목에 대한 테스트를 수행하는 웹 서버 스캐너. +> 더 많은 정보: . + +- 대상 호스트에 대해 기본 Nikto 스캔 수행: + +`perl nikto.pl -h {{192.168.0.1}}` + +- 기본 스캔을 수행할 때 포트 번호 지정: + +`perl nikto.pl -h {{192.168.0.1}} -p {{443}}` + +- 전체 URL 구문을 사용하여 포트 및 프로토콜 스캔: + +`perl nikto.pl -h {{https://192.168.0.1:443/}}` + +- 동일한 스캔 세션에서 여러 포트 스캔: + +`perl nikto.pl -h {{192.168.0.1}} -p {{80,88,443}}` + +- 최신 플러그인 및 데이터베이스로 업데이트: + +`perl nikto.pl -update` diff --git a/pages.ko/common/nim.md b/pages.ko/common/nim.md new file mode 100644 index 00000000000000..5b0e5a94ed5664 --- /dev/null +++ b/pages.ko/common/nim.md @@ -0,0 +1,29 @@ +# nim + +> Nim 컴파일러. +> Nim 언어 소스 파일을 처리, 컴파일 및 링크합니다. +> 더 많은 정보: . + +- 소스 파일 컴파일: + +`nim compile {{경로/대상/파일.nim}}` + +- 소스 파일 컴파일 및 실행: + +`nim compile -r {{경로/대상/파일.nim}}` + +- 릴리스 최적화가 활성화된 상태로 소스 파일 컴파일: + +`nim compile -d:release {{경로/대상/파일.nim}}` + +- 파일 크기 최적화가 적용된 릴리스 바이너리 빌드: + +`nim compile -d:release --opt:size {{경로/대상/파일.nim}}` + +- 모듈에 대한 HTML 문서 생성 (출력은 현재 디렉토리에 저장됨): + +`nim doc {{경로/대상/파일.nim}}` + +- 파일의 문법 및 의미 체계 검사: + +`nim check {{경로/대상/파일.nim}}` diff --git a/pages.ko/common/nimble.md b/pages.ko/common/nimble.md new file mode 100644 index 00000000000000..ba735a4dbf327a --- /dev/null +++ b/pages.ko/common/nimble.md @@ -0,0 +1,29 @@ +# nimble + +> Nim 프로그래밍 언어를 위한 패키지 관리자. +> Nim 프로젝트 및 그 의존성을 관리. +> 더 많은 정보: . + +- 패키지 검색: + +`nimble search {{검색_문자열}}` + +- 패키지 설치: + +`nimble install {{패키지}}` + +- 설치된 패키지 나열: + +`nimble list -i` + +- 현재 디렉토리에 새로운 Nimble 패키지 생성: + +`nimble init` + +- Nimble 패키지 빌드: + +`nimble build` + +- Nimble 패키지 설치: + +`nimble install` diff --git a/pages.ko/common/ninja.md b/pages.ko/common/ninja.md new file mode 100644 index 00000000000000..d766f98c8dc54c --- /dev/null +++ b/pages.ko/common/ninja.md @@ -0,0 +1,24 @@ +# ninja + +> 빠른 빌드를 위해 설계된 빌드 시스템. +> 더 많은 정보: . + +- 현재 디렉토리에서 빌드: + +`ninja` + +- 현재 디렉토리에서 빌드하고, 동시에 4개의 작업을 병렬로 실행: + +`ninja -j {{4}}` + +- 주어진 디렉토리에서 프로그램 빌드: + +`ninja -C {{경로/대상/폴더}}` + +- 대상 표시 (예: `install` 및 `uninstall`): + +`ninja -t targets` + +- 도움말 표시: + +`ninja -h` diff --git a/pages.ko/common/nix-build.2.md b/pages.ko/common/nix-build.2.md new file mode 100644 index 00000000000000..0cd8359cd4c6e8 --- /dev/null +++ b/pages.ko/common/nix-build.2.md @@ -0,0 +1,13 @@ +# nix-build + +> Nix 표현식을 빌드. +> 같이 보기: `nix build.3`. +> 더 많은 정보: . + +- Nix 표현식 빌드: + +`nix-build '' {{[-A|--attr]}} {{firefox}}` + +- 샌드박스된 Nix 표현식 빌드 (NixOS가 아닌 경우): + +`nix-build '' {{[-A|--attr]}} {{firefox}} --option sandbox true` diff --git a/pages.ko/common/nix-build.3.md b/pages.ko/common/nix-build.3.md new file mode 100644 index 00000000000000..59fae4fe5714f9 --- /dev/null +++ b/pages.ko/common/nix-build.3.md @@ -0,0 +1,21 @@ +# nix build + +> Nix 표현식을 빌드합니다 (가능할 경우 캐시에서 다운로드). +> 같이 보기: 전통적인 Nix 표현식 빌드에 대한 `nix-build`, flakes에 대한 정보는 `nix flake`. +> 더 많은 정보: . + +- nixpkgs에서 패키지를 빌드하고 결과를 `./result`에 심볼릭 링크: + +`nix build {{nixpkgs#pkg}}` + +- 현재 디렉토리의 flake에서 패키지를 빌드하고 빌드 로그를 표시: + +`nix build -L {{.#pkg}}` + +- 특정 디렉토리의 flake에서 기본 패키지 빌드: + +`nix build {{./경로/대상/폴더}}` + +- `result` 심볼릭 링크를 생성하지 않고 패키지를 빌드하며 대신 저장소 경로를 `stdout`에 출력: + +`nix build --no-link --print-out-paths` diff --git a/pages.ko/common/nix-build.md b/pages.ko/common/nix-build.md new file mode 100644 index 00000000000000..badaf3a34485bb --- /dev/null +++ b/pages.ko/common/nix-build.md @@ -0,0 +1,11 @@ +# nix-build + +> `nix-build`는 같은 이름의 여러 명령을 참조할 수 있습니다. + +- 기존 빌더에 대한 문서를 참조하세요: + +`tldr nix-build.2` + +- nix3 빌더에 대한 문서 보기: + +`tldr nix build.3` diff --git a/pages.ko/common/nix-classic.md b/pages.ko/common/nix-classic.md new file mode 100644 index 00000000000000..466b23007c6332 --- /dev/null +++ b/pages.ko/common/nix-classic.md @@ -0,0 +1,29 @@ +# nix classic + +> 안정적이고 강력한 패키지 관리자를 위한 클래식하고 안정적인 인터페이스로, 패키지 관리를 신뢰성 있고 재현 가능하며 선언적으로 만듭니다. +> `nix-build`, `nix-shell`, `nix-env`, `nix-store`와 같은 일부 Nix 명령에는 자체 페이지가 있습니다. 같이 보기: `tldr nix`. +> 더 많은 정보: . + +- nixpkgs에서 이름으로 패키지 검색: + +`nix-env -qaP {{검색_용어_정규식}}` + +- 지정된 패키지를 사용 가능한 상태로 쉘 시작: + +`nix-shell -p {{패키지1 패키지2 패키지3...}}` + +- 일부 패키지를 영구적으로 설치: + +`nix-env -iA {{nixpkgs.패키지1 nixpkgs.패키지2...}}` + +- 저장소 경로(패키지)의 모든 종속성을 트리 형식으로 표시: + +`nix-store --query --tree {{/nix/store/...}}` + +- 채널(저장소) 업데이트: + +`nix-channel --update` + +- Nix 저장소에서 사용하지 않는 경로 제거: + +`nix-collect-garbage` diff --git a/pages.ko/common/nix-collect-garbage.md b/pages.ko/common/nix-collect-garbage.md new file mode 100644 index 00000000000000..1c0a55a3bedc4d --- /dev/null +++ b/pages.ko/common/nix-collect-garbage.md @@ -0,0 +1,17 @@ +# nix-collect-garbage + +> 사용되지 않거나 접근할 수 없는 nix 저장소 경로 삭제. +> 세대는 `nix-env --list-generations` 명령어로 나열할 수 있습니다. +> 더 많은 정보: . + +- 각 프로필의 현재 세대에서 사용되지 않는 모든 저장소 경로 삭제: + +`nix-collect-garbage --delete-old` + +- 오래된 저장소 경로 삭제 시뮬레이션: + +`nix-collect-garbage --delete-old --dry-run` + +- 30일보다 오래된 모든 저장소 경로 삭제: + +`nix-collect-garbage --delete-older-than 30d` diff --git a/pages.ko/common/nix-develop.md b/pages.ko/common/nix-develop.md new file mode 100644 index 00000000000000..9f0b98cf1581cd --- /dev/null +++ b/pages.ko/common/nix-develop.md @@ -0,0 +1,16 @@ +# nix develop + +> 파생물의 빌드 환경을 제공하는 Bash 셸 실행. +> 더 많은 정보: . + +- nixpkgs의 모든 {{패키지}} 종속성을 사용하여 셸 시작: + +`nix develop {{nixpkgs#pkg}}` + +- 현재 디렉토리의 플레이크에 있는 기본 패키지에 대한 개발 셸 시작: + +`nix develop` + +- 해당 셸에서 소스 구성 및 빌드: + +`configurePhase; buildPhase` diff --git a/pages.ko/common/nix-edit.md b/pages.ko/common/nix-edit.md new file mode 100644 index 00000000000000..acefc5192dfc33 --- /dev/null +++ b/pages.ko/common/nix-edit.md @@ -0,0 +1,12 @@ +# nix edit + +> Nix 패키지의 Nix 표현을 $EDITOR에서 엽니다. +> 더 많은 정보: . + +- nixpkgs에서 패키지의 Nix 표현 소스를 `$EDITOR`에서 열기: + +`nix edit {{nixpkgs#패키지}}` + +- 패키지의 소스를 `stdout`으로 덤프: + +`EDITOR=cat nix edit {{nixpkgs#패키지}}` diff --git a/pages.ko/common/nix-env.md b/pages.ko/common/nix-env.md new file mode 100644 index 00000000000000..2c8cfe32c9dd3e --- /dev/null +++ b/pages.ko/common/nix-env.md @@ -0,0 +1,36 @@ +# nix-env + +> Nix 사용자 환경을 조작하거나 조회합니다. +> 더 많은 정보: . + +- 설치된 모든 패키지 나열: + +`nix-env -q` + +- 설치된 패키지 조회: + +`nix-env -q {{검색어}}` + +- 사용 가능한 패키지 조회: + +`nix-env -qa {{검색어}}` + +- 패키지 설치: + +`nix-env -iA nixpkgs.{{패키지_이름}}` + +- URL에서 패키지 설치: + +`nix-env -i {{패키지_이름}} --file {{example.com}}` + +- 패키지 제거: + +`nix-env -e {{패키지_이름}}` + +- 특정 패키지 업그레이드: + +`nix-env -u {{패키지_이름}}` + +- 모든 패키지 업그레이드: + +`nix-env -u` diff --git a/pages.ko/common/nix-flake.md b/pages.ko/common/nix-flake.md new file mode 100644 index 00000000000000..0ce61a0044e566 --- /dev/null +++ b/pages.ko/common/nix-flake.md @@ -0,0 +1,24 @@ +# nix flake + +> Nix 플레이크 관리. +> 더 많은 정보: . + +- 현재 디렉토리에서 기본 템플릿으로 새로운 플레이크(`flake.nix` 파일만) 생성: + +`nix flake init` + +- 현재 디렉토리의 플레이크의 모든 입력(의존성) 업데이트: + +`nix flake update` + +- 현재 디렉토리의 플레이크의 특정 입력(의존성) 업데이트: + +`nix flake update {{입력}}` + +- GitHub에 있는 플레이크의 모든 출력 표시: + +`nix flake show {{github:소유자/레포}}` + +- 도움말 표시: + +`nix flake --help` diff --git a/pages.ko/common/nix-profile.md b/pages.ko/common/nix-profile.md new file mode 100644 index 00000000000000..2a54f2c629304b --- /dev/null +++ b/pages.ko/common/nix-profile.md @@ -0,0 +1,28 @@ +# nix profile + +> Nix 프로필에서 패키지를 설치, 업데이트 및 제거. +> 더 많은 정보: . + +- 기본 프로필에 nixpkgs에서 일부 패키지 설치: + +`nix profile install {{nixpkgs#패키지1 nixpkgs#패키지2 ...}}` + +- GitHub의 플레이크에서 패키지를 사용자 지정 프로필에 설치: + +`nix profile install {{github:소유자/레포/패키지}} --profile {{./경로/대상/폴더}}` + +- 기본 프로필에 현재 설치된 패키지 나열: + +`nix profile list` + +- 기본 프로필에서 nixpkgs로 설치된 패키지를 이름으로 제거: + +`nix profile remove {{레거시패키지.x86_64-linux.pkg}}` + +- 기본 프로필의 패키지를 최신 버전으로 업그레이드: + +`nix profile upgrade` + +- 기본 프로필에서 최신 작업 롤백(취소): + +`nix profile rollback` diff --git a/pages.ko/common/nix-registry.md b/pages.ko/common/nix-registry.md new file mode 100644 index 00000000000000..84368e0f86a8c4 --- /dev/null +++ b/pages.ko/common/nix-registry.md @@ -0,0 +1,25 @@ +# nix registry + +> Nix 플레이크 레지스트리를 관리. +> 같이 보기: 플레이크에 대한 정보는 `nix flake`. +> 더 많은 정보: . + +- `nixpkgs` 리비전을 업스트림 저장소의 현재 버전으로 고정: + +`nix registry pin {{nixpkgs}}` + +- GitHub 저장소의 최신 버전 브랜치 또는 특정 리비전으로 항목 고정: + +`nix registry pin {{항목}} {{github:소유자/레포/브랜치_또는_리비전}}` + +- GitHub 저장소의 최신 버전을 항상 가리키며 자동으로 업데이트되는 새 항목 추가: + +`nix registry add {{항목}} {{github:소유자/레포}}` + +- 레지스트리 항목 제거: + +`nix registry remove {{항목}}` + +- Nix 플레이크 레지스트리가 무엇인지에 대한 문서 보기: + +`nix registry --help` diff --git a/pages.ko/common/nix-repl.md b/pages.ko/common/nix-repl.md new file mode 100644 index 00000000000000..d5a4d41b1ad105 --- /dev/null +++ b/pages.ko/common/nix-repl.md @@ -0,0 +1,25 @@ +# nix repl + +> Nix 표현식을 평가하기 위한 대화형 환경 시작. +> Nix 표현식 언어에 대한 설명은 을 참고하세요. +> 더 많은 정보: . + +- Nix 표현식을 평가하기 위한 대화형 환경 시작: + +`nix repl` + +- 플레이크(예: `nixpkgs`)의 모든 패키지를 스코프로 불러오기: + +`:lf {{nixpkgs}}` + +- 표현식에서 패키지 빌드: + +`:b {{표현식}}` + +- 표현식에서 패키지를 사용할 수 있는 셸 시작: + +`:u {{표현식}}` + +- 표현식에서 패키지의 종속성을 사용할 수 있는 셸 시작: + +`:s {{표현식}}` diff --git a/pages.ko/common/nix-run.md b/pages.ko/common/nix-run.md new file mode 100644 index 00000000000000..4587273d84018b --- /dev/null +++ b/pages.ko/common/nix-run.md @@ -0,0 +1,33 @@ +# nix run + +> Nix 플레이크에서 애플리케이션 실행. +> 같이 보기: 플레이크에 대한 정보는 `nix flake`. +> 더 많은 정보: . + +- 현재 디렉토리의 플레이크에서 기본 애플리케이션 실행: + +`nix run` + +- nixpkgs에서 패키지 이름과 일치하는 명령 실행 (해당 패키지의 다른 명령을 원하면 `tldr nix3 shell` 참조): + +`nix run nixpkgs#{{패키지}}` + +- 제공된 인수와 함께 명령 실행: + +`nix run nixpkgs#{{vim}} -- {{경로/대상/파일}}` + +- 원격 저장소에서 실행: + +`nix run {{원격_이름}}:{{소유자}}/{{레포}}` + +- 특정 태그, 리비전 또는 브랜치를 사용하여 원격 저장소에서 실행: + +`nix run {{원격_이름}}:{{소유자}}/{{레포}}/{{참조}}` + +- 하위 디렉토리와 프로그램을 지정하여 원격 저장소에서 실행: + +`nix run "{{원격_이름}}:{{소유자}}/{{레포}}?dir={{디렉토리_이름}}#{{앱}}"` + +- GitHub 풀 리퀘스트의 플레이크 실행: + +`nix run github:{{소유자}}/{{레포}}/pull/{{번호}}/head` diff --git a/pages.ko/common/nix-search.md b/pages.ko/common/nix-search.md new file mode 100644 index 00000000000000..a84325e9af8a90 --- /dev/null +++ b/pages.ko/common/nix-search.md @@ -0,0 +1,17 @@ +# nix search + +> Nix 플레이크에서 패키지를 검색. +> 같이 보기: 플레이크에 대한 정보는 `nix flake`. +> 더 많은 정보: . + +- `nixpkgs`에서 이름이나 설명을 기반으로 패키지 검색: + +`nix search {{nixpkgs}} {{검색_어구...}}` + +- nixpkgs에서 패키지 설명 표시: + +`nix search {{nixpkgs#패키지}}` + +- github에서 플레이크로부터 사용할 수 있는 모든 패키지 표시: + +`nix search {{github:소유자/레포}}` diff --git a/pages.ko/common/nix-shell.2.md b/pages.ko/common/nix-shell.2.md new file mode 100644 index 00000000000000..7edd6d08f33a40 --- /dev/null +++ b/pages.ko/common/nix-shell.2.md @@ -0,0 +1,29 @@ +# nix-shell + +> Nix 표현을 기반으로 대화형 셸 시작. +> 같이 보기: `nix shell.3`. +> 더 많은 정보: . + +- 현재 디렉터리의 `shell.nix` 또는 `default.nix`의 nix 표현으로 시작: + +`nix-shell` + +- 비대화형 셸에서 셸 명령 실행 후 종료: + +`nix-shell --run "{{명령어}} {{인수1 인수2 ...}}"` + +- 현재 디렉터리의 `default.nix`의 표현으로 시작: + +`nix-shell {{default.nix}}` + +- nixpkgs에서 로드된 패키지로 시작: + +`nix-shell {{[-p|--packages]}} {{패키지1 패키지2 ...}}` + +- 특정 nixpkgs 리비전에서 로드된 패키지로 시작: + +`nix-shell {{[-p|--packages]}} {{패키지1 패키지2 ...}} {{[-I|--include]}} nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}` + +- 특정 인터프리터에서 파일의 나머지를 평가하여 `#!-scripts`에서 사용 (자세한 내용은 참고): + +`nix-shell -i {{인터프리터}} {{[-p|--packages]}} {{패키지1 패키지2 ...}}` diff --git a/pages.ko/common/nix-shell.3.md b/pages.ko/common/nix-shell.3.md new file mode 100644 index 00000000000000..adc813d6f542a2 --- /dev/null +++ b/pages.ko/common/nix-shell.3.md @@ -0,0 +1,25 @@ +# nix shell + +> 지정된 패키지가 사용 가능한 셸 시작. +> 같이 보기: 개발 환경 설정을 위한 `nix-shell`, 플레이크에 대한 정보를 위한 `nix flake`. +> 더 많은 정보: . + +- `nixpkgs`의 일부 패키지와 함께 대화형 셸 시작: + +`nix shell {{nixpkgs#pkg1 nixpkgs#packageSet.pkg2 ...}}` + +- `nixpkgs`의 이전 버전(21.05)에서 제공하는 패키지로 셸 시작: + +`nix shell {{nixpkgs/nixos-21.05#pkg}}` + +- 현재 디렉터리의 플레이크에서 "기본 패키지"와 함께 셸 시작, 빌드가 발생하면 빌드 로그 출력: + +`nix shell -L` + +- GitHub의 플레이크에서 패키지와 함께 셸 시작: + +`nix shell {{github:소유자/레포#pkg}}` + +- 패키지와 함께 셸에서 명령 실행: + +`nix shell {{nixpkgs#pkg}} -c {{아무개_셸 --아무개_플래그 '다른 아무개 인수들'}}` diff --git a/pages.ko/common/nix-shell.md b/pages.ko/common/nix-shell.md new file mode 100644 index 00000000000000..6bc5340eb48c33 --- /dev/null +++ b/pages.ko/common/nix-shell.md @@ -0,0 +1,11 @@ +# nix-shell + +> `nix-shell`은 같은 이름의 여러 명령을 참조할 수 있습니다. + +- 기존 셸에 대한 문서를 참조하세요: + +`tldr nix-shell.2` + +- nix3 셸에 대한 문서 보기: + +`tldr nix shell.3` diff --git a/pages.ko/common/nix-store.2.md b/pages.ko/common/nix-store.2.md new file mode 100644 index 00000000000000..7e912cb5b854e3 --- /dev/null +++ b/pages.ko/common/nix-store.2.md @@ -0,0 +1,29 @@ +# nix-store + +> Nix 저장소를 조작하거나 쿼리. +> 같이 보기: `nix store`. +> 더 많은 정보: . + +- 사용하지 않는 경로를 제거하는 등의 쓰레기 수집: + +`nix-store --gc` + +- 동일한 파일을 하드 링크로 연결하여 공간 사용량 줄이기: + +`nix-store --optimise` + +- 특정 저장소 경로 삭제 (사용 중이지 않아야 함): + +`nix-store --delete {{/nix/store/...}}` + +- 저장소 경로(패키지)의 모든 의존성을 트리 형식으로 표시: + +`nix-store {{[-q|--query]}} --tree {{/nix/store/...}}` + +- 특정 저장소 경로와 모든 의존성의 총 크기 계산: + +`du {{[-cLsh|--total --dereference --summarize --human-readable]}} $(nix-store {{[-q|--query]}} --references {{/nix/store/...}})` + +- 특정 저장소 경로에 대한 모든 종속 항목 표시: + +`nix-store {{[-q|--query]}} --referrers {{/nix/store/...}}` diff --git a/pages.ko/common/nix-store.3.md b/pages.ko/common/nix-store.3.md new file mode 100644 index 00000000000000..d86f75efd61d6d --- /dev/null +++ b/pages.ko/common/nix-store.3.md @@ -0,0 +1,25 @@ +# nix store + +> Nix 저장소를 조작. +> 같이 보기: `nix-store`. +> 더 많은 정보: . + +- 가비지 수집을 통해 공간 사용량 줄이기 위해 사용되지 않는 경로 제거: + +`nix store gc` + +- 동일한 파일을 하드링크하여 공간 사용량 줄이기: + +`nix store optimise` + +- 특정 저장소 경로 삭제 (사용되지 않아야 함): + +`nix store delete {{/nix/store/...}}` + +- 원격 저장소의 경로 내용을 나열: + +`nix store --store {{https://cache.nixos.org}} ls {{/nix/store/...}}` + +- 두 저장소 경로 간의 버전 차이와 해당 종속성 표시: + +`nix store diff-closures {{/nix/store/...}} {{/nix/store/...}}` diff --git a/pages.ko/common/nix-store.md b/pages.ko/common/nix-store.md new file mode 100644 index 00000000000000..0503475181d5a2 --- /dev/null +++ b/pages.ko/common/nix-store.md @@ -0,0 +1,11 @@ +# nix-store + +> `nix-store`는 같은 이름의 여러 명령을 참조할 수 있습니다. + +- 기존 스토어에 대한 설명서를 참조하세요: + +`tldr nix-store.2` + +- nix3 스토어에 대한 문서 보기: + +`tldr nix store.3` diff --git a/pages.ko/common/nix-why-depends.md b/pages.ko/common/nix-why-depends.md new file mode 100644 index 00000000000000..97677c118ef00d --- /dev/null +++ b/pages.ko/common/nix-why-depends.md @@ -0,0 +1,12 @@ +# nix why-depends + +> 패키지가 다른 패키지에 의존하는 이유를 보여줍니다. +> 더 많은 정보: . + +- 현재 실행 중인 NixOS 시스템이 특정 저장소 경로를 요구하는 이유를 표시: + +`nix why-depends {{/run/현재_시스템}} {{/nix/store/...}}` + +- nixpkgs의 패키지가 다른 패키지를 _빌드 타임_ 의존성으로 요구하는 이유를 표시: + +`nix why-depends --derivation {{nixpkgs#의존자}} {{nixpkgs#의존성}}` diff --git a/pages.ko/common/nix.md b/pages.ko/common/nix.md new file mode 100644 index 00000000000000..3f1d7db160d6c2 --- /dev/null +++ b/pages.ko/common/nix.md @@ -0,0 +1,34 @@ +# nix + +> 패키지 관리를 신뢰성 있고, 재현 가능하며, 선언적으로 만드는 강력한 패키지 관리자. +> `nix`는 실험적이며 실험적 기능 사용을 활성화해야 합니다. 안정적인 인터페이스를 원하면 `tldr nix classic`을 참조하세요. +> `build`, `develop`, `flake`, `registry`, `profile`, `search`, `repl`, `store`, `edit`, `why-depends` 등의 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- `nix` 명령 활성화: + +`mkdir {{[-p|--parents]}} ~/.config/nix; echo 'experimental-features = nix-command flakes' > ~/.config/nix/nix.conf` + +- nixpkgs에서 이름이나 설명으로 패키지 검색: + +`nix search nixpkgs {{검색어}}` + +- nixpkgs에서 지정한 패키지가 사용 가능한 셸 시작: + +`nix shell {{nixpkgs#패키지1 nixpkgs#패키지2 nixpkgs#패키지3 ...}}` + +- nixpkgs에서 일부 패키지를 영구적으로 설치: + +`nix profile install {{nixpkgs#패키지1 nixpkgs#패키지2 nixpkgs#패키지3 ...}}` + +- Nix 저장소에서 사용하지 않는 경로 제거하여 공간 확보: + +`nix store gc` + +- Nix 표현식을 평가하기 위한 대화형 환경 시작: + +`nix repl` + +- 특정 하위 명령에 대한 도움말 표시: + +`nix help {{하위_명령}}` diff --git a/pages.ko/common/nixpkgs-review.md b/pages.ko/common/nixpkgs-review.md new file mode 100644 index 00000000000000..1cc906e10f0354 --- /dev/null +++ b/pages.ko/common/nixpkgs-review.md @@ -0,0 +1,29 @@ +# nixpkgs-review + +> NixOS 패키지 저장소(nixpkgs)에서 풀 리퀘스트를 검토. +> 빌드가 성공하면, 모든 빌드된 패키지를 포함한 `nix-shell`이 시작됩니다. +> 더 많은 정보: . + +- 지정된 풀 리퀘스트에서 변경된 패키지 빌드: + +`nixpkgs-review pr {{pr_번호|pr_url}}` + +- 변경된 패키지를 빌드하고 보고서와 함께 댓글 게시 (`hub`, `gh` 또는 `GITHUB_TOKEN` 환경 변수를 설정해야 함): + +`nixpkgs-review pr --post-result {{pr_번호|pr_url}}` + +- 변경된 패키지를 빌드하고 보고서 출력: + +`nixpkgs-review pr --print-result {{pr_번호|pr_url}}` + +- 로컬 커밋에서 변경된 패키지 빌드: + +`nixpkgs-review rev {{HEAD}}` + +- 아직 커밋되지 않은 변경된 패키지 빌드: + +`nixpkgs-review wip` + +- 스테이징된 변경된 패키지 빌드: + +`nixpkgs-review wip --staged` diff --git a/pages.ko/common/nkf.md b/pages.ko/common/nkf.md new file mode 100644 index 00000000000000..23fb52cfb6f872 --- /dev/null +++ b/pages.ko/common/nkf.md @@ -0,0 +1,28 @@ +# nkf + +> 네트워크 한자 필터: 한자 코드를 하나의 인코딩에서 다른 인코딩으로 변환. +> 더 많은 정보: . + +- UTF-8 인코딩으로 변환: + +`nkf -w {{경로/대상/파일.txt}}` + +- SHIFT_JIS 인코딩으로 변환: + +`nkf -s {{경로/대상/파일.txt}}` + +- UTF-8 인코딩으로 변환하고 파일 덮어쓰기: + +`nkf -w --overwrite {{경로/대상/파일.txt}}` + +- LF를 새 줄 코드로 사용하고 덮어쓰기 (UNIX 타입): + +`nkf -d --overwrite {{경로/대상/파일.txt}}` + +- CRLF를 새 줄 코드로 사용하고 덮어쓰기 (Windows 타입): + +`nkf -c --overwrite {{경로/대상/파일.txt}}` + +- MIME 파일을 해독하고 덮어쓰기: + +`nkf -m --overwrite {{경로/대상/파일.txt}}` diff --git a/pages.ko/common/nl.md b/pages.ko/common/nl.md new file mode 100644 index 00000000000000..6befc359e99afe --- /dev/null +++ b/pages.ko/common/nl.md @@ -0,0 +1,36 @@ +# nl + +> 파일 또는 `stdin`에서 각 행에 번호를 매깁니다. +> 더 많은 정보: . + +- 파일에서 빈 줄이 아닌 행에 번호 매기기: + +`nl {{경로/대상/파일}}` + +- `stdin`에서 읽기: + +`{{명령어}} | nl -` + +- 빈 줄을 포함한 [a]ll [b]ody 행에 번호를 매기거나 [n]ot [b]ody 행에 번호를 매기지 않음: + +`nl -b {{a|n}} {{경로/대상/파일}}` + +- 기본 정규 표현식(BRE) [p]attern과 일치하는 [b]ody 행에만 번호 매기기: + +`nl -b p'FooBar[0-9]' {{경로/대상/파일}}` + +- 특정 [i]ncrement로 행 번호 매기기: + +`nl -i {{증가량}} {{경로/대상/파일}}` + +- 행 번호 형식을 [r]ight 또는 [l]eft로 정렬하고 선행 [z]eros를 유지하거나 [n]ot: + +`nl -n {{rz|ln|rn}}` + +- 행 번호의 [w]idth 지정 (기본값은 6): + +`nl -w {{열_너비}} {{경로/대상/파일}}` + +- 행 번호와 행 사이를 구분하기 위한 특정 문자열 사용 (기본값은 TAB): + +`nl -s {{구분자}} {{경로/대상/파일}}` diff --git a/pages.ko/common/nload.md b/pages.ko/common/nload.md new file mode 100644 index 00000000000000..187623050a8cad --- /dev/null +++ b/pages.ko/common/nload.md @@ -0,0 +1,12 @@ +# nload + +> 터미널에서 네트워크 사용량을 시각화. +> 더 많은 정보: . + +- 모든 네트워크 트래픽 보기 (``를 사용하여 인터페이스 전환): + +`nload` + +- 특정 인터페이스의 네트워크 트래픽 보기 (``를 사용하여 인터페이스 전환): + +`nload devices {{인터페이스_하나}} {{인터페이스_둘}}` diff --git a/pages.ko/common/nm-classic.md b/pages.ko/common/nm-classic.md new file mode 100644 index 00000000000000..10e580e40d6089 --- /dev/null +++ b/pages.ko/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> 이 명령은 `nm` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr nm` diff --git a/pages.ko/common/nm.md b/pages.ko/common/nm.md new file mode 100644 index 00000000000000..760605672f2bec --- /dev/null +++ b/pages.ko/common/nm.md @@ -0,0 +1,20 @@ +# nm + +> 오브젝트 파일에서 심볼 이름을 나열합니다. +> 더 많은 정보: . + +- 파일에서 전역(외부) 함수 나열 (T로 시작): + +`nm -g {{경로/대상/파일.o}}` + +- 파일에서 정의되지 않은 심볼만 나열: + +`nm -u {{경로/대상/파일.o}}` + +- 디버깅 심볼까지 모든 심볼 나열: + +`nm -a {{경로/대상/파일.o}}` + +- C++ 심볼을 디망글 (읽기 쉽게 변환): + +`nm --demangle {{경로/대상/파일.o}}` diff --git a/pages.ko/common/nmap.md b/pages.ko/common/nmap.md new file mode 100644 index 00000000000000..3e6222214a1bd3 --- /dev/null +++ b/pages.ko/common/nmap.md @@ -0,0 +1,37 @@ +# nmap + +> 네트워크 탐색 도구 및 보안/포트 스캐너. +> 일부 기능(예: SYN 스캔)은 `nmap`을 루트 권한으로 실행할 때만 활성화됩니다. +> 더 많은 정보: . + +- 원격 호스트의 상위 1000개 포트를 다양한 [v]erbosity 수준으로 스캔: + +`nmap -v{{1|2|3}} {{IP_주소_또는_호스트명}}` + +- 매우 공격적으로 전체 서브넷 또는 개별 호스트에 핑 스위프 실행: + +`nmap -T5 -sn {{192.168.0.0/24|IP_주소_또는_호스트명1,IP_주소_또는_호스트명2,...}}` + +- 파일에 있는 호스트에 대해 OS 감지, 버전 감지, 스크립트 스캔 및 트레이서우트 활성화: + +`sudo nmap -A -iL {{경로/대상/파일.txt}}` + +- 특정 포트 목록 스캔 (1부터 65535까지 모든 포트를 스캔하려면 `-p-` 사용): + +`nmap -p {{포트1,포트2,...}} {{IP_주소_또는_호스트명1,IP_주소_또는_호스트명2,...}}` + +- 기본 NSE 스크립트를 사용하여 상위 1000개 포트의 서비스 및 버전 감지 수행 후 결과를 (`-oA`) 출력 파일에 저장: + +`nmap -sC -sV -oA {{top-1000-ports}} {{IP_주소_또는_호스트명1,IP_주소_또는_호스트명2,...}}` + +- `기본 및 안전` NSE 스크립트를 사용하여 대상 신중하게 스캔: + +`nmap --script "default and safe" {{IP_주소_또는_호스트명1,IP_주소_또는_호스트명2,...}}` + +- 표준 포트 80과 443에서 실행 중인 웹 서버를 모든 사용 가능한 `http-*` NSE 스크립트를 사용하여 스캔: + +`nmap --script "http-*" {{IP_주소_또는_호스트명1,IP_주소_또는_호스트명2,...}} -p 80,443` + +- 매우 느린 스캔 (`-T0`), 디코이 소스 주소 (`-D`), [f]ragmented 패킷, 랜덤 데이터 및 기타 방법을 사용하여 IDS/IPS 감지를 피하려고 시도: + +`sudo nmap -T0 -D {{디코이_IP1,디코이_IP2,...}} --source-port {{53}} -f --data-length {{16}} -Pn {{IP_주소_또는_호스트명}}` diff --git a/pages.ko/common/nmblookup.md b/pages.ko/common/nmblookup.md new file mode 100644 index 00000000000000..a367a44b369021 --- /dev/null +++ b/pages.ko/common/nmblookup.md @@ -0,0 +1,12 @@ +# nmblookup + +> SMB 공유를 검색. +> 더 많은 정보: . + +- 로컬 네트워크에서 SMB 공유가 있는 호스트 찾기: + +`nmblookup -S '*'` + +- SAMBA에 의해 실행되는 SMB 공유가 있는 로컬 네트워크의 호스트 찾기: + +`nmblookup --status __SAMBA__` diff --git a/pages.ko/common/nms.md b/pages.ko/common/nms.md new file mode 100644 index 00000000000000..24ea52debf9557 --- /dev/null +++ b/pages.ko/common/nms.md @@ -0,0 +1,20 @@ +# nms + +> 1992년 영화 Sneakers에서 볼 수 있는 유명한 데이터 해독 효과를 `stdin`에서 재현하는 명령줄 도구. +> 더 많은 정보: . + +- 키 입력 후 텍스트 해독: + +`echo "{{Hello, World!}}" | nms` + +- 키 입력을 기다리지 않고 즉시 출력 해독: + +`{{ls -la}} | nms -a` + +- 파일의 내용을 해독하고, 사용자 지정 출력 색상 사용: + +`cat {{경로/대상/파일}} | nms -a -f {{blue|white|yellow|black|magenta|green|red}}` + +- 해독하기 전에 화면 지우기: + +`{{명령어}} | nms -a -c` diff --git a/pages.ko/common/nnn.md b/pages.ko/common/nnn.md new file mode 100644 index 00000000000000..9e93baadafdb37 --- /dev/null +++ b/pages.ko/common/nnn.md @@ -0,0 +1,28 @@ +# nnn + +> 인터랙티브 터미널 파일 관리 및 디스크 사용량 분석기. +> 더 많은 정보: . + +- 현재 디렉토리 열기 (또는 첫 번째 인수로 지정된 디렉토리 열기): + +`nnn` + +- 상세 모드로 시작: + +`nnn -d` + +- 숨김 파일 표시: + +`nnn -H` + +- 기존 북마크 열기 (`NNN_BMS` 환경 변수에 정의됨): + +`nnn -b {{북마크_이름}}` + +- 파일을 [a]pparent 디스크 사용량 / [d]isk 사용량 / [e]xtension / [r]everse / [s]ize / [t]ime / [v]ersion 기준으로 정렬: + +`nnn -T {{a|d|e|r|s|t|v}}` + +- 선택한 파일 열기. 파일을 선택한 후 ``를 누르고 파일을 열 프로그램을 입력: + +`nnn -o` diff --git a/pages.ko/common/node.md b/pages.ko/common/node.md new file mode 100644 index 00000000000000..c8f82c35dda779 --- /dev/null +++ b/pages.ko/common/node.md @@ -0,0 +1,28 @@ +# node + +> 서버 측 JavaScript 플랫폼 (Node.js). +> 더 많은 정보: . + +- JavaScript 파일 실행: + +`node {{경로/대상/파일}}` + +- REPL(대화형 셸) 시작: + +`node` + +- 지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요): + +`node --watch {{경로/대상/파일}}` + +- 인수로 JavaScript 코드 평가: + +`node {{[-e|--eval]}} "{{코드}}"` + +- 결과 평가 및 출력, node의 종속성 버전을 출력하는 데 유용: + +`node {{[-p|--print]}} "process.versions"` + +- 인스펙터 활성화, 소스 코드가 완전히 구문 분석될 때까지 디버거가 연결될 때까지 실행 일시 중지: + +`node --no-lazy --inspect-brk {{경로/대상/파일}}` diff --git a/pages.ko/common/nodemon.md b/pages.ko/common/nodemon.md new file mode 100644 index 00000000000000..2c937e3ce31874 --- /dev/null +++ b/pages.ko/common/nodemon.md @@ -0,0 +1,32 @@ +# nodemon + +> 파일을 감시하고 변경 사항이 감지되면 Node 애플리케이션을 자동으로 재시작. +> 더 많은 정보: . + +- 지정된 파일을 실행하고 특정 파일의 변경 사항 감시: + +`nodemon {{경로/대상/파일.js}}` + +- 수동으로 nodemon 재시작(이 기능을 사용하려면 nodemon이 이미 활성 상태여야 함): + +`rs` + +- 특정 파일 무시: + +`nodemon --ignore {{경로/대상/파일_또는_폴더}}` + +- Node 애플리케이션에 인수 전달: + +`nodemon {{경로/대상/파일.js}} {{인수들}}` + +- nodemon 인수가 아닌 경우 Node 자체에 인수 전달(예: `--inspect`): + +`nodemon {{인수들}} {{경로/대상/파일.js}}` + +- 임의의 비-Node 스크립트 실행: + +`nodemon --exec "{{스크립트를_실행할_명령}} {{옵션들}}" {{경로/대상/스크립트}}` + +- Python 스크립트 실행: + +`nodemon --exec "python {{옵션들}}" {{경로/대상/파일.py}}` diff --git a/pages.ko/common/nodenv.md b/pages.ko/common/nodenv.md new file mode 100644 index 00000000000000..5dc4f7fd368fb2 --- /dev/null +++ b/pages.ko/common/nodenv.md @@ -0,0 +1,28 @@ +# nodenv + +> Node.js 버전을 관리. +> 더 많은 정보: . + +- 특정 버전의 Node.js 설치: + +`nodenv install {{버전}}` + +- 사용 가능한 버전 목록 표시: + +`nodenv install --list` + +- 시스템 전체에서 특정 버전의 Node.js 사용: + +`nodenv global {{버전}}` + +- 특정 디렉토리에서 특정 버전의 Node.js 사용: + +`nodenv local {{버전}}` + +- 현재 디렉토리에서 사용 중인 Node.js 버전 표시: + +`nodenv version` + +- 설치된 Node.js 명령의 위치 표시 (예: `npm`): + +`nodenv which {{명령}}` diff --git a/pages.ko/common/nohup.md b/pages.ko/common/nohup.md new file mode 100644 index 00000000000000..1272048bacf0f8 --- /dev/null +++ b/pages.ko/common/nohup.md @@ -0,0 +1,20 @@ +# nohup + +> 터미널이 종료되어도 프로세스가 계속 실행되도록 허용. +> 더 많은 정보: . + +- 터미널 종료 후에도 계속 실행되는 프로세스 시작: + +`nohup {{명령}} {{인수1 인수2 ...}}` + +- 백그라운드 모드에서 `nohup` 실행: + +`nohup {{명령}} {{인수1 인수2 ...}} &` + +- 터미널 종료 후에도 계속 실행되는 셸 스크립트 실행: + +`nohup {{경로/대상/스크립트.sh}} &` + +- 프로세스를 실행하고 출력을 특정 파일에 기록: + +`nohup {{명령}} {{인수1 인수2 ...}} > {{경로/대상/출력_파일}} &` diff --git a/pages.ko/common/nokogiri.md b/pages.ko/common/nokogiri.md new file mode 100644 index 00000000000000..abbfe62f30dbd0 --- /dev/null +++ b/pages.ko/common/nokogiri.md @@ -0,0 +1,24 @@ +# nokogiri + +> HTML, XML, SAX 및 Reader 파서. +> 더 많은 정보: . + +- URL 또는 파일의 내용을 파싱: + +`nokogiri {{url|경로/대상/파일}}` + +- 특정 타입으로 파싱: + +`nokogiri {{url|경로/대상/파일}} --type {{xml|html}}` + +- 파싱 전에 특정 초기화 파일 로드: + +`nokogiri {{url|경로/대상/파일}} -C {{경로/대상/설정_파일}}` + +- 특정 인코딩을 사용하여 파싱: + +`nokogiri {{url|경로/대상/파일}} {{[-E|--encoding]}} {{인코딩}}` + +- RELAX NG 파일을 사용하여 검증: + +`nokogiri {{url|경로/대상/파일}} --rng {{url|경로/대상/파일}}` diff --git a/pages.ko/common/nomad.md b/pages.ko/common/nomad.md new file mode 100644 index 00000000000000..d915d992220fa8 --- /dev/null +++ b/pages.ko/common/nomad.md @@ -0,0 +1,36 @@ +# nomad + +> 분산형, 고가용성, 데이터센터 인식 스케줄러. +> 더 많은 정보: . + +- 클러스터 내 노드의 상태 표시: + +`nomad node status` + +- 작업 파일 유효성 검사: + +`nomad job validate {{경로/대상/파일.nomad}}` + +- 클러스터에서 실행할 작업 계획: + +`nomad job plan {{경로/대상/파일.nomad}}` + +- 클러스터에서 작업 실행: + +`nomad job run {{경로/대상/파일.nomad}}` + +- 현재 클러스터에서 실행 중인 작업의 상태 표시: + +`nomad job status` + +- 특정 작업에 대한 상세 상태 정보 표시: + +`nomad job status {{작업_이름}}` + +- 특정 할당의 로그를 지속적으로 팔로우: + +`nomad alloc logs {{할당_id}}` + +- 스토리지 볼륨의 상태 표시: + +`nomad volume status` diff --git a/pages.ko/common/nop.md b/pages.ko/common/nop.md new file mode 100644 index 00000000000000..f35f744eb2521a --- /dev/null +++ b/pages.ko/common/nop.md @@ -0,0 +1,17 @@ +# nop + +> 그래프의 유효성을 검사하고 정규 형식으로 예쁘게 출력. +> Graphviz 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 그래프를 정규 형식으로 예쁘게 출력: + +`nop {{경로/대상/입력1.gv}} {{경로/대상/입력2.gv ...}} > {{경로/대상/출력.gv}}` + +- 하나 이상의 그래프 유효성 검사, 출력 그래프는 생성하지 않음: + +`nop -p {{경로/대상/입력1.gv}} {{경로/대상/입력2.gv ...}}` + +- 도움말 표시: + +`nop -?` diff --git a/pages.ko/common/noti.md b/pages.ko/common/noti.md new file mode 100644 index 00000000000000..54fb3b1229d396 --- /dev/null +++ b/pages.ko/common/noti.md @@ -0,0 +1,16 @@ +# noti + +> 프로세스를 모니터링하고 배너 알림을 트리거. +> 더 많은 정보: . + +- tar가 파일 압축을 완료하면 알림 표시: + +`noti {{tar -cjf example.tar.bz2 example/}}` + +- 감시할 명령어 뒤에 추가해도 알림 표시: + +`{{감시할_명령어}}; noti` + +- PID를 통해 프로세스를 모니터링하고 PID가 사라지면 알림 트리거: + +`noti -w {{프로세스_ID}}` diff --git a/pages.ko/common/notify-send.md b/pages.ko/common/notify-send.md new file mode 100644 index 00000000000000..b12e47276534eb --- /dev/null +++ b/pages.ko/common/notify-send.md @@ -0,0 +1,20 @@ +# notify-send + +> 현재 데스크톱 환경의 알림 시스템을 사용하여 알림을 생성합니다. +> 더 많은 정보: . + +- 제목 "Test"와 내용 "This is a test"로 알림 표시: + +`notify-send "{{Test}}" "{{This is a test}}"` + +- 사용자 지정 아이콘과 함께 알림 표시: + +`notify-send -i {{아이콘.png}} "{{테스트}}" "{{이것은 테스트입니다}}"` + +- 5초 동안 알림 표시: + +`notify-send -t 5000 "{{테스트}}" "{{이것은 테스트입니다}}"` + +- 앱의 아이콘과 이름으로 알림 표시: + +`notify-send "{{Test}}" --icon={{google-chrome}} --app-name="{{Google Chrome}}"` diff --git a/pages.ko/common/notmuch.md b/pages.ko/common/notmuch.md new file mode 100644 index 00000000000000..341bdb68d56e3b --- /dev/null +++ b/pages.ko/common/notmuch.md @@ -0,0 +1,32 @@ +# notmuch + +> 대량의 이메일 메시지를 색인화, 검색, 읽기 및 태깅하기 위한 명령줄 기반 프로그램. +> 더 많은 정보: . + +- 초기 사용을 위한 설정: + +`notmuch setup` + +- 검색어와 일치하는 모든 메시지에 태그 추가: + +`notmuch tag +{{사용자_정의_태그}} "{{검색_어구}}"` + +- 검색어와 일치하는 모든 메시지의 태그 제거: + +`notmuch tag -{{사용자_정의_태그}} "{{검색_어구}}"` + +- 주어진 검색어와 일치하는 메시지 수 세기: + +`notmuch count --output={{messages|threads}} "{{검색_어구}}"` + +- 주어진 검색어와 일치하는 메시지 검색: + +`notmuch search --format={{json|text}} --output={{summary|threads|messages|files|tags}} "{{검색_어구}}"` + +- 검색 결과를 X개로 제한: + +`notmuch search --format={{json|text}} --output={{summary|threads|messages|files|tags}} --limit={{X}} "{{검색_어구}}"` + +- 메시지 세트에 대한 회신 템플릿 생성: + +`notmuch reply --format={{default|headers-only}} --reply-to={{sender|all}} "{{검색_어구}}"` diff --git a/pages.ko/common/now.md b/pages.ko/common/now.md new file mode 100644 index 00000000000000..1663a378c9aad1 --- /dev/null +++ b/pages.ko/common/now.md @@ -0,0 +1,29 @@ +# now + +> 서버리스 배포를 위한 클라우드 플랫폼. +> 이 명령어는 더 이상 사용되지 않습니다. 이 도구의 업데이트된 버전인 `vercel`을 참조하세요. +> 더 많은 정보: . + +- 현재 디렉토리 배포: + +`now` + +- 배포 목록 표시: + +`now list` + +- 배포와 관련된 정보 표시: + +`now inspect {{배포_URL}}` + +- 배포 제거: + +`now remove {{배포_ID}}` + +- 계정에 로그인하거나 새 계정 생성: + +`now login` + +- 예제 프로젝트 초기화 (새 디렉토리가 생성됩니다): + +`now init` diff --git a/pages.ko/common/nping.md b/pages.ko/common/nping.md new file mode 100644 index 00000000000000..d493daa3504b18 --- /dev/null +++ b/pages.ko/common/nping.md @@ -0,0 +1,36 @@ +# nping + +> 네트워크 패킷 생성 도구/핑 유틸리티. +> 더 많은 정보: . + +- 사용자가 허용된 경우 ICMP를 사용하여 지정된 호스트에 핑, 그렇지 않으면 TCP 사용: + +`nping {{example.com}}` + +- 사용자가 허용된 경우 ICMP를 사용하여 지정된 호스트에 핑: + +`nping --icmp --privileged {{example.com}}` + +- UDP를 사용하여 지정된 호스트에 핑: + +`nping --udp {{example.com}}` + +- 지정된 포트에서 TCP를 사용하여 지정된 호스트에 핑: + +`nping --tcp --dest-port {{443}} {{example.com}}` + +- 특정 횟수만큼 핑: + +`nping --count {{10}} {{example.com}}` + +- 각 핑 사이에 일정 시간 대기: + +`nping --delay {{5s}} {{example.com}}` + +- 지정된 인터페이스를 통해 요청 전송: + +`nping --interface {{eth0}} {{example.com}}` + +- IP 범위에 핑: + +`nping {{10.0.0.1-10}}` diff --git a/pages.ko/common/npm-access.md b/pages.ko/common/npm-access.md new file mode 100644 index 00000000000000..7cd7cb53753172 --- /dev/null +++ b/pages.ko/common/npm-access.md @@ -0,0 +1,32 @@ +# npm access + +> 게시된 패키지에 대한 접근 수준 설정. +> 더 많은 정보: . + +- 사용자 또는 범위에 대한 패키지 나열: + +`npm access list packages {{사용자|범위|범위:팀}} {{패키지_이름}}` + +- 패키지의 공동 작업자 나열: + +`npm access list collaborators {{패키지_이름}} {{사용자_명}}` + +- 패키지 상태 확인: + +`npm access get status {{패키지_이름}}` + +- 패키지 상태 설정 (공개 또는 비공개): + +`npm access set status {{public|private}} {{패키지_이름}}` + +- 패키지에 대한 접근 권한 부여: + +`npm access grant {{read-only|read-write}} {{범위:팀}} {{패키지_이름}}` + +- 패키지에 대한 접근 권한 철회: + +`npm access revoke {{범위:팀}} {{패키지_이름}}` + +- 2단계 인증 요구 사항 구성: + +`npm access set mfa {{none|publish|automation}} {{패키지_이름}}` diff --git a/pages.ko/common/npm-adduser.md b/pages.ko/common/npm-adduser.md new file mode 100644 index 00000000000000..01aaae7bba5bbe --- /dev/null +++ b/pages.ko/common/npm-adduser.md @@ -0,0 +1,20 @@ +# npm adduser + +> 레지스트리 사용자 계정 추가. +> 더 많은 정보: . + +- 지정된 레지스트리에 새 사용자 생성하고 자격 증명을 `.npmrc`에 저장: + +`npm adduser --registry {{레지스트리_주소}}` + +- 특정 범위로 개인 레지스트리에 로그인: + +`npm login --scope {{@조직}} --registry {{https://registry.mycorp.com}}` + +- 특정 범위에서 로그아웃하고 인증 토큰 제거: + +`npm logout --scope {{@조직}}` + +- 초기화 중 범위가 지정된 패키지 생성: + +`npm init --scope {{@foo}} {{--yes}}` diff --git a/pages.ko/common/npm-audit.md b/pages.ko/common/npm-audit.md new file mode 100644 index 00000000000000..2637f800c027e7 --- /dev/null +++ b/pages.ko/common/npm-audit.md @@ -0,0 +1,33 @@ +# npm audit + +> 프로젝트 의존성에서 알려진 취약점을 스캔. +> 취약점을 보고하고 해결 방법을 제안. +> 더 많은 정보: . + +- 프로젝트의 의존성에서 알려진 취약점을 스캔: + +`npm audit` + +- 프로젝트의 의존성에서 취약점을 자동으로 수정: + +`npm audit fix` + +- 취약점을 가진 의존성을 강제로 자동 수정: + +`npm audit fix {{[-f|--force]}}` + +- `node_modules` 디렉터리를 수정하지 않고 lock 파일 업데이트: + +`npm audit fix --package-lock-only` + +- 시뮬레이션 실행. 실제로 변경하지 않고 수정 과정을 시뮬레이션: + +`npm audit fix --dry-run` + +- 감사 결과를 JSON 형식으로 출력: + +`npm audit --json` + +- 특정 심각도 이상의 취약점에서만 실패하도록 감사 구성: + +`npm audit --audit-level {{info|low|moderate|high|critical}}` diff --git a/pages.ko/common/npm-author.md b/pages.ko/common/npm-author.md new file mode 100644 index 00000000000000..838a61bcb096c5 --- /dev/null +++ b/pages.ko/common/npm-author.md @@ -0,0 +1,7 @@ +# npm author + +> 이 명령은 `npm owner`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr npm owner` diff --git a/pages.ko/common/npm-cache.md b/pages.ko/common/npm-cache.md new file mode 100644 index 00000000000000..97abab27896734 --- /dev/null +++ b/pages.ko/common/npm-cache.md @@ -0,0 +1,36 @@ +# npm cache + +> npm 패키지 캐시 관리. +> 더 많은 정보: . + +- 특정 패키지를 캐시에 추가: + +`npm cache add {{패키지_이름}}` + +- 특정 패키지를 캐시에서 제거: + +`npm cache remove {{패키지_이름}}` + +- 키를 사용하여 특정 캐시 항목 삭제: + +`npm cache clean {{키}}` + +- 전체 npm 캐시 삭제: + +`npm cache clean --force` + +- npm 캐시의 내용 나열: + +`npm cache ls` + +- npm 캐시의 무결성 확인: + +`npm cache verify` + +- npm 캐시 위치 및 구성 정보 표시: + +`npm cache dir` + +- 캐시 경로 변경: + +`npm config set cache {{경로/대상/폴더}}` diff --git a/pages.ko/common/npm-check.md b/pages.ko/common/npm-check.md new file mode 100644 index 00000000000000..9fcf548f4ddb1c --- /dev/null +++ b/pages.ko/common/npm-check.md @@ -0,0 +1,20 @@ +# npm check + +> 오래되고, 부정확하고, 사용되지 않는 npm 패키지 의존성을 확인하세요. +> 더 많은 정보: . + +- 오래되고, 부정확하고, 사용되지 않는 의존성에 대한 보고서 표시: + +`npm-check` + +- 오래된 패키지를 대화형으로 업데이트: + +`npm-check {{[-u|--update]}}` + +- 메시지를 표시하지 않고 모든 항목을 업데이트: + +`npm-check {{[-y|--update-all]}}` + +- 사용하지 않은 패키지를 확인하지 않음: + +`npm-check {{[-s|--skip-unused]}}` diff --git a/pages.ko/common/npm-dedupe.md b/pages.ko/common/npm-dedupe.md new file mode 100644 index 00000000000000..2057c74e26c6a0 --- /dev/null +++ b/pages.ko/common/npm-dedupe.md @@ -0,0 +1,28 @@ +# npm dedupe + +> `node_modules` 디렉토리에서 중복을 줄입니다. +> 더 많은 정보: . + +- `node_modules`의 패키지 중복 제거: + +`npm dedupe` + +- 중복 제거 시 `package-lock.json` 또는 `npm-shrinkwrap.json`을 따르기: + +`npm dedupe --lock` + +- 엄격 모드로 중복 제거 실행: + +`npm dedupe --strict` + +- 중복 제거 시 선택적/피어 의존성 건너뛰기: + +`npm dedupe --omit {{optional|peer}}` + +- 문제 해결을 위한 자세한 로깅 활성화: + +`npm dedupe --loglevel verbose` + +- 특정 패키지에 대해 중복 제거 제한: + +`npm dedupe {{패키지_이름}}` diff --git a/pages.ko/common/npm-doctor.md b/pages.ko/common/npm-doctor.md new file mode 100644 index 00000000000000..a039311c67d197 --- /dev/null +++ b/pages.ko/common/npm-doctor.md @@ -0,0 +1,24 @@ +# npm doctor + +> npm 환경의 상태를 점검. +> 더 많은 정보: . + +- `npm`의 기본 상태 점검 수행: + +`npm doctor` + +- `npm` 레지스트리와의 연결 점검: + +`npm doctor connection` + +- 사용 중인 Node.js 및 `npm` 버전 점검: + +`npm doctor versions` + +- `npm` 디렉토리와 캐시의 권한 문제 점검: + +`npm doctor permissions` + +- 캐시된 패키지 파일과 체크섬 검증: + +`npm doctor cache` diff --git a/pages.ko/common/npm-find-dupes.md b/pages.ko/common/npm-find-dupes.md new file mode 100644 index 00000000000000..c140e5156523b8 --- /dev/null +++ b/pages.ko/common/npm-find-dupes.md @@ -0,0 +1,36 @@ +# npm find-dupes + +> `node_modules`에서 중복된 의존성을 식별. +> 더 많은 정보: . + +- `node_modules` 내 모든 중복 패키지 나열: + +`npm find-dupes` + +- 중복 감지에 `devDependencies` 포함: + +`npm find-dupes --include dev` + +- `node-modules`에서 특정 패키지의 모든 중복 인스턴스 나열: + +`npm find-dupes {{패키지_이름}}` + +- 중복 감지에서 선택적 의존성 제외: + +`npm find-dupes --omit optional` + +- 출력의 로그 레벨 설정: + +`npm find-dupes --loglevel {{silent|error|warn|info|verbose}}` + +- 중복 정보를 JSON 형식으로 출력: + +`npm find-dupes --json` + +- 중복 검색을 특정 스코프로 제한: + +`npm find-dupes --scope {{@스코프1,@스코프2}}` + +- 특정 스코프를 중복 감지에서 제외: + +`npm find-dupes --omit-scope {{@스코프1,@스코프2}}` diff --git a/pages.ko/common/npm-fund.md b/pages.ko/common/npm-fund.md new file mode 100644 index 00000000000000..582f27d6e9d74f --- /dev/null +++ b/pages.ko/common/npm-fund.md @@ -0,0 +1,16 @@ +# npm fund + +> 패키지에서 자금 정보를 검색합니다. +> 더 많은 정보: . + +- 현재 폴더에 있는 프로젝트에 대한 자금 조달 URL로 의존성을 나열: + +`npm fund` + +- 기본 웹 브라우저에서 특정 패키지에 대한 자금 조달 URL 공개: + +`npm fund {{패키지}}` + +- 현재 폴더에 있는 프로젝트의 특정 작업 공간([w]orkspace)에 대한 자금 조달 URL을 사용하여 종속성을 나열: + +`npm fund {{[-w|--workspace]}} {{작업 공간}}` diff --git a/pages.ko/common/npm-home.md b/pages.ko/common/npm-home.md new file mode 100644 index 00000000000000..0c43dfe71b3f22 --- /dev/null +++ b/pages.ko/common/npm-home.md @@ -0,0 +1,16 @@ +# npm-home + +> 웹 브라우저에서 패키지의 npm 페이지, Yarn 페이지 또는 GitHub 저장소를 엽니다. +> 더 많은 정보: . + +- 특정 패키지의 `npm` 페이지를 웹 브라우저에서 열기: + +`npm-home {{패키지}}` + +- 특정 패키지의 GitHub 저장소를 웹 브라우저에서 열기: + +`npm-home {{[-g|--github]}} {{패키지}}` + +- 특정 패키지의 Yarn 페이지를 웹 브라우저에서 열기: + +`npm-home {{[-y|--yarn]}} {{패키지}}` diff --git a/pages.ko/common/npm-init.md b/pages.ko/common/npm-init.md new file mode 100644 index 00000000000000..3426d475385523 --- /dev/null +++ b/pages.ko/common/npm-init.md @@ -0,0 +1,16 @@ +# npm init + +> `package.json` 파일 생성. +> 더 많은 정보: . + +- 프롬프트를 사용하여 새 패키지 초기화: + +`npm init` + +- 기본값으로 새 패키지 초기화: + +`npm init {{[-y|--yes]}}` + +- 특정 초기화 도구를 사용하여 새 패키지 초기화: + +`npm init {{create-react-app}} {{my-app}}` diff --git a/pages.ko/common/npm-install.md b/pages.ko/common/npm-install.md new file mode 100644 index 00000000000000..9b155dda9bec44 --- /dev/null +++ b/pages.ko/common/npm-install.md @@ -0,0 +1,20 @@ +# npm install + +> Node 패키지 설치. +> 더 많은 정보: . + +- `package.json`에 나열된 의존성 설치: + +`npm install` + +- 특정 버전의 패키지를 다운로드하고 `package.json`의 의존성 목록에 추가: + +`npm install {{패키지_이름}}@{{버전}}` + +- 최신 버전의 패키지를 다운로드하고 `package.json`의 개발 의존성 목록에 추가: + +`npm install {{패키지_이름}} {{[-D|--save-dev]}}` + +- 최신 버전의 패키지를 다운로드하고 전역으로 설치: + +`npm install {{[-g|--global]}} {{패키지_이름}}` diff --git a/pages.ko/common/npm-name.md b/pages.ko/common/npm-name.md new file mode 100644 index 00000000000000..b0f9298966f40f --- /dev/null +++ b/pages.ko/common/npm-name.md @@ -0,0 +1,12 @@ +# npm name + +> npm에서 패키지 또는 조직 이름이 사용 가능한지 확인. +> 더 많은 정보: . + +- 특정 패키지 이름이 `npm` 레지스트리에서 사용 가능한지 확인: + +`npm-name {{패키지}}` + +- `npm` 레지스트리에서 유사한 패키지 이름 찾기: + +`npm-name --similar {{패키지}}` diff --git a/pages.ko/common/npm-org.md b/pages.ko/common/npm-org.md new file mode 100644 index 00000000000000..88292229601d50 --- /dev/null +++ b/pages.ko/common/npm-org.md @@ -0,0 +1,28 @@ +# npm org + +> 조직을 관리. +> 더 많은 정보: . + +- 조직에 새 사용자 추가: + +`npm org set {{조직_이름}} {{사용자명}}` + +- 조직 내 사용자의 역할 변경: + +`npm org set {{조직_이름}} {{사용자명}} {{developer|admin|owner}}` + +- 조직에서 사용자 제거: + +`npm org rm {{조직_이름}} {{사용자명}}` + +- 조직의 모든 사용자 나열: + +`npm org ls {{조직_이름}}` + +- 조직의 모든 사용자를 JSON 형식으로 나열: + +`npm org ls {{조직_이름}} --json` + +- 조직 내 사용자의 역할 표시: + +`npm org ls {{조직_이름}} {{사용자명}}` diff --git a/pages.ko/common/npm-outdated.md b/pages.ko/common/npm-outdated.md new file mode 100644 index 00000000000000..8b8791fa43bbca --- /dev/null +++ b/pages.ko/common/npm-outdated.md @@ -0,0 +1,12 @@ +# npm outdated + +> 오래된 npm 패키지 의존성을 확인. +> 더 많은 정보: . + +- 프로젝트에서 오래된 패키지 찾기: + +`npm outdated` + +- 현재 프로젝트와 상관없이 오래된 패키지 찾기: + +`npm outdated {{[-a|--all]}}` diff --git a/pages.ko/common/npm-owner.md b/pages.ko/common/npm-owner.md new file mode 100644 index 00000000000000..b4c8f80ff4b052 --- /dev/null +++ b/pages.ko/common/npm-owner.md @@ -0,0 +1,16 @@ +# npm owner + +> 게시된 패키지의 소유권 관리. +> 더 많은 정보: . + +- 새 사용자를 패키지의 관리자로 추가: + +`npm owner add {{사용자명}} {{패키지_이름}}` + +- 사용자를 패키지의 소유자 목록에서 제거: + +`npm owner rm {{사용자명}} {{패키지_이름}}` + +- 패키지의 모든 소유자 나열: + +`npm owner ls {{패키지_이름}}` diff --git a/pages.ko/common/npm-query.md b/pages.ko/common/npm-query.md new file mode 100644 index 00000000000000..c2e6c195234716 --- /dev/null +++ b/pages.ko/common/npm-query.md @@ -0,0 +1,32 @@ +# npm query + +> CSS와 유사한 선택자를 사용하여 의존성 객체 배열을 출력합니다. +> 더 많은 정보: . + +- 직접 의존성 출력: + +`npm query ':root > *'` + +- 모든 직접 프로덕션/개발 의존성을 출력: + +`npm query ':root > .{{prod|dev}}'` + +- 특정 이름으로 의존성 출력: + +`npm query '#{{패키지}}'` + +- 특정 이름과 시맨틱 버전 관리 범위 내에서 의존성을 출력: + +`npm query '#{{패키지}}@{{시멘틱 버전}}'` + +- 의존성이 없는 의존성을 출력: + +`npm query ':empty'` + +- 설치 후 스크립트로 모든 의존성을 찾아 제거: + +`npm query ":attr(scripts, [postinstall])" | jq 'map(.name) | join("\n")' {{[-r|--raw-output]}} | xargs -I _ npm uninstall _` + +- 모든 Git 종속성을 찾아 어떤 애플리케이션에 필요한지 출력: + +`npm query ":type(git)" | jq 'map(.name)' | xargs -I _ npm why _` diff --git a/pages.ko/common/npm-restart.md b/pages.ko/common/npm-restart.md new file mode 100644 index 00000000000000..37a965c4095bdd --- /dev/null +++ b/pages.ko/common/npm-restart.md @@ -0,0 +1,7 @@ +# npm restart + +> 이 명령은 `npm run restart`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr npm run` diff --git a/pages.ko/common/npm-root.md b/pages.ko/common/npm-root.md new file mode 100644 index 00000000000000..4ae04bc69ef7b3 --- /dev/null +++ b/pages.ko/common/npm-root.md @@ -0,0 +1,12 @@ +# npm root + +> `node_modules` 디렉토리 경로 표시. +> 더 많은 정보: . + +- 로컬 `node_modules` 디렉토리 경로 표시: + +`npm root` + +- 전역 `node_modules` 디렉토리 경로 표시: + +`npm root --global` diff --git a/pages.ko/common/npm-run-script.md b/pages.ko/common/npm-run-script.md new file mode 100644 index 00000000000000..4333376fa3829a --- /dev/null +++ b/pages.ko/common/npm-run-script.md @@ -0,0 +1,7 @@ +# npm run-script + +> 이 명령은 `npm run`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr npm run` diff --git a/pages.ko/common/npm-run.md b/pages.ko/common/npm-run.md new file mode 100644 index 00000000000000..a816be443c6eb5 --- /dev/null +++ b/pages.ko/common/npm-run.md @@ -0,0 +1,28 @@ +# npm run + +> 스크립트 실행. +> 더 많은 정보: . + +- 스크립트 실행: + +`npm run {{스크립트_이름}}` + +- 스크립트에 인수 전달: + +`npm run {{스크립트_이름}} -- {{인수}} {{--옵션}}` + +- `start`라는 이름의 스크립트 실행: + +`npm start` + +- `stop`이라는 이름의 스크립트 실행: + +`npm stop` + +- `restart`라는 이름의 스크립트 실행: + +`npm restart` + +- `test`라는 이름의 스크립트 실행: + +`npm test` diff --git a/pages.ko/common/npm-search.md b/pages.ko/common/npm-search.md new file mode 100644 index 00000000000000..a37ce01232137e --- /dev/null +++ b/pages.ko/common/npm-search.md @@ -0,0 +1,28 @@ +# npm search + +> `npm` 레지스트리에서 패키지를 검색. +> 더 많은 정보: . + +- 이름으로 패키지 검색: + +`npm search {{패키지}}` + +- 특정 키워드로 패키지 검색: + +`npm search {{키워드}}` + +- 패키지 검색 시 상세 정보 포함 (예: 설명, 작성자, 버전): + +`npm search {{패키지}} --long` + +- 특정 작성자가 관리하는 패키지 검색: + +`npm search --author {{작성자}}` + +- 특정 조직의 패키지 검색: + +`npm search --scope {{조직}}` + +- 특정 조합의 용어로 패키지 검색: + +`npm search {{용어1 용어2 ...}}` diff --git a/pages.ko/common/npm-star.md b/pages.ko/common/npm-star.md new file mode 100644 index 00000000000000..38f90814d0ccc9 --- /dev/null +++ b/pages.ko/common/npm-star.md @@ -0,0 +1,36 @@ +# npm star + +> 패키지를 즐겨찾기로 표시. +> 더 많은 정보: . + +- 기본 레지스트리에서 공개 패키지 즐겨찾기: + +`npm star {{패키지_이름}}` + +- 특정 스코프 내의 패키지 즐겨찾기: + +`npm star @{{스코프}}/{{패키지_이름}}` + +- 특정 레지스트리에서 패키지 즐겨찾기: + +`npm star {{패키지_이름}} --registry {{레지스트리_URL}}` + +- 인증이 필요한 비공개 패키지 즐겨찾기: + +`npm star {{패키지_이름}} --auth-type {{legacy|oauth|web|saml}}` + +- 2단계 인증을 위한 OTP를 제공하여 패키지 즐겨찾기: + +`npm star {{패키지_이름}} --otp {{OTP}}` + +- 자세한 로그와 함께 패키지 즐겨찾기: + +`npm star {{패키지_이름}} --loglevel verbose` + +- 즐겨찾기한 모든 패키지 나열: + +`npm star --list` + +- 특정 레지스트리에서 즐겨찾기한 패키지 나열: + +`npm star --list --registry {{레지스트리_URL}}` diff --git a/pages.ko/common/npm-start.md b/pages.ko/common/npm-start.md new file mode 100644 index 00000000000000..1b29d164093b6d --- /dev/null +++ b/pages.ko/common/npm-start.md @@ -0,0 +1,7 @@ +# npm start + +> 이 명령은 `npm run start`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr npm run` diff --git a/pages.ko/common/npm-stop.md b/pages.ko/common/npm-stop.md new file mode 100644 index 00000000000000..d1c165091b4294 --- /dev/null +++ b/pages.ko/common/npm-stop.md @@ -0,0 +1,7 @@ +# npm stop + +> 이 명령은 `npm run stop`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr npm run` diff --git a/pages.ko/common/npm-team.md b/pages.ko/common/npm-team.md new file mode 100644 index 00000000000000..10e537daa62902 --- /dev/null +++ b/pages.ko/common/npm-team.md @@ -0,0 +1,28 @@ +# npm team + +> `npm` 레지스트리에서 조직 내 팀을 관리. +> 더 많은 정보: . + +- 조직 내 팀에 사용자 추가: + +`npm team add {{조직:팀}} {{사용자_명}}` + +- 팀에서 사용자 제거: + +`npm team rm {{조직:팀}} {{사용자_명}}` + +- 조직 내 새 팀 생성: + +`npm team create {{조직:팀}}` + +- 조직에서 팀 삭제: + +`npm team destroy {{조직:팀}}` + +- 조직 내 모든 팀 나열: + +`npm team ls {{조직}}` + +- 특정 팀의 모든 사용자 나열: + +`npm team ls {{조직:팀}}` diff --git a/pages.ko/common/npm-test.md b/pages.ko/common/npm-test.md new file mode 100644 index 00000000000000..8888f35c748246 --- /dev/null +++ b/pages.ko/common/npm-test.md @@ -0,0 +1,7 @@ +# npm test + +> 이 명령은 `npm run test`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr npm run` diff --git a/pages.ko/common/npm-token.md b/pages.ko/common/npm-token.md new file mode 100644 index 00000000000000..a14422b1ac6deb --- /dev/null +++ b/pages.ko/common/npm-token.md @@ -0,0 +1,32 @@ +# npm token + +> npm 레지스트리를 위한 인증 토큰을 관리하고 생성. +> 더 많은 정보: . + +- 새 인증 토큰 생성: + +`npm token create` + +- 계정과 연결된 모든 토큰 나열: + +`npm token list` + +- 특정 토큰 ID를 사용하여 토큰 삭제: + +`npm token revoke {{토큰_id}}` + +- 읽기 전용 액세스 권한을 가진 토큰 생성: + +`npm token create --read-only` + +- 게시 액세스 권한을 가진 토큰 생성: + +`npm token create --publish` + +- 로그인 시 글로벌 `.npmrc` 파일에 npm 토큰 자동 구성: + +`npm login` + +- 글로벌 구성에서 토큰 제거: + +`npm token revoke {{토큰_id}}` diff --git a/pages.ko/common/npm-uninstall.md b/pages.ko/common/npm-uninstall.md new file mode 100644 index 00000000000000..5f742a5f237959 --- /dev/null +++ b/pages.ko/common/npm-uninstall.md @@ -0,0 +1,16 @@ +# npm uninstall + +> 패키지 제거. +> 더 많은 정보: . + +- 현재 프로젝트에서 패키지 제거: + +`npm uninstall {{패키지_이름}}` + +- 전역에서 패키지 제거: + +`npm uninstall -g {{패키지_이름}}` + +- 여러 패키지를 한 번에 제거: + +`npm uninstall {{패키지_이름1 패키지_이름2 ...}}` diff --git a/pages.ko/common/npm-unpublish.md b/pages.ko/common/npm-unpublish.md new file mode 100644 index 00000000000000..5edbf6cc49a4ca --- /dev/null +++ b/pages.ko/common/npm-unpublish.md @@ -0,0 +1,24 @@ +# npm unpublish + +> npm 레지스트리에서 패키지를 제거. +> 더 많은 정보: . + +- 특정 패키지 버전 언퍼블리시: + +`npm unpublish {{패키지_이름}}@{{버전}}` + +- 전체 패키지 언퍼블리시: + +`npm unpublish {{패키지_이름}} --force` + +- 스코프가 있는 패키지 언퍼블리시: + +`npm unpublish @{{스코프}}/{{패키지_이름}}` + +- 언퍼블리시 전 타임아웃 기간 지정: + +`npm unpublish {{패키지_이름}} --timeout {{밀리초_시간}}` + +- 실수로 언퍼블리시하는 것을 방지하려면 `--dry-run` 플래그를 사용하여 무엇이 언퍼블리시될지를 확인: + +`npm unpublish {{패키지_이름}} --dry-run` diff --git a/pages.ko/common/npm-unstar.md b/pages.ko/common/npm-unstar.md new file mode 100644 index 00000000000000..c68e3a8f6ff9b7 --- /dev/null +++ b/pages.ko/common/npm-unstar.md @@ -0,0 +1,28 @@ +# npm unstar + +> 패키지에서 즐겨찾기/별표 표시를 제거. +> 더 많은 정보: . + +- 기본 레지스트리에서 공개 패키지의 별표 제거: + +`npm unstar {{패키지_이름}}` + +- 특정 범위 내의 패키지의 별표 제거: + +`npm unstar @{{범위}}/{{패키지_이름}}` + +- 특정 레지스트리에서 패키지의 별표 제거: + +`npm unstar {{패키지_이름}} --registry {{레지스트리_URL}}` + +- 인증이 필요한 비공개 패키지의 별표 제거: + +`npm unstar {{패키지_이름}} --auth-type {{legacy|oauth|web|saml}}` + +- 이중 인증을 위한 OTP를 제공하여 패키지의 별표 제거: + +`npm unstar {{패키지_이름}} --otp {{OTP}}` + +- 특정 로깅 수준으로 패키지의 별표 제거: + +`npm unstar {{패키지_이름}} --loglevel {{silent|error|warn|notice|http|timing|info|verbose|silly}}` diff --git a/pages.ko/common/npm-update.md b/pages.ko/common/npm-update.md new file mode 100644 index 00000000000000..87384c9a9f449f --- /dev/null +++ b/pages.ko/common/npm-update.md @@ -0,0 +1,20 @@ +# npm update + +> 현재 프로젝트의 패키지를 업데이트. +> 더 많은 정보: . + +- 현재 프로젝트의 모든 패키지 업데이트: + +`npm update` + +- 현재 프로젝트의 특정 패키지 업데이트: + +`npm update {{패키지}}` + +- 전역으로 패키지 업데이트: + +`npm update -g {{패키지}}` + +- 여러 패키지를 한 번에 업데이트: + +`npm update {{패키지1 패키지2 ...}}` diff --git a/pages.ko/common/npm-version.md b/pages.ko/common/npm-version.md new file mode 100644 index 00000000000000..84d5deb9caee83 --- /dev/null +++ b/pages.ko/common/npm-version.md @@ -0,0 +1,24 @@ +# npm version + +> Node 패키지의 버전을 증가시킵니다. +> 더 많은 정보: . + +- 현재 버전 확인: + +`npm version` + +- 마이너 버전 증가: + +`npm version minor` + +- 특정 버전 설정: + +`npm version {{버전}}` + +- Git 태그를 생성하지 않고 패치 버전 증가: + +`npm version patch --no-git-tag-version` + +- 사용자 정의 커밋 메시지와 함께 메이저 버전 증가: + +`npm version major -m "{{%s 이유로 업그레이드함}}"` diff --git a/pages.ko/common/npm-view.md b/pages.ko/common/npm-view.md new file mode 100644 index 00000000000000..44a0573a2b5d85 --- /dev/null +++ b/pages.ko/common/npm-view.md @@ -0,0 +1,32 @@ +# npm view + +> 패키지에 대한 레지스트리 정보를 조회. +> 더 많은 정보: . + +- 패키지의 최신 버전에 대한 정보 조회: + +`npm view {{패키지}}` + +- 특정 버전의 패키지 정보 조회: + +`npm view {{패키지}}@{{버전}}` + +- 패키지의 모든 사용 가능한 버전 조회: + +`npm view {{패키지}} versions` + +- 패키지 설명 조회: + +`npm view {{패키지}} description` + +- 패키지의 최신 버전의 의존성 조회: + +`npm view {{패키지}} dependencies` + +- 패키지의 저장소 URL 조회: + +`npm view {{패키지}} repository` + +- 패키지의 관리자 조회: + +`npm view {{패키지}} maintainers` diff --git a/pages.ko/common/npm-whoami.md b/pages.ko/common/npm-whoami.md new file mode 100644 index 00000000000000..50b197bf0171d9 --- /dev/null +++ b/pages.ko/common/npm-whoami.md @@ -0,0 +1,12 @@ +# npm whoami + +> npm 사용자 이름 표시. +> 더 많은 정보: . + +- 현재 로그인된 사용자의 이름 표시: + +`npm whoami` + +- 특정 레지스트리에서 현재 사용자의 이름 표시: + +`npm whoami --registry {{레지스트리_URL}}` diff --git a/pages.ko/common/npm-why.md b/pages.ko/common/npm-why.md new file mode 100644 index 00000000000000..31a5e82a8c1306 --- /dev/null +++ b/pages.ko/common/npm-why.md @@ -0,0 +1,8 @@ +# npm why + +> npm 패키지가 왜 설치되었는지 식별. +> 더 많은 정보: . + +- `npm` 패키지가 왜 설치되었는지 표시: + +`npm-why {{패키지}}` diff --git a/pages.ko/common/npm.md b/pages.ko/common/npm.md new file mode 100644 index 00000000000000..0d7b52ae88e1bd --- /dev/null +++ b/pages.ko/common/npm.md @@ -0,0 +1,37 @@ +# npm + +> JavaScript 및 Node.js 패키지 관리자. +> Node.js 프로젝트 및 모듈 의존성을 관리합니다. +> 더 많은 정보: . + +- 기본값으로 `package.json` 파일 생성 (`--yes`를 생략하면 대화식으로 진행): + +`npm init {{[-y|--yes]}}` + +- package.json에 의존성으로 나열된 모든 패키지를 다운로드: + +`npm install` + +- 특정 버전의 패키지를 다운로드하고 `package.json`의 의존성 목록에 추가: + +`npm install {{패키지_이름}}@{{버전}}` + +- 최신 버전의 패키지를 다운로드하고 `package.json`의 개발 의존성 목록에 추가: + +`npm install {{패키지_이름}} {{[-D|--save-dev]}}` + +- 최신 버전의 패키지를 다운로드하여 전역적으로 설치: + +`npm install {{[-g|--global]}} {{패키지_이름}}` + +- 패키지를 제거하고 `package.json`의 의존성 목록에서 제거: + +`npm uninstall {{패키지_이름}}` + +- 로컬에 설치된 모든 의존성 나열: + +`npm list` + +- 전역적으로 설치된 최상위 패키지 나열: + +`npm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.ko/common/nproc.md b/pages.ko/common/nproc.md new file mode 100644 index 00000000000000..c0b7cb5d1f494d --- /dev/null +++ b/pages.ko/common/nproc.md @@ -0,0 +1,16 @@ +# nproc + +> 사용 가능한 처리 장치 수(일반적으로 CPU)를 출력합니다. +> 더 많은 정보: . + +- 사용 가능한 처리 장치 수 표시: + +`nproc` + +- 비활성 장치를 포함한 설치된 처리 장치 수 표시: + +`nproc --all` + +- 가능한 경우, 반환 값에서 지정된 장치 수를 뺍니다: + +`nproc --ignore {{수량}}` diff --git a/pages.ko/common/npx.md b/pages.ko/common/npx.md new file mode 100644 index 00000000000000..d5dce19b669f4e --- /dev/null +++ b/pages.ko/common/npx.md @@ -0,0 +1,24 @@ +# npx + +> `npm` 패키지에서 바이너리 실행. +> 더 많은 정보: . + +- 로컬 또는 원격 `npm` 패키지에서 명령을 실행: + +`npx {{명령어}} {{인자1 인자2 ...}}` + +- 동일한 이름의 명령어가 여러 개 존재하는 경우, 패키지를 명시적으로 지정: + +`npx --package {{패키지}} {{명령어}}` + +- 현재 경로나 `node_modules/.bin`에 명령이 있는 경우 명령을 실행: + +`npx --no-install {{명령어}} {{인자1 인자2 ...}}` + +- `npx` 자체의 출력을 억제하는 특정 명령을 실행: + +`npx --quiet {{명령어}} {{인자1 인자2 ...}}` + +- 도움말 표시: + +`npx --help` diff --git a/pages.ko/common/nrm.md b/pages.ko/common/nrm.md new file mode 100644 index 00000000000000..58b0b884ea3072 --- /dev/null +++ b/pages.ko/common/nrm.md @@ -0,0 +1,25 @@ +# nrm + +> npm 레지스트리 관리자. +> 다양한 npm 레지스트리 간에 쉽게 전환할 수 있도록 도와줍니다. +> 더 많은 정보: . + +- 모든 레지스트리 나열: + +`nrm ls` + +- 특정 레지스트리로 변경: + +`nrm use {{레지스트리}}` + +- 모든 레지스트리의 응답 시간 표시: + +`nrm test` + +- 사용자 정의 레지스트리 추가: + +`nrm add {{레지스트리}} {{URL}}` + +- 레지스트리 삭제: + +`nrm del {{레지스트리}}` diff --git a/pages.ko/common/nslookup.md b/pages.ko/common/nslookup.md new file mode 100644 index 00000000000000..0b44942cad7b93 --- /dev/null +++ b/pages.ko/common/nslookup.md @@ -0,0 +1,32 @@ +# nslookup + +> 다양한 도메인 레코드에 대해 네임 서버에 질의. +> 더 많은 정보: . + +- 시스템의 기본 네임 서버에 도메인의 IP 주소 (A 레코드) 질의: + +`nslookup {{example.com}}` + +- 주어진 네임 서버에 도메인의 NS 레코드 질의: + +`nslookup -type=NS {{example.com}} {{8.8.8.8}}` + +- IP 주소의 역방향 조회 (PTR 레코드) 질의: + +`nslookup -type=PTR {{54.240.162.118}}` + +- TCP 프로토콜을 사용하여 모든 사용 가능한 레코드 질의: + +`nslookup -vc -type=ANY {{example.com}}` + +- 주어진 네임 서버에 도메인의 전체 존 파일 (존 전송)을 TCP 프로토콜을 사용하여 질의: + +`nslookup -vc -type=AXFR {{example.com}} {{네임_서버}}` + +- 도메인의 메일 서버 (MX 레코드) 질의, 트랜잭션 세부사항 표시: + +`nslookup -type=MX -debug {{example.com}}` + +- 특정 포트 번호로 주어진 네임 서버에 도메인의 TXT 레코드 질의: + +`nslookup -port={{포트_번호}} -type=TXT {{example.com}} {{네임_서버}}` diff --git a/pages.ko/common/ntfy.md b/pages.ko/common/ntfy.md new file mode 100644 index 00000000000000..2a1233ed83f22d --- /dev/null +++ b/pages.ko/common/ntfy.md @@ -0,0 +1,28 @@ +# ntfy + +> HTTP POST 알림을 보내고 받기. +> 더 많은 정보: . + +- `security` 토픽에 메시지 보내기: + +`ntfy pub security "{{현관문이 열렸습니다.}}"` + +- 제목, 우선순위 및 태그와 함께 보내기: + +`ntfy publish --title="{{누군가 당신의 아이템을 구매했습니다}}" --priority={{높음}} --tags={{오리}} {{이베이}} "{{누군가 당신의 아이템을 구매했습니다: 오리너구리 조각상}}"` + +- 오전 8시 30분에 보내기: + +`ntfy pub --at=8:30am {{지연된_토픽}} "{{학교 갈 시간이야, 졸린이...}}"` + +- 웹훅 트리거: + +`ntfy trigger {{나의_웹훅}}` + +- 토픽 구독하기 (``로 듣기 중지): + +`ntfy sub {{홈_자동화}}` + +- 도움말 표시: + +`ntfy --help` diff --git a/pages.ko/common/ntfyme.md b/pages.ko/common/ntfyme.md new file mode 100644 index 00000000000000..476778bc1a5f03 --- /dev/null +++ b/pages.ko/common/ntfyme.md @@ -0,0 +1,37 @@ +# ntfyme + +> 장기 실행 종료 프로세스를 추적하고 알림을 보내는 알림 도구. +> Gmail, Telegram 등을 통해 성공/오류 메시지로 알림을 전송. +> 더 많은 정보: . + +- 명령어를 직접 실행: + +`ntfyme exec {{[-c|--cmd]}} {{명령어}}` + +- 명령어를 파이프로 전달하여 실행: + +`echo {{명령어}} | ntfyme exec` + +- 여러 명령어를 큰따옴표로 묶어 실행: + +`echo "{{명령어1; 명령어2; 명령어3}}" | ntfyme exec` + +- 장기 중단 후 프로세스를 추적하고 종료: + +`ntfyme exec {{[-t|--track-process]}} {{[-c|--cmd]}} {{명령어}}` + +- 도구 구성을 대화식으로 설정: + +`ntfyme setup` + +- 비밀번호 암호화: + +`ntfyme enc` + +- 로그 기록 보기: + +`ntfyme log` + +- 구성 파일 열기 및 편집: + +`ntfyme config` diff --git a/pages.ko/common/nth.md b/pages.ko/common/nth.md new file mode 100644 index 00000000000000..d3c7357d650d7f --- /dev/null +++ b/pages.ko/common/nth.md @@ -0,0 +1,20 @@ +# nth + +> Name That Hash - 즉각적으로 해시 유형을 식별합니다. +> 더 많은 정보: . + +- 해시 이름 식별: + +`nth -t {{5f4dcc3b5aa765d61d8327deb882cf99}}` + +- 파일에 있는 해시 이름 식별: + +`nth -f {{경로/대상/해시들}}` + +- JSON 형식으로 출력: + +`nth -t {{5f4dcc3b5aa765d61d8327deb882cf99}} -g` + +- 해시를 Base64로 디코딩한 후 이름 식별: + +`nth -t {{NWY0ZGNjM2I1YWE3NjVkNjFkODMyN2RlYjg4MmNmOTkK}} -b64` diff --git a/pages.ko/common/ntl.md b/pages.ko/common/ntl.md new file mode 100644 index 00000000000000..27d1c4246b61f2 --- /dev/null +++ b/pages.ko/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> 이 명령은 `netlify` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr netlify` diff --git a/pages.ko/common/ntpctl.md b/pages.ko/common/ntpctl.md new file mode 100644 index 00000000000000..02fabdaeb98fb4 --- /dev/null +++ b/pages.ko/common/ntpctl.md @@ -0,0 +1,20 @@ +# ntpctl + +> 실행 중인 OpenNTPD 인스턴스에 대한 정보를 표시. +> 더 많은 정보: . + +- 모든 데이터 표시: + +`ntpctl -s {{[a|all]}}` + +- 각 피어에 대한 정보 표시: + +`ntpctl -s {{[p|peers]}}` + +- 피어와 센서의 상태 및 시스템 시계 동기화 여부 표시: + +`ntpctl -s {{[s|status]}}` + +- 각 센서에 대한 정보 표시: + +`ntpctl -s {{[S|Sensors]}}` diff --git a/pages.ko/common/nu.md b/pages.ko/common/nu.md new file mode 100644 index 00000000000000..bcea6327ae00a3 --- /dev/null +++ b/pages.ko/common/nu.md @@ -0,0 +1,21 @@ +# nu + +> Nushell("새로운 유형의 셸")은 명령줄에 대한 현대적이고 구조화된 접근 방식을 제공합니다. +> 같이 보기: `elvish`. +> 더 많은 정보: . + +- 대화형 셸 세션 시작: + +`nu` + +- 특정 명령 실행: + +`nu --commands "{{echo 'nu is executed'}}"` + +- 특정 스크립트 실행: + +`nu {{경로/대상/스크립트.nu}}` + +- 로깅을 포함하여 특정 스크립트 실행: + +`nu --log-level {{error|warn|info|debug|trace}} {{경로/대상/스크립트.nu}}` diff --git a/pages.ko/common/nuclei.md b/pages.ko/common/nuclei.md new file mode 100644 index 00000000000000..c8e59fb002f481 --- /dev/null +++ b/pages.ko/common/nuclei.md @@ -0,0 +1,36 @@ +# nuclei + +> 간단한 YAML 기반 DSL을 사용하는 빠르고 커스터마이즈 가능한 취약점 스캐너. +> 더 많은 정보: . + +- `nuclei` [t]emplates를 최신 버전으로 [u]pdate (다운로드는 `~/nuclei-templates`에 저장됨): + +`nuclei -ut` + +- 특정 [p]rotocol [t]ype의 모든 [t]emplates 나열: + +`nuclei -tl -pt {{dns|file|http|headless|tcp|workflow|ssl|websocket|whois|code|javascript}}` + +- wappalyzer 기술 감지를 사용하여 자동 웹 스캔을 수행하고 스캔할 대상 [u]RL/호스트 지정: + +`nuclei -as -u {{scanme.nmap.org}}` + +- 높은 및 치명적 심각도의 HTTP [p]rotocol [t]ype 템플릿을 실행하고, 결과를 특정 디렉토리 내 [m]arkdown 파일로 [e]xport: + +`nuclei -severity high,critical -pt http -u {{http://scanme.sh}} -me {{마크다운_디렉토리}}` + +- 다른 [r]ate [l]imit과 최대 [b]ulk [s]ize를 사용하여 모든 템플릿 실행하며, 조용한 출력(발견된 내용만 표시): + +`nuclei -rl {{150}} -bs {{25}} -c {{25}} -silent -u {{http://scanme.sh}}` + +- WordPress 사이트에 대해 WordPress [w]orkflow 실행: + +`nuclei -w {{경로/대상/nuclei-templates/workflows/wordpress-workflow.yaml}} -u {{https://sample.wordpress.site}}` + +- 하나 이상의 특정 [t]emplates 또는 [t]emplates가 있는 디렉토리를 실행하며 `stderr`에 [v]erbose 출력 및 검출된 문제/취약점을 파일로 [o]utput: + +`nuclei -t {{경로/대상/nuclei-templates/http}} -u {{http://scanme.sh}} -v -o {{결과들}}` + +- 하나 이상의 [t]emplate [c]onditions에 기반한 스캔 실행: + +`nuclei -tc "{{contains(tags, 'xss') && contains(tags, 'cve')}}" -u {{https://vulnerable.website}}` diff --git a/pages.ko/common/nudoku.md b/pages.ko/common/nudoku.md new file mode 100644 index 00000000000000..e22cc9ce51cb93 --- /dev/null +++ b/pages.ko/common/nudoku.md @@ -0,0 +1,36 @@ +# nudoku + +> 터미널에서 즐기는 스도쿠 게임. +> 더 많은 정보: . + +- 스도쿠 게임 시작: + +`nudoku` + +- 게임 난이도 선택: + +`nudoku -d {{easy|normal|hard}}` + +- 보드 탐색: + +`{{||||}}` + +- 숫자 삭제: + +`{{|}}` + +- 힌트 얻기: + +`` + +- 전체 정답 보기: + +`` + +- 새로운 퍼즐 생성: + +`` + +- 게임 종료: + +`` diff --git a/pages.ko/common/numfmt.md b/pages.ko/common/numfmt.md new file mode 100644 index 00000000000000..c526f342d9d4cb --- /dev/null +++ b/pages.ko/common/numfmt.md @@ -0,0 +1,16 @@ +# numfmt + +> 숫자를 사람이 읽기 쉬운 문자열로 변환하거나 그 반대로 변환. +> 더 많은 정보: . + +- 1.5K(SI 단위)를 1500으로 변환: + +`numfmt --from si 1.5K` + +- 5번째 필드(1부터 시작)를 IEC 단위로 변환하되 헤더는 변환하지 않음: + +`ls -l | numfmt --header=1 --field 5 --to iec` + +- IEC 단위로 변환하고, 5자리를 채워 왼쪽 정렬: + +`du {{[-s|--summarize]}} * | numfmt --to iec --format "%-5f"` diff --git a/pages.ko/common/nvcc.md b/pages.ko/common/nvcc.md new file mode 100644 index 00000000000000..078d88a031f9f4 --- /dev/null +++ b/pages.ko/common/nvcc.md @@ -0,0 +1,20 @@ +# nvcc + +> NVIDIA CUDA 컴파일러 드라이버. +> 더 많은 정보: . + +- CUDA 프로그램 컴파일: + +`nvcc {{경로/대상/소스.cu}} -o {{경로/대상/실행파일}}` + +- 디버그 정보 생성: + +`nvcc {{경로/대상/소스.cu}} -o {{경로/대상/실행파일}} --debug --device-debug` + +- 다른 경로에서 라이브러리 포함: + +`nvcc {{경로/대상/소스.cu}} -o {{경로/대상/실행파일}} -I{{경로/대상/포함대상}} -L{{경로/대상/라이브러리}} -l{{라이브러리_이름}}` + +- 특정 GPU 아키텍처에 대한 컴퓨팅 능력 지정: + +`nvcc {{경로/대상/소스.cu}} -o {{경로/대상/실행파일}} --generate-code arch={{아키텍처_이름}},code={{gpu_코드_이름}}` diff --git a/pages.ko/common/nvidia-smi.md b/pages.ko/common/nvidia-smi.md new file mode 100644 index 00000000000000..de36f2f230287a --- /dev/null +++ b/pages.ko/common/nvidia-smi.md @@ -0,0 +1,16 @@ +# nvidia-smi + +> NVIDIA GPU 장치의 관리 및 모니터링 도구. +> 더 많은 정보: . + +- 사용 가능한 모든 GPU 및 이를 사용하는 프로세스의 정보 표시: + +`nvidia-smi` + +- 더 자세한 GPU 정보 표시: + +`nvidia-smi --query` + +- 1초 간격으로 전체 GPU 사용량 모니터링: + +`nvidia-smi dmon` diff --git a/pages.ko/common/nvim.md b/pages.ko/common/nvim.md new file mode 100644 index 00000000000000..6e7c3bf13f1013 --- /dev/null +++ b/pages.ko/common/nvim.md @@ -0,0 +1,38 @@ +# nvim + +> Neovim은 Vim을 기반으로 한 프로그래머용 텍스트 편집기로, 다양한 텍스트 조작을 위한 여러 모드를 제공합니다. +> 일반 모드에서 ``를 누르면 입력 모드로 전환됩니다. ``를 누르면 일반 모드로 돌아가며, 일반 텍스트 입력이 허용되지 않습니다. +> 같이 보기: `vim`, `vimtutor`, `vimdiff`. +> 더 많은 정보: . + +- 파일 열기: + +`nvim {{경로/대상/파일}}` + +- 텍스트 편집 모드(입력 모드)로 전환: + +`` + +- 현재 줄을 복사("yank") 또는 잘라내기("delete") (붙여넣기는 `

`로 수행): + +`{{|}}` + +- 일반 모드로 전환하고 마지막 작업을 실행 취소: + +`` + +- 파일에서 패턴 검색 (다음/이전 일치 항목으로 이동하려면 ``/``을 누름): + +`{{검색_패턴}}` + +- 전체 파일에서 정규 표현식을 이용한 치환 수행: + +`<:>%s/{{정규_표현식}}/{{대체_문자열}}/g` + +- 일반 모드로 전환하고 파일을 저장(쓰기) 후 종료: + +`{{|<:>x|<:>wq}}` + +- 저장하지 않고 종료: + +`<:>q!` diff --git a/pages.ko/common/nvm.fish.md b/pages.ko/common/nvm.fish.md new file mode 100644 index 00000000000000..086b75ef851c7c --- /dev/null +++ b/pages.ko/common/nvm.fish.md @@ -0,0 +1,25 @@ +# nvm + +> fish 셸에서 Node.js 버전을 설치, 제거 또는 전환. +> "12.8" 또는 "v16.13.1"과 같은 버전 번호 및 "stable", "system" 등의 레이블을 지원. +> 더 많은 정보: . + +- 특정 버전의 Node.js 설치: + +`nvm install {{노드_버전}}` + +- 현재 셸에서 특정 버전의 Node.js 사용: + +`nvm use {{노드_버전}}` + +- 기본 Node.js 버전 설정: + +`set nvm_default_version {{노드_버전}}` + +- 사용 가능한 모든 Node.js 버전 나열 및 기본 버전 강조: + +`nvm list` + +- 지정된 Node.js 버전 제거: + +`nvm uninstall {{노드_버전}}` diff --git a/pages.ko/common/nvm.md b/pages.ko/common/nvm.md new file mode 100644 index 00000000000000..32e3b30a335d44 --- /dev/null +++ b/pages.ko/common/nvm.md @@ -0,0 +1,34 @@ +# nvm + +> Node.js 버전을 설치, 제거 또는 전환. +> "12.8" 또는 "v16.13.1" 같은 버전 번호와 "stable", "system" 같은 레이블을 지원. +> 같이 보기: `asdf`. +> 더 많은 정보: . + +- 특정 버전의 Node.js 설치: + +`nvm install {{노드_버전}}` + +- 현재 셸에서 특정 버전의 Node.js 사용: + +`nvm use {{노드_버전}}` + +- 기본 Node.js 버전 설정: + +`nvm alias default {{노드_버전}}` + +- 사용 가능한 모든 Node.js 버전 나열 및 기본 버전 강조: + +`nvm list` + +- 지정된 Node.js 버전 제거: + +`nvm uninstall {{노드_버전}}` + +- 특정 버전의 Node.js REPL 실행: + +`nvm run {{노드_버전}} --version` + +- 특정 버전의 Node.js에서 스크립트 실행: + +`nvm exec {{노드_버전}} node {{app.js}}` diff --git a/pages.ko/common/nvme.md b/pages.ko/common/nvme.md new file mode 100644 index 00000000000000..ef717349d20244 --- /dev/null +++ b/pages.ko/common/nvme.md @@ -0,0 +1,12 @@ +# nvme + +> NVMe 저장소 사용자 공간 유틸리티. +> 더 많은 정보: . + +- 모든 NVMe 장치 나열: + +`sudo nvme list` + +- 장치 정보 표시: + +`sudo nvme smart-log {{장치}}` diff --git a/pages.ko/common/nx.md b/pages.ko/common/nx.md new file mode 100644 index 00000000000000..64c18f837dbbcf --- /dev/null +++ b/pages.ko/common/nx.md @@ -0,0 +1,28 @@ +# nx + +> `nx` 작업 공간 관리 도구. +> 더 많은 정보: . + +- 특정 프로젝트 빌드: + +`nx build {{프로젝트}}` + +- 특정 프로젝트 테스트: + +`nx test {{프로젝트}}` + +- 특정 프로젝트에서 대상 실행: + +`nx run {{프로젝트}}:{{대상}}` + +- 여러 프로젝트에서 대상 실행: + +`nx run-many --target {{대상}} --projects {{프로젝트1}},{{프로젝트2}}` + +- 작업 공간의 모든 프로젝트에서 대상 실행: + +`nx run-many --target {{대상}} --all` + +- 변경된 프로젝트에서만 대상 실행: + +`nx affected --target {{대상}}` diff --git a/pages.ko/common/nxc-ftp.md b/pages.ko/common/nxc-ftp.md new file mode 100644 index 00000000000000..95732586c14a3a --- /dev/null +++ b/pages.ko/common/nxc-ftp.md @@ -0,0 +1,24 @@ +# nxc ftp + +> FTP 서버를 침투 테스트하고 익스플로잇합니다. +> 더 많은 정보: . + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 자격 증명 검색: + +`nxc ftp {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- 유효한 자격 증명을 찾은 후에도 계속해서 검색: + +`nxc ftp {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}} --continue-on-success` + +- 제공된 자격 증명이 유효한 각 FTP 서버에서 디렉터리 목록 수행: + +`nxc ftp {{192.168.178.0/24}} -u {{사용자명}} -p {{비밀번호}} --ls` + +- 대상 서버에서 지정된 파일 다운로드: + +`nxc ftp {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --get {{경로/대상/파일}}` + +- 지정된 파일을 대상 서버의 지정된 위치에 업로드: + +`nxc ftp {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --put {{경로/대상/로컬_파일}} {{경로/대상/원격_위치}}` diff --git a/pages.ko/common/nxc-ldap.md b/pages.ko/common/nxc-ldap.md new file mode 100644 index 00000000000000..773ed8178e90ce --- /dev/null +++ b/pages.ko/common/nxc-ldap.md @@ -0,0 +1,24 @@ +# nxc ldap + +> LDAP를 통해 Windows Active Directory 도메인을 침투 테스트하고 익스플로잇. +> 더 많은 정보: . + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 도메인 자격 증명 검색: + +`nxc ldap {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- 활성 도메인 사용자 열거: + +`nxc ldap {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --active-users` + +- 대상 도메인에 대한 데이터를 수집하고 이를 BloodHound에 자동으로 가져오기: + +`nxc ldap {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --bloodhound --collection {{All}}` + +- ASREPRoasting 공격을 수행하기 위해 지정된 사용자의 AS_REP 메시지 수집 시도: + +`nxc ldap {{192.168.178.2}} -u {{사용자명}} -p '' --asreproast {{경로/대상/output.txt}}` + +- 도메인에서 그룹 관리 서비스 계정의 비밀번호 추출 시도: + +`nxc ldap {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --gmsa` diff --git a/pages.ko/common/nxc-mssql.md b/pages.ko/common/nxc-mssql.md new file mode 100644 index 00000000000000..188f9a7a28a029 --- /dev/null +++ b/pages.ko/common/nxc-mssql.md @@ -0,0 +1,28 @@ +# nxc mssql + +> Microsoft SQL 서버에 대한 침투 테스트 및 익스플로잇 도구. +> 더 많은 정보: . + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 자격 증명 검색: + +`nxc mssql {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- 대상 서버에서 지정된 SQL [q]uery 실행: + +`nxc mssql {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --query '{{SELECT * FROM sys.databases;}}'` + +- 대상 서버에서 MSSQL을 통해 지정된 셸 명령 실행: + +`nxc mssql {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} -x {{whoami}}` + +- 대상 서버에서 MSSQL을 통해 지정된 PowerShell 명령을 출력 없이 실행: + +`nxc mssql {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} -X {{whoami}} --no-output` + +- 대상 서버에서 원격 파일을 다운로드하여 지정된 위치에 저장: + +`nxc mssql {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --get-file {{C:\경로\대상\원격_파일}} {{경로/대상/로컬_파일}}` + +- 로컬 파일을 대상 서버의 지정된 위치로 업로드: + +`nxc mssql {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --put-file {{경로/대상/로컬_파일}} {{C:\경로\대상\원격_파일}}` diff --git a/pages.ko/common/nxc-nfs.md b/pages.ko/common/nxc-nfs.md new file mode 100644 index 00000000000000..15922e2e4a7b3d --- /dev/null +++ b/pages.ko/common/nxc-nfs.md @@ -0,0 +1,24 @@ +# nxc nfs + +> NFS 서버에 대한 펜테스트 및 익스플로잇 도구. 현재는 익명 모드만 지원. +> 더 많은 정보: . + +- 원격 NFS 서버의 버전 감지: + +`nxc nfs {{192.168.178.0/24}}` + +- 사용 가능한 NFS 공유 목록 나열: + +`nxc nfs {{192.168.178.2}} --shares` + +- 노출된 공유를 지정된 깊이까지 재귀적으로 열거: + +`nxc nfs {{192.168.178.2}} --enum-shares {{5}}` + +- 지정된 원격 파일 다운로드: + +`nxc nfs {{192.168.178.2}} --get-file {{경로/대상/원격_파일}} {{경로/대상/로컬_파일}}` + +- 지정된 로컬 파일을 원격 공유에 업로드: + +`nxc nfs {{192.168.178.2}} --put-file {{경로/대상/로컬_파일}} {{경로/대상/원격_파일}}` diff --git a/pages.ko/common/nxc-rdp.md b/pages.ko/common/nxc-rdp.md new file mode 100644 index 00000000000000..02690f92442e88 --- /dev/null +++ b/pages.ko/common/nxc-rdp.md @@ -0,0 +1,20 @@ +# nxc rdp + +> RDP 서버의 펜테스트 및 익스플로잇. +> 더 많은 정보: . + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 자격 증명 검색: + +`nxc rdp {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- 지정된 초 수 기다린 후 스크린샷 찍기: + +`nxc rdp {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --screenshot --screentime {{10}}` + +- 지정된 해상도로 스크린샷 찍기: + +`nxc rdp {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --screenshot --res {{1024x768}}` + +- 네트워크 수준 인증이 비활성화된 경우 RDP 로그인 프롬프트의 스크린샷 찍기: + +`nxc rdp {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --nla-screenshot` diff --git a/pages.ko/common/nxc-smb.md b/pages.ko/common/nxc-smb.md new file mode 100644 index 00000000000000..f233253cbe6606 --- /dev/null +++ b/pages.ko/common/nxc-smb.md @@ -0,0 +1,28 @@ +# nxc smb + +> SMB 서버를 침투 테스트하고 익스플로잇. +> 더 많은 정보: . + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 도메인 자격 증명 검색: + +`nxc smb {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- 도메인 계정 대신 로컬 계정에 대한 유효한 자격 증명 검색: + +`nxc smb {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}} --local-auth` + +- 대상 호스트에서 SMB 공유 및 지정된 사용자의 액세스 권한 열거: + +`nxc smb {{192.168.178.0/24}} -u {{사용자명}} -p {{비밀번호}} --shares` + +- 패스-더-해시 인증을 통해 대상 호스트의 네트워크 인터페이스 열거: + +`nxc smb {{192.168.178.30-45}} -u {{사용자명}} -H {{NTLM_해시}} --interfaces` + +- 대상 호스트에서 일반적인 취약점 스캔: + +`nxc smb {{경로/대상/target_list.txt}} -u '' -p '' -M zerologon -M petitpotam` + +- 대상 호스트에서 명령 실행 시도: + +`nxc smb {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} -x {{명령}}` diff --git a/pages.ko/common/nxc-ssh.md b/pages.ko/common/nxc-ssh.md new file mode 100644 index 00000000000000..3a3f344543b2bc --- /dev/null +++ b/pages.ko/common/nxc-ssh.md @@ -0,0 +1,25 @@ +# nxc ssh + +> SSH 서버를 침투 테스트하고 익스플로잇. +> 같이 보기: `hydra`. +> 더 많은 정보: . + +- 지정된 대상에서 사용자 목록에 대해 특정 [p]비밀번호를 스프레이: + +`nxc ssh {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{비밀번호}}` + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 자격 증명 검색: + +`nxc ssh {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- 제공된 [p]비밀번호를 키의 암호로 사용하여, 지정된 개인 키로 인증: + +`nxc ssh {{192.186.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{비밀번호}} --key-file {{경로/대상/id_rsa}}` + +- 여러 대상에 대해 [u]사용자명과 [p]비밀번호의 조합을 시도: + +`nxc ssh {{192.168.178.0/24}} -u {{사용자명}} -p {{비밀번호}}` + +- 성공적인 로그인 후 `sudo` 권한 확인: + +`nxc ssh {{192.168.178.2}} -u {{사용자명}} -p {{경로/대상/비밀번호목록.txt}} --sudo-check` diff --git a/pages.ko/common/nxc-vnc.md b/pages.ko/common/nxc-vnc.md new file mode 100644 index 00000000000000..a179d75e4aacb1 --- /dev/null +++ b/pages.ko/common/nxc-vnc.md @@ -0,0 +1,16 @@ +# nxc vnc + +> VNC 서버를 펜테스트하고 익스플로잇합니다. +> 더 많은 정보: . + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 자격 증명 검색: + +`nxc vnc {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- VNC-sleep을 통해 속도 제한 회피: + +`nxc vnc {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}} --vnc-sleep {{10}}` + +- 지정된 시간만큼 대기한 후 원격 시스템에서 스크린샷 촬영: + +`nxc vnc {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --screenshot --screentime {{10}}` diff --git a/pages.ko/common/nxc-winrm.md b/pages.ko/common/nxc-winrm.md new file mode 100644 index 00000000000000..fb9802a83e1b39 --- /dev/null +++ b/pages.ko/common/nxc-winrm.md @@ -0,0 +1,20 @@ +# nxc winrm + +> Windows 원격 관리(winrm)를 침투 테스트하고 익스플로잇합니다. +> 더 많은 정보: . + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 자격 증명 검색: + +`nxc winrm {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- 인증할 도메인 지정 (초기 SMB 연결 피하기): + +`nxc winrm {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} -d {{도메인_이름}}` + +- 호스트에서 지정된 명령 실행: + +`nxc winrm {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} -x {{whoami}}` + +- LAPS를 사용하여 관리자 권한으로 호스트에서 지정된 PowerShell 명령 실행: + +`nxc winrm {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --laps -X {{whoami}}` diff --git a/pages.ko/common/nxc-wmi.md b/pages.ko/common/nxc-wmi.md new file mode 100644 index 00000000000000..2f64b72a89bfc1 --- /dev/null +++ b/pages.ko/common/nxc-wmi.md @@ -0,0 +1,20 @@ +# nxc wmi + +> Windows Management Instrumentation(WMI)를 통한 침투 테스트 및 익스플로잇. +> 더 많은 정보: . + +- 지정된 [u]사용자명 및 [p]비밀번호 목록의 모든 조합을 시도하여 유효한 자격 증명 검색: + +`nxc wmi {{192.168.178.2}} -u {{경로/대상/사용자명목록.txt}} -p {{경로/대상/비밀번호목록.txt}}` + +- 로컬 인증을 통해 인증(도메인 인증이 아닌): + +`nxc wmi {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --local-auth` + +- 지정된 WMI 쿼리 실행: + +`nxc wmi {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --wmi {{wmi_쿼리}}` + +- 대상 호스트에서 지정된 명령 실행: + +`nxc wmi {{192.168.178.2}} -u {{사용자명}} -p {{비밀번호}} --x {{명령}}` diff --git a/pages.ko/common/nxc.md b/pages.ko/common/nxc.md new file mode 100644 index 00000000000000..cf285c7e10d515 --- /dev/null +++ b/pages.ko/common/nxc.md @@ -0,0 +1,21 @@ +# nxc + +> 네트워크 서비스 열거 및 익스플로잇 도구. +> `smb`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 지정된 프로토콜에 대한 사용 가능한 모듈: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-L|--list-modules]}}` + +- 지정된 모듈에 대한 사용 가능한 옵션 나열: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{모듈_이름}} --options` + +- 모듈에 대한 옵션 지정: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{모듈_이름}} -o {{옵션_이름}}={{옵션_값}}` + +- 지정된 프로토콜에 대한 사용 가능한 옵션 보기: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-h|--help]}}` diff --git a/pages.ko/common/nxcdb.md b/pages.ko/common/nxcdb.md new file mode 100644 index 00000000000000..11c0cb814650a3 --- /dev/null +++ b/pages.ko/common/nxcdb.md @@ -0,0 +1,20 @@ +# nxcdb + +> NetExec 데이터베이스와 상호작용. +> 더 많은 정보: . + +- 대화형 데이터베이스 세션 시작: + +`nxcdb` + +- 현재 활성화된 워크스페이스 표시: + +`nxcdb --get-workspace` + +- 새 워크스페이스 생성: + +`nxcdb --create-workspace {{워크스페이스_이름}}` + +- 지정된 워크스페이스 활성화: + +`nxcdb --set-workspace {{워크스페이스_이름}}` diff --git a/pages.ko/common/nyxt.md b/pages.ko/common/nyxt.md new file mode 100644 index 00000000000000..1508c3163e2510 --- /dev/null +++ b/pages.ko/common/nyxt.md @@ -0,0 +1,20 @@ +# nyxt + +> 키보드 기반으로 작동하는 파워 유저를 위한 웹 브라우저. +> 더 많은 정보: . + +- 모든 프로필 나열: + +`nyxt --list-data-profiles` + +- `init.lisp` 파일 경로 설정: + +`nyxt --init {{경로/대상/파일}}` + +- 자동 구성 파일 경로 변경: + +`nyxt --auto-config {{경로/대상/파일}}` + +- 시스템 정보 출력: + +`nyxt --system-information` diff --git a/pages.ko/common/oathtool.md b/pages.ko/common/oathtool.md new file mode 100644 index 00000000000000..a349ee6dd22904 --- /dev/null +++ b/pages.ko/common/oathtool.md @@ -0,0 +1,16 @@ +# oathtool + +> OATH 일회성 비밀번호 도구. +> 더 많은 정보: . + +- TOTP 토큰 생성 (Google Authenticator처럼 동작): + +`oathtool --totp --base32 "{{비밀}}"` + +- 특정 시간에 대한 TOTP 토큰 생성: + +`oathtool --totp --now "{{2004-02-29 16:21:42}}" --base32 "{{비밀}}"` + +- TOTP 토큰 검증: + +`oathtool --totp --base32 "{{비밀}}" "{{토큰}}"` diff --git a/pages.ko/common/objdump.md b/pages.ko/common/objdump.md new file mode 100644 index 00000000000000..a1e7fa16aa7f2b --- /dev/null +++ b/pages.ko/common/objdump.md @@ -0,0 +1,24 @@ +# objdump + +> 오브젝트 파일에 대한 정보를 표시. +> 더 많은 정보: . + +- 파일 헤더 정보를 표시: + +`objdump {{[-f|--file-headers]}} {{경로/대상/바이너리}}` + +- 모든 헤더 정보를 표시: + +`objdump {{[-x|--all-headers]}} {{경로/대상/바이너리}}` + +- 실행 가능한 섹션의 디스어셈블리 출력 표시: + +`objdump {{[-d|--disassemble]}} {{경로/대상/바이너리}}` + +- 인텔 구문으로 실행 가능한 섹션의 디스어셈블리 출력 표시: + +`objdump {{[-M|--disassembler-options]}} intel {{[-d|--disassemble]}} {{경로/대상/바이너리}}` + +- 모든 섹션의 전체 바이너리 헥스 덤프 표시: + +`objdump {{[-s|--full-contents]}} {{경로/대상/바이너리}}` diff --git a/pages.ko/common/obs.md b/pages.ko/common/obs.md new file mode 100644 index 00000000000000..ab5a48f964acc1 --- /dev/null +++ b/pages.ko/common/obs.md @@ -0,0 +1,33 @@ +# obs + +> 오픈 브로드캐스터 소프트웨어. +> 비디오 녹화 및 라이브 스트리밍 프로그램. +> 더 많은 정보: . + +- OBS 실행: + +`obs` + +- OBS를 포터블 모드로 실행: + +`obs {{[-p|--portable]}}` + +- 실행 시 자동으로 비디오 녹화를 시작: + +`obs --startrecording` + +- 실행 시 자동으로 리플레이 버퍼 시작: + +`obs --startreplaybuffer` + +- 실행 시 자동으로 스트리밍 시작: + +`obs --startstreaming` + +- 실행 시 시스템 트레이로 최소화: + +`obs --minimize-to-tray` + +- 로그를 더 자세하게 남기기 (디버깅용): + +`obs --verbose` diff --git a/pages.ko/common/oc.md b/pages.ko/common/oc.md new file mode 100644 index 00000000000000..cc7fe47e6e9bde --- /dev/null +++ b/pages.ko/common/oc.md @@ -0,0 +1,33 @@ +# oc + +> OpenShift 컨테이너 플랫폼 CLI. +> 애플리케이션 및 컨테이너 관리를 허용합니다. +> 더 많은 정보: . + +- OpenShift 컨테이너 플랫폼 서버에 로그인: + +`oc login` + +- 새 프로젝트 생성: + +`oc new-project {{프로젝트_이름}}` + +- 기존 프로젝트로 전환: + +`oc project {{프로젝트_이름}}` + +- 프로젝트에 새 애플리케이션 추가: + +`oc new-app {{저장소_URL}} --name {{애플리케이션}}` + +- 컨테이너에 원격 셸 세션 열기: + +`oc rsh {{포드_이름}}` + +- 프로젝트 내 포드 나열: + +`oc get pods` + +- 현재 세션에서 로그아웃: + +`oc logout` diff --git a/pages.ko/common/ocaml.md b/pages.ko/common/ocaml.md new file mode 100644 index 00000000000000..d0d5d4c6bde271 --- /dev/null +++ b/pages.ko/common/ocaml.md @@ -0,0 +1,17 @@ +# ocaml + +> OCaml REPL (읽기-평가-출력-루프). +> OCaml 명령을 해석합니다. +> 더 많은 정보: . + +- 사용자로부터 OCaml 명령을 입력받아 실행: + +`ocaml` + +- 파일에서 OCaml 명령을 읽어 실행: + +`ocaml {{경로/대상/파일.ml}}` + +- 모듈과 함께 OCaml 스크립트 실행: + +`ocaml {{모듈1}} {{모듈2}} {{경로/대상/파일.ml}}` diff --git a/pages.ko/common/ocamlc.md b/pages.ko/common/ocamlc.md new file mode 100644 index 00000000000000..d56410a5e18bde --- /dev/null +++ b/pages.ko/common/ocamlc.md @@ -0,0 +1,17 @@ +# ocamlc + +> OCaml 바이트코드 컴파일러. +> OCaml 인터프리터로 실행 가능한 실행 파일을 생성합니다. +> 더 많은 정보: . + +- 소스 파일로부터 바이너리 생성: + +`ocamlc {{경로/대상/소스_파일.ml}}` + +- 소스 파일로부터 이름이 지정된 바이너리 생성: + +`ocamlc -o {{경로/대상/바이너리}} {{경로/대상/소스_파일.ml}}` + +- 자동으로 모듈 시그니처(인터페이스) 파일 생성: + +`ocamlc -i {{경로/대상/소스_파일.ml}}` diff --git a/pages.ko/common/ocamlfind.md b/pages.ko/common/ocamlfind.md new file mode 100644 index 00000000000000..2cfc54e32d1224 --- /dev/null +++ b/pages.ko/common/ocamlfind.md @@ -0,0 +1,17 @@ +# ocamlfind + +> OCaml을 위한 findlib 패키지 관리자. +> 외부 라이브러리로 실행 파일을 연결하는 과정을 단순화합니다. +> 더 많은 정보: . + +- 소스 파일을 네이티브 바이너리로 컴파일하고 패키지와 링크: + +`ocamlfind ocamlopt -package {{패키지1}},{{패키지2}} -linkpkg -o {{경로/대상/실행파일}} {{경로/대상/소스.ml}}` + +- 소스 파일을 바이트코드 바이너리로 컴파일하고 패키지와 링크: + +`ocamlfind ocamlc -package {{패키지1}},{{패키지2}} -linkpkg -o {{경로/대상/실행파일}} {{경로/대상/소스.ml}}` + +- 다른 플랫폼용으로 크로스 컴파일: + +`ocamlfind -toolchain {{크로스_툴체인}} ocamlopt -o {{경로/대상/실행파일}} {{경로/대상/소스.ml}}` diff --git a/pages.ko/common/ocamlopt.md b/pages.ko/common/ocamlopt.md new file mode 100644 index 00000000000000..a4aa5e73f0227c --- /dev/null +++ b/pages.ko/common/ocamlopt.md @@ -0,0 +1,13 @@ +# ocamlopt + +> OCaml 네이티브 코드 컴파일러. +> 네이티브 실행 파일을 생성합니다. 예: Linux의 ELF. +> 더 많은 정보: . + +- 소스 파일 컴파일: + +`ocamlopt -o {{경로/대상/바이너리}} {{경로/대상/소스_파일.ml}}` + +- 디버깅을 활성화하여 컴파일: + +`ocamlopt -g -o {{경로/대상/바이너리}} {{경로/대상/소스_파일.ml}}` diff --git a/pages.ko/common/ocrmypdf.md b/pages.ko/common/ocrmypdf.md new file mode 100644 index 00000000000000..6e7edf1206dbc6 --- /dev/null +++ b/pages.ko/common/ocrmypdf.md @@ -0,0 +1,28 @@ +# ocrmypdf + +> 스캔한 PDF나 텍스트 이미지에서 검색 가능한 PDF 또는 PDF/A를 생성. +> 더 많은 정보: . + +- 스캔한 PDF 또는 이미지 파일에서 새로운 검색 가능한 PDF/A 파일 생성: + +`ocrmypdf {{경로/대상/입력_파일}} {{경로/대상/출력.pdf}}` + +- 스캔한 PDF 파일을 검색 가능한 PDF 파일로 교체: + +`ocrmypdf {{경로/대상/파일.pdf}} {{경로/대상/파일.pdf}}` + +- 텍스트가 이미 포함된 혼합 형식 입력 PDF 파일의 페이지 건너뛰기: + +`ocrmypdf --skip-text {{경로/대상/입력.pdf}} {{경로/대상/출력.pdf}}` + +- 불량 스캔의 페이지를 정리하고, 기울임 보정하고, 회전: + +`ocrmypdf --clean --deskew --rotate-pages {{경로/대상/입력_파일}} {{경로/대상/출력.pdf}}` + +- 검색 가능한 PDF 파일의 메타데이터 설정: + +`ocrmypdf --title "{{제목}}" --author "{{저자}}" --subject "{{주제}}" --keywords "{{키워드; 키 구문; ...}}" {{경로/대상/입력_파일}} {{경로/대상/출력.pdf}}` + +- 도움말 표시: + +`ocrmypdf --help` diff --git a/pages.ko/common/octave.md b/pages.ko/common/octave.md new file mode 100644 index 00000000000000..6cfdb04d5b894c --- /dev/null +++ b/pages.ko/common/octave.md @@ -0,0 +1,28 @@ +# octave + +> 과학 계산을 위한 프로그래밍 언어. +> 더 많은 정보: . + +- 대화형 세션 시작: + +`octave` + +- 특정 스크립트 파일 실행: + +`octave {{경로/대상/스크립트.m}}` + +- 특정 인수를 사용하여 스크립트 파일 실행: + +`octave {{경로/대상/스크립트.m}} {{인수1 인수2 ...}}` + +- GUI를 사용하여 대화형 세션 시작: + +`octave --gui` + +- 도움말 표시: + +`octave --help` + +- 버전 표시: + +`octave --version` diff --git a/pages.ko/common/octez-client.md b/pages.ko/common/octez-client.md new file mode 100644 index 00000000000000..d6c4ac26939f23 --- /dev/null +++ b/pages.ko/common/octez-client.md @@ -0,0 +1,32 @@ +# octez-client + +> Tezos 블록체인과 상호작용. +> 더 많은 정보: . + +- 과 같은 Tezos RPC 노드에 연결하여 클라이언트 구성: + +`octez-client -E {{엔드포인트}} config update` + +- 계정을 생성하고 로컬 별칭을 지정: + +`octez-client gen keys {{별칭}}` + +- 별칭이나 주소로 계정의 잔액 확인: + +`octez-client get balance for {{별칭_또는_주소}}` + +- 다른 계정으로 tez 전송: + +`octez-client transfer {{5}} from {{별칭|주소}} to {{별칭|주소}}` + +- 스마트 계약 생성(배포), 로컬 별칭 지정 및 초기 저장소를 Michelson-인코딩된 값으로 설정: + +`octez-client originate contract {{별칭}} transferring {{0}} from {{별칭|주소}} running {{경로/대상/소스_파일.tz}} --init "{{초기_저장소}}" --burn_cap {{1}}` + +- 별칭이나 주소로 스마트 계약 호출 및 Michelson-인코딩된 매개변수 전달: + +`octez-client transfer {{0}} from {{별칭|주소}} to {{계약}} --entrypoint "{{엔트리포인트}}" --arg "{{매개변수}}" --burn-cap {{1}}` + +- 도움말 표시: + +`octez-client man` diff --git a/pages.ko/common/od.md b/pages.ko/common/od.md new file mode 100644 index 00000000000000..beb2717fb5d0ac --- /dev/null +++ b/pages.ko/common/od.md @@ -0,0 +1,29 @@ +# od + +> 파일 내용을 8진수, 10진수 또는 16진수 형식으로 표시. +> 선택적으로 각 줄에 대한 바이트 오프셋 및/또는 인쇄 가능한 표현을 표시. +> 더 많은 정보: . + +- 기본 설정으로 파일 표시: 8진수 형식, 8바이트 단위로 줄바꿈, 8진수 바이트 오프셋, 중복 줄은 `*`로 대체: + +`od {{경로/대상/파일}}` + +- 자세한 모드로 파일 표시, 즉 중복 줄을 `*`로 대체하지 않음: + +`od {{[-v|--output-duplicates]}} {{경로/대상/파일}}` + +- 16진수 형식(2바이트 단위)으로 파일 표시, 10진수 형식의 바이트 오프셋: + +`od {{[-t|--format]}} {{x}} {{[-A|--address-radix]}} {{d}} {{[-v|--output-duplicates]}} {{경로/대상/파일}}` + +- 16진수 형식(1바이트 단위)으로 파일 표시, 4바이트 단위로 줄바꿈: + +`od {{[-t|--format]}} {{x1}} {{[-w|--width=]}}4 {{[-v|--output-duplicates]}} {{경로/대상/파일}}` + +- 16진수 형식과 문자 표현으로 파일 표시, 바이트 오프셋은 출력하지 않음: + +`od {{[-t|--format]}} {{xz}} {{[-A|--address-radix]}} {{n}} {{[-v|--output-duplicates]}} {{경로/대상/파일}}` + +- 500번째 바이트부터 시작하여 파일의 100바이트만 읽기: + +`od {{[-N|--read-bytes]}} 100 {{[-j|--skip-bytes]}} 500 {{[-v|--output-duplicates]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/odps-auth.md b/pages.ko/common/odps-auth.md new file mode 100644 index 00000000000000..6cf558051f3fab --- /dev/null +++ b/pages.ko/common/odps-auth.md @@ -0,0 +1,33 @@ +# odps auth + +> ODPS (Open Data Processing Service)에서 사용자 권한 관리. +> 같이 보기: `odps`. +> 더 많은 정보: . + +- 현재 프로젝트에 사용자 추가: + +`add user {{사용자명}};` + +- 사용자에게 권한 집합 부여: + +`grant {{작업_목록}} on {{객체_유형}} {{객체_이름}} to user {{사용자명}};` + +- 사용자의 권한 보기: + +`show grants for {{사용자명}};` + +- 사용자 역할 생성: + +`create role {{역할_이름}};` + +- 역할에 권한 집합 부여: + +`grant {{작업_목록}} on {{객체_유형}} {{객체_이름}} to role {{역할_이름}};` + +- 역할의 권한 설명: + +`desc role {{역할_이름}};` + +- 사용자에게 역할 부여: + +`grant {{역할_이름}} to {{사용자명}};` diff --git a/pages.ko/common/odps-func.md b/pages.ko/common/odps-func.md new file mode 100644 index 00000000000000..16dba1eaca9beb --- /dev/null +++ b/pages.ko/common/odps-func.md @@ -0,0 +1,21 @@ +# odps func + +> ODPS (Open Data Processing Service)에서 함수 관리. +> 같이 보기: `odps`. +> 더 많은 정보: . + +- 현재 프로젝트의 함수 표시: + +`list functions;` + +- `.jar` 리소스를 사용하여 Java 함수 생성: + +`create function {{함수_이름}} as {{경로.대상.패키지.Func}} using '{{패키지.jar}}';` + +- `.py` 리소스를 사용하여 Python 함수 생성: + +`create function {{함수_이름}} as {{스크립트.Func}} using '{{스크립트.py}}';` + +- 함수 삭제: + +`drop function {{함수_이름}};` diff --git a/pages.ko/common/odps-inst.md b/pages.ko/common/odps-inst.md new file mode 100644 index 00000000000000..0b2aae3385ce28 --- /dev/null +++ b/pages.ko/common/odps-inst.md @@ -0,0 +1,25 @@ +# odps inst + +> ODPS(오픈 데이터 프로세싱 서비스)에서 인스턴스를 관리합니다. +> 같이 보기: `odps`. +> 더 많은 정보: . + +- 현재 사용자가 생성한 인스턴스 보기: + +`show instances;` + +- 인스턴스의 세부 정보 설명: + +`desc instance {{인스턴스_ID}};` + +- 인스턴스 상태 확인: + +`status {{인스턴스_ID}};` + +- 인스턴스 종료를 대기하며 로그 및 진행 정보를 출력: + +`wait {{인스턴스_ID}};` + +- 인스턴스 종료: + +`kill {{인스턴스_ID}};` diff --git a/pages.ko/common/odps-resource.md b/pages.ko/common/odps-resource.md new file mode 100644 index 00000000000000..e90a51e0388dcd --- /dev/null +++ b/pages.ko/common/odps-resource.md @@ -0,0 +1,29 @@ +# odps resource + +> ODPS(Open Data Processing Service)에서 리소스를 관리. +> 같이 보기: `odps`. +> 더 많은 정보: . + +- 현재 프로젝트의 리소스 표시: + +`list resources;` + +- 파일 리소스 추가: + +`add file {{파일명}} as {{별칭}};` + +- 아카이브 리소스 추가: + +`add archive {{아카이브.tar.gz}} as {{별칭}};` + +- .jar 리소스 추가: + +`add jar {{패키지.jar}};` + +- .py 리소스 추가: + +`add py {{스크립트.py}};` + +- 리소스 삭제: + +`drop resource {{리소스_이름}};` diff --git a/pages.ko/common/odps-table.md b/pages.ko/common/odps-table.md new file mode 100644 index 00000000000000..12811e67d643c3 --- /dev/null +++ b/pages.ko/common/odps-table.md @@ -0,0 +1,25 @@ +# odps table + +> ODPS(Open Data Processing Service)에서 테이블을 생성하고 수정. +> 같이 보기: `odps`. +> 더 많은 정보: . + +- 파티션과 수명 주기가 있는 테이블 생성: + +`create table {{테이블_이름}} ({{열}} {{타입}}) partitioned by ({{열}} {{타입}}) lifecycle {{일수}};` + +- 다른 테이블의 정의를 기반으로 테이블 생성: + +`create table {{테이블_이름}} like {{다른_테이블}};` + +- 테이블에 파티션 추가: + +`alter table {{테이블_이름}} add partition ({{파티션_명세}});` + +- 테이블에서 파티션 삭제: + +`alter table {{테이블_이름}} drop partition ({{파티션_명세}});` + +- 테이블 삭제: + +`drop table {{테이블_이름}};` diff --git a/pages.ko/common/odps-tunnel.md b/pages.ko/common/odps-tunnel.md new file mode 100644 index 00000000000000..eb8d6271220261 --- /dev/null +++ b/pages.ko/common/odps-tunnel.md @@ -0,0 +1,21 @@ +# odps tunnel + +> ODPS(Open Data Processing Service)에서의 데이터 터널. +> 같이 보기: `odps`. +> 더 많은 정보: . + +- 테이블을 로컬 파일로 다운로드: + +`tunnel download {{테이블_이름}} {{경로/대상/파일}};` + +- 로컬 파일을 테이블 파티션에 업로드: + +`tunnel upload {{경로/대상/파일}} {{테이블_이름}}/{{파티션_사양}};` + +- 필드 및 레코드 구분자를 지정하여 테이블 업로드: + +`tunnel upload {{경로/대상/파일}} {{테이블_이름}} -fd {{필드_구분자}} -rd {{레코드_구분자}};` + +- 여러 스레드를 사용하여 테이블 업로드: + +`tunnel upload {{경로/대상/파일}} {{테이블_이름}} -threads {{스레드_수}};` diff --git a/pages.ko/common/odps.md b/pages.ko/common/odps.md new file mode 100644 index 00000000000000..4ebe07a81a2a1e --- /dev/null +++ b/pages.ko/common/odps.md @@ -0,0 +1,29 @@ +# odps + +> Aliyun ODPS (Open Data Processing Service) 명령줄 도구. +> `inst`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 사용자 지정 구성 파일로 명령줄 시작: + +`odpscmd --config={{odps_config.ini}}` + +- 현재 프로젝트 변경: + +`use {{프로젝트_이름}};` + +- 현재 프로젝트의 테이블 표시: + +`show tables;` + +- 테이블 설명: + +`desc {{테이블_이름}};` + +- 테이블 파티션 표시: + +`show partitions {{테이블_이름}};` + +- 파티션 설명: + +`desc {{테이블_이름}} partition ({{파티션_명세}});` diff --git a/pages.ko/common/offlineimap.md b/pages.ko/common/offlineimap.md new file mode 100644 index 00000000000000..cc07a6963eb560 --- /dev/null +++ b/pages.ko/common/offlineimap.md @@ -0,0 +1,16 @@ +# offlineimap + +> 원격 IMAP 서버를 로컬 Maildir 폴더와 동기화. +> 더 많은 정보: . + +- 자동 새로 고침 없이 한 번 동기화: + +`offlineimap -o` + +- 특정 계정 동기화: + +`offlineimap -a {{계정}}` + +- 특정 폴더 동기화: + +`offlineimap -f {{폴더}}` diff --git a/pages.ko/common/ogr2ogr.md b/pages.ko/common/ogr2ogr.md new file mode 100644 index 00000000000000..ac2727f96775fc --- /dev/null +++ b/pages.ko/common/ogr2ogr.md @@ -0,0 +1,28 @@ +# ogr2ogr + +> 지리공간 벡터 데이터를 파일 형식 간에 변환. +> 더 많은 정보: . + +- 쉐이프파일을 지오패키지로 변환: + +`ogr2ogr -f GPKG {{경로/대상/출력.gpkg}} {{경로/대상/입력.shp}}` + +- 조건에 맞는 특징만 포함하도록 GeoJSON 축소: + +`ogr2ogr -where '{{myProperty > 42}}' -f {{GeoJSON}} {{경로/대상/출력.geojson}} {{경로/대상/입력.geojson}}` + +- 지오패키지의 좌표 참조 시스템을 `EPSG:4326`에서 `EPSG:3857`로 변경: + +`ogr2ogr -s_srs {{EPSG:4326}} -t_srs {{EPSG:3857}} -f GPKG {{경로/대상/출력.gpkg}} {{경로/대상/입력.gpkg}}` + +- CSV 파일을 지오패키지로 변환하며 좌표 열의 이름을 지정하고 좌표 참조 시스템 할당: + +`ogr2ogr -f GPKG {{경로/대상/출력.gpkg}} {{경로/대상/입력.csv}} -oo X_POSSIBLE_NAMES={{경도}} -oo Y_POSSIBLE_NAMES={{위도}} -a_srs {{EPSG:4326}}` + +- 지오패키지를 PostGIS 데이터베이스로 로드: + +`ogr2ogr -f PostgreSQL PG:dbname="{{데이터베이스_이름}}" {{경로/대상/입력.gpkg}}` + +- 주어진 경계 상자로 지오패키지 파일의 레이어를 자르기: + +`ogr2ogr -spat {{최소_x}} {{최소_y}} {{최대_x}} {{최대_y}} -f GPKG {{경로/대상/출력.gpkg}} {{경로/대상/입력.gpkg}}` diff --git a/pages.ko/common/ogrinfo.md b/pages.ko/common/ogrinfo.md new file mode 100644 index 00000000000000..497df9841b976d --- /dev/null +++ b/pages.ko/common/ogrinfo.md @@ -0,0 +1,32 @@ +# ogrinfo + +> OGR 지원 데이터 소스에 대한 정보를 나열합니다. +> 더 많은 정보: . + +- 지원되는 형식 나열: + +`ogrinfo --formats` + +- 데이터 소스의 레이어 나열: + +`ogrinfo {{경로/대상/입력.gpkg}}` + +- 데이터 소스의 특정 레이어에 대한 자세한 정보 얻기: + +`ogrinfo {{경로/대상/입력.gpkg}} {{레이어_이름}}` + +- 데이터 소스의 특정 레이어에 대한 요약 정보 표시: + +`ogrinfo -so {{경로/대상/입력.gpkg}} {{레이어_이름}}` + +- 데이터 소스의 모든 레이어 요약 정보 표시: + +`ogrinfo -so -al {{경로/대상/입력.gpkg}}` + +- 조건에 맞는 피처의 자세한 정보 표시: + +`ogrinfo -where '{{속성_이름 > 42}}' {{경로/대상/입력.gpkg}} {{레이어_이름}}` + +- SQL을 사용하여 데이터 소스의 레이어 업데이트: + +`ogrinfo {{경로/대상/입력.geojson}} -dialect SQLite -sql "{{UPDATE input SET attribute_name = 'foo'}}"` diff --git a/pages.ko/common/ogrmerge.py.md b/pages.ko/common/ogrmerge.py.md new file mode 100644 index 00000000000000..89c13f1e0e8098 --- /dev/null +++ b/pages.ko/common/ogrmerge.py.md @@ -0,0 +1,16 @@ +# ogrmerge.py + +> 여러 벡터 데이터셋을 하나로 병합. +> 더 많은 정보: . + +- 각 입력 셰이프파일에 대해 레이어가 포함된 GeoPackage 생성: + +`ogrmerge.py -f {{GPKG}} -o {{경로/대상/출력.gpkg}} {{경로/대상/입력1.shp 경로/대상/입력2.shp ...}}` + +- 각 입력 GeoJSON에 대해 레이어가 포함된 가상 데이터 소스(VRT) 생성: + +`ogrmerge.py -f {{VRT}} -o {{경로/대상/출력.vrt}} {{경로/대상/입력1.geojson 경로/대상/입력2.geojson ...}}` + +- 두 벡터 데이터셋을 연결하고 속성 'source_name'에 데이터셋의 소스 이름 저장: + +`ogrmerge.py -single -f {{GeoJSON}} -o {{경로/대상/출력.geojson}} -src_layer_field_name country {{소스_이름}} {{경로/대상/입력1.shp 경로/대상/입력2.shp ...}}` diff --git a/pages.ko/common/ohdear-cli.md b/pages.ko/common/ohdear-cli.md new file mode 100644 index 00000000000000..6029673d10547c --- /dev/null +++ b/pages.ko/common/ohdear-cli.md @@ -0,0 +1,20 @@ +# ohdear-cli + +> Laravel Zero로 작성된 비공식 Oh Dear CLI. +> 더 많은 정보: . + +- 현재 인증된 사용자에 대한 세부 정보 표시: + +`ohdear-cli me` + +- Oh Dear에 새 사이트 추가: + +`ohdear-cli sites:add {{url}}` + +- 사이트 목록과 현재 상태 표시: + +`ohdear-cli sites:list` + +- 특정 사이트에 대한 세부 정보 표시: + +`ohdear-cli sites:show {{사이트_id}}` diff --git a/pages.ko/common/okular.md b/pages.ko/common/okular.md new file mode 100644 index 00000000000000..7803addf5c858d --- /dev/null +++ b/pages.ko/common/okular.md @@ -0,0 +1,28 @@ +# okular + +> 문서 보기. +> 더 많은 정보: . + +- 문서 뷰어 시작: + +`okular` + +- 특정 문서 열기: + +`okular {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 페이지에서 문서 열기: + +`okular --page {{페이지_번호}} {{경로/대상/파일}}` + +- 특정 문서를 프레젠테이션 모드에서 열기: + +`okular --presentation {{경로/대상/파일}}` + +- 특정 문서를 열고 인쇄 대화상자 시작: + +`okular --print {{경로/대상/파일}}` + +- 문서를 열고 특정 문자열 검색: + +`okular --find {{검색_문자열}} {{경로/대상/파일}}` diff --git a/pages.ko/common/ollama.md b/pages.ko/common/ollama.md new file mode 100644 index 00000000000000..a6e56cf905f932 --- /dev/null +++ b/pages.ko/common/ollama.md @@ -0,0 +1,37 @@ +# ollama + +> 대규모 언어 모델 실행기. +> 사용 가능한 모델 목록은 를 참조하세요. +> 더 많은 정보: . + +- 다른 명령을 실행하는 데 필요한 데몬 시작: + +`ollama serve` + +- 모델을 실행하고 대화: + +`ollama run {{모델}}` + +- 단일 프롬프트로 모델 실행: + +`ollama run {{모델}} {{프롬프트}}` + +- 다운로드된 모델 나열: + +`ollama list` + +- 특정 모델 가져오기/업데이트: + +`ollama pull {{모델}}` + +- 실행 중인 모델 나열: + +`ollama ps` + +- 모델 삭제: + +`ollama rm {{모델}}` + +- `Modelfile`로부터 모델 생성: + +`ollama create {{새_모델_이름}} -f {{경로/대상/Modelfile}}` diff --git a/pages.ko/common/omf.md b/pages.ko/common/omf.md new file mode 100644 index 00000000000000..93355d956d97d9 --- /dev/null +++ b/pages.ko/common/omf.md @@ -0,0 +1,29 @@ +# omf + +> Oh My Fish, Fishshell 프레임워크. +> fish 셸을 확장하고 수정하기 위한 패키지 설치. +> 더 많은 정보: . + +- 하나 이상의 패키지 설치: + +`omf install {{이름}}` + +- 설치된 패키지 나열: + +`omf list` + +- 사용 가능한 테마 나열: + +`omf theme` + +- 테마 적용: + +`omf theme {{이름}}` + +- 테마 또는 패키지 제거: + +`omf remove {{이름}}` + +- Oh My Fish 제거: + +`omf destroy` diff --git a/pages.ko/common/omz.md b/pages.ko/common/omz.md new file mode 100644 index 00000000000000..2faf8e868117aa --- /dev/null +++ b/pages.ko/common/omz.md @@ -0,0 +1,32 @@ +# omz + +> Oh My Zsh 명령줄 도구. +> 더 많은 정보: . + +- Oh My Zsh 업데이트: + +`omz update` + +- 최신 업데이트에서 변경된 사항 출력: + +`omz changelog` + +- 현재 Zsh 세션과 Oh My Zsh 다시 시작: + +`omz reload` + +- 사용 가능한 모든 플러그인 나열: + +`omz plugin list` + +- Oh My Zsh 플러그인 활성화/비활성화: + +`omz plugin {{enable|disable}} {{플러그인}}` + +- 사용 가능한 모든 테마 나열: + +`omz theme list` + +- `~/.zshrc`에서 Oh My Zsh 테마 설정: + +`omz theme set {{테마}}` diff --git a/pages.ko/common/onefetch.md b/pages.ko/common/onefetch.md new file mode 100644 index 00000000000000..b0835b5250b416 --- /dev/null +++ b/pages.ko/common/onefetch.md @@ -0,0 +1,36 @@ +# onefetch + +> 로컬 Git 저장소에 대한 프로젝트 정보 및 코드 통계를 표시. +> 더 많은 정보: . + +- 현재 작업 디렉토리의 Git 저장소에 대한 통계 표시: + +`onefetch` + +- 지정된 디렉토리의 Git 저장소에 대한 통계 표시: + +`onefetch {{경로/대상/폴더}}` + +- 봇에 의해 만들어진 커밋 무시: + +`onefetch --no-bots` + +- 병합 커밋 무시: + +`onefetch --no-merges` + +- 언어 로고의 ASCII 아트를 출력하지 않음: + +`onefetch --no-art` + +- `n`명의 작성자, 언어 또는 파일 변경량을 표시 (기본값: 각각 3, 6, 3): + +`onefetch --number-of-{{authors|languages|file-churns}} {{n}}` + +- 지정된 파일 및 디렉토리 무시: + +`onefetch {{[-e|--exclude]}} {{경로/대상/파일_또는_폴더|정규식}}` + +- 지정된 범주에서만 언어 감지 (기본값: 프로그래밍 및 마크업): + +`onefetch {{[-T|--type]}} {{programming|markup|prose|data}}` diff --git a/pages.ko/common/onionsearch.md b/pages.ko/common/onionsearch.md new file mode 100644 index 00000000000000..2e1bde6be541ea --- /dev/null +++ b/pages.ko/common/onionsearch.md @@ -0,0 +1,25 @@ +# onionsearch + +> 다양한 `.onion` 검색 엔진에서 URL을 스크랩. +> 참고: `onionsearch`는 `localhost:9050`에서 실행되는 Tor 프록시가 필요하며, `.onion` 웹사이트를 방문하려면 Tor 지원 브라우저가 필요합니다. +> 더 많은 정보: . + +- 모든 검색 엔진에서 결과 요청: + +`onionsearch "{{문자열}}"` + +- 특정 검색 엔진에서 검색 결과 요청: + +`onionsearch "{{문자열}}" --engines {{tor66 deeplink phobos ...}}` + +- 검색 시 특정 검색 엔진 제외: + +`onionsearch "{{문자열}}" --exclude {{candle ahmia ...}}` + +- 엔진당 로드할 페이지 수 제한: + +`onionsearch "{{stuxnet}}" --engines {{tor66 deeplink phobos ...}} --limit {{3}}` + +- 지원되는 모든 검색 엔진 나열: + +`onionsearch --help | grep -A1 -i "supported engines"` diff --git a/pages.ko/common/ooniprobe.md b/pages.ko/common/ooniprobe.md new file mode 100644 index 00000000000000..4b8b16aeb0cdee --- /dev/null +++ b/pages.ko/common/ooniprobe.md @@ -0,0 +1,33 @@ +# ooniprobe + +> 네트워크 간섭의 열린 관측소 (OONI). +> 웹사이트 및 앱 차단 여부를 테스트하세요. 네트워크의 속도 및 성능을 측정하세요. +> 더 많은 정보: . + +- 수행된 모든 테스트 나열: + +`ooniprobe list` + +- 특정 테스트에 대한 정보 표시: + +`ooniprobe list {{7}}` + +- 사용 가능한 모든 테스트 실행: + +`ooniprobe run all` + +- 특정 테스트 수행: + +`ooniprobe run {{performance}}` + +- 특정 웹사이트의 가용성 확인: + +`ooniprobe run websites --input {{https://ooni.org/}}` + +- 파일에 나열된 모든 웹사이트의 가용성 확인: + +`ooniprobe run websites --input-file {{경로/대상/my-websites.txt}}` + +- JSON 형식으로 테스트에 대한 자세한 정보 표시: + +`ooniprobe show {{9}}` diff --git a/pages.ko/common/op.md b/pages.ko/common/op.md new file mode 100644 index 00000000000000..acbc374029304a --- /dev/null +++ b/pages.ko/common/op.md @@ -0,0 +1,36 @@ +# op + +> 1Password의 데스크탑 앱을 위한 공식 CLI. +> 더 많은 정보: . + +- 1Password 계정에 로그인: + +`op signin` + +- 모든 금고 나열: + +`op vault list` + +- 항목 세부 정보를 JSON 형식으로 출력: + +`op item get {{항목_이름}} --format json` + +- 기본 금고에 카테고리를 지정하여 새 항목 생성: + +`op item create --category {{카테고리_이름}}` + +- 참조된 비밀을 `stdout`에 출력: + +`op read {{비밀_참조}}` + +- 내보낸 환경 변수에서 비밀 참조를 명령에 전달: + +`op run -- {{명령}}` + +- 환경 파일에서 비밀 참조를 명령에 전달: + +`op run --env-file {{경로/대상/환경_파일.env}} -- {{명령}}` + +- 파일에서 비밀 참조를 읽어 일반 텍스트 비밀을 파일에 저장: + +`op inject --in-file {{경로/대상/입력_파일}} --out-file {{경로/대상/출력_파일}}` diff --git a/pages.ko/common/opam.md b/pages.ko/common/opam.md new file mode 100644 index 00000000000000..566f356d8cb35f --- /dev/null +++ b/pages.ko/common/opam.md @@ -0,0 +1,37 @@ +# opam + +> OCaml 패키지 관리자. +> OCaml 컴파일러, 도구 및 라이브러리를 관리합니다. +> 더 많은 정보: . + +- 첫 사용을 위한 opam 초기화: + +`opam init` + +- 패키지 검색: + +`opam search {{쿼리}}` + +- 패키지 및 모든 의존성 설치: + +`opam install {{패키지}}` + +- 패키지에 대한 자세한 정보 표시: + +`opam show {{패키지}}` + +- 설치된 모든 패키지 나열: + +`opam list` + +- 로컬 패키지 데이터베이스 업데이트: + +`opam update` + +- 설치된 모든 패키지 업그레이드: + +`opam upgrade` + +- 도움말 표시: + +`opam help` diff --git a/pages.ko/common/open.fish.md b/pages.ko/common/open.fish.md new file mode 100644 index 00000000000000..4b16e100ca1dea --- /dev/null +++ b/pages.ko/common/open.fish.md @@ -0,0 +1,25 @@ +# open + +> 파일, 디렉토리 및 URI를 기본 애플리케이션으로 엽니다. +> 이 명령은 내장 `open` 명령이 없는 운영 체제(예: Haiku 및 macOS)에서 fish를 통해 사용할 수 있습니다. +> 더 많은 정보: . + +- 관련 애플리케이션으로 파일 열기: + +`open {{경로/대상/파일.ext}}` + +- 현재 디렉토리에서 주어진 확장자를 가진 모든 파일을 관련 애플리케이션으로 열기: + +`open {{*.ext}}` + +- 기본 파일 관리자로 디렉토리 열기: + +`open {{경로/대상/폴더}}` + +- 기본 웹 브라우저로 웹사이트 열기: + +`open {{https://example.com}}` + +- 처리할 수 있는 기본 애플리케이션으로 특정 URI 열기: + +`open {{tel:123}}` diff --git a/pages.ko/common/open.md b/pages.ko/common/open.md new file mode 100644 index 00000000000000..0e56f017e0b000 --- /dev/null +++ b/pages.ko/common/open.md @@ -0,0 +1,11 @@ +# open + +> `open`은 동일한 이름을 가진 여러 명령을 지칭할 수 있습니다. + +- macOS에서 사용 가능한 명령에 대한 문서 보기: + +`tldr open {{[-p|--platform]}} osx` + +- fish를 통해 사용 가능한 명령에 대한 문서 보기: + +`tldr open.fish` diff --git a/pages.ko/common/openai.md b/pages.ko/common/openai.md new file mode 100644 index 00000000000000..dd56f42561aae7 --- /dev/null +++ b/pages.ko/common/openai.md @@ -0,0 +1,20 @@ +# openai + +> OpenAI API에 접근할 수 있는 CLI 도구. +> 더 많은 정보: . + +- 모델 나열: + +`openai api models.list` + +- 완료 생성: + +`openai api completions.create --model {{ada}} --prompt "{{Hello world}}"` + +- 채팅 완료 생성: + +`openai api chat_completions.create --model {{gpt-3.5-turbo}} --message {{user "Hello world"}}` + +- DALL·E API를 통해 이미지 생성: + +`openai api image.create --prompt "{{two dogs playing chess, cartoon}}" --num-images {{1}}` diff --git a/pages.ko/common/openconnect.md b/pages.ko/common/openconnect.md new file mode 100644 index 00000000000000..c11df7c72feb81 --- /dev/null +++ b/pages.ko/common/openconnect.md @@ -0,0 +1,24 @@ +# openconnect + +> Cisco AnyConnect VPN 및 기타 VPN을 위한 VPN 클라이언트. +> 더 많은 정보: . + +- 서버에 연결: + +`openconnect {{vpn.example.org}}` + +- 백그라운드에서 실행되도록 서버에 연결: + +`openconnect --background {{vpn.example.org}}` + +- 백그라운드에서 실행 중인 연결 종료: + +`killall -SIGINT openconnect` + +- 설정 파일에서 옵션을 읽어 서버에 연결: + +`openconnect --config={{경로/대상/파일}} {{vpn.example.org}}` + +- 특정 SSL 클라이언트 인증서로 인증하여 서버에 연결: + +`openconnect --certificate={{경로/대상/파일}} {{vpn.example.org}}` diff --git a/pages.ko/common/openscad.md b/pages.ko/common/openscad.md new file mode 100644 index 00000000000000..b37c7d49c2017a --- /dev/null +++ b/pages.ko/common/openscad.md @@ -0,0 +1,16 @@ +# openscad + +> 솔리드 3D CAD 객체를 생성하는 소프트웨어. +> 더 많은 정보: . + +- 파일 열기: + +`openscad {{경로/대상/button.scad}}` + +- 파일을 STL로 변환: + +`openscad -o {{경로/대상/button.stl}} {{경로/대상/button.scad}}` + +- 특정 색 구성표로 파일을 PNG로 렌더링: + +`openscad -o {{경로/대상/button.png}} --colorscheme {{Sunset}} {{경로/대상/button.scad}}` diff --git a/pages.ko/common/openssl-dgst.md b/pages.ko/common/openssl-dgst.md new file mode 100644 index 00000000000000..6299a2c105a21b --- /dev/null +++ b/pages.ko/common/openssl-dgst.md @@ -0,0 +1,24 @@ +# openssl dgst + +> OpenSSL 명령어로, 메시지 다이제스트 값을 생성하고 서명 작업을 수행합니다. +> 더 많은 정보: . + +- 파일의 SHA256 다이제스트 값을 계산하여 특정 파일에 저장: + +`openssl dgst -sha256 -binary -out {{출력_파일}} {{입력_파일}}` + +- RSA 키를 사용하여 파일에 서명하고 결과를 특정 파일에 저장: + +`openssl dgst -sign {{개인_키_파일}} -sha256 -sigopt rsa_padding_mode:pss -out {{출력_파일}} {{입력_파일}}` + +- RSA 서명 검증: + +`openssl dgst -verify {{공개_키_파일}} -signature {{서명_파일}} -sigopt rsa_padding_mode:pss {{서명_메시지_파일}}` + +- ECDSA 키를 사용하여 파일에 서명: + +`openssl dgst -sign {{개인_키_파일}} -sha256 -out {{출력_파일}} {{입력_파일}}` + +- ECDSA 서명 검증: + +`openssl dgst -verify {{공개_키_파일}} -signature {{서명_파일}} {{서명_메시지_파일}}` diff --git a/pages.ko/common/openssl-genpkey.md b/pages.ko/common/openssl-genpkey.md new file mode 100644 index 00000000000000..32d8ee8910efaa --- /dev/null +++ b/pages.ko/common/openssl-genpkey.md @@ -0,0 +1,16 @@ +# openssl genpkey + +> 비대칭 키 쌍을 생성하는 OpenSSL 명령어. +> 더 많은 정보: . + +- 2048비트 RSA 개인 키 생성 및 특정 파일에 저장: + +`openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:{{2048}} -out {{파일이름.key}}` + +- 곡선 `prime256v1`을 사용하여 타원 곡선 개인 키 생성 및 특정 파일에 저장: + +`openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:{{prime256v1}} -out {{파일이름.key}}` + +- `ED25519` 타원 곡선 개인 키 생성 및 특정 파일에 저장: + +`openssl genpkey -algorithm {{ED25519}} -out {{파일이름.key}}` diff --git a/pages.ko/common/openssl-genrsa.md b/pages.ko/common/openssl-genrsa.md new file mode 100644 index 00000000000000..6183161a6d40e5 --- /dev/null +++ b/pages.ko/common/openssl-genrsa.md @@ -0,0 +1,16 @@ +# openssl genrsa + +> RSA 개인 키를 생성하는 OpenSSL 명령어. +> 더 많은 정보: . + +- 2048비트 RSA 개인 키를 `stdout`에 생성: + +`openssl genrsa` + +- 임의 비트 수의 RSA 개인 키를 출력 파일에 저장: + +`openssl genrsa -out {{출력_파일.key}} {{1234}}` + +- RSA 개인 키를 생성하고 AES256으로 암호화 (암호를 입력하라는 메시지가 표시됨): + +`openssl genrsa {{-aes256}}` diff --git a/pages.ko/common/openssl-prime.md b/pages.ko/common/openssl-prime.md new file mode 100644 index 00000000000000..9ebdc6db683acb --- /dev/null +++ b/pages.ko/common/openssl-prime.md @@ -0,0 +1,12 @@ +# openssl prime + +> 소수를 계산하기 위한 OpenSSL 명령어. +> 더 많은 정보: . + +- 2048비트 소수를 생성하고 16진수로 표시: + +`openssl prime -generate -bits 2048 -hex` + +- 주어진 숫자가 소수인지 확인: + +`openssl prime {{숫자}}` diff --git a/pages.ko/common/openssl-req.md b/pages.ko/common/openssl-req.md new file mode 100644 index 00000000000000..d340ec49108403 --- /dev/null +++ b/pages.ko/common/openssl-req.md @@ -0,0 +1,12 @@ +# openssl req + +> PKCS#10 인증서 서명 요청을 관리하는 OpenSSL 명령어. +> 더 많은 정보: . + +- 인증 기관에 보낼 인증서 서명 요청 생성: + +`openssl req -new -sha256 -key {{파일이름.key}} -out {{파일이름.csr}}` + +- 자체 서명된 인증서와 해당 키 쌍을 생성하여 파일에 저장: + +`openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{파일이름.key}} -out {{파일이름.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}` diff --git a/pages.ko/common/openssl-s_client.md b/pages.ko/common/openssl-s_client.md new file mode 100644 index 00000000000000..1ca74dcef76fad --- /dev/null +++ b/pages.ko/common/openssl-s_client.md @@ -0,0 +1,20 @@ +# openssl s_client + +> TLS 클라이언트 연결을 생성하는 OpenSSL 명령어. +> 더 많은 정보: . + +- 도메인 인증서의 시작 및 만료 날짜 표시: + +`openssl s_client -connect {{호스트}}:{{포트}} 2>/dev/null | openssl x509 -noout -dates` + +- SSL/TLS 서버에서 제공하는 인증서 표시: + +`openssl s_client -connect {{호스트}}:{{포트}} OpenSSL 명령어로 타임스탬프를 생성하고 검증합니다. +> 더 많은 정보: . + +- 특정 파일의 SHA-512 타임스탬프 요청을 생성하고 `file.tsq`에 출력: + +`openssl ts -query -data {{경로/대상/파일}} -sha512 -out {{경로/대상/파일.tsq}}` + +- 특정 타임스탬프 응답 파일의 날짜 및 메타데이터 확인: + +`openssl ts -reply -in {{경로/대상/파일.tsr}} -text` + +- SSL 인증서 파일을 사용하여 서버로부터 타임스탬프 요청 파일과 타임스탬프 응답 파일 검증: + +`openssl ts -verify -in {{경로/대상/파일.tsr}} -queryfile {{경로/대상/파일.tsq}} -partial_chain -CAfile {{경로/대상/cert.pem}}` + +- 키 및 서명 인증서를 사용하여 요청에 대한 타임스탬프 응답을 생성하고 `file.tsr`에 출력: + +`openssl ts -reply -queryfile {{경로/대상/파일.tsq}} -inkey {{경로/대상/tsakey.pem}} -signer tsacert.pem -out {{경로/대상/파일.tsr}}` diff --git a/pages.ko/common/openssl-x509.md b/pages.ko/common/openssl-x509.md new file mode 100644 index 00000000000000..e1341a564d5d6d --- /dev/null +++ b/pages.ko/common/openssl-x509.md @@ -0,0 +1,20 @@ +# openssl x509 + +> X.509 인증서를 관리하기 위한 OpenSSL 명령어. +> 더 많은 정보: . + +- 인증서 정보 표시: + +`openssl x509 -in {{파일이름.crt}} -noout -text` + +- 인증서 만료 날짜 표시: + +`openssl x509 -enddate -noout -in {{파일이름.pem}}` + +- 인증서를 이진 DER 인코딩과 텍스트 PEM 인코딩 간 변환: + +`openssl x509 -inform {{der}} -outform {{pem}} -in {{원본_인증서_파일}} -out {{변환된_인증서_파일}}` + +- 인증서의 공개 키를 파일에 저장: + +`openssl x509 -in {{인증서_파일}} -noout -pubkey -out {{출력_파일}}` diff --git a/pages.ko/common/openssl.md b/pages.ko/common/openssl.md new file mode 100644 index 00000000000000..e2d5900d18afa9 --- /dev/null +++ b/pages.ko/common/openssl.md @@ -0,0 +1,17 @@ +# openssl + +> OpenSSL 암호화 툴킷. +> `req`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 도움말 표시: + +`openssl help` + +- 특정 하위 명령에 대한 도움말 표시: + +`openssl help {{x509}}` + +- 버전 표시: + +`openssl version` diff --git a/pages.ko/common/openttd.md b/pages.ko/common/openttd.md new file mode 100644 index 00000000000000..20c90ed99443ce --- /dev/null +++ b/pages.ko/common/openttd.md @@ -0,0 +1,32 @@ +# openttd + +> Microprose 게임 "Transport Tycoon Deluxe"의 오픈 소스 클론. +> 더 많은 정보: . + +- 새 게임 시작: + +`openttd -g` + +- 시작 시 저장된 게임 불러오기: + +`openttd -g {{경로/대상/파일}}` + +- 지정된 창 해상도로 시작: + +`openttd -r {{1920x1080}}` + +- 사용자 정의 구성 파일로 시작: + +`openttd -c {{경로/대상/파일}}` + +- 선택된 비디오, 사운드, 음악 드라이버로 시작: + +`openttd -v {{비디오_드라이버}} -s {{사운드_드라이버}} -m {{음악_드라이버}}` + +- 백그라운드에서 포크된 전용 서버 시작: + +`openttd -f -D {{호스트}}:{{포트}}` + +- 비밀번호로 서버 참가: + +`openttd -n {{호스트}}:{{포트}}#{{플레이어_이름}} -p {{비밀번호}}` diff --git a/pages.ko/common/openvpn.md b/pages.ko/common/openvpn.md new file mode 100644 index 00000000000000..42253ce577afe0 --- /dev/null +++ b/pages.ko/common/openvpn.md @@ -0,0 +1,28 @@ +# openvpn + +> OpenVPN 클라이언트 및 데몬 바이너리. +> 더 많은 정보: . + +- 구성 파일을 사용하여 서버에 연결: + +`sudo openvpn {{경로/대상/클라이언트.conf}}` + +- bob.example.com 호스트에서 안전하지 않은 피어-투-피어 터널 설정 시도: + +`sudo openvpn --remote {{alice.example.com}} --dev {{tun1}} --ifconfig {{10.4.0.1}} {{10.4.0.2}}` + +- 암호화 없이 대기 중인 bob.example.com 호스트에 연결: + +`sudo openvpn --remote {{bob.example.com}} --dev {{tun1}} --ifconfig {{10.4.0.2}} {{10.4.0.1}}` + +- 암호화 키를 생성하고 파일에 저장: + +`openvpn --genkey secret {{경로/대상/키}}` + +- 고정 키를 사용하여 bob.example.com 호스트에서 피어-투-피어 터널 설정 시도: + +`sudo openvpn --remote {{alice.example.com}} --dev {{tun1}} --ifconfig {{10.4.0.1}} {{10.4.0.2}} --secret {{경로/대상/키}}` + +- bob.example.com에서 사용된 동일한 고정 키로 대기 중인 bob.example.com 호스트에 연결: + +`sudo openvpn --remote {{bob.example.com}} --dev {{tun1}} --ifconfig {{10.4.0.2}} {{10.4.0.1}} --secret {{경로/대상/키}}` diff --git a/pages.ko/common/opera.md b/pages.ko/common/opera.md new file mode 100644 index 00000000000000..113e55a2b620c7 --- /dev/null +++ b/pages.ko/common/opera.md @@ -0,0 +1,8 @@ +# opera + +> 이 명령은 `chromium`의 별칭입니다. +> 더 많은 정보: . + +- 원본 명령에 대한 문서 보기: + +`tldr chromium` diff --git a/pages.ko/common/opt.md b/pages.ko/common/opt.md new file mode 100644 index 00000000000000..a5a6f0d9d3c560 --- /dev/null +++ b/pages.ko/common/opt.md @@ -0,0 +1,16 @@ +# opt + +> LLVM 소스 파일을 최적화하고 분석합니다. +> 더 많은 정보: . + +- 비트코드 파일에 최적화 또는 분석 실행: + +`opt -{{패스명}} {{경로/대상/파일.bc}} -S -o {{파일_opt.bc}}` + +- 함수의 제어 흐름 그래프를 `.dot` 파일로 출력: + +`opt {{-dot-cfg}} -S {{경로/대상/파일.bc}} -disable-output` + +- 프로그램을 2단계로 최적화하고 결과를 다른 파일로 출력: + +`opt -O2 {{경로/대상/파일.bc}} -S -o {{경로/대상/출력_파일.bc}}` diff --git a/pages.ko/common/optipng.md b/pages.ko/common/optipng.md new file mode 100644 index 00000000000000..384423864df3da --- /dev/null +++ b/pages.ko/common/optipng.md @@ -0,0 +1,28 @@ +# optipng + +> PNG 파일 최적화 도구. +> 더 많은 정보: . + +- 기본 설정으로 PNG 압축: + +`optipng {{경로/대상/파일.png}}` + +- 최상의 압축으로 PNG 압축: + +`optipng -o{{7}} {{경로/대상/파일.png}}` + +- 가장 빠른 압축으로 PNG 압축: + +`optipng -o{{0}} {{경로/대상/파일.png}}` + +- PNG를 압축하고 인터레이싱 추가: + +`optipng -i {{1}} {{경로/대상/파일.png}}` + +- PNG를 압축하고 모든 메타데이터(파일 타임스탬프 포함) 보존: + +`optipng -preserve {{경로/대상/파일.png}}` + +- PNG를 압축하고 모든 메타데이터 제거: + +`optipng -strip all {{경로/대상/파일.png}}` diff --git a/pages.ko/common/opusenc.md b/pages.ko/common/opusenc.md new file mode 100644 index 00000000000000..4a429c0881b967 --- /dev/null +++ b/pages.ko/common/opusenc.md @@ -0,0 +1,20 @@ +# opusenc + +> WAV 또는 FLAC 오디오를 Opus로 변환. +> 더 많은 정보: . + +- 기본 옵션을 사용하여 WAV를 Opus로 변환: + +`opusenc {{경로/대상/입력.wav}} {{경로/대상/출력.opus}}` + +- 스테레오 오디오를 최고 품질 수준으로 변환: + +`opusenc --bitrate {{512}} {{경로/대상/입력.wav}} {{경로/대상/출력.opus}}` + +- 5.1 서라운드 사운드 오디오를 최고 품질 수준으로 변환: + +`opusenc --bitrate {{1536}} {{경로/대상/입력.flac}} {{경로/대상/출력.opus}}` + +- 음성 오디오를 최저 품질 수준으로 변환: + +`opusenc {{경로/대상/입력.wav}} --downmix-mono --bitrate {{6}} {{경로/대상/출력.opus}}` diff --git a/pages.ko/common/orca-c.md b/pages.ko/common/orca-c.md new file mode 100644 index 00000000000000..d169b436caae01 --- /dev/null +++ b/pages.ko/common/orca-c.md @@ -0,0 +1,37 @@ +# orca-c + +> ORCA 라이브 프로그래밍 환경의 C 포트. +> ORCA는 절차적 시퀀서를 생성하기 위한 난해한 프로그래밍 언어입니다. +> 더 많은 정보: . + +- 빈 작업 공간으로 ORCA 시작: + +`orca-c` + +- 특정 파일을 열며 ORCA 시작: + +`orca-c {{경로/대상/파일.orca}}` + +- 특정 템포로 ORCA 시작 (기본값은 120): + +`orca-c --bpm {{분당_비트수}}` + +- 그리드 크기를 설정하여 ORCA 시작: + +`orca-c --initial-size {{열}}x{{행}}` + +- 최대 실행 취소 단계 수를 설정하여 ORCA 시작 (기본값은 100): + +`orca-c --undo-limit {{제한}}` + +- ORCA 내부에서 메인 메뉴 표시: + +`` + +- ORCA 내부에서 모든 단축키 표시: + +`` + +- ORCA 내부에서 모든 ORCA 연산자 표시: + +`` diff --git a/pages.ko/common/osage.md b/pages.ko/common/osage.md new file mode 100644 index 00000000000000..a23cefb79f512f --- /dev/null +++ b/pages.ko/common/osage.md @@ -0,0 +1,25 @@ +# osage + +> `graphviz` 파일에서 `clustered` 네트워크 그래프 이미지를 렌더링. +> 레이아웃: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` 및 `patchwork`. +> 더 많은 정보: . + +- 입력 파일 이름과 출력 형식에 기반하여 파일 이름이 정해진 PNG 이미지 렌더링 (대문자 -O): + +`osage -T {{png}} -O {{경로/대상/입력.gv}}` + +- 지정된 출력 파일 이름으로 SVG 이미지 렌더링 (소문자 -o): + +`osage -T {{svg}} -o {{경로/대상/이미지.svg}} {{경로/대상/입력.gv}}` + +- PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, 또는 DOT 형식으로 출력 렌더링: + +`osage -T {{형식}} -O {{경로/대상/입력.gv}}` + +- `stdin`과 `stdout`을 사용하여 GIF 이미지 렌더링: + +`echo "{{digraph {this -> that} }}" | osage -T {{gif}} > {{경로/대상/이미지.gif}}` + +- 도움말 표시: + +`osage -?` diff --git a/pages.ko/common/osmium.md b/pages.ko/common/osmium.md new file mode 100644 index 00000000000000..330bba58bcc726 --- /dev/null +++ b/pages.ko/common/osmium.md @@ -0,0 +1,36 @@ +# osmium + +> OpenStreetMap (OSM) 파일을 처리하는 다목적 도구. +> 더 많은 정보: . + +- 파일 정보 표시: + +`osmium fileinfo {{경로/대상/입력.osm}}` + +- 내용 표시: + +`osmium show {{경로/대상/입력.osm}}` + +- 파일 형식을 PBF에서 XML로 변환: + +`osmium cat {{경로/대상/입력.osm.pbf}} -o {{경로/대상/출력.osm}}` + +- 주어진 경계 상자에 의해 지리적 영역 추출: + +`osmium extract -b {{최소_경도}},{{최소_위도}},{{최대_경도}},{{최대_위도}} {{경로/대상/입력.pbf}} -o {{경로/대상/출력.pbf}}` + +- GeoJSON 파일에 의해 지리적 영역 추출: + +`osmium extract -p {{경로/대상/다각형.geojson}} {{경로/대상/입력.pbf}} -o {{경로/대상/출력.pbf}}` + +- "restaurant"으로 태그된 모든 객체 필터링: + +`osmium tags-filter {{경로/대상/입력.pbf}} amenity=restaurant -o {{경로/대상/출력.pbf}}` + +- "highway"로 태그된 "way" 객체 필터링: + +`osmium tags-filter {{경로/대상/입력.pbf}} w/highway -o {{경로/대상/출력.pbf}}` + +- "building"으로 태그된 "way" 및 "relation" 객체 필터링: + +`osmium tags-filter {{경로/대상/입력.pbf}} wr/building -o {{경로/대상/출력.pbf}}` diff --git a/pages.ko/common/osv-scanner.md b/pages.ko/common/osv-scanner.md new file mode 100644 index 00000000000000..c62aa4b5a54257 --- /dev/null +++ b/pages.ko/common/osv-scanner.md @@ -0,0 +1,28 @@ +# osv-scanner + +> 다양한 매체에서 의존성을 스캔하고 OSV 데이터베이스와 대조합니다. +> 더 많은 정보: . + +- Docker 이미지를 스캔: + +`osv-scanner -D {{도커_이미지_이름}}` + +- 패키지 잠금 파일을 스캔: + +`osv-scanner -L {{경로/대상/잠금파일}}` + +- SBOM 파일을 스캔: + +`osv-scanner -S {{경로/대상/sbom_파일}}` + +- 여러 디렉토리를 재귀적으로 스캔: + +`osv-scanner -r {{디렉토리1 디렉토리2 ...}}` + +- Git 저장소 스캔 건너뛰기: + +`osv-scanner --skip-git {{-r|-D}} {{대상}}` + +- 결과를 JSON 형식으로 출력: + +`osv-scanner --json {{-D|-L|-S|-r}} {{대상}}` diff --git a/pages.ko/common/ouch.md b/pages.ko/common/ouch.md new file mode 100644 index 00000000000000..f4919551642eea --- /dev/null +++ b/pages.ko/common/ouch.md @@ -0,0 +1,20 @@ +# ouch + +> 파일 및 디렉터리를 압축하고 해제하는 명령줄 유틸리티. +> 더 많은 정보: . + +- 특정 파일 압축 해제: + +`ouch decompress {{경로/대상/아카이브.tar.xz}}` + +- 특정 위치에 파일 압축 해제: + +`ouch decompress {{경로/대상/아카이브.tar.xz}} --dir {{경로/대상/폴더}}` + +- 여러 파일 압축 해제: + +`ouch decompress {{경로/대상/아카이브1.tar 경로/대상/아카이브2.tar.gz ...}}` + +- 파일 압축: + +`ouch compress {{경로/대상/파일1 경로/대상/파일2 ...}} {{경로/대상/아카이브.zip}}` diff --git a/pages.ko/common/oxipng.md b/pages.ko/common/oxipng.md new file mode 100644 index 00000000000000..bc8c4869d14bea --- /dev/null +++ b/pages.ko/common/oxipng.md @@ -0,0 +1,36 @@ +# oxipng + +> PNG 파일의 압축을 무손실로 개선합니다. +> 더 많은 정보: . + +- PNG 파일 압축 (기본적으로 파일을 덮어씀): + +`oxipng {{경로/대상/파일.png}}` + +- PNG 파일을 압축하고 출력 파일을 새 파일로 저장: + +`oxipng --out {{경로/대상/출력.png}} {{경로/대상/파일.png}}` + +- 현재 디렉토리의 모든 PNG 파일을 다중 스레드를 사용하여 압축: + +`oxipng "*.png"` + +- 설정된 최적화 레벨로 파일 압축 (기본값은 2): + +`oxipng --opt {{0|1|2|3|4|5|6|max}} {{경로/대상/파일.png}}` + +- PNG 인터레이싱 유형 설정 (`0`은 인터레이싱 제거, `1`은 Adam7 인터레이싱 적용, `keep`은 기존 인터레이싱 유지; 기본값은 `0`): + +`oxipng --interlace {{0|1|keep}} {{경로/대상/파일.png}}` + +- 알파 채널이 있는 이미지에 추가 최적화 수행: + +`oxipng --alpha {{경로/대상/파일.png}}` + +- 더 느리지만 강력한 Zopfli 압축기를 최대 최적화로 사용: + +`oxipng --zopfli --opt max {{경로/대상/파일.png}}` + +- 모든 비중요 메타데이터 청크 제거: + +`oxipng --strip all {{경로/대상/파일.png}}` diff --git a/pages.ko/common/p10k.md b/pages.ko/common/p10k.md new file mode 100644 index 00000000000000..798d598bd2b944 --- /dev/null +++ b/pages.ko/common/p10k.md @@ -0,0 +1,16 @@ +# p10k + +> powerlevel10k의 구성을 관리. +> 더 많은 정보: . + +- powerlevel10k를 대화형으로 구성: + +`p10k configure` + +- powerlevel10k 다시 불러오기: + +`p10k reload` + +- 도움말 표시: + +`p10k help` diff --git a/pages.ko/common/p4.md b/pages.ko/common/p4.md new file mode 100644 index 00000000000000..abaca5e8ccaef7 --- /dev/null +++ b/pages.ko/common/p4.md @@ -0,0 +1,36 @@ +# p4 + +> Perforce 버전 관리 시스템. +> 더 많은 정보: . + +- Perforce 서비스에 로그인: + +`p4 login -a` + +- 클라이언트 생성: + +`p4 client` + +- 저장소에서 클라이언트 작업 공간으로 파일 복사: + +`p4 sync` + +- 변경 목록 설명 생성 또는 편집: + +`p4 change` + +- 파일을 편집을 위해 열기: + +`p4 edit -c {{변경_목록_번호}} {{경로/대상/파일}}` + +- 새 파일을 열어 저장소에 추가: + +`p4 add` + +- 변경 목록에 의해 수정된 파일 목록 표시: + +`p4 describe -c {{변경_목록_번호}}` + +- 변경 목록을 저장소에 제출: + +`p4 submit -c {{변경_목록_번호}}` diff --git a/pages.ko/common/p5.md b/pages.ko/common/p5.md new file mode 100644 index 00000000000000..75f376615e0329 --- /dev/null +++ b/pages.ko/common/p5.md @@ -0,0 +1,20 @@ +# p5 + +> p5.js를 위한 템플릿 빌더 및 스케치 관리자. +> 더 많은 정보: . + +- 새로운 p5 컬렉션 생성: + +`p5 new {{컬렉션_이름}}` + +- 새로운 p5 프로젝트 생성 (컬렉션 디렉토리에서 실행해야 함): + +`p5 generate {{프로젝트_이름}}` + +- p5 관리자 서버 실행: + +`p5 server` + +- 라이브러리를 최신 버전으로 업데이트: + +`p5 update` diff --git a/pages.ko/common/p7zip.md b/pages.ko/common/p7zip.md new file mode 100644 index 00000000000000..e4b6c841d547b0 --- /dev/null +++ b/pages.ko/common/p7zip.md @@ -0,0 +1,25 @@ +# p7zip + +> 높은 압축률을 자랑하는 7-Zip 파일 압축기의 래퍼. +> 내부적으로 7za 또는 7zr 명령을 실행합니다. +> 더 많은 정보: . + +- 파일을 아카이브하고 7z로 압축된 버전으로 대체: + +`p7zip {{경로/대상/파일}}` + +- 파일을 아카이브하고 입력 파일 유지: + +`p7zip -k {{경로/대상/파일}}` + +- 파일을 해제압축하고 원본 비압축 버전으로 대체: + +`p7zip -d {{압축된_파일.ext}}.7z` + +- 파일을 해제압축하고 입력 파일 유지: + +`p7zip -d -k {{압축된_파일.ext}}.7z` + +- 일부 검사를 건너뛰고 압축 또는 해제압축 강제 실행: + +`p7zip -f {{경로/대상/파일}}` diff --git a/pages.ko/common/paci.md b/pages.ko/common/paci.md new file mode 100644 index 00000000000000..8a4d5bcfea9820 --- /dev/null +++ b/pages.ko/common/paci.md @@ -0,0 +1,24 @@ +# paci + +> Bash 스크립트를 위한 패키지 관리자. +> 더 많은 정보: . + +- 사용 가능한 패키지 및 버전 목록 업데이트 (다른 `paci` 명령어를 실행하기 전에 이 명령어를 실행하는 것이 권장됨): + +`paci refresh` + +- 동작 설정 구성: + +`paci configure` + +- 특정 패키지 검색: + +`paci search {{패키지}}` + +- 패키지 설치: + +`paci install {{패키지}}` + +- 패키지 업데이트: + +`paci update {{패키지}}` diff --git a/pages.ko/common/packer.md b/pages.ko/common/packer.md new file mode 100644 index 00000000000000..c3988859cb6358 --- /dev/null +++ b/pages.ko/common/packer.md @@ -0,0 +1,16 @@ +# packer + +> 자동화된 머신 이미지를 빌드. +> 더 많은 정보: . + +- 이미지 빌드: + +`packer build {{경로/대상/config.json}}` + +- Packer 이미지 구성의 구문 확인: + +`packer validate {{경로/대상/config.json}}` + +- Packer 이미지 구성 포맷: + +`packer fmt {{경로/대상/config.pkr.hcl}}` diff --git a/pages.ko/common/packtpub.md b/pages.ko/common/packtpub.md new file mode 100644 index 00000000000000..1aac4c5e10d088 --- /dev/null +++ b/pages.ko/common/packtpub.md @@ -0,0 +1,32 @@ +# packtpub + +> packtpub.com에서 무료로 제공되는 책을 다운로드. +> 더 많은 정보: . + +- 지정한 책 형식(기본값은 `pdf`)으로 오늘의 제공 책을 현재 디렉토리에 다운로드: + +`packtpub download --type {{pdf|ebup|mobi}}` + +- 오늘의 제공 책을 지정한 디렉토리에 다운로드: + +`packtpub download --dir {{경로/대상/폴더}}` + +- packtpub.com에 대한 대화형 로그인 시작: + +`packtpub login` + +- packtpub.com에서 로그아웃: + +`packtpub logout` + +- 오늘의 제공 정보 표시: + +`packtpub view-offer` + +- 기본 웹 브라우저에서 오늘의 제공 열기: + +`packtpub view-offer` + +- 현재 로그인된 사용자 표시: + +`packtpub whoami` diff --git a/pages.ko/common/packwiz.md b/pages.ko/common/packwiz.md new file mode 100644 index 00000000000000..29db328266fd86 --- /dev/null +++ b/pages.ko/common/packwiz.md @@ -0,0 +1,24 @@ +# packwiz + +> Minecraft 모드팩을 생성, 편집 및 관리. +> 더 많은 정보: . + +- 현재 디렉토리에서 대화식으로 새로운 모드팩 생성: + +`packwiz init` + +- Modrinth 또는 Curseforge에서 모드 추가: + +`packwiz {{modrinth|curseforge}} add {{url|slug|검색_용어}}` + +- 모드팩의 모든 모드 나열: + +`packwiz list` + +- 파일을 수동으로 편집한 후 `index.toml` 업데이트: + +`packwiz refresh` + +- Modrinth (`.mrpack`) 또는 Curseforge (Zip) 파일로 내보내기: + +`packwiz {{modrinth|curseforge}} export` diff --git a/pages.ko/common/pactl.md b/pages.ko/common/pactl.md new file mode 100644 index 00000000000000..7c0a63d016d5ab --- /dev/null +++ b/pages.ko/common/pactl.md @@ -0,0 +1,28 @@ +# pactl + +> 실행 중인 PulseAudio 사운드 서버 제어. +> 더 많은 정보: . + +- 사운드 서버 정보 표시: + +`pactl info` + +- 모든 싱크(또는 다른 유형 - 싱크는 출력이고 싱크 입력은 활성 오디오 스트림) 나열: + +`pactl list {{sinks}} short` + +- 기본 싱크(출력)를 1로 변경 (번호는 `list` 하위 명령을 통해 확인 가능): + +`pactl set-default-sink {{1}}` + +- 싱크 입력 627을 싱크 1로 이동: + +`pactl move-sink-input {{627}} {{1}}` + +- 싱크 1의 볼륨을 75%로 설정: + +`pactl set-sink-volume {{1}} {{0.75}}` + +- 기본 싱크의 음소거 전환 (특수 이름 `@DEFAULT_SINK@` 사용): + +`pactl set-sink-mute {{@DEFAULT_SINK@}} toggle` diff --git a/pages.ko/common/pageres.md b/pages.ko/common/pageres.md new file mode 100644 index 00000000000000..f92883df9210a4 --- /dev/null +++ b/pages.ko/common/pageres.md @@ -0,0 +1,28 @@ +# pageres + +> 다양한 해상도로 웹사이트의 스크린샷을 캡처. +> 더 많은 정보: . + +- 여러 URL의 다양한 해상도로 스크린샷 촬영: + +`pageres {{https://example.com/}} {{https://example2.com/}} {{1366x768}} {{1600x900}}` + +- 특정 URL에 대해 글로벌 옵션을 무시하고 특정 옵션 제공: + +`pageres [{{https://example.com/}} {{1366x768}} --no-crop] [{{https://example2.com/}} {{1024x768}}] --crop` + +- 사용자 정의 파일명 템플릿 제공: + +`pageres {{https://example.com/}} {{1024x768}} --filename={{'<%= date %> - <%= url %>'}}` + +- 페이지의 특정 요소 캡처: + +`pageres {{https://example.com/}} {{1366x768}} --selector='{{.page-header}}'` + +- 특정 요소 숨기기: + +`pageres {{https://example.com/}} {{1366x768}} --hide='{{.page-header}}'` + +- 로컬 파일의 스크린샷 캡처: + +`pageres {{local_file_path.html}} {{1366x768}}` diff --git a/pages.ko/common/pake.md b/pages.ko/common/pake.md new file mode 100644 index 00000000000000..1d37c5c3e02f6d --- /dev/null +++ b/pages.ko/common/pake.md @@ -0,0 +1,28 @@ +# pake + +> Rust/Tauri를 사용하여 웹페이지를 데스크탑 앱으로 변환. +> 더 많은 정보: . + +- 웹페이지 패키징: + +`pake {{https://www.google.com/}}` + +- 특정 창 크기로 웹페이지 패키징: + +`pake --width {{800}} --height {{600}} {{https://www.google.com/}}` + +- 사용자 지정 애플리케이션 이름과 아이콘으로 웹페이지 패키징: + +`pake --name {{Google}} --icon {{경로/대상/icon.ico}} {{https://www.google.com/}}` + +- 크기 조정이 불가능한 창으로 웹페이지 패키징: + +`pake --no-resizable {{https://www.google.com/}}` + +- 전체 화면 모드로 웹페이지 패키징: + +`pake --fullscreen {{https://www.google.com/}}` + +- 투명한 타이틀 바로 웹페이지 패키징: + +`pake --transparent {{https://www.google.com/}}` diff --git a/pages.ko/common/palmtopnm.md b/pages.ko/common/palmtopnm.md new file mode 100644 index 00000000000000..b0c9669304fc3b --- /dev/null +++ b/pages.ko/common/palmtopnm.md @@ -0,0 +1,24 @@ +# palmtopnm + +> Palm 비트맵 파일을 PNM 이미지로 변환. +> 더 많은 정보: . + +- Palm 비트맵을 PNM 이미지로 변환: + +`palmtopnm {{경로/대상/파일.palm}} > {{경로/대상/파일.pnm}}` + +- 입력 파일에 대한 정보 표시: + +`palmtopnm -verbose {{경로/대상/파일.palm}} > {{경로/대상/파일.pnm}}` + +- 입력 파일에 포함된 이미지의 n번째 렌디션 변환: + +`palmtopnm -rendition {{n}} {{경로/대상/파일.palm}} > {{경로/대상/파일.pnm}}` + +- 입력 파일의 색상 히스토그램을 `stdout`에 출력: + +`palmtopnm -showhist {{경로/대상/파일.palm}} > {{경로/대상/파일.pnm}}` + +- 설정된 경우 입력 이미지의 투명 색상 출력: + +`palmtopnm -transparent {{경로/대상/파일.palm}}` diff --git a/pages.ko/common/pamarith.md b/pages.ko/common/pamarith.md new file mode 100644 index 00000000000000..182ec347b418f3 --- /dev/null +++ b/pages.ko/common/pamarith.md @@ -0,0 +1,9 @@ +# pamarith + +> 두 개의 Netpbm 이미지에 이진 함수를 적용. +> 같이 보기: `pamfunc`. +> 더 많은 정보: . + +- 지정된 이진 함수를 두 이미지에 대해 픽셀 단위로 적용 (이미지는 반드시 동일한 크기여야 함): + +`pamarith -{{add|subtract|multiply|divide|difference|minimum|maximum|...}} {{경로/대상/이미지1.pam|pbm|pgm|ppm}} {{경로/대상/이미지2.pam|pbm|pgm|ppm}}` diff --git a/pages.ko/common/pambackground.md b/pages.ko/common/pambackground.md new file mode 100644 index 00000000000000..f8ed3ec2a0caaf --- /dev/null +++ b/pages.ko/common/pambackground.md @@ -0,0 +1,9 @@ +# pambackground + +> PAM 이미지의 배경 마스크 생성. +> 같이 보기: `pbmmask`. +> 더 많은 정보: . + +- PAM 이미지에서 배경 마스크 생성: + +`pambackground {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pambrighten.md b/pages.ko/common/pambrighten.md new file mode 100644 index 00000000000000..7763bd9b480002 --- /dev/null +++ b/pages.ko/common/pambrighten.md @@ -0,0 +1,12 @@ +# pambrighten + +> PAM 이미지의 채도와 명도를 변경. +> 더 많은 정보: . + +- 각 픽셀의 채도를 지정된 백분율만큼 증가: + +`pambrighten {{[-s|-saturation]}} {{백분율_값}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` + +- 각 픽셀의 명도(HSV 색상 공간에서)를 지정된 백분율만큼 증가: + +`pambrighten {{[-va|-value]}} {{백분율_값}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamcomp.md b/pages.ko/common/pamcomp.md new file mode 100644 index 00000000000000..07b682b73dcac0 --- /dev/null +++ b/pages.ko/common/pamcomp.md @@ -0,0 +1,20 @@ +# pamcomp + +> 두 개의 PAM 이미지를 오버레이. +> 더 많은 정보: . + +- 오버레이가 아래 부분을 가리도록 두 이미지를 오버레이: + +`pamcomp {{경로/대상/오버레이.pam}} {{경로/대상/언더레이.pam}} > {{경로/대상/출력.pam}}` + +- 오버레이의 수평 정렬 설정: + +`pamcomp {{[-ali|-align]}} {{left|center|right|beyondleft|beyondright}} {{[-x|-xoff]}} {{수평_오프셋}} {{경로/대상/오버레이.pam}} {{경로/대상/언더레이.pam}} > {{경로/대상/출력.pam}}` + +- 오버레이의 수직 정렬 설정: + +`pamcomp {{[-va|-valign]}} {{top|middle|bottom|above|below}} {{[-y|-yoff]}} {{수직_오프셋}} {{경로/대상/오버레이.pam}} {{경로/대상/언더레이.pam}} > {{경로/대상/출력.pam}}` + +- 오버레이의 불투명도 설정: + +`pamcomp {{[-o|-opacity]}} {{0.7}} {{경로/대상/오버레이.pam}} {{경로/대상/언더레이.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamcrater.md b/pages.ko/common/pamcrater.md new file mode 100644 index 00000000000000..57d161f7db0630 --- /dev/null +++ b/pages.ko/common/pamcrater.md @@ -0,0 +1,13 @@ +# pamcrater + +> 분화구가 있는 지형의 PAM 이미지를 생성합니다. +> 같이 보기: `pamshadedrelief`, `ppmrelief`. +> 더 많은 정보: . + +- 지정된 크기의 분화구 지형 이미지를 생성: + +`pamcrater {{[-h|-height]}} {{높이}} {{[-w|-width]}} {{너비}} > {{경로/대상/출력.pam}}` + +- 지정된 개수의 분화구를 포함한 이미지 생성: + +`pamcrater {{[-n|-number]}} {{분화구_개수}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamcut.md b/pages.ko/common/pamcut.md new file mode 100644 index 00000000000000..d5e90fe092789f --- /dev/null +++ b/pages.ko/common/pamcut.md @@ -0,0 +1,17 @@ +# pamcut + +> Netpbm 이미지에서 직사각형 영역을 잘라내기. +> 같이 보기: `pamcrop`, `pamdice`, `pamcomp`. +> 더 많은 정보: . + +- 이미지의 양쪽에서 지정된 열/행 수만큼 잘라내기: + +`pamcut {{[-cropl|-cropleft]}} {{값}} {{[-cropr|-cropright]}} {{값}} {{[-cropt|-croptop]}} {{값}} {{[-cropb|-cropbottom]}} {{값}} {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` + +- 지정된 열 사이의 열만 유지하기 (포함): + +`pamcut {{[-l|-left]}} {{값}} {{[-ri|-right]}} {{값}} {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` + +- 지정된 직사각형이 입력 이미지 내에 완전히 포함되지 않을 경우, 누락된 영역을 검은색 픽셀로 채우기: + +`pamcut {{[-t|-top]}} {{값}} {{[-b|-bottom]}} {{값}} -pad {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pamdeinterlace.md b/pages.ko/common/pamdeinterlace.md new file mode 100644 index 00000000000000..8ac40a008276f8 --- /dev/null +++ b/pages.ko/common/pamdeinterlace.md @@ -0,0 +1,13 @@ +# pamdeinterlace + +> Netpbm 이미지에서 격자 모양으로 행을 제거. +> 같이 보기: `pammixinterlace`. +> 더 많은 정보: . + +- 입력 이미지의 짝수 행으로 구성된 이미지 생성: + +`pamdeinterlace {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` + +- 입력 이미지의 홀수 행으로 구성된 이미지 생성: + +`pamdeinterlace {{[-takeo|-takeodd]}} {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pamdepth.md b/pages.ko/common/pamdepth.md new file mode 100644 index 00000000000000..8cea1cdfd72c07 --- /dev/null +++ b/pages.ko/common/pamdepth.md @@ -0,0 +1,8 @@ +# pamdepth + +> 이미지의 깊이(즉, 색상 해상도)를 줄이는 도구. +> 더 많은 정보: . + +- PBM 이미지를 읽고, 최대값을 설정하여 파일로 저장: + +`pamdepth {{최대값}} {{경로/대상/이미지.pbm}} > {{경로/대상/파일.pbm}}` diff --git a/pages.ko/common/pamdice.md b/pages.ko/common/pamdice.md new file mode 100644 index 00000000000000..59acdf4bc35743 --- /dev/null +++ b/pages.ko/common/pamdice.md @@ -0,0 +1,13 @@ +# pamdice + +> Netpbm 이미지를 수직 또는 수평으로 자르기. +> 같이 보기: `pamundice`. +> 더 많은 정보: . + +- 결과 타일이 지정된 높이와 너비를 가지도록 Netpbm 이미지 자르기: + +`pamdice {{[-o|-outstem]}} {{경로/대상/파일명_스템}} {{[-h|-height]}} {{값}} {{[-w|-width]}} {{값}} {{경로/대상/입력.ppm}}` + +- 생성된 조각을 지정된 양만큼 수평 및 수직으로 겹치도록 만들기: + +`pamdice {{[-o|-outstem]}} {{경로/대상/파일명_스템}} {{[-h|-height]}} {{값}} {{[-w|-width]}} {{값}} {{[-ho|-hoverlap]}} {{값}} {{[-vo|-voverlap]}} {{값}} {{경로/대상/입력.ppm}}` diff --git a/pages.ko/common/pamditherbw.md b/pages.ko/common/pamditherbw.md new file mode 100644 index 00000000000000..9293775bdcc2e4 --- /dev/null +++ b/pages.ko/common/pamditherbw.md @@ -0,0 +1,21 @@ +# pamditherbw + +> 그레이스케일 이미지에 디더링을 적용하여 원래의 그레이스케일과 동일하게 보이는 흑백 픽셀 패턴으로 변환. +> 같이 보기: `pbmreduce`. +> 더 많은 정보: . + +- PGM 이미지를 읽고 디더링을 적용하여 파일로 저장: + +`pamditherbw {{경로/대상/image.pgm}} > {{경로/대상/파일.pgm}}` + +- 지정된 양자화 방법 사용: + +`pamditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{경로/대상/image.pgm}} > {{경로/대상/파일.pgm}}` + +- atkinson 양자화 방법과 지정된 시드를 사용하여 의사 난수 생성기 사용: + +`pamditherbw {{[-a|-atkinson]}} {{[-r|-randomseed]}} {{1337}} {{경로/대상/image.pgm}} > {{경로/대상/파일.pgm}}` + +- 특정 형태의 임계값 처리를 수행하는 양자화 방법을 위한 임계값 지정: + +`pamditherbw -{{fs|atkinson|thresholding}} {{[-va|-value]}} {{0.3}} {{경로/대상/image.pgm}} > {{경로/대상/파일.pgm}}` diff --git a/pages.ko/common/pamedge.md b/pages.ko/common/pamedge.md new file mode 100644 index 00000000000000..52e455a896a771 --- /dev/null +++ b/pages.ko/common/pamedge.md @@ -0,0 +1,8 @@ +# pamedge + +> Netpbm 이미지에서 에지 감지를 수행합니다. +> 더 많은 정보: . + +- Netpbm 이미지에서 에지 감지 수행: + +`pamedge {{경로/대상/input.pam}} > {{경로/대상/output.pam}}` diff --git a/pages.ko/common/pamenlarge.md b/pages.ko/common/pamenlarge.md new file mode 100644 index 00000000000000..6c708cd5845d0e --- /dev/null +++ b/pages.ko/common/pamenlarge.md @@ -0,0 +1,13 @@ +# pamenlarge + +> 픽셀을 복제하여 PAM 이미지를 확대합니다. +> 같이 보기: `pbmreduce`, `pamditherbw`, `pbmpscale`. +> 더 많은 정보: . + +- 지정된 이미지를 주어진 배율로 확대: + +`pamenlarge {{[-s|-scale]}} {{n}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` + +- 지정된 이미지를 가로 및 세로로 주어진 배율로 확대: + +`pamenlarge {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamexec.md b/pages.ko/common/pamexec.md new file mode 100644 index 00000000000000..0b1f35029d1c50 --- /dev/null +++ b/pages.ko/common/pamexec.md @@ -0,0 +1,13 @@ +# pamexec + +> Netpbm 파일의 각 이미지에 대해 셸 명령을 실행. +> 같이 보기: `pamfile`, `pampick`, `pamsplit`. +> 더 많은 정보: . + +- Netpbm 파일의 각 이미지에 대해 셸 명령 실행: + +`pamexec {{명령}} {{경로/대상/이미지.pam}}` + +- 명령이 비정상 종료 상태로 종료되면 처리를 중단: + +`pamexec {{명령}} {{경로/대상/이미지.pam}} {{[-c|-check]}}` diff --git a/pages.ko/common/pamfile.md b/pages.ko/common/pamfile.md new file mode 100644 index 00000000000000..06ec35afa5b079 --- /dev/null +++ b/pages.ko/common/pamfile.md @@ -0,0 +1,16 @@ +# pamfile + +> Netpbm (PAM 또는 PNM) 파일 설명. +> 더 많은 정보: . + +- 지정된 Netpbm 파일 설명: + +`pamfile {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 각 입력 파일의 모든 이미지를 설명(각 파일의 첫 번째 이미지만이 아닌 모든 이미지)하고 기계 판독 가능한 형식으로 출력: + +`pamfile {{[-a|-allimages]}} -machine {{경로/대상/파일}}` + +- 입력 파일에 포함된 이미지 수를 표시: + +`pamfile {{[-cou|-count]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/pamfix.md b/pages.ko/common/pamfix.md new file mode 100644 index 00000000000000..5e523958cf8640 --- /dev/null +++ b/pages.ko/common/pamfix.md @@ -0,0 +1,17 @@ +# pamfix + +> PAM, PBM, PGM 및 PPM 파일의 오류를 수정합니다. +> 같이 보기: `pamfile`, `pamvalidate`. +> 더 많은 정보: . + +- 마지막 부분이 손상된 Netpbm 파일 수정: + +`pamfix {{[-t|-truncate]}} {{경로/대상/손상된_파일.ext}} > {{경로/대상/출력_파일.ext}}` + +- 이미지의 `maxval`을 초과하는 픽셀 값을 낮추어 수정: + +`pamfix {{[-cl|-clip]}} {{경로/대상/손상된_파일.ext}} > {{경로/대상/출력_파일.ext}}` + +- 이미지의 `maxval`을 초과하는 픽셀 값을 증가시켜 수정: + +`pamfix {{[-ch|-changemaxval]}} {{경로/대상/손상된.pam|pbm|pgm|ppm}} > {{경로/대상/출력.pam|pbm|pgm|ppm}}` diff --git a/pages.ko/common/pamfixtrunc.md b/pages.ko/common/pamfixtrunc.md new file mode 100644 index 00000000000000..effad453f577ca --- /dev/null +++ b/pages.ko/common/pamfixtrunc.md @@ -0,0 +1,8 @@ +# pamfixtrunc + +> 이 명령은 `pamfix -truncate`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamfix` diff --git a/pages.ko/common/pamflip.md b/pages.ko/common/pamflip.md new file mode 100644 index 00000000000000..d48f05cad6c920 --- /dev/null +++ b/pages.ko/common/pamflip.md @@ -0,0 +1,20 @@ +# pamflip + +> PAM 또는 PNM 이미지를 뒤집거나 회전. +> 더 많은 정보: . + +- 입력 이미지를 특정 각도로 반시계 방향으로 회전: + +`pamflip {{[-r|-rotate]}}{{90|180|270}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 왼쪽과 오른쪽을 뒤집기: + +`pamflip {{[-lr|-leftright]}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 위쪽과 아래쪽을 뒤집기: + +`pamflip {{[-tb|-topbottom]}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 입력 이미지를 주 대각선으로 뒤집기: + +`pamflip {{[-xy|-transpose]}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamfunc.md b/pages.ko/common/pamfunc.md new file mode 100644 index 00000000000000..b3adb071d53578 --- /dev/null +++ b/pages.ko/common/pamfunc.md @@ -0,0 +1,12 @@ +# pamfunc + +> Netpbm 이미지에 간단한 산술 함수를 적용. +> 더 많은 정보: . + +- 지정된 PAM 이미지의 각 샘플에 `n`을 두 번째 인수로 하여 지정된 산술 함수 적용: + +`pamfunc -{{multiplier|divisor|adder|subtractor|min|max}} {{n}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 지정된 PAM 이미지의 각 샘플에 `n`을 두 번째 인수로 하여 지정된 비트 문자열 함수 적용: + +`pamfunc -{{andmask|ormask|xormask|shiftleft|shiftright}} {{n}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamixer.md b/pages.ko/common/pamixer.md new file mode 100644 index 00000000000000..dd7dcda33092a0 --- /dev/null +++ b/pages.ko/common/pamixer.md @@ -0,0 +1,32 @@ +# pamixer + +> PulseAudio를 위한 간단한 커맨드라인 믹서. +> 더 많은 정보: . + +- 모든 싱크 및 소스를 해당 ID와 함께 나열: + +`pamixer --list-sinks --list-sources` + +- 기본 싱크의 볼륨을 75%로 설정: + +`pamixer --set-volume {{75}}` + +- 기본이 아닌 싱크 음소거 전환: + +`pamixer --toggle-mute --sink {{ID}}` + +- 기본 싱크의 볼륨을 5% 증가: + +`pamixer {{[-i|--increase]}} {{5}}` + +- 소스의 볼륨을 5% 감소: + +`pamixer {{[-d|--decrease]}} {{5}} --source {{ID}}` + +- 100% 이상으로 볼륨을 증가, 감소 또는 설정하기 위해 부스트 허용 옵션 사용: + +`pamixer --set-volume {{105}} --allow-boost` + +- 기본 싱크 음소거 (`--unmute`를 사용하여 음소거 해제 가능): + +`pamixer {{[-m|--mute]}}` diff --git a/pages.ko/common/pammixinterlace.md b/pages.ko/common/pammixinterlace.md new file mode 100644 index 00000000000000..981050329b7f92 --- /dev/null +++ b/pages.ko/common/pammixinterlace.md @@ -0,0 +1,17 @@ +# pammixinterlace + +> 이미지의 각 행을 인접한 두 행과 병합. +> 같이 보기: `pamdeinterlace`. +> 더 많은 정보: . + +- 이미지의 각 행을 인접한 두 행과 병합: + +`pammixinterlace {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` + +- 지정된 필터링 메커니즘 사용: + +`pammixinterlace {{[-f|-filter]}} {{linear|fir|ffmpeg}} {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` + +- 적응형 필터링 모드 활성화, 즉 명백히 빗살무늬 패턴의 일부인 픽셀만 수정: + +`pammixinterlace {{[-a|-adaptive]}} {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pamnoraw.md b/pages.ko/common/pamnoraw.md new file mode 100644 index 00000000000000..ea8092651cf30b --- /dev/null +++ b/pages.ko/common/pamnoraw.md @@ -0,0 +1,7 @@ +# pamnoraw + +> 이 명령은 `pamtopnm -plain`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr pamtopnm` diff --git a/pages.ko/common/pamoil.md b/pages.ko/common/pamoil.md new file mode 100644 index 00000000000000..eb522d5f86ea50 --- /dev/null +++ b/pages.ko/common/pamoil.md @@ -0,0 +1,12 @@ +# pamoil + +> PAM 이미지를 유화로 변환. +> 더 많은 정보: . + +- PAM 이미지를 유화로 변환: + +`pamoil {{경로/대상/입력_파일.pam}} > {{경로/대상/출력_파일.pam}}` + +- "번지기" 효과를 위해 N 픽셀의 이웃을 고려: + +`pamoil -n {{n}} {{경로/대상/입력_파일.pam}} > {{경로/대상/출력_파일.pam}}` diff --git a/pages.ko/common/pampick.md b/pages.ko/common/pampick.md new file mode 100644 index 00000000000000..b7ba7598bcf1c2 --- /dev/null +++ b/pages.ko/common/pampick.md @@ -0,0 +1,9 @@ +# pampick + +> 여러 이미지로 구성된 Netpbm 스트림에서 이미지를 선택. +> 같이 보기: `pamfile`, `pamsplit`. +> 더 많은 정보: . + +- Netpbm 파일의 각 이미지에서 셸 명령 실행: + +`pampick {{이미지_번호1 이미지_번호2 ...}} < {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pampop9.md b/pages.ko/common/pampop9.md new file mode 100644 index 00000000000000..ab2bd829c392c7 --- /dev/null +++ b/pages.ko/common/pampop9.md @@ -0,0 +1,8 @@ +# pampop9 + +> Pop9과 같은 다중 렌즈 카메라를 시뮬레이션. +> 더 많은 정보: . + +- 입력 이미지를 x타일 x y타일로 타일링하고, 각 번마다 x델타와 y델타에 따라 오프셋을 증가: + +`pampop9 {{경로/대상/입력.pam}} {{x타일}} {{y타일}} {{x델타}} {{y델타}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamrgbatopng.md b/pages.ko/common/pamrgbatopng.md new file mode 100644 index 00000000000000..d90b977ceced0c --- /dev/null +++ b/pages.ko/common/pamrgbatopng.md @@ -0,0 +1,8 @@ +# pamrgbatopng + +> 이 명령은 `pamtopng`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamtopng` diff --git a/pages.ko/common/pamscale.md b/pages.ko/common/pamscale.md new file mode 100644 index 00000000000000..4a0b4369687cbc --- /dev/null +++ b/pages.ko/common/pamscale.md @@ -0,0 +1,24 @@ +# pamscale + +> Netpbm 이미지를 크기 조정. +> 더 많은 정보: . + +- 결과 이미지가 지정된 크기를 갖도록 이미지 크기 조정: + +`pamscale {{[-wid|-width]}} {{너비}} {{[-h|-height]}} {{높이}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 이미지의 가로 세로 비율을 유지하면서 결과 이미지가 지정된 너비를 갖도록 크기 조정: + +`pamscale {{[-wid|-width]}} {{너비}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 이미지의 너비와 높이를 지정된 비율로 변경하여 크기 조정: + +`pamscale {{[-xsc|-xscale]}} {{x_비율}} {{[-ysc|-yscale]}} {{y_비율}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 이미지의 가로 세로 비율을 유지하면서 지정된 경계 상자에 맞도록 크기 조정: + +`pamscale -xyfit {{경계상자_너비}} {{경계상자_높이}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 이미지의 가로 세로 비율을 유지하면서 지정된 상자를 완전히 채우도록 크기 조정: + +`pamscale -xyfill {{상자_너비}} {{상자_높이}} {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamshadedrelief.md b/pages.ko/common/pamshadedrelief.md new file mode 100644 index 00000000000000..c52a284fdc3ad6 --- /dev/null +++ b/pages.ko/common/pamshadedrelief.md @@ -0,0 +1,13 @@ +# pamshadedrelief + +> 고도 지도를 사용하여 음영 지형도를 생성. +> 같이 보기: `pamcrater`, `ppmrelief`. +> 더 많은 정보: . + +- 입력 이미지를 고도 지도로 해석하여 음영 지형도 이미지 생성: + +`pamshadedrelief < {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` + +- 지정된 계수로 이미지 감마 조정: + +`pamshadedrelief {{[-g|-gamma]}} {{계수}} < {{경로/대상/입력.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamslice.md b/pages.ko/common/pamslice.md new file mode 100644 index 00000000000000..ee8703677de247 --- /dev/null +++ b/pages.ko/common/pamslice.md @@ -0,0 +1,20 @@ +# pamslice + +> PAM 이미지에서 한 줄의 값을 추출. +> 더 많은 정보: . + +- n번째 행의 픽셀 값을 테이블 형식으로 출력: + +`pamslice {{[-r|-row]}} {{n}} {{경로/대상/이미지.pam}}` + +- n번째 열의 픽셀 값을 테이블 형식으로 출력: + +`pamslice {{[-c|-column]}} {{n}} {{경로/대상/이미지.pam}}` + +- 입력 이미지의 m번째 평면만 고려: + +`pamslice {{[-r|-row]}} {{n}} -plane {{m}} {{경로/대상/이미지.pam}}` + +- 시각화를 위한 `xmgr` 입력 형식으로 출력 생성: + +`pamslice {{[-r|-row]}} {{n}} {{[-x|-xmgr]}} {{경로/대상/이미지.pam}}` diff --git a/pages.ko/common/pamsplit.md b/pages.ko/common/pamsplit.md new file mode 100644 index 00000000000000..4a6d1b27c77bb5 --- /dev/null +++ b/pages.ko/common/pamsplit.md @@ -0,0 +1,13 @@ +# pamsplit + +> 여러 이미지가 포함된 Netpbm 파일을 단일 이미지 Netpbm 파일로 분할. +> 같이 보기: `pamfile`, `pampick`, `pamexec`. +> 더 많은 정보: . + +- 여러 이미지가 포함된 Netpbm 파일을 단일 이미지 Netpbm 파일로 분할: + +`pamsplit {{경로/대상/이미지.pam}}` + +- 출력 파일의 이름 패턴 지정: + +`pamsplit {{경로/대상/이미지.pam}} {{file_%d.pam}}` diff --git a/pages.ko/common/pamstack.md b/pages.ko/common/pamstack.md new file mode 100644 index 00000000000000..e67024cb7912e3 --- /dev/null +++ b/pages.ko/common/pamstack.md @@ -0,0 +1,12 @@ +# pamstack + +> 여러 PAM 이미지의 평면을 하나의 PAM 이미지로 스택. +> 더 많은 정보: . + +- 지정된 PAM 이미지의 평면을 특정 순서로 스택: + +`pamstack {{경로/대상/이미지1.pam 경로/대상/이미지2.pam ...}} > {{경로/대상/출력.pam}}` + +- 출력 PAM 파일의 튜플 타입 이름 지정 (최대 255자): + +`pamstack {{[-t|-tupletype]}} {{튜플_타입}} {{경로/대상/이미지1.pam 경로/대상/이미지2.pam ...}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamstretch-gen.md b/pages.ko/common/pamstretch-gen.md new file mode 100644 index 00000000000000..c55141a72fa23e --- /dev/null +++ b/pages.ko/common/pamstretch-gen.md @@ -0,0 +1,9 @@ +# pamstretch-gen + +> PAM 이미지를 소수 값으로 확대. +> 같이 보기: `pamstretch`, `pamenlarge`, `pamscale`. +> 더 많은 정보: . + +- 지정된 소수 배율로 PAM 이미지 확대: + +`pamstretch-gen {{n}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamstretch.md b/pages.ko/common/pamstretch.md new file mode 100644 index 00000000000000..b02b6575cb603d --- /dev/null +++ b/pages.ko/common/pamstretch.md @@ -0,0 +1,13 @@ +# pamstretch + +> PAM 이미지를 픽셀 간 보간을 통해 확대. +> 같이 보기: `pamstretch-gen`, `pamenlarge`, `pamscale`. +> 더 많은 정보: . + +- PAM 이미지를 정수 배율로 확대: + +`pamstretch {{n}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` + +- PAM 이미지를 가로 및 세로 방향으로 지정된 배율로 확대: + +`pamstretch {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pamtofits.md b/pages.ko/common/pamtofits.md new file mode 100644 index 00000000000000..48638341a47207 --- /dev/null +++ b/pages.ko/common/pamtofits.md @@ -0,0 +1,9 @@ +# pamtofits + +> Netpbm 이미지를 Flexible Image Transport System (FITS) 형식으로 변환. +> 같이 보기: `fitstopnm`. +> 더 많은 정보: . + +- Netpbm 이미지를 FITS 형식으로 변환: + +`pamtofits {{경로/대상/이미지.pam}} > {{경로/대상/출력.fits}}` diff --git a/pages.ko/common/pamtogif.md b/pages.ko/common/pamtogif.md new file mode 100644 index 00000000000000..1cb3d2839eeecf --- /dev/null +++ b/pages.ko/common/pamtogif.md @@ -0,0 +1,17 @@ +# pamtogif + +> Netpbm 이미지를 애니메이션이 없는 GIF 이미지로 변환. +> 같이 보기: `giftopnm`, `gifsicle`. +> 더 많은 정보: . + +- Netpbm 이미지를 애니메이션이 없는 GIF 이미지로 변환: + +`pamtogif {{경로/대상/이미지.pam}} > {{경로/대상/출력.gif}}` + +- 출력 GIF 파일에서 지정한 색상을 투명하게 설정: + +`pamtogif {{[-t|-transparent]}} {{색상}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.gif}}` + +- 출력 GIF 파일에 지정한 텍스트를 주석으로 포함: + +`pamtogif {{[-c|-comment]}} "{{Hello World!}}" {{경로/대상/이미지.pam}} > {{경로/대상/출력.gif}}` diff --git a/pages.ko/common/pamtopam.md b/pages.ko/common/pamtopam.md new file mode 100644 index 00000000000000..a998fe11abaec2 --- /dev/null +++ b/pages.ko/common/pamtopam.md @@ -0,0 +1,12 @@ +# pamtopam + +> PAM 이미지를 복사합니다. +> 더 많은 정보: . + +- PAM 이미지(PBM, PGM, PPM 또는 PAM 이미지)를 `stdin`에서 `stdout`으로 복사: + +`pamtopam < {{경로/대상/이미지.pam}} > {{경로/대상/출력.pam}}` + +- 버전 표시: + +`pamtopam {{[-v|-version]}}` diff --git a/pages.ko/common/pamtopng.md b/pages.ko/common/pamtopng.md new file mode 100644 index 00000000000000..76f0ac75baf3c8 --- /dev/null +++ b/pages.ko/common/pamtopng.md @@ -0,0 +1,21 @@ +# pamtopng + +> PAM 이미지를 PNG로 변환. +> 같이 보기: `pnmtopng`, `pngtopam`. +> 더 많은 정보: . + +- 지정된 PAM 이미지를 PNG로 변환: + +`pamtopng {{경로/대상/이미지.pam}} > {{경로/대상/출력.png}}` + +- 출력 이미지에서 지정된 색상을 투명하게 표시: + +`pamtopng {{[-t|-transparent]}} {{색상}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.png}}` + +- 지정된 파일의 텍스트를 출력물에 tEXt 청크로 포함: + +`pamtopng {{[-te|-text]}} {{경로/대상/파일.txt}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.png}}` + +- 출력 파일을 Adam7 형식으로 인터레이스 처리: + +`pamtopng {{[-in|-interlace]}} {{경로/대상/이미지.pam}} > {{경로/대상/출력.png}}` diff --git a/pages.ko/common/pamtopnm.md b/pages.ko/common/pamtopnm.md new file mode 100644 index 00000000000000..827ad9828e6e93 --- /dev/null +++ b/pages.ko/common/pamtopnm.md @@ -0,0 +1,12 @@ +# pamtopnm + +> PAM 이미지를 동등한 PNM 이미지로 변환. +> 더 많은 정보: . + +- PAM 이미지를 동등한 PNM 이미지(즉, PBM, PGM 또는 PPM 이미지)로 변환: + +`pamtopnm {{경로/대상/이미지.pam}} > {{경로/대상/출력.pbm|pgm|ppm}}` + +- 버전 표시: + +`pamtopnm {{[-v|-version]}}` diff --git a/pages.ko/common/pamtoqoi.md b/pages.ko/common/pamtoqoi.md new file mode 100644 index 00000000000000..2909d2f6ae325a --- /dev/null +++ b/pages.ko/common/pamtoqoi.md @@ -0,0 +1,8 @@ +# pamtoqoi + +> Netpbm 이미지를 QOI 이미지(Quite OK Image 형식)로 변환. +> 더 많은 정보: . + +- Netpbm 이미지를 QOI 형식으로 변환: + +`pamtoqoi {{경로/대상/이미지.pnm}} > {{경로/대상/출력.qoi}}` diff --git a/pages.ko/common/pamtotga.md b/pages.ko/common/pamtotga.md new file mode 100644 index 00000000000000..caccb7dba9ef52 --- /dev/null +++ b/pages.ko/common/pamtotga.md @@ -0,0 +1,16 @@ +# pamtotga + +> Netpbm 이미지를 TrueVision Targa 파일로 변환. +> 더 많은 정보: . + +- Netpbm 이미지를 TrueVision Targa 파일로 변환: + +`pamtotga {{경로/대상/파일.pam}} > {{경로/대상/출력.tga}}` + +- 출력 이미지의 색상 맵 지정: + +`pamtotga -{{cmap|cmap16|mono|rgb}} {{경로/대상/파일.pam}} > {{경로/대상/출력.tga}}` + +- 버전 표시: + +`pamtotga {{[-v|-version]}}` diff --git a/pages.ko/common/pamtotiff.md b/pages.ko/common/pamtotiff.md new file mode 100644 index 00000000000000..13a778c2b7c9a5 --- /dev/null +++ b/pages.ko/common/pamtotiff.md @@ -0,0 +1,16 @@ +# pamtotiff + +> PAM 이미지를 TIFF 파일로 변환. +> 더 많은 정보: . + +- PAM 이미지를 TIFF 이미지로 변환: + +`pamtotiff {{경로/대상/입력_파일.pam}} > {{경로/대상/출력_파일.tiff}}` + +- 출력 파일의 압축 방식을 명시적으로 지정: + +`pamtotiff -{{none|packbits|lzw|g3|g4|flate|adobeflate}} {{경로/대상/입력_파일.pam}} > {{경로/대상/출력_파일.tiff}}` + +- 입력 이미지가 그레이스케일일지라도 항상 컬러 TIFF 이미지를 생성: + +`pamtotiff {{[-c|-color]}} {{경로/대상/입력_파일.pam}} > {{경로/대상/출력_파일.tiff}}` diff --git a/pages.ko/common/pamtouil.md b/pages.ko/common/pamtouil.md new file mode 100644 index 00000000000000..44b5ed4004da83 --- /dev/null +++ b/pages.ko/common/pamtouil.md @@ -0,0 +1,12 @@ +# pamtouil + +> PNM 또는 PAM 파일을 Motif UIL 아이콘 파일로 변환. +> 더 많은 정보: . + +- PNM 또는 PAM 파일을 Motif UIL 아이콘 파일로 변환: + +`pamtouil {{경로/대상/입력.pnm|pam}} > {{경로/대상/출력.uil}}` + +- 출력 UIL 파일에 출력할 접두사 문자열 지정: + +`pamtouil {{[-n|-name]}} {{uil이름}} {{경로/대상/입력.pnm|pam}} > {{경로/대상/출력.uil}}` diff --git a/pages.ko/common/pamtowinicon.md b/pages.ko/common/pamtowinicon.md new file mode 100644 index 00000000000000..10ba0d88c4909a --- /dev/null +++ b/pages.ko/common/pamtowinicon.md @@ -0,0 +1,16 @@ +# pamtowinicon + +> PAM 이미지를 Windows ICO 파일로 변환. +> 더 많은 정보: . + +- PAM 이미지 파일을 ICO 파일로 변환: + +`pamtowinicon {{경로/대상/입력_파일.pam}} > {{경로/대상/출력.ico}}` + +- 해상도가 {{t}}보다 작은 이미지는 BMP 형식으로, 그 외 이미지는 PNG 형식으로 인코딩: + +`pamtowinicon {{[-pn|-pngthreshold]}} {{t}} {{경로/대상/입력_파일.pam}} > {{경로/대상/출력.ico}}` + +- 불투명하지 않은 영역 외의 모든 픽셀을 검정색으로 설정: + +`pamtowinicon {{[-t|-truetransparent]}} {{경로/대상/입력_파일.pam}} > {{경로/대상/출력.ico}}` diff --git a/pages.ko/common/pamtoxvmini.md b/pages.ko/common/pamtoxvmini.md new file mode 100644 index 00000000000000..e284da74131a2a --- /dev/null +++ b/pages.ko/common/pamtoxvmini.md @@ -0,0 +1,8 @@ +# pamtoxvmini + +> Netpbm 이미지를 XV 썸네일 그림으로 변환. +> 더 많은 정보: . + +- PAM 이미지를 XV 썸네일 그림으로 변환: + +`pamtoxvmini {{경로/대상/입력_파일.pam}} > {{경로/대상/출력_파일}}` diff --git a/pages.ko/common/pamundice.md b/pages.ko/common/pamundice.md new file mode 100644 index 00000000000000..d64c2d815417e4 --- /dev/null +++ b/pages.ko/common/pamundice.md @@ -0,0 +1,17 @@ +# pamundice + +> 여러 개의 Netpbm 이미지를 하나로 결합. +> 같이 보기: `pamdice`. +> 더 많은 정보: . + +- `printf` 스타일의 파일 이름 표현과 일치하는 이미지 결합. 특정 크기의 그리드를 가정: + +`pamundice {{파일이름_%1d_%1a.ppm}} {{[-a|-across]}} {{그리드_너비}} {{[-d|-down]}} {{그리드_높이}} > {{경로/대상/출력.ppm}}` + +- 타일이 지정된 양만큼 수평 및 수직으로 겹친다고 가정: + +`pamundice {{파일이름_%1d_%1a.ppm}} {{[-a|-across]}} {{x_값}} {{[-d|-down]}} {{y_값}} {{[-ho|-hoverlap]}} {{값}} {{[-vo|-voverlap]}} {{값}} > {{경로/대상/출력.ppm}}` + +- 결합할 이미지를 한 줄에 하나의 파일 이름이 있는 텍스트 파일로 지정: + +`pamundice {{[-l|-listfile]}} {{경로/대상/파일.txt}} {{[-a|-across]}} {{x_값}} {{[-d|-down]}} {{y_값}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pamvalidate.md b/pages.ko/common/pamvalidate.md new file mode 100644 index 00000000000000..3d33ca181c0b3f --- /dev/null +++ b/pages.ko/common/pamvalidate.md @@ -0,0 +1,9 @@ +# pamvalidate + +> PAM, PGM, PBM 및 PPM 파일 유효성 검사. +> 같이 보기: `pamfile`, `pamfix`. +> 더 많은 정보: . + +- Netpbm 파일이 유효한 경우에만 `stdin`에서 `stdout`으로 복사하고, 그렇지 않으면 실패: + +`{{명령어}} | pamvalidate > {{경로/대상/출력.ext}}` diff --git a/pages.ko/common/pandoc.md b/pages.ko/common/pandoc.md new file mode 100644 index 00000000000000..c093f5bfcfb35b --- /dev/null +++ b/pages.ko/common/pandoc.md @@ -0,0 +1,24 @@ +# pandoc + +> 다양한 형식 간에 문서를 변환합니다. +> 더 많은 정보: . + +- 파일을 PDF로 변환 (출력 형식은 파일 확장자로 결정됨): + +`pandoc {{경로/대상/입력.md}} {{[-o|--output]}} {{경로/대상/출력.pdf}}` + +- 적절한 헤더/푸터가 있는 독립 실행형 파일로 변환 (LaTeX, HTML 등): + +`pandoc {{경로/대상/입력.md}} {{[-s|--standalone]}} {{[-o|--output]}} {{경로/대상/출력.html}}` + +- 형식 감지 및 변환을 수동으로 지정 (파일 이름 확장자를 사용한 자동 형식 감지를 무시하거나 파일 이름 확장자가 전혀 없는 경우): + +`pandoc {{-f|-r|--from|--read}} {{docx|...}} {{경로/대상/입력}} {{-t|-w|--to|--write}} {{pdf|...}} {{[-o|--output]}} {{경로/대상/출력}}` + +- 지원되는 모든 입력 형식 나열: + +`pandoc --list-input-formats` + +- 지원되는 모든 출력 형식 나열: + +`pandoc --list-output-formats` diff --git a/pages.ko/common/pants.md b/pages.ko/common/pants.md new file mode 100644 index 00000000000000..d816a89a2e59a6 --- /dev/null +++ b/pages.ko/common/pants.md @@ -0,0 +1,32 @@ +# pants + +> 빠르고 확장 가능하며 사용자 친화적이고 오픈 소스인 빌드 및 개발자 워크플로 도구. +> 더 많은 정보: . + +- 모든 타겟 나열: + +`pants list ::` + +- 모든 테스트 실행: + +`pants test ::` + +- 커밋되지 않은 파일만 수정, 포맷, 린트 수행: + +`pants --changed-since=HEAD fix fmt lint` + +- 커밋되지 않은 파일과 그 종속성에 대해서만 타입 체크: + +`pants --changed-since=HEAD --changed-dependents=transitive check` + +- 지정된 타겟에 대한 배포 가능한 패키지 생성: + +`pants package {{경로/대상/폴더:타겟-이름}}` + +- 새로운 소스 파일에 대한 BUILD 파일 타겟 자동 생성: + +`pants tailor ::` + +- 도움말 표시: + +`pants help` diff --git a/pages.ko/common/paperkey.md b/pages.ko/common/paperkey.md new file mode 100644 index 00000000000000..180fc8817e9fe1 --- /dev/null +++ b/pages.ko/common/paperkey.md @@ -0,0 +1,16 @@ +# paperkey + +> OpenPGP 키 아카이버. +> 더 많은 정보: . + +- 특정 비밀 키를 가져와 비밀 데이터를 포함한 텍스트 파일 생성: + +`paperkey --secret-key {{경로/대상/비밀_키.gpg}} --output {{경로/대상/비밀_데이터.txt}}` + +- `secret_data.txt`에 있는 비밀 키 데이터를 가져와 공개 키와 결합하여 비밀 키 재구성: + +`paperkey --pubring {{경로/대상/공개_키.gpg}} --secrets {{경로/대상/비밀_데이터.txt}} --output {{비밀_키.gpg}}` + +- 특정 비밀 키를 내보내고 비밀 데이터를 포함한 텍스트 파일 생성: + +`gpg --export-secret-key {{키}} | paperkey --output {{경로/대상/비밀_데이터.txt}}` diff --git a/pages.ko/common/par2.md b/pages.ko/common/par2.md new file mode 100644 index 00000000000000..430121a6620c73 --- /dev/null +++ b/pages.ko/common/par2.md @@ -0,0 +1,20 @@ +# par2 + +> PAR 2.0 호환 패리티 아카이브(.par2 파일)를 사용한 파일 검증 및 복구. +> 더 많은 정보: . + +- 설정된 비율의 여유를 사용하여 패리티 아카이브 생성: + +`par2 create -r{{1..100}} -- {{경로/대상/파일}}` + +- 선택한 수의 볼륨 파일(색인 파일 추가)을 사용하여 패리티 아카이브 생성: + +`par2 create -n{{1..32768}} -- {{경로/대상/파일}}` + +- 패리티 아카이브로 파일 검증: + +`par2 verify -- {{경로/대상/파일.par2}}` + +- 패리티 아카이브로 파일 복구: + +`par2 repair -- {{경로/대상/파일.par2}}` diff --git a/pages.ko/common/parallel-lint.md b/pages.ko/common/parallel-lint.md new file mode 100644 index 00000000000000..8e79fd714ebe6e --- /dev/null +++ b/pages.ko/common/parallel-lint.md @@ -0,0 +1,28 @@ +# parallel-lint + +> PHP 파일의 구문을 병렬로 검사. +> 더 많은 정보: . + +- 특정 디렉토리의 구문 검사: + +`parallel-lint {{경로/대상/폴더}}` + +- 지정된 병렬 프로세스 수를 사용하여 디렉토리 구문 검사: + +`parallel-lint -j {{프로세스_수}} {{경로/대상/폴더}}` + +- 특정 디렉토리를 제외하고 디렉토리 구문 검사: + +`parallel-lint --exclude {{경로/대상/제외_폴더}} {{경로/대상/폴더}}` + +- 쉼표로 구분된 확장자 목록을 사용하여 파일 디렉토리의 구문 검사: + +`parallel-lint -e {{php,html,phpt}} {{경로/대상/폴더}}` + +- 디렉토리의 구문 검사를 수행하고 결과를 JSON으로 출력: + +`parallel-lint --json {{경로/대상/폴더}}` + +- 디렉토리의 구문 검사를 수행하고 오류가 있는 행에 대한 Git Blame 결과 표시: + +`parallel-lint --blame {{경로/대상/폴더}}` diff --git a/pages.ko/common/parallel.md b/pages.ko/common/parallel.md new file mode 100644 index 00000000000000..a1c38a05d97e0a --- /dev/null +++ b/pages.ko/common/parallel.md @@ -0,0 +1,36 @@ +# parallel + +> 여러 CPU 코어에서 명령 실행. +> 더 많은 정보: . + +- 모든 코어를 사용하여 여러 파일을 동시에 gzip 압축: + +`parallel gzip ::: {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- `stdin`에서 인수를 읽어, 동시에 4개의 작업 실행: + +`ls *.txt | parallel -j4 gzip` + +- JPEG 이미지를 PNG로 변환, 치환 문자열 사용: + +`parallel convert {} {.}.png ::: *.jpg` + +- 평행 xargs, 가능한 많은 인수를 하나의 명령에 cram: + +`{{인수들}} | parallel -X {{명령어}}` + +- `stdin`을 약 1M 블록으로 나누고, 각 블록을 새 명령의 `stdin`으로 전달: + +`cat {{큰_파일.txt}} | parallel --pipe --block 1M {{명령어}}` + +- SSH를 통해 여러 머신에서 실행: + +`parallel -S {{머신1}},{{머신2}} {{명령어}} ::: {{인수1}} {{인수2}}` + +- 텍스트 파일에 있는 링크로부터 4개의 파일을 동시에 다운로드, 진행 상황 표시: + +`parallel -j4 --bar --eta wget -q {} :::: {{경로/대상/링크.txt}}` + +- `parallel`이 실행 중인 작업을 `stderr`에 출력: + +`parallel -t {{명령어}} ::: {{인수들}}` diff --git a/pages.ko/common/parquet-tools.md b/pages.ko/common/parquet-tools.md new file mode 100644 index 00000000000000..5b1b0debde268b --- /dev/null +++ b/pages.ko/common/parquet-tools.md @@ -0,0 +1,36 @@ +# parquet-tools + +> Parquet 파일을 표시하고 검사하며 조작. +> 더 많은 정보: . + +- Parquet 파일 내용 표시: + +`parquet-tools cat {{경로/대상/parquet}}` + +- Parquet 파일의 처음 몇 줄 표시: + +`parquet-tools head {{경로/대상/parquet}}` + +- Parquet 파일의 스키마 출력: + +`parquet-tools schema {{경로/대상/parquet}}` + +- Parquet 파일의 메타데이터 출력: + +`parquet-tools meta {{경로/대상/parquet}}` + +- Parquet 파일의 내용과 메타데이터 출력: + +`parquet-tools dump {{경로/대상/parquet}}` + +- 여러 Parquet 파일을 하나의 대상 파일로 병합: + +`parquet-tools merge {{경로/대상/parquet1}} {{경로/대상/parquet2}} {{경로/대상/대상_parquet}}` + +- Parquet 파일의 행 수 출력: + +`parquet-tools rowcount {{경로/대상/parquet}}` + +- Parquet 파일의 열 및 오프셋 색인 출력: + +`parquet-tools column-index {{경로/대상/parquet}}` diff --git a/pages.ko/common/particle.md b/pages.ko/common/particle.md new file mode 100644 index 00000000000000..0d7dded6b6307c --- /dev/null +++ b/pages.ko/common/particle.md @@ -0,0 +1,32 @@ +# particle + +> Particle 장치를 조작. +> 더 많은 정보: . + +- Particle CLI에 로그인하거나 계정 생성: + +`particle setup` + +- 장치 목록 표시: + +`particle list` + +- 대화형으로 새 Particle 프로젝트 생성: + +`particle project create` + +- Particle 프로젝트 컴파일: + +`particle compile {{장치_유형}} {{경로/대상/소스_코드.ino}}` + +- 특정 앱을 원격으로 사용하도록 장치 업데이트: + +`particle flash {{장치_이름}} {{경로/대상/프로그램.bin}}` + +- 최신 펌웨어로 장치를 시리얼로 업데이트: + +`particle flash --serial {{경로/대상/방화벽.bin}}` + +- 장치에서 함수 실행: + +`particle call {{장치_이름}} {{함수_이름}} {{함수_인자}}` diff --git a/pages.ko/common/pass-otp.md b/pages.ko/common/pass-otp.md new file mode 100644 index 00000000000000..d1879e7d2ea4bc --- /dev/null +++ b/pages.ko/common/pass-otp.md @@ -0,0 +1,28 @@ +# pass otp + +> 일회용 비밀번호(OTP) 토큰 관리를 위한 pass 확장 기능. +> 더 많은 정보: . + +- otpauth URI 토큰을 입력 받고 새로운 pass 파일 생성: + +`pass otp insert {{경로/대상/pass}}` + +- otpauth URI 토큰을 입력 받고 기존 pass 파일에 추가: + +`pass otp append {{경로/대상/pass}}` + +- pass 파일의 OTP 토큰을 사용하여 2FA 코드 출력: + +`pass otp {{경로/대상/pass}}` + +- pass 파일의 OTP 토큰을 사용하여 2FA 코드를 복사하고 출력하지 않음: + +`pass otp --clip {{경로/대상/pass}}` + +- pass 파일에 저장된 OTP 토큰을 사용하여 QR 코드 표시: + +`pass otp uri --qrcode {{경로/대상/pass}}` + +- 발행자 및 계정을 지정하여 OTP 비밀 값을 입력 받고 기존 pass 파일에 추가 (적어도 하나는 지정해야 함): + +`pass otp append --secret --issuer {{발행자_이름}} --account {{계정_이름}} {{경로/대상/pass}}` diff --git a/pages.ko/common/pass.md b/pages.ko/common/pass.md new file mode 100644 index 00000000000000..5c45eb9d72672f --- /dev/null +++ b/pages.ko/common/pass.md @@ -0,0 +1,37 @@ +# pass + +> 비밀번호나 기타 민감한 데이터를 저장하고 읽기. +> 모든 데이터는 GPG로 암호화되며, Git 저장소로 관리됩니다. +> 더 많은 정보: . + +- 하나 이상의 GPG ID를 사용하여 저장소 초기화 (또는 재암호화): + +`pass init {{gpg_id_1}} {{gpg_id_2}}` + +- 새 비밀번호 및 추가 정보 저장 (새 줄에서 ``를 눌러 완료): + +`pass insert --multiline {{경로/대상/데이터}}` + +- 항목 편집: + +`pass edit {{경로/대상/데이터}}` + +- 비밀번호(데이터 파일의 첫 번째 줄)를 클립보드에 복사: + +`pass -c {{경로/대상/데이터}}` + +- 전체 저장소 트리 나열: + +`pass` + +- 지정된 길이의 새로운 무작위 비밀번호 생성 및 클립보드에 복사: + +`pass generate -c {{경로/대상/데이터}} {{숫자}}` + +- 새로운 Git 저장소 초기화 (pass에 의해 이루어진 모든 변경 사항은 자동으로 커밋됨): + +`pass git init` + +- 비밀번호 저장소를 대신하여 Git 명령 실행: + +`pass git {{명령}}` diff --git a/pages.ko/common/passwd.md b/pages.ko/common/passwd.md new file mode 100644 index 00000000000000..e1c25d83a94142 --- /dev/null +++ b/pages.ko/common/passwd.md @@ -0,0 +1,20 @@ +# passwd + +> 사용자의 비밀번호 변경. +> 더 많은 정보: . + +- 현재 사용자의 비밀번호를 대화식으로 변경: + +`passwd` + +- 특정 사용자의 비밀번호 변경: + +`passwd {{사용자이름}}` + +- 사용자의 현재 상태 확인: + +`passwd {{[-S|--status]}}` + +- 계정의 비밀번호를 비워서 비밀번호 없이 설정: + +`passwd {{[-d|--delete]}}` diff --git a/pages.ko/common/paste.md b/pages.ko/common/paste.md new file mode 100644 index 00000000000000..5dbe362a6a70e3 --- /dev/null +++ b/pages.ko/common/paste.md @@ -0,0 +1,24 @@ +# paste + +> 파일의 라인을 병합. +> 더 많은 정보: . + +- 모든 라인을 TAB을 구분자로 사용하여 하나의 라인으로 합치기: + +`paste -s {{경로/대상/파일}}` + +- 지정한 구분자를 사용하여 모든 라인을 하나의 라인으로 합치기: + +`paste -s -d {{구분자}} {{경로/대상/파일}}` + +- 두 파일을 각각의 열로 나란히 병합하고, TAB을 구분자로 사용하기: + +`paste {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 두 파일을 각각의 열로 나란히 병합하고, 지정한 구분자를 사용하기: + +`paste -d {{구분자}} {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 두 파일을 번갈아 가며 라인을 추가하여 병합하기: + +`paste -d '\n' {{경로/대상/파일1}} {{경로/대상/파일2}}` diff --git a/pages.ko/common/pastel.md b/pages.ko/common/pastel.md new file mode 100644 index 00000000000000..8cf377984d1559 --- /dev/null +++ b/pages.ko/common/pastel.md @@ -0,0 +1,24 @@ +# pastel + +> 색상을 생성, 분석, 변환 및 조작. +> 더 많은 정보: . + +- 색상을 한 형식에서 다른 형식으로 변환. 여기서는 RGB에서 HSL로 변환: + +`pastel format {{hsl}} {{ff8000}}` + +- 터미널에서 색상을 표시하고 분석: + +`pastel color "{{rgb(255,50,127)}}"` + +- 화면에서 색상 선택: + +`pastel pick` + +- 시각적으로 구별되는 N개의 색상 세트 생성: + +`pastel distinct {{8}}` + +- 모든 X11/CSS 색상 이름 나열: + +`pastel list` diff --git a/pages.ko/common/patch.md b/pages.ko/common/patch.md new file mode 100644 index 00000000000000..07a3f78f4e266e --- /dev/null +++ b/pages.ko/common/patch.md @@ -0,0 +1,25 @@ +# patch + +> diff 파일을 사용하여 파일(들)을 패치. +> diff 파일은 `diff` 명령으로 생성되어야 함. +> 더 많은 정보: . + +- diff 파일을 사용하여 패치 적용 (파일 이름이 diff 파일에 포함되어야 함): + +`patch < {{패치.diff}}` + +- 특정 파일에 패치 적용: + +`patch {{경로/대상/파일}} < {{패치.diff}}` + +- 다른 파일에 결과를 작성하여 파일 패치: + +`patch {{경로/대상/입력_파일}} -o {{경로/대상/출력_파일}} < {{패치.diff}}` + +- 현재 디렉토리에 패치 적용: + +`patch -p1 < {{패치.diff}}` + +- 패치의 반대로 적용: + +`patch -R < {{패치.diff}}` diff --git a/pages.ko/common/patchwork.md b/pages.ko/common/patchwork.md new file mode 100644 index 00000000000000..58d16fe163098c --- /dev/null +++ b/pages.ko/common/patchwork.md @@ -0,0 +1,25 @@ +# patchwork + +> `그래프비즈` 파일에서 `squareified treemap` 네트워크 그래프의 이미지를 렌더링합니다. +> 레이아웃: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` 및 `patchwork`. +> 더 많은 정보: . + +- 입력 파일 이름과 출력 형식(대문자 -O)을 기반으로 PNG 이미지를 렌더링: + +`patchwork -T {{png}} -O {{경로/대상/입력.gv}}` + +- 지정된 출력 파일 이름(소문자 -o)으로 SVG 이미지를 렌더링: + +`patchwork -T {{svg}} -o {{경로/대상/이미지.svg}} {{경로/대상/입력.gv}}` + +- 출력을 PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON 또는 DOT 형식으로 렌더링: + +`patchwork -T {{형식}} -O {{경로/대상/입력.gv}}` + +- `stdin` 및 `stdout`을 사용하여 `gif` 이미지 렌더링: + +`echo "{{digraph {this -> that} }}" | patchwork -T {{gif}} > {{경로/대상/이미지.gif}}` + +- 도움말 표시: + +`patchwork -?` diff --git a/pages.ko/common/pathchk.md b/pages.ko/common/pathchk.md new file mode 100644 index 00000000000000..a499f609789f67 --- /dev/null +++ b/pages.ko/common/pathchk.md @@ -0,0 +1,20 @@ +# pathchk + +> 경로명의 유효성과 이식성을 확인합니다. +> 더 많은 정보: . + +- 현재 시스템에서 경로명의 유효성을 확인: + +`pathchk {{경로1 경로2 ...}}` + +- 더 넓은 범위의 POSIX 호환 시스템에서 경로명의 유효성을 확인: + +`pathchk -p {{경로1 경로2 ...}}` + +- 모든 POSIX 호환 시스템에서 경로명의 유효성을 확인: + +`pathchk {{[-p -P|--portability]}} {{경로1 경로2 ...}}` + +- 빈 경로나 선행 대시(-)만 확인: + +`pathchk -P {{경로1 경로2 ...}}` diff --git a/pages.ko/common/pax.md b/pages.ko/common/pax.md new file mode 100644 index 00000000000000..10dcb901a42f1b --- /dev/null +++ b/pages.ko/common/pax.md @@ -0,0 +1,28 @@ +# pax + +> 아카이빙 및 복사 유틸리티. +> 더 많은 정보: . + +- 아카이브 내용 나열: + +`pax -f {{아카이브.tar}}` + +- `gzip` 아카이브 내용 나열: + +`pax -zf {{아카이브.tar.gz}}` + +- 파일로부터 아카이브 생성: + +`pax -wf {{타겟.tar}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 출력 리디렉션을 사용해 파일로부터 아카이브 생성: + +`pax -w {{경로/대상/파일1 경로/대상/파일2 ...}} > {{타겟.tar}}` + +- 현재 디렉토리에 아카이브 추출: + +`pax -rf {{소스.tar}}` + +- 원본 메타데이터를 유지하면서 디렉토리에 복사; `target/`은 존재해야 함: + +`pax -rw {{경로/대상/파일1}} {{경로/대상/폴더1 경로/대상/폴더2 ...}} {{target/}}` diff --git a/pages.ko/common/pbmclean.md b/pages.ko/common/pbmclean.md new file mode 100644 index 00000000000000..39ac7fa5b92569 --- /dev/null +++ b/pages.ko/common/pbmclean.md @@ -0,0 +1,16 @@ +# pbmclean + +> PBM 이미지를 정리하여 고립된 검은색 및 흰색 픽셀을 제거합니다. +> 더 많은 정보: . + +- 고립된 검은색 및 흰색 픽셀을 제거하여 PBM 이미지 정리: + +`pbmclean {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pbm}}` + +- 검은색/흰색 픽셀만 정리: + +`pbmclean -{{black|white}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pbm}}` + +- 고립되지 않은 픽셀로 간주되기 위한 최소한의 동일 색상 이웃 픽셀 수 지정: + +`pbmclean -minneighbours {{3}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/pbmlife.md b/pages.ko/common/pbmlife.md new file mode 100644 index 00000000000000..4b0ba43db2d0da --- /dev/null +++ b/pages.ko/common/pbmlife.md @@ -0,0 +1,12 @@ +# pbmlife + +> PBM 이미지에 Conway의 생명 게임 규칙 적용. +> 더 많은 정보: . + +- 입력 PBM 이미지 파일에 생명 게임 규칙을 한 세대 동안 적용하고 결과를 PBM 이미지 파일로 출력: + +`pbmlife {{경로/대상/파일.pbm}}` + +- 버전 표시: + +`pbmlife -version` diff --git a/pages.ko/common/pbmmake.md b/pages.ko/common/pbmmake.md new file mode 100644 index 00000000000000..c202095adb1bd9 --- /dev/null +++ b/pages.ko/common/pbmmake.md @@ -0,0 +1,12 @@ +# pbmmake + +> 빈 비트맵 생성. +> 더 많은 정보: . + +- 지정된 크기의 빈 비트맵 생성: + +`pbmmake {{너비}} {{높이}} > {{경로/대상/출력_파일.pbm}}` + +- 생성된 비트맵의 색상 지정: + +`pbmmake -{{white|black|grey}} {{너비}} {{높이}} > {{경로/대상/출력_파일.pbm}}` diff --git a/pages.ko/common/pbmmask.md b/pages.ko/common/pbmmask.md new file mode 100644 index 00000000000000..5069633803c391 --- /dev/null +++ b/pages.ko/common/pbmmask.md @@ -0,0 +1,13 @@ +# pbmmask + +> 일반 비트맵에서 마스크 비트맵 생성. +> 같이 보기: `pambackground`. +> 더 많은 정보: . + +- 배경과 전경을 분리하여 마스크 비트맵 생성: + +`pbmmask {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pbm}}` + +- 생성된 마스크를 한 픽셀 확장: + +`pbmmask -expand {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/pbmnoise.md b/pages.ko/common/pbmnoise.md new file mode 100644 index 00000000000000..4373f4be1ae578 --- /dev/null +++ b/pages.ko/common/pbmnoise.md @@ -0,0 +1,16 @@ +# pbmnoise + +> 백색 소음을 생성. +> 더 많은 정보: . + +- 백색 소음을 포함한 PGM 이미지 생성: + +`pbmnoise {{너비}} {{높이}} > {{경로/대상/출력.pbm}}` + +- 의사 난수 생성기의 시드 지정: + +`pbmnoise {{너비}} {{높이}} -randomseed {{값}} > {{경로/대상/출력.pbm}}` + +- 원하는 흰색 대 검은색 픽셀 비율 지정: + +`pbmnoise {{너비}} {{높이}} -ratio {{1/3}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/pbmpage.md b/pages.ko/common/pbmpage.md new file mode 100644 index 00000000000000..3b692ae7490b3d --- /dev/null +++ b/pages.ko/common/pbmpage.md @@ -0,0 +1,16 @@ +# pbmpage + +> 인쇄를 위한 테스트 패턴 생성. +> 더 많은 정보: . + +- US 표준 용지에 인쇄할 테스트 패턴 생성: + +`pbmpage > {{경로/대상/파일.pbm}}` + +- A4 용지에 인쇄할 테스트 패턴 생성: + +`pbmpage -a4 > {{경로/대상/파일.pbm}}` + +- 사용할 패턴 지정: + +`pbmpage {{1|2|3}} > {{경로/대상/파일.pbm}}` diff --git a/pages.ko/common/pbmpscale.md b/pages.ko/common/pbmpscale.md new file mode 100644 index 00000000000000..ed4fb4cfeb6451 --- /dev/null +++ b/pages.ko/common/pbmpscale.md @@ -0,0 +1,9 @@ +# pbmpscale + +> 가장자리를 부드럽게 하여 PBM 이미지를 확대. +> 같이 보기: `pamenlarge`. +> 더 많은 정보: . + +- 지정된 배율로 가장자리를 부드럽게 하여 PBM 이미지 확대: + +`pbmpscale {{N}} {{경로/대상/이미지.pbm}} > {{경로/대상/파일.pbm}}` diff --git a/pages.ko/common/pbmreduce.md b/pages.ko/common/pbmreduce.md new file mode 100644 index 00000000000000..5a68ed84527be9 --- /dev/null +++ b/pages.ko/common/pbmreduce.md @@ -0,0 +1,17 @@ +# pbmreduce + +> PBM 이미지를 비례적으로 축소. +> 같이 보기: `pamenlarge`, `pamditherbw`. +> 더 많은 정보: . + +- 지정한 이미지를 지정한 비율로 축소: + +`pbmreduce {{N}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pbm}}` + +- 단순 임계값을 사용하여 축소: + +`pbmreduce -threshold {{N}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pbm}}` + +- 모든 양자화에 지정한 임계값 사용: + +`pbmreduce -value {{0.6}} {{N}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/pbmtext.md b/pages.ko/common/pbmtext.md new file mode 100644 index 00000000000000..0607df9a0f7a45 --- /dev/null +++ b/pages.ko/common/pbmtext.md @@ -0,0 +1,21 @@ +# pbmtext + +> 텍스트를 PBM 이미지로 렌더링. +> 같이 보기: `pbmtextps`. +> 더 많은 정보: . + +- 한 줄의 텍스트를 PBM 이미지로 렌더링: + +`pbmtext "{{Hello World!}}" > {{경로/대상/출력.pbm}}` + +- 여러 줄의 텍스트를 PBM 이미지로 렌더링: + +`echo "{{Hello\nWorld!}}" | pbmtext > {{경로/대상/출력.pbm}}` + +- PBM 파일로 제공된 사용자 지정 폰트를 사용하여 텍스트 렌더링: + +`pbmtext -font {{경로/대상/폰트.pbm}} "{{Hello World!}}" > {{경로/대상/출력.pbm}}` + +- 문자와 줄 사이의 픽셀 수 지정: + +`echo "{{Hello\nWorld!}}" | pbmtext -space {{3}} -lspace {{10}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/pbmtextps.md b/pages.ko/common/pbmtextps.md new file mode 100644 index 00000000000000..f815d722ea0e22 --- /dev/null +++ b/pages.ko/common/pbmtextps.md @@ -0,0 +1,21 @@ +# pbmtextps + +> 텍스트를 PostScript를 사용하여 PBM 이미지로 렌더링. +> 같이 보기: `pbmtext`. +> 더 많은 정보: . + +- 한 줄의 텍스트를 PBM 이미지로 렌더링: + +`pbmtextps "{{Hello World!}}" > {{경로/대상/출력.pbm}}` + +- 폰트와 폰트 크기 지정: + +`pbmtextps -font {{Times-Roman}} -fontsize {{30}} "{{Hello World!}}" > {{경로/대상/출력.pbm}}` + +- 원하는 좌측 및 상단 여백 지정: + +`pbmtextps -leftmargin {{70}} -topmargin {{162}} "{{Hello World!}}" > {{경로/대상/출력.pbm}}` + +- 렌더링된 텍스트를 PBM 이미지로 출력하지 않고, 이 이미지를 생성할 PostScript 프로그램으로 출력: + +`pbmtextps -dump-ps "{{Hello World!}}" > {{경로/대상/출력.ps}}` diff --git a/pages.ko/common/pbmto4425.md b/pages.ko/common/pbmto4425.md new file mode 100644 index 00000000000000..e4ceda781586c7 --- /dev/null +++ b/pages.ko/common/pbmto4425.md @@ -0,0 +1,9 @@ +# pbmto4425 + +> PBM 이미지를 AT&T 4425 터미널에 표시. +> 같이 보기: `ppmtoterm`, `pbmtoascii`. +> 더 많은 정보: . + +- 터미널의 모자이크 그래픽 문자 집합을 사용하여 PBM 이미지를 AT&T 4425 터미널에 표시: + +`pbmto4425 {{경로/대상/이미지.pbm}}` diff --git a/pages.ko/common/pbmtoascii.md b/pages.ko/common/pbmtoascii.md new file mode 100644 index 00000000000000..96a5fb8f28cf81 --- /dev/null +++ b/pages.ko/common/pbmtoascii.md @@ -0,0 +1,21 @@ +# pbmtoascii + +> PBM 이미지를 ASCII 그래픽으로 변환. +> 같이 보기: `ppmtoascii`, `asciitopgm`, `ppmtoterm`. +> 더 많은 정보: . + +- PBM 파일을 입력으로 받고 ASCII 출력 생성: + +`pbmtoascii {{경로/대상/입력_파일.pbm}}` + +- PBM 파일을 입력으로 받고 ASCII 출력을 파일로 저장: + +`pbmtoascii {{경로/대상/입력_파일.pbm}} > {{경로/대상/출력_파일}}` + +- 픽셀 매핑을 설정하여 PBM 파일을 입력으로 받기 (기본값은 1x2): + +`pbmtoascii -{{1x2|2x4}} {{경로/대상/입력_파일.pbm}}` + +- 버전 표시: + +`pbmtoascii -version` diff --git a/pages.ko/common/pbmtoatk.md b/pages.ko/common/pbmtoatk.md new file mode 100644 index 00000000000000..ab3bdbbbc1b0bf --- /dev/null +++ b/pages.ko/common/pbmtoatk.md @@ -0,0 +1,9 @@ +# pbmtoatk + +> PBM 이미지를 Andrew Toolkit 래스터 객체로 변환. +> 같이 보기: `atktopbm`. +> 더 많은 정보: . + +- PBM 이미지를 Andrew Toolkit 래스터 객체로 변환: + +`pbmtoatk {{경로/대상/이미지.pbm}} > {{경로/대상/출력.atk}}` diff --git a/pages.ko/common/pbmtobbnbg.md b/pages.ko/common/pbmtobbnbg.md new file mode 100644 index 00000000000000..9728e9a75075da --- /dev/null +++ b/pages.ko/common/pbmtobbnbg.md @@ -0,0 +1,12 @@ +# pbmtobbnbg + +> PBM 이미지를 BitGraph 그래픽으로 변환. +> 더 많은 정보: . + +- PBM 이미지를 BitGraph 터미널 Display Pixel Data 시퀀스로 변환: + +`pbmtobbnbg < {{경로/대상/이미지.pbm}} > {{경로/대상/출력.dpd}}` + +- rasterop 지정: + +`pbmtobbnbg {{3}} < {{경로/대상/이미지.pbm}} > {{경로/대상/출력.dpd}}` diff --git a/pages.ko/common/pbmtocmuwm.md b/pages.ko/common/pbmtocmuwm.md new file mode 100644 index 00000000000000..b9c16a9289d15d --- /dev/null +++ b/pages.ko/common/pbmtocmuwm.md @@ -0,0 +1,9 @@ +# pbmtocmuwm + +> PBM 이미지를 CMU 윈도우 매니저 비트맵으로 변환. +> 같이 보기: `cmuwmtopbm`. +> 더 많은 정보: . + +- PBM 이미지를 CMU 윈도우 매니저 비트맵으로 변환: + +`pbmtocmuwm {{경로/대상/이미지.pbm}} > {{경로/대상/출력.bmp}}` diff --git a/pages.ko/common/pbmtoepsi.md b/pages.ko/common/pbmtoepsi.md new file mode 100644 index 00000000000000..655ff39cc19100 --- /dev/null +++ b/pages.ko/common/pbmtoepsi.md @@ -0,0 +1,20 @@ +# pbmtoepsi + +> PBM 이미지를 캡슐화된 PostScript 스타일의 미리보기 비트맵으로 변환. +> 더 많은 정보: . + +- PBM 이미지를 캡슐화된 PostScript 스타일의 미리보기 비트맵으로 변환: + +`pbmtoepsi {{경로/대상/이미지.pbm}} > {{경로/대상/출력.bmp}}` + +- 지정한 해상도로 정사각형 출력 이미지 생성: + +`pbmtoepsi -dpi {{144}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.bmp}}` + +- 지정한 가로 및 세로 해상도로 출력 이미지 생성: + +`pbmtoepsi -dpi {{72x144}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.bmp}}` + +- 경계 상자만 생성: + +`pbmtoepsi -bbonly {{경로/대상/이미지.pbm}} > {{경로/대상/출력.bmp}}` diff --git a/pages.ko/common/pbmtoepson.md b/pages.ko/common/pbmtoepson.md new file mode 100644 index 00000000000000..3425d616e2a322 --- /dev/null +++ b/pages.ko/common/pbmtoepson.md @@ -0,0 +1,17 @@ +# pbmtoepson + +> PBM 이미지를 Epson 프린터 그래픽으로 변환. +> 같이 보기: `pbmtoescp2`. +> 더 많은 정보: . + +- PBM 이미지를 Epson 프린터 그래픽으로 변환: + +`pbmtoepson {{경로/대상/이미지.pbm}} > {{경로/대상/출력.epson}}` + +- 출력의 프린터 프로토콜 지정: + +`pbmtoepson -protocol {{escp9|escp}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.epson}}` + +- 출력의 가로 DPI 지정: + +`pbmtoepson -dpi {{60|72|80|90|120|144|240}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.epson}}` diff --git a/pages.ko/common/pbmtoescp2.md b/pages.ko/common/pbmtoescp2.md new file mode 100644 index 00000000000000..181870e4ce3a3e --- /dev/null +++ b/pages.ko/common/pbmtoescp2.md @@ -0,0 +1,21 @@ +# pbmtoescp2 + +> PBM 이미지를 ESC/P2 프린터 파일로 변환. +> 같이 보기: `pbmtoepson`, `escp2topbm`. +> 더 많은 정보: . + +- PBM 이미지를 ESC/P2 프린터 파일로 변환: + +`pbmtoescp2 {{경로/대상/이미지.pbm}} > {{경로/대상/출력.escp2}}` + +- 출력의 압축 지정: + +`pbmtoescp2 -compression {{0|1}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.escp2}}` + +- 출력을 인치당 도트 수로 가로 및 세로 해상도 지정: + +`pbmtoescp2 -resolution {{180|360|720}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.escp2}}` + +- 출력의 끝에 폼피드 명령 추가: + +`pbmtoescp2 -formfeed {{경로/대상/이미지.pbm}} > {{경로/대상/출력.escp2}}` diff --git a/pages.ko/common/pbmtogem.md b/pages.ko/common/pbmtogem.md new file mode 100644 index 00000000000000..20fa978a684230 --- /dev/null +++ b/pages.ko/common/pbmtogem.md @@ -0,0 +1,17 @@ +# pbmtogem + +> PBM 이미지를 입력으로 받아 압축된 GEM .img 파일로 출력. +> `pbmtogem`은 반복된 행을 압축할 수 없습니다. +> 더 많은 정보: . + +- PBM 이미지를 GEM .img 파일로 변환: + +`pbmtogem {{경로/대상/파일.pbm}} > {{경로/대상/파일.img}}` + +- 모든 정보 메시지 억제: + +`pbmtogem -quiet` + +- 버전 표시: + +`pbmtogem -version` diff --git a/pages.ko/common/pbmtogo.md b/pages.ko/common/pbmtogo.md new file mode 100644 index 00000000000000..5e4e3acfb965d8 --- /dev/null +++ b/pages.ko/common/pbmtogo.md @@ -0,0 +1,8 @@ +# pbmtogo + +> PBM 이미지를 압축된 GraphOn 그래픽으로 변환. +> 더 많은 정보: . + +- PBM 이미지를 압축된 GraphOn 그래픽으로 변환: + +`pbmtogo {{경로/대상/이미지.pbm}} > {{경로/대상/출력.go}}` diff --git a/pages.ko/common/pbmtoicon.md b/pages.ko/common/pbmtoicon.md new file mode 100644 index 00000000000000..7329f791e46bd5 --- /dev/null +++ b/pages.ko/common/pbmtoicon.md @@ -0,0 +1,8 @@ +# pbmtoicon + +> 이 명령은 `pbmtosunicon`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pbmtosunicon` diff --git a/pages.ko/common/pbmtolj.md b/pages.ko/common/pbmtolj.md new file mode 100644 index 00000000000000..c1401fa7fbd68e --- /dev/null +++ b/pages.ko/common/pbmtolj.md @@ -0,0 +1,16 @@ +# pbmtolj + +> PBM 파일을 HP LaserJet 파일로 변환. +> 더 많은 정보: . + +- PBM 파일을 HP LaserJet 파일로 변환: + +`pbmtolj {{경로/대상/입력.pbm}} > {{경로/대상/output.lj}}` + +- 지정된 방법으로 출력 파일 압축: + +`pbmtolj -{{packbits|delta|compress}} {{경로/대상/입력.pbm}} > {{경로/대상/output.lj}}` + +- 필요한 해상도 지정: + +`pbmtolj -resolution {{75|100|150|300|600}} {{경로/대상/입력.pbm}} > {{경로/대상/output.lj}}` diff --git a/pages.ko/common/pbmtomacp.md b/pages.ko/common/pbmtomacp.md new file mode 100644 index 00000000000000..382a14bdf9732f --- /dev/null +++ b/pages.ko/common/pbmtomacp.md @@ -0,0 +1,13 @@ +# pbmtomacp + +> PBM 이미지를 MacPaint 파일로 변환. +> 같이 보기: `macptopbm`. +> 더 많은 정보: . + +- PBM 이미지를 MACP 파일로 변환: + +`pbmtomacp {{경로/대상/이미지.pbm}} > {{경로/대상/출력.macp}}` + +- 출력 파일을 압축하지 않음: + +`pbmtomacp -norle {{경로/대상/이미지.pbm}} > {{경로/대상/출력.macp}}` diff --git a/pages.ko/common/pbmtomda.md b/pages.ko/common/pbmtomda.md new file mode 100644 index 00000000000000..672806471fbdf5 --- /dev/null +++ b/pages.ko/common/pbmtomda.md @@ -0,0 +1,17 @@ +# pbmtomda + +> PBM 이미지를 Microdesign MDA 파일로 변환. +> 같이 보기: `mdatopbm`. +> 더 많은 정보: . + +- PBM 이미지를 MDA 파일로 변환: + +`pbmtomda {{경로/대상/이미지.pbm}} > {{경로/대상/출력.mda}}` + +- 입력 이미지의 색상을 반전: + +`pbmtomda -i {{경로/대상/이미지.pbm}} > {{경로/대상/출력.mda}}` + +- 입력 이미지의 높이를 절반으로 줄임: + +`pbmtomda -d {{경로/대상/이미지.pbm}} > {{경로/대상/출력.mda}}` diff --git a/pages.ko/common/pbmtomgr.md b/pages.ko/common/pbmtomgr.md new file mode 100644 index 00000000000000..e64fe29c8b0920 --- /dev/null +++ b/pages.ko/common/pbmtomgr.md @@ -0,0 +1,9 @@ +# pbmtomgr + +> PBM 이미지를 MGR 비트맵으로 변환. +> 같이 보기: `mgrtopbm`. +> 더 많은 정보: . + +- PBM 이미지를 MGR 비트맵으로 변환: + +`pbmtomgr {{경로/대상/이미지.pbm}} > {{경로/대상/출력.mgr}}` diff --git a/pages.ko/common/pbmtonokia.md b/pages.ko/common/pbmtonokia.md new file mode 100644 index 00000000000000..e4926e6ddc7cff --- /dev/null +++ b/pages.ko/common/pbmtonokia.md @@ -0,0 +1,28 @@ +# pbmtonokia + +> PBM 이미지를 Nokia의 스마트 메시징 형식 중 하나로 변환. +> 더 많은 정보: . + +- PBM 이미지를 Nokia 운영자 로고로 변환하여 헥스 코드로 출력: + +`pbmtonokia -fmt NEX_NOL -net {{네트워크_운영자_코드}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.hex}}` + +- PBM 이미지를 Nokia 그룹 그래픽으로 변환하여 헥스 코드로 출력: + +`pbmtonokia -fmt NEX_NGG {{경로/대상/이미지.pbm}} > {{경로/대상/출력.hex}}` + +- PBM 이미지를 지정된 텍스트와 함께 Nokia 그림 메시지로 변환하여 헥스 코드로 출력: + +`pbmtonokia -fmt NEX_NPM -txt {{텍스트_메시지}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.hex}}` + +- PBM 이미지를 Nokia 운영자 로고로 변환하여 NOL 파일로 출력: + +`pbmtonokia -fmt NOL {{경로/대상/이미지.pbm}} > {{경로/대상/출력.nol}}` + +- PBM 이미지를 Nokia 그룹 그래픽으로 변환하여 NGG 파일로 출력: + +`pbmtonokia -fmt NGG {{경로/대상/이미지.pbm}} > {{경로/대상/출력.ngg}}` + +- PBM 이미지를 Nokia 그림 메시지로 변환하여 NPM 파일로 출력: + +`pbmtonokia -fmt NPM {{경로/대상/이미지.pbm}} > {{경로/대상/출력.npm}}` diff --git a/pages.ko/common/pbmtopgm.md b/pages.ko/common/pbmtopgm.md new file mode 100644 index 00000000000000..6258ffacaf05e5 --- /dev/null +++ b/pages.ko/common/pbmtopgm.md @@ -0,0 +1,9 @@ +# pbmtopgm + +> PBM 이미지를 개별 픽셀 주변 영역의 평균을 내어 PGM으로 변환. +> 같이 보기: `pnmconvol`, `pamditherbw`. +> 더 많은 정보: . + +- 각 픽셀 주변의 `w`x`h` 크기 영역을 평균 내어 PBM 이미지를 PGM으로 변환: + +`pbmtopgm {{w}} {{h}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/pbmtopi3.md b/pages.ko/common/pbmtopi3.md new file mode 100644 index 00000000000000..5dd3e205b45c2a --- /dev/null +++ b/pages.ko/common/pbmtopi3.md @@ -0,0 +1,9 @@ +# pbmtopi3 + +> PBM 이미지를 Atari Degas PI3 이미지로 변환. +> 같이 보기: `pi3topbm`. +> 더 많은 정보: . + +- PBM 이미지를 Atari Degas PI3 이미지로 변환: + +`pbmtopi3 {{경로/대상/이미지.pbm}} > {{경로/대상/atari_이미지.pi3}}` diff --git a/pages.ko/common/pbmtoplot.md b/pages.ko/common/pbmtoplot.md new file mode 100644 index 00000000000000..ebda0c22f7c894 --- /dev/null +++ b/pages.ko/common/pbmtoplot.md @@ -0,0 +1,8 @@ +# pbmtoplot + +> PBM 이미지를 UNIX 플롯 파일로 변환. +> 더 많은 정보: . + +- PBM 이미지를 UNIX 플롯 파일로 변환: + +`pbmtoplot {{경로/대상/이미지.pbm}} > {{경로/대상/출력.plot}}` diff --git a/pages.ko/common/pbmtoppa.md b/pages.ko/common/pbmtoppa.md new file mode 100644 index 00000000000000..3dd669ddd59db5 --- /dev/null +++ b/pages.ko/common/pbmtoppa.md @@ -0,0 +1,12 @@ +# pbmtoppa + +> PBM 이미지를 HP 프린터 성능 아키텍처 형식으로 변환. +> 더 많은 정보: . + +- PBM 이미지를 PPA 파일로 변환: + +`pbmtoppa {{경로/대상/이미지.pbm}} > {{경로/대상/출력.ppa}}` + +- 원하는 인치당 도트 수와 용지 크기 지정: + +`pbmtoppa -d {{300}} -s {{a4}} {{경로/대상/이미지.pbm}} > {{경로/대상/출력.ppa}}` diff --git a/pages.ko/common/pbmtoptx.md b/pages.ko/common/pbmtoptx.md new file mode 100644 index 00000000000000..885a5f9c87ceff --- /dev/null +++ b/pages.ko/common/pbmtoptx.md @@ -0,0 +1,8 @@ +# pbmtoptx + +> PBM 이미지를 Printronix 프린터 그래픽으로 변환. +> 더 많은 정보: . + +- PBM 이미지를 PTX 파일로 변환: + +`pbmtoptx {{경로/대상/이미지.pbm}} > {{경로/대상/출력.ptx}}` diff --git a/pages.ko/common/pbmtosunicon.md b/pages.ko/common/pbmtosunicon.md new file mode 100644 index 00000000000000..02240c8dce0e85 --- /dev/null +++ b/pages.ko/common/pbmtosunicon.md @@ -0,0 +1,8 @@ +# pbmtosunicon + +> PBM 이미지를 Sun 아이콘으로 변환. +> 더 많은 정보: . + +- PBM 이미지를 Sun 아이콘으로 변환: + +`pbmtosunicon {{경로/대상/입력.pbm}} > {{경로/대상/출력.ico}}` diff --git a/pages.ko/common/pbmtowbmp.md b/pages.ko/common/pbmtowbmp.md new file mode 100644 index 00000000000000..834c005fa74a2c --- /dev/null +++ b/pages.ko/common/pbmtowbmp.md @@ -0,0 +1,8 @@ +# pbmtowbmp + +> PBM 이미지를 무선 비트맵 파일로 변환. +> 더 많은 정보: . + +- PBM 이미지를 WBMP 파일로 변환: + +`pbmtowbmp {{경로/대상/입력_파일.pbm}} > {{경로/대상/출력_파일.wbmp}}` diff --git a/pages.ko/common/pbmtox10bm.md b/pages.ko/common/pbmtox10bm.md new file mode 100644 index 00000000000000..efed0bb3b94c96 --- /dev/null +++ b/pages.ko/common/pbmtox10bm.md @@ -0,0 +1,8 @@ +# pbmtox10bm + +> 이 명령은 `pbmtoxbm -x10`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pbmtoxbm` diff --git a/pages.ko/common/pbmtoxbm.md b/pages.ko/common/pbmtoxbm.md new file mode 100644 index 00000000000000..e5a42f0bd13b1f --- /dev/null +++ b/pages.ko/common/pbmtoxbm.md @@ -0,0 +1,12 @@ +# pbmtoxbm + +> PBM 이미지를 X11 또는 X10 비트맵으로 변환. +> 더 많은 정보: . + +- PBM 이미지를 X11 XBM 파일로 변환: + +`pbmtoxbm {{경로/대상/입력_파일.pbm}} > {{경로/대상/출력_파일.xbm}}` + +- X11 또는 X10 비트맵을 생성할지 명시적으로 지정: + +`pbmtoxbm -{{x11|x10}} {{경로/대상/입력_파일.pbm}} > {{경로/대상/출력_파일.xbm}}` diff --git a/pages.ko/common/pbmtoybm.md b/pages.ko/common/pbmtoybm.md new file mode 100644 index 00000000000000..db9bfd4ba919ed --- /dev/null +++ b/pages.ko/common/pbmtoybm.md @@ -0,0 +1,8 @@ +# pbmtoybm + +> PBM 파일을 Bennet Yee "face" 파일로 변환. +> 더 많은 정보: . + +- PBM 이미지 파일을 YBM으로 변환: + +`pbmtoybm {{경로/대상/입력_파일.pbm}} > {{경로/대상/출력_파일.ybm}}` diff --git a/pages.ko/common/pbmtozinc.md b/pages.ko/common/pbmtozinc.md new file mode 100644 index 00000000000000..d7773b7fd750aa --- /dev/null +++ b/pages.ko/common/pbmtozinc.md @@ -0,0 +1,8 @@ +# pbmtozinc + +> PBM 이미지를 Zinc Interface Library 버전 1.0에서 사용하는 Zinc 비트맵으로 변환. +> 더 많은 정보: . + +- PBM 이미지를 Zinc 비트맵으로 변환: + +`pbmtozinc {{경로/대상/이미지.pbm}} > {{경로/대상/출력.zinc}}` diff --git a/pages.ko/common/pbmupc.md b/pages.ko/common/pbmupc.md new file mode 100644 index 00000000000000..84b70b2546b598 --- /dev/null +++ b/pages.ko/common/pbmupc.md @@ -0,0 +1,12 @@ +# pbmupc + +> 범용 상품 코드(UPC)의 PBM 이미지를 생성합니다. +> 더 많은 정보: . + +- 지정된 상품 유형, 제조사 코드 및 상품 코드를 위한 UPC 이미지 생성: + +`pbmupc {{상품_유형}} {{제조사_코드}} {{상품_코드}} > {{경로/대상/출력.pbm}}` + +- 체크섬을 표시하지 않는 대체 스타일 사용: + +`pbmupc -s2 {{상품_유형}} {{제조사_코드}} {{상품_코드}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/pbzip2.md b/pages.ko/common/pbzip2.md new file mode 100644 index 00000000000000..fe57bcc4c2dc26 --- /dev/null +++ b/pages.ko/common/pbzip2.md @@ -0,0 +1,21 @@ +# pbzip2 + +> `bzip2` 파일 압축기의 병렬 구현. +> 같이 보기: `bzip2`, `tar`. +> 더 많은 정보: . + +- 파일 압축: + +`pbzip2 {{경로/대상/파일}}` + +- 지정된 프로세서 수를 사용하여 파일 압축: + +`pbzip2 -p{{4}} {{경로/대상/파일}}` + +- 파일 [d]압축: + +`pbzip2 --decompress {{경로/대상/압축_파일.bz2}}` + +- 도움말 표시: + +`pbzip2 -h` diff --git a/pages.ko/common/pcapfix.md b/pages.ko/common/pcapfix.md new file mode 100644 index 00000000000000..903cff7c3bd6d5 --- /dev/null +++ b/pages.ko/common/pcapfix.md @@ -0,0 +1,24 @@ +# pcapfix + +> 손상되거나 손괴된 PCAP 및 PcapNG 파일 복구. +> 더 많은 정보: . + +- PCAP/PCapNG 파일 복구 (참고: PCAP 파일의 경우 각 패킷의 처음 262144바이트만 스캔): + +`pcapfix {{경로/대상/파일.pcapng}}` + +- 전체 PCAP 파일 복구: + +`pcapfix --deep-scan {{경로/대상/파일.pcap}}` + +- PCAP/PcapNG 파일을 복구하고 복구된 파일을 지정된 위치에 저장: + +`pcapfix --outfile {{경로/대상/복구된파일.pcap}} {{경로/대상/파일.pcap}}` + +- 지정된 파일을 자동 인식 무시하고 PcapNG 파일로 처리: + +`pcapfix --pcapng {{경로/대상/파일.pcapng}}` + +- 파일을 복구하고 과정을 자세히 표시: + +`pcapfix --verbose {{경로/대상/파일.pcap}}` diff --git a/pages.ko/common/pcdindex.md b/pages.ko/common/pcdindex.md new file mode 100644 index 00000000000000..4dfe5d31d54b77 --- /dev/null +++ b/pages.ko/common/pcdindex.md @@ -0,0 +1,8 @@ +# pcdindex + +> 이 명령은 `pcdovtoppm`으로 이름이 변경되었습니다. +> 더 많은 정보: . + +- 현재 이름으로 명령에 대한 문서 보기: + +`tldr pcdovtoppm` diff --git a/pages.ko/common/pcdovtoppm.md b/pages.ko/common/pcdovtoppm.md new file mode 100644 index 00000000000000..7ea8309512a0f5 --- /dev/null +++ b/pages.ko/common/pcdovtoppm.md @@ -0,0 +1,20 @@ +# pcdovtoppm + +> 사진 CD의 개요 파일을 기반으로 색인 이미지를 생성. +> 더 많은 정보: . + +- PCD 개요 파일에서 PPM 색인 이미지 생성: + +`pcdovtoppm {{경로/대상/파일.pcd}} > {{경로/대상/출력.ppm}}` + +- 출력 이미지의 최대 너비와 출력에 포함된 각 이미지의 최대 크기 지정: + +`pcdovtoppm {{[-m|-maxwidth]}} {{너비}} {{[-s|-size]}} {{크기}} {{경로/대상/파일.pcd}} > {{경로/대상/출력.ppm}}` + +- 가로로 배치할 이미지의 최대 수와 최대 색상 수 지정: + +`pcdovtoppm {{[-a|-across]}} {{이미지_수}} {{[-c|-colors]}} {{색상_수}} {{경로/대상/파일.pcd}} > {{경로/대상/출력.ppm}}` + +- 주석에 사용할 폰트를 지정하고 배경을 흰색으로 칠하기: + +`pcdovtoppm {{[-f|-font]}} {{폰트}} {{[-w|-white]}} {{경로/대상/파일.pcd}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pcxtoppm.md b/pages.ko/common/pcxtoppm.md new file mode 100644 index 00000000000000..1860b06de3c5b6 --- /dev/null +++ b/pages.ko/common/pcxtoppm.md @@ -0,0 +1,16 @@ +# pcxtoppm + +> PCX 파일을 PPM 이미지로 변환. +> 더 많은 정보: . + +- PCX 파일을 PPM 이미지로 변환: + +`pcxtoppm {{경로/대상/파일.pcx}} > {{경로/대상/파일.ppm}}` + +- PCX 파일이 팔레트를 제공하더라도 미리 정의된 표준 팔레트를 사용: + +`pcxtoppm -stdpalette {{경로/대상/파일.pcx}} > {{경로/대상/파일.ppm}}` + +- PCX 헤더 정보를 `stdout`에 출력: + +`pcxtoppm -verbose {{경로/대상/파일.pcx}} > {{경로/대상/파일.ppm}}` diff --git a/pages.ko/common/pdf-parser.md b/pages.ko/common/pdf-parser.md new file mode 100644 index 00000000000000..e78fdd588dcbe2 --- /dev/null +++ b/pages.ko/common/pdf-parser.md @@ -0,0 +1,16 @@ +# pdf-parser + +> PDF 파일의 기본 요소를 렌더링 없이 식별. +> 더 많은 정보: . + +- PDF 파일의 통계 표시: + +`pdf-parser --stats {{경로/대상/파일.pdf}}` + +- PDF 파일에서 `/Font` 유형의 객체 표시: + +`pdf-parser --type={{/Font}} {{경로/대상/파일.pdf}}` + +- 간접 객체에서 문자열 검색: + +`pdf-parser --search={{검색_문자열}} {{경로/대상/파일.pdf}}` diff --git a/pages.ko/common/pdffonts.md b/pages.ko/common/pdffonts.md new file mode 100644 index 00000000000000..e00d05b73d980d --- /dev/null +++ b/pages.ko/common/pdffonts.md @@ -0,0 +1,24 @@ +# pdffonts + +> Portable Document Format (PDF) 파일의 폰트 정보 뷰어. +> 더 많은 정보: . + +- PDF 파일의 폰트 정보 출력: + +`pdffonts {{경로/대상/파일.pdf}}` + +- PDF 파일의 보안 제한을 우회하기 위해 사용자 비밀번호 지정: + +`pdffonts -upw {{비밀번호}} {{경로/대상/파일.pdf}}` + +- PDF 파일의 보안 제한을 우회하기 위해 소유자 비밀번호 지정: + +`pdffonts -opw {{비밀번호}} {{경로/대상/파일.pdf}}` + +- PDF 파일이 래스터화될 때 사용될 폰트의 위치에 대한 추가 정보 출력: + +`pdffonts -loc {{경로/대상/파일.pdf}}` + +- PDF 파일이 PostScript로 변환될 때 사용될 폰트의 위치에 대한 추가 정보 출력: + +`pdffonts -locPS {{경로/대상/파일.pdf}}` diff --git a/pages.ko/common/pdfgrep.md b/pages.ko/common/pdfgrep.md new file mode 100644 index 00000000000000..f795082a5d38b0 --- /dev/null +++ b/pages.ko/common/pdfgrep.md @@ -0,0 +1,24 @@ +# pdfgrep + +> PDF 파일에서 텍스트 검색. +> 더 많은 정보: . + +- PDF에서 패턴과 일치하는 줄 찾기: + +`pdfgrep {{패턴}} {{파일.pdf}}` + +- 각 일치하는 줄에 대해 파일 이름과 페이지 번호 포함: + +`pdfgrep --with-filename --page-number {{패턴}} {{파일.pdf}}` + +- "foo"로 시작하는 줄을 대소문자 구분 없이 검색하고 처음 3개의 일치 항목 반환: + +`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{파일.pdf}}` + +- 현재 디렉토리에서 `.pdf` 확장자를 가진 파일을 재귀적으로 검색하여 패턴 찾기: + +`pdfgrep --recursive {{패턴}}` + +- 현재 디렉토리에서 특정 글롭과 일치하는 파일을 재귀적으로 검색하여 패턴 찾기: + +`pdfgrep --recursive --include {{'*book.pdf'}} {{패턴}}` diff --git a/pages.ko/common/pdfimages.md b/pages.ko/common/pdfimages.md new file mode 100644 index 00000000000000..9bc174563d2248 --- /dev/null +++ b/pages.ko/common/pdfimages.md @@ -0,0 +1,20 @@ +# pdfimages + +> PDF에서 이미지를 추출하는 유틸리티. +> 더 많은 정보: . + +- PDF 파일에서 모든 이미지를 추출하여 PNG로 저장: + +`pdfimages -png {{경로/대상/파일.pdf}} {{파일_이름_접두사}}` + +- 3페이지부터 5페이지까지의 이미지 추출: + +`pdfimages -f {{3}} -l {{5}} {{경로/대상/파일.pdf}} {{파일_이름_접두사}}` + +- PDF 파일에서 이미지를 추출하고 출력 파일 이름에 페이지 번호 포함: + +`pdfimages -p {{경로/대상/파일.pdf}} {{파일_이름_접두사}}` + +- PDF 파일의 모든 이미지에 대한 정보 나열: + +`pdfimages -list {{경로/대상/파일.pdf}}` diff --git a/pages.ko/common/pdfinfo.md b/pages.ko/common/pdfinfo.md new file mode 100644 index 00000000000000..7b29d8579d2e3c --- /dev/null +++ b/pages.ko/common/pdfinfo.md @@ -0,0 +1,16 @@ +# pdfinfo + +> Portable Document Format (PDF) 파일 정보 뷰어. +> 더 많은 정보: . + +- PDF 파일 정보 출력: + +`pdfinfo {{경로/대상/파일.pdf}}` + +- 보안 제한을 우회하기 위해 PDF 파일의 사용자 비밀번호 지정: + +`pdfinfo -upw {{비밀번호}} {{경로/대상/파일.pdf}}` + +- 보안 제한을 우회하기 위해 PDF 파일의 소유자 비밀번호 지정: + +`pdfinfo -opw {{비밀번호}} {{경로/대상/파일.pdf}}` diff --git a/pages.ko/common/pdfjam.md b/pages.ko/common/pdfjam.md new file mode 100644 index 00000000000000..3b7af938c1a876 --- /dev/null +++ b/pages.ko/common/pdfjam.md @@ -0,0 +1,28 @@ +# pdfjam + +> LaTeX의 pdfpages 패키지를 사용하여 PDF를 처리하는 셸 프론트엔드. +> 더 많은 정보: . + +- 두 개 이상의 PDF 병합: + +`pdfjam {{경로/대상/파일1.pdf}} {{경로/대상/파일2.pdf}} --outfile {{경로/대상/출력_파일.pdf}}` + +- 각 파일의 첫 페이지를 함께 병합: + +`pdfjam {{파일들...}} 1 --outfile {{경로/대상/출력_파일.pdf}}` + +- 두 PDF의 하위 범위 병합: + +`pdfjam {{경로/대상/파일1.pdf 3-5,1}} {{경로/대상/파일2.pdf 4-6}} --outfile {{경로/대상/출력_파일.pdf}}` + +- 스캔된 서명을 오버레이하여 A4 페이지에 서명 (다른 형식의 경우 델타를 높이에 맞춤): + +`pdfjam {{경로/대상/파일.pdf}} {{경로/대상/서명}} --fitpaper true --outfile {{경로/대상/서명된.pdf}} --nup "{{1x2}}" --delta "{{0 -842pt}}"` + +- 입력 파일의 페이지를 멋진 2x2 그리드로 배열: + +`pdfjam {{경로/대상/파일.pdf}} --nup {{2x2}} --suffix {{4up}} --preamble '{{\usepackage{fancyhdr} \pagestyle{fancy}}}'` + +- 각 파일 내 페이지 순서를 반대로 하고 연결: + +`pdfjam {{파일들...}} {{last-1}} --suffix {{reversed}}` diff --git a/pages.ko/common/pdfjoin.md b/pages.ko/common/pdfjoin.md new file mode 100644 index 00000000000000..d6699be8ad63f9 --- /dev/null +++ b/pages.ko/common/pdfjoin.md @@ -0,0 +1,20 @@ +# pdfjoin + +> pdfjam을 기반으로 한 PDF 병합 도구. +> 더 많은 정보: . + +- 두 개의 PDF를 기본 접미사 "joined"로 하나로 병합: + +`pdfjoin {{경로/대상/파일1.pdf}} {{경로/대상/파일2.pdf}}` + +- 각 파일의 첫 번째 페이지를 함께 병합: + +`pdfjoin {{경로/대상/파일1.pdf 경로/대상/파일2.pdf ...}} {{1}} --outfile {{출력_파일}}` + +- 페이지 3에서 5까지와 페이지 1을 순서대로 새로운 PDF로 저장하고 사용자 정의 접미사를 추가: + +`pdfjoin {{경로/대상/파일.pdf}} {{3-5,1}} --suffix {{재정렬했음}}` + +- 두 PDF의 페이지 하위 범위를 병합: + +`pdfjoin {{경로/대상/파일1.pdf}} {{2-}} {{파일2}} {{last-3}} --outfile {{출력_파일}}` diff --git a/pages.ko/common/pdflatex.md b/pages.ko/common/pdflatex.md new file mode 100644 index 00000000000000..a54f2b8a1e42d4 --- /dev/null +++ b/pages.ko/common/pdflatex.md @@ -0,0 +1,16 @@ +# pdflatex + +> LaTeX 소스 파일을 PDF 문서로 컴파일. +> 더 많은 정보: . + +- PDF 문서 컴파일: + +`pdflatex {{소스.tex}}` + +- 출력 디렉토리를 지정하여 PDF 문서 컴파일: + +`pdflatex -output-directory={{경로/대상/폴더}} {{소스.tex}}` + +- 각 오류에서 중지하며 PDF 문서 컴파일: + +`pdflatex -halt-on-error {{소스.tex}}` diff --git a/pages.ko/common/pdfposter.md b/pages.ko/common/pdfposter.md new file mode 100644 index 00000000000000..291c49889d5b88 --- /dev/null +++ b/pages.ko/common/pdfposter.md @@ -0,0 +1,12 @@ +# pdfposter + +> 큰 시트 PDF를 여러 A4 페이지로 변환하여 인쇄. +> 더 많은 정보: . + +- A2 포스터를 4개의 A4 페이지로 변환: + +`pdfposter --poster-size a2 {{입력_파일.pdf}} {{출력_파일.pdf}}` + +- A4 포스터를 A3로 확대하고 2개의 A4 페이지 생성: + +`pdfposter --scale 2 {{입력_파일.pdf}} {{출력_파일.pdf}}` diff --git a/pages.ko/common/pdfseparate.md b/pages.ko/common/pdfseparate.md new file mode 100644 index 00000000000000..546dd59100f549 --- /dev/null +++ b/pages.ko/common/pdfseparate.md @@ -0,0 +1,16 @@ +# pdfseparate + +> 휴대용 문서 형식(PDF) 파일 페이지 추출기. +> 더 많은 정보: . + +- PDF 파일에서 페이지를 추출하고 각 페이지에 대해 별도의 PDF 파일 생성: + +`pdfseparate {{경로/대상/원본_파일_이름.pdf}} {{경로/대상/파일_이름-%d.pdf}}` + +- 추출을 위한 시작 페이지 지정: + +`pdfseparate -f {{3}} {{경로/대상/원본_파일_이름.pdf}} {{경로/대상/파일_이름-%d.pdf}}` + +- 추출을 위한 마지막 페이지 지정: + +`pdfseparate -l {{10}} {{경로/대상/원본_파일_이름.pdf}} {{경로/대상/파일_이름-%d.pdf}}` diff --git a/pages.ko/common/pdftex.md b/pages.ko/common/pdftex.md new file mode 100644 index 00000000000000..086597b4f855be --- /dev/null +++ b/pages.ko/common/pdftex.md @@ -0,0 +1,16 @@ +# pdftex + +> TeX 소스 파일에서 PDF 문서를 컴파일. +> 더 많은 정보: . + +- PDF 문서 컴파일: + +`pdftex {{소스.tex}}` + +- 출력 폴더를 지정하여 PDF 문서 컴파일: + +`pdftex -output-directory={{경로/대상/폴더}} {{소스.tex}}` + +- 각 오류 발생 시 종료하며 PDF 문서 컴파일: + +`pdftex -halt-on-error {{소스.tex}}` diff --git a/pages.ko/common/pdftk.md b/pages.ko/common/pdftk.md new file mode 100644 index 00000000000000..0b372ca119bd3b --- /dev/null +++ b/pages.ko/common/pdftk.md @@ -0,0 +1,24 @@ +# pdftk + +> PDF 도구 모음. +> 더 많은 정보: . + +- PDF 파일에서 1-3, 5, 6-10 페이지를 추출하여 다른 파일로 저장: + +`pdftk {{입력.pdf}} cat {{1-3 5 6-10}} output {{출력.pdf}}` + +- PDF 파일 목록을 병합(연결)하여 결과를 다른 파일로 저장: + +`pdftk {{파일1.pdf 파일2.pdf ...}} cat output {{출력.pdf}}` + +- PDF 파일의 각 페이지를 별도의 파일로 분할하고, 지정된 파일 이름 출력 패턴 사용: + +`pdftk {{입력.pdf}} burst output {{출력_%d.pdf}}` + +- 모든 페이지를 시계 방향으로 180도 회전: + +`pdftk {{입력.pdf}} cat {{1-endsouth}} output {{출력.pdf}}` + +- 세 번째 페이지만 시계 방향으로 90도 회전하고 나머지는 변경 없이 유지: + +`pdftk {{입력.pdf}} cat {{1-2 3east 4-end}} output {{출력.pdf}}` diff --git a/pages.ko/common/pdftocairo.md b/pages.ko/common/pdftocairo.md new file mode 100644 index 00000000000000..8906573d2fc2d1 --- /dev/null +++ b/pages.ko/common/pdftocairo.md @@ -0,0 +1,28 @@ +# pdftocairo + +> PDF 파일을 PNG/JPEG/TIFF/PDF/PS/EPS/SVG 형식으로 변환하는 도구입니다 (cairo 사용). +> 더 많은 정보: . + +- PDF 파일을 JPEG로 변환: + +`pdftocairo {{경로/대상/파일.pdf}} -jpeg` + +- 출력물이 용지를 채우도록 확장하여 PDF로 변환: + +`pdftocairo {{경로/대상/파일.pdf}} {{출력.pdf}} -pdf -expand` + +- 변환할 첫 페이지와 마지막 페이지를 지정하여 SVG로 변환: + +`pdftocairo {{경로/대상/파일.pdf}} {{출력.svg}} -svg -f {{첫_페이지}} -l {{마지막_페이지}}` + +- 200ppi 해상도로 PNG로 변환: + +`pdftocairo {{경로/대상/파일.pdf}} {{출력.png}} -png -r 200` + +- A3 용지 크기로 설정하여 그레이스케일 TIFF로 변환: + +`pdftocairo {{경로/대상/파일.pdf}} -tiff -gray -paper A3` + +- 좌측 상단 모서리에서 x와 y 픽셀을 잘라내어 PNG로 변환: + +`pdftocairo {{경로/대상/파일.pdf}} -png -x {{x_픽셀}} -y {{y_픽셀}}` diff --git a/pages.ko/common/pdftotext.md b/pages.ko/common/pdftotext.md new file mode 100644 index 00000000000000..6976eaa37b9859 --- /dev/null +++ b/pages.ko/common/pdftotext.md @@ -0,0 +1,24 @@ +# pdftotext + +> PDF 파일을 일반 텍스트 형식으로 변환. +> 더 많은 정보: . + +- `filename.pdf`를 일반 텍스트로 변환하고 `stdout`에 출력: + +`pdftotext {{filename.pdf}} -` + +- `filename.pdf`를 일반 텍스트로 변환하고 `filename.txt`로 저장: + +`pdftotext {{filename.pdf}}` + +- `filename.pdf`를 일반 텍스트로 변환하고 레이아웃 유지: + +`pdftotext -layout {{filename.pdf}}` + +- `input.pdf`를 일반 텍스트로 변환하고 `output.txt`로 저장: + +`pdftotext {{input.pdf}} {{output.txt}}` + +- `input.pdf`의 2, 3, 4 페이지를 일반 텍스트로 변환하고 `output.txt`로 저장: + +`pdftotext -f {{2}} -l {{4}} {{input.pdf}} {{output.txt}}` diff --git a/pages.ko/common/pdfunite.md b/pages.ko/common/pdfunite.md new file mode 100644 index 00000000000000..fcc2ac5c18237b --- /dev/null +++ b/pages.ko/common/pdfunite.md @@ -0,0 +1,12 @@ +# pdfunite + +> PDF 병합 도구. +> 더 많은 정보: . + +- 2개의 PDF를 하나의 PDF로 병합: + +`pdfunite {{경로/대상/파일A.pdf}} {{경로/대상/파일B.pdf}} {{경로/대상/병합된_출력.pdf}}` + +- 폴더 내의 PDF 파일을 하나의 PDF로 병합: + +`pdfunite {{경로/대상/폴더/*.pdf}} {{경로/대상/병합된_출력.pdf}}` diff --git a/pages.ko/common/peco.md b/pages.ko/common/peco.md new file mode 100644 index 00000000000000..3069bb93bcff30 --- /dev/null +++ b/pages.ko/common/peco.md @@ -0,0 +1,16 @@ +# peco + +> 인터랙티브 필터링 도구. +> 더 많은 정보: . + +- 지정된 디렉터리의 모든 파일에서 `peco` 시작: + +`find {{경로/대상/폴더}} -type f | peco` + +- 실행 중인 프로세스에서 `peco` 시작: + +`ps aux | peco` + +- 지정된 쿼리와 함께 `peco` 시작: + +`peco --query "{{쿼리}}"` diff --git a/pages.ko/common/pee.md b/pages.ko/common/pee.md new file mode 100644 index 00000000000000..f737282ef23d4a --- /dev/null +++ b/pages.ko/common/pee.md @@ -0,0 +1,17 @@ +# pee + +> `stdin`을 파이프로 전달하는 도구. +> 같이 보기: `tee`. +> 더 많은 정보: . + +- 각 명령을 실행하고, 각 명령에 `stdin`의 별도 복사본 제공: + +`pee {{명령1 명령2 ...}}` + +- `stdin`의 복사본을 `stdout`에 쓰기 (`tee`처럼 동작): + +`pee cat {{명령1 명령2 ...}}` + +- SIGPIPE 및 쓰기 오류 발생 시 즉시 종료: + +`pee --no-ignore-sigpipe --no-ignore-write-errors {{명령1 명령2 ...}}` diff --git a/pages.ko/common/peerflix.md b/pages.ko/common/peerflix.md new file mode 100644 index 00000000000000..126d178de26719 --- /dev/null +++ b/pages.ko/common/peerflix.md @@ -0,0 +1,24 @@ +# peerflix + +> 비디오 또는 오디오 기반 토렌트를 미디어 플레이어로 스트리밍. +> 더 많은 정보: . + +- 토렌트에서 가장 큰 미디어 파일 스트리밍: + +`peerflix "{{토렌트_URL|마그넷_링크}}"` + +- 마그넷 링크로 주어진 토렌트에 포함된 모든 스트리밍 가능한 파일 나열: + +`peerflix "{{magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567}}" --list` + +- 토렌트 URL로 주어진 토렌트에서 가장 큰 파일을 VLC로 스트리밍: + +`peerflix "{{http://example.net/music.torrent}}" --vlc` + +- 자막과 함께 토렌트에서 가장 큰 파일을 MPlayer로 스트리밍: + +`peerflix "{{토렌트_URL|마그넷_링크}}" --mplayer --subtitles {{자막_파일.srt}}` + +- 토렌트의 모든 파일을 Airplay로 스트리밍: + +`peerflix "{{토렌트_URL|마그넷_링크}}" --all --airplay` diff --git a/pages.ko/common/peerindex.md b/pages.ko/common/peerindex.md new file mode 100644 index 00000000000000..684c83eb21a90c --- /dev/null +++ b/pages.ko/common/peerindex.md @@ -0,0 +1,13 @@ +# peerindex + +> MRT TABLE_DUMPV2 피어 인덱스 테이블 검사. +> `gzip`, `bzip2`, `xz`로 압축된 파일을 읽을 수 있습니다. +> 더 많은 정보: . + +- 모든 피어 나열: + +`peerindex {{master6.mrt}}` + +- 라우팅 정보를 제공한 모든 피어 표시: + +`peerindex -r {{master6.mrt}}` diff --git a/pages.ko/common/peludna-prognoza.md b/pages.ko/common/peludna-prognoza.md new file mode 100644 index 00000000000000..e0bd462de1c225 --- /dev/null +++ b/pages.ko/common/peludna-prognoza.md @@ -0,0 +1,20 @@ +# peludna-prognoza + +> Pliva의 알레르기 데이터 API를 사용하여 터미널에서 크로아티아 도시의 꽃가루 측정 데이터를 가져옵니다. +> 더 많은 정보: . + +- 도시를 대화형으로 검색하고 데이터를 가져오기: + +`peludna-prognoza` + +- 특정 도시의 데이터 가져오기: + +`peludna-prognoza "{{도시}}"` + +- 기계 판독 가능한 형식으로 데이터 표시: + +`peludna-prognoza "{{도시}}" --{{json|xml}}` + +- 기본 웹 브라우저에서 의 특정 도시 꽃가루 측정 페이지 표시: + +`peludna-prognoza "{{도시}}" --web` diff --git a/pages.ko/common/perl.md b/pages.ko/common/perl.md new file mode 100644 index 00000000000000..e70d9585b7146c --- /dev/null +++ b/pages.ko/common/perl.md @@ -0,0 +1,20 @@ +# perl + +> Perl 5 언어 인터프리터. +> 더 많은 정보: . + +- `stdin`에서 regex1과 일치하고 대소문자를 구분하지 않는 regex2와 일치하는 행 출력: + +`perl -n -e 'print if m/{{regex1}}/ and m/{{regex2}}/i'` + +- 공백을 무시하고 정규식을 사용하여 첫 번째 매치 그룹 출력: + +`perl -n -E 'say $1 if m/{{이전}} ( {{정규식_그룹}} ) {{이후}}/x'` + +- 백업과 함께 제자리에서 모든 regex 발생을 대체: + +`perl -i'.bak' -p -e 's/{{regex}}/{{대체}}/g' {{경로/대상/파일들}}` + +- Perl의 인라인 문서 사용, 일부 페이지는 Linux의 매뉴얼 페이지에서도 사용 가능: + +`perldoc perlrun ; perldoc module ; perldoc -f splice; perldoc -q perlfaq1` diff --git a/pages.ko/common/perlbrew.md b/pages.ko/common/perlbrew.md new file mode 100644 index 00000000000000..da7c584ff40ddb --- /dev/null +++ b/pages.ko/common/perlbrew.md @@ -0,0 +1,37 @@ +# perlbrew + +> 홈 디렉토리에서 Perl 설치를 관리. +> 같이 보기: `asdf`. +> 더 많은 정보: . + +- `perlbrew` 환경 초기화: + +`perlbrew init` + +- 사용 가능한 Perl 버전 나열: + +`perlbrew available` + +- Perl 버전 설치/제거: + +`perlbrew {{install|uninstall}} {{버전}}` + +- Perl 설치 목록: + +`perlbrew list` + +- 특정 설치로 전환하고 기본값으로 설정: + +`perlbrew switch perl-{{버전}}` + +- 시스템 Perl 다시 사용: + +`perlbrew off` + +- 사용 중인 설치에 대해 설치된 CPAN 모듈 나열: + +`perlbrew list-modules` + +- 한 설치에서 다른 설치로 CPAN 모듈 복제: + +`perlbrew clone-modules {{소스_설치}} {{대상_설치}}` diff --git a/pages.ko/common/perldoc.md b/pages.ko/common/perldoc.md new file mode 100644 index 00000000000000..3ff3963724fc2f --- /dev/null +++ b/pages.ko/common/perldoc.md @@ -0,0 +1,20 @@ +# perldoc + +> `.pod` 형식의 Perl 문서를 조회. +> 더 많은 정보: . + +- 내장 함수, 변수 또는 API에 대한 문서 보기: + +`perldoc -{{f|v|a}} {{이름}}` + +- Perl FAQ의 질문 제목에서 검색: + +`perldoc -q {{정규식}}` + +- 출력을 직접 `stdout`으로 전송 (기본적으로 페이저로 전송됨): + +`perldoc -T {{페이지|모듈|프로그램|URL}}` + +- 원하는 번역의 언어 코드를 지정: + +`perldoc -L {{언어_코드}} {{페이지|모듈|프로그램|URL}}` diff --git a/pages.ko/common/pest.md b/pages.ko/common/pest.md new file mode 100644 index 00000000000000..5f8fc2e97a4ec9 --- /dev/null +++ b/pages.ko/common/pest.md @@ -0,0 +1,32 @@ +# pest + +> 단순성에 중점을 둔 PHP 테스트 프레임워크. +> 더 많은 정보: . + +- 현재 디렉토리에 표준 Pest 구성 초기화: + +`pest --init` + +- 현재 디렉토리의 테스트 실행: + +`pest` + +- 주어진 그룹으로 주석이 달린 테스트 실행: + +`pest --group {{이름}}` + +- 테스트를 실행하고 커버리지 보고서를 `stdout`에 출력: + +`pest --coverage` + +- 커버리지를 포함한 테스트를 실행하고, 커버리지가 최소 퍼센트보다 적으면 실패: + +`pest --coverage --min={{80}}` + +- 테스트를 병렬로 실행: + +`pest --parallel` + +- 변이를 포함한 테스트 실행: + +`pest --mutate` diff --git a/pages.ko/common/pfetch.md b/pages.ko/common/pfetch.md new file mode 100644 index 00000000000000..261cb58d7286bc --- /dev/null +++ b/pages.ko/common/pfetch.md @@ -0,0 +1,24 @@ +# pfetch + +> 시스템 정보를 표시. +> 더 많은 정보: . + +- ASCII 아트와 기본 필드 표시: + +`pfetch` + +- ASCII 아트와 색상 팔레트 필드만 표시: + +`PF_INFO="{{ascii palette}}" pfetch` + +- 가능한 모든 필드 표시: + +`PF_INFO="{{ascii title os host kernel uptime pkgs memory shell editor wm de palette}}" pfetch` + +- 다른 사용자 이름과 호스트 이름 표시: + +`USER="{{사용자}}" HOSTNAME="{{호스트명}}" pfetch` + +- 색상 없이 표시: + +`PF_COLOR={{0}} pfetch` diff --git a/pages.ko/common/pg_ctl.md b/pages.ko/common/pg_ctl.md new file mode 100644 index 00000000000000..7751f1e246a819 --- /dev/null +++ b/pages.ko/common/pg_ctl.md @@ -0,0 +1,24 @@ +# pg_ctl + +> PostgreSQL 서버 및 데이터베이스 클러스터를 제어하는 유틸리티. +> 더 많은 정보: . + +- 새로운 PostgreSQL 데이터베이스 클러스터 초기화: + +`pg_ctl -D {{데이터_디렉토리}} init` + +- PostgreSQL 서버 시작: + +`pg_ctl -D {{데이터_디렉토리}} start` + +- PostgreSQL 서버 중지: + +`pg_ctl -D {{데이터_디렉토리}} stop` + +- PostgreSQL 서버 재시작: + +`pg_ctl -D {{데이터_디렉토리}} restart` + +- PostgreSQL 서버 설정 다시 로드: + +`pg_ctl -D {{데이터_디렉토리}} reload` diff --git a/pages.ko/common/pg_dump.md b/pages.ko/common/pg_dump.md new file mode 100644 index 00000000000000..a0958a306d7c7e --- /dev/null +++ b/pages.ko/common/pg_dump.md @@ -0,0 +1,28 @@ +# pg_dump + +> PostgreSQL 데이터베이스를 스크립트 파일 또는 다른 아카이브 파일로 추출. +> 더 많은 정보: . + +- 데이터베이스를 SQL 스크립트 파일로 덤프: + +`pg_dump {{DB_이름}} > {{출력_파일.sql}}` + +- 위와 동일하게, 사용자 이름을 지정: + +`pg_dump {{[-U|--username]}} {{사용자명}} {{DB_이름}} > {{출력_파일.sql}}` + +- 위와 동일하게, 호스트 및 포트를 지정: + +`pg_dump {{[-h|--host]}} {{호스트}} {{[-p|--port]}} {{포트}} {{DB_이름}} > {{출력_파일.sql}}` + +- 데이터베이스를 사용자 정의 형식의 아카이브 파일로 덤프: + +`pg_dump {{[-F|--format]}} {{[c|custom]}} {{DB_이름}} > {{출력_파일.dump}}` + +- 데이터베이스 데이터만 SQL 스크립트 파일로 덤프: + +`pg_dump {{[-a|--data-only]}} {{DB_이름}} > {{경로/대상/출력_파일.sql}}` + +- 스키마(데이터 정의)만 SQL 스크립트 파일로 덤프: + +`pg_dump {{[-s|--schema-only]}} {{DB_이름}} > {{경로/대상/출력_파일.sql}}` diff --git a/pages.ko/common/pg_dumpall.md b/pages.ko/common/pg_dumpall.md new file mode 100644 index 00000000000000..dbb5c01506e761 --- /dev/null +++ b/pages.ko/common/pg_dumpall.md @@ -0,0 +1,24 @@ +# pg_dumpall + +> PostgreSQL 데이터베이스 클러스터를 스크립트 파일 또는 다른 아카이브 파일로 추출. +> 더 많은 정보: . + +- 모든 데이터베이스 덤프: + +`pg_dumpall > {{경로/대상/파일.sql}}` + +- 특정 사용자 이름을 사용하여 모든 데이터베이스 덤프: + +`pg_dumpall {{[-U|--username]}} {{사용자_이름}} > {{경로/대상/파일.sql}}` + +- 위와 동일하며, 호스트와 포트 맞춤 설정: + +`pg_dumpall {{[-h|--host]}} {{호스트}} {{[-p|--port]}} {{포트}} > {{출력_파일.sql}}` + +- 데이터베이스 데이터를 SQL 스크립트 파일로만 덤프: + +`pg_dumpall {{[-a|--data-only]}} > {{경로/대상/파일.sql}}` + +- 스키마(데이터 정의)만 SQL 스크립트 파일로 덤프: + +`pg_dumpall {{[-s|--schema-only]}} > {{출력_파일.sql}}` diff --git a/pages.ko/common/pg_isready.md b/pages.ko/common/pg_isready.md new file mode 100644 index 00000000000000..35d4df428d8d6b --- /dev/null +++ b/pages.ko/common/pg_isready.md @@ -0,0 +1,16 @@ +# pg_isready + +> PostgreSQL 서버의 연결 상태 확인. +> 더 많은 정보: . + +- 연결 상태 확인: + +`pg_isready` + +- 특정 호스트명과 포트를 사용하여 연결 상태 확인: + +`pg_isready --host={{호스트명}} --port={{포트}}` + +- 연결 실패 시에만 메시지 표시하며 연결 상태 확인: + +`pg_isready --quiet` diff --git a/pages.ko/common/pg_restore.md b/pages.ko/common/pg_restore.md new file mode 100644 index 00000000000000..bb322ecf5e1415 --- /dev/null +++ b/pages.ko/common/pg_restore.md @@ -0,0 +1,28 @@ +# pg_restore + +> pg_dump로 생성된 아카이브 파일에서 PostgreSQL 데이터베이스 복원. +> 더 많은 정보: . + +- 기존 데이터베이스에 아카이브 복원: + +`pg_restore -d {{데이터베이스_이름}} {{아카이브_파일.dump}}` + +- 위와 동일하며, 사용자 이름 커스터마이즈: + +`pg_restore -U {{사용자_이름}} -d {{데이터베이스_이름}} {{아카이브_파일.dump}}` + +- 위와 동일하며, 호스트 및 포트 커스터마이즈: + +`pg_restore -h {{호스트}} -p {{포트}} -d {{데이터베이스_이름}} {{아카이브_파일.dump}}` + +- 아카이브에 포함된 데이터베이스 객체 목록: + +`pg_restore --list {{아카이브_파일.dump}}` + +- 데이터베이스 객체를 생성하기 전에 삭제: + +`pg_restore --clean -d {{데이터베이스_이름}} {{아카이브_파일.dump}}` + +- 여러 작업을 사용하여 복원: + +`pg_restore -j {{2}} -d {{데이터베이스_이름}} {{아카이브_파일.dump}}` diff --git a/pages.ko/common/pgbench.md b/pages.ko/common/pgbench.md new file mode 100644 index 00000000000000..354f26a01b7510 --- /dev/null +++ b/pages.ko/common/pgbench.md @@ -0,0 +1,12 @@ +# pgbench + +> PostgreSQL에 대한 벤치마크 테스트 실행. +> 더 많은 정보: . + +- 기본 크기의 50배로 데이터베이스 초기화: + +`pgbench --initialize --scale={{50}} {{데이터베이스_이름}}` + +- 10명의 클라이언트, 2개의 작업 스레드, 클라이언트당 10,000개의 트랜잭션으로 데이터베이스 벤치마크 실행: + +`pgbench --client={{10}} --jobs={{2}} --transactions={{10000}} {{데이터베이스_이름}}` diff --git a/pages.ko/common/pgmbentley.md b/pages.ko/common/pgmbentley.md new file mode 100644 index 00000000000000..5c096960132abf --- /dev/null +++ b/pages.ko/common/pgmbentley.md @@ -0,0 +1,8 @@ +# pgmbentley + +> PGM 이미지에 벤틀리 효과 적용. +> 더 많은 정보: . + +- PGM 이미지에 벤틀리 효과 적용: + +`pgmbentley {{경로/대상/입력_파일.pgm}} > {{경로/대상/출력_파일.pgm}}` diff --git a/pages.ko/common/pgmcrater.md b/pages.ko/common/pgmcrater.md new file mode 100644 index 00000000000000..9620486e365992 --- /dev/null +++ b/pages.ko/common/pgmcrater.md @@ -0,0 +1,16 @@ +# pgmcrater + +> 이 명령은 `pamcrater`, `pamshadedrelief`, `pamtopnm`으로 대체되었습니다. +> 더 많은 정보: . + +- `pamcrater`에 대한 문서 보기: + +`tldr pamcrater` + +- `pamshadedrelief`에 대한 문서 보기: + +`tldr pamshadedrelief` + +- `pamtopnm`에 대한 문서 보기: + +`tldr pamtopnm` diff --git a/pages.ko/common/pgmdeshadow.md b/pages.ko/common/pgmdeshadow.md new file mode 100644 index 00000000000000..0d4c68a106e486 --- /dev/null +++ b/pages.ko/common/pgmdeshadow.md @@ -0,0 +1,8 @@ +# pgmdeshadow + +> PGM 이미지에서 그림자 제거. +> 더 많은 정보: . + +- PGM 이미지에서 회색 그림자 제거: + +`pgmdeshadow {{경로/대상/입력_파일.pgm}} > {{경로/대상/출력_파일.pgm}}` diff --git a/pages.ko/common/pgmedge.md b/pages.ko/common/pgmedge.md new file mode 100644 index 00000000000000..cfb18a17cab16f --- /dev/null +++ b/pages.ko/common/pgmedge.md @@ -0,0 +1,8 @@ +# pgmedge + +> 이 명령은 `pamedge`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamedge` diff --git a/pages.ko/common/pgmenhance.md b/pages.ko/common/pgmenhance.md new file mode 100644 index 00000000000000..9c358d693e0b57 --- /dev/null +++ b/pages.ko/common/pgmenhance.md @@ -0,0 +1,13 @@ +# pgmenhance + +> PGM 이미지의 가장자리를 강조. +> 같이 보기: `pamedge`. +> 더 많은 정보: . + +- PGM 이미지의 가장자리 강조: + +`pgmenhance {{경로/대상/이미지.pgm}} > {{경로/대상/출력.pgm}}` + +- 강조 수준 지정: + +`pgmenhance -{{1..9}} {{경로/대상/이미지.pgm}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/pgmhist.md b/pages.ko/common/pgmhist.md new file mode 100644 index 00000000000000..097cbea5a40fe2 --- /dev/null +++ b/pages.ko/common/pgmhist.md @@ -0,0 +1,25 @@ +# pgmhist + +> PGM 이미지에 포함된 값의 히스토그램을 출력. +> 같이 보기: `ppmhist`. +> 더 많은 정보: . + +- 사람이 읽을 수 있는 히스토그램 표시: + +`pgmhist {{경로/대상/이미지.pgm}}` + +- 중간 회색 값 표시: + +`pgmhist -median {{경로/대상/이미지.pgm}}` + +- 네 개의 사분위수 회색 값 표시: + +`pgmhist -quartile {{경로/대상/이미지.pgm}}` + +- 잘못된 회색 값의 존재 여부 보고: + +`pgmhist -forensic {{경로/대상/이미지.pgm}}` + +- 기계가 읽을 수 있는 출력 표시: + +`pgmhist -machine {{경로/대상/이미지.pgm}}` diff --git a/pages.ko/common/pgmkernel.md b/pages.ko/common/pgmkernel.md new file mode 100644 index 00000000000000..b7c7dfd42b384e --- /dev/null +++ b/pages.ko/common/pgmkernel.md @@ -0,0 +1,17 @@ +# pgmkernel + +> `pnmconvol`과 함께 사용할 합성 커널을 생성. +> 같이 보기: `pnmconvol`. +> 더 많은 정보: . + +- 합성 커널 생성: + +`pgmkernel {{너비}} {{높이}} > {{경로/대상/출력.pgm}}` + +- 정사각형 합성 커널 생성: + +`pgmkernel {{크기}} > {{경로/대상/출력.pgm}}` + +- 생성된 커널의 중앙 무게 지정: + +`pgmkernel -weight {{값}} {{너비}} {{높이}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/pgmmake.md b/pages.ko/common/pgmmake.md new file mode 100644 index 00000000000000..7d9974880b9311 --- /dev/null +++ b/pages.ko/common/pgmmake.md @@ -0,0 +1,8 @@ +# pgmmake + +> 균일한 회색 레벨로 PGM 이미지를 생성. +> 더 많은 정보: . + +- 균일한 회색 레벨(0과 1 사이의 숫자로 지정)과 지정된 크기로 PGM 이미지 생성: + +`pgmmake {{회색_레벨}} {{너비}} {{높이}} > {{경로/대상/출력_파일.pgm}}` diff --git a/pages.ko/common/pgmnoise.md b/pages.ko/common/pgmnoise.md new file mode 100644 index 00000000000000..bc6b1bcd4b182a --- /dev/null +++ b/pages.ko/common/pgmnoise.md @@ -0,0 +1,12 @@ +# pgmnoise + +> 백색 소음을 생성합니다. +> 더 많은 정보: . + +- 백색 소음을 포함한 PGM 이미지를 생성: + +`pgmnoise {{너비}} {{높이}} > {{경로/대상/출력.pgm}}` + +- 의사 난수 생성기의 시드를 지정: + +`pgmnoise {{너비}} {{높이}} -randomseed {{값}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/pgmnorm.md b/pages.ko/common/pgmnorm.md new file mode 100644 index 00000000000000..6e484bb44f9339 --- /dev/null +++ b/pages.ko/common/pgmnorm.md @@ -0,0 +1,8 @@ +# pgmnorm + +> 이 명령은 `pnmnorm`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pnmnorm` diff --git a/pages.ko/common/pgmoil.md b/pages.ko/common/pgmoil.md new file mode 100644 index 00000000000000..49027a6e0128ae --- /dev/null +++ b/pages.ko/common/pgmoil.md @@ -0,0 +1,8 @@ +# pgmoil + +> 이 명령은 `pamoil`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamoil` diff --git a/pages.ko/common/pgmramp.md b/pages.ko/common/pgmramp.md new file mode 100644 index 00000000000000..2ddb968146a69c --- /dev/null +++ b/pages.ko/common/pgmramp.md @@ -0,0 +1,24 @@ +# pgmramp + +> 그레이스케일 맵 생성. +> 더 많은 정보: . + +- 좌에서 우로 그레이스케일 맵 생성: + +`pgmramp -lr > {{경로/대상/출력.pgm}}` + +- 위에서 아래로 그레이스케일 맵 생성: + +`pgmramp -tb > {{경로/대상/출력.pgm}}` + +- 직사각형 그레이스케일 맵 생성: + +`pgmramp -rectangle > {{경로/대상/출력.pgm}}` + +- 타원형 그레이스케일 맵 생성: + +`pgmramp -ellipse {{경로/대상/이미지.pgm}} > {{경로/대상/출력.pgm}}` + +- 왼쪽 상단에서 오른쪽 하단으로 그레이스케일 맵 생성: + +`pgmramp -diagonal {{경로/대상/이미지.pgm}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/pgmslice.md b/pages.ko/common/pgmslice.md new file mode 100644 index 00000000000000..64c25a36773653 --- /dev/null +++ b/pages.ko/common/pgmslice.md @@ -0,0 +1,8 @@ +# pgmslice + +> 이 명령은 `pamslice`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamslice` diff --git a/pages.ko/common/pgmtexture.md b/pages.ko/common/pgmtexture.md new file mode 100644 index 00000000000000..80c1d01e1fcf3b --- /dev/null +++ b/pages.ko/common/pgmtexture.md @@ -0,0 +1,12 @@ +# pgmtexture + +> PGM 이미지에서 텍스처 특징 추출. +> 더 많은 정보: . + +- PGM 이미지에서 텍스처 특징 추출: + +`pgmtexture {{경로/대상/이미지.pgm}} > {{경로/대상/출력.pgm}}` + +- 특징 추출 알고리즘의 거리 매개변수 지정: + +`pgmtexture -d {{distance}} {{경로/대상/이미지.pgm}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/pgmtofs.md b/pages.ko/common/pgmtofs.md new file mode 100644 index 00000000000000..81be938d40fc80 --- /dev/null +++ b/pages.ko/common/pgmtofs.md @@ -0,0 +1,9 @@ +# pgmtofs + +> PGM 이미지를 Usenix FaceSaver 형식으로 변환. +> 같이 보기: `fstopgm`. +> 더 많은 정보: . + +- 지정된 PGM 이미지를 Usenix FaceSaver 형식으로 변환: + +`pgmtofs {{경로/대상/입력.pgm}} > {{경로/대상/출력.fs}}` diff --git a/pages.ko/common/pgmtolispm.md b/pages.ko/common/pgmtolispm.md new file mode 100644 index 00000000000000..c89c1672897e5a --- /dev/null +++ b/pages.ko/common/pgmtolispm.md @@ -0,0 +1,9 @@ +# pgmtolispm + +> PGM 이미지를 Lisp Machine 형식으로 변환. +> 같이 보기: `lispmtopgm`. +> 더 많은 정보: . + +- 지정된 PGM 이미지를 Lisp Machine 형식으로 변환: + +`pgmtolispm {{경로/대상/입력.pgm}} > {{경로/대상/출력.lispm}}` diff --git a/pages.ko/common/pgmtopbm.md b/pages.ko/common/pgmtopbm.md new file mode 100644 index 00000000000000..fefcbbb7c5f2c1 --- /dev/null +++ b/pages.ko/common/pgmtopbm.md @@ -0,0 +1,8 @@ +# pgmtopbm + +> 이 명령은 `pamditherbw`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamditherbw` diff --git a/pages.ko/common/pgmtopgm.md b/pages.ko/common/pgmtopgm.md new file mode 100644 index 00000000000000..85df794a6f6e05 --- /dev/null +++ b/pages.ko/common/pgmtopgm.md @@ -0,0 +1,12 @@ +# pgmtopgm + +> PGM 이미지 파일 복사. +> 더 많은 정보: . + +- `stdin`에서 `stderr`로 PGM 파일 복사: + +`pgmtopgm` + +- 버전 표시: + +`pgmtopgm -version` diff --git a/pages.ko/common/pgmtoppm.md b/pages.ko/common/pgmtoppm.md new file mode 100644 index 00000000000000..c7927628a6260c --- /dev/null +++ b/pages.ko/common/pgmtoppm.md @@ -0,0 +1,12 @@ +# pgmtoppm + +> PGM 이미지를 색상화. +> 더 많은 정보: . + +- 입력 이미지의 모든 회색조 값을 두 가지 지정된 색상 사이의 모든 색상으로 매핑: + +`pgmtoppm -black {{red}} --white {{blue}} {{경로/대상/입력.pgm}} > {{경로/대상/출력.ppm}}` + +- 입력 이미지의 모든 회색조 값을 지정된 색상표에 따라 색상으로 매핑: + +`pgmtoppm -map {{경로/대상/색상표.ppm}} {{경로/대상/입력.pgm}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pgmtosbig.md b/pages.ko/common/pgmtosbig.md new file mode 100644 index 00000000000000..5c412da646ff32 --- /dev/null +++ b/pages.ko/common/pgmtosbig.md @@ -0,0 +1,8 @@ +# pgmtosbig + +> PGM 이미지를 SBIG CCDOPS 형식으로 변환. +> 더 많은 정보: . + +- PGM 이미지 파일을 SBIG CCDOPS 형식으로 변환: + +`pgmtosbig {{경로/대상/입력_파일.pgm}} > {{경로/대상/출력.sbig}}` diff --git a/pages.ko/common/pgmtost4.md b/pages.ko/common/pgmtost4.md new file mode 100644 index 00000000000000..d62e4d4e36eedf --- /dev/null +++ b/pages.ko/common/pgmtost4.md @@ -0,0 +1,8 @@ +# pgmtost4 + +> PGM 이미지를 SBIG ST-4 형식으로 변환. +> 더 많은 정보: . + +- PGM 이미지 파일을 SBIG ST-4 형식으로 변환: + +`pgmtost4 {{경로/대상/입력_파일.pgm}} > {{경로/대상/출력.st4}}` diff --git a/pages.ko/common/pgrep.md b/pages.ko/common/pgrep.md new file mode 100644 index 00000000000000..4dd20c04517f95 --- /dev/null +++ b/pages.ko/common/pgrep.md @@ -0,0 +1,16 @@ +# pgrep + +> 이름으로 프로세스를 찾거나 신호를 보냅니다. +> 더 많은 정보: . + +- 실행 중인 프로세스 중 일치하는 명령 문자열을 가진 프로세스의 PID 반환: + +`pgrep {{프로세스_이름}}` + +- 명령줄 옵션을 포함하여 프로세스를 검색: + +`pgrep {{[-f|--full]}} "{{프로세스_이름}} {{매개변수}}"` + +- 특정 사용자가 실행한 프로세스를 검색: + +`pgrep {{[-u|--euid]}} root {{프로세스_이름}}` diff --git a/pages.ko/common/phan.md b/pages.ko/common/phan.md new file mode 100644 index 00000000000000..116063ba03c49e --- /dev/null +++ b/pages.ko/common/phan.md @@ -0,0 +1,32 @@ +# phan + +> PHP용 정적 분석 도구. +> 더 많은 정보: . + +- 현재 디렉터리에 `.phan/config.php` 생성: + +`phan --init` + +- 특정 레벨을 사용하여 Phan 구성 파일 생성 (1이 가장 엄격하고 5가 가장 덜 엄격함): + +`phan --init --init-level {{레벨}}` + +- 현재 디렉터리 분석: + +`phan` + +- 하나 이상의 디렉터리 분석: + +`phan --directory {{경로/대상/폴더}} --directory {{경로/대상/다른_폴더}}` + +- 구성 파일 지정 (기본값은 `.phan/config.php`): + +`phan --config-file {{경로/대상/config.php}}` + +- 출력 모드 지정: + +`phan --output-mode {{text|verbose|json|csv|codeclimate|checkstyle|pylint|html}}` + +- 병렬 프로세스 수 지정: + +`phan --processes {{프로세스_수}}` diff --git a/pages.ko/common/phing.md b/pages.ko/common/phing.md new file mode 100644 index 00000000000000..10f4104772ccc2 --- /dev/null +++ b/pages.ko/common/phing.md @@ -0,0 +1,36 @@ +# phing + +> Apache Ant를 기반으로 한 PHP 빌드 도구. +> 더 많은 정보: . + +- `build.xml` 파일에서 기본 태스크 수행: + +`phing` + +- 새 빌드 파일 초기화: + +`phing -i {{경로/대상/build.xml}}` + +- 특정 태스크 수행: + +`phing {{태스크_이름}}` + +- 지정된 빌드 파일 경로 사용: + +`phing -f {{경로/대상/build.xml}} {{태스크_이름}}` + +- 주어진 파일에 로그 기록: + +`phing -logfile {{경로/대상/로그_파일}} {{태스크_이름}}` + +- 빌드에서 사용자 정의 속성 사용: + +`phing -D{{속성}}={{값}} {{태스크_이름}}` + +- 사용자 정의 리스너 클래스 지정: + +`phing -listener {{클래스_이름}} {{태스크_이름}}` + +- 자세한 출력으로 빌드: + +`phing -verbose {{태스크_이름}}` diff --git a/pages.ko/common/phive.md b/pages.ko/common/phive.md new file mode 100644 index 00000000000000..e27b31fd8278fb --- /dev/null +++ b/pages.ko/common/phive.md @@ -0,0 +1,36 @@ +# phive + +> 안전한 PHP 애플리케이션 배포를 위한 Phar 설치 및 검증 환경. +> 더 많은 정보: . + +- 사용 가능한 별칭이 있는 Phar 목록 표시: + +`phive list` + +- 지정한 Phar를 로컬 디렉터리에 설치: + +`phive install {{별칭|url}}` + +- 지정한 Phar를 전역적으로 설치: + +`phive install {{별칭|url}} --global` + +- 지정한 Phar를 대상 디렉터리에 설치: + +`phive install {{별칭|url}} --target {{경로/대상/폴더}}` + +- 모든 Phar 파일을 최신 버전으로 업데이트: + +`phive update` + +- 지정한 Phar 파일 제거: + +`phive remove {{별칭|url}}` + +- 사용하지 않는 Phar 파일 제거: + +`phive purge` + +- 사용 가능한 모든 명령 나열: + +`phive help` diff --git a/pages.ko/common/php-artisan.md b/pages.ko/common/php-artisan.md new file mode 100644 index 00000000000000..ad9ae457df7d1a --- /dev/null +++ b/pages.ko/common/php-artisan.md @@ -0,0 +1,20 @@ +# php artisan + +> Laravel의 Artisan 명령줄 인터페이스. +> 더 많은 정보: . + +- 현재 Laravel 애플리케이션을 위한 PHP 내장 웹 서버 시작: + +`php artisan serve` + +- 대화형 PHP 명령줄 인터페이스 시작: + +`php artisan tinker` + +- 새 Eloquent 모델 클래스와 마이그레이션, 팩토리 및 리소스 컨트롤러 생성: + +`php artisan make:model {{모델명}} --all` + +- 사용 가능한 모든 명령 목록 표시: + +`php artisan help` diff --git a/pages.ko/common/php-coveralls.md b/pages.ko/common/php-coveralls.md new file mode 100644 index 00000000000000..c31457a69295e8 --- /dev/null +++ b/pages.ko/common/php-coveralls.md @@ -0,0 +1,36 @@ +# php-coveralls + +> Coveralls를 위한 PHP 클라이언트. +> 더 많은 정보: . + +- Coveralls에 커버리지 정보를 전송: + +`php-coveralls` + +- 특정 디렉토리에 대한 커버리지 정보를 Coveralls에 전송: + +`php-coveralls --root_dir {{경로/대상/폴더}}` + +- 특정 설정 파일을 사용하여 Coveralls에 커버리지 정보를 전송: + +`php-coveralls --config {{경로/대상/.coveralls.yml}}` + +- 자세한 출력과 함께 Coveralls에 커버리지 정보를 전송: + +`php-coveralls --verbose` + +- 실행 가능한 문장이 없는 소스 파일을 제외하고 Coveralls에 커버리지 정보를 전송: + +`php-coveralls --exclude-no-stmt` + +- 특정 환경 이름을 사용하여 Coveralls에 커버리지 정보를 전송: + +`php-coveralls --env {{test|dev|prod}}` + +- 여러 Coverage Clover XML 파일을 업로드하도록 지정: + +`php-coveralls --coverage_clover {{경로/대상/첫번째_clover.xml}} --coverage_clover {{경로/대상/두번째_clover.xml}}` + +- Coveralls에 전송될 JSON을 특정 파일로 출력: + +`php-coveralls --json_path {{경로/대상/coveralls-전송.json}}` diff --git a/pages.ko/common/php-cs-fixer.md b/pages.ko/common/php-cs-fixer.md new file mode 100644 index 00000000000000..5e3e1561f5c96e --- /dev/null +++ b/pages.ko/common/php-cs-fixer.md @@ -0,0 +1,36 @@ +# PHP-CS-Fixer + +> PHP 코딩 스타일 자동 수정 도구. +> 더 많은 정보: . + +- 현재 디렉토리에서 코드 스타일 수정 실행: + +`php-cs-fixer fix` + +- 특정 디렉토리에서 코드 스타일 수정 실행: + +`php-cs-fixer fix {{경로/대상/폴더}}` + +- 변경 사항을 적용하지 않고 코드 스타일 검사 실행: + +`php-cs-fixer fix --dry-run` + +- 특정 규칙을 사용하여 코드 스타일 수정 실행: + +`php-cs-fixer fix --rules={{규칙들}}` + +- 적용된 규칙 표시: + +`php-cs-fixer fix --verbose` + +- 다른 형식으로 결과 출력: + +`php-cs-fixer fix --format={{txt|json|xml|checkstyle|junit|gitlab}}` + +- 수정이 필요한 파일 표시: + +`php-cs-fixer list-files` + +- 규칙 또는 규칙 세트 설명: + +`php-cs-fixer describe {{규칙}}` diff --git a/pages.ko/common/php-yii.md b/pages.ko/common/php-yii.md new file mode 100644 index 00000000000000..aaadc5b705c9cf --- /dev/null +++ b/pages.ko/common/php-yii.md @@ -0,0 +1,16 @@ +# php yii + +> Yii 프레임워크의 명령줄 인터페이스. +> 더 많은 정보: . + +- 현재 Yii 애플리케이션을 위해 PHP 내장 웹 서버 시작: + +`php yii {{serve}}` + +- 지정된 모델 클래스에 대한 CRUD 작업을 위한 컨트롤러, 뷰 및 관련 파일 생성: + +`php yii {{gii/crud}} --modelClass={{모델명}} --controllerClass={{컨트롤러명}}` + +- 도움말 표시: + +`php yii {{help}}` diff --git a/pages.ko/common/php.md b/pages.ko/common/php.md new file mode 100644 index 00000000000000..6501f936eb95f3 --- /dev/null +++ b/pages.ko/common/php.md @@ -0,0 +1,36 @@ +# php + +> PHP 명령줄 인터페이스. +> 더 많은 정보: . + +- PHP 스크립트를 구문 분석하고 실행: + +`php {{경로/대상/파일}}` + +- PHP 스크립트의 문법 검사(즉, 린트): + +`php -l {{경로/대상/파일}}` + +- PHP를 대화형으로 실행: + +`php -a` + +- PHP 코드 실행(참고: `` 태그를 사용하지 마세요; 큰따옴표는 백슬래시로 이스케이프하세요): + +`php -r "{{코드}}"` + +- 현재 디렉토리에서 PHP 내장 웹 서버 시작: + +`php -S {{호스트:포트}}` + +- 설치된 PHP 확장 목록: + +`php -m` + +- 현재 PHP 구성에 대한 정보 표시: + +`php -i` + +- 특정 함수에 대한 정보 표시: + +`php --rf {{함수_이름}}` diff --git a/pages.ko/common/phpbu.md b/pages.ko/common/phpbu.md new file mode 100644 index 00000000000000..84d3fad066aed8 --- /dev/null +++ b/pages.ko/common/phpbu.md @@ -0,0 +1,20 @@ +# phpbu + +> PHP 백업 유틸리티 프레임워크. +> 더 많은 정보: . + +- 기본 `phpbu.xml` 구성 파일을 사용하여 백업 실행: + +`phpbu` + +- 특정 구성 파일을 사용하여 백업 실행: + +`phpbu --configuration={{경로/대상/구성_파일.xml}}` + +- 지정된 백업만 실행: + +`phpbu --limit={{백업_작업_이름}}` + +- 수행될 작업을 시뮬레이션: + +`phpbu --simulate` diff --git a/pages.ko/common/phpcbf.md b/pages.ko/common/phpcbf.md new file mode 100644 index 00000000000000..0bbbd845a1f350 --- /dev/null +++ b/pages.ko/common/phpcbf.md @@ -0,0 +1,28 @@ +# phpcbf + +> phpcs에서 감지된 위반 사항 수정. +> 더 많은 정보: . + +- 지정된 디렉터리의 문제 수정 (기본적으로 PEAR 표준 사용): + +`phpcbf {{경로/대상/폴더}}` + +- 설치된 코딩 표준 목록 표시: + +`phpcbf -i` + +- 검사할 코딩 표준 지정: + +`phpcbf {{경로/대상/폴더}} --standard {{표준}}` + +- 쉼표로 구분된 파일 확장자를 지정하여 스니핑할 때 포함: + +`phpcbf {{경로/대상/폴더}} --extensions {{파일_확장자1,파일_확장자2,...}}` + +- 처리 전에 로드할 쉼표로 구분된 파일 목록: + +`phpcbf {{경로/대상/폴더}} --bootstrap {{경로/대상/파일1,경로/대상/파일2,...}}` + +- 하위 디렉터리로 재귀하지 않음: + +`phpcbf {{경로/대상/폴더}} -l` diff --git a/pages.ko/common/phpcpd.md b/pages.ko/common/phpcpd.md new file mode 100644 index 00000000000000..596e821c4dc820 --- /dev/null +++ b/pages.ko/common/phpcpd.md @@ -0,0 +1,28 @@ +# phpcpd + +> PHP 코드의 복사 및 붙여넣기 감지기. +> 더 많은 정보: . + +- 특정 파일이나 디렉터리에 대해 중복된 코드 분석: + +`phpcpd {{경로/대상/파일_또는_디렉터리}}` + +- 변수 이름에 대한 퍼지 매칭을 사용하여 분석: + +`phpcpd --fuzzy {{경로/대상/파일_또는_디렉터리}}` + +- 최소 동일한 라인 수 지정 (기본값은 5): + +`phpcpd --min-lines {{라인_수}} {{경로/대상/파일_또는_디렉터리}}` + +- 최소 동일한 토큰 수 지정 (기본값은 70): + +`phpcpd --min-tokens {{토큰_수}} {{경로/대상/파일_또는_디렉터리}}` + +- 분석에서 디렉터리 제외 (소스에 상대적이어야 함): + +`phpcpd --exclude {{경로/제외_디렉터리}} {{경로/대상/파일_또는_디렉터리}}` + +- 결과를 PHP-CPD XML 파일로 출력: + +`phpcpd --log-pmd {{경로/로그_파일}} {{경로/대상/파일_또는_디렉터리}}` diff --git a/pages.ko/common/phpcs.md b/pages.ko/common/phpcs.md new file mode 100644 index 00000000000000..dbf68d821cd4d9 --- /dev/null +++ b/pages.ko/common/phpcs.md @@ -0,0 +1,36 @@ +# phpcs + +> PHP, JavaScript 및 CSS 파일을 토큰화하여 정의된 코딩 표준 세트의 위반 사항을 감지합니다. +> 더 많은 정보: . + +- 지정된 디렉터리를 검사하여 문제 탐지 (기본값은 PEAR 표준): + +`phpcs {{경로/대상/폴더}}` + +- 설치된 코딩 표준 목록 표시: + +`phpcs -i` + +- 검증할 코딩 표준 지정: + +`phpcs {{경로/대상/폴더}} --standard {{표준}}` + +- 검사 시 포함할 확장자를 쉼표로 구분하여 지정: + +`phpcs {{경로/대상/폴더}} --extensions {{파일_확장자1,파일_확장자2,...}}` + +- 출력 보고서 형식 지정 (예: `full`, `xml`, `json`, `summary`): + +`phpcs {{경로/대상/폴더}} --report {{형식}}` + +- 프로세스 중 사용할 설정 변수 설정: + +`phpcs {{경로/대상/폴더}} --config-set {{키}} {{값}}` + +- 처리 전에 로드할 파일의 쉼표로 구분된 목록: + +`phpcs {{경로/대상/폴더}} --bootstrap {{경로/대상/파일1,경로/대상/파일2,...}}` + +- 하위 디렉토리로 재귀 탐색하지 않음: + +`phpcs {{경로/대상/폴더}} -l` diff --git a/pages.ko/common/phpdox.md b/pages.ko/common/phpdox.md new file mode 100644 index 00000000000000..aec929a7751e5e --- /dev/null +++ b/pages.ko/common/phpdox.md @@ -0,0 +1,24 @@ +# phpdox + +> PHP 문서 생성기. +> 더 많은 정보: . + +- 주석이 달린 스켈레톤 구성 XML 파일 표시: + +`phpdox --skel` + +- 현재 작업 디렉토리에 대한 문서 생성: + +`phpdox` + +- 특정 구성 파일을 사용하여 문서 생성: + +`phpdox --file {{경로/대상/phpdox.xml}}` + +- 메타데이터 수집 프로세스만 실행: + +`phpdox --collector` + +- 문서 생성기 프로세스만 실행: + +`phpdox --generator` diff --git a/pages.ko/common/phpenv.md b/pages.ko/common/phpenv.md new file mode 100644 index 00000000000000..7576f1289459ac --- /dev/null +++ b/pages.ko/common/phpenv.md @@ -0,0 +1,32 @@ +# phpenv + +> 개발 목적을 위한 PHP 버전 관리자. +> 더 많은 정보: . + +- PHP 버전을 전역으로 설치: + +`phpenv install {{버전}}` + +- `phpenv`에 알려진 모든 PHP 바이너리에 대한 shim 파일 새로 고침: + +`phpenv rehash` + +- 설치된 모든 PHP 버전 나열: + +`phpenv versions` + +- 현재 활성화된 PHP 버전 표시: + +`phpenv version` + +- 전역 PHP 버전 설정: + +`phpenv global {{버전}}` + +- 로컬 PHP 버전 설정 (전역 버전보다 우선): + +`phpenv local {{버전}}` + +- 로컬 PHP 버전 해제: + +`phpenv local --unset` diff --git a/pages.ko/common/phpize.md b/pages.ko/common/phpize.md new file mode 100644 index 00000000000000..6de66e126d7076 --- /dev/null +++ b/pages.ko/common/phpize.md @@ -0,0 +1,12 @@ +# phpize + +> PHP 확장을 컴파일할 준비를 합니다. +> 더 많은 정보: . + +- 현재 디렉토리에서 PHP 확장을 컴파일할 준비: + +`phpize` + +- phpize로 생성된 파일 삭제: + +`phpize --clean` diff --git a/pages.ko/common/phploc.md b/pages.ko/common/phploc.md new file mode 100644 index 00000000000000..12fd5540b5b9eb --- /dev/null +++ b/pages.ko/common/phploc.md @@ -0,0 +1,32 @@ +# phploc + +> PHP 프로젝트의 크기를 빠르게 측정하고 구조를 분석합니다. +> 더 많은 정보: . + +- 디렉터리를 분석하고 결과 출력: + +`phploc {{경로/대상/폴더}}` + +- 쉼표로 구분된 파일 목록에서 특정 파일만 포함 (글로벌 패턴 사용 가능): + +`phploc {{경로/대상/폴더}} --names '{{경로/대상/파일1,경로/대상/파일2,...}}'` + +- 쉼표로 구분된 파일 목록에서 특정 파일 제외 (글로벌 패턴 사용 가능): + +`phploc {{경로/대상/폴더}} --names-exclude '{{경로/대상/파일1,경로/대상/파일2,...}}'` + +- 특정 디렉터리를 분석에서 제외: + +`phploc {{경로/대상/폴더}} --exclude {{경로/대상/제외_폴더}}` + +- 결과를 특정 CSV 파일에 기록: + +`phploc {{경로/대상/폴더}} --log-csv {{경로/대상/파일}}` + +- 결과를 특정 XML 파일에 기록: + +`phploc {{경로/대상/폴더}} --log-xml {{경로/대상/파일}}` + +- PHPUnit 테스트 케이스 클래스와 테스트 메서드 개수 세기: + +`phploc {{경로/대상/폴더}} --count-tests` diff --git a/pages.ko/common/phpmd.md b/pages.ko/common/phpmd.md new file mode 100644 index 00000000000000..d6407422ee00db --- /dev/null +++ b/pages.ko/common/phpmd.md @@ -0,0 +1,32 @@ +# phpmd + +> PHP Mess Detector: 일반적인 잠재적 문제를 확인. +> 더 많은 정보: . + +- 사용 가능한 규칙 세트 및 형식 목록 표시: + +`phpmd` + +- 쉼표로 구분된 규칙 세트를 사용하여 파일 또는 폴더에서 문제 스캔: + +`phpmd {{경로/대상/파일_또는_폴더}} {{xml|text|html}} {{규칙세트1,규칙세트2,...}}` + +- 규칙의 최소 우선순위 임계값 지정: + +`phpmd {{경로/대상/파일_또는_폴더}} {{xml|text|html}} {{규칙세트1,규칙세트2,...}} --minimumpriority {{우선순위}}` + +- 분석에 포함할 확장자 지정: + +`phpmd {{경로/대상/파일_또는_폴더}} {{xml|text|html}} {{규칙세트1,규칙세트2,...}} --suffixes {{확장자}}` + +- 쉼표로 구분된 특정 폴더 제외: + +`phpmd {{경로/대상/파일_또는_폴더1,경로/대상/파일_또는_폴더2,...}} {{xml|text|html}} {{규칙세트1,규칙세트2,...}} --exclude {{폴더_패턴}}` + +- 결과를 `stdout` 대신 파일에 출력: + +`phpmd {{경로/대상/파일_또는_폴더}} {{xml|text|html}} {{규칙세트1,규칙세트2,...}} --reportfile {{경로/대상/보고서_파일}}` + +- 경고 억제 PHPDoc 주석 사용 무시: + +`phpmd {{경로/대상/파일_또는_폴더}} {{xml|text|html}} {{규칙세트1,규칙세트2,...}} --strict` diff --git a/pages.ko/common/phpspec.md b/pages.ko/common/phpspec.md new file mode 100644 index 00000000000000..e56cbdd2d37a00 --- /dev/null +++ b/pages.ko/common/phpspec.md @@ -0,0 +1,32 @@ +# phpspec + +> PHP용 행동 주도 개발 도구. +> 더 많은 정보: . + +- 클래스에 대한 사양 작성: + +`phpspec describe {{클래스_이름}}` + +- "spec" 폴더의 모든 사양 실행: + +`phpspec run` + +- 단일 사양 실행: + +`phpspec run {{경로/대상/클래스_사양_파일}}` + +- 특정 구성 파일을 사용하여 사양 실행: + +`phpspec run -c {{경로/대상/구성_파일}}` + +- 특정 부트스트랩 파일을 사용하여 사양 실행: + +`phpspec run -b {{경로/대상/부트스트랩_파일}}` + +- 코드 생성 프롬프트 비활성화: + +`phpspec run --no-code-generation` + +- 가짜 반환 값 활성화: + +`phpspec run --fake` diff --git a/pages.ko/common/phpstan.md b/pages.ko/common/phpstan.md new file mode 100644 index 00000000000000..05a4c177ef4f1b --- /dev/null +++ b/pages.ko/common/phpstan.md @@ -0,0 +1,28 @@ +# phpstan + +> 코드의 버그를 발견하기 위한 PHP 정적 분석 도구. +> 더 많은 정보: . + +- 하나 이상의 디렉터리 분석: + +`phpstan analyse {{경로/대상/디렉터리1 경로/대상/디렉터리2 ...}}` + +- 구성 파일을 사용하여 디렉터리 분석: + +`phpstan analyse {{경로/대상/디렉터리}} --configuration {{경로/대상/구성}}` + +- 특정 규칙 레벨을 사용하여 분석 (0-7, 숫자가 높을수록 엄격함): + +`phpstan analyse {{경로/대상/디렉터리}} --level {{레벨}}` + +- 분석 전에 로드할 자동 로드 파일 지정: + +`phpstan analyse {{경로/대상/디렉터리}} --autoload-file {{경로/대상/자동로드_파일}}` + +- 분석 중 메모리 제한 지정: + +`phpstan analyse {{경로/대상/디렉터리}} --memory-limit {{메모리_제한}}` + +- 분석을 위한 사용 가능한 옵션 표시: + +`phpstan analyse --help` diff --git a/pages.ko/common/phpstorm.md b/pages.ko/common/phpstorm.md new file mode 100644 index 00000000000000..7853cfdbddc509 --- /dev/null +++ b/pages.ko/common/phpstorm.md @@ -0,0 +1,20 @@ +# phpstorm + +> JetBrains IntelliJ 플랫폼을 기반으로 한 PHP용 크로스 플랫폼 IDE. +> 더 많은 정보: . + +- 특정 디렉토리 열기: + +`phpstorm {{경로/대상/폴더}}` + +- 파일 열기: + +`phpstorm {{경로/대상/파일}}` + +- 특정 줄에서 파일 열기: + +`phpstorm --line {{줄_번호}} {{경로/대상/파일}}` + +- 두 파일 간의 차이점 보기: + +`phpstorm diff {{경로/대상/왼쪽_파일}} {{경로/대상/오른쪽_파일}}` diff --git a/pages.ko/common/phpunit.md b/pages.ko/common/phpunit.md new file mode 100644 index 00000000000000..9ceda85fb3fb7f --- /dev/null +++ b/pages.ko/common/phpunit.md @@ -0,0 +1,20 @@ +# phpunit + +> PHPUnit 명령줄 테스트 실행기. +> 더 많은 정보: . + +- 현재 디렉토리에서 테스트 실행. 참고: 'phpunit.xml' 파일이 존재해야 합니다: + +`phpunit` + +- 특정 파일에서 테스트 실행: + +`phpunit {{경로/대상/TestFile.php}}` + +- 주어진 그룹으로 주석이 달린 테스트 실행: + +`phpunit --group {{이름}}` + +- 테스트를 실행하고 HTML 형식의 커버리지 보고서 생성: + +`phpunit --coverage-html {{경로/대상/폴더}}` diff --git a/pages.ko/common/pi1toppm.md b/pages.ko/common/pi1toppm.md new file mode 100644 index 00000000000000..29c88c543e9ff0 --- /dev/null +++ b/pages.ko/common/pi1toppm.md @@ -0,0 +1,9 @@ +# pi1toppm + +> Atari Degas PI1 이미지를 PPM 이미지로 변환. +> 같이 보기: `ppmtopi1`. +> 더 많은 정보: . + +- Atari Degas PI1 이미지를 PPM 이미지로 변환: + +`pi1toppm {{경로/대상/아타리_이미지.pi1}} > {{경로/대상/이미지.ppm}}` diff --git a/pages.ko/common/pi3topbm.md b/pages.ko/common/pi3topbm.md new file mode 100644 index 00000000000000..36db9abd458095 --- /dev/null +++ b/pages.ko/common/pi3topbm.md @@ -0,0 +1,9 @@ +# pi3topbm + +> Atari Degas PI3 이미지를 PBM 이미지로 변환. +> 같이 보기: `pbmtopi3`. +> 더 많은 정보: . + +- Atari Degas PI3 이미지를 PBM 이미지로 변환: + +`pi3topbm {{경로/대상/아타리_이미지.pi3}} > {{경로/대상/출력_이미지.pbm}}` diff --git a/pages.ko/common/piactl.md b/pages.ko/common/piactl.md new file mode 100644 index 00000000000000..58a3537d6cc434 --- /dev/null +++ b/pages.ko/common/piactl.md @@ -0,0 +1,36 @@ +# piactl + +> 상업용 VPN 제공업체인 Private Internet Access의 명령줄 도구. +> 더 많은 정보: . + +- Private Internet Access에 로그인: + +`piactl login {{경로/대상/로그인_파일}}` + +- Private Internet Access에 연결: + +`piactl connect` + +- Private Internet Access에서 연결 해제: + +`piactl disconnect` + +- 백그라운드에서 Private Internet Access 데몬 활성화 또는 비활성화: + +`piactl background {{enable|disable}}` + +- 사용 가능한 모든 VPN 지역 나열: + +`piactl get regions` + +- 현재 VPN 지역 표시: + +`piactl get region` + +- VPN 지역 설정: + +`piactl set region {{지역}}` + +- Private Internet Access에서 로그아웃: + +`piactl logout` diff --git a/pages.ko/common/pic.md b/pages.ko/common/pic.md new file mode 100644 index 00000000000000..b6ee26dbc3bc09 --- /dev/null +++ b/pages.ko/common/pic.md @@ -0,0 +1,13 @@ +# pic + +> groff (GNU Troff) 문서 형식 시스템을 위한 그림 전처리기. +> 같이 보기: `groff`, `troff`. +> 더 많은 정보: . + +- 그림이 포함된 입력을 처리하고, 나중에 groff를 사용하여 PostScript로 조판하기 위해 출력 저장: + +`pic {{경로/대상/입력.pic}} > {{경로/대상/출력.roff}}` + +- [me] 매크로 패키지를 사용하여 그림이 포함된 입력을 PDF로 조판: + +`pic -T {{pdf}} {{경로/대상/입력.pic}} | groff -{{me}} -T {{pdf}} > {{경로/대상/출력.pdf}}` diff --git a/pages.ko/common/picard.md b/pages.ko/common/picard.md new file mode 100644 index 00000000000000..d74406ff677300 --- /dev/null +++ b/pages.ko/common/picard.md @@ -0,0 +1,16 @@ +# picard + +> 차세대 MusicBrainz 태그 지정 애플리케이션. +> 더 많은 정보: . + +- Picard 시작: + +`picard` + +- 파일 세트 열기: + +`picard {{경로/대상/파일1.mp3}} {{경로/대상/파일2.mp3}}` + +- 설치된 Picard의 버전 표시: + +`picard --long-version` diff --git a/pages.ko/common/picgo.md b/pages.ko/common/picgo.md new file mode 100644 index 00000000000000..db249b2ecb6831 --- /dev/null +++ b/pages.ko/common/picgo.md @@ -0,0 +1,16 @@ +# picgo + +> 이미지를 이미지 호스팅 서비스에 업로드 (기본은 SM.MS). +> 더 많은 정보: . + +- 호스팅 서비스를 대화형으로 선택: + +`picgo set uploader` + +- 현재 클립보드의 이미지 업로드: + +`picgo upload` + +- 특정 경로의 이미지 업로드: + +`picgo upload {{경로/대상/이미지}}` diff --git a/pages.ko/common/pickle.md b/pages.ko/common/pickle.md new file mode 100644 index 00000000000000..96f395cbe83b93 --- /dev/null +++ b/pages.ko/common/pickle.md @@ -0,0 +1,20 @@ +# pickle + +> Composer 기반의 PHP 확장 프로그램 설치 도구. +> 더 많은 정보: . + +- 특정 PHP 확장 프로그램 설치: + +`pickle install {{확장_이름}}` + +- 기존 PECL 확장 구성 파일을 Pickle 구성 파일로 변환: + +`pickle convert {{경로/대상/폴더}}` + +- PECL 확장 유효성 검사: + +`pickle validate {{경로/대상/폴더}}` + +- PECL 확장을 릴리스용으로 패키징: + +`pickle release {{경로/대상/폴더}}` diff --git a/pages.ko/common/picocom.md b/pages.ko/common/picocom.md new file mode 100644 index 00000000000000..50c103694b298a --- /dev/null +++ b/pages.ko/common/picocom.md @@ -0,0 +1,12 @@ +# picocom + +> 시리얼 콘솔을 에뮬레이트하기 위한 최소한의 프로그램. +> 더 많은 정보: . + +- 지정된 전송 속도로 시리얼 콘솔에 연결: + +`picocom {{/dev/ttyXYZ}} {{[-b|--baud]}} {{전송_속도}}` + +- 특수 문자 매핑 (예: `LF`를 `CRLF`로): + +`picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}` diff --git a/pages.ko/common/picom-trans.md b/pages.ko/common/picom-trans.md new file mode 100644 index 00000000000000..9a4a1a50bffbed --- /dev/null +++ b/pages.ko/common/picom-trans.md @@ -0,0 +1,20 @@ +# picom-trans + +> `picom` 윈도우 합성기의 윈도우 투명도를 설정. +> 더 많은 정보: . + +- 현재 포커스된 윈도우의 투명도를 특정 퍼센트로 설정: + +`picom-trans --current --opacity {{90}}` + +- 특정 이름을 가진 윈도우의 투명도를 설정: + +`picom-trans --name {{Firefox}} --opacity {{90}}` + +- 마우스 커서로 선택한 특정 윈도우의 투명도를 설정: + +`picom-trans --select --opacity {{90}}` + +- 특정 윈도우의 투명도를 토글: + +`picom-trans --name {{Firefox}} --toggle` diff --git a/pages.ko/common/picttoppm.md b/pages.ko/common/picttoppm.md new file mode 100644 index 00000000000000..826157116658ca --- /dev/null +++ b/pages.ko/common/picttoppm.md @@ -0,0 +1,16 @@ +# picttoppm + +> Macintosh PICT 파일을 PPM 이미지로 변환. +> 더 많은 정보: . + +- PICT 파일을 PPM 이미지로 변환: + +`picttoppm {{경로/대상/파일.pict}} > {{경로/대상/파일.ppm}}` + +- PICT 파일의 모든 이미지를 최대 해상도로 출력하도록 강제: + +`picttoppm -fullres {{경로/대상/파일.pict}} > {{경로/대상/파일.ppm}}` + +- 입력 파일에 PICT 헤더가 포함되어 있다고 가정하지 않고, quickdraw 작업만 실행: + +`picttoppm -noheader -quickdraw {{경로/대상/파일.pict}} > {{경로/대상/파일.ppm}}` diff --git a/pages.ko/common/pigz.md b/pages.ko/common/pigz.md new file mode 100644 index 00000000000000..dee24b9d839af9 --- /dev/null +++ b/pages.ko/common/pigz.md @@ -0,0 +1,28 @@ +# pigz + +> 멀티스레드 zlib 압축 유틸리티. +> 더 많은 정보: . + +- 파일을 기본 옵션으로 압축: + +`pigz {{경로/대상/파일}}` + +- 최상의 압축 방법으로 파일 압축: + +`pigz -9 {{경로/대상/파일}}` + +- 압축 없이 4개의 프로세서를 사용하여 파일 압축: + +`pigz -0 -p{{4}} {{경로/대상/파일}}` + +- 디렉터리를 tar로 압축: + +`tar cf - {{경로/대상/폴더}} | pigz > {{경로/대상/파일.tar.gz}}` + +- 파일 압축 해제: + +`pigz -d {{아카이브.gz}}` + +- 아카이브의 내용 목록: + +`pigz -l {{아카이브.tar.gz}}` diff --git a/pages.ko/common/ping.md b/pages.ko/common/ping.md new file mode 100644 index 00000000000000..a03335e7107cfd --- /dev/null +++ b/pages.ko/common/ping.md @@ -0,0 +1,32 @@ +# ping + +> 네트워크 호스트에 ICMP ECHO_REQUEST 패킷을 전송. +> 더 많은 정보: . + +- 호스트에 핑: + +`ping {{호스트}}` + +- 호스트에 특정 횟수만큼 핑: + +`ping -c {{횟수}} {{호스트}}` + +- 요청 간격(초)을 지정하여 호스트에 핑 (기본값은 1초): + +`ping -i {{초}} {{호스트}}` + +- 주소에 대한 기호 이름 조회 없이 호스트에 핑: + +`ping -n {{호스트}}` + +- 패킷 수신 시 벨 소리 울리면서 호스트에 핑 (터미널에서 지원하는 경우): + +`ping -a {{호스트}}` + +- 응답이 없을 경우 메시지도 표시: + +`ping -O {{호스트}}` + +- 특정 횟수의 핑, 각 응답의 타임아웃 (`-W`), 전체 핑 실행의 총 시간 제한 (`-w`)을 지정하여 호스트에 핑: + +`ping -c {{횟수}} -W {{초}} -w {{초}} {{호스트}}` diff --git a/pages.ko/common/ping6.md b/pages.ko/common/ping6.md new file mode 100644 index 00000000000000..6d53a5320d7304 --- /dev/null +++ b/pages.ko/common/ping6.md @@ -0,0 +1,24 @@ +# ping6 + +> IPv6 주소를 통해 네트워크 호스트에 ICMP ECHO_REQUEST 패킷을 전송. +> 더 많은 정보: . + +- 호스트에 핑: + +`ping6 {{호스트}}` + +- 호스트에 특정 횟수만큼 핑: + +`ping6 -c {{횟수}} {{호스트}}` + +- 요청 간격을 초 단위로 지정하여 호스트에 핑 (기본값은 1초): + +`ping6 -i {{초}} {{호스트}}` + +- 주소에 대한 기호 이름을 조회하지 않고 호스트에 핑: + +`ping6 -n {{호스트}}` + +- 패킷을 수신할 때 벨 소리를 울리며 호스트에 핑 (터미널이 지원하는 경우): + +`ping6 -a {{호스트}}` diff --git a/pages.ko/common/pinky.md b/pages.ko/common/pinky.md new file mode 100644 index 00000000000000..fb515cac1a8071 --- /dev/null +++ b/pages.ko/common/pinky.md @@ -0,0 +1,28 @@ +# pinky + +> `finger` 프로토콜을 사용하여 사용자 정보를 출력. +> 더 많은 정보: . + +- 현재 사용자에 대한 세부 정보 표시: + +`pinky` + +- 특정 사용자에 대한 세부 정보 표시: + +`pinky {{사용자}}` + +- 긴 형식으로 세부 정보 표시: + +`pinky {{사용자}} -l` + +- 긴 형식에서 사용자의 홈 디렉토리와 셸 생략: + +`pinky {{사용자}} -lb` + +- 긴 형식에서 사용자의 프로젝트 파일 생략: + +`pinky {{사용자}} -lh` + +- 짧은 형식에서 열 제목 생략: + +`pinky {{사용자}} -f` diff --git a/pages.ko/common/pint.md b/pages.ko/common/pint.md new file mode 100644 index 00000000000000..4425196f019103 --- /dev/null +++ b/pages.ko/common/pint.md @@ -0,0 +1,24 @@ +# Pint + +> PHP 코드 스타일을 고정하는 의견이 반영된 도구로, PHP-CS-Fixer를 기반으로 합니다. +> 더 많은 정보: . + +- 코드 스타일 수정 실행: + +`pint` + +- 변경된 모든 파일 표시: + +`pint -v` + +- 변경을 적용하지 않고 코드 스타일 린팅 실행: + +`pint --test` + +- 특정 구성 파일을 사용하여 코드 스타일 수정 실행: + +`pint --config {{경로/대상/pint.json}}` + +- 특정 프리셋을 사용하여 코드 스타일 수정 실행: + +`pint --preset {{psr12}}` diff --git a/pages.ko/common/pinta.md b/pages.ko/common/pinta.md new file mode 100644 index 00000000000000..bccef816f79fd7 --- /dev/null +++ b/pages.ko/common/pinta.md @@ -0,0 +1,12 @@ +# pinta + +> 무료 오픈 소스 드로잉 및 이미지 편집 프로그램. +> 더 많은 정보: . + +- Pinta 시작: + +`pinta` + +- 특정 파일 열기: + +`pinta {{경로/대상/이미지1 경로/대상/이미지2 ...}}` diff --git a/pages.ko/common/pio-access.md b/pages.ko/common/pio-access.md new file mode 100644 index 00000000000000..e2be7374908e59 --- /dev/null +++ b/pages.ko/common/pio-access.md @@ -0,0 +1,24 @@ +# pio access + +> 레지스트리에 게시된 리소스(패키지)의 접근 수준 설정. +> 더 많은 정보: . + +- 사용자에게 리소스 접근 권한 부여: + +`pio access grant {{게스트|유지관리자|관리자}} {{사용자명}} {{리소스_URN}}` + +- 사용자의 리소스 접근 권한 제거: + +`pio access revoke {{사용자명}} {{리소스_URN}}` + +- 사용자 또는 팀이 접근할 수 있는 모든 리소스와 접근 수준 표시: + +`pio access list {{사용자명}}` + +- 특정 사용자나 팀원에게만 리소스 접근 제한: + +`pio access private {{리소스_URN}}` + +- 모든 사용자에게 리소스 접근 허용: + +`pio access public {{리소스_URN}}` diff --git a/pages.ko/common/pio-account.md b/pages.ko/common/pio-account.md new file mode 100644 index 00000000000000..fec0b8ba0ea599 --- /dev/null +++ b/pages.ko/common/pio-account.md @@ -0,0 +1,32 @@ +# pio account + +> 명령줄에서 PlatformIO 계정을 관리. +> 더 많은 정보: . + +- 새 PlatformIO 계정 등록: + +`pio account register --username {{사용자이름}} --email {{이메일}} --password {{비밀번호}} --firstname {{이름}} --lastname {{성}}` + +- PlatformIO 계정 및 관련 데이터 영구 삭제: + +`pio account destroy` + +- PlatformIO 계정에 로그인: + +`pio account login --username {{사용자이름}} --password {{비밀번호}}` + +- PlatformIO 계정에서 로그아웃: + +`pio account logout` + +- PlatformIO 프로필 업데이트: + +`pio account update --username {{사용자이름}} --email {{이메일}} --firstname {{이름}} --lastname {{성}} --current-password {{비밀번호}}` + +- PlatformIO 계정에 대한 자세한 정보 표시: + +`pio account show` + +- 사용자 이름이나 이메일을 사용하여 비밀번호 재설정: + +`pio account forgot --username {{사용자이름_또는_이메일}}` diff --git a/pages.ko/common/pio-boards.md b/pages.ko/common/pio-boards.md new file mode 100644 index 00000000000000..6f8b47425a9c79 --- /dev/null +++ b/pages.ko/common/pio-boards.md @@ -0,0 +1,12 @@ +# pio boards + +> PlatformIO에서 사용할 수 있는 사전 구성된 임베디드 보드 나열. +> 더 많은 정보: . + +- 사용 가능한 모든 보드 나열: + +`pio boards` + +- 설치된 플랫폼의 보드만 나열: + +`pio boards --installed` diff --git a/pages.ko/common/pio-check.md b/pages.ko/common/pio-check.md new file mode 100644 index 00000000000000..7f41a3c54e46d6 --- /dev/null +++ b/pages.ko/common/pio-check.md @@ -0,0 +1,24 @@ +# pio check + +> PlatformIO 프로젝트에 대한 정적 분석 검사를 수행. +> 더 많은 정보: . + +- 현재 프로젝트에 대한 기본 분석 검사 수행: + +`pio check` + +- 특정 프로젝트에 대한 기본 분석 검사 수행: + +`pio check --project-dir {{프로젝트_디렉토리}}` + +- 특정 환경에 대한 분석 검사 수행: + +`pio check --environment {{환경}}` + +- 지정된 결함 심각도 유형만 보고하도록 분석 검사 수행: + +`pio check --severity {{낮음|중간|높음}}` + +- 환경을 처리할 때 상세한 정보 표시와 함께 분석 검사 수행: + +`pio check --verbose` diff --git a/pages.ko/common/pio-ci.md b/pages.ko/common/pio-ci.md new file mode 100644 index 00000000000000..2ed4a57f161fad --- /dev/null +++ b/pages.ko/common/pio-ci.md @@ -0,0 +1,29 @@ +# pio ci + +> 임의의 소스 코드 구조로 PlatformIO 프로젝트를 빌드. +> 소스 코드가 복사될 새로운 임시 프로젝트를 생성. +> 더 많은 정보: . + +- 기본 시스템 임시 디렉토리에서 PlatformIO 프로젝트를 빌드하고 이후 삭제: + +`pio ci {{경로/대상/프로젝트}}` + +- 특정 라이브러리를 지정하여 PlatformIO 프로젝트 빌드: + +`pio ci --lib {{경로/대상/라이브러리_폴더}} {{경로/대상/프로젝트}}` + +- 특정 보드를 지정하여 PlatformIO 프로젝트 빌드 (`pio boards` 명령어로 모든 보드 목록 확인 가능): + +`pio ci --board {{보드}} {{경로/대상/프로젝트}}` + +- 특정 디렉토리에서 PlatformIO 프로젝트 빌드: + +`pio ci --build-dir {{경로/대상/빌드_디렉토리}} {{경로/대상/프로젝트}}` + +- 빌드 디렉토리를 삭제하지 않고 PlatformIO 프로젝트 빌드: + +`pio ci --keep-build-dir {{경로/대상/프로젝트}}` + +- 특정 구성 파일을 사용하여 PlatformIO 프로젝트 빌드: + +`pio ci --project-conf {{경로/대상/platformio.ini}}` diff --git a/pages.ko/common/pio-debug.md b/pages.ko/common/pio-debug.md new file mode 100644 index 00000000000000..d3c21d322c977e --- /dev/null +++ b/pages.ko/common/pio-debug.md @@ -0,0 +1,24 @@ +# pio debug + +> PlatformIO 프로젝트 디버그. +> 더 많은 정보: . + +- 현재 디렉토리의 PlatformIO 프로젝트 디버그: + +`pio debug` + +- 특정 PlatformIO 프로젝트 디버그: + +`pio debug --project-dir {{경로/대상/platformio_project}}` + +- 특정 환경 디버그: + +`pio debug --environment {{환경}}` + +- 특정 설정 파일을 사용하여 PlatformIO 프로젝트 디버그: + +`pio debug --project-conf {{경로/대상/platformio.ini}}` + +- `gdb` 디버거를 사용하여 PlatformIO 프로젝트 디버그: + +`pio debug --interface={{gdb}} {{gdb_옵션}}` diff --git a/pages.ko/common/pio-device.md b/pages.ko/common/pio-device.md new file mode 100644 index 00000000000000..687f67b91c4965 --- /dev/null +++ b/pages.ko/common/pio-device.md @@ -0,0 +1,32 @@ +# pio device + +> PlatformIO 장치를 관리하고 모니터링. +> 더 많은 정보: . + +- 사용 가능한 모든 시리얼 포트 나열: + +`pio device list` + +- 사용 가능한 모든 논리 장치 나열: + +`pio device list --logical` + +- 대화형 장치 모니터 시작: + +`pio device monitor` + +- 특정 포트를 수신하며 대화형 장치 모니터 시작: + +`pio device monitor --port {{/dev/ttyUSBX}}` + +- 특정 전송 속도를 설정하여 대화형 장치 모니터 시작 (기본값은 9600): + +`pio device monitor --baud {{57600}}` + +- 특정 EOL 문자를 설정하여 대화형 장치 모니터 시작 (기본값은 `CRLF`): + +`pio device monitor --eol {{CRLF|CR|LF}}` + +- 대화형 장치 모니터 메뉴로 이동: + +`` diff --git a/pages.ko/common/pio-home.md b/pages.ko/common/pio-home.md new file mode 100644 index 00000000000000..6ffd4e7e24be4b --- /dev/null +++ b/pages.ko/common/pio-home.md @@ -0,0 +1,28 @@ +# pio home + +> PlatformIO Home 웹 서버 시작. +> 더 많은 정보: . + +- 기본 웹 브라우저에서 PlatformIO Home 열기: + +`pio home` + +- 특정 HTTP 포트 사용 (기본값은 8008): + +`pio home --port {{포트}}` + +- 특정 IP 주소에 바인딩 (기본값은 127.0.0.1): + +`pio home --host {{ip_주소}}` + +- 기본 웹 브라우저에서 PlatformIO Home을 자동으로 열지 않음: + +`pio home --no-open` + +- 클라이언트가 연결되어 있지 않을 때 타임아웃(초) 후 서버 자동 종료: + +`pio home --shutdown-timeout {{시간}}` + +- 고유한 세션 식별자를 지정하여 PlatformIO Home을 다른 인스턴스와 격리하고 제3자 접근으로부터 보호: + +`pio home --session-id {{세션_아이디}}` diff --git a/pages.ko/common/pio-init.md b/pages.ko/common/pio-init.md new file mode 100644 index 00000000000000..d58d78e1a53d96 --- /dev/null +++ b/pages.ko/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> 이 명령은 `pio project` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pio project` diff --git a/pages.ko/common/pio-lib.md b/pages.ko/common/pio-lib.md new file mode 100644 index 00000000000000..e6b46f2c3b17ba --- /dev/null +++ b/pages.ko/common/pio-lib.md @@ -0,0 +1,36 @@ +# pio lib + +> PlatformIO 라이브러리 관리. +> 더 많은 정보: . + +- 설치된 라이브러리 나열: + +`pio lib list` + +- 설치된 개발 플랫폼과 그 프레임워크에 기반한 내장 라이브러리 나열: + +`pio lib builtin` + +- 기존 라이브러리 검색: + +`pio lib search {{키워드}}` + +- 라이브러리에 대한 세부 정보 표시: + +`pio lib show {{라이브러리}}` + +- 라이브러리 설치: + +`pio lib install {{라이브러리}}` + +- 설치된 라이브러리 업데이트: + +`pio lib update` + +- 라이브러리 제거: + +`pio lib uninstall {{라이브러리}}` + +- PlatformIO 라이브러리 레지스트리 통계 표시: + +`pio lib stats` diff --git a/pages.ko/common/pio-org.md b/pages.ko/common/pio-org.md new file mode 100644 index 00000000000000..456c1b81c86d8e --- /dev/null +++ b/pages.ko/common/pio-org.md @@ -0,0 +1,28 @@ +# pio org + +> PlatformIO 조직 및 소유자를 관리. +> 더 많은 정보: . + +- 새 조직 생성: + +`pio org create {{조직_이름}}` + +- 조직 삭제: + +`pio org destroy {{조직_이름}}` + +- 사용자 조직에 추가: + +`pio org add {{조직_이름}} {{사용자_이름}}` + +- 사용자 조직에서 제거: + +`pio org remove {{조직_이름}} {{사용자_이름}}` + +- 현재 사용자가 멤버로 있는 모든 조직 및 소유자 나열: + +`pio org list` + +- 조직의 이름, 이메일 또는 표시 이름 업데이트: + +`pio org update --orgname {{새_조직_이름}} --email {{새_이메일}} --displayname {{새_표시_이름}} {{조직_이름}}` diff --git a/pages.ko/common/pio-pkg.md b/pages.ko/common/pio-pkg.md new file mode 100644 index 00000000000000..3411310ef384c6 --- /dev/null +++ b/pages.ko/common/pio-pkg.md @@ -0,0 +1,37 @@ +# pio pkg + +> 레지스트리에서 패키지를 관리. +> 패키지는 게시된 날짜로부터 72시간(3일) 이내에만 제거할 수 있습니다. +> 더 많은 정보: . + +- 현재 디렉토리에서 패키지 tarball 생성: + +`pio pkg pack {{[-o|--output]}} {{경로/대상/package.tar.gz}}` + +- 현재 디렉토리에서 패키지 tarball 생성 및 게시: + +`pio pkg publish` + +- 현재 디렉토리를 게시하고 공개 접근 제한: + +`pio pkg publish --private` + +- 패키지 게시: + +`pio pkg publish {{경로/대상/package.tar.gz}}` + +- 사용자 지정 릴리스 날짜(UTC)로 패키지 게시: + +`pio pkg publish {{경로/대상/package.tar.gz}} --released-at "{{2021-04-08 21:15:38}}"` + +- 게시된 패키지의 모든 버전을 레지스트리에서 제거: + +`pio pkg unpublish {{패키지}}` + +- 게시된 패키지의 특정 버전을 레지스트리에서 제거: + +`pio pkg unpublish {{패키지}}@{{버전}}` + +- 제거를 취소하고 패키지의 모든 버전 또는 특정 버전을 레지스트리에 복원: + +`pio pkg unpublish --undo {{패키지}}@{{버전}}` diff --git a/pages.ko/common/pio-platform.md b/pages.ko/common/pio-platform.md new file mode 100644 index 00000000000000..386d600113d14f --- /dev/null +++ b/pages.ko/common/pio-platform.md @@ -0,0 +1,32 @@ +# pio platform + +> PlatformIO 개발 플랫폼 관리. +> 더 많은 정보: . + +- 설치된 모든 개발 플랫폼 나열: + +`pio platform list` + +- 기존 개발 플랫폼 검색: + +`pio platform search {{플랫폼}}` + +- 개발 플랫폼에 대한 세부 정보 표시: + +`pio platform show {{플랫폼}}` + +- 개발 플랫폼 설치: + +`pio platform install {{플랫폼}}` + +- 설치된 개발 플랫폼 업데이트: + +`pio platform update` + +- 개발 플랫폼 제거: + +`pio platform uninstall {{플랫폼}}` + +- 지원되는 모든 프레임워크 나열: + +`pio platform frameworks` diff --git a/pages.ko/common/pio-project.md b/pages.ko/common/pio-project.md new file mode 100644 index 00000000000000..a6e0af0d648d81 --- /dev/null +++ b/pages.ko/common/pio-project.md @@ -0,0 +1,24 @@ +# pio project + +> PlatformIO 프로젝트 관리. +> 더 많은 정보: . + +- 새 PlatformIO 프로젝트 초기화: + +`pio project init` + +- 특정 디렉토리에 새 PlatformIO 프로젝트 초기화: + +`pio project init --project-dir {{경로/대상/프로젝트_디렉토리}}` + +- 보드 ID를 지정하여 새 PlatformIO 프로젝트 초기화: + +`pio project init --board {{ATmega328P|uno|...}}` + +- 하나 이상의 프로젝트 옵션을 지정하여 새 PlatformIO 기반 프로젝트 초기화: + +`pio project init --project-option="{{옵션}}={{값}}" --project-option="{{옵션}}={{값}}"` + +- 프로젝트 구성 출력: + +`pio project config` diff --git a/pages.ko/common/pio-remote.md b/pages.ko/common/pio-remote.md new file mode 100644 index 00000000000000..554c12a101e801 --- /dev/null +++ b/pages.ko/common/pio-remote.md @@ -0,0 +1,33 @@ +# pio remote + +> PlatformIO 원격 개발을 위한 보조 명령어. +> `pio remote [command]`는 로컬에서 실행되는 `pio [command]`와 동일한 인수를 사용합니다. +> 더 많은 정보: . + +- 활성화된 모든 원격 에이전트 나열: + +`pio remote agent list` + +- 특정 이름으로 새로운 원격 에이전트를 시작하고 친구들과 공유: + +`pio remote agent start --name {{에이전트_이름}} --share {{example1@example.com}} --share {{example2@example.com}}` + +- 지정된 에이전트의 장치 나열 (`--agent`를 생략하여 모든 에이전트 지정 가능): + +`pio remote --agent {{에이전트_이름1}} --agent {{에이전트_이름2}} device list` + +- 원격 장치의 직렬 포트에 연결: + +`pio remote --agent {{에이전트_이름}} device monitor` + +- 지정된 에이전트에서 모든 타겟 실행: + +`pio remote --agent {{에이전트_이름}} run` + +- 특정 에이전트에서 설치된 코어 패키지, 개발 플랫폼 및 전역 라이브러리 업데이트: + +`pio remote --agent {{에이전트_이름}} update` + +- 특정 에이전트에서 모든 환경의 모든 테스트 실행: + +`pio remote --agent {{에이전트_이름}} test` diff --git a/pages.ko/common/pio-run.md b/pages.ko/common/pio-run.md new file mode 100644 index 00000000000000..fa94be182788e6 --- /dev/null +++ b/pages.ko/common/pio-run.md @@ -0,0 +1,28 @@ +# pio run + +> PlatformIO 프로젝트 타겟 실행. +> 더 많은 정보: . + +- 사용 가능한 모든 프로젝트 타겟 나열: + +`pio run --list-targets` + +- 특정 환경의 사용 가능한 모든 프로젝트 타겟 나열: + +`pio run --list-targets --environment {{환경}}` + +- 모든 타겟 실행: + +`pio run` + +- 지정된 환경의 모든 타겟 실행: + +`pio run --environment {{환경1}} --environment {{환경2}}` + +- 특정 타겟 실행: + +`pio run --target {{타겟1}} --target {{타겟2}}` + +- 지정된 설정 파일의 타겟 실행: + +`pio run --project-conf {{경로/대상/platformio.ini}}` diff --git a/pages.ko/common/pio-settings.md b/pages.ko/common/pio-settings.md new file mode 100644 index 00000000000000..69d1c56168aa2f --- /dev/null +++ b/pages.ko/common/pio-settings.md @@ -0,0 +1,20 @@ +# pio settings + +> PlatformIO 설정을 보고 수정. +> 더 많은 정보: . + +- 모든 PlatformIO 설정의 이름, 값 및 설명 표시: + +`pio settings get` + +- 특정 PlatformIO 설정의 이름, 값 및 설명 표시: + +`pio settings get {{설정}}` + +- 특정 설정 값을 설정: + +`pio settings set {{설정}} {{값}}` + +- 모든 수정된 설정 값을 기본값으로 재설정: + +`pio settings reset` diff --git a/pages.ko/common/pio-system.md b/pages.ko/common/pio-system.md new file mode 100644 index 00000000000000..a06b153b5c8c27 --- /dev/null +++ b/pages.ko/common/pio-system.md @@ -0,0 +1,28 @@ +# pio system + +> PlatformIO의 다양한 시스템 명령. +> 더 많은 정보: . + +- 현재 셸에 대한 셸 자동 완성 설치 (Bash, fish, Zsh 및 PowerShell 지원): + +`pio system completion install` + +- 현재 셸에 대한 셸 자동 완성 제거: + +`pio system completion uninstall` + +- 시스템 전역 PlatformIO 정보 표시: + +`pio system info` + +- 사용하지 않는 PlatformIO 데이터 제거: + +`pio system prune` + +- 캐시된 데이터만 제거: + +`pio system prune --cache` + +- 제거될 사용하지 않는 PlatformIO 데이터를 목록으로 표시하지만 실제로 제거하지 않음: + +`pio system prune --dry-run` diff --git a/pages.ko/common/pio-team.md b/pages.ko/common/pio-team.md new file mode 100644 index 00000000000000..fdb467104e9dc7 --- /dev/null +++ b/pages.ko/common/pio-team.md @@ -0,0 +1,36 @@ +# pio team + +> PlatformIO 팀 관리. +> 더 많은 정보: . + +- 지정된 설명으로 새 팀 생성: + +`pio team create --description {{설명}} {{조직_이름}}:{{팀_이름}}` + +- 팀 삭제: + +`pio team destroy {{조직_이름}}:{{팀_이름}}` + +- 팀에 새 사용자 추가: + +`pio team add {{조직_이름}}:{{팀_이름}} {{사용자_이름}}` + +- 팀에서 사용자 제거: + +`pio team remove {{조직_이름}}:{{팀_이름}} {{사용자_이름}}` + +- 사용자가 속한 모든 팀과 그 멤버 목록: + +`pio team list` + +- 조직 내 모든 팀 목록: + +`pio team list {{조직_이름}}` + +- 팀 이름 변경: + +`pio team update --name {{새_팀_이름}} {{조직_이름}}:{{팀_이름}}` + +- 팀 설명 변경: + +`pio team update --description {{새_설명}} {{조직_이름}}:{{팀_이름}}` diff --git a/pages.ko/common/pio-test.md b/pages.ko/common/pio-test.md new file mode 100644 index 00000000000000..3a6840e4ed32e7 --- /dev/null +++ b/pages.ko/common/pio-test.md @@ -0,0 +1,28 @@ +# pio test + +> PlatformIO 프로젝트에서 로컬 테스트 실행. +> 더 많은 정보: . + +- 현재 PlatformIO 프로젝트의 모든 환경에서 모든 테스트 실행: + +`pio test` + +- 특정 환경에서만 테스트 실행: + +`pio test --environment {{환경1}} --environment {{환경2}}` + +- 이름이 특정 글로브 패턴과 일치하는 테스트만 실행: + +`pio test --filter "{{패턴}}"` + +- 이름이 특정 글로브 패턴과 일치하는 테스트를 무시: + +`pio test --ignore "{{패턴}}"` + +- 펌웨어 업로드를 위한 포트 지정: + +`pio test --upload-port {{업로드_포트}}` + +- 테스트 실행을 위한 사용자 정의 설정 파일 지정: + +`pio test --project-conf {{경로/대상/platformio.ini}}` diff --git a/pages.ko/common/pio-update.md b/pages.ko/common/pio-update.md new file mode 100644 index 00000000000000..c1b1cb58c93b35 --- /dev/null +++ b/pages.ko/common/pio-update.md @@ -0,0 +1,17 @@ +# pio update + +> 설치된 PlatformIO Core 패키지, 개발 플랫폼 및 전역 라이브러리를 업데이트. +> 같이 보기: `pio platform update`, `pio lib update`. +> 더 많은 정보: . + +- 모든 패키지, 개발 플랫폼 및 전역 라이브러리를 완전히 업데이트: + +`pio update` + +- 코어 패키지만 업데이트 (플랫폼 및 라이브러리는 건너뜀): + +`pio update --core-packages` + +- 패키지, 플랫폼 및 라이브러리의 새 버전을 확인하되 실제로 업데이트하지는 않음: + +`pio update --dry-run` diff --git a/pages.ko/common/pio-upgrade.md b/pages.ko/common/pio-upgrade.md new file mode 100644 index 00000000000000..ed1f40d2bf5b61 --- /dev/null +++ b/pages.ko/common/pio-upgrade.md @@ -0,0 +1,12 @@ +# pio upgrade + +> PlatformIO를 최신 버전으로 업데이트. +> 더 많은 정보: . + +- PlatformIO를 최신 버전으로 업데이트: + +`pio upgrade` + +- PlatformIO를 최신 개발(불안정) 버전으로 업데이트: + +`pio upgrade --dev` diff --git a/pages.ko/common/pio.md b/pages.ko/common/pio.md new file mode 100644 index 00000000000000..42041c3e977695 --- /dev/null +++ b/pages.ko/common/pio.md @@ -0,0 +1,17 @@ +# pio + +> 임베디드 보드를 위한 개발 환경. +> `run`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 도움말을 표시하고 하위 명령 나열: + +`pio --help` + +- 특정 하위 명령에 대한 도움말 표시: + +`pio {{하위_명령}} --help` + +- 버전 표시: + +`pio --version` diff --git a/pages.ko/common/piodebuggdb.md b/pages.ko/common/piodebuggdb.md new file mode 100644 index 00000000000000..bcd6b793f906f9 --- /dev/null +++ b/pages.ko/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> 이 명령은 `pio debug` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pio debug` diff --git a/pages.ko/common/pip-freeze.md b/pages.ko/common/pip-freeze.md new file mode 100644 index 00000000000000..9bcfca5eb391db --- /dev/null +++ b/pages.ko/common/pip-freeze.md @@ -0,0 +1,24 @@ +# pip freeze + +> 설치된 패키지를 요구 사항 형식으로 나열. +> 더 많은 정보: . + +- 설치된 패키지 나열: + +`pip freeze` + +- 설치된 패키지를 나열하고 `requirements.txt` 파일에 작성: + +`pip freeze > requirements.txt` + +- 가상 환경에서 설치된 패키지를 나열하고, 전역적으로 설치된 패키지를 제외: + +`pip freeze {{[-l|--local]}} > requirements.txt` + +- 사용자 사이트에 설치된 패키지 나열: + +`pip freeze --user > requirements.txt` + +- `pip`, `distribute`, `setuptools`, `wheel`을 포함한 모든 패키지 나열 (기본적으로 생략됨): + +`pip freeze --all > requirements.txt` diff --git a/pages.ko/common/pip-install.md b/pages.ko/common/pip-install.md new file mode 100644 index 00000000000000..8a1946e7087f03 --- /dev/null +++ b/pages.ko/common/pip-install.md @@ -0,0 +1,24 @@ +# pip install + +> Python 패키지 설치. +> 더 많은 정보: . + +- 패키지 설치: + +`pip install {{패키지}}` + +- 특정 버전의 패키지 설치: + +`pip install {{패키지}}=={{버전}}` + +- 파일에 나열된 패키지 설치: + +`pip install {{[-r|--requirement]}} {{경로/대상/requirements.txt}}` + +- URL 또는 로컬 파일 아카이브(.tar.gz | .whl)에서 패키지 설치: + +`pip install {{[-f|--find-links]}} {{url|경로/대상/파일}}` + +- 현재 디렉토리에 있는 로컬 패키지를 개발(수정 가능) 모드로 설치: + +`pip install {{[-e|--editable]}} {{.}}` diff --git a/pages.ko/common/pip-uninstall.md b/pages.ko/common/pip-uninstall.md new file mode 100644 index 00000000000000..0761a81c4459f2 --- /dev/null +++ b/pages.ko/common/pip-uninstall.md @@ -0,0 +1,16 @@ +# pip uninstall + +> Python 패키지 제거. +> 더 많은 정보: . + +- 패키지 제거: + +`pip uninstall {{패키지}}` + +- 특정 파일에 나열된 패키지 제거: + +`pip uninstall {{[-r|--requirement]}} {{경로/대상/requirements.txt}}` + +- 확인 요청 없이 패키지 제거: + +`pip uninstall {{[-y|--yes]}} {{패키지}}` diff --git a/pages.ko/common/pip.md b/pages.ko/common/pip.md new file mode 100644 index 00000000000000..9a9af273fc327d --- /dev/null +++ b/pages.ko/common/pip.md @@ -0,0 +1,33 @@ +# pip + +> Python 패키지 관리자. +> `install`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 패키지 설치 (`pip install`에서 더 많은 설치 예시 확인 가능): + +`pip install {{패키지}}` + +- 시스템 전역 기본 위치 대신 사용자 디렉토리에 패키지 설치: + +`pip install --user {{패키지}}` + +- 패키지 업그레이드: + +`pip install {{[-U|--upgrade]}} {{패키지}}` + +- 패키지 제거: + +`pip uninstall {{패키지}}` + +- 설치된 패키지를 파일에 저장: + +`pip freeze > {{requirements.txt}}` + +- 설치된 패키지 정보 표시: + +`pip show {{패키지}}` + +- 파일에서 패키지 설치: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` diff --git a/pages.ko/common/pip3.md b/pages.ko/common/pip3.md new file mode 100644 index 00000000000000..4f951d8f319b06 --- /dev/null +++ b/pages.ko/common/pip3.md @@ -0,0 +1,32 @@ +# pip3 + +> Python 패키지 관리자. +> 더 많은 정보: . + +- 패키지 설치: + +`pip3 install {{패키지}}` + +- 특정 버전의 패키지 설치: + +`pip3 install {{패키지}}=={{버전}}` + +- 패키지 업그레이드: + +`pip3 install {{[-U|--upgrade]}} {{패키지}}` + +- 패키지 제거: + +`pip3 uninstall {{패키지}}` + +- 설치된 패키지 목록을 파일에 저장: + +`pip3 freeze > {{requirements.txt}}` + +- 파일에서 패키지 설치: + +`pip3 install {{[-r|--requirement]}} {{requirements.txt}}` + +- 설치된 패키지 정보 표시: + +`pip3 show {{패키지}}` diff --git a/pages.ko/common/pipenv.md b/pages.ko/common/pipenv.md new file mode 100644 index 00000000000000..893b02fa424882 --- /dev/null +++ b/pages.ko/common/pipenv.md @@ -0,0 +1,37 @@ +# pipenv + +> 간단하고 통합된 Python 개발 워크플로우. +> 프로젝트의 패키지 및 가상 환경 관리. +> 더 많은 정보: . + +- 새 프로젝트 생성: + +`pipenv` + +- Python 3를 사용하여 새 프로젝트 생성: + +`pipenv --three` + +- 패키지 설치: + +`pipenv install {{패키지}}` + +- 프로젝트의 모든 의존성 설치: + +`pipenv install` + +- 프로젝트의 모든 의존성 설치 (개발 패키지 포함): + +`pipenv install --dev` + +- 패키지 제거: + +`pipenv uninstall {{패키지}}` + +- 생성된 가상 환경에서 쉘 시작: + +`pipenv shell` + +- 프로젝트의 `requirements.txt` (의존성 목록) 생성: + +`pipenv lock --requirements` diff --git a/pages.ko/common/piper.md b/pages.ko/common/piper.md new file mode 100644 index 00000000000000..e073b9ee080da3 --- /dev/null +++ b/pages.ko/common/piper.md @@ -0,0 +1,25 @@ +# piper + +> 빠르고 로컬에서 동작하는 신경망 기반의 텍스트 음성 변환 시스템. +> 에서 음성 모델을 시도해보고 다운로드하세요. +> 더 많은 정보: . + +- 텍스트 음성 변환 [m]모델을 사용하여 WAV [f]파일 출력(모델 경로에 대한 config 파일이 있을 경우): + +`echo {{말할 내용}} | piper -m {{경로/대상/모델.onnx}} -f {{출력파일.wav}}` + +- [m]모델과 JSON [c]설정 파일을 지정하여 WAV [f]파일 출력: + +`echo {{'말할 내용'}} | piper -m {{경로/대상/모델.onnx}} -c {{경로/대상/모델.onnx.json}} -f {{출력파일.wav}}` + +- 여러 명의 화자가 있는 음성에서 특정 화자를 ID 번호로 선택: + +`echo {{'Warum?'}} | piper -m {{de_DE-thorsten_emotional-medium.onnx}} --speaker {{1}} -f {{화남.wav}}` + +- mpv 미디어 플레이어로 출력을 스트리밍: + +`echo {{'Hello world'}} | piper -m {{en_GB-northern_english_male-medium.onnx}} --output-raw -f - | mpv -` + +- 두 배 빠르게 말하고 문장 사이에 큰 간격을 두기: + +`echo {{'두 배 속도로 말합니다. 드라마틱하게!'}} | piper -m {{foo.onnx}} --length_scale {{0.5}} --sentence_silence {{2}} -f {{드라마.wav}}` diff --git a/pages.ko/common/pipes.sh.md b/pages.ko/common/pipes.sh.md new file mode 100644 index 00000000000000..bdb9534a890d36 --- /dev/null +++ b/pages.ko/common/pipes.sh.md @@ -0,0 +1,24 @@ +# pipes.sh + +> 터미널에 무작위 경로의 파이프를 그리는 Bash 스크립트. +> 더 많은 정보: . + +- 파이프의 패턴 변경: + +`pipes.sh -t {{0..9}}` + +- 파이프의 색상 변경: + +`pipes.sh -c {{0..7}}` + +- 파이프의 프레임 속도 변경: + +`pipes.sh -f {{20..100}}` + +- 색상 비활성화: + +`pipes.sh -C` + +- 버전 표시: + +`pipes.sh -v` diff --git a/pages.ko/common/pipx.md b/pages.ko/common/pipx.md new file mode 100644 index 00000000000000..f98f7299836c7e --- /dev/null +++ b/pages.ko/common/pipx.md @@ -0,0 +1,32 @@ +# pipx + +> Python 애플리케이션을 격리된 환경에서 설치하고 실행. +> 더 많은 정보: . + +- 임시 가상 환경에서 앱 실행: + +`pipx run {{pycowsay}} {{moo}}` + +- 가상 환경에 패키지 설치 및 진입점을 경로에 추가: + +`pipx install {{패키지}}` + +- 설치된 패키지 나열: + +`pipx list` + +- 실행 파일과 다른 패키지 이름으로 임시 가상 환경에서 앱 실행: + +`pipx run --spec {{httpx-cli}} {{httpx}} {{http://www.github.com}}` + +- 기존 가상 환경에 의존성 추가: + +`pipx inject {{패키지}} {{의존성1 의존성2 ...}}` + +- pip 인자를 사용하여 가상 환경에 패키지 설치: + +`pipx install --pip-args='{{pip-인자}}' {{패키지}}` + +- 모든 설치된 패키지 업그레이드/재설치/제거: + +`pipx {{upgrade-all|uninstall-all|reinstall-all}}` diff --git a/pages.ko/common/pixi-config.md b/pages.ko/common/pixi-config.md new file mode 100644 index 00000000000000..8dc6890bf38df0 --- /dev/null +++ b/pages.ko/common/pixi-config.md @@ -0,0 +1,28 @@ +# pixi config + +> 설정 파일을 관리합니다. +> 더 많은 정보: . + +- 설정 파일 편집: + +`pixi config edit` + +- 모든 설정 나열: + +`pixi config list` + +- 리스트 형식의 설정 키에 값을 앞에 추가: + +`pixi config prepend {{키}} {{값}}` + +- 리스트 형식의 설정 키에 값을 뒤에 추가: + +`pixi config append {{키}} {{값}}` + +- 설정 키에 값을 설정: + +`pixi config set {{키}} {{값}}` + +- 설정 키 해제: + +`pixi config unset {{키}}` diff --git a/pages.ko/common/pixi-global.md b/pages.ko/common/pixi-global.md new file mode 100644 index 00000000000000..81cb06f34e891c --- /dev/null +++ b/pages.ko/common/pixi-global.md @@ -0,0 +1,24 @@ +# pixi global + +> 전역 패키지를 관리. +> 더 많은 정보: . + +- 패키지를 전역으로 설치하고 경로에 추가: + +`pixi global install {{패키지1 패키지2 ...}}` + +- 패키지를 전역에서 제거: + +`pixi global remove {{패키지1 패키지2 ...}}` + +- 전역으로 설치된 모든 패키지 나열: + +`pixi global list` + +- 전역으로 설치된 패키지 업데이트: + +`pixi global upgrade {{패키지}}` + +- 전역으로 설치된 모든 패키지 업데이트: + +`pixi global upgrade-all` diff --git a/pages.ko/common/pixi-project.md b/pages.ko/common/pixi-project.md new file mode 100644 index 00000000000000..0aafcfdb00bc1b --- /dev/null +++ b/pages.ko/common/pixi-project.md @@ -0,0 +1,24 @@ +# pixi project + +> 프로젝트 구성 파일 수정. +> 더 많은 정보: . + +- 프로젝트 채널 관리: + +`pixi project channel {{명령}}` + +- 프로젝트 설명 관리: + +`pixi project description {{명령}}` + +- 프로젝트 플랫폼 관리: + +`pixi project platform {{명령}}` + +- 프로젝트 버전 관리: + +`pixi project version {{명령}}` + +- 프로젝트 환경 관리: + +`pixi project environment {{명령}}` diff --git a/pages.ko/common/pixi-task.md b/pages.ko/common/pixi-task.md new file mode 100644 index 00000000000000..64ab38ccfae1ea --- /dev/null +++ b/pages.ko/common/pixi-task.md @@ -0,0 +1,20 @@ +# pixi task + +> 프로젝트 환경에서 작업을 관리. +> 더 많은 정보: . + +- 새 작업 생성: + +`pixi task add {{작업_이름}} {{작업_명령}}` + +- 프로젝트의 모든 작업 나열: + +`pixi task list` + +- 작업 제거: + +`pixi task remove {{작업_이름}}` + +- 작업에 대한 별칭 생성: + +`pixi task alias {{별칭_이름}} {{작업1 작업2 ...}}` diff --git a/pages.ko/common/pixi.md b/pages.ko/common/pixi.md new file mode 100644 index 00000000000000..dd469db57681f6 --- /dev/null +++ b/pages.ko/common/pixi.md @@ -0,0 +1,32 @@ +# pixi + +> 프로젝트를 위한 개발자 워크플로우 및 환경 관리 도구. +> 더 많은 정보: . + +- 새 프로젝트 초기화: + +`pixi init {{경로/대상/프로젝트}}` + +- 프로젝트 의존성 추가: + +`pixi add {{의존성1 의존성2 ...}}` + +- 프로젝트 환경에서 pixi 셸 시작: + +`pixi shell` + +- 프로젝트 환경에서 작업 실행: + +`pixi run {{작업}}` + +- 프로젝트 환경에서 작업 관리: + +`pixi task {{명령}}` + +- 도움말 메시지 출력: + +`pixi {{명령}} --help` + +- 환경 및 작업 캐시 정리: + +`pixi clean` diff --git a/pages.ko/common/pixiecore.md b/pages.ko/common/pixiecore.md new file mode 100644 index 00000000000000..4b035174941ba4 --- /dev/null +++ b/pages.ko/common/pixiecore.md @@ -0,0 +1,16 @@ +# pixiecore + +> 네트워크 부팅을 관리하는 도구. +> 더 많은 정보: . + +- `netboot.xyz` 부팅 이미지를 제공하는 PXE 부팅 서버 시작: + +`pixiecore {{quick}} xyz --dhcp-no-bind` + +- Ubuntu 부팅 이미지를 제공하는 새로운 PXE 부팅 서버 시작: + +`pixiecore {{quick}} ubuntu --dhcp-no-bind` + +- 빠른 모드에서 사용 가능한 모든 부팅 이미지 나열: + +`pixiecore quick --help` diff --git a/pages.ko/common/pixterm.md b/pages.ko/common/pixterm.md new file mode 100644 index 00000000000000..bdefb6c0d86a0c --- /dev/null +++ b/pages.ko/common/pixterm.md @@ -0,0 +1,21 @@ +# pixterm + +> 이미지 터미널 출력 도구. +> 같이 보기: `chafa`, `catimg`. +> 더 많은 정보: . + +- 정적 이미지를 터미널에 직접 렌더링: + +`pixterm {{경로/대상/파일}}` + +- 이미지의 원본 가로세로 비율 사용: + +`pixterm -s 2 {{경로/대상/파일}}` + +- 특정 터미널 행 및 열 수를 사용하여 사용자 정의 가로세로 비율 지정: + +`pixterm -tr {{24}} -tc {{80}} {{경로/대상/파일}}` + +- 무광 배경색 및 문자 디더링으로 출력 필터링: + +`pixterm -m {{000000}} -d 2 {{경로/대상/파일}}` diff --git a/pages.ko/common/pjtoppm.md b/pages.ko/common/pjtoppm.md new file mode 100644 index 00000000000000..565e1679ef0d0f --- /dev/null +++ b/pages.ko/common/pjtoppm.md @@ -0,0 +1,8 @@ +# pjtoppm + +> HP PaintJet 파일을 PPM으로 변환. +> 더 많은 정보: . + +- HP PaintJet 파일을 PPM으로 변환: + +`pjtoppm {{경로/대상/입력.pj}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pkg-config.md b/pages.ko/common/pkg-config.md new file mode 100644 index 00000000000000..03813fe38e6b80 --- /dev/null +++ b/pages.ko/common/pkg-config.md @@ -0,0 +1,16 @@ +# pkg-config + +> 애플리케이션 컴파일을 위한 설치된 라이브러리의 세부 정보를 제공. +> 더 많은 정보: . + +- 라이브러리 및 그 의존성 목록 확인: + +`pkg-config --libs {{라이브러리1 라이브러리2 ...}}` + +- 라이브러리, 그 의존성 및 gcc에 대한 적절한 cflags 목록 확인: + +`pkg-config --cflags --libs {{라이브러리1 라이브러리2 ...}}` + +- libgtk-3, libwebkit2gtk-4.0 및 모든 의존성을 사용하여 코드 컴파일: + +`c++ example.cpp $(pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0) -o example` diff --git a/pages.ko/common/pkill.md b/pages.ko/common/pkill.md new file mode 100644 index 00000000000000..aac6532d0c2ad2 --- /dev/null +++ b/pages.ko/common/pkill.md @@ -0,0 +1,25 @@ +# pkill + +> 프로세스 이름에 따라 시그널을 전송합니다. +> 주로 프로세스를 종료하는데 사용합니다. +> 더 많은 정보: . + +- 일치하는 모든 프로세스 종료: + +`pkill "{{프로세스_이름}}"` + +- 프로세스 이름 대신 전체 명령어와 일치하는 모든 프로세스 종료: + +`pkill {{[-f|--full]}} "{{명령어_이름}}"` + +- 강제로 일치하는 프로세스 종료 (차단 불가능): + +`pkill -9 "{{프로세스_이름}}"` + +- 일치하는 프로세스에게 SIGUSR1 시그널 전송: + +`pkill -USR1 "{{프로세스_이름}}"` + +- 브라우저를 닫기 위해 주요 `firefox` 프로세스를 종료: + +`pkill {{[-o|--oldest]}} "{{firefox}}"` diff --git a/pages.ko/common/plantuml.md b/pages.ko/common/plantuml.md new file mode 100644 index 00000000000000..36f17e6de624cd --- /dev/null +++ b/pages.ko/common/plantuml.md @@ -0,0 +1,36 @@ +# plantuml + +> 일반 텍스트 언어로 UML 다이어그램을 작성하고 다양한 형식으로 렌더링. +> 더 많은 정보: . + +- 다이어그램을 기본 형식(PNG)으로 렌더링: + +`plantuml {{다이어그램1.puml}} {{다이어그램2.puml}}` + +- 주어진 형식(예: `png`, `pdf`, `svg`, `txt`)으로 다이어그램 렌더링: + +`plantuml -t {{형식}} {{다이어그램.puml}}` + +- 디렉토리의 모든 다이어그램 렌더링: + +`plantuml {{경로/대상/다이어그램}}` + +- 출력 디렉토리에 다이어그램 렌더링: + +`plantuml -o {{경로/대상/출력}} {{다이어그램.puml}}` + +- 다이어그램의 소스 코드를 저장하지 않고 렌더링 (참고: `-nometadata` 옵션이 지정되지 않으면 기본적으로 저장됨): + +`plantuml -nometadata {{다이어그램.png}} > {{다이어그램.puml}}` + +- `plantuml` 다이어그램의 메타데이터에서 소스 코드 가져오기: + +`plantuml -metadata {{다이어그램.png}} > {{다이어그램.puml}}` + +- 구성 파일을 사용하여 다이어그램 렌더링: + +`plantuml -config {{구성.cfg}} {{다이어그램.puml}}` + +- 도움말 표시: + +`plantuml -help` diff --git a/pages.ko/common/platformio.md b/pages.ko/common/platformio.md new file mode 100644 index 00000000000000..cb5b2c4fa9c915 --- /dev/null +++ b/pages.ko/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> 이 명령은 `pio` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pio` diff --git a/pages.ko/common/play.md b/pages.ko/common/play.md new file mode 100644 index 00000000000000..1da33827126ebb --- /dev/null +++ b/pages.ko/common/play.md @@ -0,0 +1,21 @@ +# play + +> SoX - Sound eXchange의 오디오 플레이어. +> 파일 확장자로 식별된 오디오 형식을 재생. +> 더 많은 정보: . + +- 주어진 오디오 파일 재생: + +`play {{경로/대상/오디오_파일}}` + +- 주어진 여러 오디오 파일 재생: + +`play {{경로/대상/오디오_파일1 경로/대상/오디오_파일2 ...}}` + +- 주어진 오디오를 두 배 속도로 재생: + +`play {{경로/대상/오디오_파일}} speed 2.0` + +- 주어진 오디오를 거꾸로 재생: + +`play {{경로/대상/오디오_파일}} reverse` diff --git a/pages.ko/common/plenv.md b/pages.ko/common/plenv.md new file mode 100644 index 00000000000000..0365fee3b5e0a7 --- /dev/null +++ b/pages.ko/common/plenv.md @@ -0,0 +1,32 @@ +# plenv + +> 여러 Perl 버전을 전환. +> 더 많은 정보: . + +- 현재 선택된 Perl 버전과 선택 방법 표시: + +`plenv version` + +- 설치된 모든 Perl 버전 나열: + +`plenv versions` + +- 전역 Perl 버전 설정 (로컬 또는 셸 버전이 우선하지 않는 한 사용): + +`plenv global {{버전}}` + +- 로컬 애플리케이션 전용 Perl 버전 설정 (현재 디렉토리 및 하위 디렉토리에서 사용): + +`plenv local {{버전}}` + +- 셸 전용 Perl 버전 설정 (현재 세션에서만 사용): + +`plenv shell {{버전}}` + +- 도움말 표시: + +`plenv` + +- 명령에 대한 도움말 표시: + +`plenv help {{명령}}` diff --git a/pages.ko/common/plesk.md b/pages.ko/common/plesk.md new file mode 100644 index 00000000000000..3432ab06f6dc60 --- /dev/null +++ b/pages.ko/common/plesk.md @@ -0,0 +1,28 @@ +# plesk + +> Plesk 호스팅 제어 패널. +> 더 많은 정보: . + +- 관리자 사용자에 대한 자동 로그인 링크 생성 및 출력: + +`plesk login` + +- 제품 버전 정보 표시: + +`plesk version` + +- 호스팅된 모든 도메인 나열: + +`plesk bin domain --list` + +- `panel.log` 파일에서 변경 사항 감시 시작: + +`plesk log {{panel.log}}` + +- 대화형 MySQL 콘솔 시작: + +`plesk db` + +- 기본 편집기로 Plesk 메인 구성 파일 열기: + +`plesk conf {{panel.ini}}` diff --git a/pages.ko/common/plocate.md b/pages.ko/common/plocate.md new file mode 100644 index 00000000000000..00e21529ceb4a1 --- /dev/null +++ b/pages.ko/common/plocate.md @@ -0,0 +1,13 @@ +# plocate + +> 파일 이름을 빠르게 찾기. +> 새 파일을 포함하려면 `sudo updatedb`를 실행하세요. +> 더 많은 정보: . + +- 데이터베이스에서 패턴 검색 (주기적으로 재계산): + +`plocate {{패턴}}` + +- 정확한 파일 이름으로 파일 검색 (글로벌 문자가 포함되지 않은 패턴은 `*패턴*`으로 해석됨): + +`plocate */{{파일_이름}}` diff --git a/pages.ko/common/pm2.md b/pages.ko/common/pm2.md new file mode 100644 index 00000000000000..d3498d0afa4311 --- /dev/null +++ b/pages.ko/common/pm2.md @@ -0,0 +1,33 @@ +# pm2 + +> Node.js를 위한 프로세스 관리자. +> 로그 관리, 모니터링 및 프로세스 구성을 위해 사용됩니다. +> 더 많은 정보: . + +- 나중에 사용할 수 있는 이름으로 프로세스를 시작: + +`pm2 start {{app.js}} --name {{애플리케이션_이름}}` + +- 프로세스 목록 나열: + +`pm2 list` + +- 모든 프로세스 모니터링: + +`pm2 monit` + +- 프로세스 중지: + +`pm2 stop {{애플리케이션_이름}}` + +- 프로세스 재시작: + +`pm2 restart {{애플리케이션_이름}}` + +- 나중에 복원할 수 있도록 모든 프로세스 덤프: + +`pm2 save` + +- 이전에 덤프한 프로세스 복원: + +`pm2 resurrect` diff --git a/pages.ko/common/pngcheck.md b/pages.ko/common/pngcheck.md new file mode 100644 index 00000000000000..14fa0ffc5fdcf7 --- /dev/null +++ b/pages.ko/common/pngcheck.md @@ -0,0 +1,28 @@ +# pngcheck + +> PNG, JNG, MNG 파일에 대한 자세한 정보를 출력하고 검증합니다. +> 더 많은 정보: . + +- 이미지의 요약 정보 출력 (너비, 높이, 색상 깊이): + +`pngcheck {{경로/대상/이미지.png}}` + +- [c]색상화된 출력으로 이미지 정보 출력: + +`pngcheck -c {{경로/대상/이미지.png}}` + +- 이미지에 대한 [v]erbose 정보 출력: + +`pngcheck -cvt {{경로/대상/이미지.png}}` + +- `stdin`에서 이미지를 받아와 자세한 정보 출력: + +`cat {{경로/대상/이미지.png}} | pngcheck -cvt` + +- 특정 파일 내에서 PNG를 [s]검색하여 정보 출력: + +`pngcheck -s {{경로/대상/이미지.png}}` + +- 다른 파일 내에서 PNG를 검색하고 [x]추출: + +`pngcheck -x {{경로/대상/이미지.png}}` diff --git a/pages.ko/common/pngcrush.md b/pages.ko/common/pngcrush.md new file mode 100644 index 00000000000000..0a8548caee82e8 --- /dev/null +++ b/pages.ko/common/pngcrush.md @@ -0,0 +1,16 @@ +# pngcrush + +> PNG 압축 유틸리티. +> 더 많은 정보: . + +- PNG 파일 압축: + +`pngcrush {{입력.png}} {{출력.png}}` + +- 모든 PNG 파일 압축 후 지정된 디렉토리에 출력: + +`pngcrush -d {{경로/대상/출력}} *.png` + +- 사용 가능한 모든 114개의 알고리즘으로 PNG 파일을 압축하고 최상의 결과 선택: + +`pngcrush -rem allb -brute -reduce {{입력.png}} {{출력.png}}` diff --git a/pages.ko/common/pngquant.md b/pages.ko/common/pngquant.md new file mode 100644 index 00000000000000..2708e5ddab34a9 --- /dev/null +++ b/pages.ko/common/pngquant.md @@ -0,0 +1,36 @@ +# pngquant + +> PNG 변환기 및 손실 이미지 압축기. +> 더 많은 정보: . + +- 특정 PNG를 최대한 압축하고 결과를 새 파일로 저장: + +`pngquant {{경로/대상/파일.png}}` + +- 특정 PNG를 압축하고 원본을 덮어쓰기: + +`pngquant --ext .png --force {{경로/대상/파일.png}}` + +- 사용자 지정 품질로 특정 PNG를 압축 시도 (최소 값보다 낮으면 건너뜀): + +`pngquant --quality {{0-100}} {{경로/대상/파일.png}}` + +- 색상이 64개로 줄어진 특정 PNG를 압축: + +`pngquant {{64}} {{경로/대상/파일.png}}` + +- 특정 PNG를 압축하고 파일이 원본보다 큰 경우 건너뜀: + +`pngquant --skip-if-larger {{경로/대상/파일.png}}` + +- 특정 PNG를 압축하고 메타데이터 제거: + +`pngquant --strip {{경로/대상/파일.png}}` + +- 특정 PNG를 압축하고 지정된 경로에 저장: + +`pngquant {{경로/대상/파일.png}} --output {{경로/대상/파일.png}}` + +- 특정 PNG를 압축하고 진행 상황 표시: + +`pngquant --verbose {{경로/대상/파일.png}}` diff --git a/pages.ko/common/pngtopam.md b/pages.ko/common/pngtopam.md new file mode 100644 index 00000000000000..90d901aeb3851a --- /dev/null +++ b/pages.ko/common/pngtopam.md @@ -0,0 +1,21 @@ +# pngtopam + +> PNG 이미지를 Netpbm 이미지로 변환. +> 같이 보기: `pamtopng`. +> 더 많은 정보: . + +- 지정된 PNG 이미지를 Netpbm 이미지로 변환: + +`pngtopam {{경로/대상/이미지.png}} > {{경로/대상/출력.pam}}` + +- 입력 이미지의 주 이미지와 투명 마스크를 포함한 출력 이미지 생성: + +`pngtopam -alphapam {{경로/대상/이미지.png}} > {{경로/대상/출력.pam}}` + +- 투명한 픽셀을 지정된 색상으로 대체: + +`pngtopam {{[-m|-mix]}} {{[-ba|-background]}} {{색상}} {{경로/대상/이미지.png}} > {{경로/대상/출력.pam}}` + +- 입력 이미지에서 발견된 tEXt 청크를 지정된 텍스트 파일로 작성: + +`pngtopam {{[-te|-text]}} {{경로/대상/파일.txt}} {{경로/대상/이미지.png}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/pngtopnm.md b/pages.ko/common/pngtopnm.md new file mode 100644 index 00000000000000..d98ac3eb382cf5 --- /dev/null +++ b/pages.ko/common/pngtopnm.md @@ -0,0 +1,8 @@ +# pngtopnm + +> 이 명령은 `pngtopam`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pngtopam` diff --git a/pages.ko/common/pnmalias.md b/pages.ko/common/pnmalias.md new file mode 100644 index 00000000000000..580faae998b99b --- /dev/null +++ b/pages.ko/common/pnmalias.md @@ -0,0 +1,20 @@ +# pnmalias + +> PNM 이미지에 안티앨리어싱 적용. +> 더 많은 정보: . + +- PNM 이미지에 안티앨리어싱 적용, 검은 픽셀을 배경으로, 흰 픽셀을 전경으로 처리: + +`pnmalias {{경로/대상/입력.pnm}} > {{경로/대상/출력.ppm}}` + +- 배경색과 전경색을 명시적으로 지정: + +`pnmalias -bcolor {{배경_색상}} -fcolor {{전경_색상}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.ppm}}` + +- 전경 픽셀에만 안티앨리어싱 적용: + +`pnmalias -fonly {{경로/대상/입력.pnm}} > {{경로/대상/출력.ppm}}` + +- 배경 픽셀 주변의 모든 픽셀에 안티앨리어싱 적용: + +`pnmalias -balias {{경로/대상/입력.pnm}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pnmarith.md b/pages.ko/common/pnmarith.md new file mode 100644 index 00000000000000..c5176764276c1a --- /dev/null +++ b/pages.ko/common/pnmarith.md @@ -0,0 +1,8 @@ +# pnmarith + +> 이 명령은 `pamarith`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamarith` diff --git a/pages.ko/common/pnmcolormap.md b/pages.ko/common/pnmcolormap.md new file mode 100644 index 00000000000000..270cedf58d5b57 --- /dev/null +++ b/pages.ko/common/pnmcolormap.md @@ -0,0 +1,16 @@ +# pnmcolormap + +> PNM 이미지에 대한 양자화 색상 맵 생성. +> 더 많은 정보: . + +- 입력 이미지와 최대한 유사하게 `n_colors` 이하의 색상만 사용하는 이미지 생성: + +`pnmcolormap {{n_colors}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.ppm}}` + +- 작은 디테일이 있는 이미지에 더 나은 결과를 제공할 수 있는 splitspread 전략 사용: + +`pnmcolormap -splitspread {{n_colors}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.ppm}}` + +- 색상 맵을 정렬, 색상 맵 비교에 유용: + +`pnmcolormap -sort {{경로/대상/입력.pnm}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/pnmcomp.md b/pages.ko/common/pnmcomp.md new file mode 100644 index 00000000000000..f59bbe25055b38 --- /dev/null +++ b/pages.ko/common/pnmcomp.md @@ -0,0 +1,8 @@ +# pnmcomp + +> 이 명령은 `pamcomp`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamcomp` diff --git a/pages.ko/common/pnmconvol.md b/pages.ko/common/pnmconvol.md new file mode 100644 index 00000000000000..26dd5459ef941b --- /dev/null +++ b/pages.ko/common/pnmconvol.md @@ -0,0 +1,20 @@ +# pnmconvol + +> PNM 이미지를 컨볼루션. +> 더 많은 정보: . + +- 지정된 컨볼루션 행렬로 PNM 이미지 컨볼루션: + +`pnmconvol -matrix=-1,3,-1 {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 입력 이미지의 각 레이어에 대해 파일로 지정된 컨볼루션 행렬로 PNM 이미지 컨볼루션: + +`pnmconvol -matrixfile {{경로/대상/행렬1,경로/대상/행렬2,...}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 지정된 PNM 파일의 컨볼루션 행렬로 PNM 이미지 컨볼루션: + +`pnmconvol {{경로/대상/행렬.pnm}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 컨볼루션 행렬의 가중치를 합이 1이 되도록 정규화: + +`pnmconvol -matrix=-1,3,-1 -normalize {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmcrop.md b/pages.ko/common/pnmcrop.md new file mode 100644 index 00000000000000..f0514f487cb997 --- /dev/null +++ b/pages.ko/common/pnmcrop.md @@ -0,0 +1,20 @@ +# pnmcrop + +> PNM 이미지 자르기. +> 더 많은 정보: . + +- PNM 이미지의 흰색 테두리 제거: + +`pnmcrop -white {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 지정한 색상의 상단 및 왼쪽 테두리 제거: + +`pnmcrop -bg-color {{색상}} -top -left {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 지정한 코너의 픽셀 색상으로 제거할 테두리 색상 결정: + +`pnmcrop -bg-corner {{topleft|topright|bottomleft|bottomright}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- `n` 픽셀 너비의 테두리를 남김. 또한, 이미지가 배경으로만 이루어진 경우의 동작 지정: + +`pnmcrop -margins {{n}} -blank-image {{pass|minimize|maxcrop}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmcut.md b/pages.ko/common/pnmcut.md new file mode 100644 index 00000000000000..27f29106c9453f --- /dev/null +++ b/pages.ko/common/pnmcut.md @@ -0,0 +1,8 @@ +# pnmcut + +> 이 명령은 `pamcut`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamcut` diff --git a/pages.ko/common/pnmdepth.md b/pages.ko/common/pnmdepth.md new file mode 100644 index 00000000000000..1d4a44f57bf112 --- /dev/null +++ b/pages.ko/common/pnmdepth.md @@ -0,0 +1,7 @@ +# pnmdepth + +> 이 명령은 `pamdepth`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr pamdepth` diff --git a/pages.ko/common/pnmenlarge.md b/pages.ko/common/pnmenlarge.md new file mode 100644 index 00000000000000..52eac1e76c6db8 --- /dev/null +++ b/pages.ko/common/pnmenlarge.md @@ -0,0 +1,8 @@ +# pnmenlarge + +> 이 명령은 `pamenlarge`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamenlarge` diff --git a/pages.ko/common/pnmfile.md b/pages.ko/common/pnmfile.md new file mode 100644 index 00000000000000..7fc8c3c12e0cfa --- /dev/null +++ b/pages.ko/common/pnmfile.md @@ -0,0 +1,8 @@ +# pnmfile + +> 이 명령은 `pamfile`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamfile` diff --git a/pages.ko/common/pnmflip.md b/pages.ko/common/pnmflip.md new file mode 100644 index 00000000000000..847da18a7a01ec --- /dev/null +++ b/pages.ko/common/pnmflip.md @@ -0,0 +1,8 @@ +# pnmflip + +> 이 명령은 `pamflip`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamflip` diff --git a/pages.ko/common/pnmgamma.md b/pages.ko/common/pnmgamma.md new file mode 100644 index 00000000000000..05db65400e3697 --- /dev/null +++ b/pages.ko/common/pnmgamma.md @@ -0,0 +1,20 @@ +# pnmgamma + +> PNM 이미지에 감마 보정 수행. +> 더 많은 정보: . + +- 이미지를 BT.709 휘도에서 방사선 또는 sRGB 휘도로 변환: + +`pnmgamma -{{bt709tolinear|bt709tosrgb}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 이미지를 방사선 또는 sRGB 휘도에서 BT.709 휘도로 변환: + +`pnmgamma -{{lineartobt709|srgbtobt709}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 감마 전송 함수에 사용될 감마 값 지정: + +`pnmgamma -gamma {{값}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 색 구성 요소별로 감마 전송 함수에 사용될 감마 값 지정: + +`pnmgamma -rgamma {{값}} -ggamma {{값}} -bgamma {{값}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmhisteq.md b/pages.ko/common/pnmhisteq.md new file mode 100644 index 00000000000000..cabbefd1bfefc6 --- /dev/null +++ b/pages.ko/common/pnmhisteq.md @@ -0,0 +1,16 @@ +# pnmhisteq + +> PNM 이미지의 히스토그램을 균등화. +> 더 많은 정보: . + +- 히스토그램 균등화를 사용하여 PNM 이미지의 대비 증가: + +`pnmhisteq {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 회색 픽셀만 수정: + +`pnmhisteq -grey {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 히스토그램 균등화에서 검정 또는 흰색 픽셀 제외: + +`pnmhisteq -no{{black|white}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmhistmap.md b/pages.ko/common/pnmhistmap.md new file mode 100644 index 00000000000000..41187c4a0c4765 --- /dev/null +++ b/pages.ko/common/pnmhistmap.md @@ -0,0 +1,16 @@ +# pnmhistmap + +> PNM 이미지의 히스토그램 그리기. +> 더 많은 정보: . + +- PNM 이미지의 히스토그램 그리기: + +`pnmhistmap {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 막대 대신 점으로 히스토그램 그리기: + +`pnmhistmap -dots {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 포함할 강도 값의 범위 지정: + +`pnmhistmap -lval {{최소값}} -rval {{최대값}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmindex.md b/pages.ko/common/pnmindex.md new file mode 100644 index 00000000000000..4a70dcb1124bc1 --- /dev/null +++ b/pages.ko/common/pnmindex.md @@ -0,0 +1,21 @@ +# pnmindex + +> 여러 PNM 이미지의 시각적 색인을 생성합니다. +> 같이 보기: `pamundice`. +> 더 많은 정보: . + +- 지정된 이미지를 그리드 형식으로 축소판 이미지로 포함하는 이미지를 생성: + +`pnmindex {{경로/대상/입력1.pnm 경로/대상/입력2.pnm ...}} > {{경로/대상/출력.pnm}}` + +- 축소판 이미지의 (정사각형) 크기 지정: + +`pnmindex -size {{50}} {{경로/대상/입력1.pnm 경로/대상/입력2.pnm ...}} > {{경로/대상/출력.pnm}}` + +- 한 행에 표시할 축소판 이미지의 개수 지정: + +`pnmindex -across {{10}} {{경로/대상/입력1.pnm 경로/대상/입력2.pnm ...}} > {{경로/대상/출력.pnm}}` + +- 출력 이미지의 최대 색상 수 지정: + +`pnmindex -colors {{512}} {{경로/대상/입력1.pnm 경로/대상/입력2.pnm ...}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnminterp.md b/pages.ko/common/pnminterp.md new file mode 100644 index 00000000000000..2876fe8ab668d9 --- /dev/null +++ b/pages.ko/common/pnminterp.md @@ -0,0 +1,8 @@ +# pnminterp + +> 이 명령은 `pamstretch`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamstretch` diff --git a/pages.ko/common/pnminvert.md b/pages.ko/common/pnminvert.md new file mode 100644 index 00000000000000..2e8422a188db72 --- /dev/null +++ b/pages.ko/common/pnminvert.md @@ -0,0 +1,8 @@ +# pnminvert + +> PNM 이미지를 반전. +> 더 많은 정보: . + +- PNM 이미지의 색상 또는 회색조 값을 반전: + +`pnminvert {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmmargin.md b/pages.ko/common/pnmmargin.md new file mode 100644 index 00000000000000..fcd731601ba528 --- /dev/null +++ b/pages.ko/common/pnmmargin.md @@ -0,0 +1,12 @@ +# pnmmargin + +> PNM 이미지에 테두리를 추가. +> 더 많은 정보: . + +- 지정된 크기의 테두리를 PNM 이미지에 추가: + +`pnmmargin {{크기}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 테두리 색상 지정: + +`pnmmargin -color {{색상}} {{크기}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmmontage.md b/pages.ko/common/pnmmontage.md new file mode 100644 index 00000000000000..3821a8f1bac898 --- /dev/null +++ b/pages.ko/common/pnmmontage.md @@ -0,0 +1,20 @@ +# pnmmontage + +> 여러 PNM 이미지를 합쳐 몽타주 생성. +> 더 많은 정보: . + +- 지정된 이미지들을 모아서 패킹: + +`pnmmontage {{경로/대상/이미지1.pnm 경로/대상/이미지2.pnm ...}} > {{경로/대상/출력.pnm}}` + +- 패킹의 품질 지정 (참고: 값이 클수록 작은 패킹이 생성되지만 계산 시간이 길어짐): + +`pnmmontage -{{0..9}} {{경로/대상/이미지1.pnm 경로/대상/이미지2.pnm ...}} > {{경로/대상/출력.pnm}}` + +- 최적 패킹의 `p` 퍼센트보다 크지 않은 패킹 생성: + +`pnmmontage -quality {{p}} {{경로/대상/이미지1.pnm 경로/대상/이미지2.pnm ...}} > {{경로/대상/출력.pnm}}` + +- 입력 파일들의 위치를 기계가 읽을 수 있는 파일에 작성: + +`pnmmontage -data {{경로/대상/데이터파일}} {{경로/대상/이미지1.pnm 경로/대상/이미지2.pnm ...}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmnlfilt.md b/pages.ko/common/pnmnlfilt.md new file mode 100644 index 00000000000000..b1c9fcbede6739 --- /dev/null +++ b/pages.ko/common/pnmnlfilt.md @@ -0,0 +1,16 @@ +# pnmnlfilt + +> PNM 이미지에 비선형 필터 적용. +> 더 많은 정보: . + +- 지정된 알파와 반경 값으로 "알파 트림 평균" 필터를 PNM 이미지에 적용: + +`pnmnlfilt {{0.0..0.5}} {{반경}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 지정된 노이즈 임계값과 반경으로 "최적 추정 스무딩" 필터를 PNM 이미지에 적용: + +`pnmnlfilt {{1.0..2.0}} {{반경}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 지정된 알파와 반경으로 "엣지 향상" 필터를 PNM 이미지에 적용: + +`pnmnlfilt {{-0.9..(-0.1)}} {{반경}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmnorm.md b/pages.ko/common/pnmnorm.md new file mode 100644 index 00000000000000..b39e0c83e2ac4e --- /dev/null +++ b/pages.ko/common/pnmnorm.md @@ -0,0 +1,21 @@ +# pnmnorm + +> PNM 이미지의 대비를 정규화합니다. +> 같이 보기: `pnmhisteq`. +> 더 많은 정보: . + +- 가장 밝은 픽셀을 흰색으로, 가장 어두운 픽셀을 검은색으로 설정하고 그 사이의 픽셀을 선형적으로 분포시키기: + +`pnmnorm {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 가장 밝은 픽셀을 흰색으로, 가장 어두운 픽셀을 검은색으로 설정하고 그 사이의 픽셀을 n의 밝기로 50% 밝게 되도록 이차적으로 분포시키기: + +`pnmnorm -midvalue {{n}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 픽셀의 색조는 유지하고 밝기만 수정하기: + +`pnmnorm -keephues {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 픽셀의 밝기를 계산하는 방법 지정하기: + +`pnmnorm -{{luminosity|colorvalue|saturation}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmpad.md b/pages.ko/common/pnmpad.md new file mode 100644 index 00000000000000..d31f24c389eaf6 --- /dev/null +++ b/pages.ko/common/pnmpad.md @@ -0,0 +1,21 @@ +# pnmpad + +> PNM 이미지에 테두리를 추가. +> 같이 보기: `pnmmargin`, `pamcut`, `pamcomp`. +> 더 많은 정보: . + +- 이미지에 지정된 크기의 테두리 추가: + +`pnmpad -left {{100}} -right {{150}} -top {{123}} -bottom {{456}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 이미지를 지정된 크기로 패딩: + +`pnmpad -width {{1000}} -height {{500}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 이미지의 너비를 지정된 크기로 패딩하고, 좌우 패딩 비율 조정: + +`pnmpad -width {{1000}} -halign {{0.7}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 지정된 색상을 사용하여 이미지의 너비를 패딩: + +`pnmpad -width {{1000}} -color {{red}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmpaste.md b/pages.ko/common/pnmpaste.md new file mode 100644 index 00000000000000..5cfaa48f37024f --- /dev/null +++ b/pages.ko/common/pnmpaste.md @@ -0,0 +1,16 @@ +# pnmpaste + +> PNM 이미지를 다른 PNM 이미지에 붙여 넣기. +> 더 많은 정보: . + +- 지정된 좌표에 PNM 이미지를 다른 PNM 이미지에 붙여 넣기: + +`pnmpaste {{x}} {{y}} {{경로/대상/이미지1.pnm}} {{경로/대상/이미지2.pnm}} > {{경로/대상/출력.pnm}}` + +- `stdin`에서 읽은 이미지를 지정된 이미지에 붙여 넣기: + +`{{명령어}} | pnmpaste {{x}} {{y}} {{경로/대상/이미지.pnm}} > {{경로/대상/출력.pnm}}` + +- 겹치는 픽셀을 지정된 불리언 연산으로 결합하기, 이때 흰색 픽셀은 `true`, 검은색 픽셀은 `false`로 표현: + +`pnmpaste -{{and|nand|or|nor|xor|xnor}} {{x}} {{y}} {{경로/대상/이미지1.pnm}} {{경로/대상/이미지2.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmpsnr.md b/pages.ko/common/pnmpsnr.md new file mode 100644 index 00000000000000..9e534a535e8b26 --- /dev/null +++ b/pages.ko/common/pnmpsnr.md @@ -0,0 +1,28 @@ +# pnmpsnr + +> 두 이미지 간의 차이를 계산합니다. +> 더 많은 정보: . + +- 두 이미지 간의 차이, 즉 피크 신호 대 잡음비(PSNR) 계산: + +`pnmpsnr {{경로/대상/파일1.pnm}} {{경로/대상/파일2.pnm}}` + +- 이미지의 휘도 및 색도 성분 대신 색상 성분을 비교: + +`pnmpsnr {{경로/대상/파일1.pnm}} {{경로/대상/파일2.pnm}} -rgb` + +- 비교 모드로 실행하여, 계산된 PSNR이 `n`을 초과하는지에 따라 `nomatch` 또는 `match`만 출력: + +`pnmpsnr {{경로/대상/파일1.pnm}} {{경로/대상/파일2.pnm}} -target {{n}}` + +- 비교 모드로 실행하고 개별 이미지 성분, 즉 Y, Cb 및 Cr을 해당 임계값과 비교: + +`pnmpsnr {{경로/대상/파일1.pnm}} {{경로/대상/파일2.pnm}} -target1 {{임계값_Y}} -target2 {{임계값_Cb}} -target3 {{임계값_Cr}}` + +- 비교 모드로 실행하고 개별 이미지 성분, 즉 빨강, 초록, 파랑을 해당 임계값과 비교: + +`pnmpsnr {{경로/대상/파일1.pnm}} {{경로/대상/파일2.pnm}} -rgb -target1 {{임계값_빨강}} -target2 {{임계값_초록}} -target3 {{임계값_파랑}}` + +- 기계가 읽을 수 있는 출력 생성: + +`pnmpsnr {{경로/대상/파일1.pnm}} {{경로/대상/파일2.pnm}} -machine` diff --git a/pages.ko/common/pnmquant.md b/pages.ko/common/pnmquant.md new file mode 100644 index 00000000000000..1f06fc2689ae01 --- /dev/null +++ b/pages.ko/common/pnmquant.md @@ -0,0 +1,10 @@ +# pnmquant + +> PNM 이미지의 색상을 더 작은 세트로 양자화. +> 이 명령은 `pnmcolormap`과 `pnmremap`의 조합이며 `-mapfile`을 제외한 두 명령의 옵션을 모두 허용합니다. +> 같이 보기: `pnmquantall`. +> 더 많은 정보: . + +- 입력 이미지에 최대한 가깝게 `n_colors` 개 이하의 색상만 사용하여 이미지를 생성: + +`pnmquant {{n_colors}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmquantall.md b/pages.ko/common/pnmquantall.md new file mode 100644 index 00000000000000..d65662055dc166 --- /dev/null +++ b/pages.ko/common/pnmquantall.md @@ -0,0 +1,13 @@ +# pnmquantall + +> 여러 파일에 대해 공통 색상표를 사용하여 `pnmquant`를 실행. +> 같이 보기: `pnmquant`. +> 더 많은 정보: . + +- 지정된 매개 변수로 여러 파일에 `pnmquant`를 실행하여 원본 파일에 덮어쓰기: + +`pnmquantall {{색상_수}} {{경로/대상/input1.pnm 경로/대상/input2.pnm ...}}` + +- 양자화된 이미지를 입력 파일과 동일한 이름으로 저장하되, 지정된 확장을 추가하여 저장: + +`pnmquantall -ext {{확장자}} {{색상_수}} {{경로/대상/input1.pnm 경로/대상/input2.pnm ...}}` diff --git a/pages.ko/common/pnmremap.md b/pages.ko/common/pnmremap.md new file mode 100644 index 00000000000000..11837e50c23369 --- /dev/null +++ b/pages.ko/common/pnmremap.md @@ -0,0 +1,20 @@ +# pnmremap + +> PNM 이미지의 색상을 교체. +> 더 많은 정보: . + +- 이미지의 색상을 지정된 색상 팔레트로 교체: + +`pnmremap -mapfile {{경로/대상/팔레트_파일.ppm}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 팔레트에 없는 색상을 표현하기 위해 Floyd-Steinberg 디더링 사용: + +`pnmremap -mapfile {{경로/대상/팔레트_파일.ppm}} -floyd {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 팔레트의 첫 번째 색상을 사용하여 팔레트에 없는 색상을 표현: + +`pnmremap -mapfile {{경로/대상/팔레트_파일.ppm}} -firstisdefault {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 지정된 색상을 사용하여 팔레트에 없는 색상을 표현: + +`pnmremap -mapfile {{경로/대상/팔레트_파일.ppm}} -missingcolor {{색상}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmrotate.md b/pages.ko/common/pnmrotate.md new file mode 100644 index 00000000000000..2ff569037167ee --- /dev/null +++ b/pages.ko/common/pnmrotate.md @@ -0,0 +1,16 @@ +# pnmrotate + +> PNM 이미지를 회전. +> 더 많은 정보: . + +- PNM 이미지를 특정 각도(도 단위, 반시계 방향)로 회전: + +`pnmrotate {{각도}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 입력 이미지를 회전할 때 노출되는 배경색 지정: + +`pnmrotate -background {{색상}} {{각도}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 성능을 향상시키지만 품질이 감소하는 안티앨리어싱 비활성화: + +`pnmrotate -noantialias {{각도}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmscale.md b/pages.ko/common/pnmscale.md new file mode 100644 index 00000000000000..d84df0c3272007 --- /dev/null +++ b/pages.ko/common/pnmscale.md @@ -0,0 +1,8 @@ +# pnmscale + +> 이 명령은 `pamscale`로 대체되었습니다. +> 더 많은 정보: . + +- `pamscale`에 대한 문서 보기: + +`tldr pamscale` diff --git a/pages.ko/common/pnmscalefixed.md b/pages.ko/common/pnmscalefixed.md new file mode 100644 index 00000000000000..95f624a0fa9f85 --- /dev/null +++ b/pages.ko/common/pnmscalefixed.md @@ -0,0 +1,17 @@ +# pnmscalefixed + +> PNM 파일을 빠르게 확장하되 품질이 다소 저하될 수 있습니다. +> 같이 보기: `pamscale`. +> 더 많은 정보: . + +- 결과가 지정된 크기를 갖도록 이미지를 확장: + +`pnmscalefixed -width {{너비}} -height {{높이}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 결과가 지정된 너비를 갖도록 이미지를 확장하며, 가로세로 비율 유지: + +`pnmscalefixed -width {{너비}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 이미지의 너비와 높이를 지정된 비율로 변경하여 확장: + +`pnmscalefixed -xscale {{x_비율}} -yscale {{y_비율}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmshear.md b/pages.ko/common/pnmshear.md new file mode 100644 index 00000000000000..eca05d1a21fd57 --- /dev/null +++ b/pages.ko/common/pnmshear.md @@ -0,0 +1,16 @@ +# pnmshear + +> PNM 이미지를 전단(기울이기)합니다. +> 더 많은 정보: . + +- 지정된 각도로 PNM 이미지 전단: + +`pnmshear {{각도}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 전단된 이미지의 배경색 지정: + +`pnmshear -background {{파랑}} {{각도}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 안티앨리어싱 없이 수행: + +`pnmshear -noantialias {{각도}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmsmooth.md b/pages.ko/common/pnmsmooth.md new file mode 100644 index 00000000000000..54e742f0618f13 --- /dev/null +++ b/pages.ko/common/pnmsmooth.md @@ -0,0 +1,12 @@ +# pnmsmooth + +> PNM 이미지를 부드럽게 처리. +> 더 많은 정보: . + +- 3x3 크기의 컨볼루션 행렬을 사용하여 PNM 이미지 부드럽게 처리: + +`pnmsmooth {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` + +- 가로 너비 x 세로 높이 크기의 컨볼루션 행렬을 사용하여 PNM 이미지 부드럽게 처리: + +`pnmsmooth -width {{너비}} -height {{높이}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmsplit.md b/pages.ko/common/pnmsplit.md new file mode 100644 index 00000000000000..56ff8929b5930e --- /dev/null +++ b/pages.ko/common/pnmsplit.md @@ -0,0 +1,8 @@ +# pnmsplit + +> 이 명령은 `pamsplit`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamsplit` diff --git a/pages.ko/common/pnmtile.md b/pages.ko/common/pnmtile.md new file mode 100644 index 00000000000000..c9f4a25b2f79b7 --- /dev/null +++ b/pages.ko/common/pnmtile.md @@ -0,0 +1,8 @@ +# pnmtile + +> 이미지를 복제하여 지정된 영역을 채웁니다. +> 더 많은 정보: . + +- 지정된 크기의 영역을 채우도록 이미지를 복제: + +`pnmtile {{너비}} {{높이}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/pnmtoddif.md b/pages.ko/common/pnmtoddif.md new file mode 100644 index 00000000000000..78a3018eae8046 --- /dev/null +++ b/pages.ko/common/pnmtoddif.md @@ -0,0 +1,12 @@ +# pnmtoddif + +> PNM 이미지를 DDIF 이미지 파일로 변환. +> 더 많은 정보: . + +- PNM 이미지를 DDIF 이미지 파일로 변환: + +`pnmtoddif {{경로/대상/이미지.pnm}} > {{경로/대상/이미지.ddif}}` + +- 출력 이미지의 가로 및 세로 해상도를 명시적으로 지정: + +`pnmtoddif -resolution {{수평_dpi}} {{수직_dpi}} {{경로/대상/이미지.pnm}} > {{경로/대상/이미지.ddif}}` diff --git a/pages.ko/common/pnmtofiasco.md b/pages.ko/common/pnmtofiasco.md new file mode 100644 index 00000000000000..d018128de38e32 --- /dev/null +++ b/pages.ko/common/pnmtofiasco.md @@ -0,0 +1,20 @@ +# pnmtofiasco + +> PNM 이미지를 압축된 FIASCO 파일로 변환. +> 더 많은 정보: . + +- PNM 이미지를 압축된 FIASCO 파일로 변환: + +`pnmtofiasco {{경로/대상/파일.pnm}} > {{경로/대상/파일.fiasco}}` + +- 패턴을 통해 [i]nput 파일 지정: + +`pnmtofiasco --image-name "{{img[01-09+1].pnm}}" > {{경로/대상/파일.fiasco}}` + +- 압축 품질 지정: + +`pnmtofiasco --quality {{품질_수준}} {{경로/대상/파일.pnm}} > {{경로/대상/파일.fiasco}}` + +- 지정된 구성 파일에서 사용할 옵션 로드: + +`pnmtofiasco --config {{경로/대상/fiascorc}} {{경로/대상/파일.pnm}} > {{경로/대상/파일.fiasco}}` diff --git a/pages.ko/common/pnmtofits.md b/pages.ko/common/pnmtofits.md new file mode 100644 index 00000000000000..69009ac08dd9b7 --- /dev/null +++ b/pages.ko/common/pnmtofits.md @@ -0,0 +1,8 @@ +# pnmtofits + +> 이 명령은 `pamtofits`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamtofits` diff --git a/pages.ko/common/pnmtojpeg.md b/pages.ko/common/pnmtojpeg.md new file mode 100644 index 00000000000000..6f558d54494839 --- /dev/null +++ b/pages.ko/common/pnmtojpeg.md @@ -0,0 +1,12 @@ +# pnmtojpeg + +> PNM 이미지 파일을 JPEG/JFIF/EXIF 이미지 형식으로 변환. +> 더 많은 정보: . + +- PNM 이미지를 입력으로 읽고 JPEG/JFIF/EXIF 이미지로 출력: + +`pnmtojpeg {{경로/대상/파일.pnm}} > {{경로/대상/파일.jpg}}` + +- 버전 표시: + +`pnmtojpeg -version` diff --git a/pages.ko/common/pnmtopalm.md b/pages.ko/common/pnmtopalm.md new file mode 100644 index 00000000000000..330b339d498bb4 --- /dev/null +++ b/pages.ko/common/pnmtopalm.md @@ -0,0 +1,24 @@ +# pnmtopalm + +> PNM 이미지를 Palm 비트맵으로 변환. +> 더 많은 정보: . + +- PNM 이미지를 Palm 비트맵으로 변환: + +`pnmtopalm {{경로/대상/파일.pnm}} > {{경로/대상/파일.palm}}` + +- 결과 비트맵의 색상 깊이 지정: + +`pnmtopalm -depth {{1|2|4|8|16}} {{경로/대상/파일.pnm}} > {{경로/대상/파일.palm}}` + +- 결과 비트맵에 대한 압축 방법 선택: + +`pnmtopalm -{{scanline_compression|rle_compression|packbits_compression}} {{경로/대상/파일.pnm}} > {{경로/대상/파일.palm}}` + +- 사용자 지정 색상 맵을 생성하고 결과 비트맵에 포함: + +`pnmtopalm -colormap {{경로/대상/파일.pnm}} > {{경로/대상/파일.palm}}` + +- 비트맵의 밀도 지정: + +`pnmtopalm -density {{72|108|144|216|288}} {{경로/대상/파일.pnm}} > {{경로/대상/파일.palm}}` diff --git a/pages.ko/common/pnmtopclxl.md b/pages.ko/common/pnmtopclxl.md new file mode 100644 index 00000000000000..ab89f6760f8b5a --- /dev/null +++ b/pages.ko/common/pnmtopclxl.md @@ -0,0 +1,16 @@ +# pnmtopclxl + +> PNM 파일을 HP LaserJet PCL XL 프린터 스트림으로 변환. +> 더 많은 정보: . + +- PNM 파일을 HP LaserJet PCL XL 프린터 스트림으로 변환: + +`pnmtopclxl {{경로/대상/입력1.pnm 경로/대상/입력2.pnm ...}} > {{경로/대상/출력.pclxl}}` + +- 이미지의 해상도와 각 이미지의 왼쪽 위 모서리에서 페이지의 위치를 지정: + +`pnmtopclxl -dpi {{해상도}} -xoffs {{x_오프셋}} -yoffs {{y_오프셋}} {{경로/대상/입력1.pnm 경로/대상/입력2.pnm ...}} > {{경로/대상/출력.pclxl}}` + +- 지정된 용지 형식에 대해 양면 프린터 스트림 생성: + +`pnmtopclxl -duplex {{세로|가로}} -format {{letter|legal|a3|a4|a5|...}} {{경로/대상/입력1.pnm 경로/대상/입력2.pnm ...}} > {{경로/대상/출력.pclxl}}` diff --git a/pages.ko/common/pnmtoplainpnm.md b/pages.ko/common/pnmtoplainpnm.md new file mode 100644 index 00000000000000..9d37f5ffd8cf1a --- /dev/null +++ b/pages.ko/common/pnmtoplainpnm.md @@ -0,0 +1,7 @@ +# pnmtoplainpnm + +> 이 명령은 `pamtopnm -plain`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr pamtopnm` diff --git a/pages.ko/common/pnmtopng.md b/pages.ko/common/pnmtopng.md new file mode 100644 index 00000000000000..a38601e5f29f56 --- /dev/null +++ b/pages.ko/common/pnmtopng.md @@ -0,0 +1,12 @@ +# pnmtopng + +> PNM 이미지 파일을 PNG 이미지 형식으로 변환. +> 더 많은 정보: . + +- PNM 이미지를 입력으로 받아 PNG 이미지로 출력: + +`pnmtopng {{경로/대상/파일.pnm}} > {{경로/대상/파일.png}}` + +- 버전 표시: + +`pnmtopng -version` diff --git a/pages.ko/common/pnmtopnm.md b/pages.ko/common/pnmtopnm.md new file mode 100644 index 00000000000000..0f283edac0ffff --- /dev/null +++ b/pages.ko/common/pnmtopnm.md @@ -0,0 +1,7 @@ +# pnmtopnm + +> 이 명령은 `pamtopnm`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr pamtopnm` diff --git a/pages.ko/common/pnmtops.md b/pages.ko/common/pnmtops.md new file mode 100644 index 00000000000000..6344d1e29ddc89 --- /dev/null +++ b/pages.ko/common/pnmtops.md @@ -0,0 +1,16 @@ +# pnmtops + +> PNM 이미지를 PostScript 파일로 변환. +> 더 많은 정보: . + +- PNM 이미지를 PS 파일로 변환: + +`pnmtops {{경로/대상/파일.pnm}} > {{경로/대상/파일.ps}}` + +- 출력 이미지의 크기를 인치 단위로 지정: + +`pnmtops -imagewidth {{이미지_너비}} -imageheight {{이미지_높이}} {{경로/대상/파일.pnm}} > {{경로/대상/파일.ps}}` + +- 출력 이미지가 위치할 페이지의 크기를 인치 단위로 지정: + +`pnmtops -width {{페이지_너비}} -height {{페이지_높이}} {{경로/대상/파일.pnm}} > {{경로/대상/파일.ps}}` diff --git a/pages.ko/common/pnmtorast.md b/pages.ko/common/pnmtorast.md new file mode 100644 index 00000000000000..ba5598741aebbb --- /dev/null +++ b/pages.ko/common/pnmtorast.md @@ -0,0 +1,12 @@ +# pnmtorast + +> PNM 파일을 Sun 래스터 파일로 변환. +> 더 많은 정보: . + +- PNM 이미지를 RAST 이미지로 변환: + +`pnmtorast {{경로/대상/입력.pnm}} > {{경로/대상/출력.rast}}` + +- 출력 형식을 `RT_STANDARD` 또는 `RT_BYTE_ENCODED` 형식으로 강제 지정: + +`pnmtorast -{{standard|rle}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.rast}}` diff --git a/pages.ko/common/pnmtorle.md b/pages.ko/common/pnmtorle.md new file mode 100644 index 00000000000000..6cd13d046210d0 --- /dev/null +++ b/pages.ko/common/pnmtorle.md @@ -0,0 +1,16 @@ +# pnmtorle + +> PNM 파일을 Utah Raster Tools RLE 이미지 파일로 변환. +> 더 많은 정보: . + +- PNM 이미지를 RLE 이미지로 변환: + +`pnmtorle {{경로/대상/입력.pnm}} > {{경로/대상/출력.rle}}` + +- PNM 헤더 정보를 `stdout`에 출력: + +`pnmtorle -verbose {{경로/대상/입력.pnm}} > {{경로/대상/출력.rle}}` + +- 출력 이미지에 투명 채널 포함, 모든 검은색 픽셀은 완전히 투명하게, 다른 모든 픽셀은 완전히 불투명하게 설정: + +`pnmtorle -alpha {{경로/대상/입력.pnm}} > {{경로/대상/출력.rle}}` diff --git a/pages.ko/common/pnmtosgi.md b/pages.ko/common/pnmtosgi.md new file mode 100644 index 00000000000000..276b7ac46f624b --- /dev/null +++ b/pages.ko/common/pnmtosgi.md @@ -0,0 +1,16 @@ +# pnmtosgi + +> PNM 파일을 SGI 이미지 파일로 변환. +> 더 많은 정보: . + +- PNM 이미지를 SGI 이미지로 변환: + +`pnmtosgi {{경로/대상/입력.pnm}} > {{경로/대상/출력.sgi}}` + +- 압축을 비활성화하거나 활성화: + +`pnmtosgi -{{verbatim|rle}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.sgi}}` + +- SGI 이미지 헤더의 `imagename` 필드에 지정된 문자열을 기록: + +`pnmtosgi -imagename {{문자열}} {{경로/대상/입력.pnm}} > {{경로/대상/출력.sgi}}` diff --git a/pages.ko/common/pnmtosir.md b/pages.ko/common/pnmtosir.md new file mode 100644 index 00000000000000..9726ec02509267 --- /dev/null +++ b/pages.ko/common/pnmtosir.md @@ -0,0 +1,8 @@ +# pnmtosir + +> PNM 파일을 Solitaire Image Recorder 파일로 변환. +> 더 많은 정보: . + +- PNM 이미지를 SIR 이미지로 변환: + +`pnmtosir {{경로/대상/입력.pnm}} > {{경로/대상/출력.sir}}` diff --git a/pages.ko/common/pnmtotiff.md b/pages.ko/common/pnmtotiff.md new file mode 100644 index 00000000000000..8aa4934c153415 --- /dev/null +++ b/pages.ko/common/pnmtotiff.md @@ -0,0 +1,8 @@ +# pnmtotiff + +> 이 명령은 `pamtotiff`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamtotiff` diff --git a/pages.ko/common/pnmtotiffcmyk.md b/pages.ko/common/pnmtotiffcmyk.md new file mode 100644 index 00000000000000..b87a2e7c311f2e --- /dev/null +++ b/pages.ko/common/pnmtotiffcmyk.md @@ -0,0 +1,16 @@ +# pnmtotiffcmyk + +> PNM 이미지를 CMYK로 인코딩된 TIFF로 변환. +> 더 많은 정보: . + +- PNM 이미지를 CMYK로 인코딩된 TIFF로 변환: + +`pnmtotiffcmyk {{경로/대상/입력_파일.pnm}} > {{경로/대상/출력_파일.tiff}}` + +- TIFF 압축 방식 지정: + +`pnmtotiffcmyk -{{none|packbits|lzw}} {{경로/대상/입력_파일.pnm}} > {{경로/대상/출력_파일.tiff}}` + +- 채우기 순서 제어: + +`pnmtotiffcmyk -{{msb2lsb|lsb2msb}} {{경로/대상/입력_파일.pnm}} > {{경로/대상/출력_파일.tiff}}` diff --git a/pages.ko/common/pnmtoxwd.md b/pages.ko/common/pnmtoxwd.md new file mode 100644 index 00000000000000..60471ec832f092 --- /dev/null +++ b/pages.ko/common/pnmtoxwd.md @@ -0,0 +1,16 @@ +# pnmtoxwd + +> PNM 파일을 X11 윈도우 덤프 파일로 변환. +> 더 많은 정보: . + +- PNM 이미지 파일을 XWD로 변환: + +`pnmtoxwd {{경로/대상/입력_파일.pnm}} > {{경로/대상/출력_파일.xwd}}` + +- DirectColor 형식으로 출력 생성: + +`pnmtoxwd -directcolor {{경로/대상/입력_파일.pnm}} > {{경로/대상/출력_파일.xwd}}` + +- 출력의 색상 깊이를 b 비트로 설정: + +`pnmtoxwd -pseudodepth {{b}} {{경로/대상/입력_파일.pnm}} > {{경로/대상/출력_파일.xwd}}` diff --git a/pages.ko/common/pnpm-audit.md b/pages.ko/common/pnpm-audit.md new file mode 100644 index 00000000000000..66d8bf04f19b5b --- /dev/null +++ b/pages.ko/common/pnpm-audit.md @@ -0,0 +1,37 @@ +# pnpm audit + +> 프로젝트 의존성을 스캔합니다. +> 설치된 패키지에서 알려진 보안 문제를 확인합니다. +> 더 많은 정보: . + +- 프로젝트의 취약점 식별: + +`pnpm audit` + +- 취약점 자동 수정: + +`pnpm audit fix` + +- JSON 형식의 보안 보고서 생성: + +`pnpm audit --json > {{경로/대상/audit-report.json}}` + +- [D]ev 의존성만 감사: + +`pnpm audit --dev` + +- [P]roduction 의존성만 감사: + +`pnpm audit --prod` + +- 선택적 의존성을 감사에서 제외: + +`pnpm audit --no-optional` + +- 감사 과정에서 레지스트리 오류 무시: + +`pnpm audit --ignore-registry-errors` + +- 심각도별로 자문 필터링 (low, moderate, high, critical): + +`pnpm audit --audit-level {{심각도}}` diff --git a/pages.ko/common/pnpm-outdated.md b/pages.ko/common/pnpm-outdated.md new file mode 100644 index 00000000000000..f88b407e85c7f8 --- /dev/null +++ b/pages.ko/common/pnpm-outdated.md @@ -0,0 +1,37 @@ +# pnpm outdated + +> 오래된 패키지 확인. +> 인수를 제공하여 설치된 패키지의 일부 집합으로 확인을 제한할 수 있습니다 (패턴 지원). +> 더 많은 정보: . + +- 오래된 패키지 확인: + +`pnpm outdated` + +- 모든 워크스페이스 패키지에서 발견된 오래된 의존성 확인: + +`pnpm outdated -r` + +- 패키지 선택기를 사용하여 오래된 패키지 필터링: + +`pnpm outdated --filter {{패키지_선택기}}` + +- 오래된 패키지를 [g]lobal로 나열: + +`pnpm outdated --global` + +- 오래된 패키지의 세부정보 출력: + +`pnpm outdated --long` + +- 특정 형식으로 오래된 의존성 출력: + +`pnpm outdated --format {{형식}}` + +- `package.json`의 사양을 충족하는 버전만 출력: + +`pnpm outdated --compatible` + +- 오래된 [D]ev 의존성만 확인: + +`pnpm outdated --dev` diff --git a/pages.ko/common/pnpm.md b/pages.ko/common/pnpm.md new file mode 100644 index 00000000000000..d9533b73ece872 --- /dev/null +++ b/pages.ko/common/pnpm.md @@ -0,0 +1,37 @@ +# pnpm + +> 빠르고, 디스크 공간 효율적인 Node.js용 패키지 관리자. +> Node.js 프로젝트 및 해당 모듈 의존성 관리. +> 더 많은 정보: . + +- `package.json` 파일 생성: + +`pnpm init` + +- `package.json`에 의존성으로 나열된 모든 패키지를 다운로드: + +`pnpm install` + +- 특정 버전의 패키지를 다운로드하여 `package.json`의 의존성 목록에 추가: + +`pnpm add {{모듈_이름}}@{{버전}}` + +- 패키지를 다운로드하고 `package.json`의 개발([D]ev) 의존성 목록에 추가: + +`pnpm add {{[-D|--save-dev]}} {{모듈_이름}}` + +- 패키지를 다운로드하고 전역적으로([g]lobally) 설치: + +`pnpm add {{[-g|--global]}} {{모듈_이름}}` + +- 패키지를 제거하고 `package.json`의 종속성 목록에서 제거: + +`pnpm remove {{모듈_이름}}` + +- 로컬에 설치된 모듈의 트리 출력: + +`pnpm list` + +- 최상위 전역적으로([g]lobally) 설치된 모듈 나열: + +`pnpm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.ko/common/pnpx.md b/pages.ko/common/pnpx.md new file mode 100644 index 00000000000000..b11d0101fb3245 --- /dev/null +++ b/pages.ko/common/pnpx.md @@ -0,0 +1,17 @@ +# pnpx + +> npm 패키지의 바이너리를 `npm` 대신 `pnpm`을 사용하여 직접 실행. +> 참고: 이 명령은 사용이 중단되었습니다! 대신 `pnpm exec` 및 `pnpm dlx`를 사용하세요. +> 더 많은 정보: . + +- 주어진 `npm` 모듈에서 바이너리 실행: + +`pnpx {{모듈_이름}}` + +- 주어진 `npm` 모듈이 여러 바이너리를 포함하는 경우 특정 바이너리 실행: + +`pnpx --package {{패키지_이름}} {{모듈_이름}}` + +- 도움말 표시: + +`pnpx --help` diff --git a/pages.ko/common/podman-build.md b/pages.ko/common/podman-build.md new file mode 100644 index 00000000000000..ec46f5353d4b1f --- /dev/null +++ b/pages.ko/common/podman-build.md @@ -0,0 +1,25 @@ +# podman build + +> 컨테이너 이미지를 빌드하기 위한 데몬리스 도구. +> Podman은 Docker-CLI와 유사한 명령줄을 제공합니다. 간단히 말해: `alias docker=podman`. +> 더 많은 정보: . + +- 지정된 디렉토리의 `Dockerfile` 또는 `Containerfile`을 사용하여 이미지 생성: + +`podman build {{경로/대상/폴더}}` + +- 지정된 태그로 이미지 생성: + +`podman build --tag {{이미지_이름:버전}} {{경로/대상/폴더}}` + +- 비표준 파일에서 이미지 생성: + +`podman build --file {{Containerfile.different}} .` + +- 이전에 캐시된 이미지를 사용하지 않고 이미지 생성: + +`podman build --no-cache {{경로/대상/폴더}}` + +- 모든 출력을 억제하여 이미지 생성: + +`podman build --quiet {{경로/대상/폴더}}` diff --git a/pages.ko/common/podman-compose.md b/pages.ko/common/podman-compose.md new file mode 100644 index 00000000000000..d83bbc7a590a82 --- /dev/null +++ b/pages.ko/common/podman-compose.md @@ -0,0 +1,36 @@ +# podman-compose + +> Compose Specification 컨테이너 정의를 실행하고 관리. +> 더 많은 정보: . + +- 실행 중인 모든 컨테이너 나열: + +`podman-compose ps` + +- 로컬 `docker-compose.yml`을 사용하여 백그라운드에서 모든 컨테이너 생성 및 시작: + +`podman-compose up -d` + +- 필요한 경우 빌드하여 모든 컨테이너 시작: + +`podman-compose up --build` + +- 다른 컴포즈 파일을 사용하여 모든 컨테이너 시작: + +`podman-compose {{[-f|--file]}} {{경로/대상/파일.yaml}} up` + +- 실행 중인 모든 컨테이너 중지: + +`podman-compose stop` + +- 모든 컨테이너, 네트워크 및 볼륨 제거: + +`podman-compose down --volumes` + +- 컨테이너의 로그를 실시간으로 팔로우 (모든 컨테이너 이름 생략): + +`podman-compose logs --follow {{컨테이너_이름}}` + +- 포트 매핑 없이 서비스에서 일회성 명령 실행: + +`podman-compose run {{서비스_이름}} {{명령}}` diff --git a/pages.ko/common/podman-image.md b/pages.ko/common/podman-image.md new file mode 100644 index 00000000000000..aef0da2d3c795a --- /dev/null +++ b/pages.ko/common/podman-image.md @@ -0,0 +1,21 @@ +# podman image + +> Docker 이미지 관리. +> 같이 보기: `podman build`, `podman import`, `podman pull`. +> 더 많은 정보: . + +- 로컬 Docker 이미지 나열: + +`podman image ls` + +- 사용되지 않는 로컬 Docker 이미지 삭제: + +`podman image prune` + +- 모든 사용되지 않는 이미지 삭제 (태그가 없는 이미지뿐만 아니라): + +`podman image prune --all` + +- 로컬 Docker 이미지의 히스토리 표시: + +`podman image history {{이미지}}` diff --git a/pages.ko/common/podman-images.md b/pages.ko/common/podman-images.md new file mode 100644 index 00000000000000..63f762dd509082 --- /dev/null +++ b/pages.ko/common/podman-images.md @@ -0,0 +1,24 @@ +# podman images + +> Podman 이미지 관리. +> 더 많은 정보: . + +- 모든 Podman 이미지 나열: + +`podman images` + +- 중간 이미지를 포함한 모든 Podman 이미지 나열: + +`podman images --all` + +- 조용한 모드로 출력 나열 (숫자 ID만 표시): + +`podman images --quiet` + +- 어떤 컨테이너에서도 사용되지 않는 모든 Podman 이미지 나열: + +`podman images --filter dangling=true` + +- 이름에 특정 부분 문자열이 포함된 이미지 나열: + +`podman images "{{*이미지|이미지*}}"` diff --git a/pages.ko/common/podman-machine.md b/pages.ko/common/podman-machine.md new file mode 100644 index 00000000000000..1f477d2ff585b1 --- /dev/null +++ b/pages.ko/common/podman-machine.md @@ -0,0 +1,33 @@ +# podman machine + +> Podman을 실행하는 가상 머신을 생성하고 관리. +> Podman 버전 4 이상에 포함되어 있습니다. +> 더 많은 정보: . + +- 기존 머신 나열: + +`podman machine ls` + +- 기본 머신 생성: + +`podman machine init` + +- 특정 이름의 새 머신 생성: + +`podman machine init {{이름}}` + +- 다른 리소스로 새 머신 생성: + +`podman machine init --cpus={{4}} --memory={{4096}} --disk-size={{50}}` + +- 머신 시작 또는 중지: + +`podman machine {{start|stop}} {{이름}}` + +- SSH를 통해 실행 중인 머신에 연결: + +`podman machine ssh {{이름}}` + +- 머신 정보 검사: + +`podman machine inspect {{이름}}` diff --git a/pages.ko/common/podman-ps.md b/pages.ko/common/podman-ps.md new file mode 100644 index 00000000000000..d553f4295b25a0 --- /dev/null +++ b/pages.ko/common/podman-ps.md @@ -0,0 +1,36 @@ +# podman ps + +> Podman 컨테이너 목록을 나열합니다. +> 더 많은 정보: . + +- 현재 실행 중인 Podman 컨테이너 나열: + +`podman ps` + +- 모든 Podman 컨테이너 나열 (실행 중 및 중지된 컨테이너 포함): + +`podman ps --all` + +- 가장 최근에 생성된 컨테이너 표시 (모든 상태 포함): + +`podman ps --latest` + +- 이름에 특정 문자열이 포함된 컨테이너 필터링: + +`podman ps --filter "name={{이름}}"` + +- 주어진 이미지를 조상으로 공유하는 컨테이너 필터링: + +`podman ps --filter "ancestor={{이미지}}:{{태그}}"` + +- 종료 상태 코드로 컨테이너 필터링: + +`podman ps --all --filter "exited={{코드}}"` + +- 상태별로 컨테이너 필터링 (생성됨, 실행 중, 제거 중, 일시 중지됨, 종료됨, 죽은 상태): + +`podman ps --filter "status={{상태}}"` + +- 특정 볼륨을 마운트했거나 특정 경로에 볼륨이 마운트된 컨테이너 필터링: + +`podman ps --filter "volume={{경로/대상/폴더}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.ko/common/podman-rmi.md b/pages.ko/common/podman-rmi.md new file mode 100644 index 00000000000000..a6b925b48d9b46 --- /dev/null +++ b/pages.ko/common/podman-rmi.md @@ -0,0 +1,20 @@ +# podman rmi + +> Podman 이미지 제거. +> 더 많은 정보: . + +- 이름을 지정하여 하나 이상의 이미지 제거: + +`podman rmi {{이미지:태그}} {{이미지2:태그}} {{...}}` + +- 강제로 이미지 제거: + +`podman rmi --force {{이미지}}` + +- 태그되지 않은 부모를 삭제하지 않고 이미지 제거: + +`podman rmi --no-prune {{이미지}}` + +- 도움말 표시: + +`podman rmi` diff --git a/pages.ko/common/podman-run.md b/pages.ko/common/podman-run.md new file mode 100644 index 00000000000000..490850fe8c0db1 --- /dev/null +++ b/pages.ko/common/podman-run.md @@ -0,0 +1,36 @@ +# podman run + +> 새로운 Podman 컨테이너에서 명령 실행. +> 더 많은 정보: . + +- 태그된 이미지에서 새로운 컨테이너로 명령 실행: + +`podman run {{이미지:태그}} {{명령}}` + +- 백그라운드에서 새로운 컨테이너로 명령 실행하고 ID 표시: + +`podman run --detach {{이미지:태그}} {{명령}}` + +- 일회성 컨테이너에서 대화형 모드와 가상 터미널로 명령 실행: + +`podman run --rm --interactive --tty {{이미지:태그}} {{명령}}` + +- 환경 변수를 전달하여 새로운 컨테이너로 명령 실행: + +`podman run --env '{{변수}}={{값}}' --env {{변수}} {{이미지:태그}} {{명령}}` + +- 바인드 마운트된 볼륨으로 새로운 컨테이너에서 명령 실행: + +`podman run --volume {{/경로/대상/호스트_경로}}:{{/경로/대상/컨테이너_경로}} {{이미지:태그}} {{명령}}` + +- 포트가 공개된 새로운 컨테이너에서 명령 실행: + +`podman run --publish {{호스트_포트}}:{{컨테이너_포트}} {{이미지:태그}} {{명령}}` + +- 이미지의 엔트리포인트를 덮어쓰며 새로운 컨테이너에서 명령 실행: + +`podman run --entrypoint {{명령}} {{이미지:태그}}` + +- 네트워크에 연결된 새로운 컨테이너에서 명령 실행: + +`podman run --network {{네트워크}} {{이미지:태그}}` diff --git a/pages.ko/common/podman.md b/pages.ko/common/podman.md new file mode 100644 index 00000000000000..43a2ec5de18cc9 --- /dev/null +++ b/pages.ko/common/podman.md @@ -0,0 +1,37 @@ +# podman + +> 파드, 컨테이너 및 이미지의 간단한 관리 도구. +> Podman은 Docker-CLI와 유사한 명령줄을 제공합니다. 간단히 말해: `alias docker=podman`. +> 더 많은 정보: . + +- 모든 컨테이너 나열 (실행 중 및 중지됨 모두 포함): + +`podman ps --all` + +- 이미지에서 사용자 정의 이름으로 컨테이너 생성: + +`podman run --name {{컨테이너_이름}} {{이미지}}` + +- 기존 컨테이너 시작 또는 중지: + +`podman {{start|stop}} {{컨테이너_이름}}` + +- 레지스트리에서 이미지 가져오기 (기본은 Docker Hub): + +`podman pull {{이미지}}` + +- 이미 다운로드된 이미지 목록 표시: + +`podman images` + +- 이미 실행 중인 컨테이너 안에서 셸 열기: + +`podman exec --interactive --tty {{컨테이너_이름}} {{sh}}` + +- 중지된 컨테이너 제거: + +`podman rm {{컨테이너_이름}}` + +- 하나 이상의 컨테이너 로그 출력 및 실시간 로그 추적: + +`podman logs --follow {{컨테이너_이름}} {{컨테이너_ID}}` diff --git a/pages.ko/common/poetry.md b/pages.ko/common/poetry.md new file mode 100644 index 00000000000000..4c9f5dfc689743 --- /dev/null +++ b/pages.ko/common/poetry.md @@ -0,0 +1,37 @@ +# poetry + +> Python 패키지 및 의존성을 관리. +> 같이 보기: `asdf`. +> 더 많은 정보: . + +- 특정 이름으로 디렉토리에 새 Poetry 프로젝트 생성: + +`poetry new {{프로젝트_이름}}` + +- 현재 디렉토리의 `pyproject.toml` 파일에 의존성과 그 하위 의존성 설치 및 추가: + +`poetry add {{의존성}}` + +- 현재 디렉토리의 `pyproject.toml` 파일을 사용하여 프로젝트 의존성 설치: + +`poetry install` + +- 현재 디렉토리를 새 Poetry 프로젝트로 상호작용 방식으로 초기화: + +`poetry init` + +- 모든 의존성의 최신 버전 가져오고 `poetry.lock` 업데이트: + +`poetry update` + +- 프로젝트의 가상 환경 내에서 명령어 실행: + +`poetry run {{명령어}}` + +- `pyproject.toml`에서 프로젝트의 버전 증가: + +`poetry version {{patch|minor|major|prepatch|preminor|premajor|prerelease}}` + +- 프로젝트의 가상 환경 내에서 셸 시작: + +`poetry shell` diff --git a/pages.ko/common/polybar-msg.md b/pages.ko/common/polybar-msg.md new file mode 100644 index 00000000000000..492fbe515ddcb2 --- /dev/null +++ b/pages.ko/common/polybar-msg.md @@ -0,0 +1,33 @@ +# polybar-msg + +> `polybar`를 프로세스 간 메시징(IPC)을 사용하여 제어. +> 참고: IPC는 기본적으로 비활성화되어 있으며, Polybar 설정에서 `enable-ipc = true`로 설정하여 활성화할 수 있습니다. +> 더 많은 정보: . + +- 바 종료: + +`polybar-msg cmd quit` + +- 바를 제자리에서 재시작: + +`polybar-msg cmd restart` + +- 바 숨기기 (이미 바가 숨겨져 있으면 아무 작업도 하지 않음): + +`polybar-msg cmd hide` + +- 바 다시 표시 (바가 숨겨져 있지 않으면 아무 작업도 하지 않음): + +`polybar-msg cmd show` + +- 숨김/표시 전환: + +`polybar-msg cmd toggle` + +- 모듈 작업 실행 (데이터 문자열은 선택 사항): + +`polybar-msg action "#{{모듈_이름}}.{{작업_이름}}.{{데이터_문자열}}"` + +- 특정 Polybar 인스턴스에만 메시지 전송 (기본적으로 모든 인스턴스): + +`polybar-msg -p {{pid}} {{cmd|action}} {{페이로드}}` diff --git a/pages.ko/common/polybar.md b/pages.ko/common/polybar.md new file mode 100644 index 00000000000000..454715e5fab706 --- /dev/null +++ b/pages.ko/common/polybar.md @@ -0,0 +1,16 @@ +# polybar + +> 빠르고 사용하기 쉬운 상태 표시줄. +> 더 많은 정보: . + +- Polybar 시작 (구성 파일에 하나의 막대만 정의되어 있는 경우 막대 이름은 선택 사항): + +`polybar {{막대_이름}}` + +- 지정된 구성 파일로 Polybar 시작: + +`polybar --config={{경로/대상/config.ini}} {{막대_이름}}` + +- 구성 파일이 수정될 때 막대를 다시 로드하며 Polybar 시작: + +`polybar --reload {{막대_이름}}` diff --git a/pages.ko/common/pop.md b/pages.ko/common/pop.md new file mode 100644 index 00000000000000..fa6c6b1c9cb2be --- /dev/null +++ b/pages.ko/common/pop.md @@ -0,0 +1,16 @@ +# pop + +> 터미널에서 이메일을 보내는 도구. +> 더 많은 정보: . + +- 텍스트 기반 사용자 인터페이스 시작: + +`pop` + +- Markdown 파일의 내용을 본문으로 사용하여 이메일 보내기: + +`pop < {{경로/대상/메시지.md}} --from {{me@example.com}} --to {{you@example.com}} --subject "{{오리에 대한 주제}}" --attach {{경로/대상/첨부파일}}` + +- 도움말 표시: + +`pop --help` diff --git a/pages.ko/common/popd.md b/pages.ko/common/popd.md new file mode 100644 index 00000000000000..495476dfd73e94 --- /dev/null +++ b/pages.ko/common/popd.md @@ -0,0 +1,21 @@ +# popd + +> `pushd` 셸 내장 명령어를 통해 디렉토리 스택에 올려놓은 디렉토리를 제거. +> `pushd`로 스택에 디렉토리를 올리는 방법과 `dirs`로 디렉토리 스택 내용을 표시하는 방법도 참고. +> 더 많은 정보: . + +- 스택의 최상위 디렉토리를 제거하고 해당 디렉토리로 이동: + +`popd` + +- N번째 디렉토리 제거 (왼쪽에서 0부터 시작, `dirs`로 출력된 목록 기준): + +`popd +N` + +- N번째 디렉토리 제거 (오른쪽에서 0부터 시작, `dirs`로 출력된 목록 기준): + +`popd -N` + +- 첫 번째 디렉토리 제거 (왼쪽에서 0부터 시작, `dirs`로 출력된 목록 기준): + +`popd -n` diff --git a/pages.ko/common/popeye.md b/pages.ko/common/popeye.md new file mode 100644 index 00000000000000..fd28beda237288 --- /dev/null +++ b/pages.ko/common/popeye.md @@ -0,0 +1,20 @@ +# popeye + +> Kubernetes 배포 매니페스트의 잠재적 문제 보고. +> 더 많은 정보: . + +- 현재 Kubernetes 클러스터 스캔: + +`popeye` + +- 특정 네임스페이스 스캔: + +`popeye -n {{네임스페이스}}` + +- 특정 Kubernetes 컨텍스트 스캔: + +`popeye --context={{컨텍스트}}` + +- 스캐닝에 스피니치 구성 파일 사용: + +`popeye -f {{spinach.yaml}}` diff --git a/pages.ko/common/postcss.md b/pages.ko/common/postcss.md new file mode 100644 index 00000000000000..9929ed63af1fb7 --- /dev/null +++ b/pages.ko/common/postcss.md @@ -0,0 +1,36 @@ +# postcss + +> JS 플러그인으로 스타일 변환. +> 더 많은 정보: . + +- CSS 파일을 파싱하고 변환: + +`postcss {{경로/대상/파일}}` + +- CSS 파일을 파싱하고 변환하여 특정 파일로 출력: + +`postcss {{경로/대상/파일}} --output {{경로/대상/파일}}` + +- CSS 파일을 파싱하고 변환하여 특정 폴더에 출력: + +`postcss {{경로/대상/파일}} --dir {{경로/대상/폴더}}` + +- CSS 파일을 제자리에 파싱하고 변환: + +`postcss {{경로/대상/파일}} --replace` + +- 사용자 지정 PostCSS 파서를 지정: + +`postcss {{경로/대상/파일}} --parser {{파서}}` + +- 사용자 지정 PostCSS 구문을 지정: + +`postcss {{경로/대상/파일}} --syntax {{구문}}` + +- CSS 파일의 변경 사항 감시: + +`postcss {{경로/대상/파일}} --watch` + +- 도움말 표시: + +`postcss --help` diff --git a/pages.ko/common/powershell.md b/pages.ko/common/powershell.md new file mode 100644 index 00000000000000..8ebc5d6657adbd --- /dev/null +++ b/pages.ko/common/powershell.md @@ -0,0 +1,13 @@ +# powershell + +> 이 명령은 `powershell` 대신 `pwsh`를 사용하는 크로스 플랫폼 버전의 PowerShell(이전에는 PowerShell Core로 알려짐)과 혼동될 수 있습니다. +> Windows의 원본 `powershell` 명령은 레거시 Windows 버전의 PowerShell(버전 5.1 이하)을 사용하는 데 여전히 사용할 수 있습니다. +> 더 많은 정보: . + +- 최신 크로스 플랫폼 버전의 PowerShell(버전 6 이상)의 명령에 대한 문서 보기: + +`tldr pwsh` + +- 레거시 Windows PowerShell(버전 5.1 이하)의 명령에 대한 문서 보기: + +`tldr powershell {{[-p|--platform]}} windows` diff --git a/pages.ko/common/ppmbrighten.md b/pages.ko/common/ppmbrighten.md new file mode 100644 index 00000000000000..f8d743ab21feb1 --- /dev/null +++ b/pages.ko/common/ppmbrighten.md @@ -0,0 +1,8 @@ +# ppmbrighten + +> 이 명령은 `pambrighten`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pambrighten` diff --git a/pages.ko/common/ppmchange.md b/pages.ko/common/ppmchange.md new file mode 100644 index 00000000000000..44e064ca098b8a --- /dev/null +++ b/pages.ko/common/ppmchange.md @@ -0,0 +1,16 @@ +# ppmchange + +> PPM 이미지에서 특정 색상의 모든 픽셀을 다른 색상으로 변경. +> 더 많은 정보: . + +- 각 `옛색상` - `새색상` 쌍에서 첫 번째 색상을 두 번째 색상으로 교체: + +`ppmchange {{옛색상1 새색상1 옛색상2 새색상2 ...}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.ppm}}` + +- 동일하다고 간주되기 위한 색상의 유사도를 지정: + +`ppmchange -closeness {{퍼센트}} {{옛색상1 새색상1 옛색상2 새색상2 ...}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.ppm}}` + +- 인수에 지정되지 않은 모든 픽셀을 특정 색상으로 대체: + +`ppmchange -remainder {{색상}} {{옛색상1 새색상1 옛색상2 새색상2 ...}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/ppmcie.md b/pages.ko/common/ppmcie.md new file mode 100644 index 00000000000000..2bc5e7d44307e5 --- /dev/null +++ b/pages.ko/common/ppmcie.md @@ -0,0 +1,20 @@ +# ppmcie + +> CIE 색상 차트를 PPM 이미지로 그리기. +> 더 많은 정보: . + +- REC709 색상 시스템을 사용하여 CIE 색상 차트를 PPM 이미지로 그리기: + +`ppmcie > {{경로/대상/출력.ppm}}` + +- 사용할 색상 시스템 지정: + +`ppmcie -{{cie|ebu|hdtv|ntsc|smpte}} > {{경로/대상/출력.ppm}}` + +- 개별 조명의 위치 지정: + +`ppmcie -{{red|green|blue}} {{xpos ypos}} > {{경로/대상/출력.ppm}}` + +- 맥스웰 삼각형 외부 영역을 흐리지 않음: + +`ppmcie -full > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/ppmcolormask.md b/pages.ko/common/ppmcolormask.md new file mode 100644 index 00000000000000..0f8fc649a6eb9b --- /dev/null +++ b/pages.ko/common/ppmcolormask.md @@ -0,0 +1,8 @@ +# ppmcolormask + +> PPM 이미지에서 특정 색상의 영역 마스크 생성. +> 더 많은 정보: . + +- 지정된 PPM 이미지에서 특정 색상의 영역 마스크 생성: + +`ppmcolormask -color {{red,blue}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/ppmdim.md b/pages.ko/common/ppmdim.md new file mode 100644 index 00000000000000..a4abc0c674b196 --- /dev/null +++ b/pages.ko/common/ppmdim.md @@ -0,0 +1,9 @@ +# ppmdim + +> PPM 이미지를 어둡게 조정. +> 부분적으로 `pamfunc -multiplier`로 대체되었습니다. +> 더 많은 정보: . + +- 지정된 PPM 이미지를 dimfactor로 어둡게 조정: + +`ppmdim {{0.6}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/ppmdist.md b/pages.ko/common/ppmdist.md new file mode 100644 index 00000000000000..3f81cdd9d886df --- /dev/null +++ b/pages.ko/common/ppmdist.md @@ -0,0 +1,12 @@ +# ppmdist + +> PPM 이미지를 그레이스케일 버전으로 변환. +> 더 많은 정보: . + +- 지정된 PPM 이미지의 그레이스케일 버전 생성: + +`ppmdist {{경로/대상/입력.ppm}} > {{경로/대상/출력.pgm}}` + +- 지정된 방법을 사용하여 색상을 그레이 레벨로 매핑: + +`ppmdist -{{frequency|intensity}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/ppmdither.md b/pages.ko/common/ppmdither.md new file mode 100644 index 00000000000000..202544a8b784f3 --- /dev/null +++ b/pages.ko/common/ppmdither.md @@ -0,0 +1,16 @@ +# ppmdither + +> 디더링을 적용하여 이미지의 색상 수를 줄입니다. +> 더 많은 정보: . + +- PPM 이미지를 읽고 디더링을 적용하여 파일로 저장: + +`ppmdither {{경로/대상/이미지.ppm}} > {{경로/대상/파일.ppm}}` + +- 각 기본 색상에 대한 원하는 음영 수 지정: + +`ppmdither -red {{2}} -green {{3}} -blue {{2}} {{경로/대상/이미지.ppm}} > {{경로/대상/파일.ppm}}` + +- 디더링 행렬의 크기 지정: + +`ppmdither -dim {{2}} {{경로/대상/이미지.ppm}} > {{경로/대상/파일.ppm}}` diff --git a/pages.ko/common/ppmfade.md b/pages.ko/common/ppmfade.md new file mode 100644 index 00000000000000..7d5e01529e1853 --- /dev/null +++ b/pages.ko/common/ppmfade.md @@ -0,0 +1,20 @@ +# ppmfade + +> 두 개의 PPM 이미지 간의 전환을 생성. +> 더 많은 정보: . + +- 지정된 효과를 사용하여 두 PPM 이미지([f]irst 및 [l]ast) 간의 전환 생성: + +`ppmfade -f {{경로/대상/이미지1.ppm}} -l {{경로/대상/이미지2.ppm}} -{{mix|spread|shift|relief|oil|...}}` + +- 지정된 이미지로 시작하여 검은색 단색 이미지로 끝나는 전환 생성: + +`ppmfade -f {{경로/대상/이미지.ppm}} -{{mix|spread|shift|relief|oil|...}}` + +- 검은색 단색 이미지로 시작하여 지정된 이미지로 끝나는 전환 생성: + +`ppmfade -l {{경로/대상/이미지.ppm}} -{{mix|spread|shift|relief|oil|...}}` + +- 결과 이미지를 `base.NNNN.ppm` 형식의 파일에 저장 (`NNNN`은 증가하는 숫자): + +`ppmfade -f {{경로/대상/이미지1.ppm}} -l {{경로/대상/이미지2.ppm}} -{{mix|spread|shift|relief|oil|...}} -base {{base}}` diff --git a/pages.ko/common/ppmflash.md b/pages.ko/common/ppmflash.md new file mode 100644 index 00000000000000..871bd5300f5bdf --- /dev/null +++ b/pages.ko/common/ppmflash.md @@ -0,0 +1,12 @@ +# ppmflash + +> PPM 이미지 파일을 밝게 조정. +> 더 많은 정보: . + +- 입력 PPM 이미지보다 `flashfactor` 배 밝은 출력 PPM 이미지 생성: + +`ppmflash {{flashfactor}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.ppm}}` + +- 버전 표시: + +`ppmflash -version` diff --git a/pages.ko/common/ppmforge.md b/pages.ko/common/ppmforge.md new file mode 100644 index 00000000000000..1c97d41a13dba5 --- /dev/null +++ b/pages.ko/common/ppmforge.md @@ -0,0 +1,20 @@ +# ppmforge + +> 구름, 행성 및 별이 빛나는 하늘과 같은 프랙탈을 생성합니다. +> 더 많은 정보: . + +- 행성 이미지를 생성: + +`ppmforge > {{경로/대상/이미지.ppm}}` + +- 구름이나 밤하늘 이미지를 생성: + +`ppmforge -{{night|clouds}} > {{경로/대상/이미지.ppm}}` + +- 프랙탈 생성에 사용자 정의 메쉬 크기와 차원을 사용하고 출력의 크기를 지정: + +`ppmforge -mesh {{512}} -dimension {{2.5}} -xsize {{1000}} -ysize {{1000}} > {{경로/대상/이미지.ppm}}` + +- 생성된 행성의 기울기 및 조명 각도 조절: + +`ppmforge -tilt {{-15}} -hour {{12}} > {{경로/대상/이미지.ppm}}` diff --git a/pages.ko/common/ppmhist.md b/pages.ko/common/ppmhist.md new file mode 100644 index 00000000000000..ed4eeeed786200 --- /dev/null +++ b/pages.ko/common/ppmhist.md @@ -0,0 +1,17 @@ +# ppmhist + +> PPM 이미지에 포함된 색상의 히스토그램을 출력. +> 같이 보기: `pgmhist`. +> 더 많은 정보: . + +- 사람이 읽을 수 있는 형식으로 히스토그램 생성: + +`ppmhist -nomap {{경로/대상/이미지.ppm}}` + +- 이미지의 색상 히스토그램을 주석으로 포함한 컬러맵의 PPM 파일 생성: + +`ppmhist -map {{경로/대상/이미지.ppm}}` + +- 버전 표시: + +`ppmhist -version` diff --git a/pages.ko/common/ppmlabel.md b/pages.ko/common/ppmlabel.md new file mode 100644 index 00000000000000..65959358547ba2 --- /dev/null +++ b/pages.ko/common/ppmlabel.md @@ -0,0 +1,16 @@ +# ppmlabel + +> PPM 이미지에 텍스트 추가. +> 더 많은 정보: . + +- 지정된 위치에 PPM 이미지에 텍스트 추가: + +`ppmlabel -x {{위치_x}} -y {{위치_y}} -text {{텍스트}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` + +- 서로 다른 위치에 여러 텍스트 추가: + +`ppmlabel -x {{위치_x1}} -y {{위치_y1}} -text {{텍스트1}} -x {{위치_x2}} -y {{위치_y2}} -text {{텍스트2}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` + +- 추가된 텍스트의 선 색상, 배경 색상, 기울기 및 크기 지정: + +`ppmlabel -x {{위치_x}} -y {{위치_y}} -color {{선_색상}} -background {{배경_색상}} -angle {{기울기}} -size {{크기}} -text {{텍스트}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmmake.md b/pages.ko/common/ppmmake.md new file mode 100644 index 00000000000000..0b4ce4302e7edc --- /dev/null +++ b/pages.ko/common/ppmmake.md @@ -0,0 +1,8 @@ +# ppmmake + +> 지정한 색상과 크기의 PPM 이미지를 생성. +> 더 많은 정보: . + +- 지정한 색상과 크기의 PPM 이미지 생성: + +`ppmmake {{색상}} {{너비}} {{높이}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmmix.md b/pages.ko/common/ppmmix.md new file mode 100644 index 00000000000000..f49ee82a611206 --- /dev/null +++ b/pages.ko/common/ppmmix.md @@ -0,0 +1,8 @@ +# ppmmix + +> 두 개의 PPM 이미지를 혼합. +> 더 많은 정보: . + +- `fadefactor`를 사용하여 각 이미지의 가중치를 조절하여 지정된 PPM 이미지를 혼합: + +`ppmmix {{fadefactor}} {{경로/대상/입력_파일1.ppm}} {{경로/대상/입력_파일2.ppm}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmnorm.md b/pages.ko/common/ppmnorm.md new file mode 100644 index 00000000000000..b1afee3ea4d949 --- /dev/null +++ b/pages.ko/common/ppmnorm.md @@ -0,0 +1,8 @@ +# ppmnorm + +> 이 명령은 `pnmnorm`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pnmnorm` diff --git a/pages.ko/common/ppmntsc.md b/pages.ko/common/ppmntsc.md new file mode 100644 index 00000000000000..8268b16912dcd3 --- /dev/null +++ b/pages.ko/common/ppmntsc.md @@ -0,0 +1,20 @@ +# ppmntsc + +> PPM 이미지의 RGB 색상을 NTSC 또는 PAL 컬러 시스템과 호환되도록 만듭니다. +> 더 많은 정보: . + +- PPM 이미지의 RGB 색상을 NTSC 컬러 시스템과 호환되도록 만들기: + +`ppmntsc {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` + +- PPM 이미지의 RGB 색상을 PAL 컬러 시스템과 호환되도록 만들기: + +`ppmntsc --pal {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` + +- 입력 이미지의 불법 픽셀 수를 `stderr`에 출력: + +`ppmntsc --verbose {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` + +- 합법/불법/수정된 픽셀만 출력하고 다른 픽셀은 검정색으로 설정: + +`ppmntsc --{{legalonly|illegalonly|correctedonly}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmpat.md b/pages.ko/common/ppmpat.md new file mode 100644 index 00000000000000..4b68d53ad85f34 --- /dev/null +++ b/pages.ko/common/ppmpat.md @@ -0,0 +1,12 @@ +# ppmpat + +> 패턴을 사용하여 PPM 이미지를 생성. +> 더 많은 정보: . + +- 지정된 패턴과 크기로 PPM 파일 생성: + +`ppmpat -{{gingham2|gingham3|madras|tartan|poles|...}} {{너비}} {{높이}} > {{경로/대상/파일.ppm}}` + +- 지정된 색상으로 위장 패턴의 PPM 파일 생성: + +`ppmpat -camo -color {{색상1,색상2,...}} {{너비}} {{높이}} > {{경로/대상/파일.ppm}}` diff --git a/pages.ko/common/ppmquant.md b/pages.ko/common/ppmquant.md new file mode 100644 index 00000000000000..047342fa4b6eac --- /dev/null +++ b/pages.ko/common/ppmquant.md @@ -0,0 +1,12 @@ +# ppmquant + +> 이 명령은 `pnmquant` 및 `pnmremap`으로 대체되었습니다. +> 더 많은 정보: . + +- `pnmquant`에 대한 문서 보기: + +`tldr pnmquant` + +- `pnmremap`에 대한 문서 보기: + +`tldr pnmremap` diff --git a/pages.ko/common/ppmquantall.md b/pages.ko/common/ppmquantall.md new file mode 100644 index 00000000000000..97fd8357a895f7 --- /dev/null +++ b/pages.ko/common/ppmquantall.md @@ -0,0 +1,8 @@ +# ppmquantall + +> 이 명령은 `pnmquantall`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pnmquantall` diff --git a/pages.ko/common/ppmrainbow.md b/pages.ko/common/ppmrainbow.md new file mode 100644 index 00000000000000..61eb209cea0bee --- /dev/null +++ b/pages.ko/common/ppmrainbow.md @@ -0,0 +1,16 @@ +# ppmrainbow + +> 무지개 생성. +> 더 많은 정보: . + +- 지정한 색상들로 구성된 무지개 생성: + +`ppmrainbow {{색상1 색상2 ...}} > {{경로/대상/출력_파일.ppm}}` + +- 출력 크기를 픽셀로 지정: + +`ppmrainbow -width {{너비}} -height {{높이}} {{색상1 색상2 ...}} > {{경로/대상/출력_파일.ppm}}` + +- 마지막 색상으로 무지개 끝내기, 첫 번째 색상 반복하지 않기: + +`ppmrainbow -norepeat {{색상1 색상2 ...}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmrelief.md b/pages.ko/common/ppmrelief.md new file mode 100644 index 00000000000000..37d561dd77b2c2 --- /dev/null +++ b/pages.ko/common/ppmrelief.md @@ -0,0 +1,8 @@ +# ppmrelief + +> PPM 이미지의 음영 효과 생성. +> 더 많은 정보: . + +- 지정된 PPM 이미지의 음영 효과 생성: + +`ppmrelief {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmshadow.md b/pages.ko/common/ppmshadow.md new file mode 100644 index 00000000000000..c6810d60c0faa5 --- /dev/null +++ b/pages.ko/common/ppmshadow.md @@ -0,0 +1,16 @@ +# ppmshadow + +> PPM 이미지에 시뮬레이션된 그림자를 추가. +> 더 많은 정보: . + +- PPM 이미지에 시뮬레이션된 그림자 추가: + +`ppmshadow {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` + +- 이미지를 지정된 픽셀 수만큼 [b]블러 처리: + +`ppmshadow -b {{n}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` + +- 이미지의 왼쪽과 위쪽으로 시뮬레이션된 광원의 변위를 지정: + +`ppmshadow -x {{왼쪽_오프셋}} -y {{위쪽_오프셋}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmshift.md b/pages.ko/common/ppmshift.md new file mode 100644 index 00000000000000..ec89055282f135 --- /dev/null +++ b/pages.ko/common/ppmshift.md @@ -0,0 +1,8 @@ +# ppmshift + +> PPM 이미지의 라인을 무작위로 이동. +> 더 많은 정보: . + +- 입력 이미지의 라인을 왼쪽 또는 오른쪽으로 s를 초과하지 않는 무작위 양만큼 이동: + +`ppmshift {{s}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmspread.md b/pages.ko/common/ppmspread.md new file mode 100644 index 00000000000000..89d55a4fe02f14 --- /dev/null +++ b/pages.ko/common/ppmspread.md @@ -0,0 +1,12 @@ +# ppmspread + +> PPM 이미지의 픽셀을 무작위로 변위. +> 더 많은 정보: . + +- PPM 이미지의 픽셀을 최대 {{a}}만큼 무작위로 변위: + +`ppmspread {{a}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.ppm}}` + +- 의사 난수 생성기에 시드 지정: + +`ppmspread {{a}} {{경로/대상/입력_파일.ppm}} -randomseed {{시드}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/ppmtoacad.md b/pages.ko/common/ppmtoacad.md new file mode 100644 index 00000000000000..276afc1d3fdf2c --- /dev/null +++ b/pages.ko/common/ppmtoacad.md @@ -0,0 +1,16 @@ +# ppmtoacad + +> PPM 이미지를 AutoCAD 데이터베이스 또는 슬라이드로 변환. +> 더 많은 정보: . + +- PPM 이미지를 AutoCAD 슬라이드로 변환: + +`ppmtoacad {{경로/대상/파일.ppm}} > {{경로/대상/파일.acad}}` + +- PPM 이미지를 AutoCAD 바이너리 데이터베이스 가져오기 파일로 변환: + +`ppmtoacad -dxb {{경로/대상/파일.ppm}} > {{경로/대상/파일.dxb}}` + +- 출력의 색상을 8가지 RGB 음영으로 제한: + +`ppmtoacad -8 {{경로/대상/파일.ppm}} > {{경로/대상/파일.dxb}}` diff --git a/pages.ko/common/ppmtoarbtxt.md b/pages.ko/common/ppmtoarbtxt.md new file mode 100644 index 00000000000000..7129b432c9dd02 --- /dev/null +++ b/pages.ko/common/ppmtoarbtxt.md @@ -0,0 +1,20 @@ +# ppmtoarbtxt + +> PPM 이미지를 템플릿에 따라 임의의 텍스트 형식으로 변환. +> 더 많은 정보: . + +- 주어진 템플릿에 따라 PPM 이미지를 텍스트로 변환: + +`ppmtoarbtxt {{경로/대상/템플릿}} {{경로/대상/이미지.ppm}} > {{경로/대상/출력_파일.txt}}` + +- 주어진 템플릿에 따라 PPM 이미지를 텍스트로 변환하고, 지정한 헤드 템플릿의 내용을 앞에 추가: + +`ppmtoarbtxt {{경로/대상/템플릿}} -hd {{경로/대상/헤드_템플릿}} {{경로/대상/이미지.ppm}} > {{경로/대상/출력_파일.txt}}` + +- 주어진 템플릿에 따라 PPM 이미지를 텍스트로 변환하고, 지정한 테일 템플릿의 내용을 뒤에 추가: + +`ppmtoarbtxt {{경로/대상/템플릿}} -hd {{경로/대상/테일_템플릿}} {{경로/대상/이미지.ppm}} > {{경로/대상/출력_파일.txt}}` + +- 버전 표시: + +`ppmtoarbtxt -version` diff --git a/pages.ko/common/ppmtoascii.md b/pages.ko/common/ppmtoascii.md new file mode 100644 index 00000000000000..9f766aaba3b33b --- /dev/null +++ b/pages.ko/common/ppmtoascii.md @@ -0,0 +1,13 @@ +# ppmtoascii + +> PPM 이미지를 ANSI 터미널 색상 코드를 사용하여 ASCII 이미지로 변환. +> 같이 보기: `ppmtoterm`, `pbmtoascii`, `pbmto4425`. +> 더 많은 정보: . + +- 1x2 픽셀 영역을 하나의 문자로 결합하여 PPM 이미지를 ASCII 이미지로 변환: + +`ppmtoascii {{경로/대상/입력.ppm}} > {{경로/대상/출력.txt}}` + +- 2x4 픽셀 영역을 하나의 문자로 결합하여 PPM 이미지를 ASCII 이미지로 변환: + +`ppmtoascii -2x4 {{경로/대상/입력.ppm}} > {{경로/대상/출력.txt}}` diff --git a/pages.ko/common/ppmtobmp.md b/pages.ko/common/ppmtobmp.md new file mode 100644 index 00000000000000..e9d9cbdcc10bda --- /dev/null +++ b/pages.ko/common/ppmtobmp.md @@ -0,0 +1,16 @@ +# ppmtobmp + +> PPM 이미지를 BMP 파일로 변환. +> 더 많은 정보: . + +- PPM 이미지를 BMP 파일로 변환: + +`ppmtobmp {{경로/대상/파일.ppm}} > {{경로/대상/파일.bmp}}` + +- Windows BMP 파일 또는 OS/2 BMP 파일을 생성할지 여부를 명시적으로 지정: + +`ppmtobmp -{{windows|os2}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.bmp}}` + +- 각 픽셀에 사용할 비트 수를 지정: + +`ppmtobmp -bbp {{1|4|8|24}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.bmp}}` diff --git a/pages.ko/common/ppmtoeyuv.md b/pages.ko/common/ppmtoeyuv.md new file mode 100644 index 00000000000000..de737f26a9e36d --- /dev/null +++ b/pages.ko/common/ppmtoeyuv.md @@ -0,0 +1,8 @@ +# ppmtoeyuv + +> PPM 이미지를 Berkeley YUV 파일로 변환. +> 더 많은 정보: . + +- 입력 파일에서 PPM 이미지를 읽고 Berkeley YUV 이미지로 변환하여 지정된 출력 파일에 저장: + +`ppmtoeyuv {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.eyuv}}` diff --git a/pages.ko/common/ppmtogif.md b/pages.ko/common/ppmtogif.md new file mode 100644 index 00000000000000..3c62ec067456af --- /dev/null +++ b/pages.ko/common/ppmtogif.md @@ -0,0 +1,8 @@ +# ppmtogif + +> 이 명령은 `pamtogif`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamtogif` diff --git a/pages.ko/common/ppmtoicr.md b/pages.ko/common/ppmtoicr.md new file mode 100644 index 00000000000000..3d2c5d03ec9dea --- /dev/null +++ b/pages.ko/common/ppmtoicr.md @@ -0,0 +1,20 @@ +# ppmtoicr + +> PPM 이미지를 NCSA ICR 형식으로 변환. +> 더 많은 정보: . + +- PPM 이미지를 ICR 파일로 변환: + +`ppmtoicr {{경로/대상/파일.ppm}} > {{경로/대상/파일.icr}}` + +- 출력 이름을 지정하여 표시: + +`ppmtoicr -windowname {{이름}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.icr}}` + +- 지정한 배율로 이미지 확대: + +`ppmtoicr -expand {{배율}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.icr}}` + +- 지정한 번호로 화면에 출력 표시: + +`ppmtoicr -display {{번호}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.icr}}` diff --git a/pages.ko/common/ppmtoilbm.md b/pages.ko/common/ppmtoilbm.md new file mode 100644 index 00000000000000..550f227eb2f802 --- /dev/null +++ b/pages.ko/common/ppmtoilbm.md @@ -0,0 +1,20 @@ +# ppmtoilbm + +> PPM 이미지를 ILBM 파일로 변환. +> 더 많은 정보: . + +- PPM 이미지를 ILBM 파일로 변환: + +`ppmtoilbm {{경로/대상/파일.ppm}} > {{경로/대상/파일.ilbm}}` + +- ILBM 파일에 최대 {{n}}개의 플레인 작성하고, 이 수를 초과하면 HAM/24비트/직접 색상 파일 생성: + +`ppmtoilbm -maxplanes {{n}} -{{hamif|24if|dcif}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.ilbm}}` + +- 정확히 {{n}}개의 플레인으로 ILBM 파일 생성: + +`ppmtoilbm -fixplanes {{n}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.ilbm}}` + +- 사용할 압축 방법 선택: + +`ppmtoilbm -{{compress|nocompress|savemem}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.ilbm}}` diff --git a/pages.ko/common/ppmtojpeg.md b/pages.ko/common/ppmtojpeg.md new file mode 100644 index 00000000000000..ad6e99b5351cd1 --- /dev/null +++ b/pages.ko/common/ppmtojpeg.md @@ -0,0 +1,8 @@ +# ppmtojpeg + +> 이 명령은 `pnmtojpeg`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pnmtojpeg` diff --git a/pages.ko/common/ppmtoleaf.md b/pages.ko/common/ppmtoleaf.md new file mode 100644 index 00000000000000..0468fde472873d --- /dev/null +++ b/pages.ko/common/ppmtoleaf.md @@ -0,0 +1,8 @@ +# ppmtoleaf + +> PPM 이미지를 Interleaf 이미지 형식으로 변환. +> 더 많은 정보: . + +- PPM 이미지를 LEAF 파일로 변환: + +`ppmtoleaf {{경로/대상/파일.ppm}} > {{경로/대상/파일.leaf}}` diff --git a/pages.ko/common/ppmtolj.md b/pages.ko/common/ppmtolj.md new file mode 100644 index 00000000000000..a3aa061342c87f --- /dev/null +++ b/pages.ko/common/ppmtolj.md @@ -0,0 +1,16 @@ +# ppmtolj + +> PPM 파일을 HP LaserJet PCL 5 Color 파일로 변환. +> 더 많은 정보: . + +- PPM 파일을 HP LaserJet PCL 5 Color 파일로 변환: + +`ppmtolj {{경로/대상/입력.ppm}} > {{경로/대상/출력.lj}}` + +- 지정된 감마 값을 사용하여 감마 보정 적용: + +`ppmtolj -gamma {{감마}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.lj}}` + +- 필요한 해상도 지정: + +`ppmtolj -resolution {{75|100|150|300|600}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.lj}}` diff --git a/pages.ko/common/ppmtomap.md b/pages.ko/common/ppmtomap.md new file mode 100644 index 00000000000000..dcd15f2248e620 --- /dev/null +++ b/pages.ko/common/ppmtomap.md @@ -0,0 +1,8 @@ +# ppmtomap + +> 이 명령은 `pnmcolormap`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pnmcolormap` diff --git a/pages.ko/common/ppmtomitsu.md b/pages.ko/common/ppmtomitsu.md new file mode 100644 index 00000000000000..7d083f6c6aefda --- /dev/null +++ b/pages.ko/common/ppmtomitsu.md @@ -0,0 +1,16 @@ +# ppmtomitsu + +> PPM 이미지를 Mitsubishi S340-10 파일로 변환. +> 더 많은 정보: . + +- PPM 이미지를 MITSU 파일로 변환: + +`ppmtomitsu {{경로/대상/파일.ppm}} > {{경로/대상/파일.mitsu}}` + +- 이미지를 지정된 배율로 확대하고, 지정된 선명도를 사용하여 `n`개의 복사본 생성: + +`ppmtomitsu -enlarge {{1|2|3}} -sharpness {{1|2|3|4}} -copy {{n}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.mitsu}}` + +- 인쇄 과정에 주어진 매체 사용: + +`ppmtomitsu -media {{A|A4|AS|A4S}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.mitsu}}` diff --git a/pages.ko/common/ppmtompeg.md b/pages.ko/common/ppmtompeg.md new file mode 100644 index 00000000000000..9c4e7ac46867b0 --- /dev/null +++ b/pages.ko/common/ppmtompeg.md @@ -0,0 +1,20 @@ +# ppmtompeg + +> MPEG-1 스트림 인코딩. +> 더 많은 정보: . + +- 입력 및 출력을 지정하는 매개 변수 파일을 사용하여 MPEG-1 스트림 생성: + +`ppmtompeg {{경로/대상/매개_변수_파일}}` + +- 지정된 번호의 GOP만 인코딩: + +`ppmtompeg -gop {{gop_번호}} {{경로/대상/매개_변수_파일}}` + +- 인코딩할 첫 번째 및 마지막 프레임 지정: + +`ppmtompeg -frames {{첫_프레임}} {{마지막_프레임}} {{경로/대상/매개_변수_파일}}` + +- 여러 MPEG 프레임을 단일 MPEG-1 스트림으로 결합: + +`ppmtompeg -combine_frames {{경로/대상/매개_변수_파일}}` diff --git a/pages.ko/common/ppmtoneo.md b/pages.ko/common/ppmtoneo.md new file mode 100644 index 00000000000000..612801ffe487f6 --- /dev/null +++ b/pages.ko/common/ppmtoneo.md @@ -0,0 +1,8 @@ +# ppmtoneo + +> PPM 이미지를 Atari Neochrome 파일로 변환. +> 더 많은 정보: . + +- PPM 이미지를 NEO 파일로 변환: + +`ppmtoneo {{경로/대상/파일.ppm}} > {{경로/대상/파일.neo}}` diff --git a/pages.ko/common/ppmtopcx.md b/pages.ko/common/ppmtopcx.md new file mode 100644 index 00000000000000..1b0deae4f47363 --- /dev/null +++ b/pages.ko/common/ppmtopcx.md @@ -0,0 +1,12 @@ +# ppmtopcx + +> PPM 이미지를 PCX 파일로 변환. +> 더 많은 정보: . + +- PPM 이미지를 PCX 파일로 변환: + +`ppmtopcx {{경로/대상/파일.ppm}} > {{경로/대상/파일.pcx}}` + +- 지정된 색상 깊이로 PCX 파일 생성: + +`ppmtopcx -{{8bit|24bit}} {{경로/대상/파일.ppm}} > {{경로/대상/파일.pcx}}` diff --git a/pages.ko/common/ppmtopgm.md b/pages.ko/common/ppmtopgm.md new file mode 100644 index 00000000000000..ac5fe0c6acd54b --- /dev/null +++ b/pages.ko/common/ppmtopgm.md @@ -0,0 +1,12 @@ +# ppmtopgm + +> PPM 이미지를 PGM 이미지로 변환. +> 더 많은 정보: . + +- PPM 이미지를 PGM 이미지로 변환: + +`ppmtopgm {{경로/대상/파일.ppm}} > {{경로/대상/파일.pgm}}` + +- 버전 표시: + +`ppmtopgm -version` diff --git a/pages.ko/common/ppmtopi1.md b/pages.ko/common/ppmtopi1.md new file mode 100644 index 00000000000000..755216f57ee12a --- /dev/null +++ b/pages.ko/common/ppmtopi1.md @@ -0,0 +1,9 @@ +# ppmtopi1 + +> PPM 이미지를 Atari Degas PI1 이미지로 변환. +> 같이 보기: `pi1toppm`. +> 더 많은 정보: . + +- PPM 이미지를 Atari Degas PI1 이미지로 변환: + +`ppmtopi1 {{경로/대상/이미지.ppm}} > {{경로/대상/출력_이미지.pi1}}` diff --git a/pages.ko/common/ppmtopict.md b/pages.ko/common/ppmtopict.md new file mode 100644 index 00000000000000..c09080555f10f9 --- /dev/null +++ b/pages.ko/common/ppmtopict.md @@ -0,0 +1,8 @@ +# ppmtopict + +> PPM 이미지를 Macintosh PICT 파일로 변환. +> 더 많은 정보: . + +- PPM 이미지를 PICT 파일로 변환: + +`ppmtopict {{경로/대상/파일.ppm}} > {{경로/대상/파일.pict}}` diff --git a/pages.ko/common/ppmtopj.md b/pages.ko/common/ppmtopj.md new file mode 100644 index 00000000000000..e7ad4d9d7c8986 --- /dev/null +++ b/pages.ko/common/ppmtopj.md @@ -0,0 +1,16 @@ +# ppmtopj + +> PPM 파일을 HP PaintJet 파일로 변환. +> 더 많은 정보: . + +- PPM 파일을 HP PaintJet 파일로 변환: + +`ppmtopj {{경로/대상/입력.ppm}} > {{경로/대상/출력.pj}}` + +- 이미지를 x 및 y 방향으로 이동: + +`ppmtopj -xpos {{dx}} -ypos {{dy}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.pj}}` + +- 감마 값을 명시적으로 지정: + +`ppmtopj -gamma {{감마}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.pj}}` diff --git a/pages.ko/common/ppmtoppm.md b/pages.ko/common/ppmtoppm.md new file mode 100644 index 00000000000000..06baf5b36c33f3 --- /dev/null +++ b/pages.ko/common/ppmtoppm.md @@ -0,0 +1,12 @@ +# ppmtoppm + +> PPM 이미지를 복사. +> 더 많은 정보: . + +- PPM 이미지(즉, PBM, PGM 또는 PPM 이미지)를 `stdin`에서 `stdout`으로 복사: + +`ppmtoppm < {{경로/대상/이미지.ppm}} > {{경로/대상/출력.ppm}}` + +- 버전 표시: + +`ppmtoppm -version` diff --git a/pages.ko/common/ppmtopuzz.md b/pages.ko/common/ppmtopuzz.md new file mode 100644 index 00000000000000..97190a54cec4e7 --- /dev/null +++ b/pages.ko/common/ppmtopuzz.md @@ -0,0 +1,8 @@ +# ppmtopuzz + +> PPM 이미지를 X11 퍼즐 파일로 변환. +> 더 많은 정보: . + +- PPM 이미지를 X11 퍼즐 파일로 변환: + +`ppmtopuzz {{경로/대상/파일.ppm}} > {{경로/대상/파일.puzz}}` diff --git a/pages.ko/common/ppmtosixel.md b/pages.ko/common/ppmtosixel.md new file mode 100644 index 00000000000000..f31f02e3b295ab --- /dev/null +++ b/pages.ko/common/ppmtosixel.md @@ -0,0 +1,20 @@ +# ppmtosixel + +> PPM 이미지를 DEC sixel 형식으로 변환. +> 더 많은 정보: . + +- PPM 이미지를 DEC sixel 형식으로 변환: + +`ppmtosixel {{경로/대상/파일.ppm}} > {{경로/대상/파일.sixel}}` + +- 인쇄 속도가 훨씬 느린 비압축 SIXEL 파일 생성: + +`ppmtosixel -raw {{경로/대상/파일.ppm}} > {{경로/대상/파일.sixel}}` + +- 왼쪽 여백을 1.5인치 추가: + +`ppmtosixel -margin {{경로/대상/파일.ppm}} > {{경로/대상/파일.sixel}}` + +- 제어 코드를 보다 이식 가능하게(공간 효율성은 떨어짐) 인코딩: + +`ppmtosixel -7bit {{경로/대상/파일.ppm}} > {{경로/대상/파일.sixel}}` diff --git a/pages.ko/common/ppmtospu.md b/pages.ko/common/ppmtospu.md new file mode 100644 index 00000000000000..917d65dbb6fbe6 --- /dev/null +++ b/pages.ko/common/ppmtospu.md @@ -0,0 +1,12 @@ +# ppmtospu + +> PPM 파일을 Atari Spectrum 512 이미지로 변환. +> 더 많은 정보: . + +- PPM 파일을 Atari Spectrum 512 이미지로 변환: + +`ppmtospu {{경로/대상/입력.ppm}} > {{경로/대상/출력.spu}}` + +- 지정된 크기의 디더링 매트릭스를 사용 (0은 디더링 없음): + +`ppmtospu -d{{0|2|4}} {{경로/대상/입력.ppm}} > {{경로/대상/출력.spu}}` diff --git a/pages.ko/common/ppmtoterm.md b/pages.ko/common/ppmtoterm.md new file mode 100644 index 00000000000000..37616f64e5f3bd --- /dev/null +++ b/pages.ko/common/ppmtoterm.md @@ -0,0 +1,9 @@ +# ppmtoterm + +> PPM 이미지를 ANSI ISO 6429 ASCII 이미지로 변환. +> 같이 보기: `ppmtoascii`, `pbmtoascii`, `pbmto4425`. +> 더 많은 정보: . + +- 각 픽셀을 개별 문자에 매핑하여 PPM 이미지를 ANSI ISO 6429 ASCII 이미지로 변환: + +`ppmtoterm {{경로/대상/입력.ppm}} > {{경로/대상/출력.txt}}` diff --git a/pages.ko/common/ppmtotga.md b/pages.ko/common/ppmtotga.md new file mode 100644 index 00000000000000..fbb1907fbacd72 --- /dev/null +++ b/pages.ko/common/ppmtotga.md @@ -0,0 +1,8 @@ +# ppmtotga + +> 이 명령은 `pamtotga`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamtotga` diff --git a/pages.ko/common/ppmtouil.md b/pages.ko/common/ppmtouil.md new file mode 100644 index 00000000000000..f064f6bddf2eb3 --- /dev/null +++ b/pages.ko/common/ppmtouil.md @@ -0,0 +1,8 @@ +# ppmtouil + +> 이 명령은 `pamtouil`로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamtouil` diff --git a/pages.ko/common/ppmtowinicon.md b/pages.ko/common/ppmtowinicon.md new file mode 100644 index 00000000000000..37ed7b75d55bce --- /dev/null +++ b/pages.ko/common/ppmtowinicon.md @@ -0,0 +1,8 @@ +# ppmtowinicon + +> 이 명령은 `pamtowinicon`에 의해 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr pamtowinicon` diff --git a/pages.ko/common/ppmtoxpm.md b/pages.ko/common/ppmtoxpm.md new file mode 100644 index 00000000000000..a383e2dda19952 --- /dev/null +++ b/pages.ko/common/ppmtoxpm.md @@ -0,0 +1,20 @@ +# ppmtoxpm + +> PPM 이미지를 X11 버전 3 픽스맵으로 변환. +> 더 많은 정보: . + +- PPM 이미지를 XPM 이미지로 변환: + +`ppmtoxpm {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.xpm}}` + +- 출력 XPM 이미지에서 접두사 문자열 지정: + +`ppmtoxpm -name {{접두사_문자열}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.xpm}}` + +- 출력 XPM 파일에서 색상을 이름 대신 16진수 코드로 지정: + +`ppmtoxpm -hexonly {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.xpm}}` + +- 지정된 PGM 파일을 투명 마스크로 사용: + +`ppmtoxpm -alphamask {{경로/대상/알파_파일.pgm}} {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.xpm}}` diff --git a/pages.ko/common/ppmtoyuv.md b/pages.ko/common/ppmtoyuv.md new file mode 100644 index 00000000000000..4216d1b5dfec16 --- /dev/null +++ b/pages.ko/common/ppmtoyuv.md @@ -0,0 +1,8 @@ +# ppmtoyuv + +> PPM 이미지를 Abekas YUV 파일로 변환. +> 더 많은 정보: . + +- 입력 파일에서 PPM 이미지를 읽고, Abekas YUV 이미지로 변환하여 지정된 출력 파일에 저장: + +`ppmtoyuv {{경로/대상/입력_파일.ppm}} > {{경로/대상/출력_파일.yuv}}` diff --git a/pages.ko/common/ppmtoyuvsplit.md b/pages.ko/common/ppmtoyuvsplit.md new file mode 100644 index 00000000000000..705e092df797fa --- /dev/null +++ b/pages.ko/common/ppmtoyuvsplit.md @@ -0,0 +1,8 @@ +# ppmtoyuvsplit + +> PPM 이미지를 세 개의 서브샘플링된 Abekas YUV 파일로 변환. +> 더 많은 정보: . + +- 입력 파일에서 PPM 이미지를 읽고, 이를 세 개의 서브샘플링된 Abekas YUV 이미지로 변환하여 지정된 기본 이름으로 시작하는 출력 파일들에 저장: + +`ppmtoyuvsplit {{기본_이름}} {{경로/대상/입력_파일.ppm}}` diff --git a/pages.ko/common/ppmtv.md b/pages.ko/common/ppmtv.md new file mode 100644 index 00000000000000..70b0b621b9eac6 --- /dev/null +++ b/pages.ko/common/ppmtv.md @@ -0,0 +1,17 @@ +# ppmtv + +> PPM 이미지를 미국 TV에서 찍은 것처럼 보이게 만듭니다. +> 이미지 데이터의 모든 다른 행을 지정된 감쇠 계수(0과 1 사이의 숫자)로 줄입니다. +> 더 많은 정보: . + +- PPM 이미지에 미국 TV 효과 적용: + +`ppmtv {{감쇠_계수}} {{경로/대상/파일.ppm}} > {{경로/대상/출력.ppm}}` + +- 모든 정보 메시지 억제: + +`ppmtv -quiet` + +- 버전 표시: + +`ppmtv -version` diff --git a/pages.ko/common/pppd.md b/pages.ko/common/pppd.md new file mode 100644 index 00000000000000..8c48de1faa6c9c --- /dev/null +++ b/pages.ko/common/pppd.md @@ -0,0 +1,9 @@ +# pppd + +> 다른 컴퓨터와 포인트 투 포인트 연결을 설정. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`pppd` diff --git a/pages.ko/common/pprof.md b/pages.ko/common/pprof.md new file mode 100644 index 00000000000000..e51ae80137e3c8 --- /dev/null +++ b/pages.ko/common/pprof.md @@ -0,0 +1,24 @@ +# pprof + +> 프로파일 데이터의 시각화 및 분석을 위한 명령줄 도구. +> 더 많은 정보: . + +- 특정 프로파일링 파일에서 텍스트 보고서 생성, fibbo 바이너리에 대해: + +`pprof -top {{./fibbo}} {{./fibbo-프로필.pb.gz}}` + +- 그래프를 생성하고 웹 브라우저에서 열기: + +`pprof -svg {{./fibbo}} {{./fibbo-프로필.pb.gz}}` + +- 대화형 모드에서 pprof 실행하여 파일에 수동으로 `pprof` 실행 가능: + +`pprof {{./fibbo}} {{./fibbo-프로필.pb.gz}}` + +- `pprof` 위에 웹 인터페이스를 제공하는 웹 서버 실행: + +`pprof -http={{localhost:8080}} {{./fibbo}} {{./fibbo-프로필.pb.gz}}` + +- HTTP 서버에서 프로파일을 가져와 보고서 생성: + +`pprof {{http://localhost:8080/debug/pprof}}` diff --git a/pages.ko/common/pr.md b/pages.ko/common/pr.md new file mode 100644 index 00000000000000..9e3c524c1268bc --- /dev/null +++ b/pages.ko/common/pr.md @@ -0,0 +1,28 @@ +# pr + +> 파일을 인쇄용으로 페이지화하거나 열로 정렬. +> 더 많은 정보: . + +- 기본 헤더와 푸터로 여러 파일 인쇄: + +`pr {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 사용자 지정 가운데 정렬 헤더로 인쇄: + +`pr {{[-h|--header]}} "{{헤더}}" {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 번호가 매겨진 줄과 사용자 지정 날짜 형식으로 인쇄: + +`pr {{[-n|--number-lines]}} {{[-D|--date-format]}} "{{형식}}" {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 모든 파일을 각각 하나의 열에 헤더나 푸터 없이 인쇄: + +`pr {{[-m|--merge]}} {{[-T|--omit-pagination]}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 페이지 길이(헤더와 푸터 포함)를 지정하여 페이지 2에서 페이지 5까지 인쇄: + +`pr +2:5 {{[-l|--length]}} {{페이지_길이}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 각 줄에 대한 오프셋과 잘리는 사용자 지정 페이지 너비로 인쇄: + +`pr {{[-o|--indent]}} {{오프셋}} {{[-W|--page_width]}} {{너비}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/pre-commit.md b/pages.ko/common/pre-commit.md new file mode 100644 index 00000000000000..7c5dcab53e4f16 --- /dev/null +++ b/pages.ko/common/pre-commit.md @@ -0,0 +1,20 @@ +# pre-commit + +> 커밋 전에 실행되는 Git 훅을 생성. +> 더 많은 정보: . + +- Git 훅에 pre-commit 설치: + +`pre-commit install` + +- 모든 스테이지된 파일에 pre-commit 훅 실행: + +`pre-commit run` + +- 스테이지 여부와 상관없이 모든 파일에 pre-commit 훅 실행: + +`pre-commit run --all-files` + +- pre-commit 캐시 정리: + +`pre-commit clean` diff --git a/pages.ko/common/prettier.md b/pages.ko/common/prettier.md new file mode 100644 index 00000000000000..fcab26b0ac2c8c --- /dev/null +++ b/pages.ko/common/prettier.md @@ -0,0 +1,28 @@ +# prettier + +> JavaScript, JSON, CSS, YAML 등을 위한 명시적인 코드 포맷 도구. +> 더 많은 정보: . + +- 파일 형식을 지정하고 결과를 `stdout`으로 출력: + +`prettier {{경로/대상/파일}}` + +- 특정 파일의 형식이 지정되었는지 확인: + +`prettier --check {{경로/대상/파일}}` + +- 특정 구성 파일로 실행: + +`prettier --config {{경로/대상/설정_파일}} {{경로/대상/파일}}` + +- 파일이나 폴더를 포맷하여 원본을 대체: + +`prettier --write {{경로/대상/파일_또는_폴더}}` + +- 작은따옴표를 사용하고 후행 쉼표를 사용하지 않고 파일 또는 폴더 형식을 반복적으로 지정: + +`prettier --single-quote --trailing-comma {{none}} --write {{경로/대상/파일_또는_폴더}}` + +- JavaScript 및 TypeScript 파일의 형식을 재귀적으로 지정하여 원본 대체: + +`prettier --write "**/*.{js,jsx,ts,tsx}"` diff --git a/pages.ko/common/pretty-bytes.md b/pages.ko/common/pretty-bytes.md new file mode 100644 index 00000000000000..744b6a159a8503 --- /dev/null +++ b/pages.ko/common/pretty-bytes.md @@ -0,0 +1,16 @@ +# pretty-bytes + +> 바이트를 사람이 읽기 쉬운 문자열로 변환. +> 더 많은 정보: . + +- 숫자 바이트 값을 사람이 읽기 쉬운 문자열로 변환: + +`pretty-bytes {{1337}}` + +- `stdin`에서 숫자 바이트 값을 받아 사람이 읽기 쉬운 문자열로 변환: + +`echo {{1337}} | pretty-bytes` + +- 도움말 표시: + +`pretty-bytes --help` diff --git a/pages.ko/common/printenv.md b/pages.ko/common/printenv.md new file mode 100644 index 00000000000000..1238e6357991e5 --- /dev/null +++ b/pages.ko/common/printenv.md @@ -0,0 +1,16 @@ +# printenv + +> 모든 환경 변수 또는 지정된 환경 변수의 값을 출력. +> 더 많은 정보: . + +- 모든 환경 변수의 키-값 쌍 출력: + +`printenv` + +- 특정 변수의 값 출력: + +`printenv {{HOME}}` + +- 변수를 출력하고 줄바꿈 대신 NUL로 끝내기: + +`printenv {{[-0|--null]}} {{HOME}}` diff --git a/pages.ko/common/printf.md b/pages.ko/common/printf.md new file mode 100644 index 00000000000000..2a793c91322a43 --- /dev/null +++ b/pages.ko/common/printf.md @@ -0,0 +1,28 @@ +# printf + +> 텍스트를 형식화하여 출력. +> 더 많은 정보: . + +- 텍스트 메시지 출력: + +`printf "{{%s\n}}" "{{Hello world}}"` + +- 정수를 굵은 파란색으로 출력: + +`printf "{{\e[1;34m%.3d\e[0m\n}}" {{42}}` + +- 유로 기호와 함께 실수 출력: + +`printf "{{\u20AC %.2f\n}}" {{123.4}}` + +- 환경 변수를 사용하여 구성된 텍스트 메시지 출력: + +`printf "{{var1: %s\tvar2: %s\n}}" "{{$VAR1}}" "{{$VAR2}}"` + +- 형식화된 메시지를 변수에 저장 (Zsh에서는 작동하지 않음): + +`printf -v {{myvar}} {{"This is %s = %d\n" "a year" 2016}}` + +- 16진수, 8진수 및 과학적 표기법 숫자 출력: + +`printf "{{hex=%x octal=%o scientific=%e}}" 0x{{FF}} 0{{377}} {{100000}}` diff --git a/pages.ko/common/procs.md b/pages.ko/common/procs.md new file mode 100644 index 00000000000000..071b1cf56f79b8 --- /dev/null +++ b/pages.ko/common/procs.md @@ -0,0 +1,28 @@ +# procs + +> 활성 프로세스에 대한 정보를 표시. +> 더 많은 정보: . + +- PID, 사용자, CPU 사용량, 메모리 사용량 및 시작한 명령을 보여주는 모든 프로세스 나열: + +`procs` + +- 트리 형태로 모든 프로세스 나열: + +`procs --tree` + +- 시작한 명령에 Zsh가 포함된 프로세스 정보 나열: + +`procs {{zsh}}` + +- CPU 시간으로 [a]scending 또는 [d]escending 순서로 정렬된 모든 프로세스 정보 나열: + +`procs {{--sorta|--sortd}} cpu` + +- PID, 명령 또는 사용자에 `41` 또는 `firefox`가 포함된 프로세스 정보 나열: + +`procs --or {{PID|command|user}} {{41}} {{firefox}}` + +- PID `41`과 명령 또는 사용자에 `zsh`가 포함된 프로세스 정보 나열: + +`procs --and {{41}} {{zsh}}` diff --git a/pages.ko/common/progpilot.md b/pages.ko/common/progpilot.md new file mode 100644 index 00000000000000..d35de239d0fd87 --- /dev/null +++ b/pages.ko/common/progpilot.md @@ -0,0 +1,16 @@ +# progpilot + +> PHP 보안 취약점을 감지하기 위한 정적 분석 도구. +> 더 많은 정보: . + +- 현재 디렉터리 분석: + +`progpilot` + +- 특정 파일 또는 디렉터리 분석: + +`progpilot {{경로/대상/파일_또는_디렉터리}}` + +- 사용자 정의 구성 파일 지정: + +`progpilot --configuration {{경로/대상/구성.yml}}` diff --git a/pages.ko/common/progress.md b/pages.ko/common/progress.md new file mode 100644 index 00000000000000..46f9b43e95e27a --- /dev/null +++ b/pages.ko/common/progress.md @@ -0,0 +1,20 @@ +# progress + +> 실행 중인 coreutils의 진행 상태를 표시/모니터링. +> 더 많은 정보: . + +- 실행 중인 coreutils의 진행 상태 표시: + +`progress` + +- 조용한 모드로 실행 중인 coreutils의 진행 상태 표시: + +`progress -q` + +- 단일 장기 실행 명령을 시작하고 모니터링: + +`{{명령}} & progress --monitor --pid $!` + +- 완료까지 남은 시간 추정 포함: + +`progress --wait --command {{firefox}}` diff --git a/pages.ko/common/projucer.md b/pages.ko/common/projucer.md new file mode 100644 index 00000000000000..18c5bfce76a3f1 --- /dev/null +++ b/pages.ko/common/projucer.md @@ -0,0 +1,28 @@ +# Projucer + +> JUCE 프레임워크 애플리케이션을 위한 프로젝트 관리자. +> 더 많은 정보: . + +- 프로젝트에 대한 정보 표시: + +`Projucer --status {{경로/대상/프로젝트_파일}}` + +- 프로젝트의 모든 파일 및 리소스 다시 저장: + +`Projucer --resave {{경로/대상/프로젝트_파일}}` + +- 프로젝트의 버전 번호 업데이트: + +`Projucer --set-version {{버전_번호}} {{경로/대상/프로젝트_파일}}` + +- PIP 파일에서 JUCE 프로젝트 생성: + +`Projucer --create-project-from-pip {{경로/대상/PIP}} {{경로/대상/출력}}` + +- 모든 JUCE 스타일 주석 (`//=====`, `//-----` 또는 `///////`) 제거: + +`Projucer --tidy-divider-comments {{경로/대상/대상_폴더}}` + +- 도움말 표시: + +`Projucer --help` diff --git a/pages.ko/common/promtool.md b/pages.ko/common/promtool.md new file mode 100644 index 00000000000000..f6006a05ae2b0a --- /dev/null +++ b/pages.ko/common/promtool.md @@ -0,0 +1,20 @@ +# promtool + +> Prometheus 모니터링 시스템을 위한 도구. +> 더 많은 정보: . + +- 구성 파일이 유효한지 여부 확인 (오류가 있을 경우 보고): + +`promtool check config {{구성_파일.yml}}` + +- 규칙 파일이 유효한지 여부 확인 (오류가 있을 경우 보고): + +`promtool check rules {{규칙_파일.yml}}` + +- `stdin`을 통해 Prometheus 메트릭을 전달하여 일관성과 정확성을 확인: + +`curl --silent {{http://example.com:9090/metrics/}} | promtool check metrics` + +- 규칙 구성에 대한 단위 테스트: + +`promtool test rules {{테스트_파일.yml}}` diff --git a/pages.ko/common/prosodyctl.md b/pages.ko/common/prosodyctl.md new file mode 100644 index 00000000000000..a31a898e574a08 --- /dev/null +++ b/pages.ko/common/prosodyctl.md @@ -0,0 +1,25 @@ +# prosodyctl + +> Prosody XMPP 서버의 제어 도구. +> 참고: `prosodyctl`을 통한 프로세스 관리는 권장되지 않습니다. 대신, 시스템에서 제공하는 도구(예: `systemctl`)를 사용하세요. +> 더 많은 정보: . + +- Prosody 서버의 상태 표시: + +`sudo prosodyctl status` + +- 서버의 구성 파일 다시 로드: + +`sudo prosodyctl reload` + +- Prosody XMPP 서버에 사용자 추가: + +`sudo prosodyctl adduser {{user@example.com}}` + +- 사용자의 비밀번호 설정: + +`sudo prosodyctl passwd {{user@example.com}}` + +- 사용자를 영구적으로 삭제: + +`sudo prosodyctl deluser {{user@example.com}}` diff --git a/pages.ko/common/protector.md b/pages.ko/common/protector.md new file mode 100644 index 00000000000000..e888a08319996f --- /dev/null +++ b/pages.ko/common/protector.md @@ -0,0 +1,16 @@ +# protector + +> GitHub 저장소의 브랜치를 보호하거나 보호 해제. +> 더 많은 정보: . + +- GitHub 저장소의 브랜치 보호 (브랜치 보호 규칙 생성): + +`protector {{브랜치_정규식}} -repos {{조직/저장소}}` + +- 보호될 브랜치 미리보기 (해제에도 사용 가능): + +`protector -dry-run {{브랜치_정규식}} -repos {{조직/저장소}}` + +- GitHub 저장소의 브랜치 보호 해제 (브랜치 보호 규칙 삭제): + +`protector -free {{브랜치_정규식}} -repos {{조직/저장소}}` diff --git a/pages.ko/common/protoc.md b/pages.ko/common/protoc.md new file mode 100644 index 00000000000000..3d7bd8c5c49e4e --- /dev/null +++ b/pages.ko/common/protoc.md @@ -0,0 +1,16 @@ +# protoc + +> Google Protobuf `.proto` 파일을 파싱하고 지정된 언어로 출력을 생성. +> 더 많은 정보: . + +- `.proto` 파일에서 Python 코드를 생성: + +`protoc --python_out={{경로/대상/출력_폴더}} {{입력_파일.proto}}` + +- 다른 `.proto` 파일을 가져오는 `.proto` 파일에서 Java 코드를 생성: + +`protoc --java_out={{경로/대상/출력_폴더}} --proto_path={{경로/대상/가져오기_탐색_경로}} {{입력_파일.proto}}` + +- 여러 언어에 대한 코드 생성: + +`protoc --csharp_out={{경로/대상/c#_출력_폴더}} --js_out={{경로/대상/js_출력_폴더}} {{입력_파일.proto}}` diff --git a/pages.ko/common/prqlc.md b/pages.ko/common/prqlc.md new file mode 100644 index 00000000000000..b989adc5400624 --- /dev/null +++ b/pages.ko/common/prqlc.md @@ -0,0 +1,25 @@ +# prqlc + +> PRQL 컴파일러. +> PRQL은 데이터를 변환하기 위한 현대적인 언어로, 간단하고 강력한 파이프라인 SQL 대체 언어입니다. +> 더 많은 정보: . + +- 대화형으로 컴파일러 실행: + +`prqlc compile` + +- 특정 `.prql` 파일을 `stdout`으로 컴파일: + +`prqlc compile {{경로/대상/파일.prql}}` + +- `.prql` 파일을 `.sql` 파일로 컴파일: + +`prqlc compile {{경로/대상/소스.prql}} {{경로/대상/타겟.sql}}` + +- 쿼리 컴파일: + +`echo "{{from employees | filter has_dog | select salary}}" | prqlc compile` + +- 디렉터리를 감시하고 파일 수정 시 컴파일: + +`prqlc watch {{경로/대상/폴더}}` diff --git a/pages.ko/common/ps-nvm.md b/pages.ko/common/ps-nvm.md new file mode 100644 index 00000000000000..26a25243a031d8 --- /dev/null +++ b/pages.ko/common/ps-nvm.md @@ -0,0 +1,29 @@ +# ps-nvm + +> PowerShell 기반의 여러 Node.js 버전 관리 도구로, `nvm`에서 영감을 받았습니다. +> 이 도구는 PowerShell을 통해서만 실행할 수 있는 여러 명령어를 제공합니다. +> 더 많은 정보: . + +- 현재 Node.js 설치 위치를 얻기 위한 도구인 `Get-NodeInstallLocation`의 문서 보기: + +`tldr get-nodeinstalllocation` + +- 사용 가능하고 현재 설치된 모든 Node.js 버전을 나열하는 도구인 `Get-NodeVersions`의 문서 보기: + +`tldr get-nodeversions` + +- Node.js 런타임 버전을 설치하는 도구인 `Install-NodeVersion`의 문서 보기: + +`tldr install-nodeversion` + +- 기존 Node.js 버전을 제거하는 도구인 `Remove-NodeVersion`의 문서 보기: + +`tldr remove-nodeversion` + +- Node.js 설치 위치를 설정하는 도구인 `Set-NodeInstallLocation`의 문서 보기: + +`tldr set-nodeinstalllocation` + +- Node.js의 기본 버전을 설정하는 도구인 `Set-NodeVersion`의 문서 보기: + +`tldr set-nodeversion` diff --git a/pages.ko/common/ps.md b/pages.ko/common/ps.md new file mode 100644 index 00000000000000..0a0f4b2f5646f1 --- /dev/null +++ b/pages.ko/common/ps.md @@ -0,0 +1,32 @@ +# ps + +> 실행 중인 프로세스에 대한 정보입니다. +> 더 많은 정보: . + +- 실행 중인 모든 프로세스를 나열: + +`ps aux` + +- 전체 명령 문자열을 포함하여 실행 중인 모든 프로세스 나열: + +`ps auxww` + +- 문자열과 일치하는 프로세스 검색: + +`ps aux | grep {{문자열}}` + +- 추가 전체 형식으로 현재 사용자의 모든 프로세스를 나열: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) -F` + +- 현재 사용자의 모든 프로세스를 트리로 나열: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) f` + +- 프로세스의 상위 PID 가져오기: + +`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{pid}}` + +- 메모리 소비를 기준으로 프로세스 정렬: + +`ps --sort size` diff --git a/pages.ko/common/psalm.md b/pages.ko/common/psalm.md new file mode 100644 index 00000000000000..d592d5c656d871 --- /dev/null +++ b/pages.ko/common/psalm.md @@ -0,0 +1,32 @@ +# psalm + +> PHP 애플리케이션에서 오류를 찾기 위한 정적 분석 도구. +> 더 많은 정보: . + +- Psalm 구성 생성: + +`psalm --init` + +- 현재 작업 디렉터리 분석: + +`psalm` + +- 특정 디렉터리나 파일 분석: + +`psalm {{경로/대상/파일_또는_폴더}}` + +- 특정 구성 파일을 사용하여 프로젝트 분석: + +`psalm --config {{경로/대상/psalm.xml}}` + +- 출력에 정보성 결과 포함: + +`psalm --show-info` + +- 프로젝트를 분석하고 통계 표시: + +`psalm --stats` + +- 4개의 스레드로 병렬 프로젝트 분석: + +`psalm --threads {{4}}` diff --git a/pages.ko/common/psgrep.md b/pages.ko/common/psgrep.md new file mode 100644 index 00000000000000..67797b80fd8de8 --- /dev/null +++ b/pages.ko/common/psgrep.md @@ -0,0 +1,16 @@ +# psgrep + +> 실행 중인 프로세스를 `grep`으로 검색. +> 더 많은 정보: . + +- 특정 문자열이 포함된 프로세스 라인 찾기: + +`psgrep {{프로세스_이름}}` + +- 헤더를 제외하고 특정 문자열이 포함된 프로세스 라인 찾기: + +`psgrep -n {{프로세스_이름}}` + +- 간단한 형식으로 검색 (PID, 사용자, 명령어): + +`psgrep -s {{프로세스_이름}}` diff --git a/pages.ko/common/psidtopgm.md b/pages.ko/common/psidtopgm.md new file mode 100644 index 00000000000000..f3155b7e4fcbd1 --- /dev/null +++ b/pages.ko/common/psidtopgm.md @@ -0,0 +1,8 @@ +# psidtopgm + +> PostScript 이미지 데이터를 PGM 이미지로 변환. +> 더 많은 정보: . + +- PS 파일의 이미지 데이터를 지정된 크기와 품질의 PGM 이미지로 변환: + +`psidtopgm {{너비}} {{높이}} {{샘플당_비트}} {{경로/대상/파일.ps}} > {{경로/대상/이미지.pgm}}` diff --git a/pages.ko/common/psql.md b/pages.ko/common/psql.md new file mode 100644 index 00000000000000..bcfbebd7a2c12d --- /dev/null +++ b/pages.ko/common/psql.md @@ -0,0 +1,24 @@ +# psql + +> PostgreSQL 명령줄 클라이언트. +> 더 많은 정보: . + +- 데이터베이스에 연결. 기본적으로, 현재 로그인한 사용자로 포트 5432를 사용하여 로컬 소켓에 연결: + +`psql {{데이터베이스}}` + +- 주어진 서버 호스트에서 주어진 포트로 주어진 사용자 명으로 데이터베이스에 연결, 비밀번호 입력은 생략: + +`psql -h {{호스트}} -p {{포트}} -U {{사용자_명}} {{데이터베이스}}` + +- 데이터베이스에 연결; 사용자는 비밀번호를 입력해야 함: + +`psql -h {{호스트}} -p {{포트}} -U {{사용자_명}} -W {{데이터베이스}}` + +- 주어진 데이터베이스에서 단일 SQL 쿼리 또는 PostgreSQL 명령 실행 (쉘 스크립트에 유용): + +`psql -c '{{쿼리}}' {{데이터베이스}}` + +- 주어진 데이터베이스에서 파일로부터 명령 실행: + +`psql {{데이터베이스}} -f {{파일.sql}}` diff --git a/pages.ko/common/pssh.md b/pages.ko/common/pssh.md new file mode 100644 index 00000000000000..e0212a8e77dea8 --- /dev/null +++ b/pages.ko/common/pssh.md @@ -0,0 +1,28 @@ +# pssh + +> 병렬 SSH 프로그램. +> 더 많은 정보: . + +- 두 호스트에서 명령을 실행하고 각 서버의 출력을 인라인으로 출력: + +`pssh -i -H "{{호스트1}} {{호스트2}}" {{hostname -i}}` + +- 명령을 실행하고 출력을 개별 파일에 저장: + +`pssh -H {{호스트1}} -H {{호스트2}} -o {{경로/대상/출력_폴더}} {{hostname -i}}` + +- 줄바꿈으로 구분된 파일에 지정된 여러 호스트에서 명령 실행: + +`pssh -i -h {{경로/대상/호스트_파일}} {{hostname -i}}` + +- root 사용자로 명령 실행 (root 비밀번호를 입력해야 함): + +`pssh -i -h {{경로/대상/호스트_파일}} -A -l {{루트_사용자명}} {{hostname -i}}` + +- 추가 SSH 인수를 사용하여 명령 실행: + +`pssh -i -h {{경로/대상/호스트_파일}} -x "{{-O VisualHostKey=yes}}" {{hostname -i}}` + +- 병렬 연결 수를 10으로 제한하여 명령 실행: + +`pssh -i -h {{경로/대상/호스트_파일}} -p {{10}} '{{cd dir; ./스크립트.sh; exit}}'` diff --git a/pages.ko/common/pstopnm.md b/pages.ko/common/pstopnm.md new file mode 100644 index 00000000000000..1a153eb01833fb --- /dev/null +++ b/pages.ko/common/pstopnm.md @@ -0,0 +1,16 @@ +# pstopnm + +> PostScript 파일을 PNM 이미지로 변환. +> 더 많은 정보: . + +- PS 파일을 PNM 이미지로 변환하고 입력의 페이지 N을 `path/to/fileN.ppm`에 저장: + +`pstopnm {{경로/대상/파일.ps}}` + +- 출력 형식 명시적으로 지정: + +`pstopnm -{{pbm|pgm|ppm}} {{경로/대상/파일.ps}}` + +- 출력 해상도를 인치당 도트로 지정: + +`pstopnm -dpi {{n}} {{경로/대상/파일.ps}}` diff --git a/pages.ko/common/psysh.md b/pages.ko/common/psysh.md new file mode 100644 index 00000000000000..939c72f0a82300 --- /dev/null +++ b/pages.ko/common/psysh.md @@ -0,0 +1,16 @@ +# psysh + +> PHP용 런타임 개발자 콘솔, 대화형 디버거 및 REPL. +> 더 많은 정보: . + +- 현재 디렉토리에서 셸 열기: + +`psysh` + +- 특정 디렉토리에서 셸 열기: + +`psysh --cwd {{경로/대상/폴더}}` + +- 특정 구성 파일 사용: + +`psysh --config {{경로/대상/파일}}` diff --git a/pages.ko/common/pt.md b/pages.ko/common/pt.md new file mode 100644 index 00000000000000..a674094a990c1f --- /dev/null +++ b/pages.ko/common/pt.md @@ -0,0 +1,25 @@ +# pt + +> Platinum Searcher. +> `ag`와 유사한 코드 검색 도구. +> 더 많은 정보: . + +- "foo"를 포함하는 파일을 찾아 일치하는 부분을 강조하여 출력: + +`pt {{foo}}` + +- "foo"를 포함하는 파일을 찾아 각 파일의 일치 개수 표시: + +`pt -c {{foo}}` + +- "foo"를 단어 전체로 취급하고 대소문자 무시하여 찾기: + +`pt -wi {{foo}}` + +- 정규 표현식을 사용하여 특정 확장자를 가진 파일에서 "foo" 찾기: + +`pt -G='{{\.bar$}}' {{foo}}` + +- 최대 2단계 디렉토리 깊이까지 정규 표현식과 일치하는 파일 찾기: + +`pt --depth={{2}} -e '{{^ba[rz]*$}}'` diff --git a/pages.ko/common/ptargrep.md b/pages.ko/common/ptargrep.md new file mode 100644 index 00000000000000..e8b949b8e11ab3 --- /dev/null +++ b/pages.ko/common/ptargrep.md @@ -0,0 +1,16 @@ +# ptargrep + +> tar 아카이브 파일에서 정규 표현식 패턴 찾기. +> 더 많은 정보: . + +- 하나 이상의 tar 아카이브 내에서 패턴 검색: + +`ptargrep "{{검색_패턴}}" {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일의 기본 이름을 사용하여 현재 디렉토리에 추출: + +`ptargrep --basename "{{검색_패턴}}" {{경로/대상/파일}}` + +- tar 아카이브 내에서 대소문자를 구분하지 않고 패턴 검색: + +`ptargrep --ignore-case "{{검색_패턴}}" {{경로/대상/파일}}` diff --git a/pages.ko/common/ptpython.md b/pages.ko/common/ptpython.md new file mode 100644 index 00000000000000..9b4feb27739180 --- /dev/null +++ b/pages.ko/common/ptpython.md @@ -0,0 +1,32 @@ +# ptpython + +> 개선된 Python REPL. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`ptpython` + +- 특정 Python 파일 실행: + +`ptpython {{경로/대상/파일.py}}` + +- 특정 Python 파일을 실행하고 REPL 시작: + +`ptpython {{[-i|--interactive]}} {{경로/대상/파일.py}}` + +- 메뉴 열기: + +`` + +- 기록 페이지 열기: + +`` + +- 붙여넣기 모드 전환: + +`` + +- 종료: + +`` diff --git a/pages.ko/common/ptpython3.md b/pages.ko/common/ptpython3.md new file mode 100644 index 00000000000000..19eb2c4672c22d --- /dev/null +++ b/pages.ko/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> 이 명령은 `ptpython` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ptpython` diff --git a/pages.ko/common/pueue-add.md b/pages.ko/common/pueue-add.md new file mode 100644 index 00000000000000..9a1134294120b1 --- /dev/null +++ b/pages.ko/common/pueue-add.md @@ -0,0 +1,28 @@ +# pueue add + +> 실행할 작업을 대기열에 추가. +> 더 많은 정보: . + +- 기본 대기열에 임의의 명령 추가: + +`pueue add {{명령어}}` + +- 플래그 또는 인수를 명령에 전달하여 대기열에 추가: + +`pueue add -- {{명령어 --인수 -f}}` + +- 대기열에서 첫 번째인 경우 시작하지 않도록 명령 추가: + +`pueue add --stashed -- {{rsync --archive --compress /local/directory /remote/directory}}` + +- 그룹에 명령 추가 및 즉시 시작, 그룹 관리에 대해서는 `pueue group` 참고: + +`pueue add --immediate --group "{{CPU_집중}}" -- {{ffmpeg -i input.mp4 frame_%d.png}}` + +- 명령 추가 및 9번과 12번 명령이 성공적으로 완료된 후 시작: + +`pueue add --after {{9}} {{12}} --group "{{토렌트}}" -- {{transmission-cli torrent_file.torrent}}` + +- 일정 시간 후 레이블을 붙여 명령 추가, 유효한 날짜 형식에 대해서는 `pueue enqueue` 참고: + +`pueue add --label "{{큰 파일 압축}}" --delay "{{수요일 10:30pm}}" -- "{{7z a compressed_file.7z large_file.xml}}"` diff --git a/pages.ko/common/pueue-clean.md b/pages.ko/common/pueue-clean.md new file mode 100644 index 00000000000000..e321431c42da2d --- /dev/null +++ b/pages.ko/common/pueue-clean.md @@ -0,0 +1,12 @@ +# pueue clean + +> 완료된 모든 작업을 목록에서 제거하고 로그를 삭제. +> 더 많은 정보: . + +- 완료된 작업 제거 및 로그 삭제: + +`pueue clean` + +- 성공적으로 완료된 명령만 정리: + +`pueue clean --successful-only` diff --git a/pages.ko/common/pueue-completions.md b/pages.ko/common/pueue-completions.md new file mode 100644 index 00000000000000..b50fd6d05de058 --- /dev/null +++ b/pages.ko/common/pueue-completions.md @@ -0,0 +1,16 @@ +# pueue completions + +> Bash, Elvish, Fish, PowerShell, Zsh용 셸 자동 완성 파일 생성. +> 더 많은 정보: . + +- Bash용 자동 완성 파일 생성: + +`sudo pueue completions bash {{/usr/share/bash-completion/completions/pueue.bash}}` + +- Zsh용 자동 완성 파일 생성: + +`sudo pueue completions zsh {{/usr/share/zsh/site-functions}}` + +- Fish용 자동 완성 파일 생성: + +`sudo pueue completions fish {{/usr/share/fish/completions}}` diff --git a/pages.ko/common/pueue-edit.md b/pages.ko/common/pueue-edit.md new file mode 100644 index 00000000000000..639b5f5d1f0f04 --- /dev/null +++ b/pages.ko/common/pueue-edit.md @@ -0,0 +1,16 @@ +# pueue edit + +> 저장되거나 대기 중인 작업의 명령어나 경로를 편집. +> 더 많은 정보: . + +- 작업 편집, 작업 ID를 확인하려면 `pueue status` 사용: + +`pueue edit {{작업_아이디}}` + +- 작업이 실행되는 경로 편집: + +`pueue edit {{작업_아이디}} --path` + +- 지정된 편집기로 명령어 편집: + +`EDITOR={{nano}} pueue edit {{작업_아이디}}` diff --git a/pages.ko/common/pueue-enqueue.md b/pages.ko/common/pueue-enqueue.md new file mode 100644 index 00000000000000..421a14c2560a07 --- /dev/null +++ b/pages.ko/common/pueue-enqueue.md @@ -0,0 +1,29 @@ +# pueue enqueue + +> 저장된 작업을 대기열에 추가. +> 같이 보기: `pueue stash`. +> 더 많은 정보: . + +- 여러 저장된 작업을 한 번에 대기열에 추가: + +`pueue enqueue {{작업_아이디}} {{작업_아이디}}` + +- 60초 후에 저장된 작업을 대기열에 추가: + +`pueue enqueue --delay {{60}} {{작업_아이디}}` + +- 다음 수요일에 저장된 작업을 대기열에 추가: + +`pueue enqueue --delay {{wednesday}} {{작업_아이디}}` + +- 4개월 후에 저장된 작업을 대기열에 추가: + +`pueue enqueue --delay "4 months" {{작업_아이디}}` + +- 2021-02-19에 저장된 작업을 대기열에 추가: + +`pueue enqueue --delay {{2021-02-19}} {{작업_아이디}}` + +- 사용 가능한 모든 날짜/시간 형식 나열: + +`pueue enqueue --help` diff --git a/pages.ko/common/pueue-follow.md b/pages.ko/common/pueue-follow.md new file mode 100644 index 00000000000000..7d983fdc324f26 --- /dev/null +++ b/pages.ko/common/pueue-follow.md @@ -0,0 +1,13 @@ +# pueue follow + +> 현재 실행 중인 작업의 출력을 따라가기. +> 같이 보기: `pueue log`. +> 더 많은 정보: . + +- 작업의 출력(`stdout` + `stderr`)을 따라가기: + +`pueue follow {{작업_아이디}}` + +- 작업의 `stderr`를 따라가기: + +`pueue follow --err {{작업_아이디}}` diff --git a/pages.ko/common/pueue-group.md b/pages.ko/common/pueue-group.md new file mode 100644 index 00000000000000..8dcd6eb95cbfb8 --- /dev/null +++ b/pages.ko/common/pueue-group.md @@ -0,0 +1,16 @@ +# pueue group + +> 그룹 표시, 추가 또는 제거. +> 더 많은 정보: . + +- 모든 그룹과 그 상태 및 병렬 작업 수 표시: + +`pueue group` + +- 사용자 정의 그룹 추가: + +`pueue group --add "{{그룹_이름}}"` + +- 그룹 제거 및 해당 작업을 기본 그룹으로 이동: + +`pueue group --remove "{{그룹_이름}}"` diff --git a/pages.ko/common/pueue-help.md b/pages.ko/common/pueue-help.md new file mode 100644 index 00000000000000..c7ae7040ff3f2d --- /dev/null +++ b/pages.ko/common/pueue-help.md @@ -0,0 +1,12 @@ +# pueue help + +> 하위 명령에 대한 도움말 표시. +> 더 많은 정보: . + +- 사용 가능한 모든 하위 명령 및 플래그 표시: + +`pueue help` + +- 특정 하위 명령에 대한 도움말 표시: + +`pueue help {{하위_명령}}` diff --git a/pages.ko/common/pueue-kill.md b/pages.ko/common/pueue-kill.md new file mode 100644 index 00000000000000..926d5344a9088f --- /dev/null +++ b/pages.ko/common/pueue-kill.md @@ -0,0 +1,24 @@ +# pueue kill + +> 실행 중인 작업이나 전체 그룹을 종료. +> 더 많은 정보: . + +- 기본 그룹의 모든 작업 종료: + +`pueue kill` + +- 특정 작업 종료: + +`pueue kill {{작업_아이디}}` + +- 작업과 해당 자식 프로세스 모두 종료: + +`pueue kill --children {{작업_아이디}}` + +- 그룹의 모든 작업 종료 및 그룹 일시 중지: + +`pueue kill --group {{그룹_이름}}` + +- 모든 그룹의 모든 작업 종료 및 모든 그룹 일시 중지: + +`pueue kill --all` diff --git a/pages.ko/common/pueue-log.md b/pages.ko/common/pueue-log.md new file mode 100644 index 00000000000000..62453263e046d3 --- /dev/null +++ b/pages.ko/common/pueue-log.md @@ -0,0 +1,21 @@ +# pueue log + +> 하나 이상의 작업에 대한 로그 출력을 표시합니다. +> 같이 보기: `pueue status`. +> 더 많은 정보: . + +- 모든 작업의 마지막 몇 줄의 출력 표시: + +`pueue log` + +- 특정 작업의 전체 출력 표시: + +`pueue log {{작업_아이디}}` + +- 여러 작업의 마지막 몇 줄의 출력 표시: + +`pueue log {{작업_아이디}} {{작업_아이디}}` + +- 출력의 끝에서 특정 줄 수 만큼의 줄을 출력: + +`pueue log --lines {{number_of_lines}} {{작업_아이디}}` diff --git a/pages.ko/common/pueue-parallel.md b/pages.ko/common/pueue-parallel.md new file mode 100644 index 00000000000000..cd07c23782c14c --- /dev/null +++ b/pages.ko/common/pueue-parallel.md @@ -0,0 +1,12 @@ +# pueue parallel + +> 병렬로 실행할 수 있는 허용 작업 수 설정. +> 더 많은 정보: . + +- 기본 그룹에서 병렬로 실행할 수 있는 최대 작업 수 설정: + +`pueue parallel {{최대_병렬_작업_수}}` + +- 특정 그룹에서 병렬로 실행할 수 있는 최대 작업 수 설정: + +`pueue parallel --group {{그룹_이름}} {{최대_병렬_작업_수}}` diff --git a/pages.ko/common/pueue-pause.md b/pages.ko/common/pueue-pause.md new file mode 100644 index 00000000000000..edfb0c711610c7 --- /dev/null +++ b/pages.ko/common/pueue-pause.md @@ -0,0 +1,25 @@ +# pueue pause + +> 실행 중인 작업 또는 그룹 일시 중지. +> 같이 보기: `pueue start`. +> 더 많은 정보: . + +- 기본 그룹의 모든 작업 일시 중지: + +`pueue pause` + +- 실행 중인 작업 일시 중지: + +`pueue pause {{작업_아이디}}` + +- 실행 중인 작업과 그 직접적인 하위 작업 모두 일시 중지: + +`pueue pause --children {{작업_아이디}}` + +- 그룹 내 모든 작업을 일시 중지하고 새로운 작업 시작 방지: + +`pueue pause --group {{그룹_이름}}` + +- 모든 작업을 일시 중지하고 모든 그룹의 새로운 작업 시작 방지: + +`pueue pause --all` diff --git a/pages.ko/common/pueue-remove.md b/pages.ko/common/pueue-remove.md new file mode 100644 index 00000000000000..f393e2e3d7f523 --- /dev/null +++ b/pages.ko/common/pueue-remove.md @@ -0,0 +1,12 @@ +# pueue remove + +> 작업 목록에서 작업 제거. 실행 중이거나 일시 중지된 작업은 먼저 종료되어야 합니다. +> 더 많은 정보: . + +- 종료되거나 완료된 작업 제거: + +`pueue remove {{작업_아이디}}` + +- 여러 작업을 한 번에 제거: + +`pueue remove {{작업_아이디}} {{작업_아이디}}` diff --git a/pages.ko/common/pueue-reset.md b/pages.ko/common/pueue-reset.md new file mode 100644 index 00000000000000..ad52a179de61a5 --- /dev/null +++ b/pages.ko/common/pueue-reset.md @@ -0,0 +1,16 @@ +# pueue reset + +> 모든 작업을 종료하고 재설정. +> 더 많은 정보: . + +- 모든 작업을 종료하고 모든 것을 제거(로그, 상태, 그룹, 작업 ID): + +`pueue reset` + +- 모든 작업을 종료하고 그들의 자식 프로세스를 종료한 후 모든 것을 재설정: + +`pueue reset --children` + +- 확인을 요구하지 않고 재설정: + +`pueue reset --force` diff --git a/pages.ko/common/pueue-restart.md b/pages.ko/common/pueue-restart.md new file mode 100644 index 00000000000000..37884d525b9996 --- /dev/null +++ b/pages.ko/common/pueue-restart.md @@ -0,0 +1,28 @@ +# pueue restart + +> 작업을 다시 시작. +> 더 많은 정보: . + +- 특정 작업 다시 시작: + +`pueue restart {{작업_아이디}}` + +- 여러 작업을 한 번에 다시 시작하고 즉시 시작 (대기열에 넣지 않음): + +`pueue restart --start-immediately {{작업_아이디}} {{작업_아이디}}` + +- 다른 경로에서 특정 작업 다시 시작: + +`pueue restart --edit-path {{작업_아이디}}` + +- 다시 시작하기 전에 명령 편집: + +`pueue restart --edit {{작업_아이디}}` + +- 작업을 제자리에서 다시 시작 (별도의 작업으로 대기열에 넣지 않음): + +`pueue restart --in-place {{작업_아이디}}` + +- 실패한 모든 작업 다시 시작 및 저장: + +`pueue restart --all-failed --stashed` diff --git a/pages.ko/common/pueue-send.md b/pages.ko/common/pueue-send.md new file mode 100644 index 00000000000000..2866db0cc128df --- /dev/null +++ b/pages.ko/common/pueue-send.md @@ -0,0 +1,12 @@ +# pueue send + +> 작업에 입력을 전송. +> 더 많은 정보: . + +- 실행 중인 명령에 입력 전송: + +`pueue send {{작업_아이디}} "{{입력}}"` + +- y/N을 기대하는 작업에 확인 전송 (예: APT, cp): + +`pueue send {{작업_아이디}} {{y}}` diff --git a/pages.ko/common/pueue-shutdown.md b/pages.ko/common/pueue-shutdown.md new file mode 100644 index 00000000000000..7685aa054f5683 --- /dev/null +++ b/pages.ko/common/pueue-shutdown.md @@ -0,0 +1,9 @@ +# pueue shutdown + +> 원격으로 데몬 종료. +> 이 하위 명령은 데몬이 서비스 관리자로 시작되지 않은 경우에만 사용하세요. +> 더 많은 정보: . + +- 서비스 관리자를 사용하지 않고 데몬 종료: + +`pueue shutdown` diff --git a/pages.ko/common/pueue-start.md b/pages.ko/common/pueue-start.md new file mode 100644 index 00000000000000..97827574603941 --- /dev/null +++ b/pages.ko/common/pueue-start.md @@ -0,0 +1,25 @@ +# pueue start + +> 작업 또는 작업 그룹의 실행을 재개. +> 같이 보기: `pueue pause`. +> 더 많은 정보: . + +- 기본 그룹의 모든 작업 재개: + +`pueue start` + +- 특정 작업 재개: + +`pueue start {{작업_아이디}}` + +- 여러 작업을 동시에 재개: + +`pueue start {{작업_아이디}} {{작업_아이디}}` + +- 모든 작업과 그 하위 작업 재개: + +`pueue start --all --children` + +- 특정 그룹의 모든 작업 재개: + +`pueue start group {{그룹_이름}}` diff --git a/pages.ko/common/pueue-stash.md b/pages.ko/common/pueue-stash.md new file mode 100644 index 00000000000000..789c135944d367 --- /dev/null +++ b/pages.ko/common/pueue-stash.md @@ -0,0 +1,21 @@ +# pueue stash + +> 작업을 자동으로 시작하지 않도록 임시 저장. +> 같이 보기: `pueue start` 및 `pueue enqueue`. +> 더 많은 정보: . + +- 대기열에 있는 작업 임시 저장: + +`pueue stash {{작업_아이디}}` + +- 여러 작업을 한 번에 임시 저장: + +`pueue stash {{작업_아이디}} {{작업_아이디}}` + +- 임시 저장된 작업을 즉시 시작: + +`pueue start {{작업_아이디}}` + +- 선행 작업이 완료되면 실행하도록 작업 대기열에 추가: + +`pueue enqueue {{작업_아이디}}` diff --git a/pages.ko/common/pueue-status.md b/pages.ko/common/pueue-status.md new file mode 100644 index 00000000000000..82a54581e2a382 --- /dev/null +++ b/pages.ko/common/pueue-status.md @@ -0,0 +1,12 @@ +# pueue status + +> 모든 작업의 현재 상태 표시. +> 더 많은 정보: . + +- 모든 작업의 상태 표시: + +`pueue status` + +- 특정 그룹의 상태 표시: + +`pueue status --group {{그룹_이름}}` diff --git a/pages.ko/common/pueue-switch.md b/pages.ko/common/pueue-switch.md new file mode 100644 index 00000000000000..669904163abb66 --- /dev/null +++ b/pages.ko/common/pueue-switch.md @@ -0,0 +1,8 @@ +# pueue switch + +> 대기열에 있는 두 명령 또는 보관된 명령의 위치를 바꿉니다. +> 더 많은 정보: . + +- 두 작업의 우선순위 변경: + +`pueue switch {{작업_아이디1}} {{작업_아이디2}}` diff --git a/pages.ko/common/pueue.md b/pages.ko/common/pueue.md new file mode 100644 index 00000000000000..ea53203c9111ce --- /dev/null +++ b/pages.ko/common/pueue.md @@ -0,0 +1,17 @@ +# pueue + +> 장시간 실행되는 작업의 순차 및 병렬 실행을 위한 작업 관리 도구. +> `add`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 일반 도움말 및 사용 가능한 하위 명령 표시: + +`pueue --help` + +- pueue 하위 명령 실행: + +`pueue {{하위_명령}}` + +- pueue 버전 확인: + +`pueue --version` diff --git a/pages.ko/common/pulumi-about.md b/pages.ko/common/pulumi-about.md new file mode 100644 index 00000000000000..c702188f27c4db --- /dev/null +++ b/pages.ko/common/pulumi-about.md @@ -0,0 +1,20 @@ +# pulumi about + +> Pulumi 환경에 대한 정보 출력. +> 더 많은 정보: . + +- Pulumi 환경에 대한 정보 출력: + +`pulumi about` + +- Pulumi 환경에 대한 정보를 JSON 형식으로 출력: + +`pulumi about {{[-j|--json]}}` + +- 특정 스택의 Pulumi 환경에 대한 정보 출력: + +`pulumi about {{[-s|--stack]}} {{스택_이름}}` + +- 도움말 표시: + +`pulumi about {{[-h|--help]}}` diff --git a/pages.ko/common/pulumi-destroy.md b/pages.ko/common/pulumi-destroy.md new file mode 100644 index 00000000000000..7638a533b54b9c --- /dev/null +++ b/pages.ko/common/pulumi-destroy.md @@ -0,0 +1,28 @@ +# pulumi destroy + +> 스택 내의 모든 기존 리소스를 제거합니다. +> 더 많은 정보: . + +- 현재 스택의 모든 리소스를 제거: + +`pulumi destroy` + +- 특정 스택의 모든 리소스를 제거: + +`pulumi destroy {{[-s|--stack]}} {{스택}}` + +- 미리 보기 후 자동 승인하고 리소스를 제거: + +`pulumi destroy {{[-y|--yes]}}` + +- 보호된 리소스를 제거 대상에서 제외: + +`pulumi destroy --exclude-protected` + +- 스택의 모든 리소스가 삭제된 후 스택 및 구성 파일 제거: + +`pulumi destroy --remove` + +- 오류가 발생해도 리소스 삭제를 계속 진행: + +`pulumi destroy --continue-on-error` diff --git a/pages.ko/common/pulumi-login.md b/pages.ko/common/pulumi-login.md new file mode 100644 index 00000000000000..c3e06a97addfc8 --- /dev/null +++ b/pages.ko/common/pulumi-login.md @@ -0,0 +1,16 @@ +# pulumi login + +> Pulumi 클라우드에 로그인. +> 더 많은 정보: . + +- 관리되는 Pulumi Cloud 백엔드에 로그인. 기본값은 `https://api.pulumi.com`: + +`pulumi login` + +- 지정된 URL의 자체 호스팅된 Pulumi Cloud 백엔드에 로그인: + +`pulumi login {{URL}}` + +- Pulumi Cloud와 독립적으로 로컬에서 Pulumi 사용: + +`pulumi login {{[-l|--local]}}` diff --git a/pages.ko/common/pulumi-preview.md b/pages.ko/common/pulumi-preview.md new file mode 100644 index 00000000000000..324c4b80998430 --- /dev/null +++ b/pages.ko/common/pulumi-preview.md @@ -0,0 +1,20 @@ +# pulumi preview + +> 스택의 리소스 업데이트 미리 보기. +> 더 많은 정보: . + +- 스택의 리소스 업데이트 미리 보기: + +`pulumi preview` + +- 스택의 리소스 업데이트를 JSON 형식으로 미리 보기: + +`pulumi preview --json` + +- 전체 변경 사항을 보여주는 풍부한 차이로 업데이트 미리 보기: + +`pulumi preview --diff` + +- 도움말 표시: + +`pulumi preview --help` diff --git a/pages.ko/common/pulumi-stack.md b/pages.ko/common/pulumi-stack.md new file mode 100644 index 00000000000000..f3fb281181f726 --- /dev/null +++ b/pages.ko/common/pulumi-stack.md @@ -0,0 +1,36 @@ +# pulumi stack + +> 스택을 관리하고 스택 상태를 확인. +> 더 많은 정보: . + +- 새 스택 생성: + +`pulumi stack init {{스택_이름}}` + +- 스택 상태 보기: + +`pulumi stack` + +- 현재 프로젝트의 스택 나열: + +`pulumi stack ls` + +- 모든 프로젝트의 스택 나열: + +`pulumi stack ls {{[-a|--all]}}` + +- 활성 스택 선택: + +`pulumi stack select {{스택_이름}}` + +- 스택 출력을 평문으로 표시 (비밀 포함): + +`pulumi stack output --show-secrets` + +- 스택 상태를 JSON 파일로 내보내기: + +`pulumi stack export --file {{경로/대상/파일.json}}` + +- 도움말 표시: + +`pulumi stack {{[-h|--help]}}` diff --git a/pages.ko/common/pulumi-up.md b/pages.ko/common/pulumi-up.md new file mode 100644 index 00000000000000..c12fbe9158e48e --- /dev/null +++ b/pages.ko/common/pulumi-up.md @@ -0,0 +1,24 @@ +# pulumi up + +> 스택의 리소스를 생성하거나 업데이트. +> 더 많은 정보: . + +- 프로그램 및/또는 인프라에 대한 변경 사항 미리보기 및 배포: + +`pulumi up` + +- 미리보기 후 자동 승인 및 업데이트 수행: + +`pulumi up {{[-y|--yes]}}` + +- 특정 스택에서 변경 사항 미리보기 및 배포: + +`pulumi up {{[-s|--stack]}} {{스택}}` + +- 스택 출력을 표시하지 않음: + +`pulumi up --suppress-outputs` + +- 오류가 발생하더라도 리소스 업데이트 계속 진행: + +`pulumi up --continue-on-error` diff --git a/pages.ko/common/pulumi.md b/pages.ko/common/pulumi.md new file mode 100644 index 00000000000000..230058312e7865 --- /dev/null +++ b/pages.ko/common/pulumi.md @@ -0,0 +1,33 @@ +# pulumi + +> 친숙한 프로그래밍 언어를 사용하여 어떤 클라우드에서도 인프라 정의. +> `up`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 템플릿을 사용하여 새 프로젝트 생성: + +`pulumi new` + +- 격리된 배포 대상을 사용하여 새 스택 생성: + +`pulumi stack init` + +- 변수를 대화식으로 구성 (예: 키, 지역 등): + +`pulumi config` + +- 프로그램 및/또는 인프라에 대한 변경 사항 미리보기 및 배포: + +`pulumi up` + +- 배포 변경 사항을 수행하지 않고 미리보기 (드라이런): + +`pulumi preview` + +- 프로그램 및 그 인프라 삭제: + +`pulumi destroy` + +- Pulumi Cloud와 독립적으로 Pulumi를 로컬에서 사용: + +`pulumi login {{[-l|--local]}}` diff --git a/pages.ko/common/pup.md b/pages.ko/common/pup.md new file mode 100644 index 00000000000000..be5eb67d579077 --- /dev/null +++ b/pages.ko/common/pup.md @@ -0,0 +1,28 @@ +# pup + +> 명령줄 HTML 파싱 도구. +> 더 많은 정보: . + +- 원시 HTML 파일을 정리되고 들여쓰기된 색상 형식으로 변환: + +`cat {{index.html}} | pup --color` + +- 요소 태그 이름으로 HTML 필터링: + +`cat {{index.html}} | pup '{{태그}}'` + +- ID로 HTML 필터링: + +`cat {{index.html}} | pup '{{div#아이디}}'` + +- 속성 값으로 HTML 필터링: + +`cat {{index.html}} | pup '{{input[type="text"]}}'` + +- 필터링된 HTML 요소와 그 자식 요소의 모든 텍스트 출력: + +`cat {{index.html}} | pup '{{div}} text{}'` + +- HTML을 JSON으로 출력: + +`cat {{index.html}} | pup '{{div}} json{}'` diff --git a/pages.ko/common/puppet-agent.md b/pages.ko/common/puppet-agent.md new file mode 100644 index 00000000000000..2b3c985c0679c8 --- /dev/null +++ b/pages.ko/common/puppet-agent.md @@ -0,0 +1,32 @@ +# puppet agent + +> Puppet 서버에서 클라이언트 구성을 가져와 로컬 호스트에 적용. +> 더 많은 정보: . + +- Puppet 서버에 노드를 등록하고 받은 카탈로그 적용: + +`puppet agent --test --server {{puppetserver_fqdn}} --serverport {{포트}} --waitforcert {{poll_time}}` + +- 에이전트를 백그라운드에서 실행 (`puppet.conf`의 설정 사용): + +`puppet agent` + +- 포그라운드에서 한 번 에이전트를 실행한 후 종료: + +`puppet agent --test` + +- 드라이 모드로 에이전트 실행: + +`puppet agent --test --noop` + +- 평가 중인 모든 리소스를 로그에 기록 (변경 사항이 없어도): + +`puppet agent --test --evaltrace` + +- 에이전트 비활성화: + +`puppet agent --disable "{{메시지}}"` + +- 에이전트 활성화: + +`puppet agent --enable` diff --git a/pages.ko/common/puppet-apply.md b/pages.ko/common/puppet-apply.md new file mode 100644 index 00000000000000..16897f22cdf68e --- /dev/null +++ b/pages.ko/common/puppet-apply.md @@ -0,0 +1,16 @@ +# puppet apply + +> Puppet 매니페스트를 로컬에서 적용. +> 더 많은 정보: . + +- 매니페스트 적용: + +`puppet apply {{경로/대상/매니페스트}}` + +- Puppet 코드 실행: + +`puppet apply --execute {{코드}}` + +- 특정 모듈 및 Hiera 구성 파일 사용: + +`puppet apply --modulepath {{경로/대상/폴더}} --hiera_config {{경로/대상/파일}} {{경로/대상/매니페스트}}` diff --git a/pages.ko/common/puppet.md b/pages.ko/common/puppet.md new file mode 100644 index 00000000000000..2e06c1d5731453 --- /dev/null +++ b/pages.ko/common/puppet.md @@ -0,0 +1,21 @@ +# puppet + +> 서버의 설정을 관리하고 자동화하는 데 도움을 줍니다. +> `agent`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- Puppet 하위 명령 실행: + +`puppet {{하위_명령}}` + +- Puppet 버전 확인: + +`puppet --version` + +- 도움말 표시: + +`puppet --help` + +- 하위 명령에 대한 도움말 표시: + +`puppet help {{하위_명령}}` diff --git a/pages.ko/common/pushd.md b/pages.ko/common/pushd.md new file mode 100644 index 00000000000000..b2e6431dce0bac --- /dev/null +++ b/pages.ko/common/pushd.md @@ -0,0 +1,21 @@ +# pushd + +> 디렉터리를 스택에 쌓아 나중에 접근할 수 있도록 합니다. +> 원래 디렉터리로 돌아가려면 `popd`, 디렉터리 스택 내용을 보려면 `dirs`를 같이 보세요. +> 더 많은 정보: . + +- 디렉터리로 이동하고 스택에 추가: + +`pushd {{경로/대상/폴더}}` + +- 스택의 첫 번째와 두 번째 디렉터리를 전환: + +`pushd` + +- 스택을 회전하여 5번째 요소를 스택의 맨 위로: + +`pushd +4` + +- 스택을 왼쪽으로 4번 회전 (현재 디렉터리는 5번째 요소를 교체하여 맨 위에 유지): + +`pushd -n +4` diff --git a/pages.ko/common/pv.md b/pages.ko/common/pv.md new file mode 100644 index 00000000000000..90ec5134dc948c --- /dev/null +++ b/pages.ko/common/pv.md @@ -0,0 +1,28 @@ +# pv + +> 파이프를 통해 전달되는 데이터의 진행 상황을 모니터링. +> 더 많은 정보: . + +- 파일의 내용을 출력하고 진행 표시줄을 표시: + +`pv {{경로/대상/파일}}` + +- 파이프 사이의 데이터 흐름 속도와 양을 측정 (`--size`는 선택적): + +`command1 | pv --size {{ETA_예상_데이터_양}} | command2` + +- 파일을 필터링하고 진행 상황과 출력 데이터 양을 확인: + +`pv -cN in {{큰_텍스트_파일}} | grep {{패턴}} | pv -cN out > {{필터된_파일}}` + +- 이미 실행 중인 프로세스에 연결하여 파일 읽기 진행 상황 보기: + +`pv -d {{PID}}` + +- 오류가 있는 파일을 읽고 `dd conv=sync,noerror`처럼 오류를 건너뛰기: + +`pv -EE {{경로/대상/오류_있는_미디어}} > image.img` + +- 지정된 양의 데이터를 읽은 후 읽기 중지하고, 1K/s로 속도 제한: + +`pv -L 1K --stop-at --size {{최대_읽기_파일_크기}}` diff --git a/pages.ko/common/pwd.md b/pages.ko/common/pwd.md new file mode 100644 index 00000000000000..c4b42885a4a746 --- /dev/null +++ b/pages.ko/common/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> 현재 작업 디렉토리의 이름을 출력. +> 더 많은 정보: . + +- 현재 디렉토리 출력: + +`pwd` + +- 모든 심볼릭 링크를 해석하여 현재 디렉토리의 "물리적" 경로 출력: + +`pwd {{[-P|--physical]}}` diff --git a/pages.ko/common/pwgen.md b/pages.ko/common/pwgen.md new file mode 100644 index 00000000000000..7456610b63ce54 --- /dev/null +++ b/pages.ko/common/pwgen.md @@ -0,0 +1,16 @@ +# pwgen + +> 발음 가능한 비밀번호 생성. +> 더 많은 정보: . + +- 랜덤 비밀번호 생성 (특수문자 포함): + +`pwgen -y {{길이}}` + +- 보안성이 높고 기억하기 어려운 비밀번호 생성: + +`pwgen -s {{길이}}` + +- 최소 하나의 대문자가 포함된 비밀번호 생성: + +`pwgen -c {{길이}}` diff --git a/pages.ko/common/pwsh.md b/pages.ko/common/pwsh.md new file mode 100644 index 00000000000000..beffba0198a981 --- /dev/null +++ b/pages.ko/common/pwsh.md @@ -0,0 +1,38 @@ +# pwsh + +> 시스템 관리를 위해 특별히 설계된 명령줄 셸 및 스크립팅 언어. +> 이 명령은 PowerShell 버전 6 이상(또는 PowerShell Core 및 크로스 플랫폼 PowerShell)을 의미합니다. +> 원래 Windows 버전(5.1 이하, 레거시 Windows PowerShell이라고도 함)을 사용하려면 `pwsh` 대신 `powershell`을 사용하세요. +> 더 많은 정보: . + +- 대화형 셸 세션 시작: + +`pwsh` + +- 시작 구성 파일을 로드하지 않고 대화형 셸 세션 시작: + +`pwsh -NoProfile` + +- 특정 명령 실행: + +`pwsh -Command "{{echo 'powershell is executed'}}"` + +- 특정 스크립트 실행: + +`pwsh -File {{경로/대상/스크립트.ps1}}` + +- 특정 버전의 PowerShell로 세션 시작: + +`pwsh -Version {{버전}}` + +- 시작 명령 실행 후 셸이 종료되지 않도록 방지: + +`pwsh -NoExit` + +- PowerShell에 전송되는 데이터 형식 설명: + +`pwsh -InputFormat {{Text|XML}}` + +- PowerShell 출력 형식 결정: + +`pwsh -OutputFormat {{Text|XML}}` diff --git a/pages.ko/common/py-spy.md b/pages.ko/common/py-spy.md new file mode 100644 index 00000000000000..8d9e143d7ceaac --- /dev/null +++ b/pages.ko/common/py-spy.md @@ -0,0 +1,20 @@ +# py-spy + +> Python 프로그램용 샘플링 프로파일러. +> 더 많은 정보: . + +- 실행 중인 프로세스에서 가장 많은 실행 시간을 차지하는 함수의 실시간 보기 표시: + +`py-spy top --pid {{pid}}` + +- 프로그램을 시작하고 가장 많은 실행 시간을 차지하는 함수의 실시간 보기 표시: + +`py-spy top -- python {{경로/대상/파일.py}}` + +- 함수 호출 실행 시간의 SVG 플레임 그래프 생성: + +`py-spy record -o {{경로/대상/프로필.svg}} --pid {{pid}}` + +- 실행 중인 프로세스의 호출 스택 덤프: + +`py-spy dump --pid {{pid}}` diff --git a/pages.ko/common/pyats-shell.md b/pages.ko/common/pyats-shell.md new file mode 100644 index 00000000000000..055810c307cf7d --- /dev/null +++ b/pages.ko/common/pyats-shell.md @@ -0,0 +1,16 @@ +# pyats shell + +> 프로토타입 제작 시간을 절약하기 위해 미리 로드된 pyATS 대화형 Python 셸을 시작합니다. +> 더 많은 정보: . + +- 정의된 테스트베드 파일과 함께 pyATS 셸 열기: + +`pyats shell --testbed-file {{경로/대상/테스트베드.yaml}}` + +- 정의된 Pickle 파일과 함께 pyATS 셸 열기: + +`pyats shell --pickle-file {{경로/대상/피클.file}}` + +- IPython 비활성화 상태로 pyATS 열기: + +`pyats shell --no-ipython` diff --git a/pages.ko/common/pyats-version.md b/pages.ko/common/pyats-version.md new file mode 100644 index 00000000000000..9fcebe0ecda48c --- /dev/null +++ b/pages.ko/common/pyats-version.md @@ -0,0 +1,20 @@ +# pyats version + +> pyATS 설치 버전 보기 및 업그레이드. +> 더 많은 정보: . + +- 모든 패키지의 버전 표시: + +`pyats version check` + +- 오래된 패키지 표시: + +`pyats version check --outdated` + +- 패키지를 최신 버전으로 업데이트: + +`pyats version update` + +- 특정 버전으로 패키지 업데이트 또는 다운그레이드: + +`pyats version update {{버전}}` diff --git a/pages.ko/common/pyats.md b/pages.ko/common/pyats.md new file mode 100644 index 00000000000000..5790f88c9f0a53 --- /dev/null +++ b/pages.ko/common/pyats.md @@ -0,0 +1,20 @@ +# pyATS + +> Cisco Systems의 벤더에 구애받지 않는 테스트 자동화 프레임워크로, 네트워크 및 시스템 테스트에 사용됩니다. +> 더 많은 정보: . + +- `pyATS` 하위 명령 실행: + +`pyats {{하위_명령}}` + +- 도움말 표시: + +`pyats --help` + +- 특정 하위 명령에 대한 도움말 표시: + +`pyats {{하위_명령}} --help` + +- 버전 표시: + +`pyats version check` diff --git a/pages.ko/common/pycodestyle.md b/pages.ko/common/pycodestyle.md new file mode 100644 index 00000000000000..bc4c698d1f4e9c --- /dev/null +++ b/pages.ko/common/pycodestyle.md @@ -0,0 +1,24 @@ +# pycodestyle + +> Python 코드를 PEP 8 스타일 규칙에 맞게 검사. +> 더 많은 정보: . + +- 단일 파일의 스타일 검사: + +`pycodestyle {{파일.py}}` + +- 여러 파일의 스타일 검사: + +`pycodestyle {{파일1.py 파일2.py ...}}` + +- 오류의 첫 번째 발생만 표시: + +`pycodestyle --first {{파일.py}}` + +- 각 오류에 대한 소스 코드 표시: + +`pycodestyle --show-source {{파일.py}}` + +- 각 오류에 대한 특정 PEP 8 텍스트 표시: + +`pycodestyle --show-pep8 {{파일.py}}` diff --git a/pages.ko/common/pydoc.md b/pages.ko/common/pydoc.md new file mode 100644 index 00000000000000..b93a8df8883247 --- /dev/null +++ b/pages.ko/common/pydoc.md @@ -0,0 +1,16 @@ +# pydoc + +> 오프라인 Python 문서 보기. +> 더 많은 정보: . + +- 주제(파이썬 키워드, 주제, 함수, 모듈, 패키지 등)에 대한 문서 출력: + +`pydoc {{주제}}` + +- 임의의 사용되지 않은 포트에서 HTTP 서버를 시작하고 [브라우저]를 열어 문서를 보기: + +`pydoc -b` + +- 도움말 표시: + +`pydoc` diff --git a/pages.ko/common/pydocstyle.md b/pages.ko/common/pydocstyle.md new file mode 100644 index 00000000000000..fa59be68141320 --- /dev/null +++ b/pages.ko/common/pydocstyle.md @@ -0,0 +1,32 @@ +# pydocstyle + +> Python 스크립트가 Python 도크스트링 규칙을 준수하는지 정적 검사합니다. +> 더 많은 정보: . + +- Python 스크립트 또는 특정 디렉터리의 모든 Python 스크립트 분석: + +`pydocstyle {{파일.py|경로/대상/폴더}}` + +- 각 오류에 대한 설명 표시: + +`pydocstyle {{[-e|--explain]}} {{파일.py|경로/대상/폴더}}` + +- 디버그 정보 표시: + +`pydocstyle {{[-d|--debug]}} {{파일.py|경로/대상/폴더}}` + +- 총 오류 수 표시: + +`pydocstyle --count {{파일.py|경로/대상/폴더}}` + +- 특정 구성 파일 사용: + +`pydocstyle --config {{경로/대상/구성_파일}} {{파일.py|경로/대상/폴더}}` + +- 하나 이상의 오류 무시: + +`pydocstyle --ignore {{D101,D2,D107,...}} {{파일.py|경로/대상/폴더}}` + +- 특정 규약의 오류 검사: + +`pydocstyle --convention {{pep257|numpy|google}} {{파일.py|경로/대상/폴더}}` diff --git a/pages.ko/common/pyenv-virtualenv.md b/pages.ko/common/pyenv-virtualenv.md new file mode 100644 index 00000000000000..e73dbccd8f93a7 --- /dev/null +++ b/pages.ko/common/pyenv-virtualenv.md @@ -0,0 +1,20 @@ +# pyenv virtualenv + +> 설치된 Python 배포판을 기반으로 가상 환경을 생성합니다. +> 더 많은 정보: . + +- 새로운 Python 3.6.6 가상 환경 생성: + +`pyenv virtualenv {{3.6.6}} {{가상환경_이름}}` + +- 모든 기존 가상 환경 나열: + +`pyenv virtualenvs` + +- 가상 환경 활성화: + +`pyenv activate {{가상환경_이름}}` + +- 가상 환경 비활성화: + +`pyenv deactivate` diff --git a/pages.ko/common/pyenv.md b/pages.ko/common/pyenv.md new file mode 100644 index 00000000000000..94ddeb16e47bff --- /dev/null +++ b/pages.ko/common/pyenv.md @@ -0,0 +1,33 @@ +# pyenv + +> 여러 버전의 Python 사이를 쉽게 전환. +> 같이 보기: `asdf`. +> 더 많은 정보: . + +- 사용 가능한 모든 명령 나열: + +`pyenv commands` + +- `${PYENV_ROOT}/versions` 디렉토리 아래의 모든 Python 버전 나열: + +`pyenv versions` + +- 업스트림에서 설치할 수 있는 모든 Python 버전 나열: + +`pyenv install --list` + +- `${PYENV_ROOT}/versions` 디렉토리에 특정 Python 버전 설치: + +`pyenv install {{2.7.10}}` + +- `${PYENV_ROOT}/versions` 디렉토리에서 특정 Python 버전 제거: + +`pyenv uninstall {{2.7.10}}` + +- 현재 컴퓨터에서 전역으로 사용할 Python 버전 설정: + +`pyenv global {{2.7.10}}` + +- 현재 디렉토리와 하위 디렉토리에서 사용할 Python 버전 설정: + +`pyenv local {{2.7.10}}` diff --git a/pages.ko/common/pyflakes.md b/pages.ko/common/pyflakes.md new file mode 100644 index 00000000000000..75ecf58b0e88f6 --- /dev/null +++ b/pages.ko/common/pyflakes.md @@ -0,0 +1,20 @@ +# pyflakes + +> Python 소스 코드 파일에서 오류를 검사. +> 더 많은 정보: . + +- 단일 Python 파일 검사: + +`pyflakes check {{경로/대상/파일.py}}` + +- 특정 폴더 내 Python 파일 검사: + +`pyflakes checkPath {{경로/대상/폴더}}` + +- 폴더 내의 Python 파일을 재귀적으로 검사: + +`pyflakes checkRecursive {{경로/대상/폴더}}` + +- 여러 폴더에서 발견된 모든 Python 파일 검사: + +`pyflakes iterSourceCode {{경로/대상/폴더_1}} {{경로/대상/폴더_2}}` diff --git a/pages.ko/common/pygmentize.md b/pages.ko/common/pygmentize.md new file mode 100644 index 00000000000000..ce25f8b3a33708 --- /dev/null +++ b/pages.ko/common/pygmentize.md @@ -0,0 +1,28 @@ +# pygmentize + +> Python 기반의 문법 하이라이터. +> 더 많은 정보: . + +- 파일의 문법을 하이라이트하여 `stdout`에 출력 (파일 확장자로 언어 추론): + +`pygmentize {{파일.py}}` + +- 문법 하이라이트를 위한 언어를 명시적으로 설정: + +`pygmentize -l {{자바스크립트}} {{입력_파일}}` + +- 사용 가능한 렉서(입력 언어 처리기) 목록 표시: + +`pygmentize -L lexers` + +- 출력 파일을 HTML 형식으로 저장: + +`pygmentize -f html -o {{출력_파일.html}} {{입력_파일.py}}` + +- 사용 가능한 출력 형식 목록 표시: + +`pygmentize -L formatters` + +- 추가 포매터 옵션을 사용하여 HTML 파일 출력 (전체 페이지, 줄 번호 포함): + +`pygmentize -f html -O "full,linenos=True" -o {{출력_파일.html}} {{입력_파일}}` diff --git a/pages.ko/common/pyinfra.md b/pages.ko/common/pyinfra.md new file mode 100644 index 00000000000000..dae98c6ecb238b --- /dev/null +++ b/pages.ko/common/pyinfra.md @@ -0,0 +1,20 @@ +# pyinfra + +> 대규모 인프라를 자동화. +> 더 많은 정보: . + +- SSH를 통해 명령 실행: + +`pyinfra {{대상_IP_주소}} exec -- {{명령어_및_인수}}` + +- 대상 목록에 있는 서버에 배포 파일의 내용을 실행: + +`pyinfra {{경로/대상/목록.py}} {{경로/배포.py}}` + +- 로컬에서 명령 실행: + +`pyinfra @local {{경로/배포.py}}` + +- Docker를 통해 명령 실행: + +`pyinfra @docker/{{컨테이너}} {{경로/배포.py}}` diff --git a/pages.ko/common/pylint.md b/pages.ko/common/pylint.md new file mode 100644 index 00000000000000..477572593df006 --- /dev/null +++ b/pages.ko/common/pylint.md @@ -0,0 +1,24 @@ +# pylint + +> Python 코드 린터. +> 더 많은 정보: . + +- 파일 내 린트 오류 표시: + +`pylint {{경로/대상/파일.py}}` + +- 패키지 또는 모듈 린트 (import 가능해야 하며, `.py` 접미사 없이): + +`pylint {{패키지_또는_모듈}}` + +- 디렉토리 경로에서 패키지 린트 (`__init__.py` 파일이 포함되어 있어야 함): + +`pylint {{경로/대상/폴더}}` + +- 파일을 린트하고 구성 파일 사용 (보통 `pylintrc`로 명명됨): + +`pylint --rcfile {{경로/대상/pylintrc}} {{경로/대상/파일.py}}` + +- 파일을 린트하고 특정 오류 코드를 비활성화: + +`pylint --disable {{C,W,no-error,design}} {{경로/대상/파일}}` diff --git a/pages.ko/common/pypy.md b/pages.ko/common/pypy.md new file mode 100644 index 00000000000000..6f3647f943b234 --- /dev/null +++ b/pages.ko/common/pypy.md @@ -0,0 +1,32 @@ +# pypy + +> 빠르고 호환성 있는 Python 언어의 대체 구현체. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`pypy` + +- 주어진 Python 파일에서 스크립트 실행: + +`pypy {{경로/대상/파일.py}}` + +- 대화형 셸의 일부로 스크립트 실행: + +`pypy -i {{경로/대상/파일.py}}` + +- Python 표현식 실행: + +`pypy -c "{{표현식}}"` + +- 라이브러리 모듈을 스크립트로 실행 (옵션 목록 종료): + +`pypy -m {{모듈}} {{인수}}` + +- pip를 사용하여 패키지 설치: + +`pypy -m pip install {{패키지}}` + +- Python 스크립트를 대화형으로 디버깅: + +`pypy -m pdb {{경로/대상/파일.py}}` diff --git a/pages.ko/common/pystun3.md b/pages.ko/common/pystun3.md new file mode 100644 index 00000000000000..dcedbf92fe0dba --- /dev/null +++ b/pages.ko/common/pystun3.md @@ -0,0 +1,16 @@ +# pystun3 + +> Python으로 작성된 고전적인 STUN 클라이언트. +> 더 많은 정보: . + +- STUN 요청 수행: + +`pystun3` + +- STUN 서버를 지정하여 STUN 요청 수행: + +`pystun3 --stun-host {{stun.1und1.de}}` + +- 소스 포트를 지정하여 STUN 요청 수행: + +`pystun3 --source-port {{7932}}` diff --git a/pages.ko/common/pytest.md b/pages.ko/common/pytest.md new file mode 100644 index 00000000000000..949f3c3a709ead --- /dev/null +++ b/pages.ko/common/pytest.md @@ -0,0 +1,28 @@ +# pytest + +> Python 테스트 실행. +> 더 많은 정보: . + +- 특정 파일에서 테스트 실행: + +`pytest {{경로/대상/테스트_파일1.py 경로/대상/테스트_파일2.py ...}}` + +- 특정 [k]eyword 표현식과 일치하는 테스트 실행: + +`pytest -k {{표현식}}` + +- 테스트가 실패하거나 오류가 발생하면 즉시 종료: + +`pytest --exitfirst` + +- 마커와 일치하거나 제외하는 테스트 실행: + +`pytest -m {{마커_이름1 and not 마커_이름2}}` + +- 마지막 실패 테스트부터 계속해서 테스트 실패까지 실행: + +`pytest --stepwise` + +- 출력을 캡처하지 않고 테스트 실행: + +`pytest --capture=no` diff --git a/pages.ko/common/python.md b/pages.ko/common/python.md new file mode 100644 index 00000000000000..0928f98c32ad94 --- /dev/null +++ b/pages.ko/common/python.md @@ -0,0 +1,36 @@ +# python + +> Python 언어 인터프리터. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`python` + +- 특정 Python 파일 실행: + +`python {{경로/대상/파일.py}}` + +- 특정 Python 파일 실행 후 REPL 시작: + +`python -i {{경로/대상/파일.py}}` + +- Python 표현식 실행: + +`python -c "{{표현식}}"` + +- 지정된 라이브러리 모듈의 스크립트 실행: + +`python -m {{모듈}} {{인자들}}` + +- `pip`를 사용하여 패키지 설치: + +`python -m pip install {{패키지}}` + +- Python 스크립트 대화형 디버깅: + +`python -m pdb {{경로/대상/파일.py}}` + +- 현재 디렉터리에서 포트 8000으로 내장 HTTP 서버 시작: + +`python -m http.server` diff --git a/pages.ko/common/python3.md b/pages.ko/common/python3.md new file mode 100644 index 00000000000000..e941a66d43f7c6 --- /dev/null +++ b/pages.ko/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> 이 명령은 `python` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr python` diff --git a/pages.ko/common/q.md b/pages.ko/common/q.md new file mode 100644 index 00000000000000..215603d6ab5560 --- /dev/null +++ b/pages.ko/common/q.md @@ -0,0 +1,28 @@ +# q + +> CSV 및 TSV 파일에서 SQL 유사 쿼리 실행. +> 더 많은 정보: . + +- 구분 기호를 ','로 지정하여 CSV 파일 쿼리: + +`q -d',' "SELECT * from {{경로/대상/파일}}"` + +- TSV 파일 쿼리: + +`q -t "SELECT * from {{경로/대상/파일}}"` + +- 헤더 행이 있는 파일 쿼리: + +`q -d{{구분자}} -H "SELECT * from {{경로/대상/파일}}"` + +- `stdin`에서 데이터 읽기; 쿼리에서 '-'는 `stdin`의 데이터를 나타냄: + +`{{출력}} | q "select * from -"` + +- 두 파일을 공통 열 `c1`을 기준으로 조인 (`f1`과 `f2`로 별칭): + +`q "SELECT * FROM {{경로/대상/파일}} f1 JOIN {{경로/대상/다른_파일}} f2 ON (f1.c1 = f2.c1)"` + +- 출력 구분자와 출력 헤더 행을 사용하여 출력 형식 지정 (참고: 명령은 입력 파일 헤더 또는 쿼리에서 재정의된 열 별칭에 기반하여 열 이름 출력): + +`q -D{{구분자}} -O "SELECT {{열}} as {{별칭}} from {{경로/대상/파일}}"` diff --git a/pages.ko/common/qalc.md b/pages.ko/common/qalc.md new file mode 100644 index 00000000000000..0051a8373667b4 --- /dev/null +++ b/pages.ko/common/qalc.md @@ -0,0 +1,29 @@ +# qalc + +> 강력하고 사용하기 쉬운 명령줄 계산기. +> 같이 보기: `bc`. +> 더 많은 정보: . + +- [i]nteractive 모드로 시작: + +`qalc {{--interactive}}` + +- [t]erse 모드로 시작 (결과만 출력): + +`qalc --terse` + +- 통화 환율 [e] 갱신: + +`qalc --exrates` + +- 비대화식으로 계산 수행: + +`qalc {{66+99|2^4|6 feet to cm|1 bitcoin to USD|20 kmph to mph|...}}` + +- 지원되는 모든 함수/접두사/단위/변수 나열: + +`qalc --{{list-functions|list-prefixes|list-units|list-variables}}` + +- [f]ile에서 명령 실행: + +`qalc --file {{경로/대상/파일}}` diff --git a/pages.ko/common/qc.md b/pages.ko/common/qc.md new file mode 100644 index 00000000000000..7ec7e12cdd0d08 --- /dev/null +++ b/pages.ko/common/qc.md @@ -0,0 +1,25 @@ +# qc + +> QOwnNotes 노트에 저장된 명령 스니펫을 관리하고 실행. +> 같이 보기: `qownnotes`. +> 더 많은 정보: . + +- 스니펫 관리자를 설정, 예: QOwnNotes에서 보안 토큰 설정: + +`qc configure` + +- `Commands.md` 노트와 `commands` 태그가 붙은 모든 노트에서 명령 스니펫을 검색하고 출력: + +`qc search` + +- 스니펫을 실행하고 실행 전에 명령 표시: + +`qc exec --command` + +- 마지막 스니펫을 실행하고 실행 전에 명령 표시: + +`qc exec --command --last` + +- QOwnNotes에서 노트 폴더 전환: + +`qc switch` diff --git a/pages.ko/common/qcp.md b/pages.ko/common/qcp.md new file mode 100644 index 00000000000000..e7e79a94f21be6 --- /dev/null +++ b/pages.ko/common/qcp.md @@ -0,0 +1,16 @@ +# qcp + +> 기본 텍스트 편집기를 사용하여 파일 이름을 정의하면서 파일을 복사. +> 더 많은 정보: . + +- 단일 파일 복사 (편집기에서 왼쪽에 소스 파일 이름, 오른쪽에 대상 파일 이름이 나타남): + +`qcp {{소스_파일}}` + +- 여러 JPEG 파일 복사: + +`qcp {{*.jpg}}` + +- 파일 복사 시 편집기에서 소스와 대상 파일 이름의 위치를 바꿈: + +`qcp --option swap {{*.jpg}}` diff --git a/pages.ko/common/qdbus.md b/pages.ko/common/qdbus.md new file mode 100644 index 00000000000000..de07e9ae7061f1 --- /dev/null +++ b/pages.ko/common/qdbus.md @@ -0,0 +1,36 @@ +# qdbus + +> Inter-Process Communication (IPC) 및 Remote Procedure Calling (RPC) 메커니즘으로, 원래 Linux를 위해 개발되었습니다. +> 더 많은 정보: . + +- 사용 가능한 서비스 이름 나열: + +`qdbus` + +- 특정 서비스의 객체 경로 나열: + +`qdbus {{서비스_이름}}` + +- 특정 객체에서 사용 가능한 메서드, 신호 및 속성 나열: + +`qdbus {{서비스_이름}} {{/대상/경로/객체}}` + +- 인수를 전달하여 특정 메서드를 실행하고 반환된 값 표시: + +`qdbus {{서비스_이름}} {{/대상/경로/객체}} {{메서드_이름}} {{인수1}} {{인수2}}` + +- KDE Plasma 세션에서 현재 밝기 값 표시: + +`qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness}}` + +- KDE Plasma 세션에서 특정 밝기 설정: + +`qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness}} {{5000}}` + +- KDE Plasma 세션에서 볼륨 증가 단축키 호출: + +`qdbus {{org.kde.kglobalaccel}} {{/component/kmix}} {{invokeShortcut}} "{{increase_volume}}"` + +- 정상적으로 로그아웃한 후 아무것도 하지 않거나, 재부팅하거나, 종료: + +`qdbus {{org.kde.Shutdown}} {{/Shutdown}} {{logout|logoutAndReboot|logoutAndShutdown}}` diff --git a/pages.ko/common/qemu-img.md b/pages.ko/common/qemu-img.md new file mode 100644 index 00000000000000..32759d3924633c --- /dev/null +++ b/pages.ko/common/qemu-img.md @@ -0,0 +1,24 @@ +# qemu-img + +> Quick Emulator 가상 HDD 이미지를 생성 및 조작. +> 더 많은 정보: . + +- 특정 크기(기가바이트 단위)로 디스크 이미지 생성: + +`qemu-img create {{이미지_이름.img}} {{기가바이트}}G` + +- 디스크 이미지 정보 표시: + +`qemu-img info {{이미지_이름.img}}` + +- 이미지 크기 증가 또는 감소: + +`qemu-img resize {{이미지_이름.img}} {{기가바이트}}G` + +- 지정된 디스크 이미지의 각 섹터 할당 상태 덤프: + +`qemu-img map {{이미지_이름.img}}` + +- VMware .vmdk 디스크 이미지를 KVM .qcow2 디스크 이미지로 변환: + +`qemu-img convert -f {{vmdk}} -O {{qcow2}} {{경로/대상/파일/foo.vmdk}} {{경로/대상/파일/foo.qcow2}}` diff --git a/pages.ko/common/qmmp.md b/pages.ko/common/qmmp.md new file mode 100644 index 00000000000000..c8bc9ceb258129 --- /dev/null +++ b/pages.ko/common/qmmp.md @@ -0,0 +1,33 @@ +# qmmp + +> Winamp 또는 XMMS와 유사한 인터페이스를 가진 오디오 플레이어. +> 같이 보기: `clementine`, `ncmpcpp`, `cmus`. +> 더 많은 정보: . + +- GUI 실행: + +`qmmp` + +- 현재 재생 중인 오디오 시작 또는 중지: + +`qmmp {{[-t|--play-pause]}}` + +- 지정된 시간(초)만큼 앞으로 또는 뒤로 탐색: + +`qmmp --seek-{{fwd|bwd}} {{시간_초}}` + +- 다음 오디오 파일 재생: + +`qmmp --next` + +- 이전 오디오 파일 재생: + +`qmmp --previous` + +- 현재 볼륨 표시: + +`qmmp --volume-status` + +- 현재 재생 중인 오디오의 볼륨을 5% 증가 또는 감소: + +`qmmp --volume-{{inc|dec}}` diff --git a/pages.ko/common/qmv.md b/pages.ko/common/qmv.md new file mode 100644 index 00000000000000..50483df405341c --- /dev/null +++ b/pages.ko/common/qmv.md @@ -0,0 +1,28 @@ +# qmv + +> 기본 텍스트 편집기를 사용하여 파일 및 디렉터리의 이름을 정의하여 이동. +> 더 많은 정보: . + +- 단일 파일 이동 (편집기를 열고 왼쪽에는 원본 파일 이름, 오른쪽에는 대상 파일 이름 표시): + +`qmv {{원본_파일}}` + +- 여러 JPEG 파일 이동: + +`qmv {{*.jpg}}` + +- 여러 디렉터리 이동: + +`qmv {{[-d|--directory]}} {{경로/대상/디렉터리1 경로/대상/디렉터리2 경로/대상/디렉터리3 ...}}` + +- 디렉터리 내의 모든 파일 및 디렉터리 이동: + +`qmv {{[-R|--recursive]}} {{경로/대상/디렉터리}}` + +- 파일을 이동하되, 편집기에서 원본과 대상 파일 이름의 위치를 바꾸기: + +`qmv {{[-o|--option]}} swap {{*.jpg}}` + +- 현재 디렉터리의 모든 파일 및 폴더 이름 변경, 편집기에서 대상 파일 이름만 표시 (단순 모드로 생각할 수 있음): + +`qmv {{[-f|--format]}} do .` diff --git a/pages.ko/common/qoitopam.md b/pages.ko/common/qoitopam.md new file mode 100644 index 00000000000000..90c46c20642c7a --- /dev/null +++ b/pages.ko/common/qoitopam.md @@ -0,0 +1,8 @@ +# qoitopam + +> QOI 이미지(Quite OK Image format)를 Netpbm으로 변환. +> 더 많은 정보: . + +- QOI 이미지를 Netpbm으로 변환: + +`qoitopam {{경로/대상/이미지.qoi}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/qownnotes.md b/pages.ko/common/qownnotes.md new file mode 100644 index 00000000000000..07c264337df303 --- /dev/null +++ b/pages.ko/common/qownnotes.md @@ -0,0 +1,22 @@ +# qownnotes + +> Markdown 노트 작성 애플리케이션. +> 선택적으로 Nextcloud 및 ownCloud의 노트 작성 애플리케이션과 통합됩니다. +> 같이 보기: `qc`, 명령 스니펫 관리용. +> 더 많은 정보: . + +- 포터블 모드로 실행: + +`QOwnNotes --portable` + +- 설정 및 애플리케이션 환경에 대한 정보를 GitHub Markdown으로 덤프: + +`QOwnNotes --dump-settings` + +- 설정 및 내부 파일에 대한 다른 컨텍스트 지정: + +`QOwnNotes --session {{테스트}}` + +- 애플리케이션 시작 후 메뉴 동작 트리거: + +`QOwnNotes --action {{actionShow_Todo_List}}` diff --git a/pages.ko/common/qpdf.md b/pages.ko/common/qpdf.md new file mode 100644 index 00000000000000..40e0ec18de15aa --- /dev/null +++ b/pages.ko/common/qpdf.md @@ -0,0 +1,28 @@ +# qpdf + +> 다재다능한 PDF 변환 소프트웨어. +> 더 많은 정보: . + +- PDF 파일에서 페이지 1-3, 5 및 6-10을 추출하여 다른 파일로 저장: + +`qpdf --empty --pages {{경로/대상/입력.pdf}} {{1-3,5,6-10}} -- {{경로/대상/출력.pdf}}` + +- 여러 PDF 파일의 모든 페이지를 병합하여 새 PDF 파일로 저장: + +`qpdf --empty --pages {{경로/대상/파일1.pdf 파일2.pdf ...}} -- {{경로/대상/출력.pdf}}` + +- 주어진 페이지를 여러 PDF 파일에서 병합하여 새 PDF 파일로 저장: + +`qpdf --empty --pages {{경로/대상/파일1.pdf}} {{1,6-8}} {{경로/대상/파일2.pdf}} {{3,4,5}} -- {{경로/대상/출력.pdf}}` + +- 각 `n` 페이지 그룹을 주어진 파일명 패턴으로 별도의 출력 파일로 작성: + +`qpdf --split-pages={{n}} {{경로/대상/입력.pdf}} {{경로/대상/출력_%d.pdf}}` + +- 특정 PDF 페이지를 주어진 각도로 회전: + +`qpdf --rotate={{90:2,4,6}} --rotate={{180:7-8}} {{경로/대상/입력.pdf}} {{경로/대상/출력.pdf}}` + +- 암호로 보호된 파일의 암호 제거: + +`qpdf --password={{암호}} --decrypt {{경로/대상/입력.pdf}} {{경로/대상/출력.pdf}}` diff --git a/pages.ko/common/qr.md b/pages.ko/common/qr.md new file mode 100644 index 00000000000000..3827f672452586 --- /dev/null +++ b/pages.ko/common/qr.md @@ -0,0 +1,12 @@ +# qr + +> ANSI VT-100 이스케이프 코드를 사용하여 터미널에서 QR 코드를 생성. +> 더 많은 정보: . + +- QR 코드 생성: + +`echo "{{데이터}}" | qr` + +- 오류 수정 수준 지정 (기본값은 M): + +`echo "{{데이터}}" | qr --error-correction={{L|M|Q|H}}` diff --git a/pages.ko/common/qrencode.md b/pages.ko/common/qrencode.md new file mode 100644 index 00000000000000..25b9a7313c7ed4 --- /dev/null +++ b/pages.ko/common/qrencode.md @@ -0,0 +1,20 @@ +# qrencode + +> QR 코드 생성기. PNG와 EPS를 지원합니다. +> 더 많은 정보: . + +- 문자열을 QR 코드로 변환하여 출력 파일로 저장: + +`qrencode -o {{경로/대상/출력_파일.png}} {{문자열}}` + +- 입력 파일을 QR 코드로 변환하여 출력 파일로 저장: + +`qrencode -o {{경로/대상/출력_파일.png}} -r {{경로/대상/입력_파일}}` + +- 문자열을 QR 코드로 변환하여 터미널에 출력: + +`qrencode -t ansiutf8 {{문자열}}` + +- 파이프로부터 입력을 받아 QR 코드로 변환하여 터미널에 출력: + +`echo {{문자열}} | qrencode -t ansiutf8` diff --git a/pages.ko/common/qrttoppm.md b/pages.ko/common/qrttoppm.md new file mode 100644 index 00000000000000..6d7760add1333f --- /dev/null +++ b/pages.ko/common/qrttoppm.md @@ -0,0 +1,8 @@ +# qrttoppm + +> QRT 레이 트레이서 파일을 PPM 이미지로 변환. +> 더 많은 정보: . + +- QRT 파일을 PPM 이미지로 변환: + +`qrttoppm {{경로/대상/파일.qrt}} > {{경로/대상/이미지.ppm}}` diff --git a/pages.ko/common/qtcreator.md b/pages.ko/common/qtcreator.md new file mode 100644 index 00000000000000..2f9548f9bf0ed9 --- /dev/null +++ b/pages.ko/common/qtcreator.md @@ -0,0 +1,28 @@ +# qtcreator + +> Qt 애플리케이션을 위한 크로스 플랫폼 IDE. +> 더 많은 정보: . + +- Qt Creator 시작: + +`qtcreator` + +- Qt Creator를 시작하고 마지막 세션 복원: + +`qtcreator -lastsession` + +- 특정 플러그인을 로드하지 않고 Qt Creator 시작: + +`qtcreator -noload {{플러그인}}` + +- 모든 플러그인을 로드하지 않고 Qt Creator 시작: + +`qtcreator -noload {{all}}` + +- 키보드 단축키 팝업과 함께 프레젠테이션 모드로 Qt Creator 시작: + +`qtcreator -presentationMode` + +- 특정 커밋의 차이점을 표시하며 Qt Creator 시작: + +`qtcreator -git-show {{커밋}}` diff --git a/pages.ko/common/quarkus.md b/pages.ko/common/quarkus.md new file mode 100644 index 00000000000000..94ead8cd3eb042 --- /dev/null +++ b/pages.ko/common/quarkus.md @@ -0,0 +1,36 @@ +# quarkus + +> Quarkus 프로젝트 생성, 확장 관리 및 기본 빌드 및 개발 작업 수행. +> 더 많은 정보: . + +- 새 디렉토리에 새 애플리케이션 프로젝트 생성: + +`quarkus create app {{프로젝트_명}}` + +- 현재 프로젝트를 실시간 코딩 모드로 실행: + +`quarkus dev` + +- 애플리케이션 실행: + +`quarkus run` + +- 현재 프로젝트를 지속 테스트 모드로 실행: + +`quarkus test` + +- 현재 프로젝트에 하나 이상의 확장 추가: + +`quarkus extension add {{확장_명1 확장_명2 ...}}` + +- Docker를 사용하여 컨테이너 이미지 빌드: + +`quarkus image build docker` + +- Kubernetes에 애플리케이션 배포: + +`quarkus deploy kubernetes` + +- 프로젝트 업데이트: + +`quarkus update` diff --git a/pages.ko/common/quarto.md b/pages.ko/common/quarto.md new file mode 100644 index 00000000000000..071f718e4c105e --- /dev/null +++ b/pages.ko/common/quarto.md @@ -0,0 +1,24 @@ +# quarto + +> Pandoc 기반의 오픈 소스 과학 및 기술 출판 시스템. +> 더 많은 정보: . + +- 새 프로젝트 생성: + +`quarto create-project {{경로/대상/폴더}} --type {{book|default|website}}` + +- 새 블로그 웹사이트 생성: + +`quarto create-project {{경로/대상/폴더}} --type {{website}} --template {{blog}}` + +- 입력 파일을 다양한 형식으로 렌더링: + +`quarto render {{경로/대상/파일.{{qmd|rmd|ipynb}}}} --to {{html|pdf|docx}}` + +- 문서나 웹사이트를 렌더링하고 미리보기: + +`quarto preview {{경로/대상/폴더|경로/대상/파일}}` + +- 문서나 프로젝트를 Quarto Pub, Github Pages, RStudio Connect 또는 Netlify에 게시: + +`quarto publish {{quarto-pub|gh-pages|connect|netlify}}` diff --git a/pages.ko/common/quilt.md b/pages.ko/common/quilt.md new file mode 100644 index 00000000000000..5e1157b4dcc62c --- /dev/null +++ b/pages.ko/common/quilt.md @@ -0,0 +1,28 @@ +# quilt + +> 일련의 패치를 관리. +> 더 많은 정보: . + +- 기존 패치를 파일에서 가져오기: + +`quilt import {{경로/대상/파일이름.patch}}` + +- 새 패치 생성: + +`quilt new {{파일이름.patch}}` + +- 현재 패치에 파일 추가: + +`quilt add {{경로/대상/파일}}` + +- 파일을 편집한 후, 변경 사항으로 현재 패치 갱신: + +`quilt refresh` + +- 시리즈 파일의 모든 패치 적용: + +`quilt push -a` + +- 적용된 모든 패치 제거: + +`quilt pop -a` diff --git a/pages.ko/common/quota.md b/pages.ko/common/quota.md new file mode 100644 index 00000000000000..fc99ae69012071 --- /dev/null +++ b/pages.ko/common/quota.md @@ -0,0 +1,24 @@ +# quota + +> 사용자의 디스크 공간 사용량과 할당된 제한을 표시. +> 더 많은 정보: . + +- 현재 사용자의 디스크 할당량을 사람이 읽기 쉬운 단위로 표시: + +`quota -s` + +- 상세 출력 (저장 공간이 할당되지 않은 파일 시스템의 할당량도 표시): + +`quota -v` + +- 조용한 출력 (사용량이 할당량을 초과한 파일 시스템의 할당량만 표시): + +`quota -q` + +- 현재 사용자가 속한 그룹의 할당량 출력: + +`quota -g` + +- 다른 사용자의 디스크 할당량 표시: + +`sudo quota -u {{사용자_명}}` diff --git a/pages.ko/common/qutebrowser.md b/pages.ko/common/qutebrowser.md new file mode 100644 index 00000000000000..b3867164579aa6 --- /dev/null +++ b/pages.ko/common/qutebrowser.md @@ -0,0 +1,24 @@ +# qutebrowser + +> PyQt5 기반의 키보드 구동, vim 스타일 웹 브라우저. +> 더 많은 정보: . + +- 지정된 저장소 디렉터리로 qutebrowser 열기: + +`qutebrowser --basedir {{경로/대상/폴더}}` + +- 임시 설정으로 qutebrowser 인스턴스 열기: + +`qutebrowser --set {{content.geolocation}} {{true|false}}` + +- 지정된 이름의 세션을 복원하여 qutebrowser 인스턴스 열기: + +`qutebrowser --restore {{세션_이름}}` + +- 지정된 방법으로 모든 URL을 열며 qutebrowser 실행: + +`qutebrowser --target {{auto|tab|tab-bg|tab-silent|tab-bg-silent|window|private-window}}` + +- 임시 기본 디렉터리로 qutebrowser 열고 로그를 `stdout`에 JSON 형식으로 출력: + +`qutebrowser --temp-basedir --json-logging` diff --git a/pages.ko/common/r.md b/pages.ko/common/r.md new file mode 100644 index 00000000000000..b37cd6465cb091 --- /dev/null +++ b/pages.ko/common/r.md @@ -0,0 +1,32 @@ +# R + +> R 언어 인터프리터. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`R` + +- 바닐라 모드에서 R 시작 (즉, 작업 공간을 저장하지 않는 빈 세션): + +`R --vanilla` + +- 파일 실행: + +`R -f {{경로/대상/파일.R}}` + +- R 표현식을 실행한 후 종료: + +`R -e {{표현식}}` + +- 디버거와 함께 R 실행: + +`R -d {{디버거}}` + +- 패키지 소스에서 R 패키지 검사: + +`R CMD check {{경로/대상/패키지_소스}}` + +- 버전 표시: + +`R --version` diff --git a/pages.ko/common/r2.md b/pages.ko/common/r2.md new file mode 100644 index 00000000000000..31696db36e51bf --- /dev/null +++ b/pages.ko/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> 이 명령은 `radare2` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr radare2` diff --git a/pages.ko/common/r2e.md b/pages.ko/common/r2e.md new file mode 100644 index 00000000000000..8a79a3541bf472 --- /dev/null +++ b/pages.ko/common/r2e.md @@ -0,0 +1,25 @@ +# r2e + +> RSS 피드를 이메일 주소로 전달. +> 설정된 `sendmail` 또는 SMTP 설정이 필요합니다. +> 더 많은 정보: . + +- 이메일 주소로 이메일을 보내는 새로운 피드 데이터베이스 생성: + +`r2e new {{이메일_주소}}` + +- 피드 구독: + +`r2e add {{피드_이름}} {{피드_URI}}` + +- 새로운 이야기를 이메일 주소로 전송: + +`r2e run` + +- 모든 피드 나열: + +`r2e list` + +- 지정된 색인의 피드 삭제: + +`r2e delete {{색인}}` diff --git a/pages.ko/common/rabin2.md b/pages.ko/common/rabin2.md new file mode 100644 index 00000000000000..44a2b893043b90 --- /dev/null +++ b/pages.ko/common/rabin2.md @@ -0,0 +1,25 @@ +# rabin2 + +> 바이너리 파일(ELF, PE, Java CLASS, Mach-O)에 대한 정보 얻기 - 심볼, 섹션, 연결된 라이브러리 등. +> `radare2`와 함께 제공됩니다. +> 더 많은 정보: . + +- 바이너리에 대한 일반 정보 표시 (아키텍처, 유형, 엔디언): + +`rabin2 -I {{경로/대상/바이너리}}` + +- 연결된 라이브러리 표시: + +`rabin2 -l {{경로/대상/바이너리}}` + +- 라이브러리에서 가져온 심볼 표시: + +`rabin2 -i {{경로/대상/바이너리}}` + +- 바이너리에 포함된 문자열 표시: + +`rabin2 -z {{경로/대상/바이너리}}` + +- 출력을 JSON 형식으로 표시: + +`rabin2 -j -I {{경로/대상/바이너리}}` diff --git a/pages.ko/common/racket.md b/pages.ko/common/racket.md new file mode 100644 index 00000000000000..9f4436314732fb --- /dev/null +++ b/pages.ko/common/racket.md @@ -0,0 +1,24 @@ +# racket + +> Racket 언어 인터프리터. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`racket` + +- Racket 스크립트 실행: + +`racket {{경로/대상/스크립트.rkt}}` + +- Racket 표현식 실행: + +`racket --eval "{{표현식}}"` + +- 모듈을 스크립트로 실행 (옵션 목록 종료): + +`racket --lib {{모듈_이름}} --main {{인수}}` + +- `typed/racket` 해시랭을 위한 REPL(대화형 셸) 시작: + +`racket -I typed/racket` diff --git a/pages.ko/common/raco.md b/pages.ko/common/raco.md new file mode 100644 index 00000000000000..f5df903d254414 --- /dev/null +++ b/pages.ko/common/raco.md @@ -0,0 +1,28 @@ +# raco + +> Racket 명령줄 도구. +> 더 많은 정보: . + +- 패키지를 설치하고, 자동으로 의존성을 설치: + +`raco pkg install --auto {{패키지_출처}}` + +- 현재 디렉토리를 패키지로 설치: + +`raco pkg install` + +- 컬렉션에 대한 바이트코드, 문서, 실행 파일 및 메타데이터 색인 생성(또는 재생성): + +`raco setup {{컬렉션1 컬렉션2 ...}}` + +- 파일 내 테스트 실행: + +`raco test {{경로/대상/테스트1.rkt 경로/대상/테스트2.rkt ...}}` + +- 로컬 문서 검색: + +`raco docs {{검색어 ...}}` + +- 도움말 표시: + +`raco help` diff --git a/pages.ko/common/radare2.md b/pages.ko/common/radare2.md new file mode 100644 index 00000000000000..2995bed2c9512b --- /dev/null +++ b/pages.ko/common/radare2.md @@ -0,0 +1,28 @@ +# radare2 + +> 리버스 엔지니어링 도구 세트. +> 더 많은 정보: . + +- 파일 형식 헤더를 파싱하지 않고 쓰기 모드로 파일 열기: + +`radare2 -nw {{경로/대상/바이너리}}` + +- 프로그램 디버깅: + +`radare2 -d {{경로/대상/바이너리}}` + +- 대화형 CLI에 들어가기 전에 스크립트 실행: + +`radare2 -i {{경로/대상/스크립트.r2}} {{경로/대상/바이너리}}` + +- 대화형 CLI에서 명령어에 대한 도움말 표시: + +`{{radare2_명령어}}?` + +- 대화형 CLI에서 셀 명령어 실행: + +`!{{셸_명령어}}` + +- 현재 블록의 원시 바이트를 파일로 덤프: + +`> pr > {{경로/대상/파일.bin}}` diff --git a/pages.ko/common/rage.md b/pages.ko/common/rage.md new file mode 100644 index 00000000000000..a6591b4b7e0eb2 --- /dev/null +++ b/pages.ko/common/rage.md @@ -0,0 +1,13 @@ +# rage + +> 간단하고 안전하며 현대적인 파일 암호화 도구(Rust 라이브러리 포함)로, 작은 명시적 키, 설정 옵션 없음, UNIX 스타일의 구성 가능성을 제공합니다. +> `age`의 Rust 구현. +> 더 많은 정보: . + +- `user`를 위한 파일을 암호화하고 `message.age`로 저장: + +`echo "{{당신의 비밀 메시지}}" | rage --encrypt --recipient {{user}} --output {{경로/대상/message.age}}` + +- `identity_file`로 파일을 복호화하고 `message`로 저장: + +`rage --decrypt --identity {{경로/대상/identity_file}} --output {{message}}` diff --git a/pages.ko/common/rails-db.md b/pages.ko/common/rails-db.md new file mode 100644 index 00000000000000..a480af9fa0ee94 --- /dev/null +++ b/pages.ko/common/rails-db.md @@ -0,0 +1,36 @@ +# rails db + +> Ruby on Rails의 다양한 데이터베이스 관련 하위 명령어. +> 더 많은 정보: . + +- 데이터베이스 생성, 스키마 로드 및 시드 데이터로 초기화: + +`rails db:setup` + +- 데이터베이스 콘솔에 접근: + +`rails db` + +- 현재 환경에 정의된 데이터베이스 생성: + +`rails db:create` + +- 현재 환경에 정의된 데이터베이스 삭제: + +`rails db:drop` + +- 보류 중인 마이그레이션 실행: + +`rails db:migrate` + +- 각 마이그레이션 파일의 상태 보기: + +`rails db:migrate:status` + +- 마지막 마이그레이션 롤백: + +`rails db:rollback` + +- `db/seeds.rb`에 정의된 데이터로 현재 데이터베이스 채우기: + +`rails db:seed` diff --git a/pages.ko/common/rails-destroy.md b/pages.ko/common/rails-destroy.md new file mode 100644 index 00000000000000..dd69d3a880791c --- /dev/null +++ b/pages.ko/common/rails-destroy.md @@ -0,0 +1,24 @@ +# rails destroy + +> Rails 리소스를 삭제. +> 더 많은 정보: . + +- 삭제 가능한 모든 생성기 나열: + +`rails destroy` + +- Post라는 이름의 모델 삭제: + +`rails destroy model {{Post}}` + +- Posts라는 이름의 컨트롤러 삭제: + +`rails destroy controller {{Posts}}` + +- Posts를 생성하는 마이그레이션 삭제: + +`rails destroy migration {{CreatePosts}}` + +- Post라는 이름의 모델에 대한 스캐폴드 삭제: + +`rails destroy scaffold {{Post}}` diff --git a/pages.ko/common/rails-generate.md b/pages.ko/common/rails-generate.md new file mode 100644 index 00000000000000..9b2a1dc5065092 --- /dev/null +++ b/pages.ko/common/rails-generate.md @@ -0,0 +1,24 @@ +# rails generate + +> 기존 프로젝트에서 새로운 Rails 템플릿 생성. +> 더 많은 정보: . + +- 사용 가능한 모든 생성기 나열: + +`rails generate` + +- 제목과 본문 속성을 가진 Post라는 새로운 모델 생성: + +`rails generate model {{Post}} {{title:string}} {{body:text}}` + +- index, show, new, create 액션을 가진 Posts라는 새로운 컨트롤러 생성: + +`rails generate controller {{Posts}} {{index}} {{show}} {{new}} {{create}}` + +- 기존 모델 Post에 category 속성을 추가하는 새로운 마이그레이션 생성: + +`rails generate migration {{AddCategoryToPost}} {{category:string}}` + +- 제목과 본문 속성을 미리 정의하여 Post라는 모델을 위한 스캐폴드 생성: + +`rails generate scaffold {{Post}} {{title:string}} {{body:text}}` diff --git a/pages.ko/common/rails-routes.md b/pages.ko/common/rails-routes.md new file mode 100644 index 00000000000000..6662bd6a73be4d --- /dev/null +++ b/pages.ko/common/rails-routes.md @@ -0,0 +1,20 @@ +# rails routes + +> Rails 애플리케이션에서 경로를 나열. +> 더 많은 정보: . + +- 모든 경로 나열: + +`rails routes` + +- 확장된 형식으로 모든 경로 나열: + +`rails routes {{[-E|--expanded]}}` + +- URL 헬퍼 메서드 이름, HTTP 메서드 또는 URL 경로와 부분적으로 일치하는 경로 나열: + +`rails routes {{[-g|--grep]}} {{posts_path|GET|/posts}}` + +- 지정된 컨트롤러에 매핑된 경로 나열: + +`rails routes {{[-c|--controller]}} {{posts|Posts|Blogs::PostsController}}` diff --git a/pages.ko/common/rails.md b/pages.ko/common/rails.md new file mode 100644 index 00000000000000..cb6b6bd54056cf --- /dev/null +++ b/pages.ko/common/rails.md @@ -0,0 +1,25 @@ +# rails + +> 서버 측 MVC 프레임워크로, Ruby로 작성되었습니다. +> `generate`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 새 Rails 프로젝트 생성: + +`rails new "{{프로젝트_이름}}"` + +- 현재 프로젝트의 로컬 서버를 포트 3000에서 시작: + +`rails server` + +- 현재 프로젝트의 로컬 서버를 지정된 포트에서 시작: + +`rails server -p "{{포트}}"` + +- 명령줄에서 애플리케이션과 상호작용할 수 있는 콘솔 열기: + +`rails console` + +- 현재 Rails 버전 확인: + +`rails --version` diff --git a/pages.ko/common/railway.md b/pages.ko/common/railway.md new file mode 100644 index 00000000000000..54636035eeac6b --- /dev/null +++ b/pages.ko/common/railway.md @@ -0,0 +1,28 @@ +# railway + +> 코드를 Railway 프로젝트에 연결. +> 더 많은 정보: . + +- Railway 계정에 로그인: + +`railway login` + +- 기존 Railway 계정 또는 팀의 프로젝트에 연결: + +`railway link {{프로젝트_ID}}` + +- 새 프로젝트 생성: + +`railway init` + +- 활성 환경의 변수를 사용하여 로컬 명령 실행: + +`railway run {{명령어}}` + +- 연결된 프로젝트 디렉토리 배포 (하위 디렉토리에서 실행하는 경우에도 프로젝트 루트가 배포됨): + +`railway up` + +- 데이터베이스에 대한 대화형 셸 열기: + +`railway connect` diff --git a/pages.ko/common/rainbowstream.md b/pages.ko/common/rainbowstream.md new file mode 100644 index 00000000000000..afe88322a6c4e2 --- /dev/null +++ b/pages.ko/common/rainbowstream.md @@ -0,0 +1,33 @@ +# rainbowstream + +> 터미널 기반의 Twitter 클라이언트로, 실시간 트윗 스트림, 트렌드, 전송, 검색, 즐겨찾기 및 사용자 관리를 지원합니다. +> ``로 온라인 도움말, ```` 화살표로 히스토리, `` 자동 완성, 2번 `` 제안 기능을 사용할 수 있습니다. +> 더 많은 정보: . + +- RainbowStream 열기: + +`rainbowstream` + +- 타임라인 보기 (표시할 트윗 수는 선택 사항이며 기본값은 5개): + +`home [{{최근_트윗_수}}]` + +- 특정 사용자의 프로필 보기: + +`whois @{{사용자}}` + +- 메시지를 그대로 트윗하기: + +`t {{메시지}}` + +- 주어진 ID의 트윗을 리트윗하기 (ID는 시간 옆에 표시됨): + +`rt {{트윗_ID}}` + +- 주어진 ID의 트윗을 즐겨찾기에 추가하기: + +`fav {{트윗_ID}}` + +- 특정 단어 검색하기 (해시태그 포함 또는 미포함): + +`s {{단어}}` diff --git a/pages.ko/common/rake.md b/pages.ko/common/rake.md new file mode 100644 index 00000000000000..3aea9ddf431678 --- /dev/null +++ b/pages.ko/common/rake.md @@ -0,0 +1,25 @@ +# rake + +> Ruby용 Make와 유사한 프로그램. +> `rake`의 작업은 Rakefile에 지정됩니다. +> 더 많은 정보: . + +- `default` Rakefile 작업 실행: + +`rake` + +- 특정 작업 실행: + +`rake {{작업}}` + +- 동시에 `n`개의 작업 병렬 실행 (기본값은 CPU 코어 수 + 4): + +`rake --jobs {{n}}` + +- 특정 Rakefile 사용: + +`rake --rakefile {{경로/대상/Rakefile}}` + +- 다른 디렉토리에서 `rake` 실행: + +`rake --directory {{경로/대상/폴더}}` diff --git a/pages.ko/common/ranger.md b/pages.ko/common/ranger.md new file mode 100644 index 00000000000000..12bfdeda1900c8 --- /dev/null +++ b/pages.ko/common/ranger.md @@ -0,0 +1,25 @@ +# ranger + +> VI 키 바인딩을 사용하는 콘솔 파일 관리자. +> 같이 보기: `clifm`, `vifm`, `mc`, `dolphin`. +> 더 많은 정보: . + +- ranger 실행: + +`ranger` + +- 디렉토리만 표시: + +`ranger --show-only-dirs` + +- 설정 디렉토리 변경: + +`ranger --confdir={{경로/대상/폴더}}` + +- 데이터 디렉토리 변경: + +`ranger --datadir={{경로/대상/폴더}}` + +- 종료 시 CPU 사용 통계 출력: + +`ranger --profile` diff --git a/pages.ko/common/rapper.md b/pages.ko/common/rapper.md new file mode 100644 index 00000000000000..25f13d238bc595 --- /dev/null +++ b/pages.ko/common/rapper.md @@ -0,0 +1,13 @@ +# rapper + +> Raptor RDF 구문 분석 도구. +> Raptor RDF 구문 라이브러리의 일부. +> 더 많은 정보: . + +- RDF/XML 문서를 Turtle 형식으로 변환: + +`rapper -i rdfxml -o turtle {{경로/대상/파일}}` + +- Turtle 파일의 삼중항 개수 세기: + +`rapper -i turtle -c {{경로/대상/파일}}` diff --git a/pages.ko/common/rar.md b/pages.ko/common/rar.md new file mode 100644 index 00000000000000..73c2773eb9e81f --- /dev/null +++ b/pages.ko/common/rar.md @@ -0,0 +1,28 @@ +# rar + +> RAR 압축 도구. 선택적으로 자동 추출이 가능한 다중 볼륨 아카이브를 지원. +> 더 많은 정보: . + +- 하나 이상의 파일을 아카이브로 압축: + +`rar a {{경로/대상/아카이브_이름.rar}} {{경로/대상/파일1}} {{경로/대상/파일2}} {{경로/대상/파일3}}` + +- 디렉토리를 아카이브로 압축: + +`rar a {{경로/대상/아카이브_이름.rar}} {{경로/대상/폴더}}` + +- 아카이브를 동일한 크기(50M)로 분할: + +`rar a -v{{50M}} -R {{경로/대상/아카이브_이름.rar}} {{경로/대상/파일_또는_폴더}}` + +- 결과 아카이브에 비밀번호 설정: + +`rar a -p{{비밀번호}} {{경로/대상/아카이브_이름.rar}} {{경로/대상/파일_또는_폴더}}` + +- 파일 데이터와 헤더를 비밀번호로 암호화: + +`rar a -hp{{비밀번호}} {{경로/대상/아카이브_이름.rar}} {{경로/대상/파일_또는_폴더}}` + +- 특정 압축 레벨 사용 (0-5): + +`rar a -m{{압축_레벨}} {{경로/대상/아카이브_이름.rar}} {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/rarcrack.md b/pages.ko/common/rarcrack.md new file mode 100644 index 00000000000000..e0ee638e801546 --- /dev/null +++ b/pages.ko/common/rarcrack.md @@ -0,0 +1,15 @@ +# rarcrack + +> RAR, Zip, 7z 아카이브의 비밀번호 크래커. + +- 아카이브의 비밀번호를 무차별 대입으로 찾기 (아카이브 유형을 자동으로 추측): + +`rarcrack {{경로/대상/파일.zip}}` + +- 아카이브 유형 지정: + +`rarcrack --type {{rar|zip|7z}} {{경로/대상/파일.zip}}` + +- 여러 스레드 사용: + +`rarcrack --threads {{6}} {{경로/대상/파일.zip}}` diff --git a/pages.ko/common/rasttopnm.md b/pages.ko/common/rasttopnm.md new file mode 100644 index 00000000000000..2299ed8d64656d --- /dev/null +++ b/pages.ko/common/rasttopnm.md @@ -0,0 +1,12 @@ +# rasttopnm + +> Sun 래스터 파일을 PNM 파일로 변환. +> 더 많은 정보: . + +- RAST 이미지를 PNM 파일로 변환: + +`rasttopnm {{경로/대상/입력.rast}} > {{경로/대상/출력.pnm}}` + +- 색상 값이 있는 경우 래스터의 색상 맵 인덱스를 사용: + +`rasttopnm -index {{경로/대상/입력.rast}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/rawtopgm.md b/pages.ko/common/rawtopgm.md new file mode 100644 index 00000000000000..3c7616d74f204e --- /dev/null +++ b/pages.ko/common/rawtopgm.md @@ -0,0 +1,32 @@ +# rawtopgm + +> raw 그레이스케일 이미지를 PGM 이미지로 변환. +> 더 많은 정보: . + +- raw 그레이스케일 이미지를 PGM 이미지로 변환: + +`rawtopgm {{너비}} {{높이}} {{경로/대상/이미지.raw}} > {{경로/대상/출력.pgm}}` + +- 이미지를 정사각형으로 가정하고 raw 그레이스케일 이미지를 PGM 이미지로 변환: + +`rawtopgm {{경로/대상/이미지.raw}} > {{경로/대상/출력.pgm}}` + +- 픽셀이 상단에서 시작하지 않고 하단에서 시작하는 raw 그레이스케일 이미지를 PGM 이미지로 변환: + +`rawtopgm {{너비}} {{높이}} -bottomfirst {{경로/대상/이미지.raw}} > {{경로/대상/출력.pgm}}` + +- 지정된 파일의 처음 n 바이트 무시: + +`rawtopgm {{너비}} {{높이}} -headerskip {{n}} {{경로/대상/이미지.raw}} > {{경로/대상/출력.pgm}}` + +- 지정된 파일의 각 행에서 마지막 m 바이트 무시: + +`rawtopgm {{너비}} {{높이}} -rowskip {{m}} {{경로/대상/이미지.raw}} > {{경로/대상/출력.pgm}}` + +- 입력의 그레이 값의 최대값을 N으로 지정: + +`rawtopgm {{너비}} {{높이}} -maxval {{N}} {{경로/대상/이미지.raw}} > {{경로/대상/출력.pgm}}` + +- 입력에서 각 샘플을 나타내는 바이트 수를 지정하고 바이트 시퀀스를 리틀 엔디안으로 해석: + +`rawtopgm {{너비}} {{높이}} -bpp {{1|2}} -littleendian {{경로/대상/이미지.raw}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/rawtoppm.md b/pages.ko/common/rawtoppm.md new file mode 100644 index 00000000000000..d55230362d11ba --- /dev/null +++ b/pages.ko/common/rawtoppm.md @@ -0,0 +1,24 @@ +# rawtoppm + +> Raw RGB 스트림을 PPM 이미지로 변환. +> 더 많은 정보: . + +- Raw RGB 스트림을 PPM 이미지로 변환: + +`rawtoppm {{너비}} {{높이}} {{경로/대상/이미지.raw}} > {{경로/대상/출력.ppm}}` + +- 픽셀이 위에서부터가 아닌 아래에서부터 오는 Raw RGB 스트림을 PPM 이미지로 변환: + +`rawtoppm {{너비}} {{높이}} {{경로/대상/이미지.raw}} | pamflip -tb > {{경로/대상/출력.ppm}}` + +- 지정된 파일의 처음 n 바이트 무시: + +`rawtoppm {{너비}} {{높이}} -headerskip {{n}} {{경로/대상/이미지.raw}} > {{경로/대상/출력.ppm}}` + +- 지정된 파일의 각 행에서 마지막 m 바이트 무시: + +`rawtoppm {{너비}} {{높이}} -rowskip {{m}} {{경로/대상/이미지.raw}} > {{경로/대상/출력.ppm}}` + +- 각 픽셀의 색상 구성 요소 순서 지정: + +`rawtoppm {{너비}} {{높이}} -{{rgb|rbg|grb|gbr|brg|bgr}} {{경로/대상/이미지.raw}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/rbac-lookup.md b/pages.ko/common/rbac-lookup.md new file mode 100644 index 00000000000000..49828b6a5e5ad7 --- /dev/null +++ b/pages.ko/common/rbac-lookup.md @@ -0,0 +1,24 @@ +# rbac-lookup + +> Kubernetes 클러스터에서 사용자, 서비스 계정 또는 그룹 이름에 연결된 역할 및 클러스터 역할을 찾습니다. +> 더 많은 정보: . + +- 모든 RBAC 바인딩 보기: + +`rbac-lookup` + +- 주어진 표현식과 일치하는 RBAC 바인딩 보기: + +`rbac-lookup {{검색_어구}}` + +- 소스 역할 바인딩과 함께 모든 RBAC 바인딩 보기: + +`rbac-lookup -o wide` + +- 주체로 필터링된 모든 RBAC 바인딩 보기: + +`rbac-lookup -k {{사용자|그룹|서비스계정}}` + +- IAM 역할과 함께 모든 RBAC 바인딩 보기 (GKE를 사용하는 경우): + +`rbac-lookup --gke` diff --git a/pages.ko/common/rbash.md b/pages.ko/common/rbash.md new file mode 100644 index 00000000000000..128e0dd9db78db --- /dev/null +++ b/pages.ko/common/rbash.md @@ -0,0 +1,30 @@ +# rbash + +> 제한된 Bash 셸로, `bash --restricted`와 동등합니다. +> 작업 디렉토리 변경, 명령 출력 리디렉션, 환경 변수 수정 등을 허용하지 않습니다. +> 히스토리 확장을 위해 `histexpand`도 참조하세요. +> 더 많은 정보: . + +- 대화형 셸 세션 시작: + +`rbash` + +- 명령을 실행한 후 종료: + +`rbash -c "{{명령}}"` + +- 스크립트 실행: + +`rbash {{경로/대상/스크립트.sh}}` + +- 각 명령을 실행 전에 출력하며 스크립트 실행: + +`rbash -x {{경로/대상/스크립트.sh}}` + +- 스크립트에서 명령을 읽고 첫 번째 오류에서 중지: + +`rbash -e {{경로/대상/스크립트.sh}}` + +- `stdin`에서 명령을 읽고 실행: + +`rbash -s` diff --git a/pages.ko/common/rbenv.md b/pages.ko/common/rbenv.md new file mode 100644 index 00000000000000..686c5c57bab339 --- /dev/null +++ b/pages.ko/common/rbenv.md @@ -0,0 +1,37 @@ +# rbenv + +> 쉽게 Ruby 버전을 설치하고 애플리케이션 환경을 관리. +> 같이 보기: `asdf`. +> 더 많은 정보: . + +- Ruby 버전 설치: + +`rbenv install {{버전}}` + +- 각 Ruby의 최신 안정 버전 목록 표시: + +`rbenv install --list` + +- 설치된 Ruby 버전 목록 표시: + +`rbenv versions` + +- 시스템 전체에서 특정 Ruby 버전 사용: + +`rbenv global {{버전}}` + +- 애플리케이션/프로젝트 디렉토리에 특정 Ruby 버전 사용: + +`rbenv local {{버전}}` + +- 현재 선택된 Ruby 버전 표시: + +`rbenv version` + +- Ruby 버전 제거: + +`rbenv uninstall {{버전}}` + +- 지정된 실행 파일을 포함하는 모든 Ruby 버전 표시: + +`rbenv whence {{실행_파일}}` diff --git a/pages.ko/common/rbt.md b/pages.ko/common/rbt.md new file mode 100644 index 00000000000000..91aa1e1ec94550 --- /dev/null +++ b/pages.ko/common/rbt.md @@ -0,0 +1,24 @@ +# rbt + +> RBTools는 Review Board 및 RBCommons와 함께 작업하기 위한 명령줄 도구 세트입니다. +> 더 많은 정보: . + +- Review Board에 변경 사항 게시: + +`rbt post {{변경_번호}}` + +- Review Board에 전송될 차이점 표시: + +`rbt diff` + +- 로컬 브랜치 또는 검토 요청에 변경사항 적용: + +`rbt land {{브랜치_이름}}` + +- 검토 요청에 대한 변경사항으로 트리 패치: + +`rbt patch {{검토_요청_ID}}` + +- RBTool을 설정하여 저장소와 통신하도록 설정: + +`rbt setup-repo` diff --git a/pages.ko/common/rc.md b/pages.ko/common/rc.md new file mode 100644 index 00000000000000..1a1e19804c0d65 --- /dev/null +++ b/pages.ko/common/rc.md @@ -0,0 +1,13 @@ +# rc + +> 현대적이고 단순한 포트 리스너 및 리버스 셸. +> `nc`와 유사. +> 더 많은 정보: . + +- 특정 포트에서 리스닝 시작: + +`rc -lp {{포트}}` + +- 리버스 셸 시작: + +`rc {{호스트}} {{포트}} -r {{셸}}` diff --git a/pages.ko/common/rcat.md b/pages.ko/common/rcat.md new file mode 100644 index 00000000000000..fb0ada58eac017 --- /dev/null +++ b/pages.ko/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> 이 명령은 `rc` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr rc` diff --git a/pages.ko/common/rclone.md b/pages.ko/common/rclone.md new file mode 100644 index 00000000000000..bae51a27c29d92 --- /dev/null +++ b/pages.ko/common/rclone.md @@ -0,0 +1,36 @@ +# rclone + +> 여러 클라우드 서비스와 파일 및 디렉터리를 복사, 동기화 또는 이동. +> 더 많은 정보: . + +- rclone 설정을 위한 인터랙티브 메뉴 실행: + +`rclone config` + +- rclone 원격의 디렉터리 내용 나열: + +`rclone lsf {{원격_이름}}:{{경로/대상/폴더}}` + +- 로컬 머신에서 원격 대상으로 파일이나 디렉터리 복사: + +`rclone copy {{경로/대상/소스_파일_또는_폴더}} {{원격_이름}}:{{경로/대상/폴더}}` + +- 지난 24시간 내에 변경된 파일들을 사용자 확인을 거쳐 로컬 머신에서 원격으로 복사: + +`rclone copy --interactive --max-age 24h {{원격_이름}}:{{경로/대상/폴더}} {{경로/대상/로컬_폴더}}` + +- 특정 파일이나 디렉터리 미러링 (참고: 복사와 달리, 동기화는 로컬에 존재하지 않는 파일을 원격에서 제거): + +`rclone sync {{경로/대상/파일_또는_폴더}} {{원격_이름}}:{{경로/대상/폴더}}` + +- 원격 파일이나 디렉터리 삭제 (참고: `--dry-run`은 테스트를 의미하며, 실제로 삭제하려면 명령에서 제거): + +`rclone --dry-run delete {{원격_이름}}:{{경로/대상/파일_또는_폴더}}` + +- rclone 원격 마운트 (실험적): + +`rclone mount {{원격_이름}}:{{경로/대상/폴더}} {{경로/대상/마운트_포인트}}` + +- `` 실패 시 rclone 원격 마운트 해제 (실험적): + +`fusermount -u {{경로/대상/마운트_포인트}}` diff --git a/pages.ko/common/rdfind.md b/pages.ko/common/rdfind.md new file mode 100644 index 00000000000000..f877e4ad3b2fcc --- /dev/null +++ b/pages.ko/common/rdfind.md @@ -0,0 +1,20 @@ +# rdfind + +> 중복된 내용을 가진 파일을 찾아 제거. +> 더 많은 정보: . + +- 주어진 디렉터리에서 모든 중복 파일을 식별하고 요약 출력: + +`rdfind -dryrun true {{경로/대상/폴더}}` + +- 모든 중복 파일을 하드 링크로 교체: + +`rdfind -makehardlinks true {{경로/대상/폴더}}` + +- 모든 중복 파일을 심볼릭 링크/소프트 링크로 교체: + +`rdfind -makesymlinks true {{경로/대상/폴더}}` + +- 모든 중복 파일 삭제하고 빈 파일 무시 안 함: + +`rdfind -deleteduplicates true -ignoreempty false {{경로/대상/폴더}}` diff --git a/pages.ko/common/react-native-start.md b/pages.ko/common/react-native-start.md new file mode 100644 index 00000000000000..3578e6ed48ed0f --- /dev/null +++ b/pages.ko/common/react-native-start.md @@ -0,0 +1,28 @@ +# react-native start + +> React Native 서버를 시작하는 명령줄 도구. +> 더 많은 정보: . + +- 연결된 기기와 통신하는 서버 시작: + +`react-native start` + +- 캐시를 초기화하여 메트로 번들러 시작: + +`react-native start --reset-cache` + +- 사용자 지정 포트(기본값은 8081)로 서버 시작: + +`react-native start --port {{3000}}` + +- 자세한 모드로 서버 시작: + +`react-native start --verbose` + +- 파일 변환 작업을 위한 최대 작업자 수 지정(기본값은 CPU 코어 수): + +`react-native start --max-workers {{개수}}` + +- 대화형 모드 비활성화: + +`react-native start --no-interactive` diff --git a/pages.ko/common/react-native.md b/pages.ko/common/react-native.md new file mode 100644 index 00000000000000..396af732f4ee47 --- /dev/null +++ b/pages.ko/common/react-native.md @@ -0,0 +1,36 @@ +# react-native + +> React를 사용하여 네이티브 앱을 구축하기 위한 프레임워크. +> 더 많은 정보: . + +- 동일한 이름의 디렉터리에 새 React Native 프로젝트 초기화: + +`react-native init {{프로젝트_이름}}` + +- 메트로 번들러 시작: + +`react-native start` + +- 캐시를 초기화한 상태로 메트로 번들러 시작: + +`react-native start --reset-cache` + +- 현재 애플리케이션 빌드 및 연결된 Android 기기 또는 에뮬레이터에서 시작: + +`react-native run-android` + +- 현재 애플리케이션 빌드 및 iOS 시뮬레이터에서 시작: + +`react-native run-ios` + +- `release` 모드에서 현재 애플리케이션 빌드 및 연결된 Android 기기 또는 에뮬레이터에서 시작: + +`react-native run-android --variant={{release}}` + +- `logkitty` 시작 및 로그를 `stdout`에 출력: + +`react-native log-android` + +- iOS 시뮬레이터를 위한 `tail system.log` 시작 및 로그를 `stdout`에 출력: + +`react-native log-ios` diff --git a/pages.ko/common/read.md b/pages.ko/common/read.md new file mode 100644 index 00000000000000..2f53000f1dffdc --- /dev/null +++ b/pages.ko/common/read.md @@ -0,0 +1,36 @@ +# read + +> `stdin`으로부터 데이터를 수신하는 셸 내장 함수. +> 더 많은 정보: . + +- 키보드로 입력한 데이터를 저장: + +`read {{변수}}` + +- 입력한 각 줄을 배열의 값으로 저장: + +`read -a {{배열}}` + +- 읽을 최대 문자 수 지정: + +`read -n {{문자_수}} {{변수}}` + +- 여러 값을 여러 변수에 할당: + +`read {{_ 변수1 _ 변수2}} <<< "{{The surname is Bond}}"` + +- 백슬래시(\\)를 이스케이프 문자로 사용하지 않음: + +`read -r {{변수}}` + +- 입력 전에 프롬프트 표시: + +`read -p "{{여기에 입력: }}" {{변수}}` + +- 입력한 문자를 표시하지 않음 (비밀 모드): + +`read -s {{변수}}` + +- `stdin`을 읽고 각 줄에 대해 작업 수행: + +`while read line; do {{echo|ls|rm|...}} "$line"; done < {{/dev/stdin|경로/대상/파일|...}}` diff --git a/pages.ko/common/readlink.md b/pages.ko/common/readlink.md new file mode 100644 index 00000000000000..5669dd4d25b958 --- /dev/null +++ b/pages.ko/common/readlink.md @@ -0,0 +1,12 @@ +# readlink + +> 심볼릭 링크를 따라가고 심볼릭 링크 정보를 가져옵니다. +> 더 많은 정보: . + +- 심볼릭 링크가 가리키는 실제 파일을 가져오기: + +`readlink {{경로/대상/파일}}` + +- 파일의 절대 경로 가져오기: + +`readlink {{[-f|--canonicalize]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/readonly.md b/pages.ko/common/readonly.md new file mode 100644 index 00000000000000..6a359eae6945d0 --- /dev/null +++ b/pages.ko/common/readonly.md @@ -0,0 +1,16 @@ +# readonly + +> 읽기 전용 셸 변수를 설정합니다. +> 더 많은 정보: . + +- 읽기 전용 변수 설정: + +`readonly {{변수_이름}}={{값}}` + +- 변수 읽기 전용으로 표시: + +`readonly {{기존_변수}}` + +- 모든 읽기 전용 변수의 이름과 값을 `stdout`에 [p]rint: + +`readonly -p` diff --git a/pages.ko/common/realpath.md b/pages.ko/common/realpath.md new file mode 100644 index 00000000000000..ca0af3f4caea01 --- /dev/null +++ b/pages.ko/common/realpath.md @@ -0,0 +1,24 @@ +# realpath + +> 파일이나 디렉터리에 대한 절대 경로를 표시. +> 더 많은 정보: . + +- 파일이나 디렉터리에 대한 절대 경로 표시: + +`realpath {{경로/대상/파일_또는_폴더}}` + +- 모든 경로 구성 요소가 존재해야 함: + +`realpath {{[-e|--canonicalize-existing]}} {{경로/대상/파일_또는_폴더}}` + +- 심볼릭 링크 전에 ".." 구성 요소 해결: + +`realpath {{[-L|--logical]}} {{경로/대상/파일_또는_폴더}}` + +- 심볼릭 링크 확장 비활성화: + +`realpath {{[-s|--no-symlinks]}} {{경로/대상/파일_또는_폴더}}` + +- 오류 메시지 억제: + +`realpath {{[-q|--quiet]}} {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/recsel.md b/pages.ko/common/recsel.md new file mode 100644 index 00000000000000..533cc191cd225b --- /dev/null +++ b/pages.ko/common/recsel.md @@ -0,0 +1,16 @@ +# recsel + +> recfile에서 레코드를 출력: 사람이 편집할 수 있는 일반 텍스트 데이터베이스. +> 더 많은 정보: . + +- 이름 및 버전 필드 추출: + +`recsel -p name,version {{data.rec}}` + +- "~"를 사용하여 주어진 정규 표현식과 문자열 매칭: + +`recsel -e "{{필드_이름}} ~ '{{정규_표현식}}' {{data.rec}}"` + +- 이름과 버전을 매칭하는 조건 사용: + +`recsel -e "name ~ '{{정규_표현식}}' && version ~ '{{정규_표현식}}'" {{data.rec}}` diff --git a/pages.ko/common/rector.md b/pages.ko/common/rector.md new file mode 100644 index 00000000000000..23a761bf8c2b48 --- /dev/null +++ b/pages.ko/common/rector.md @@ -0,0 +1,24 @@ +# rector + +> PHP 5.3+ 코드를 업데이트하고 리팩토링하는 자동화 도구. +> 더 많은 정보: . + +- 특정 디렉토리 처리: + +`rector process {{경로/대상/폴더}}` + +- 변경 사항을 적용하지 않고 디렉토리 처리 (드라이 런): + +`rector process {{경로/대상/폴더}} --dry-run` + +- 디렉토리를 처리하고 코딩 표준 적용: + +`rector process {{경로/대상/폴더}} --with-style` + +- 사용 가능한 레벨 목록 표시: + +`rector levels` + +- 특정 레벨로 디렉토리 처리: + +`rector process {{경로/대상/폴더}} --level {{레벨_이름}}` diff --git a/pages.ko/common/redis-benchmark.md b/pages.ko/common/redis-benchmark.md new file mode 100644 index 00000000000000..7f6ef7c063d361 --- /dev/null +++ b/pages.ko/common/redis-benchmark.md @@ -0,0 +1,32 @@ +# redis-benchmark + +> Redis 서버의 성능을 테스트. +> 더 많은 정보: . + +- 전체 벤치마크 실행: + +`redis-benchmark` + +- 특정 Redis 서버에서 벤치마크 실행: + +`redis-benchmark -h {{호스트}} -p {{포트}} -a {{비밀번호}}` + +- 기본 100000 요청으로 테스트의 일부 실행: + +`redis-benchmark -h {{호스트}} -p {{포트}} -t {{set,lpush}} -n {{100000}}` + +- 특정 스크립트로 실행: + +`redis-benchmark -n {{100000}} script load "{{redis.call('set', 'foo', 'bar')}}"` + +- 100000개의 [r]andom 키를 사용하여 벤치마크 실행: + +`redis-benchmark -t {{set}} -r {{100000}}` + +- 16개의 명령으로 [P]ipelining하여 벤치마크 실행: + +`redis-benchmark -n {{1000000}} -t {{set,get}} -P {{16}}` + +- [q]uietly 실행하여 초당 쿼리 결과만 표시: + +`redis-benchmark -q` diff --git a/pages.ko/common/redis-cli.md b/pages.ko/common/redis-cli.md new file mode 100644 index 00000000000000..8559d43e636916 --- /dev/null +++ b/pages.ko/common/redis-cli.md @@ -0,0 +1,32 @@ +# redis-cli + +> Redis 서버에 연결합니다. +> 더 많은 정보: . + +- 로컬 서버에 연결: + +`redis-cli` + +- 기본 포트(6379)로 원격 서버에 연결: + +`redis-cli -h {{호스트}}` + +- 포트 번호를 지정하여 원격 서버에 연결: + +`redis-cli -h {{호스트}} -p {{포트}}` + +- URI를 지정하여 원격 서버에 연결: + +`redis-cli -u {{URI}}` + +- 비밀번호 지정: + +`redis-cli -a {{비밀번호}}` + +- Redis 명령 실행: + +`redis-cli {{redis_명령}}` + +- 로컬 클러스터에 연결: + +`redis-cli -c` diff --git a/pages.ko/common/redis-server.md b/pages.ko/common/redis-server.md new file mode 100644 index 00000000000000..bacacd83c314cc --- /dev/null +++ b/pages.ko/common/redis-server.md @@ -0,0 +1,24 @@ +# redis-server + +> 영구적인 키-값 데이터베이스. +> 더 많은 정보: . + +- 기본 포트(6379)를 사용하여 Redis 서버 시작 및 로그를 `stdout`으로 출력: + +`redis-server` + +- 기본 포트를 사용하여 백그라운드 프로세스로 Redis 서버 시작: + +`redis-server --daemonize yes` + +- 지정된 포트를 사용하여 백그라운드 프로세스로 Redis 서버 시작: + +`redis-server --port {{포트}} --daemonize yes` + +- 사용자 지정 구성 파일을 사용하여 Redis 서버 시작: + +`redis-server {{경로/대상/redis.conf}}` + +- 상세 로그를 출력하며 Redis 서버 시작: + +`redis-server --loglevel {{warning|notice|verbose|debug}}` diff --git a/pages.ko/common/redshift.md b/pages.ko/common/redshift.md new file mode 100644 index 00000000000000..52e918512eb508 --- /dev/null +++ b/pages.ko/common/redshift.md @@ -0,0 +1,24 @@ +# redshift + +> 주변 환경에 따라 화면의 색온도를 조정. +> 더 많은 정보: . + +- 낮 동안 특정 [t]온도(예: 5700K)와 밤 동안 특정 온도(예: 3600K)로 Redshift 켜기: + +`redshift -t {{5700}}:{{3600}}` + +- 수동으로 지정한 맞춤 [l]위치로 Redshift 켜기: + +`redshift -l {{위도}}:{{경도}}` + +- 낮 동안 특정 화면 [b]밝기(예: 70%)와 밤 동안 특정 밝기(예: 40%)로 Redshift 켜기: + +`redshift -b {{0.7}}:{{0.4}}` + +- 맞춤 [g]감마 수준(0과 1 사이)으로 Redshift 켜기: + +`redshift -g {{red}}:{{green}}:{{blue}}` + +- 기존의 온도 변화를 [P]제거하고 [O]ne-shot 모드에서 일정한 색온도를 설정: + +`redshift -PO {{온도}}` diff --git a/pages.ko/common/reflac.md b/pages.ko/common/reflac.md new file mode 100644 index 00000000000000..58fffe2fdac50e --- /dev/null +++ b/pages.ko/common/reflac.md @@ -0,0 +1,24 @@ +# reflac + +> FLAC 파일을 메타데이터를 유지하며 제자리에서 재압축. +> 더 많은 정보: . + +- FLAC 파일이 있는 디렉토리 재압축: + +`reflac {{경로/대상/폴더}}` + +- 최대 압축 사용 (매우 느림): + +`reflac --best {{경로/대상/폴더}}` + +- 처리 중인 파일 이름 표시: + +`reflac --verbose {{경로/대상/폴더}}` + +- 하위 디렉토리까지 재귀적으로 처리: + +`reflac --recursive {{경로/대상/폴더}}` + +- 파일 수정 시간 보존: + +`reflac --preserve {{경로/대상/폴더}}` diff --git a/pages.ko/common/reflex.md b/pages.ko/common/reflex.md new file mode 100644 index 00000000000000..3cabb9ce38c05e --- /dev/null +++ b/pages.ko/common/reflex.md @@ -0,0 +1,24 @@ +# reflex + +> 특정 파일이 변경되면 디렉토리를 모니터링하고 명령을 다시 실행. +> 더 많은 정보: . + +- 파일이 변경되면 `make`로 다시 빌드: + +`reflex make` + +- `.go` 파일이 변경되면 Go 애플리케이션을 컴파일하고 실행: + +`reflex --regex='{{\.go$}}' {{go run .}}` + +- 변경 사항을 모니터링할 때 디렉토리를 무시: + +`reflex --inverse-regex='{{^dir/}}' {{명령어}}` + +- `reflex`가 시작될 때 명령어를 실행하고 파일이 변경되면 다시 시작: + +`reflex --start-service=true {{명령어}}` + +- 변경된 파일 이름을 대체하여 출력: + +`reflex -- echo {}` diff --git a/pages.ko/common/rekor-cli.md b/pages.ko/common/rekor-cli.md new file mode 100644 index 00000000000000..2ea2ff4e5bf555 --- /dev/null +++ b/pages.ko/common/rekor-cli.md @@ -0,0 +1,20 @@ +# rekor-cli + +> 소프트웨어 프로젝트의 공급망 내에서 생성된 메타데이터의 변경 불가능한 변조 방지 원장. +> 더 많은 정보: . + +- 아티팩트를 Rekor에 업로드: + +`rekor-cli upload --artifact {{경로/대상/파일.ext}} --signature {{경로/대상/파일.ext.sig}} --pki-format={{x509}} --public-key={{경로/대상/키.pub}}` + +- 투명성 로그의 항목에 대한 정보 얻기: + +`rekor-cli get --uuid={{0e81b4d9299e2609e45b5c453a4c0e7820ac74e02c4935a8b830d104632fd2d1}}` + +- 아티팩트로 Rekor 색인에서 항목 검색: + +`rekor-cli search --artifact {{경로/대상/파일.ext}}` + +- 특정 해시로 Rekor 색인에서 항목 검색: + +`rekor-cli search --sha {{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b}}` diff --git a/pages.ko/common/remove-nodeversion.md b/pages.ko/common/remove-nodeversion.md new file mode 100644 index 00000000000000..beffd886da5303 --- /dev/null +++ b/pages.ko/common/remove-nodeversion.md @@ -0,0 +1,21 @@ +# Remove-NodeVersion + +> `ps-nvm`용 Node.js 런타임 버전 제거. +> 이 명령은 `ps-nvm`의 일부이며 PowerShell에서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 특정 Node.js 버전 제거: + +`Remove-NodeVersion {{노드_버전}}` + +- 여러 Node.js 버전 제거: + +`Remove-NodeVersion {{노드_버전1, 노드_버전2, ...}}` + +- 현재 설치된 모든 Node.js 20.x 버전 제거: + +`Get-NodeVersions -Filter ">=20.0.0 <21.0.0" | Remove-NodeVersion` + +- 현재 설치된 모든 Node.js 버전 제거: + +`Get-NodeVersions | Remove-NodeVersion` diff --git a/pages.ko/common/renice.md b/pages.ko/common/renice.md new file mode 100644 index 00000000000000..edd132fe1f244e --- /dev/null +++ b/pages.ko/common/renice.md @@ -0,0 +1,18 @@ +# renice + +> 실행 중인 프로세스의 스케줄링 우선순위/친화도를 변경. +> 친화도 값은 -20(프로세스에 가장 유리함)에서 19(프로세스에 가장 불리함)까지. +> 같이 보기: `nice`. +> 더 많은 정보: . + +- 실행 중인 [p]rocess의 우선순위를 증가/감소: + +`renice -n {{3}} -p {{pid}}` + +- 특정 [u]ser가 소유한 모든 프로세스의 우선순위를 증가/감소: + +`renice -n {{-4}} -u {{uid|사용자}}` + +- 프로세스 [g]roup에 속한 모든 프로세스의 우선순위를 증가/감소: + +`renice -n {{5}} -g {{프로세스_그룹}}` diff --git a/pages.ko/common/repren.md b/pages.ko/common/repren.md new file mode 100644 index 00000000000000..d0201defadd362 --- /dev/null +++ b/pages.ko/common/repren.md @@ -0,0 +1,24 @@ +# repren + +> 다중 패턴 문자열 교체 및 파일 이름 바꾸기 도구. +> 더 많은 정보: . + +- PNG 파일이 있는 디렉토리에서 리터럴 문자열 교체로 이름을 바꾸는 예비 실행: + +`repren --dry-run --rename --literal --from '{{찾을_문자열}}' --to '{{교체할_문자열}}' {{*.png}}` + +- JPEG 파일이 있는 디렉토리에서 정규 표현식을 사용하여 이름을 바꾸는 예비 실행: + +`repren --rename --dry-run --from '{{정규_표현식}}' --to '{{교체할_문자열}}' {{*.jpg}} {{*.jpeg}}` + +- CSV 파일이 있는 디렉토리의 내용에서 찾기 및 교체 실행: + +`repren --from '{{([0-9]+) 예제_문자열}}' --to '{{교체할_문자열 \1}}' {{*.csv}}` + +- 패턴 파일을 사용하여 찾기 및 교체와 이름 바꾸기 작업을 동시에 실행: + +`repren --patterns {{경로/대상/패턴_파일.ext}} --full {{*.txt}}` + +- 대소문자를 구분하지 않고 이름 바꾸기: + +`repren --rename --insensitive --patterns {{경로/대상/패턴_파일.ext}} *` diff --git a/pages.ko/common/resolvconf.md b/pages.ko/common/resolvconf.md new file mode 100644 index 00000000000000..0d9edf6d790f62 --- /dev/null +++ b/pages.ko/common/resolvconf.md @@ -0,0 +1,30 @@ +# resolvconf + +> 네임서버 정보를 관리. +> 네임서버 정보를 제공하는 프로그램과 이 정보를 사용하는 애플리케이션 사이의 중개 역할을 합니다. +> 이 페이지는 Debian의 `resolvconf` 구현을 문서화합니다. +> 더 많은 정보: . + +- IFACE.PROG 레코드를 추가하거나 덮어쓰고 업데이트가 활성화되어 있으면 업데이트 스크립트 실행: + +`resolvconf -a {{IFACE.PROG}}` + +- IFACE.PROG 레코드를 삭제하고 업데이트가 활성화되어 있으면 업데이트 스크립트 실행: + +`resolvconf -d {{IFACE.PROG}}` + +- 업데이트가 활성화되어 있으면 업데이트 스크립트만 실행: + +`resolvconf -u` + +- `resolvconf`가 `-a`, `-d`, 또는 `-u`로 호출될 때 업데이트 스크립트를 실행할지 여부를 나타내는 플래그 설정: + +`resolvconf --enable-updates` + +- 업데이트 실행 여부를 나타내는 플래그 초기화: + +`resolvconf --disable-updates` + +- 업데이트가 활성화되어 있는지 확인: + +`resolvconf --updates-are-enabled` diff --git a/pages.ko/common/restic.md b/pages.ko/common/restic.md new file mode 100644 index 00000000000000..82947dc693ebf5 --- /dev/null +++ b/pages.ko/common/restic.md @@ -0,0 +1,28 @@ +# restic + +> 빠르고 안전한 백업 프로그램. +> 더 많은 정보: . + +- 지정된 로컬 디렉터리에 백업 저장소 초기화: + +`restic init --repo {{경로/대상/저장소}}` + +- 디렉터리를 저장소에 백업: + +`restic --repo {{경로/대상/저장소}} backup {{경로/대상/폴더}}` + +- 저장소에 현재 저장된 백업 스냅샷 표시: + +`restic --repo {{경로/대상/저장소}} snapshots` + +- 특정 백업 스냅샷을 대상 디렉터리에 복원: + +`restic --repo {{경로/대상/저장소}} restore {{latest|스냅샷_ID}} --target {{경로/대상/타겟}}` + +- 특정 백업의 특정 경로를 대상 디렉터리에 복원: + +`restic --repo {{경로/대상/저장소}} restore {{스냅샷_ID}} --target {{경로/대상/타겟}} --include {{경로/대상/복원}}` + +- 저장소를 정리하고 각 고유 백업의 최신 스냅샷만 유지: + +`restic forget --keep-last 1 --prune` diff --git a/pages.ko/common/resume.md b/pages.ko/common/resume.md new file mode 100644 index 00000000000000..715e5fb2bea6ea --- /dev/null +++ b/pages.ko/common/resume.md @@ -0,0 +1,20 @@ +# resume + +> 쉽게 새로운 이력서를 설정. +> 더 많은 정보: . + +- 현재 작업 디렉토리에 새로운 `resume.json` 파일 생성: + +`resume init` + +- `resume.json`을 스키마 테스트에 맞춰 표준 준수 여부 검증: + +`resume validate` + +- 이력서를 스타일 있는 HTML 또는 PDF 형식으로 로컬에 내보내기: + +`resume export {{경로/대상/html_또는_pdf}}` + +- 로컬 `resume.json`을 제공하는 웹 서버 시작: + +`resume serve` diff --git a/pages.ko/common/retry.md b/pages.ko/common/retry.md new file mode 100644 index 00000000000000..1ea0f4e4986a09 --- /dev/null +++ b/pages.ko/common/retry.md @@ -0,0 +1,16 @@ +# retry + +> 명령이 성공하거나 기준이 충족될 때까지 명령을 반복. +> 더 많은 정보: . + +- 명령이 성공할 때까지 재시도: + +`retry {{명령}}` + +- 명령이 성공할 때까지 n초마다 재시도: + +`retry --delay={{n}} {{명령}}` + +- n번 시도 후 포기: + +`retry --times={{n}} {{명령}}` diff --git a/pages.ko/common/rfetch.md b/pages.ko/common/rfetch.md new file mode 100644 index 00000000000000..aa4bf2dcd8e3de --- /dev/null +++ b/pages.ko/common/rfetch.md @@ -0,0 +1,32 @@ +# rfetch + +> 시스템 정보를 출력하는 설정 가능한 페치 프로그램. +> 더 많은 정보: . + +- 시스템 정보 표시: + +`rfetch` + +- 시스템 아키텍처 표시: + +`rfetch -a` + +- 시스템 업타임 표시: + +`rfetch -t` + +- 시스템 커널 표시: + +`rfetch -k` + +- 시스템 CPU 표시: + +`rfetch -c` + +- Linux 배포판 표시: + +`rfetch -D` + +- 데스크탑 환경 보기: + +`rfetch -d` diff --git a/pages.ko/common/rg.md b/pages.ko/common/rg.md new file mode 100644 index 00000000000000..e350b632de66f0 --- /dev/null +++ b/pages.ko/common/rg.md @@ -0,0 +1,37 @@ +# rg + +> Ripgrep은 재귀적 라인 지향 검색 도구입니다. +> `grep`의 더 빠른 대안이 되는 것을 목표로 합니다. +> 더 많은 정보: . + +- 현재 디렉토리에서 정규 표현식을 재귀적으로 검색: + +`rg {{정규_표현식}}` + +- `.gitignore`에 나열된 파일 및 숨김 파일을 포함하여 현재 디렉토리에서 정규 표현식을 재귀적으로 검색: + +`rg --no-ignore --hidden {{정규_표현식}}` + +- 일부 하위 디렉토리에서만 정규 표현식을 검색: + +`rg {{정규_표현식}} {{일부_하위_디렉토리}}` + +- glob 패턴 (예: `README.*`)에 일치하는 파일에서 정규 표현식 검색: + +`rg {{정규_표현식}} --glob {{글롭}}` + +- 정규 표현식과 일치하는 파일 이름 검색: + +`rg --files | rg {{정규_표현식}}` + +- 일치하는 파일만 나열 (다른 명령에 파이핑할 때 유용): + +`rg --files-with-matches {{정규_표현식}}` + +- 주어진 정규 표현식과 일치하지 않는 줄 표시: + +`rg --invert-match {{정규_표현식}}` + +- 리터럴 문자열 패턴 검색: + +`rg --fixed-strings -- {{문자열}}` diff --git a/pages.ko/common/rga.md b/pages.ko/common/rga.md new file mode 100644 index 00000000000000..4e2fcf74151921 --- /dev/null +++ b/pages.ko/common/rga.md @@ -0,0 +1,24 @@ +# rga + +> 다양한 파일 유형 검색 기능을 가진 Ripgrep 래퍼. +> 더 많은 정보: . + +- 현재 디렉토리의 모든 파일에서 패턴을 재귀적으로 검색: + +`rga {{정규_표현식}}` + +- 사용 가능한 어댑터 나열: + +`rga --rga-list-adapters` + +- 사용할 어댑터 변경 (예: ffmpeg, pandoc, poppler 등): + +`rga --rga-adapters={{어댑터1,어댑터2}} {{정규_표현식}}` + +- 파일 확장자 대신 MIME 유형을 사용하여 패턴 검색 (느림): + +`rga --rga-accurate {{정규_표현식}}` + +- 도움말 표시: + +`rga --help` diff --git a/pages.ko/common/rgpt.md b/pages.ko/common/rgpt.md new file mode 100644 index 00000000000000..20f342e8bc6d28 --- /dev/null +++ b/pages.ko/common/rgpt.md @@ -0,0 +1,28 @@ +# rgpt + +> 터미널에서 바로 사용할 수 있는 GPT 기반 자동 코드 리뷰 도구. +> 더 많은 정보: . + +- 추가 옵션 없이 GPT에게 코드 개선 요청: + +`rgpt --i "$(git diff {{경로/대상/파일}})"` + +- 코드 리뷰 중 `rgpt`에서 더 자세한 출력 얻기: + +`rgpt --v --i "$(git diff {{경로/대상/파일}})"` + +- GPT에게 코드 개선 요청 및 GPT3 토큰 수를 특정 수로 제한하기: + +`rgpt --max {{300}} --i "$(git diff {{경로/대상/파일}})"` + +- 0에서 2 사이의 실수값을 사용하여 더 독특한 결과 요청 (높을수록 더 독특함): + +`rgpt --pres {{1.2}} --i "$(git diff {{경로/대상/파일}})"` + +- 특정 모델을 사용하여 코드 리뷰 요청: + +`rgpt --model {{davinci}} --i "$(git diff {{경로/대상/파일}})"` + +- `rgpt`를 사용하여 JSON 출력 생성: + +`rgpt --json --i "$(git diff {{경로/대상/파일}})"` diff --git a/pages.ko/common/rgrep.md b/pages.ko/common/rgrep.md new file mode 100644 index 00000000000000..9773dfd1ee1d44 --- /dev/null +++ b/pages.ko/common/rgrep.md @@ -0,0 +1,25 @@ +# rgrep + +> 정규 표현식을 사용하여 파일에서 패턴을 재귀적으로 찾기. +> `grep -r`와 동일합니다. +> 더 많은 정보: . + +- 현재 작업 디렉토리에서 패턴을 재귀적으로 검색: + +`rgrep "{{검색_패턴}}"` + +- 현재 작업 디렉토리에서 대소문자를 구분하지 않고 패턴을 재귀적으로 검색: + +`rgrep --ignore-case "{{검색_패턴}}"` + +- 현재 작업 디렉토리에서 확장 정규 표현식 패턴 (지원 기능: `?`, `+`, `{}`, `()` 및 `|`)을 재귀적으로 검색: + +`rgrep --extended-regexp "{{검색_패턴}}"` + +- 현재 작업 디렉토리에서 정확한 문자열(정규 표현식 비활성화)을 재귀적으로 검색: + +`rgrep --fixed-strings "{{정확한_문자열}}"` + +- 지정된 디렉토리(또는 파일)에서 패턴을 재귀적으로 검색: + +`rgrep "{{검색_패턴}}" {{경로/대상/파일_또는_디렉토리}}` diff --git a/pages.ko/common/rhash.md b/pages.ko/common/rhash.md new file mode 100644 index 00000000000000..461fe6c028251e --- /dev/null +++ b/pages.ko/common/rhash.md @@ -0,0 +1,28 @@ +# rhash + +> 일반적인 메시지 다이제스트를 계산하거나 확인. +> 더 많은 정보: . + +- 파일의 기본 CRC32 다이제스트 계산: + +`rhash {{경로/대상/파일}}` + +- 디렉터리를 재귀적으로 처리하여 SHA1을 사용한 SFV 파일 생성: + +`rhash --sha1 --recursive {{경로/대상/폴더}} > {{경로/대상/출력.sfv}}` + +- SFV 파일을 기반으로 파일의 무결성 확인: + +`rhash --check {{경로/대상/파일.sfv}}` + +- 텍스트 메시지의 SHA3 다이제스트 계산: + +`rhash --sha3-256 --message '{{메시지}}'` + +- 파일의 CRC32 다이제스트를 계산하고 BSD 형식을 사용하여 base64로 인코딩된 다이제스트 출력: + +`rhash --base64 --bsd {{경로/대상/파일}}` + +- 사용자 정의 출력 템플릿 사용: + +`rhash --printf '{{%p\t%s\t%{mtime}\t%m\n}}' {{경로/대상/파일}}` diff --git a/pages.ko/common/rich.md b/pages.ko/common/rich.md new file mode 100644 index 00000000000000..408aff54686183 --- /dev/null +++ b/pages.ko/common/rich.md @@ -0,0 +1,32 @@ +# rich + +> 터미널에서 화려한 출력을 위한 도구 모음. +> 더 많은 정보: . + +- 파일을 구문 강조와 함께 표시: + +`rich {{경로/대상/파일.py}}` + +- 줄 번호 및 들여쓰기 가이드 추가: + +`rich {{경로/대상/파일.py}} --line-number --guides` + +- 테마 적용: + +`rich {{경로/대상/파일.py}} --theme {{monokai}}` + +- 파일을 인터랙티브 페이지로 표시: + +`rich {{경로/대상/파일.py}} --pager` + +- URL에서 내용 표시: + +`rich {{https://raw.githubusercontent.com/Textualize/rich-cli/main/README.md}} --markdown --pager` + +- 파일을 HTML로 내보내기: + +`rich {{경로/대상/파일.md}} --export-html {{경로/대상/파일.html}}` + +- 서식 태그, 사용자 정의 정렬 및 줄 너비를 사용하여 텍스트 표시: + +`rich --print "{{Hello [green on black]Stylized[/green on black] [bold]World[/bold]}}" --{{left|center|right}} --width {{10}}` diff --git a/pages.ko/common/rip.md b/pages.ko/common/rip.md new file mode 100644 index 00000000000000..6d21e1173a59eb --- /dev/null +++ b/pages.ko/common/rip.md @@ -0,0 +1,28 @@ +# rip + +> 파일이나 디렉토리를 무덤에 보내 제거하고, 복구할 수 있도록 합니다. +> 더 많은 정보: . + +- 지정된 위치에서 파일이나 디렉토리를 제거하고 무덤에 보관: + +`rip {{경로/대상/파일_또는_디렉토리}} {{경로/대상/다른/파일_또는_디렉토리}}` + +- 파일이나 디렉토리를 대화식으로 제거하며, 제거 전마다 확인 메시지를 표시: + +`rip --inspect {{경로/대상/파일_또는_디렉토리}} {{경로/대상/다른/파일_또는_디렉토리}}` + +- 현재 디렉토리 내에 원래 있던 파일과 디렉토리를 무덤에서 모두 나열: + +`rip --seance` + +- 무덤에 있는 모든 파일과 디렉토리를 영구 삭제: + +`rip --decompose` + +- 가장 최근에 제거된 파일과 디렉토리를 복원: + +`rip --unbury` + +- `rip --seance`로 나열된 모든 파일과 디렉토리를 복원: + +`rip --seance --unbury` diff --git a/pages.ko/common/ripgrep.md b/pages.ko/common/ripgrep.md new file mode 100644 index 00000000000000..ccf875d3060b28 --- /dev/null +++ b/pages.ko/common/ripgrep.md @@ -0,0 +1,7 @@ +# ripgrep + +> `ripgrep`은 명령어 `rg`의 일반적인 이름입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr rg` diff --git a/pages.ko/common/rkdeveloptool.md b/pages.ko/common/rkdeveloptool.md new file mode 100644 index 00000000000000..2c789453ed4945 --- /dev/null +++ b/pages.ko/common/rkdeveloptool.md @@ -0,0 +1,30 @@ +# rkdeveloptool + +> Rockchip 기반 컴퓨터 장치의 부팅 펌웨어를 플래시, 덤프 및 관리. +> USB를 통해 연결하기 전에 장치를 Maskrom/Bootrom 모드로 전환해야 합니다. +> 일부 하위 명령은 루트 권한으로 실행해야 할 수 있습니다. +> 더 많은 정보: . + +- 연결된 모든 Rockchip 기반 플래시 장치 [l]ist: + +`rkdeveloptool ld` + +- 지정된 파일에서 [b]ootloader를 다운로드 및 설치하도록 장치를 [d]ownload 모드로 초기화: + +`rkdeveloptool db {{경로/대상/부트로더.bin}}` + +- 부트[l]oader 소프트웨어를 새 버전으로 [u]pdate: + +`rkdeveloptool ul {{경로/대상/부트로더.bin}}` + +- GPT 형식의 플래시 파티션에 이미지를 작성하고 초기 저장소 섹터를 지정 (일반적으로 `0x0` 또는 `0`): + +`rkdeveloptool wl {{초기_섹터}} {{경로/대상/이미지.img}}` + +- 사용자 친화적인 이름으로 플래시 파티션에 쓰기: + +`rkdeveloptool wlx {{파티션_이름}} {{경로/대상/이미지.img}}` + +- [r]eset/재부팅 [d]evice, Maskrom/Bootrom 모드에서 나와 선택된 플래시 파티션으로 부팅: + +`rkdeveloptool rd` diff --git a/pages.ko/common/rletopnm.md b/pages.ko/common/rletopnm.md new file mode 100644 index 00000000000000..ae3da2abd4ab8d --- /dev/null +++ b/pages.ko/common/rletopnm.md @@ -0,0 +1,16 @@ +# rletopnm + +> Utah Raster Tools RLE 이미지 파일을 PNM 파일로 변환. +> 더 많은 정보: . + +- RLE 이미지를 PNM 파일로 변환: + +`rletopnm {{경로/대상/입력.rle}} > {{경로/대상/출력.pnm}}` + +- RLE 파일의 알파 채널을 포함하는 PGM 이미지 생성: + +`rletopnm -alphaout {{경로/대상/알파_파일.pgm}} {{경로/대상/입력.rle}} > {{경로/대상/출력.pnm}}` + +- 자세한 모드로 작동하고 RLE 헤더의 내용을 `stdout`에 출력: + +`rletopnm -verbose {{경로/대상/입력.rle}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/rlwrap.md b/pages.ko/common/rlwrap.md new file mode 100644 index 00000000000000..f29fc67225a279 --- /dev/null +++ b/pages.ko/common/rlwrap.md @@ -0,0 +1,24 @@ +# rlwrap + +> REPL 명령에 라인 편집, 지속적인 히스토리 및 프롬프트 완성을 추가. +> 더 많은 정보: . + +- 라인 편집, 지속적인 히스토리 및 프롬프트 완성을 사용하여 REPL 명령 실행: + +`rlwrap {{명령}}` + +- 입력 및 출력에서 본 모든 단어를 프롬프트 완성에 사용: + +`rlwrap --remember {{명령}}` + +- 프롬프트에 ANSI 색상 코드가 포함된 경우 더 나은 프롬프트 완성: + +`rlwrap --ansi-colour-aware {{명령}}` + +- 파일 이름 완성 활성화 (대소문자 구분): + +`rlwrap --complete-filenames {{명령}}` + +- 색상이 있는 프롬프트 추가, 색상 이름 또는 ASCI 색상 사양 사용. 대문자 색상 이름은 굵게 스타일링: + +`rlwrap --prompt-colour={{black|red|green|yellow|blue|cyan|purple|white|colour_spec}} {{명령}}` diff --git a/pages.ko/common/rm.md b/pages.ko/common/rm.md new file mode 100644 index 00000000000000..69229e6bb9539d --- /dev/null +++ b/pages.ko/common/rm.md @@ -0,0 +1,25 @@ +# rm + +> 파일 혹은 폴더를 삭제. +> 참고: `rmdir`. +> 더 많은 정보: . + +- 특정 파일 삭제: + +`rm {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 존재하지 않는 파일은 무시하고 특정 파일 삭제: + +`rm -f {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 삭제하기 전에 각각의 파일 삭제 여부를 확인: + +`rm -i {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 각 파일 삭제 시 삭제 정보 출력: + +`rm -v {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 파일 및 디렉터리를 재귀적으로 삭제: + +`rm -r {{경로/대상/파일_혹은_디렉토리1 파일_혹은_디렉토리2 ...}}` diff --git a/pages.ko/common/rmdir.md b/pages.ko/common/rmdir.md new file mode 100644 index 00000000000000..1f3bfe83b8af10 --- /dev/null +++ b/pages.ko/common/rmdir.md @@ -0,0 +1,13 @@ +# rmdir + +> 파일이 없는 디렉토리를 제거합니다. +> 같이 보기: `rm`. +> 더 많은 정보: . + +- 특정 디렉토리 제거: + +`rmdir {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 특정 중첩 디렉토리를 재귀적으로 제거: + +`rmdir -p {{경로/대상/폴더1 경로/대상/폴더2 ...}}` diff --git a/pages.ko/common/rmlint.md b/pages.ko/common/rmlint.md new file mode 100644 index 00000000000000..a061d02a5eef87 --- /dev/null +++ b/pages.ko/common/rmlint.md @@ -0,0 +1,36 @@ +# rmlint + +> 파일 시스템에서 공간 낭비 및 기타 손상된 항목을 찾습니다. +> 더 많은 정보: . + +- 중복, 빈 파일 및 손상된 파일에 대해 디렉토리를 검사: + +`rmlint {{경로/대상/디렉토리1 경로/대상/디렉토리2 ...}}` + +- 공간 낭비 항목을 검사하며, 태그된 디렉토리에 파일을 유지 (더블 슬래시 이후): + +`rmlint {{경로/대상/디렉토리}} // {{경로/대상/원본_디렉토리}}` + +- 태그가 없는 디렉토리에 모든 파일을 유지하며 공간 낭비 항목 검사: + +`rmlint --keep-all-untagged {{경로/대상/디렉토리}} // {{경로/대상/원본_디렉토리}}` + +- `rmlint` 실행으로 발견된 중복 파일 삭제: + +`./rmlint.sh` + +- 중복된 디렉토리 트리 찾기: + +`rmlint --merge-directories {{경로/대상/디렉토리}}` + +- [d] 경로 깊이가 낮은 파일을 원본으로 표시하고, 동률일 경우 더 짧은 [l] 길이 선택: + +`rmlint --rank-by={{dl}} {{경로/대상/디렉토리}}` + +- 동일한 내용 외에도 동일한 파일 이름을 가진 중복 항목만 찾기: + +`rmlint --match-basename {{경로/대상/디렉토리}}` + +- 동일한 내용 외에도 동일한 확장자를 가진 중복 항목만 찾기: + +`rmlint --match-extension {{경로/대상/디렉토리}}` diff --git a/pages.ko/common/roave-backward-compatibility-check.md b/pages.ko/common/roave-backward-compatibility-check.md new file mode 100644 index 00000000000000..ded8c2b59171a2 --- /dev/null +++ b/pages.ko/common/roave-backward-compatibility-check.md @@ -0,0 +1,20 @@ +# roave-backward-compatibility-check + +> PHP 라이브러리의 두 버전 간 호환성 파손 여부를 확인. +> 더 많은 정보: . + +- 마지막 태그 이후의 호환성 파손 점검: + +`roave-backward-compatibility-check` + +- 특정 태그 이후의 호환성 파손 점검: + +`roave-backward-compatibility-check --from={{git_레퍼런스}}` + +- 마지막 태그와 특정 참조 간의 호환성 파손 점검: + +`roave-backward-compatibility-check --to={{git_레퍼런스}}` + +- 호환성 파손 점검 결과를 Markdown으로 출력: + +`roave-backward-compatibility-check --format=markdown > {{결과.md}}` diff --git a/pages.ko/common/robo.md b/pages.ko/common/robo.md new file mode 100644 index 00000000000000..9af8347c164e64 --- /dev/null +++ b/pages.ko/common/robo.md @@ -0,0 +1,16 @@ +# robo + +> PHP 작업 러너. +> 더 많은 정보: . + +- 사용 가능한 명령 나열: + +`robo list` + +- 특정 명령 실행: + +`robo {{foo}}` + +- 특정 명령 실행 시뮬레이션: + +`robo --simulate {{foo}}` diff --git a/pages.ko/common/roll.md b/pages.ko/common/roll.md new file mode 100644 index 00000000000000..842f53c9190384 --- /dev/null +++ b/pages.ko/common/roll.md @@ -0,0 +1,28 @@ +# roll + +> 사용자 정의 주사위 시퀀스를 굴립니다. +> 더 많은 정보: . + +- 3개의 6면체 주사위를 굴리고 결과를 합산: + +`roll {{3d}}` + +- 1개의 8면체 주사위를 굴리고, 3을 더하여 결과 합산: + +`roll {{d8 + 3}}` + +- 4개의 6면체 주사위를 굴리고 상위 3개의 결과를 유지하여 합산: + +`roll {{4d6h3}}` + +- 12면체 주사위 2개를 2번 굴리고 각 결과를 표시: + +`roll --verbose {{2{2d12}}}` + +- 2개의 20면체 주사위를 굴려 결과가 10보다 클 때까지 반복: + +`roll "{{2d20>10}}"` + +- 5면체 주사위 2개를 3번 굴리고 총합을 표시: + +`roll --sum-series {{3{2d5}}}` diff --git a/pages.ko/common/ropgadget.md b/pages.ko/common/ropgadget.md new file mode 100644 index 00000000000000..351489ddf1b673 --- /dev/null +++ b/pages.ko/common/ropgadget.md @@ -0,0 +1,24 @@ +# ROPgadget + +> 바이너리 파일에서 ROP 가젯을 찾습니다. +> 더 많은 정보: . + +- 바이너리 파일에서 가젯 나열: + +`ROPgadget --binary {{경로/대상/바이너리}}` + +- 정규 표현식으로 바이너리 파일의 가젯 필터링: + +`ROPgadget --binary {{경로/대상/바이너리}} --re {{정규표현식}}` + +- 지정된 유형을 제외한 바이너리 파일의 가젯 나열: + +`ROPgadget --binary {{경로/대상/바이너리}} --{{norop|nojob|nosys}}` + +- 바이너리 파일에서 잘못된 바이트 가젯 제외: + +`ROPgadget --binary {{경로/대상/바이너리}} --badbytes {{바이트_문자열}}` + +- 지정된 바이트 수까지의 바이너리 파일 가젯 나열: + +`ROPgadget --binary {{경로/대상/바이너리}} --depth {{바이트_수}}` diff --git a/pages.ko/common/ropper.md b/pages.ko/common/ropper.md new file mode 100644 index 00000000000000..b163f8ece24553 --- /dev/null +++ b/pages.ko/common/ropper.md @@ -0,0 +1,24 @@ +# ropper + +> 바이너리 파일에서 ROP 가젯을 찾습니다. +> 더 많은 정보: . + +- 바이너리 파일의 가젯 나열: + +`ropper --file {{경로/대상/바이너리}}` + +- 정규 표현식을 사용하여 바이너리 파일의 가젯 필터링: + +`ropper --file {{경로/대상/바이너리}} --search {{정규_표현식}}` + +- 지정된 유형의 가젯을 바이너리 파일에서 나열: + +`ropper --file {{경로/대상/바이너리}} --type {{rop|job|sys|all}}` + +- 바이너리 파일에서 불량 바이트 가젯 제외: + +`ropper --file {{경로/대상/바이너리}} --badbytes {{바이트_문자열}}` + +- 지정된 명령어 수까지의 가젯을 바이너리 파일에서 나열: + +`ropper --file {{경로/대상/바이너리}} --inst-count {{수량}}` diff --git a/pages.ko/common/route.md b/pages.ko/common/route.md new file mode 100644 index 00000000000000..50eae577c3af4c --- /dev/null +++ b/pages.ko/common/route.md @@ -0,0 +1,16 @@ +# route + +> route 명령어를 사용하여 라우팅 테이블 설정. +> 더 많은 정보: . + +- 라우팅 테이블의 정보를 표시: + +`route -n` + +- 라우팅 규칙 추가: + +`sudo route add -net {{아이피_주소}} netmask {{넷마스크_주소}} gw {{게이트웨이_주소}}` + +- 라우팅 규칙 삭제: + +`sudo route del -net {{아이피_주소}} netmask {{넷마스크_주소}} dev {{게이트웨이_주소}}` diff --git a/pages.ko/common/rpi-imager.md b/pages.ko/common/rpi-imager.md new file mode 100644 index 00000000000000..89ee44c830f5f9 --- /dev/null +++ b/pages.ko/common/rpi-imager.md @@ -0,0 +1,16 @@ +# rpi-imager + +> 이미지를 저장 장치에 플래시. +> 더 많은 정보: . + +- 특정 이미지를 특정 블록 장치에 기록: + +`rpi-imager --cli {{경로/대상/이미지.zip}} {{/dev/sdX}}` + +- 체크섬 검증을 비활성화한 상태로 특정 이미지를 블록 장치에 기록: + +`rpi-imager --cli --disable-verify {{경로/대상/이미지.zip}} {{/dev/sdX}}` + +- 검증 시 특정 체크섬을 기대하는 상태로 특정 이미지를 블록 장치에 기록: + +`rpi-imager --cli --sha256 {{기대_해시}} {{경로/대상/이미지.zip}} {{/dev/sdX}}` diff --git a/pages.ko/common/rr.md b/pages.ko/common/rr.md new file mode 100644 index 00000000000000..58f7d11c10b0cd --- /dev/null +++ b/pages.ko/common/rr.md @@ -0,0 +1,12 @@ +# rr + +> 프로그램 실행을 기록하고 재생하기 위한 디버깅 도구. +> 더 많은 정보: . + +- 애플리케이션 기록: + +`rr record {{경로/대상/바이너리 --arg1 --arg2}}` + +- 마지막으로 기록된 실행 재생: + +`rr replay` diff --git a/pages.ko/common/rscript.md b/pages.ko/common/rscript.md new file mode 100644 index 00000000000000..952b9517f83f9c --- /dev/null +++ b/pages.ko/common/rscript.md @@ -0,0 +1,20 @@ +# Rscript + +> R 프로그래밍 언어로 스크립트를 실행. +> 더 많은 정보: . + +- 스크립트 실행: + +`Rscript {{경로/대상/파일.R}}` + +- 바닐라 모드로 스크립트 실행 (세션을 빈 상태로 시작하며 종료 시 작업 공간을 저장하지 않음): + +`Rscript --vanilla {{경로/대상/파일.R}}` + +- 하나 이상의 R 표현식 실행: + +`Rscript -e {{표현식1}} -e {{표현식2}}` + +- R 버전 표시: + +`Rscript --version` diff --git a/pages.ko/common/rspec.md b/pages.ko/common/rspec.md new file mode 100644 index 00000000000000..99a66da25ebb14 --- /dev/null +++ b/pages.ko/common/rspec.md @@ -0,0 +1,28 @@ +# rspec + +> Ruby 코드를 테스트하기 위한 Ruby로 작성된 행동 주도 개발 테스트 프레임워크. +> 더 많은 정보: . + +- .rspec 구성 파일과 spec 헬퍼 파일 초기화: + +`rspec --init` + +- 모든 테스트 실행: + +`rspec` + +- 특정 디렉터리의 테스트 실행: + +`rspec {{경로/대상/폴더}}` + +- 하나 이상의 테스트 파일 실행: + +`rspec {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일 내 특정 테스트 실행 (예: 테스트가 83번째 줄에서 시작하는 경우): + +`rspec {{경로/대상/파일}}:{{83}}` + +- 특정 시드로 스펙 실행: + +`rspec --seed {{시드_번호}}` diff --git a/pages.ko/common/rsstail.md b/pages.ko/common/rsstail.md new file mode 100644 index 00000000000000..e6cddb5497897c --- /dev/null +++ b/pages.ko/common/rsstail.md @@ -0,0 +1,24 @@ +# rsstail + +> RSS 피드를 위한 `tail`. +> 더 많은 정보: . + +- 주어진 URL의 피드를 표시하고 새 항목이 아래에 나타날 때까지 대기: + +`rsstail -u {{URL}}` + +- 피드를 역순으로 표시 (최신 항목이 아래에 위치): + +`rsstail -r -u {{URL}}` + +- 발행 날짜와 링크 포함: + +`rsstail -pl -u {{URL}}` + +- 업데이트 간격 설정: + +`rsstail -u {{URL}} -i {{초_간격}}` + +- 피드를 표시하고 종료: + +`rsstail -1 -u {{URL}}` diff --git a/pages.ko/common/rsync.md b/pages.ko/common/rsync.md new file mode 100644 index 00000000000000..9f7513927c429f --- /dev/null +++ b/pages.ko/common/rsync.md @@ -0,0 +1,37 @@ +# rsync + +> 기본적으로 SSH를 사용하여 원격 호스트 간에 파일을 전송합니다(두 원격 호스트 사이는 아닙니다). +> 원격 경로를 지정하려면, `호스트:경로/대상/파일_또는_폴더`를 사용하세요. +> 더 많은 정보: . + +- 파일 전송: + +`rsync {{경로/대상/소스}} {{경로/대상/목적지}}` + +- 아카이브 모드 (디렉토리를 반복적으로 복사하고, 권한, 소유권, 수정 시간을 확인 및 보존하지 않고 심볼릭 링크를 복사) 사용: + +`rsync {{[-a|--archive]}} {{경로/대상/소스}} {{경로/대상/목적지}}` + +- 데이터가 대상으로 전송될 때 압축하고, 사람이 읽을 수 있는 자세한 진행 상황을 표시하고, 중단된 경우 부분적으로 전송된 파일 유지: + +`rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{경로/대상/소스}} {{경로/대상/목적지}}` + +- 반복적으로 폴더 복사: + +`rsync {{[-r|--recursive]}} {{경로/대상/소스}} {{경로/대상/목적지}}` + +- 디렉터리 내용을 전송하지만, 디렉터리 자체는 전송하지 않음: + +`rsync {{[-r|--recursive]}} {{경로/대상/소스/}} {{경로/대상/목적지}}` + +- 디렉토리를 반복적으로 복사하고, 아카이브 모드를 사용하고, 심볼릭 링크를 확인하고, 대상에 있는 최신 파일을 건너뜀: + +`rsync {{[-auL|--archive --update --copy-links]}} {{경로/대상/소스}} {{경로/대상/목적지}}` + +- `rsyncd`를 실행하는 원격 호스트로 폴더를 전송하고 소스에 존재하지 않는 대상의 파일을 삭제: + +`rsync {{[-r|--recursive]}} --delete rsync://{{호스트}}:{{경로/대상/소스}} {{경로/대상/목적지}}` + +- 기본값(22)이 아닌 다른 포트를 사용하여 SSH를 통해 파일을 전송하고 전체적인 진행 상황을 표시: + +`rsync {{[-e|--rsh]}} 'ssh -p {{port}}' --info=progress2 {{호스트}}:{{경로/대상/소스}} {{경로/대상/목적지}}` diff --git a/pages.ko/common/rtl_sdr.md b/pages.ko/common/rtl_sdr.md new file mode 100644 index 00000000000000..c52a5e24a78144 --- /dev/null +++ b/pages.ko/common/rtl_sdr.md @@ -0,0 +1,37 @@ +# rtl_sdr + +> RTL-SDR 수신기를 위한 원시 데이터 기록기. +> 데이터는 I/Q 샘플링(즉, 직교 샘플링)을 사용하여 인코딩됩니다. +> 더 많은 정보: . + +- 주파수(Hz 단위로 지정)에서 RAW 데이터를 파일로 저장: + +`rtl_sdr -f {{100000000}} {{경로/대상/파일}}` + +- 데이터를 다른 프로그램으로 파이프 처리: + +`rtl_sdr -f {{100000000}} - | {{aplay}}` + +- 지정된 수의 샘플 읽기: + +`rtl_sdr -f {{100000000}} -n {{20}} -` + +- 샘플 속도를 Hz 단위로 지정 (범위 225001-300000 및 900001-3200000): + +`rtl_sdr -f {{100000000}} -s {{2400000}} -` + +- 인덱스로 디바이스 지정: + +`rtl_sdr -f {{100000000}} -d {{0}} -` + +- 이득(gain) 지정: + +`rtl_sdr -f {{100000000}} -g {{20}} -` + +- 출력 블록 크기 지정: + +`rtl_sdr -f {{100000000}} -b {{9999999}} -` + +- 동기 출력 사용: + +`rtl_sdr -f {{100000000}} -S -` diff --git a/pages.ko/common/rtmpdump.md b/pages.ko/common/rtmpdump.md new file mode 100644 index 00000000000000..765d77cdfd99da --- /dev/null +++ b/pages.ko/common/rtmpdump.md @@ -0,0 +1,20 @@ +# rtmpdump + +> RTMP 프로토콜을 통해 스트리밍되는 미디어 콘텐츠 덤프. +> 더 많은 정보: . + +- 파일 다운로드: + +`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} -o {{파일.ext}}` + +- Flash 플레이어에서 파일 다운로드: + +`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --swfVfy {{http://example.com/player}} --flashVer "{{LNX 10,0,32,18}}" -o {{파일.ext}}` + +- 연결 매개변수가 올바르게 감지되지 않는 경우 지정: + +`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --app {{앱_이름}} --playpath {{경로/대상/비디오}} -o {{파일.ext}}` + +- 참조자를 요구하는 서버에서 파일 다운로드: + +`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --pageUrl {{http://example.com/webpage}} -o {{파일.ext}}` diff --git a/pages.ko/common/rtv.md b/pages.ko/common/rtv.md new file mode 100644 index 00000000000000..2a9c5f247c3ea5 --- /dev/null +++ b/pages.ko/common/rtv.md @@ -0,0 +1,29 @@ +# rtv + +> Reddit 터미널 뷰어. +> ``로 탐색하세요. ````로 각각 게시물을 보고 돌아갈 수 있습니다. +> 더 많은 정보: . + +- 첫 페이지 열기: + +`/front` + +- 서브레딧 열기: + +`/r/{{서브레딧_이름}}` + +- 댓글 확장/축소: + +`<스페이스바>` + +- 링크 열기: + +`` + +- 로그인: + +`` + +- 도움말 표시: + +`` diff --git a/pages.ko/common/rubocop.md b/pages.ko/common/rubocop.md new file mode 100644 index 00000000000000..a309593b4b2715 --- /dev/null +++ b/pages.ko/common/rubocop.md @@ -0,0 +1,32 @@ +# rubocop + +> Ruby 파일을 린트합니다. +> 더 많은 정보: . + +- 현재 디렉토리의 모든 파일 확인(하위 디렉토리 포함): + +`rubocop` + +- 하나 이상의 특정 파일 또는 디렉토리 확인: + +`rubocop {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 출력 결과를 파일에 저장: + +`rubocop --out {{경로/대상/파일}}` + +- cop(린터 규칙) 목록 보기: + +`rubocop --show-cops` + +- 특정 cop 제외: + +`rubocop --except {{cop1 cop2 ...}}` + +- 지정된 cop만 실행: + +`rubocop --only {{cop1 cop2 ...}}` + +- 파일 자동 수정(실험적 기능): + +`rubocop --auto-correct` diff --git a/pages.ko/common/ruby.md b/pages.ko/common/ruby.md new file mode 100644 index 00000000000000..d5ec0aab806a6b --- /dev/null +++ b/pages.ko/common/ruby.md @@ -0,0 +1,29 @@ +# ruby + +> Ruby 프로그래밍 언어 인터프리터. +> 같이 보기: `gem`, `bundler`, `rake`, `irb`. +> 더 많은 정보: . + +- Ruby 스크립트 실행: + +`ruby {{스크립트.rb}}` + +- 명령줄에서 단일 Ruby 명령 실행: + +`ruby -e {{명령}}` + +- 주어진 Ruby 스크립트에서 구문 오류 확인: + +`ruby -c {{스크립트.rb}}` + +- 현재 디렉토리에서 포트 8080으로 내장 HTTP 서버 시작: + +`ruby -run -e httpd` + +- 필요한 라이브러리를 설치하지 않고 로컬에서 Ruby 바이너리 실행: + +`ruby -I {{라이브러리_폴더_경로}} -r {{라이브러리_요구_이름}} {{바이너리_폴더_경로/바이너리_이름}}` + +- Ruby 버전 표시: + +`ruby {{[-v|--version]}}` diff --git a/pages.ko/common/ruff-check.md b/pages.ko/common/ruff-check.md new file mode 100644 index 00000000000000..9770762276dc25 --- /dev/null +++ b/pages.ko/common/ruff-check.md @@ -0,0 +1,33 @@ +# ruff check + +> 매우 빠른 Python 린터입니다. `check`는 기본 명령어로, 어디서든 생략 가능합니다. +> 파일이나 디렉토리를 지정하지 않으면 기본적으로 현재 작업 디렉토리가 사용됩니다. +> 더 많은 정보: . + +- 지정된 파일이나 디렉토리에 대해 린터 실행: + +`ruff check {{경로/대상/파일_또는_디렉토리1 경로/대상/파일_또는_디렉토리2 ...}}` + +- 제안된 수정을 적용하여 파일을 직접 수정: + +`ruff check --fix` + +- 린터를 실행하고 변경 시 다시 린트: + +`ruff check --watch` + +- 설정 파일을 무시하고 지정된 규칙(또는 모든 규칙)만 활성화: + +`ruff check --select {{ALL|규칙_코드1,규칙_코드2,...}}` + +- 추가로 지정된 규칙 활성화: + +`ruff check --extend-select {{규칙_코드1,규칙_코드2,...}}` + +- 지정된 규칙 비활성화: + +`ruff check --ignore {{규칙_코드1,규칙_코드2,...}}` + +- `# noqa` 지시어를 추가하여 규칙의 모든 기존 위반 사항 무시: + +`ruff check --select {{규칙_코드}} --add-noqa` diff --git a/pages.ko/common/ruff-format.md b/pages.ko/common/ruff-format.md new file mode 100644 index 00000000000000..2d9d7f95adffa7 --- /dev/null +++ b/pages.ko/common/ruff-format.md @@ -0,0 +1,17 @@ +# ruff format + +> 매우 빠른 Python 코드 포매터. +> 파일이나 디렉토리가 지정되지 않으면 기본적으로 현재 작업 디렉토리가 사용됩니다. +> 더 많은 정보: . + +- 지정된 파일이나 디렉토리를 직접 포맷: + +`ruff format {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 수정될 파일을 출력하고, 포맷이 필요한 파일이 있으면 0이 아닌 종료 코드를 반환하며, 그렇지 않으면 0을 반환: + +`ruff format --check` + +- 파일을 수정하지 않고 어떤 변경이 이루어질지 출력: + +`ruff format --diff` diff --git a/pages.ko/common/ruff.md b/pages.ko/common/ruff.md new file mode 100644 index 00000000000000..be14b188492524 --- /dev/null +++ b/pages.ko/common/ruff.md @@ -0,0 +1,12 @@ +# ruff + +> 매우 빠른 Python 린터 및 코드 포매터로, Rust로 작성되었습니다. +> 더 많은 정보: . + +- Ruff 린터에 대한 문서 보기: + +`tldr ruff check` + +- Ruff 코드 포매터에 대한 문서 보기: + +`tldr ruff format` diff --git a/pages.ko/common/runit.md b/pages.ko/common/runit.md new file mode 100644 index 00000000000000..50dea685fa364a --- /dev/null +++ b/pages.ko/common/runit.md @@ -0,0 +1,12 @@ +# runit + +> 3단계 초기화 시스템. +> 더 많은 정보: . + +- runit의 3단계 초기화 체계 시작: + +`runit` + +- runit 종료: + +`kill --CONT {{runit_pid}}` diff --git a/pages.ko/common/runsv.md b/pages.ko/common/runsv.md new file mode 100644 index 00000000000000..70b98fdafdd9f4 --- /dev/null +++ b/pages.ko/common/runsv.md @@ -0,0 +1,12 @@ +# runsv + +> runit 서비스를 시작 및 관리. +> 더 많은 정보: . + +- 현재 사용자로 runit 서비스 시작: + +`runsv {{경로/대상/서비스}}` + +- root로 runit 서비스 시작: + +`sudo runsv {{경로/대상/서비스}}` diff --git a/pages.ko/common/runsvchdir.md b/pages.ko/common/runsvchdir.md new file mode 100644 index 00000000000000..9475bff3931954 --- /dev/null +++ b/pages.ko/common/runsvchdir.md @@ -0,0 +1,8 @@ +# runsvchdir + +> 기본적으로 `runsvdir`이 사용하는 디렉토리를 변경합니다. +> 더 많은 정보: . + +- `runsvdir` 디렉토리 변경: + +`sudo runsvchdir {{경로/대상/폴더}}` diff --git a/pages.ko/common/runsvdir.md b/pages.ko/common/runsvdir.md new file mode 100644 index 00000000000000..e9bb4f9dca01c4 --- /dev/null +++ b/pages.ko/common/runsvdir.md @@ -0,0 +1,16 @@ +# runsvdir + +> 전체 서비스 디렉터리를 실행. +> 더 많은 정보: . + +- 현재 사용자로 디렉터리 내 모든 서비스 시작 및 관리: + +`runsvdir {{경로/대상/서비스}}` + +- 루트 사용자로 디렉터리 내 모든 서비스 시작 및 관리: + +`sudo runsvdir {{경로/대상/서비스}}` + +- 개별 세션에서 서비스 시작: + +`runsvdir -P {{경로/대상/서비스}}` diff --git a/pages.ko/common/rustc.md b/pages.ko/common/rustc.md new file mode 100644 index 00000000000000..29ec545b754e55 --- /dev/null +++ b/pages.ko/common/rustc.md @@ -0,0 +1,33 @@ +# rustc + +> Rust 컴파일러. +> Rust 프로젝트는 보통 `rustc`를 직접 호출하는 대신 `cargo`를 사용합니다. +> 더 많은 정보: . + +- 바이너리 크레이트 컴파일: + +`rustc {{경로/대상/main.rs}}` + +- 최적화하여 컴파일 (`s`는 바이너리 크기 최적화를 의미하며, `z`는 더 많은 최적화를 포함): + +`rustc -C lto -C opt-level={{0|1|2|3|s|z}} {{경로/대상/main.rs}}` + +- 디버깅 정보 포함하여 컴파일: + +`rustc -g {{경로/대상/main.rs}}` + +- 오류 메시지 설명: + +`rustc --explain {{오류_코드}}` + +- 현재 CPU에 대한 아키텍처별 최적화로 컴파일: + +`rustc -C target-cpu={{native}} {{경로/대상/main.rs}}` + +- 대상 목록 표시 (참고: 컴파일하려는 대상은 먼저 `rustup`을 사용하여 추가해야 함): + +`rustc --print target-list` + +- 특정 대상에 대해 컴파일: + +`rustc --target {{타겟_트리플}} {{경로/대상/main.rs}}` diff --git a/pages.ko/common/rustdoc.md b/pages.ko/common/rustdoc.md new file mode 100644 index 00000000000000..0079b8b5a97847 --- /dev/null +++ b/pages.ko/common/rustdoc.md @@ -0,0 +1,20 @@ +# rustdoc + +> Rust 크레이트에 대한 문서를 생성합니다. +> 더 많은 정보: . + +- 크레이트의 루트에서 문서 생성: + +`rustdoc {{src/lib.rs}}` + +- 프로젝트 이름 지정: + +`rustdoc {{src/lib.rs}} --crate-name {{이름}}` + +- 마크다운 파일에서 문서 생성: + +`rustdoc {{경로/대상/파일.md}}` + +- 출력 디렉토리 지정: + +`rustdoc {{src/lib.rs}} --out-dir {{경로/대상/출력_디렉토리}}` diff --git a/pages.ko/common/rustfmt.md b/pages.ko/common/rustfmt.md new file mode 100644 index 00000000000000..5928ccdf9c8490 --- /dev/null +++ b/pages.ko/common/rustfmt.md @@ -0,0 +1,16 @@ +# rustfmt + +> Rust 소스 코드를 포맷합니다. +> 더 많은 정보: . + +- 파일을 포맷하여 원본 파일을 덮어쓰기: + +`rustfmt {{경로/대상/source.rs}}` + +- 파일의 포맷을 확인하고 변경 사항을 콘솔에 표시: + +`rustfmt --check {{경로/대상/source.rs}}` + +- 포맷하기 전에 변경된 파일을 백업 (원본 파일은 `.bk` 확장자로 이름이 변경됩니다): + +`rustfmt --backup {{경로/대상/source.rs}}` diff --git a/pages.ko/common/rustic.md b/pages.ko/common/rustic.md new file mode 100644 index 00000000000000..de370ca37e1e87 --- /dev/null +++ b/pages.ko/common/rustic.md @@ -0,0 +1,12 @@ +# rustic + +> 빠르고 암호화된 중복 제거 백업을 Rust로 생성. +> 더 많은 정보: . + +- 새 저장소 초기화: + +`rustic init --repository {{/srv/rustic-repo}}` + +- 파일/디렉토리의 새 백업을 저장소에 생성: + +`rustic backup --repository {{/srv/rustic-repo}} {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/rustscan.md b/pages.ko/common/rustscan.md new file mode 100644 index 00000000000000..9a0cd127f8622c --- /dev/null +++ b/pages.ko/common/rustscan.md @@ -0,0 +1,36 @@ +# rustscan + +> Rust로 작성된 빠른 포트 스캐너로 `nmap`이 내장되어 있습니다. +> 더 많은 정보: . + +- 기본값을 사용하여 쉼표로 구분된 하나 이상의 주소의 모든 포트를 스캔합니다: + +`rustscan {{[-a|--addresses]}} {{ip_또는_호스트명}}` + +- 서비스 및 버전 감지 기능으로 상위 1000개 포트 스캔하기: + +`rustscan --top {{[-a|--addresses]}} {{주소_또는_주소들}}` + +- 특정 포트 목록 스캔: + +`rustscan {{[-p|--ports]}} {{포트1,포트2,...,포트N}} {{[-a|--addresses]}} {{주소_또는_주소들}}` + +- 특정 범위의 포트를 스캔: + +`rustscan {{[-r|--range]}} {{시작}}-{{끝}} {{[-a|--addresses]}} {{주소_또는_주소들}}` + +- `nmap`에 스크립트 인수 추가: + +`rustscan {{[-a|--addresses]}} {{주소_또는_주소들}} -- -O {{[-sC|--script=default]}}` + +- 사용자 정의 batch 크기(기본: 4500) 및 timeout(기본: 1500ms)으로 스캔: + +`rustscan {{[-b|--batch-size]}} {{배치_크기}} {{[-t|--timeout]}} {{타임아웃}} {{[-a|--addresses]}} {{주소_또는_주소들}}` + +- 특정 포트 순서로 스캔: + +`rustscan --scan-order {{serial|random}} {{[-a|--addresses]}} {{주소_또는_주소들}}` + +- greppable 모드로 스캔(`nmap` 없이 포트 출력만): + +`rustscan {{[-g|--greppable]}} {{[-a|--addresses]}} {{주소_또는_주소들}}` diff --git a/pages.ko/common/rustup-check.md b/pages.ko/common/rustup-check.md new file mode 100644 index 00000000000000..2cbc0ed6ba79c2 --- /dev/null +++ b/pages.ko/common/rustup-check.md @@ -0,0 +1,8 @@ +# rustup check + +> Rust 툴체인 및 `rustup` 업데이트 확인. +> 더 많은 정보: . + +- 모든 업데이트 확인: + +`rustup check` diff --git a/pages.ko/common/rustup-completions.md b/pages.ko/common/rustup-completions.md new file mode 100644 index 00000000000000..dbde119d1f3378 --- /dev/null +++ b/pages.ko/common/rustup-completions.md @@ -0,0 +1,8 @@ +# rustup completions + +> `rustup` 및 `cargo`의 셸 자동 완성 스크립트 생성. +> 더 많은 정보: . + +- 자동 완성 스크립트를 `stdout`에 출력: + +`rustup completions {{bash|elvish|fish|powershell|zsh}} {{rustup|cargo}}` diff --git a/pages.ko/common/rustup-component.md b/pages.ko/common/rustup-component.md new file mode 100644 index 00000000000000..f23bf532e802b8 --- /dev/null +++ b/pages.ko/common/rustup-component.md @@ -0,0 +1,21 @@ +# rustup component + +> 툴체인에 설치된 구성 요소를 수정. +> `--toolchain` 옵션 없이 사용하면 `rustup`은 기본 툴체인을 사용합니다. 툴체인에 대한 자세한 내용은 `rustup help toolchain`을 참조하세요. +> 더 많은 정보: . + +- 툴체인에 구성 요소 추가: + +`rustup component add --toolchain {{툴체인}} {{구성_요소}}` + +- 툴체인에서 구성 요소 제거: + +`rustup component remove --toolchain {{툴체인}} {{구성_요소}}` + +- 툴체인에 대해 설치된 및 사용 가능한 구성 요소 나열: + +`rustup component list --toolchain {{툴체인}}` + +- 툴체인에 대해 설치된 구성 요소 나열: + +`rustup component list --toolchain {{툴체인}} --installed` diff --git a/pages.ko/common/rustup-default.md b/pages.ko/common/rustup-default.md new file mode 100644 index 00000000000000..2233d2337d43df --- /dev/null +++ b/pages.ko/common/rustup-default.md @@ -0,0 +1,8 @@ +# rustup default + +> 기본 Rust 툴체인을 설정. +> 더 많은 정보: . + +- 기본 Rust 툴체인 변경 (`rustup help toolchain`에서 더 많은 정보 확인): + +`rustup default {{툴체인}}` diff --git a/pages.ko/common/rustup-doc.md b/pages.ko/common/rustup-doc.md new file mode 100644 index 00000000000000..b9dc1244b9d2b3 --- /dev/null +++ b/pages.ko/common/rustup-doc.md @@ -0,0 +1,25 @@ +# rustup doc + +> 현재 툴체인의 오프라인 Rust 문서를 엽니다. +> 여기서 언급되지 않은 더 많은 문서 페이지가 있습니다. 자세한 내용은 `rustup help doc`을 참조하세요. +> 더 많은 정보: . + +- 메인 페이지 열기: + +`rustup doc` + +- 특정 주제(표준 라이브러리의 모듈, 타입, 키워드 등)의 문서 열기: + +`rustup doc {{std::fs|usize|fn|...}}` + +- Rust 프로그래밍 언어 책 열기: + +`rustup doc --book` + +- Cargo 책 열기: + +`rustup doc --cargo` + +- Rust 레퍼런스 열기: + +`rustup doc --reference` diff --git a/pages.ko/common/rustup-help.md b/pages.ko/common/rustup-help.md new file mode 100644 index 00000000000000..685388cc15daab --- /dev/null +++ b/pages.ko/common/rustup-help.md @@ -0,0 +1,12 @@ +# rustup help + +> `rustup` 및 그 하위 명령에 대한 도움말 표시. +> 더 많은 정보: . + +- 도움말 표시: + +`rustup help` + +- 하위 명령에 대한 도움말 표시: + +`rustup help {{하위_명령}}` diff --git a/pages.ko/common/rustup-init.sh.md b/pages.ko/common/rustup-init.sh.md new file mode 100644 index 00000000000000..e80fbddd6b3483 --- /dev/null +++ b/pages.ko/common/rustup-init.sh.md @@ -0,0 +1,32 @@ +# rustup-init.sh + +> `rustup` 및 Rust 툴체인을 설치하는 스크립트. +> 더 많은 정보: . + +- `rustup` 및 기본 Rust 툴체인을 설치하기 위해 `rustup-init` 다운로드 및 실행: + +`curl https://sh.rustup.rs -sSf | sh -s` + +- `rustup-init` 다운로드 및 실행하고 인자를 전달: + +`curl https://sh.rustup.rs -sSf | sh -s -- {{인자}}` + +- `rustup-init` 실행 및 추가 구성 요소나 타겟 지정하여 설치: + +`rustup-init.sh --target {{타겟}} --component {{구성_요소}}` + +- `rustup-init` 실행 및 설치할 기본 툴체인 지정: + +`rustup-init.sh --default-toolchain {{툴체인}}` + +- `rustup-init` 실행하고 툴체인 설치하지 않기: + +`rustup-init.sh --default-toolchain {{none}}` + +- `rustup-init` 실행 및 설치 프로필 지정: + +`rustup-init.sh --profile {{minimal|default|complete}}` + +- 확인 요청 없이 `rustup-init` 실행: + +`rustup-init.sh -y` diff --git a/pages.ko/common/rustup-install.md b/pages.ko/common/rustup-install.md new file mode 100644 index 00000000000000..3e4a5d912a1267 --- /dev/null +++ b/pages.ko/common/rustup-install.md @@ -0,0 +1,9 @@ +# rustup install + +> Rust 툴체인을 설치하거나 업데이트. +> 이 명령은 `rustup update`의 별칭이지만, 한 번에 하나의 툴체인만 설치/업데이트할 수 있습니다. +> 더 많은 정보: . + +- 특정 툴체인을 설치하거나 업데이트 (자세한 내용은 `rustup help toolchain` 참조): + +`rustup install {{툴체인}}` diff --git a/pages.ko/common/rustup-man.md b/pages.ko/common/rustup-man.md new file mode 100644 index 00000000000000..a7a9e02b4fd8cf --- /dev/null +++ b/pages.ko/common/rustup-man.md @@ -0,0 +1,12 @@ +# rustup man + +> `rustup`으로 관리되는 명령에 대한 매뉴얼 페이지 보기. +> 더 많은 정보: . + +- 기본 툴체인에서 주어진 명령의 매뉴얼 페이지 보기: + +`rustup man {{명령}}` + +- 지정된 툴체인에서 주어진 명령의 매뉴얼 페이지 보기: + +`rustup man --toolchain {{명령}}` diff --git a/pages.ko/common/rustup-override.md b/pages.ko/common/rustup-override.md new file mode 100644 index 00000000000000..47b16061c2c578 --- /dev/null +++ b/pages.ko/common/rustup-override.md @@ -0,0 +1,21 @@ +# rustup override + +> 디렉터리 툴체인 오버라이드를 수정합니다. +> 툴체인에 대한 자세한 내용은 `rustup help toolchain`을 참조하세요. +> 더 많은 정보: . + +- 디렉터리 툴체인 오버라이드 목록 표시: + +`rustup override list` + +- 현재 디렉터리에 대한 오버라이드 툴체인 설정 (즉, 해당 디렉터리에서 `cargo`, `rustc` 등을 특정 툴체인으로 실행하도록 `rustup`에 지시): + +`rustup override set {{toolchain}}` + +- 현재 디렉터리에 대한 툴체인 오버라이드 제거: + +`rustup override unset` + +- 더 이상 존재하지 않는 디렉터리에 대한 모든 툴체인 오버라이드 제거: + +`rustup override unset --nonexistent` diff --git a/pages.ko/common/rustup-run.md b/pages.ko/common/rustup-run.md new file mode 100644 index 00000000000000..2151338c58d9f9 --- /dev/null +++ b/pages.ko/common/rustup-run.md @@ -0,0 +1,9 @@ +# rustup run + +> Rust 툴체인에 맞게 구성된 환경에서 명령을 실행. +> 참고: `rustup`이 관리하는 모든 명령에는 이를 위한 약식이 있습니다. 예를 들어, `cargo +nightly build`는 `rustup run nightly cargo build`와 동등합니다. +> 더 많은 정보: . + +- 주어진 Rust 툴체인을 사용하여 명령 실행 (`rustup help toolchain`에서 더 많은 정보 확인 가능): + +`rustup run {{툴체인}} {{명령}}` diff --git a/pages.ko/common/rustup-self.md b/pages.ko/common/rustup-self.md new file mode 100644 index 00000000000000..e2766fed363fbf --- /dev/null +++ b/pages.ko/common/rustup-self.md @@ -0,0 +1,12 @@ +# rustup self + +> `rustup` 설치를 수정합니다. +> 더 많은 정보: . + +- `rustup` 업데이트: + +`rustup self update` + +- `rustup` 제거: + +`rustup self uninstall` diff --git a/pages.ko/common/rustup-set.md b/pages.ko/common/rustup-set.md new file mode 100644 index 00000000000000..21c943e9a82711 --- /dev/null +++ b/pages.ko/common/rustup-set.md @@ -0,0 +1,16 @@ +# rustup set + +> `rustup` 설정 변경. +> 더 많은 정보: . + +- 기본 호스트 트리플 설정: + +`rustup set default-host {{호스트_트리플}}` + +- 기본 프로필 설정 (`minimal`은 `rustc`, `rust-std`, `cargo`만 포함하고, `default`는 `rust-docs`, `rustfmt`, `clippy`를 추가로 포함): + +`rustup set profile {{minimal|default}}` + +- `rustup update` 실행 시 `rustup` 자체 업데이트 여부 설정: + +`rustup set auto-self-update {{enable|disable|check-only}}` diff --git a/pages.ko/common/rustup-show.md b/pages.ko/common/rustup-show.md new file mode 100644 index 00000000000000..0e7be20ce22dec --- /dev/null +++ b/pages.ko/common/rustup-show.md @@ -0,0 +1,16 @@ +# rustup show + +> 설치된 툴체인, 타겟 및 `rustc` 버전 표시. +> 더 많은 정보: . + +- 모든 정보 표시: + +`rustup show` + +- 활성 툴체인 표시: + +`rustup show active-toolchain` + +- rustup 데이터 디렉토리 표시: + +`rustup show home` diff --git a/pages.ko/common/rustup-target.md b/pages.ko/common/rustup-target.md new file mode 100644 index 00000000000000..8d01ea08feb13b --- /dev/null +++ b/pages.ko/common/rustup-target.md @@ -0,0 +1,21 @@ +# rustup target + +> 툴체인의 지원 대상 수정. +> `--toolchain` 옵션이 없으면 `rustup`은 기본 툴체인을 사용합니다. 툴체인에 대한 자세한 정보는 `rustup help toolchain`을 참조하세요. +> 더 많은 정보: . + +- 툴체인에 대상 추가: + +`rustup target add --toolchain {{툴체인}} {{대상}}` + +- 툴체인에서 대상 제거: + +`rustup target remove --toolchain {{툴체인}} {{대상}}` + +- 툴체인의 사용 가능 및 설치된 대상 나열: + +`rustup target list --toolchain {{툴체인}}` + +- 툴체인에 설치된 대상 나열: + +`rustup target list --toolchain {{툴체인}} --installed` diff --git a/pages.ko/common/rustup-toolchain.md b/pages.ko/common/rustup-toolchain.md new file mode 100644 index 00000000000000..f73499dd195ef1 --- /dev/null +++ b/pages.ko/common/rustup-toolchain.md @@ -0,0 +1,21 @@ +# rustup toolchain + +> Rust 툴체인 관리. +> 툴체인에 대한 자세한 정보는 `rustup help toolchain`을 참조. +> 더 많은 정보: . + +- 주어진 툴체인 설치 또는 업데이트: + +`rustup toolchain install {{툴체인}}` + +- 툴체인 제거: + +`rustup toolchain uninstall {{툴체인}}` + +- 설치된 툴체인 나열: + +`rustup toolchain list` + +- 디렉토리에 대한 심볼릭 링크를 통해 사용자 지정 툴체인 생성: + +`rustup toolchain link {{사용자_지정_툴체인_이름}} {{경로/대상/폴더}}` diff --git a/pages.ko/common/rustup-update.md b/pages.ko/common/rustup-update.md new file mode 100644 index 00000000000000..4652483669f7e9 --- /dev/null +++ b/pages.ko/common/rustup-update.md @@ -0,0 +1,12 @@ +# rustup update + +> Rust 툴체인 및 `rustup` 자체를 업데이트(패키지 관리자를 사용하여 설치하지 않은 경우). +> 더 많은 정보: . + +- 설치된 모든 툴체인 및 `rustup` 업데이트: + +`rustup update` + +- 특정 툴체인 설치 또는 업데이트 (`rustup help toolchain`에서 자세한 정보 확인): + +`rustup update {{툴체인}}` diff --git a/pages.ko/common/rustup-which.md b/pages.ko/common/rustup-which.md new file mode 100644 index 00000000000000..6b5df88d488b0a --- /dev/null +++ b/pages.ko/common/rustup-which.md @@ -0,0 +1,13 @@ +# rustup which + +> `rustup`에 의해 관리되는 명령에 대해 실행될 바이너리를 표시. +> `which`와 유사하지만, `$PATH` 대신 Rust 도구 체인을 검색. +> 더 많은 정보: . + +- 기본 도구 체인에서 바이너리의 경로 표시: + +`rustup which {{명령}}` + +- 지정된 도구 체인에서 바이너리의 경로 표시 (`rustup help toolchain`에서 더 많은 정보 확인): + +`rustup which --toolchain {{도구_체인}} {{명령}}` diff --git a/pages.ko/common/rustup.md b/pages.ko/common/rustup.md new file mode 100644 index 00000000000000..5e3076204695d9 --- /dev/null +++ b/pages.ko/common/rustup.md @@ -0,0 +1,33 @@ +# rustup + +> Rust 툴체인을 설치, 관리 및 업데이트. +> `toolchain`, `target`, `update` 등의 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 시스템에 nightly 툴체인 설치: + +`rustup install nightly` + +- 기본 툴체인을 nightly로 전환하여 `cargo` 및 `rustc` 명령이 이를 사용하도록 설정: + +`rustup default nightly` + +- 현재 프로젝트 내에서만 nightly 툴체인을 사용하고 전역 설정은 변경하지 않음: + +`rustup override set nightly` + +- 모든 툴체인 업데이트: + +`rustup update` + +- 설치된 툴체인 나열: + +`rustup show` + +- 특정 툴체인으로 `cargo build` 실행: + +`rustup run {{툴체인}} cargo build` + +- 기본 웹 브라우저에서 로컬 Rust 문서 열기: + +`rustup doc` diff --git a/pages.ko/common/rvm.md b/pages.ko/common/rvm.md new file mode 100644 index 00000000000000..57535c99f70b64 --- /dev/null +++ b/pages.ko/common/rvm.md @@ -0,0 +1,36 @@ +# rvm + +> 여러 루비 환경을 쉽게 설치하고 관리하며 작업할 수 있는 도구. +> 더 많은 정보: . + +- 하나 이상의 루비 버전 설치: + +`rvm install {{버전1 버전2 ...}}` + +- 설치된 버전 목록 표시: + +`rvm list` + +- 특정 루비 버전 사용: + +`rvm use {{버전}}` + +- 기본 루비 버전 설정: + +`rvm --default use {{버전}}` + +- 루비 버전을 새 버전으로 업그레이드: + +`rvm upgrade {{현재_버전}} {{새로운_버전}}` + +- 루비 버전을 제거하고 소스는 유지: + +`rvm uninstall {{버전}}` + +- 루비 버전과 소스를 모두 제거: + +`rvm remove {{버전}}` + +- 운영 체제에 대한 특정 의존성 표시: + +`rvm requirements` diff --git a/pages.ko/common/s.md b/pages.ko/common/s.md new file mode 100644 index 00000000000000..8f95aa63d554f0 --- /dev/null +++ b/pages.ko/common/s.md @@ -0,0 +1,20 @@ +# s + +> 터미널에서 웹 검색. +> 더 많은 정보: . + +- Google(기본 제공자)에서 쿼리 검색: + +`s {{쿼리}}` + +- 모든 제공자 나열: + +`s --list-providers` + +- 지정된 제공자로 쿼리 검색: + +`s --provider {{제공자}} {{쿼리}}` + +- 지정된 바이너리를 사용하여 검색 쿼리 수행: + +`s --binary "{{바이너리}} {{인수}}" {{쿼리}}` diff --git a/pages.ko/common/s3cmd.md b/pages.ko/common/s3cmd.md new file mode 100644 index 00000000000000..b7e8a5ed3fd6eb --- /dev/null +++ b/pages.ko/common/s3cmd.md @@ -0,0 +1,32 @@ +# s3cmd + +> S3 호환 객체 저장소에서 데이터를 업로드, 검색 및 관리하기 위한 커맨드라인 도구 및 클라이언트. +> 더 많은 정보: . + +- 구성/재구성 도구 실행: + +`s3cmd --configure` + +- 버킷/폴더/객체 나열: + +`s3cmd ls s3://{{버킷|경로/대상/파일}}` + +- 버킷/폴더 생성: + +`s3cmd mb s3://{{버킷}}` + +- 버킷에서 특정 파일 다운로드: + +`s3cmd get s3://{{버킷_이름}}/{{경로/대상/파일}} {{경로/대상/로컬_파일}}` + +- 버킷에 파일 업로드: + +`s3cmd put {{로컬_파일}} s3://{{버킷}}/{{파일}}` + +- 객체를 특정 버킷 위치로 이동: + +`s3cmd mv s3://{{원본_버킷}}/{{원본_객체}} s3://{{대상_버킷}}/{{대상_객체}}` + +- 특정 객체 삭제: + +`s3cmd rm s3://{{버킷}}/{{객체}}` diff --git a/pages.ko/common/safe.md b/pages.ko/common/safe.md new file mode 100644 index 00000000000000..7ee09397df09ea --- /dev/null +++ b/pages.ko/common/safe.md @@ -0,0 +1,36 @@ +# safe + +> HashiCorp Vault와 상호작용. +> 더 많은 정보: . + +- 안전한 타겟 추가: + +`safe target {{vault_주소}} {{타겟_이름}}` + +- 인증 토큰을 사용하여 Vault 서버에 CLI 클라이언트 인증: + +`safe auth {{인증_토큰}}` + +- 현재 타겟을 설명하는 환경 변수 출력: + +`safe env` + +- 주어진 경로에 대한 모든 접근 가능한 키의 트리 계층 구조 표시: + +`safe tree {{경로}}` + +- 비밀을 한 경로에서 다른 경로로 이동: + +`safe move {{기존/경로/대상/비밀}} {{새로운/경로/대상/비밀}}` + +- 새로운 2048비트 SSH 키 쌍 생성 및 저장: + +`safe ssh {{2048}} {{경로/대상/비밀}}` + +- 비민감 키를 비밀에 설정: + +`safe set {{경로/대상/비밀}} {{키}}={{값}}` + +- 자동 생성된 비밀번호를 비밀에 설정: + +`safe gen {{경로/대상/비밀}} {{키}}` diff --git a/pages.ko/common/sails.md b/pages.ko/common/sails.md new file mode 100644 index 00000000000000..635c3c4fe8acd6 --- /dev/null +++ b/pages.ko/common/sails.md @@ -0,0 +1,24 @@ +# sails + +> Node.js 위에 구축된 실시간 엔터프라이즈 레벨 MVC 프레임워크. +> 더 많은 정보: . + +- Sails 시작: + +`sails lift` + +- 새 Sails 프로젝트 생성: + +`sails new {{프로젝트이름}}` + +- Sails API 생성: + +`sails generate {{이름}}` + +- Sails 컨트롤러 생성: + +`sails generate controller {{이름}}` + +- Sails 모델 생성: + +`sails generate model {{이름}}` diff --git a/pages.ko/common/salt-call.md b/pages.ko/common/salt-call.md new file mode 100644 index 00000000000000..2d61ec14e532b7 --- /dev/null +++ b/pages.ko/common/salt-call.md @@ -0,0 +1,20 @@ +# salt-call + +> 로컬에서 salt minion에서 salt를 호출합니다. +> 더 많은 정보: . + +- 이 minion에서 highstate 실행: + +`salt-call state.highstate` + +- highstate 시뮬레이션 실행, 모든 변경 사항을 계산하지만 실제로 수행하지 않음: + +`salt-call state.highstate test=true` + +- 자세한 디버깅 출력과 함께 highstate 실행: + +`salt-call -l debug state.highstate` + +- 이 minion의 grains 나열: + +`salt-call grains.items` diff --git a/pages.ko/common/salt-key.md b/pages.ko/common/salt-key.md new file mode 100644 index 00000000000000..af2537311553bd --- /dev/null +++ b/pages.ko/common/salt-key.md @@ -0,0 +1,21 @@ +# salt-key + +> Salt 마스터에서 Salt 미니언 키를 관리. +> 루트 사용자로 또는 sudo와 함께 Salt 마스터에서 실행해야 함. +> 더 많은 정보: . + +- 수락된, 수락되지 않은 및 거부된 모든 미니언 키 나열: + +`salt-key -L` + +- 이름으로 미니언 키 수락: + +`salt-key -a {{미니언_ID}}` + +- 이름으로 미니언 키 거부: + +`salt-key -r {{미니언_ID}}` + +- 모든 공개 키의 지문 출력: + +`salt-key -F` diff --git a/pages.ko/common/salt-run.md b/pages.ko/common/salt-run.md new file mode 100644 index 00000000000000..0bd82704aafdaa --- /dev/null +++ b/pages.ko/common/salt-run.md @@ -0,0 +1,12 @@ +# salt-run + +> minion에서 salt-runners를 실행하기 위한 프론트엔드. +> 더 많은 정보: . + +- 모든 minion의 상태 표시: + +`salt-run manage.status` + +- 연결이 끊긴 모든 minion 표시: + +`salt-run manage.up` diff --git a/pages.ko/common/salt.md b/pages.ko/common/salt.md new file mode 100644 index 00000000000000..07dd21bc475818 --- /dev/null +++ b/pages.ko/common/salt.md @@ -0,0 +1,20 @@ +# salt + +> 원격 salt 미니언에서 명령을 실행하고 상태를 확인. +> 더 많은 정보: . + +- 연결된 미니언 나열: + +`salt '*' test.ping` + +- 모든 연결된 미니언에서 highstate 실행: + +`salt '*' state.highstate` + +- 일부 미니언에서 OS 패키지 관리자(apt, yum, brew)를 사용하여 패키지 업그레이드: + +`salt '*.example.com' pkg.upgrade` + +- 특정 미니언에서 임의의 명령 실행: + +`salt '{{미니언_ID}}' cmd.run "ls "` diff --git a/pages.ko/common/sam2p.md b/pages.ko/common/sam2p.md new file mode 100644 index 00000000000000..5f9894c77bb1b1 --- /dev/null +++ b/pages.ko/common/sam2p.md @@ -0,0 +1,8 @@ +# sam2p + +> 스마트 PDF 및 PostScript (EPS) 출력 기능이 있는 래스터(비트맵) 이미지 변환기. +> 더 많은 정보: . + +- 모든 PDF 파일을 하나로 결합: + +`sam2p *.pdf {{경로/대상/출력.pdf}}` diff --git a/pages.ko/common/samtools.md b/pages.ko/common/samtools.md new file mode 100644 index 00000000000000..5281faaeca9b62 --- /dev/null +++ b/pages.ko/common/samtools.md @@ -0,0 +1,37 @@ +# samtools + +> 고처리량 시퀀싱(유전체학) 데이터를 처리하기 위한 도구. +> SAM/BAM/CRAM 형식의 데이터를 읽기/쓰기/편집/색인/보기 위해 사용됩니다. +> 더 많은 정보: . + +- SAM 입력 파일을 BAM 스트림으로 변환하고 파일로 저장: + +`samtools view -S -b {{입력.sam}} > {{출력.bam}}` + +- `stdin`(-)에서 입력을 받아 특정 영역과 겹치는 모든 읽기 및 SAM 헤더를 `stdout`에 출력: + +`{{다른_명령어}} | samtools view -h - chromosome:start-end` + +- 파일을 정렬하여 BAM으로 저장 (출력 형식은 출력 파일의 확장자로 자동 결정됨): + +`samtools sort {{입력}} -o {{출력.bam}}` + +- 정렬된 BAM 파일 색인 ({{sorted_input.bam.bai}} 생성): + +`samtools index {{정렬된_입력.bam}}` + +- 파일의 정렬 통계 출력: + +`samtools flagstat {{정렬된_입력}}` + +- 각 색인(염색체/컨티그)에 대한 정렬 수 계산: + +`samtools idxstats {{정렬된_색인_입력}}` + +- 여러 파일 병합: + +`samtools merge {{출력}} {{입력1 입력2 ...}}` + +- 읽기 그룹에 따라 입력 파일 분할: + +`samtools split {{병합된_입력}}` diff --git a/pages.ko/common/sass.md b/pages.ko/common/sass.md new file mode 100644 index 00000000000000..4fb71fdb747cfc --- /dev/null +++ b/pages.ko/common/sass.md @@ -0,0 +1,20 @@ +# sass + +> SCSS 또는 Sass 파일을 CSS로 변환. +> 더 많은 정보: . + +- SCSS 또는 Sass 파일을 CSS로 변환하고 결과를 출력: + +`sass {{입력파일.scss|입력파일.sass}}` + +- SCSS 또는 Sass 파일을 CSS로 변환하고 결과를 파일에 저장: + +`sass {{입력파일.scss|입력파일.sass}} {{출력파일.css}}` + +- SCSS 또는 Sass 파일의 변경사항을 감시하고 동일한 파일명으로 CSS 파일 출력 또는 업데이트: + +`sass --watch {{입력파일.scss|입력파일.sass}}` + +- SCSS 또는 Sass 파일의 변경사항을 감시하고 주어진 파일명으로 CSS 파일 출력 또는 업데이트: + +`sass --watch {{입력파일.scss|입력파일.sass}}:{{출력파일.css}}` diff --git a/pages.ko/common/satis.md b/pages.ko/common/satis.md new file mode 100644 index 00000000000000..f9139ec8b485e6 --- /dev/null +++ b/pages.ko/common/satis.md @@ -0,0 +1,24 @@ +# satis + +> Satis 정적 Composer 저장소를 위한 명령줄 도구. +> 더 많은 정보: . + +- Satis 구성 초기화: + +`satis init {{satis.json}}` + +- Satis 구성에 VCS 저장소 추가: + +`satis add {{저장소_주소}}` + +- 구성에서 정적 출력 생성: + +`satis build {{satis.json}} {{경로/대상/출력_폴더}}` + +- 지정된 저장소만 업데이트하여 정적 출력 생성: + +`satis build --repository-url {{저장소_주소}} {{satis.json}} {{경로/대상/출력_폴더}}` + +- 불필요한 아카이브 파일 제거: + +`satis purge {{satis.json}} {{경로/대상/출력_폴더}}` diff --git a/pages.ko/common/sbcl.md b/pages.ko/common/sbcl.md new file mode 100644 index 00000000000000..991cce5e1e223d --- /dev/null +++ b/pages.ko/common/sbcl.md @@ -0,0 +1,12 @@ +# sbcl + +> 고성능 Common Lisp 컴파일러. +> 더 많은 정보: . + +- REPL(인터랙티브 셸) 시작: + +`sbcl` + +- Lisp 스크립트 실행: + +`sbcl --script {{경로/대상/스크립트.lisp}}` diff --git a/pages.ko/common/sbigtopgm.md b/pages.ko/common/sbigtopgm.md new file mode 100644 index 00000000000000..0baff56d00ddbc --- /dev/null +++ b/pages.ko/common/sbigtopgm.md @@ -0,0 +1,8 @@ +# sbigtopgm + +> SBIG CCDOPS 파일을 PGM으로 변환. +> 더 많은 정보: . + +- SBIG CCDOPS 이미지 파일을 PGM으로 변환: + +`sbigtopgm {{경로/대상/입력_파일.sbig}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/sbt.md b/pages.ko/common/sbt.md new file mode 100644 index 00000000000000..adc7db8ee0078b --- /dev/null +++ b/pages.ko/common/sbt.md @@ -0,0 +1,36 @@ +# sbt + +> Scala 및 Java 프로젝트를 위한 빌드 도구. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`sbt` + +- GitHub에 호스팅된 기존 Giter8 템플릿에서 새 Scala 프로젝트 생성: + +`sbt new {{scala/hello-world.g8}}` + +- 모든 테스트 컴파일 및 실행: + +`sbt test` + +- `target` 디렉토리의 모든 생성된 파일 삭제: + +`sbt clean` + +- `src/main/scala` 및 `src/main/java` 디렉토리의 주요 소스 컴파일: + +`sbt compile` + +- 지정된 버전의 sbt 사용: + +`sbt -sbt-version {{버전}}` + +- 특정 jar 파일을 sbt 실행 파일로 사용: + +`sbt -sbt-jar {{경로}}` + +- 모든 sbt 옵션 나열: + +`sbt -h` diff --git a/pages.ko/common/sbuild.md b/pages.ko/common/sbuild.md new file mode 100644 index 00000000000000..1bc77a55dd5d78 --- /dev/null +++ b/pages.ko/common/sbuild.md @@ -0,0 +1,32 @@ +# sbuild + +> 깨끗한 `chroot` 환경에서 Debian 바이너리 패키지를 빌드. +> 더 많은 정보: . + +- 현재 디렉터리에서 패키지 빌드: + +`sbuild` + +- 지정된 패키지 빌드: + +`sbuild {{패키지}}` + +- 특정 배포판을 위해 빌드: + +`sbuild --dist {{배포판}}` + +- 사용자 지정 의존성을 사용하여 빌드 (디렉터리를 전달하면, `.deb`로 끝나는 모든 파일이 사용됨): + +`sbuild --extra-package {{경로/대상/파일_또는_폴더}}` + +- 빌드 실패 시 문제를 더 조사하기 위해 셸 실행: + +`sbuild --build-failed-commands=%SBUILD_SHELL` + +- 특정 아키텍처에 대해 크로스 빌드: + +`sbuild --host {{아키텍처}}` + +- 지정된 네이티브 아키텍처에 대해 빌드: + +`sbuild --arch {{아키텍처}}` diff --git a/pages.ko/common/sc_analysis_dump.md b/pages.ko/common/sc_analysis_dump.md new file mode 100644 index 00000000000000..ea1af396adf7ce --- /dev/null +++ b/pages.ko/common/sc_analysis_dump.md @@ -0,0 +1,8 @@ +# sc_analysis_dump + +> 쉽게 파싱할 수 있는 형식으로 traceroute 데이터를 덤프. +> 더 많은 정보: . + +- `warts` 파일의 traceroute를 순차적으로 쉽게 파싱할 수 있는 형식으로 출력: + +`sc_analysis_dump {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` diff --git a/pages.ko/common/sc_tracediff.md b/pages.ko/common/sc_tracediff.md new file mode 100644 index 00000000000000..5f682e305b8c81 --- /dev/null +++ b/pages.ko/common/sc_tracediff.md @@ -0,0 +1,16 @@ +# sc_tracediff + +> 경로가 변경된 traceroute 경로를 표시. +> 더 많은 정보: . + +- 두 `warts` 파일에서 traceroute의 차이점 표시: + +`sc_tracediff {{경로/대상/파일1.warts}} {{경로/대상/파일2.warts}}` + +- 두 `warts` 파일에서 변경되지 않은 traceroute도 포함하여 차이점 표시: + +`sc_tracediff -a {{경로/대상/파일1.warts}} {{경로/대상/파일2.warts}}` + +- 두 `warts` 파일에서 traceroute의 차이점을 표시하고 가능하면 IP 주소 대신 DNS 이름을 표시: + +`sc_tracediff -n {{경로/대상/파일1.warts}} {{경로/대상/파일2.warts}}` diff --git a/pages.ko/common/sc_ttlexp.md b/pages.ko/common/sc_ttlexp.md new file mode 100644 index 00000000000000..f7e07d5b67a496 --- /dev/null +++ b/pages.ko/common/sc_ttlexp.md @@ -0,0 +1,8 @@ +# sc_ttlexp + +> `warts` 파일에서 ICMP TTL 만료 메시지의 소스 주소를 덤프. +> 더 많은 정보: . + +- `warts` 파일에서 ICMP TTL 만료 메시지의 소스 주소를 순차적으로 출력: + +`sc_ttlexp {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` diff --git a/pages.ko/common/sc_warts2csv.md b/pages.ko/common/sc_warts2csv.md new file mode 100644 index 00000000000000..fb0742edc411b8 --- /dev/null +++ b/pages.ko/common/sc_warts2csv.md @@ -0,0 +1,8 @@ +# sc_warts2csv + +> `scamper`에 의해 수집된 트레이서트를 CSV 형식으로 덤프. +> 더 많은 정보: . + +- `warts` 파일의 트레이서트 데이터를 CSV로 변환하고 출력: + +`sc_warts2csv {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` diff --git a/pages.ko/common/sc_warts2json.md b/pages.ko/common/sc_warts2json.md new file mode 100644 index 00000000000000..ae07bad1d42c2e --- /dev/null +++ b/pages.ko/common/sc_warts2json.md @@ -0,0 +1,8 @@ +# sc_warts2json + +> `warts` 파일에 포함된 정보를 JSON으로 덤프. +> 더 많은 정보: . + +- `warts` 파일을 JSON으로 변환하고 결과 출력: + +`sc_warts2json {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` diff --git a/pages.ko/common/sc_warts2pcap.md b/pages.ko/common/sc_warts2pcap.md new file mode 100644 index 00000000000000..110ebd6c2d18a5 --- /dev/null +++ b/pages.ko/common/sc_warts2pcap.md @@ -0,0 +1,13 @@ +# sc_warts2pcap + +> `warts` 객체에 포함된 패킷을 PCAP 파일로 작성. +> 이는 tbit, sting 및 sniff에 대해서만 가능합니다. +> 더 많은 정보: . + +- 여러 `warts` 파일의 데이터를 하나의 PCAP 파일로 변환: + +`sc_warts2pcap -o {{경로/대상/출력.pcap}} {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` + +- `warts` 파일의 데이터를 PCAP 파일로 변환하고 패킷을 타임스탬프별로 정렬: + +`sc_warts2pcap -s -o {{경로/대상/출력.pcap}} {{경로/대상/파일.warts}}` diff --git a/pages.ko/common/sc_warts2text.md b/pages.ko/common/sc_warts2text.md new file mode 100644 index 00000000000000..a8b3f0b8fca8f8 --- /dev/null +++ b/pages.ko/common/sc_warts2text.md @@ -0,0 +1,8 @@ +# sc_warts2text + +> `warts` 파일에 포함된 정보를 간단히 덤프. +> 더 많은 정보: . + +- `warts` 파일의 정보를 텍스트로 출력: + +`sc_warts2text {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` diff --git a/pages.ko/common/sc_wartscat.md b/pages.ko/common/sc_wartscat.md new file mode 100644 index 00000000000000..2c92e1eb005b17 --- /dev/null +++ b/pages.ko/common/sc_wartscat.md @@ -0,0 +1,8 @@ +# sc_wartscat + +> `warts` 파일을 연결합니다. +> 더 많은 정보: . + +- 여러 `warts` 파일을 하나로 연결: + +`sc_wartscat -o {{경로/대상/출력.warts}} {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` diff --git a/pages.ko/common/sc_wartsdump.md b/pages.ko/common/sc_wartsdump.md new file mode 100644 index 00000000000000..9c7d4513f724a7 --- /dev/null +++ b/pages.ko/common/sc_wartsdump.md @@ -0,0 +1,8 @@ +# sc_wartsdump + +> `warts` 파일에 포함된 정보의 자세한 덤프. +> 더 많은 정보: . + +- `warts` 파일의 내용을 자세히 출력: + +`sc_wartsdump {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` diff --git a/pages.ko/common/sc_wartsfilter.md b/pages.ko/common/sc_wartsfilter.md new file mode 100644 index 00000000000000..ed1544f9c984d9 --- /dev/null +++ b/pages.ko/common/sc_wartsfilter.md @@ -0,0 +1,16 @@ +# sc_wartsfilter + +> `warts` 파일에서 특정 레코드를 선택. +> 더 많은 정보: . + +- 특정 목적지를 가진 모든 데이터 레코드를 필터링하여 별도의 파일로 저장: + +`sc_wartsfilter -i {{경로/대상/입력.warts}} -o {{경로/대상/출력.warts}} -a {{192.0.2.5}} -a {{192.0.2.6}}` + +- 특정 접두사를 가진 목적지의 모든 레코드를 필터링하여 별도의 파일로 저장: + +`sc_wartsfilter -i {{경로/대상/입력.warts}} -o {{경로/대상/출력.warts}} -a {{2001:db8::/32}}` + +- 특정 작업을 사용한 모든 레코드를 필터링하여 JSON으로 출력: + +`sc_wartsfilter -i {{경로/대상/입력.warts}} -t {{ping}} | sc_warts2json` diff --git a/pages.ko/common/sc_wartsfix.md b/pages.ko/common/sc_wartsfix.md new file mode 100644 index 00000000000000..9af55179a11f09 --- /dev/null +++ b/pages.ko/common/sc_wartsfix.md @@ -0,0 +1,8 @@ +# sc_wartsfix + +> 손상된 `warts` 파일을 잘라내기. +> 더 많은 정보: . + +- 마지막으로 온전한 레코드까지 모든 레코드를 (별도의 파일로) 저장: + +`sc_wartsfix {{경로/대상/파일1.warts 경로/대상/파일2.warts ...}}` diff --git a/pages.ko/common/scala-cli.md b/pages.ko/common/scala-cli.md new file mode 100644 index 00000000000000..91a0b5525438b2 --- /dev/null +++ b/pages.ko/common/scala-cli.md @@ -0,0 +1,24 @@ +# scala-cli + +> Scala 프로그래밍 언어와 상호작용. +> 더 많은 정보: . + +- 특정 Scala 버전과 JVM 버전을 사용하여 REPL(대화형 셸) 시작: + +`scala-cli --scala {{3.1.0}} --jvm {{temurin:17}}` + +- Scala 스크립트 컴파일 및 실행: + +`scala-cli run {{경로/대상/스크립트.scala}}` + +- Scala 스크립트 컴파일 및 테스트: + +`scala-cli test {{경로/대상/스크립트.scala}}` + +- Scala 스크립트의 형식을 맞추고 파일을 직접 업데이트: + +`scala-cli fmt {{경로/대상/스크립트.scala}}` + +- IDE 지원을 위한 파일 생성 (VSCode 및 IntelliJ): + +`scala-cli setup-ide {{경로/대상/스크립트.scala}}` diff --git a/pages.ko/common/scala.md b/pages.ko/common/scala.md new file mode 100644 index 00000000000000..b80a8f42d4728a --- /dev/null +++ b/pages.ko/common/scala.md @@ -0,0 +1,24 @@ +# scala + +> Scala 애플리케이션 런처 및 인터랙티브 인터프리터. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`scala` + +- 클래스패스에 의존성을 추가하여 인터프리터 시작: + +`scala -classpath {{파일이름.jar}} {{명령}}` + +- Scala 스크립트 실행: + +`scala {{스크립트.scala}}` + +- `.jar` 프로그램 실행: + +`scala {{파일이름.jar}}` + +- 커맨드라인에서 단일 Scala 명령 실행: + +`scala -e {{명령}}` diff --git a/pages.ko/common/scalafmt.md b/pages.ko/common/scalafmt.md new file mode 100644 index 00000000000000..33370530fb7fd4 --- /dev/null +++ b/pages.ko/common/scalafmt.md @@ -0,0 +1,25 @@ +# scalafmt + +> Scala 코드를 위한 코드 포매터. +> 설정은 `.scalafmt.conf` 파일에 저장됩니다. +> 더 많은 정보: . + +- 현재 디렉토리의 모든 `.scala` 파일을 재귀적으로 재포맷: + +`scalafmt` + +- 특정 파일 또는 디렉토리를 사용자 정의 포맷 설정으로 재포맷: + +`scalafmt --config {{경로/대상/.scalafmt.conf}} {{경로/대상/파일_또는_디렉토리}} {{경로/대상/파일_또는_디렉토리}} {{...}}` + +- 파일이 올바르게 포맷되었는지 확인하고, 모든 파일이 포맷 스타일을 준수하면 `0` 반환: + +`scalafmt --config {{경로/대상/.scalafmt.conf}} --test` + +- 파일이나 디렉토리 제외: + +`scalafmt --exclude {{경로/대상/파일_또는_디렉토리}} {{...}}` + +- 현재 Git 브랜치에 대해 수정된 파일만 포맷: + +`scalafmt --config {{경로/대상/.scalafmt.conf}} --mode diff` diff --git a/pages.ko/common/scamper.md b/pages.ko/common/scamper.md new file mode 100644 index 00000000000000..3cf5a96f26d941 --- /dev/null +++ b/pages.ko/common/scamper.md @@ -0,0 +1,29 @@ +# scamper + +> 인터넷을 능동적으로 탐색하여 토폴로지와 성능을 분석. +> `sc_`로 시작하는 몇 가지 도구를 포함, 예를 들어 `sc_warts2text` 또는 `sc_ttlexp`. +> 더 많은 정보: . + +- 목적지에 표준 옵션(트레이서트) 실행: + +`scamper -i {{192.0.2.1}}` + +- 두 가지 작업(핑 및 트레이서트)을 두 개의 다른 대상에 실행: + +`scamper -I "{{ping}} {{192.0.2.1}}" -I "{{trace}} {{192.0.2.2}}"` + +- 여러 호스트에 UDP로 핑, 첫 번째 핑에 특정 포트 번호를 사용하고 각 후속 핑마다 증가: + +`scamper -c "{{ping}} -P {{UDP-목적지_포트}} -d {{33434}}" -i {{192.0.2.1}} -i {{192.0.2.2}}` + +- 다중 경로 발견 알고리즘(MDA)을 사용하여 목적지로의 로드 밸런싱 경로 존재 여부를 결정하고 ICMP 에코 패킷을 사용하여 최대 세 번 시도하여 샘플링한 결과를 `warts` 파일에 기록: + +`scamper -O {{warts}} -o {{경로/대상/출력.warts}} -I "{{tracelb}} -P {{ICMP-echo}} -q {{3}} {{192.0.2.1}}"` + +- 목적지에 ICMP로 파리 트레이서트 실행하고 결과를 압축된 `warts` 파일에 저장: + +`scamper -O {{warts.gz}} -o {{경로/대상/출력.warts}} -I "{{trace}} -P {{icmp-paris}} {{2001:db8:dead:beaf::4}}"` + +- 특정 IP 주소에 도착하는 모든 ICMP 패킷과 특정 ICMP ID를 `warts` 파일에 기록: + +`scamper -O {{warts}} -o {{경로/대상/출력.warts}} -I "sniff -S {{2001:db8:dead:beef::6}} icmp[icmpid] == {{101}}"` diff --git a/pages.ko/common/scan-build.md b/pages.ko/common/scan-build.md new file mode 100644 index 00000000000000..9ef98178ce23c3 --- /dev/null +++ b/pages.ko/common/scan-build.md @@ -0,0 +1,16 @@ +# scan-build + +> 코드베이스에 정적 분석기를 실행하여 정기 빌드의 일부로 사용하는 명령줄 도구. +> 더 많은 정보: . + +- 현재 디렉터리에서 프로젝트를 빌드하고 분석: + +`scan-build {{make}}` + +- 명령을 실행하고 모든 후속 옵션을 해당 명령에 전달: + +`scan-build {{명령어}} {{명령어_인수들}}` + +- 도움말 표시: + +`scan-build` diff --git a/pages.ko/common/scc.md b/pages.ko/common/scc.md new file mode 100644 index 00000000000000..7e706b0aac55a9 --- /dev/null +++ b/pages.ko/common/scc.md @@ -0,0 +1,36 @@ +# scc + +> 코드 라인 수를 계산합니다. Go로 작성되었습니다. +> 더 많은 정보: . + +- 현재 디렉토리의 코드 라인 수 출력: + +`scc` + +- 대상 디렉토리의 코드 라인 수 출력: + +`scc {{경로/대상/폴더}}` + +- 각 파일에 대한 출력 표시: + +`scc --by-file` + +- 특정 출력 형식을 사용하여 출력 표시 (기본값은 `tabular`): + +`scc --format {{tabular|wide|json|csv|cloc-yaml|html|html-table}}` + +- 특정 파일 확장자를 가진 파일만 계산: + +`scc --include-ext {{go,java,js}}` + +- 카운트에서 제외할 디렉토리 지정: + +`scc --exclude-dir {{.git,.hg}}` + +- 출력 및 정렬 기준 열로 정렬 (기본값은 파일 기준): + +`scc --sort {{files|name|lines|blanks|code|comments|complexity}}` + +- 도움말 표시: + +`scc -h` diff --git a/pages.ko/common/sccmap.md b/pages.ko/common/sccmap.md new file mode 100644 index 00000000000000..ba9b67b20f1169 --- /dev/null +++ b/pages.ko/common/sccmap.md @@ -0,0 +1,17 @@ +# sccmap + +> 방향 그래프의 강하게 연결된 컴포넌트를 추출합니다. +> Graphviz 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 방향 그래프에서 강하게 연결된 컴포넌트 추출: + +`sccmap -S {{경로/대상/입력1.gv}} {{경로/대상/입력2.gv ...}} > {{경로/대상/출력.gv}}` + +- 그래프에 대한 통계를 출력하며, 그래프 출력은 생성하지 않음: + +`sccmap -v -s {{경로/대상/입력1.gv}} {{경로/대상/입력2.gv ...}}` + +- 도움말 표시: + +`sccmap -?` diff --git a/pages.ko/common/scd.md b/pages.ko/common/scd.md new file mode 100644 index 00000000000000..664da36f9e9bac --- /dev/null +++ b/pages.ko/common/scd.md @@ -0,0 +1,28 @@ +# scd + +> 셸 통합에 중점을 둔 파일 관리자. +> 더 많은 정보: . + +- 처음 실행 시 경로를 재귀적으로 색인: + +`scd -ar {{경로/대상/폴더}}` + +- 특정 디렉토리로 이동: + +`scd {{경로/대상/폴더}}` + +- 특정 패턴과 일치하는 경로로 이동: + +`scd "{{패턴1 패턴2 ...}}"` + +- 선택 메뉴 및 20개의 가장 가능성 높은 디렉토리 순위 표시: + +`scd -v` + +- 현재 디렉토리에 특정 별칭 추가: + +`scd --alias={{단어}}` + +- 특정 별칭을 사용하여 디렉토리로 이동: + +`scd {{단어}}` diff --git a/pages.ko/common/scheme.md b/pages.ko/common/scheme.md new file mode 100644 index 00000000000000..55e7f288671b2b --- /dev/null +++ b/pages.ko/common/scheme.md @@ -0,0 +1,24 @@ +# scheme + +> MIT Scheme 언어 인터프리터 및 REPL(대화형 셸). +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`scheme` + +- Scheme 프로그램 실행(REPL 출력 없음): + +`scheme --quiet < {{스크립트.scm}}` + +- Scheme 프로그램을 REPL에 로드: + +`scheme --load {{스크립트.scm}}` + +- Scheme 표현식을 REPL에 로드: + +`scheme --eval "{{(define foo 'x)}}"` + +- 조용한 모드로 REPL 열기: + +`scheme --quiet` diff --git a/pages.ko/common/scim.md b/pages.ko/common/scim.md new file mode 100644 index 00000000000000..041cd57213c07b --- /dev/null +++ b/pages.ko/common/scim.md @@ -0,0 +1,29 @@ +# scim + +> 커서 기반의 vim 스타일 스프레드시트 계산기입니다. +> 이동하려면 `` 또는 ``를 사용하세요. +> 더 많은 정보: . + +- SC-IM 시작: + +`scim {{경로/대상/파일.csv}}` + +- 현재 셀에 문자열 입력: + +`{{<<>|<>>}}` + +- 현재 셀에 숫자 상수 입력: + +`<=>` + +- 현재 셀의 문자열 편집: + +`` + +- 현재 셀의 숫자 편집: + +`` + +- 현재 셀 가운데 정렬: + +`<|>` diff --git a/pages.ko/common/scp.md b/pages.ko/common/scp.md new file mode 100644 index 00000000000000..df17cf6c6ca83b --- /dev/null +++ b/pages.ko/common/scp.md @@ -0,0 +1,37 @@ +# scp + +> 보안 복사. +> SSH를 통한 보안 복사 프로토콜을 사용하여 호스트 간에 파일 복사. +> 더 많은 정보: . + +- 로컬 파일을 원격 호스트에 복사: + +`scp {{경로/대상/로컬_파일}} {{원격_호스트}}:{{경로/대상/원격_파일}}` + +- 원격 호스트에 연결할 때 특정 포트를 사용: + +`scp -P {{포트}} {{경로/대상/로컬_파일}} {{원격_호스트}}:{{경로/대상/원격_파일}}` + +- 원격 호스트의 파일을 로컬 폴더로 복사: + +`scp {{원격_호스트}}:{{경로/대상/원격_파일}} {{경로/대상/로컬_폴더}}` + +- 원격 호스트의 폴더 내용을 로컬 폴더로 반복적으로 복사: + +`scp -r {{원격_호스트}}:{{경로/대상/원격_폴더}} {{경로/대상/로컬_폴더}}` + +- 로컬 호스트를 통해 전송되는 두 원격 호스트 간에 파일 복사: + +`scp -3 {{호스트1}}:{{경로/대상/원격_파일}} {{호스트2}}:{{경로/대상/원격_폴더}}` + +- 원격 호스트에 연결할 때 특정 사용자 이름을 사용: + +`scp {{경로/대상/로컬_파일}} {{원격_사용자명}}@{{원격_호스트}}:{{경로/대상/원격_폴더}}` + +- 원격 호스트 인증을 위해 특정 SSH 개인 키를 사용: + +`scp -i {{~/.ssh/개인_키}} {{경로/대상/로컬_파일}} {{원격_호스트}}:{{경로/대상/원격_파일}}` + +- 원격 호스트에 연결할 때 특정 프록시 사용: + +`scp -J {{프록시_사용자_이름}}@{{프록시_호스트}} {{경로/대상/로컬_파일}} {{원격_호스트}}:{{경로/대상/원격_파일}}` diff --git a/pages.ko/common/scrapy.md b/pages.ko/common/scrapy.md new file mode 100644 index 00000000000000..fb258abea8cdeb --- /dev/null +++ b/pages.ko/common/scrapy.md @@ -0,0 +1,32 @@ +# scrapy + +> 웹 크롤링 프레임워크. +> 더 많은 정보: . + +- 프로젝트 생성: + +`scrapy startproject {{프로젝트_이름}}` + +- 스파이더 생성 (프로젝트 디렉토리에서): + +`scrapy genspider {{스파이더_이름}} {{웹사이트_도메인}}` + +- 스파이더 편집 (프로젝트 디렉토리에서): + +`scrapy edit {{스파이더_이름}}` + +- 스파이더 실행 (프로젝트 디렉토리에서): + +`scrapy crawl {{스파이더_이름}}` + +- Scrapy가 인식하는 방식으로 웹페이지를 가져와 `stdout`에 소스 출력: + +`scrapy fetch {{URL}}` + +- Scrapy가 인식하는 방식으로 웹페이지를 기본 브라우저에서 열기 (더 정확하게 보려면 JavaScript 비활성화): + +`scrapy view {{URL}}` + +- URL에 대한 Scrapy 셸 열기, 이 셸을 통해 Python 셸(IPython이 가능하다면)을 사용하여 페이지 소스와 상호작용 가능: + +`scrapy shell {{URL}}` diff --git a/pages.ko/common/scrcpy.md b/pages.ko/common/scrcpy.md new file mode 100644 index 00000000000000..6710092c040c28 --- /dev/null +++ b/pages.ko/common/scrcpy.md @@ -0,0 +1,32 @@ +# scrcpy + +> Android 기기를 데스크톱에서 표시하고 제어. +> 더 많은 정보: . + +- 연결된 기기의 화면 미러링: + +`scrcpy` + +- ID 또는 IP 주소를 기반으로 특정 기기의 화면 미러링 (`adb devices` 명령어로 확인 가능): + +`scrcpy --serial {{0123456789abcdef|192.168.0.1:5555}}` + +- 전체 화면 모드로 시작: + +`scrcpy --fullscreen` + +- 화면 회전. 각 증가 값은 반시계 방향으로 90도 회전을 추가: + +`scrcpy --rotation {{0|1|2|3}}` + +- 물리적 기기에서 터치 표시: + +`scrcpy --show-touches` + +- 화면 기록: + +`scrcpy --record {{경로/대상/파일.mp4}}` + +- 드래그 앤 드롭으로 파일을 기기에 전송할 대상 디렉터리 지정 (APK가 아님): + +`scrcpy --push-target {{경로/대상/폴더}}` diff --git a/pages.ko/common/screen.md b/pages.ko/common/screen.md new file mode 100644 index 00000000000000..7d02c498ef2ed1 --- /dev/null +++ b/pages.ko/common/screen.md @@ -0,0 +1,37 @@ +# screen + +> 원격 서버에서 세션을 열어 유지. 단일 SSH 연결로 여러 창을 관리. +> 같이 보기: `tmux`, `zellij`. +> 더 많은 정보: . + +- 새 screen 세션 시작: + +`screen` + +- 새 이름 지정 screen 세션 시작: + +`screen -S {{세션_이름}}` + +- 새로운 데몬을 시작하고 출력을 `screenlog.x`에 기록: + +`screen -dmLS {{세션_이름}} {{명령}}` + +- 열린 screen 세션 표시: + +`screen -ls` + +- 열린 screen에 다시 연결: + +`screen -r {{세션_이름}}` + +- screen 내부에서 분리: + +`` + +- 현재 screen 세션 종료: + +`` + +- 분리된 screen 종료: + +`screen -X -S {{세션_이름}} quit` diff --git a/pages.ko/common/screenfetch.md b/pages.ko/common/screenfetch.md new file mode 100644 index 00000000000000..318a3858b9a5a2 --- /dev/null +++ b/pages.ko/common/screenfetch.md @@ -0,0 +1,24 @@ +# screenfetch + +> 시스템 정보를 표시합니다. +> 더 많은 정보: . + +- `screenfetch` 시작: + +`screenfetch` + +- 스크린샷 찍기 ('scrot' 필요): + +`screenfetch -s` + +- 배포판 로고 지정: + +`screenfetch -A '{{배포판_이름}}'` + +- 배포판 로고와 텍스트 지정: + +`screenfetch -D '{{배포판_이름}}'` + +- 모든 색상 제거: + +`screenfetch -N` diff --git a/pages.ko/common/sd.md b/pages.ko/common/sd.md new file mode 100644 index 00000000000000..2432c258a07177 --- /dev/null +++ b/pages.ko/common/sd.md @@ -0,0 +1,20 @@ +# sd + +> 직관적인 찾기 및 바꾸기 도구. +> 더 많은 정보: . + +- 정규식을 사용하여 공백 제거 (출력 스트림: `stdout`): + +`{{echo 'lorem ipsum 23 '}} | sd '\s+$' ''` + +- 캡처 그룹을 사용하여 단어 바꾸기 (출력 스트림: `stdout`): + +`{{echo 'cargo +nightly watch'}} | sd '(\w+)\s+\+(\w+)\s+(\w+)' 'cmd: $1, channel: $2, subcmd: $3'` + +- 특정 파일에서 찾기 및 바꾸기 (출력 스트림: `stdout`): + +`sd -p {{'window.fetch'}} {{'fetch'}} {{경로/대상/파일.js}}` + +- 현재 프로젝트의 모든 파일에서 찾기 및 바꾸기 (출력 스트림: `stdout`): + +`sd {{'from "react"'}} {{'from "preact"'}} "$(find . -type f)"` diff --git a/pages.ko/common/sdcv.md b/pages.ko/common/sdcv.md new file mode 100644 index 00000000000000..8960ac975371f9 --- /dev/null +++ b/pages.ko/common/sdcv.md @@ -0,0 +1,33 @@ +# sdcv + +> StarDict, 명령줄 사전 클라이언트. +> 사전은 클라이언트와 별도로 제공됩니다. +> 더 많은 정보: . + +- `sdcv`를 대화형 모드로 시작: + +`sdcv` + +- 설치된 사전 나열: + +`sdcv --list-dicts` + +- 특정 사전에서 정의 표시: + +`sdcv --use-dict {{사전_이름}} {{검색어}}` + +- 퍼지 검색으로 정의 조회: + +`sdcv {{검색어}}` + +- 정확한 검색으로 정의 조회: + +`sdcv --exact-search {{검색어}}` + +- 정의를 JSON 형식으로 조회: + +`sdcv --json {{검색어}}` + +- 특정 디렉토리에서 사전 검색: + +`sdcv --data-dir {{경로/대상/폴더}} {{검색어}}` diff --git a/pages.ko/common/sdiff.md b/pages.ko/common/sdiff.md new file mode 100644 index 00000000000000..248e322fae83f5 --- /dev/null +++ b/pages.ko/common/sdiff.md @@ -0,0 +1,24 @@ +# sdiff + +> 두 파일의 차이점을 비교하고 선택적으로 병합. +> 더 많은 정보: . + +- 두 파일 비교: + +`sdiff {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 모든 탭과 공백을 무시하고 두 파일 비교: + +`sdiff -W {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 줄 끝의 공백을 무시하고 두 파일 비교: + +`sdiff -Z {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 대소문자를 구분하지 않고 두 파일 비교: + +`sdiff -i {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 비교 후 병합하고, 결과를 새 파일에 작성: + +`sdiff -o {{경로/대상/병합된_파일}} {{경로/대상/파일1}} {{경로/대상/파일2}}` diff --git a/pages.ko/common/sdk.md b/pages.ko/common/sdk.md new file mode 100644 index 00000000000000..d5cbc7e91ea15b --- /dev/null +++ b/pages.ko/common/sdk.md @@ -0,0 +1,37 @@ +# sdk + +> 여러 소프트웨어 개발 키트의 병렬 버전을 관리. +> Java, Groovy, Scala, Kotlin, Gradle, Maven, Vert.x 등 여러 언어를 지원. +> 더 많은 정보: . + +- SDK 버전 설치: + +`sdk install {{sdk_이름}} {{sdk_버전}}` + +- 현재 터미널 세션에서 특정 SDK 버전 사용: + +`sdk use {{sdk_이름}} {{sdk_버전}}` + +- 사용 가능한 SDK의 안정적인 버전 표시: + +`sdk current {{sdk_이름}}` + +- 설치된 모든 SDK의 안정적인 버전 표시: + +`sdk current` + +- 사용 가능한 모든 SDK 나열: + +`sdk list` + +- 특정 SDK의 모든 버전 나열: + +`sdk list {{sdk_이름}}` + +- SDK를 최신 안정 버전으로 업그레이드: + +`sdk upgrade {{sdk_이름}}` + +- 특정 SDK 버전 제거: + +`sdk rm {{sdk_이름}} {{sdk_버전}}` diff --git a/pages.ko/common/sdkmanager.md b/pages.ko/common/sdkmanager.md new file mode 100644 index 00000000000000..51dc0a95e5fe16 --- /dev/null +++ b/pages.ko/common/sdkmanager.md @@ -0,0 +1,20 @@ +# sdkmanager + +> Android SDK의 패키지 설치 도구. +> 더 많은 정보: . + +- 사용 가능한 패키지 나열: + +`sdkmanager --list` + +- 패키지 설치: + +`sdkmanager {{패키지}}` + +- 설치된 모든 패키지 업데이트: + +`sdkmanager --update` + +- 패키지 제거: + +`sdkmanager --uninstall {{패키지}}` diff --git a/pages.ko/common/searchsploit.md b/pages.ko/common/searchsploit.md new file mode 100644 index 00000000000000..05f6c155da1d29 --- /dev/null +++ b/pages.ko/common/searchsploit.md @@ -0,0 +1,37 @@ +# searchsploit + +> Exploit Database에서 익스플로잇, 쉘코드 및/또는 논문을 검색. +> 알려진 버전 번호가 검색어로 사용되면, 해당 버전에 대한 익스플로잇뿐만 아니라 지정된 버전 범위를 포함하는 다른 익스플로잇도 표시됩니다. +> 더 많은 정보: . + +- 익스플로잇, 쉘코드 또는 논문 검색: + +`searchsploit {{검색어}}` + +- 특정 버전을 검색, 예: sudo 버전 1.8.27: + +`searchsploit sudo 1.8.27` + +- 발견된 리소스의 exploit-db 링크 표시: + +`searchsploit --www {{검색어}}` + +- 리소스를 현재 디렉토리로 복사 ([m]irror) (익스플로잇 번호 필요): + +`searchsploit --mirror {{익스플로잇_번호}}` + +- `$PAGER` 환경 변수에 정의된 페이지 뷰어를 사용하여 리소스를 e[x]amine: + +`searchsploit --examine {{익스플로잇_번호}}` + +- 로컬 Exploit Database [u]업데이트: + +`searchsploit --update` + +- [c]ommon [v]ulnerabilities and [e]xposures (CVE) 값 검색: + +`searchsploit --cve {{2021-44228}}` + +- `nmap`의 XML 출력에서 서비스 버전 (`nmap -sV -oX nmap-output.xml`)으로 알려진 익스플로잇 확인: + +`searchsploit --nmap {{경로/대상/nmap-output.xml}}` diff --git a/pages.ko/common/secrethub.md b/pages.ko/common/secrethub.md new file mode 100644 index 00000000000000..715790774e741b --- /dev/null +++ b/pages.ko/common/secrethub.md @@ -0,0 +1,24 @@ +# secrethub + +> 구성 파일에서 비밀을 분리합니다. +> 더 많은 정보: . + +- 비밀을 `stdout`에 출력: + +`secrethub read {{경로/대상/비밀}}` + +- 무작위 값을 생성하여 새 비밀로 저장하거나 업데이트: + +`secrethub generate {{경로/대상/비밀}}` + +- 클립보드의 값을 새 비밀로 저장하거나 업데이트: + +`secrethub write --clip {{경로/대상/비밀}}` + +- `stdin`에서 제공된 값을 새 비밀로 저장하거나 업데이트: + +`echo "{{비밀_값}}" | secrethub write {{경로/대상/비밀}}` + +- 저장소 또는 비밀 감사: + +`secrethub audit {{경로/대상/저장소_또는_비밀}}` diff --git a/pages.ko/common/security-checker.md b/pages.ko/common/security-checker.md new file mode 100644 index 00000000000000..c7cef82ad9f496 --- /dev/null +++ b/pages.ko/common/security-checker.md @@ -0,0 +1,16 @@ +# security-checker + +> PHP 애플리케이션이 알려진 보안 취약점을 가진 의존성을 사용하는지 확인. +> 더 많은 정보: . + +- 프로젝트 의존성에서 보안 문제 검색 (현재 디렉토리의 `composer.lock` 파일 기준): + +`security-checker security:check` + +- 특정 `composer.lock` 파일 사용: + +`security-checker security:check {{경로/대상/composer.lock}}` + +- 결과를 JSON 객체로 반환: + +`security-checker security:check --format=json` diff --git a/pages.ko/common/sed.md b/pages.ko/common/sed.md new file mode 100644 index 00000000000000..63ffca97f5ea4b --- /dev/null +++ b/pages.ko/common/sed.md @@ -0,0 +1,17 @@ +# sed + +> 스크립트 가능한 방식으로 텍스트 편집. +> 함께 보기: `awk`, `ed`. +> 더 많은 정보: . + +- 모든 입력 줄에서 모든 `apple`(기본 정규식)항목을 `mango`(기본 정규식)로 바꾸고 결과를 `stdout`에 출력: + +`{{명령어}} | sed 's/apple/mango/g'` + +- 특정 스크립트 파일([f]ile)을 실행하고 결과를 `stdout`에 출력: + +`{{명령어}} | sed -f {{경로/대상/script.sed}}` + +- `stdout`에 첫 번째 줄만 출력: + +`{{명령어}} | sed -n '1p'` diff --git a/pages.ko/common/select.md b/pages.ko/common/select.md new file mode 100644 index 00000000000000..0b71750970ce25 --- /dev/null +++ b/pages.ko/common/select.md @@ -0,0 +1,20 @@ +# select + +> 메뉴를 생성하기 위한 Bash 내장 구조. +> 더 많은 정보: . + +- 개별 단어로 메뉴 생성: + +`select {{단어}} in {{사과 오렌지 배 바나나}}; do echo ${{단어}}; done` + +- 다른 명령의 출력으로 메뉴 생성: + +`select {{줄}} in $({{명령}}); do echo ${{줄}}; done` + +- `select`의 프롬프트 문자열을 지정하고 현재 디렉토리에서 파일이나 폴더를 선택하는 메뉴 생성: + +`PS3="{{파일을 선택하세요: }}"; select {{파일}} in *; do echo ${{파일}}; done` + +- Bash 배열로 메뉴 생성: + +`{{과일들}}=({{사과 오렌지 배 바나나}}); select {{단어}} in ${{{과일들[@]}}}; do echo ${{단어}}; done` diff --git a/pages.ko/common/semver.md b/pages.ko/common/semver.md new file mode 100644 index 00000000000000..9ade6174befe33 --- /dev/null +++ b/pages.ko/common/semver.md @@ -0,0 +1,24 @@ +# semver + +> 의미적 버전 문자열 파서. +> 더 많은 정보: . + +- 버전 문자열이 의미적 버전 규칙을 따르는지 확인 (일치하지 않으면 빈 문자열 출력): + +`semver {{1.2}}` + +- 버전 문자열을 의미적 버전 형식으로 변환: + +`semver --coerce {{1.2}}` + +- `1.2.3`이 `^1.0` 범위와 일치하는지 테스트 (일치하지 않으면 빈 문자열 출력): + +`semver {{1.2.3}} --range "{{^1.0}}"` + +- 여러 범위로 테스트: + +`semver {{1.2.3}} --range "{{>=1.0}}" "{{<2.0}}"` + +- 여러 버전 문자열을 테스트하고 일치하는 것만 반환: + +`semver {{1.2.3}} {{2.0.0}} --range "{{^1.0}}"` diff --git a/pages.ko/common/sendmail.md b/pages.ko/common/sendmail.md new file mode 100644 index 00000000000000..068c51711c8ecc --- /dev/null +++ b/pages.ko/common/sendmail.md @@ -0,0 +1,16 @@ +# sendmail + +> 이메일 보내기. +> 더 많은 정보: . + +- `message.txt`의 내용을 로컬 사용자 `username`의 메일 디렉토리로 전송: + +`sendmail {{username}} < {{message.txt}}` + +- 메일 서버가 설정되어 있다고 가정하고, you@yourdomain.com에서 test@gmail.com으로 `message.txt`의 내용을 포함한 이메일 보내기: + +`sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{message.txt}}` + +- 메일 서버가 설정되어 있다고 가정하고, you@yourdomain.com에서 test@gmail.com으로 `file.zip` 파일을 포함한 이메일 보내기: + +`sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{file.zip}}` diff --git a/pages.ko/common/seq.md b/pages.ko/common/seq.md new file mode 100644 index 00000000000000..2a3c71d83b0f98 --- /dev/null +++ b/pages.ko/common/seq.md @@ -0,0 +1,20 @@ +# seq + +> 숫자 시퀀스를 `stdout`에 출력. +> 더 많은 정보: . + +- 1부터 10까지의 시퀀스: + +`seq 10` + +- 5부터 20까지 3씩 증가하는 숫자: + +`seq 5 3 20` + +- 출력 항목을 줄바꿈 대신 공백으로 구분: + +`seq {{[-s|--separator]}} " " 5 3 20` + +- 출력 너비를 최소 4자리로 맞추고 필요한 경우 0으로 채움: + +`seq {{[-f|--format]}} "%04g" 5 3 20` diff --git a/pages.ko/common/sequelize.md b/pages.ko/common/sequelize.md new file mode 100644 index 00000000000000..2344443b5c184e --- /dev/null +++ b/pages.ko/common/sequelize.md @@ -0,0 +1,24 @@ +# sequelize + +> Postgres, MySQL, MariaDB, SQLite 및 Microsoft SQL Server를 위한 Promise 기반 Node.js ORM. +> 더 많은 정보: . + +- 3개의 필드와 마이그레이션 파일로 모델 생성: + +`sequelize model:generate --name {{테이블_이름}} --attributes {{field1:integer,field2:string,field3:boolean}}` + +- 마이그레이션 파일 실행: + +`sequelize db:migrate` + +- 모든 마이그레이션 되돌리기: + +`sequelize db:migrate:undo:all` + +- 데이터베이스를 채우기 위해 지정된 이름의 시드 파일 생성: + +`sequelize seed:generate --name {{시드_파일_이름}}` + +- 모든 시드 파일을 사용하여 데이터베이스 채우기: + +`sequelize db:seed:all` diff --git a/pages.ko/common/serialver.md b/pages.ko/common/serialver.md new file mode 100644 index 00000000000000..0fcca6fc11eab7 --- /dev/null +++ b/pages.ko/common/serialver.md @@ -0,0 +1,17 @@ +# serialver + +> 클래스의 serialVersionUID를 반환. +> 기본적으로 보안 관리자를 설정하지 않습니다. +> 더 많은 정보: . + +- 클래스의 serialVersionUID 표시: + +`serialver {{클래스_이름들}}` + +- 콜론으로 구분된 클래스 및 리소스 목록의 serialVersionUID 표시: + +`serialver -classpath {{경로/대상/폴더}} {{클래스_이름1:클래스_이름2:...}}` + +- Java 애플리케이션 런처의 참조 페이지에서 Java 가상 머신으로 특정 옵션 사용: + +`serialver -Joption {{클래스_이름들}}` diff --git a/pages.ko/common/serve.md b/pages.ko/common/serve.md new file mode 100644 index 00000000000000..9c69c58f641310 --- /dev/null +++ b/pages.ko/common/serve.md @@ -0,0 +1,32 @@ +# serve + +> 정적 파일 제공 및 디렉토리 목록화 도구. +> 더 많은 정보: . + +- 기본 포트에서 현재 디렉토리를 제공하는 HTTP 서버 시작: + +`serve` + +- 특정 [p]포트에서 특정 디렉토리를 제공하는 HTTP 서버 시작: + +`serve -p {{포트}} {{경로/대상/폴더}}` + +- 모든 응답에 `Access-Control-Allow-Origin: *` 헤더를 포함하여 CORS가 활성화된 HTTP 서버 시작: + +`serve --cors` + +- 모든 찾을 수 없는 요청을 `index.html` 파일로 리다이렉트하는 기본 포트의 HTTP 서버 시작: + +`serve --single` + +- 지정된 인증서를 사용하여 기본 포트에서 HTTPS 서버 시작: + +`serve --ssl-cert {{경로/대상/인증서.pem}} --ssl-key {{경로/대상/키.pem}}` + +- 특정 구성 파일을 사용하여 기본 포트에서 HTTP 서버 시작: + +`serve --config {{경로/대상/서버.json}}` + +- 도움말 표시: + +`serve --help` diff --git a/pages.ko/common/serverless.md b/pages.ko/common/serverless.md new file mode 100644 index 00000000000000..b124d750c08e65 --- /dev/null +++ b/pages.ko/common/serverless.md @@ -0,0 +1,29 @@ +# serverless + +> AWS, Google Cloud, Azure 및 IBM OpenWhisk에서 서버리스 아키텍처를 배포하고 운영하기 위한 도구 모음. +> 명령은 `serverless` 명령어 또는 그 별칭인 `sls`를 사용하여 실행할 수 있습니다. +> 더 많은 정보: . + +- 서버리스 프로젝트 생성: + +`serverless create` + +- 템플릿에서 서버리스 프로젝트 생성: + +`serverless create --template {{템플릿_이름}}` + +- 클라우드 공급자에 배포: + +`serverless deploy` + +- 서버리스 프로젝트 정보 표시: + +`serverless info` + +- 배포된 함수 호출: + +`serverless invoke -f {{함수_이름}}` + +- 프로젝트의 로그를 실시간으로 추적: + +`serverless logs -t` diff --git a/pages.ko/common/set-nodeinstalllocation.md b/pages.ko/common/set-nodeinstalllocation.md new file mode 100644 index 00000000000000..4091e30b9fe979 --- /dev/null +++ b/pages.ko/common/set-nodeinstalllocation.md @@ -0,0 +1,9 @@ +# Set-NodeInstallLocation + +> `ps-nvm`의 기본 Node.js 설치 디렉터리를 설정. +> 이 명령은 `ps-nvm`의 일부이며 PowerShell에서만 실행할 수 있습니다. +> 더 많은 정보: . + +- Node.js 설치 위치를 지정된 디렉터리로 변경 (`ps-nvm`은 설치를 위해 새로운 `.nvm` 하위 디렉터리를 생성): + +`Set-NodeInstallLocation {{경로/대상/폴더}}` diff --git a/pages.ko/common/set-nodeversion.md b/pages.ko/common/set-nodeversion.md new file mode 100644 index 00000000000000..7c1accb8c48856 --- /dev/null +++ b/pages.ko/common/set-nodeversion.md @@ -0,0 +1,21 @@ +# Set-NodeVersion + +> `ps-nvm`에서 기본 Node.js 버전을 설정. +> `ps-nvm`의 일부이며 PowerShell에서만 실행 가능. +> 더 많은 정보: . + +- 현재 PowerShell 세션에서 특정 버전의 Node.js 사용: + +`Set-NodeVersion {{node_버전}}` + +- 최신 설치된 Node.js 버전 20.x 사용: + +`Set-NodeVersion ^20` + +- 현재 사용자에 대해 기본 Node.js 버전 설정 (향후 PowerShell 세션에만 적용됨): + +`Set-NodeVersion {{node_버전}} -Persist User` + +- 모든 사용자를 위해 기본 Node.js 버전 설정 (관리자/루트 권한으로 실행해야 하며 향후 PowerShell 세션에만 적용됨): + +`Set-NodeVersion {{node_버전}} -Persist Machine` diff --git a/pages.ko/common/set.md b/pages.ko/common/set.md new file mode 100644 index 00000000000000..5e077c1083132f --- /dev/null +++ b/pages.ko/common/set.md @@ -0,0 +1,32 @@ +# set + +> 셸 옵션을 토글하거나 위치 매개변수의 값을 설정. +> 더 많은 정보: . + +- 셸 변수의 이름과 값을 표시: + +`set` + +- 새로 초기화된 변수를 자식 프로세스에 내보내기: + +`set -a` + +- 작업이 완료될 때 `stderr`에 형식화된 메시지 쓰기: + +`set -b` + +- `vi`와 유사한 키 바인딩(e.g. `yy`)으로 명령줄에서 텍스트 쓰기 및 편집: + +`set -o {{vi}}` + +- 기본 모드로 돌아가기: + +`set -o {{emacs}}` + +- 모든 모드 나열: + +`set -o` + +- (일부) 명령이 실패할 때 셸 종료: + +`set -e` diff --git a/pages.ko/common/sf.md b/pages.ko/common/sf.md new file mode 100644 index 00000000000000..3012489d385e03 --- /dev/null +++ b/pages.ko/common/sf.md @@ -0,0 +1,36 @@ +# sf + +> Salesforce 조직과 작업할 때 개발 및 빌드 자동화를 단순화하는 강력한 명령줄 인터페이스. +> 더 많은 정보: . + +- Salesforce 조직 승인: + +`sf force:auth:web:login --setalias {{조직}} --instanceurl {{조직_URL}}` + +- 승인된 모든 조직 나열: + +`sf force:org:list` + +- 기본 웹 브라우저에서 특정 조직 열기: + +`sf force:org:open --targetusername {{조직}}` + +- 특정 조직에 대한 정보 표시: + +`sf force:org:display --targetusername {{조직}}` + +- 소스 메타데이터를 조직에 푸시: + +`sf force:source:push --targetusername {{조직}}` + +- 소스 메타데이터를 조직에서 가져오기: + +`sf force:source:pull --targetusername {{조직}}` + +- 조직에 로그인한 사용자의 비밀번호 생성: + +`sf force:user:password:generate --targetusername {{조직}}` + +- 조직에 로그인한 사용자에게 권한 세트 할당: + +`sf force:user:permset:assign --permsetname {{권한_세트_이름}} --targetusername {{조직}}` diff --git a/pages.ko/common/sfdp.md b/pages.ko/common/sfdp.md new file mode 100644 index 00000000000000..d4fdf7ca76022d --- /dev/null +++ b/pages.ko/common/sfdp.md @@ -0,0 +1,25 @@ +# sfdp + +> `graphviz` 파일에서 `스케일드 강제 지향` 네트워크 그래프의 이미지를 렌더링. +> 레이아웃: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` 및 `patchwork`. +> 더 많은 정보: . + +- 입력 파일 이름과 출력 형식에 기반하여 파일 이름이 지정된 PNG 이미지 렌더링 (대문자 -O 사용): + +`sfdp -T {{png}} -O {{경로/대상/입력.gv}}` + +- 지정된 출력 파일 이름으로 SVG 이미지 렌더링 (소문자 -o 사용): + +`sfdp -T {{svg}} -o {{경로/대상/이미지.svg}} {{경로/대상/입력.gv}}` + +- PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, 또는 DOT 형식으로 출력 렌더링: + +`sfdp -T {{형식}} -O {{경로/대상/입력.gv}}` + +- `stdin`과 `stdout`을 사용하여 GIF 이미지 렌더링: + +`echo "{{digraph {this -> that} }}" | sfdp -T {{gif}} > {{경로/대상/이미지.gif}}` + +- 도움말 표시: + +`sfdp -?` diff --git a/pages.ko/common/sftp.md b/pages.ko/common/sftp.md new file mode 100644 index 00000000000000..a567a497f2598d --- /dev/null +++ b/pages.ko/common/sftp.md @@ -0,0 +1,38 @@ +# sftp + +> 안전한 파일 전송 프로그램. +> SSH를 통해 호스트 간 파일을 복사하는 대화형 프로그램. +> 비대화형 파일 전송은 `scp` 또는 `rsync`를 참조하세요. +> 더 많은 정보: . + +- 원격 서버에 연결하고 대화형 명령 모드로 진입: + +`sftp {{원격_사용자}}@{{원격_호스트}}` + +- 다른 포트를 사용하여 연결: + +`sftp -P {{원격_포트}} {{원격_사용자}}@{{원격_호스트}}` + +- 사전 정의된 호스트를 사용하여 연결 (`~/.ssh/config`에 설정된 경우): + +`sftp {{호스트}}` + +- 원격 파일을 로컬 시스템으로 전송: + +`get {{/경로/원격_파일}}` + +- 로컬 파일을 원격 시스템으로 전송: + +`put {{/경로/로컬_파일}}` + +- 원격 디렉토리를 로컬 시스템으로 재귀적으로 전송 (`put`에도 적용 가능): + +`get -R {{/경로/원격_디렉토리}}` + +- 로컬 컴퓨터의 파일 목록 보기: + +`lls` + +- 원격 컴퓨터의 파일 목록 보기: + +`ls` diff --git a/pages.ko/common/sg.md b/pages.ko/common/sg.md new file mode 100644 index 00000000000000..391653b5630cbe --- /dev/null +++ b/pages.ko/common/sg.md @@ -0,0 +1,20 @@ +# sg + +> Ast-grep은 코드 구조 검색, 린트 및 재작성 도구입니다. +> 더 많은 정보: . + +- 대화형 모드를 사용하여 가능한 쿼리 스캔: + +`sg scan --interactive` + +- 패턴을 사용하여 현재 디렉토리의 코드 재작성: + +`sg run --pattern '{{foo}}' --rewrite '{{bar}}' --lang {{python}}` + +- 변경 사항을 적용하지 않고 시각화: + +`sg run --pattern '{{useState($A)}}' --rewrite '{{useState($A)}}' --lang {{typescript}}` + +- 결과를 JSON으로 출력하고, `jq`를 사용하여 정보 추출 후 `jless`를 통해 대화형으로 보기: + +`sg run --pattern '{{Some($A)}}' --rewrite '{{None}}' --json | jq '{{.[].replacement}}' | jless` diff --git a/pages.ko/common/sgitopnm.md b/pages.ko/common/sgitopnm.md new file mode 100644 index 00000000000000..ce3bb9dee4f066 --- /dev/null +++ b/pages.ko/common/sgitopnm.md @@ -0,0 +1,16 @@ +# sgitopnm + +> SGI 파일을 PNM 파일로 변환. +> 더 많은 정보: . + +- SGI 이미지를 PNM 파일로 변환: + +`sgitopnm {{경로/대상/입력.sgi}} > {{경로/대상/출력.pnm}}` + +- SGI 파일에 대한 정보 표시: + +`sgitopnm -verbose {{경로/대상/입력.sgi}} > {{경로/대상/출력.pnm}}` + +- SGI 파일의 n 채널 추출: + +`sgitopnm -channel {{n}} {{경로/대상/입력.sgi}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/sgpt.md b/pages.ko/common/sgpt.md new file mode 100644 index 00000000000000..110b132d59c4ee --- /dev/null +++ b/pages.ko/common/sgpt.md @@ -0,0 +1,28 @@ +# sgpt + +> OpenAI의 GPT 모델로 구동되는 명령줄 생산성 도구. +> 더 많은 정보: . + +- 검색 엔진으로 사용하여 태양의 질량을 묻기: + +`sgpt "{{태양의 질량}}"` + +- 쉘 명령 실행, 현재 디렉토리의 모든 파일에 `chmod 444` 적용: + +`sgpt --shell "{{현재 디렉토리의 모든 파일을 읽기 전용으로 설정}}"` + +- 코드 생성, 클래식한 fizz buzz 문제 해결: + +`sgpt --code "{{Python을 사용하여 fizz buzz 문제 해결}}"` + +- 고유한 세션 이름으로 채팅 세션 시작: + +`sgpt --chat {{세션_이름}} "{{내가 좋아하는 숫자를 기억해 주세요: 4}}"` + +- `REPL` (Read-eval-print loop) 세션 시작: + +`sgpt --repl {{명령}}` + +- 도움말 표시: + +`sgpt --help` diff --git a/pages.ko/common/sh.md b/pages.ko/common/sh.md new file mode 100644 index 00000000000000..429199a1563489 --- /dev/null +++ b/pages.ko/common/sh.md @@ -0,0 +1,21 @@ +# sh + +> Bourne 셸, 표준 명령어 언어 해석기. +> 히스토리 확장을 위해 `histexpand`도 참조하세요. +> 더 많은 정보: . + +- 대화형 셸 세션 시작: + +`sh` + +- 명령을 실행하고 종료: + +`sh -c "{{명령어}}"` + +- 스크립트 실행: + +`sh {{경로/대상/스크립트.sh}}` + +- `stdin`에서 명령을 읽고 실행: + +`sh -s` diff --git a/pages.ko/common/sha1sum.md b/pages.ko/common/sha1sum.md new file mode 100644 index 00000000000000..4b4afab9ab7eeb --- /dev/null +++ b/pages.ko/common/sha1sum.md @@ -0,0 +1,28 @@ +# sha1sum + +> SHA1 암호화 체크섬 계산. +> 더 많은 정보: . + +- 하나 이상의 파일에 대한 SHA1 체크섬 계산: + +`sha1sum {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- SHA1 체크섬 목록을 파일에 계산 및 저장: + +`sha1sum {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.sha1}}` + +- `stdin`에서 SHA1 체크섬 계산: + +`{{명령어}} | sha1sum` + +- SHA1 체크섬과 파일 이름 목록이 포함된 파일을 읽어 모든 파일이 일치하는지 검증: + +`sha1sum --check {{경로/대상/파일.sha1}}` + +- 누락된 파일 또는 검증 실패 시에만 메시지 표시: + +`sha1sum --check --quiet {{경로/대상/파일.sha1}}` + +- 누락된 파일은 무시하고 검증 실패 시에만 메시지 표시: + +`sha1sum --ignore-missing --check --quiet {{경로/대상/파일.sha1}}` diff --git a/pages.ko/common/sha224sum.md b/pages.ko/common/sha224sum.md new file mode 100644 index 00000000000000..de2bd8c30ff6fa --- /dev/null +++ b/pages.ko/common/sha224sum.md @@ -0,0 +1,28 @@ +# sha224sum + +> SHA224 암호화 체크섬 계산. +> 더 많은 정보: . + +- 하나 이상의 파일에 대한 SHA224 체크섬 계산: + +`sha224sum {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- SHA224 체크섬 목록을 파일에 계산 및 저장: + +`sha224sum {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.sha224}}` + +- `stdin`에서 SHA224 체크섬 계산: + +`{{명령어}} | sha224sum` + +- SHA224 체크섬과 파일 이름 목록이 포함된 파일을 읽어 모든 파일이 일치하는지 검증: + +`sha224sum --check {{경로/대상/파일.sha224}}` + +- 누락된 파일 또는 검증 실패 시에만 메시지 표시: + +`sha224sum --check --quiet {{경로/대상/파일.sha224}}` + +- 누락된 파일은 무시하고 검증 실패 시에만 메시지 표시: + +`sha224sum --ignore-missing --check --quiet {{경로/대상/파일.sha224}}` diff --git a/pages.ko/common/sha256sum.md b/pages.ko/common/sha256sum.md new file mode 100644 index 00000000000000..94e61576003db8 --- /dev/null +++ b/pages.ko/common/sha256sum.md @@ -0,0 +1,28 @@ +# sha256sum + +> SHA256 암호화 체크섬 계산. +> 더 많은 정보: . + +- 하나 이상의 파일에 대한 SHA256 체크섬 계산: + +`sha256sum {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- SHA256 체크섬 목록을 파일에 계산 및 저장: + +`sha256sum {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.sha256}}` + +- `stdin`에서 SHA256 체크섬 계산: + +`{{명령어}} | sha256sum` + +- SHA256 체크섬과 파일 이름 목록이 포함된 파일을 읽어 모든 파일이 일치하는지 검증: + +`sha256sum --check {{경로/대상/파일.sha256}}` + +- 누락된 파일 또는 검증 실패 시에만 메시지 표시: + +`sha256sum --check --quiet {{경로/대상/파일.sha256}}` + +- 누락된 파일은 무시하고 검증 실패 시에만 메시지 표시: + +`sha256sum --ignore-missing --check --quiet {{경로/대상/파일.sha256}}` diff --git a/pages.ko/common/sha384sum.md b/pages.ko/common/sha384sum.md new file mode 100644 index 00000000000000..d5f5f4963b9fa7 --- /dev/null +++ b/pages.ko/common/sha384sum.md @@ -0,0 +1,28 @@ +# sha384sum + +> SHA384 암호화 체크섬 계산. +> 더 많은 정보: . + +- 하나 이상의 파일에 대한 SHA384 체크섬 계산: + +`sha384sum {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- SHA384 체크섬 목록을 파일에 계산 및 저장: + +`sha384sum {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.sha384}}` + +- `stdin`에서 SHA384 체크섬 계산: + +`{{명령어}} | sha384sum` + +- SHA384 체크섬과 파일 이름 목록이 포함된 파일을 읽어 모든 파일이 일치하는지 검증: + +`sha384sum --check {{경로/대상/파일.sha384}}` + +- 누락된 파일 또는 검증 실패 시에만 메시지 표시: + +`sha384sum --check --quiet {{경로/대상/파일.sha384}}` + +- 누락된 파일은 무시하고 검증 실패 시에만 메시지 표시: + +`sha384sum --ignore-missing --check --quiet {{경로/대상/파일.sha384}}` diff --git a/pages.ko/common/sha512sum.md b/pages.ko/common/sha512sum.md new file mode 100644 index 00000000000000..c39d6c35d1a952 --- /dev/null +++ b/pages.ko/common/sha512sum.md @@ -0,0 +1,28 @@ +# sha512sum + +> SHA512 암호화 체크섬 계산. +> 더 많은 정보: . + +- 하나 이상의 파일에 대해 SHA512 체크섬 계산: + +`sha512sum {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- SHA512 체크섬 목록을 파일에 계산하고 저장: + +`sha512sum {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.sha512}}` + +- `stdin`에서 SHA512 체크섬 계산: + +`{{명령어}} | sha512sum` + +- SHA512 체크섬과 파일 이름 목록이 포함된 파일을 읽어 모든 파일이 일치하는지 검증: + +`sha512sum --check {{경로/대상/파일.sha512}}` + +- 누락된 파일 또는 검증 실패 시에만 메시지 표시: + +`sha512sum --check --quiet {{경로/대상/파일.sha512}}` + +- 누락된 파일은 무시하고 검증 실패 시에만 메시지 표시: + +`sha512sum --ignore-missing --check --quiet {{경로/대상/파일.sha512}}` diff --git a/pages.ko/common/shar.md b/pages.ko/common/shar.md new file mode 100644 index 00000000000000..c21b5a06281423 --- /dev/null +++ b/pages.ko/common/shar.md @@ -0,0 +1,8 @@ +# shar + +> 셸 아카이브 생성. +> 더 많은 정보: . + +- 주어진 파일들을 포함하여 실행 시 파일을 추출하는 셸 스크립트 생성: + +`shar {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/아카이브.sh}}` diff --git a/pages.ko/common/shards.md b/pages.ko/common/shards.md new file mode 100644 index 00000000000000..54ca7b413f5456 --- /dev/null +++ b/pages.ko/common/shards.md @@ -0,0 +1,24 @@ +# shards + +> Crystal 언어를 위한 의존성 관리 도구. +> 더 많은 정보: . + +- `shard.yml` 파일의 기본 골격 생성: + +`shards init` + +- `shard.yml` 파일에서 의존성 설치: + +`shards install` + +- 모든 의존성 업데이트: + +`shards update` + +- 설치된 모든 의존성 나열: + +`shards list` + +- 의존성의 버전 표시: + +`shards version {{경로/대상/의존성_폴더}}` diff --git a/pages.ko/common/shasum.md b/pages.ko/common/shasum.md new file mode 100644 index 00000000000000..9090c68a2b1efb --- /dev/null +++ b/pages.ko/common/shasum.md @@ -0,0 +1,36 @@ +# shasum + +> SHA 암호화 체크섬 계산. +> 더 많은 정보: . + +- 하나 이상의 파일에 대해 SHA1 체크섬 계산: + +`shasum {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 하나 이상의 파일에 대해 SHA256 체크섬 계산: + +`shasum --algorithm 256 {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 하나 이상의 파일에 대해 SHA512 체크섬 계산: + +`shasum --algorithm 512 {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- `stdin`에서 SHA1 체크섬 계산: + +`{{명령어}} | shasum` + +- SHA256 체크섬 목록을 파일에 계산 및 저장: + +`shasum --algorithm 256 {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/파일.sha256}}` + +- SHA1 체크섬 및 파일 이름 목록이 포함된 파일을 읽어 모든 파일이 일치하는지 검증: + +`shasum --check {{경로/대상/파일}}` + +- 누락된 파일 또는 검증 실패 시에만 메시지 표시: + +`shasum --check --quiet {{경로/대상/파일}}` + +- 누락된 파일은 무시하고 검증 실패 시에만 메시지 표시: + +`shasum --ignore-missing --check --quiet {{경로/대상/파일}}` diff --git a/pages.ko/common/shc.md b/pages.ko/common/shc.md new file mode 100644 index 00000000000000..851eb2440224dd --- /dev/null +++ b/pages.ko/common/shc.md @@ -0,0 +1,20 @@ +# shc + +> 범용 쉘 스크립트 컴파일러. +> 더 많은 정보: . + +- 쉘 스크립트 컴파일: + +`shc -f {{스크립트}}` + +- 쉘 스크립트를 컴파일하고 출력 바이너리 파일 지정: + +`shc -f {{스크립트}} -o {{바이너리}}` + +- 쉘 스크립트를 컴파일하고 실행 파일의 만료 날짜 설정: + +`shc -f {{스크립트}} -e {{일/월/연도}}` + +- 쉘 스크립트를 컴파일하고 만료 시 표시할 메시지 설정: + +`shc -f {{스크립트}} -e {{일/월/연도}} -m "{{제공자에게 문의하세요}}"` diff --git a/pages.ko/common/shellcheck.md b/pages.ko/common/shellcheck.md new file mode 100644 index 00000000000000..1c4190bdcc5a58 --- /dev/null +++ b/pages.ko/common/shellcheck.md @@ -0,0 +1,36 @@ +# shellcheck + +> 쉘 스크립트를 정적으로 검사하여 오류, 사용 중단된/안전하지 않은 기능 및 잘못된 관행을 확인합니다. +> 더 많은 정보: . + +- 쉘 스크립트 검사: + +`shellcheck {{경로/대상/스크립트.sh}}` + +- 스크립트 상단의 셰뱅을 무시하고 지정된 [s]쉘 방언으로 쉘 스크립트를 검사: + +`shellcheck --shell {{sh|bash|dash|ksh}} {{경로/대상/스크립트.sh}}` + +- 하나 이상의 오류 유형을 무시: + +`shellcheck --exclude {{SC1009,SC1073,...}} {{경로/대상/스크립트.sh}}` + +- 소스된 쉘 스크립트도 검사: + +`shellcheck --check-sourced {{경로/대상/스크립트.sh}}` + +- 지정된 [f]포맷으로 출력 표시 (기본값은 `tty`): + +`shellcheck --format {{tty|checkstyle|diff|gcc|json|json1|quiet}} {{경로/대상/스크립트.sh}}` + +- 하나 이상의 [o]선택적 검사 활성화: + +`shellcheck --enable {{add-default-case,avoid-nullary-conditions,...}} {{경로/대상/스크립트.sh}}` + +- 기본적으로 비활성화된 모든 사용 가능한 선택적 검사 목록 나열: + +`shellcheck --list-optional` + +- 고려할 [S]심각도 수준 조정 (기본값은 `style`): + +`shellcheck --severity {{error|warning|info|style}} {{경로/대상/스크립트.sh}}` diff --git a/pages.ko/common/shfmt.md b/pages.ko/common/shfmt.md new file mode 100644 index 00000000000000..363772947cfcfa --- /dev/null +++ b/pages.ko/common/shfmt.md @@ -0,0 +1,20 @@ +# shfmt + +> 셸 파서, 포매터 및 인터프리터. +> 더 많은 정보: . + +- 셸 스크립트를 포맷된 버전으로 출력: + +`shfmt {{경로/대상/파일}}` + +- 포맷되지 않은 파일 목록: + +`shfmt --list {{경로/대상/폴더}}` + +- 결과를 터미널에 출력하지 않고 파일에 작성: + +`shfmt --write {{경로/대상/파일}}` + +- 코드 단순화, 불필요한 구문 제거 (예: 표현식에서 변수의 "$" 제거): + +`shfmt --simplify {{경로/대상/파일}}` diff --git a/pages.ko/common/shift.md b/pages.ko/common/shift.md new file mode 100644 index 00000000000000..3721194f04a11e --- /dev/null +++ b/pages.ko/common/shift.md @@ -0,0 +1,12 @@ +# shift + +> 위치 매개변수를 이동. +> 더 많은 정보: . + +- 첫 번째 위치 매개변수 제거: + +`shift` + +- 첫 번째 `N`개의 위치 매개변수 제거: + +`shift {{N}}` diff --git a/pages.ko/common/shiori.md b/pages.ko/common/shiori.md new file mode 100644 index 00000000000000..f30b789456545d --- /dev/null +++ b/pages.ko/common/shiori.md @@ -0,0 +1,24 @@ +# shiori + +> Go로 제작된 간단한 북마크 관리자. +> 더 많은 정보: . + +- HTML 넷스케이프 북마크 형식 파일에서 북마크 가져오기: + +`shiori import {{경로/대상/북마크들.html}}` + +- 지정된 URL을 북마크로 저장: + +`shiori add {{url}}` + +- 저장된 북마크 나열: + +`shiori print` + +- 저장된 북마크를 브라우저에서 열기: + +`shiori open {{북마크_id}}` + +- 포트 8181에서 북마크 관리를 위한 웹 인터페이스 시작: + +`shiori serve --port {{8181}}` diff --git a/pages.ko/common/shopt.md b/pages.ko/common/shopt.md new file mode 100644 index 00000000000000..47e41ade84eb5f --- /dev/null +++ b/pages.ko/common/shopt.md @@ -0,0 +1,25 @@ +# shopt + +> Bash 셸 옵션 관리: Bash 셸에 특화된 동작을 제어하는 변수(`$BASHOPTS`에 저장). +> 일반적인 POSIX 셸 변수는 `set` 명령으로 대신 관리 (`$SHELLOPTS`에 저장). +> 더 많은 정보: . + +- 설정 가능한 모든 옵션과 설정 여부 나열: + +`shopt` + +- 옵션 설정: + +`shopt -s {{옵션_이름}}` + +- 옵션 해제: + +`shopt -u {{옵션_이름}}` + +- 실행 가능한 `shopt` 명령으로 형식화된 모든 옵션과 상태 목록 출력: + +`shopt -p` + +- 도움말 표시: + +`help shopt` diff --git a/pages.ko/common/shotcut.md b/pages.ko/common/shotcut.md new file mode 100644 index 00000000000000..292a3533d0e835 --- /dev/null +++ b/pages.ko/common/shotcut.md @@ -0,0 +1,24 @@ +# shotcut + +> 비디오 편집 프로그램. +> 더 많은 정보: . + +- Shotcut 시작: + +`shotcut` + +- 오디오/비디오 파일 열기: + +`shotcut {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 오디오 드라이버로 시작: + +`shotcut --SDL_AUDIODRIVER "{{pulseaudio}}"` + +- 전체 화면으로 시작: + +`shotcut --fullscreen` + +- GPU 처리로 시작: + +`shotcut --gpu` diff --git a/pages.ko/common/showfigfonts.md b/pages.ko/common/showfigfonts.md new file mode 100644 index 00000000000000..38647a37a90aae --- /dev/null +++ b/pages.ko/common/showfigfonts.md @@ -0,0 +1,13 @@ +# showfigfonts + +> 사용 가능한 figlet 폰트 표시. +> 같이 보기: `figlet`. +> 더 많은 정보: . + +- 사용 가능한 폰트 표시: + +`showfigfonts` + +- 특정 텍스트를 사용하여 사용 가능한 폰트 표시: + +`showfigfonts {{입력_텍스트}}` diff --git a/pages.ko/common/shred.md b/pages.ko/common/shred.md new file mode 100644 index 00000000000000..571bed2c968e15 --- /dev/null +++ b/pages.ko/common/shred.md @@ -0,0 +1,28 @@ +# shred + +> 파일을 덮어써서 데이터를 안전하게 삭제. +> 더 많은 정보: . + +- 파일 덮어쓰기: + +`shred {{경로/대상/파일}}` + +- 파일을 덮어쓰고 진행 상황 표시: + +`shred --verbose {{경로/대상/파일}}` + +- 파일을 덮어쓰고 무작위 데이터 대신 [z]ero(0)로 남기기: + +`shred --zero {{경로/대상/파일}}` + +- 파일을 특정 횟수[n]만큼 덮어쓰기: + +`shred --iterations {{25}} {{경로/대상/파일}}` + +- 파일을 덮어쓰고 삭제: + +`shred --remove {{경로/대상/파일}}` + +- 파일을 100번 덮어쓰고 마지막에 [z]ero(0)로 덮어쓰기 추가, 덮어쓰기 후 파일 삭제 및 진행 상황을 화면에 [v]자세히 표시: + +`shred -vzun 100 {{경로/대상/파일}}` diff --git a/pages.ko/common/shuf.md b/pages.ko/common/shuf.md new file mode 100644 index 00000000000000..7f88b285e74c51 --- /dev/null +++ b/pages.ko/common/shuf.md @@ -0,0 +1,20 @@ +# shuf + +> 무작위 순열 생성. +> 더 많은 정보: . + +- 파일의 줄 순서를 무작위로 섞고 결과 출력: + +`shuf {{경로/대상/파일}}` + +- 결과의 처음 5개 항목만 출력: + +`shuf --head-count=5 {{경로/대상/파일}}` + +- 출력을 다른 파일에 쓰기: + +`shuf {{경로/대상/입력_파일}} --output={{경로/대상/출력_파일}}` + +- 1-10 범위(포함)에서 임의의 숫자 3개 생성: + +`shuf --head-count=3 --input-range=1-10 --repeat` diff --git a/pages.ko/common/siege.md b/pages.ko/common/siege.md new file mode 100644 index 00000000000000..79cb5700574d39 --- /dev/null +++ b/pages.ko/common/siege.md @@ -0,0 +1,28 @@ +# siege + +> HTTP 부하 테스트 및 벤치마킹 도구. +> 더 많은 정보: . + +- 기본 설정으로 URL 테스트: + +`siege {{https://example.com}}` + +- URL 목록 테스트: + +`siege --file {{경로/대상/url_목록.txt}}` + +- URL 목록을 무작위 순서로 테스트 (인터넷 트래픽 시뮬레이션): + +`siege --internet --file {{경로/대상/url_목록.txt}}` + +- URL 목록 벤치마킹 (요청 사이에 대기하지 않음): + +`siege --benchmark --file {{경로/대상/url_목록.txt}}` + +- 동시 연결 수 설정: + +`siege --concurrent={{50}} --file {{경로/대상/url_목록.txt}}` + +- 실행 시간 설정: + +`siege --time={{30s}} --file {{경로/대상/url_목록.txt}}` diff --git a/pages.ko/common/silicon.md b/pages.ko/common/silicon.md new file mode 100644 index 00000000000000..4da17137ee7a10 --- /dev/null +++ b/pages.ko/common/silicon.md @@ -0,0 +1,16 @@ +# silicon + +> 소스 코드의 이미지를 생성. +> 더 많은 정보: . + +- 특정 소스 파일에서 이미지 생성: + +`silicon {{경로/대상/소스_파일}} --output {{경로/대상/출력_이미지}}` + +- 특정 프로그래밍 언어 구문 강조를 사용하여 소스 파일에서 이미지 생성 (예: `rust`, `py`, `js` 등): + +`silicon {{경로/대상/소스_파일}} --output {{경로/대상/출력_이미지}} --language {{언어|확장자}}` + +- `stdin`에서 이미지 생성: + +`{{명령어}} | silicon --output {{경로/대상/출력_이미지}}` diff --git a/pages.ko/common/simplehttpserver.md b/pages.ko/common/simplehttpserver.md new file mode 100644 index 00000000000000..2898bef61975cc --- /dev/null +++ b/pages.ko/common/simplehttpserver.md @@ -0,0 +1,25 @@ +# simplehttpserver + +> 파일 업로드, 기본 인증, 사용자 정의 응답을 위한 YAML 규칙을 지원하는 간단한 HTTP/S 서버. +> Python의 `http.server`에 대한 Go 대안. +> 더 많은 정보: . + +- 현재 디렉토리를 제공하며 모든 인터페이스와 포트 8000에서 기본적으로 수신 대기하는 HTTP 서버 시작 (자세한 출력 포함): + +`simplehttpserver -verbose` + +- 모든 인터페이스에서 포트 80을 통해 특정 경로를 제공하며 기본 인증을 사용하는 HTTP 서버 시작: + +`sudo simplehttpserver -basic-auth {{사용자명}}:{{비밀번호}} -path {{/var/www/html}} -listen 0.0.0.0:80` + +- 자체 서명된 인증서와 사용자 정의 SAN을 사용하여 HTTPS를 활성화하며 모든 인터페이스에서 HTTP 서버 시작: + +`sudo simplehttpserver -https -domain {{*.selfsigned.com}} -listen 0.0.0.0:443` + +- 사용자 정의 응답 헤더와 업로드 기능을 사용하여 HTTP 서버 시작: + +`simplehttpserver -upload -header '{{X-Powered-By: Go}}' -header '{{Server: SimpleHTTPServer}}'` + +- YAML에서 사용자 정의 가능한 규칙을 사용하여 HTTP 서버 시작 (DSL에 대한 문서 참조): + +`simplehttpserver -rules {{규칙.yaml}}` diff --git a/pages.ko/common/sindresorhus.md b/pages.ko/common/sindresorhus.md new file mode 100644 index 00000000000000..3c0a593914fdb8 --- /dev/null +++ b/pages.ko/common/sindresorhus.md @@ -0,0 +1,8 @@ +# sindresorhus + +> Sindre Sorhus의 개인 CLI. +> 더 많은 정보: . + +- Sindre의 대화형 CLI 시작: + +`sindresorhus` diff --git a/pages.ko/common/singularity.md b/pages.ko/common/singularity.md new file mode 100644 index 00000000000000..c23c2fc0930c2f --- /dev/null +++ b/pages.ko/common/singularity.md @@ -0,0 +1,28 @@ +# singularity + +> Singularity 컨테이너 및 이미지 관리. +> 더 많은 정보: . + +- Sylabs Cloud에서 원격 이미지 다운로드: + +`singularity pull --name {{이미지.sif}} {{library://godlovedc/funny/lolcow:latest}}` + +- 최신 Singularity 이미지 형식으로 원격 이미지 재구축: + +`singularity build {{이미지.sif}} {{docker://godlovedc/lolcow}}` + +- 이미지에서 컨테이너를 시작하고 내부에서 셸 실행: + +`singularity shell {{이미지.sif}}` + +- 이미지에서 컨테이너를 시작하고 명령 실행: + +`singularity exec {{이미지.sif}} {{명령}}` + +- 이미지에서 컨테이너를 시작하고 내부 runscript 실행: + +`singularity run {{이미지.sif}}` + +- 레시피 파일에서 Singularity 이미지 생성: + +`sudo singularity build {{이미지.sif}} {{레시피}}` diff --git a/pages.ko/common/sirtopnm.md b/pages.ko/common/sirtopnm.md new file mode 100644 index 00000000000000..e66cc675206620 --- /dev/null +++ b/pages.ko/common/sirtopnm.md @@ -0,0 +1,8 @@ +# sirtopnm + +> 솔리테어 이미지 레코더 파일을 PNM 파일로 변환. +> 더 많은 정보: . + +- SIR 이미지를 PNM 파일로 변환: + +`sirtopnm {{경로/대상/입력.sir}} > {{경로/대상/출력.pnm}}` diff --git a/pages.ko/common/sk.md b/pages.ko/common/sk.md new file mode 100644 index 00000000000000..053b0c3abe7ad8 --- /dev/null +++ b/pages.ko/common/sk.md @@ -0,0 +1,21 @@ +# sk + +> Rust로 작성된 퍼지 파인더. +> `fzf`와 유사. +> 더 많은 정보: . + +- 지정된 디렉터리 내 모든 파일에서 `skim` 시작: + +`find {{경로/대상/폴더}} -type f | sk` + +- 실행 중인 프로세스에 대해 `skim` 시작: + +`ps aux | sk` + +- 지정된 쿼리로 `skim` 시작: + +`sk --query "{{쿼리}}"` + +- ``으로 여러 파일 선택 후 파일에 쓰기: + +`find {{경로/대상/폴더}} -type f | sk --multi > {{경로/대상/파일}}` diff --git a/pages.ko/common/skaffold.md b/pages.ko/common/skaffold.md new file mode 100644 index 00000000000000..b66e40f90714f7 --- /dev/null +++ b/pages.ko/common/skaffold.md @@ -0,0 +1,24 @@ +# skaffold + +> Kubernetes 애플리케이션의 지속적인 개발을 지원. +> 더 많은 정보: . + +- 아티팩트 빌드: + +`skaffold build -f {{skaffold.yaml}}` + +- 코드가 변경될 때마다 앱 빌드 및 배포: + +`skaffold dev -f {{skaffold.yaml}}` + +- 파이프라인 파일 실행: + +`skaffold run -f {{skaffold.yaml}}` + +- Skaffold 진단 실행: + +`skaffold diagnose -f {{skaffold.yaml}}` + +- 아티팩트 배포: + +`skaffold deploy -f {{skaffold.yaml}}` diff --git a/pages.ko/common/skate.md b/pages.ko/common/skate.md new file mode 100644 index 00000000000000..dcd4406e4f31e3 --- /dev/null +++ b/pages.ko/common/skate.md @@ -0,0 +1,36 @@ +# skate + +> 간단하고 강력한 키-값 저장소. +> 더 많은 정보: . + +- 기본 데이터베이스에 키와 값을 저장: + +`skate set "{{키}}" "{{값}}"` + +- 기본 데이터베이스에 저장된 키 표시: + +`skate list` + +- 기본 데이터베이스에서 키와 값 삭제: + +`skate delete "{{키}}"` + +- 새로운 데이터베이스에 키와 값을 생성: + +`skate set "{{키}}"@"{{데이터베이스_이름}}" "{{값}}"` + +- 기본이 아닌 데이터베이스에 저장된 키 표시: + +`skate list @"{{데이터베이스_이름}}"` + +- 특정 데이터베이스에서 키와 값 삭제: + +`skate delete "{{키}}"@"{{데이터베이스_이름}}"` + +- 사용 가능한 데이터베이스 표시: + +`skate list-dbs` + +- 로컬 데이터베이스 삭제 및 Charm Cloud에서 새 복사본 가져오기: + +`skate reset @"{{데이터베이스_이름}}"` diff --git a/pages.ko/common/skicka.md b/pages.ko/common/skicka.md new file mode 100644 index 00000000000000..271f98459d4d3f --- /dev/null +++ b/pages.ko/common/skicka.md @@ -0,0 +1,28 @@ +# skicka + +> Google Drive를 관리. +> 더 많은 정보: . + +- 파일/폴더를 Google Drive에 업로드: + +`skicka upload {{경로/대상/로컬}} {{경로/대상/원격}}` + +- 파일/폴더를 Google Drive에서 다운로드: + +`skicka download {{경로/대상/원격}} {{경로/대상/로컬}}` + +- 파일 목록 나열: + +`skicka ls {{경로/대상/폴더}}` + +- 자식 폴더들이 사용 중인 공간의 양 표시: + +`skicka du {{경로/대상/부모/폴더}}` + +- 폴더 생성: + +`skicka mkdir {{경로/대상/폴더}}` + +- 파일 삭제: + +`skicka rm {{경로/대상/파일}}` diff --git a/pages.ko/common/skopeo.md b/pages.ko/common/skopeo.md new file mode 100644 index 00000000000000..0b79656b08fad9 --- /dev/null +++ b/pages.ko/common/skopeo.md @@ -0,0 +1,29 @@ +# skopeo + +> 컨테이너 이미지 관리 도구 모음. +> 원격 컨테이너 이미지를 관리하기 위한 다양한 유틸리티 명령을 제공합니다. +> 더 많은 정보: . + +- 레지스트리에서 원격 이미지 검사: + +`skopeo inspect docker://{{레지스트리_호스트명}}/{{이미지:태그}}` + +- 원격 이미지의 사용 가능한 태그 목록: + +`skopeo list-tags docker://{{레지스트리_호스트명}}/{{이미지}}` + +- 레지스트리에서 이미지 다운로드: + +`skopeo copy docker://{{레지스트리_호스트명}}/{{이미지:태그}} dir:{{경로/대상/폴더}}` + +- 한 레지스트리에서 다른 레지스트리로 이미지 복사: + +`skopeo copy docker://{{소스_레지스트리}}/{{이미지:태그}} docker://{{대상_레지스트리}}/{{이미지:태그}}` + +- 레지스트리에서 이미지 삭제: + +`skopeo delete docker://{{레지스트리_호스트명}}/{{이미지:태그}}` + +- 레지스트리에 로그인: + +`skopeo login --username {{사용자명}} {{레지스트리_호스트명}}` diff --git a/pages.ko/common/sl.md b/pages.ko/common/sl.md new file mode 100644 index 00000000000000..09b43cf682fe1c --- /dev/null +++ b/pages.ko/common/sl.md @@ -0,0 +1,24 @@ +# sl + +> 터미널을 통해 증기 기관차를 실행합니다. +> 더 많은 정보: . + +- 증기 기관차가 터미널을 가로지르도록 하기: + +`sl` + +- 기차가 불타고 사람들이 비명을 지르게 하기: + +`sl -a` + +- 기차를 날게 하기: + +`sl -F` + +- 기차를 작게 만들기: + +`sl -l` + +- 사용자가 나갈 수 있게 하기 (``): + +`sl -e` diff --git a/pages.ko/common/slackcat.md b/pages.ko/common/slackcat.md new file mode 100644 index 00000000000000..7cab04db973a6e --- /dev/null +++ b/pages.ko/common/slackcat.md @@ -0,0 +1,20 @@ +# slackcat + +> 파일 및 명령 출력을 Slack에 전달하는 도구. +> 더 많은 정보: . + +- 파일을 Slack에 게시: + +`slackcat --channel {{채널_이름}} {{경로/대상/파일}}` + +- 사용자 지정 파일 이름으로 파일을 Slack에 게시: + +`slackcat --channel {{채널_이름}} --filename={{파일_이름}} {{경로/대상/파일}}` + +- 명령 출력을 텍스트 스니펫으로 Slack에 파이프: + +`{{명령어}} | slackcat --channel {{채널_이름}} --filename={{스니펫_이름}}` + +- 명령 출력을 Slack에 지속적으로 스트리밍: + +`{{명령어}} | slackcat --channel {{채널_이름}} --stream` diff --git a/pages.ko/common/sldtoppm.md b/pages.ko/common/sldtoppm.md new file mode 100644 index 00000000000000..b74b88b2cb9917 --- /dev/null +++ b/pages.ko/common/sldtoppm.md @@ -0,0 +1,12 @@ +# sldtoppm + +> AutoCAD 슬라이드 파일을 PPM 이미지로 변환. +> 더 많은 정보: . + +- SLD 파일을 PPM 이미지로 변환: + +`sldtoppm {{경로/대상/입력.sld}} > {{경로/대상/출력.ppm}}` + +- 비정사각 픽셀을 보정하여 이미지의 너비를 조정: + +`sldtoppm -adjust {{경로/대상/입력.sld}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/sleep.md b/pages.ko/common/sleep.md new file mode 100644 index 00000000000000..1068e09d5e5cb8 --- /dev/null +++ b/pages.ko/common/sleep.md @@ -0,0 +1,12 @@ +# sleep + +> 지정된 시간만큼 지연. +> 더 많은 정보: . + +- 초 단위 지연: + +`sleep {{초}}` + +- 20초 지연 후 특정 명령 실행: + +`sleep 20 && {{명령}}` diff --git a/pages.ko/common/slimrb.md b/pages.ko/common/slimrb.md new file mode 100644 index 00000000000000..bf1760fca51e87 --- /dev/null +++ b/pages.ko/common/slimrb.md @@ -0,0 +1,16 @@ +# slimrb + +> Slim 파일을 HTML로 변환. +> 더 많은 정보: . + +- Slim 파일을 HTML로 변환: + +`slimrb {{입력.slim}} {{출력.html}}` + +- Slim 파일을 변환하여 보기 좋은 형태의 HTML로 출력: + +`slimrb --pretty {{입력.slim}} {{출력.html}}` + +- Slim 파일을 ERB로 변환: + +`slimrb --erb {{입력.slim}} {{출력.erb}}` diff --git a/pages.ko/common/smalltalkci.md b/pages.ko/common/smalltalkci.md new file mode 100644 index 00000000000000..d2f167249413bd --- /dev/null +++ b/pages.ko/common/smalltalkci.md @@ -0,0 +1,28 @@ +# smalltalkci + +> GitHub Actions, Travis CI, AppVeyor, GitLab CI 등과 함께 Smalltalk 프로젝트를 테스트하기 위한 프레임워크. +> 더 많은 정보: . + +- 구성 파일에 대한 테스트 실행: + +`smalltalkci {{경로/대상/.smalltalk.ston}}` + +- 현재 디렉토리의 `.smalltalk.ston` 구성에 대한 테스트 실행: + +`smalltalkci` + +- GUI 모드에서 테스트 디버그 (VM 창 표시): + +`smalltalkci --headful` + +- 테스트를 위한 잘 알려진 Smalltalk 이미지 다운로드 및 준비: + +`smalltalkci --smalltalk {{Squeak64-Trunk}}` + +- 사용자 지정 Smalltalk 이미지 및 VM 지정: + +`smalltalkci --image {{경로/대상/Smalltalk.image}} --vm {{경로/대상/vm}}` + +- 캐시 정리 및 빌드 삭제: + +`smalltalkci --clean` diff --git a/pages.ko/common/smartctl.md b/pages.ko/common/smartctl.md new file mode 100644 index 00000000000000..2d811ab0df965d --- /dev/null +++ b/pages.ko/common/smartctl.md @@ -0,0 +1,24 @@ +# smartctl + +> 디스크 상태를 SMART 데이터를 통해 모니터링. +> 더 많은 정보: . + +- SMART 건강 요약 표시: + +`sudo smartctl {{[-H|--health]}} {{/dev/sdX}}` + +- 장치 정보 표시: + +`sudo smartctl {{[-i|--info]}} {{/dev/sdX}}` + +- 백그라운드에서 짧은 자체 테스트 시작: + +`sudo smartctl {{[-t|--test]}} short {{/dev/sdX}}` + +- 현재/마지막 자체 테스트 상태 및 기타 SMART 기능 표시: + +`sudo smartctl {{[-c|--capabilities]}} {{/dev/sdX}}` + +- 포괄적인 SMART 데이터 표시: + +`sudo smartctl {{[-a|--all]}} {{/dev/sdX}}` diff --git a/pages.ko/common/smbmap.md b/pages.ko/common/smbmap.md new file mode 100644 index 00000000000000..fbce8c82ecaf41 --- /dev/null +++ b/pages.ko/common/smbmap.md @@ -0,0 +1,36 @@ +# smbmap + +> SMB 열거 도구. +> 더 많은 정보: . + +- NULL 세션이 활성화되고 공유가 열린 호스트 열거: + +`smbmap --host-file {{경로/대상/파일}}` + +- 사용자의 비밀번호 또는 NTLM 해시를 입력하여 호스트의 SMB 공유 및 권한 표시: + +`smbmap {{[-u|--username]}} {{사용자명}} --prompt -H {{IP}}` + +- 원격 시스템에서 셸 명령 실행: + +`smbmap {{[-u|--username]}} {{사용자명}} --prompt -H {{IP}} -x {{명령}}` + +- 호스트를 열거하고 SMB 파일 권한 확인: + +`smbmap --host-file {{경로/대상/파일}} {{[-u|--username]}} {{사용자_이름}} {{[-p|--password]}} {{비밀번호}} -q` + +- 사용자 이름과 비밀번호를 사용하여 IP 또는 호스트 이름에 SMB로 연결: + +`smbmap {{[-u|--username]}} {{사용자_이름}} {{[-p|--password]}} {{비밀번호}} -d {{도메인}} -H {{IP_또는_호스트_이름}}` + +- 파일 이름 패턴(정규 표현식)으로 검색하고 특정 공유를 제외하면서 N 단계 깊이까지 재귀적으로 파일을 찾아 다운로드: + +`smbmap --host-file {{경로/대상/파일}} {{[-u|--username]}} {{사용자_이름}} {{[-p|--password]}} {{비밀번호}} -q -R --depth {{숫자}} --exclude {{공유이름}} -A {{파일패턴}}` + +- 사용자 이름과 비밀번호를 사용하여 SMB를 통해 파일 업로드: + +`smbmap {{[-u|--username]}} {{사용자_이름}} {{[-p|--password]}} {{비밀번호}} -d {{도메인}} -H {{IP_또는_호스트_이름}} --upload {{경로/대상/파일}} '{{/공유_이름/원격_파일명}}'` + +- SMB 공유를 표시하고 디렉토리 및 파일을 재귀적으로 나열하며, 정규 표현식과 일치하는 파일 내용을 검색: + +`smbmap {{[-u|--username]}} {{사용자명}} --prompt -H {{IP}} -R -F {{패턴}}` diff --git a/pages.ko/common/sn.md b/pages.ko/common/sn.md new file mode 100644 index 00000000000000..b5b41db2e32362 --- /dev/null +++ b/pages.ko/common/sn.md @@ -0,0 +1,20 @@ +# sn + +> Mono StrongName 유틸리티로 IL 어셈블리에 서명하고 검증합니다. +> 더 많은 정보: . + +- 새로운 StrongNaming 키 생성: + +`sn -k {{경로/대상/키.snk}}` + +- 지정된 개인 키로 어셈블리에 다시 서명: + +`sn -R {{경로/대상/어셈블리.dll}} {{경로/대상/키_페어.snk}}` + +- 어셈블리에 서명하는 데 사용된 개인 키의 공개 키 표시: + +`sn -T {{경로/대상/어셈블리.exe}}` + +- 공개 키를 파일로 추출: + +`sn -e {{경로/대상/어셈블리.dll}} {{경로/대상/출력.pub}}` diff --git a/pages.ko/common/snakefmt.md b/pages.ko/common/snakefmt.md new file mode 100644 index 00000000000000..d2f74eb98a81b4 --- /dev/null +++ b/pages.ko/common/snakefmt.md @@ -0,0 +1,24 @@ +# snakefmt + +> Snakemake 파일을 포맷합니다. +> 더 많은 정보: . + +- 특정 Snakefile 포맷: + +`snakefmt {{경로/대상/snakefile}}` + +- 특정 디렉토리 내 모든 Snakefile을 재귀적으로 포맷: + +`snakefmt {{경로/대상/폴더}}` + +- 특정 구성 파일을 사용하여 파일 포맷: + +`snakefmt --config {{경로/대상/구성.toml}} {{경로/대상/snakefile}}` + +- 특정 최대 줄 길이를 사용하여 파일 포맷: + +`snakefmt --line-length {{100}} {{경로/대상/snakefile}}` + +- 변경 사항을 수행하지 않고 표시만 하기 (드라이런): + +`snakefmt --diff {{경로/대상/snakefile}}` diff --git a/pages.ko/common/sngrep.md b/pages.ko/common/sngrep.md new file mode 100644 index 00000000000000..4b4a38ec35b8e0 --- /dev/null +++ b/pages.ko/common/sngrep.md @@ -0,0 +1,20 @@ +# sngrep + +> 터미널에서 SIP 호출 메시지 흐름을 표시. +> 더 많은 정보: . + +- PCAP 파일에서 SIP 패킷 시각화: + +`sngrep -I {{경로/대상/파일.pcap}}` + +- PCAP 파일에서 RTP 패킷이 포함된 INVITE 패킷으로 시작하는 대화만 시각화: + +`sngrep -crI {{경로/대상/파일.pcap}}` + +- RTP 패킷이 포함된 INVITE 패킷으로 시작하는 대화만 실시간 인터페이스로 표시: + +`sngrep -cr` + +- 인터페이스 없이 패킷을 파일로만 캡처: + +`sngrep -NO {{경로/대상/파일.pcap}}` diff --git a/pages.ko/common/snmpwalk.md b/pages.ko/common/snmpwalk.md new file mode 100644 index 00000000000000..7e1c26bc7318d5 --- /dev/null +++ b/pages.ko/common/snmpwalk.md @@ -0,0 +1,24 @@ +# snmpwalk + +> SNMP 쿼리 도구. +> 더 많은 정보: . + +- SNMPv1과 커뮤니티 문자열을 사용하여 원격 호스트의 시스템 정보 쿼리: + +`snmpwalk -v1 -c {{커뮤니티}} {{ip}}` + +- SNMPv2를 사용하여 지정된 포트에서 OID로 원격 호스트의 시스템 정보 쿼리: + +`snmpwalk -v2c -c {{커뮤니티}} {{ip}}:{{포트}} {{oid}}` + +- SNMPv3과 인증(암호화 없이)을 사용하여 OID로 원격 호스트의 시스템 정보 쿼리: + +`snmpwalk -v3 -l {{authNoPriv}} -u {{사용자명}} -a {{MD5|SHA}} -A {{암호}} {{ip}} {{oid}}` + +- SNMPv3과 인증 및 암호화를 사용하여 OID로 원격 호스트의 시스템 정보 쿼리: + +`snmpwalk -v3 -l {{authPriv}} -u {{사용자명}} -a {{MD5|SHA}} -A {{인증_암호}} -x {{DES|AES}} -X {{암호화_암호}} {{ip}} {{oid}}` + +- SNMPv3을 사용하여 인증 또는 암호화 없이 OID로 원격 호스트의 시스템 정보 쿼리: + +`snmpwalk -v3 -l {{noAuthNoPriv}} -u {{사용자명}} {{ip}} {{oid}}` diff --git a/pages.ko/common/snort.md b/pages.ko/common/snort.md new file mode 100644 index 00000000000000..53ea1b07ce683b --- /dev/null +++ b/pages.ko/common/snort.md @@ -0,0 +1,24 @@ +# snort + +> 오픈 소스 네트워크 침입 탐지 시스템. +> 더 많은 정보: . + +- 자세한 출력으로 패킷 캡처: + +`sudo snort -v -i {{인터페이스}}` + +- 애플리케이션 계층 데이터를 덤프하여 자세한 출력으로 패킷 캡처: + +`sudo snort -vd -i {{인터페이스}}` + +- 링크 계층 패킷 헤더를 표시하며 자세한 출력으로 패킷 캡처: + +`sudo snort -ve -i {{인터페이스}}` + +- 지정한 디렉토리에 패킷 저장하며 캡처: + +`sudo snort -i {{인터페이스}} -l {{경로/대상/폴더}}` + +- 규칙에 따라 패킷 캡처하고 경고와 함께 문제 패킷 저장: + +`sudo snort -i {{인터페이스}} -c {{경로/대상/규칙.conf}} -l {{경로/대상/폴더}}` diff --git a/pages.ko/common/snowsql.md b/pages.ko/common/snowsql.md new file mode 100644 index 00000000000000..fe3804e7f4176e --- /dev/null +++ b/pages.ko/common/snowsql.md @@ -0,0 +1,24 @@ +# snowsql + +> Snowflake의 데이터 클라우드를 위한 SnowSQL 커맨드라인 클라이언트. +> 더 많은 정보: . + +- 의 특정 인스턴스에 연결 (비밀번호는 프롬프트 또는 설정 파일에서 제공 가능): + +`snowsql --accountname {{계정}} --username {{사용자명}} --dbname {{데이터베이스}} --schemaname {{스키마}}` + +- 특정 설정 파일에 지정된 인스턴스에 연결 (기본값은 `~/.snowsql/config`): + +`snowsql --config {{경로/대상/설정_파일}}` + +- 다단계 인증 토큰을 사용하여 기본 인스턴스에 연결: + +`snowsql --mfa-passcode {{토큰}}` + +- 기본 연결에서 단일 SQL 쿼리 또는 SnowSQL 명령 실행 (쉘 스크립트에서 유용): + +`snowsql --query '{{쿼리}}'` + +- 특정 파일에서 기본 연결로 명령 실행: + +`snowsql --filename {{경로/대상/파일.sql}}` diff --git a/pages.ko/common/snyk.md b/pages.ko/common/snyk.md new file mode 100644 index 00000000000000..9b264e6fdeed38 --- /dev/null +++ b/pages.ko/common/snyk.md @@ -0,0 +1,24 @@ +# snyk + +> 코드의 취약점을 찾아 위험을 해결합니다. +> 더 많은 정보: . + +- Snyk 계정에 로그인: + +`snyk auth` + +- 코드에서 알려진 취약점을 테스트: + +`snyk test` + +- 로컬 Docker 이미지에서 알려진 취약점을 테스트: + +`snyk test --docker {{docker_이미지}}` + +- 종속성과 취약점 상태를 snyk.io에 기록: + +`snyk monitor` + +- 취약점을 자동으로 패치하고 무시: + +`snyk wizard` diff --git a/pages.ko/common/socat.md b/pages.ko/common/socat.md new file mode 100644 index 00000000000000..07b5286aaeb8d7 --- /dev/null +++ b/pages.ko/common/socat.md @@ -0,0 +1,20 @@ +# socat + +> 다목적 릴레이(SOcket CAT). +> 더 많은 정보: . + +- 포트를 수신 대기하고 연결을 기다리며 데이터를 표준 입력/출력으로 전송: + +`sudo socat - TCP-LISTEN:8080,fork` + +- SSL을 사용하여 포트를 수신 대기하고 표준 출력으로 출력: + +`sudo socat OPENSSL-LISTEN:4433,reuseaddr,cert=./cert.pem,cafile=./ca.cert.pem,key=./key.pem,verify=0 STDOUT` + +- 호스트와 포트에 연결을 생성하고 표준 입력/출력의 데이터를 연결된 호스트로 전송: + +`sudo socat - TCP4:www.example.com:80` + +- 로컬 포트의 수신 데이터를 다른 호스트와 포트로 전달: + +`sudo socat TCP-LISTEN:80,fork TCP4:www.example.com:80` diff --git a/pages.ko/common/solcjs.md b/pages.ko/common/solcjs.md new file mode 100644 index 00000000000000..40100ed70eae1e --- /dev/null +++ b/pages.ko/common/solcjs.md @@ -0,0 +1,24 @@ +# solcjs + +> Solidity 컴파일러를 위한 JavaScript 바인딩 세트. +> 더 많은 정보: . + +- 특정 계약을 16진수로 컴파일: + +`solcjs --bin {{경로/대상/파일.sol}}` + +- 특정 계약의 ABI를 컴파일: + +`solcjs --abi {{경로/대상/파일.sol}}` + +- 가져오기를 해석할 기본 경로 지정: + +`solcjs --bin --base-path {{경로/대상/폴더}} {{경로/대상/파일.sol}}` + +- 외부 코드가 포함된 하나 이상의 경로 지정: + +`solcjs --bin --include-path {{경로/대상/폴더}} {{경로/대상/파일.sol}}` + +- 생성된 바이트코드 최적화: + +`solcjs --bin --optimize {{경로/대상/파일.sol}}` diff --git a/pages.ko/common/solo.md b/pages.ko/common/solo.md new file mode 100644 index 00000000000000..1cba3614a495e3 --- /dev/null +++ b/pages.ko/common/solo.md @@ -0,0 +1,24 @@ +# solo + +> Solo 하드웨어 보안 키와 상호 작용. +> 더 많은 정보: . + +- 연결된 Solo 목록 표시: + +`solo ls` + +- 현재 연결된 Solo의 펌웨어를 최신 버전으로 업데이트: + +`solo key update` + +- 특정 Solo의 LED 깜빡이기: + +`solo key wink --serial {{일련_번호}}` + +- 현재 연결된 Solo의 안전한 난수 생성기를 사용하여 무작위 바이트 생성: + +`solo key rng raw` + +- Solo의 직렬 출력 모니터링: + +`solo monitor {{경로/대상/직렬_포트}}` diff --git a/pages.ko/common/sonar-scanner.md b/pages.ko/common/sonar-scanner.md new file mode 100644 index 00000000000000..992a71b82b1258 --- /dev/null +++ b/pages.ko/common/sonar-scanner.md @@ -0,0 +1,20 @@ +# sonar-scanner + +> Maven, Gradle, Ant와 같은 빌드 도구를 사용하지 않는 SonarQube 프로젝트를 위한 일반 스캐너. +> 더 많은 정보: . + +- 프로젝트의 루트 디렉토리에 있는 `sonar-project.properties`라는 구성 파일로 프로젝트 스캔: + +`sonar-scanner` + +- `sonar-project.properties`가 아닌 다른 구성 파일을 사용하여 프로젝트 스캔: + +`sonar-scanner -D{{project.settings=myproject.properties}}` + +- 디버깅 정보 출력: + +`sonar-scanner -X` + +- 도움말 표시: + +`sonar-scanner -h` diff --git a/pages.ko/common/sops.md b/pages.ko/common/sops.md new file mode 100644 index 00000000000000..4848b6d12d2152 --- /dev/null +++ b/pages.ko/common/sops.md @@ -0,0 +1,32 @@ +# sops + +> SOPS (Secrets OPerationS): 비밀 관리를 위한 간단하고 유연한 도구. +> 더 많은 정보: . + +- 파일 암호화: + +`sops -e {{경로/대상/파일.json}} > {{경로/대상/파일.enc.json}}` + +- 파일을 `stdout`으로 복호화: + +`sops -d {{경로/대상/파일.enc.json}}` + +- `sops` 파일에서 선언된 키 업데이트: + +`sops updatekeys {{경로/대상/파일.enc.yaml}}` + +- `sops` 파일의 데이터 키 회전: + +`sops -r {{경로/대상/파일.enc.yaml}}` + +- 파일 암호화 후 확장자 변경: + +`sops -d --input-type json {{경로/대상/파일.enc.json}}` + +- 이름으로 키를 추출하고, 번호로 배열 요소 추출: + +`sops -d --extract '["an_array"][1]' {{경로/대상/파일.enc.json}}` + +- 두 `sops` 파일 간의 차이점 표시: + +`diff <(sops -d {{경로/대상/secret1.enc.yaml}}) <(sops -d {{경로/대상/secret2.enc.yaml}})` diff --git a/pages.ko/common/sort.md b/pages.ko/common/sort.md new file mode 100644 index 00000000000000..986e85389de444 --- /dev/null +++ b/pages.ko/common/sort.md @@ -0,0 +1,36 @@ +# sort + +> 텍스트 파일의 줄을 정렬합니다. +> 더 많은 정보: . + +- 파일을 오름차순으로 정렬: + +`sort {{경로/대상/파일}}` + +- 파일을 내림차순으로 정렬: + +`sort {{[-r|--reverse]}} {{경로/대상/파일}}` + +- 파일을 대소문자를 구분하지 않고 정렬: + +`sort {{-f|--ignore-case}} {{경로/대상/파일}}` + +- 파일을 알파벳 순이 아닌 숫자 순으로 정렬: + +`sort {{[-n|--numeric-sort]}} {{경로/대상/파일}}` + +- ":"를 필드 구분자로 사용하여 3번째 필드를 기준으로 `/etc/passwd`를 숫자 순으로 정렬: + +`sort {{[-t|--field-separator]}} {{:}} {{[-k|--key]}} {{3n}} {{/etc/passwd}}` + +- 위와 동일하지만, 3번째 필드의 항목이 동일한 경우 4번째 필드를 지수와 함께 숫자 순으로 정렬: + +`sort {{[-t|--field-separator]}} {{:}} {{[-k|--key]}} {{3,3n}} {{[-k|--key]}} {{4,4g}} {{/etc/passwd}}` + +- 파일을 정렬하면서 유일한 줄만 보존: + +`sort {{[-u|--unique]}} {{경로/대상/파일}}` + +- 파일을 정렬하여 지정된 출력 파일에 출력 (원본 파일을 직접 정렬할 때 사용 가능): + +`sort {{[-o|--output]}} {{경로/대상/파일}} {{경로/대상/파일}}` diff --git a/pages.ko/common/soupault.md b/pages.ko/common/soupault.md new file mode 100644 index 00000000000000..387b29b1bbb173 --- /dev/null +++ b/pages.ko/common/soupault.md @@ -0,0 +1,25 @@ +# soupault + +> HTML 요소 트리 재작성에 기반한 정적 웹사이트 생성기. +> HTML 후처리기나 메타데이터 추출기로도 사용될 수 있습니다. +> 더 많은 정보: . + +- 현재 작업 디렉토리에 최소 웹사이트 프로젝트 초기화: + +`soupault --init` + +- 웹사이트 빌드: + +`soupault` + +- 기본 설정 파일 및 디렉토리 위치 재정의: + +`soupault --config {{설정_파일_경로}} --site-dir {{입력_디렉토리}} --build-dir {{출력_디렉토리}}` + +- 페이지를 생성하지 않고 메타데이터를 JSON 파일로 추출: + +`soupault --index-only --dump-index-json {{경로/대상/파일.json}}` + +- 효과적인 설정 표시 (`soupault.toml`의 값과 기본값 포함): + +`soupault --show-effective-config` diff --git a/pages.ko/common/source.md b/pages.ko/common/source.md new file mode 100644 index 00000000000000..a8e22ad57a7ded --- /dev/null +++ b/pages.ko/common/source.md @@ -0,0 +1,12 @@ +# source + +> 현재 셸에서 파일의 명령을 실행. +> 더 많은 정보: . + +- 주어진 파일의 내용을 평가: + +`source {{경로/대상/파일}}` + +- 주어진 파일의 내용을 평가 (`source` 대신 `.` 사용 가능): + +`. {{경로/대상/파일}}` diff --git a/pages.ko/common/sox.md b/pages.ko/common/sox.md new file mode 100644 index 00000000000000..37733903a5c70d --- /dev/null +++ b/pages.ko/common/sox.md @@ -0,0 +1,29 @@ +# sox + +> Sound eXchange: 오디오 파일을 재생, 녹음 및 변환하는 도구. +> 오디오 형식은 확장자로 식별됩니다. +> 더 많은 정보: . + +- 두 오디오 파일을 하나로 병합: + +`sox -m {{경로/대상/입력_오디오1}} {{경로/대상/입력_오디오2}} {{경로/대상/출력_오디오}}` + +- 오디오 파일을 지정된 시간으로 잘라내기: + +`sox {{경로/대상/입력_오디오}} {{경로/대상/출력_오디오}} trim {{시작}} {{지속시간}}` + +- 오디오 파일을 정규화 (클리핑 없이 최대 피크 수준으로 볼륨 조정): + +`sox --norm {{경로/대상/입력_오디오}} {{경로/대상/출력_오디오}}` + +- 오디오 파일을 반전하여 저장: + +`sox {{경로/대상/입력_오디오}} {{경로/대상/출력_오디오}} reverse` + +- 오디오 파일의 통계 데이터 출력: + +`sox {{경로/대상/입력_오디오}} -n stat` + +- 오디오 파일의 볼륨을 2배로 증가: + +`sox -v 2.0 {{경로/대상/입력_오디오}} {{경로/대상/출력_오디오}}` diff --git a/pages.ko/common/soxi.md b/pages.ko/common/soxi.md new file mode 100644 index 00000000000000..5535a69d5bd4b1 --- /dev/null +++ b/pages.ko/common/soxi.md @@ -0,0 +1,8 @@ +# soxi + +> SoXI - Sound eXchange Information, 사운드 파일 메타데이터 표시. +> 더 많은 정보: . + +- 사운드 파일 메타데이터 표시: + +`soxi {{경로/대상/파일.wav}}` diff --git a/pages.ko/common/spark.md b/pages.ko/common/spark.md new file mode 100644 index 00000000000000..54b6ad1ce45843 --- /dev/null +++ b/pages.ko/common/spark.md @@ -0,0 +1,24 @@ +# spark + +> Laravel Spark 명령줄 도구. +> 더 많은 정보: . + +- API 토큰 등록: + +`spark register {{토큰}}` + +- 현재 등록된 API 토큰 표시: + +`spark token` + +- 새 Spark 프로젝트 생성: + +`spark new {{프로젝트_이름}}` + +- Braintree 스텁과 함께 새 Spark 프로젝트 생성: + +`spark new {{프로젝트_이름}} --braintree` + +- 팀 기반 결제 스텁과 함께 새 Spark 프로젝트 생성: + +`spark new {{프로젝트_이름}} --team-billing` diff --git a/pages.ko/common/spctoppm.md b/pages.ko/common/spctoppm.md new file mode 100644 index 00000000000000..3d4543a3b6c017 --- /dev/null +++ b/pages.ko/common/spctoppm.md @@ -0,0 +1,8 @@ +# spctoppm + +> Atari 압축 스펙트럼 이미지를 PPM 이미지로 변환. +> 더 많은 정보: . + +- SPC 파일을 PPM 이미지로 변환: + +`spctoppm {{경로/대상/입력.spc}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/spectacle.md b/pages.ko/common/spectacle.md new file mode 100644 index 00000000000000..ff098312787da5 --- /dev/null +++ b/pages.ko/common/spectacle.md @@ -0,0 +1,16 @@ +# spectacle + +> KDE의 스크린샷 유틸리티. +> 더 많은 정보: . + +- 전체 데스크톱의 스크린샷 캡처: + +`spectacle` + +- 활성 창의 스크린샷 캡처: + +`spectacle --activewindow` + +- 특정 영역의 스크린샷 캡처: + +`spectacle --region` diff --git a/pages.ko/common/speed-test.md b/pages.ko/common/speed-test.md new file mode 100644 index 00000000000000..2f6de8a799074a --- /dev/null +++ b/pages.ko/common/speed-test.md @@ -0,0 +1,20 @@ +# speed-test + +> 를 사용하여 인터넷 연결 속도와 핑을 테스트합니다. +> 더 많은 정보: . + +- 인터넷 연결 속도와 핑 테스트: + +`speed-test` + +- 결과를 JSON으로 출력: + +`speed-test --json` + +- 결과를 초당 메가바이트(MBps)로 출력: + +`speed-test --bytes` + +- 더 자세한 정보 출력: + +`speed-test --verbose` diff --git a/pages.ko/common/speedcrunch.md b/pages.ko/common/speedcrunch.md new file mode 100644 index 00000000000000..52daa0ac352f91 --- /dev/null +++ b/pages.ko/common/speedcrunch.md @@ -0,0 +1,36 @@ +# speedcrunch + +> 고정밀 과학 계산기. +> 더 많은 정보: . + +- SpeedCrunch 시작: + +`speedcrunch` + +- 가장 최근 계산 결과 복사: + +`` + +- 공식 책 열기: + +`` + +- 최근 계산 기록 지우기: + +`` + +- 강조 표시된 부분을 괄호로 감싸기 (선택된 것이 없을 경우 모두 감싸기): + +`` + +- speedcrunch 세션 불러오기: + +`` + +- speedcrunch 세션 저장: + +`` + +- 키패드 토글: + +`` diff --git a/pages.ko/common/speedtest-cli.md b/pages.ko/common/speedtest-cli.md new file mode 100644 index 00000000000000..a43de76cc8a13b --- /dev/null +++ b/pages.ko/common/speedtest-cli.md @@ -0,0 +1,37 @@ +# speedtest-cli + +> 를 사용하여 인터넷 대역폭 테스트. +> 공식 CLI는 `speedtest`를 참조하세요. +> 더 많은 정보: . + +- 속도 테스트 실행: + +`speedtest-cli` + +- 속도 테스트를 실행하고 비트 대신 바이트 단위로 값 표시: + +`speedtest-cli --bytes` + +- `HTTP` 대신 `HTTPS`를 사용하여 속도 테스트 실행: + +`speedtest-cli --secure` + +- 다운로드 테스트를 수행하지 않고 속도 테스트 실행: + +`speedtest-cli --no-download` + +- 속도 테스트를 실행하고 결과 이미지를 생성: + +`speedtest-cli --share` + +- 거리별로 정렬된 모든 `speedtest.net` 서버 나열: + +`speedtest-cli --list` + +- 특정 speedtest.net 서버로 속도 테스트 실행: + +`speedtest-cli --server {{서버_ID}}` + +- 속도 테스트를 실행하고 결과를 JSON 형식으로 표시 (진행 정보 억제): + +`speedtest-cli --json` diff --git a/pages.ko/common/speedtest.md b/pages.ko/common/speedtest.md new file mode 100644 index 00000000000000..9e6e01b1da74ac --- /dev/null +++ b/pages.ko/common/speedtest.md @@ -0,0 +1,33 @@ +# speedtest + +> 을 사용하여 인터넷 대역폭을 테스트하는 공식 명령줄 인터페이스. +> 참고: 일부 플랫폼에서는 `speedtest`를 `speedtest-cli`에 연결합니다. 이 페이지의 일부 예제가 작동하지 않는 경우, `speedtest-cli`를 참조하세요. +> 더 많은 정보: . + +- 속도 테스트 실행: + +`speedtest` + +- 속도 테스트를 실행하고 출력 단위를 지정: + +`speedtest --unit={{auto-decimal-bits|auto-decimal-bytes|auto-binary-bits|auto-binary-bytes}}` + +- 속도 테스트를 실행하고 출력 형식을 지정: + +`speedtest --format={{human-readable|csv|tsv|json|jsonl|json-pretty}}` + +- 속도 테스트를 실행하고 소수점 자릿수를 지정 (0에서 8까지, 기본값은 2): + +`speedtest --precision={{정밀도}}` + +- 속도 테스트를 실행하고 진행 상황을 출력 (출력 형식이 `human-readable` 및 `json`일 때만 사용 가능): + +`speedtest --progress={{yes|no}}` + +- 거리에 따라 정렬된 모든 `speedtest.net` 서버 나열: + +`speedtest --servers` + +- 특정 `speedtest.net` 서버로 속도 테스트 실행: + +`speedtest --server-id={{서버_ID}}` diff --git a/pages.ko/common/spfquery.md b/pages.ko/common/spfquery.md new file mode 100644 index 00000000000000..8263e20a138004 --- /dev/null +++ b/pages.ko/common/spfquery.md @@ -0,0 +1,12 @@ +# spfquery + +> 전송자 정책 프레임워크(SPF) 레코드를 조회하여 이메일 발신자를 검증합니다. +> 더 많은 정보: . + +- 특정 IP 주소가 지정된 이메일 주소에서 이메일을 보낼 수 있는지 확인: + +`spfquery -ip {{8.8.8.8}} -sender {{보낸이@example.com}}` + +- 디버깅 출력을 활성화: + +`spfquery -ip {{8.8.8.8}} -sender {{보낸이@example.com}} --debug` diff --git a/pages.ko/common/sphinx-build.md b/pages.ko/common/sphinx-build.md new file mode 100644 index 00000000000000..5678d9d0d50d61 --- /dev/null +++ b/pages.ko/common/sphinx-build.md @@ -0,0 +1,12 @@ +# sphinx-build + +> Sphinx 문서 생성기. +> 더 많은 정보: . + +- 문서 빌드: + +`sphinx-build -b {{html|epub|text|latex|man|...}} {{경로/대상/소스_폴더}} {{경로/대상/빌드_폴더}}` + +- readthedocs.io를 위한 문서 빌드 (sphinx-rtd-theme pip 패키지가 필요): + +`sphinx-build -b {{html}} {{경로/대상/문서_폴더}} {{경로/대상/빌드_폴더}}` diff --git a/pages.ko/common/spicetify.md b/pages.ko/common/spicetify.md new file mode 100644 index 00000000000000..0a0894e38c8e89 --- /dev/null +++ b/pages.ko/common/spicetify.md @@ -0,0 +1,28 @@ +# spicetify + +> Spotify 클라이언트 UI 및 기능을 사용자 지정. +> 더 많은 정보: . + +- 첫 실행 시 구성 파일을 생성하고 도움말 표시: + +`spicetify` + +- Spotify 애플리케이션 파일 백업 및 전처리: + +`spicetify backup` + +- 모든 구성 필드와 값 출력: + +`spicetify config` + +- 구성 필드의 값 변경: + +`spicetify config {{필드}} {{값}}` + +- Spotify에 사용자 지정 변경사항 적용: + +`spicetify apply` + +- Spotify를 원래 상태로 복원: + +`spicetify restore` diff --git a/pages.ko/common/spike.md b/pages.ko/common/spike.md new file mode 100644 index 00000000000000..8701c21df42c04 --- /dev/null +++ b/pages.ko/common/spike.md @@ -0,0 +1,20 @@ +# spike + +> JavaScript로 작성된 완전한 기능을 갖춘 정적 웹사이트 생성기. +> 더 많은 정보: . + +- 기본 템플릿을 사용하여 새 프로젝트 생성: + +`spike new {{프로젝트_이름}}` + +- 프로젝트를 컴파일하고 변경 사항을 감시하며 브라우저 자동 새로고침: + +`spike watch` + +- 프로젝트를 한 번 컴파일하여 "public" 디렉토리에 저장: + +`spike compile` + +- 출력 디렉토리 삭제: + +`spike clean` diff --git a/pages.ko/common/split.md b/pages.ko/common/split.md new file mode 100644 index 00000000000000..fd88168743a81a --- /dev/null +++ b/pages.ko/common/split.md @@ -0,0 +1,20 @@ +# split + +> 파일을 여러 조각으로 분할. +> 더 많은 정보: . + +- 파일을 10줄씩 분할 (마지막 조각 제외): + +`split -l 10 {{경로/대상/파일}}` + +- 파일을 5개의 파일로 분할. 각 조각이 동일한 크기를 갖도록 분할 (마지막 조각 제외): + +`split -n 5 {{경로/대상/파일}}` + +- 파일을 각 조각이 512바이트인 크기로 분할 (마지막 조각 제외; 킬로바이트 단위는 512k, 메가바이트 단위는 512m 사용): + +`split -b 512 {{경로/대상/파일}}` + +- 줄을 끊지 않고 각 조각이 최대 512바이트가 되도록 파일 분할: + +`split -C 512 {{경로/대상/파일}}` diff --git a/pages.ko/common/sponge.md b/pages.ko/common/sponge.md new file mode 100644 index 00000000000000..75954eee305e3d --- /dev/null +++ b/pages.ko/common/sponge.md @@ -0,0 +1,12 @@ +# sponge + +> 입력을 출력 파일에 쓰기 전에 흡수합니다. +> 더 많은 정보: . + +- 파일 내용을 원본 파일에 추가: + +`cat {{경로/대상/파일}} | sponge -a {{경로/대상/파일}}` + +- 파일에서 #으로 시작하는 모든 줄 제거: + +`grep -v '^{{#}}' {{경로/대상/파일}} | sponge {{경로/대상/파일}}` diff --git a/pages.ko/common/spotdl.md b/pages.ko/common/spotdl.md new file mode 100644 index 00000000000000..107604d72d1bc6 --- /dev/null +++ b/pages.ko/common/spotdl.md @@ -0,0 +1,16 @@ +# spotdl + +> Spotify 재생목록 및 노래를 메타데이터와 함께 다운로드. +> 더 많은 정보: . + +- 제공된 URL에서 노래를 다운로드하고 메타데이터를 포함: + +`spotdl {{open.spotify.com/playlist/playlistId open.spotify.com/track/trackId ...}}` + +- 개별 노래를 다운로드할 수 있는 웹 인터페이스 시작: + +`spotdl web` + +- 아무것도 다운로드하지 않고 메타데이터만 저장: + +`spotdl save {{open.spotify.com/playlist/playlistId ...}} --save-file {{경로/대상/저장_파일.spotdl}}` diff --git a/pages.ko/common/sputoppm.md b/pages.ko/common/sputoppm.md new file mode 100644 index 00000000000000..49033d68cea93c --- /dev/null +++ b/pages.ko/common/sputoppm.md @@ -0,0 +1,8 @@ +# sputoppm + +> Atari 비압축 스펙트럼 이미지를 PPM 이미지로 변환. +> 더 많은 정보: . + +- SPU 파일을 PPM 이미지로 변환: + +`sputoppm {{경로/대상/입력.spu}} > {{경로/대상/출력.ppm}}` diff --git a/pages.ko/common/sqlite-utils.md b/pages.ko/common/sqlite-utils.md new file mode 100644 index 00000000000000..ec21ee9051d251 --- /dev/null +++ b/pages.ko/common/sqlite-utils.md @@ -0,0 +1,36 @@ +# sqlite-utils + +> SQLite 데이터베이스를 다양한 방식으로 조작하기 위한 명령줄 도구. +> 더 많은 정보: . + +- 데이터베이스 생성: + +`sqlite-utils create-database {{경로/대상/database.db}}` + +- 테이블 생성: + +`sqlite-utils create-table {{경로/대상/database.db}} {{테이블_이름}} {{id integer name text height float photo blob --pk id}}` + +- 테이블 목록: + +`sqlite-utils tables {{경로/대상/database.db}}` + +- 레코드 삽입 또는 업데이트: + +`{{echo '[ {"id": 1, "name": "Linus Torvalds"}, {"id": 2, "name": "Steve Wozniak"}, {"id": 3, "name": "Tony Hoare"} ]'}} | sqlite-utils upsert {{경로/대상/database.db}} {{테이블_이름}} - {{--pk id}}` + +- 레코드 선택: + +`sqlite-utils rows {{경로/대상/database.db}} {{테이블_이름}}` + +- 레코드 삭제: + +`sqlite-utils query {{경로/대상/database.db}} "{{delete from table_name where name = 'Tony Hoare'}}"` + +- 테이블 삭제: + +`sqlite-utils drop-table {{경로/대상/database.db}} {{테이블_이름}}` + +- 도움말 표시: + +`sqlite-utils -h` diff --git a/pages.ko/common/sqlite3.md b/pages.ko/common/sqlite3.md new file mode 100644 index 00000000000000..b4d58833a2fbfe --- /dev/null +++ b/pages.ko/common/sqlite3.md @@ -0,0 +1,16 @@ +# sqlite3 + +> SQLite 3의 명령줄 인터페이스로, 자체 포함 파일 기반 임베디드 SQL 엔진입니다. +> 더 많은 정보: . + +- 새 데이터베이스로 대화형 셸 시작: + +`sqlite3` + +- 기존 데이터베이스로 대화형 셸 열기: + +`sqlite3 {{경로/대상/데이터베이스.sqlite3}}` + +- 데이터베이스에 SQL 문 실행 후 종료: + +`sqlite3 {{경로/대상/데이터베이스.sqlite3}} '{{SELECT * FROM some_table;}}'` diff --git a/pages.ko/common/sqlmap.md b/pages.ko/common/sqlmap.md new file mode 100644 index 00000000000000..4a7bfb8ebbead8 --- /dev/null +++ b/pages.ko/common/sqlmap.md @@ -0,0 +1,24 @@ +# sqlmap + +> SQL 인젝션 취약점을 탐지하고 악용. +> 더 많은 정보: . + +- 단일 대상 URL에 대해 sqlmap 실행: + +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php?id=1}}"` + +- POST 요청으로 데이터 전송 (`--data`는 POST 요청을 의미): + +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --data="{{id=1}}"` + +- 매개변수 구분자 변경 (기본값은 &): + +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --data="{{query=foobar;id=1}}" --param-del="{{;}}"` + +- `./txt/user-agents.txt`에서 무작위 `User-Agent` 선택 및 사용: + +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --random-agent` + +- HTTP 프로토콜 인증을 위한 사용자 자격 증명 제공: + +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --auth-type {{Basic}} --auth-cred "{{testuser:testpass}}"` diff --git a/pages.ko/common/sqsc.md b/pages.ko/common/sqsc.md new file mode 100644 index 00000000000000..214e685b346862 --- /dev/null +++ b/pages.ko/common/sqsc.md @@ -0,0 +1,32 @@ +# sqsc + +> 명령줄 AWS Simple Queue Service 클라이언트. +> 더 많은 정보: . + +- 모든 큐 나열: + +`sqsc lq {{큐_접두사}}` + +- 큐에 있는 모든 메시지 나열: + +`sqsc ls {{큐_이름}}` + +- 한 큐의 모든 메시지를 다른 큐로 복사: + +`sqsc cp {{소스_큐}} {{대상_큐}}` + +- 한 큐의 모든 메시지를 다른 큐로 이동: + +`sqsc mv {{소스_큐}} {{대상_큐}}` + +- 큐 설명: + +`sqsc describe {{큐_이름}}` + +- SQL 구문을 사용하여 큐 조회: + +`sqsc query "SELECT body FROM {{큐_이름}} WHERE body LIKE '%user%'"` + +- 현재 작업 디렉토리의 로컬 SQLite 데이터베이스로 큐의 모든 메시지 가져오기: + +`sqsc pull {{큐_이름}}` diff --git a/pages.ko/common/srm.md b/pages.ko/common/srm.md new file mode 100644 index 00000000000000..b83669f6723640 --- /dev/null +++ b/pages.ko/common/srm.md @@ -0,0 +1,21 @@ +# srm + +> 파일이나 디렉터리를 안전하게 제거. +> 기존 데이터를 한 번 또는 여러 번 덮어씁니다. `rm` 명령의 대체품. +> 더 많은 정보: . + +- 파일을 한 번 무작위 데이터로 덮어쓴 후 제거: + +`srm -s {{경로/대상/파일}}` + +- 파일을 일곱 번 무작위 데이터로 덮어쓴 후 제거: + +`srm -m {{경로/대상/파일}}` + +- 디렉터리와 그 내용을 재귀적으로 제거하며 각 파일을 한 번 무작위 데이터로 덮어쓰기: + +`srm -r -s {{경로/대상/폴더}}` + +- 제거하기 전에 매번 확인: + +`srm -i {{\*}}` diff --git a/pages.ko/common/ss-local.md b/pages.ko/common/ss-local.md new file mode 100644 index 00000000000000..80cf37d005905b --- /dev/null +++ b/pages.ko/common/ss-local.md @@ -0,0 +1,20 @@ +# ss-local + +> Shadowsocks 클라이언트를 SOCKS5 프록시로 실행. +> 더 많은 정보: . + +- 호스트, 서버 포트, 로컬 포트, 비밀번호 및 암호화 방법을 지정하여 Shadowsocks 프록시 실행: + +`ss-local -s {{호스트}} -p {{서버_포트}} -l {{로컬_포트}} -k {{비밀번호}} -m {{암호화_방법}}` + +- 구성 파일을 지정하여 Shadowsocks 프록시 실행: + +`ss-local -c {{경로/대상/설정/파일.json}}` + +- 플러그인을 사용하여 프록시 클라이언트 실행: + +`ss-local --plugin {{플러그인_이름}} --plugin-opts {{플러그인_옵션}}` + +- TCP 패스트 오픈 활성화: + +`ss-local --fast-open` diff --git a/pages.ko/common/ssh-add.md b/pages.ko/common/ssh-add.md new file mode 100644 index 00000000000000..5429c515e13825 --- /dev/null +++ b/pages.ko/common/ssh-add.md @@ -0,0 +1,29 @@ +# ssh-add + +> `ssh-agent`에서 로드된 SSH 키를 관리. +> 키가 로드되도록 `ssh-agent`가 실행 중인지 확인하세요. +> 더 많은 정보: . + +- 기본 SSH 키를 `~/.ssh`에서 ssh-agent로 추가: + +`ssh-add` + +- 특정 키를 ssh-agent로 추가: + +`ssh-add {{경로/대상/개인_키}}` + +- 현재 로드된 키의 지문 나열: + +`ssh-add -l` + +- ssh-agent에서 키 삭제: + +`ssh-add -d {{경로/대상/개인_키}}` + +- 현재 로드된 모든 키를 ssh-agent에서 삭제: + +`ssh-add -D` + +- 키를 ssh-agent와 키체인에 추가: + +`ssh-add -K {{경로/대상/개인_키}}` diff --git a/pages.ko/common/ssh-agent.md b/pages.ko/common/ssh-agent.md new file mode 100644 index 00000000000000..c8708b1bc4f621 --- /dev/null +++ b/pages.ko/common/ssh-agent.md @@ -0,0 +1,14 @@ +# ssh-agent + +> SSH 에이전트 프로세스 생성. +> SSH 에이전트는 SSH 키를 메모리에 복호화된 상태로 유지하며, 제거되거나 프로세스가 종료될 때까지 유지됩니다. +> 같이 보기: `ssh-add` (SSH 에이전트에 의해 관리되는 키 추가 및 관리). +> 더 많은 정보: . + +- 현재 셸에 대한 SSH 에이전트 시작: + +`eval $(ssh-agent)` + +- 현재 실행 중인 에이전트 종료: + +`ssh-agent -k` diff --git a/pages.ko/common/ssh-copy-id.md b/pages.ko/common/ssh-copy-id.md new file mode 100644 index 00000000000000..93f13a83ad0f34 --- /dev/null +++ b/pages.ko/common/ssh-copy-id.md @@ -0,0 +1,16 @@ +# ssh-copy-id + +> 원격 시스템의 authorized_keys에 공개 키 설치. +> 더 많은 정보: . + +- 키를 원격 시스템에 복사: + +`ssh-copy-id {{사용자_명}}@{{원격_호스트}}` + +- 지정된 공개 키를 원격 시스템에 복사: + +`ssh-copy-id -i {{경로/대상/인증서}} {{사용자_명}}@{{원격_호스트}}` + +- 특정 포트로 지정된 공개 키를 원격 시스템에 복사: + +`ssh-copy-id -i {{경로/대상/인증서}} -p {{포트}} {{사용자_명}}@{{원격_호스트}}` diff --git a/pages.ko/common/ssh-keygen.md b/pages.ko/common/ssh-keygen.md new file mode 100644 index 00000000000000..e9c331c35f06fa --- /dev/null +++ b/pages.ko/common/ssh-keygen.md @@ -0,0 +1,36 @@ +# ssh-keygen + +> 인증, 비밀번호 없는 로그인 및 기타 용도로 사용되는 SSH 키 생성. +> 더 많은 정보: . + +- 대화식으로 키 생성: + +`ssh-keygen` + +- 32 키 유도 함수 라운드로 ed25519 키를 생성하고 특정 파일에 키 저장: + +`ssh-keygen -t {{ed25519}} -a {{32}} -f {{~/.ssh/파일_이름}}` + +- 이메일을 주석으로 하는 4096비트 RSA 키 생성: + +`ssh-keygen -t {{rsa}} -b {{4096}} -C "{{주석|이메일}}"` + +- known_hosts 파일에서 호스트의 키 제거 (알려진 호스트가 새 키를 가지는 경우 유용): + +`ssh-keygen -R {{원격_호스트}}` + +- MD5 Hex로 키의 지문 검색: + +`ssh-keygen -l -E {{md5}} -f {{~/.ssh/파일_이름}}` + +- 키의 비밀번호 변경: + +`ssh-keygen -p -f {{~/.ssh/파일_이름}}` + +- 키 형식 변경 (예: OPENSSH 형식에서 PEM으로), 파일은 제자리에서 다시 작성됨: + +`ssh-keygen -p -N "" -m {{PEM}} -f {{~/.ssh/OpenSSH_개인_키}}` + +- 비밀 키에서 공개 키 추출: + +`ssh-keygen -y -f {{~/.ssh/OpenSSH_개인_키}}` diff --git a/pages.ko/common/ssh-keyscan.md b/pages.ko/common/ssh-keyscan.md new file mode 100644 index 00000000000000..2da83506807dd5 --- /dev/null +++ b/pages.ko/common/ssh-keyscan.md @@ -0,0 +1,20 @@ +# ssh-keyscan + +> 원격 호스트의 공개 SSH 키를 가져옵니다. +> 더 많은 정보: . + +- 원격 호스트의 모든 공개 SSH 키 가져오기: + +`ssh-keyscan {{호스트}}` + +- 특정 포트에서 대기 중인 원격 호스트의 모든 공개 SSH 키 가져오기: + +`ssh-keyscan -p {{포트}} {{호스트}}` + +- 원격 호스트의 특정 유형의 공개 SSH 키 가져오기: + +`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{호스트}}` + +- 주어진 호스트의 지문으로 SSH known_hosts 파일 수동 업데이트: + +`ssh-keyscan -H {{호스트}} >> ~/.ssh/known_hosts` diff --git a/pages.ko/common/ssh.md b/pages.ko/common/ssh.md new file mode 100644 index 00000000000000..cbe37e63685715 --- /dev/null +++ b/pages.ko/common/ssh.md @@ -0,0 +1,37 @@ +# ssh + +> Secure Shell은 원격 시스템에 안전하게 로그인하기 위한 프로토콜입니다. +> 원격 서버에 로그인하거나 명령을 실행하는 데 사용할 수 있습니다. +> 더 많은 정보: . + +- 원격 서버에 연결: + +`ssh {{사용자 명}}@{{원격_호스트}}` + +- 특정 신원(개인 키)으로 원격 서버에 연결: + +`ssh -i {{경로/대상/키_파일}} {{사용자 명}}@{{원격_호스트}}` + +- 특정 [p]포트를 사용하여 원격 서버에 연결: + +`ssh {{사용자 명}}@{{원격_호스트}} -p {{2222}}` + +- [t]ty 할당을 통해 원격 명령과 상호 작용하며 원격 서버에서 명령 실행: + +`ssh {{사용자 명}}@{{원격_호스트}} -t {{명령어}} {{명령어_인자}}` + +- SSH 터널링: [D]동적 포트 포워딩 (`localhost:1080`의 SOCKS 프록시): + +`ssh -D {{1080}} {{사용자 명}}@{{원격_호스트}}` + +- SSH 터널링: 특정 포트 포워딩 (`localhost:9999`에서 `example.org:80`)과 함께 의사-[T]ty 할당 및 원격 명령 실행 비활성화: + +`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{사용자 명}}@{{원격_호스트}}` + +- SSH [J]점핑: 점프 호스트를 통해 원격 서버에 연결 (여러 점프 홉을 쉼표로 구분하여 지정 가능): + +`ssh -J {{사용자 명}}@{{점프_호스트}} {{사용자 명}}@{{원격_호스트}}` + +- 멈춘 세션 종료: + +`<~><.>` diff --git a/pages.ko/common/sshd.md b/pages.ko/common/sshd.md new file mode 100644 index 00000000000000..962064600e42d4 --- /dev/null +++ b/pages.ko/common/sshd.md @@ -0,0 +1,21 @@ +# sshd + +> Secure Shell 데몬 - 원격 머신이 현재 머신에 안전하게 로그인할 수 있도록 허용합니다. +> 원격 머신은 이 머신에서 실행되는 것처럼 명령을 실행할 수 있습니다. +> 더 많은 정보: . + +- 백그라운드에서 데몬 시작: + +`sshd` + +- 포그라운드에서 sshd 실행: + +`sshd -D` + +- 자세한 출력으로 실행 (디버깅 용도): + +`sshd -D -d` + +- 특정 포트에서 실행: + +`sshd -p {{포트}}` diff --git a/pages.ko/common/sshfs.md b/pages.ko/common/sshfs.md new file mode 100644 index 00000000000000..7930188e3aa3eb --- /dev/null +++ b/pages.ko/common/sshfs.md @@ -0,0 +1,24 @@ +# sshfs + +> SSH 기반 파일 시스템 클라이언트. +> 더 많은 정보: . + +- 원격 디렉터리 마운트: + +`sshfs {{사용자_명}}@{{원격_호스트}}:{{원격_디렉터리}} {{마운트_지점}}` + +- 원격 디렉터리 마운트 해제: + +`umount {{마운트_지점}}` + +- 특정 포트로 서버의 원격 디렉터리 마운트: + +`sshfs {{사용자_명}}@{{원격_호스트}}:{{원격_디렉터리}} -p {{2222}}` + +- 압축 사용: + +`sshfs {{사용자_명}}@{{원격_호스트}}:{{원격_디렉터리}} -C` + +- 심볼릭 링크 따라가기: + +`sshfs -o follow_symlinks {{사용자_명}}@{{원격_호스트}}:{{원격_디렉터리}} {{마운트_지점}}` diff --git a/pages.ko/common/sshpass.md b/pages.ko/common/sshpass.md new file mode 100644 index 00000000000000..a9e08947dd9a77 --- /dev/null +++ b/pages.ko/common/sshpass.md @@ -0,0 +1,17 @@ +# sshpass + +> SSH 비밀번호 제공 도구. +> TTY를 생성하고 비밀번호를 입력한 후 `stdin`을 SSH 세션으로 리디렉션하여 작동합니다. +> 더 많은 정보: . + +- 파일 디스크립터(이 경우, `stdin`)에 제공된 비밀번호를 사용하여 원격 서버에 연결: + +`sshpass -d {{0}} ssh {{사용자}}@{{호스트명}}` + +- 옵션으로 제공된 비밀번호를 사용하여 원격 서버에 연결하고, 알 수 없는 SSH 키를 자동으로 수락: + +`sshpass -p {{비밀번호}} ssh -o StrictHostKeyChecking=no {{사용자}}@{{호스트명}}` + +- 파일의 첫 번째 줄을 비밀번호로 사용하여 원격 서버에 연결하고, 알 수 없는 SSH 키를 자동으로 수락하며 명령 실행: + +`sshpass -f {{경로/대상/파일}} ssh -o StrictHostKeyChecking=no {{사용자}}@{{호스트명}} "{{명령}}"` diff --git a/pages.ko/common/sshuttle.md b/pages.ko/common/sshuttle.md new file mode 100644 index 00000000000000..d039cdf5128f35 --- /dev/null +++ b/pages.ko/common/sshuttle.md @@ -0,0 +1,21 @@ +# sshuttle + +> SSH 연결을 통해 트래픽을 터널링하는 투명 프록시 서버. +> 원격 SSH 서버에서는 루트 권한이나 특별한 설정이 필요하지 않지만, 로컬 머신에서는 루트 접근이 요청됩니다. +> 더 많은 정보: . + +- 원격 SSH 서버를 통해 모든 IPv4 TCP 트래픽 전달: + +`sshuttle --remote={{사용자_명}}@{{ssh서버}} {{0.0.0.0/0}}` + +- 서버의 기본 DNS 해석기로 모든 DNS 트래픽도 전달: + +`sshuttle --dns --remote={{사용자_명}}@{{ssh서버}} {{0.0.0.0/0}}` + +- 특정 서브넷으로 향하는 트래픽을 제외한 모든 트래픽 전달: + +`sshuttle --remote={{사용자_명}}@{{ssh서버}} {{0.0.0.0/0}} --exclude {{192.168.0.1/24}}` + +- tproxy 방법을 사용하여 모든 IPv4 및 IPv6 트래픽 전달: + +`sshuttle --method=tproxy --remote={{사용자_명}}@{{ssh서버}} {{0.0.0.0/0}} {{::/0}} --exclude={{내_로컬_ip_주소}} --exclude={{ssh_서버_ip_주소}}` diff --git a/pages.ko/common/sslscan.md b/pages.ko/common/sslscan.md new file mode 100644 index 00000000000000..044bfe906c049e --- /dev/null +++ b/pages.ko/common/sslscan.md @@ -0,0 +1,16 @@ +# sslscan + +> 서버에서 지원하는 SSL/TLS 프로토콜 및 암호를 검사. +> 더 많은 정보: . + +- 포트 443에서 서버 테스트: + +`sslscan {{example.com}}` + +- 지정된 포트에서 테스트: + +`sslscan {{example.com}}:{{465}}` + +- 인증서 정보 표시: + +`testssl --show-certificate {{example.com}}` diff --git a/pages.ko/common/st-flash.md b/pages.ko/common/st-flash.md new file mode 100644 index 00000000000000..1fa9913942a03d --- /dev/null +++ b/pages.ko/common/st-flash.md @@ -0,0 +1,16 @@ +# st-flash + +> STM32 ARM Cortex 마이크로컨트롤러에 바이너리 파일을 플래시. +> 더 많은 정보: . + +- 장치에서 0x8000000부터 4096 바이트 읽기: + +`st-flash read {{펌웨어}}.bin {{0x8000000}} {{4096}}` + +- 장치에 0x8000000부터 펌웨어 쓰기: + +`st-flash write {{펌웨어}}.bin {{0x8000000}}` + +- 장치에서 펌웨어 지우기: + +`st-flash erase` diff --git a/pages.ko/common/st-info.md b/pages.ko/common/st-info.md new file mode 100644 index 00000000000000..466403ee2af473 --- /dev/null +++ b/pages.ko/common/st-info.md @@ -0,0 +1,16 @@ +# st-info + +> 연결된 STLink 및 STM32 장치에 대한 정보를 가져옵니다. +> 더 많은 정보: . + +- 사용 가능한 프로그램 메모리 용량 표시: + +`st-info --flash` + +- 사용 가능한 SRAM 메모리 용량 표시: + +`st-info --sram` + +- 장치의 요약 정보 표시: + +`st-info --probe` diff --git a/pages.ko/common/st-util.md b/pages.ko/common/st-util.md new file mode 100644 index 00000000000000..102fc28be09005 --- /dev/null +++ b/pages.ko/common/st-util.md @@ -0,0 +1,16 @@ +# st-util + +> STM32 ARM Cortex 마이크로컨트롤러와 상호작용하기 위해 GDB (GNU Debugger) 서버 실행. +> 더 많은 정보: . + +- 포트 4500에서 GDB 서버 실행: + +`st-util -p {{4500}}` + +- GDB 서버에 연결: + +`(gdb) target extended-remote {{localhost}}:{{4500}}` + +- 장치에 펌웨어 쓰기: + +`(gdb) load {{firmware.elf}}` diff --git a/pages.ko/common/st4topgm.md b/pages.ko/common/st4topgm.md new file mode 100644 index 00000000000000..4dbf86e0333a11 --- /dev/null +++ b/pages.ko/common/st4topgm.md @@ -0,0 +1,8 @@ +# st4topgm + +> SBIG ST-4 파일을 PGM으로 변환. +> 더 많은 정보: . + +- SBIG ST-4 파일을 PGM 파일로 변환: + +`st4topgm {{경로/대상/입력_파일.st4}} > {{경로/대상/출력.pgm}}` diff --git a/pages.ko/common/stack.md b/pages.ko/common/stack.md new file mode 100644 index 00000000000000..63758516607f4f --- /dev/null +++ b/pages.ko/common/stack.md @@ -0,0 +1,28 @@ +# stack + +> Haskell 프로젝트 관리 도구. +> 더 많은 정보: . + +- 새 패키지 생성: + +`stack new {{패키지}} {{템플릿}}` + +- 패키지 컴파일: + +`stack build` + +- 패키지 내 테스트 실행: + +`stack test` + +- 프로젝트를 컴파일하고 파일이 변경될 때마다 다시 컴파일: + +`stack build --file-watch` + +- 프로젝트 컴파일 후 명령 실행: + +`stack build --exec "{{명령}}"` + +- 프로그램을 실행하고 인수를 전달: + +`stack exec {{프로그램}} -- {{인수}}` diff --git a/pages.ko/common/standard-version.md b/pages.ko/common/standard-version.md new file mode 100644 index 00000000000000..d31dcdbc4533e0 --- /dev/null +++ b/pages.ko/common/standard-version.md @@ -0,0 +1,36 @@ +# standard-version + +> SemVer 및 Conventional Commits를 사용하여 버전 관리 및 변경 로그 생성을 자동화. +> 더 많은 정보: . + +- 변경 로그 파일을 업데이트하고 릴리스를 태그 지정: + +`standard-version` + +- 버전을 올리지 않고 릴리스를 태그 지정: + +`standard-version --first-release` + +- 변경 로그를 업데이트하고 알파 릴리스를 태그 지정: + +`standard-version --prerelease alpha` + +- 변경 로그를 업데이트하고 특정 릴리스 유형을 태그 지정: + +`standard-version --release-as {{major|minor|patch}}` + +- 커밋 단계에서 훅 검증 없이 릴리스를 태그 지정: + +`standard-version --no-verify` + +- `standard-version`에 의해 영향을 받는 파일뿐만 아니라 모든 스테이징된 변경 사항을 커밋하면서 릴리스를 태그 지정: + +`standard-version --commit-all` + +- 특정 변경 로그 파일을 업데이트하고 릴리스를 태그 지정: + +`standard-version --infile {{경로/대상/파일.md}}` + +- 실제로 수행하지 않고 수행될 릴리스를 표시: + +`standard-version --dry-run` diff --git a/pages.ko/common/standard.md b/pages.ko/common/standard.md new file mode 100644 index 00000000000000..050a5660121b5c --- /dev/null +++ b/pages.ko/common/standard.md @@ -0,0 +1,32 @@ +# standard + +> JavaScript 코드의 린트 및 수정을 위한 JavaScript Standard Style 도구. +> 더 많은 정보: . + +- 현재 디렉토리의 모든 JavaScript 소스 파일을 린트: + +`standard` + +- 특정 JavaScript 파일(들)을 린트: + +`standard {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 린트 시 자동 수정 적용: + +`standard --fix` + +- 사용 가능한 전역 변수 선언: + +`standard --global {{변수}}` + +- 린트 시 사용자 지정 ESLint 플러그인 사용: + +`standard --plugin {{플러그인}}` + +- 린트 시 사용자 지정 JS 파서 사용: + +`standard --parser {{파서}}` + +- 린트 시 사용자 지정 ESLint 환경 사용: + +`standard --env {{환경}}` diff --git a/pages.ko/common/starship-init.md b/pages.ko/common/starship-init.md new file mode 100644 index 00000000000000..9cc1c83333a745 --- /dev/null +++ b/pages.ko/common/starship-init.md @@ -0,0 +1,20 @@ +# starship init + +> starship에 대한 셸 통합 코드를 출력. +> 더 많은 정보: . + +- 지정된 셸에 대한 starship 통합 코드를 출력: + +`starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh}}` + +- `starship` 통합 코드를 `~/.bashrc`에 추가: + +`starship init {{bash}} >> {{~/.bashrc}}` + +- `starship` 통합 코드를 `~/.zshrc`에 추가: + +`starship init {{zsh}} >> {{~/.zshrc}}` + +- 도움말 표시: + +`starship init --help` diff --git a/pages.ko/common/starship.md b/pages.ko/common/starship.md new file mode 100644 index 00000000000000..937553f8bbaa41 --- /dev/null +++ b/pages.ko/common/starship.md @@ -0,0 +1,37 @@ +# starship + +> 최소한의 빠르고 무한히 커스터마이즈 가능한 쉘 프롬프트. +> `init`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 지정한 쉘에 대한 starship 통합 코드 출력: + +`starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh|nu|xonsh|cmd}}` + +- 현재 프롬프트의 각 부분을 설명하고 렌더링하는 데 걸린 시간 표시: + +`starship explain` + +- 계산된 starship 구성 출력 (기본 구성을 출력하려면 `--default` 사용): + +`starship print-config` + +- 지원하는 모듈 나열: + +`starship module --list` + +- 기본 편집기에서 starship 구성 편집: + +`starship config` + +- 시스템 및 starship 구성에 대한 정보를 미리 채운 GitHub 이슈로 버그 보고서 생성: + +`starship bug-report` + +- 지정한 쉘에 대한 자동 완성 스크립트 출력: + +`starship completions {{bash|elvish|fish|powershell|zsh}}` + +- 하위 명령에 대한 도움말 표시: + +`starship {{하위_명령}} --help` diff --git a/pages.ko/common/stat.md b/pages.ko/common/stat.md new file mode 100644 index 00000000000000..3fc6d4bf1e32b6 --- /dev/null +++ b/pages.ko/common/stat.md @@ -0,0 +1,28 @@ +# stat + +> 파일 및 파일 시스템 정보를 표시. +> 더 많은 정보: . + +- 특정 파일에 대한 속성(크기, 권한, 생성 및 액세스 날짜 등) 표시: + +`stat {{경로/대상/파일}}` + +- 레이블 없이 특정 파일에 대한 속성(크기, 권한, 생성 및 액세스 날짜 등) 표시: + +`stat --terse {{경로/대상/파일}}` + +- 특정 파일이 있는 파일 시스템에 대한 정보 표시: + +`stat --file-system {{경로/대상/파일}}` + +- 8진수 파일 권한만 표시: + +`stat --format="%a %n" {{경로/대상/파일}}` + +- 특정 파일의 소유자 및 그룹 표시: + +`stat --format="%U %G" {{경로/대상/파일}}` + +- 특정 파일의 크기를 바이트 단위로 표시: + +`stat --format="%s %n" {{경로/대상/파일}}` diff --git a/pages.ko/common/stdbuf.md b/pages.ko/common/stdbuf.md new file mode 100644 index 00000000000000..21c9b7f12bcb28 --- /dev/null +++ b/pages.ko/common/stdbuf.md @@ -0,0 +1,16 @@ +# stdbuf + +> 표준 스트림에 대한 버퍼링 작업을 수정하여 명령을 실행. +> 더 많은 정보: . + +- `stdin` 버퍼 크기를 512 KiB로 변경: + +`stdbuf --input=512K {{명령}}` + +- `stdout` 버퍼를 라인 버퍼로 변경: + +`stdbuf --output=L {{명령}}` + +- `stderr` 버퍼를 버퍼링하지 않도록 변경: + +`stdbuf --error=0 {{명령}}` diff --git a/pages.ko/common/steam.md b/pages.ko/common/steam.md new file mode 100644 index 00000000000000..f4b0f565271a94 --- /dev/null +++ b/pages.ko/common/steam.md @@ -0,0 +1,28 @@ +# steam + +> Valve의 비디오 게임 플랫폼. +> 더 많은 정보: . + +- 디버그 메시지를 `stdout`에 출력하며 Steam 실행: + +`steam` + +- Steam을 실행하고 앱 내 디버그 콘솔 탭 활성화: + +`steam -console` + +- 실행 중인 Steam 인스턴스에서 Steam 콘솔 탭 활성화 및 열기: + +`steam steam://open/console` + +- 지정된 자격 증명으로 Steam 로그인: + +`steam -login {{사용자_이름}} {{비밀번호}}` + +- Big Picture 모드로 Steam 실행: + +`steam -tenfoot` + +- Steam 종료: + +`steam -shutdown` diff --git a/pages.ko/common/steamcmd.md b/pages.ko/common/steamcmd.md new file mode 100644 index 00000000000000..c68e59082bbd40 --- /dev/null +++ b/pages.ko/common/steamcmd.md @@ -0,0 +1,16 @@ +# steamcmd + +> Steam 클라이언트의 커맨드라인 버전. +> 더 많은 정보: . + +- 익명으로 애플리케이션 설치 또는 업데이트: + +`steamcmd +login {{익명}} +app_update {{앱ID}} +quit` + +- 지정된 자격 증명을 사용하여 애플리케이션 설치 또는 업데이트: + +`steamcmd +login {{사용자명}} +app_update {{앱ID}} +quit` + +- 특정 플랫폼용 애플리케이션 설치: + +`steamcmd +@sSteamCmdForcePlatformType {{windows}} +login {{anonymous}} +app_update {{앱ID}} validate +quit` diff --git a/pages.ko/common/step.md b/pages.ko/common/step.md new file mode 100644 index 00000000000000..951b7a480a9601 --- /dev/null +++ b/pages.ko/common/step.md @@ -0,0 +1,37 @@ +# step + +> 사용하기 쉬운 CLI 도구로, 공개 키 기반 구조(PKI) 시스템 및 워크플로를 구축, 운영 및 자동화하는 데 도움을 줍니다. +> 같이 보기: `openssl`. +> 더 많은 정보: . + +- 인증서의 내용을 검사: + +`step certificate inspect {{경로/대상/인증서.crt}}` + +- 루트 CA 인증서 및 키 생성 (개인 키 비밀번호 보호를 건너뛰려면 `--no-password --insecure` 추가): + +`step certificate create "{{예시 루트 CA}}" {{경로/대상/root-ca.crt}} {{경로/대상/root-ca.key}} --profile root-ca` + +- 특정 호스트명을 위한 인증서를 생성하고 루트 CA로 서명 (CSR 생성을 생략하여 간소화 가능): + +`step certificate create {{hostname.example.com}} {{경로/대상/hostname.crt}} {{경로/대상/hostname.key}} --profile leaf --ca {{경로/대상/root-ca.crt}} --ca-key {{경로/대상/root-ca.key}}` + +- 인증서 체인 검증: + +`step certificate verify {{경로/대상/호스트명.crt}} --roots {{경로/대상/root-ca.crt}} --verbose` + +- PEM 형식 인증서를 DER로 변환하여 디스크에 저장: + +`step certificate format {{경로/대상/인증서.pem}} --out {{경로/대상/인증서.der}}` + +- 시스템 기본 신뢰 저장소에 루트 인증서를 설치하거나 제거: + +`step certificate {{install|uninstall}} {{경로/대상/root-ca.crt}}` + +- RSA/EC 개인 및 공개 키 쌍 생성 (개인 키 비밀번호 보호를 건너뛰려면 `--no-password --insecure` 추가): + +`step crypto keypair {{경로/대상/공개_키}} {{경로/대상/비밀_키}} --kty {{RSA|EC}}` + +- 하위 명령에 대한 도움말 표시: + +`step {{path|base64|certificate|completion|context|crl|crypto|oauth|ca|beta|ssh}} --help` diff --git a/pages.ko/common/stern.md b/pages.ko/common/stern.md new file mode 100644 index 00000000000000..34a956b17d12d1 --- /dev/null +++ b/pages.ko/common/stern.md @@ -0,0 +1,28 @@ +# stern + +> Kubernetes의 여러 팟 및 컨테이너 로그를 동시에 확인. +> 더 많은 정보: . + +- 현재 네임스페이스 내의 모든 팟 로그 확인: + +`stern .` + +- 특정 상태의 모든 팟 로그 확인: + +`stern . --container-state {{running|waiting|terminated}}` + +- 주어진 정규 표현식과 일치하는 모든 팟 로그 확인: + +`stern {{팟_쿼리}}` + +- 모든 네임스페이스에서 일치하는 팟 로그 확인: + +`stern {{팟_쿼리}} --all-namespaces` + +- 15분 전부터 일치하는 팟 로그 확인: + +`stern {{팟_쿼리}} --since {{15m}}` + +- 특정 레이블이 있는 일치하는 팟 로그 확인: + +`stern {{팟_쿼리}} --selector {{release=canary}}` diff --git a/pages.ko/common/stl2gts.md b/pages.ko/common/stl2gts.md new file mode 100644 index 00000000000000..de1e92a29438f6 --- /dev/null +++ b/pages.ko/common/stl2gts.md @@ -0,0 +1,24 @@ +# stl2gts + +> STL 파일을 GTS(GNU 삼각형 표면 라이브러리) 파일 형식으로 변환. +> 더 많은 정보: . + +- STL 파일을 GTS 파일로 변환: + +`stl2gts < {{경로/대상/파일.stl}} > {{경로/대상/파일.gts}}` + +- STL 파일을 GTS 파일로 변환하고 면의 법선을 뒤집기: + +`stl2gts --revert < {{경로/대상/파일.stl}} > {{경로/대상/파일.gts}}` + +- STL 파일을 GTS 파일로 변환하고 정점 병합 안 함: + +`stl2gts --nomerge < {{경로/대상/파일.stl}} > {{경로/대상/파일.gts}}` + +- STL 파일을 GTS 파일로 변환하고 표면 통계 표시: + +`stl2gts --verbose < {{경로/대상/파일.stl}} > {{경로/대상/파일.gts}}` + +- 도움말 표시: + +`stl2gts --help` diff --git a/pages.ko/common/stolonctl.md b/pages.ko/common/stolonctl.md new file mode 100644 index 00000000000000..ad222280a98578 --- /dev/null +++ b/pages.ko/common/stolonctl.md @@ -0,0 +1,20 @@ +# stolonctl + +> Stolon의 CLI, PostgreSQL 고가용성을 위한 클라우드 네이티브 PostgreSQL 관리자. +> 더 많은 정보: . + +- 클러스터 상태 확인: + +`stolonctl --cluster-name {{클러스터_이름}} --store-backend {{스토어_백엔드}} --store-endpoints {{스토어_엔드포인트}} status` + +- 클러스터 데이터 가져오기: + +`stolonctl --cluster-name {{클러스터_이름}} --store-backend {{스토어_백엔드}} --store-endpoints {{스토어_엔드포인트}} clusterdata` + +- 클러스터 사양 가져오기: + +`stolonctl --cluster-name {{클러스터_이름}} --store-backend {{스토어_백엔드}} --store-endpoints {{스토어_엔드포인트}} spec` + +- JSON 형식의 패치를 사용하여 클러스터 사양 업데이트: + +`stolonctl --cluster-name {{클러스터_이름}} --store-backend {{스토어_백엔드}} --store-endpoints {{스토어_엔드포인트}} update --patch '{{클러스터_사양}}'` diff --git a/pages.ko/common/stormlock.md b/pages.ko/common/stormlock.md new file mode 100644 index 00000000000000..b25f5da94da56a --- /dev/null +++ b/pages.ko/common/stormlock.md @@ -0,0 +1,20 @@ +# Stormlock + +> 중앙 집중식 잠금 시스템. +> 더 많은 정보: . + +- 리소스에 대한 임대 획득: + +`stormlock acquire {{리소스}}` + +- 주어진 리소스에 대한 주어진 임대 해제: + +`stormlock release {{리소스}} {{임대_ID}}` + +- 리소스에 대한 현재 임대 정보 표시 (있는 경우): + +`stormlock current {{리소스}}` + +- 주어진 리소스에 대한 임대가 현재 활성 상태인지 테스트: + +`stormlock is-held {{리소스}} {{임대_ID}}` diff --git a/pages.ko/common/stow.md b/pages.ko/common/stow.md new file mode 100644 index 00000000000000..f90d29bb3aefa2 --- /dev/null +++ b/pages.ko/common/stow.md @@ -0,0 +1,26 @@ +# stow + +> 심볼릭 링크 관리자. +> 주로 dotfiles 관리를 위해 사용됩니다. +> 같이 보기: `chezmoi`, `tuckr`, `vcsh`, `homeshick`. +> 더 많은 정보: . + +- 모든 파일을 주어진 디렉토리에 재귀적으로 심볼릭 링크 생성: + +`stow --target={{경로/대상/디렉토리}} {{파일1 디렉토리1 파일2 디렉토리2}}` + +- 주어진 디렉토리에서 심볼릭 링크를 재귀적으로 삭제: + +`stow --delete --target={{경로/대상/디렉토리}} {{파일1 디렉토리1 파일2 디렉토리2}}` + +- 결과가 어떻게 될지 시뮬레이션: + +`stow --simulate --target={{경로/대상/디렉토리}} {{파일1 디렉토리1 파일2 디렉토리2}}` + +- 삭제 후 다시 심볼릭 링크 생성: + +`stow --restow --target={{경로/대상/디렉토리}} {{파일1 디렉토리1 파일2 디렉토리2}}` + +- 정규 표현식과 일치하는 파일 제외: + +`stow --ignore={{정규_표현식}} --target={{경로/대상/디렉토리}} {{파일1 디렉토리1 파일2 디렉토리2}}` diff --git a/pages.ko/common/streamlink.md b/pages.ko/common/streamlink.md new file mode 100644 index 00000000000000..e885c25cf1644c --- /dev/null +++ b/pages.ko/common/streamlink.md @@ -0,0 +1,36 @@ +# streamlink + +> 다양한 서비스에서 스트림을 추출하여 원하는 비디오 플레이어로 전달. +> 더 많은 정보: . + +- 지정된 URL에서 스트림을 추출하고 성공하면 선택 가능한 스트림 목록 출력: + +`streamlink {{example.com/stream}}` + +- 지정된 품질로 스트림 열기: + +`streamlink {{example.com/stream}} {{720p60}}` + +- 사용할 수 있는 가장 높은 또는 낮은 품질 선택: + +`streamlink {{example.com/stream}} {{best|worst}}` + +- 특정 플레이어를 사용하여 스트림 데이터를 전달 (기본적으로 VLC가 발견되면 사용됨): + +`streamlink --player={{mpv}} {{example.com/stream}} {{best}}` + +- 스트림 시작 부분에서 특정 시간을 건너뜀. 라이브 스트림의 경우 스트림 끝에서부터 음수 오프셋(되감기): + +`streamlink --hls-start-offset {{[HH:]MM:SS}} {{example.com/stream}} {{best}}` + +- 라이브 스트림의 시작 부분으로 건너뛰거나 가능한 한 뒤로 이동: + +`streamlink --hls-live-restart {{example.com/stream}} {{best}}` + +- 스트림 데이터를 재생 대신 파일에 기록: + +`streamlink --output {{경로/대상/파일.ts}} {{example.com/stream}} {{best}}` + +- 스트림을 플레이어에서 열고 동시에 파일에 기록: + +`streamlink --record {{경로/대상/파일.ts}} {{example.com/stream}} {{best}}` diff --git a/pages.ko/common/streamlit.md b/pages.ko/common/streamlit.md new file mode 100644 index 00000000000000..6e3a66322cf0eb --- /dev/null +++ b/pages.ko/common/streamlit.md @@ -0,0 +1,20 @@ +# streamlit + +> Python에서 상호작용하는 데이터 기반 웹 앱을 만드는 프레임워크. +> 더 많은 정보: . + +- Streamlit 설치 여부 확인: + +`streamlit hello` + +- Streamlit 애플리케이션 실행: + +`streamlit run {{프로젝트_이름}}` + +- 도움말 표시: + +`streamlit --help` + +- 버전 표시: + +`streamlit --version` diff --git a/pages.ko/common/stressapptest.md b/pages.ko/common/stressapptest.md new file mode 100644 index 00000000000000..e5b558d398c5ab --- /dev/null +++ b/pages.ko/common/stressapptest.md @@ -0,0 +1,16 @@ +# stressapptest + +> 사용자 영역 메모리 및 IO 테스트. +> 더 많은 정보: . + +- 주어진 메모리 용량(메가바이트 단위)을 테스트: + +`stressapptest -M {{메모리}}` + +- 메모리와 지정된 파일의 I/O를 테스트: + +`stressapptest -M {{메모리}} -f {{경로/대상/파일}}` + +- 상세 수준을 지정하여 테스트 (0=최저, 20=최고, 8=기본): + +`stressapptest -M {{메모리}} -v {{수준}}` diff --git a/pages.ko/common/strings.md b/pages.ko/common/strings.md new file mode 100644 index 00000000000000..22043db0da39eb --- /dev/null +++ b/pages.ko/common/strings.md @@ -0,0 +1,20 @@ +# strings + +> 객체 파일이나 바이너리에서 출력 가능한 문자열을 찾습니다. +> 더 많은 정보: . + +- 바이너리의 모든 문자열 출력: + +`strings {{경로/대상/파일}}` + +- 결과를 최소 n 글자 이상의 문자열로 제한: + +`strings {{[-n|--bytes]}} {{n}} {{경로/대상/파일}}` + +- 각 결과 앞에 파일 내 오프셋 접두사 추가: + +`strings {{[-t|--radix]}} d {{경로/대상/파일}}` + +- 각 결과 앞에 파일 내 오프셋을 16진수로 접두사 추가: + +`strings {{[-t|--radix]}} x {{경로/대상/파일}}` diff --git a/pages.ko/common/strip-nondeterminism.md b/pages.ko/common/strip-nondeterminism.md new file mode 100644 index 00000000000000..ec431bd9a8c628 --- /dev/null +++ b/pages.ko/common/strip-nondeterminism.md @@ -0,0 +1,16 @@ +# strip-nondeterminism + +> 파일에서 비결정적인 정보(예: 타임스탬프)를 제거. +> 더 많은 정보: . + +- 파일에서 비결정적인 정보 제거: + +`strip-nondeterminism {{경로/대상/파일}}` + +- 파일 유형을 수동으로 지정하여 파일에서 비결정적인 정보 제거: + +`strip-nondeterminism --type {{파일유형}} {{경로/대상/파일}}` + +- 파일에서 비결정적인 정보를 제거하되, 타임스탬프를 제거하는 대신 지정한 UNIX 타임스탬프로 설정: + +`strip-nondeterminism --timestamp {{유닉스_타임스탬프}} {{경로/대상/파일}}` diff --git a/pages.ko/common/stripe.md b/pages.ko/common/stripe.md new file mode 100644 index 00000000000000..b0b8b2bd32d284 --- /dev/null +++ b/pages.ko/common/stripe.md @@ -0,0 +1,24 @@ +# stripe + +> Stripe 계정과 상호 작용. +> 더 많은 정보: . + +- 계정 활동 로그 팔로우: + +`stripe logs tail` + +- `charge.succeeded` 이름의 이벤트를 필터링하여 이벤트 수신 대기하고 이를 localhost:3000/events로 전달: + +`stripe listen --events="{{charge.succeeded}}" --forward-to="{{localhost:3000/events}}"` + +- 테스트 웹훅 이벤트 전송: + +`stripe trigger {{charge.succeeded}}` + +- 고객 생성: + +`stripe customers create --email="{{테스트@example.com}}" --name="{{Jenny Rosen}}"` + +- JSON으로 출력: + +`stripe listen --print-json` diff --git a/pages.ko/common/stty.md b/pages.ko/common/stty.md new file mode 100644 index 00000000000000..de7ea4c9f4cabe --- /dev/null +++ b/pages.ko/common/stty.md @@ -0,0 +1,20 @@ +# stty + +> 터미널 장치 인터페이스의 옵션 설정. +> 더 많은 정보: . + +- 현재 터미널의 모든 설정 표시: + +`stty --all` + +- 행 또는 열의 수 설정: + +`stty {{rows|cols}} {{수}}` + +- 장치의 실제 전송 속도 확인: + +`stty --file {{경로/대상/장치_파일}} speed` + +- 현재 터미널의 모든 모드를 적절한 값으로 재설정: + +`stty sane` diff --git a/pages.ko/common/stun.md b/pages.ko/common/stun.md new file mode 100644 index 00000000000000..96c9a477fd0a79 --- /dev/null +++ b/pages.ko/common/stun.md @@ -0,0 +1,12 @@ +# stun + +> 클래식 STUN 클라이언트. +> 더 많은 정보: . + +- STUN 요청 생성: + +`stun {{STUN 호스트 이름}}` + +- STUN 요청을 하고 소스 포트를 지정: + +`stun {{STUN 호스트 이름}} -p {{4302}}` diff --git a/pages.ko/common/stylua.md b/pages.ko/common/stylua.md new file mode 100644 index 00000000000000..51241347b4aba5 --- /dev/null +++ b/pages.ko/common/stylua.md @@ -0,0 +1,24 @@ +# stylua + +> 고정된 스타일의 Lua 코드 포매터. +> 더 많은 정보: . + +- 파일이나 전체 디렉토리를 자동으로 포맷: + +`stylua {{경로/대상/파일_또는_폴더}}` + +- 특정 파일이 포맷되었는지 확인: + +`stylua --check {{경로/대상/파일}}` + +- 특정 구성 파일로 실행: + +`stylua --config-path {{경로/대상/구성_파일}} {{경로/대상/파일}}` + +- `stdin`에서 코드를 포맷하고 `stdout`으로 출력: + +`stylua - < {{경로/대상/파일.lua}}` + +- 공백을 사용하고 단일 인용부호를 선호하여 파일이나 디렉토리 포맷: + +`stylua --indent-type {{Spaces}} --quote-style {{AutoPreferSingle}} {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/common/subfinder.md b/pages.ko/common/subfinder.md new file mode 100644 index 00000000000000..99b1c7fe853673 --- /dev/null +++ b/pages.ko/common/subfinder.md @@ -0,0 +1,25 @@ +# subfinder + +> 웹사이트의 유효한 하위 도메인을 발견. +> 버그 바운티에 유용하고 침투 테스트에 안전하도록 설계된 패시브 프레임워크. +> 더 많은 정보: . + +- 특정 [d] 도메인의 하위 도메인 찾기: + +`subfinder -d {{example.com}}` + +- 발견된 하위 도메인만 표시: + +`subfinder -silent -d {{example.com}}` + +- 활성 하위 도메인만 표시: + +`subfinder -nW -d {{example.com}}` + +- 모든 소스를 사용하여 열거: + +`subfinder -all -d {{example.com}}` + +- 쉼표로 구분된 [r] 리졸버 목록 사용: + +`subfinder -r {{8.8.8.8,1.1.1.1,...}} -d {{example.com}}` diff --git a/pages.ko/common/subl.md b/pages.ko/common/subl.md new file mode 100644 index 00000000000000..6942aa1feabcda --- /dev/null +++ b/pages.ko/common/subl.md @@ -0,0 +1,24 @@ +# subl + +> Sublime Text 편집기. +> 더 많은 정보: . + +- 현재 디렉토리를 Sublime Text에서 열기: + +`subl .` + +- 파일 또는 디렉토리를 Sublime Text에서 열기: + +`subl {{경로/대상/파일_또는_폴더}}` + +- 파일을 열고 특정 줄 번호로 이동: + +`subl {{경로/대상/파일}}:{{줄_번호}}` + +- 현재 열린 창에서 파일 또는 디렉토리 열기: + +`subl {{[-a|--add]}} {{경로/대상/파일}}` + +- 새 창에서 파일 또는 디렉토리 열기: + +`subl {{[-n|--new-window]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/subliminal.md b/pages.ko/common/subliminal.md new file mode 100644 index 00000000000000..660643d825506d --- /dev/null +++ b/pages.ko/common/subliminal.md @@ -0,0 +1,8 @@ +# subliminal + +> Python 기반 자막 다운로드 도구. +> 더 많은 정보: . + +- 비디오에 대한 영어 자막 다운로드: + +`subliminal download -l {{en}} {{비디오.확장자}}` diff --git a/pages.ko/common/sublist3r.md b/pages.ko/common/sublist3r.md new file mode 100644 index 00000000000000..d173dde6b85cd2 --- /dev/null +++ b/pages.ko/common/sublist3r.md @@ -0,0 +1,20 @@ +# sublist3r + +> 침투 테스터를 위한 빠른 서브도메인 열거 도구. +> 더 많은 정보: . + +- 도메인의 서브도메인 찾기: + +`sublist3r --domain {{도메인_이름}}` + +- 도메인의 서브도메인을 찾고, 브루트 포스 검색도 활성화: + +`sublist3r --domain {{도메인_이름}} --bruteforce` + +- 찾은 서브도메인을 텍스트 파일에 저장: + +`sublist3r --domain {{도메인_이름}} --output {{경로/대상/출력_파일}}` + +- 도움말 표시: + +`sublist3r --help` diff --git a/pages.ko/common/sudo.md b/pages.ko/common/sudo.md new file mode 100644 index 00000000000000..c9dbe5bf962ac9 --- /dev/null +++ b/pages.ko/common/sudo.md @@ -0,0 +1,36 @@ +# sudo + +> 단일 명령을 슈퍼유저 또는 다른 사용자로 실행. +> 더 많은 정보: . + +- 명령을 슈퍼유저로 실행: + +`sudo {{less /var/log/syslog}}` + +- 기본 편집기로 파일을 슈퍼유저 권한으로 편집: + +`sudo {{[-e|--edit]}} {{/etc/fstab}}` + +- 다른 사용자 및/또는 그룹으로 명령 실행: + +`sudo {{[-u|--user]}} {{사용자}} {{[-g|--group]}} {{그룹}} {{id -a}}` + +- 마지막 명령을 `sudo`로 접두사 붙여서 반복 (Bash, Zsh 등에서만 가능): + +`sudo !!` + +- 슈퍼유저 권한으로 기본 셸 시작하고 로그인 관련 파일(`.profile`, `.bash_profile` 등) 실행: + +`sudo {{[-i|--login]}}` + +- 환경을 변경하지 않고 슈퍼유저 권한으로 기본 셸 시작: + +`sudo {{[-s|--shell]}}` + +- 지정된 사용자로 기본 셸 시작, 사용자의 환경을 로드하고 로그인 관련 파일(`.profile`, `.bash_profile` 등) 읽기: + +`sudo {{[-i|--login]}} {{[-u|--user]}} {{사용자}}` + +- 호출한 사용자에 대해 허용된 (및 금지된) 명령 목록 표시: + +`sudo {{[-l|--list]}}` diff --git a/pages.ko/common/sui-client-faucet.md b/pages.ko/common/sui-client-faucet.md new file mode 100644 index 00000000000000..1416d4bd8e20f4 --- /dev/null +++ b/pages.ko/common/sui-client-faucet.md @@ -0,0 +1,16 @@ +# sui client faucet + +> Sui 파셋과 상호작용. +> 더 많은 정보: . + +- 활성 네트워크와 연관된 파셋에서 SUI 코인 받기: + +`sui client faucet` + +- 주소(별칭도 허용)에 대해 SUI 코인 받기: + +`sui client faucet --address {{주소}}` + +- 커스텀 파셋에서 SUI 코인 받기: + +`sui client faucet --url {{커스텀-파셋-URL}}` diff --git a/pages.ko/common/sui-client-ptb.md b/pages.ko/common/sui-client-ptb.md new file mode 100644 index 00000000000000..118962f39ababb --- /dev/null +++ b/pages.ko/common/sui-client-ptb.md @@ -0,0 +1,24 @@ +# sui client ptb + +> 프로그래머블 트랜잭션 블록 생성, 서명 및 실행. +> 더 많은 정보: . + +- 패키지와 모듈에서 Move 함수 호출: + +`sui client ptb --move-call p::m::f "<{{타입}}>" args` + +- u64 타입의 두 요소로 Move 벡터 생성: + +`sui client ptb --make-move-vec "" "[1000,2000]"` + +- 가스 코인을 분할하고 주소로 전송: + +`sui client ptb --split-coins gas "[1000]" --assign new_coins --transfer-objects "[new_coins]" @{{주소}}` + +- 객체를 주소로 전송: + +`sui client ptb --transfer-objects "[{{객체_ID}}]" @{{주소}}` + +- Move 패키지를 게시하고 업그레이드 기능을 송신자에게 전송: + +`sui client ptb --move-call sui::tx_context::sender --assign sender --publish "." --assign upgrade_cap --transfer-objects "[upgrade_cap]" sender` diff --git a/pages.ko/common/sui-client.md b/pages.ko/common/sui-client.md new file mode 100644 index 00000000000000..f5dafc685e8dd7 --- /dev/null +++ b/pages.ko/common/sui-client.md @@ -0,0 +1,36 @@ +# sui client + +> 스마트 계약을 배포하고, 객체 정보를 얻고, 트랜잭션을 실행하는 등의 작업을 수행합니다. +> 더 많은 정보: . + +- ED25519 스키마로 새 주소 생성: + +`sui client new-address ed25519 {{주소_별칭}}` + +- RPC URL과 별칭으로 새 테스트넷 환경 생성: + +`sui client new-env --rpc https://fullnode.testnet.sui.io:443 --alias testnet` + +- 원하는 주소로 전환 (별칭도 허용): + +`sui client switch --address {{주소_별칭}}` + +- 지정된 환경으로 전환: + +`sui client switch --env {{환경_별칭}}` + +- 스마트 계약 배포: + +`sui client publish {{패키지_경로}}` + +- Sui 파셋과 상호작용: + +`sui client faucet {{하위명령어}}` + +- 지정된 주소의 가스 코인 나열 (별칭도 허용): + +`sui client gas {{주소}}` + +- 프로그래머블 트랜잭션 블록 생성, 서명 및 실행: + +`sui client ptb {{옵션}} {{하위명령어}}` diff --git a/pages.ko/common/sui-move.md b/pages.ko/common/sui-move.md new file mode 100644 index 00000000000000..c279da132bd18c --- /dev/null +++ b/pages.ko/common/sui-move.md @@ -0,0 +1,32 @@ +# sui move + +> Move 소스 코드를 다루기 위한 도구. +> 더 많은 정보: . + +- 지정된 폴더에 새 Move 프로젝트 생성: + +`sui move new {{프로젝트_이름}}` + +- 현재 디렉토리에서 Move 프로젝트 테스트: + +`sui move test` + +- 커버리지와 함께 테스트하고 요약 얻기: + +`sui move test --coverage; sui move coverage summary` + +- 테스트에서 코드의 어느 부분이 커버되었는지 찾기 (즉, 커버리지 결과 설명): + +`sui move coverage source --module {{모듈_이름}}` + +- 현재 디렉토리에서 Move 프로젝트 빌드: + +`sui move build` + +- 지정된 경로에서 Move 프로젝트 빌드: + +`sui move build --path {{경로}}` + +- 제공된 경로에 있는 패키지를 Move 2024로 마이그레이션: + +`sui move migrate {{경로}}` diff --git a/pages.ko/common/sui.md b/pages.ko/common/sui.md new file mode 100644 index 00000000000000..4a1cf316f84601 --- /dev/null +++ b/pages.ko/common/sui.md @@ -0,0 +1,24 @@ +# sui + +> Sui 네트워크와 상호작용. +> 더 많은 정보: . + +- Sui 하위 명령 실행: + +`sui {{하위_명령}}` + +- 스마트 계약을 위한 도구 빌드: + +`sui move {{하위_명령}}` + +- 스마트 계약 게시, 객체 정보 가져오기, 트랜잭션 실행 등: + +`sui client {{하위_명령}}` + +- 로컬 네트워크 시작: + +`sui start` + +- 소스에서 업데이트: + +`cargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui` diff --git a/pages.ko/common/sum.md b/pages.ko/common/sum.md new file mode 100644 index 00000000000000..2ed9b1dca25641 --- /dev/null +++ b/pages.ko/common/sum.md @@ -0,0 +1,13 @@ +# sum + +> 파일의 체크섬과 블록 수를 계산. +> 더 현대적인 `cksum`의 전신. +> 더 많은 정보: . + +- BSD 호환 알고리즘과 1024바이트 블록으로 체크섬 계산: + +`sum {{경로/대상/파일}}` + +- System V 호환 알고리즘과 512바이트 블록으로 체크섬 계산: + +`sum {{[-s|--sysv]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/sunicontopnm.md b/pages.ko/common/sunicontopnm.md new file mode 100644 index 00000000000000..09af464a77826a --- /dev/null +++ b/pages.ko/common/sunicontopnm.md @@ -0,0 +1,8 @@ +# sunicontopnm + +> Sun 아이콘을 Netpbm 이미지로 변환. +> 더 많은 정보: . + +- Sun 아이콘을 Netpbm 이미지로 변환: + +`sunicontopnm {{경로/대상/입력.ico}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/sup.md b/pages.ko/common/sup.md new file mode 100644 index 00000000000000..eda221ebe4498a --- /dev/null +++ b/pages.ko/common/sup.md @@ -0,0 +1,9 @@ +# sup + +> 현재 디렉토리에서 RSS 피드를 관리. +> 같이 보기: `lb`. +> 더 많은 정보: . + +- RSS 피드에 기사 추가: + +`sup {{경로/대상/파일.html}}` diff --git a/pages.ko/common/supervisorctl.md b/pages.ko/common/supervisorctl.md new file mode 100644 index 00000000000000..9a46b574eb3400 --- /dev/null +++ b/pages.ko/common/supervisorctl.md @@ -0,0 +1,29 @@ +# supervisorctl + +> Supervisor는 UNIX 계열 운영 체제에서 여러 프로세스를 제어할 수 있게 해주는 클라이언트/서버 시스템입니다. +> Supervisorctl은 shell과 유사한 인터페이스를 제공하는 supervisor의 명령줄 클라이언트입니다. +> 더 많은 정보: . + +- 프로세스의 상태 표시 (`process_name`이 지정되지 않으면 모든 프로세스 표시): + +`supervisorctl status {{프로세스_이름}}` + +- 프로세스 시작/중지/재시작: + +`supervisorctl {{start|stop|restart}} {{프로세스_이름}}` + +- 그룹 내 모든 프로세스 시작/중지/재시작: + +`supervisorctl {{start|stop|restart}} {{그룹_이름}}:*` + +- 프로세스 `stderr`의 마지막 100바이트 표시: + +`supervisorctl tail -100 {{프로세스_이름}} stderr` + +- 프로세스의 `stdout` 계속 표시: + +`supervisorctl tail -f {{프로세스_이름}} stdout` + +- 프로세스 구성 파일을 다시 로드하여 필요한 경우 프로세스를 추가/제거: + +`supervisorctl update` diff --git a/pages.ko/common/supervisord.md b/pages.ko/common/supervisord.md new file mode 100644 index 00000000000000..f8bb70e130ada5 --- /dev/null +++ b/pages.ko/common/supervisord.md @@ -0,0 +1,13 @@ +# supervisord + +> Supervisor는 유닉스 계열 운영 체제에서 일부 프로세스를 제어하기 위한 클라이언트/서버 시스템입니다. +> Supervisord는 Supervisor의 서버 부분으로, 주로 구성 파일을 통해 관리됩니다. +> 더 많은 정보: . + +- 지정된 구성 파일로 `supervisord` 시작: + +`supervisord -c {{경로/대상/파일}}` + +- 포그라운드에서 supervisord 실행: + +`supervisord -n` diff --git a/pages.ko/common/surfraw.md b/pages.ko/common/surfraw.md new file mode 100644 index 00000000000000..560d35cc97a677 --- /dev/null +++ b/pages.ko/common/surfraw.md @@ -0,0 +1,29 @@ +# surfraw + +> 다양한 웹 검색 엔진을 검색. +> 각 웹사이트를 검색하는 방법을 알고 있는 elvi 모음으로 구성됨. +> 더 많은 정보: . + +- 지원되는 웹사이트 검색 스크립트(elvi) 목록 표시: + +`surfraw -elvi` + +- 특정 검색어로 elvi의 결과 페이지를 브라우저에서 열기: + +`surfraw {{elvi}} "{{검색어}}"` + +- elvi 설명 및 특정 옵션 표시: + +`surfraw {{elvi}} -local-help` + +- 특정 옵션을 사용하여 elvi로 검색하고 결과 페이지를 브라우저에서 열기: + +`surfraw {{elvi}} {{elvi_옵션}} "{{검색어}}"` + +- 특정 검색어에 대한 elvi의 결과 페이지 URL 표시: + +`surfraw -print {{elvi}} "{{검색어}}"` + +- 별칭을 사용하여 검색: + +`sr {{elvi}} "{{검색어}}"` diff --git a/pages.ko/common/surge.md b/pages.ko/common/surge.md new file mode 100644 index 00000000000000..c7ee6e51e80e6a --- /dev/null +++ b/pages.ko/common/surge.md @@ -0,0 +1,20 @@ +# surge + +> 간단한 웹 게시. +> 더 많은 정보: . + +- 새로운 사이트를 surge.sh에 업로드: + +`surge {{경로/대상/내_프로젝트}}` + +- 사용자 지정 도메인으로 사이트 배포 (DNS 레코드는 surge.sh 하위 도메인을 가리켜야 함): + +`surge {{경로/대상/내_프로젝트}} {{내_사용자_도메인.com}}` + +- surge 프로젝트 나열: + +`surge list` + +- 프로젝트 제거: + +`surge teardown {{내_사용자_도메인.com}}` diff --git a/pages.ko/common/sv.md b/pages.ko/common/sv.md new file mode 100644 index 00000000000000..7c163d62838875 --- /dev/null +++ b/pages.ko/common/sv.md @@ -0,0 +1,24 @@ +# sv + +> 실행 중인 runsv 서비스를 제어. +> 더 많은 정보: . + +- 서비스 시작: + +`sudo sv up {{경로/대상/서비스}}` + +- 서비스 중지: + +`sudo sv down {{경로/대상/서비스}}` + +- 서비스 상태 확인: + +`sudo sv status {{경로/대상/서비스}}` + +- 서비스 다시 로드: + +`sudo sv reload {{경로/대상/서비스}}` + +- 서비스를 시작하되, 실행 중이지 않은 경우에만 시작하고 중지되면 다시 시작하지 않음: + +`sudo sv once {{경로/대상/서비스}}` diff --git a/pages.ko/common/svgcleaner.md b/pages.ko/common/svgcleaner.md new file mode 100644 index 00000000000000..3fb18df4abcf79 --- /dev/null +++ b/pages.ko/common/svgcleaner.md @@ -0,0 +1,12 @@ +# svgcleaner + +> SVG 최적화 도구. +> 더 많은 정보: . + +- SVG 최적화: + +`svgcleaner {{입력.svg}} {{출력.svg}}` + +- SVG를 여러 번 최적화: + +`svgcleaner --multipass {{입력.svg}} {{출력.svg}}` diff --git a/pages.ko/common/svgo.md b/pages.ko/common/svgo.md new file mode 100644 index 00000000000000..92cb1f45f2eb5f --- /dev/null +++ b/pages.ko/common/svgo.md @@ -0,0 +1,33 @@ +# svgo + +> SVG Optimizer: Scalable Vector Graphics 파일 최적화 도구. Node.js 기반. +> 개별적으로 토글할 수 있는 일련의 변환 규칙(플러그인)을 적용합니다. +> 더 많은 정보: . + +- 기본 플러그인을 사용하여 파일 최적화 (원본 파일을 덮어씁니다): + +`svgo {{테스트.svg}}` + +- 파일을 최적화하고 결과를 다른 파일에 저장: + +`svgo {{테스트.svg}} -o {{테스트.min.svg}}` + +- 디렉토리 내 모든 SVG 파일 최적화 (원본 파일을 덮어씁니다): + +`svgo -f {{경로/대상/폴더/안의/svg/파일들}}` + +- 디렉토리 내 모든 SVG 파일을 최적화하고 결과 파일을 다른 디렉토리에 저장: + +`svgo -f {{입력/디렉토리/경로}} -o {{출력/디렉토리/경로}}` + +- 다른 명령에서 전달된 SVG 콘텐츠를 최적화하고 결과를 파일에 저장: + +`{{cat 테스트.svg}} | svgo -i - -o {{테스트.min.svg}}` + +- 파일을 최적화하고 결과를 출력: + +`svgo {{테스트.svg}} -o -` + +- 사용 가능한 플러그인 보기: + +`svgo --show-plugins` diff --git a/pages.ko/common/svgr.md b/pages.ko/common/svgr.md new file mode 100644 index 00000000000000..14016463887c12 --- /dev/null +++ b/pages.ko/common/svgr.md @@ -0,0 +1,32 @@ +# svgr + +> SVG를 React 컴포넌트로 변환. +> 더 많은 정보: . + +- SVG 파일을 React 컴포넌트로 변환하여 `stdout`으로 출력: + +`svgr -- {{경로/대상/파일.svg}}` + +- SVG 파일을 TypeScript를 사용하여 React 컴포넌트로 변환하여 `stdout`으로 출력: + +`svgr --typescript -- {{경로/대상/파일.svg}}` + +- SVG 파일을 JSX 변환을 사용하여 React 컴포넌트로 변환하여 `stdout`으로 출력: + +`svgr --jsx-runtime automatic -- {{경로/대상/파일.svg}}` + +- 디렉터리의 모든 SVG 파일을 특정 디렉터리의 React 컴포넌트로 변환: + +`svgr --out-dir {{경로/대상/출력_폴더}} {{경로/대상/입력_폴더}}` + +- 이미 변환된 파일을 건너뛰고 디렉터리의 모든 SVG 파일을 특정 디렉터리의 React 컴포넌트로 변환: + +`svgr --out-dir {{경로/대상/출력_폴더}} --ignore-existing {{경로/대상/입력_폴더}}` + +- 파일 이름에 특정 케이스를 사용하여 디렉터리의 모든 SVG 파일을 특정 디렉터리의 React 컴포넌트로 변환: + +`svgr --out-dir {{경로/대상/출력_폴더}} --filename-case {{camel|kebab|pascal}} {{경로/대상/입력_폴더}}` + +- 색인 파일을 생성하지 않고 디렉터리의 모든 SVG 파일을 특정 디렉터리의 React 컴포넌트로 변환: + +`svgr --out-dir {{경로/대상/출력_폴더}} --no-index {{경로/대상/입력_폴더}}` diff --git a/pages.ko/common/svn-changelist.md b/pages.ko/common/svn-changelist.md new file mode 100644 index 00000000000000..b2d5b27643b4ab --- /dev/null +++ b/pages.ko/common/svn-changelist.md @@ -0,0 +1,24 @@ +# svn changelist + +> 파일 세트에 변경 목록을 연결. +> 더 많은 정보: . + +- 파일을 변경 목록에 추가하며, 변경 목록이 존재하지 않을 경우 생성: + +`svn changelist {{변경목록_이름}} {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 파일을 변경 목록에서 제거: + +`svn changelist --remove {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 전체 변경 목록을 한 번에 제거: + +`svn changelist --remove --recursive --changelist {{변경목록_이름}} .` + +- 공백으로 구분된 디렉토리 목록의 내용을 변경 목록에 추가: + +`svn changelist --recursive {{변경목록_이름}} {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 변경 목록 커밋: + +`svn commit --changelist {{변경목록_이름}}` diff --git a/pages.ko/common/svn.md b/pages.ko/common/svn.md new file mode 100644 index 00000000000000..974fa5682b87a8 --- /dev/null +++ b/pages.ko/common/svn.md @@ -0,0 +1,28 @@ +# svn + +> Subversion 명령줄 클라이언트 도구. +> 더 많은 정보: . + +- 저장소에서 작업 복사본 체크아웃: + +`svn co {{저장소/URL}}` + +- 저장소의 변경 사항을 작업 복사본에 반영: + +`svn up` + +- 파일 및 디렉토리를 버전 관리에 추가하여 저장소에 추가될 준비. 다음 커밋에 추가됨: + +`svn add {{경로}}` + +- 작업 복사본의 변경 사항을 저장소에 전송: + +`svn ci -m {{커밋_로그_메시지}} [{{경로}}]` + +- 마지막 10개 리비전의 변경 사항을 표시하고 각 리비전에 수정된 파일 표시: + +`svn log -vl {{10}}` + +- 도움말 표시: + +`svn help` diff --git a/pages.ko/common/swagger-codegen.md b/pages.ko/common/swagger-codegen.md new file mode 100644 index 00000000000000..296d1bb99e3182 --- /dev/null +++ b/pages.ko/common/swagger-codegen.md @@ -0,0 +1,20 @@ +# swagger-codegen + +> OpenAPI/swagger 정의에서 REST API에 대한 코드와 문서를 생성합니다. +> 더 많은 정보: . + +- OpenAPI/swagger 파일에서 문서와 코드 생성: + +`swagger-codegen generate -i {{swagger_파일}} -l {{언어}}` + +- 라이브러리 retrofit2와 옵션 useRxJava2를 사용하여 Java 코드 생성: + +`swagger-codegen generate -i {{http://petstore.swagger.io/v2/swagger.json}} -l {{java}} --library {{retrofit2}} -D{{useRxJava2}}={{true}}` + +- 사용 가능한 언어 나열: + +`swagger-codegen langs` + +- 특정 명령에 대한 도움말 표시: + +`swagger-codegen {{generate|config-help|meta|langs|version}} --help` diff --git a/pages.ko/common/swaybg.md b/pages.ko/common/swaybg.md new file mode 100644 index 00000000000000..ebd84067b6dba4 --- /dev/null +++ b/pages.ko/common/swaybg.md @@ -0,0 +1,16 @@ +# swaybg + +> Wayland 합성기용 배경화면 도구. +> 더 많은 정보: . + +- 배경화면을 [i]이미지로 설정: + +`swaybg --image {{경로/대상/이미지}}` + +- 배경화면 [m]모드 설정: + +`swaybg --image {{경로/대상/이미지}} --mode {{stretch|fit|fill|center|tile|solid_color}}` + +- 배경화면을 고정된 [c]색상으로 설정: + +`swaybg --color "{{#rrggbb}}"` diff --git a/pages.ko/common/swayidle.md b/pages.ko/common/swayidle.md new file mode 100644 index 00000000000000..f304c210f8239b --- /dev/null +++ b/pages.ko/common/swayidle.md @@ -0,0 +1,13 @@ +# swayidle + +> Wayland용 유휴 관리 데몬. +> 참고: 구성 옵션은 매뉴얼 페이지에 문서화되어 있습니다. +> 더 많은 정보: . + +- `$XDG_CONFIG_HOME/swayidle/config` 또는 `$HOME/swayidle/config`에 있는 구성을 사용하여 유휴 활동 수신 대기: + +`swayidle` + +- 대체 구성 [f]파일 경로 지정: + +`swayidle -C {{경로/대상/파일}}` diff --git a/pages.ko/common/swaylock.md b/pages.ko/common/swaylock.md new file mode 100644 index 00000000000000..8bc9f2e116dab9 --- /dev/null +++ b/pages.ko/common/swaylock.md @@ -0,0 +1,32 @@ +# swaylock + +> Wayland 컴포지터용 화면 잠금 도구. +> 더 많은 정보: . + +- 흰색 배경으로 화면 잠금: + +`swaylock` + +- 단색 배경으로 화면 잠금 (rrggbb 형식): + +`swaylock --color {{0000ff}}` + +- PNG 배경 이미지로 화면 잠금: + +`swaylock --image {{경로/대상/파일.png}}` + +- 잠금 해제 표시기를 비활성화하고 화면 잠금 (키 입력 시 피드백 제거): + +`swaylock --no-unlock-indicator` + +- 모든 모니터에 타일 형식으로 PNG 배경 이미지로 화면 잠금: + +`swaylock --image {{경로/대상/파일.png}} --tiling` + +- 실패한 로그인 시도 횟수를 표시하며 화면 잠금: + +`swaylock --show-failed-attempts` + +- 파일에서 설정 불러오기: + +`swaylock --config {{경로/대상/설정}}` diff --git a/pages.ko/common/swc.md b/pages.ko/common/swc.md new file mode 100644 index 00000000000000..c7d02a3760ba3a --- /dev/null +++ b/pages.ko/common/swc.md @@ -0,0 +1,28 @@ +# swc + +> Rust로 작성된 JavaScript 및 TypeScript 컴파일러. +> 더 많은 정보: . + +- 지정된 입력 파일을 변환하여 `stdout`에 출력: + +`swc {{경로/대상/파일}}` + +- 입력 파일이 변경될 때마다 변환: + +`swc {{경로/대상/파일}} --watch` + +- 지정된 입력 파일을 변환하여 특정 파일에 출력: + +`swc {{경로/대상/입력_파일}} --out-file {{경로/대상/출력_파일}}` + +- 지정된 입력 디렉토리를 변환하여 특정 디렉토리에 출력: + +`swc {{경로/대상/입력_폴더}} --out-dir {{경로/대상/출력_폴더}}` + +- 특정 설정 파일을 사용하여 지정된 입력 디렉토리를 변환: + +`swc {{경로/대상/입력_폴더}} --config-file {{경로/대상/.swcrc}}` + +- glob 경로를 사용하여 지정된 디렉토리의 파일 무시: + +`swc {{경로/대상/입력_폴더}} --ignore {{경로/대상/무시할_파일1 경로/대상/무시할_파일2 ...}}` diff --git a/pages.ko/common/swift.md b/pages.ko/common/swift.md new file mode 100644 index 00000000000000..9c8d80f077e480 --- /dev/null +++ b/pages.ko/common/swift.md @@ -0,0 +1,28 @@ +# swift + +> Swift 프로젝트를 생성, 실행 및 빌드. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`swift repl` + +- 프로그램 실행: + +`swift {{파일.swift}}` + +- 패키지 관리자로 새 프로젝트 시작: + +`swift package init` + +- Xcode 프로젝트 파일 생성: + +`swift package generate-xcodeproj` + +- 의존성 업데이트: + +`swift package update` + +- 프로젝트를 릴리스용으로 컴파일: + +`swift build -c release` diff --git a/pages.ko/common/swig.md b/pages.ko/common/swig.md new file mode 100644 index 00000000000000..b7c174d2f4ecc9 --- /dev/null +++ b/pages.ko/common/swig.md @@ -0,0 +1,21 @@ +# swig + +> C/C++ 코드와 JavaScript, Python, C# 등 다양한 고급 언어 간의 바인딩을 생성합니다. +> `.i` 또는 `.swg` 파일을 사용하여 바인딩을 생성하며, SWIG 지시어가 포함된 C/C++ 파일을 출력하여 확장 모듈을 빌드하는 데 필요한 모든 래퍼 코드를 포함합니다. +> 더 많은 정보: . + +- C++와 Python 간의 바인딩 생성: + +`swig -c++ -python -o {{경로/대상/출력_래퍼.cpp}} {{경로/대상/swig_파일.i}}` + +- C++와 Go 간의 바인딩 생성: + +`swig -go -cgo -intgosize 64 -c++ {{경로/대상/swig_파일.i}}` + +- C와 Java 간의 바인딩 생성: + +`swig -java {{경로/대상/swig_파일.i}}` + +- C와 Ruby 간의 바인딩 생성 및 Ruby 모듈에 `foo::bar::` 접두사 추가: + +`swig -ruby -prefix "{{foo::bar::}}" {{경로/대상/swig_파일.i}}` diff --git a/pages.ko/common/swipl.md b/pages.ko/common/swipl.md new file mode 100644 index 00000000000000..e669ce61a8885b --- /dev/null +++ b/pages.ko/common/swipl.md @@ -0,0 +1,24 @@ +# swipl + +> SWI-Prolog - 포괄적인 무료 Prolog 환경. +> 더 많은 정보: . + +- 대화형 세션 시작: + +`swipl` + +- 출력을 표시하지 않고 명령 실행: + +`swipl --quiet -t "{{명령}}"` + +- 스크립트 실행: + +`swipl {{경로/대상/파일.pl}}` + +- 모든 셸 구성 변수 출력: + +`swipl --dump-runtime-variables` + +- 버전 표시: + +`swipl --version` diff --git a/pages.ko/common/symfony.md b/pages.ko/common/symfony.md new file mode 100644 index 00000000000000..35f7c5a799fb6a --- /dev/null +++ b/pages.ko/common/symfony.md @@ -0,0 +1,20 @@ +# symfony + +> Symfony 프레임워크의 콘솔 컴포넌트. +> 더 많은 정보: . + +- 새로운 Symfony 프로젝트 생성: + +`symfony new {{이름}}` + +- 로컬 웹 서버 실행: + +`symfony serve` + +- 로컬 웹 서버 중지: + +`symfony server:stop` + +- 프로젝트의 종속성에서 보안 문제 확인: + +`symfony security:check` diff --git a/pages.ko/common/sync.md b/pages.ko/common/sync.md new file mode 100644 index 00000000000000..a3c5fa91370f2a --- /dev/null +++ b/pages.ko/common/sync.md @@ -0,0 +1,12 @@ +# sync + +> 모든 보류 중인 쓰기 작업을 적절한 디스크에 플러시합니다. +> 더 많은 정보: . + +- 모든 디스크에서 보류 중인 모든 쓰기 작업 플러시: + +`sync` + +- 단일 파일의 보류 중인 쓰기 작업을 디스크에 플러시: + +`sync {{경로/대상/파일}}` diff --git a/pages.ko/common/syncthing.md b/pages.ko/common/syncthing.md new file mode 100644 index 00000000000000..98a71e03a4b365 --- /dev/null +++ b/pages.ko/common/syncthing.md @@ -0,0 +1,36 @@ +# syncthing + +> 지속적인 양방향 분산 폴더 동기화 도구. +> 더 많은 정보: . + +- Syncthing 시작: + +`syncthing` + +- 웹 브라우저를 열지 않고 Syncthing 시작: + +`syncthing --no-browser` + +- 홈 디렉토리 변경: + +`syncthing --home {{디렉토리/경로}}` + +- 로깅을 증가시켜 Syncthing 실행: + +`syncthing --verbose` + +- 모든 장치 일시 중지: + +`syncthing cli config devices pause --all` + +- 모든 장치 다시 시작: + +`syncthing cli config devices resume --all` + +- 웹 인터페이스가 수신 대기하는 주소 변경: + +`syncthing --gui-address {{아이피주소:포트|소켓/경로/소켓.sock}}` + +- 출력 로그 레벨 설정: + +`syncthing --log-level {{정보|경고|오류|디버그}}` diff --git a/pages.ko/common/sysbench.md b/pages.ko/common/sysbench.md new file mode 100644 index 00000000000000..3140c8ecdf6d11 --- /dev/null +++ b/pages.ko/common/sysbench.md @@ -0,0 +1,24 @@ +# sysbench + +> 시스템의 CPU, IO 및 메모리를 벤치마킹. +> 더 많은 정보: . + +- 1개의 스레드로 10초 동안 CPU 벤치마크 실행: + +`sysbench cpu run` + +- 여러 스레드로 지정된 시간 동안 CPU 벤치마크 실행: + +`sysbench --threads={{스레드_수}} --time={{초}}` + +- 1개의 스레드로 10초 동안 메모리 벤치마크 실행: + +`sysbench memory run` + +- 파일 시스템 수준의 읽기 벤치마크 준비: + +`sysbench fileio prepare` + +- 파일 시스템 수준의 벤치마크 실행: + +`sysbench --file-test-mode={{rndrd|rndrw|rndwr|seqrd|seqrewr|seqwr}} fileio run` diff --git a/pages.ko/common/tabula.md b/pages.ko/common/tabula.md new file mode 100644 index 00000000000000..330b4f5f98b7e5 --- /dev/null +++ b/pages.ko/common/tabula.md @@ -0,0 +1,28 @@ +# tabula + +> PDF 파일에서 테이블을 추출. +> 더 많은 정보: . + +- PDF에서 모든 테이블을 CSV 파일로 추출: + +`tabula -o {{파일.csv}} {{파일.pdf}}` + +- PDF에서 모든 테이블을 JSON 파일로 추출: + +`tabula --format JSON -o {{파일.json}} {{파일.pdf}}` + +- PDF의 1, 2, 3, 6 페이지에서 테이블 추출: + +`tabula --pages {{1-3,6}} {{파일.pdf}}` + +- PDF의 1 페이지에서 테이블을 추출하며, 분석할 페이지의 부분을 추측: + +`tabula --guess --pages {{1}} {{파일.pdf}}` + +- 셀 경계를 결정하기 위해 줄을 사용하여 PDF에서 모든 테이블 추출: + +`tabula --spreadsheet {{파일.pdf}}` + +- 셀 경계를 결정하기 위해 빈 공간을 사용하여 PDF에서 모든 테이블 추출: + +`tabula --no-spreadsheet {{파일.pdf}}` diff --git a/pages.ko/common/tac.md b/pages.ko/common/tac.md new file mode 100644 index 00000000000000..52862c84be7bca --- /dev/null +++ b/pages.ko/common/tac.md @@ -0,0 +1,25 @@ +# tac + +> 파일을 역순으로 표시하고 연결. +> 같이 보기: `cat`. +> 더 많은 정보: . + +- 특정 파일들을 역순으로 연결: + +`tac {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- `stdin`을 역순으로 표시: + +`{{cat 경로/대상/파일}} | tac` + +- 특정 [s]eparator 사용: + +`tac -s {{구분자}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 [r]egex를 [s]eparator로 사용: + +`tac -r -s {{구분자}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 각 파일 앞에 구분자 [b]efore 사용: + +`tac -b {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/tail.md b/pages.ko/common/tail.md new file mode 100644 index 00000000000000..51861489b5c484 --- /dev/null +++ b/pages.ko/common/tail.md @@ -0,0 +1,29 @@ +# tail + +> 파일의 마지막 부분을 표시. +> 같이 보기: `head`. +> 더 많은 정보: . + +- 파일에서 마지막 'count' 줄 표시: + +`tail {{[-n|--lines]}} {{줄_수}} {{경로/대상/파일}}` + +- 특정 줄 번호부터 파일 출력: + +`tail {{[-n|--lines]}} +{{줄_수}} {{경로/대상/파일}}` + +- 주어진 파일의 끝에서 특정 바이트 수 출력: + +`tail {{[-n|--lines]}} {{바이트_수}} {{경로/대상/파일}}` + +- 주어진 파일의 마지막 줄을 출력하고 ``를 누를 때까지 계속 읽기: + +`tail {{[-f|--follow]}} {{경로/대상/파일}}` + +- 파일이 접근할 수 없는 경우에도 ``를 누를 때까지 계속 읽기: + +`tail {{[-F|--retry --follow]}} {{경로/대상/파일}}` + +- '파일'의 마지막 'num' 줄을 표시하고 'n' 초마다 새로 고침: + +`tail {{[-n|--lines]}} {{줄_수}} {{[-s|--sleep-interval]}} {{초}} {{[-f|--follow]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/tailscale-file.md b/pages.ko/common/tailscale-file.md new file mode 100644 index 00000000000000..51d115a978c6fa --- /dev/null +++ b/pages.ko/common/tailscale-file.md @@ -0,0 +1,13 @@ +# tailscale file + +> Tailscale 네트워크에서 연결된 장치 간에 파일을 전송. +> 현재 동일한 Tailscale 네트워크 내에서도 다른 사용자가 소유한 장치로 파일을 보내는 것은 지원하지 않습니다. +> 더 많은 정보: . + +- 특정 노드로 파일 전송: + +`sudo tailscale file cp {{경로/대상/파일}} {{호스트명|IP}}:` + +- 현재 노드로 전송된 파일을 특정 디렉토리에 저장: + +`sudo tailscale file get {{경로/대상/폴더}}` diff --git a/pages.ko/common/tailscale-ssh.md b/pages.ko/common/tailscale-ssh.md new file mode 100644 index 00000000000000..b6782dd4239a84 --- /dev/null +++ b/pages.ko/common/tailscale-ssh.md @@ -0,0 +1,12 @@ +# tailscale ssh + +> Tailscale 머신에 SSH 접속 (리눅스 전용). +> 더 많은 정보: . + +- 호스트에서 SSH 광고/비활성화: + +`sudo tailscale up --ssh={{true|false}}` + +- Tailscale-SSH가 활성화된 특정 호스트에 SSH 접속: + +`tailscale ssh {{사용자명}}@{{호스트}}` diff --git a/pages.ko/common/tailscale-up.md b/pages.ko/common/tailscale-up.md new file mode 100644 index 00000000000000..d01c4decff1aa6 --- /dev/null +++ b/pages.ko/common/tailscale-up.md @@ -0,0 +1,37 @@ +# tailscale up + +> 클라이언트를 Tailscale 네트워크에 연결. +> 버전 1.8 이상에서는 명령줄 인수가 저장되어 덮어쓰거나 `--reset`을 호출할 때까지 재사용됩니다. +> 더 많은 정보: . + +- Tailscale에 연결: + +`sudo tailscale up` + +- 연결하고 현재 기기를 인터넷 트래픽의 종료 노드로 제공: + +`sudo tailscale up --advertise-exit-node` + +- 특정 노드를 인터넷 트래픽을 위한 종료 노드로 사용하여 연결: + +`sudo tailscale up --exit-node={{종료_노드_IP}}` + +- 연결하고 현재 노드로의 수신 연결 차단: + +`sudo tailscale up --shields-up` + +- 연결하고 관리자 패널의 DNS 구성을 수락하지 않음 (기본값은 `true`): + +`sudo tailscale up --accept-dns=false` + +- 연결하고 Tailscale을 서브넷 라우터로 구성: + +`sudo tailscale up --advertise-routes={{10.0.0.0/24,10.0.1.0/24,...}}` + +- 연결하고 Tailscale에서 서브넷 경로 수락: + +`sudo tailscale up --accept-routes` + +- 지정되지 않은 설정을 기본값으로 재설정하고 연결: + +`sudo tailscale up --reset` diff --git a/pages.ko/common/tailscale.md b/pages.ko/common/tailscale.md new file mode 100644 index 00000000000000..a6a085d62f8435 --- /dev/null +++ b/pages.ko/common/tailscale.md @@ -0,0 +1,37 @@ +# tailscale + +> 개인 WireGuard 네트워크 서비스. +> `up`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- Tailscale에 연결: + +`sudo tailscale up` + +- Tailscale에서 연결 해제: + +`sudo tailscale down` + +- 현재 Tailscale IP 주소 표시: + +`tailscale ip` + +- Tailscale 계층에서 피어 노드를 핑하고 각 응답에 대한 경로 표시: + +`tailscale ping {{IP|호스트명}}` + +- 로컬 네트워크 상태를 분석하고 결과 표시: + +`tailscale netcheck` + +- Tailscale을 제어하기 위한 웹 서버 시작: + +`tailscale web` + +- 문제 진단을 돕기 위한 공유 가능한 식별자 표시: + +`tailscale bugreport` + +- 하위 명령에 대한 도움말 표시: + +`tailscale {{하위_명령}} --help` diff --git a/pages.ko/common/takeout.md b/pages.ko/common/takeout.md new file mode 100644 index 00000000000000..103c5787afe3ea --- /dev/null +++ b/pages.ko/common/takeout.md @@ -0,0 +1,36 @@ +# takeout + +> Docker 기반의 개발 전용 의존성 관리자. +> 더 많은 정보: . + +- 사용 가능한 서비스 목록 표시: + +`takeout enable` + +- 특정 서비스 활성화: + +`takeout enable {{이름}}` + +- 기본 매개변수로 특정 서비스 활성화: + +`takeout enable --default {{이름}}` + +- 활성화된 서비스 목록 표시: + +`takeout disable` + +- 특정 서비스 비활성화: + +`takeout disable {{이름}}` + +- 모든 서비스 비활성화: + +`takeout disable --all` + +- 특정 컨테이너 시작: + +`takeout start {{컨테이너_ID}}` + +- 특정 컨테이너 중지: + +`takeout stop {{컨테이너_ID}}` diff --git a/pages.ko/common/tar.md b/pages.ko/common/tar.md new file mode 100644 index 00000000000000..e09b1d403f7466 --- /dev/null +++ b/pages.ko/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> 아카이브 유틸리티. +> 종종 `gzip` 또는 `bzip2`와 같은 압축 방법과 결합하여 사용됩니다. +> 더 많은 정보: . + +- 아카이브 생성 후 파일로 저장: + +`tar cf {{경로/대상/파일.tar}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- g[z]ipped 아카이브 생성 후 파일로 저장: + +`tar czf {{경로/대상/파일.tar.gz}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 디렉토리에서 상대 경로를 사용하여 g[z]ipped (압축된) 아카이브 생성: + +`tar czf {{경로/대상/파일.tar.gz}} {{[-C|--directory]}} {{경로/대상/폴더}} .` + +- (압축된) 아카이브 파일을 현재 디렉토리에 상세히 추출: + +`tar xvf {{경로/대상/원본.tar[.gz|.bz2|.xz]}}` + +- (압축된) 아카이브 파일을 대상 디렉토리에 추출: + +`tar xf {{경로/대상/원본.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{경로/대상/폴더}}` + +- 파일 확장자를 사용하여 압축 프로그램을 자동으로 결정하고 압축 아카이브 생성 후 파일로 저장: + +`tar caf {{경로/대상/파일.tar.xz}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- tar 파일의 내용을 상세히 목록화: + +`tar tvf {{경로/대상/원본.tar}}` + +- 아카이브 파일에서 패턴과 일치하는 파일 추출: + +`tar xf {{경로/대상/원본.tar}} --wildcards "{{*.html}}"` diff --git a/pages.ko/common/tarsnap-keygen.md b/pages.ko/common/tarsnap-keygen.md new file mode 100644 index 00000000000000..459b46269f0f35 --- /dev/null +++ b/pages.ko/common/tarsnap-keygen.md @@ -0,0 +1,12 @@ +# tarsnap-keygen + +> Tarsnap, 온라인 백업 서비스에서 사용할 키 파일을 생성. +> 더 많은 정보: . + +- Tarsnap 서버에 컴퓨터 등록: + +`sudo tarsnap-keygen --keyfile {{경로/대상/파일.key}} --user {{사용자_이메일}} --machine {{컴퓨터_이름}}` + +- 키 파일 암호화(암호문을 두 번 입력해야 함): + +`sudo tarsnap-keygen --keyfile {{경로/대상/파일.key}} --user {{사용자_이메일}} --machine {{컴퓨터_이름}} --passphrased` diff --git a/pages.ko/common/tarsnap.md b/pages.ko/common/tarsnap.md new file mode 100644 index 00000000000000..8e61189b90dff8 --- /dev/null +++ b/pages.ko/common/tarsnap.md @@ -0,0 +1,34 @@ +# tarsnap + +> 원격 Tarsnap 암호화 백업을 조작. +> 참고: `/usr/local/etc/tarsnap.conf` 또는 `~/.tarsnaprc`에서 설정하면 키 파일과 캐시 디렉토리를 지정할 필요가 없습니다. +> 같이 보기: `tarsnap-keygen`. +> 더 많은 정보: . + +- 하나 이상의 파일 또는 디렉토리에 대한 백업 아카이브 생성, 암호화 키와 캐시 디렉토리 지정: + +`tarsnap -c --keyfile {{경로/대상/키_파일}} --cachedir {{경로/대상/캐시_디렉토리}} -f {{아카이브_이름}} {{경로/대상/파일_또는_디렉토리1 경로/대상/파일_또는_디렉토리2 ...}}` + +- 업로드될 데이터 양 표시: + +`tarsnap -c --dry-run --print-stats --keyfile {{경로/대상/키_파일}} --cachedir {{경로/대상/캐시_디렉토리}} -f {{아카이브_이름}} {{경로/대상/파일_또는_디렉토리1 경로/대상/파일_또는_디렉토리2 ...}}` + +- 저장된 아카이브 목록 표시: + +`tarsnap --list-archives --keyfile {{경로/대상/키_파일}}` + +- 특정 아카이브 삭제: + +`tarsnap -d --keyfile {{경로/대상/키_파일}} --cachedir {{경로/대상/캐시_디렉토리}} -f {{아카이브_이름}}` + +- 특정 아카이브의 내용을 상세 모드로 목록화: + +`tarsnap -tv --keyfile {{경로/대상/키_파일}} -f {{아카이브_이름}}` + +- 특정 아카이브에서 하나 이상의 파일 또는 디렉토리 복원: + +`tarsnap -x --keyfile {{경로/대상/키_파일}} -f {{아카이브_이름}} {{경로/대상/파일_또는_디렉토리1 경로/대상/파일_또는_디렉토리2 ...}}` + +- 아카이브 복사: + +`tarsnap -c --keyfile {{경로/대상/키_파일}} -f {{새_아카이브_이름}} @@{{원본_아카이브_이름}}` diff --git a/pages.ko/common/task.md b/pages.ko/common/task.md new file mode 100644 index 00000000000000..44952303584272 --- /dev/null +++ b/pages.ko/common/task.md @@ -0,0 +1,36 @@ +# task + +> 명령줄 할 일 목록 관리 도구. +> 더 많은 정보: . + +- 내일까지 완료해야 할 새로운 작업 추가: + +`task add {{설명}} due:{{내일}}` + +- 작업의 우선순위 업데이트: + +`task {{작업_ID}} modify priority:{{H|M|L}}` + +- 작업 완료: + +`task {{작업_ID}} done` + +- 작업 삭제: + +`task {{작업_ID}} delete` + +- 모든 열려 있는 작업 나열: + +`task list` + +- 이번 주 말까지 마감인 열려 있는 작업 나열: + +`task list due.before:{{주말}}` + +- 일별 그래픽 번다운 차트 표시: + +`task burndown.daily` + +- 모든 보고서 나열: + +`task reports` diff --git a/pages.ko/common/tb.md b/pages.ko/common/tb.md new file mode 100644 index 00000000000000..63ae8290fe9414 --- /dev/null +++ b/pages.ko/common/tb.md @@ -0,0 +1,28 @@ +# tb + +> 여러 보드에서 작업과 메모를 관리. +> 더 많은 정보: . + +- 보드에 새 작업 추가: + +`tb --task {{작업_설명}} @{{보드_이름}}` + +- 보드에 새 메모 추가: + +`tb --note {{메모_설명}} @{{보드_이름}}` + +- 항목의 우선순위 수정: + +`tb --priority @{{항목_ID}} {{우선순위}}` + +- 항목 체크/체크 해제: + +`tb --check {{항목_ID}}` + +- 체크된 모든 항목 아카이브: + +`tb --clear` + +- 항목을 다른 보드로 이동: + +`tb --move @{{항목_ID}} {{보드_이름}}` diff --git a/pages.ko/common/tbl.md b/pages.ko/common/tbl.md new file mode 100644 index 00000000000000..c3ea128c6e76d6 --- /dev/null +++ b/pages.ko/common/tbl.md @@ -0,0 +1,13 @@ +# tbl + +> groff (GNU Troff) 문서 형식 시스템을 위한 테이블 전처리기. +> 같이 보기: `groff`, `troff`. +> 더 많은 정보: . + +- 입력에 포함된 테이블을 처리하여, 후에 groff로 PostScript 형식으로 조판할 수 있도록 출력 저장: + +`tbl {{경로/대상/입력_파일}} > {{경로/대상/출력.roff}}` + +- [me] 매크로 패키지를 사용하여 테이블이 있는 입력을 PDF로 조판: + +`tbl -T {{pdf}} {{경로/대상/입력.tbl}} | groff -{{me}} -T {{pdf}} > {{경로/대상/출력.pdf}}` diff --git a/pages.ko/common/tcc.md b/pages.ko/common/tcc.md new file mode 100644 index 00000000000000..264162c967f858 --- /dev/null +++ b/pages.ko/common/tcc.md @@ -0,0 +1,16 @@ +# tcc + +> C 소스 파일을 스크립트처럼 실행할 수 있는 작은 C 컴파일러로, `gcc`와 유사한 명령줄 옵션을 제공합니다. +> 더 많은 정보: . + +- 두 개의 소스 파일을 컴파일하고 링크하여 실행 파일 생성: + +`tcc -o {{실행_파일_이름}} {{경로/대상/파일1.c}} {{경로/대상/파일2.c}}` + +- 입력 파일을 스크립트처럼 직접 실행하고 인자를 전달: + +`tcc -run {{경로/대상/소스_파일.c}} {{인자들}}` + +- 파일 내에 shebang을 사용하여 C 소스 파일 해석: + +`#!{{/전체/경로/대상/tcc}} -run` diff --git a/pages.ko/common/tcpdump.md b/pages.ko/common/tcpdump.md new file mode 100644 index 00000000000000..feaa33979b0b01 --- /dev/null +++ b/pages.ko/common/tcpdump.md @@ -0,0 +1,36 @@ +# tcpdump + +> 네트워크의 트래픽 덤프. +> 더 많은 정보: . + +- 사용 가능한 네트워크 인터페이스 나열: + +`tcpdump {{[-D|--list-interfaces]}}` + +- 특정 인터페이스의 트래픽 캡처: + +`sudo tcpdump {{[-i|--interface]}} {{eth0}}` + +- 콘솔에서 콘텐츠(ASCII)를 표시하는 모든 TCP 트래픽을 캡처: + +`tcpdump -A tcp` + +- 호스트에서 들어오고 나가는 트래픽을 캡처: + +`tcpdump host {{www.example.com}}` + +- 특정 인터페이스, 소스, 목적지 및 목적지 포트에서 트래픽을 캡처: + +`sudo tcpdump {{[-i|--interface]}} {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port {{80}}` + +- 네트워크 트래픽 캡처: + +`tcpdump net {{192.168.1.0/24}}` + +- 포트 22를 통한 트래픽을 제외한 모든 트래픽을 캡처하고 덤프 파일에 저장: + +`tcpdump -w {{dumpfile.pcap}} port not {{22}}` + +- 지정된 덤프 파일에서 읽기: + +`tcpdump -r {{dumpfile.pcap}}` diff --git a/pages.ko/common/tcsh.md b/pages.ko/common/tcsh.md new file mode 100644 index 00000000000000..81205499d59f8e --- /dev/null +++ b/pages.ko/common/tcsh.md @@ -0,0 +1,29 @@ +# tcsh + +> 파일 이름 자동 완성과 명령 줄 편집 기능을 제공하는 C 셸. +> 같이 보기: `csh`. +> 더 많은 정보: . + +- 상호작용 셸 세션 시작: + +`tcsh` + +- 시작 구성 파일을 로드하지 않고 상호작용 셸 세션 시작: + +`tcsh -f` + +- 특정 [c]명령 실행: + +`tcsh -c "{{echo 'tcsh is executed'}}"` + +- 특정 스크립트 실행: + +`tcsh {{경로/대상/스크립트.tcsh}}` + +- 특정 스크립트의 구문 오류 검사: + +`tcsh -n {{경로/대상/스크립트.tcsh}}` + +- `stdin`에서 특정 명령 실행: + +`{{echo "echo 'tcsh is executed'"}} | tcsh` diff --git a/pages.ko/common/tea.md b/pages.ko/common/tea.md new file mode 100644 index 00000000000000..e189e5ea8219d9 --- /dev/null +++ b/pages.ko/common/tea.md @@ -0,0 +1,32 @@ +# tea + +> Gitea 서버와 상호 작용. +> 더 많은 정보: . + +- Gitea 서버에 로그인: + +`tea login add --name "{{이름}}" --url "{{URL}}" --token "{{토큰}}"` + +- 모든 저장소 표시: + +`tea repos ls` + +- 이슈 목록 표시: + +`tea issues ls` + +- 특정 저장소의 이슈 목록 표시: + +`tea issues ls --repo "{{저장소}}"` + +- 새 이슈 생성: + +`tea issues create --title "{{제목}}" --body "{{본문}}"` + +- 열려 있는 풀 리퀘스트 목록 표시: + +`tea pulls ls` + +- 현재 저장소를 브라우저에서 열기: + +`tea open` diff --git a/pages.ko/common/tectonic.md b/pages.ko/common/tectonic.md new file mode 100644 index 00000000000000..37d152bb47f312 --- /dev/null +++ b/pages.ko/common/tectonic.md @@ -0,0 +1,28 @@ +# tectonic + +> 현대적이고 독립적인 TeX/LaTeX 엔진. +> 더 많은 정보: . + +- 독립적인 TeX/LaTeX 파일 컴파일: + +`tectonic -X compile {{경로/대상/파일.tex}}` + +- SyncTeX 데이터를 사용하여 독립적인 TeX/LaTeX 파일 컴파일: + +`tectonic -X compile --synctex {{경로/대상/파일.tex}}` + +- 현재 디렉토리에 tectonic 프로젝트 초기화: + +`tectonic -X init` + +- 지정된 디렉토리에 tectonic 프로젝트 초기화: + +`tectonic -X new {{프로젝트_이름}}` + +- 현재 디렉토리의 프로젝트 빌드: + +`tectonic -X build` + +- 변경 시 현재 디렉토리의 프로젝트를 빌드하는 감시자 시작: + +`tectonic -X watch` diff --git a/pages.ko/common/tee.md b/pages.ko/common/tee.md new file mode 100644 index 00000000000000..bf719c683ccc68 --- /dev/null +++ b/pages.ko/common/tee.md @@ -0,0 +1,20 @@ +# tee + +> `stdin`에서 읽고 `stdout` 및 파일(또는 명령어)로 쓰기. +> 더 많은 정보: . + +- `stdin`을 각 파일과 `stdout`으로 복사: + +`echo "example" | tee {{경로/대상/파일}}` + +- 주어진 파일에 덧붙이기, 덮어쓰지 않음: + +`echo "example" | tee {{[-a|--append]}} {{경로/대상/파일}}` + +- `stdin`을 터미널에 출력하고, 다른 프로그램으로 파이프하여 추가 처리: + +`echo "example" | tee {{/dev/tty}} | {{xargs printf "[%s]"}}` + +- "example"이라는 디렉터리 만들기, "example"의 문자 수 세기, "example"을 터미널에 쓰기: + +`echo "example" | tee >(xargs mkdir) >(wc -c)` diff --git a/pages.ko/common/telegram-desktop.md b/pages.ko/common/telegram-desktop.md new file mode 100644 index 00000000000000..092d52b6c6a0b5 --- /dev/null +++ b/pages.ko/common/telegram-desktop.md @@ -0,0 +1,16 @@ +# telegram-desktop + +> 오픈 소스 클라이언트, 채팅 및 스티커를 제공하는 인스턴트 메신저. +> 더 많은 정보: . + +- GUI 시작: + +`telegram-desktop` + +- 허용된 경우 자동 시작으로 GUI 실행: + +`telegram-desktop -autostart` + +- 트레이에 최소화된 상태로 GUI 실행: + +`telegram-desktop -startintray` diff --git a/pages.ko/common/telnet.md b/pages.ko/common/telnet.md new file mode 100644 index 00000000000000..bb6ab9a4435c50 --- /dev/null +++ b/pages.ko/common/telnet.md @@ -0,0 +1,28 @@ +# telnet + +> telnet 프로토콜을 사용해 호스트의 특정 포트에 연결합니다. +> 더 많은 정보: . + +- 호스트의 기본 포트에 Telnet 연결: + +`telnet {{호스트}}` + +- 호스트의 특정 포트에 Telnet 연결: + +`telnet {{ip_주소}} {{포트}}` + +- Telnet 세션 종료: + +`quit` + +- 세션 종료를 위한 기본 이스케이프 문자 조합을 전송: + +`` + +- "x"를 세션 종료 문자로 사용하여 세션 시작: + +`telnet -e {{x}} {{ip_주소}} {{포트}}` + +- Telnet 으로 스타워즈 보기: + +`telnet {{towel.blinkenlights.nl}}` diff --git a/pages.ko/common/termdown.md b/pages.ko/common/termdown.md new file mode 100644 index 00000000000000..e696860bd0459b --- /dev/null +++ b/pages.ko/common/termdown.md @@ -0,0 +1,24 @@ +# termdown + +> 명령줄을 위한 카운트다운 타이머와 스톱워치. +> 더 많은 정보: . + +- 스톱워치 시작: + +`termdown` + +- 1분 30초 카운트다운 시작: + +`termdown {{1m30s}}` + +- 1분 30초 카운트다운을 시작하고 종료 시 터미널 깜빡이기: + +`termdown {{1m30s}} --blink` + +- 카운트다운 위에 제목 표시: + +`termdown {{1m30s}} --title "{{흥미로운 제목}}"` + +- 현재 시간 표시: + +`termdown --time` diff --git a/pages.ko/common/terminalizer.md b/pages.ko/common/terminalizer.md new file mode 100644 index 00000000000000..03adfa51d2d6ce --- /dev/null +++ b/pages.ko/common/terminalizer.md @@ -0,0 +1,25 @@ +# terminalizer + +> 터미널을 기록하고, 애니메이션 GIF 및 웹 플레이어를 생성하며, 선택적으로 에 업로드. +> 같이 보기: `asciinema`. +> 더 많은 정보: . + +- 전역 설정 디렉토리 생성: + +`terminalizer init` + +- 터미널을 기록하고 녹화 파일 생성: + +`terminalizer record {{경로/대상/녹화.gif}}` + +- 녹화된 파일을 터미널에서 재생: + +`terminalizer play {{경로/대상/녹화.gif}}` + +- 녹화 파일을 애니메이션 GIF 이미지로 렌더링: + +`terminalizer render {{경로/대상/녹화.gif}}` + +- 비디오를 에 업로드: + +`terminalizer share {{경로/대상/녹화.gif}}` diff --git a/pages.ko/common/terraform-fmt.md b/pages.ko/common/terraform-fmt.md new file mode 100644 index 00000000000000..e8b66b5c25d711 --- /dev/null +++ b/pages.ko/common/terraform-fmt.md @@ -0,0 +1,20 @@ +# terraform fmt + +> Terraform 언어 스타일 규칙에 따라 설정 파일을 포맷. +> 더 많은 정보: . + +- 현재 디렉토리의 설정 파일을 포맷: + +`terraform fmt` + +- 현재 디렉토리 및 하위 디렉토리의 설정 파일을 포맷: + +`terraform fmt -recursive` + +- 포맷팅 변경 사항의 차이를 표시: + +`terraform fmt -diff` + +- 포맷된 파일을 `stdout`에 나열하지 않음: + +`terraform fmt -list=false` diff --git a/pages.ko/common/terraform-output.md b/pages.ko/common/terraform-output.md new file mode 100644 index 00000000000000..0be989bcd8201f --- /dev/null +++ b/pages.ko/common/terraform-output.md @@ -0,0 +1,20 @@ +# terraform output + +> Terraform 리소스에 대한 구조화된 데이터를 내보내기. +> 더 많은 정보: . + +- 추가 인수 없이, `output`은 루트 모듈의 모든 출력을 표시: + +`terraform output` + +- 특정 이름의 값만 출력: + +`terraform output {{이름}}` + +- 출력 값을 일반 문자열로 변환 (쉘 스크립트에 유용): + +`terraform output -raw` + +- 출력을 각 출력별 키가 있는 JSON 객체로 포맷 (jq와 함께 사용 시 유용): + +`terraform output -json` diff --git a/pages.ko/common/terraform-plan.md b/pages.ko/common/terraform-plan.md new file mode 100644 index 00000000000000..5edb5d2e30d1e5 --- /dev/null +++ b/pages.ko/common/terraform-plan.md @@ -0,0 +1,32 @@ +# terraform plan + +> Terraform 실행 계획을 생성하고 보여줍니다. +> 더 많은 정보: . + +- 현재 디렉토리에서 실행 계획 생성 및 보기: + +`terraform plan` + +- 현재 존재하는 모든 원격 객체를 삭제하는 계획 보기: + +`terraform plan -destroy` + +- Terraform 상태 및 출력 값을 업데이트하는 계획 보기: + +`terraform plan -refresh-only` + +- 입력 변수에 대한 값 지정: + +`terraform plan -var '{{이름1}}={{값1}}' -var '{{이름2}}={{값2}}'` + +- 특정 리소스 하위 집합에만 Terraform의 주의 집중: + +`terraform plan -target {{resource_type.resource_name[인스턴스 인덱스]}}` + +- 계획을 JSON으로 출력: + +`terraform plan -json` + +- 특정 파일에 계획 기록: + +`terraform plan -no-color > {{경로/대상/파일}}` diff --git a/pages.ko/common/terraform.md b/pages.ko/common/terraform.md new file mode 100644 index 00000000000000..f40fe7692242af --- /dev/null +++ b/pages.ko/common/terraform.md @@ -0,0 +1,28 @@ +# terraform + +> 코드로 인프라를 생성하고 클라우드 제공업체에 배포. +> 더 많은 정보: . + +- 새 또는 기존 Terraform 구성 초기화: + +`terraform init` + +- 구성 파일의 구문이 올바른지 확인: + +`terraform validate` + +- Terraform 언어 스타일 규칙에 따라 구성 포맷팅: + +`terraform fmt` + +- 실행 계획 생성 및 표시: + +`terraform plan` + +- 인프라 생성 또는 변경: + +`terraform apply` + +- Terraform에서 관리하는 인프라 파괴: + +`terraform destroy` diff --git a/pages.ko/common/terragrunt.md b/pages.ko/common/terragrunt.md new file mode 100644 index 00000000000000..6ad573e05633d3 --- /dev/null +++ b/pages.ko/common/terragrunt.md @@ -0,0 +1,28 @@ +# terragrunt + +> Terraform CLI 인수를 DRY하게 유지. +> 더 많은 정보: . + +- 실행 계획 생성 및 표시: + +`terragrunt plan` + +- 인프라 생성 또는 변경: + +`terragrunt apply` + +- 현재 배포 상태 표시: + +`terragrunt show` + +- 모듈 출력 값 표시: + +`terragrunt output` + +- Terraform이 관리하는 인프라 파괴: + +`terragrunt destroy` + +- Terragrunt 모듈 트리(스택)에서 인프라 생성 또는 변경: + +`terragrunt run-all apply` diff --git a/pages.ko/common/tesseract.md b/pages.ko/common/tesseract.md new file mode 100644 index 00000000000000..b5c058336803a0 --- /dev/null +++ b/pages.ko/common/tesseract.md @@ -0,0 +1,24 @@ +# tesseract + +> OCR (Optical Character Recognition) 엔진. +> 더 많은 정보: . + +- 이미지에서 텍스트를 인식하여 `output.txt`에 저장 (`.txt` 확장자는 자동으로 추가됨): + +`tesseract {{이미지.png}} {{출력}}` + +- ISO 639-2 코드로 사용자 정의 언어 지정 (기본값은 영어, 예: deu = Deutsch = 독일어): + +`tesseract -l deu {{이미지.png}} {{출력}}` + +- 사용 가능한 언어의 ISO 639-2 코드 나열: + +`tesseract --list-langs` + +- 사용자 정의 페이지 세분화 모드 지정 (기본값은 3): + +`tesseract --psm {{0에서_10}} {{이미지.png}} {{출력}}` + +- 페이지 세분화 모드 및 설명 나열: + +`tesseract --help-psm` diff --git a/pages.ko/common/test.md b/pages.ko/common/test.md new file mode 100644 index 00000000000000..6632d489e4b811 --- /dev/null +++ b/pages.ko/common/test.md @@ -0,0 +1,25 @@ +# test + +> 파일 유형을 확인하고 값을 비교. +> 조건이 참이면 0을 반환하고, 거짓이면 1을 반환합니다. +> 더 많은 정보: . + +- 주어진 변수가 특정 문자열과 같은지 확인: + +`test "{{$MY_VAR}}" = "{{/bin/zsh}}"` + +- 주어진 변수가 비어 있는지 확인: + +`test -z "{{$GIT_BRANCH}}"` + +- 파일이 존재하는지 확인: + +`test -f "{{경로/대상/파일_또는_폴더}}"` + +- 디렉토리가 존재하지 않는지 확인: + +`test ! -d "{{경로/대상/폴더}}"` + +- A가 참이면 B를 실행하고, 오류가 발생하면 C를 실행 (A가 실패해도 C가 실행될 수 있음): + +`test {{조건}} && {{echo "true"}} || {{echo "false"}}` diff --git a/pages.ko/common/testssl.md b/pages.ko/common/testssl.md new file mode 100644 index 00000000000000..c2c84e896840ca --- /dev/null +++ b/pages.ko/common/testssl.md @@ -0,0 +1,28 @@ +# testssl + +> 서버에서 지원하는 SSL/TLS 프로토콜 및 암호를 확인. +> 더 많은 정보: . + +- 서버 테스트 (모든 검사를 실행) 포트 443에서: + +`testssl {{example.com}}` + +- 다른 포트 테스트: + +`testssl {{example.com:465}}` + +- 사용 가능한 프로토콜만 확인: + +`testssl --protocols {{example.com}}` + +- 취약점만 확인: + +`testssl --vulnerable {{example.com}}` + +- HTTP 보안 헤더만 확인: + +`testssl --headers {{example.com}}` + +- 다른 STARTTLS 지원 프로토콜 테스트: + +`testssl --starttls {{ftp|smtp|pop3|imap|xmpp|sieve|xmpp-server|telnet|ldap|irc|lmtp|nntp|postgres|mysql}} {{example.com}}:{{포트}}` diff --git a/pages.ko/common/tex.md b/pages.ko/common/tex.md new file mode 100644 index 00000000000000..a6ed345b4dfc2f --- /dev/null +++ b/pages.ko/common/tex.md @@ -0,0 +1,16 @@ +# tex + +> TeX 소스 파일에서 DVI 문서를 컴파일. +> 더 많은 정보: . + +- DVI 문서 컴파일: + +`tex {{소스.tex}}` + +- 출력 폴더를 지정하여 DVI 문서 컴파일: + +`tex -output-directory={{경로/대상/폴더}} {{소스.tex}}` + +- 각 오류 발생 시 종료하며 DVI 문서 컴파일: + +`tex -halt-on-error {{소스.tex}}` diff --git a/pages.ko/common/texcount.md b/pages.ko/common/texcount.md new file mode 100644 index 00000000000000..1e3dd265821aba --- /dev/null +++ b/pages.ko/common/texcount.md @@ -0,0 +1,25 @@ +# texcount + +> TeX 문서에서 매크로를 제외하고 단어 수를 세기. +> 참고: TeX 문서가 `\include` 또는 `\input`을 사용하고 포함된 파일을 세려면, `texcount`를 루트 TeX 파일이 있는 디렉토리에서 실행해야 합니다. +> 더 많은 정보: . + +- TeX 파일의 단어 수 세기: + +`texcount {{경로/대상/파일.tex}}` + +- `\input` 또는 `\include`로 구성된 문서 및 하위 문서의 단어 수 세기: + +`texcount -merge {{파일.tex}}` + +- 문서 및 하위 문서의 단어 수를 세고 각 파일을 별도로 나열 (총 단어 수 포함): + +`texcount -inc {{파일.tex}}` + +- 문서 및 하위 문서의 단어 수를 세고 각 챕터별로 세부 카운트 제공 (하위 섹션 대신): + +`texcount -merge -sub=chapter {{파일.tex}}` + +- 자세한 출력과 함께 단어 수 세기: + +`texcount -v {{경로/대상/파일.tex}}` diff --git a/pages.ko/common/texdoc.md b/pages.ko/common/texdoc.md new file mode 100644 index 00000000000000..b5c7a4e5f851b1 --- /dev/null +++ b/pages.ko/common/texdoc.md @@ -0,0 +1,16 @@ +# texdoc + +> (La)TeX 명령어 또는 패키지에 대한 적절한 문서를 검색. +> 더 많은 정보: . + +- 첫 번째 검색 결과를 기본 PDF 뷰어로 열기: + +`texdoc {{검색어}}` + +- 가장 적합한 검색 결과 나열: + +`texdoc --list {{검색어}}` + +- texdoc의 전체 문서 열기: + +`texdoc {{texdoc}}` diff --git a/pages.ko/common/texliveonfly.md b/pages.ko/common/texliveonfly.md new file mode 100644 index 00000000000000..327b2b16b683a7 --- /dev/null +++ b/pages.ko/common/texliveonfly.md @@ -0,0 +1,16 @@ +# texliveonfly + +> `.tex` 파일을 컴파일하는 동안 누락된 TeX Live 패키지를 다운로드. +> 더 많은 정보: . + +- 컴파일하는 동안 누락된 패키지 다운로드: + +`texliveonfly {{소스.tex}}` + +- 특정 컴파일러 사용 (`pdflatex`가 기본값): + +`texliveonfly --compiler={{컴파일러}} {{소스.tex}}` + +- 사용자 지정 TeX Live `bin` 폴더 사용: + +`texliveonfly --texlive_bin={{경로/대상/texlive_bin}} {{소스.tex}}` diff --git a/pages.ko/common/textql.md b/pages.ko/common/textql.md new file mode 100644 index 00000000000000..7c5df96b900ce3 --- /dev/null +++ b/pages.ko/common/textql.md @@ -0,0 +1,28 @@ +# textql + +> CSV 또는 TSV 파일과 같은 구조화된 텍스트에 대해 SQL을 실행. +> 더 많은 정보: . + +- 특정 CSV 파일에서 SQL 쿼리와 일치하는 줄을 `stdout`에 출력: + +`textql -sql "{{SELECT * FROM filename}}" {{경로/대상/파일명.csv}}` + +- TSV 파일 쿼리: + +`textql -dlm=tab -sql "{{SELECT * FROM filename}}" {{경로/대상/파일명.tsv}}` + +- 헤더 행이 있는 파일 쿼리: + +`textql -dlm={{구분자}} -header -sql "{{SELECT * FROM filename}}" {{경로/대상/파일명.csv}}` + +- `stdin`에서 데이터 읽기: + +`cat {{경로/대상/파일}} | textql -sql "{{SELECT * FROM stdin}}"` + +- 지정된 공통 열로 두 파일 조인: + +`textql -header -sql "SELECT * FROM {{경로/대상/파일1}} JOIN {{파일2}} ON {{경로/대상/파일1}}.{{c1}} = {{파일2}}.{{c1}} LIMIT {{10}}" -output-header {{경로/대상/파일1.csv}} {{경로/대상/파일2.csv}}` + +- 출력 구분자와 출력 헤더 라인을 사용하여 출력 형식 지정: + +`textql -output-dlm={{구분자}} -output-header -sql "SELECT {{열}} AS {{별칭}} FROM {{파일명}}" {{경로/대상/파일명.csv}}` diff --git a/pages.ko/common/tgatoppm.md b/pages.ko/common/tgatoppm.md new file mode 100644 index 00000000000000..c5a207c4a878fe --- /dev/null +++ b/pages.ko/common/tgatoppm.md @@ -0,0 +1,20 @@ +# tgatoppm + +> TrueVision Targa 파일을 Netpbm 이미지로 변환. +> 더 많은 정보: . + +- TrueVision Targa 파일을 PPM 이미지로 변환: + +`tgatoppm {{경로/대상/파일.tga}} > {{경로/대상/출력.ppm}}` + +- TGA 헤더의 정보를 `stdout`로 덤프: + +`tgatoppm --headerdump {{경로/대상/파일.tga}} > {{경로/대상/출력.ppm}}` + +- 입력 이미지의 투명 채널 값을 지정한 파일에 작성: + +`tgatoppm --alphaout {{경로/대상/투명도_파일.pgm}} {{경로/대상/파일.tga}} > {{경로/대상/출력.ppm}}` + +- 버전 표시: + +`tgatoppm -version` diff --git a/pages.ko/common/tgpt.md b/pages.ko/common/tgpt.md new file mode 100644 index 00000000000000..ec5c464a7d090b --- /dev/null +++ b/pages.ko/common/tgpt.md @@ -0,0 +1,37 @@ +# tgpt + +> API 키가 필요 없는 AI 챗봇과 대화. +> 사용 가능한 공급자: `openai`, `opengpts`, `koboldai`, `phind`, `llama2`, `blackboxai`. +> 더 많은 정보: . + +- 기본 공급자(GPT-3.5-turbo)와 대화: + +`tgpt "{{프롬프트}}"` + +- [m]ulti-line 대화형 모드 시작: + +`tgpt --multiline` + +- [i]mages 생성 후 현재 디렉토리에 저장: + +`tgpt --image "{{프롬프트}}"` + +- 기본 공급자(GPT-3.5-turbo)로 [c]ode 생성: + +`tgpt --code "{{프롬프트}}"` + +- 특정 공급자와 [q]uiet 모드(애니메이션 없이)로 대화: + +`tgpt --provider {{openai|opengpts|koboldai|phind|llama2|blackboxai}} --quiet --whole "{{프롬프트}}"` + +- 특정 공급자를 사용하여 [s]hell 명령 생성 및 실행(확인 프롬프트 포함): + +`tgpt --provider {{llama2}} --shell "{{프롬프트}}"` + +- API 키, 모델, 최대 응답 길이, 온도, `top_p`를 사용하여 프롬프트( `openai` 공급자를 사용할 때 필요): + +`tgpt --provider openai --key "{{API_키}}" --model "{{gpt-3.5-turbo}}" --max-length {{10}} --temperature {{0.7}} --top_p {{0.9}} "{{프롬프트}}"` + +- 추가 사전 프롬프트 입력으로 파일 삽입: + +`tgpt --provider {{blackboxai}} "{{프롬프트}}" < {{경로/대상/파일}}` diff --git a/pages.ko/common/theharvester.md b/pages.ko/common/theharvester.md new file mode 100644 index 00000000000000..a81a3f8c3ea681 --- /dev/null +++ b/pages.ko/common/theharvester.md @@ -0,0 +1,24 @@ +# theHarvester + +> 침투 테스트의 초기 단계에서 사용하도록 설계된 도구. +> 더 많은 정보: . + +- Google을 사용하여 도메인에 대한 정보 수집: + +`theHarvester --domain {{도메인_이름}} --source google` + +- 여러 소스를 사용하여 도메인에 대한 정보 수집: + +`theHarvester --domain {{도메인_이름}} --source {{duckduckgo,bing,crtsh}}` + +- 결과 제한 변경: + +`theHarvester --domain {{도메인_이름}} --source {{google}} --limit {{200}}` + +- XML 및 HTML 형식으로 출력 파일 두 개로 저장: + +`theHarvester --domain {{도메인_이름}} --source {{google}} --file {{출력_파일_이름}}` + +- 도움말 표시: + +`theHarvester --help` diff --git a/pages.ko/common/thinkjettopbm.md b/pages.ko/common/thinkjettopbm.md new file mode 100644 index 00000000000000..19f2ab43fd64c2 --- /dev/null +++ b/pages.ko/common/thinkjettopbm.md @@ -0,0 +1,12 @@ +# thinkjettopbm + +> HP ThinkJet 프린터 명령 파일을 PBM 파일로 변환. +> 더 많은 정보: . + +- HP ThinkJet 프린터 명령 파일을 PBM 파일로 변환: + +`thinkjettopbm {{경로/대상/입력}} > {{경로/대상/출력.pbm}}` + +- 디버그 정보를 `stderr`에 출력: + +`thinkjettopbm -d {{경로/대상/입력}} > {{경로/대상/출력.pbm}}` diff --git a/pages.ko/common/thunderbird.md b/pages.ko/common/thunderbird.md new file mode 100644 index 00000000000000..6e97675df5e986 --- /dev/null +++ b/pages.ko/common/thunderbird.md @@ -0,0 +1,16 @@ +# thunderbird + +> 이메일 클라이언트 및 RSS 리더. +> 더 많은 정보: . + +- thunderbird 열기: + +`thunderbird` + +- 특정 사용자 프로필 사용: + +`thunderbird -P {{프로필_이름}}` + +- 특정 사용자 프로필 디렉토리 사용: + +`thunderbird --profile {{경로/대상/프로필/디렉토리}}` diff --git a/pages.ko/common/tidy.md b/pages.ko/common/tidy.md new file mode 100644 index 00000000000000..003712c9748ee6 --- /dev/null +++ b/pages.ko/common/tidy.md @@ -0,0 +1,17 @@ +# tidy + +> HTML, XHTML 및 XML 파일을 정리하고 보기 좋게 출력. +> 참고: `tidy`는 원래 들여쓰기를 보존할 수 없습니다. +> 더 많은 정보: . + +- HTML 파일을 보기 좋게 출력: + +`tidy {{경로/대상/파일.html}}` + +- [i]ndentation을 활성화하고, 줄을 100으로 [w]rapping하여 `output.html`에 저장: + +`tidy --indent y --wrap 100 -output {{경로/대상/output.html}} {{경로/대상/파일.html}}` + +- 설정 파일을 사용하여 HTML 파일을 직접 수정: + +`tidy -config {{경로/대상/설정}} -modify {{경로/대상/파일.html}}` diff --git a/pages.ko/common/tifftopnm.md b/pages.ko/common/tifftopnm.md new file mode 100644 index 00000000000000..0da8308d375f93 --- /dev/null +++ b/pages.ko/common/tifftopnm.md @@ -0,0 +1,20 @@ +# tifftopnm + +> TIFF 이미지를 PNM 이미지로 변환. +> 더 많은 정보: . + +- TIFF를 PNM 파일로 변환: + +`tifftopnm {{경로/대상/입력_파일.tiff}} > {{경로/대상/출력_파일.pnm}}` + +- 입력 이미지의 알파 채널을 포함하는 PGM 파일 생성: + +`tifftopnm -alphaout {{경로/대상/알파_파일.pgm}} {{경로/대상/입력_파일.tiff}} > {{경로/대상/출력_파일.pnm}}` + +- 입력 TIFF 이미지의 `fillorder` 태그 고려: + +`tifftopnm -respectfillorder {{경로/대상/입력_파일.tiff}} > {{경로/대상/출력_파일.pnm}}` + +- TIFF 헤더 정보를 `stderr`에 출력: + +`tifftopnm -headerdump {{경로/대상/입력_파일.tiff}} > {{경로/대상/출력_파일.pnm}}` diff --git a/pages.ko/common/tig.md b/pages.ko/common/tig.md new file mode 100644 index 00000000000000..25e2b215ba0353 --- /dev/null +++ b/pages.ko/common/tig.md @@ -0,0 +1,33 @@ +# tig + +> 설정 가능한 `ncurses` 기반 Git TUI. +> 같이 보기: `gitui`, `git-gui`. +> 더 많은 정보: . + +- 현재 커밋부터 시작하여 시간 역순으로 커밋 순서 표시: + +`tig` + +- 특정 브랜치의 히스토리 표시: + +`tig {{브랜치}}` + +- 특정 파일 또는 폴더의 히스토리 표시: + +`tig {{경로1 경로2 ...}}` + +- 두 참조(예: 브랜치 또는 태그) 간의 차이 표시: + +`tig {{기준_참조}}..{{비교_참조}}` + +- 모든 브랜치와 스태시의 커밋 표시: + +`tig --all` + +- 스태시 보기에서 시작하여 저장된 모든 스태시 표시: + +`tig stash` + +- TUI에서 도움말 표시: + +`` diff --git a/pages.ko/common/time.md b/pages.ko/common/time.md new file mode 100644 index 00000000000000..898e9accc1d1de --- /dev/null +++ b/pages.ko/common/time.md @@ -0,0 +1,13 @@ +# time + +> 명령어 실행 시간을 측정. +> 참고: `time`은 셸 내장 명령어이거나 독립 실행형 프로그램이거나 둘 다일 수 있습니다. +> 더 많은 정보: . + +- `command`를 실행하고 시간 측정 결과를 `stdout`에 출력: + +`time {{명령어}}` + +- 매우 간단한 스톱워치 생성 (Bash에서만 작동): + +`time read` diff --git a/pages.ko/common/timeout.md b/pages.ko/common/timeout.md new file mode 100644 index 00000000000000..393ea49036c08d --- /dev/null +++ b/pages.ko/common/timeout.md @@ -0,0 +1,24 @@ +# timeout + +> 명령을 일정 시간 제한 내에서 실행. +> 더 많은 정보: . + +- `sleep 10`을 실행하고 3초 후 종료: + +`timeout 3s sleep 10` + +- 시간 제한이 만료되면 명령에 [s]ignal을 전송 (`TERM`이 기본, 모든 신호 목록은 `kill -l`): + +`timeout --signal {{INT|HUP|KILL|...}} {{5s}} {{sleep 10}}` + +- 시간 초과 시 전송된 신호를 `stderr`에 [v]erbose 출력으로 표시: + +`timeout --verbose {{0.5s|1m|1h|1d|...}} {{명령}}` + +- 시간 초과 여부와 관계없이 명령의 종료 상태를 유지: + +`timeout --preserve-status {{1s|1m|1h|1d|...}} {{명령}}` + +- 초기 신호를 무시할 경우 특정 시간 후 강제 `KILL` 신호 전송: + +`timeout --kill-after={{5m}} {{30s}} {{명령}}` diff --git a/pages.ko/common/timetrap.md b/pages.ko/common/timetrap.md new file mode 100644 index 00000000000000..8577028dfaa2df --- /dev/null +++ b/pages.ko/common/timetrap.md @@ -0,0 +1,20 @@ +# timetrap + +> Ruby로 작성된 간단한 명령줄 시간 추적기. +> 더 많은 정보: . + +- 새 타임시트 생성: + +`timetrap sheet {{타임시트}}` + +- 5분 전에 시작된 항목 체크인: + +`timetrap in --at "{{5분 전}}" {{항목_노트}}` + +- 현재 타임시트 표시: + +`timetrap display` + +- 마지막 항목의 종료 시간 수정: + +`timetrap edit --end {{시간}}` diff --git a/pages.ko/common/timew.md b/pages.ko/common/timew.md new file mode 100644 index 00000000000000..256d6ada707e7b --- /dev/null +++ b/pages.ko/common/timew.md @@ -0,0 +1,24 @@ +# timew + +> 활동의 지속 시간을 측정하는 시간 추적 도구. +> 더 많은 정보: . + +- 추적할 활동에 태그 이름을 부여하여 새 스톱워치 시작: + +`timew start {{활동_태그}}` + +- 실행 중인 스톱워치 보기: + +`timew` + +- 주어진 태그 이름으로 스톱워치 중지: + +`timew stop {{활동_태그}}` + +- 실행 중인 모든 스톱워치 중지: + +`timew stop` + +- 추적된 항목 보기: + +`timew summary` diff --git a/pages.ko/common/timidity.md b/pages.ko/common/timidity.md new file mode 100644 index 00000000000000..1a4a527d00574d --- /dev/null +++ b/pages.ko/common/timidity.md @@ -0,0 +1,24 @@ +# timidity + +> MIDI 파일을 재생하고 변환합니다. +> 더 많은 정보: . + +- MIDI 파일 재생: + +`timidity {{경로/대상/파일.mid}}` + +- MIDI 파일을 반복 재생: + +`timidity --loop {{경로/대상/파일.mid}}` + +- 특정 조로 MIDI 파일 재생 (0 = 다장조/가단조, -1 = 바장조/라단조, +1 = 사장조/마단조 등): + +`timidity --force-keysig={{-플랫|+샤프}} {{경로/대상/파일.mid}}` + +- MIDI 파일을 PCM (WAV) 오디오로 변환: + +`timidity --output-mode={{w}} --output-file={{경로/대상/파일.wav}} {{경로/대상/파일.mid}}` + +- MIDI 파일을 FLAC 오디오로 변환: + +`timidity --output-mode={{F}} --output-file={{경로/대상/파일.flac}} {{경로/대상/파일.mid}}` diff --git a/pages.ko/common/tldr-lint.md b/pages.ko/common/tldr-lint.md new file mode 100644 index 00000000000000..bca3ab8d602d0a --- /dev/null +++ b/pages.ko/common/tldr-lint.md @@ -0,0 +1,16 @@ +# tldr-lint + +> `tldr` 페이지를 검사하고 포맷. +> 더 많은 정보: . + +- 모든 페이지 검사: + +`tldr-lint {{페이지_디렉토리}}` + +- 특정 페이지를 포맷하여 `stdout`에 출력: + +`tldr-lint --format {{페이지.md}}` + +- 모든 페이지를 제자리에서 포맷: + +`tldr-lint --format --in-place {{페이지_디렉토리}}` diff --git a/pages.ko/common/tldr.md b/pages.ko/common/tldr.md index a03d9a3041005b..b6b354c454b4f6 100644 --- a/pages.ko/common/tldr.md +++ b/pages.ko/common/tldr.md @@ -1,16 +1,33 @@ # tldr -> 간단한 매뉴얼 페이지. -> 더 많은 정보: . +> tldr-pages 프로젝트에서 제공하는 명령줄 도구에 대한 간단한 도움말 페이지를 표시합니다. +> 참고: `--language` 및 `--list` 옵션은 클라이언트 사양에 필수는 아니지만 대부분의 클라이언트가 이를 구현합니다. +> 더 많은 정보: . -- 명령어 형식적 사용법 가져오기 (힌트 : 이걸 사용하는 방법입니다!): +- 특정 명령에 대한 tldr 페이지를 출력 (힌트: 이렇게 이곳에 도착했습니다!): `tldr {{명령어}}` -- linux에서 tar에 대한 tldr 문서 표시하기: +- 특정 하위 명령에 대한 tldr 페이지를 출력: -`tldr -p {{linux}} {{tar}}` +`tldr {{명령어}} {{하위_명령어}}` -- git 부속명령에 대한 도움말 가져오기: +- 주어진 [L]언어로 된 명령어의 tldr 페이지를 출력 (가능한 경우, 그렇지 않으면 영어로 표시): -`tldr {{git checkout}}` +`tldr {{[-L|--language]}} {{언어_코드}} {{명령어}}` + +- 특정 [p]플랫폼의 명령어에 대한 tldr 페이지를 출력: + +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{명령어}}` + +- tldr 페이지의 로컬 캐시 [u]업데이트: + +`tldr {{[-u|--update]}}` + +- 현재 플랫폼 및 `common`에 대한 모든 페이지 [l]목록: + +`tldr {{[-l|--list]}}` + +- 명령어에 대한 사용할 수 있는 모든 하위 명령 페이지 [l]목록: + +`tldr {{[-l|--list]}} | grep {{명령어}} | column` diff --git a/pages.ko/common/tldrl.md b/pages.ko/common/tldrl.md new file mode 100644 index 00000000000000..e135f203576dfe --- /dev/null +++ b/pages.ko/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> 이 명령은 `tldr-lint` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr tldr-lint` diff --git a/pages.ko/common/tlmgr-arch.md b/pages.ko/common/tlmgr-arch.md new file mode 100644 index 00000000000000..67b26e86d6d890 --- /dev/null +++ b/pages.ko/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> 이 명령은 `tlmgr platform` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr tlmgr platform` diff --git a/pages.ko/common/tlmgr-backup.md b/pages.ko/common/tlmgr-backup.md new file mode 100644 index 00000000000000..e3f75531b1ca4f --- /dev/null +++ b/pages.ko/common/tlmgr-backup.md @@ -0,0 +1,25 @@ +# tlmgr backup + +> TeX Live 패키지의 백업을 관리. +> 기본 백업 디렉토리는 `backupdir` 옵션에 의해 지정되며, `tlmgr option`으로 확인 가능. +> 더 많은 정보: . + +- 하나 이상의 패키지 백업: + +`tlmgr backup {{패키지1 패키지2 ...}}` + +- 모든 패키지 백업: + +`tlmgr backup --all` + +- 사용자 지정 디렉토리에 백업: + +`tlmgr backup {{패키지}} --backupdir {{경로/대상/백업_디렉토리}}` + +- 하나 이상의 패키지 백업 삭제: + +`tlmgr backup clean {{패키지1 패키지2 ...}}` + +- 모든 백업 삭제: + +`tlmgr backup clean --all` diff --git a/pages.ko/common/tlmgr-candidates.md b/pages.ko/common/tlmgr-candidates.md new file mode 100644 index 00000000000000..83c6a596085828 --- /dev/null +++ b/pages.ko/common/tlmgr-candidates.md @@ -0,0 +1,8 @@ +# tlmgr candidates + +> TeX Live 패키지를 설치할 수 있는 후보 저장소를 가져옵니다. +> 더 많은 정보: . + +- 패키지를 설치할 수 있는 모든 사용 가능한 저장소 나열: + +`tlmgr candidates {{패키지}}` diff --git a/pages.ko/common/tlmgr-check.md b/pages.ko/common/tlmgr-check.md new file mode 100644 index 00000000000000..2cc1b6acd645d3 --- /dev/null +++ b/pages.ko/common/tlmgr-check.md @@ -0,0 +1,28 @@ +# tlmgr check + +> TeX Live 설치의 일관성을 검사. +> 더 많은 정보: . + +- 전체 TeX Live 설치의 일관성을 검사: + +`tlmgr check all` + +- 전체 TeX Live 정보의 일관성을 자세한 모드로 검사: + +`tlmgr check all -v` + +- 누락된 의존성 검사: + +`tlmgr check depends` + +- 모든 TeX Live 실행 파일이 존재하는지 검사: + +`tlmgr check executes` + +- 로컬 TLPDB에 나열된 모든 파일이 존재하는지 검사: + +`tlmgr check files` + +- 실행 파일 섹션에서 중복된 파일 이름 검사: + +`tlmgr check runfiles` diff --git a/pages.ko/common/tlmgr-conf.md b/pages.ko/common/tlmgr-conf.md new file mode 100644 index 00000000000000..797bf43ffb1e95 --- /dev/null +++ b/pages.ko/common/tlmgr-conf.md @@ -0,0 +1,32 @@ +# tlmgr conf + +> TeX Live 구성 관리. +> 더 많은 정보: . + +- 현재 TeX Live 구성 보기: + +`tlmgr conf` + +- 현재 `texmf`, `tlmgr`, 또는 `updmap` 구성 보기: + +`tlmgr conf {{texmf|tlmgr|updmap}}` + +- 특정 구성 옵션만 보기: + +`tlmgr conf {{texmf|tlmgr|updmap}} {{구성_키}}` + +- 특정 구성 옵션 설정: + +`tlmgr conf {{texmf|tlmgr|updmap}} {{구성_키}} {{값}}` + +- 특정 구성 옵션 삭제: + +`tlmgr conf {{texmf|tlmgr|updmap}} --delete {{구성_키}}` + +- `\write18`을 통한 시스템 호출 실행 비활성화: + +`tlmgr conf texmf {{shell_escape}} {{0}}` + +- 모든 추가 `texmf` 트리 보기: + +`tlmgr conf auxtrees show` diff --git a/pages.ko/common/tlmgr-dump-tlpdb.md b/pages.ko/common/tlmgr-dump-tlpdb.md new file mode 100644 index 00000000000000..7be638b8ead2bf --- /dev/null +++ b/pages.ko/common/tlmgr-dump-tlpdb.md @@ -0,0 +1,16 @@ +# tlmgr dump-tlpdb + +> TeX Live 패키지 데이터베이스 덤프. +> 더 많은 정보: . + +- 로컬 패키지 데이터베이스 덤프: + +`tlmgr dump-tlpdb --local` + +- 원격 패키지 데이터베이스 덤프: + +`tlmgr dump-tlpdb --remote` + +- 로컬 패키지 데이터베이스를 JSON 형식으로 덤프: + +`tlmgr dump-tlpdb --local --json` diff --git a/pages.ko/common/tlmgr-generate.md b/pages.ko/common/tlmgr-generate.md new file mode 100644 index 00000000000000..32e65a9bc0efac --- /dev/null +++ b/pages.ko/common/tlmgr-generate.md @@ -0,0 +1,16 @@ +# tlmgr generate + +> 로컬에 저장된 정보를 바탕으로 구성 파일을 다시 생성. +> 더 많은 정보: . + +- 특정 위치에 구성 파일 저장 후 다시 생성: + +`tlmgr generate --dest {{출력_파일}}` + +- 로컬 구성 파일을 사용하여 구성 파일 다시 생성: + +`tlmgr generate --localcfg {{로컬_구성_파일}}` + +- 구성 파일 재구성 후 필요한 프로그램 실행: + +`tlmgr generate --rebuild-sys` diff --git a/pages.ko/common/tlmgr-gui.md b/pages.ko/common/tlmgr-gui.md new file mode 100644 index 00000000000000..0f1e5b888a93a3 --- /dev/null +++ b/pages.ko/common/tlmgr-gui.md @@ -0,0 +1,29 @@ +# tlmgr gui + +> `tlmgr`의 그래픽 사용자 인터페이스를 시작. +> `tlmgr gui`는 수동으로 설치해야 하는 `perl-tk` 패키지에 의존. +> 더 많은 정보: . + +- `tlmgr`를 위한 GUI 시작: + +`sudo tlmgr gui` + +- 배경색을 지정하여 GUI 시작: + +`sudo tlmgr gui -background "{{#f39bc3}}"` + +- 전경색을 지정하여 GUI 시작: + +`sudo tlmgr gui -foreground "{{#0ef3bd}}"` + +- 글꼴과 글꼴 크기를 지정하여 GUI 시작: + +`sudo tlmgr gui -font "{{helvetica 18}}"` + +- 특정 크기를 설정하여 GUI 시작: + +`sudo tlmgr gui -geometry {{너비}}x{{높이}}-{{x위치}}+{{y위치}}` + +- 임의의 X 리소스 문자열을 전달하여 GUI 시작: + +`sudo tlmgr gui -xrm {{xresource}}` diff --git a/pages.ko/common/tlmgr-info.md b/pages.ko/common/tlmgr-info.md new file mode 100644 index 00000000000000..05f08aa58978c4 --- /dev/null +++ b/pages.ko/common/tlmgr-info.md @@ -0,0 +1,36 @@ +# tlmgr info + +> TeX Live 패키지에 대한 정보 표시. +> 더 많은 정보: . + +- 설치된 패키지에 `i`를 접두사로 붙여 모든 사용 가능한 TeX Live 패키지 나열: + +`tlmgr info` + +- 모든 사용 가능한 컬렉션 나열: + +`tlmgr info collections` + +- 모든 사용 가능한 스키마 나열: + +`tlmgr info scheme` + +- 특정 패키지에 대한 정보 표시: + +`tlmgr info {{패키지}}` + +- 특정 패키지에 포함된 모든 파일 나열: + +`tlmgr info {{패키지}} --list` + +- 설치된 모든 패키지 나열: + +`tlmgr info --only-installed` + +- 패키지에 대한 특정 정보만 표시: + +`tlmgr info {{패키지}} --data "{{name}},{{category}},{{installed}},{{size}},{{depends}},..."` + +- 모든 사용 가능한 패키지를 JSON 인코딩된 배열로 출력: + +`tlmgr info --json` diff --git a/pages.ko/common/tlmgr-install.md b/pages.ko/common/tlmgr-install.md new file mode 100644 index 00000000000000..f7e8b16bd89e7b --- /dev/null +++ b/pages.ko/common/tlmgr-install.md @@ -0,0 +1,24 @@ +# tlmgr install + +> TeX Live 패키지 설치. +> 더 많은 정보: . + +- 패키지 및 의존성 설치: + +`sudo tlmgr install {{패키지}}` + +- 패키지 재설치: + +`sudo tlmgr install --reinstall {{패키지}}` + +- 패키지를 설치하는 시뮬레이션을 실행하되 실제 변경은 하지 않음: + +`tlmgr install --dry-run {{패키지}}` + +- 패키지를 의존성 없이 설치: + +`sudo tlmgr install --no-depends {{패키지}}` + +- 특정 파일에서 패키지 설치: + +`sudo tlmgr install --file {{경로/대상/패키지}}` diff --git a/pages.ko/common/tlmgr-key.md b/pages.ko/common/tlmgr-key.md new file mode 100644 index 00000000000000..cf7c8b5e9c571d --- /dev/null +++ b/pages.ko/common/tlmgr-key.md @@ -0,0 +1,20 @@ +# tlmgr key + +> TeX Live 데이터베이스를 검증하는 데 사용되는 GPG 키 관리. +> 더 많은 정보: . + +- TeX Live의 모든 키 나열: + +`tlmgr key list` + +- 특정 파일에서 키 추가: + +`sudo tlmgr key add {{경로/대상/키.gpg}}` + +- `stdin`에서 키 추가: + +`cat {{경로/대상/키.gpg}} | sudo tlmgr key add -` + +- ID로 특정 키 제거: + +`sudo tlmgr key remove {{키_ID}}` diff --git a/pages.ko/common/tlmgr-option.md b/pages.ko/common/tlmgr-option.md new file mode 100644 index 00000000000000..2ffe783a0483cd --- /dev/null +++ b/pages.ko/common/tlmgr-option.md @@ -0,0 +1,28 @@ +# tlmgr option + +> TeX Live 설정 관리자. +> 더 많은 정보: . + +- 모든 TeX Live 설정 나열: + +`tlmgr option showall` + +- 현재 설정된 모든 TeX Live 설정 나열: + +`tlmgr option show` + +- 모든 TeX Live 설정을 JSON 형식으로 출력: + +`tlmgr option showall --json` + +- 특정 TeX Live 설정의 값 표시: + +`tlmgr option {{설정}}` + +- 특정 TeX Live 설정의 값 수정: + +`tlmgr option {{설정}} {{값}}` + +- DVD로 설치 후 인터넷에서 향후 업데이트를 받도록 TeX Live 설정: + +`tlmgr option {{저장소}} {{https://mirror.ctan.org/systems/texlive/tlnet}}` diff --git a/pages.ko/common/tlmgr-paper.md b/pages.ko/common/tlmgr-paper.md new file mode 100644 index 00000000000000..56f369ce9c349b --- /dev/null +++ b/pages.ko/common/tlmgr-paper.md @@ -0,0 +1,28 @@ +# tlmgr paper + +> TeX Live 설치의 용지 크기 옵션 관리. +> 더 많은 정보: . + +- 모든 TeX Live 프로그램에서 사용되는 기본 용지 크기 표시: + +`tlmgr paper` + +- 모든 TeX Live 프로그램의 기본 용지 크기를 A4로 설정: + +`sudo tlmgr paper {{a4}}` + +- 특정 TeX Live 프로그램에서 사용되는 기본 용지 크기 표시: + +`tlmgr {{pdftex}} paper` + +- 특정 TeX Live 프로그램의 기본 용지 크기를 A4로 설정: + +`sudo tlmgr {{pdftex}} paper {{a4}}` + +- 특정 TeX Live 프로그램에서 사용 가능한 모든 용지 크기 나열: + +`tlmgr {{pdftex}} paper --list` + +- 모든 TeX Live 프로그램에서 사용되는 기본 용지 크기를 JSON 형식으로 출력: + +`tlmgr paper --json` diff --git a/pages.ko/common/tlmgr-path.md b/pages.ko/common/tlmgr-path.md new file mode 100644 index 00000000000000..64c1baa0cf46cb --- /dev/null +++ b/pages.ko/common/tlmgr-path.md @@ -0,0 +1,13 @@ +# tlmgr path + +> TeX Live 실행 파일, 매뉴얼 페이지 및 정보 페이지에 대한 심볼릭 링크 추가 또는 제거. +> 향후 추가된 파일에 대해서는 이 명령을 다시 실행해야 합니다. +> 더 많은 정보: . + +- TeX Live 파일에 심볼릭 링크 추가: + +`sudo tlmgr path add` + +- TeX Live 파일에 대한 심볼릭 링크 제거: + +`sudo tlmgr path remove` diff --git a/pages.ko/common/tlmgr-pinning.md b/pages.ko/common/tlmgr-pinning.md new file mode 100644 index 00000000000000..c242ce6d030635 --- /dev/null +++ b/pages.ko/common/tlmgr-pinning.md @@ -0,0 +1,20 @@ +# tlmgr pinning + +> 고정 작업은 고정 파일을 관리합니다. +> 더 많은 정보: . + +- 현재 고정 데이터를 표시: + +`tlmgr pinning show` + +- 일치하는 패키지를 주어진 저장소에 고정: + +`tlmgr pinning add {{저장소}} {{패키지1 패키지2 ...}}` + +- 주어진 저장소에 대해 고정 파일에 기록된 패키지를 제거: + +`tlmgr pinning remove {{저장소}} {{패키지1 패키지2 ...}}` + +- 주어진 저장소의 모든 고정 데이터 제거: + +`tlmgr pinning remove {{저장소}} --all` diff --git a/pages.ko/common/tlmgr-platform.md b/pages.ko/common/tlmgr-platform.md new file mode 100644 index 00000000000000..a15544c3479fef --- /dev/null +++ b/pages.ko/common/tlmgr-platform.md @@ -0,0 +1,24 @@ +# tlmgr platform + +> TeX Live 플랫폼 관리. +> 더 많은 정보: . + +- 패키지 저장소에서 사용 가능한 모든 플랫폼 나열: + +`tlmgr platform list` + +- 특정 플랫폼에 대한 실행 파일 추가: + +`sudo tlmgr platform add {{플랫폼}}` + +- 특정 플랫폼에 대한 실행 파일 제거: + +`sudo tlmgr platform remove {{플랫폼}}` + +- 현재 플랫폼을 자동으로 감지하여 전환: + +`sudo tlmgr platform set auto` + +- 특정 플랫폼으로 전환: + +`sudo tlmgr platform set {{플랫폼}}` diff --git a/pages.ko/common/tlmgr-recreate-tlpdb.md b/pages.ko/common/tlmgr-recreate-tlpdb.md new file mode 100644 index 00000000000000..9cbebc300a6411 --- /dev/null +++ b/pages.ko/common/tlmgr-recreate-tlpdb.md @@ -0,0 +1,9 @@ +# tlmgr recreate-tlpdb + +> TeX Live 패키지 데이터베이스를 재생성. +> 이 명령은 문서가 부족하므로 주의해서 사용해야 함. +> 더 많은 정보: . + +- `texlive.tlpdb` 데이터베이스 파일을 재생성하고 `stdout`에 덤프: + +`sudo tlmgr recreate-tlpdb` diff --git a/pages.ko/common/tlmgr-remove.md b/pages.ko/common/tlmgr-remove.md new file mode 100644 index 00000000000000..40a17cf4bc6e67 --- /dev/null +++ b/pages.ko/common/tlmgr-remove.md @@ -0,0 +1,25 @@ +# tlmgr remove + +> TeX Live 패키지 제거. +> 기본적으로, 제거된 패키지는 TL 설치 디렉토리의 `./tlpkg/backups`에 백업됩니다. +> 더 많은 정보: . + +- TeX Live 패키지 제거: + +`sudo tlmgr remove {{패키지}}` + +- 패키지를 실제로 제거하지 않고 시뮬레이션: + +`tlmgr remove --dry-run {{패키지}}` + +- 패키지의 의존성을 제외하고 제거: + +`sudo tlmgr remove --no-depends {{패키지}}` + +- 패키지를 특정 디렉토리에 백업하며 제거: + +`sudo tlmgr remove --backupdir {{경로/대상/폴더}} {{패키지}}` + +- TeX Live 전체를 제거하고 확인 요청: + +`sudo tlmgr remove --all` diff --git a/pages.ko/common/tlmgr-repository.md b/pages.ko/common/tlmgr-repository.md new file mode 100644 index 00000000000000..5ab6e868a147bc --- /dev/null +++ b/pages.ko/common/tlmgr-repository.md @@ -0,0 +1,28 @@ +# tlmgr repository + +> TeX Live 설치의 저장소를 관리합니다. +> 더 많은 정보: . + +- 모든 설정된 저장소와 해당 태그(설정된 경우)를 나열: + +`tlmgr repository list` + +- 특정 저장소에서 사용할 수 있는 모든 패키지를 나열: + +`tlmgr repository list {{경로|url|태그}}` + +- 특정 태그와 함께 새 저장소 추가 (태그는 필수 아님): + +`sudo tlmgr repository add {{경로|url}} {{태그}}` + +- 특정 저장소 제거: + +`sudo tlmgr repository remove {{경로|url|태그}}` + +- 새로운 저장소 목록 설정, 이전 목록 덮어쓰기: + +`sudo tlmgr repository set {{경로|url|태그}}#{{태그}} {{경로|url|태그}}#{{태그}} {{...}}` + +- 모든 설정된 저장소의 검증 상태 표시: + +`tlmgr repository status` diff --git a/pages.ko/common/tlmgr-restore.md b/pages.ko/common/tlmgr-restore.md new file mode 100644 index 00000000000000..9a8355350ed576 --- /dev/null +++ b/pages.ko/common/tlmgr-restore.md @@ -0,0 +1,29 @@ +# tlmgr restore + +> `tlmgr backup`으로 생성된 패키지 백업 복원. +> 기본 백업 디렉토리는 `backupdir` 옵션에 의해 지정되며, `tlmgr option`으로 확인할 수 있습니다. +> 더 많은 정보: . + +- 모든 패키지에 대한 사용 가능한 모든 백업 리비전 나열: + +`tlmgr restore` + +- 특정 패키지에 대한 사용 가능한 모든 백업 리비전 나열: + +`tlmgr restore {{패키지}}` + +- 특정 패키지의 특정 리비전 복원: + +`tlmgr restore {{패키지}} {{리비전}}` + +- 백업된 모든 패키지의 최신 리비전 복원: + +`tlmgr restore --all` + +- 사용자 지정 백업 디렉토리에서 패키지 복원: + +`tlmgr restore {{패키지}} {{리비전}} --backupdir {{경로/대상/백업_디렉토리}}` + +- 수행된 모든 작업을 출력하고 실제로 수행하지는 않음 (드라이런): + +`tlmgr restore --dry-run {{패키지}} {{리비전}}` diff --git a/pages.ko/common/tlmgr-search.md b/pages.ko/common/tlmgr-search.md new file mode 100644 index 00000000000000..1dff0046132751 --- /dev/null +++ b/pages.ko/common/tlmgr-search.md @@ -0,0 +1,24 @@ +# tlmgr search + +> (Perl) 정규 표현식을 사용하여 TeX Live 패키지를 검색. +> 더 많은 정보: . + +- 특정 정규 표현식으로 로컬에 설치된 모든 패키지의 이름 및 설명 검색: + +`tlmgr search "{{정규_표현식}}"` + +- 정규 표현식으로 로컬에 설치된 모든 패키지의 파일 이름 검색: + +`tlmgr search --file "{{정규_표현식}}"` + +- 정규 표현식으로 로컬에 설치된 모든 패키지의 파일 이름, 패키지 이름 및 설명 검색: + +`tlmgr search --all "{{정규_표현식}}"` + +- 로컬 설치가 아닌 TeX Live 데이터베이스 검색: + +`tlmgr search --global "{{정규_표현식}}"` + +- 파일 이름이 아닌 패키지 이름과 설명에 대한 일치 결과를 전체 단어로 제한: + +`tlmgr search --all --word "{{정규_표현식}}"` diff --git a/pages.ko/common/tlmgr-shell.md b/pages.ko/common/tlmgr-shell.md new file mode 100644 index 00000000000000..0b33cd9b26b279 --- /dev/null +++ b/pages.ko/common/tlmgr-shell.md @@ -0,0 +1,36 @@ +# tlmgr shell + +> 네이티브 TeX Live 관리자의 대화형 셸 시작. +> 더 많은 정보: . + +- `tlmgr`의 대화형 셸 시작: + +`tlmgr shell` + +- 대화형 셸에서 `tlmgr` 하위 명령 실행: + +`{{하위_명령}} {{인수}}` + +- 대화형 셸 종료: + +`quit` + +- 모든 TeX Live 변수 나열: + +`get` + +- 특정 TeX Live 변수의 값 가져오기: + +`get {{변수}}` + +- 특정 TeX Live 변수의 값 설정: + +`set {{변수}} {{값}}` + +- 대화형 셸 재시작: + +`restart` + +- 현재 프로토콜의 버전 표시: + +`protocol` diff --git a/pages.ko/common/tlmgr-update.md b/pages.ko/common/tlmgr-update.md new file mode 100644 index 00000000000000..80b228f2ab3428 --- /dev/null +++ b/pages.ko/common/tlmgr-update.md @@ -0,0 +1,32 @@ +# tlmgr update + +> TeX Live 패키지 업데이트. +> 더 많은 정보: . + +- 모든 TeX Live 패키지를 업데이트: + +`sudo tlmgr update --all` + +- tlmgr 자체 업데이트: + +`sudo tlmgr update --self` + +- 특정 패키지 업데이트: + +`sudo tlmgr update {{패키지}}` + +- 특정 패키지를 제외하고 모든 패키지 업데이트: + +`sudo tlmgr update --all --exclude {{패키지}}` + +- 현재 패키지의 백업을 만들며 모든 패키지 업데이트: + +`sudo tlmgr update --all --backup` + +- 의존성을 업데이트하지 않고 특정 패키지 업데이트: + +`sudo tlmgr update --no-depends {{패키지}}` + +- 아무런 변경 없이 모든 패키지 업데이트를 시뮬레이션: + +`sudo tlmgr update --all --dry-run` diff --git a/pages.ko/common/tlmgr.md b/pages.ko/common/tlmgr.md new file mode 100644 index 00000000000000..b48a3ca9cd816c --- /dev/null +++ b/pages.ko/common/tlmgr.md @@ -0,0 +1,33 @@ +# tlmgr + +> 기존 TeX Live 설치의 패키지 및 구성 옵션 관리. +> `paper`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 패키지 및 그 의존성 설치: + +`tlmgr install {{패키지}}` + +- 패키지 및 그 의존성 제거: + +`tlmgr remove {{패키지}}` + +- 패키지에 대한 정보 표시: + +`tlmgr info {{패키지}}` + +- 모든 패키지 업데이트: + +`tlmgr update --all` + +- 업데이트 가능한 항목을 표시하지만 실제로 업데이트하지 않음: + +`tlmgr update --list` + +- tlmgr의 GUI 버전 시작: + +`tlmgr gui` + +- 모든 TeX Live 구성 나열: + +`tlmgr conf` diff --git a/pages.ko/common/tmpmail.md b/pages.ko/common/tmpmail.md new file mode 100644 index 00000000000000..ca51658a5f2d50 --- /dev/null +++ b/pages.ko/common/tmpmail.md @@ -0,0 +1,28 @@ +# tmpmail + +> 터미널에서 바로 사용할 수 있는 POSIX sh로 작성된 임시 이메일. +> 더 많은 정보: . + +- 임시 받은 편지함 생성: + +`tmpmail --generate` + +- 메시지와 그 숫자 ID 나열: + +`tmpmail` + +- 가장 최근에 받은 이메일 표시: + +`tmpmail --recent` + +- 특정 메시지 열기: + +`tmpmail {{이메일_ID}}` + +- HTML 태그 없이 이메일을 원시 텍스트로 보기: + +`tmpmail --text` + +- 특정 브라우저로 이메일 열기 (기본값은 w3m): + +`tmpmail --browser {{브라우저}}` diff --git a/pages.ko/common/tmsu.md b/pages.ko/common/tmsu.md new file mode 100644 index 00000000000000..658357a8132d5e --- /dev/null +++ b/pages.ko/common/tmsu.md @@ -0,0 +1,28 @@ +# tmsu + +> 파일에 태그를 붙이는 간단한 명령줄 도구. +> 더 많은 정보: . + +- 특정 파일에 여러 태그 추가: + +`tmsu tag {{경로/대상/파일.mp3}} {{music}} {{big-jazz}} {{mp3}}` + +- 여러 파일에 태그 추가: + +`tmsu tag --tags "{{music mp3}}" {{*.mp3}}` + +- 지정된 파일의 태그 나열: + +`tmsu tags {{*.mp3}}` + +- 지정된 태그가 있는 파일 나열: + +`tmsu files {{big-jazz}} {{music}}` + +- 논리 표현식과 일치하는 태그가 있는 파일 나열: + +`tmsu files "{{(year >= 1990 and year <= 2000)}} and {{grunge}}"` + +- 기존 디렉토리에 tmsu 가상 파일 시스템 마운트: + +`tmsu mount {{경로/대상/폴더}}` diff --git a/pages.ko/common/tmux.md b/pages.ko/common/tmux.md new file mode 100644 index 00000000000000..43568e54a33b66 --- /dev/null +++ b/pages.ko/common/tmux.md @@ -0,0 +1,37 @@ +# tmux + +> 터미널 멀티플렉서. tmux는 단일 단말기 창 또는 원격 터미널 세션 안에서 여러 세션을 사용할 수 있도록 도와줍니다. +> `zellij` 와 `screen`도 참조하세요. +> 더 많은 정보: . + +- 새 세션 시작: + +`tmux` + +- 이름있는 새 세션 시작: + +`tmux new -s {{이름}}` + +- 세션 리스트 출력: + +`tmux ls` + +- 가장 최근에 사용했던 세션에 접근: + +`tmux attach` + +- 현재 세션에서 나가기 (tmux 세션 안에서 사용): + +`` + +- 새 창 만들기 (tmux 세션 안에서 사용): + +`` + +- 세션 혹은 창 변경 (tmux 세션 안에서 사용): + +`` + +- 세션 이름으로 종료: + +`tmux kill-session -t {{이름}}` diff --git a/pages.ko/common/tmuxinator.md b/pages.ko/common/tmuxinator.md new file mode 100644 index 00000000000000..9c796b557cc354 --- /dev/null +++ b/pages.ko/common/tmuxinator.md @@ -0,0 +1,24 @@ +# tmuxinator + +> tmux 세션을 쉽게 생성하고 관리. +> 더 많은 정보: . + +- 새 프로젝트 생성: + +`tmuxinator new {{프로젝트}}` + +- 프로젝트 편집: + +`tmuxinator edit {{프로젝트}}` + +- 프로젝트 목록 나열: + +`tmuxinator list` + +- 프로젝트를 기반으로 tmux 세션 시작: + +`tmuxinator start {{프로젝트}}` + +- 프로젝트의 tmux 세션 중지: + +`tmuxinator stop {{프로젝트}}` diff --git a/pages.ko/common/todo.md b/pages.ko/common/todo.md new file mode 100644 index 00000000000000..7e86f807fd1222 --- /dev/null +++ b/pages.ko/common/todo.md @@ -0,0 +1,32 @@ +# todo + +> 간단하고 표준 기반의 CLI 할 일 관리 도구. +> 더 많은 정보: . + +- 시작할 수 있는 작업 목록: + +`todo list --startable` + +- 작업 목록에 새 작업 추가: + +`todo new {{할_일}} --list {{작업_목록}}` + +- 지정된 ID의 작업에 위치 추가: + +`todo edit --location {{위치_이름}} {{작업_ID}}` + +- 작업에 대한 세부 정보 표시: + +`todo show {{작업_ID}}` + +- 지정된 ID의 작업 완료로 표시: + +`todo done {{작업_ID1 작업_ID2 ...}}` + +- 작업 삭제: + +`todo delete {{작업_ID}}` + +- 완료된 작업 삭제 및 남은 작업 ID 초기화: + +`todo flush` diff --git a/pages.ko/common/todo.sh.md b/pages.ko/common/todo.sh.md new file mode 100644 index 00000000000000..ad785fd9c083df --- /dev/null +++ b/pages.ko/common/todo.sh.md @@ -0,0 +1,28 @@ +# todo.sh + +> `todo.txt` 파일을 관리하기 위한 간단하고 확장 가능한 셸 스크립트. +> 더 많은 정보: . + +- 모든 항목 나열: + +`todo.sh ls` + +- 프로젝트 및 컨텍스트 태그로 항목 추가: + +`todo.sh add '{{설명}} +{{프로젝트}} @{{컨텍스트}}'` + +- 항목을 [완료]로 표시: + +`todo.sh do {{항목_번호}}` + +- 항목 제거: + +`todo.sh rm {{항목_번호}}` + +- 항목의 [우선순위] 설정 (A-Z): + +`todo.sh pri {{항목_번호}} {{우선순위}}` + +- 항목 교체: + +`todo.sh replace {{항목_번호}} '{{새_설명}}'` diff --git a/pages.ko/common/todoist.md b/pages.ko/common/todoist.md new file mode 100644 index 00000000000000..deb793aefeb508 --- /dev/null +++ b/pages.ko/common/todoist.md @@ -0,0 +1,28 @@ +# todoist + +> 명령줄에서 에 접근하세요. +> 더 많은 정보: . + +- 작업 추가: + +`todoist add "{{작업_이름}}"` + +- 라벨, 프로젝트 및 기한이 있는 높은 우선순위 작업 추가: + +`todoist add "{{작업_이름}}" --priority {{1}} --label-ids "{{라벨_ID}}" --project-name "{{프로젝트_이름}}" --date "{{tmr 9am}}"` + +- 빠른 모드로 라벨, 프로젝트 및 기한이 있는 높은 우선순위 작업 추가: + +`todoist quick '#{{프로젝트_이름}} "{{tmr 9am}}" p{{1}} {{작업_이름}} @{{라벨_이름}}'` + +- 헤더 및 색상이 있는 모든 작업 나열: + +`todoist --header --color list` + +- 높은 우선순위의 모든 작업 나열: + +`todoist list --filter p{{1}}` + +- 지정된 라벨이 있는 오늘의 높은 우선순위 작업 나열: + +`todoist list --filter '(@{{라벨_이름}} | {{today}}) & p{{1}}'` diff --git a/pages.ko/common/todoman.md b/pages.ko/common/todoman.md new file mode 100644 index 00000000000000..5b151984638519 --- /dev/null +++ b/pages.ko/common/todoman.md @@ -0,0 +1,9 @@ +# todoman + +> 간단하고 표준 기반의 CLI 할 일 관리 도구. +> `todoman`은 `todo`라는 명령의 일반적인 이름이며, 명령 자체는 아닙니다. +> 더 많은 정보: . + +- 원본 명령에 대한 문서 보기: + +`tldr todo` diff --git a/pages.ko/common/toipe.md b/pages.ko/common/toipe.md new file mode 100644 index 00000000000000..16b61e0e0733b5 --- /dev/null +++ b/pages.ko/common/toipe.md @@ -0,0 +1,25 @@ +# toipe + +> 또 다른 타자 테스트, 하지만 게 맛. +> 신뢰할 수 있는 터미널 타자 연습 도구. +> 더 많은 정보: . + +- 기본 단어 목록으로 타자 테스트 시작: + +`toipe` + +- 특정 단어 목록 사용: + +`toipe {{[-w|--wordlist]}} {{단어목록_이름}}` + +- 사용자 정의 단어 목록 사용: + +`toipe {{[-f|--file]}} {{경로/대상/파일}}` + +- 각 테스트에서 단어 수 지정: + +`toipe {{[-n|--num]}} {{단어_수}}` + +- 구두점 포함: + +`toipe {{[-p|--punctuation]}}` diff --git a/pages.ko/common/tokei.md b/pages.ko/common/tokei.md new file mode 100644 index 00000000000000..8f11ff50eb9f82 --- /dev/null +++ b/pages.ko/common/tokei.md @@ -0,0 +1,20 @@ +# tokei + +> 코드에 대한 통계 표시. +> 더 많은 정보: . + +- 디렉토리 및 모든 하위 디렉토리의 코드에 대한 보고서 표시: + +`tokei {{경로/대상/폴더}}` + +- `.min.js` 파일을 제외한 디렉토리의 보고서 표시: + +`tokei {{경로/대상/폴더}} -e {{*.min.js}}` + +- 디렉토리 내 개별 파일에 대한 통계 표시: + +`tokei {{경로/대상/폴더}} --files` + +- Rust 및 Markdown 유형의 모든 파일에 대한 보고서 표시: + +`tokei {{경로/대상/폴더}} -t={{Rust}},{{Markdown}}` diff --git a/pages.ko/common/topgrade.md b/pages.ko/common/topgrade.md new file mode 100644 index 00000000000000..5b8c993ee61918 --- /dev/null +++ b/pages.ko/common/topgrade.md @@ -0,0 +1,28 @@ +# topgrade + +> 시스템의 모든 애플리케이션을 업데이트. +> 더 많은 정보: . + +- 업데이트 실행: + +`topgrade` + +- 모든 업데이트에 대해 '예'라고 응답: + +`topgrade -y` + +- 임시/오래된 파일 정리: + +`topgrade -c` + +- 특정 업데이트 작업 비활성화: + +`topgrade --disable {{작업}}` + +- 특정 업데이트 작업만 수행: + +`topgrade --only {{작업}}` + +- 기본 편집기로 구성 파일 편집: + +`topgrade --edit-config` diff --git a/pages.ko/common/topydo.md b/pages.ko/common/topydo.md new file mode 100644 index 00000000000000..603b17037a6f4d --- /dev/null +++ b/pages.ko/common/topydo.md @@ -0,0 +1,28 @@ +# topydo + +> todo.txt 형식을 사용하는 할 일 목록 애플리케이션. +> 더 많은 정보: . + +- 특정 프로젝트와 주어진 컨텍스트로 할 일 추가: + +`topydo add "{{할일_메시지}} +{{프로젝트_이름}} @{{컨텍스트_이름}}"` + +- 마감일이 내일이고 우선순위가 `A`인 할 일 추가: + +`topydo add "(A) {{할일_메시지}} due:{{1d}}"` + +- 마감일이 금요일인 할 일 추가: + +`topydo add "{{할일_메시지}} due:{{fri}}"` + +- 비엄격한 반복 할 일 추가 (다음 마감일 = 지금 + 반복): + +`topydo add "물 주기 due:{{mon}} rec:{{1w}}"` + +- 엄격한 반복 할 일 추가 (다음 마감일 = 현재 마감일 + 반복): + +`topydo add "{{할일_메시지}} due:{{2020-01-01}} rec:{{+1m}}"` + +- 마지막으로 실행한 `topydo` 명령 되돌리기: + +`topydo revert` diff --git a/pages.ko/common/touch.md b/pages.ko/common/touch.md new file mode 100644 index 00000000000000..1a8d076ac80a9c --- /dev/null +++ b/pages.ko/common/touch.md @@ -0,0 +1,20 @@ +# touch + +> 파일을 생성하고 접근/수정 시간을 설정합니다. +> 더 많은 정보: . + +- 특정 파일 생성: + +`touch {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일의 [a]ccess 또는 [m]odification 시간을 현재 시간으로 설정하고 파일이 없으면 [c]reate 하지 않음: + +`touch {{[-c|--no-create]}} -{{a|m}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일의 [t]ime을 특정 값으로 설정하고 파일이 없으면 [c]reate 하지 않음: + +`touch {{[-c|--no-create]}} -t {{YYYYMMDDHHMM.SS}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일의 타임스탬프를 [r]eference 파일의 타임스탬프로 설정하고 파일이 없으면 [c]reate 하지 않음: + +`touch {{[-c|--no-create]}} {{[-r|--reference]}} {{경로/대상/참조_파일}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/tox.md b/pages.ko/common/tox.md new file mode 100644 index 00000000000000..de102517175b42 --- /dev/null +++ b/pages.ko/common/tox.md @@ -0,0 +1,25 @@ +# tox + +> 여러 Python 버전에서 Python 테스트를 자동화. +> tox.ini를 사용하여 환경 및 테스트 명령을 구성하세요. +> 더 많은 정보: . + +- 모든 테스트 환경에서 테스트 실행: + +`tox` + +- `tox.ini` 구성 생성: + +`tox-quickstart` + +- 사용 가능한 환경 나열: + +`tox --listenvs-all` + +- 특정 환경에서 테스트 실행 (예: Python 3.6): + +`tox -e {{py36}}` + +- 가상 환경을 강제로 재생성: + +`tox --recreate -e {{py27}}` diff --git a/pages.ko/common/tpp.md b/pages.ko/common/tpp.md new file mode 100644 index 00000000000000..86bf6ee5879499 --- /dev/null +++ b/pages.ko/common/tpp.md @@ -0,0 +1,12 @@ +# tpp + +> 커맨드라인 기반 프레젠테이션 도구. +> 더 많은 정보: . + +- 프레젠테이션 보기: + +`tpp {{경로/대상/파일}}` + +- 프레젠테이션 출력: + +`tpp -t {{타입}} -o {{경로/대상/출력}} {{경로/대상/파일}}` diff --git a/pages.ko/common/tput.md b/pages.ko/common/tput.md new file mode 100644 index 00000000000000..dc453db3212daf --- /dev/null +++ b/pages.ko/common/tput.md @@ -0,0 +1,28 @@ +# tput + +> 터미널 설정 및 기능을 조회하고 수정. +> 더 많은 정보: . + +- 커서를 특정 화면 위치로 이동: + +`tput cup {{행}} {{열}}` + +- 전경색(af) 또는 배경색(ab) 설정: + +`tput {{setaf|setab}} {{ANSI_색상_코드}}` + +- 컬럼 수, 라인 수, 또는 색상 수 표시: + +`tput {{cols|lines|colors}}` + +- 터미널 벨 울리기: + +`tput bel` + +- 모든 터미널 속성 초기화: + +`tput sgr0` + +- 자동 줄바꿈 활성화 또는 비활성화: + +`tput {{smam|rmam}}` diff --git a/pages.ko/common/tr.md b/pages.ko/common/tr.md new file mode 100644 index 00000000000000..18d3d9e0450240 --- /dev/null +++ b/pages.ko/common/tr.md @@ -0,0 +1,32 @@ +# tr + +> 문자를 변환합니다: 단일 문자 및 문자 집합을 기반으로 대체를 수행합니다. +> 더 많은 정보: . + +- 파일에서 특정 문자의 모든 발생을 대체하고 결과를 출력: + +`tr {{찾을_문자}} {{대체할_문자}} < {{경로/대상/파일}}` + +- 다른 명령의 출력에서 특정 문자의 모든 발생을 대체: + +`echo {{텍스트}} | tr {{찾을_문자}} {{대체할_문자}}` + +- 첫 번째 집합의 각 문자를 두 번째 집합의 해당 문자로 매핑: + +`tr '{{abcd}}' '{{jkmn}}' < {{경로/대상/파일}}` + +- 입력에서 지정된 문자 집합의 모든 발생 삭제: + +`tr -d '{{입력_문자들}}' < {{경로/대상/파일}}` + +- 연속된 같은 문자를 하나의 문자로 압축: + +`tr -s '{{입력_문자들}}' < {{경로/대상/파일}}` + +- 파일 내용을 대문자로 변환: + +`tr "[:lower:]" "[:upper:]" < {{경로/대상/파일}}` + +- 파일에서 출력 가능한 문자가 아닌 문자 제거: + +`tr -cd "[:print:]" < {{경로/대상/파일}}` diff --git a/pages.ko/common/traceroute.md b/pages.ko/common/traceroute.md new file mode 100644 index 00000000000000..bd4816dc9e79d4 --- /dev/null +++ b/pages.ko/common/traceroute.md @@ -0,0 +1,32 @@ +# traceroute + +> 네트워크 호스트로 패킷 경로를 추적하여 출력. +> 더 많은 정보: . + +- 호스트로 traceroute 실행: + +`traceroute {{example.com}}` + +- IP 주소 및 호스트 이름 매핑 비활성화: + +`traceroute -n {{example.com}}` + +- 응답 대기 시간을 초 단위로 지정: + +`traceroute --wait={{0.5}} {{example.com}}` + +- 홉당 쿼리 수 지정: + +`traceroute --queries={{5}} {{example.com}}` + +- 프로빙 패킷의 크기를 바이트 단위로 지정: + +`traceroute {{example.com}} {{42}}` + +- 목적지까지의 MTU 결정: + +`traceroute --mtu {{example.com}}` + +- UDP 대신 ICMP를 사용하여 traceroute 실행: + +`traceroute --icmp {{example.com}}` diff --git a/pages.ko/common/traefik.md b/pages.ko/common/traefik.md new file mode 100644 index 00000000000000..bdddb0030b19c9 --- /dev/null +++ b/pages.ko/common/traefik.md @@ -0,0 +1,20 @@ +# traefik + +> HTTP 리버스 프록시 및 로드 밸런서. +> 더 많은 정보: . + +- 기본 설정으로 서버 시작: + +`traefik` + +- 사용자 지정 설정 파일로 서버 시작: + +`traefik --ConfigFile {{설정_파일.toml}}` + +- 클러스터 모드를 활성화하여 서버 시작: + +`traefik --cluster` + +- 웹 UI를 활성화하여 서버 시작: + +`traefik --web` diff --git a/pages.ko/common/trans.md b/pages.ko/common/trans.md new file mode 100644 index 00000000000000..cf18bc406e3e5d --- /dev/null +++ b/pages.ko/common/trans.md @@ -0,0 +1,24 @@ +# trans + +> Translate Shell은 명령줄 번역기입니다. +> 더 많은 정보: . + +- 단어 번역 (언어는 자동으로 감지됨): + +`trans "{{번역할_단어나_문장}}"` + +- 간단한 번역 받기: + +`trans --brief "{{번역할_단어나_문장}}"` + +- 단어를 프랑스어로 번역: + +`trans :{{fr}} {{단어}}` + +- 독일어에서 영어로 단어 번역: + +`trans {{de}}:{{en}} {{Schmetterling}}` + +- 사전처럼 행동하여 단어의 의미 얻기: + +`trans -d {{단어}}` diff --git a/pages.ko/common/transcode.md b/pages.ko/common/transcode.md new file mode 100644 index 00000000000000..0347a6a8520d86 --- /dev/null +++ b/pages.ko/common/transcode.md @@ -0,0 +1,16 @@ +# transcode + +> 비디오 및 오디오 코덱을 변환하고 미디어 형식을 변환하는 도구. +> 더 많은 정보: . + +- 카메라 흔들림 제거를 위한 안정화 파일 생성: + +`transcode -J stabilize -i {{입력_파일}}` + +- 안정화 파일 생성 후 카메라 흔들림 제거, XviD를 사용하여 비디오 변환: + +`transcode -J transform -i {{입력_파일}} -y xvid -o {{출력_파일}}` + +- 비디오 크기를 640x480 픽셀로 조정하고 XviD를 사용하여 MPEG4 코덱으로 변환: + +`transcode -Z 640x480 -i {{입력_파일}} -y xvid -o {{출력_파일}}` diff --git a/pages.ko/common/transcrypt.md b/pages.ko/common/transcrypt.md new file mode 100644 index 00000000000000..e47e7234d169e5 --- /dev/null +++ b/pages.ko/common/transcrypt.md @@ -0,0 +1,24 @@ +# transcrypt + +> Git 저장소 내에서 파일을 투명하게 암호화. +> 더 많은 정보: . + +- 구성되지 않은 저장소 초기화: + +`transcrypt` + +- 현재 암호화된 파일 나열: + +`git ls-crypt` + +- 구성된 저장소의 자격 증명 표시: + +`transcrypt --display` + +- 구성된 저장소의 새 클론을 초기화하고 복호화: + +`transcrypt --cipher={{암호화_알고리즘}}` + +- 암호화 알고리즘이나 암호를 변경하기 위한 키 재설정: + +`transcrypt --rekey` diff --git a/pages.ko/common/transfersh.md b/pages.ko/common/transfersh.md new file mode 100644 index 00000000000000..d75e5b4939d2e6 --- /dev/null +++ b/pages.ko/common/transfersh.md @@ -0,0 +1,28 @@ +# transfersh + +> 비공식적인 transfer.sh 명령줄 클라이언트. +> 더 많은 정보: . + +- 파일을 transfer.sh에 업로드: + +`transfersh {{경로/대상/파일}}` + +- 진행 표시줄을 보여주며 파일 업로드 (Python 패키지 `requests_toolbelt` 필요): + +`transfersh --progress {{경로/대상/파일}}` + +- 다른 파일 이름으로 파일 업로드: + +`transfersh --name {{파일명}} {{경로/대상/파일}}` + +- 사용자 지정 transfer.sh 서버에 파일 업로드: + +`transfersh --servername {{업로드.서버.이름}} {{경로/대상/파일}}` + +- 디렉터리의 모든 파일을 재귀적으로 업로드: + +`transfersh --recursive {{경로/대상/폴더/}}` + +- 특정 디렉터리를 압축되지 않은 tar로 업로드: + +`transfersh -rt {{경로/대상/폴더}}` diff --git a/pages.ko/common/transmission-cli.md b/pages.ko/common/transmission-cli.md new file mode 100644 index 00000000000000..16e5e763aabef1 --- /dev/null +++ b/pages.ko/common/transmission-cli.md @@ -0,0 +1,37 @@ +# transmission-cli + +> 경량의 명령줄 기반 BitTorrent 클라이언트. +> 이 도구는 사용이 중단되었습니다. `transmission-remote`를 참조하세요. +> 더 많은 정보: . + +- 특정 토렌트 다운로드: + +`transmission-cli {{url|마그넷|경로/대상/파일}}` + +- 특정 디렉토리에 토렌트 다운로드: + +`transmission-cli {{[-w|--download-dir]}} {{경로/대상/다운로드_디렉토리}} {{url|마그넷|경로/대상/파일}}` + +- 특정 파일이나 디렉토리에서 토렌트 파일 생성: + +`transmission-cli --new {{경로/대상/소스_파일_또는_디렉토리}}` + +- 다운로드 속도 제한 설정 (KB/s 단위): + +`transmission-cli {{[-d|--downlimit]}} {{50}} {{url|마그넷|경로/대상/파일}}` + +- 업로드 속도 제한 설정 (KB/s 단위): + +`transmission-cli {{[-u|--uplimit]}} {{50}} {{url|마그넷|경로/대상/파일}}` + +- 특정 포트를 사용하여 연결: + +`transmission-cli {{[-p|--port]}} {{포트_번호}} {{url|마그넷|경로/대상/파일}}` + +- 피어 연결에 암호화 강제 적용: + +`transmission-cli {{[-er|--encryption-required]}} {{url|마그넷|경로/대상/파일}}` + +- Bluetack 형식의 피어 차단 목록 사용: + +`transmission-cli {{[-b|--blocklist]}} {{차단목록_url|경로/대상/차단목록}} {{url|마그넷|경로/대상/파일}}` diff --git a/pages.ko/common/transmission-create.md b/pages.ko/common/transmission-create.md new file mode 100644 index 00000000000000..48a72f1f825a8e --- /dev/null +++ b/pages.ko/common/transmission-create.md @@ -0,0 +1,25 @@ +# transmission-create + +> BitTorrent `.torrent` 파일 만들기. +> 같이 보기: `transmission`. +> 더 많은 정보: . + +- 2048 KB를 조각 크기로 하여 토렌트 생성: + +`transmission-create {{[-o|--outfile]}} {{경로/대상/example.torrent}} {{[-t|--tracker]}} {{트래커_발표_URL}} {{[-s|--piecesize]}} {{2048}} {{경로/대상/파일_또는_폴더}}` + +- 2048 KB 조각 크기로 개인 토렌트 생성: + +`transmission-create {{[-p|--private]}} {{[-o|--outfile]}} {{경로/대상/example.torrent}} {{[-t|--tracker]}} {{트래커_발표_URL}} {{[-s|--piecesize]}} {{2048}} {{경로/대상/파일_또는_폴더}}` + +- 코멘트를 포함하여 토렌트 생성: + +`transmission-create {{[-o|--outfile]}} {{경로/대상/example.torrent}} {{[-t|--tracker]}} {{트래커_URL1}} {{[-c|--comment]}} {{코멘트}} {{경로/대상/파일_또는_폴더}}` + +- 여러 트래커를 포함하여 토렌트 생성: + +`transmission-create {{[-o|--outfile]}} {{경로/대상/example.torrent}} {{[-t|--tracker]}} {{트래커_URL1}} {{[-t|--tracker]}} {{트래커_URL2}} {{경로/대상/파일_또는_폴더}}` + +- 도움말 페이지 표시: + +`transmission-create {{[-h|--help]}}` diff --git a/pages.ko/common/transmission-daemon.md b/pages.ko/common/transmission-daemon.md new file mode 100644 index 00000000000000..1fbb20060aa8c0 --- /dev/null +++ b/pages.ko/common/transmission-daemon.md @@ -0,0 +1,21 @@ +# transmission-daemon + +> `transmission-remote` 또는 웹 인터페이스로 제어되는 데몬. +> 같이 보기: `transmission`. +> 더 많은 정보: . + +- 헤드리스 `transmission` 세션 시작: + +`transmission-daemon` + +- 특정 디렉터리를 감시하여 새로운 토렌트를 시작: + +`transmission-daemon {{[-c|--watch-dir]}} {{경로/대상/폴더}}` + +- JSON 형식으로 데몬 설정 덤프: + +`transmission-daemon --dump-settings > {{경로/대상/파일.json}}` + +- 웹 인터페이스에 대한 특정 설정으로 시작: + +`transmission-daemon {{[-t|--auth]}} {{[-u|--username]}} {{사용자명}} {{[-v|--password]}} {{비밀번호}} {{[-p|--port]}} {{9091}} {{[-a|--allowed]}} {{127.0.0.1}}` diff --git a/pages.ko/common/transmission-edit.md b/pages.ko/common/transmission-edit.md new file mode 100644 index 00000000000000..e17dcb25d4451f --- /dev/null +++ b/pages.ko/common/transmission-edit.md @@ -0,0 +1,13 @@ +# transmission-edit + +> 토렌트 파일에서 announce URL을 수정. +> 같이 보기: `transmission`. +> 더 많은 정보: . + +- 토렌트의 announce 목록에 URL 추가 또는 삭제: + +`transmission-edit --{{add|delete}} {{http://example.com}} {{경로/대상/파일.torrent}}` + +- 토렌트 파일에서 트래커의 패스코드 업데이트: + +`transmission-edit --replace {{기존-패스코드}} {{새로운-패스코드}} {{경로/대상/파일.torrent}}` diff --git a/pages.ko/common/transmission-remote.md b/pages.ko/common/transmission-remote.md new file mode 100644 index 00000000000000..31d08a2d471c0a --- /dev/null +++ b/pages.ko/common/transmission-remote.md @@ -0,0 +1,32 @@ +# transmission-remote + +> `transmission-daemon` 및 `transmission`의 원격 제어 도구. +> 더 많은 정보: . + +- 토렌트 파일 또는 마그넷 링크를 Transmission에 추가하고 지정한 디렉토리로 다운로드: + +`transmission-remote {{호스트명}} {{[-a|--all]}} {{토렌트|url}} {{[-w|--download-dir]}} {{/경로/대상/다운로드_디렉토리}}` + +- 기본 다운로드 디렉토리 변경: + +`transmission-remote {{호스트명}} {{[-w|--download-dir]}} {{/경로/대상/다운로드_디렉토리}}` + +- 모든 토렌트 나열: + +`transmission-remote {{호스트명}} {{[-l|--list]}}` + +- 토렌트 1과 2 시작, 토렌트 3 중지: + +`transmission-remote {{호스트명}} {{[-t|--torrent]}} "1,2" {{[-s|--start]}} {{[-t|--torrent]}} 3 {{[-S|--stop]}}` + +- 토렌트 1과 2 제거, 토렌트 2의 로컬 데이터도 삭제: + +`transmission-remote {{호스트명}} {{[-t|--torrent]}} 1 {{[-r|--remove]}} {{[-t|--torrent]}} 2 {{[-rad|--remove-and-delete]}}` + +- 모든 토렌트 중지: + +`transmission-remote {{호스트명}} {{[-t|--torrent]}} {{all}} {{[-S|--stop]}}` + +- 토렌트 1-10 및 15-20을 새 디렉토리로 이동 (존재하지 않는 경우 생성됨): + +`transmission-remote {{호스트명}} {{[-t|--torrent]}} "1-10,15-20" --move {{/경로/대상/새_디렉토리}}` diff --git a/pages.ko/common/transmission-show.md b/pages.ko/common/transmission-show.md new file mode 100644 index 00000000000000..57379ce2093d6e --- /dev/null +++ b/pages.ko/common/transmission-show.md @@ -0,0 +1,17 @@ +# transmission-show + +> 토렌트 파일에 대한 정보 가져오기. +> 같이 보기: `transmission`. +> 더 많은 정보: . + +- 특정 토렌트의 메타데이터 표시: + +`transmission-show {{경로/대상/파일.torrent}}` + +- 특정 토렌트에 대한 마그넷 링크 생성: + +`transmission-show {{[-m|--magnet]}} {{경로/대상/파일.torrent}}` + +- 토렌트의 트래커를 조회하고 현재 피어 수 출력: + +`transmission-show {{[-s|--scrape]}} {{경로/대상/파일.torrent}}` diff --git a/pages.ko/common/transmission.md b/pages.ko/common/transmission.md new file mode 100644 index 00000000000000..3d1294af8095ab --- /dev/null +++ b/pages.ko/common/transmission.md @@ -0,0 +1,29 @@ +# transmission + +> 간단한 토렌트 클라이언트. +> Transmission은 하나의 명령이 아닌 명령 집합입니다. 아래 페이지를 참조하세요. +> 더 많은 정보: . + +- Transmission 데몬 실행에 대한 문서 보기: + +`tldr transmission-daemon` + +- 데몬과 상호작용하는 방법에 대한 문서 보기: + +`tldr transmission-remote` + +- 토렌트 파일 생성에 대한 문서 보기: + +`tldr transmission-create` + +- 토렌트 파일 수정에 대한 문서 보기: + +`tldr transmission-edit` + +- 토렌트 파일 정보 얻기에 대한 문서 보기: + +`tldr transmission-show` + +- 데몬과 상호작용하는 이전 방식에 대한 문서 보기: + +`tldr transmission-cli` diff --git a/pages.ko/common/trap.md b/pages.ko/common/trap.md new file mode 100644 index 00000000000000..c34e694a80c6be --- /dev/null +++ b/pages.ko/common/trap.md @@ -0,0 +1,16 @@ +# trap + +> 이벤트 발생 시 명령을 실행. +> 더 많은 정보: . + +- 예상 이벤트의 이름과 명령 나열: + +`trap` + +- 신호를 받았을 때 명령 실행: + +`trap 'echo "신호 {{SIGHUP}} 수신"' {{HUP}}` + +- 명령 제거: + +`trap - {{HUP}} {{INT}}` diff --git a/pages.ko/common/trash-cli.md b/pages.ko/common/trash-cli.md new file mode 100644 index 00000000000000..fb9274eec83877 --- /dev/null +++ b/pages.ko/common/trash-cli.md @@ -0,0 +1,7 @@ +# trash-cli + +> 이 명령은 `trash`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr trash` diff --git a/pages.ko/common/travis.md b/pages.ko/common/travis.md new file mode 100644 index 00000000000000..0947870f0d4953 --- /dev/null +++ b/pages.ko/common/travis.md @@ -0,0 +1,24 @@ +# travis + +> Travis CI와 상호작용하는 명령줄 클라이언트. +> 더 많은 정보: . + +- 클라이언트 버전 표시: + +`travis version` + +- 인증 토큰을 사용하여 서버에 CLI 클라이언트 인증: + +`travis login` + +- 사용자가 권한을 가진 저장소 나열: + +`travis repos` + +- `.travis.yml` 파일에서 값을 암호화: + +`travis encrypt {{토큰}}` + +- `.travis.yml` 파일 생성 및 프로젝트 활성화: + +`travis init` diff --git a/pages.ko/common/trawl.md b/pages.ko/common/trawl.md new file mode 100644 index 00000000000000..471bcea33a73ee --- /dev/null +++ b/pages.ko/common/trawl.md @@ -0,0 +1,20 @@ +# trawl + +> 네트워크 인터페이스 정보를 콘솔에 출력하는 도구로, ifconfig/ipconfig/ip/ifdata와 유사합니다. +> 더 많은 정보: . + +- 열 이름 표시: + +`trawl -n` + +- 대소문자 구분 없는 정규 표현식을 사용하여 인터페이스 이름 필터링: + +`trawl -f wi` + +- 사용 가능한 인터페이스 나열: + +`trawl -i` + +- 루프백 인터페이스 포함: + +`trawl -l` diff --git a/pages.ko/common/tre.md b/pages.ko/common/tre.md new file mode 100644 index 00000000000000..d0166d2bb7c093 --- /dev/null +++ b/pages.ko/common/tre.md @@ -0,0 +1,37 @@ +# tre + +> 현재 디렉토리의 내용을 트리 형태로 표시. +> 기본적으로 `.gitignore` 설정을 존중합니다. +> 더 많은 정보: . + +- 디렉토리만 출력: + +`tre --directories` + +- 트리 구조 대신 파일을 포함한 JSON 출력: + +`tre --json` + +- 지정된 깊이 제한까지 파일 및 디렉토리 출력 (1은 현재 디렉토리를 의미): + +`tre --limit {{깊이}}` + +- 지정된 색상 모드를 사용하여 모든 숨김 파일 및 디렉토리 출력: + +`tre --all --color {{automatic|always|never}}` + +- 트리 구조 내 파일들을 출력하고, 각 파일을 연관된 `command`(기본값은 `$EDITOR`)로 열 수 있는 셸 별칭 할당: + +`tre --editor {{명령어}}` + +- 제공된 정규 표현식과 일치하는 모든 경로를 제외하고 트리 구조 내 파일 출력: + +`tre --exclude {{정규_표현식}}` + +- 버전 표시: + +`tre --version` + +- 도움말 표시: + +`tre --help` diff --git a/pages.ko/common/tred.md b/pages.ko/common/tred.md new file mode 100644 index 00000000000000..4276bbfaf6812d --- /dev/null +++ b/pages.ko/common/tred.md @@ -0,0 +1,13 @@ +# tred + +> 방향 그래프의 전이 축소를 계산. +> Graphviz 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 방향 그래프의 전이 축소 그래프 생성: + +`tred {{경로/대상/입력1.gv}} {{경로/대상/입력2.gv ...}} > {{경로/대상/출력.gv}}` + +- 도움말 표시: + +`tred -?` diff --git a/pages.ko/common/tree.md b/pages.ko/common/tree.md new file mode 100644 index 00000000000000..af6ec59c0fdfdb --- /dev/null +++ b/pages.ko/common/tree.md @@ -0,0 +1,36 @@ +# tree + +> 현재 디렉토리의 내용을 트리 형태로 표시. +> 더 많은 정보: . + +- 'num' 수준 깊이까지 파일 및 디렉토리 표시 (1은 현재 디렉토리를 의미): + +`tree -L {{수준}}` + +- 디렉토리만 표시: + +`tree -d` + +- 숨김 파일도 색상화하여 표시: + +`tree -a -C` + +- 들여쓰기 선 없이 전체 경로를 표시 (인쇄할 수 없는 문자를 이스케이프하지 않으려면 `-N` 사용): + +`tree -i -f` + +- 각 파일의 크기와 각 디렉토리의 누적 크기를 사람이 읽기 쉬운 형식으로 표시: + +`tree -s -h --du` + +- 와일드카드(글로벌) 패턴을 사용하여 트리 계층 내의 파일을 표시하고, 일치하는 파일이 없는 디렉토리는 제외: + +`tree -P '{{*.txt}}' --prune` + +- 와일드카드(글로벌) 패턴을 사용하여 트리 계층 내의 디렉토리를 표시하고, 원하는 디렉토리의 상위 디렉토리가 아닌 디렉토리는 제외: + +`tree -P {{디렉토리_이름}} --matchdirs --prune` + +- 주어진 디렉토리를 무시하고 트리 표시: + +`tree -I '{{디렉토리_이름1|디렉토리_이름2}}'` diff --git a/pages.ko/common/trivy.md b/pages.ko/common/trivy.md new file mode 100644 index 00000000000000..1fecaee6bf3b55 --- /dev/null +++ b/pages.ko/common/trivy.md @@ -0,0 +1,36 @@ +# trivy + +> 컨테이너 이미지, 파일 시스템 및 Git 저장소의 취약점과 구성 문제를 스캔하는 도구. +> 더 많은 정보: . + +- Docker 이미지를 취약점 및 노출된 비밀 키에 대해 스캔: + +`trivy image {{이미지:태그}}` + +- 심각도에 따라 출력 결과를 필터링하여 Docker 이미지 스캔: + +`trivy image --severity {{HIGH,CRITICAL}} {{alpine:3.15}}` + +- 수정되지 않거나 패치되지 않은 취약점을 무시하고 Docker 이미지 스캔: + +`trivy image --ignore-unfixed {{alpine:3.15}}` + +- 파일 시스템을 취약점 및 잘못된 구성에 대해 스캔: + +`trivy fs --security-checks {{vuln,config}} {{경로/대상/프로젝트_폴더}}` + +- IaC(Terraform, CloudFormation, ARM, Helm 및 Dockerfile) 디렉토리를 잘못된 구성에 대해 스캔: + +`trivy config {{경로/대상/iac_폴더}}` + +- 로컬 또는 원격 Git 저장소를 취약점에 대해 스캔: + +`trivy repo {{경로/대상/로컬_저장소_폴더|원격_저장소_URL}}` + +- 특정 커밋 해시까지 Git 저장소 스캔: + +`trivy repo --commit {{커밋_해시}} {{저장소}}` + +- SARIF 템플릿으로 출력 생성: + +`trivy image --format {{template}} --template "{{@sarif.tpl}}" -o {{경로/대상/보고서.sarif}} {{이미지:태그}}` diff --git a/pages.ko/common/troff.md b/pages.ko/common/troff.md new file mode 100644 index 00000000000000..a94832df2e90c0 --- /dev/null +++ b/pages.ko/common/troff.md @@ -0,0 +1,21 @@ +# troff + +> groff (GNU Troff) 문서 형식 시스템을 위한 조판 프로세서. +> 같이 보기: `groff`. +> 더 많은 정보: . + +- 출력 형식을 PostScript 프린터용으로 지정하고, 출력을 파일에 저장: + +`troff {{경로/대상/입력.roff}} | grops > {{경로/대상/출력.ps}}` + +- [me] 매크로 패키지를 사용하여 출력 형식을 PostScript 프린터용으로 지정하고, 출력을 파일에 저장: + +`troff -{{me}} {{경로/대상/입력.roff}} | grops > {{경로/대상/출력.ps}}` + +- 출력 형식을 [a]SCII 텍스트로 지정하고 [man] 매크로 패키지를 사용: + +`troff -T {{ascii}} -{{man}} {{경로/대상/입력.roff}} | grotty` + +- 출력 형식을 [pdf] 파일로 지정하고, 출력을 파일에 저장: + +`troff -T {{pdf}} {{경로/대상/입력.roff}} | gropdf > {{경로/대상/출력.pdf}}` diff --git a/pages.ko/common/true.md b/pages.ko/common/true.md new file mode 100644 index 00000000000000..a45e97d95592e8 --- /dev/null +++ b/pages.ko/common/true.md @@ -0,0 +1,9 @@ +# true + +> 성공적인 종료 상태 코드 0을 반환합니다. +> 이 명령을 `||` 연산자와 함께 사용하여 명령이 항상 0으로 종료되도록 만드세요. +> 더 많은 정보: . + +- 성공적인 종료 코드를 반환: + +`true` diff --git a/pages.ko/common/truffle.md b/pages.ko/common/truffle.md new file mode 100644 index 00000000000000..dc61baa5b23720 --- /dev/null +++ b/pages.ko/common/truffle.md @@ -0,0 +1,24 @@ +# truffle + +> Ethereum 블록체인에서 서비스를 실행하기 위한 스마트 계약 개발 도구. +> 더 많은 정보: . + +- 미리 만들어진 Truffle 프로젝트(Truffle Box) 다운로드: + +`truffle unbox {{박스_이름}}` + +- 현재 디렉토리의 계약 소스 파일 컴파일: + +`truffle compile` + +- JavaScript 및 Solidity 테스트 실행: + +`truffle test` + +- 계약 배포를 위한 마이그레이션 실행: + +`truffle migrate` + +- 하위 명령에 대한 도움말 표시: + +`truffle help {{하위_명령}}` diff --git a/pages.ko/common/trufflehog.md b/pages.ko/common/trufflehog.md new file mode 100644 index 00000000000000..11541281b350b1 --- /dev/null +++ b/pages.ko/common/trufflehog.md @@ -0,0 +1,36 @@ +# trufflehog + +> 파일, Git 저장소, S3 버킷 및 Docker 이미지에서 인증 정보를 찾고 검증. +> 더 많은 정보: . + +- Git 저장소에서 검증된 비밀 검색: + +`trufflehog git {{https://github.com/trufflesecurity/test_keys}} --only-verified` + +- GitHub 조직에서 검증된 비밀 검색: + +`trufflehog github --org {{trufflesecurity}} --only-verified` + +- GitHub 저장소에서 검증된 키 검색 및 JSON 출력 받기: + +`trufflehog git {{https://github.com/trufflesecurity/test_keys}} --only-verified --json` + +- GitHub 저장소와 그 이슈 및 풀 리퀘스트 검색: + +`trufflehog github --repo {{https://github.com/trufflesecurity/test_keys}} --issue-comments --pr-comments` + +- S3 버킷에서 검증된 키 검색: + +`trufflehog s3 --bucket {{버킷 이름}} --only-verified` + +- IAM 역할을 사용하여 S3 버킷 검색: + +`trufflehog s3 --role-arn {{iam-role-arn}}` + +- 개별 파일 또는 디렉터리 검색: + +`trufflehog filesystem {{경로/대상/파일_또는_디렉터리1 경로/대상/파일_또는_디렉터리2 ...}}` + +- Docker 이미지에서 검증된 비밀 검색: + +`trufflehog docker --image {{trufflesecurity/secrets}} --only-verified` diff --git a/pages.ko/common/truncate.md b/pages.ko/common/truncate.md new file mode 100644 index 00000000000000..40d7df23c386cc --- /dev/null +++ b/pages.ko/common/truncate.md @@ -0,0 +1,24 @@ +# truncate + +> 파일의 크기를 지정된 크기로 줄이거나 늘립니다. +> 더 많은 정보: . + +- 기존 파일의 크기를 10GB로 설정하거나, 지정된 크기로 새 파일 생성: + +`truncate --size 10G {{경로/대상/파일}}` + +- 파일 크기를 50MiB 늘리고, 구멍으로 채우기 (0바이트로 읽힘): + +`truncate --size +50M {{경로/대상/파일}}` + +- 파일의 끝에서 데이터를 제거하여 2GiB 줄이기: + +`truncate --size -2G {{경로/대상/파일}}` + +- 파일 내용 비우기: + +`truncate --size 0 {{경로/대상/파일}}` + +- 파일 내용 비우기, 파일이 존재하지 않으면 생성하지 않기: + +`truncate --no-create --size 0 {{경로/대상/파일}}` diff --git a/pages.ko/common/ts-node.md b/pages.ko/common/ts-node.md new file mode 100644 index 00000000000000..07b8dd62a0a9d3 --- /dev/null +++ b/pages.ko/common/ts-node.md @@ -0,0 +1,28 @@ +# ts-node + +> TypeScript 코드를 컴파일 없이 직접 실행. +> 더 많은 정보: . + +- TypeScript 파일을 컴파일 없이 실행 (`node` + `tsc`): + +`ts-node {{경로/대상/파일.ts}}` + +- `tsconfig.json`을 로드하지 않고 TypeScript 파일 실행: + +`ts-node --skip-project {{경로/대상/파일.ts}}` + +- 리터럴로 전달된 TypeScript 코드 평가: + +`ts-node --eval '{{console.log("Hello World")}}'` + +- 스크립트 모드로 TypeScript 파일 실행: + +`ts-node --script-mode {{경로/대상/파일.ts}}` + +- TypeScript 파일을 실행하지 않고 JavaScript로 트랜스파일: + +`ts-node --transpile-only {{경로/대상/파일.ts}}` + +- TS-Node 도움말 표시: + +`ts-node --help` diff --git a/pages.ko/common/ts.md b/pages.ko/common/ts.md new file mode 100644 index 00000000000000..38ecb6634b0da2 --- /dev/null +++ b/pages.ko/common/ts.md @@ -0,0 +1,20 @@ +# ts + +> `stdin`의 각 줄에 타임스탬프를 추가. +> 더 많은 정보: . + +- 각 줄의 시작에 타임스탬프 추가: + +`{{명령어}} | ts` + +- 마이크로초 정밀도의 타임스탬프 추가: + +`{{명령어}} | ts "{{%b %d %H:%M:%.S}}"` + +- 0부터 시작하여 마이크로초 정밀도의 [i]증분 타임스탬프 추가: + +`{{명령어}} | ts -i "{{%H:%M:%.S}}"` + +- 텍스트 파일(예: 로그 파일)의 기존 타임스탬프를 [r]상대적 형식으로 변환: + +`cat {{경로/대상/파일}} | ts -r` diff --git a/pages.ko/common/tsc.md b/pages.ko/common/tsc.md new file mode 100644 index 00000000000000..1085c5bf3e4806 --- /dev/null +++ b/pages.ko/common/tsc.md @@ -0,0 +1,32 @@ +# tsc + +> TypeScript 컴파일러. +> 더 많은 정보: . + +- `foobar.ts` TypeScript 파일을 `foobar.js` JavaScript 파일로 컴파일: + +`tsc {{foobar.ts}}` + +- 특정 목표 구문을 사용하여 TypeScript 파일을 JavaScript로 컴파일 (기본값은 `ES3`): + +`tsc --target {{ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT}} {{foobar.ts}}` + +- 사용자 정의 이름으로 TypeScript 파일을 JavaScript 파일로 컴파일: + +`tsc --outFile {{출력.js}} {{입력.ts}}` + +- `tsconfig.json` 파일에 정의된 TypeScript 프로젝트의 모든 `.ts` 파일 컴파일: + +`tsc --build {{tsconfig.json}}` + +- 명령줄 옵션 및 인수를 텍스트 파일에서 가져와 컴파일러 실행: + +`tsc @{{인수.txt}}` + +- 여러 JavaScript 파일을 타입 체크하고, 오류만 출력: + +`tsc --allowJs --checkJs --noEmit {{src/**/*.js}}` + +- 코드가 변경될 때 자동으로 다시 컴파일하는 감시 모드에서 컴파일러 실행: + +`tsc --watch` diff --git a/pages.ko/common/tslint.md b/pages.ko/common/tslint.md new file mode 100644 index 00000000000000..2649e51cabf354 --- /dev/null +++ b/pages.ko/common/tslint.md @@ -0,0 +1,20 @@ +# tslint + +> TypeScript를 위한 플러그 가능한 린트 유틸리티. +> 더 많은 정보: . + +- TSLint 구성 생성: + +`tslint --init` + +- 주어진 파일 집합에 대해 린트 수행: + +`tslint {{경로/대상/파일1.js 경로/대상/파일2.js ...}}` + +- 린트 문제 수정: + +`tslint --fix` + +- 프로젝트 루트에 있는 설정 파일로 린트 수행: + +`tslint --project {{경로/대상/프로젝트_루트}}` diff --git a/pages.ko/common/tsort.md b/pages.ko/common/tsort.md new file mode 100644 index 00000000000000..f887f1c56681e4 --- /dev/null +++ b/pages.ko/common/tsort.md @@ -0,0 +1,13 @@ +# tsort + +> 위상 정렬 수행. +> 일반적으로 유향 비순환 그래프에서 노드의 의존성 순서를 보여주는 데 사용됨. +> 더 많은 정보: . + +- 공백으로 구분된 입력의 각 줄에 대해 부분 정렬과 일치하는 위상 정렬 수행: + +`tsort {{경로/대상/파일}}` + +- 문자열에 대해 일관된 위상 정렬 수행: + +`echo -e "{{UI Backend\nBackend Database\nDocs UI}}" | tsort` diff --git a/pages.ko/common/tspin.md b/pages.ko/common/tspin.md new file mode 100644 index 00000000000000..7bed4587b3208f --- /dev/null +++ b/pages.ko/common/tspin.md @@ -0,0 +1,20 @@ +# tspin + +> `less` 페이지를 기반으로 하는 로그 파일 하이라이터로, 기본적으로 다른 페이지처럼 동작합니다. +> 더 많은 정보: . + +- 파일에서 읽고 `less`로 보기: + +`tspin {{경로/대상/애플리케이션.log}}` + +- 다른 명령어의 출력을 읽고 표준 출력으로 출력: + +`journalctl -b --follow | tspin` + +- 파일에서 읽고 `stdout`으로 출력: + +`tspin {{경로/대상/애플리케이션.log}} --print` + +- `stdin`에서 읽고 `stdout`으로 출력: + +`echo "2021-01-01 12:00:00 [INFO] This is a log message" | tspin` diff --git a/pages.ko/common/tsv-filter.md b/pages.ko/common/tsv-filter.md new file mode 100644 index 00000000000000..fb1d108afe8a46 --- /dev/null +++ b/pages.ko/common/tsv-filter.md @@ -0,0 +1,36 @@ +# tsv-filter + +> 개별 필드에 대한 테스트를 실행하여 TSV 파일의 행을 필터링합니다. +> 더 많은 정보: . + +- 특정 열이 주어진 숫자와 수치적으로 같은 행을 출력: + +`tsv-filter -H --eq {{필드_이름}}:{{숫자}} {{경로/대상/tsv_파일}}` + +- 특정 열이 주어진 숫자와 [eq]ual/[n]on [e]qual/[l]ess [t]han/[l]ess than or [e]qual/[g]reater [t]han/[g]reater than or [e]qual한 행을 출력: + +`tsv-filter --{{eq|ne|lt|le|gt|ge}} {{열_번호}}:{{숫자}} {{경로/대상/tsv_파일}}` + +- 특정 열이 주어진 문자열과 [eq]ual/[n]ot [e]qual/포함됨/포함되지 않음을 만족하는 행을 출력: + +`tsv-filter --str-{{eq|ne|in-fld|not-in-fld}} {{열_번호}}:{{문자열}} {{경로/대상/tsv_파일}}` + +- 비어 있지 않은 필드를 필터링: + +`tsv-filter --not-empty {{열_번호}} {{경로/대상/tsv_파일}}` + +- 특정 열이 비어 있는 행을 출력: + +`tsv-filter --invert --not-empty {{열_번호}} {{경로/대상/tsv_파일}}` + +- 두 조건을 만족하는 행을 출력: + +`tsv-filter --eq {{열_번호1}}:{{숫자}} --str-eq {{열_번호2}}:{{문자열}} {{경로/대상/tsv_파일}}` + +- 최소한 하나의 조건을 만족하는 행을 출력: + +`tsv-filter --or --eq {{열_번호1}}:{{숫자}} --str-eq {{열_번호2}}:{{문자열}} {{경로/대상/tsv_파일}}` + +- 첫 번째 행을 [H]eader로 해석하여 일치하는 행 개수 세기: + +`tsv-filter --count -H --eq {{필드_이름}}:{{숫자}} {{경로/대상/tsv_파일}}` diff --git a/pages.ko/common/tt.md b/pages.ko/common/tt.md new file mode 100644 index 00000000000000..12f96311d69bbd --- /dev/null +++ b/pages.ko/common/tt.md @@ -0,0 +1,20 @@ +# tt + +> 터미널 기반 타자 테스트. +> 더 많은 정보: . + +- 내장된 영어 인용문 목록으로 인용문 모드 시작: + +`tt -quotes {{en}}` + +- 10개의 단어로 이루어진 5개의 그룹에서 무작위로 선택된 50개의 단어로 구성된 테스트 생성: + +`tt -n {{10}} -g {{5}}` + +- 10초 동안 지속되는 타이머 테스트 시작: + +`tt -t {{10}}` + +- 테마 없이 타이핑하면서 WPM(분당 타자 속도)을 표시하며 `tt` 시작: + +`tt -showwpm -notheme` diff --git a/pages.ko/common/tts.md b/pages.ko/common/tts.md new file mode 100644 index 00000000000000..6a4b1d59425547 --- /dev/null +++ b/pages.ko/common/tts.md @@ -0,0 +1,28 @@ +# tts + +> 음성을 합성합니다. +> 더 많은 정보: . + +- 기본 모델로 텍스트를 음성으로 변환하고 출력을 "tts_output.wav"에 저장: + +`tts --text "{{텍스트}}"` + +- 제공된 모델 나열: + +`tts --list_models` + +- 인덱스로 모델 정보 조회: + +`tts --model_info_by_idx {{모델_타입/모델_조회_인덱스}}` + +- 이름으로 모델 정보 조회: + +`tts --model_info_by_name {{모델_타입/언어/데이터셋/모델_이름}}` + +- 기본 보코더 모델로 텍스트를 음성으로 변환: + +`tts --text "{{텍스트}}" --model_name {{모델_타입/언어/데이터셋/모델_이름}}` + +- 사용자 정의 텍스트 음성 변환 모델 실행 (Griffin-Lim 보코더 사용): + +`tts --text "{{텍스트}}" --model_path {{경로/대상/모델.pth}} --config_path {{경로/대상/설정.json}} --out_path {{경로/대상/파일.wav}}` diff --git a/pages.ko/common/tty.md b/pages.ko/common/tty.md new file mode 100644 index 00000000000000..f4e94e7790046f --- /dev/null +++ b/pages.ko/common/tty.md @@ -0,0 +1,8 @@ +# tty + +> 터미널 이름 반환. +> 더 많은 정보: . + +- 이 터미널의 파일 이름 출력: + +`tty` diff --git a/pages.ko/common/tuckr.md b/pages.ko/common/tuckr.md new file mode 100644 index 00000000000000..09b98dc601aad4 --- /dev/null +++ b/pages.ko/common/tuckr.md @@ -0,0 +1,25 @@ +# tuckr + +> Rust로 작성된 도트파일 관리 도구. +> 같이 보기: `chezmoi`, `vcsh`, `homeshick`, `stow`. +> 더 많은 정보: . + +- 도트파일 상태 확인: + +`tuckr status` + +- 모든 도트파일 시스템에 추가: + +`tuckr add \*` + +- 지정된 프로그램을 제외한 모든 도트파일 추가: + +`tuckr add \* -e {{프로그램1}},{{프로그램2}}` + +- 시스템에서 모든 도트파일 제거: + +`tuckr rm \*` + +- 프로그램 도트파일 추가 및 설정 스크립트 실행: + +`tuckr set {{프로그램}}` diff --git a/pages.ko/common/tuir.md b/pages.ko/common/tuir.md new file mode 100644 index 00000000000000..71972bf8ef0088 --- /dev/null +++ b/pages.ko/common/tuir.md @@ -0,0 +1,25 @@ +# tuir + +> 터미널에서 Reddit을 조회하고 상호작용할 수 있는 텍스트 사용자 인터페이스(TUI). +> Vim 키로 탐색. +> 더 많은 정보: . + +- tuir 시작: + +`tuir` + +- 서브레딧 열기: + +`{{서브레딧_이름}}` + +- 링크 열기: + +`` + +- 시작 시 특정 서브레딧 열기: + +`tuir -s {{서브레딧_이름}}` + +- mailcap 설정에서 정의된 프로그램을 사용하여 외부 링크 열기: + +`tuir --enable-media` diff --git a/pages.ko/common/turbo.md b/pages.ko/common/turbo.md new file mode 100644 index 00000000000000..c81e561c450587 --- /dev/null +++ b/pages.ko/common/turbo.md @@ -0,0 +1,37 @@ +# turbo + +> JavaScript 및 TypeScript 코드베이스를 위한 고성능 빌드 시스템. +> 같이 보기: `nx`. +> 더 많은 정보: . + +- 기본 웹 브라우저를 사용하여 Vercel 계정으로 로그인: + +`turbo login` + +- 현재 디렉토리를 Vercel 조직에 연결하고 원격 캐싱 활성화: + +`turbo link` + +- 현재 프로젝트 빌드: + +`turbo run build` + +- 동시성 없이 작업 실행: + +`turbo run {{작업_이름}} --concurrency={{1}}` + +- 캐시된 아티팩트를 무시하고 모든 작업을 강제로 다시 실행: + +`turbo run {{작업_이름}} --force` + +- 패키지 전반에 걸쳐 병렬로 작업 실행: + +`turbo run {{작업_이름}} --parallel --no-cache` + +- 현재 디렉토리를 Vercel 조직에서 연결 해제하고 원격 캐싱 비활성화: + +`turbo unlink` + +- 특정 작업 실행의 Dot 그래프 생성 (출력 파일 형식은 파일 이름으로 제어 가능): + +`turbo run {{작업_이름}} --graph={{경로/대상/파일.html|jpg|json|pdf|png|svg}}` diff --git a/pages.ko/common/twine.md b/pages.ko/common/twine.md new file mode 100644 index 00000000000000..1afab398cb63a3 --- /dev/null +++ b/pages.ko/common/twine.md @@ -0,0 +1,36 @@ +# twine + +> Python 패키지를 PyPI에 배포하는 도구. +> 더 많은 정보: . + +- PyPI에 업로드: + +`twine upload dist/*` + +- Test PyPI 저장소에 업로드하여 검증: + +`twine upload -r testpypi dist/*` + +- 지정된 사용자 이름과 비밀번호로 PyPI에 업로드: + +`twine upload -u {{사용자명}} -p {{비밀번호}} dist/*` + +- 대체 저장소 URL로 업로드: + +`twine upload --repository-url {{저장소_URL}} dist/*` + +- 배포의 긴 설명이 PyPI에서 올바르게 렌더링되는지 확인: + +`twine check dist/*` + +- 특정 pypirc 설정 파일을 사용하여 업로드: + +`twine upload --config-file {{설정_파일}} dist/*` + +- 파일이 이미 존재할 경우 업로드 계속 (PyPI에 업로드할 때만 유효): + +`twine upload --skip-existing dist/*` + +- 자세한 정보를 표시하며 PyPI에 업로드: + +`twine upload --verbose dist/*` diff --git a/pages.ko/common/twm.md b/pages.ko/common/twm.md new file mode 100644 index 00000000000000..8efacf4a974397 --- /dev/null +++ b/pages.ko/common/twm.md @@ -0,0 +1,24 @@ +# twm + +> X Window 시스템을 위한 윈도우 매니저. +> 더 많은 정보: . + +- 기본 X 서버에 연결: + +`twm` + +- 특정 X 서버에 연결: + +`twm -display {{디스플레이}}` + +- 기본 화면만 관리: + +`twm -s` + +- 특정 시작 파일 사용: + +`twm -f {{경로/대상/파일}}` + +- 자세한 모드 활성화 및 X에서 예상치 못한 오류 출력: + +`twm -v` diff --git a/pages.ko/common/twopi.md b/pages.ko/common/twopi.md new file mode 100644 index 00000000000000..53bf336a9faa28 --- /dev/null +++ b/pages.ko/common/twopi.md @@ -0,0 +1,25 @@ +# twopi + +> `graphviz` 파일에서 `방사형` 네트워크 그래프 이미지를 렌더링. +> 레이아웃: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` 및 `patchwork`. +> 더 많은 정보: . + +- 입력 파일 이름과 출력 형식을 기반으로 파일 이름이 결정되는 PNG 이미지 렌더링 (대문자 -O): + +`twopi -T {{png}} -O {{경로/대상/입력.gv}}` + +- 지정된 출력 파일 이름으로 SVG 이미지 렌더링 (소문자 -o): + +`twopi -T {{svg}} -o {{경로/대상/이미지.svg}} {{경로/대상/입력.gv}}` + +- PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON 또는 DOT 형식으로 출력 렌더링: + +`twopi -T {{형식}} -O {{경로/대상/입력.gv}}` + +- `stdin` 및 `stdout`을 사용하여 GIF 이미지 렌더링: + +`echo "{{digraph {this -> that} }}" | twopi -T {{gif}} > {{경로/대상/이미지.gif}}` + +- 도움말 표시: + +`twopi -?` diff --git a/pages.ko/common/twurl.md b/pages.ko/common/twurl.md new file mode 100644 index 00000000000000..cce663dab19300 --- /dev/null +++ b/pages.ko/common/twurl.md @@ -0,0 +1,28 @@ +# twurl + +> Twitter API에 특화된 Curl과 유사한 명령어. +> 더 많은 정보: . + +- Twitter 계정에 대한 접근을 승인: + +`twurl authorize --consumer-key {{트위터_API_키}} --consumer-secret {{트위터_API_비밀}}` + +- API 엔드포인트에 GET 요청 수행: + +`twurl -X GET {{트위터_API_엔드포인트}}` + +- API 엔드포인트에 POST 요청 수행: + +`twurl -X POST -d '{{엔드포인트_파라미터}}' {{트위터_API_엔드포인트}}` + +- Twitter에 미디어 업로드: + +`twurl -H "{{트위터_업로드_URL}}" -X POST "{{트위터_업로드_엔드포인트}}" --file "{{경로/대상/미디어.jpg}}" --file-field "media"` + +- 다른 Twitter API 호스트에 접근: + +`twurl -H {{트위터_API_URL}} -X GET {{트위터_API_엔드포인트}}` + +- 요청한 리소스에 대한 별칭 생성: + +`twurl alias {{별칭_이름}} {{리소스}}` diff --git a/pages.ko/common/tye.md b/pages.ko/common/tye.md new file mode 100644 index 00000000000000..e146a9a0ca58f9 --- /dev/null +++ b/pages.ko/common/tye.md @@ -0,0 +1,28 @@ +# tye + +> 마이크로서비스와 분산 애플리케이션을 쉽게 개발, 테스트 및 배포. +> 더 많은 정보: . + +- 애플리케이션을 나타내는 `tye.yaml` 파일 스캐폴드: + +`tye init` + +- 애플리케이션을 로컬에서 실행: + +`tye run` + +- 애플리케이션의 컨테이너 빌드: + +`tye build` + +- 애플리케이션의 컨테이너 푸시: + +`tye push` + +- 애플리케이션을 Kubernetes에 배포: + +`tye deploy` + +- Kubernetes에서 배포된 애플리케이션 제거: + +`tye undeploy` diff --git a/pages.ko/common/type.md b/pages.ko/common/type.md new file mode 100644 index 00000000000000..5b437327144798 --- /dev/null +++ b/pages.ko/common/type.md @@ -0,0 +1,21 @@ +# type + +> 셀이 실행할 명령의 유형을 표시합니다. +> 참고: 모든 예시는 POSIX 호환이 아닙니다. +> 더 많은 정보: . + +- 명령의 유형 표시: + +`type {{명령어}}` + +- 지정된 실행 파일을 포함하는 모든 위치 표시 (Bash/fish/Zsh 셸에서만 작동): + +`type -a {{명령어}}` + +- 실행될 디스크 파일의 이름 표시 (Bash/fish/Zsh 셸에서만 작동): + +`type -p {{명령어}}` + +- 특정 명령, 별칭/키워드/함수/내장 명령/파일의 유형 표시 (Bash/fish 셸에서만 작동): + +`type -t {{명령어}}` diff --git a/pages.ko/common/typeinc.md b/pages.ko/common/typeinc.md new file mode 100644 index 00000000000000..1299b543dd9fb8 --- /dev/null +++ b/pages.ko/common/typeinc.md @@ -0,0 +1,21 @@ +# typeinc + +> Python으로 작성된 `ncurses` 기반 터미널 타자 속도 테스트 프로그램. +> 다양한 난이도를 시도하고 타자 속도를 향상시키세요. +> 더 많은 정보: . + +- 타자 테스트 시작: + +`typeinc` + +- 입력한 난이도에 대한 상위 10위 랭크 목록 표시: + +`typeinc {{[-r|--ranklist]}} {{난이도}}` + +- 워드리스트에 있는 무작위 영어 단어 가져오기: + +`typeinc {{[-w|--words]}} {{단어_개수}}` + +- 가상의 Typeinc 점수 계산: + +`typeinc {{[-s|--score]}}` diff --git a/pages.ko/common/typeorm.md b/pages.ko/common/typeorm.md new file mode 100644 index 00000000000000..3f39c441cbdfe1 --- /dev/null +++ b/pages.ko/common/typeorm.md @@ -0,0 +1,36 @@ +# typeorm + +> Node.js, 브라우저, Cordova, Ionic, React Native, NativeScript, Electron 플랫폼에서 실행할 수 있는 JavaScript ORM. +> 더 많은 정보: . + +- 새로운 TypeORM 프로젝트 구조 생성: + +`typeorm init` + +- 빈 마이그레이션 파일 생성: + +`typeorm migration:create --name {{마이그레이션_이름}}` + +- 스키마를 업데이트하는 SQL 문이 포함된 마이그레이션 파일 생성: + +`typeorm migration:generate --name {{마이그레이션_이름}}` + +- 대기 중인 모든 마이그레이션 실행: + +`typeorm migration:run` + +- 특정 디렉터리에 새 엔터티 파일 생성: + +`typeorm entity:create --name {{엔터티}} --dir {{경로/대상/폴더}}` + +- 기본 연결에서 `typeorm schema:sync`로 실행될 SQL 문 표시: + +`typeorm schema:log` + +- 기본 연결에서 특정 SQL 문 실행: + +`typeorm query {{sql_문장}}` + +- 하위 명령에 대한 도움말 표시: + +`typeorm {{하위_명령}} --help` diff --git a/pages.ko/common/typeset.md b/pages.ko/common/typeset.md new file mode 100644 index 00000000000000..0f7123d0569163 --- /dev/null +++ b/pages.ko/common/typeset.md @@ -0,0 +1,7 @@ +# typeset + +> 이 명령은 `declare` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr declare` diff --git a/pages.ko/common/typst.md b/pages.ko/common/typst.md new file mode 100644 index 00000000000000..5664b6ef887436 --- /dev/null +++ b/pages.ko/common/typst.md @@ -0,0 +1,21 @@ +# typst + +> Typst 파일을 PDF로 컴파일. +> 참고: 출력 위치 지정은 선택 사항입니다. +> 더 많은 정보: . + +- 주어진 디렉터리에 템플릿(예: `@preview/charged-ieee`)을 사용하여 새로운 Typst 프로젝트 초기화: + +`typst init "{{템플릿}}" {{경로/대상/폴더}}` + +- Typst 파일 컴파일: + +`typst compile {{경로/대상/소스.typ}} {{경로/대상/출력.pdf}}` + +- Typst 파일을 감시하고 변경 시 다시 컴파일: + +`typst watch {{경로/대상/소스.typ}} {{경로/대상/출력.pdf}}` + +- 시스템 및 주어진 디렉토리에서 발견 가능한 모든 글꼴 나열: + +`typst --font-path {{경로/대상/폰트_디렉토리}} fonts` diff --git a/pages.ko/common/u3d.md b/pages.ko/common/u3d.md new file mode 100644 index 00000000000000..418aedfd3f962b --- /dev/null +++ b/pages.ko/common/u3d.md @@ -0,0 +1,24 @@ +# u3d + +> Unity와 상호작용하기 위한 도구 세트. +> 더 많은 정보: . + +- 현재 디렉토리에서 프로젝트를 올바른 Unity 버전으로 열기: + +`u3d` + +- 설치된 Unity 버전 나열: + +`u3d list` + +- 다운로드 가능한 Unity 버전 나열: + +`u3d available` + +- 최신 안정 버전의 Unity 다운로드 및 설치: + +`u3d install latest_stable` + +- 특정 Unity 버전 및 에디터 패키지 다운로드 및 설치: + +`u3d install {{2021.2.0f1}} -p {{Unity,iOS,Android}}` diff --git a/pages.ko/common/ufraw-batch.md b/pages.ko/common/ufraw-batch.md new file mode 100644 index 00000000000000..5b953a10cc33ee --- /dev/null +++ b/pages.ko/common/ufraw-batch.md @@ -0,0 +1,20 @@ +# ufraw-batch + +> 카메라의 RAW 파일을 표준 이미지 파일로 변환. +> 더 많은 정보: . + +- RAW 파일을 JPEG로 변환: + +`ufraw-batch --out-type=jpg {{입력_파일(들)}}` + +- RAW 파일을 PNG로 변환: + +`ufraw-batch --out-type=png {{입력_파일(들)}}` + +- RAW 파일에서 미리보기 이미지 추출: + +`ufraw-batch --embedded-image {{입력_파일(들)}}` + +- 파일을 최대 크기 MAX1 및 MAX2로 저장: + +`ufraw-batch --size=MAX1,MAX2 {{입력_파일(들)}}` diff --git a/pages.ko/common/ugrep.md b/pages.ko/common/ugrep.md new file mode 100644 index 00000000000000..49bf020b1cd712 --- /dev/null +++ b/pages.ko/common/ugrep.md @@ -0,0 +1,36 @@ +# ugrep + +> 초고속 검색 도구로, 쿼리 TUI를 제공합니다. +> 더 많은 정보: . + +- 현재 디렉터리의 파일을 재귀적으로 검색하는 쿼리 TUI 시작 (도움말은 ``): + +`ugrep --query` + +- 정규 표현식 검색 패턴이 포함된 파일을 현재 디렉터리에서 재귀적으로 검색: + +`ugrep "{{검색_패턴}}"` + +- 특정 파일 또는 특정 디렉터리의 모든 파일에서 검색하고 일치하는 줄 번호 표시: + +`ugrep --line-number "{{검색_패턴}}" {{경로/대상/파일_또는_디렉터리}}` + +- 현재 디렉터리의 모든 파일을 재귀적으로 검색하고 일치하는 파일의 이름 출력: + +`ugrep --files-with-matches "{{검색_패턴}}"` + +- 패턴에서 최대 3개의 추가, 누락 또는 불일치 문자가 있는 파일을 퍼지 검색: + +`ugrep --fuzzy={{3}} "{{검색_패턴}}"` + +- 압축 파일, Zip 및 tar 아카이브를 재귀적으로 검색: + +`ugrep --decompress "{{검색_패턴}}"` + +- 특정 글로브 패턴과 일치하는 파일만 검색: + +`ugrep --glob="{{글로브_패턴}}" "{{검색_패턴}}"` + +- C++ 소스 파일만 검색 (모든 파일 형식을 나열하려면 `--file-type=list` 사용): + +`ugrep --file-type=cpp "{{검색_패턴}}"` diff --git a/pages.ko/common/ulimit.md b/pages.ko/common/ulimit.md new file mode 100644 index 00000000000000..a82d034058eb27 --- /dev/null +++ b/pages.ko/common/ulimit.md @@ -0,0 +1,20 @@ +# ulimit + +> 사용자 제한을 조회하고 설정. +> 더 많은 정보: . + +- 모든 사용자 제한의 속성 조회: + +`ulimit -a` + +- 동시에 열 수 있는 파일 개수의 하드 제한 조회: + +`ulimit -H -n` + +- 동시에 열 수 있는 파일 개수의 소프트 제한 조회: + +`ulimit -S -n` + +- 사용자별 프로세스 최대 개수 설정: + +`ulimit -u 30` diff --git a/pages.ko/common/umask.md b/pages.ko/common/umask.md new file mode 100644 index 00000000000000..8160e559c05144 --- /dev/null +++ b/pages.ko/common/umask.md @@ -0,0 +1,20 @@ +# umask + +> 사용자가 새로 생성하는 파일에 대해 제한되는 읽기/쓰기/실행 권한을 관리. +> 더 많은 정보: . + +- 현재 마스크를 8진수 표기법으로 표시: + +`umask` + +- 현재 마스크를 기호(사람이 읽기 쉬운) 모드로 표시: + +`umask -S` + +- 모든 사용자에게 읽기 권한을 허용하도록 기호로 마스크 변경 (나머지 마스크 비트는 변경되지 않음): + +`umask {{a+r}}` + +- 파일 소유자에게는 권한을 제한하지 않고, 다른 모든 사용자에게는 모든 권한을 제한하도록 마스크를 8진수로 설정: + +`umask {{077}}` diff --git a/pages.ko/common/umount.md b/pages.ko/common/umount.md new file mode 100644 index 00000000000000..9ecc365f6b4a8f --- /dev/null +++ b/pages.ko/common/umount.md @@ -0,0 +1,17 @@ +# umount + +> 마운트 지점에서 파일 시스템이 링크를 해제하여 더 이상 접근할 수 없게 만들어 줍니다. +> 파일 시스템이 사용중이면 마운트 해제할 수 없습니다. +> 더 많은 정보: . + +- 마운트된 소스의 경로를 전달하여, 파일 시스템을 마운트 해제: + +`umount {{경로/대상/장치_파일}}` + +- 파일 시스템이 마운트된 대상에 대한 경로를 전달하여 파일 시스템 마운트 해제: + +`umount {{경로/대상/마운트된_폴더}}` + +- 마운트된 모든 파일 시스템을 마운트 해제(`proc` 파일 시스템 제외): + +`umount -a` diff --git a/pages.ko/common/unalias.md b/pages.ko/common/unalias.md new file mode 100644 index 00000000000000..d375dff0b501eb --- /dev/null +++ b/pages.ko/common/unalias.md @@ -0,0 +1,12 @@ +# unalias + +> 별칭 제거. +> 더 많은 정보: . + +- 별칭 제거: + +`unalias {{별칭_이름}}` + +- 모든 별칭 제거: + +`unalias -a` diff --git a/pages.ko/common/uname.md b/pages.ko/common/uname.md new file mode 100644 index 00000000000000..28d1846fdeec27 --- /dev/null +++ b/pages.ko/common/uname.md @@ -0,0 +1,25 @@ +# uname + +> 현재 컴퓨터와 그 컴퓨터에서 실행 중인 운영 체제에 대한 세부 정보를 출력합니다. +> `lsb_release`로 같이 참고해주세요. +> 더 많은 정보: . + +- 커널 이름 출력: + +`uname` + +- 시스템 아키텍처 및 프로세서 정보 출력: + +`uname --machine --processor` + +- 커널 이름, 커널 릴리스 및 버전 출력: + +`uname --kernel-name --kernel-release --kernel-version` + +- 시스템 호스트 이름 출력: + +`uname --nodename` + +- 사용 가능한 모든 시스템 정보를 출력: + +`uname --all` diff --git a/pages.ko/common/unar.md b/pages.ko/common/unar.md new file mode 100644 index 00000000000000..6008f5e6116730 --- /dev/null +++ b/pages.ko/common/unar.md @@ -0,0 +1,24 @@ +# unar + +> 아카이브 파일의 내용을 추출. +> 더 많은 정보: . + +- 아카이브를 현재 디렉토리에 추출: + +`unar {{경로/대상/아카이브}}` + +- 아카이브를 지정된 디렉토리에 추출: + +`unar -o {{경로/대상/폴더}} {{경로/대상/아카이브}}` + +- 압축 해제할 파일이 이미 존재할 경우 강제로 덮어쓰기: + +`unar -f {{경로/대상/아카이브}}` + +- 압축 해제할 파일이 이미 존재할 경우 강제로 이름 변경: + +`unar -r {{경로/대상/아카이브}}` + +- 압축 해제할 파일이 이미 존재할 경우 강제로 건너뛰기: + +`unar -s {{경로/대상/아카이브}}` diff --git a/pages.ko/common/unclutter.md b/pages.ko/common/unclutter.md new file mode 100644 index 00000000000000..81ee40622ae535 --- /dev/null +++ b/pages.ko/common/unclutter.md @@ -0,0 +1,8 @@ +# unclutter + +> 마우스 커서를 숨기는 도구. +> 더 많은 정보: . + +- 3초 후에 마우스 커서 숨기기: + +`unclutter -idle {{3}}` diff --git a/pages.ko/common/uncrustify.md b/pages.ko/common/uncrustify.md new file mode 100644 index 00000000000000..eb6bc7c4ced5f5 --- /dev/null +++ b/pages.ko/common/uncrustify.md @@ -0,0 +1,28 @@ +# uncrustify + +> C, C++, C#, D, Java 및 Pawn 소스 코드 포매터. +> 더 많은 정보: . + +- 단일 파일 포맷팅: + +`uncrustify -f {{경로/대상/파일.cpp}} -o {{경로/대상/출력.cpp}}` + +- `stdin`에서 파일 이름을 읽고, 원본 파일 경로에 출력을 다시 쓰기 전에 백업 생성: + +`find . -name "*.cpp" | uncrustify -F - --replace` + +- 백업 생성 안 함 (파일이 버전 관리 중인 경우 유용): + +`find . -name "*.cpp" | uncrustify -F - --no-backup` + +- 사용자 지정 설정 파일을 사용하고 결과를 `stdout`에 출력: + +`uncrustify -c {{경로/대상/uncrustify.cfg}} -f {{경로/대상/파일.cpp}}` + +- 설정 변수를 명시적으로 설정: + +`uncrustify --set {{옵션}}={{값}}` + +- 새 설정 파일 생성: + +`uncrustify --update-config -o {{경로/대상/new.cfg}}` diff --git a/pages.ko/common/unexpand.md b/pages.ko/common/unexpand.md new file mode 100644 index 00000000000000..3b9930f0cb01cc --- /dev/null +++ b/pages.ko/common/unexpand.md @@ -0,0 +1,24 @@ +# unexpand + +> 공백을 탭으로 변환. +> 더 많은 정보: . + +- 각 파일의 공백을 탭으로 변환하여 `stdout`에 출력: + +`unexpand {{경로/대상/파일}}` + +- `stdout`에서 읽어온 공백을 탭으로 변환: + +`unexpand` + +- 처음의 공백만이 아닌 모든 공백을 변환: + +`unexpand -a {{경로/대상/파일}}` + +- 앞부분의 공백 시퀀스만 변환 (옵션 -a를 무시): + +`unexpand --first-only {{경로/대상/파일}}` + +- 탭을 8칸이 아닌 지정한 문자 수만큼 떨어뜨려 변환 (-a 활성화): + +`unexpand -t {{숫자}} {{경로/대상/파일}}` diff --git a/pages.ko/common/unflatten.md b/pages.ko/common/unflatten.md new file mode 100644 index 00000000000000..8e327c2a8a84a1 --- /dev/null +++ b/pages.ko/common/unflatten.md @@ -0,0 +1,17 @@ +# unflatten + +> 방향 그래프의 레이아웃 가로 세로 비율을 개선하기 위해 조정. +> Graphviz 필터: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> 더 많은 정보: . + +- 하나 이상의 방향 그래프를 조정하여 레이아웃 가로 세로 비율을 개선: + +`unflatten {{경로/대상/input1.gv}} {{경로/대상/input2.gv ...}} > {{경로/대상/output.gv}}` + +- `unflatten`을 `dot` 레이아웃 전처리기로 사용하여 가로 세로 비율 개선: + +`unflatten {{경로/대상/입력.gv}} | dot -T {{png}} {{경로/대상/출력.png}}` + +- 도움말 표시: + +`unflatten -?` diff --git a/pages.ko/common/unimatrix.md b/pages.ko/common/unimatrix.md new file mode 100644 index 00000000000000..516f96e9cdb95d --- /dev/null +++ b/pages.ko/common/unimatrix.md @@ -0,0 +1,25 @@ +# unimatrix + +> 유니코드 문자를 사용하여 매트릭스 느낌을 시뮬레이션. +> 같이 보기: `cmatrix`. +> 더 많은 정보: . + +- `cmatrix`의 기본 출력을 모방 (유니코드 없이, TTY에서 작동): + +`unimatrix --no-bold --speed {{96}} --character-list {{o}}` + +- 볼드체 없이, 느리게, 이모지, 숫자 및 일부 기호 사용: + +`unimatrix --no-bold --speed {{50}} --character-list {{ens}}` + +- 문자 색상 변경: + +`unimatrix --color {{red|green|blue|white|...}}` + +- 문자 집합을 코드로 선택 (`unimatrix --help`에서 사용 가능한 문자 집합 확인): + +`unimatrix --character-list {{문자_집합}}` + +- 스크롤 속도 변경: + +`unimatrix --speed {{숫자}}` diff --git a/pages.ko/common/uniq.md b/pages.ko/common/uniq.md new file mode 100644 index 00000000000000..8d0a7a8b9b0e21 --- /dev/null +++ b/pages.ko/common/uniq.md @@ -0,0 +1,25 @@ +# uniq + +> 입력 또는 파일에서 고유한 줄을 출력합니다. +> 인접하지 않은 반복 줄을 감지하지 않으므로 먼저 정렬해야 합니다. +> 더 많은 정보: . + +- 각 줄을 한 번씩만 표시: + +`sort {{경로/대상/파일}} | uniq` + +- 고유한 줄만 표시: + +`sort {{경로/대상/파일}} | uniq {{[-u|--unique]}}` + +- 중복된 줄만 표시: + +`sort {{경로/대상/파일}} | uniq {{[-d|--repeated]}}` + +- 각 줄의 발생 횟수와 함께 해당 줄 표시: + +`sort {{경로/대상/파일}} | uniq {{[-c|--count]}}` + +- 각 줄의 발생 횟수를 표시하고, 가장 자주 발생한 순서로 정렬: + +`sort {{경로/대상/파일}} | uniq {{[-c|--count]}} | sort {{[-nr|--numeric-sort --reverse]}}` diff --git a/pages.ko/common/unison.md b/pages.ko/common/unison.md new file mode 100644 index 00000000000000..0d21cc77f4516c --- /dev/null +++ b/pages.ko/common/unison.md @@ -0,0 +1,20 @@ +# unison + +> 양방향 파일 동기화 도구. +> 더 많은 정보: . + +- 두 디렉토리 동기화 (이 두 디렉토리가 처음으로 동기화될 때 로그 생성): + +`unison {{경로/대상/폴더_1}} {{경로/대상/폴더_2}}` + +- (충돌 없는) 기본값 자동 수락: + +`unison {{경로/대상/폴더_1}} {{경로/대상/폴더_2}} -auto` + +- 패턴을 사용하여 일부 파일 무시: + +`unison {{경로/대상/폴더_1}} {{경로/대상/폴더_2}} -ignore {{패턴}}` + +- 설명서 보기: + +`unison -doc {{주제}}` diff --git a/pages.ko/common/units.md b/pages.ko/common/units.md new file mode 100644 index 00000000000000..33ab7ad8dd0743 --- /dev/null +++ b/pages.ko/common/units.md @@ -0,0 +1,32 @@ +# units + +> 두 단위 사이의 변환을 수행. +> 더 많은 정보: . + +- 대화형 모드로 실행: + +`units` + +- 대화형 모드에서 특정 문자열이 포함된 모든 단위 나열: + +`search {{문자열}}` + +- 두 간단한 단위 간의 변환 표시: + +`units {{쿼트}} {{테이블스푼}}` + +- 수량을 포함한 단위 간 변환: + +`units "{{15 파운드}}" {{킬로그램}}` + +- 두 복합 단위 간의 변환 표시: + +`units "{{미터/초}}" "{{인치/시간}}"` + +- 서로 다른 차원의 단위 간의 변환 표시: + +`units "{{에이커}}" "{{제곱피트}}"` + +- 바이트 배수의 변환 표시: + +`units "{{15 메가바이트}}" {{바이트}}` diff --git a/pages.ko/common/unlink.md b/pages.ko/common/unlink.md new file mode 100644 index 00000000000000..244a906ba77569 --- /dev/null +++ b/pages.ko/common/unlink.md @@ -0,0 +1,9 @@ +# unlink + +> 파일 시스템에서 파일에 대한 링크를 제거. +> 해당 링크가 파일의 마지막 링크인 경우 파일 내용이 손실됩니다. +> 더 많은 정보: . + +- 지정된 파일이 마지막 링크인 경우 해당 파일 제거: + +`unlink {{경로/대상/파일}}` diff --git a/pages.ko/common/unlzma.md b/pages.ko/common/unlzma.md new file mode 100644 index 00000000000000..565a7f7df17db7 --- /dev/null +++ b/pages.ko/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> 이 명령은 `xz` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr xz` diff --git a/pages.ko/common/unp.md b/pages.ko/common/unp.md new file mode 100644 index 00000000000000..02e0893d1f232c --- /dev/null +++ b/pages.ko/common/unp.md @@ -0,0 +1,13 @@ +# unp + +> 모든 아카이브를 추출. +> 관련 압축 해제 도구가 설치되어야 함, 예: RAR의 경우 `unrar`. +> 더 많은 정보: . + +- 아카이브 추출: + +`unp {{경로/대상/아카이브.zip}}` + +- 여러 아카이브 추출: + +`unp {{경로/대상/아카이브1.tar.gz}} {{경로/대상/아카이브2.rar}}` diff --git a/pages.ko/common/unrar.md b/pages.ko/common/unrar.md new file mode 100644 index 00000000000000..ce1ca81f866af5 --- /dev/null +++ b/pages.ko/common/unrar.md @@ -0,0 +1,24 @@ +# unrar + +> RAR 압축 파일을 추출. +> 더 많은 정보: . + +- 원본 디렉토리 구조로 파일 추출: + +`unrar x {{압축파일.rar}}` + +- 지정된 경로에 원본 디렉토리 구조로 파일 추출: + +`unrar x {{압축파일.rar}} {{경로/대상/추출}}` + +- 현재 디렉토리에 디렉토리 구조를 무시하고 파일 추출: + +`unrar e {{압축파일.rar}}` + +- 압축 파일 내 각 파일의 무결성 검사: + +`unrar t {{압축파일.rar}}` + +- 압축 해제 없이 압축 파일 내의 파일 목록 표시: + +`unrar l {{압축파일.rar}}` diff --git a/pages.ko/common/unset.md b/pages.ko/common/unset.md new file mode 100644 index 00000000000000..43bf9025717ddd --- /dev/null +++ b/pages.ko/common/unset.md @@ -0,0 +1,16 @@ +# unset + +> 셸 변수 또는 함수를 제거. +> 더 많은 정보: . + +- 변수 `foo`를 제거하거나, 변수가 존재하지 않을 경우 함수 `foo`를 제거: + +`unset {{foo}}` + +- 변수 `foo`와 `bar` 제거: + +`unset -v {{foo}} {{bar}}` + +- 함수 `my_func` 제거: + +`unset -f {{my_func}}` diff --git a/pages.ko/common/unxz.md b/pages.ko/common/unxz.md new file mode 100644 index 00000000000000..e37a90bddc4159 --- /dev/null +++ b/pages.ko/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> 이 명령은 `xz` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr xz` diff --git a/pages.ko/common/unzip.md b/pages.ko/common/unzip.md new file mode 100644 index 00000000000000..5303caad967a5c --- /dev/null +++ b/pages.ko/common/unzip.md @@ -0,0 +1,29 @@ +# unzip + +> Zip 아카이브에서 파일/디렉토리를 추출. +> 같이 보기: `zip`. +> 더 많은 정보: . + +- 특정 아카이브에서 모든 파일/디렉토리를 현재 디렉토리에 추출: + +`unzip {{경로/대상/아카이브1.zip 경로/대상/아카이브2.zip ...}}` + +- 아카이브에서 파일/디렉토리를 특정 경로로 추출: + +`unzip {{경로/대상/아카이브1.zip 경로/대상/아카이브2.zip ...}} -d {{경로/대상/출력}}` + +- 아카이브에서 파일/디렉토리를 추출하고 추출된 파일 이름과 함께 `stdout`으로 출력: + +`unzip -c {{경로/대상/아카이브1.zip 경로/대상/아카이브2.zip ...}}` + +- 비ASCII 문자(예: 중국어나 일본어 문자)를 포함한 파일 이름이 있는 Windows에서 생성된 아카이브를 추출: + +`unzip -O {{gbk}} {{경로/대상/아카이브1.zip 경로/대상/아카이브2.zip ...}}` + +- 특정 아카이브의 내용을 추출하지 않고 나열: + +`unzip -l {{경로/대상/아카이브.zip}}` + +- 아카이브에서 특정 파일 추출: + +`unzip -j {{경로/대상/아카이브.zip}} {{경로/대상/아카이브_내_파일1 경로/대상/아카이브_내_파일2 ...}}` diff --git a/pages.ko/common/unzstd.md b/pages.ko/common/unzstd.md new file mode 100644 index 00000000000000..e283233869b68a --- /dev/null +++ b/pages.ko/common/unzstd.md @@ -0,0 +1,7 @@ +# unzstd + +> 이 명령은 `zstd --decompress`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr zstd` diff --git a/pages.ko/common/updog.md b/pages.ko/common/updog.md new file mode 100644 index 00000000000000..d32f6c70ec3357 --- /dev/null +++ b/pages.ko/common/updog.md @@ -0,0 +1,25 @@ +# updog + +> Python의 SimpleHTTPServer를 대체하는 도구. +> HTTP/S를 통해 업로드와 다운로드를 지원하며, 임시 SSL 인증서를 설정하고 HTTP 기본 인증을 사용할 수 있습니다. +> 더 많은 정보: . + +- 현재 디렉토리에 대한 HTTP 서버 시작: + +`updog` + +- 지정된 디렉토리에 대한 HTTP 서버 시작: + +`updog --directory {{/경로/대상/폴더}}` + +- 지정된 포트에서 HTTP 서버 시작: + +`updog --port {{포트}}` + +- 비밀번호를 사용하여 HTTP 서버 시작 (로그인 시 사용자 이름을 비워두고 비밀번호 필드에 비밀번호 입력): + +`updog --password {{비밀번호}}` + +- SSL을 통한 전송 암호화 활성화: + +`updog --ssl` diff --git a/pages.ko/common/upt.md b/pages.ko/common/upt.md new file mode 100644 index 00000000000000..efe4290bde7846 --- /dev/null +++ b/pages.ko/common/upt.md @@ -0,0 +1,38 @@ +# upt + +> 다양한 운영 체제에서 패키지를 관리하기 위한 통합 인터페이스로, Windows, 여러 Linux 배포판, macOS, FreeBSD, Haiku 등을 지원합니다. +> 기본 OS 패키지 관리자가 설치되어 있어야 합니다. +> 같이 보기: `flatpak`, `brew`, `scoop`, `apt`, `dnf`. +> 더 많은 정보: . + +- 사용 가능한 패키지 목록 업데이트: + +`upt update` + +- 특정 패키지 검색: + +`upt search {{검색_어구}}` + +- 패키지에 대한 정보 표시: + +`upt info {{패키지}}` + +- 특정 패키지 설치: + +`upt install {{패키지}}` + +- 특정 패키지 제거: + +`upt {{remove|uninstall}} {{패키지}}` + +- 설치된 모든 패키지 업그레이드: + +`upt upgrade` + +- 특정 패키지 업그레이드: + +`upt upgrade {{패키지}}` + +- 설치된 패키지 목록 나열: + +`upt list` diff --git a/pages.ko/common/uptime.md b/pages.ko/common/uptime.md new file mode 100644 index 00000000000000..55994ef155b0b1 --- /dev/null +++ b/pages.ko/common/uptime.md @@ -0,0 +1,20 @@ +# uptime + +> 시스템이 실행된 기간 및 기타 정보. +> 더 많은 정보: . + +- 현재 시간, 가동 시간, 로그인한 사용자 수 및 기타 정보를 출력: + +`uptime` + +- 시스템이 부팅된 시간만 표시: + +`uptime {{[-p|--pretty]}}` + +- 시스템이 부팅된 날짜와 시간을 출력: + +`uptime {{[-s|--since]}}` + +- 버전 정보 표시: + +`uptime {{[-V|--version]}}` diff --git a/pages.ko/common/upx.md b/pages.ko/common/upx.md new file mode 100644 index 00000000000000..a4cc3551d4be2a --- /dev/null +++ b/pages.ko/common/upx.md @@ -0,0 +1,16 @@ +# upx + +> 실행 파일을 압축하거나 압축 해제. +> 더 많은 정보: . + +- 실행 파일 압축: + +`upx {{경로/대상/파일}}` + +- 실행 파일 압축 해제: + +`upx -d {{경로/대상/파일}}` + +- 자세한 도움말: + +`upx --help` diff --git a/pages.ko/common/users.md b/pages.ko/common/users.md new file mode 100644 index 00000000000000..9c65e19fb1fd43 --- /dev/null +++ b/pages.ko/common/users.md @@ -0,0 +1,13 @@ +# users + +> 로그인한 사용자 목록을 표시. +> 같이 보기: `useradd`, `userdel`, `usermod`. +> 더 많은 정보: . + +- 로그인한 사용자 명 출력: + +`users` + +- 주어진 파일에 따라 로그인한 사용자 명 출력: + +`users {{/var/log/wmtp}}` diff --git a/pages.ko/common/usql.md b/pages.ko/common/usql.md new file mode 100644 index 00000000000000..5cf37d53a01c9c --- /dev/null +++ b/pages.ko/common/usql.md @@ -0,0 +1,32 @@ +# usql + +> SQL 데이터베이스를 위한 범용 CLI 인터페이스. +> 더 많은 정보: . + +- 특정 데이터베이스에 연결: + +`usql {{sqlserver|mysql|postgres|sqlite3|...}}://{{사용자_명}}:{{비밀번호}}@{{호스트}}:{{포트}}/{{데이터베이스_명}}` + +- 파일에서 명령 실행: + +`usql --file={{경로/대상/query.sql}}` + +- 특정 SQL 명령 실행: + +`usql --command="{{sql_명령}}"` + +- `usql` 프롬프트에서 SQL 명령 실행: + +`{{프롬프트}}=> {{명령}}` + +- 데이터베이스 스키마 표시: + +`{{프롬프트}}=> \d` + +- 특정 파일로 쿼리 결과 내보내기: + +`{{프롬프트}}=> \g {{경로/대상/결과_파일}}` + +- CSV 파일에서 특정 테이블로 데이터 가져오기: + +`{{프롬프트}}=> \copy {{경로/대상/데이터.csv}} {{테이블_명}}` diff --git a/pages.ko/common/uudecode.md b/pages.ko/common/uudecode.md new file mode 100644 index 00000000000000..b9bc8a1c6b1626 --- /dev/null +++ b/pages.ko/common/uudecode.md @@ -0,0 +1,12 @@ +# uudecode + +> `uuencode`로 인코딩된 파일을 디코딩. +> 더 많은 정보: . + +- `uuencode`로 인코딩된 파일을 디코딩하여 `stdout`에 출력: + +`uudecode {{경로/대상/인코딩된_파일}}` + +- `uuencode`로 인코딩된 파일을 디코딩하여 파일에 저장: + +`uudecode -o {{경로/대상/디코딩된_파일}} {{경로/대상/인코딩된_파일}}` diff --git a/pages.ko/common/uuencode.md b/pages.ko/common/uuencode.md new file mode 100644 index 00000000000000..0d7341b66445cf --- /dev/null +++ b/pages.ko/common/uuencode.md @@ -0,0 +1,16 @@ +# uuencode + +> 바이너리 파일을 ASCII로 인코딩하여 단순 ASCII 인코딩만 지원하는 매체를 통해 전송. +> 더 많은 정보: . + +- 파일을 인코딩하여 `stdout`에 결과 출력: + +`uuencode {{경로/대상/입력_파일}} {{디코딩_후_출력_파일_이름}}` + +- 파일을 인코딩하여 결과를 파일에 저장: + +`uuencode -o {{경로/대상/출력_파일}} {{경로/대상/입력_파일}} {{디코딩_후_출력_파일_이름}}` + +- 기본 uuencode 인코딩 대신 Base64를 사용하여 파일을 인코딩하고 결과를 파일에 저장: + +`uuencode -m -o {{경로/대상/출력_파일}} {{경로/대상/입력_파일}} {{디코딩_후_출력_파일_이름}}` diff --git a/pages.ko/common/uv-python.md b/pages.ko/common/uv-python.md new file mode 100644 index 00000000000000..f8d929a7ccccf2 --- /dev/null +++ b/pages.ko/common/uv-python.md @@ -0,0 +1,28 @@ +# uv python + +> Python 버전 및 설치 관리. +> 더 많은 정보: . + +- 사용 가능한 모든 Python 설치 목록: + +`uv python list` + +- Python 버전 설치: + +`uv python install {{버전}}` + +- Python 버전 제거: + +`uv python uninstall {{버전}}` + +- Python 설치 검색: + +`uv python find {{버전}}` + +- 현재 프로젝트를 특정 Python 버전을 사용하도록 고정: + +`uv python pin {{버전}}` + +- `uv` Python 설치 디렉터리 표시: + +`uv python dir` diff --git a/pages.ko/common/uv-tool.md b/pages.ko/common/uv-tool.md new file mode 100644 index 00000000000000..0be97f58970df7 --- /dev/null +++ b/pages.ko/common/uv-tool.md @@ -0,0 +1,24 @@ +# uv tool + +> Python 패키지가 제공하는 명령을 설치하고 실행. +> 더 많은 정보: . + +- 패키지를 설치하지 않고 명령 실행: + +`uv tool run {{명령}}` + +- Python 패키지를 시스템 전역에 설치: + +`uv tool install {{패키지}}` + +- 설치된 Python 패키지 업그레이드: + +`uv tool upgrade {{패키지}}` + +- Python 패키지 제거: + +`uv tool uninstall {{패키지}}` + +- 시스템 전역에 설치된 Python 패키지 나열: + +`uv tool list` diff --git a/pages.ko/common/uv.md b/pages.ko/common/uv.md new file mode 100644 index 00000000000000..3d30ac1b75bc93 --- /dev/null +++ b/pages.ko/common/uv.md @@ -0,0 +1,37 @@ +# uv + +> 빠른 Python 패키지 및 프로젝트 관리자. +> `tool` 및 `python`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 현재 디렉토리에 새 Python 프로젝트 생성: + +`uv init` + +- 주어진 이름의 디렉토리에 새 Python 프로젝트 생성: + +`uv init {{프로젝트_이름}}` + +- 프로젝트에 새 패키지 추가: + +`uv add {{패키지}}` + +- 프로젝트에서 패키지 제거: + +`uv remove {{패키지}}` + +- 프로젝트 환경에서 스크립트 실행: + +`uv run {{경로/대상/스크립트.py}}` + +- 프로젝트 환경에서 명령 실행: + +`uv run {{명령}}` + +- `pyproject.toml`에서 프로젝트 환경 업데이트: + +`uv sync` + +- 프로젝트의 의존성에 대한 lock 파일 생성: + +`uv lock` diff --git a/pages.ko/common/uvicorn.md b/pages.ko/common/uvicorn.md new file mode 100644 index 00000000000000..102d1d69aee603 --- /dev/null +++ b/pages.ko/common/uvicorn.md @@ -0,0 +1,24 @@ +# uvicorn + +> 비동기 프로젝트를 위한 Python ASGI HTTP 서버. +> 더 많은 정보: . + +- Python 웹 앱 실행: + +`uvicorn {{import.path:app_object}}` + +- localhost에서 포트 8080으로 수신 대기: + +`uvicorn --host {{localhost}} --port {{8080}} {{임포트.경로:앱_객체}}` + +- 라이브 리로드 활성화: + +`uvicorn --reload {{임포트.경로:앱_객체}}` + +- 요청을 처리하기 위해 4개의 워커 프로세스 사용: + +`uvicorn --workers {{4}} {{임포트.경로:앱_객체}}` + +- HTTPS를 통해 앱 실행: + +`uvicorn --ssl-certfile {{cert.pem}} --ssl-keyfile {{key.pem}} {{임포트.경로:앱_객체}}` diff --git a/pages.ko/common/vagrant.md b/pages.ko/common/vagrant.md new file mode 100644 index 00000000000000..2796906ccf644d --- /dev/null +++ b/pages.ko/common/vagrant.md @@ -0,0 +1,36 @@ +# vagrant + +> 경량, 재생 가능, 휴대 가능한 개발 환경 관리 도구. +> 더 많은 정보: . + +- 현재 디렉토리에 기본 Vagrant 박스로 Vagrantfile 생성: + +`vagrant init` + +- HashiCorp Atlas에서 Ubuntu 20.04 (Focal Fossa) 박스로 Vagrantfile 생성: + +`vagrant init ubuntu/focal64` + +- Vagrant 환경 시작 및 프로비저닝: + +`vagrant up` + +- 머신 일시 중지: + +`vagrant suspend` + +- 머신 중지: + +`vagrant halt` + +- SSH를 통해 머신에 연결: + +`vagrant ssh` + +- 실행 중인 Vagrant 머신의 SSH 구성 파일 출력: + +`vagrant ssh-config` + +- 모든 로컬 박스 나열: + +`vagrant box list` diff --git a/pages.ko/common/vala.md b/pages.ko/common/vala.md new file mode 100644 index 00000000000000..dca840cdf63386 --- /dev/null +++ b/pages.ko/common/vala.md @@ -0,0 +1,17 @@ +# vala + +> Vala 코드 실행기. +> 튜토리얼: . +> 더 많은 정보: . + +- gtk+와 함께 Vala 파일 실행: + +`vala {{경로/대상/파일.vala}} --pkg {{gtk+-3.0}}` + +- 도움말 표시: + +`vala --help` + +- 버전 표시: + +`vala --version` diff --git a/pages.ko/common/valac.md b/pages.ko/common/valac.md new file mode 100644 index 00000000000000..920d36cf59598f --- /dev/null +++ b/pages.ko/common/valac.md @@ -0,0 +1,17 @@ +# valac + +> Vala 코드 컴파일러. +> 튜토리얼: . +> 더 많은 정보: . + +- gtk+를 사용하여 Vala 파일 컴파일: + +`valac {{경로/대상/파일.vala}} --pkg {{gtk+-3.0}}` + +- 도움말 표시: + +`valac --help` + +- 버전 표시: + +`valac --version` diff --git a/pages.ko/common/vale.md b/pages.ko/common/vale.md new file mode 100644 index 00000000000000..28b8bcb8ceb490 --- /dev/null +++ b/pages.ko/common/vale.md @@ -0,0 +1,28 @@ +# vale + +> Markdown 및 AsciiDoc과 같은 여러 마크업 형식을 지원하는 확장 가능한 스타일 검사기. +> 더 많은 정보: . + +- 파일의 스타일 검사: + +`vale {{경로/대상/파일}}` + +- 지정된 설정 파일을 사용하여 파일의 스타일 검사: + +`vale --config='{{경로/대상/.vale.ini}}' {{경로/대상/파일}}` + +- 결과를 JSON 형식으로 출력: + +`vale --output=JSON {{경로/대상/파일}}` + +- 특정 심각도 이상의 스타일 문제 검사: + +`vale --minAlertLevel={{suggestion|warning|error}} {{경로/대상/파일}}` + +- `stdin`에서 스타일 검사, 마크업 형식 지정: + +`cat {{파일.md}} | vale --ext=.md` + +- 현재 설정 나열: + +`vale ls-config` diff --git a/pages.ko/common/valgrind.md b/pages.ko/common/valgrind.md new file mode 100644 index 00000000000000..facfb7f8078a55 --- /dev/null +++ b/pages.ko/common/valgrind.md @@ -0,0 +1,21 @@ +# valgrind + +> 프로그램의 프로파일링, 최적화 및 디버깅을 위한 전문가용 도구 세트의 래퍼. +> 일반적으로 사용되는 도구로는 `memcheck`, `cachegrind`, `callgrind`, `massif`, `helgrind`, `drd`가 있습니다. +> 더 많은 정보: . + +- (기본) Memcheck 도구를 사용하여 `program`의 메모리 사용 진단 표시: + +`valgrind {{프로그램}}` + +- Memcheck를 사용하여 `program`의 모든 가능한 메모리 누수를 자세히 보고: + +`valgrind --leak-check=full --show-leak-kinds=all {{프로그램}}` + +- Cachegrind 도구를 사용하여 `program`의 CPU 캐시 작업을 프로파일링하고 기록: + +`valgrind --tool=cachegrind {{프로그램}}` + +- Massif 도구를 사용하여 `program`의 힙 메모리 및 스택 사용을 프로파일링하고 기록: + +`valgrind --tool=massif --stacks=yes {{프로그램}}` diff --git a/pages.ko/common/var-dump-server.md b/pages.ko/common/var-dump-server.md new file mode 100644 index 00000000000000..c753aa875630e1 --- /dev/null +++ b/pages.ko/common/var-dump-server.md @@ -0,0 +1,17 @@ +# var-dump-server + +> Symfony 덤프 서버. +> Symfony VarDumper 컴포넌트에 의해 덤프된 데이터를 수집합니다. +> 더 많은 정보: . + +- 서버 시작: + +`var-dump-server` + +- 데이터를 HTML 파일로 덤프: + +`var-dump-server --format=html > {{경로/대상/파일.html}}` + +- 특정 주소와 포트에서 서버 수신 대기: + +`var-dump-server --host {{127.0.0.1:9912}}` diff --git a/pages.ko/common/varnishlog.md b/pages.ko/common/varnishlog.md new file mode 100644 index 00000000000000..2f46f26555f653 --- /dev/null +++ b/pages.ko/common/varnishlog.md @@ -0,0 +1,24 @@ +# varnishlog + +> Varnish 로그 표시. +> 더 많은 정보: . + +- 실시간으로 로그 표시: + +`varnishlog` + +- 특정 도메인에 대한 요청만 표시: + +`varnishlog -q 'ReqHeader eq "Host: {{example.com}}"'` + +- POST 요청만 표시: + +`varnishlog -q 'ReqMethod eq "{{POST}}"'` + +- 특정 경로에 대한 요청만 표시: + +`varnishlog -q 'ReqURL eq "{{/경로}}"'` + +- 정규 표현식과 일치하는 경로에 대한 요청만 표시: + +`varnishlog -q 'ReqURL ~ "{{정규표현식}}"'` diff --git a/pages.ko/common/vault.md b/pages.ko/common/vault.md new file mode 100644 index 00000000000000..d2de79720310ce --- /dev/null +++ b/pages.ko/common/vault.md @@ -0,0 +1,32 @@ +# vault + +> HashiCorp Vault와 상호작용. +> 더 많은 정보: . + +- Vault 서버에 연결하고 새로운 암호화 데이터 저장소 초기화: + +`vault init` + +- 암호화된 데이터 저장소에 접근하기 위해 필요한 키 공유 중 하나를 제공하여 금고의 잠금 해제: + +`vault unseal {{키_공유_x}}` + +- 인증 토큰을 사용하여 Vault 서버에 대해 CLI 클라이언트 인증: + +`vault auth {{인증_토큰}}` + +- "secret"이라는 일반 백엔드를 사용하여 금고에 새 비밀 저장: + +`vault write secret/{{hello}} value={{world}}` + +- "secret"이라는 일반 백엔드를 사용하여 금고에서 값 읽기: + +`vault read secret/{{hello}}` + +- 값에서 특정 필드 읽기: + +`vault read -field={{필드_이름}} secret/{{hello}}` + +- 데이터 저장소의 암호화 키를 메모리에서 제거하여 Vault 서버 잠금: + +`vault seal` diff --git a/pages.ko/common/vboxmanage-clonevm.md b/pages.ko/common/vboxmanage-clonevm.md new file mode 100644 index 00000000000000..593bc1d06643da --- /dev/null +++ b/pages.ko/common/vboxmanage-clonevm.md @@ -0,0 +1,20 @@ +# vboxmanage-clonevm + +> 기존 가상 머신(VM)의 복제본 생성. +> 더 많은 정보: . + +- 지정된 VM 복제: + +`VBoxManage clonevm {{vm_이름}}` + +- 새로운 VM에 대한 새 이름 지정: + +`VBoxManage clonevm {{vm_이름}} --name {{새_vm_이름}}` + +- 새 VM 구성 파일이 저장될 폴더 지정: + +`VBoxManage clonevm {{vm_이름}} --basefolder {{경로/대상/폴더}}` + +- VirtualBox에 복제된 VM 등록: + +`VBoxManage clonevm {{vm_이름}} --register` diff --git a/pages.ko/common/vboxmanage-cloud.md b/pages.ko/common/vboxmanage-cloud.md new file mode 100644 index 00000000000000..2773ec08eeacf8 --- /dev/null +++ b/pages.ko/common/vboxmanage-cloud.md @@ -0,0 +1,36 @@ +# vboxmanage-cloud + +> 클라우드 인스턴스 및 이미지를 관리하기 위한 VirtualBox 명령줄 인터페이스. +> 더 많은 정보: . + +- 지정된 구획에 속하는 특정 상태의 인스턴스 나열: + +`VBoxManage cloud --provider={{제공자_이름}} --profile={{프로필_이름}} list instances --state={{running|terminated|paused}} --compartment-id={{구획_id}}` + +- 새 인스턴스 생성: + +`VBoxManage cloud --provider={{제공자_이름}} --profile={{프로필_이름}} instance create --domain-name={{도메인_이름}} --image-id={{이미지_id}} | {{--옵션...}}` + +- 특정 인스턴스에 대한 정보 수집: + +`VBoxManage cloud --provider={{제공자_이름}} --profile={{프로필_이름}} instance info --id={{고유_id}}` + +- 인스턴스 종료: + +`VBoxManage cloud --provider={{제공자_이름}} --profile={{프로필_이름}} instance terminate --id={{고유_id}}` + +- 특정 구획 및 상태의 이미지 나열: + +`VBoxManage cloud --provider={{제공자_이름}} --profile={{프로필_이름}} list images --compartment-id={{구획_id}} --state={{상태_이름}}` + +- 새 이미지 생성: + +`VBoxManage cloud --provider={{제공자_이름}} --profile={{프로필_이름}} image create --instance-id={{인스턴스_id}} --display-name={{표시_이름}} --compartment-id={{구획_id}}` + +- 특정 이미지에 대한 정보 검색: + +`VBoxManage cloud --provider={{제공자_이름}} --profile={{프로필_이름}} image info --id={{고유_id}}` + +- 이미지 삭제: + +`VBoxManage cloud --provider={{제공자_이름}} --profile={{프로필_이름}} image delete --id={{고유_id}}` diff --git a/pages.ko/common/vboxmanage-controlvm.md b/pages.ko/common/vboxmanage-controlvm.md new file mode 100644 index 00000000000000..f88ae009a9a5a0 --- /dev/null +++ b/pages.ko/common/vboxmanage-controlvm.md @@ -0,0 +1,36 @@ +# vboxmanage-controlvm + +> 현재 실행 중인 가상 머신의 상태 및 설정 변경. +> 더 많은 정보: . + +- 가상 머신의 실행을 일시 중지: + +`VBoxManage controlvm {{uuid|vm_이름}} pause` + +- 일시 중지된 가상 머신의 실행 재개: + +`VBoxManage controlvm {{uuid|vm_이름}} resume` + +- 가상 머신에 콜드 리셋 수행: + +`VBoxManage controlvm {{uuid|vm_이름}} reset` + +- 가상 머신의 전원을 컴퓨터의 전원 케이블을 뽑는 것과 동일한 효과로 끄기: + +`VBoxManage controlvm {{uuid|vm_이름}} poweroff` + +- 가상 머신을 종료하고 현재 상태 저장: + +`VBoxManage controlvm {{uuid|vm_이름}} savestate` + +- 가상 머신에 ACPI(Advanced Configuration and Power Interface) 종료 신호 보내기: + +`VBoxManage controlvm {{uuid|vm_이름}} acpipowerbutton` + +- 게스트 OS에 가상 머신의 자체 재부팅 명령 보내기: + +`VBoxManage controlvm {{uuid|vm_이름}} reboot` + +- 상태를 저장하지 않고 가상 머신 종료: + +`VBoxManage controlvm {{uuid|vm_이름}} shutdown` diff --git a/pages.ko/common/vboxmanage-createvm.md b/pages.ko/common/vboxmanage-createvm.md new file mode 100644 index 00000000000000..e8636273f56c90 --- /dev/null +++ b/pages.ko/common/vboxmanage-createvm.md @@ -0,0 +1,32 @@ +# vboxmanage-createvm + +> 새 가상 머신 생성. +> 더 많은 정보: . + +- 기본 설정으로 새 VM 생성: + +`VBoxManage createvm --name {{vm_이름}}` + +- VM 구성 파일이 저장될 기본 폴더 설정: + +`VBoxManage createvm --name {{vm_이름}} --basefolder {{경로/대상/폴더}}` + +- 가져온 VM의 게스트 OS 유형 설정 (`VBoxManage list ostypes` 중 하나): + +`VBoxManage createvm --name {{vm_이름}} --ostype {{os유형}}` + +- 생성된 VM을 VirtualBox에 등록: + +`VBoxManage createvm --name {{vm_이름}} --register` + +- VM을 지정된 그룹에 설정: + +`VBoxManage createvm --name {{vm_이름}} --group {{그룹1,그룹2,...}}` + +- VM의 전역 고유 식별자(UUID) 설정: + +`VBoxManage createvm --name {{vm_이름}} --uuid {{uuid}}` + +- 암호화에 사용할 암호화 방식 설정: + +`VBoxManage createvm --name {{vm_이름}} --cipher {{AES-128|AES-256}}` diff --git a/pages.ko/common/vboxmanage-export.md b/pages.ko/common/vboxmanage-export.md new file mode 100644 index 00000000000000..37019389e4d249 --- /dev/null +++ b/pages.ko/common/vboxmanage-export.md @@ -0,0 +1,24 @@ +# vboxmanage-export + +> 가상 머신을 가상 어플라이언스(ISO) 또는 클라우드 서비스로 내보내기. +> 더 많은 정보: . + +- 대상 OVA 파일 지정: + +`VBoxManage export --output {{경로/대상/파일이름.ova}}` + +- OVF 0.9 레거시 모드로 내보내기: + +`VBoxManage export --legacy09` + +- OVF (0.9|1.0|2.0) 형식으로 내보내기: + +`VBoxManage export --{{ovf09|ovf10|ovf20}}` + +- 내보낸 파일의 매니페스트 생성: + +`VBoxManage export --manifest` + +- VM 설명 지정: + +`VBoxManage export --description "{{vm_설명}}"` diff --git a/pages.ko/common/vboxmanage-extpack.md b/pages.ko/common/vboxmanage-extpack.md new file mode 100644 index 00000000000000..94a749577d66dc --- /dev/null +++ b/pages.ko/common/vboxmanage-extpack.md @@ -0,0 +1,24 @@ +# vboxmanage-extpack + +> Oracle VirtualBox용 확장팩 관리 도구. +> 더 많은 정보: . + +- VirtualBox에 확장팩 설치 (참고: 새 버전을 설치하기 전에 기존 버전을 제거해야 함): + +`VBoxManage extpack install {{경로/대상/파일.vbox-extpack}}` + +- 기존 VirtualBox 확장팩 버전 제거: + +`VBoxManage extpack install --replace` + +- VirtualBox에서 확장팩 제거: + +`VBoxManage extpack uninstall {{확장팩_이름}}` + +- 대부분의 제거 거부를 건너뛰고 확장팩 제거: + +`VBoxManage extpack uninstall --force {{확장팩_이름}}` + +- 확장팩이 남긴 임시 파일 및 디렉토리 정리: + +`VBoxManage extpack cleanup` diff --git a/pages.ko/common/vboxmanage-import.md b/pages.ko/common/vboxmanage-import.md new file mode 100644 index 00000000000000..5ad7e1c9e898df --- /dev/null +++ b/pages.ko/common/vboxmanage-import.md @@ -0,0 +1,36 @@ +# vboxmanage-import + +> 이전에 내보낸 가상 머신(VM)을 가져오기. +> 더 많은 정보: . + +- OVF 또는 OVA 파일에서 VM 가져오기: + +`VBoxManage import {{경로/대상/파일.ovf}}` + +- 가져온 VM의 이름 설정: + +`VBoxManage import {{경로/대상/파일.ovf}} --name {{vm_이름}}` + +- 가져온 VM의 구성 파일이 저장될 폴더 지정: + +`VBoxManage import {{경로/대상/파일.ovf}} --basefolder {{경로/대상/폴더}}` + +- VirtualBox에 가져온 VM 등록: + +`VBoxManage import {{경로/대상/파일.ovf}} --register` + +- 실제로 가져오지 않고 가져오기를 확인하는 드라이런 수행: + +`VBoxManage import {{경로/대상/파일.ovf}} --dry-run` + +- 가져온 VM의 게스트 OS 유형 설정 (`VBoxManage list ostypes` 중 하나): + +`VBoxManage import {{경로/대상/파일.ovf}} --ostype={{os유형}}` + +- 가져온 VM의 메모리 크기 설정 (메가바이트 단위): + +`VBoxManage import {{경로/대상/파일.ovf}} --memory={{1}}` + +- 가져온 VM의 CPU 개수 설정: + +`VBoxManage import {{경로/대상/파일.ovf}} --cpus={{1}}` diff --git a/pages.ko/common/vboxmanage-list.md b/pages.ko/common/vboxmanage-list.md new file mode 100644 index 00000000000000..c8ad62c1931c6f --- /dev/null +++ b/pages.ko/common/vboxmanage-list.md @@ -0,0 +1,36 @@ +# vboxmanage-list + +> Oracle VM VirtualBox 소프트웨어 및 관련 서비스에 대한 정보를 나열합니다. +> 더 많은 정보: . + +- 모든 VirtualBox 가상 머신 나열: + +`VBoxManage list vms` + +- 호스트 시스템에서 사용 가능한 DHCP 서버 표시: + +`VBoxManage list dhcpservers` + +- 현재 설치된 Oracle VM VirtualBox 확장팩 표시: + +`VBoxManage list extpacks` + +- 모든 가상 머신 그룹 표시: + +`VBoxManage list groups` + +- VirtualBox에서 현재 사용 중인 가상 디스크 설정 표시: + +`VBoxManage list hdds` + +- 호스트 시스템에서 사용 가능한 호스트 전용 네트워크 인터페이스 표시: + +`VBoxManage list hostonlyifs` + +- 현재 실행 중인 가상 머신 목록 표시: + +`VBoxManage list runningvms` + +- 호스트 시스템 정보 표시: + +`VBoxManage list hostinfo` diff --git a/pages.ko/common/vboxmanage-movevm.md b/pages.ko/common/vboxmanage-movevm.md new file mode 100644 index 00000000000000..d1b576fda59c8e --- /dev/null +++ b/pages.ko/common/vboxmanage-movevm.md @@ -0,0 +1,12 @@ +# vboxmanage movevm + +> 가상 머신(VM)을 호스트 시스템의 새로운 위치로 이동. +> 더 많은 정보: . + +- 지정한 가상 머신을 현재 위치로 이동: + +`VBoxManage movevm {{vm_이름}}` + +- 가상 머신의 새 위치(전체 또는 상대 경로)를 지정: + +`VBoxManage movevm {{vm_이름}} --folder {{경로/대상/새로운_위치}}` diff --git a/pages.ko/common/vboxmanage-registervm.md b/pages.ko/common/vboxmanage-registervm.md new file mode 100644 index 00000000000000..8bef9d45b9895a --- /dev/null +++ b/pages.ko/common/vboxmanage-registervm.md @@ -0,0 +1,16 @@ +# vboxmanage-registervm + +> 가상 머신(VM) 등록. +> 더 많은 정보: . + +- 기존 VM 등록: + +`VBoxManage registervm {{경로/대상/파일이름.vbox}}` + +- VM의 암호화 비밀번호 파일 제공: + +`VBoxManage registervm {{경로/대상/파일이름.vbox}} --password {{경로/대상/비밀번호_파일}}` + +- 명령줄에서 암호화 비밀번호 입력 요청: + +`VBoxManage registervm {{경로/대상/파일이름.vbox}} --password -` diff --git a/pages.ko/common/vboxmanage-showvminfo.md b/pages.ko/common/vboxmanage-showvminfo.md new file mode 100644 index 00000000000000..aa518a52a54282 --- /dev/null +++ b/pages.ko/common/vboxmanage-showvminfo.md @@ -0,0 +1,28 @@ +# vboxmanage-showvminfo + +> 등록된 가상 머신에 대한 정보 표시. +> 더 많은 정보: . + +- 특정 가상 머신에 대한 정보 표시: + +`VBoxManage showvminfo {{vm_이름|uuid}}` + +- 특정 가상 머신에 대한 더 자세한 정보 표시: + +`VBoxManage showvminfo --details {{vm_이름|uuid}}` + +- 기계 판독 형식으로 정보 표시: + +`VBoxManage showvminfo --machinereadable {{vm_이름|uuid}}` + +- 가상 머신이 암호화된 경우 암호 ID 지정: + +`VBoxManage showvminfo --password-id {{암호_id}} {{vm_이름|uuid}}` + +- 가상 머신이 암호화된 경우 암호 파일 지정: + +`VBoxManage showvminfo --password {{경로/대상/패스워드_파일}} {{vm_이름|uuid}}` + +- 특정 가상 머신의 로그 표시: + +`VBoxManage showvminfo --log {{vm_이름|uuid}}` diff --git a/pages.ko/common/vboxmanage-startvm.md b/pages.ko/common/vboxmanage-startvm.md new file mode 100644 index 00000000000000..c0ac5c90f232b2 --- /dev/null +++ b/pages.ko/common/vboxmanage-startvm.md @@ -0,0 +1,24 @@ +# vboxmanage-startvm + +> 가상 머신 시작. +> 더 많은 정보: . + +- 가상 머신 시작: + +`VBoxManage startvm {{vm_이름|uuid}}` + +- 지정된 UI 모드로 가상 머신 시작: + +`VBoxManage startvm {{vm_이름|uuid}} --type {{headless|gui|sdl|separate}}` + +- 암호화된 가상 머신을 시작하기 위해 암호 파일 지정: + +`VBoxManage startvm {{vm_이름|uuid}} --password {{경로/대상/암호_파일}}` + +- 암호화된 가상 머신을 시작하기 위해 암호 ID 지정: + +`VBoxManage startvm {{vm_이름|uuid}} --password-id {{암호_id}}` + +- 환경 변수 쌍 이름 값을 사용하여 가상 머신 시작: + +`VBoxManage startvm {{vm_이름|uuid}} --put-env={{이름}}={{값}}` diff --git a/pages.ko/common/vboxmanage-unregistervm.md b/pages.ko/common/vboxmanage-unregistervm.md new file mode 100644 index 00000000000000..0cffbf71a9d836 --- /dev/null +++ b/pages.ko/common/vboxmanage-unregistervm.md @@ -0,0 +1,16 @@ +# vboxmanage-unregistervm + +> 가상 머신(VM)을 등록 해제. +> 더 많은 정보: . + +- 기존 VM 등록 해제: + +`VBoxManage unregistervm {{uuid|vm_이름}}` + +- 하드 디스크 이미지 파일, 모든 저장된 상태 파일, VM 로그 및 XML VM 머신 파일 삭제: + +`VBoxManage unregistervm {{uuid|vm_이름}} --delete` + +- VM의 모든 파일 삭제: + +`VBoxManage unregistervm {{uuid|vm_이름}} --delete-all` diff --git a/pages.ko/common/vboxmanage.md b/pages.ko/common/vboxmanage.md new file mode 100644 index 00000000000000..e0c130dfbdb0db --- /dev/null +++ b/pages.ko/common/vboxmanage.md @@ -0,0 +1,22 @@ +# VBoxManage + +> VirtualBox의 명령줄 인터페이스. +> GUI의 모든 기능을 포함하며 그 이상을 제공합니다. +> `startvm`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- VboxManage 하위 명령 실행: + +`VBoxManage {{하위_명령}}` + +- 도움말 표시: + +`VBoxManage --help` + +- 특정 하위 명령에 대한 도움말 표시: + +`VBoxManage --help {{clonevm|import|export|startvm|...}}` + +- 버전 표시: + +`VBoxManage --version` diff --git a/pages.ko/common/vcpkg.md b/pages.ko/common/vcpkg.md new file mode 100644 index 00000000000000..8064f61194c997 --- /dev/null +++ b/pages.ko/common/vcpkg.md @@ -0,0 +1,21 @@ +# vcpkg + +> C/C++ 라이브러리를 위한 패키지 관리자. +> 참고: 패키지는 시스템에 설치되지 않습니다. 사용하려면 빌드 시스템(예: CMake)에 `vcpkg`를 사용하도록 지정해야 합니다. +> 더 많은 정보: . + +- `vcpkg` 환경에 `libcurl` 패키지를 빌드하고 추가: + +`vcpkg install curl` + +- `emscripten` 도구 체인을 사용하여 `zlib`를 빌드하고 추가: + +`vcpkg install --triplet=wasm32-emscripten zlib` + +- 패키지 검색: + +`vcpkg search {{패키지_이름}}` + +- CMake 프로젝트를 `vcpkg` 패키지를 사용하도록 설정: + +`cmake -B build -DCMAKE_TOOLCHAIN_FILE={{경로/대상/vcpkg_설치_디렉토리}}/scripts/buildsystems/vcpkg.cmake` diff --git a/pages.ko/common/vcsh.md b/pages.ko/common/vcsh.md new file mode 100644 index 00000000000000..09b0cfe1ca9ec3 --- /dev/null +++ b/pages.ko/common/vcsh.md @@ -0,0 +1,29 @@ +# vcsh + +> Git 저장소를 사용하여 홈 디렉토리를 위한 버전 관리 시스템. +> 같이 보기: `chezmoi`, `stow`, `tuckr`, `homeshick`. +> 더 많은 정보: . + +- (빈) 저장소 초기화: + +`vcsh init {{저장소_이름}}` + +- 저장소를 사용자 지정 디렉토리 이름으로 클론: + +`vcsh clone {{git_url}} {{저장소_이름}}` + +- 관리되는 모든 저장소 나열: + +`vcsh list` + +- 관리되는 저장소에서 Git 명령 실행: + +`vcsh {{저장소_이름}} {{git_명령어}}` + +- 모든 관리되는 저장소를 원격으로 푸시/풀: + +`vcsh {{push|pull}}` + +- 관리되는 저장소에 대한 사용자 지정 `.gitignore` 파일 작성: + +`vcsh write-gitignore {{저장소_이름}}` diff --git a/pages.ko/common/vdir.md b/pages.ko/common/vdir.md new file mode 100644 index 00000000000000..875ea5ddcf223f --- /dev/null +++ b/pages.ko/common/vdir.md @@ -0,0 +1,33 @@ +# vdir + +> 디렉토리 내용 나열. +> `ls -l`의 대체품. +> 더 많은 정보: . + +- 현재 디렉토리의 파일 및 디렉토리를 한 줄에 하나씩 자세히 나열: + +`vdir` + +- 사람이 읽기 쉬운 단위(KB, MB, GB)로 크기를 표시하여 나열: + +`vdir -h` + +- 숨김 파일(점으로 시작하는 파일) 포함 나열: + +`vdir -a` + +- 크기별로 항목을 정렬하여 파일 및 디렉토리 나열 (가장 큰 것부터): + +`vdir -S` + +- 수정 시간별로 항목을 정렬하여 파일 및 디렉토리 나열 (가장 최근 것부터): + +`vdir -t` + +- 디렉토리를 먼저 그룹화하여 나열: + +`vdir --group-directories-first` + +- 특정 디렉토리의 모든 파일 및 디렉토리를 재귀적으로 나열: + +`vdir --recursive {{경로/대상/폴더}}` diff --git a/pages.ko/common/vectorize-pixelart.md b/pages.ko/common/vectorize-pixelart.md new file mode 100644 index 00000000000000..97ff24cc89ae19 --- /dev/null +++ b/pages.ko/common/vectorize-pixelart.md @@ -0,0 +1,8 @@ +# vectorize-pixelart + +> PNG 픽셀 아트 그래픽을 SVG/EPS 벡터 이미지로 변환. +> 더 많은 정보: . + +- PNG를 벡터 이미지 형식으로 변환: + +`vectorize-pixelart {{경로/대상/입력.png}} {{경로/대상/출력.svg|.eps}}` diff --git a/pages.ko/common/vegeta.md b/pages.ko/common/vegeta.md new file mode 100644 index 00000000000000..7317c2ae6ede0d --- /dev/null +++ b/pages.ko/common/vegeta.md @@ -0,0 +1,29 @@ +# vegeta + +> HTTP 부하 테스트를 위한 명령줄 도구 및 라이브러리. +> 같이 보기: `ab`. +> 더 많은 정보: . + +- 30초 동안 공격 시작: + +`echo "{{GET https://example.com}}" | vegeta attack -duration={{30s}}` + +- 자체 서명된 HTTPS 인증서가 있는 서버에 대한 공격 시작: + +`echo "{{GET https://example.com}}" | vegeta attack -insecure -duration={{30s}}` + +- 초당 10개의 요청 비율로 공격 시작: + +`echo "{{GET https://example.com}}" | vegeta attack -duration={{30s}} -rate={{10}}` + +- 공격을 시작하고 보고서 표시: + +`echo "{{GET https://example.com}}" | vegeta attack -duration={{30s}} | vegeta report` + +- 공격을 시작하고 결과를 그래프에 플롯(시간에 따른 지연): + +`echo "{{GET https://example.com}}" | vegeta attack -duration={{30s}} | vegeta plot > {{경로/대상/결과.html}}` + +- 파일에 있는 여러 URL에 대한 공격 시작: + +`vegeta attack -duration={{30s}} -targets={{requests.txt}} | vegeta report` diff --git a/pages.ko/common/vela.md b/pages.ko/common/vela.md new file mode 100644 index 00000000000000..576b2c7ba8d803 --- /dev/null +++ b/pages.ko/common/vela.md @@ -0,0 +1,16 @@ +# vela + +> Vela 파이프라인을 위한 명령줄 도구. +> 더 많은 정보: . + +- Git 브랜치, 커밋 또는 태그에서 파이프라인 실행 트리거: + +`vela add deployment --org {{조직}} --repo {{저장소_이름}} --target {{환경}} --ref {{브랜치|커밋|refs/tags/git_태그}} --description "{{배포_설명}}"` + +- 저장소의 배포 목록 보기: + +`vela get deployment --org {{조직}} --repo {{저장소_이름}}` + +- 특정 배포 검사: + +`vela view deployment --org {{조직}} --repo {{저장소_이름}} --deployment {{배포_번호}}` diff --git a/pages.ko/common/velero.md b/pages.ko/common/velero.md new file mode 100644 index 00000000000000..bc750bc1a53d61 --- /dev/null +++ b/pages.ko/common/velero.md @@ -0,0 +1,24 @@ +# velero + +> Kubernetes 애플리케이션 및 그들의 지속 볼륨을 백업 및 마이그레이션. +> 더 많은 정보: . + +- 모든 리소스를 포함하는 백업 생성: + +`velero backup create {{백업_이름}}` + +- 모든 백업 나열: + +`velero backup get` + +- 백업 삭제: + +`velero backup delete {{백업_이름}}` + +- 주간 백업 생성, 각각 90일(2160시간) 동안 유지: + +`velero schedule create {{스케줄_이름}} --schedules="{{@every 7d}}" --ttl {{2160h0m0s}}` + +- 특정 스케줄에 의해 트리거된 최신 성공적인 백업에서 복원 생성: + +`velero restore create --from-schedule {{스케줄_이름}}` diff --git a/pages.ko/common/venv.md b/pages.ko/common/venv.md new file mode 100644 index 00000000000000..0949a4f09ddaee --- /dev/null +++ b/pages.ko/common/venv.md @@ -0,0 +1,20 @@ +# venv + +> Python에서 가벼운 가상 환경을 생성. +> 더 많은 정보: . + +- Python 가상 환경 생성: + +`python -m venv {{경로/대상/가상_환경}}` + +- 가상 환경 활성화 (Linux 및 macOS): + +`source {{경로/대상/가상_환경}}/bin/activate` + +- 가상 환경 활성화 (Windows): + +`{{경로\대상\가상_환경}}\Scripts\activate.bat` + +- 가상 환경 비활성화: + +`deactivate` diff --git a/pages.ko/common/vercel.md b/pages.ko/common/vercel.md new file mode 100644 index 00000000000000..d30087b208ca98 --- /dev/null +++ b/pages.ko/common/vercel.md @@ -0,0 +1,36 @@ +# vercel + +> 당신의 Vercel 프로젝트들을 관리하고 배포하세요. +> 더 많은 정보: . + +- 현재 디렉토리를 배포: + +`vercel` + +- 현재 디렉토리를 프로덕션에 배포: + +`vercel --prod` + +- 특정 디렉토리를 배포: + +`vercel {{경로/대상/프로젝트}}` + +- 예제 프로젝트를 초기화: + +`vercel init` + +- 환경 변수와 함께 배포: + +`vercel --env {{ENV}}={{var}}` + +- 환경 변수와 함께 빌드: + +`vercel --build-env {{ENV}}={{var}}` + +- 배포를 적용할 기본 지역을 설정: + +`vercel --regions {{region_id}}` + +- 배포된 프로젝트를 제거: + +`vercel remove {{프로젝트_이름}}` diff --git a/pages.ko/common/verilator.md b/pages.ko/common/verilator.md new file mode 100644 index 00000000000000..3c92eed1335d18 --- /dev/null +++ b/pages.ko/common/verilator.md @@ -0,0 +1,20 @@ +# verilator + +> Verilog 및 SystemVerilog 하드웨어 설명 언어(HDL) 디자인을 C++ 또는 SystemC 모델로 변환하여 컴파일 후 실행. +> 더 많은 정보: . + +- 현재 디렉토리에서 특정 C 프로젝트 빌드: + +`verilator --binary --build-jobs 0 -Wall {{경로/대상/소스.v}}` + +- 특정 폴더에 C++ 실행 파일 생성: + +`verilator --cc --exe --build --build-jobs 0 -Wall {{경로/대상/소스.cpp}} {{경로/대상/출력.v}}` + +- 현재 디렉토리의 코드에 대해 린팅 수행: + +`verilator --lint-only -Wall` + +- 디자인에 대한 XML 출력 생성(파일, 모듈, 인스턴스 계층 구조, 논리 및 데이터 유형)하여 다른 도구에 입력: + +`verilator --xml-output -Wall {{경로/대상/출력.xml}}` diff --git a/pages.ko/common/vertical-bar.md b/pages.ko/common/vertical-bar.md new file mode 100644 index 00000000000000..a91adaa1545101 --- /dev/null +++ b/pages.ko/common/vertical-bar.md @@ -0,0 +1,12 @@ +# Vertical bar + +> 프로그램 간에 데이터를 파이핑합니다. +> 더 많은 정보: . + +- `stdout`을 `stdin`으로 파이핑: + +`{{명령어}} | {{명령어}}` + +- `stdout`과 `stderr` 모두를 `stdin`으로 파이핑: + +`{{명령어}} |& {{명령어}}` diff --git a/pages.ko/common/vf.md b/pages.ko/common/vf.md new file mode 100644 index 00000000000000..b57d3377fa28a8 --- /dev/null +++ b/pages.ko/common/vf.md @@ -0,0 +1,36 @@ +# vf + +> VirtualFish는 Python 가상 환경을 관리하기 위한 fish shell 도구입니다. +> 더 많은 정보: . + +- 가상 환경 생성: + +`vf new {{가상환경_이름}}` + +- 특정 Python 버전으로 가상 환경 생성: + +`vf new --python {{/usr/local/bin/python3.8}} {{가상환경_이름}}` + +- 지정한 가상 환경 활성화 및 사용: + +`vf activate {{가상환경_이름}}` + +- 현재 가상 환경을 현재 디렉토리에 연결하여 들어가면 자동으로 활성화하고 나가면 자동으로 비활성화: + +`vf connect` + +- 현재 가상 환경 비활성화: + +`vf deactivate` + +- 모든 가상 환경 나열: + +`vf ls` + +- 가상 환경 제거: + +`vf rm {{가상환경_이름}}` + +- 도움말 표시: + +`vf help` diff --git a/pages.ko/common/vgmstream_cli.md b/pages.ko/common/vgmstream_cli.md new file mode 100644 index 00000000000000..96ce358be5a73a --- /dev/null +++ b/pages.ko/common/vgmstream_cli.md @@ -0,0 +1,28 @@ +# vgmstream_cli + +> 다양한 비디오 게임 오디오 포맷을 재생하고 `wav`로 변환. +> 더 많은 정보: . + +- `adc` 파일을 `wav`로 디코딩 (기본 출력 이름은 `input.wav`): + +`vgmstream_cli {{경로/대상/입력.adc}} -o {{경로/대상/출력.wav}}` + +- 오디오를 디코딩하지 않고 메타데이터 출력: + +`vgmstream_cli {{경로/대상/입력.adc}} -m` + +- 루프 없이 오디오 파일 디코딩: + +`vgmstream_cli {{경로/대상/입력.adc}} -o {{경로/대상/출력.wav}} -i` + +- 세 번의 루프로 디코딩한 후 3초 지연 및 5초 페이드아웃 추가: + +`vgmstream_cli {{경로/대상/입력.adc}} -o {{경로/대상/출력.wav}} -l {{3.0}} -f {{5.0}} -d {{3.0}}` + +- 여러 파일을 `bgm_(원래 이름).wav`로 변환 (기본 `-o` 패턴은 `?f.wav`): + +`vgmstream_cli -o {{경로/대상/bgm_?f.wav}} {{경로/대상/파일1.adc}} {{경로/대상/파일2.adc}}` + +- 파일을 무한 반복으로 재생 (`channels`와 `rate`는 메타데이터와 일치해야 함): + +`vgmstream_cli {{경로/대상/입력.adc}} -pec | aplay --format cd --channels {{1}} --rate {{44100}}` diff --git a/pages.ko/common/vgrep.md b/pages.ko/common/vgrep.md new file mode 100644 index 00000000000000..e44ef1bfd4d655 --- /dev/null +++ b/pages.ko/common/vgrep.md @@ -0,0 +1,33 @@ +# vgrep + +> 사용하기 쉬운 grep용 페이지 도구. +> 같이 보기: `ugrep`, `rg`. +> 더 많은 정보: . + +- 현재 디렉토리에서 패턴을 재귀적으로 검색하고 캐시: + +`vgrep {{검색_패턴}}` + +- 캐시된 내용 표시: + +`vgrep` + +- 기본 편집기로 캐시에서 "4번째" 일치 항목 열기: + +`vgrep --show {{4}}` + +- 캐시에서 각 일치 항목에 대해 "3" 줄의 컨텍스트 표시: + +`vgrep --show=context{{3}}` + +- 트리 내 각 디렉토리에 대한 일치 항목 수 표시: + +`vgrep --show=tree` + +- 트리 내 각 파일에 대한 일치 항목 수 표시: + +`vgrep --show=files` + +- 캐시된 일치 항목과 함께 대화형 셸 시작: + +`vgrep --interactive` diff --git a/pages.ko/common/vhs.md b/pages.ko/common/vhs.md new file mode 100644 index 00000000000000..45f8446ec1a12b --- /dev/null +++ b/pages.ko/common/vhs.md @@ -0,0 +1,28 @@ +# vhs + +> 테이프 파일에서 터미널 GIF 생성. +> 더 많은 정보: . + +- 테이프 파일 생성 (편집기를 사용하여 테이프 파일에 명령 추가): + +`vhs new {{경로/대상/파일.tape}}` + +- 테이프 파일에 입력 기록 (완료 후 셸을 종료하여 테이프 생성): + +`vhs record > {{경로/대상/파일.tape}}` + +- 특정 셸을 사용하여 테이프 파일에 입력 기록: + +`vhs record --shell {{셸}} > {{경로/대상/파일.tape}}` + +- 테이프 파일의 구문 검증: + +`vhs validate {{경로/대상/파일.tape}}` + +- 테이프 파일에서 GIF 생성: + +`vhs < {{경로/대상/파일.tape}}` + +- 에 GIF 게시 및 공유 가능한 URL 얻기: + +`vhs publish {{경로/대상/파일.gif}}` diff --git a/pages.ko/common/vi.md b/pages.ko/common/vi.md new file mode 100644 index 00000000000000..88251c1667af97 --- /dev/null +++ b/pages.ko/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> 이 명령은 `vim` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr vim` diff --git a/pages.ko/common/vidir.md b/pages.ko/common/vidir.md new file mode 100644 index 00000000000000..7a79f2bc521fc4 --- /dev/null +++ b/pages.ko/common/vidir.md @@ -0,0 +1,24 @@ +# vidir + +> 텍스트 편집기에서 디렉터리를 편집. +> 더 많은 정보: . + +- 지정된 디렉터리의 내용을 편집: + +`vidir {{경로/대상/디렉터리1 경로/대상/디렉터리2 ...}}` + +- 프로그램에서 수행한 각 작업을 표시: + +`vidir --verbose {{경로/대상/디렉터리1 경로/대상/디렉터리2 ...}}` + +- 현재 디렉터리의 내용을 편집: + +`vidir` + +- 지정된 텍스트 편집기를 사용: + +`EDITOR={{vim}} vidir {{경로/대상/디렉터리1 경로/대상/디렉터리2 ...}}` + +- `stdin`에서 편집할 파일 목록을 읽기: + +`{{명령어}} | vidir -` diff --git a/pages.ko/common/view.md b/pages.ko/common/view.md new file mode 100644 index 00000000000000..dde1c10420d67c --- /dev/null +++ b/pages.ko/common/view.md @@ -0,0 +1,9 @@ +# view + +> 읽기 전용 버전의 `vim`. +> 이는 `vim -R`과 동일합니다. +> 더 많은 정보: . + +- 파일 열기: + +`view {{경로/대상/파일}}` diff --git a/pages.ko/common/vifm.md b/pages.ko/common/vifm.md new file mode 100644 index 00000000000000..734260870e1c26 --- /dev/null +++ b/pages.ko/common/vifm.md @@ -0,0 +1,13 @@ +# vifm + +> VI 파일 관리자는 TUI 파일 관리자입니다. +> 같이 보기: `clifm`, `vifm`, `mc`, `caja`. +> 더 많은 정보: . + +- 현재 디렉토리 열기: + +`vifm .` + +- 지정된 디렉토리를 왼쪽 또는 오른쪽 창에 열기: + +`vifm {{경로/대상/디렉토리1 경로/대상/디렉토리2 ...}}` diff --git a/pages.ko/common/vim.md b/pages.ko/common/vim.md new file mode 100644 index 00000000000000..0a5fe6afc829f0 --- /dev/null +++ b/pages.ko/common/vim.md @@ -0,0 +1,38 @@ +# vim + +> Vim (Vi IMproved)는 다양한 텍스트 조작을 위한 여러 모드를 제공하는 명령줄 텍스트 편집기입니다. +> 일반 모드에서 ``를 눌러 삽입 모드로 진입합니다. ``를 눌러 다시 일반 모드로 돌아가면 Vim 명령을 사용할 수 있습니다. +> 같이 보기: `vimdiff`, `vimtutor`, `nvim`. +> 더 많은 정보: . + +- 파일 열기: + +`vim {{경로/대상/파일}}` + +- 지정한 줄 번호에서 파일 열기: + +`vim +{{줄_번호}} {{경로/대상/파일}}` + +- Vim 메뉴얼 보기: + +`<:>help` + +- 현재 버퍼 저장 및 종료: + +`{{|<:>x|<:>wq}}` + +- 일반 모드로 전환하고 마지막 작업 취소: + +`` + +- 파일 내 패턴 검색 (``/``을 눌러 다음/이전 일치 항목으로 이동): + +`{{검색_패턴}}` + +- 전체 파일에서 정규식 대체 수행: + +`<:>%s/{{정규식_표현}}/{{바꿀_문자열}}/g` + +- 줄 번호 표시: + +`<:>set nu` diff --git a/pages.ko/common/vimdiff.md b/pages.ko/common/vimdiff.md new file mode 100644 index 00000000000000..b7650f08163a52 --- /dev/null +++ b/pages.ko/common/vimdiff.md @@ -0,0 +1,37 @@ +# vimdiff + +> 두 개 이상의 파일을 vim으로 열어 차이점을 보여줍니다. +> 같이 보기: `vim`, `vimtutor`, `nvim`. +> 더 많은 정보: . + +- 두 파일을 열고 차이점 표시: + +`vimdiff {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 커서를 왼쪽|오른쪽 창으로 이동: + +`{{|}}` + +- 이전 차이점으로 이동: + +`<[>` + +- 다음 차이점으로 이동: + +`<]>` + +- 강조 표시된 차이점을 다른 창에서 현재 창으로 복사: + +`` + +- 강조 표시된 차이점을 현재 창에서 다른 창으로 복사: + +`

` + +- 모든 강조 표시 및 접기 업데이트: + +`<:>diffupdate` + +- 강조 표시된 코드 접기 전환: + +`` diff --git a/pages.ko/common/vimtutor.md b/pages.ko/common/vimtutor.md new file mode 100644 index 00000000000000..9c07b8e1de95e1 --- /dev/null +++ b/pages.ko/common/vimtutor.md @@ -0,0 +1,13 @@ +# vimtutor + +> Vim 튜터로, 기본 Vim 명령어를 가르칩니다. +> 같이 보기: `vim`, `vimdiff`, `nvim`. +> 더 많은 정보: . + +- 주어진 언어로 Vim 튜터 시작 (예: en, fr, de 등): + +`vimtutor {{언어}}` + +- 튜터 종료: + +`<:>q` diff --git a/pages.ko/common/vinmap.md b/pages.ko/common/vinmap.md new file mode 100644 index 00000000000000..4cd03434e83a24 --- /dev/null +++ b/pages.ko/common/vinmap.md @@ -0,0 +1,24 @@ +# vinmap + +> IP 범위를 청크로 나누고 병렬 스캔을 수행하며 XML 또는 JSON 결과를 병합하는 멀티스레드 Nmap 스캐너. +> 더 많은 정보: . + +- 서브넷에 대한 기본 스캔 수행: + +`vinmap -ip {{192.168.1.0/24}}` + +- 버전 및 OS 감지로 도메인을 스캔하고 결과를 특정 파일에 저장: + +`vinmap -ip {{example.com}} -s "-sV -O" -o {{경로/대상/scan_results.xml}}` + +- IP 범위를 10개의 청크와 20개의 동시 스레드를 사용하여 스캔, 지정하지 않으면 시스템 CPU 코어의 절반 사용: + +`vinmap -ip {{10.0.0.1-10.0.0.255}} -n 10 -t 20` + +- JSON 형식으로 스캔 결과 출력: + +`vinmap -ip {{192.168.1.1-192.168.1.100}} -f json` + +- 기본 설정으로 여러 IP 스캔하고 병합된 XML 출력 저장: + +`vinmap -ip {{192.168.1.1,192.168.1.2,...}}` diff --git a/pages.ko/common/vipe.md b/pages.ko/common/vipe.md new file mode 100644 index 00000000000000..4ed610d60e5585 --- /dev/null +++ b/pages.ko/common/vipe.md @@ -0,0 +1,16 @@ +# vipe + +> UNIX 파이프라인 중간에서 텍스트 편집기를 실행합니다. +> 더 많은 정보: . + +- `command1`의 출력을 편집한 후 `command2`로 파이핑: + +`{{command1}} | vipe | {{command2}}` + +- 구문 강조를 돕기 위해 지정된 파일 확장자로 임시 파일에 `command1`의 출력을 버퍼링: + +`{{command1}} | vipe --suffix {{json}} | {{command2}}` + +- 지정된 텍스트 편집기 사용: + +`{{command1}} | EDITOR={{vim}} vipe | {{command2}}` diff --git a/pages.ko/common/virsh-connect.md b/pages.ko/common/virsh-connect.md new file mode 100644 index 00000000000000..9687d50a02a980 --- /dev/null +++ b/pages.ko/common/virsh-connect.md @@ -0,0 +1,21 @@ +# virsh-connect + +> 가상 머신 하이퍼바이저에 연결합니다. +> 같이 보기: `virsh`. +> 더 많은 정보: . + +- 기본 하이퍼바이저에 연결: + +`virsh connect` + +- 로컬 QEMU/KVM 하이퍼바이저에 루트로 연결: + +`virsh connect qemu:///system` + +- 하이퍼바이저의 새 인스턴스를 시작하고, 로컬 사용자로 연결: + +`virsh connect qemu:///session` + +- SSH를 사용하여 원격 하이퍼바이저에 루트로 연결: + +`virsh connect qemu+ssh://{{사용자_명@호스트_명}}/system` diff --git a/pages.ko/common/virsh-domblklist.md b/pages.ko/common/virsh-domblklist.md new file mode 100644 index 00000000000000..dfa2efa50304da --- /dev/null +++ b/pages.ko/common/virsh-domblklist.md @@ -0,0 +1,13 @@ +# virsh-domblklist + +> 가상 머신과 연결된 블록 장치에 대한 정보 나열. +> 같이 보기: `virsh`. +> 더 많은 정보: . + +- 블록 장치의 대상 이름 및 소스 경로 나열: + +`virsh domblklist --domain {{가상머신_이름}}` + +- 디스크 유형, 장치 값, 대상 이름 및 소스 경로 나열: + +`virsh domblklist --domain {{가상머신_이름}} --details` diff --git a/pages.ko/common/virsh-help.md b/pages.ko/common/virsh-help.md new file mode 100644 index 00000000000000..788d64a01970e1 --- /dev/null +++ b/pages.ko/common/virsh-help.md @@ -0,0 +1,21 @@ +# virsh-help + +> `virsh` 명령 또는 명령 그룹에 대한 정보 표시. +> 같이 보기: `virsh`. +> 더 많은 정보: . + +- 관련 카테고리로 그룹화된 `virsh` 명령 나열: + +`virsh help` + +- 명령의 카테고리를 나열: + +`virsh help | grep "keyword"` + +- 카테고리의 명령 나열: + +`virsh help {{카테고리_키워드}}` + +- 명령어에 대한 도움말 표시: + +`virsh help {{명령어}}` diff --git a/pages.ko/common/virsh-list.md b/pages.ko/common/virsh-list.md new file mode 100644 index 00000000000000..ecb435bd59462a --- /dev/null +++ b/pages.ko/common/virsh-list.md @@ -0,0 +1,21 @@ +# virsh-list + +> 가상 머신의 ID, 이름, 상태 나열. +> 같이 보기: `virsh`. +> 더 많은 정보: . + +- 실행 중인 가상 머신에 대한 정보 나열: + +`virsh list` + +- 상태에 관계없이 가상 머신에 대한 정보 나열: + +`virsh list --all` + +- 자동 시작이 활성화되거나 비활성화된 가상 머신에 대한 정보 나열: + +`virsh list --all --{{autostart|no-autostart}}` + +- 스냅샷 유무에 관계없이 가상 머신에 대한 정보 나열: + +`virsh list --all --{{with-snapshot|without-snapshot}}` diff --git a/pages.ko/common/virsh-pool-autostart.md b/pages.ko/common/virsh-pool-autostart.md new file mode 100644 index 00000000000000..8ab49ea33867d3 --- /dev/null +++ b/pages.ko/common/virsh-pool-autostart.md @@ -0,0 +1,13 @@ +# virsh pool-autostart + +> 가상 머신 스토리지 풀에 대한 자동 시작 활성화 또는 비활성화. +> 같이 보기: `virsh`. +> 더 많은 정보: . + +- 이름 또는 UUID로 지정된 스토리지 풀에 대한 자동 시작 활성화 (`virsh pool-list`를 사용하여 결정): + +`virsh pool-autostart --pool {{name|uuid}}` + +- 이름 또는 UUID로 지정된 스토리지 풀에 대한 자동 시작 비활성화: + +`virsh pool-autostart --pool {{name|uuid}} --disable` diff --git a/pages.ko/common/virsh-pool-build.md b/pages.ko/common/virsh-pool-build.md new file mode 100644 index 00000000000000..b09ef3a97507a4 --- /dev/null +++ b/pages.ko/common/virsh-pool-build.md @@ -0,0 +1,9 @@ +# virsh pool-build + +> `/etc/libvirt/storage`의 구성 파일에 정의된 대로 가상 머신 스토리지 풀에 대한 기본 스토리지 시스템을 구축합니다. +> 같이 보기: `virsh`, `virsh-pool-define-as`, `virsh-pool-start`. +> 더 많은 정보: . + +- 이름 또는 UUID로 지정된 스토리지 풀 구축 (`virsh pool-list`를 사용하여 결정): + +`virsh pool-build --pool {{name|uuid}}` diff --git a/pages.ko/common/virsh-pool-define-as.md b/pages.ko/common/virsh-pool-define-as.md new file mode 100644 index 00000000000000..ca8bc7266cc5ea --- /dev/null +++ b/pages.ko/common/virsh-pool-define-as.md @@ -0,0 +1,9 @@ +# virsh pool-define-as + +> 제공된 인수를 사용하여 영구 가상 머신 스토리지 풀에 대한 `/etc/libvirt/storage`에 구성 파일을 생성합니다. +> 같이 보기: `virsh`, `virsh-pool-build`, `virsh-pool-start`. +> 더 많은 정보: . + +- 기본 스토리지 시스템으로 `/var/vms`를 사용하여 pool_name이라는 스토리지 풀에 대한 구성 파일을 생성: + +`virsh pool-define-as --name {{풀_이름}} --type {{dir}} --target {{/var/vms}}` diff --git a/pages.ko/common/virsh-pool-delete.md b/pages.ko/common/virsh-pool-delete.md new file mode 100644 index 00000000000000..e1963c72cac403 --- /dev/null +++ b/pages.ko/common/virsh-pool-delete.md @@ -0,0 +1,9 @@ +# virsh pool-delete + +> 비활성 가상 머신 스토리지 풀의 기본 스토리지 시스템 삭제. +> 같이 보기: `virsh`, `virsh-pool-destroy`, `virsh-pool-undefine`. +> 더 많은 정보: . + +- 이름 또는 UUID로 지정된 스토리지 풀에 대한 기본 스토리지 시스템을 삭제 (`virsh pool-list`을 사용하여 결정): + +`virsh pool-delete --pool {{name|uuid}}` diff --git a/pages.ko/common/virsh-pool-destroy.md b/pages.ko/common/virsh-pool-destroy.md new file mode 100644 index 00000000000000..d693e21b1b13e7 --- /dev/null +++ b/pages.ko/common/virsh-pool-destroy.md @@ -0,0 +1,9 @@ +# virsh pool-destroy + +> 활성 가상 머신 스토리지 풀 중지. +> 같이 보기: `virsh`, `virsh-pool-delete`. +> 더 많은 정보: . + +- 이름 또는 UUID로 지정된 스토리지 풀 중지 (`virsh pool-list`를 사용하여 결정): + +`virsh pool-destroy --pool {{name|uuid}}` diff --git a/pages.ko/common/virsh-pool-info.md b/pages.ko/common/virsh-pool-info.md new file mode 100644 index 00000000000000..bf809a3a09d11c --- /dev/null +++ b/pages.ko/common/virsh-pool-info.md @@ -0,0 +1,9 @@ +# virsh pool-info + +> 가상 머신 스토리지 풀에 대한 정보를 나열합니다. +> 같이 보기: `virsh`. +> 더 많은 정보: . + +- 이름 또는 UUID로 지정된 스토리지 풀에 대해 이름, UUID, 상태, 지속성 유형, 자동 시작 상태, 용량, 할당된 공간 및 사용 가능한 공간 나열 (`virsh pool-list`를 사용하여 결정): + +`virsh pool-info --pool {{name|uuid}}` diff --git a/pages.ko/common/virsh-pool-list.md b/pages.ko/common/virsh-pool-list.md new file mode 100644 index 00000000000000..702eaadeaf1263 --- /dev/null +++ b/pages.ko/common/virsh-pool-list.md @@ -0,0 +1,29 @@ +# virsh pool-list + +> 가상 머신 스토리지 풀에 대한 정보 나열. +> 같이 보기: `virsh`, `virsh-pool-autostart`, `virsh-pool-define-as`. +> 더 많은 정보: . + +- 이름, 상태 및 활성 스토리지 풀에 대한 자동 시작의 활성화 또는 비활성화 여부를 나열: + +`virsh pool-list` + +- 활성 및 비활성 또는 비활성 스토리지 풀에 대한 정보 나열: + +`virsh pool-list --{{all|inactive}}` + +- 활성 스토리지 풀의 지속성, 용량, 할당 및 사용 가능한 공간에 대한 확장 정보 나열: + +`virsh pool-list --details` + +- 자동 시작이 활성화되거나 비활성화된 활성 스토리지 풀에 대한 정보 나열: + +`virsh pool-list --{{autostart|no-autostart}}` + +- 지속적이거나 일시적인 활성 스토리지 풀에 대한 정보 나열: + +`virsh pool-list --{{persistent|transient}}` + +- 활성 스토리지 풀의 이름 및 UUID 나열: + +`virsh pool-list --name --uuid` diff --git a/pages.ko/common/virsh-pool-start.md b/pages.ko/common/virsh-pool-start.md new file mode 100644 index 00000000000000..d2bf01f4e5caff --- /dev/null +++ b/pages.ko/common/virsh-pool-start.md @@ -0,0 +1,9 @@ +# virsh pool-start + +> 이전에 구성되었지만 비활성화된 가상 머신 스토리지 풀 시작. +> 같이 보기: `virsh`, `virsh-pool-define-as`, `virsh-pool-destroy`. +> 더 많은 정보: . + +- 이름 또는 UUID로 지정된 스토리지 풀을 시작하고 (`virsh pool-list`를 사용하여 결정) 기본 스토리지 시스템이 없으면 생성: + +`virsh pool-start --pool {{name|uuid}} --build` diff --git a/pages.ko/common/virsh-pool-undefine.md b/pages.ko/common/virsh-pool-undefine.md new file mode 100644 index 00000000000000..9185139a090a13 --- /dev/null +++ b/pages.ko/common/virsh-pool-undefine.md @@ -0,0 +1,9 @@ +# virsh pool-undefine + +> 중지된 가상 머신 스토리지 풀에 대한 `/etc/libvirt/storage`에서 구성 파일을 삭제합니다. +> 같이 보기: `virsh`, `virsh-pool-destroy`. +> 더 많은 정보: . + +- 스토리지 풀에 지정된 이름 또는 UUID에 대한 구성을 삭제 (`virsh pool-list`를 사용하여 결정): + +`virsh pool-undefine --pool {{name|uuid}}` diff --git a/pages.ko/common/virsh-undefine.md b/pages.ko/common/virsh-undefine.md new file mode 100644 index 00000000000000..7dc8dc0245c5d7 --- /dev/null +++ b/pages.ko/common/virsh-undefine.md @@ -0,0 +1,16 @@ +# virsh undefine + +> 가상 머신을 삭제합니다. +> 더 많은 정보: . + +- 가상 머신 구성 파일만 삭제: + +`virsh undefine --domain {{가상머신_이름}}` + +- 구성 파일 및 모든 관련 스토리지 불륨을 삭제: + +`virsh undefine --domain {{가상머신_이름}} --remove-all-storage` + +- 대상 이름 또는 소스 이름 (`virsh domblklist` 명령에서 얻은 이름)을 사용하여 구성 파일과 지정된 스토리지 볼륨을 삭제: + +`virsh undefine --domain {{가상머신_이름}} --storage {{sda,경로/대상/소스}}` diff --git a/pages.ko/common/virsh.md b/pages.ko/common/virsh.md new file mode 100644 index 00000000000000..9f5fb811ac1ed5 --- /dev/null +++ b/pages.ko/common/virsh.md @@ -0,0 +1,37 @@ +# virsh + +> virsh 게스트 도메인을 관리합니다. (Note: 'guest_id'는 게스트의 아이디, 이름 또는 UUID일 수 있습니다). +> `list`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 하이퍼아비저 세션에 연결: + +`virsh connect {{qemu:///system}}` + +- 모든 도메인 나열: + +`virsh list --all` + +- 게스트 구성 파일 덤프: + +`virsh dumpxml {{게스트 아이디}} > {{경로/대상/게스트 구성 파일.xml}}` + +- 구성 파일에서 게스트 만들기: + +`virsh create {{경로/대상/구성 파일.xml}}` + +- 게스트의 구성 파일 편집 (편집기는 $EDITOR로 변경할 수 있음): + +`virsh edit {{게스트_아이디}}` + +- 게스트 시작/재부팅/종료/일시 중지/재개: + +`virsh {{명령어}} {{게스트_아이디}}` + +- 게스트의 현재 상태를 파일에 저장: + +`virsh save {{게스트_아이디}} {{파일이름}}` + +- 실행 중인 게스트 삭제: + +`virsh destroy {{게스트_아이디}} && virsh undefine {{게스트_아이디}}` diff --git a/pages.ko/common/virt-clone.md b/pages.ko/common/virt-clone.md new file mode 100644 index 00000000000000..c3741564666f1d --- /dev/null +++ b/pages.ko/common/virt-clone.md @@ -0,0 +1,12 @@ +# virt-clone + +> libvirt 가상 머신 복제. +> 더 많은 정보: . + +- 가상 머신을 복제하고 새 이름, 저장 경로 및 MAC 주소를 자동으로 생성: + +`virt-clone --original {{가상머신_이름}} --auto-clone` + +- 가상 머신을 복제하고 새 이름, 저장 경로 및 MAC 주소를 지정: + +`virt-clone --original {{가상머신_이름}} --name {{새_가상머신_이름}} --file {{경로/대상/새_저장소}} --mac {{ff:ff:ff:ff:ff:ff|RANDOM}}` diff --git a/pages.ko/common/virt-install.md b/pages.ko/common/virt-install.md new file mode 100644 index 00000000000000..2146ec215e3967 --- /dev/null +++ b/pages.ko/common/virt-install.md @@ -0,0 +1,24 @@ +# virt-install + +> libvirt를 사용하여 가상 머신을 생성하고 OS 설치를 시작합니다. +> 더 많은 정보: . + +- 1 GB RAM과 12 GB 스토리지를 가진 가상 머신을 생성하고 Debian 설치 시작: + +`virt-install --name {{가상머신_이름}} --memory {{1024}} --disk path={{경로/대상/이미지.qcow2}},size={{12}} --cdrom {{경로/대상/debian.iso}}` + +- x86-64, KVM 가속, UEFI 기반, Q35 칩셋을 사용하는 가상 머신을 4 GiB RAM, 16 GiB RAW 스토리지와 함께 생성하고 Fedora 설치 시작: + +`virt-install --name {{가상머신_이름}} --arch {{x86_64}} --virt-type {{kvm}} --machine {{q35}} --boot {{uefi}} --memory {{4096}} --disk path={{경로/대상/이미지.raw}},size={{16}} --cdrom {{경로/대상/fedora.iso}}` + +- 디스크 없이 사운드 장치나 USB 컨트롤러가 없는 라이브 가상 머신 생성. 설치를 시작하지 않고 콘솔에 자동 연결하지 않지만 cdrom을 연결 (tails와 같은 라이브 CD 사용 시 유용할 수 있음): + +`virt-install --name {{가상머신_이름}} --memory {{512}} --disk {{none}} --controller {{type=usb,model=none}} --sound {{none}} --autoconsole {{none}} --install {{no_install=yes}} --cdrom {{경로/대상/tails.iso}}` + +- 16 GiB RAM, 250 GiB 스토리지, 하이퍼스레딩이 있는 8 코어, 특정 CPU 토폴로지 및 호스트 CPU와 대부분의 기능을 공유하는 CPU 모델을 가진 가상 머신 생성: + +`virt-install --name {{가상머신_이름}} --cpu {{host-model}},topology.sockets={{1}},topology.cores={{4}},topology.threads={{2}} --memory {{16384}} --disk path={{경로/대상/이미지.qcow2}},size={{250}} --cdrom {{경로/대상/debian.iso}}` + +- Fedora 35를 기반으로 한 자동 배포를 시작하고 원격 리소스만 사용하여 가상 머신 생성 (ISO 불필요): + +`virt-install --name {{가상머신_이름}} --memory {{2048}} --disk path={{경로/대상/이미지.qcow2}},size={{20}} --location={{https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/}} --extra-args="{{inst.ks=https://경로/대상/유효한/kickstart.org}}"` diff --git a/pages.ko/common/virt-qemu-run.md b/pages.ko/common/virt-qemu-run.md new file mode 100644 index 00000000000000..7bcfe6ba325cc5 --- /dev/null +++ b/pages.ko/common/virt-qemu-run.md @@ -0,0 +1,20 @@ +# virt-qemu-run + +> `libvirtd`와 독립적으로 QEMU 게스트 VM을 실행하기 위한 실험 도구. +> 더 많은 정보: . + +- QEMU 가상 머신 실행: + +`virt-qemu-run {{경로/대상/guest.xml}}` + +- QEMU 가상 머신을 실행하고 상태를 특정 디렉토리에 저장: + +`virt-qemu-run --root={{경로/대상/폴더}} {{경로/대상/guest.xml}}` + +- QEMU 가상 머신을 실행하고 시작에 대한 자세한 정보 표시: + +`virt-qemu-run --verbose {{경로/대상/guest.xml}}` + +- 도움말 표시: + +`virt-qemu-run --help` diff --git a/pages.ko/common/virt-sparsify.md b/pages.ko/common/virt-sparsify.md new file mode 100644 index 00000000000000..28659bfbf27be7 --- /dev/null +++ b/pages.ko/common/virt-sparsify.md @@ -0,0 +1,13 @@ +# virt-sparsify + +> 가상 머신 드라이브 이미지를 Thin Provisioning으로 변환. +> 주의: 데이터 손상을 방지하기 위해 오프라인 상태의 머신에서만 사용하세요. +> 더 많은 정보: . + +- 스냅샷이 없는 상태로 비압축된 이미지를 압축된 스파스 이미지로 생성: + +`virt-sparsify --compress {{경로/대상/image.qcow2}} {{경로/대상/image_new.qcow2}}` + +- 이미지를 제자리에서 스파스 처리: + +`virt-sparsify --in-place {{경로/대상/image.img}}` diff --git a/pages.ko/common/virt-sysprep.md b/pages.ko/common/virt-sysprep.md new file mode 100644 index 00000000000000..a0588a73ec673f --- /dev/null +++ b/pages.ko/common/virt-sysprep.md @@ -0,0 +1,20 @@ +# virt-sysprep + +> 가상 머신 이미지를 재설정, 비구성 또는 사용자 정의. +> 더 많은 정보: . + +- 지원되는 모든 작업 나열 (활성화된 작업은 별표로 표시됨): + +`virt-sysprep --list-operations` + +- 활성화된 모든 작업을 실행하되 실제로 변경사항을 적용하지 않음: + +`virt-sysprep --domain {{가상_머신_이름}} --dry-run` + +- 지정된 작업만 실행: + +`virt-sysprep --domain {{가상_머신_이름}} --operations {{작업1,작업2,...}}` + +- 새로운 `/etc/machine-id` 파일을 생성하고 사용자 정의를 활성화하여 네트워크 충돌을 피하기 위해 호스트 이름을 변경할 수 있도록 설정: + +`virt-sysprep --domain {{가상_머신_이름}} --enable {{사용자_정의}} --hostname {{호스트_이름}} --operation {{machine-id}}` diff --git a/pages.ko/common/virtualenv.md b/pages.ko/common/virtualenv.md new file mode 100644 index 00000000000000..1863266f74ce26 --- /dev/null +++ b/pages.ko/common/virtualenv.md @@ -0,0 +1,24 @@ +# virtualenv + +> 가상 격리된 Python 환경 생성. +> 더 많은 정보: . + +- 새 환경 생성: + +`virtualenv {{경로/대상/venv}}` + +- 프롬프트 접두사를 사용자 정의: + +`virtualenv --prompt={{프롬프트_접두사}} {{경로/대상/venv}}` + +- virtualenv에 다른 버전의 Python 사용: + +`virtualenv --python={{경로/대상/pythonbin}} {{경로/대상/venv}}` + +- 환경 시작(선택): + +`source {{경로/대상/venv}}/bin/activate` + +- 환경 중지: + +`deactivate` diff --git a/pages.ko/common/virtualenvwrapper.md b/pages.ko/common/virtualenvwrapper.md new file mode 100644 index 00000000000000..ea93b47eb99904 --- /dev/null +++ b/pages.ko/common/virtualenvwrapper.md @@ -0,0 +1,32 @@ +# virtualenvwrapper + +> Python의 `virtualenv` 도구를 위한 간단한 래퍼 명령 그룹. +> 더 많은 정보: . + +- 새로운 Python `virtualenv`를 `$WORKON_HOME`에 생성: + +`mkvirtualenv {{가상환경_이름}}` + +- 특정 Python 버전에 대한 `virtualenv` 생성: + +`mkvirtualenv --python {{/usr/local/bin/python3.8}} {{가상환경_이름}}` + +- 다른 `virtualenv` 활성화 또는 사용: + +`workon {{가상환경_이름}}` + +- `virtualenv` 중지: + +`deactivate` + +- 모든 가상 환경 나열: + +`lsvirtualenv` + +- `virtualenv` 제거: + +`rmvirtualenv {{가상환경_이름}}` + +- 모든 virtualenvwrapper 명령 요약 보기: + +`virtualenvwrapper` diff --git a/pages.ko/common/visudo.md b/pages.ko/common/visudo.md new file mode 100644 index 00000000000000..8f95587d7267ff --- /dev/null +++ b/pages.ko/common/visudo.md @@ -0,0 +1,20 @@ +# visudo + +> sudoers 파일을 안전하게 편집. +> 더 많은 정보: . + +- sudoers 파일 편집: + +`sudo visudo` + +- sudoers 파일 오류 검사: + +`sudo visudo -c` + +- 특정 편집기를 사용하여 sudoers 파일 편집: + +`sudo EDITOR={{편집기}} visudo` + +- 버전 정보 표시: + +`visudo --version` diff --git a/pages.ko/common/vite.md b/pages.ko/common/vite.md new file mode 100644 index 00000000000000..3f3cb4b75a220a --- /dev/null +++ b/pages.ko/common/vite.md @@ -0,0 +1,22 @@ +# Vite + +> Vite 프로젝트 생성합니다. +> 자바스크립트 프로젝트를 빌드하는 데 사용됩니다. +> 사용 가능한 템플릿: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-swc-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts. +> 더 많은 정보: . + +- `npm` 6.x를 사용한 설정: + +`npm create vite@latest my-react-app --template react-ts` + +- `npm` 7 이상을 사용한 설정, 추가 이중 대시가 필요: + +`npm create vite@latest my-react-app -- --template react-ts` + +- `yarn`을 사용한 설정: + +`yarn create vite my-react-app --template react-ts` + +- `pnpm`을 사용한 설정: + +`pnpm create vite my-react-app --template react-ts` diff --git a/pages.ko/common/viu.md b/pages.ko/common/viu.md new file mode 100644 index 00000000000000..ad33786b2c37da --- /dev/null +++ b/pages.ko/common/viu.md @@ -0,0 +1,24 @@ +# viu + +> 터미널에서 이미지를 보기. +> 더 많은 정보: . + +- 이미지 또는 애니메이션 GIF 렌더링: + +`viu {{경로/대상/파일}}` + +- `curl`을 사용하여 인터넷에서 이미지 또는 GIF 렌더링: + +`curl -s {{https://example.com/image.png}} | viu -` + +- 투명한 배경의 이미지 렌더링: + +`viu -t {{경로/대상/파일}}` + +- 특정 픽셀 너비와 높이로 이미지 렌더링: + +`viu -w {{너비}} -h {{높이}} {{경로/대상/파일}}` + +- 이미지 또는 GIF를 렌더링하고 파일 이름 표시: + +`viu -n {{경로/대상/파일}}` diff --git a/pages.ko/common/vivaldi.md b/pages.ko/common/vivaldi.md new file mode 100644 index 00000000000000..0db4bff409035c --- /dev/null +++ b/pages.ko/common/vivaldi.md @@ -0,0 +1,8 @@ +# vivaldi + +> 이 명령은 `chromium`의 별칭입니다. +> 더 많은 정보: . + +- 원본 명령에 대한 문서 보기: + +`tldr chromium` diff --git a/pages.ko/common/vladimyr.md b/pages.ko/common/vladimyr.md new file mode 100644 index 00000000000000..66b6414fe862fe --- /dev/null +++ b/pages.ko/common/vladimyr.md @@ -0,0 +1,8 @@ +# vladimyr + +> Dario Vladović의 개인 CLI. +> 더 많은 정보: . + +- Dario의 대화형 CLI 시작: + +`vladimyr` diff --git a/pages.ko/common/vlc.md b/pages.ko/common/vlc.md new file mode 100644 index 00000000000000..29652480811752 --- /dev/null +++ b/pages.ko/common/vlc.md @@ -0,0 +1,25 @@ +# vlc + +> 크로스 플랫폼 멀티미디어 플레이어. +> 같이 보기: `mpv`, `mplayer`, `ytfzf`. +> 더 많은 정보: . + +- 파일 재생: + +`vlc {{경로/대상/파일}}` + +- 전체 화면으로 재생: + +`vlc --fullscreen {{경로/대상/파일}}` + +- 음소거 상태로 재생: + +`vlc --no-audio {{경로/대상/파일}}` + +- 반복 재생: + +`vlc --loop {{경로/대상/파일}}` + +- URL에서 비디오 재생: + +`vlc {{https://www.youtube.com/watch?v=oHg5SJYRHA0}}` diff --git a/pages.ko/common/volta.md b/pages.ko/common/volta.md new file mode 100644 index 00000000000000..cb8fcd79bdd3a4 --- /dev/null +++ b/pages.ko/common/volta.md @@ -0,0 +1,28 @@ +# volta + +> Node.js 런타임, npm 및 Yarn 패키지 관리자 또는 npm에서 제공하는 바이너리를 설치하는 JavaScript 도구 관리자. +> 더 많은 정보: . + +- 설치된 모든 도구 나열: + +`volta list` + +- 최신 버전의 도구 설치: + +`volta install {{node|npm|yarn|패키지_이름}}` + +- 특정 버전의 도구 설치: + +`volta install {{node|npm|yarn}}@version` + +- 프로젝트에 사용할 도구 버전 선택 (`package.json`에 저장됨): + +`volta pin {{node|npm|yarn}}@version` + +- 도움말 표시: + +`volta help` + +- 하위 명령에 대한 도움말 표시: + +`volta help {{fetch|install|uninstall|pin|list|completions|which|setup|run|help}}` diff --git a/pages.ko/common/vsce.md b/pages.ko/common/vsce.md new file mode 100644 index 00000000000000..0169a914758625 --- /dev/null +++ b/pages.ko/common/vsce.md @@ -0,0 +1,24 @@ +# vsce + +> Visual Studio Code 확장 관리자. +> 더 많은 정보: . + +- 특정 게시자가 만든 모든 확장 나열: + +`vsce list {{게시자}}` + +- 확장을 주 버전, 부 버전 또는 패치 버전으로 게시: + +`vsce publish {{major|minor|patch}}` + +- 확장 취소 게시: + +`vsce unpublish {{확장_ID}}` + +- 현재 작업 디렉토리를 `.vsix` 파일로 패키징: + +`vsce package` + +- 확장과 관련된 메타데이터 표시: + +`vsce show {{확장_ID}}` diff --git a/pages.ko/common/vt.md b/pages.ko/common/vt.md new file mode 100644 index 00000000000000..96b133b1188ee3 --- /dev/null +++ b/pages.ko/common/vt.md @@ -0,0 +1,37 @@ +# vt + +> VirusTotal의 명령줄 인터페이스. +> 이 명령을 사용하려면 VirusTotal 계정의 API 키가 필요합니다. +> 더 많은 정보: . + +- 특정 파일을 바이러스 검사: + +`vt scan file {{경로/대상/파일}}` + +- URL을 바이러스 검사: + +`vt scan url {{url}}` + +- 특정 분석에 대한 정보 표시: + +`vt analysis {{파일_ID|분석_ID}}` + +- 암호화된 Zip 형식으로 파일 다운로드 (프리미엄 계정 필요): + +`vt download {{파일_ID}} --output {{경로/대상/폴더}} --zip --zip-password {{비밀번호}}` + +- `vt`를 초기화하거나 재초기화하여 API 키를 대화식으로 입력: + +`vt init` + +- 도메인에 대한 정보 표시: + +`vt domain {{url}}` + +- 특정 URL에 대한 정보 표시: + +`vt url {{url}}` + +- 특정 IP 주소에 대한 정보 표시: + +`vt domain {{IP_주소}}` diff --git a/pages.ko/common/vue-build.md b/pages.ko/common/vue-build.md new file mode 100644 index 00000000000000..75aebb4a95df42 --- /dev/null +++ b/pages.ko/common/vue-build.md @@ -0,0 +1,8 @@ +# vue build + +> 빠른 프로토타이핑을 가능하게 하는 `@vue/cli` 및 `@vue/cli-service-global`에서 제공하는 하위 명령입니다. +> 더 많은 정보: . + +- 프로덕션 모드에서 `.js` 또는 `.vue` 파일을 설정 없이 빌드: + +`vue build {{파일명}}` diff --git a/pages.ko/common/vue-init.md b/pages.ko/common/vue-init.md new file mode 100644 index 00000000000000..327ed69d0f3b2e --- /dev/null +++ b/pages.ko/common/vue-init.md @@ -0,0 +1,16 @@ +# vue init + +> Vue.js 프레임워크의 레거시 프로젝트 초기화 하위 명령어. +> 더 많은 정보: . + +- 기본 템플릿 중 하나를 사용하여 새 프로젝트 생성: + +`vue init {{webpack|webpack-simple|browserify|browserify-simple|simple}} {{프로젝트_이름}}` + +- 로컬 템플릿을 사용하여 새 프로젝트 생성: + +`vue init {{경로/대상/템플릿_폴더}} {{프로젝트_이름}}` + +- GitHub의 템플릿을 사용하여 새 프로젝트 생성: + +`vue init {{사용자명}}/{{저장소}} {{프로젝트_이름}}` diff --git a/pages.ko/common/vue-serve.md b/pages.ko/common/vue-serve.md new file mode 100644 index 00000000000000..d256e9ec2509fa --- /dev/null +++ b/pages.ko/common/vue-serve.md @@ -0,0 +1,8 @@ +# vue serve + +> 빠른 프로토타이핑을 가능하게 하는 `@vue/cli` 및 `@vue/cli-service-global`에서 제공하는 하위 명령. +> 더 많은 정보: . + +- 설정 없이 개발 모드에서 `.js` 또는 `.vue` 파일 제공: + +`vue serve {{파일명}}` diff --git a/pages.ko/common/vue.md b/pages.ko/common/vue.md new file mode 100644 index 00000000000000..f2d40da68dd163 --- /dev/null +++ b/pages.ko/common/vue.md @@ -0,0 +1,13 @@ +# vue + +> Vue.js를 위한 다목적 CLI. +> `build`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 대화형으로 새 Vue 프로젝트 생성: + +`vue create {{프로젝트_이름}}` + +- 웹 UI로 새 프로젝트 생성: + +`vue ui` diff --git a/pages.ko/common/vulkaninfo.md b/pages.ko/common/vulkaninfo.md new file mode 100644 index 00000000000000..b8fe971d0f4f76 --- /dev/null +++ b/pages.ko/common/vulkaninfo.md @@ -0,0 +1,16 @@ +# vulkaninfo + +> 시스템의 Vulkan 정보를 출력. +> 더 많은 정보: . + +- 전체 Vulkan 정보 출력: + +`vulkaninfo` + +- 요약 정보 출력: + +`vulkaninfo --summary` + +- 전체 Vulkan 정보를 HTML 문서로 생성: + +`vulkaninfo --html` diff --git a/pages.ko/common/w.md b/pages.ko/common/w.md new file mode 100644 index 00000000000000..806015db4822f1 --- /dev/null +++ b/pages.ko/common/w.md @@ -0,0 +1,13 @@ +# w + +> 현재 로그인된 사용자와 그들의 작업을 보여줍니다. +> 사용자 로그인, TTY, 원격 호스트, 로그인 시간, 유휴 시간, 현재 프로세스를 출력합니다. +> 더 많은 정보: . + +- 로그인된 사용자 정보 표시: + +`w` + +- 헤더 없이 로그인된 사용자 정보 표시: + +`w -h` diff --git a/pages.ko/common/w3m.md b/pages.ko/common/w3m.md new file mode 100644 index 00000000000000..140e6462885826 --- /dev/null +++ b/pages.ko/common/w3m.md @@ -0,0 +1,29 @@ +# w3m + +> 텍스트 기반 웹 브라우저. +> SSL 및 마우스 입력을 지원하며, SSH를 통해서도 사용할 수 있습니다. +> 더 많은 정보: . + +- URL 열기: + +`w3m {{https://example.com}}` + +- 단색 모드로 URL 열기: + +`w3m {{https://example.com}} -M` + +- 마우스 지원 없이 URL 열기: + +`w3m {{https://example.com}} -no-mouse` + +- 새 브라우저 탭 열기: + +`` + +- 브라우저 기록 표시: + +`` + +- w3m 종료: + +`` diff --git a/pages.ko/common/wafw00f.md b/pages.ko/common/wafw00f.md new file mode 100644 index 00000000000000..53ea6ef8ad0c0e --- /dev/null +++ b/pages.ko/common/wafw00f.md @@ -0,0 +1,32 @@ +# wafw00f + +> 웹 애플리케이션 방화벽(WAF) 제품을 식별하고 지문을 채취하여 사이트를 보호. +> 더 많은 정보: . + +- 웹사이트가 WAF를 사용 중인지 확인: + +`wafw00f {{https://www.example.com}}` + +- 첫 번째 일치 항목에서 멈추지 않고 감지 가능한 모든 WAF 테스트: + +`wafw00f --findall {{https://www.example.com}}` + +- 요청을 프록시(예: BurpSuite)를 통해 전달: + +`wafw00f --proxy {{http://localhost:8080}} {{https://www.example.com}}` + +- 특정 WAF 제품 테스트 (`wafw00f -l`을 실행하여 지원되는 모든 WAF 목록 확인): + +`wafw00f --test {{Cloudflare|Cloudfront|Fastly|ZScaler|...}} {{https://www.example.com}}` + +- 파일에서 사용자 지정 헤더 전달: + +`wafw00f --headers {{경로/대상/헤더.txt}} {{https://www.example.com}}` + +- 파일에서 대상 입력을 읽고 자세한 출력 표시 (더 많은 자세한 출력을 위해 `v`를 여러 번 사용): + +`wafw00f --input {{경로/대상/urls.txt}} -v{{v}}` + +- 감지 가능한 모든 WAF 나열: + +`wafw00f --list` diff --git a/pages.ko/common/waifu2x-ncnn-vulkan.md b/pages.ko/common/waifu2x-ncnn-vulkan.md new file mode 100644 index 00000000000000..84db2c52e927c2 --- /dev/null +++ b/pages.ko/common/waifu2x-ncnn-vulkan.md @@ -0,0 +1,16 @@ +# waifu2x-ncnn-vulkan + +> NCNN 신경망 프레임워크를 사용하여 만화/애니메이션 스타일 이미지의 해상도를 높이는 도구. +> 더 많은 정보: . + +- 이미지 해상도 높이기: + +`waifu2x-ncnn-vulkan -i {{경로/대상/입력_파일}} -o {{경로/대상/출력_파일}}` + +- 사용자 정의 배율로 이미지 해상도 높이고 노이즈 제거: + +`waifu2x-ncnn-vulkan -i {{경로/대상/입력_파일}} -o {{경로/대상/출력_파일}} -s {{1|2|4|8|16|32}} -n {{-1|0|1|2|3}}` + +- 특정 형식으로 해상도 높인 이미지 저장: + +`waifu2x-ncnn-vulkan -i {{경로/대상/입력_파일}} -o {{경로/대상/출력_파일}} -f {{jpg|png|webp}}` diff --git a/pages.ko/common/wait.md b/pages.ko/common/wait.md new file mode 100644 index 00000000000000..efe7660483050d --- /dev/null +++ b/pages.ko/common/wait.md @@ -0,0 +1,16 @@ +# wait + +> 프로세스가 완료될 때까지 대기. +> 더 많은 정보: . + +- 프로세스 ID (PID)를 사용하여 특정 프로세스가 종료될 때까지 대기하고 종료 상태 반환: + +`wait {{pid}}` + +- 호출한 셸에서 알고 있는 모든 프로세스가 종료될 때까지 대기: + +`wait` + +- 작업이 완료될 때까지 대기: + +`wait %{{N}}` diff --git a/pages.ko/common/waitress-serve.md b/pages.ko/common/waitress-serve.md new file mode 100644 index 00000000000000..5ad624bf79e68d --- /dev/null +++ b/pages.ko/common/waitress-serve.md @@ -0,0 +1,28 @@ +# waitress-serve + +> 순수 Python WSGI HTTP 서버. +> 더 많은 정보: . + +- Python 웹 앱 실행: + +`waitress-serve {{임포트.경로:wsgi_함수}}` + +- localhost의 포트 8080에서 수신 대기: + +`waitress-serve --listen={{localhost}}:{{8080}} {{임포트.경로:wsgi_함수}}` + +- Unix 소켓에서 waitress 시작: + +`waitress-serve --unix-socket={{경로/대상/소켓}} {{임포트.경로:wsgi_함수}}` + +- 4개의 스레드를 사용하여 요청 처리: + +`waitress-serve --threads={{4}} {{임포트.경로:wsgi_함수}}` + +- WSGI 객체를 반환하는 팩토리 메서드 호출: + +`waitress-serve --call {{임포트.경로.wsgi_팩토리}}` + +- HTTPS URL 스킴 사용: + +`waitress-serve --url-scheme={{https}} {{임포트.경로:wsgi_함수}}` diff --git a/pages.ko/common/wakeonlan.md b/pages.ko/common/wakeonlan.md new file mode 100644 index 00000000000000..96536d5ada3717 --- /dev/null +++ b/pages.ko/common/wakeonlan.md @@ -0,0 +1,20 @@ +# wakeonlan + +> Wake-on-LAN(WOL) 기능이 활성화된 PC에 패킷 전송. +> 더 많은 정보: . + +- MAC 주소를 지정하여 로컬 네트워크(255.255.255.255)의 모든 장치에 패킷 전송: + +`wakeonlan {{01:02:03:04:05:06}}` + +- 특정 IP 주소를 통해 특정 장치로 패킷 전송: + +`wakeonlan {{01:02:03:04:05:06}} -i {{192.168.178.2}}` + +- 명령어를 출력하지만 실행하지 않음 (드라이런): + +`wakeonlan -n {{01:02:03:04:05:06}}` + +- 조용한 모드로 실행: + +`wakeonlan -q {{01:02:03:04:05:06}}` diff --git a/pages.ko/common/wal.md b/pages.ko/common/wal.md new file mode 100644 index 00000000000000..4cffb54184a36b --- /dev/null +++ b/pages.ko/common/wal.md @@ -0,0 +1,28 @@ +# wal + +> 배경화면의 주요 색상을 기반으로 색상 테마 생성. +> 더 많은 정보: . + +- 색상 테마 미리보기: + +`wal --preview {{이미지.png}}` + +- 색상 테마 생성: + +`wal -i {{이미지.png}}` + +- 밝은 색상 테마 생성: + +`wal -i {{이미지.png}} -l` + +- 데스크탑 배경화면 설정 건너뛰기: + +`wal -i {{이미지.png}} -n` + +- 터미널 색상 설정 건너뛰기: + +`wal -i {{이미지.png}} -s` + +- 이전에 생성된 색상 테마와 배경화면 복원: + +`wal -R` diff --git a/pages.ko/common/wapm.md b/pages.ko/common/wapm.md new file mode 100644 index 00000000000000..978a2abe992003 --- /dev/null +++ b/pages.ko/common/wapm.md @@ -0,0 +1,36 @@ +# wapm + +> WebAssembly 패키지 관리자. +> 더 많은 정보: . + +- 상호 작용 방식으로 새로운 `wapm.toml` 파일 생성: + +`wapm init` + +- `wapm.toml`에 나열된 모든 패키지 의존성 다운로드: + +`wapm install` + +- 특정 버전의 패키지를 다운로드하고 `wapm.toml`의 의존성 목록에 추가: + +`wapm install {{패키지}}@{{버전}}` + +- 패키지를 다운로드하여 전역으로 설치: + +`wapm install --global {{패키지}}` + +- 패키지를 제거하고 `wapm.toml`의 의존성 목록에서 삭제: + +`wapm uninstall {{패키지}}` + +- 로컬에 설치된 의존성 트리 출력: + +`wapm list` + +- 최상위 전역 설치 패키지 나열: + +`wapm list --global` + +- Wasmer 런타임을 사용하여 패키지 명령 실행: + +`wapm run {{명령_이름}} {{인수}}` diff --git a/pages.ko/common/warp-cli.md b/pages.ko/common/warp-cli.md new file mode 100644 index 00000000000000..40fb742449d431 --- /dev/null +++ b/pages.ko/common/warp-cli.md @@ -0,0 +1,34 @@ +# warp-cli + +> Cloudflare의 WARP 서비스에 대한 연결을 연결, 연결 해제하고 모드를 전환. +> WARP는 개인정보 보호, 보안, 속도를 위해 트래픽을 암호화하는 VPN입니다. +> 같이 보기: `fastd`, `ivpn`, `mozillavpn`, `mullvad`. +> 더 많은 정보: . + +- 현재 장치를 WARP에 등록 (첫 연결 전에 실행 필요): + +`warp-cli registration new` + +- WARP에 연결: + +`warp-cli connect` + +- WARP에서 연결 해제: + +`warp-cli disconnect` + +- WARP 연결 상태 표시: + +`warp-cli status` + +- 특정 모드로 전환: + +`warp-cli set-mode {{모드}}` + +- 도움말 표시: + +`warp-cli help` + +- 하위 명령에 대한 도움말 표시: + +`warp-cli help {{하위_명령}}` diff --git a/pages.ko/common/warp-diag.md b/pages.ko/common/warp-diag.md new file mode 100644 index 00000000000000..44e1c6a0837523 --- /dev/null +++ b/pages.ko/common/warp-diag.md @@ -0,0 +1,21 @@ +# warp-diag + +> Cloudflare의 WARP 서비스 진단 및 피드백 도구. +> 같이 보기: `warp-cli`. +> 더 많은 정보: . + +- 시스템 구성 및 WARP 연결 정보가 포함된 Zip 파일 생성: + +`warp-diag` + +- 디버그 정보를 포함하고 출력 파일명에 타임스탬프를 추가하여 Zip 파일 생성: + +`warp-diag --add-ts` + +- 특정 폴더에 출력 파일 저장: + +`warp-diag --output {{경로/대상/폴더}}` + +- Cloudflare의 WARP에 새로운 피드백을 대화형으로 제출: + +`warp-diag feedback` diff --git a/pages.ko/common/wasm-objdump.md b/pages.ko/common/wasm-objdump.md new file mode 100644 index 00000000000000..8c8a27388d30da --- /dev/null +++ b/pages.ko/common/wasm-objdump.md @@ -0,0 +1,20 @@ +# wasm-objdump + +> WebAssembly 바이너리의 정보를 표시. +> 더 많은 정보: . + +- 주어진 바이너리의 섹션 헤더 표시: + +`wasm-objdump -h {{파일.wasm}}` + +- 주어진 바이너리의 전체 디스어셈블 출력 표시: + +`wasm-objdump -d {{파일.wasm}}` + +- 각 섹션의 세부 정보 표시: + +`wasm-objdump --details {{파일.wasm}}` + +- 주어진 섹션의 세부 정보 표시: + +`wasm-objdump --section '{{import}}' --details {{파일.wasm}}` diff --git a/pages.ko/common/wasm-opt.md b/pages.ko/common/wasm-opt.md new file mode 100644 index 00000000000000..4782dc5aef06ba --- /dev/null +++ b/pages.ko/common/wasm-opt.md @@ -0,0 +1,20 @@ +# wasm-opt + +> WebAssembly 바이너리 파일 최적화. +> 더 많은 정보: . + +- 기본 최적화를 적용하고 지정된 파일에 저장: + +`wasm-opt -O {{입력.wasm}} -o {{출력.wasm}}` + +- 모든 최적화를 적용하고 지정된 파일에 저장 (시간이 더 걸리지만 최적의 코드를 생성): + +`wasm-opt -O4 {{입력.wasm}} -o {{출력.wasm}}` + +- 파일을 크기 위주로 최적화: + +`wasm-opt -Oz {{입력.wasm}} -o {{출력.wasm}}` + +- 바이너리의 텍스트 표현을 콘솔에 출력: + +`wasm-opt {{입력.wasm}} --print` diff --git a/pages.ko/common/wasm2c.md b/pages.ko/common/wasm2c.md new file mode 100644 index 00000000000000..2e73b83683a3a7 --- /dev/null +++ b/pages.ko/common/wasm2c.md @@ -0,0 +1,12 @@ +# wasm2c + +> WebAssembly 바이너리 형식을 C 소스 파일 및 헤더로 변환. +> 더 많은 정보: . + +- 파일을 C 소스 파일 및 헤더로 변환하고 콘솔에 표시: + +`wasm2c {{파일.wasm}}` + +- 출력 내용을 지정된 파일에 저장 (`file.h`도 추가로 생성됨): + +`wasm2c {{파일.wasm}} -o {{파일.c}}` diff --git a/pages.ko/common/wasm2wat.md b/pages.ko/common/wasm2wat.md new file mode 100644 index 00000000000000..2eeb5ec1f66dda --- /dev/null +++ b/pages.ko/common/wasm2wat.md @@ -0,0 +1,12 @@ +# wasm2wat + +> WebAssembly 바이너리 형식을 텍스트 형식으로 변환. +> 더 많은 정보: . + +- 파일을 텍스트 형식으로 변환하여 콘솔에 표시: + +`wasm2wat {{파일.wasm}}` + +- 출력 결과를 지정한 파일에 저장: + +`wasm2wat {{파일.wasm}} -o {{파일.wat}}` diff --git a/pages.ko/common/wat2wasm.md b/pages.ko/common/wat2wasm.md new file mode 100644 index 00000000000000..b9f943ac8e8f89 --- /dev/null +++ b/pages.ko/common/wat2wasm.md @@ -0,0 +1,16 @@ +# wat2wasm + +> WebAssembly 텍스트 형식을 바이너리 형식으로 변환. +> 더 많은 정보: . + +- 파일을 파싱하고 오류 확인: + +`wat2wasm {{파일.wat}}` + +- 출력 바이너리를 지정된 파일에 저장: + +`wat2wasm {{파일.wat}} -o {{파일.wasm}}` + +- 모든 바이트의 단순화된 표현 표시: + +`wat2wasm -v {{파일.wat}}` diff --git a/pages.ko/common/watch.md b/pages.ko/common/watch.md new file mode 100644 index 00000000000000..b31d63e054939d --- /dev/null +++ b/pages.ko/common/watch.md @@ -0,0 +1,20 @@ +# watch + +> 명령어를 반복 실행하고 출력 결과를 전체 화면 모드로 모니터링합니다. +> 더 많은 정보: . + +- 현재 디렉토리의 파일 모니터링: + +`watch {{ls}}` + +- 디스크 공간을 모니터링하고 변경 사항 강조 표시: + +`watch {{[-d|--differences]}} {{df}}` + +- "node" 프로세스를 3초마다 새로고침하며 모니터링: + +`watch {{[-n|--interval]}} {{3}} "{{ps aux | grep node}}"` + +- 디스크 공간을 모니터링하고 변경 시 모니터링 중지: + +`watch {{[-g|--chgexit]}} {{df}}` diff --git a/pages.ko/common/watchexec.md b/pages.ko/common/watchexec.md new file mode 100644 index 00000000000000..160a16d1d11871 --- /dev/null +++ b/pages.ko/common/watchexec.md @@ -0,0 +1,20 @@ +# watchexec + +> 파일이 변경될 때 임의의 명령을 실행. +> 더 많은 정보: . + +- 현재 디렉토리의 파일이 변경될 때 `ls -la` 실행: + +`watchexec {{ls -la}}` + +- 현재 디렉토리의 JavaScript, CSS, HTML 파일이 변경될 때 `make` 실행: + +`watchexec --exts {{js,css,html}} make` + +- `lib` 또는 `src` 디렉토리의 파일이 변경될 때 `make` 실행: + +`watchexec --watch {{lib}} --watch {{src}} {{make}}` + +- 현재 디렉토리의 파일이 변경될 때 `my_server` 호출/재시작, 자식 프로세스를 중지하기 위해 `SIGKILL` 신호 전송: + +`watchexec --restart --stop-signal {{SIGKILL}} {{my_server}}` diff --git a/pages.ko/common/watson.md b/pages.ko/common/watson.md new file mode 100644 index 00000000000000..b03853eb3971cb --- /dev/null +++ b/pages.ko/common/watson.md @@ -0,0 +1,28 @@ +# watson + +> 멋진 CLI로 시간을 추적하세요. +> 더 많은 정보: . + +- 프로젝트에서 시간 모니터링 시작: + +`watson start {{프로젝트}}` + +- 태그를 사용하여 프로젝트에서 시간 모니터링 시작: + +`watson start {{프로젝트}} +{{태그}}` + +- 현재 프로젝트에 대한 시간 모니터링 중지: + +`watson stop` + +- 최신 작업 세션 표시: + +`watson log` + +- 가장 최근의 프레임 편집: + +`watson edit` + +- 가장 최근의 프레임 제거: + +`watson remove` diff --git a/pages.ko/common/waybar.md b/pages.ko/common/waybar.md new file mode 100644 index 00000000000000..e8f3a56953dadb --- /dev/null +++ b/pages.ko/common/waybar.md @@ -0,0 +1,20 @@ +# waybar + +> Sway 및 Wlroots 기반의 컴포지터를 위한 고도로 사용자 정의 가능한 Wayland 바. +> 더 많은 정보: . + +- 기본 구성 및 스타일 시트로 `waybar` 시작: + +`waybar` + +- 다른 구성 파일 사용: + +`waybar {{[-c|--config]}} {{경로/대상/구성파일.jsonc}}` + +- 다른 스타일 시트 파일 사용: + +`waybar {{[-s|--style]}} {{경로/대상/스타일시트.css}}` + +- 로그 수준 설정: + +`waybar {{[-l|--log-level]}} {{trace|debug|info|warning|error|critical|off}}` diff --git a/pages.ko/common/waymore.md b/pages.ko/common/waymore.md new file mode 100644 index 00000000000000..2c7794257ee3eb --- /dev/null +++ b/pages.ko/common/waymore.md @@ -0,0 +1,21 @@ +# waymore + +> Wayback Machine, Common Crawl, Alien Vault OTX, URLScan, VirusTotal에서 도메인의 URL을 가져오기. +> 참고: 별도로 지정하지 않으면 출력은 waymore의 `config.yml`이 있는 `results/` 디렉토리에 저장됩니다 (기본적으로 `~/.config/waymore/`). +> 더 많은 정보: . + +- 도메인의 URL 검색 (출력은 일반적으로 `~/.config/waymore/results/`에 저장됨): + +`waymore -i {{example.com}}` + +- 검색 결과를 도메인의 URL 목록으로만 제한하고 지정된 파일에 출력 저장: + +`waymore -mode U -oU {{경로/대상/example.com-주소.txt}} -i {{example.com}}` + +- URL의 콘텐츠 본문만 출력하고 지정된 디렉토리에 출력 저장: + +`waymore -mode R -oR {{경로/대상/example.com-주소-응답}} -i {{example.com}}` + +- 날짜 범위를 지정하여 결과 필터링: + +`waymore -from {{YYYYMMDD|YYYYMM|YYYY}} -to {{YYYYMMDD|YYYYMM|YYYY}} -i {{example.com}}` diff --git a/pages.ko/common/wbmptopbm.md b/pages.ko/common/wbmptopbm.md new file mode 100644 index 00000000000000..190f1abb4cbb7a --- /dev/null +++ b/pages.ko/common/wbmptopbm.md @@ -0,0 +1,8 @@ +# wbmptopbm + +> 무선 비트맵 파일을 PBM 이미지로 변환. +> 더 많은 정보: . + +- WBMP 파일을 PBM 이미지로 변환: + +`wbmptopbm {{경로/대상/입력_파일.wbpm}} > {{경로/대상/출력_파일.pbm}}` diff --git a/pages.ko/common/wc.md b/pages.ko/common/wc.md new file mode 100644 index 00000000000000..9c9047dfe3da74 --- /dev/null +++ b/pages.ko/common/wc.md @@ -0,0 +1,28 @@ +# wc + +> 줄 단어 및 바이트 수 계산. +> 더 많은 정보: . + +- 파일의 모든 줄 수 계산: + +`wc {{[-l|--lines]}} {{경로/대상/파일}}` + +- 파일의 모든 단어 수 계산: + +`wc {{[-w|--words]}} {{경로/대상/파일}}` + +- 파일의 모든 바이트 수 계산: + +`wc {{[-c|--bytes]}} {{경로/대상/파일}}` + +- 파일의 모든 문자 수 계산(멀티바이트 문자 고려): + +`wc {{[-m|--chars]}} {{경로/대상/파일}}` + +- `stdin`의 모든 줄, 단어 및 바이트 수를 계산: + +`{{find .}} | wc` + +- 가장 긴 줄의 길이를 문자 수로 계산: + +`wc {{[-L|--max-line-length]}} {{경로/대상/파일}}` diff --git a/pages.ko/common/wdiff.md b/pages.ko/common/wdiff.md new file mode 100644 index 00000000000000..12cf710882eacc --- /dev/null +++ b/pages.ko/common/wdiff.md @@ -0,0 +1,16 @@ +# wdiff + +> 텍스트 파일 간의 단어 차이를 표시. +> 더 많은 정보: . + +- 두 파일 비교: + +`wdiff {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 대소문자를 무시하고 비교: + +`wdiff --ignore-case {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 삭제, 삽입 또는 교체된 단어 수 표시: + +`wdiff --statistics {{경로/대상/파일1}} {{경로/대상/파일2}}` diff --git a/pages.ko/common/weasyprint.md b/pages.ko/common/weasyprint.md new file mode 100644 index 00000000000000..08d13f385fe355 --- /dev/null +++ b/pages.ko/common/weasyprint.md @@ -0,0 +1,24 @@ +# weasyprint + +> HTML을 PDF 또는 PNG로 렌더링. +> 더 많은 정보: . + +- HTML 파일을 PDF로 렌더링: + +`weasyprint {{경로/대상/입력.html}} {{경로/대상/출력.pdf}}` + +- 추가 사용자 스타일시트를 포함하여 HTML 파일을 PNG로 렌더링: + +`weasyprint {{경로/대상/입력.html}} {{경로/대상/출력.png}} --stylesheet {{경로/대상/스타일시트.css}}` + +- 렌더링 시 추가 디버깅 정보 출력: + +`weasyprint {{경로/대상/입력.html}} {{경로/대상/출력.pdf}} --verbose` + +- PNG로 출력할 때 사용자 지정 해상도 지정: + +`weasyprint {{경로/대상/입력.html}} {{경로/대상/출력.png}} --resolution {{300}}` + +- 입력 HTML 파일의 상대 URL에 대한 기본 URL 지정: + +`weasyprint {{경로/대상/입력.html}} {{경로/대상/출력.png}} --base-url {{url_또는_파일_이름}}` diff --git a/pages.ko/common/web-ext.md b/pages.ko/common/web-ext.md new file mode 100644 index 00000000000000..de26e3535f0388 --- /dev/null +++ b/pages.ko/common/web-ext.md @@ -0,0 +1,36 @@ +# web-ext + +> 웹 확장 프로그램 개발을 관리하는 명령줄 도구. +> 더 많은 정보: . + +- 현재 디렉터리에 있는 웹 확장 프로그램을 Firefox에서 실행: + +`web-ext run` + +- 특정 디렉터리에서 웹 확장 프로그램을 Firefox에서 실행: + +`web-ext run --source-dir {{경로/대상/폴더}}` + +- 자세한 실행 출력 표시: + +`web-ext run --verbose` + +- Firefox Android에서 웹 확장 프로그램 실행: + +`web-ext run --target firefox-android` + +- 매니페스트 및 소스 파일의 오류 검사: + +`web-ext lint` + +- 확장 프로그램 빌드 및 패키징: + +`web-ext build` + +- 자세한 빌드 출력 표시: + +`web-ext build --verbose` + +- 자체 호스팅을 위한 패키지 서명: + +`web-ext sign --api-key {{api_키}} --api-secret {{api_비밀}}` diff --git a/pages.ko/common/webpack.md b/pages.ko/common/webpack.md new file mode 100644 index 00000000000000..7220fa1a96b726 --- /dev/null +++ b/pages.ko/common/webpack.md @@ -0,0 +1,20 @@ +# webpack + +> 웹 프로젝트의 자바스크립트 파일과 기타 리소스를 단일 출력 파일로 묶어줍니다. +> 더 많은 정보: . + +- 진입점이 되는 파일에서 단일 출력 파일 생성: + +`webpack {{app.js}} {{bundle.js}}` + +- 자바스크립트 파일에서도 CSS 파일을 로드 (이 경우 CSS 파일에 CSS 로더를 사용합니다): + +`webpack {{app.js}} {{bundle.js}} --module-bind '{{css=css}}'` + +- 구성 파일(예, 입력 스크립트 및 출력 파일 이름 포함)을 전달하고 컴파일 진행률을 표시: + +`webpack --config {{webpack.config.js}} --progress` + +- 프로젝트 파일 변경 시 자동으로 다시 컴파일: + +`webpack --watch {{app.js}} {{bundle.js}}` diff --git a/pages.ko/common/webstorm.md b/pages.ko/common/webstorm.md new file mode 100644 index 00000000000000..889c5c91b52edc --- /dev/null +++ b/pages.ko/common/webstorm.md @@ -0,0 +1,32 @@ +# webstorm + +> JetBrains JavaScript IDE. +> 더 많은 정보: . + +- 현재 디렉토리를 WebStorm에서 열기: + +`webstorm` + +- 특정 디렉토리를 WebStorm에서 열기: + +`webstorm {{경로/대상/폴더}}` + +- 특정 파일들을 LightEdit 모드에서 열기: + +`webstorm -e {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 파일을 LightEdit 모드에서 열고 편집이 완료될 때까지 대기: + +`webstorm --wait -e {{경로/대상/파일}}` + +- 특정 줄에 커서를 두고 파일 열기: + +`webstorm --line {{줄_번호}} {{경로/대상/파일}}` + +- 파일을 열고 비교 (최대 3개 파일 지원): + +`webstorm diff {{경로/대상/파일1 경로/대상/파일2 경로/대상/선택_파일3}}` + +- 3방향 병합 수행하기: + +`webstorm merge {{경로/대상/왼쪽_파일}} {{경로/대상/오른쪽_파일}} {{경로/대상/대상_파일}}` diff --git a/pages.ko/common/webtorrent.md b/pages.ko/common/webtorrent.md new file mode 100644 index 00000000000000..79b9a1da420fc1 --- /dev/null +++ b/pages.ko/common/webtorrent.md @@ -0,0 +1,37 @@ +# webtorrent + +> WebTorrent의 명령줄 인터페이스. +> 마그넷, URL, 정보 해시 및 `.torrent` 파일을 지원. +> 더 많은 정보: . + +- 토렌트 다운로드: + +`webtorrent download "{{토렌트_id}}"` + +- VLC 미디어 플레이어로 토렌트 스트리밍: + +`webtorrent download "{{토렌트_id}}" --vlc` + +- DLNA (Digital Living Network Alliance) 장치로 토렌트 스트리밍: + +`webtorrent download "{{토렌트_id}}" --dlna` + +- 특정 토렌트의 파일 목록 표시: + +`webtorrent download "{{토렌트_id}}" --select` + +- 다운로드할 토렌트에서 파일 색인 지정: + +`webtorrent download "{{토렌트_id}}" --select {{색인}}` + +- 특정 파일 또는 폴더 시드: + +`webtorrent seed {{경로/대상/파일_또는_폴더}}` + +- 지정된 파일 경로에 대한 새 토렌트 파일 생성: + +`webtorrent create {{경로/대상/파일}}` + +- 마그넷 URI 또는 `.torrent` 파일에 대한 정보 표시: + +`webtorrent info {{경로/대상/파일_또는_마그넷}}` diff --git a/pages.ko/common/weechat.md b/pages.ko/common/weechat.md new file mode 100644 index 00000000000000..537cf69802bc7e --- /dev/null +++ b/pages.ko/common/weechat.md @@ -0,0 +1,24 @@ +# weechat + +> 다양한 기능을 갖춘 명령줄 인터넷 릴레이 채팅 클라이언트. +> 더 많은 정보: . + +- WeeChat 시작: + +`weechat` + +- 시작 시 플러그인 로드 안 함: + +`weechat --no-plugin` + +- 시작 시 스크립트 로드 안 함: + +`weechat --no-script` + +- 서버에 자동으로 연결하지 않음: + +`weechat --no-connect` + +- 기본 터미널 색상을 `stdout`에 씀: + +`weechat --colors` diff --git a/pages.ko/common/wfuzz.md b/pages.ko/common/wfuzz.md new file mode 100644 index 00000000000000..b96c56f6ee5761 --- /dev/null +++ b/pages.ko/common/wfuzz.md @@ -0,0 +1,36 @@ +# wfuzz + +> 웹 애플리케이션 브루트포스 도구. +> 더 많은 정보: . + +- 지정된 [w]ordlist 및 [p]roxy를 사용하여 디렉토리 및 파일 브루트포스: + +`wfuzz -w {{경로/대상/파일}} -p {{127.0.0.1:8080:HTTP}} {{http://example.com/FUZZ}}` + +- 결과를 [f]ile에 저장: + +`wfuzz -w {{경로/대상/파일}} -f {{파일이름}} {{http://example.com/FUZZ}}` + +- 색상 출력 및 지정한 응답 코드만 표시: + +`wfuzz -c -w {{경로/대상/파일}} --sc {{200,301,302}} {{http://example.com/FUZZ}}` + +- 사용자 정의 [H]eader를 사용하여 서브도메인 퍼징, 특정 응답 [c]odes 및 단어 수 숨김. [t]hreads를 100으로 증가시키고 대상 ip/도메인 포함: + +`wfuzz -w {{경로/대상/파일}} -H "{{Host: FUZZ.example.com}}" --hc {{301}} --hw {{222}} -t {{100}} {{example.com}}` + +- 파일에서 각 FUZ[z] 키워드에 대한 사용자 명과 비밀번호 목록을 사용하여 기본 인증 브루트포스, 실패한 시도에 대한 응답 [c]odes 숨김: + +`wfuzz -c --hc {{401}} -s {{요청 간 지연 시간(초)}} -z file,{{경로/대상/사용자명}} -z file,{{경로/대상/비밀번호}} --basic 'FUZZ:FUZ2Z' {{https://example.com}}` + +- 커맨드라인에서 직접 워드리스트 제공 및 POST 요청을 사용하여 퍼징: + +`wfuzz -z list,{{word1-word2-...}} {{https://api.example.com}} -d "{{id=FUZZ&showwallet=true}}"` + +- 파일에서 워드리스트를 제공하며 base64 및 md5 인코딩 적용 (`wfuzz -e encoders`로 사용 가능한 모든 인코더 나열): + +`wfuzz -z file,{{경로/대상/파일}},none-base64-md5 {{https://example.com/FUZZ}}` + +- 사용 가능한 인코더/페이로드/이터레이터/프린터/스크립트 나열: + +`wfuzz -e {{encoders|payloads|iterators|printers|scripts}}` diff --git a/pages.ko/common/wget.md b/pages.ko/common/wget.md new file mode 100644 index 00000000000000..d50b1de9fa3345 --- /dev/null +++ b/pages.ko/common/wget.md @@ -0,0 +1,37 @@ +# wget + +> 웹에서 파일을 다운로드합니다. +> HTTP, HTTPS 및 FTP를 지원합니다. +> 더 많은 정보: . + +- URL 내용을 파일(이 경우 "foo")로 다운로드: + +`wget {{https://example.com/foo}}` + +- URL 내용을 파일(이 경우 "bar")로 다운로드: + +`wget {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}` + +- 요청 사이에 3초 간격으로 단일 웹 페이지와 모든 리소스(스크립트, 스타일시트, 이미지 등)를 다운로드: + +`wget {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{[-w|--wait]}} 3 {{https://example.com/somepage.html}}` + +- 폴더 및 해당 폴더 내에 나열된 모든 파일을 다운로드(포함된 페이지는 다운로드하지 않음): + +`wget {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/somepath/}}` + +- 다운로드 속도와 연결 재시도 횟수를 제한: + +`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/somepath/}}` + +- 기본 인증을 사용하여 HTTP 서버에서 파일 다운로드(FTP에서도 작동): + +`wget --user {{사용자 명}} --password {{비밀번호}} {{https://example.com}}` + +- 불완전한 다운로드 계속 진행: + +`wget {{[-c|--continue]}} {{https://example.com}}` + +- 텍스트 파일에 저장된 모든 URL을 특정 디렉토리로 다운로드: + +`wget {{[-P|--directory-prefix]}} {{경로/대상/폴더}} {{[-i|--input-file]}} {{URLs.txt}}` diff --git a/pages.ko/common/wget2.md b/pages.ko/common/wget2.md new file mode 100644 index 00000000000000..b63aea115e0b78 --- /dev/null +++ b/pages.ko/common/wget2.md @@ -0,0 +1,38 @@ +# wget2 + +> 웹에서 파일을 다운로드하기 위한 개선된 `wget` 버전. +> HTTP, HTTPS 및 HTTP/2 프로토콜을 지원하며 성능이 향상되었습니다. +> 기본적으로 `wget2`는 더 빠른 다운로드를 위해 여러 스레드를 사용합니다. +> 더 많은 정보: . + +- 여러 스레드를 사용하여 URL의 내용을 파일로 다운로드 (기본 동작이 `wget`과 다릅니다): + +`wget2 {{https://example.com/foo}}` + +- 다운로드에 사용할 스레드 수 제한 (기본값은 5 스레드): + +`wget2 --max-threads {{10}} {{https://example.com/foo}}` + +- 단일 웹 페이지와 모든 리소스(스크립트, 스타일시트, 이미지 등) 다운로드: + +`wget2 {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{https://example.com/somepage.html}}` + +- 웹사이트를 미러링하되 상위 디렉토리로 올라가지 않음 (내장 페이지 요소는 다운로드하지 않음): + +`wget2 {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/somepath/}}` + +- 다운로드 속도와 연결 재시도 횟수 제한: + +`wget2 --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/somepath/}}` + +- 불완전한 다운로드 계속 (동작이 `wget`과 일치): + +`wget2 {{[-c|--continue]}} {{https://example.com}}` + +- 텍스트 파일에 저장된 모든 URL을 특정 디렉토리에 다운로드: + +`wget2 {{[-P|--directory-prefix]}} {{경로/대상/폴더}} {{[-i|--input-file]}} {{URLs.txt}}` + +- HTTP 서버에서 Basic Auth를 사용하여 파일 다운로드 (HTTPS에도 작동): + +`wget2 --user {{사용자_명}} --password {{비밀번호}} {{https://example.com}}` diff --git a/pages.ko/common/whatwaf.md b/pages.ko/common/whatwaf.md new file mode 100644 index 00000000000000..4aacd55eb1e459 --- /dev/null +++ b/pages.ko/common/whatwaf.md @@ -0,0 +1,32 @@ +# whatwaf + +> 웹 애플리케이션 방화벽 및 보호 시스템 탐지 및 우회. +> 더 많은 정보: . + +- 단일 [u]RL의 보호 시스템 탐지, 선택적으로 상세 출력 사용: + +`whatwaf --url {{https://example.com}} --verbose` + +- 파일에서 URL 목록을 병렬로 탐지 (한 줄에 하나의 URL): + +`whatwaf --threads {{숫자}} --list {{경로/대상/파일}}` + +- 프록시를 통해 요청을 보내고 파일에서 사용자 정의 페이로드 목록 사용 (한 줄에 하나의 페이로드): + +`whatwaf --proxy {{http://127.0.0.1:8080}} --pl {{경로/대상/파일}} -u {{https://example.com}}` + +- 토르를 통해 요청 전송 (토르가 설치되어야 함), 사용자 정의 [p]페이로드 사용 (쉼표로 구분): + +`whatwaf --tor --payloads '{{페이로드1,페이로드2,...}}' -u {{https://example.com}}` + +- 랜덤 사용자 에이전트 사용, 대역폭 조절 및 타임아웃 설정, [P]OST 요청 전송, HTTPS 연결 강제: + +`whatwaf --ra --throttle {{초}} --timeout {{초}} --post --force-ssl -u {{http://example.com}}` + +- 탐지 가능한 모든 WAF 나열: + +`whatwaf --wafs` + +- 사용 가능한 모든 변조 스크립트 나열: + +`whatwaf --tampers` diff --git a/pages.ko/common/whence.md b/pages.ko/common/whence.md new file mode 100644 index 00000000000000..5fa2498099adf6 --- /dev/null +++ b/pages.ko/common/whence.md @@ -0,0 +1,24 @@ +# whence + +> Zsh 내장 명령어로, 명령어가 어떻게 해석될지를 나타냅니다. +> 더 많은 정보: . + +- `command`를 해석하고, `alias`로 정의된 경우 확장: + +`whence "{{명령어}}"` + +- `command`의 유형을 표시하고, 함수나 바이너리로 정의된 경우 위치도 함께 표시: + +`whence -v "{{명령어}}"` + +- 위와 동일하지만, 위치 대신 셸 함수의 내용을 표시: + +`whence -c "{{명령어}}"` + +- 위와 동일하지만, 명령어 경로상의 모든 발생을 표시: + +`whence -ca "{{명령어}}"` + +- `PATH`에서만 `command`를 검색하고, 내장 명령어, 별칭 또는 셸 함수를 무시: + +`whence -p "{{명령어}}"` diff --git a/pages.ko/common/where.md b/pages.ko/common/where.md new file mode 100644 index 00000000000000..5b8dfc994ff37b --- /dev/null +++ b/pages.ko/common/where.md @@ -0,0 +1,9 @@ +# where + +> 명령의 모든 알려진 인스턴스를 보고. +> 이는 PATH 환경 변수에 있는 실행 파일, 별칭 또는 셸 내장 명령일 수 있습니다. +> 더 많은 정보: . + +- 명령의 모든 인스턴스 찾기: + +`where {{명령}}` diff --git a/pages.ko/common/which.md b/pages.ko/common/which.md new file mode 100644 index 00000000000000..9f99b7b6dfbb76 --- /dev/null +++ b/pages.ko/common/which.md @@ -0,0 +1,12 @@ +# which + +> 사용자의 경로에서 프로그램 찾기. +> 더 많은 정보: . + +- PATH 환경 변수에서 검색하고 일치하는 실행 파일의 위치 표시: + +`which {{실행_파일}}` + +- 일치하는 실행 파일이 여러 개 있을 경우, 모두 표시: + +`which {{[-a|--all]}} {{실행_파일}}` diff --git a/pages.ko/common/while.md b/pages.ko/common/while.md new file mode 100644 index 00000000000000..4033b9c5445178 --- /dev/null +++ b/pages.ko/common/while.md @@ -0,0 +1,12 @@ +# while + +> 간단한 셸 루프. +> 더 많은 정보: . + +- `stdin`을 읽고 각 줄에 대해 작업 수행: + +`while read line; do echo "$line"; done` + +- 매초마다 명령을 영구적으로 실행: + +`while :; do {{명령}}; sleep 1; done` diff --git a/pages.ko/common/whisper.md b/pages.ko/common/whisper.md new file mode 100644 index 00000000000000..b4a86f31ba1d35 --- /dev/null +++ b/pages.ko/common/whisper.md @@ -0,0 +1,28 @@ +# whisper + +> 오디오 파일을 `txt`, `vtt`, `srt`, `tsv`, `json`으로 변환. +> 더 많은 정보: . + +- 특정 오디오 파일을 모든 제공된 파일 형식으로 변환: + +`whisper {{경로/대상/오디오.mp3}}` + +- 변환된 파일의 출력 형식을 지정하여 오디오 파일 변환: + +`whisper {{경로/대상/오디오.mp3}} --output_format {{txt}}` + +- 특정 모델을 사용하여 오디오 파일 변환: + +`whisper {{경로/대상/오디오.mp3}} --model {{tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large}}` + +- 오디오 파일의 언어를 지정하여 변환 시간을 단축하며 오디오 파일 변환: + +`whisper {{경로/대상/오디오.mp3}} --language {{english}}` + +- 오디오 파일을 변환하고 특정 위치에 저장: + +`whisper {{경로/대상/오디오.mp3}} --output_dir "{{경로/대상/출력}}"` + +- 조용한 모드로 오디오 파일 변환: + +`whisper {{경로/대상/오디오.mp3}} --verbose {{False}}` diff --git a/pages.ko/common/who.md b/pages.ko/common/who.md new file mode 100644 index 00000000000000..4273bebad1b65d --- /dev/null +++ b/pages.ko/common/who.md @@ -0,0 +1,17 @@ +# who + +> 현재 로그인된 사용자와 관련 데이터를 표시 (프로세스, 부팅 시간). +> 같이 보기: `whoami`. +> 더 많은 정보: . + +- 현재 로그인된 모든 세션의 사용자 이름, 라인, 시간 표시: + +`who` + +- 사용 가능한 모든 정보 표시: + +`who {{[-a|--all]}}` + +- 표 머리글과 함께 사용 가능한 모든 정보 표시: + +`who {{[-aH|--all --heading]}}` diff --git a/pages.ko/common/whoami.md b/pages.ko/common/whoami.md new file mode 100644 index 00000000000000..7bbf71ecd7d88a --- /dev/null +++ b/pages.ko/common/whoami.md @@ -0,0 +1,12 @@ +# whoami + +> 현재 유효 사용자 ID와 연관된 사용자 명을 출력. +> 더 많은 정보: . + +- 현재 로그인된 사용자 명 표시: + +`whoami` + +- 사용자 ID 변경 후 사용자 명 표시: + +`sudo whoami` diff --git a/pages.ko/common/whois.md b/pages.ko/common/whois.md new file mode 100644 index 00000000000000..072ccfaec9dc12 --- /dev/null +++ b/pages.ko/common/whois.md @@ -0,0 +1,16 @@ +# whois + +> WHOIS (RFC 3912) 프로토콜을 위한 명령줄 클라이언트. +> 더 많은 정보: . + +- 도메인 이름에 대한 정보 조회: + +`whois {{example.com}}` + +- IP 주소에 대한 정보 조회: + +`whois {{8.8.8.8}}` + +- IP 주소에 대한 abuse 연락처 조회: + +`whois -b {{8.8.8.8}}` diff --git a/pages.ko/common/wiggle.md b/pages.ko/common/wiggle.md new file mode 100644 index 00000000000000..bd4fef49435794 --- /dev/null +++ b/pages.ko/common/wiggle.md @@ -0,0 +1,29 @@ +# wiggle + +> `patch`가 처리할 수 없는 패치의 충돌을 해결하는 패치 적용 도구. +> 참고: Wiggle은 모든 변경 사항을 강제로 적용하고, 충돌이 발생하면 병합하며, 해결할 수 없는 문제를 보고합니다. +> 더 많은 정보: . + +- 패치 파일의 변경 사항을 원본 파일에 적용: + +`wiggle {{경로/대상/나의_패치.patch}}` + +- 변경 사항을 [출력] 파일에 적용: + +`wiggle {{경로/대상/나의_패치.patch}} -o {{경로/대상/출력_파일.txt}}` + +- `file.rej`에서 적용되지 않은 변경 사항을 가져와서 파일에 병합: + +`wiggle --replace {{경로/대상/파일}} {{경로/대상/파일.rej}}` + +- 패치 또는 병합 파일의 한 브랜치 [추출]: + +`wiggle -x {{경로/대상/나의_패치.patch}}` + +- 패치를 적용하고 비교된 단어를 [출력] 파일에 저장: + +`wiggle --words {{경로/대상/나의_단어_패치.patch}} -o {{경로/대상/단어_패치된_코드.c}}` + +- 병합 기능에 대한 도움말 표시: + +`wiggle --merge --help` diff --git a/pages.ko/common/wikit.md b/pages.ko/common/wikit.md new file mode 100644 index 00000000000000..c8c19ac2aff956 --- /dev/null +++ b/pages.ko/common/wikit.md @@ -0,0 +1,20 @@ +# wikit + +> 명령줄에서 쉽게 위키백과 요약을 가져오는 프로그램. +> 더 많은 정보: . + +- 특정 주제에 대한 위키백과의 짧은 요약 보기: + +`wikit {{주제}}` + +- [l]언어 지정 (ISO 639-1 언어 코드): + +`wikit {{주제}} --lang {{언어_코드}}` + +- 기본 브라우저에서 전체 위키백과 문서 열기: + +`wikit {{주제}} -b` + +- 다의어 메뉴 열기: + +`wikit {{주제}} -d` diff --git a/pages.ko/common/winicontopam.md b/pages.ko/common/winicontopam.md new file mode 100644 index 00000000000000..e51d35b7b767e3 --- /dev/null +++ b/pages.ko/common/winicontopam.md @@ -0,0 +1,20 @@ +# winicontopam + +> Windows ICO 파일을 PAM 파일로 변환. +> 더 많은 정보: . + +- ICO 파일을 읽고 그 안에 포함된 최고 품질의 이미지를 PAM 형식으로 변환: + +`winicontopam {{경로/대상/입력_파일.ico}} > {{경로/대상/출력.pam}}` + +- 입력 파일의 모든 이미지를 PAM으로 변환: + +`winicontopam {{[-al|-allimages]}} {{경로/대상/입력_파일.ico}} > {{경로/대상/출력.pam}}` + +- 입력 파일의 n번째 이미지를 PAM으로 변환: + +`winicontopam {{[-i|-image]}} {{n}} {{경로/대상/입력_파일.ico}} > {{경로/대상/출력.pam}}` + +- 추출할 이미지가 그라데이션 투명 데이터와 AND 마스크를 포함하는 경우, 출력 PAM 파일의 다섯 번째 채널에 AND 마스크를 작성: + +`winicontopam {{[-an|-andmasks]}} {{경로/대상/입력_파일.ico}} > {{경로/대상/출력.pam}}` diff --git a/pages.ko/common/winicontoppm.md b/pages.ko/common/winicontoppm.md new file mode 100644 index 00000000000000..db55a5474c2d51 --- /dev/null +++ b/pages.ko/common/winicontoppm.md @@ -0,0 +1,8 @@ +# winicontoppm + +> 이 명령은 `winicontopam`으로 대체되었습니다. +> 더 많은 정보: . + +- 현재 명령에 대한 문서 보기: + +`tldr winicontopam` diff --git a/pages.ko/common/wipeclean.md b/pages.ko/common/wipeclean.md new file mode 100644 index 00000000000000..e23b4c9856cc1a --- /dev/null +++ b/pages.ko/common/wipeclean.md @@ -0,0 +1,12 @@ +# wipeclean + +> 애니메이션 와이퍼를 사용하여 터미널 화면을 지우기. +> 더 많은 정보: . + +- 터미널 화면 지우기: + +`wipeclean` + +- 초당 프레임 수로 애니메이션 속도 설정 (기본값: 150): + +`wipeclean --speed {{속도}}` diff --git a/pages.ko/common/wkhtmltopdf.md b/pages.ko/common/wkhtmltopdf.md new file mode 100644 index 00000000000000..a345103bdcd3ea --- /dev/null +++ b/pages.ko/common/wkhtmltopdf.md @@ -0,0 +1,24 @@ +# wkhtmltopdf + +> HTML 문서나 웹 페이지를 PDF 파일로 변환하는 오픈 소스 명령줄 도구. +> 더 많은 정보: . + +- HTML 문서를 PDF로 변환: + +`wkhtmltopdf {{입력.html}} {{출력.pdf}}` + +- PDF 페이지 크기 지정 (`QPrinter`의 `PaperSize`에서 지원되는 크기를 참조): + +`wkhtmltopdf --page-size {{A4}} {{입력.html}} {{출력.pdf}}` + +- PDF 페이지 여백 설정: + +`wkhtmltopdf --margin-{{top|bottom|left|right}} {{10mm}} {{입력.html}} {{출력.pdf}}` + +- PDF 페이지 방향 설정: + +`wkhtmltopdf --orientation {{Landscape|Portrait}} {{입력.html}} {{출력.pdf}}` + +- PDF 문서를 그레이스케일로 생성: + +`wkhtmltopdf --grayscale {{입력.html}} {{출력.pdf}}` diff --git a/pages.ko/common/wondershaper.md b/pages.ko/common/wondershaper.md new file mode 100644 index 00000000000000..cba0a7baf936ee --- /dev/null +++ b/pages.ko/common/wondershaper.md @@ -0,0 +1,28 @@ +# wondershaper + +> 네트워크 어댑터의 대역폭을 제한할 수 있도록 합니다. +> 더 많은 정보: . + +- [h]elp 표시: + +`wondershaper -h` + +- 특정 [a]dapter의 현재 [s]tatus 보기: + +`wondershaper -s -a {{어댑터_이름}}` + +- 특정 [a]dapter의 제한 해제: + +`wondershaper -c -a {{어댑터_이름}}` + +- 특정 최대 [d]ownload 속도 설정 (Kbps 단위): + +`wondershaper -a {{어댑터_이름}} -d {{1024}}` + +- 특정 최대 [u]pload 속도 설정 (Kbps 단위): + +`wondershaper -a {{어댑터_이름}} -u {{512}}` + +- 특정 최대 [d]ownload 및 [u]pload 속도 설정 (Kbps 단위): + +`wondershaper -a {{어댑터_이름}} -d {{1024}} -u {{512}}` diff --git a/pages.ko/common/wordgrinder.md b/pages.ko/common/wordgrinder.md new file mode 100644 index 00000000000000..0bb6d92ff4c95d --- /dev/null +++ b/pages.ko/common/wordgrinder.md @@ -0,0 +1,16 @@ +# wordgrinder + +> 명령줄 워드 프로세서. +> 더 많은 정보: . + +- WordGrinder 시작 (기본적으로 빈 문서를 로드함): + +`wordgrinder` + +- 지정된 파일 열기: + +`wordgrinder {{경로/대상/파일}}` + +- 메뉴 표시: + +`` diff --git a/pages.ko/common/wormhole.md b/pages.ko/common/wormhole.md new file mode 100644 index 00000000000000..266e3611fc9f51 --- /dev/null +++ b/pages.ko/common/wormhole.md @@ -0,0 +1,16 @@ +# wormhole + +> 한 컴퓨터에서 다른 컴퓨터로 안전하게 전송. +> 더 많은 정보: . + +- 파일 전송: + +`wormhole send {{경로/대상/파일}}` + +- 파일 수신: + +`wormhole receive {{wormhole_코드}}` + +- 원시 텍스트 전송: + +`wormhole send` diff --git a/pages.ko/common/wp.md b/pages.ko/common/wp.md new file mode 100644 index 00000000000000..c57d9dfc069058 --- /dev/null +++ b/pages.ko/common/wp.md @@ -0,0 +1,32 @@ +# wp + +> WordPress 인스턴스를 관리하는 공식 명령줄 인터페이스. +> 더 많은 정보: . + +- 운영 체제, 셸, PHP 및 WP-CLI(`wp`) 설치 정보 출력: + +`wp --info` + +- WP-CLI 업데이트: + +`wp cli update` + +- 현재 디렉토리에 새로운 WordPress 설치 파일 다운로드, 필요시 로케일 지정: + +`wp core download --locale={{로케일}}` + +- 기본 `wpconfig` 파일 생성 (데이터베이스가 `localhost`에 있다고 가정): + +`wp config create --dbname={{데이터베이스_이름}} --dbuser={{데이터베이스_사용자}} --dbpass={{데이터베이스_비밀번호}}` + +- WordPress 플러그인 설치 및 활성화: + +`wp plugin install {{플러그인}} --activate` + +- 데이터베이스에서 문자열의 모든 인스턴스 교체: + +`wp search-replace {{기존_문자열}} {{새로운_문자열}}` + +- WordPress 확장 RSS(WXR) 파일의 내용 가져오기: + +`wp import {{경로/대상/파일.xml}}` diff --git a/pages.ko/common/wpa_supplicant.md b/pages.ko/common/wpa_supplicant.md new file mode 100644 index 00000000000000..4170d9cf4254a8 --- /dev/null +++ b/pages.ko/common/wpa_supplicant.md @@ -0,0 +1,12 @@ +# wpa_supplicant + +> 보호된 무선 네트워크 관리. +> 더 많은 정보: . + +- 보호된 무선 네트워크에 연결: + +`wpa_supplicant -i {{인터페이스}} -c {{경로/대상/wpa_supplicant_conf.conf}}` + +- 보호된 무선 네트워크에 연결하고 데몬으로 실행: + +`wpa_supplicant -B -i {{인터페이스}} -c {{경로/대상/wpa_supplicant_conf.conf}}` diff --git a/pages.ko/common/wpaclean.md b/pages.ko/common/wpaclean.md new file mode 100644 index 00000000000000..c7525cfc31b23c --- /dev/null +++ b/pages.ko/common/wpaclean.md @@ -0,0 +1,13 @@ +# wpaclean + +> 캡처 파일을 정리하여 4-way 핸드셰이크와 비콘만 얻기. +> Aircrack-ng 네트워크 소프트웨어 모음의 일부. +> 더 많은 정보: . + +- 캡처 파일을 정리하고 결과에 4-way 핸드셰이크와 비콘만 저장: + +`wpaclean {{경로/대상/결과.cap}} {{경로/대상/캡처.cap}}` + +- 여러 캡처 파일을 정리하고 4-way 핸드셰이크와 비콘을 결과에 저장: + +`wpaclean {{경로/대상/결과.cap}} {{경로/대상/캡처1.cap 경로/대상/캡처2.cap ...}}` diff --git a/pages.ko/common/wpm.md b/pages.ko/common/wpm.md new file mode 100644 index 00000000000000..9cc42636367ee2 --- /dev/null +++ b/pages.ko/common/wpm.md @@ -0,0 +1,28 @@ +# wpm + +> 타이프레이서와 유사한 콘솔 앱으로, 분당 타자 수(WPM)를 측정합니다. +> 더 많은 정보: . + +- `wpm` 시작: + +`wpm` + +- 짧은 텍스트로 `wpm` 시작: + +`wpm --short` + +- 특정 텍스트 파일을 사용하여 `wpm` 시작: + +`wpm --load {{경로/대상/파일.txt}}` + +- 레이스 점수에 태그 지정: + +`wpm --tag {{태그_이름}}` + +- 태그별로 그룹화된 점수 통계 표시: + +`wpm --stats` + +- 단색으로 `wpm` 시작: + +`wpm --monochrome` diff --git a/pages.ko/common/wpscan.md b/pages.ko/common/wpscan.md new file mode 100644 index 00000000000000..0c0b51086bc835 --- /dev/null +++ b/pages.ko/common/wpscan.md @@ -0,0 +1,36 @@ +# wpscan + +> WordPress 취약점 스캐너. +> 더 많은 정보: . + +- 취약점 데이터베이스 업데이트: + +`wpscan --update` + +- WordPress 웹사이트 스캔: + +`wpscan --url {{url}}` + +- 무작위 사용자 에이전트와 수동 감지를 사용하여 WordPress 웹사이트 스캔: + +`wpscan --url {{url}} --stealthy` + +- 취약한 플러그인을 확인하고 `wp-content` 디렉터리 경로를 지정하여 WordPress 웹사이트 스캔: + +`wpscan --url {{url}} --enumerate {{vp}} --wp-content-dir {{원격/경로/대상/워드프레스-내용}}` + +- 프록시를 통해 WordPress 웹사이트 스캔: + +`wpscan --url {{url}} --proxy {{protocol://ip:port}} --proxy-auth {{사용자 명:비밀번호}}` + +- WordPress 웹사이트에서 사용자 식별자 열거 수행: + +`wpscan --url {{url}} --enumerate {{u}}` + +- WordPress 웹사이트에 대한 비밀번호 추측 공격 실행: + +`wpscan --url {{url}} --usernames {{사용자 명|경로/대상/사용자 명.txt}} --passwords {{경로/대상/비밀번호.txt}} threads {{20}}` + +- WPVulnDB ()에서 취약점 데이터를 수집하여 WordPress 웹사이트 스캔: + +`wpscan --url {{url}} --api-token {{토큰}}` diff --git a/pages.ko/common/wrangler.md b/pages.ko/common/wrangler.md new file mode 100644 index 00000000000000..f7f1244d353799 --- /dev/null +++ b/pages.ko/common/wrangler.md @@ -0,0 +1,24 @@ +# wrangler + +> Cloudflare Workers 명령줄 도구. +> 더 많은 정보: . + +- 기본 구성으로 프로젝트 초기화: + +`wrangler init {{프로젝트_이름}}` + +- Cloudflare에 인증: + +`wrangler login` + +- 로컬 개발 서버 시작: + +`wrangler dev --host {{호스트명}}` + +- 워커 스크립트 배포: + +`wrangler publish` + +- 프로덕션 워커의 로그 집계: + +`wrangler tail` diff --git a/pages.ko/common/write.md b/pages.ko/common/write.md new file mode 100644 index 00000000000000..026c81bf3ff629 --- /dev/null +++ b/pages.ko/common/write.md @@ -0,0 +1,17 @@ +# write + +> 지정된 로그인 사용자에게 터미널에 메시지를 작성합니다 (``로 메시지 작성을 중단할 수 있음). +> 시스템에서 활성 사용자들의 모든 터미널 ID를 확인하려면 `who` 명령을 사용하세요. 같이 보기: `mesg`. +> 더 많은 정보: . + +- 지정된 사용자에게 주어진 터미널 ID로 메시지 전송: + +`write {{사용자_명}} {{터미널_ID}}` + +- 터미널 `/dev/tty/5`에서 "testuser"에게 메시지 전송: + +`write {{testuser}} {{tty/5}}` + +- 의사 터미널 `/dev/pts/5`에서 "johndoe"에게 메시지 전송: + +`write {{johndoe}} {{pts/5}}` diff --git a/pages.ko/common/wrk.md b/pages.ko/common/wrk.md new file mode 100644 index 00000000000000..2ea1fc3591267e --- /dev/null +++ b/pages.ko/common/wrk.md @@ -0,0 +1,16 @@ +# wrk + +> HTTP 벤치마킹 도구. +> 더 많은 정보: . + +- `12`개의 스레드를 사용하고 `400`개의 HTTP 연결을 열어 `30`초 동안 벤치마크 실행: + +`wrk -t{{12}} -c{{400}} -d{{30s}} "{{http://127.0.0.1:8080/index.html}}"` + +- 사용자 지정 헤더를 사용하여 벤치마크 실행: + +`wrk -t{{2}} -c{{5}} -d{{5s}} -H "{{Host: example.com}}" "{{http://example.com/index.html}}"` + +- 요청 타임아웃을 `2`초로 설정하여 벤치마크 실행: + +`wrk -t{{2}} -c{{5}} -d{{5s}} --timeout {{2s}} "{{http://example.com/index.html}}"` diff --git a/pages.ko/common/wuzz.md b/pages.ko/common/wuzz.md new file mode 100644 index 00000000000000..11c0e242c51820 --- /dev/null +++ b/pages.ko/common/wuzz.md @@ -0,0 +1,24 @@ +# wuzz + +> HTTP 요청 및 응답을 대화형으로 검사. +> 더 많은 정보: . + +- `wuzz` 시작: + +`wuzz` + +- HTTP 요청 전송: + +`` + +- 다음 보기로 전환: + +`` + +- 이전 보기로 전환: + +`` + +- 도움말 표시: + +`` diff --git a/pages.ko/common/x11docker.md b/pages.ko/common/x11docker.md new file mode 100644 index 00000000000000..89e106cd5786ab --- /dev/null +++ b/pages.ko/common/x11docker.md @@ -0,0 +1,25 @@ +# x11docker + +> Docker 컨테이너에서 GUI 애플리케이션 및 데스크톱 UI를 안전하게 실행. +> 같이 보기: `xephyr`. +> 더 많은 정보: . + +- 컨테이너에서 VLC 실행: + +`x11docker --pulseaudio --share={{$HOME/Videos}} {{jess/vlc}}` + +- 창에서 Xfce 실행: + +`x11docker --desktop {{x11docker/xfce}}` + +- 창에서 GNOME 실행: + +`x11docker --desktop --gpu --init={{systemd}} {{x11docker/gnome}}` + +- 창에서 KDE Plasma 실행: + +`x11docker --desktop --gpu --init={{systemd}} {{x11docker/kde-plasma}}` + +- 도움말 표시: + +`x11docker --help` diff --git a/pages.ko/common/x_x.md b/pages.ko/common/x_x.md new file mode 100644 index 00000000000000..533a857b02a3ed --- /dev/null +++ b/pages.ko/common/x_x.md @@ -0,0 +1,16 @@ +# x_x + +> Excel 및 CSV 파일 보기. +> 더 많은 정보: . + +- XLSX 또는 CSV 파일 보기: + +`x_x {{파일.xlsx|파일.csv}}` + +- 첫 번째 행을 테이블 헤더로 사용하여 XLSX 또는 CSV 파일 보기: + +`x_x -h {{0}} {{파일.xlsx|파일.csv}}` + +- 비전형적인 구분 기호를 사용하는 CSV 파일 보기: + +`x_x --delimiter={{';'}} --quotechar={{'|'}} {{파일.csv}}` diff --git a/pages.ko/common/xar.md b/pages.ko/common/xar.md new file mode 100644 index 00000000000000..055f180abd17d4 --- /dev/null +++ b/pages.ko/common/xar.md @@ -0,0 +1,16 @@ +# xar + +> .xar 아카이브 관리. +> 더 많은 정보: . + +- 주어진 디렉토리의 모든 파일로 xar 아카이브 생성: + +`xar -cf {{archive.xar}} {{경로/대상/폴더}}` + +- 주어진 xar 아카이브의 내용 목록: + +`xar -tf {{archive.xar}}` + +- 주어진 xar 아카이브의 내용을 현재 디렉토리로 추출: + +`xar -xf {{archive.xar}}` diff --git a/pages.ko/common/xargs.md b/pages.ko/common/xargs.md new file mode 100644 index 00000000000000..3256ed150b8726 --- /dev/null +++ b/pages.ko/common/xargs.md @@ -0,0 +1,29 @@ +# xargs + +> 다른 명령, 파일 등으로부터 전달된 인수를 사용하여 명령을 실행. +> 입력은 하나의 텍스트 블록으로 처리되며 공백, 탭, 개행 및 파일 끝에서 별개의 조각으로 분리됩니다. +> 더 많은 정보: . + +- 입력 데이터를 인수로 사용하여 명령 실행: + +`{{인수들_소스}} | xargs {{명령어}}` + +- 입력 데이터에 대해 여러 연결된 명령 실행: + +`{{인수들_소스}} | xargs sh -c "{{명령어1}} && {{명령어2}} | {{명령어3}}"` + +- 여러 스레드를 활용하여 `.log` 확장자를 가진 모든 파일을 gzip으로 압축 (`-print0`는 파일 이름을 null 문자로 분리하고, `-0`은 이를 구분자로 사용): + +`find . -name '*.log' -print0 | xargs {{[-0|--null]}} {{[-P|--max-procs]}} {{4}} {{[-n|--max-args]}} 1 gzip` + +- 각 인수에 대해 한 번씩 명령 실행: + +`{{인수들_소스}} | xargs {{[-n|--max-args]}} 1 {{명령어}}` + +- 각 입력 줄에 대해 한 번씩 명령 실행, 입력 줄로 플레이스홀더(여기서는 `_`로 표시)를 대체: + +`{{인수들_소스}} | xargs -I _ {{명령어}} _ {{선택적_추가_인수들}}` + +- 한 번에 `최대-프로세스` 프로세스까지 병렬 실행; 기본값은 1입니다. `최대-프로세스`가 0인 경우, xargs는 가능한 많은 프로세스를 동시에 실행: + +`{{인수들_소스}} | xargs {{[-P|--max-procs]}} {{최대-프로세스}} {{명령어}}` diff --git a/pages.ko/common/xbmtopbm.md b/pages.ko/common/xbmtopbm.md new file mode 100644 index 00000000000000..a1c1bb818fa58a --- /dev/null +++ b/pages.ko/common/xbmtopbm.md @@ -0,0 +1,8 @@ +# xbmtopbm + +> X11 또는 X10 비트맵을 PBM 이미지로 변환. +> 더 많은 정보: . + +- XBM 이미지를 PPM 이미지로 변환: + +`xbmtopbm {{경로/대상/입력_파일.xbm}} > {{경로/대상/출력_파일.pbm}}` diff --git a/pages.ko/common/xcaddy.md b/pages.ko/common/xcaddy.md new file mode 100644 index 00000000000000..2df5da45a5e300 --- /dev/null +++ b/pages.ko/common/xcaddy.md @@ -0,0 +1,28 @@ +# xcaddy + +> Caddy 웹 서버를 위한 커스텀 빌드 도구. +> 더 많은 정보: . + +- 소스에서 Caddy 서버 빌드: + +`xcaddy build` + +- 특정 버전으로 Caddy 서버 빌드 (기본값은 최신 버전): + +`xcaddy build {{버전}}` + +- 특정 모듈로 Caddy 빌드: + +`xcaddy build --with {{모듈_이름}}` + +- 특정 파일에 출력하여 Caddy 빌드: + +`xcaddy build --output {{경로/대상/파일}}` + +- 현재 디렉토리에서 개발 플러그인을 위해 Caddy 빌드 및 실행: + +`xcaddy run` + +- 특정 Caddy 설정을 사용하여 개발 플러그인을 위해 Caddy 빌드 및 실행: + +`xcaddy run --config {{경로/대상/파일}}` diff --git a/pages.ko/common/xcv.md b/pages.ko/common/xcv.md new file mode 100644 index 00000000000000..95dadaf4ae3731 --- /dev/null +++ b/pages.ko/common/xcv.md @@ -0,0 +1,20 @@ +# xcv + +> 명령줄에서 자르기, 복사 및 붙여넣기. +> 더 많은 정보: . + +- 파일 자르기: + +`xcv x {{입력_파일}}` + +- 파일 복사: + +`xcv c {{입력_파일}}` + +- 파일 붙여넣기: + +`xcv v {{출력_파일}}` + +- 붙여넣기 가능한 파일 나열: + +`xcv l` diff --git a/pages.ko/common/xdelta.md b/pages.ko/common/xdelta.md new file mode 100644 index 00000000000000..d3f1d112115846 --- /dev/null +++ b/pages.ko/common/xdelta.md @@ -0,0 +1,13 @@ +# xdelta + +> 델타 인코딩 유틸리티. +> 주로 바이너리 파일에 패치를 적용하는 데 사용됩니다. +> 더 많은 정보: . + +- 패치 적용: + +`xdelta -d -s {{경로/대상/입력_파일}} {{경로/대상/델타_파일.xdelta}} {{경로/대상/출력_파일}}` + +- 패치 생성: + +`xdelta -e -s {{경로/대상/이전_파일}} {{경로/대상/새_파일}} {{경로/대상/출력_파일.xdelta}}` diff --git a/pages.ko/common/xe.md b/pages.ko/common/xe.md new file mode 100644 index 00000000000000..cc918d6ff78821 --- /dev/null +++ b/pages.ko/common/xe.md @@ -0,0 +1,24 @@ +# xe + +> 다른 명령이나 파일에서 파이프로 전달된 각 줄에 대해 명령을 한 번 실행. +> 더 많은 정보: . + +- 입력 데이터의 각 줄을 인수로 사용하여 명령 실행: + +`{{인수_출처}} | xe {{명령}}` + +- 명령을 실행하며, 자리 표시자(`{}`)를 입력 줄로 대체: + +`{{인수_출처}} | xe {{명령}} {} {{선택적_추가_인수}}` + +- 쉘스크립트를 실행하며, 매 `N`개의 줄을 하나의 호출로 결합: + +`echo -e 'a\nb' | xe -N{{2}} -s 'echo $2 $1'` + +- `.backup` 확장자를 가진 모든 파일 삭제: + +`find . -name {{'*.backup'}} | xe rm -v` + +- 최대 `max-jobs` 프로세스를 병렬로 실행; 기본값은 1. `max-jobs`가 0이면 xe는 CPU 코어 수만큼 프로세스를 실행: + +`{{인수_출처}} | xe -j {{최대_작업}} {{명령}}` diff --git a/pages.ko/common/xephyr.md b/pages.ko/common/xephyr.md new file mode 100644 index 00000000000000..e83a1593bca338 --- /dev/null +++ b/pages.ko/common/xephyr.md @@ -0,0 +1,12 @@ +# Xephyr + +> X 애플리케이션으로 실행되는 중첩 X 서버. +> 더 많은 정보: . + +- 디스플레이 ID ":2"로 검은색 창 생성: + +`Xephyr -br -ac -noreset -screen {{800x600}} {{:2}}` + +- 새 화면에서 X 애플리케이션 시작: + +`DISPLAY=:2 {{명령_이름}}` diff --git a/pages.ko/common/xetex.md b/pages.ko/common/xetex.md new file mode 100644 index 00000000000000..dbd6fbb781e4ab --- /dev/null +++ b/pages.ko/common/xetex.md @@ -0,0 +1,16 @@ +# xetex + +> XeTeX 소스 파일에서 PDF 문서를 컴파일. +> 더 많은 정보: . + +- PDF 문서 컴파일: + +`xetex {{소스.tex}}` + +- 출력 디렉토리를 지정하여 PDF 문서 컴파일: + +`xetex -output-directory={{경로/대상/폴더}} {{소스.tex}}` + +- 오류 발생 시 종료하며 PDF 문서 컴파일: + +`xetex -halt-on-error {{소스.tex}}` diff --git a/pages.ko/common/xev.md b/pages.ko/common/xev.md new file mode 100644 index 00000000000000..a6aa68bacc0620 --- /dev/null +++ b/pages.ko/common/xev.md @@ -0,0 +1,20 @@ +# xev + +> X 이벤트의 내용을 출력. +> 더 많은 정보: . + +- 발생하는 모든 X 이벤트 모니터링: + +`xev` + +- 새 창을 생성하지 않고 루트 창의 모든 X 이벤트 모니터링: + +`xev -root` + +- 특정 창의 모든 X 이벤트 모니터링: + +`xev -id {{창_ID}}` + +- 주어진 카테고리의 X 이벤트 모니터링 (여러 번 지정 가능): + +`xev -event {{이벤트_카테고리}}` diff --git a/pages.ko/common/xgettext.md b/pages.ko/common/xgettext.md new file mode 100644 index 00000000000000..79fb986035d241 --- /dev/null +++ b/pages.ko/common/xgettext.md @@ -0,0 +1,20 @@ +# xgettext + +> 코드 파일에서 gettext 문자열 추출. +> 더 많은 정보: . + +- 파일을 스캔하고 문자열을 `messages.po`에 출력: + +`xgettext {{경로/대상/입력_파일}}` + +- 다른 출력 파일 이름 사용: + +`xgettext {{[-o|--output]}} {{경로/대상/출력_파일}} {{경로/대상/입력_파일}}` + +- 새 문자열을 기존 파일에 추가: + +`xgettext {{[-j|--join-existing]}} {{[-o|--output]}} {{경로/대상/출력_파일}} {{경로/대상/입력_파일}}` + +- 메타데이터를 포함하는 헤더를 출력 파일에 추가하지 않음: + +`xgettext --omit-header {{경로/대상/입력_파일}}` diff --git a/pages.ko/common/xh.md b/pages.ko/common/xh.md new file mode 100644 index 00000000000000..63a2acdec4789a --- /dev/null +++ b/pages.ko/common/xh.md @@ -0,0 +1,30 @@ +# xh + +> 친숙하고 빠른 HTTP 요청 전송 도구. +> 참고: Rust로 작성된 `xh`는 `http`의 효과적인 대체 도구입니다. +> 같이 보기: `http`, `curl`. +> 더 많은 정보: . + +- GET 요청 전송: + +`xh {{httpbin.org/get}}` + +- JSON 본문과 함께 POST 요청 전송 (키-값 쌍이 최상위 JSON 객체에 추가됨, 예: `{"name": "john", "age": 25}`): + +`xh post {{httpbin.org/post}} {{name=john}} {{age:=25}}` + +- 쿼리 매개변수를 포함한 GET 요청 전송 (예: `first_param=5&second_param=true`): + +`xh get {{httpbin.org/get}} {{first_param==5}} {{second_param==true}}` + +- 사용자 지정 헤더와 함께 GET 요청 전송: + +`xh get {{httpbin.org/get}} {{header-name:header-value}}` + +- GET 요청을 보내고 응답 본문을 파일에 저장: + +`xh --download {{httpbin.org/json}} --output {{경로/대상/파일}}` + +- 동등한 `curl` 명령 표시 (이 명령은 요청을 전송하지 않음): + +`xh --{{curl|curl-long}} {{--follow --verbose get http://example.com user-agent:curl}}` diff --git a/pages.ko/common/xidel.md b/pages.ko/common/xidel.md new file mode 100644 index 00000000000000..abc1b1af127a89 --- /dev/null +++ b/pages.ko/common/xidel.md @@ -0,0 +1,36 @@ +# xidel + +> HTML/XML 페이지 및 JSON API에서 데이터를 다운로드하고 추출. +> 더 많은 정보: . + +- Google 검색으로 찾은 모든 URL 출력: + +`xidel {{https://www.google.com/search?q=test}} --extract "//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']"` + +- Google 검색으로 찾은 모든 페이지의 제목을 출력하고 다운로드: + +`xidel {{https://www.google.com/search?q=test}} --follow "{{//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']}}" --extract {{//title}} --download {{'{$host}/'}}` + +- 페이지의 모든 링크를 따라가서 제목을 XPath로 출력: + +`xidel {{https://example.org}} --follow {{//a}} --extract {{//title}}` + +- 페이지의 모든 링크를 따라가서 제목을 CSS 선택자로 출력: + +`xidel {{https://example.org}} --follow "{{css('a')}}" --css {{title}}` + +- 페이지의 모든 링크를 따라가서 제목을 패턴 매칭으로 출력: + +`xidel {{https://example.org}} --follow "{{{.}*}}" --extract "{{{.}}}"` + +- example.xml에서 패턴을 읽고 "ood"를 포함한 요소가 있는지 확인(없으면 실패): + +`xidel {{경로/대상/example.xml}} --extract "{{ood{.}}}"` + +- 패턴 매칭을 사용하여 제목과 URL을 포함한 최신 Stack Overflow 질문 출력: + +`xidel {{http://stackoverflow.com/feeds}} --extract "{{{title:=.}{uri:=@href}+}}"` + +- 읽지 않은 Reddit 메일 확인, 웹 스크래핑, CSS, XPath, JSONiq 및 자동 양식 평가 조합: + +`xidel {{https://reddit.com}} --follow "{{form(css('form.login-form')[1], {'user': '$your_username', 'passwd': '$your_password'})}}" --extract "{{css('#mail')/@title}}"` diff --git a/pages.ko/common/ximtoppm.md b/pages.ko/common/ximtoppm.md new file mode 100644 index 00000000000000..67960027533fb7 --- /dev/null +++ b/pages.ko/common/ximtoppm.md @@ -0,0 +1,12 @@ +# ximtoppm + +> XIM 파일을 PPM 이미지로 변환. +> 더 많은 정보: . + +- XIM 이미지를 PPM 이미지로 변환: + +`ximtoppm {{경로/대상/입력_파일.xim}} > {{경로/대상/출력_파일.ppm}}` + +- 입력 이미지의 투명 마스크를 지정된 파일에 저장: + +`ximtoppm --alphaout {{경로/대상/알파_파일.pbm}} {{경로/대상/입력_파일.xim}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/xkcdpass.md b/pages.ko/common/xkcdpass.md new file mode 100644 index 00000000000000..f2c4dc774ffc06 --- /dev/null +++ b/pages.ko/common/xkcdpass.md @@ -0,0 +1,17 @@ +# xkcdpass + +> 강력한 암호를 생성하는 유연하고 스크립트 가능한 암호 생성기. +> XKCD 936에서 영감을 받았습니다. +> 더 많은 정보: . + +- 기본 옵션으로 하나의 암호 구문 생성: + +`xkcdpass` + +- 각 단어의 첫 글자가 제공된 인자와 일치하는 암호 구문 생성: + +`xkcdpass {{[-a|--acrostic]}} {{두운}}` + +- 대화형으로 암호 생성: + +`xkcdpass {{[-i|--interactive]}}` diff --git a/pages.ko/common/xkill.md b/pages.ko/common/xkill.md new file mode 100644 index 00000000000000..40b9aa35a69f30 --- /dev/null +++ b/pages.ko/common/xkill.md @@ -0,0 +1,17 @@ +# xkill + +> 그래픽 세션에서 창을 대화식으로 종료. +> 같이 보기: `kill`, `killall`. +> 더 많은 정보: . + +- 왼쪽 마우스 버튼을 눌러 창을 종료할 수 있는 커서 표시 (다른 마우스 버튼을 눌러 취소): + +`xkill` + +- 마우스 버튼을 눌러 종료할 창을 선택할 수 있는 커서 표시: + +`xkill -button any` + +- 특정 ID를 가진 창 종료 (`xwininfo`를 사용하여 창 정보를 얻을 수 있음): + +`xkill -id {{id}}` diff --git a/pages.ko/common/xmake.md b/pages.ko/common/xmake.md new file mode 100644 index 00000000000000..11c32e6ae28066 --- /dev/null +++ b/pages.ko/common/xmake.md @@ -0,0 +1,24 @@ +# xmake + +> Lua 기반의 크로스 플랫폼 C & C++ 빌드 유틸리티. +> 더 많은 정보: . + +- Hello World와 `xmake.lua`를 포함한 Xmake C 프로젝트 생성: + +`xmake create --language c -P {{프로젝트_이름}}` + +- Xmake 프로젝트 빌드 및 실행: + +`xmake build run` + +- 컴파일된 Xmake 타겟을 직접 실행: + +`xmake run {{타겟_이름}}` + +- 프로젝트의 빌드 타겟 구성: + +`xmake config --plat={{macosx|linux|iphoneos|...}} --arch={{x86_64|i386|arm64|...}} --mode={{debug|release}}` + +- 컴파일된 타겟을 디렉토리에 설치: + +`xmake install -o {{경로/대상/폴더}}` diff --git a/pages.ko/common/xml-canonic.md b/pages.ko/common/xml-canonic.md new file mode 100644 index 00000000000000..fe55542e0c370a --- /dev/null +++ b/pages.ko/common/xml-canonic.md @@ -0,0 +1,20 @@ +# xml canonic + +> XML 문서를 정규화. +> 더 많은 정보: . + +- XML 문서를 정규화하여 주석을 보존: + +`xml {{[c14n|canonic]}} {{경로/대상/입력.xml|URI}} > {{경로/대상/출력.xml}}` + +- XML 문서를 정규화하여 주석 제거: + +`xml {{[c14n|canonic]}} --without-comments {{경로/대상/입력.xml|URI}} > {{경로/대상/출력.xml}}` + +- 파일의 XPATH를 사용하여 XML을 독점적으로 정규화하고, 주석을 보존: + +`xml {{[c14n|canonic]}} --exc-with-comments {{경로/대상/입력.xml|URI}} {{경로/대상/c14n.xpath}}` + +- 도움말 표시: + +`xml {{[c14n|canonic]}} --help` diff --git a/pages.ko/common/xml-depyx.md b/pages.ko/common/xml-depyx.md new file mode 100644 index 00000000000000..eeb3dd6506b209 --- /dev/null +++ b/pages.ko/common/xml-depyx.md @@ -0,0 +1,16 @@ +# xml depyx + +> PYX (ESIS - ISO 8879) 문서를 XML 형식으로 변환. +> 더 많은 정보: . + +- PYX (ESIS - ISO 8879) 문서를 XML 형식으로 변환: + +`xml {{[p2x|depyx]}} {{경로/대상/입력.pyx|URI}} > {{경로/대상/출력.xml}}` + +- `stdin`에서 PYX 문서를 XML 형식으로 변환: + +`cat {{경로/대상/입력.pyx}} | xml {{[p2x|depyx]}} > {{경로/대상/출력.xml}}` + +- 도움말 표시: + +`xml {{[p2x|depyx]}} --help` diff --git a/pages.ko/common/xml-edit.md b/pages.ko/common/xml-edit.md new file mode 100644 index 00000000000000..4ae658915af44b --- /dev/null +++ b/pages.ko/common/xml-edit.md @@ -0,0 +1,28 @@ +# xml edit + +> XML 문서 편집. +> 더 많은 정보: . + +- XML 문서에서 XPATH와 일치하는 요소 삭제: + +`xml {{[ed|edit]}} {{[-d|--delete]}} "{{XPATH1}}" {{경로/대상/입력.xml|URI}}` + +- XML 문서의 요소 노드를 XPATH1에서 XPATH2로 이동: + +`xml {{[ed|edit]}} {{[-m|--move]}} "{{XPATH1}}" "{{XPATH2}}" {{경로/대상/입력.xml|URI}}` + +- 이름이 "id"인 모든 속성을 "ID"로 변경: + +`xml {{[ed|edit]}} {{[-r|--rename]}} "{{//*/@id}}" -v "{{ID}}" {{경로/대상/입력.xml|URI}}` + +- "table" 요소의 하위 요소 중 "rec"으로 명명된 요소를 "record"로 이름 변경: + +`xml {{[ed|edit]}} {{[-r|--rename]}} "{{/xml/table/rec}}" -v "{{record}}" {{경로/대상/입력.xml|URI}}` + +- "id=3"인 XML 테이블 레코드를 "id=5" 값으로 업데이트: + +`xml {{[ed|edit]}} {{[-u|--update]}} "{{xml/table/rec[@id=3]/@id}}" {{[-v|--value]}} {{5}} {{경로/대상/입력.xml|URI}}` + +- 도움말 표시: + +`xml {{[ed|edit]}} {{[-h|--help]}}` diff --git a/pages.ko/common/xml-elements.md b/pages.ko/common/xml-elements.md new file mode 100644 index 00000000000000..4062f2e02990e8 --- /dev/null +++ b/pages.ko/common/xml-elements.md @@ -0,0 +1,28 @@ +# xml elements + +> XML 문서의 요소를 추출하고 구조를 표시합니다. +> 더 많은 정보: . + +- XML 문서에서 요소 추출 (XPATH 표현 생성): + +`xml {{[el|elements]}} {{경로/대상/입력.xml|URI}} > {{경로/대상/요소.xpath}}` + +- XML 문서에서 요소와 그 속성 추출: + +`xml {{[el|elements]}} -a {{경로/대상/입력.xml|URI}} > {{경로/대상/요소.xpath}}` + +- XML 문서에서 요소, 속성 및 값 추출: + +`xml {{[el|elements]}} -v {{경로/대상/입력.xml|URI}} > {{경로/대상/요소.xpath}}` + +- XML 문서의 정렬된 고유 요소를 출력하여 구조 확인: + +`xml {{[el|elements]}} -u {{경로/대상/입력.xml|URI}}` + +- 깊이 3까지의 XML 문서의 정렬된 고유 요소 출력: + +`xml {{[el|elements]}} -d{{3}} {{경로/대상/입력.xml|URI}}` + +- 도움말 표시: + +`xml {{[el|elements]}} --help` diff --git a/pages.ko/common/xml-escape.md b/pages.ko/common/xml-escape.md new file mode 100644 index 00000000000000..b9b1c3b02f9b0c --- /dev/null +++ b/pages.ko/common/xml-escape.md @@ -0,0 +1,16 @@ +# xml escape + +> 특수 XML 문자를 이스케이프합니다. 예: `` → `<a1>`. +> 더 많은 정보: . + +- 문자열에서 특수 XML 문자 이스케이프: + +`xml {{[esc|escape]}} "{{}}"` + +- `stdin`에서 특수 XML 문자 이스케이프: + +`echo "{{}}" | xml {{[esc|escape]}}` + +- 도움말 표시: + +`xml {{[esc|escape]}} --help` diff --git a/pages.ko/common/xml-format.md b/pages.ko/common/xml-format.md new file mode 100644 index 00000000000000..225d580fbdf5b2 --- /dev/null +++ b/pages.ko/common/xml-format.md @@ -0,0 +1,28 @@ +# xml format + +> XML 문서를 포맷합니다. +> 더 많은 정보: . + +- XML 문서를 탭으로 들여쓰기하여 포맷: + +`xml {{[fo|format]}} {{[-t|--indent-tab]}} {{경로/대상/입력.xml|URI}} > {{경로/대상/출력.xml}}` + +- HTML 문서를 4칸의 공백으로 들여쓰기하여 포맷: + +`xml {{[fo|format]}} {{[-H|--html]}} {{[-s|--indent-spaces]}} {{4}} {{경로/대상/입력.html|URI}} > {{경로/대상/출력.html}}` + +- 잘못된 XML 문서에서 구문 분석이 가능한 부분을 복구하고 들여쓰지 않음: + +`xml {{[fo|format]}} {{[-R|--recover]}} {{[-n|--noindent]}} {{경로/대상/잘못된.xml|URI}} > {{경로/대상/복구된.xml}}` + +- `stdin`에서 XML 문서를 포맷하고 `DOCTYPE` 선언을 제거: + +`cat {{경로/대상/입력.xml}} | xml {{[fo|format]}} {{[-D|--dropdtd]}} > {{경로/대상/출력.xml}}` + +- XML 선언을 생략하여 XML 문서를 포맷: + +`xml {{[fo|format]}} {{[-o|--omit-decl]}} {{경로/대상/입력.xml|URI}} > {{경로/대상/출력.xml}}` + +- 도움말 표시: + +`xml {{[fo|format]}} --help` diff --git a/pages.ko/common/xml-list.md b/pages.ko/common/xml-list.md new file mode 100644 index 00000000000000..5c1a721eaef989 --- /dev/null +++ b/pages.ko/common/xml-list.md @@ -0,0 +1,16 @@ +# xml list + +> 디렉토리의 내용을 XML 형식으로 나열 (예: `ls`). +> 더 많은 정보: . + +- 현재 디렉토리의 목록을 XML 문서로 작성: + +`xml {{[ls|list]}} > {{경로/대상/디렉토리_목록.xml}}` + +- 지정된 디렉토리의 목록을 XML 문서로 작성: + +`xml {{[ls|list]}} {{경로/대상/폴더}} > {{경로/대상/디렉토리_목록.xml}}` + +- 도움말 표시: + +`xml {{[ls|list]}} --help` diff --git a/pages.ko/common/xml-pyx.md b/pages.ko/common/xml-pyx.md new file mode 100644 index 00000000000000..d3d73ca3ce4560 --- /dev/null +++ b/pages.ko/common/xml-pyx.md @@ -0,0 +1,16 @@ +# xml pyx + +> XML 문서를 PYX (ESIS - ISO 8879) 형식으로 변환. +> 더 많은 정보: . + +- XML 문서를 PYX 형식으로 변환: + +`xml pyx {{경로/대상/입력.xml|URI}} > {{경로/대상/출력.pyx}}` + +- `stdin`에서 XML 문서를 받아 PYX 형식으로 변환: + +`cat {{경로/대상/입력.xml}} | xml pyx > {{경로/대상/출력.pyx}}` + +- 도움말 표시: + +`xml pyx --help` diff --git a/pages.ko/common/xml-select.md b/pages.ko/common/xml-select.md new file mode 100644 index 00000000000000..8f8deecced0d3b --- /dev/null +++ b/pages.ko/common/xml-select.md @@ -0,0 +1,25 @@ +# xml select + +> XPATH를 사용하여 XML 문서에서 선택. +> 팁: XML 문서의 XPATH를 표시하려면 `xml elements`를 사용하세요. +> 더 많은 정보: . + +- "XPATH1"과 일치하는 모든 요소를 선택하고 그 하위 요소 "XPATH2"의 값을 출력: + +`xml {{[sel|select]}} {{[-t|--template]}} {{[-m|--match]}} "{{XPATH1}}" {{[-v|--value-of]}} "{{XPATH2}}" {{경로/대상/입력.xml|URI}}` + +- "XPATH1"과 일치하는 요소를 선택하고 "XPATH2"의 값을 새 줄과 함께 텍스트로 출력: + +`xml {{[sel|select]}} {{[-T|--text]}} {{[-t|--template]}} {{[-m|--match]}} "{{XPATH1}}" {{[-v|--value-of]}} "{{XPATH2}}" {{[-n|--nl]}} {{경로/대상/입력.xml|URI}}` + +- "XPATH1"의 요소 수를 계산: + +`xml {{[sel|select]}} {{[-t|--template]}} {{[-v|--value-of]}} "count({{XPATH1}})" {{경로/대상/입력.xml|URI}}` + +- 하나 이상의 XML 문서에서 모든 노드 수를 계산: + +`xml {{[sel|select]}} {{[-T|--text]}} {{[-t|--template]}} {{[-f|--inp-name]}} {{[-o|--output]}} " " {{[-v|--value-of]}} "count(node())" {{[-n|--nl]}} {{경로/대상/입력1.xml|URI}} {{경로/대상/입력2.xml|URI}}` + +- 도움말 표시: + +`xml {{[sel|select]}} --help` diff --git a/pages.ko/common/xml-transform.md b/pages.ko/common/xml-transform.md new file mode 100644 index 00000000000000..ca9fac3c950319 --- /dev/null +++ b/pages.ko/common/xml-transform.md @@ -0,0 +1,12 @@ +# xml transform + +> XSLT를 사용하여 XML 문서를 변환. +> 더 많은 정보: . + +- XSL 스타일시트를 사용하여 XML 문서를 변환하고, 하나의 XPATH 매개변수와 하나의 리터럴 문자열 매개변수를 전달: + +`xml {{[tr|transform]}} {{경로/대상/스타일시트.xsl}} -p "{{Count='count(/xml/table/rec)'}}" -s {{Text="Count="}} {{경로/대상/입력.xml|URI}}` + +- 도움말 표시: + +`xml {{[tr|transform]}} --help` diff --git a/pages.ko/common/xml-unescape.md b/pages.ko/common/xml-unescape.md new file mode 100644 index 00000000000000..f4961057a202cb --- /dev/null +++ b/pages.ko/common/xml-unescape.md @@ -0,0 +1,16 @@ +# xml unescape + +> 특수 XML 문자를 원래대로 변환, 예: `<a1>` → ``. +> 더 많은 정보: . + +- 문자열에서 특수 XML 문자를 원래대로 변환: + +`xml {{[unesc|unescape]}} "{{<a1>}}"` + +- `stdin`에서 특수 XML 문자를 원래대로 변환: + +`echo "{{<a1>}}" | xml {{[unesc|unescape]}}` + +- 도움말 표시: + +`xml {{[esc|escape]}} --help` diff --git a/pages.ko/common/xml-validate.md b/pages.ko/common/xml-validate.md new file mode 100644 index 00000000000000..630183c399fc0a --- /dev/null +++ b/pages.ko/common/xml-validate.md @@ -0,0 +1,24 @@ +# xml validate + +> XML 문서 유효성 검사. +> 더 많은 정보: . + +- 하나 이상의 XML 문서가 잘 형성되었는지 검사: + +`xml {{[val|validate]}} {{경로/대상/입력1.xml|URI1 경로/대상/입력2.xml|URI2 ...}}` + +- 하나 이상의 XML 문서를 문서 유형 정의(DTD)와 비교하여 유효성 검사: + +`xml {{[val|validate]}} {{[-d|--dtd]}} {{경로/대상/스키마.dtd}} {{경로/대상/입력1.xml|URI1 경로/대상/입력2.xml|URI2 ...}}` + +- 하나 이상의 XML 문서를 XML 스키마 정의(XSD)와 비교하여 유효성 검사: + +`xml {{[val|validate]}} {{[-s|--xsd]}} {{경로/대상/스키마.xsd}} {{경로/대상/입력1.xml|URI1 경로/대상/입력2.xml|URI2 ...}}` + +- 하나 이상의 XML 문서를 Relax NG 스키마(RNG)와 비교하여 유효성 검사: + +`xml {{[val|validate]}} {{[-r|--relaxng]}} {{경로/대상/스키마.rng}} {{경로/대상/입력1.xml|URI1 경로/대상/입력2.xml|URI2 ...}}` + +- 도움말 표시: + +`xml {{[val|validate]}} --help` diff --git a/pages.ko/common/xml.md b/pages.ko/common/xml.md new file mode 100644 index 00000000000000..80a4c0bbc200d6 --- /dev/null +++ b/pages.ko/common/xml.md @@ -0,0 +1,29 @@ +# xml + +> XMLStarlet 도구 모음: XML 문서를 쿼리, 편집, 검사, 변환 및 변형. +> `xml validate`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 하위 명령 목록을 포함한 일반 도움말 표시: + +`xml --help` + +- 파일 또는 URI에서 입력을 받아 `stdout`에 출력하여 하위 명령 실행: + +`xml {{하위_명령}} {{옵션}} {{경로/대상/입력.xml|URI}}` + +- `stdin`과 `stdout`을 사용하여 하위 명령 실행: + +`xml {{하위_명령}} {{옵션}}` + +- 파일 또는 URI에서 입력을 받아 파일로 출력하여 하위 명령 실행: + +`xml {{하위_명령}} {{옵션}} {{경로/대상/입력.xml|URI}} > {{경로/대상/출력}}` + +- 특정 하위 명령에 대한 도움말 표시: + +`xml {{하위_명령}} --help` + +- 버전 표시: + +`xml --version` diff --git a/pages.ko/common/xmllint.md b/pages.ko/common/xmllint.md new file mode 100644 index 00000000000000..fcdc974ade15c5 --- /dev/null +++ b/pages.ko/common/xmllint.md @@ -0,0 +1,28 @@ +# xmllint + +> XPath를 지원하는 XML 파서 및 린터로, XML 트리를 탐색할 수 있는 구문입니다. +> 더 많은 정보: . + +- 이름이 "foo"인 모든 노드(태그) 반환: + +`xmllint --xpath "//{{foo}}" {{소스_파일.xml}}` + +- 이름이 "foo"인 첫 번째 노드의 내용을 문자열로 반환: + +`xmllint --xpath "string(//{{foo}})" {{소스_파일.xml}}` + +- HTML 파일에서 두 번째 앵커 요소의 href 속성 반환: + +`xmllint --html --xpath "string(//a[2]/@href)" webpage.xhtml` + +- 파일에서 사람이 읽을 수 있는(들여쓰기 된) XML 반환: + +`xmllint --format {{소스_파일.xml}}` + +- XML 파일이 DOCTYPE 선언의 요구 사항을 충족하는지 확인: + +`xmllint --valid {{소스_파일.xml}}` + +- 온라인에 호스팅된 DTD 스키마에 대해 XML 유효성 검사: + +`xmllint --dtdvalid {{URL}} {{소스_파일.xml}}` diff --git a/pages.ko/common/xmlstarlet.md b/pages.ko/common/xmlstarlet.md new file mode 100644 index 00000000000000..2d665ce136e1aa --- /dev/null +++ b/pages.ko/common/xmlstarlet.md @@ -0,0 +1,37 @@ +# xmlstarlet + +> 명령줄 XML/XSLT 도구 모음. +> 참고: XPath를 알아야 할 수도 있습니다: . +> 더 많은 정보: . + +- XML 문서를 포맷하여 `stdout`에 출력: + +`xmlstarlet format {{경로/대상/파일.xml}}` + +- XML 문서를 `stdin`에서 파이프로 입력할 수도 있음: + +`{{cat 경로/대상/파일.xml}} | xmlstarlet format` + +- 주어진 XPath와 일치하는 모든 노드 출력: + +`xmlstarlet select --template --copy-of {{xpath}} {{경로/대상/파일.xml}}` + +- 일치하는 모든 노드에 속성을 삽입하고 `stdout`에 출력 (원본 파일은 변경되지 않음): + +`xmlstarlet edit --insert {{xpath}} --type attr --name {{속성_이름}} --value {{속성_값}} {{경로/대상/파일.xml}}` + +- 일치하는 모든 노드의 값을 직접 업데이트 (원본 파일이 변경됨): + +`xmlstarlet edit --inplace --update {{xpath}} --value {{새로운_값}} {{파일.xml}}` + +- 일치하는 모든 노드 삭제 (원본 파일이 변경됨): + +`xmlstarlet edit --inplace --delete {{xpath}} {{파일.xml}}` + +- 주어진 문자열의 특수 XML 문자를 이스케이프 또는 언이스케이프: + +`xmlstarlet [un]escape {{문자열}}` + +- 주어진 디렉토리를 XML로 나열 (인수를 생략하면 현재 디렉토리를 나열): + +`xmlstarlet ls {{경로/대상/폴더}}` diff --git a/pages.ko/common/xmlto.md b/pages.ko/common/xmlto.md new file mode 100644 index 00000000000000..88323a1c8cb194 --- /dev/null +++ b/pages.ko/common/xmlto.md @@ -0,0 +1,20 @@ +# xmlto + +> XML 문서에 XSL 스타일시트를 적용. +> 더 많은 정보: . + +- DocBook XML 문서를 PDF 형식으로 변환: + +`xmlto {{pdf}} {{문서.xml}}` + +- DocBook XML 문서를 HTML 형식으로 변환하고 결과 파일을 별도의 디렉토리에 저장: + +`xmlto -o {{경로/대상/html_파일}} {{html}} {{문서.xml}}` + +- DocBook XML 문서를 단일 HTML 파일로 변환: + +`xmlto {{html-nochunks}} {{문서.xml}}` + +- DocBook XML 문서를 변환할 때 사용할 스타일시트 지정: + +`xmlto -x {{스타일시트.xsl}} {{출력_포맷}} {{문서.xml}}` diff --git a/pages.ko/common/xo.md b/pages.ko/common/xo.md new file mode 100644 index 00000000000000..db0252a9ffa962 --- /dev/null +++ b/pages.ko/common/xo.md @@ -0,0 +1,24 @@ +# xo + +> JavaScript용 플러그인 가능하고 설정이 필요 없는 린트 유틸리티. +> 더 많은 정보: . + +- "src" 폴더의 파일을 린트: + +`xo` + +- 주어진 파일 세트를 린트: + +`xo {{경로/대상/파일1.js 경로/대상/파일2.js ...}}` + +- 발견된 린트 문제를 자동으로 수정: + +`xo --fix` + +- 탭 대신 공백을 들여쓰기로 사용하여 린트: + +`xo --space` + +- "prettier" 코드 스타일로 린트: + +`xo --prettier` diff --git a/pages.ko/common/xonsh.md b/pages.ko/common/xonsh.md new file mode 100644 index 00000000000000..ce0878c30ebd4c --- /dev/null +++ b/pages.ko/common/xonsh.md @@ -0,0 +1,29 @@ +# xonsh + +> Python 기반의 크로스 플랫폼 및 Unix 지향 셸. +> Xonsh(발음: conch)에서 sh/Python 코드를 작성하고 혼합할 수 있습니다. +> 더 많은 정보: . + +- 대화형 셸 세션 시작: + +`xonsh` + +- 단일 명령 실행 후 종료: + +`xonsh -c "{{명령어}}"` + +- 스크립트 파일에서 명령을 실행하고 종료: + +`xonsh {{경로/대상/스크립트_파일.xonsh}}` + +- 셸 프로세스를 위한 환경 변수를 정의: + +`xonsh -D{{이름1}}={{값1}} -D{{이름2}}={{값2}}` + +- 지정된 `.xonsh` 또는 `.json` 설정 파일 로드: + +`xonsh --rc {{경로/대상/파일1.xonsh}} {{경로/대상/파일2.json}}` + +- `.xonshrc` 설정 파일 로딩 건너뜀: + +`xonsh --no-rc` diff --git a/pages.ko/common/xpdf.md b/pages.ko/common/xpdf.md new file mode 100644 index 00000000000000..08e6e5c471d497 --- /dev/null +++ b/pages.ko/common/xpdf.md @@ -0,0 +1,28 @@ +# xpdf + +> Portable Document Format (PDF) 파일 뷰어. +> 더 많은 정보: . + +- PDF 파일 열기: + +`xpdf {{경로/대상/파일.pdf}}` + +- 특정 페이지에서 PDF 파일 열기: + +`xpdf {{경로/대상/파일.pdf}} :{{페이지_번호}}` + +- 압축된 PDF 파일 열기: + +`xpdf {{경로/대상/파일.pdf.tar}}` + +- 전체 화면 모드로 PDF 파일 열기: + +`xpdf -fullscreen {{경로/대상/파일.pdf}}` + +- 초기 줌 비율 지정: + +`xpdf -z {{75}}% {{경로/대상/파일.pdf}}` + +- 페이지 너비 또는 전체 페이지로 초기 줌 비율 지정: + +`xpdf -z {{page|width}} {{경로/대상/파일.pdf}}` diff --git a/pages.ko/common/xplr.md b/pages.ko/common/xplr.md new file mode 100644 index 00000000000000..d2d1e75e93135b --- /dev/null +++ b/pages.ko/common/xplr.md @@ -0,0 +1,20 @@ +# xplr + +> 터미널 기반 파일 시스템 탐색기. +> 더 많은 정보: . + +- 디렉터리 열기: + +`xplr {{경로/대상/폴더}}` + +- 파일에 포커스 맞추기: + +`xplr {{경로/대상/파일}}` + +- 디렉터리에 포커스 맞추기: + +`xplr --force-focus {{경로/대상/폴더}}` + +- 특정 파일 또는 디렉터리가 선택된 상태로 디렉터리 열기: + +`xplr {{경로/대상/폴더}} {{경로/대상/선택된_파일_또는_폴더1}} {{경로/대상/선택된_파일_또는_폴더2}}` diff --git a/pages.ko/common/xpmtoppm.md b/pages.ko/common/xpmtoppm.md new file mode 100644 index 00000000000000..48310231a55ff7 --- /dev/null +++ b/pages.ko/common/xpmtoppm.md @@ -0,0 +1,12 @@ +# xpmtoppm + +> X11 픽스맵을 PPM 이미지로 변환. +> 더 많은 정보: . + +- XPM 이미지를 PPM 이미지로 변환: + +`xpmtoppm {{경로/대상/입력_파일.xpm}} > {{경로/대상/출력_파일.ppm}}` + +- 입력 이미지의 투명 마스크를 지정된 파일에 저장: + +`xpmtoppm --alphaout {{경로/대상/알파_파일.pbm}} {{경로/대상/입력_파일.xpm}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/xprop.md b/pages.ko/common/xprop.md new file mode 100644 index 00000000000000..d517a697e59dcb --- /dev/null +++ b/pages.ko/common/xprop.md @@ -0,0 +1,20 @@ +# xprop + +> X 서버에서 창 및 폰트 속성을 표시. +> 더 많은 정보: . + +- 루트 창의 이름 표시: + +`xprop -root WM_NAME` + +- 창의 윈도우 매니저 힌트 표시: + +`xprop -name "{{창_이름}}" WM_HINTS` + +- 폰트의 포인트 크기 표시: + +`xprop -font "{{폰트_이름}}" POINT_SIZE` + +- ID가 0x200007인 창의 모든 속성 표시: + +`xprop -id {{0x200007}}` diff --git a/pages.ko/common/xsp.md b/pages.ko/common/xsp.md new file mode 100644 index 00000000000000..78822150551668 --- /dev/null +++ b/pages.ko/common/xsp.md @@ -0,0 +1,12 @@ +# xsp + +> Mono ASP.NET 웹 서버. +> 더 많은 정보: . + +- 모든 인터페이스(`0.0.0.0`) 및 포트 `8080`에서 대기: + +`xsp` + +- 특정 IP 주소 및 포트에서 대기: + +`xsp --address {{127.0.0.1}} --port {{8000}}` diff --git a/pages.ko/common/xsv.md b/pages.ko/common/xsv.md new file mode 100644 index 00000000000000..5504b7c23524b6 --- /dev/null +++ b/pages.ko/common/xsv.md @@ -0,0 +1,28 @@ +# xsv + +> Rust로 작성된 CSV 명령줄 도구 모음. +> 더 많은 정보: . + +- 파일의 헤더 확인: + +`xsv headers {{경로/대상/파일.csv}}` + +- 항목 수 세기: + +`xsv count {{경로/대상/파일.csv}}` + +- 항목 형식 개요 보기: + +`xsv stats {{경로/대상/파일.csv}} | xsv table` + +- 몇몇 열 선택: + +`xsv select {{열1,열2}} {{경로/대상/파일.csv}}` + +- 10개의 무작위 항목 표시: + +`xsv sample {{10}} {{경로/대상/파일.csv}}` + +- 한 파일의 열을 다른 파일에 연결: + +`xsv join --no-case {{열1}} {{경로/대상/파일1.csv}} {{열2}} {{경로/대상/파일2.csv}} | xsv table` diff --git a/pages.ko/common/xteddy.md b/pages.ko/common/xteddy.md new file mode 100644 index 00000000000000..fdfb06080fb39a --- /dev/null +++ b/pages.ko/common/xteddy.md @@ -0,0 +1,24 @@ +# xteddy + +> X Windows 데스크탑에 귀여운 곰 인형을 표시하는 도구. +> 더 많은 정보: . + +- X 데스크탑에 귀여운 곰 인형 표시: + +`xteddy` + +- 윈도우 매니저를 사용해 곰 인형을 표시하고 "종료" (`q`) 명령을 무시: + +`xteddy -wm -noquit` + +- 곰 인형이 다른 모든 창 위에 머물도록 설정: + +`xteddy -float` + +- 귀여운 곰 인형 대신 다른 이미지 [F] 파일 표시: + +`xteddy -F {{경로/대상/이미지}}` + +- 곰 인형의 초기 위치 설정 (`너비` 및 `높이`는 무시됨): + +`xteddy -geometry {{너비}}x{{높이}}+{{x}}+{{y}}` diff --git a/pages.ko/common/xvminitoppm.md b/pages.ko/common/xvminitoppm.md new file mode 100644 index 00000000000000..91506807700f2a --- /dev/null +++ b/pages.ko/common/xvminitoppm.md @@ -0,0 +1,8 @@ +# xvminitoppm + +> XV 썸네일 이미지를 PPM으로 변환. +> 더 많은 정보: . + +- XV 썸네일 이미지 파일을 PPM으로 변환: + +`xvminitoppm {{경로/대상/입력_파일}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/xwdtopnm.md b/pages.ko/common/xwdtopnm.md new file mode 100644 index 00000000000000..b1c4e526b29935 --- /dev/null +++ b/pages.ko/common/xwdtopnm.md @@ -0,0 +1,16 @@ +# xwdtopnm + +> X11 또는 X10 윈도우 덤프 파일을 PNM으로 변환. +> 더 많은 정보: . + +- XWD 이미지 파일을 PBM으로 변환: + +`xwdtopnm {{경로/대상/입력_파일.xwd}} > {{경로/대상/출력_파일.pnm}}` + +- 변환 과정에 대한 정보 표시: + +`xwdtopnm -verbose {{경로/대상/입력_파일.xwd}} > {{경로/대상/출력_파일.pnm}}` + +- 입력 파일의 X11 헤더 내용 표시: + +`xwdtopnm -headerdump {{경로/대상/입력_파일.xwd}} > {{경로/대상/출력_파일.pnm}}` diff --git a/pages.ko/common/xwininfo.md b/pages.ko/common/xwininfo.md new file mode 100644 index 00000000000000..5a2f38f330f866 --- /dev/null +++ b/pages.ko/common/xwininfo.md @@ -0,0 +1,25 @@ +# xwininfo + +> 창에 대한 정보를 표시. +> 같이 보기: `xprop`, `xkill`. +> 더 많은 정보: . + +- 커서를 표시하여 창을 선택하고 해당 속성(아이디, 이름, 크기, 위치 등) 표시: + +`xwininfo` + +- 모든 창의 트리 구조 표시: + +`xwininfo -tree -root` + +- 특정 ID를 가진 창의 속성 표시: + +`xwininfo -id {{아이디}}` + +- 특정 이름을 가진 창의 속성 표시: + +`xwininfo -name {{이름}}` + +- 이름으로 검색하여 창의 ID 표시: + +`xwininfo -tree -root | grep {{키워드}} | head -1 | perl -ne 'print $1 if /(0x[\da-f]+)/ig;'` diff --git a/pages.ko/common/xxd.md b/pages.ko/common/xxd.md new file mode 100644 index 00000000000000..bf184b04a38f51 --- /dev/null +++ b/pages.ko/common/xxd.md @@ -0,0 +1,32 @@ +# xxd + +> 바이너리 파일에서 16진수 표현(hexdump)을 생성하거나 그 반대로 변환. +> 더 많은 정보: . + +- 바이너리 파일에서 16진수 덤프 생성 및 출력 표시: + +`xxd {{입력_파일}}` + +- 바이너리 파일에서 16진수 덤프를 생성하고 텍스트 파일로 저장: + +`xxd {{입력_파일}} {{출력_파일}}` + +- 연속된 0이 있을 경우 별표로 대체하여 더 간결한 출력 표시: + +`xxd -a {{입력_파일}}` + +- 각 1옥텟(바이트)로 이루어진 10개의 열로 출력 표시: + +`xxd -c {{10}} {{입력_파일}}` + +- 최대 32바이트 길이까지만 출력 표시: + +`xxd -l {{32}} {{입력_파일}}` + +- 열 사이에 간격 없이 평문 모드로 출력 표시: + +`xxd -p {{입력_파일}}` + +- 평문 16진수 덤프를 바이너리로 복원하고 바이너리 파일로 저장: + +`xxd -r -p {{입력_파일}} {{출력_파일}}` diff --git a/pages.ko/common/xxh.md b/pages.ko/common/xxh.md new file mode 100644 index 00000000000000..8eab4d42450991 --- /dev/null +++ b/pages.ko/common/xxh.md @@ -0,0 +1,37 @@ +# xxh + +> SSH 세션을 통해 모든 사용자 정의 설정과 함께 셸을 사용하세요. +> 참고: xxh는 대상 머신의 시스템 디렉토리에 아무것도 설치하지 않습니다; `~/.xxh`를 제거하면 대상 머신에서 xxh의 모든 흔적이 제거됩니다. +> 더 많은 정보: . + +- 호스트에 연결하고 현재 셸 실행: + +`xxh "{{호스트}}"` + +- 대화 상자 없이 현재 셸을 대상 머신에 설치: + +`xxh "{{호스트}}" ++install` + +- 대상 머신에서 지정된 셸 실행: + +`xxh "{{호스트}}" ++shell {{xonsh|zsh|fish|bash|osquery}}` + +- 대상 머신에서 특정 xxh 구성 디렉토리 사용: + +`xxh "{{호스트}}" ++host-xxh-home {{~/.xxh}}` + +- 호스트 머신에서 지정된 구성 파일 사용: + +`xxh "{{호스트}}" ++xxh-config {{~/.config/xxh/config.xxhc}}` + +- SSH 연결에 사용할 비밀번호 지정: + +`xxh "{{호스트}}" ++password "{{비밀번호}}"` + +- 대상 머신에 xxh 패키지 설치: + +`xxh "{{호스트}}" ++install-xxh-packages {{패키지}}` + +- 대상 머신의 셸 프로세스에 대한 환경 변수 설정: + +`xxh "{{호스트}}" ++env {{이름}}={{값}}` diff --git a/pages.ko/common/xz.md b/pages.ko/common/xz.md new file mode 100644 index 00000000000000..bb02698f779c2b --- /dev/null +++ b/pages.ko/common/xz.md @@ -0,0 +1,36 @@ +# xz + +> XZ 및 LZMA 파일을 압축 또는 해제. +> 더 많은 정보: . + +- 파일을 xz로 압축: + +`xz {{경로/대상/파일}}` + +- XZ 파일 압축 해제: + +`xz {{[-d|--decompress]}} {{경로/대상/파일.xz}}` + +- 파일을 lzma로 압축: + +`xz {{[-F|--format]}} lzma {{경로/대상/파일}}` + +- LZMA 파일 압축 해제: + +`xz {{[-d|--decompress]}} {{[-F|--format]}} lzma {{경로/대상/파일.lzma}}` + +- 파일 압축 해제 후 `stdout`에 쓰기 (`--keep` 포함): + +`xz {{[-d|--decompress]}} {{[-c|--stdout]}} {{경로/대상/파일.xz}}` + +- 파일을 압축하지만 원본을 삭제하지 않기: + +`xz {{[-k|--keep]}} {{경로/대상/파일}}` + +- 가장 빠른 압축으로 파일 압축: + +`xz -0 {{경로/대상/파일}}` + +- 최고의 압축으로 파일 압축: + +`xz -9 {{경로/대상/파일}}` diff --git a/pages.ko/common/xzcat.md b/pages.ko/common/xzcat.md new file mode 100644 index 00000000000000..a6d1011a4f625c --- /dev/null +++ b/pages.ko/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> 이 명령은 `xz` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr xz` diff --git a/pages.ko/common/xzcmp.md b/pages.ko/common/xzcmp.md new file mode 100644 index 00000000000000..08c51e8498ba9e --- /dev/null +++ b/pages.ko/common/xzcmp.md @@ -0,0 +1,9 @@ +# xzcmp + +> `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, 또는 `zstd`로 압축된 파일을 비교하기 위해 `cmp`를 호출. +> 지정된 모든 옵션은 `cmp`에 직접 전달됨. +> 더 많은 정보: . + +- 두 개의 특정 파일 비교: + +`xzcmp {{경로/대상/파일1}} {{경로/대상/파일2}}` diff --git a/pages.ko/common/xzdiff.md b/pages.ko/common/xzdiff.md new file mode 100644 index 00000000000000..4bd9d6d55441c2 --- /dev/null +++ b/pages.ko/common/xzdiff.md @@ -0,0 +1,25 @@ +# xzdiff + +> `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, 또는 `zstd`로 압축된 파일에 대해 `diff`를 실행. +> 지정된 모든 옵션은 `diff`에 직접 전달됩니다. +> 더 많은 정보: . + +- 두 파일 비교: + +`xzdiff {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 두 파일을 비교하여 차이를 나란히 표시: + +`xzdiff --side-by-side {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 두 파일을 비교하고 다르다는 것만 보고(차이점 세부사항은 없음): + +`xzdiff --brief {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 두 파일을 비교하고 파일이 동일할 때 보고: + +`xzdiff --report-identical-files {{경로/대상/파일1}} {{경로/대상/파일2}}` + +- 페이지 단위로 결과를 보여주며 두 파일 비교: + +`xzdiff --paginate {{경로/대상/파일1}} {{경로/대상/파일2}}` diff --git a/pages.ko/common/xzegrep.md b/pages.ko/common/xzegrep.md new file mode 100644 index 00000000000000..6474854589857a --- /dev/null +++ b/pages.ko/common/xzegrep.md @@ -0,0 +1,8 @@ +# xzegrep + +> 이 명령은 `xzgrep --extended-regexp`의 별칭입니다. +> 같이 보기: `egrep`. + +- 원본 명령에 대한 문서 보기: + +`tldr xzgrep` diff --git a/pages.ko/common/xzfgrep.md b/pages.ko/common/xzfgrep.md new file mode 100644 index 00000000000000..5a7b5701d2505d --- /dev/null +++ b/pages.ko/common/xzfgrep.md @@ -0,0 +1,8 @@ +# xzfgrep + +> 이 명령은 `xzgrep --fixed-strings`의 별칭입니다. +> 같이 보기: `fgrep`. + +- 원본 명령에 대한 문서 보기: + +`tldr xzgrep` diff --git a/pages.ko/common/xzgrep.md b/pages.ko/common/xzgrep.md new file mode 100644 index 00000000000000..2dfe01219da327 --- /dev/null +++ b/pages.ko/common/xzgrep.md @@ -0,0 +1,33 @@ +# xzgrep + +> 정규식을 사용하여 `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, 또는 `zstd`로 압축된 파일을 검색합니다. +> 같이 보기: `grep`. +> 더 많은 정보: . + +- 파일 내 패턴 검색: + +`xzgrep "{{검색_패턴}}" {{경로/대상/파일}}` + +- 정확한 문자열 검색 (정규식 사용 안 함): + +`xzgrep --fixed-strings "{{정확한_문자열}}" {{경로/대상/파일}}` + +- 모든 파일에서 패턴을 검색하고 일치하는 줄 번호 표시: + +`xzgrep --line-number "{{검색_패턴}}" {{경로/대상/파일}}` + +- 확장 정규식(지원: `?`, `+`, `{}`, `()` 및 `|`)과 대소문자 구분 없는 모드 사용: + +`xzgrep --extended-regexp --ignore-case "{{검색_패턴}}" {{경로/대상/파일}}` + +- 각 일치 항목 주변, 이전 또는 이후에 3줄의 컨텍스트 출력: + +`xzgrep --{{context|before-context|after-context}}={{3}} "{{검색_패턴}}" {{경로/대상/파일}}` + +- 각 일치 항목에 대해 파일 이름과 줄 번호를 색상 출력으로 표시: + +`xzgrep --with-filename --line-number --color=always "{{검색_패턴}}" {{경로/대상/파일}}` + +- 패턴과 일치하는 줄을 검색하고 일치하는 텍스트만 출력: + +`xzgrep --only-matching "{{검색_패턴}}" {{경로/대상/파일}}` diff --git a/pages.ko/common/xzless.md b/pages.ko/common/xzless.md new file mode 100644 index 00000000000000..69d71a1078fd87 --- /dev/null +++ b/pages.ko/common/xzless.md @@ -0,0 +1,17 @@ +# xzless + +> `xz` 및 `lzma` 압축 파일에서 텍스트를 표시. +> 같이 보기: `less`. +> 더 많은 정보: . + +- 압축 파일 보기: + +`xzless {{경로/대상/파일}}` + +- 압축 파일을 보고 줄 번호 표시: + +`xzless --LINE-NUMBERS {{경로/대상/파일}}` + +- 압축 파일을 보고 첫 화면에 전체 파일이 표시될 수 있으면 종료: + +`xzless --quit-if-one-screen {{경로/대상/파일}}` diff --git a/pages.ko/common/xzmore.md b/pages.ko/common/xzmore.md new file mode 100644 index 00000000000000..6374821d751288 --- /dev/null +++ b/pages.ko/common/xzmore.md @@ -0,0 +1,9 @@ +# xzmore + +> `xz` 또는 `lzma`로 압축된 파일의 텍스트를 표시. +> `xzless`와 거의 동일하지만, `PAGER` 환경 변수를 존중하고 기본적으로 `more`를 사용하며, 페이지 매개변수에 옵션을 전달할 수 없습니다. +> 더 많은 정보: . + +- 압축된 파일 보기: + +`xzmore {{경로/대상/파일}}` diff --git a/pages.ko/common/ya.md b/pages.ko/common/ya.md new file mode 100644 index 00000000000000..4301be09aab18b --- /dev/null +++ b/pages.ko/common/ya.md @@ -0,0 +1,28 @@ +# ya + +> Yazi 패키지 및 플러그인 관리. +> 더 많은 정보: . + +- 패키지 추가: + +`ya pack -a {{패키지}}` + +- 모든 패키지 업그레이드: + +`ya pack -u` + +- 모든 원격 인스턴스로부터 메시지 구독: + +`ya sub {{종류}}` + +- 현재 인스턴스에 문자열 본문의 메시지 발행: + +`ya pub --str {{문자열_메시지}}` + +- 현재 인스턴스에 JSON 본문의 메시지 발행: + +`ya pub --json {{json_메시지}}` + +- 지정된 인스턴스에 문자열 본문의 메시지 발행: + +`ya pub-to --str {{메시지}} {{수신자}} {{종류}}` diff --git a/pages.ko/common/yacas.md b/pages.ko/common/yacas.md new file mode 100644 index 00000000000000..6c9cc082d90f91 --- /dev/null +++ b/pages.ko/common/yacas.md @@ -0,0 +1,28 @@ +# yacas + +> 또 다른 컴퓨터 대수 시스템. +> 더 많은 정보: . + +- 대화형 `yacas` 세션 시작: + +`yacas` + +- `yacas` 세션에서 문 실행: + +`{{Integrate(x)Cos(x)}};` + +- `yacas` 세션에서 예시 표시: + +`{{Example()}};` + +- `yacas` 세션 종료: + +`{{quit}}` + +- 하나 이상의 `yacas` 스크립트를 실행하고(터미널이나 프롬프트 없이) 종료: + +`yacas -p -c {{경로/대상/스크립트1}} {{경로/대상/스크립트2}}` + +- 하나의 문을 실행하고 결과를 출력한 후 종료: + +`echo "{{Echo( Deriv(x)Cos(1/x) );}}" | yacas -p -c /dev/stdin` diff --git a/pages.ko/common/yacc.md b/pages.ko/common/yacc.md new file mode 100644 index 00000000000000..a9fd2b19a5b5a4 --- /dev/null +++ b/pages.ko/common/yacc.md @@ -0,0 +1,17 @@ +# yacc + +> 형식 문법 명세 파일로 LALR 파서를 (C 언어로) 생성합니다. +> 같이 보기: `bison`. +> 더 많은 정보: . + +- C 파서 코드가 포함된 `y.tab.c` 파일을 생성하고 모든 필요한 상수 선언과 함께 문법 파일을 컴파일합니다. (상수 선언 파일 `y.tab.h`는 `-d` 플래그가 사용될 때만 생성됩니다): + +`yacc -d {{경로/대상/문법_파일.y}}` + +- 문법의 모호성으로 인한 충돌 보고서와 함께 파서 설명이 포함된 문법 파일 컴파일: + +`yacc -d {{경로/대상/문법_파일.y}} -v` + +- 문법 파일을 컴파일하고, 출력 파일 이름을 `y` 대신 `prefix`로 접두사 지정: + +`yacc -d {{경로/대상/문법_파일.y}} -v -b {{prefix}}` diff --git a/pages.ko/common/yadm-alt.md b/pages.ko/common/yadm-alt.md new file mode 100644 index 00000000000000..b6bb4e94ce5d4d --- /dev/null +++ b/pages.ko/common/yadm-alt.md @@ -0,0 +1,9 @@ +# yadm-alt + +> 관리되는 파일에 대한 심볼릭 링크를 생성하고 템플릿을 처리. +> 템플릿에 대해 더 알아보기: . +> 더 많은 정보: . + +- 대체 파일 간의 심볼릭 링크를 수동으로 생성: + +`yadm alt` diff --git a/pages.ko/common/yadm-bootstrap.md b/pages.ko/common/yadm-bootstrap.md new file mode 100644 index 00000000000000..1470a796f0c2a2 --- /dev/null +++ b/pages.ko/common/yadm-bootstrap.md @@ -0,0 +1,9 @@ +# yadm-bootstrap + +> Yadm의 부트스트랩 파일 실행. +> 이 파일은 `$HOME/.config/yadm/bootstrap`에 생성되어야 합니다. +> 더 많은 정보: . + +- 부트스트랩 실행 파일 실행: + +`yadm bootstrap` diff --git a/pages.ko/common/yadm-clone.md b/pages.ko/common/yadm-clone.md new file mode 100644 index 00000000000000..a79b358730fe1b --- /dev/null +++ b/pages.ko/common/yadm-clone.md @@ -0,0 +1,30 @@ +# yadm-clone + +> `git clone`과 유사하게 작동하며, 추가 플래그를 통해 저장소를 구성할 수 있습니다. +> 저장소에 부트스트랩 파일이 있으면 실행 여부를 묻습니다. +> 같이 보기: `git clone`. +> 더 많은 정보: . + +- 기존 저장소 복제: + +`yadm clone {{원격_저장소_위치}}` + +- 기존 저장소를 복제하고 부트스트랩 파일 실행: + +`yadm clone {{원격_저장소_위치}} --bootstrap` + +- 기존 저장소를 복제한 후 부트스트랩 파일을 실행하지 않음: + +`yadm clone {{원격_저장소_위치}} --no-bootstrap` + +- 복제 중 `yadm`이 사용할 작업 트리 변경: + +`yadm clone {{원격_저장소_위치}} --w {{작업_트리_파일}}` + +- `yadm`이 파일을 가져오는 분기 변경: + +`yadm clone {{원격_저장소_위치}} -b {{분기}}` + +- 기존 저장소 로컬 분기 덮어쓰기: + +`yadm clone {{원격_저장소_위치}} -f` diff --git a/pages.ko/common/yadm-config.md b/pages.ko/common/yadm-config.md new file mode 100644 index 00000000000000..a99c5b9255ed1a --- /dev/null +++ b/pages.ko/common/yadm-config.md @@ -0,0 +1,20 @@ +# yadm-config + +> `yadm`의 구성 파일에 옵션을 전달하여 `yadm`이 관리하는 저장소의 `.config`를 변경합니다. +> 더 많은 정보: . + +- `yadm`의 Git 구성 설정 또는 업데이트: + +`yadm config {{키.내부_키}} {{값}}` + +- `yadm`의 Git 구성에서 값 가져오기: + +`yadm config --get {{키}}` + +- `yadm`의 Git 구성에서 값 제거: + +`yadm config --unset {{키}}` + +- `yadm`의 Git 구성에 있는 모든 값 나열: + +`yadm config --list` diff --git a/pages.ko/common/yadm-decrypt.md b/pages.ko/common/yadm-decrypt.md new file mode 100644 index 00000000000000..e682aee462ba2a --- /dev/null +++ b/pages.ko/common/yadm-decrypt.md @@ -0,0 +1,9 @@ +# yadm-decrypt + +> `yadm`에 의해 암호화된 파일을 복호화. +> 이 명령을 활성화하면 비밀번호를 입력하라는 메시지가 표시됩니다. +> 더 많은 정보: . + +- 파일 복호화: + +`yadm decrypt` diff --git a/pages.ko/common/yadm-encrypt.md b/pages.ko/common/yadm-encrypt.md new file mode 100644 index 00000000000000..3328b0c0f0c484 --- /dev/null +++ b/pages.ko/common/yadm-encrypt.md @@ -0,0 +1,13 @@ +# yadm-encrypt + +> 지정된 암호화 파일에 나열된 파일 암호화. +> 파일이 암호화된 후 지정된 아카이브 폴더에 저장됩니다. +> 더 많은 정보: . + +- 지정된 암호화 파일에 나열된 파일 암호화: + +`yadm encrypt` + +- 암호화를 위한 필수 파일 및 폴더 생성: + +`touch {{경로/대상/암호화_파일}} && mkdir {{경로/대상/아카이브_폴더}}` diff --git a/pages.ko/common/yadm-enter.md b/pages.ko/common/yadm-enter.md new file mode 100644 index 00000000000000..035ea8db523f81 --- /dev/null +++ b/pages.ko/common/yadm-enter.md @@ -0,0 +1,13 @@ +# yadm-enter + +> 모든 Git 변수가 설정된 하위 셸을 실행합니다. 이 하위 셸은 Git 명령을 사용하여 로컬 `yadm` 저장소와 쉽게 상호작용하는 데 사용할 수 있습니다. +> Git을 직접 사용하는 도구를 사용하는 경우 유용할 수 있습니다. +> 더 많은 정보: . + +- 모든 Git 변수가 설정된 하위 셸 실행: + +`yadm enter` + +- 하위 셸 종료: + +`exit` diff --git a/pages.ko/common/yadm-git-crypt.md b/pages.ko/common/yadm-git-crypt.md new file mode 100644 index 00000000000000..be1b11fdbfac78 --- /dev/null +++ b/pages.ko/common/yadm-git-crypt.md @@ -0,0 +1,21 @@ +# yadm git-crypt + +> Git Crypt는 Git 저장소에서 파일의 투명한 암호화 및 복호화를 가능하게 합니다. +> 같이 보기: `git-crypt`. +> 더 많은 정보: . + +- Git Crypt를 사용하도록 저장소 초기화: + +`yadm git-crypt init` + +- GPG를 사용하여 저장소 공유: + +`yadm git-crypt add-gpg-user {{사용자_아이디}}` + +- 암호화된 파일이 있는 저장소를 복제한 후 파일 잠금 해제: + +`yadm git-crypt unlock` + +- 대칭 비밀 키 내보내기: + +`yadm git-crypt export-key {{경로/대상/키_파일}}` diff --git a/pages.ko/common/yadm-gitconfig.md b/pages.ko/common/yadm-gitconfig.md new file mode 100644 index 00000000000000..02b5f7bac851d3 --- /dev/null +++ b/pages.ko/common/yadm-gitconfig.md @@ -0,0 +1,21 @@ +# yadm-gitconfig + +> `git config`에 옵션을 전달하여 `yadm`으로 관리하는 저장소의 `.gitconfig`를 변경합니다. +> 같이 보기: `git config`. +> 더 많은 정보: . + +- Git 구성 값을 업데이트하거나 설정: + +`yadm gitconfig {{키.내부키}} {{값}}` + +- `yadm`의 Git 구성에서 값 가져오기: + +`yadm gitconfig --get {{키}}` + +- `yadm`의 Git 구성에서 값 제거: + +`yadm gitconfig --unset {{키}}` + +- `yadm`의 Git 구성의 모든 값 나열: + +`yadm gitconfig --list` diff --git a/pages.ko/common/yadm-init.md b/pages.ko/common/yadm-init.md new file mode 100644 index 00000000000000..2828d30d3f16a1 --- /dev/null +++ b/pages.ko/common/yadm-init.md @@ -0,0 +1,17 @@ +# yadm-init + +> 새로운 빈 저장소를 초기화하여 dotfiles를 추적. +> 저장소는 `$HOME/.local/share/yadm/repo.git`에 저장됩니다. +> 더 많은 정보: . + +- 실행: + +`yadm init` + +- 작업 트리 덮어쓰기: + +`yadm init -w {{경로/대상/작업트리_폴더}}` + +- 기존 저장소 덮어쓰기: + +`yadm init -f {{경로/대상/로컬_저장소}}` diff --git a/pages.ko/common/yadm-introspect.md b/pages.ko/common/yadm-introspect.md new file mode 100644 index 00000000000000..5f028741bc71de --- /dev/null +++ b/pages.ko/common/yadm-introspect.md @@ -0,0 +1,21 @@ +# yadm-introspect + +> `yadm`으로 관리되는 데이터를 살펴봅니다. +> 내부 검사의 목적은 명령줄 자동 완성을 지원하는 것입니다. +> 더 많은 정보: . + +- 명령 출력: + +`yadm introspect commands` + +- 설정 출력: + +`yadm introspect configs` + +- 주요 `yadm` 명령의 스위치 출력: + +`yadm introspect switches` + +- 저장소 출력: + +`yadm introspect repo` diff --git a/pages.ko/common/yadm-list.md b/pages.ko/common/yadm-list.md new file mode 100644 index 00000000000000..70632505e32b0f --- /dev/null +++ b/pages.ko/common/yadm-list.md @@ -0,0 +1,12 @@ +# yadm-list + +> `yadm`이 관리하는 파일 목록 출력. +> 더 많은 정보: . + +- 현재 디렉토리에서 `yadm`이 관리하는 파일 목록 출력: + +`yadm list` + +- `yadm`이 완전히 관리하는 모든 파일 목록 출력: + +`yadm list -a` diff --git a/pages.ko/common/yadm-perms.md b/pages.ko/common/yadm-perms.md new file mode 100644 index 00000000000000..cb36a740e2fb38 --- /dev/null +++ b/pages.ko/common/yadm-perms.md @@ -0,0 +1,9 @@ +# yadm-perms + +> 권한 업데이트. +> `yadm`이 기본적으로 권한을 자동으로 처리하므로 이 명령을 실행할 필요는 없습니다. 이 자동 동작은 설정 `yadm.auto-perms`를 `"false"`로 설정하여 비활성화할 수 있습니다. +> 더 많은 정보: . + +- 파일 권한 변경: + +`yadm perms` diff --git a/pages.ko/common/yadm-transcrypt.md b/pages.ko/common/yadm-transcrypt.md new file mode 100644 index 00000000000000..f54bf6048ff41e --- /dev/null +++ b/pages.ko/common/yadm-transcrypt.md @@ -0,0 +1,26 @@ +# yadm-transcrypt + +> `transcrypt`가 설치된 경우, 이 명령을 통해 `transcrypt`에 직접 옵션을 전달할 수 있습니다. +> yadm 저장소를 사용하도록 환경이 구성되어 있습니다. +> Transcrypt는 Git 저장소의 파일에 대해 투명한 암호화 및 복호화를 지원합니다. +> 더 많은 정보: . + +- 암호화에 사용할 대칭 암호 설정: + +`yadm transcrypt --cipher={{암호}}` + +- 키를 유도할 암호 전달: + +`yadm transcrypt --password={{암호}}` + +- 예를 가정하고 지정되지 않은 옵션에 대해 기본값 수락: + +`yadm transcrypt --yes` + +- 현재 저장소의 암호와 암호 표시: + +`yadm transcrypt --display` + +- 새로운 자격 증명을 사용하여 모든 암호화된 파일을 다시 암호화: + +`yadm transcrypt --rekey` diff --git a/pages.ko/common/yadm-upgrade.md b/pages.ko/common/yadm-upgrade.md new file mode 100644 index 00000000000000..b49885d37c17f1 --- /dev/null +++ b/pages.ko/common/yadm-upgrade.md @@ -0,0 +1,13 @@ +# yadm-upgrade + +> `yadm`을 최신 버전으로 업그레이드. +> 업그레이드 시 서브모듈을 비초기화하고 다시 초기화하려고 시도합니다. +> 더 많은 정보: . + +- `yadm`을 최신 버전으로 업그레이드: + +`yadm upgrade` + +- 변경 사항에 관계없이 강제로 업그레이드: + +`yadm upgrade -f` diff --git a/pages.ko/common/yadm.md b/pages.ko/common/yadm.md new file mode 100644 index 00000000000000..f0c18e4690b426 --- /dev/null +++ b/pages.ko/common/yadm.md @@ -0,0 +1,33 @@ +# yadm + +> `git`을 사용하여 작동하는 dotfiles 관리 도구. +> `init`, `clone`, `push`, `pull`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- `yadm` 디렉터리 재정의: `yadm`은 이 디렉터리를 기준으로 구성을 저장합니다: + +`yadm --yadm-dir` + +- `yadm` 데이터 디렉터리 재정의: `yadm`은 이 디렉터리를 기준으로 데이터를 저장합니다: + +`yadm --yadm-data` + +- `yadm` 리포지토리 위치 재정의: + +`yadm --yadm-repo` + +- `yadm` 구성 파일 위치 재정의: + +`yadm --yadm-config` + +- `yadm` 암호화 구성 위치 재정의: + +`yadm --yadm-encrypt` + +- `yadm` 암호화된 파일 아카이브 위치 재정의: + +`yadm --yadm-archive` + +- `yadm` 부트스트랩 프로그램 위치 재정의: + +`yadm --yadm-bootstrap` diff --git a/pages.ko/common/yank.md b/pages.ko/common/yank.md new file mode 100644 index 00000000000000..01a14a44f01460 --- /dev/null +++ b/pages.ko/common/yank.md @@ -0,0 +1,20 @@ +# yank + +> `stdin`에서 입력을 읽고 선택 인터페이스를 표시하여 필드를 선택하고 클립보드에 복사할 수 있게 합니다. +> 더 많은 정보: . + +- 기본 구분자 (\f, \n, \r, \s, \t)를 사용하여 Yank: + +`{{sudo dmesg}} | yank` + +- 전체 라인을 Yank: + +`{{sudo dmesg}} | yank -l` + +- 특정 구분자를 사용하여 Yank: + +`{{echo hello=world}} | yank -d {{=}}` + +- 특정 패턴과 일치하는 필드만 Yank: + +`{{ps ux}} | yank -g "{{[0-9]+}}"` diff --git a/pages.ko/common/yapf.md b/pages.ko/common/yapf.md new file mode 100644 index 00000000000000..a9c8864c7ce762 --- /dev/null +++ b/pages.ko/common/yapf.md @@ -0,0 +1,16 @@ +# yapf + +> Python 스타일 가이드 검사기. +> 더 많은 정보: . + +- 변경 사항을 적용하지 않고 변경 사항의 차이를 표시 (드라이런): + +`yapf --diff {{경로/대상/파일}}` + +- 파일을 제자리에서 포맷하고 변경 사항의 차이를 표시: + +`yapf --diff --in-place {{경로/대상/파일}}` + +- 디렉토리 내의 모든 Python 파일을 재귀적으로 동시에 포맷: + +`yapf --recursive --in-place --style {{pep8}} --parallel {{경로/대상/폴더}}` diff --git a/pages.ko/common/yard.md b/pages.ko/common/yard.md new file mode 100644 index 00000000000000..5adb28dd9f86a4 --- /dev/null +++ b/pages.ko/common/yard.md @@ -0,0 +1,16 @@ +# yard + +> Ruby를 위한 문서화 도구. +> 더 많은 정보: . + +- 문서 생성: + +`yard` + +- 문서를 생성하고 하나의 파일로 저장: + +`yard --one-file` + +- 문서화되지 않은 모든 객체 나열: + +`yard stats --list-undoc` diff --git a/pages.ko/common/yarn-why.md b/pages.ko/common/yarn-why.md new file mode 100644 index 00000000000000..634d29a65817ba --- /dev/null +++ b/pages.ko/common/yarn-why.md @@ -0,0 +1,8 @@ +# yarn-why + +> Yarn 패키지가 설치된 이유를 식별합니다. +> 더 많은 정보: . + +- Yarn 패키지가 설치된 이유 표시: + +`yarn-why {{패키지}}` diff --git a/pages.ko/common/yarn.md b/pages.ko/common/yarn.md new file mode 100644 index 00000000000000..66f29e058ef6c7 --- /dev/null +++ b/pages.ko/common/yarn.md @@ -0,0 +1,28 @@ +# yarn + +> JavaScript 및 Node.js 패키지 대체 관리자. +> 더 많은 정보: . + +- 전역적으로 모듈 설치: + +`yarn global add {{모듈_이름}}` + +- `package.json` 파일에 참조된 모든 의존성을 설치 ( `install`은 선택 사항입니다): + +`yarn install` + +- 모듈을 설치하고 `package.json` 파일에 대한 의존성으로 저장 (개발 전용 의존성으로 추가하려면 `--dev` 추가): + +`yarn add {{모듈_이름}}@{{버전}}` + +- 모듈을 제거하고 `package.json` 파일에서 제거: + +`yarn remove {{모듈_이름}}` + +- 대화형으로 `package.json` 파일 생성: + +`yarn init` + +- 모듈이 의존성인지 확인하고, 해당 모듈에 의존성이 있는 다른 모듈을 나열: + +`yarn why {{모듈_이름}}` diff --git a/pages.ko/common/yazi.md b/pages.ko/common/yazi.md new file mode 100644 index 00000000000000..0f20998e97d32b --- /dev/null +++ b/pages.ko/common/yazi.md @@ -0,0 +1,21 @@ +# yazi + +> Rust로 작성된 매우 빠른 터미널 파일 관리자. +> 효율적이고 사용자 친화적이며 맞춤형 파일 관리 경험 제공. +> 더 많은 정보: . + +- 현재 디렉토리에서 Yazi 시작: + +`yazi` + +- 디버그 정보 출력: + +`yazi --debug` + +- 종료 시 현재 작업 디렉토리를 파일에 기록: + +`yazi --cwd-file {{경로/대상/cwd_파일}}` + +- 캐시 디렉토리 비우기: + +`yazi --clear-cache` diff --git a/pages.ko/common/ybacklight.md b/pages.ko/common/ybacklight.md new file mode 100644 index 00000000000000..51e4797e9a857b --- /dev/null +++ b/pages.ko/common/ybacklight.md @@ -0,0 +1,20 @@ +# ybacklight + +> 화면 백라이트 밝기 관리. 같이 보기: `xbacklight`. +> 더 많은 정보: . + +- 현재 밝기와 최대 밝기를 슬래시로 구분하여 짧게 출력: + +`ybacklight Sc/Sm` + +- 밝기 지정: + +`ybacklight s{{420}}` + +- 밝기를 42 큰 단계(기본값 4200)만큼 증가: + +`ybacklight Si42` + +- 밝기를 300만큼 감소: + +`ybacklight d300` diff --git a/pages.ko/common/ybmtopbm.md b/pages.ko/common/ybmtopbm.md new file mode 100644 index 00000000000000..abfbef5a0897cf --- /dev/null +++ b/pages.ko/common/ybmtopbm.md @@ -0,0 +1,8 @@ +# ybmtopbm + +> Bennet Yee "face" 파일을 PBM으로 변환. +> 더 많은 정보: . + +- YBM 이미지 파일을 PBM으로 변환: + +`ybmtopbm {{경로/대상/입력_파일.ybm}} > {{경로/대상/출력_파일.pbm}}` diff --git a/pages.ko/common/yes.md b/pages.ko/common/yes.md new file mode 100644 index 00000000000000..458dc9c7a4e0b3 --- /dev/null +++ b/pages.ko/common/yes.md @@ -0,0 +1,21 @@ +# yes + +> 무언가를 반복적으로 출력. +> 이 명령은 일반적으로 설치 명령(예: `apt-get`)의 모든 프롬프트에 'yes'로 응답하기 위해 사용됩니다. +> 더 많은 정보: . + +- "메시지"를 반복적으로 출력: + +`yes {{메시지}}` + +- "y"를 반복적으로 출력: + +`yes` + +- `apt-get` 명령의 모든 프롬프트에 수락: + +`yes | sudo apt-get install {{프로그램}}` + +- 항상 프롬프트의 기본 옵션을 수락하도록 줄바꿈을 반복적으로 출력: + +`yes ''` diff --git a/pages.ko/common/yesod.md b/pages.ko/common/yesod.md new file mode 100644 index 00000000000000..ef910a6811ef1a --- /dev/null +++ b/pages.ko/common/yesod.md @@ -0,0 +1,25 @@ +# yesod + +> Haskell 기반 웹 프레임워크 Yesod의 도우미 도구. +> 모든 Yesod 명령은 `stack` 프로젝트 관리자를 통해 실행됩니다. +> 더 많은 정보: . + +- `my-project` 디렉토리에 SQLite를 백엔드로 하는 새로운 스캐폴딩 사이트 생성: + +`stack new {{my-project}} {{yesod-sqlite}}` + +- Yesod 스캐폴딩 사이트 내에서 Yesod CLI 도구 설치: + +`stack build yesod-bin cabal-install --install-ghc` + +- 개발 서버 시작: + +`stack exec -- yesod devel` + +- 변경된 템플릿 Haskell 의존성을 가진 파일 터치: + +`stack exec -- yesod touch` + +- Keter(Yesod의 배포 관리자)를 사용하여 애플리케이션 배포: + +`stack exec -- yesod keter` diff --git a/pages.ko/common/ykinfo.md b/pages.ko/common/ykinfo.md new file mode 100644 index 00000000000000..64611b8e8c975a --- /dev/null +++ b/pages.ko/common/ykinfo.md @@ -0,0 +1,16 @@ +# ykinfo + +> YubiKey에서 기본 정보를 가져옵니다. +> 더 많은 정보: . + +- YubiKey의 모든 정보 표시: + +`ykinfo -a` + +- YubiKey에서 10진수로 된 일련 번호만 가져오기: + +`ykinfo -s -q` + +- YubiKey에서 기능 가져오기: + +`ykinfo -c` diff --git a/pages.ko/common/ykman-config.md b/pages.ko/common/ykman-config.md new file mode 100644 index 00000000000000..488e734babf469 --- /dev/null +++ b/pages.ko/common/ykman-config.md @@ -0,0 +1,17 @@ +# ykman config + +> YubiKey 애플리케이션 활성화 또는 비활성화. +> 참고: 현재 활성화된 애플리케이션을 보려면 `ykman info`를 사용할 수 있습니다. +> 더 많은 정보: . + +- USB 또는 NFC를 통해 애플리케이션 활성화 (`--enable`을 여러 번 사용하여 더 많은 애플리케이션을 지정할 수 있음): + +`ykman config {{usb|nfc}} {{[-e|--enable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` + +- USB 또는 NFC를 통해 애플리케이션 비활성화 (`--disable`을 여러 번 사용하여 더 많은 애플리케이션을 지정할 수 있음): + +`ykman config {{usb|nfc}} {{[-d|--disable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` + +- NFC를 통해 모든 애플리케이션 비활성화: + +`ykman config nfc {{[-D|--disable-all]}}` diff --git a/pages.ko/common/ykman-fido.md b/pages.ko/common/ykman-fido.md new file mode 100644 index 00000000000000..23676661a1b6e1 --- /dev/null +++ b/pages.ko/common/ykman-fido.md @@ -0,0 +1,36 @@ +# ykman fido + +> YubiKey FIDO 애플리케이션 관리. +> 더 많은 정보: . + +- FIDO2 애플리케이션에 대한 일반 정보 표시: + +`ykman fido info` + +- FIDO PIN 변경: + +`ykman fido access change-pin` + +- YubiKey에 저장된 거주 인증서 나열: + +`ykman fido credentials list` + +- YubiKey에서 거주 인증서 삭제: + +`ykman fido credentials delete {{id}}` + +- YubiKey에 저장된 지문 나열 (지문 센서가 있는 키 필요): + +`ykman fido fingerprints list` + +- YubiKey에 새 지문 추가: + +`ykman fido fingerprints add {{이름}}` + +- YubiKey에서 지문 삭제: + +`ykman fido fingerprints delete {{이름}}` + +- 모든 FIDO 자격 증명 삭제 (PIN 재시도 횟수를 초과한 후 수행해야 함): + +`ykman fido reset` diff --git a/pages.ko/common/ykman-oath.md b/pages.ko/common/ykman-oath.md new file mode 100644 index 00000000000000..0269a62a3852cd --- /dev/null +++ b/pages.ko/common/ykman-oath.md @@ -0,0 +1,37 @@ +# ykman oath + +> OATH YubiKey 애플리케이션 관리. +> `keyword`는 이름 또는 발행자의 일부일 수 있습니다. +> 더 많은 정보: . + +- OATH 애플리케이션에 대한 일반 정보 표시: + +`ykman oath info` + +- OATH 계정을 보호하는 데 사용되는 비밀번호 변경 (`--clear`를 추가하여 제거): + +`ykman oath access change` + +- 새 계정 추가 (`--issuer`는 선택 사항): + +`ykman oath accounts add {{[-i|--issuer]}} {{발행자}} {{이름}}` + +- 모든 계정 나열 (발행자 포함): + +`ykman oath accounts list` + +- 현재 TOTP/HOTP 코드와 함께 모든 계정 나열 (키워드로 목록 필터링 가능): + +`ykman oath accounts code {{키워드}}` + +- 계정 이름 변경: + +`ykman oath accounts rename {{키워드}} {{발행자:이름|이름}}` + +- 계정 삭제: + +`ykman oath accounts delete {{키워드}}` + +- 모든 계정 삭제 및 공장 초기화: + +`ykman oath reset` diff --git a/pages.ko/common/ykman-openpgp.md b/pages.ko/common/ykman-openpgp.md new file mode 100644 index 00000000000000..a9ce6d5e1aa796 --- /dev/null +++ b/pages.ko/common/ykman-openpgp.md @@ -0,0 +1,21 @@ +# ykman openpgp + +> OpenPGP YubiKey 애플리케이션 관리. +> 참고: 일부 설정을 위해 `gpg --card-edit`를 사용해야 합니다. +> 더 많은 정보: . + +- OpenPGP 애플리케이션에 대한 일반 정보 표시: + +`ykman openpgp info` + +- 사용자 PIN, 재설정 코드 및 관리자 PIN의 재시도 횟수 설정: + +`ykman openpgp access set-retries {{3}} {{3}} {{3}}` + +- 사용자 PIN, 재설정 코드 또는 관리자 PIN 변경: + +`ykman openpgp access change-{{pin|reset-code|admin-pin}}` + +- OpenPGP 애플리케이션 초기화 (관리자 PIN 재시도 횟수를 초과한 후 수행해야 합니다): + +`ykman openpgp reset` diff --git a/pages.ko/common/ykman.md b/pages.ko/common/ykman.md new file mode 100644 index 00000000000000..2c4e438b299a26 --- /dev/null +++ b/pages.ko/common/ykman.md @@ -0,0 +1,29 @@ +# ykman + +> YubiKey Manager - YubiKey 구성 도구. +> 여러 개의 YubiKey가 연결된 경우, 하위 명령어 앞에 `--device {{serial_number}}`를 추가해야 합니다. +> 더 많은 정보: . + +- YubiKey에 대한 일반 정보 표시 (일련번호, 펌웨어 버전, 기능 등): + +`ykman info` + +- 연결된 YubiKey를 짧고 한 줄로 설명 (일련번호 포함): + +`ykman list` + +- 애플리케이션 활성화 및 비활성화에 대한 문서 보기: + +`tldr ykman config` + +- FIDO 애플리케이션 관리에 대한 문서 보기: + +`tldr ykman fido` + +- OATH 애플리케이션 관리에 대한 문서 보기: + +`tldr ykman oath` + +- OpenPGP 애플리케이션 관리에 대한 문서 보기: + +`tldr ykman openpgp` diff --git a/pages.ko/common/yolo.md b/pages.ko/common/yolo.md new file mode 100644 index 00000000000000..c751583cfe4461 --- /dev/null +++ b/pages.ko/common/yolo.md @@ -0,0 +1,12 @@ +# yolo + +> YOLO 명령줄 인터페이스는 다양한 작업과 버전에서 모델을 간단하게 학습, 검증 또는 추론할 수 있게 해줍니다. +> 더 많은 정보: . + +- 현재 작업 디렉토리에 기본 설정의 복사본 생성: + +`yolo task=init` + +- 지정된 설정 파일로 객체 탐지, 인스턴스 분할, 또는 분류 모델 학습: + +`yolo task={{detect|segment|classify}} mode=train cfg={{경로/대상/config.yaml}}` diff --git a/pages.ko/common/you-get.md b/pages.ko/common/you-get.md new file mode 100644 index 00000000000000..69a4d481669fd2 --- /dev/null +++ b/pages.ko/common/you-get.md @@ -0,0 +1,25 @@ +# you-get + +> 웹에서 미디어 콘텐츠(비디오, 오디오, 이미지)를 다운로드. +> 같이 보기: `yt-dlp`, `youtube-viewer`, `instaloader`. +> 더 많은 정보: . + +- 웹의 특정 미디어에 대한 정보 출력: + +`you-get --info {{https://example.com/video?id=value}}` + +- 특정 URL에서 미디어 다운로드: + +`you-get {{https://example.com/video?id=value}}` + +- Google Videos에서 검색 및 다운로드: + +`you-get {{키워드}}` + +- 특정 위치에 미디어 다운로드: + +`you-get --output-dir {{경로/대상/폴더}} --output-filename {{파일명}} {{https://example.com/watch?v=value}}` + +- 프록시를 사용하여 미디어 다운로드: + +`you-get --http-proxy {{프록시_서버}} {{https://example.com/watch?v=value}}` diff --git a/pages.ko/common/youtube-dl.md b/pages.ko/common/youtube-dl.md new file mode 100644 index 00000000000000..c6ef45374bdb06 --- /dev/null +++ b/pages.ko/common/youtube-dl.md @@ -0,0 +1,37 @@ +# youtube-dl + +> YouTube 및 다른 웹사이트에서 비디오를 다운로드. +> 같이 보기: `yt-dlp`, `ytfzf`, `you-get`. +> 더 많은 정보: . + +- 비디오 또는 재생 목록 다운로드: + +`youtube-dl '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` + +- 비디오 또는 재생 목록이 가능한 모든 형식 나열: + +`youtube-dl --list-formats '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` + +- 특정 품질로 비디오 또는 재생 목록 다운로드: + +`youtube-dl --format "{{best[height<=480]}}" '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` + +- 비디오에서 오디오만 다운로드하고 MP3로 변환: + +`youtube-dl -x --audio-format {{mp3}} '{{url}}'` + +- 최고 품질의 오디오와 비디오를 다운로드하고 병합: + +`youtube-dl -f bestvideo+bestaudio '{{url}}'` + +- 맞춤 파일 이름으로 MP4 파일로 비디오 다운로드: + +`youtube-dl --format {{mp4}} -o "{{%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'` + +- 특정 언어의 자막을 비디오와 함께 다운로드: + +`youtube-dl --sub-lang {{en}} --write-sub '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` + +- 재생 목록을 다운로드하고 MP3로 추출: + +`youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" '{{url_to_playlist}}'` diff --git a/pages.ko/common/youtube-viewer.md b/pages.ko/common/youtube-viewer.md new file mode 100644 index 00000000000000..321cd419f73ffe --- /dev/null +++ b/pages.ko/common/youtube-viewer.md @@ -0,0 +1,21 @@ +# youtube-viewer + +> YouTube에서 동영상을 검색하고 재생. +> 같이 보기: `you-get`, `ytfzf`, `yt-dlp`. +> 더 많은 정보: . + +- 동영상 검색: + +`youtube-viewer {{검색어}}` + +- YouTube 계정에 로그인: + +`youtube-viewer --login` + +- VLC에서 특정 URL의 동영상 시청: + +`youtube-viewer --player={{vlc}} {{https://youtube.com/watch?v=dQw4w9WgXcQ}}` + +- 검색 창을 표시하고 선택한 동영상을 720p로 재생: + +`youtube-viewer -{{7}}` diff --git a/pages.ko/common/yq.md b/pages.ko/common/yq.md new file mode 100644 index 00000000000000..c7ba3210307b8a --- /dev/null +++ b/pages.ko/common/yq.md @@ -0,0 +1,36 @@ +# yq + +> 가볍고 휴대 가능한 명령줄 YAML 프로세서. +> 더 많은 정보: . + +- YAML 파일을 보기 좋게 출력 (v4+): + +`yq eval {{경로/대상/파일.yaml}}` + +- YAML 파일을 보기 좋게 출력 (v3): + +`yq read {{경로/대상/파일.yaml}} --colors` + +- 배열만 포함된 YAML 파일에서 첫 번째 요소 출력 (v4+): + +`yq eval '.[0]' {{경로/대상/파일.yaml}}` + +- 배열만 포함된 YAML 파일에서 첫 번째 요소 출력 (v3): + +`yq read {{경로/대상/파일.yaml}} '[0]'` + +- 파일에서 키를 값으로 설정 (또는 덮어쓰기) (v4+): + +`yq eval '.{{키}} = "{{값}}"' --inplace {{경로/대상/파일.yaml}}` + +- 파일에서 키를 값으로 설정 (또는 덮어쓰기) (v3): + +`yq write --inplace {{경로/대상/파일.yaml}} '{{키}}' '{{값}}'` + +- 두 파일을 병합하여 `stdout`에 출력 (v4+): + +`yq eval-all 'select(filename == "{{경로/대상/파일1.yaml}}") * select(filename == "{{경로/대상/파일2.yaml}}")' {{경로/대상/파일1.yaml}} {{경로/대상/파일2.yaml}}` + +- 두 파일을 병합하여 `stdout`에 출력 (v3): + +`yq merge {{경로/대상/파일1.yaml}} {{경로/대상/파일2.yaml}} --colors` diff --git a/pages.ko/common/yt-dlp.md b/pages.ko/common/yt-dlp.md new file mode 100644 index 00000000000000..e5b947a1636424 --- /dev/null +++ b/pages.ko/common/yt-dlp.md @@ -0,0 +1,34 @@ +# yt-dlp + +> 추가 기능과 수정이 포함된 youtube-dl 포크. +> YouTube 및 기타 웹사이트에서 동영상을 다운로드합니다. +> 같이 보기: `yt-dlp`, `ytfzf`. +> 더 많은 정보: . + +- 동영상 또는 재생목록 다운로드 (아래 명령의 기본 옵션 사용): + +`yt-dlp "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 동영상의 다운로드 가능한 형식 나열: + +`yt-dlp --list-formats "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 사용 가능한 최고의 MP4 비디오로 동영상 또는 재생목록 다운로드 (기본은 "bv*+ba/b"): + +`yt-dlp --format "{{bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]}}" "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 동영상에서 오디오 추출 (ffmpeg 또는 ffprobe 필요): + +`yt-dlp --extract-audio "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 추출된 오디오의 형식과 품질 지정 (0 (최고)에서 10 (최악) 사이, 기본값 = 5): + +`yt-dlp --extract-audio --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- YouTube 채널/사용자의 모든 재생목록을 각각의 폴더에 저장하여 다운로드: + +`yt-dlp -o "{{%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s}}" "{{https://www.youtube.com/user/TheLinuxFoundation/playlists}}"` + +- Udemy 강의를 각 챕터별로 다른 폴더에 저장하여 다운로드: + +`yt-dlp -u {{사용자}} -p {{비밀번호}} -P "{{경로/대상/폴더}}" -o "{{%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s}}" "{{https://www.udemy.com/java-tutorial}}"` diff --git a/pages.ko/common/yuvsplittoppm.md b/pages.ko/common/yuvsplittoppm.md new file mode 100644 index 00000000000000..4d6a11387ded9a --- /dev/null +++ b/pages.ko/common/yuvsplittoppm.md @@ -0,0 +1,8 @@ +# yuvsplittoppm + +> 세 개의 서브샘플링된 Abekas YUV 파일을 하나의 PPM 이미지로 변환. +> 더 많은 정보: . + +- basename으로 시작하는 세 개의 Akebas YUV 바이트 파일을 읽어 단일 PPM 이미지로 병합하고 지정된 출력 파일에 저장: + +`yuvsplittoppm {{기본_이름}} {{너비}} {{높이}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/yuvtoppm.md b/pages.ko/common/yuvtoppm.md new file mode 100644 index 00000000000000..aa33899c566830 --- /dev/null +++ b/pages.ko/common/yuvtoppm.md @@ -0,0 +1,8 @@ +# yuvtoppm + +> Abekas YUV 바이트를 PPM으로 변환. +> 더 많은 정보: . + +- 지정된 입력 파일에서 Akebas YUV 바이트를 읽고, 이를 PPM 이미지로 변환하여 지정된 출력 파일에 저장: + +`yuvtoppm {{너비}} {{높이}} {{경로/대상/입력_파일.yuv}} > {{경로/대상/출력_파일.ppm}}` diff --git a/pages.ko/common/yuy2topam.md b/pages.ko/common/yuy2topam.md new file mode 100644 index 00000000000000..00b37b1fe8b41b --- /dev/null +++ b/pages.ko/common/yuy2topam.md @@ -0,0 +1,8 @@ +# yuy2topam + +> YUY2 바이트를 PAM으로 변환. +> 더 많은 정보: . + +- YUY2 바이트를 PAM으로 변환: + +`yuy2topam -width {{값}} -height {{값}} {{경로/대상/파일.yuy2}} > {{경로/대상/파일.pam}}` diff --git a/pages.ko/common/z.md b/pages.ko/common/z.md new file mode 100644 index 00000000000000..5ce3db89b377b1 --- /dev/null +++ b/pages.ko/common/z.md @@ -0,0 +1,32 @@ +# z + +> 사용 빈도가 높은 디렉토리를 추적하고, 문자열 패턴이나 정규 표현식을 사용하여 빠르게 이동할 수 있게 합니다. +> 더 많은 정보: . + +- 이름에 "foo"가 포함된 디렉토리로 이동: + +`z {{foo}}` + +- 이름에 "foo"와 그 다음에 "bar"가 포함된 디렉토리로 이동: + +`z {{foo}} {{bar}}` + +- "foo"와 일치하는 가장 높은 순위의 디렉토리로 이동: + +`z -r {{foo}}` + +- "foo"와 일치하는 가장 최근에 접근한 디렉토리로 이동: + +`z -t {{foo}}` + +- `z`의 데이터베이스에서 "foo"와 일치하는 모든 디렉토리 나열: + +`z -l {{foo}}` + +- 현재 디렉토리를 `z`의 데이터베이스에서 제거: + +`z -x .` + +- 현재 디렉토리의 하위 디렉토리로 일치 항목을 제한: + +`z -c {{foo}}` diff --git a/pages.ko/common/zapier-analytics.md b/pages.ko/common/zapier-analytics.md new file mode 100644 index 00000000000000..7388ebf4b85847 --- /dev/null +++ b/pages.ko/common/zapier-analytics.md @@ -0,0 +1,16 @@ +# zapier analytics + +> 수집된 분석의 상태를 표시합니다. 수집 항목을 변경하는 데도 사용됩니다. +> 더 많은 정보: . + +- 수집된 분석 상태 표시: + +`zapier analytics` + +- 수집되는 정보의 양 변경: + +`zapier analytics {{[-m|--mode]}} {{enabled|anonymous|disabled}}` + +- 추가 디버깅 출력 표시: + +`zapier analytics {{[-m|--mode]}} {{enabled|anonymous|disabled}} {{-d|--debug}}` diff --git a/pages.ko/common/zapier-build.md b/pages.ko/common/zapier-build.md new file mode 100644 index 00000000000000..eaa6aecbe8bfb3 --- /dev/null +++ b/pages.ko/common/zapier-build.md @@ -0,0 +1,16 @@ +# zapier build + +> Zapier 통합의 푸시 가능한 `zip` 파일 생성. +> 더 많은 정보: . + +- 빌드 생성: + +`zapier build` + +- 스마트 파일 포함 비활성화 (`index.js`에서 필요한 파일만 포함): + +`zapier build --disable-dependency-detection` + +- 추가 디버깅 출력 표시: + +`zapier build {{[-d|--debug]}}` diff --git a/pages.ko/common/zapier-convert.md b/pages.ko/common/zapier-convert.md new file mode 100644 index 00000000000000..b319b66d372daa --- /dev/null +++ b/pages.ko/common/zapier-convert.md @@ -0,0 +1,16 @@ +# zapier convert + +> Visual Builder 통합을 CLI 통합으로 변환. +> 더 많은 정보: . + +- Visual Builder 통합 변환: + +`zapier convert {{integration_id}} {{경로/대상/폴더}}` + +- 특정 버전의 Visual Builder 통합 변환: + +`zapier convert {{integration_id}} {{경로/대상/폴더}} {{[-v|--version]}}={{버전}}` + +- 추가 디버깅 출력 표시: + +`zapier convert --debug` diff --git a/pages.ko/common/zapier-init.md b/pages.ko/common/zapier-init.md new file mode 100644 index 00000000000000..a359ae38e4dd08 --- /dev/null +++ b/pages.ko/common/zapier-init.md @@ -0,0 +1,16 @@ +# zapier init + +> 새 Zapier 통합을 초기화. +> 더 많은 정보: . + +- 새 Zapier 통합 초기화: + +`zapier init {{경로/대상/폴더}}` + +- 특정 템플릿으로 새 Zapier 통합 초기화: + +`zapier init {{경로/대상/폴더}} {{[-t|--template]}} {{basic-auth|callback|custom-auth|digest-auth|dynamic-dropdown|files|minimal|oauth1-trello|oauth2|search-or-create|session-auth|typescript}}` + +- 추가 디버깅 출력 표시: + +`zapier init {{[-d|--debug]}}` diff --git a/pages.ko/common/zapier-push.md b/pages.ko/common/zapier-push.md new file mode 100644 index 00000000000000..6d291bffba9606 --- /dev/null +++ b/pages.ko/common/zapier-push.md @@ -0,0 +1,16 @@ +# zapier push + +> Zapier 통합을 빌드하고 업로드. +> 더 많은 정보: . + +- Zapier에 통합 푸시: + +`zapier push` + +- 스마트 파일 포함 비활성화 (`index.js`에 필요한 파일만 포함): + +`zapier push --disable-dependency-detection` + +- 추가 디버깅 출력 표시: + +`zapier push {{[-d|--debug]}}` diff --git a/pages.ko/common/zapier-scaffold.md b/pages.ko/common/zapier-scaffold.md new file mode 100644 index 00000000000000..0d06e9be9d7ff3 --- /dev/null +++ b/pages.ko/common/zapier-scaffold.md @@ -0,0 +1,24 @@ +# zapier scaffold + +> 통합에 시작 트리거, 생성, 검색 또는 리소스를 추가합니다. +> 더 많은 정보: . + +- 새 트리거, 생성, 검색 또는 리소스 스캐폴드: + +`zapier scaffold {{trigger|search|create|resource}} {{명사}}` + +- 스캐폴드된 파일의 사용자 지정 대상 폴더 지정: + +`zapier scaffold {{trigger|search|create|resource}} {{명사}} {{[-d|--dest]}}={{경로/대상/폴더}}` + +- 스캐폴딩 시 기존 파일 덮어쓰기: + +`zapier scaffold {{trigger|search|create|resource}} {{명사}} {{[-f|--force]}}` + +- 스캐폴드된 파일에서 주석 제외: + +`zapier scaffold {{trigger|search|create|resource}} {{명사}} --no-help` + +- 추가 디버깅 출력 표시: + +`zapier scaffold {{[-d|--debug]}}` diff --git a/pages.ko/common/zapier.md b/pages.ko/common/zapier.md new file mode 100644 index 00000000000000..555698d718b045 --- /dev/null +++ b/pages.ko/common/zapier.md @@ -0,0 +1,33 @@ +# zapier + +> Zapier 통합을 생성, 자동화 및 관리. +> `build`, `init`, `scaffold`, `push`, `test` 등의 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- Zapier 계정에 연결: + +`zapier login` + +- 프로젝트 템플릿으로 새로운 Zapier 통합 초기화: + +`zapier init {{경로/대상/폴더}}` + +- 시작 트리거, 생성, 검색 또는 리소스를 통합에 추가: + +`zapier scaffold {{trigger|create|search|resource}} {{이름}}` + +- 통합 테스트: + +`zapier test` + +- Zapier에 통합을 빌드하고 업로드: + +`zapier push` + +- 도움말 표시: + +`zapier help` + +- 특정 명령에 대한 도움말 표시: + +`zapier help {{명령}}` diff --git a/pages.ko/common/zbarimg.md b/pages.ko/common/zbarimg.md new file mode 100644 index 00000000000000..4f25b826553d65 --- /dev/null +++ b/pages.ko/common/zbarimg.md @@ -0,0 +1,8 @@ +# zbarimg + +> 이미지 파일에서 바코드를 스캔하고 디코드. +> 더 많은 정보: . + +- 이미지 파일 처리: + +`zbarimg {{이미지_파일}}` diff --git a/pages.ko/common/zcat.md b/pages.ko/common/zcat.md new file mode 100644 index 00000000000000..89377d7ca4e425 --- /dev/null +++ b/pages.ko/common/zcat.md @@ -0,0 +1,12 @@ +# zcat + +> `gzip` 압축 파일의 데이터를 출력. +> 더 많은 정보: . + +- `gzip` 아카이브의 압축 해제된 내용을 `stdout`에 출력: + +`zcat {{file.txt.gz}}` + +- `gzip` 아카이브의 압축 세부 정보를 `stdout`에 출력: + +`zcat -l {{file.txt.gz}}` diff --git a/pages.ko/common/zcmp.md b/pages.ko/common/zcmp.md new file mode 100644 index 00000000000000..23cc82c374a882 --- /dev/null +++ b/pages.ko/common/zcmp.md @@ -0,0 +1,12 @@ +# zcmp + +> 압축된 파일 비교. +> 더 많은 정보: . + +- `gzip`로 압축된 두 파일을 `cmp`로 비교: + +`zcmp {{경로/대상/파일1.gz}} {{경로/대상/파일2.gz}}` + +- 파일을 해당 gzipped 버전과 비교 (이미 `.gz`가 존재한다고 가정): + +`zcmp {{경로/대상/파일}}` diff --git a/pages.ko/common/zdb.md b/pages.ko/common/zdb.md new file mode 100644 index 00000000000000..984d8bac6be91d --- /dev/null +++ b/pages.ko/common/zdb.md @@ -0,0 +1,16 @@ +# zdb + +> ZFS 디버거. +> 더 많은 정보: . + +- 모든 마운트된 ZFS zpool의 상세 설정 보기: + +`zdb` + +- 특정 ZFS 풀의 상세 설정 보기: + +`zdb -C {{풀명}}` + +- 블록의 수, 크기 및 중복 제거에 대한 통계 보기: + +`zdb -b {{풀명}}` diff --git a/pages.ko/common/zdiff.md b/pages.ko/common/zdiff.md new file mode 100644 index 00000000000000..9ca77d6fc4158d --- /dev/null +++ b/pages.ko/common/zdiff.md @@ -0,0 +1,12 @@ +# zdiff + +> `gzip` 아카이브에서 `diff` 호출. +> 더 많은 정보: . + +- 필요 시 압축을 해제하여 두 파일 비교: + +`zdiff {{경로/대상/파일1.gz}} {{경로/대상/파일2.gz}}` + +- 동일한 이름의 `gzip` 아카이브와 파일 비교: + +`zdiff {{경로/대상/파일}}` diff --git a/pages.ko/common/zeek.md b/pages.ko/common/zeek.md new file mode 100644 index 00000000000000..89176fbd732bcc --- /dev/null +++ b/pages.ko/common/zeek.md @@ -0,0 +1,29 @@ +# zeek + +> 패시브 네트워크 트래픽 분석기. +> 출력 및 로그 파일은 현재 작업 디렉토리에 저장됩니다. +> 더 많은 정보: . + +- 네트워크 인터페이스에서 실시간 트래픽 분석: + +`sudo zeek --iface {{인터페이스}}` + +- 네트워크 인터페이스에서 실시간 트래픽 분석 및 사용자 지정 스크립트 로드: + +`sudo zeek --iface {{인터페이스}} {{스크립트1}} {{스크립트2}}` + +- 네트워크 인터페이스에서 실시간 트래픽 분석, 스크립트 로드 없이: + +`sudo zeek --bare-mode --iface {{인터페이스}}` + +- 네트워크 인터페이스에서 `tcpdump` 필터를 적용하여 실시간 트래픽 분석: + +`sudo zeek --filter {{경로/대상/필터}} --iface {{인터페이스}}` + +- 네트워크 인터페이스에서 워치독 타이머를 사용하여 실시간 트래픽 분석: + +`sudo zeek --watchdog --iface {{인터페이스}}` + +- PCAP 파일에서 트래픽 분석: + +`zeek --readfile {{경로/대상/파일.trace}}` diff --git a/pages.ko/common/zegrep.md b/pages.ko/common/zegrep.md new file mode 100644 index 00000000000000..1ad0f6c1653e05 --- /dev/null +++ b/pages.ko/common/zegrep.md @@ -0,0 +1,28 @@ +# zegrep + +> 압축 파일에서 `egrep`을 사용하여 확장 정규 표현식 패턴 찾기. +> 더 많은 정보: . + +- 압축 파일에서 확장 정규 표현식(대소문자 구분)을 검색 (`?`, `+`, `{}`, `()` 및 `|` 지원): + +`zegrep "{{검색_패턴}}" {{경로/대상/파일}}` + +- 압축 파일에서 확장 정규 표현식(대소문자 구분 안 함)을 검색 (`?`, `+`, `{}`, `()` 및 `|` 지원): + +`zegrep --ignore-case "{{검색_패턴}}" {{경로/대상/파일}}` + +- 패턴과 일치하지 않는 줄 검색: + +`zegrep --invert-match "{{검색_패턴}}" {{경로/대상/파일}}` + +- 일치하는 각 줄에 대해 파일 이름과 줄 번호 출력: + +`zegrep --with-filename --line-number "{{검색_패턴}}" {{경로/대상/파일}}` + +- 패턴과 일치하는 줄 검색, 일치한 텍스트만 출력: + +`zegrep --only-matching "{{검색_패턴}}" {{경로/대상/파일}}` + +- 압축 파일 내의 파일을 재귀적으로 검색하여 패턴 찾기: + +`zegrep --recursive "{{검색_패턴}}" {{경로/대상/파일}}` diff --git a/pages.ko/common/zeisstopnm.md b/pages.ko/common/zeisstopnm.md new file mode 100644 index 00000000000000..5e31f5a4a548c1 --- /dev/null +++ b/pages.ko/common/zeisstopnm.md @@ -0,0 +1,12 @@ +# zeisstopnm + +> Zeiss 공초점 파일을 Netbpm 형식으로 변환. +> 더 많은 정보: . + +- Zeiss 공초점 파일을 `.pgm` 또는 `.ppm` 형식으로 변환: + +`zeisstopnm {{경로/대상/파일}}` + +- 대상 파일 형식을 명시적으로 지정하여 Zeiss 공초점 파일을 Netbpm 형식으로 변환: + +`zeisstopnm -{{pgm|ppm}} {{경로/대상/파일}}` diff --git a/pages.ko/common/zek.md b/pages.ko/common/zek.md new file mode 100644 index 00000000000000..311d1594821bc1 --- /dev/null +++ b/pages.ko/common/zek.md @@ -0,0 +1,16 @@ +# zek + +> XML에서 Go 구조체 생성. +> 더 많은 정보: . + +- `stdin`에서 주어진 XML로부터 Go 구조체를 생성하고 결과를 `stdout`에 출력: + +`cat {{경로/대상/입력.xml}} | zek` + +- `stdin`에서 주어진 XML로부터 Go 구조체를 생성하고 결과를 파일로 저장: + +`curl -s {{https://url/대상/xml}} | zek -o {{경로/대상/출력.go}}` + +- `stdin`에서 주어진 XML로부터 예제 Go 프로그램을 생성하고 결과를 파일로 저장: + +`cat {{경로/대상/입력.xml}} | zek -p -o {{경로/대상/출력.go}}` diff --git a/pages.ko/common/zellij.md b/pages.ko/common/zellij.md new file mode 100644 index 00000000000000..4c804a781d127d --- /dev/null +++ b/pages.ko/common/zellij.md @@ -0,0 +1,25 @@ +# zellij + +> 배터리가 포함된 터미널 멀티플렉서. +> 같이 보기: `tmux` 및 `screen`. +> 더 많은 정보: . + +- 새 세션 시작: + +`zellij --session {{이름}}` + +- 기존 세션 목록: + +`zellij list-sessions` + +- 가장 최근에 사용한 세션에 연결: + +`zellij attach` + +- 새 창 열기 (zellij 세션 내): + +`` + +- 현재 세션에서 분리 (zellij 세션 내): + +`` diff --git a/pages.ko/common/zfgrep.md b/pages.ko/common/zfgrep.md new file mode 100644 index 00000000000000..39a062232eadd0 --- /dev/null +++ b/pages.ko/common/zfgrep.md @@ -0,0 +1,25 @@ +# zfgrep + +> 압축된 파일에서 고정 문자열을 찾습니다. +> 입력을 필요한 경우 먼저 압축 해제한 후 `grep -F`와 동일하게 작동합니다. +> 더 많은 정보: . + +- 파일에서 정확히 일치하는 문자열 검색: + +`zfgrep {{검색_문자열}} {{경로/대상/파일}}` + +- 파일에서 주어진 문자열과 일치하는 줄의 수를 셈: + +`zfgrep --count {{검색_문자열}} {{경로/대상/파일}}` + +- 파일에서 일치하는 줄과 함께 줄 번호 표시: + +`zfgrep --line-number {{검색_문자열}} {{경로/대상/파일}}` + +- 검색 문자열을 포함하지 않는 모든 줄 표시: + +`zfgrep --invert-match {{검색_문자열}} {{경로/대상/파일}}` + +- 검색 문자열과 최소 한 번 일치하는 파일 이름만 나열: + +`zfgrep --files-with-matches {{검색_문자열}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/common/zfs.md b/pages.ko/common/zfs.md new file mode 100644 index 00000000000000..408de5103fb088 --- /dev/null +++ b/pages.ko/common/zfs.md @@ -0,0 +1,28 @@ +# zfs + +> ZFS 파일 시스템 관리. +> 더 많은 정보: . + +- 사용 가능한 모든 ZFS 파일 시스템 나열: + +`zfs list` + +- 새 ZFS 파일 시스템 생성: + +`zfs create {{풀_이름/파일시스템_이름}}` + +- ZFS 파일 시스템 삭제: + +`zfs destroy {{풀_이름/파일시스템_이름}}` + +- ZFS 파일 시스템의 스냅샷 생성: + +`zfs snapshot {{풀_이름/파일시스템_이름}}@{{스냅샷_이름}}` + +- 파일 시스템에 압축 활성화: + +`zfs set compression=on {{풀_이름/파일시스템_이름}}` + +- 파일 시스템의 마운트 포인트 변경: + +`zfs set mountpoint={{/my/mount/path}} {{풀_이름/파일시스템_이름}}` diff --git a/pages.ko/common/zgrep.md b/pages.ko/common/zgrep.md new file mode 100644 index 00000000000000..b178bcf9a8b259 --- /dev/null +++ b/pages.ko/common/zgrep.md @@ -0,0 +1,32 @@ +# zgrep + +> 압축 파일 내에서 텍스트 패턴을 검색하는 도구 (`grep -Z`와 동등). +> 더 많은 정보: . + +- 압축 파일에서 패턴 검색 (대소문자 구분): + +`zgrep {{패턴}} {{경로/대상/압축/파일}}` + +- 압축 파일에서 패턴 검색 (대소문자 구분 안 함): + +`zgrep -i {{패턴}} {{경로/대상/압축/파일}}` + +- 일치하는 패턴이 포함된 행의 개수를 출력: + +`zgrep -c {{패턴}} {{경로/대상/압축/파일}}` + +- 패턴이 없는 행을 표시 (검색 기능 반전): + +`zgrep -v {{패턴}} {{경로/대상/압축/파일}}` + +- 여러 패턴으로 압축 파일 검색: + +`zgrep -e "{{패턴_1}}" -e "{{패턴_2}}" {{경로/대상/압축/파일}}` + +- 확장 정규 표현식 사용 (`?`, `+`, `{}`, `()` 및 `|` 지원): + +`zgrep -E {{정규_표현식}} {{경로/대상/파일}}` + +- 각 일치 항목 전후로 3줄의 [C]ontext, [B]efore, 또는 [A]fter 출력: + +`zgrep -{{C|B|A}} {{3}} {{패턴}} {{경로/대상/압축/파일}}` diff --git a/pages.ko/common/zig.md b/pages.ko/common/zig.md new file mode 100644 index 00000000000000..2232501e3288b7 --- /dev/null +++ b/pages.ko/common/zig.md @@ -0,0 +1,36 @@ +# zig + +> Zig 컴파일러 및 툴체인. +> 더 많은 정보: . + +- 현재 디렉토리의 프로젝트 컴파일: + +`zig build` + +- 현재 디렉토리의 프로젝트 컴파일 및 실행: + +`zig build run` + +- `zig build` 애플리케이션 초기화: + +`zig init-exe` + +- `zig build` 라이브러리 초기화: + +`zig init-lib` + +- 테스트 빌드 생성 및 실행: + +`zig test {{경로/대상/파일.zig}}` + +- Zig 소스 코드를 표준 형식으로 재포맷: + +`zig fmt {{경로/대상/파일.zig}}` + +- Zig를 C 컴파일러로 사용: + +`zig cc {{경로/대상/파일.c}}` + +- Zig를 C++ 컴파일러로 사용: + +`zig c++ {{경로/대상/파일.cpp}}` diff --git a/pages.ko/common/zint.md b/pages.ko/common/zint.md new file mode 100644 index 00000000000000..454629f3599683 --- /dev/null +++ b/pages.ko/common/zint.md @@ -0,0 +1,16 @@ +# zint + +> 바코드 및 QR 코드를 생성. +> 더 많은 정보: . + +- 바코드를 생성하고 저장: + +`zint --data "{{UTF-8 데이터}}" --output {{경로/대상/파일}}` + +- 생성할 코드 유형 지정: + +`zint --barcode {{코드_유형}} --data "{{UTF-8 데이터}}" --output {{경로/대상/파일}}` + +- 지원되는 모든 코드 유형 나열: + +`zint --types` diff --git a/pages.ko/common/zip.md b/pages.ko/common/zip.md new file mode 100644 index 00000000000000..2206f4019b8377 --- /dev/null +++ b/pages.ko/common/zip.md @@ -0,0 +1,33 @@ +# zip + +> 파일을 압축하고 Zip 아카이브로 묶기. +> 같이 보기: `unzip`. +> 더 많은 정보: . + +- 특정 아카이브에 파일/폴더 추가 ([r]ecursively): + +`zip {{[-r|--recurse-paths]}} {{경로/대상/압축된.zip}} {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 특정 아카이브에서 파일/폴더 제거 ([d]elete): + +`zip {{[-d|--delete]}} {{경로/대상/압축된.zip}} {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 지정된 파일/폴더를 제외하고 아카이브 ([x]cluding): + +`zip {{[-r|--recurse-paths]}} {{경로/대상/압축된.zip}} {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}} {{[-x|--exclude]}} {{경로/대상/제외된_파일_또는_폴더}}` + +- 특정 압축 수준(`0` - 가장 낮음, `9` - 가장 높음)으로 파일/폴더 아카이브: + +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{경로/대상/압축된.zip}} {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 특정 비밀번호로 [e]ncrypted 아카이브 생성: + +`zip {{[-re|--recurse-paths --encrypt]}} {{경로/대상/압축된.zip}} {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 다중 분할 [s]plit Zip 아카이브로 파일/폴더 아카이브(예: 3 GB 파트): + +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{경로/대상/압축된.zip}} {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 특정 아카이브 내용 출력: + +`zip {{[-sf|--split-size --freshen]}} {{경로/대상/압축된.zip}}` diff --git a/pages.ko/common/zip2john.md b/pages.ko/common/zip2john.md new file mode 100644 index 00000000000000..d6d3a805acabd1 --- /dev/null +++ b/pages.ko/common/zip2john.md @@ -0,0 +1,17 @@ +# zip2john + +> Zip 아카이브에서 암호 해시를 추출하여 John the Ripper 암호 크래커에서 사용. +> 일반적으로 John the Ripper 설치의 일부로 설치되는 유틸리티 도구입니다. +> 더 많은 정보: . + +- 아카이브의 모든 파일을 나열하여 암호 해시 추출: + +`zip2john {{경로/대상/파일.zip}}` + +- 특정 압축 파일만 사용하여 암호 해시 추출: + +`zip2john -o {{경로/대상/압축_파일}} {{경로/대상/파일.zip}}` + +- 특정 파일로 압축 파일에서 암호 해시 추출 (John the Ripper에서 사용하기 위해): + +`zip2john -o {{경로/대상/압축_파일}} {{경로/대상/파일.zip}} > {{파일.hash}}` diff --git a/pages.ko/common/zipalign.md b/pages.ko/common/zipalign.md new file mode 100644 index 00000000000000..414ebe0633059a --- /dev/null +++ b/pages.ko/common/zipalign.md @@ -0,0 +1,13 @@ +# zipalign + +> Zip 아카이브 정렬 도구. +> Android SDK 빌드 도구의 일부. +> 더 많은 정보: . + +- Zip 파일의 데이터를 4바이트 경계에 맞춰 정렬: + +`zipalign {{4}} {{경로/대상/입력.zip}} {{경로/대상/출력.zip}}` + +- Zip 파일이 4바이트 경계에 맞게 올바르게 정렬되었는지 확인하고 결과를 자세히 표시: + +`zipalign -v -c {{4}} {{경로/대상/입력.zip}}` diff --git a/pages.ko/common/zipcloak.md b/pages.ko/common/zipcloak.md new file mode 100644 index 00000000000000..008163abb32ec3 --- /dev/null +++ b/pages.ko/common/zipcloak.md @@ -0,0 +1,16 @@ +# zipcloak + +> Zip 아카이브 내의 내용을 암호화. +> 더 많은 정보: . + +- Zip 아카이브의 내용을 암호화: + +`zipcloak {{경로/대상/아카이브.zip}}` + +- Zip 아카이브의 내용을 [d]복호화: + +`zipcloak -d {{경로/대상/아카이브.zip}}` + +- 암호화된 내용을 새로운 Zip 아카이브로 [O]출력: + +`zipcloak {{경로/대상/아카이브.zip}} -O {{경로/대상/암호화됨.zip}}` diff --git a/pages.ko/common/zipgrep.md b/pages.ko/common/zipgrep.md new file mode 100644 index 00000000000000..b8ad1e5b30dec1 --- /dev/null +++ b/pages.ko/common/zipgrep.md @@ -0,0 +1,24 @@ +# zipgrep + +> Zip 아카이브 내 파일에서 확장 정규 표현식을 사용하여 패턴 찾기 (`?`, `+`, `{}`, `()` 및 `|` 지원). +> 더 많은 정보: . + +- Zip 아카이브 내에서 패턴 검색: + +`zipgrep "{{검색_패턴}}" {{경로/대상/파일.zip}}` + +- 각 일치 항목에 대해 파일 이름과 줄 번호 출력: + +`zipgrep -H -n "{{검색_패턴}}" {{경로/대상/파일.zip}}` + +- 패턴과 일치하지 않는 줄 검색: + +`zipgrep -v "{{검색_패턴}}" {{경로/대상/파일.zip}}` + +- 검색에서 Zip 아카이브 내 파일 지정: + +`zipgrep "{{검색_패턴}}" {{경로/대상/파일.zip}} {{검색할/파일1}} {{검색할/파일2}}` + +- 검색에서 Zip 아카이브 내 파일 제외: + +`zipgrep "{{검색_패턴}}" {{경로/대상/파일.zip}} -x {{제외할/파일1}} {{제외할/파일2}}` diff --git a/pages.ko/common/zipinfo.md b/pages.ko/common/zipinfo.md new file mode 100644 index 00000000000000..d4c0b9b4fbcfd3 --- /dev/null +++ b/pages.ko/common/zipinfo.md @@ -0,0 +1,12 @@ +# zipinfo + +> Zip 파일의 내용에 대한 자세한 정보를 나열. +> 더 많은 정보: . + +- Zip 파일의 모든 파일을 긴 형식(권한, 소유권, 크기 및 수정 날짜)으로 나열: + +`zipinfo {{경로/대상/아카이브.zip}}` + +- Zip 파일의 모든 파일을 나열: + +`zipinfo -1 {{경로/대상/아카이브.zip}}` diff --git a/pages.ko/common/zipnote.md b/pages.ko/common/zipnote.md new file mode 100644 index 00000000000000..ab5319d86f6e15 --- /dev/null +++ b/pages.ko/common/zipnote.md @@ -0,0 +1,17 @@ +# zipnote + +> Zip 압축 파일의 주석을 보고, 추가하거나 편집. +> Zip 압축 파일에서 파일 이름도 변경 가능. +> 더 많은 정보: . + +- Zip 압축 파일의 주석 보기: + +`zipnote {{경로/대상/파일.zip}}` + +- Zip 압축 파일의 주석을 파일로 추출: + +`zipnote {{경로/대상/파일.zip}} > {{경로/대상/파일.txt}}` + +- 파일에서 주석을 추가/업데이트하여 Zip 압축 파일에 반영: + +`zipnote -w {{경로/대상/파일.zip}} < {{경로/대상/파일.txt}}` diff --git a/pages.ko/common/zless.md b/pages.ko/common/zless.md new file mode 100644 index 00000000000000..66b80983925596 --- /dev/null +++ b/pages.ko/common/zless.md @@ -0,0 +1,8 @@ +# zless + +> `gzip` 및 `xz` 압축 파일 보기. +> 더 많은 정보: . + +- `gzip`으로 압축된 파일을 `less`로 페이지 단위로 보기: + +`zless {{파일.txt.gz}}` diff --git a/pages.ko/common/zlib-flate.md b/pages.ko/common/zlib-flate.md new file mode 100644 index 00000000000000..73761faaf0940d --- /dev/null +++ b/pages.ko/common/zlib-flate.md @@ -0,0 +1,17 @@ +# zlib-flate + +> 원시 zlib 압축 및 압축 해제 프로그램. +> `qpdf`의 일부. +> 더 많은 정보: . + +- 파일 압축: + +`zlib-flate -compress < {{경로/대상/입력_파일}} > {{경로/대상/압축된.zlib}}` + +- 파일 압축 해제: + +`zlib-flate -uncompress < {{경로/대상/압축된.zlib}} > {{경로/대상/출력_파일}}` + +- 지정된 압축 수준으로 파일 압축. 0=가장 빠름 (최악), 9=가장 느림 (최고): + +`zlib-flate -compress={{압축_수준}} < {{경로/대상/입력_파일}} > {{경로/대상/압축된.zlib}}` diff --git a/pages.ko/common/zm.md b/pages.ko/common/zm.md new file mode 100644 index 00000000000000..88ed288a1cb789 --- /dev/null +++ b/pages.ko/common/zm.md @@ -0,0 +1,16 @@ +# zm + +> 신문 및 블로그 기사를 관리하는 도구. +> 더 많은 정보: . + +- 새 초안 작성: + +`zm new` + +- 초안 수정: + +`zm edit` + +- 초안을 게시하고 git으로 커밋: + +`zm publish` diff --git a/pages.ko/common/zmore.md b/pages.ko/common/zmore.md new file mode 100644 index 00000000000000..0d25df051e1773 --- /dev/null +++ b/pages.ko/common/zmore.md @@ -0,0 +1,24 @@ +# zmore + +> `gzip`으로 압축된 파일을 `more`로 보기. +> 더 많은 정보: . + +- 압축된 파일 열기: + +`zmore {{경로/대상/파일.txt.gz}}` + +- 파일의 다음 페이지 표시: + +`` + +- 파일에서 패턴 검색 (``을 눌러 다음 일치 항목으로 이동): + +`{{정규_표현식}}` + +- 종료: + +`` + +- 상호작용 명령 도움말 표시: + +`` diff --git a/pages.ko/common/zmv.md b/pages.ko/common/zmv.md new file mode 100644 index 00000000000000..0ea93e91535727 --- /dev/null +++ b/pages.ko/common/zmv.md @@ -0,0 +1,21 @@ +# zmv + +> 지정된 확장 글로브 패턴과 일치하는 파일을 이동하거나 이름 변경. +> 같이 보기: `zcp` 및 `zln`. +> 더 많은 정보: . + +- 정규 표현식과 유사한 패턴을 사용하여 파일 이동: + +`zmv '{{(*).log}}' '{{$1.txt}}'` + +- 이동 결과를 미리 보기(실제 변경 없음): + +`zmv -n '{{(*).log}}' '{{$1.txt}}'` + +- 각 변경 전에 확인을 요청하면서 파일을 대화식으로 이동: + +`zmv -i '{{(*).log}}' '{{$1.txt}}'` + +- 실행 중인 각 작업을 자세히 출력: + +`zmv -v '{{(*).log}}' '{{$1.txt}}'` diff --git a/pages.ko/common/znew.md b/pages.ko/common/znew.md new file mode 100644 index 00000000000000..04f331889af3c8 --- /dev/null +++ b/pages.ko/common/znew.md @@ -0,0 +1,20 @@ +# znew + +> `.Z` 파일을 gzip 형식으로 다시 압축. +> 더 많은 정보: . + +- 파일을 `.Z`에서 gzip 형식으로 다시 압축: + +`znew {{경로/대상/파일1.Z}}` + +- 여러 파일을 다시 압축하고 각 파일의 크기 감소율을 표시: + +`znew -v {{경로/대상/파일1.Z 경로/대상/파일2.Z ...}}` + +- 가장 느린 압축 방법을 사용하여 파일을 다시 압축 (최적의 압축을 위해): + +`znew -9 {{경로/대상/파일1.Z}}` + +- gzip 파일보다 작으면 `.Z` 파일을 [K]eeping하여 파일을 다시 압축: + +`znew -K {{경로/대상/파일1.Z}}` diff --git a/pages.ko/common/zola.md b/pages.ko/common/zola.md new file mode 100644 index 00000000000000..dd32e81541961e --- /dev/null +++ b/pages.ko/common/zola.md @@ -0,0 +1,24 @@ +# zola + +> 단일 실행 파일에 모든 기능이 들어있는 정적 사이트 생성기. +> 더 많은 정보: . + +- 주어진 디렉토리에 Zola가 사용하는 디렉토리 구조를 생성: + +`zola init {{내_사이트_이름}}` + +- `public` 디렉토리에 전체 사이트를 빌드 (이미 존재하는 디렉토리가 있다면 삭제): + +`zola build` + +- 별도의 디렉토리에 전체 사이트를 빌드: + +`zola build --output-dir {{경로/대상/폴더/}}` + +- 사이트를 빌드하고 로컬 서버를 사용하여 제공 (기본 주소는 `127.0.0.1:1111`): + +`zola serve` + +- `build` 명령어와 같이 모든 페이지를 빌드하지만, 그 결과를 디스크에 기록하지는 않음: + +`zola check` diff --git a/pages.ko/common/zopflipng.md b/pages.ko/common/zopflipng.md new file mode 100644 index 00000000000000..bbfca0ef40dcc9 --- /dev/null +++ b/pages.ko/common/zopflipng.md @@ -0,0 +1,12 @@ +# zopflipng + +> PNG 압축 도구. +> 더 많은 정보: . + +- PNG 최적화: + +`zopflipng {{입력.png}} {{출력.png}}` + +- 여러 PNG 최적화하고 지정된 접두사로 저장: + +`zopflipng --prefix={{접두사}} {{이미지1.png}} {{이미지2.png}} {{이미지3.png}}` diff --git a/pages.ko/common/zotero.md b/pages.ko/common/zotero.md new file mode 100644 index 00000000000000..ac0ac27d11f7cd --- /dev/null +++ b/pages.ko/common/zotero.md @@ -0,0 +1,20 @@ +# zotero + +> 참고 문헌 관리 도구. +> 더 많은 정보: . + +- GUI로 실행: + +`zotero` + +- 헤드리스 모드로 실행: + +`zotero --headless` + +- 특정 프로필로 실행: + +`zotero -P {{프로필}}` + +- 마이그레이션 도우미 실행: + +`zotero --migration` diff --git a/pages.ko/common/zoxide.md b/pages.ko/common/zoxide.md new file mode 100644 index 00000000000000..69e9e03d0a951c --- /dev/null +++ b/pages.ko/common/zoxide.md @@ -0,0 +1,29 @@ +# zoxide + +> 가장 자주 사용되는 디렉터리를 추적. +> 순위 알고리즘을 사용하여 가장 적합한 경로로 이동. +> 더 많은 정보: . + +- 이름에 "foo"가 포함된 가장 높은 순위의 디렉터리로 이동: + +`zoxide query {{foo}}` + +- 이름에 "foo"와 "bar"가 차례로 포함된 가장 높은 순위의 디렉터리로 이동: + +`zoxide query {{foo}} {{bar}}` + +- 대화형 디렉터리 검색 시작 (`fzf` 필요): + +`zoxide query --interactive` + +- 디렉터리를 추가하거나 순위를 증가: + +`zoxide add {{경로/대상/폴더}}` + +- `zoxide` 데이터베이스에서 디렉터리 제거: + +`zoxide remove {{경로/대상/폴더}}` + +- 명령 별칭 (`z`, `za`, `zi`, `zq`, `zr`)에 대한 쉘 구성 생성: + +`zoxide init {{bash|fish|zsh}}` diff --git a/pages.ko/common/zpool.md b/pages.ko/common/zpool.md new file mode 100644 index 00000000000000..3c679995bfc81a --- /dev/null +++ b/pages.ko/common/zpool.md @@ -0,0 +1,36 @@ +# zpool + +> ZFS 풀 관리. +> 더 많은 정보: . + +- 모든 ZFS 풀의 구성 및 상태 표시: + +`zpool status` + +- ZFS 풀에서 오류 검사 (모든 블록의 체크섬 검증). 매우 높은 CPU 및 디스크 사용량: + +`zpool scrub {{풀_이름}}` + +- 가져올 수 있는 ZFS 풀 목록: + +`zpool import` + +- ZFS 풀 가져오기: + +`zpool import {{풀_이름}}` + +- ZFS 풀 내보내기 (모든 파일 시스템 마운트 해제): + +`zpool export {{풀_이름}}` + +- 모든 풀 작업의 기록 표시: + +`zpool history {{풀_이름}}` + +- 미러링된 풀 생성: + +`zpool create {{풀_이름}} mirror {{디스크1}} {{디스크2}} mirror {{디스크3}} {{디스크4}}` + +- ZFS 풀에 캐시 (L2ARC) 장치 추가: + +`zpool add {{풀_이름}} cache {{캐시_디스크}}` diff --git a/pages.ko/common/zrun.md b/pages.ko/common/zrun.md new file mode 100644 index 00000000000000..f5653c0a0b5701 --- /dev/null +++ b/pages.ko/common/zrun.md @@ -0,0 +1,8 @@ +# zrun + +> 인수 파일을 명령어에 투명하게 압축 해제하여 실행. +> 더 많은 정보: . + +- 압축된 인수 파일의 압축을 해제하여 지정된 명령 실행: + +`zrun {{cat 경로/대상/파일1.gz 경로/대상/파일2.bz2 ...}}` diff --git a/pages.ko/common/zsh.md b/pages.ko/common/zsh.md new file mode 100644 index 00000000000000..f8d2d1f2a68126 --- /dev/null +++ b/pages.ko/common/zsh.md @@ -0,0 +1,37 @@ +# zsh + +> Z SHell, Bash 호환 명령줄 인터프리터. +> 같이 보기: `bash`, `histexpand`. +> 더 많은 정보: . + +- 대화형 셸 세션 시작: + +`zsh` + +- 특정 [c]명령 실행: + +`zsh -c "{{echo Hello world}}"` + +- 특정 스크립트 실행: + +`zsh {{경로/대상/스크립트.zsh}}` + +- 특정 스크립트를 실행하지 않고 구문 오류 검사: + +`zsh --no-exec {{경로/대상/스크립트.zsh}}` + +- `stdin`에서 특정 명령 실행: + +`{{echo Hello world}} | zsh` + +- 특정 스크립트를 실행하며 각 명령을 실행 전에 출력: + +`zsh --xtrace {{경로/대상/스크립트.zsh}}` + +- 대화형 셸 세션을 자세한 모드로 시작하여 실행 전 각 명령 출력: + +`zsh --verbose` + +- `zsh` 내에서 특정 명령을 글로브 패턴 비활성화하여 실행: + +`noglob {{명령}}` diff --git a/pages.ko/common/zstd.md b/pages.ko/common/zstd.md new file mode 100644 index 00000000000000..308b04bef23342 --- /dev/null +++ b/pages.ko/common/zstd.md @@ -0,0 +1,24 @@ +# zstd + +> Zstandard 압축을 사용하여 파일을 압축하거나 압축 해제. +> 더 많은 정보: . + +- 파일을 `.zst` 확장자로 새 파일로 압축: + +`zstd {{경로/대상/파일}}` + +- 파일 압축 해제: + +`zstd --decompress {{경로/대상/파일.zst}}` + +- `stdout`으로 압축 해제: + +`zstd --decompress --stdout {{경로/대상/파일.zst}}` + +- 압축 수준을 지정하여 파일 압축 (1=가장 빠름, 19=가장 느림, 3=기본): + +`zstd -{{수준}} {{경로/대상/파일}}` + +- 더 많은 메모리를 사용하여 더 높은 압축 수준(최대 22) 잠금 해제 (압축 및 압축 해제 모두): + +`zstd --ultra -{{수준}} {{경로/대상/파일}}` diff --git a/pages.ko/common/zstdcat.md b/pages.ko/common/zstdcat.md new file mode 100644 index 00000000000000..72212d53ce7cf4 --- /dev/null +++ b/pages.ko/common/zstdcat.md @@ -0,0 +1,7 @@ +# zstdcat + +> 이 명령은 `zstd --decompress --stdout`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr zstd` diff --git a/pages.ko/common/zstdless.md b/pages.ko/common/zstdless.md new file mode 100644 index 00000000000000..5dd01e835dc645 --- /dev/null +++ b/pages.ko/common/zstdless.md @@ -0,0 +1,9 @@ +# zstdless + +> `zstd`로 압축된 파일을 대화형으로 열어 스크롤하고 검색할 수 있게 합니다. +> 같이 보기: `zstd`, `less`. +> 더 많은 정보: . + +- `zstd`로 압축된 파일 열기: + +`zstdless {{경로/대상/파일.zst}}` diff --git a/pages.ko/common/zstdmt.md b/pages.ko/common/zstdmt.md new file mode 100644 index 00000000000000..809a5d70a1aee6 --- /dev/null +++ b/pages.ko/common/zstdmt.md @@ -0,0 +1,7 @@ +# zstdmt + +> 이 명령은 `zstd --threads 0`의 별칭입니다 (작업 스레드 수를 물리적 CPU 코어 수로 설정). + +- 원본 명령에 대한 문서 보기: + +`tldr zstd` diff --git a/pages.ko/common/zsteg.md b/pages.ko/common/zsteg.md new file mode 100644 index 00000000000000..770683d1ef0de3 --- /dev/null +++ b/pages.ko/common/zsteg.md @@ -0,0 +1,29 @@ +# zsteg + +> PNG 및 BMP 파일 형식을 위한 스테가노그래피 탐지 도구. +> LSB 스테가노그래피, ZLIB 압축 데이터, OpenStego, Camouflage 및 에라토스테네스 집합의 LSB를 탐지합니다. +> 더 많은 정보: . + +- PNG에서 포함된 데이터 탐지: + +`zsteg {{경로/대상/이미지.png}}` + +- BMP 이미지에서 알려진 모든 방법을 사용하여 포함된 데이터 탐지: + +`zsteg --all {{경로/대상/이미지.bmp}}` + +- PNG에서 포함된 데이터 탐지, 픽셀을 수직으로 반복하고 MSB 우선 사용: + +`zsteg --msb --order yx {{경로/대상/이미지.png}}` + +- BMP 이미지에서 포함된 데이터 탐지, 고려할 비트 지정: + +`zsteg --bits {{1,2,3|1-3}} {{경로/대상/이미지.bmp}}` + +- PNG에서 포함된 데이터 탐지, 소수 픽셀만 추출하고 비트 반전: + +`zsteg --prime --invert {{경로/대상/이미지.png}}` + +- BMP 이미지에서 포함된 데이터 탐지, 찾을 문자열의 최소 길이와 찾기 모드 지정: + +`zsteg --min-str-len {{10}} --strings {{first|all|longest|none}} {{경로/대상/이미지.bmp}}` diff --git a/pages.ko/common/~.md b/pages.ko/common/~.md new file mode 100644 index 00000000000000..e783ec4b758c33 --- /dev/null +++ b/pages.ko/common/~.md @@ -0,0 +1,16 @@ +# ~ + +> 디렉토리로 확장. +> 더 많은 정보: . + +- 현재 사용자의 홈 디렉토리 내용 나열: + +`ls ~` + +- 다른 사용자의 홈 디렉토리 내용 나열: + +`ls ~{{사용자명}}` + +- 이전에 있었던 디렉토리의 내용 나열: + +`ls ~-` diff --git a/pages.ko/freebsd/base64.md b/pages.ko/freebsd/base64.md new file mode 100644 index 00000000000000..31e75ebd309b05 --- /dev/null +++ b/pages.ko/freebsd/base64.md @@ -0,0 +1,28 @@ +# base64 + +> 파일 또는 `stdin`을 base64로 인코딩하거나 디코딩하여 `stdout` 또는 다른 파일로 출력. +> 더 많은 정보: . + +- 파일을 인코딩하여 `stdout`으로 출력: + +`base64 {{[-i|--input]}} {{경로/대상/파일}}` + +- 파일을 인코딩하여 지정된 출력 파일로 저장: + +`base64 {{[-i|--input]}} {{경로/대상/입력_파일}} {{[-o|--output]}} {{경로/대상/출력_파일}}` + +- 특정 너비로 인코딩된 출력 줄바꿈 (`0`은 줄바꿈 비활성화): + +`base64 {{[-b|--break]}} {{0|76|...}} {{경로/대상/파일}}` + +- 파일을 디코딩하여 `stdout`으로 출력: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{경로/대상/파일}}` + +- `stdin`을 인코딩하여 `stdout`으로 출력: + +`{{명령어}} | base64` + +- `stdin`을 디코딩하여 `stdout`으로 출력: + +`{{명령어}} | base64 {{[-d|--decode]}}` diff --git a/pages.ko/freebsd/cal.md b/pages.ko/freebsd/cal.md new file mode 100644 index 00000000000000..243717689cfcf2 --- /dev/null +++ b/pages.ko/freebsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> 현재 날짜가 강조된 달력을 표시합니다. +> 더 많은 정보: . + +- 현재 월의 달력 표시: + +`cal` + +- 특정 연도의 달력 표시: + +`cal {{연도}}` + +- 특정 월과 연도의 달력 표시: + +`cal {{월}} {{연도}}` + +- 현재 연도의 전체 달력 표시: + +`cal -y` + +- 오늘을 강조하지 않고 날짜를 중심으로 [3]개월 표시: + +`cal -h -3 {{월}} {{연도}}` + +- 현재 연도의 특정 월의 이전 2개월과 이후 3개월 표시: + +`cal -A 3 -B 2 {{월}}` + +- 율리우스력 날짜 표시 (1부터 시작하여 1월 1일부터 번호 매김): + +`cal -j` diff --git a/pages.ko/freebsd/chfn.md b/pages.ko/freebsd/chfn.md new file mode 100644 index 00000000000000..a5c7ea69b6dba2 --- /dev/null +++ b/pages.ko/freebsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/freebsd/chpass.md b/pages.ko/freebsd/chpass.md new file mode 100644 index 00000000000000..35922724b53ba5 --- /dev/null +++ b/pages.ko/freebsd/chpass.md @@ -0,0 +1,33 @@ +# chpass + +> 사용자 데이터베이스 정보, 로그인 쉘 및 비밀번호를 추가하거나 변경합니다. +> 같이 보기: `passwd`. +> 더 많은 정보: . + +- 현재 사용자의 사용자 데이터베이스 정보를 대화식으로 추가하거나 변경: + +`su -c chpass` + +- 현재 사용자의 로그인 쉘 설정: + +`chpass -s {{경로/대상/쉘}}` + +- 특정 사용자의 로그인 쉘 설정: + +`chpass -s {{경로/대상/쉘}} {{사용자명}}` + +- 계정 만료 시간 변경 (에포크로부터 초 단위, UTC): + +`su -c 'chpass -e {{시간}} {{사용자명}}'` + +- 사용자 비밀번호 변경: + +`su -c 'chpass -p {{암호화된_비밀번호}} {{사용자명}}'` + +- 조회할 NIS 서버의 호스트명 또는 주소 지정: + +`su -c 'chpass -h {{호스트명}} {{사용자명}}'` + +- 특정 NIS 도메인 지정 (기본값은 시스템 도메인 이름): + +`su -c 'chpass -d {{도메인}} {{사용자명}}'` diff --git a/pages.ko/freebsd/chsh.md b/pages.ko/freebsd/chsh.md new file mode 100644 index 00000000000000..fcd121523b4761 --- /dev/null +++ b/pages.ko/freebsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/freebsd/df.md b/pages.ko/freebsd/df.md new file mode 100644 index 00000000000000..3fac998ad68846 --- /dev/null +++ b/pages.ko/freebsd/df.md @@ -0,0 +1,32 @@ +# df + +> 파일 시스템 디스크 공간 사용량 개요를 표시합니다. +> 더 많은 정보: . + +- 512바이트 단위로 모든 파일 시스템과 디스크 사용량 표시: + +`df` + +- [h]uman-readable(1024의 거듭제곱에 기반한) 단위를 사용해 총합 표시: + +`df -h -c` + +- [H]uman-readable(1000의 거듭제곱에 기반한) 단위 사용: + +`df -{{-si|H}}` + +- 주어진 파일 또는 디렉토리를 포함하는 파일 시스템 및 디스크 사용량 표시: + +`df {{경로/대상/파일_또는_폴더}}` + +- [i]노드의 수 및 사용된 노드 수를 포함해 파일 시스템 [T]ypes에 대한 통계 포함: + +`df -iT` + +- 공간 값을 쓸 때 1024바이트 단위 사용하기: + +`df -k` + +- [P]ortable한 방식으로 정보 표시: + +`df -P` diff --git a/pages.ko/freebsd/look.md b/pages.ko/freebsd/look.md new file mode 100644 index 00000000000000..105bf3c175cad2 --- /dev/null +++ b/pages.ko/freebsd/look.md @@ -0,0 +1,21 @@ +# look + +> 정렬된 파일에서 접두사로 시작하는 줄을 표시합니다. +> 같이 보기: `grep`, `sort`. +> 더 많은 정보: . + +- 특정 파일에서 특정 접두사로 시작하는 줄을 검색: + +`look {{접두사}} {{경로/대상/파일}}` + +- 알파벳과 숫자만 대소문자를 구분하지 않고 검색: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{접두사}} {{경로/대상/파일}}` + +- 종결 문자 지정 (기본값은 공백): + +`look {{[-t|--terminate]}} {{,}}` + +- `/usr/share/dict/words`에서 검색 (`--ignore-case` 및 `--alphanum`이 가정됨): + +`look {{접두사}}` diff --git a/pages.ko/freebsd/pkg.md b/pages.ko/freebsd/pkg.md new file mode 100644 index 00000000000000..18e4559cf9a8e2 --- /dev/null +++ b/pages.ko/freebsd/pkg.md @@ -0,0 +1,28 @@ +# pkg + +> FreeBSD 패키지 관리자입니다. +> 더 많은 정보: . + +- 새 패키지 설치: + +`pkg install {{패키지}}` + +- 패키지 삭제: + +`pkg delete {{패키지}}` + +- 모든 패키지 업그레이드: + +`pkg upgrade` + +- 패키지 검색: + +`pkg search {{키워드}}` + +- 설치된 패키지 목록: + +`pkg info` + +- 필요없는 의존성 제거: + +`pkg autoremove` diff --git a/pages.ko/freebsd/sed.md b/pages.ko/freebsd/sed.md new file mode 100644 index 00000000000000..a35203a8a4fbfd --- /dev/null +++ b/pages.ko/freebsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> 스크립트로 텍스트를 편집합니다. +> 같이 보기: `awk`, `ed`. +> 더 많은 정보: . + +- 모든 입력 라인에서 `apple` (기본 정규표현식)을 `mango` (기본 정규표현식)로 대체하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed 's/apple/mango/g'` + +- 특정 스크립트 [f]파일을 실행하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed -f {{경로/대상/스크립트.sed}}` + +- 관련 `w` 함수 또는 플래그가 포함된 명령이 입력 줄에 적용될 때까지 각 파일 열기 지연: + +`{{명령}} | sed -fa {{경로/대상/스크립트.sed}}` + +- 모든 입력 라인에서 `apple` (확장 정규표현식)을 `APPLE` (확장 정규표현식)로 대체하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed -E 's/(apple)/\U\1/g'` + +- 첫 번째 줄만 `stdout`에 인쇄: + +`{{명령}} | sed -n '1p'` + +- 특정 파일에서 `apple` (기본 정규표현식)을 `mango` (기본 정규표현식)로 모두 대체하고 원본 파일 덮어쓰기: + +`sed -i 's/apple/mango/g' {{경로/대상/파일}}` diff --git a/pages.ko/freebsd/sockstat.md b/pages.ko/freebsd/sockstat.md new file mode 100644 index 00000000000000..f6123f94f6a98d --- /dev/null +++ b/pages.ko/freebsd/sockstat.md @@ -0,0 +1,36 @@ +# sockstat + +> 오픈된 인터넷 또는 UNIX 도메인 소켓을 나열합니다. +> 더 많은 정보: . + +- 어떤 사용자/프로세스가 어떤 포트에서 [l]istening하는지 보기: + +`sockstat -l` + +- 특정 [p]ort에서 사용 중인 IPv[4]/IPv[6] 소켓 정보 보기, 특정 [P]rotocol 사용: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}` + +- [c]onnected 소켓도 표시, 숫자형식의 UID를 사용자 이름으로 해석하지 않고 [w]ider 필드 크기 사용: + +`sockstat -cnw` + +- 특정 [j]ail ID 또는 이름에 속하는 소켓만 [v]erbose 모드로 표시: + +`sockstat -jv` + +- 프로토콜 [s]tate 및 원격 [U]DP 캡슐화 포트 번호 표시 (현재 SCTP 및 TCP에만 구현됨): + +`sockstat -sU` + +- [C]ongestion control 모듈 및 프로토콜 [S]tack 표시 (현재 TCP에만 구현됨): + +`sockstat -CS` + +- 로컬 및 외부 주소가 루프백 네트워크 접두어 127.0.0.0/8이 아니거나 IPv6 루프백 주소 ::1을 포함하지 않는 경우에만 인터넷 소켓 표시: + +`sockstat -L` + +- 헤더를 표시하지 않음 ([q]uiet 모드), [u]nix 소켓 표시하고 `inp_gencnt` 표시: + +`sockstat -qui` diff --git a/pages.ko/freebsd/ypchfn.md b/pages.ko/freebsd/ypchfn.md new file mode 100644 index 00000000000000..5f8fe7ee43f969 --- /dev/null +++ b/pages.ko/freebsd/ypchfn.md @@ -0,0 +1,7 @@ +# ypchfn + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/freebsd/ypchpass.md b/pages.ko/freebsd/ypchpass.md new file mode 100644 index 00000000000000..c0abdfb6a19d67 --- /dev/null +++ b/pages.ko/freebsd/ypchpass.md @@ -0,0 +1,7 @@ +# ypchpass + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/freebsd/ypchsh.md b/pages.ko/freebsd/ypchsh.md new file mode 100644 index 00000000000000..2679e6f1b615b9 --- /dev/null +++ b/pages.ko/freebsd/ypchsh.md @@ -0,0 +1,7 @@ +# ypchsh + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/linux/a2disconf.md b/pages.ko/linux/a2disconf.md new file mode 100644 index 00000000000000..fd84d6537096ee --- /dev/null +++ b/pages.ko/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Debian 기반 운영체제에서 Apache 구성 파일을 비활성화합니다. +> 더 많은 정보: . + +- 구성 파일 비활성화: + +`sudo a2disconf {{구성_파일}}` + +- 정보 메시지를 표시하지 않음: + +`sudo a2disconf --quiet {{구성_파일}}` diff --git a/pages.ko/linux/a2dismod.md b/pages.ko/linux/a2dismod.md new file mode 100644 index 00000000000000..c6e544b8d505bc --- /dev/null +++ b/pages.ko/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Debian 기반 OS에서 Apache 모듈을 비활성화합니다. +> 더 많은 정보: . + +- 모듈 비활성화: + +`sudo a2dismod {{모듈}}` + +- 정보 메시지를 표시하지 않음: + +`sudo a2dismod --quiet {{모듈}}` diff --git a/pages.ko/linux/a2dissite.md b/pages.ko/linux/a2dissite.md new file mode 100644 index 00000000000000..9aad2cb3666ee0 --- /dev/null +++ b/pages.ko/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Debian 기반 운영 체제에서 Apache 가상 호스트 비활성화. +> 더 많은 정보: . + +- 가상 호스트 비활성화: + +`sudo a2dissite {{가상_호스트}}` + +- 정보성 메시지를 표시하지 않음: + +`sudo a2dissite --quiet {{가상_호스트}}` diff --git a/pages.ko/linux/a2enconf.md b/pages.ko/linux/a2enconf.md new file mode 100644 index 00000000000000..911251e85516af --- /dev/null +++ b/pages.ko/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Debian 기반 OS에서 Apache 설정 파일을 활성화합니다. +> 더 많은 정보: . + +- 설정 파일 활성화: + +`sudo a2enconf {{설정_파일}}` + +- 정보 메시지를 표시하지 않음: + +`sudo a2enconf --quiet {{설정_파일}}` diff --git a/pages.ko/linux/a2enmod.md b/pages.ko/linux/a2enmod.md new file mode 100644 index 00000000000000..8c146ce57ba646 --- /dev/null +++ b/pages.ko/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Debian 기반 운영체제에서 Apache 모듈을 활성화합니다. +> 더 많은 정보: . + +- 모듈 활성화: + +`sudo a2enmod {{모듈}}` + +- 정보 메시지를 표시하지 않음: + +`sudo a2enmod --quiet {{모듈}}` diff --git a/pages.ko/linux/a2ensite.md b/pages.ko/linux/a2ensite.md new file mode 100644 index 00000000000000..534b8950e010b3 --- /dev/null +++ b/pages.ko/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Debian 기반 운영 체제에서 Apache 가상 호스트를 활성화합니다. +> 더 많은 정보: . + +- 가상 호스트 활성화: + +`sudo a2ensite {{가상_호스트}}` + +- 정보 메시지 표시 안 함: + +`sudo a2ensite --quiet {{가상_호스트}}` diff --git a/pages.ko/linux/a2query.md b/pages.ko/linux/a2query.md new file mode 100644 index 00000000000000..d7497a7ceb6253 --- /dev/null +++ b/pages.ko/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Debian 기반 OS에서 Apache의 런타임 설정을 검색. +> 더 많은 정보: . + +- 활성화된 Apache 모듈 나열: + +`sudo a2query -m` + +- 특정 모듈이 설치되어 있는지 확인: + +`sudo a2query -m {{모듈_이름}}` + +- 활성화된 가상 호스트 나열: + +`sudo a2query -s` + +- 현재 활성화된 멀티 프로세싱 모듈 표시: + +`sudo a2query -M` + +- Apache 버전 표시: + +`sudo a2query -v` diff --git a/pages.ko/linux/aa-complain.md b/pages.ko/linux/aa-complain.md new file mode 100644 index 00000000000000..88104e4700a2b1 --- /dev/null +++ b/pages.ko/linux/aa-complain.md @@ -0,0 +1,13 @@ +# aa-complain + +> AppArmor 정책을 컴플레인 모드로 설정합니다. +> 같이 보기: `aa-disable`, `aa-enforce`, `aa-status`. +> 더 많은 정보: . + +- 정책을 컴플레인 모드로 설정: + +`sudo aa-complain {{경로/대상/프로필1 경로/대상/프로필2 ...}}` + +- 정책들을 컴플레인 모드로 설정: + +`sudo aa-complain --dir {{경로/대상/프로필들}}` diff --git a/pages.ko/linux/aa-disable.md b/pages.ko/linux/aa-disable.md new file mode 100644 index 00000000000000..3c900fdcf2e83b --- /dev/null +++ b/pages.ko/linux/aa-disable.md @@ -0,0 +1,13 @@ +# aa-disable + +> AppArmor 보안 정책 비활성화. +> 같이 보기: `aa-complain`, `aa-enforce`, `aa-status`. +> 더 많은 정보: . + +- 프로필 비활성화: + +`sudo aa-disable {{경로/대상/프로필1 경로/대상/프로필2 ...}}` + +- 디렉토리 내의 프로필 비활성화 (기본값은 `/etc/apparmor.d`): + +`sudo aa-disable --dir {{경로/대상/프로필들}}` diff --git a/pages.ko/linux/aa-enforce.md b/pages.ko/linux/aa-enforce.md new file mode 100644 index 00000000000000..a82e5ba6668ecf --- /dev/null +++ b/pages.ko/linux/aa-enforce.md @@ -0,0 +1,13 @@ +# aa-enforce + +> AppArmor 프로파일을 강제 모드로 설정합니다. +> 같이 보기: `aa-complain`, `aa-disable`, `aa-status`. +> 더 많은 정보: . + +- 프로파일 활성화: + +`sudo aa-enforce --dir {{경로/대상/프로파일}}` + +- 여러 프로파일 활성화: + +`sudo aa-enforce {{경로/대상/프로파일1 경로/대상/프로파일2 ...}}` diff --git a/pages.ko/linux/aa-status.md b/pages.ko/linux/aa-status.md new file mode 100644 index 00000000000000..ca3eac7bd68ce8 --- /dev/null +++ b/pages.ko/linux/aa-status.md @@ -0,0 +1,25 @@ +# aa-status + +> 현재 로드된 AppArmor 모듈 나열. +> 같이 보기: `aa-complain`, `aa-disable`, `aa-enforce`. +> 더 많은 정보: . + +- 상태 확인: + +`sudo aa-status` + +- 로드된 정책의 수 표시: + +`sudo aa-status --profiled` + +- 로드된 시행 정책의 수 표시: + +`sudo aa-status --enforced` + +- 로드된 비시행 정책의 수 표시: + +`sudo aa-status --complaining` + +- 작업을 종료하는 로드된 시행 정책의 수 표시: + +`sudo aa-status --kill` diff --git a/pages.ko/linux/abbr.md b/pages.ko/linux/abbr.md new file mode 100644 index 00000000000000..5a5176778328c8 --- /dev/null +++ b/pages.ko/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> fish 쉘에서 약어를 관리합니다. +> 사용자 정의 단어는 입력 후 더 긴 구문으로 대체됩니다. +> 더 많은 정보: . + +- 새 약어 추가: + +`abbr --add {{약어_이름}} {{명령어}} {{명령어_인수}}` + +- 기존 약어 이름 변경: + +`abbr --rename {{기존_이름}} {{새로운_이름}}` + +- 기존 약어 삭제: + +`abbr --erase {{약어_이름}}` + +- SSH를 통해 다른 호스트의 약어 가져오기: + +`ssh {{호스트_이름}} abbr --show | source` diff --git a/pages.ko/linux/abroot.md b/pages.ko/linux/abroot.md new file mode 100644 index 00000000000000..6ebe13638d9831 --- /dev/null +++ b/pages.ko/linux/abroot.md @@ -0,0 +1,37 @@ +# abroot + +> 2개의 루트 파티션 상태(A⟺B) 간 트랜잭션을 통해 완전한 불변성과 원자성을 제공하는 유틸리티. +> 항상 시스템이 일관된 상태를 유지하도록 OCI 이미지를 사용하여 업데이트를 수행합니다. +> 더 많은 정보: . + +- 로컬 이미지에 패키지 추가 (참고: 이 명령을 실행한 후 변경 사항을 적용해야 합니다): + +`sudo abroot pkg add {{패키지}}` + +- 로컬 이미지에서 패키지 제거 (참고: 이 명령을 실행한 후 변경 사항을 적용해야 합니다): + +`sudo abroot pkg remove {{패키지}}` + +- 로컬 이미지에 있는 패키지 나열: + +`sudo abroot pkg list` + +- 로컬 이미지의 변경 사항 적용 (참고: 이러한 변경 사항을 적용하려면 시스템을 재부팅해야 합니다): + +`sudo abroot pkg apply` + +- 시스템을 이전 상태로 롤백: + +`sudo abroot rollback` + +- 커널 매개변수 편집/보기: + +`sudo abroot kargs {{edit|show}}` + +- 상태 표시: + +`sudo abroot status` + +- 도움말 표시: + +`abroot --help` diff --git a/pages.ko/linux/abrt-action-analyze-backtrace.md b/pages.ko/linux/abrt-action-analyze-backtrace.md new file mode 100644 index 00000000000000..01c99b674dc8b3 --- /dev/null +++ b/pages.ko/linux/abrt-action-analyze-backtrace.md @@ -0,0 +1,18 @@ +# abrt-action-analyze-backtrace + +> C/C++ 백트레이스를 분석합니다. +> 중복 해시, 백트레이스 등급을 생성하고 충돌 함수를 식별합니다. +> 문제 디렉터리에 `duphash`, `rating`, `crash_function`이라는 새 요소로 데이터를 저장합니다. +> 더 많은 정보: . + +- 현재 작업 디렉터리의 백트레이스를 분석: + +`abrt-action-analyze-backtrace` + +- 특정 디렉터리의 백트레이스를 분석: + +`abrt-action-analyze-backtrace -d {{경로/대상/폴더}}` + +- 자세히 백트레이스를 분석: + +`abrt-action-analyze-backtrace -v` diff --git a/pages.ko/linux/abrt-action-analyze-c.md b/pages.ko/linux/abrt-action-analyze-c.md new file mode 100644 index 00000000000000..8a8737eba665fe --- /dev/null +++ b/pages.ko/linux/abrt-action-analyze-c.md @@ -0,0 +1,16 @@ +# abrt-action-analyze-c + +> `coredump`와 함께 문제 데이터 디렉터리에 대한 UUID를 계산합니다. +> 더 많은 정보: . + +- 현재 작업 디렉터리에 대한 UUID 계산 및 저장: + +`abrt-action-analyze-c` + +- 특정 디렉터리에 대한 UUID 계산 및 저장: + +`abrt-action-analyze-c -d {{경로/대상/폴더}}` + +- 자세히 UUID 계산 및 저장: + +`abrt-action-analyze-c -v` diff --git a/pages.ko/linux/ac.md b/pages.ko/linux/ac.md new file mode 100644 index 00000000000000..e61af6d3c12217 --- /dev/null +++ b/pages.ko/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> 사용자가 얼마나 오랫동안 연결되어 있었는지에 대한 통계를 출력합니다. +> 더 많은 정보: . + +- 현재 사용자가 몇 시간 동안 연결되었는지 출력: + +`ac` + +- 사용자가 몇 시간 동안 연결되었는지 출력: + +`ac {{[-p|--individual-totals]}}` + +- 특정 사용자가 몇 시간 동안 연결되었는지 출력: + +`ac {{[-p|--individual-totals]}} {{사용자명}}` + +- 특정 사용자가 하루 동안 몇 시간 연결되었는지 출력(총합 포함): + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{사용자명}}` + +- 추가 세부 정보도 표시: + +`ac --compatibility` diff --git a/pages.ko/linux/acountry.md b/pages.ko/linux/acountry.md new file mode 100644 index 00000000000000..f4f0c88563d4b9 --- /dev/null +++ b/pages.ko/linux/acountry.md @@ -0,0 +1,16 @@ +# acountry + +> IPv4 주소 또는 호스트 이름이 위치한 국가를 출력합니다. +> 더 많은 정보: . + +- IPv4 주소 또는 호스트가 위치한 국가 출력: + +`acountry {{example.com}}` + +- 추가 [d]디버깅 출력: + +`acountry -d {{example.com}}` + +- 더 [v]자세한 정보 출력: + +`acountry -v {{example.com}}` diff --git a/pages.ko/linux/acpi.md b/pages.ko/linux/acpi.md new file mode 100644 index 00000000000000..17348c1a19c14f --- /dev/null +++ b/pages.ko/linux/acpi.md @@ -0,0 +1,28 @@ +# acpi + +> 배터리 상태 또는 온도 정보를 표시합니다. +> 더 많은 정보: . + +- 배터리 정보 표시: + +`acpi` + +- 온도 정보 표시: + +`acpi -t` + +- 냉각 장치 정보 표시: + +`acpi -c` + +- 화씨로 온도 정보 표시: + +`acpi -tf` + +- 모든 정보 표시: + +`acpi -V` + +- `/sys` 대신 `/proc`에서 정보 추출: + +`acpi -p` diff --git a/pages.ko/linux/add-apt-repository.md b/pages.ko/linux/add-apt-repository.md new file mode 100644 index 00000000000000..29ede01f7a9c5c --- /dev/null +++ b/pages.ko/linux/add-apt-repository.md @@ -0,0 +1,20 @@ +# add-apt-repository + +> `apt` 저장소 정의를 관리합니다. +> 더 많은 정보: . + +- 새 `apt` 저장소 추가: + +`add-apt-repository {{저장소_명세}}` + +- `apt` 저장소 제거: + +`add-apt-repository {{[-r|--remove]}} {{저장소_명세}}` + +- 저장소 추가 후 패키지 캐시 업데이트: + +`add-apt-repository --update {{저장소_명세}}` + +- 저장소에서 소스 패키지 다운로드 허용: + +`add-apt-repository {{[-s|--enable-source]}} {{저장소_명세}}` diff --git a/pages.ko/linux/addpart.md b/pages.ko/linux/addpart.md new file mode 100644 index 00000000000000..73b9c2aceb3b15 --- /dev/null +++ b/pages.ko/linux/addpart.md @@ -0,0 +1,9 @@ +# addpart + +> 지정된 파티션의 존재를 Linux 커널에 알립니다. +> `add partition` ioctl의 간단한 래퍼입니다. +> 더 많은 정보: . + +- 커널에 지정된 파티션의 존재를 알림: + +`addpart {{장치}} {{파티션}} {{시작}} {{길이}}` diff --git a/pages.ko/linux/addr2line.md b/pages.ko/linux/addr2line.md new file mode 100644 index 00000000000000..325a46a8383aa5 --- /dev/null +++ b/pages.ko/linux/addr2line.md @@ -0,0 +1,16 @@ +# addr2line + +> 바이너리의 주소를 파일 이름과 줄 번호로 변환. +> 더 많은 정보: . + +- 실행 파일의 명령어 주소로부터 소스 코드의 파일 이름과 줄 번호 표시: + +`addr2line --exe={{경로/대상/실행_파일}} {{주소}}` + +- 함수 이름, 파일 이름 및 줄 번호 표시: + +`addr2line --exe={{경로/대상/실행_파일}} --functions {{주소}}` + +- C++ 코드의 함수 이름 디맹글링: + +`addr2line --exe={{경로/대상/실행_파일}} --functions --demangle {{주소}}` diff --git a/pages.ko/linux/adduser.md b/pages.ko/linux/adduser.md new file mode 100644 index 00000000000000..c5f52560172d64 --- /dev/null +++ b/pages.ko/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> 사용자 추가 도구. +> 더 많은 정보: . + +- 기본 홈 디렉터리를 갖춘 새 사용자 생성 및 비밀번호 설정 안내: + +`adduser {{사용자명}}` + +- 홈 디렉터리 없이 새 사용자 생성: + +`adduser --no-create-home {{사용자명}}` + +- 지정된 경로에 홈 디렉터리를 갖춘 새 사용자 생성: + +`adduser --home {{경로/대상/홈}} {{사용자명}}` + +- 로그인 셸로 지정된 셸을 갖춘 새 사용자 생성: + +`adduser --shell {{경로/대상/셸}} {{사용자명}}` + +- 지정된 그룹에 속하는 새 사용자 생성: + +`adduser --ingroup {{그룹}} {{사용자명}}` diff --git a/pages.ko/linux/adig.md b/pages.ko/linux/adig.md new file mode 100644 index 00000000000000..f8bde7fe3d3698 --- /dev/null +++ b/pages.ko/linux/adig.md @@ -0,0 +1,24 @@ +# adig + +> 도메인 네임 시스템(DNS) 서버에서 받은 정보를 출력합니다. +> 더 많은 정보: . + +- 호스트 이름에 대한 A (기본) 레코드를 DNS에서 표시: + +`adig {{example.com}}` + +- 추가 [d]디버깅 출력 표시: + +`adig -d {{example.com}}` + +- 특정 DNS [s]서버에 연결: + +`adig -s {{1.2.3.4}} {{example.com}}` + +- DNS 서버에 연결할 때 특정 TCP 포트 사용: + +`adig -T {{포트}} {{example.com}}` + +- DNS 서버에 연결할 때 특정 UDP 포트 사용: + +`adig -U {{포트}} {{example.com}}` diff --git a/pages.ko/linux/agetty.md b/pages.ko/linux/agetty.md new file mode 100644 index 00000000000000..a6547c566eb75c --- /dev/null +++ b/pages.ko/linux/agetty.md @@ -0,0 +1,30 @@ +# agetty + +> 대안 `getty`: `tty` 포트를 열고 로그인 이름을 요청한 후 `/bin/login` 명령을 호출합니다. +> 일반적으로 `init`에 의해 호출됩니다. +> 참고: 보드레이트는 터미널과 장치 간의 직렬 연결을 통한 데이터 전송 속도입니다. +> 더 많은 정보: . + +- `stdin`을 포트(`/dev` 상대 경로)에 연결하고 선택적으로 보드레이트를 지정(기본값: 9600): + +`agetty {{tty}} {{115200}}` + +- `stdin`이 이미 `tty`에 연결되었다고 가정하고 로그인에 대한 타임아웃 설정: + +`agetty {{[-t|--timeout]}} {{타임아웃_초}} -` + +- `tty`가 [8]비트라고 가정하고 `init`에 의해 설정된 `TERM` 환경 변수를 재정의: + +`agetty -8 - {{term_var}}` + +- 로그인을 건너뛰고(로그인 없음) 루트 권한으로 다른 로그인 프로그램을 `/bin/login` 대신 호출: + +`agetty {{[-n|--skip-login]}} {{[-l|--login-program]}} {{로그인_프로그램}} {{tty}}` + +- 로그인 프롬프트를 작성하기 전에 사전 로그인(이슈) 파일(`/etc/issue` 기본값)을 표시하지 않음: + +`agetty {{[-i|--noissue]}} -` + +- 루트 디렉터리를 변경하고 `utmp` 파일에 특정 가짜 호스트 작성: + +`agetty {{[-r|--chroot]}} {{경로/대상/루트_디렉터리}} {{[-H|--host]}} {{가짜_호스트}} -` diff --git a/pages.ko/linux/ahost.md b/pages.ko/linux/ahost.md new file mode 100644 index 00000000000000..d6b08f3a4bfecc --- /dev/null +++ b/pages.ko/linux/ahost.md @@ -0,0 +1,16 @@ +# ahost + +> 호스트 이름 또는 IP 주소와 연결된 A 또는 AAAA 레코드를 표시하는 DNS 조회 도구. +> 더 많은 정보: . + +- 호스트 이름 또는 IP 주소와 연결된 `A` 또는 `AAAA` 레코드 출력: + +`ahost {{example.com}}` + +- 추가 디버깅 출력을 표시: + +`ahost -d {{example.com}}` + +- 지정된 유형의 레코드 표시: + +`ahost -t {{a|aaaa|u}} {{example.com}}` diff --git a/pages.ko/linux/alien.md b/pages.ko/linux/alien.md new file mode 100644 index 00000000000000..2b5abfdcb2b86d --- /dev/null +++ b/pages.ko/linux/alien.md @@ -0,0 +1,21 @@ +# alien + +> 다양한 설치 패키지를 다른 형식으로 변환합니다. +> 같이 보기: `debtap`, Arch Linux에서 `.deb` 변환을 위한 도구. +> 더 많은 정보: . + +- 특정 설치 파일을 Debian 형식(`.deb` 확장자)으로 변환: + +`sudo alien --to-deb {{경로/대상/파일}}` + +- 특정 설치 파일을 Red Hat 형식(`.rpm` 확장자)으로 변환: + +`sudo alien --to-rpm {{경로/대상/파일}}` + +- 특정 설치 파일을 Slackware 설치 파일(`.tgz` 확장자)로 변환: + +`sudo alien --to-tgz {{경로/대상/파일}}` + +- 특정 설치 파일을 Debian 형식으로 변환하고 시스템에 설치: + +`sudo alien --to-deb --install {{경로/대상/파일}}` diff --git a/pages.ko/linux/alpine.md b/pages.ko/linux/alpine.md new file mode 100644 index 00000000000000..113510f119b8e1 --- /dev/null +++ b/pages.ko/linux/alpine.md @@ -0,0 +1,17 @@ +# alpine + +> pico/nano에서 영감을 받은 인터페이스를 가진 이메일 클라이언트 및 유즈넷 뉴스그룹 프로그램입니다. +> IMAP을 통해 대부분의 최신 이메일 서비스를 지원합니다. +> 더 많은 정보: . + +- 일반적으로 alpine 열기: + +`alpine` + +- 특정 이메일 주소로 이메일을 보내기 위한 메시지 작성 화면으로 바로 alpine 열기: + +`alpine {{email@example.net}}` + +- alpine 종료: + +`` diff --git a/pages.ko/linux/alternatives.md b/pages.ko/linux/alternatives.md new file mode 100644 index 00000000000000..074a0f280bbfe5 --- /dev/null +++ b/pages.ko/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> 이 명령은 `update-alternatives` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr update-alternatives` diff --git a/pages.ko/linux/amixer.md b/pages.ko/linux/amixer.md new file mode 100644 index 00000000000000..4be22692992e93 --- /dev/null +++ b/pages.ko/linux/amixer.md @@ -0,0 +1,12 @@ +# amixer + +> ALSA 사운드 카드 드라이버의 믹서. +> 더 많은 정보: . + +- 마스터 볼륨을 10% 높이기: + +`amixer -D pulse sset Master {{10%+}}` + +- 마스터 볼륨을 10% 낮추기: + +`amixer -D pulse sset Master {{10%-}}` diff --git a/pages.ko/linux/anbox.md b/pages.ko/linux/anbox.md new file mode 100644 index 00000000000000..b310ef59835a73 --- /dev/null +++ b/pages.ko/linux/anbox.md @@ -0,0 +1,8 @@ +# anbox + +> 모든 Linux 운영 체제에서 Android 애플리케이션 실행. +> 더 많은 정보: . + +- Anbox를 앱 관리자에서 실행: + +`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}` diff --git a/pages.ko/linux/apache2ctl.md b/pages.ko/linux/apache2ctl.md new file mode 100644 index 00000000000000..cbe76a9be99770 --- /dev/null +++ b/pages.ko/linux/apache2ctl.md @@ -0,0 +1,25 @@ +# apache2ctl + +> Apache HTTP 웹 서버 관리. +> 이 명령은 Debian 기반 OS에 포함되어 있으며, RHEL 기반 OS에서는 `httpd`를 참조하세요. +> 더 많은 정보: . + +- Apache 데몬 시작. 이미 실행 중인 경우 메시지 표시: + +`sudo apache2ctl start` + +- Apache 데몬 중지: + +`sudo apache2ctl stop` + +- Apache 데몬 재시작: + +`sudo apache2ctl restart` + +- 구성 파일의 구문 테스트: + +`sudo apache2ctl -t` + +- 로드된 모듈 나열: + +`sudo apache2ctl -M` diff --git a/pages.ko/linux/apk.md b/pages.ko/linux/apk.md new file mode 100644 index 00000000000000..2434b4fdd0f49e --- /dev/null +++ b/pages.ko/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> Alpine Linux 패키지 관리 도구. +> 더 많은 정보: . + +- 모든 원격 저장소에서 저장소 색인 업데이트: + +`apk update` + +- 새 패키지 설치: + +`apk add {{패키지}}` + +- 패키지 제거: + +`apk del {{패키지}}` + +- 패키지를 복구하거나 주요 의존성을 수정하지 않고 업그레이드: + +`apk fix {{패키지}}` + +- 키워드를 통해 패키지 검색: + +`apk search {{키워드}}` + +- 특정 패키지에 대한 정보 표시: + +`apk info {{패키지}}` diff --git a/pages.ko/linux/aplay.md b/pages.ko/linux/aplay.md new file mode 100644 index 00000000000000..f8230b42588b2d --- /dev/null +++ b/pages.ko/linux/aplay.md @@ -0,0 +1,16 @@ +# aplay + +> ALSA 사운드카드 드라이버를 위한 사운드 플레이어. +> 더 많은 정보: . + +- 특정 파일 재생 (파일 형식에 따라 샘플링 속도, 비트 깊이 등이 자동으로 결정됨): + +`aplay {{경로/대상/파일}}` + +- 특정 파일의 처음 10초를 2500 Hz에서 재생: + +`aplay --duration={{10}} --rate={{2500}} {{경로/대상/파일}}` + +- 22050 Hz, 모노, 8비트, Mu-Law `.au` 파일로 원시 파일 재생: + +`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/apparmor_status.md b/pages.ko/linux/apparmor_status.md new file mode 100644 index 00000000000000..11ff23bcebac8c --- /dev/null +++ b/pages.ko/linux/apparmor_status.md @@ -0,0 +1,7 @@ +# apparmor_status + +> 이 명령은 `aa-status`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr aa-status` diff --git a/pages.ko/linux/apport-bug.md b/pages.ko/linux/apport-bug.md new file mode 100644 index 00000000000000..e69d67ad8e5184 --- /dev/null +++ b/pages.ko/linux/apport-bug.md @@ -0,0 +1,20 @@ +# apport-bug + +> Ubuntu에서 버그 보고서를 제출합니다. +> 더 많은 정보: . + +- 전체 시스템에 대한 버그 보고: + +`apport-bug` + +- 특정 패키지에 대한 버그 보고: + +`apport-bug {{패키지}}` + +- 특정 실행 파일에 대한 버그 보고: + +`apport-bug {{경로/대상/실행_파일}}` + +- 특정 프로세스에 대한 버그 보고: + +`apport-bug {{PID}}` diff --git a/pages.ko/linux/apt-add-repository.md b/pages.ko/linux/apt-add-repository.md new file mode 100644 index 00000000000000..4398e62262e135 --- /dev/null +++ b/pages.ko/linux/apt-add-repository.md @@ -0,0 +1,20 @@ +# apt-add-repository + +> `apt` 저장소 정의를 관리합니다. +> 더 많은 정보: . + +- 새 `apt` 저장소 추가: + +`apt-add-repository {{저장소_명세}}` + +- `apt` 저장소 제거: + +`apt-add-repository --remove {{저장소_명세}}` + +- 저장소 추가 후 패키지 캐시 업데이트: + +`apt-add-repository --update {{저장소_명세}}` + +- 소스 패키지 활성화: + +`apt-add-repository --enable-source {{저장소_명세}}` diff --git a/pages.ko/linux/apt-cache.md b/pages.ko/linux/apt-cache.md new file mode 100644 index 00000000000000..3b9055555c9e27 --- /dev/null +++ b/pages.ko/linux/apt-cache.md @@ -0,0 +1,24 @@ +# apt-cache + +> Debian 및 Ubuntu 패키지 검색 도구. +> 더 많은 정보: . + +- 현재 소스에서 패키지 검색: + +`apt-cache search {{검색어}}` + +- 패키지 정보 표시: + +`apt-cache show {{패키지}}` + +- 패키지가 설치되어 있고 최신 상태인지 여부 표시: + +`apt-cache policy {{패키지}}` + +- 패키지의 의존성 표시: + +`apt-cache depends {{패키지}}` + +- 특정 패키지에 의존하는 패키지 표시: + +`apt-cache rdepends {{패키지}}` diff --git a/pages.ko/linux/apt-clone.md b/pages.ko/linux/apt-clone.md new file mode 100644 index 00000000000000..95d94f012c035c --- /dev/null +++ b/pages.ko/linux/apt-clone.md @@ -0,0 +1,24 @@ +# apt-clone + +> Debian 기반 시스템의 패키지 상태를 복제/백업/복원합니다. +> 더 많은 정보: . + +- 현재 시스템의 패키지 상태를 지정한 디렉터리에 복제: + +`apt-clone clone {{경로/대상/폴더}}` + +- 백업 용도로 클론 파일 (`tar.gz`) 생성: + +`apt-clone clone --destination {{경로/대상/백업.tar.gz}}` + +- 클론 파일에서 패키지 상태 복원: + +`apt-clone restore {{경로/대상/백업.tar.gz}}` + +- 클론 파일에 대한 정보 표시 (예: 릴리스, 아키텍처): + +`apt-clone info {{경로/대상/백업.tar.gz}}` + +- 클론 파일을 현재 시스템에서 복원할 수 있는지 확인: + +`apt-clone restore {{경로/대상/백업.tar.gz}} --destination {{경로/대상/복원}}` diff --git a/pages.ko/linux/apt-file.md b/pages.ko/linux/apt-file.md new file mode 100644 index 00000000000000..5f84646ba29f30 --- /dev/null +++ b/pages.ko/linux/apt-file.md @@ -0,0 +1,20 @@ +# apt-file + +> `apt` 패키지에서 아직 설치되지 않은 파일 검색. +> 더 많은 정보: . + +- 메타데이터 데이터베이스 업데이트: + +`sudo apt update` + +- 지정된 파일 또는 경로를 포함하는 패키지 검색: + +`apt-file {{search|find}} {{부분_경로/대상/파일}}` + +- 특정 패키지의 내용 나열: + +`apt-file {{show|list}} {{패키지}}` + +- `정규_표현식`과 일치하는 패키지 검색: + +`apt-file {{search|find}} --regexp {{정규_표현식}}` diff --git a/pages.ko/linux/apt-get.md b/pages.ko/linux/apt-get.md new file mode 100644 index 00000000000000..5fc93bb7ea505c --- /dev/null +++ b/pages.ko/linux/apt-get.md @@ -0,0 +1,38 @@ +# apt-get + +> Debian 및 Ubuntu 패키지 관리 도구. +> `apt-cache`를 사용하여 패키지를 검색하세요. +> Ubuntu 16.04 이후 버전에서는 대화형 사용 시 `apt` 사용을 권장합니다. +> 더 많은 정보: . + +- 사용 가능한 패키지 및 버전 목록 업데이트 (다른 `apt-get` 명령어 실행 전에 권장됨): + +`apt-get update` + +- 패키지 설치 또는 최신 버전으로 업데이트: + +`apt-get install {{패키지}}` + +- 패키지 제거: + +`apt-get remove {{패키지}}` + +- 패키지 및 구성 파일 제거: + +`apt-get purge {{패키지}}` + +- 설치된 모든 패키지를 최신 버전으로 업그레이드: + +`apt-get upgrade` + +- 로컬 저장소 정리 - 중단된 다운로드로 인해 더 이상 다운로드할 수 없는 패키지 파일(`.deb`) 제거: + +`apt-get autoclean` + +- 더 이상 필요하지 않은 모든 패키지 제거: + +`apt-get autoremove` + +- 설치된 패키지 업그레이드 (`upgrade`와 유사하지만, 불필요한 패키지를 제거하고 새로운 의존성을 충족하기 위해 추가 패키지를 설치): + +`apt-get dist-upgrade` diff --git a/pages.ko/linux/apt-key.md b/pages.ko/linux/apt-key.md new file mode 100644 index 00000000000000..f2ebefbe505f2b --- /dev/null +++ b/pages.ko/linux/apt-key.md @@ -0,0 +1,25 @@ +# apt-key + +> Debian 및 Ubuntu의 APT 패키지 관리자를 위한 키 관리 도구. +> 참고: `apt-key`는 이제 더 이상 사용되지 않습니다 (`apt-key del`의 유지 보수 스크립트에서의 사용 제외). +> 더 많은 정보: . + +- 신뢰할 수 있는 키 나열: + +`apt-key list` + +- 신뢰할 수 있는 키 저장소에 키 추가: + +`apt-key add {{공개_키_파일.asc}}` + +- 신뢰할 수 있는 키 저장소에서 키 삭제: + +`apt-key del {{키_ID}}` + +- 원격 키를 신뢰할 수 있는 키 저장소에 추가: + +`wget -qO - {{https://host.tld/filename.key}} | apt-key add -` + +- 키 ID만 사용하여 키서버에서 키 추가: + +`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{KEYID}}` diff --git a/pages.ko/linux/apt-mark.md b/pages.ko/linux/apt-mark.md new file mode 100644 index 00000000000000..08879b2d0b014e --- /dev/null +++ b/pages.ko/linux/apt-mark.md @@ -0,0 +1,24 @@ +# apt-mark + +> 설치된 패키지의 상태를 변경하는 유틸리티. +> 더 많은 정보: . + +- 패키지를 자동 설치로 표시: + +`sudo apt-mark auto {{패키지}}` + +- 패키지를 현재 버전으로 고정하고 업데이트 방지: + +`sudo apt-mark hold {{패키지}}` + +- 패키지를 다시 업데이트 가능하도록 허용: + +`sudo apt-mark unhold {{패키지}}` + +- 수동으로 설치된 패키지 표시: + +`apt-mark showmanual` + +- 업데이트되지 않는 고정된 패키지 표시: + +`apt-mark showhold` diff --git a/pages.ko/linux/apt-moo.md b/pages.ko/linux/apt-moo.md new file mode 100644 index 00000000000000..06bba30346b9fc --- /dev/null +++ b/pages.ko/linux/apt-moo.md @@ -0,0 +1,8 @@ +# apt moo + +> `APT` 이스터에그. +> 더 많은 정보: . + +- 소 이스터에그 출력: + +`apt moo` diff --git a/pages.ko/linux/apt.md b/pages.ko/linux/apt.md new file mode 100644 index 00000000000000..eb59e7da78eb39 --- /dev/null +++ b/pages.ko/linux/apt.md @@ -0,0 +1,38 @@ +# apt + +> Debian 기반 배포판을 위한 패키지 관리 도구. +> Ubuntu 16.04 이후 버전에서 대화형 사용 시 `apt-get`의 권장 대체 도구. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 사용 가능한 패키지 및 버전 목록 업데이트 (다른 `apt` 명령어 실행 전 권장): + +`sudo apt update` + +- 주어진 패키지 검색: + +`apt search {{패키지}}` + +- 패키지 정보 표시: + +`apt show {{패키지}}` + +- 패키지 설치 또는 최신 버전으로 업데이트: + +`sudo apt install {{패키지}}` + +- 패키지 제거 (`purge`를 사용하면 설정 파일도 함께 제거): + +`sudo apt remove {{패키지}}` + +- 모든 설치된 패키지를 최신 버전으로 업그레이드: + +`sudo apt upgrade` + +- 모든 패키지 나열: + +`apt list` + +- 설치된 패키지 나열: + +`apt list {{[-i|--installed]}}` diff --git a/pages.ko/linux/aptitude.md b/pages.ko/linux/aptitude.md new file mode 100644 index 00000000000000..c1187ca0974d00 --- /dev/null +++ b/pages.ko/linux/aptitude.md @@ -0,0 +1,36 @@ +# aptitude + +> Debian 및 Ubuntu 패키지 관리 도구. +> 더 많은 정보: . + +- 사용 가능한 패키지 및 버전 목록 동기화. 이 명령은 다른 `aptitude` 명령을 실행하기 전에 먼저 실행해야 합니다: + +`aptitude update` + +- 새 패키지 및 그 의존성 설치: + +`aptitude install {{패키지}}` + +- 패키지 검색: + +`aptitude search {{패키지}}` + +- 설치된 패키지 검색 (`?installed`는 `aptitude` 검색 용어입니다): + +`aptitude search '?installed({{패키지}})'` + +- 특정 패키지 및 해당 패키지에 의존하는 모든 패키지 제거: + +`aptitude remove {{패키지}}` + +- 설치된 패키지를 가장 최신 버전으로 업그레이드: + +`aptitude upgrade` + +- 설치된 패키지 업그레이드 (`aptitude upgrade`와 유사)하며, 불필요한 패키지를 제거하고 새로운 패키지 의존성을 충족하기 위해 추가 패키지 설치: + +`aptitude full-upgrade` + +- 자동 업그레이드되지 않도록 설치된 패키지를 보류: + +`aptitude hold '?installed({{패키지}})'` diff --git a/pages.ko/linux/apx-pkgmanagers.md b/pages.ko/linux/apx-pkgmanagers.md new file mode 100644 index 00000000000000..60e60ff5a5cee7 --- /dev/null +++ b/pages.ko/linux/apx-pkgmanagers.md @@ -0,0 +1,21 @@ +# apx pkgmanagers + +> `apx`에서 패키지 관리자를 관리합니다. +> 참고: 사용자가 생성한 패키지 관리자 구성은 `~/.local/share/apx/pkgmanagers`에 저장됩니다. +> 더 많은 정보: . + +- 새 패키지 관리자 구성을 대화형으로 생성: + +`apx pkgmanagers create` + +- 사용 가능한 모든 패키지 관리자 구성 나열: + +`apx pkgmanagers list` + +- 패키지 관리자 구성 제거: + +`apx pkgmanagers rm --name {{문자열}}` + +- 특정 패키지 관리자에 대한 정보 표시: + +`apx pkgmanagers show {{이름}}` diff --git a/pages.ko/linux/apx-stacks.md b/pages.ko/linux/apx-stacks.md new file mode 100644 index 00000000000000..0e860f97cde2c7 --- /dev/null +++ b/pages.ko/linux/apx-stacks.md @@ -0,0 +1,29 @@ +# apx stacks + +> `apx`에서 스택을 관리합니다. +> 참고: 사용자가 생성한 스택 구성은 `~/.local/share/apx/stacks`에 저장됩니다. +> 더 많은 정보: . + +- 대화형으로 새로운 스택 구성 생성: + +`apx stacks new` + +- 대화형으로 스택 구성 업데이트: + +`apx stacks update {{이름}}` + +- 사용 가능한 모든 스택 구성 나열: + +`apx stacks list` + +- 지정된 스택 구성 제거: + +`apx stacks rm --name {{문자열}}` + +- 스택 구성 가져오기: + +`apx stacks import --input {{경로/대상/stack.yml}}` + +- 스택 구성 내보내기 (참고: 출력 플래그는 선택 사항이며, 기본적으로 현재 작업 디렉터리에 내보내집니다): + +`apx stacks export --name {{문자열}} --output {{경로/대상/출력_파일}}` diff --git a/pages.ko/linux/apx-subsystems.md b/pages.ko/linux/apx-subsystems.md new file mode 100644 index 00000000000000..5d7924fe27f4f0 --- /dev/null +++ b/pages.ko/linux/apx-subsystems.md @@ -0,0 +1,29 @@ +# apx subsystems + +> `apx`에서 서브시스템을 관리합니다. +> 서브시스템은 기존 스택을 기반으로 생성될 수 있는 컨테이너입니다. +> 더 많은 정보: . + +- 새 서브시스템을 대화식으로 생성: + +`apx subsystems new` + +- 사용 가능한 모든 서브시스템 나열: + +`apx subsystems list` + +- 특정 서브시스템을 초기 상태로 재설정: + +`apx subsystems reset {{[-n|--name]}} {{문자열}}` + +- 특정 서브시스템을 [f]강제로 재설정: + +`apx subsystems reset {{[-n|--name]}} {{문자열}} {{[-f|--force]}}` + +- 특정 서브시스템 제거: + +`apx subsystems rm {{[-n|--name]}} {{문자열}}` + +- 특정 서브시스템을 [f]강제로 제거: + +`apx subsystems rm {{[-n|--name]}} {{문자열}} {{[-f|--force]}}` diff --git a/pages.ko/linux/apx.md b/pages.ko/linux/apx.md new file mode 100644 index 00000000000000..49e4a7b6ea816a --- /dev/null +++ b/pages.ko/linux/apx.md @@ -0,0 +1,16 @@ +# apx + +> 다중 소스를 지원하여 하위 시스템에 패키지를 설치할 수 있는 패키지 관리 도구. +> 더 많은 정보: . + +- 패키지 관리자 관리에 대한 문서 보기: + +`tldr apx pkgmanagers` + +- 스택 관리에 대한 문서 보기: + +`tldr apx stacks` + +- 하위 시스템 관리에 대한 문서 보기: + +`tldr apx subsystems` diff --git a/pages.ko/linux/arch-chroot.md b/pages.ko/linux/arch-chroot.md new file mode 100644 index 00000000000000..8ede7b23afb747 --- /dev/null +++ b/pages.ko/linux/arch-chroot.md @@ -0,0 +1,20 @@ +# arch-chroot + +> Arch Linux 설치 과정에서 도움이 되는 향상된 `chroot` 명령어. +> 더 많은 정보: . + +- 새 루트 디렉토리에서 인터랙티브 셸(기본적으로 Bash)을 시작: + +`arch-chroot {{경로/대상/새로운/루트}}` + +- 현재 사용자 외에 다른 사용자로 셸 실행: + +`arch-chroot -u {{사용자}} {{경로/대상/새로운/루트}}` + +- 새 루트 디렉토리에서 기본 Bash 대신 사용자 지정 명령 실행: + +`arch-chroot {{경로/대상/새로운/루트}} {{명령어}} {{명령어_인자들}}` + +- 기본 Bash 대신 다른 셸 지정(이 경우, 대상 시스템에 `zsh` 패키지가 설치되어 있어야 함): + +`arch-chroot {{경로/대상/새로운/루트}} {{zsh}}` diff --git a/pages.ko/linux/archey.md b/pages.ko/linux/archey.md new file mode 100644 index 00000000000000..347eb39056cbe6 --- /dev/null +++ b/pages.ko/linux/archey.md @@ -0,0 +1,8 @@ +# archey + +> 시스템 정보를 스타일리시하게 표시하는 간단한 도구. +> 더 많은 정보: . + +- 시스템 정보 표시: + +`archey` diff --git a/pages.ko/linux/archinstall.md b/pages.ko/linux/archinstall.md new file mode 100644 index 00000000000000..b9cbd9f6210bcb --- /dev/null +++ b/pages.ko/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> 변형된 형태의 Arch Linux 안내 설치 도구. +> 더 많은 정보: . + +- 대화형 설치 프로그램 시작: + +`archinstall` + +- 사전 설정된 설치 프로그램 시작: + +`archinstall {{minimal|unattended}}` diff --git a/pages.ko/linux/archivemount.md b/pages.ko/linux/archivemount.md new file mode 100644 index 00000000000000..9d03de72b75daf --- /dev/null +++ b/pages.ko/linux/archivemount.md @@ -0,0 +1,8 @@ +# archivemount + +> 아카이브를 파일 시스템으로 접근할 수 있도록 마운트합니다. +> 더 많은 정보: . + +- 특정 마운트 지점에 아카이브 마운트: + +`archivemount {{경로/대상/아카이브}} {{경로/대상/마운트_지점}}` diff --git a/pages.ko/linux/archlinux-java.md b/pages.ko/linux/archlinux-java.md new file mode 100644 index 00000000000000..933dbf4aa4b4fd --- /dev/null +++ b/pages.ko/linux/archlinux-java.md @@ -0,0 +1,24 @@ +# archlinux-java + +> 설치된 자바 환경 간 전환. +> 더 많은 정보: . + +- 설치된 자바 환경 목록 나열: + +`archlinux-java status` + +- 현재 기본 자바 환경의 짧은 이름 반환: + +`archlinux-java get` + +- 기본 자바 환경 설정: + +`archlinux-java set {{자바_환경}}` + +- 기본 자바 환경 설정 해제: + +`archlinux-java unset` + +- 잘못되었거나 손상된 기본 자바 환경 구성 수정: + +`archlinux-java fix` diff --git a/pages.ko/linux/arecord.md b/pages.ko/linux/arecord.md new file mode 100644 index 00000000000000..690a856bc5d7a7 --- /dev/null +++ b/pages.ko/linux/arecord.md @@ -0,0 +1,28 @@ +# arecord + +> ALSA 사운드카드 드라이버용 사운드 레코더. +> 더 많은 정보: . + +- "CD" 품질로 녹음 (완료 시 ``로 종료): + +`arecord -vv --format=cd {{경로/대상/파일.wav}}` + +- "CD" 품질로 10초 동안 고정된 길이로 녹음: + +`arecord -vv --format=cd --duration={{10}} {{경로/대상/파일.wav}}` + +- 녹음하여 MP3로 저장 (완료 시 ``로 종료): + +`arecord -vv --format=cd --file-type raw | lame -r - {{경로/대상/파일.mp3}}` + +- 모든 사운드 카드와 디지털 오디오 장치 나열: + +`arecord --list-devices` + +- 인터랙티브 인터페이스 허용 (예: `` `` 재생 또는 일시 정지): + +`arecord --interactive` + +- 마이크 테스트를 위해 5초 샘플을 녹음하고 재생: + +`arecord -d 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav` diff --git a/pages.ko/linux/arithmetic.md b/pages.ko/linux/arithmetic.md new file mode 100644 index 00000000000000..8bf4317458bbaf --- /dev/null +++ b/pages.ko/linux/arithmetic.md @@ -0,0 +1,16 @@ +# arithmetic + +> 간단한 산술 문제 퀴즈. +> 더 많은 정보: . + +- 산술 퀴즈 시작: + +`arithmetic` + +- 하나 이상의 산술 [o]연산 기호를 지정하여 해당 문제 받기: + +`arithmetic -o {{+|-|x|/}}` + +- 범위 지정. 덧셈 및 곱셈 문제는 0부터 범위 내의 숫자가 포함됩니다. 뺄셈 및 나눗셈 문제는 0부터 범위 내의 요구된 결과와 연산할 숫자를 가집니다: + +`arithmetic -r {{7}}` diff --git a/pages.ko/linux/ark.md b/pages.ko/linux/ark.md new file mode 100644 index 00000000000000..ec6a32a6265b53 --- /dev/null +++ b/pages.ko/linux/ark.md @@ -0,0 +1,16 @@ +# ark + +> KDE의 압축 도구. +> 더 많은 정보: . + +- 특정 압축 파일을 현재 디렉토리에 추출: + +`ark --batch {{경로/대상/압축_파일}}` + +- 압축 파일을 특정 디렉토리에 추출: + +`ark --batch --destination {{경로/대상/폴더}} {{경로/대상/압축_파일}}` + +- 압축 파일이 존재하지 않을 경우 생성하고 특정 파일 추가: + +`ark --add-to {{경로/대상/압축_파일}} {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/linux/arpaname.md b/pages.ko/linux/arpaname.md new file mode 100644 index 00000000000000..33b699433faf16 --- /dev/null +++ b/pages.ko/linux/arpaname.md @@ -0,0 +1,8 @@ +# arpaname + +> IP 주소에 해당하는 ARPA 이름을 가져옵니다. +> 더 많은 정보: . + +- IP 주소(IPv4 및 IPv6)를 해당 ARPA 이름으로 변환: + +`arpaname {{IP_주소}}` diff --git a/pages.ko/linux/arpspoof.md b/pages.ko/linux/arpspoof.md new file mode 100644 index 00000000000000..6b045bcad620d1 --- /dev/null +++ b/pages.ko/linux/arpspoof.md @@ -0,0 +1,16 @@ +# arpspoof + +> 패킷을 가로채기 위해 ARP 응답을 위조합니다. +> 더 많은 정보: . + +- 호스트의 패킷을 가로채기 위해 [i]인터페이스의 모든 호스트를 중독: + +`sudo arpspoof -i {{wlan0}} {{호스트_IP}}` + +- 호스트의 패킷을 가로채기 위해 [i]인터페이스의 [t]대상을 중독: + +`sudo arpspoof -i {{wlan0}} -t {{대상_IP}} {{호스트_IP}}` + +- 호스트의 패킷을 가로채기 위해 [i]인터페이스의 [t]대상과 호스트를 모두 중독: + +`sudo arpspoof -i {{wlan0}} -r -t {{대상_IP}} {{호스트_IP}}` diff --git a/pages.ko/linux/as.md b/pages.ko/linux/as.md new file mode 100644 index 00000000000000..865466078d7c60 --- /dev/null +++ b/pages.ko/linux/as.md @@ -0,0 +1,21 @@ +# as + +> 휴대용 GNU 어셈블러. +> 주로 `gcc`의 출력을 어셈블하여 `ld`에서 사용하도록 설계되었습니다. +> 더 많은 정보: . + +- 파일을 어셈블하여 `a.out`으로 출력: + +`as {{경로/대상/파일.s}}` + +- 지정된 파일로 출력 어셈블: + +`as {{경로/대상/파일.s}} -o {{경로/대상/출력_파일.o}}` + +- 공백 및 주석 전처리를 건너뛰어 더 빠르게 출력 생성 (신뢰할 수 있는 컴파일러에만 사용해야 함): + +`as -f {{경로/대상/파일.s}}` + +- `.include` 지시문에 지정된 파일을 검색할 디렉토리 목록에 주어진 경로 포함: + +`as -I {{경로/대상/폴더}} {{경로/대상/파일.s}}` diff --git a/pages.ko/linux/ascii.md b/pages.ko/linux/ascii.md new file mode 100644 index 00000000000000..c956cb5f77b1b7 --- /dev/null +++ b/pages.ko/linux/ascii.md @@ -0,0 +1,36 @@ +# ascii + +> ASCII 문자 별칭을 표시합니다. +> 더 많은 정보: . + +- 문자의 ASCII 별칭 표시: + +`ascii {{a}}` + +- 스크립트 친화적인 짧은 모드로 ASCII 별칭 표시: + +`ascii -t {{a}}` + +- 여러 문자의 ASCII 별칭 표시: + +`ascii -s {{tldr}}` + +- 10진수로 ASCII 표 표시: + +`ascii -d` + +- 16진수로 ASCII 표 표시: + +`ascii -x` + +- 8진수로 ASCII 표 표시: + +`ascii -o` + +- 2진수로 ASCII 표 표시: + +`ascii -b` + +- 옵션 요약 및 전체 ASCII 표 표시: + +`ascii` diff --git a/pages.ko/linux/asciiart.md b/pages.ko/linux/asciiart.md new file mode 100644 index 00000000000000..4c73ac2b46ed79 --- /dev/null +++ b/pages.ko/linux/asciiart.md @@ -0,0 +1,28 @@ +# asciiart + +> 이미지를 ASCII로 변환합니다. +> 더 많은 정보: . + +- 파일에서 이미지를 읽어와 ASCII로 출력: + +`asciiart {{경로/대상/이미지.jpg}}` + +- URL에서 이미지를 읽어와 ASCII로 출력: + +`asciiart {{www.example.com/image.jpg}}` + +- 출력 너비 선택 (기본값은 100): + +`asciiart --width {{50}} {{경로/대상/이미지.jpg}}` + +- ASCII 출력에 색상 적용: + +`asciiart --color {{경로/대상/이미지.jpg}}` + +- 출력 형식 선택 (기본 형식은 텍스트): + +`asciiart --format {{text|html}} {{경로/대상/이미지.jpg}}` + +- 문자 맵을 반전: + +`asciiart --invert-chars {{경로/대상/이미지.jpg}}` diff --git a/pages.ko/linux/asterisk.md b/pages.ko/linux/asterisk.md new file mode 100644 index 00000000000000..daa95117407e79 --- /dev/null +++ b/pages.ko/linux/asterisk.md @@ -0,0 +1,32 @@ +# asterisk + +> 전화 및 교환기(전화) 서버 인스턴스를 실행하고 관리합니다. +> 더 많은 정보: . + +- 실행 중인 서버에 [r]재연결하고, 3단계의 [v]자세히 로깅을 활성화: + +`asterisk -r -vvv` + +- 실행 중인 서버에 [r]재연결하여 단일 명령을 실행하고 반환: + +`asterisk -r -x "{{명령어}}"` + +- chan_SIP 클라이언트(전화) 표시: + +`asterisk -r -x "sip show peers"` + +- 활성 통화 및 채널 표시: + +`asterisk -r -x "core show channels"` + +- 음성 사서함 표시: + +`asterisk -r -x "voicemail show users"` + +- 채널 종료: + +`asterisk -r -x "hangup request {{채널_ID}}"` + +- chan_SIP 구성 다시 로드: + +`asterisk -r -x "sip reload"` diff --git a/pages.ko/linux/atop.md b/pages.ko/linux/atop.md new file mode 100644 index 00000000000000..018dca0c5c1aa5 --- /dev/null +++ b/pages.ko/linux/atop.md @@ -0,0 +1,32 @@ +# atop + +> Linux 시스템 및 프로세스 모니터. +> 더 많은 정보: . + +- 시작: + +`atop` + +- 시작하고 각 프로세스의 메모리 소비량 표시: + +`atop -m` + +- 시작하고 디스크 정보 표시: + +`atop -d` + +- 시작하고 백그라운드 프로세스 정보 표시: + +`atop -c` + +- 시작하고 스레드별 자원 사용 정보 표시: + +`atop -y` + +- 시작하고 각 사용자별 프로세스 수 표시: + +`atop -au` + +- 인터랙티브 명령에 대한 도움말 표시: + +`` diff --git a/pages.ko/linux/auditctl.md b/pages.ko/linux/auditctl.md new file mode 100644 index 00000000000000..4b91366547c231 --- /dev/null +++ b/pages.ko/linux/auditctl.md @@ -0,0 +1,32 @@ +# auditctl + +> Linux 감사 시스템의 동작을 제어하고 상태를 확인하며 규칙을 관리하는 유틸리티. +> 더 많은 정보: . + +- 감사 시스템의 [s]상태 표시: + +`sudo auditctl -s` + +- 현재 로드된 모든 감사 규칙 [l]목록: + +`sudo auditctl -l` + +- 모든 감사 규칙 [D]삭제: + +`sudo auditctl -D` + +- 감사 시스템 [e]활성화/비활성화: + +`sudo auditctl -e {{1|0}}` + +- 파일 변경 감시: + +`sudo auditctl -a always,exit -F arch=b64 -F path={{/경로/대상/파일}} -F perm=wa` + +- 디렉토리를 재귀적으로 변경 감시: + +`sudo auditctl -a always,exit -F arch=b64 -F dir={{/경로/대상/폴더/}} -F perm=wa` + +- [h]도움말 표시: + +`auditctl -h` diff --git a/pages.ko/linux/aur.md b/pages.ko/linux/aur.md new file mode 100644 index 00000000000000..df5a5c0632afb6 --- /dev/null +++ b/pages.ko/linux/aur.md @@ -0,0 +1,25 @@ +# aur + +> AUR에서 패키지를 빌드하고 로컬 저장소를 관리합니다. +> 참고: 이 기능을 완전히 사용하려면 `/etc/pacman.conf`에 로컬 저장소가 정의되어 있어야 하며 `vifm`이 설치되어 있어야 합니다. +> 더 많은 정보: . + +- AUR 데이터베이스에서 패키지 검색: + +`aur search {{키워드}}` + +- AUR에서 패키지와 그 의존성을 다운로드하고 빌드하여 로컬 저장소에 추가: + +`aur sync {{패키지}}` + +- 로컬 저장소에 있는 패키지 [l]목록: + +`aur repo {{[-l|--list]}}` + +- 로컬 저장소 패키지 업그레이드: + +`aur sync {{[-u|--upgrades]}}` + +- Vim에서 변경 사항을 보지 않고 패키지를 설치하며, 의존성 설치를 확인하지 않음: + +`aur sync --noview {{[-n|--noconfirm]}} {{패키지}}` diff --git a/pages.ko/linux/aura.md b/pages.ko/linux/aura.md new file mode 100644 index 00000000000000..e08a86d3eb2542 --- /dev/null +++ b/pages.ko/linux/aura.md @@ -0,0 +1,36 @@ +# aura + +> Aura 패키지 관리자: Arch Linux 및 AUR를 위한 안전하고 다국어 지원 패키지 관리자. +> 더 많은 정보: . + +- 공식 저장소 및 AUR에서 패키지 검색: + +`aura --aursync --both --search {{키워드|정규_표현식}}` + +- AUR에서 패키지 설치: + +`aura --aursync {{패키지}}` + +- AUR 패키지를 자세히 모드로 업데이트하고 모든 make 의존성 제거: + +`aura --aursync --diff --sysupgrade --delmakedeps --unsuppress` + +- 공식 저장소에서 패키지 설치: + +`aura --sync {{패키지}}` + +- 공식 저장소에서 모든 패키지 동기화 및 업데이트: + +`aura --sync --refresh --sysupgrade` + +- 패키지 캐시를 사용하여 패키지 다운그레이드: + +`aura --downgrade {{패키지}}` + +- 패키지 및 의존성 제거: + +`aura --remove --recursive --unneeded {{패키지}}` + +- 고아 패키지(의존성으로 설치되었지만 더 이상 어떤 패키지도 필요로 하지 않는 패키지) 제거: + +`aura --orphans --abandon` diff --git a/pages.ko/linux/auracle.md b/pages.ko/linux/auracle.md new file mode 100644 index 00000000000000..1e7a170581608f --- /dev/null +++ b/pages.ko/linux/auracle.md @@ -0,0 +1,20 @@ +# auracle + +> Arch Linux의 사용자 저장소(AUR)와 상호작용하기 위한 명령줄 도구. +> 더 많은 정보: . + +- 정규 표현식과 일치하는 AUR 패키지 표시: + +`auracle search '{{정규_표현식}}'` + +- 하나 이상의 AUR 패키지에 대한 정보 표시: + +`auracle info {{패키지1 패키지2 ...}}` + +- 하나 이상의 AUR 패키지에 대한 `PKGBUILD` 파일(빌드 정보) 표시: + +`auracle show {{패키지1 패키지2 ...}}` + +- 설치된 AUR 패키지의 업데이트 표시: + +`auracle outdated` diff --git a/pages.ko/linux/aurman.md b/pages.ko/linux/aurman.md new file mode 100644 index 00000000000000..1e4c285ee4f8c1 --- /dev/null +++ b/pages.ko/linux/aurman.md @@ -0,0 +1,37 @@ +# aurman + +> Arch User Repository에서 패키지를 빌드하고 설치하는 Arch Linux 유틸리티. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 모든 패키지를 동기화하고 업데이트: + +`aurman --sync --refresh --sysupgrade` + +- `PKGBUILD` 파일의 변경 사항을 표시하지 않고 모든 패키지를 동기화하고 업데이트: + +`aurman --sync --refresh --sysupgrade --noedit` + +- 새 패키지 설치: + +`aurman --sync {{패키지}}` + +- `PKGBUILD` 파일의 변경 사항을 표시하지 않고 새 패키지 설치: + +`aurman --sync --noedit {{패키지}}` + +- 묻지 않고 새 패키지 설치: + +`aurman --sync --noedit --noconfirm {{패키지}}` + +- 공식 저장소와 AUR에서 키워드를 검색하여 패키지 검색: + +`aurman --sync --search {{키워드}}` + +- 특정 패키지 및 의존성 제거: + +`aurman --remove --recursive --nosave {{패키지}}` + +- 패키지 캐시 지우기 (모든 패키지를 삭제하려면 두 개의 `--clean` 플래그 사용): + +`aurman --sync --clean` diff --git a/pages.ko/linux/aurvote.md b/pages.ko/linux/aurvote.md new file mode 100644 index 00000000000000..2614323404e035 --- /dev/null +++ b/pages.ko/linux/aurvote.md @@ -0,0 +1,25 @@ +# aurvote + +> Arch User Repository의 패키지에 투표합니다. +> 투표를 하려면 `~/.config/aurvote` 파일이 존재하고 AUR 자격 증명이 포함되어 있어야 합니다. +> 더 많은 정보: . + +- 대화형으로 AUR 사용자명과 비밀번호를 포함한 `~/.config/aurvote` 파일 생성: + +`aurvote --configure` + +- 하나 이상의 AUR 패키지에 투표: + +`aurvote {{패키지1 패키지2 ...}}` + +- 하나 이상의 AUR 패키지에서 투표 취소: + +`aurvote --unvote {{패키지1 패키지2 ...}}` + +- 하나 이상의 AUR 패키지가 이미 투표되었는지 확인: + +`aurvote --check {{패키지1 패키지2 ...}}` + +- 도움말 표시: + +`aurvote --help` diff --git a/pages.ko/linux/ausyscall.md b/pages.ko/linux/ausyscall.md new file mode 100644 index 00000000000000..432b13a5905a23 --- /dev/null +++ b/pages.ko/linux/ausyscall.md @@ -0,0 +1,16 @@ +# ausyscall + +> 시스템 호출 이름과 번호를 매핑합니다. +> 더 많은 정보: . + +- 특정 시스템 호출의 번호 표시: + +`ausyscall {{검색_패턴}}` + +- 특정 시스템 호출 번호의 이름 표시: + +`ausyscall {{시스템_호출_번호}}` + +- 특정 아키텍처의 모든 시스템 호출 표시: + +`ausyscall {{아키텍처}} --dump` diff --git a/pages.ko/linux/authconfig.md b/pages.ko/linux/authconfig.md new file mode 100644 index 00000000000000..92d885edf009a7 --- /dev/null +++ b/pages.ko/linux/authconfig.md @@ -0,0 +1,36 @@ +# authconfig + +> 시스템 인증 리소스를 구성합니다. +> 더 많은 정보: . + +- 현재 설정 표시(또는 드라이 런): + +`authconfig --test` + +- 서버가 다른 비밀번호 해싱 알고리즘을 사용하도록 구성: + +`authconfig --update --passalgo={{알고리즘}}` + +- LDAP 인증 활성화: + +`authconfig --update --enableldapauth` + +- LDAP 인증 비활성화: + +`authconfig --update --disableldapauth` + +- 네트워크 정보 서비스 (NIS) 활성화: + +`authconfig --update --enablenis` + +- Kerberos 활성화: + +`authconfig --update --enablekrb5` + +- Winbind (액티브 디렉토리) 인증 활성화: + +`authconfig --update --enablewinbindauth` + +- 로컬 권한 부여 활성화: + +`authconfig --update --enablelocauthorize` diff --git a/pages.ko/linux/auto-cpufreq.md b/pages.ko/linux/auto-cpufreq.md new file mode 100644 index 00000000000000..01ac1c6a2a607e --- /dev/null +++ b/pages.ko/linux/auto-cpufreq.md @@ -0,0 +1,8 @@ +# auto-cpufreq + +> 자동 CPU 속도 및 전력 최적화 도구. +> 더 많은 정보: . + +- 특정 모드에서 `auto-cpufreq` 실행: + +`sudo auto-cpufreq --{{monitor|live|update|remove|stats|force=governor}}` diff --git a/pages.ko/linux/autopkgtest.md b/pages.ko/linux/autopkgtest.md new file mode 100644 index 00000000000000..8fe8a5b421605c --- /dev/null +++ b/pages.ko/linux/autopkgtest.md @@ -0,0 +1,24 @@ +# autopkgtest + +> Debian 패키지에 대한 테스트 실행. +> 더 많은 정보: . + +- 현재 디렉터리의 패키지를 빌드하고 모든 테스트를 시스템에서 직접 실행: + +`autopkgtest -- {{null}}` + +- 현재 디렉터리의 패키지에 대해 특정 테스트 실행: + +`autopkgtest --test-name={{테스트_이름}} -- {{null}}` + +- `apt-get`으로 특정 패키지를 다운로드 및 빌드한 후 모든 테스트 실행: + +`autopkgtest {{패키지}} -- {{null}}` + +- 새로운 루트 디렉터리를 사용하여 현재 디렉터리의 패키지 테스트: + +`autopkgtest -- {{chroot}} {{경로/대상/새로운/루트}}` + +- 현재 디렉터리의 패키지를 재빌드하지 않고 테스트: + +`autopkgtest {{[-B|--no-built-binaries]}} -- {{null}}` diff --git a/pages.ko/linux/autorandr.md b/pages.ko/linux/autorandr.md new file mode 100644 index 00000000000000..ade898a6c3d39a --- /dev/null +++ b/pages.ko/linux/autorandr.md @@ -0,0 +1,24 @@ +# autorandr + +> 화면 레이아웃을 자동으로 변경합니다. +> 더 많은 정보: . + +- 현재 화면 레이아웃 저장: + +`autorandr --save {{프로필_이름}}` + +- 저장된 프로필 표시: + +`autorandr` + +- 감지된 첫 번째 프로필 불러오기: + +`autorandr --change` + +- 특정 프로필 불러오기: + +`autorandr --load {{프로필_이름}}` + +- 기본 프로필 설정: + +`autorandr --default {{프로필_이름}}` diff --git a/pages.ko/linux/autorecon.md b/pages.ko/linux/autorecon.md new file mode 100644 index 00000000000000..004f5ff9588914 --- /dev/null +++ b/pages.ko/linux/autorecon.md @@ -0,0 +1,20 @@ +# autorecon + +> 다중 스레드 네트워크 정찰 도구로, 서비스의 자동 열거를 수행합니다. +> 더 많은 정보: . + +- 대상 호스트에 대해 정찰 수행 (`./results`에 자세한 스캔 결과가 저장됩니다): + +`sudo autorecon {{호스트_또는_IP1,호스트_또는_IP2,...}}` + +- 파일에 지정된 [t]대상에 대해 정찰 수행: + +`sudo autorecon --target-file {{경로/대상/파일}}` + +- 다른 디렉토리에 [o]출력 결과 저장: + +`sudo autorecon --output {{경로/대상/결과}} {{호스트_또는_IP1,호스트_또는_IP2,...}}` + +- 특정 [p]포트 및 프로토콜로 스캔 제한 (`T`는 TCP, `U`는 UDP, `B`는 둘 다): + +`sudo autorecon --ports {{T:21-25,80,443,U:53,B:123}} {{호스트_또는_IP1,호스트_또는_IP2,...}}` diff --git a/pages.ko/linux/avahi-browse.md b/pages.ko/linux/avahi-browse.md new file mode 100644 index 00000000000000..5377a9f188e1df --- /dev/null +++ b/pages.ko/linux/avahi-browse.md @@ -0,0 +1,21 @@ +# avahi-browse + +> 로컬 네트워크에서 mDNS/DNS-SD를 통해 노출된 서비스와 호스트를 표시합니다. +> Avahi는 Apple 기기에서 발견되는 Bonjour(Zeroconf)와 호환됩니다. +> 더 많은 정보: . + +- 로컬 네트워크에서 사용 가능한 서비스와 해당 주소 및 포트를 나열하되, 로컬 머신의 서비스는 무시: + +`avahi-browse --all --resolve --ignore-local` + +- 스크립트를 위한 SSV 형식으로 로컬 네트워크의 서비스를 빠르게 나열: + +`avahi-browse --all --terminate --parsable` + +- 주변 도메인 나열: + +`avahi-browse --browse-domains` + +- 특정 도메인으로 검색 제한: + +`avahi-browse --all --domain={{도메인}}` diff --git a/pages.ko/linux/avahi-resolve.md b/pages.ko/linux/avahi-resolve.md new file mode 100644 index 00000000000000..8e28f322d2eba1 --- /dev/null +++ b/pages.ko/linux/avahi-resolve.md @@ -0,0 +1,12 @@ +# avahi-resolve + +> 호스트 이름과 IP 주소 간 변환. +> 더 많은 정보: . + +- 로컬 서비스를 IPv4로 변환: + +`avahi-resolve -4 --name {{service.local}}` + +- IP를 호스트 이름으로 변환, 자세히: + +`avahi-resolve --verbose --address {{IP}}` diff --git a/pages.ko/linux/avifenc.md b/pages.ko/linux/avifenc.md new file mode 100644 index 00000000000000..511f8817e30a0c --- /dev/null +++ b/pages.ko/linux/avifenc.md @@ -0,0 +1,12 @@ +# avifenc + +> AV1 이미지 파일 포맷 (AVIF) 인코더. +> 더 많은 정보: . + +- 특정 PNG 이미지를 AVIF로 변환: + +`avifenc {{경로/대상/입력.png}} {{경로/대상/출력.avif}}` + +- 특정 속도로 인코딩 (6=기본, 0=가장 느림, 10=가장 빠름): + +`avifenc --speed {{2}} {{경로/대상/입력.png}} {{경로/대상/출력.avif}}` diff --git a/pages.ko/linux/backlight_control.md b/pages.ko/linux/backlight_control.md new file mode 100644 index 00000000000000..07a694aa659914 --- /dev/null +++ b/pages.ko/linux/backlight_control.md @@ -0,0 +1,16 @@ +# backlight_control + +> Linux 시스템의 백라이트를 백분율 값으로 제어합니다. +> 더 많은 정보: . + +- 백라이트를 특정 백분율만큼 증가/감소: + +`backlight_control {{+|-}}{{5}}` + +- 백라이트 강도를 특정 백분율로 설정: + +`backlight_control {{90}}` + +- 도움말 표시: + +`backlight_control` diff --git a/pages.ko/linux/balooctl.md b/pages.ko/linux/balooctl.md new file mode 100644 index 00000000000000..6bd0b4ee2bbf6f --- /dev/null +++ b/pages.ko/linux/balooctl.md @@ -0,0 +1,36 @@ +# balooctl + +> KDE Plasma의 파일 색인 및 검색 프레임워크. +> 더 많은 정보: . + +- 색인기의 상태 표시: + +`balooctl status` + +- 파일 색인기 활성화/비활성화: + +`balooctl {{enable|disable}}` + +- 색인 데이터베이스 정리: + +`balooctl purge` + +- 파일 색인기 일시 중지: + +`balooctl suspend` + +- 파일 색인기 재개: + +`balooctl resume` + +- Baloo가 사용하는 디스크 공간 표시: + +`balooctl indexSize` + +- 색인되지 않은 파일이 있는지 확인하고 색인: + +`balooctl check` + +- 도움말 표시: + +`balooctl --help` diff --git a/pages.ko/linux/batcat.md b/pages.ko/linux/batcat.md new file mode 100644 index 00000000000000..87fdc57a8f7ce4 --- /dev/null +++ b/pages.ko/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> 이 명령은 `bat` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr bat` diff --git a/pages.ko/linux/battop.md b/pages.ko/linux/battop.md new file mode 100644 index 00000000000000..f443b05c6acab1 --- /dev/null +++ b/pages.ko/linux/battop.md @@ -0,0 +1,12 @@ +# battop + +> 노트북에 설치된 배터리를 위한 인터랙티브 뷰어. +> 더 많은 정보: . + +- 배터리 정보 표시: + +`battop` + +- 배터리 정보 측정 [u]단위 변경 (기본값: human): + +`battop -u {{human|si}}` diff --git a/pages.ko/linux/bcachefs-device.md b/pages.ko/linux/bcachefs-device.md new file mode 100644 index 00000000000000..3559921531cd64 --- /dev/null +++ b/pages.ko/linux/bcachefs-device.md @@ -0,0 +1,16 @@ +# bcachefs device + +> 실행 중인 `bcachefs` 파일 시스템 내에서 장치를 관리합니다. +> 더 많은 정보: . + +- 기존 파일 시스템에 새 장치를 포맷하고 추가: + +`sudo bcachefs device add --label={{그룹}}.{{이름}} {{경로/대상/마운트_포인트}} {{경로/대상/장치}}` + +- 제거를 준비하기 위해 장치의 데이터를 마이그레이션: + +`bcachefs device evacuate {{경로/대상/장치}}` + +- 파일 시스템에서 장치를 영구적으로 제거: + +`bcachefs device remove {{경로/대상/장치}}` diff --git a/pages.ko/linux/bcachefs.md b/pages.ko/linux/bcachefs.md new file mode 100644 index 00000000000000..b2b10f07563b3c --- /dev/null +++ b/pages.ko/linux/bcachefs.md @@ -0,0 +1,37 @@ +# bcachefs + +> `bcachefs` 파일 시스템/장치를 관리합니다. +> `device`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- `bcachefs`로 파티션 포맷: + +`sudo bcachefs format {{경로/대상/파티션}}` + +- `bcachefs` 파일 시스템 마운트: + +`sudo bcachefs mount {{경로/대상/파티션}} {{경로/대상/마운트포인트}}` + +- SSD를 캐시로, HDD를 장기 저장소로 사용하는 RAID 0 파일 시스템 생성: + +`sudo bcachefs format --label=ssd.ssd1 {{경로/대상/ssd/파티션}} --label=hdd.hdd1 {{경로/대상/hdd/파티션}} --replicas=1 --foreground_target=ssd --promote_target=ssd --background_target=hdd` + +- 다중 장치 파일 시스템 마운트: + +`sudo bcachefs mount {{경로/대상/파티션1}}:{{경로/대상/파티션2}} {{경로/대상/마운트포인트}}` + +- 디스크 사용량 표시: + +`bcachefs fs usage --human-readable {{경로/대상/마운트포인트}}` + +- 포맷 및 마운트 후 복제본 설정: + +`sudo bcachefs set-fs-option --metadata_replicas={{2}} --data_replicas={{2}} {{경로/대상/파티션}}` + +- 모든 파일이 복제되도록 `bcachefs` 강제화: + +`sudo bcachefs data rereplicate {{경로/대상/마운트포인트}}` + +- 도움말 표시: + +`bcachefs` diff --git a/pages.ko/linux/bchunk.md b/pages.ko/linux/bchunk.md new file mode 100644 index 00000000000000..3b28f596fa2071 --- /dev/null +++ b/pages.ko/linux/bchunk.md @@ -0,0 +1,16 @@ +# bchunk + +> CD 이미지를 `.iso` 및 `.cdr` 트랙 세트로 변환. +> 더 많은 정보: . + +- 바이너리 CD를 표준 iso9960 이미지 파일로 변환: + +`bchunk {{경로/대상/이미지.bin}} {{경로/대상/이미지.cue}} {{경로/대상/출력}}` + +- 자세히 보기 모드로 변환: + +`bchunk -v {{경로/대상/이미지.bin}} {{경로/대상/이미지.cue}} {{경로/대상/출력}}` + +- 오디오 파일을 WAV 형식으로 출력: + +`bchunk -w {{경로/대상/이미지.bin}} {{경로/대상/이미지.cue}} {{경로/대상/출력}}` diff --git a/pages.ko/linux/beep.md b/pages.ko/linux/beep.md new file mode 100644 index 00000000000000..34848a00a35c17 --- /dev/null +++ b/pages.ko/linux/beep.md @@ -0,0 +1,24 @@ +# beep + +> PC 스피커를 울리는 유틸리티. +> 더 많은 정보: . + +- 비프음 재생: + +`beep` + +- 반복해서 비프음 재생: + +`beep -r {{반복_횟수}}` + +- 지정된 주파수(Hz)와 지속 시간(밀리초)으로 비프음 재생: + +`beep -f {{주파수}} -l {{지속_시간}}` + +- 각 새로운 주파수와 지속 시간을 별개의 비프음으로 재생: + +`beep -f {{주파수}} -l {{지속_시간}} -n -f {{주파수}} -l {{지속_시간}}` + +- C장조 스케일 재생: + +`beep -f {{262}} -n -f {{294}} -n -f {{330}} -n -f {{349}} -n -f {{392}} -n -f {{440}} -n -f {{494}} -n -f {{523}}` diff --git a/pages.ko/linux/betterdiscordctl.md b/pages.ko/linux/betterdiscordctl.md new file mode 100644 index 00000000000000..f1a7833fe2175d --- /dev/null +++ b/pages.ko/linux/betterdiscordctl.md @@ -0,0 +1,24 @@ +# betterdiscordctl + +> Linux에서 BetterDiscord 관리. +> 더 많은 정보: . + +- Discord Stable에 BetterDiscord 설치: + +`sudo betterdiscordctl install` + +- Discord Canary에 BetterDiscord 설치: + +`sudo betterdiscordctl --d-flavors canary install` + +- Discord PTB에 BetterDiscord 설치: + +`sudo betterdiscordctl --d-flavors ptb install` + +- Flatpak으로 설치된 Discord에 BetterDiscord 설치: + +`sudo betterdiscordctl --d-install flatpak install` + +- Snap으로 설치된 Discord에 BetterDiscord 설치: + +`sudo betterdiscordctl --d-install snap install` diff --git a/pages.ko/linux/betterlockscreen.md b/pages.ko/linux/betterlockscreen.md new file mode 100644 index 00000000000000..4b6bf1f2816ac4 --- /dev/null +++ b/pages.ko/linux/betterlockscreen.md @@ -0,0 +1,20 @@ +# betterlockscreen + +> 간단하고, 미니멀한 잠금 화면. +> 더 많은 정보: . + +- 화면 잠금: + +`betterlockscreen --lock` + +- 잠금 화면 배경 변경: + +`betterlockscreen -u {{경로/대상/이미지.png}}` + +- 사용자 지정 텍스트를 표시하며 화면 잠금: + +`betterlockscreen -l pixel -t "{{사용자 지정 잠금 화면 텍스트}}"` + +- 사용자 지정 모니터 꺼짐 시간(초)을 설정하여 화면 잠금: + +`betterlockscreen --off {{5}} -l` diff --git a/pages.ko/linux/bitwise.md b/pages.ko/linux/bitwise.md new file mode 100644 index 00000000000000..33076cf12ee1e9 --- /dev/null +++ b/pages.ko/linux/bitwise.md @@ -0,0 +1,20 @@ +# bitwise + +> 동적 진수 변환 및 비트 조작을 지원하는 멀티 진수 인터랙티브 계산기. +> 더 많은 정보: . + +- 인터랙티브 모드로 실행: + +`bitwise` + +- 10진수로 변환: + +`bitwise {{12345}}` + +- 16진수로 변환: + +`bitwise {{0x563d}}` + +- C 스타일 계산 변환: + +`bitwise "{{0x123 + 0x20 - 30 / 50}}"` diff --git a/pages.ko/linux/blastn.md b/pages.ko/linux/blastn.md new file mode 100644 index 00000000000000..285a2dafa63aad --- /dev/null +++ b/pages.ko/linux/blastn.md @@ -0,0 +1,28 @@ +# blastn + +> 뉴클레오타이드-뉴클레오타이드 BLAST. +> 더 많은 정보: . + +- 메가블라스트(기본값)를 사용하여 두 개 이상의 서열 정렬, e-value 임계값 1e-9, 쌍별 출력 형식(기본값): + +`blastn -query {{query.fa}} -subject {{subject.fa}} -evalue {{1e-9}}` + +- blastn을 사용하여 두 개 이상의 서열 정렬: + +`blastn -task blastn -query {{query.fa}} -subject {{subject.fa}}` + +- 사용자 정의 표형식 출력, 파일로 출력: + +`blastn -query {{query.fa}} -subject {{subject.fa}} -outfmt {{'6 qseqid qlen qstart qend sseqid slen sstart send bitscore evalue pident'}} -out {{output.tsv}}` + +- 뉴클레오타이드 쿼리를 사용하여 뉴클레오타이드 데이터베이스 검색, BLAST 검색에 사용할 스레드(CPU) 16개, 최대 10개의 정렬된 서열 유지: + +`blastn -query {{query.fa}} -db {{경로/대상/blast_db}} -num_threads {{16}} -max_target_seqs {{10}}` + +- 원격 비중복 뉴클레오타이드 데이터베이스를 뉴클레오타이드 쿼리로 검색: + +`blastn -query {{query.fa}} -db {{nt}} -remote` + +- 도움말 표시 (`-help`로 자세한 도움말 사용): + +`blastn -h` diff --git a/pages.ko/linux/blastp.md b/pages.ko/linux/blastp.md new file mode 100644 index 00000000000000..dd36d4485dd1e1 --- /dev/null +++ b/pages.ko/linux/blastp.md @@ -0,0 +1,28 @@ +# blastp + +> 단백질-단백질 BLAST. +> 더 많은 정보: . + +- e-value 임계값이 1e-9인 경우, 쌍별 출력 형식으로 두 개 이상의 서열을 blastp로 정렬하고 화면에 출력: + +`blastp -query {{쿼리.fa}} -subject {{대상.fa}} -evalue {{1e-9}}` + +- blastp-fast를 사용하여 두 개 이상의 서열 정렬: + +`blastp -task blastp-fast -query {{쿼리.fa}} -subject {{대상.fa}}` + +- 사용자 정의 테이블 형식으로 두 개 이상의 서열 정렬하고 파일에 출력: + +`blastp -query {{쿼리.fa}} -subject {{대상.fa}} -outfmt '{{6 qseqid qlen qstart qend sseqid slen sstart send bitscore evalue pident}}' -out {{출력.tsv}}` + +- 단백질 쿼리를 사용하여 단백질 데이터베이스 검색, BLAST 검색에 사용할 16개의 스레드, 최대 10개의 정렬된 서열 유지: + +`blastp -query {{쿼리.fa}} -db {{blast_데이터베이스_이름}} -num_threads {{16}} -max_target_seqs {{10}}` + +- 원격 비중복 단백질 데이터베이스를 단백질 쿼리로 검색: + +`blastp -query {{쿼리.fa}} -db {{nr}} -remote` + +- 도움말 표시 (`-help`로 자세한 도움말 확인 가능): + +`blastp -h` diff --git a/pages.ko/linux/bleachbit.md b/pages.ko/linux/bleachbit.md new file mode 100644 index 00000000000000..b76b18b52767a7 --- /dev/null +++ b/pages.ko/linux/bleachbit.md @@ -0,0 +1,24 @@ +# bleachbit + +> 파일 시스템의 불필요한 파일을 정리합니다. +> 더 많은 정보: . + +- Bleachbit의 그래픽 사용자 인터페이스(GUI) 버전 시작: + +`bleachbit --gui` + +- 파일 삭제: + +`bleachbit --shred {{경로/대상/파일}}` + +- 사용 가능한 클리너 옵션 나열: + +`bleachbit --list-cleaners` + +- 정리 작업을 실제로 수행하기 전에 삭제될 파일 및 변경 사항 미리 보기: + +`bleachbit --preview {{--preset|cleaner1.option1 cleaner2.* ...}}` + +- 정리 작업 수행 및 파일 삭제: + +`bleachbit --clean {{--preset|cleaner1.option1 cleaner2.* ...}}` diff --git a/pages.ko/linux/blight.md b/pages.ko/linux/blight.md new file mode 100644 index 00000000000000..42a957a6a29d5c --- /dev/null +++ b/pages.ko/linux/blight.md @@ -0,0 +1,24 @@ +# blight + +> 디스플레이 밝기를 변경하는 유틸리티. +> 더 많은 정보: . + +- 디스플레이 밝기를 50%로 설정: + +`blight set {{50}} -r` + +- 현재 디스플레이 밝기 표시: + +`blight show` + +- 최대 디스플레이 밝기 출력: + +`blight max` + +- 디스플레이 밝기를 %만큼 증가: + +`blight inc {{숫자}} -r` + +- 내부 단위로 디스플레이 밝기 감소: + +`blight dec {{숫자}}` diff --git a/pages.ko/linux/blkdiscard.md b/pages.ko/linux/blkdiscard.md new file mode 100644 index 00000000000000..1d08b17a020acd --- /dev/null +++ b/pages.ko/linux/blkdiscard.md @@ -0,0 +1,16 @@ +# blkdiscard + +> 저장 장치의 디바이스 섹터를 폐기합니다. SSD에 유용합니다. +> 더 많은 정보: . + +- 디바이스의 모든 섹터를 폐기하여 모든 데이터 제거: + +`blkdiscard {{/dev/디바이스}}` + +- 디바이스의 모든 블록을 안전하게 폐기하여 모든 데이터 제거: + +`blkdiscard --secure {{/dev/디바이스}}` + +- 디바이스의 처음 100MB를 폐기: + +`blkdiscard --length {{100MB}} {{/dev/디바이스}}` diff --git a/pages.ko/linux/blkid.md b/pages.ko/linux/blkid.md new file mode 100644 index 00000000000000..338789ec5807c1 --- /dev/null +++ b/pages.ko/linux/blkid.md @@ -0,0 +1,12 @@ +# blkid + +> 인식된 모든 파티션과 그에 대한 범용 고유 식별자(UUID)를 나열합니다. +> 더 많은 정보: . + +- 모든 파티션 나열: + +`sudo blkid` + +- 현재 마운트 지점을 포함하여 테이블 형식으로 모든 파티션 나열: + +`sudo blkid -o list` diff --git a/pages.ko/linux/blkpr.md b/pages.ko/linux/blkpr.md new file mode 100644 index 00000000000000..6baa6f70d6afbd --- /dev/null +++ b/pages.ko/linux/blkpr.md @@ -0,0 +1,24 @@ +# blkpr + +> Persistent Reservations를 지원하는 블록 장치에서 예약을 등록, 예약, 해제, 선점 및 지우기. +> 더 많은 정보: . + +- 주어진 장치에 주어진 키로 새로운 예약을 등록 (명령)하기: + +`blkpr {{-c|--command}} register {{[-k|--key]}} {{예약_키}} {{경로/대상/장치}}` + +- 기존 예약의 유형을 배타적 접근으로 설정: + +`blkpr {{[-c|--command]}} reserve {{[-k|--key]}} {{예약_키}} {{[-t|--type]}} exclusive-access {{경로/대상/장치}}` + +- 주어진 키로 기존 예약을 선점하고 새로운 예약으로 교체: + +`blkpr {{[-c|--command]}} preempt {{[-K|--oldkey]}} {{이전_키}} {{[-k|--key]}} {{새로운_키}} {{[-t|--type]}} write-exclusive {{경로/대상/장치}}` + +- 주어진 장치에서 주어진 키와 유형으로 예약 해제: + +`blkpr {{[-c|--command]}} release {{[-k|--key]}} {{예약_키}} {{[-t|--type]}} {{예약_유형}} {{경로/대상/장치}}` + +- 주어진 장치에서 모든 예약 지우기: + +`blkpr {{[-c|--command]}} clear {{[-k|--key]}} {{키}} {{경로/대상/장치}}` diff --git a/pages.ko/linux/blockdev.md b/pages.ko/linux/blockdev.md new file mode 100644 index 00000000000000..2d898e50cdcb4d --- /dev/null +++ b/pages.ko/linux/blockdev.md @@ -0,0 +1,36 @@ +# blockdev + +> 블록 장치를 관리, 조회 및 조작. +> 더 많은 정보: . + +- 모든 장치에 대한 보고서 출력: + +`sudo blockdev --report` + +- 특정 장치에 대한 보고서 출력: + +`sudo blockdev --report {{/dev/sdXY}}` + +- 장치의 크기를 512바이트 섹터 단위로 확인: + +`sudo blockdev --getsz {{/dev/sdXY}}` + +- 읽기 전용으로 설정: + +`sudo blockdev --setro {{/dev/sdXY}}` + +- 읽기-쓰기 가능으로 설정: + +`sudo blockdev --setrw {{/dev/sdXY}}` + +- 버퍼 플러시: + +`sudo blockdev --flushbufs {{/dev/sdXY}}` + +- 물리적 블록 크기 확인: + +`sudo blockdev --getpbsz {{/dev/sdXY}}` + +- 선행 읽기 값을 128 섹터로 설정: + +`sudo blockdev --setra 128 {{/dev/sdXY}}` diff --git a/pages.ko/linux/bluetoothctl.md b/pages.ko/linux/bluetoothctl.md new file mode 100644 index 00000000000000..dd30e8c9a09221 --- /dev/null +++ b/pages.ko/linux/bluetoothctl.md @@ -0,0 +1,36 @@ +# bluetoothctl + +> 블루투스 장치를 관리합니다. +> 더 많은 정보: . + +- `bluetoothctl` 셸에 진입: + +`bluetoothctl` + +- 모든 알려진 장치 나열: + +`bluetoothctl devices` + +- 블루투스 컨트롤러를 켜거나 끔: + +`bluetoothctl power {{on|off}}` + +- 장치와 페어링: + +`bluetoothctl pair {{맥_주소}}` + +- 장치 제거: + +`bluetoothctl remove {{맥_주소}}` + +- 페어링된 장치에 연결: + +`bluetoothctl connect {{맥_주소}}` + +- 페어링된 장치와 연결 해제: + +`bluetoothctl disconnect {{맥_주소}}` + +- 도움말 표시: + +`bluetoothctl help` diff --git a/pages.ko/linux/bluetoothd.md b/pages.ko/linux/bluetoothd.md new file mode 100644 index 00000000000000..67d347f80acbca --- /dev/null +++ b/pages.ko/linux/bluetoothd.md @@ -0,0 +1,24 @@ +# bluetoothd + +> 블루투스 장치를 관리하는 데몬. +> 더 많은 정보: . + +- 데몬 시작: + +`bluetoothd` + +- 로그를 `stdout`으로 출력하며 데몬 시작: + +`bluetoothd --nodetach` + +- 특정 설정 파일을 사용하여 데몬 시작 (기본값은 `/etc/bluetooth/main.conf`): + +`bluetoothd --configfile {{경로/대상/파일}}` + +- 자세한 출력을 `stderr`로 출력하며 데몬 시작: + +`bluetoothd --debug` + +- bluetoothd 또는 플러그인 소스의 특정 파일에서 오는 자세한 출력을 사용하여 데몬 시작: + +`bluetoothd --debug={{경로/대상/파일1:경로/대상/파일2:...}}` diff --git a/pages.ko/linux/blurlock.md b/pages.ko/linux/blurlock.md new file mode 100644 index 00000000000000..5d768bb27ab2b6 --- /dev/null +++ b/pages.ko/linux/blurlock.md @@ -0,0 +1,21 @@ +# blurlock + +> 화면 잠금 도구 `i3lock`의 단순 래퍼로, 화면을 흐리게 처리합니다. +> 같이 보기: `i3lock`. +> 더 많은 정보: . + +- 현재 화면의 흐려진 스크린샷으로 화면 잠금: + +`blurlock` + +- 화면 잠금 시 잠금 해제 표시기 비활성화 (키 입력 시 피드백 제거): + +`blurlock --no-unlock-indicator` + +- 화면 잠금 시 마우스 포인터 숨김 해제: + +`blurlock --pointer {{default}}` + +- 화면 잠금 시 로그인 실패 횟수 표시: + +`blurlock --show-failed-attempts` diff --git a/pages.ko/linux/bmon.md b/pages.ko/linux/bmon.md new file mode 100644 index 00000000000000..784a91dce56be6 --- /dev/null +++ b/pages.ko/linux/bmon.md @@ -0,0 +1,20 @@ +# bmon + +> 대역폭을 모니터링하고 네트워크 관련 통계를 수집합니다. +> 더 많은 정보: . + +- 모든 인터페이스 목록 표시: + +`bmon -a` + +- 초당 비트 단위의 데이터 전송 속도 표시: + +`bmon -b` + +- 표시할 네트워크 인터페이스의 정책 지정: + +`bmon -p {{인터페이스_1,인터페이스_2,인터페이스_3}}` + +- 카운터당 속도를 계산하는 간격(초) 지정: + +`bmon -R {{2.0}}` diff --git a/pages.ko/linux/boltctl.md b/pages.ko/linux/boltctl.md new file mode 100644 index 00000000000000..950dc8b6aebe13 --- /dev/null +++ b/pages.ko/linux/boltctl.md @@ -0,0 +1,28 @@ +# boltctl + +> 썬더볼트 장치를 제어합니다. +> 더 많은 정보: . + +- 연결된 (및 승인된) 장치 나열: + +`boltctl` + +- 승인되지 않은 장치를 포함하여 연결된 장치 나열: + +`boltctl list` + +- 장치를 일시적으로 승인: + +`boltctl authorize {{장치_UUID}}` + +- 장치를 승인하고 기억: + +`boltctl enroll {{장치_UUID}}` + +- 이전에 승인된 장치 승인 취소: + +`boltctl forget {{장치_UUID}}` + +- 장치에 대한 추가 정보 표시: + +`boltctl info {{장치_UUID}}` diff --git a/pages.ko/linux/bootctl.md b/pages.ko/linux/bootctl.md new file mode 100644 index 00000000000000..3853155583ceb9 --- /dev/null +++ b/pages.ko/linux/bootctl.md @@ -0,0 +1,28 @@ +# bootctl + +> EFI 펌웨어 부트 설정을 제어하고 부트 로더를 관리합니다. +> 더 많은 정보: . + +- 시스템 펌웨어 및 부트 로더에 대한 정보 표시: + +`bootctl status` + +- 사용 가능한 모든 부트 로더 항목 표시: + +`bootctl list` + +- 다음 부팅 시 시스템 펌웨어로 부팅하도록 플래그 설정 (`sudo systemctl reboot --firmware-setup`과 유사): + +`sudo bootctl reboot-to-firmware true` + +- EFI 시스템 파티션 경로 지정 (기본값은 `/efi/`, `/boot/` 또는 `/boot/efi`): + +`bootctl --esp-path={{/경로/대상/efi_시스템_파티션/}}` + +- EFI 시스템 파티션에 `systemd-boot` 설치: + +`sudo bootctl install` + +- EFI 시스템 파티션에서 설치된 모든 버전의 `systemd-boot` 제거: + +`sudo bootctl remove` diff --git a/pages.ko/linux/bpftool.md b/pages.ko/linux/bpftool.md new file mode 100644 index 00000000000000..e9037213dc5c53 --- /dev/null +++ b/pages.ko/linux/bpftool.md @@ -0,0 +1,37 @@ +# bpftool + +> eBPF 프로그램 및 맵을 간단하게 검사하고 조작. +> `prog`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 로드된 `eBPF` 프로그램 정보 나열: + +`bpftool prog list` + +- 커널 네트워킹 하위 시스템의 `eBPF` 프로그램 연결 나열: + +`bpftool net list` + +- 모든 활성 링크 나열: + +`bpftool link list` + +- 시스템의 모든 `raw_tracepoint`, `tracepoint`, `kprobe` 연결 나열: + +`bpftool perf list` + +- `BPF Type Format (BTF)` 데이터 나열: + +`bpftool btf list` + +- 로드된 맵 정보 나열: + +`bpftool map list` + +- 네트워크 장치 "eth0"의 지원하는 `eBPF` 기능 검사: + +`bpftool feature probe dev {{eth0}}` + +- 파일에서 배치 모드로 명령 실행: + +`bpftool batch file {{내_파일}}` diff --git a/pages.ko/linux/bpftrace.md b/pages.ko/linux/bpftrace.md new file mode 100644 index 00000000000000..895d9ab2d6f491 --- /dev/null +++ b/pages.ko/linux/bpftrace.md @@ -0,0 +1,28 @@ +# bpftrace + +> Linux eBPF를 위한 고급 추적 언어. +> 더 많은 정보: . + +- 사용 가능한 모든 프로브 나열: + +`sudo bpftrace -l` + +- 원라이너 프로그램 실행 (예: 프로그램별 시스템 호출 수): + +`sudo bpftrace -e '{{tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }}}'` + +- 파일에서 프로그램 실행: + +`sudo bpftrace {{경로/대상/파일}}` + +- PID로 프로그램 추적: + +`sudo bpftrace -e '{{tracepoint:raw_syscalls:sys_enter /pid == 123/ { @[comm] = count(); }}}'` + +- 드라이런을 수행하고 eBPF 형식으로 출력 표시: + +`sudo bpftrace -d -e '{{한_줄_프로그램}}'` + +- 버전 표시: + +`bpftrace {{[-V|--version]}}` diff --git a/pages.ko/linux/br.md b/pages.ko/linux/br.md new file mode 100644 index 00000000000000..1530a846c6c9a7 --- /dev/null +++ b/pages.ko/linux/br.md @@ -0,0 +1,25 @@ +# br + +> 디렉터리 트리를 상호작용적으로 탐색합니다. +> 같이 보기: `broot`. +> 더 많은 정보: . + +- 현재 디렉터리 트리를 상호작용적으로 탐색 시작: + +`br` + +- 파일 및 디렉터리의 크기 표시 시작: + +`br --sizes` + +- 권한 표시 시작: + +`br --permissions` + +- 디렉터리만 표시 시작: + +`br --only-folders` + +- 숨김 파일 및 디렉터리 표시 시작: + +`br --hidden` diff --git a/pages.ko/linux/braa.md b/pages.ko/linux/braa.md new file mode 100644 index 00000000000000..8c52f9ec80e34c --- /dev/null +++ b/pages.ko/linux/braa.md @@ -0,0 +1,16 @@ +# braa + +> 여러 호스트를 동시에 스캔할 수 있는 초고속 대량 SNMP 스캐너. +> 더 많은 정보: . + +- 호스트의 SNMP 트리를 public 문자열로 탐색하여 `.1.3.6` 하위의 모든 OID 쿼리: + +`braa public@{{ip}}:{{.1.3.6.*}}` + +- `ip_range`의 전체 서브넷에 대해 `system.sysLocation.0` 쿼리: + +`braa public@{{ip_range}}:{{.1.3.6.1.2.1.1.6.0}}` + +- `system.sysLocation.0`의 값을 특정 워크그룹으로 설정 시도: + +`braa private@{{ip}}:{{.1.3.6.1.2.1.1.6.0}}=s'{{workgroup}}'` diff --git a/pages.ko/linux/brctl.md b/pages.ko/linux/brctl.md new file mode 100644 index 00000000000000..d81405eef7427d --- /dev/null +++ b/pages.ko/linux/brctl.md @@ -0,0 +1,24 @@ +# brctl + +> Ethernet 브리지 관리 도구. +> 더 많은 정보: . + +- 현재 존재하는 Ethernet 브리지에 대한 정보를 나열: + +`sudo brctl show` + +- 새 Ethernet 브리지 인터페이스 생성: + +`sudo brctl add {{브리지_이름}}` + +- 기존 Ethernet 브리지 인터페이스 삭제: + +`sudo brctl del {{브리지_이름}}` + +- 기존 브리지에 인터페이스 추가: + +`sudo brctl addif {{브리지_이름}} {{인터페이스_이름}}` + +- 기존 브리지에서 인터페이스 제거: + +`sudo brctl delif {{브리지_이름}} {{인터페이스_이름}}` diff --git a/pages.ko/linux/brightnessctl.md b/pages.ko/linux/brightnessctl.md new file mode 100644 index 00000000000000..388c65e9bc15a0 --- /dev/null +++ b/pages.ko/linux/brightnessctl.md @@ -0,0 +1,24 @@ +# brightnessctl + +> Linux 운영 체제에서 장치 밝기를 읽고 제어하는 유틸리티. +> 더 많은 정보: . + +- 밝기를 변경할 수 있는 장치 나열: + +`brightnessctl {{[-l|--list]}}` + +- 디스플레이 백라이트의 현재 밝기 출력: + +`brightnessctl get` + +- 디스플레이 백라이트의 밝기를 지정된 범위 내의 백분율로 설정: + +`brightnessctl set {{50%}}` + +- 지정된 증가분만큼 밝기 증가: + +`brightnessctl set {{+10%}}` + +- 지정된 감소분만큼 밝기 감소: + +`brightnessctl set {{10%-}}` diff --git a/pages.ko/linux/broot.md b/pages.ko/linux/broot.md new file mode 100644 index 00000000000000..d8d8a22f8276d3 --- /dev/null +++ b/pages.ko/linux/broot.md @@ -0,0 +1,9 @@ +# broot + +> 디렉터리 트리를 대화형으로 탐색. +> 같이 보기: `br`. +> 더 많은 정보: . + +- `br` 셸 기능을 설치하거나 재설치: + +`broot --install` diff --git a/pages.ko/linux/bspc.md b/pages.ko/linux/bspc.md new file mode 100644 index 00000000000000..e6136a32a2ab66 --- /dev/null +++ b/pages.ko/linux/bspc.md @@ -0,0 +1,29 @@ +# bspc + +> `bspwm`을 구성하고 제어하여 노드, 데스크톱, 모니터 등을 관리합니다. +> 같이 보기: `bspwm`. +> 더 많은 정보: . + +- 두 개의 가상 데스크톱 정의: + +`bspc monitor --reset-desktops {{데스크톱_이름1}} {{데스크톱_이름2}}` + +- 지정한 데스크톱으로 포커스 이동: + +`bspc desktop --focus {{번호}}` + +- 선택한 노드에 있는 창 닫기: + +`bspc node --close` + +- 선택한 노드를 지정한 데스크톱으로 보내기: + +`bspc node --to-desktop {{번호}}` + +- 선택한 노드의 전체 화면 모드 전환: + +`bspc node --state ~fullscreen` + +- 특정 설정의 값 설정: + +`bspc config {{설정_이름}} {{값}}` diff --git a/pages.ko/linux/bspwm.md b/pages.ko/linux/bspwm.md new file mode 100644 index 00000000000000..5573b10b10ea83 --- /dev/null +++ b/pages.ko/linux/bspwm.md @@ -0,0 +1,9 @@ +# bspwm + +> 바이너리 공간 분할 기반의 타일링 윈도우 매니저. +> 같이 보기: `bspc`, 제어를 위해 사용합니다. +> 더 많은 정보: . + +- `bspwm` 시작 (이 명령을 실행할 때 기존의 윈도우 매니저가 열려 있으면 안 됩니다): + +`bspwm -c {{경로/대상/설정}}` diff --git a/pages.ko/linux/btrbk.md b/pages.ko/linux/btrbk.md new file mode 100644 index 00000000000000..7f331b7be213aa --- /dev/null +++ b/pages.ko/linux/btrbk.md @@ -0,0 +1,24 @@ +# btrbk + +> btrfs 서브볼륨의 스냅샷 및 원격 백업 생성. +> 더 많은 정보: . + +- 구성된 서브볼륨 및 스냅샷에 대한 통계 출력: + +`sudo btrbk stats` + +- 구성된 서브볼륨 및 스냅샷 나열: + +`sudo btrbk list` + +- 표시된 변경 사항 없이 실행 시 어떤 일이 발생할지 출력: + +`sudo btrbk --verbose dryrun` + +- 백업 루틴을 자세히 실행하고 진행 막대 표시: + +`sudo btrbk --progress --verbose run` + +- 구성된 서브볼륨에 대해 스냅샷만 생성: + +`sudo btrbk snapshot` diff --git a/pages.ko/linux/btrfs-balance.md b/pages.ko/linux/btrfs-balance.md new file mode 100644 index 00000000000000..b32ff20d0890ee --- /dev/null +++ b/pages.ko/linux/btrfs-balance.md @@ -0,0 +1,32 @@ +# btrfs balance + +> btrfs 파일 시스템에서 블록 그룹을 균형 조정. +> 더 많은 정보: . + +- 실행 중이거나 일시 중지된 균형 조정 작업 상태 표시: + +`sudo btrfs balance status {{경로/대상/btrfs_파일시스템}}` + +- 모든 블록 그룹 균형 조정 (느림; 파일 시스템의 모든 블록을 다시 씀): + +`sudo btrfs balance start {{경로/대상/btrfs_파일시스템}}` + +- 사용률이 15% 미만인 데이터 블록 그룹을 백그라운드에서 균형 조정: + +`sudo btrfs balance start --bg -dusage={{15}} {{경로/대상/btrfs_파일시스템}}` + +- 주어진 장치 `devid`에 사용률 20% 미만이고 최소 1개의 청크가 있는 최대 10개의 메타데이터 청크 균형 조정 (btrfs filesystem show 참고): + +`sudo btrfs balance start -musage={{20}},limit={{10}},devid={{devid}} {{경로/대상/btrfs_파일시스템}}` + +- 데이터 블록을 raid6로, 메타데이터를 raid1c3로 변환 (프로필은 mkfs.btrfs(8) 참고): + +`sudo btrfs balance start -dconvert={{raid6}} -mconvert={{raid1c3}} {{경로/대상/btrfs_파일시스템}}` + +- 이미 변환된 청크를 건너뛰고 데이터 블록을 raid1로 변환 (예: 이전에 취소된 변환 작업 후): + +`sudo btrfs balance start -dconvert={{raid1}},soft {{경로/대상/btrfs_파일시스템}}` + +- 실행 중이거나 일시 중지된 균형 조정 작업 취소, 일시 중지 또는 재개: + +`sudo btrfs balance {{cancel|pause|resume}} {{경로/대상/btrfs_파일시스템}}` diff --git a/pages.ko/linux/btrfs-check.md b/pages.ko/linux/btrfs-check.md new file mode 100644 index 00000000000000..d4905e63dc5999 --- /dev/null +++ b/pages.ko/linux/btrfs-check.md @@ -0,0 +1,32 @@ +# btrfs check + +> btrfs 파일 시스템 검사 또는 복구. +> 더 많은 정보: . + +- btrfs 파일 시스템 검사: + +`sudo btrfs check {{경로/대상/파티션}}` + +- btrfs 파일 시스템 검사 및 복구 (위험함): + +`sudo btrfs check --repair {{경로/대상/파티션}}` + +- 검사 진행 상황 표시: + +`sudo btrfs check --progress {{경로/대상/파티션}}` + +- 각 데이터 블록의 체크섬 확인 (파일 시스템이 손상되지 않은 경우): + +`sudo btrfs check --check-data-csum {{경로/대상/파티션}}` + +- `n`번째 슈퍼블록 사용 (`n`은 0, 1 또는 2 가능): + +`sudo btrfs check --super {{n}} {{경로/대상/파티션}}` + +- 체크섬 트리 재구성: + +`sudo btrfs check --repair --init-csum-tree {{경로/대상/파티션}}` + +- 익스텐트 트리 재구성: + +`sudo btrfs check --repair --init-extent-tree {{경로/대상/파티션}}` diff --git a/pages.ko/linux/btrfs-device.md b/pages.ko/linux/btrfs-device.md new file mode 100644 index 00000000000000..76e1335b8f57ac --- /dev/null +++ b/pages.ko/linux/btrfs-device.md @@ -0,0 +1,24 @@ +# btrfs device + +> btrfs 파일 시스템에서 장치 관리. +> 더 많은 정보: . + +- btrfs 파일 시스템에 하나 이상의 장치 추가: + +`sudo btrfs device add {{경로/대상/블록_장치1}} [{{경로/대상/블록_장치2}}] {{경로/대상/btrfs_파일_시스템}}` + +- btrfs 파일 시스템에서 장치 제거: + +`sudo btrfs device remove {{경로/대상/장치|장치_ID}} [{{...}}]` + +- 오류 통계 표시: + +`sudo btrfs device stats {{경로/대상/btrfs_파일_시스템}}` + +- 모든 디스크를 스캔하고 감지된 모든 btrfs 파일 시스템을 커널에 알림: + +`sudo btrfs device scan --all-devices` + +- 디스크별 할당 통계 자세히 표시: + +`sudo btrfs device usage {{경로/대상/btrfs_파일_시스템}}` diff --git a/pages.ko/linux/btrfs-filesystem.md b/pages.ko/linux/btrfs-filesystem.md new file mode 100644 index 00000000000000..f2f261b80a2afe --- /dev/null +++ b/pages.ko/linux/btrfs-filesystem.md @@ -0,0 +1,28 @@ +# btrfs filesystem + +> btrfs 파일 시스템 관리. +> 더 많은 정보: . + +- 파일 시스템 사용량 표시 (상세 정보를 보려면 root로 실행): + +`btrfs filesystem usage {{경로/대상/btrfs_마운트}}` + +- 개별 장치별 사용량 표시: + +`sudo btrfs filesystem show {{경로/대상/btrfs_마운트}}` + +- btrfs 파일 시스템에서 단일 파일 조각 모음 (중복 제거 에이전트 실행 중에는 피하십시오): + +`sudo btrfs filesystem defragment -v {{경로/대상/파일}}` + +- 디렉토리를 재귀적으로 조각 모음 (서브볼륨 경계를 넘지 않음): + +`sudo btrfs filesystem defragment -v -r {{경로/대상/폴더}}` + +- 미기록된 데이터 블록을 디스크에 강제로 동기화: + +`sudo btrfs filesystem sync {{경로/대상/btrfs_마운트}}` + +- 디렉토리 내 파일의 디스크 사용량을 재귀적으로 요약: + +`sudo btrfs filesystem du --summarize {{경로/대상/폴더}}` diff --git a/pages.ko/linux/btrfs-inspect-internal.md b/pages.ko/linux/btrfs-inspect-internal.md new file mode 100644 index 00000000000000..29902e5df1cfaa --- /dev/null +++ b/pages.ko/linux/btrfs-inspect-internal.md @@ -0,0 +1,28 @@ +# btrfs inspect-internal + +> btrfs 파일 시스템의 내부 정보를 쿼리. +> 더 많은 정보: . + +- 슈퍼블록 정보 출력: + +`sudo btrfs inspect-internal dump-super {{경로/대상/파티션}}` + +- 슈퍼블록 및 모든 복사본의 정보 출력: + +`sudo btrfs inspect-internal dump-super --all {{경로/대상/파티션}}` + +- 파일 시스템 메타데이터 정보 출력: + +`sudo btrfs inspect-internal dump-tree {{경로/대상/파티션}}` + +- `n`번째 inode의 파일 목록 출력: + +`sudo btrfs inspect-internal inode-resolve {{n}} {{경로/대상/btrfs_마운트}}` + +- 지정된 논리 주소에 있는 파일 목록 출력: + +`sudo btrfs inspect-internal logical-resolve {{논리_주소}} {{경로/대상/btrfs_마운트}}` + +- 루트, extent, csum 및 fs 트리의 통계 출력: + +`sudo btrfs inspect-internal tree-stats {{경로/대상/파티션}}` diff --git a/pages.ko/linux/btrfs-property.md b/pages.ko/linux/btrfs-property.md new file mode 100644 index 00000000000000..3a1a800148979c --- /dev/null +++ b/pages.ko/linux/btrfs-property.md @@ -0,0 +1,24 @@ +# btrfs property + +> BTRFS 파일 시스템 객체(파일, 디렉터리, 서브볼륨, 파일 시스템 또는 장치)에 대한 속성을 가져오거나 설정하거나 나열합니다. +> 더 많은 정보: . + +- 주어진 btrfs 객체에 대해 사용 가능한 속성(및 설명)을 나열: + +`sudo btrfs property list {{경로/대상/btrfs_객체}}` + +- 주어진 btrfs 객체의 모든 속성을 가져오기: + +`sudo btrfs property get {{경로/대상/btrfs_객체}}` + +- 주어진 btrfs 파일 시스템 또는 장치의 `label` 속성을 가져오기: + +`sudo btrfs property get {{경로/대상/btrfs_파일시스템}} label` + +- 주어진 btrfs 파일 시스템 또는 장치의 모든 객체 유형별 속성을 가져오기: + +`sudo btrfs property get -t {{subvol|filesystem|inode|device}} {{경로/대상/btrfs_파일시스템}}` + +- 주어진 btrfs inode(파일 또는 디렉터리)의 `compression` 속성을 설정: + +`sudo btrfs property set {{경로/대상/btrfs_inode}} compression {{zstd|zlib|lzo|none}}` diff --git a/pages.ko/linux/btrfs-rescue.md b/pages.ko/linux/btrfs-rescue.md new file mode 100644 index 00000000000000..8b693dc212e086 --- /dev/null +++ b/pages.ko/linux/btrfs-rescue.md @@ -0,0 +1,24 @@ +# btrfs rescue + +> 손상된 btrfs 파일 시스템 복구 시도. +> 더 많은 정보: . + +- 파일 시스템 메타데이터 트리 재구성 (매우 느림): + +`sudo btrfs rescue chunk-recover {{경로/대상/파티션}}` + +- 장치 크기 정렬 관련 문제 해결 (예: 슈퍼 총 바이트 불일치로 파일 시스템을 마운트할 수 없음): + +`sudo btrfs rescue fix-device-size {{경로/대상/파티션}}` + +- 손상된 슈퍼블록을 올바른 복사본에서 복구 (파일 시스템 트리의 루트 복구): + +`sudo btrfs rescue super-recover {{경로/대상/파티션}}` + +- 중단된 트랜잭션에서 복구 (로그 재생 문제 수정): + +`sudo btrfs rescue zero-log {{경로/대상/파티션}}` + +- `mknod`가 설치되지 않은 경우 `/dev/btrfs-control` 제어 장치 생성: + +`sudo btrfs rescue create-control-device` diff --git a/pages.ko/linux/btrfs-restore.md b/pages.ko/linux/btrfs-restore.md new file mode 100644 index 00000000000000..071065fbe6b150 --- /dev/null +++ b/pages.ko/linux/btrfs-restore.md @@ -0,0 +1,24 @@ +# btrfs restore + +> 손상된 btrfs 파일 시스템에서 파일을 복구하려고 시도합니다. +> 더 많은 정보: . + +- btrfs 파일 시스템에서 모든 파일을 지정된 디렉토리로 복원: + +`sudo btrfs restore {{경로/대상/btrfs_장치}} {{경로/대상/대상_폴더}}` + +- btrfs 파일 시스템에서 복원할 파일 목록 표시 (복원하지 않음): + +`sudo btrfs restore --dry-run {{경로/대상/btrfs_장치}} {{경로/대상/대상_폴더}}` + +- 주어진 정규 표현식과 일치하는 파일을 btrfs 파일 시스템에서 복원 ([대]소문자 구분 없음, 대상 파일의 모든 상위 디렉토리도 일치해야 함): + +`sudo btrfs restore --path-regex {{정규식}} -c {{경로/대상/btrfs_장치}} {{경로/대상/대상_폴더}}` + +- 특정 루트 트리 `bytenr`를 사용하여 btrfs 파일 시스템에서 파일 복원 (`btrfs-find-root` 참조): + +`sudo btrfs restore -t {{bytenr}} {{경로/대상/btrfs_장치}} {{경로/대상/대상_폴더}}` + +- btrfs 파일 시스템에서 메타데이터, 확장 속성, 심볼릭 링크와 함께 파일을 복원하여 대상의 파일을 덮어쓰기: + +`sudo btrfs restore --metadata --xattr --symlinks --overwrite {{경로/대상/btrfs_장치}} {{경로/대상/대상_폴더}}` diff --git a/pages.ko/linux/btrfs-scrub.md b/pages.ko/linux/btrfs-scrub.md new file mode 100644 index 00000000000000..395d1b73e33a8b --- /dev/null +++ b/pages.ko/linux/btrfs-scrub.md @@ -0,0 +1,29 @@ +# btrfs scrub + +> btrfs 파일 시스템을 검사하여 데이터 무결성을 확인. +> 한 달에 한 번 스크럽 실행을 권장. +> 더 많은 정보: . + +- 스크럽 시작: + +`sudo btrfs scrub start {{경로/대상/btrfs_마운트}}` + +- 진행 중이거나 마지막으로 완료된 스크럽 상태 보기: + +`sudo btrfs scrub status {{경로/대상/btrfs_마운트}}` + +- 진행 중인 스크럽 취소: + +`sudo btrfs scrub cancel {{경로/대상/btrfs_마운트}}` + +- 이전에 취소된 스크럽 재개: + +`sudo btrfs scrub resume {{경로/대상/btrfs_마운트}}` + +- 스크럽을 시작하고 완료될 때까지 기다린 후 종료: + +`sudo btrfs scrub start -B {{경로/대상/btrfs_마운트}}` + +- 조용한 모드로 스크럽 시작 (오류나 통계를 출력하지 않음): + +`sudo btrfs scrub start -q {{경로/대상/btrfs_마운트}}` diff --git a/pages.ko/linux/btrfs-subvolume.md b/pages.ko/linux/btrfs-subvolume.md new file mode 100644 index 00000000000000..cacd669b29dcf0 --- /dev/null +++ b/pages.ko/linux/btrfs-subvolume.md @@ -0,0 +1,28 @@ +# btrfs subvolume + +> btrfs 서브볼륨과 스냅샷 관리. +> 더 많은 정보: . + +- 새 빈 서브볼륨 생성: + +`sudo btrfs subvolume create {{경로/대상/새로운_서브볼륨}}` + +- 지정된 파일 시스템의 모든 서브볼륨과 스냅샷 나열: + +`sudo btrfs subvolume list {{경로/대상/btrfs_파일시스템}}` + +- 서브볼륨 삭제: + +`sudo btrfs subvolume delete {{경로/대상/서브볼륨}}` + +- 기존 서브볼륨의 읽기 전용 스냅샷 생성: + +`sudo btrfs subvolume snapshot -r {{경로/대상/소스_서브볼륨}} {{경로/대상/대상}}` + +- 기존 서브볼륨의 읽기-쓰기 스냅샷 생성: + +`sudo btrfs subvolume snapshot {{경로/대상/소스_서브볼륨}} {{경로/대상/대상}}` + +- 서브볼륨에 대한 자세한 정보 표시: + +`sudo btrfs subvolume show {{경로/대상/서브볼륨}}` diff --git a/pages.ko/linux/btrfs-version.md b/pages.ko/linux/btrfs-version.md new file mode 100644 index 00000000000000..570937d12a61e7 --- /dev/null +++ b/pages.ko/linux/btrfs-version.md @@ -0,0 +1,12 @@ +# btrfs version + +> btrfs-progs 버전 표시. +> 더 많은 정보: . + +- 도움말 표시: + +`btrfs version --help` + +- btrfs-progs 버전 표시: + +`btrfs version` diff --git a/pages.ko/linux/btrfs.md b/pages.ko/linux/btrfs.md new file mode 100644 index 00000000000000..6c883f170d8d26 --- /dev/null +++ b/pages.ko/linux/btrfs.md @@ -0,0 +1,25 @@ +# btrfs + +> Linux용으로 설계된 카피 온 라이트(COW) 원칙 기반 파일 시스템. +> `device`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 서브볼륨 생성: + +`sudo btrfs subvolume create {{경로/대상/서브볼륨}}` + +- 서브볼륨 목록 나열: + +`sudo btrfs subvolume list {{경로/대상/마운트_포인트}}` + +- 공간 사용 정보 표시: + +`sudo btrfs filesystem df {{경로/대상/마운트_포인트}}` + +- 쿼터 활성화: + +`sudo btrfs quota enable {{경로/대상/서브볼륨}}` + +- 쿼터 표시: + +`sudo btrfs qgroup show {{경로/대상/서브볼륨}}` diff --git a/pages.ko/linux/bully.md b/pages.ko/linux/bully.md new file mode 100644 index 00000000000000..5e5300a90c55b4 --- /dev/null +++ b/pages.ko/linux/bully.md @@ -0,0 +1,13 @@ +# bully + +> 무선 액세스 포인트의 WPS 핀을 무차별 대입으로 알아냅니다. +> `bully`를 사용하기 전에 필요한 정보를 `airmon-ng` 및 `airodump-ng`로 수집해야 합니다. +> 더 많은 정보: . + +- 비밀번호 크랙: + +`bully --bssid "{{맥}}" --channel "{{채널}}" --bruteforce "{{인터페이스}}"` + +- 도움말 표시: + +`bully --help` diff --git a/pages.ko/linux/burpsuite.md b/pages.ko/linux/burpsuite.md new file mode 100644 index 00000000000000..1a46b6c9aaec0d --- /dev/null +++ b/pages.ko/linux/burpsuite.md @@ -0,0 +1,24 @@ +# burpsuite + +> 주로 웹 애플리케이션 침투 테스트에 사용되는 GUI 기반 애플리케이션. +> 더 많은 정보: . + +- Burp Suite 시작: + +`burpsuite` + +- 기본 설정을 사용하여 Burp Suite 시작: + +`burpsuite --use-defaults` + +- 특정 프로젝트 파일 열기: + +`burpsuite --project-file={{경로/대상/파일}}` + +- 특정 구성 파일 로드: + +`burpsuite --config-file={{경로/대상/파일}}` + +- 확장 기능 없이 시작: + +`burpsuite --disable-extensions` diff --git a/pages.ko/linux/busctl.md b/pages.ko/linux/busctl.md new file mode 100644 index 00000000000000..8054e9d011e94d --- /dev/null +++ b/pages.ko/linux/busctl.md @@ -0,0 +1,32 @@ +# busctl + +> D-Bus 버스를 조사하고 모니터링합니다. +> 더 많은 정보: . + +- 버스의 모든 피어를 서비스 이름으로 표시: + +`busctl list` + +- 버스 서비스, 프로세스 또는 버스 소유자의 프로세스 정보 및 자격 증명 표시 (매개변수를 지정하지 않으면): + +`busctl status {{서비스|프로세스_ID}}` + +- 교환되는 메시지 덤프. 서비스를 지정하지 않으면 버스의 모든 메시지 표시: + +`busctl monitor {{서비스1 서비스2 ...}}` + +- 하나 이상의 서비스(또는 서비스를 지정하지 않으면 모든 서비스)의 객체 트리 표시: + +`busctl tree {{서비스1 서비스2 ...}}` + +- 지정된 서비스의 특정 객체에 대한 인터페이스, 메서드, 속성 및 신호 표시: + +`busctl introspect {{서비스}} {{경로/대상/객체}}` + +- 하나 이상의 객체 속성의 현재 값 검색: + +`busctl get-property {{서비스}} {{경로/대상/객체}} {{인터페이스_이름}} {{속성_이름}}` + +- 메서드를 호출하고 응답 표시: + +`busctl call {{서비스}} {{경로/대상/객체}} {{인터페이스_이름}} {{메서드_이름}}` diff --git a/pages.ko/linux/bwa.md b/pages.ko/linux/bwa.md new file mode 100644 index 00000000000000..e486a3dc4cd34d --- /dev/null +++ b/pages.ko/linux/bwa.md @@ -0,0 +1,25 @@ +# bwa + +> Burrows-Wheeler 정렬 도구. +> 짧고 낮은 발산율의 DNA 서열을 인간 유전체와 같은 대형 참조 유전체에 매핑합니다. +> 더 많은 정보: . + +- 참조 유전체 색인 생성: + +`bwa index {{경로/대상/참조.fa}}` + +- 단일 엔드 읽기(서열)를 색인된 유전체에 32 [t]스레드를 사용하여 매핑하고 결과를 압축하여 공간 절약: + +`bwa mem -t 32 {{경로/대상/참조.fa}} {{경로/대상/단일_엔드_읽기.fq.gz}} | gzip > {{경로/대상/정렬_단일_엔드.sam.gz}}` + +- 쌍 엔드 읽기(서열)를 색인된 유전체에 32 [t]스레드를 사용하여 매핑하고 결과를 압축하여 공간 절약: + +`bwa mem -t 32 {{경로/대상/참조.fa}} {{경로/대상/쌍_엔드_읽기_1.fq.gz}} {{경로/대상/쌍_엔드_읽기_2.fq.gz}} | gzip > {{경로/대상/정렬_쌍_엔드.sam.gz}}` + +- Picard 소프트웨어의 출력 SAM 파일 호환성을 위해 짧은 분할 히트를 보조로 [M]표시하여 쌍 엔드 읽기(서열)를 색인된 유전체에 32 [t]스레드를 사용하여 매핑하고 결과를 압축: + +`bwa mem -M -t 32 {{경로/대상/참조.fa}} {{경로/대상/쌍_엔드_읽기_1.fq.gz}} {{경로/대상/쌍_엔드_읽기_2.fq.gz}} | gzip > {{경로/대상/정렬_쌍_엔드.sam.gz}}` + +- FASTA/Q [C]주석(예: BC:Z:CGTAC)을 압축된 결과에 추가하여 쌍 엔드 읽기(서열)를 색인된 유전체에 32 [t]스레드를 사용하여 매핑: + +`bwa mem -C -t 32 {{경로/대상/참조.fa}} {{경로/대상/쌍_엔드_읽기_1.fq.gz}} {{경로/대상/쌍_엔드_읽기_2.fq.gz}} | gzip > {{경로/대상/정렬_쌍_엔드.sam.gz}}` diff --git a/pages.ko/linux/byzanz-record.md b/pages.ko/linux/byzanz-record.md new file mode 100644 index 00000000000000..073df0577bd968 --- /dev/null +++ b/pages.ko/linux/byzanz-record.md @@ -0,0 +1,20 @@ +# byzanz-record + +> 화면을 녹화합니다. +> 더 많은 정보: . + +- 화면을 녹화하고 파일에 기록 (기본적으로 `byzanz-record`는 10초만 녹화합니다): + +`byzanz-record {{경로/대상/파일.[byzanz|flv|gif|ogg|ogv|webm]}}` + +- 녹화 중 및 녹화 후 정보를 표시: + +`byzanz-record --verbose {{경로/대상/파일.[byzanz|flv|gif|ogg|ogv|webm]}}` + +- 화면을 1분 동안 녹화: + +`byzanz-record --duration 60 {{경로/대상/파일.[byzanz|flv|gif|ogg|ogv|webm]}}` + +- 녹화를 10초 지연 후 시작: + +`byzanz-record --delay 10 {{경로/대상/파일.[byzanz|flv|gif|ogg|ogv|webm]}}` diff --git a/pages.ko/linux/cacaclock.md b/pages.ko/linux/cacaclock.md new file mode 100644 index 00000000000000..3f5d04dbdea17f --- /dev/null +++ b/pages.ko/linux/cacaclock.md @@ -0,0 +1,16 @@ +# cacaclock + +> 현재 시간을 ASCII 아트로 표시합니다. +> 더 많은 정보: . + +- 시간 표시: + +`cacaclock` + +- 글꼴 변경: + +`cacaclock -f {{글꼴}}` + +- `strftime` 형식 사양을 사용하여 형식 변경: + +`cacaclock -d {{strftime_인수}}` diff --git a/pages.ko/linux/cacademo.md b/pages.ko/linux/cacademo.md new file mode 100644 index 00000000000000..0df75532947b19 --- /dev/null +++ b/pages.ko/linux/cacademo.md @@ -0,0 +1,8 @@ +# cacademo + +> 무작위 ASCII 아트 애니메이션을 표시합니다. +> 더 많은 정보: . + +- 애니메이션 보기: + +`cacademo` diff --git a/pages.ko/linux/cacafire.md b/pages.ko/linux/cacafire.md new file mode 100644 index 00000000000000..1334ff3c5e8f95 --- /dev/null +++ b/pages.ko/linux/cacafire.md @@ -0,0 +1,8 @@ +# cacafire + +> 애니메이션 ASCII 불꽃을 표시합니다. +> 더 많은 정보: . + +- ASCII 불꽃 표시: + +`cacafire` diff --git a/pages.ko/linux/cacaview.md b/pages.ko/linux/cacaview.md new file mode 100644 index 00000000000000..b86954af70b1e3 --- /dev/null +++ b/pages.ko/linux/cacaview.md @@ -0,0 +1,8 @@ +# cacaview + +> PMN 형식으로 이미지를 표시합니다. +> 더 많은 정보: . + +- 이미지 표시: + +`cacaview {{경로/대상/이미지}}` diff --git a/pages.ko/linux/caffeinate.md b/pages.ko/linux/caffeinate.md new file mode 100644 index 00000000000000..ced7edec4a7231 --- /dev/null +++ b/pages.ko/linux/caffeinate.md @@ -0,0 +1,8 @@ +# caffeinate + +> 데스크톱 절전 모드 방지. +> 더 많은 정보: . + +- 데스크톱 절전 모드 방지 (``로 종료): + +`caffeinate` diff --git a/pages.ko/linux/caffeine-indicator.md b/pages.ko/linux/caffeine-indicator.md new file mode 100644 index 00000000000000..933b267a70fd6f --- /dev/null +++ b/pages.ko/linux/caffeine-indicator.md @@ -0,0 +1,8 @@ +# caffeine-indicator + +> 토글로 데스크탑의 유휴 상태를 수동으로 방지. +> 더 많은 정보: . + +- 토글로 데스크탑의 유휴 상태를 수동으로 방지: + +`caffeine-indicator` diff --git a/pages.ko/linux/caffeine.md b/pages.ko/linux/caffeine.md new file mode 100644 index 00000000000000..2b57c43850bad8 --- /dev/null +++ b/pages.ko/linux/caffeine.md @@ -0,0 +1,16 @@ +# caffeine + +> 전체 화면 모드에서 데스크톱의 유휴 상태를 방지합니다. +> 더 많은 정보: . + +- caffeine 서버 시작: + +`caffeine` + +- 도움말 표시: + +`caffeine --help` + +- 버전 표시: + +`caffeine --version` diff --git a/pages.ko/linux/caja.md b/pages.ko/linux/caja.md new file mode 100644 index 00000000000000..91241a78618516 --- /dev/null +++ b/pages.ko/linux/caja.md @@ -0,0 +1,25 @@ +# caja + +> MATE 데스크톱 환경에서 파일과 디렉토리를 관리합니다. +> 같이 보기: `nautilus`, `dolphin`, `thunar`, `ranger`. +> 더 많은 정보: . + +- 현재 사용자 홈 디렉토리 열기: + +`caja` + +- 특정 디렉토리를 별도 창으로 열기: + +`caja {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 특정 디렉토리를 탭으로 열기: + +`caja --tabs {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 특정 창 크기로 디렉토리 열기: + +`caja --geometry={{600}}x{{400}} {{경로/대상/폴더}}` + +- 모든 창 닫기: + +`caja --quit` diff --git a/pages.ko/linux/cal.md b/pages.ko/linux/cal.md new file mode 100644 index 00000000000000..3496a3f862de2e --- /dev/null +++ b/pages.ko/linux/cal.md @@ -0,0 +1,32 @@ +# cal + +> 현재 날짜가 강조된 달력을 표시합니다. +> 더 많은 정보: . + +- 현재 달의 달력을 표시: + +`cal` + +- 날짜를 기준으로 [3]개월의 달력을 표시: + +`cal {{[-3|--three]}}` + +- 현재 [y]년도의 전체 달력을 표시: + +`cal {{[-y|--year]}}` + +- 다음 12개월의 달력을 표시: + +`cal {{[-Y|--twelve]}}` + +- 월요일을 주의 시작일로 사용: + +`cal {{[-m|--monday]}}` + +- 특정 연도의 달력을 표시 (4자리): + +`cal {{연도}}` + +- 특정 월과 연도의 달력을 표시: + +`cal {{월}} {{연도}}` diff --git a/pages.ko/linux/calcurse.md b/pages.ko/linux/calcurse.md new file mode 100644 index 00000000000000..8f2f556495353a --- /dev/null +++ b/pages.ko/linux/calcurse.md @@ -0,0 +1,24 @@ +# calcurse + +> 명령줄에서 사용할 수 있는 텍스트 기반의 일정 관리 및 달력 애플리케이션. +> 더 많은 정보: . + +- 인터랙티브 모드로 `calcurse` 시작: + +`calcurse` + +- 오늘의 약속 및 이벤트를 출력하고 종료: + +`calcurse --appointment` + +- 모든 로컬 calcurse 항목을 제거하고 원격 객체 가져오기: + +`calcurse-caldav --init=keep-remote` + +- 모든 원격 객체 제거하고 로컬 calcurse 항목 푸시: + +`calcurse-caldav --init=keep-local` + +- 로컬 객체를 CalDAV 서버에 복사하고 그 반대도 수행: + +`calcurse-caldav --init=two-way` diff --git a/pages.ko/linux/cam.md b/pages.ko/linux/cam.md new file mode 100644 index 00000000000000..c1f1b10cf78361 --- /dev/null +++ b/pages.ko/linux/cam.md @@ -0,0 +1,20 @@ +# cam + +> `libcamera`의 프론트엔드 도구. +> 더 많은 정보: . + +- 사용 가능한 카메라 나열: + +`cam {{[-l|--list]}}` + +- 카메라의 컨트롤 나열: + +`cam {{[-c|--camera]}} {{카메라_인덱스}} --list-controls` + +- 프레임을 폴더에 저장: + +`cam {{[-c|--camera]}} {{카메라_인덱스}} {{[-C|--capture=]}}{{캡처할_프레임_수}} {{[-F|--file]}}` + +- 창에 카메라 피드 표시: + +`cam {{[-c|--camera]}} {{카메라_인덱스}} {{[-C|--capture]}} {{[-S|--sdl]}}` diff --git a/pages.ko/linux/cat.md b/pages.ko/linux/cat.md new file mode 100644 index 00000000000000..7ab736eb229544 --- /dev/null +++ b/pages.ko/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> [f]파일을 출력하고 연결. +> 더 많은 정보: . + +- [f]파일의 내용을 `stdout`에 출력: + +`cat {{경로/대상/파일}}` + +- 여러 [f]파일을 연결하여 출력 [f]파일로 저장: + +`cat {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/출력_파일}}` + +- 여러 [f]파일을 출력 [f]파일에 추가: + +`cat {{경로/대상/파일1 경로/대상/파일2 ...}} >> {{경로/대상/출력_파일}}` + +- `stdin`을 [f]파일로 작성: + +`cat - > {{경로/대상/파일}}` + +- 모든 출력 줄에 [n]번호 추가: + +`cat {{[-n|--number]}} {{경로/대상/파일}}` + +- 비인쇄 및 공백 문자를 표시 (비ASCII의 경우 `M-` 접두사 사용): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/cbatticon.md b/pages.ko/linux/cbatticon.md new file mode 100644 index 00000000000000..fd10c804a30a16 --- /dev/null +++ b/pages.ko/linux/cbatticon.md @@ -0,0 +1,32 @@ +# cbatticon + +> 시스템 트레이에 위치하는 가볍고 빠른 배터리 아이콘. +> 더 많은 정보: . + +- 시스템 트레이에 배터리 아이콘 표시: + +`cbatticon` + +- 배터리 아이콘을 표시하고 업데이트 간격을 20초로 설정: + +`cbatticon --update-interval {{20}}` + +- 사용 가능한 아이콘 유형 나열: + +`cbatticon --list-icon-types` + +- 특정 아이콘 유형으로 배터리 아이콘 표시: + +`cbatticon --icon-type {{standard|notification|symbolic}}` + +- 사용 가능한 전원 공급 장치 나열: + +`cbatticon --list-power-supplies` + +- 특정 배터리에 대한 배터리 아이콘 표시: + +`cbatticon {{BAT0}}` + +- 배터리 수준이 설정된 임계 수준에 도달했을 때 실행할 명령과 함께 배터리 아이콘 표시: + +`cbatticon --critical-level {{5}} --command-critical-level {{poweroff}}` diff --git a/pages.ko/linux/cc.md b/pages.ko/linux/cc.md new file mode 100644 index 00000000000000..a34e773850d543 --- /dev/null +++ b/pages.ko/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> 이 명령은 `gcc` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr gcc` diff --git a/pages.ko/linux/ceph.md b/pages.ko/linux/ceph.md new file mode 100644 index 00000000000000..41d1b6676505cb --- /dev/null +++ b/pages.ko/linux/ceph.md @@ -0,0 +1,32 @@ +# ceph + +> 통합 스토리지 시스템. +> 더 많은 정보: . + +- 클러스터 상태 확인: + +`ceph status` + +- 클러스터 사용 통계 확인: + +`ceph df` + +- 클러스터 내 배치 그룹의 통계 가져오기: + +`ceph pg dump --format {{plain}}` + +- 스토리지 풀 생성: + +`ceph osd pool create {{풀_이름}} {{페이지_번호}}` + +- 스토리지 풀 삭제: + +`ceph osd pool delete {{풀_이름}}` + +- 스토리지 풀 이름 변경: + +`ceph osd pool rename {{현재_이름}} {{새로운_이름}}` + +- 풀 스토리지 자체 복구: + +`ceph pg repair {{풀_이름}}` diff --git a/pages.ko/linux/certbot.md b/pages.ko/linux/certbot.md new file mode 100644 index 00000000000000..e8be9a1e7811f7 --- /dev/null +++ b/pages.ko/linux/certbot.md @@ -0,0 +1,29 @@ +# certbot + +> TLS 인증서를 자동으로 획득하고 갱신하기 위한 Let's Encrypt 에이전트. +> `letsencrypt`의 후속 도구. +> 더 많은 정보: . + +- 웹루트 인증을 통해 새 인증서를 획득하지만 자동으로 설치하지 않기: + +`sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{경로/대상/웹루트}} {{[-d|--domain]}} {{서브도메인.example.com}}` + +- nginx 인증을 통해 새 인증서를 획득하고 자동으로 설치하기: + +`sudo certbot --nginx {{[-d|--domain]}} {{서브도메인.example.com}}` + +- apache 인증을 통해 새 인증서를 획득하고 자동으로 설치하기: + +`sudo certbot --apache {{[-d|--domain]}} {{서브도메인.example.com}}` + +- 30일 이내에 만료되는 모든 Let's Encrypt 인증서 갱신하기 (사용하고 있는 서버를 잊지 말고 재시작하기): + +`sudo certbot renew` + +- 새 인증서 획득을 시뮬레이션하지만 실제로 디스크에 인증서를 저장하지 않기: + +`sudo certbot --webroot {{[-w|--webroot-path]}} {{경로/대상/웹루트}} {{[-d|--domain]}} {{서브도메인.example.com}} --dry-run` + +- 신뢰할 수 없는 테스트 인증서 획득하기: + +`sudo certbot --webroot {{[-w|--webroot-path]}} {{경로/대상/웹루트}} {{[-d|--domain]}} {{서브도메인.example.com}} --test-cert` diff --git a/pages.ko/linux/cewl.md b/pages.ko/linux/cewl.md new file mode 100644 index 00000000000000..88fad744029629 --- /dev/null +++ b/pages.ko/linux/cewl.md @@ -0,0 +1,24 @@ +# cewl + +> 웹 콘텐츠에서 크래킹용 단어 목록을 만드는 URL 수집 도구. +> 더 많은 정보: . + +- 지정된 URL에서 링크 깊이 2까지 단어 목록 파일 생성: + +`cewl {{[-d|--depth]}} 2 {{[-w|--write]}} {{경로/대상/단어목록.txt}} {{url}}` + +- 지정된 URL에서 최소 5자 이상의 알파벳과 숫자로 이루어진 단어 목록 출력: + +`cewl --with-numbers {{[-m|--min_word_length]}} 5 {{url}}` + +- 디버그 모드로 이메일 주소를 포함한 지정된 URL에서 단어 목록 출력: + +`cewl --debug {{[-e|--email]}} {{url}}` + +- HTTP 기본 또는 다이제스트 인증을 사용하여 지정된 URL에서 단어 목록 출력: + +`cewl --auth_type {{basic|digest}} --auth_user {{사용자명}} --auth_pass {{비밀번호}} {{url}}` + +- 프록시를 통해 지정된 URL에서 단어 목록 출력: + +`cewl --proxy_host {{호스트}} --proxy_port {{포트}} {{url}}` diff --git a/pages.ko/linux/cfdisk.md b/pages.ko/linux/cfdisk.md new file mode 100644 index 00000000000000..c44682588bf944 --- /dev/null +++ b/pages.ko/linux/cfdisk.md @@ -0,0 +1,12 @@ +# cfdisk + +> curses UI를 사용하여 하드 디스크의 파티션 테이블 및 파티션을 관리. +> 더 많은 정보: . + +- 특정 장치로 파티션 조작기 시작: + +`cfdisk {{/dev/sdX}}` + +- 특정 장치에 대한 새 파티션 테이블 생성 및 관리: + +`cfdisk {{[-z|--zero]}} {{/dev/sdX}}` diff --git a/pages.ko/linux/cgclassify.md b/pages.ko/linux/cgclassify.md new file mode 100644 index 00000000000000..3cbcf2d09d7c49 --- /dev/null +++ b/pages.ko/linux/cgclassify.md @@ -0,0 +1,16 @@ +# cgclassify + +> 실행 중인 작업을 `cgroups`로 이동합니다. +> 더 많은 정보: . + +- 특정 PID를 가진 프로세스를 CPU 계층의 student 컨트롤 그룹으로 이동: + +`cgclassify -g {{cpu:student}} {{1234}}` + +- `/etc/cgrules.conf` 설정 파일에 기반하여 특정 PID를 가진 프로세스를 컨트롤 그룹으로 이동: + +`cgclassify {{1234}}` + +- 특정 PID를 가진 프로세스를 CPU 계층의 student 컨트롤 그룹으로 이동(서비스 `cgred`의 데몬이 해당 PID 및 자식의 `cgroups`를 변경하지 않음, `/etc/cgrules.conf` 기반): + +`cgclassify --sticky -g {{cpu:/student}} {{1234}}` diff --git a/pages.ko/linux/cgcreate.md b/pages.ko/linux/cgcreate.md new file mode 100644 index 00000000000000..96f96ae2202e28 --- /dev/null +++ b/pages.ko/linux/cgcreate.md @@ -0,0 +1,17 @@ +# cgcreate + +> cgroup을 생성하여 프로세스가 사용하는 자원을 제한, 측정 및 제어. +> `cgroups`의 유형은 `memory`, `cpu`, `net_cls` 등이 있습니다. +> 더 많은 정보: . + +- 새 그룹 생성: + +`cgcreate -g {{그룹_유형}}:{{그룹_이름}}` + +- 여러 cgroup 유형으로 새 그룹 생성: + +`cgcreate -g {{그룹_유형1}},{{그룹_유형2}}:{{그룹_이름}}` + +- 하위 그룹 생성: + +`mkdir /sys/fs/cgroup/{{그룹_유형}}/{{그룹_이름}}/{{하위_그룹_이름}}` diff --git a/pages.ko/linux/cgexec.md b/pages.ko/linux/cgexec.md new file mode 100644 index 00000000000000..b97496d30bf1b7 --- /dev/null +++ b/pages.ko/linux/cgexec.md @@ -0,0 +1,9 @@ +# cgexec + +> 프로세스가 사용하는 자원을 제한, 측정 및 제어. +> `cpu`, `memory` 등 여러 cgroup 유형(컨트롤러)이 존재합니다. +> 더 많은 정보: . + +- 지정된 컨트롤러와 cgroup에서 프로세스를 실행: + +`cgexec -g {{컨트롤러}}:{{cgroup_이름}} {{프로세스_이름}}` diff --git a/pages.ko/linux/cgroups.md b/pages.ko/linux/cgroups.md new file mode 100644 index 00000000000000..177705de47a46b --- /dev/null +++ b/pages.ko/linux/cgroups.md @@ -0,0 +1,17 @@ +# cgroups + +> Cgroups, 또는 control groups는 프로세스의 자원 사용을 제한, 측정 및 제어하기 위한 Linux 커널 기능입니다. +> Cgroups는 하나의 명령이 아니라 명령들의 모음이며, 관련 페이지를 아래에서 확인하세요. +> 더 많은 정보: . + +- `cgclassify`에 대한 문서 보기: + +`tldr cgclassify` + +- `cgcreate`에 대한 문서 보기: + +`tldr cgcreate` + +- `cgexec`에 대한 문서 보기: + +`tldr cgexec` diff --git a/pages.ko/linux/chage.md b/pages.ko/linux/chage.md new file mode 100644 index 00000000000000..011e965dc87b91 --- /dev/null +++ b/pages.ko/linux/chage.md @@ -0,0 +1,24 @@ +# chage + +> 사용자 계정 및 비밀번호 만료 정보를 변경합니다. +> 더 많은 정보: . + +- 사용자의 비밀번호 정보를 나열: + +`chage --list {{사용자명}}` + +- 비밀번호 만료를 10일 후로 설정: + +`sudo chage --maxdays {{10}} {{사용자명}}` + +- 비밀번호 만료 비활성화: + +`sudo chage --maxdays {{-1}} {{사용자명}}` + +- 계정 만료 날짜 설정: + +`sudo chage --expiredate {{YYYY-MM-DD}} {{사용자명}}` + +- 다음 로그인 시 비밀번호 변경을 강제: + +`sudo chage --lastday {{0}} {{사용자명}}` diff --git a/pages.ko/linux/chat.md b/pages.ko/linux/chat.md new file mode 100644 index 00000000000000..40732c336793a4 --- /dev/null +++ b/pages.ko/linux/chat.md @@ -0,0 +1,33 @@ +# chat + +> 모뎀 또는 시리얼 장치와의 대화를 자동화합니다. +> 주로 PPP(Point-to-Point Protocol) 연결을 설정하는 데 사용됩니다. +> 더 많은 정보: . + +- 명령줄에서 채팅 스크립트를 직접 실행: + +`chat '{{기대_발신_쌍}}'` + +- 파일에서 채팅 스크립트 실행: + +`chat -f '{{경로/대상/채팅_스크립트}}'` + +- 응답을 기대하는 사용자 정의 시간 초과 설정(초 단위): + +`chat -t {{시간_초}} '{{기대_발신_쌍}}'` + +- 대화를 `syslog`에 기록하기 위해 자세한 출력 활성화: + +`chat -v '{{기대_발신_쌍}}'` + +- 대화 중 수신된 특정 문자열을 기록하기 위해 보고서 파일 사용: + +`chat -r {{경로/대상/보고서_파일}} '{{기대_발신_쌍}}'` + +- 스크립트에서 `\T`를 대체하여 전화번호 걸기: + +`chat -T '{{전화번호}}' '{{"ATDT\\T CONNECT"}}'` + +- 특정 문자열을 수신하면 중단 조건 포함: + +`chat 'ABORT "{{오류_문자열}}" {{기대_발신_쌍}}'` diff --git a/pages.ko/linux/chattr.md b/pages.ko/linux/chattr.md new file mode 100644 index 00000000000000..5242bb1903cf94 --- /dev/null +++ b/pages.ko/linux/chattr.md @@ -0,0 +1,16 @@ +# chattr + +> 파일 또는 디렉토리의 속성 변경. +> 더 많은 정보: . + +- 파일 또는 디렉토리를 변경 및 삭제 불가능하도록 설정 (슈퍼유저도 포함): + +`chattr +i {{경로/대상/파일_또는_폴더}}` + +- 파일 또는 디렉토리를 변경 가능하도록 설정: + +`chattr -i {{경로/대상/파일_또는_폴더}}` + +- 전체 디렉토리와 그 내용을 재귀적으로 변경 및 삭제 불가능하도록 설정: + +`chattr -R +i {{경로/대상/폴더}}` diff --git a/pages.ko/linux/chcon.md b/pages.ko/linux/chcon.md new file mode 100644 index 00000000000000..31eba02a37ec5f --- /dev/null +++ b/pages.ko/linux/chcon.md @@ -0,0 +1,33 @@ +# chcon + +> 파일 또는 파일/디렉토리의 SELinux 보안 컨텍스트를 변경합니다. +> 같이 보기: `secon`, `restorecon`, `semanage-fcontext`. +> 더 많은 정보: . + +- 파일의 보안 컨텍스트 보기: + +`ls {{[-lZ|-l --context]}} {{경로/대상/파일}}` + +- 참조된 파일을 사용하여, 대상 파일의 보안 내용 변경: + +`chcon --reference {{참조_파일}} {{대상_파일}}` + +- 파일의 전체 SELinux 보안 컨텍스트 변경: + +`chcon {{사용자}}:{{역할}}:{{타입}}:{{범위/레벨}} {{파일명}}` + +- SELinux 보안 컨텍스트의 사용자 부분만 변경: + +`chcon {{[-u|--user]}} {{사용자}} {{파일명}}` + +- SELinux 보안 컨텍스트의 역할 부분만 변경: + +`chcon {{[-r|--role]}} {{역할}} {{파일명}}` + +- SELinux 보안 컨텍스트의 유형 부분만 변경: + +`chcon {{[-t|--type]}} {{타입}} {{파일명}}` + +- SELinux 보안 컨텍스트의 범위/레벨 부분만 변경: + +`chcon {{[-l|--range]}} {{범위/레벨}} {{파일명}}` diff --git a/pages.ko/linux/chcpu.md b/pages.ko/linux/chcpu.md new file mode 100644 index 00000000000000..dada998d085671 --- /dev/null +++ b/pages.ko/linux/chcpu.md @@ -0,0 +1,12 @@ +# chcpu + +> 시스템의 CPU를 활성화/비활성화합니다. +> 더 많은 정보: . + +- 하나 이상의 CPU를 ID로 비활성화: + +`chcpu -d {{1,3}}` + +- 하나 이상의 CPU 범위를 ID로 활성화: + +`chcpu -e {{1-3,5-7}}` diff --git a/pages.ko/linux/check-dfsg-status.md b/pages.ko/linux/check-dfsg-status.md new file mode 100644 index 00000000000000..7436ee2a92b351 --- /dev/null +++ b/pages.ko/linux/check-dfsg-status.md @@ -0,0 +1,13 @@ +# check-dfsg-status + +> Debian 기반 OS에 설치된 비자유 소프트웨어 패키지를 보고. +> 이 명령은 이전에 `vrms`로 알려졌습니다. +> 더 많은 정보: . + +- 비자유 및 contrib 패키지와 그 설명 나열: + +`check-dfsg-status` + +- 패키지 이름만 출력: + +`check-dfsg-status --sparse` diff --git a/pages.ko/linux/check-language-support.md b/pages.ko/linux/check-language-support.md new file mode 100644 index 00000000000000..b37a71699b52d4 --- /dev/null +++ b/pages.ko/linux/check-language-support.md @@ -0,0 +1,16 @@ +# check-language-support + +> Ubuntu에서 누락된 언어 패키지 목록을 표시합니다. +> 더 많은 정보: . + +- 설치된 소프트웨어와 활성화된 로케일을 기반으로 누락된 언어 패키지 목록 표시: + +`check-language-support` + +- 특정 로케일의 패키지 나열: + +`check-language-support --language {{en}}` + +- 설치된 패키지와 누락된 패키지 모두 표시: + +`check-language-support --show-installed` diff --git a/pages.ko/linux/check-support-status.md b/pages.ko/linux/check-support-status.md new file mode 100644 index 00000000000000..f3b85dabad41a9 --- /dev/null +++ b/pages.ko/linux/check-support-status.md @@ -0,0 +1,16 @@ +# check-support-status + +> 지원이 제한되었거나 조기 종료된 설치된 Debian 패키지를 식별합니다. +> 더 많은 정보: . + +- 지원이 제한되었거나 이미 종료되었거나 배포의 수명 종료보다 빨리 종료될 패키지 표시: + +`check-support-status` + +- 지원이 종료된 패키지만 표시: + +`check-support-status --type {{ended}}` + +- 헤드라인 출력 건너뛰기: + +`check-support-status --no-heading` diff --git a/pages.ko/linux/checkinstall.md b/pages.ko/linux/checkinstall.md new file mode 100644 index 00000000000000..ea7c98583e89b4 --- /dev/null +++ b/pages.ko/linux/checkinstall.md @@ -0,0 +1,24 @@ +# checkinstall + +> 소프트웨어 패키지의 로컬 설치를 추적하고 시스템의 기본 패키지 관리 도구와 함께 사용할 수 있는 바이너리 패키지를 생성합니다. +> 더 많은 정보: . + +- 기본 설정으로 패키지를 생성하고 설치: + +`sudo checkinstall --default` + +- 패키지를 생성하지만 설치하지 않음: + +`sudo checkinstall --install={{no}}` + +- 문서 없이 패키지 생성: + +`sudo checkinstall --nodoc` + +- 패키지를 생성하고 이름 설정: + +`sudo checkinstall --pkgname {{패키지}}` + +- 패키지를 생성하고 저장할 위치 지정: + +`sudo checkinstall --pakdir {{경로/대상/폴더}}` diff --git a/pages.ko/linux/checkupdates-aur.md b/pages.ko/linux/checkupdates-aur.md new file mode 100644 index 00000000000000..dbe7e33a21ad08 --- /dev/null +++ b/pages.ko/linux/checkupdates-aur.md @@ -0,0 +1,16 @@ +# checkupdates-aur + +> Arch User Repository (AUR)의 대기 중인 업데이트를 확인합니다. +> 더 많은 정보: . + +- AUR 패키지의 대기 중인 업데이트 나열: + +`checkupdates-aur` + +- 디버그 모드로 AUR 패키지의 대기 중인 업데이트 나열: + +`CHECKUPDATES_DEBUG=1 checkupdates-aur` + +- 도움말 표시: + +`checkupdates-aur --help` diff --git a/pages.ko/linux/checkupdates.md b/pages.ko/linux/checkupdates.md new file mode 100644 index 00000000000000..58da25c6113488 --- /dev/null +++ b/pages.ko/linux/checkupdates.md @@ -0,0 +1,20 @@ +# checkupdates + +> Arch Linux에서 보류 중인 업데이트를 확인합니다. +> 더 많은 정보: . + +- 보류 중인 업데이트 나열: + +`checkupdates` + +- 보류 중인 업데이트를 나열하고 패키지를 `pacman` 캐시에 다운로드: + +`checkupdates {{[-d|--download]}}` + +- 특정 `pacman` 데이터베이스를 사용하여 보류 중인 업데이트 나열: + +`CHECKUPDATES_DB={{경로/대상/폴더}} checkupdates` + +- 도움말 표시: + +`checkupdates {{[-h|--help]}}` diff --git a/pages.ko/linux/chfn.md b/pages.ko/linux/chfn.md new file mode 100644 index 00000000000000..a113e876039474 --- /dev/null +++ b/pages.ko/linux/chfn.md @@ -0,0 +1,20 @@ +# chfn + +> 사용자의 `finger` 정보를 업데이트. +> 더 많은 정보: . + +- `finger` 출력에서 사용자의 "이름" 필드를 업데이트: + +`chfn {{[-f|--full-name]}} {{새_표시_이름}} {{사용자명}}` + +- `finger` 출력에서 사용자의 "사무실 방 번호" 필드를 업데이트: + +`chfn {{[-o|--office]}} {{새_사무실_방_번호}} {{사용자명}}` + +- `finger` 출력에서 사용자의 "사무실 전화번호" 필드를 업데이트: + +`chfn {{[-p|--office-phone]}} {{새_사무실_전화번호}} {{사용자명}}` + +- `finger` 출력에서 사용자의 "집 전화번호" 필드를 업데이트: + +`chfn {{[-h|--home-phone]}} {{새_집_전화번호}} {{사용자명}}` diff --git a/pages.ko/linux/chkconfig.md b/pages.ko/linux/chkconfig.md new file mode 100644 index 00000000000000..66e8a660a7ba8e --- /dev/null +++ b/pages.ko/linux/chkconfig.md @@ -0,0 +1,28 @@ +# chkconfig + +> CentOS 6에서 서비스의 실행 레벨을 관리합니다. +> 더 많은 정보: . + +- 서비스와 실행 레벨 나열: + +`chkconfig --list` + +- 특정 서비스의 실행 레벨 표시: + +`chkconfig --list {{ntpd}}` + +- 부팅 시 서비스 활성화: + +`chkconfig {{sshd}} on` + +- 실행 레벨 2, 3, 4, 5에서 부팅 시 서비스 활성화: + +`chkconfig --level {{2345}} {{sshd}} on` + +- 부팅 시 서비스 비활성화: + +`chkconfig {{ntpd}} off` + +- 실행 레벨 3에서 부팅 시 서비스 비활성화: + +`chkconfig --level {{3}} {{ntpd}} off` diff --git a/pages.ko/linux/chntpw.md b/pages.ko/linux/chntpw.md new file mode 100644 index 00000000000000..44642ac5719eb6 --- /dev/null +++ b/pages.ko/linux/chntpw.md @@ -0,0 +1,17 @@ +# chntpw + +> Windows 레지스트리를 편집하고, 사용자 암호를 재설정하며, 사용자를 관리자로 승격할 수 있는 도구입니다. Windows SAM을 수정하여 동작합니다. +> Kali Linux와 같은 라이브 CD로 대상 머신을 부팅하고, 권한 상승 후 실행하십시오. +> 더 많은 정보: . + +- SAM 파일에 있는 모든 사용자 나열: + +`chntpw -l {{경로/대상/sam_파일}}` + +- 사용자와 대화형으로 편집: + +`chntpw -u {{사용자명}} {{경로/대상/sam_파일}}` + +- chntpw를 대화형으로 사용: + +`chntpw -i {{경로/대상/sam_파일}}` diff --git a/pages.ko/linux/choom.md b/pages.ko/linux/choom.md new file mode 100644 index 00000000000000..f31f200ca0799c --- /dev/null +++ b/pages.ko/linux/choom.md @@ -0,0 +1,16 @@ +# choom + +> OOM(Out-Of-Memory) 킬러 점수를 표시하고 변경. +> 더 많은 정보: . + +- 특정 프로세스 ID의 OOM-킬러 점수 표시: + +`choom -p {{프로세스_ID}}` + +- 특정 프로세스의 OOM-킬러 점수 변경: + +`choom -p {{프로세스_ID}} -n {{-1000..+1000}}` + +- 특정 OOM-킬러 점수로 명령 실행: + +`choom -n {{-1000..+1000}} {{명령어}} {{인수1 인수2 ...}}` diff --git a/pages.ko/linux/chpasswd.md b/pages.ko/linux/chpasswd.md new file mode 100644 index 00000000000000..83c8378da70bfc --- /dev/null +++ b/pages.ko/linux/chpasswd.md @@ -0,0 +1,20 @@ +# chpasswd + +> 여러 사용자의 비밀번호를 `stdin`을 통해 변경합니다. +> 더 많은 정보: . + +- 특정 사용자의 비밀번호 변경: + +`printf "{{사용자명}}:{{새_비밀번호}}" | sudo chpasswd` + +- 여러 사용자의 비밀번호 변경 (입력 텍스트에는 공백이 없어야 합니다.): + +`printf "{{사용자명_1}}:{{새_비밀번호_1}}\n{{사용자명_2}}:{{새_비밀번호_2}}" | sudo chpasswd` + +- 특정 사용자의 비밀번호를 암호화된 형태로 변경: + +`printf "{{사용자명}}:{{새_암호화된_비밀번호}}" | sudo chpasswd --encrypted` + +- 특정 사용자의 비밀번호를 변경하고 저장된 비밀번호에 특정 암호화를 사용: + +`printf "{{사용자명}}:{{새_비밀번호}}" | sudo chpasswd --crypt-method {{NONE|DES|MD5|SHA256|SHA512}}` diff --git a/pages.ko/linux/chrt.md b/pages.ko/linux/chrt.md new file mode 100644 index 00000000000000..5ada3fb96b46fa --- /dev/null +++ b/pages.ko/linux/chrt.md @@ -0,0 +1,24 @@ +# chrt + +> 프로세스의 실시간 속성을 조작합니다. +> 더 많은 정보: . + +- 프로세스의 속성 표시: + +`chrt --pid {{PID}}` + +- 프로세스의 모든 스레드 속성 표시: + +`chrt --all-tasks --pid {{PID}}` + +- `chrt`와 함께 사용할 수 있는 최소/최대 우선순위 값 표시: + +`chrt --max` + +- 프로세스의 스케줄링 우선순위 설정: + +`chrt --pid {{우선순위}} {{PID}}` + +- 프로세스의 스케줄링 정책 설정: + +`chrt --{{deadline|idle|batch|rr|fifo|other}} --pid {{우선순위}} {{PID}}` diff --git a/pages.ko/linux/chsh.md b/pages.ko/linux/chsh.md new file mode 100644 index 00000000000000..d242f5a1bf7b0e --- /dev/null +++ b/pages.ko/linux/chsh.md @@ -0,0 +1,17 @@ +# chsh + +> 사용자의 로그인 셸 변경. +> `util-linux`의 일부. +> 더 많은 정보: . + +- 현재 사용자에 대해 특정 로그인 셸을 대화식으로 설정: + +`chsh` + +- 현재 사용자에 대해 특정 로그인 [s]셸 설정: + +`chsh --shell {{경로/대상/셸}}` + +- 특정 사용자에 대해 로그인 [s]셸 설정: + +`sudo chsh --shell {{경로/대상/셸}} {{사용자명}}` diff --git a/pages.ko/linux/cloud-init.md b/pages.ko/linux/cloud-init.md new file mode 100644 index 00000000000000..a22220d7b572ea --- /dev/null +++ b/pages.ko/linux/cloud-init.md @@ -0,0 +1,24 @@ +# cloud-init + +> 클라우드 인스턴스 초기화를 관리하는 명령줄 도구. +> 더 많은 정보: . + +- 가장 최근에 실행된 cloud-init의 상태 표시: + +`cloud-init status` + +- cloud-init 실행이 완료될 때까지 대기 후 상태 보고: + +`cloud-init status --wait` + +- 쿼리할 수 있는 상위 수준 메타데이터 키 목록 표시: + +`cloud-init query --list-keys` + +- 캐시된 인스턴스 메타데이터 쿼리: + +`cloud-init query {{점_구분_변수_경로}}` + +- cloud-init이 다시 실행될 수 있도록 로그 및 아티팩트 정리: + +`cloud-init clean` diff --git a/pages.ko/linux/cmus.md b/pages.ko/linux/cmus.md new file mode 100644 index 00000000000000..9bfe694c7a099b --- /dev/null +++ b/pages.ko/linux/cmus.md @@ -0,0 +1,26 @@ +# cmus + +> 명령줄 음악 플레이어. +> ``로 탐색하고, ``으로 선택하며, 숫자 `<1>`-`<8>`로 다른 보기를 전환합니다. +> 같이 보기: `ncmpcpp`, `clementine`, `qmmp`. +> 더 많은 정보: . + +- 지정된 디렉토리로 cmus 열기 (해당 디렉토리가 새로운 작업 디렉토리가 됩니다): + +`cmus {{경로/대상/폴더}}` + +- 파일/디렉토리를 라이브러리에 추가: + +`<:>add {{경로/대상/파일_또는_폴더}}` + +- 현재 곡 일시정지/재개: + +`` + +- 셔플 모드 켜기/끄기: + +`` + +- cmus 종료: + +`` diff --git a/pages.ko/linux/cockpit-bridge.md b/pages.ko/linux/cockpit-bridge.md new file mode 100644 index 00000000000000..f192c312b6fbf6 --- /dev/null +++ b/pages.ko/linux/cockpit-bridge.md @@ -0,0 +1,12 @@ +# cockpit-bridge + +> Cockpit 스위트에서 프론트 엔드와 서버 간 메시지와 명령을 전달. +> 더 많은 정보: . + +- 모든 cockpit 패키지 나열: + +`cockpit-bridge --packages` + +- 도움말 표시: + +`cockpit-bridge --help` diff --git a/pages.ko/linux/cockpit-desktop.md b/pages.ko/linux/cockpit-desktop.md new file mode 100644 index 00000000000000..1f83769929a6f9 --- /dev/null +++ b/pages.ko/linux/cockpit-desktop.md @@ -0,0 +1,13 @@ +# cockpit-desktop + +> 실행 중인 세션에서 Cockpit 페이지에 안전하게 접근. +> 격리된 네트워크 공간에서 `cockpit-ws` 및 웹 브라우저를 실행하고, 실행 중인 사용자 세션에서 `cockpit-bridge`를 시작합니다. +> 더 많은 정보: . + +- 페이지 열기: + +`cockpit-desktop {{url}} {{SSH_호스트}}` + +- 저장소 페이지 열기: + +`cockpit-desktop {{/cockpit/@localhost/storage/index.html}}` diff --git a/pages.ko/linux/cockpit-tls.md b/pages.ko/linux/cockpit-tls.md new file mode 100644 index 00000000000000..c97648c4650f80 --- /dev/null +++ b/pages.ko/linux/cockpit-tls.md @@ -0,0 +1,12 @@ +# cockpit-tls + +> 클라이언트와 `cockpit-ws` 간의 트래픽을 암호화하기 위한 TLS 종료 HTTP 프록시. +> 더 많은 정보: . + +- 특정 포트로 HTTP 요청을 제공 (기본 포트 `9090` 대신): + +`cockpit-tls --port {{포트}}` + +- 도움말 표시: + +`cockpit-tls --help` diff --git a/pages.ko/linux/cockpit-ws.md b/pages.ko/linux/cockpit-ws.md new file mode 100644 index 00000000000000..d2b17efb7cad24 --- /dev/null +++ b/pages.ko/linux/cockpit-ws.md @@ -0,0 +1,24 @@ +# cockpit-ws + +> 브라우저 애플리케이션과 `cockpit-bridge`와 같은 다양한 구성 도구 및 서비스 간 통신. +> 더 많은 정보: . + +- `127.0.0.1`에서 포트 `22`로 SSH 인증을 통해 시작: + +`cockpit-ws --local-ssh` + +- 특정 포트에서 HTTP 서버 시작: + +`cockpit-ws --port {{포트}}` + +- 특정 IP 주소에 바인딩하여 시작 (기본값은 `0.0.0.0`): + +`cockpit-ws --address {{ip_주소}}` + +- TLS 없이 시작: + +`cockpit-ws --no-tls` + +- 도움말 표시: + +`cockpit-ws --help` diff --git a/pages.ko/linux/cointop.md b/pages.ko/linux/cointop.md new file mode 100644 index 00000000000000..8c1e9fe24e076c --- /dev/null +++ b/pages.ko/linux/cointop.md @@ -0,0 +1,24 @@ +# cointop + +> 터미널에서 암호화폐를 추적하고 모니터링. +> 더 많은 정보: . + +- TUI 열기: + +`cointop` + +- 캐시 지우기: + +`cointop clean` + +- 현재 보유량을 읽기 쉽게 표시: + +`cointop holdings --human` + +- 코인의 가격 확인: + +`cointop price --coins {{코인_이름1,코인_이름2,...}}` + +- 버전 표시: + +`cointop version` diff --git a/pages.ko/linux/collectd.md b/pages.ko/linux/collectd.md new file mode 100644 index 00000000000000..a5d4af3ff8bcda --- /dev/null +++ b/pages.ko/linux/collectd.md @@ -0,0 +1,32 @@ +# collectd + +> 시스템 통계 수집 데몬. +> 더 많은 정보: . + +- 구성 파일을 테스트하고 종료: + +`collectd -t` + +- 플러그인 데이터 수집 기능을 테스트하고 종료: + +`collectd -T` + +- `collectd` 시작: + +`collectd` + +- 사용자 지정 구성 파일 위치 지정: + +`collectd -C {{경로/대상/파일}}` + +- 사용자 지정 PID 파일 위치 지정: + +`collectd -P {{경로/대상/파일}}` + +- 백그라운드로 포크하지 않음: + +`collectd -f` + +- 도움말 및 버전 표시: + +`collectd -h` diff --git a/pages.ko/linux/colrm.md b/pages.ko/linux/colrm.md new file mode 100644 index 00000000000000..7f35aa8440d6e9 --- /dev/null +++ b/pages.ko/linux/colrm.md @@ -0,0 +1,16 @@ +# colrm + +> `stdin`에서 열을 제거합니다. +> 더 많은 정보: . + +- `stdin`의 첫 번째 열 제거: + +`colrm {{1 1}}` + +- 각 줄의 3번째 열부터 끝까지 제거: + +`colrm {{3}}` + +- 각 줄의 3번째 열부터 5번째 열까지 제거: + +`colrm {{3 5}}` diff --git a/pages.ko/linux/column.md b/pages.ko/linux/column.md new file mode 100644 index 00000000000000..2c84b228c009fd --- /dev/null +++ b/pages.ko/linux/column.md @@ -0,0 +1,21 @@ +# column + +> 표준 입력 또는 파일을 여러 열로 포맷 설정. +> 행 앞에 열이 채워짐; 기본 구분 기호는 공백입니다. +> 더 많은 정보: . + +- 30자 폭 디스플레이의 형식 출력으로 포맷 정하기: + +`printf "header1 header2\nbar foo\n" | column {{[-c|--output-width]}} {{30}}` + +- 열 자동 분할 및 자동 정렬을 표 형식으로 분할: + +`printf "header1 header2\nbar foo\n" | column {{[-t|--table]}}` + +- -t 옵션(예: "", CSV)에 대한 열 구분 기호 문자를 지정; 기본값은 공백입니다: + +`printf "header1,header2\nbar,foo\n" | column {{[-t|--table]}} {{[-s|--separator]}} {{,}}` + +- 열을 채우기 전에 행 채우기: + +`printf "header1\nbar\nfoobar\n" | column {{[-c|--output-width]}} {{30}} {{[-x|--fillrows]}}` diff --git a/pages.ko/linux/compose.md b/pages.ko/linux/compose.md new file mode 100644 index 00000000000000..f7319b2f230d7e --- /dev/null +++ b/pages.ko/linux/compose.md @@ -0,0 +1,13 @@ +# compose + +> `run-mailcap`의 동작인 compose에 대한 별칭. +> 원래 `run-mailcap`은 MIME 타입/파일을 처리하는 데 사용됩니다. +> 더 많은 정보: . + +- 기본 mailcap 편집 도구에서 기존 파일이나 새 파일을 작성하는 데 compose 동작 사용: + +`compose {{파일명}}` + +- `run-mailcap` 사용: + +`run-mailcap --action=compose {{파일명}}` diff --git a/pages.ko/linux/compress.md b/pages.ko/linux/compress.md new file mode 100644 index 00000000000000..c9a2e8b3fe7ac6 --- /dev/null +++ b/pages.ko/linux/compress.md @@ -0,0 +1,28 @@ +# compress + +> Unix `compress` 명령어를 사용하여 파일 압축. +> 더 많은 정보: . + +- 특정 파일 압축: + +`compress {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 파일 압축, 존재하지 않는 파일은 무시: + +`compress -f {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 최대 압축 비트 지정 (9-16 비트): + +`compress -b {{비트}}` + +- `stdout`에 기록 (파일은 변경되지 않음): + +`compress -c {{경로/대상/파일}}` + +- 파일 압축 해제 (`uncompress`처럼 동작): + +`compress -d {{경로/대상/파일}}` + +- 압축 비율 표시: + +`compress -v {{경로/대상/파일}}` diff --git a/pages.ko/linux/compseq.md b/pages.ko/linux/compseq.md new file mode 100644 index 00000000000000..85c6f8b6e6e9ec --- /dev/null +++ b/pages.ko/linux/compseq.md @@ -0,0 +1,36 @@ +# compseq + +> 시퀀스 내 고유 단어의 구성을 계산합니다. +> 더 많은 정보: . + +- FASTA [f]파일에서 단어의 관찰 빈도를 계산하고, 대화형 프롬프트로 매개 변수 값을 제공합니다: + +`compseq {{경로/대상/파일.fasta}}` + +- FASTA [f]파일에서 아미노산 쌍의 관찰 빈도를 계산하고, 출력 결과를 텍스트 [f]파일에 저장: + +`compseq {{경로/대상/입력_단백질.fasta}} -word 2 {{경로/대상/출력_파일.comp}}` + +- FASTA [f]파일에서 헥사뉴클레오타이드의 관찰 빈도를 계산하고, 출력 결과를 텍스트 [f]파일에 저장하며, 0의 빈도는 무시: + +`compseq {{경로/대상/입력_DNA.fasta}} -word 6 {{경로/대상/출력_파일.comp}} -nozero` + +- 특정 읽기 프레임에서 코돈의 관찰 빈도를 계산하고, 중복 카운트를 무시 (즉, 단어 길이 3만큼 창을 이동): + +`compseq -sequence {{경로/대상/입력_RNA.fasta}} -word 3 {{경로/대상/출력_파일.comp}} -nozero -frame {{1}}` + +- 3 위치만큼 프레임이 이동된 코돈의 관찰 빈도를 계산하고, 중복 카운트를 무시 (첫 번째 코돈 제외 모든 코돈을 보고해야 함): + +`compseq -sequence {{경로/대상/입력_RNA.fasta}} -word 3 {{경로/대상/출력_파일.comp}} -nozero -frame 3` + +- FASTA [f]파일에서 아미노산 삼중체를 계산하고, 이전에 실행된 `compseq`와 비교하여 예상 및 정규화된 빈도 값을 계산: + +`compseq -sequence {{경로/대상/인간_프로테옴.fasta}} -word 3 {{경로/대상/출력_파일1.comp}} -nozero -infile {{경로/대상/출력_파일2.comp}}` + +- 준비된 파일 없이 위 명령을 근사치로 계산하고, 제공된 입력 시퀀스의 단일 염기/잔기 빈도를 사용하여 예상 빈도를 계산: + +`compseq -sequence {{경로/대상/인간_프로테옴.fasta}} -word 3 {{경로/대상/출력_파일.comp}} -nozero -calcfreq` + +- 도움말 표시 (`-help -verbose`로 관련 및 일반 한정자에 대한 추가 정보 표시): + +`compseq -help` diff --git a/pages.ko/linux/compsize.md b/pages.ko/linux/compsize.md new file mode 100644 index 00000000000000..907dc680cf6333 --- /dev/null +++ b/pages.ko/linux/compsize.md @@ -0,0 +1,17 @@ +# compsize + +> btrfs 파일 시스템에서 파일 집합의 압축 비율을 계산합니다. +> 파일을 다시 압축하기 위해 단편화를 해제하는 방법은 `btrfs filesystem`을 참조하세요. +> 더 많은 정보: . + +- 파일 또는 디렉터리에 대한 현재 압축 비율 계산: + +`sudo compsize {{경로/대상/파일_또는_폴더}}` + +- 파일 시스템 경계를 넘지 않도록 설정: + +`sudo compsize {{[-x|--one-file-system]}} {{경로/대상/파일_또는_폴더}}` + +- 사람이 읽을 수 있는 크기 대신 원시 바이트 수를 표시: + +`sudo compsize {{[-b|--bytes]}} {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/linux/conky.md b/pages.ko/linux/conky.md new file mode 100644 index 00000000000000..7bb296de13a750 --- /dev/null +++ b/pages.ko/linux/conky.md @@ -0,0 +1,28 @@ +# conky + +> X용 경량 시스템 모니터. +> 더 많은 정보: . + +- 기본 내장 설정으로 시작: + +`conky` + +- 새 기본 설정 생성: + +`conky -C > ~/.conkyrc` + +- 지정된 설정 파일로 Conky 시작: + +`conky -c {{경로/대상/설정}}` + +- 백그라운드에서 시작(데몬화): + +`conky -d` + +- 바탕화면에 Conky 정렬: + +`conky -a {{top|bottom|middle}}_{{left|right|middle}}` + +- 시작 시 5초 대기 후 실행: + +`conky -p {{5}}` diff --git a/pages.ko/linux/conntrack.md b/pages.ko/linux/conntrack.md new file mode 100644 index 00000000000000..eb29bdb5f12574 --- /dev/null +++ b/pages.ko/linux/conntrack.md @@ -0,0 +1,25 @@ +# conntrack + +> Netfilter 연결 추적 시스템과 상호작용합니다. +> 연결 흐름을 검색, 나열, 검사, 수정 및 삭제합니다. +> 더 많은 정보: . + +- 현재 추적 중인 모든 연결 나열: + +`conntrack --dump` + +- 연결 변경 사항의 실시간 이벤트 로그 표시: + +`conntrack --event` + +- 연결 변경 사항 및 관련 타임스탬프의 실시간 이벤트 로그 표시: + +`conntrack --event -o timestamp` + +- 특정 IP 주소에 대한 연결 변경 사항의 실시간 이벤트 로그 표시: + +`conntrack --event --orig-src {{IP_주소}}` + +- 특정 소스 IP 주소에 대한 모든 흐름 삭제: + +`conntrack --delete --orig-src {{IP_주소}}` diff --git a/pages.ko/linux/coredumpctl.md b/pages.ko/linux/coredumpctl.md new file mode 100644 index 00000000000000..42601766549422 --- /dev/null +++ b/pages.ko/linux/coredumpctl.md @@ -0,0 +1,24 @@ +# coredumpctl + +> 저장된 코어 덤프와 메타데이터를 검색하고 처리합니다. +> 더 많은 정보: . + +- 캡처된 모든 코어 덤프 나열: + +`coredumpctl list` + +- 특정 프로그램의 캡처된 코어 덤프 나열: + +`coredumpctl list {{프로그램}}` + +- `PID`와 일치하는 프로그램의 코어 덤프 정보 표시: + +`coredumpctl info {{PID}}` + +- 특정 프로그램의 마지막 코어 덤프를 사용하여 디버거 호출: + +`coredumpctl debug {{프로그램}}` + +- 특정 프로그램의 마지막 코어 덤프를 파일로 추출: + +`coredumpctl --output {{경로/대상/파일}} dump {{프로그램}}` diff --git a/pages.ko/linux/cpufreq-aperf.md b/pages.ko/linux/cpufreq-aperf.md new file mode 100644 index 00000000000000..2fb238c3fd5a69 --- /dev/null +++ b/pages.ko/linux/cpufreq-aperf.md @@ -0,0 +1,21 @@ +# cpufreq-aperf + +> 일정 시간 동안 평균 CPU 주파수를 계산합니다. +> 루트 권한이 필요합니다. +> 더 많은 정보: . + +- 모든 CPU 코어와 1초 새로고침 간격으로 계산 시작: + +`sudo cpufreq-aperf` + +- CPU 1만 계산 시작: + +`sudo cpufreq-aperf -c {{1}}` + +- 모든 CPU 코어에 대해 3초 새로고침 간격으로 계산 시작: + +`sudo cpufreq-aperf -i {{3}}` + +- 한 번만 계산: + +`sudo cpufreq-aperf -o` diff --git a/pages.ko/linux/cpufreq-info.md b/pages.ko/linux/cpufreq-info.md new file mode 100644 index 00000000000000..9d92a40b164a7f --- /dev/null +++ b/pages.ko/linux/cpufreq-info.md @@ -0,0 +1,32 @@ +# cpufreq-info + +> CPU 주파수 정보를 표시합니다. +> 더 많은 정보: . + +- 모든 CPU의 주파수 정보 표시: + +`cpufreq-info` + +- 지정된 CPU의 주파수 정보 표시: + +`cpufreq-info -c {{cpu_번호}}` + +- 허용된 최소 및 최대 CPU 주파수 표시: + +`cpufreq-info -l` + +- 현재 최소 및 최대 CPU 주파수와 정책을 표 형식으로 표시: + +`cpufreq-info -o` + +- 사용 가능한 CPU 주파수 정책 표시: + +`cpufreq-info -g` + +- cpufreq 커널 모듈에 따라 사람이 읽을 수 있는 형식으로 현재 CPU 작동 주파수 표시: + +`cpufreq-info -f -m` + +- 하드웨어에서 읽어와 사람이 읽을 수 있는 형식으로 현재 CPU 작동 주파수 표시 (루트 사용자에게만 가능): + +`sudo cpufreq-info -w -m` diff --git a/pages.ko/linux/cpufreq-set.md b/pages.ko/linux/cpufreq-set.md new file mode 100644 index 00000000000000..a64971a6e2d612 --- /dev/null +++ b/pages.ko/linux/cpufreq-set.md @@ -0,0 +1,21 @@ +# cpufreq-set + +> CPU 주파수 설정을 수정하는 도구. +> 주파수 값은 `cpufreq-info -l` 명령의 출력 범위 내에 있어야 합니다. +> 더 많은 정보: . + +- CPU 1의 CPU 주파수 정책을 "userspace"로 설정: + +`sudo cpufreq-set -c {{1}} -g {{userspace}}` + +- CPU 1의 현재 최소 CPU 주파수 설정: + +`sudo cpufreq-set -c {{1}} --min {{최소_주파수}}` + +- CPU 1의 현재 최대 CPU 주파수 설정: + +`sudo cpufreq-set -c {{1}} --max {{최대_주파수}}` + +- CPU 1의 현재 작업 주파수 설정: + +`sudo cpufreq-set -c {{1}} -f {{작업_주파수}}` diff --git a/pages.ko/linux/cpuid.md b/pages.ko/linux/cpuid.md new file mode 100644 index 00000000000000..2d7342fb82c8d5 --- /dev/null +++ b/pages.ko/linux/cpuid.md @@ -0,0 +1,16 @@ +# cpuid + +> 모든 CPU에 대한 자세한 정보 표시. +> 더 많은 정보: . + +- 모든 CPU에 대한 정보 표시: + +`cpuid` + +- 현재 CPU에 대한 정보만 표시: + +`cpuid {{[-1|--one-cpu]}}` + +- 해독 없이 원시 16진수 정보 표시: + +`cpuid {{[-r|--raw]}}` diff --git a/pages.ko/linux/cpulimit.md b/pages.ko/linux/cpulimit.md new file mode 100644 index 00000000000000..2b5c22d8064ca6 --- /dev/null +++ b/pages.ko/linux/cpulimit.md @@ -0,0 +1,28 @@ +# cpulimit + +> 다른 프로세스의 CPU 사용을 제한하는 도구. +> 더 많은 정보: . + +- PID 1234인 기존 프로세스의 CPU 사용을 25%로 제한: + +`cpulimit --pid {{1234}} --limit {{25%}}` + +- 실행 파일 이름으로 기존 프로그램의 CPU 사용 제한: + +`cpulimit --exe {{프로그램}} --limit {{25}}` + +- 주어진 프로그램을 실행하고 CPU 사용을 50%로 제한: + +`cpulimit --limit {{50}} -- {{프로그램 인수1 인수2 ...}}` + +- 프로그램을 실행하고 CPU 사용을 50%로 제한하며 cpulimit을 백그라운드에서 실행: + +`cpulimit --limit {{50}} --background -- {{프로그램}}` + +- 프로그램의 CPU 사용이 50%를 초과하면 프로세스 종료: + +`cpulimit --limit 50 --kill -- {{프로그램}}` + +- 프로그램과 자식 프로세스의 CPU 사용을 각각 25%로 제한: + +`cpulimit --limit {{25}} --monitor-forks -- {{프로그램}}` diff --git a/pages.ko/linux/cpupower.md b/pages.ko/linux/cpupower.md new file mode 100644 index 00000000000000..abe5de3e016e65 --- /dev/null +++ b/pages.ko/linux/cpupower.md @@ -0,0 +1,24 @@ +# cpupower + +> CPU 전력 및 조정 옵션 관련 도구. +> 더 많은 정보: . + +- CPU 목록 나열: + +`sudo cpupower --cpu {{all}} info` + +- 모든 코어에 대한 정보 출력: + +`sudo cpupower --cpu {{all}} info` + +- 모든 CPU를 절전 주파수 관리자로 설정: + +`sudo cpupower --cpu {{all}} frequency-set --governor {{powersave}}` + +- CPU 0의 사용 가능한 주파수 [g]overnor 출력: + +`sudo cpupower --cpu {{0}} frequency-info g | grep "analyzing\|governors"` + +- CPU 4의 하드웨어 주파수를 사람이 읽기 쉬운 형식으로 출력: + +`sudo cpupower --cpu {{4}} frequency-info --hwfreq --human` diff --git a/pages.ko/linux/create_ap.md b/pages.ko/linux/create_ap.md new file mode 100644 index 00000000000000..702b5535032e16 --- /dev/null +++ b/pages.ko/linux/create_ap.md @@ -0,0 +1,32 @@ +# create_ap + +> 모든 채널에서 AP(액세스 포인트)를 생성합니다. +> 더 많은 정보: . + +- 암호 없이 열린 네트워크 생성: + +`create_ap {{wlan0}} {{eth0}} {{액세스_포인트_SSID}}` + +- WPA + WPA2 암호 사용: + +`create_ap {{wlan0}} {{eth0}} {{액세스_포인트_SSID}} {{암호}}` + +- 인터넷 공유 없이 액세스 포인트 생성: + +`create_ap -n {{wlan0}} {{액세스_포인트_SSID}} {{암호}}` + +- 인터넷 공유가 가능한 브리지 네트워크 생성: + +`create_ap -m bridge {{wlan0}} {{eth0}} {{액세스_포인트_SSID}} {{암호}}` + +- 사전 구성된 브리지 인터페이스를 사용하는 인터넷 공유 브리지 네트워크 생성: + +`create_ap -m bridge {{wlan0}} {{br0}} {{액세스_포인트_SSID}} {{암호}}` + +- 동일한 Wi-Fi 인터페이스에서 인터넷 공유를 위한 액세스 포트 생성: + +`create_ap {{wlan0}} {{wlan0}} {{액세스_포인트_SSID}} {{암호}}` + +- 다른 Wi-Fi 어댑터 드라이버 선택: + +`create_ap --driver {{wifi_adapter}} {{wlan0}} {{eth0}} {{액세스_포인트_SSID}} {{암호}}` diff --git a/pages.ko/linux/createrepo.md b/pages.ko/linux/createrepo.md new file mode 100644 index 00000000000000..10d9f13f07ff76 --- /dev/null +++ b/pages.ko/linux/createrepo.md @@ -0,0 +1,16 @@ +# createrepo + +> 디렉터리에 RPM 저장소를 초기화하고 모든 XML 및 SQLite 파일을 포함합니다. +> 더 많은 정보: . + +- 기본 저장소를 디렉터리에서 초기화: + +`createrepo {{경로/대상/폴더}}` + +- 저장소를 초기화하고, 테스트 RPM을 제외하고, 자세한 로그를 표시: + +`createrepo -v -x {{test_*.rpm}} {{경로/대상/폴더}}` + +- SHA1을 체크섬 알고리즘으로 사용하고, 심볼릭 링크를 무시하여 저장소를 초기화: + +`createrepo -S -s {{sha1}} {{경로/대상/폴더}}` diff --git a/pages.ko/linux/cryptcat.md b/pages.ko/linux/cryptcat.md new file mode 100644 index 00000000000000..f682b5d604d984 --- /dev/null +++ b/pages.ko/linux/cryptcat.md @@ -0,0 +1,24 @@ +# cryptcat + +> Cryptcat은 암호화 기능을 갖춘 netcat입니다. +> 더 많은 정보: . + +- 지정된 [p]포트에서 [l]수신하고 받은 데이터를 출력: + +`cryptcat -k {{비밀번호}} -l -p {{포트}}` + +- 특정 포트에 연결: + +`cryptcat -k {{비밀번호}} {{IP_주소}} {{포트}}` + +- 타임아웃([w]) 지정: + +`cryptcat -k {{비밀번호}} -w {{초_단위_타임아웃}} {{IP_주소}} {{포트}}` + +- 지정된 호스트의 열린 포트 [z]스캔: + +`cryptcat -v -z {{IP_주소}} {{포트}}` + +- 프록시로 작동하여 로컬 TCP 포트에서 지정된 원격 호스트로 데이터 전달: + +`cryptcat -k {{비밀번호}} -l -p {{로컬_포트}} | cryptcat -k {{비밀번호}} {{호스트명}} {{원격_포트}}` diff --git a/pages.ko/linux/cryptsetup-luksformat.md b/pages.ko/linux/cryptsetup-luksformat.md new file mode 100644 index 00000000000000..8117fd5312ada2 --- /dev/null +++ b/pages.ko/linux/cryptsetup-luksformat.md @@ -0,0 +1,17 @@ +# cryptsetup luksFormat + +> LUKS 파티션과 초기 키 슬롯(0)을 암호 또는 키파일로 초기화합니다. +> 참고: 이 작업은 파티션의 모든 데이터를 덮어씁니다. +> 더 많은 정보: . + +- 암호로 LUKS 볼륨 초기화: + +`cryptsetup luksFormat {{/dev/sdXY}}` + +- 키파일로 LUKS 볼륨 초기화: + +`cryptsetup luksFormat {{/dev/sdXY}} {{경로/대상/키파일}}` + +- 암호로 LUKS 볼륨 초기화하고 라벨 설정: + +`cryptsetup luksFormat --label {{라벨}} {{/dev/sdXY}}` diff --git a/pages.ko/linux/cryptsetup-open.md b/pages.ko/linux/cryptsetup-open.md new file mode 100644 index 00000000000000..4e43bafbfa13fc --- /dev/null +++ b/pages.ko/linux/cryptsetup-open.md @@ -0,0 +1,26 @@ +# cryptsetup open + +> 암호화된 볼륨의 암호 해독된 매핑 생성. +> 참고: TRIM이 활성화된 경우, 해방된 블록 정보의 형태로 최소한의 데이터 누출이 발생할 수 있으며, 사용 중인 파일 시스템을 파악하는 데 충분할 수 있습니다. +> 그러나 데이터 자체는 여전히 안전하며, TRIM이 없는 SSD는 더 빨리 마모되므로 TRIM을 활성화하는 것이 좋습니다. +> 더 많은 정보: . + +- LUKS 볼륨을 열고 `/dev/mapper/{{매핑_이름}}`에 암호 해독된 매핑 생성: + +`cryptsetup open {{/dev/sdXY}} {{매핑_이름}}` + +- 암호 대신 키 파일 사용: + +`cryptsetup open --key-file {{경로/대상/파일}} {{/dev/sdXY}} {{매핑_이름}}` + +- 장치에서 TRIM 사용 허용: + +`cryptsetup open --allow-discards {{/dev/sdXY}} {{매핑_이름}}` + +- LUKS 헤더에 `--allow-discards` 옵션 기록 (장치를 열 때마다 항상 이 옵션 사용): + +`cryptsetup open --allow-discards --persistent {{/dev/sdXY}} {{매핑_이름}}` + +- LUKS 볼륨을 열고 암호 해독된 매핑을 읽기 전용으로 설정: + +`cryptsetup open --readonly {{/dev/sdXY}} {{매핑_이름}}` diff --git a/pages.ko/linux/cryptsetup.md b/pages.ko/linux/cryptsetup.md new file mode 100644 index 00000000000000..212ba825229215 --- /dev/null +++ b/pages.ko/linux/cryptsetup.md @@ -0,0 +1,25 @@ +# cryptsetup + +> 평문 `dm-crypt` 및 LUKS (Linux Unified Key Setup) 암호화 볼륨을 관리. +> `luksFormat`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 암호를 사용하여 LUKS 볼륨 초기화 (파티션의 모든 데이터를 덮어씁니다): + +`cryptsetup luksFormat {{/dev/sdXY}}` + +- LUKS 볼륨을 열고 `/dev/mapper/mapping_name`에 복호화된 매핑 생성: + +`cryptsetup open {{/dev/sdXY}} {{매핑_이름}}` + +- 매핑에 대한 정보 표시: + +`cryptsetup status {{매핑_이름}}` + +- 기존 매핑 제거: + +`cryptsetup close {{매핑_이름}}` + +- LUKS 볼륨의 암호 변경: + +`cryptsetup luksChangeKey {{/dev/sdXY}}` diff --git a/pages.ko/linux/csplit.md b/pages.ko/linux/csplit.md new file mode 100644 index 00000000000000..62cc8f20eb20fd --- /dev/null +++ b/pages.ko/linux/csplit.md @@ -0,0 +1,25 @@ +# csplit + +> 파일을 여러 조각으로 분할합니다. +> "xx00", "xx01" 등의 이름으로 파일을 생성합니다. +> 더 많은 정보: . + +- 파일을 5번째 및 23번째 줄에서 분할: + +`csplit {{경로/대상/파일}} 5 23` + +- 파일을 5줄마다 분할 (총 줄 수가 5로 나누어 떨어지지 않으면 실패): + +`csplit {{경로/대상/파일}} 5 {*}` + +- 정확한 나누기 오류를 무시하고 파일을 5줄마다 분할: + +`csplit {{[-k|--keep-files]}} {{경로/대상/파일}} 5 {*}` + +- 5번째 줄에서 파일을 분할하고 출력 파일에 사용자 지정 접두사를 사용: + +`csplit {{경로/대상/파일}} 5 {{[-f|--prefix]}} {{접두사}}` + +- 정규 표현식과 일치하는 줄에서 파일을 분할: + +`csplit {{경로/대상/파일}} /{{정규_표현식}}/` diff --git a/pages.ko/linux/ctop.md b/pages.ko/linux/ctop.md new file mode 100644 index 00000000000000..28628614be64d4 --- /dev/null +++ b/pages.ko/linux/ctop.md @@ -0,0 +1,20 @@ +# ctop + +> CPU, 메모리 및 블록 IO 사용에 대한 실시간 메트릭으로 컨테이너 성능 및 상태를 즉시 시각화. +> 더 많은 정보: . + +- [a]활성 컨테이너만 표시: + +`ctop -a` + +- 컨테이너 정렬 순서를 [r]반대로: + +`ctop -r` + +- 기본 색상을 [i]반전: + +`ctop -i` + +- [h]도움말 표시: + +`ctop -h` diff --git a/pages.ko/linux/ctr.md b/pages.ko/linux/ctr.md new file mode 100644 index 00000000000000..04f99f50846cdb --- /dev/null +++ b/pages.ko/linux/ctr.md @@ -0,0 +1,20 @@ +# ctr + +> `containerd` 컨테이너 및 이미지 관리. +> 더 많은 정보: . + +- 모든 컨테이너 나열 (실행 중 및 중지됨): + +`ctr containers list` + +- 모든 이미지 나열: + +`ctr images list` + +- 이미지 다운로드: + +`ctr images pull {{이미지}}` + +- 이미지 태그 지정: + +`ctr images tag {{소스_이미지}}:{{소스_태그}} {{대상_이미지}}:{{대상_태그}}` diff --git a/pages.ko/linux/ctrlaltdel.md b/pages.ko/linux/ctrlaltdel.md new file mode 100644 index 00000000000000..d668ab18fbf9ac --- /dev/null +++ b/pages.ko/linux/ctrlaltdel.md @@ -0,0 +1,16 @@ +# ctrlaltdel + +> CTRL+ALT+DEL 키 조합을 눌렀을 때의 동작을 제어하는 도구. +> 더 많은 정보: . + +- 현재 설정 확인: + +`ctrlaltdel` + +- CTRL+ALT+DEL을 즉시 재부팅하도록 설정 (준비 없이): + +`sudo ctrlaltdel hard` + +- CTRL+ALT+DEL을 "일반적으로" 재부팅하도록 설정, 프로세스 종료 기회를 제공 (PID1에 SIGINT 전송): + +`sudo ctrlaltdel soft` diff --git a/pages.ko/linux/cu.md b/pages.ko/linux/cu.md new file mode 100644 index 00000000000000..0e07ec8fe6618a --- /dev/null +++ b/pages.ko/linux/cu.md @@ -0,0 +1,24 @@ +# cu + +> 다른 시스템에 연결하여 다이얼인/직렬 터미널 역할을 하거나 오류 검사가 없는 파일 전송을 수행합니다. +> 더 많은 정보: . + +- 주어진 직렬 포트 열기: + +`sudo cu {{[-l|--line]}} {{/dev/ttyUSB0}}` + +- 주어진 보율로 주어진 직렬 포트 열기: + +`sudo cu {{[-l|--line]}} {{/dev/ttyUSB0}} {{[-s|--speed]}} {{115200}}` + +- 주어진 보율로 주어진 직렬 포트를 열고 문자를 로컬에서 에코(반이중 모드): + +`sudo cu {{[-l|--line]}} {{/dev/ttyUSB0}} {{[-s|--speed]}} {{115200}} {{[-h|--halfduplex]}}` + +- 주어진 보율, 패리티, 하드웨어 또는 소프트웨어 흐름 제어 없이 주어진 직렬 포트 열기: + +`sudo cu {{[-l|--line]}} {{/dev/ttyUSB0}} {{[-s|--speed]}} {{115200}} --parity={{even|odd|none}} {{[-f|--nortscts]}} --nostop` + +- 연결 중 `cu` 세션 종료: + +`<~><.>` diff --git a/pages.ko/linux/curlie.md b/pages.ko/linux/curlie.md new file mode 100644 index 00000000000000..1784b685285b52 --- /dev/null +++ b/pages.ko/linux/curlie.md @@ -0,0 +1,20 @@ +# curlie + +> `curl`의 프론트엔드로, `httpie`의 사용 편의성을 추가합니다. +> 더 많은 정보: . + +- GET 요청 전송: + +`curlie {{httpbin.org/get}}` + +- POST 요청 전송: + +`curlie post {{httpbin.org/post}} {{name=john}} {{age:=25}}` + +- 쿼리 매개변수를 포함한 GET 요청 전송 (예: `first_param=5&second_param=true`): + +`curlie get {{httpbin.org/get}} {{first_param==5}} {{second_param==true}}` + +- 사용자 정의 헤더와 함께 GET 요청 전송: + +`curlie get {{httpbin.org/get}} {{header-name:header-value}}` diff --git a/pages.ko/linux/cuyo.md b/pages.ko/linux/cuyo.md new file mode 100644 index 00000000000000..1955c226e7e439 --- /dev/null +++ b/pages.ko/linux/cuyo.md @@ -0,0 +1,20 @@ +# cuyo + +> 테트리스와 유사한 게임. +> 더 많은 정보: . + +- 새 게임 시작: + +`cuyo` + +- 조각을 수평으로 이동: + +`{{|||}}` + +- 조각 회전: + +`{{|}}` + +- 조각 빠르게 내리기: + +`{{|}}` diff --git a/pages.ko/linux/daemon.md b/pages.ko/linux/daemon.md new file mode 100644 index 00000000000000..deb3b99ca215da --- /dev/null +++ b/pages.ko/linux/daemon.md @@ -0,0 +1,28 @@ +# daemon + +> 프로세스를 데몬으로 실행. +> 더 많은 정보: . + +- 명령어를 데몬으로 실행: + +`daemon --name="{{이름}}" {{명령어}}` + +- 명령어를 데몬으로 실행하고, 충돌 시 재시작: + +`daemon --name="{{이름}}" --respawn {{명령어}}` + +- 충돌 시 재시작하는 데몬으로 명령어를 실행하며, 10초마다 두 번 시도: + +`daemon --name="{{이름}}" --respawn --attempts=2 --delay=10 {{명령어}}` + +- 로그를 특정 파일에 기록하며 명령어를 데몬으로 실행: + +`daemon --name="{{이름}}" --errlog={{경로/대상/파일.log}} {{명령어}}` + +- 데몬 종료 (SIGTERM): + +`daemon --name="{{이름}}" --stop` + +- 데몬 목록 나열: + +`daemon --list` diff --git a/pages.ko/linux/daemonize.md b/pages.ko/linux/daemonize.md new file mode 100644 index 00000000000000..f87b8325339539 --- /dev/null +++ b/pages.ko/linux/daemonize.md @@ -0,0 +1,20 @@ +# daemonize + +> 유닉스 데몬으로 명령어(자체적으로 데몬화하지 않는)를 실행합니다. +> 더 많은 정보: . + +- 명령어를 데몬으로 실행: + +`daemonize {{명령어}} {{명령어_인자}}` + +- PID를 지정된 파일에 작성: + +`daemonize -p {{경로/대상/PID_파일}} {{명령어}} {{명령어_인자}}` + +- 락 파일을 사용하여 한 번에 하나의 인스턴스만 실행되도록 보장: + +`daemonize -l {{경로/대상/락_파일}} {{명령어}} {{명령어_인자}}` + +- 지정된 사용자 계정을 사용: + +`sudo daemonize -u {{사용자}} {{명령어}} {{명령어_인자}}` diff --git a/pages.ko/linux/datamash.md b/pages.ko/linux/datamash.md new file mode 100644 index 00000000000000..c32f50f2f7fd01 --- /dev/null +++ b/pages.ko/linux/datamash.md @@ -0,0 +1,20 @@ +# datamash + +> 입력 텍스트 데이터 파일에 대해 기본적인 수치, 텍스트 및 통계 작업 수행. +> 더 많은 정보: . + +- 한 열의 숫자에 대한 최대값, 최소값, 평균 및 중앙값 계산: + +`seq 3 | datamash max 1 min 1 mean 1 median 1` + +- 부동 소수점 숫자(소수점은 ","로 표시)를 포함한 한 열의 평균 계산: + +`echo -e '1.0\n2.5\n3.1\n4.3\n5.6\n5.7' | tr '.' ',' | datamash mean 1` + +- 지정된 소수 자릿수로 한 열의 숫자 평균 계산: + +`echo -e '1\n2\n3\n4\n5\n5' | datamash {{[-R|--round]}} {{원하는_소수_자릿수}} mean 1` + +- "Na"와 "NaN"(문자열)을 무시하고 한 열의 숫자 평균 계산: + +`echo -e '1\n2\nNa\n3\nNaN' | datamash --narm mean 1` diff --git a/pages.ko/linux/dbclient.md b/pages.ko/linux/dbclient.md new file mode 100644 index 00000000000000..31c1e6de723bca --- /dev/null +++ b/pages.ko/linux/dbclient.md @@ -0,0 +1,24 @@ +# dbclient + +> 경량 Dropbear 보안 셸 클라이언트. +> 더 많은 정보: . + +- 원격 호스트에 연결: + +`dbclient {{사용자}}@{{호스트}}` + +- [p]포트 2222로 원격 호스트에 연결: + +`dbclient {{사용자}}@{{호스트}} -p 2222` + +- Dropbear 형식의 특정 [i]dentity 키를 사용하여 원격 호스트에 연결: + +`dbclient -i {{경로/대상/키_파일}} {{사용자}}@{{호스트}}` + +- [t]ty 할당으로 원격 명령과 상호작용하며 원격 호스트에서 명령 실행: + +`dbclient {{사용자}}@{{호스트}} -t {{명령}} {{인수1 인수2 ...}}` + +- [A]gent 연결을 원격 호스트로 전달하며 연결: + +`dbclient -A {{사용자}}@{{호스트}}` diff --git a/pages.ko/linux/dbus-daemon.md b/pages.ko/linux/dbus-daemon.md new file mode 100644 index 00000000000000..bb1c3a0cc4ce2b --- /dev/null +++ b/pages.ko/linux/dbus-daemon.md @@ -0,0 +1,28 @@ +# dbus-daemon + +> 여러 프로그램이 메시지를 교환할 수 있도록 하는 D-Bus 메시지 데몬. +> 더 많은 정보: . + +- 구성 파일을 사용하여 데몬 실행: + +`dbus-daemon --config-file {{경로/대상/파일}}` + +- 표준 로그인 세션당 메시지 버스 구성으로 데몬 실행: + +`dbus-daemon --session` + +- 표준 시스템 전체 메시지 버스 구성으로 데몬 실행: + +`dbus-daemon --system` + +- 수신할 주소 설정 및 해당 구성 값 재정의: + +`dbus-daemon --address {{주소}}` + +- 프로세스 ID를 `stdout`에 출력: + +`dbus-daemon --print-pid` + +- 메시지를 시스템 로그에 기록하도록 메시지 버스를 강제 설정: + +`dbus-daemon --syslog` diff --git a/pages.ko/linux/dconf-read.md b/pages.ko/linux/dconf-read.md new file mode 100644 index 00000000000000..145b5fa94cf429 --- /dev/null +++ b/pages.ko/linux/dconf-read.md @@ -0,0 +1,13 @@ +# dconf read + +> dconf 데이터베이스에서 키 값을 읽습니다. +> 같이 보기: `dconf`. +> 더 많은 정보: . + +- 특정 키 값을 출력: + +`dconf read {{/경로/대상/키}}` + +- 특정 키의 [d]기본 값을 출력: + +`dconf read -d {{/경로/대상/키}}` diff --git a/pages.ko/linux/dconf-reset.md b/pages.ko/linux/dconf-reset.md new file mode 100644 index 00000000000000..8e32e63593552e --- /dev/null +++ b/pages.ko/linux/dconf-reset.md @@ -0,0 +1,13 @@ +# dconf reset + +> dconf 데이터베이스에서 키 값을 재설정. +> 같이 보기: `dconf`. +> 더 많은 정보: . + +- 특정 키 값을 재설정: + +`dconf reset {{/경로/대상/키}}` + +- 특정 디렉터리를 재설정: + +`dconf reset -f {{/경로/대상/폴더/}}` diff --git a/pages.ko/linux/dconf-write.md b/pages.ko/linux/dconf-write.md new file mode 100644 index 00000000000000..2cabfdee8fdf78 --- /dev/null +++ b/pages.ko/linux/dconf-write.md @@ -0,0 +1,29 @@ +# dconf write + +> dconf 데이터베이스에 키 값을 작성합니다. +> 같이 보기: `dconf`. +> 더 많은 정보: . + +- 특정 키 값 작성: + +`dconf write {{/경로/대상/키}} "{{값}}"` + +- 특정 문자열 키 값 작성: + +`dconf write {{/경로/대상/키}} "'{{문자열}}'"` + +- 특정 정수 키 값 작성: + +`dconf write {{/경로/대상/키}} "{{5}}"` + +- 특정 불리언 키 값 작성: + +`dconf write {{/경로/대상/키}} "{{true|false}}"` + +- 특정 배열 키 값 작성: + +`dconf write {{/경로/대상/키}} "[{{'첫번째', '두번째', ...}}]"` + +- 특정 빈 배열 키 값 작성: + +`dconf write {{/경로/대상/키}} "@as []"` diff --git a/pages.ko/linux/dconf.md b/pages.ko/linux/dconf.md new file mode 100644 index 00000000000000..ca04e1c8c2165d --- /dev/null +++ b/pages.ko/linux/dconf.md @@ -0,0 +1,29 @@ +# dconf + +> dconf 데이터베이스 관리. +> 같이 보기: `dconf-read`, `dconf-reset`, `dconf-write`, `gsettings`. +> 더 많은 정보: . + +- 특정 키 값을 출력: + +`dconf read {{/경로/대상/키}}` + +- 특정 경로의 하위 디렉토리 및 하위 키를 출력: + +`dconf list {{/경로/대상/폴더/}}` + +- 특정 키 값 쓰기: + +`dconf write {{/경로/대상/키}} "{{값}}"` + +- 특정 키 값 초기화: + +`dconf reset {{/경로/대상/키}}` + +- 특정 키/디렉토리의 변경 사항 감시: + +`dconf watch {{/경로/대상/키|/경로/대상/폴더/}}` + +- 특정 디렉토리를 INI 파일 형식으로 덤프: + +`dconf dump {{/경로/대상/폴더/}}` diff --git a/pages.ko/linux/dd.md b/pages.ko/linux/dd.md new file mode 100644 index 00000000000000..937a23cce945f9 --- /dev/null +++ b/pages.ko/linux/dd.md @@ -0,0 +1,28 @@ +# dd + +> 파일 변환 및 복사. +> 더 많은 정보: . + +- isohybrid 파일(예: `archlinux-xxx.iso`)에서 부팅 가능한 USB 드라이브를 만들고 진행 상황 표시: + +`dd if={{경로/대상/파일.iso}} of={{/dev/usb_drive}} status=progress` + +- 4 MiB 블록이 있는 다른 드라이브에 드라이브를 복제하고, 오류를 무시하고 진행 상황을 표시: + +`dd bs=4M conv=noerror if={{/dev/소스_드라이브}} of={{/dev/목적지_드라이브}} status=progress` + +- 커널 랜덤 드라이버를 사용하여, 특정 수의 임의 바이트 크기를 가지는 파일 생성: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{경로/대상/랜덤_파일}}` + +- 디스크의 쓰기 성능 벤치마크: + +`dd bs={{1M}} count={{1024}} if=/dev/zero of={{경로/대상/1GB_파일}}` + +- IMG 파일로 시스템 백업을 생성하고 진행 상황 표시: + +`dd if={{/dev/드라이브_장치}} of={{경로/대상/파일.img}} status=progress` + +- 진행 중인 `dd` 작업의 진행 상황을 확인 (다른 셸에서 이 명령어 실행): + +`kill -USR1 $(pgrep -x dd)` diff --git a/pages.ko/linux/ddcutil.md b/pages.ko/linux/ddcutil.md new file mode 100644 index 00000000000000..0f78449580df23 --- /dev/null +++ b/pages.ko/linux/ddcutil.md @@ -0,0 +1,21 @@ +# ddcutil + +> DDC/CI를 통해 연결된 디스플레이의 설정을 제어합니다. +> 이 명령은 `i2c-dev` 커널 모듈이 로드되어 있어야 합니다. 같이 보기: `modprobe`. +> 더 많은 정보: . + +- 호환 가능한 모든 디스플레이 나열: + +`ddcutil detect` + +- 디스플레이 1의 밝기(옵션 0x10)를 50%로 변경: + +`ddcutil --display {{1}} setvcp {{10}} {{50}}` + +- 디스플레이 1의 대비(옵션 0x12)를 5% 증가: + +`ddcutil -d {{1}} setvcp {{12}} {{+}} {{5}}` + +- 디스플레이 1의 설정 읽기: + +`ddcutil -d {{1}} getvcp {{ALL}}` diff --git a/pages.ko/linux/ddrescue.md b/pages.ko/linux/ddrescue.md new file mode 100644 index 00000000000000..335b83f62703f7 --- /dev/null +++ b/pages.ko/linux/ddrescue.md @@ -0,0 +1,12 @@ +# ddrescue + +> 손상된 블록 장치에서 데이터를 읽는 데이터 복구 도구. +> 더 많은 정보: . + +- 장치의 이미지를 생성하고 로그 파일 생성: + +`sudo ddrescue {{/dev/sdb}} {{경로/대상/이미지.dd}} {{경로/대상/로그.txt}}` + +- 디스크 A를 디스크 B로 클론하고 로그 파일 생성: + +`sudo ddrescue {{[-f|--force]}} {{[-n|--no-scrape]}} {{/dev/sdX}} {{/dev/sdY}} {{경로/대상/로그.txt}}` diff --git a/pages.ko/linux/deb-get.md b/pages.ko/linux/deb-get.md new file mode 100644 index 00000000000000..9d9b2dd1703bb1 --- /dev/null +++ b/pages.ko/linux/deb-get.md @@ -0,0 +1,33 @@ +# deb-get + +> 타사 저장소 또는 직접 다운로드를 통해 배포된 `.deb` 패키지에 대한 `apt-get` 기능. +> `apt-get`을 사용하는 Linux 배포판과 함께 작동합니다. +> 더 많은 정보: . + +- 사용 가능한 패키지 및 버전 목록 업데이트: + +`deb-get update` + +- 특정 패키지 검색: + +`deb-get search {{패키지}}` + +- 패키지 정보 표시: + +`deb-get show {{패키지}}` + +- 패키지 설치 또는 최신 버전으로 업데이트: + +`deb-get install {{패키지}}` + +- 패키지 제거 (`purge`를 사용하면 구성 파일도 제거): + +`deb-get remove {{패키지}}` + +- 설치된 모든 패키지를 최신 버전으로 업그레이드: + +`deb-get upgrade` + +- 사용 가능한 모든 패키지 나열: + +`deb-get list` diff --git a/pages.ko/linux/debchange.md b/pages.ko/linux/debchange.md new file mode 100644 index 00000000000000..c6bd0a2d9a83c4 --- /dev/null +++ b/pages.ko/linux/debchange.md @@ -0,0 +1,16 @@ +# debchange + +> Debian 소스 패키지의 debian/changelog 파일을 관리합니다. +> 더 많은 정보: . + +- 비관리자 업로드를 위한 새 버전을 변경 로그에 추가: + +`debchange --nmu` + +- 현재 버전에 변경 로그 항목 추가: + +`debchange --append` + +- 지정된 ID의 버그를 종료하는 변경 로그 항목 추가: + +`debchange --closes {{버그_ID}}` diff --git a/pages.ko/linux/debman.md b/pages.ko/linux/debman.md new file mode 100644 index 00000000000000..165fd40b4d5a1f --- /dev/null +++ b/pages.ko/linux/debman.md @@ -0,0 +1,16 @@ +# debman + +> 설치되지 않은 패키지에서 매뉴얼 페이지를 읽습니다. +> 더 많은 정보: . + +- 지정된 패키지가 제공하는 명령어에 대한 매뉴얼 페이지 읽기: + +`debman -p {{패키지}} {{명령어}}` + +- 다운로드할 패키지 버전 지정: + +`debman -p {{패키지}}={{버전}} {{명령어}}` + +- `.deb` 파일에서 매뉴얼 페이지 읽기: + +`debman -f {{경로/대상/파일명.deb}} {{명령어}}` diff --git a/pages.ko/linux/debootstrap.md b/pages.ko/linux/debootstrap.md new file mode 100644 index 00000000000000..9176996a91aa3e --- /dev/null +++ b/pages.ko/linux/debootstrap.md @@ -0,0 +1,24 @@ +# debootstrap + +> 기본 Debian 시스템 생성. +> 더 많은 정보: . + +- `debian-root` 디렉터리 내에 Debian 안정 버전 시스템 생성: + +`sudo debootstrap stable {{경로/대상/debian-root/}} http://deb.debian.org/debian` + +- 필수 패키지만 포함하는 최소 시스템 생성: + +`sudo debootstrap --variant=minbase stable {{경로/대상/debian-root/}}` + +- 로컬 미러를 사용하여 `focal-root` 디렉터리 내에 Ubuntu 20.04 시스템 생성: + +`sudo debootstrap focal {{경로/대상/focal-root/}} {{file:///경로/대상/미러/}}` + +- 부트스트랩된 시스템으로 전환: + +`sudo chroot {{경로/대상/root}}` + +- 사용 가능한 릴리스 나열: + +`ls /usr/share/debootstrap/scripts/` diff --git a/pages.ko/linux/deborphan.md b/pages.ko/linux/deborphan.md new file mode 100644 index 00000000000000..95ccccdb175a6e --- /dev/null +++ b/pages.ko/linux/deborphan.md @@ -0,0 +1,16 @@ +# deborphan + +> APT 패키지 관리자를 사용하는 운영 체제에서 고아 패키지를 표시합니다. +> 더 많은 정보: . + +- 다른 패키지에서 필요로 하지 않는 라이브러리 패키지("libs" 섹션에서) 표시: + +`deborphan` + +- "libs" 섹션의 고아 패키지와 라이브러리 이름처럼 보이는 이름을 가진 고아 패키지 나열: + +`deborphan --guess-all` + +- 다른 패키지에서 추천하거나 제안하지만 필수는 아닌 패키지 찾기: + +`deborphan --nice-mode` diff --git a/pages.ko/linux/debsecan.md b/pages.ko/linux/debsecan.md new file mode 100644 index 00000000000000..27e60c986bceeb --- /dev/null +++ b/pages.ko/linux/debsecan.md @@ -0,0 +1,24 @@ +# debsecan + +> Debian 보안 분석기, 특정 Debian 설치에서 취약점을 나열하는 도구. +> 더 많은 정보: . + +- 현재 호스트에서 취약한 설치 패키지 나열: + +`debsecan` + +- 특정 스위트의 취약한 설치 패키지 나열: + +`debsecan --suite {{릴리스_코드_이름}}` + +- 수정된 취약점만 나열: + +`debsecan --suite {{릴리스_코드_이름}} --only-fixed` + +- 불안정("sid") 버전의 수정된 취약점만 나열하고 루트로 메일 발송: + +`debsecan --suite {{sid}} --only-fixed --format {{report}} --mailto {{root}} --update-history` + +- 취약한 설치 패키지 업그레이드: + +`sudo apt upgrade $(debsecan --only-fixed --format {{packages}})` diff --git a/pages.ko/linux/debtap.md b/pages.ko/linux/debtap.md new file mode 100644 index 00000000000000..facec3ae48f084 --- /dev/null +++ b/pages.ko/linux/debtap.md @@ -0,0 +1,21 @@ +# debtap + +> Debian 패키지를 Arch Linux 패키지로 변환합니다. +> 같이 보기: `pacman-upgrade`. +> 더 많은 정보: . + +- debtap 데이터베이스 업데이트 (최초 실행 전): + +`sudo debtap --update` + +- 지정된 패키지 변환: + +`debtap {{경로/대상/패키지.deb}}` + +- 메타데이터 파일 편집을 제외한 모든 질문을 건너뛰고 지정된 패키지 변환: + +`debtap --quiet {{경로/대상/패키지.deb}}` + +- PKGBUILD 파일 생성: + +`debtap --pkgbuild {{경로/대상/패키지.deb}}` diff --git a/pages.ko/linux/debugfs.md b/pages.ko/linux/debugfs.md new file mode 100644 index 00000000000000..c0cb1efabd75da --- /dev/null +++ b/pages.ko/linux/debugfs.md @@ -0,0 +1,28 @@ +# debugfs + +> 대화형 ext2/ext3/ext4 파일 시스템 디버거. +> 더 많은 정보: . + +- 파일 시스템을 읽기 전용 모드로 열기: + +`debugfs {{/dev/sdXN}}` + +- 파일 시스템을 읽기/쓰기 모드로 열기: + +`debugfs -w {{/dev/sdXN}}` + +- 지정된 파일에서 명령을 읽어 실행하고 종료: + +`debugfs -f {{경로/대상/명령_파일}} {{/dev/sdXN}}` + +- debugfs 콘솔에서 파일 시스템 통계 보기: + +`stats` + +- 파일 시스템 닫기: + +`close -a` + +- 사용 가능한 모든 명령 나열: + +`lr` diff --git a/pages.ko/linux/debuginfod-find.md b/pages.ko/linux/debuginfod-find.md new file mode 100644 index 00000000000000..7075e8bff70fee --- /dev/null +++ b/pages.ko/linux/debuginfod-find.md @@ -0,0 +1,8 @@ +# debuginfod-find + +> 디버그 정보 관련 데이터를 요청합니다. +> 더 많은 정보: . + +- `build_id`를 기반으로 데이터 요청: + +`debuginfod-find -vv debuginfo {{빌드_ID}}` diff --git a/pages.ko/linux/debuild.md b/pages.ko/linux/debuild.md new file mode 100644 index 00000000000000..fecbe4e146ace9 --- /dev/null +++ b/pages.ko/linux/debuild.md @@ -0,0 +1,16 @@ +# debuild + +> 소스에서 Debian 패키지를 빌드합니다. +> 더 많은 정보: . + +- 현재 디렉토리에서 패키지 빌드: + +`debuild` + +- 바이너리 패키지만 빌드: + +`debuild -b` + +- 패키지 빌드 후 lintian을 실행하지 않음: + +`debuild --no-lintian` diff --git a/pages.ko/linux/delpart.md b/pages.ko/linux/delpart.md new file mode 100644 index 00000000000000..97bcad6c1f9b31 --- /dev/null +++ b/pages.ko/linux/delpart.md @@ -0,0 +1,8 @@ +# delpart + +> Linux 커널에게 파티션을 잊도록 요청합니다. +> 더 많은 정보: . + +- 커널에게 `/dev/sda`의 첫 번째 파티션을 잊도록 요청: + +`sudo delpart {{/dev/sda}} {{1}}` diff --git a/pages.ko/linux/deluser.md b/pages.ko/linux/deluser.md new file mode 100644 index 00000000000000..75ce5cb26770e7 --- /dev/null +++ b/pages.ko/linux/deluser.md @@ -0,0 +1,16 @@ +# deluser + +> 유저 계정 제거 또는 그룹으로부터 사용자 제거. +> 더 많은 정보: . + +- 유저 삭제: + +`deluser {{이름}}` + +- 사용자의 홈 디렉토리 및 메일 스풀과 함께 사용자 제거: + +`deluser -r {{이름}}` + +- 그룹으로부터 사용자 제거: + +`deluser {{이름}} {{그룹}}` diff --git a/pages.ko/linux/dex.md b/pages.ko/linux/dex.md new file mode 100644 index 00000000000000..095ab805cacfea --- /dev/null +++ b/pages.ko/linux/dex.md @@ -0,0 +1,32 @@ +# dex + +> DesktopEntry Execution은 응용 프로그램 유형의 DesktopEntry 파일을 생성하고 실행하는 프로그램입니다. +> 더 많은 정보: . + +- 자동 시작 폴더의 모든 프로그램 실행: + +`dex --autostart` + +- 지정된 폴더의 모든 프로그램 실행: + +`dex --autostart --search-paths {{경로/대상/폴더1}}:{{경로/대상/폴더2}}:{{경로/대상/폴더3}}:` + +- GNOME 특정 자동 시작에서 실행될 프로그램 미리보기: + +`dex --autostart --environment {{GNOME}}` + +- 일반 자동 시작에서 실행될 프로그램 미리보기: + +`dex --autostart --dry-run` + +- DesktopEntry 속성 `Name`의 값 미리보기: + +`dex --property {{Name}} {{경로/대상/파일.desktop}}` + +- 현재 디렉토리에서 프로그램에 대한 DesktopEntry 생성: + +`dex --create {{경로/대상/파일.desktop}}` + +- 주어진 터미널에서 단일 프로그램 실행 (`Terminal=true`가 데스크탑 파일에 있는 경우): + +`dex --term {{터미널}} {{경로/대상/파일.desktop}}` diff --git a/pages.ko/linux/df.md b/pages.ko/linux/df.md new file mode 100644 index 00000000000000..7a88f5c3499906 --- /dev/null +++ b/pages.ko/linux/df.md @@ -0,0 +1,28 @@ +# df + +> 파일 시스템 디스크 공간 사용 개요를 표시합니다. +> 더 많은 정보: . + +- 모든 파일 시스템과 디스크 사용량 표시: + +`df` + +- 모든 파일 시스템과 디스크 사용량을 사람이 읽기 쉬운 형식으로 표시: + +`df {{[-h|--human-readable]}}` + +- 주어진 파일 또는 디렉토리를 포함하는 파일 시스템과 디스크 사용량 표시: + +`df {{경로/대상/파일_또는_폴더}}` + +- 사용 가능한 inode 수에 대한 통계 포함: + +`df {{[-i|--inodes]}}` + +- 특정 유형을 제외한 파일 시스템 표시: + +`df {{[-x|--exclude-type]}} {{squashfs}} {{[-x|--exclude-type]}} {{tmpfs}}` + +- 파일 시스템 유형 표시: + +`df {{[-T|--print-type]}}` diff --git a/pages.ko/linux/dget.md b/pages.ko/linux/dget.md new file mode 100644 index 00000000000000..d322857eea1bf5 --- /dev/null +++ b/pages.ko/linux/dget.md @@ -0,0 +1,16 @@ +# dget + +> Debian 패키지 다운로드. +> 더 많은 정보: . + +- 바이너리 패키지 다운로드: + +`dget {{패키지}}` + +- `.dsc` 파일에서 패키지 소스를 다운로드하고 추출: + +`dget {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}` + +- `.dsc` 파일에서 패키지 소스 tarball을 다운로드하지만 추출하지 않음: + +`dget -d {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}` diff --git a/pages.ko/linux/dhcpcd.md b/pages.ko/linux/dhcpcd.md new file mode 100644 index 00000000000000..33f2057e8d836c --- /dev/null +++ b/pages.ko/linux/dhcpcd.md @@ -0,0 +1,12 @@ +# dhcpcd + +> DHCP 클라이언트. +> 더 많은 정보: . + +- 모든 주소 임대 해제: + +`sudo dhcpcd {{[-k|--release]}}` + +- DHCP 서버에 새 임대 요청: + +`sudo dhcpcd {{[-n|--rebind]}}` diff --git a/pages.ko/linux/diff3.md b/pages.ko/linux/diff3.md new file mode 100644 index 00000000000000..68cdd271dc504c --- /dev/null +++ b/pages.ko/linux/diff3.md @@ -0,0 +1,12 @@ +# diff3 + +> 세 개의 파일을 줄 단위로 비교합니다. +> 더 많은 정보: . + +- 파일 비교: + +`diff3 {{경로/대상/파일1}} {{경로/대상/파일2}} {{경로/대상/파일3}}` + +- 충돌을 강조하여 모든 변경 사항 표시: + +`diff3 --show-all {{경로/대상/파일1}} {{경로/대상/파일2}} {{경로/대상/파일3}}` diff --git a/pages.ko/linux/diffimg.md b/pages.ko/linux/diffimg.md new file mode 100644 index 00000000000000..abd9da1596aba6 --- /dev/null +++ b/pages.ko/linux/diffimg.md @@ -0,0 +1,9 @@ +# diffimg + +> 두 이미지 간의 교차점을 계산합니다. +> 참고: 지원되는 확장자는 `.png`, `.gif`, `.jpg`, `.ps`입니다. +> 더 많은 정보: . + +- 입력 이미지 간의 교차점을 계산하고, 각 픽셀이 입력 이미지의 해당 픽셀 간 차이를 나타내는 이미지를 출력: + +`diffimg {{경로/대상/입력_이미지1.ext}} {{경로/대상/입력_이미지2.ext}} {{경로/대상/출력_이미지.ext}}` diff --git a/pages.ko/linux/dir.md b/pages.ko/linux/dir.md new file mode 100644 index 00000000000000..32e1926564d043 --- /dev/null +++ b/pages.ko/linux/dir.md @@ -0,0 +1,25 @@ +# dir + +> 한 줄에 하나의 파일씩 디렉토리 내용을 나열하며, 특수 문자는 백슬래시 이스케이프 시퀀스로 표시됩니다. +> `ls -C --escape`와 같이 작동합니다. +> 더 많은 정보: . + +- 숨김 파일을 포함한 모든 파일 나열: + +`dir {{[-a|--all]}}` + +- 파일 작성자 정보를 포함하여 나열 (`-l` 필요): + +`dir -l --author` + +- 지정된 블롭 패턴과 일치하는 파일을 제외하고 나열: + +`dir --hide {{패턴}}` + +- 하위 디렉토리를 재귀적으로 나열: + +`dir {{[-R|--recursive]}}` + +- 도움말 표시: + +`dir --help` diff --git a/pages.ko/linux/dirb.md b/pages.ko/linux/dirb.md new file mode 100644 index 00000000000000..8bec37de03dc93 --- /dev/null +++ b/pages.ko/linux/dirb.md @@ -0,0 +1,20 @@ +# dirb + +> HTTP 기반 웹 서버의 디렉토리와 파일을 스캔합니다. +> 더 많은 정보: . + +- 기본 단어 목록을 사용하여 웹 서버 스캔: + +`dirb {{https://example.org}}` + +- 사용자 정의 단어 목록을 사용하여 웹 서버 스캔: + +`dirb {{https://example.org}} {{경로/대상/단어목록.txt}}` + +- 비재귀적으로 웹 서버 스캔: + +`dirb {{https://example.org}} -r` + +- 지정된 사용자 에이전트와 쿠키를 사용하여 웹 서버 스캔: + +`dirb {{https://example.org}} -a {{사용자_에이전트_스트링}} -c {{쿠키_스트링}}` diff --git a/pages.ko/linux/dirbuster.md b/pages.ko/linux/dirbuster.md new file mode 100644 index 00000000000000..76ee0d32325c3f --- /dev/null +++ b/pages.ko/linux/dirbuster.md @@ -0,0 +1,24 @@ +# dirbuster + +> 서버에서 디렉터리와 파일명을 무차별 대입으로 찾기. +> 더 많은 정보: . + +- GUI 모드로 시작: + +`dirbuster -u {{http://example.com}}` + +- 헤드리스(무 GUI) 모드로 시작: + +`dirbuster -H -u {{http://example.com}}` + +- 파일 확장자 목록 설정: + +`dirbuster -e {{txt,html}}` + +- 자세한 출력 활성화: + +`dirbuster -v` + +- 보고서 위치 설정: + +`dirbuster -r {{경로/대상/보고서.txt}}` diff --git a/pages.ko/linux/distrobox-create.md b/pages.ko/linux/distrobox-create.md new file mode 100644 index 00000000000000..5ae62fa46a8246 --- /dev/null +++ b/pages.ko/linux/distrobox-create.md @@ -0,0 +1,13 @@ +# distrobox-create + +> Distrobox 컨테이너 생성. 같이 보기: `tldr distrobox`. +> 생성된 컨테이너는 호스트와 밀접하게 통합되어 사용자의 HOME 디렉토리, 외부 저장소, 외부 USB 장치, 그래픽 애플리케이션(X11/Wayland), 오디오를 공유할 수 있습니다. +> 더 많은 정보: . + +- Ubuntu 이미지로 Distrobox 컨테이너 생성: + +`distrobox-create {{컨테이너_이름}} --image {{ubuntu:latest}}` + +- Distrobox 컨테이너 복제: + +`distrobox-create --clone {{컨테이너_이름}} {{복제된_컨테이너_이름}}` diff --git a/pages.ko/linux/distrobox-enter.md b/pages.ko/linux/distrobox-enter.md new file mode 100644 index 00000000000000..ced27fda4a1499 --- /dev/null +++ b/pages.ko/linux/distrobox-enter.md @@ -0,0 +1,17 @@ +# distrobox-enter + +> Distrobox 컨테이너에 진입합니다. 같이 보기: `tldr distrobox`. +> 기본 실행 명령어는 사용자의 SHELL이지만, 다른 셸 또는 전체 명령어를 지정하여 실행할 수 있습니다. 스크립트, 애플리케이션 또는 서비스 내에서 사용 시, `--headless` 모드를 사용하여 tty 및 상호작용을 비활성화할 수 있습니다. +> 더 많은 정보: . + +- Distrobox 컨테이너에 진입: + +`distrobox-enter {{컨테이너_이름}}` + +- Distrobox 컨테이너에 진입하고 로그인 시 명령어 실행: + +`distrobox-enter {{컨테이너_이름}} -- {{sh -l}}` + +- tty를 인스턴스화하지 않고 Distrobox 컨테이너에 진입: + +`distrobox-enter --name {{컨테이너_이름}} -- {{uptime -p}}` diff --git a/pages.ko/linux/distrobox-export.md b/pages.ko/linux/distrobox-export.md new file mode 100644 index 00000000000000..33319651d1b532 --- /dev/null +++ b/pages.ko/linux/distrobox-export.md @@ -0,0 +1,24 @@ +# distrobox-export + +> 컨테이너에서 호스트 OS로 앱/서비스/바이너리를 내보냅니다. 같이 보기: `tldr distrobox`. +> 더 많은 정보: . + +- 컨테이너에서 호스트로 앱 내보내기 (데스크톱 항목/아이콘이 호스트 시스템의 응용 프로그램 목록에 나타납니다): + +`distrobox-export --app {{패키지}} --extra-flags "--foreground"` + +- 컨테이너에서 호스트로 바이너리 내보내기: + +`distrobox-export --bin {{경로/대상/바이너리}} --export-path {{경로/대상/호스트_바이너리}}` + +- 컨테이너에서 호스트로 바이너리 내보내기 (예: `$HOME/.local/bin`): + +`distrobox-export --bin {{경로/대상/바이너리}} --export-path {{경로/대상/내보내기}}` + +- 컨테이너에서 호스트로 서비스 내보내기 (`--sudo`는 해당 서비스를 컨테이너 내에서 루트 권한으로 실행): + +`distrobox-export --service {{패키지}} --extra-flags "--allow-newer-config" --sudo` + +- 내보낸 응용 프로그램 제거/삭제: + +`distrobox-export --app {{패키지}} --delete` diff --git a/pages.ko/linux/distrobox-host-exec.md b/pages.ko/linux/distrobox-host-exec.md new file mode 100644 index 00000000000000..19cdb8200f3ec0 --- /dev/null +++ b/pages.ko/linux/distrobox-host-exec.md @@ -0,0 +1,12 @@ +# distrobox-host-exec + +> Distrobox 컨테이너 내부에서 호스트의 명령을 실행합니다. 같이 보기: `tldr distrobox`. +> 더 많은 정보: . + +- Distrobox 컨테이너 내부에서 호스트 시스템의 명령 실행: + +`distrobox-host-exec "{{명령}}"` + +- 컨테이너 내부에서 호스트 시스템의 `ls` 명령 실행: + +`distrobox-host-exec ls` diff --git a/pages.ko/linux/distrobox-list.md b/pages.ko/linux/distrobox-list.md new file mode 100644 index 00000000000000..13e6dcb7e2e74f --- /dev/null +++ b/pages.ko/linux/distrobox-list.md @@ -0,0 +1,13 @@ +# distrobox-list + +> 모든 Distrobox 컨테이너 나열. 같이 보기: `tldr distrobox`. +> Distrobox 컨테이너는 일반 Podman 또는 Docker 컨테이너와 별도로 나열됩니다. +> 더 많은 정보: . + +- 모든 Distrobox 컨테이너 나열: + +`distrobox-list` + +- 자세한 정보를 포함하여 모든 Distrobox 컨테이너 나열: + +`distrobox-list --verbose` diff --git a/pages.ko/linux/distrobox-rm.md b/pages.ko/linux/distrobox-rm.md new file mode 100644 index 00000000000000..544ca33a3841fe --- /dev/null +++ b/pages.ko/linux/distrobox-rm.md @@ -0,0 +1,12 @@ +# distrobox-rm + +> Distrobox 컨테이너 제거. 같이 보기: `tldr distrobox`. +> 더 많은 정보: . + +- Distrobox 컨테이너 제거 (팁: 제거하기 전에 컨테이너를 중지하세요): + +`distrobox-rm {{컨테이너_이름}}` + +- Distrobox 컨테이너 강제 제거: + +`distrobox-rm {{컨테이너_이름}} --force` diff --git a/pages.ko/linux/distrobox-stop.md b/pages.ko/linux/distrobox-stop.md new file mode 100644 index 00000000000000..6bd741e38adc92 --- /dev/null +++ b/pages.ko/linux/distrobox-stop.md @@ -0,0 +1,12 @@ +# distrobox-stop + +> Distrobox 컨테이너 중지. 같이 보기: `tldr distrobox`. +> 더 많은 정보: . + +- Distrobox 컨테이너 중지: + +`distrobox-stop {{컨테이너_이름}}` + +- 확인 없이 비대화형으로 Distrobox 컨테이너 중지: + +`distrobox-stop --name {{컨테이너_이름}} --yes` diff --git a/pages.ko/linux/distrobox-upgrade.md b/pages.ko/linux/distrobox-upgrade.md new file mode 100644 index 00000000000000..74169a9aed3ae5 --- /dev/null +++ b/pages.ko/linux/distrobox-upgrade.md @@ -0,0 +1,16 @@ +# distrobox-upgrade + +> 하나 또는 여러 Distrobox 컨테이너를 업그레이드합니다. 같이 보기: `tldr distrobox`. +> 더 많은 정보: . + +- 컨테이너의 기본 패키지 관리자를 사용하여 컨테이너 업그레이드: + +`distrobox-upgrade {{컨테이너_이름}}` + +- 모든 컨테이너를 기본 패키지 관리자를 사용하여 업그레이드: + +`distrobox-upgrade --all` + +- 특정 컨테이너를 기본 패키지 관리자를 통해 업그레이드: + +`distrobox-upgrade {{컨테이너1 컨테이너2 ...}}` diff --git a/pages.ko/linux/distrobox.md b/pages.ko/linux/distrobox.md new file mode 100644 index 00000000000000..d7e4e58749a3e0 --- /dev/null +++ b/pages.ko/linux/distrobox.md @@ -0,0 +1,37 @@ +# distrobox + +> 터미널 내에서 컨테이너로 리눅스 배포판을 사용하세요. 이를 통해 패키지를 설치하고 사용하며, 호스트 OS와의 긴밀한 통합, 스토리지(`home` 디렉토리) 및 하드웨어를 공유합니다. +> 참고: Podman 또는 Docker를 사용하여 컨테이너를 생성합니다. +> 더 많은 정보: . + +- 컨테이너 생성에 대한 문서 보기: + +`tldr distrobox-create` + +- 컨테이너 정보 나열에 대한 문서 보기: + +`tldr distrobox-list` + +- 컨테이너에 들어가는 방법에 대한 문서 보기: + +`tldr distrobox-enter` + +- 컨테이너 내부에서 호스트에서 명령을 실행하는 방법에 대한 문서 보기: + +`tldr distrobox-host-exec` + +- 컨테이너에서 호스트로 앱/서비스/바이너리를 내보내는 방법에 대한 문서 보기: + +`tldr distrobox-export` + +- 컨테이너 업그레이드에 대한 문서 보기: + +`tldr distrobox-upgrade` + +- 컨테이너 중지에 대한 문서 보기: + +`tldr distrobox-stop` + +- 컨테이너 제거에 대한 문서 보기: + +`tldr distrobox-rm` diff --git a/pages.ko/linux/dkms.md b/pages.ko/linux/dkms.md new file mode 100644 index 00000000000000..4d2595942e3ebb --- /dev/null +++ b/pages.ko/linux/dkms.md @@ -0,0 +1,20 @@ +# dkms + +> 커널 모듈의 동적 빌드를 위한 프레임워크. +> 더 많은 정보: . + +- 현재 설치된 모듈 나열: + +`dkms status` + +- 현재 실행 중인 커널에 대해 모든 모듈 다시 빌드: + +`sudo dkms autoinstall` + +- 현재 실행 중인 커널에 대해 acpi_call 모듈의 버전 1.2.1 설치: + +`sudo dkms install -m {{acpi_call}} -v {{1.2.1}}` + +- 모든 커널에서 acpi_call 모듈의 버전 1.2.1 제거: + +`sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all` diff --git a/pages.ko/linux/dm-tool.md b/pages.ko/linux/dm-tool.md new file mode 100644 index 00000000000000..6c29450c37e5e6 --- /dev/null +++ b/pages.ko/linux/dm-tool.md @@ -0,0 +1,20 @@ +# dm-tool + +> 디스플레이 관리자와 통신하는 도구. +> 더 많은 정보: . + +- 현재 데스크톱 세션을 열어두고 로그인한 사용자가 인증하면 복원되도록 하면서 그리터 표시: + +`dm-tool switch-to-greeter` + +- 현재 세션 잠금: + +`dm-tool lock` + +- 특정 사용자로 전환하며 필요 시 인증 프롬프트 표시: + +`dm-tool switch-to-user {{사용자명}} {{세션}}` + +- 실행 중인 LightDM 세션 내에서 동적 시트 추가: + +`dm-tool add-seat {{xlocal}} {{이름}}={{값}}` diff --git a/pages.ko/linux/dmenu.md b/pages.ko/linux/dmenu.md new file mode 100644 index 00000000000000..100694c9c255c5 --- /dev/null +++ b/pages.ko/linux/dmenu.md @@ -0,0 +1,25 @@ +# dmenu + +> 동적 메뉴. +> 각 항목이 새 줄에 있는 텍스트 입력에서 메뉴 생성. +> 더 많은 정보: . + +- `ls` 명령어의 출력을 메뉴로 표시: + +`{{ls}} | dmenu` + +- 새 줄(`\n`)로 구분된 사용자 정의 항목으로 메뉴 표시: + +`echo -e "{{red}}\n{{green}}\n{{blue}}" | dmenu` + +- 여러 항목 중 사용자가 선택한 항목을 파일에 저장: + +`echo -e "{{red}}\n{{green}}\n{{blue}}" | dmenu > {{color.txt}}` + +- 특정 모니터에서 dmenu 실행: + +`ls | dmenu -m {{1}}` + +- 화면 아래쪽에 dmenu 표시: + +`ls | dmenu -b` diff --git a/pages.ko/linux/dmesg.md b/pages.ko/linux/dmesg.md new file mode 100644 index 00000000000000..8719ae75b71b5c --- /dev/null +++ b/pages.ko/linux/dmesg.md @@ -0,0 +1,36 @@ +# dmesg + +> 커널 메시지를 `stdout`에 출력. +> 더 많은 정보: . + +- 커널 메시지 표시: + +`sudo dmesg` + +- 커널 오류 메시지 표시: + +`sudo dmesg {{[-l|--level]}} err` + +- 커널 메시지를 표시하고 새로운 메시지를 계속 읽기 (`tail -f`와 유사, 커널 3.5.0 이상에서 사용 가능): + +`sudo dmesg {{[-w|--follow]}}` + +- 이 시스템에서 사용 가능한 물리적 메모리 용량 표시: + +`sudo dmesg | grep {{[-i|--ignore-case]}} memory` + +- 한 페이지씩 커널 메시지 표시: + +`sudo dmesg | less` + +- 타임스탬프와 함께 커널 메시지 표시 (커널 3.5.0 이상에서 사용 가능): + +`sudo dmesg {{[-T|--ctime]}}` + +- 사람이 읽기 쉬운 형식으로 커널 메시지 표시 (커널 3.5.0 이상에서 사용 가능): + +`sudo dmesg {{[-H|--human]}}` + +- 출력에 색상 적용 (커널 3.5.0 이상에서 사용 가능): + +`sudo dmesg {{[-L|--color]}}` diff --git a/pages.ko/linux/dmidecode.md b/pages.ko/linux/dmidecode.md new file mode 100644 index 00000000000000..289880299c7f57 --- /dev/null +++ b/pages.ko/linux/dmidecode.md @@ -0,0 +1,29 @@ +# dmidecode + +> DMI(또는 SMBIOS로 알려진) 테이블의 내용을 사람이 읽을 수 있는 형식으로 표시합니다. +> 루트 권한이 필요합니다. +> 더 많은 정보: . + +- 모든 DMI 테이블 내용을 표시: + +`sudo dmidecode` + +- BIOS 버전 표시: + +`sudo dmidecode -s bios-version` + +- 시스템의 일련번호 표시: + +`sudo dmidecode -s system-serial-number` + +- BIOS 정보 표시: + +`sudo dmidecode -t bios` + +- CPU 정보 표시: + +`sudo dmidecode -t processor` + +- 메모리 정보 표시: + +`sudo dmidecode -t memory` diff --git a/pages.ko/linux/dnf-config-manager.md b/pages.ko/linux/dnf-config-manager.md new file mode 100644 index 00000000000000..acdc2a2083bdff --- /dev/null +++ b/pages.ko/linux/dnf-config-manager.md @@ -0,0 +1,28 @@ +# dnf config-manager + +> Fedora 기반 시스템에서 DNF 구성 옵션과 저장소를 관리합니다. +> 더 많은 정보: . + +- URL에서 저장소 추가(그리고 활성화): + +`dnf config-manager --add-repo={{저장소_URL}}` + +- 현재 구성 값 출력: + +`dnf config-manager --dump` + +- 특정 저장소 활성화: + +`dnf config-manager --set-enabled {{저장소_ID}}` + +- 지정된 저장소 비활성화: + +`dnf config-manager --set-disabled {{저장소_ID1 저장소_ID2 ...}}` + +- 저장소에 대한 구성 옵션 설정: + +`dnf config-manager --setopt={{옵션}}={{값}}` + +- 도움말 표시: + +`dnf config-manager --help-cmd` diff --git a/pages.ko/linux/dnf.md b/pages.ko/linux/dnf.md new file mode 100644 index 00000000000000..2d9cdc0c4d17c9 --- /dev/null +++ b/pages.ko/linux/dnf.md @@ -0,0 +1,37 @@ +# dnf + +> RHEL, Fedora 및 CentOS를 위한 패키지 관리 도구(yum을 대체). +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 설치된 패키지를 최신 버전으로 업그레이드: + +`sudo dnf upgrade` + +- 키워드를 통해 패키지 검색: + +`dnf search {{키워드1 키워드2 ...}}` + +- 패키지에 대한 세부 정보 표시: + +`dnf info {{패키지}}` + +- 새 패키지 설치 (`-y`를 사용하여 모든 프롬프트 자동 확인): + +`sudo dnf install {{패키지1 패키지2 ...}}` + +- 패키지 제거: + +`sudo dnf remove {{패키지1 패키지2 ...}}` + +- 설치된 패키지 나열: + +`dnf list --installed` + +- 특정 명령을 제공하는 패키지 찾기: + +`dnf provides {{명령}}` + +- 모든 과거 작업 보기: + +`dnf history` diff --git a/pages.ko/linux/dnf5.md b/pages.ko/linux/dnf5.md new file mode 100644 index 00000000000000..dac17c7d7804be --- /dev/null +++ b/pages.ko/linux/dnf5.md @@ -0,0 +1,38 @@ +# dnf5 + +> RHEL, Fedora, CentOS를 위한 패키지 관리 도구(dnf를 대체하며, dnf는 yum을 대체). +> DNF5는 C++로 다시 작성된 DNF 패키지 관리자로, 성능이 향상되고 크기가 작아졌습니다. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 설치된 패키지를 최신 버전으로 업그레이드: + +`sudo dnf5 upgrade` + +- 키워드로 패키지 검색: + +`dnf5 search {{키워드1 키워드2 ...}}` + +- 패키지에 대한 세부 정보 표시: + +`dnf5 info {{패키지}}` + +- 새 패키지 설치 (`-y`를 사용하여 모든 메시지 자동 확인): + +`sudo dnf5 install {{패키지1 패키지2 ...}}` + +- 패키지 제거: + +`sudo dnf5 remove {{패키지1 패키지2 ...}}` + +- 설치된 패키지 나열: + +`dnf5 list --installed` + +- 특정 명령을 제공하는 패키지 찾기: + +`dnf5 provides {{명령어}}` + +- 캐시된 데이터 제거 또는 만료: + +`sudo dnf5 clean all` diff --git a/pages.ko/linux/dnsdomainname.md b/pages.ko/linux/dnsdomainname.md new file mode 100644 index 00000000000000..4ba29e3e27e53b --- /dev/null +++ b/pages.ko/linux/dnsdomainname.md @@ -0,0 +1,9 @@ +# dnsdomainname + +> 시스템의 DNS 도메인 이름을 표시합니다. +> 참고: 이 도구는 `gethostname`을 사용하여 시스템의 호스트명을 얻고, `getaddrinfo`를 사용하여 정규화된 이름으로 해석합니다. +> 더 많은 정보: . + +- 시스템의 DNS 도메인 이름 표시: + +`dnsdomainname` diff --git a/pages.ko/linux/dnsmap.md b/pages.ko/linux/dnsmap.md new file mode 100644 index 00000000000000..c163d42f0305b1 --- /dev/null +++ b/pages.ko/linux/dnsmap.md @@ -0,0 +1,20 @@ +# dnsmap + +> dnsmap 명령은 도메인의 일반적인 하위 도메인(e.g. smtp.domain.org)을 스캔합니다. +> 더 많은 정보: . + +- 내부 단어 목록을 사용하여 하위 도메인 스캔: + +`dnsmap {{example.com}}` + +- 확인할 하위 도메인 목록 지정: + +`dnsmap {{example.com}} -w {{경로/대상/단어목록.txt}}` + +- 결과를 CSV 파일에 저장: + +`dnsmap {{example.com}} -c {{경로/대상/파일.csv}}` + +- 잘못된 양성으로 인식되는 2개의 IP 무시(최대 5개 가능): + +`dnsmap {{example.com}} -i {{123.45.67.89,98.76.54.32}}` diff --git a/pages.ko/linux/dnsrecon.md b/pages.ko/linux/dnsrecon.md new file mode 100644 index 00000000000000..6383aa766ef910 --- /dev/null +++ b/pages.ko/linux/dnsrecon.md @@ -0,0 +1,32 @@ +# dnsrecon + +> DNS 열거 도구. +> 더 많은 정보: . + +- 도메인을 스캔하고 결과를 SQLite 데이터베이스에 저장: + +`dnsrecon --domain {{example.com}} --db {{경로/대상/데이터베이스.sqlite}}` + +- 도메인을 스캔하며 네임서버를 지정하고 존 전송 수행: + +`dnsrecon --domain {{example.com}} --name_server {{nameserver.example.com}} --type axfr` + +- 도메인을 스캔하며 서브도메인 및 호스트명의 사전으로 무차별 공격 수행: + +`dnsrecon --domain {{example.com}} --dictionary {{경로/대상/사전.txt}} --type brt` + +- 도메인을 스캔하며 SPF 레코드에서 IP 범위의 역방향 조회를 수행하고 JSON 파일에 결과 저장: + +`dnsrecon --domain {{example.com}} -s --json` + +- 도메인을 스캔하며 Google 열거를 수행하고 CSV 파일에 결과 저장: + +`dnsrecon --domain {{example.com}} -g --csv` + +- 도메인을 스캔하며 DNS 캐시 스누핑 수행: + +`dnsrecon --domain {{example.com}} --type snoop --name_server {{nameserver.example.com}} --dictionary {{경로/대상/사전.txt}}` + +- 도메인을 스캔하며 존 워킹 수행: + +`dnsrecon --domain {{example.com}} --type zonewalk` diff --git a/pages.ko/linux/dnstracer.md b/pages.ko/linux/dnstracer.md new file mode 100644 index 00000000000000..76972da8997d24 --- /dev/null +++ b/pages.ko/linux/dnstracer.md @@ -0,0 +1,28 @@ +# dnstracer + +> dnstracer 명령은 DNS가 정보를 어디서 얻는지 확인합니다. +> 더 많은 정보: . + +- 로컬 DNS가 www.example.com에 대한 정보를 어디서 얻었는지 확인: + +`dnstracer {{www.example.com}}` + +- 이미 알고 있는 특정 DNS에서 시작: + +`dnstracer -s {{dns.example.org}} {{www.example.com}}` + +- IPv4 서버만 쿼리: + +`dnstracer -4 {{www.example.com}}` + +- 실패 시 각 요청을 5번 재시도: + +`dnstracer -r {{5}} {{www.example.com}}` + +- 실행 중 모든 단계 표시: + +`dnstracer -v {{www.example.com}}` + +- 실행 후 수신된 모든 응답의 개요 표시: + +`dnstracer -o {{www.example.com}}` diff --git a/pages.ko/linux/do-release-upgrade.md b/pages.ko/linux/do-release-upgrade.md new file mode 100644 index 00000000000000..4dfba1a277cba3 --- /dev/null +++ b/pages.ko/linux/do-release-upgrade.md @@ -0,0 +1,16 @@ +# do-release-upgrade + +> Ubuntu 릴리스 업그레이더. +> 더 많은 정보: . + +- 최신 릴리스로 업그레이드: + +`sudo do-release-upgrade` + +- 최신 개발 릴리스로 업그레이드: + +`sudo do-release-upgrade --devel-release` + +- 최신 제안된 릴리스로 업그레이드: + +`sudo do-release-upgrade --proposed` diff --git a/pages.ko/linux/dockerd.md b/pages.ko/linux/dockerd.md new file mode 100644 index 00000000000000..9dfc0a4a2a444b --- /dev/null +++ b/pages.ko/linux/dockerd.md @@ -0,0 +1,24 @@ +# dockerd + +> Docker 컨테이너를 시작하고 관리하는 지속적인 프로세스. +> 더 많은 정보: . + +- Docker 데몬 실행: + +`dockerd` + +- Docker 데몬을 실행하고 특정 소켓(UNIX 및 TCP)을 수신하도록 설정: + +`dockerd --host unix://{{경로/대상/tmp.sock}} --host tcp://{{IP}}` + +- 특정 데몬 PID 파일로 실행: + +`dockerd --pidfile {{경로/대상/PID_파일}}` + +- 디버그 모드로 실행: + +`dockerd --debug` + +- 특정 로그 레벨로 실행: + +`dockerd --log-level {{debug|info|warn|error|fatal}}` diff --git a/pages.ko/linux/dolphin.md b/pages.ko/linux/dolphin.md new file mode 100644 index 00000000000000..27b0d92cd0a966 --- /dev/null +++ b/pages.ko/linux/dolphin.md @@ -0,0 +1,33 @@ +# dolphin + +> KDE의 파일 관리자로, 파일 및 디렉토리를 관리합니다. +> 같이 보기: `nautilus`, `caja`, `thunar`, `ranger`. +> 더 많은 정보: . + +- 파일 관리자 실행: + +`dolphin` + +- 특정 디렉토리 열기: + +`dolphin {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 특정 파일 또는 디렉토리를 선택하여 열기: + +`dolphin --select {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 새 창 열기: + +`dolphin --new-window` + +- 특정 디렉토리를 분할 뷰로 열기: + +`dolphin --split {{경로/대상/폴더1}} {{경로/대상/폴더2}}` + +- 데몬 실행 (D-Bus 인터페이스 사용 시에만 필요): + +`dolphin --daemon` + +- 도움말 표시: + +`dolphin --help` diff --git a/pages.ko/linux/dos2unix.md b/pages.ko/linux/dos2unix.md new file mode 100644 index 00000000000000..120859e3d5a1c6 --- /dev/null +++ b/pages.ko/linux/dos2unix.md @@ -0,0 +1,22 @@ +# dos2unix + +> DOS 스타일의 줄 바꿈을 Unix 스타일로 변경. +> CRLF를 LF로 대체합니다. +> 같이 보기: `unix2dos`, `unix2mac`, `mac2unix`. +> 더 많은 정보: . + +- 파일의 줄 바꿈 변경: + +`dos2unix {{경로/대상/파일}}` + +- Unix 스타일의 줄 바꿈으로 복사본 생성: + +`dos2unix {{[-n|--newfile]}} {{경로/대상/파일}} {{경로/대상/새_파일}}` + +- 파일 정보 표시: + +`dos2unix {{[-i|--info]}} {{경로/대상/파일}}` + +- 바이트 순서 표시(BOM) 유지/추가/제거: + +`dos2unix --{{keep-bom|add-bom|remove-bom}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/dphys-swapfile.md b/pages.ko/linux/dphys-swapfile.md new file mode 100644 index 00000000000000..d55c41edf181e5 --- /dev/null +++ b/pages.ko/linux/dphys-swapfile.md @@ -0,0 +1,16 @@ +# dphys-swapfile + +> Debian 기반 Linux 시스템에서 스왑 파일을 관리합니다. +> 더 많은 정보: . + +- 스왑 파일 비활성화: + +`dphys-swapfile swapoff` + +- 스왑 파일 활성화: + +`dphys-swapfile swapon` + +- 새 스왑 파일 생성: + +`dphys-swapfile setup` diff --git a/pages.ko/linux/dpigs.md b/pages.ko/linux/dpigs.md new file mode 100644 index 00000000000000..3372c668dcd7c3 --- /dev/null +++ b/pages.ko/linux/dpigs.md @@ -0,0 +1,24 @@ +# dpigs + +> `apt` 기반 시스템에서 설치된 패키지 중 가장 많은 공간을 차지하는 패키지를 표시합니다. +> 더 많은 정보: . + +- 시스템에서 가장 큰 N개의 패키지 표시: + +`dpigs --lines={{N}}` + +- 기본 dpkg [s]tatus 파일 대신 지정된 [f]파일 사용: + +`dpigs --status={{경로/대상/파일}}` + +- 시스템에 설치된 바이너리 패키지의 가장 큰 [S]소스 패키지 표시: + +`dpigs --source` + +- 패키지 크기를 사람이 읽기 쉬운 [H]형식으로 표시: + +`dpigs --human-readable` + +- 도움말 표시: + +`dpigs --help` diff --git a/pages.ko/linux/dpkg-deb.md b/pages.ko/linux/dpkg-deb.md new file mode 100644 index 00000000000000..1f387d3efda21d --- /dev/null +++ b/pages.ko/linux/dpkg-deb.md @@ -0,0 +1,24 @@ +# dpkg-deb + +> Debian 아카이브를 패키징, 압축 해제 및 정보 제공. +> 더 많은 정보: . + +- 패키지 정보 표시: + +`dpkg-deb --info {{경로/대상/파일.deb}}` + +- 패키지의 이름과 버전을 한 줄로 표시: + +`dpkg-deb --show {{경로/대상/파일.deb}}` + +- 패키지의 내용 나열: + +`dpkg-deb --contents {{경로/대상/파일.deb}}` + +- 패키지의 내용을 디렉토리에 추출: + +`dpkg-deb --extract {{경로/대상/파일.deb}} {{경로/대상/폴더}}` + +- 지정된 디렉토리에서 패키지 생성: + +`dpkg-deb --build {{경로/대상/폴더}}` diff --git a/pages.ko/linux/dpkg-query.md b/pages.ko/linux/dpkg-query.md new file mode 100644 index 00000000000000..a33796021603e8 --- /dev/null +++ b/pages.ko/linux/dpkg-query.md @@ -0,0 +1,24 @@ +# dpkg-query + +> 설치된 패키지에 대한 정보 표시. +> 더 많은 정보: . + +- 설치된 모든 패키지 나열: + +`dpkg-query --list` + +- 패턴과 일치하는 설치된 패키지 나열: + +`dpkg-query --list '{{libc6*}}'` + +- 패키지에 의해 설치된 모든 파일 나열: + +`dpkg-query --listfiles {{libc6}}` + +- 패키지에 대한 정보 표시: + +`dpkg-query --status {{libc6}}` + +- 패턴과 일치하는 파일을 소유한 패키지 검색: + +`dpkg-query --search {{/etc/ld.so.conf.d}}` diff --git a/pages.ko/linux/dpkg-reconfigure.md b/pages.ko/linux/dpkg-reconfigure.md new file mode 100644 index 00000000000000..7b32c8085f67e2 --- /dev/null +++ b/pages.ko/linux/dpkg-reconfigure.md @@ -0,0 +1,8 @@ +# dpkg-reconfigure + +> 이미 설치된 패키지를 재구성합니다. +> 더 많은 정보: . + +- 하나 이상의 패키지를 재구성: + +`dpkg-reconfigure {{패키지1 패키지2 ...}}` diff --git a/pages.ko/linux/dpkg.md b/pages.ko/linux/dpkg.md new file mode 100644 index 00000000000000..b82fba0834a96b --- /dev/null +++ b/pages.ko/linux/dpkg.md @@ -0,0 +1,34 @@ +# dpkg + +> Debian 패키지 관리자. +> `deb`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 패키지 설치: + +`dpkg -i {{경로/대상/파일.deb}}` + +- 패키지 제거: + +`dpkg -r {{패키지}}` + +- 설치된 패키지 나열: + +`dpkg -l {{패턴}}` + +- 패키지의 내용 나열: + +`dpkg -L {{패키지}}` + +- 로컬 패키지 파일의 내용 나열: + +`dpkg -c {{경로/대상/파일.deb}}` + +- 특정 파일이 어떤 패키지에 속해 있는지 확인: + +`dpkg -S {{경로/대상/파일}}` + +- 설치되었거나 이미 제거된 패키지 및 구성 파일 삭제: + +`dpkg -P {{패키지}}` diff --git a/pages.ko/linux/dracut.md b/pages.ko/linux/dracut.md new file mode 100644 index 00000000000000..e79890d993e276 --- /dev/null +++ b/pages.ko/linux/dracut.md @@ -0,0 +1,21 @@ +# dracut + +> Linux 커널을 부팅하기 위한 initramfs 이미지를 생성합니다. +> Dracut은 기본적으로 `/etc/dracut.conf`, `/etc/dracut.conf.d/*.conf`, `/usr/lib/dracut/dracut.conf.d/*.conf`의 구성 파일에서 옵션을 사용합니다. +> 더 많은 정보: . + +- 현재 커널에 대한 initramfs 이미지를 옵션을 덮어쓰지 않고 생성: + +`dracut` + +- 현재 커널에 대한 initramfs 이미지를 생성하고 기존 이미지를 덮어씀: + +`dracut --force` + +- 특정 커널에 대한 initramfs 이미지 생성: + +`dracut --kver {{커널_버전}}` + +- 사용 가능한 모듈 나열: + +`dracut --list-modules` diff --git a/pages.ko/linux/drawing.md b/pages.ko/linux/drawing.md new file mode 100644 index 00000000000000..a0a988775f043f --- /dev/null +++ b/pages.ko/linux/drawing.md @@ -0,0 +1,16 @@ +# drawing + +> GNOME 데스크탑 환경에서 사용할 수 있는 무료 기본 래스터 이미지 편집기. +> 더 많은 정보: . + +- Drawing 시작: + +`drawing` + +- 특정 파일 열기: + +`drawing {{경로/대상/이미지1 경로/대상/이미지2 ...}}` + +- 새 창에서 특정 파일 열기: + +`drawing --new-window {{경로/대상/이미지1 경로/대상/이미지2 ...}}` diff --git a/pages.ko/linux/dropbearconvert.md b/pages.ko/linux/dropbearconvert.md new file mode 100644 index 00000000000000..c8b15cce8b720e --- /dev/null +++ b/pages.ko/linux/dropbearconvert.md @@ -0,0 +1,12 @@ +# dropbearconvert + +> Dropbear와 OpenSSH 개인 키 형식 간 변환. +> 더 많은 정보: . + +- OpenSSH 개인 키를 Dropbear 형식으로 변환: + +`dropbearconvert openssh dropbear {{경로/대상/입력_키}} {{경로/대상/출력_키}}` + +- Dropbear 개인 키를 OpenSSH 형식으로 변환: + +`dropbearconvert dropbear openssh {{경로/대상/입력_키}} {{경로/대상/출력_키}}` diff --git a/pages.ko/linux/dropbearkey.md b/pages.ko/linux/dropbearkey.md new file mode 100644 index 00000000000000..d2ee637667d348 --- /dev/null +++ b/pages.ko/linux/dropbearkey.md @@ -0,0 +1,20 @@ +# dropbearkey + +> Dropbear 형식으로 SSH 키를 생성합니다. +> 더 많은 정보: . + +- [t]유형 ed25519의 SSH 키를 생성하여 키 [f]파일에 저장: + +`dropbearkey -t {{ed25519}} -f {{경로/대상/키_파일}}` + +- [t]유형 ecdsa의 SSH 키를 생성하여 키 [f]파일에 저장: + +`dropbearkey -t {{ecdsa}} -f {{경로/대상/키_파일}}` + +- 4096비트 키 [s]크기의 [t]유형 RSA SSH 키를 생성하여 키 [f]파일에 저장: + +`dropbearkey -t {{rsa}} -s {{4096}} -f {{경로/대상/키_파일}}` + +- 키 [f]파일의 개인 키 지문과 공개 키 출력: + +`dropbearkey -y -f {{경로/대상/키_파일}}` diff --git a/pages.ko/linux/dstat.md b/pages.ko/linux/dstat.md new file mode 100644 index 00000000000000..0fc2c5483ba229 --- /dev/null +++ b/pages.ko/linux/dstat.md @@ -0,0 +1,28 @@ +# dstat + +> 시스템 리소스 통계 생성을 위한 다재다능한 도구. +> 더 많은 정보: . + +- CPU, 디스크, 네트워크, 페이징 및 시스템 통계 표시: + +`dstat` + +- 5초마다 통계를 표시하고 4번만 업데이트: + +`dstat {{5}} {{4}}` + +- CPU 및 메모리 통계만 표시: + +`dstat --cpu --mem` + +- 사용 가능한 모든 dstat 플러그인 나열: + +`dstat --list` + +- 가장 많은 메모리와 CPU를 사용하는 프로세스 표시: + +`dstat --top-mem --top-cpu` + +- 배터리 백분율 및 남은 배터리 시간 표시: + +`dstat --battery --battery-remain` diff --git a/pages.ko/linux/dumpe2fs.md b/pages.ko/linux/dumpe2fs.md new file mode 100644 index 00000000000000..cb9e9ddb3bd5cb --- /dev/null +++ b/pages.ko/linux/dumpe2fs.md @@ -0,0 +1,25 @@ +# dumpe2fs + +> ext2/ext3/ext4 파일시스템의 슈퍼블록 및 블록 그룹 정보를 출력합니다. +> `umount {{장치}}`를 사용하여 이 명령을 실행하기 전에 파티션을 마운트 해제하세요. +> 더 많은 정보: . + +- ext2, ext3 및 ext4 파일시스템 정보 표시: + +`dumpe2fs {{/dev/sdXN}}` + +- 파일시스템에서 불량으로 예약된 블록 표시: + +`dumpe2fs -b {{/dev/sdXN}}` + +- 인식할 수 없는 기능 플래그가 있어도 파일시스템 정보를 강제로 표시: + +`dumpe2fs -f {{/dev/sdXN}}` + +- 슈퍼블록 정보만 표시하고 블록 그룹 설명자 세부 정보는 표시하지 않음: + +`dumpe2fs -h {{/dev/sdXN}}` + +- 그룹의 세부 정보 블록 번호를 16진수 형식으로 출력: + +`dumpe2fs -x {{/dev/sdXN}}` diff --git a/pages.ko/linux/duperemove.md b/pages.ko/linux/duperemove.md new file mode 100644 index 00000000000000..34a46ad3786dbf --- /dev/null +++ b/pages.ko/linux/duperemove.md @@ -0,0 +1,22 @@ +# duperemove + +> 중복 파일 시스템 익스텐트를 찾아 중복 제거를 예약합니다. +> 익스텐트는 파일 시스템 내 파일의 작은 부분입니다. +> 일부 파일 시스템에서는 파일의 내용이 동일할 경우 하나의 익스텐트를 여러 번 참조할 수 있습니다. +> 더 많은 정보: . + +- 디렉토리에서 중복 익스텐트를 검색하고 표시: + +`duperemove -r {{경로/대상/폴더}}` + +- Btrfs 또는 XFS(실험적) 파일 시스템에서 중복 익스텐트를 중복 제거: + +`duperemove -r -d {{경로/대상/폴더}}` + +- 해시 파일을 사용하여 익스텐트 해시를 저장 (메모리 사용량 감소 및 이후 실행에서 재사용 가능): + +`duperemove -r -d --hashfile={{경로/대상/해시파일}} {{경로/대상/폴더}}` + +- I/O 스레드(해싱 및 중복 제거 단계) 및 CPU 스레드(중복 익스텐트 찾기 단계) 제한: + +`duperemove -r -d --hashfile={{경로/대상/해시파일}} --io-threads={{N}} --cpu-threads={{N}} {{경로/대상/폴더}}` diff --git a/pages.ko/linux/dysk.md b/pages.ko/linux/dysk.md new file mode 100644 index 00000000000000..2733011e63f296 --- /dev/null +++ b/pages.ko/linux/dysk.md @@ -0,0 +1,24 @@ +# dysk + +> 파일 시스템 정보를 표 형식으로 표시합니다. +> 더 많은 정보: . + +- 일반 디스크에 대한 표준 개요 확인: + +`dysk` + +- 여유 크기로 정렬: + +`dysk {{[-s|--sort]}} free` + +- HDD 디스크만 포함: + +`dysk {{[-f|--filter]}} 'disk = HDD'` + +- SSD 디스크 제외: + +`dysk {{[-f|--filter]}} 'disk <> SSD'` + +- 높은 사용률 또는 낮은 여유 공간을 가진 디스크 표시: + +`dysk {{[-f|--filter]}} 'use > 65% | free < 50G'` diff --git a/pages.ko/linux/e2freefrag.md b/pages.ko/linux/e2freefrag.md new file mode 100644 index 00000000000000..6ab1c69097b5a6 --- /dev/null +++ b/pages.ko/linux/e2freefrag.md @@ -0,0 +1,12 @@ +# e2freefrag + +> ext2/ext3/ext4 파일시스템의 여유 공간 조각화 정보를 출력합니다. +> 더 많은 정보: . + +- 연속적이고 정렬된 여유 공간으로 존재하는 여유 블록 수 확인: + +`e2freefrag {{/dev/sdXN}}` + +- 청크 크기를 킬로바이트 단위로 지정하여 사용 가능한 여유 청크 수 출력: + +`e2freefrag -c {{청크_크기_kb}} {{/dev/sdXN}}` diff --git a/pages.ko/linux/e2fsck.md b/pages.ko/linux/e2fsck.md new file mode 100644 index 00000000000000..b6437f0dc7d83b --- /dev/null +++ b/pages.ko/linux/e2fsck.md @@ -0,0 +1,20 @@ +# e2fsck + +> Linux ext2/ext3/ext4 파일 시스템을 검사합니다. 파티션은 마운트 해제되어 있어야 합니다. +> 더 많은 정보: . + +- 파일 시스템을 검사하고 손상된 블록을 보고: + +`sudo e2fsck {{/dev/sdXN}}` + +- 파일 시스템을 검사하고 손상된 블록을 자동으로 복구: + +`sudo e2fsck -p {{/dev/sdXN}}` + +- 읽기 전용 모드로 파일 시스템 검사: + +`sudo e2fsck -c {{/dev/sdXN}}` + +- 불량 블록을 위한 철저하고 비파괴적인 읽기-쓰기 테스트를 수행하고 블랙리스트에 추가: + +`sudo e2fsck -fccky {{/dev/sdXN}}` diff --git a/pages.ko/linux/e2image.md b/pages.ko/linux/e2image.md new file mode 100644 index 00000000000000..cc394daa87721c --- /dev/null +++ b/pages.ko/linux/e2image.md @@ -0,0 +1,24 @@ +# e2image + +> ext2/ext3/ext4 파일 시스템의 중요한 메타데이터를 파일로 저장. +> 더 많은 정보: . + +- 장치에 있는 메타데이터를 특정 파일에 기록: + +`e2image {{/dev/sdXN}} {{경로/대상/이미지_파일}}` + +- 장치에 있는 메타데이터를 `stdout`에 출력: + +`e2image {{/dev/sdXN}} -` + +- 파일 시스템 메타데이터를 장치로 복원: + +`e2image -I {{/dev/sdXN}} {{경로/대상/이미지_파일}}` + +- 적절한 오프셋에 메타데이터가 있는 큰 원시 스파스 파일 생성: + +`e2image -r {{/dev/sdXN}} {{경로/대상/이미지_파일}}` + +- 일반 또는 원시 이미지 파일 대신 QCOW2 이미지 파일 생성: + +`e2image -Q {{/dev/sdXN}} {{경로/대상/이미지_파일}}` diff --git a/pages.ko/linux/e2label.md b/pages.ko/linux/e2label.md new file mode 100644 index 00000000000000..6218ff022b11d7 --- /dev/null +++ b/pages.ko/linux/e2label.md @@ -0,0 +1,8 @@ +# e2label + +> ext2/ext3/ext4 파일 시스템의 레이블을 변경합니다. +> 더 많은 정보: . + +- 특정 ext 파티션의 볼륨 레이블 변경: + +`e2label {{/dev/sda1}} "{{레이블_이름}}"` diff --git a/pages.ko/linux/e2undo.md b/pages.ko/linux/e2undo.md new file mode 100644 index 00000000000000..a13a67dc0be08f --- /dev/null +++ b/pages.ko/linux/e2undo.md @@ -0,0 +1,25 @@ +# e2undo + +> ext2/ext3/ext4 파일 시스템에 대한 undo 로그 재생. +> e2fsprogs 프로그램의 실패한 작업을 취소하는 데 사용할 수 있습니다. +> 더 많은 정보: . + +- 특정 undo 파일에 대한 정보 표시: + +`e2undo -h {{경로/대상/undo_파일}} {{/dev/sdXN}}` + +- 드라이런을 수행하고 재생할 후보 블록 표시: + +`e2undo -nv {{경로/대상/undo_파일}} {{/dev/sdXN}}` + +- undo 작업 수행: + +`e2undo {{경로/대상/undo_파일}} {{/dev/sdXN}}` + +- undo 작업 수행 및 자세한 정보 표시: + +`e2undo -v {{경로/대상/undo_파일}} {{/dev/sdXN}}` + +- 파일 시스템 블록을 덮어쓰기에 앞서 블록의 이전 내용을 undo 파일에 기록: + +`e2undo -z {{경로/대상/file.e2undo}} {{경로/대상/undo_파일}} {{/dev/sdXN}}` diff --git a/pages.ko/linux/e4defrag.md b/pages.ko/linux/e4defrag.md new file mode 100644 index 00000000000000..308d4f838ff599 --- /dev/null +++ b/pages.ko/linux/e4defrag.md @@ -0,0 +1,16 @@ +# e4defrag + +> ext4 파일 시스템을 조각 모음합니다. +> 더 많은 정보: . + +- 파일 시스템 조각 모음: + +`e4defrag {{/dev/sdXN}}` + +- 파일 시스템이 얼마나 조각화되었는지 확인: + +`e4defrag -c {{/dev/sdXN}}` + +- 오류와 각 파일의 조각화 개수를 조각 모음 전후에 출력: + +`e4defrag -v {{/dev/sdXN}}` diff --git a/pages.ko/linux/ebuild.md b/pages.ko/linux/ebuild.md new file mode 100644 index 00000000000000..0a505ea4126e1f --- /dev/null +++ b/pages.ko/linux/ebuild.md @@ -0,0 +1,36 @@ +# ebuild + +> Gentoo Portage 시스템에 대한 저수준 인터페이스. +> 더 많은 정보: . + +- 패키지 매니페스트 생성 또는 업데이트: + +`ebuild {{경로/대상/파일.ebuild}} manifest` + +- 빌드 파일의 임시 빌드 디렉터리 정리: + +`ebuild {{경로/대상/파일.ebuild}} clean` + +- 소스가 존재하지 않을 경우 소스 가져오기: + +`ebuild {{경로/대상/파일.ebuild}} fetch` + +- 소스를 임시 빌드 디렉터리에 추출: + +`ebuild {{경로/대상/파일.ebuild}} unpack` + +- 추출된 소스 컴파일: + +`ebuild {{경로/대상/파일.ebuild}} compile` + +- 임시 설치 디렉터리에 패키지 설치: + +`ebuild {{경로/대상/파일.ebuild}} install` + +- 라이브 파일 시스템에 임시 파일 설치: + +`ebuild {{경로/대상/파일.ebuild}} qmerge` + +- 지정된 ebuild 파일의 소스 가져오기, 추출, 컴파일, 설치 및 qmerge 수행: + +`ebuild {{경로/대상/파일.ebuild}} merge` diff --git a/pages.ko/linux/edit.md b/pages.ko/linux/edit.md new file mode 100644 index 00000000000000..afbc02ffc9ed69 --- /dev/null +++ b/pages.ko/linux/edit.md @@ -0,0 +1,13 @@ +# edit + +> `run-mailcap`의 편집 작업에 대한 별칭. +> 원래 `run-mailcap`은 mime-type/파일을 처리/편집하기 위해 사용됩니다. +> 더 많은 정보: . + +- 기본 mailcap 탐색기로 어떤 파일이든 보기 위해 편집 작업 사용: + +`edit {{파일명}}` + +- `run-mailcap`과 함께 사용: + +`run-mailcap --action=edit {{파일명}}` diff --git a/pages.ko/linux/edquota.md b/pages.ko/linux/edquota.md new file mode 100644 index 00000000000000..65c5e13ebfb885 --- /dev/null +++ b/pages.ko/linux/edquota.md @@ -0,0 +1,29 @@ +# edquota + +> 사용자 또는 그룹의 쿼터를 편집. 기본적으로 쿼터가 있는 모든 파일 시스템에서 작동합니다. +> 쿼터 정보는 파일 시스템의 루트에 있는 `quota.user` 및 `quota.group` 파일에 영구적으로 저장됩니다. +> 더 많은 정보: . + +- 현재 사용자의 쿼터 편집: + +`edquota --user $(whoami)` + +- 특정 사용자의 쿼터 편집: + +`sudo edquota --user {{사용자명}}` + +- 그룹의 쿼터 편집: + +`sudo edquota --group {{그룹}}` + +- 지정된 파일 시스템으로 작업 제한 (기본적으로 edquota는 쿼터가 있는 모든 파일 시스템에서 작동합니다): + +`sudo edquota --file-system {{파일_시스템}}` + +- 기본 유예 기간 편집: + +`sudo edquota -t` + +- 다른 사용자에게 쿼터 복제: + +`sudo edquota -p {{참조_사용자}} {{대상_사용자1}} {{대상_사용자2}}` diff --git a/pages.ko/linux/efibootmgr.md b/pages.ko/linux/efibootmgr.md new file mode 100644 index 00000000000000..fd89b7b9f45758 --- /dev/null +++ b/pages.ko/linux/efibootmgr.md @@ -0,0 +1,24 @@ +# efibootmgr + +> UEFI 부트 매니저를 조작합니다. +> 더 많은 정보: . + +- 부트 옵션과 해당 번호를 모두 나열: + +`efibootmgr {{[-u|--unicode]}}` + +- UEFI Shell v2를 부트 옵션으로 추가: + +`sudo efibootmgr {{[-c|--create]}} {{[-d|--disk]}} {{/dev/sda}} {{[-p|--part]}} {{1}} {{[-l|--loader]}} "{{\경로\대상\shell.efi}}" {{[-L|--label]}} "{{UEFI Shell}}"` + +- Linux를 부트 옵션으로 추가: + +`sudo efibootmgr {{[-c|--create]}} {{[-d|--disk]}} {{/dev/sda}} {{[-p|--part]}} {{1}} {{[-l|--loader]}} "{{\vmlinuz}}" {{[-u|--unicode]}} "{{kernel_cmdline}}" {{[-L|--label]}} "{{Linux}}"` + +- 현재 부트 순서 변경: + +`sudo efibootmgr {{[-o|--bootorder]}} {{0002,0008,0001,0005}}` + +- 부트 옵션 삭제: + +`sudo efibootmgr {{[-b|--bootnum]}} {{0008}} {{[-B|--delete-bootnum]}}` diff --git a/pages.ko/linux/ego.md b/pages.ko/linux/ego.md new file mode 100644 index 00000000000000..902bced4ae3844 --- /dev/null +++ b/pages.ko/linux/ego.md @@ -0,0 +1,28 @@ +# ego + +> Funtoo의 공식 시스템 성격 관리 도구. +> 더 많은 정보: . + +- Portage 트리 동기화: + +`ego sync` + +- 부트로더 구성 업데이트: + +`ego boot update` + +- 이름으로 Funtoo 위키 페이지 읽기: + +`ego doc {{위키_페이지}}` + +- 현재 프로필 출력: + +`ego profile show` + +- 믹스인 활성화/비활성화: + +`ego profile mix-in +{{gnome}} -{{kde-plasma-5}}` + +- 특정 패키지와 관련된 Funtoo 버그 쿼리: + +`ego query bug {{패키지}}` diff --git a/pages.ko/linux/einfo.md b/pages.ko/linux/einfo.md new file mode 100644 index 00000000000000..6c8bc30dc4c364 --- /dev/null +++ b/pages.ko/linux/einfo.md @@ -0,0 +1,20 @@ +# einfo + +> 각 데이터베이스 필드에 색인된 레코드 수, 데이터베이스의 마지막 업데이트 날짜 및 데이터베이스에서 다른 Entrez 데이터베이스로의 사용 가능한 링크를 제공합니다. +> 더 많은 정보: . + +- 모든 데이터베이스 이름 출력: + +`einfo -dbs` + +- 단백질 데이터베이스의 모든 정보를 XML 형식으로 출력: + +`einfo -db {{protein}}` + +- nuccore 데이터베이스의 모든 필드 출력: + +`einfo -db {{nuccore}} -fields` + +- 단백질 데이터베이스의 모든 링크 출력: + +`einfo -db {{protein}} -links` diff --git a/pages.ko/linux/eix.md b/pages.ko/linux/eix.md new file mode 100644 index 00000000000000..378ea41ee501b8 --- /dev/null +++ b/pages.ko/linux/eix.md @@ -0,0 +1,25 @@ +# eix + +> 로컬 Gentoo 패키지를 검색하는 유틸리티. +> `eix-update`를 사용하여 로컬 패키지 캐시를 업데이트합니다. +> 더 많은 정보: . + +- 패키지 검색: + +`eix {{검색어}}` + +- 설치된 패키지 검색: + +`eix --installed {{검색어}}` + +- 패키지 설명에서 검색: + +`eix --description "{{설명}}"` + +- 패키지 라이선스로 검색: + +`eix --license {{라이선스}}` + +- 검색에서 결과 제외: + +`eix --not --license {{라이선스}}` diff --git a/pages.ko/linux/eject.md b/pages.ko/linux/eject.md new file mode 100644 index 00000000000000..f3a146fa98f72c --- /dev/null +++ b/pages.ko/linux/eject.md @@ -0,0 +1,32 @@ +# eject + +> CD, 플로피 디스크 및 테이프 드라이브를 꺼냅니다. +> 더 많은 정보: . + +- 기본 장치 표시: + +`eject -d` + +- 기본 장치 꺼내기: + +`eject` + +- 특정 장치 꺼내기 (기본 순서는 cd-rom, scsi, 플로피 및 테이프입니다): + +`eject {{/dev/cdrom}}` + +- 장치 트레이가 열려 있는지 닫혀 있는지 토글: + +`eject -T {{/dev/cdrom}}` + +- CD 드라이브 꺼내기: + +`eject -r {{/dev/cdrom}}` + +- 플로피 드라이브 꺼내기: + +`eject -f {{/mnt/floppy}}` + +- 테이프 드라이브 꺼내기: + +`eject -q {{/mnt/tape}}` diff --git a/pages.ko/linux/elink.md b/pages.ko/linux/elink.md new file mode 100644 index 00000000000000..78c1074c24536b --- /dev/null +++ b/pages.ko/linux/elink.md @@ -0,0 +1,13 @@ +# elink + +> 데이터베이스 내에서 미리 계산된 이웃을 조회하거나 다른 데이터베이스에서 관련 레코드를 찾습니다. +> `edirect` 패키지의 일부입니다. +> 더 많은 정보: . + +- pubmed를 검색한 후 관련 시퀀스 찾기: + +`esearch -db pubmed -query "{{선택적 세로토닌 재흡수 억제제}}" | elink -target nuccore` + +- 뉴클레오타이드를 검색한 후 관련 생물 샘플 찾기: + +`esearch -db nuccore -query "{{인슐린 [PROT] AND 설치류 [ORGN]}}" | elink -target biosample` diff --git a/pages.ko/linux/emerge.md b/pages.ko/linux/emerge.md new file mode 100644 index 00000000000000..ffce31881af09c --- /dev/null +++ b/pages.ko/linux/emerge.md @@ -0,0 +1,33 @@ +# emerge + +> Gentoo Linux 패키지 관리 도구. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 모든 패키지 동기화: + +`emerge --sync` + +- 모든 패키지 및 의존성 업데이트: + +`emerge {{[-avuDN|--ask --verbose --update --deep --newuse]}} @world` + +- 업데이트 실패 시, 실패한 패키지를 건너뛰고 다시 시작: + +`emerge --resume --skipfirst` + +- 새 패키지 설치 시, 확인 요청: + +`emerge {{[-av|--ask --verbose]}} {{패키지}}` + +- 패키지 제거 시, 확인 요청: + +`emerge -Cav {{패키지}}` + +- 고아 패키지 제거 (의존성으로만 설치된 패키지): + +`emerge {{[-avc|--ask --verbose --depclean]}}` + +- 패키지 데이터베이스에서 키워드 검색: + +`emerge {{[-S|--searchdesc]}} {{키워드}}` diff --git a/pages.ko/linux/engrampa.md b/pages.ko/linux/engrampa.md new file mode 100644 index 00000000000000..98dd8f16e08a2d --- /dev/null +++ b/pages.ko/linux/engrampa.md @@ -0,0 +1,21 @@ +# engrampa + +> MATE 데스크톱 환경에서 zip/tar 파일로 패키지 파일을 압축. +> 같이 보기: `zip`, `tar`. +> 더 많은 정보: . + +- Engrampa 시작: + +`engrampa` + +- 특정 압축 파일 열기: + +`engrampa {{경로/대상/압축파일1.tar 경로/대상/압축파일2.tar ...}}` + +- 특정 파일 및/또는 폴더를 재귀적으로 압축: + +`engrampa --add-to={{경로/대상/압축된.tar}} {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 압축 파일에서 파일 및/또는 폴더를 특정 경로로 추출: + +`engrampa --extract-to={{경로/대상/폴더}} {{경로/대상/압축파일1.tar 경로/대상/압축파일2.tar ...}}` diff --git a/pages.ko/linux/enum4linux.md b/pages.ko/linux/enum4linux.md new file mode 100644 index 00000000000000..f4a7e5b67771ee --- /dev/null +++ b/pages.ko/linux/enum4linux.md @@ -0,0 +1,24 @@ +# enum4linux + +> 원격 시스템에서 Windows 및 Samba 정보를 열거합니다. +> 더 많은 정보: . + +- 모든 방법을 사용하여 열거 시도: + +`enum4linux -a {{원격_호스트}}` + +- 주어진 로그인 자격 증명을 사용하여 열거: + +`enum4linux -u {{사용자_이름}} -p {{비밀번호}} {{원격_호스트}}` + +- 특정 호스트에서 사용자명 나열: + +`enum4linux -U {{원격_호스트}}` + +- 공유 목록 나열: + +`enum4linux -S {{원격_호스트}}` + +- 운영 체제 정보 가져오기: + +`enum4linux -o {{원격_호스트}}` diff --git a/pages.ko/linux/envycontrol.md b/pages.ko/linux/envycontrol.md new file mode 100644 index 00000000000000..466e3e92ec3a9d --- /dev/null +++ b/pages.ko/linux/envycontrol.md @@ -0,0 +1,28 @@ +# envycontrol + +> Nvidia Optimus 노트북을 위한 GPU 전환 도구. +> 더 많은 정보: . + +- 다른 GPU 모드로 전환: + +`sudo envycontrol -s {{nvidia|integrated|hybrid}}` + +- 디스플레이 관리자 수동 지정: + +`envycontrol --dm` + +- 현재 GPU 모드 확인: + +`sudo envycontrol --query` + +- 설정 초기화: + +`sudo envycontrol --reset` + +- 도움말 표시: + +`envycontrol --help` + +- 버전 표시: + +`envycontrol --version` diff --git a/pages.ko/linux/eopkg.md b/pages.ko/linux/eopkg.md new file mode 100644 index 00000000000000..9750d698d06284 --- /dev/null +++ b/pages.ko/linux/eopkg.md @@ -0,0 +1,16 @@ +# eopkg + +> Solus용 패키지 관리 도구. +> 더 많은 정보: . + +- 특정 패키지 설치: + +`sudo eopkg install {{패키지}}` + +- 모든 패키지 업데이트: + +`sudo eopkg upgrade` + +- 패키지 검색: + +`sudo eopkg search {{검색어}}` diff --git a/pages.ko/linux/equery.md b/pages.ko/linux/equery.md new file mode 100644 index 00000000000000..b09f8b678bf00a --- /dev/null +++ b/pages.ko/linux/equery.md @@ -0,0 +1,24 @@ +# equery + +> Portage 패키지에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- 설치된 모든 패키지 나열: + +`equery list '*'` + +- 포티지 트리와 오버레이에서 설치된 패키지를 검색: + +`equery list -po {{패키지1 패키지2 ...}}` + +- 특정 패키지에 의존하는 모든 패키지 나열: + +`equery depends {{패키지}}` + +- 특정 패키지가 의존하는 모든 패키지 나열: + +`equery depgraph {{패키지}}` + +- 패키지가 설치한 모든 파일 나열: + +`equery files --tree {{패키지}}` diff --git a/pages.ko/linux/esearch.md b/pages.ko/linux/esearch.md new file mode 100644 index 00000000000000..e868f7a229f76c --- /dev/null +++ b/pages.ko/linux/esearch.md @@ -0,0 +1,21 @@ +# esearch + +> 색인된 필드의 용어를 사용하여 새로운 Entrez 검색을 수행합니다. +> `edirect` 패키지의 일부입니다. +> 더 많은 정보: . + +- pubmed 데이터베이스에서 선택적 세로토닌 재흡수 억제제를 검색: + +`esearch -db pubmed -query "{{selective serotonin reuptake inhibitor}}"` + +- 쿼리와 정규 표현식을 사용하여 protein 데이터베이스 검색: + +`esearch -db {{protein}} -query {{'Escherichia*'}}` + +- nuccore 데이터베이스에서 메타데이터에 인슐린과 설치류가 포함된 서열 검색: + +`esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}"` + +- [h]도움말 표시: + +`esearch -h` diff --git a/pages.ko/linux/eselect-kernel.md b/pages.ko/linux/eselect-kernel.md new file mode 100644 index 00000000000000..9687e1ca9f8553 --- /dev/null +++ b/pages.ko/linux/eselect-kernel.md @@ -0,0 +1,20 @@ +# eselect kernel + +> `/usr/src/linux` 심볼릭 링크를 관리하기 위한 `eselect` 모듈. +> 더 많은 정보: . + +- 사용 가능한 커널 심볼릭 링크 대상과 해당 번호 나열: + +`eselect kernel list` + +- `list` 명령어의 이름이나 번호로 `/usr/src/linux` 심볼릭 링크 설정: + +`eselect kernel set {{이름|번호}}` + +- 현재 커널 심볼릭 링크가 가리키는 대상을 표시: + +`eselect kernel show` + +- 현재 실행 중인 커널로 커널 심볼릭 링크 설정: + +`eselect kernel update` diff --git a/pages.ko/linux/eselect-locale.md b/pages.ko/linux/eselect-locale.md new file mode 100644 index 00000000000000..3c6fa292720454 --- /dev/null +++ b/pages.ko/linux/eselect-locale.md @@ -0,0 +1,16 @@ +# eselect locale + +> 시스템 언어를 설정하는 `LANG` 환경 변수를 관리하기 위한 `eselect` 모듈. +> 더 많은 정보: . + +- 사용 가능한 로케일 나열: + +`eselect locale list` + +- `list` 명령의 이름이나 인덱스로 `/etc/profile.env`에 `LANG` 환경 변수 설정: + +`eselect locale set {{이름|인덱스}}` + +- `/etc/profile.env`의 `LANG` 값 표시: + +`eselect locale show` diff --git a/pages.ko/linux/eselect-news.md b/pages.ko/linux/eselect-news.md new file mode 100644 index 00000000000000..9a8a453d00a98c --- /dev/null +++ b/pages.ko/linux/eselect-news.md @@ -0,0 +1,29 @@ +# eselect news + +> Gentoo 뉴스 항목을 읽기 위한 `eselect` 모듈. +> 참고: 저장소가 동기화되고 읽지 않은 뉴스 항목이 있을 때 Portage가 알림을 출력합니다. +> 더 많은 정보: . + +- 사용 가능한 뉴스 항목과 번호 나열 (기본적으로 모두): + +`eselect news list {{all|new}}` + +- 지정된 뉴스 항목 출력: + +`eselect news read {{번호1 번호2 ...}}` + +- 읽지 않은 모든 뉴스 항목 출력: + +`eselect news read` + +- 지정된 뉴스 항목을 읽지 않음으로 표시: + +`eselect news unread {{번호1 번호2 ...}}` + +- 읽은 모든 뉴스 항목 삭제: + +`eselect news purge` + +- 사용 가능한 뉴스 항목 수 출력 (기본적으로 새 항목): + +`eselect news count {{all|new}}` diff --git a/pages.ko/linux/eselect-profile.md b/pages.ko/linux/eselect-profile.md new file mode 100644 index 00000000000000..5d69d693cec81d --- /dev/null +++ b/pages.ko/linux/eselect-profile.md @@ -0,0 +1,16 @@ +# eselect profile + +> 시스템 프로필을 설정하는 `/etc/portage/make.profile` 심볼릭 링크를 관리하는 `eselect` 모듈. +> 더 많은 정보: . + +- 사용 가능한 프로필 심볼릭 링크 대상과 그 번호 나열: + +`eselect profile list` + +- `list` 명령어의 이름 또는 번호로 `/etc/portage/make.profile` 심볼릭 링크 설정: + +`eselect profile set {{이름|번호}}` + +- 현재 시스템 프로필 표시: + +`eselect profile show` diff --git a/pages.ko/linux/eselect-repository.md b/pages.ko/linux/eselect-repository.md new file mode 100644 index 00000000000000..24b0f6c8933bf3 --- /dev/null +++ b/pages.ko/linux/eselect-repository.md @@ -0,0 +1,33 @@ +# eselect repository + +> Portage를 위한 ebuild 저장소를 구성하는 `eselect` 모듈. +> 저장소를 활성화한 후에는 `emerge --sync repo_name`을 실행하여 ebuild를 다운로드해야 합니다. +> 더 많은 정보: . + +- 에 등록된 모든 ebuild 저장소 나열: + +`eselect repository list` + +- 활성화된 저장소 나열: + +`eselect repository list -i` + +- `list` 명령에서 이름이나 색인으로 저장소 활성화: + +`eselect repository enable {{이름|색인}}` + +- 등록되지 않은 저장소 활성화: + +`eselect repository add {{이름}} {{rsync|git|mercurial|svn|...}} {{동기화_URI}}` + +- 저장소의 내용을 제거하지 않고 비활성화: + +`eselect repository disable {{저장소1 저장소2 ...}}` + +- 저장소를 비활성화하고 내용을 제거: + +`eselect repository remove {{저장소1 저장소2 ...}}` + +- 로컬 저장소를 생성하고 활성화: + +`eselect repository create {{이름}} {{경로/대상/저장소}}` diff --git a/pages.ko/linux/eselect.md b/pages.ko/linux/eselect.md new file mode 100644 index 00000000000000..f62037f7b7bbfa --- /dev/null +++ b/pages.ko/linux/eselect.md @@ -0,0 +1,18 @@ +# eselect + +> Gentoo의 다목적 구성 및 관리 도구. +> 개별 관리 작업을 처리하는 다양한 모듈로 구성됩니다. +> `kernel`, `locale`, `profile` 등의 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 설치된 모듈 목록 표시: + +`eselect` + +- 특정 모듈에 대한 문서 보기: + +`tldr eselect {{모듈}}` + +- 특정 모듈에 대한 도움말 메시지 표시: + +`eselect {{모듈}} help` diff --git a/pages.ko/linux/etckeeper.md b/pages.ko/linux/etckeeper.md new file mode 100644 index 00000000000000..66d4e0220884ab --- /dev/null +++ b/pages.ko/linux/etckeeper.md @@ -0,0 +1,24 @@ +# etckeeper + +> 시스템 구성 파일을 Git으로 추적합니다. +> 더 많은 정보: . + +- Git 저장소를 설정하고 다양한 설정 작업 수행(`/etc`에서 실행): + +`sudo etckeeper init` + +- `/etc`의 모든 변경 사항 커밋: + +`sudo etckeeper commit {{메시지}}` + +- 임의의 Git 명령 실행: + +`sudo etckeeper vcs {{status}}` + +- 커밋되지 않은 변경 사항이 있는지 확인(종료 코드만 반환): + +`sudo etckeeper unclean` + +- 기존 저장소를 삭제하고 변경 사항 추적 중지: + +`sudo etckeeper uninit` diff --git a/pages.ko/linux/ethtool.md b/pages.ko/linux/ethtool.md new file mode 100644 index 00000000000000..301d4a377176eb --- /dev/null +++ b/pages.ko/linux/ethtool.md @@ -0,0 +1,28 @@ +# ethtool + +> 네트워크 인터페이스 컨트롤러(NIC) 매개변수를 표시하고 수정합니다. +> 더 많은 정보: . + +- 인터페이스의 현재 설정 표시: + +`ethtool {{eth0}}` + +- 인터페이스의 드라이버 정보 표시: + +`ethtool --driver {{eth0}}` + +- 인터페이스에서 지원되는 모든 기능 표시: + +`ethtool --show-features {{eth0}}` + +- 인터페이스의 네트워크 사용 통계 표시: + +`ethtool --statistics {{eth0}}` + +- 인터페이스의 하나 이상의 LED를 10초 동안 깜박이기: + +`ethtool --identify {{eth0}} {{10}}` + +- 주어진 인터페이스의 링크 속도, 이중 모드 및 매개변수 자동 협상 설정: + +`ethtool -s {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}` diff --git a/pages.ko/linux/eu-readelf.md b/pages.ko/linux/eu-readelf.md new file mode 100644 index 00000000000000..e6429d25d7035b --- /dev/null +++ b/pages.ko/linux/eu-readelf.md @@ -0,0 +1,12 @@ +# eu-readelf + +> ELF 파일에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- ELF 파일에 포함된 모든 추출 가능한 정보 표시: + +`eu-readelf {{[-a|--all]}} {{경로/대상/파일}}` + +- 모든 NOTE 세그먼트/섹션 또는 특정 세그먼트/섹션의 내용 표시: + +`eu-readelf {{[-n--notes]}} {{.note.ABI-tag}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/evtest.md b/pages.ko/linux/evtest.md new file mode 100644 index 00000000000000..5bb944057bc255 --- /dev/null +++ b/pages.ko/linux/evtest.md @@ -0,0 +1,20 @@ +# evtest + +> 입력 장치 드라이버에서 정보를 표시합니다. +> 더 많은 정보: . + +- 감지된 모든 입력 장치를 나열: + +`sudo evtest` + +- 특정 입력 장치에서 이벤트 표시: + +`sudo evtest /dev/input/event{{번호}}` + +- 장치를 독점적으로 점유하여 다른 클라이언트가 이벤트를 수신하지 못하도록 방지: + +`sudo evtest --grab /dev/input/event{{번호}}` + +- 입력 장치에서 특정 키 또는 버튼의 상태를 조회: + +`sudo evtest --query /dev/input/event{{번호}} {{이벤트_타입}} {{이벤트_코드}}` diff --git a/pages.ko/linux/exec.md b/pages.ko/linux/exec.md new file mode 100644 index 00000000000000..4ff6d67af2a027 --- /dev/null +++ b/pages.ko/linux/exec.md @@ -0,0 +1,20 @@ +# exec + +> 자식 프로세스를 생성하지 않고 명령을 실행합니다. +> 더 많은 정보: . + +- 특정 명령 실행: + +`exec {{명령어 -옵션 -플래그}}` + +- (거의) 빈 환경에서 명령 실행: + +`exec -c {{명령어 -옵션 -플래그}}` + +- 로그인 셸로 명령 실행: + +`exec -l {{명령어 -옵션 -플래그}}` + +- 다른 이름으로 명령 실행: + +`exec -a {{이름}} {{명령어 -옵션 -플래그}}` diff --git a/pages.ko/linux/exif.md b/pages.ko/linux/exif.md new file mode 100644 index 00000000000000..732e89c93e358d --- /dev/null +++ b/pages.ko/linux/exif.md @@ -0,0 +1,24 @@ +# exif + +> JPEG 파일의 EXIF 정보를 표시하고 변경. +> 더 많은 정보: . + +- 이미지에서 인식된 모든 EXIF 정보 표시: + +`exif {{경로/대상/이미지.jpg}}` + +- 이미지에 존재하는지 여부와 함께 알려진 EXIF 태그 목록을 표로 표시: + +`exif {{[-l|--list-tags]}} --no-fixup {{이미지.jpg}}` + +- 이미지 썸네일을 `thumbnail.jpg` 파일로 추출: + +`exif {{[-e|--extract-thumbnail]}} {{[-o|--output]}} {{thumbnail.jpg}} {{이미지.jpg}}` + +- 주어진 이미지에서 "Model" 태그의 원시 내용 표시: + +`exif --ifd {{0}} {{[-t|--tag]}} "Model" {{[-m|--machine-readable]}} {{이미지.jpg}}` + +- "Artist" 태그의 값을 John Smith로 변경하고 `new.jpg`로 저장: + +`exif {{[-o|--output]}} {{new.jpg}} --ifd {{0}} {{[-t|--tag]}} "Artist" --set-value "John Smith" --no-fixup {{이미지.jpg}}` diff --git a/pages.ko/linux/exiqgrep.md b/pages.ko/linux/exiqgrep.md new file mode 100644 index 00000000000000..630cb73f7234cb --- /dev/null +++ b/pages.ko/linux/exiqgrep.md @@ -0,0 +1,28 @@ +# exiqgrep + +> Exim 큐 출력에서 `grep`의 기능을 제공하는 Perl 스크립트. +> 더 많은 정보: . + +- 발신자 주소를 대소문자 구분 없이 검색: + +`exiqgrep -f '<{{email@somedomain.com}}>'` + +- 발신자 주소를 검색하고 메시지 ID만 표시: + +`exiqgrep -i -f '<{{email@somedomain.com}}>'` + +- 수신자 주소 검색: + +`exiqgrep -r '{{email@somedomain.com}}'` + +- 큐에서 발신자 주소와 일치하는 모든 메시지 제거: + +`exiqgrep -i -f '<{{email@somedomain.com}}>' | xargs exim -Mrm` + +- 반송된 메시지 테스트: + +`exiqgrep -f '^<>$'` + +- 반송된 메시지 개수 표시: + +`exiqgrep -c -f '^<>$'` diff --git a/pages.ko/linux/expect.md b/pages.ko/linux/expect.md new file mode 100644 index 00000000000000..fbe8a3d89fe7e2 --- /dev/null +++ b/pages.ko/linux/expect.md @@ -0,0 +1,16 @@ +# expect + +> 사용자 입력이 필요한 다른 프로그램과 상호작용하는 스크립트 실행기. +> 더 많은 정보: . + +- 파일에서 expect 스크립트 실행: + +`expect {{경로/대상/파일}}` + +- 지정된 expect 스크립트 실행: + +`expect -c "{{명령어들}}"` + +- 대화형 REPL 모드로 진입 (`exit` 또는 ``로 종료): + +`expect -i` diff --git a/pages.ko/linux/export.md b/pages.ko/linux/export.md new file mode 100644 index 00000000000000..1d7b5ae2163439 --- /dev/null +++ b/pages.ko/linux/export.md @@ -0,0 +1,24 @@ +# export + +> 셸 변수를 하위 프로세스로 내보냅니다. +> 더 많은 정보: . + +- 환경 변수를 설정: + +`export {{변수}}={{값}}` + +- 환경 변수를 해제: + +`export -n {{변수}}` + +- 함수를 하위 프로세스로 내보내기: + +`export -f {{함수_이름}}` + +- 환경 변수 `PATH`에 경로명 추가: + +`export PATH=$PATH:{{경로/대상/추가}}` + +- 셸 명령 형태로 활성화된 내보낸 변수 목록 표시: + +`export -p` diff --git a/pages.ko/linux/extrace.md b/pages.ko/linux/extrace.md new file mode 100644 index 00000000000000..8b8ed76f48fca4 --- /dev/null +++ b/pages.ko/linux/extrace.md @@ -0,0 +1,24 @@ +# extrace + +> exec() 호출을 추적합니다. +> 더 많은 정보: . + +- 시스템에서 발생하는 모든 프로그램 실행을 추적: + +`sudo extrace` + +- 명령을 실행하고 해당 명령의 하위 프로세스만 추적: + +`sudo extrace {{명령}}` + +- 각 프로세스의 현재 작업 디렉터리 출력: + +`sudo extrace -d` + +- 각 실행 파일의 전체 경로 해석: + +`sudo extrace -l` + +- 각 프로세스를 실행하는 사용자 표시: + +`sudo extrace -u` diff --git a/pages.ko/linux/extrepo.md b/pages.ko/linux/extrepo.md new file mode 100644 index 00000000000000..b5f02c17f35e37 --- /dev/null +++ b/pages.ko/linux/extrepo.md @@ -0,0 +1,21 @@ +# extrepo + +> 외부 Debian 저장소 관리. +> Debian에서 외부 저장소를 관리하는 데 사용됩니다. +> 더 많은 정보: . + +- 특정 패키지 검색: + +`extrepo search {{패키지}}` + +- 저장소 활성화: + +`sudo extrepo enable {{저장소_이름}}` + +- 저장소 비활성화: + +`sudo extrepo disable {{저장소_이름}}` + +- 저장소 업데이트: + +`sudo extrepo update {{저장소_이름}}` diff --git a/pages.ko/linux/extundelete.md b/pages.ko/linux/extundelete.md new file mode 100644 index 00000000000000..fc25c0b07367b2 --- /dev/null +++ b/pages.ko/linux/extundelete.md @@ -0,0 +1,21 @@ +# extundelete + +> 저널을 분석하여 ext3 또는 ext4 파티션에서 삭제된 파일을 복구합니다. +> Unix 시간 정보는 `date`, 파티션을 마운트 해제하려면 `umount`도 참조하세요. +> 더 많은 정보: . + +- 디바이스 X의 파티션 N 안의 모든 삭제된 파일 복구: + +`sudo extundelete {{/dev/sdXN}} --restore-all` + +- 루트에 상대적인 경로에서 파일 복구(경로를 `/`로 시작하지 마세요): + +`extundelete {{/dev/sdXN}} --restore-file {{경로/대상/파일}}` + +- 루트에 상대적인 경로에서 폴더 복구(경로를 `/`로 시작하지 마세요): + +`extundelete {{/dev/sdXN}} --restore-directory {{경로/대상/폴더}}` + +- 2020년 1월 1일 이후 삭제된 모든 파일 복구(Unix 시간 기준): + +`extundelete {{/dev/sdXN}} --restore-all --after {{1577840400}}` diff --git a/pages.ko/linux/eyed3.md b/pages.ko/linux/eyed3.md new file mode 100644 index 00000000000000..8b5e647bc2a902 --- /dev/null +++ b/pages.ko/linux/eyed3.md @@ -0,0 +1,20 @@ +# eyeD3 + +> MP3 파일의 메타데이터를 읽고 조작합니다. +> 더 많은 정보: . + +- MP3 파일의 정보 보기: + +`eyeD3 {{파일명.mp3}}` + +- MP3 파일의 제목 설정: + +`eyeD3 {{[-t|--title]}} "{{제목}}" {{파일명.mp3}}` + +- 폴더 내 모든 MP3 파일의 앨범 설정: + +`eyeD3 {{[-A|--album]}} "{{앨범_이름}}" {{*.mp3}}` + +- MP3 파일의 앞면 커버 이미지 설정: + +`eyeD3 --add-image {{앞면_커버.jpeg}}:FRONT_COVER: {{파일명.mp3}}` diff --git a/pages.ko/linux/f5fpc.md b/pages.ko/linux/f5fpc.md new file mode 100644 index 00000000000000..56a708bca86da6 --- /dev/null +++ b/pages.ko/linux/f5fpc.md @@ -0,0 +1,24 @@ +# f5fpc + +> BIG-IP Edge의 독점 상업용 SSL VPN 클라이언트. +> 더 많은 정보: . + +- 새 VPN 연결 열기: + +`sudo f5fpc --start` + +- 특정 호스트에 새 VPN 연결 열기: + +`sudo f5fpc --start --host {{host.example.com}}` + +- 사용자명 지정 (암호는 사용자에게 요청됨): + +`sudo f5fpc --start --host {{host.example.com}} --username {{사용자}}` + +- 현재 VPN 상태 표시: + +`sudo f5fpc --info` + +- VPN 연결 종료: + +`sudo f5fpc --stop` diff --git a/pages.ko/linux/factorio.md b/pages.ko/linux/factorio.md new file mode 100644 index 00000000000000..b0c0bca92467d0 --- /dev/null +++ b/pages.ko/linux/factorio.md @@ -0,0 +1,12 @@ +# Factorio + +> 헤드리스 Factorio 서버를 생성하고 시작합니다. +> 더 많은 정보: . + +- 새 저장 파일 생성: + +`{{경로/대상/factorio}} --create {{경로/대상/저장_파일.zip}}` + +- Factorio 서버 시작: + +`{{경로/대상/factorio}} --start-server {{경로/대상/저장_파일.zip}}` diff --git a/pages.ko/linux/fail2ban-client.md b/pages.ko/linux/fail2ban-client.md new file mode 100644 index 00000000000000..d9b0bee3b7fa00 --- /dev/null +++ b/pages.ko/linux/fail2ban-client.md @@ -0,0 +1,16 @@ +# fail2ban-client + +> fail2ban 서버를 구성하고 제어. +> 더 많은 정보: . + +- 감옥 서비스의 현재 상태 검색: + +`fail2ban-client status {{감옥}}` + +- 지정된 IP를 감옥 서비스의 차단 목록에서 제거: + +`fail2ban-client set {{감옥}} unbanip {{IP}}` + +- fail2ban 서버가 실행 중인지 확인: + +`fail2ban-client ping` diff --git a/pages.ko/linux/faillock.md b/pages.ko/linux/faillock.md new file mode 100644 index 00000000000000..7ab3347d5b7130 --- /dev/null +++ b/pages.ko/linux/faillock.md @@ -0,0 +1,24 @@ +# faillock + +> 인증 실패 기록 파일을 표시하고 수정합니다. +> 더 많은 정보: . + +- 현재 사용자의 로그인 실패 목록 표시: + +`faillock` + +- 현재 사용자의 실패 기록 초기화: + +`faillock --reset` + +- 모든 사용자의 로그인 실패 목록 표시: + +`sudo faillock` + +- 특정 사용자의 로그인 실패 목록 표시: + +`sudo faillock --user {{사용자}}` + +- 특정 사용자의 실패 기록 초기화: + +`sudo faillock --user {{사용자}} --reset` diff --git a/pages.ko/linux/fakeroot.md b/pages.ko/linux/fakeroot.md new file mode 100644 index 00000000000000..650a486fbaaeb7 --- /dev/null +++ b/pages.ko/linux/fakeroot.md @@ -0,0 +1,28 @@ +# fakeroot + +> 파일 조작을 위해 루트 권한을 가장하는 환경에서 명령을 실행. +> 더 많은 정보: . + +- fakeroot로 기본 셸 시작: + +`fakeroot` + +- fakeroot로 명령 실행: + +`fakeroot -- {{명령어}} {{명령_인자들}}` + +- fakeroot로 명령을 실행하고 종료 시 환경을 파일에 저장: + +`fakeroot -s {{경로/대상/파일}} -- {{명령어}} {{명령_인자들}}` + +- fakeroot 환경을 불러와 명령을 실행: + +`fakeroot -i {{경로/대상/파일}} -- {{명령어}} {{명령_인자들}}` + +- 파일의 실제 소유권을 유지하면서 명령 실행 (루트 소유로 가장하지 않음): + +`fakeroot --unknown-is-real -- {{명령어}} {{명령_인자들}}` + +- 도움말 표시: + +`fakeroot --help` diff --git a/pages.ko/linux/faketime.md b/pages.ko/linux/faketime.md new file mode 100644 index 00000000000000..4fd58e98fd9973 --- /dev/null +++ b/pages.ko/linux/faketime.md @@ -0,0 +1,16 @@ +# faketime + +> 명령어에 대해 시스템 시간을 속입니다. +> 더 많은 정보: . + +- `date` 명령의 결과를 출력하기 전에 시간을 오늘 저녁으로 설정: + +`faketime '{{today 23:30}}' {{date}}` + +- 어제를 현재 날짜로 사용하는 새로운 Bash 셸 열기: + +`faketime '{{yesterday}}' {{bash}}` + +- 다음 주 금요일 밤에 프로그램이 어떻게 작동할지 시뮬레이션: + +`faketime '{{next Friday 1 am}}' {{경로/대상/프로그램}}` diff --git a/pages.ko/linux/fallocate.md b/pages.ko/linux/fallocate.md new file mode 100644 index 00000000000000..dfe770c156e6f9 --- /dev/null +++ b/pages.ko/linux/fallocate.md @@ -0,0 +1,17 @@ +# fallocate + +> 파일에 디스크 공간을 예약하거나 할당 해제. +> 이 도구는 공간을 할당할 때 0으로 초기화하지 않습니다. +> 더 많은 정보: . + +- 700 MiB의 디스크 공간을 차지하는 파일 예약: + +`fallocate --length {{700M}} {{경로/대상/파일}}` + +- 이미 할당된 파일을 200 MiB 줄이기: + +`fallocate --collapse-range --length {{200M}} {{경로/대상/파일}}` + +- 파일에서 100 MiB 이후의 20 MB 공간 줄이기: + +`fallocate --collapse-range --offset {{100M}} --length {{20M}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/farge.md b/pages.ko/linux/farge.md new file mode 100644 index 00000000000000..1dc2f77d535530 --- /dev/null +++ b/pages.ko/linux/farge.md @@ -0,0 +1,24 @@ +# farge + +> 화면의 특정 픽셀 색상을 16진수 또는 RGB 형식으로 표시합니다. +> 더 많은 정보: . + +- 픽셀의 색상을 작은 미리보기 창에 16진수 값으로 표시하고, 이 값을 클립보드에 복사: + +`farge` + +- 미리보기 창 없이 픽셀의 16진수 값을 클립보드에 복사: + +`farge --no-preview` + +- 픽셀의 16진수 값을 `stdout`에 출력하고, 이 값을 클립보드에 복사: + +`farge --stdout` + +- 픽셀의 RGB 값을 `stdout`에 출력하고, 이 값을 클립보드에 복사: + +`farge --rgb --stdout` + +- 픽셀의 16진수 값을 5000밀리초 동안 알림으로 표시하고, 이 값을 클립보드에 복사: + +`farge --notify --expire-time 5000` diff --git a/pages.ko/linux/fatlabel.md b/pages.ko/linux/fatlabel.md new file mode 100644 index 00000000000000..2bb3a31f46edd9 --- /dev/null +++ b/pages.ko/linux/fatlabel.md @@ -0,0 +1,12 @@ +# fatlabel + +> FAT32 파티션의 레이블을 가져오거나 설정. +> 더 많은 정보: . + +- FAT32 파티션의 레이블 가져오기: + +`fatlabel {{/dev/sda1}}` + +- FAT32 파티션의 레이블 설정: + +`fatlabel {{/dev/sdc3}} "{{새_레이블}}"` diff --git a/pages.ko/linux/fatrace.md b/pages.ko/linux/fatrace.md new file mode 100644 index 00000000000000..a3b543e257917b --- /dev/null +++ b/pages.ko/linux/fatrace.md @@ -0,0 +1,12 @@ +# fatrace + +> 파일 접근 이벤트 보고. +> 더 많은 정보: . + +- 모든 마운트된 파일시스템의 파일 접근 이벤트를 `stdout`에 출력: + +`sudo fatrace` + +- 현재 디렉토리의 마운트에서 파일 접근 이벤트를 타임스탬프와 함께 `stdout`에 출력: + +`sudo fatrace {{[-c|--current-mount]}} {{[-t|--timestamp]}}` diff --git a/pages.ko/linux/fcrackzip.md b/pages.ko/linux/fcrackzip.md new file mode 100644 index 00000000000000..8ccc8270c5f5bb --- /dev/null +++ b/pages.ko/linux/fcrackzip.md @@ -0,0 +1,28 @@ +# fcrackzip + +> ZIP 압축 파일 비밀번호 크랙 도구. +> 더 많은 정보: . + +- 4에서 8자리의 길이를 가지며, 영숫자만 포함된 비밀번호를 무차별 대입으로 찾기 (순서 중요): + +`fcrackzip --brute-force --length 4-8 --charset aA1 {{압축_파일}}` + +- 자세히 보기 모드에서 3자리의 길이를 가지며, 소문자, `$` 및 `%`만 포함된 비밀번호를 무차별 대입으로 찾기: + +`fcrackzip -v --brute-force --length 3 --charset a:$% {{압축_파일}}` + +- 소문자와 특수 문자만 포함된 비밀번호를 무차별 대입으로 찾기: + +`fcrackzip --brute-force --length 4 --charset a! {{압축_파일}}` + +- 숫자만 포함된 비밀번호를 `12345`부터 시작하여 무차별 대입으로 찾기: + +`fcrackzip --brute-force --length 5 --charset 1 --init-password 12345 {{압축_파일}}` + +- 사전 목록을 사용하여 비밀번호 크랙: + +`fcrackzip --use-unzip --dictionary --init-password {{단어목록}} {{압축_파일}}` + +- 크랙 성능 벤치마크: + +`fcrackzip --benchmark` diff --git a/pages.ko/linux/fdisk.md b/pages.ko/linux/fdisk.md new file mode 100644 index 00000000000000..872f6a3306f6bf --- /dev/null +++ b/pages.ko/linux/fdisk.md @@ -0,0 +1,37 @@ +# fdisk + +> 하드 디스크의 파티션 테이블과 파티션을 관리합니다. +> 같이 보기: `partprobe`. +> 더 많은 정보: . + +- 파티션 나열: + +`sudo fdisk -l` + +- 파티션 조작기 시작: + +`sudo fdisk {{/dev/sdX}}` + +- 디스크 파티션 중, 파티션 생성: + +`` + +- 디스크 파티션 중, 삭제할 파티션 선택: + +`` + +- 디스크 파티션 중, 파티션 테이블 보기: + +`

` + +- 디스크 파티션 중, 변경사항 저장: + +`` + +- 디스크 파티션 중, 변경사항 취소: + +`` + +- 디스크 파티션 중, 도움말 메뉴 열기: + +`` diff --git a/pages.ko/linux/feedreader.md b/pages.ko/linux/feedreader.md new file mode 100644 index 00000000000000..c86d899451aaaa --- /dev/null +++ b/pages.ko/linux/feedreader.md @@ -0,0 +1,25 @@ +# feedreader + +> GUI 데스크톱 RSS 클라이언트. +> 참고: FeedReader는 더 이상 유지 관리되지 않습니다. +> 더 많은 정보: . + +- 읽지 않은 기사 수 출력: + +`feedreader --unreadCount` + +- 팔로우할 피드의 URL 추가: + +`feedreader --addFeed={{피드_url}}` + +- 특정 기사 URL로 가져오기: + +`feedreader --grabArticle={{기사_url}}` + +- 특정 기사에서 모든 이미지 다운로드: + +`feedreader --url={{피드_url}} --grabImages={{기사_경로}}` + +- URL에서 미디어 재생: + +`feedreader --playMedia={{기사_url}}` diff --git a/pages.ko/linux/filefrag.md b/pages.ko/linux/filefrag.md new file mode 100644 index 00000000000000..d5a6507e23b8ea --- /dev/null +++ b/pages.ko/linux/filefrag.md @@ -0,0 +1,28 @@ +# filefrag + +> 특정 파일의 단편화 정도를 보고. +> 더 많은 정보: . + +- 하나 이상의 [f]파일에 대한 보고서 표시: + +`filefrag {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 1024 바이트 블록 크기를 사용하여 보고서 표시: + +`filefrag -k {{경로/대상/파일}}` + +- 특정 블록 크기를 사용하여 보고서 표시: + +`filefrag -b{{1024|1K|1M|1G|...}} {{경로/대상/파일}}` + +- 매핑 요청 전 [f]파일 동기화: + +`filefrag -s {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 확장 속성의 매핑 표시: + +`filefrag -x {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 자세한 정보를 포함한 보고서 표시: + +`filefrag -v {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/linux/finch.md b/pages.ko/linux/finch.md new file mode 100644 index 00000000000000..9485490240978a --- /dev/null +++ b/pages.ko/linux/finch.md @@ -0,0 +1,32 @@ +# finch + +> 콘솔 기반 모듈식 메시징 클라이언트. +> 더 많은 정보: . + +- finch 실행: + +`finch` + +- 종료: + +`{{|}}` + +- 작업 메뉴 표시: + +`` + +- n번째 창으로 이동: + +`` + +- 현재 창 닫기: + +`` + +- 창 이동 시작, ``동, 완료 시 `` 누르기: + +`` + +- 창 크기 조정 시작, ``로 크기 조정, 완료 시 `` 누르기: + +`` diff --git a/pages.ko/linux/findfs.md b/pages.ko/linux/findfs.md new file mode 100644 index 00000000000000..aedb7b7147ef99 --- /dev/null +++ b/pages.ko/linux/findfs.md @@ -0,0 +1,20 @@ +# findfs + +> 파일시스템을 레이블 또는 UUID로 찾습니다. +> 더 많은 정보: . + +- 파일시스템 레이블로 블록 장치 검색: + +`findfs LABEL={{레이블}}` + +- 파일시스템 UUID로 검색: + +`findfs UUID={{uuid}}` + +- 파티션 레이블로 검색 (GPT 또는 MAC 파티션 테이블): + +`findfs PARTLABEL={{파티션_레이블}}` + +- 파티션 UUID로 검색 (GPT 파티션 테이블 전용): + +`findfs PARTUUID={{파티션_uuid}}` diff --git a/pages.ko/linux/findmnt.md b/pages.ko/linux/findmnt.md new file mode 100644 index 00000000000000..ecd654840a782a --- /dev/null +++ b/pages.ko/linux/findmnt.md @@ -0,0 +1,28 @@ +# findmnt + +> 파일 시스템을 찾습니다. +> 더 많은 정보: . + +- 모든 마운트된 파일 시스템 나열: + +`findmnt` + +- 디바이스 검색: + +`findmnt {{/dev/sdb1}}` + +- 마운트 지점 검색: + +`findmnt {{/}}` + +- 특정 유형의 파일 시스템 찾기: + +`findmnt -t {{ext4}}` + +- 특정 레이블이 있는 파일 시스템 찾기: + +`findmnt LABEL={{BigStorage}}` + +- 마운트 테이블 내용을 자세히 확인하고 `/etc/fstab` 검증: + +`findmnt --verify --verbose` diff --git a/pages.ko/linux/firejail.md b/pages.ko/linux/firejail.md new file mode 100644 index 00000000000000..50dd59b142af15 --- /dev/null +++ b/pages.ko/linux/firejail.md @@ -0,0 +1,36 @@ +# firejail + +> Linux의 내장 기능을 사용하여 프로세스를 안전하게 컨테이너로 샌드박스화합니다. +> 더 많은 정보: . + +- 데스크톱 환경에 firejail 통합: + +`sudo firecfg` + +- 제한된 Mozilla Firefox 열기: + +`firejail {{firefox}}` + +- 알려진 인터페이스와 주소에서 제한된 Apache 서버 시작: + +`firejail --net={{eth0}} --ip={{192.168.1.244}} {{/etc/init.d/apache2}} {{start}}` + +- 실행 중인 샌드박스 나열: + +`firejail --list` + +- 실행 중인 샌드박스의 네트워크 활동 나열: + +`firejail --netstats` + +- 실행 중인 샌드박스 종료: + +`firejail --shutdown={{7777}}` + +- 인터넷 탐색을 위한 제한된 Firefox 세션 실행: + +`firejail --seccomp --private --private-dev --private-tmp --protocol=inet firefox --new-instance --no-remote --safe-mode --private-window` + +- 사용자 정의 호스트 파일 사용(`/etc/hosts` 파일 무시): + +`firejail --hosts-file={{~/myhosts}} {{curl http://mysite.arpa}}` diff --git a/pages.ko/linux/firewall-cmd.md b/pages.ko/linux/firewall-cmd.md new file mode 100644 index 00000000000000..f1635a6d29efa3 --- /dev/null +++ b/pages.ko/linux/firewall-cmd.md @@ -0,0 +1,37 @@ +# firewall-cmd + +> firewalld 명령줄 클라이언트. +> 런타임 또는 영구 방화벽 구성 상태를 조회 및 수정. +> 더 많은 정보: . + +- 런타임 구성 상태에서 사용 가능한 모든 방화벽 영역과 규칙 조회: + +`firewall-cmd --list-all-zones` + +- 인터페이스를 block 영역으로 영구적으로 이동하여 모든 통신 차단: + +`firewall-cmd --permanent --zone={{block}} --change-interface={{enp1s0}}` + +- 지정된 영역에서 서비스의 포트를 영구적으로 열기 (예: `public` 영역에서 포트 443): + +`firewall-cmd --permanent --zone={{public}} --add-service={{https}}` + +- 지정된 영역에서 서비스의 포트를 영구적으로 닫기 (예: `public` 영역에서 포트 80): + +`firewall-cmd --permanent --zone={{public}} --remove-service={{http}}` + +- 지정된 영역에서 들어오는 패킷의 포트를 영구적으로 포워딩 (예: `public` 영역에서 포트 443을 8443으로): + +`firewall-cmd --permanent --zone={{public}} --add-rich-rule='rule family="{{ipv4|ipv6}}" forward-port port="{{443}}" protocol="{{udp|tcp}}" to-port="{{8443}}"'` + +- firewalld를 다시 로드하여 런타임 변경 사항을 제거하고 영구 구성을 즉시 적용: + +`firewall-cmd --reload` + +- 런타임 구성 상태를 영구 구성으로 저장: + +`firewall-cmd --runtime-to-permanent` + +- 비상시 패닉 모드 활성화. 모든 트래픽이 차단되고 활성 연결이 종료됨: + +`firewall-cmd --panic-on` diff --git a/pages.ko/linux/fixfiles.md b/pages.ko/linux/fixfiles.md new file mode 100644 index 00000000000000..fb293fd3527a44 --- /dev/null +++ b/pages.ko/linux/fixfiles.md @@ -0,0 +1,36 @@ +# fixfiles + +> 파일의 SELinux 보안 컨텍스트를 수정합니다. +> 더 많은 정보: . + +- onboot와 함께 지정되면, 이 fixfiles는 `/.autorelabel` 파일에 현재 날짜를 기록하여 나중에 레이블링 속도를 높이는 데 사용할 수 있습니다. restore와 함께 사용하면 오늘 수정된 파일에만 영향을 줍니다: + +`fixfiles -B` + +- 사용자 지정 가능한 파일에 대해 `file_context`와 일치하도록 컨텍스트를 [F]orce 리셋: + +`fixfiles -F` + +- 확인 없이 `/tmp` 폴더를 삭제: + +`fixfiles -f` + +- [R]pm 데이터베이스를 사용하여 특정 패키지 내 모든 파일을 찾아 파일 컨텍스트 복원: + +`fixfiles -R {{rpm_패키지1,rpm_패키지2 ...}}` + +- `PREVIOUS_FILECONTEXT` 파일과 현재 설치된 파일의 차이를 비교하고, 영향을 받은 모든 파일의 컨텍스트를 복원: + +`fixfiles -C PREVIOUS_FILECONTEXT` + +- find `--newermt` 명령어에 전달될 특정 날짜 이후에 생성된 파일에만 작동: + +`fixfiles -N {{YYYY-MM-DD HH:MM}}` + +- 다시 레이블링하기 전에 파일 시스템을 [M]ount 바인딩하여, 마운트된 파일 또는 폴더의 컨텍스트를 수정할 수 있도록 설정: + +`fixfiles -M` + +- 진행 상태에서 자세히로 [v]자세히 설정을 변경하고 `-p` 대신 `-v`로 `restorecon` 실행: + +`fixfiles -v` diff --git a/pages.ko/linux/flameshot.md b/pages.ko/linux/flameshot.md new file mode 100644 index 00000000000000..017abce5edb0cb --- /dev/null +++ b/pages.ko/linux/flameshot.md @@ -0,0 +1,37 @@ +# flameshot + +> GUI가 있는 스크린샷 도구. +> 텍스트, 도형, 색상, imgur 같은 기본 이미지 편집을 지원합니다. +> 더 많은 정보: . + +- 전체 화면 스크린샷 생성: + +`flameshot full` + +- 상호작용 방식으로 스크린샷 생성: + +`flameshot gui` + +- 특정 경로에 스크린샷 저장: + +`flameshot gui --path {{경로/대상/폴더}}` + +- 간소화된 모드로 상호작용 방식의 스크린샷 생성: + +`flameshot launcher` + +- 특정 모니터에서 스크린샷 생성: + +`flameshot screen --number {{2}}` + +- 스크린샷을 생성하고 `stdout`에 출력: + +`flameshot gui --raw` + +- 스크린샷을 생성하고 클립보드에 복사: + +`flameshot gui --clipboard` + +- 특정 밀리초 지연 후 스크린샷 생성: + +`flameshot full --delay {{5000}}` diff --git a/pages.ko/linux/flash.md b/pages.ko/linux/flash.md new file mode 100644 index 00000000000000..b97a2836becf23 --- /dev/null +++ b/pages.ko/linux/flash.md @@ -0,0 +1,24 @@ +# flash + +> 터미널에서 플래시 카드. +> 더 많은 정보: . + +- 사용 가능한 플래시 카드 덱 선택 메뉴 열기: + +`flash` + +- 플래시 카드 시스템에 대한 정보 표시: + +`flash -i` + +- 기본 미리보기 도구를 `bat`에서 `cat`으로 변경: + +`flash -p {{cat}}` + +- 도움말 표시: + +`flash -h` + +- 버전 정보 표시: + +`flash -v` diff --git a/pages.ko/linux/flashrom.md b/pages.ko/linux/flashrom.md new file mode 100644 index 00000000000000..617860bbd16be4 --- /dev/null +++ b/pages.ko/linux/flashrom.md @@ -0,0 +1,24 @@ +# flashrom + +> 플래시 칩을 읽고, 쓰고, 검증하고, 지웁니다. +> 더 많은 정보: . + +- 칩을 검사하여 배선이 올바른지 확인: + +`flashrom --programmer {{프로그래머}}` + +- 플래시를 읽고 파일로 저장: + +`flashrom -p {{프로그래머}} --read {{경로/대상/파일}}` + +- 파일을 플래시에 쓰기: + +`flashrom -p {{프로그래머}} --write {{경로/대상/파일}}` + +- 플래시를 파일과 대조하여 검증: + +`flashrom -p {{프로그래머}} --verify {{경로/대상/파일}}` + +- Raspberry Pi를 사용하여 칩 검사: + +`flashrom -p {{linux_spi:dev=/dev/spidev0.0}}` diff --git a/pages.ko/linux/flatpak-builder.md b/pages.ko/linux/flatpak-builder.md new file mode 100644 index 00000000000000..f150db1bfe320f --- /dev/null +++ b/pages.ko/linux/flatpak-builder.md @@ -0,0 +1,24 @@ +# flatpak-builder + +> 애플리케이션의 의존성 빌드를 지원합니다. +> 더 많은 정보: . + +- Flatpak을 빌드하고 새 저장소에 내보내기: + +`flatpak-builder {{경로/대상/빌드_디렉토리}} {{경로/대상/매니페스트}}` + +- Flatpak을 빌드하고 지정된 저장소에 내보내기: + +`flatpak-builder --repo={{저장소_이름}} {{경로/대상/빌드_디렉토리}} {{경로/대상/매니페스트}}` + +- Flatpak을 빌드하고 로컬에 설치: + +`flatpak-builder --install {{경로/대상/빌드_디렉토리}} {{경로/대상/매니페스트}}` + +- Flatpak을 빌드하고 서명하여 지정된 저장소에 내보내기: + +`flatpak-builder --gpg-sign={{키_아이디}} --repo={{저장소_이름}} {{경로/대상/매니페스트}}` + +- 애플리케이션 샌드박스 내부에서 설치 없이 셸 실행: + +`flatpak-builder --run {{경로/대상/빌드_디렉토리}} {{경로/대상/매니페스트}} {{sh}}` diff --git a/pages.ko/linux/flatpak-run.md b/pages.ko/linux/flatpak-run.md new file mode 100644 index 00000000000000..d059d614508814 --- /dev/null +++ b/pages.ko/linux/flatpak-run.md @@ -0,0 +1,16 @@ +# flatpak run + +> Flatpak 애플리케이션 및 런타임 실행. +> 더 많은 정보: . + +- 설치된 애플리케이션 실행: + +`flatpak run {{com.example.app}}` + +- 특정 브랜치(예: stable, beta, master)에서 설치된 애플리케이션 실행: + +`flatpak run --branch={{stable|beta|master|...}} {{com.example.app}}` + +- Flatpak 안에서 인터랙티브 셸 실행: + +`flatpak run --command={{sh}} {{com.example.app}}` diff --git a/pages.ko/linux/flatpak.md b/pages.ko/linux/flatpak.md new file mode 100644 index 00000000000000..58209a7f4a5a6e --- /dev/null +++ b/pages.ko/linux/flatpak.md @@ -0,0 +1,36 @@ +# flatpak + +> flatpak 애플리케이션 및 런타임을 빌드, 설치, 실행. +> 더 많은 정보: . + +- 설치된 애플리케이션 실행: + +`flatpak run {{com.example.app}}` + +- 원격 소스로부터 애플리케이션 설치: + +`flatpak install {{원격_소스_이름}} {{com.example.app}}` + +- 설치된 애플리케이션 목록 보기 (런타임 제외): + +`flatpak list --app` + +- 설치된 모든 애플리케이션 및 런타임 업데이트: + +`flatpak update` + +- 원격 소스 추가: + +`flatpak remote-add --if-not-exists {{원격_소스_이름}} {{원격_소스_URL}}` + +- 설치된 애플리케이션 제거: + +`flatpak remove {{com.example.app}}` + +- 사용하지 않는 모든 애플리케이션 제거: + +`flatpak remove --unused` + +- 설치된 애플리케이션 정보 표시: + +`flatpak info {{com.example.app}}` diff --git a/pages.ko/linux/flock.md b/pages.ko/linux/flock.md new file mode 100644 index 00000000000000..fc9ffbdea73474 --- /dev/null +++ b/pages.ko/linux/flock.md @@ -0,0 +1,17 @@ +# flock + +> 쉘 스크립트에서 잠금을 관리. +> 명령의 하나의 프로세스만 실행 중인지 확인하는 데 사용할 수 있음. +> 더 많은 정보: . + +- 다른 사람이 잠금을 요구하지 않는 즉시 파일 잠금과 함께 명령을 실행: + +`flock {{경로/대상/락.lock}} {{[-c|--command]}} "{{명령어}}"` + +- 파일 잠금을 사용하여 명령을 실행하고, 잠금이 존재하지 않으면 종료: + +`flock {{경로/대상/락.lock}} {{[-n|--nonblock]}} {{[-c|--command]}} "{{명령어}}"` + +- 파일 잠금을 사용하여, 명령을 실행하고 잠금이 존재하면 않으면 특정 오류 코드로 종료: + +`flock {{경로/대상/락.lock}} {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{에러_코드}} {{[-c|--command]}} "{{명령어}}"` diff --git a/pages.ko/linux/fluidsynth.md b/pages.ko/linux/fluidsynth.md new file mode 100644 index 00000000000000..0ebb4df31fc771 --- /dev/null +++ b/pages.ko/linux/fluidsynth.md @@ -0,0 +1,8 @@ +# fluidsynth + +> MIDI 파일에서 오디오 합성. +> 더 많은 정보: . + +- MIDI 파일 재생: + +`fluidsynth {{[-a|--audio-driver]}} {{pipewire|pulseaudio}} {{경로/대상/사운드폰트.sf2}} {{경로/대상/파일.midi}}` diff --git a/pages.ko/linux/fold.md b/pages.ko/linux/fold.md new file mode 100644 index 00000000000000..e95fda9cac18d2 --- /dev/null +++ b/pages.ko/linux/fold.md @@ -0,0 +1,16 @@ +# fold + +> 고정 폭 출력 장치를 위한 긴 줄을 접습니다. +> 더 많은 정보: . + +- 고정 폭으로 줄을 접기: + +`fold {{[-w|--width]}} {{폭}} {{경로/대상/파일}}` + +- 바이트 단위로 폭 계산 (기본값은 열 단위로 계산): + +`fold {{[-b|--bytes]}} {{[-w|--width]}} {{바이트_단위_폭}} {{경로/대상/파일}}` + +- 폭 제한 내에서 가장 오른쪽 공백 뒤에서 줄을 나누기: + +`fold {{[-s|--spaces]}} {{[-w|--width]}} {{폭}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/foreman.md b/pages.ko/linux/foreman.md new file mode 100644 index 00000000000000..9afe29290129d2 --- /dev/null +++ b/pages.ko/linux/foreman.md @@ -0,0 +1,28 @@ +# foreman + +> Procfile 기반 애플리케이션 관리 도구. +> 더 많은 정보: . + +- 현재 디렉토리의 Procfile로 애플리케이션 시작: + +`foreman start` + +- 지정된 Procfile로 애플리케이션 시작: + +`foreman start -f {{Procfile}}` + +- 특정 애플리케이션 시작: + +`foreman start {{프로세스}}` + +- Procfile 형식 검증: + +`foreman check` + +- 프로세스 환경과 함께 일회성 명령 실행: + +`foreman run {{명령}}` + +- "worker"라는 이름의 프로세스를 제외한 모든 프로세스 시작: + +`foreman start -m all=1,{{worker}}=0` diff --git a/pages.ko/linux/fprintd-delete.md b/pages.ko/linux/fprintd-delete.md new file mode 100644 index 00000000000000..f5cd44e12bde6d --- /dev/null +++ b/pages.ko/linux/fprintd-delete.md @@ -0,0 +1,16 @@ +# fprintd-delete + +> 데이터베이스에서 지문을 제거합니다. +> 더 많은 정보: . + +- 특정 사용자의 모든 지문 제거: + +`fprintd-delete {{사용자명}}` + +- 특정 사용자의 특정 지문 제거: + +`fprintd-delete {{사용자명}} --finger {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|right-index-finger|right-middle-finger|right-ring-finger|right-little-finger}}` + +- 도움말 표시: + +`fprintd-delete` diff --git a/pages.ko/linux/fprintd-enroll.md b/pages.ko/linux/fprintd-enroll.md new file mode 100644 index 00000000000000..111548b56fbed6 --- /dev/null +++ b/pages.ko/linux/fprintd-enroll.md @@ -0,0 +1,24 @@ +# fprintd-enroll + +> 지문을 데이터베이스에 등록합니다. +> 더 많은 정보: . + +- 현재 사용자의 오른손 검지 지문 등록: + +`fprintd-enroll` + +- 현재 사용자의 특정 손가락 지문 등록: + +`fprintd-enroll --finger {{왼쪽-엄지|왼쪽-검지|왼쪽-중지|왼쪽-약지|왼쪽-새끼|오른쪽-엄지|오른쪽-검지|오른쪽-중지|오른쪽-약지|오른쪽-새끼}}` + +- 특정 사용자의 오른손 검지 지문 등록: + +`fprintd-enroll {{사용자명}}` + +- 특정 사용자의 특정 손가락 지문 등록: + +`fprintd-enroll --finger {{손가락_이름}} {{사용자명}}` + +- 도움말 표시: + +`fprintd-enroll --help` diff --git a/pages.ko/linux/fprintd-list.md b/pages.ko/linux/fprintd-list.md new file mode 100644 index 00000000000000..474eb3fb440e7f --- /dev/null +++ b/pages.ko/linux/fprintd-list.md @@ -0,0 +1,16 @@ +# fprintd-list + +> 등록된 지문 목록을 나열합니다. +> 더 많은 정보: . + +- 특정 사용자에 대한 등록된 지문을 나열: + +`fprintd-list {{사용자명}}` + +- 하나 이상의 사용자에 대한 등록된 지문을 나열: + +`fprintd-list {{사용자명1 사용자명2 ...}}` + +- 도움말 표시: + +`fprintd-list` diff --git a/pages.ko/linux/fprintd-verify.md b/pages.ko/linux/fprintd-verify.md new file mode 100644 index 00000000000000..d4a67c38a51476 --- /dev/null +++ b/pages.ko/linux/fprintd-verify.md @@ -0,0 +1,28 @@ +# fprintd-verify + +> 데이터베이스에 저장된 지문을 검증합니다. +> 더 많은 정보: . + +- 현재 사용자의 모든 저장된 지문 검증: + +`fprintd-verify` + +- 현재 사용자의 특정 지문 검증: + +`fprintd-verify --finger {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|right-index-finger|right-middle-finger|right-ring-finger|right-little-finger}}` + +- 특정 사용자의 지문 검증: + +`fprint-verify {{사용자명}}` + +- 특정 사용자의 특정 지문 검증: + +`fprintd-verify --finger {{손가락_이름}} {{사용자명}}` + +- 현재 사용자의 데이터베이스에 저장된 지문과 일치하지 않으면 프로세스 실패: + +`fprint-verify --g-fatal-warnings` + +- 도움말 표시: + +`fprintd-verify --help` diff --git a/pages.ko/linux/fprintd.md b/pages.ko/linux/fprintd.md new file mode 100644 index 00000000000000..3fd5912c27a3af --- /dev/null +++ b/pages.ko/linux/fprintd.md @@ -0,0 +1,8 @@ +# fprintd + +> 지문 관리 데몬. +> 더 많은 정보: . + +- `fprintd`의 man 페이지 표시: + +`man fprintd` diff --git a/pages.ko/linux/free.md b/pages.ko/linux/free.md new file mode 100644 index 00000000000000..d5fb3e1cacb88e --- /dev/null +++ b/pages.ko/linux/free.md @@ -0,0 +1,20 @@ +# free + +> 시스템의 사용 가능 및 사용 중인 메모리 양을 표시합니다. +> 더 많은 정보: . + +- 시스템 메모리 표시: + +`free` + +- 메모리를 바이트/KB/MB/GB 단위로 표시: + +`free -{{b|k|m|g}}` + +- 사람이 읽기 쉬운 단위로 메모리 표시: + +`free {{[-h|--human]}}` + +- 매 2초마다 출력 새로고침: + +`free {{[-s|--seconds]}} {{2}}` diff --git a/pages.ko/linux/fsck.md b/pages.ko/linux/fsck.md new file mode 100644 index 00000000000000..8240e8fc85a249 --- /dev/null +++ b/pages.ko/linux/fsck.md @@ -0,0 +1,16 @@ +# fsck + +> 파일 시스템의 무결성을 검사하거나 복구합니다. 명령어 실행 시 파일 시스템은 마운트 해제되어 있어야 합니다. +> 더 많은 정보: . + +- 파일 시스템 `/dev/sdXN`의 손상된 블록을 보고: + +`sudo fsck {{/dev/sdXN}}` + +- 파일 시스템 `/dev/sdXN`의 손상된 블록을 보고, 각 블록을 복구할지 사용자에게 상호작용으로 선택하게 함: + +`sudo fsck -r {{/dev/sdXN}}` + +- 파일 시스템 `/dev/sdXN`의 손상된 블록을 보고, 자동으로 복구: + +`sudo fsck -a {{/dev/sdXN}}` diff --git a/pages.ko/linux/fscrypt.md b/pages.ko/linux/fscrypt.md new file mode 100644 index 00000000000000..0e5c6162fb7749 --- /dev/null +++ b/pages.ko/linux/fscrypt.md @@ -0,0 +1,20 @@ +# fscrypt + +> Linux 파일 시스템 암호화를 관리하는 Go 도구. +> 더 많은 정보: . + +- fscrypt를 사용하기 위해 루트 파일 시스템 준비: + +`fscrypt setup` + +- 디렉터리에 파일 시스템 암호화 활성화: + +`fscrypt encrypt {{경로/대상/폴더}}` + +- 암호화된 디렉터리 잠금 해제: + +`fscrypt unlock {{경로/대상/암호화된_폴더}}` + +- 암호화된 디렉터리 잠금: + +`fscrypt lock {{경로/대상/암호화된_폴더}}` diff --git a/pages.ko/linux/fstrim.md b/pages.ko/linux/fstrim.md new file mode 100644 index 00000000000000..c5c28c49d24e2f --- /dev/null +++ b/pages.ko/linux/fstrim.md @@ -0,0 +1,17 @@ +# fstrim + +> 마운트된 파일 시스템에서 사용되지 않는 블록을 삭제합니다. +> SSD 및 microSD 카드와 같은 플래시 메모리 장치에서만 지원됩니다. +> 더 많은 정보: . + +- 지원되는 모든 마운트된 파티션의 사용되지 않는 블록 삭제: + +`sudo fstrim --all` + +- 지정된 파티션의 사용되지 않는 블록 삭제: + +`sudo fstrim {{/}}` + +- 삭제 후 통계 표시: + +`sudo fstrim --verbose {{/}}` diff --git a/pages.ko/linux/fuser.md b/pages.ko/linux/fuser.md new file mode 100644 index 00000000000000..05bc173af35a56 --- /dev/null +++ b/pages.ko/linux/fuser.md @@ -0,0 +1,28 @@ +# fuser + +> 파일이나 소켓을 현재 사용 중인 프로세스 ID를 표시합니다. +> 더 많은 정보: . + +- 파일이나 폴더에 접근 중인 프로세스 찾기: + +`fuser {{경로/대상/파일_또는_폴더}}` + +- 더 많은 필드 표시 (`USER`, `PID`, `ACCESS`, `COMMAND`): + +`fuser --verbose {{경로/대상/파일_또는_폴더}}` + +- TCP 소켓을 사용하는 프로세스 식별: + +`fuser --namespace tcp {{포트}}` + +- 파일이나 폴더에 접근 중인 모든 프로세스 종료 (`SIGKILL` 신호 전송): + +`fuser --kill {{경로/대상/파일_또는_폴더}}` + +- 특정 파일이나 폴더가 포함된 파일 시스템에 접근 중인 프로세스 찾기: + +`fuser --mount {{경로/대상/파일_또는_폴더}}` + +- 특정 포트에서 TCP 연결을 가진 모든 프로세스 종료: + +`fuser --kill {{포트}}/tcp` diff --git a/pages.ko/linux/fwupdmgr.md b/pages.ko/linux/fwupdmgr.md new file mode 100644 index 00000000000000..70cd7aa118a412 --- /dev/null +++ b/pages.ko/linux/fwupdmgr.md @@ -0,0 +1,20 @@ +# fwupdmgr + +> `fwupd`를 사용하여 UEFI를 포함한 장치 펌웨어 업데이트. +> 더 많은 정보: . + +- fwupd에 의해 감지된 모든 장치 표시: + +`fwupdmgr get-devices` + +- LVFS에서 최신 펌웨어 메타데이터 다운로드: + +`fwupdmgr refresh` + +- 시스템의 장치에 사용할 수 있는 업데이트 나열: + +`fwupdmgr get-updates` + +- 펌웨어 업데이트 설치: + +`fwupdmgr update` diff --git a/pages.ko/linux/gbp.md b/pages.ko/linux/gbp.md new file mode 100644 index 00000000000000..7192da4573a0ab --- /dev/null +++ b/pages.ko/linux/gbp.md @@ -0,0 +1,24 @@ +# gbp + +> Git을 사용하여 Debian 패키지 빌드 시스템과 통합하는 시스템. +> 더 많은 정보: . + +- 기존 Debian 패키지를 gbp로 변환: + +`gbp import-dsc {{경로/대상/패키지.dsc}}` + +- 현재 디렉토리에서 기본 빌더(`debuild`)를 사용하여 패키지 빌드: + +`gbp buildpackage -jauto -us -uc` + +- Debian Bullseye용 `pbuilder` 환경에서 패키지 빌드: + +`DIST={{bullseye}} ARCH={{amd64}} gbp buildpackage -jauto -us -uc --git-builder={{git-pbuilder}}` + +- `.changes` 파일에서 패키지를 소스 전용 업로드로 지정 (참조: ): + +`gbp buildpackage -jauto -us -uc --changes-options={{-S}}` + +- 새로운 업스트림 릴리스 가져오기: + +`gbp import-orig --pristine-tar {{경로/대상/패키지.tar.gz}}` diff --git a/pages.ko/linux/gcov.md b/pages.ko/linux/gcov.md new file mode 100644 index 00000000000000..2716c0b05facc0 --- /dev/null +++ b/pages.ko/linux/gcov.md @@ -0,0 +1,29 @@ +# gcov + +> 프로그램의 테스트되지 않은 부분을 발견하는 코드 커버리지 분석 및 프로파일링 도구. +> 코드 세그먼트의 실행 빈도로 주석이 추가된 소스 코드의 복사본도 표시합니다. +> 더 많은 정보: . + +- `file.cpp.gcov`라는 이름의 커버리지 보고서 생성: + +`gcov {{경로/대상/file.cpp}}` + +- 각 기본 블록에 대한 개별 실행 횟수 기록: + +`gcov --all-blocks {{경로/대상/파일.cpp}}` + +- 분기 빈도를 출력 파일에 기록하고 요약 정보를 백분율로 `stdout`에 출력: + +`gcov --branch-probabilities {{경로/대상/파일.cpp}}` + +- 백분율이 아닌 실행된 분기의 수로 분기 빈도 기록: + +`gcov --branch-counts {{경로/대상/파일.cpp}}` + +- `gcov` 출력 파일 생성 안 함: + +`gcov --no-output {{경로/대상/파일.cpp}}` + +- 파일 수준 및 함수 수준 요약을 기록: + +`gcov --function-summaries {{경로/대상/파일.cpp}}` diff --git a/pages.ko/linux/gcrane-completion.md b/pages.ko/linux/gcrane-completion.md new file mode 100644 index 00000000000000..5e17ef0cb0209e --- /dev/null +++ b/pages.ko/linux/gcrane-completion.md @@ -0,0 +1,37 @@ +# gcrane completion + +> 지정된 셸에 대한 gcrane 자동 완성 스크립트를 생성합니다. +> 사용 가능한 셸은 `bash`, `fish`, `powershell`, `zsh`입니다. +> 더 많은 정보: . + +- 셸에 대한 자동 완성 스크립트 생성: + +`gcrane completion {{셸_이름}}` + +- 완성 설명 비활성화: + +`gcrane completion {{셸_이름}} --no-descriptions` + +- 현재 셸 세션에서 완성 로드 (bash/zsh): + +`source <(gcrane completion bash/zsh)` + +- 현재 셸 세션에서 완성 로드 (fish): + +`gcrane completion fish | source` + +- 새로운 세션마다 완성 로드 (bash): + +`gcrane completion bash > /etc/bash_completion.d/gcrane` + +- 새로운 세션마다 완성 로드 (zsh): + +`gcrane completion zsh > "${fpath[1]}/_gcrane"` + +- 새로운 세션마다 완성 로드 (fish): + +`gcrane completion fish > ~/.config/fish/completions/gcrane.fish` + +- 도움말 표시: + +`gcrane completion {{셸_이름}} {{[-h|--help]}}` diff --git a/pages.ko/linux/gdebi.md b/pages.ko/linux/gdebi.md new file mode 100644 index 00000000000000..826ffa5fe5b497 --- /dev/null +++ b/pages.ko/linux/gdebi.md @@ -0,0 +1,24 @@ +# gdebi + +> `.deb` 파일을 쉽게 설치합니다. +> 더 많은 정보: . + +- 로컬 `.deb` 패키지를 설치하고 의존성을 해결하여 설치: + +`gdebi {{경로/대상/패키지.deb}}` + +- 진행 정보를 표시하지 않음: + +`gdebi {{경로/대상/패키지.deb}} --quiet` + +- APT 구성 옵션 설정: + +`gdebi {{경로/대상/패키지.deb}} --option={{APT_옵션}}` + +- 대체 루트 디렉토리 사용: + +`gdebi {{경로/대상/패키지.deb}} --root={{경로/대상/루트_폴더}}` + +- 버전 표시: + +`gdebi --version` diff --git a/pages.ko/linux/gedit.md b/pages.ko/linux/gedit.md new file mode 100644 index 00000000000000..a17749cf486f1f --- /dev/null +++ b/pages.ko/linux/gedit.md @@ -0,0 +1,20 @@ +# gedit + +> GNOME 데스크톱 프로젝트의 텍스트 편집기. +> 더 많은 정보: . + +- 텍스트 파일 열기: + +`gedit {{경로/대상/파일}}` + +- 여러 텍스트 파일 열기: + +`gedit {{파일1 파일2 ...}}` + +- 특정 인코딩으로 텍스트 파일 열기: + +`gedit --encoding {{UTF-8}} {{경로/대상/파일}}` + +- 지원되는 인코딩 목록 표시: + +`gedit --list-encodings` diff --git a/pages.ko/linux/genfstab.md b/pages.ko/linux/genfstab.md new file mode 100644 index 00000000000000..f267c476a3ba43 --- /dev/null +++ b/pages.ko/linux/genfstab.md @@ -0,0 +1,20 @@ +# genfstab + +> Arch Linux 설치 스크립트로, fstab 파일에 추가할 수 있는 출력 생성. +> 더 많은 정보: . + +- 볼륨 레이블을 기반으로 fstab 호환 출력을 표시: + +`genfstab -L {{경로/대상/마운트_포인트}}` + +- 볼륨 UUID를 기반으로 fstab 호환 출력을 표시: + +`genfstab -U {{경로/대상/마운트_포인트}}` + +- 일반적으로 fstab 파일을 생성하는 방법, 루트 권한 필요: + +`genfstab -U {{/mnt}} >> {{/mnt/etc/fstab}}` + +- 볼륨을 fstab 파일에 추가하여 자동으로 마운트: + +`genfstab -U {{경로/대상/마운트_포인트}} | sudo tee -a /etc/fstab` diff --git a/pages.ko/linux/genie.md b/pages.ko/linux/genie.md new file mode 100644 index 00000000000000..4a204bae0cd50e --- /dev/null +++ b/pages.ko/linux/genie.md @@ -0,0 +1,17 @@ +# genie + +> WSL(Windows Subsystem for Linux)에서 systemd를 실행하기 위해 "bottle" 네임스페이스를 설정하고 사용합니다. +> 이미 실행 중인 배포판이 아닌 Windows에서 이를 실행하려면 `wsl`을 앞에 붙입니다. +> 더 많은 정보: . + +- 보틀 초기화 (시작 시 한 번 실행): + +`genie -i` + +- 보틀 내부에서 로그인 셸 실행: + +`genie -s` + +- 보틀 내부에서 특정 명령 실행: + +`genie -c {{명령}}` diff --git a/pages.ko/linux/genisoimage.md b/pages.ko/linux/genisoimage.md new file mode 100644 index 00000000000000..a50aa94afb7150 --- /dev/null +++ b/pages.ko/linux/genisoimage.md @@ -0,0 +1,12 @@ +# genisoimage + +> ISO9660/Joliet/HFS 하이브리드 파일 시스템을 생성하는 프리마스터링 프로그램. +> 더 많은 정보: . + +- 주어진 소스 디렉토리에서 ISO 이미지 생성: + +`genisoimage -o {{내_이미지.iso}} {{경로/대상/소스_폴더}}` + +- ISO9660 파일 시스템에 대해 작은 겉보기 크기를 보고하여 2GiB보다 큰 파일을 포함한 ISO 이미지 생성: + +`genisoimage -o -allow-limited-size {{내_이미지.iso}} {{경로/대상/소스_폴더}}` diff --git a/pages.ko/linux/genkernel.md b/pages.ko/linux/genkernel.md new file mode 100644 index 00000000000000..7d53abce872d3b --- /dev/null +++ b/pages.ko/linux/genkernel.md @@ -0,0 +1,24 @@ +# genkernel + +> Gentoo Linux에서 커널을 컴파일하고 설치하는 유틸리티. +> 더 많은 정보: . + +- 일반 커널을 자동으로 컴파일하고 설치: + +`sudo genkernel all` + +- bzImage|initramfs|kernel|ramdisk만 빌드하고 설치: + +`sudo genkernel {{bzImage|initramfs|kernel|ramdisk}}` + +- 컴파일 및 설치 전에 커널 설정을 변경: + +`sudo genkernel --menuconfig all` + +- 사용자 지정 이름의 커널 생성: + +`sudo genkernel --kernname={{사용자_지정_이름}} all` + +- 기본 디렉토리 `/usr/src/linux` 외부의 커널 소스를 사용: + +`sudo genkernel --kerneldir={{경로/대상/폴더}} all` diff --git a/pages.ko/linux/getcap.md b/pages.ko/linux/getcap.md new file mode 100644 index 00000000000000..eb85cfa8583ecf --- /dev/null +++ b/pages.ko/linux/getcap.md @@ -0,0 +1,16 @@ +# getcap + +> 지정한 각 파일의 이름과 권한을 표시하는 명령어. +> 더 많은 정보: . + +- 지정한 파일들의 권한 확인: + +`getcap {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 지정한 폴더 내 모든 파일의 권한을 재귀적으로 확인: + +`getcap -r {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 권한이 설정되지 않은 경우에도 모든 검색된 항목 표시: + +`getcap -v {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/linux/getconf.md b/pages.ko/linux/getconf.md new file mode 100644 index 00000000000000..026f2fd6272002 --- /dev/null +++ b/pages.ko/linux/getconf.md @@ -0,0 +1,24 @@ +# getconf + +> Linux 시스템에서 구성 값을 가져옵니다. +> 더 많은 정보: . + +- 사용 가능한 모든 구성 값 나열: + +`getconf -a` + +- 특정 [d]irectory의 구성 값 나열: + +`getconf -a {{경로/대상/폴더}}` + +- 시스템이 32비트인지 64비트인지 확인: + +`getconf LONG_BIT` + +- 현재 사용자가 동시에 실행할 수 있는 프로세스 수 확인: + +`getconf CHILD_MAX` + +- 모든 구성 값을 나열하고 `grep` 명령어로 특정 패턴 찾기 (예: MAX가 포함된 모든 값): + +`getconf -a | grep MAX` diff --git a/pages.ko/linux/getenforce.md b/pages.ko/linux/getenforce.md new file mode 100644 index 00000000000000..b14896792da3cf --- /dev/null +++ b/pages.ko/linux/getenforce.md @@ -0,0 +1,9 @@ +# getenforce + +> SELinux의 현재 모드(즉, enforcing, permissive, 또는 disabled)를 확인합니다. +> 같이 보기: `setenforce`, `semanage-permissive`. +> 더 많은 정보: . + +- SELinux의 현재 모드 표시: + +`getenforce` diff --git a/pages.ko/linux/getent.md b/pages.ko/linux/getent.md new file mode 100644 index 00000000000000..484d17656468e6 --- /dev/null +++ b/pages.ko/linux/getent.md @@ -0,0 +1,24 @@ +# getent + +> Name Service Switch 라이브러리에서 항목을 가져옵니다. +> 더 많은 정보: . + +- 모든 그룹 나열: + +`getent group` + +- 그룹의 멤버 확인: + +`getent group {{그룹_이름}}` + +- 모든 서비스 나열: + +`getent services` + +- UID로 사용자명 찾기: + +`getent passwd 1000` + +- 역방향 DNS 조회 수행: + +`getent hosts {{호스트}}` diff --git a/pages.ko/linux/getfacl.md b/pages.ko/linux/getfacl.md new file mode 100644 index 00000000000000..abcc34f1f86f1a --- /dev/null +++ b/pages.ko/linux/getfacl.md @@ -0,0 +1,16 @@ +# getfacl + +> 파일 접근 제어 목록(ACL) 가져오기. +> 더 많은 정보: . + +- 파일 접근 제어 목록 표시: + +`getfacl {{경로/대상/파일_또는_폴더}}` + +- 사용자 및 그룹 ID를 [n]숫자로 표시하여 파일 접근 제어 목록 표시: + +`getfacl --numeric {{경로/대상/파일_또는_폴더}}` + +- [t]표 형식으로 파일 접근 제어 목록 표시: + +`getfacl --tabular {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/linux/getfattr.md b/pages.ko/linux/getfattr.md new file mode 100644 index 00000000000000..4d1e4d8f52aa4f --- /dev/null +++ b/pages.ko/linux/getfattr.md @@ -0,0 +1,12 @@ +# getfattr + +> 파일 이름 및 확장 속성을 표시합니다. +> 더 많은 정보: . + +- 파일의 모든 확장 속성을 가져와서 자세히 표시: + +`getfattr -d {{경로/대상/파일}}` + +- 파일의 특정 속성 가져오기: + +`getfattr -n user.{{속성_이름}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/getopt.md b/pages.ko/linux/getopt.md new file mode 100644 index 00000000000000..bf5b1c8de2f672 --- /dev/null +++ b/pages.ko/linux/getopt.md @@ -0,0 +1,20 @@ +# getopt + +> 명령줄 인수를 파싱합니다. +> 더 많은 정보: . + +- 축약형으로 `verbose`/`version` 플래그를 파싱: + +`getopt {{[-o|--options]}} vV {{[-l|--longoptions]}} verbose,version -- --version --verbose` + +- 축약형 `-f`로 필수 인자를 갖는 `--file` 옵션 추가: + +`getopt {{[-o|--options]}} f: {{[-l|--longoptions]}} file: -- --file=somefile` + +- 축약형 `-v`로 선택적 인자를 갖는 `--verbose` 옵션 추가 및 비옵션 매개변수 `arg` 전달: + +`getopt {{[-o|--options]}} v:: {{[-l|--longoptions]}} verbose:: -- --verbose arg` + +- `-r` 및 `--verbose` 플래그, 선택적 인자를 갖는 `--accept` 옵션, 필수 인자를 갖는 `--target` 옵션을 축약형으로 추가: + +`getopt {{[-o|--options]}} rv::s::t: {{[-l|--longoptions]}} verbose,source::,target: -- -v --target target` diff --git a/pages.ko/linux/getsebool.md b/pages.ko/linux/getsebool.md new file mode 100644 index 00000000000000..31a823facb577d --- /dev/null +++ b/pages.ko/linux/getsebool.md @@ -0,0 +1,17 @@ +# getsebool + +> SELinux 부울 값 가져오기. +> 같이 보기: `semanage-boolean`, `setsebool`. +> 더 많은 정보: . + +- 특정 부울의 현재 설정 보기: + +`getsebool {{httpd_can_connect_ftp}}` + +- 모든 부울의 현재 설정 보기: + +`getsebool -a` + +- 설명과 함께 모든 부울의 현재 설정 보기: + +`sudo semanage boolean {{[-l|--list]}}` diff --git a/pages.ko/linux/gif2webp.md b/pages.ko/linux/gif2webp.md new file mode 100644 index 00000000000000..6d56301f4c0cdd --- /dev/null +++ b/pages.ko/linux/gif2webp.md @@ -0,0 +1,8 @@ +# gif2webp + +> GIF 이미지를 WebP로 변환. +> 더 많은 정보: . + +- GIF 이미지를 WebP로 변환: + +`gif2webp {{경로/대상/이미지.gif}} -o {{경로/대상/이미지.webp}}` diff --git a/pages.ko/linux/gio-trash.md b/pages.ko/linux/gio-trash.md new file mode 100644 index 00000000000000..9801b811cf5aea --- /dev/null +++ b/pages.ko/linux/gio-trash.md @@ -0,0 +1,17 @@ +# gio trash + +> 파일을 휴지통으로 이동합니다. +> GNOME에서 휴지통을 관리하는 데 사용됩니다. +> 더 많은 정보: . + +- 특정 파일을 휴지통으로 이동: + +`gio trash {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}}` + +- 휴지통 항목 나열: + +`gio trash --list` + +- ID를 사용하여 휴지통에서 특정 항목 복원: + +`gio trash trash://{{id}}` diff --git a/pages.ko/linux/gnome-calculator.md b/pages.ko/linux/gnome-calculator.md new file mode 100644 index 00000000000000..ad9f3f0846d8ba --- /dev/null +++ b/pages.ko/linux/gnome-calculator.md @@ -0,0 +1,16 @@ +# gnome-calculator + +> GNOME 데스크탑 환경의 공식 계산기. +> 더 많은 정보: . + +- GNOME 계산기 GUI 실행: + +`gnome-calculator` + +- 데스크탑 애플리케이션을 실행하지 않고 지정된 방정식 해결: + +`gnome-calculator --solve {{2^5 * 2 + 5}}` + +- 버전 표시: + +`gnome-calculator --version` diff --git a/pages.ko/linux/gnome-extensions.md b/pages.ko/linux/gnome-extensions.md new file mode 100644 index 00000000000000..6570fda731c98e --- /dev/null +++ b/pages.ko/linux/gnome-extensions.md @@ -0,0 +1,32 @@ +# gnome-extensions + +> 터미널에서 GNOME 확장 관리. +> 더 많은 정보: . + +- 설치된 모든 확장 나열: + +`gnome-extensions list` + +- 특정 확장에 대한 정보 표시: + +`gnome-extensions info "{{확장_ID}}"` + +- 특정 확장 활성화: + +`gnome-extensions enable "{{확장_ID}}"` + +- 특정 확장 비활성화: + +`gnome-extension disable "{{확장_ID}}"` + +- 특정 확장 제거: + +`gnome-extension uninstall "{{확장_ID}}"` + +- 특정 하위 명령(예: `list`)에 대한 도움말 표시: + +`gnome-extensions help {{하위_명령}}` + +- 버전 표시: + +`gnome-extensions version` diff --git a/pages.ko/linux/gnome-screenshot.md b/pages.ko/linux/gnome-screenshot.md new file mode 100644 index 00000000000000..e2a35acfc1da44 --- /dev/null +++ b/pages.ko/linux/gnome-screenshot.md @@ -0,0 +1,36 @@ +# gnome-screenshot + +> 화면, 창 또는 사용자 정의 영역을 캡처하고 이미지를 파일로 저장합니다. +> 더 많은 정보: . + +- 스크린샷을 찍고 기본 위치, 일반적으로 `~/Pictures`에 저장: + +`gnome-screenshot` + +- 스크린샷을 찍고 지정한 파일 위치에 저장: + +`gnome-screenshot --file {{경로/대상/파일}}` + +- 스크린샷을 찍고 클립보드에 저장: + +`gnome-screenshot --clipboard` + +- 지정한 초 후에 스크린샷 찍기: + +`gnome-screenshot --delay {{5}}` + +- GNOME Screenshot GUI 실행: + +`gnome-screenshot --interactive` + +- 현재 창의 스크린샷을 찍고 지정한 파일 위치에 저장: + +`gnome-screenshot --window --file {{경로/대상/파일}}` + +- 지정한 초 후에 스크린샷 찍고 클립보드에 저장: + +`gnome-screenshot --delay {{10}} --clipboard` + +- 버전 표시: + +`gnome-screenshot --version` diff --git a/pages.ko/linux/gnome-software.md b/pages.ko/linux/gnome-software.md new file mode 100644 index 00000000000000..be9a7c31762b16 --- /dev/null +++ b/pages.ko/linux/gnome-software.md @@ -0,0 +1,20 @@ +# gnome-software + +> 애플리케이션을 추가 및 제거하고 시스템을 업데이트합니다. +> 더 많은 정보: . + +- GNOME Software GUI를 실행 중이 아니면 시작: + +`gnome-software` + +- GNOME Software GUI를 실행 중이 아니면 시작하고, 지정된 페이지로 이동: + +`gnome-software --mode {{업데이트|업데이트됨|설치됨|개요}}` + +- GNOME Software GUI를 실행 중이 아니면 시작하고, 지정된 패키지의 세부 정보를 보기: + +`gnome-software --details {{패키지}}` + +- 버전 표시: + +`gnome-software --version` diff --git a/pages.ko/linux/gnome-terminal.md b/pages.ko/linux/gnome-terminal.md new file mode 100644 index 00000000000000..07c4e968ad545b --- /dev/null +++ b/pages.ko/linux/gnome-terminal.md @@ -0,0 +1,20 @@ +# gnome-terminal + +> GNOME 터미널 에뮬레이터. +> 더 많은 정보: . + +- 새 GNOME 터미널 창 열기: + +`gnome-terminal` + +- 새 터미널 창에서 특정 명령 실행: + +`gnome-terminal -- {{명령어}}` + +- 마지막으로 열린 창에 새 탭 열기: + +`gnome-terminal --tab` + +- 새 탭의 제목 설정: + +`gnome-terminal --tab --title "{{제목}}"` diff --git a/pages.ko/linux/goaccess.md b/pages.ko/linux/goaccess.md new file mode 100644 index 00000000000000..b5693ead4f7e08 --- /dev/null +++ b/pages.ko/linux/goaccess.md @@ -0,0 +1,20 @@ +# goaccess + +> 오픈 소스 실시간 웹 로그 분석기. +> 더 많은 정보: . + +- 대화형 모드로 하나 이상의 로그 파일 분석: + +`goaccess {{경로/대상/로그파일1 경로/대상/파일2 ...}}` + +- 특정 로그 포맷(또는 "combined" 같은 미리 정의된 포맷) 사용: + +`goaccess {{경로/대상/로그파일}} --log-format={{포맷}}` + +- `stdin`에서 로그 분석: + +`tail -f {{경로/대상/로그파일}} | goaccess -` + +- 로그를 실시간으로 분석하여 HTML 파일로 작성: + +`goaccess {{경로/대상/로그파일}} --output {{경로/대상/파일.html}} --real-time-html` diff --git a/pages.ko/linux/goldeneye.py.md b/pages.ko/linux/goldeneye.py.md new file mode 100644 index 00000000000000..1ee2f3c1976cf2 --- /dev/null +++ b/pages.ko/linux/goldeneye.py.md @@ -0,0 +1,24 @@ +# goldeneye.py + +> HTTP DoS 테스트 도구. +> 더 많은 정보: . + +- 특정 웹사이트를 테스트: + +`./goldeneye.py {{url}}` + +- 100개의 사용자 에이전트와 200개의 동시 소켓으로 특정 웹사이트를 테스트: + +`./goldeneye.py {{url}} --useragents 100 --sockets 200` + +- SSL 인증서를 확인하지 않고 특정 웹사이트를 테스트: + +`./goldeneye.py {{url}} --nosslcheck` + +- 디버그 모드로 특정 웹사이트를 테스트: + +`./goldeneye.py {{url}} --debug` + +- 도움말 표시: + +`./goldeneye.py --help` diff --git a/pages.ko/linux/goobook.md b/pages.ko/linux/goobook.md new file mode 100644 index 00000000000000..18500b897abfc6 --- /dev/null +++ b/pages.ko/linux/goobook.md @@ -0,0 +1,12 @@ +# goobook + +> `mutt` 또는 명령줄에서 Google 연락처에 접근. +> 더 많은 정보: . + +- OAuth2를 사용하여 `goobook`이 Google 연락처에 접근 허용: + +`goobook authenticate` + +- 모든 연락처를 XML 형식으로 출력(`stdout`): + +`goobook dump_contacts` diff --git a/pages.ko/linux/google-chrome-stable.md b/pages.ko/linux/google-chrome-stable.md new file mode 100644 index 00000000000000..1933f7fd23b75b --- /dev/null +++ b/pages.ko/linux/google-chrome-stable.md @@ -0,0 +1,8 @@ +# google-chrome-stable + +> 이 명령은 `chromium`의 별칭입니다. +> 더 많은 정보: . + +- 원본 명령에 대한 문서 보기: + +`tldr chromium` diff --git a/pages.ko/linux/gpasswd.md b/pages.ko/linux/gpasswd.md new file mode 100644 index 00000000000000..f4c580f70e41d3 --- /dev/null +++ b/pages.ko/linux/gpasswd.md @@ -0,0 +1,24 @@ +# gpasswd + +> `/etc/group` 및 `/etc/gshadow`를 관리합니다. +> 더 많은 정보: . + +- 그룹 관리자 정의: + +`sudo gpasswd {{[-A|--administrators]}} {{사용자1,사용자2}} {{그룹}}` + +- 그룹 구성원 목록 설정: + +`sudo gpasswd {{[-M|--members]}} {{사용자1,사용자2}} {{그룹}}` + +- 지정된 그룹에 비밀번호 생성: + +`gpasswd {{그룹}}` + +- 지정된 그룹에 사용자 추가: + +`gpasswd {{[-a|--add]}} {{사용자}} {{그룹}}` + +- 지정된 그룹에서 사용자 제거: + +`gpasswd {{[-d|--delete]}} {{사용자}} {{그룹}}` diff --git a/pages.ko/linux/gpclient.md b/pages.ko/linux/gpclient.md new file mode 100644 index 00000000000000..c9f121490704c6 --- /dev/null +++ b/pages.ko/linux/gpclient.md @@ -0,0 +1,32 @@ +# gpclient + +> OpenConnect를 통해 Linux에서 GlobalProtect VPN에 연결. +> 더 많은 정보: . + +- 포털 서버를 사용하여 GlobalProtect VPN에 연결: + +`gpclient connect {{vpn_게이트웨이_URL}}` + +- 현재 연결된 VPN 서버에서 연결 해제: + +`gpclient disconnect` + +- VPN 관리를 위한 그래픽 사용자 인터페이스(GUI) 실행: + +`gpclient launch-gui` + +- OpenSSL 우회 방법을 사용하여 레거시 재협상 오류 우회: + +`gpclient connect --fix-openssl {{vpn_게이트웨이_URL}}` + +- 연결 중 TLS 오류 무시: + +`gpclient connect --ignore-tls-errors {{vpn_게이트웨이_URL}}` + +- 버전 표시: + +`gpclient --version` + +- 명령에 대한 도움말 표시: + +`gpclient help {{명령}}` diff --git a/pages.ko/linux/grim.md b/pages.ko/linux/grim.md new file mode 100644 index 00000000000000..88eb38a0184c8a --- /dev/null +++ b/pages.ko/linux/grim.md @@ -0,0 +1,28 @@ +# grim + +> Wayland 컴포지터에서 이미지를 캡처(스크린샷)합니다. +> 더 많은 정보: . + +- 모든 출력의 스크린샷 캡처: + +`grim` + +- 특정 출력의 스크린샷 캡처: + +`grim -o {{경로/대상/출력_파일}}` + +- 특정 영역의 스크린샷 캡처: + +`grim -g "{{x_위치}},{{y_위치}} {{너비}}x{{높이}}"` + +- 특정 영역을 선택하고 스크린샷 캡처 (slurp 사용): + +`grim -g "{{$(slurp)}}"` + +- 사용자 정의 파일명 사용: + +`grim "{{경로/대상/파일.png}}"` + +- 스크린샷을 캡처하고 클립보드에 복사: + +`grim - | {{클립보드_관리자}}` diff --git a/pages.ko/linux/groupadd.md b/pages.ko/linux/groupadd.md new file mode 100644 index 00000000000000..8c4d30d92d16d1 --- /dev/null +++ b/pages.ko/linux/groupadd.md @@ -0,0 +1,17 @@ +# groupadd + +> 시스템에 사용자 그룹 추가. +> 같이 보기: `groups`, `groupdel`, `groupmod`. +> 더 많은 정보: . + +- 새 그룹 생성: + +`sudo groupadd {{그룹_이름}}` + +- 새 시스템 그룹 생성: + +`sudo groupadd {{[-r|--system]}} {{그룹_이름}}` + +- 특정 그룹 ID로 새 그룹 생성: + +`sudo groupadd {{[-g|--gid]}} {{ID}} {{그룹_이름}}` diff --git a/pages.ko/linux/groupdel.md b/pages.ko/linux/groupdel.md new file mode 100644 index 00000000000000..f14bb9c530c3bb --- /dev/null +++ b/pages.ko/linux/groupdel.md @@ -0,0 +1,9 @@ +# groupdel + +> 기존 사용자 그룹을 시스템에서 삭제합니다. +> 같이 보기: `groups`, `groupadd`, `groupmod`. +> 더 많은 정보: . + +- 기존 그룹 삭제: + +`sudo groupdel {{그룹_이름}}` diff --git a/pages.ko/linux/groupmod.md b/pages.ko/linux/groupmod.md new file mode 100644 index 00000000000000..2060332d760dea --- /dev/null +++ b/pages.ko/linux/groupmod.md @@ -0,0 +1,13 @@ +# groupmod + +> 시스템에서 기존 사용자 그룹을 수정합니다. +> 같이 보기: `groups`, `groupadd`, `groupdel`. +> 더 많은 정보: . + +- 그룹 이름 변경: + +`sudo groupmod {{[-n|--new-name]}} {{새_그룹}} {{그룹_이름}}` + +- 그룹 ID 변경: + +`sudo groupmod {{[-g|--gid]}} {{새_ID}} {{그룹_이름}}` diff --git a/pages.ko/linux/grub-bios-setup.md b/pages.ko/linux/grub-bios-setup.md new file mode 100644 index 00000000000000..49884168522e60 --- /dev/null +++ b/pages.ko/linux/grub-bios-setup.md @@ -0,0 +1,17 @@ +# grub-bios-setup + +> GRUB을 BIOS 구성으로 사용하는 장치 설정. +> 대부분의 경우 `grub-bios-setup` 대신 `grub-install`을 사용해야 합니다. +> 더 많은 정보: . + +- GRUB으로 부팅하도록 장치 설정: + +`grub-bios-setup {{/dev/sdX}}` + +- 문제가 감지되어도 설치 강행: + +`grub-bios-setup --force {{/dev/sdX}}` + +- 특정 디렉터리에 GRUB 설치: + +`grub-bios-setup --directory={{/boot/grub}} {{/dev/sdX}}` diff --git a/pages.ko/linux/grub-editenv.md b/pages.ko/linux/grub-editenv.md new file mode 100644 index 00000000000000..15a6e0c9a28c4b --- /dev/null +++ b/pages.ko/linux/grub-editenv.md @@ -0,0 +1,20 @@ +# grub-editenv + +> GRUB 환경 변수를 편집. +> 더 많은 정보: . + +- 기본 부팅 항목 설정 (부팅 항목이 이미 존재한다고 가정): + +`grub-editenv /boot/grub/grubenv set default={{Ubuntu}}` + +- `timeout` 변수의 현재 값 표시: + +`grub-editenv /boot/grub/grubenv list timeout` + +- `saved_entry` 변수를 기본값으로 재설정: + +`grub-editenv /boot/grub/grubenv unset saved_entry` + +- 커널 명령줄에 "quiet splash" 추가: + +`grub-editenv /boot/grub/grubenv list kernel_cmdline` diff --git a/pages.ko/linux/grub-file.md b/pages.ko/linux/grub-file.md new file mode 100644 index 00000000000000..733a05209b447b --- /dev/null +++ b/pages.ko/linux/grub-file.md @@ -0,0 +1,28 @@ +# grub-file + +> 파일이 부팅 가능한 이미지 유형인지 확인. +> 더 많은 정보: . + +- 파일이 ARM EFI 이미지인지 확인: + +`grub-file --is-arm-efi {{경로/대상/파일}}` + +- 파일이 i386 EFI 이미지인지 확인: + +`grub-file --is-i386-efi {{경로/대상/파일}}` + +- 파일이 x86_64 EFI 이미지인지 확인: + +`grub-file --is-x86_64-efi {{경로/대상/파일}}` + +- 파일이 ARM 이미지(Linux 커널)인지 확인: + +`grub-file --is-arm-linux {{경로/대상/파일}}` + +- 파일이 x86 이미지(Linux 커널)인지 확인: + +`grub-file --is-x86-linux {{경로/대상/파일}}` + +- 파일이 x86_64 XNU 이미지(macOS 커널)인지 확인: + +`grub-file --is-x86_64-xnu {{경로/대상/파일}}` diff --git a/pages.ko/linux/grub-install.md b/pages.ko/linux/grub-install.md new file mode 100644 index 00000000000000..0aa0b5dc9e63d5 --- /dev/null +++ b/pages.ko/linux/grub-install.md @@ -0,0 +1,16 @@ +# grub-install + +> GRUB을 장치에 설치. +> 더 많은 정보: . + +- BIOS 시스템에 GRUB 설치: + +`grub-install --target={{i386-pc}} {{경로/대상/장치}}` + +- UEFI 시스템에 GRUB 설치: + +`grub-install --target={{x86_64-efi}} --efi-directory={{경로/대상/efi_폴더}} --bootloader-id={{GRUB}}` + +- 특정 모듈을 사전 로드하여 GRUB 설치: + +`grub-install --target={{x86_64-efi}} --efi-directory={{경로/대상/efi_폴더}} --modules="{{part_gpt part_msdos}}"` diff --git a/pages.ko/linux/grub-mkconfig.md b/pages.ko/linux/grub-mkconfig.md new file mode 100644 index 00000000000000..af69f6e8714186 --- /dev/null +++ b/pages.ko/linux/grub-mkconfig.md @@ -0,0 +1,16 @@ +# grub-mkconfig + +> GRUB 구성 파일 생성. +> 더 많은 정보: . + +- 시뮬레이션을 실행하고 구성을 `stdout`에 출력: + +`sudo grub-mkconfig` + +- 구성 파일 생성: + +`sudo grub-mkconfig --output={{/boot/grub/grub.cfg}}` + +- 도움말 표시: + +`grub-mkconfig --help` diff --git a/pages.ko/linux/grub-reboot.md b/pages.ko/linux/grub-reboot.md new file mode 100644 index 00000000000000..a54f9db404b104 --- /dev/null +++ b/pages.ko/linux/grub-reboot.md @@ -0,0 +1,12 @@ +# grub-reboot + +> 다음 부팅에만 적용되는 GRUB의 기본 부팅 항목 설정. +> 더 많은 정보: . + +- 다음 부팅을 위해 기본 부팅 항목을 항목 번호, 이름 또는 식별자로 설정: + +`sudo grub-reboot {{항목_번호}}` + +- 다음 부팅을 위해 대체 부팅 디렉토리의 항목 번호, 이름 또는 식별자로 기본 부팅 항목 설정: + +`sudo grub-reboot --boot-directory {{/경로/대상/부팅_디렉토리}} {{항목_번호}}` diff --git a/pages.ko/linux/grub-script-check.md b/pages.ko/linux/grub-script-check.md new file mode 100644 index 00000000000000..f56de3f198e5b9 --- /dev/null +++ b/pages.ko/linux/grub-script-check.md @@ -0,0 +1,21 @@ +# grub-script-check + +> `grub-script-check` 프로그램은 GRUB 스크립트 파일을 가져와 문법 오류를 검사합니다. +> 경로를 옵션이 아닌 인수로 받을 수 있습니다. 인수가 없을 경우, `stdin`에서 읽습니다. +> 더 많은 정보: . + +- 특정 스크립트 파일의 문법 오류 검사: + +`grub-script-check {{경로/대상/grub_설정_파일}}` + +- 입력을 읽은 후 각 줄을 표시: + +`grub-script-check --verbose` + +- 도움말 표시: + +`grub-script-check --help` + +- 버전 표시: + +`grub-script-check --version` diff --git a/pages.ko/linux/grub-set-default.md b/pages.ko/linux/grub-set-default.md new file mode 100644 index 00000000000000..9fb15ca17c9ae1 --- /dev/null +++ b/pages.ko/linux/grub-set-default.md @@ -0,0 +1,12 @@ +# grub-set-default + +> GRUB의 기본 부트 항목 설정. +> 더 많은 정보: . + +- 기본 부트 항목을 항목 번호, 이름 또는 식별자로 설정: + +`sudo grub-set-default {{항목_번호}}` + +- 대체 부트 디렉토리에 대해 기본 부트 항목을 항목 번호, 이름 또는 식별자로 설정: + +`sudo grub-set-default --boot-directory {{/경로/대상/부트_디렉토리}} {{항목_번호}}` diff --git a/pages.ko/linux/grubby.md b/pages.ko/linux/grubby.md new file mode 100644 index 00000000000000..5944ab0281b19e --- /dev/null +++ b/pages.ko/linux/grubby.md @@ -0,0 +1,16 @@ +# grubby + +> `grub` 및 `zipl` 부트로더를 설정하는 도구. +> 더 많은 정보: . + +- 모든 커널 메뉴 항목에 커널 부팅 인자 추가: + +`sudo grubby --update-kernel=ALL --args '{{quiet console=ttyS0}}'` + +- 기본 커널 항목에서 기존 인자 제거: + +`sudo grubby --update-kernel=DEFAULT --remove-args {{quiet}}` + +- 모든 커널 메뉴 항목 나열: + +`sudo grubby --info=ALL` diff --git a/pages.ko/linux/gs.md b/pages.ko/linux/gs.md new file mode 100644 index 00000000000000..77b3dbfcf46173 --- /dev/null +++ b/pages.ko/linux/gs.md @@ -0,0 +1,28 @@ +# gs + +> GhostScript는 PDF 및 PostScript 인터프리터입니다. +> 더 많은 정보: . + +- 파일 보기: + +`gs -dQUIET -dBATCH {{파일.pdf}}` + +- e-book 기기에서 읽을 수 있도록 PDF 파일 크기를 150 dpi 이미지로 줄이기: + +`gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile={{출력.pdf}} {{입력.pdf}}` + +- PDF 파일의 페이지 1부터 3까지를 150 dpi 해상도의 이미지로 변환: + +`gs -dQUIET -dBATCH -dNOPAUSE -sDEVICE=jpeg -r150 -dFirstPage={{1}} -dLastPage={{3}} -sOutputFile={{출력_%d.jpg}} {{입력.pdf}}` + +- PDF 파일에서 페이지 추출: + +`gs -dQUIET -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile={{출력.pdf}} {{입력.pdf}}` + +- PDF 파일 병합: + +`gs -dQUIET -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile={{출력.pdf}} {{입력1.pdf}} {{입력2.pdf}}` + +- PostScript 파일을 PDF 파일로 변환: + +`gs -dQUIET -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile={{출력.pdf}} {{입력.ps}}` diff --git a/pages.ko/linux/gsettings.md b/pages.ko/linux/gsettings.md new file mode 100644 index 00000000000000..191d44e47c7918 --- /dev/null +++ b/pages.ko/linux/gsettings.md @@ -0,0 +1,32 @@ +# gsettings + +> 스키마 검증을 통해 dconf 설정을 조회하고 수정. +> 더 많은 정보: . + +- 키의 값을 설정 (키가 존재하지 않거나 값이 범위를 벗어난 경우 실패): + +`gsettings set {{org.example.schema}} {{예제-키}} {{값}}` + +- 키의 값 또는 `dconf`에 설정되지 않은 경우 스키마에 제공된 기본값 출력: + +`gsettings get {{org.example.schema}} {{예제-키}}` + +- 키를 해제하여 스키마 기본값 사용: + +`gsettings reset {{org.example.schema}} {{예제-키}}` + +- 모든 (이동 불가능한) 스키마, 키 및 값 표시: + +`gsettings list-recursively` + +- 하나의 스키마에서 모든 키 및 값 (설정되지 않은 경우 기본값) 표시: + +`gsettings list-recursively {{org.example.schema}}` + +- 키에 대해 스키마가 허용하는 값 표시 (enum 키에 유용): + +`gsettings range {{org.example.schema}} {{예제-키}}` + +- 키의 사람이 읽을 수 있는 설명 표시: + +`gsettings describe {{org.example.schema}} {{예제-키}}` diff --git a/pages.ko/linux/guake.md b/pages.ko/linux/guake.md new file mode 100644 index 00000000000000..f348e75d31b1da --- /dev/null +++ b/pages.ko/linux/guake.md @@ -0,0 +1,28 @@ +# guake + +> GNOME용 드롭다운 터미널. +> 더 많은 정보: . + +- Guake 보기 토글: + +`` + +- 전체 화면 모드 토글: + +`` + +- 새 탭 열기: + +`` + +- 터미널 닫기: + +`` + +- 이전 탭으로 이동: + +`` + +- 선택한 텍스트를 브라우저에서 검색: + +`` diff --git a/pages.ko/linux/guix-package.md b/pages.ko/linux/guix-package.md new file mode 100644 index 00000000000000..052802347386ab --- /dev/null +++ b/pages.ko/linux/guix-package.md @@ -0,0 +1,28 @@ +# guix package + +> Guix 패키지를 설치, 업그레이드, 제거하거나 이전 구성으로 롤백합니다. +> 더 많은 정보: . + +- 새 패키지 설치: + +`guix package -i {{패키지}}` + +- 패키지 제거: + +`guix package -r {{패키지}}` + +- 정규 표현식으로 패키지 데이터베이스 검색: + +`guix package -s "{{검색_패턴}}"` + +- 설치된 패키지 나열: + +`guix package -I` + +- 생성 목록 나열: + +`guix package -l` + +- 이전 생성으로 롤백: + +`guix package --roll-back` diff --git a/pages.ko/linux/gummy.md b/pages.ko/linux/gummy.md new file mode 100644 index 00000000000000..f1b81909c8434b --- /dev/null +++ b/pages.ko/linux/gummy.md @@ -0,0 +1,28 @@ +# gummy + +> Linux/X11용 화면 밝기/온도 관리 도구. +> 더 많은 정보: . + +- 화면 온도를 3000K로 설정: + +`gummy --temperature {{3000}}` + +- 화면 백라이트를 50%로 설정: + +`gummy --backlight {{50}}` + +- 화면 픽셀 밝기를 45%로 설정: + +`gummy --brightness {{45}}` + +- 현재 화면 픽셀 밝기를 10% 증가: + +`gummy --brightness {{+10}}` + +- 현재 화면 픽셀 밝기를 10% 감소: + +`gummy --brightness {{-10}}` + +- 두 번째 화면의 온도와 픽셀 밝기를 설정: + +`gummy --screen {{1}} --temperature {{3800}} --brightness {{65}}` diff --git a/pages.ko/linux/gzexe.md b/pages.ko/linux/gzexe.md new file mode 100644 index 00000000000000..f667c6e233043d --- /dev/null +++ b/pages.ko/linux/gzexe.md @@ -0,0 +1,13 @@ +# gzexe + +> 실행 파일을 압축하면서 실행 가능 상태로 유지합니다. +> 원본 파일을 백업하여 파일명에 `~`를 추가하고, 내부의 바이너리를 압축 해제하고 실행하는 셸 스크립트를 생성합니다. +> 더 많은 정보: . + +- 실행 파일을 제자리에서 압축: + +`gzexe {{경로/대상/실행_파일}}` + +- 압축된 실행 파일을 제자리에서 압축 해제 (즉, 셸 스크립트를 다시 압축되지 않은 바이너리로 변환): + +`gzexe -d {{경로/대상/압축된_실행_파일}}` diff --git a/pages.ko/linux/halt.md b/pages.ko/linux/halt.md new file mode 100644 index 00000000000000..5128a45172035c --- /dev/null +++ b/pages.ko/linux/halt.md @@ -0,0 +1,24 @@ +# halt + +> 시스템을 중지합니다. +> 더 많은 정보: . + +- 시스템 중지: + +`halt` + +- 시스템 전원 끄기 (`poweroff`와 동일): + +`halt {{[-p|--poweroff]}}` + +- 시스템 재부팅 (`reboot`와 동일): + +`halt --reboot` + +- 시스템 관리자와 상의하지 않고 즉시 중지: + +`halt {{[-f|--force]}}` + +- 시스템을 중지하지 않고 wtmp 종료 항목 작성: + +`halt {{[-w|--wtmp-only]}}` diff --git a/pages.ko/linux/handlr.md b/pages.ko/linux/handlr.md new file mode 100644 index 00000000000000..03c2c382ac6157 --- /dev/null +++ b/pages.ko/linux/handlr.md @@ -0,0 +1,28 @@ +# handlr + +> 기본 애플리케이션을 관리합니다. +> 더 많은 정보: . + +- 기본 애플리케이션에서 URL 열기: + +`handlr open {{https://example.com}}` + +- 기본 PDF 뷰어에서 PDF 열기: + +`handlr open {{경로/대상/파일.pdf}}` + +- PNG 파일의 기본 애플리케이션으로 `imv` 설정: + +`handlr set {{.png}} {{imv.desktop}}` + +- 모든 오디오 파일의 기본 애플리케이션으로 MPV 설정: + +`handlr set {{'audio/*'}} {{mpv.desktop}}` + +- 모든 기본 앱 나열: + +`handlr list` + +- PNG 파일의 기본 애플리케이션 출력: + +`handlr get {{.png}}` diff --git a/pages.ko/linux/hardinfo.md b/pages.ko/linux/hardinfo.md new file mode 100644 index 00000000000000..03682d7843bbcc --- /dev/null +++ b/pages.ko/linux/hardinfo.md @@ -0,0 +1,16 @@ +# hardinfo + +> GUI 창에서 하드웨어 정보를 표시합니다. +> 더 많은 정보: . + +- `hardinfo` 시작: + +`hardinfo` + +- 보고서를 `stdout`으로 출력: + +`hardinfo -r` + +- 보고서를 HTML 파일로 저장: + +`hardinfo -r -f html > hardinfo.html` diff --git a/pages.ko/linux/hcitool.md b/pages.ko/linux/hcitool.md new file mode 100644 index 00000000000000..df5cfe65e67616 --- /dev/null +++ b/pages.ko/linux/hcitool.md @@ -0,0 +1,36 @@ +# hcitool + +> Bluetooth 장치에 연결을 모니터링, 구성하고 특수 명령을 전송합니다. +> 더 많은 정보: . + +- Bluetooth 장치 검색: + +`hcitool scan` + +- 장치의 이름을 출력하고 MAC 주소 반환: + +`hcitool name {{bdaddr}}` + +- 원격 Bluetooth 장치 정보 가져오기: + +`hcitool info {{bdaddr}}` + +- Bluetooth 장치와의 연결 품질 확인: + +`hcitool lq {{bdaddr}}` + +- 전송 전력 수준 수정: + +`hcitool tpl {{bdaddr}} {{0|1}}` + +- 연결 정책 표시: + +`hcitool lp` + +- 특정 장치와 인증 요청: + +`hcitool auth {{bdaddr}}` + +- 로컬 장치 표시: + +`hcitool dev` diff --git a/pages.ko/linux/hdparm.md b/pages.ko/linux/hdparm.md new file mode 100644 index 00000000000000..12e04aa4d81e06 --- /dev/null +++ b/pages.ko/linux/hdparm.md @@ -0,0 +1,32 @@ +# hdparm + +> SATA 및 IDE 하드 드라이브 매개변수를 조회하고 설정합니다. +> 더 많은 정보: . + +- 지정된 장치의 식별 정보 요청: + +`sudo hdparm -I {{/dev/장치}}` + +- 고급 전원 관리 수준 확인: + +`sudo hdparm -B {{/dev/장치}}` + +- 고급 전원 관리 값 설정 (1-127은 스핀 다운 허용, 128-254는 허용하지 않음): + +`sudo hdparm -B {{1}} {{/dev/장치}}` + +- 장치의 현재 전원 모드 상태 표시: + +`sudo hdparm -C {{/dev/장치}}` + +- 드라이브를 즉시 대기 모드로 전환 (대개 드라이브가 스핀 다운 됨): + +`sudo hdparm -y {{/dev/장치}}` + +- 드라이브를 대기(저전력) 모드로 전환하고 대기 시간 초과 설정: + +`sudo hdparm -S {{대기_시간_초과}} {{장치}}` + +- 특정 장치의 읽기 속도 테스트: + +`sudo hdparm -tT {{장치}}` diff --git a/pages.ko/linux/head.md b/pages.ko/linux/head.md new file mode 100644 index 00000000000000..dcd8bfec915558 --- /dev/null +++ b/pages.ko/linux/head.md @@ -0,0 +1,20 @@ +# head + +> 파일의 첫 부분을 출력합니다. +> 더 많은 정보: . + +- 파일의 처음 몇 줄을 출력: + +`head {{[-n|--lines]}} {{개수}} {{경로/대상/파일}}` + +- 파일의 처음 몇 바이트를 출력: + +`head {{[-c|--bytes]}} {{개수}} {{경로/대상/파일}}` + +- 파일의 마지막 몇 줄을 제외하고 출력: + +`head {{[-n|--lines]}} -{{개수}} {{경로/대상/파일}}` + +- 파일의 마지막 몇 바이트를 제외하고 출력: + +`head {{[-c|--bytes]}} -{{개수}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/hexdump.md b/pages.ko/linux/hexdump.md new file mode 100644 index 00000000000000..a1ff090490c662 --- /dev/null +++ b/pages.ko/linux/hexdump.md @@ -0,0 +1,20 @@ +# hexdump + +> ASCII, 10진수, 16진수, 8진수 덤프. +> 더 많은 정보: . + +- 파일의 16진수 표현을 출력하고, 중복된 줄을 '\*'로 변경: + +`hexdump {{경로/대상/파일}}` + +- 입력 오프셋을 16진수로 표시하고 해당 ASCII 표현을 두 열로 표시: + +`hexdump {{[-C|--canonical]}} {{경로/대상/파일}}` + +- 파일의 16진수 표현을 표시하지만, 입력의 n바이트만 해석: + +`hexdump {{[-C|--canonical]}} {{[-n|--length]}} {{바이트_수}} {{경로/대상/파일}}` + +- 중복된 줄을 '\*'로 변경하지 않음: + +`hexdump {{[-v|--no-squeezing]}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/hlint.md b/pages.ko/linux/hlint.md new file mode 100644 index 00000000000000..1afeb1cf9691dd --- /dev/null +++ b/pages.ko/linux/hlint.md @@ -0,0 +1,24 @@ +# hlint + +> Haskell 코드에 대한 개선 사항을 제안합니다. +> 더 많은 정보: . + +- 주어진 파일에 대한 제안 사항 표시: + +`hlint {{경로/대상/파일}} options` + +- 모든 Haskell 파일을 검사하고 보고서 생성: + +`hlint {{경로/대상/폴더}} --report` + +- 대부분의 제안을 자동으로 적용: + +`hlint {{경로/대상/파일}} --refactor` + +- 추가 옵션 표시: + +`hlint {{경로/대상/파일}} --refactor-options` + +- 모든 미해결 힌트를 무시하는 설정 파일 생성: + +`hlint {{경로/대상/파일}} --default > {{.hlint.yaml}}` diff --git a/pages.ko/linux/homectl.md b/pages.ko/linux/homectl.md new file mode 100644 index 00000000000000..bcb88982dfb102 --- /dev/null +++ b/pages.ko/linux/homectl.md @@ -0,0 +1,36 @@ +# homectl + +> systemd-homed 서비스를 사용하여 홈 디렉토리를 생성, 제거, 변경 또는 검사합니다. +> 더 많은 정보: . + +- 사용자 계정과 관련된 홈 디렉토리 나열: + +`homectl list` + +- 사용자 계정과 관련된 홈 디렉토리 생성: + +`sudo homectl create {{사용자명}}` + +- 특정 사용자 및 관련 홈 디렉토리 제거: + +`sudo homectl remove {{사용자명}}` + +- 특정 사용자의 비밀번호 변경: + +`sudo homectl passwd {{사용자명}}` + +- 특정 홈 디렉토리에 접근하여 셸 또는 명령 실행: + +`sudo homectl with {{사용자명}} -- {{명령}} {{명령_인자}}` + +- 특정 홈 디렉토리 잠금 또는 잠금 해제: + +`sudo homectl {{lock|unlock}} {{사용자명}}` + +- 특정 홈 디렉토리에 할당된 디스크 공간을 100 GiB로 변경: + +`sudo homectl resize {{사용자명}} {{100G}}` + +- 도움말 표시: + +`homectl --help` diff --git a/pages.ko/linux/homeshick.md b/pages.ko/linux/homeshick.md new file mode 100644 index 00000000000000..387bb7ba266ed6 --- /dev/null +++ b/pages.ko/linux/homeshick.md @@ -0,0 +1,25 @@ +# homeshick + +> Git dotfiles를 동기화합니다. +> 같이 보기: `chezmoi`, `stow`, `tuckr`, `vcsh`. +> 더 많은 정보: . + +- 새로운 성(castle) 생성: + +`homeshick generate {{성_이름}}` + +- 성에 파일 추가: + +`homeshick track {{성_이름}} {{경로/대상/파일}}` + +- 성으로 이동: + +`homeshick cd {{성_이름}}` + +- 성 복제: + +`homeshick clone {{GitHub_사용자명}}/{{저장소_이름}}` + +- 성의 모든 파일을 심볼릭 링크로 연결: + +`homeshick link {{성_이름}}` diff --git a/pages.ko/linux/hostnamectl.md b/pages.ko/linux/hostnamectl.md new file mode 100644 index 00000000000000..e8dbddc102dab4 --- /dev/null +++ b/pages.ko/linux/hostnamectl.md @@ -0,0 +1,20 @@ +# hostnamectl + +> 컴퓨터의 호스트명을 가져오거나 설정합니다. +> 더 많은 정보: . + +- 컴퓨터의 호스트명 가져오기: + +`hostnamectl` + +- 컴퓨터의 호스트명 설정: + +`sudo hostnamectl set-hostname "{{호스트명}}"` + +- 컴퓨터에 보기 좋은 호스트명 설정: + +`sudo hostnamectl set-hostname --static "{{호스트명.example.com}}" && sudo hostnamectl set-hostname --pretty "{{호스트명}}"` + +- 호스트명을 기본값으로 재설정: + +`sudo hostnamectl set-hostname --pretty ""` diff --git a/pages.ko/linux/htpdate.md b/pages.ko/linux/htpdate.md new file mode 100644 index 00000000000000..37dfbd050ad59d --- /dev/null +++ b/pages.ko/linux/htpdate.md @@ -0,0 +1,20 @@ +# htpdate + +> 웹 서버의 HTTP 헤더를 통해 로컬 날짜 및 시간을 동기화합니다. +> 더 많은 정보: . + +- 날짜와 시간 동기화: + +`sudo htpdate {{호스트}}` + +- 동기화 시뮬레이션 수행, 실제 동작은 없음: + +`htpdate -q {{호스트}}` + +- 체계적인 시계 드리프트 보정: + +`sudo htpdate -x {{호스트}}` + +- 동기화 후 즉시 시간 설정: + +`sudo htpdate -s {{호스트}}` diff --git a/pages.ko/linux/http-prompt.md b/pages.ko/linux/http-prompt.md new file mode 100644 index 00000000000000..ad482b7ba58ec8 --- /dev/null +++ b/pages.ko/linux/http-prompt.md @@ -0,0 +1,16 @@ +# http-prompt + +> 자동 완성 및 구문 강조 기능을 갖춘 대화형 명령줄 HTTP 클라이언트. +> 더 많은 정보: . + +- 기본 URL 또는 이전 세션을 대상으로 세션 시작: + +`http-prompt` + +- 지정된 URL로 세션 시작: + +`http-prompt {{http://example.com}}` + +- 초기 옵션과 함께 세션 시작: + +`http-prompt {{localhost:8000/api}} --auth {{사용자명:비밀번호}}` diff --git a/pages.ko/linux/http_load.md b/pages.ko/linux/http_load.md new file mode 100644 index 00000000000000..3816c696855fbd --- /dev/null +++ b/pages.ko/linux/http_load.md @@ -0,0 +1,21 @@ +# http_load + +> HTTP 벤치마킹 도구. +> 웹 서버의 처리량을 테스트하기 위해 여러 HTTP 패치를 병렬로 실행합니다. +> 더 많은 정보: . + +- 초당 20개의 요청을 주어진 URL 목록 파일을 기반으로 60초 동안 에뮬레이트: + +`http_load -rate {{20}} -seconds {{60}} {{경로/대상/urls.txt}}` + +- 5개의 동시 요청을 주어진 URL 목록 파일을 기반으로 60초 동안 에뮬레이트: + +`http_load -parallel {{5}} -seconds {{60}} {{경로/대상/urls.txt}}` + +- 초당 20개의 요청으로 1000개의 요청을 주어진 URL 목록 파일을 기반으로 에뮬레이트: + +`http_load -rate {{20}} -fetches {{1000}} {{경로/대상/urls.txt}}` + +- 5개의 동시 요청으로 1000개의 요청을 주어진 URL 목록 파일을 기반으로 에뮬레이트: + +`http_load -parallel {{5}} -fetches {{1000}} {{경로/대상/urls.txt}}` diff --git a/pages.ko/linux/hwclock.md b/pages.ko/linux/hwclock.md new file mode 100644 index 00000000000000..7390502f449c8d --- /dev/null +++ b/pages.ko/linux/hwclock.md @@ -0,0 +1,16 @@ +# hwclock + +> 하드웨어 시계를 읽거나 변경합니다. 일반적으로 루트 권한이 필요합니다. +> 더 많은 정보: . + +- 하드웨어 시계에 의해 보고된 현재 시간 표시: + +`hwclock` + +- 현재 소프트웨어 시계 시간을 하드웨어 시계에 기록 (시스템 설정 중에 사용되기도 함): + +`hwclock --systohc` + +- 현재 하드웨어 시계 시간을 소프트웨어 시계에 기록: + +`hwclock --hctosys` diff --git a/pages.ko/linux/hwinfo.md b/pages.ko/linux/hwinfo.md new file mode 100644 index 00000000000000..e26818d906e3f9 --- /dev/null +++ b/pages.ko/linux/hwinfo.md @@ -0,0 +1,24 @@ +# hwinfo + +> 시스템에 있는 하드웨어를 탐색합니다. +> 더 많은 정보: . + +- 그래픽 카드 정보 가져오기: + +`hwinfo --gfxcard` + +- 네트워크 장치 정보 가져오기: + +`hwinfo --network` + +- 디스크와 CD-ROM 드라이브 목록을 출력 (출력을 줄여서 표시): + +`hwinfo --short --disk --cdrom` + +- 모든 하드웨어 정보를 파일에 기록: + +`hwinfo --all --log {{경로/대상/파일}}` + +- 도움말 표시: + +`hwinfo --help` diff --git a/pages.ko/linux/hyprctl.md b/pages.ko/linux/hyprctl.md new file mode 100644 index 00000000000000..0c139b7dc680b3 --- /dev/null +++ b/pages.ko/linux/hyprctl.md @@ -0,0 +1,32 @@ +# hyprctl + +> Hyprland Wayland 컴포지터의 일부를 제어. +> 더 많은 정보: . + +- Hyprland 구성 파일 다시 로드: + +`hyprctl reload` + +- 활성 창 이름 반환: + +`hyprctl activewindow` + +- 연결된 입력 장치 모두 나열: + +`hyprctl devices` + +- 각 속성을 포함한 모든 출력 나열: + +`hyprctl workspaces` + +- 인수를 사용하여 디스패처 호출: + +`hyprctl dispatch exec {{앱}}` + +- 구성 키워드를 동적으로 설정: + +`hyprctl keyword {{키워드}} {{값}}` + +- 버전 표시: + +`hyprctl version` diff --git a/pages.ko/linux/hyprpm.md b/pages.ko/linux/hyprpm.md new file mode 100644 index 00000000000000..a48a0f516f985e --- /dev/null +++ b/pages.ko/linux/hyprpm.md @@ -0,0 +1,32 @@ +# hyprpm + +> Hyprland Wayland 컴포지터의 플러그인을 제어. +> 더 많은 정보: . + +- 플러그인 추가: + +`hyprpm add {{git_url}}` + +- 플러그인 제거: + +`hyprpm remove {{git_url|플러그인_이름}}` + +- 플러그인 활성화: + +`hyprpm enable {{플러그인_이름}}` + +- 플러그인 비활성화: + +`hyprpm disable {{플러그인_이름}}` + +- 모든 플러그인 업데이트 및 확인: + +`hyprpm update` + +- 작업 강제 실행: + +`hyprpm {{[-f|--force]}} {{작업}}` + +- 설치된 모든 플러그인 나열: + +`hyprpm list` diff --git a/pages.ko/linux/i3-scrot.md b/pages.ko/linux/i3-scrot.md new file mode 100644 index 00000000000000..0fb58e4ad87f68 --- /dev/null +++ b/pages.ko/linux/i3-scrot.md @@ -0,0 +1,33 @@ +# i3-scrot + +> i3 윈도우 관리자를 위한 스크린샷 유틸리티 `scrot`의 래퍼 스크립트. +> 기본 저장 위치는 `~/Pictures`이며, `~/.config/i3-scrot.conf`에서 변경할 수 있습니다. +> 더 많은 정보: . + +- 전체 화면의 스크린샷을 캡처하여 기본 디렉토리에 저장: + +`i3-scrot` + +- 활성 창의 스크린샷 캡처: + +`i3-scrot --window` + +- 특정 사각형 영역의 스크린샷 캡처: + +`i3-scrot --select` + +- 전체 화면의 스크린샷을 캡처하여 클립보드로 복사: + +`i3-scrot --desk-to-clipboard` + +- 활성 창의 스크린샷을 캡처하여 클립보드로 복사: + +`i3-scrot --window-to-clipboard` + +- 특정 영역의 스크린샷을 캡처하여 클립보드로 복사: + +`i3-scrot --select-to-clipboard` + +- 5초 후 활성 창의 스크린샷 캡처: + +`i3-scrot --window {{5}}` diff --git a/pages.ko/linux/i3exit.md b/pages.ko/linux/i3exit.md new file mode 100644 index 00000000000000..1798a964f1e874 --- /dev/null +++ b/pages.ko/linux/i3exit.md @@ -0,0 +1,32 @@ +# i3exit + +> i3 윈도우 관리자를 종료. +> 더 많은 정보: . + +- i3에서 로그아웃: + +`i3exit logout` + +- i3 잠금: + +`i3exit lock` + +- 시스템 종료: + +`i3exit shutdown` + +- 시스템 절전 모드: + +`i3exit suspend` + +- 다른 사용자로 로그인하기 위해 로그인 화면으로 전환: + +`i3exit switch_user` + +- 시스템 최대 절전 모드: + +`i3exit hibernate` + +- 시스템 재부팅: + +`i3exit reboot` diff --git a/pages.ko/linux/i3status.md b/pages.ko/linux/i3status.md new file mode 100644 index 00000000000000..3906cf3a0bb7a4 --- /dev/null +++ b/pages.ko/linux/i3status.md @@ -0,0 +1,17 @@ +# i3status + +> i3 윈도우 관리자를 위한 상태 줄. +> 이 명령은 일반적으로 i3 구성 파일에서 호출됩니다. +> 더 많은 정보: . + +- 기본 설정을 사용하여 주기적으로 상태 줄을 `stdout`에 출력: + +`i3status` + +- 특정 설정 파일을 사용하여 주기적으로 상태 줄을 `stdout`에 출력: + +`i3status -c {{경로/대상/i3status.conf}}` + +- 도움말 및 버전 표시: + +`i3status -h` diff --git a/pages.ko/linux/i7z.md b/pages.ko/linux/i7z.md new file mode 100644 index 00000000000000..9a826260b8903a --- /dev/null +++ b/pages.ko/linux/i7z.md @@ -0,0 +1,8 @@ +# i7z + +> Intel CPU(i3, i5, i7 전용) 실시간 보고 도구. +> 더 많은 정보: . + +- i7z 시작 (슈퍼유저 모드로 실행 필요): + +`sudo i7z` diff --git a/pages.ko/linux/ico.md b/pages.ko/linux/ico.md new file mode 100644 index 00000000000000..422bb2cb93e0e0 --- /dev/null +++ b/pages.ko/linux/ico.md @@ -0,0 +1,20 @@ +# ico + +> 다면체 애니메이션을 표시합니다. +> 더 많은 정보: . + +- 0.1초마다 위치가 변경되는 정이십면체의 와이어프레임 표시: + +`ico -sleep {{0.1}}` + +- 빨간 면과 파란 배경의 실체 정이십면체 표시: + +`ico -faces -noedges -colors {{red}} -bg {{blue}}` + +- 크기 100x100의 큐브 와이어프레임을 프레임마다 +1+2씩 이동하며 표시: + +`ico -obj {{큐브}} -size {{100x100}} -delta {{+1+2}}` + +- 5개의 스레드를 사용하여 선 너비 10의 반전된 정이십면체 와이어프레임 표시: + +`ico -i -lw {{10}} -threads {{5}}` diff --git a/pages.ko/linux/id3v2.md b/pages.ko/linux/id3v2.md new file mode 100644 index 00000000000000..f43578cf3620e6 --- /dev/null +++ b/pages.ko/linux/id3v2.md @@ -0,0 +1,24 @@ +# id3v2 + +> id3v2 태그를 관리하고 id3v1을 변환 및 나열합니다. +> 더 많은 정보: . + +- 모든 장르 나열: + +`id3v2 --list-genres` + +- 특정 파일의 모든 태그 나열: + +`id3v2 --list {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 파일의 `id3v2` 또는 `id3v1` 태그 모두 삭제: + +`id3v2 {{--delete-v2|--delete-v1}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 도움말 표시: + +`id3v2 --help` + +- 버전 표시: + +`id3v2 --version` diff --git a/pages.ko/linux/ifdown.md b/pages.ko/linux/ifdown.md new file mode 100644 index 00000000000000..1a84837d552c7b --- /dev/null +++ b/pages.ko/linux/ifdown.md @@ -0,0 +1,12 @@ +# ifdown + +> 네트워크 인터페이스 비활성화. +> 더 많은 정보: . + +- 인터페이스 eth0 비활성화: + +`ifdown {{eth0}}` + +- 활성화된 모든 인터페이스 비활성화: + +`ifdown -a` diff --git a/pages.ko/linux/ifmetric.md b/pages.ko/linux/ifmetric.md new file mode 100644 index 00000000000000..73a0bcd49b57af --- /dev/null +++ b/pages.ko/linux/ifmetric.md @@ -0,0 +1,12 @@ +# ifmetric + +> IPv4 경로 메트릭 조정 도구. +> 더 많은 정보: . + +- 특정 네트워크 인터페이스의 우선순위 설정 (높은 숫자는 낮은 우선순위를 나타냄): + +`sudo ifmetric {{인터페이스}} {{값}}` + +- 특정 네트워크 인터페이스의 우선순위 초기화: + +`sudo ifmetric {{인터페이스}} {{0}}` diff --git a/pages.ko/linux/ifstat.md b/pages.ko/linux/ifstat.md new file mode 100644 index 00000000000000..83ad31095802c7 --- /dev/null +++ b/pages.ko/linux/ifstat.md @@ -0,0 +1,16 @@ +# ifstat + +> 네트워크 인터페이스 통계 보기. +> 더 많은 정보: . + +- 마지막 쿼리 이후의 네트워크 인터페이스 통계 보기: + +`ifstat` + +- 마지막 부팅 이후의 네트워크 인터페이스 통계 보기: + +`ifstat {{[-a|--ignore]}}` + +- 오류율 보기: + +`ifstat {{[-e|--errors]}}` diff --git a/pages.ko/linux/iftop.md b/pages.ko/linux/iftop.md new file mode 100644 index 00000000000000..c8534219c494ee --- /dev/null +++ b/pages.ko/linux/iftop.md @@ -0,0 +1,28 @@ +# iftop + +> 호스트별 인터페이스의 대역폭 사용량 표시. +> 더 많은 정보: . + +- 대역폭 사용량 표시: + +`sudo iftop` + +- 지정된 인터페이스의 대역폭 사용량 표시: + +`sudo iftop -i {{인터페이스}}` + +- 포트 정보를 포함하여 대역폭 사용량 표시: + +`sudo iftop -P` + +- 트래픽의 막대 그래프를 표시하지 않음: + +`sudo iftop -b` + +- 호스트명을 조회하지 않음: + +`sudo iftop -n` + +- 도움말 표시: + +`` diff --git a/pages.ko/linux/ifup.md b/pages.ko/linux/ifup.md new file mode 100644 index 00000000000000..ad98d02e363c15 --- /dev/null +++ b/pages.ko/linux/ifup.md @@ -0,0 +1,12 @@ +# ifup + +> 네트워크 인터페이스 활성화. +> 더 많은 정보: . + +- 인터페이스 eth0 활성화: + +`ifup {{eth0}}` + +- `/etc/network/interfaces`에서 "auto"로 정의된 모든 인터페이스 활성화: + +`ifup -a` diff --git a/pages.ko/linux/ikaros.md b/pages.ko/linux/ikaros.md new file mode 100644 index 00000000000000..cdd2ca0fda8fb3 --- /dev/null +++ b/pages.ko/linux/ikaros.md @@ -0,0 +1,16 @@ +# ikaros + +> Vanilla OS의 장치 드라이버 관리 도구. +> 더 많은 정보: . + +- 장치에 대한 드라이버를 대화식으로 설치: + +`ikaros install {{장치}}` + +- 장치에 권장되는 드라이버를 자동으로 설치: + +`ikaros auto-install {{장치}}` + +- 장치 목록 나열: + +`ikaros list-devices` diff --git a/pages.ko/linux/img2txt.md b/pages.ko/linux/img2txt.md new file mode 100644 index 00000000000000..1e63ed8c45cde9 --- /dev/null +++ b/pages.ko/linux/img2txt.md @@ -0,0 +1,24 @@ +# img2txt + +> 이미지를 색상 ASCII 문자로 변환하고 텍스트 기반 색상 파일로 출력합니다. +> 더 많은 정보: . + +- 출력 열 수를 특정 값으로 설정: + +`img2txt --width={{10}}` + +- 출력 행 수를 특정 값으로 설정: + +`img2txt --height={{5}}` + +- 출력 글꼴 너비를 특정 값으로 설정: + +`img2txt --font-width={{12}}` + +- 출력 글꼴 높이를 특정 값으로 설정: + +`img2txt --font-height={{14}}` + +- 이미지 밝기를 특정 값으로 설정: + +`img2txt --brightness={{2}}` diff --git a/pages.ko/linux/img2webp.md b/pages.ko/linux/img2webp.md new file mode 100644 index 00000000000000..fb124daf820c95 --- /dev/null +++ b/pages.ko/linux/img2webp.md @@ -0,0 +1,8 @@ +# img2webp + +> 이미지를 WebP로 변환. +> 더 많은 정보: . + +- 이미지를 WebP로 변환: + +`img2webp {{경로/대상/이미지}} -o {{경로/대상/이미지.webp}}` diff --git a/pages.ko/linux/imgp.md b/pages.ko/linux/imgp.md new file mode 100644 index 00000000000000..44544ffd975a66 --- /dev/null +++ b/pages.ko/linux/imgp.md @@ -0,0 +1,16 @@ +# imgp + +> JPEG 및 PNG 이미지를 위한 커맨드라인 이미지 리사이저 및 회전기. +> 더 많은 정보: . + +- 단일 이미지 및/또는 유효한 이미지 형식을 포함한 전체 폴더 변환: + +`imgp -x {{1366x1000}} {{경로/대상/폴더}} {{경로/대상/파일}}` + +- 이미지를 75% 비율로 조정하고 원본 이미지를 대상 해상도로 덮어쓰기: + +`imgp -x {{75}} -w {{경로/대상/파일}}` + +- 이미지를 시계 방향으로 90도 회전: + +`imgp -o {{90}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/init.md b/pages.ko/linux/init.md new file mode 100644 index 00000000000000..bab70b2ce64633 --- /dev/null +++ b/pages.ko/linux/init.md @@ -0,0 +1,25 @@ +# init + +> Linux 런레벨 관리자. +> systemd를 사용하는 경우 SYSVINIT 컴파일 시 옵션이 활성화되어야 합니다. +> 더 많은 정보: . + +- 시스템을 그래픽 환경으로 설정: + +`sudo init 5` + +- 시스템을 다중 사용자 터미널로 설정: + +`sudo init 3` + +- 시스템 종료: + +`init 0` + +- 시스템 재부팅: + +`init 6` + +- 루트 사용자만 허용되고 네트워킹이 없는 터미널로 시스템 설정: + +`sudo init 1` diff --git a/pages.ko/linux/inotifywait.md b/pages.ko/linux/inotifywait.md new file mode 100644 index 00000000000000..7e0afe59e5c46e --- /dev/null +++ b/pages.ko/linux/inotifywait.md @@ -0,0 +1,36 @@ +# inotifywait + +> 파일 변경을 대기합니다. +> 더 많은 정보: . + +- 특정 파일의 이벤트를 감시하고 첫 번째 이벤트 이후 종료: + +`inotifywait {{경로/대상/파일}}` + +- 특정 파일의 이벤트를 종료하지 않고 지속적으로 감시: + +`inotifywait --monitor {{경로/대상/파일}}` + +- 폴더의 이벤트를 재귀적으로 감시: + +`inotifywait --monitor --recursive {{경로/대상/폴더}}` + +- 정규 표현식과 일치하는 파일을 제외하고 폴더의 변경 사항 감시: + +`inotifywait --monitor --recursive --exclude "{{정규_표현식}}" {{경로/대상/폴더}}` + +- 30초 동안 이벤트가 발생하지 않으면 종료하며 파일의 변경 사항 감시: + +`inotifywait --monitor --timeout {{30}} {{경로/대상/파일}}` + +- 파일 수정 이벤트만 감시: + +`inotifywait --event {{modify}} {{경로/대상/파일}}` + +- 이벤트만 출력하고 상태 메시지는 출력하지 않고 파일 감시: + +`inotifywait --quiet {{경로/대상/파일}}` + +- 파일에 접근할 때 명령 실행: + +`inotifywait --event {{access}} {{경로/대상/파일}} && {{명령}}` diff --git a/pages.ko/linux/insmod.md b/pages.ko/linux/insmod.md new file mode 100644 index 00000000000000..7f4f12e4eea1c3 --- /dev/null +++ b/pages.ko/linux/insmod.md @@ -0,0 +1,8 @@ +# insmod + +> Linux 커널에 모듈을 동적으로 로드합니다. +> 더 많은 정보: . + +- 커널 모듈을 Linux 커널에 삽입: + +`insmod {{경로/대상/모듈.ko}}` diff --git a/pages.ko/linux/instaloader.md b/pages.ko/linux/instaloader.md new file mode 100644 index 00000000000000..8b55d2169662d6 --- /dev/null +++ b/pages.ko/linux/instaloader.md @@ -0,0 +1,37 @@ +# instaloader + +> Instagram에서 사진, 비디오, 캡션 및 기타 메타데이터를 다운로드. +> 참고: 고품질 미디어 다운로드를 위해 Instagram 로그인 정보가 필요합니다. +> 더 많은 정보: . + +- 프로필 다운로드: + +`instaloader {{프로필_이름}}` + +- 하이라이트 다운로드: + +`instaloader --highlights {{프로필_이름}}` + +- 지오태그가 포함된 게시물 다운로드 (사용 가능한 경우) 및 사용자 상호작용 억제: + +`instaloader --quiet --geotags {{프로필_이름}}` + +- HTTP 요청에 사용할 사용자 에이전트 지정: + +`instaloader --user-agent {{사용자_에이전트}} {{프로필_이름}}` + +- 로그인 정보 지정 및 게시물 다운로드 (비공개 프로필에 유용): + +`instaloader --login {{사용자명}} --password {{비밀번호}} {{프로필_이름}}` + +- 처음 다운로드된 파일이 발견되면 대상을 건너뜀 (Instagram 아카이브 업데이트에 유용): + +`instaloader --fast-update {{프로필_이름}}` + +- 스토리 및 IGTV 비디오 다운로드 (로그인 필요): + +`instaloader --login {{사용자명}} --password {{비밀번호}} --stories --igtv {{프로필_이름}}` + +- 모든 유형의 게시물 다운로드 (로그인 필요): + +`instaloader --login {{사용자명}} --password {{비밀번호}} --stories --igtv --highlights {{프로필_이름}}` diff --git a/pages.ko/linux/inxi.md b/pages.ko/linux/inxi.md new file mode 100644 index 00000000000000..6f9b83b86f58c2 --- /dev/null +++ b/pages.ko/linux/inxi.md @@ -0,0 +1,16 @@ +# inxi + +> 디버깅을 위한 시스템 정보 및 자원의 요약 정보를 표시합니다. +> 더 많은 정보: . + +- CPU, 메모리, 하드 드라이브 및 커널 정보 요약 출력: + +`inxi` + +- CPU, 메모리, 디스크, 네트워크 및 프로세스의 전체 설명 출력: + +`inxi {{[-ez|--expanded --filter]}}` + +- 배포판 저장소 정보 출력: + +`inxi {{[-r|--repos]}}` diff --git a/pages.ko/linux/ionice.md b/pages.ko/linux/ionice.md new file mode 100644 index 00000000000000..098413a22c989b --- /dev/null +++ b/pages.ko/linux/ionice.md @@ -0,0 +1,30 @@ +# ionice + +> 프로그램의 I/O 스케줄링 클래스 및 우선순위를 가져오거나 설정합니다. +> 스케줄링 클래스: 1 (실시간), 2 (최선 노력), 3 (유휴). +> 우선순위 수준: 0 (가장 높음) - 7 (가장 낮음). +> 더 많은 정보: . + +- 주어진 스케줄링 클래스 및 우선순위로 명령 실행: + +`ionice -c {{스케줄링_클래스}} -n {{우선순위}} {{명령}}` + +- 실행 중인 프로세스의 I/O 스케줄링 [c]클래스를 특정 [p]pid, [P]gid 또는 [u]uid로 설정: + +`ionice -c {{스케줄링_클래스}} -{{p|P|u}} {{id}}` + +- 사용자 정의 I/O 스케줄링 [c]클래스 및 우선순위로 명령 실행: + +`ionice -c {{스케줄링_클래스}} -n {{우선순위}} {{명령}}` + +- 요청한 우선순위 설정에 실패하더라도 무시: + +`ionice -t -n {{우선순위}} -p {{pid}}` + +- 원하는 우선순위를 설정할 수 없는 경우에도 명령 실행 (이 경우는 권한 부족 또는 오래된 커널 버전으로 인해 발생할 수 있음): + +`ionice -t -n {{우선순위}} -p {{pid}}` + +- 실행 중인 프로세스의 I/O 스케줄링 클래스 및 우선순위 출력: + +`ionice -p {{pid}}` diff --git a/pages.ko/linux/iostat.md b/pages.ko/linux/iostat.md new file mode 100644 index 00000000000000..8d4b734470e165 --- /dev/null +++ b/pages.ko/linux/iostat.md @@ -0,0 +1,28 @@ +# iostat + +> 장치 및 파티션에 대한 통계 보고. +> 더 많은 정보: . + +- 시스템 시작 이후의 CPU 및 디스크 통계 보고서 표시: + +`iostat` + +- 단위를 메가바이트로 변환한 CPU 및 디스크 통계 보고서 표시: + +`iostat -m` + +- CPU 통계 표시: + +`iostat {{[-c|--compact]}}` + +- 디스크 이름(및 LVM 포함)을 사용한 디스크 통계 표시: + +`iostat -N` + +- 장치 "sda"에 대한 디스크 이름을 포함한 확장 디스크 통계 표시: + +`iostat -xN {{sda}}` + +- 2초마다 CPU 및 디스크 통계의 증분 보고서 표시: + +`iostat {{2}}` diff --git a/pages.ko/linux/ip-address.md b/pages.ko/linux/ip-address.md new file mode 100644 index 00000000000000..269216db97b8de --- /dev/null +++ b/pages.ko/linux/ip-address.md @@ -0,0 +1,28 @@ +# ip address + +> IP 주소 관리 하위 명령어. +> 더 많은 정보: . + +- 네트워크 인터페이스와 해당 IP 주소 나열: + +`ip {{[a|address]}}` + +- 활성 네트워크 인터페이스만 표시하도록 필터링: + +`ip {{[a|address]}} {{[s|show]}} up` + +- 특정 네트워크 인터페이스에 대한 정보 표시: + +`ip {{[a|address]}} {{[s|show]}} {{eth0}}` + +- 네트워크 인터페이스에 IP 주소 추가: + +`sudo ip {{[a|address]}} {{[a|add]}} {{ip_주소}} dev {{eth0}}` + +- 네트워크 인터페이스에서 IP 주소 제거: + +`sudo ip {{[a|address]}} {{[d|delete]}} {{ip_주소}} dev {{eth0}}` + +- 지정된 범위의 모든 IP 주소를 네트워크 인터페이스에서 삭제: + +`sudo ip {{[a|address]}} {{[f|flush]}} {{eth0}} scope {{global|host|link}}` diff --git a/pages.ko/linux/ip-link.md b/pages.ko/linux/ip-link.md new file mode 100644 index 00000000000000..32fe6d8ebcc3e5 --- /dev/null +++ b/pages.ko/linux/ip-link.md @@ -0,0 +1,28 @@ +# ip link + +> 네트워크 인터페이스 관리. +> 더 많은 정보: . + +- 모든 네트워크 인터페이스 정보 표시: + +`ip {{[l|link]}}` + +- 특정 네트워크 인터페이스 정보 표시: + +`ip {{[l|link]}} {{[sh|show]}} {{ethN}}` + +- 네트워크 인터페이스 활성화 또는 비활성화: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{up|down}}` + +- 네트워크 인터페이스에 의미 있는 이름 부여: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[al|alias]}} "{{LAN 인터페이스}}"` + +- 네트워크 인터페이스의 MAC 주소 변경: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[a|address]}} {{ff:ff:ff:ff:ff:ff}}` + +- 네트워크 인터페이스의 MTU 크기를 변경하여 점보 프레임 사용: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} mtu {{9000}}` diff --git a/pages.ko/linux/ip-neighbour.md b/pages.ko/linux/ip-neighbour.md new file mode 100644 index 00000000000000..b370a58a0fa6a5 --- /dev/null +++ b/pages.ko/linux/ip-neighbour.md @@ -0,0 +1,24 @@ +# ip neighbour + +> Neighbour/ARP 테이블 관리 IP 하위 명령어. +> 더 많은 정보: . + +- Neighbour/ARP 테이블 항목 표시: + +`ip {{[n|neighbour]}}` + +- `eth0` 장치에서 neighbour 테이블의 항목 제거: + +`sudo ip {{[n|neighbour]}} {{[f|flush]}} dev {{eth0}}` + +- Neighbour 조회를 수행하고 neighbour 항목 반환: + +`ip {{[n|neighbour]}} {{[g|get]}} {{조회_아이피}} dev {{eth0}}` + +- Neighbour IP 주소에 대한 ARP 항목을 `eth0`에 추가하거나 삭제: + +`sudo ip {{[n|neighbour]}} {{add|delete}} {{아이피_주소}} lladdr {{맥_주소}} dev {{eth0}} nud reachable` + +- Neighbour IP 주소에 대한 ARP 항목을 `eth0`에 변경하거나 대체: + +`sudo ip {{[n|neighbour]}} {{change|replace}} {{아이피_주소}} lladdr {{새로운_맥_주소}} dev {{eth0}}` diff --git a/pages.ko/linux/ip-route-get.md b/pages.ko/linux/ip-route-get.md new file mode 100644 index 00000000000000..7c2447e530ca5e --- /dev/null +++ b/pages.ko/linux/ip-route-get.md @@ -0,0 +1,28 @@ +# ip route get + +> 목적지로 가는 단일 경로를 가져와 커널이 인식하는 그대로 내용을 출력합니다. +> 더 많은 정보: . + +- 목적지로 가는 경로 출력: + +`ip {{[r|route]}} {{[g|get]}} {{1.1.1.1}}` + +- 특정 소스 주소에서 목적지로 가는 경로 출력: + +`ip {{[r|route]}} {{[g|get]}} {{목적지}} from {{소스}}` + +- 특정 인터페이스를 통해 도착하는 패킷의 목적지로 가는 경로 출력: + +`ip {{[r|route]}} {{[g|get]}} {{목적지}} iif {{eth0}}` + +- 특정 인터페이스를 통해 강제로 출력하는 목적지로 가는 경로 출력: + +`ip {{[r|route]}} {{[g|get]}} {{목적지}} oif {{eth1}}` + +- 지정된 서비스 유형(ToS)으로 목적지로 가는 경로 출력: + +`ip {{[r|route]}} {{[g|get]}} {{목적지}} tos {{0x10}}` + +- 특정 VRF(가상 라우팅 및 전달) 인스턴스를 사용하여 목적지로 가는 경로 출력: + +`ip {{[r|route]}} {{[g|get]}} {{목적지}} vrf {{myvrf}}` diff --git a/pages.ko/linux/ip-route-list.md b/pages.ko/linux/ip-route-list.md new file mode 100644 index 00000000000000..f0a9ce43317eb8 --- /dev/null +++ b/pages.ko/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> 이 명령은 `ip route show`.의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ip route show` diff --git a/pages.ko/linux/ip-route-show.md b/pages.ko/linux/ip-route-show.md new file mode 100644 index 00000000000000..657a748ff5d6cd --- /dev/null +++ b/pages.ko/linux/ip-route-show.md @@ -0,0 +1,7 @@ +# ip route show + +> 이 명령은 `ip route list` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ip route list` diff --git a/pages.ko/linux/ip-route.md b/pages.ko/linux/ip-route.md new file mode 100644 index 00000000000000..370b898f685591 --- /dev/null +++ b/pages.ko/linux/ip-route.md @@ -0,0 +1,32 @@ +# ip route + +> IP 라우팅 테이블 관리 하위 명령. +> 더 많은 정보: . + +- 라우팅 테이블 표시: + +`ip {{[r|route]}}` + +- 게이트웨이 포워딩을 사용하여 기본 라우트 추가: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{게이트웨이_IP}}` + +- `eth0`을 사용하여 기본 라우트 추가: + +`sudo ip {{[r|route]}} {{[a|add]}} default dev {{eth0}}` + +- 고정 라우트 추가: + +`sudo ip {{[r|route]}} {{[a|add]}} {{대상_IP}} via {{게이트웨이_IP}} dev {{eth0}}` + +- 고정 라우트 삭제: + +`sudo ip {{[r|route]}} {{[d|delete]}} {{대상_IP}} dev {{eth0}}` + +- 고정 라우트 변경 또는 대체: + +`sudo ip {{[r|route]}} {{change|replace}} {{대상_IP}} via {{게이트웨이_IP}} dev {{eth0}}` + +- 특정 IP 주소에 도달하기 위해 커널이 사용할 라우트 표시: + +`ip {{[r|route]}} {{[g|get]}} {{대상_IP}}` diff --git a/pages.ko/linux/ip-rule.md b/pages.ko/linux/ip-rule.md new file mode 100644 index 00000000000000..bc10d69ae04f53 --- /dev/null +++ b/pages.ko/linux/ip-rule.md @@ -0,0 +1,36 @@ +# ip rule + +> IP 라우팅 정책 데이터베이스 관리. +> 더 많은 정보: . + +- 라우팅 정책 표시: + +`ip {{[ru|rule]}}` + +- 패킷 소스 주소를 기준으로 새 규칙 추가: + +`sudo ip {{[ru|rule]}} {{[a|add]}} from {{192.168.178.2/32}}` + +- 패킷 목적지 주소를 기준으로 새 규칙 추가: + +`sudo ip {{[ru|rule]}} {{[a|add]}} to {{192.168.178.2/32}}` + +- 패킷 소스 주소를 기준으로 규칙 삭제: + +`sudo ip {{[ru|rule]}} {{[d|delete]}} from {{192.168.178.2/32}}` + +- 패킷 목적지 주소를 기준으로 규칙 삭제: + +`sudo ip {{[ru|rule]}} {{[d|delete]}} to {{192.168.178.2/32}}` + +- 삭제된 모든 규칙 플러시: + +`sudo ip {{[ru|rule]}} {{[f|flush]}}` + +- 모든 규칙을 파일에 저장: + +`ip {{[ru|rule]}} {{[s|save]}} > {{경로/대상/ip_규칙들.dat}}` + +- 파일에서 모든 규칙 복원: + +`sudo ip {{[ru|rule]}} {{[r|restore]}} < {{경로/대상/ip_규칙들.dat}}` diff --git a/pages.ko/linux/ip.md b/pages.ko/linux/ip.md new file mode 100644 index 00000000000000..bfc97ffa7d900c --- /dev/null +++ b/pages.ko/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> 라우팅, 디바이스, 정책 라우팅 및 터널을 표시/조작. +> `address`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 인터페이스를 자세한 정보와 함께 나열: + +`ip {{[a|address]}}` + +- 네트워크 계층 정보 요약과 함께 인터페이스 나열: + +`ip {{[-br a|-brief address]}}` + +- 링크 계층 정보 요약과 함께 인터페이스 나열: + +`ip {{[-br l|-brief link]}}` + +- 라우팅 테이블 표시: + +`ip {{[r|route]}}` + +- 이웃(ARP 테이블) 표시: + +`ip {{[n|neighbour]}}` + +- 인터페이스를 활성화/비활성화: + +`sudo ip {{[l|link]}} {{[s|set]}} {{인터페이스}} {{up|down}}` + +- 인터페이스에 IP 주소 추가/삭제: + +`sudo ip {{[a|address]}} {{add|delete}} {{IP}}/{{마스크}} dev {{인터페이스}}` + +- 기본 경로 추가: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{IP}} dev {{인터페이스}}` diff --git a/pages.ko/linux/ip6tables-restore.md b/pages.ko/linux/ip6tables-restore.md new file mode 100644 index 00000000000000..79e01a21443779 --- /dev/null +++ b/pages.ko/linux/ip6tables-restore.md @@ -0,0 +1,7 @@ +# ip6tables-restore + +> 이 명령은 IPv6 방화벽을 위한 `iptables-restore`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr iptables-restore` diff --git a/pages.ko/linux/ip6tables-save.md b/pages.ko/linux/ip6tables-save.md new file mode 100644 index 00000000000000..7d0f669206baea --- /dev/null +++ b/pages.ko/linux/ip6tables-save.md @@ -0,0 +1,7 @@ +# ip6tables-save + +> 이 명령어는 IPv6 방화벽을 위한 `iptables-save`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr iptables-save` diff --git a/pages.ko/linux/ip6tables.md b/pages.ko/linux/ip6tables.md new file mode 100644 index 00000000000000..e6d812e7084745 --- /dev/null +++ b/pages.ko/linux/ip6tables.md @@ -0,0 +1,7 @@ +# ip6tables + +> 이 명령어는 IPv6 방화벽을 위한 `iptables`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr iptables` diff --git a/pages.ko/linux/ipcmk.md b/pages.ko/linux/ipcmk.md new file mode 100644 index 00000000000000..e3a9ee22026ed2 --- /dev/null +++ b/pages.ko/linux/ipcmk.md @@ -0,0 +1,20 @@ +# ipcmk + +> IPC(프로세스 간 통신) 리소스 생성. +> 더 많은 정보: . + +- 공유 메모리 세그먼트 생성: + +`ipcmk --shmem {{세그먼트_크기_바이트}}` + +- 세마포어 생성: + +`ipcmk --semaphore {{요소_크기}}` + +- 메시지 큐 생성: + +`ipcmk --queue` + +- 특정 권한으로 공유 메모리 세그먼트 생성 (기본값은 0644): + +`ipcmk --shmem {{세그먼트_크기_바이트}} {{8진수_권한}}` diff --git a/pages.ko/linux/ipcrm.md b/pages.ko/linux/ipcrm.md new file mode 100644 index 00000000000000..b6d19def0e4051 --- /dev/null +++ b/pages.ko/linux/ipcrm.md @@ -0,0 +1,32 @@ +# ipcrm + +> IPC(프로세스 간 통신) 리소스를 삭제합니다. +> 더 많은 정보: . + +- ID로 공유 메모리 세그먼트 삭제: + +`ipcrm --shmem-id {{공유_메모리_ID}}` + +- 키로 공유 메모리 세그먼트 삭제: + +`ipcrm --shmem-key {{공유_메모리_키}}` + +- ID로 IPC 큐 삭제: + +`ipcrm --queue-id {{IPC_큐_ID}}` + +- 키로 IPC 큐 삭제: + +`ipcrm --queue-key {{IPC_큐_키}}` + +- ID로 세마포어 삭제: + +`ipcrm --semaphore-id {{세마포어_ID}}` + +- 키로 세마포어 삭제: + +`ipcrm --semaphore-key {{세마포어_키}}` + +- 모든 IPC 리소스 삭제: + +`ipcrm --all` diff --git a/pages.ko/linux/ipcs.md b/pages.ko/linux/ipcs.md new file mode 100644 index 00000000000000..b5e6f6756d8df5 --- /dev/null +++ b/pages.ko/linux/ipcs.md @@ -0,0 +1,37 @@ +# ipcs + +> System V IPC 설비의 사용 정보 보기: 공유 메모리 세그먼트, 메시지 큐, 세마포어 배열. +> 같이 보기: 좀 더 유연한 도구인 `lsipc`, IPC 설비 생성을 위한 `ipcmk`, 삭제를 위한 `ipcrm`. +> 더 많은 정보: . + +- 모든 활성 IPC 설비에 대한 정보 보기: + +`ipcs` + +- 활성 공유 [m]메모리 세그먼트, 메시지 [q]큐 또는 [s]세마포어 집합에 대한 정보 보기: + +`ipcs {{--shmems|--queues|--semaphores}}` + +- 특정 [i]D를 가진 자원에 대한 전체 세부 사항 보기: + +`ipcs {{--shmems|--queues|--semaphores}} {{[-i|--id]}} {{자원_ID}}` + +- [l]리미트를 [b]바이트 또는 사람이 읽기 쉬운 형식으로 보기: + +`ipcs {{[-l|--limits]}} {{--bytes|--human}}` + +- 현재 사용에 대한 [u]요약 보기: + +`ipcs {{[-u|--summary]}}` + +- 모든 IPC 설비에 대한 [c]만든이 및 소유자의 UID와 PID 보기: + +`ipcs {{[-c|--creator]}}` + +- 모든 IPC 설비에 대한 마지막 작업자의 [p]ID 보기: + +`ipcs {{[-p|--pid]}}` + +- 모든 IPC 설비에 대한 마지막 접근 [t]시각 보기: + +`ipcs {{[-t|--time]}}` diff --git a/pages.ko/linux/ipset.md b/pages.ko/linux/ipset.md new file mode 100644 index 00000000000000..5ba930b683859c --- /dev/null +++ b/pages.ko/linux/ipset.md @@ -0,0 +1,24 @@ +# ipset + +> 방화벽 규칙을 위한 IP 집합 생성. +> 더 많은 정보: . + +- IP 주소를 포함할 빈 IP 집합 생성: + +`ipset create {{집합_이름}} hash:ip` + +- 특정 IP 집합 삭제: + +`ipset destroy {{집합_이름}}` + +- 특정 집합에 IP 주소 추가: + +`ipset add {{집합_이름}} {{192.168.1.25}}` + +- 집합에서 특정 IP 주소 삭제: + +`ipset del {{집합_이름}} {{192.168.1.25}}` + +- IP 집합 저장: + +`ipset save {{집합_이름}} > {{경로/대상/ip_집합}}` diff --git a/pages.ko/linux/iptables-restore.md b/pages.ko/linux/iptables-restore.md new file mode 100644 index 00000000000000..994679ccd3e8ba --- /dev/null +++ b/pages.ko/linux/iptables-restore.md @@ -0,0 +1,9 @@ +# iptables-restore + +> `iptables` IPv4 구성을 복원합니다. +> IPv6에 대해 동일한 작업을 수행하려면 `ip6tables-restore`를 사용합니다. +> 더 많은 정보: . + +- 파일에서 `iptables` 구성 복원: + +`sudo iptables-restore {{경로/대상/파일}}` diff --git a/pages.ko/linux/iptables-save.md b/pages.ko/linux/iptables-save.md new file mode 100644 index 00000000000000..ea444070634d72 --- /dev/null +++ b/pages.ko/linux/iptables-save.md @@ -0,0 +1,17 @@ +# iptables-save + +> `iptables` IPv4 설정 저장. +> IPv6의 경우 `ip6tables-save` 사용. +> 더 많은 정보: . + +- `iptables` 설정 출력: + +`sudo iptables-save` + +- 특정 [t]테이블의 `iptables` 설정 출력: + +`sudo iptables-save {{[-t|--table]}} {{테이블}}` + +- `iptables` 설정을 [f]파일에 저장: + +`sudo iptables-save {{[-f|--file]}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/iptables.md b/pages.ko/linux/iptables.md new file mode 100644 index 00000000000000..9db7927b2c6f19 --- /dev/null +++ b/pages.ko/linux/iptables.md @@ -0,0 +1,29 @@ +# iptables + +> Linux 커널 IPv4 방화벽의 테이블, 체인 및 규칙을 구성합니다. +> IPv6 트래픽 규칙 설정을 위해서는 `ip6tables`를 사용하세요. 같이 보기: `iptables-save`, `iptables-restore`. +> 더 많은 정보: . + +- 필터 테이블의 체인, 규칙, 패킷/바이트 카운터 및 라인 번호 보기: + +`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}` + +- 체인 [P]규칙 설정: + +`sudo iptables {{[-P|--policy]}} {{체인}} {{규칙}}` + +- IP에 대한 체인 정책에 규칙 [A]추가: + +`sudo iptables {{[-A|--append]}} {{체인}} {{[-s|--source]}} {{IP}} {{[-j|--jump]}} {{규칙}}` + +- [p]프로토콜과 포트를 고려하여 IP에 대한 체인 정책에 규칙 [A]추가: + +`sudo iptables {{[-A|--append]}} {{체인}} {{[-s|--source]}} {{IP}} {{[-p|--protocol]}} {{tcp|udp|icmp|...}} --dport {{포트}} {{[-j|--jump]}} {{규칙}}` + +- `192.168.0.0/24` 서브넷의 모든 트래픽을 호스트의 공인 IP로 변환하는 NAT 규칙 추가: + +`sudo iptables {{[-t|--table]}} {{nat}} {{[-A|--append]}} {{POSTROUTING}} {{[-s|--source]}} {{192.168.0.0/24}} {{[-j|--jump]}} {{MASQUERADE}}` + +- 체인 규칙 [D]삭제: + +`sudo iptables {{[-D|--delete]}} {{체인}} {{규칙_라인_번호}}` diff --git a/pages.ko/linux/isoinfo.md b/pages.ko/linux/isoinfo.md new file mode 100644 index 00000000000000..5eeee40639f2cc --- /dev/null +++ b/pages.ko/linux/isoinfo.md @@ -0,0 +1,16 @@ +# isoinfo + +> ISO 디스크 이미지 덤프 및 검증 유틸리티 프로그램. +> 더 많은 정보: . + +- ISO 이미지에 포함된 모든 파일 나열: + +`isoinfo -f -i {{경로/대상/이미지.iso}}` + +- ISO 이미지에서 특정 [x]파일을 추출하여 `stdout`으로 출력: + +`isoinfo -i {{경로/대상/이미지.iso}} -x {{/PATH/TO/FILE/INSIDE/ISO.EXT}}` + +- ISO 디스크 이미지의 헤더 정보 표시: + +`isoinfo -d -i {{경로/대상/이미지.iso}}` diff --git a/pages.ko/linux/isosize.md b/pages.ko/linux/isosize.md new file mode 100644 index 00000000000000..9de53a46b75098 --- /dev/null +++ b/pages.ko/linux/isosize.md @@ -0,0 +1,16 @@ +# isosize + +> ISO 파일의 크기를 표시합니다. +> 더 많은 정보: . + +- ISO 파일의 크기 표시: + +`isosize {{경로/대상/파일.iso}}` + +- ISO 파일의 블록 수와 블록 크기 표시: + +`isosize --sectors {{경로/대상/파일.iso}}` + +- 주어진 수로 나눈 ISO 파일의 크기 표시 (--sectors 옵션이 없는 경우에만 사용 가능): + +`isosize --divisor={{숫자}} {{경로/대상/파일.iso}}` diff --git a/pages.ko/linux/iw-dev.md b/pages.ko/linux/iw-dev.md new file mode 100644 index 00000000000000..4df6880edbc8ba --- /dev/null +++ b/pages.ko/linux/iw-dev.md @@ -0,0 +1,33 @@ +# iw dev + +> 무선 장치를 표시하고 조작합니다. +> 채널, 주파수 및 규제 정보 목록은 . +> 더 많은 정보: . + +- 장치를 모니터 모드로 설정(인터페이스는 먼저 종료되어야 합니다. `ip link`도 참조): + +`sudo iw dev {{wlp}} set type monitor` + +- 장치를 관리 모드로 설정(인터페이스는 먼저 종료되어야 합니다): + +`sudo iw dev {{wlp}} set type managed` + +- 장치의 WiFi 채널 설정(장치는 먼저 인터페이스가 활성화된 상태에서 모니터 모드여야 합니다): + +`sudo iw dev {{wlp}} set channel {{채널_번호}}` + +- 장치의 WiFi 주파수 설정(Mhz 단위)(장치는 먼저 인터페이스가 활성화된 상태에서 모니터 모드여야 합니다): + +`sudo iw dev {{wlp}} set freq {{주파수_단위_메가헤르츠}}` + +- 모든 알려진 스테이션 정보 표시: + +`iw dev {{wlp}} station dump` + +- 특정 MAC 주소로 모니터 모드의 가상 인터페이스 생성: + +`sudo iw dev {{wlp}} interface add "{{가상_인터페이스_이름}}" type monitor addr {{12:34:56:aa:bb:cc}}` + +- 가상 인터페이스 삭제: + +`sudo iw dev "{{가상_인터페이스_이름}}" del` diff --git a/pages.ko/linux/iw.md b/pages.ko/linux/iw.md new file mode 100644 index 00000000000000..c47c20b0196dad --- /dev/null +++ b/pages.ko/linux/iw.md @@ -0,0 +1,37 @@ +# iw + +> 무선 장치를 표시하고 조작. +> 같이 보기: `iw dev`. +> 더 많은 정보: . + +- 사용 가능한 무선 네트워크 스캔: + +`iw dev {{wlp}} scan` + +- 오픈된 무선 네트워크에 연결: + +`iw dev {{wlp}} connect {{SSID}}` + +- 현재 연결 종료: + +`iw dev {{wlp}} disconnect` + +- 현재 연결 정보 표시: + +`iw dev {{wlp}} link` + +- 모든 물리적 및 논리적 무선 네트워크 인터페이스 나열: + +`iw dev` + +- 모든 물리적 하드웨어 인터페이스의 무선 기능 나열: + +`iw phy` + +- 커널의 현재 무선 규제 도메인 정보 나열: + +`iw reg get` + +- 모든 명령에 대한 도움말 표시: + +`iw help` diff --git a/pages.ko/linux/iwconfig.md b/pages.ko/linux/iwconfig.md new file mode 100644 index 00000000000000..ba7b6eeceb27b0 --- /dev/null +++ b/pages.ko/linux/iwconfig.md @@ -0,0 +1,20 @@ +# iwconfig + +> 무선 네트워크 인터페이스의 매개변수를 구성하고 표시합니다. +> 더 많은 정보: . + +- 모든 인터페이스의 매개변수 및 통계 표시: + +`iwconfig` + +- 특정 인터페이스의 매개변수 및 통계 표시: + +`iwconfig {{인터페이스}}` + +- 특정 인터페이스의 ESSID(네트워크 이름) 설정 (예: eth0 또는 wlp2s0): + +`iwconfig {{인터페이스}} {{새_네트워크_이름}}` + +- 특정 인터페이스의 운영 모드 설정: + +`iwconfig {{인터페이스}} mode {{Ad-Hoc|Managed|Master|Repeater|Secondary|Monitor|Auto}}` diff --git a/pages.ko/linux/iwctl.md b/pages.ko/linux/iwctl.md new file mode 100644 index 00000000000000..e32ae98a36a1ec --- /dev/null +++ b/pages.ko/linux/iwctl.md @@ -0,0 +1,28 @@ +# iwctl + +> `iwd` 네트워크 서플리컨트를 제어합니다. +> 더 많은 정보: . + +- 대화형 모드 시작, 이 모드에서는 자동 완성 기능과 함께 명령어를 직접 입력할 수 있습니다: + +`iwctl` + +- Wi-Fi 스테이션 표시: + +`iwctl station list` + +- 스테이션으로 네트워크 검색 시작: + +`iwctl station {{스테이션}} scan` + +- 스테이션에서 찾은 네트워크 표시: + +`iwctl station {{스테이션}} get-networks` + +- 스테이션으로 네트워크에 연결, 자격 증명이 필요할 경우 요청받습니다: + +`iwctl station {{스테이션}} connect {{네트워크_이름}}` + +- 일반 도움말 호출: + +`iwctl {{[-h|--help]}}` diff --git a/pages.ko/linux/iwlist.md b/pages.ko/linux/iwlist.md new file mode 100644 index 00000000000000..dc08dffc0bc5f6 --- /dev/null +++ b/pages.ko/linux/iwlist.md @@ -0,0 +1,36 @@ +# iwlist + +> 무선 인터페이스에서 자세한 정보 가져오기. +> 더 많은 정보: . + +- 범위 내 액세스 포인트 및 애드혹 셀 목록 표시: + +`iwlist {{무선_인터페이스}} scan` + +- 장치에서 사용 가능한 주파수 표시: + +`iwlist {{무선_인터페이스}} frequency` + +- 장치가 지원하는 비트 전송률 나열: + +`iwlist {{무선_인터페이스}} rate` + +- 현재 설정된 WPA 인증 매개변수 나열: + +`iwlist {{무선_인터페이스}} auth` + +- 장치에 설정된 모든 WPA 암호화 키 나열: + +`iwlist {{무선_인터페이스}} wpakeys` + +- 지원되는 암호화 키 크기 및 장치에 설정된 모든 암호화 키 나열: + +`iwlist {{무선_인터페이스}} keys` + +- 장치의 다양한 전원 관리 속성과 모드 나열: + +`iwlist {{무선_인터페이스}} power` + +- 장치에 설정된 일반 정보 요소 나열(WPA 지원에 사용됨): + +`iwlist {{무선_인터페이스}} genie` diff --git a/pages.ko/linux/jhead.md b/pages.ko/linux/jhead.md new file mode 100644 index 00000000000000..e7f36efb11bde3 --- /dev/null +++ b/pages.ko/linux/jhead.md @@ -0,0 +1,32 @@ +# jhead + +> 이미지 타임스탬프 및 EXIF 데이터 조작. +> 더 많은 정보: . + +- 모든 EXIF 데이터 표시: + +`jhead {{경로/대상/이미지.jpg}}` + +- 파일의 날짜 및 시간을 EXIF 생성 날짜로 설정 (파일 생성 날짜가 변경됨): + +`jhead -ft {{경로/대상/이미지.jpg}}` + +- EXIF 시간을 파일의 날짜 및 시간으로 설정 (EXIF 데이터가 변경됨): + +`jhead -dsft {{경로/대상/이미지.jpg}}` + +- 모든 JPEG 파일을 EXIF 생성 날짜에 따라 `YYYY_MM_DD-HH_MM_SS.jpg`로 이름 변경: + +`jhead -n%Y_%m_%d-%H_%M_%S *.jpg` + +- 모든 JPEG 이미지를 EXIF 방향 태그에 따라 90도, 180도 또는 270도로 무손실 회전: + +`jhead -autorot *.jpg` + +- 모든 EXIF 타임스탬프 업데이트 (형식: +- 시간:분:초) (예: 카메라의 시간대를 변경하는 것을 잊었을 때 - 타임스탬프에서 1시간 제거): + +`jhead -ta-1:00:00 *.jpg` + +- 모든 EXIF 데이터 제거 (썸네일 포함): + +`jhead -purejpg {{경로/대상/이미지.jpg}}` diff --git a/pages.ko/linux/jobs.md b/pages.ko/linux/jobs.md new file mode 100644 index 00000000000000..d939172f962284 --- /dev/null +++ b/pages.ko/linux/jobs.md @@ -0,0 +1,29 @@ +# jobs + +> 현재 셸에서 실행된 프로세스에 대한 정보를 표시하는 셸 내장 명령입니다. +> `-l` 및 `-p`를 제외한 옵션은 `bash`에만 적용됩니다. +> 더 많은 정보: . + +- 현재 셸에서 실행된 작업 보기: + +`jobs` + +- 작업과 그 프로세스 ID 나열: + +`jobs -l` + +- 상태가 변경된 작업에 대한 정보 표시: + +`jobs -n` + +- 프로세스 ID만 표시: + +`jobs -p` + +- 실행 중인 프로세스 표시: + +`jobs -r` + +- 중지된 프로세스 표시: + +`jobs -s` diff --git a/pages.ko/linux/journalctl.md b/pages.ko/linux/journalctl.md new file mode 100644 index 00000000000000..ba6c9b1db5e5dc --- /dev/null +++ b/pages.ko/linux/journalctl.md @@ -0,0 +1,36 @@ +# journalctl + +> systemd 저널을 조회합니다. +> 더 많은 정보: . + +- 현재 부트에서 우선순위 레벨 3(오류)로 모든 메시지 표시: + +`journalctl {{[-b|--boot]}} {{[-p|--priority]}} 3` + +- 2일 이상된 저널 로그 삭제: + +`journalctl --vacuum-time 2d` + +- 마지막 N줄만 표시하고 새 메시지를 팔로우(전통적인 syslog의 `tail -f`처럼) 표시: + +`journalctl {{[-n|--lines]}} {{N}} {{[-f|--follow]}}` + +- 특정 유닛의 모든 메시지 표시: + +`journalctl {{[-u|--unit]}} {{유닛}}` + +- 마지막으로 시작된 이후 유닛의 로그 표시: + +`journalctl _SYSTEMD_INVOCATION_ID=$(systemctl show --value --property=InvocationID {{유닛}})` + +- 시간 범위 내의 메시지 필터링(타임스탬프 또는 "yesterday" 같은 플레이스홀더 사용 가능): + +`journalctl {{[-S|--since]}} {{now|today|yesterday|tomorrow}} {{[-U|--until]}} "{{YYYY-MM-DD HH:MM:SS}}"` + +- 특정 프로세스의 모든 메시지 표시: + +`journalctl _PID={{pid}}` + +- 특정 실행 파일의 모든 메시지 표시: + +`journalctl {{경로/대상/실행_파일}}` diff --git a/pages.ko/linux/jpegtran.md b/pages.ko/linux/jpegtran.md new file mode 100644 index 00000000000000..3e9903ebcfdc02 --- /dev/null +++ b/pages.ko/linux/jpegtran.md @@ -0,0 +1,32 @@ +# jpegtran + +> JPEG 파일의 무손실 변환 수행. +> 더 많은 정보: . + +- 이미지를 수평 또는 수직으로 반전: + +`jpegtran -flip {{horizontal|vertical}} {{경로/대상/이미지.jpg}} > {{경로/대상/출력.jpg}}` + +- 이미지를 시계 방향으로 90, 180 또는 270도 회전: + +`jpegtran -rotate {{90|180|270}} {{경로/대상/이미지.jpg}} > {{경로/대상/출력.jpg}}` + +- 이미지의 좌상단에서 우하단 축으로 대칭 변환: + +`jpegtran -transpose {{경로/대상/이미지.jpg}} > {{경로/대상/출력.jpg}}` + +- 이미지의 우상단에서 좌하단 축으로 대칭 변환: + +`jpegtran -transverse {{경로/대상/이미지.jpg}} > {{경로/대상/출력.jpg}}` + +- 이미지를 그레이스케일로 변환: + +`jpegtran -grayscale {{경로/대상/이미지.jpg}} > {{경로/대상/출력.jpg}}` + +- 이미지의 좌상단에서 너비 `W`와 높이 `H`의 직사각형 영역으로 자르고, 특정 파일에 출력 저장: + +`jpegtran -crop {{W}}x{{H}} -outfile {{경로/대상/출력.jpg}} {{경로/대상/이미지.jpg}}` + +- 이미지의 좌상단에서 시작점 `X`와 `Y`로부터 너비 `W`와 높이 `H`의 직사각형 영역으로 자르기: + +`jpegtran -crop {{W}}x{{H}}+{{X}}+{{Y}} {{경로/대상/이미지.jpg}} > {{경로/대상/출력.jpg}}` diff --git a/pages.ko/linux/just.js.md b/pages.ko/linux/just.js.md new file mode 100644 index 00000000000000..c09413ef75f0d7 --- /dev/null +++ b/pages.ko/linux/just.js.md @@ -0,0 +1,24 @@ +# just + +> Linux용 V8 JavaScript 런타임. +> 더 많은 정보: . + +- REPL(대화형 셸) 시작: + +`just` + +- JavaScript 파일 실행: + +`just {{경로/대상/파일.js}}` + +- JavaScript 코드를 인수로 전달하여 평가: + +`just eval "{{코드}}"` + +- 동일한 이름의 디렉터리에 새 프로젝트 초기화: + +`just init {{프로젝트_이름}}` + +- JavaScript 애플리케이션을 실행 파일로 빌드: + +`just build {{경로/대상/파일.js}} --static` diff --git a/pages.ko/linux/kde-builder.md b/pages.ko/linux/kde-builder.md new file mode 100644 index 00000000000000..58c24c9be739a1 --- /dev/null +++ b/pages.ko/linux/kde-builder.md @@ -0,0 +1,37 @@ +# kde-builder + +> 소스 저장소에서 KDE 구성 요소를 쉽게 빌드. +> `kdesrc-build`의 대체 도구. +> 더 많은 정보: . + +- `kde-builder` 초기 설정: + +`kde-builder --initial-setup` + +- KDE 구성 요소 및 의존성을 소스에서 컴파일: + +`kde-builder {{구성_요소_이름}}` + +- 로컬 코드를 업데이트하지 않고 의존성을 컴파일하지 않으며 구성 요소 컴파일: + +`kde-builder --no-src --no-include-dependencies {{구성_요소_이름}}` + +- 컴파일 전 빌드 디렉토리 [r]efresh: + +`kde-builder --refresh-build {{구성_요소_이름}}` + +- 특정 의존성부터 컴파일 재개: + +`kde-builder --resume-from={{의존성_구성_요소}} {{구성_요소_이름}}` + +- 지정된 실행 파일 이름으로 구성 요소 실행: + +`kde-builder --run {{실행_파일_이름}}` + +- 모든 구성된 구성 요소 빌드: + +`kde-builder` + +- 빌드 실패 시 구성 요소 대신 시스템 라이브러리 사용: + +`kde-builder --no-stop-on-failure {{구성_요소_이름}}` diff --git a/pages.ko/linux/kde-inhibit.md b/pages.ko/linux/kde-inhibit.md new file mode 100644 index 00000000000000..2eecec23963a12 --- /dev/null +++ b/pages.ko/linux/kde-inhibit.md @@ -0,0 +1,16 @@ +# kde-inhibit + +> 명령어 실행 중 데스크탑의 다양한 기능을 억제. +> 더 많은 정보: . + +- 전원 관리 억제: + +`kde-inhibit --power {{명령어}} {{명령어_인자}}` + +- 화면 보호기 억제: + +`kde-inhibit --screenSaver {{명령어}} {{명령어_인자}}` + +- VLC를 실행하고, 실행 중 색 보정(야간 모드)을 억제: + +`kde-inhibit --colorCorrect {{vlc}}` diff --git a/pages.ko/linux/kdesrc-build.md b/pages.ko/linux/kdesrc-build.md new file mode 100644 index 00000000000000..066ef4f3e42c5f --- /dev/null +++ b/pages.ko/linux/kdesrc-build.md @@ -0,0 +1,36 @@ +# kdesrc-build + +> KDE 구성 요소를 소스 저장소에서 손쉽게 빌드. +> 더 많은 정보: . + +- `kdesrc-build` 초기화: + +`kdesrc-build --initial-setup` + +- KDE 구성 요소와 그 의존성을 소스에서 컴파일: + +`kdesrc-build {{구성_요소_이름}}` + +- 로컬 코드 업데이트 없이, 의존성 컴파일 없이 구성 요소 컴파일: + +`kdesrc-build --no-src --no-include-dependencies {{구성_요소_이름}}` + +- 컴파일 전에 빌드 디렉토리 새로고침: + +`kdesrc-build --refresh-build {{구성_요소_이름}}` + +- 특정 의존성에서 컴파일 재개: + +`kdesrc-build --resume-from {{의존성_구성_요소}} {{구성_요소_이름}}` + +- 지정된 실행 파일 이름으로 구성 요소 실행: + +`kdesrc-build --run --exec {{실행_파일_이름}} {{구성_요소_이름}}` + +- 모든 구성된 구성 요소 빌드: + +`kdesrc-build` + +- 빌드 실패 시 구성 요소 대신 시스템 라이브러리 사용: + +`kdesrc-build --no-stop-on-failure {{구성_요소_이름}}` diff --git a/pages.ko/linux/kdialog.md b/pages.ko/linux/kdialog.md new file mode 100644 index 00000000000000..7c097420a36908 --- /dev/null +++ b/pages.ko/linux/kdialog.md @@ -0,0 +1,36 @@ +# kdialog + +> 쉘 스크립트 내에서 KDE 대화 상자를 표시합니다. +> 더 많은 정보: . + +- 특정 메시지를 표시하는 대화 상자 열기: + +`kdialog --msgbox "{{메시지}}" "{{선택_세부_메시지}}"` + +- `예`와 `아니오` 버튼이 있는 질문 대화 상자를 열고, 각각 `0`과 `1`을 반환: + +`kdialog --yesno "{{메시지}}"` + +- `예`, `아니오`, `취소` 버튼이 있는 경고 대화 상자를 열고, 각각 `0`, `1`, 또는 `2`를 반환: + +`kdialog --warningyesnocancel "{{메시지}}"` + +- 입력 대화 상자를 열고 `확인`을 누를 때 입력을 `stdout`에 출력: + +`kdialog --inputbox "{{메시지}}" "{{선택_기본_텍스트}}"` + +- 특정 비밀번호를 요청하는 대화 상자를 열고 비밀번호를 `stdout`에 출력: + +`kdialog --password "{{메시지}}"` + +- 특정 드롭다운 메뉴가 포함된 대화 상자를 열고 선택한 항목을 `stdout`에 출력: + +`kdialog --combobox "{{메시지}}" "{{항목1}}" "{{항목2}}" "{{...}}"` + +- 파일 선택 대화 상자를 열고 선택한 파일의 경로를 `stdout`에 출력: + +`kdialog --getopenfilename` + +- 진행 표시줄 대화 상자를 열고 통신을 위한 D-Bus 참조를 `stdout`에 출력: + +`kdialog --progressbar "{{메시지}}"` diff --git a/pages.ko/linux/kdocker.md b/pages.ko/linux/kdocker.md new file mode 100644 index 00000000000000..7d9b54a28a81b7 --- /dev/null +++ b/pages.ko/linux/kdocker.md @@ -0,0 +1,28 @@ +# kdocker + +> 애플리케이션을 시스템 트레이에 쉽게 도킹. +> 더 많은 정보: . + +- 왼쪽 마우스 버튼을 누르면 창을 시스템 트레이로 보내기 위해 커서 표시 (다른 마우스 버튼을 누르면 취소): + +`kdocker` + +- 애플리케이션을 열고 시스템 트레이로 보내기: + +`kdocker {{애플리케이션}}` + +- 포커스된 창을 시스템 트레이로 보내기: + +`kdocker -f` + +- 왼쪽 마우스 버튼을 누르면 사용자 지정 아이콘과 함께 창을 시스템 트레이로 보내기 위해 커서 표시: + +`kdocker -i {{경로/대상/아이콘}}` + +- 애플리케이션을 열고 시스템 트레이로 보내며 포커스를 잃으면 최소화하기: + +`kdocker -l {{애플리케이션}}` + +- 버전 표시: + +`kdocker --version` diff --git a/pages.ko/linux/kernel-install.md b/pages.ko/linux/kernel-install.md new file mode 100644 index 00000000000000..b236f1d759dfab --- /dev/null +++ b/pages.ko/linux/kernel-install.md @@ -0,0 +1,16 @@ +# kernel-install + +> 커널 및 initrd 이미지를 `/boot`에 추가 및 제거. +> 더 많은 정보: . + +- 커널 및 initramfs 이미지를 부트로더 파티션에 추가: + +`sudo kernel-install add {{커널-버전}} {{커널-이미지}} {{경로/대상/initrd-파일 ...}}` + +- 부트로더 파티션에서 커널 제거: + +`sudo kernel-install remove {{커널-버전}}` + +- 구성되거나 자동으로 감지된 다양한 경로와 매개변수 표시: + +`sudo kernel-install inspect {{커널-이미지}}` diff --git a/pages.ko/linux/kexec.md b/pages.ko/linux/kexec.md new file mode 100644 index 00000000000000..e1062918c9262c --- /dev/null +++ b/pages.ko/linux/kexec.md @@ -0,0 +1,20 @@ +# kexec + +> 새 커널로 직접 재부팅. +> 더 많은 정보: . + +- 새 커널 로드: + +`kexec -l {{경로/대상/커널}} --initrd={{경로/대상/initrd}} --command-line={{인자들}}` + +- 현재 부팅 매개변수로 새 커널 로드: + +`kexec -l {{경로/대상/커널}} --initrd={{경로/대상/initrd}} --reuse-cmdline` + +- 현재 로드된 커널 실행: + +`kexec -e` + +- 현재 kexec 대상 커널 언로드: + +`kexec -u` diff --git a/pages.ko/linux/keyctl.md b/pages.ko/linux/keyctl.md new file mode 100644 index 00000000000000..3f402d55cdf1c5 --- /dev/null +++ b/pages.ko/linux/keyctl.md @@ -0,0 +1,36 @@ +# keyctl + +> Linux 커널 키링을 조작합니다. +> 더 많은 정보: . + +- 특정 키링에 있는 키 나열: + +`keyctl list {{대상_키링}}` + +- 사용자 기본 세션의 현재 키 나열: + +`keyctl list {{@us}}` + +- 특정 키링에 키 저장: + +`keyctl add {{타입_키링}} {{키_이름}} {{키_값}} {{대상_키링}}` + +- `stdin`에서 값을 받아 키 저장: + +`echo -n {{키_값}} | keyctl padd {{타입_키링}} {{키_이름}} {{대상_키링}}` + +- 키에 시간 제한 설정: + +`keyctl timeout {{키_이름}} {{초단위_시간_제한}}` + +- 키를 읽어 16진 덤프로 형식화 (출력 불가 시): + +`keyctl read {{키_이름}}` + +- 키를 읽어 그대로 형식화: + +`keyctl pipe {{키_이름}}` + +- 키를 취소하고 추가 작업 방지: + +`keyctl revoke {{키_이름}}` diff --git a/pages.ko/linux/kill.md b/pages.ko/linux/kill.md new file mode 100644 index 00000000000000..e94856e22169c1 --- /dev/null +++ b/pages.ko/linux/kill.md @@ -0,0 +1,37 @@ +# kill + +> 프로세스에 신호를 보내는 유틸리티로, 주로 프로세스 중지와 관련이 있습니다. +> SIGKILL 및 SIGSTOP을 제외한 모든 신호는 프로세스에 의해 가로채져서 안전하게 종료될 수 있습니다. +> 더 많은 정보: . + +- 기본 SIGTERM (종료) 신호를 사용하여 프로그램 종료: + +`kill {{프로세스_ID}}` + +- 신호 값과 해당 이름 목록 표시 (`SIG` 접두사를 제외하고 사용): + +`kill -L` + +- 백그라운드 작업 종료: + +`kill %{{작업_ID}}` + +- SIGHUP (연결 끊김) 신호를 사용하여 프로그램 종료. 많은 데몬이 종료 대신 다시 로드됩니다: + +`kill -{{1|HUP}} {{프로세스_ID}}` + +- SIGINT (인터럽트) 신호를 사용하여 프로그램 종료. 일반적으로 사용자가 ``를 누를 때 시작됩니다: + +`kill -{{2|INT}} {{프로세스_ID}}` + +- 운영 체제에 프로그램을 즉시 종료하도록 신호 (프로세스가 신호를 캡처할 기회가 없음): + +`kill -{{9|KILL}} {{프로세스_ID}}` + +- 운영 체제에 SIGCONT ("계속") 신호를 받을 때까지 프로그램을 일시 중지하도록 신호: + +`kill -{{17|STOP}} {{프로세스_ID}}` + +- 주어진 GID (그룹 ID)를 가진 모든 프로세스에 `SIGUSR1` 신호 보내기: + +`kill -{{SIGUSR1}} -{{그룹_ID}}` diff --git a/pages.ko/linux/kjv.md b/pages.ko/linux/kjv.md new file mode 100644 index 00000000000000..72664c0f3d5760 --- /dev/null +++ b/pages.ko/linux/kjv.md @@ -0,0 +1,36 @@ +# kjv + +> 하나님의 말씀을 데스크탑에서 바로 확인 가능. +> 더 많은 정보: . + +- 책 목록 표시: + +`kjv -l` + +- 특정 책 열기: + +`kjv {{Genesis}}` + +- 특정 책의 특정 장 열기: + +`kjv {{Genesis}} {{2}}` + +- 특정 책의 특정 장의 특정 절 열기: + +`kjv {{John}} {{3}}:{{16}}` + +- 특정 책의 장에서 특정 범위의 절 열기: + +`kjv {{Proverbs}} {{3}}:{{1-6}}` + +- 다른 장의 절 범위를 표시: + +`kjv {{Matthew}} {{1}}:{{7}}-{{2}}:{{6}}` + +- 패턴과 일치하는 모든 절 표시: + +`kjv /{{Plagues}}` + +- 특정 책에서 패턴과 일치하는 모든 절 표시: + +`kjv {{1Jn}}/{{antichrist}}` diff --git a/pages.ko/linux/knock.md b/pages.ko/linux/knock.md new file mode 100644 index 00000000000000..d74b15ebc21182 --- /dev/null +++ b/pages.ko/linux/knock.md @@ -0,0 +1,20 @@ +# knock + +> 방화벽의 특정 포트를 열기 위한 포트 노킹 클라이언트. +> 더 많은 정보: . + +- 다른 프로토콜을 사용하여 포트 노킹: + +`knock {{호스트명}} {{포트번호}}:{{프로토콜}}` + +- UDP를 사용하여 포트 노킹: + +`knock -u {{호스트명}} {{포트번호}}` + +- IPv4/IPv6 강제 사용: + +`knock {{-4|-6}} {{호스트명}} {{포트번호}}` + +- 연결 오류 및 세부 정보 표시: + +`knock -v {{호스트명}} {{포트번호}}` diff --git a/pages.ko/linux/knockd.md b/pages.ko/linux/knockd.md new file mode 100644 index 00000000000000..c7e19005a88247 --- /dev/null +++ b/pages.ko/linux/knockd.md @@ -0,0 +1,12 @@ +# knockd + +> 포트 노킹을 감지하고 스크립트를 실행하는 포트 노킹 데몬. +> 더 많은 정보: . + +- knockd 시스템 데몬 시작: + +`knockd -d` + +- 지정된 구성 [f]파일을 사용하여 knockd 실행: + +`knockd -c {{경로/대상/파일}}.configuration` diff --git a/pages.ko/linux/konsave.md b/pages.ko/linux/konsave.md new file mode 100644 index 00000000000000..da7988d3bbcbef --- /dev/null +++ b/pages.ko/linux/konsave.md @@ -0,0 +1,32 @@ +# konsave + +> 한 번의 명령으로 Linux 사용자 설정을 저장하고 적용. +> 더 많은 정보: . + +- 현재 설정을 프로필로 저장: + +`konsave --save {{프로필_이름}}` + +- 프로필 적용: + +`konsave --apply {{프로필_이름}}` + +- 현재 설정을 프로필로 저장하며, 동일한 이름의 기존 프로필이 있을 경우 덮어쓰기: + +`konsave -s {{프로필_이름}} --force` + +- 모든 프로필 나열: + +`konsave --list` + +- 프로필 제거: + +`konsave --remove {{프로필_이름}}` + +- 프로필을 `.knsv`로 내보내기하여 홈 디렉토리에 저장: + +`konsave --export-profile {{프로필_이름}}` + +- `.knsv` 프로필 가져오기: + +`konsave --import-profile {{경로/대상/프로필_이름.knsv}}` diff --git a/pages.ko/linux/konsole.md b/pages.ko/linux/konsole.md new file mode 100644 index 00000000000000..90e3ec6fed3fa2 --- /dev/null +++ b/pages.ko/linux/konsole.md @@ -0,0 +1,20 @@ +# konsole + +> KDE의 터미널 에뮬레이터. +> 더 많은 정보: . + +- 특정 디렉토리에서 터미널 열기: + +`konsole --workdir {{경로/대상/폴더}}` + +- 특정 명령을 [e]실행하고 종료 후 창 닫지 않기: + +`konsole --noclose -e "{{명령}}"` + +- 새 탭 열기: + +`konsole --new-tab` + +- 백그라운드에서 터미널을 열고 ``를 누르면 앞으로 가져오기: + +`konsole --background-mode` diff --git a/pages.ko/linux/kpackagetool5.md b/pages.ko/linux/kpackagetool5.md new file mode 100644 index 00000000000000..6daf2c7ffc548d --- /dev/null +++ b/pages.ko/linux/kpackagetool5.md @@ -0,0 +1,24 @@ +# kpackagetool5 + +> K패키지 관리자: Plasma 패키지 설치, 나열, 제거. +> 더 많은 정보: . + +- 설치 가능한 모든 패키지 유형 나열: + +`kpackagetool5 --list-types` + +- 디렉토리에서 패키지 설치: + +`kpackagetool5 --type {{패키지_유형}} --install {{경로/대상/폴더}}` + +- 디렉토리에서 설치된 패키지 업데이트: + +`kpackagetool5 --type {{패키지_유형}} --upgrade {{경로/대상/폴더}}` + +- 설치된 플라스모이드 나열 (--global로 모든 사용자에 대해 표시): + +`kpackagetool5 --type Plasma/Applet --list --global` + +- 이름으로 플라스모이드 제거: + +`kpackagetool5 --type Plasma/Applet --remove "{{이름}}"` diff --git a/pages.ko/linux/kpartx.md b/pages.ko/linux/kpartx.md new file mode 100644 index 00000000000000..44d3e0db5e459c --- /dev/null +++ b/pages.ko/linux/kpartx.md @@ -0,0 +1,16 @@ +# kpartx + +> 파티션 테이블에서 디바이스 맵 생성. +> 더 많은 정보: . + +- 파티션 매핑 추가: + +`kpartx -a {{디스크_전체.img}}` + +- 파티션 매핑 삭제: + +`kpartx -d {{디스크_전체.img}}` + +- 파티션 매핑 나열: + +`kpartx -l {{디스크_전체.img}}` diff --git a/pages.ko/linux/kreadconfig5.md b/pages.ko/linux/kreadconfig5.md new file mode 100644 index 00000000000000..d3a5e9483596e1 --- /dev/null +++ b/pages.ko/linux/kreadconfig5.md @@ -0,0 +1,16 @@ +# kreadconfig5 + +> KDE Plasma의 KConfig 항목 읽기. +> 더 많은 정보: . + +- 전역 설정에서 키 읽기: + +`kreadconfig5 --group {{그룹_이름}} --key {{키_이름}}` + +- 특정 설정 파일에서 키 읽기: + +`kreadconfig5 --file {{경로/대상/파일}} --group {{그룹_이름}} --key {{키_이름}}` + +- systemd가 Plasma 세션을 시작하는지 확인: + +`kreadconfig5 --file {{startkderc}} --group {{General}} --key {{systemdBoot}}` diff --git a/pages.ko/linux/krfb-virtualmonitor.md b/pages.ko/linux/krfb-virtualmonitor.md new file mode 100644 index 00000000000000..9b5a25e22d6dcc --- /dev/null +++ b/pages.ko/linux/krfb-virtualmonitor.md @@ -0,0 +1,8 @@ +# krfb-virtualmonitor + +> 가상 모니터를 생성하고 해당 모니터를 VNC와 함께 사용할 수 있도록 허용합니다. +> 더 많은 정보: . + +- 가상 모니터 생성: + +`krfb-virtualmonitor --resolution {{1920}}x{{1080}} --name {{모니터_이름}} --password {{비밀번호}} --port {{5900}}` diff --git a/pages.ko/linux/kscreen-console.md b/pages.ko/linux/kscreen-console.md new file mode 100644 index 00000000000000..ab04440c2537d8 --- /dev/null +++ b/pages.ko/linux/kscreen-console.md @@ -0,0 +1,32 @@ +# kscreen-console + +> KScreen의 상태를 조회하는 커맨드라인 도구. +> 더 많은 정보: . + +- 모든 출력 및 구성 파일을 버그 보고서에 첨부할 수 있도록 표시: + +`kscreen-console bug` + +- KScreen 구성 파일 경로 표시: + +`kscreen-console config` + +- KScreen 출력 정보 및 구성 표시: + +`kscreen-console outputs` + +- 변경 사항 모니터링: + +`kscreen-console monitor` + +- 현재 KScreen 구성을 JSON 형식으로 표시: + +`kscreen-console json` + +- 도움말 표시: + +`kscreen-console --help` + +- Qt 특정 커맨드라인 옵션을 포함한 도움말 표시: + +`kscreen-console --help-all` diff --git a/pages.ko/linux/kscreen-doctor.md b/pages.ko/linux/kscreen-doctor.md new file mode 100644 index 00000000000000..20cf21f8fde75d --- /dev/null +++ b/pages.ko/linux/kscreen-doctor.md @@ -0,0 +1,16 @@ +# kscreen-doctor + +> 화면 설정을 변경하고 조작합니다. +> 더 많은 정보: . + +- 디스플레이 출력 정보 표시: + +`kscreen-doctor --outputs` + +- ID가 1인 디스플레이 출력의 회전을 오른쪽으로 설정: + +`kscreen-doctor {{output.1.rotation.right}}` + +- ID가 `HDMI-2`인 디스플레이 출력의 배율을 2 (200%)로 설정: + +`kscreen-doctor {{output.HDMI-2.scale.2}}` diff --git a/pages.ko/linux/ksvgtopng5.md b/pages.ko/linux/ksvgtopng5.md new file mode 100644 index 00000000000000..5ec498b9b6a253 --- /dev/null +++ b/pages.ko/linux/ksvgtopng5.md @@ -0,0 +1,8 @@ +# ksvgtopng5 + +> SVG 파일을 PNG 형식으로 변환. +> 더 많은 정보: . + +- SVG 파일(절대 경로여야 함)을 PNG로 변환: + +`ksvgtopng5 {{너비}} {{높이}} {{경로/대상/파일.svg}} {{출력_파일명.png}}` diff --git a/pages.ko/linux/kwrite.md b/pages.ko/linux/kwrite.md new file mode 100644 index 00000000000000..0c693d144c4a40 --- /dev/null +++ b/pages.ko/linux/kwrite.md @@ -0,0 +1,21 @@ +# kwrite + +> KDE Desktop 프로젝트의 텍스트 편집기. +> 같이 보기: `kate`. +> 더 많은 정보: . + +- 텍스트 파일 열기: + +`kwrite {{경로/대상/파일}}` + +- 여러 텍스트 파일 열기: + +`kwrite {{파일1 파일2 ...}}` + +- 특정 인코딩으로 텍스트 파일 열기: + +`kwrite --encoding {{UTF-8}} {{경로/대상/파일}}` + +- 특정 줄과 열로 이동하여 텍스트 파일 열기: + +`kwrite --line {{줄_번호}} --column {{열_번호}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/kwriteconfig5.md b/pages.ko/linux/kwriteconfig5.md new file mode 100644 index 00000000000000..b78d7d5fe87f01 --- /dev/null +++ b/pages.ko/linux/kwriteconfig5.md @@ -0,0 +1,32 @@ +# kwriteconfig5 + +> KDE Plasma의 KConfig 항목 쓰기. +> 더 많은 정보: . + +- 도움말 표시: + +`kwriteconfig5 --help` + +- 전역 설정 키 설정: + +`kwriteconfig5 --group {{그룹_이름}} --key {{키}} {{값}}` + +- 특정 설정 파일에 키 설정: + +`kwriteconfig5 --file {{경로/대상/파일}} --group {{그룹_이름}} --key {{키}} {{값}}` + +- 키 삭제: + +`kwriteconfig5 --group {{그룹_이름}} --key {{키}} --delete` + +- systemd를 사용하여 Plasma 세션이 가능할 때 시작: + +`kwriteconfig5 --file {{startkderc}} --group {{General}} --key {{systemdBoot}} {{true}}` + +- 창이 최대화될 때 제목 표시줄 숨기기 (Ubuntu와 유사): + +`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{Windows}} --key {{BorderlessMaximizedWindows}} {{true}}` + +- KRunner를 Meta(커맨드/윈도우) 글로벌 핫키로 열리도록 설정: + +`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} "{{org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch}}"` diff --git a/pages.ko/linux/libtool.md b/pages.ko/linux/libtool.md new file mode 100644 index 00000000000000..b3a738899ad10b --- /dev/null +++ b/pages.ko/linux/libtool.md @@ -0,0 +1,32 @@ +# libtool + +> 공유 라이브러리를 사용하는 복잡성을 일관되고 이식 가능한 인터페이스 뒤로 숨기는 제네릭 라이브러리 지원 스크립트. +> 더 많은 정보: . + +- 소스 파일을 `libtool` 객체로 컴파일: + +`libtool --mode=compile gcc {{[-c|--compile]}} {{경로/대상/원본.c}} {{[-o|--output]}} {{경로/대상/원본.lo}}` + +- 라이브러리 또는 실행 파일 생성: + +`libtool --mode=link gcc {{[-o|--output]}} {{경로/대상/라이브러리.lo}} {{경로/대상/원본.lo}}` + +- 라이브러리 경로를 자동으로 설정하여 다른 프로그램이 설치되지 않은 `libtool` 생성 프로그램 또는 라이브러리를 사용할 수 있도록 합니다: + +`libtool --mode=execute gdb {{경로/대상/프로그램}}` + +- 공유 라이브러리 설치: + +`libtool --mode=install cp {{경로/대상/라이브러리.la}} {{경로/대상/설치_디렉토리}}` + +- 시스템에서 `libtool` 라이브러리 설치 완료: + +`libtool --mode=finish {{경로/대상/설치_디렉토리}}` + +- 설치된 라이브러리 또는 실행 파일 삭제: + +`libtool --mode=uninstall {{경로/대상/설치된_라이브러리.la}}` + +- 설치되지 않은 라이브러리 또는 실행 파일 삭제: + +`libtool --mode=clean rm {{경로/대상/원본.lo}} {{경로/대상/라이브러리.la}}` diff --git a/pages.ko/linux/libtoolize.md b/pages.ko/linux/libtoolize.md new file mode 100644 index 00000000000000..25a748935bfb9e --- /dev/null +++ b/pages.ko/linux/libtoolize.md @@ -0,0 +1,9 @@ +# libtoolize + +> `autotools` 도구로, `libtool`을 사용하기 위해 패키지를 준비합니다. +> 여러 작업을 수행하며, 필요한 파일 및 디렉토리를 생성하여 `libtool`을 프로젝트에 원활하게 통합합니다. +> 더 많은 정보: . + +- `libtool`을 필요한 파일을 복사하여(심볼릭 링크는 피함) 프로젝트를 초기화하고 필요한 경우 기존 파일을 덮어씀: + +`libtoolize {{[-cf|--copy --force]}}` diff --git a/pages.ko/linux/mac2unix.md b/pages.ko/linux/mac2unix.md new file mode 100644 index 00000000000000..4f67589de7c0b0 --- /dev/null +++ b/pages.ko/linux/mac2unix.md @@ -0,0 +1,22 @@ +# mac2unix + +> macOS 스타일의 줄 바꿈을 Unix 스타일로 변경. +> CR을 LF로 대체. +> 같이 보기: `unix2dos`, `unix2mac`, `dos2unix`. +> 더 많은 정보: . + +- 파일의 줄 바꿈 변경: + +`mac2unix {{경로/대상/파일}}` + +- Unix 스타일의 줄 바꿈을 가진 파일 복사본 생성: + +`mac2unix {{[-n|--newfile]}} {{경로/대상/파일}} {{경로/대상/새_파일}}` + +- 파일 정보 표시: + +`mac2unix {{[-i|--info]}} {{경로/대상/파일}}` + +- 바이트 순서 표시(BOM) 유지/추가/제거: + +`mac2unix --{{keep-bom|add-bom|remove-bom}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/macchanger.md b/pages.ko/linux/macchanger.md new file mode 100644 index 00000000000000..dbff46c6102938 --- /dev/null +++ b/pages.ko/linux/macchanger.md @@ -0,0 +1,28 @@ +# macchanger + +> 네트워크 인터페이스 MAC 주소를 조작하는 명령줄 유틸리티. +> 더 많은 정보: . + +- 인터페이스의 현재 및 영구 MAC 주소 보기: + +`macchanger --show {{인터페이스}}` + +- 인터페이스를 임의의 MAC으로 설정: + +`macchanger --random {{인터페이스}}` + +- 인터페이스를 임의의 MAC 주소로 설정하고, [b]urned-[i]n-[a]ddress로 가장: + +`macchanger --random --bia {{인터페이스}}` + +- 인터페이스를 특정 MAC 주소로 설정: + +`macchanger --mac {{XX:XX:XX:XX:XX:XX}} {{인터페이스}}` + +- 알려진 모든 공급업체의 식별자(MAC 주소의 처음 세 바이트) 출력: + +`macchanger --list` + +- 인터페이스를 영구 하드웨어 MAC 주소로 재설정: + +`macchanger --permanent {{인터페이스}}` diff --git a/pages.ko/linux/machinectl.md b/pages.ko/linux/machinectl.md new file mode 100644 index 00000000000000..38c2176a16cb9a --- /dev/null +++ b/pages.ko/linux/machinectl.md @@ -0,0 +1,21 @@ +# machinectl + +> systemd 머신 관리자를 제어합니다. +> 가상 머신, 컨테이너 및 이미지에서 작업을 실행합니다. +> 더 많은 정보: . + +- `systemd-nspawn`을 사용하여 서비스를 머신으로 시작: + +`sudo machinectl start {{머신_이름}}` + +- 실행 중인 머신 중지: + +`sudo machinectl stop {{머신_이름}}` + +- 실행 중인 머신 목록 표시: + +`machinectl list` + +- 머신 내부에서 대화형 셸 열기: + +`sudo machinectl shell {{머신_이름}}` diff --git a/pages.ko/linux/maim.md b/pages.ko/linux/maim.md new file mode 100644 index 00000000000000..2bdb602ae47486 --- /dev/null +++ b/pages.ko/linux/maim.md @@ -0,0 +1,20 @@ +# maim + +> 스크린샷 유틸리티. +> 더 많은 정보: . + +- 스크린샷을 캡처하여 지정된 경로에 저장: + +`maim {{경로/대상/스크린샷.png}}` + +- 선택한 영역의 스크린샷 캡처: + +`maim {{[-s|--select]}} {{경로/대상/스크린샷.png}}` + +- 선택한 영역의 스크린샷을 캡처하여 클립보드에 저장 (`xclip` 필요): + +`maim {{[-s|--select]}} | xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png` + +- 현재 활성 창의 스크린샷 캡처 (`xdotool` 필요): + +`maim {{[-i|--window]}} $(xdotool getactivewindow) {{경로/대상/스크린샷.png}}` diff --git a/pages.ko/linux/makepkg.md b/pages.ko/linux/makepkg.md new file mode 100644 index 00000000000000..7ee565bbcd7fc9 --- /dev/null +++ b/pages.ko/linux/makepkg.md @@ -0,0 +1,33 @@ +# makepkg + +> `pacman`과 함께 사용할 수 있는 패키지를 생성합니다. +> 기본적으로 현재 작업 디렉토리의 `PKGBUILD` 파일을 사용합니다. +> 더 많은 정보: . + +- 패키지 생성: + +`makepkg` + +- 패키지를 생성하고 의존성을 설치: + +`makepkg {{[-s|--syncdeps]}}` + +- 패키지를 생성하고 의존성을 설치한 다음 시스템에 설치: + +`makepkg {{[-s|--syncdeps]}} {{[-i|--install]}}` + +- 패키지를 생성하되 소스의 해시 검사를 건너뜀: + +`makepkg --skipchecksums` + +- 빌드가 성공한 후 작업 디렉토리 정리: + +`makepkg {{[-c|--clean]}}` + +- 소스의 해시 검증: + +`makepkg --verifysource` + +- 소스 정보를 `.SRCINFO`에 생성하고 저장: + +`makepkg --printsrcinfo > .SRCINFO` diff --git a/pages.ko/linux/mandb.md b/pages.ko/linux/mandb.md new file mode 100644 index 00000000000000..e6eafec947a694 --- /dev/null +++ b/pages.ko/linux/mandb.md @@ -0,0 +1,28 @@ +# mandb + +> 사전 형식화된 매뉴얼 페이지 데이터베이스 관리. +> 더 많은 정보: . + +- 매뉴얼 페이지 정리 및 처리: + +`mandb` + +- 단일 항목 업데이트: + +`mandb --filename {{경로/대상/파일}}` + +- 업데이트 대신 처음부터 항목 생성: + +`mandb --create` + +- 사용자 데이터베이스만 처리: + +`mandb --user-db` + +- 오래된 항목을 정리하지 않음: + +`mandb --no-purge` + +- 매뉴얼 페이지의 유효성 검사: + +`mandb --test` diff --git a/pages.ko/linux/manpath.md b/pages.ko/linux/manpath.md new file mode 100644 index 00000000000000..c25316fe2c21fa --- /dev/null +++ b/pages.ko/linux/manpath.md @@ -0,0 +1,12 @@ +# manpath + +> 매뉴얼 페이지의 검색 경로를 확인합니다. +> 더 많은 정보: . + +- 매뉴얼 페이지를 찾는 데 사용되는 검색 경로 표시: + +`manpath` + +- 전체 전역 manpath 표시: + +`manpath --global` diff --git a/pages.ko/linux/mashtree.md b/pages.ko/linux/mashtree.md new file mode 100644 index 00000000000000..3f42e09beae7ac --- /dev/null +++ b/pages.ko/linux/mashtree.md @@ -0,0 +1,17 @@ +# mashtree + +> 유전체로부터 빠르게 트리를 생성합니다. +> 계통수를 생성하지 않습니다. +> 더 많은 정보: . + +- fastq 및/또는 fasta 파일로부터 여러 스레드를 사용하여 가장 빠르게 트리를 생성하고, newick 파일로 출력: + +`mashtree --numcpus {{12}} {{*.fastq.gz}} {{*.fasta}} > {{mashtree.dnd}}` + +- fastq 및/또는 fasta 파일로부터 여러 스레드를 사용하여 가장 정확하게 트리를 생성하고, newick 파일로 출력: + +`mashtree --mindepth {{0}} --numcpus {{12}} {{*.fastq.gz}} {{*.fasta}} > {{mashtree.dnd}}` + +- 신뢰값을 포함하여 트리를 가장 정확하게 생성 (참고: `mashtree` 자체의 옵션은 `--` 오른쪽에 위치해야 함): + +`mashtree_bootstrap.pl --reps {{100}} --numcpus {{12}} {{*.fastq.gz}} -- --min-depth {{0}} > {{mashtree.bootstrap.dnd}}` diff --git a/pages.ko/linux/matchpathcon.md b/pages.ko/linux/matchpathcon.md new file mode 100644 index 00000000000000..72baa54c1ad686 --- /dev/null +++ b/pages.ko/linux/matchpathcon.md @@ -0,0 +1,17 @@ +# matchpathcon + +> 경로의 지속적인 SELinux 보안 컨텍스트 설정을 조회합니다. +> 같이 보기: `semanage-fcontext`, `secon`, `chcon`, `restorecon`. +> 더 많은 정보: . + +- 절대 경로의 지속적인 보안 컨텍스트 설정 조회: + +`matchpathcon {{/경로/대상/파일}}` + +- 특정 파일 유형에 대한 설정으로 조회 제한: + +`matchpathcon -m {{file|dir|pipe|chr_file|blk_file|lnk_file|sock_file}} {{/경로/대상/파일}}` + +- 경로의 지속적인 보안 컨텍스트와 현재 보안 컨텍스트가 일치하는지 [v]확인: + +`matchpathcon -V {{/경로/대상/파일}}` diff --git a/pages.ko/linux/mate-about.md b/pages.ko/linux/mate-about.md new file mode 100644 index 00000000000000..228e70a8acd126 --- /dev/null +++ b/pages.ko/linux/mate-about.md @@ -0,0 +1,8 @@ +# mate-about + +> MATE 데스크톱 환경에 대한 정보 표시. +> 더 많은 정보: . + +- MATE 버전 표시: + +`mate-about --version` diff --git a/pages.ko/linux/mate-calc-cmd.md b/pages.ko/linux/mate-calc-cmd.md new file mode 100644 index 00000000000000..2b040f1e5a95d3 --- /dev/null +++ b/pages.ko/linux/mate-calc-cmd.md @@ -0,0 +1,12 @@ +# mate-calc-cmd + +> 터미널에서 MATE 데스크톱 환경의 수학식을 계산합니다. +> 더 많은 정보: . + +- 대화형 계산기 세션 시작: + +`mate-calc-cmd` + +- 특정 수학식 계산: + +`{{2 + 5}}` diff --git a/pages.ko/linux/mate-calc.md b/pages.ko/linux/mate-calc.md new file mode 100644 index 00000000000000..ca17aaed4bd08b --- /dev/null +++ b/pages.ko/linux/mate-calc.md @@ -0,0 +1,12 @@ +# mate-calc + +> MATE 데스크톱 환경에서 수학 표현식을 계산합니다. +> 더 많은 정보: . + +- 계산기 시작: + +`mate-calc` + +- 특정 수학 표현식 계산: + +`mate-calc --solve {{2 + 5}}` diff --git a/pages.ko/linux/mate-screenshot.md b/pages.ko/linux/mate-screenshot.md new file mode 100644 index 00000000000000..d2f557f605091e --- /dev/null +++ b/pages.ko/linux/mate-screenshot.md @@ -0,0 +1,32 @@ +# mate-screenshot + +> MATE 데스크톱 환경에서 스크린샷 생성. +> 더 많은 정보: . + +- 전체 화면 스크린샷 생성: + +`mate-screenshot` + +- 활성 창 스크린샷 생성: + +`mate-screenshot --window` + +- 특정 영역 스크린샷 생성: + +`mate-screenshot --area` + +- 대화형으로 스크린샷 생성: + +`mate-screenshot --interactive` + +- 테두리 없이 스크린샷 생성: + +`mate-screenshot --window --remove-border` + +- 특정 효과를 적용하여 스크린샷 생성: + +`mate-screenshot --effect={{shadow|border|none}}` + +- 특정 초 단위 지연 후 스크린샷 생성: + +`mate-screenshot --delay={{5}}` diff --git a/pages.ko/linux/mate-search-tool.md b/pages.ko/linux/mate-search-tool.md new file mode 100644 index 00000000000000..39a4be57081b97 --- /dev/null +++ b/pages.ko/linux/mate-search-tool.md @@ -0,0 +1,28 @@ +# mate-search-tool + +> MATE 데스크톱 환경에서 파일 검색. +> 더 많은 정보: . + +- 특정 디렉토리에서 이름에 특정 문자열이 포함된 파일 검색: + +`mate-search-tool --named={{문자열}} --path={{경로/대상/폴더}}` + +- 사용자 확인을 기다리지 않고 파일 검색: + +`mate-search-tool --start --named={{문자열}} --path={{경로/대상/폴더}}` + +- 특정 정규 표현식과 일치하는 이름의 파일 검색: + +`mate-search-tool --start --regex={{문자열}} --path={{경로/대상/폴더}}` + +- 검색 결과 정렬 순서 설정: + +`mate-search-tool --start --named={{문자열}} --path={{경로/대상/폴더}} --sortby={{name|folder|size|type|date}}` + +- 내림차순 정렬 설정: + +`mate-search-tool --start --named={{문자열}} --path={{경로/대상/폴더}} --descending` + +- 특정 사용자/그룹 소유의 파일 검색: + +`mate-search-tool --start --{{user|group}}={{값}} --path={{경로/대상/폴더}}` diff --git a/pages.ko/linux/mcookie.md b/pages.ko/linux/mcookie.md new file mode 100644 index 00000000000000..2cb0265a6db90b --- /dev/null +++ b/pages.ko/linux/mcookie.md @@ -0,0 +1,20 @@ +# mcookie + +> 랜덤 128비트 16진수 숫자를 생성합니다. +> 더 많은 정보: . + +- 랜덤 숫자 생성: + +`mcookie` + +- 파일의 내용을 난수 생성의 시드로 사용하여 랜덤 숫자 생성: + +`mcookie --file {{경로/대상/파일}}` + +- 파일에서 특정 바이트 수를 난수 생성의 시드로 사용하여 랜덤 숫자 생성: + +`mcookie --file {{경로/대상/파일}} --max-size {{바이트_수}}` + +- 사용된 난수의 출처 및 시드와 같은 세부 정보를 출력: + +`mcookie --verbose` diff --git a/pages.ko/linux/mdadm.md b/pages.ko/linux/mdadm.md new file mode 100644 index 00000000000000..a310fef331eb67 --- /dev/null +++ b/pages.ko/linux/mdadm.md @@ -0,0 +1,32 @@ +# mdadm + +> RAID 관리 도구. +> 더 많은 정보: . + +- 배열 생성: + +`sudo mdadm --create {{/dev/md/MyRAID}} --level {{raid_레벨}} --raid-devices {{디스크_개수}} {{/dev/sdXN}}` + +- 배열 중지: + +`sudo mdadm --stop {{/dev/md0}}` + +- 디스크를 실패로 표시: + +`sudo mdadm --fail {{/dev/md0}} {{/dev/sdXN}}` + +- 디스크 제거: + +`sudo mdadm --remove {{/dev/md0}} {{/dev/sdXN}}` + +- 배열에 디스크 추가: + +`sudo mdadm --assemble {{/dev/md0}} {{/dev/sdXN}}` + +- RAID 정보 표시: + +`sudo mdadm --detail {{/dev/md0}}` + +- 디스크의 RAID 메타데이터 삭제하여 초기화: + +`sudo mdadm --zero-superblock {{/dev/sdXN}}` diff --git a/pages.ko/linux/mdbook.md b/pages.ko/linux/mdbook.md new file mode 100644 index 00000000000000..a018d8700dd378 --- /dev/null +++ b/pages.ko/linux/mdbook.md @@ -0,0 +1,24 @@ +# mdbook + +> Markdown 파일을 작성하여 온라인 책을 만듭니다. +> 더 많은 정보: . + +- 현재 디렉토리에 mdbook 프로젝트 생성: + +`mdbook init` + +- 특정 디렉토리에 mdbook 프로젝트 생성: + +`mdbook init {{경로/대상/폴더}}` + +- 생성된 책이 있는 디렉토리 정리: + +`mdbook clean` + +- 에서 책 제공, 파일 변경 시 자동 빌드: + +`mdbook serve` + +- Markdown 파일 세트를 감시하고 파일이 변경될 때 자동으로 빌드: + +`mdbook watch` diff --git a/pages.ko/linux/mediamtx.md b/pages.ko/linux/mediamtx.md new file mode 100644 index 00000000000000..b68a14d4510084 --- /dev/null +++ b/pages.ko/linux/mediamtx.md @@ -0,0 +1,16 @@ +# mediamtx + +> 실시간 미디어 서버 및 프록시. +> 더 많은 정보: . + +- MediaMTX 실행: + +`mediamtx` + +- 사용자 지정 구성 위치로 MediaMTX 실행: + +`mediamtx {{경로/대상/config.yml}}` + +- 데몬으로 MediaMTX 시작: + +`systemctl start mediamtx` diff --git a/pages.ko/linux/megadl.md b/pages.ko/linux/megadl.md new file mode 100644 index 00000000000000..8a9e039aa2b0ce --- /dev/null +++ b/pages.ko/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> 이 명령은 `megatools-dl` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr megatools-dl` diff --git a/pages.ko/linux/megatools-dl.md b/pages.ko/linux/megatools-dl.md new file mode 100644 index 00000000000000..e7c5bb8223aa52 --- /dev/null +++ b/pages.ko/linux/megatools-dl.md @@ -0,0 +1,21 @@ +# megatools-dl + +> `mega.nz`에서 파일을 다운로드. +> `megatools` 모음의 일부. +> 더 많은 정보: . + +- `mega.nz` 링크에서 현재 디렉터리로 파일 다운로드: + +`megatools-dl {{https://mega.nz/...}}` + +- `mega.nz` 링크에서 특정 디렉터리로 파일 다운로드: + +`megatools-dl --path {{경로/대상/폴더}} {{https://mega.nz/...}}` + +- 다운로드할 파일을 대화형으로 선택: + +`megatools-dl --choose-files {{https://mega.nz/...}}` + +- 다운로드 속도를 KiB/s 단위로 제한: + +`megatools-dl --limit-speed {{속도}} {{https://mega.nz/...}}` diff --git a/pages.ko/linux/mesg.md b/pages.ko/linux/mesg.md new file mode 100644 index 00000000000000..d9b49447b8b36f --- /dev/null +++ b/pages.ko/linux/mesg.md @@ -0,0 +1,21 @@ +# mesg + +> 터미널이 다른 사용자로부터 메시지를 수신할 수 있는지 확인하거나 설정합니다. 주로 `write` 명령에서 사용됩니다. +> 같이 보기: `write`, `talk`. +> 더 많은 정보: . + +- 터미널의 메시지 수신 가능 여부 확인: + +`mesg` + +- 다른 사용자로부터 메시지 수신 거부: + +`mesg n` + +- 다른 사용자로부터 메시지 수신 허용: + +`mesg y` + +- [v]자세히 모드를 활성화하여 터미널에서 실행되지 않을 경우 경고 출력: + +`mesg {{[-v|--verbose]}}` diff --git a/pages.ko/linux/microcom.md b/pages.ko/linux/microcom.md new file mode 100644 index 00000000000000..0bdbcd956c2482 --- /dev/null +++ b/pages.ko/linux/microcom.md @@ -0,0 +1,12 @@ +# microcom + +> 최소한의 터미널 프로그램으로, 콘솔에서 시리얼, CAN 또는 텔넷 연결을 통해 원격 장치에 접근하는 데 사용됩니다. +> 더 많은 정보: . + +- 지정된 전송 속도를 사용하여 시리얼 포트 열기: + +`microcom --port {{경로/대상/시리얼_포트}} --speed {{전송_속도}}` + +- 지정된 호스트에 텔넷 연결 설정: + +`microcom --telnet {{호스트명}}:{{포트}}` diff --git a/pages.ko/linux/mimetype.md b/pages.ko/linux/mimetype.md new file mode 100644 index 00000000000000..e0d8ee8f959f4c --- /dev/null +++ b/pages.ko/linux/mimetype.md @@ -0,0 +1,32 @@ +# mimetype + +> 파일의 MIME 유형을 자동으로 결정합니다. +> 더 많은 정보: . + +- 주어진 파일의 MIME 유형 출력: + +`mimetype {{경로/대상/파일}}` + +- 파일명을 제외하고 MIME 유형만 표시: + +`mimetype --brief {{경로/대상/파일}}` + +- MIME 유형 설명 표시: + +`mimetype --describe {{경로/대상/파일}}` + +- `stdin`의 MIME 유형 결정 (파일명 확인하지 않음): + +`{{command}} | mimetype --stdin` + +- MIME 유형이 결정된 방법에 대한 디버그 정보 표시: + +`mimetype --debug {{경로/대상/파일}}` + +- 주어진 파일의 가능한 모든 MIME 유형을 신뢰도 순으로 표시: + +`mimetype --all {{경로/대상/파일}}` + +- 출력의 2글자 언어 코드를 명시적으로 지정: + +`mimetype --language {{경로/대상/파일}}` diff --git a/pages.ko/linux/minicom.md b/pages.ko/linux/minicom.md new file mode 100644 index 00000000000000..bfaf5a29544f7d --- /dev/null +++ b/pages.ko/linux/minicom.md @@ -0,0 +1,16 @@ +# minicom + +> 디바이스의 직렬 인터페이스와 통신. +> 더 많은 정보: . + +- 특정 직렬 포트 열기: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyUSB0}}` + +- 특정 직렬 포트를 주어진 보율로 열기: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyUSB0}} {{[-b|--baudrate]}} {{115200}}` + +- 특정 직렬 포트와 통신하기 전에 설정 메뉴로 들어가기: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyUSB0}} {{[-s|--setup]}}` diff --git a/pages.ko/linux/mke2fs.md b/pages.ko/linux/mke2fs.md new file mode 100644 index 00000000000000..351046a740724b --- /dev/null +++ b/pages.ko/linux/mke2fs.md @@ -0,0 +1,16 @@ +# mke2fs + +> 파티션 내에 Linux 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 b의 파티션 1(`sdb1`)에 ext2 파일 시스템 생성: + +`mkfs -t ext2 {{/dev/sdb1}}` + +- 장치 b의 파티션 1(`sdb1`)에 ext3 파일 시스템 생성: + +`mkfs -t ext3 {{/dev/sdb1}}` + +- 장치 b의 파티션 1(`sdb1`)에 ext4 파일 시스템 생성: + +`mkfs -t ext4 {{/dev/sdb1}}` diff --git a/pages.ko/linux/mkfs.bcachefs.md b/pages.ko/linux/mkfs.bcachefs.md new file mode 100644 index 00000000000000..c74e73f0f8d8b2 --- /dev/null +++ b/pages.ko/linux/mkfs.bcachefs.md @@ -0,0 +1,12 @@ +# mkfs.bcachefs + +> 파티션 내에 `bcachefs` 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 (`X`) 의 파티션 1에 `bcachefs` 파일 시스템 생성: + +`sudo mkfs.bcachefs {{/dev/sdX1}}` + +- 볼륨 레이블을 사용하여 `bcachefs` 파일 시스템 생성: + +`sudo mkfs.bcachefs {{[-L|--fs_label]}} {{볼륨_레이블}} {{/dev/sdX1}}` diff --git a/pages.ko/linux/mkfs.btrfs.md b/pages.ko/linux/mkfs.btrfs.md new file mode 100644 index 00000000000000..44fe5d779bb240 --- /dev/null +++ b/pages.ko/linux/mkfs.btrfs.md @@ -0,0 +1,17 @@ +# mkfs.btrfs + +> BTRFS 파일 시스템 생성. +> 기본값은 `raid1`로, 데이터 블록의 두 복사본이 두 개의 다른 장치에 분산됩니다. +> 더 많은 정보: . + +- 단일 장치에 btrfs 파일 시스템 생성: + +`sudo mkfs.btrfs --metadata single --data single {{/dev/sda}}` + +- 여러 장치에 raid1으로 btrfs 파일 시스템 생성: + +`sudo mkfs.btrfs --metadata raid1 --data raid1 {{/dev/sda}} {{/dev/sdb}} {{/dev/sdN}}` + +- 파일 시스템에 레이블 설정: + +`sudo mkfs.btrfs --label "{{레이블}}" {{/dev/sda}} [{{/dev/sdN}}]` diff --git a/pages.ko/linux/mkfs.cramfs.md b/pages.ko/linux/mkfs.cramfs.md new file mode 100644 index 00000000000000..9ac7bcbb706457 --- /dev/null +++ b/pages.ko/linux/mkfs.cramfs.md @@ -0,0 +1,12 @@ +# mkfs.cramfs + +> 파티션 내에 ROM 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 b의 파티션 1 (`sdb1`) 에 ROM 파일 시스템 생성: + +`mkfs.cramfs {{/dev/sdb1}}` + +- 볼륨 이름을 지정하여 ROM 파일 시스템 생성: + +`mkfs.cramfs -n {{볼륨_이름}} {{/dev/sdb1}}` diff --git a/pages.ko/linux/mkfs.erofs.md b/pages.ko/linux/mkfs.erofs.md new file mode 100644 index 00000000000000..7019f51fd43e22 --- /dev/null +++ b/pages.ko/linux/mkfs.erofs.md @@ -0,0 +1,20 @@ +# mkfs.erofs + +> 이미지 내에 EROFS 파일 시스템 생성. +> 더 많은 정보: . + +- 루트 디렉토리를 기반으로 EROFS 파일 시스템 생성: + +`mkfs.erofs image.erofs root/` + +- 특정 UUID를 가진 EROFS 이미지 생성: + +`mkfs.erofs -U {{UUID}} image.erofs root/` + +- 압축된 EROFS 이미지 생성: + +`mkfs.erofs -zlz4hc image.erofs root/` + +- 모든 파일의 소유자가 root인 EROFS 이미지 생성: + +`mkfs.erofs --all-root image.erofs root/` diff --git a/pages.ko/linux/mkfs.exfat.md b/pages.ko/linux/mkfs.exfat.md new file mode 100644 index 00000000000000..74b2d8028811fb --- /dev/null +++ b/pages.ko/linux/mkfs.exfat.md @@ -0,0 +1,16 @@ +# mkfs.exfat + +> 파티션 내에 exfat 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 b의 파티션 1 (`sdb1`) 에 exfat 파일 시스템 생성: + +`mkfs.exfat {{/dev/sdb1}}` + +- 볼륨 이름을 지정하여 파일 시스템 생성: + +`mkfs.exfat -n {{볼륨_이름}} {{/dev/sdb1}}` + +- 볼륨 ID를 지정하여 파일 시스템 생성: + +`mkfs.exfat -i {{볼륨_ID}} {{/dev/sdb1}}` diff --git a/pages.ko/linux/mkfs.ext4.md b/pages.ko/linux/mkfs.ext4.md new file mode 100644 index 00000000000000..b006cda4812e34 --- /dev/null +++ b/pages.ko/linux/mkfs.ext4.md @@ -0,0 +1,12 @@ +# mkfs.ext4 + +> 파티션 내에 ext4 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 b의 파티션 1 (`sdb1`) 에 ext4 파일 시스템 생성: + +`sudo mkfs.ext4 {{/dev/sdb1}}` + +- 볼륨 라벨을 지정하여 ext4 파일 시스템 생성: + +`sudo mkfs.ext4 -L {{볼륨_라벨}} {{/dev/sdb1}}` diff --git a/pages.ko/linux/mkfs.f2fs.md b/pages.ko/linux/mkfs.f2fs.md new file mode 100644 index 00000000000000..9d2022d94343f1 --- /dev/null +++ b/pages.ko/linux/mkfs.f2fs.md @@ -0,0 +1,12 @@ +# mkfs.f2fs + +> 파티션 내에 F2FS 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 b의 파티션 1 (`sdb1`) 에 F2FS 파일 시스템 생성: + +`sudo mkfs.f2fs {{/dev/sdb1}}` + +- 볼륨 레이블을 지정하여 F2FS 파일 시스템 생성: + +`sudo mkfs.f2fs -l {{볼륨_레이블}} {{/dev/sdb1}}` diff --git a/pages.ko/linux/mkfs.fat.md b/pages.ko/linux/mkfs.fat.md new file mode 100644 index 00000000000000..e932322552082e --- /dev/null +++ b/pages.ko/linux/mkfs.fat.md @@ -0,0 +1,20 @@ +# mkfs.fat + +> 파티션 내에 MS-DOS 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 b의 파티션 1 (`sdb1`) 에 fat 파일 시스템 생성: + +`mkfs.fat {{/dev/sdb1}}` + +- 볼륨 이름을 지정하여 파일 시스템 생성: + +`mkfs.fat -n {{볼륨_이름}} {{/dev/sdb1}}` + +- 볼륨 ID를 지정하여 파일 시스템 생성: + +`mkfs.fat -i {{볼륨_ID}} {{/dev/sdb1}}` + +- 파일 할당 테이블을 2개 대신 5개 사용: + +`mkfs.fat -f 5 {{/dev/sdb1}}` diff --git a/pages.ko/linux/mkfs.md b/pages.ko/linux/mkfs.md new file mode 100644 index 00000000000000..4cc42507b7924d --- /dev/null +++ b/pages.ko/linux/mkfs.md @@ -0,0 +1,17 @@ +# mkfs + +> 하드 디스크 파티션에 리눅스 파일 시스템 구축. +> 이 명령어는 파일 시스템이 정해진 mkfs.를 위해 더 이상 사용되지 않습니다. +> 더 많은 정보: . + +- 파티션에 Linux ext2 파일 시스템 구축: + +`mkfs {{경로/대상/파티션}}` + +- 지정된 타입의 파일 시스템 구축: + +`mkfs -t {{ext4}} {{경로/대상/파티션}}` + +- 지정된 타입의 파일 시스템을 구축하고 불량 블록을 확인: + +`mkfs -c -t {{ntfs}} {{경로/대상/파티션}}` diff --git a/pages.ko/linux/mkfs.minix.md b/pages.ko/linux/mkfs.minix.md new file mode 100644 index 00000000000000..fc91ebad036d0d --- /dev/null +++ b/pages.ko/linux/mkfs.minix.md @@ -0,0 +1,8 @@ +# mkfs.minix + +> 파티션 내에 Minix 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 b의 파티션 1 (`sdb1`) 에 Minix 파일 시스템 생성: + +`mkfs.minix {{/dev/sdb1}}` diff --git a/pages.ko/linux/mkfs.ntfs.md b/pages.ko/linux/mkfs.ntfs.md new file mode 100644 index 00000000000000..b98d136e60b746 --- /dev/null +++ b/pages.ko/linux/mkfs.ntfs.md @@ -0,0 +1,16 @@ +# mkfs.ntfs + +> 파티션 내에 NTFS 파일 시스템 생성. +> 더 많은 정보: . + +- 장치 b의 파티션 1 (`sdb1`) 에 NTFS 파일 시스템 생성: + +`mkfs.ntfs {{/dev/sdb1}}` + +- 볼륨 레이블을 지정하여 파일 시스템 생성: + +`mkfs.ntfs -L {{볼륨_레이블}} {{/dev/sdb1}}` + +- 특정 UUID로 파일 시스템 생성: + +`mkfs.ntfs -U {{UUID}} {{/dev/sdb1}}` diff --git a/pages.ko/linux/mkfs.xfs.md b/pages.ko/linux/mkfs.xfs.md new file mode 100644 index 00000000000000..22f6f8fe85b82b --- /dev/null +++ b/pages.ko/linux/mkfs.xfs.md @@ -0,0 +1,12 @@ +# mkfs.xfs + +> 파티션 내에 XFS 파일 시스템 생성. +> 더 많은 정보: . + +- 장치의 파티션 1에 XFS 파일 시스템 생성: + +`sudo mkfs.xfs {{/dev/sdX1}}` + +- 볼륨 레이블을 사용하여 XFS 파일 시스템 생성: + +`sudo mkfs.xfs -L {{볼륨_레이블}} {{/dev/sdX1}}` diff --git a/pages.ko/linux/mkhomedir_helper.md b/pages.ko/linux/mkhomedir_helper.md new file mode 100644 index 00000000000000..2413ff7386b42f --- /dev/null +++ b/pages.ko/linux/mkhomedir_helper.md @@ -0,0 +1,16 @@ +# mkhomedir_helper + +> 사용자 생성 후 사용자의 홈 디렉토리를 만듭니다. +> 더 많은 정보: . + +- umask 022로 `/etc/skel`을 기반으로 사용자 홈 디렉토리 생성: + +`sudo mkhomedir_helper {{사용자명}}` + +- 소유자에게 모든 권한(0)을, 그룹에게 읽기 권한(3)을 부여한 umask 037로 `/etc/skel`을 기반으로 사용자 홈 디렉토리 생성: + +`sudo mkhomedir_helper {{사용자명}} {{037}}` + +- 사용자 지정 스켈레톤을 기반으로 사용자 홈 디렉토리 생성: + +`sudo mkhomedir_helper {{사용자명}} {{umask}} {{경로/대상/스켈레톤_폴더}}` diff --git a/pages.ko/linux/mkinitcpio.md b/pages.ko/linux/mkinitcpio.md new file mode 100644 index 00000000000000..1451b2aaf9a0af --- /dev/null +++ b/pages.ko/linux/mkinitcpio.md @@ -0,0 +1,36 @@ +# mkinitcpio + +> 지정된 프리셋을 기반으로 Linux 커널 부팅을 위한 초기 램디스크 환경을 생성합니다. +> 더 많은 정보: . + +- 실행하지 않고 수행할 작업을 출력하는 드라이 런 수행: + +`mkinitcpio` + +- `linux` 프리셋을 기반으로 램디스크 환경 생성: + +`mkinitcpio --preset {{linux}}` + +- `linux-lts` 프리셋을 기반으로 램디스크 환경 생성: + +`mkinitcpio --preset {{linux-lts}}` + +- 모든 기존 프리셋을 기반으로 램디스크 환경 생성 (`/etc/mkinitcpio.conf`의 변경 후 모든 initramfs 이미지를 다시 생성하는 데 사용): + +`mkinitcpio --allpresets` + +- 대체 설정 파일을 사용하여 initramfs 이미지 생성: + +`mkinitcpio --config {{경로/대상/mkinitcpio.conf}} --generate {{경로/대상/initramfs.img}}` + +- 현재 실행 중인 커널이 아닌 다른 커널에 대한 initramfs 이미지 생성 (설치된 커널 릴리스는 `/usr/lib/modules/`에 있음): + +`mkinitcpio --kernel {{커널_버전}} --generate {{경로/대상/initramfs.img}}` + +- 사용 가능한 모든 훅 나열: + +`mkinitcpio --listhooks` + +- 특정 훅에 대한 도움말 표시: + +`mkinitcpio --hookhelp {{훅_이름}}` diff --git a/pages.ko/linux/mkisofs.md b/pages.ko/linux/mkisofs.md new file mode 100644 index 00000000000000..41862faab40f7b --- /dev/null +++ b/pages.ko/linux/mkisofs.md @@ -0,0 +1,13 @@ +# mkisofs + +> 디렉터리에서 ISO 파일 생성. +> `genisoimage`라는 별칭으로도 사용됩니다. +> 더 많은 정보: . + +- 디렉터리에서 ISO 생성: + +`mkisofs -o {{파일명.iso}} {{경로/대상/소스_디렉터리}}` + +- ISO 생성 시 디스크 레이블 설정: + +`mkisofs -o {{파일명.iso}} -V "{{레이블_이름}}" {{경로/대상/소스_디렉터리}}` diff --git a/pages.ko/linux/mklost+found.md b/pages.ko/linux/mklost+found.md new file mode 100644 index 00000000000000..b77c7b152ff0b5 --- /dev/null +++ b/pages.ko/linux/mklost+found.md @@ -0,0 +1,8 @@ +# mklost+found + +> lost+found 디렉토리 생성. +> 더 많은 정보: . + +- 현재 디렉토리에 `lost+found` 디렉토리 생성: + +`mklost+found` diff --git a/pages.ko/linux/mknod.md b/pages.ko/linux/mknod.md new file mode 100644 index 00000000000000..088be592553830 --- /dev/null +++ b/pages.ko/linux/mknod.md @@ -0,0 +1,20 @@ +# mknod + +> 블록 또는 문자 장치 특수 파일 생성. +> 더 많은 정보: . + +- 블록 장치 생성: + +`sudo mknod {{경로/대상/장치_파일}} b {{주_장치_번호}} {{부_장치_번호}}` + +- 문자 장치 생성: + +`sudo mknod {{경로/대상/장치_파일}} c {{주_장치_번호}} {{부_장치_번호}}` + +- FIFO(큐) 장치 생성: + +`sudo mknod {{경로/대상/장치_파일}} p` + +- 기본 SELinux 보안 컨텍스트로 장치 파일 생성: + +`sudo mknod {{[-Z |--context=]}}{{경로/대상/장치_파일}} {{유형}} {{주_장치_번호}} {{부_장치_번호}}` diff --git a/pages.ko/linux/mkosi.md b/pages.ko/linux/mkosi.md new file mode 100644 index 00000000000000..eb662dd4049bd3 --- /dev/null +++ b/pages.ko/linux/mkosi.md @@ -0,0 +1,25 @@ +# mkosi + +> 모던하고 레거시가 없는 리눅스 이미지를 빌드합니다. +> `systemd`의 일부입니다. +> 더 많은 정보: . + +- 현재 빌드 구성을 표시하여 빌드될 내용을 확인: + +`mkosi summary` + +- 기본 설정으로 이미지 빌드 (배포판이 선택되지 않은 경우 호스트 시스템의 배포판 사용): + +`mkosi build --distribution {{fedora|debian|ubuntu|arch|opensuse|...}}` + +- 이미지를 빌드하고 해당 이미지의 systemd-nspawn 컨테이너에서 대화형 셸 실행: + +`mkosi shell` + +- QEMU를 사용하여 가상 머신에서 이미지 부팅 (디스크 이미지 또는 커널이 제공된 CPIO 이미지에 대해서만 지원): + +`mkosi qemu` + +- 도움말 표시: + +`mkosi help` diff --git a/pages.ko/linux/mksquashfs.md b/pages.ko/linux/mksquashfs.md new file mode 100644 index 00000000000000..34fe21704706bd --- /dev/null +++ b/pages.ko/linux/mksquashfs.md @@ -0,0 +1,24 @@ +# mksquashfs + +> squashfs 파일 시스템에 파일 및 디렉터리를 생성하거나 추가합니다. +> 더 많은 정보: . + +- squashfs 파일 시스템에 파일 및 디렉터리를 생성하거나 추가 (`gzip`으로 기본 압축): + +`mksquashfs {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}} {{파일시스템.squashfs}}` + +- 특정 [comp]압축 알고리즘을 사용하여 squashfs 파일 시스템에 파일 및 디렉터리를 생성하거나 추가: + +`mksquashfs {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}} {{파일시스템.squashfs}} -comp {{gzip|lzo|lz4|xz|zstd|lzma}}` + +- squashfs 파일 시스템에 파일 및 디렉터리를 생성하거나 추가하면서 일부 제외: + +`mksquashfs {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}} {{파일시스템.squashfs}} -e {{파일_또는_폴더1 파일_또는_폴더2 ...}}` + +- gzip으로 끝나는 파일을 제외하고 squashfs 파일 시스템에 파일 및 디렉터리를 생성하거나 추가: + +`mksquashfs {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}} {{파일시스템.squashfs}} -wildcards -e "{{*.gz}}"` + +- 정규 표현식과 일치하는 파일을 제외하고 squashfs 파일 시스템에 파일 및 디렉터리를 생성하거나 추가: + +`mksquashfs {{경로/대상/파일_또는_폴더1 경로/대상/파일_또는_폴더2 ...}} {{파일시스템.squashfs}} -regex -e "{{정규_표현식}}"` diff --git a/pages.ko/linux/mkswap.md b/pages.ko/linux/mkswap.md new file mode 100644 index 00000000000000..4084c92ade24f9 --- /dev/null +++ b/pages.ko/linux/mkswap.md @@ -0,0 +1,17 @@ +# mkswap + +> 디바이스나 파일에 Linux 스왑 영역을 설정합니다. +> 참고: `path/to/file`은 일반 파일 또는 스왑 파티션을 가리킬 수 있습니다. +> 더 많은 정보: . + +- 지정된 스왑 영역 설정: + +`sudo mkswap {{경로/대상/파일}}` + +- 스왑 영역을 생성하기 전에 파티션의 불량 블록 확인: + +`sudo mkswap -c {{경로/대상/파일}}` + +- 파티션에 레이블 지정 (레이블을 사용하여 `swapon` 사용 가능): + +`sudo mkswap -L {{레이블}} {{/dev/sda1}}` diff --git a/pages.ko/linux/mktemp.md b/pages.ko/linux/mktemp.md new file mode 100644 index 00000000000000..d482ddf8b05483 --- /dev/null +++ b/pages.ko/linux/mktemp.md @@ -0,0 +1,28 @@ +# mktemp + +> 임시 파일 또는 디렉토리 생성. +> 더 많은 정보: . + +- 빈 임시 파일을 생성하고 절대 경로 출력: + +`mktemp` + +- 사용자 지정 디렉토리 사용 (기본값: `$TMPDIR`, 또는 `/tmp`): + +`mktemp {{[-p |--tmpdir=]}}{{/경로/대상/tempdir}}` + +- 사용자 지정 경로 템플릿 사용 (`X`는 무작위 영숫자 문자로 대체됨): + +`mktemp {{/tmp/example.XXXXXXXX}}` + +- 사용자 지정 파일명 템플릿 사용: + +`mktemp -t {{example.XXXXXXXX}}` + +- 주어진 접미사를 가진 빈 임시 파일을 생성하고 절대 경로 출력: + +`mktemp --suffix {{.ext}}` + +- 빈 임시 디렉토리를 생성하고 절대 경로 출력: + +`mktemp {{[-d|--directory]}}` diff --git a/pages.ko/linux/mlabel.md b/pages.ko/linux/mlabel.md new file mode 100644 index 00000000000000..c9f616c36f4ca6 --- /dev/null +++ b/pages.ko/linux/mlabel.md @@ -0,0 +1,8 @@ +# mlabel + +> FAT 및 VFAT 파일 시스템에 대한 MS-DOS 볼륨 레이블 설정. +> 더 많은 정보: . + +- 파일 시스템 레이블 설정: + +`mlabel -i {{/dev/sda}} ::"{{새_레이블}}"` diff --git a/pages.ko/linux/mmcli.md b/pages.ko/linux/mmcli.md new file mode 100644 index 00000000000000..c951a99ff1988f --- /dev/null +++ b/pages.ko/linux/mmcli.md @@ -0,0 +1,24 @@ +# mmcli + +> ModemManager를 제어하고 모니터링. +> 더 많은 정보: . + +- 사용 가능한 모뎀 나열: + +`mmcli --list-modems` + +- 모뎀에 대한 정보 출력: + +`mmcli --modem={{모뎀}}` + +- 모뎀 활성화: + +`mmcli --modem={{모뎀}} --enable` + +- 모뎀에서 사용 가능한 SMS 메시지 나열: + +`sudo mmcli --modem={{모뎀}} --messaging-list-sms` + +- 모뎀에서 메시지를 삭제, 경로 지정: + +`sudo mmcli --modem={{모뎀}} --messaging-delete-sms={{경로/대상/메시지_파일}}` diff --git a/pages.ko/linux/mmdebstrap.md b/pages.ko/linux/mmdebstrap.md new file mode 100644 index 00000000000000..c0d4b68d245fca --- /dev/null +++ b/pages.ko/linux/mmdebstrap.md @@ -0,0 +1,17 @@ +# mmdebstrap + +> Debian chroot 생성 도구. +> `debootstrap`의 대안. +> 더 많은 정보: . + +- Debian Stable 디렉토리 chroot 생성: + +`sudo mmdebstrap stable {{경로/대상/debian-root/}}` + +- 미러를 사용하여 Debian Bookworm tarball chroot 생성: + +`mmdebstrap bookworm {{경로/대상/debian-bookworm.tar}} {{http://mirror.example.org/debian}}` + +- 추가 패키지를 포함하여 Debian Sid tarball chroot 생성: + +`mmdebstrap sid {{경로/대상/debian-sid.tar}} --include={{pkg1,pkg2}}` diff --git a/pages.ko/linux/mocp.md b/pages.ko/linux/mocp.md new file mode 100644 index 00000000000000..b8d0c6709c117c --- /dev/null +++ b/pages.ko/linux/mocp.md @@ -0,0 +1,36 @@ +# mocp + +> Music on Console (MOC) 오디오 플레이어. +> 더 많은 정보: . + +- MOC 터미널 UI 실행: + +`mocp` + +- 특정 디렉토리에서 MOC 터미널 UI 실행: + +`mocp {{경로/대상/폴더}}` + +- MOC 터미널 UI를 실행하지 않고 백그라운드에서 MOC 서버 시작: + +`mocp --server` + +- MOC가 백그라운드에서 실행 중일 때 특정 곡을 재생 목록에 추가: + +`mocp --enqueue {{경로/대상/오디오_파일}}` + +- MOC가 백그라운드에서 실행 중일 때 재귀적으로 곡을 재생 목록에 추가: + +`mocp --append {{경로/대상/폴더}}` + +- MOC가 백그라운드에서 실행 중일 때 재생 목록 지우기: + +`mocp --clear` + +- MOC가 백그라운드에서 실행 중일 때 현재 대기 중인 곡 재생 또는 정지: + +`mocp --{{play|stop}}` + +- MOC 서버를 백그라운드에서 중지: + +`mocp --exit` diff --git a/pages.ko/linux/modinfo.md b/pages.ko/linux/modinfo.md new file mode 100644 index 00000000000000..73450cafd659f9 --- /dev/null +++ b/pages.ko/linux/modinfo.md @@ -0,0 +1,12 @@ +# modinfo + +> 리눅스 커널 모듈에 대한 정보를 추출합니다. +> 더 많은 정보: . + +- 커널 모듈의 모든 속성을 나열: + +`modinfo {{커널_모듈}}` + +- 지정된 속성만 나열: + +`modinfo -F {{author|description|license|parm|filename}} {{커널_모듈}}` diff --git a/pages.ko/linux/modprobe.md b/pages.ko/linux/modprobe.md new file mode 100644 index 00000000000000..2560385876260b --- /dev/null +++ b/pages.ko/linux/modprobe.md @@ -0,0 +1,24 @@ +# modprobe + +> Linux 커널에 모듈을 추가하거나 제거합니다. +> 더 많은 정보: . + +- 모듈을 커널에 로드하는 것처럼 시뮬레이션하지만 실제로는 하지 않음: + +`sudo modprobe --dry-run {{모듈_이름}}` + +- 모듈을 커널에 로드: + +`sudo modprobe {{모듈_이름}}` + +- 모듈을 커널에서 제거: + +`sudo modprobe --remove {{모듈_이름}}` + +- 모듈과 해당 모듈에 의존하는 모듈을 커널에서 제거: + +`sudo modprobe {{[-r|--remove]}} --remove-holders {{모듈_이름}}` + +- 커널 모듈의 의존성 표시: + +`sudo modprobe --show-depends {{모듈_이름}}` diff --git a/pages.ko/linux/module.md b/pages.ko/linux/module.md new file mode 100644 index 00000000000000..4ac3671bff6222 --- /dev/null +++ b/pages.ko/linux/module.md @@ -0,0 +1,32 @@ +# module + +> 사용자의 환경을 module 명령어로 수정. +> 더 많은 정보: . + +- 사용 가능한 모듈 표시: + +`module avail` + +- 이름으로 모듈 검색: + +`module avail {{모듈_이름}}` + +- 모듈 로드: + +`module load {{모듈_이름}}` + +- 로드된 모듈 표시: + +`module list` + +- 특정 로드된 모듈 언로드: + +`module unload {{모듈_이름}}` + +- 모든 로드된 모듈 언로드: + +`module purge` + +- 사용자가 생성한 모듈 지정: + +`module use {{경로/대상/모듈_파일1 경로/대상/모듈_파일2 ...}}` diff --git a/pages.ko/linux/mokutil.md b/pages.ko/linux/mokutil.md new file mode 100644 index 00000000000000..7caf88d5a330e1 --- /dev/null +++ b/pages.ko/linux/mokutil.md @@ -0,0 +1,33 @@ +# mokutil + +> Secure Boot Machine Owner Keys (MOK)를 구성. +> Secure Boot 활성화/비활성화 또는 키 등록과 같은 일부 작업은 재부팅이 필요합니다. +> 더 많은 정보: . + +- Secure Boot가 활성화되어 있는지 표시: + +`mokutil --sb-state` + +- Secure Boot 활성화: + +`mokutil --enable-validation` + +- Secure Boot 비활성화: + +`mokutil --disable-validation` + +- 등록된 키 나열: + +`mokutil --list-enrolled` + +- 새 키 등록: + +`mokutil --import {{경로/대상/키.der}}` + +- 등록될 키 나열: + +`mokutil --list-new` + +- shim 자세히 설정: + +`mokutil --set-verbosity true` diff --git a/pages.ko/linux/mono.md b/pages.ko/linux/mono.md new file mode 100644 index 00000000000000..052080b47c0768 --- /dev/null +++ b/pages.ko/linux/mono.md @@ -0,0 +1,12 @@ +# mono + +> .NET 프레임워크를 위한 런타임. +> 더 많은 정보: . + +- 디버그 모드로 .NET 어셈블리 실행: + +`mono --debug {{경로/대상/프로그램.exe}}` + +- .NET 어셈블리 실행: + +`mono {{경로/대상/프로그램.exe}}` diff --git a/pages.ko/linux/mons.md b/pages.ko/linux/mons.md new file mode 100644 index 00000000000000..5f275d17a636eb --- /dev/null +++ b/pages.ko/linux/mons.md @@ -0,0 +1,20 @@ +# mons + +> 두 디스플레이를 빠르게 관리. +> 더 많은 정보: . + +- 기본 모니터만 활성화: + +`mons -o` + +- 보조 모니터만 활성화: + +`mons -s` + +- 기본 모니터를 보조 모니터에 복제하고, 기본 모니터의 해상도 사용: + +`mons -d` + +- 기본 모니터를 보조 모니터에 미러링하고, 보조 모니터의 해상도 사용: + +`mons -m` diff --git a/pages.ko/linux/mopac.md b/pages.ko/linux/mopac.md new file mode 100644 index 00000000000000..26dec3fc456b2f --- /dev/null +++ b/pages.ko/linux/mopac.md @@ -0,0 +1,12 @@ +# mopac + +> MOPAC (Molecular Orbital PACkage)는 Dewar 및 Thiel의 NDDO 근사를 기반으로 한 반경험적 양자 화학 프로그램입니다. +> 더 많은 정보: . + +- 입력 파일(`.mop`, `.dat`, `.arc`)에 따라 계산 수행: + +`mopac {{경로/대상/입력_파일}}` + +- 현재 디렉토리에 기록하고 출력 파일을 스트리밍하는 HF의 최소 작업 예제: + +`touch test.out; echo "PM7\n#comment\n\nH 0.95506 0.05781 -0.03133\nF 1.89426 0.05781 -0.03133" > test.mop; mopac test.mop & tail -f test.out` diff --git a/pages.ko/linux/more.md b/pages.ko/linux/more.md new file mode 100644 index 00000000000000..6b00c752ab0934 --- /dev/null +++ b/pages.ko/linux/more.md @@ -0,0 +1,29 @@ +# more + +> 파일을 대화형으로 표시하여 스크롤 및 검색을 지원합니다. +> 같이 보기: `less`. +> 더 많은 정보: . + +- 파일 열기: + +`more {{경로/대상/파일}}` + +- 특정 줄 표시: + +`more +{{줄_번호}} {{경로/대상/파일}}` + +- 다음 페이지로 이동: + +`` + +- 문자열 검색 (다음 일치 항목으로 이동하려면 `` 키 누르기): + +`{{무언가}}` + +- 종료: + +`` + +- 대화형 명령에 대한 도움말 표시: + +`` diff --git a/pages.ko/linux/mount.cifs.md b/pages.ko/linux/mount.cifs.md new file mode 100644 index 00000000000000..c46770a3b5bcc8 --- /dev/null +++ b/pages.ko/linux/mount.cifs.md @@ -0,0 +1,17 @@ +# mount.cifs + +> SMB (Server Message Block) 또는 CIFS (Common Internet File System) 공유를 마운트. +> 참고: `mount`에 `-t cifs` 옵션을 전달하여 동일한 작업을 수행할 수 있습니다. +> 더 많은 정보: . + +- 지정된 사용자명 또는 기본적으로 `$USER`를 사용하여 연결 (비밀번호 입력 필요): + +`mount.cifs -o user={{사용자명}} //{{서버}}/{{공유_이름}} {{마운트_지점}}` + +- 게스트 사용자로 연결 (비밀번호 없이): + +`mount.cifs -o guest //{{서버}}/{{공유_이름}} {{마운트_지점}}` + +- 마운트된 디렉토리의 소유권 정보 설정: + +`mount.cifs -o uid={{사용자_ID|사용자명}},gid={{그룹_ID|그룹명}} //{{서버}}/{{공유_이름}} {{마운트_지점}}` diff --git a/pages.ko/linux/mount.ddi.md b/pages.ko/linux/mount.ddi.md new file mode 100644 index 00000000000000..1e8ad91206e01b --- /dev/null +++ b/pages.ko/linux/mount.ddi.md @@ -0,0 +1,9 @@ +# mount.ddi + +> Discoverable Disk Images 마운트. +> 같이 보기: DDIs와 관련된 다른 명령어는 `systemd-dissect`. +> 더 많은 정보: . + +- 운영 체제 이미지를 마운트: + +`mount.ddi {{경로/대상/이미지.raw}} {{/mnt/이미지}}` diff --git a/pages.ko/linux/mount.md b/pages.ko/linux/mount.md new file mode 100644 index 00000000000000..6038dd952dcf79 --- /dev/null +++ b/pages.ko/linux/mount.md @@ -0,0 +1,36 @@ +# mount + +> 하나의 폴더에 있는 전체 파일 시스템에 대한 접근을 제공합니다. +> 더 많은 정보: . + +- 모든 마운트된 파일 시스템 표시: + +`mount` + +- 장치를 디렉토리에 마운트: + +`mount {{[-t|--types]}} {{파일시스템_타입}} {{경로/대상/장치_파일}} {{경로/대상/디렉토리}}` + +- 존재하지 않을 때 특정 폴더를 생성하고, 해당 폴더에 장치를 마운트: + +`mount {{[-m|--mkdir]}} {{경로/대상/장치_파일}} {{경로/대상/대상_폴더}}` + +- 특정 사용자로 장치를 디렉토리에 마운트: + +`mount {{[-o|--options]}} uid={{사용자_ID}},gid={{그룹_ID}} {{경로/대상/장치_파일}} {{경로/대상/디렉토리}}` + +- CD-ROM 장치(파일 타입 ISO9660)를 `/cdrom`에 마운트 (읽기 전용): + +`mount {{[-t|--types]}} {{iso9660}} {{[-o|--options]}} ro {{/dev/cdrom}} {{/cdrom}}` + +- `/etc/fstab`에 정의된 모든 파일 시스템을 마운트: + +`mount {{[-a|--all]}}` + +- `/etc/fstab`에 설정된 특정 파일 시스템을 마운트 (예, `/dev/sda1 /my_drive ext2 defaults 0 2`): + +`mount {{/my_drive}}` + +- 디렉토리를 다른 디렉토리에 마운트: + +`mount {{[-B|--bind]}} {{경로/대상/기존_디렉토리}} {{경로/대상/새로운_디렉토리}}` diff --git a/pages.ko/linux/mount.smb3.md b/pages.ko/linux/mount.smb3.md new file mode 100644 index 00000000000000..e2b5758aa2094c --- /dev/null +++ b/pages.ko/linux/mount.smb3.md @@ -0,0 +1,8 @@ +# mount.smb3 + +> 이 명령은 `mount.cifs`의 별칭입니다. +> 참고: SMB 버전 3 이전에는 `mount.cifs`를 사용해야 합니다. + +- 원본 명령에 대한 문서 보기: + +`tldr mount.cifs` diff --git a/pages.ko/linux/mountpoint.md b/pages.ko/linux/mountpoint.md new file mode 100644 index 00000000000000..46a05fe3382538 --- /dev/null +++ b/pages.ko/linux/mountpoint.md @@ -0,0 +1,16 @@ +# mountpoint + +> 디렉토리가 파일 시스템 마운트 지점인지 확인합니다. +> 더 많은 정보: . + +- 디렉토리가 마운트 지점인지 확인: + +`mountpoint {{경로/대상/폴더}}` + +- 출력 없이 디렉토리가 마운트 지점인지 확인: + +`mountpoint -q {{경로/대상/폴더}}` + +- 마운트 지점의 파일 시스템 주요/부 번호 표시: + +`mountpoint --fs-devno {{경로/대상/폴더}}` diff --git a/pages.ko/linux/mpg123.md b/pages.ko/linux/mpg123.md new file mode 100644 index 00000000000000..2a814252648e67 --- /dev/null +++ b/pages.ko/linux/mpg123.md @@ -0,0 +1,32 @@ +# mpg123 + +> 콘솔 MPEG 오디오 플레이어. +> 더 많은 정보: . + +- 지정된 mp3 파일 재생: + +`mpg123 {{경로/대상/파일1.mp3 경로/대상/파일2.mp3 ...}}` + +- `stdin`에서 mp3 재생: + +`cat {{파일.mp3}} | mpg123 -` + +- 다음 곡으로 건너뛰기: + +`` + +- 현재 곡의 처음으로 돌아가기: + +`` + +- 현재 파일 정지 또는 다시 재생: + +`` + +- 빨리 감기: + +`<.>` + +- 종료: + +`` diff --git a/pages.ko/linux/mpstat.md b/pages.ko/linux/mpstat.md new file mode 100644 index 00000000000000..8b37afdcbf6ebe --- /dev/null +++ b/pages.ko/linux/mpstat.md @@ -0,0 +1,16 @@ +# mpstat + +> CPU 사용 정보를 표시합니다. +> 더 많은 정보: . + +- 2초마다 CPU 통계를 표시: + +`mpstat {{2}}` + +- 2초 간격으로 하나씩 5개의 보고서 표시: + +`mpstat {{2}} {{5}}` + +- 특정 프로세서에서 2초 간격으로 하나씩 5개의 보고서 표시: + +`mpstat -P {{0}} {{2}} {{5}}` diff --git a/pages.ko/linux/mssh.md b/pages.ko/linux/mssh.md new file mode 100644 index 00000000000000..1ab3944f52b4d2 --- /dev/null +++ b/pages.ko/linux/mssh.md @@ -0,0 +1,12 @@ +# mssh + +> 여러 SSH 서버와 동시에 상호작용할 수 있는 GTK+ 기반 SSH 클라이언트. +> 더 많은 정보: . + +- 새 창을 열고 여러 SSH 서버에 연결: + +`mssh {{사용자@호스트1}} {{사용자@호스트2}} {{...}}` + +- `~/.mssh_clusters`에 미리 정의된 서버 그룹에 새 창에서 연결: + +`mssh --alias {{별칭_이름}}` diff --git a/pages.ko/linux/mt.md b/pages.ko/linux/mt.md new file mode 100644 index 00000000000000..939980cf27437c --- /dev/null +++ b/pages.ko/linux/mt.md @@ -0,0 +1,32 @@ +# mt + +> 자기 테이프 드라이브 작동 제어 (일반적으로 LTO 테이프). +> 더 많은 정보: . + +- 테이프 드라이브 상태 확인: + +`mt -f {{/dev/nstX}} status` + +- 테이프를 처음으로 되감기: + +`mt -f {{/dev/nstX}} rewind` + +- 주어진 파일 수만큼 앞으로 이동한 후, 다음 파일의 첫 번째 블록에 테이프 위치: + +`mt -f {{/dev/nstX}} fsf {{개수}}` + +- 테이프를 되감은 후, 주어진 파일의 시작 부분에 테이프 위치: + +`mt -f {{/dev/nstX}} asf {{개수}}` + +- 유효한 데이터 끝 부분에 테이프 위치: + +`mt -f {{/dev/nstX}} eod` + +- 테이프를 되감고 언로드/배출: + +`mt -f {{/dev/nstX}} eject` + +- 현재 위치에 EOF (파일 끝) 마크 작성: + +`mt -f {{/dev/nstX}} eof` diff --git a/pages.ko/linux/nala.md b/pages.ko/linux/nala.md new file mode 100644 index 00000000000000..3022c4283f3421 --- /dev/null +++ b/pages.ko/linux/nala.md @@ -0,0 +1,37 @@ +# nala + +> 더 나은 형식의 패키지 관리 도구. +> `python-apt` API의 프론트엔드. +> 더 많은 정보: . + +- 패키지를 설치하거나 최신 버전으로 업데이트: + +`sudo nala install {{패키지}}` + +- 패키지 제거: + +`sudo nala remove {{패키지}}` + +- 패키지 및 설정 파일 제거: + +`nala purge {{패키지}}` + +- 단어, 정규식(기본값) 또는 glob을 사용하여 패키지 이름 및 설명 검색: + +`nala search "{{패턴}}"` + +- 사용 가능한 패키지 목록을 업데이트하고 시스템 업그레이드: + +`sudo nala upgrade` + +- 시스템에서 사용하지 않는 모든 패키지 및 의존성 제거: + +`sudo nala autoremove` + +- 다운로드 속도를 개선하기 위해 빠른 미러 가져오기: + +`sudo nala fetch` + +- 모든 거래 내역 표시: + +`nala history` diff --git a/pages.ko/linux/namcap.md b/pages.ko/linux/namcap.md new file mode 100644 index 00000000000000..2f0f0e7cd03b30 --- /dev/null +++ b/pages.ko/linux/namcap.md @@ -0,0 +1,16 @@ +# namcap + +> 바이너리 패키지와 소스 `PKGBUILD`의 일반적인 패키징 실수를 검사합니다. +> 더 많은 정보: . + +- 특정 `PKGBUILD` 파일 검사: + +`namcap {{경로/대상/pkgbuild}}` + +- 특정 패키지 파일 검사: + +`namcap {{경로/대상/패키지.pkg.tar.zst}}` + +- 파일을 검사하고 추가 정보 메시지 출력: + +`namcap {{[-i|--info]}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/named.md b/pages.ko/linux/named.md new file mode 100644 index 00000000000000..43920438c1d3d6 --- /dev/null +++ b/pages.ko/linux/named.md @@ -0,0 +1,24 @@ +# named + +> DNS(동적 이름 서비스) 서버 데몬을 실행하여 호스트명을 IP 주소로, 그 반대로 변환합니다. +> 더 많은 정보: . + +- 기본 구성 파일 `/etc/named.conf`를 읽고 초기 데이터를 읽은 후 쿼리를 수신: + +`named` + +- 사용자 지정 구성 파일 읽기: + +`named -c {{경로/대상/named.conf}}` + +- 호스트 머신이 다른 프로토콜을 사용할 수 있어도 IPv4 또는 IPv6만 사용: + +`named {{-4|-6}}` + +- 기본 포트 53 대신 특정 포트에서 쿼리를 수신: + +`named -p {{포트}}` + +- 포그라운드에서 서버를 실행하고 데몬화하지 않음: + +`named -f` diff --git a/pages.ko/linux/namei.md b/pages.ko/linux/namei.md new file mode 100644 index 00000000000000..4e15b438dfda2e --- /dev/null +++ b/pages.ko/linux/namei.md @@ -0,0 +1,24 @@ +# namei + +> 경로명을 따라가면서 최종 지점(파일/디렉토리/문자 디바이스 등)을 찾습니다. 이 프로그램은 "심볼릭 링크 수준이 너무 많음" 문제를 찾는 데 유용합니다. +> 더 많은 정보: . + +- 인수로 지정된 경로명을 분석: + +`namei {{경로/대상/a}} {{경로/대상/b}} {{경로/대상/c}}` + +- 결과를 긴 목록 형식으로 표시: + +`namei --long {{경로/대상/a}} {{경로/대상/b}} {{경로/대상/c}}` + +- 각 파일 유형의 모드 비트를 `ls` 스타일로 표시: + +`namei --modes {{경로/대상/a}} {{경로/대상/b}} {{경로/대상/c}}` + +- 각 파일의 소유자와 그룹 이름을 표시: + +`namei --owners {{경로/대상/a}} {{경로/대상/b}} {{경로/대상/c}}` + +- 심볼릭 링크를 따라가지 않고 분석: + +`namei --nosymlinks {{경로/대상/a}} {{경로/대상/b}} {{경로/대상/c}}` diff --git a/pages.ko/linux/nautilus.md b/pages.ko/linux/nautilus.md new file mode 100644 index 00000000000000..fcc8fd2244f5ca --- /dev/null +++ b/pages.ko/linux/nautilus.md @@ -0,0 +1,34 @@ +# nautilus + +> GNOME 데스크톱 환경의 기본 파일 탐색기. +> GNOME Files로도 알려져 있습니다. +> 같이 보기: `dolphin`, `caja`, `thunar`, `vifm`. +> 더 많은 정보: . + +- Nautilus 실행: + +`nautilus` + +- 루트 사용자로 Nautilus 실행: + +`nautilus admin:/` + +- 특정 디렉토리를 표시하며 Nautilus 실행: + +`nautilus {{경로/대상/폴더}}` + +- 특정 파일 또는 디렉토리가 선택된 상태로 Nautilus 실행: + +`nautilus --select {{경로/대상/파일_또는_폴더}}` + +- 별도의 창에서 Nautilus 실행: + +`nautilus --new-window` + +- 모든 Nautilus 인스턴스 종료: + +`nautilus --quit` + +- 도움말 표시: + +`nautilus --help` diff --git a/pages.ko/linux/navi.md b/pages.ko/linux/navi.md new file mode 100644 index 00000000000000..61ad7a2d8c2207 --- /dev/null +++ b/pages.ko/linux/navi.md @@ -0,0 +1,24 @@ +# navi + +> 명령줄 및 애플리케이션 실행기를 위한 대화형 치트시트 도구. +> 더 많은 정보: . + +- 사용 가능한 모든 치트시트를 탐색: + +`navi` + +- `navi` 자체에 대한 치트시트를 탐색: + +`navi fn welcome` + +- 치트시트에서 명령어를 실행하지 않고 출력: + +`navi --print` + +- 셸 위젯 소스 코드 출력 (가능한 경우 자동으로 셸을 감지하지만, 수동으로 지정할 수도 있음): + +`navi widget {{셸}}` + +- 쿼리에 가장 잘 맞는 스니펫을 자동 선택 및 실행: + +`navi --query '{{쿼리}}' --best-match` diff --git a/pages.ko/linux/ncal.md b/pages.ko/linux/ncal.md new file mode 100644 index 00000000000000..9d4355e668d683 --- /dev/null +++ b/pages.ko/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> 이 명령은 `cal` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr cal` diff --git a/pages.ko/linux/ncat.md b/pages.ko/linux/ncat.md new file mode 100644 index 00000000000000..5007d96687f002 --- /dev/null +++ b/pages.ko/linux/ncat.md @@ -0,0 +1,29 @@ +# ncat + +> 네트워크를 통해 데이터를 읽고, 쓰고, 리디렉션하고, 암호화. +> 유사한 유틸리티 `netcat`/`nc`의 대체 구현. +> 더 많은 정보: . + +- 지정된 포트에서 입력을 대기하고 지정된 파일에 기록: + +`ncat -l {{포트}} > {{경로/대상/파일}}` + +- 여러 연결을 수락하고 닫힌 후에도 ncat을 열어 두기: + +`ncat -lk {{포트}}` + +- 지정된 파일의 출력을 지정된 호스트의 지정된 포트로 전송: + +`ncat {{주소}} {{포트}} < {{경로/대상/파일}}` + +- 암호화된 채널에서 여러 수신 연결을 수락하여 트래픽 내용을 탐지하지 않도록 회피: + +`ncat --ssl -k -l {{포트}}` + +- SSL을 통해 열린 `ncat` 연결에 접속: + +`ncat --ssl {{호스트}} {{포트}}` + +- 특정 포트로 원격 호스트에 연결 가능 여부를 타임아웃과 함께 확인: + +`ncat -w {{초}} -vz {{호스트}} {{포트}}` diff --git a/pages.ko/linux/ndctl.md b/pages.ko/linux/ndctl.md new file mode 100644 index 00000000000000..4120c544ecc55e --- /dev/null +++ b/pages.ko/linux/ndctl.md @@ -0,0 +1,32 @@ +# ndctl + +> 비휘발성 DIMM을 관리하는 도구. +> 더 많은 정보: . + +- 'fsdax' 모드 네임스페이스 생성: + +`ndctl create-namespace --mode={{fsdax}}` + +- 네임스페이스 모드를 'raw'로 변경: + +`ndctl create-namespace --reconfigure={{namespaceX.Y}} --mode={{raw}}` + +- 섹터 모드 네임스페이스의 일관성을 검사하고 필요 시 복구: + +`ndctl check-namespace --repair {{namespaceX.Y}}` + +- 모든 네임스페이스, 영역, 버스 나열 (비활성 포함): + +`ndctl list --namespaces --regions --buses --idle` + +- 특정 네임스페이스를 나열하고 추가 정보를 많이 포함: + +`ndctl list -vvv --namespace={{namespaceX.Y}}` + +- 'ACPI.NFIT' 버스에서 NVDIMM의 SMART 상태 이벤트 모니터링 실행: + +`ndctl monitor --bus={{ACPI.NFIT}}` + +- 네임스페이스 제거 (적용 가능한 경우) 또는 초기 상태로 재설정: + +`ndctl destroy-namespace --force {{namespaceX.Y}}` diff --git a/pages.ko/linux/needrestart.md b/pages.ko/linux/needrestart.md new file mode 100644 index 00000000000000..b0dd4d028f9012 --- /dev/null +++ b/pages.ko/linux/needrestart.md @@ -0,0 +1,36 @@ +# needrestart + +> 라이브러리 업그레이드 후 다시 시작해야 하는 데몬 확인. +> 더 많은 정보: . + +- 오래된 프로세스 나열: + +`needrestart` + +- 상호작용 모드로 서비스 다시 시작: + +`sudo needrestart` + +- [v]자세히 또는 [q]조용히 모드에서 오래된 프로세스 나열: + +`needrestart -{{v|q}}` + +- [k]커널이 오래되었는지 확인: + +`needrestart -k` + +- CPU 마이크로코드가 오래되었는지 확인: + +`needrestart -w` + +- [b]배치 모드에서 오래된 프로세스 나열: + +`needrestart -b` + +- 특정 [c]구성 파일을 사용하여 오래된 프로세스 나열: + +`needrestart -c {{경로/대상/설정}}` + +- 도움말 표시: + +`needrestart --help` diff --git a/pages.ko/linux/nemo.md b/pages.ko/linux/nemo.md new file mode 100644 index 00000000000000..064318fbf7c029 --- /dev/null +++ b/pages.ko/linux/nemo.md @@ -0,0 +1,24 @@ +# nemo + +> Cinnamon 데스크탑 환경에서 파일과 디렉토리를 관리합니다. +> 더 많은 정보: . + +- 현재 사용자 홈 디렉토리 열기: + +`nemo` + +- 특정 디렉토리를 각각의 창으로 열기: + +`nemo {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 특정 디렉토리를 탭으로 열기: + +`nemo --tabs {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 특정 창 크기로 디렉토리 열기: + +`nemo --geometry={{600}}x{{400}} {{경로/대상/폴더}}` + +- 모든 창 닫기: + +`nemo --quit` diff --git a/pages.ko/linux/nethogs.md b/pages.ko/linux/nethogs.md new file mode 100644 index 00000000000000..71027547437a75 --- /dev/null +++ b/pages.ko/linux/nethogs.md @@ -0,0 +1,20 @@ +# nethogs + +> 프로세스별 대역폭 사용량 모니터링. +> 더 많은 정보: . + +- 루트 권한으로 NetHogs 시작 (기본 장치는 `eth0`): + +`sudo nethogs` + +- 특정 장치의 대역폭 모니터링: + +`sudo nethogs {{장치}}` + +- 여러 장치의 대역폭 모니터링: + +`sudo nethogs {{장치1}} {{장치2}}` + +- 새로 고침 주기 지정: + +`sudo nethogs -t {{초}}` diff --git a/pages.ko/linux/netselect-apt.md b/pages.ko/linux/netselect-apt.md new file mode 100644 index 00000000000000..e7e52a85739c12 --- /dev/null +++ b/pages.ko/linux/netselect-apt.md @@ -0,0 +1,20 @@ +# netselect-apt + +> 지연 시간이 가장 낮은 Debian 미러를 위한 `sources.list` 파일 생성. +> 더 많은 정보: . + +- 가장 낮은 지연 시간의 서버를 사용하여 `sources.list` 생성: + +`sudo netselect-apt` + +- Debian 브랜치를 지정, 기본적으로 stable이 사용됨: + +`sudo netselect-apt {{testing}}` + +- non-free 섹션 포함: + +`sudo netselect-apt --non-free` + +- 미러 목록 조회를 위한 국가 지정: + +`sudo netselect-apt -c {{인도}}` diff --git a/pages.ko/linux/netselect.md b/pages.ko/linux/netselect.md new file mode 100644 index 00000000000000..c0c16dd396619e --- /dev/null +++ b/pages.ko/linux/netselect.md @@ -0,0 +1,24 @@ +# netselect + +> 빠른 네트워크 서버 선택을 위한 속도 테스트. +> 더 많은 정보: . + +- 지연 시간이 가장 낮은 서버 선택: + +`sudo netselect {{호스트_1}} {{호스트_2}}` + +- 네임서버 해상도 및 통계 표시: + +`sudo netselect -vv {{호스트_1}} {{호스트_2}}` + +- 최대 TTL(수명) 정의: + +`sudo netselect -m {{10}} {{호스트_1}} {{호스트_2}}` + +- 호스트 중에서 가장 빠른 N개의 서버 출력: + +`sudo netselect -s {{N}} {{호스트_1}} {{호스트_2}} {{호스트_3}}` + +- 도움말 표시: + +`netselect` diff --git a/pages.ko/linux/networkctl.md b/pages.ko/linux/networkctl.md new file mode 100644 index 00000000000000..13ab7fa07f01f1 --- /dev/null +++ b/pages.ko/linux/networkctl.md @@ -0,0 +1,33 @@ +# networkctl + +> 네트워크 링크의 상태를 조회합니다. +> `systemd-networkd`를 사용하여 네트워크 구성을 관리합니다. +> 더 많은 정보: . + +- 기존 링크와 그 상태를 나열: + +`networkctl list` + +- 전체 네트워크 상태 표시: + +`networkctl status` + +- 네트워크 장치를 활성화: + +`networkctl up {{인터페이스1 인터페이스2 ...}}` + +- 네트워크 장치를 비활성화: + +`networkctl down {{인터페이스1 인터페이스2 ...}}` + +- 동적 구성 갱신 (예: DHCP 서버로부터 받은 IP 주소): + +`networkctl renew {{인터페이스1 인터페이스2 ...}}` + +- 구성 파일(.netdev 및 .network) 재로드: + +`networkctl reload` + +- 네트워크 인터페이스 재구성 (구성을 편집한 경우, 먼저 `networkctl reload`를 호출해야 함): + +`networkctl reconfigure {{인터페이스1 인터페이스2 ...}}` diff --git a/pages.ko/linux/newgrp.md b/pages.ko/linux/newgrp.md new file mode 100644 index 00000000000000..71edf5d567b029 --- /dev/null +++ b/pages.ko/linux/newgrp.md @@ -0,0 +1,12 @@ +# newgrp + +> 기본 그룹 소속을 변경합니다. +> 더 많은 정보: . + +- 사용자의 기본 그룹 소속을 변경: + +`newgrp {{그룹_이름}}` + +- `/etc/passwd`에 설정된 사용자의 기본 그룹으로 리셋: + +`newgrp` diff --git a/pages.ko/linux/nft.md b/pages.ko/linux/nft.md new file mode 100644 index 00000000000000..97892ff3fb1056 --- /dev/null +++ b/pages.ko/linux/nft.md @@ -0,0 +1,37 @@ +# nft + +> Linux 커널 방화벽이 제공하는 테이블, 체인 및 규칙을 구성합니다. +> Nftables는 iptables를 대체합니다. +> 더 많은 정보: . + +- 현재 구성 보기: + +`sudo nft list ruleset` + +- "inet" 가족과 "filter" 테이블로 새 테이블 추가: + +`sudo nft add table {{inet}} {{filter}}` + +- 모든 수신 트래픽을 허용하는 새 체인 추가: + +`sudo nft add chain {{inet}} {{filter}} {{input}} \{ type {{filter}} hook {{input}} priority {{0}} \; policy {{accept}} \}` + +- 여러 TCP 포트를 허용하는 새 규칙 추가: + +`sudo nft add rule {{inet}} {{filter}} {{input}} {{tcp}} {{dport \{ telnet, ssh, http, https \} accept}}` + +- `192.168.0.0/24` 서브넷의 모든 트래픽을 호스트의 공용 IP로 변환하는 NAT 규칙 추가: + +`sudo nft add rule {{nat}} {{postrouting}} ip saddr {{192.168.0.0/24}} {{masquerade}}` + +- 규칙 핸들 표시: + +`sudo nft --handle --numeric list chain {{family}} {{table}} {{chain}}` + +- 규칙 삭제: + +`sudo nft delete rule {{inet}} {{filter}} {{input}} handle {{3}}` + +- 현재 구성 저장: + +`sudo nft list ruleset > {{/etc/nftables.conf}}` diff --git a/pages.ko/linux/nitch.md b/pages.ko/linux/nitch.md new file mode 100644 index 00000000000000..e58fe054a6ba1a --- /dev/null +++ b/pages.ko/linux/nitch.md @@ -0,0 +1,16 @@ +# nitch + +> Nim으로 완전히 작성된 작고 매우 빠른 시스템 정보 표시 도구. +> 더 많은 정보: . + +- 시스템 정보 표시 (호스트명, 커널, 가동 시간 등): + +`nitch` + +- [h]도움말 표시: + +`nitch --help` + +- [v]버전 표시: + +`nitch --version` diff --git a/pages.ko/linux/nitrogen.md b/pages.ko/linux/nitrogen.md new file mode 100644 index 00000000000000..2a364d4827b44c --- /dev/null +++ b/pages.ko/linux/nitrogen.md @@ -0,0 +1,16 @@ +# nitrogen + +> X 윈도우용 데스크탑 배경 탐색기 및 설정기. +> 더 많은 정보: . + +- 특정 디렉토리의 배경 화면을 보고 설정: + +`nitrogen {{경로/대상/폴더}}` + +- 자동 크기 설정으로 배경 화면 설정: + +`nitrogen --set-auto {{경로/대상/파일}}` + +- 이전 배경 화면 복원: + +`nitrogen --restore` diff --git a/pages.ko/linux/nixos-container.md b/pages.ko/linux/nixos-container.md new file mode 100644 index 00000000000000..5f3f25ec53bbe9 --- /dev/null +++ b/pages.ko/linux/nixos-container.md @@ -0,0 +1,28 @@ +# nixos-container + +> Linux 컨테이너를 사용하여 NixOS 컨테이너 시작. +> 더 많은 정보: . + +- 실행 중인 컨테이너 나열: + +`sudo nixos-container list` + +- 특정 구성 파일로 NixOS 컨테이너 생성: + +`sudo nixos-container create {{컨테이너_이름}} --config-file {{nix_구성_파일_경로}}` + +- 특정 컨테이너 시작, 중지, 종료, 또는 삭제: + +`sudo nixos-container {{start|stop|terminate|destroy|status}} {{컨테이너_이름}}` + +- 실행 중인 컨테이너에서 명령어 실행: + +`sudo nixos-container run {{컨테이너_이름}} -- {{명령어}} {{명령어_인자들}}` + +- 컨테이너 구성 업데이트: + +`sudo $EDITOR /var/lib/container/{{컨테이너_이름}}/etc/nixos/configuration.nix && sudo nixos-container update {{컨테이너_이름}}` + +- 이미 실행 중인 컨테이너에 대한 대화형 셸 세션 시작: + +`sudo nixos-container root-login {{컨테이너_이름}}` diff --git a/pages.ko/linux/nixos-option.md b/pages.ko/linux/nixos-option.md new file mode 100644 index 00000000000000..5b9ea31d020096 --- /dev/null +++ b/pages.ko/linux/nixos-option.md @@ -0,0 +1,28 @@ +# nixos-option + +> NixOS 설정을 확인합니다. +> 더 많은 정보: . + +- 주어진 옵션 키의 모든 하위 키 나열: + +`nixos-option {{옵션_키}}` + +- 현재 부팅 커널 모듈 나열: + +`nixos-option boot.kernelModules` + +- 특정 사용자의 인증된 키 나열: + +`nixos-option users.users.{{사용자명}}.openssh.authorizedKeys.{{키_파일|키}}` + +- 모든 원격 빌더 나열: + +`nixos-option nix.buildMachines` + +- 다른 NixOS 설정에서 주어진 키의 모든 하위 키 나열: + +`NIXOS_CONFIG={{경로/대상/configuration.nix}} nixos-option {{옵션_키}}` + +- 사용자의 모든 값을 재귀적으로 표시: + +`nixos-option -r users.users.{{사용자}}` diff --git a/pages.ko/linux/nixos-rebuild.md b/pages.ko/linux/nixos-rebuild.md new file mode 100644 index 00000000000000..25482deb89fb55 --- /dev/null +++ b/pages.ko/linux/nixos-rebuild.md @@ -0,0 +1,36 @@ +# nixos-rebuild + +> NixOS 머신을 재구성합니다. +> 더 많은 정보: . + +- 새로운 설정을 빌드하고 전환하며, 부팅 기본값으로 설정: + +`sudo nixos-rebuild switch` + +- 새로운 설정을 빌드하고 전환하며, 부팅 기본값으로 설정하고 부팅 항목 이름 지정: + +`sudo nixos-rebuild switch {{[-p|--profile-name]}} {{이름}}` + +- 새로운 설정을 빌드하고 전환하며, 부팅 기본값으로 설정하고 업데이트 설치: + +`sudo nixos-rebuild switch --upgrade` + +- 설정 변경 사항을 롤백하고 이전 세대로 전환: + +`sudo nixos-rebuild switch --rollback` + +- 새로운 설정을 빌드하여 부팅 기본값으로 설정하지만, 전환하지 않음: + +`sudo nixos-rebuild boot` + +- 새로운 설정을 빌드하고 활성화하지만, 부팅 항목을 만들지 않음 (테스트 용도): + +`sudo nixos-rebuild test` + +- 설정을 빌드하고 가상 머신에서 열기: + +`sudo nixos-rebuild build-vm` + +- 부트로더 메뉴에서와 같이 사용 가능한 세대를 나열합니다: + +`nixos-rebuild list-generations` diff --git a/pages.ko/linux/nl.md b/pages.ko/linux/nl.md new file mode 100644 index 00000000000000..93e93ba147fd5c --- /dev/null +++ b/pages.ko/linux/nl.md @@ -0,0 +1,36 @@ +# nl + +> 파일이나 `stdin`에서 각 줄에 번호를 매깁니다. +> 더 많은 정보: . + +- 파일에서 빈 줄이 아닌 줄에 번호 매기기: + +`nl {{경로/대상/파일}}` + +- `stdin`에서 읽기: + +`{{명령어}} | nl` + +- 빈 줄을 포함한 모든 본문 줄에 번호를 매기거나 본문 줄에 번호를 매기지 않기: + +`nl {{[-b|--body-numbering]}} {{a|n}} {{경로/대상/파일}}` + +- 기본 정규 표현식(BRE) 패턴과 일치하는 본문 줄에만 번호 매기기: + +`nl {{[-b|--body-numbering]}} p'FooBar[0-9]' {{경로/대상/파일}}` + +- 줄 번호 매기기에 특정 [i]크기 사용: + +`nl {{[-i|--line-increment]}} {{크기}} {{경로/대상/파일}}` + +- 줄 번호 매기기 형식을 오른쪽 정렬 또는 왼쪽 정렬로 지정하고, 앞쪽에 0을 유지할지 여부 지정: + +`nl {{[-n|--number-format]}} {{rz|ln|rn}}` + +- 줄 번호 매기기의 [w]너비 지정 (기본값은 6): + +`nl {{[-w|--number-width]}} {{열_너비}} {{경로/대상/파일}}` + +- 줄 번호와 줄을 구분하는 특정 문자열 사용 (기본값은 탭): + +`nl {{[-s|--number-separator]}} {{구분자}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/nm-online.md b/pages.ko/linux/nm-online.md new file mode 100644 index 00000000000000..7c1c4c137159f9 --- /dev/null +++ b/pages.ko/linux/nm-online.md @@ -0,0 +1,12 @@ +# nm-online + +> NetworkManager에 네트워크가 연결되어 있는지 확인. +> 더 많은 정보: . + +- 네트워크가 연결되어 있는지 확인하고 결과를 `stdout`에 출력: + +`nm-online` + +- 연결을 `n`초 동안 대기 (기본값 30초): + +`nm-online --timeout {{n}}` diff --git a/pages.ko/linux/nmcli-agent.md b/pages.ko/linux/nmcli-agent.md new file mode 100644 index 00000000000000..0a9c5478db98d5 --- /dev/null +++ b/pages.ko/linux/nmcli-agent.md @@ -0,0 +1,17 @@ +# nmcli agent + +> `nmcli`를 NetworkManager 비밀 요원이나 polkit 요원으로 실행. +> 이 하위 명령은 `nmcli a`로도 호출할 수 있습니다. +> 더 많은 정보: . + +- `nmcli`를 비밀 요원으로 등록하고 비밀 요청 수신 대기: + +`nmcli agent secret` + +- `nmcli`를 polkit 요원으로 등록하고 권한 요청 수신 대기: + +`nmcli agent polkit` + +- `nmcli`를 비밀 요원 및 polkit 요원으로 등록: + +`nmcli agent all` diff --git a/pages.ko/linux/nmcli-connection.md b/pages.ko/linux/nmcli-connection.md new file mode 100644 index 00000000000000..5f1e164a9c0170 --- /dev/null +++ b/pages.ko/linux/nmcli-connection.md @@ -0,0 +1,33 @@ +# nmcli connection + +> NetworkManager와 함께 연결 관리. +> 이 하위 명령은 `nmcli c`로도 호출할 수 있습니다. +> 더 많은 정보: . + +- 모든 NetworkManager 연결 나열(이름, UUID, 유형 및 장치 표시): + +`nmcli connection` + +- 연결 활성화: + +`nmcli connection up uuid {{uuid}}` + +- 연결 비활성화: + +`nmcli connection down uuid {{uuid}}` + +- 자동 구성된 듀얼 스택 연결 생성: + +`nmcli connection add ifname {{인터페이스_이름}} type {{이더넷}} ipv4.method {{auto}} ipv6.method {{auto}}` + +- 고정 IPv6 전용 연결 생성: + +`nmcli connection add ifname {{인터페이스_이름}} type {{이더넷}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}` + +- 고정 IPv4 전용 연결 생성: + +`nmcli connection add ifname {{인터페이스_이름}} type {{이더넷}} ip4 {{10.0.0.7/8}} gw4 {{10.0.0.1}} ipv4.dns {{10.0.0.1}} ipv6.method {{ignore}}` + +- OVPN 파일에서 OpenVPN을 사용하여 VPN 연결 생성: + +`nmcli connection import type {{openvpn}} file {{경로/대상/vpn_구성.ovpn}}` diff --git a/pages.ko/linux/nmcli-device.md b/pages.ko/linux/nmcli-device.md new file mode 100644 index 00000000000000..86cfd63d840fb4 --- /dev/null +++ b/pages.ko/linux/nmcli-device.md @@ -0,0 +1,21 @@ +# nmcli device + +> NetworkManager를 사용하여 네트워크 인터페이스를 관리하고 새로운 Wi-Fi 연결을 설정합니다. +> 이 하위 명령은 `nmcli d`로도 호출할 수 있습니다. +> 더 많은 정보: . + +- 모든 네트워크 인터페이스의 상태를 출력: + +`nmcli device status` + +- 사용 가능한 Wi-Fi 액세스 포인트를 출력: + +`nmcli device wifi` + +- 지정된 SSID의 Wi-Fi 네트워크에 연결 (비밀번호 입력 요청이 표시됨): + +`nmcli --ask device wifi connect {{ssid}}` + +- 현재 Wi-Fi 네트워크의 비밀번호와 QR 코드를 출력: + +`nmcli device wifi show-password` diff --git a/pages.ko/linux/nmcli-general.md b/pages.ko/linux/nmcli-general.md new file mode 100644 index 00000000000000..9c836ef5bb08d9 --- /dev/null +++ b/pages.ko/linux/nmcli-general.md @@ -0,0 +1,29 @@ +# nmcli general + +> NetworkManager의 일반 설정을 관리합니다. +> 이 하위 명령은 `nmcli g`로도 호출할 수 있습니다. +> 더 많은 정보: . + +- NetworkManager의 일반 상태 표시: + +`nmcli general` + +- 현재 장치의 호스트명 표시: + +`nmcli general hostname` + +- 현재 장치의 호스트명 변경: + +`sudo nmcli general hostname {{새_호스트명}}` + +- NetworkManager의 권한 표시: + +`nmcli general permissions` + +- 현재 로깅 수준 및 도메인 표시: + +`nmcli general logging` + +- 로깅 수준 및/또는 도메인 설정 (`man NetworkManager.conf`에서 사용 가능한 모든 도메인 확인): + +`nmcli general logging level {{INFO|OFF|ERR|WARN|DEBUG|TRACE}} domain {{도메인_1,도메인_2,...}}` diff --git a/pages.ko/linux/nmcli-monitor.md b/pages.ko/linux/nmcli-monitor.md new file mode 100644 index 00000000000000..486abfbd3bf14c --- /dev/null +++ b/pages.ko/linux/nmcli-monitor.md @@ -0,0 +1,9 @@ +# nmcli monitor + +> NetworkManager 연결 상태 변경 사항 모니터링. +> 이 하위 명령은 `nmcli m`으로도 호출할 수 있습니다. +> 더 많은 정보: . + +- NetworkManager 변경 사항 모니터링 시작: + +`nmcli monitor` diff --git a/pages.ko/linux/nmcli-networking.md b/pages.ko/linux/nmcli-networking.md new file mode 100644 index 00000000000000..1548075a003442 --- /dev/null +++ b/pages.ko/linux/nmcli-networking.md @@ -0,0 +1,21 @@ +# nmcli networking + +> NetworkManager의 네트워킹 상태를 관리합니다. +> 이 하위 명령은 `nmcli n`으로도 호출할 수 있습니다. +> 더 많은 정보: . + +- NetworkManager의 네트워킹 상태 표시: + +`nmcli networking` + +- NetworkManager가 관리하는 네트워킹 및 모든 인터페이스 활성화 또는 비활성화: + +`nmcli networking {{on|off}}` + +- 마지막으로 알려진 연결 상태 표시: + +`nmcli networking connectivity` + +- 현재 연결 상태 확인: + +`nmcli networking connectivity check` diff --git a/pages.ko/linux/nmcli-radio.md b/pages.ko/linux/nmcli-radio.md new file mode 100644 index 00000000000000..ca30ec7fa764a7 --- /dev/null +++ b/pages.ko/linux/nmcli-radio.md @@ -0,0 +1,29 @@ +# nmcli radio + +> 라디오 스위치의 상태를 표시하거나 NetworkManager를 사용하여 활성화/비활성화. +> 이 하위 명령은 `nmcli r`로도 호출할 수 있습니다. +> 더 많은 정보: . + +- Wi-Fi 상태 표시: + +`nmcli radio wifi` + +- Wi-Fi 켜기 또는 끄기: + +`nmcli radio wifi {{on|off}}` + +- WWAN 상태 표시: + +`nmcli radio wwan` + +- WWAN 켜기 또는 끄기: + +`nmcli radio wwan {{on|off}}` + +- 두 스위치의 상태 표시: + +`nmcli radio all` + +- 두 스위치 켜기 또는 끄기: + +`nmcli radio all {{on|off}}` diff --git a/pages.ko/linux/nmcli.md b/pages.ko/linux/nmcli.md new file mode 100644 index 00000000000000..6b9207bd6ddb82 --- /dev/null +++ b/pages.ko/linux/nmcli.md @@ -0,0 +1,32 @@ +# nmcli + +> NetworkManager를 사용하여 네트워크 구성을 관리합니다. +> 더 많은 정보: . + +- NetworkManager 비밀/폴킷 에이전트로서 `nmcli` 실행에 대한 문서 보기: + +`tldr nmcli agent` + +- 네트워크 연결 관리에 대한 문서 보기: + +`tldr nmcli connection` + +- 네트워크 인터페이스 관리 및 새로운 Wi-Fi 연결 설정에 대한 문서 보기: + +`tldr nmcli device` + +- NetworkManager의 일반 설정 관리에 대한 문서 보기: + +`tldr nmcli general` + +- NetworkManager의 활동 모니터에 대한 문서 보기: + +`tldr nmcli monitor` + +- 네트워킹 활성화/비활성화 및 상태 확인에 대한 문서 보기: + +`tldr nmcli networking` + +- 라디오 스위치 관리에 대한 문서 보기: + +`tldr nmcli radio` diff --git a/pages.ko/linux/nmon.md b/pages.ko/linux/nmon.md new file mode 100644 index 00000000000000..d946e22365f84a --- /dev/null +++ b/pages.ko/linux/nmon.md @@ -0,0 +1,16 @@ +# nmon + +> 시스템 관리자, 튜너 및 벤치마크 도구. +> 더 많은 정보: . + +- `nmon` 시작: + +`nmon` + +- 기록을 파일에 저장 ("-s 300 -c 288" 기본값): + +`nmon -f` + +- 각 측정 사이에 30초를 두고 총 240번의 측정을 기록하여 파일에 저장: + +`nmon -f -s {{30}} -c {{240}}` diff --git a/pages.ko/linux/nmtui-connect.md b/pages.ko/linux/nmtui-connect.md new file mode 100644 index 00000000000000..b8a10cb6fe7910 --- /dev/null +++ b/pages.ko/linux/nmtui-connect.md @@ -0,0 +1,7 @@ +# nmtui-connect + +> 이 명령어는 `nmtui connect`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr nmtui` diff --git a/pages.ko/linux/nmtui-edit.md b/pages.ko/linux/nmtui-edit.md new file mode 100644 index 00000000000000..59702760d5f80d --- /dev/null +++ b/pages.ko/linux/nmtui-edit.md @@ -0,0 +1,7 @@ +# nmtui-edit + +> 이 명령은 `nmtui edit`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr nmtui` diff --git a/pages.ko/linux/nmtui-hostname.md b/pages.ko/linux/nmtui-hostname.md new file mode 100644 index 00000000000000..62bb45ad5587b9 --- /dev/null +++ b/pages.ko/linux/nmtui-hostname.md @@ -0,0 +1,7 @@ +# nmtui-hostname + +> 이 명령은 `nmtui hostname`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr nmtui` diff --git a/pages.ko/linux/nmtui.md b/pages.ko/linux/nmtui.md new file mode 100644 index 00000000000000..f0d8c39d515eee --- /dev/null +++ b/pages.ko/linux/nmtui.md @@ -0,0 +1,25 @@ +# nmtui + +> NetworkManager를 제어하기 위한 텍스트 사용자 인터페이스. +> ``로 탐색하고, `` 키로 옵션을 선택하세요. +> 더 많은 정보: . + +- 사용자 인터페이스 열기: + +`nmtui` + +- 사용 가능한 연결 목록을 표시하고, 활성화 또는 비활성화 옵션 선택: + +`nmtui connect` + +- 특정 네트워크에 연결: + +`nmtui connect {{이름|UUID|장치|SSID}}` + +- 특정 네트워크 편집/추가/삭제: + +`nmtui edit {{이름|ID}}` + +- 시스템 호스트명 설정: + +`nmtui hostname` diff --git a/pages.ko/linux/nologin.md b/pages.ko/linux/nologin.md new file mode 100644 index 00000000000000..9258d4dd368762 --- /dev/null +++ b/pages.ko/linux/nologin.md @@ -0,0 +1,12 @@ +# nologin + +> 사용자가 로그인하지 못하도록 하는 대체 셸. +> 더 많은 정보: . + +- 사용자의 로그인 셸을 `nologin`으로 설정하여 로그인을 방지: + +`chsh -s {{사용자}} nologin` + +- `nologin` 로그인 셸을 가진 사용자에게 표시할 메시지 사용자 지정: + +`echo "{{로그인_거부_메시지}}" > /etc/nologin.txt` diff --git a/pages.ko/linux/nordvpn.md b/pages.ko/linux/nordvpn.md new file mode 100644 index 00000000000000..79f17a5a8f79e3 --- /dev/null +++ b/pages.ko/linux/nordvpn.md @@ -0,0 +1,32 @@ +# nordvpn + +> NordVPN의 명령줄 인터페이스. +> 더 많은 정보: . + +- NordVPN 계정에 대화형으로 로그인: + +`nordvpn login` + +- 연결 상태 표시: + +`nordvpn status` + +- 가장 가까운 NordVPN 서버에 연결: + +`nordvpn connect` + +- 사용 가능한 모든 국가 나열: + +`nordvpn countries` + +- 특정 국가의 NordVPN 서버에 연결: + +`nordvpn connect {{독일}}` + +- 특정 국가 및 도시의 NordVPN 서버에 연결: + +`nordvpn connect {{독일}} {{베를린}}` + +- 자동 연결 옵션 설정: + +`nordvpn set autoconnect on` diff --git a/pages.ko/linux/nova.md b/pages.ko/linux/nova.md new file mode 100644 index 00000000000000..e5a06413730456 --- /dev/null +++ b/pages.ko/linux/nova.md @@ -0,0 +1,28 @@ +# nova + +> 컴퓨팅 인스턴스를 프로비저닝하는 방법을 제공하는 OpenStack 프로젝트. +> 더 많은 정보: . + +- 현재 테넌트의 VM 나열: + +`nova list` + +- 모든 테넌트의 VM 나열 (관리자 사용자만 가능): + +`nova list --all-tenants` + +- 특정 호스트에 VM 부팅: + +`nova boot --nic net-id={{네트워크_ID}} --image {{이미지_ID}} --flavor {{플레이버}} --availability-zone nova:{{호스트_이름}} {{VM_이름}}` + +- 서버 시작: + +`nova start {{서버}}` + +- 서버 중지: + +`nova stop {{서버}}` + +- 특정 VM에 네트워크 인터페이스 연결: + +`nova interface-attach --net-id {{네트워크_ID}} {{서버}}` diff --git a/pages.ko/linux/nsenter.md b/pages.ko/linux/nsenter.md new file mode 100644 index 00000000000000..41563b1d1a1e34 --- /dev/null +++ b/pages.ko/linux/nsenter.md @@ -0,0 +1,21 @@ +# nsenter + +> 실행 중인 프로세스의 네임스페이스에서 새로운 명령을 실행합니다. +> Docker 이미지나 chroot 감옥에 특히 유용합니다. +> 더 많은 정보: . + +- 특정 프로세스와 동일한 네임스페이스를 사용하여 명령 실행: + +`nsenter --target {{pid}} --all {{명령}} {{명령_인수}}` + +- 특정 프로세스의 마운트|UTS|IPC|네트워크|PID|사용자|cgroup|시간 네임스페이스에서 명령 실행: + +`nsenter --target {{pid}} --{{mount|uts|ipc|net|pid|user|cgroup}} {{명령}} {{명령_인수}}` + +- 특정 프로세스의 UTS, 시간, IPC 네임스페이스에서 명령 실행: + +`nsenter --target {{pid}} --uts --time --ipc -- {{명령}} {{명령_인수}}` + +- procfs를 참조하여 특정 프로세스의 네임스페이스에서 명령 실행: + +`nsenter --pid=/proc/{{pid}}/pid/net -- {{명령}} {{명령_인수}}` diff --git a/pages.ko/linux/nsnake.md b/pages.ko/linux/nsnake.md new file mode 100644 index 00000000000000..f4d1d3898ced91 --- /dev/null +++ b/pages.ko/linux/nsnake.md @@ -0,0 +1,24 @@ +# nsnake + +> 터미널에서 즐기는 Snake 게임. +> 더 많은 정보: . + +- Snake 게임 시작: + +`nsnake` + +- Snake 조작: + +`{{|||}}` + +- 게임 일시 정지/재개: + +`

` + +- 게임 종료: + +`` + +- 게임 중 도움말 표시: + +`` diff --git a/pages.ko/linux/nsxiv.md b/pages.ko/linux/nsxiv.md new file mode 100644 index 00000000000000..b86081ce140577 --- /dev/null +++ b/pages.ko/linux/nsxiv.md @@ -0,0 +1,32 @@ +# nsxiv + +> Neo Simple X 이미지 뷰어. +> 더 많은 정보: . + +- 이미지 열기: + +`nsxiv {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 이미지 모드에서 폴더의 이미지 열기: + +`nsxiv {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- 폴더를 재귀적으로 검색하여 이미지를 보기: + +`nsxiv -r {{경로/대상/폴더1 경로/대상/폴더2 ...}}` + +- nsxiv 종료: + +`` + +- 썸네일 모드로 전환하거나 선택한 이미지를 이미지 모드에서 열기: + +`` + +- 이미지 모드에서 이미지를 앞으로 넘기기: + +`` + +- 이미지 모드에서 이미지를 뒤로 넘기기: + +`

` diff --git a/pages.ko/linux/ntfsfix.md b/pages.ko/linux/ntfsfix.md new file mode 100644 index 00000000000000..50f109ca4d29f6 --- /dev/null +++ b/pages.ko/linux/ntfsfix.md @@ -0,0 +1,8 @@ +# ntfsfix + +> NTFS 파티션의 일반적인 문제 해결 도구. +> 더 많은 정보: . + +- 지정된 NTFS 파티션 문제 해결: + +`sudo ntfsfix {{/dev/sdXN}}` diff --git a/pages.ko/linux/ntpd.md b/pages.ko/linux/ntpd.md new file mode 100644 index 00000000000000..a8f72a2059ffc9 --- /dev/null +++ b/pages.ko/linux/ntpd.md @@ -0,0 +1,16 @@ +# ntpd + +> 시스템 시계를 원격 시간 서버나 로컬 기준 시계에 동기화하는 공식 NTP(네트워크 시간 프로토콜) 데몬. +> 더 많은 정보: . + +- 데몬 시작: + +`sudo ntpd` + +- 시스템 시간을 원격 서버와 한 번 동기화(동기화 후 종료): + +`sudo ntpd --quit` + +- "큰" 조정을 허용하여 한 번 동기화: + +`sudo ntpd --panicgate --quit` diff --git a/pages.ko/linux/ntpdate.md b/pages.ko/linux/ntpdate.md new file mode 100644 index 00000000000000..e9e19c3e410928 --- /dev/null +++ b/pages.ko/linux/ntpdate.md @@ -0,0 +1,20 @@ +# ntpdate + +> NTP를 통해 날짜 및 시간을 동기화하고 설정합니다. +> 더 많은 정보: . + +- 날짜와 시간을 동기화하고 설정: + +`sudo ntpdate {{호스트}}` + +- 시간을 설정하지 않고 호스트에 질의: + +`ntpdate -q {{호스트}}` + +- 방화벽이 특권 포트를 차단하는 경우 비특권 포트를 사용: + +`sudo ntpdate -u {{호스트}}` + +- 시간을 `slewed` 대신 `settimeofday`를 사용하여 강제로 조정: + +`sudo ntpdate -b {{호스트}}` diff --git a/pages.ko/linux/ntpq.md b/pages.ko/linux/ntpq.md new file mode 100644 index 00000000000000..4b91aa1161d1d0 --- /dev/null +++ b/pages.ko/linux/ntpq.md @@ -0,0 +1,24 @@ +# ntpq + +> 네트워크 타임 프로토콜(NTP) 데몬 질의 도구. +> 더 많은 정보: . + +- 대화형 모드로 `ntpq` 시작: + +`ntpq` + +- NTP 피어 목록 출력: + +`ntpq {{[-p|--peers]}}` + +- IP 주소에서 호스트명을 해석하지 않고 NTP 피어 목록 출력: + +`ntpq {{[-n|--numeric]}} {{[-p|--peers]}}` + +- 디버깅 모드로 `ntpq` 사용: + +`ntpq {{[-d|--debug-level]}}` + +- NTP 시스템 변수 값 출력: + +`ntpq {{[-c|--command]}} {{rv}}` diff --git a/pages.ko/linux/numactl.md b/pages.ko/linux/numactl.md new file mode 100644 index 00000000000000..648769e31f9164 --- /dev/null +++ b/pages.ko/linux/numactl.md @@ -0,0 +1,16 @@ +# numactl + +> 프로세스 또는 공유 메모리에 대한 NUMA 정책 제어. +> 더 많은 정보: . + +- 노드 0에서 명령을 실행하고 메모리는 노드 0과 1에 할당: + +`numactl --cpunodebind={{0}} --membind={{0,1}} -- {{명령}} {{명령_인자들}}` + +- 현재 CPU 세트의 CPU(코어) 0-4 및 8-12에서 명령 실행: + +`numactl --physcpubind={{+0-4,8-12}} -- {{명령}} {{명령_인자들}}` + +- 모든 CPU에 메모리를 인터리브하여 명령 실행: + +`numactl --interleave={{all}} -- {{명령}} {{명령_인자들}}` diff --git a/pages.ko/linux/numlockx.md b/pages.ko/linux/numlockx.md new file mode 100644 index 00000000000000..262607d756c1e8 --- /dev/null +++ b/pages.ko/linux/numlockx.md @@ -0,0 +1,20 @@ +# numlockx + +> X11 세션에서 넘버락 키 상태를 제어합니다. +> 더 많은 정보: . + +- 현재 넘버락 상태 표시: + +`numlockx status` + +- 넘버락 켜기: + +`numlockx on` + +- 넘버락 끄기: + +`numlockx off` + +- 현재 상태 전환: + +`numlockx toggle` diff --git a/pages.ko/linux/obabel.md b/pages.ko/linux/obabel.md new file mode 100644 index 00000000000000..d2727de0cb6da8 --- /dev/null +++ b/pages.ko/linux/obabel.md @@ -0,0 +1,20 @@ +# obabel + +> 화학 관련 데이터를 변환합니다. +> 더 많은 정보: . + +- .mol 파일을 XYZ 좌표로 변환: + +`obabel {{경로/대상/파일.mol}} -O {{경로/대상/출력_파일.xyz}}` + +- SMILES 문자열을 500x500 그림으로 변환: + +`obabel -:"{{SMILES}}" -O {{경로/대상/출력_파일.png}} -xp 500` + +- SMILES 문자열 파일을 개별 3D .mol 파일로 변환: + +`obabel {{경로/대상/파일.smi}} -O {{경로/대상/출력_파일.mol}} --gen3D -m` + +- 여러 입력을 하나의 그림으로 렌더링: + +`obabel {{경로/대상/파일1 경로/대상/파일2 ...}} -O {{경로/대상/출력_파일.png}}` diff --git a/pages.ko/linux/objcopy.md b/pages.ko/linux/objcopy.md new file mode 100644 index 00000000000000..30fb3cd899f336 --- /dev/null +++ b/pages.ko/linux/objcopy.md @@ -0,0 +1,24 @@ +# objcopy + +> 오브젝트 파일의 내용을 다른 파일로 복사합니다. +> 더 많은 정보: . + +- 데이터를 다른 파일로 복사: + +`objcopy {{경로/대상/소스_파일}} {{경로/대상/목표_파일}}` + +- 오브젝트 파일을 한 형식에서 다른 형식으로 변환: + +`objcopy --input-target={{입력_형식}} --output-target {{출력_형식}} {{경로/대상/소스_파일}} {{경로/대상/목표_파일}}` + +- 파일에서 모든 심볼 정보를 제거: + +`objcopy --strip-all {{경로/대상/소스_파일}} {{경로/대상/목표_파일}}` + +- 파일에서 디버깅 정보 제거: + +`objcopy --strip-debug {{경로/대상/소스_파일}} {{경로/대상/목표_파일}}` + +- 소스 파일에서 특정 섹션을 대상 파일로 복사: + +`objcopy --only-section {{섹션}} {{경로/대상/소스_파일}} {{경로/대상/목표_파일}}` diff --git a/pages.ko/linux/oomctl.md b/pages.ko/linux/oomctl.md new file mode 100644 index 00000000000000..3ceb466fe254cd --- /dev/null +++ b/pages.ko/linux/oomctl.md @@ -0,0 +1,8 @@ +# oomctl + +> `systemd-oomd`에 저장된 상태를 분석합니다. +> 더 많은 정보: . + +- `systemd-oomd`에 의해 저장된 cgroups 및 시스템 컨텍스트의 현재 상태를 표시: + +`oomctl dump` diff --git a/pages.ko/linux/openfortivpn.md b/pages.ko/linux/openfortivpn.md new file mode 100644 index 00000000000000..2a524e971eaa55 --- /dev/null +++ b/pages.ko/linux/openfortivpn.md @@ -0,0 +1,20 @@ +# openfortivpn + +> Fortinet의 독점 PPP+SSL VPN 솔루션을 위한 VPN 클라이언트. +> 더 많은 정보: . + +- 사용자명과 비밀번호로 VPN에 연결: + +`openfortivpn {{[-u|--username]}} {{사용자명}} {{[-p|--password]}} {{비밀번호}}` + +- 특정 구성 파일을 사용하여 VPN에 연결 (`/etc/openfortivpn/config`가 기본값): + +`sudo openfortivpn {{[-c|--config]}} {{경로/대상/구성}}` + +- 호스트와 포트를 지정하여 VPN에 연결: + +`openfortivpn {{호스트}}:{{포트}}` + +- 인증서의 sha256 합계를 전달하여 특정 게이트웨이를 신뢰: + +`openfortivpn --trusted-cert {{sha256_합계}}` diff --git a/pages.ko/linux/openrc.md b/pages.ko/linux/openrc.md new file mode 100644 index 00000000000000..a93dd65a160d13 --- /dev/null +++ b/pages.ko/linux/openrc.md @@ -0,0 +1,13 @@ +# openrc + +> OpenRC 서비스 관리자. +> 같이 보기: `rc-status`, `rc-update`, `rc-service`. +> 더 많은 정보: . + +- 특정 런레벨로 변경: + +`sudo openrc {{런레벨_이름}}` + +- 기존 서비스를 중지하지 않고 특정 런레벨로 변경: + +`sudo openrc --no-stop {{런레벨_이름}}` diff --git a/pages.ko/linux/openvpn3.md b/pages.ko/linux/openvpn3.md new file mode 100644 index 00000000000000..a0ecff580bb20b --- /dev/null +++ b/pages.ko/linux/openvpn3.md @@ -0,0 +1,24 @@ +# openvpn3 + +> OpenVPN 3 Linux 클라이언트. +> 더 많은 정보: . + +- 새 VPN 세션 시작: + +`openvpn3 session-start --config {{경로/대상/config.conf}}` + +- 설정된 세션 나열: + +`openvpn3 sessions-list` + +- 주어진 구성으로 시작된 현재 설정된 세션 연결 해제: + +`openvpn3 session-manage --config {{경로/대상/config.conf}} --disconnect` + +- VPN 구성 가져오기: + +`openvpn3 config-import --config {{경로/대상/config.conf}}` + +- 가져온 구성 나열: + +`openvpn3 configs-list` diff --git a/pages.ko/linux/opera-stable.md b/pages.ko/linux/opera-stable.md new file mode 100644 index 00000000000000..170ab78bf91378 --- /dev/null +++ b/pages.ko/linux/opera-stable.md @@ -0,0 +1,8 @@ +# opera-stable + +> 이 명령은 `chromium`의 별칭입니다. +> 더 많은 정보: . + +- 원본 명령에 대한 문서 보기: + +`tldr chromium` diff --git a/pages.ko/linux/opkg.md b/pages.ko/linux/opkg.md new file mode 100644 index 00000000000000..a62b66f0b91a80 --- /dev/null +++ b/pages.ko/linux/opkg.md @@ -0,0 +1,28 @@ +# opkg + +> OpenWrt 패키지를 설치하는 데 사용되는 경량 패키지 관리자. +> 더 많은 정보: . + +- 패키지 설치: + +`opkg install {{패키지}}` + +- 패키지 제거: + +`opkg remove {{패키지}}` + +- 사용 가능한 패키지 목록 업데이트: + +`opkg update` + +- 하나 이상의 특정 패키지 업그레이드: + +`opkg upgrade {{패키지(들)}}` + +- 특정 패키지에 대한 정보 표시: + +`opkg info {{패키지}}` + +- 사용 가능한 모든 패키지 나열: + +`opkg list` diff --git a/pages.ko/linux/optimus-manager.md b/pages.ko/linux/optimus-manager.md new file mode 100644 index 00000000000000..1a80aa37c71c3e --- /dev/null +++ b/pages.ko/linux/optimus-manager.md @@ -0,0 +1,12 @@ +# optimus-manager + +> Nvidia Optimus 노트북을 위한 GPU 전환 유틸리티. +> 더 많은 정보: . + +- 다양한 GPU 모드로 전환: + +`optimus-manager --switch {{nvidia|integrated|hybrid}}` + +- 정리: + +`optimus-manager --cleanup` diff --git a/pages.ko/linux/ostree.md b/pages.ko/linux/ostree.md new file mode 100644 index 00000000000000..657cccd64f0d4a --- /dev/null +++ b/pages.ko/linux/ostree.md @@ -0,0 +1,33 @@ +# ostree + +> 운영 체제 루트 파일 시스템에 최적화된 바이너리 파일의 버전 관리 도구로, `git`과 유사합니다. +> OSTree는 Fedora Silverblue, Fedora IoT, Fedora CoreOS와 같은 불변 이미지 기반 운영 체제의 기초입니다. +> 더 많은 정보: . + +- `$PWD`의 파일을 `$PWD/path/to/repo`의 메타데이터와 함께 저장소로 초기화: + +`ostree init --repo {{경로/대상/저장소}}` + +- 파일의 커밋(스냅샷) 생성: + +`ostree commit --repo {{경로/대상/저장소}} --branch {{브랜치_이름}}` + +- 커밋 내 파일 표시: + +`ostree ls --repo {{경로/대상/저장소}} {{커밋_ID}}` + +- 커밋의 메타데이터 표시: + +`ostree show --repo {{경로/대상/저장소}} {{커밋_ID}}` + +- 커밋 목록 표시: + +`ostree log --repo {{경로/대상/저장소}} {{브랜치_이름}}` + +- 저장소 요약 표시: + +`ostree summary --repo {{경로/대상/저장소}} --view` + +- 사용 가능한 참조(브랜치) 표시: + +`ostree refs --repo {{경로/대상/저장소}}` diff --git a/pages.ko/linux/pacaur.md b/pages.ko/linux/pacaur.md new file mode 100644 index 00000000000000..a94845ab27f957 --- /dev/null +++ b/pages.ko/linux/pacaur.md @@ -0,0 +1,28 @@ +# pacaur + +> Arch User Repository에서 패키지를 빌드하고 설치하기 위한 Arch Linux 유틸리티. +> 더 많은 정보: . + +- 모든 패키지를 동기화하고 업데이트 (AUR 포함): + +`pacaur -Syu` + +- AUR 패키지만 동기화하고 업데이트: + +`pacaur -Syua` + +- 새 패키지 설치 (AUR 포함): + +`pacaur -S {{패키지}}` + +- 특정 패키지 및 의존성 제거 (AUR 패키지 포함): + +`pacaur -Rs {{패키지}}` + +- 패키지 데이터베이스에서 키워드 검색 (AUR 포함): + +`pacaur -Ss {{키워드}}` + +- 현재 설치된 모든 패키지 나열 (AUR 패키지 포함): + +`pacaur -Qs` diff --git a/pages.ko/linux/paccache.md b/pages.ko/linux/paccache.md new file mode 100644 index 00000000000000..400319b06858ef --- /dev/null +++ b/pages.ko/linux/paccache.md @@ -0,0 +1,20 @@ +# paccache + +> `pacman` 캐시 정리 도구. +> 더 많은 정보: . + +- `pacman` 캐시에서 가장 최근의 3개 버전을 제외한 모든 패키지 버전 제거: + +`paccache -r` + +- 유지할 패키지 버전 수 설정: + +`paccache -rk {{버전_수}}` + +- 시뮬레이션을 수행하고 삭제 후보 패키지 수 표시: + +`paccache -d` + +- 삭제 대신 후보 패키지를 특정 폴더로 이동: + +`paccache -m {{경로/대상/폴더}}` diff --git a/pages.ko/linux/pacdiff.md b/pages.ko/linux/pacdiff.md new file mode 100644 index 00000000000000..cad0f0a993995d --- /dev/null +++ b/pages.ko/linux/pacdiff.md @@ -0,0 +1,28 @@ +# pacdiff + +> `pacman`에 의해 생성된 `.pacorig`, `.pacnew`, `.pacsave` 파일을 관리하는 도구. +> 더 많은 정보: . + +- 인터랙티브 모드에서 유지 관리가 필요한 파일 검토: + +`pacdiff` + +- sudo와 sudoedit를 사용하여 파일 제거 및 병합: + +`pacdiff --sudo` + +- 유지 관리가 필요한 파일을 검토하고, `(O)덮어쓰기` 시 원본의 `.bak`업 생성: + +`pacdiff --sudo --backup` + +- 특정 편집기를 사용하여 설정 파일을 보고 병합 (기본값은 `vim -d`): + +`DIFFPROG={{편집기}} pacdiff` + +- `pacman` 데이터베이스 대신 `locate`를 사용하여 설정 파일 스캔: + +`pacdiff --locate` + +- 도움말 표시: + +`pacdiff --help` diff --git a/pages.ko/linux/pacgraph.md b/pages.ko/linux/pacgraph.md new file mode 100644 index 00000000000000..684f35fb8844a7 --- /dev/null +++ b/pages.ko/linux/pacgraph.md @@ -0,0 +1,36 @@ +# pacgraph + +> 설치된 패키지의 그래프를 PNG/SVG/GUI/콘솔로 그립니다. +> 더 많은 정보: . + +- SVG 및 PNG 그래프 생성: + +`pacgraph` + +- SVG 그래프 생성: + +`pacgraph --svg` + +- 콘솔에 요약 출력: + +`pacgraph --console` + +- 기본 파일명/위치 재정의 (참고: 파일 확장자를 지정하지 마십시오): + +`pacgraph --file={{경로/대상/파일}}` + +- 의존성이 아닌 패키지의 색상 변경: + +`pacgraph --top={{색상}}` + +- 패키지 의존성의 색상 변경: + +`pacgraph --dep={{색상}}` + +- 그래프 배경 색상 변경: + +`pacgraph --background={{색상}}` + +- 패키지 간 연결의 색상 변경: + +`pacgraph --link={{색상}}` diff --git a/pages.ko/linux/pacman-database.md b/pages.ko/linux/pacman-database.md new file mode 100644 index 00000000000000..e3d7a1ea8bb90c --- /dev/null +++ b/pages.ko/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Arch Linux 패키지 데이터베이스를 조작합니다. +> 설치된 패키지의 특정 속성을 수정합니다. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 패키지를 암묵적으로 설치된 것으로 표시: + +`sudo pacman --database --asdeps {{패키지}}` + +- 패키지를 명시적으로 설치된 것으로 표시: + +`sudo pacman --database --asexplicit {{패키지}}` + +- 모든 패키지 의존성이 설치되었는지 확인: + +`pacman --database --check` + +- 모든 지정된 의존성이 사용 가능한지 확인하기 위해 저장소 검사: + +`pacman --database --check --check` + +- 오류 메시지만 표시: + +`pacman --database --check --quiet` + +- 도움말 표시: + +`pacman --database --help` diff --git a/pages.ko/linux/pacman-deptest.md b/pages.ko/linux/pacman-deptest.md new file mode 100644 index 00000000000000..03e694fe488edf --- /dev/null +++ b/pages.ko/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> 지정된 각 의존성을 확인하고 시스템에 현재 충족되지 않은 의존성 목록을 반환합니다. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 설치되지 않은 의존성의 패키지 이름을 출력: + +`pacman --deptest {{패키지1 패키지2 ...}}` + +- 설치된 패키지가 주어진 최소 버전을 충족하는지 확인: + +`pacman --deptest "{{bash>=5}}"` + +- 패키지의 최신 버전이 설치되었는지 확인: + +`pacman --deptest "{{bash>5}}"` + +- 도움말 표시: + +`pacman --deptest --help` diff --git a/pages.ko/linux/pacman-files.md b/pages.ko/linux/pacman-files.md new file mode 100644 index 00000000000000..3ad98f322f3f5f --- /dev/null +++ b/pages.ko/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Arch Linux 패키지 관리 도구. +> 같이 보기: `pacman`, `pkgfile`. +> 더 많은 정보: . + +- 패키지 데이터베이스 업데이트: + +`sudo pacman --files --refresh` + +- 특정 파일을 소유한 패키지 찾기: + +`pacman --files {{파일_이름}}` + +- 정규 표현식을 사용하여 특정 파일을 소유한 패키지 찾기: + +`pacman --files --regex '{{정규표현식}}'` + +- 패키지 이름만 나열: + +`pacman --files --quiet {{파일_이름}}` + +- 특정 패키지가 소유한 파일 나열: + +`pacman --files --list {{패키지}}` + +- 도움말 표시: + +`pacman --files --help` diff --git a/pages.ko/linux/pacman-key.md b/pages.ko/linux/pacman-key.md new file mode 100644 index 00000000000000..2ab3d5adc5cf5e --- /dev/null +++ b/pages.ko/linux/pacman-key.md @@ -0,0 +1,37 @@ +# pacman-key + +> GnuPG를 사용하여 pacman의 키링을 관리하는 래퍼 스크립트. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- `pacman` 키링 초기화: + +`sudo pacman-key --init` + +- 기본 Arch Linux 키 추가: + +`sudo pacman-key --populate {{archlinux}}` + +- 공개 키링에서 키 나열: + +`pacman-key --list-keys` + +- 지정된 키 추가: + +`sudo pacman-key --add {{경로/대상/키파일.gpg}}` + +- 키 서버에서 키 수신: + +`sudo pacman-key --recv-keys "{{uid|name|email}}"` + +- 특정 키의 지문 출력: + +`pacman-key --finger "{{uid|name|email}}"` + +- 가져온 키를 로컬에서 서명: + +`sudo pacman-key --lsign-key "{{uid|name|email}}"` + +- 특정 키 제거: + +`sudo pacman-key --delete "{{uid|name|email}}"` diff --git a/pages.ko/linux/pacman-mirrors.md b/pages.ko/linux/pacman-mirrors.md new file mode 100644 index 00000000000000..79981c380a1683 --- /dev/null +++ b/pages.ko/linux/pacman-mirrors.md @@ -0,0 +1,26 @@ +# pacman-mirrors + +> Manjaro Linux용 `pacman` 미러 리스트 생성. +> `pacman-mirrors`를 실행할 때마다 데이터베이스를 동기화하고 `sudo pacman -Syyu`를 사용하여 시스템을 업데이트해야 합니다. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 기본 설정을 사용하여 미러 리스트 생성: + +`sudo pacman-mirrors --fasttrack` + +- 현재 미러 상태 확인: + +`pacman-mirrors --status` + +- 현재 브랜치 표시: + +`pacman-mirrors --get-branch` + +- 다른 브랜치로 전환: + +`sudo pacman-mirrors --api --set-branch {{stable|unstable|testing}}` + +- 거주 국가의 미러만 사용하여 미러 리스트 생성: + +`sudo pacman-mirrors --geoip` diff --git a/pages.ko/linux/pacman-query.md b/pages.ko/linux/pacman-query.md new file mode 100644 index 00000000000000..1c5c465e0695c9 --- /dev/null +++ b/pages.ko/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Arch Linux 패키지 관리 도구. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 설치된 패키지와 버전 나열: + +`pacman --query` + +- 명시적으로 설치된 패키지와 버전만 나열: + +`pacman --query --explicit` + +- 파일을 소유한 패키지 찾기: + +`pacman --query --owns {{파일_이름}}` + +- 설치된 패키지 정보 표시: + +`pacman --query --info {{패키지}}` + +- 패키지가 소유한 파일 나열: + +`pacman --query --list {{패키지}}` + +- 고아 패키지 나열 (의존성으로 설치되었지만 더 이상 어떤 패키지도 필요로 하지 않는 패키지): + +`pacman --query --unrequired --deps --quiet` + +- 저장소에서 찾을 수 없는 설치된 패키지 나열: + +`pacman --query --foreign` + +- 오래된 패키지 나열: + +`pacman --query --upgrades` diff --git a/pages.ko/linux/pacman-remove.md b/pages.ko/linux/pacman-remove.md new file mode 100644 index 00000000000000..658db881727957 --- /dev/null +++ b/pages.ko/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Arch Linux 패키지 관리 도구. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 패키지와 그 의존성 제거: + +`sudo pacman --remove --recursive {{패키지}}` + +- 패키지와 그 의존성 및 구성 파일 제거: + +`sudo pacman --remove --recursive --nosave {{패키지}}` + +- 확인 없이 패키지 제거: + +`sudo pacman --remove --noconfirm {{패키지}}` + +- 고아 패키지 제거 (의존성으로 설치되었지만 더 이상 어떤 패키지도 필요로 하지 않는 패키지): + +`sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)` + +- 패키지와 해당 패키지를 의존하는 모든 패키지 제거: + +`sudo pacman --remove --cascade {{패키지}}` + +- 영향을 받을 패키지 목록 표시 (패키지를 제거하지 않음): + +`pacman --remove --print {{패키지}}` + +- 도움말 표시: + +`pacman --remove --help` diff --git a/pages.ko/linux/pacman-sync.md b/pages.ko/linux/pacman-sync.md new file mode 100644 index 00000000000000..001884459ea260 --- /dev/null +++ b/pages.ko/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Arch Linux 패키지 관리 도구. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 새 패키지 설치: + +`sudo pacman --sync {{패키지}}` + +- 모든 패키지 동기화 및 업데이트 (`--downloadonly`를 추가하여 패키지를 다운로드만 하고 업데이트하지 않음): + +`sudo pacman --sync --refresh --sysupgrade` + +- 모든 패키지를 업데이트하고 새 패키지를 확인 없이 설치: + +`sudo pacman --sync --refresh --sysupgrade --noconfirm {{패키지}}` + +- 정규 표현식 또는 키워드로 패키지 데이터베이스 검색: + +`pacman --sync --search "{{검색어}}"` + +- 패키지 정보 표시: + +`pacman --sync --info {{패키지}}` + +- 패키지 업데이트 중 충돌하는 파일 덮어쓰기: + +`sudo pacman --sync --refresh --sysupgrade --overwrite {{경로/대상/파일}}` + +- 모든 패키지를 동기화 및 업데이트하지만 특정 패키지는 무시 (여러 번 사용 가능): + +`sudo pacman --sync --refresh --sysupgrade --ignore {{패키지}}` + +- 설치되지 않은 패키지와 사용되지 않는 저장소를 캐시에서 제거 (모든 패키지를 정리하려면 `--clean` 플래그를 두 번 사용): + +`sudo pacman --sync --clean` diff --git a/pages.ko/linux/pacman-upgrade.md b/pages.ko/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..c83270a22b554f --- /dev/null +++ b/pages.ko/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> Arch Linux 패키지 관리 도구. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 파일에서 하나 이상의 패키지 설치: + +`sudo pacman --upgrade {{경로/대상/패키지1.pkg.tar.zst}} {{경로/대상/패키지2.pkg.tar.zst}}` + +- 확인 없이 패키지 설치: + +`sudo pacman --upgrade --noconfirm {{경로/대상/패키지.pkg.tar.zst}}` + +- 패키지 설치 중 충돌하는 파일 덮어쓰기: + +`sudo pacman --upgrade --overwrite {{경로/대상/파일}} {{경로/대상/패키지.pkg.tar.zst}}` + +- 의존성 버전 검사를 건너뛰고 패키지 설치: + +`sudo pacman --upgrade --nodeps {{경로/대상/패키지.pkg.tar.zst}}` + +- 영향을 받을 패키지 목록 표시 (패키지를 설치하지 않음): + +`pacman --upgrade --print {{경로/대상/패키지.pkg.tar.zst}}` + +- 도움말 표시: + +`pacman --upgrade --help` diff --git a/pages.ko/linux/pacman.md b/pages.ko/linux/pacman.md new file mode 100644 index 00000000000000..7858d62f5b5c35 --- /dev/null +++ b/pages.ko/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> Arch Linux 패키지 관리 도구. +> 같이 보기: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 모든 패키지를 동기화하고 업데이트: + +`sudo pacman -Syu` + +- 새 패키지 설치: + +`sudo pacman -S {{패키지}}` + +- 특정 패키지 및 의존성 제거: + +`sudo pacman -Rs {{패키지}}` + +- 특정 파일이 포함된 패키지를 데이터베이스에서 검색: + +`pacman -F "{{파일_이름}}"` + +- 설치된 패키지 및 버전 나열: + +`pacman -Q` + +- 명시적으로 설치된 패키지 및 버전만 나열: + +`pacman -Qe` + +- 고아 패키지(의존성으로 설치되었지만 더 이상 어떤 패키지도 필요로 하지 않는 패키지) 나열: + +`pacman -Qtdq` + +- 전체 `pacman` 캐시 삭제: + +`sudo pacman -Scc` diff --git a/pages.ko/linux/pacman4console.md b/pages.ko/linux/pacman4console.md new file mode 100644 index 00000000000000..2547a3b7c42990 --- /dev/null +++ b/pages.ko/linux/pacman4console.md @@ -0,0 +1,20 @@ +# pacman4console + +> 오리지널 팩맨에서 영감을 받은 텍스트 기반 콘솔 게임. +> 더 많은 정보: . + +- 1단계에서 게임 시작: + +`pacman4console` + +- 특정 단계에서 게임 시작 (총 9개의 공식 단계가 있음): + +`pacman4console --level={{단계_번호}}` + +- 지정된 텍스트 파일에 저장하면서 pacman4console 레벨 편집기 시작: + +`pacman4consoleedit {{경로/대상/레벨_파일}}` + +- 사용자 정의 레벨 플레이: + +`pacman4console --level={{경로/대상/레벨_파일}}` diff --git a/pages.ko/linux/pacstall.md b/pages.ko/linux/pacstall.md new file mode 100644 index 00000000000000..55d438036c0fc9 --- /dev/null +++ b/pages.ko/linux/pacstall.md @@ -0,0 +1,36 @@ +# pacstall + +> Ubuntu용 AUR 패키지 관리자. +> 더 많은 정보: . + +- 패키지 이름으로 패키지 데이터베이스 검색: + +`pacstall --search {{검색어}}` + +- 패키지 설치: + +`pacstall --install {{패키지}}` + +- 패키지 제거: + +`pacstall --remove {{패키지}}` + +- 저장소를 데이터베이스에 추가 (GitHub 및 GitLab만 지원): + +`pacstall --add-repo {{원격_저장소_위치}}` + +- pacstall 스크립트 업데이트: + +`pacstall --update` + +- 모든 패키지 업데이트: + +`pacstall --upgrade` + +- 패키지 정보 표시: + +`pacstall --cache-info {{패키지}}` + +- 설치된 모든 패키지 나열: + +`pacstall --list` diff --git a/pages.ko/linux/pacstrap.md b/pages.ko/linux/pacstrap.md new file mode 100644 index 00000000000000..cdfb8fde535242 --- /dev/null +++ b/pages.ko/linux/pacstrap.md @@ -0,0 +1,36 @@ +# pacstrap + +> Arch Linux 설치 스크립트로, 지정된 새로운 루트 디렉터리에 패키지를 설치합니다. +> 더 많은 정보: . + +- `base` 패키지, 리눅스 커널 및 일반 하드웨어용 펌웨어 설치: + +`pacstrap {{경로/대상/새로운/루트}} {{base}} {{linux}} {{linux-firmware}}` + +- `base` 패키지, 리눅스 LTS 커널 및 `base-devel` 빌드 도구 설치: + +`pacstrap {{경로/대상/새로운/루트}} {{base}} {{base-devel}} {{linux-lts}}` + +- 호스트의 미러리스트를 대상에 복사하지 않고 패키지 설치: + +`pacstrap -M {{경로/대상/새로운/루트}} {{패키지들}}` + +- Pacman의 대체 설정 파일 사용: + +`pacstrap -C {{경로/대상/pacman.conf}} {{경로/대상/새로운/루트}} {{패키지들}}` + +- 대상이 아닌 호스트의 패키지 캐시를 사용하여 패키지 설치: + +`pacstrap -c {{경로/대상/새로운/루트}} {{패키지들}}` + +- 호스트에서 복사하지 않고 대상에서 빈 `pacman` 키링 초기화: + +`pacstrap -K {{경로/대상/새로운/루트}} {{패키지들}}` + +- 대화형 모드로 패키지 설치 (확인 요청): + +`pacstrap -i {{경로/대상/새로운/루트}} {{패키지들}}` + +- 패키지 파일을 사용하여 패키지 설치: + +`pacstrap -U {{경로/대상/새로운/루트}} {{경로/대상/패키지1}} {{경로/대상/패키지2}}` diff --git a/pages.ko/linux/pactree.md b/pages.ko/linux/pactree.md new file mode 100644 index 00000000000000..1f3084ce1cd456 --- /dev/null +++ b/pages.ko/linux/pactree.md @@ -0,0 +1,24 @@ +# pactree + +> pacman용 패키지 의존성 트리 뷰어. +> 더 많은 정보: . + +- 특정 패키지의 의존성 트리를 출력: + +`pactree {{패키지}}` + +- 특정 패키지에 의존하는 패키지 출력: + +`pactree {{[-r|--reverse]}} {{패키지}}` + +- 중복을 생략하고 의존성을 한 줄에 하나씩 출력: + +`pactree {{[-u|--unique]}} {{패키지}}` + +- 특정 패키지의 선택적 의존성을 포함하고 출력을 색상으로 표시: + +`pactree {{[-co|--color --optional]}} {{패키지}}` + +- 도움말 표시: + +`pactree` diff --git a/pages.ko/linux/pamac.md b/pages.ko/linux/pamac.md new file mode 100644 index 00000000000000..3b559f91de0771 --- /dev/null +++ b/pages.ko/linux/pamac.md @@ -0,0 +1,29 @@ +# pamac + +> GUI 패키지 관리자 pamac의 명령줄 도구. +> AUR 패키지가 보이지 않으면 `/etc/pamac.conf` 또는 GUI에서 활성화하세요. +> 더 많은 정보: . + +- 새 패키지 설치: + +`pamac install {{패키지_이름}}` + +- 패키지 및 더 이상 필요하지 않은 의존성(고아) 제거: + +`pamac remove --orphans {{패키지_이름}}` + +- 패키지 데이터베이스에서 패키지 검색: + +`pamac search {{패키지_이름}}` + +- 설치된 패키지 나열: + +`pamac list --installed` + +- 패키지 업데이트 확인: + +`pamac checkupdates` + +- 모든 패키지 업그레이드: + +`pamac upgrade` diff --git a/pages.ko/linux/parted.md b/pages.ko/linux/parted.md new file mode 100644 index 00000000000000..617cf9019badf7 --- /dev/null +++ b/pages.ko/linux/parted.md @@ -0,0 +1,37 @@ +# parted + +> 파티션 조작 프로그램. +> 같이 보기: `partprobe`. +> 더 많은 정보: . + +- 모든 블록 디바이스의 파티션 나열: + +`sudo parted --list` + +- 지정된 디스크를 선택하여 대화형 모드 시작: + +`sudo parted {{/dev/sdX}}` + +- 지정된 레이블 유형의 새 파티션 테이블 생성: + +`sudo parted --script {{/dev/sdX}} mklabel {{aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun}}` + +- 대화형 모드에서 파티션 정보 표시: + +`print` + +- 대화형 모드에서 디스크 선택: + +`select {{/dev/sdX}}` + +- 대화형 모드에서 지정된 파일 시스템으로 16GB 파티션 생성: + +`mkpart {{primary|logical|extended}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}` + +- 대화형 모드에서 파티션 크기 조정: + +`resizepart {{/dev/sdXN}} {{파티션_끝_위치}}` + +- 대화형 모드에서 파티션 제거: + +`rm {{/dev/sdXN}}` diff --git a/pages.ko/linux/partprobe.md b/pages.ko/linux/partprobe.md new file mode 100644 index 00000000000000..9c4a2359123663 --- /dev/null +++ b/pages.ko/linux/partprobe.md @@ -0,0 +1,16 @@ +# partprobe + +> 운영 체제 커널에 파티션 테이블 변경 사항을 알립니다. +> 더 많은 정보: . + +- 운영 체제 커널에 파티션 테이블 변경 사항 알림: + +`sudo partprobe` + +- 커널에 파티션 테이블 변경 사항을 알리고 장치 및 해당 파티션의 요약 표시: + +`sudo partprobe --summary` + +- 커널에 알리지 않고 장치 및 해당 파티션의 요약 표시: + +`sudo partprobe --summary --dry-run` diff --git a/pages.ko/linux/partx.md b/pages.ko/linux/partx.md new file mode 100644 index 00000000000000..96d6029e43ef11 --- /dev/null +++ b/pages.ko/linux/partx.md @@ -0,0 +1,16 @@ +# partx + +> 파티션 테이블을 해석하고 커널에 정보를 전달합니다. +> 더 많은 정보: . + +- 블록 디바이스 또는 디스크 이미지의 파티션 나열: + +`sudo partx --list {{경로/대상/디바이스_또는_디스크_이미지}}` + +- 주어진 블록 디바이스에서 찾은 모든 파티션을 커널에 추가: + +`sudo partx --add --verbose {{경로/대상/디바이스_또는_디스크_이미지}}` + +- 커널에서 모든 파티션 삭제(디스크의 파티션은 변경하지 않음): + +`sudo partx --delete {{경로/대상/디바이스_또는_디스크_이미지}}` diff --git a/pages.ko/linux/paru.md b/pages.ko/linux/paru.md new file mode 100644 index 00000000000000..70157799010447 --- /dev/null +++ b/pages.ko/linux/paru.md @@ -0,0 +1,28 @@ +# paru + +> AUR 헬퍼 및 pacman 래퍼. +> 더 많은 정보: . + +- 패키지를 대화식으로 검색하고 설치: + +`paru {{패키지_이름_또는_검색어}}` + +- 모든 패키지를 동기화하고 업데이트: + +`paru` + +- AUR 패키지 업그레이드: + +`paru -Sua` + +- 패키지 정보 확인: + +`paru -Si {{패키지}}` + +- `PKGBUILD` 및 기타 패키지 소스 파일을 AUR 또는 ABS에서 다운로드: + +`paru --getpkgbuild {{패키지}}` + +- 패키지의 `PKGBUILD` 파일 표시: + +`paru --getpkgbuild --print {{패키지}}` diff --git a/pages.ko/linux/pasuspender.md b/pages.ko/linux/pasuspender.md new file mode 100644 index 00000000000000..61bc0ceefa7616 --- /dev/null +++ b/pages.ko/linux/pasuspender.md @@ -0,0 +1,8 @@ +# pasuspender + +> 다른 명령이 실행되는 동안 `pulseaudio`를 일시 중지하여 alsa에 접근할 수 있도록 합니다. +> 더 많은 정보: . + +- `jackd`를 실행하는 동안 PulseAudio 일시 중지: + +`pasuspender -- {{jackd -d alsa --device hw:0}}` diff --git a/pages.ko/linux/pdbedit.md b/pages.ko/linux/pdbedit.md new file mode 100644 index 00000000000000..58857f94900112 --- /dev/null +++ b/pages.ko/linux/pdbedit.md @@ -0,0 +1,21 @@ +# pdbedit + +> Samba 사용자 데이터베이스 편집. +> 간단한 사용자 추가/제거/비밀번호 변경은 `smbpasswd`를 사용할 수도 있습니다. +> 더 많은 정보: . + +- 모든 Samba 사용자 나열 (설정을 보려면 자세히 플래그 사용): + +`sudo pdbedit --list --verbose` + +- 기존 Unix 사용자를 Samba에 추가 (비밀번호 입력 요청): + +`sudo pdbedit --user {{사용자명}} --create` + +- Samba 사용자 제거: + +`sudo pdbedit --user {{사용자명}} --delete` + +- Samba 사용자의 실패한 비밀번호 시도 횟수 초기화: + +`sudo pdbedit --user {{사용자명}} --bad-password-count-reset` diff --git a/pages.ko/linux/pdfattach.md b/pages.ko/linux/pdfattach.md new file mode 100644 index 00000000000000..0b75bb172d626e --- /dev/null +++ b/pages.ko/linux/pdfattach.md @@ -0,0 +1,21 @@ +# pdfattach + +> 기존 PDF 파일에 새 첨부 파일(내장 파일)을 추가. +> 같이 보기: `pdfdetach`, `pdfimages`, `pdfinfo`. +> 더 많은 정보: . + +- 기존 PDF 파일에 새 첨부 파일 추가: + +`pdfattach {{경로/대상/input.pdf}} {{경로/대상/첨부할_파일}} {{경로/대상/output.pdf}}` + +- 같은 이름의 첨부 파일이 존재할 경우 교체: + +`pdfattach -replace {{경로/대상/input.pdf}} {{경로/대상/첨부할_파일}} {{경로/대상/output.pdf}}` + +- 도움말 표시: + +`pdfattach -h` + +- 버전 표시: + +`pdfattach -v` diff --git a/pages.ko/linux/pdfcrop.md b/pages.ko/linux/pdfcrop.md new file mode 100644 index 00000000000000..78a1c692a89095 --- /dev/null +++ b/pages.ko/linux/pdfcrop.md @@ -0,0 +1,28 @@ +# pdfcrop + +> PDF 파일의 각 페이지에서 여백을 감지하고 제거. +> 더 많은 정보: . + +- PDF 파일의 각 페이지에서 여백을 자동으로 감지하고 제거: + +`pdfcrop {{경로/대상/입력_파일.pdf}} {{경로/대상/출력_파일.pdf}}` + +- 각 페이지의 여백을 특정 값으로 설정: + +`pdfcrop {{경로/대상/입력_파일.pdf}} --margins '{{왼쪽}} {{위쪽}} {{오른쪽}} {{아래쪽}}' {{경로/대상/출력_파일.pdf}}` + +- 각 페이지의 여백을 동일한 값으로 설정 (왼쪽, 위쪽, 오른쪽, 아래쪽 모두 동일): + +`pdfcrop {{경로/대상/입력_파일.pdf}} --margins {{300}} {{경로/대상/출력_파일.pdf}}` + +- 자동 감지 대신 사용자 정의 경계 상자를 사용하여 자르기: + +`pdfcrop {{경로/대상/입력_파일.pdf}} --bbox '{{왼쪽}} {{위쪽}} {{오른쪽}} {{아래쪽}}' {{경로/대상/출력_파일.pdf}}` + +- 홀수 및 짝수 페이지에 대해 다른 사용자 정의 경계 상자 사용: + +`pdfcrop {{경로/대상/입력_파일.pdf}} --bbox-odd '{{왼쪽}} {{위쪽}} {{오른쪽}} {{아래쪽}}' --bbox-even '{{왼쪽}} {{위쪽}} {{오른쪽}} {{아래쪽}}' {{경로/대상/출력_파일.pdf}}` + +- 성능 향상을 위해 낮은 해상도로 여백 자동 감지: + +`pdfcrop {{경로/대상/입력_파일.pdf}} --resolution {{72}} {{경로/대상/출력_파일.pdf}}` diff --git a/pages.ko/linux/pdfdetach.md b/pages.ko/linux/pdfdetach.md new file mode 100644 index 00000000000000..dc51e091a99e96 --- /dev/null +++ b/pages.ko/linux/pdfdetach.md @@ -0,0 +1,25 @@ +# pdfdetach + +> PDF 파일에서 첨부 파일(내장 파일)을 나열하거나 추출. +> 같이 보기: `pdfattach`, `pdfimages`, `pdfinfo`. +> 더 많은 정보: . + +- 특정 텍스트 인코딩으로 파일의 모든 첨부 파일 나열: + +`pdfdetach list -enc {{UTF-8}} {{경로/대상/입력.pdf}}` + +- 번호를 지정하여 특정 내장 파일 저장: + +`pdfdetach -save {{번호}} {{경로/대상/입력.pdf}}` + +- 이름을 지정하여 특정 내장 파일 저장: + +`pdfdetach -savefile {{이름}} {{경로/대상/입력.pdf}}` + +- 사용자 지정 출력 파일 이름으로 내장 파일 저장: + +`pdfdetach -save {{번호}} -o {{경로/대상/출력}} {{경로/대상/입력.pdf}}` + +- 소유자/사용자 암호로 보호된 파일에서 첨부 파일 저장: + +`pdfdetach -save {{번호}} {{-opw|-upw}} {{암호}} {{경로/대상/입력.pdf}}` diff --git a/pages.ko/linux/pdftohtml.md b/pages.ko/linux/pdftohtml.md new file mode 100644 index 00000000000000..3db56627273c50 --- /dev/null +++ b/pages.ko/linux/pdftohtml.md @@ -0,0 +1,20 @@ +# pdftohtml + +> PDF 파일을 HTML, XML 및 PNG 이미지로 변환. +> 더 많은 정보: . + +- PDF 파일을 HTML 파일로 변환: + +`pdftohtml {{경로/대상/파일.pdf}} {{경로/대상/출력_파일.html}}` + +- PDF 파일에서 이미지를 무시: + +`pdftohtml -i {{경로/대상/파일.pdf}} {{경로/대상/출력_파일.html}}` + +- 모든 PDF 페이지를 포함하는 단일 HTML 파일 생성: + +`pdftohtml -s {{경로/대상/파일.pdf}} {{경로/대상/출력_파일.html}}` + +- PDF 파일을 XML 파일로 변환: + +`pdftohtml -xml {{경로/대상/파일.pdf}} {{경로/대상/출력_파일.xml}}` diff --git a/pages.ko/linux/pdftoppm.md b/pages.ko/linux/pdftoppm.md new file mode 100644 index 00000000000000..fa68a406a0f1de --- /dev/null +++ b/pages.ko/linux/pdftoppm.md @@ -0,0 +1,24 @@ +# pdftoppm + +> PDF 문서 페이지를 Portable Pixmap(이미지 형식)으로 변환. +> 더 많은 정보: . + +- 변환할 페이지 범위 지정 (N-첫 번째 페이지, M-마지막 페이지): + +`pdftoppm -f {{N}} -l {{M}} {{경로/대상/파일.pdf}} {{이미지_이름_접두사}}` + +- PDF의 첫 번째 페이지만 변환: + +`pdftoppm -singlefile {{경로/대상/파일.pdf}} {{이미지_이름_접두사}}` + +- 모노크롬 PBM 파일 생성 (컬러 PPM 파일 대신): + +`pdftoppm -mono {{경로/대상/파일.pdf}} {{이미지_이름_접두사}}` + +- 그레이스케일 PGM 파일 생성 (컬러 PPM 파일 대신): + +`pdftoppm -gray {{경로/대상/파일.pdf}} {{이미지_이름_접두사}}` + +- PPM 파일 대신 PNG 파일 생성: + +`pdftoppm -png {{경로/대상/파일.pdf}} {{이미지_이름_접두사}}` diff --git a/pages.ko/linux/pdfxup.md b/pages.ko/linux/pdfxup.md new file mode 100644 index 00000000000000..c89db7d747d75b --- /dev/null +++ b/pages.ko/linux/pdfxup.md @@ -0,0 +1,17 @@ +# pdfxup + +> PDF 페이지를 N-up으로 배치. +> N-up은 여러 페이지를 하나의 페이지에 축소 및 회전하여 그리드 형태로 배치하는 것을 의미합니다. +> 더 많은 정보: . + +- 2-up PDF 생성: + +`pdfxup -o {{경로/대상/출력.pdf}} {{경로/대상/입력.pdf}}` + +- 페이지당 3열 및 2행으로 PDF 생성: + +`pdfxup -x {{3}} -y {{2}} -o {{경로/대상/출력.pdf}} {{경로/대상/입력.pdf}}` + +- 소책자 모드(2-up, 페이지가 접혔을 때 책 형태로 정렬)로 PDF 생성: + +`pdfxup -b -o {{경로/대상/출력.pdf}} {{경로/대상/입력.pdf}}` diff --git a/pages.ko/linux/perf.md b/pages.ko/linux/perf.md new file mode 100644 index 00000000000000..72051328ae95bc --- /dev/null +++ b/pages.ko/linux/perf.md @@ -0,0 +1,24 @@ +# perf + +> Linux 성능 카운터 측정을 위한 프레임워크. +> 더 많은 정보: . + +- 명령에 대한 기본 성능 카운터 통계 표시: + +`perf stat {{gcc hello.c}}` + +- 시스템 전역의 실시간 성능 카운터 프로필 표시: + +`sudo perf top` + +- 명령을 실행하고 프로필을 `perf.data`에 기록: + +`sudo perf record {{명령}}` + +- 기존 프로세스의 프로필을 `perf.data`에 기록: + +`sudo perf record -p {{pid}}` + +- `perf.data`( `perf record`에 의해 생성됨)를 읽고 프로필 표시: + +`sudo perf report` diff --git a/pages.ko/linux/phar.md b/pages.ko/linux/phar.md new file mode 100644 index 00000000000000..0e3b4c6180f44b --- /dev/null +++ b/pages.ko/linux/phar.md @@ -0,0 +1,36 @@ +# phar + +> PHP 아카이브(PHAR)를 생성, 업데이트 또는 추출. +> 더 많은 정보: . + +- 하나 이상의 파일이나 디렉터리를 Phar 파일에 추가: + +`phar add -f {{경로/대상/phar_파일}} {{경로/대상/파일_또는_디렉터리1 경로/대상/파일_또는_디렉터리2 ...}}` + +- Phar 파일의 내용 표시: + +`phar list -f {{경로/대상/phar_파일}}` + +- Phar 파일에서 지정된 파일이나 디렉터리 삭제: + +`phar delete -f {{경로/대상/phar_파일}} -e {{파일_또는_디렉터리}}` + +- Phar 파일 내 파일과 디렉터리 압축 또는 압축 해제: + +`phar compress -f {{경로/대상/phar_파일}} -c {{알고리즘}}` + +- Phar 파일에 대한 정보 얻기: + +`phar info -f {{경로/대상/phar_파일}}` + +- 특정 해시 알고리즘으로 Phar 파일 서명: + +`phar sign -f {{경로/대상/phar_파일}} -h {{알고리즘}}` + +- OpenSSL 개인 키로 Phar 파일 서명: + +`phar sign -f {{경로/대상/phar_파일}} -h openssl -y {{경로/대상/개인_키}}` + +- 도움말 및 사용 가능한 해싱/압축 알고리즘 표시: + +`phar help` diff --git a/pages.ko/linux/photorec.md b/pages.ko/linux/photorec.md new file mode 100644 index 00000000000000..5f6749a4171795 --- /dev/null +++ b/pages.ko/linux/photorec.md @@ -0,0 +1,13 @@ +# photorec + +> 삭제된 파일 복구 도구. +> 복구된 파일은 원본 디스크와 다른 디스크에 저장하는 것이 권장됩니다. +> 더 많은 정보: . + +- 특정 장치에서 PhotoRec 실행: + +`sudo photorec {{/dev/sdb}}` + +- 디스크 이미지(`image.dd`)에서 PhotoRec 실행: + +`sudo photorec {{경로/대상/image.dd}}` diff --git a/pages.ko/linux/phpdismod.md b/pages.ko/linux/phpdismod.md new file mode 100644 index 00000000000000..e4fa262b649a36 --- /dev/null +++ b/pages.ko/linux/phpdismod.md @@ -0,0 +1,12 @@ +# phpdismod + +> Debian 기반 운영 체제에서 PHP 확장을 비활성화합니다. +> 더 많은 정보: . + +- 모든 PHP 버전의 모든 SAPI에서 JSON 확장 비활성화: + +`sudo phpdismod {{json}}` + +- PHP 7.3 버전의 cli SAPI에서 JSON 확장 비활성화: + +`sudo phpdismod -v {{7.3}} -s {{cli}} {{json}}` diff --git a/pages.ko/linux/phpenmod.md b/pages.ko/linux/phpenmod.md new file mode 100644 index 00000000000000..21bdbd1179df56 --- /dev/null +++ b/pages.ko/linux/phpenmod.md @@ -0,0 +1,12 @@ +# phpenmod + +> Debian 계열 OS에서 PHP 확장을 활성화. +> 더 많은 정보: . + +- 모든 PHP 버전의 모든 SAPI에 대해 JSON 확장 활성화: + +`sudo phpenmod {{json}}` + +- PHP 7.3의 cli SAPI에 대해 JSON 확장 활성화: + +`sudo phpenmod -v {{7.3}} -s {{cli}} {{json}}` diff --git a/pages.ko/linux/phpquery.md b/pages.ko/linux/phpquery.md new file mode 100644 index 00000000000000..0a692a32b09bc9 --- /dev/null +++ b/pages.ko/linux/phpquery.md @@ -0,0 +1,20 @@ +# phpquery + +> Debian 기반 운영체제를 위한 PHP 확장 관리자. +> 더 많은 정보: . + +- 사용 가능한 PHP 버전 나열: + +`sudo phpquery -V` + +- PHP 7.3에 대한 사용 가능한 SAPI 나열: + +`sudo phpquery -v {{7.3}} -S` + +- PHP 7.3의 cli SAPI에 대해 활성화된 확장 나열: + +`sudo phpquery -v {{7.3}} -s {{cli}} -M` + +- PHP 7.3의 apache2 SAPI에 대해 JSON 확장이 활성화되었는지 확인: + +`sudo phpquery -v {{7.3}} -s {{apache2}} -m {{json}}` diff --git a/pages.ko/linux/physlock.md b/pages.ko/linux/physlock.md new file mode 100644 index 00000000000000..92741e9a7f3a71 --- /dev/null +++ b/pages.ko/linux/physlock.md @@ -0,0 +1,24 @@ +# physlock + +> 모든 콘솔 및 가상 터미널을 잠급니다. +> 더 많은 정보: . + +- 모든 콘솔 잠금 (해제하려면 현재 사용자 또는 root 필요): + +`physlock` + +- 잠금 동안 콘솔의 커널 메시지 음소거: + +`physlock -m` + +- 잠금 동안 SysRq 메커니즘 비활성화: + +`physlock -s` + +- 암호 입력 전 메시지 표시: + +`physlock -p "{{잠겼습니다!}}"` + +- physlock을 포크하고 분리 (일시 중지 또는 최대 절전 모드 스크립트에 유용): + +`physlock -d` diff --git a/pages.ko/linux/pi.md b/pages.ko/linux/pi.md new file mode 100644 index 00000000000000..ee3201e1c01428 --- /dev/null +++ b/pages.ko/linux/pi.md @@ -0,0 +1,24 @@ +# pi + +> 아르키메데스 상수 파이(π)의 소숫점을 계산합니다. +> 더 많은 정보: . + +- 아르키메데스 상수 파이의 소수점 이하 100자리 표시: + +`pi` + +- 아르키메데스 상수 파이의 소수점 이하 지정된 자리수 표시: + +`pi {{자리수}}` + +- 추천 읽을거리 표시: + +`pi --bibliography` + +- 도움말 표시: + +`pi --help` + +- 버전 표시: + +`pi --version` diff --git a/pages.ko/linux/picom.md b/pages.ko/linux/picom.md new file mode 100644 index 00000000000000..d8cbd246be745d --- /dev/null +++ b/pages.ko/linux/picom.md @@ -0,0 +1,16 @@ +# picom + +> Xorg를 위한 독립형 합성기. +> 더 많은 정보: . + +- 세션 중에 `picom` 활성화: + +`picom &` + +- 백그라운드 프로세스로 `picom` 시작: + +`picom -b` + +- 사용자 지정 구성 [f]파일 사용: + +`picom --config {{경로/대상/구성_파일}}` diff --git a/pages.ko/linux/pidof.md b/pages.ko/linux/pidof.md new file mode 100644 index 00000000000000..1dfbb3303260f0 --- /dev/null +++ b/pages.ko/linux/pidof.md @@ -0,0 +1,20 @@ +# pidof + +> 프로세스 이름을 사용하여 프로세스 ID를 가져옵니다. +> 더 많은 정보: . + +- 주어진 이름의 모든 프로세스 ID 나열: + +`pidof {{bash}}` + +- 주어진 이름의 단일 프로세스 ID 나열: + +`pidof -s {{bash}}` + +- 주어진 이름의 스크립트를 포함한 프로세스 ID 나열: + +`pidof -x {{스크립트.py}}` + +- 주어진 이름의 모든 프로세스를 종료: + +`kill $(pidof {{이름}})` diff --git a/pages.ko/linux/pidstat.md b/pages.ko/linux/pidstat.md new file mode 100644 index 00000000000000..26fcc522839e7a --- /dev/null +++ b/pages.ko/linux/pidstat.md @@ -0,0 +1,24 @@ +# pidstat + +> CPU, 메모리, IO 등 시스템 리소스 사용량을 표시합니다. +> 더 많은 정보: . + +- 2초 간격으로 10회 CPU 통계 표시: + +`pidstat {{2}} {{10}}` + +- 페이지 폴트 및 메모리 사용량 표시: + +`pidstat -r` + +- 프로세스 ID별 입출력 사용량 표시: + +`pidstat -d` + +- 특정 PID에 대한 정보 표시: + +`pidstat -p {{PID}}` + +- 명령 이름에 "fox" 또는 "bird"가 포함된 모든 프로세스의 메모리 통계 표시: + +`pidstat -C "{{fox|bird}}" -r -p ALL` diff --git a/pages.ko/linux/pihole.md b/pages.ko/linux/pihole.md new file mode 100644 index 00000000000000..2123b72e77922c --- /dev/null +++ b/pages.ko/linux/pihole.md @@ -0,0 +1,28 @@ +# pihole + +> Pi-hole 광고 차단 DNS 서버의 터미널 인터페이스. +> 더 많은 정보: . + +- Pi-hole 데몬의 상태 확인: + +`pihole status` + +- Pi-hole 및 Gravity 업데이트: + +`pihole {{[-up|updatePihole]}}` + +- 데몬 시작 또는 중지: + +`pihole {{enable|disable}}` + +- 도메인 화이트리스트 또는 블랙리스트에 추가: + +`pihole {{allowlist|denylist}} {{example.com}}` + +- 도메인을 목록에서 검색: + +`pihole {{[-q|query]}} {{example.com}}` + +- 연결의 실시간 로그 열기: + +`pihole {{[-t|tail]}}` diff --git a/pages.ko/linux/pinout.md b/pages.ko/linux/pinout.md new file mode 100644 index 00000000000000..9122b3b567126a --- /dev/null +++ b/pages.ko/linux/pinout.md @@ -0,0 +1,12 @@ +# pinout + +> 터미널에서 현재 Raspberry Pi의 GPIO 핀 배치 정보를 ASCII 다이어그램으로 표시. +> 더 많은 정보: . + +- 현재 Raspberry Pi의 핀 배치 정보 및 GPIO 헤더 다이어그램 보기: + +`pinout` + +- 기본 브라우저에서 열기: + +`pinout -x` diff --git a/pages.ko/linux/pipewire.md b/pages.ko/linux/pipewire.md new file mode 100644 index 00000000000000..1b10a1e8c46fd0 --- /dev/null +++ b/pages.ko/linux/pipewire.md @@ -0,0 +1,20 @@ +# pipewire + +> PipeWire 데몬 시작. +> 더 많은 정보: . + +- PipeWire 데몬 시작: + +`pipewire` + +- 다른 설정 파일 사용: + +`pipewire --config {{경로/대상/파일.conf}}` + +- 상세 수준 설정 (error, warn, info, debug 또는 trace): + +`pipewire -{{v|vv|...|vvvvv}}` + +- 도움말 표시: + +`pipewire --help` diff --git a/pages.ko/linux/pivpn.md b/pages.ko/linux/pivpn.md new file mode 100644 index 00000000000000..4743d40d27d92b --- /dev/null +++ b/pages.ko/linux/pivpn.md @@ -0,0 +1,25 @@ +# pivpn + +> 보안이 강화된 OpenVPN을 쉽게 설정하고 관리하는 도구. +> 원래는 Raspberry Pi를 위해 설계되었지만, 다른 Linux 장치에서도 작동합니다. +> 더 많은 정보: . + +- 새로운 클라이언트 장치 추가: + +`sudo pivpn add` + +- 모든 클라이언트 장치 나열: + +`sudo pivpn list` + +- 현재 연결된 장치 및 그 통계 나열: + +`sudo pivpn clients` + +- 이전에 인증된 장치 해제: + +`sudo pivpn revoke` + +- PiVPN 제거: + +`sudo pivpn uninstall` diff --git a/pages.ko/linux/pkcon.md b/pages.ko/linux/pkcon.md new file mode 100644 index 00000000000000..19e1132b5b0a1b --- /dev/null +++ b/pages.ko/linux/pkcon.md @@ -0,0 +1,28 @@ +# pkcon + +> Discover 및 Gnome 소프트웨어에서 사용하는 PackageKit 콘솔 프로그램의 명령줄 클라이언트이며 'apt'의 대안입니다. +> 더 많은 정보: . + +- 패키지 설치: + +`pkcon install {{패키지}}` + +- 패키지 제거: + +`pkcon remove {{패키지}}` + +- 패키지 캐시 새로고침: + +`pkcon refresh` + +- 패키지 업데이트: + +`pkcon update` + +- 특정 패키지 검색: + +`pkcon search {{패키지}}` + +- 사용 가능한 모든 패키지 나열: + +`pkcon get-packages` diff --git a/pages.ko/linux/pkgadd.md b/pages.ko/linux/pkgadd.md new file mode 100644 index 00000000000000..2108b09fbb0481 --- /dev/null +++ b/pages.ko/linux/pkgadd.md @@ -0,0 +1,12 @@ +# pkgadd + +> CRUX 시스템에 패키지를 추가합니다. +> 더 많은 정보: . + +- 로컬 소프트웨어 패키지 설치: + +`pkgadd {{패키지}}` + +- 이미 설치된 패키지를 로컬 패키지로 업데이트: + +`pkgadd -u {{패키지}}` diff --git a/pages.ko/linux/pkgctl-auth.md b/pages.ko/linux/pkgctl-auth.md new file mode 100644 index 00000000000000..e210f9cbf057c3 --- /dev/null +++ b/pages.ko/linux/pkgctl-auth.md @@ -0,0 +1,12 @@ +# pkgctl auth + +> `pkgctl`을 GitLab과 같은 서비스에 인증합니다. +> 더 많은 정보: . + +- GitLab 인스턴스에 `pkgctl`을 인증: + +`pkgctl auth login` + +- 인증 상태 보기: + +`pkgctl auth status` diff --git a/pages.ko/linux/pkgctl-build.md b/pages.ko/linux/pkgctl-build.md new file mode 100644 index 00000000000000..744aa7abcc093b --- /dev/null +++ b/pages.ko/linux/pkgctl-build.md @@ -0,0 +1,12 @@ +# pkgctl build + +> 깨끗한 `chroot` 환경에서 패키지를 빌드합니다. +> 더 많은 정보: . + +- 자동으로 올바른 빌드 스크립트를 선택하여 깨끗한 `chroot`에서 패키지 빌드: + +`pkgctl build` + +- 수동으로 깨끗한 `chroot`에서 패키지 빌드: + +`pkgctl build --arch {{아키텍처}} --repo {{저장소}} --clean` diff --git a/pages.ko/linux/pkgctl-db-update.md b/pages.ko/linux/pkgctl-db-update.md new file mode 100644 index 00000000000000..554e0d3385d535 --- /dev/null +++ b/pages.ko/linux/pkgctl-db-update.md @@ -0,0 +1,8 @@ +# pkgctl db update + +> 에 전송되고 준비된 패키지의 최종 릴리스 단계로 `pacman` 데이터베이스를 업데이트합니다. +> 더 많은 정보: . + +- 최종 릴리스 단계로 바이너리 저장소 업데이트: + +`pkgctl db update` diff --git a/pages.ko/linux/pkgctl-diff.md b/pages.ko/linux/pkgctl-diff.md new file mode 100644 index 00000000000000..e66ecd04f4eaa9 --- /dev/null +++ b/pages.ko/linux/pkgctl-diff.md @@ -0,0 +1,21 @@ +# pkgctl diff + +> 패키지 파일을 다양한 모드로 비교. +> 같이 보기: `pkgctl`. +> 더 많은 정보: . + +- tar 콘텐츠 [l]리스트 비교 모드(기본값)로 패키지 파일 비교: + +`pkgctl diff {{[-l|--list]}} {{경로/대상/파일|패키지명}}` + +- [d]iffoscope 비교 모드로 패키지 파일 비교: + +`pkgctl diff {{[-d|--diffoscope]}} {{경로/대상/파일|패키지명}}` + +- `.PKGINFO` 비교 모드로 패키지 파일 비교: + +`pkgctl diff {{[-p|--pkginfo]}} {{경로/대상/파일|패키지명}}` + +- `.BUILDINFO` 비교 모드로 패키지 파일 비교: + +`pkgctl diff {{[-b|--buildinfo]}} {{경로/대상/파일|패키지명}}` diff --git a/pages.ko/linux/pkgctl-release.md b/pages.ko/linux/pkgctl-release.md new file mode 100644 index 00000000000000..ff9d8a1501000a --- /dev/null +++ b/pages.ko/linux/pkgctl-release.md @@ -0,0 +1,8 @@ +# pkgctl release + +> 빌드 아티팩트를 커밋, 태그 및 업로드하는 릴리스 단계. +> 더 많은 정보: . + +- 빌드 아티팩트를 릴리스: + +`pkgctl release --repo {{저장소}} --message {{커밋_메시지}}` diff --git a/pages.ko/linux/pkgctl-repo.md b/pages.ko/linux/pkgctl-repo.md new file mode 100644 index 00000000000000..59090b9db01ecd --- /dev/null +++ b/pages.ko/linux/pkgctl-repo.md @@ -0,0 +1,25 @@ +# pkgctl repo + +> Arch Linux용 Git 패키징 저장소 및 구성 관리. +> 같이 보기: `pkgctl`. +> 더 많은 정보: . + +- 패키지 저장소를 클론(Arch Linux GitLab 계정에 SSH 키 설정 필요): + +`pkgctl repo clone {{패키지명}}` + +- HTTPS를 통해 패키지 저장소를 클론: + +`pkgctl repo clone --protocol https {{패키지명}}` + +- 새로운 GitLab 패키지 저장소 생성 후 클론(GitLab API 인증 필요): + +`pkgctl repo create {{패키지_기본명}}` + +- 특정 버전으로 패키지 저장소 전환: + +`pkgctl repo switch {{버전}} {{패키지_기본명}}` + +- 패키지 저장소의 웹사이트 열기: + +`pkgctl repo web {{패키지_기본명}}` diff --git a/pages.ko/linux/pkgctl.md b/pages.ko/linux/pkgctl.md new file mode 100644 index 00000000000000..8e37213345b5ca --- /dev/null +++ b/pages.ko/linux/pkgctl.md @@ -0,0 +1,32 @@ +# pkgctl + +> Arch Linux devtools를 위한 통합 명령줄 프론트엔드. +> 더 많은 정보: . + +- GitLab 같은 서비스와 `pkgctl` 인증에 대한 문서 보기: + +`tldr pkgctl auth` + +- 깨끗한 `chroot` 내에서 패키지 빌드에 대한 문서 보기: + +`tldr pkgctl build` + +- 최종 릴리스 단계로 바이너리 저장소 업데이트에 대한 문서 보기: + +`tldr pkgctl db update` + +- 다양한 모드를 사용하여 패키지 파일 비교에 대한 문서 보기: + +`tldr pkgctl diff` + +- 빌드 아티팩트 릴리스에 대한 문서 보기: + +`tldr pkgctl release` + +- Git 패키징 저장소 및 해당 설정 관리에 대한 문서 보기: + +`tldr pkgctl repo` + +- 버전 표시: + +`pkgctl version` diff --git a/pages.ko/linux/pkgfile.md b/pages.ko/linux/pkgfile.md new file mode 100644 index 00000000000000..2449faf68b4130 --- /dev/null +++ b/pages.ko/linux/pkgfile.md @@ -0,0 +1,37 @@ +# pkgfile + +> Arch 기반 시스템의 공식 저장소에서 패키지의 파일을 검색합니다. +> 같이 보기: `pacman files`, `pacman --files`의 사용법 설명. +> 더 많은 정보: . + +- pkgfile 데이터베이스 동기화: + +`sudo pkgfile --update` + +- 특정 파일을 소유한 패키지 검색: + +`pkgfile {{파일명}}` + +- 패키지가 제공하는 모든 파일 나열: + +`pkgfile --list {{패키지}}` + +- 패키지가 제공하는 실행 파일 나열: + +`pkgfile --list --binaries {{패키지}}` + +- 대소문자를 구분하지 않고 특정 파일을 소유한 패키지 검색: + +`pkgfile --ignorecase {{파일명}}` + +- `bin` 또는 `sbin` 디렉토리에서 특정 파일을 소유한 패키지 검색: + +`pkgfile --binaries {{파일명}}` + +- 특정 파일을 소유한 패키지를 패키지 버전과 함께 검색: + +`pkgfile --verbose {{파일명}}` + +- 특정 저장소에서 특정 파일을 소유한 패키지 검색: + +`pkgfile --repo {{저장소_이름}} {{파일명}}` diff --git a/pages.ko/linux/pkginfo.md b/pages.ko/linux/pkginfo.md new file mode 100644 index 00000000000000..857d870b9ad2c1 --- /dev/null +++ b/pages.ko/linux/pkginfo.md @@ -0,0 +1,20 @@ +# pkginfo + +> CRUX 시스템에서 패키지 데이터베이스를 조회. +> 더 많은 정보: . + +- 설치된 패키지 및 버전 나열: + +`pkginfo -i` + +- 패키지가 소유한 파일 나열: + +`pkginfo -l {{패키지}}` + +- 패턴과 일치하는 파일의 소유자(들) 나열: + +`pkginfo -o {{패턴}}` + +- 파일의 풋프린트 출력: + +`pkginfo -f {{경로/대상/파일}}` diff --git a/pages.ko/linux/pkgmk.md b/pages.ko/linux/pkgmk.md new file mode 100644 index 00000000000000..21ce72c1bd6176 --- /dev/null +++ b/pages.ko/linux/pkgmk.md @@ -0,0 +1,28 @@ +# pkgmk + +> CRUX에서 pkgadd로 사용할 바이너리 패키지를 만듭니다. +> 더 많은 정보: . + +- 패키지 만들기 및 다운로드: + +`pkgmk -d` + +- 패키지 생성 후 설치: + +`pkgmk -d -i` + +- 패키지 생성 후 업그레이드: + +`pkgmk -d -u` + +- 패키지 생성 시 발자국 무시: + +`pkgmk -d -if` + +- 패키지 생성 시 MD5 합계 무시: + +`pkgmk -d -im` + +- 패키지의 발자국 업데이트: + +`pkgmk -uf` diff --git a/pages.ko/linux/pkgrm.md b/pages.ko/linux/pkgrm.md new file mode 100644 index 00000000000000..84d15586620950 --- /dev/null +++ b/pages.ko/linux/pkgrm.md @@ -0,0 +1,8 @@ +# pkgrm + +> CRUX 시스템에서 패키지를 제거합니다. +> 더 많은 정보: . + +- 설치된 패키지 제거: + +`pkgrm {{패키지}}` diff --git a/pages.ko/linux/plasmashell.md b/pages.ko/linux/plasmashell.md new file mode 100644 index 00000000000000..ae5105fbe9cadd --- /dev/null +++ b/pages.ko/linux/plasmashell.md @@ -0,0 +1,20 @@ +# plasmashell + +> Plasma 데스크톱을 시작하고 재시작합니다. +> 더 많은 정보: . + +- `plasmashell` 재시작: + +`systemctl restart --user plasma-plasmashell` + +- systemd 없이 `plasmashell` 재시작: + +`plasmashell --replace & disown` + +- 명령줄 옵션에 대한 도움말 표시: + +`plasmashell {{[-h|--help]}}` + +- Qt 옵션을 포함한 도움말 표시: + +`plasmashell --help-all` diff --git a/pages.ko/linux/playerctl.md b/pages.ko/linux/playerctl.md new file mode 100644 index 00000000000000..bba174a1438b6d --- /dev/null +++ b/pages.ko/linux/playerctl.md @@ -0,0 +1,32 @@ +# playerctl + +> MPRIS를 통해 미디어 플레이어 제어. +> 더 많은 정보: . + +- 재생/일시정지 전환: + +`playerctl play-pause` + +- 다음 트랙으로 건너뛰기: + +`playerctl next` + +- 이전 트랙으로 돌아가기: + +`playerctl previous` + +- 모든 플레이어 나열: + +`playerctl --list-all` + +- 특정 플레이어에 명령 전송: + +`playerctl --player {{플레이어_이름}} {{play-pause|next|previous|...}}` + +- 모든 플레이어에 명령 전송: + +`playerctl --all-players {{play-pause|next|previous|...}}` + +- 현재 트랙에 대한 메타데이터 표시: + +`playerctl metadata --format "{{현재 재생 중: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"` diff --git a/pages.ko/linux/pluma.md b/pages.ko/linux/pluma.md new file mode 100644 index 00000000000000..504a3e4e18bd4b --- /dev/null +++ b/pages.ko/linux/pluma.md @@ -0,0 +1,24 @@ +# pluma + +> MATE 데스크탑 환경에서 파일 편집. +> 더 많은 정보: . + +- 편집기 시작: + +`pluma` + +- 특정 문서 열기: + +`pluma {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 인코딩을 사용하여 문서 열기: + +`pluma --encoding {{WINDOWS-1252}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 지원되는 모든 인코딩 출력: + +`pluma --list-encodings` + +- 특정 줄로 이동하여 문서 열기: + +`pluma +{{10}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/pmap.md b/pages.ko/linux/pmap.md new file mode 100644 index 00000000000000..58ae2065f3742c --- /dev/null +++ b/pages.ko/linux/pmap.md @@ -0,0 +1,24 @@ +# pmap + +> 프로세스 또는 프로세스들의 메모리 맵을 보고. +> 더 많은 정보: . + +- 특정 프로세스 ID (PID)의 메모리 맵 출력: + +`pmap {{pid}}` + +- 확장된 형식 표시: + +`pmap --extended {{pid}}` + +- 장치 형식 표시: + +`pmap --device {{pid}}` + +- `low`와 `high`로 지정된 메모리 주소 범위로 결과 제한: + +`pmap --range {{low}},{{high}}` + +- 여러 프로세스의 메모리 맵 출력: + +`pmap {{pid1 pid2 ...}}` diff --git a/pages.ko/linux/pmount.md b/pages.ko/linux/pmount.md new file mode 100644 index 00000000000000..8a0ca7aa31b978 --- /dev/null +++ b/pages.ko/linux/pmount.md @@ -0,0 +1,24 @@ +# pmount + +> 일반 사용자가 임의의 핫플러그 가능 장치를 마운트. +> 더 많은 정보: . + +- 장치를 `/media/` 아래에 마운트(장치를 마운트 지점으로 사용): + +`pmount {{/dev/to/block/device}}` + +- 특정 파일시스템 타입으로 장치를 `/media/label`에 마운트: + +`pmount --type {{파일시스템}} {{/dev/to/block/device}} {{라벨}}` + +- CD-ROM을 읽기 전용 모드로 마운트(파일시스템 타입 ISO9660): + +`pmount --type {{iso9660}} --read-only {{/dev/cdrom}}` + +- NTFS로 포맷된 디스크를 읽기-쓰기 모드로 강제 마운트: + +`pmount --type {{ntfs}} --read-write {{/dev/sdX}}` + +- 마운트된 모든 이동식 장치 표시: + +`pmount` diff --git a/pages.ko/linux/po4a-gettextize.md b/pages.ko/linux/po4a-gettextize.md new file mode 100644 index 00000000000000..765e9250097877 --- /dev/null +++ b/pages.ko/linux/po4a-gettextize.md @@ -0,0 +1,16 @@ +# po4a-gettextize + +> 파일을 PO 파일로 변환합니다. +> 더 많은 정보: . + +- 텍스트 파일을 PO 파일로 변환: + +`po4a-gettextize --format {{text}} --master {{경로/대상/원본.txt}} --po {{경로/대상/결과.po}}` + +- 사용 가능한 모든 형식 나열: + +`po4a-gettextize --help-format` + +- 번역된 문서와 함께 텍스트 파일을 PO 파일로 변환 (`-l` 옵션은 여러 번 제공할 수 있음): + +`po4a-gettextize --format {{text}} --master {{경로/대상/원본.txt}} --localized {{경로/대상/번역된.txt}} --po {{경로/대상/결과.po}}` diff --git a/pages.ko/linux/po4a-translate.md b/pages.ko/linux/po4a-translate.md new file mode 100644 index 00000000000000..fa019b2486e830 --- /dev/null +++ b/pages.ko/linux/po4a-translate.md @@ -0,0 +1,13 @@ +# po4a-translate + +> PO 파일을 문서 형식으로 다시 변환. +> 제공된 PO 파일은 `po4a-gettextize`로 생성된 POT 파일의 번역본이어야 합니다. +> 더 많은 정보: . + +- 번역된 PO 파일을 문서로 다시 변환: + +`po4a-translate --format {{텍스트}} --master {{경로/대상/원본.doc}} --po {{경로/대상/결과.po}} --localized {{경로/대상/번역된.txt}}` + +- 사용 가능한 모든 형식 나열: + +`po4a-translate --help-format` diff --git a/pages.ko/linux/po4a-updatepo.md b/pages.ko/linux/po4a-updatepo.md new file mode 100644 index 00000000000000..b4bccd777e2ee7 --- /dev/null +++ b/pages.ko/linux/po4a-updatepo.md @@ -0,0 +1,16 @@ +# po4a-updatepo + +> 문서의 번역(PO 형식)을 업데이트합니다. +> 더 많은 정보: . + +- 원본 파일의 수정 사항에 따라 PO 파일 업데이트: + +`po4a-updatepo --format {{text}} --master {{경로/대상/원본.txt}} --po {{경로/대상/결과물.po}}` + +- 사용 가능한 형식 나열: + +`po4a-updatepo --help-format` + +- 원본 파일의 수정 사항에 따라 여러 PO 파일 업데이트: + +`po4a-updatepo --format {{text}} --master {{경로/대상/원본.txt}} --po {{경로/대상/po1.po}} --po {{경로/대상/po2.po}}` diff --git a/pages.ko/linux/po4a.md b/pages.ko/linux/po4a.md new file mode 100644 index 00000000000000..b9e777e0b8d63a --- /dev/null +++ b/pages.ko/linux/po4a.md @@ -0,0 +1,8 @@ +# po4a + +> PO 파일과 번역 문서를 업데이트. +> 더 많은 정보: . + +- 지정된 구성 파일에 따라 PO 파일과 문서 업데이트: + +`po4a {{경로/대상/구성_파일}}` diff --git a/pages.ko/linux/portablectl.md b/pages.ko/linux/portablectl.md new file mode 100644 index 00000000000000..9689c242606b94 --- /dev/null +++ b/pages.ko/linux/portablectl.md @@ -0,0 +1,24 @@ +# portablectl + +> Linux 시스템에서 포터블 서비스 이미지를 관리하고 배포하기 위한 systemd 유틸리티. +> 더 많은 정보: . + +- 포터블 이미지 검색 경로에서 발견된 사용 가능한 포터블 서비스 이미지 나열: + +`portablectl list` + +- 호스트 시스템에 포터블 서비스 이미지 연결: + +`portablectl attach {{경로/대상/이미지}}` + +- 호스트 시스템에서 포터블 서비스 이미지 연결 해제: + +`portablectl detach {{경로/대상/이미지|이미지_이름}}` + +- 지정된 포터블 서비스 이미지의 세부 정보 및 메타데이터 표시: + +`portablectl inspect {{경로/대상/이미지}}` + +- 포터블 서비스 이미지가 호스트 시스템에 연결되어 있는지 확인: + +`portablectl is-attached {{경로/대상/이미지|이미지_이름}}` diff --git a/pages.ko/linux/portageq.md b/pages.ko/linux/portageq.md new file mode 100644 index 00000000000000..aa008bd88c12e5 --- /dev/null +++ b/pages.ko/linux/portageq.md @@ -0,0 +1,21 @@ +# portageq + +> Gentoo Linux 패키지 관리자, Portage에 대한 정보를 조회합니다. +> 조회 가능한 Portage 전용 환경 변수가 `/var/db/repos/gentoo/profiles/info_vars`에 나열되어 있습니다. +> 더 많은 정보: . + +- Portage 전용 환경 변수의 값을 표시: + +`portageq envvar {{변수}}` + +- Portage로 구성된 저장소의 상세 목록 표시: + +`portageq repos_config /` + +- 우선순위에 따라 정렬된 저장소 목록 표시 (가장 높은 것부터): + +`portageq get_repos /` + +- 특정 원자(즉, 버전을 포함한 패키지 이름)에 대한 메타데이터 표시: + +`portageq metadata / {{ebuild|porttree|binary|...}} {{카테고리}}/{{패키지}} {{BDEPEND|DEFINED_PHASES|DEPEND|...}}` diff --git a/pages.ko/linux/ports.md b/pages.ko/linux/ports.md new file mode 100644 index 00000000000000..e3bf79adbcc8b8 --- /dev/null +++ b/pages.ko/linux/ports.md @@ -0,0 +1,16 @@ +# ports + +> CRUX 시스템에서 포트 트리를 업데이트하거나 나열합니다. +> 더 많은 정보: . + +- 포트 트리 업데이트: + +`ports -u` + +- 현재 트리에 있는 포트 나열: + +`ports -l` + +- 설치된 패키지와 포트 트리의 차이점 확인: + +`ports -d` diff --git a/pages.ko/linux/postconf.md b/pages.ko/linux/postconf.md new file mode 100644 index 00000000000000..8b93cac8d9d15f --- /dev/null +++ b/pages.ko/linux/postconf.md @@ -0,0 +1,29 @@ +# postconf + +> Postfix 구성 도구. +> 이 명령은 기본적으로 `main.cf` 구성 매개변수의 값을 표시하고 잘못된 매개변수 이름에 대해 경고합니다. 또한 `main.cf` 구성 매개변수 값을 변경할 수 있습니다. +> 더 많은 정보: . + +- 기본 구성 디렉토리 대신 `main.cf` 구성 파일의 디렉토리 지정: + +`postconf -c {{경로/대상/구성_디렉토리}}` + +- `main.cf` 구성 파일을 편집하고 "name=value" 쌍으로 매개변수 설정 업데이트: + +`postconf -e` + +- 실제 설정 대신 `main.cf`의 기본 매개변수 설정 출력: + +`postconf -d` + +- 지정된 클래스의 매개변수만 표시. 클래스는 builtin, service, user 또는 all 중 하나일 수 있음: + +`postconf -C {{클래스}}` + +- Postfix SMTP 서버에서 사용 가능한 SASL 플러그인 유형 나열. 플러그인 유형은 `smtpd_sasl_type` 구성 매개변수로 `cyrus` 또는 `dovecot`을 이름으로 지정하여 선택: + +`postconf -a` + +- 지원되는 모든 조회 테이블 유형의 이름 나열. 조회 테이블은 구성 파일에서 `type:name`으로 지정되며, 유형으로 `btree`, `cdb`, `hash`, `mysql` 등이 있을 수 있음: + +`postconf -m` diff --git a/pages.ko/linux/postfix.md b/pages.ko/linux/postfix.md new file mode 100644 index 00000000000000..6f372bb09b832d --- /dev/null +++ b/pages.ko/linux/postfix.md @@ -0,0 +1,29 @@ +# postfix + +> Postfix 메일 전송 에이전트(MTA) 제어 프로그램. +> Postfix와 통합되는 메일 전달 에이전트(MDA)인 `dovecot`도 참고하세요. +> 더 많은 정보: . + +- 설정 확인: + +`sudo postfix check` + +- Postfix 데몬 상태 확인: + +`sudo postfix status` + +- Postfix 시작: + +`sudo postfix start` + +- Postfix를 정상적으로 중지: + +`sudo postfix stop` + +- 메일 큐 비우기: + +`sudo postfix flush` + +- 설정 파일 다시 로드: + +`sudo postfix reload` diff --git a/pages.ko/linux/poweroff.md b/pages.ko/linux/poweroff.md new file mode 100644 index 00000000000000..d733d988d3a144 --- /dev/null +++ b/pages.ko/linux/poweroff.md @@ -0,0 +1,24 @@ +# poweroff + +> 시스템을 종료합니다. +> 더 많은 정보: . + +- 시스템 종료: + +`poweroff` + +- 시스템 정지 (`halt`와 동일): + +`poweroff --halt` + +- 시스템 재부팅 (`reboot`와 동일): + +`poweroff --reboot` + +- 시스템 관리자에게 알리지 않고 즉시 종료: + +`poweroff {{[-f|--force]}}` + +- 시스템을 종료하지 않고 wtmp 종료 항목 작성: + +`poweroff {{[-w|--wtmp-only]}}` diff --git a/pages.ko/linux/powerprofilesctl.md b/pages.ko/linux/powerprofilesctl.md new file mode 100644 index 00000000000000..0c2f34a91e9725 --- /dev/null +++ b/pages.ko/linux/powerprofilesctl.md @@ -0,0 +1,12 @@ +# powerprofilesctl + +> D-Bus를 통해 전원 프로필 관리를 사용할 수 있게 합니다. +> 더 많은 정보: . + +- 사용 가능한 전원 프로필 나열: + +`powerprofilesctl list` + +- 특정 전원 프로필 설정: + +`powerprofilesctl set {{프로필_이름}}` diff --git a/pages.ko/linux/powerstat.md b/pages.ko/linux/powerstat.md new file mode 100644 index 00000000000000..7c9f173d31fc3a --- /dev/null +++ b/pages.ko/linux/powerstat.md @@ -0,0 +1,24 @@ +# powerstat + +> 배터리 전원 소스를 사용하거나 RAPL 인터페이스를 지원하는 컴퓨터의 전력 소비를 측정합니다. +> 더 많은 정보: . + +- 10초 간격으로 10번 샘플링하여 전력 측정: + +`powerstat` + +- 사용자 지정 간격과 샘플 수로 전력 측정: + +`powerstat {{간격}} {{샘플_수}}` + +- Intel의 RAPL 인터페이스를 사용하여 전력 측정: + +`powerstat -R {{간격}} {{샘플_수}}` + +- 전력 측정의 히스토그램 표시: + +`powerstat -H {{간격}} {{샘플_수}}` + +- 모든 통계 수집 옵션 활성화: + +`powerstat -a {{간격}} {{샘플_수}}` diff --git a/pages.ko/linux/powertop.md b/pages.ko/linux/powertop.md new file mode 100644 index 00000000000000..859fdbe5368da0 --- /dev/null +++ b/pages.ko/linux/powertop.md @@ -0,0 +1,20 @@ +# powertop + +> 배터리 전력 사용 최적화 도구. +> 더 많은 정보: . + +- 전력 사용 측정 보정: + +`sudo powertop --calibrate` + +- 현재 디렉토리에 HTML 형식의 전력 사용 보고서 생성: + +`sudo powertop --html={{전력_보고서.html}}` + +- 최적 설정으로 조정: + +`sudo powertop --auto-tune` + +- 기본 20초 대신 지정한 초 동안의 보고서 생성: + +`sudo powertop --time={{5}}` diff --git a/pages.ko/linux/pridecat.md b/pages.ko/linux/pridecat.md new file mode 100644 index 00000000000000..37b4e9e207a768 --- /dev/null +++ b/pages.ko/linux/pridecat.md @@ -0,0 +1,24 @@ +# pridecat + +> cat과 유사하지만 더 다채로운 도구 :). +> 더 많은 정보: . + +- 파일의 내용을 프라이드 색상으로 `stdout`에 출력: + +`pridecat {{경로/대상/파일}}` + +- 파일의 내용을 트랜스 색상으로 출력: + +`pridecat {{경로/대상/파일}} --{{transgender|trans}}` + +- 레즈비언과 양성애자 프라이드 깃발을 번갈아 사용: + +`pridecat {{경로/대상/파일}} --lesbian --bi` + +- 파일의 내용을 배경색을 변경하여 출력: + +`pridecat {{경로/대상/파일}} -b` + +- 디렉터리 내용을 프라이드 깃발 색상으로 나열: + +`ls | pridecat --{{flag}}` diff --git a/pages.ko/linux/prime-run.md b/pages.ko/linux/prime-run.md new file mode 100644 index 00000000000000..98a2fd1f27604e --- /dev/null +++ b/pages.ko/linux/prime-run.md @@ -0,0 +1,12 @@ +# prime-run + +> 대체 Nvidia 그래픽 카드를 사용하여 프로그램을 실행합니다. +> 더 많은 정보: . + +- 전용 Nvidia GPU를 사용하여 프로그램 실행: + +`prime-run {{명령어}}` + +- Nvidia 카드가 사용되고 있는지 확인: + +`prime-run glxinfo | grep "OpenGL renderer"` diff --git a/pages.ko/linux/print.runmailcap.md b/pages.ko/linux/print.runmailcap.md new file mode 100644 index 00000000000000..cbc180f9548712 --- /dev/null +++ b/pages.ko/linux/print.runmailcap.md @@ -0,0 +1,13 @@ +# print + +> `run-mailcap`의 인쇄 작업에 대한 별칭. +> 원래 `run-mailcap`은 mime-type/파일을 처리하는 데 사용됩니다. +> 더 많은 정보: . + +- 기본 run-mailcap 도구에서 파일을 인쇄하는 데 사용: + +`print {{파일명}}` + +- `run-mailcap`과 함께 사용: + +`run-mailcap --action=print {{파일명}}` diff --git a/pages.ko/linux/prlimit.md b/pages.ko/linux/prlimit.md new file mode 100644 index 00000000000000..af75fc6ebbdc19 --- /dev/null +++ b/pages.ko/linux/prlimit.md @@ -0,0 +1,17 @@ +# prlimit + +> 프로세스 리소스의 소프트 및 하드 제한을 가져오거나 설정합니다. +> 프로세스 ID와 하나 이상의 리소스를 지정하면 prlimit이 제한을 검색 및/또는 수정하려고 시도합니다. +> 더 많은 정보: . + +- 실행 중인 부모 프로세스의 모든 현재 리소스 제한 값을 표시: + +`prlimit` + +- 지정된 프로세스의 모든 현재 리소스 제한 값을 표시: + +`prlimit --pid {{pid_번호}}` + +- 사용자 지정 열린 파일 수 제한으로 명령 실행: + +`prlimit --nofile={{10}} {{명령}}` diff --git a/pages.ko/linux/pro.md b/pages.ko/linux/pro.md new file mode 100644 index 00000000000000..0705d85408ebf0 --- /dev/null +++ b/pages.ko/linux/pro.md @@ -0,0 +1,28 @@ +# pro + +> Ubuntu Pro 서비스 관리. +> 더 많은 정보: . + +- 시스템을 Ubuntu Pro 지원 계약에 연결: + +`sudo pro attach` + +- Ubuntu Pro 서비스 상태 표시: + +`pro status` + +- 특정 취약점에 시스템이 영향을 받는지 확인 (가능하다면 수정 적용): + +`pro fix {{CVE-번호}}` + +- 지원되지 않는 패키지 수 표시: + +`pro security-status` + +- 더 이상 다운로드할 수 없는 패키지 나열: + +`pro security-status --unavailable` + +- 서드파티 패키지 나열: + +`pro security-status --thirdparty` diff --git a/pages.ko/linux/proctl.md b/pages.ko/linux/proctl.md new file mode 100644 index 00000000000000..b70d547a614ab1 --- /dev/null +++ b/pages.ko/linux/proctl.md @@ -0,0 +1,36 @@ +# proctl + +> 프로젝트 라이선스 및 언어를 관리하고, 템플릿화된 라이선스 간 전환을 수행합니다. +> 더 많은 정보: . + +- 사용 가능한 라이선스 나열: + +`proctl {{-ll|-list-licenses}}` + +- 사용 가능한 언어 나열: + +`proctl {{-lL|-list-languages}}` + +- FZF 메뉴에서 라이선스 선택: + +`proctl {{-pl|-pick-license}}` + +- FZF 메뉴에서 언어 선택: + +`proctl {{-pL|-pick-language}}` + +- 현재 프로젝트에서 모든 라이선스 제거: + +`proctl {{-r|-remove-license}}` + +- 새 라이선스 템플릿 생성: + +`proctl {{-t|-new-template}}` + +- 템플릿에서 라이선스 삭제: + +`proctl {{-R|-delete-license}} {{@라이선스_이름1 @라이선스_이름2 ...}}` + +- 유용한 명령어 목록 표시: + +`proctl {{-h|-help}}` diff --git a/pages.ko/linux/protontricks.md b/pages.ko/linux/protontricks.md new file mode 100644 index 00000000000000..085e5ab3f909a3 --- /dev/null +++ b/pages.ko/linux/protontricks.md @@ -0,0 +1,28 @@ +# protontricks + +> Proton을 지원하는 게임을 위해 Winetricks 명령을 실행하는 간단한 래퍼. +> 더 많은 정보: . + +- protontricks GUI 실행: + +`protontricks --gui` + +- 특정 게임에 대해 Winetricks 실행: + +`protontricks {{앱_ID}} {{winetricks_인수}}` + +- 게임 설치 디렉토리 내에서 명령 실행: + +`protontricks -c {{명령어}} {{앱_ID}}` + +- 설치된 모든 게임 [l]나열: + +`protontricks -l` + +- 게임의 이름으로 앱 ID [s]검색: + +`protontricks -s {{게임_이름}}` + +- 도움말 표시: + +`protontricks --help` diff --git a/pages.ko/linux/protonvpn-connect.md b/pages.ko/linux/protonvpn-connect.md new file mode 100644 index 00000000000000..addaa5206e1f97 --- /dev/null +++ b/pages.ko/linux/protonvpn-connect.md @@ -0,0 +1,28 @@ +# protonvpn connect + +> ProtonVPN에 연결. +> 더 많은 정보: . + +- ProtonVPN에 대화식으로 연결: + +`protonvpn {{[c|connect]}}` + +- 사용 가능한 가장 빠른 서버로 ProtonVPN에 연결: + +`protonvpn {{[c|connect]}} {{[-f|--fastest]}}` + +- 특정 서버와 특정 프로토콜로 ProtonVPN에 연결: + +`protonvpn {{[c|connect]}} {{서버_이름}} -p {{udp|tcp}}` + +- 임의의 서버와 특정 프로토콜로 ProtonVPN에 연결: + +`protonvpn {{[c|connect]}} {{[-r|--random]}} -p {{udp|tcp}}` + +- Tor를 지원하는 가장 빠른 서버로 ProtonVPN에 연결: + +`protonvpn {{[c|connect]}} --tor` + +- 도움말 표시: + +`protonvpn connect --help` diff --git a/pages.ko/linux/protonvpn.md b/pages.ko/linux/protonvpn.md new file mode 100644 index 00000000000000..99d5237b2a5600 --- /dev/null +++ b/pages.ko/linux/protonvpn.md @@ -0,0 +1,33 @@ +# protonvpn + +> 비공식 서드파티 ProtonVPN 클라이언트. +> 같이 보기: `protonvpn-connect`. +> 더 많은 정보: . + +- ProtonVPN 프로필 초기화: + +`protonvpn init` + +- ProtonVPN에 대화형으로 연결: + +`protonvpn {{c|connect}}` + +- 연결 상태 표시: + +`protonvpn {{s|status}}` + +- ProtonVPN 연결 해제: + +`protonvpn {{d|disconnect}}` + +- 마지막으로 사용한 서버에 다시 연결 또는 연결: + +`protonvpn {{r|reconnect}}` + +- OpenVPN 구성 및 서버 데이터 새로고침: + +`protonvpn refresh` + +- 하위 명령의 도움말 표시: + +`protonvpn {{하위_명령}} --help` diff --git a/pages.ko/linux/prt-get.md b/pages.ko/linux/prt-get.md new file mode 100644 index 00000000000000..fee61e3cc453db --- /dev/null +++ b/pages.ko/linux/prt-get.md @@ -0,0 +1,32 @@ +# prt-get + +> CRUX 패키지 관리자. +> 더 많은 정보: . + +- 패키지 설치: + +`prt-get install {{패키지}}` + +- 의존성 처리를 포함하여 패키지 설치: + +`prt-get depinst {{패키지}}` + +- 패키지 수동 업데이트: + +`prt-get upgrade {{패키지}}` + +- 패키지 제거: + +`prt-get remove {{패키지}}` + +- 로컬 포트 트리에서 시스템 업그레이드: + +`prt-get sysup` + +- 포트 트리 검색: + +`prt-get search {{쿼리}}` + +- 패키지 내 파일 검색: + +`prt-get fsearch {{파일}}` diff --git a/pages.ko/linux/pstoedit.md b/pages.ko/linux/pstoedit.md new file mode 100644 index 00000000000000..4a6615cb2bd52e --- /dev/null +++ b/pages.ko/linux/pstoedit.md @@ -0,0 +1,12 @@ +# pstoedit + +> PDF 파일을 다양한 이미지 형식으로 변환합니다. +> 더 많은 정보: . + +- PDF 페이지를 PNG 또는 JPEG 형식으로 변환: + +`pstoedit -page {{페이지_번호}} -f magick {{경로/대상/파일.pdf}} {{페이지.png|페이지.jpg]}}` + +- 여러 PDF 페이지를 번호가 매겨진 이미지로 변환: + +`pstoedit -f magick {{경로/대상/파일}} {{페이지%d.png|페이지%d.jpg}}` diff --git a/pages.ko/linux/pstree.md b/pages.ko/linux/pstree.md new file mode 100644 index 00000000000000..183ce6b911229a --- /dev/null +++ b/pages.ko/linux/pstree.md @@ -0,0 +1,16 @@ +# pstree + +> 실행 중인 프로세스를 트리 형태로 보여주는 유용한 도구. +> 더 많은 정보: . + +- 프로세스 트리 표시: + +`pstree` + +- PID와 함께 프로세스 트리 표시: + +`pstree -p` + +- 특정 사용자가 소유한 프로세스에서 시작하는 모든 프로세스 트리 표시: + +`pstree {{사용자}}` diff --git a/pages.ko/linux/ptx.md b/pages.ko/linux/ptx.md new file mode 100644 index 00000000000000..dae2f25a23c2a4 --- /dev/null +++ b/pages.ko/linux/ptx.md @@ -0,0 +1,24 @@ +# ptx + +> 텍스트 파일에서 단어의 순열 색인을 생성합니다. +> 더 많은 정보: . + +- 각 줄의 첫 번째 필드가 색인 참조인 순열 색인 생성: + +`ptx {{[-r|--references]}} {{경로/대상/파일}}` + +- 자동 생성된 색인 참조가 포함된 순열 색인 생성: + +`ptx {{[-A|--auto-reference]}} {{경로/대상/파일}}` + +- 고정된 너비로 순열 색인 생성: + +`ptx {{[-w|--width]}} {{열_너비}} {{경로/대상/파일}}` + +- 필터링된 단어 목록으로 순열 색인 생성: + +`ptx {{[-o|--only-file]}} {{경로/대상/필터}} {{경로/대상/파일}}` + +- SYSV 스타일의 동작으로 순열 색인 생성: + +`ptx {{[-G|--traditional]}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/pulseaudio.md b/pages.ko/linux/pulseaudio.md new file mode 100644 index 00000000000000..c125979dcf20d0 --- /dev/null +++ b/pages.ko/linux/pulseaudio.md @@ -0,0 +1,24 @@ +# pulseaudio + +> PulseAudio 사운드 시스템 데몬 및 관리자. +> 더 많은 정보: . + +- PulseAudio가 실행 중인지 확인 (0이 아닌 종료 코드는 실행 중이 아님을 의미): + +`pulseaudio --check` + +- 백그라운드에서 PulseAudio 데몬 시작: + +`pulseaudio --start` + +- 실행 중인 PulseAudio 데몬 종료: + +`pulseaudio {{[-k|--kill]}}` + +- 사용 가능한 모듈 나열: + +`pulseaudio --dump-modules` + +- 현재 실행 중인 데몬에 모듈과 지정된 인수를 로드: + +`pulseaudio {{[-L|--load]}} "{{모듈_이름}} {{인수}}"` diff --git a/pages.ko/linux/pvcreate.md b/pages.ko/linux/pvcreate.md new file mode 100644 index 00000000000000..32f84a01da8df4 --- /dev/null +++ b/pages.ko/linux/pvcreate.md @@ -0,0 +1,13 @@ +# pvcreate + +> 디스크 또는 파티션을 물리적 볼륨으로 초기화합니다. +> 같이 보기: `lvm`. +> 더 많은 정보: . + +- LVM에서 사용할 수 있도록 `/dev/sda1` 볼륨 초기화: + +`pvcreate {{/dev/sda1}}` + +- 확인 프롬프트 없이 강제로 생성: + +`pvcreate --force {{/dev/sda1}}` diff --git a/pages.ko/linux/pvdisplay.md b/pages.ko/linux/pvdisplay.md new file mode 100644 index 00000000000000..c9048e3a93ddcc --- /dev/null +++ b/pages.ko/linux/pvdisplay.md @@ -0,0 +1,13 @@ +# pvdisplay + +> Logical Volume Manager (LVM) 물리 볼륨 정보를 표시합니다. +> 같이 보기: `lvm`. +> 더 많은 정보: . + +- 모든 물리 볼륨 정보 표시: + +`sudo pvdisplay` + +- 드라이브 `/dev/sdXY`의 물리 볼륨 정보 표시: + +`sudo pvdisplay {{/dev/sdXY}}` diff --git a/pages.ko/linux/pve-firewall.md b/pages.ko/linux/pve-firewall.md new file mode 100644 index 00000000000000..cb4f0aa85deba0 --- /dev/null +++ b/pages.ko/linux/pve-firewall.md @@ -0,0 +1,32 @@ +# pve-firewall + +> Proxmox VE 방화벽 관리. +> 더 많은 정보: . + +- 모든 방화벽 규칙을 컴파일하고 출력: + +`pve-firewall compile` + +- 로컬 네트워크 정보 표시: + +`pve-firewall localnet` + +- Proxmox VE 방화벽 서비스 재시작: + +`pve-firewall restart` + +- Proxmox VE 방화벽 서비스 시작: + +`pve-firewall start` + +- Proxmox VE 방화벽 서비스 중지: + +`pve-firewall stop` + +- 모든 방화벽 규칙 시뮬레이션: + +`pve-firewall simulate` + +- Proxmox VE 방화벽 상태 표시: + +`pve-firewall status` diff --git a/pages.ko/linux/pvecm.md b/pages.ko/linux/pvecm.md new file mode 100644 index 00000000000000..813909d07c9135 --- /dev/null +++ b/pages.ko/linux/pvecm.md @@ -0,0 +1,32 @@ +# pvecm + +> Proxmox VE 클러스터 관리자. +> 더 많은 정보: . + +- 현재 노드를 기존 클러스터에 추가: + +`pvecm add {{호스트명_또는_IP}}` + +- 클러스터 구성에 노드 추가 (내부 사용): + +`pvecm addnode {{노드}}` + +- 이 노드에서 사용 가능한 클러스터 가입 API 버전 표시: + +`pvecm apiver` + +- 새 클러스터 구성 생성: + +`pvecm create {{클러스터명}}` + +- 클러스터 구성에서 노드 제거: + +`pvecm delnode {{노드}}` + +- 클러스터 노드에 대한 로컬 보기 표시: + +`pvecm nodes` + +- 클러스터 상태에 대한 로컬 보기 표시: + +`pvecm status` diff --git a/pages.ko/linux/pveperf.md b/pages.ko/linux/pveperf.md new file mode 100644 index 00000000000000..430a6b9fdc070a --- /dev/null +++ b/pages.ko/linux/pveperf.md @@ -0,0 +1,8 @@ +# pveperf + +> Proxmox 서버의 벤치마킹 도구. CPU 및 하드 디스크 성능 데이터를 수집합니다. +> 더 많은 정보: . + +- `/`에 마운트된 하드 디스크의 CPU 및 하드 디스크 성능 데이터를 표시: + +`pveperf` diff --git a/pages.ko/linux/pvremove.md b/pages.ko/linux/pvremove.md new file mode 100644 index 00000000000000..e0d07d9fbe37a7 --- /dev/null +++ b/pages.ko/linux/pvremove.md @@ -0,0 +1,24 @@ +# pvremove + +> 물리적 볼륨에서 LVM 레이블 제거. +> 더 많은 정보: . + +- 물리적 볼륨에서 LVM 레이블 제거: + +`sudo pvremove {{/dev/sdXY}}` + +- 작업 중 자세한 출력 표시: + +`sudo pvremove --verbose {{/dev/sdXY}}` + +- 확인을 묻지 않고 LVM 레이블 제거: + +`sudo pvremove --yes {{/dev/sdXY}}` + +- 강제로 LVM 레이블 제거: + +`sudo pvremove --force {{/dev/sdXY}}` + +- 출력을 JSON 형식으로 표시: + +`sudo pvremove --reportformat json {{/dev/sdXY}}` diff --git a/pages.ko/linux/pvs.md b/pages.ko/linux/pvs.md new file mode 100644 index 00000000000000..23f660347ccd94 --- /dev/null +++ b/pages.ko/linux/pvs.md @@ -0,0 +1,33 @@ +# pvs + +> 물리 볼륨에 대한 정보를 표시합니다. +> 같이 보기: `lvm`. +> 더 많은 정보: . + +- 물리 볼륨에 대한 정보 표시: + +`pvs` + +- 비물리적 볼륨 표시: + +`pvs -a` + +- 기본 표시를 자세히 보여주도록 변경: + +`pvs -v` + +- 특정 필드만 표시: + +`pvs -o {{필드_이름_1}},{{필드_이름_2}}` + +- 기본 표시에 필드를 추가: + +`pvs -o +{{필드_이름}}` + +- 헤딩 행 생략: + +`pvs --noheadings` + +- 필드 구분자 사용: + +`pvs --separator {{특수_문자}}` diff --git a/pages.ko/linux/pvscan.md b/pages.ko/linux/pvscan.md new file mode 100644 index 00000000000000..298e4342cb6ba0 --- /dev/null +++ b/pages.ko/linux/pvscan.md @@ -0,0 +1,20 @@ +# pvscan + +> 모든 물리적 볼륨을 나열하고 온라인 상태를 관리합니다. +> 더 많은 정보: . + +- 모든 물리적 볼륨 나열: + +`pvscan` + +- 특정 물리적 볼륨을 사용하는 볼륨 그룹 표시: + +`pvscan --cache --listvg {{/dev/sdX}}` + +- 특정 물리적 볼륨을 사용하는 논리 볼륨 표시: + +`pvscan --cache --listlvs {{/dev/sdX}}` + +- JSON 형식으로 자세한 정보 표시: + +`pvscan --reportformat json` diff --git a/pages.ko/linux/pw-cat.md b/pages.ko/linux/pw-cat.md new file mode 100644 index 00000000000000..e1a63035c193ea --- /dev/null +++ b/pages.ko/linux/pw-cat.md @@ -0,0 +1,24 @@ +# pw-cat + +> PipeWire를 통해 오디오 파일을 재생하고 녹음. +> 더 많은 정보: . + +- 기본 대상으로 WAV 파일 재생: + +`pw-cat {{[-p|--playback]}} {{경로/대상/파일.wav}}` + +- 지정된 리샘플러 품질(기본값 4)로 WAV 파일 재생: + +`pw-cat {{[-q|--quality]}} {{0..15}} {{[-p|--playback]}} {{경로/대상/파일.wav}}` + +- 125% 볼륨 수준으로 샘플 녹음: + +`pw-cat {{[-r|--record]}} --volume {{1.25}} {{경로/대상/파일.wav}}` + +- 다른 샘플 레이트를 사용하여 샘플 녹음: + +`pw-cat {{[-r|--record]}} --rate {{6000}} {{경로/대상/파일.wav}}` + +- 도움말 표시: + +`pw-cat {{[-h|--help]}}` diff --git a/pages.ko/linux/pw-cli.md b/pages.ko/linux/pw-cli.md new file mode 100644 index 00000000000000..8c845657607d90 --- /dev/null +++ b/pages.ko/linux/pw-cli.md @@ -0,0 +1,16 @@ +# pw-cli + +> PipeWire 인스턴스의 모듈, 객체, 노드, 장치, 링크 등을 관리. +> 더 많은 정보: . + +- 모든 노드(싱크 및 소스)와 그 ID를 출력: + +`pw-cli list-objects Node` + +- 특정 ID를 가진 객체에 대한 정보 출력: + +`pw-cli info {{4}}` + +- 모든 객체의 정보 출력: + +`pw-cli info all` diff --git a/pages.ko/linux/pw-config.md b/pages.ko/linux/pw-config.md new file mode 100644 index 00000000000000..c17c5cb2b86d2f --- /dev/null +++ b/pages.ko/linux/pw-config.md @@ -0,0 +1,32 @@ +# pw-config + +> PipeWire 서버와 클라이언트에서 사용될 설정 경로와 섹션 나열. +> 더 많은 정보: . + +- 사용될 모든 설정 파일 나열: + +`pw-config` + +- PipeWire PulseAudio 서버에서 사용될 모든 설정 파일 나열: + +`pw-config --name pipewire-pulse.conf` + +- PipeWire PulseAudio 서버에서 사용되는 모든 설정 섹션 나열: + +`pw-config --name pipewire-pulse.conf list` + +- JACK 클라이언트에서 사용되는 `context.properties` 조각 나열: + +`pw-config --name jack.conf list context.properties` + +- JACK 클라이언트에서 사용되는 병합된 `context.properties` 나열: + +`pw-config --name jack.conf merge context.properties` + +- PipeWire 서버에서 사용되는 병합된 `context.modules` 나열 및 [r]eformat: + +`pw-config --name pipewire.conf --recurse merge context.modules` + +- 도움말 표시: + +`pw-config --help` diff --git a/pages.ko/linux/pw-dot.md b/pages.ko/linux/pw-dot.md new file mode 100644 index 00000000000000..fcd42f94df2e63 --- /dev/null +++ b/pages.ko/linux/pw-dot.md @@ -0,0 +1,37 @@ +# pw-dot + +> PipeWire 그래프의 `.dot` 파일 생성. +> 같이 보기: `dot`, 그래프 렌더링을 위해. +> 더 많은 정보: . + +- `pw.dot` 파일로 그래프 생성: + +`pw-dot` + +- `pw-dump` JSON 파일에서 객체 읽기: + +`pw-dot {{[-j|--json]}} {{경로/대상/파일.json}}` + +- [o]utput 파일 지정, 모든 객체 유형 표시: + +`pw-dot {{[-o|--output]}} {{경로/대상/파일.dot}} {{[-a|--all]}}` + +- 모든 객체 속성을 표시하며 `.dot` 그래프를 `stdout`에 출력: + +`pw-dot {{[-o|--output]}} - {{[-d|--detail]}}` + +- [r]emote 인스턴스에서 그래프를 생성, 연결된 객체만 표시: + +`pw-dot {{[-r|--remote]}} {{원격_이름}} {{[-s|--smart]}}` + +- 기본적으로 dot의 위에서 아래로가 아닌 왼쪽에서 오른쪽으로 그래프 정렬: + +`pw-dot {{-L|--lr}}` + +- 엣지를 90도 각도로 사용하여 그래프 정렬: + +`pw-dot {{-9|--90}}` + +- 도움말 표시: + +`pw-dot {{[-h|--help]}}` diff --git a/pages.ko/linux/pw-dump.md b/pages.ko/linux/pw-dump.md new file mode 100644 index 00000000000000..55a8051d81bac6 --- /dev/null +++ b/pages.ko/linux/pw-dump.md @@ -0,0 +1,25 @@ +# pw-dump + +> PipeWire의 현재 상태를 노드, 장치, 모듈, 포트 및 기타 객체 정보를 포함하여 JSON 형식으로 덤프. +> 같이 보기: `pw-mon`. +> 더 많은 정보: . + +- 기본 PipeWire 인스턴스의 현재 상태를 JSON 형식으로 출력: + +`pw-dump` + +- 현재 상태를 덤프하고, 변경 사항을 [m]onitoring하여 다시 출력: + +`pw-dump --monitor` + +- 원격 인스턴스의 현재 상태를 [r]emote하여 파일에 덤프: + +`pw-dump --remote {{원격_이름}} > {{경로/대상/덤프_파일.json}}` + +- [C]olor 설정 구성: + +`pw-dump --color {{never|always|auto}}` + +- 도움말 표시: + +`pw-dump --help` diff --git a/pages.ko/linux/pw-link.md b/pages.ko/linux/pw-link.md new file mode 100644 index 00000000000000..010f27e861872e --- /dev/null +++ b/pages.ko/linux/pw-link.md @@ -0,0 +1,24 @@ +# pw-link + +> PipeWire에서 포트 간의 링크를 관리. +> 더 많은 정보: . + +- 모든 오디오 출력 및 입력 포트와 해당 ID 나열: + +`pw-link {{[-oiI|--output --input --id]}}` + +- 출력 포트와 입력 포트 간 링크 생성: + +`pw-link {{출력_포트_이름}} {{입력_포트_이름}}` + +- 두 포트 간 연결 해제: + +`pw-link {{[-d|--disconnect]}} {{출력_포트_이름}} {{입력_포트_이름}}` + +- 모든 링크와 해당 ID 나열: + +`pw-link {{[-lI|--links --id]}}` + +- 도움말 표시: + +`pw-link {{[-h|--help]}}` diff --git a/pages.ko/linux/pw-loopback.md b/pages.ko/linux/pw-loopback.md new file mode 100644 index 00000000000000..acb4965f95ab9a --- /dev/null +++ b/pages.ko/linux/pw-loopback.md @@ -0,0 +1,28 @@ +# pw-loopback + +> PipeWire에서 루프백 장치를 생성. +> 더 많은 정보: . + +- 기본 루프백 동작으로 루프백 장치 생성: + +`pw-loopback` + +- 스피커에 자동으로 연결되는 루프백 장치 생성: + +`pw-loopback -m '{{[FL FR]}}' --capture-props='{{media.class=Audio/Sink}}'` + +- 마이크에 자동으로 연결되는 루프백 장치 생성: + +`pw-loopback -m '{{[FL FR]}}' --playback-props='{{media.class=Audio/Source}}'` + +- 자동으로 아무것에도 연결되지 않는 더미 루프백 장치 생성: + +`pw-loopback -m '{{[FL FR]}}' --capture-props='{{media.class=Audio/Sink}}' --playback-props='{{media.class=Audio/Source}}'` + +- 스피커에 자동으로 연결되고 싱크와 소스 간 좌우 채널을 교환하는 루프백 장치 생성: + +`pw-loopback --capture-props='{{media.class=Audio/Sink audio.position=[FL FR]}}' --playback-props='{{audio.position=[FR FL]}}'` + +- 마이크에 자동으로 연결되고 싱크와 소스 간 좌우 채널을 교환하는 루프백 장치 생성: + +`pw-loopback --capture-props='{{audio.position=[FR FL]}}' --playback-props='{{media.class=Audio/Source audio.position=[FL FR]}}'` diff --git a/pages.ko/linux/pw-metadata.md b/pages.ko/linux/pw-metadata.md new file mode 100644 index 00000000000000..2776a415044c51 --- /dev/null +++ b/pages.ko/linux/pw-metadata.md @@ -0,0 +1,33 @@ +# pw-metadata + +> PipeWire 객체의 메타데이터를 모니터링, 설정 및 삭제. +> 같이 보기: `pipewire`, `pw-mon`, `pw-cli`. +> 더 많은 정보: . + +- `default` 이름의 메타데이터 표시: + +`pw-metadata` + +- `settings`에서 ID 0의 메타데이터 표시: + +`pw-metadata {{[-n|--name]}} {{settings}} {{0}}` + +- 사용 가능한 모든 메타데이터 객체 나열: + +`pw-metadata {{[-l|--list]}}` + +- 실행을 유지하며 메타데이터 변경 사항 기록: + +`pw-metadata {{[-m|--monitor]}}` + +- 모든 메타데이터 삭제: + +`pw-metadata {{[-d|--delete]}}` + +- `settings`에서 `log.level`을 1로 설정: + +`pw-metadata {{[-n|--name]}} {{settings}} {{0}} {{log.level}} {{1}}` + +- 도움말 표시: + +`pw-metadata {{[-h|--help]}}` diff --git a/pages.ko/linux/pw-mon.md b/pages.ko/linux/pw-mon.md new file mode 100644 index 00000000000000..0dc6d60764d7e0 --- /dev/null +++ b/pages.ko/linux/pw-mon.md @@ -0,0 +1,20 @@ +# pw-mon + +> PipeWire 인스턴스의 객체를 모니터링. +> 더 많은 정보: . + +- 기본 PipeWire 인스턴스 모니터링: + +`pw-mon` + +- 특정 원격 인스턴스 모니터링: + +`pw-mon --remote={{원격_이름}}` + +- 색상 설정을 지정하여 기본 인스턴스 모니터링: + +`pw-mon --color={{never|always|auto}}` + +- 도움말 표시: + +`pw-mon --help` diff --git a/pages.ko/linux/pw-play.md b/pages.ko/linux/pw-play.md new file mode 100644 index 00000000000000..800f1fe2f07350 --- /dev/null +++ b/pages.ko/linux/pw-play.md @@ -0,0 +1,7 @@ +# pw-play + +> 이 명령은 `pw-cat --playback` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pw-cat` diff --git a/pages.ko/linux/pw-profiler.md b/pages.ko/linux/pw-profiler.md new file mode 100644 index 00000000000000..dd41819e6f90d2 --- /dev/null +++ b/pages.ko/linux/pw-profiler.md @@ -0,0 +1,20 @@ +# pw-profiler + +> 로컬 또는 원격 인스턴스를 프로파일링. +> 더 많은 정보: . + +- 기본 인스턴스를 프로파일링하고 `profile.log`에 기록 (`gnuplot` 파일과 결과 시각화를 위한 HTML 파일도 생성됨): + +`pw-profiler` + +- 로그 출력 파일 변경: + +`pw-profiler --output {{경로/대상/파일.log}}` + +- 원격 인스턴스를 프로파일링: + +`pw-profiler --remote {{원격_이름}}` + +- 도움말 표시: + +`pw-profiler --help` diff --git a/pages.ko/linux/pw-record.md b/pages.ko/linux/pw-record.md new file mode 100644 index 00000000000000..106fd4dc00baab --- /dev/null +++ b/pages.ko/linux/pw-record.md @@ -0,0 +1,7 @@ +# pw-record + +> 이 명령은 `pw-cat --record` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pw-cat` diff --git a/pages.ko/linux/pw-top.md b/pages.ko/linux/pw-top.md new file mode 100644 index 00000000000000..f46f9825f9eb29 --- /dev/null +++ b/pages.ko/linux/pw-top.md @@ -0,0 +1,21 @@ +# pw-top + +> 실시간으로 PipeWire 노드 및 장치 통계를 확인. +> 같이 보기: `pipewire`, `pw-dump`, `pw-cli`, `pw-profiler`. +> 더 많은 정보: . + +- PipeWire 노드와 장치의 대화형 뷰 표시: + +`pw-top` + +- 원격 인스턴스 모니터링: + +`pw-top --remote {{원격_이름}}` + +- 대화형 모드 대신 주기적으로 정보 출력: + +`pw-top --batch-mode` + +- 특정 횟수만큼 주기적으로 정보 출력: + +`pw-top --batch-mode --iterations {{3}}` diff --git a/pages.ko/linux/pwdx.md b/pages.ko/linux/pwdx.md new file mode 100644 index 00000000000000..9e07238b50d014 --- /dev/null +++ b/pages.ko/linux/pwdx.md @@ -0,0 +1,8 @@ +# pwdx + +> 프로세스의 현재 작업 디렉터리 출력. +> 더 많은 정보: . + +- 프로세스의 현재 작업 디렉터리 출력: + +`pwdx {{프로세스_ID}}` diff --git a/pages.ko/linux/pwn.md b/pages.ko/linux/pwn.md new file mode 100644 index 00000000000000..a7687af4561ebb --- /dev/null +++ b/pages.ko/linux/pwn.md @@ -0,0 +1,36 @@ +# pwn + +> 신속한 프로토타이핑을 위한 Exploit 개발 라이브러리. +> 더 많은 정보: . + +- 주어진 어셈블리 코드를 `bytes`로 변환: + +`pwn asm "{{xor edi, edi}}"` + +- 특정 문자 수의 순환 패턴 생성: + +`pwn cyclic {{숫자}}` + +- 주어진 데이터를 16진수로 인코딩: + +`pwn hex {{deafbeef}}` + +- 주어진 데이터를 16진수에서 디코딩: + +`pwn unhex {{6c4f7645}}` + +- 셸 실행을 위한 x64 Linux 쉘코드 출력: + +`pwn shellcraft {{amd64.linux.sh}}` + +- 주어진 ELF 파일의 바이너리 보안 설정 확인: + +`pwn checksec {{경로/대상/파일}}` + +- Pwntools 업데이트 확인: + +`pwn update` + +- 버전 표시: + +`pwn version` diff --git a/pages.ko/linux/pyrit.md b/pages.ko/linux/pyrit.md new file mode 100644 index 00000000000000..c15f1257cde2f3 --- /dev/null +++ b/pages.ko/linux/pyrit.md @@ -0,0 +1,36 @@ +# pyrit + +> 계산 능력을 활용한 WPA/WPA2 크래킹 도구. +> 더 많은 정보: . + +- 시스템 크래킹 속도 표시: + +`pyrit benchmark` + +- 사용 가능한 코어 나열: + +`pyrit list_cores` + +- [e]SSID 설정: + +`pyrit -e "{{ESSID}}" create_essid` + +- 특정 패킷 캡처 파일 [r]읽고 분석: + +`pyrit -r {{경로/대상/파일.cap|경로/대상/파일.pcap}} analyze` + +- 현재 데이터베이스에 비밀번호 [i]가져오기: + +`pyrit -i {{경로/대상/파일}} {{import_unique_passwords|unique_passwords|import_passwords}}` + +- 데이터베이스에서 특정 파일로 비밀번호 [o]내보내기: + +`pyrit -o {{경로/대상/파일}} export_passwords` + +- Pired 마스터 키로 비밀번호 변환: + +`pyrit batch` + +- 캡처 파일 [r]읽고 비밀번호 크래킹: + +`pyrit -r {{경로/대상/파일}} attack_db` diff --git a/pages.ko/linux/qjoypad.md b/pages.ko/linux/qjoypad.md new file mode 100644 index 00000000000000..21743e63199026 --- /dev/null +++ b/pages.ko/linux/qjoypad.md @@ -0,0 +1,28 @@ +# qjoypad + +> 게임패드나 조이스틱의 입력을 키보드 입력이나 마우스 동작으로 변환. +> 더 많은 정보: . + +- QJoyPad 시작: + +`qjoypad` + +- QJoyPad를 시작하고 특정 디렉터리에서 장치를 검색: + +`qjoypad --device={{경로/대상/폴더}}` + +- QJoyPad를 시작하지만 시스템 트레이 아이콘을 표시하지 않음: + +`qjoypad --notray` + +- QJoyPad를 시작하고 창 관리자가 시스템 트레이 아이콘을 사용하도록 강제: + +`qjoypad --force-tray` + +- 실행 중인 QJoyPad 인스턴스에 장치 및 레이아웃 목록 업데이트 강제: + +`qjoypad --update` + +- 이미 실행 중인 QJoyPad 인스턴스에 주어진 레이아웃을 로드하거나, 주어진 레이아웃을 사용하여 QJoyPad 시작: + +`qjoypad "{{레이아웃}}"` diff --git a/pages.ko/linux/qm-cleanup.md b/pages.ko/linux/qm-cleanup.md new file mode 100644 index 00000000000000..d9088f648f135d --- /dev/null +++ b/pages.ko/linux/qm-cleanup.md @@ -0,0 +1,9 @@ +# qm cleanup + +> QEMU/KVM 가상 머신 관리자에서 tap 장치, VGPU 등과 같은 리소스를 정리. +> VM 종료, 충돌 후 호출됩니다. +> 더 많은 정보: . + +- 리소스 정리: + +`qm cleanup {{가상_머신_ID}} {{clean-shutdown}} {{guest-requested}}` diff --git a/pages.ko/linux/qm-clone.md b/pages.ko/linux/qm-clone.md new file mode 100644 index 00000000000000..d04ba35dafc735 --- /dev/null +++ b/pages.ko/linux/qm-clone.md @@ -0,0 +1,28 @@ +# qm clone + +> QEMU/KVM 가상 머신 관리자의 가상 머신 복사 생성. +> 더 많은 정보: . + +- 가상 머신 복사: + +`qm clone {{가상_머신_ID}} {{새_가상_머신_ID}}` + +- 특정 이름을 사용하여 가상 머신 복사: + +`qm clone {{가상_머신_ID}} {{새_가상_머신_ID}} --name {{이름}}` + +- 특정 설명을 사용하여 가상 머신 복사: + +`qm clone {{가상_머신_ID}} {{새_가상_머신_ID}} --description {{설명}}` + +- 모든 디스크의 전체 복사본을 생성하여 가상 머신 복사: + +`qm clone {{가상_머신_ID}} {{새_가상_머신_ID}} --full` + +- 파일 저장소에 특정 형식을 사용하여 가상 머신 복사 (`--full` 필요): + +`qm clone {{가상_머신_ID}} {{새_가상_머신_ID}} --full --format {{qcow2|raw|vmdk}}` + +- 특정 풀에 추가하여 가상 머신 복사: + +`qm clone {{가상_머신_ID}} {{새_가상_머신_ID}} --pool {{풀_이름}}` diff --git a/pages.ko/linux/qm-cloudinit-dump.md b/pages.ko/linux/qm-cloudinit-dump.md new file mode 100644 index 00000000000000..211eee69a4b7c5 --- /dev/null +++ b/pages.ko/linux/qm-cloudinit-dump.md @@ -0,0 +1,8 @@ +# qm cloudinit dump + +> cloudinit 구성 파일 생성. +> 더 많은 정보: . + +- 특정 구성 유형에 대한 cloudinit 파일 생성: + +`qm cloudinit dump {{가상_머신_ID}} {{meta|network|user}}` diff --git a/pages.ko/linux/qm-config.md b/pages.ko/linux/qm-config.md new file mode 100644 index 00000000000000..f84bbd1fb121e3 --- /dev/null +++ b/pages.ko/linux/qm-config.md @@ -0,0 +1,16 @@ +# qm config + +> 적용 대기 중인 구성 변경 사항을 포함하여 가상 머신 구성을 표시. +> 더 많은 정보: . + +- 가상 머신 구성 표시: + +`qm config {{가상_머신_ID}}` + +- 가상 머신에 대한 현재 구성 값을 표시 (대기 중인 값 대신): + +`qm config --current {{true}} {{vm_id}}` + +- 지정된 스냅샷에서 구성 값 가져오기: + +`qm config --snapshot {{snapshot_name}} {{vm_id}}` diff --git a/pages.ko/linux/qm-create.md b/pages.ko/linux/qm-create.md new file mode 100644 index 00000000000000..b9f147048ffd55 --- /dev/null +++ b/pages.ko/linux/qm-create.md @@ -0,0 +1,24 @@ +# qm create + +> QEMU/KVM 가상 머신 관리자에서 가상 머신을 생성하거나 복원. +> 더 많은 정보: . + +- 가상 머신 생성: + +`qm create {{100}}` + +- 생성 후 자동으로 머신 시작: + +`qm create {{100}} --start 1` + +- 머신의 운영 체제 유형 지정: + +`qm create {{100}} --ostype {{win10}}` + +- 기존 머신 교체(아카이브 필요): + +`qm create {{100}} --archive {{경로/대상/백업_파일.tar}} --force 1` + +- 가상 머신의 상태에 따라 자동으로 실행되는 스크립트 지정: + +`qm create {{100}} --hookscript {{경로/대상/스크립트.pl}}` diff --git a/pages.ko/linux/qm-delsnapshot.md b/pages.ko/linux/qm-delsnapshot.md new file mode 100644 index 00000000000000..6952cbe2b9d1d6 --- /dev/null +++ b/pages.ko/linux/qm-delsnapshot.md @@ -0,0 +1,12 @@ +# qm delsnapshot + +> 가상 머신 스냅샷 삭제. +> 더 많은 정보: . + +- 스냅샷 삭제: + +`qm delsnapshot {{가상_머신_ID}} {{스냅샷_이름}}` + +- 구성 파일에서 스냅샷 삭제 (디스크 스냅샷 제거가 실패하더라도 강제 삭제): + +`qm delsnapshot {{가상_머신_ID}} {{스냅샷_이름}} --force 1` diff --git a/pages.ko/linux/qm-destroy.md b/pages.ko/linux/qm-destroy.md new file mode 100644 index 00000000000000..c7722fe5571d65 --- /dev/null +++ b/pages.ko/linux/qm-destroy.md @@ -0,0 +1,20 @@ +# qm destroy + +> QEMU/KVM 가상 머신 관리자에서 가상 머신을 삭제. +> 더 많은 정보: . + +- 특정 가상 머신 삭제: + +`qm destroy {{가상_머신_ID}}` + +- 특정 가상 머신의 설정에 명시적으로 참조되지 않은 모든 디스크 삭제: + +`qm destroy {{가상_머신_ID}} --destroy-unreferenced-disks` + +- 특정 가상 머신을 삭제하고 모든 위치에서 제거 (목록, 백업 작업, 고가용성 관리자 등): + +`qm destroy {{가상_머신_ID}} --purge` + +- 잠금을 무시하고 강제 삭제하여 특정 가상 머신 삭제: + +`sudo qm destroy {{가상_머신_ID}} --skiplock` diff --git a/pages.ko/linux/qm-disk-import.md b/pages.ko/linux/qm-disk-import.md new file mode 100644 index 00000000000000..e58a3d0799427a --- /dev/null +++ b/pages.ko/linux/qm-disk-import.md @@ -0,0 +1,9 @@ +# qm disk import + +> 디스크 이미지를 가상 머신에 비사용 디스크로 가져오기. +> `qemu-img`에서 지원하는 이미지 형식(raw, qcow2, qed, vdi, vmdk, vhd)을 사용해야 함. +> 더 많은 정보: . + +- 특정 스토리지 이름을 사용하여 VMDK/qcow2/raw 디스크 이미지 가져오기: + +`qm disk import {{가상_머신_ID}} {{경로/대상/디스크}} {{저장소_이름}} --format {{qcow2|raw|vmdk}}` diff --git a/pages.ko/linux/qm-disk-move.md b/pages.ko/linux/qm-disk-move.md new file mode 100644 index 00000000000000..527ebedc9a4d45 --- /dev/null +++ b/pages.ko/linux/qm-disk-move.md @@ -0,0 +1,12 @@ +# qm disk move + +> Proxmox 클러스터 내에서 가상 디스크를 한 스토리지에서 다른 스토리지로 이동. +> 더 많은 정보: . + +- 가상 디스크 이동: + +`qm disk move {{가상_머신_ID}} {{대상}} {{색인}}` + +- 이전 가상 디스크 복사본 삭제: + +`qm disk move -delete {{가상_머신_ID}} {{대상}} {{색인}}` diff --git a/pages.ko/linux/qm-disk-resize.md b/pages.ko/linux/qm-disk-resize.md new file mode 100644 index 00000000000000..f37dc83eb26fc7 --- /dev/null +++ b/pages.ko/linux/qm-disk-resize.md @@ -0,0 +1,8 @@ +# qm disk resize + +> Proxmox Virtual Environment (PVE)에서 가상 머신 디스크 크기 조정. +> 더 많은 정보: . + +- 가상 디스크에 `n` 기가바이트 추가: + +`qm disk resize {{가상_머신_ID}} {{디스크_이름}} +{{n}}G` diff --git a/pages.ko/linux/qm-guest-cmd.md b/pages.ko/linux/qm-guest-cmd.md new file mode 100644 index 00000000000000..a0a4654cef1dc3 --- /dev/null +++ b/pages.ko/linux/qm-guest-cmd.md @@ -0,0 +1,8 @@ +# qm guest cmd + +> QEMU 게스트 에이전트 명령 실행. +> 더 많은 정보: . + +- 특정 QEMU 게스트 에이전트 명령 실행: + +`qm guest cmd {{가상_머신_ID}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` diff --git a/pages.ko/linux/qm-guest-exec-status.md b/pages.ko/linux/qm-guest-exec-status.md new file mode 100644 index 00000000000000..9939d3cb55ba64 --- /dev/null +++ b/pages.ko/linux/qm-guest-exec-status.md @@ -0,0 +1,8 @@ +# qm guest exec-status + +> QEMU/KVM 가상 머신 관리자에서 게스트 에이전트에 의해 시작된 PID의 상태를 출력. +> 더 많은 정보: . + +- 특정 PID의 상태 출력: + +`qm guest exec-status {{가상_머신_ID}} {{pid}}` diff --git a/pages.ko/linux/qm-guest-exec.md b/pages.ko/linux/qm-guest-exec.md new file mode 100644 index 00000000000000..4c0a41895b4eb1 --- /dev/null +++ b/pages.ko/linux/qm-guest-exec.md @@ -0,0 +1,20 @@ +# qm guest exec + +> 게스트 에이전트를 통해 특정 명령 실행. +> 더 많은 정보: . + +- 게스트 에이전트를 통해 특정 명령 실행: + +`qm guest exec {{가상_머신_ID}} {{명령어}} {{인수1 인수2 ...}}` + +- 게스트 에이전트를 통해 비동기적으로 특정 명령 실행: + +`qm guest exec {{가상_머신_ID}} {{인수1 인수2 ...}} --synchronous 0` + +- 10초의 지정된 제한 시간으로 게스트 에이전트를 통해 특정 명령 실행: + +`qm guest exec {{가상_머신_ID}} {{인수1 인수2 ...}} --timeout {{10}}` + +- 게스트 에이전트를 통해 특정 명령 실행 및 `stdin`에서 EOF까지 입력을 게스트 에이전트로 전달: + +`qm guest exec {{가상_머신_ID}} {{인수1 인수2 ...}} --pass-stdin 1` diff --git a/pages.ko/linux/qm-guest-passwd.md b/pages.ko/linux/qm-guest-passwd.md new file mode 100644 index 00000000000000..9e2a4e4e743e97 --- /dev/null +++ b/pages.ko/linux/qm-guest-passwd.md @@ -0,0 +1,12 @@ +# qm guest passwd + +> QEMU/KVM 가상 머신 관리자에서 사용자의 비밀번호 설정. +> 더 많은 정보: . + +- 가상 머신 내 특정 사용자에 대해 비밀번호를 대화식으로 설정: + +`qm guest passwd {{가상_머신_ID}} {{사용자_명}}` + +- 이미 해시된 비밀번호를 가상 머신 내 특정 사용자에 대해 대화식으로 설정: + +`qm guest passwd {{가상_머신_ID}} {{사용자_명}} --crypted 1` diff --git a/pages.ko/linux/qm-help.md b/pages.ko/linux/qm-help.md new file mode 100644 index 00000000000000..da8269d88b5b35 --- /dev/null +++ b/pages.ko/linux/qm-help.md @@ -0,0 +1,12 @@ +# qm help + +> 명령어에 대한 도움말 표시. +> 더 많은 정보: . + +- 특정 명령에 대한 도움말 표시: + +`qm help {{명령어}}` + +- 자세한 정보와 함께 특정 명령에 대한 도움말 표시: + +`qm help {{명령어}} --verbose {{true|false}}` diff --git a/pages.ko/linux/qm-importdisk.md b/pages.ko/linux/qm-importdisk.md new file mode 100644 index 00000000000000..b691fcdfd4e9d3 --- /dev/null +++ b/pages.ko/linux/qm-importdisk.md @@ -0,0 +1,7 @@ +# qm importdisk + +> 이 명령은 `qm disk import`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr qm disk import` diff --git a/pages.ko/linux/qm-list.md b/pages.ko/linux/qm-list.md new file mode 100644 index 00000000000000..bdf7c2d55c6ac6 --- /dev/null +++ b/pages.ko/linux/qm-list.md @@ -0,0 +1,12 @@ +# qm list + +> 모든 가상 머신 나열. +> 더 많은 정보: . + +- 모든 가상 머신 나열: + +`qm list` + +- 현재 실행 중인 가상 머신의 전체 상태와 함께 모든 가상 머신 나열: + +`qm list --full 1` diff --git a/pages.ko/linux/qm-listsnapshot.md b/pages.ko/linux/qm-listsnapshot.md new file mode 100644 index 00000000000000..464244a22600f0 --- /dev/null +++ b/pages.ko/linux/qm-listsnapshot.md @@ -0,0 +1,8 @@ +# qm listsnapshot + +> 가상 머신의 스냅샷 나열. +> 더 많은 정보: . + +- 특정 가상 머신의 모든 스냅샷 나열: + +`qm listsnapshot {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-migrate.md b/pages.ko/linux/qm-migrate.md new file mode 100644 index 00000000000000..eeb0ecd8e69d23 --- /dev/null +++ b/pages.ko/linux/qm-migrate.md @@ -0,0 +1,25 @@ +# qm migrate + +> 가상 머신을 마이그레이션. +> 새로운 마이그레이션 작업을 생성하는 데 사용됩니다. +> 더 많은 정보: . + +- 특정 가상 머신 마이그레이션: + +`qm migrate {{가상_머신_ID}} {{target}}` + +- 현재 I/O 대역폭 제한을 10 KiB/s로 재정의: + +`qm migrate {{가상_머신_ID}} {{target}} --bwlimit 10` + +- 로컬 장치를 사용하는 가상 머신의 마이그레이션 허용 (루트 전용): + +`qm migrate {{가상_머신_ID}} {{target}} --force true` + +- 가상 머신이 실행 중인 경우 온라인/라이브 마이그레이션 사용: + +`qm migrate {{가상_머신_ID}} {{target}} --online true` + +- 로컬 디스크에 대한 라이브 스토리지 마이그레이션 활성화: + +`qm migrate {{가상_머신_ID}} {{target}} --with-local-disks true` diff --git a/pages.ko/linux/qm-monitor.md b/pages.ko/linux/qm-monitor.md new file mode 100644 index 00000000000000..c92a9d0fed8cf4 --- /dev/null +++ b/pages.ko/linux/qm-monitor.md @@ -0,0 +1,8 @@ +# qm monitor + +> QEMU 모니터 인터페이스에 진입. +> 더 많은 정보: . + +- 특정 가상 머신의 QEMU 모니터 인터페이스에 진입: + +`qm monitor {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-move-disk.md b/pages.ko/linux/qm-move-disk.md new file mode 100644 index 00000000000000..3fa3036a55825c --- /dev/null +++ b/pages.ko/linux/qm-move-disk.md @@ -0,0 +1,7 @@ +# qm move-disk + +> 이 명령은 `qm disk move`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr qm disk move` diff --git a/pages.ko/linux/qm-move_disk.md b/pages.ko/linux/qm-move_disk.md new file mode 100644 index 00000000000000..0cb7dd30c369cb --- /dev/null +++ b/pages.ko/linux/qm-move_disk.md @@ -0,0 +1,7 @@ +# qm move_disk + +> 이 명령은 `qm disk move`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr qm disk move` diff --git a/pages.ko/linux/qm-mtunnel.md b/pages.ko/linux/qm-mtunnel.md new file mode 100644 index 00000000000000..947671cbe10fc3 --- /dev/null +++ b/pages.ko/linux/qm-mtunnel.md @@ -0,0 +1,9 @@ +# qm mtunnel + +> `qmigrate`에서 사용. +> 수동으로 호출해서는 안 됨. +> 더 많은 정보: . + +- VM에서 다른 호스트로 데이터 마이그레이션 중에 `qmigrate`에서 사용되는 명령: + +`qm mtunnel` diff --git a/pages.ko/linux/qm-nbdstop.md b/pages.ko/linux/qm-nbdstop.md new file mode 100644 index 00000000000000..9b93d9276b1146 --- /dev/null +++ b/pages.ko/linux/qm-nbdstop.md @@ -0,0 +1,8 @@ +# qm nbdstop + +> 내장 nbd 서버 중지. +> 더 많은 정보: . + +- 내장 nbd 서버 중지: + +`qm nbdstop {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-pending.md b/pages.ko/linux/qm-pending.md new file mode 100644 index 00000000000000..cc74f00b0a318d --- /dev/null +++ b/pages.ko/linux/qm-pending.md @@ -0,0 +1,8 @@ +# qm pending + +> 현재 및 보류 중인 값을 포함한 가상 머신 구성을 가져옵니다. +> 더 많은 정보: . + +- 특정 가상 머신의 가상 머신 구성 가져오기: + +`qm pending {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-reboot.md b/pages.ko/linux/qm-reboot.md new file mode 100644 index 00000000000000..5141cc695e92fb --- /dev/null +++ b/pages.ko/linux/qm-reboot.md @@ -0,0 +1,12 @@ +# qm reboot + +> 가상 머신을 종료하고 보류 중인 변경 사항을 적용한 후 다시 시작. +> 더 많은 정보: . + +- 가상 머신 재부팅: + +`qm reboot {{가상_머신_ID}}` + +- 최대 10초 기다린 후 가상 머신 재부팅: + +`qm reboot --timeout {{10}} {{vm_id}}` diff --git a/pages.ko/linux/qm-rescan.md b/pages.ko/linux/qm-rescan.md new file mode 100644 index 00000000000000..2cde826f1242f2 --- /dev/null +++ b/pages.ko/linux/qm-rescan.md @@ -0,0 +1,12 @@ +# qm rescan + +> 모든 스토리지를 다시 스캔하고 가상 머신의 디스크 크기와 사용되지 않는 디스크 이미지를 업데이트. +> 더 많은 정보: . + +- 특정 가상 머신의 모든 스토리지를 다시 스캔하고 디스크 크기와 사용되지 않는 디스크 이미지를 업데이트: + +`qm rescan {{가상_머신_ID}}` + +- 특정 가상 머신에 대해 다시 스캔을 시뮬레이션하고 구성에 아무런 변경도 기록하지 않음: + +`qm rescan --dryrun {{true}} {{vm_id}}` diff --git a/pages.ko/linux/qm-reset.md b/pages.ko/linux/qm-reset.md new file mode 100644 index 00000000000000..d7f7871bcdb1a7 --- /dev/null +++ b/pages.ko/linux/qm-reset.md @@ -0,0 +1,12 @@ +# qm reset + +> QEMU/KVM 가상 머신 관리자에서 가상 머신을 재설정합니다. +> 더 많은 정보: . + +- 가상 머신 재설정: + +`qm reset {{가상_머신_ID}}` + +- 가상 머신을 재설정하고 잠금 건너뛰기 (루트만 이 옵션을 사용할 수 있음): + +`qm reset --skiplock {{true}} {{vm_id}}` diff --git a/pages.ko/linux/qm-resize.md b/pages.ko/linux/qm-resize.md new file mode 100644 index 00000000000000..65a494a2bd8855 --- /dev/null +++ b/pages.ko/linux/qm-resize.md @@ -0,0 +1,7 @@ +# qm resize + +> 이 명령은 `qm-disk-resize`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr qm disk resize` diff --git a/pages.ko/linux/qm-resume.md b/pages.ko/linux/qm-resume.md new file mode 100644 index 00000000000000..9a8f22320b623f --- /dev/null +++ b/pages.ko/linux/qm-resume.md @@ -0,0 +1,12 @@ +# qm resume + +> 가상 머신 재개. +> 더 많은 정보: . + +- 특정 가상 머신 재개: + +`qm resume {{가상_머신_ID}}` + +- 잠금을 무시하고 특정 가상 머신 재개 (루트 권한 필요): + +`sudo qm resume {{가상_머신_ID}} --skiplock true` diff --git a/pages.ko/linux/qm-rollback.md b/pages.ko/linux/qm-rollback.md new file mode 100644 index 00000000000000..d9699381453257 --- /dev/null +++ b/pages.ko/linux/qm-rollback.md @@ -0,0 +1,8 @@ +# qm rollback + +> VM 상태를 지정된 스냅샷으로 롤백. +> 더 많은 정보: . + +- 특정 VM의 상태를 지정된 스냅샷으로 롤백: + +`qm rollback {{가상_머신_ID}} {{snap_name}}` diff --git a/pages.ko/linux/qm-sendkey.md b/pages.ko/linux/qm-sendkey.md new file mode 100644 index 00000000000000..b39d735fb43c78 --- /dev/null +++ b/pages.ko/linux/qm-sendkey.md @@ -0,0 +1,12 @@ +# qm sendkey + +> QEMU 모니터 인코딩 키 이벤트를 가상 머신에 전송. +> 더 많은 정보: . + +- 특정 키 이벤트를 특정 가상 머신에 전송: + +`qm sendkey {{가상_머신_ID}} {{key}}` + +- 루트 사용자가 키 이벤트를 전송하고 잠금을 무시하도록 허용: + +`qm sendkey --skiplock {{true}} {{vm_id}} {{key}}` diff --git a/pages.ko/linux/qm-showcmd.md b/pages.ko/linux/qm-showcmd.md new file mode 100644 index 00000000000000..131e17a1dc1596 --- /dev/null +++ b/pages.ko/linux/qm-showcmd.md @@ -0,0 +1,16 @@ +# qm showcmd + +> VM을 시작하는 데 사용된 명령줄을 표시 (디버그 정보). +> 더 많은 정보: . + +- 특정 가상 머신의 명령줄 표시: + +`qm showcmd {{가상_머신_ID}}` + +- 각 옵션을 새 줄에 배치하여 가독성 향상: + +`qm showcmd --pretty {{true}} {{가상_머신_ID}}` + +- 특정 스냅샷에서 구성 값 가져오기: + +`qm showcmd --snapshot {{string}} {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-shutdown.md b/pages.ko/linux/qm-shutdown.md new file mode 100644 index 00000000000000..0546a7f8e55333 --- /dev/null +++ b/pages.ko/linux/qm-shutdown.md @@ -0,0 +1,24 @@ +# qm shutdown + +> QEMU/KVM 가상 머신 관리자에서 가상 머신 종료. +> 더 많은 정보: . + +- 가상 머신 종료: + +`qm shutdown {{가상_머신_ID}}` + +- 최대 10초 대기 후 가상 머신 종료: + +`qm shutdown --timeout {{10}} {{가상_머신_ID}}` + +- 저장소 볼륨을 비활성화하지 않고 가상 머신 종료: + +`qm shutdown --keepActive {{true}} {{가상_머신_ID}}` + +- 잠금을 건너뛰고 가상 머신 종료 (루트 사용자만 사용 가능): + +`qm shutdown --skiplock {{true}} {{가상_머신_ID}}` + +- 가상 머신을 정지하고 종료: + +`qm shutdown --forceStop {{true}} {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-snapshot.md b/pages.ko/linux/qm-snapshot.md new file mode 100644 index 00000000000000..7cfe25b6e02904 --- /dev/null +++ b/pages.ko/linux/qm-snapshot.md @@ -0,0 +1,16 @@ +# qm snapshot + +> 가상 머신 스냅샷 생성. +> 더 많은 정보: . + +- 특정 가상 머신의 스냅샷 생성: + +`qm snapshot {{가상_머신_ID}} {{스냅샷_이름}}` + +- 특정 설명과 함께 스냅샷 생성: + +`qm snapshot {{가상_머신_ID}} {{스냅샷_이름}} --description {{설명}}` + +- vmstate를 포함한 스냅샷 생성: + +`qm snapshot {{가상_머신_ID}} {{스냅샷_이름}} --description {{설명}} --vmstate 1` diff --git a/pages.ko/linux/qm-start.md b/pages.ko/linux/qm-start.md new file mode 100644 index 00000000000000..06a7b6cb3742c7 --- /dev/null +++ b/pages.ko/linux/qm-start.md @@ -0,0 +1,16 @@ +# qm start + +> QEMU/KVM 가상 머신 관리자에서 가상 머신 시작. +> 더 많은 정보: . + +- 특정 가상 머신 시작: + +`qm start {{100}}` + +- QEMU 머신 유형(즉, 에뮬레이트할 CPU) 지정: + +`qm start {{100}} --machine {{q35}}` + +- 60초의 타임아웃을 설정하여 특정 가상 머신 시작: + +`qm start {{100}} --timeout {{60}}` diff --git a/pages.ko/linux/qm-status.md b/pages.ko/linux/qm-status.md new file mode 100644 index 00000000000000..8bbdd14f429a0b --- /dev/null +++ b/pages.ko/linux/qm-status.md @@ -0,0 +1,12 @@ +# qm status + +> 가상 머신 상태 표시. +> 더 많은 정보: . + +- 특정 가상 머신의 상태 표시: + +`qm status {{가상_머신_ID}}` + +- 특정 가상 머신의 상세 상태 표시: + +`qm status --verbose {{true}} {{vm_id}}` diff --git a/pages.ko/linux/qm-stop.md b/pages.ko/linux/qm-stop.md new file mode 100644 index 00000000000000..3b482c285fd317 --- /dev/null +++ b/pages.ko/linux/qm-stop.md @@ -0,0 +1,20 @@ +# qm stop + +> 가상 머신 중지. +> 더 많은 정보: . + +- 가상 머신을 즉시 중지: + +`qm stop {{가상_머신_ID}}` + +- 가상 머신을 중지하고 최대 10초 기다리기: + +`qm stop --timeout {{10}} {{가상_머신_ID}}` + +- 가상 머신을 중지하고 잠금을 건너뜀 (루트 사용자만 이 옵션 사용 가능): + +`qm stop --skiplock {{true}} {{가상_머신_ID}}` + +- 가상 머신을 중지하고 스토리지 볼륨 비활성화하지 않음: + +`qm stop --keepActive {{true}} {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-suspend.md b/pages.ko/linux/qm-suspend.md new file mode 100644 index 00000000000000..31e25c9a71ea7b --- /dev/null +++ b/pages.ko/linux/qm-suspend.md @@ -0,0 +1,17 @@ +# qm suspend + +> Proxmox Virtual Environment (PVE)에서 가상 머신(VM)을 일시 중단합니다. +> `--skiplock` 및 `--skiplockstorage` 플래그는 데이터 손상을 초래할 수 있으므로 주의해서 사용해야 합니다. +> 더 많은 정보: . + +- ID로 가상 머신 일시 중단: + +`qm suspend {{가상_머신_ID}} {{정수}}` + +- VM을 일시 중단할 때 잠금 확인 건너뛰기: + +`qm suspend {{가상_머신_ID}} {{정수}} --skiplock` + +- VM을 일시 중단할 때 스토리지 잠금 확인 건너뛰기: + +`qm suspend {{가상_머신_ID}} {{정수}} --skiplockstorage` diff --git a/pages.ko/linux/qm-template.md b/pages.ko/linux/qm-template.md new file mode 100644 index 00000000000000..0021f8836ce2d9 --- /dev/null +++ b/pages.ko/linux/qm-template.md @@ -0,0 +1,8 @@ +# qm template + +> Proxmox VM 템플릿 생성. +> 더 많은 정보: . + +- 특정 가상 머신으로부터 템플릿 생성: + +`qm template {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-unlock.md b/pages.ko/linux/qm-unlock.md new file mode 100644 index 00000000000000..40bc456892f312 --- /dev/null +++ b/pages.ko/linux/qm-unlock.md @@ -0,0 +1,8 @@ +# qm unlock + +> QEMU/KVM 가상 머신 관리자에서 가상 머신 잠금 해제. +> 더 많은 정보: . + +- 특정 가상 머신 잠금 해제: + +`qm unlock {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-vncproxy.md b/pages.ko/linux/qm-vncproxy.md new file mode 100644 index 00000000000000..debc8883f34de7 --- /dev/null +++ b/pages.ko/linux/qm-vncproxy.md @@ -0,0 +1,8 @@ +# qm vncproxy + +> 가상 머신의 VNC (Virtual Network Computing) 트래픽을 `stdin` 또는 `stdout`으로 프록시. +> 더 많은 정보: . + +- 특정 가상 머신을 프록시: + +`qm vncproxy {{가상_머신_ID}}` diff --git a/pages.ko/linux/qm-wait.md b/pages.ko/linux/qm-wait.md new file mode 100644 index 00000000000000..b15114fca47d2d --- /dev/null +++ b/pages.ko/linux/qm-wait.md @@ -0,0 +1,16 @@ +# qm wait + +> 가상 머신이 중지될 때까지 대기. +> 더 많은 정보: . + +- 가상 머신이 중지될 때까지 대기: + +`qm wait {{가상_머신_ID}}` + +- 가상 머신이 중지될 때까지 10초 동안 대기: + +`qm wait --timeout {{10}} {{가상_머신_ID}}` + +- 종료 요청을 전송한 후 가상 머신이 중지될 때까지 10초 동안 대기: + +`qm shutdown {{가상_머신_ID}} && qm wait --timeout {{10}} {{vm_id}}` diff --git a/pages.ko/linux/qm.md b/pages.ko/linux/qm.md new file mode 100644 index 00000000000000..a3ba36421614c2 --- /dev/null +++ b/pages.ko/linux/qm.md @@ -0,0 +1,29 @@ +# qm + +> QEMU/KVM 가상 머신 관리자. +> `list`, `start`, `stop`, `clone` 등의 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 모든 가상 머신 나열: + +`qm list` + +- 로컬 스토리지에 업로드된 ISO 파일을 사용하여 `local-lvm` 스토리지에 4 GB IDE 디스크와 ID가 100인 가상 머신 생성: + +`qm create {{100}} -ide0 {{local-lvm:4}} -net0 {{e1000}} -cdrom {{local:iso/proxmox-mailgateway_2.1.iso}}` + +- 가상 머신의 ID를 지정하여 구성 보기: + +`qm config {{100}}` + +- 특정 가상 머신 시작: + +`qm start {{100}}` + +- 종료 요청을 보내고, 가상 머신이 중지될 때까지 대기: + +`qm shutdown {{100}} && qm wait {{100}}` + +- 가상 머신을 제거하고 모든 관련 리소스 삭제: + +`qm destroy {{100}} --purge` diff --git a/pages.ko/linux/qmrestore.md b/pages.ko/linux/qmrestore.md new file mode 100644 index 00000000000000..8acdc41cb4d75e --- /dev/null +++ b/pages.ko/linux/qmrestore.md @@ -0,0 +1,20 @@ +# qmrestore + +> QemuServer의 `vzdump` 백업 복원. +> 더 많은 정보: . + +- 원본 스토리지에 있는 백업 파일에서 가상 머신 복원: + +`qmrestore {{경로/대상/vzdump-qemu-100.vma.lzo}} {{100}}` + +- 원본 스토리지에 있는 백업 파일에서 기존 가상 머신 덮어쓰기: + +`qmrestore {{경로/대상/vzdump-qemu-100.vma.lzo}} {{100}} --force true` + +- 특정 스토리지에 있는 백업 파일에서 가상 머신 복원: + +`qmrestore {{경로/대상/vzdump-qemu-100.vma.lzo}} {{100}} --storage {{local}}` + +- 백업에서 즉시 가상 머신 시작하고 백그라운드에서 복원 진행 (Proxmox Backup Server에서만 가능): + +`qmrestore {{경로/대상/vzdump-qemu-100.vma.lzo}} {{100}} --live-restore true` diff --git a/pages.ko/linux/qrcp.md b/pages.ko/linux/qrcp.md new file mode 100644 index 00000000000000..79c9fc2656d8dd --- /dev/null +++ b/pages.ko/linux/qrcp.md @@ -0,0 +1,28 @@ +# qrcp + +> 파일 전송 도구. +> 더 많은 정보: . + +- 파일 또는 폴더 전송: + +`qrcp send {{경로/대상/파일_또는_폴더 경로/대상/파일_폴더 ...}}` + +- 파일 수신: + +`qrcp receive` + +- 전송 전 콘텐츠 압축: + +`qrcp send --zip {{경로/대상/파일_또는_폴더}}` + +- 특정 [p]포트 사용: + +`qrcp {{send|receive}} --port {{포트_번호}}` + +- 특정 네트워크 [i]인터페이스 사용: + +`qrcp {{send|receive}} --interface {{인터페이스}}` + +- 서버를 계속 활성 상태로 유지: + +`qrcp {{send|receive}} --keep-alive` diff --git a/pages.ko/linux/qsub.md b/pages.ko/linux/qsub.md new file mode 100644 index 00000000000000..e9f7a3d766b566 --- /dev/null +++ b/pages.ko/linux/qsub.md @@ -0,0 +1,20 @@ +# qsub + +> 스크립트를 큐 관리 시스템 TORQUE에 제출합니다. +> 더 많은 정보: . + +- 기본 설정으로 스크립트를 제출 (TORQUE 설정에 따라 다름): + +`qsub {{스크립트.sh}}` + +- 1시간 2분 3초의 벽시계 실행 시간 제한을 지정하여 스크립트를 제출: + +`qsub -l walltime={{1}}:{{2}}:{{3}} {{스크립트.sh}}` + +- 2개의 노드에서 각 노드당 4개의 코어를 사용하여 스크립트를 제출: + +`qsub -l nodes={{2}}:ppn={{4}} {{스크립트.sh}}` + +- 특정 큐에 스크립트를 제출 (다양한 큐는 최대 및 최소 실행 시간 제한이 다를 수 있음): + +`qsub -q {{큐_이름}} {{스크립트.sh}}` diff --git a/pages.ko/linux/qtchooser.md b/pages.ko/linux/qtchooser.md new file mode 100644 index 00000000000000..6e942a53934ff6 --- /dev/null +++ b/pages.ko/linux/qtchooser.md @@ -0,0 +1,24 @@ +# qtchooser + +> Qt 개발 바이너리 버전 간 선택을 돕는 래퍼. +> 더 많은 정보: . + +- 구성 파일에서 사용 가능한 Qt 버전 나열: + +`qtchooser --list-versions` + +- 환경 정보 출력: + +`qtchooser --print-env` + +- 지정된 Qt 버전을 사용하여 지정된 도구 실행: + +`qtchooser --run-tool={{도구}} --qt={{버전_이름}}` + +- 선택할 수 있도록 Qt 버전 항목 추가: + +`qtchooser --install {{버전_이름}} {{경로/대상/qmake}}` + +- 도움말 표시: + +`qtchooser --help` diff --git a/pages.ko/linux/qtile.md b/pages.ko/linux/qtile.md new file mode 100644 index 00000000000000..aeede66c20a0f3 --- /dev/null +++ b/pages.ko/linux/qtile.md @@ -0,0 +1,24 @@ +# qtile + +> Python으로 작성 및 구성된 완전한 기능의 해킹 가능한 타일링 윈도우 매니저. +> 더 많은 정보: . + +- 윈도우 매니저를 시작 (이미 실행 중이 아니라면, `.xsession` 또는 유사한 곳에서 실행하는 것이 이상적): + +`qtile start` + +- 설정 파일에 컴파일 오류가 있는지 확인 (기본 위치는 `~/.config/qtile/config.py`): + +`qtile check` + +- 현재 리소스 사용 정보 표시: + +`qtile top --force` + +- `test-group`이라는 그룹에서 `xterm` 프로그램을 플로팅 윈도우로 열기: + +`qtile run-cmd --group {{test-group}} --float {{xterm}}` + +- 윈도우 매니저 다시 시작: + +`qtile cmd-obj --object cmd --function restart` diff --git a/pages.ko/linux/quickemu.md b/pages.ko/linux/quickemu.md new file mode 100644 index 00000000000000..07db085d9330e7 --- /dev/null +++ b/pages.ko/linux/quickemu.md @@ -0,0 +1,33 @@ +# quickemu + +> 고도로 최적화된 데스크탑 가상 머신을 빠르게 구축하고 관리합니다. +> 같이 보기: VM 설정 준비를 위한 `quickget`. +> 더 많은 정보: . + +- 구성 파일에서 가상 머신 생성 및 실행: + +`quickemu --vm {{경로/대상/파일.conf}}` + +- 디스크/스냅샷에 변경 사항을 저장하지 않고 임시 파일에 변경 사항 기록: + +`quickemu --status-quo --vm {{경로/대상/파일.conf}}` + +- 전체 화면 모드로 가상 머신 시작 (``로 종료) 및 디스플레이 백엔드 선택 (기본값은 `sdl`): + +`quickemu --fullscreen --display {{sdl|gtk|spice|spice-app|none}} --vm {{경로/대상/파일.conf}}` + +- 가상 오디오 장치를 에뮬레이트하고 데스크탑 바로 가기 생성: + +`quickemu --sound-card {{intel-hda|ac97|es1370|sb16|none}} --shortcut --vm {{경로/대상/파일.conf}}` + +- 스냅샷 생성: + +`quickemu --snapshot create {{태그}} --vm {{경로/대상/파일.conf}}` + +- 스냅샷 복원: + +`quickemu --snapshot apply {{태그}} --vm {{경로/대상/파일.conf}}` + +- 스냅샷 삭제: + +`quickemu --snapshot delete {{태그}} --vm {{경로/대상/파일.conf}}` diff --git a/pages.ko/linux/quickget.md b/pages.ko/linux/quickget.md new file mode 100644 index 00000000000000..3e59abb769098c --- /dev/null +++ b/pages.ko/linux/quickget.md @@ -0,0 +1,38 @@ +# quickget + +> Quickemu 가상 머신 빌드를 위한 자료를 다운로드하고 준비합니다. +> 참고: "edition" 매개변수는 항상 선택 사항입니다. +> 같이 보기: `quickemu`. +> 더 많은 정보: . + +- 지원되는 모든 게스트 운영 체제, 버전 및 변형 목록 표시: + +`quickget list` + +- 운영 체제에 대한 Quickemu 가상 머신을 빌드하기 위한 가상 머신 설정 다운로드 및 생성: + +`quickget {{os}} {{release}} {{edition}}` + +- VirtIO 드라이버가 포함된 Windows 11 VM 설정 다운로드: + +`quickget windows 11` + +- macOS 복구 이미지를 다운로드하고 가상 머신 설정 생성: + +`quickget macos {{mojave|catalina|big-sur|monterey|ventura|sonoma}}` + +- 운영 체제의 ISO URL 표시: + +`quickget --url fedora {{release}} {{edition}}` + +- 운영 체제에 대한 ISO 파일이 있는지 테스트: + +`quickget --check nixos {{release}} {{edition}}` + +- VM 설정을 빌드하지 않고 이미지 다운로드: + +`quickget --download {{os}} {{release}} {{edition}}` + +- 운영 체제 이미지에 대한 VM 설정 생성: + +`quickget --create-config {{os}} {{경로/대상/iso}}` diff --git a/pages.ko/linux/quotacheck.md b/pages.ko/linux/quotacheck.md new file mode 100644 index 00000000000000..f0a32dae1d52f5 --- /dev/null +++ b/pages.ko/linux/quotacheck.md @@ -0,0 +1,29 @@ +# quotacheck + +> 파일 시스템의 디스크 사용량을 스캔하여 쿼터 파일을 생성, 확인 및 복구합니다. +> 쿼터 파일의 손상이나 손실을 방지하기 위해 쿼터를 비활성화한 상태에서 실행하는 것이 좋습니다. +> 더 많은 정보: . + +- 모든 마운트된 비-NFS 파일 시스템의 쿼터 확인: + +`sudo quotacheck --all` + +- 쿼터가 활성화된 상태에서도 강제 확인 (쿼터 파일의 손상이나 손실이 발생할 수 있음): + +`sudo quotacheck --force {{마운트_지점}}` + +- 디버그 모드로 주어진 파일 시스템의 쿼터 확인: + +`sudo quotacheck --debug {{마운트_지점}}` + +- 진행 상황을 표시하며 주어진 파일 시스템의 쿼터 확인: + +`sudo quotacheck --verbose {{마운트_지점}}` + +- 사용자 쿼터 확인: + +`sudo quotacheck --user {{사용자}} {{마운트_지점}}` + +- 그룹 쿼터 확인: + +`sudo quotacheck --group {{그룹}} {{마운트_지점}}` diff --git a/pages.ko/linux/radeontop.md b/pages.ko/linux/radeontop.md new file mode 100644 index 00000000000000..0c63ff20e1ca0c --- /dev/null +++ b/pages.ko/linux/radeontop.md @@ -0,0 +1,21 @@ +# radeontop + +> AMD GPU의 사용률을 표시합니다. +> 시스템에 따라 루트 권한이 필요할 수 있습니다. +> 더 많은 정보: . + +- 기본 AMD GPU의 사용률 표시: + +`radeontop` + +- 색상 출력 활성화: + +`radeontop --color` + +- 특정 GPU 선택 (버스 번호는 `lspci` 출력의 첫 번째 숫자입니다): + +`radeontop --bus {{버스_번호}}` + +- 화면 새로고침 빈도 지정 (값이 클수록 GPU 오버헤드가 증가): + +`radeontop --ticks {{초당_샘플_수}}` diff --git a/pages.ko/linux/rankmirrors.md b/pages.ko/linux/rankmirrors.md new file mode 100644 index 00000000000000..67e1b3f18c6c80 --- /dev/null +++ b/pages.ko/linux/rankmirrors.md @@ -0,0 +1,25 @@ +# rankmirrors + +> Pacman 미러 목록을 연결 및 열기 속도에 따라 순위 매기기. +> 새로운 미러리스트를 `stdout`에 작성합니다. +> 더 많은 정보: . + +- 미러 목록 순위 매기기: + +`rankmirrors {{/etc/pacman.d/mirrorlist}}` + +- 상위 순위 서버의 지정된 개수만 출력: + +`rankmirrors -n {{개수}} {{/etc/pacman.d/mirrorlist}}` + +- 미러리스트 생성 시 자세히 출력: + +`rankmirrors -v {{/etc/pacman.d/mirrorlist}}` + +- 특정 URL만 테스트: + +`rankmirrors --url {{URL}}` + +- 전체 미러리스트 대신 응답 시간만 출력: + +`rankmirrors --times {{/etc/pacman.d/mirrorlist}}` diff --git a/pages.ko/linux/raspi-config.md b/pages.ko/linux/raspi-config.md new file mode 100644 index 00000000000000..aff3ed5c60f8e5 --- /dev/null +++ b/pages.ko/linux/raspi-config.md @@ -0,0 +1,8 @@ +# raspi-config + +> Raspberry Pi를 설정하는 `ncurses` 터미널 GUI. +> 더 많은 정보: . + +- `raspi-config` 시작: + +`sudo raspi-config` diff --git a/pages.ko/linux/raspinfo.md b/pages.ko/linux/raspinfo.md new file mode 100644 index 00000000000000..0005201a0e87d3 --- /dev/null +++ b/pages.ko/linux/raspinfo.md @@ -0,0 +1,8 @@ +# raspinfo + +> Raspberry Pi 시스템 정보를 표시합니다. +> 더 많은 정보: . + +- 시스템 정보 표시: + +`raspinfo` diff --git a/pages.ko/linux/raw.md b/pages.ko/linux/raw.md new file mode 100644 index 00000000000000..00639f6d30da0e --- /dev/null +++ b/pages.ko/linux/raw.md @@ -0,0 +1,16 @@ +# raw + +> Unix 원시 문자 장치를 블록 장치에 바인드합니다. +> 더 많은 정보: . + +- 원시 문자 장치를 블록 장치에 바인드: + +`raw /dev/raw/raw{{1}} {{/dev/block_device}}` + +- 새로운 바인딩을 설정하는 대신 기존 바인딩 조회: + +`raw /dev/raw/raw{{1}}` + +- 바인드된 모든 원시 장치 조회: + +`raw -qa` diff --git a/pages.ko/linux/rc-service.md b/pages.ko/linux/rc-service.md new file mode 100644 index 00000000000000..0af1197a9f46d1 --- /dev/null +++ b/pages.ko/linux/rc-service.md @@ -0,0 +1,33 @@ +# rc-service + +> 매개변수를 사용하여 OpenRC 서비스를 찾아 실행합니다. +> 같이 보기: `openrc`. +> 더 많은 정보: . + +- 서비스 상태 표시: + +`rc-service {{서비스_이름}} status` + +- 서비스 시작: + +`sudo rc-service {{서비스_이름}} start` + +- 서비스 중지: + +`sudo rc-service {{서비스_이름}} stop` + +- 서비스 재시작: + +`sudo rc-service {{서비스_이름}} restart` + +- 서비스의 사용자 지정 명령을 실행 시뮬레이션: + +`sudo rc-service --dry-run {{서비스_이름}} {{명령_이름}}` + +- 서비스의 사용자 지정 명령 실제 실행: + +`sudo rc-service {{서비스_이름}} {{명령_이름}}` + +- 디스크에서 서비스 정의 위치 확인: + +`sudo rc-service --resolve {{서비스_이름}}` diff --git a/pages.ko/linux/rc-status.md b/pages.ko/linux/rc-status.md new file mode 100644 index 00000000000000..2893ca156f3dc1 --- /dev/null +++ b/pages.ko/linux/rc-status.md @@ -0,0 +1,33 @@ +# rc-status + +> runlevel의 상태 정보를 표시합니다. +> 같이 보기: `openrc`. +> 더 많은 정보: . + +- 서비스 및 해당 상태 요약 표시: + +`rc-status` + +- 모든 runlevel의 서비스를 요약에 포함: + +`rc-status --all` + +- 충돌한 서비스 나열: + +`rc-status --crashed` + +- 수동으로 시작된 서비스 나열: + +`rc-status --manual` + +- 감독되는 서비스 나열: + +`rc-status --supervised` + +- 현재 runlevel 얻기: + +`rc-status --runlevel` + +- 모든 runlevel 나열: + +`rc-status --list` diff --git a/pages.ko/linux/rc-update.md b/pages.ko/linux/rc-update.md new file mode 100644 index 00000000000000..7ab83adbe2d667 --- /dev/null +++ b/pages.ko/linux/rc-update.md @@ -0,0 +1,21 @@ +# rc-update + +> OpenRC 서비스를 실행 수준에 추가 및 제거. +> 같이 보기: `openrc`. +> 더 많은 정보: . + +- 모든 서비스와 추가된 실행 수준 나열: + +`rc-update show` + +- 서비스를 실행 수준에 추가: + +`sudo rc-update add {{서비스_이름}} {{실행_수준}}` + +- 실행 수준에서 서비스 제거: + +`sudo rc-update delete {{서비스_이름}} {{실행_수준}}` + +- 모든 실행 수준에서 서비스 제거: + +`sudo rc-update --all delete {{서비스_이름}}` diff --git a/pages.ko/linux/rcp.md b/pages.ko/linux/rcp.md new file mode 100644 index 00000000000000..facf622ab36c65 --- /dev/null +++ b/pages.ko/linux/rcp.md @@ -0,0 +1,21 @@ +# rcp + +> 로컬 및 원격 시스템 간에 파일을 복사합니다. +> `cp` 명령의 동작을 모방하지만, 다른 기기 간에 작동합니다. +> 더 많은 정보: . + +- 파일을 원격 호스트로 복사: + +`rcp {{경로/대상/로컬_파일}} {{사용자명}}@{{원격_호스트}}:{{/경로/대상/목적지/}}` + +- 디렉토리를 재귀적으로 복사: + +`rcp {{[-r|--recursive]}} {{경로/대상/로컬_폴더}} {{사용자명}}@{{원격_호스트}}:{{/경로/대상/목적지/}}` + +- 파일 속성 보존: + +`rcp {{[-p|--preserve]}} {{경로/대상/로컬_파일}} {{사용자명}}@{{원격_호스트}}:{{/경로/대상/목적지/}}` + +- 확인 없이 강제로 복사: + +`rcp {{[-f|--from]}} {{경로/대상/로컬_파일}} {{사용자명}}@{{원격_호스트}}:{{/경로/대상/목적지/}}` diff --git a/pages.ko/linux/rdesktop.md b/pages.ko/linux/rdesktop.md new file mode 100644 index 00000000000000..f67788b2b183e8 --- /dev/null +++ b/pages.ko/linux/rdesktop.md @@ -0,0 +1,29 @@ +# rdesktop + +> 원격 데스크톱 프로토콜 클라이언트. +> RDP 프로토콜을 사용하여 원격 컴퓨터에 연결할 수 있습니다. +> 더 많은 정보: . + +- 원격 컴퓨터에 연결 (기본 포트는 3389): + +`rdesktop -u {{사용자명}} -p {{비밀번호}} {{호스트:포트}}` + +- 간단한 예시: + +`rdesktop -u Administrator -p passwd123 192.168.1.111:3389` + +- 전체 화면으로 원격 컴퓨터에 연결 (종료하려면 ``): + +`rdesktop -u {{사용자명}} -p {{비밀번호}} -f {{호스트:포트}}` + +- 사용자 지정 해상도 사용 ('x' 문자를 숫자 사이에 사용): + +`rdesktop -u {{사용자명}} -p {{비밀번호}} -g 1366x768 {{호스트:포트}}` + +- 도메인 사용자를 사용하여 원격 컴퓨터에 연결: + +`rdesktop -u {{사용자명}} -p {{비밀번호}} -d {{도메인명}} {{호스트:포트}}` + +- 16비트 색상 사용 (속도 향상): + +`rdesktop -u {{사용자명}} -p {{비밀번호}} -a 16 {{호스트:포트}}` diff --git a/pages.ko/linux/readelf.md b/pages.ko/linux/readelf.md new file mode 100644 index 00000000000000..91e8b57dee1209 --- /dev/null +++ b/pages.ko/linux/readelf.md @@ -0,0 +1,24 @@ +# readelf + +> ELF 파일에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- ELF 파일의 모든 정보 표시: + +`readelf -all {{경로/대상/바이너리}}` + +- ELF 파일에 포함된 모든 헤더 표시: + +`readelf --headers {{경로/대상/바이너리}}` + +- ELF 파일의 심볼 테이블 섹션에 있는 항목 표시(존재하는 경우): + +`readelf --symbols {{경로/대상/바이너리}}` + +- ELF 헤더 정보 표시: + +`readelf --file-header {{경로/대상/바이너리}}` + +- ELF 섹션 헤더 정보 표시: + +`readelf --section-headers {{경로/대상/바이너리}}` diff --git a/pages.ko/linux/readpe.md b/pages.ko/linux/readpe.md new file mode 100644 index 00000000000000..1918281fc9ef57 --- /dev/null +++ b/pages.ko/linux/readpe.md @@ -0,0 +1,28 @@ +# readpe + +> PE 파일에 대한 정보 표시. +> 더 많은 정보: . + +- PE 파일에 대한 모든 정보 표시: + +`readpe {{경로/대상/실행파일}}` + +- PE 파일에 존재하는 모든 헤더 표시: + +`readpe --all-headers {{경로/대상/실행파일}}` + +- PE 파일에 존재하는 모든 섹션 표시: + +`readpe --all-sections {{경로/대상/실행파일}}` + +- PE 파일에서 특정 헤더 표시: + +`readpe --header {{dos|coff|optional}} {{경로/대상/실행파일}}` + +- 가져온 모든 함수 나열: + +`readpe --imports {{경로/대상/실행파일}}` + +- 내보낸 모든 함수 나열: + +`readpe --exports {{경로/대상/실행파일}}` diff --git a/pages.ko/linux/reboot.md b/pages.ko/linux/reboot.md new file mode 100644 index 00000000000000..4bc1aff3864c28 --- /dev/null +++ b/pages.ko/linux/reboot.md @@ -0,0 +1,24 @@ +# reboot + +> 시스템을 재부팅합니다. +> 더 많은 정보: . + +- 시스템 재부팅: + +`reboot` + +- 시스템 전원 끄기 (`poweroff`와 동일): + +`reboot {{[-p|--poweroff]}}` + +- 시스템 중지 (모든 프로세스를 종료하고 CPU를 셧다운) (`halt`와 동일): + +`reboot --halt` + +- 시스템 관리자를 거치지 않고 즉시 재부팅: + +`reboot {{[-f|--force]}}` + +- 시스템을 재부팅하지 않고 wtmp 종료 항목 기록: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.ko/linux/reflector.md b/pages.ko/linux/reflector.md new file mode 100644 index 00000000000000..ba2022a76a8b81 --- /dev/null +++ b/pages.ko/linux/reflector.md @@ -0,0 +1,16 @@ +# reflector + +> Arch 스크립트로 미러리스트를 가져오고 정렬합니다. +> 더 많은 정보: . + +- 모든 미러를 가져와 다운로드 속도로 정렬하고 저장: + +`sudo reflector --sort {{rate}} --save {{/etc/pacman.d/mirrorlist}}` + +- 독일의 HTTPS 미러만 가져오기: + +`reflector --country {{Germany}} --protocol {{https}}` + +- 최근에 동기화된 10개의 미러만 가져오기: + +`reflector --latest {{10}}` diff --git a/pages.ko/linux/register_new_matrix_user.md b/pages.ko/linux/register_new_matrix_user.md new file mode 100644 index 00000000000000..7cb769223c9e4e --- /dev/null +++ b/pages.ko/linux/register_new_matrix_user.md @@ -0,0 +1,16 @@ +# register_new_matrix_user + +> 등록이 비활성화된 상태에서 홈 서버에 새 사용자 등록. +> 더 많은 정보: . + +- 대화형으로 사용자 생성: + +`register_new_matrix_user --config {{경로/대상/홈서버.yaml}}` + +- 대화형으로 관리자 사용자 생성: + +`register_new_matrix_user --config {{경로/대상/홈서버.yaml}} --admin` + +- 비대화형으로 관리자 사용자 생성(권장하지 않음): + +`register_new_matrix_user --config {{경로/대상/홈서버.yaml}} --user {{사용자명}} --password {{비밀번호}} --admin` diff --git a/pages.ko/linux/renice.md b/pages.ko/linux/renice.md new file mode 100644 index 00000000000000..9e420c8a149be3 --- /dev/null +++ b/pages.ko/linux/renice.md @@ -0,0 +1,18 @@ +# renice + +> 실행 중인 프로세스의 스케줄링 우선순위/니스값을 변경합니다. +> 니스값은 -20(프로세스에 가장 유리)부터 19(프로세스에 가장 불리)까지의 범위를 가집니다. +> 같이 보기: `nice`. +> 더 많은 정보: . + +- 실행 중인 [p]프로세스의 절대 우선순위 설정: + +`renice {{+3}} -p {{pid}}` + +- 특정 [u]사용자가 소유한 모든 프로세스의 우선순위 증가/감소: + +`renice --relative {{-4}} -u {{uid|사용자}}` + +- 프로세스 [g]그룹에 속한 모든 프로세스의 우선순위 설정: + +`renice --absolute {{5}} -g {{프로세스_그룹}}` diff --git a/pages.ko/linux/repo-add.md b/pages.ko/linux/repo-add.md new file mode 100644 index 00000000000000..9bb95d4a3476d3 --- /dev/null +++ b/pages.ko/linux/repo-add.md @@ -0,0 +1,20 @@ +# repo-add + +> Pacman을 통해 해당 패키지의 설치를 가능하게 하는 패키지 데이터베이스 유지 관리 유틸리티. +> 더 많은 정보: . + +- 빈 저장소 생성: + +`repo-add {{경로/대상/데이터베이스.db.tar.gz}}` + +- 현재 디렉토리의 모든 패키지 바이너리를 추가하고 기존 데이터베이스 파일 제거: + +`repo-add {{[-R|--remove]}} {{경로/대상/데이터베이스.db.tar.gz}} {{*.pkg.tar.zst}}` + +- 경고 및 오류 메시지를 제외하고 조용한 모드로 현재 디렉토리의 모든 패키지 바이너리 추가: + +`repo-add {{[-q|--quiet]}} {{경로/대상/데이터베이스.db.tar.gz}} {{*.pkg.tar.zst}}` + +- 색상을 표시하지 않고 현재 디렉토리의 모든 패키지 바이너리 추가: + +`repo-add --nocolor {{경로/대상/데이터베이스.db.tar.gz}} {{*.pkg.tar.zst}}` diff --git a/pages.ko/linux/repo-remove.md b/pages.ko/linux/repo-remove.md new file mode 100644 index 00000000000000..563aa296ebc157 --- /dev/null +++ b/pages.ko/linux/repo-remove.md @@ -0,0 +1,8 @@ +# repo-remove + +> 로컬 저장소에서 패키지를 제거하는 패키지 데이터베이스 유지 관리 도구. +> 더 많은 정보: . + +- 로컬 저장소에서 패키지 제거: + +`repo-remove {{경로/대상/데이터베이스.db.tar.gz}} {{패키지}}` diff --git a/pages.ko/linux/reportbug.md b/pages.ko/linux/reportbug.md new file mode 100644 index 00000000000000..745ff71c52b9aa --- /dev/null +++ b/pages.ko/linux/reportbug.md @@ -0,0 +1,16 @@ +# reportbug + +> Debian 배포판의 버그 보고 도구. +> 더 많은 정보: . + +- 특정 패키지에 대한 버그 보고서를 작성하고 이메일로 전송: + +`reportbug {{패키지}}` + +- 특정 패키지와 관련 없는 버그(일반 문제, 인프라 등) 보고: + +`reportbug other` + +- 버그 보고서를 이메일로 보내지 않고 파일에 작성: + +`reportbug -o {{파일명}} {{패키지}}` diff --git a/pages.ko/linux/repquota.md b/pages.ko/linux/repquota.md new file mode 100644 index 00000000000000..5d32e6a7153482 --- /dev/null +++ b/pages.ko/linux/repquota.md @@ -0,0 +1,28 @@ +# repquota + +> 파일 시스템의 기존 파일 쿼터 요약 정보를 표시합니다. +> 더 많은 정보: . + +- 사용 중인 모든 쿼터의 통계 보고: + +`sudo repquota -all` + +- 할당량을 사용하지 않는 사용자도 포함하여 모든 사용자의 쿼터 통계 보고: + +`sudo repquota -v {{파일시스템}}` + +- 사용자에 대한 쿼터 보고: + +`repquota --user {{파일시스템}}` + +- 그룹에 대한 쿼터 보고: + +`sudo repquota --group {{파일시스템}}` + +- 사람이 읽기 쉬운 형식으로 사용된 쿼터 및 제한 보고: + +`sudo repquota --human-readable {{파일시스템}}` + +- 사람이 읽기 쉬운 형식으로 사용자 및 그룹의 모든 쿼터 보고: + +`sudo repquota -augs` diff --git a/pages.ko/linux/reptyr.md b/pages.ko/linux/reptyr.md new file mode 100644 index 00000000000000..427d0129d41247 --- /dev/null +++ b/pages.ko/linux/reptyr.md @@ -0,0 +1,9 @@ +# reptyr + +> 실행 중인 프로세스를 새로운 터미널로 이동. +> `screen`에서 오래 실행되는 작업을 시작하는 것을 잊었을 때 가장 유용. +> 더 많은 정보: . + +- 실행 중인 프로세스를 현재 터미널로 이동: + +`reptyr {{프로세스_ID}}` diff --git a/pages.ko/linux/reset.md b/pages.ko/linux/reset.md new file mode 100644 index 00000000000000..c1fe97ef8ae7ac --- /dev/null +++ b/pages.ko/linux/reset.md @@ -0,0 +1,12 @@ +# reset + +> 현재 터미널을 초기화합니다. 터미널 화면 전체를 지웁니다. +> 더 많은 정보: . + +- 현재 터미널 초기화: + +`reset` + +- 대신 터미널 유형 표시: + +`reset -q` diff --git a/pages.ko/linux/resize2fs.md b/pages.ko/linux/resize2fs.md new file mode 100644 index 00000000000000..7d150f78e766c5 --- /dev/null +++ b/pages.ko/linux/resize2fs.md @@ -0,0 +1,17 @@ +# resize2fs + +> ext2, ext3 또는 ext4 파일 시스템 크기 조정. +> 기본 파티션 크기를 조정하지 않습니다. 파일 시스템을 먼저 마운트 해제해야 할 수도 있으며, 자세한 내용은 man 페이지를 참조하세요. +> 더 많은 정보: . + +- 파일 시스템을 자동으로 크기 조정: + +`resize2fs {{/dev/sdXN}}` + +- 진행 표시줄을 표시하며 파일 시스템을 40G 크기로 조정: + +`resize2fs -p {{/dev/sdXN}} {{40G}}` + +- 파일 시스템을 가능한 최소 크기로 축소: + +`resize2fs -M {{/dev/sdXN}}` diff --git a/pages.ko/linux/resolvectl.md b/pages.ko/linux/resolvectl.md new file mode 100644 index 00000000000000..910034a5e083a1 --- /dev/null +++ b/pages.ko/linux/resolvectl.md @@ -0,0 +1,37 @@ +# resolvectl + +> 도메인 이름, IPv4 및 IPv6 주소, DNS 리소스 레코드 및 서비스를 해석. +> DNS 해석기를 검사하고 재구성. +> 더 많은 정보: . + +- DNS 설정 표시: + +`resolvectl status` + +- 하나 이상의 도메인에 대한 IPv4 및 IPv6 주소 해석: + +`resolvectl query {{도메인1 도메인2 ...}}` + +- 지정한 IP 주소의 도메인 검색: + +`resolvectl query {{IP_주소}}` + +- 모든 로컬 DNS 캐시 플러시: + +`resolvectl flush-caches` + +- DNS 통계(트랜잭션, 캐시 및 DNSSEC 판결) 표시: + +`resolvectl statistics` + +- 도메인의 MX 레코드 검색: + +`resolvectl --legend={{no}} --type={{MX}} query {{도메인}}` + +- 예를 들어 _xmpp-server._tcp gmail.com와 같은 SRV 레코드 해석: + +`resolvectl service _{{서비스}}._{{프로토콜}} {{이름}}` + +- TLS 키 검색: + +`resolvectl tlsa tcp {{도메인}}:443` diff --git a/pages.ko/linux/resolveip.md b/pages.ko/linux/resolveip.md new file mode 100644 index 00000000000000..61d0bc907d340d --- /dev/null +++ b/pages.ko/linux/resolveip.md @@ -0,0 +1,16 @@ +# resolveip + +> 호스트명을 IP 주소로, IP 주소를 호스트명으로 변환. +> 더 많은 정보: . + +- 호스트명을 IP 주소로 변환: + +`resolveip {{example.org}}` + +- IP 주소를 호스트명으로 변환: + +`resolveip {{1.1.1.1}}` + +- 조용한 모드. 출력량을 줄임: + +`resolveip --silent {{example.org}}` diff --git a/pages.ko/linux/restorecon.md b/pages.ko/linux/restorecon.md new file mode 100644 index 00000000000000..80904d185ee07d --- /dev/null +++ b/pages.ko/linux/restorecon.md @@ -0,0 +1,25 @@ +# restorecon + +> SELinux 보안 컨텍스트를 파일/디렉토리의 지속적인 규칙에 따라 복원. +> 같이 보기: `semanage-fcontext`. +> 더 많은 정보: . + +- 파일 또는 디렉토리의 현재 보안 컨텍스트 보기: + +`ls -dlZ {{경로/대상/파일_또는_폴더}}` + +- 파일 또는 디렉토리의 보안 컨텍스트 복원: + +`restorecon {{경로/대상/파일_또는_폴더}}` + +- 디렉토리의 보안 컨텍스트를 재귀적으로 복원하고 변경된 레이블 모두 표시: + +`restorecon -R -v {{경로/대상/폴더}}` + +- 디렉토리의 보안 컨텍스트를 재귀적으로 복원하며, 모든 사용 가능한 스레드를 이용하고 진행 상황 표시: + +`restorecon -R -T {{0}} -p {{경로/대상/폴더}}` + +- 적용하지 않고 변경될 레이블 미리 보기: + +`restorecon -R -n -v {{경로/대상/폴더}}` diff --git a/pages.ko/linux/retroarch.md b/pages.ko/linux/retroarch.md new file mode 100644 index 00000000000000..7407fee9a7d11c --- /dev/null +++ b/pages.ko/linux/retroarch.md @@ -0,0 +1,29 @@ +# retroarch + +> 에뮬레이터, 게임 엔진 및 미디어 플레이어를 위한 프론트엔드. +> libretro API의 참조 구현. +> 더 많은 정보: . + +- 메뉴 모드로 시작: + +`retroarch` + +- 전체 화면 모드로 시작: + +`retroarch --fullscreen` + +- 컴파일된 모든 기능 나열: + +`retroarch --features` + +- 설정 파일의 경로 설정: + +`retroarch --config={{경로/대상/설정_파일}}` + +- 도움말 표시: + +`retroarch --help` + +- 버전 표시: + +`retroarch --version` diff --git a/pages.ko/linux/rev.md b/pages.ko/linux/rev.md new file mode 100644 index 00000000000000..b3990a10edde67 --- /dev/null +++ b/pages.ko/linux/rev.md @@ -0,0 +1,28 @@ +# rev + +> 텍스트 라인이나 파일을 뒤집습니다. +> 더 많은 정보: . + +- 터미널에 입력한 텍스트 뒤집기: + +`rev` + +- 문자열 "hello" 뒤집기: + +`echo "hello" | rev` + +- 전체 파일을 뒤집어 `stdout`에 출력: + +`rev {{경로/대상/파일}}` + +- 줄 구분자로 '\0'을 사용 (제로 종료): + +`rev {{[-0|--zero]}} {{경로/대상/파일}}` + +- 도움말 표시: + +`rev {{[-h|--help]}}` + +- 버전 표시: + +`rev {{[-V|--version]}}` diff --git a/pages.ko/linux/rexec.md b/pages.ko/linux/rexec.md new file mode 100644 index 00000000000000..d09e5a81e3525a --- /dev/null +++ b/pages.ko/linux/rexec.md @@ -0,0 +1,21 @@ +# rexec + +> 원격 호스트에서 명령을 실행합니다. +> 참고: `rexec`는 데이터를 일반 텍스트로 전송하므로 주의해서 사용하세요. 암호화된 통신을 위해 SSH와 같은 보안 대안을 고려하세요. +> 더 많은 정보: . + +- 원격 [h]호스트에서 명령 실행: + +`rexec {{[-h|--host]}} {{원격_호스트}} {{ls -l}}` + +- 원격 [h]호스트에서 원격 [u]사용자명을 지정: + +`rexec {{[-u|--username]}} {{사용자명}} {{[-h|--host]}} {{원격_호스트}} {{ps aux}}` + +- 원격 [h]호스트에서 `stdin`을 `/dev/null`로 리디렉션: + +`rexec {{[-n|--noerr]}} {{[-h|--host]}} {{원격_호스트}} {{ls -l}}` + +- 원격 [h]호스트에서 원격 [P]포트를 지정: + +`rexec {{[-P|--port]}} {{1234}} {{[-h|--host]}} {{원격_호스트}} {{ls -l}}` diff --git a/pages.ko/linux/rfkill.md b/pages.ko/linux/rfkill.md new file mode 100644 index 00000000000000..ecab63ec7a8e0f --- /dev/null +++ b/pages.ko/linux/rfkill.md @@ -0,0 +1,24 @@ +# rfkill + +> 무선 장치를 활성화하거나 비활성화합니다. +> 더 많은 정보: . + +- 장치 나열: + +`rfkill` + +- 열로 필터링: + +`rfkill -o {{ID,TYPE,DEVICE}}` + +- 유형별로 장치 차단 (예: bluetooth, wlan): + +`rfkill block {{bluetooth}}` + +- 유형별로 장치 차단 해제 (예: bluetooth, wlan): + +`rfkill unblock {{wlan}}` + +- JSON 형식으로 출력: + +`rfkill -J` diff --git a/pages.ko/linux/rig.md b/pages.ko/linux/rig.md new file mode 100644 index 00000000000000..b8cb3f72c92c72 --- /dev/null +++ b/pages.ko/linux/rig.md @@ -0,0 +1,24 @@ +# rig + +> 임의의 이름과 성, 거리 번호와 주소를 생성하는 도구로, 지리적으로 일관된 도시, 주, 우편번호 및 지역번호를 함께 제공합니다. +> 더 많은 정보: . + +- 무작위 이름(남성 또는 여성)과 주소 표시: + +`rig` + +- [m]남성 (또는 [f]여성) 무작위 이름과 주소 표시: + +`rig -{{m|f}}` + +- 특정 [d]디렉터리의 데이터 파일 사용 (기본값은 `/usr/share/rig`): + +`rig -d {{경로/대상/폴더}}` + +- 특정 수의 신원 정보 표시: + +`rig -c {{숫자}}` + +- 특정 수의 여성 신원 정보 표시: + +`rig -f -c {{숫자}}` diff --git a/pages.ko/linux/ripmime.md b/pages.ko/linux/ripmime.md new file mode 100644 index 00000000000000..86cd1da256f823 --- /dev/null +++ b/pages.ko/linux/ripmime.md @@ -0,0 +1,20 @@ +# ripmime + +> MIME 인코딩된 이메일 패키지에서 첨부 파일 추출. +> 더 많은 정보: . + +- 현재 디렉토리에 파일 내용 추출: + +`ripmime -i {{경로/대상/파일}}` + +- 특정 디렉토리에 파일 내용 추출: + +`ripmime -i {{경로/대상/파일}} -d {{경로/대상/폴더}}` + +- 파일 내용을 추출하고 자세한 출력 표시: + +`ripmime -i {{경로/대상/파일}} -v` + +- 전체 디코딩 과정에 대한 자세한 정보 얻기: + +`ripmime -i {{경로/대상/파일}} --debug` diff --git a/pages.ko/linux/rkhunter.md b/pages.ko/linux/rkhunter.md new file mode 100644 index 00000000000000..7268c22471d142 --- /dev/null +++ b/pages.ko/linux/rkhunter.md @@ -0,0 +1,24 @@ +# rkhunter + +> 루트킷 및 악성코드를 검색합니다. +> 더 많은 정보: . + +- 시스템에서 루트킷 및 악성코드 검사: + +`sudo rkhunter --check` + +- rkhunter 업데이트: + +`sudo rkhunter --update` + +- 사용 가능한 모든 테스트 출력: + +`sudo rkhunter --list` + +- 버전 표시: + +`sudo rkhunter --versioncheck` + +- 도움말 표시: + +`sudo rkhunter --help` diff --git a/pages.ko/linux/rlogin.md b/pages.ko/linux/rlogin.md new file mode 100644 index 00000000000000..dfc654ef822180 --- /dev/null +++ b/pages.ko/linux/rlogin.md @@ -0,0 +1,12 @@ +# rlogin + +> 원격 호스트에 로그인합니다. +> 더 많은 정보: . + +- 원격 호스트에 로그인: + +`rlogin {{원격_호스트}}` + +- 특정 사용자명으로 원격 호스트에 로그인: + +`rlogin {{[-l|--user]}} {{사용자명}} {{원격_호스트}}` diff --git a/pages.ko/linux/rmmod.md b/pages.ko/linux/rmmod.md new file mode 100644 index 00000000000000..6e733fbdc08d2a --- /dev/null +++ b/pages.ko/linux/rmmod.md @@ -0,0 +1,24 @@ +# rmmod + +> Linux 커널에서 모듈을 제거합니다. +> 더 많은 정보: . + +- 커널에서 모듈 제거: + +`sudo rmmod {{모듈_이름}}` + +- 커널에서 모듈을 제거하고 자세한 정보 표시: + +`sudo rmmod --verbose {{모듈_이름}}` + +- 커널에서 모듈을 제거하고 오류를 `stderr` 대신 syslog로 전송: + +`sudo rmmod --syslog {{모듈_이름}}` + +- 도움말 표시: + +`rmmod --help` + +- 버전 표시: + +`rmmod --version` diff --git a/pages.ko/linux/rofi.md b/pages.ko/linux/rofi.md new file mode 100644 index 00000000000000..628acdc5819498 --- /dev/null +++ b/pages.ko/linux/rofi.md @@ -0,0 +1,20 @@ +# rofi + +> 애플리케이션 실행기 및 창 전환기. +> 더 많은 정보: . + +- 앱 목록 표시: + +`rofi -show drun` + +- 모든 명령 목록 표시: + +`rofi -show run` + +- 창 간 전환: + +`rofi -show window` + +- 항목 목록을 `stdin`으로 전달하고 선택한 항목을 `stdout`으로 출력: + +`printf "{{선택1\n선택2\n선택3}}" | rofi -dmenu` diff --git a/pages.ko/linux/rolldice.md b/pages.ko/linux/rolldice.md new file mode 100644 index 00000000000000..2b725b8af09bb9 --- /dev/null +++ b/pages.ko/linux/rolldice.md @@ -0,0 +1,20 @@ +# rolldice + +> 가상 주사위를 굴립니다. +> 더 많은 정보: . + +- 20면체 주사위 하나 굴리기: + +`rolldice d{{20}}` + +- 6면체 주사위 두 개를 굴리고 낮은 값 제외: + +`rolldice {{2}}d{{6}}s{{1}}` + +- 20면체 주사위 두 개를 굴리고 수정자 값 추가: + +`rolldice {{2}}d{{20}}{{+5}}` + +- 20면체 주사위를 두 번 굴리기: + +`rolldice {{2}}xd{{20}}` diff --git a/pages.ko/linux/rpcclient.md b/pages.ko/linux/rpcclient.md new file mode 100644 index 00000000000000..6d33c58630d147 --- /dev/null +++ b/pages.ko/linux/rpcclient.md @@ -0,0 +1,36 @@ +# rpcclient + +> MS-RPC 클라이언트 도구 (samba 모음의 일부). +> 더 많은 정보: . + +- 원격 호스트에 연결: + +`rpcclient --user {{도메인}}\{{사용자명}}%{{비밀번호}} {{IP}}` + +- 비밀번호 없이 도메인에 있는 원격 호스트에 연결: + +`rpcclient --user {{사용자명}} --workgroup {{도메인}} --no-pass {{IP}}` + +- 비밀번호 해시를 전달하여 원격 호스트에 연결: + +`rpcclient --user {{도메인}}\{{사용자명}} --pw-nt-hash {{IP}}` + +- 원격 호스트에서 셸 명령 실행: + +`rpcclient --user {{도메인}}\{{사용자명}}%{{비밀번호}} --command {{세미콜론_구분_명령들}} {{IP}}` + +- 도메인 사용자 표시: + +`rpcclient $> enumdomusers` + +- 권한 표시: + +`rpcclient $> enumprivs` + +- 특정 사용자에 대한 정보 표시: + +`rpcclient $> queryuser {{사용자명|RID}}` + +- 도메인에 새 사용자 생성: + +`rpcclient $> createdomuser {{사용자명}}` diff --git a/pages.ko/linux/rpcinfo.md b/pages.ko/linux/rpcinfo.md new file mode 100644 index 00000000000000..4c5d16b8002fa1 --- /dev/null +++ b/pages.ko/linux/rpcinfo.md @@ -0,0 +1,24 @@ +# rpcinfo + +> RPC 서버에 RPC 호출을 수행하고 결과를 보고합니다. +> 더 많은 정보: . + +- localhost에 등록된 모든 RPC 서비스의 전체 테이블 표시: + +`rpcinfo` + +- localhost에 등록된 모든 RPC 서비스의 간결한 테이블 표시: + +`rpcinfo -s {{localhost}}` + +- localhost에서 rpcbind 작업의 통계 테이블 표시: + +`rpcinfo -m` + +- 원격 NFS 공유에서 주어진 서비스 이름(mountd)과 버전 번호(2)의 항목 목록 표시: + +`rpcinfo -l {{원격_NFS_서버_IP}} {{mountd}} {{2}}` + +- 모든 전송 방식에 대해 mountd 서비스의 버전 1 등록 삭제: + +`rpcinfo -d {{mountd}} {{1}}` diff --git a/pages.ko/linux/rpi-eeprom-update.md b/pages.ko/linux/rpi-eeprom-update.md new file mode 100644 index 00000000000000..dd42d0dd120bc1 --- /dev/null +++ b/pages.ko/linux/rpi-eeprom-update.md @@ -0,0 +1,20 @@ +# rpi-eeprom-update + +> EEPROM을 업데이트하고 다른 EEPROM 정보를 확인합니다. +> 더 많은 정보: . + +- 현재 설치된 라즈베리 파이 EEPROM 정보 출력: + +`sudo rpi-eeprom-update` + +- 라즈베리 파이 EEPROM 업데이트: + +`sudo rpi-eeprom-update -a` + +- 보류 중인 업데이트 취소: + +`sudo rpi-eeprom-update -r` + +- 도움말 표시: + +`rpi-eeprom-update -h` diff --git a/pages.ko/linux/rpi-otp-private-key.md b/pages.ko/linux/rpi-otp-private-key.md new file mode 100644 index 00000000000000..11ebf7585e8c75 --- /dev/null +++ b/pages.ko/linux/rpi-otp-private-key.md @@ -0,0 +1,8 @@ +# rpi-otp-private-key + +> Raspberry Pi의 일회성 프로그래머블(OTP) 개인 키 표시. +> 더 많은 정보: . + +- OTP 개인 키 읽기: + +`rpi-otp-private-key` diff --git a/pages.ko/linux/rpicam-hello.md b/pages.ko/linux/rpicam-hello.md new file mode 100644 index 00000000000000..42a34e28308734 --- /dev/null +++ b/pages.ko/linux/rpicam-hello.md @@ -0,0 +1,12 @@ +# rpicam-hello + +> Raspberry Pi 카메라를 사용하여 실시간 카메라 스트림 보기. +> 더 많은 정보: . + +- 특정 시간(밀리초) 동안 카메라 미리보기 스트림 표시: + +`rpicam-hello -t {{시간}}` + +- 특정 카메라 센서를 위한 설정 조정: + +`rpicam-hello --tuning-file {{/usr/share/libcamera/ipa/rpi/경로/대상/config.json}}` diff --git a/pages.ko/linux/rpicam-jpeg.md b/pages.ko/linux/rpicam-jpeg.md new file mode 100644 index 00000000000000..8c8017bc703a9c --- /dev/null +++ b/pages.ko/linux/rpicam-jpeg.md @@ -0,0 +1,16 @@ +# rpicam-jpeg + +> Raspberry Pi 카메라를 사용하여 JPEG 이미지를 캡처하고 저장. +> 더 많은 정보: . + +- 이미지를 캡처하고 파일명 지정: + +`rpicam-jpeg -o {{경로/대상/파일.jpg}}` + +- 설정된 크기로 이미지 캡처: + +`rpicam-jpeg -o {{경로/대상/파일.jpg}} --width {{1920}} --height {{1080}}` + +- 20초의 노출과 150%의 게인으로 이미지 캡처: + +`rpicam-jpeg -o {{경로/대상/파일.jpg}} --shutter 20000 --gain 1.5` diff --git a/pages.ko/linux/rpicam-raw.md b/pages.ko/linux/rpicam-raw.md new file mode 100644 index 00000000000000..241d5f8de7c1e7 --- /dev/null +++ b/pages.ko/linux/rpicam-raw.md @@ -0,0 +1,12 @@ +# rpicam-raw + +> Raspberry Pi 카메라에서 raw 비디오를 캡처합니다. +> 더 많은 정보: . + +- 특정 초 동안 비디오 캡처: + +`rpicam-raw -t {{2000}} -o {{경로/대상/파일.raw}}` + +- 비디오 크기 및 프레임 속도 변경: + +`rpicam-raw -t {{5000}} --width {{4056}} --height {{3040}} -o {{경로/대상/파일.raw}} --framerate {{8}}` diff --git a/pages.ko/linux/rpicam-still.md b/pages.ko/linux/rpicam-still.md new file mode 100644 index 00000000000000..5fbb389c04b6f3 --- /dev/null +++ b/pages.ko/linux/rpicam-still.md @@ -0,0 +1,16 @@ +# rpicam-still + +> Raspberry Pi 카메라를 사용하여 사진을 촬영하고 저장하며, `rpicam-jpeg`에서 누락된 레거시 기능을 포함합니다. +> 더 많은 정보: . + +- 다른 인코딩 방식으로 사진 촬영: + +`rpicam-still -e {{bmp|png|rgb|yuv420}} -o {{경로/대상/파일.{{bmp|png|rgb|yuv420}}}}` + +- RAW 이미지 촬영: + +`rpicam-still -r -o {{경로/대상/파일.jpg}}` + +- 100초 노출 이미지 촬영: + +`rpicam-still -o {{경로/대상/파일.jpg}} --shutter 100000` diff --git a/pages.ko/linux/rpicam-vid.md b/pages.ko/linux/rpicam-vid.md new file mode 100644 index 00000000000000..d85bfbdc38ee49 --- /dev/null +++ b/pages.ko/linux/rpicam-vid.md @@ -0,0 +1,9 @@ +# rpicam-vid + +> Raspberry Pi 카메라를 사용하여 비디오를 촬영합니다. +> 같이 보기: `vlc`. +> 더 많은 정보: . + +- 10초 비디오 촬영: + +`rpicam-vid -t 10000 -o {{경로/대상/파일.h264}}` diff --git a/pages.ko/linux/rpm-ostree.md b/pages.ko/linux/rpm-ostree.md new file mode 100644 index 00000000000000..130c167b172444 --- /dev/null +++ b/pages.ko/linux/rpm-ostree.md @@ -0,0 +1,25 @@ +# rpm-ostree + +> 하이브리드 이미지/패키지 시스템. +> ostree 배포, 패키지 레이어, 파일시스템 오버레이 및 부트 구성을 관리합니다. +> 더 많은 정보: . + +- 부트로더에 나타날 순서대로 rpm-ostree 배포 표시: + +`rpm-ostree status` + +- 업데이트할 수 있는 오래된 패키지 표시: + +`rpm-ostree upgrade --preview` + +- 패키지를 업그레이드하고 새로운 ostree 배포 준비 후 재부팅: + +`rpm-ostree upgrade --reboot` + +- 이전 ostree 배포로 재부팅: + +`rpm-ostree rollback --reboot` + +- 새 ostree 배포에 패키지를 설치하고 그곳으로 재부팅: + +`rpm-ostree install {{패키지}} --reboot` diff --git a/pages.ko/linux/rpm.md b/pages.ko/linux/rpm.md new file mode 100644 index 00000000000000..f5eab3e4ee81bb --- /dev/null +++ b/pages.ko/linux/rpm.md @@ -0,0 +1,37 @@ +# rpm + +> RPM 패키지 관리 도구. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- httpd 패키지의 버전 표시: + +`rpm --query {{httpd}}` + +- 모든 일치하는 패키지의 버전 나열: + +`rpm --query --all '{{mariadb*}}'` + +- 현재 설치된 버전에 상관없이 강제로 패키지 설치: + +`rpm --upgrade {{경로/대상/패키지.rpm}} --force` + +- 파일의 소유자를 식별하고 패키지 버전 표시: + +`rpm --query --file {{/etc/postfix/main.cf}}` + +- 패키지가 소유한 파일 나열: + +`rpm --query --list {{kernel}}` + +- RPM 파일의 스크립트릿 표시: + +`rpm --query --package --scripts {{패키지.rpm}}` + +- 일치하는 패키지의 변경되었거나 누락되었거나 잘못 설치된 파일 표시: + +`rpm --verify --all '{{php-*}}'` + +- 특정 패키지의 변경 로그 표시: + +`rpm --query --changelog {{패키지}}` diff --git a/pages.ko/linux/rpm2cpio.md b/pages.ko/linux/rpm2cpio.md new file mode 100644 index 00000000000000..20a49f4b6943e8 --- /dev/null +++ b/pages.ko/linux/rpm2cpio.md @@ -0,0 +1,8 @@ +# rpm2cpio + +> RPM 패키지를 `cpio` 아카이브로 변환. +> 더 많은 정보: . + +- RPM 패키지를 `cpio` 아카이브로 변환하고 현재 디렉토리에 `파일.cpio`로 저장: + +`rpm2cpio {{경로/대상/파일.rpm}}` diff --git a/pages.ko/linux/rpmbuild.md b/pages.ko/linux/rpmbuild.md new file mode 100644 index 00000000000000..75675f35eeb32c --- /dev/null +++ b/pages.ko/linux/rpmbuild.md @@ -0,0 +1,16 @@ +# rpmbuild + +> RPM 패키지 빌드 도구. +> 더 많은 정보: . + +- 바이너리 및 소스 패키지 빌드: + +`rpmbuild -ba {{경로/대상/spec_파일}}` + +- 소스 패키지 없이 바이너리 패키지 빌드: + +`rpmbuild -bb {{경로/대상/spec_파일}}` + +- 패키지를 빌드할 때 추가 변수 지정: + +`rpmbuild -bb {{경로/대상/spec_파일}} --define "{{변수1}} {{값1}}" --define "{{변수2}} {{값2}}"` diff --git a/pages.ko/linux/rpmconf.md b/pages.ko/linux/rpmconf.md new file mode 100644 index 00000000000000..8bef4e1038e03a --- /dev/null +++ b/pages.ko/linux/rpmconf.md @@ -0,0 +1,13 @@ +# rpmconf + +> 패키지 업그레이드 후 남겨진 RPMNEW, RPMSAVE 및 RPMORIG 파일 처리. +> 같이 보기: `rpm`. +> 더 많은 정보: . + +- 남겨진 파일을 나열하고 각 파일에 대해 수행할 작업을 인터랙티브하게 선택: + +`sudo rpmconf --all` + +- 고아가 된 RPMNEW 및 RPMSAVE 파일 삭제: + +`sudo rpmconf --all --clean` diff --git a/pages.ko/linux/rpmspec.md b/pages.ko/linux/rpmspec.md new file mode 100644 index 00000000000000..be546696feb62f --- /dev/null +++ b/pages.ko/linux/rpmspec.md @@ -0,0 +1,24 @@ +# rpmspec + +> RPM 스펙 파일을 쿼리합니다. +> 더 많은 정보: . + +- RPM 스펙 파일에서 생성될 바이너리 패키지 나열: + +`rpmspec --query {{경로/대상/rpm.spec}}` + +- `--queryformat`의 모든 옵션 나열: + +`rpmspec --querytags` + +- RPM 스펙 파일에서 생성된 단일 바이너리 패키지의 요약 정보 가져오기: + +`rpmspec --query --queryformat "{{%{name}: %{summary}\n}}" {{경로/대상/rpm.spec}}` + +- RPM 스펙 파일에서 생성될 소스 패키지 가져오기: + +`rpmspec --query --srpm {{경로/대상/rpm.spec}}` + +- RPM 스펙 파일을 `stdout`으로 파싱: + +`rpmspec --parse {{경로/대상/rpm.spec}}` diff --git a/pages.ko/linux/rsh.md b/pages.ko/linux/rsh.md new file mode 100644 index 00000000000000..3f2fa5be2e39f0 --- /dev/null +++ b/pages.ko/linux/rsh.md @@ -0,0 +1,16 @@ +# rsh + +> 원격 호스트에서 명령을 실행합니다. +> 더 많은 정보: . + +- 원격 호스트에서 명령 실행: + +`rsh {{원격_호스트}} {{ls -l}}` + +- 특정 사용자명으로 원격 호스트에서 명령 실행: + +`rsh {{원격_호스트}} {{[-l|--user]}} {{사용자명}} {{ls -l}}` + +- 원격 호스트에서 명령을 실행할 때 `stdin`을 `/dev/null`로 리다이렉트: + +`rsh {{원격_호스트}} --no-err {{ls -l}}` diff --git a/pages.ko/linux/rspamc.md b/pages.ko/linux/rspamc.md new file mode 100644 index 00000000000000..b30ea94a166183 --- /dev/null +++ b/pages.ko/linux/rspamc.md @@ -0,0 +1,20 @@ +# rspamc + +> rspamd 서버용 커맨드라인 클라이언트. +> 더 많은 정보: . + +- 베이지안 필터를 훈련시켜 이메일을 스팸으로 인식: + +`rspamc learn_spam {{경로/대상/이메일_파일}}` + +- 베이지안 필터를 훈련시켜 이메일을 정상 메일로 인식: + +`rspamc learn_ham {{경로/대상/이메일_파일}}` + +- 이메일에 대한 수동 보고서 생성: + +`rspamc symbols {{경로/대상/이메일_파일}}` + +- 서버 통계 표시: + +`rspamc stat` diff --git a/pages.ko/linux/rtcwake.md b/pages.ko/linux/rtcwake.md new file mode 100644 index 00000000000000..4a93b9b560b177 --- /dev/null +++ b/pages.ko/linux/rtcwake.md @@ -0,0 +1,28 @@ +# rtcwake + +> BIOS 시계에 상대적인 지정된 기상 시간까지 시스템을 절전 상태로 전환. +> 더 많은 정보: . + +- 알람이 설정되었는지 여부를 확인: + +`sudo rtcwake -m show -v` + +- RAM에 일시 중지하고 10초 후에 기상: + +`sudo rtcwake -m mem -s {{10}}` + +- 디스크에 일시 중지(더 높은 전력 절약)하고 15분 후에 기상: + +`sudo rtcwake -m disk --date +{{15}}min` + +- 시스템을 동결(램에 일시 중지보다 더 효율적이며 Linux 커널 버전 3.9 이상 필요)하고 지정된 날짜와 시간에 기상: + +`sudo rtcwake -m freeze --date {{YYYYMMDDhhmm}}` + +- 이전에 설정한 알람 비활성화: + +`sudo rtcwake -m disable` + +- 주어진 시간에 컴퓨터를 깨우는 드라이 런 수행. (중단하려면 ``를 누르세요): + +`sudo rtcwake -m on --date {{hh:ss}}` diff --git a/pages.ko/linux/rtorrent.md b/pages.ko/linux/rtorrent.md new file mode 100644 index 00000000000000..d01fdb238ce762 --- /dev/null +++ b/pages.ko/linux/rtorrent.md @@ -0,0 +1,20 @@ +# rtorrent + +> 토렌트 다운로드. +> 더 많은 정보: . + +- 다운로드할 토렌트 파일 또는 마그넷 추가: + +`rtorrent {{토렌트_또는_마그넷}}` + +- 다운로드 시작: + +`` + +- 다운로드 중인 토렌트에 대한 세부 정보 보기: + +`` + +- rtorrent 안전하게 종료: + +`` diff --git a/pages.ko/linux/ruget.md b/pages.ko/linux/ruget.md new file mode 100644 index 00000000000000..038f30f1b118c4 --- /dev/null +++ b/pages.ko/linux/ruget.md @@ -0,0 +1,12 @@ +# ruget + +> Rust로 작성된 wget의 대안 도구. +> 더 많은 정보: . + +- URL의 콘텐츠를 파일로 다운로드: + +`ruget {{https://example.com/file}}` + +- URL의 콘텐츠를 지정한 [o]출력 파일로 다운로드: + +`ruget --output {{파일_이름}} {{https://example.com/file}}` diff --git a/pages.ko/linux/run-mailcap.md b/pages.ko/linux/run-mailcap.md new file mode 100644 index 00000000000000..cf2c8e41256700 --- /dev/null +++ b/pages.ko/linux/run-mailcap.md @@ -0,0 +1,25 @@ +# run-mailcap + +> MailCap 프로그램 실행. +> mailcap 파일(또는 그 별칭)의 항목을 통해 프로그램을 실행하여 각 MIME 타입/파일을 주어진 작업으로 처리. +> 더 많은 정보: . + +- run-mailcap에서 작업 플래그를 사용하여 개별 작업/프로그램 실행: + +`run-mailcap --action=ACTION [--option[=value]]` + +- 간단한 사용법: + +`run-mailcap --action=ACTION {{파일명}}` + +- 추가 정보를 켜기: + +`run-mailcap --action=ACTION --debug {{파일명}}` + +- "copiousoutput" 지시문을 무시하고 출력을 `stdout`으로 전달: + +`run-mailcap --action=ACTION --nopager {{파일명}}` + +- 실제로 실행하지 않고 발견된 명령을 표시: + +`run-mailcap --action=ACTION --norun {{파일명}}` diff --git a/pages.ko/linux/run0.md b/pages.ko/linux/run0.md new file mode 100644 index 00000000000000..fd7334089fdd3c --- /dev/null +++ b/pages.ko/linux/run0.md @@ -0,0 +1,13 @@ +# run0 + +> 권한을 대화식으로 상승시킵니다. +> `sudo`와 유사하지만, SUID 바이너리가 아니며 인증은 polkit을 통해 이루어지고 명령어는 `systemd` 서비스에서 호출됩니다. +> 더 많은 정보: . + +- 명령어를 루트 사용자로 실행: + +`run0 {{명령어}}` + +- 다른 사용자 및/또는 그룹으로 명령어 실행: + +`run0 {{[-u|--user]}} {{사용자명|uid}} {{[-g|--group]}} {{그룹_이름|gid}} {{명령어}}` diff --git a/pages.ko/linux/runcon.md b/pages.ko/linux/runcon.md new file mode 100644 index 00000000000000..e8aac3328ceda1 --- /dev/null +++ b/pages.ko/linux/runcon.md @@ -0,0 +1,21 @@ +# runcon + +> 프로그램을 다른 SELinux 보안 컨텍스트에서 실행. +> 같이 보기: `secon`. +> 더 많은 정보: . + +- 현재 실행 컨텍스트의 보안 컨텍스트를 출력: + +`runcon` + +- 명령을 실행할 도메인 지정: + +`runcon {{[-t|--type]}} {{도메인}}_t {{명령어}}` + +- 명령을 실행할 컨텍스트 역할 지정: + +`runcon {{[-r|--role]}} {{역할}}_r {{명령어}}` + +- 명령을 실행할 전체 컨텍스트 지정: + +`runcon {{사용자}}_u:{{역할}}_r:{{도메인}}_t {{명령어}}` diff --git a/pages.ko/linux/runlim.md b/pages.ko/linux/runlim.md new file mode 100644 index 00000000000000..05869dbca2f118 --- /dev/null +++ b/pages.ko/linux/runlim.md @@ -0,0 +1,24 @@ +# runlim + +> Linux의 proc 파일 시스템을 사용하여 프로그램 및 자식 프로세스의 시간 및 메모리 사용량을 샘플링하고 제한합니다. +> 더 많은 정보: . + +- 명령의 시간 및 메모리 사용량 출력: + +`runlim {{명령어}} {{명령어_인자}}` + +- 통계를 `stdout` 대신 파일에 기록: + +`runlim --output-file={{경로/대상/파일}} {{명령어}} {{명령어_인자}}` + +- 상한 시간(초 단위) 제한: + +`runlim --time-limit={{숫자}} {{명령어}} {{명령어_인자}}` + +- 실시간 상한(초 단위) 제한: + +`runlim --real-time-limit={{숫자}} {{명령어}} {{명령어_인자}}` + +- 공간 상한(MB 단위) 제한: + +`runlim --space-limit={{숫자}} {{명령어}} {{명령어_인자}}` diff --git a/pages.ko/linux/runuser.md b/pages.ko/linux/runuser.md new file mode 100644 index 00000000000000..793c7911b54368 --- /dev/null +++ b/pages.ko/linux/runuser.md @@ -0,0 +1,24 @@ +# runuser + +> 사용자와 그룹으로 명령을 비밀번호 없이 실행 (루트 권한 필요). +> 더 많은 정보: . + +- 다른 사용자로 명령 실행: + +`runuser {{사용자}} -c '{{명령}}'` + +- 다른 사용자 및 그룹으로 명령 실행: + +`runuser {{사용자}} -g {{그룹}} -c '{{명령}}'` + +- 특정 사용자로 로그인 셸 시작: + +`runuser {{사용자}} -l` + +- 기본 셸 대신 특정 셸을 지정하여 실행 (로그인에도 작동): + +`runuser {{사용자}} -s {{/bin/sh}}` + +- 루트의 전체 환경을 보존 (단, `--login`이 지정되지 않은 경우에만): + +`runuser {{사용자}} --preserve-environment -c '{{명령}}'` diff --git a/pages.ko/linux/rusnapshot.md b/pages.ko/linux/rusnapshot.md new file mode 100644 index 00000000000000..78a3b3b2db7b02 --- /dev/null +++ b/pages.ko/linux/rusnapshot.md @@ -0,0 +1,28 @@ +# rusnapshot + +> Rust로 작성된 BTRFS 스냅샷 유틸리티. +> 더 많은 정보: . + +- 구성 파일을 사용하여 스냅샷 생성: + +`sudo rusnapshot --config {{경로/대상/config.toml}} --cr` + +- 생성된 스냅샷 나열: + +`sudo rusnapshot -c {{경로/대상/config.toml}} --list` + +- ID 또는 스냅샷 이름으로 스냅샷 삭제: + +`sudo rusnapshot -c {{경로/대상/config.toml}} --del --id {{스냅샷_id}}` + +- 모든 `hourly` 스냅샷 삭제: + +`sudo rusnapshot -c {{경로/대상/config.toml}} --list --keep {{0}} --clean --kind {{hourly}}` + +- 읽기-쓰기 스냅샷 생성: + +`sudo rusnapshot -c {{경로/대상/config.toml}} --cr --rw` + +- 스냅샷 복원: + +`sudo rusnapshot -c {{경로/대상/config.toml}} --id {{스냅샷_id}} --restore` diff --git a/pages.ko/linux/sa.md b/pages.ko/linux/sa.md new file mode 100644 index 00000000000000..9f0253e8863bbf --- /dev/null +++ b/pages.ko/linux/sa.md @@ -0,0 +1,17 @@ +# sa + +> 사용자가 호출한 명령에 대한 회계 정보를 요약하여 표시하며, 처리에 소비된 CPU 시간 및 I/O 속도에 대한 기본 정보를 포함합니다. +> `acct` 패키지의 일부. +> 더 많은 정보: . + +- 사용자별 실행 호출 횟수 표시 (사용자명은 표시되지 않음): + +`sudo sa` + +- 사용자별 실행 호출 횟수 표시, 책임 있는 사용자명 표시: + +`sudo sa --print-users` + +- 최근 사용자별로 사용된 리소스 목록 표시: + +`sudo sa --user-summary` diff --git a/pages.ko/linux/sacct.md b/pages.ko/linux/sacct.md new file mode 100644 index 00000000000000..d50ba366f2b797 --- /dev/null +++ b/pages.ko/linux/sacct.md @@ -0,0 +1,28 @@ +# sacct + +> Slurm 서비스로부터 회계 데이터를 표시합니다. +> 더 많은 정보: . + +- 최근 작업의 작업 ID, 작업 이름, 파티션, 계정, 할당된 CPU 수, 작업 상태 및 작업 종료 코드를 표시: + +`sacct` + +- 최근 작업의 작업 ID, 작업 상태 및 작업 종료 코드를 표시: + +`sacct --brief` + +- 작업의 할당을 표시: + +`sacct --jobs {{작업_ID}} --allocations` + +- 작업의 경과 시간, 작업 이름, 요청된 CPU 수 및 요청된 메모리를 표시: + +`sacct --jobs {{작업_ID}} --format=Elapsed,JobName,ReqCPUS,ReqMem` + +- 1주일 전부터 현재까지 발생한 최근 작업을 표시: + +`sacct --starttime=$(date -d "1 week ago" +'%F')` + +- 속성에 대해 더 많은 문자를 출력: + +`sacct --format=JobID,JobName%100` diff --git a/pages.ko/linux/sacctmgr.md b/pages.ko/linux/sacctmgr.md new file mode 100644 index 00000000000000..faa93ac2d888e9 --- /dev/null +++ b/pages.ko/linux/sacctmgr.md @@ -0,0 +1,20 @@ +# sacctmgr + +> Slurm 계정을 조회, 설정 및 관리. +> 더 많은 정보: . + +- 현재 구성 보기: + +`sacctmgr show configuration` + +- Slurm 데이터베이스에 클러스터 추가: + +`sacctmgr add cluster {{클러스터_이름}}` + +- Slurm 데이터베이스에 계정 추가: + +`sacctmgr add account {{계정_이름}} cluster={{계정의_클러스터}}` + +- 특정 형식을 사용하여 사용자/연관/클러스터/계정 세부 정보 보기: + +`sacctmgr show {{user|association|cluster|account}} format="Account%10" format="GrpTRES%30"` diff --git a/pages.ko/linux/salloc.md b/pages.ko/linux/salloc.md new file mode 100644 index 00000000000000..5c0802a40392d1 --- /dev/null +++ b/pages.ko/linux/salloc.md @@ -0,0 +1,16 @@ +# salloc + +> 클러스터에서 하나 이상의 노드를 할당하여 대화형 셸 세션을 시작하거나 명령을 실행합니다. +> 더 많은 정보: . + +- 클러스터의 노드에서 대화형 셸 세션 시작: + +`salloc` + +- 클러스터의 노드에서 지정된 명령을 동기적으로 실행: + +`salloc {{ls -a}}` + +- 지정된 제약 조건을 충족하는 노드만 할당: + +`salloc --constraint={{(amd|intel)&gpu}}` diff --git a/pages.ko/linux/sam.md b/pages.ko/linux/sam.md new file mode 100644 index 00000000000000..9b69c552c8a4fd --- /dev/null +++ b/pages.ko/linux/sam.md @@ -0,0 +1,28 @@ +# sam + +> AWS Serverless Application Model (SAM) CLI. +> 더 많은 정보: . + +- 서버리스 애플리케이션 초기화: + +`sam init` + +- 특정 런타임으로 서버리스 애플리케이션 초기화: + +`sam init --runtime {{python3.7}}` + +- SAM 애플리케이션 패키징: + +`sam package` + +- Lambda 함수 코드 빌드: + +`sam build` + +- 로컬에서 서버리스 애플리케이션 실행: + +`sam local start-api` + +- AWS SAM 애플리케이션 배포: + +`sam deploy` diff --git a/pages.ko/linux/sar.md b/pages.ko/linux/sar.md new file mode 100644 index 00000000000000..78a23cc30fa5ed --- /dev/null +++ b/pages.ko/linux/sar.md @@ -0,0 +1,28 @@ +# sar + +> 다양한 Linux 하위 시스템의 성능을 모니터링합니다. +> 더 많은 정보: . + +- 물리적 장치에 발행된 I/O 및 전송 속도를 1초 간격으로 보고 (종료하려면 `` 입력): + +`sar -b {{1}}` + +- 네트워크 장치 통계를 2초 간격으로 총 10회 보고: + +`sar -n DEV {{2}} {{10}}` + +- CPU 사용률을 2초 간격으로 보고: + +`sar -u ALL {{2}}` + +- 메모리 사용 통계를 1초 간격으로 총 20회 보고: + +`sar -r ALL {{1}} {{20}}` + +- 실행 대기열 길이와 평균 부하를 1초 간격으로 보고: + +`sar -q {{1}}` + +- 페이징 통계를 5초 간격으로 보고: + +`sar -B {{5}}` diff --git a/pages.ko/linux/sattach.md b/pages.ko/linux/sattach.md new file mode 100644 index 00000000000000..cd83492889caae --- /dev/null +++ b/pages.ko/linux/sattach.md @@ -0,0 +1,16 @@ +# sattach + +> Slurm 작업 단계에 연결. +> 더 많은 정보: . + +- Slurm 작업 단계의 IO 스트림(`stdout`, `stderr`, `stdin`)을 현재 터미널로 리디렉션: + +`sattach {{작업_ID}}.{{단계_ID}}` + +- 현재 콘솔의 입력을 지정된 작업의 `stdin`으로 사용: + +`sattach --input-filter {{작업_번호}}` + +- 지정된 작업의 `stdin`/`stderr`만 리디렉션: + +`sattach --{{출력|오류}}-filter {{작업_번호}}` diff --git a/pages.ko/linux/sbatch.md b/pages.ko/linux/sbatch.md new file mode 100644 index 00000000000000..ff7192bf0afdb7 --- /dev/null +++ b/pages.ko/linux/sbatch.md @@ -0,0 +1,20 @@ +# sbatch + +> SLURM 스케줄러에 배치 작업 제출. +> 더 많은 정보: . + +- 배치 작업 제출: + +`sbatch {{경로/대상/작업.sh}}` + +- 사용자 지정 이름으로 배치 작업 제출: + +`sbatch --job-name={{myjob}} {{경로/대상/작업.sh}}` + +- 30분의 시간 제한으로 배치 작업 제출: + +`sbatch --time={{00:30:00}} {{경로/대상/작업.sh}}` + +- 여러 노드를 요청하여 작업 제출: + +`sbatch --nodes={{3}} {{경로/대상/작업.sh}}` diff --git a/pages.ko/linux/sbcast.md b/pages.ko/linux/sbcast.md new file mode 100644 index 00000000000000..3e7ecb5955fd8f --- /dev/null +++ b/pages.ko/linux/sbcast.md @@ -0,0 +1,13 @@ +# sbcast + +> 작업에 할당된 노드로 파일 전송. +> 이 명령은 Slurm 배치 작업 내에서만 사용해야 합니다. +> 더 많은 정보: . + +- 현재 작업에 할당된 모든 노드로 파일 전송: + +`sbcast {{경로/대상/파일}} {{경로/대상/목적지}}` + +- 전송하는 파일이 의존하는 공유 라이브러리를 자동으로 감지하여 함께 전송: + +`sbcast --send-libs={{yes}} {{경로/대상/실행파일}} {{경로/대상/목적지}}` diff --git a/pages.ko/linux/sbctl.md b/pages.ko/linux/sbctl.md new file mode 100644 index 00000000000000..c30c9f407112b7 --- /dev/null +++ b/pages.ko/linux/sbctl.md @@ -0,0 +1,33 @@ +# sbctl + +> 사용자 친화적인 보안 부트 키 관리자. +> 참고: Microsoft의 인증서를 등록하지 않으면 시스템이 손상될 수 있습니다. 을 참조하세요. +> 더 많은 정보: . + +- 현재 보안 부트 상태 표시: + +`sbctl status` + +- 사용자 정의 보안 부트 키 생성 (기본적으로 모든 것은 `/var/lib/sbctl`에 저장): + +`sbctl create-keys` + +- 사용자 정의 보안 부트 키 및 Microsoft의 UEFI 공급업체 인증서 등록: + +`sbctl enroll-keys {{[-m|--microsoft]}}` + +- `/etc/sbctl/sbctl.conf`의 설정에 따라 `create-keys`와 `enroll-keys` 자동 실행: + +`sbctl setup --setup` + +- 생성된 키로 EFI 바이너리에 서명하고 파일을 데이터베이스에 저장: + +`sbctl sign {{[-s|--save]}} {{경로/대상/efi_바이너리}}` + +- 저장된 모든 파일 다시 서명: + +`sbctl sign-all` + +- EFI 시스템 파티션의 모든 EFI 실행 파일이 서명되었는지 확인: + +`sbctl verify` diff --git a/pages.ko/linux/scancel.md b/pages.ko/linux/scancel.md new file mode 100644 index 00000000000000..c3c6f27c09a52c --- /dev/null +++ b/pages.ko/linux/scancel.md @@ -0,0 +1,12 @@ +# scancel + +> Slurm 작업을 취소합니다. +> 더 많은 정보: . + +- 작업 ID를 사용하여 작업 취소: + +`scancel {{작업_ID}}` + +- 사용자로부터 모든 작업 취소: + +`scancel {{사용자_이름}}` diff --git a/pages.ko/linux/scanimage.md b/pages.ko/linux/scanimage.md new file mode 100644 index 00000000000000..6636c7af8322b3 --- /dev/null +++ b/pages.ko/linux/scanimage.md @@ -0,0 +1,12 @@ +# scanimage + +> Scanner Access Now Easy API를 사용하여 이미지를 스캔. +> 더 많은 정보: . + +- 사용 가능한 스캐너를 나열하여 대상 장치가 연결되고 인식되었는지 확인: + +`scanimage -L` + +- 이미지를 스캔하여 파일로 저장: + +`scanimage --format={{pnm|tiff|png|jpeg}} > {{경로/대상/새_이미지}}` diff --git a/pages.ko/linux/schroot.md b/pages.ko/linux/schroot.md new file mode 100644 index 00000000000000..805861e66cf65f --- /dev/null +++ b/pages.ko/linux/schroot.md @@ -0,0 +1,36 @@ +# schroot + +> 다른 루트 디렉터리로 명령을 실행하거나 대화형 셸을 시작합니다. `chroot`보다 더 커스터마이즈 가능합니다. +> 더 많은 정보: . + +- 사용 가능한 chroot 목록 나열: + +`schroot --list` + +- 특정 chroot에서 명령 실행: + +`schroot --chroot {{chroot}} {{명령}}` + +- 특정 chroot에서 옵션과 함께 명령 실행: + +`schroot --chroot {{chroot}} {{명령}} -- {{명령_옵션}}` + +- 모든 사용 가능한 chroot에서 명령 실행: + +`schroot --all {{명령}}` + +- 특정 사용자로 특정 chroot 내에서 대화형 셸 시작: + +`schroot --chroot {{chroot}} --user {{사용자}}` + +- 새 세션 시작 (고유한 세션 ID가 `stdout`에 반환됨): + +`schroot --begin-session --chroot {{chroot}}` + +- 기존 세션에 연결: + +`schroot --run-session --chroot {{세션_ID}}` + +- 기존 세션 종료: + +`schroot --end-session --chroot {{세션_ID}}` diff --git a/pages.ko/linux/scontrol.md b/pages.ko/linux/scontrol.md new file mode 100644 index 00000000000000..8726e77c0f90f5 --- /dev/null +++ b/pages.ko/linux/scontrol.md @@ -0,0 +1,24 @@ +# scontrol + +> 작업에 대한 정보를 보고 수정합니다. +> 더 많은 정보: . + +- 작업에 대한 정보 표시: + +`scontrol show job {{작업_ID}}` + +- 쉼표로 구분된 실행 중인 작업 목록 일시 중지: + +`scontrol suspend {{작업_ID1,작업_ID2,...}}` + +- 쉼표로 구분된 일시 중지된 작업 목록 재개: + +`scontrol resume {{작업_ID1,작업_ID2,...}}` + +- 쉼표로 구분된 대기 중인 작업 목록 보류 (작업 예약을 허용하려면 `release` 명령 사용): + +`scontrol hold {{작업_ID1,작업_ID2,...}}` + +- 쉼표로 구분된 일시 중지된 작업 목록 해제: + +`scontrol release {{작업_ID1,작업_ID2,...}}` diff --git a/pages.ko/linux/screenkey.md b/pages.ko/linux/screenkey.md new file mode 100644 index 00000000000000..f0ba1c8d6f4455 --- /dev/null +++ b/pages.ko/linux/screenkey.md @@ -0,0 +1,32 @@ +# screenkey + +> 키 입력을 화면에 표시하는 스크린캐스트 도구. +> 더 많은 정보: . + +- 현재 눌린 키를 화면에 표시: + +`screenkey` + +- 현재 눌린 키와 마우스 버튼을 화면에 표시: + +`screenkey --mouse` + +- screenkey의 설정 메뉴 실행: + +`screenkey --show-settings` + +- 특정 위치에 screenkey 실행: + +`screenkey --position {{top|center|bottom|fixed}}` + +- 화면에 표시되는 키 수정자의 형식 변경: + +`screenkey --mods-mode {{normal|emacs|mac|win|tux}}` + +- screenkey의 외관 변경: + +`screenkey --bg-color "{{#a1b2c3}}" --font {{Hack}} --font-color {{yellow}} --opacity {{0.8}}` + +- 화면에서 창을 드래그하여 screenkey 표시 위치 선택: + +`screenkey --position fixed --geometry {{$(slop -n -f '%g')}}` diff --git a/pages.ko/linux/script.md b/pages.ko/linux/script.md new file mode 100644 index 00000000000000..a6d0dd29a20756 --- /dev/null +++ b/pages.ko/linux/script.md @@ -0,0 +1,24 @@ +# script + +> 터미널 출력을 파일로 기록합니다. +> 더 많은 정보: . + +- 현재 디렉토리의 `typescript`라는 이름의 파일에 새 세션 기록: + +`script` + +- 사용자 지정 파일 경로에 새 세션 기록: + +`script {{경로/대상/세션.out}}` + +- 기존 파일에 추가하여 새 세션 기록: + +`script -a {{경로/대상/세션.out}}` + +- 타이밍 정보 기록 (`stderr`에 출력됩니다): + +`script -t 2> {{경로/대상/타이밍_파일}}` + +- 데이터가 발생하는 즉시 출력: + +`script -f {{경로/대상/파일}}` diff --git a/pages.ko/linux/scriptreplay.md b/pages.ko/linux/scriptreplay.md new file mode 100644 index 00000000000000..3aca6af6adf39a --- /dev/null +++ b/pages.ko/linux/scriptreplay.md @@ -0,0 +1,16 @@ +# scriptreplay + +> `script` 명령어로 생성된 typescript를 `stdout`으로 재생. +> 더 많은 정보: . + +- 기록된 속도로 typescript를 재생: + +`scriptreplay {{경로/대상/타이밍_파일}} {{경로/대상/typescript}}` + +- 원래 속도의 두 배로 typescript를 재생: + +`scriptreplay {{경로/대상/타이밍_파일}} {{경로/대상/typescript}} 2` + +- 원래 속도의 절반으로 typescript를 재생: + +`scriptreplay {{경로/대상/타이밍_파일}} {{경로/대상/typescript}} 0.5` diff --git a/pages.ko/linux/scrontab.md b/pages.ko/linux/scrontab.md new file mode 100644 index 00000000000000..00d04ff644920f --- /dev/null +++ b/pages.ko/linux/scrontab.md @@ -0,0 +1,24 @@ +# scrontab + +> Slurm 크론탭 파일을 관리합니다. +> 더 많은 정보: . + +- 지정된 파일에서 새 크론탭 설치: + +`scrontab {{경로/대상/파일}}` + +- 현재 사용자의 크론탭 [e]편집: + +`scrontab -e` + +- 지정된 사용자의 크론탭 [e]편집: + +`scrontab --user={{사용자_ID}} -e` + +- 현재 크론탭 [r]제거: + +`scrontab -r` + +- 현재 사용자의 크론탭을 `stdout`에 출력: + +`scrontab -l` diff --git a/pages.ko/linux/scrot.md b/pages.ko/linux/scrot.md new file mode 100644 index 00000000000000..5ca1b2992c216f --- /dev/null +++ b/pages.ko/linux/scrot.md @@ -0,0 +1,32 @@ +# scrot + +> 스크린 캡처 유틸리티. +> 더 많은 정보: . + +- 스크린샷을 캡처하여 현재 디렉토리에 현재 날짜를 파일명으로 저장: + +`scrot` + +- 스크린샷을 캡처하여 `capture.png`로 저장: + +`scrot {{capture.png}}` + +- 대화형으로 스크린샷 캡처: + +`scrot --select` + +- 키보드 입력으로 종료하지 않고 대화형으로 스크린샷 캡처, ``를 눌러 종료: + +`scrot --select --ignorekeyboard` + +- 색상이 있는 선으로 영역을 구분하여 대화형으로 스크린샷 캡처: + +`scrot --select --line color={{x11_색상|rgb_색상}}` + +- 현재 포커스된 창에서 스크린샷 캡처: + +`scrot --focused` + +- 스크린샷을 찍기 전에 10초 카운트다운 표시: + +`scrot --count --delay {{10}}` diff --git a/pages.ko/linux/sdiag.md b/pages.ko/linux/sdiag.md new file mode 100644 index 00000000000000..e98976674548f9 --- /dev/null +++ b/pages.ko/linux/sdiag.md @@ -0,0 +1,20 @@ +# sdiag + +> `slurmctld` 실행에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- `slurmctld` 실행과 관련된 모든 성능 카운터 표시: + +`sdiag --all` + +- `slurmctld` 실행과 관련된 성능 카운터 재설정: + +`sdiag --reset` + +- 출력 형식 지정: + +`sdiag --all --{{json|yaml}}` + +- 명령을 보낼 클러스터 지정: + +`sdiag --all --cluster={{클러스터_이름}}` diff --git a/pages.ko/linux/secon.md b/pages.ko/linux/secon.md new file mode 100644 index 00000000000000..bb0413e34e057b --- /dev/null +++ b/pages.ko/linux/secon.md @@ -0,0 +1,25 @@ +# secon + +> 파일, 프로세스 ID, 현재 실행 컨텍스트 또는 컨텍스트 명세의 SELinux 보안 컨텍스트를 확인합니다. +> 같이 보기: `semanage`, `runcon`, `chcon`. +> 더 많은 정보: . + +- 현재 실행 컨텍스트의 보안 컨텍스트 확인: + +`secon` + +- 프로세스의 현재 보안 컨텍스트 확인: + +`secon --pid {{1}}` + +- 모든 중간 심볼릭 링크를 해석하여 파일의 현재 보안 컨텍스트 확인: + +`secon --file {{경로/대상/파일_또는_폴더}}` + +- 심볼릭 링크 자체의 현재 보안 컨텍스트 확인 (즉, 해석하지 않음): + +`secon --link {{경로/대상/심볼릭_링크}}` + +- 컨텍스트 명세를 해석하고 설명: + +`secon {{system_u:system_r:container_t:s0:c899,c900}}` diff --git a/pages.ko/linux/secret-tool.md b/pages.ko/linux/secret-tool.md new file mode 100644 index 00000000000000..a5af353f38b0c3 --- /dev/null +++ b/pages.ko/linux/secret-tool.md @@ -0,0 +1,21 @@ +# secret-tool + +> `libsecret` 패키지의 일부로 비밀번호를 저장하고 검색. +> `gnome-keyring`과 같은 Freedesktop 비밀 서비스 구현과 통신. +> 더 많은 정보: . + +- 선택적 레이블과 함께 비밀 저장: + +`secret-tool store --label={{레이블}} {{키}} {{값}}` + +- 비밀 검색: + +`secret-tool lookup key {{키}}` + +- 비밀에 대한 추가 정보 얻기: + +`secret-tool search key {{키}}` + +- 저장된 비밀 삭제: + +`secret-tool clear key {{키}}` diff --git a/pages.ko/linux/sed.md b/pages.ko/linux/sed.md new file mode 100644 index 00000000000000..50a34eb8cee8b3 --- /dev/null +++ b/pages.ko/linux/sed.md @@ -0,0 +1,33 @@ +# sed + +> 스크립트 방식으로 텍스트를 편집합니다. +> 같이 보기: `awk`, `ed`. +> 더 많은 정보: . + +- 모든 입력 줄에서 `apple` (기본 정규식) 발생 부분을 `mango` (기본 정규식)로 대체하고 결과를 `stdout`에 출력: + +`{{command}} | sed 's/apple/mango/g'` + +- 모든 입력 줄에서 `apple` (확장 정규식) 발생 부분을 `APPLE` (확장 정규식)로 대체하고 결과를 `stdout`에 출력: + +`{{command}} | sed {{[-E|--regexp-extended]}} 's/(apple)/\U\1/g'` + +- 특정 파일에서 모든 `apple` (기본 정규식) 발생 부분을 `mango` (기본 정규식)로 대체하고 원본 파일을 직접 덮어쓰기: + +`sed {{[-i|--in-place]}} 's/apple/mango/g' {{경로/대상/파일}}` + +- 특정 스크립트 파일을 실행하고 결과를 `stdout`에 출력: + +`{{command}} | sed {{[-f|--file]}} {{경로/대상/스크립트.sed}}` + +- 첫 번째 줄만 `stdout`에 출력: + +`{{command}} | sed {{[-n|--quiet]}} '1p'` + +- 파일의 첫 번째 줄 삭제: + +`sed {{[-i|--in-place]}} 1d {{경로/대상/파일}}` + +- 파일의 첫 번째 줄에 새 줄 삽입: + +`sed {{[-i|--in-place]}} '1i\your new line text\' {{경로/대상/파일}}` diff --git a/pages.ko/linux/see.md b/pages.ko/linux/see.md new file mode 100644 index 00000000000000..d32c0922dbcd68 --- /dev/null +++ b/pages.ko/linux/see.md @@ -0,0 +1,13 @@ +# see + +> `run-mailcap`의 보기(view) 작업에 대한 별칭. +> `run-mailcap`의 인쇄 작업에 대한 별칭. +> 더 많은 정보: . + +- 기본 mailcap 탐색기에서 파일(주로 이미지)을 보기 위해 see 작업 사용: + +`see {{파일명}}` + +- `run-mailcap`과 함께 사용: + +`run-mailcap --action=view {{파일명}}` diff --git a/pages.ko/linux/semanage-boolean.md b/pages.ko/linux/semanage-boolean.md new file mode 100644 index 00000000000000..7aa4888e706858 --- /dev/null +++ b/pages.ko/linux/semanage-boolean.md @@ -0,0 +1,17 @@ +# semanage boolean + +> SELinux 부울 설정을 영구적으로 관리합니다. +> 같이 보기: SELinux 정책 관리를 위한 `semanage`, 부울 값을 확인하기 위한 `getsebool`, 비영구적 부울 설정 적용을 위한 `setsebool`. +> 더 많은 정보: . + +- 모든 부울 설정 나열: + +`sudo semanage boolean {{[-l|--list]}}` + +- 사용자 정의 부울 설정을 제목 없이 나열: + +`sudo semanage boolean {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- 부울을 영구적으로 설정 또는 해제: + +`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}` diff --git a/pages.ko/linux/semanage-fcontext.md b/pages.ko/linux/semanage-fcontext.md new file mode 100644 index 00000000000000..809fe73cf2fbe8 --- /dev/null +++ b/pages.ko/linux/semanage-fcontext.md @@ -0,0 +1,25 @@ +# semanage fcontext + +> 파일/폴더에 대한 지속적인 SELinux 보안 컨텍스트 규칙 관리. +> 같이 보기: `semanage`, `matchpathcon`, `secon`, `chcon`, `restorecon`. +> 더 많은 정보: . + +- 모든 파일 레이블링 규칙 나열: + +`sudo semanage fcontext {{[-l|--list]}}` + +- 사용자 정의 파일 레이블링 규칙을 헤더 없이 나열: + +`sudo semanage fcontext {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- PCRE 정규표현식과 일치하는 경로에 레이블을 지정하는 사용자 정의 규칙 추가: + +`sudo semanage fcontext {{[-a|--add]}} {{[-t|--type]}} {{samba_share_t}} {{'/mnt/share(/.*)?'}}` + +- PCRE 정규표현식을 사용하여 사용자 정의 규칙 삭제: + +`sudo semanage fcontext {{[-d|--delete]}} {{'/mnt/share(/.*)?'}}` + +- 새로운 규칙을 적용하여 폴더를 재귀적으로 다시 레이블링: + +`restorecon -R -v {{경로/대상/폴더}}` diff --git a/pages.ko/linux/semanage-permissive.md b/pages.ko/linux/semanage-permissive.md new file mode 100644 index 00000000000000..5b80acfe786216 --- /dev/null +++ b/pages.ko/linux/semanage-permissive.md @@ -0,0 +1,14 @@ +# semanage permissive + +> 지속적인 SELinux 허용 도메인 관리. +> 이로 인해 프로세스가 비구속 상태가 될 수 있으므로, 장기적으로 사용할 경우 SELinux를 올바르게 구성하는 것이 좋습니다. +> 같이 보기: `semanage`, `getenforce`, `setenforce`. +> 더 많은 정보: . + +- 허용 모드에 있는 모든 프로세스 유형(도메인) 나열: + +`sudo semanage permissive {{[-l|--list]}}` + +- 도메인에 대한 허용 모드를 설정하거나 해제: + +`sudo semanage permissive {{-a|--add|-d|--delete}} {{httpd_t}}` diff --git a/pages.ko/linux/semanage-port.md b/pages.ko/linux/semanage-port.md new file mode 100644 index 00000000000000..a846fbee323566 --- /dev/null +++ b/pages.ko/linux/semanage-port.md @@ -0,0 +1,21 @@ +# semanage port + +> 지속적인 SELinux 포트 정의를 관리합니다. +> 같이 보기: `semanage`. +> 더 많은 정보: . + +- 모든 포트 레이블 규칙 나열: + +`sudo semanage port {{[-l|--list]}}` + +- 헤더 없이 사용자가 정의한 모든 포트 레이블 규칙 나열: + +`sudo semanage port {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- 프로토콜-포트 쌍에 레이블을 지정하는 사용자가 정의한 규칙 추가: + +`sudo semanage port {{[-a|--add]}} {{[-t|--type]}} {{ssh_port_t}} {{[-p|--proto]}} {{tcp}} {{22000}}` + +- 프로토콜-포트 쌍을 사용하여 사용자가 정의한 규칙 삭제: + +`sudo semanage port {{[-d|--delete]}} {{[-p|--proto]}} {{udp}} {{11940}}` diff --git a/pages.ko/linux/semanage.md b/pages.ko/linux/semanage.md new file mode 100644 index 00000000000000..2277ecbe3d4c6b --- /dev/null +++ b/pages.ko/linux/semanage.md @@ -0,0 +1,29 @@ +# semanage + +> SELinux 영구 정책 관리 도구. +> `boolean`, `fcontext`, `port` 등의 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- SELinux 불리언 설정 또는 해제. 불리언은 관리자가 정책 규칙이 제한된 프로세스 유형(도메인)에 어떻게 영향을 미치는지 사용자 정의할 수 있게 함: + +`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}` + +- 사용자 정의 파일 컨텍스트 레이블링 규칙 추가. 파일 컨텍스트는 제한된 도메인이 접근할 수 있는 파일을 정의함: + +`sudo semanage fcontext {{[-a|--add]}} {{[-t|--type]}} {{samba_share_t}} '/mnt/share(/.*)?'` + +- 사용자 정의 포트 레이블링 규칙 추가. 포트 레이블은 제한된 도메인이 청취할 수 있는 포트를 정의함: + +`sudo semanage port {{[-a|--add]}} {{[-t|--type]}} {{ssh_port_t}} {{[-p|--proto]}} {{tcp}} {{22000}}` + +- 제한된 도메인에 대한 허용 모드 설정 또는 해제. 도메인별 허용 모드는 `setenforce`에 비해 더 세분화된 제어를 제공함: + +`sudo semanage permissive {{-a|--add|-d|--delete}} {{httpd_t}}` + +- 기본 저장소에서 로컬 사용자 정의 출력: + +`sudo semanage export {{[-f|--output_file]}} {{경로/대상/파일}}` + +- `semanage export`로 생성된 파일을 로컬 사용자 정의에 가져오기 (주의: 현재 사용자 정의가 제거될 수 있음!): + +`sudo semanage import {{[-f|--input_file]}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/sensible-browser.md b/pages.ko/linux/sensible-browser.md new file mode 100644 index 00000000000000..71bc084cd15cba --- /dev/null +++ b/pages.ko/linux/sensible-browser.md @@ -0,0 +1,12 @@ +# sensible-browser + +> 기본 브라우저 열기. +> 더 많은 정보: . + +- 기본 브라우저의 새 창을 열기: + +`sensible-browser` + +- 기본 브라우저에서 URL 열기: + +`sensible-browser {{url}}` diff --git a/pages.ko/linux/sensible-editor.md b/pages.ko/linux/sensible-editor.md new file mode 100644 index 00000000000000..b06ea46b002b6d --- /dev/null +++ b/pages.ko/linux/sensible-editor.md @@ -0,0 +1,20 @@ +# sensible-editor + +> 기본 편집기를 엽니다. +> 더 많은 정보: . + +- 기본 편집기로 파일 열기: + +`sensible-editor {{경로/대상/파일}}` + +- 파일 끝에 커서를 위치시키고 기본 편집기로 파일 열기: + +`sensible-editor + {{경로/대상/파일}}` + +- 10번째 줄 시작에 커서를 위치시키고 기본 편집기로 파일 열기: + +`sensible-editor +10 {{경로/대상/파일}}` + +- 세 개의 파일을 수직 분할된 편집기 창에서 동시에 열기: + +`sensible-editor -O3 {{경로/대상/파일1 경로/대상/파일2 경로/대상/파일3}}` diff --git a/pages.ko/linux/sensors.md b/pages.ko/linux/sensors.md new file mode 100644 index 00000000000000..c5fe9c9f5fdc78 --- /dev/null +++ b/pages.ko/linux/sensors.md @@ -0,0 +1,12 @@ +# sensors + +> 센서 정보를 표시합니다. +> 더 많은 정보: . + +- 모든 센서 칩의 현재 읽기값 표시: + +`sensors` + +- 온도를 화씨로 표시: + +`sensors --fahrenheit` diff --git a/pages.ko/linux/service.md b/pages.ko/linux/service.md new file mode 100644 index 00000000000000..d8e187f7204f67 --- /dev/null +++ b/pages.ko/linux/service.md @@ -0,0 +1,21 @@ +# service + +> init 스크립트를 실행하여 서비스를 관리. +> 전체 스크립트 경로는 생략해야 하며(`/etc/init.d/`가 기본값으로 가정됩니다). +> 더 많은 정보: . + +- 모든 서비스의 이름 및 상태 나열: + +`service --status-all` + +- 서비스 시작/중지/재시작/다시 로드 (시작/중지는 항상 가능해야 함): + +`service {{서비스_이름}} {{start|stop|restart|reload}}` + +- 전체 재시작 수행 (시작과 중지로 스크립트를 두 번 실행): + +`service {{서비스_이름}} --full-restart` + +- 서비스의 현재 상태 표시: + +`service {{서비스_이름}} status` diff --git a/pages.ko/linux/sestatus.md b/pages.ko/linux/sestatus.md new file mode 100644 index 00000000000000..1b206176c864c3 --- /dev/null +++ b/pages.ko/linux/sestatus.md @@ -0,0 +1,16 @@ +# sestatus + +> 현재 SELinux 상태를 표시합니다. +> 더 많은 정보: . + +- 현재 상태 표시: + +`sestatus` + +- 모든 정책 불리언의 현재 상태 표시: + +`sestatus -b` + +- 현재 파일 및 프로세스 컨텍스트 표시: + +`sestatus -v` diff --git a/pages.ko/linux/setcap.md b/pages.ko/linux/setcap.md new file mode 100644 index 00000000000000..ff50a9574cc15a --- /dev/null +++ b/pages.ko/linux/setcap.md @@ -0,0 +1,25 @@ +# setcap + +> 지정된 파일의 권한 설정. +> 같이 보기: `getcap`. +> 더 많은 정보: . + +- 주어진 파일에 `cap_net_raw` 권한 설정 (RAW 및 PACKET 소켓 사용을 위해): + +`setcap '{{cap_net_raw}}' {{경로/대상/파일}}` + +- 파일에 여러 권한 설정 (`ep`는 "효과적 허가"를 의미): + +`setcap '{{cap_dac_read_search,cap_sys_tty_config+ep}}' {{경로/대상/파일}}` + +- 파일에서 모든 권한 제거: + +`setcap -r {{경로/대상/파일}}` + +- 지정된 파일에 현재 지정된 권한이 연관되어 있는지 확인: + +`setcap -v '{{cap_net_raw}}' {{경로/대상/파일}}` + +- 선택적 `-n root_uid` 인수는 이 루트 사용자 ID 소유자와 함께 사용자 네임스페이스에서만 파일 권한을 설정하는 데 사용될 수 있음: + +`setcap -n {{root_uid}} '{{cap_net_admin}}' {{경로/대상/파일}}` diff --git a/pages.ko/linux/setenforce.md b/pages.ko/linux/setenforce.md new file mode 100644 index 00000000000000..fba3e750cda1d4 --- /dev/null +++ b/pages.ko/linux/setenforce.md @@ -0,0 +1,14 @@ +# setenforce + +> SELinux를 강제 모드와 허용 모드 사이에서 전환. +> SELinux를 활성화하거나 비활성화하려면 `/etc/selinux/config`를 편집하세요. +> 같이 보기: `getenforce`, `semanage-permissive`. +> 더 많은 정보: . + +- SELinux를 강제 모드로 설정: + +`setenforce {{1|Enforcing}}` + +- SELinux를 허용 모드로 설정: + +`setenforce {{0|Permissive}}` diff --git a/pages.ko/linux/setfacl.md b/pages.ko/linux/setfacl.md new file mode 100644 index 00000000000000..b333f680be3504 --- /dev/null +++ b/pages.ko/linux/setfacl.md @@ -0,0 +1,20 @@ +# setfacl + +> 파일 접근 제어 목록(ACL) 설정. +> 더 많은 정보: . + +- [u]사용자에게 읽기 및 쓰기 권한으로 파일의 ACL [m]수정: + +`setfacl --modify u:{{사용자명}}:rw {{경로/대상/파일_또는_폴더}}` + +- 모든 사용자에 대한 파일의 기본 ACL [m]수정: + +`setfacl --modify --default u::rw {{경로/대상/파일_또는_폴더}}` + +- 파일의 사용자에 대한 ACL 제거: + +`setfacl --remove u:{{사용자명}} {{경로/대상/파일_또는_폴더}}` + +- 파일의 모든 ACL 항목 제거: + +`setfacl --remove-all {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/linux/setfattr.md b/pages.ko/linux/setfattr.md new file mode 100644 index 00000000000000..46466e40f1a2d5 --- /dev/null +++ b/pages.ko/linux/setfattr.md @@ -0,0 +1,16 @@ +# setfattr + +> 확장 파일 속성 설정. +> 더 많은 정보: . + +- 파일의 속성 이름 설정: + +`setfattr -n user.{{속성_이름}} {{경로/대상/파일}}` + +- 파일의 사용자 정의 확장 속성 값 설정: + +`setfattr -n user.{{속성_이름}} -v "{{값}}" {{경로/대상/파일}}` + +- 파일의 특정 속성 제거: + +`setfattr -x user.{{속성_이름}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/setsebool.md b/pages.ko/linux/setsebool.md new file mode 100644 index 00000000000000..bed3a923609ab7 --- /dev/null +++ b/pages.ko/linux/setsebool.md @@ -0,0 +1,25 @@ +# setsebool + +> SELinux 불리언 값을 설정합니다. +> 같이 보기: `semanage-boolean`, `getsebool`. +> 더 많은 정보: . + +- 모든 불리언의 현재 설정을 표시: + +`getsebool -a` + +- 불리언을 일시적으로 설정 또는 해제 (재부팅 시 비활성화): + +`sudo setsebool {{httpd_can_network_connect}} {{1|true|on|0|false|off}}` + +- 불리언을 영구적으로 설정 또는 해제: + +`sudo setsebool -P {{container_use_devices}} {{1|true|on|0|false|off}}` + +- 여러 불리언을 한 번에 영구적으로 설정 또는 해제: + +`sudo setsebool -P {{ftpd_use_fusefs=1 mount_anyfile=0 ...}}` + +- 불리언을 영구적으로 설정 또는 해제 (대안 방법으로 `semanage-boolean` 사용): + +`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}` diff --git a/pages.ko/linux/setserial.md b/pages.ko/linux/setserial.md new file mode 100644 index 00000000000000..fe763fcffbaa89 --- /dev/null +++ b/pages.ko/linux/setserial.md @@ -0,0 +1,20 @@ +# setserial + +> 시리얼 포트 정보를 읽고 수정합니다. +> 더 많은 정보: . + +- 특정 시리얼 장치에 대한 모든 정보 출력: + +`setserial -a {{/dev/cuaN}}` + +- 특정 시리얼 장치의 구성 요약 출력 (부팅 과정에서 출력할 때 유용): + +`setserial -b {{장치}}` + +- 장치에 특정 구성 매개변수 설정: + +`sudo setserial {{장치}} {{매개변수}}` + +- 장치 목록의 구성 출력: + +`setserial -g {{장치1 장치2 ...}}` diff --git a/pages.ko/linux/setsid.md b/pages.ko/linux/setsid.md new file mode 100644 index 00000000000000..4b05f4fba052d0 --- /dev/null +++ b/pages.ko/linux/setsid.md @@ -0,0 +1,25 @@ +# setsid + +> 호출 프로세스가 프로세스 그룹 리더가 아닌 경우 새 세션에서 프로그램을 실행. +> 생성된 세션은 기본적으로 현재 터미널에 의해 제어되지 않음. +> 더 많은 정보: . + +- 새 세션에서 프로그램 실행: + +`setsid {{프로그램}}` + +- 결과 출력 및 오류를 무시하며 새 세션에서 프로그램 실행: + +`setsid {{프로그램}} > /dev/null 2>&1` + +- 새 프로세스를 생성하여 프로그램 실행: + +`setsid --fork {{프로그램}}` + +- 프로그램이 종료될 때 해당 종료 코드를 setsid의 종료 코드로 반환: + +`setsid --wait {{프로그램}}` + +- 현재 터미널을 제어 터미널로 설정하여 새 세션에서 프로그램 실행: + +`setsid --ctty {{프로그램}}` diff --git a/pages.ko/linux/setxkbmap.md b/pages.ko/linux/setxkbmap.md new file mode 100644 index 00000000000000..6f26bd52435d4a --- /dev/null +++ b/pages.ko/linux/setxkbmap.md @@ -0,0 +1,28 @@ +# setxkbmap + +> X Keyboard Extension을 사용하여 키보드를 설정합니다. +> 더 많은 정보: . + +- 키보드를 프랑스어 AZERTY로 설정: + +`setxkbmap {{fr}}` + +- 여러 키보드 레이아웃, 변형 및 전환 옵션 설정: + +`setxkbmap -layout {{us,de}} -variant {{,qwerty}} -option {{'grp:alt_caps_toggle'}}` + +- 도움말 보기: + +`setxkbmap -help` + +- 모든 레이아웃 나열: + +`localectl list-x11-keymap-layouts` + +- 레이아웃의 변형 나열: + +`localectl list-x11-keymap-variants {{de}}` + +- 사용 가능한 전환 옵션 나열: + +`localectl list-x11-keymap-options | grep grp:` diff --git a/pages.ko/linux/sfdisk.md b/pages.ko/linux/sfdisk.md new file mode 100644 index 00000000000000..eadb56ec783eca --- /dev/null +++ b/pages.ko/linux/sfdisk.md @@ -0,0 +1,24 @@ +# sfdisk + +> 디스크 파티션 테이블을 표시하거나 조작합니다. +> 더 많은 정보: . + +- 파티션 레이아웃을 파일로 백업: + +`sudo sfdisk {{[-d|--dump]}} {{경로/대상/장치}} > {{경로/대상/파일.dump}}` + +- 파티션 레이아웃 복원: + +`sudo sfdisk {{경로/대상/장치}} < {{경로/대상/파일.dump}}` + +- 파티션 유형 설정: + +`sfdisk --part-type {{경로/대상/장치}}} {{파티션_번호}} {{swap}}` + +- 파티션 삭제: + +`sfdisk --delete {{경로/대상/장치}} {{파티션_번호}}` + +- 도움말 표시: + +`sfdisk {{[-h|--help]}}` diff --git a/pages.ko/linux/sfill.md b/pages.ko/linux/sfill.md new file mode 100644 index 00000000000000..f45d4dea92f395 --- /dev/null +++ b/pages.ko/linux/sfill.md @@ -0,0 +1,24 @@ +# sfill + +> 지정된 디렉터리가 위치한 파티션의 여유 공간과 inode를 안전하게 덮어쓰기합니다. +> 더 많은 정보: . + +- 38번 덮어쓰기하여 디스크의 여유 공간과 inode 덮어쓰기(느리지만 안전): + +`sfill {{/경로/대상/마운트된_디스크_디렉터리}}` + +- 6번 덮어쓰기하여 디스크의 여유 공간과 inode 덮어쓰기(빠르지만 덜 안전) 및 상태 표시: + +`sfill -l -v {{/경로/대상/마운트된_디스크_디렉터리}}` + +- 1번 덮어쓰기하여 디스크의 여유 공간과 inode 덮어쓰기(매우 빠르지만 안전하지 않음) 및 상태 표시: + +`sfill -ll -v {{/경로/대상/마운트된_디스크_디렉터리}}` + +- 디스크의 여유 공간만 덮어쓰기: + +`sfill -I {{/경로/대상/마운트된_디스크_디렉터리}}` + +- 디스크의 여유 inode만 덮어쓰기: + +`sfill -i {{/경로/대상/마운트된_디스크_디렉터리}}` diff --git a/pages.ko/linux/sh5util.md b/pages.ko/linux/sh5util.md new file mode 100644 index 00000000000000..b2b4d4bc22b755 --- /dev/null +++ b/pages.ko/linux/sh5util.md @@ -0,0 +1,16 @@ +# sh5util + +> `sacct_gather_profile` 플러그인이 생성한 HDF5 파일 병합 도구. +> 더 많은 정보: . + +- 지정된 작업 또는 단계에 대해 각 할당된 노드에서 생성된 HDF5 파일 병합: + +`sh5util --jobs={{작업_ID|작업_ID.단계_ID}}` + +- 병합된 작업 파일에서 하나 이상의 데이터 시리즈 추출: + +`sh5util --jobs={{작업_ID|작업_ID.단계_ID}} --extract -i {{경로/대상/파일.h5}} --series={{Energy|Filesystem|Network|Task}}` + +- 병합된 작업 파일에서 모든 노드의 하나의 데이터 항목 추출: + +`sh5util --jobs={{작업_ID|작업_ID.단계_ID}} --item-extract --series={{Energy|Filesystem|Network|Task}} --data={{데이터_항목}}` diff --git a/pages.ko/linux/shar.md b/pages.ko/linux/shar.md new file mode 100644 index 00000000000000..5ed2a0a72eba1a --- /dev/null +++ b/pages.ko/linux/shar.md @@ -0,0 +1,24 @@ +# shar + +> 쉘 아카이브 생성 도구. +> 더 많은 정보: . + +- 주어진 파일들을 포함하고 실행 시 해당 파일들을 추출하는 쉘 스크립트 생성: + +`shar --vanilla-operation {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/아카이브.sh}}` + +- 아카이브 내 파일들을 압축: + +`shar --compactor {{xz}} {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/아카이브.sh}}` + +- 모든 파일을 바이너리로 처리 (즉, 모든 것을 `uuencode`): + +`shar --uuencode {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/아카이브.sh}}` + +- 모든 파일을 텍스트로 처리 (즉, 아무것도 `uuencode`하지 않음): + +`shar --text-files {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/아카이브.sh}}` + +- 아카이브의 헤더 주석에 이름과 컷 마크 포함: + +`shar --archive-name "{{내_파일}}" --cut-mark {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/아카이브.sh}}` diff --git a/pages.ko/linux/sherlock.md b/pages.ko/linux/sherlock.md new file mode 100644 index 00000000000000..91a00ecf6a28f6 --- /dev/null +++ b/pages.ko/linux/sherlock.md @@ -0,0 +1,32 @@ +# sherlock + +> 소셜 네트워크에서 사용자명을 찾습니다. +> 더 많은 정보: . + +- 소셜 네트워크에서 특정 사용자명을 검색하고 결과를 [f]파일에 저장: + +`sherlock {{사용자명}} --output {{경로/대상/파일}}` + +- 소셜 네트워크에서 특정 사용자명을 검색하고 결과를 [f]폴더에 저장: + +`sherlock {{사용자명1 사용자명2 ...}} --folderoutput {{경로/대상/폴더}}` + +- Tor 네트워크를 사용하여 소셜 네트워크에서 특정 사용자명 검색: + +`sherlock --tor {{사용자명}}` + +- 각 요청 후 새로운 Tor 회로로 요청 수행: + +`sherlock --unique-tor {{사용자명}}` + +- 프록시를 사용하여 소셜 네트워크에서 특정 사용자명 검색: + +`sherlock {{사용자명}} --proxy {{프록시_URL}}` + +- 소셜 네트워크에서 특정 사용자명을 검색하고 결과를 기본 웹 브라우저에서 열기: + +`sherlock {{사용자명}} --browse` + +- 도움말 표시: + +`sherlock --help` diff --git a/pages.ko/linux/shiny-mirrors.md b/pages.ko/linux/shiny-mirrors.md new file mode 100644 index 00000000000000..798e64150a951c --- /dev/null +++ b/pages.ko/linux/shiny-mirrors.md @@ -0,0 +1,21 @@ +# shiny-mirrors + +> Manjaro Linux용 `pacman` 미러 목록 생성. +> shiny-mirrors를 실행할 때마다 `sudo pacman -Syyu` 명령어로 데이터베이스를 동기화하고 시스템을 업데이트해야 합니다. +> 더 많은 정보: . + +- 현재 미러 상태 확인: + +`shiny-mirrors status` + +- 기본 동작으로 미러 목록 생성: + +`sudo shiny-mirrors refresh` + +- 현재 구성 파일 표시: + +`shiny-mirrors config show` + +- 다른 브랜치로 대화식 전환: + +`sudo shiny-mirrors config --branch` diff --git a/pages.ko/linux/shnsplit.md b/pages.ko/linux/shnsplit.md new file mode 100644 index 00000000000000..ec00147a23a310 --- /dev/null +++ b/pages.ko/linux/shnsplit.md @@ -0,0 +1,20 @@ +# shnsplit + +> `.cue` 파일에 따라 오디오 파일을 분할합니다. +> 더 많은 정보: . + +- `.wav` + `.cue` 파일을 여러 파일로 분할: + +`shnsplit -f {{경로/대상/파일.cue}} {{경로/대상/파일.wav}}` + +- 지원되는 형식 표시: + +`shnsplit -a` + +- `.flac` 파일을 여러 파일로 분할: + +`shnsplit -f {{경로/대상/파일.cue}} -o flac {{경로/대상/파일.flac}}` + +- `.wav` 파일을 "트랙 번호 - 앨범 - 제목" 형식으로 분할: + +`shnsplit -f {{경로/대상/파일.cue}} {{경로/대상/파일.wav}} -t "%n - %a - %t"` diff --git a/pages.ko/linux/shntool-split.md b/pages.ko/linux/shntool-split.md new file mode 100644 index 00000000000000..48ae18387015ef --- /dev/null +++ b/pages.ko/linux/shntool-split.md @@ -0,0 +1,7 @@ +# shntool split + +> 이 명령어는 `shnsplit`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr shnsplit` diff --git a/pages.ko/linux/showkey.md b/pages.ko/linux/showkey.md new file mode 100644 index 00000000000000..04dc127024ca61 --- /dev/null +++ b/pages.ko/linux/showkey.md @@ -0,0 +1,24 @@ +# showkey + +> 키보드에서 누른 키의 키코드를 표시하여 키보드 관련 문제 디버깅 및 키 매핑에 유용합니다. +> 더 많은 정보: . + +- 키코드를 10진수로 보기: + +`sudo showkey` + +- 스캔코드를 16진수로 표시: + +`sudo showkey {{[-s|--scancodes]}}` + +- 키코드를 10진수로 표시 (기본값): + +`sudo showkey {{[-k|--keycodes]}}` + +- 키코드를 ASCII, 10진수, 16진수로 표시: + +`sudo showkey {{[-a|--ascii]}}` + +- 프로그램 종료: + +`` diff --git a/pages.ko/linux/shutdown.md b/pages.ko/linux/shutdown.md new file mode 100644 index 00000000000000..a8f227fdd15073 --- /dev/null +++ b/pages.ko/linux/shutdown.md @@ -0,0 +1,24 @@ +# shutdown + +> 시스템 종료 및 재부팅. +> 더 많은 정보: . + +- 즉시 전원 끄기 ([h]alt): + +`shutdown -h now` + +- 즉시 [r]재부팅: + +`shutdown {{[-r|--reboot]}} now` + +- 5분 후 [r]재부팅: + +`shutdown {{[-r|--reboot]}} +{{5}} &` + +- 오후 1시에 종료하기 (24시간 [h] 형식 사용): + +`shutdown -h 13:00` + +- 보류 중인 종료/재부팅 작업 [c]취소: + +`shutdown -c` diff --git a/pages.ko/linux/sic.md b/pages.ko/linux/sic.md new file mode 100644 index 00000000000000..2eb032467332bf --- /dev/null +++ b/pages.ko/linux/sic.md @@ -0,0 +1,29 @@ +# sic + +> Simple IRC 클라이언트. +> suckless 도구의 일부. +> 더 많은 정보: . + +- 기본 호스트(irc.ofct.net)에 `$USER` 환경 변수에 설정된 닉네임으로 연결: + +`sic` + +- 주어진 호스트에 주어진 닉네임으로 연결: + +`sic -h {{호스트}} -n {{닉네임}}` + +- 주어진 호스트에 주어진 닉네임과 비밀번호로 연결: + +`sic -h {{호스트}} -n {{닉네임}} -k {{비밀번호}}` + +- 채널 참여: + +`:j #{{채널}}` + +- 채널이나 사용자에게 메시지 전송: + +`:m #{{채널|사용자}}` + +- 기본 채널이나 사용자 설정: + +`:s #{{채널|사용자}}` diff --git a/pages.ko/linux/silentcast.md b/pages.ko/linux/silentcast.md new file mode 100644 index 00000000000000..61477375441e80 --- /dev/null +++ b/pages.ko/linux/silentcast.md @@ -0,0 +1,12 @@ +# silentcast + +> Silent screencast 생성기. `.mkv` 및 애니메이션 GIF 형식으로 저장합니다. +> 더 많은 정보: . + +- silentcast 시작: + +`silentcast` + +- 특정 디스플레이에서 silentcast 시작: + +`silentcast --display={{디스플레이}}` diff --git a/pages.ko/linux/sinfo.md b/pages.ko/linux/sinfo.md new file mode 100644 index 00000000000000..34111b53d9c9f8 --- /dev/null +++ b/pages.ko/linux/sinfo.md @@ -0,0 +1,29 @@ +# sinfo + +> Slurm 노드 및 파티션 정보를 표시합니다. +> 같이 보기: `squeue` 및 `sbatch`, 이는 Slurm 작업 관리자에 포함됩니다. +> 더 많은 정보: . + +- 클러스터의 빠른 요약 개요 표시: + +`sinfo --summarize` + +- 클러스터 전체의 모든 파티션에 대한 자세한 상태 보기: + +`sinfo` + +- 특정 파티션에 대한 자세한 상태 보기: + +`sinfo --partition {{파티션_이름}}` + +- 유휴 노드 정보 보기: + +`sinfo --states {{idle}}` + +- 죽은 노드 요약: + +`sinfo --dead` + +- 죽은 노드와 그 이유 나열: + +`sinfo --list-reasons` diff --git a/pages.ko/linux/size.md b/pages.ko/linux/size.md new file mode 100644 index 00000000000000..3755887fff7e6f --- /dev/null +++ b/pages.ko/linux/size.md @@ -0,0 +1,20 @@ +# size + +> 바이너리 파일 내부 섹션의 크기를 표시합니다. +> 더 많은 정보: . + +- 주어진 오브젝트 또는 실행 파일의 섹션 크기 표시: + +`size {{경로/대상/파일}}` + +- 주어진 오브젝트 또는 실행 파일의 섹션 크기를 [o]팔진수로 표시: + +`size {{[-o|--radix=8]}} {{경로/대상/파일}}` + +- 주어진 오브젝트 또는 실행 파일의 섹션 크기를 [d]십진수로 표시: + +`size {{[-d|--radix=10]}} {{경로/대상/파일}}` + +- 주어진 오브젝트 또는 실행 파일의 섹션 크기를 [x]십육진수로 표시: + +`size {{[-x|--radix=16]}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/slapt-get.md b/pages.ko/linux/slapt-get.md new file mode 100644 index 00000000000000..d7a05c20b1ce6d --- /dev/null +++ b/pages.ko/linux/slapt-get.md @@ -0,0 +1,29 @@ +# slapt-get + +> Slackware 패키지 관리를 위한 `apt`와 유사한 시스템. +> slapt-getrc 파일에서 패키지 소스를 구성해야 합니다. +> 더 많은 정보: . + +- 사용 가능한 패키지 및 버전 목록 업데이트: + +`slapt-get --update` + +- 패키지를 설치하거나 최신 버전으로 업데이트: + +`slapt-get --install {{패키지}}` + +- 패키지 제거: + +`slapt-get --remove {{패키지}}` + +- 설치된 모든 패키지를 최신 버전으로 업그레이드: + +`slapt-get --upgrade` + +- 패키지 이름, 디스크 세트 또는 버전으로 패키지 검색: + +`slapt-get --search {{쿼리}}` + +- 패키지에 대한 정보 표시: + +`slapt-get --show {{패키지}}` diff --git a/pages.ko/linux/slapt-src.md b/pages.ko/linux/slapt-src.md new file mode 100644 index 00000000000000..3f7c9e44dfb137 --- /dev/null +++ b/pages.ko/linux/slapt-src.md @@ -0,0 +1,25 @@ +# slapt-src + +> SlackBuilds의 빌드를 자동화하는 유틸리티. +> SlackBuild 소스는 slapt-srcrc 파일에 구성해야 합니다. +> 더 많은 정보: . + +- 사용 가능한 SlackBuilds 및 버전 목록 업데이트: + +`slapt-src --update` + +- 사용 가능한 모든 SlackBuilds 나열: + +`slapt-src --list` + +- 지정된 SlackBuild(들)을 가져와서 빌드하고 설치: + +`slapt-src --install {{slackbuild_이름}}` + +- 이름 또는 설명으로 SlackBuilds 찾기: + +`slapt-src --search {{검색_어구}}` + +- SlackBuild에 대한 정보 표시: + +`slapt-src --show {{slackbuild_이름}}` diff --git a/pages.ko/linux/sleep.md b/pages.ko/linux/sleep.md new file mode 100644 index 00000000000000..f687a99b4b6fbb --- /dev/null +++ b/pages.ko/linux/sleep.md @@ -0,0 +1,20 @@ +# sleep + +> 지정된 시간만큼 지연합니다. +> 더 많은 정보: . + +- 초 단위로 지연: + +`sleep {{초}}` + +- [m]분 단위로 지연 (다른 단위로는 [d]일, [h]시간, [s]초, [inf]무한대 사용 가능): + +`sleep {{분}}m` + +- 1[d]일 3[h]시간 동안 지연: + +`sleep 1d 3h` + +- 20[m]분 지연 후 특정 명령 실행: + +`sleep 20m && {{명령}}` diff --git a/pages.ko/linux/slop.md b/pages.ko/linux/slop.md new file mode 100644 index 00000000000000..5ee12b8e1eeafd --- /dev/null +++ b/pages.ko/linux/slop.md @@ -0,0 +1,24 @@ +# slop + +> 화면의 선택 영역을 가져옵니다. +> 더 많은 정보: . + +- 사용자가 선택할 때까지 기다린 후 그 기하정보를 `stdout`에 출력: + +`slop` + +- 드래그하여 선택하는 대신 더블 클릭하여 선택: + +`slop -D` + +- 선택 영역을 윤곽선 대신 강조: + +`slop -l` + +- 출력 형식 지정: + +`slop -f {{형식_문자열}}` + +- 선택 사각형의 색상 지정: + +`slop -c {{빨강}},{{초록}},{{파랑}},{{알파}}` diff --git a/pages.ko/linux/slurmctld.md b/pages.ko/linux/slurmctld.md new file mode 100644 index 00000000000000..ea1cdb93b529a8 --- /dev/null +++ b/pages.ko/linux/slurmctld.md @@ -0,0 +1,24 @@ +# slurmctld + +> 모든 다른 Slurm 데몬과 리소스를 모니터링하고 작업(잡)을 수락하며, 해당 작업에 리소스를 할당합니다. +> 더 많은 정보: . + +- 마지막 체크포인트에서 이전 `slurmctld` 상태를 모두 지우기: + +`slurmctld -c` + +- 데몬의 우선순위 값을 지정된 값으로 설정 (일반적으로 음수): + +`slurmctld -n {{값}}` + +- 지정된 파일에 로그 메시지 기록: + +`slurmctld -L {{경로/대상/출력_파일}}` + +- 도움말 표시: + +`slurmctld -h` + +- 버전 표시: + +`slurmctld -V` diff --git a/pages.ko/linux/slurmd.md b/pages.ko/linux/slurmd.md new file mode 100644 index 00000000000000..a74782d5d784c3 --- /dev/null +++ b/pages.ko/linux/slurmd.md @@ -0,0 +1,24 @@ +# slurmd + +> 컴퓨트 노드에서 실행 중인 모든 작업을 모니터링하고, 작업을 수락, 실행 및 요청 시 실행 중인 작업을 종료합니다. +> 더 많은 정보: . + +- 데몬이 재시작될 때 노드가 재부팅되었다고 보고 (테스트 목적으로 사용됨): + +`slurmd -b` + +- 지정된 노드명으로 데몬 실행: + +`slurmd -N {{노드명}}` + +- 지정된 파일에 로그 메시지 기록: + +`slurmd -L {{경로/대상/출력_파일}}` + +- 지정된 파일에서 설정 읽기: + +`slurmd -f {{경로/대상/파일}}` + +- 도움말 표시: + +`slurmd -h` diff --git a/pages.ko/linux/slurmdbd.md b/pages.ko/linux/slurmdbd.md new file mode 100644 index 00000000000000..30d54f04e69fa8 --- /dev/null +++ b/pages.ko/linux/slurmdbd.md @@ -0,0 +1,20 @@ +# slurmdbd + +> Slurm를 위한 데이터베이스에 대한 안전한 엔터프라이즈 인터페이스. +> 더 많은 정보: . + +- 데몬의 우선순위를 지정된 값(일반적으로 음수)으로 설정: + +`slurmdbd -n {{값}}` + +- `slurmdbd`의 작업 디렉토리를 LogFile 경로 또는 `/var/tmp`로 변경: + +`slurmdbd -s` + +- 도움말 표시: + +`slurmdbd -h` + +- 버전 표시: + +`slurmdbd -V` diff --git a/pages.ko/linux/slurmrestd.md b/pages.ko/linux/slurmrestd.md new file mode 100644 index 00000000000000..689f9ddc5ac105 --- /dev/null +++ b/pages.ko/linux/slurmrestd.md @@ -0,0 +1,28 @@ +# slurmrestd + +> REST API를 통해 Slurm에 인터페이스를 제공하는 도구입니다. *Inetd 모드* 및 *Listen 모드*에서 사용할 수 있습니다. +> 더 많은 정보: . + +- 클라이언트 요청을 처리하기 전에 그룹 ID를 변경하고 보조 그룹을 제거: + +`slurmrestd --g {{그룹_ID}} {{[호스트]:포트 | unix:/경로/대상/소켓}}` + +- 로드할 인증 플러그인의 쉼표로 구분된 목록: + +`slurmrestd -a {{인증_플러그인}} {{[호스트]:포트 | unix:/경로/대상/소켓}}` + +- 지정된 파일에서 Slurm 설정 읽기: + +`slurmrestd -f {{경로/대상/파일}}` + +- 클라이언트 요청을 처리하기 전에 사용자 ID 변경: + +`slurmrestd -u {{사용자_ID}}` + +- 도움말 표시: + +`slurmrestd -h` + +- 버전 표시: + +`slurmrestd -V` diff --git a/pages.ko/linux/slurmstepd.md b/pages.ko/linux/slurmstepd.md new file mode 100644 index 00000000000000..8da91797ebecb3 --- /dev/null +++ b/pages.ko/linux/slurmstepd.md @@ -0,0 +1,9 @@ +# slurmstepd + +> 다단계 작업 내 개별 작업 단계를 관리하고 모니터링하는 Slurm 데몬. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`slurmstepd` diff --git a/pages.ko/linux/slurp.md b/pages.ko/linux/slurp.md new file mode 100644 index 00000000000000..23d4e4eaf12eef --- /dev/null +++ b/pages.ko/linux/slurp.md @@ -0,0 +1,28 @@ +# slurp + +> Wayland 컴포지터에서 영역을 선택. +> 더 많은 정보: . + +- 영역을 선택하고 `stdout`에 출력: + +`slurp` + +- 영역을 선택하고 선택한 영역의 크기를 표시하면서 `stdout`에 출력: + +`slurp -d` + +- 영역 대신 단일 지점 선택: + +`slurp -p` + +- 출력물을 선택하고 그 이름을 출력: + +`slurp -o -f '%o'` + +- 특정 영역을 선택하고 `grim`을 사용하여 테두리가 없는 스크린샷 찍기: + +`grim -g "$(slurp -w 0)"` + +- 특정 영역을 선택하고 `wf-recorder`를 사용하여 테두리가 없는 비디오 촬영: + +`wf-recorder --geometry "$(slurp -w 0)"` diff --git a/pages.ko/linux/sm.md b/pages.ko/linux/sm.md new file mode 100644 index 00000000000000..500c3b4ba5e1e6 --- /dev/null +++ b/pages.ko/linux/sm.md @@ -0,0 +1,28 @@ +# sm + +> 전체 화면에 짧은 메시지를 표시합니다. +> 더 많은 정보: . + +- 메시지를 전체 화면에 표시: + +`sm "{{Hello World!}}"` + +- 색상을 반전하여 메시지를 표시: + +`sm -i "{{Hello World!}}"` + +- 사용자 지정 전경색으로 메시지를 표시: + +`sm -f {{파란색}} "{{Hello World!}}"` + +- 사용자 지정 배경색으로 메시지를 표시: + +`sm -b {{#008888}} "{{Hello World!}}"` + +- 메시지를 3회 회전하여 표시 (90도씩 반시계 방향): + +`sm -r {{3}} "{{Hello World!}}"` + +- 다른 명령의 출력을 사용하여 메시지를 표시: + +`{{echo "Hello World!"}} | sm -` diff --git a/pages.ko/linux/smbclient.md b/pages.ko/linux/smbclient.md new file mode 100644 index 00000000000000..c3e1695bd7363c --- /dev/null +++ b/pages.ko/linux/smbclient.md @@ -0,0 +1,32 @@ +# smbclient + +> 서버의 SMB/CIFS 리소스에 접근하기 위한 FTP 유사 클라이언트. +> 더 많은 정보: . + +- 공유 서버에 연결(비밀번호 입력이 필요하며, `exit` 명령으로 세션 종료): + +`smbclient {{//서버/공유}}` + +- 다른 사용자명으로 연결: + +`smbclient {{//서버/공유}} --user {{사용자명}}` + +- 다른 작업 그룹으로 연결: + +`smbclient {{//서버/공유}} --workgroup {{도메인}} --user {{사용자명}}` + +- 사용자명과 비밀번호로 연결: + +`smbclient {{//서버/공유}} --user {{사용자명%비밀번호}}` + +- 서버에서 파일 다운로드: + +`smbclient {{//서버/공유}} --directory {{경로/대상/폴더}} --command "get {{파일.txt}}"` + +- 서버에 파일 업로드: + +`smbclient {{//서버/공유}} --directory {{경로/대상/폴더}} --command "put {{파일.txt}}"` + +- 서버의 공유 목록을 익명으로 나열: + +`smbclient --list={{서버}} --no-pass` diff --git a/pages.ko/linux/smbget.md b/pages.ko/linux/smbget.md new file mode 100644 index 00000000000000..709ac3c060e22d --- /dev/null +++ b/pages.ko/linux/smbget.md @@ -0,0 +1,20 @@ +# smbget + +> SMB 서버에서 파일을 다운로드하기 위한 `wget` 유사 도구. +> 더 많은 정보: . + +- 서버에서 파일 다운로드: + +`smbget {{smb://server/share/file}}` + +- 공유 또는 폴더를 재귀적으로 다운로드: + +`smbget --recursive {{smb://server/share}}` + +- 사용자명과 비밀번호로 연결: + +`smbget {{smb://server/share/file}} --user {{사용자명%비밀번호}}` + +- 암호화된 전송 요구: + +`smbget {{smb://server/share/file}} --encrypt` diff --git a/pages.ko/linux/smbnetfs.md b/pages.ko/linux/smbnetfs.md new file mode 100644 index 00000000000000..d1a59fb56791e9 --- /dev/null +++ b/pages.ko/linux/smbnetfs.md @@ -0,0 +1,8 @@ +# smbnetfs + +> SMB 공유를 대화식으로 마운트. +> 더 많은 정보: . + +- `mountpoint`에 공유 항목을 사용할 수 있도록 설정: + +`smbnetfs {{마운트_지점}}` diff --git a/pages.ko/linux/smbpasswd.md b/pages.ko/linux/smbpasswd.md new file mode 100644 index 00000000000000..4d232b6804a9b2 --- /dev/null +++ b/pages.ko/linux/smbpasswd.md @@ -0,0 +1,21 @@ +# smbpasswd + +> Samba 사용자 추가/제거 또는 비밀번호 변경. +> Samba 사용자는 기존의 로컬 유닉스 계정이 있어야 합니다. +> 더 많은 정보: . + +- 현재 사용자의 SMB 비밀번호 변경: + +`smbpasswd` + +- 지정된 사용자를 Samba에 추가하고 비밀번호 설정 (사용자는 시스템에 이미 존재해야 함): + +`sudo smbpasswd -a {{사용자명}}` + +- 기존 Samba 사용자의 비밀번호 수정: + +`sudo smbpasswd {{사용자명}}` + +- Samba 사용자 삭제 (유닉스 계정이 삭제된 경우에는 `pdbedit` 사용): + +`sudo smbpasswd -x {{사용자명}}` diff --git a/pages.ko/linux/smem.md b/pages.ko/linux/smem.md new file mode 100644 index 00000000000000..5ef75877028b17 --- /dev/null +++ b/pages.ko/linux/smem.md @@ -0,0 +1,20 @@ +# smem + +> 프로그램의 메모리 사용량을 표시합니다. +> 더 많은 정보: . + +- 현재 프로세스의 메모리 사용량 표시: + +`smem` + +- 시스템의 모든 사용자의 현재 프로세스 메모리 사용량 표시: + +`smem --users` + +- 지정된 사용자의 현재 프로세스 메모리 사용량 표시: + +`smem --userfilter {{사용자명}}` + +- 시스템 메모리 정보 표시: + +`smem --system` diff --git a/pages.ko/linux/snake4.md b/pages.ko/linux/snake4.md new file mode 100644 index 00000000000000..c5fa3c16047146 --- /dev/null +++ b/pages.ko/linux/snake4.md @@ -0,0 +1,28 @@ +# snake4 + +> 터미널에서 실행하는 뱀 게임. +> 더 많은 정보: . + +- 뱀 게임 시작: + +`snake4` + +- 레벨 선택: + +`{{<1>|<2>|<3>|<4>|<5>}}` + +- 뱀 이동: + +`{{|||}}` + +- 게임 일시 중지: + +`<스페이스바>` + +- 게임 종료: + +`` + +- 최고 점수 표시: + +`snake4 --highscores` diff --git a/pages.ko/linux/snake4scores.md b/pages.ko/linux/snake4scores.md new file mode 100644 index 00000000000000..d18366212fcd51 --- /dev/null +++ b/pages.ko/linux/snake4scores.md @@ -0,0 +1,8 @@ +# snake4scores + +> snake4 게임의 최고 점수를 표시합니다. +> 더 많은 정보: . + +- 최고 점수 표시: + +`snake4scores` diff --git a/pages.ko/linux/snap.esa.md b/pages.ko/linux/snap.esa.md new file mode 100644 index 00000000000000..dbd463737828c8 --- /dev/null +++ b/pages.ko/linux/snap.esa.md @@ -0,0 +1,12 @@ +# esa snap + +> 유럽우주국(ESA)의 위성 데이터를 처리하기 위한 Sentinel Application Platform (SNAP). +> 더 많은 정보: . + +- 모든 업데이트 표시: + +`snap --nosplash --nogui --modules --list --refresh` + +- 도움말 표시: + +`snap --help` diff --git a/pages.ko/linux/snap.pkg.md b/pages.ko/linux/snap.pkg.md new file mode 100644 index 00000000000000..499091f1f93f9b --- /dev/null +++ b/pages.ko/linux/snap.pkg.md @@ -0,0 +1,37 @@ +# snap + +> "snap" 독립형 소프트웨어 패키지 관리. +> `.deb` 파일에 대한 `apt`와 유사. +> 더 많은 정보: . + +- 패키지 검색: + +`snap find {{검색어}}` + +- 패키지 설치: + +`snap install {{패키지}}` + +- 패키지 업데이트: + +`snap refresh {{패키지}}` + +- 패키지를 다른 채널(트랙, 위험도, 브랜치)로 업데이트: + +`snap refresh {{패키지}} --channel={{채널}}` + +- 모든 패키지 업데이트: + +`snap refresh` + +- 설치된 snap 소프트웨어의 기본 정보 표시: + +`snap list` + +- 패키지 제거: + +`snap remove {{패키지}}` + +- 시스템의 최근 snap 변경 사항 확인: + +`snap changes` diff --git a/pages.ko/linux/snapper.md b/pages.ko/linux/snapper.md new file mode 100644 index 00000000000000..5570d462efa132 --- /dev/null +++ b/pages.ko/linux/snapper.md @@ -0,0 +1,28 @@ +# snapper + +> 파일 시스템 스냅샷 관리 도구. +> 더 많은 정보: . + +- 스냅샷 구성 목록 나열: + +`snapper list-configs` + +- 스냅퍼 구성 생성: + +`snapper -c {{구성}} create-config {{경로/대상/폴더}}` + +- 설명과 함께 스냅샷 생성: + +`snapper -c {{구성}} create -d "{{스냅샷_설명}}"` + +- 특정 구성의 스냅샷 목록 나열: + +`snapper -c {{구성}} list` + +- 스냅샷 삭제: + +`snapper -c {{구성}} delete {{스냅샷_번호}}` + +- 스냅샷 범위 삭제: + +`snapper -c {{구성}} delete {{스냅샷1}}-{{스냅샷2}}` diff --git a/pages.ko/linux/sockstat.md b/pages.ko/linux/sockstat.md new file mode 100644 index 00000000000000..3b511fc8317bd6 --- /dev/null +++ b/pages.ko/linux/sockstat.md @@ -0,0 +1,29 @@ +# sockstat + +> 열린 인터넷 또는 UNIX 도메인 소켓 나열. +> 같이 보기: `netstat`. +> 더 많은 정보: . + +- 대기 중이거나 연결된 IPv4 및 IPv6 소켓 정보 표시: + +`sockstat` + +- 특정 프로토콜을 사용하여 특정 포트에서 [l]대기 중인 IPv[4]/IPv[6] 소켓 정보 표시: + +`sockstat -{{4|6}} -l -R {{tcp|udp|raw|unix}} -p {{포트1,포트2...}}` + +- [c]연결된 소켓 및 [u]유닉스 소켓도 표시: + +`sockstat -cu` + +- 지정된 `pid` 또는 프로세스의 소켓만 표시: + +`sockstat -P {{pid|프로세스}}` + +- 지정된 `uid` 또는 사용자의 소켓만 표시: + +`sockstat -U {{uid|사용자}}` + +- 지정된 `gid` 또는 그룹의 소켓만 표시: + +`sockstat -G {{gid|그룹}}` diff --git a/pages.ko/linux/speaker-test.md b/pages.ko/linux/speaker-test.md new file mode 100644 index 00000000000000..73fcbb74a2bc58 --- /dev/null +++ b/pages.ko/linux/speaker-test.md @@ -0,0 +1,21 @@ +# speaker-test + +> ALSA를 위한 스피커 테스트 톤 생성기. +> 같이 보기: `aplay`, `arecord`, `amixer`. +> 더 많은 정보: . + +- 핑크 노이즈로 기본 스피커 테스트: + +`speaker-test` + +- 사인파로 기본 스피커 테스트: + +`speaker-test {{[-t|--test]}} sine {{[-f|--frequency]}} {{주파수}}` + +- 미리 정의된 WAV 파일로 기본 스피커 테스트: + +`speaker-test {{[-t|--test]}} wav` + +- WAV 파일로 기본 스피커 테스트: + +`speaker-test {{[-t|--test]}} wav {{[-w|--wavfile]}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/spectre-meltdown-checker.md b/pages.ko/linux/spectre-meltdown-checker.md new file mode 100644 index 00000000000000..04289a92b6b3c2 --- /dev/null +++ b/pages.ko/linux/spectre-meltdown-checker.md @@ -0,0 +1,28 @@ +# spectre-meltdown-checker + +> Spectre와 Meltdown 완화 감지 도구. +> 더 많은 정보: . + +- 현재 실행 중인 커널을 Spectre 또는 Meltdown에 대해 검사: + +`sudo spectre-meltdown-checker` + +- 현재 실행 중인 커널을 검사하고 취약성을 완화하기 위한 조치 설명 표시: + +`sudo spectre-meltdown-checker --explain` + +- 특정 변종 검사 (기본적으로 모두 검사): + +`sudo spectre-meltdown-checker --variant {{1|2|3|3a|4|l1tf|msbds|mfbds|mlpds|mdsum|taa|mcespc|srbds}}` + +- 특정 출력 형식을 사용하여 출력 표시: + +`sudo spectre-meltdown-checker --batch {{text|json|nrpe|prometheus|short}}` + +- `/sys` 인터페이스가 존재해도 사용하지 않음: + +`sudo spectre-meltdown-checker --no-sysfs` + +- 실행 중이지 않은 커널 검사: + +`sudo spectre-meltdown-checker --kernel {{경로/대상/커널_파일}}` diff --git a/pages.ko/linux/speedometer.md b/pages.ko/linux/speedometer.md new file mode 100644 index 00000000000000..6bf597c4f08c2f --- /dev/null +++ b/pages.ko/linux/speedometer.md @@ -0,0 +1,8 @@ +# speedometer + +> 네트워크 트래픽 그래프를 터미널에 표시하는 Python 스크립트. +> 더 많은 정보: . + +- 특정 인터페이스의 그래프 표시: + +`speedometer -r {{eth0}} -t {{eth0}}` diff --git a/pages.ko/linux/speedread.md b/pages.ko/linux/speedread.md new file mode 100644 index 00000000000000..759f0485f490e9 --- /dev/null +++ b/pages.ko/linux/speedread.md @@ -0,0 +1,29 @@ +# speedread + +> 간단한 터미널 기반 오픈 소스 Spritz 유사 도구. +> 입력된 텍스트를 단어별 RSVP(빠른 연속 시각적 표시)로 최적의 읽기 지점에 맞춰 표시하여, 눈이 한 곳에 고정된 상태에서 일반적인 속도보다 훨씬 빠르게 텍스트를 읽을 수 있게 합니다. +> 더 많은 정보: . + +- 특정 속도로 텍스트 파일 읽기: + +`cat {{경로/대상/파일.txt}} | speedread -wpm {{250}}` + +- 특정 줄부터 다시 시작: + +`cat {{경로/대상/파일.txt}} | speedread -resume {{5}}` + +- 한 번에 여러 단어를 표시: + +`cat {{경로/대상/파일.txt}} | speedread -multiword` + +- 읽기 중 10% 속도 감소: + +`<[>` + +- 읽기 중 10% 속도 증가: + +`<]>` + +- 일시 정지하고 마지막 몇 줄을 컨텍스트로 표시: + +`` diff --git a/pages.ko/linux/spi.md b/pages.ko/linux/spi.md new file mode 100644 index 00000000000000..d815c4841a0fa7 --- /dev/null +++ b/pages.ko/linux/spi.md @@ -0,0 +1,28 @@ +# spi + +> 패키지와 슬랙빌드를 모두 관리하는 메타 패키지 관리자. +> 더 많은 정보: . + +- 사용 가능한 패키지와 슬랙빌드 목록 업데이트: + +`spi {{[-u|--update]}}` + +- 패키지 또는 슬랙빌드 설치: + +`spi {{[-i|--install]}} {{패키지/슬랙빌드_이름}}` + +- 설치된 모든 패키지를 최신 버전으로 업그레이드: + +`spi {{[-U|--upgrade]}}` + +- 패키지 이름 또는 설명으로 패키지나 슬랙빌드 찾기: + +`spi {{검색_어구}}` + +- 패키지 또는 슬랙빌드에 대한 정보 표시: + +`spi --show {{패키지/슬랙빌드_이름}}` + +- 로컬 패키지 및 슬랙빌드 캐시 정리: + +`spi --clean` diff --git a/pages.ko/linux/sport.md b/pages.ko/linux/sport.md new file mode 100644 index 00000000000000..213ae1a573f32c --- /dev/null +++ b/pages.ko/linux/sport.md @@ -0,0 +1,32 @@ +# sport + +> SlackBuilds 검색 및 설치. +> 더 많은 정보: . + +- `sport`를 처음 실행하기 위해 SlackBuild 목록 가져오기: + +`sudo mkdir -p /usr/ports && sudo rsync -av rsync://slackbuilds.org /slackbuilds/$(awk '{print $2}' /etc/slackware-version)/ /usr/ports/` + +- `rsync`를 통해 시스템 트리의 업데이트 가져오기: + +`sudo sport rsync` + +- 이름으로 패키지 검색: + +`sport search "{{키워드}}"` + +- 패키지가 설치되었는지 확인: + +`sport check {{패키지}}` + +- 패키지의 README 및 `.info` 파일 표시: + +`sport cat {{패키지}}` + +- 의존성이 해결된 후 패키지 설치: + +`sudo sport install {{패키지}}` + +- 파일에 있는 패키지 목록 설치 (형식: 공백으로 구분된 패키지): + +`sudo sport install $(< {{경로/대상/목록}})` diff --git a/pages.ko/linux/sprio.md b/pages.ko/linux/sprio.md new file mode 100644 index 00000000000000..6c1d37879ac9f2 --- /dev/null +++ b/pages.ko/linux/sprio.md @@ -0,0 +1,24 @@ +# sprio + +> 작업의 스케줄링 우선순위를 결정하는 요소 보기. +> 더 많은 정보: . + +- 모든 작업의 스케줄링 우선순위를 결정하는 요소 보기: + +`sprio` + +- 지정한 작업의 스케줄링 우선순위를 결정하는 요소 보기: + +`sprio --jobs={{작업_ID_1,작업_ID_2,...}}` + +- 추가 정보를 출력: + +`sprio --long` + +- 지정한 사용자의 작업 정보를 보기: + +`sprio --user={{사용자_이름_1,사용자_이름_2,...}}` + +- 작업 스케줄링 우선순위를 결정하는 각 요소의 가중치 출력: + +`sprio --weights` diff --git a/pages.ko/linux/sqfscat.md b/pages.ko/linux/sqfscat.md new file mode 100644 index 00000000000000..0fcb9c5aaca0bc --- /dev/null +++ b/pages.ko/linux/sqfscat.md @@ -0,0 +1,8 @@ +# sqfscat + +> squashfs 파일 시스템에서 파일을 연결하고 `stdout`에 출력. +> 더 많은 정보: . + +- squashfs 파일 시스템에서 하나 이상의 파일 내용을 표시: + +`sqfscat {{파일_시스템.squashfs}} {{파일1 파일2 ...}}` diff --git a/pages.ko/linux/sqfstar.md b/pages.ko/linux/sqfstar.md new file mode 100644 index 00000000000000..23e3a405d08f91 --- /dev/null +++ b/pages.ko/linux/sqfstar.md @@ -0,0 +1,24 @@ +# sqfstar + +> tar 아카이브에서 squashfs 파일 시스템을 생성합니다. +> 더 많은 정보: . + +- 압축되지 않은 tar 아카이브에서 기본적으로 `gzip`으로 압축된 squashfs 파일 시스템 생성: + +`sqfstar {{파일_시스템.squashfs}} < {{아카이브.tar}}` + +- `gzip`으로 압축된 tar 아카이브에서 특정 알고리즘으로 파일 시스템을 [comp]압축하여 squashfs 파일 시스템 생성: + +`zcat {{아카이브.tar.gz}} | sqfstar -comp {{gzip|lzo|lz4|xz|zstd|lzma}} {{파일_시스템.squashfs}}` + +- `xz`로 압축된 tar 아카이브에서 일부 파일을 제외하고 squashfs 파일 시스템 생성: + +`xzcat {{아카이브.tar.xz}} | sqfstar {{파일_시스템.squashfs}} {{파일1 파일2 ...}}` + +- `zstd`로 압축된 tar 아카이브에서 `.gz`로 끝나는 파일을 제외하고 squashfs 파일 시스템 생성: + +`zstdcat {{아카이브.tar.zst}} | sqfstar {{파일_시스템.squashfs}} "{{*.gz}}"` + +- `lz4`로 압축된 tar 아카이브에서 정규 표현식에 맞는 파일을 제외하고 squashfs 파일 시스템 생성: + +`lz4cat {{아카이브.tar.lz4}} | sqfstar {{파일_시스템.squashfs}} -regex "{{정규_표현식}}"` diff --git a/pages.ko/linux/squeue.md b/pages.ko/linux/squeue.md new file mode 100644 index 00000000000000..491afa1b10bd9e --- /dev/null +++ b/pages.ko/linux/squeue.md @@ -0,0 +1,20 @@ +# squeue + +> SLURM 스케줄러에 대기 중인 작업을 표시합니다. +> 더 많은 정보: . + +- 대기열 보기: + +`squeue` + +- 특정 사용자에 의해 대기 중인 작업 보기: + +`squeue -u {{사용자명}}` + +- 대기열을 5초마다 새로고침하여 보기: + +`squeue -i {{5}}` + +- 예상 시작 시간과 함께 대기열 보기: + +`squeue --start` diff --git a/pages.ko/linux/sreport.md b/pages.ko/linux/sreport.md new file mode 100644 index 00000000000000..6ece6164b6f72c --- /dev/null +++ b/pages.ko/linux/sreport.md @@ -0,0 +1,16 @@ +# sreport + +> 작업, 사용자, 클러스터에 대한 보고서를 회계 데이터에서 생성합니다. +> 더 많은 정보: . + +- 파이프로 구분된 클러스터 사용량 데이터를 표시: + +`sreport --parsable cluster utilization` + +- 실행된 작업 수를 표시: + +`sreport job sizes printjobcount` + +- CPU 사용 시간이 가장 많은 사용자를 표시: + +`sreport user topuser` diff --git a/pages.ko/linux/srun.md b/pages.ko/linux/srun.md new file mode 100644 index 00000000000000..bf69133730d972 --- /dev/null +++ b/pages.ko/linux/srun.md @@ -0,0 +1,16 @@ +# srun + +> 대화형 슬럼 작업을 생성하거나 기존 작업에 연결합니다. +> 더 많은 정보: . + +- 기본 대화형 작업 제출: + +`srun --pty /bin/bash` + +- 다양한 속성으로 대화형 작업 제출: + +`srun --ntasks-per-node={{코어_수}} --mem-per-cpu={{메모리_MB}} --pty /bin/bash` + +- 작업이 실행 중인 워커 노드에 연결: + +`srun --jobid={{작업_ID}} --pty /bin/bash` diff --git a/pages.ko/linux/ss.md b/pages.ko/linux/ss.md new file mode 100644 index 00000000000000..b5e825a7772c07 --- /dev/null +++ b/pages.ko/linux/ss.md @@ -0,0 +1,36 @@ +# ss + +> 소켓을 조사하는 유틸리티. +> 더 많은 정보: . + +- 모든 TCP/UDP/RAW/UNIX 소켓 표시: + +`ss {{[-a|--all]}} {{-t|-u|-w|-x}}` + +- 상태별로 TCP 소켓 필터링, 포함/제외: + +`ss {{state|exclude}} {{bucket|big|connected|synchronized|...}}` + +- 로컬 HTTPS 포트(443)에 연결된 모든 TCP 소켓 표시: + +`ss {{[-t|--tcp]}} src :{{443}}` + +- 로컬 8080 포트에서 수신 중인 모든 TCP 소켓 표시: + +`ss {{[-lt|--listening --tcp]}} src :{{8080}}` + +- 원격 SSH 포트에 연결된 프로세스와 함께 모든 TCP 소켓 표시: + +`ss {{[-pt|--processes --tcp]}} dst :{{ssh}}` + +- 특정 소스 및 목적지 포트에 연결된 모든 UDP 소켓 표시: + +`ss {{[-u|--udp]}} 'sport == :{{소스_포트}} and dport == :{{목적지_포트}}'` + +- 서브넷 192.168.0.0/16에 로컬로 연결된 모든 TCP IPv4 소켓 표시: + +`ss {{[-4t|--ipv4 --tcp]}} src {{192.168/16}}` + +- 목적지 IP 192.168.1.17 및 목적지 포트 8080의 IPv4 또는 IPv6 소켓 연결 종료: + +`ss {{[-K|--kill]}} dst {{192.168.1.17}} dport = {{8080}}` diff --git a/pages.ko/linux/sshare.md b/pages.ko/linux/sshare.md new file mode 100644 index 00000000000000..e0fec8a677fc34 --- /dev/null +++ b/pages.ko/linux/sshare.md @@ -0,0 +1,20 @@ +# sshare + +> 클러스터에 대한 연결의 공유 목록을 표시합니다. +> 더 많은 정보: . + +- Slurm 공유 정보 나열: + +`sshare` + +- 출력 형식 제어: + +`sshare --{{parsable|parsable2|json|yaml}}` + +- 표시할 필드 제어: + +`sshare --format={{형식_문자열}}` + +- 지정된 사용자에 대한 정보만 표시: + +`sshare --users={{사용자_ID_1,사용자_ID_2,...}}` diff --git a/pages.ko/linux/sslstrip.md b/pages.ko/linux/sslstrip.md new file mode 100644 index 00000000000000..2fb1bc82de5f68 --- /dev/null +++ b/pages.ko/linux/sslstrip.md @@ -0,0 +1,29 @@ +# sslstrip + +> Moxie Marlinspike의 Secure Sockets Layer (SSL) 스트리핑 공격을 수행합니다. +> ARP 스푸핑 공격을 함께 수행합니다. +> 더 많은 정보: . + +- 기본으로 포트 10000에서 HTTPS POST 트래픽만 로깅: + +`sslstrip` + +- 포트 8080에서 HTTPS POST 트래픽만 로깅: + +`sslstrip --listen={{8080}}` + +- 포트 8080에서 서버와 주고받는 모든 SSL 트래픽 로깅: + +`sslstrip --ssl --listen={{8080}}` + +- 포트 8080에서 서버와 주고받는 모든 SSL 및 HTTP 트래픽 로깅: + +`sslstrip --listen={{8080}} --all` + +- 로그를 저장할 파일 경로 지정: + +`sslstrip --listen={{8080}} --write={{경로/대상/파일}}` + +- 도움말 표시: + +`sslstrip --help` diff --git a/pages.ko/linux/sstat.md b/pages.ko/linux/sstat.md new file mode 100644 index 00000000000000..ccd3567b90d2ad --- /dev/null +++ b/pages.ko/linux/sstat.md @@ -0,0 +1,16 @@ +# sstat + +> 실행 중인 작업에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- 쉼표로 구분된 작업 목록의 상태 정보를 표시: + +`sstat --jobs={{작업_ID}}` + +- 쉼표로 구분된 작업 목록의 작업 ID, 평균 CPU 및 평균 가상 메모리 크기를 파이프로 구분하여 표시: + +`sstat --parsable --jobs={{작업_ID}} --format={{JobID,AveCPU,AveVMSize}}` + +- 사용 가능한 필드 목록 표시: + +`sstat --helpformat` diff --git a/pages.ko/linux/st.md b/pages.ko/linux/st.md new file mode 100644 index 00000000000000..e47e7ffac14778 --- /dev/null +++ b/pages.ko/linux/st.md @@ -0,0 +1,24 @@ +# st + +> X Window System을 위한 간단한 터미널 에뮬레이터. +> 더 많은 정보: . + +- 터미널 열기: + +`st` + +- 특정 제목을 가진 터미널 열기: + +`st -T {{제목}}` + +- 터미널을 열고, 지정된 명령을 실행하며 출력을 파일에 저장: + +`st -o {{경로/대상/파일}} -e {{명령어 인수1 인수2}}` + +- 글꼴 크기 증가/감소: + +`` + +- 클립보드에서 복사/붙여넣기: + +`` diff --git a/pages.ko/linux/startx.md b/pages.ko/linux/startx.md new file mode 100644 index 00000000000000..6b6d71a8db6162 --- /dev/null +++ b/pages.ko/linux/startx.md @@ -0,0 +1,20 @@ +# startx + +> 단일 X 윈도우 시스템 세션 실행을 위한 사용자 인터페이스를 제공하는 `xinit`의 프론트엔드. +> 더 많은 정보: . + +- X 세션 시작: + +`startx` + +- 미리 정의된 깊이 값으로 X 세션 시작: + +`startx -- -depth {{값}}` + +- 미리 정의된 DPI 값으로 X 세션 시작: + +`startx -- -dpi {{값}}` + +- `.xinitrc` 파일의 설정을 무시하고 새 X 세션 시작: + +`startx /{{경로/대상/윈도우_매니저_또는_데스크톱_환경}}` diff --git a/pages.ko/linux/steamos-add-to-steam.md b/pages.ko/linux/steamos-add-to-steam.md new file mode 100644 index 00000000000000..8f3468effeaec3 --- /dev/null +++ b/pages.ko/linux/steamos-add-to-steam.md @@ -0,0 +1,8 @@ +# steamos-add-to-steam + +> Steam 라이브러리에 프로그램 추가. +> 더 많은 정보: . + +- 프로그램을 Steam 라이브러리에 추가: + +`steamos-add-to-steam {{경로/대상/파일}}` diff --git a/pages.ko/linux/steamos-dump-info.md b/pages.ko/linux/steamos-dump-info.md new file mode 100644 index 00000000000000..e78d3d844ae980 --- /dev/null +++ b/pages.ko/linux/steamos-dump-info.md @@ -0,0 +1,8 @@ +# steamos-dump-info + +> SteamOS 시스템 정보를 표시합니다. +> 더 많은 정보: . + +- SteamOS 시스템 정보 보기: + +`sudo steamos-dump-info` diff --git a/pages.ko/linux/steamos-readonly.md b/pages.ko/linux/steamos-readonly.md new file mode 100644 index 00000000000000..54782cfb89fa71 --- /dev/null +++ b/pages.ko/linux/steamos-readonly.md @@ -0,0 +1,12 @@ +# steamos-readonly + +> 파일 시스템의 읽기 전용 상태 설정. +> 더 많은 정보: . + +- 파일 시스템을 수정 가능하게 설정: + +`sudo steamos-readonly disable` + +- 파일 시스템을 읽기 전용으로 설정: + +`sudo steamos-readonly enable` diff --git a/pages.ko/linux/steamos-session-select.md b/pages.ko/linux/steamos-session-select.md new file mode 100644 index 00000000000000..81521ac9c2b6fd --- /dev/null +++ b/pages.ko/linux/steamos-session-select.md @@ -0,0 +1,20 @@ +# steamos-session-select + +> 현재 사용 중인 세션을 조작합니다. +> 더 많은 정보: . + +- 데스크톱 모드로 변경: + +`steamos-session-select plasma` + +- 게임 모드로 변경: + +`steamos-session-select gamescope` + +- Wayland 데스크톱 모드로 변경: + +`steamos-session-select plasma-wayland-persistent` + +- X11 데스크톱 모드로 변경: + +`steamos-session-select plasma-x11-persistent` diff --git a/pages.ko/linux/steamos-update.md b/pages.ko/linux/steamos-update.md new file mode 100644 index 00000000000000..7b150d8362af16 --- /dev/null +++ b/pages.ko/linux/steamos-update.md @@ -0,0 +1,12 @@ +# steamos-update + +> SteamOS 업데이트 도구. +> 더 많은 정보: . + +- 운영 체제 업데이트: + +`steamos-update` + +- 업데이트 가능 여부 확인: + +`steamos-update check` diff --git a/pages.ko/linux/steghide.md b/pages.ko/linux/steghide.md new file mode 100644 index 00000000000000..5b218c870dd8be --- /dev/null +++ b/pages.ko/linux/steghide.md @@ -0,0 +1,28 @@ +# steghide + +> JPEG, BMP, WAV 및 AU 파일 형식을 위한 스테가노그래피 도구. +> 더 많은 정보: . + +- PNG에 데이터를 삽입하고 암호 구문을 입력받기: + +`steghide embed {{[-cf|--coverfile]}} {{경로/대상/이미지.png}} {{[-ef|--embedfile]}} {{경로/대상/데이터.txt}}` + +- WAV 오디오 파일에서 데이터 추출: + +`steghide extract {{[-sf|--stegofile]}} {{경로/대상/소리.wav}}` + +- 파일 정보 표시 및 삽입된 파일 탐지 시도: + +`steghide info {{경로/대상/파일.jpg}}` + +- JPEG 이미지에 최대 압축으로 데이터 삽입: + +`steghide embed {{[-cf|--coverfile]}} {{경로/대상/이미지.jpg}} {{[-ef|--embedfile]}} {{경로/대상/데이터.txt}} {{[-z|--compress]}} {{9}}` + +- 지원되는 암호화 알고리즘 및 모드 목록 확인: + +`steghide encinfo` + +- 예를 들어 Blowfish CBC 모드로 JPEG 이미지에 암호화된 데이터 삽입: + +`steghide embed {{[-cf|--coverfile]}} {{경로/대상/이미지.jpg}} {{[-ef|--embedfile]}} {{경로/대상/데이터.txt}} {{[-e|--encryption]}} {{blowfish|...}} {{cbc|...}}` diff --git a/pages.ko/linux/stegsnow.md b/pages.ko/linux/stegsnow.md new file mode 100644 index 00000000000000..c91168e3aa6f62 --- /dev/null +++ b/pages.ko/linux/stegsnow.md @@ -0,0 +1,28 @@ +# stegsnow + +> 탭과 공백으로 인코딩된 텍스트 파일에 메시지를 숨기고 추출하는 스테가노그래피 도구. +> 더 많은 정보: . + +- 파일에서 [m]메시지 추출: + +`stegsnow {{경로/대상/파일.txt}}` + +- 파일에서 [C]압축되고 [p]비밀번호로 보호된 [m]메시지 추출: + +`stegsnow -C -p {{비밀번호}} {{경로/대상/파일.txt}}` + +- 파일의 줄 [l]길이가 72보다 작은 경우 대략적인 [S]저장 용량 확인: + +`stegsnow -S -l 72 {{경로/대상/파일.txt}}` + +- 파일의 텍스트에 [m]메시지 숨기고 결과로 저장: + +`stegsnow -m '{{메시지}}' {{경로/대상/파일.txt}} {{경로/대상/결과.txt}}` + +- 파일의 텍스트에 [C]압축된 메시지 [f]파일 내용을 숨기고 결과로 저장: + +`stegsnow -C -f '{{경로/대상/메시지.txt}}' {{경로/대상/파일.txt}} {{경로/대상/결과.txt}}` + +- 파일의 텍스트에 [C]압축되고 [p]비밀번호로 보호된 [m]메시지 숨기고 결과로 저장: + +`stegsnow -C -p {{비밀번호}} -m '{{메시지}}' {{경로/대상/파일.txt}} {{경로/대상/결과.txt}}` diff --git a/pages.ko/linux/strace.md b/pages.ko/linux/strace.md new file mode 100644 index 00000000000000..1b165c0456c2bd --- /dev/null +++ b/pages.ko/linux/strace.md @@ -0,0 +1,32 @@ +# strace + +> 시스템 호출을 추적하는 문제 해결 도구. +> 더 많은 정보: . + +- 특정 [p]프로세스를 PID로 추적 시작: + +`strace {{[-p|--attach]}} {{pid}}` + +- [p]프로세스를 추적하고 시스템 호출로 출력을 필터링: + +`strace {{[-p|--attach]}} {{pid}} -e {{system_call,system_call2,...}}` + +- 각 시스템 호출에 대해 시간, 호출 횟수, 오류 수를 계산하고 프로그램 종료 시 요약 보고: + +`strace {{[-p|--attach]}} {{pid}} {{[-c|--summary-only]}}` + +- 각 시스템 호출에 소요된 [T]시간을 표시하고 출력할 문자열 최대 크기 지정: + +`strace {{[-p|--attach]}} {{pid}} {{[-T|--syscall-times]}} {{[-s|--string-limit]}} {{32}}` + +- 프로그램을 실행하여 추적 시작: + +`strace {{프로그램}}` + +- 파일 작업을 추적 시작: + +`strace -e trace=file {{프로그램}}` + +- 프로그램의 네트워크 작업과 모든 [f]포크된 및 자식 프로세스를 추적하고 [o]출력을 파일에 저장: + +`strace {{[-f|--follow-forks]}} -e trace=network {{[-o|--output]}} {{추적.txt}} {{프로그램}}` diff --git a/pages.ko/linux/stress.md b/pages.ko/linux/stress.md new file mode 100644 index 00000000000000..b6c1821ddd34ab --- /dev/null +++ b/pages.ko/linux/stress.md @@ -0,0 +1,20 @@ +# stress + +> CPU, 메모리 및 IO를 스트레스 테스트하는 Linux 시스템 도구. +> 더 많은 정보: . + +- CPU 스트레스 테스트를 위해 4개의 워커 생성: + +`stress -c {{4}}` + +- IO 스트레스 테스트를 위해 2개의 워커 생성하고 5초 후 타임아웃: + +`stress -i {{2}} -t {{5}}` + +- 메모리 스트레스 테스트를 위해 2개의 워커 생성 (각 워커는 256M 바이트 할당): + +`stress -m {{2}} --vm-bytes {{256M}}` + +- write()/unlink()를 반복하는 2개의 워커 생성 (각 워커는 1G 바이트 씀): + +`stress -d {{2}} --hdd-bytes {{1GB}}` diff --git a/pages.ko/linux/strigger.md b/pages.ko/linux/strigger.md new file mode 100644 index 00000000000000..02e3011d1c4e02 --- /dev/null +++ b/pages.ko/linux/strigger.md @@ -0,0 +1,25 @@ +# strigger + +> Slurm 트리거 정보를 조회하거나 수정합니다. +> 트리거는 Slurm 클러스터에서 이벤트가 발생할 때 자동으로 실행되는 작업입니다. +> 더 많은 정보: . + +- 새로운 트리거 등록: 지정된 이벤트가 발생할 때 지정된 프로그램을 실행: + +`strigger --set --{{primary_database_failure|primary_slurmdbd_failure|primary_slurmctld_acct_buffer_full|primary_slurmctld_failure|...}} --program={{경로/대상/실행파일}}` + +- 지정된 작업이 종료될 때 지정된 프로그램을 실행: + +`strigger --set --jobid={{작업_ID}} --fini --program="{{경로/대상/실행파일}} {{인수1 인수2 ...}}"` + +- 활성 트리거 보기: + +`strigger --get` + +- 지정된 작업과 관련된 활성 트리거 보기: + +`strigger --get --jobid={{작업_ID}}` + +- 지정된 트리거 삭제: + +`strigger --clear {{트리거_ID}}` diff --git a/pages.ko/linux/strip.md b/pages.ko/linux/strip.md new file mode 100644 index 00000000000000..b3c2537eda8027 --- /dev/null +++ b/pages.ko/linux/strip.md @@ -0,0 +1,16 @@ +# strip + +> 실행 파일이나 객체 파일에서 심볼을 제거합니다. +> 더 많은 정보: . + +- 입력 파일을 심볼이 제거된 버전으로 대체: + +`strip {{경로/대상/파일}}` + +- 파일에서 심볼을 제거하고, 출력을 특정 파일에 저장: + +`strip {{경로/대상/입력_파일}} -o {{경로/대상/출력_파일}}` + +- 디버그 심볼만 제거: + +`strip --strip-debug {{경로/대상/파일.o}}` diff --git a/pages.ko/linux/su.md b/pages.ko/linux/su.md new file mode 100644 index 00000000000000..3a5452fce22dc6 --- /dev/null +++ b/pages.ko/linux/su.md @@ -0,0 +1,20 @@ +# su + +> 다른 사용자로 쉘을 전환합니다. +> 더 많은 정보: . + +- 슈퍼유저로 전환 (루트 비밀번호 필요): + +`su` + +- 특정 사용자로 전환 (특정 사용자의 비밀번호 필요): + +`su {{사용자 명}}` + +- 특정 사용자로 전환하고 전체 로그인 쉘을 시뮬레이션: + +`su - {{사용자 명}}` + +- 다른 사용자로 명령어 실행: + +`su - {{사용자 명}} {{[-c|--command]}} "{{명령어}}"` diff --git a/pages.ko/linux/sview.md b/pages.ko/linux/sview.md new file mode 100644 index 00000000000000..6640eb8bcc47be --- /dev/null +++ b/pages.ko/linux/sview.md @@ -0,0 +1,8 @@ +# sview + +> Slurm의 상태를 보고 수정할 수 있는 GUI 시작. +> 더 많은 정보: . + +- Slurm의 상태를 보고 수정할 수 있는 GUI 시작: + +`sview` diff --git a/pages.ko/linux/swaks.md b/pages.ko/linux/swaks.md new file mode 100644 index 00000000000000..352920aff31936 --- /dev/null +++ b/pages.ko/linux/swaks.md @@ -0,0 +1,24 @@ +# swaks + +> 스위스 아미 나이프 SMTP, 다목적 SMTP 트랜잭션 테스터. +> 더 많은 정보: . + +- `test-server.example.net`의 포트 25에 `user@example.com`으로 표준 테스트 이메일 전송: + +`swaks --to {{user@example.com}} --server {{test-server.example.net}}` + +- 사용자 `me@example.com`으로 CRAM-MD5 인증을 요구하며 표준 테스트 이메일 전송. 이메일 본문에 "X-Test" 헤더 추가: + +`swaks --to {{user@example.com}} --from {{me@example.com}} --auth {{CRAM-MD5}} --auth-user {{me@example.com}} --header-X-Test "{{test_email}}"` + +- 첨부 파일로 EICAR을 사용하여 바이러스 스캐너 테스트. 메시지 DATA 부분은 표시하지 않음: + +`swaks -t {{user@example.com}} --attach - --server {{test-server.example.com}} --suppress-data {{경로/대상/eicar.txt}}` + +- 이메일 본문에 GTUBE를 사용하여 스팸 스캐너 테스트, `example.com`의 MX 레코드를 통해 라우팅: + +`swaks --to {{user@example.com}} --body {{경로/대상/gtube_파일}}` + +- UNIX 도메인 소켓 파일을 통해 LMTP 프로토콜을 사용하여 `user@example.com`으로 표준 테스트 이메일 전송: + +`swaks --to {{user@example.com}} --socket {{/var/lda.sock}} --protocol {{LMTP}}` diff --git a/pages.ko/linux/swaplabel.md b/pages.ko/linux/swaplabel.md new file mode 100644 index 00000000000000..7d095ac538c40a --- /dev/null +++ b/pages.ko/linux/swaplabel.md @@ -0,0 +1,17 @@ +# swaplabel + +> 스왑 영역의 레이블 또는 UUID를 출력하거나 변경합니다. +> 참고: `경로/대상/파일`은 일반 파일 또는 스왑 파티션을 가리킬 수 있습니다. +> 더 많은 정보: . + +- 스왑 영역의 현재 레이블과 UUID 표시: + +`swaplabel {{경로/대상/파일}}` + +- 스왑 영역의 레이블 설정: + +`swaplabel {{[-L|--label]}} {{새_레이블}} {{경로/대상/파일}}` + +- 스왑 영역의 UUID 설정 (UUID는 `uuidgen`을 사용하여 생성할 수 있습니다): + +`swaplabel {{[-U|--uuid]}} {{새_UUID}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/swapoff.md b/pages.ko/linux/swapoff.md new file mode 100644 index 00000000000000..3a1f30ac5ab3f0 --- /dev/null +++ b/pages.ko/linux/swapoff.md @@ -0,0 +1,17 @@ +# swapoff + +> 스왑을 위한 장치 및 파일 비활성화. +> 참고: `경로/대상/파일`은 일반 파일이나 스왑 파티션을 가리킬 수 있습니다. +> 더 많은 정보: . + +- 지정된 스왑 영역 비활성화: + +`swapoff {{경로/대상/파일}}` + +- `/proc/swaps`의 모든 스왑 영역 비활성화: + +`swapoff {{[-a|--all]}}` + +- 레이블로 스왑 파티션 비활성화: + +`swapoff -L {{레이블}}` diff --git a/pages.ko/linux/swapon.md b/pages.ko/linux/swapon.md new file mode 100644 index 00000000000000..bdf5fa80fb2d48 --- /dev/null +++ b/pages.ko/linux/swapon.md @@ -0,0 +1,21 @@ +# swapon + +> 디바이스와 파일을 스왑에 사용할 수 있도록 활성화합니다. +> 참고: `경로/대상/파일`은 일반 파일이나 스왑 파티션을 가리킬 수 있습니다. +> 더 많은 정보: . + +- 스왑 정보를 표시: + +`swapon` + +- 주어진 스왑 영역 활성화: + +`swapon {{경로/대상/파일}}` + +- `/etc/fstab`에 지정된 모든 스왑 영역(단, `noauto` 옵션이 있는 것은 제외) 활성화: + +`swapon {{[-a|--all]}}` + +- 레이블로 스왑 파티션 활성화: + +`swapon -L {{레이블}}` diff --git a/pages.ko/linux/switch_root.md b/pages.ko/linux/switch_root.md new file mode 100644 index 00000000000000..809e552f08a544 --- /dev/null +++ b/pages.ko/linux/switch_root.md @@ -0,0 +1,14 @@ +# switch_root + +> 다른 파일 시스템을 마운트 트리의 루트로 사용. +> 참고: 새 루트가 마운트의 루트가 아닌 경우, switch_root는 작동하지 않습니다. 바인드 마운트를 사용하여 이를 해결할 수 있습니다. +> 같이 보기: `chroot`, `mount`. +> 더 많은 정보: . + +- `/proc`, `/dev`, `/sys` 및 `/run`을 지정한 파일 시스템으로 이동하고, 해당 파일 시스템을 새로운 루트로 사용하여 지정한 초기화 프로세스를 시작: + +`switch_root {{새_루트}} {{/sbin/init}}` + +- 도움말 표시: + +`switch_root -h` diff --git a/pages.ko/linux/swupd.md b/pages.ko/linux/swupd.md new file mode 100644 index 00000000000000..555335e6b1505b --- /dev/null +++ b/pages.ko/linux/swupd.md @@ -0,0 +1,32 @@ +# swupd + +> Clear Linux의 패키지 관리 도구. +> 더 많은 정보: . + +- 최신 버전으로 업데이트: + +`sudo swupd update` + +- 현재 버전을 표시하고, 새 버전이 있는지 확인: + +`swupd check-update` + +- 설치된 번들 나열: + +`swupd bundle-list` + +- 원하는 패키지가 존재하는 번들 찾기: + +`swupd search -b {{패키지}}` + +- 새 번들 설치: + +`sudo swupd bundle-add {{번들}}` + +- 번들 제거: + +`sudo swupd bundle-remove {{번들}}` + +- 손상되었거나 누락된 파일 수정: + +`sudo swupd verify` diff --git a/pages.ko/linux/swww.md b/pages.ko/linux/swww.md new file mode 100644 index 00000000000000..6bb9f999d89cd0 --- /dev/null +++ b/pages.ko/linux/swww.md @@ -0,0 +1,25 @@ +# swww + +> Wayland용 효율적인 애니메이션 배경화면 데몬. +> 같이 보기: `swww-daemon`. +> 더 많은 정보: . + +- 배경화면 설정: + +`swww img {{경로/대상/이미지}}` + +- 지정한 [o]출력에 배경화면 설정: + +`swww img -o {{출력1,출력2,...}} {{경로/대상/이미지}}` + +- 마지막 배경화면 복원: + +`swww restore` + +- 데몬 종료: + +`swww kill` + +- 출력 정보 표시: + +`swww query` diff --git a/pages.ko/linux/sxiv.md b/pages.ko/linux/sxiv.md new file mode 100644 index 00000000000000..8c0ea028a8881c --- /dev/null +++ b/pages.ko/linux/sxiv.md @@ -0,0 +1,24 @@ +# sxiv + +> Simple X Image Viewer. +> 더 많은 정보: . + +- 이미지 열기: + +`sxiv {{경로/대상/이미지}}` + +- 전체 화면 모드로 이미지 열기: + +`sxiv -f {{경로/대상/파일}}` + +- `stdin`에서 파일명을 읽어 개행으로 구분된 이미지 목록 열기: + +`echo {{경로/대상/파일}} | sxiv -i` + +- 하나 이상의 이미지를 슬라이드쇼로 열기: + +`sxiv -S {{초}} {{경로/대상/이미지1 경로/대상/이미지2}}` + +- 하나 이상의 이미지를 썸네일 모드로 열기: + +`sxiv -t {{경로/대상/이미지1 경로/대상/이미지2}}` diff --git a/pages.ko/linux/synopkg.md b/pages.ko/linux/synopkg.md new file mode 100644 index 00000000000000..a4ce46d38cfc60 --- /dev/null +++ b/pages.ko/linux/synopkg.md @@ -0,0 +1,36 @@ +# synopkg + +> Synology DiskStation Manager의 패키지 관리 도구. +> 더 많은 정보: . + +- 설치된 패키지의 이름 나열: + +`synopkg list --name` + +- 특정 패키지에 의존하는 패키지 나열: + +`synopkg list --depend-on {{패키지}}` + +- 패키지 시작/중지: + +`sudo synopkg {{start|stop}} {{패키지}}` + +- 패키지 상태 출력: + +`synopkg status {{패키지}}` + +- 패키지 제거: + +`sudo synopkg uninstall {{패키지}}` + +- 패키지 업데이트 가능 여부 확인: + +`synopkg checkupdate {{패키지}}` + +- 모든 패키지를 최신 버전으로 업그레이드: + +`sudo synopkg upgradeall` + +- synopkg 파일에서 패키지 설치: + +`sudo synopkg install {{경로/대상/패키지.spk}}` diff --git a/pages.ko/linux/synoupgrade.md b/pages.ko/linux/synoupgrade.md new file mode 100644 index 00000000000000..95357a4bf1b79c --- /dev/null +++ b/pages.ko/linux/synoupgrade.md @@ -0,0 +1,36 @@ +# synoupgrade + +> Synology DiskStation Manager (DSM) - Synology NAS 운영 체제 업그레이드. +> 더 많은 정보: . + +- 업그레이드 가능 여부 확인: + +`sudo synoupgrade --check` + +- DSM 버전을 업그레이드하지 않고 패치 확인: + +`sudo synoupgrade --check-smallupdate` + +- 사용 가능한 최신 업그레이드 다운로드 (`--download-smallupdate`로 패치 다운로드 가능): + +`sudo synoupgrade --download` + +- 업그레이드 프로세스 시작: + +`sudo synoupgrade --start` + +- 최신 버전으로 자동 업그레이드: + +`sudo synoupgrade --auto` + +- DSM 버전을 업그레이드하지 않고 자동으로 패치 적용: + +`sudo synoupgrade --auto-smallupdate` + +- 패치 파일을 사용하여 DSM 업그레이드 (절대 경로여야 함): + +`sudo synoupgrade --patch {{/경로/대상/파일.pat}}` + +- 도움말 표시: + +`synoupgrade` diff --git a/pages.ko/linux/sysctl.md b/pages.ko/linux/sysctl.md new file mode 100644 index 00000000000000..c27773cbba8985 --- /dev/null +++ b/pages.ko/linux/sysctl.md @@ -0,0 +1,24 @@ +# sysctl + +> 커널 런타임 변수를 나열하고 변경합니다. +> 더 많은 정보: . + +- 사용 가능한 모든 변수와 그 값을 표시: + +`sysctl -a` + +- 변경 가능한 커널 상태 변수를 설정: + +`sysctl -w {{섹션.조정가능}}={{값}}` + +- 현재 열려 있는 파일 핸들러 수를 확인: + +`sysctl fs.file-nr` + +- 동시에 열 수 있는 파일의 제한을 확인: + +`sysctl fs.file-max` + +- `/etc/sysctl.conf` 파일의 변경 사항을 적용: + +`sysctl -p` diff --git a/pages.ko/linux/sysdig.md b/pages.ko/linux/sysdig.md new file mode 100644 index 00000000000000..0d2353216663ef --- /dev/null +++ b/pages.ko/linux/sysdig.md @@ -0,0 +1,33 @@ +# sysdig + +> 시스템 문제 해결, 분석 및 탐색. +> 시스템 호출을 캡처, 필터링 및 저장. +> 더 많은 정보: . + +- 라이브 시스템에서 모든 이벤트를 캡처하여 화면에 출력: + +`sysdig` + +- 라이브 시스템에서 모든 이벤트를 캡처하여 디스크에 저장: + +`sysdig -w {{경로/대상/파일}}.scap` + +- 파일에서 이벤트를 읽어 화면에 출력: + +`sysdig -r {{경로/대상/파일}}.scap` + +- cat 명령어에 의해 호출된 모든 open 시스템 호출을 필터링하여 출력: + +`sysdig proc.name=cat and evt.type=open` + +- 발견된 플러그인을 등록하고, open 매개변수를 전달하여 dummy를 입력 소스로 사용: + +`sysdig -I dummy:'{{매개변수}}'` + +- 사용 가능한 치즐 목록 나열: + +`sysdig -cl` + +- spy_ip 치즐을 사용하여 IP 주소와 교환된 데이터 보기: + +`sysdig -c spy_ip {{IP_주소}}` diff --git a/pages.ko/linux/systemctl-reboot.md b/pages.ko/linux/systemctl-reboot.md new file mode 100644 index 00000000000000..d659124cc67214 --- /dev/null +++ b/pages.ko/linux/systemctl-reboot.md @@ -0,0 +1,12 @@ +# systemctl reboot + +> 시스템 재부팅. +> 더 많은 정보: . + +- 시스템 재부팅: + +`systemctl reboot` + +- BIOS/UEFI 메뉴로 재부팅: + +`systemctl reboot --firmware-setup` diff --git a/pages.ko/linux/systemctl.md b/pages.ko/linux/systemctl.md new file mode 100644 index 00000000000000..23f24732957f62 --- /dev/null +++ b/pages.ko/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> systemd 시스템 및 서비스 관리자를 제어합니다. +> 더 많은 정보: . + +- 실행 중인 서비스 모두 표시: + +`systemctl status` + +- 실패한 유닛 나열: + +`systemctl --failed` + +- 서비스 시작/중지/재시작/재로드/상태 표시: + +`systemctl {{start|stop|restart|reload|status}} {{유닛}}` + +- 부팅 시 시작할 유닛 활성화/비활성화: + +`systemctl {{enable|disable}} {{유닛}}` + +- systemd를 재로드하고 새 유닛 또는 변경된 유닛 검색: + +`systemctl daemon-reload` + +- 유닛이 활성/활성화됨/실패했는지 확인: + +`systemctl {{is-active|is-enabled|is-failed}} {{유닛}}` + +- 실행 중이거나 실패한 상태로 필터링하여 모든 서비스/소켓/자동 마운트 유닛 나열: + +`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` + +- 유닛 파일의 내용 및 절대 경로 표시: + +`systemctl cat {{유닛}}` diff --git a/pages.ko/linux/systemd-ac-power.md b/pages.ko/linux/systemd-ac-power.md new file mode 100644 index 00000000000000..30f54040db8410 --- /dev/null +++ b/pages.ko/linux/systemd-ac-power.md @@ -0,0 +1,12 @@ +# systemd-ac-power + +> 컴퓨터가 외부 전원에 연결되어 있는지 보고. +> 더 많은 정보: . + +- 조용히 확인하고 AC 전원에 연결되어 있을 때 0 상태 코드를 반환하고, 그렇지 않을 경우 비영 상태 코드를 반환: + +`systemd-ac-power` + +- 추가적으로 `stdout`에 `yes` 또는 `no`를 출력: + +`systemd-ac-power --verbose` diff --git a/pages.ko/linux/systemd-analyze.md b/pages.ko/linux/systemd-analyze.md new file mode 100644 index 00000000000000..e05e5d8c7d78dc --- /dev/null +++ b/pages.ko/linux/systemd-analyze.md @@ -0,0 +1,25 @@ +# systemd-analyze + +> 시스템 관리자를 분석하고 디버그하는 도구. +> 유닛(서비스, 마운트 포인트, 장치, 소켓)의 부팅 프로세스에 대한 타이밍 세부정보를 표시. +> 더 많은 정보: . + +- 초기화에 걸린 시간 순서대로 실행 중인 모든 유닛 나열: + +`systemd-analyze blame` + +- 시간에 민감한 유닛 체인의 트리 출력: + +`systemd-analyze critical-chain` + +- 각 시스템 서비스가 시작된 시간을 보여주는 SVG 파일 생성, 초기화에 소요된 시간을 강조 표시: + +`systemd-analyze plot > {{경로/대상/file.svg}}` + +- 의존성 그래프를 그려 SVG 파일로 변환: + +`systemd-analyze dot | dot -T{{svg}} > {{경로/대상/file.svg}}` + +- 실행 중인 유닛의 보안 점수 표시: + +`systemd-analyze security` diff --git a/pages.ko/linux/systemd-ask-password.md b/pages.ko/linux/systemd-ask-password.md new file mode 100644 index 00000000000000..2a94c2205e34c9 --- /dev/null +++ b/pages.ko/linux/systemd-ask-password.md @@ -0,0 +1,28 @@ +# systemd-ask-password + +> 시스템 비밀번호를 사용자에게 요청. +> 더 많은 정보: . + +- 특정 메시지와 함께 시스템 비밀번호 요청: + +`systemd-ask-password "{{메시지}}"` + +- 비밀번호 요청에 식별자 지정: + +`systemd-ask-password --id={{식별자}} "{{메시지}}"` + +- 커널 키링 키 이름을 비밀번호 캐시로 사용: + +`systemd-ask-password --keyname={{키_이름}} "{{메시지}}"` + +- 비밀번호 요청에 사용자 정의 시간 초과 설정: + +`systemd-ask-password --timeout={{초}} "{{메시지}}"` + +- 에이전트 시스템을 강제로 사용하고 현재 TTY에서 묻지 않음: + +`systemd-ask-password --no-tty "{{메시지}}"` + +- 비밀번호를 표시하지 않고 커널 키링에 저장: + +`systemd-ask-password --no-output --keyname={{키_이름}} "{{메시지}}"` diff --git a/pages.ko/linux/systemd-cat.md b/pages.ko/linux/systemd-cat.md new file mode 100644 index 00000000000000..6d32991c6dcd92 --- /dev/null +++ b/pages.ko/linux/systemd-cat.md @@ -0,0 +1,12 @@ +# systemd-cat + +> 파이프라인 또는 프로그램의 출력 스트림을 systemd 저널과 연결. +> 더 많은 정보: . + +- 지정한 명령의 출력을 저널에 기록 (모든 출력 스트림이 캡처됨): + +`systemd-cat {{명령}}` + +- 파이프라인의 출력을 저널에 기록 (`stderr`는 터미널에 연결된 상태 유지): + +`{{명령}} | systemd-cat` diff --git a/pages.ko/linux/systemd-cgls.md b/pages.ko/linux/systemd-cgls.md new file mode 100644 index 00000000000000..fab81c496c49f4 --- /dev/null +++ b/pages.ko/linux/systemd-cgls.md @@ -0,0 +1,16 @@ +# systemd-cgls + +> 선택된 Linux 제어 그룹 계층의 내용을 트리 형태로 보여줍니다. +> 더 많은 정보: . + +- 시스템의 전체 제어 그룹 계층 표시: + +`systemd-cgls` + +- 특정 리소스 컨트롤러의 제어 그룹 트리 표시: + +`systemd-cgls {{cpu|memory|io}}` + +- 하나 이상의 systemd 유닛의 제어 그룹 계층 표시: + +`systemd-cgls --unit {{unit1 unit2 ...}}` diff --git a/pages.ko/linux/systemd-cgtop.md b/pages.ko/linux/systemd-cgtop.md new file mode 100644 index 00000000000000..85a31189581d52 --- /dev/null +++ b/pages.ko/linux/systemd-cgtop.md @@ -0,0 +1,25 @@ +# systemd-cgtop + +> 로컬 Linux 제어 그룹 계층의 최상위 제어 그룹을 CPU, 메모리, 디스크 I/O 부하에 따라 정렬하여 표시. +> 같이 보기: `top`. +> 더 많은 정보: . + +- 대화형 보기 시작: + +`systemd-cgtop` + +- 정렬 순서 변경: + +`systemd-cgtop --order={{cpu|memory|path|tasks|io}}` + +- CPU 사용량을 백분율 대신 시간으로 표시: + +`systemd-cgtop --cpu=percentage` + +- 업데이트 간격을 초(또는 이러한 시간 단위 중 하나: `ms`, `us`, `min`)로 변경: + +`systemd-cgtop --delay={{간격}}` + +- 사용자 공간 프로세스만 계산 (커널 스레드는 제외): + +`systemd-cgtop -P` diff --git a/pages.ko/linux/systemd-confext.md b/pages.ko/linux/systemd-confext.md new file mode 100644 index 00000000000000..883679484b52fc --- /dev/null +++ b/pages.ko/linux/systemd-confext.md @@ -0,0 +1,8 @@ +# systemd-confext + +> 이 명령은 `systemd-sysext`의 별칭입니다. +> `/usr` 및 `/opt`에서 작동하는 `systemd-sysext`와 같은 원리를 따르지만, `confext`는 오직 `/etc`만 확장합니다. + +- 원래 명령의 문서 보기: + +`tldr systemd-sysext` diff --git a/pages.ko/linux/systemd-creds.md b/pages.ko/linux/systemd-creds.md new file mode 100644 index 00000000000000..660960c97d5b27 --- /dev/null +++ b/pages.ko/linux/systemd-creds.md @@ -0,0 +1,24 @@ +# systemd-creds + +> 서비스 자격 증명을 나열, 표시, 암호화 및 복호화. +> 더 많은 정보: . + +- 파일을 암호화하고 특정 이름 설정: + +`systemd-creds encrypt --name={{이름}} {{경로/대상/입력_파일}} {{경로/대상/출력}}` + +- 파일을 다시 복호화: + +`systemd-creds decrypt {{경로/대상/입력_파일}} {{경로/대상/출력_파일}}` + +- `stdin`에서 텍스트 암호화: + +`echo -n {{텍스트}} | systemd-creds encrypt --name={{이름}} - {{경로/대상/출력}}` + +- 텍스트를 암호화하고 서비스 파일에 추가 (자격 증명은 `$CREDENTIALS_DIRECTORY`에서 사용 가능): + +`echo -n {{텍스트}} | systemd-creds encrypt --name={{이름}} --pretty - - >> {{서비스}}` + +- 주어진 타임스탬프까지 유효한 자격 증명 생성: + +`systemd-creds encrypt --not-after="{{타임스탬프}}" {{경로/대상/입력_파일}} {{경로/대상/출력_파일}}` diff --git a/pages.ko/linux/systemd-cryptenroll.md b/pages.ko/linux/systemd-cryptenroll.md new file mode 100644 index 00000000000000..0b2c2052a861d2 --- /dev/null +++ b/pages.ko/linux/systemd-cryptenroll.md @@ -0,0 +1,37 @@ +# systemd-cryptenroll + +> LUKS2로 암호화된 장치를 잠금 해제하는 데 사용되는 방법을 대화식으로 등록하거나 제거합니다. 별도로 지정하지 않으면 암호를 사용하여 장치를 잠금 해제합니다. +> 시스템 부팅 시 파티션을 잠금 해제하려면 `/etc/crypttab` 파일이나 initramfs를 업데이트해야 합니다. +> 더 많은 정보: . + +- 새 비밀번호 등록 (`cryptsetup luksAddKey`와 유사): + +`systemd-cryptenroll --password {{경로/대상/luks2_블록_장치}}` + +- 새 복구 키 등록 (즉, 대체로 사용할 수 있는 무작위 생성 암호): + +`systemd-cryptenroll --recovery-key {{경로/대상/luks2_블록_장치}}` + +- 사용 가능한 토큰 목록 나열 또는 새 PKCS#11 토큰 등록: + +`systemd-cryptenroll --pkcs11-token-uri {{list|auto|pkcs11_토큰_uri}} {{경로/대상/luks2_블록_장치}}` + +- 사용 가능한 FIDO2 장치 목록 나열 또는 새 FIDO2 장치 등록 (`auto`는 토큰이 하나만 연결되어 있을 때 장치 이름으로 사용 가능): + +`systemd-cryptenroll --fido2-device {{list|auto|경로/대상/fido2_hidraw_장치}} {{경로/대상/luks2_블록_장치}}` + +- 사용자 인증(생체 인식)과 함께 새 FIDO2 장치 등록: + +`systemd-cryptenroll --fido2-device {{auto|경로/대상/fido2_hidraw_장치}} --fido2-with-user-verification yes {{경로/대상/luks2_블록_장치}}` + +- FIDO2 장치를 사용하여 잠금 해제하고 새 FIDO2 장치 등록: + +`systemd-cryptenroll --unlock-fido2-device {{경로/대상/fido2_hidraw_잠금_해제_장치}} --fido2-device {{경로/대상/fido2_hidraw_등록_장치}} {{경로/대상/luks2_블록_장치}}` + +- TPM2 보안 칩 등록 (보안 부팅 정책 PCR만) 및 추가적인 영문자 PIN 필요: + +`systemd-cryptenroll --tpm2-device {{auto|경로/대상/tpm2_블록_장치}} --tpm2-with-pin yes {{경로/대상/luks2_블록_장치}}` + +- 모든 빈 비밀번호/모든 비밀번호/모든 FIDO2 장치/모든 PKCS#11 토큰/모든 TPM2 보안 칩/모든 복구 키/모든 방법 제거: + +`systemd-cryptenroll --wipe-slot {{empty|password|fido2|pkcs#11|tpm2|recovery|all}} {{경로/대상/luks2_블록_장치}}` diff --git a/pages.ko/linux/systemd-delta.md b/pages.ko/linux/systemd-delta.md new file mode 100644 index 00000000000000..968b5af58048ad --- /dev/null +++ b/pages.ko/linux/systemd-delta.md @@ -0,0 +1,20 @@ +# systemd-delta + +> 재정의된 systemd 관련 설정 파일을 찾습니다. +> 더 많은 정보: . + +- 모든 재정의된 설정 파일 표시: + +`systemd-delta` + +- 특정 유형의 파일만 표시 (쉼표로 구분된 목록): + +`systemd-delta --type {{masked|equivalent|redirected|overridden|extended|unchanged}}` + +- 지정된 접두사로 시작하는 경로의 파일만 표시 (참고: 접두사는 systemd 설정 파일이 있는 하위 디렉토리를 포함하는 디렉토리입니다): + +`systemd-delta {{/etc|/run|/usr/lib|...}}` + +- 접미사를 추가하여 검색 경로를 더 제한 (접두사는 선택 사항): + +`systemd-delta {{접두사}}/{{tmpfiles.d|sysctl.d|systemd/system|...}}` diff --git a/pages.ko/linux/systemd-detect-virt.md b/pages.ko/linux/systemd-detect-virt.md new file mode 100644 index 00000000000000..cae015af1fa1f4 --- /dev/null +++ b/pages.ko/linux/systemd-detect-virt.md @@ -0,0 +1,24 @@ +# systemd-detect-virt + +> 가상화된 환경에서 실행 여부를 감지. +> 더 많은 정보: . + +- 감지 가능한 가상화 기술 목록 표시: + +`systemd-detect-virt --list` + +- 가상화 여부를 감지하고 결과를 출력하며, VM이나 컨테이너에서 실행 중이면 0 상태 코드를 반환하고, 그렇지 않으면 0이 아닌 코드를 반환: + +`systemd-detect-virt` + +- 아무것도 출력하지 않고 조용히 확인: + +`systemd-detect-virt --quiet` + +- 컨테이너 가상화만 감지: + +`systemd-detect-virt --container` + +- 하드웨어 가상화만 감지: + +`systemd-detect-virt --vm` diff --git a/pages.ko/linux/systemd-dissect.md b/pages.ko/linux/systemd-dissect.md new file mode 100644 index 00000000000000..bf2c8d98944b86 --- /dev/null +++ b/pages.ko/linux/systemd-dissect.md @@ -0,0 +1,28 @@ +# systemd-dissect + +> 파일 시스템 OS 디스크 이미지, 특히 Discoverable Disk Images (DDIs)를 검사하고 상호작용. +> 더 많은 정보: . + +- OS 이미지에 대한 일반 정보 표시: + +`systemd-dissect {{경로/대상/image.raw}}` + +- OS 이미지 마운트: + +`systemd-dissect --mount {{경로/대상/image.raw}} {{/mnt/image}}` + +- OS 이미지 언마운트: + +`systemd-dissect --umount {{/mnt/image}}` + +- 이미지 내 파일 목록 나열: + +`systemd-dissect --list {{경로/대상/image.raw}}` + +- OS 이미지를 자동으로 할당된 루프백 블록 장치에 연결하고 경로 출력: + +`systemd-dissect --attach {{경로/대상/image.raw}}` + +- 루프백 블록 장치에서 OS 이미지 분리: + +`systemd-dissect --detach {{경로/대상/장치}}` diff --git a/pages.ko/linux/systemd-escape.md b/pages.ko/linux/systemd-escape.md new file mode 100644 index 00000000000000..ed2a905ff70433 --- /dev/null +++ b/pages.ko/linux/systemd-escape.md @@ -0,0 +1,24 @@ +# systemd-escape + +> systemd 유닛 이름에서 사용할 문자열을 이스케이프합니다. +> 더 많은 정보: . + +- 주어진 텍스트 이스케이프: + +`systemd-escape {{텍스트}}` + +- 이스케이프 처리 역전: + +`systemd-escape --unescape {{텍스트}}` + +- 주어진 텍스트를 경로로 처리: + +`systemd-escape --path {{텍스트}}` + +- 이스케이프된 텍스트에 주어진 접미사 추가: + +`systemd-escape --suffix {{접미사}} {{텍스트}}` + +- 템플릿을 사용하여 이스케이프된 텍스트 삽입: + +`systemd-escape --template {{템플릿}} {{텍스트}}` diff --git a/pages.ko/linux/systemd-firstboot.md b/pages.ko/linux/systemd-firstboot.md new file mode 100644 index 00000000000000..4a114873f7b900 --- /dev/null +++ b/pages.ko/linux/systemd-firstboot.md @@ -0,0 +1,36 @@ +# systemd-firstboot + +> 시스템의 첫 부팅 시 또는 부팅 전에 기본 시스템 설정 초기화. +> 더 많은 정보: . + +- 호스트 시스템의 루트 디렉토리 대신 지정된 디렉토리에서 작동: + +`sudo systemd-firstboot --root={{경로/대상/루트_디렉토리}}` + +- 시스템 키보드 레이아웃 설정: + +`sudo systemd-firstboot --keymap={{키맵}}` + +- 시스템 호스트명 설정: + +`sudo systemd-firstboot --hostname={{호스트명}}` + +- 루트 사용자의 비밀번호 설정: + +`sudo systemd-firstboot --root-password={{비밀번호}}` + +- 특정 기본 설정을 사용자에게 인터랙티브하게 요청: + +`sudo systemd-firstboot --prompt={{설정}}` + +- 관련 파일이 이미 존재해도 강제로 설정 작성: + +`sudo systemd-firstboot --force` + +- `systemd-firstboot`에 의해 설정된 기존 파일 모두 제거: + +`sudo systemd-firstboot --reset` + +- 시스템의 루트 사용자의 비밀번호 제거: + +`sudo systemd-firstboot --delete-root-password` diff --git a/pages.ko/linux/systemd-hwdb.md b/pages.ko/linux/systemd-hwdb.md new file mode 100644 index 00000000000000..05a7556b0020bb --- /dev/null +++ b/pages.ko/linux/systemd-hwdb.md @@ -0,0 +1,24 @@ +# systemd-hwdb + +> 하드웨어 데이터베이스 관리 도구. +> 더 많은 정보: . + +- `/etc/udev`의 바이너리 하드웨어 데이터베이스 업데이트: + +`systemd-hwdb update` + +- 하드웨어 데이터베이스를 조회하고 특정 모달리아스에 대한 결과 출력: + +`systemd-hwdb query {{모달리아스}}` + +- 구문 오류 발생 시 0이 아닌 종료 값을 반환하며 바이너리 하드웨어 데이터베이스 업데이트: + +`systemd-hwdb --strict update` + +- `/usr/lib/udev`의 바이너리 하드웨어 데이터베이스 업데이트: + +`systemd-hwdb --usr update` + +- 지정된 루트 경로의 바이너리 하드웨어 데이터베이스 업데이트: + +`systemd-hwdb --root={{경로/대상/루트}} update` diff --git a/pages.ko/linux/systemd-id128.md b/pages.ko/linux/systemd-id128.md new file mode 100644 index 00000000000000..c71800c6a4ef97 --- /dev/null +++ b/pages.ko/linux/systemd-id128.md @@ -0,0 +1,24 @@ +# systemd-id128 + +> sd-128 식별자를 생성하고 출력. +> 더 많은 정보: . + +- 새로운 랜덤 식별자 생성: + +`systemd-id128 new` + +- 현재 머신의 식별자 출력: + +`systemd-id128 machine-id` + +- 현재 부팅의 식별자 출력: + +`systemd-id128 boot-id` + +- 현재 서비스 호출의 식별자 출력 (systemd 서비스에서 사용 가능): + +`systemd-id128 invocation-id` + +- 새로운 랜덤 식별자를 생성하고 UUID 형식으로 출력 (하이픈으로 구분된 다섯 그룹의 숫자): + +`systemd-id128 new --uuid` diff --git a/pages.ko/linux/systemd-inhibit.md b/pages.ko/linux/systemd-inhibit.md new file mode 100644 index 00000000000000..90f390a63f5bed --- /dev/null +++ b/pages.ko/linux/systemd-inhibit.md @@ -0,0 +1,29 @@ +# systemd-inhibit + +> 특정 전원 상태로의 진입을 금지. +> 인히비터 잠금을 사용하여 시스템의 절전 및 종료 요청을 차단하거나 지연시키고 자동 유휴 처리를 방지할 수 있습니다. +> 더 많은 정보: . + +- 활성화된 모든 인히비션 잠금과 생성 이유 나열: + +`systemd-inhibit --list` + +- 지정된 초 동안 `sleep` 명령으로 시스템 종료 차단: + +`systemd-inhibit --what shutdown sleep {{5}}` + +- 다운로드가 완료될 때까지 시스템이 절전 또는 유휴 상태로 가지 않도록 유지: + +`systemd-inhibit --what sleep:idle wget {{https://example.com/file}}` + +- 스크립트가 종료될 때까지 노트북 덮개 닫힘 스위치 무시: + +`systemd-inhibit --what sleep:handle-lid-switch {{경로/대상/스크립트}}` + +- 명령이 실행되는 동안 전원 버튼 누름 무시: + +`systemd-inhibit --what handle-power-key {{명령}}` + +- 누가, 왜 인히비터를 생성했는지 설명 (기본값: `--who`의 경우 명령과 인수, `--why`의 경우 '알 수 없는 이유'): + +`systemd-inhibit --who {{$USER}} --why {{이유}} --what {{작업}} {{명령}}` diff --git a/pages.ko/linux/systemd-machine-id-setup.md b/pages.ko/linux/systemd-machine-id-setup.md new file mode 100644 index 00000000000000..e7aff6d229d9aa --- /dev/null +++ b/pages.ko/linux/systemd-machine-id-setup.md @@ -0,0 +1,21 @@ +# systemd-machine-id-setup + +> 설치 시 `/etc/machine-id`에 저장된 머신 ID를 프로비저닝된 ID 또는 무작위로 생성된 ID로 초기화. +> 참고: 이러한 명령은 높은 권한이 필요하므로 항상 `sudo`를 사용하여 실행해야 합니다. +> 더 많은 정보: . + +- 생성되거나 커밋된 머신 ID 출력: + +`systemd-machine-id-setup --print` + +- 이미지 정책 지정: + +`systemd-machine-id-setup --image-policy={{your_policy}}` + +- 출력을 JSON 형식으로 표시: + +`sudo systemd-machine-id-setup --json=pretty` + +- 디렉터리 트리 대신 디스크 이미지에서 작업 수행: + +`systemd-machine-id-setup --image={{/경로/대상/이미지}}` diff --git a/pages.ko/linux/systemd-mount.md b/pages.ko/linux/systemd-mount.md new file mode 100644 index 00000000000000..0b774be4efdec3 --- /dev/null +++ b/pages.ko/linux/systemd-mount.md @@ -0,0 +1,32 @@ +# systemd-mount + +> 일시적인 마운트 또는 자동 마운트 포인트를 설정하고 제거. +> 더 많은 정보: . + +- 파일 시스템(이미지 또는 블록 장치)을 `/run/media/system/LABEL`에 마운트. LABEL은 파일 시스템 레이블이거나 레이블이 없는 경우 장치 이름: + +`systemd-mount {{경로/대상/파일_또는_장치}}` + +- 파일 시스템(이미지 또는 블록 장치)을 특정 위치에 마운트: + +`systemd-mount {{경로/대상/파일_또는_장치}} {{경로/대상/마운트_포인트}}` + +- 마운트할 수 있는 파일 시스템을 가진 모든 로컬, 알려진 블록 장치 나열: + +`systemd-mount --list` + +- 첫 번째 접근 시 실제 파일 시스템을 마운트하는 자동 마운트 포인트 생성: + +`systemd-mount --automount yes {{경로/대상/파일_또는_장치}}` + +- 하나 이상의 장치 언마운트: + +`systemd-mount {{[-u|--umount]}} {{경로/대상/마운트_포인트_또는_장치1}} {{경로/대상/마운트_포인트_또는_장치2}}` + +- 특정 파일 시스템 유형으로 파일 시스템(이미지 또는 블록 장치) 마운트: + +`systemd-mount {{[-t|--type]}} {{파일_시스템_유형}} {{경로/대상/파일_또는_장치}} {{경로/대상/마운트_포인트}}` + +- 추가 마운트 옵션으로 파일 시스템(이미지 또는 블록 장치) 마운트: + +`systemd-mount {{[-o|--options]}} {{마운트_옵션}} {{경로/대상/파일_또는_장치}} {{경로/대상/마운트_포인트}}` diff --git a/pages.ko/linux/systemd-notify.md b/pages.ko/linux/systemd-notify.md new file mode 100644 index 00000000000000..0fc4626be5ec27 --- /dev/null +++ b/pages.ko/linux/systemd-notify.md @@ -0,0 +1,17 @@ +# systemd-notify + +> 시작 완료 및 기타 데몬 상태 변경 사항을 서비스 관리자에게 알림. +> 이 명령은 systemd 서비스 스크립트 외부에서는 쓸모가 없습니다. +> 더 많은 정보: . + +- 서비스가 초기화를 완료하고 완전히 시작되었음을 systemd에 알림. 서비스가 들어오는 요청을 처리할 준비가 되었을 때 호출해야 함: + +`systemd-notify --booted` + +- 서비스가 들어오는 연결을 처리하거나 작업을 수행할 준비가 되었음을 systemd에 신호: + +`systemd-notify --ready` + +- systemd에 사용자 정의 상태 메시지 제공 (`systemctl status`에 의해 표시됨): + +`systemd-notify --status="{{여기에 사용자 정의 상태 메시지를 추가하세요...}}"` diff --git a/pages.ko/linux/systemd-nspawn.md b/pages.ko/linux/systemd-nspawn.md new file mode 100644 index 00000000000000..016e5a4a3f2d23 --- /dev/null +++ b/pages.ko/linux/systemd-nspawn.md @@ -0,0 +1,20 @@ +# systemd-nspawn + +> 경량 컨테이너에서 명령이나 운영 체제를 실행. +> 더 많은 정보: . + +- 컨테이너에서 명령 실행: + +`systemd-nspawn --directory {{경로/대상/컨테이너_루트}}` + +- 컨테이너에서 전체 Linux 기반 운영 체제 실행: + +`systemd-nspawn --boot --directory {{경로/대상/컨테이너_루트}}` + +- 지정된 명령을 컨테이너에서 PID 2로 실행 (PID 1 대신)하고, 초기화 프로세스 스텁 사용: + +`systemd-nspawn --directory {{경로/대상/컨테이너_루트}} --as-pid2` + +- 머신 이름과 호스트 이름 지정: + +`systemd-nspawn --machine={{컨테이너_이름}} --hostname={{컨테이너_호스트}} --directory {{경로/대상/컨테이너_루트}}` diff --git a/pages.ko/linux/systemd-path.md b/pages.ko/linux/systemd-path.md new file mode 100644 index 00000000000000..003c0a377da53e --- /dev/null +++ b/pages.ko/linux/systemd-path.md @@ -0,0 +1,20 @@ +# systemd-path + +> 시스템 및 사용자 경로를 나열하고 조회. +> 더 많은 정보: . + +- 알려진 경로와 현재 값을 나열: + +`systemd-path` + +- 지정된 경로를 조회하고 값을 표시: + +`systemd-path "{{경로_이름}}"` + +- 출력된 경로에 `{{suffix_string}}` 접미사를 추가: + +`systemd-path --suffix {{suffix_string}}` + +- 짧은 버전 문자열을 출력하고 종료: + +`systemd-path --version` diff --git a/pages.ko/linux/systemd-repart.md b/pages.ko/linux/systemd-repart.md new file mode 100644 index 00000000000000..79653addf97a9a --- /dev/null +++ b/pages.ko/linux/systemd-repart.md @@ -0,0 +1,18 @@ +# systemd-repart + +> 자동으로 파티션을 확장하고 추가. +> repart.d에 설명된 구성 파일을 기반으로 파티션을 확장하고 추가합니다. +> 파티션의 파일 시스템 크기를 자동으로 조정하지 않습니다. 파일 시스템 확장을 위해 systemd-growfs를 참조하세요. +> 더 많은 정보: . + +- 루트 파티션 (/)을 사용 가능한 모든 디스크 공간으로 확장: + +`systemd-repart` + +- 변경 사항을 적용하지 않고 보기: + +`systemd-repart --dry-run=yes` + +- 루트 파티션 크기를 10기가바이트로 확장: + +`systemd-repart --size=10G --root /` diff --git a/pages.ko/linux/systemd-resolve.md b/pages.ko/linux/systemd-resolve.md new file mode 100644 index 00000000000000..726e82a8019004 --- /dev/null +++ b/pages.ko/linux/systemd-resolve.md @@ -0,0 +1,9 @@ +# systemd-resolve + +> 도메인 이름, IPv4 및 IPv6 주소, DNS 리소스 레코드 및 서비스를 해석. +> 참고: 이 도구는 `systemd`의 새로운 버전에서 `resolvectl`로 이름이 변경되었습니다. +> 더 많은 정보: . + +- `resolvectl`에 대한 문서 보기: + +`tldr resolvectl` diff --git a/pages.ko/linux/systemd-run.md b/pages.ko/linux/systemd-run.md new file mode 100644 index 00000000000000..22ee7ae99e3eee --- /dev/null +++ b/pages.ko/linux/systemd-run.md @@ -0,0 +1,36 @@ +# systemd-run + +> 프로그램을 일시적 범위 단위, 서비스 단위, 경로, 소켓 또는 타이머로 트리거된 서비스 단위로 실행. +> 더 많은 정보: . + +- 일시적 서비스를 시작: + +`sudo systemd-run {{명령어}} {{인수1 인수2 ...}}` + +- 현재 사용자의 서비스 관리자에서 (권한 없이) 일시적 서비스를 시작: + +`systemd-run --user {{명령어}} {{인수1 인수2 ...}}` + +- 사용자 정의 단위 이름과 설명을 사용하여 일시적 서비스를 시작: + +`sudo systemd-run --unit={{이름}} --description={{문자열}} {{명령어}} {{인수1 인수2 ...}}` + +- 종료 후 정리되지 않는 일시적 서비스와 사용자 정의 환경 변수를 사용하여 시작: + +`sudo systemd-run --remain-after-exit --set-env={{이름}}={{값}} {{명령어}} {{인수1 인수2 ...}}` + +- 주기적으로 일시적 서비스를 실행하는 일시적 타이머 시작 (캘린더 이벤트 형식은 `man systemd.time` 참조): + +`sudo systemd-run --on-calendar={{캘린더_이벤트}} {{명령어}} {{인수1 인수2 ...}}` + +- 터미널을 프로그램과 공유하여 상호작용 입력/출력을 허용하고 프로그램 종료 후 실행 세부정보를 유지: + +`systemd-run --remain-after-exit --pty {{명령어}}` + +- 프로세스의 속성 (예: CPUQuota, MemoryMax)을 설정하고 종료될 때까지 대기: + +`systemd-run --property MemoryMax={{메모리_바이트}} --property CPUQuota={{CPU_시간_비율}}% --wait {{명령어}}` + +- 셸 파이프라인에서 프로그램 사용: + +`{{명령어1}} | systemd-run --pipe {{명령어2}} | {{명령어3}}` diff --git a/pages.ko/linux/systemd-socket-activate.md b/pages.ko/linux/systemd-socket-activate.md new file mode 100644 index 00000000000000..0c86453fb34f52 --- /dev/null +++ b/pages.ko/linux/systemd-socket-activate.md @@ -0,0 +1,24 @@ +# systemd-socket-activate + +> systemd 서비스의 소켓 활성화. +> 더 많은 정보: . + +- 특정 소켓이 연결되었을 때 서비스를 활성화: + +`systemd-socket-activate {{경로/대상/socket.service}}` + +- 서비스에 대해 여러 소켓을 활성화: + +`systemd-socket-activate {{경로/대상/socket1.service}} {{경로/대상/socket2.service}}` + +- 활성화되는 서비스에 환경 변수를 전달: + +`{{SYSTEMD_SOCKET_ACTIVATION=1}} systemd-socket-activate {{경로/대상/socket.service}}` + +- 알림 소켓과 함께 서비스를 활성화: + +`systemd-socket-activate {{경로/대상/socket.socket}} {{경로/대상/service.service}}` + +- 지정된 포트로 서비스를 활성화: + +`systemd-socket-activate {{경로/대상/socket.service}} -l {{8080}}` diff --git a/pages.ko/linux/systemd-stdio-bridge.md b/pages.ko/linux/systemd-stdio-bridge.md new file mode 100644 index 00000000000000..b30e917d879316 --- /dev/null +++ b/pages.ko/linux/systemd-stdio-bridge.md @@ -0,0 +1,21 @@ +# systemd-stdio-bridge + +> `stdin`/`stdout`와 D-Bus 사이에 프록시를 구현합니다. +> 참고: 시작 시 `stdin`/`stdout`을 통해 열린 연결을 수신하도록 되어 있으며, 지정된 버스로 새로운 연결을 생성합니다. +> 더 많은 정보: . + +- `stdin`/`stdout`을 로컬 시스템 버스로 전달: + +`systemd-stdio-bridge` + +- `stdin`/`stdout`을 특정 사용자의 D-Bus로 전달: + +`systemd-stdio-bridge --{{사용자_명}}` + +- 특정 컨테이너 내에서 `stdin`/`stdout`을 로컬 시스템 버스로 전달: + +`systemd-stdio-bridge --machine={{mycontainer}}` + +- 사용자 지정 D-Bus 주소로 `stdin`/`stdout` 전달: + +`systemd-stdio-bridge --bus-path=unix:path={{/custom/dbus/socket}}` diff --git a/pages.ko/linux/systemd-sysext.md b/pages.ko/linux/systemd-sysext.md new file mode 100644 index 00000000000000..251dc4f4fec6ad --- /dev/null +++ b/pages.ko/linux/systemd-sysext.md @@ -0,0 +1,24 @@ +# systemd-sysext + +> 시스템 확장 이미지를 활성화하거나 비활성화합니다. +> 더 많은 정보: . + +- 설치된 확장 이미지 나열: + +`systemd-sysext list` + +- 시스템 확장 이미지를 `/usr/` 및 `/opt/`에 병합: + +`systemd-sysext merge` + +- 현재 병합 상태 확인: + +`systemd-sysext status` + +- 현재 설치된 모든 시스템 확장 이미지를 `/usr/` 및 `/opt/`에서 제거: + +`systemd-sysext unmerge` + +- 시스템 확장 이미지 새로 고침 (`unmerge` 및 `merge`의 조합): + +`systemd-sysext refresh` diff --git a/pages.ko/linux/systemd-sysusers.md b/pages.ko/linux/systemd-sysusers.md new file mode 100644 index 00000000000000..9f962d71b8bf07 --- /dev/null +++ b/pages.ko/linux/systemd-sysusers.md @@ -0,0 +1,17 @@ +# systemd-sysusers + +> 시스템 사용자 및 그룹 생성. +> 구성 파일이 지정되지 않으면 `sysusers.d` 디렉토리의 파일이 사용됩니다. +> 더 많은 정보: . + +- 특정 구성 파일에서 사용자 및 그룹 생성: + +`systemd-sysusers {{경로/대상/파일}}` + +- 구성 파일을 처리하고 실제로 실행하지 않고 수행될 작업을 출력: + +`systemd-sysusers --dry-run {{경로/대상/파일}}` + +- 모든 구성 파일의 내용을 출력 (각 파일 앞에는 해당 파일 이름이 주석으로 출력됨): + +`systemd-sysusers --cat-config` diff --git a/pages.ko/linux/systemd-tmpfiles.md b/pages.ko/linux/systemd-tmpfiles.md new file mode 100644 index 00000000000000..9b827471424c14 --- /dev/null +++ b/pages.ko/linux/systemd-tmpfiles.md @@ -0,0 +1,25 @@ +# systemd-tmpfiles + +> 휘발성 및 임시 파일과 디렉토리를 생성, 삭제 및 정리합니다. +> 이 명령어는 시스템 부팅 시 systemd 서비스에 의해 자동으로 호출되며, 수동으로 실행할 필요는 거의 없습니다. +> 더 많은 정보: . + +- 설정에 따라 파일과 디렉토리 생성: + +`systemd-tmpfiles --create` + +- 나이 매개변수가 설정된 파일과 디렉토리 정리: + +`systemd-tmpfiles --clean` + +- 설정에 따라 파일과 디렉토리 제거: + +`systemd-tmpfiles --remove` + +- 사용자별 설정 적용: + +`systemd-tmpfiles --create --user` + +- 초기 부팅 시 실행할 라인 실행: + +`systemd-tmpfiles --create --boot` diff --git a/pages.ko/linux/systemd-tty-ask-password-agent.md b/pages.ko/linux/systemd-tty-ask-password-agent.md new file mode 100644 index 00000000000000..da3fce552e9cb9 --- /dev/null +++ b/pages.ko/linux/systemd-tty-ask-password-agent.md @@ -0,0 +1,20 @@ +# systemd-tty-ask-password-agent + +> 보류 중인 systemd 비밀번호 요청 목록을 표시하거나 처리합니다. +> 더 많은 정보: . + +- 현재 보류 중인 모든 시스템 비밀번호 요청 목록 표시: + +`systemd-tty-ask-password-agent --list` + +- 비밀번호 요청을 지속적으로 처리: + +`systemd-tty-ask-password-agent --watch` + +- 호출하는 TTY에서 사용자에게 질문하여 현재 보류 중인 시스템 비밀번호 요청 처리: + +`systemd-tty-ask-password-agent --query` + +- 호출하는 TTY에서 사용자에게 질문하는 대신 wall로 비밀번호 요청 전달: + +`systemd-tty-ask-password-agent --wall` diff --git a/pages.ko/linux/systemd-umount.md b/pages.ko/linux/systemd-umount.md new file mode 100644 index 00000000000000..865304ea55b148 --- /dev/null +++ b/pages.ko/linux/systemd-umount.md @@ -0,0 +1,7 @@ +# systemd-umount + +> 이 명령은 `systemd-mount --umount`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr systemd-mount` diff --git a/pages.ko/linux/systool.md b/pages.ko/linux/systool.md new file mode 100644 index 00000000000000..794dc12935c166 --- /dev/null +++ b/pages.ko/linux/systool.md @@ -0,0 +1,17 @@ +# systool + +> 버스 및 클래스별 시스템 장치 정보를 확인합니다. +> 이 명령어는 `sysfs` 패키지의 일부입니다. +> 더 많은 정보: . + +- 버스의 장치 속성을 모두 나열 (예: `pci`, `usb`). 모든 버스를 보려면 `ls /sys/bus` 사용: + +`systool -b {{버스}} -v` + +- 장치 클래스의 모든 속성을 나열 (예: `drm`, `block`). 모든 클래스를 보려면 `ls /sys/class` 사용: + +`systool -c {{클래스}} -v` + +- 버스의 장치 드라이버만 표시 (예: `pci`, `usb`): + +`systool -b {{버스}} -D` diff --git a/pages.ko/linux/tailf.md b/pages.ko/linux/tailf.md new file mode 100644 index 00000000000000..030cbb7e225c08 --- /dev/null +++ b/pages.ko/linux/tailf.md @@ -0,0 +1,8 @@ +# tailf + +> 이 명령은 `tail -f`로 대체되었습니다. +> 더 많은 정보: . + +- 권장 대체 명령에 대한 문서 보기: + +`tldr tail` diff --git a/pages.ko/linux/talk.md b/pages.ko/linux/talk.md new file mode 100644 index 00000000000000..a0cef73d654bc9 --- /dev/null +++ b/pages.ko/linux/talk.md @@ -0,0 +1,24 @@ +# talk + +> 시각적 커뮤니케이션 프로그램으로, 사용자의 터미널에서 다른 사용자의 터미널로 라인을 복사합니다. +> 더 많은 정보: . + +- 동일한 기기에서 사용자의 talk 세션 시작: + +`talk {{사용자명}}` + +- 동일한 기기의 tty3에 로그인된 사용자와 talk 세션 시작: + +`talk {{사용자명}} {{tty3}}` + +- 원격 기기의 사용자와 talk 세션 시작: + +`talk {{사용자명}}@{{호스트명}}` + +- 양쪽 터미널 화면의 텍스트 지우기: + +`` + +- talk 세션 종료: + +`` diff --git a/pages.ko/linux/taskset.md b/pages.ko/linux/taskset.md new file mode 100644 index 00000000000000..a89478a5b15a80 --- /dev/null +++ b/pages.ko/linux/taskset.md @@ -0,0 +1,24 @@ +# taskset + +> 프로세스의 CPU 친화도를 가져오거나 설정하거나 정의된 CPU 친화도로 새 프로세스를 시작합니다. +> 더 많은 정보: . + +- 실행 중인 프로세스의 PID로 CPU 친화도 가져오기: + +`taskset --pid --cpu-list {{pid}}` + +- 실행 중인 프로세스의 PID로 CPU 친화도 설정: + +`taskset --pid --cpu-list {{cpu_id}} {{pid}}` + +- 단일 CPU에 대한 친화도로 새 프로세스 시작: + +`taskset --cpu-list {{cpu_id}} {{명령어}}` + +- 여러 비연속 CPU에 대한 친화도로 새 프로세스 시작: + +`taskset --cpu-list {{cpu_id_1}},{{cpu_id_2}},{{cpu_id_3}}` + +- CPU 1부터 4까지의 친화도로 새 프로세스 시작: + +`taskset --cpu-list {{cpu_id_1}}-{{cpu_id_4}}` diff --git a/pages.ko/linux/tc.md b/pages.ko/linux/tc.md new file mode 100644 index 00000000000000..586f8ade3814ca --- /dev/null +++ b/pages.ko/linux/tc.md @@ -0,0 +1,32 @@ +# tc + +> 트래픽 제어 설정을 표시/조작합니다. +> 더 많은 정보: . + +- 아웃바운드 패킷에 일정한 네트워크 지연 추가: + +`sudo tc {{[q|qdisc]}} {{[a|add]}} dev {{eth0}} root netem delay {{지연_시간_밀리초}}ms` + +- 아웃바운드 패킷에 정규 분포된 네트워크 지연 추가: + +`sudo tc {{[q|qdisc]}} {{[a|add]}} dev {{eth0}} root netem delay {{평균_지연_시간_밀리초}}ms {{지연_표준_편차_밀리초}}ms` + +- 일부 패킷에 손상/손실/중복 추가: + +`sudo tc {{[q|qdisc]}} {{[a|add]}} dev {{eth0}} root netem {{손상|손실|중복}} {{효과_비율}}%` + +- 대역폭, 버스트 속도 및 최대 지연 시간 제한: + +`sudo tc {{[q|qdisc]}} {{[a|add]}} dev eth0 root tbf rate {{최대_대역폭_메가비트}}mbit burst {{최대_버스트_속도_킬로비트}}kbit latency {{드롭_전_최대_지연_시간_밀리초}}ms` + +- 활성 트래픽 제어 정책 표시: + +`tc {{[q|qdisc]}} {{[s|show]}} dev {{eth0}}` + +- 모든 트래픽 제어 규칙 삭제: + +`sudo tc {{[q|qdisc]}} {{[d|delete]}} dev {{eth0}}` + +- 트래픽 제어 규칙 변경: + +`sudo tc {{[q|qdisc]}} {{[c|change]}} dev {{eth0}} root netem {{정책}} {{정책_매개변수}}` diff --git a/pages.ko/linux/tcpflow.md b/pages.ko/linux/tcpflow.md new file mode 100644 index 00000000000000..59944b0284eb7f --- /dev/null +++ b/pages.ko/linux/tcpflow.md @@ -0,0 +1,8 @@ +# tcpflow + +> TCP 트래픽을 캡처하여 디버깅 및 분석합니다. +> 더 많은 정보: . + +- 특정 인터페이스와 포트의 모든 데이터 표시: + +`tcpflow -c -i {{eth0}} port {{80}}` diff --git a/pages.ko/linux/tcpick.md b/pages.ko/linux/tcpick.md new file mode 100644 index 00000000000000..18d767ef226333 --- /dev/null +++ b/pages.ko/linux/tcpick.md @@ -0,0 +1,17 @@ +# tcpick + +> 패킷 스니핑 및 네트워크 트래픽 분석 도구. +> TCP 연결 및 데이터를 캡처하고 표시할 수 있습니다. 또한 인터페이스, 호스트, 포트의 네트워크 트래픽을 모니터링할 수 있습니다. +> 더 많은 정보: . + +- 특정 [i]인터페이스, 포트 및 호스트의 트래픽 캡처: + +`sudo tcpick -i {{인터페이스}} -C -h {{호스트}} -p {{포트}}` + +- 특정 호스트의 포트 80(HTTP) 트래픽 캡처: + +`sudo tcpick -i {{eth0}} -C -h {{192.168.1.100}} -p {{80}}` + +- 도움말 표시: + +`tcpick --help` diff --git a/pages.ko/linux/tcpkill.md b/pages.ko/linux/tcpkill.md new file mode 100644 index 00000000000000..2c586b3f8f4c14 --- /dev/null +++ b/pages.ko/linux/tcpkill.md @@ -0,0 +1,8 @@ +# tcpkill + +> 지정된 진행 중인 TCP 연결을 종료합니다. +> 더 많은 정보: . + +- 지정된 인터페이스, 호스트 및 포트에서 진행 중인 연결 종료: + +`tcpkill -i {{eth1}} host {{192.95.4.27}} and port {{2266}}` diff --git a/pages.ko/linux/tcptraceroute.md b/pages.ko/linux/tcptraceroute.md new file mode 100644 index 00000000000000..eb21fd73baa129 --- /dev/null +++ b/pages.ko/linux/tcptraceroute.md @@ -0,0 +1,28 @@ +# tcptraceroute + +> TCP 패킷을 사용하는 traceroute 구현. +> 더 많은 정보: . + +- 호스트까지의 경로 추적: + +`tcptraceroute {{호스트}}` + +- 목적지 포트와 패킷 길이(바이트 단위) 지정: + +`tcptraceroute {{호스트}} {{목적지_포트}} {{패킷_길이}}` + +- 로컬 소스 포트와 소스 주소 지정: + +`tcptraceroute {{호스트}} -p {{소스_포트}} -s {{소스_주소}}` + +- 첫 번째 및 최대 TTL 설정: + +`tcptraceroute {{호스트}} -f {{첫번째_ttl}} -m {{최대_ttl}}` + +- 대기 시간과 홉당 쿼리 수 지정: + +`tcptraceroute {{호스트}} -w {{대기_시간}} -q {{쿼리_수}}` + +- 인터페이스 지정: + +`tcptraceroute {{호스트}} -i {{인터페이스}}` diff --git a/pages.ko/linux/telinit.md b/pages.ko/linux/telinit.md new file mode 100644 index 00000000000000..e46a1c58050c33 --- /dev/null +++ b/pages.ko/linux/telinit.md @@ -0,0 +1,29 @@ +# telinit + +> SysV 런레벨 변경. +> SysV 런레벨 개념은 더 이상 사용되지 않으므로 런레벨 요청은 시스템 단위 활성화 요청으로 투명하게 변환됩니다. +> 더 많은 정보: . + +- 시스템 전원 끄기: + +`telinit 0` + +- 시스템 재부팅: + +`telinit 6` + +- SysV 런레벨 변경: + +`telinit {{2|3|4|5}}` + +- 복구 모드로 변경: + +`telinit 1` + +- 데몬 구성 다시 로드: + +`telinit q` + +- 재부팅/전원 끄기 전 사전 알림 메시지 전송 안 함 (6/0): + +`telinit --no-wall {{값}}` diff --git a/pages.ko/linux/terminator.md b/pages.ko/linux/terminator.md new file mode 100644 index 00000000000000..6735dd123fd3f2 --- /dev/null +++ b/pages.ko/linux/terminator.md @@ -0,0 +1,24 @@ +# terminator + +> 여러 GNOME 터미널을 하나의 창에서 배열. +> 더 많은 정보: . + +- `terminator` 창 시작: + +`terminator` + +- 전체 화면 창으로 시작: + +`terminator -f` + +- 터미널을 가로로 분할: + +`` + +- 터미널을 세로로 분할: + +`` + +- 새 탭 열기: + +`` diff --git a/pages.ko/linux/termusic.md b/pages.ko/linux/termusic.md new file mode 100644 index 00000000000000..9785ad8c71c26d --- /dev/null +++ b/pages.ko/linux/termusic.md @@ -0,0 +1,17 @@ +# termusic + +> Rust로 작성된 터미널 음악 플레이어로, vim과 유사한 키 바인딩을 사용합니다. +> 같이 보기: `cmus`, `ncmpcpp`, `audacious`. +> 더 많은 정보: . + +- 특정 폴더로 termusic 열기 (`~/.config/termusic/config.toml`에서 영구적으로 설정 가능): + +`termusic {{경로/대상/폴더}}` + +- 특정 음악 파일의 앨범 커버 표시 비활성화: + +`termusic -c {{경로/대상/음악_파일}}` + +- 도움말 표시: + +`termusic --help` diff --git a/pages.ko/linux/terraria.md b/pages.ko/linux/terraria.md new file mode 100644 index 00000000000000..db367b7ecf343d --- /dev/null +++ b/pages.ko/linux/terraria.md @@ -0,0 +1,12 @@ +# Terraria + +> 무인 Terraria 서버를 생성하고 시작합니다. +> 더 많은 정보: . + +- 대화형 서버 설정 시작: + +`{{경로/대상/TerrariaServer}}` + +- Terraria 서버 시작: + +`{{경로/대상/TerrariaServer}} -world {{경로/대상/world.wld}}` diff --git a/pages.ko/linux/tftp.md b/pages.ko/linux/tftp.md new file mode 100644 index 00000000000000..ad6655ebd15b5a --- /dev/null +++ b/pages.ko/linux/tftp.md @@ -0,0 +1,32 @@ +# tftp + +> Trivial File Transfer Protocol 클라이언트. +> 더 많은 정보: . + +- TFTP 서버의 IP 주소와 포트를 지정하여 연결: + +`tftp {{서버_IP}} {{포트}}` + +- TFTP 서버에 연결하고 TFTP [c]명령 실행: + +`tftp {{서버_IP}} -c {{명령}}` + +- IPv6를 사용하여 TFTP 서버에 연결하고 시작 포트를 [R]범위 내로 강제 설정: + +`tftp {{서버_IP}} -6 -R {{포트}}:{{포트}}` + +- tftp 클라이언트를 통해 전송 모드를 바이너리 또는 ASCII로 설정: + +`mode {{binary|ascii}}` + +- tftp 클라이언트를 통해 서버로부터 파일 다운로드: + +`get {{파일}}` + +- tftp 클라이언트를 통해 서버로 파일 업로드: + +`put {{파일}}` + +- tftp 클라이언트 종료: + +`quit` diff --git a/pages.ko/linux/thunar.md b/pages.ko/linux/thunar.md new file mode 100644 index 00000000000000..1b60a9e3985e33 --- /dev/null +++ b/pages.ko/linux/thunar.md @@ -0,0 +1,17 @@ +# thunar + +> XFCE 데스크탑 환경을 위한 그래픽 파일 관리자. +> 같이 보기: `caja`, `dolphin`, `nautilus`, `mc`. +> 더 많은 정보: . + +- 현재 디렉토리를 보여주는 새 창 열기: + +`thunar` + +- 대량 이름 변경 도구 열기: + +`thunar --bulk-rename` + +- 열린 모든 thunar 창 닫기: + +`thunar --quit` diff --git a/pages.ko/linux/tic.md b/pages.ko/linux/tic.md new file mode 100644 index 00000000000000..1be263956ac510 --- /dev/null +++ b/pages.ko/linux/tic.md @@ -0,0 +1,16 @@ +# tic + +> terminfo를 컴파일하고 ncurses에 설치합니다. +> 더 많은 정보: . + +- 터미널에 대한 terminfo를 컴파일하고 설치: + +`tic -xe {{터미널}} {{경로/대상/터미널.info}}` + +- terminfo 파일의 오류 확인: + +`tic -c {{경로/대상/터미널.info}}` + +- 데이터베이스 위치 출력: + +`tic -D` diff --git a/pages.ko/linux/timedatectl.md b/pages.ko/linux/timedatectl.md new file mode 100644 index 00000000000000..e103c02eaafd61 --- /dev/null +++ b/pages.ko/linux/timedatectl.md @@ -0,0 +1,28 @@ +# timedatectl + +> 시스템 시간과 날짜를 제어합니다. +> 더 많은 정보: . + +- 현재 시스템 시계 시간 확인: + +`timedatectl` + +- 시스템 시계의 로컬 시간을 직접 설정: + +`timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"` + +- 사용 가능한 시간대 나열: + +`timedatectl list-timezones` + +- 시스템 시간대 설정: + +`timedatectl set-timezone {{시간대}}` + +- 네트워크 시간 프로토콜(NTP) 동기화 활성화: + +`timedatectl set-ntp on` + +- 하드웨어 시계 시간 기준을 로컬 시간으로 변경: + +`timedatectl set-local-rtc 1` diff --git a/pages.ko/linux/timeshift.md b/pages.ko/linux/timeshift.md new file mode 100644 index 00000000000000..2af4ca16a79fc1 --- /dev/null +++ b/pages.ko/linux/timeshift.md @@ -0,0 +1,28 @@ +# timeshift + +> 시스템 복원 도구. +> 더 많은 정보: . + +- 스냅샷 나열: + +`sudo timeshift --list` + +- 새 스냅샷 생성 (예약된 경우): + +`sudo timeshift --check` + +- 새 스냅샷 생성 (예약되지 않은 경우에도): + +`sudo timeshift --create` + +- 스냅샷 복원 (상호작용을 통해 복원할 스냅샷 선택): + +`sudo timeshift --restore` + +- 특정 스냅샷 복원: + +`sudo timeshift --restore --snapshot '{{스냅샷}}'` + +- 특정 스냅샷 삭제: + +`sudo timeshift --delete --snapshot '{{스냅샷}}'` diff --git a/pages.ko/linux/tlp-stat.md b/pages.ko/linux/tlp-stat.md new file mode 100644 index 00000000000000..174562ea1c4650 --- /dev/null +++ b/pages.ko/linux/tlp-stat.md @@ -0,0 +1,37 @@ +# tlp-stat + +> TLP 상태 보고서 생성. +> 같이 보기: `tlp`. +> 더 많은 정보: . + +- 구성 및 모든 활성 설정으로 상태 보고서 생성: + +`sudo tlp-stat` + +- 다양한 장치에 대한 정보 표시: + +`sudo tlp-stat --{{battery|disk|processor|graphics|pcie|rfkill|usb}}` + +- 장치에 대해 자세한 정보 표시(자세한 정보 지원 장치만): + +`sudo tlp-stat --verbose --{{battery|processor|pcie|usb}}` + +- 구성 표시: + +`sudo tlp-stat {{[-c|--config]}}` + +- 전원 공급 `udev` 이벤트 모니터링: + +`sudo tlp-stat {{[-P|--pev]}}` + +- 전원 공급 진단 표시: + +`sudo tlp-stat --psup` + +- 온도 및 팬 속도 표시: + +`sudo tlp-stat {{[-t|--temp]}}` + +- 일반 시스템 정보 표시: + +`sudo tlp-stat {{[-s|--system]}}` diff --git a/pages.ko/linux/tlp.md b/pages.ko/linux/tlp.md new file mode 100644 index 00000000000000..5ae670bf891c7c --- /dev/null +++ b/pages.ko/linux/tlp.md @@ -0,0 +1,17 @@ +# tlp + +> Linux용 고급 전원 관리 도구. +> 같이 보기: `tlp-stat`. +> 더 많은 정보: . + +- 설정 적용 (현재 전원 공급원에 따라): + +`sudo tlp start` + +- 배터리 설정 적용 (현재 전원 공급원을 무시하고): + +`sudo tlp bat` + +- AC 설정 적용 (현재 전원 공급원을 무시하고): + +`sudo tlp ac` diff --git a/pages.ko/linux/tod.md b/pages.ko/linux/tod.md new file mode 100644 index 00000000000000..08f3ba6d4104be --- /dev/null +++ b/pages.ko/linux/tod.md @@ -0,0 +1,33 @@ +# tod + +> Rust로 작성된 간단한 Todoist 클라이언트. +> 간단한 입력을 받아 인박스 또는 다른 프로젝트에 저장합니다. 자연어 처리를 활용하여 기한, 태그 등을 할당합니다. +> 더 많은 정보: . + +- 프로젝트 가져오기(프로젝트 프롬프트를 활성화하려면 필요): + +`tod project import` + +- 기한과 함께 빠르게 작업 생성: + +`tod --quickadd {{오늘 우유 더 사기}}` + +- 새 작업 생성(내용 및 프로젝트를 입력하라는 메시지가 표시됨): + +`tod task create` + +- 특정 프로젝트에 작업 생성: + +`tod task create --content "{{Rust 더 작성하기}}" --project {{코드}}` + +- 특정 프로젝트의 다음 작업 가져오기: + +`tod task next` + +- 작업 일정 가져오기: + +`tod task list --scheduled --project {{작업}}` + +- 작업에 대한 모든 작업 가져오기: + +`tod task list --project {{작업}}` diff --git a/pages.ko/linux/togglesebool.md b/pages.ko/linux/togglesebool.md new file mode 100644 index 00000000000000..440a212ac597b4 --- /dev/null +++ b/pages.ko/linux/togglesebool.md @@ -0,0 +1,9 @@ +# togglesebool + +> SELinux 부울의 현재 (비영구적) 값을 변경. +> 참고: 이 도구는 `setsebool`로 대체되어 더 이상 사용되지 않거나 제거되었습니다. +> 더 많은 정보: . + +- 지정된 부울의 현재 (비영구적) 값을 변경: + +`sudo togglesebool {{virt_use_samba virt_use_usb ...}}` diff --git a/pages.ko/linux/toilet.md b/pages.ko/linux/toilet.md new file mode 100644 index 00000000000000..52b30b76ce800c --- /dev/null +++ b/pages.ko/linux/toilet.md @@ -0,0 +1,20 @@ +# toilet + +> ASCII 아트 폰트를 표시합니다. +> 더 많은 정보: . + +- 주어진 텍스트에 대한 ASCII 아트 생성: + +`toilet {{입력_텍스트}}` + +- 사용자 지정 폰트 파일을 사용하여 ASCII 아트 생성: + +`toilet {{입력_텍스트}} -f {{폰트_파일명}}` + +- 필터를 사용하여 ASCII 아트 생성: + +`toilet {{입력_텍스트}} --filter {{필터_이름}}` + +- 사용 가능한 toilet 필터 표시: + +`toilet --filter list` diff --git a/pages.ko/linux/tomb.md b/pages.ko/linux/tomb.md new file mode 100644 index 00000000000000..0fd337325153bb --- /dev/null +++ b/pages.ko/linux/tomb.md @@ -0,0 +1,36 @@ +# tomb + +> 암호화된 저장 디렉터리를 관리하여 파일 시스템에서 안전하게 이동하고 숨길 수 있습니다. +> 더 많은 정보: . + +- 초기 크기 100MB로 새로운 톰 생성: + +`tomb dig -s {{100}} {{암호화된_디렉터리.tomb}}` + +- 톰을 잠글 수 있는 새로운 키 파일 생성; 사용자에게 키에 대한 비밀번호를 요청함: + +`tomb forge {{암호화된_디렉터리.tomb.key}}` + +- 톰이 키 생성 허용하지 않아도(스왑으로 인해) 강제로 새로운 키 생성: + +`tomb forge {{암호화된_디렉터리.tomb.key}} -f` + +- `forge`로 생성한 키를 사용하여 빈 톰 초기화 및 잠금: + +`tomb lock {{암호화된_디렉터리.tomb}} -k {{암호화된_디렉터리.tomb.key}}` + +- 톰을 키를 사용하여 마운트(기본적으로 `/media`에), 일반 파일 시스템 디렉터리처럼 사용 가능하게 함: + +`tomb open {{암호화된_디렉터리.tomb}} -k {{암호화된_디렉터리.tomb.key}}` + +- 톰 닫기(프로세스가 사용 중이면 실패): + +`tomb close {{암호화된_디렉터리.tomb}}` + +- 모든 열린 톰을 강제로 닫고, 사용 중인 애플리케이션 종료: + +`tomb slam all` + +- 열린 모든 톰 나열: + +`tomb list` diff --git a/pages.ko/linux/toolbox-create.md b/pages.ko/linux/toolbox-create.md new file mode 100644 index 00000000000000..ebedf9913f387c --- /dev/null +++ b/pages.ko/linux/toolbox-create.md @@ -0,0 +1,24 @@ +# toolbox create + +> 새 `toolbox` 컨테이너 생성. +> 더 많은 정보: . + +- 특정 배포판에 대한 `toolbox` 컨테이너 생성: + +`toolbox create --distro {{배포판}}` + +- 현재 배포판의 특정 릴리스에 대한 `toolbox` 컨테이너 생성: + +`toolbox create --release {{릴리스}}` + +- 사용자 지정 이미지로 `toolbox` 컨테이너 생성: + +`toolbox create --image {{이름}}` + +- 사용자 지정 Fedora 이미지에서 `toolbox` 컨테이너 생성: + +`toolbox create --image {{registry.fedoraproject.org/fedora-toolbox:39}}` + +- Fedora 39의 기본 이미지를 사용하여 `toolbox` 컨테이너 생성: + +`toolbox create --distro {{fedora}} --release {{f39}}` diff --git a/pages.ko/linux/toolbox-enter.md b/pages.ko/linux/toolbox-enter.md new file mode 100644 index 00000000000000..bb733cafab87ff --- /dev/null +++ b/pages.ko/linux/toolbox-enter.md @@ -0,0 +1,17 @@ +# toolbox enter + +> 대화형 사용을 위해 `toolbox` 컨테이너에 진입. +> 같이 보기: `toolbox run`. +> 더 많은 정보: . + +- 특정 배포판의 기본 이미지를 사용하여 `toolbox` 컨테이너에 진입: + +`toolbox enter --distro {{배포판}}` + +- 현재 배포판의 특정 릴리스의 기본 이미지를 사용하여 `toolbox` 컨테이너에 진입: + +`toolbox enter --release {{릴리스}}` + +- Fedora 39의 기본 이미지를 사용하여 toolbox 컨테이너에 진입: + +`toolbox enter --distro {{fedora}} --release {{f39}}` diff --git a/pages.ko/linux/toolbox-help.md b/pages.ko/linux/toolbox-help.md new file mode 100644 index 00000000000000..bf4553ad8f5830 --- /dev/null +++ b/pages.ko/linux/toolbox-help.md @@ -0,0 +1,12 @@ +# toolbox help + +> `toolbox`에 대한 도움말 정보를 표시합니다. +> 더 많은 정보: . + +- `toolbox` 매뉴얼 표시: + +`toolbox help` + +- 특정 하위 명령에 대한 `toolbox` 매뉴얼 표시: + +`toolbox help {{하위_명령}}` diff --git a/pages.ko/linux/toolbox-init-container.md b/pages.ko/linux/toolbox-init-container.md new file mode 100644 index 00000000000000..4383d74b4cc942 --- /dev/null +++ b/pages.ko/linux/toolbox-init-container.md @@ -0,0 +1,9 @@ +# toolbox init-container + +> 실행 중인 `toolbox` 컨테이너를 초기화합니다. +> 이 명령은 사용자가 실행해서는 안 되며, 호스트에서 실행할 수 없습니다. +> 더 많은 정보: . + +- 실행 중인 toolbox 초기화: + +`toolbox init-container --gid {{gid}} --home {{home}} --home-link --media-link --mnt-link --monitor-host --shell {{shell}} --uid {{uid}} --user {{user}}` diff --git a/pages.ko/linux/toolbox-list.md b/pages.ko/linux/toolbox-list.md new file mode 100644 index 00000000000000..7bafca4f161cea --- /dev/null +++ b/pages.ko/linux/toolbox-list.md @@ -0,0 +1,16 @@ +# toolbox list + +> 기존 `toolbox` 컨테이너와 이미지 나열. +> 더 많은 정보: . + +- 모든 `toolbox` 컨테이너와 이미지 나열: + +`toolbox list` + +- `toolbox` 컨테이너만 나열: + +`toolbox list --containers` + +- `toolbox` 이미지만 나열: + +`toolbox list --images` diff --git a/pages.ko/linux/toolbox-rm.md b/pages.ko/linux/toolbox-rm.md new file mode 100644 index 00000000000000..e0cc8c4f531a1c --- /dev/null +++ b/pages.ko/linux/toolbox-rm.md @@ -0,0 +1,17 @@ +# toolbox rm + +> 하나 이상의 `toolbox` 컨테이너를 제거합니다. +> 같이 보기: `toolbox rmi`. +> 더 많은 정보: . + +- toolbox 컨테이너 제거: + +`toolbox rm {{컨테이너_이름}}` + +- 모든 `toolbox` 컨테이너 제거: + +`toolbox rm --all` + +- 현재 활성 상태의 `toolbox` 컨테이너 강제 제거: + +`toolbox rm --force {{컨테이너_이름}}` diff --git a/pages.ko/linux/toolbox-rmi.md b/pages.ko/linux/toolbox-rmi.md new file mode 100644 index 00000000000000..9fc8b89c4a8aaa --- /dev/null +++ b/pages.ko/linux/toolbox-rmi.md @@ -0,0 +1,17 @@ +# toolbox rmi + +> `toolbox` 이미지 제거. +> 같이 보기: `toolbox rm`. +> 더 많은 정보: . + +- 하나 이상의 `toolbox` 이미지 제거: + +`toolbox rmi {{이미지_이름1 이미지_이름2 ...}}` + +- 모든 `toolbox` 이미지 제거: + +`toolbox rmi --all` + +- 현재 컨테이너에서 사용 중인 `toolbox` 이미지를 강제로 제거 (컨테이너도 함께 제거됨): + +`toolbox rmi --force {{이미지_이름}}` diff --git a/pages.ko/linux/toolbox-run.md b/pages.ko/linux/toolbox-run.md new file mode 100644 index 00000000000000..388a2385858785 --- /dev/null +++ b/pages.ko/linux/toolbox-run.md @@ -0,0 +1,17 @@ +# toolbox run + +> 기존 `toolbox` 컨테이너에서 명령을 실행합니다. +> 같이 보기: `toolbox enter`. +> 더 많은 정보: . + +- 특정 `toolbox` 컨테이너 내에서 명령 실행: + +`toolbox run --container {{컨테이너_이름}} {{명령}}` + +- 특정 배포판 릴리스의 `toolbox` 컨테이너 내에서 명령 실행: + +`toolbox run --distro {{배포판}} --release {{릴리스}} {{명령}}` + +- Fedora 39의 기본 이미지로 `toolbox` 컨테이너 내에서 `emacs` 실행: + +`toolbox run --distro {{fedora}} --release {{f39}} {{emacs}}` diff --git a/pages.ko/linux/toolbox.md b/pages.ko/linux/toolbox.md new file mode 100644 index 00000000000000..d1754555cf49d6 --- /dev/null +++ b/pages.ko/linux/toolbox.md @@ -0,0 +1,21 @@ +# toolbox + +> Linux에서 컨테이너화된 명령줄 환경을 관리합니다. +> `create`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- `toolbox` 하위 명령 실행: + +`toolbox {{하위_명령}}` + +- 특정 하위 명령(예: `create`, `enter`, `rm`, `rmi` 등)에 대한 도움말 표시: + +`toolbox help {{하위_명령}}` + +- 도움말 표시: + +`toolbox --help` + +- 버전 정보 표시: + +`toolbox --version` diff --git a/pages.ko/linux/top.md b/pages.ko/linux/top.md new file mode 100644 index 00000000000000..7f9d0a13019395 --- /dev/null +++ b/pages.ko/linux/top.md @@ -0,0 +1,32 @@ +# top + +> 실행 중인 프로세스에 대한 동적 실시간 정보를 표시합니다. +> 더 많은 정보: . + +- `top` 시작: + +`top` + +- 유휴 또는 좀비 프로세스를 표시하지 않음: + +`top {{[-i|--idle-toggle]}}` + +- 특정 사용자 소유의 프로세스만 표시: + +`top {{[-u|--filter-only-euser]}} {{사용자명}}` + +- 특정 필드로 프로세스 정렬: + +`top {{[-o|--sort-override]}} {{필드_이름}}` + +- 특정 프로세스의 개별 스레드 표시: + +`top {{[-Hp|--threads-show --pid]}} {{프로세스_ID}}` + +- 쉼표로 구분된 목록으로 전달된 특정 PID의 프로세스만 표시 (일반적으로 PID를 즉석에서 알 수 없습니다. 이 예는 프로세스 이름에서 PID를 선택합니다): + +`top {{[-p|--pid]}} $(pgrep {{[-d|--delimiter]}} ',' {{프로세스_이름}})` + +- 대화형 명령에 대한 도움말 표시: + +`` diff --git a/pages.ko/linux/tor.md b/pages.ko/linux/tor.md new file mode 100644 index 00000000000000..68feffbec99cfc --- /dev/null +++ b/pages.ko/linux/tor.md @@ -0,0 +1,32 @@ +# tor + +> Tor 네트워크를 통해 익명 통신을 활성화합니다. +> 더 많은 정보: . + +- Tor 네트워크에 연결: + +`tor` + +- Tor 구성 보기: + +`tor --config` + +- Tor 상태 확인: + +`tor --status` + +- 클라이언트로만 실행: + +`tor --client` + +- 릴레이로 실행: + +`tor --relay` + +- 브리지로 실행: + +`tor --bridge` + +- 히든 서비스로 실행: + +`tor --hidden-service` diff --git a/pages.ko/linux/torify.md b/pages.ko/linux/torify.md new file mode 100644 index 00000000000000..e07737ed90e14d --- /dev/null +++ b/pages.ko/linux/torify.md @@ -0,0 +1,33 @@ +# torify + +> 네트워크 트래픽을 Tor 네트워크를 통해 라우팅. +> 참고: 이 명령은 더 이상 사용되지 않으며, 이제 `torsocks`의 하위 호환 래퍼입니다. +> 더 많은 정보: . + +- 트래픽을 Tor를 통해 라우팅: + +`torify {{명령}}` + +- 셸에서 Tor 토글: + +`torify {{on|off}}` + +- Tor 사용 셸 생성: + +`torify --shell` + +- Tor 사용 셸 확인: + +`torify show` + +- Tor 설정 파일 지정: + +`torify -c {{설정_파일}} {{명령}}` + +- 특정 Tor SOCKS 프록시 사용: + +`torify -P {{프록시}} {{명령}}` + +- 출력 결과를 파일로 리다이렉트: + +`torify {{명령}} > {{경로/대상/출력}}` diff --git a/pages.ko/linux/torsocks.md b/pages.ko/linux/torsocks.md new file mode 100644 index 00000000000000..ca151a96932a47 --- /dev/null +++ b/pages.ko/linux/torsocks.md @@ -0,0 +1,29 @@ +# torsocks + +> 모든 애플리케이션의 트래픽을 Tor 네트워크를 통해 라우팅합니다. +> 참고: `torsocks`는 Tor 데몬의 기본값인 127.0.0.1:9050에서 실행 중인 Tor SOCKS 프록시에 연결해야 한다고 가정합니다. +> 더 많은 정보: . + +- Tor를 사용하여 명령 실행: + +`torsocks {{명령}}` + +- 이 셸에서 Tor 활성화 또는 비활성화: + +`. torsocks {{on|off}}` + +- Tor가 활성화된 새로운 셸 생성: + +`torsocks --shell` + +- 현재 셸이 Tor가 활성화되었는지 확인 (`LD_PRELOAD` 값이 비어 있으면 비활성화됨): + +`torsocks show` + +- 다른 Tor 회로를 통해 트래픽을 솔레이트하여 익명성 향상: + +`torsocks {{[-i|--isolate]}} {{curl https://check.torproject.org/api/ip}}` + +- 특정 주소 및 포트에서 실행 중인 Tor 프록시에 연결: + +`torsocks {{[-a|--address]}} {{ip}} {{[-P|--port]}} {{포트}} {{명령}}` diff --git a/pages.ko/linux/trace-cmd.md b/pages.ko/linux/trace-cmd.md new file mode 100644 index 00000000000000..6a45485c491f83 --- /dev/null +++ b/pages.ko/linux/trace-cmd.md @@ -0,0 +1,33 @@ +# trace-cmd + +> Ftrace Linux 커널 내부 트레이서와 상호 작용하는 도구. +> 이 도구는 root 사용자로만 실행됩니다. +> 더 많은 정보: . + +- 트레이싱 시스템의 상태 표시: + +`trace-cmd stat` + +- 사용 가능한 트레이서 나열: + +`trace-cmd list -t` + +- 특정 플러그인으로 트레이싱 시작: + +`trace-cmd start -p {{timerlat|osnoise|hwlat|blk|mmiotrace|function_graph|wakeup_dl|wakeup_rt|wakeup|function|nop}}` + +- 트레이스 출력 보기: + +`trace-cmd show` + +- 트레이싱을 중지하지만 버퍼 유지: + +`trace-cmd stop` + +- 트레이스 버퍼 지우기: + +`trace-cmd clear` + +- 트레이스 버퍼 지우기 및 트레이싱 중지: + +`trace-cmd reset` diff --git a/pages.ko/linux/tracepath.md b/pages.ko/linux/tracepath.md new file mode 100644 index 00000000000000..9dcdc101530827 --- /dev/null +++ b/pages.ko/linux/tracepath.md @@ -0,0 +1,28 @@ +# tracepath + +> 네트워크 호스트로의 경로를 추적하여 이 경로를 따라 MTU를 발견합니다. +> 더 많은 정보: . + +- 호스트로의 경로를 추적하는 권장 방법: + +`tracepath -p {{33434}} {{호스트}}` + +- 초기 목적지 포트 지정 (비표준 방화벽 설정에 유용): + +`tracepath -p {{목적지_포트}} {{호스트}}` + +- 호스트명과 숫자 IP 주소 둘 다 출력: + +`tracepath -b {{호스트}}` + +- 최대 TTL(홉 수) 지정: + +`tracepath -m {{최대_홉수}} {{호스트}}` + +- 초기 패킷 길이 지정 (IPv4의 경우 기본값은 65535, IPv6의 경우 128000): + +`tracepath -l {{패킷_길이}} {{호스트}}` + +- IPv6 주소만 사용: + +`tracepath -6 {{호스트}}` diff --git a/pages.ko/linux/trap.md b/pages.ko/linux/trap.md new file mode 100644 index 00000000000000..9ab2f24c81f5aa --- /dev/null +++ b/pages.ko/linux/trap.md @@ -0,0 +1,20 @@ +# trap + +> 이벤트 발생 시 명령을 실행합니다. +> 더 많은 정보: . + +- 사용 가능한 이벤트 이름 나열 (예: `SIGWINCH`): + +`trap -l` + +- 명령과 예상 이벤트 이름 나열: + +`trap -p` + +- 신호를 받았을 때 명령 실행: + +`trap 'echo "Caught signal {{SIGHUP}}"' {{SIGHUP}}` + +- 명령 제거: + +`trap - {{SIGHUP}} {{SIGINT}}` diff --git a/pages.ko/linux/trash.md b/pages.ko/linux/trash.md new file mode 100644 index 00000000000000..3158925aad38c3 --- /dev/null +++ b/pages.ko/linux/trash.md @@ -0,0 +1,32 @@ +# trash + +> 휴지통/재활용통 관리. +> 더 많은 정보: . + +- 파일을 휴지통으로 보내기: + +`trash {{경로/대상/파일}}` + +- 휴지통에 있는 모든 파일 나열: + +`trash-list` + +- 휴지통에서 파일을 상호작용하며 복원: + +`trash-restore` + +- 휴지통 비우기: + +`trash-empty` + +- 휴지통에서 10일 이상 된 모든 파일을 영구 삭제: + +`trash-empty 10` + +- 특정 블롭 패턴과 일치하는 휴지통의 모든 파일 제거: + +`trash-rm "{{*.o}}"` + +- 특정 원래 위치의 모든 파일 제거: + +`trash-rm {{/경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/linux/trashy.md b/pages.ko/linux/trashy.md new file mode 100644 index 00000000000000..4923c8144a82c9 --- /dev/null +++ b/pages.ko/linux/trashy.md @@ -0,0 +1,32 @@ +# trashy + +> Rust로 작성된 `rm` 및 `trash-cli`의 대안. +> 더 많은 정보: . + +- 특정 파일을 휴지통으로 이동: + +`trash {{경로/대상/파일}}` + +- 특정 파일들을 휴지통으로 이동: + +`trash {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 휴지통의 항목 나열: + +`trash list` + +- 휴지통에서 특정 파일 복원: + +`trash restore {{파일}}` + +- 휴지통에서 특정 파일 제거: + +`trash empty {{파일}}` + +- 휴지통에서 모든 파일 복원: + +`trash restore --all` + +- 휴지통에서 모든 파일 제거: + +`trash empty --all` diff --git a/pages.ko/linux/trayer.md b/pages.ko/linux/trayer.md new file mode 100644 index 00000000000000..f8641a1f08e3bc --- /dev/null +++ b/pages.ko/linux/trayer.md @@ -0,0 +1,28 @@ +# trayer + +> 경량의 GTK-2 기반 시스템 트레이. +> 더 많은 정보: . + +- `trayer` 실행: + +`trayer` + +- `trayer`를 특정 모서리에 위치시키기: + +`trayer --edge {{left|right|top|bottom}}` + +- 패널의 높이와 너비를 픽셀 단위로 지정: + +`trayer --width {{10}} --height {{32}}` + +- 패널 너비를 픽셀 또는 백분율로 지정: + +`trayer --widthtype {{pixel|percent}} --width {{72}}` + +- `trayer`를 특정 방향으로 정렬: + +`trayer --align {{left|center|right}}` + +- 아이콘 간 간격을 픽셀 단위로 지정: + +`trayer --iconspacing {{10}}` diff --git a/pages.ko/linux/treetime.md b/pages.ko/linux/treetime.md new file mode 100644 index 00000000000000..22529c8b25b77d --- /dev/null +++ b/pages.ko/linux/treetime.md @@ -0,0 +1,20 @@ +# treetime + +> TreeTime은 조상 서열 복원 및 분자 시계 계통수 추론을 위한 루틴을 제공합니다. +> 더 많은 정보: . + +- 공동 또는 주변 가능성을 최대화하여 조상 서열을 추론: + +`treetime ancestral` + +- 동형 유전 변이를 포함한 반복적인 돌연변이 패턴 분석: + +`treetime homoplasy` + +- 분자 시계 매개변수를 추정하고 계통수를 재설정: + +`treetime clock` + +- 호스트 또는 국가와 같은 이산적 특성을 계통수에 매핑: + +`treetime mugration` diff --git a/pages.ko/linux/trizen.md b/pages.ko/linux/trizen.md new file mode 100644 index 00000000000000..bceb2e9bec46a3 --- /dev/null +++ b/pages.ko/linux/trizen.md @@ -0,0 +1,28 @@ +# trizen + +> Arch Linux에서 Arch User Repository (AUR)로부터 패키지를 빌드하는 도구. +> 더 많은 정보: . + +- 모든 AUR 패키지를 동기화하고 업데이트: + +`trizen -Syua` + +- 새 패키지 설치: + +`trizen -S {{패키지}}` + +- 패키지 및 의존성 제거: + +`trizen -Rs {{패키지}}` + +- 패키지 데이터베이스에서 키워드 검색: + +`trizen -Ss {{키워드}}` + +- 패키지 정보 표시: + +`trizen -Si {{패키지}}` + +- 설치된 패키지 및 버전 나열: + +`trizen -Qe` diff --git a/pages.ko/linux/trust.md b/pages.ko/linux/trust.md new file mode 100644 index 00000000000000..a0e06169036af3 --- /dev/null +++ b/pages.ko/linux/trust.md @@ -0,0 +1,28 @@ +# trust + +> 신뢰 정책 저장소를 운영합니다. +> 더 많은 정보: . + +- 신뢰 정책 저장소 항목 나열: + +`trust list` + +- 신뢰 정책 저장소의 특정 항목에 대한 정보 나열: + +`trust list --filter={{blocklist|ca-anchors|certificates|trust-policy}}` + +- 특정 신뢰 앵커를 신뢰 정책 저장소에 저장: + +`trust anchor {{경로/대상/인증서.crt}}` + +- 특정 앵커를 신뢰 정책 저장소에서 제거: + +`trust anchor --remove {{경로/대상/인증서.crt}}` + +- 공유 신뢰 정책 저장소에서 신뢰 정책 추출: + +`trust extract --format=x509-directory --filter=ca-anchors {{경로/대상/폴더}}` + +- 하위 명령에 대한 도움말 표시: + +`trust {{하위_명령}} --help` diff --git a/pages.ko/linux/tshark.md b/pages.ko/linux/tshark.md new file mode 100644 index 00000000000000..de0b5dba526145 --- /dev/null +++ b/pages.ko/linux/tshark.md @@ -0,0 +1,36 @@ +# tshark + +> 패킷 분석 도구, Wireshark의 CLI 버전. +> 더 많은 정보: . + +- 로컬호스트에서 모든 것 모니터링: + +`tshark` + +- 특정 캡처 필터와 일치하는 패킷만 캡처: + +`tshark -f '{{udp port 53}}'` + +- 특정 출력 필터와 일치하는 패킷만 표시: + +`tshark -Y '{{http.request.method == "GET"}}'` + +- 특정 프로토콜(예: HTTP)로 TCP 포트 디코딩: + +`tshark -d tcp.port=={{8888}},{{http}}` + +- 캡처된 출력의 형식 지정: + +`tshark -T {{json|text|ps|...}}` + +- 출력할 특정 필드 선택: + +`tshark -T {{fields|ek|json|pdml}} -e {{http.request.method}} -e {{ip.src}}` + +- 캡처된 패킷을 [f]파일에 저장: + +`tshark -w {{경로/대상/파일}}` + +- [f]파일에서 패킷 분석: + +`tshark -r {{경로/대상/파일.pcap}}` diff --git a/pages.ko/linux/ttyplot.md b/pages.ko/linux/ttyplot.md new file mode 100644 index 00000000000000..13a2f733a5ff0a --- /dev/null +++ b/pages.ko/linux/ttyplot.md @@ -0,0 +1,20 @@ +# ttyplot + +> 실시간 커맨드라인 플로팅 유틸리티로, `stdin`으로 데이터 입력을 받습니다. +> 더 많은 정보: . + +- 값 `1`, `2`, `3`을 플로팅 (`cat`은 ttyplot의 종료를 방지): + +`{ echo {{1 2 3}}; cat } | ttyplot` + +- 특정 제목과 단위를 설정: + +`{ echo {{1 2 3}}; cat } | ttyplot -t {{제목}} -u {{단위}}` + +- while 루프를 사용하여 랜덤 값을 지속적으로 플로팅: + +`{ while {{true}}; do echo {{$RANDOM}}; sleep {{1}}; done } | ttyplot` + +- `ping`의 출력을 파싱하여 시각화: + +`ping {{8.8.8.8}} | sed -u '{{s/^.*time=//g; s/ ms//g}}' | ttyplot -t "{{8.8.8.8로의 핑}}" -u {{ms}}` diff --git a/pages.ko/linux/tune2fs.md b/pages.ko/linux/tune2fs.md new file mode 100644 index 00000000000000..909ea8afc2b4c8 --- /dev/null +++ b/pages.ko/linux/tune2fs.md @@ -0,0 +1,21 @@ +# tune2fs + +> ext2, ext3 또는 ext4 파일 시스템의 매개변수를 조정합니다. +> 마운트된 파일 시스템에서도 사용할 수 있습니다. +> 더 많은 정보: . + +- 파일 시스템이 검사되기 전 최대 횟수를 2로 설정: + +`tune2fs -c {{2}} {{/dev/sdXN}}` + +- 파일 시스템 레이블을 MY_LABEL로 설정: + +`tune2fs -L {{'MY_LABEL'}} {{/dev/sdXN}}` + +- 파일 시스템에 대해 디스카드 및 사용자 지정 확장 속성을 활성화: + +`tune2fs -o {{discard,user_xattr}} {{/dev/sdXN}}` + +- 파일 시스템에 저널링 활성화: + +`tune2fs -o^{{nobarrier}} {{/dev/sdXN}}` diff --git a/pages.ko/linux/tuned-adm.md b/pages.ko/linux/tuned-adm.md new file mode 100644 index 00000000000000..8f899edef017c7 --- /dev/null +++ b/pages.ko/linux/tuned-adm.md @@ -0,0 +1,24 @@ +# tuned-adm + +> Linux에서 시스템 성능 튜닝 프로필을 관리하고 최적화. +> 더 많은 정보: . + +- 사용 가능한 프로필 나열: + +`tuned-adm list` + +- 현재 활성화된 프로필 표시: + +`tuned-adm active` + +- 특정 튜닝 프로필 설정: + +`tuned-adm profile {{프로필_이름}}` + +- 현재 시스템에 적합한 프로필 추천: + +`tuned-adm recommend` + +- 튜닝 비활성화: + +`tuned-adm off` diff --git a/pages.ko/linux/tunelp.md b/pages.ko/linux/tunelp.md new file mode 100644 index 00000000000000..c5b902d8c0bde2 --- /dev/null +++ b/pages.ko/linux/tunelp.md @@ -0,0 +1,25 @@ +# tunelp + +> 병렬 포트 장치의 다양한 매개변수를 설정하여 문제 해결 또는 성능 향상을 위한 도구. +> `util-linux`의 일부. +> 더 많은 정보: . + +- 병렬 포트 장치의 [s]상태 확인: + +`tunelp --status {{/dev/lp0}}` + +- 주어진 병렬 포트 [r]재설정: + +`tunelp --reset {{/dev/lp0}}` + +- 장치에 사용할 [i]RQ 지정, 각 IRQ는 인터럽트 라인을 나타냄: + +`tunelp -i 5 {{/dev/lp0}}` + +- 프린터에 문자를 출력하기 위해 주어진 횟수만큼 시도한 후, 지정된 시간만큼 [c]대기: + +`tunelp --chars {{횟수}} --time {{시간_센티초}} {{/dev/lp0}}` + +- 오류 발생 시 [a]중지 활성화 또는 비활성화 (기본적으로 비활성화됨): + +`tunelp --abort {{on|off}}` diff --git a/pages.ko/linux/turbostat.md b/pages.ko/linux/turbostat.md new file mode 100644 index 00000000000000..5443407669c15f --- /dev/null +++ b/pages.ko/linux/turbostat.md @@ -0,0 +1,24 @@ +# turbostat + +> 프로세서 토폴로지, 주파수, 온도, 전력 및 유휴 통계를 보고합니다. +> 더 많은 정보: . + +- 5초마다 통계 표시: + +`sudo turbostat` + +- 지정한 초마다 통계 표시: + +`sudo turbostat -i {{초}}` + +- 시스템 구성 헤더 정보를 해독하여 출력하지 않음: + +`sudo turbostat --quiet` + +- 헤더 정보 없이 1초마다 CPU에 대한 유용한 정보 표시: + +`sudo turbostat --quiet --interval 1 --cpu 0-{{CPU_스레드_수}} --show "PkgWatt","Busy%","Core","CoreTmp","Thermal"` + +- 도움말 표시: + +`turbostat --help` diff --git a/pages.ko/linux/tuxi.md b/pages.ko/linux/tuxi.md new file mode 100644 index 00000000000000..a4ec970a42b6e5 --- /dev/null +++ b/pages.ko/linux/tuxi.md @@ -0,0 +1,20 @@ +# tuxi + +> Google 검색 결과와 SERP를 스크래핑하여 즉각적이고 간결한 답변을 제공. +> 더 많은 정보: . + +- Google을 사용하여 검색: + +`tuxi {{검색어}}` + +- 검색 결과를 [r]원시 형식으로 표시 (예쁜 출력 없음, 색상 없음): + +`tuxi -r {{검색어}}` + +- 검색 결과만 표시 ("이것을 의미했나요?", 인사말 및 사용법 숨김): + +`tuxi -q {{검색어}}` + +- 도움말 표시: + +`tuxi -h` diff --git a/pages.ko/linux/tzselect.md b/pages.ko/linux/tzselect.md new file mode 100644 index 00000000000000..cf65242b221583 --- /dev/null +++ b/pages.ko/linux/tzselect.md @@ -0,0 +1,13 @@ +# tzselect + +> 대화형으로 시간대를 선택합니다. +> 참고: 이 프로그램은 실제로 시간대를 설정하지 않습니다. +> 더 많은 정보: . + +- 시간대 선택을 위한 대화형 메뉴를 열고 선택한 시간대를 `stdout`에 출력: + +`tzselect` + +- ISO 6709 표기법으로 좌표에 가장 가까운 시간대 요청: + +`tzselect -c {{좌표}}` diff --git a/pages.ko/linux/ubuntu-bug.md b/pages.ko/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..310d7513b313d6 --- /dev/null +++ b/pages.ko/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> 이 명령은 `apport-bug` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr apport-bug` diff --git a/pages.ko/linux/ubuntu-security-status.md b/pages.ko/linux/ubuntu-security-status.md new file mode 100644 index 00000000000000..030cafb03715c6 --- /dev/null +++ b/pages.ko/linux/ubuntu-security-status.md @@ -0,0 +1,16 @@ +# ubuntu-security-status + +> 설치된 우분투 패키지에 대한 보안 지원 정보를 표시합니다. +> 더 많은 정보: . + +- 지원되지 않는 패키지의 수를 표시: + +`ubuntu-security-status` + +- 더 이상 다운로드할 수 없는 패키지 나열: + +`ubuntu-security-status --unavailable` + +- 서드파티 패키지 나열: + +`ubuntu-security-status --thirdparty` diff --git a/pages.ko/linux/udevadm.md b/pages.ko/linux/udevadm.md new file mode 100644 index 00000000000000..d3288c6a8aaae1 --- /dev/null +++ b/pages.ko/linux/udevadm.md @@ -0,0 +1,32 @@ +# udevadm + +> Linux `udev` 관리 도구. +> 더 많은 정보: . + +- 모든 장치 이벤트 모니터링: + +`sudo udevadm monitor` + +- 커널에 의해 전송된 `uevent` 출력: + +`sudo udevadm monitor --kernel` + +- `udev`에 의해 처리된 후의 장치 이벤트 출력: + +`sudo udevadm monitor --udev` + +- 장치 `/dev/sda`의 속성 나열: + +`sudo udevadm info --attribute-walk {{/dev/sda}}` + +- 모든 `udev` 규칙 다시 로드: + +`sudo udevadm control --reload` + +- 모든 `udev` 규칙 실행 트리거: + +`sudo udevadm trigger` + +- `/dev/sda` 로딩을 시뮬레이션하여 이벤트 실행 테스트: + +`sudo udevadm test {{/dev/sda}}` diff --git a/pages.ko/linux/udisksctl.md b/pages.ko/linux/udisksctl.md new file mode 100644 index 00000000000000..5998c4867473be --- /dev/null +++ b/pages.ko/linux/udisksctl.md @@ -0,0 +1,28 @@ +# udisksctl + +> `udisksd`와 상호 작용하여 스토리지 장치를 조회하고 조작. +> 더 많은 정보: . + +- 디스크 드라이브 및 블록 장치에 대한 상위 정보 표시: + +`udisksctl status` + +- 장치에 대한 자세한 정보 표시: + +`udisksctl info {{[-b|--block-device]}} {{/dev/sdX}}` + +- 장치 파티션에 대한 자세한 정보 표시: + +`udisksctl info {{[-b|--block-device]}} {{/dev/sdXN}}` + +- 장치 파티션을 마운트하고 마운트 지점을 출력: + +`udisksctl mount {{[-b|--block-device]}} {{/dev/sdXN}}` + +- 장치 파티션을 마운트 해제: + +`udisksctl unmount {{[-b|--block-device]}} {{/dev/sdXN}}` + +- 데몬의 이벤트 모니터링: + +`udisksctl monitor` diff --git a/pages.ko/linux/ufw.md b/pages.ko/linux/ufw.md new file mode 100644 index 00000000000000..3831bda5c67e50 --- /dev/null +++ b/pages.ko/linux/ufw.md @@ -0,0 +1,37 @@ +# ufw + +> 간단한 방화벽. +> 방화벽 구성을 더욱 쉽게 만들어주는 `iptables`의 프론트엔드. +> 더 많은 정보: . + +- ufw 활성화: + +`ufw enable` + +- ufw 비활성화: + +`ufw disable` + +- 번호와 함께 ufw 규칙 표시: + +`ufw status numbered` + +- 이 호스트의 포트 5432에서 서비스 식별 주석과 함께 들어오는 트래픽 허용: + +`ufw allow {{5432}} comment "{{Service}}"` + +- 192.168.0.4에서 이 호스트의 모든 주소로의 포트 22에서 TCP 트래픽만 허용: + +`ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}` + +- 이 호스트의 포트 80에서 트래픽 차단: + +`ufw deny {{80}}` + +- 포트 범위 8412:8500에 대한 모든 UDP 트래픽 차단: + +`ufw deny proto {{udp}} from {{any}} to {{any}} port {{8412:8500}}` + +- 특정 규칙 삭제. 규칙 번호는 `ufw status numbered` 명령으로 확인 가능: + +`ufw delete {{규칙_번호}}` diff --git a/pages.ko/linux/ul.md b/pages.ko/linux/ul.md new file mode 100644 index 00000000000000..29cf869c28ab36 --- /dev/null +++ b/pages.ko/linux/ul.md @@ -0,0 +1,13 @@ +# ul + +> 텍스트에 밑줄을 그립니다. +> 문자열의 각 문자는 개별적으로 밑줄을 그어야 합니다. +> 더 많은 정보: . + +- 파일의 내용을 밑줄이 적용된 상태로 표시: + +`ul {{파일.txt}}` + +- 대시 `-`로 만든 밑줄을 사용하여 파일의 내용을 표시: + +`ul -i {{파일.txt}}` diff --git a/pages.ko/linux/umount.md b/pages.ko/linux/umount.md new file mode 100644 index 00000000000000..63dca6be68a3a5 --- /dev/null +++ b/pages.ko/linux/umount.md @@ -0,0 +1,25 @@ +# umount + +> 파일 시스템을 마운트 지점에서 연결 해제하여 더 이상 접근할 수 없게 만듭니다. +> 파일 시스템이 사용 중일 때는 마운트를 해제할 수 없습니다. +> 더 많은 정보: . + +- 파일 시스템을 마운트된 원본 경로를 통해 마운트 해제: + +`umount {{경로/대상/장치_파일}}` + +- 파일 시스템을 마운트된 대상 경로를 통해 마운트 해제: + +`umount {{경로/대상/마운트된_폴더}}` + +- 마운트 해제가 실패할 경우, 파일 시스템을 읽기 전용으로 다시 마운트 시도: + +`umount {{[-r|--read-only]}} {{경로/대상/마운트된_폴더}}` + +- 지정된 각 디렉토리를 재귀적으로 마운트 해제: + +`umount {{[-R|--recursive]}} {{경로/대상/마운트된_폴더}}` + +- 모든 마운트된 파일 시스템 마운트 해제 (`proc` 파일 시스템 제외): + +`umount {{[-a|--all]}}` diff --git a/pages.ko/linux/uncompress.md b/pages.ko/linux/uncompress.md new file mode 100644 index 00000000000000..67a705305f64b6 --- /dev/null +++ b/pages.ko/linux/uncompress.md @@ -0,0 +1,20 @@ +# uncompress + +> Unix `compress` 명령으로 압축된 파일을 해제합니다. +> 더 많은 정보: . + +- 특정 파일 압축 해제: + +`uncompress {{경로/대상/파일1.Z 경로/대상/파일2.Z ...}}` + +- 존재하지 않는 파일을 무시하고 특정 파일 압축 해제: + +`uncompress -f {{경로/대상/파일1.Z 경로/대상/파일2.Z ...}}` + +- `stdout`에 출력 (파일은 변경되지 않고 `.Z` 파일도 생성되지 않음): + +`uncompress -c {{경로/대상/파일1.Z 경로/대상/파일2.Z ...}}` + +- 자세히 모드 (압축 감소 또는 확장 비율을 `stderr`에 출력): + +`uncompress -v {{경로/대상/파일1.Z 경로/대상/파일2.Z ...}}` diff --git a/pages.ko/linux/unix2dos.md b/pages.ko/linux/unix2dos.md new file mode 100644 index 00000000000000..25fe91dec3297c --- /dev/null +++ b/pages.ko/linux/unix2dos.md @@ -0,0 +1,22 @@ +# unix2dos + +> Unix 스타일 줄 끝을 DOS 스타일로 변경. +> LF를 CRLF로 대체. +> 같이 보기: `unix2mac`, `dos2unix`, `mac2unix`. +> 더 많은 정보: . + +- 파일의 줄 끝 변경: + +`unix2dos {{경로/대상/파일}}` + +- DOS 스타일 줄 끝으로 복사본 생성: + +`unix2dos {{[-n|--newfile]}} {{경로/대상/파일}} {{경로/대상/새_파일}}` + +- 파일 정보 표시: + +`unix2dos {{[-i|--info]}} {{경로/대상/파일}}` + +- 바이트 순서 표시(Byte Order Mark) 유지/추가/제거: + +`unix2dos --{{keep-bom|add-bom|remove-bom}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/unix2mac.md b/pages.ko/linux/unix2mac.md new file mode 100644 index 00000000000000..5e64b90847ac8c --- /dev/null +++ b/pages.ko/linux/unix2mac.md @@ -0,0 +1,22 @@ +# unix2mac + +> Unix 스타일의 줄 끝을 macOS 스타일로 변경. +> LF를 CR로 대체. +> 같이 보기: `unix2dos`, `dos2unix`, `mac2unix`. +> 더 많은 정보: . + +- 파일의 줄 끝을 변경: + +`unix2mac {{경로/대상/파일}}` + +- macOS 스타일의 줄 끝을 가진 복사본 생성: + +`unix2mac {{[-n|--newfile]}} {{경로/대상/파일}} {{경로/대상/새_파일}}` + +- 파일 정보 표시: + +`unix2mac {{[-i|--info]}} {{경로/대상/파일}}` + +- 바이트 순서 표식 유지/추가/제거: + +`unix2mac --{{keep-bom|add-bom|remove-bom}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/unmount.md b/pages.ko/linux/unmount.md new file mode 100644 index 00000000000000..761f8741498605 --- /dev/null +++ b/pages.ko/linux/unmount.md @@ -0,0 +1,8 @@ +# unmount + +> 올바른 명령은 `umount` (u-mount)입니다. +> 더 많은 정보: . + +- 올바른 명령에 대한 문서 보기: + +`tldr umount` diff --git a/pages.ko/linux/unopkg.md b/pages.ko/linux/unopkg.md new file mode 100644 index 00000000000000..bfc96b81638736 --- /dev/null +++ b/pages.ko/linux/unopkg.md @@ -0,0 +1,30 @@ +# unopkg + +> LibreOffice 확장 관리자. +> 확장 프로그램 다운로드: . +> 같이 보기: `libreoffice`. +> 더 많은 정보: . + +- 지정된 확장을 추가하고 배포: + +`unopkg add {{경로/대상/확장}}` + +- 확장 제거: + +`unopkg remove {{확장_ID}}` + +- 배포된 확장에 대한 정보 표시: + +`unopkg list` + +- 확장 대화 상자(GUI) 열기: + +`unopkg gui` + +- 모든 배포된 확장 재설치: + +`unopkg reinstall` + +- 도움말 표시: + +`unopkg {{[-h|--help]}}` diff --git a/pages.ko/linux/unshadow.md b/pages.ko/linux/unshadow.md new file mode 100644 index 00000000000000..63bbd1ead5ffcd --- /dev/null +++ b/pages.ko/linux/unshadow.md @@ -0,0 +1,12 @@ +# unshadow + +> 시스템이 섀도우 비밀번호를 사용하는 경우 전통적인 유닉스 비밀번호 파일을 얻기 위해 John the Ripper 프로젝트에서 제공하는 유틸리티. +> 더 많은 정보: . + +- 현재 시스템의 `/etc/shadow`와 `/etc/passwd` 결합: + +`sudo unshadow /etc/passwd /etc/shadow` + +- 임의의 섀도우 및 비밀번호 [f]파일 결합: + +`sudo unshadow {{경로/대상/passwd}} {{경로/대상/shadow}}` diff --git a/pages.ko/linux/unshare.md b/pages.ko/linux/unshare.md new file mode 100644 index 00000000000000..1527633e75695e --- /dev/null +++ b/pages.ko/linux/unshare.md @@ -0,0 +1,12 @@ +# unshare + +> 사용자 정의 네임스페이스에서 명령을 실행합니다. +> 더 많은 정보: . + +- 연결된 네트워크에 대한 액세스를 공유하지 않고 명령 실행: + +`unshare {{[-n|--net]}} {{명령어}} {{명령어_인자들}}` + +- 마운트, 프로세스, 네트워크를 공유하지 않고 자식 프로세스로 명령 실행: + +`unshare {{[-m|--mount]}} {{[-i|--pid]}} {{[-n|--net]}} {{[-f|--fork]}} {{명령어}} {{명령어_인자들}}` diff --git a/pages.ko/linux/unsquashfs.md b/pages.ko/linux/unsquashfs.md new file mode 100644 index 00000000000000..709e92332dfa96 --- /dev/null +++ b/pages.ko/linux/unsquashfs.md @@ -0,0 +1,28 @@ +# unsquashfs + +> squashfs 파일 시스템의 압축을 풀고, 파일을 추출하거나 나열합니다. +> 더 많은 정보: . + +- squashfs 파일 시스템을 현재 작업 디렉토리의 `squashfs-root`에 추출: + +`unsquashfs {{파일_시스템.squashfs}}` + +- squashfs 파일 시스템을 지정된 디렉토리에 추출: + +`unsquashfs -dest {{경로/대상/폴더}} {{파일_시스템.squashfs}}` + +- 파일이 추출될 때 파일 이름 표시: + +`unsquashfs -info {{파일_시스템.squashfs}}` + +- 파일이 추출될 때 파일 이름과 속성 표시: + +`unsquashfs -linfo {{파일_시스템.squashfs}}` + +- squashfs 파일 시스템 내부의 파일 나열 (추출하지 않고): + +`unsquashfs -ls {{파일_시스템.squashfs}}` + +- squashfs 파일 시스템 내부의 파일과 속성 나열 (추출하지 않고): + +`unsquashfs -lls {{파일_시스템.squashfs}}` diff --git a/pages.ko/linux/unzipsfx.md b/pages.ko/linux/unzipsfx.md new file mode 100644 index 00000000000000..43178f89e5fe0c --- /dev/null +++ b/pages.ko/linux/unzipsfx.md @@ -0,0 +1,24 @@ +# unzipsfx + +> Zip 파일에 자동 추출 스텁을 추가하여 자동 추출 압축 바이너리 파일을 생성합니다. +> 더 많은 정보: . + +- Zip 아카이브의 자동 추출 바이너리 파일 생성: + +`cat unzipsfx {{경로/대상/아카이브.zip}} > {{파일명}} && chmod 755 {{파일명}}` + +- 현재 디렉토리에서 자동 추출 바이너리 추출: + +`{{./경로/대상/바이너리)}}` + +- 오류가 있는지 자동 추출 바이너리 테스트: + +`{{./경로/대상/바이너리)}} -t` + +- 추출 없이 자동 추출 바이너리 내 파일의 내용 출력: + +`{{./경로/대상/바이너리)}} -c {{경로/대상/파일명}}` + +- 자동 추출 바이너리 내 Zip 아카이브의 주석 출력: + +`{{./경로/대상/바이너리)}} -z` diff --git a/pages.ko/linux/update-alternatives.md b/pages.ko/linux/update-alternatives.md new file mode 100644 index 00000000000000..8099202bd70fa5 --- /dev/null +++ b/pages.ko/linux/update-alternatives.md @@ -0,0 +1,24 @@ +# update-alternatives + +> 심볼릭 링크를 편리하게 관리하여 기본 명령을 결정합니다. +> 더 많은 정보: . + +- 심볼릭 링크 추가: + +`sudo update-alternatives --install {{경로/대상/심볼릭링크}} {{명령_이름}} {{경로/대상/명령_바이너리}} {{우선순위}}` + +- `java`에 대한 심볼릭 링크 구성: + +`sudo update-alternatives --config {{java}}` + +- 심볼릭 링크 제거: + +`sudo update-alternatives --remove {{java}} {{/opt/java/jdk1.8.0_102/bin/java}}` + +- 지정된 명령에 대한 정보 표시: + +`update-alternatives --display {{java}}` + +- 모든 명령과 현재 선택된 항목 표시: + +`update-alternatives --get-selections` diff --git a/pages.ko/linux/update-rc.d.md b/pages.ko/linux/update-rc.d.md new file mode 100644 index 00000000000000..ffa45725b5b7bb --- /dev/null +++ b/pages.ko/linux/update-rc.d.md @@ -0,0 +1,21 @@ +# update-rc.d + +> System-V 스타일의 init 스크립트 링크를 설치하고 제거합니다. +> Init 스크립트는 `/etc/init.d/`에 있습니다. +> 더 많은 정보: . + +- 서비스 설치: + +`update-rc.d {{mysql}} defaults` + +- 서비스 활성화: + +`update-rc.d {{mysql}} enable` + +- 서비스 비활성화: + +`update-rc.d {{mysql}} disable` + +- 서비스를 강제로 제거: + +`update-rc.d -f {{mysql}} remove` diff --git a/pages.ko/linux/updatedb.md b/pages.ko/linux/updatedb.md new file mode 100644 index 00000000000000..9f1cc2e88ade93 --- /dev/null +++ b/pages.ko/linux/updatedb.md @@ -0,0 +1,13 @@ +# updatedb + +> `locate`에서 사용하는 데이터베이스를 생성하거나 업데이트. +> 일반적으로 cron에 의해 일일 실행. +> 더 많은 정보: . + +- 데이터베이스 내용 새로고침: + +`sudo updatedb` + +- 파일 이름을 찾는 즉시 표시: + +`sudo updatedb --verbose` diff --git a/pages.ko/linux/updpkgsums.md b/pages.ko/linux/updpkgsums.md new file mode 100644 index 00000000000000..76c8b338dda12d --- /dev/null +++ b/pages.ko/linux/updpkgsums.md @@ -0,0 +1,17 @@ +# updpkgsums + +> `PKGBUILD`의 소스 체크섬을 업데이트합니다. +> 기존 해시 알고리즘이 사용되지 않는 경우, SHA256이 사용됩니다. +> 더 많은 정보: . + +- `PKGBUILD`의 체크섬 업데이트: + +`updpkgsums` + +- 도움말 표시: + +`updpkgsums -h` + +- 버전 표시: + +`updpkgsums -v` diff --git a/pages.ko/linux/upnpc.md b/pages.ko/linux/upnpc.md new file mode 100644 index 00000000000000..064bfd0ab3c6f1 --- /dev/null +++ b/pages.ko/linux/upnpc.md @@ -0,0 +1,20 @@ +# upnpc + +> UPnP 프로토콜을 통해 라우터의 포트 포워딩 규칙을 구성합니다. +> 더 많은 정보: . + +- 외부 TCP 포트 80을 로컬 머신의 포트 8080으로 포워딩: + +`upnpc -a {{192.168.0.1}} 8080 80 tcp` + +- 외부 TCP 포트 80에 대한 포트 리디렉션 삭제: + +`upnpc -d 80 tcp` + +- 네트워크의 UPnP 장치 정보 가져오기: + +`upnpc -s` + +- 기존 리디렉션 나열: + +`upnpc -l` diff --git a/pages.ko/linux/upower.md b/pages.ko/linux/upower.md new file mode 100644 index 00000000000000..3d61a49db76956 --- /dev/null +++ b/pages.ko/linux/upower.md @@ -0,0 +1,24 @@ +# upower + +> 전원 및 배터리 정보와 통계를 제공하는 시스템 유틸리티. +> 더 많은 정보: . + +- 전원 및 배터리 정보 표시: + +`upower {{[-d|--dump]}}` + +- 모든 전원 장치 나열: + +`upower {{[-e|--enumerate]}}` + +- 전원 상태 변화를 감시하고 출력: + +`upower {{[-m|--monitor]}}` + +- 자세한 전원 상태 변화를 감시하고 출력: + +`upower --monitor-detail` + +- 버전 표시: + +`upower {{[-v|--version]}}` diff --git a/pages.ko/linux/uprecords.md b/pages.ko/linux/uprecords.md new file mode 100644 index 00000000000000..21c6732ca34d1b --- /dev/null +++ b/pages.ko/linux/uprecords.md @@ -0,0 +1,24 @@ +# uprecords + +> 시스템의 역사적인 가동 시간 기록을 요약하여 표시합니다. +> 더 많은 정보: . + +- 상위 10개의 역사적인 가동 시간 기록 요약 표시: + +`uprecords` + +- 상위 25개의 기록 표시: + +`uprecords -m {{25}}` + +- 커널 버전 대신 재부팅 간의 다운타임 표시: + +`uprecords -d` + +- 가장 최근의 재부팅 내역 표시: + +`uprecords -B` + +- 정보를 생략하지 않고 표시: + +`uprecords -w` diff --git a/pages.ko/linux/urpme.md b/pages.ko/linux/urpme.md new file mode 100644 index 00000000000000..2883b97bd1c1c1 --- /dev/null +++ b/pages.ko/linux/urpme.md @@ -0,0 +1,17 @@ +# urpme + +> Mageia에서 패키지를 제거합니다. +> 같이 보기: `urpmi`, `urpmi.update`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`. +> 더 많은 정보: . + +- 패키지 제거: + +`sudo urpme {{패키지}}` + +- 고아 패키지 제거 (주의: 중요한 패키지가 의도치 않게 제거될 수 있습니다): + +`sudo urpme --auto-orphans` + +- 패키지 및 의존성 제거: + +`sudo urpme --auto-orphans {{패키지}}` diff --git a/pages.ko/linux/urpmf.md b/pages.ko/linux/urpmf.md new file mode 100644 index 00000000000000..89d9202caace9d --- /dev/null +++ b/pages.ko/linux/urpmf.md @@ -0,0 +1,21 @@ +# urpmf + +> 파일을 패키지에서 찾고 Mageia에서 해당 정보를 조회. +> 같이 보기: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmi.update`, `urpmq`. +> 더 많은 정보: . + +- 파일을 포함하는 패키지 검색: + +`urpmf {{파일명}}` + +- 요약에 특정 키워드 [a]그리고 다른 키워드를 모두 포함하는 패키지 검색: + +`urpmf --summary {{키워드1}} -a {{키워드2}}` + +- 설명에 특정 키워드 [o]또는 다른 키워드를 포함하는 패키지 검색: + +`urpmf --description {{키워드1}} -o {{키워드2}}` + +- 이름에 특정 키워드를 대소문자 구분 없이 포함하지 않는 패키지를 ":" 대신 "|"를 [F]ield 구분자로 사용하여 검색: + +`urpmf --description ! {{키워드}} -F'|'` diff --git a/pages.ko/linux/urpmi.addmedia.md b/pages.ko/linux/urpmi.addmedia.md new file mode 100644 index 00000000000000..21c392ba2678c3 --- /dev/null +++ b/pages.ko/linux/urpmi.addmedia.md @@ -0,0 +1,22 @@ +# urpmi.addmedia + +> Mageia에 미디어 추가. +> 참고: Mageia 문서에서는 미디엄과 저장소를 동의어로 사용합니다. +> 같이 보기: `urpmi`, `urpmi.update`, `urpme`, `urpmi.removemedia`, `urpmf`, `urpmq`. +> 더 많은 정보: . + +- 미디엄 추가: + +`sudo urpmi.addmedia {{미디엄}} {{ftp://ftp.site.com/path/to/Mageia/RPMS}}` + +- 하드 드라이브에서 미디엄 추가 (먼저 해당 디렉터리에서 `genhdlist2` 실행): + +`sudo urpmi.addmedia --distrib HD file:/{{경로/대상/저장소}}` + +- 선택한 미러에서 중요한 미디어 추가: + +`sudo urpmi.addmedia --distrib ftp://{{미러_웹사이트}}/mirror/mageia/distrib/{{버전}}/{{아키텍처}}` + +- 미러 목록에서 자동으로 미러 선택: + +`sudo urpmi.addmedia --distrib --mirrorlist {{미러리스트}}` diff --git a/pages.ko/linux/urpmi.md b/pages.ko/linux/urpmi.md new file mode 100644 index 00000000000000..12d2385077d0cc --- /dev/null +++ b/pages.ko/linux/urpmi.md @@ -0,0 +1,25 @@ +# urpmi + +> Mageia에서 패키지를 설치합니다. +> 같이 보기: `urpm.update`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`. +> 더 많은 정보: . + +- 저장소 또는 로컬 RPM 파일에서 패키지 설치: + +`sudo urpmi {{패키지|경로/대상/파일.rpm}}` + +- 패키지를 다운로드만 하고 설치하지 않음: + +`urpmi --no-install {{패키지}}` + +- 설치된 모든 패키지 업데이트 (`urpmi.update -a`를 실행하여 사용 가능한 업데이트 확인): + +`sudo urpmi --auto-select` + +- 네트워크의 하나 이상의 머신에서 `/etc/urpmi/parallel.cfg`에 따라 패키지 업데이트: + +`sudo urpmi --parallel local {{패키지}}` + +- 모든 고아 패키지를 수동으로 설치됨으로 표시: + +`sudo urpmi $(urpmq --auto-orphans -f)` diff --git a/pages.ko/linux/urpmi.removemedia.md b/pages.ko/linux/urpmi.removemedia.md new file mode 100644 index 00000000000000..ffa23bba21f835 --- /dev/null +++ b/pages.ko/linux/urpmi.removemedia.md @@ -0,0 +1,18 @@ +# urpmi.removemedia + +> Mageia에서 미디어 제거. +> 참고: Mageia 문서에서는 미디엄과 저장소를 동의어로 사용합니다. +> 같이 보기: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.update`, `urpmf`, `urpmq`. +> 더 많은 정보: . + +- 미디엄 제거: + +`sudo urpmi.removemedia {{미디엄}}` + +- 모든 미디어 제거: + +`sudo urpmi.removemedia -a` + +- 미디어 이름에 대해 유사하게 일치하는 미디어 제거: + +`sudo urpmi.removemedia -y {{키워드}}` diff --git a/pages.ko/linux/urpmi.update.md b/pages.ko/linux/urpmi.update.md new file mode 100644 index 00000000000000..e7f1596a01bd94 --- /dev/null +++ b/pages.ko/linux/urpmi.update.md @@ -0,0 +1,22 @@ +# urpmi.update + +> Mageia에서 패키지 저장소의 패키지 목록을 업데이트합니다. +> 참고: Mageia 문서에서는 medium과 저장소를 동의어로 사용합니다. +> 같이 보기: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`. +> 더 많은 정보: . + +- 모든 활성 미디어 업데이트: + +`urpmi.update -a` + +- 특정 미디어 업데이트 (비활성 미디어 포함): + +`urpmi.update {{미디어1 미디어2 ...}}` + +- 특정 키워드를 포함하는 모든 미디어 업데이트: + +`urpmi.update {{키워드}}` + +- 모든 구성된 미디어 업데이트: + +`urpmi.update e` diff --git a/pages.ko/linux/urpmq.md b/pages.ko/linux/urpmq.md new file mode 100644 index 00000000000000..b0ce5c03885bd4 --- /dev/null +++ b/pages.ko/linux/urpmq.md @@ -0,0 +1,33 @@ +# urpmq + +> Mageia에서 패키지 및 미디어에 대한 정보를 조회합니다. +> 같이 보기: `urpmi`, `urpmi.update`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpme`. +> 더 많은 정보: . + +- 설치 가능한 패키지에 대한 정보 표시: + +`urpmq -i {{패키지}}` + +- 패키지의 직접적인 의존성 표시: + +`urpmq --requires {{패키지}}` + +- 패키지의 직접 및 간접 의존성 표시: + +`urpmq --requires-recursive {{패키지}}` + +- RPM [f]파일에 필요한 설치되지 않은 패키지 및 소스 나열: + +`sudo urpmq --requires-recursive -m --sources {{경로/대상/파일.rpm}}` + +- URL과 함께 모든 구성된 미디어 나열(비활성 미디어 포함): + +`urpmq --list-media --list-url` + +- 패키지 검색 시 [g]그룹, 버전 및 [r]릴리즈 출력: + +`urpmq -g -r --fuzzy {{키워드}}` + +- 패키지의 정확한 이름을 사용하여 검색: + +`urpmq -g -r {{패키지}}` diff --git a/pages.ko/linux/urxvt.md b/pages.ko/linux/urxvt.md new file mode 100644 index 00000000000000..ed3ef526a07184 --- /dev/null +++ b/pages.ko/linux/urxvt.md @@ -0,0 +1,25 @@ +# urxvt + +> Rxvt-unicode. +> 사용자 정의 가능한 터미널 에뮬레이터. +> 더 많은 정보: . + +- 새로운 urxvt 창 열기: + +`urxvt` + +- 특정 폴더에서 실행: + +`urxvt -cd {{경로/대상/폴더}}` + +- 새로운 urxvt 창에서 명령어 실행: + +`urxvt -e {{명령어}}` + +- 명령어 실행 후 창을 유지: + +`urxvt --hold -e {{명령어}}` + +- `sh` 셸 내에서 명령어 실행: + +`urxvt -e {{sh}} -c {{명령어}}` diff --git a/pages.ko/linux/usbip.md b/pages.ko/linux/usbip.md new file mode 100644 index 00000000000000..2d039ed6eaa9f3 --- /dev/null +++ b/pages.ko/linux/usbip.md @@ -0,0 +1,36 @@ +# usbip + +> 원격으로 USB 장치를 사용합니다. +> 더 많은 정보: . + +- 모든 로컬 USB 장치와 해당 버스 ID 나열: + +`usbip list --local` + +- 서버에서 `usbip` 데몬 시작: + +`systemctl start usbipd` + +- 서버에서 USB 장치를 `usbip`에 바인드: + +`sudo usbip bind --busid {{버스_ID}}` + +- 클라이언트에서 `usbip`에 필요한 커널 모듈 로드: + +`sudo modprobe vhci-hcd` + +- 클라이언트에서 `usbip` 장치에 연결(버스 ID는 서버와 동일합니다): + +`sudo usbip attach -r {{IP_주소}} --busid {{버스_ID}}` + +- 연결된 장치 나열: + +`usbip port` + +- 장치에서 분리: + +`sudo usbip detach --port {{포트}}` + +- 장치의 바인드 해제: + +`usbip unbind --busid {{버스_ID}}` diff --git a/pages.ko/linux/useradd.md b/pages.ko/linux/useradd.md new file mode 100644 index 00000000000000..5453623537ea92 --- /dev/null +++ b/pages.ko/linux/useradd.md @@ -0,0 +1,33 @@ +# useradd + +> 새 사용자 생성. +> 같이 보기: `users`, `userdel`, `usermod`. +> 더 많은 정보: . + +- 새 사용자 생성: + +`sudo useradd {{사용자명}}` + +- 특정 사용자 ID로 새 사용자 생성: + +`sudo useradd {{[-u|--uid]}} {{ID}} {{사용자명}}` + +- 특정 셸로 새 사용자 생성: + +`sudo useradd {{[-s|--shell]}} {{경로/대상/셸}} {{사용자명}}` + +- 추가 그룹에 속하는 새 사용자 생성 (공백 없이 작성): + +`sudo useradd {{[-G|--groups]}} {{그룹1,그룹2,...}} {{사용자명}}` + +- 기본 홈 디렉터리를 가진 새 사용자 생성: + +`sudo useradd {{[-m|--create-home]}} {{사용자명}}` + +- 템플릿 디렉터리 파일로 채워진 홈 디렉터리를 가진 새 사용자 생성: + +`sudo useradd {{[-k|--skel]}} {{경로/대상/템플릿_디렉터리}} {{[-m|--create-home]}} {{사용자명}}` + +- 홈 디렉터리 없이 새 시스템 사용자 생성: + +`sudo useradd {{[-r|--system]}} {{사용자명}}` diff --git a/pages.ko/linux/userdbctl.md b/pages.ko/linux/userdbctl.md new file mode 100644 index 00000000000000..3b8efe95dd2f77 --- /dev/null +++ b/pages.ko/linux/userdbctl.md @@ -0,0 +1,24 @@ +# userdbctl + +> 시스템의 사용자, 그룹 및 그룹 멤버십을 검사합니다. +> 더 많은 정보: . + +- 모든 알려진 사용자 기록 나열: + +`userdbctl user` + +- 특정 사용자 세부 정보 표시: + +`userdbctl user {{사용자명}}` + +- 모든 알려진 그룹 나열: + +`userdbctl group` + +- 특정 그룹 세부 정보 표시: + +`userdbctl group {{그룹명}}` + +- 현재 시스템에 사용자/그룹 정의를 제공하는 모든 서비스 나열: + +`userdbctl services` diff --git a/pages.ko/linux/userdel.md b/pages.ko/linux/userdel.md new file mode 100644 index 00000000000000..c663902981118f --- /dev/null +++ b/pages.ko/linux/userdel.md @@ -0,0 +1,17 @@ +# userdel + +> 사용자 계정을 삭제하거나 사용자를 그룹에서 제거합니다. +> 같이 보기: `users`, `useradd`, `usermod`. +> 더 많은 정보: . + +- 사용자 삭제: + +`sudo userdel {{사용자명}}` + +- 다른 루트 디렉토리에서 사용자 삭제: + +`sudo userdel {{[-R|--root]}} {{경로/대상/다른/루트}} {{사용자명}}` + +- 홈 디렉토리 및 메일 스풀과 함께 사용자 삭제: + +`sudo userdel {{[-r|--remove]}} {{사용자명}}` diff --git a/pages.ko/linux/usermod.md b/pages.ko/linux/usermod.md new file mode 100644 index 00000000000000..e735a71decaee1 --- /dev/null +++ b/pages.ko/linux/usermod.md @@ -0,0 +1,25 @@ +# usermod + +> 사용자 계정을 수정합니다. +> 같이 보기: `users`, `useradd`, `userdel`. +> 더 많은 정보: . + +- 사용자명을 변경: + +`sudo usermod {{[-l|--login]}} {{새로운_사용자명}} {{사용자명}}` + +- 사용자 ID 변경: + +`sudo usermod {{[-u|--uid]}} {{ID}} {{사용자명}}` + +- 사용자 셸 변경: + +`sudo usermod {{[-s|--shell]}} {{경로/대상/셸}} {{사용자명}}` + +- 사용자를 보조 그룹에 추가 (공백 없음에 유의): + +`sudo usermod {{[-a|--append]}} {{[-G|--groups]}} {{그룹1,그룹2,...}} {{사용자명}}` + +- 사용자 홈 디렉터리 변경: + +`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{경로/대상/새로운_홈}} {{사용자명}}` diff --git a/pages.ko/linux/utmpdump.md b/pages.ko/linux/utmpdump.md new file mode 100644 index 00000000000000..b9946fd336fca8 --- /dev/null +++ b/pages.ko/linux/utmpdump.md @@ -0,0 +1,12 @@ +# utmpdump + +> btmp, utmp 및 wtmp 회계 파일을 덤프하고 로드합니다. +> 더 많은 정보: . + +- `/var/log/wtmp` 파일을 일반 텍스트로 `stdout`에 덤프: + +`utmpdump {{/var/log/wtmp}}` + +- 이전에 덤프한 파일을 `/var/log/wtmp`에 로드: + +`utmpdump -r {{덤프파일}} > {{/var/log/wtmp}}` diff --git a/pages.ko/linux/uuid.md b/pages.ko/linux/uuid.md new file mode 100644 index 00000000000000..636319d86732b9 --- /dev/null +++ b/pages.ko/linux/uuid.md @@ -0,0 +1,33 @@ +# uuid + +> 범용 고유 식별자(UUID) 생성 및 디코드. +> 같이 보기: `uuidgen`. +> 더 많은 정보: . + +- UUIDv1 생성 (시간 및 시스템의 하드웨어 주소 기반, 사용 가능한 경우): + +`uuid` + +- UUIDv4 생성 (무작위 데이터 기반): + +`uuid -v {{4}}` + +- 여러 개의 UUIDv4를 한 번에 생성: + +`uuid -v {{4}} -n {{UUID_개수}}` + +- UUIDv4를 생성하고 출력 형식 지정: + +`uuid -v {{4}} -F {{BIN|STR|SIV}}` + +- UUIDv4를 생성하고 출력을 파일에 저장: + +`uuid -v {{4}} -o {{경로/대상/파일}}` + +- 주어진 네임스페이스 접두사로 UUIDv5 생성 (제공된 객체 이름 기반): + +`uuid -v {{5}} ns:{{DNS|URL|OID|X500}} {{객체_이름}}` + +- 주어진 UUID 디코드: + +`uuid -d {{uuid}}` diff --git a/pages.ko/linux/uuidd.md b/pages.ko/linux/uuidd.md new file mode 100644 index 00000000000000..debf526ac7fa5c --- /dev/null +++ b/pages.ko/linux/uuidd.md @@ -0,0 +1,16 @@ +# uuidd + +> UUID 생성을 위한 데몬. +> 더 많은 정보: . + +- 무작위 UUID 생성: + +`uuidd --random` + +- 다수의 무작위 UUID 생성: + +`uuidd --random --uuids {{UUID_개수}}` + +- 현재 시간과 시스템의 MAC 주소를 기반으로 한 시간 기반 UUID 생성: + +`uuidd --time` diff --git a/pages.ko/linux/uuidgen.md b/pages.ko/linux/uuidgen.md new file mode 100644 index 00000000000000..6a2128643a5e56 --- /dev/null +++ b/pages.ko/linux/uuidgen.md @@ -0,0 +1,17 @@ +# uuidgen + +> 고유 식별자(UUID)를 생성합니다. +> 같이 보기: `uuid`. +> 더 많은 정보: . + +- 무작위 UUIDv4 생성: + +`uuidgen --random` + +- 현재 시간을 기반으로 UUIDv1 생성: + +`uuidgen --time` + +- 지정된 네임스페이스 접두사를 가진 이름의 UUIDv5 생성: + +`uuidgen --sha1 --namespace {{@dns|@url|@oid|@x500}} --name {{객체_이름}}` diff --git a/pages.ko/linux/uuidparse.md b/pages.ko/linux/uuidparse.md new file mode 100644 index 00000000000000..95fd60d3bb7351 --- /dev/null +++ b/pages.ko/linux/uuidparse.md @@ -0,0 +1,33 @@ +# uuidparse + +> 범용 고유 식별자(UUID) 파싱. +> 같이 보기: `uuidgen`. +> 더 많은 정보: . + +- 지정된 UUID를 파싱하고 표 형식으로 출력: + +`uuidparse {{uuid1 uuid2 ...}}` + +- `stdin`에서 UUID 파싱: + +`{{명령어}} | uuidparse` + +- JSON 출력 형식 사용: + +`uuidparse --json {{uuid1 uuid2 ...}}` + +- 헤더 줄을 출력하지 않음: + +`uuidparse --noheadings {{uuid1 uuid2 ...}}` + +- 원시 출력 형식 사용: + +`uuidparse --raw {{uuid1 uuid2 ...}}` + +- 출력할 네 가지 열을 지정: + +`uuidparse --output {{UUID,VARIANT,TYPE,TIME}}` + +- 도움말 표시: + +`uuidparse -h` diff --git a/pages.ko/linux/uvcdynctrl.md b/pages.ko/linux/uvcdynctrl.md new file mode 100644 index 00000000000000..bb2fe0ac1caf03 --- /dev/null +++ b/pages.ko/linux/uvcdynctrl.md @@ -0,0 +1,32 @@ +# uvcdynctrl + +> uvcvideo에서 동적 제어를 관리하는 libwebcam 명령줄 도구. +> 더 많은 정보: . + +- 사용 가능한 모든 카메라 나열: + +`uvcdynctrl -l` + +- 특정 디바이스 사용 (`video0`이 기본값): + +`uvcdynctrl -d {{디바이스_이름}}` + +- 사용 가능한 제어 목록 나열: + +`uvcdynctrl -c` + +- 새로운 제어 값 설정 (음수 값을 위해서는 `-- -값` 사용): + +`uvcdynctrl -s {{제어_이름}} {{값}}` + +- 현재 제어 값 가져오기: + +`uvcdynctrl -g {{제어_이름}}` + +- 현재 제어 상태를 파일에 저장: + +`uvcdynctrl -W {{파일명}}` + +- 파일에서 제어 상태 로드: + +`uvcdynctrl -L {{파일명}}` diff --git a/pages.ko/linux/v4l2-ctl.md b/pages.ko/linux/v4l2-ctl.md new file mode 100644 index 00000000000000..50630587cb1617 --- /dev/null +++ b/pages.ko/linux/v4l2-ctl.md @@ -0,0 +1,36 @@ +# v4l2-ctl + +> 비디오 장치 제어. +> 더 많은 정보: . + +- 모든 비디오 장치 나열: + +`v4l2-ctl --list-devices` + +- 기본 비디오 장치 `/dev/video0`의 지원 비디오 포맷과 해상도 나열: + +`v4l2-ctl --list-formats-ext` + +- 특정 비디오 장치의 지원 비디오 포맷과 해상도 나열: + +`v4l2-ctl --list-formats-ext {{[-d|--device]}} {{경로/대상/비디오_장치}}` + +- 비디오 장치의 모든 세부 정보 가져오기: + +`v4l2-ctl --all {{[-d|--device]}} {{경로/대상/비디오_장치}}` + +- 특정 해상도로 비디오 장치에서 JPEG 사진 캡처: + +`v4l2-ctl {{[-d|--device]}} {{경로/대상/비디오_장치}} --set-fmt-video=width={{너비}},height={{높이}},pixelformat=MJPG --stream-mmap --stream-to={{경로/대상/출력.jpg}} --stream-count=1` + +- 비디오 장치에서 원시 비디오 스트림 캡처: + +`v4l2-ctl {{[-d|--device]}} {{경로/대상/비디오_장치}} --set-fmt-video=width={{너비}},height={{높이}},pixelformat={{포맷}} --stream-mmap --stream-to={{경로/대상/출력}} --stream-count={{캡처할_프레임_수}}` + +- 모든 비디오 장치의 컨트롤과 그 값 나열: + +`v4l2-ctl {{[-l|--list-ctrls]}} {{[-d|--device]}} {{경로/대상/비디오_장치}}` + +- 비디오 장치 컨트롤 값 설정: + +`v4l2-ctl {{[-d|--device]}} {{경로/대상/비디오_장치}} {{[-c|--set-ctrl]}} {{컨트롤_이름}}={{값}}` diff --git a/pages.ko/linux/vcgencmd.md b/pages.ko/linux/vcgencmd.md new file mode 100644 index 00000000000000..9e22c8fe637499 --- /dev/null +++ b/pages.ko/linux/vcgencmd.md @@ -0,0 +1,28 @@ +# vcgencmd + +> Raspberry Pi의 시스템 정보를 출력합니다. +> 더 많은 정보: . + +- 사용 가능한 모든 명령 나열: + +`vcgencmd commands` + +- 현재 CPU 온도 출력: + +`vcgencmd measure_temp` + +- 현재 전압 출력: + +`vcgencmd measure_volts` + +- 시스템의 제한 상태를 비트 패턴으로 출력: + +`vcgencmd get_throttled` + +- 부트로더 구성 출력 (Raspberry Pi 4 모델에서만 사용 가능): + +`vcgencmd bootloader_config` + +- 도움말 표시: + +`vcgencmd --help` diff --git a/pages.ko/linux/veracrypt.md b/pages.ko/linux/veracrypt.md new file mode 100644 index 00000000000000..5d31c5fe574ef8 --- /dev/null +++ b/pages.ko/linux/veracrypt.md @@ -0,0 +1,20 @@ +# veracrypt + +> 무료 및 오픈 소스 디스크 암호화 소프트웨어. +> 더 많은 정보: . + +- 텍스트 사용자 인터페이스를 통해 새 볼륨을 생성하고 `/dev/urandom`을 무작위 데이터의 소스로 사용: + +`veracrypt {{[-t|--text]}} {{[-c|--create]}} --random-source={{/dev/urandom}}` + +- 텍스트 사용자 인터페이스를 통해 볼륨을 상호작용적으로 복호화하고 디렉토리에 마운트: + +`veracrypt {{[-t|--text]}} {{경로/대상/볼륨}} {{경로/대상/마운트_포인트}}` + +- 키 파일을 사용하여 파티션을 복호화하고 디렉토리에 마운트: + +`veracrypt {{[-k|--keyfiles]}} {{경로/대상/키파일}} {{/dev/sdXN}} {{경로/대상/마운트_포인트}}` + +- 마운트된 디렉토리에서 볼륨 마운트 해제: + +`veracrypt {{[-d|--dismount]}} {{경로/대상/마운트된_포인트}}` diff --git a/pages.ko/linux/vgchange.md b/pages.ko/linux/vgchange.md new file mode 100644 index 00000000000000..86d15e28a8a480 --- /dev/null +++ b/pages.ko/linux/vgchange.md @@ -0,0 +1,13 @@ +# vgchange + +> 논리 볼륨 관리자(LVM) 볼륨 그룹의 속성을 변경합니다. +> 같이 보기: `lvm`. +> 더 많은 정보: . + +- 모든 볼륨 그룹의 논리 볼륨 활성화 상태 변경: + +`sudo vgchange --activate {{y|n}}` + +- 지정된 볼륨 그룹의 논리 볼륨 활성화 상태 변경 (`vgscan`으로 확인 가능): + +`sudo vgchange --activate {{y|n}} {{볼륨_그룹}}` diff --git a/pages.ko/linux/vgcreate.md b/pages.ko/linux/vgcreate.md new file mode 100644 index 00000000000000..997b3e0ceb60af --- /dev/null +++ b/pages.ko/linux/vgcreate.md @@ -0,0 +1,13 @@ +# vgcreate + +> 여러 대용량 저장 장치를 결합하여 볼륨 그룹 생성. +> 같이 보기: `lvm`. +> 더 많은 정보: . + +- `/dev/sda1` 장치를 사용하여 vg1이라는 새 볼륨 그룹 생성: + +`vgcreate {{vg1}} {{/dev/sda1}}` + +- 여러 장치를 사용하여 vg1이라는 새 볼륨 그룹 생성: + +`vgcreate {{vg1}} {{/dev/sda1}} {{/dev/sdb1}} {{/dev/sdc1}}` diff --git a/pages.ko/linux/vgdisplay.md b/pages.ko/linux/vgdisplay.md new file mode 100644 index 00000000000000..aebfe756798273 --- /dev/null +++ b/pages.ko/linux/vgdisplay.md @@ -0,0 +1,13 @@ +# vgdisplay + +> Logical Volume Manager (LVM) 볼륨 그룹 정보를 표시합니다. +> 같이 보기: `lvm`. +> 더 많은 정보: . + +- 모든 볼륨 그룹 정보 표시: + +`sudo vgdisplay` + +- 볼륨 그룹 vg1의 정보 표시: + +`sudo vgdisplay {{vg1}}` diff --git a/pages.ko/linux/vgs.md b/pages.ko/linux/vgs.md new file mode 100644 index 00000000000000..4fcd57060ce48c --- /dev/null +++ b/pages.ko/linux/vgs.md @@ -0,0 +1,33 @@ +# vgs + +> 볼륨 그룹에 대한 정보를 표시합니다. +> 같이 보기: `lvm`. +> 더 많은 정보: . + +- 볼륨 그룹에 대한 정보 표시: + +`vgs` + +- 모든 볼륨 그룹 표시: + +`vgs -a` + +- 기본 표시 항목을 더 자세히 보이도록 변경: + +`vgs -v` + +- 특정 필드만 표시: + +`vgs -o {{필드_이름_1}},{{필드_이름_2}}` + +- 기본 표시 항목에 필드를 추가: + +`vgs -o +{{필드_이름}}` + +- 제목 줄을 생략: + +`vgs --noheadings` + +- 필드를 구분자와 함께 구분하여 사용: + +`vgs --separator =` diff --git a/pages.ko/linux/vgscan.md b/pages.ko/linux/vgscan.md new file mode 100644 index 00000000000000..51bbd1991e2e89 --- /dev/null +++ b/pages.ko/linux/vgscan.md @@ -0,0 +1,13 @@ +# vgscan + +> 지원되는 모든 논리 볼륨 관리자(LVM) 블록 장치에서 볼륨 그룹을 검색합니다. +> 같이 보기: `lvm`, `vgchange`. +> 더 많은 정보: . + +- 볼륨 그룹을 검색하고 발견된 각 그룹에 대한 정보 표시: + +`sudo vgscan` + +- 볼륨 그룹을 검색하고 발견된 그룹의 논리 볼륨에 접근하는 데 필요한 `/dev`의 특별 파일이 이미 존재하지 않으면 추가: + +`sudo vgscan --mknodes` diff --git a/pages.ko/linux/viewnior.md b/pages.ko/linux/viewnior.md new file mode 100644 index 00000000000000..9b71066e34a1ce --- /dev/null +++ b/pages.ko/linux/viewnior.md @@ -0,0 +1,16 @@ +# viewnior + +> 단순하고 우아한 이미지 뷰어. +> 더 많은 정보: . + +- 이미지 보기: + +`viewnior {{경로/대상/이미지.ext}}` + +- 전체 화면 모드로 보기: + +`viewnior --fullscreen {{경로/대상/이미지.ext}}` + +- 슬라이드쇼 모드로 전체 화면 보기: + +`viewnior --slideshow {{경로/대상/이미지.ext}}` diff --git a/pages.ko/linux/vigr.md b/pages.ko/linux/vigr.md new file mode 100644 index 00000000000000..e027a2b6a5a348 --- /dev/null +++ b/pages.ko/linux/vigr.md @@ -0,0 +1,12 @@ +# vigr + +> 그룹 파일을 편집합니다. +> 더 많은 정보: . + +- 그룹 파일 편집: + +`vigr` + +- 버전 표시: + +`vigr --version` diff --git a/pages.ko/linux/vipw.md b/pages.ko/linux/vipw.md new file mode 100644 index 00000000000000..dde076482a78cc --- /dev/null +++ b/pages.ko/linux/vipw.md @@ -0,0 +1,12 @@ +# vipw + +> 비밀번호 파일을 편집합니다. +> 더 많은 정보: . + +- 비밀번호 파일 편집: + +`vipw` + +- 버전 표시: + +`vipw --version` diff --git a/pages.ko/linux/virt-manager.md b/pages.ko/linux/virt-manager.md new file mode 100644 index 00000000000000..1c17b4e0eac37d --- /dev/null +++ b/pages.ko/linux/virt-manager.md @@ -0,0 +1,36 @@ +# virt-manager + +> KVM 및 Xen 가상 머신과 LXC 컨테이너를 관리하기 위한 데스크톱 사용자 인터페이스. +> 더 많은 정보: . + +- GUI 실행: + +`virt-manager` + +- 하이퍼바이저에 연결: + +`virt-manager --connect {{하이퍼바이저_URI}}` + +- 시작 시 virt-manager 프로세스를 백그라운드로 포크하지 않음: + +`virt-manager --no-fork` + +- 디버그 출력 표시: + +`virt-manager --debug` + +- "새로운 VM" 마법사 열기: + +`virt-manager --show-domain-creator` + +- 특정 가상 머신/컨테이너에 대한 도메인 세부 정보 창 표시: + +`virt-manager --show-domain-editor {{이름|ID|UUID}}` + +- 특정 가상 머신/컨테이너에 대한 도메인 성능 창 표시: + +`virt-manager --show-domain-performance {{이름|ID|UUID}}` + +- 연결 세부 정보 창 표시: + +`virt-manager --show-host-summary` diff --git a/pages.ko/linux/virt-viewer.md b/pages.ko/linux/virt-viewer.md new file mode 100644 index 00000000000000..128338aaa6470b --- /dev/null +++ b/pages.ko/linux/virt-viewer.md @@ -0,0 +1,25 @@ +# virt-viewer + +> 가상 머신(VM)을 위한 최소한의 그래픽 인터페이스. +> 참고: '도메인'은 기존 VM의 이름, UUID 또는 ID를 의미합니다 (참조: tldr virsh). +> 더 많은 정보: . + +- 실행 중인 가상 머신을 선택할 수 있는 프롬프트로 `virt-viewer` 시작: + +`virt-viewer` + +- ID, UUID 또는 이름으로 특정 가상 머신에 대해 `virt-viewer` 시작: + +`virt-viewer "{{도메인}}"` + +- 가상 머신이 시작될 때까지 기다리고 종료 후 재시작되면 자동으로 다시 연결: + +`virt-viewer --reconnect --wait "{{도메인}}"` + +- TLS를 통해 특정 원격 가상 머신에 연결: + +`virt-viewer --connect "xen//{{URL}}" "{{도메인}}"` + +- SSH를 통해 특정 원격 가상 머신에 연결: + +`virt-viewer --connect "qemu+ssh//{{사용자명}}@{{URL}}/system" "{{도메인}}"` diff --git a/pages.ko/linux/virt-xml-validate.md b/pages.ko/linux/virt-xml-validate.md new file mode 100644 index 00000000000000..5b0635935b60af --- /dev/null +++ b/pages.ko/linux/virt-xml-validate.md @@ -0,0 +1,13 @@ +# virt-xml-validate + +> `libvirt` XML 파일을 스키마에 따라 검증. +> 스키마가 지정되지 않으면, XML 파일의 루트 요소에 의해 스키마가 결정됩니다. +> 더 많은 정보: . + +- 특정 스키마에 따라 XML 파일 검증: + +`virt-xml-validate {{경로/대상/파일.xml}} {{스키마}}` + +- 도메인 스키마에 따라 도메인 XML 검증: + +`virt-xml-validate {{경로/대상/도메인.xml}} domain` diff --git a/pages.ko/linux/virt-xml.md b/pages.ko/linux/virt-xml.md new file mode 100644 index 00000000000000..6a4036a951f2f8 --- /dev/null +++ b/pages.ko/linux/virt-xml.md @@ -0,0 +1,29 @@ +# virt-xml + +> 명령줄 옵션을 사용하여 libvirt 도메인 XML 파일을 편집합니다. +> 참고: '도메인'은 기존 VM의 이름, UUID 또는 ID를 의미합니다 (참조: tldr virsh). +> 더 많은 정보: . + +- 특정 옵션에 대한 모든 하위 옵션 나열: + +`virt-xml --{{옵션}}=?` + +- 디스크, 네트워크 및 부트에 대한 모든 하위 옵션 나열: + +`virt-xml --disk=? --network=? --boot=?` + +- 특정 도메인의 값을 편집: + +`virt-xml {{도메인}} --edit --{{옵션}} {{하위옵션}}={{새로운_값}}` + +- 특정 도메인의 설명 변경: + +`virt-xml {{도메인}} --edit --metadata description="{{새로운_설명}}"` + +- 특정 도메인에 대한 부팅 장치 메뉴 활성화/비활성화: + +`virt-xml {{도메인}} --edit --boot bootmenu={{on|off}}` + +- 실행 중인 VM에 호스트 USB 허브 연결 (참조: tldr lsusb): + +`virt-xml {{도메인}} --update --add-device --hostdev {{버스}}.{{장치}}` diff --git a/pages.ko/linux/vivaldi-stable.md b/pages.ko/linux/vivaldi-stable.md new file mode 100644 index 00000000000000..3ab0a8e78df9ee --- /dev/null +++ b/pages.ko/linux/vivaldi-stable.md @@ -0,0 +1,8 @@ +# vivaldi-stable + +> 이 명령은 `chromium`의 별칭입니다. +> 더 많은 정보: . + +- 원본 명령에 대한 문서 보기: + +`tldr chromium` diff --git a/pages.ko/linux/vkpurge.md b/pages.ko/linux/vkpurge.md new file mode 100644 index 00000000000000..8da28c2017a147 --- /dev/null +++ b/pages.ko/linux/vkpurge.md @@ -0,0 +1,17 @@ +# vkpurge + +> `xbps`에 의해 남겨진 오래된 커널 버전을 나열하거나 제거합니다. +> `version` 인수는 셸 글롭을 지원합니다. +> 더 많은 정보: . + +- 제거 가능한 모든 커널 버전 나열 (또는 `version` 인수가 지정된 경우 해당 버전 나열): + +`vkpurge list {{버전}}` + +- 사용되지 않는 모든 커널 제거: + +`vkpurge rm all` + +- `version`과 일치하는 커널 버전 제거: + +`vkpurge rm {{버전}}` diff --git a/pages.ko/linux/vmstat.md b/pages.ko/linux/vmstat.md new file mode 100644 index 00000000000000..30146c3d4b6200 --- /dev/null +++ b/pages.ko/linux/vmstat.md @@ -0,0 +1,12 @@ +# vmstat + +> 프로세스, 메모리, 페이징, 블록 IO, 트랩, 디스크 및 CPU 활동에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- 가상 메모리 통계를 표시: + +`vmstat` + +- 2초마다 5회 보고서 표시: + +`vmstat {{2}} {{5}}` diff --git a/pages.ko/linux/vmware-checkvm.md b/pages.ko/linux/vmware-checkvm.md new file mode 100644 index 00000000000000..c4e70df59383c2 --- /dev/null +++ b/pages.ko/linux/vmware-checkvm.md @@ -0,0 +1,12 @@ +# vmware-checkvm + +> 현재 호스트가 VMware VM인지 확인. +> 더 많은 정보: . + +- 현재 VMware 소프트웨어 버전 반환 (시스템이 VM인지 여부는 종료 상태에 따라 결정): + +`vmware-checkvm` + +- VMware 하드웨어 버전 반환: + +`vmware-checkvm -h` diff --git a/pages.ko/linux/vncserver.md b/pages.ko/linux/vncserver.md new file mode 100644 index 00000000000000..adc0858e01cbb6 --- /dev/null +++ b/pages.ko/linux/vncserver.md @@ -0,0 +1,16 @@ +# vncserver + +> VNC (Virtual Network Computing) 데스크톱 시작. +> 더 많은 정보: . + +- 다음 사용 가능한 디스플레이에 VNC 서버 시작: + +`vncserver` + +- 특정 화면 크기로 VNC 서버 시작: + +`vncserver --geometry {{너비}}x{{높이}}` + +- 특정 디스플레이에서 실행 중인 VNC 서버 인스턴스 종료: + +`vncserver --kill :{{디스플레이_번호}}` diff --git a/pages.ko/linux/vncviewer.md b/pages.ko/linux/vncviewer.md new file mode 100644 index 00000000000000..b2f83fa9db4c25 --- /dev/null +++ b/pages.ko/linux/vncviewer.md @@ -0,0 +1,20 @@ +# vncviewer + +> VNC (Virtual Network Computing) 클라이언트를 시작합니다. +> 더 많은 정보: . + +- 지정된 디스플레이의 호스트에 연결하는 VNC 클라이언트 시작: + +`vncviewer {{호스트}}:{{디스플레이_번호}}` + +- 전체 화면 모드로 시작: + +`vncviewer -FullScreen {{호스트}}:{{디스플레이_번호}}` + +- 특정 화면 크기로 VNC 클라이언트 시작: + +`vncviewer --geometry {{너비}}x{{높이}} {{호스트}}:{{디스플레이_번호}}` + +- 지정된 포트의 호스트에 연결하는 VNC 클라이언트 시작: + +`vncviewer {{호스트}}::{{포트}}` diff --git a/pages.ko/linux/vnstat.md b/pages.ko/linux/vnstat.md new file mode 100644 index 00000000000000..2da4c8659c332c --- /dev/null +++ b/pages.ko/linux/vnstat.md @@ -0,0 +1,24 @@ +# vnstat + +> 콘솔 기반 네트워크 트래픽 모니터. +> 더 많은 정보: . + +- 모든 인터페이스에 대한 트래픽 요약 표시: + +`vnstat` + +- 특정 네트워크 인터페이스에 대한 트래픽 요약 표시: + +`vnstat -i {{네트워크_인터페이스}}` + +- 특정 네트워크 인터페이스에 대한 실시간 통계 표시: + +`vnstat -l -i {{네트워크_인터페이스}}` + +- 막대 그래프를 사용하여 지난 24시간 동안의 시간별 트래픽 통계 표시: + +`vnstat -hg` + +- 30초 동안 평균 트래픽 측정 및 표시: + +`vnstat -tr {{30}}` diff --git a/pages.ko/linux/vnstati.md b/pages.ko/linux/vnstati.md new file mode 100644 index 00000000000000..10ecf137c6d8c4 --- /dev/null +++ b/pages.ko/linux/vnstati.md @@ -0,0 +1,20 @@ +# vnstati + +> vnStat의 PNG 이미지 출력 지원. +> 더 많은 정보: . + +- 지난 2개월, 일별 및 전체 요약 출력: + +`vnstati --summary --iface {{네트워크_인터페이스}} --output {{경로/대상/출력.png}}` + +- 역대 트래픽이 가장 많은 10일 출력: + +`vnstati --top 10 --iface {{네트워크_인터페이스}} --output {{경로/대상/출력.png}}` + +- 지난 12개월의 월별 트래픽 통계 출력: + +`vnstati --months --iface {{네트워크_인터페이스}} --output {{경로/대상/출력.png}}` + +- 지난 24시간의 시간별 트래픽 통계 출력: + +`vnstati --hours --iface {{네트워크_인터페이스}} --output {{경로/대상/출력.png}}` diff --git a/pages.ko/linux/vpnc.md b/pages.ko/linux/vpnc.md new file mode 100644 index 00000000000000..c4343c218ee178 --- /dev/null +++ b/pages.ko/linux/vpnc.md @@ -0,0 +1,12 @@ +# vpnc + +> Cisco 3000 VPN Concentrator용 VPN 클라이언트. +> 더 많은 정보: . + +- 정의된 설정 파일로 연결: + +`sudo vpnc {{설정_파일}}` + +- 이전에 생성된 연결 종료: + +`sudo vpnc-disconnect` diff --git a/pages.ko/linux/vrms.md b/pages.ko/linux/vrms.md new file mode 100644 index 00000000000000..6f31ebbb7fb399 --- /dev/null +++ b/pages.ko/linux/vrms.md @@ -0,0 +1,12 @@ +# vrms + +> Debian 기반 OS에 설치된 비자유 패키지를 보고. +> 더 많은 정보: . + +- 비자유 및 contrib 패키지 (및 설명) 나열: + +`vrms` + +- 패키지 이름만 출력: + +`vrms --sparse` diff --git a/pages.ko/linux/vso.md b/pages.ko/linux/vso.md new file mode 100644 index 00000000000000..a8c894a5eb9c6d --- /dev/null +++ b/pages.ko/linux/vso.md @@ -0,0 +1,36 @@ +# vso + +> Vanilla OS를 위한 패키지 관리자, 시스템 업데이트 및 작업 자동화 도구. +> 더 많은 정보: . + +- 호스트 시스템의 시스템 업데이트 확인: + +`vso sys-upgrade check` + +- 호스트 시스템을 지금 업그레이드: + +`vso sys-upgrade upgrade --now` + +- Pico 하위 시스템 초기화 (패키지 관리에 사용됨): + +`vso pico-init` + +- 하위 시스템 내 애플리케이션 설치: + +`vso install {{패키지1 패키지2 ...}}` + +- 하위 시스템에서 애플리케이션 제거: + +`vso remove {{패키지1 패키지2 ...}}` + +- 하위 시스템의 셸에 진입: + +`vso shell` + +- 하위 시스템에서 애플리케이션 실행: + +`vso run {{패키지}}` + +- VSO 구성 표시: + +`vso config show` diff --git a/pages.ko/linux/vzdump.md b/pages.ko/linux/vzdump.md new file mode 100644 index 00000000000000..4ad4f1803ff990 --- /dev/null +++ b/pages.ko/linux/vzdump.md @@ -0,0 +1,28 @@ +# vzdump + +> 가상 머신 및 컨테이너 백업 유틸리티. +> 더 많은 정보: . + +- 스냅샷을 제외하고 기본 덤프 디렉토리(보통 `/var/lib/vz/dump/`)에 게스트 가상 머신을 덤프: + +`vzdump {{가상_머신_ID}}` + +- ID가 101, 102, 103인 게스트 가상 머신 백업: + +`vzdump {{101 102 103}}` + +- 특정 모드를 사용하여 게스트 가상 머신 덤프: + +`vzdump {{가상_머신_ID}} --mode {{suspend|snapshot}}` + +- 모든 게스트 시스템을 백업하고 루트 및 관리자 사용자에게 알림 이메일 전송: + +`vzdump --all --mode {{suspend}} --mailto {{root}} --mailto {{admin}}` + +- 스냅샷 모드 사용(다운타임 필요 없음) 및 기본이 아닌 덤프 디렉토리 사용: + +`vzdump {{가상_머신_ID}} --dumpdir {{경로/대상/폴더}} --mode {{snapshot}}` + +- ID가 101 및 102인 것 제외한 모든 게스트 가상 머신 백업: + +`vzdump --mode {{suspend}} --exclude {{101, 102}}` diff --git a/pages.ko/linux/waitpid.md b/pages.ko/linux/waitpid.md new file mode 100644 index 00000000000000..800fc162512fee --- /dev/null +++ b/pages.ko/linux/waitpid.md @@ -0,0 +1,25 @@ +# waitpid + +> 임의의 프로세스 종료를 대기. +> 같이 보기: `wait`. +> 더 많은 정보: . + +- 지정된 PID의 모든 프로세스가 종료될 때까지 대기: + +`waitpid {{pid1 pid2 ...}}` + +- 최대 `n`초 동안 대기: + +`waitpid --timeout {{n}} {{pid1 pid2 ...}}` + +- 지정된 PID가 이미 종료된 경우에도 오류 발생하지 않음: + +`waitpid --exited {{pid1 pid2 ...}}` + +- 지정된 프로세스 중 `n`개가 종료될 때까지 대기: + +`waitpid --count {{n}} {{pid1 pid2 ...}}` + +- 도움말 표시: + +`waitpid -h` diff --git a/pages.ko/linux/wajig.md b/pages.ko/linux/wajig.md new file mode 100644 index 00000000000000..454458f2f2ee5d --- /dev/null +++ b/pages.ko/linux/wajig.md @@ -0,0 +1,36 @@ +# wajig + +> Debian 기반 시스템을 위한 단순화된 올인원 시스템 지원 도구. +> 더 많은 정보: . + +- 사용 가능한 패키지 및 버전 목록 업데이트: + +`wajig update` + +- 패키지 설치 또는 최신 버전으로 업데이트: + +`wajig install {{패키지}}` + +- 패키지 및 해당 설정 파일 제거: + +`wajig purge {{패키지}}` + +- 업데이트 후 배포 업그레이드 수행: + +`wajig daily-upgrade` + +- 설치된 패키지의 크기 표시: + +`wajig sizes` + +- 설치된 모든 패키지의 버전 및 배포 목록: + +`wajig versions` + +- 업그레이드 가능한 패키지의 버전 목록: + +`wajig toupgrade` + +- 주어진 패키지에 대한 의존성을 가진 패키지 표시: + +`wajig dependents {{패키지}}` diff --git a/pages.ko/linux/wal-telegram.md b/pages.ko/linux/wal-telegram.md new file mode 100644 index 00000000000000..4007dee20ccc6d --- /dev/null +++ b/pages.ko/linux/wal-telegram.md @@ -0,0 +1,28 @@ +# wal-telegram + +> pywal/wal이 생성한 색상을 기반으로 Telegram 테마를 생성. +> 더 많은 정보: . + +- wal의 팔레트와 현재 배경화면(feh 전용)으로 생성: + +`wal-telegram` + +- wal의 팔레트와 지정된 배경 이미지로 생성: + +`wal-telegram --background={{경로/대상/이미지}}` + +- wal의 팔레트와 팔레트를 기반으로 한 색상 배경으로 생성: + +`wal-telegram --tiled` + +- 배경 이미지에 가우시안 블러 적용: + +`wal-telegram -g` + +- 생성된 테마의 저장 위치 지정(기본값은 `$XDG_CACHE_HOME/wal-telegram` 또는 `~/.cache/wal-telegram`): + +`wal-telegram --destination={{경로/대상/저장소}}` + +- 생성 후 Telegram 앱 재시작: + +`wal-telegram --restart` diff --git a/pages.ko/linux/wall.md b/pages.ko/linux/wall.md new file mode 100644 index 00000000000000..882baa3230ce8e --- /dev/null +++ b/pages.ko/linux/wall.md @@ -0,0 +1,20 @@ +# wall + +> 현재 로그인된 사용자들의 터미널에 메시지를 작성합니다. +> 더 많은 정보: . + +- 메시지 보내기: + +`wall {{메시지}}` + +- 특정 그룹에 속한 사용자들에게 메시지 보내기: + +`wall {{[-g|--group]}} {{그룹_이름}} {{메시지}}` + +- 파일에서 메시지 보내기: + +`wall {{파일}}` + +- 타임아웃과 함께 메시지 보내기 (기본값 300초): + +`wall {{[-t|--timeout]}} {{초}} {{파일}}` diff --git a/pages.ko/linux/wami.md b/pages.ko/linux/wami.md new file mode 100644 index 00000000000000..0c0e45f1082d42 --- /dev/null +++ b/pages.ko/linux/wami.md @@ -0,0 +1,20 @@ +# wami + +> 작업에 적합한 프로그램을 추천하는 오픈 소스 및 사용하기 쉬운 도구. +> 더 많은 정보: . + +- 모든 카테고리에서 결과를 찾아 지정된 순서로 [S]정렬: + +`wami --show-all -S {{asc|desc}} --search-all {{검색어}}` + +- GitHub에서 확장된 결과를 찾아 내림차순으로 [S]정렬: + +`wami --show-all -S desc --github {{검색어}}` + +- GitHub에서 검색어와 일치하는 주제 검색: + +`wami --list-topics {{검색어}}` + +- pentest에 사용되는 도구를 검색하여 기본 자격 증명에 대해 쿼리하고 결과를 내림차순으로 [S]정렬: + +`wami -S desc --search-all pentest credential default` diff --git a/pages.ko/linux/warpd.md b/pages.ko/linux/warpd.md new file mode 100644 index 00000000000000..5639bde8905824 --- /dev/null +++ b/pages.ko/linux/warpd.md @@ -0,0 +1,32 @@ +# warpd + +> 키보드 기반 모달 포인터 조작 프로그램. +> 더 많은 정보: . + +- 일반 모드로 warpd 실행: + +`warpd --normal` + +- 힌트 모드로 warpd 실행: + +`warpd --hint` + +- 커서를 왼쪽으로 이동: + +`` + +- 커서를 아래로 이동: + +`` + +- 커서를 위로 이동: + +`` + +- 커서를 오른쪽으로 이동: + +`` + +- 왼쪽 클릭 에뮬레이트: + +`` diff --git a/pages.ko/linux/waydroid.md b/pages.ko/linux/waydroid.md new file mode 100644 index 00000000000000..9a29f6832c8b18 --- /dev/null +++ b/pages.ko/linux/waydroid.md @@ -0,0 +1,36 @@ +# waydroid + +> Ubuntu와 같은 일반적인 Linux 시스템에서 전체 Android 시스템을 부팅하기 위한 컨테이너 기반 접근 방식. +> 더 많은 정보: . + +- Waydroid 시작: + +`waydroid` + +- Waydroid 초기화 (최초 실행 시 또는 Android를 재설치한 후 필요): + +`sudo waydroid init` + +- 파일에서 새로운 Android 앱 설치: + +`waydroid app install {{경로/대상/파일.apk}}` + +- 패키지 이름으로 Android 앱 실행: + +`waydroid app launch {{com.example.app}}` + +- Waydroid 세션 시작 또는 중지: + +`waydroid session {{start|stop}}` + +- Waydroid 컨테이너 관리: + +`sudo waydroid container {{start|stop|restart|freeze|unfreeze}}` + +- Waydroid 셸 열기: + +`sudo waydroid shell` + +- Waydroid 창 크기 조정: + +`waydroid prop set persist.waydroid.{{width|height}} {{숫자}}` diff --git a/pages.ko/linux/waypipe.md b/pages.ko/linux/waypipe.md new file mode 100644 index 00000000000000..e6d71f8c9e3d45 --- /dev/null +++ b/pages.ko/linux/waypipe.md @@ -0,0 +1,12 @@ +# waypipe + +> Wayland 컴포지터에서 그래픽 애플리케이션을 원격으로 실행. +> 더 많은 정보: . + +- 그래픽 프로그램을 원격으로 실행하고 로컬에 표시: + +`waypipe ssh {{사용자}}@{{서버}} {{프로그램}}` + +- SSH 터널을 열어 프로그램을 원격으로 실행하고 로컬에 표시: + +`waypipe ssh {{사용자}}@{{서버}}` diff --git a/pages.ko/linux/wdctl.md b/pages.ko/linux/wdctl.md new file mode 100644 index 00000000000000..19328a759f2eab --- /dev/null +++ b/pages.ko/linux/wdctl.md @@ -0,0 +1,16 @@ +# wdctl + +> 하드웨어 감시 타이머 상태를 표시합니다. +> 더 많은 정보: . + +- 감시 타이머 상태 표시: + +`wdctl` + +- 키-값 쌍으로 한 줄에 감시 타이머 상태 표시: + +`wdctl --oneline` + +- 특정 감시 타이머 플래그만 표시 (리스트는 드라이버별로 다릅니다): + +`wdctl --flags {{플래그_리스트}}` diff --git a/pages.ko/linux/wg-quick.md b/pages.ko/linux/wg-quick.md new file mode 100644 index 00000000000000..0ede91544caad1 --- /dev/null +++ b/pages.ko/linux/wg-quick.md @@ -0,0 +1,12 @@ +# wg-quick + +> 구성 파일을 기반으로 WireGuard 터널을 빠르게 설정합니다. +> 더 많은 정보: . + +- VPN 터널 설정: + +`wg-quick up {{인터페이스_이름}}` + +- VPN 터널 삭제: + +`wg-quick down {{인터페이스_이름}}` diff --git a/pages.ko/linux/wg.md b/pages.ko/linux/wg.md new file mode 100644 index 00000000000000..14543517debb03 --- /dev/null +++ b/pages.ko/linux/wg.md @@ -0,0 +1,24 @@ +# wg + +> WireGuard 인터페이스의 구성을 관리합니다. +> 더 많은 정보: . + +- 현재 활성화된 인터페이스 상태 확인: + +`sudo wg` + +- 새 개인 키 생성: + +`wg genkey` + +- 개인 키로부터 공개 키 생성: + +`wg pubkey < {{경로/대상/개인_키}} > {{경로/대상/공개_키}}` + +- 공개 키와 개인 키 생성: + +`wg genkey | tee {{경로/대상/개인_키}} | wg pubkey > {{경로/대상/공개_키}}` + +- WireGuard 인터페이스의 현재 구성 표시: + +`sudo wg showconf {{wg0}}` diff --git a/pages.ko/linux/whatis.md b/pages.ko/linux/whatis.md new file mode 100644 index 00000000000000..bd522fb8b61c52 --- /dev/null +++ b/pages.ko/linux/whatis.md @@ -0,0 +1,24 @@ +# whatis + +> 매뉴얼 페이지에서 한 줄 설명을 표시합니다. +> 더 많은 정보: . + +- 매뉴얼 페이지에서 설명을 표시: + +`whatis {{명령어}}` + +- 설명을 줄 끝에서 잘리지 않게 표시: + +`whatis --long {{명령어}}` + +- 와일드카드와 일치하는 모든 명령어에 대한 설명 표시: + +`whatis --wildcard {{net*}}` + +- 정규 표현식을 사용하여 매뉴얼 페이지 설명 검색: + +`whatis --regex '{{wish[0-9]\.[0-9]}}'` + +- 특정 언어로 설명 표시: + +`whatis --locale={{en}} {{명령어}}` diff --git a/pages.ko/linux/whiptail.md b/pages.ko/linux/whiptail.md new file mode 100644 index 00000000000000..b22291dfc41ee4 --- /dev/null +++ b/pages.ko/linux/whiptail.md @@ -0,0 +1,28 @@ +# whiptail + +> 셸 스크립트에서 텍스트 기반의 대화 상자를 표시합니다. +> 더 많은 정보: . + +- 간단한 메시지 표시: + +`whiptail --title "{{제목}}" --msgbox "{{메시지}}" {{문자_높이}} {{문자_너비}}` + +- 불리언 선택을 표시하고 종료 코드를 통해 결과 반환: + +`whiptail --title "{{제목}}" --yesno "{{메시지}}" {{문자_높이}} {{문자_너비}}` + +- 예/아니오 버튼의 텍스트 사용자 지정: + +`whiptail --title "{{제목}}" --yes-button "{{텍스트}}" --no-button "{{텍스트}}" --yesno "{{메시지}}" {{문자_높이}} {{문자_너비}}` + +- 텍스트 입력 상자 표시: + +`{{결과_변수_이름}}="$(whiptail --title "{{제목}}" --inputbox "{{메시지}}" {{문자_높이}} {{문자_너비}} {{기본_텍스트}} 3>&1 1>&2 2>&3)"` + +- 비밀번호 입력 상자 표시: + +`{{결과_변수_이름}}="$(whiptail --title "{{제목}}" --passwordbox "{{메시지}}" {{문자_높이}} {{문자_너비}} 3>&1 1>&2 2>&3)"` + +- 다중 선택 메뉴 표시: + +`{{결과_변수_이름}}=$(whiptail --title "{{제목}}" --menu "{{메시지}}" {{문자_높이}} {{문자_너비}} {{메뉴_표시_높이}} "{{값_1}}" "{{표시_텍스트_1}}" "{{값_n}}" "{{표시_텍스트_n}}" ..... 3>&1 1>&2 2>&3)` diff --git a/pages.ko/linux/wifi-menu.md b/pages.ko/linux/wifi-menu.md new file mode 100644 index 00000000000000..11fecc3ccde5e6 --- /dev/null +++ b/pages.ko/linux/wifi-menu.md @@ -0,0 +1,16 @@ +# wifi-menu + +> 무선 네트워크에 대화식으로 연결. +> 더 많은 정보: . + +- 대화식으로 무선 연결 설정: + +`wifi-menu` + +- 네트워크에 대화식으로 연결하고 비밀번호를 숨김: + +`wifi-menu --obscure` + +- 도움말 표시: + +`wifi-menu --help` diff --git a/pages.ko/linux/wine.md b/pages.ko/linux/wine.md new file mode 100644 index 00000000000000..689b13aa654087 --- /dev/null +++ b/pages.ko/linux/wine.md @@ -0,0 +1,28 @@ +# wine + +> Unix 기반 시스템에서 Windows 실행 파일을 실행. +> 더 많은 정보: . + +- `wine` 환경에서 특정 프로그램 실행: + +`wine {{명령어}}` + +- 백그라운드에서 특정 프로그램 실행: + +`wine start {{명령어}}` + +- MSI 패키지 설치/제거: + +`wine msiexec /{{i|x}} {{경로/대상/패키지.msi}}` + +- `파일 탐색기`, `메모장`, 또는 `워드패드` 실행: + +`wine {{explorer|notepad|write}}` + +- `레지스트리 편집기`, `제어판`, 또는 `작업 관리자` 실행: + +`wine {{regedit|control|taskmgr}}` + +- 설정 도구 실행: + +`wine winecfg` diff --git a/pages.ko/linux/winetricks.md b/pages.ko/linux/winetricks.md new file mode 100644 index 00000000000000..f0581210de20d2 --- /dev/null +++ b/pages.ko/linux/winetricks.md @@ -0,0 +1,16 @@ +# winetricks + +> Wine 가상 Windows 환경 관리 도구. +> 더 많은 정보: . + +- 기본 Wine 위치에서 그래픽 설정 시작: + +`winetricks` + +- 사용자 지정 Wine 디렉터리를 지정하여 Winetricks 실행: + +`WINEPREFIX={{경로/대상/wine_폴더}} winetricks` + +- 기본 Wine 디렉터리에 Windows DLL 또는 구성 요소 설치: + +`winetricks {{패키지}}` diff --git a/pages.ko/linux/wipefs.md b/pages.ko/linux/wipefs.md new file mode 100644 index 00000000000000..d1ea6cca123690 --- /dev/null +++ b/pages.ko/linux/wipefs.md @@ -0,0 +1,24 @@ +# wipefs + +> 파일 시스템, RAID, 또는 파티션 테이블 서명을 장치에서 삭제합니다. +> 더 많은 정보: . + +- 지정된 장치의 서명 표시: + +`sudo wipefs {{/dev/sdX}}` + +- 특정 장치의 모든 사용 가능한 서명 유형을 파티션을 재귀적으로 탐색하지 않고 삭제: + +`sudo wipefs --all {{/dev/sdX}}` + +- 글롭 패턴을 사용하여 장치 및 파티션의 모든 사용 가능한 서명 유형 삭제: + +`sudo wipefs --all {{/dev/sdX}}*` + +- 시뮬레이션 실행: + +`sudo wipefs --all --no-act {{/dev/sdX}}` + +- 파일 시스템이 마운트되어 있어도 강제로 삭제: + +`sudo wipefs --all --force {{/dev/sdX}}` diff --git a/pages.ko/linux/wireplumber.md b/pages.ko/linux/wireplumber.md new file mode 100644 index 00000000000000..51fd1163b5ee1a --- /dev/null +++ b/pages.ko/linux/wireplumber.md @@ -0,0 +1,25 @@ +# wireplumber + +> PipeWire를 위한 모듈식 세션/정책 관리자 및 PipeWire의 API를 감싸는 GObject 기반 고수준 라이브러리. +> 같이 보기: `wpctl`, `pipewire`. +> 더 많은 정보: . + +- 사용자 세션과 함께 WirePlumber를 즉시 시작 (systemd 시스템의 경우): + +`systemctl --user --now enable wireplumber` + +- `pipewire`가 시작된 후 WirePlumber 실행 (non-systemd 시스템의 경우): + +`wireplumber` + +- 다른 컨텍스트 구성 파일 지정: + +`wireplumber --config-file {{경로/대상/파일}}` + +- 도움말 표시: + +`wireplumber --help` + +- 버전 표시: + +`wireplumber --version` diff --git a/pages.ko/linux/wl-copy.md b/pages.ko/linux/wl-copy.md new file mode 100644 index 00000000000000..836023a5ead07e --- /dev/null +++ b/pages.ko/linux/wl-copy.md @@ -0,0 +1,25 @@ +# wl-copy + +> Wayland 클립보드에 복사 및 지우기. +> 같이 보기: `wl-paste`, `xclip`. +> 더 많은 정보: . + +- 텍스트를 클립보드에 복사: + +`wl-copy "{{텍스트}}"` + +- 명령어 (`ls`) 출력을 파이프로 클립보드에 복사: + +`{{ls}} | wl-copy` + +- 한 번만 붙여넣기 후 클립보드를 지우기: + +`wl-copy --paste-once "{{텍스트}}"` + +- 이미지를 복사: + +`wl-copy < {{경로/대상/이미지}}` + +- 클립보드 지우기: + +`wl-copy --clear` diff --git a/pages.ko/linux/wl-paste.md b/pages.ko/linux/wl-paste.md new file mode 100644 index 00000000000000..18357f08b76093 --- /dev/null +++ b/pages.ko/linux/wl-paste.md @@ -0,0 +1,17 @@ +# wl-paste + +> Wayland 클립보드의 내용을 붙여넣기. +> 같이 보기: `wl-copy`, `xclip`. +> 더 많은 정보: . + +- 클립보드의 내용을 붙여넣기: + +`wl-paste` + +- 클립보드의 내용을 [f]파일에 쓰기: + +`wl-paste > {{경로/대상/파일}}` + +- 클립보드의 내용을 명령어에 파이프: + +`wl-paste | {{명령어}}` diff --git a/pages.ko/linux/wmctrl.md b/pages.ko/linux/wmctrl.md new file mode 100644 index 00000000000000..eb740585bbe93a --- /dev/null +++ b/pages.ko/linux/wmctrl.md @@ -0,0 +1,28 @@ +# wmctrl + +> X 윈도우 매니저용 CLI. +> 더 많은 정보: . + +- 윈도우 매니저가 관리하는 모든 창 나열: + +`wmctrl -l` + +- (부분적으로) 제목이 일치하는 첫 번째 창으로 전환: + +`wmctrl -a {{창_제목}}` + +- 창을 현재 작업공간으로 이동하고, 올려서 포커스를 줌: + +`wmctrl -R {{창_제목}}` + +- 작업공간으로 전환: + +`wmctrl -s {{작업공간_번호}}` + +- 창을 선택하고 전체 화면 전환: + +`wmctrl -r {{창_제목}} -b toggle,fullscreen` + +- 창을 선택하고 작업공간으로 이동: + +`wmctrl -r {{창_제목}} -t {{작업공간_번호}}` diff --git a/pages.ko/linux/wodim.md b/pages.ko/linux/wodim.md new file mode 100644 index 00000000000000..01bc5bfa7d816a --- /dev/null +++ b/pages.ko/linux/wodim.md @@ -0,0 +1,21 @@ +# wodim + +> CD 또는 DVD에 데이터를 기록하는 명령어(일부 시스템에서는 `cdrecord`로 별칭됨). +> wodim의 일부 사용은 디스크의 모든 데이터를 지우는 등의 파괴적 작업을 수행할 수 있습니다. +> 더 많은 정보: . + +- `wodim`에서 사용할 수 있는 광학 드라이브 표시: + +`wodim --devices` + +- 오디오 전용 디스크 기록(굽기): + +`wodim dev={{/dev/optical_drive}} -audio {{track*.cdaudio}}` + +- 파일을 디스크에 굽고 완료 시 디스크 배출(일부 레코더는 이 작업이 필요함): + +`wodim -eject dev={{/dev/optical_drive}} -data {{파일.iso}}` + +- 광학 드라이브에 파일을 굽고, 연속적으로 여러 디스크에 기록할 수 있음: + +`wodim -tao dev={{/dev/optical_drive}} -data {{파일.iso}}` diff --git a/pages.ko/linux/woeusb.md b/pages.ko/linux/woeusb.md new file mode 100644 index 00000000000000..f756c6f717b584 --- /dev/null +++ b/pages.ko/linux/woeusb.md @@ -0,0 +1,12 @@ +# woeusb + +> Windows 미디어 생성 도구. +> 더 많은 정보: . + +- USB를 포맷하고 부팅 가능한 Windows 설치 드라이브 생성: + +`woeusb --device {{경로/대상/windows.iso}} {{/dev/sdX}}` + +- USB 저장 장치의 기존 파티션에 Windows 파일을 복사하고 부팅 가능하게 만들기 (현재 데이터 삭제 없이): + +`woeusb --partition {{경로/대상/windows.iso}} {{/dev/sdXN}}` diff --git a/pages.ko/linux/wofi.md b/pages.ko/linux/wofi.md new file mode 100644 index 00000000000000..47f3b23ea85588 --- /dev/null +++ b/pages.ko/linux/wofi.md @@ -0,0 +1,16 @@ +# wofi + +> wlroots 기반 Wayland 컴포지터를 위한 애플리케이션 실행기로, `rofi` 및 `dmenu`와 유사합니다. +> 더 많은 정보: . + +- 앱 목록 표시: + +`wofi {{[-S|--show]}} drun` + +- 모든 명령 목록 표시: + +`wofi {{[-S|--show]}} run` + +- 항목 목록을 `stdin`으로 전달하고 선택한 항목을 `stdout`으로 출력: + +`printf "{{선택1\n선택2\n선택3}}" | wofi {{[-d|--dmenu]}}` diff --git a/pages.ko/linux/wol.md b/pages.ko/linux/wol.md new file mode 100644 index 00000000000000..50658eddf98f78 --- /dev/null +++ b/pages.ko/linux/wol.md @@ -0,0 +1,28 @@ +# wol + +> Wake-on-LAN 매직 패킷을 보내는 클라이언트. +> 더 많은 정보: . + +- 장치에 WoL 패킷 전송: + +`wol {{MAC_주소}}` + +- 다른 서브넷의 IP를 기반으로 장치에 WoL 패킷 전송: + +`wol --ipaddr={{IP_주소}} {{MAC_주소}}` + +- 다른 서브넷의 호스트명을 기반으로 장치에 WoL 패킷 전송: + +`wol --host={{호스트명}} {{MAC_주소}}` + +- 특정 포트의 호스트에 WoL 패킷 전송: + +`wol --port={{포트_번호}} {{MAC_주소}}` + +- [하]드웨어 주소, IP 주소/호스트명, 선택적 포트 및 SecureON 비밀번호를 [f]파일에서 읽기: + +`wol --file={{경로/대상/파일}}` + +- [v]자세히 출력 켜기: + +`wol {{[-v|--verbose]}} {{MAC_주소}}` diff --git a/pages.ko/linux/wpa_cli.md b/pages.ko/linux/wpa_cli.md new file mode 100644 index 00000000000000..6177d014151ab7 --- /dev/null +++ b/pages.ko/linux/wpa_cli.md @@ -0,0 +1,28 @@ +# wpa_cli + +> wlan 인터페이스를 추가하고 구성. +> 더 많은 정보: . + +- 사용 가능한 네트워크 스캔: + +`wpa_cli scan` + +- 스캔 결과 표시: + +`wpa_cli scan_results` + +- 네트워크 추가: + +`wpa_cli add_network {{번호}}` + +- 네트워크의 SSID 설정: + +`wpa_cli set_network {{번호}} ssid "{{SSID}}"` + +- 네트워크 활성화: + +`wpa_cli enable_network {{번호}}` + +- 구성 저장: + +`wpa_cli save_config` diff --git a/pages.ko/linux/wpa_passphrase.md b/pages.ko/linux/wpa_passphrase.md new file mode 100644 index 00000000000000..05b6492ebecbf5 --- /dev/null +++ b/pages.ko/linux/wpa_passphrase.md @@ -0,0 +1,12 @@ +# wpa_passphrase + +> ASCII 암호 구문으로부터 SSID에 대한 WPA-PSK 키를 생성. +> 더 많은 정보: . + +- 주어진 SSID에 대한 WPA-PSK 키를 계산하고 `stdin`에서 암호 구문을 읽어 표시: + +`wpa_passphrase {{SSID}}` + +- 주어진 SSID에 대한 WPA-PSK 키를 계산하고 암호 구문을 인수로 지정하여 표시: + +`wpa_passphrase {{SSID}} {{암호_구문}}` diff --git a/pages.ko/linux/wpctl.md b/pages.ko/linux/wpctl.md new file mode 100644 index 00000000000000..71f910e2170bf8 --- /dev/null +++ b/pages.ko/linux/wpctl.md @@ -0,0 +1,33 @@ +# wpctl + +> WirePlumber를 관리하는 도구로, PipeWire의 세션 및 정책 관리자를 관리합니다. +> 참고: `id` 대신 특별한 이름인 `@DEFAULT_SINK@`을 사용하여 기본 싱크를 조작할 수 있습니다. +> 더 많은 정보: . + +- WirePlumber가 관리하는 모든 객체 나열: + +`wpctl status` + +- 객체의 모든 속성 출력: + +`wpctl inspect {{id}}` + +- 객체를 해당 그룹의 기본값으로 설정: + +`wpctl set-default {{id}}` + +- 싱크의 볼륨 가져오기: + +`wpctl get-volume {{id}}` + +- 싱크의 볼륨을 `n` 퍼센트로 설정: + +`wpctl set-volume {{id}} {{n}}%` + +- 싱크의 볼륨을 `n` 퍼센트만큼 증가/감소: + +`wpctl set-volume {{id}} {{n}}%{{+|-}}` + +- 싱크 음소거/음소거 해제 설정 (1은 음소거, 0은 음소거 해제): + +`wpctl set-mute {{id}} {{1|0|toggle}}` diff --git a/pages.ko/linux/wpexec.md b/pages.ko/linux/wpexec.md new file mode 100644 index 00000000000000..23cf9bef4b79d6 --- /dev/null +++ b/pages.ko/linux/wpexec.md @@ -0,0 +1,13 @@ +# wpexec + +> WirePlumber Lua 스크립트 실행. +> 같이 보기: `wpctl`, `wireplumber`. +> 더 많은 정보: . + +- WirePlumber 스크립트 실행: + +`wpexec {{경로/대상/파일.lua}}` + +- 도움말 표시: + +`wpexec --help` diff --git a/pages.ko/linux/wtf.md b/pages.ko/linux/wtf.md new file mode 100644 index 00000000000000..0ea3710a201f16 --- /dev/null +++ b/pages.ko/linux/wtf.md @@ -0,0 +1,12 @@ +# wtf + +> 약어의 확장을 표시합니다. +> 더 많은 정보: . + +- 주어진 약어를 확장: + +`wtf {{IMO}}` + +- 컴퓨터 관련 검색 유형 지정: + +`wtf -t {{comp}} {{WWW}}` diff --git a/pages.ko/linux/wtype.md b/pages.ko/linux/wtype.md new file mode 100644 index 00000000000000..3242f5cb5908c8 --- /dev/null +++ b/pages.ko/linux/wtype.md @@ -0,0 +1,29 @@ +# wtype + +> Wayland에서 키보드 입력을 시뮬레이트합니다. X11의 `xdotool type`과 유사합니다. +> 같이 보기: `ydotool`. +> 더 많은 정보: . + +- 텍스트 입력을 시뮬레이트: + +`wtype "{{Hello World}}"` + +- 특정 키 입력: + +`wtype -k {{Left}}` + +- 수정 키 누르기: + +`wtype -M {{shift|ctrl|...}}` + +- 수정 키 놓기: + +`wtype -m {{ctrl}}` + +- 키 입력 간 대기 시간 설정 (밀리초): + +`wtype -d {{500}} -- "{{텍스트}}"` + +- `stdin`에서 텍스트 읽기: + +`echo "{{텍스트}}" | wtype -` diff --git a/pages.ko/linux/x0vncserver.md b/pages.ko/linux/x0vncserver.md new file mode 100644 index 00000000000000..301f042b7ae4ef --- /dev/null +++ b/pages.ko/linux/x0vncserver.md @@ -0,0 +1,12 @@ +# x0vncserver + +> X 디스플레이용 TigerVNC 서버. +> 더 많은 정보: . + +- 암호 파일을 사용하여 VNC 서버 시작: + +`x0vncserver -display {{:0}} -passwordfile {{경로/대상/파일}}` + +- 특정 포트를 사용하여 VNC 서버 시작: + +`x0vncserver -display {{:0}} -rfbport {{포트}}` diff --git a/pages.ko/linux/x11vnc.md b/pages.ko/linux/x11vnc.md new file mode 100644 index 00000000000000..a0102e35fdf3aa --- /dev/null +++ b/pages.ko/linux/x11vnc.md @@ -0,0 +1,25 @@ +# x11vnc + +> 기존 디스플레이 서버에서 VNC를 활성화하는 VNC 서버. +> 기본적으로, 서버는 모든 클라이언트가 연결을 끊으면 자동으로 종료됩니다. +> 더 많은 정보: . + +- 여러 클라이언트가 연결할 수 있도록 VNC 서버 시작: + +`x11vnc -shared` + +- 뷰 전용 모드로 VNC 서버를 시작하고 마지막 클라이언트가 연결을 끊어도 종료되지 않도록 설정: + +`x11vnc -forever -viewonly` + +- 특정 디스플레이와 화면에서 VNC 서버 시작 (둘 다 색인 0부터 시작): + +`x11vnc -display :{{디스플레이}}.{{화면}}` + +- 세 번째 디스플레이의 기본 화면에서 VNC 서버 시작: + +`x11vnc -display :{{2}}` + +- 첫 번째 디스플레이의 두 번째 화면에서 VNC 서버 시작: + +`x11vnc -display :{{0}}.{{1}}` diff --git a/pages.ko/linux/xauth.md b/pages.ko/linux/xauth.md new file mode 100644 index 00000000000000..9ee47cca78161c --- /dev/null +++ b/pages.ko/linux/xauth.md @@ -0,0 +1,36 @@ +# xauth + +> X 서버에 연결할 때 사용되는 인증 정보를 편집하고 표시. +> 더 많은 정보: . + +- 특정 인증 파일로 대화형 모드 시작 (`~/.Xauthority`가 기본값): + +`xauth -f {{경로/대상/파일}}` + +- 인증 파일에 대한 정보 표시: + +`xauth info` + +- 모든 디스플레이에 대한 인증 항목 표시: + +`xauth list` + +- 특정 디스플레이에 대한 인증 추가: + +`xauth add {{디스플레이_이름}} {{프로토콜_이름}} {{키}}` + +- 특정 디스플레이에 대한 인증 제거: + +`xauth remove {{디스플레이_이름}}` + +- 현재 디스플레이에 대한 인증 항목을 `stdout`에 출력: + +`xauth extract - $DISPLAY` + +- 특정 파일에서 인증 항목을 인증 데이터베이스에 병합: + +`cat {{경로/대상/파일}} | xauth merge -` + +- 도움말 표시: + +`xauth --help` diff --git a/pages.ko/linux/xbacklight.md b/pages.ko/linux/xbacklight.md new file mode 100644 index 00000000000000..d51ee60ce09c2a --- /dev/null +++ b/pages.ko/linux/xbacklight.md @@ -0,0 +1,24 @@ +# xbacklight + +> RandR 확장을 사용하여 화면 밝기를 조절하는 유틸리티. +> 더 많은 정보: . + +- 현재 화면 밝기를 퍼센트로 확인: + +`xbacklight` + +- 화면 밝기를 40%로 설정: + +`xbacklight -set {{40}}` + +- 현재 밝기를 25% 증가: + +`xbacklight -inc {{25}}` + +- 현재 밝기를 75% 감소: + +`xbacklight -dec {{75}}` + +- 60초(밀리초 단위) 동안 60단계로 화면 밝기를 100%로 증가: + +`xbacklight -set {{100}} -time {{60000}} -steps {{60}}` diff --git a/pages.ko/linux/xbps-install.md b/pages.ko/linux/xbps-install.md new file mode 100644 index 00000000000000..cfff0c8f513cba --- /dev/null +++ b/pages.ko/linux/xbps-install.md @@ -0,0 +1,13 @@ +# xbps-install + +> XBPS 패키지를 (재)설치하고 업데이트하는 도구. +> 같이 보기: `xbps`. +> 더 많은 정보: . + +- 새 패키지 설치: + +`xbps-install {{패키지}}` + +- 모든 패키지를 동기화하고 업데이트: + +`xbps-install --sync --update` diff --git a/pages.ko/linux/xbps-query.md b/pages.ko/linux/xbps-query.md new file mode 100644 index 00000000000000..0dd3467f9ff408 --- /dev/null +++ b/pages.ko/linux/xbps-query.md @@ -0,0 +1,25 @@ +# xbps-query + +> 패키지 및 저장소 정보를 조회하는 XBPS 유틸리티. +> 같이 보기: `xbps`. +> 더 많은 정보: . + +- 정규 표현식 또는 키워드를 사용하여 원격 저장소에서 패키지 검색 (`--regex`가 생략된 경우 키워드 사용): + +`xbps-query --search {{정규_표현식|키워드}} --repository --regex` + +- 설치된 패키지에 대한 정보 표시: + +`xbps-query --show {{패키지}}` + +- 원격 저장소의 패키지 정보 표시: + +`xbps-query --show {{패키지}} --repository` + +- 패키지 데이터베이스에 등록된 패키지 나열: + +`xbps-query --list-pkgs` + +- 명시적으로 설치된 패키지 나열 (의존성으로 자동 설치되지 않은 패키지): + +`xbps-query --list-manual-pkgs` diff --git a/pages.ko/linux/xbps-remove.md b/pages.ko/linux/xbps-remove.md new file mode 100644 index 00000000000000..66cdd65f0c83ac --- /dev/null +++ b/pages.ko/linux/xbps-remove.md @@ -0,0 +1,21 @@ +# xbps-remove + +> 패키지를 제거하는 XBPS 유틸리티. +> 같이 보기: `xbps`. +> 더 많은 정보: . + +- 패키지 제거: + +`xbps-remove {{패키지}}` + +- 패키지와 그 의존성 제거: + +`xbps-remove --recursive {{패키지}}` + +- 고아 패키지 제거 (의존성으로 설치되었지만 더 이상 어떤 패키지도 필요로 하지 않는 패키지): + +`xbps-remove --remove-orphans` + +- 캐시에서 오래된 패키지 제거: + +`xbps-remove --clean-cache` diff --git a/pages.ko/linux/xbps.md b/pages.ko/linux/xbps.md new file mode 100644 index 00000000000000..c22b673bbcfa68 --- /dev/null +++ b/pages.ko/linux/xbps.md @@ -0,0 +1,17 @@ +# xbps + +> X 바이너리 패키지 시스템은 Void Linux에서 사용하는 패키지 관리자입니다. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 패키지 설치 및 업데이트에 대한 문서 보기: + +`tldr xbps-install` + +- 패키지 제거에 대한 문서 보기: + +`tldr xbps-remove` + +- 패키지 및 저장소 정보 쿼리에 대한 문서 보기: + +`tldr xbps-query` diff --git a/pages.ko/linux/xclip.md b/pages.ko/linux/xclip.md new file mode 100644 index 00000000000000..98b2889edf27d5 --- /dev/null +++ b/pages.ko/linux/xclip.md @@ -0,0 +1,38 @@ +# xclip + +> X11 클립보드 조작 도구로, `xsel`과 유사합니다. +> X 기본 및 보조 선택 영역과 시스템 클립보드(``/``)를 처리합니다. +> 같이 보기: `wl-copy`. +> 더 많은 정보: . + +- 명령의 출력을 X11 기본 선택 영역(클립보드)에 복사: + +`echo 123 | xclip` + +- 명령의 출력을 지정된 X11 선택 영역에 복사: + +`echo 123 | xclip -selection {{primary|secondary|clipboard}}` + +- 명령의 출력을 시스템 클립보드에 짧은 표기법을 사용하여 복사: + +`echo 123 | xclip -sel clip` + +- 파일의 내용을 시스템 클립보드에 복사: + +`xclip -sel clip {{입력_파일.txt}}` + +- PNG 파일의 내용을 시스템 클립보드에 복사 (다른 프로그램에 올바르게 붙여넣기 가능): + +`xclip -sel clip -t image/png {{입력_파일.png}}` + +- 콘솔에서 사용자 입력을 시스템 클립보드에 복사: + +`xclip -i` + +- X11 기본 선택 영역의 내용을 콘솔에 붙여넣기: + +`xclip -o` + +- 시스템 클립보드의 내용을 콘솔에 붙여넣기: + +`xclip -o -sel clip` diff --git a/pages.ko/linux/xclock.md b/pages.ko/linux/xclock.md new file mode 100644 index 00000000000000..f67984b4bf057f --- /dev/null +++ b/pages.ko/linux/xclock.md @@ -0,0 +1,24 @@ +# xclock + +> 아날로그 또는 디지털 형태로 시간을 표시합니다. +> 더 많은 정보: . + +- 아날로그 시계 표시: + +`xclock` + +- 시와 분 필드만 있는 24시간 디지털 시계 표시: + +`xclock -digital -brief` + +- strftime 형식 문자열을 사용하여 디지털 시계 표시 (strftime(3) 참조): + +`xclock -digital -strftime {{형식}}` + +- 매 초 업데이트되는 시, 분, 초 필드가 있는 24시간 디지털 시계 표시: + +`xclock -digital -strftime '%H:%M:%S' -update 1` + +- 시와 분 필드만 있는 12시간 디지털 시계 표시: + +`xclock -digital -twelve -brief` diff --git a/pages.ko/linux/xcowsay.md b/pages.ko/linux/xcowsay.md new file mode 100644 index 00000000000000..42cfdf516f509c --- /dev/null +++ b/pages.ko/linux/xcowsay.md @@ -0,0 +1,29 @@ +# xcowsay + +> Linux 데스크탑에 귀여운 소와 메시지를 표시합니다. +> 소는 고정된 시간 동안 표시되거나 텍스트 크기에 따라 계산된 시간 동안 표시됩니다. 소를 클릭하면 즉시 닫힙니다. +> 더 많은 정보: . + +- "hello, world"라고 말하는 소를 표시: + +`xcowsay "{{hello, world}}"` + +- 다른 명령의 출력을 표시하는 소를 표시: + +`ls | xcowsay` + +- 지정된 X, Y 좌표에 소를 표시: + +`xcowsay --at={{X}},{{Y}}` + +- 다른 크기의 소를 표시: + +`xcowsay --cow-size={{small|med|large}}` + +- 말풍선 대신 생각풍선을 표시: + +`xcowsay --think` + +- 기본 소 대신 다른 이미지를 표시: + +`xcowsay --image={{경로/대상/파일}}` diff --git a/pages.ko/linux/xcursorgen.md b/pages.ko/linux/xcursorgen.md new file mode 100644 index 00000000000000..e5bc55bd45efa8 --- /dev/null +++ b/pages.ko/linux/xcursorgen.md @@ -0,0 +1,17 @@ +# xcursorgen + +> PNG 모음에서 X 커서 파일 생성. +> `--prefix`가 생략되면 이미지 파일은 현재 작업 디렉터리에 위치해야 합니다. +> 더 많은 정보: . + +- 구성 파일을 사용하여 X 커서 파일 생성: + +`xcursorgen {{경로/대상/구성.cursor}} {{경로/대상/출력_파일}}` + +- 구성 파일을 사용하여 X 커서 파일을 만들고 이미지 파일의 경로 지정: + +`xcursorgen --prefix {{경로/대상/이미지_디렉터리/}} {{경로/대상/구성.cursor}} {{경로/대상/출력_파일}}` + +- 구성 파일을 사용하여 X 커서 파일을 만들고 출력을 `stdout`에 쓰기: + +`xcursorgen {{경로/대상/구성.cursor}}` diff --git a/pages.ko/linux/xdg-desktop-menu.md b/pages.ko/linux/xdg-desktop-menu.md new file mode 100644 index 00000000000000..b8fb5f03f08109 --- /dev/null +++ b/pages.ko/linux/xdg-desktop-menu.md @@ -0,0 +1,20 @@ +# xdg-desktop-menu + +> 데스크탑 메뉴 항목을 설치하거나 제거하는 명령줄 도구. +> 더 많은 정보: . + +- 애플리케이션을 데스크탑 메뉴 시스템에 설치: + +`xdg-desktop-menu install {{경로/대상/파일.desktop}}` + +- 벤더 접두사 확인을 비활성화하고 애플리케이션을 데스크탑 메뉴 시스템에 설치: + +`xdg-desktop-menu install --novendor {{경로/대상/파일.desktop}}` + +- 애플리케이션을 데스크탑 메뉴 시스템에서 제거: + +`xdg-desktop-menu uninstall {{경로/대상/파일.desktop}}` + +- 데스크탑 메뉴 시스템 강제 업데이트: + +`xdg-desktop-menu forceupdate --mode {{user|system}}` diff --git a/pages.ko/linux/xdg-mime.md b/pages.ko/linux/xdg-mime.md new file mode 100644 index 00000000000000..6ed95a03a67852 --- /dev/null +++ b/pages.ko/linux/xdg-mime.md @@ -0,0 +1,20 @@ +# xdg-mime + +> XDG 표준에 따라 MIME 유형을 조회하고 관리. +> 더 많은 정보: . + +- 파일의 MIME 유형 표시: + +`xdg-mime query filetype {{경로/대상/파일}}` + +- PNG 파일을 여는 기본 애플리케이션 표시: + +`xdg-mime query default {{image/png}}` + +- 특정 파일을 여는 기본 애플리케이션 표시: + +`xdg-mime query default $(xdg-mime query filetype {{경로/대상/파일}})` + +- PNG 및 JPEG 이미지를 여는 기본 애플리케이션을 imv로 설정: + +`xdg-mime default {{imv.desktop}} {{image/png}} {{image/jpeg}}` diff --git a/pages.ko/linux/xdg-open.md b/pages.ko/linux/xdg-open.md new file mode 100644 index 00000000000000..5c4d318f8139e1 --- /dev/null +++ b/pages.ko/linux/xdg-open.md @@ -0,0 +1,24 @@ +# xdg-open + +> 사용자 선호 응용 프로그램에서 파일이나 URL 열기. +> 더 많은 정보: . + +- 기본 파일 탐색기에서 현재 디렉터리 열기: + +`xdg-open .` + +- 기본 브라우저에서 URL 열기: + +`xdg-open {{https://example.com}}` + +- 기본 이미지 뷰어에서 이미지 열기: + +`xdg-open {{경로/대상/이미지}}` + +- 기본 PDF 뷰어에서 PDF 열기: + +`xdg-open {{경로/대상/pdf}}` + +- 도움말 표시: + +`xdg-open --help` diff --git a/pages.ko/linux/xdg-settings.md b/pages.ko/linux/xdg-settings.md new file mode 100644 index 00000000000000..86246c802a7615 --- /dev/null +++ b/pages.ko/linux/xdg-settings.md @@ -0,0 +1,24 @@ +# xdg-settings + +> XDG 호환 데스크탑 환경의 설정 관리. +> 더 많은 정보: . + +- 기본 웹 브라우저 출력: + +`xdg-settings get {{기본-웹-브라우저}}` + +- 기본 웹 브라우저를 Firefox로 설정: + +`xdg-settings set {{기본-웹-브라우저}} {{firefox.desktop}}` + +- 기본 메일 URL 스킴 핸들러를 Evolution으로 설정: + +`xdg-settings set {{기본-url-스킴-핸들러}} {{mailto}} {{evolution.desktop}}` + +- 기본 PDF 문서 뷰어 설정: + +`xdg-settings set {{pdf-뷰어.desktop}}` + +- 도움말 표시: + +`xdg-settings --help` diff --git a/pages.ko/linux/xdg-user-dirs-update.md b/pages.ko/linux/xdg-user-dirs-update.md new file mode 100644 index 00000000000000..5289f37b3c4709 --- /dev/null +++ b/pages.ko/linux/xdg-user-dirs-update.md @@ -0,0 +1,12 @@ +# xdg-user-dirs-update + +> XDG 사용자 디렉터리 업데이트. +> 더 많은 정보: . + +- XDG의 DESKTOP 디렉터리를 지정한 디렉터리로 변경 (절대 경로여야 함): + +`xdg-user-dirs-update --set DESKTOP "{{경로/대상/폴더}}"` + +- 결과를 `user-dirs.dirs` 파일 대신 지정한 실행 파일에 기록: + +`xdg-user-dirs-update --dummy-output "{{경로/대상/실행_파일}}" --set {{xdg_사용자_디렉터리}} "{{경로/대상/폴더}}"` diff --git a/pages.ko/linux/xdotool.md b/pages.ko/linux/xdotool.md new file mode 100644 index 00000000000000..d481647bdb5c28 --- /dev/null +++ b/pages.ko/linux/xdotool.md @@ -0,0 +1,28 @@ +# xdotool + +> X11을 위한 명령줄 자동화 도구. +> 더 많은 정보: . + +- 실행 중인 Firefox 창의 X-Windows 창 ID 검색: + +`xdotool search --onlyvisible --name {{firefox}}` + +- 오``: + +`xdotool click {{3}}` + +- 현재 활성 창의 ID 가져오기: + +`xdotool getactivewindow` + +- ID가 12345인 창에 포커스 맞추기: + +`xdotool windowfocus --sync {{12345}}` + +- 각 글자마다 500ms 지연을 두고 메시지 입력: + +`xdotool type --delay {{500}} "Hello world"` + +- `` 키 누르기: + +`xdotool key {{KP_Enter}}` diff --git a/pages.ko/linux/xed.md b/pages.ko/linux/xed.md new file mode 100644 index 00000000000000..e6fdb9c386016f --- /dev/null +++ b/pages.ko/linux/xed.md @@ -0,0 +1,24 @@ +# xed + +> Cinnamon 데스크탑 환경에서 파일 편집. +> 더 많은 정보: . + +- 편집기 시작: + +`xed` + +- 특정 파일 열기: + +`xed {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 인코딩을 사용하여 파일 열기: + +`xed --encoding {{WINDOWS-1252}} {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 지원되는 모든 인코딩 출력: + +`xed --list-encodings` + +- 특정 줄로 이동하여 파일 열기: + +`xed +{{10}} {{경로/대상/파일}}` diff --git a/pages.ko/linux/xeyes.md b/pages.ko/linux/xeyes.md new file mode 100644 index 00000000000000..a2c230ac97fda3 --- /dev/null +++ b/pages.ko/linux/xeyes.md @@ -0,0 +1,12 @@ +# xeyes + +> 마우스 커서를 따라가는 눈을 화면에 표시합니다. +> 더 많은 정보: . + +- 로컬 머신의 기본 디스플레이에서 xeyes 실행: + +`xeyes` + +- 원격 머신의 디스플레이 0, 화면 0에서 xeyes 실행: + +`xeyes -display {{원격_호스트}}:{{0}}.{{0}}` diff --git a/pages.ko/linux/xfce4-screenshooter.md b/pages.ko/linux/xfce4-screenshooter.md new file mode 100644 index 00000000000000..90c9826201c4cc --- /dev/null +++ b/pages.ko/linux/xfce4-screenshooter.md @@ -0,0 +1,32 @@ +# xfce4-screenshooter + +> XFCE4 스크린샷 도구. +> 더 많은 정보: . + +- 스크린샷 GUI 시작: + +`xfce4-screenshooter` + +- 전체 화면을 캡처하고 GUI를 시작하여 다음 단계를 선택: + +`xfce4-screenshooter --fullscreen` + +- 전체 화면을 캡처하고 지정된 폴더에 저장: + +`xfce4-screenshooter --fullscreen --save {{경로/대상/폴더}}` + +- 스크린샷을 찍기 전까지 대기: + +`xfce4-screenshooter --delay {{초}}` + +- 화면의 특정 영역을 캡처 (마우스를 사용하여 선택): + +`xfce4-screenshooter --region` + +- 활성 창을 캡처하고 클립보드에 복사: + +`xfce4-screenshooter --window --clipboard` + +- 활성 창을 캡처하고 선택한 프로그램으로 열기: + +`xfce4-screenshooter --window --open {{gimp}}` diff --git a/pages.ko/linux/xfce4-terminal.md b/pages.ko/linux/xfce4-terminal.md new file mode 100644 index 00000000000000..912e778d34b533 --- /dev/null +++ b/pages.ko/linux/xfce4-terminal.md @@ -0,0 +1,28 @@ +# xfce4-terminal + +> XFCE4 터미널 에뮬레이터. +> 더 많은 정보: . + +- 새 터미널 창 열기: + +`xfce4-terminal` + +- 초기 제목 설정: + +`xfce4-terminal --initial-title "{{초기_제목}}"` + +- 현재 터미널 창에 새 탭 열기: + +`xfce4-terminal --tab` + +- 새 터미널 창에서 명령어 실행: + +`xfce4-terminal --command "{{명령어_및_인수}}"` + +- 실행한 명령어가 완료된 후에도 터미널 유지: + +`xfce4-terminal --command "{{명령어_및_인수}}" --hold` + +- 여러 새 탭을 열고 각 탭에서 명령어 실행: + +`xfce4-terminal --tab --command "{{명령어1}}" --tab --command "{{명령어2}}"` diff --git a/pages.ko/linux/xfreerdp.md b/pages.ko/linux/xfreerdp.md new file mode 100644 index 00000000000000..9686e121783c6b --- /dev/null +++ b/pages.ko/linux/xfreerdp.md @@ -0,0 +1,28 @@ +# xfreerdp + +> Free Remote Desktop Protocol 구현체. +> 더 많은 정보: . + +- FreeRDP 서버에 연결: + +`xfreerdp /u:{{사용자명}} /p:{{비밀번호}} /v:{{IP_주소}}` + +- FreeRDP 서버에 연결하고 `sys:alsa` 장치를 사용하여 오디오 출력 리디렉션 활성화: + +`xfreerdp /u:{{사용자명}} /p:{{비밀번호}} /v:{{IP_주소}} /sound:{{sys:alsa}}` + +- 동적 해상도로 FreeRDP 서버에 연결: + +`xfreerdp /v:{{IP_주소}} /u:{{사용자명}} /p:{{비밀번호}} /dynamic-resolution` + +- 클립보드 리디렉션과 함께 FreeRDP 서버에 연결: + +`xfreerdp /v:{{IP_주소}} /u:{{사용자명}} /p:{{비밀번호}} +clipboard` + +- 인증서를 무시하고 FreeRDP 서버에 연결: + +`xfreerdp /v:{{IP_주소}} /u:{{사용자명}} /p:{{비밀번호}} /cert:ignore` + +- 공유 디렉토리와 함께 FreeRDP 서버에 연결: + +`xfreerdp /v:{{IP_주소}} /u:{{사용자명}} /p:{{비밀번호}} /drive:{{경로/대상/폴더}},{{공유_이름}}` diff --git a/pages.ko/linux/xfs_repair.md b/pages.ko/linux/xfs_repair.md new file mode 100644 index 00000000000000..f2b2d26fc8af2b --- /dev/null +++ b/pages.ko/linux/xfs_repair.md @@ -0,0 +1,8 @@ +# xfs_repair + +> XFS 파일 시스템 복구. +> 더 많은 정보: . + +- 파티션 복구: + +`sudo xfs_repair {{경로/대상/파티션}}` diff --git a/pages.ko/linux/xinput.md b/pages.ko/linux/xinput.md new file mode 100644 index 00000000000000..e68213c251229b --- /dev/null +++ b/pages.ko/linux/xinput.md @@ -0,0 +1,32 @@ +# xinput + +> 사용 가능한 입력 장치를 나열하고, 장치에 대한 정보를 쿼리하며, 입력 장치 설정을 변경. +> 더 많은 정보: . + +- 모든 입력 장치 나열: + +`xinput list` + +- 입력 장치 비활성화: + +`xinput disable {{id}}` + +- 입력 장치 활성화: + +`xinput enable {{id}}` + +- 입력 장치를 마스터에서 분리: + +`xinput float {{id}}` + +- 입력 장치를 슬레이브로 마스터에 재연결: + +`xinput reattach {{id}} {{마스터_id}}` + +- 입력 장치의 설정 나열: + +`xinput list-props {{id}}` + +- 입력 장치의 설정 변경: + +`xinput set-prop {{id}} {{설정_id}} {{값}}` diff --git a/pages.ko/linux/xman.md b/pages.ko/linux/xman.md new file mode 100644 index 00000000000000..2114f59c97ef01 --- /dev/null +++ b/pages.ko/linux/xman.md @@ -0,0 +1,16 @@ +# xman + +> X Window System용 매뉴얼 페이지 뷰어. +> 더 많은 정보: . + +- 3버튼 창에서 `xman` 시작: + +`xman` + +- 주어진 파일에 저장된 매뉴얼 페이지 출력 열기: + +`xman -helpfile {{파일명}}` + +- 매뉴얼 페이지와 디렉터리 모두 표시: + +`xman -bothshown` diff --git a/pages.ko/linux/xmodmap.md b/pages.ko/linux/xmodmap.md new file mode 100644 index 00000000000000..3a872b705b1d1e --- /dev/null +++ b/pages.ko/linux/xmodmap.md @@ -0,0 +1,20 @@ +# xmodmap + +> X에서 키맵과 포인터 버튼 매핑을 수정하는 유틸리티. +> 더 많은 정보: . + +- 포인터에서 ``과 `` 교체: + +`xmodmap -e 'pointer = 3 2 1'` + +- 키보드의 키를 다른 키로 재할당: + +`xmodmap -e 'keycode {{키코드}} = {{키이름}}'` + +- 키보드의 키 비활성화: + +`xmodmap -e 'keycode {{키코드}} ='` + +- 지정된 파일에 있는 모든 xmodmap 표현 실행: + +`xmodmap {{경로/대상/파일}}` diff --git a/pages.ko/linux/xmount.md b/pages.ko/linux/xmount.md new file mode 100644 index 00000000000000..88767970abe7e1 --- /dev/null +++ b/pages.ko/linux/xmount.md @@ -0,0 +1,17 @@ +# xmount + +> 여러 입력 및 출력 하드 디스크 이미지 형식을 선택적 쓰기 캐시 지원과 함께 실시간으로 변환합니다. +> FUSE(Filesystem in Userspace)를 사용하여 입력 이미지의 가상 표현을 포함하는 가상 파일 시스템을 만듭니다. +> 더 많은 정보: . + +- `.raw` 이미지 파일을 DMG 컨테이너 파일로 마운트: + +`xmount --in {{raw}} {{경로/대상/이미지.dd}} --out {{dmg}} {{마운트_포인트}}` + +- 쓰기-캐시 지원과 함께 EWF 이미지 파일을 VHD 파일로 마운트하여 부팅: + +`xmount --cache {{경로/대상/캐시.ovl}} --in {{ewf}} {{경로/대상/이미지.E??}} --out {{vhd}} {{마운트_포인트}}` + +- 섹터 2048의 첫 번째 파티션을 새 `.raw` 이미지 파일로 마운트: + +`xmount --offset {{2048}} --in {{raw}} {{경로/대상/이미지.dd}} --out {{raw}} {{마운트_포인트}}` diff --git a/pages.ko/linux/xrandr.md b/pages.ko/linux/xrandr.md new file mode 100644 index 00000000000000..9a423d536b8629 --- /dev/null +++ b/pages.ko/linux/xrandr.md @@ -0,0 +1,32 @@ +# xrandr + +> 화면의 출력 크기, 방향 및/또는 반사를 설정. +> 더 많은 정보: . + +- 시스템의 현재 상태(알려진 화면, 해상도 등) 표시: + +`xrandr {{[-q|--query]}}` + +- 연결되지 않은 출력을 비활성화하고 기본 설정으로 연결된 출력 활성화: + +`xrandr --auto` + +- DisplayPort 1의 해상도와 갱신 빈도를 1920x1080, 60Hz로 변경: + +`xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}` + +- HDMI2의 해상도를 1280x1024로 설정하고 DP1의 오른쪽에 배치: + +`xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}` + +- VGA1 출력 비활성화: + +`xrandr --output {{VGA1}} --off` + +- LVDS1의 밝기를 50%로 설정: + +`xrandr --output {{LVDS1}} --brightness {{0.5}}` + +- X 서버의 현재 상태 표시: + +`xrandr {{[-d|--display]}} :{{0}} {{[-q|--query]}}` diff --git a/pages.ko/linux/xrdb.md b/pages.ko/linux/xrdb.md new file mode 100644 index 00000000000000..aeaaee57308013 --- /dev/null +++ b/pages.ko/linux/xrdb.md @@ -0,0 +1,16 @@ +# xrdb + +> 유닉스 계열 시스템을 위한 X 윈도우 서버의 리소스 데이터베이스 도구. +> 더 많은 정보: . + +- 대화형 모드로 `xrdb` 시작: + +`xrdb` + +- 리소스 파일에서 값(예: 스타일 규칙) 불러오기: + +`xrdb -load {{~/.Xresources}}` + +- 리소스 데이터베이스를 조회하고 현재 설정된 값 출력: + +`xrdb -query` diff --git a/pages.ko/linux/xsel.md b/pages.ko/linux/xsel.md new file mode 100644 index 00000000000000..30ec067270d160 --- /dev/null +++ b/pages.ko/linux/xsel.md @@ -0,0 +1,28 @@ +# xsel + +> X11 선택 및 클립보드 조작 도구. +> 더 많은 정보: . + +- 명령의 출력을 클립보드 입력으로 사용 (``와 동일): + +`echo 123 | xsel -ib` + +- 파일의 내용을 클립보드 입력으로 사용: + +`cat {{경로/대상/파일}} | xsel -ib` + +- 클립보드의 내용을 터미널에 출력 (``와 동일): + +`xsel -ob` + +- 클립보드의 내용을 파일에 출력: + +`xsel -ob > {{경로/대상/파일}}` + +- 클립보드 내용 지우기: + +`xsel -cb` + +- X11 기본 선택의 내용을 터미널에 출력 (`` 동일): + +`xsel -op` diff --git a/pages.ko/linux/xset.md b/pages.ko/linux/xset.md new file mode 100644 index 00000000000000..6e3ff1a4367129 --- /dev/null +++ b/pages.ko/linux/xset.md @@ -0,0 +1,28 @@ +# xset + +> X를 위한 사용자 환경 설정 도구. +> 더 많은 정보: . + +- 화면 보호기 비활성화: + +`xset s off` + +- 벨 소리 비활성화: + +`xset b off` + +- 비활성 상태 60분 후 화면 보호기 시작 설정: + +`xset s 3600 3600` + +- DPMS (Energy Star) 기능 비활성화: + +`xset -dpms` + +- DPMS (Energy Star) 기능 활성화: + +`xset +dpms` + +- 특정 X 서버의 정보 조회: + +`xset -display :{{0}} q` diff --git a/pages.ko/linux/xsetwacom.md b/pages.ko/linux/xsetwacom.md new file mode 100644 index 00000000000000..bd6729babc925b --- /dev/null +++ b/pages.ko/linux/xsetwacom.md @@ -0,0 +1,24 @@ +# xsetwacom + +> 커맨드 라인 도구로, Wacom 펜 태블릿의 설정을 실행 중에 변경합니다. +> 더 많은 정보: . + +- 사용 가능한 모든 Wacom 장치를 나열. 장치 이름은 첫 번째 열에 표시됩니다: + +`xsetwacom list` + +- Wacom 영역을 특정 화면에 설정. 화면 이름은 `xrandr`로 확인: + +`xsetwacom set "{{장치_이름}}" MapToOutput {{화면}}` + +- 모드를 상대적(마우스처럼) 또는 절대적(펜처럼) 모드로 설정: + +`xsetwacom set "{{장치_이름}}" Mode "{{Relative|Absolute}}"` + +- 입력을 회전(화면을 회전할 때 유용) "자연" 회전에서 0|90|180|270 도로 설정: + +`xsetwacom set "{{장치_이름}}" Rotate {{none|half|cw|ccw}}` + +- 펜촉이 태블릿에 닿을 때만 버튼이 작동하도록 설정: + +`xsetwacom set "{{장치_이름}}" TabletPCButton "on"` diff --git a/pages.ko/linux/xterm.md b/pages.ko/linux/xterm.md new file mode 100644 index 00000000000000..b804fdd09374b9 --- /dev/null +++ b/pages.ko/linux/xterm.md @@ -0,0 +1,24 @@ +# xterm + +> X 윈도우 시스템용 터미널 에뮬레이터. +> 더 많은 정보: . + +- `Example`이라는 제목으로 터미널 열기: + +`xterm -T {{Example}}` + +- 전체 화면 모드로 터미널 열기: + +`xterm -fullscreen` + +- 어두운 파란색 배경과 노란색 전경(글꼴 색상)으로 터미널 열기: + +`xterm -bg {{darkblue}} -fg {{yellow}}` + +- 각 줄에 100자, 35줄로, 화면 위치 x=200px, y=20px에 터미널 열기: + +`xterm -geometry {{100}}x{{35}}+{{200}}+{{20}}` + +- Serif 글꼴과 글꼴 크기 20으로 터미널 열기: + +`xterm -fa {{'Serif'}} -fs {{20}}` diff --git a/pages.ko/linux/xtrlock.md b/pages.ko/linux/xtrlock.md new file mode 100644 index 00000000000000..ca3fdbc8ee2dae --- /dev/null +++ b/pages.ko/linux/xtrlock.md @@ -0,0 +1,16 @@ +# xtrlock + +> 사용자가 비밀번호를 입력할 때까지 X 디스플레이를 잠급니다. +> 더 많은 정보: . + +- 디스플레이를 잠그고 커서 대신 자물쇠 아이콘 표시: + +`xtrlock` + +- 빈 화면과 자물쇠 커서를 표시: + +`xtrlock -b` + +- xtrlock 프로세스를 포크하고 즉시 반환: + +`xtrlock -f` diff --git a/pages.ko/linux/xvfb-run.md b/pages.ko/linux/xvfb-run.md new file mode 100644 index 00000000000000..13caef65134c00 --- /dev/null +++ b/pages.ko/linux/xvfb-run.md @@ -0,0 +1,16 @@ +# xvfb-run + +> 가상 X 서버 환경에서 명령 실행. +> 더 많은 정보: . + +- 가상 X 서버에서 지정된 명령 실행: + +`xvfb-run {{명령}}` + +- 기본값(99)이 사용 불가능한 경우, 사용 가능한 서버 번호를 자동으로 선택: + +`xvfb-run {{[-a|--auto-servernum]}} {{명령}}` + +- Xvfb 서버에 인수 전달: + +`xvfb-run {{[-s|--server-args]}} "{{-screen 0 1024x768x24}}" {{명령}}` diff --git a/pages.ko/linux/xwinwrap.md b/pages.ko/linux/xwinwrap.md new file mode 100644 index 00000000000000..728f7282eb1c3a --- /dev/null +++ b/pages.ko/linux/xwinwrap.md @@ -0,0 +1,20 @@ +# xwinwrap + +> 플레이어나 프로그램을 데스크탑 배경으로 실행. +> 더 많은 정보: . + +- mpv를 사용하여 비디오 실행: + +`xwinwrap -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{경로/대상/비디오.mp4}}` + +- mpv를 사용하여 전체 화면으로 비디오 실행: + +`xwinwrap -b -nf -fs -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{경로/대상/비디오.mp4}}` + +- mpv를 사용하여 80% 투명도로 비디오 실행: + +`xwinwrap -b -nf -ov -o 0.8 --- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{경로/대상/비디오.mp4}}` + +- mpv를 사용하여 두 번째 모니터에 1600x900 크기로 X축 1920 오프셋으로 비디오 실행: + +`xwinwrap -g 1600x900+1920 -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{경로/대상/비디오.mkv}}` diff --git a/pages.ko/linux/xxhsum.md b/pages.ko/linux/xxhsum.md new file mode 100644 index 00000000000000..4d17d401e8df20 --- /dev/null +++ b/pages.ko/linux/xxhsum.md @@ -0,0 +1,12 @@ +# xxhsum + +> 빠른 비암호화 알고리즘인 xxHash를 사용하여 체크섬을 출력하거나 검증합니다. +> 더 많은 정보: . + +- 특정 알고리즘을 사용하여 [f]파일의 체크섬 계산: + +`xxhsum -H{{0|32|64|128}} {{경로/대상/파일}}` + +- 벤치마크 실행: + +`xxhsum -b` diff --git a/pages.ko/linux/yaourt.md b/pages.ko/linux/yaourt.md new file mode 100644 index 00000000000000..8f9be5065b586e --- /dev/null +++ b/pages.ko/linux/yaourt.md @@ -0,0 +1,24 @@ +# yaourt + +> Arch Linux 유틸리티로 Arch User Repository(AUR)에서 패키지를 빌드합니다. +> 더 많은 정보: . + +- 모든 패키지 동기화 및 업데이트 (AUR 포함): + +`yaourt -Syua` + +- 새 패키지 설치 (AUR 포함): + +`yaourt -S {{패키지}}` + +- 패키지와 그 의존성 제거 (AUR 패키지 포함): + +`yaourt -Rs {{패키지}}` + +- 키워드로 패키지 데이터베이스 검색 (AUR 포함): + +`yaourt -Ss {{검색어}}` + +- 설치된 패키지, 버전 및 저장소 나열 (AUR 패키지는 'local' 저장소로 나열됨): + +`yaourt -Q` diff --git a/pages.ko/linux/yay.md b/pages.ko/linux/yay.md new file mode 100644 index 00000000000000..af3711a54478d4 --- /dev/null +++ b/pages.ko/linux/yay.md @@ -0,0 +1,37 @@ +# yay + +> Yet Another Yogurt: Arch User Repository(AUR)에서 패키지를 빌드하고 설치합니다. +> 같이 보기: `pacman`. +> 더 많은 정보: . + +- 저장소와 AUR에서 패키지를 검색하고 상호작용하며 설치: + +`yay {{패키지_이름|검색어}}` + +- 저장소와 AUR의 모든 패키지를 동기화하고 업데이트: + +`yay` + +- AUR 패키지만 동기화하고 업데이트: + +`yay -Sua` + +- 저장소와 AUR에서 새 패키지 설치: + +`yay -S {{패키지}}` + +- 설치된 패키지와 그 의존성 및 구성 파일 제거: + +`yay -Rns {{패키지}}` + +- 저장소와 AUR의 패키지 데이터베이스에서 키워드 검색: + +`yay -Ss {{키워드}}` + +- 고아 패키지 제거 (의존성으로 설치되었지만 더 이상 어떤 패키지도 필요로 하지 않는 패키지): + +`yay -Yc` + +- 설치된 패키지와 시스템 상태에 대한 통계 표시: + +`yay -Ps` diff --git a/pages.ko/linux/ydotool.md b/pages.ko/linux/ydotool.md new file mode 100644 index 00000000000000..cd140b9329dcfa --- /dev/null +++ b/pages.ko/linux/ydotool.md @@ -0,0 +1,20 @@ +# ydotool + +> 디스플레이 서버와 무관하게 명령을 통해 키보드 및 마우스 입력을 제어. +> 더 많은 정보: . + +- ydotool 데몬을 백그라운드에서 시작: + +`ydotoold` + +- `` 입력 수행: + +`ydotool click 0xC0` + +- `` 입력 수행: + +`ydotool click 0xC1` + +- `` 입력: + +`ydotool key 56:1 62:1 62:0 56:0` diff --git a/pages.ko/linux/yetris.md b/pages.ko/linux/yetris.md new file mode 100644 index 00000000000000..5f029ededd4aba --- /dev/null +++ b/pages.ko/linux/yetris.md @@ -0,0 +1,36 @@ +# yetris + +> 터미널에서 실행되는 테트리스 게임의 클론. +> 더 많은 정보: . + +- 테트리스 게임 시작: + +`yetris` + +- 블록을 좌우로 이동: + +`{{|}}` + +- 블록을 시계 방향 또는 반시계 방향으로 회전: + +`{{|}}` + +- 블록 홀드(한 번에 하나만 가능): + +`` + +- 블록을 천천히 떨어뜨림: + +`` + +- 블록을 빠르게 떨어뜨림: + +`` + +- 게임 일시정지/재개: + +`

` + +- 게임 종료: + +`` diff --git a/pages.ko/linux/yplan.md b/pages.ko/linux/yplan.md new file mode 100644 index 00000000000000..18af87b6668c62 --- /dev/null +++ b/pages.ko/linux/yplan.md @@ -0,0 +1,9 @@ +# yplan + +> 선택한 연도의 2페이지 세로형 일일 계획표에 대한 LaTeX 코드를 생성. +> 생성된 출력물은 `pandoc`, `pdflatex`, `xetex` 등의 변환 도구를 사용하여 변환하거나 인쇄 가능. +> 더 많은 정보: . + +- 지정된 언어, 대소문자(uppercase 또는 lowercase) 및 연도로 일일 계획표 생성: + +`yplan {{언어}} {{대소문자}} {{연도}} > {{경로/대상/파일.tex}}` diff --git a/pages.ko/linux/ytfzf.md b/pages.ko/linux/ytfzf.md new file mode 100644 index 00000000000000..5bd648ab8d1d0c --- /dev/null +++ b/pages.ko/linux/ytfzf.md @@ -0,0 +1,29 @@ +# ytfzf + +> 비디오 및 음악을 찾고 다운로드. POSIX 셸로 작성되었습니다. +> 같이 보기: `youtube-dl`, `yt-dlp`, `instaloader`. +> 더 많은 정보: . + +- YouTube에서 썸네일 미리보기로 비디오 검색: + +`ytfzf --show-thumbnails {{검색_패턴}}` + +- 첫 번째 항목의 오디오만 반복 재생: + +`ytfzf --audio-only --auto-select --loop {{검색_패턴}}` + +- 기록에서 비디오 다운로드: + +`ytfzf --download --choose-from-history` + +- 검색에서 찾은 모든 음악 재생: + +`ytfzf --audio-only --select-all {{검색_패턴}}` + +- 외부 메뉴에서 인기 비디오 보기: + +`ytfzf --trending --ext-menu {{검색_패턴}}` + +- YouTube 대신 PeerTube에서 검색: + +`ytfzf --peertube {{검색_패턴}}` diff --git a/pages.ko/linux/yum-config-manager.md b/pages.ko/linux/yum-config-manager.md new file mode 100644 index 00000000000000..67a675989072f2 --- /dev/null +++ b/pages.ko/linux/yum-config-manager.md @@ -0,0 +1,7 @@ +# yum config-manager + +> 이 명령은 `dnf config-manager`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr dnf config-manager` diff --git a/pages.ko/linux/yum.md b/pages.ko/linux/yum.md new file mode 100644 index 00000000000000..1f73578dccb1cf --- /dev/null +++ b/pages.ko/linux/yum.md @@ -0,0 +1,29 @@ +# yum + +> RHEL, Fedora, CentOS(이전 버전용)를 위한 패키지 관리 도구. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 새 패키지 설치: + +`yum install {{패키지}}` + +- 새 패키지를 설치하고 모든 질문에 대해 예로 가정 (업데이트에도 작동하며, 자동화된 업데이트에 유용): + +`yum -y install {{패키지}}` + +- 특정 명령을 제공하는 패키지 찾기: + +`yum provides {{명령}}` + +- 패키지 제거: + +`yum remove {{패키지}}` + +- 설치된 패키지에 대한 사용 가능한 업데이트 표시: + +`yum check-update` + +- 설치된 패키지를 최신 버전으로 업그레이드: + +`yum upgrade` diff --git a/pages.ko/linux/zathura.md b/pages.ko/linux/zathura.md new file mode 100644 index 00000000000000..79b5c31bf18c24 --- /dev/null +++ b/pages.ko/linux/zathura.md @@ -0,0 +1,33 @@ +# zathura + +> vim과 유사한 모달 문서 뷰어로, 통합 명령줄을 제공합니다. +> 백엔드(poppler, PostScript, 또는 DjVu)가 설치되었는지 확인하세요. +> 더 많은 정보: . + +- 파일 열기: + +`zathura {{경로/대상/파일}}` + +- 왼쪽/위/아래/오른쪽으로 이동: + +`{{||||}}` + +- 회전: + +`` + +- 색상 반전: + +`` + +- 주어진 문자열로 텍스트 검색: + +`{{문자열}}` + +- 북마크 생성/삭제: + +`<:>{{bmark|bdelete}} {{북마크_이름}}` + +- 북마크 목록 나열: + +`<:>blist` diff --git a/pages.ko/linux/zbarcam.md b/pages.ko/linux/zbarcam.md new file mode 100644 index 00000000000000..775a3cc5952a7f --- /dev/null +++ b/pages.ko/linux/zbarcam.md @@ -0,0 +1,20 @@ +# zbarcam + +> 비디오 장치에서 바코드(및 QR 코드)를 스캔하고 디코딩. +> 더 많은 정보: . + +- 바코드를 지속적으로 읽고 `stdout`에 출력: + +`zbarcam` + +- 스캔하는 동안 출력 비디오 창 비활성화: + +`zbarcam --nodisplay` + +- 유형 정보 없이 바코드 출력: + +`zbarcam --raw` + +- 캡처 장치 지정: + +`zbarcam {{/dev/비디오_장치}}` diff --git a/pages.ko/linux/zdump.md b/pages.ko/linux/zdump.md new file mode 100644 index 00000000000000..b9642940976055 --- /dev/null +++ b/pages.ko/linux/zdump.md @@ -0,0 +1,12 @@ +# zdump + +> 시간대 정보를 출력. +> 더 많은 정보: . + +- 특정 시간대의 현재 시간 출력: + +`zdump {{시간대}}` + +- 도움말 표시: + +`zdump --help` diff --git a/pages.ko/linux/zenity.md b/pages.ko/linux/zenity.md new file mode 100644 index 00000000000000..e2a79743deb580 --- /dev/null +++ b/pages.ko/linux/zenity.md @@ -0,0 +1,25 @@ +# zenity + +> 명령줄/셸 스크립트에서 대화 상자를 표시. +> 사용자 입력 값을 반환하거나 오류 시 1을 반환. +> 더 많은 정보: . + +- 기본 질문 대화 상자 표시: + +`zenity --question` + +- "Hello!"라는 텍스트를 표시하는 정보 대화 상자 표시: + +`zenity --info --text="{{Hello!}}"` + +- 이름/비밀번호 입력 폼을 표시하고 데이터를 ";"로 구분하여 출력: + +`zenity --forms --add-entry="{{이름}}" --add-password="{{비밀번호}}" --separator="{{;}}"` + +- 사용자가 디렉토리만 선택할 수 있는 파일 선택 폼 표시: + +`zenity --file-selection --directory` + +- 매초 메시지를 업데이트하고 진행률을 보여주는 진행률 표시줄 표시: + +`{{(echo "#1"; sleep 1; echo "50"; echo "#2"; sleep 1; echo "100")}} | zenity --progress` diff --git a/pages.ko/linux/zforce.md b/pages.ko/linux/zforce.md new file mode 100644 index 00000000000000..150ca9e23f1cdf --- /dev/null +++ b/pages.ko/linux/zforce.md @@ -0,0 +1,8 @@ +# zforce + +> `gzip`으로 압축된 파일에 `.gz` 확장자를 추가. +> 더 많은 정보: . + +- 제공된 Gzip 파일에 `.gz` 확장자를 추가 (참고: 다른 파일은 무시됨): + +`zforce {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/linux/zic.md b/pages.ko/linux/zic.md new file mode 100644 index 00000000000000..e062e22b290947 --- /dev/null +++ b/pages.ko/linux/zic.md @@ -0,0 +1,12 @@ +# zic + +> 시간대 정보를 바이너리 파일로 컴파일. +> 더 많은 정보: . + +- 디렉터리에서 시간대 파일을 컴파일: + +`zic -d {{경로/대상/폴더}}` + +- 특정 파일을 컴파일하는 동안 경고 보고: + +`zic -v {{경로/대상/파일}}.infile` diff --git a/pages.ko/linux/zile.md b/pages.ko/linux/zile.md new file mode 100644 index 00000000000000..9e0a4eb46a98eb --- /dev/null +++ b/pages.ko/linux/zile.md @@ -0,0 +1,28 @@ +# zile + +> Emacs 텍스트 편집기의 경량 클론. +> 더 많은 정보: . + +- 임시 메모를 위한 버퍼 시작 (저장되지 않음): + +`zile` + +- 파일 열기: + +`zile {{경로/대상/파일}}` + +- 파일 저장: + +`` + +- 종료: + +`` + +- 지정된 줄 번호에서 파일 열기: + +`zile +{{줄_번호}} {{경로/대상/파일}}` + +- 변경 사항 실행 취소: + +`` diff --git a/pages.ko/linux/zipsplit.md b/pages.ko/linux/zipsplit.md new file mode 100644 index 00000000000000..5c1f65c68bd9b2 --- /dev/null +++ b/pages.ko/linux/zipsplit.md @@ -0,0 +1,20 @@ +# zipsplit + +> Zip 아카이브를 더 작은 Zip 아카이브로 분할. +> 더 많은 정보: . + +- Zip 아카이브를 36000 바이트(36 MB) 이하의 부분으로 분할: + +`zipsplit {{경로/대상/아카이브.zip}}` + +- 지정된 바이트 [n] 수를 부분 제한으로 사용: + +`zipsplit -n {{크기}} {{경로/대상/아카이브.zip}}` + +- 각 부분 생성 사이에 [p] 일시 정지: + +`zipsplit -p -n {{크기}} {{경로/대상/아카이브.zip}}` + +- 분할된 작은 Zip 아카이브를 지정된 디렉토리에 출력: + +`zipsplit -b {{경로/대상/출력_폴더}} -n {{크기}} {{경로/대상/아카이브.zip}}` diff --git a/pages.ko/linux/zramctl.md b/pages.ko/linux/zramctl.md new file mode 100644 index 00000000000000..f00c44ebead1ef --- /dev/null +++ b/pages.ko/linux/zramctl.md @@ -0,0 +1,25 @@ +# zramctl + +> zram 장치를 설정하고 제어. +> `mkfs` 또는 `mkswap`를 사용하여 zram 장치를 파티션으로 포맷하세요. +> 더 많은 정보: . + +- zram이 활성화되어 있는지 확인: + +`lsmod | grep -i zram` + +- 동적 장치 수로 zram 활성화 (`zramctl`을 사용하여 장치를 추가로 구성): + +`sudo modprobe zram` + +- 정확히 2개의 장치로 zram 활성화: + +`sudo modprobe zram num_devices={{2}}` + +- 다음 사용 가능한 zram 장치를 찾아 LZ4 압축을 사용하여 2GB 가상 드라이브로 초기화: + +`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}` + +- 현재 초기화된 장치 나열: + +`sudo zramctl` diff --git a/pages.ko/linux/zypper.md b/pages.ko/linux/zypper.md new file mode 100644 index 00000000000000..d69306fa489ba0 --- /dev/null +++ b/pages.ko/linux/zypper.md @@ -0,0 +1,29 @@ +# zypper + +> SUSE 및 openSUSE 패키지 관리 도구. +> 다른 패키지 관리자의 동등한 명령을 보려면 . +> 더 많은 정보: . + +- 사용 가능한 패키지 및 버전 목록 동기화: + +`zypper refresh` + +- 새 패키지 설치: + +`zypper install {{패키지}}` + +- 패키지 제거: + +`zypper remove {{패키지}}` + +- 설치된 패키지를 최신 버전으로 업그레이드: + +`zypper update` + +- 키워드를 통한 패키지 검색: + +`zypper search {{키워드}}` + +- 구성된 저장소에 대한 정보 표시: + +`zypper repos --sort-by-priority` diff --git a/pages.ko/netbsd/cal.md b/pages.ko/netbsd/cal.md new file mode 100644 index 00000000000000..1ab6d8226c534f --- /dev/null +++ b/pages.ko/netbsd/cal.md @@ -0,0 +1,36 @@ +# cal + +> 달력을 표시합니다. +> 더 많은 정보: . + +- 현재 월의 달력 표시: + +`cal` + +- 특정 연도의 달력 표시: + +`cal {{연도}}` + +- 특정 월과 연도의 달력 표시: + +`cal {{월}} {{연도}}` + +- 1부터 시작하는 율리우스력을 사용해 현재 연도의 전체 달력 표시: + +`cal -y -j` + +- 오늘을 강조하고 날짜를 포함해 3개월 표시: + +`cal -h -3 {{월}} {{연도}}` + +- 현재 연도의 특정 월의 이전 2개월과 이후 3개월 표시: + +`cal -A 3 -B 2 {{월}}` + +- 지정한 월의 이전 및 이후의 월 수를 지정: + +`cal -C {{월 수}} {{월}}` + +- 주의 시작 요일을 지정 (0: 일요일, 1: 월요일, ..., 6: 토요일): + +`cal -d {{0..6}}` diff --git a/pages.ko/netbsd/chfn.md b/pages.ko/netbsd/chfn.md new file mode 100644 index 00000000000000..a5c7ea69b6dba2 --- /dev/null +++ b/pages.ko/netbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/netbsd/chpass.md b/pages.ko/netbsd/chpass.md new file mode 100644 index 00000000000000..8210083b0abc03 --- /dev/null +++ b/pages.ko/netbsd/chpass.md @@ -0,0 +1,29 @@ +# chpass + +> 사용자 데이터베이스 정보, 로그인 셸 및 비밀번호를 추가하거나 변경합니다. +> 같이 보기: `passwd`. +> 더 많은 정보: . + +- 현재 사용자에게 특정 로그인 셸을 대화식으로 설정: + +`su -c chpass` + +- 현재 사용자에게 특정 로그인 셸 설정: + +`chpass -s {{경로/대상/셸}}` + +- 특정 사용자에게 로그인 셸 설정: + +`chpass -s {{경로/대상/셸}} {{사용자명}}` + +- `passwd` 파일 형식으로 사용자 데이터베이스 항목 지정: + +`su -c 'chpass -a {{사용자명:암호화된_비밀번호:uid:gid:...}} -s {{경로/대상/파일}}' {{사용자명}}` + +- 로컬 비밀번호 파일만 업데이트: + +`su -c 'chpass -l -s {{경로/대상/셸}}' {{사용자명}}` + +- 데이터베이스 [y]P 비밀번호 데이터베이스 항목을 강제로 변경: + +`su -c 'chpass -y -s {{경로/대상/셸}}' {{사용자명}}` diff --git a/pages.ko/netbsd/chsh.md b/pages.ko/netbsd/chsh.md new file mode 100644 index 00000000000000..fcd121523b4761 --- /dev/null +++ b/pages.ko/netbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/netbsd/df.md b/pages.ko/netbsd/df.md new file mode 100644 index 00000000000000..63599ced50433d --- /dev/null +++ b/pages.ko/netbsd/df.md @@ -0,0 +1,32 @@ +# df + +> 파일 시스템 디스크 공간 사용량 개요를 표시합니다. +> 더 많은 정보: . + +- 512바이트 단위로 모든 파일 시스템과 디스크 사용량 표시: + +`df` + +- [h]uman-readable 단위 사용 (1024의 거듭제곱에 기반): + +`df -h` + +- `statvfs`에 의해 반환된 구조체의 모든 필드 표시: + +`df -G` + +- 주어진 파일 또는 디렉토리를 포함하는 파일 시스템과 해당 디스크 사용량 표시: + +`df {{경로/대상/파일_또는_폴더}}` + +- 빈 및 사용중인 [i]노드의 통계 포함: + +`df -i` + +- 공간 값을 쓸 때 1024바이트 단위 사용: + +`df -k` + +- [P]ortable한 방식으로 정보 표시: + +`df -P` diff --git a/pages.ko/netbsd/pkgin.md b/pages.ko/netbsd/pkgin.md new file mode 100644 index 00000000000000..48793adfdf20a3 --- /dev/null +++ b/pages.ko/netbsd/pkgin.md @@ -0,0 +1,28 @@ +# pkgin + +> NetBSD에서 `pkgsrc` 바이너리 패키지를 관리합니다. +> 더 많은 정보: . + +- 패키지 설치: + +`pkgin install {{패키지}}` + +- 패키지 및 해당 의존성 제거: + +`pkgin remove {{패키지}}` + +- 모든 패키지 업그레이드: + +`pkgin full-upgrade` + +- 패키지 검색: + +`pkgin search {{키워드}}` + +- 설치된 패키지 나열: + +`pkgin list` + +- 필요없는 의존성 제거: + +`pkgin autoremove` diff --git a/pages.ko/netbsd/sed.md b/pages.ko/netbsd/sed.md new file mode 100644 index 00000000000000..952c68646d08fc --- /dev/null +++ b/pages.ko/netbsd/sed.md @@ -0,0 +1,33 @@ +# sed + +> 스크립트로 텍스트를 편집합니다. +> 같이 보기: `awk`, `ed`. +> 더 많은 정보: . + +- 모든 입력 라인에서 `apple` (기본 정규표현식)을 `mango` (기본 정규표현식)로 대체하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed 's/apple/mango/g'` + +- 특정 스크립트 [f]파일을 실행하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed -f {{경로/대상/스크립트.sed}}` + +- 관련 `w` 함수 또는 플래그가 포함된 명령이 입력 줄에 적용될 때까지 각 파일 열기 지연: + +`{{명령}} | sed -fa {{경로/대상/스크립트.sed}}` + +- GNU [g]정규식 확장 활성화: + +`{{명령}} | sed -fg {{경로/대상/스크립트.sed}}` + +- 모든 입력 라인에서 `apple` (확장 정규표현식)을 `APPLE` (확장 정규표현식)으로 대체하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed -E 's/(apple)/\U\1/g'` + +- 첫 번째 줄만 `stdout`에 인쇄: + +`{{명령}} | sed -n '1p'` + +- 특정 파일에서 `apple` (기본 정규표현식)을 `mango` (기본 정규표현식)로 모두 대체하고 원본 파일 덮어쓰기: + +`sed -i 's/apple/mango/g' {{경로/대상/파일}}` diff --git a/pages.ko/netbsd/sockstat.md b/pages.ko/netbsd/sockstat.md new file mode 100644 index 00000000000000..d46d0d3932874e --- /dev/null +++ b/pages.ko/netbsd/sockstat.md @@ -0,0 +1,26 @@ +# sockstat + +> 열린 인터넷 또는 UNIX 도메인 소켓을 나열합니다. +> 참고: 이 프로그램은 FreeBSD의 `sockstat`를 NetBSD 3.0용으로 다시 작성한 것입니다. +> 같이 보기: `netstat`. +> 더 많은 정보: . + +- IPv4, IPv6 및 Unix 소켓에 대한 수신 및 연결된 소켓에 대한 정보 표시: + +`sockstat` + +- 특정 포트에서 특정 프로토콜을 사용하는 IPv[4]/IPv[6] 소켓 [l]istening에 대한 정보 표시: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}` + +- [c]onnected 소켓도 표시하며 [u]nix 소켓도 표시: + +`sockstat -cu` + +- 주소 및 포트의 심볼릭 이름을 해결하지 않고 [n]umeric 출력만 표시: + +`sockstat -n` + +- 지정된 주소 [f]amily의 소켓만 나열: + +`sockstat -f {{inet|inet6|local|unix}}` diff --git a/pages.ko/openbsd/cal.md b/pages.ko/openbsd/cal.md new file mode 100644 index 00000000000000..57ab585a3513c8 --- /dev/null +++ b/pages.ko/openbsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> 현재 날짜가 강조된 달력을 표시합니다. +> 더 많은 정보: . + +- 현재 월의 달력 표시: + +`cal` + +- 특정 년도의 달력 표시: + +`cal {{년도}}` + +- 특정 월과 년도의 달력 표시: + +`cal {{월}} {{년도}}` + +- 현재 년도의 달력 표시: + +`cal -y` + +- [j]율리우스력 표시 (1부터 시작되며 1월 1일부터 번호 부여됨): + +`cal -j` + +- 일요일 대신에 [m]월요일을 주 시작으로 사용: + +`cal -m` + +- [w]주 번호 표시 (`-j`와 호환되지 않음): + +`cal -w` diff --git a/pages.ko/openbsd/chfn.md b/pages.ko/openbsd/chfn.md new file mode 100644 index 00000000000000..a5c7ea69b6dba2 --- /dev/null +++ b/pages.ko/openbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/openbsd/chpass.md b/pages.ko/openbsd/chpass.md new file mode 100644 index 00000000000000..d28aecab007439 --- /dev/null +++ b/pages.ko/openbsd/chpass.md @@ -0,0 +1,21 @@ +# chpass + +> 로그인 셸과 비밀번호를 포함한 사용자 데이터베이스 정보를 추가하거나 변경합니다. +> 같이 보기: `passwd`. +> 더 많은 정보: . + +- 현재 사용자에게 특정 로그인 셸을 대화식으로 설정: + +`doas chpass` + +- 현재 사용자에게 특정 로그인 셸을 설정: + +`doas chpass -s {{경로/대상/셸}}` + +- 특정 사용자에게 로그인 셸을 설정: + +`doas chpass -s {{경로/대상/셸}} {{사용자명}}` + +- `passwd` 파일 형식의 사용자 데이터베이스 항목을 지정: + +`doas chpass -a {{사용자명:암호화된_비밀번호:uid:gid:...}}` diff --git a/pages.ko/openbsd/chsh.md b/pages.ko/openbsd/chsh.md new file mode 100644 index 00000000000000..fcd121523b4761 --- /dev/null +++ b/pages.ko/openbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> 이 명령어는 `chpass`의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chpass` diff --git a/pages.ko/openbsd/df.md b/pages.ko/openbsd/df.md new file mode 100644 index 00000000000000..27d9d62e5c8dc2 --- /dev/null +++ b/pages.ko/openbsd/df.md @@ -0,0 +1,28 @@ +# df + +> 파일 시스템 디스크 공간 사용량 개요를 표시합니다. +> 더 많은 정보: . + +- 모든 파일 시스템과 디스크 사용량을 512바이트 단위로 표시: + +`df` + +- [h]uman-readable 형식으로 모든 파일 시스템과 디스크 사용량 표시 (1024의 거듭 제곱에 기반): + +`df -h` + +- 지정된 파일 또는 디렉토리를 포함하는 파일 시스템 및 해당 디스크 사용량 표시: + +`df {{경로/대상/파일_또는_폴더}}` + +- 무료 및 사용 중인 [i]노드 수에 대한 통계 포함: + +`df -i` + +- 공간 수치 작성 시 1024바이트 단위 사용: + +`df -k` + +- [P]ortable 방식으로 정보 표시: + +`df -P` diff --git a/pages.ko/openbsd/pkg.md b/pages.ko/openbsd/pkg.md new file mode 100644 index 00000000000000..4c473e47cfc5f8 --- /dev/null +++ b/pages.ko/openbsd/pkg.md @@ -0,0 +1,16 @@ +# pkg + +> OpenBSD 패키지 관리자 도구. +> 더 많은 정보: . + +- 패키지 설치/업데이트에 대한 설명서 보기: + +`tldr pkg_add` + +- 패키지 제거에 대한 설명서 보기: + +`tldr pkg_delete` + +- 패키지 정보를 확인하는 설명서 보기: + +`tldr pkg_info` diff --git a/pages.ko/openbsd/pkg_add.md b/pages.ko/openbsd/pkg_add.md new file mode 100644 index 00000000000000..acc3c6c6610ff4 --- /dev/null +++ b/pages.ko/openbsd/pkg_add.md @@ -0,0 +1,17 @@ +# pkg_add + +> OpenBSD에 패키지를 설치/업데이트합니다. +> 같이 보기: `pkg_info`, `pkg_delete`. +> 더 많은 정보: . + +- 종속성을 포함하여 모든 패키지를 업데이트: + +`pkg_add -u` + +- 새로운 패키지 설치: + +`pkg_add {{패키지}}` + +- `pkg_info`의 원시 출력에서 패키지 설치: + +`pkg_add -l {{경로/대상/파일}}` diff --git a/pages.ko/openbsd/pkg_delete.md b/pages.ko/openbsd/pkg_delete.md new file mode 100644 index 00000000000000..3f933b108f9694 --- /dev/null +++ b/pages.ko/openbsd/pkg_delete.md @@ -0,0 +1,17 @@ +# pkg_delete + +> OpenBSD에서 패키지를 제거합니다. +> 같이 보기: `pkg_add`, `pkg_info`. +> 더 많은 정보: . + +- 패키지 삭제: + +`pkg_delete {{패키지}}` + +- 사용되지 않는 의존성을 포함하여 패키지 삭제: + +`pkg_delete -a {{패키지}}` + +- 패키지의 Dry-run 삭제: + +`pkg_delete -n {{패키지}}` diff --git a/pages.ko/openbsd/pkg_info.md b/pages.ko/openbsd/pkg_info.md new file mode 100644 index 00000000000000..0e3867521bd0f4 --- /dev/null +++ b/pages.ko/openbsd/pkg_info.md @@ -0,0 +1,13 @@ +# pkg_info + +> OpenBSD의 패키지에 대한 정보를 확인합니다. +> 같이 보기: `pkg_add`, `pkg_delete`. +> 더 많은 정보: . + +- 패키지 이름을 사용해 패키지 검색: + +`pkg_info -Q {{패키지}}` + +- `pkg_add -l`과 함께 사용할 설치된 패키지 목록을 출력: + +`pkg_info -mz` diff --git a/pages.ko/openbsd/sed.md b/pages.ko/openbsd/sed.md new file mode 100644 index 00000000000000..8a481be000d582 --- /dev/null +++ b/pages.ko/openbsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> 스크립트로 텍스트를 편집합니다. +> 같이 보기: `awk`, `ed`. +> 더 많은 정보: . + +- 모든 입력 라인에서 `apple` (기본 정규표현식)을 `mango` (기본 정규표현식)로 대체하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed 's/apple/mango/g'` + +- 특정 스크립트 [f]파일을 실행하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed -f {{경로/대상/스크립트.sed}}` + +- 관련 `w` 함수 또는 플래그가 포함된 명령이 입력 줄에 적용될 때까지 각 파일 열기 지연: + +`{{명령}} | sed -fa {{경로/대상/스크립트.sed}}` + +- 모든 입력 라인에서 `apple` (확장 정규표현식)을 `APPLE` (확장 정규표현식)로 대체하고 결과를 `stdout`에 인쇄: + +`{{명령}} | sed -E 's/(apple)/\U\1/g'` + +- 첫 번째 줄만 `stdout`에 인쇄: + +`{{명령}} | sed -n '1p'` + +- 특정 파일에서 `apple` (기본 정규표현식)을 `mango` (기본 정규표현식)로 모두 대체하고 원본 파일 덮어쓰기: + +`sed -i 's/apple/mango/g' {{경로/대상/파일}}` diff --git a/pages.ko/osx/aa.md b/pages.ko/osx/aa.md new file mode 100644 index 00000000000000..59f13f32f0df81 --- /dev/null +++ b/pages.ko/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> 이 명령은 `yaa` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr yaa` diff --git a/pages.ko/osx/afinfo.md b/pages.ko/osx/afinfo.md new file mode 100644 index 00000000000000..48ee30445a7704 --- /dev/null +++ b/pages.ko/osx/afinfo.md @@ -0,0 +1,29 @@ +# afinfo + +> OS X의 오디오 파일 메타데이터 파서. +> OS X 내장 명령어. +> 더 많은 정보: . + +- 주어진 오디오 파일의 정보 표시: + +`afinfo {{경로/대상/파일}}` + +- 오디오 파일의 간략한 설명 출력: + +`afinfo --brief {{경로/대상/파일}}` + +- 오디오 파일의 InfoDictionary 메타데이터 정보 및 내용 출력: + +`afinfo --info {{경로/대상/파일}}` + +- XML 형식으로 출력: + +`afinfo --xml {{경로/대상/파일}}` + +- 오디오 파일의 경고 메시지 출력(있는 경우): + +`afinfo --warnings {{경로/대상/파일}}` + +- 도움말 표시: + +`afinfo --help` diff --git a/pages.ko/osx/afplay.md b/pages.ko/osx/afplay.md new file mode 100644 index 00000000000000..49b1112602d531 --- /dev/null +++ b/pages.ko/osx/afplay.md @@ -0,0 +1,20 @@ +# afplay + +> 명령줄 오디오 플레이어. +> 더 많은 정보: . + +- 사운드 파일 재생 (재생이 끝날 때까지 대기): + +`afplay {{경로/대상/파일}}` + +- 사운드 파일을 2배속으로 재생 (재생 속도): + +`afplay --rate {{2}} {{경로/대상/파일}}` + +- 사운드 파일을 반속도로 재생: + +`afplay --rate {{0.5}} {{경로/대상/파일}}` + +- 사운드 파일의 처음 N초만 재생: + +`afplay --time {{초}} {{경로/대상/파일}}` diff --git a/pages.ko/osx/aiac.md b/pages.ko/osx/aiac.md new file mode 100644 index 00000000000000..6472c1f2088a53 --- /dev/null +++ b/pages.ko/osx/aiac.md @@ -0,0 +1,24 @@ +# aiac + +> OpenAI를 사용하여 IaC 구성, 유틸리티, 쿼리 등을 생성합니다. +> 더 많은 정보: . + +- Azure 스토리지 계정을 위한 Terraform 생성: + +`aiac get terraform {{Azure 스토리지 계정을 위한}}` + +- nginx를 위한 Dockerfile 생성: + +`aiac get dockerfile {{보안을 강화한 nginx를 위한}}` + +- Terraform을 적용하는 GitHub 액션 생성: + +`aiac get github action {{terraform을 계획하고 적용하는}}` + +- Python으로 포트 스캐너 생성: + +`aiac get python {{네트워크의 모든 열린 포트를 스캔하는 코드}}` + +- MongoDB 쿼리 생성: + +`aiac get mongo {{생성 날짜로 모든 문서를 집계하는 쿼리}}` diff --git a/pages.ko/osx/airport.md b/pages.ko/osx/airport.md new file mode 100644 index 00000000000000..522e65e6e902ce --- /dev/null +++ b/pages.ko/osx/airport.md @@ -0,0 +1,20 @@ +# airport + +> 무선 네트워크 구성 도구. +> 더 많은 정보: . + +- 현재 무선 상태 정보 표시: + +`airport --getinfo` + +- 채널 1에서 무선 트래픽 스니핑: + +`airport sniff {{1}}` + +- 사용 가능한 무선 네트워크 검색: + +`airport --scan` + +- 현재 공항 네트워크에서 연결 해제: + +`sudo airport --disassociate` diff --git a/pages.ko/osx/airportd.md b/pages.ko/osx/airportd.md new file mode 100644 index 00000000000000..da7e49cd7b5b6f --- /dev/null +++ b/pages.ko/osx/airportd.md @@ -0,0 +1,9 @@ +# airportd + +> 무선 인터페이스 관리. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`airportd` diff --git a/pages.ko/osx/apachectl.md b/pages.ko/osx/apachectl.md new file mode 100644 index 00000000000000..8007b5888f13ab --- /dev/null +++ b/pages.ko/osx/apachectl.md @@ -0,0 +1,16 @@ +# apachectl + +> macOS용 Apache HTTP Server 제어 인터페이스. +> 더 많은 정보: . + +- `org.apache.httpd` launchd 작업 시작: + +`apachectl start` + +- launchd 작업 중지: + +`apachectl stop` + +- launchd 작업을 중지한 후 시작: + +`apachectl restart` diff --git a/pages.ko/osx/applecamerad.md b/pages.ko/osx/applecamerad.md new file mode 100644 index 00000000000000..4cfe024bb2d2e2 --- /dev/null +++ b/pages.ko/osx/applecamerad.md @@ -0,0 +1,9 @@ +# applecamerad + +> 카메라 관리자. +> 수동으로 호출하지 마십시오. +> 더 많은 정보: . + +- 데몬 시작: + +`applecamerad` diff --git a/pages.ko/osx/appsleepd.md b/pages.ko/osx/appsleepd.md new file mode 100644 index 00000000000000..b51bf63d88f21e --- /dev/null +++ b/pages.ko/osx/appsleepd.md @@ -0,0 +1,9 @@ +# appsleepd + +> 앱 절전 서비스를 시작합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`appsleepd` diff --git a/pages.ko/osx/arch.md b/pages.ko/osx/arch.md new file mode 100644 index 00000000000000..30ac3e8bbb639d --- /dev/null +++ b/pages.ko/osx/arch.md @@ -0,0 +1,17 @@ +# arch + +> 시스템 아키텍처 이름을 표시하거나 다른 아키텍처에서 명령을 실행합니다. +> 같이 보기: `uname`. +> 더 많은 정보: . + +- 시스템의 아키텍처 표시: + +`arch` + +- x86_64를 사용하여 명령 실행: + +`arch -x86_64 "{{명령}}"` + +- arm을 사용하여 명령 실행: + +`arch -arm64 "{{명령}}"` diff --git a/pages.ko/osx/archey.md b/pages.ko/osx/archey.md new file mode 100644 index 00000000000000..f4da1a301fc226 --- /dev/null +++ b/pages.ko/osx/archey.md @@ -0,0 +1,20 @@ +# archey + +> 시스템 정보를 스타일리시하게 표시합니다. +> 더 많은 정보: . + +- 시스템 정보 표시: + +`archey` + +- 색상 없이 시스템 정보 표시: + +`archey --nocolor` + +- Homebrew 대신 MacPorts를 사용하여 시스템 정보 표시: + +`archey --macports` + +- IP 주소 확인 없이 시스템 정보 표시: + +`archey --offline` diff --git a/pages.ko/osx/asr.md b/pages.ko/osx/asr.md new file mode 100644 index 00000000000000..a25ef949c0d25f --- /dev/null +++ b/pages.ko/osx/asr.md @@ -0,0 +1,21 @@ +# asr + +> 디스크 이미지를 볼륨에 복원(복사)합니다. +> 명령어 이름은 Apple Software Restore를 의미합니다. +> 더 많은 정보: . + +- 디스크 이미지를 대상 볼륨에 복원: + +`sudo asr restore --source {{이미지_파일.dmg}} --target {{경로/대상/볼륨_파일}}` + +- 복원하기 전에 대상 볼륨 지우기: + +`sudo asr restore --source {{이미지_파일.dmg}} --target {{경로/대상/볼륨_파일}} --erase` + +- 복원 후 검증 건너뛰기: + +`sudo asr restore --source {{이미지_파일.dmg}} --target {{경로/대상/볼륨_파일}} --noverify` + +- 중간 디스크 이미지를 사용하지 않고 볼륨 복제: + +`sudo asr restore --source {{경로/대상/볼륨_파일}} --target {{경로/대상/볼륨_파일}}` diff --git a/pages.ko/osx/autofsd.md b/pages.ko/osx/autofsd.md new file mode 100644 index 00000000000000..481e2916fa78f8 --- /dev/null +++ b/pages.ko/osx/autofsd.md @@ -0,0 +1,9 @@ +# autofsd + +> 시작 시 및 네트워크 구성 변경 이벤트에서 `automount` 실행. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`autofsd` diff --git a/pages.ko/osx/automount.md b/pages.ko/osx/automount.md new file mode 100644 index 00000000000000..d8623bd13a63e2 --- /dev/null +++ b/pages.ko/osx/automount.md @@ -0,0 +1,17 @@ +# automount + +> `/etc/auto_master` 파일을 읽고 적절한 마운트 지점에 `autofs`를 마운트하여 디렉터리를 필요에 따라 자동으로 마운트합니다. 본질적으로 시스템의 자동 마운트 프로세스를 수동으로 시작하는 방법입니다. +> 참고: 필요한 권한이 없는 경우 `sudo`로 실행해야 할 수 있습니다. +> 더 많은 정보: . + +- 자동 마운트를 실행하고, 캐시를 사전에 플러시(`-c`)하고 자세히 출력(`-v`) (가장 일반적인 사용법): + +`automount -cv` + +- 비활성 상태로 5분(300초) 후 자동으로 마운트 해제: + +`automount -t 300` + +- automount에 의해 이전에 마운트된 항목 및/또는 `/etc/auto_master`에 정의된 항목 마운트 해제: + +`automount -u` diff --git a/pages.ko/osx/automountd.md b/pages.ko/osx/automountd.md new file mode 100644 index 00000000000000..6f234e2f8652ee --- /dev/null +++ b/pages.ko/osx/automountd.md @@ -0,0 +1,13 @@ +# automountd + +> `autofs`를 위한 자동 마운트/언마운트 데몬. `launchd`에 의해 필요 시 시작됩니다. +> 수동으로 실행하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`automountd` + +- `syslog`에 자세한 로그 기록: + +`automountd -v` diff --git a/pages.ko/osx/auvaltool.md b/pages.ko/osx/auvaltool.md new file mode 100644 index 00000000000000..747319d01c0397 --- /dev/null +++ b/pages.ko/osx/auvaltool.md @@ -0,0 +1,12 @@ +# auvaltool + +> Mac용 AudioUnit 검증 도구. +> 더 많은 정보: . + +- 모든 유형의 사용 가능한 AudioUnit 나열: + +`auvaltool -a` + +- 모든 유형의 사용 가능한 AudioUnit과 그 위치 나열: + +`auvaltool -al` diff --git a/pages.ko/osx/avbdeviced.md b/pages.ko/osx/avbdeviced.md new file mode 100644 index 00000000000000..e99f63ae166dff --- /dev/null +++ b/pages.ko/osx/avbdeviced.md @@ -0,0 +1,9 @@ +# avbdeviced + +> 오디오 비디오 브리징(AVB) 장치를 관리하는 서비스. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`avbdeviced` diff --git a/pages.ko/osx/backupd.md b/pages.ko/osx/backupd.md new file mode 100644 index 00000000000000..8f1fbf68260dd6 --- /dev/null +++ b/pages.ko/osx/backupd.md @@ -0,0 +1,9 @@ +# backupd + +> Time Machine 백업을 생성하고 백업 기록을 관리합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`backupd` diff --git a/pages.ko/osx/base64.md b/pages.ko/osx/base64.md new file mode 100644 index 00000000000000..685d40fc212322 --- /dev/null +++ b/pages.ko/osx/base64.md @@ -0,0 +1,28 @@ +# base64 + +> 파일 또는 `stdin`을 base64로 인코딩하거나 디코딩하여 `stdout` 또는 다른 파일로 출력. +> 더 많은 정보: . + +- 파일을 `stdout`으로 인코딩: + +`base64 {{[-i|--input]}} {{경로/대상/파일}}` + +- 파일을 지정된 출력 파일로 인코딩: + +`base64 {{[-i|--input]}} {{경로/대상/입력_파일}} {{[-o|--output]}} {{경로/대상/출력_파일}}` + +- 인코딩된 출력을 특정 너비로 줄 바꿈 (`0`은 줄 바꿈 비활성화): + +`base64 {{[-b|--break]}} {{0|76|...}} {{경로/대상/파일}}` + +- 파일을 `stdout`으로 디코딩: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{경로/대상/파일}}` + +- `stdin`에서 `stdout`으로 인코딩: + +`{{command}} | base64` + +- `stdin`에서 `stdout`으로 디코딩: + +`{{command}} | base64 {{[-d|--decode]}}` diff --git a/pages.ko/osx/bc.md b/pages.ko/osx/bc.md new file mode 100644 index 00000000000000..60ab7adffaa612 --- /dev/null +++ b/pages.ko/osx/bc.md @@ -0,0 +1,29 @@ +# bc + +> 임의 정밀도 계산기 언어. +> 같이 보기: `dc`. +> 더 많은 정보: . + +- 대화형 세션 시작: + +`bc` + +- 표준 수학 라이브러리를 활성화하여 대화형 세션 시작: + +`bc --mathlib` + +- 수식 계산: + +`bc --expression '{{5 / 3}}'` + +- 스크립트 실행: + +`bc {{경로/대상/스크립트.bc}}` + +- 지정된 스케일로 수식 계산: + +`bc --expression '{{scale = 10; 5 / 3}}'` + +- `mathlib`을 사용하여 사인/코사인/아크탄젠트/자연 로그/지수 함수 계산: + +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages.ko/osx/biomesyncd.md b/pages.ko/osx/biomesyncd.md new file mode 100644 index 00000000000000..8adefc4964e187 --- /dev/null +++ b/pages.ko/osx/biomesyncd.md @@ -0,0 +1,9 @@ +# biomesyncd + +> 동일한 계정에 등록된 기기 간 데이터를 동기화합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`biomesyncd` diff --git a/pages.ko/osx/biometrickitd.md b/pages.ko/osx/biometrickitd.md new file mode 100644 index 00000000000000..13ea8b39e98cfd --- /dev/null +++ b/pages.ko/osx/biometrickitd.md @@ -0,0 +1,9 @@ +# biometrickitd + +> 생체 인식 작업 지원을 받습니다. +> 수동으로 호출하지 마세요. +> 더 많은 정보: . + +- 데몬 시작: + +`biometrickitd` diff --git a/pages.ko/osx/bird.md b/pages.ko/osx/bird.md new file mode 100644 index 00000000000000..4edb64cabafee4 --- /dev/null +++ b/pages.ko/osx/bird.md @@ -0,0 +1,9 @@ +# bird + +> iCloud 및 iCloud Drive의 동기화 지원. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`bird` diff --git a/pages.ko/osx/bless.md b/pages.ko/osx/bless.md new file mode 100644 index 00000000000000..01dd4553259001 --- /dev/null +++ b/pages.ko/osx/bless.md @@ -0,0 +1,20 @@ +# bless + +> 볼륨 부팅 기능 설정 및 시작 디스크 옵션 설정. +> 더 많은 정보: . + +- Mac OS X 또는 Darwin 시스템이 있는 볼륨에 부팅 설정을 하고, 필요에 따라 BootX 및 `boot.efi` 파일 생성: + +`bless --folder {{/Volumes/Mac OS X/System/Library/CoreServices}} --bootinfo --bootefi` + +- Mac OS 9 및 Mac OS X를 포함한 볼륨을 활성 볼륨으로 설정: + +`bless --mount {{/Volumes/Mac OS}} --setBoot` + +- 시스템을 NetBoot로 설정하고 사용 가능한 서버를 브로드캐스트: + +`bless --netboot --server {{bsdp://255.255.255.255}}` + +- 현재 선택된 볼륨에 대한 정보를 수집하여 Property Lists를 구문 분석할 수 있는 프로그램에 전달하기 적합하게 출력: + +`bless --info --plist` diff --git a/pages.ko/osx/bnepd.md b/pages.ko/osx/bnepd.md new file mode 100644 index 00000000000000..f7ab207cb1a301 --- /dev/null +++ b/pages.ko/osx/bnepd.md @@ -0,0 +1,9 @@ +# bnepd + +> 모든 블루투스 네트워크 연결을 처리하는 서비스. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`bnepd` diff --git a/pages.ko/osx/brightness.md b/pages.ko/osx/brightness.md new file mode 100644 index 00000000000000..63eefb929cf582 --- /dev/null +++ b/pages.ko/osx/brightness.md @@ -0,0 +1,16 @@ +# brightness + +> 모든 내부 및 특정 외부 디스플레이의 밝기 수준을 조회 및 설정. +> 더 많은 정보: . + +- 현재 밝기 표시: + +`brightness -l` + +- 특정 밝기 설정: + +`brightness {{0..1}}` + +- 밝기를 50%로 설정: + +`brightness {{0.5}}` diff --git a/pages.ko/osx/caffeinate.md b/pages.ko/osx/caffeinate.md new file mode 100644 index 00000000000000..cbd4a271e44a0e --- /dev/null +++ b/pages.ko/osx/caffeinate.md @@ -0,0 +1,24 @@ +# caffeinate + +> macOS의 절전 모드를 방지합니다. +> 더 많은 정보: . + +- 1시간(3600초) 동안 절전 모드 방지: + +`caffeinate -u -t {{3600}}` + +- 명령이 완료될 때까지 절전 모드 방지: + +`caffeinate -s "{{명령}}"` + +- 지정된 PID를 가진 프로세스가 완료될 때까지 절전 모드 방지: + +`caffeinate -w {{PID}}` + +- 절전 모드 방지 (``로 종료): + +`caffeinate -i` + +- 디스크 절전 모드 방지 (``로 종료): + +`caffeinate -m` diff --git a/pages.ko/osx/cal.md b/pages.ko/osx/cal.md new file mode 100644 index 00000000000000..197c967b29596d --- /dev/null +++ b/pages.ko/osx/cal.md @@ -0,0 +1,32 @@ +# cal + +> 달력 정보를 출력합니다. +> 더 많은 정보: . + +- 현재 달의 달력을 표시: + +`cal` + +- 이전 달, 현재 달, 다음 달 달력을 표시: + +`cal -3` + +- 특정 월(1-12 또는 이름)의 달력을 표시: + +`cal -m {{월}}` + +- 현재 연도의 달력을 표시: + +`cal -y` + +- 특정 연도(4자리)의 달력을 표시: + +`cal {{연도}}` + +- 특정 월과 연도의 달력을 표시: + +`cal {{월}} {{연도}}` + +- 주어진 연도의 부활절 날짜(서방 기독교)를 표시: + +`ncal -e {{연도}}` diff --git a/pages.ko/osx/carthage.md b/pages.ko/osx/carthage.md new file mode 100644 index 00000000000000..c5d002fcce7784 --- /dev/null +++ b/pages.ko/osx/carthage.md @@ -0,0 +1,24 @@ +# carthage + +> Cocoa 애플리케이션을 위한 의존성 관리 도구. +> 더 많은 정보: . + +- Cartfile에 언급된 모든 의존성을 최신 버전으로 다운로드하고 빌드: + +`carthage update` + +- 의존성을 업데이트하되, iOS용으로만 빌드: + +`carthage update --platform ios` + +- 의존성을 업데이트하되, 빌드하지 않음: + +`carthage update --no-build` + +- 현재 버전의 의존성을 다운로드하고 재빌드(업데이트하지 않음): + +`carthage bootstrap` + +- 특정 의존성을 재빌드: + +`carthage build {{의존성}}` diff --git a/pages.ko/osx/cat.md b/pages.ko/osx/cat.md new file mode 100644 index 00000000000000..25a93917a30263 --- /dev/null +++ b/pages.ko/osx/cat.md @@ -0,0 +1,32 @@ +# cat + +> 파일을 출력하고 연결합니다. +> 더 많은 정보: . + +- 파일의 내용을 `stdout`에 출력: + +`cat {{경로/대상/파일}}` + +- 여러 파일을 연결하여 출력 파일로 저장: + +`cat {{경로/대상/파일1 경로/대상/파일2 ...}} > {{경로/대상/출력_파일}}` + +- 여러 파일을 출력 파일에 추가: + +`cat {{경로/대상/파일1 경로/대상/파일2 ...}} >> {{경로/대상/출력_파일}}` + +- 파일의 내용을 버퍼링 없이 출력 파일로 복사: + +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` + +- `stdin`을 파일에 기록: + +`cat - > {{경로/대상/파일}}` + +- 모든 출력 줄에 번호 매기기: + +`cat -n {{경로/대상/파일}}` + +- 출력하지 않는 문자와 공백 문자 표시 (`M-` 접두사가 붙은 경우 비-ASCII): + +`cat -v -t -e {{경로/대상/파일}}` diff --git a/pages.ko/osx/cfprefsd.md b/pages.ko/osx/cfprefsd.md new file mode 100644 index 00000000000000..3c200a35fa65ee --- /dev/null +++ b/pages.ko/osx/cfprefsd.md @@ -0,0 +1,9 @@ +# cfprefsd + +> 환경설정 서비스(`CFPreferences`, `NSUserDefaults`) 시작. +> 수동으로 실행하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`cfprefsd` diff --git a/pages.ko/osx/chflags.md b/pages.ko/osx/chflags.md new file mode 100644 index 00000000000000..aafbf493761b53 --- /dev/null +++ b/pages.ko/osx/chflags.md @@ -0,0 +1,20 @@ +# chflags + +> 파일 또는 디렉토리 플래그 변경. +> 더 많은 정보: . + +- 파일에 `hidden` 플래그 설정: + +`chflags {{hidden}} {{경로/대상/파일}}` + +- 파일에서 `hidden` 플래그 해제: + +`chflags {{nohidden}} {{경로/대상/파일}}` + +- 디렉토리에 대해 `uchg` 플래그를 재귀적으로 설정: + +`chflags -R {{uchg}} {{경로/대상/폴더}}` + +- 디렉토리에 대해 `uchg` 플래그를 재귀적으로 해제: + +`chflags -R {{nouchg}} {{경로/대상/폴더}}` diff --git a/pages.ko/osx/chpass.md b/pages.ko/osx/chpass.md new file mode 100644 index 00000000000000..f48502841ea4b1 --- /dev/null +++ b/pages.ko/osx/chpass.md @@ -0,0 +1,26 @@ +# chpass + +> 사용자 데이터베이스 정보 추가 또는 변경, 로그인 쉘 및 비밀번호 포함. +> 참고: Open Directory 시스템에서는 사용자의 비밀번호를 변경할 수 없으며, 대신 `passwd`를 사용하세요. +> 같이 보기: `passwd`. +> 더 많은 정보: . + +- 현재 사용자에 대해 대화형으로 사용자 데이터베이스 정보 추가 또는 변경: + +`su -c chpass` + +- 현재 사용자에 대해 특정 로그인 [s]쉘 설정: + +`chpass -s {{경로/대상/쉘}}` + +- 특정 사용자에 대해 로그인 [s]쉘 설정: + +`chpass -s {{경로/대상/쉘}} {{사용자명}}` + +- 지정된 [l]위치에 있는 디렉터리 노드에서 사용자 기록 편집: + +`chpass -l {{위치}} -s {{경로/대상/쉘}} {{사용자명}}` + +- 사용자가 포함된 디렉터리 노드에 인증할 때 주어진 [u]사용자명 사용: + +`chpass -u {{인증명}} -s {{경로/대상/쉘}} {{사용자명}}` diff --git a/pages.ko/osx/cloudd.md b/pages.ko/osx/cloudd.md new file mode 100644 index 00000000000000..bb8b7edd875e6d --- /dev/null +++ b/pages.ko/osx/cloudd.md @@ -0,0 +1,9 @@ +# cloudd + +> CloudKit 기능을 지원합니다. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`cloudd` diff --git a/pages.ko/osx/cloudphotod.md b/pages.ko/osx/cloudphotod.md new file mode 100644 index 00000000000000..9ac8a9de787784 --- /dev/null +++ b/pages.ko/osx/cloudphotod.md @@ -0,0 +1,9 @@ +# cloudphotod + +> iCloud 사진을 동기화합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`cloudphotod` diff --git a/pages.ko/osx/codesign.md b/pages.ko/osx/codesign.md new file mode 100644 index 00000000000000..2d0eef1902f807 --- /dev/null +++ b/pages.ko/osx/codesign.md @@ -0,0 +1,12 @@ +# codesign + +> macOS용 코드 서명을 생성하고 조작합니다. +> 더 많은 정보: . + +- 애플리케이션을 인증서로 서명: + +`codesign --sign "{{내 회사 이름}}" {{경로/대상/애플리케이션_파일.app}}` + +- 애플리케이션의 인증서 검증: + +`codesign --verify {{경로/대상/애플리케이션_파일.app}}` diff --git a/pages.ko/osx/coreaudiod.md b/pages.ko/osx/coreaudiod.md new file mode 100644 index 00000000000000..c0934d2c2f5959 --- /dev/null +++ b/pages.ko/osx/coreaudiod.md @@ -0,0 +1,9 @@ +# coreaudiod + +> Core Audio, Apple's 오디오 시스템을 위한 서비스. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`coreaudiod` diff --git a/pages.ko/osx/coreautha.md b/pages.ko/osx/coreautha.md new file mode 100644 index 00000000000000..1d539c72ca3616 --- /dev/null +++ b/pages.ko/osx/coreautha.md @@ -0,0 +1,9 @@ +# coreautha + +> `LocalAuthentication` 프레임워크를 제공하는 시스템 에이전트. +> 수동으로 호출해서는 안 됩니다. 같이 보기: `coreauthd`. +> 더 많은 정보: . + +- 에이전트 시작: + +`coreautha` diff --git a/pages.ko/osx/coreauthd.md b/pages.ko/osx/coreauthd.md new file mode 100644 index 00000000000000..aaf0d1b9ea26d0 --- /dev/null +++ b/pages.ko/osx/coreauthd.md @@ -0,0 +1,9 @@ +# coreauthd + +> `LocalAuthentication` 프레임워크를 제공하는 시스템 데몬. +> 수동으로 호출해서는 안 됩니다. 같이 보기: `coreautha`. +> 더 많은 정보: . + +- 에이전트 시작: + +`coreauthd` diff --git a/pages.ko/osx/corebrightnessd.md b/pages.ko/osx/corebrightnessd.md new file mode 100644 index 00000000000000..91b1602c0475f7 --- /dev/null +++ b/pages.ko/osx/corebrightnessd.md @@ -0,0 +1,9 @@ +# corebrightnessd + +> Night Shift 관리. +> 수동으로 호출하지 마십시오. +> 더 많은 정보: . + +- 데몬 시작: + +`corebrightnessd` diff --git a/pages.ko/osx/coredatad.md b/pages.ko/osx/coredatad.md new file mode 100644 index 00000000000000..6f779318735d66 --- /dev/null +++ b/pages.ko/osx/coredatad.md @@ -0,0 +1,9 @@ +# coredatad + +> NSPersistentCloudKitContainer 클라이언트를 위한 CloudKit 작업을 예약합니다. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`coredatad` diff --git a/pages.ko/osx/cot.md b/pages.ko/osx/cot.md new file mode 100644 index 00000000000000..6fed46f1f9ea7c --- /dev/null +++ b/pages.ko/osx/cot.md @@ -0,0 +1,24 @@ +# cot + +> macOS용 텍스트 편집기. +> 더 많은 정보: . + +- CotEditor 시작: + +`cot` + +- 특정 [f]파일 열기: + +`cot {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 빈 문서 열기: + +`cot --new` + +- 특정 [f]파일을 열고 닫힐 때까지 터미널 차단: + +`cot --wait {{경로/대상/파일}}` + +- 특정 [f]파일을 열고 커서를 특정 행과 열에 위치시키기: + +`cot --line {{1}} --column {{80}} {{경로/대상/파일}}` diff --git a/pages.ko/osx/csrutil.md b/pages.ko/osx/csrutil.md new file mode 100644 index 00000000000000..fb8dedd2fe7c5e --- /dev/null +++ b/pages.ko/osx/csrutil.md @@ -0,0 +1,28 @@ +# csrutil + +> 시스템 무결성 보호 설정 관리. +> 더 많은 정보: . + +- 시스템 무결성 보호 상태 표시: + +`csrutil status` + +- 시스템 무결성 보호 비활성화: + +`csrutil disable` + +- 시스템 무결성 보호 활성화: + +`csrutil enable` + +- 허용된 NetBoot 소스 목록 표시: + +`csrutil netboot list` + +- 허용된 NetBoot 소스 목록에 IPv4 주소 추가: + +`csrutil netboot add {{ip}}` + +- 시스템 무결성 보호 상태 초기화 및 NetBoot 목록 초기화: + +`csrutil clear` diff --git a/pages.ko/osx/csshx.md b/pages.ko/osx/csshx.md new file mode 100644 index 00000000000000..939637e5bf1433 --- /dev/null +++ b/pages.ko/osx/csshx.md @@ -0,0 +1,16 @@ +# csshX + +> macOS용 클러스터 SSH 도구. +> 더 많은 정보: . + +- 여러 호스트에 연결: + +`csshX {{호스트명1}} {{호스트명2}}` + +- 지정된 SSH 키를 사용하여 여러 호스트에 연결: + +`csshX {{사용자@호스트명1}} {{사용자@호스트명2}} --ssh_args "-i {{경로/대상/키_파일.pem}}"` + +- `/etc/clusters`에 정의된 클러스터에 연결: + +`csshX cluster1` diff --git a/pages.ko/osx/ctkd.md b/pages.ko/osx/ctkd.md new file mode 100644 index 00000000000000..d41b1276e7d74c --- /dev/null +++ b/pages.ko/osx/ctkd.md @@ -0,0 +1,9 @@ +# ctkd + +> SmartCard 데몬. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`ctkd` diff --git a/pages.ko/osx/cut.md b/pages.ko/osx/cut.md new file mode 100644 index 00000000000000..2528a648e95218 --- /dev/null +++ b/pages.ko/osx/cut.md @@ -0,0 +1,16 @@ +# cut + +> `stdin` 또는 파일에서 필드를 잘라냅니다. +> 더 많은 정보: . + +- 각 줄의 특정 문자/필드 범위 출력: + +`{{명령어}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}` + +- 특정 구분자로 각 줄의 필드 범위 출력: + +`{{명령어}} | cut -d "{{,}}" -f {{1}}` + +- 특정 파일의 각 줄에서 문자 범위 출력: + +`cut -c {{1}} {{경로/대상/파일}}` diff --git a/pages.ko/osx/dark-mode.md b/pages.ko/osx/dark-mode.md new file mode 100644 index 00000000000000..dc230f22457ab4 --- /dev/null +++ b/pages.ko/osx/dark-mode.md @@ -0,0 +1,20 @@ +# dark-mode + +> macOS 다크 모드를 제어합니다. +> 더 많은 정보: . + +- 다크 모드 전환 (현재 꺼져 있으면 켜고, 켜져 있으면 끄기): + +`dark-mode` + +- 다크 모드 켜기: + +`dark-mode on` + +- 다크 모드 끄기: + +`dark-mode off` + +- 다크 모드가 켜져 있는지 확인: + +`dark-mode status` diff --git a/pages.ko/osx/date.md b/pages.ko/osx/date.md new file mode 100644 index 00000000000000..e5095be860eeca --- /dev/null +++ b/pages.ko/osx/date.md @@ -0,0 +1,20 @@ +# date + +> 시스템 날짜 설정 또는 표시. +> 더 많은 정보: . + +- 기본 로케일 형식을 사용하여 현재 날짜를 표시: + +`date +%c` + +- 현재 날짜를 UTC 및 ISO 8601 형식으로 표시: + +`date -u +%Y-%m-%dT%H:%M:%SZ` + +- 현재 날짜를 Unix 타임스탬프(Unix 간격 이후초)로 표시: + +`date +%s` + +- 기본 형식을 사용하여 특정 날짜(Unix 타임스탬프로 표시) 표시: + +`date -r {{1473305798}}` diff --git a/pages.ko/osx/dd.md b/pages.ko/osx/dd.md new file mode 100644 index 00000000000000..cdccfb36b44f91 --- /dev/null +++ b/pages.ko/osx/dd.md @@ -0,0 +1,28 @@ +# dd + +> 파일을 변환하고 복사합니다. +> 더 많은 정보: . + +- 부팅 가능한 USB 드라이브를 isohybrid 파일(예: `archlinux-xxx.iso`)로 만들고 진행률 표시: + +`dd if={{경로/대상/파일.iso}} of={{/dev/usb_드라이브}} status=progress` + +- 드라이브를 다른 드라이브로 4MB 블록 단위로 복제하고 오류를 무시하며 진행률 표시: + +`dd bs=4m conv=noerror if={{/dev/소스_드라이브}} of={{/dev/대상_드라이브}} status=progress` + +- 커널 랜덤 드라이버를 사용하여 특정 바이트 수의 랜덤 데이터를 가진 파일 생성: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{경로/대상/랜덤_파일}}` + +- 디스크의 쓰기 성능을 벤치마킹: + +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{경로/대상/1GB_파일}}` + +- 시스템 백업을 생성하여 IMG 파일로 저장하고 나중에 `if`와 `of`를 교환하여 복원 가능하며 진행률 표시: + +`dd if={{/dev/드라이브_디바이스}} of={{경로/대상/파일.img}} status=progress` + +- 진행 중인 `dd` 작업의 진행률 확인 (다른 셸에서 이 명령 실행): + +`kill -USR1 $(pgrep ^dd)` diff --git a/pages.ko/osx/defaults.md b/pages.ko/osx/defaults.md new file mode 100644 index 00000000000000..5de747aadd4119 --- /dev/null +++ b/pages.ko/osx/defaults.md @@ -0,0 +1,28 @@ +# defaults + +> macOS 사용자 애플리케이션 구성을 읽고 쓰기. +> 더 많은 정보: . + +- 애플리케이션 옵션에 대한 시스템 기본값 읽기: + +`defaults read "{{애플리케이션}}" "{{옵션}}"` + +- 애플리케이션 옵션에 대한 기본값 읽기: + +`defaults read -app "{{애플리케이션}}" "{{옵션}}"` + +- 도메인 이름, 키 및 값에서 키워드 검색: + +`defaults find "{{키워드}}"` + +- 애플리케이션 옵션의 기본값 쓰기: + +`defaults write "{{애플리케이션}}" "{{옵션}}" {{-타입}} {{값}}` + +- Mission Control 애니메이션 속도 향상: + +`defaults write com.apple.Dock expose-animation-duration -float 0.1` + +- 애플리케이션의 모든 기본값 삭제: + +`defaults delete "{{애플리케이션}}"` diff --git a/pages.ko/osx/deleted.md b/pages.ko/osx/deleted.md new file mode 100644 index 00000000000000..a4995ccbfb5312 --- /dev/null +++ b/pages.ko/osx/deleted.md @@ -0,0 +1,9 @@ +# deleted + +> 삭제 가능한 공간을 추적하고, 공간이 부족할 때 클라이언트에게 삭제를 요청합니다. +> 수동으로 실행하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`deleted` diff --git a/pages.ko/osx/df.md b/pages.ko/osx/df.md new file mode 100644 index 00000000000000..a840a355d7caf7 --- /dev/null +++ b/pages.ko/osx/df.md @@ -0,0 +1,32 @@ +# df + +> 파일 시스템 디스크 공간 사용에 대한 개요 표시. +> 더 많은 정보: . + +- 모든 파일 시스템과 디스크 사용량을 512바이트 단위로 표시: + +`df` + +- [h]사람이 읽기 쉬운 단위(1024의 배수 기반)와 총합 표시: + +`df -h -c` + +- [H]사람이 읽기 쉬운 단위(1000의 배수 기반) 사용: + +`df -{{-si|H}}` + +- 주어진 파일 또는 디렉토리를 포함하는 파일 시스템과 디스크 사용량 표시: + +`df {{경로/대상/파일_또는_폴더}}` + +- 파일 시스템 [t]유형을 포함하여 사용 가능한 및 사용된 [i]노드 수 통계 포함: + +`df -iY` + +- 공간 수치를 1024바이트 단위로 작성: + +`df -k` + +- 정보를 [P]휴대용 방식으로 표시: + +`df -P` diff --git a/pages.ko/osx/dhcp6d.md b/pages.ko/osx/dhcp6d.md new file mode 100644 index 00000000000000..253d8ff9fdc9f6 --- /dev/null +++ b/pages.ko/osx/dhcp6d.md @@ -0,0 +1,13 @@ +# dhcp6d + +> 비상태 DHCPv6 서버. 같이 보기: `InternetSharing`. +> 수동으로 실행하지 마십시오. +> 더 많은 정보: . + +- 데몬 시작: + +`dhcp6d` + +- 사용자 지정 구성 사용: + +`dhcp6d {{경로/대상/구성_파일}}` diff --git a/pages.ko/osx/diskutil-partitiondisk.md b/pages.ko/osx/diskutil-partitiondisk.md new file mode 100644 index 00000000000000..cc7ced8998ecc0 --- /dev/null +++ b/pages.ko/osx/diskutil-partitiondisk.md @@ -0,0 +1,26 @@ +# diskutil partitionDisk + +> 디스크 및 볼륨 내 파티션을 관리하는 도구. +> `diskutil`의 일부. +> APM은 macOS에서만 지원되고, MBR은 DOS에 최적화되어 있으며, GPT는 대부분의 최신 시스템과 호환됩니다. +> 더 많은 정보: . + +- APM/MBR/GPT 파티션 방식을 사용하여 볼륨을 다시 포맷하고 안의 모든 파티션을 삭제 (볼륨의 모든 데이터가 지워집니다): + +`diskutil partitionDisk {{/dev/디스크_장치}} 0 {{APM|MBR|GPT}}` + +- 볼륨을 다시 포맷한 후, 모든 여유 공간을 사용하는 특정 파일 시스템으로 단일 파티션 생성: + +`diskutil partitionDisk {{/dev/디스크_장치}} 1 {{APM|MBR|GPT}} {{파티션_파일시스템}} {{파티션_이름}}` + +- 볼륨을 다시 포맷한 후, 특정 크기 이하로 단일 파티션 생성 (예: `16G`는 16GB, `50%`는 전체 볼륨 크기의 절반): + +`diskutil partitionDisk {{/dev/디스크_장치}} 1 {{APM|MBR|GPT}} {{파티션_파일시스템}} {{파티션_이름}} {{파티션_크기}}` + +- 볼륨을 다시 포맷한 후, 여러 파티션 생성: + +`diskutil partitionDisk {{/dev/디스크_장치}} {{파티션_수}} {{APM|MBR|GPT}} {{파티션_파일시스템1}} {{파티션_이름1}} {{파티션_크기1}} {{파티션_파일시스템2}} {{파티션_이름2}} {{파티션_크기2}} ...` + +- 파티션을 위한 모든 지원 파일 시스템 나열: + +`diskutil listFilesystems` diff --git a/pages.ko/osx/diskutil.md b/pages.ko/osx/diskutil.md new file mode 100644 index 00000000000000..aee26dc66a8192 --- /dev/null +++ b/pages.ko/osx/diskutil.md @@ -0,0 +1,21 @@ +# diskutil + +> 로컬 디스크 및 볼륨을 관리하는 유틸리티. +> `partitiondisk`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 현재 사용 가능한 모든 디스크, 파티션 및 마운트된 볼륨 나열: + +`diskutil list` + +- 볼륨의 파일 시스템 데이터 구조 복구: + +`diskutil repairVolume {{/dev/디스크_장치}}` + +- 볼륨 마운트 해제: + +`diskutil unmountDisk {{/dev/디스크_장치}}` + +- CD/DVD 꺼내기 (먼저 마운트 해제 필요): + +`diskutil eject {{/dev/디스크_장치1}}` diff --git a/pages.ko/osx/distnoted.md b/pages.ko/osx/distnoted.md new file mode 100644 index 00000000000000..65b5431d6f2dd3 --- /dev/null +++ b/pages.ko/osx/distnoted.md @@ -0,0 +1,9 @@ +# distnoted + +> 분산 알림 서비스를 시작합니다. +> 수동으로 실행해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`distnoted` diff --git a/pages.ko/osx/ditto.md b/pages.ko/osx/ditto.md new file mode 100644 index 00000000000000..88f0b2a0497d29 --- /dev/null +++ b/pages.ko/osx/ditto.md @@ -0,0 +1,16 @@ +# ditto + +> 파일 및 디렉토리를 복사합니다. +> 더 많은 정보: . + +- 원본 디렉토리의 내용을 대상 디렉토리의 내용으로 덮어쓰기: + +`ditto {{경로/대상/소스_폴더}} {{경로/대상/대상_폴더}}` + +- 복사 중인 모든 파일에 대해 터미널 창에 한 줄씩 출력: + +`ditto -V {{경로/대상/소스_폴더}} {{경로/대상/대상_폴더}}` + +- 원본 파일 권한을 유지하면서 지정된 파일 또는 디렉토리 복사: + +`ditto -rsrc {{경로/대상/소스_폴더}} {{경로/대상/대상_폴더}}` diff --git a/pages.ko/osx/dmesg.md b/pages.ko/osx/dmesg.md new file mode 100644 index 00000000000000..5e84e614e17855 --- /dev/null +++ b/pages.ko/osx/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> 커널 메시지를 `stdout`에 출력합니다. +> 더 많은 정보: . + +- 커널 메시지 표시: + +`dmesg` + +- 이 시스템에서 사용 가능한 물리적 메모리 양 표시: + +`dmesg | grep -i memory` + +- 한 번에 한 페이지씩 커널 메시지 표시: + +`dmesg | less` diff --git a/pages.ko/osx/dockutil.md b/pages.ko/osx/dockutil.md new file mode 100644 index 00000000000000..755f7ef31b4155 --- /dev/null +++ b/pages.ko/osx/dockutil.md @@ -0,0 +1,32 @@ +# dockutil + +> macOS Dock 항목 관리 도구. +> 더 많은 정보: . + +- 현재 사용자 Dock 끝에 애플리케이션 추가: + +`dockutil --add {{경로/대상/애플리케이션}}` + +- 현재 사용자 Dock에서 한 애플리케이션을 다른 애플리케이션으로 교체: + +`dockutil --add {{/경로/대상/애플리케이션}} --replacing '{{dock_item_label}}'` + +- 보기 옵션과 함께 폴더를 추가하고 폴더 아이콘 또는 스택으로 표시: + +`dockutil --add {{/경로/대상/폴더}} --view {{grid|fan|list|auto}} --display {{folder|stack}}` + +- 다른 항목 뒤에 URL Dock 항목 추가: + +`dockutil --add {{vnc://example_server.local}} --label '{{Example VNC}}' --after {{dock_item_label}}` + +- Dock에서 주어진 Dock 라벨 이름의 애플리케이션 제거: + +`dockutil --remove '{{dock_item_label}}'` + +- 애플리케이션 뒤에 구분자를 추가: + +`dockutil --add '' --type {{spacer|small-spacer|flex-spacer}} --section {{apps}} --after {{dock_item_label}}` + +- 모든 구분자 타일 제거: + +`dockutil --remove spacer-tiles` diff --git a/pages.ko/osx/dot_clean.md b/pages.ko/osx/dot_clean.md new file mode 100644 index 00000000000000..c65b31630f510e --- /dev/null +++ b/pages.ko/osx/dot_clean.md @@ -0,0 +1,28 @@ +# dot_clean + +> ._* 파일을 해당 기본 파일과 병합합니다. +> 더 많은 정보: . + +- 모든 `._*` 파일을 재귀적으로 병합: + +`dot_clean {{경로/대상/폴더}}` + +- 디렉터리 내 모든 `._*` 파일을 재귀적으로 병합하지 않음 (단일 병합): + +`dot_clean -f {{경로/대상/폴더}}` + +- 모든 `._*` 파일을 병합하고 삭제: + +`dot_clean -m {{경로/대상/폴더}}` + +- 일치하는 기본 파일이 있을 경우에만 `._*` 파일 삭제: + +`dot_clean -n {{경로/대상/폴더}}` + +- 심볼릭 링크를 따라감: + +`dot_clean -s {{경로/대상/폴더}}` + +- 자세한 출력 표시: + +`dot_clean -v {{경로/대상/폴더}}` diff --git a/pages.ko/osx/drutil.md b/pages.ko/osx/drutil.md new file mode 100644 index 00000000000000..8fb7237d07fd7c --- /dev/null +++ b/pages.ko/osx/drutil.md @@ -0,0 +1,12 @@ +# drutil + +> DVD 버너와 상호 작용. +> 더 많은 정보: . + +- 드라이브에서 디스크 배출: + +`drutil eject` + +- 디렉토리를 ISO9660 파일 시스템으로 DVD에 굽기. 검증하지 않고 완료 시 배출: + +`drutil burn -noverify -eject -iso9660` diff --git a/pages.ko/osx/dtrace.md b/pages.ko/osx/dtrace.md new file mode 100644 index 00000000000000..70f00797b42ff4 --- /dev/null +++ b/pages.ko/osx/dtrace.md @@ -0,0 +1,37 @@ +# dtrace + +> D 언어 컴파일러를 호출하고, 버퍼된 추적을 검색하며, DTrace 커널 기능에서 추적된 데이터를 출력하는 간단한 인터페이스. +> DTrace 기능을 위한 일반적인 프론트엔드로, 루트 권한이 필요합니다. +> 더 많은 정보: . + +- 특정 아키텍처에 대한 대상 데이터 모델 설정: + +`dtrace -arch {{아키텍처_이름}}` + +- [a]익명 추적 상태를 확보하고 추적된 데이터 표시: + +`dtrace -a` + +- 주요 추적 버퍼 크기 설정. 지원되는 단위는 `k`, `m`, `g`, 또는 `t`입니다: + +`dtrace -b {{2g}}` + +- 지정된 D 프로그램 [s]소스 파일 컴파일: + +`dtrace -s {{D_스크립트}}` + +- 지정된 [c]명령어를 실행하고 완료 시 종료: + +`dtrace -c {{명령어}}` + +- 추적 또는 목록(-l 옵션)할 [f]함수 이름 지정. 해당 인자는 `provider:module:function`, `module:function` 또는 `function`과 같은 프로브 설명 형식을 포함할 수 있습니다: + +`dtrace -f {{함수}}` + +- 지정된 [p]프로세스 ID를 가져와 심볼 테이블을 캐시하고 완료 시 종료: + +`dtrace -p {{프로세스_ID}}` + +- 프로세스에서 함수 추적을 위한 다양한 옵션 결합: + +`dtrace -a -b {{버퍼_크기}} -f {{함수}} -p {{프로세스_ID}}` diff --git a/pages.ko/osx/du.md b/pages.ko/osx/du.md new file mode 100644 index 00000000000000..c6d07a39894e19 --- /dev/null +++ b/pages.ko/osx/du.md @@ -0,0 +1,28 @@ +# du + +> 디스크 사용량: 파일 및 폴더의 공간 사용량을 추정하고 요약합니다. +> 더 많은 정보: . + +- 지정된 단위(KiB/MiB/GiB)로 폴더와 모든 하위 폴더의 크기 나열: + +`du -{{k|m|g}} {{경로/대상/폴더}}` + +- 사람이 읽기 쉬운 형식으로 폴더와 모든 하위 폴더의 크기 나열 (각 크기에 적합한 단위를 자동 선택): + +`du -h {{경로/대상/폴더}}` + +- 사람이 읽기 쉬운 단위로 단일 폴더의 크기 표시: + +`du -sh {{경로/대상/폴더}}` + +- 폴더 및 그 내의 모든 파일과 폴더의 사람이 읽기 쉬운 크기 나열: + +`du -ah {{경로/대상/폴더}}` + +- 사람이 읽기 쉬운 형식으로 폴더와 모든 하위 폴더의 크기를 N 레벨까지 나열: + +`du -h -d {{2}} {{경로/대상/폴더}}` + +- 현재 폴더의 하위 폴더에 있는 모든 `.jpg` 파일의 사람이 읽기 쉬운 크기를 나열하고, 마지막에 누적 합계 표시: + +`du -ch {{*/*.jpg}}` diff --git a/pages.ko/osx/duti.md b/pages.ko/osx/duti.md new file mode 100644 index 00000000000000..9db4aab745d066 --- /dev/null +++ b/pages.ko/osx/duti.md @@ -0,0 +1,28 @@ +# duti + +> macOS에서 문서 유형 및 URL 스킴에 대한 기본 애플리케이션 설정. +> 더 많은 정보: . + +- HTML 문서의 기본 처리기로 Safari 설정: + +`duti -s {{com.apple.Safari}} {{public.html}} all` + +- `.m4v` 확장자를 가진 파일의 기본 뷰어로 VLC 설정: + +`duti -s {{org.videolan.vlc}} {{m4v}} viewer` + +- ftp:// URL 스킴의 기본 처리기로 Finder 설정: + +`duti -s {{com.apple.Finder}} "{{ftp}}"` + +- 주어진 확장자의 기본 애플리케이션 정보 표시: + +`duti -x {{확장자}}` + +- 주어진 UTI의 기본 처리기 표시: + +`duti -d {{uti}}` + +- 주어진 UTI의 모든 처리기 표시: + +`duti -l {{uti}}` diff --git a/pages.ko/osx/emond.md b/pages.ko/osx/emond.md new file mode 100644 index 00000000000000..04357c7c289a12 --- /dev/null +++ b/pages.ko/osx/emond.md @@ -0,0 +1,17 @@ +# emond + +> 다양한 서비스로부터 이벤트를 수신하고, 간단한 규칙 엔진을 통해 처리하여 동작을 수행하는 이벤트 모니터 서비스. +> 동작은 명령 실행, 이메일 전송 또는 SMS 메시지 발송을 포함할 수 있습니다. +> 더 많은 정보: . + +- 데몬 시작: + +`emond` + +- emond가 처리할 규칙을 파일 또는 디렉토리 경로로 지정: + +`emond -r {{경로/대상/파일_또는_폴더}}` + +- 특정 설정 파일 사용: + +`emond -c {{경로/대상/설정_파일}}` diff --git a/pages.ko/osx/fdesetup.md b/pages.ko/osx/fdesetup.md new file mode 100644 index 00000000000000..ae5384f7b57eca --- /dev/null +++ b/pages.ko/osx/fdesetup.md @@ -0,0 +1,24 @@ +# fdesetup + +> FileVault 관련 정보를 설정하고 검색합니다. +> 더 많은 정보: . + +- 현재 FileVault 활성화된 사용자 목록 표시: + +`sudo fdesetup list` + +- 현재 FileVault 상태 가져오기: + +`fdesetup status` + +- FileVault 활성화 사용자 추가: + +`sudo fdesetup add -usertoadd {{사용자1}}` + +- FileVault 활성화: + +`sudo fdesetup enable` + +- FileVault 비활성화: + +`sudo fdesetup disable` diff --git a/pages.ko/osx/filecoordinationd.md b/pages.ko/osx/filecoordinationd.md new file mode 100644 index 00000000000000..7530e58bf72ac0 --- /dev/null +++ b/pages.ko/osx/filecoordinationd.md @@ -0,0 +1,9 @@ +# filecoordinationd + +> 여러 프로세스가 파일에 접근하는 것을 조정합니다 (`NSFileCoordinator`, `NSFilePresenter`). +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`filecoordinationd` diff --git a/pages.ko/osx/fileicon.md b/pages.ko/osx/fileicon.md new file mode 100644 index 00000000000000..e72ce8da0e2bbb --- /dev/null +++ b/pages.ko/osx/fileicon.md @@ -0,0 +1,20 @@ +# fileicon + +> 사용자 지정 파일 및 폴더 아이콘 관리. +> 더 많은 정보: . + +- 특정 파일이나 폴더에 사용자 지정 아이콘 설정: + +`fileicon set {{경로/대상/파일_또는_폴더}} {{경로/대상/아이콘_파일.png}}` + +- 특정 파일이나 폴더에서 사용자 지정 아이콘 제거: + +`fileicon rm {{경로/대상/파일_또는_폴더}}` + +- 파일이나 폴더의 사용자 지정 아이콘을 현재 디렉토리에 `.icns` 파일로 저장: + +`fileicon get {{경로/대상/파일_또는_폴더}}` + +- 특정 파일이나 폴더에 사용자 지정 아이콘이 있는지 테스트: + +`fileicon test {{경로/대상/파일_또는_폴더}}` diff --git a/pages.ko/osx/fontd.md b/pages.ko/osx/fontd.md new file mode 100644 index 00000000000000..43853840fe898a --- /dev/null +++ b/pages.ko/osx/fontd.md @@ -0,0 +1,9 @@ +# fontd + +> 시스템에 폰트를 사용할 수 있게 만듭니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`fontd` diff --git a/pages.ko/osx/fsck.md b/pages.ko/osx/fsck.md new file mode 100644 index 00000000000000..6e545a765f618e --- /dev/null +++ b/pages.ko/osx/fsck.md @@ -0,0 +1,21 @@ +# fsck + +> 파일 시스템의 무결성을 점검하거나 복구합니다. 명령어를 실행할 때 파일 시스템은 마운트 해제되어 있어야 합니다. +> 필요에 따라 `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat`, `fsck_udf`를 호출하는 래퍼입니다. +> 더 많은 정보: . + +- 파일 시스템 `/dev/sdX`의 무결성을 점검하고 손상된 블록을 보고: + +`fsck {{/dev/sdX}}` + +- 파일 시스템 `/dev/sdX`가 깨끗할 경우에만 점검하고, 손상된 블록을 보고하며 사용자가 각 블록을 복구할지 선택하도록 상호작용: + +`fsck -f {{/dev/sdX}}` + +- 파일 시스템 `/dev/sdX`가 깨끗할 경우에만 점검하고, 손상된 블록을 보고하며 자동으로 복구: + +`fsck -fy {{/dev/sdX}}` + +- 파일 시스템 `/dev/sdX`의 무결성을 점검하고, 깔끔하게 마운트 해제되었는지 보고: + +`fsck -q {{/dev/sdX}}` diff --git a/pages.ko/osx/ftxdiff.md b/pages.ko/osx/ftxdiff.md new file mode 100644 index 00000000000000..4e6b5458cbab6d --- /dev/null +++ b/pages.ko/osx/ftxdiff.md @@ -0,0 +1,16 @@ +# ftxdiff + +> 두 폰트 간의 차이점을 비교합니다. +> 더 많은 정보: . + +- 특정 텍스트 [f]파일에 차이점 출력: + +`ftxdiff --output {{경로/대상/폰트_차이_파일.txt}} {{경로/대상/폰트_파일1.ttc}} {{경로/대상/폰트_파일2.ttc}}` + +- 출력에 글리프 이름 포함: + +`ftxdiff --include-glyph-names` + +- 출력에 유니코드 이름 포함: + +`ftxdiff --include-unicode-names` diff --git a/pages.ko/osx/g[.md b/pages.ko/osx/g[.md new file mode 100644 index 00000000000000..971eccd0ac9d96 --- /dev/null +++ b/pages.ko/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> 이 명령은 `[` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr [` diff --git a/pages.ko/osx/gb2sum.md b/pages.ko/osx/gb2sum.md new file mode 100644 index 00000000000000..d38b096f218499 --- /dev/null +++ b/pages.ko/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> 이 명령은 `b2sum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr b2sum` diff --git a/pages.ko/osx/gbase32.md b/pages.ko/osx/gbase32.md new file mode 100644 index 00000000000000..3f716270126ace --- /dev/null +++ b/pages.ko/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> 이 명령은 `base32` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr base32` diff --git a/pages.ko/osx/gbase64.md b/pages.ko/osx/gbase64.md new file mode 100644 index 00000000000000..f2394a08e38cc3 --- /dev/null +++ b/pages.ko/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> 이 명령은 `base64` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.ko/osx/gbasename.md b/pages.ko/osx/gbasename.md new file mode 100644 index 00000000000000..0e98b1e362d266 --- /dev/null +++ b/pages.ko/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> 이 명령은 `basename` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr basename` diff --git a/pages.ko/osx/gbasenc.md b/pages.ko/osx/gbasenc.md new file mode 100644 index 00000000000000..80bdd77bc63290 --- /dev/null +++ b/pages.ko/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> 이 명령은 `basenc` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr basenc` diff --git a/pages.ko/osx/gcat.md b/pages.ko/osx/gcat.md new file mode 100644 index 00000000000000..4685f594580df7 --- /dev/null +++ b/pages.ko/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> 이 명령은 `-p linux cat` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.ko/osx/gchcon.md b/pages.ko/osx/gchcon.md new file mode 100644 index 00000000000000..22713cc415fc5b --- /dev/null +++ b/pages.ko/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> 이 명령은 `-p linux chcon` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.ko/osx/gchgrp.md b/pages.ko/osx/gchgrp.md new file mode 100644 index 00000000000000..b2453416de85ec --- /dev/null +++ b/pages.ko/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> 이 명령은 `chgrp` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chgrp` diff --git a/pages.ko/osx/gchmod.md b/pages.ko/osx/gchmod.md new file mode 100644 index 00000000000000..589c4f7ac9de6e --- /dev/null +++ b/pages.ko/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> 이 명령은 `chmod` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chmod` diff --git a/pages.ko/osx/gchown.md b/pages.ko/osx/gchown.md new file mode 100644 index 00000000000000..07c669702cda89 --- /dev/null +++ b/pages.ko/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> 이 명령은 `chown` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chown` diff --git a/pages.ko/osx/gchroot.md b/pages.ko/osx/gchroot.md new file mode 100644 index 00000000000000..eb9e55741b7952 --- /dev/null +++ b/pages.ko/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> 이 명령은 `chroot` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chroot` diff --git a/pages.ko/osx/gcksum.md b/pages.ko/osx/gcksum.md new file mode 100644 index 00000000000000..ee15190b014309 --- /dev/null +++ b/pages.ko/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> 이 명령은 `cksum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr cksum` diff --git a/pages.ko/osx/gcomm.md b/pages.ko/osx/gcomm.md new file mode 100644 index 00000000000000..30842e3189e5df --- /dev/null +++ b/pages.ko/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> 이 명령은 `comm` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr comm` diff --git a/pages.ko/osx/gcp.md b/pages.ko/osx/gcp.md new file mode 100644 index 00000000000000..da9d3cacc04f9e --- /dev/null +++ b/pages.ko/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> 이 명령은 `cp` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr cp` diff --git a/pages.ko/osx/gcrane-completion.md b/pages.ko/osx/gcrane-completion.md new file mode 100644 index 00000000000000..0d47e33e883db0 --- /dev/null +++ b/pages.ko/osx/gcrane-completion.md @@ -0,0 +1,37 @@ +# gcrane completion + +> 지정된 셸에 대한 gcrane 자동 완성 스크립트를 생성합니다. +> 사용할 수 있는 셸은 `bash`, `fish`, `powershell`, `zsh`입니다. +> 더 많은 정보: . + +- 셸에 대한 자동 완성 스크립트 생성: + +`gcrane completion {{셸_이름}}` + +- 자동 완성 설명 비활성화: + +`gcrane completion {{셸_이름}} --no-descriptions` + +- 현재 셸 세션에서 자동 완성 로드 (bash/zsh): + +`source <(gcrane completion bash/zsh)` + +- 현재 셸 세션에서 자동 완성 로드 (fish): + +`gcrane completion fish | source` + +- 매 새로운 세션에서 자동 완성 로드 (bash): + +`gcrane completion bash > $(brew --prefix)/etc/bash_completion.d/gcrane` + +- 매 새로운 세션에서 자동 완성 로드 (zsh): + +`gcrane completion zsh > $(brew --prefix)/share/zsh/site-functions/_gcrane` + +- 매 새로운 세션에서 자동 완성 로드 (fish): + +`gcrane completion fish > ~/.config/fish/completions/gcrane.fish` + +- 도움말 표시: + +`gcrane completion {{셸_이름}} {{[-h|--help]}}` diff --git a/pages.ko/osx/gcsplit.md b/pages.ko/osx/gcsplit.md new file mode 100644 index 00000000000000..177ba5dae4e37e --- /dev/null +++ b/pages.ko/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> 이 명령은 `-p linux csplit` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.ko/osx/gcut.md b/pages.ko/osx/gcut.md new file mode 100644 index 00000000000000..e3d8beab6646ee --- /dev/null +++ b/pages.ko/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> 이 명령은 `cut` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.ko/osx/gdate.md b/pages.ko/osx/gdate.md new file mode 100644 index 00000000000000..7a295ca826c72a --- /dev/null +++ b/pages.ko/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> 이 명령은 `date` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.ko/osx/gdd.md b/pages.ko/osx/gdd.md new file mode 100644 index 00000000000000..e9bd9076fdb4dc --- /dev/null +++ b/pages.ko/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> 이 명령은 `-p linux dd` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.ko/osx/gdf.md b/pages.ko/osx/gdf.md new file mode 100644 index 00000000000000..6a0c16fc9ba496 --- /dev/null +++ b/pages.ko/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> 이 명령은 `-p linux df` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.ko/osx/gdir.md b/pages.ko/osx/gdir.md new file mode 100644 index 00000000000000..150fe6496050b9 --- /dev/null +++ b/pages.ko/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> 이 명령은 `-p linux dir` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.ko/osx/gdircolors.md b/pages.ko/osx/gdircolors.md new file mode 100644 index 00000000000000..dd4c23c95d1971 --- /dev/null +++ b/pages.ko/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> 이 명령은 `dircolors` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr dircolors` diff --git a/pages.ko/osx/gdirname.md b/pages.ko/osx/gdirname.md new file mode 100644 index 00000000000000..26522a6228413d --- /dev/null +++ b/pages.ko/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> 이 명령은 `dirname` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr dirname` diff --git a/pages.ko/osx/gdnsdomainname.md b/pages.ko/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..228b465e91e7ec --- /dev/null +++ b/pages.ko/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> 이 명령은 `-p linux dnsdomainname` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.ko/osx/gecho.md b/pages.ko/osx/gecho.md new file mode 100644 index 00000000000000..4ad7ff6c9ec259 --- /dev/null +++ b/pages.ko/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> 이 명령은 `echo` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr echo` diff --git a/pages.ko/osx/ged.md b/pages.ko/osx/ged.md new file mode 100644 index 00000000000000..dba60713f3cc12 --- /dev/null +++ b/pages.ko/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> 이 명령은 `ed` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ed` diff --git a/pages.ko/osx/gegrep.md b/pages.ko/osx/gegrep.md new file mode 100644 index 00000000000000..312eccd9c45979 --- /dev/null +++ b/pages.ko/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> 이 명령은 `egrep` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr egrep` diff --git a/pages.ko/osx/genv.md b/pages.ko/osx/genv.md new file mode 100644 index 00000000000000..a044ffc41ee359 --- /dev/null +++ b/pages.ko/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> 이 명령은 `env` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr env` diff --git a/pages.ko/osx/getfileinfo.md b/pages.ko/osx/getfileinfo.md new file mode 100644 index 00000000000000..593d79263d0feb --- /dev/null +++ b/pages.ko/osx/getfileinfo.md @@ -0,0 +1,20 @@ +# GetFileInfo + +> HFS+ 디렉토리에서 파일에 대한 정보 확인. +> 더 많은 정보: . + +- 주어진 파일에 대한 정보 표시: + +`GetFileInfo {{경로/대상/파일}}` + +- 주어진 파일이 생성된 [d]ate 및 시간 표시: + +`GetFileInfo -d {{경로/대상/파일}}` + +- 주어진 파일이 마지막으로 [m]odified된 날짜 및 시간 표시: + +`GetFileInfo -m {{경로/대상/파일}}` + +- 주어진 파일의 [c]reator 표시: + +`GetFileInfo -c {{경로/대상/파일}}` diff --git a/pages.ko/osx/gexpand.md b/pages.ko/osx/gexpand.md new file mode 100644 index 00000000000000..ab81edadfc5dd1 --- /dev/null +++ b/pages.ko/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> 이 명령은 `expand` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr expand` diff --git a/pages.ko/osx/gexpr.md b/pages.ko/osx/gexpr.md new file mode 100644 index 00000000000000..1363fc0093e957 --- /dev/null +++ b/pages.ko/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> 이 명령은 `expr` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr expr` diff --git a/pages.ko/osx/gfactor.md b/pages.ko/osx/gfactor.md new file mode 100644 index 00000000000000..623dc6af400af6 --- /dev/null +++ b/pages.ko/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> 이 명령은 `factor` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr factor` diff --git a/pages.ko/osx/gfalse.md b/pages.ko/osx/gfalse.md new file mode 100644 index 00000000000000..6c1cccab59dc1c --- /dev/null +++ b/pages.ko/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> 이 명령은 `false` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr false` diff --git a/pages.ko/osx/gfgrep.md b/pages.ko/osx/gfgrep.md new file mode 100644 index 00000000000000..1b5c94ae0e3c2f --- /dev/null +++ b/pages.ko/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> 이 명령은 `fgrep` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr fgrep` diff --git a/pages.ko/osx/gfind.md b/pages.ko/osx/gfind.md new file mode 100644 index 00000000000000..3231129fe29e45 --- /dev/null +++ b/pages.ko/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> 이 명령은 `find` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr find` diff --git a/pages.ko/osx/gfmt.md b/pages.ko/osx/gfmt.md new file mode 100644 index 00000000000000..f3c7b8507a1064 --- /dev/null +++ b/pages.ko/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> 이 명령은 `fmt` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr fmt` diff --git a/pages.ko/osx/gfold.md b/pages.ko/osx/gfold.md new file mode 100644 index 00000000000000..735c320806ce49 --- /dev/null +++ b/pages.ko/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> 이 명령은 `-p linux fold` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.ko/osx/gftp.md b/pages.ko/osx/gftp.md new file mode 100644 index 00000000000000..769c5cee161bdb --- /dev/null +++ b/pages.ko/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> 이 명령은 `ftp` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ftp` diff --git a/pages.ko/osx/ggrep.md b/pages.ko/osx/ggrep.md new file mode 100644 index 00000000000000..1b9b04de335356 --- /dev/null +++ b/pages.ko/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> 이 명령은 `grep` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr grep` diff --git a/pages.ko/osx/ggroups.md b/pages.ko/osx/ggroups.md new file mode 100644 index 00000000000000..a1f35a510ef70b --- /dev/null +++ b/pages.ko/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> 이 명령은 `groups` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr groups` diff --git a/pages.ko/osx/ghead.md b/pages.ko/osx/ghead.md new file mode 100644 index 00000000000000..f674bd88728d17 --- /dev/null +++ b/pages.ko/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> 이 명령은 `-p linux head` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.ko/osx/ghostid.md b/pages.ko/osx/ghostid.md new file mode 100644 index 00000000000000..0ac46dc795444f --- /dev/null +++ b/pages.ko/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> 이 명령은 `hostid` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr hostid` diff --git a/pages.ko/osx/ghostname.md b/pages.ko/osx/ghostname.md new file mode 100644 index 00000000000000..27562cdb6b0d7b --- /dev/null +++ b/pages.ko/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> 이 명령은 `hostname` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr hostname` diff --git a/pages.ko/osx/gid.md b/pages.ko/osx/gid.md new file mode 100644 index 00000000000000..ab25c202c067d8 --- /dev/null +++ b/pages.ko/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> 이 명령은 `id` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr id` diff --git a/pages.ko/osx/gifconfig.md b/pages.ko/osx/gifconfig.md new file mode 100644 index 00000000000000..da65ca0070772a --- /dev/null +++ b/pages.ko/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> 이 명령은 `ifconfig` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ifconfig` diff --git a/pages.ko/osx/gindent.md b/pages.ko/osx/gindent.md new file mode 100644 index 00000000000000..d8f2ee3870cfdc --- /dev/null +++ b/pages.ko/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> 이 명령은 `indent` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.ko/osx/ginstall.md b/pages.ko/osx/ginstall.md new file mode 100644 index 00000000000000..9b19242cd0d16b --- /dev/null +++ b/pages.ko/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> 이 명령은 `install` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr install` diff --git a/pages.ko/osx/gjoin.md b/pages.ko/osx/gjoin.md new file mode 100644 index 00000000000000..ea373279768020 --- /dev/null +++ b/pages.ko/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> 이 명령은 `join` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr join` diff --git a/pages.ko/osx/gkill.md b/pages.ko/osx/gkill.md new file mode 100644 index 00000000000000..efb06905f20260 --- /dev/null +++ b/pages.ko/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> 이 명령은 `-p linux kill` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.ko/osx/glibtool.md b/pages.ko/osx/glibtool.md new file mode 100644 index 00000000000000..b021158baf67de --- /dev/null +++ b/pages.ko/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> 이 명령어는 GNU `libtool`의 별칭입니다. + +- 원본 명령어 보기: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.ko/osx/glibtoolize.md b/pages.ko/osx/glibtoolize.md new file mode 100644 index 00000000000000..0e65163b7cf321 --- /dev/null +++ b/pages.ko/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> 이 명령어는 GNU `libtoolize`의 별칭입니다. + +- 원본 명령어 보기: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.ko/osx/glink.md b/pages.ko/osx/glink.md new file mode 100644 index 00000000000000..c8f0d26b17aa04 --- /dev/null +++ b/pages.ko/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> 이 명령은 `link` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr link` diff --git a/pages.ko/osx/gln.md b/pages.ko/osx/gln.md new file mode 100644 index 00000000000000..35c7e0231c6038 --- /dev/null +++ b/pages.ko/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> 이 명령은 `ln` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ln` diff --git a/pages.ko/osx/glocate.md b/pages.ko/osx/glocate.md new file mode 100644 index 00000000000000..aa5d100ae1afe6 --- /dev/null +++ b/pages.ko/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> 이 명령은 `-p linux locate` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.ko/osx/glogger.md b/pages.ko/osx/glogger.md new file mode 100644 index 00000000000000..5158368d0066af --- /dev/null +++ b/pages.ko/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> 이 명령은 `-p linux logger` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.ko/osx/glogname.md b/pages.ko/osx/glogname.md new file mode 100644 index 00000000000000..7258235e4d159c --- /dev/null +++ b/pages.ko/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> 이 명령은 `logname` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr logname` diff --git a/pages.ko/osx/gls.md b/pages.ko/osx/gls.md new file mode 100644 index 00000000000000..987fb61a55c6b7 --- /dev/null +++ b/pages.ko/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> 이 명령은 `ls` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ls` diff --git a/pages.ko/osx/gmake.md b/pages.ko/osx/gmake.md new file mode 100644 index 00000000000000..f96e6510dda226 --- /dev/null +++ b/pages.ko/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> 이 명령은 `make` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr make` diff --git a/pages.ko/osx/gmd5sum.md b/pages.ko/osx/gmd5sum.md new file mode 100644 index 00000000000000..e36ad1e3a65516 --- /dev/null +++ b/pages.ko/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> 이 명령은 `md5sum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr md5sum` diff --git a/pages.ko/osx/gmkdir.md b/pages.ko/osx/gmkdir.md new file mode 100644 index 00000000000000..b3d03c6be4a185 --- /dev/null +++ b/pages.ko/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> 이 명령은 `mkdir` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr mkdir` diff --git a/pages.ko/osx/gmkfifo.md b/pages.ko/osx/gmkfifo.md new file mode 100644 index 00000000000000..2812b78adfc4f9 --- /dev/null +++ b/pages.ko/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> 이 명령은 `mkfifo` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr mkfifo` diff --git a/pages.ko/osx/gmknod.md b/pages.ko/osx/gmknod.md new file mode 100644 index 00000000000000..8e758c78d3d2c6 --- /dev/null +++ b/pages.ko/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> 이 명령은 `-p linux mknod` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.ko/osx/gmktemp.md b/pages.ko/osx/gmktemp.md new file mode 100644 index 00000000000000..54d31094b8b34d --- /dev/null +++ b/pages.ko/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> 이 명령은 `-p linux mktemp` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.ko/osx/gmv.md b/pages.ko/osx/gmv.md new file mode 100644 index 00000000000000..e5a3903fe1f41c --- /dev/null +++ b/pages.ko/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> 이 명령은 `mv` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr mv` diff --git a/pages.ko/osx/gnice.md b/pages.ko/osx/gnice.md new file mode 100644 index 00000000000000..3b504b8479c292 --- /dev/null +++ b/pages.ko/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> 이 명령은 `nice` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr nice` diff --git a/pages.ko/osx/gnl.md b/pages.ko/osx/gnl.md new file mode 100644 index 00000000000000..552de1854e5a70 --- /dev/null +++ b/pages.ko/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> 이 명령은 `-p linux nl` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.ko/osx/gnohup.md b/pages.ko/osx/gnohup.md new file mode 100644 index 00000000000000..a0fb358a74e923 --- /dev/null +++ b/pages.ko/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> 이 명령은 `nohup` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr nohup` diff --git a/pages.ko/osx/gnproc.md b/pages.ko/osx/gnproc.md new file mode 100644 index 00000000000000..3e835c6a6bebbf --- /dev/null +++ b/pages.ko/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> 이 명령은 `nproc` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr nproc` diff --git a/pages.ko/osx/gnumfmt.md b/pages.ko/osx/gnumfmt.md new file mode 100644 index 00000000000000..d4cb5d1d5cf957 --- /dev/null +++ b/pages.ko/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> 이 명령은 `numfmt` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr numfmt` diff --git a/pages.ko/osx/god.md b/pages.ko/osx/god.md new file mode 100644 index 00000000000000..e4b4369cb4d9a2 --- /dev/null +++ b/pages.ko/osx/god.md @@ -0,0 +1,7 @@ +# god + +> 이 명령은 `od` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr od` diff --git a/pages.ko/osx/goku.md b/pages.ko/osx/goku.md new file mode 100644 index 00000000000000..e9e15c2c969fd4 --- /dev/null +++ b/pages.ko/osx/goku.md @@ -0,0 +1,28 @@ +# goku + +> Karabiner 설정 관리. +> 더 많은 정보: . + +- 기본 설정을 사용하여 `karabiner.json` 생성: + +`goku` + +- 특정 `config.edn` 파일을 사용하여 `karabiner.json` 생성: + +`goku --config {{경로/대상/config.edn}}` + +- `karabiner.json`을 업데이트하는 대신 새로운 설정을 `stdout`으로 테스트 실행: + +`goku --dry-run` + +- `karabiner.json`을 업데이트하는 대신 전체 설정을 `stdout`으로 테스트 실행: + +`goku --dry-run-all` + +- 도움말 표시: + +`goku --help` + +- 버전 표시: + +`goku --version` diff --git a/pages.ko/osx/gpaste.md b/pages.ko/osx/gpaste.md new file mode 100644 index 00000000000000..674f219ba72b5f --- /dev/null +++ b/pages.ko/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> 이 명령은 `paste` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr paste` diff --git a/pages.ko/osx/gpathchk.md b/pages.ko/osx/gpathchk.md new file mode 100644 index 00000000000000..2dca75837ecdff --- /dev/null +++ b/pages.ko/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> 이 명령은 `pathchk` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pathchk` diff --git a/pages.ko/osx/gping.md b/pages.ko/osx/gping.md new file mode 100644 index 00000000000000..039537704fcfda --- /dev/null +++ b/pages.ko/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> 이 명령은 `ping` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.ko/osx/gping6.md b/pages.ko/osx/gping6.md new file mode 100644 index 00000000000000..e36be96be0a6ff --- /dev/null +++ b/pages.ko/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> 이 명령은 `ping6` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr ping6` diff --git a/pages.ko/osx/gpinky.md b/pages.ko/osx/gpinky.md new file mode 100644 index 00000000000000..0be4edf92c657f --- /dev/null +++ b/pages.ko/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> 이 명령은 `pinky` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pinky` diff --git a/pages.ko/osx/gpr.md b/pages.ko/osx/gpr.md new file mode 100644 index 00000000000000..dad94ae0d4300f --- /dev/null +++ b/pages.ko/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> 이 명령은 `pr` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pr` diff --git a/pages.ko/osx/gprintenv.md b/pages.ko/osx/gprintenv.md new file mode 100644 index 00000000000000..a5c9f3b8ca525d --- /dev/null +++ b/pages.ko/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> 이 명령은 `printenv` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr printenv` diff --git a/pages.ko/osx/gprintf.md b/pages.ko/osx/gprintf.md new file mode 100644 index 00000000000000..9fb40cdf6eb602 --- /dev/null +++ b/pages.ko/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> 이 명령은 `printf` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr printf` diff --git a/pages.ko/osx/gptx.md b/pages.ko/osx/gptx.md new file mode 100644 index 00000000000000..0271a4c7a9fb3b --- /dev/null +++ b/pages.ko/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> 이 명령은 `-p linux ptx` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.ko/osx/gpwd.md b/pages.ko/osx/gpwd.md new file mode 100644 index 00000000000000..34912fcd92442e --- /dev/null +++ b/pages.ko/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> 이 명령은 `pwd` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr pwd` diff --git a/pages.ko/osx/grcp.md b/pages.ko/osx/grcp.md new file mode 100644 index 00000000000000..b30b3fe361f37a --- /dev/null +++ b/pages.ko/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> 이 명령은 `-p linux rcp` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.ko/osx/greadlink.md b/pages.ko/osx/greadlink.md new file mode 100644 index 00000000000000..911febf0a14e6d --- /dev/null +++ b/pages.ko/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> 이 명령은 `readlink` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr readlink` diff --git a/pages.ko/osx/grealpath.md b/pages.ko/osx/grealpath.md new file mode 100644 index 00000000000000..d923229a71573c --- /dev/null +++ b/pages.ko/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> 이 명령은 `realpath` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr realpath` diff --git a/pages.ko/osx/grexec.md b/pages.ko/osx/grexec.md new file mode 100644 index 00000000000000..db1adc62ba5400 --- /dev/null +++ b/pages.ko/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> 이 명령은 `-p linux rexec` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.ko/osx/grlogin.md b/pages.ko/osx/grlogin.md new file mode 100644 index 00000000000000..5e59c7cfb3b4ff --- /dev/null +++ b/pages.ko/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> 이 명령은 `-p linux rlogin` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.ko/osx/grm.md b/pages.ko/osx/grm.md new file mode 100644 index 00000000000000..0d5a6d31aac5ab --- /dev/null +++ b/pages.ko/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> 이 명령은 `rm` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr rm` diff --git a/pages.ko/osx/grmdir.md b/pages.ko/osx/grmdir.md new file mode 100644 index 00000000000000..12235ab21647c3 --- /dev/null +++ b/pages.ko/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> 이 명령은 `rmdir` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr rmdir` diff --git a/pages.ko/osx/grsh.md b/pages.ko/osx/grsh.md new file mode 100644 index 00000000000000..b44d72b075b2c3 --- /dev/null +++ b/pages.ko/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> 이 명령은 `-p linux rsh` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.ko/osx/gruncon.md b/pages.ko/osx/gruncon.md new file mode 100644 index 00000000000000..cc13644d373075 --- /dev/null +++ b/pages.ko/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> 이 명령은 `-p linux runcon` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.ko/osx/gsed.md b/pages.ko/osx/gsed.md new file mode 100644 index 00000000000000..86640284fad1d8 --- /dev/null +++ b/pages.ko/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> 이 명령은 `-p linux sed` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.ko/osx/gseq.md b/pages.ko/osx/gseq.md new file mode 100644 index 00000000000000..da42cb4e0da14c --- /dev/null +++ b/pages.ko/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> 이 명령은 `seq` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr seq` diff --git a/pages.ko/osx/gsha1sum.md b/pages.ko/osx/gsha1sum.md new file mode 100644 index 00000000000000..6ccdfc3d07c8b6 --- /dev/null +++ b/pages.ko/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> 이 명령은 `sha1sum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sha1sum` diff --git a/pages.ko/osx/gsha224sum.md b/pages.ko/osx/gsha224sum.md new file mode 100644 index 00000000000000..d333656074e363 --- /dev/null +++ b/pages.ko/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> 이 명령은 `sha224sum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sha224sum` diff --git a/pages.ko/osx/gsha256sum.md b/pages.ko/osx/gsha256sum.md new file mode 100644 index 00000000000000..8456a9a328af5f --- /dev/null +++ b/pages.ko/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> 이 명령은 `sha256sum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sha256sum` diff --git a/pages.ko/osx/gsha384sum.md b/pages.ko/osx/gsha384sum.md new file mode 100644 index 00000000000000..ed05d293bde55a --- /dev/null +++ b/pages.ko/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> 이 명령은 `sha384sum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sha384sum` diff --git a/pages.ko/osx/gsha512sum.md b/pages.ko/osx/gsha512sum.md new file mode 100644 index 00000000000000..a9708ccd93d663 --- /dev/null +++ b/pages.ko/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> 이 명령은 `sha512sum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sha512sum` diff --git a/pages.ko/osx/gshred.md b/pages.ko/osx/gshred.md new file mode 100644 index 00000000000000..a836ee367bc726 --- /dev/null +++ b/pages.ko/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> 이 명령은 `shred` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr shred` diff --git a/pages.ko/osx/gshuf.md b/pages.ko/osx/gshuf.md new file mode 100644 index 00000000000000..fc9a17c9c8334f --- /dev/null +++ b/pages.ko/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> 이 명령은 `shuf` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.ko/osx/gsleep.md b/pages.ko/osx/gsleep.md new file mode 100644 index 00000000000000..883d54ade122a0 --- /dev/null +++ b/pages.ko/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> 이 명령은 `-p linux sleep` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.ko/osx/gsort.md b/pages.ko/osx/gsort.md new file mode 100644 index 00000000000000..3ac54a22fb78fb --- /dev/null +++ b/pages.ko/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> 이 명령은 `sort` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sort` diff --git a/pages.ko/osx/gsplit.md b/pages.ko/osx/gsplit.md new file mode 100644 index 00000000000000..6058d248de8120 --- /dev/null +++ b/pages.ko/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> 이 명령은 `split` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.ko/osx/gstat.md b/pages.ko/osx/gstat.md new file mode 100644 index 00000000000000..0c652b7423e9e5 --- /dev/null +++ b/pages.ko/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> 이 명령은 `stat` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.ko/osx/gstdbuf.md b/pages.ko/osx/gstdbuf.md new file mode 100644 index 00000000000000..4d9c7680937878 --- /dev/null +++ b/pages.ko/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> 이 명령은 `stdbuf` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr stdbuf` diff --git a/pages.ko/osx/gstty.md b/pages.ko/osx/gstty.md new file mode 100644 index 00000000000000..6c323dd19f639b --- /dev/null +++ b/pages.ko/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> 이 명령은 `stty` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr stty` diff --git a/pages.ko/osx/gsum.md b/pages.ko/osx/gsum.md new file mode 100644 index 00000000000000..bbe578c9b2c56e --- /dev/null +++ b/pages.ko/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> 이 명령은 `sum` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sum` diff --git a/pages.ko/osx/gsync.md b/pages.ko/osx/gsync.md new file mode 100644 index 00000000000000..cc4cdac9c277a1 --- /dev/null +++ b/pages.ko/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> 이 명령은 `sync` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr sync` diff --git a/pages.ko/osx/gtac.md b/pages.ko/osx/gtac.md new file mode 100644 index 00000000000000..29d2f056b649e2 --- /dev/null +++ b/pages.ko/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> 이 명령은 `tac` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr tac` diff --git a/pages.ko/osx/gtail.md b/pages.ko/osx/gtail.md new file mode 100644 index 00000000000000..56cbdc7346917e --- /dev/null +++ b/pages.ko/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> 이 명령은 `tail` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.ko/osx/gtalk.md b/pages.ko/osx/gtalk.md new file mode 100644 index 00000000000000..684817781fc747 --- /dev/null +++ b/pages.ko/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> 이 명령은 `-p linux talk` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.ko/osx/gtar.md b/pages.ko/osx/gtar.md new file mode 100644 index 00000000000000..bfb5ccc8762180 --- /dev/null +++ b/pages.ko/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> 이 명령은 `tar` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr tar` diff --git a/pages.ko/osx/gtee.md b/pages.ko/osx/gtee.md new file mode 100644 index 00000000000000..622d20f192175a --- /dev/null +++ b/pages.ko/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> 이 명령은 `tee` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr tee` diff --git a/pages.ko/osx/gtelnet.md b/pages.ko/osx/gtelnet.md new file mode 100644 index 00000000000000..452748da3a65bf --- /dev/null +++ b/pages.ko/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> 이 명령은 `telnet` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr telnet` diff --git a/pages.ko/osx/gtest.md b/pages.ko/osx/gtest.md new file mode 100644 index 00000000000000..4dce6bb7bfe27c --- /dev/null +++ b/pages.ko/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> 이 명령은 `test` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr test` diff --git a/pages.ko/osx/gtftp.md b/pages.ko/osx/gtftp.md new file mode 100644 index 00000000000000..7a541c32b5594c --- /dev/null +++ b/pages.ko/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> 이 명령은 `-p linux tftp` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.ko/osx/gtime.md b/pages.ko/osx/gtime.md new file mode 100644 index 00000000000000..e6f6ac70842b2d --- /dev/null +++ b/pages.ko/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> 이 명령은 `time` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr time` diff --git a/pages.ko/osx/gtimeout.md b/pages.ko/osx/gtimeout.md new file mode 100644 index 00000000000000..6386a4087a1f52 --- /dev/null +++ b/pages.ko/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> 이 명령은 `timeout` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr timeout` diff --git a/pages.ko/osx/gtouch.md b/pages.ko/osx/gtouch.md new file mode 100644 index 00000000000000..f930d23c5630e5 --- /dev/null +++ b/pages.ko/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> 이 명령은 `touch` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr touch` diff --git a/pages.ko/osx/gtr.md b/pages.ko/osx/gtr.md new file mode 100644 index 00000000000000..05e26dfded8351 --- /dev/null +++ b/pages.ko/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> 이 명령은 `tr` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr tr` diff --git a/pages.ko/osx/gtraceroute.md b/pages.ko/osx/gtraceroute.md new file mode 100644 index 00000000000000..88a479cd8b81a4 --- /dev/null +++ b/pages.ko/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> 이 명령은 `traceroute` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr traceroute` diff --git a/pages.ko/osx/gtrue.md b/pages.ko/osx/gtrue.md new file mode 100644 index 00000000000000..64b64dc756f648 --- /dev/null +++ b/pages.ko/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> 이 명령은 `true` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr true` diff --git a/pages.ko/osx/gtruncate.md b/pages.ko/osx/gtruncate.md new file mode 100644 index 00000000000000..a86ee48d27d6e1 --- /dev/null +++ b/pages.ko/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> 이 명령은 `truncate` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr truncate` diff --git a/pages.ko/osx/gtsort.md b/pages.ko/osx/gtsort.md new file mode 100644 index 00000000000000..fe6ee6531689b2 --- /dev/null +++ b/pages.ko/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> 이 명령은 `tsort` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr tsort` diff --git a/pages.ko/osx/gtty.md b/pages.ko/osx/gtty.md new file mode 100644 index 00000000000000..c0a3d39570b16b --- /dev/null +++ b/pages.ko/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> 이 명령은 `tty` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr tty` diff --git a/pages.ko/osx/guname.md b/pages.ko/osx/guname.md new file mode 100644 index 00000000000000..a448c4e66b77f5 --- /dev/null +++ b/pages.ko/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> 이 명령은 `uname` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.ko/osx/gunexpand.md b/pages.ko/osx/gunexpand.md new file mode 100644 index 00000000000000..9fd329e99dcfa2 --- /dev/null +++ b/pages.ko/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> 이 명령은 `unexpand` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr unexpand` diff --git a/pages.ko/osx/guniq.md b/pages.ko/osx/guniq.md new file mode 100644 index 00000000000000..73c5c9a6e73f90 --- /dev/null +++ b/pages.ko/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> 이 명령은 `uniq` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr uniq` diff --git a/pages.ko/osx/gunits.md b/pages.ko/osx/gunits.md new file mode 100644 index 00000000000000..5b426826ecbd53 --- /dev/null +++ b/pages.ko/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> 이 명령은 `units` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr units` diff --git a/pages.ko/osx/gunlink.md b/pages.ko/osx/gunlink.md new file mode 100644 index 00000000000000..b77e7ff2ea4f56 --- /dev/null +++ b/pages.ko/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> 이 명령은 `unlink` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr unlink` diff --git a/pages.ko/osx/gupdatedb.md b/pages.ko/osx/gupdatedb.md new file mode 100644 index 00000000000000..e70f8a6087f9d9 --- /dev/null +++ b/pages.ko/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> 이 명령은 `-p linux updatedb` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.ko/osx/guptime.md b/pages.ko/osx/guptime.md new file mode 100644 index 00000000000000..01a40991755a28 --- /dev/null +++ b/pages.ko/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> 이 명령은 `uptime` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.ko/osx/gusers.md b/pages.ko/osx/gusers.md new file mode 100644 index 00000000000000..62f8329a3607f4 --- /dev/null +++ b/pages.ko/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> 이 명령은 `users` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr users` diff --git a/pages.ko/osx/gvdir.md b/pages.ko/osx/gvdir.md new file mode 100644 index 00000000000000..1a5e6cf3b1f782 --- /dev/null +++ b/pages.ko/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> 이 명령은 `vdir` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr vdir` diff --git a/pages.ko/osx/gwc.md b/pages.ko/osx/gwc.md new file mode 100644 index 00000000000000..0593bb93a0f224 --- /dev/null +++ b/pages.ko/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> 이 명령은 `wc` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.ko/osx/gwhich.md b/pages.ko/osx/gwhich.md new file mode 100644 index 00000000000000..8f412e5c834c70 --- /dev/null +++ b/pages.ko/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> 이 명령은 `which` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr which` diff --git a/pages.ko/osx/gwho.md b/pages.ko/osx/gwho.md new file mode 100644 index 00000000000000..b37bf4f8767f7f --- /dev/null +++ b/pages.ko/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> 이 명령은 `who` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr who` diff --git a/pages.ko/osx/gwhoami.md b/pages.ko/osx/gwhoami.md new file mode 100644 index 00000000000000..4839a38b687069 --- /dev/null +++ b/pages.ko/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> 이 명령은 `whoami` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr whoami` diff --git a/pages.ko/osx/gwhois.md b/pages.ko/osx/gwhois.md new file mode 100644 index 00000000000000..afad7afd8cbbed --- /dev/null +++ b/pages.ko/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> 이 명령은 `whois` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr whois` diff --git a/pages.ko/osx/gxargs.md b/pages.ko/osx/gxargs.md new file mode 100644 index 00000000000000..1da411b74b71fc --- /dev/null +++ b/pages.ko/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> 이 명령은 `xargs` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr xargs` diff --git a/pages.ko/osx/gyes.md b/pages.ko/osx/gyes.md new file mode 100644 index 00000000000000..4ca078aac6e900 --- /dev/null +++ b/pages.ko/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> 이 명령은 `yes` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr yes` diff --git a/pages.ko/osx/hdiutil.md b/pages.ko/osx/hdiutil.md new file mode 100644 index 00000000000000..43f5218cd62a7e --- /dev/null +++ b/pages.ko/osx/hdiutil.md @@ -0,0 +1,20 @@ +# hdiutil + +> 디스크 이미지를 생성하고 관리하는 유틸리티. +> 더 많은 정보: . + +- 이미지를 마운트: + +`hdiutil attach {{경로/대상/이미지_파일}}` + +- 이미지를 마운트 해제: + +`hdiutil detach /Volumes/{{볼륨_파일}}` + +- 마운트된 이미지 목록 표시: + +`hdiutil info` + +- 디렉터리의 내용을 ISO 이미지로 생성: + +`hdiutil makehybrid -o {{경로/대상/출력_파일}} {{경로/대상/폴더}}` diff --git a/pages.ko/osx/head.md b/pages.ko/osx/head.md new file mode 100644 index 00000000000000..c1221e1d224f55 --- /dev/null +++ b/pages.ko/osx/head.md @@ -0,0 +1,20 @@ +# head + +> 파일의 처음 부분을 출력합니다. +> 더 많은 정보: . + +- 파일의 처음 몇 줄을 출력: + +`head --lines {{8}} {{경로/대상/파일}}` + +- 파일의 처음 몇 바이트를 출력: + +`head --bytes {{8}} {{경로/대상/파일}}` + +- 파일의 마지막 몇 줄을 제외하고 출력: + +`head --lines -{{8}} {{경로/대상/파일}}` + +- 파일의 마지막 몇 바이트를 제외하고 출력: + +`head --bytes -{{8}} {{경로/대상/파일}}` diff --git a/pages.ko/osx/hidd.md b/pages.ko/osx/hidd.md new file mode 100644 index 00000000000000..502331e82d0470 --- /dev/null +++ b/pages.ko/osx/hidd.md @@ -0,0 +1,9 @@ +# hidd + +> HID 라이브러리 사용자 영역 데몬. +> 수동으로 호출하지 말아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`hidd` diff --git a/pages.ko/osx/icalbuddy.md b/pages.ko/osx/icalbuddy.md new file mode 100644 index 00000000000000..f2da2d1daaab2b --- /dev/null +++ b/pages.ko/osx/icalbuddy.md @@ -0,0 +1,24 @@ +# icalBuddy + +> macOS 캘린더 데이터베이스에서 이벤트와 작업을 출력하는 명령줄 유틸리티. +> 더 많은 정보: . + +- 오늘 나중에 있을 이벤트 표시: + +`icalBuddy --includeOnlyEventsFromNowOn eventsToday` + +- 완료되지 않은 작업 표시: + +`icalBuddy uncompletedTasks` + +- 오늘 모든 이벤트를 캘린더별로 구분하여 서식화된 목록으로 표시: + +`icalBuddy --formatOutput --separateByCalendar eventsToday` + +- 지정된 일수 동안의 작업 표시: + +`icalBuddy --includeOnlyEventsFromNowOn "tasksDueBefore:today+{{일_수}}"` + +- 특정 기간 내의 이벤트 표시: + +`icalBuddy eventsFrom:{{시작_날짜}} to:{{종료_날짜}}` diff --git a/pages.ko/osx/indent.md b/pages.ko/osx/indent.md new file mode 100644 index 00000000000000..c84429810b6f8e --- /dev/null +++ b/pages.ko/osx/indent.md @@ -0,0 +1,12 @@ +# indent + +> C/C++ 프로그램의 공백을 삽입하거나 삭제하여 외형을 변경합니다. +> 더 많은 정보: . + +- Berkeley 스타일에 따라 C/C++ 소스 코드 서식 지정: + +`indent {{경로/대상/소스_파일.c}} {{경로/대상/서식화된_파일.c}} -nbad -nbap -bc -br -c33 -cd33 -cdb -ce -ci4 -cli0 -di16 -fc1 -fcb -i4 -ip -l75 -lp -npcs -nprs -psl -sc -nsob -ts8` + +- Kernighan & Ritchie (K&R) 스타일에 따라 C/C++ 소스 코드 서식 지정: + +`indent {{경로/대상/소스_파일.c}} {{경로/대상/서식화된_파일.c}} -nbad -bap -nbc -br -c33 -cd33 -ncdb -ce -ci4 -cli0 -cs -d0 -di1 -nfc1 -nfcb -i4 -nip -l75 -lp -npcs -nprs -npsl -nsc -nsob` diff --git a/pages.ko/osx/internetsharing.md b/pages.ko/osx/internetsharing.md new file mode 100644 index 00000000000000..a527eb0df26135 --- /dev/null +++ b/pages.ko/osx/internetsharing.md @@ -0,0 +1,9 @@ +# InternetSharing + +> 인터넷 공유 설정. +> 수동으로 실행하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`InternetSharing` diff --git a/pages.ko/osx/iostat.md b/pages.ko/osx/iostat.md new file mode 100644 index 00000000000000..6d0fea95c7a0fc --- /dev/null +++ b/pages.ko/osx/iostat.md @@ -0,0 +1,32 @@ +# iostat + +> 장치에 대한 통계 보고. +> 더 많은 정보: . + +- 스냅샷 장치 통계(전송당 킬로바이트, 초당 전송 횟수, 초당 메가바이트), CPU 통계(사용자 모드, 시스템 모드, 대기 모드에서 소비된 시간의 백분율), 시스템 부하 평균(지난 1, 5, 15분 동안)을 표시: + +`iostat` + +- 장치 통계만 표시: + +`iostat -d` + +- 2초마다 CPU 및 디스크 통계의 증분 보고서 표시: + +`iostat 2` + +- 첫 번째 디스크에 대한 통계를 매초 무기한 표시: + +`iostat -w 1 disk0` + +- 두 번째 디스크에 대한 통계를 3초마다 10번 표시: + +`iostat -w 3 -c 10 disk1` + +- 구형 스타일의 `iostat` 디스플레이 사용하여 표시. 초당 전송된 섹터, 초당 전송 횟수, 거래당 평균 밀리초, 기본 스타일 디스플레이의 CPU 통계 + 부하 평균 표시: + +`iostat -o` + +- 총 장치 통계 표시 (KB/t: 이전과 같이 전송당 킬로바이트, xfrs: 총 전송 횟수, MB: 전송된 총 메가바이트 수): + +`iostat -I` diff --git a/pages.ko/osx/ipconfig.md b/pages.ko/osx/ipconfig.md new file mode 100644 index 00000000000000..458f699d09503b --- /dev/null +++ b/pages.ko/osx/ipconfig.md @@ -0,0 +1,12 @@ +# ipconfig + +> IP 구성 상태를 보고 제어합니다. +> 더 많은 정보: . + +- 모든 네트워크 인터페이스 나열: + +`ipconfig getiflist` + +- 인터페이스의 IP 주소 표시: + +`ipconfig getifaddr {{인터페이스_이름}}` diff --git a/pages.ko/osx/istats.md b/pages.ko/osx/istats.md new file mode 100644 index 00000000000000..ccbcbfb8048220 --- /dev/null +++ b/pages.ko/osx/istats.md @@ -0,0 +1,20 @@ +# istats + +> CPU 온도, 팬 속도, 배터리 상태 등의 다양한 통계를 표시합니다. +> 더 많은 정보: . + +- 모든 통계 표시: + +`istats` + +- CPU 통계 모두 표시: + +`istats cpu` + +- 팬 통계 모두 표시: + +`istats fan` + +- 온도를 스캔하고 출력: + +`istats scan` diff --git a/pages.ko/osx/java_home.md b/pages.ko/osx/java_home.md new file mode 100644 index 00000000000000..87029ad42dd889 --- /dev/null +++ b/pages.ko/osx/java_home.md @@ -0,0 +1,24 @@ +# java_home + +> $JAVA_HOME의 값을 반환하거나 이 변수를 사용하여 명령을 실행합니다. +> 더 많은 정보: . + +- 특정 버전에 기반한 JVM 목록 나열: + +`java_home --version {{1.5+}}` + +- 특정 [arch]아키텍처에 기반한 JVM 목록 나열: + +`java_home --arch {{i386}}` + +- 특정 작업에 기반한 JVM 목록 나열 (기본값은 `CommandLine`): + +`java_home --datamodel {{Applets|WebStart|BundledApp|JNI|CommandLine}}` + +- XML 형식으로 JVM 목록 나열: + +`java_home --xml` + +- 도움말 표시: + +`java_home --help` diff --git a/pages.ko/osx/kmutil.md b/pages.ko/osx/kmutil.md new file mode 100644 index 00000000000000..126a0e4e712f43 --- /dev/null +++ b/pages.ko/osx/kmutil.md @@ -0,0 +1,28 @@ +# kmutil + +> 커널 확장(kexts) 및 디스크의 kext 컬렉션을 관리하는 유틸리티. +> 더 많은 정보: . + +- 운영 체제에서 사용 가능한 kext 찾기: + +`kmutil find` + +- 커널 관리 하위 시스템에 대한 로깅 정보 표시: + +`kmutil log` + +- 제공된 옵션에 따라 kext 컬렉션의 내용 검사 및 표시: + +`kmutil inspect {{옵션들}}` + +- kext 컬렉션 간의 일관성 검사: + +`kmutil check` + +- 디버깅을 위한 kernelmanagerd 상태 덤프: + +`sudo kmutil dumpstate` + +- 결과의 이 경로에 지정된 번들을 기반으로 하나 이상의 확장 로드: + +`kmutil load --bundle-path {{경로/대상/extension.kext}}` diff --git a/pages.ko/osx/launchctl.md b/pages.ko/osx/launchctl.md new file mode 100644 index 00000000000000..afefd40cdebe2f --- /dev/null +++ b/pages.ko/osx/launchctl.md @@ -0,0 +1,33 @@ +# launchctl + +> Apple의 `launchd` 관리자에서 시스템 전역 서비스인 시작 데몬과 사용자별 프로그램인 시작 에이전트를 제어. +> `launchd`는 적절한 위치에 배치된 XML 기반 `*.plist` 파일을 로드하고, 정의된 일정에 따라 해당 명령을 실행. +> 더 많은 정보: . + +- 사용자가 로그인할 때마다 `launchd`에 로드될 사용자별 에이전트를 활성화: + +`launchctl load ~/Library/LaunchAgents/{{내_스크립트}}.plist` + +- 루트 권한이 필요하거나 모든 사용자가 로그인할 때마다 로드되어야 하는 에이전트를 활성화 (경로에 `~` 없음에 유의): + +`sudo launchctl load /Library/LaunchAgents/{{루트_스크립트}}.plist` + +- 시스템이 부팅될 때마다 (사용자가 로그인하지 않아도) 로드될 시스템 전역 데몬을 활성화: + +`sudo launchctl load /Library/LaunchDaemons/{{스크립트_대몬}}.plist` + +- 모든 로드된 에이전트/데몬을 표시하고, 지정된 프로세스가 현재 실행 중인 경우 PID 및 마지막 실행 시 반환된 종료 코드를 표시: + +`launchctl list` + +- 현재 로드된 에이전트를 언로드하여 변경 가능 (참고: plist 파일은 재부팅 및/또는 로그인 후에 자동으로 `launchd`에 로드됨): + +`launchctl unload ~/Library/LaunchAgents/{{내_스크립트}}.plist` + +- 지정된 시간에 관계없이 수동으로 이미 로드된 에이전트/데몬을 실행 (참고: 이 명령은 파일명이 아닌 에이전트의 레이블을 사용): + +`launchctl start {{스크립트_파일}}` + +- 실행 중인 알려진 에이전트/데몬과 관련된 프로세스를 수동으로 종료: + +`launchctl stop {{스크립트_파일}}` diff --git a/pages.ko/osx/launchd.md b/pages.ko/osx/launchd.md new file mode 100644 index 00000000000000..caada2a6d4b435 --- /dev/null +++ b/pages.ko/osx/launchd.md @@ -0,0 +1,13 @@ +# launchd + +> 시스템 및 사용자 프로세스를 관리합니다. +> launchd를 수동으로 호출할 수 없으며, launchctl을 사용하여 상호작용해야 합니다. +> 더 많은 정보: . + +- init 실행: + +`/sbin/launchd` + +- launchctl을 사용하여 launchd와 상호작용하는 방법에 대한 문서 보기: + +`tldr launchctl` diff --git a/pages.ko/osx/lipo.md b/pages.ko/osx/lipo.md new file mode 100644 index 00000000000000..5ba4e559672630 --- /dev/null +++ b/pages.ko/osx/lipo.md @@ -0,0 +1,20 @@ +# lipo + +> Mach-O 유니버설 바이너리를 처리합니다. +> 더 많은 정보: . + +- 두 개의 단일 아키텍처 파일에서 유니버설 파일 생성: + +`lipo {{경로/대상/바이너리_파일.x86_64}} {{경로/대상/바이너리_파일.arm64e}} -create -output {{경로/대상/바이너리_파일}}` + +- 유니버설 파일에 포함된 모든 아키텍처 나열: + +`lipo {{경로/대상/바이너리_파일}} -archs` + +- 유니버설 파일에 대한 자세한 정보 표시: + +`lipo {{경로/대상/바이너리_파일}} -detailed_info` + +- 유니버설 파일에서 단일 아키텍처 파일 추출: + +`lipo {{경로/대상/바이너리_파일}} -thin {{arm64e}} -output {{경로/대상/바이너리_파일.arm64e}}` diff --git a/pages.ko/osx/lldb.md b/pages.ko/osx/lldb.md new file mode 100644 index 00000000000000..8284b15f366cd6 --- /dev/null +++ b/pages.ko/osx/lldb.md @@ -0,0 +1,16 @@ +# lldb + +> LLVM 저수준 디버거. +> 더 많은 정보: . + +- 실행 파일 디버그: + +`lldb "{{실행_파일}}"` + +- 주어진 PID로 실행 중인 프로세스에 `lldb` 연결: + +`lldb -p {{프로세스_ID}}` + +- 주어진 이름의 새로운 프로세스가 시작될 때까지 기다렸다가 연결: + +`lldb -w -n "{{프로세스_이름}}"` diff --git a/pages.ko/osx/llvm-lipo.md b/pages.ko/osx/llvm-lipo.md new file mode 100644 index 00000000000000..c5f16e9571f4d3 --- /dev/null +++ b/pages.ko/osx/llvm-lipo.md @@ -0,0 +1,7 @@ +# llvm-lipo + +> 이 명령은 `lipo`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr lipo` diff --git a/pages.ko/osx/locate.md b/pages.ko/osx/locate.md new file mode 100644 index 00000000000000..f25b9fb1689840 --- /dev/null +++ b/pages.ko/osx/locate.md @@ -0,0 +1,16 @@ +# locate + +> 파일명을 빠르게 찾습니다. +> 더 많은 정보: . + +- 데이터베이스에서 패턴 검색 (참고: 데이터베이스는 주기적으로 다시 계산됩니다, 보통 주간 또는 일간): + +`locate "{{패턴}}"` + +- 파일명을 정확히 일치시켜 검색 (글로빙 문자가 없는 패턴은 `*패턴*`으로 해석됨): + +`locate */{{파일명}}` + +- 데이터베이스 다시 계산 (최근에 추가된 파일을 찾고자 할 경우 필요): + +`sudo /usr/libexec/locate.updatedb` diff --git a/pages.ko/osx/log.md b/pages.ko/osx/log.md new file mode 100644 index 00000000000000..9f4d3d15b5f90f --- /dev/null +++ b/pages.ko/osx/log.md @@ -0,0 +1,20 @@ +# log + +> 로그 시스템을 보기, 내보내기 및 구성. +> 더 많은 정보: . + +- 실시간 시스템 로그 스트리밍: + +`log stream` + +- 특정 PID를 가진 프로세스에서 `syslog`로 전송된 로그 스트리밍: + +`log stream --process {{프로세스_ID}}` + +- 특정 이름을 가진 프로세스에서 syslog로 전송된 로그 표시: + +`log show --predicate "process == '{{프로세스_이름}}'"` + +- 지난 한 시간 동안 모든 로그를 디스크에 내보내기: + +`sudo log collect --last {{1h}} --output {{경로/대상/파일.logarchive}}` diff --git a/pages.ko/osx/look.md b/pages.ko/osx/look.md new file mode 100644 index 00000000000000..1db9d5ee557d63 --- /dev/null +++ b/pages.ko/osx/look.md @@ -0,0 +1,21 @@ +# look + +> 정렬된 파일에서 특정 접두사로 시작하는 줄을 표시합니다. +> 같이 보기: `grep`, `sort`. +> 더 많은 정보: . + +- 특정 파일에서 특정 접두사로 시작하는 줄 검색: + +`look {{접두사}} {{경로/대상/파일}}` + +- 대소문자를 구분하지 않고 영숫자 문자만 검색: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{접두사}} {{경로/대상/파일}}` + +- 문자열 종료 문자를 지정 (기본값은 공백): + +`look {{[-t|--terminate]}} {{,}}` + +- `/usr/share/dict/words`에서 검색 (`--ignore-case` 및 `--alphanum` 기본 적용): + +`look {{접두사}}` diff --git a/pages.ko/osx/lpstat.md b/pages.ko/osx/lpstat.md new file mode 100644 index 00000000000000..7a85db5305d5cc --- /dev/null +++ b/pages.ko/osx/lpstat.md @@ -0,0 +1,24 @@ +# lpstat + +> 현재 클래스, 작업 및 프린터에 대한 상태 정보를 표시합니다. +> 더 많은 정보: . + +- 프린터, 클래스 및 작업의 긴 목록 표시: + +`lpstat -l` + +- CUPS 서버에 연결할 때 암호화를 강제: + +`lpstat -E` + +- 인쇄 작업의 순위 표시: + +`lpstat -R` + +- CUPS 서버가 실행 중인지 여부 표시: + +`lpstat -r` + +- 모든 상태 정보 표시: + +`lpstat -t` diff --git a/pages.ko/osx/lsappinfo.md b/pages.ko/osx/lsappinfo.md new file mode 100644 index 00000000000000..4bd7b9393ad927 --- /dev/null +++ b/pages.ko/osx/lsappinfo.md @@ -0,0 +1,16 @@ +# lsappinfo + +> 시스템에서 앱 상태에 대해 CoreApplicationServices를 제어하고 조회. +> 더 많은 정보: . + +- 실행 중인 모든 앱의 세부 정보를 나열: + +`lsappinfo list` + +- 전면 앱 표시: + +`lsappinfo front` + +- 특정 앱에 대한 정보 표시: + +`lsappinfo info {{com.apple.calculator}}` diff --git a/pages.ko/osx/m.md b/pages.ko/osx/m.md new file mode 100644 index 00000000000000..638088321fbb3c --- /dev/null +++ b/pages.ko/osx/m.md @@ -0,0 +1,24 @@ +# m + +> macOS용 만능 도구. +> 더 많은 정보: . + +- 배터리 상태 확인: + +`m battery status` + +- 블루투스 끄기: + +`m bluetooth off` + +- 포맷 가능한 파일 시스템 나열: + +`m disk filesystems` + +- Dock 자동 숨김 기능 활성화: + +`m dock autohide YES` + +- 방화벽 비활성화: + +`m firewall disable` diff --git a/pages.ko/osx/machine.md b/pages.ko/osx/machine.md new file mode 100644 index 00000000000000..4b0a553efe2470 --- /dev/null +++ b/pages.ko/osx/machine.md @@ -0,0 +1,8 @@ +# machine + +> 머신 유형을 출력합니다. +> 더 많은 정보: . + +- CPU 아키텍처 출력: + +`machine` diff --git a/pages.ko/osx/mas.md b/pages.ko/osx/mas.md new file mode 100644 index 00000000000000..20cd861dcf99a5 --- /dev/null +++ b/pages.ko/osx/mas.md @@ -0,0 +1,36 @@ +# mas + +> Mac App Store용 명령줄 인터페이스. +> 더 많은 정보: . + +- Mac App Store에 처음으로 로그인: + +`mas signin "{{user@example.com}}"` + +- 설치된 모든 애플리케이션과 그 제품 식별자 표시: + +`mas list` + +- 애플리케이션 검색 및 결과와 함께 가격 표시: + +`mas search "{{애플리케이션}}" --price` + +- 정확한 숫자 ID를 사용하여 애플리케이션 설치 또는 업데이트: + +`mas install {{숫자_제품_ID}}` + +- 검색에서 반환되는 첫 번째 애플리케이션 설치: + +`mas lucky "{{검색어}}"` + +- 업데이트가 필요한 모든 구버전 앱 나열: + +`mas outdated` + +- 모든 대기 중인 업데이트 설치: + +`mas upgrade` + +- 특정 애플리케이션 업그레이드: + +`mas upgrade "{{숫자_제품_ID}}"` diff --git a/pages.ko/osx/mate.md b/pages.ko/osx/mate.md new file mode 100644 index 00000000000000..7bb24679f616fb --- /dev/null +++ b/pages.ko/osx/mate.md @@ -0,0 +1,24 @@ +# mate + +> macOS용 범용 텍스트 편집기. +> 더 많은 정보: . + +- TextMate 시작: + +`mate` + +- 특정 파일 열기: + +`mate {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일의 파일 유형 지정: + +`mate --type {{파일유형}} {{경로/대상/파일}}` + +- 특정 파일을 열고 편집이 완료될 때까지 대기: + +`mate --wait {{경로/대상/파일}}` + +- 파일을 열고 특정 줄과 열에 커서를 위치시키기: + +`mate --line {{줄_번호}}:{{열_번호}} {{경로/대상/파일}}` diff --git a/pages.ko/osx/md5.md b/pages.ko/osx/md5.md new file mode 100644 index 00000000000000..70128033b8b0b2 --- /dev/null +++ b/pages.ko/osx/md5.md @@ -0,0 +1,20 @@ +# md5 + +> MD5 암호화 체크섬을 계산합니다. +> 더 많은 정보: . + +- 파일의 MD5 체크섬 계산: + +`md5 {{경로/대상/파일}}` + +- 여러 파일의 MD5 체크섬 계산: + +`md5 {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 파일명 없이 MD5 체크섬만 출력: + +`md5 -q {{경로/대상/파일}}` + +- 주어진 문자열의 체크섬 출력: + +`md5 -s "{{문자열}}"` diff --git a/pages.ko/osx/mdfind.md b/pages.ko/osx/mdfind.md new file mode 100644 index 00000000000000..e0d040e12dc2ff --- /dev/null +++ b/pages.ko/osx/mdfind.md @@ -0,0 +1,16 @@ +# mdfind + +> 쿼리에 맞는 파일 나열. +> 더 많은 정보: . + +- 파일 이름으로 찾기: + +`mdfind -name {{파일}}` + +- 파일 내용을 통해 찾기: + +`mdfind "{{쿼리}}"` + +- 특정 디렉토리 내 문자열을 포함하는 파일 찾기: + +`mdfind -onlyin {{경로/대상/폴더}} "{{쿼리}}"` diff --git a/pages.ko/osx/mdls.md b/pages.ko/osx/mdls.md new file mode 100644 index 00000000000000..d962f8d8020900 --- /dev/null +++ b/pages.ko/osx/mdls.md @@ -0,0 +1,12 @@ +# mdls + +> [f]파일에 대한 메타데이터 속성을 표시합니다. +> 더 많은 정보: . + +- [f]파일의 메타데이터 속성 목록을 표시: + +`mdls {{경로/대상/파일}}` + +- 특정 메타데이터 속성을 표시: + +`mdls -name {{속성}} {{경로/대상/파일}}` diff --git a/pages.ko/osx/mdutil.md b/pages.ko/osx/mdutil.md new file mode 100644 index 00000000000000..c84e19a0367069 --- /dev/null +++ b/pages.ko/osx/mdutil.md @@ -0,0 +1,20 @@ +# mdutil + +> Spotlight의 색인을 위한 메타데이터 저장소 관리 도구. +> 더 많은 정보: . + +- 시작 볼륨의 색인 상태 표시: + +`mdutil -s {{/}}` + +- 특정 볼륨의 Spotlight 색인 기능 켜기/끄기: + +`mdutil -i {{on|off}} {{경로/대상/볼륨}}` + +- 모든 볼륨의 색인 기능 켜기/끄기: + +`mdutil -a -i {{on|off}}` + +- 메타데이터 저장소를 지우고 색인 프로세스 재시작: + +`mdutil -E {{경로/대상/볼륨}}` diff --git a/pages.ko/osx/mist.md b/pages.ko/osx/mist.md new file mode 100644 index 00000000000000..72830c0a11d6bf --- /dev/null +++ b/pages.ko/osx/mist.md @@ -0,0 +1,37 @@ +# mist + +> MIST - macOS Installer Super Tool. +> macOS 펌웨어/설치 프로그램을 자동으로 다운로드합니다. +> 더 많은 정보: . + +- Apple Silicon Mac용 모든 사용 가능한 macOS 펌웨어 나열: + +`mist list firmware` + +- Intel Mac용 모든 사용 가능한 macOS 설치 프로그램 나열, macOS Big Sur 및 이후 버전의 범용 설치 프로그램 포함: + +`mist list installer` + +- 이 Mac과 호환되는 모든 macOS 설치 프로그램 나열, macOS Big Sur 및 이후 버전의 범용 설치 프로그램 포함: + +`mist list installer --compatible` + +- Intel Mac용 모든 사용 가능한 macOS 설치 프로그램 나열, 베타 버전 포함, macOS Big Sur 및 이후 버전의 범용 설치 프로그램 포함: + +`mist list installer --include-betas` + +- Intel Mac용 최신 macOS Sonoma 설치 프로그램만 나열, macOS Big Sur 및 이후 버전의 범용 설치 프로그램 포함: + +`mist list installer --latest "macOS Sonoma"` + +- macOS 설치 프로그램을 CSV [f]파일로 내보내기: + +`mist list installer --export "{{경로/대상/export.csv}}"` + +- Apple Silicon Mac용 최신 macOS Sonoma 펌웨어 다운로드, 사용자 지정 이름 사용: + +`mist download firmware "macOS Sonoma" --firmware-name "{{Install %NAME% %VERSION%-%BUILD%.ipsw}}"` + +- Intel Mac용 특정 macOS 설치 프로그램 버전 다운로드, macOS Big Sur 및 이후 버전의 범용 설치 프로그램 포함: + +`mist download installer "{{13.5.2}}" application` diff --git a/pages.ko/osx/mktemp.md b/pages.ko/osx/mktemp.md new file mode 100644 index 00000000000000..395b2443ed6a74 --- /dev/null +++ b/pages.ko/osx/mktemp.md @@ -0,0 +1,24 @@ +# mktemp + +> 임시 파일 또는 디렉터리 생성. +> 더 많은 정보: . + +- 빈 임시 파일을 생성하고 절대 경로 출력: + +`mktemp` + +- 사용자 정의 디렉터리 사용 (`getconf DARWIN_USER_TEMP_DIR`의 출력 또는 `/tmp`가 기본값): + +`mktemp --tmpdir {{/경로/대상/임시_폴더}}` + +- 사용자 정의 경로 템플릿 사용 (`X`는 무작위 영숫자 문자로 대체됨): + +`mktemp {{/tmp/example.XXXXXXXX}}` + +- 사용자 정의 파일 이름 접두사 사용: + +`mktemp -t {{예제}}` + +- 빈 임시 디렉터리를 생성하고 절대 경로 출력: + +`mktemp --directory` diff --git a/pages.ko/osx/mysides.md b/pages.ko/osx/mysides.md new file mode 100644 index 00000000000000..9db03320c9066a --- /dev/null +++ b/pages.ko/osx/mysides.md @@ -0,0 +1,24 @@ +# mysides + +> Finder 즐겨찾기 추가, 나열 및 제거 도구. +> 더 많은 정보: . + +- 사이드바 즐겨찾기 나열: + +`mysides list` + +- 새로운 항목을 사이드바 즐겨찾기 끝에 추가: + +`mysides add {{예시}} {{file:///Users/Shared/example}}` + +- 이름으로 항목 제거: + +`mysides remove {{예시}}` + +- 현재 디렉토리를 사이드바에 추가: + +`mysides add $(basename $(pwd)) file:///$(pwd)` + +- 현재 디렉토리를 사이드바에서 제거: + +`mysides remove $(basename $(pwd))` diff --git a/pages.ko/osx/netstat.md b/pages.ko/osx/netstat.md new file mode 100644 index 00000000000000..4c87b14c95cf1f --- /dev/null +++ b/pages.ko/osx/netstat.md @@ -0,0 +1,17 @@ +# netstat + +> 네트워크 연결, 열린 소켓 포트 등 네트워크 관련 정보를 표시합니다. +> 같이 보기: 네트워크 연결(리스닝 포트 포함)을 나열하려면 `lsof`를 참조하세요. +> 더 많은 정보: . + +- 특정 프로토콜을 수신 중인 PID와 프로그램 이름 표시: + +`netstat -p {{프로토콜}}` + +- 라우팅 테이블을 출력하고 IP 주소를 호스트명으로 해석하지 않음: + +`netstat -nr` + +- IPv4 주소의 라우팅 테이블 출력: + +`netstat -nr -f inet` diff --git a/pages.ko/osx/nettop.md b/pages.ko/osx/nettop.md new file mode 100644 index 00000000000000..c2567e7df3f557 --- /dev/null +++ b/pages.ko/osx/nettop.md @@ -0,0 +1,36 @@ +# nettop + +> 네트워크에 대한 업데이트된 정보를 표시합니다. +> 더 많은 정보: . + +- 모든 인터페이스의 TCP 및 UDP 소켓 모니터링: + +`nettop` + +- 루프백 인터페이스의 TCP 소켓 모니터링: + +`nettop -m {{tcp}} -t {{loopback}}` + +- 특정 프로세스 모니터링: + +`nettop -p "{{프로세스_ID|프로세스_이름}}"` + +- 프로세스별 요약 표시: + +`nettop -P` + +- 네트워크 정보의 10개의 샘플 출력: + +`nettop -l {{10}}` + +- 5초마다 변경 사항 모니터링: + +`nettop -d -s {{5}}` + +- nettop 실행 중 상호작용 명령 나열: + +`` + +- 도움말 표시: + +`nettop -h` diff --git a/pages.ko/osx/networkquality.md b/pages.ko/osx/networkquality.md new file mode 100644 index 00000000000000..b7913f8de6acca --- /dev/null +++ b/pages.ko/osx/networkquality.md @@ -0,0 +1,20 @@ +# networkQuality + +> 인터넷에 연결하여 네트워크 품질을 측정합니다. +> 더 많은 정보: . + +- 기본 인터페이스의 네트워크 품질 테스트: + +`networkQuality` + +- 업로드 및 다운로드 속도를 병렬이 아닌 순차적으로 테스트: + +`networkQuality -s` + +- 지정한 네트워크 인터페이스 테스트: + +`networkQuality -I {{en0}}` + +- 자세한 출력을 통해 네트워크 품질 테스트: + +`networkQuality -v` diff --git a/pages.ko/osx/networksetup.md b/pages.ko/osx/networksetup.md new file mode 100644 index 00000000000000..4069e25aa13923 --- /dev/null +++ b/pages.ko/osx/networksetup.md @@ -0,0 +1,20 @@ +# networksetup + +> 네트워크 시스템 환경설정 구성 도구. +> 더 많은 정보: . + +- 사용 가능한 네트워크 서비스 제공자 나열 (이더넷, Wi-Fi, 블루투스 등): + +`networksetup -listallnetworkservices` + +- 특정 네트워크 장치의 네트워크 설정 표시: + +`networksetup -getinfo "{{Wi-Fi}}"` + +- 현재 연결된 Wi-Fi 네트워크 이름 가져오기 (Wi-Fi 장치는 보통 en0 또는 en1): + +`networksetup -getairportnetwork {{en0}}` + +- 특정 Wi-Fi 네트워크에 연결: + +`networksetup -setairportnetwork {{en0}} {{무선 네트워크 SSID}} {{비밀번호}}` diff --git a/pages.ko/osx/nfcd.md b/pages.ko/osx/nfcd.md new file mode 100644 index 00000000000000..53176a9508b492 --- /dev/null +++ b/pages.ko/osx/nfcd.md @@ -0,0 +1,9 @@ +# nfcd + +> 이 데몬은 NFC 컨트롤러를 제어합니다. +> 수동으로 실행해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`nfcd` diff --git a/pages.ko/osx/notifyd.md b/pages.ko/osx/notifyd.md new file mode 100644 index 00000000000000..a263a0f2d8362b --- /dev/null +++ b/pages.ko/osx/notifyd.md @@ -0,0 +1,17 @@ +# notifyd + +> 알림 서버. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`notifyd` + +- 디버그 메시지를 기본 로그 [f]파일(`/var/log/notifyd.log`)로 기록: + +`notifyd -d` + +- 디버그 메시지를 대체 로그 [f]파일로 기록: + +`notifyd -d -log_file {{경로/대상/로그_파일}}` diff --git a/pages.ko/osx/nvram.md b/pages.ko/osx/nvram.md new file mode 100644 index 00000000000000..2df47cb094cbfe --- /dev/null +++ b/pages.ko/osx/nvram.md @@ -0,0 +1,28 @@ +# nvram + +> 펌웨어 변수를 조작합니다. +> 더 많은 정보: . + +- NVRAM에 저장된 모든 변수 [p]출력: + +`nvram -p` + +- NVRAM에 저장된 모든 변수를 [x]ML 형식으로 [p]출력: + +`nvram -xp` + +- 펌웨어 변수의 값 수정: + +`sudo nvram {{이름}}="{{값}}"` + +- 펌웨어 변수 [d]삭제: + +`sudo nvram -d {{이름}}` + +- 모든 펌웨어 변수 [c]지우기: + +`sudo nvram -c` + +- 특정 [x]ML [f]파일에서 펌웨어 변수 설정: + +`sudo nvram -xf {{경로/대상/파일.xml}}` diff --git a/pages.ko/osx/ocspd.md b/pages.ko/osx/ocspd.md new file mode 100644 index 00000000000000..a644ec9220af72 --- /dev/null +++ b/pages.ko/osx/ocspd.md @@ -0,0 +1,9 @@ +# ocspd + +> 인증서 검증을 위해 인증서 폐기 목록(CRL)과 온라인 인증서 상태 프로토콜(OCSP) 응답을 검색하고 캐시합니다. +> 수동으로 실행하지 마십시오. +> 더 많은 정보: . + +- 데몬 시작: + +`ocspd` diff --git a/pages.ko/osx/open.md b/pages.ko/osx/open.md new file mode 100644 index 00000000000000..505d531f59b474 --- /dev/null +++ b/pages.ko/osx/open.md @@ -0,0 +1,32 @@ +# open + +> 파일, 디렉토리 및 애플리케이션을 엽니다. +> 더 많은 정보: . + +- 파일을 관련 애플리케이션으로 열기: + +`open {{파일.ext}}` + +- 그래픽 macOS [a]애플리케이션 실행: + +`open -a "{{애플리케이션}}"` + +- [b]번들 식별자를 기반으로 그래픽 macOS 앱 실행 (`osascript`를 사용하여 쉽게 얻을 수 있음): + +`open -b {{com.domain.application}}` + +- 현재 디렉토리를 Finder에서 열기: + +`open .` + +- 파일을 Finder에서 [R]표시: + +`open -R {{경로/대상/파일}}` + +- 현재 디렉토리에서 주어진 확장자의 모든 파일을 관련 애플리케이션으로 열기: + +`open {{*.확장자}}` + +- [b]번들 식별자를 통해 지정된 애플리케이션의 [n]새 인스턴스 열기: + +`open -n -b {{com.domain.application}}` diff --git a/pages.ko/osx/opensnoop.md b/pages.ko/osx/opensnoop.md new file mode 100644 index 00000000000000..b34f6de6000e47 --- /dev/null +++ b/pages.ko/osx/opensnoop.md @@ -0,0 +1,20 @@ +# opensnoop + +> 시스템에서 파일 열림을 추적합니다. +> 더 많은 정보: . + +- 파일이 열릴 때마다 모두 출력: + +`sudo opensnoop` + +- 프로세스 이름으로 파일 열림 추적: + +`sudo opensnoop -n "{{프로세스_이름}}"` + +- PID로 파일 열림 추적: + +`sudo opensnoop -p {{PID}}` + +- 특정 파일을 여는 프로세스 추적: + +`sudo opensnoop -f {{경로/대상/파일}}` diff --git a/pages.ko/osx/osascript.md b/pages.ko/osx/osascript.md new file mode 100644 index 00000000000000..a4ca571051cec3 --- /dev/null +++ b/pages.ko/osx/osascript.md @@ -0,0 +1,28 @@ +# osascript + +> AppleScript 또는 JavaScript for Automation (JXA) 실행. +> 더 많은 정보: . + +- AppleScript 명령 실행: + +`osascript -e '{{say "Hello world"}}'` + +- 여러 AppleScript 명령 실행: + +`osascript -e '{{say "Hello"}}' -e '{{say "world"}}'` + +- 컴파일된(`*.scpt`), 번들(`*.scptd`), 또는 텍스트(`*.applescript`) 형식의 AppleScript 파일 실행: + +`osascript {{경로/대상/apple.scpt}}` + +- 애플리케이션의 번들 식별자 얻기 (`open -b`에 유용): + +`osascript -e 'id of app "{{애플리케이션}}"'` + +- JavaScript 명령 실행: + +`osascript -l JavaScript -e "{{console.log('Hello world');}}"` + +- JavaScript 파일 실행: + +`osascript -l JavaScript {{경로/대상/script.js}}` diff --git a/pages.ko/osx/pbcopy.md b/pages.ko/osx/pbcopy.md new file mode 100644 index 00000000000000..e44a36d3207095 --- /dev/null +++ b/pages.ko/osx/pbcopy.md @@ -0,0 +1,13 @@ +# pbcopy + +> `stdin`에서 데이터를 클립보드로 복사합니다. +> 키보드에서 ``를 누르는 것과 비슷합니다. +> 더 많은 정보: . + +- 특정 [f]파일의 내용을 클립보드에 복사: + +`pbcopy < {{경로/대상/파일}}` + +- 특정 명령의 결과를 클립보드에 복사: + +`find . -type t -name "*.png" | pbcopy` diff --git a/pages.ko/osx/pbpaste.md b/pages.ko/osx/pbpaste.md new file mode 100644 index 00000000000000..a8f0ee4afdf79e --- /dev/null +++ b/pages.ko/osx/pbpaste.md @@ -0,0 +1,13 @@ +# pbpaste + +> 클립보드의 내용을 `stdout`으로 전송. +> 키보드에서 ``를 누르는 것과 유사. +> 더 많은 정보: . + +- 클립보드의 내용을 [f]파일에 쓰기: + +`pbpaste > {{경로/대상/파일}}` + +- 클립보드의 내용을 명령어의 입력으로 사용: + +`pbpaste | grep foo` diff --git a/pages.ko/osx/photoanalysisd.md b/pages.ko/osx/photoanalysisd.md new file mode 100644 index 00000000000000..8b88bc94d3e8e3 --- /dev/null +++ b/pages.ko/osx/photoanalysisd.md @@ -0,0 +1,9 @@ +# photoanalysisd + +> 사진 라이브러리를 분석하여 추억, 사람 및 장면 또는 객체 기반 검색을 수행합니다. +> `photoanalysisd`는 수동으로 호출하면 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`photoanalysisd` diff --git a/pages.ko/osx/photolibraryd.md b/pages.ko/osx/photolibraryd.md new file mode 100644 index 00000000000000..88fe0bac7be923 --- /dev/null +++ b/pages.ko/osx/photolibraryd.md @@ -0,0 +1,9 @@ +# photolibraryd + +> 모든 사진 라이브러리 요청을 처리합니다. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`photolibraryd` diff --git a/pages.ko/osx/ping.md b/pages.ko/osx/ping.md new file mode 100644 index 00000000000000..2b637c7d161a15 --- /dev/null +++ b/pages.ko/osx/ping.md @@ -0,0 +1,28 @@ +# ping + +> 네트워크 호스트에 ICMP ECHO_REQUEST 패킷을 전송합니다. +> 더 많은 정보: . + +- 지정된 호스트에 핑 보내기: + +`ping "{{호스트명}}"` + +- 호스트에 특정 횟수만큼 핑 보내기: + +`ping -c {{횟수}} "{{호스트}}"` + +- 요청 간격을 초 단위로 지정하여 호스트에 핑 보내기 (기본값은 1초): + +`ping -i {{초}} "{{호스트}}"` + +- 주소에 대한 기호 이름을 조회하지 않고 호스트에 핑 보내기: + +`ping -n "{{호스트}}"` + +- 호스트에 핑을 보내고 패킷을 수신했을 때 벨을 울리기 (터미널이 지원하는 경우): + +`ping -a "{{호스트}}"` + +- 호스트에 핑을 보내고 패킷을 수신한 시간을 표시하기 (이 옵션은 Apple 추가 기능입니다): + +`ping --apple-time "{{호스트}}"` diff --git a/pages.ko/osx/pkgutil.md b/pages.ko/osx/pkgutil.md new file mode 100644 index 00000000000000..70f6fabeb5b9c7 --- /dev/null +++ b/pages.ko/osx/pkgutil.md @@ -0,0 +1,20 @@ +# pkgutil + +> Mac OS X 설치 패키지 및 영수증을 조회하고 조작. +> 더 많은 정보: . + +- 모든 설치된 패키지의 패키지 ID 나열: + +`pkgutil --pkgs` + +- 패키지 파일의 암호화 서명 검증: + +`pkgutil --check-signature {{경로/대상/파일명.pkg}}` + +- 주어진 ID의 설치된 패키지의 모든 파일 나열: + +`pkgutil --files {{com.microsoft.Word}}` + +- 패키지 파일의 내용을 디렉토리에 추출: + +`pkgutil --expand-full {{경로/대상/파일명.pkg}} {{경로/대상/폴더}}` diff --git a/pages.ko/osx/plutil.md b/pages.ko/osx/plutil.md new file mode 100644 index 00000000000000..4488f4abbfc2c8 --- /dev/null +++ b/pages.ko/osx/plutil.md @@ -0,0 +1,24 @@ +# plutil + +> 속성 목록("plist") 파일을 보기, 변환, 검증 또는 편집. +> 더 많은 정보: . + +- 하나 이상의 plist 파일 내용을 사람이 읽을 수 있는 형식으로 표시: + +`plutil -p {{파일1.plist 파일2.plist ...}}` + +- 하나 이상의 plist 파일을 XML 형식으로 변환하여 원본 파일을 덮어쓰기: + +`plutil -convert xml1 {{파일1.plist 파일2.plist ...}}` + +- 하나 이상의 plist 파일을 바이너리 형식으로 변환하여 원본 파일을 덮어쓰기: + +`plutil -convert binary1 {{파일1.plist 파일2.plist ...}}` + +- plist 파일을 다른 형식으로 변환하여 새 파일에 쓰기: + +`plutil -convert {{xml1|binary1|json|swift|objc}} {{경로/대상/파일.plist}} -o {{경로/대상/새_파일.plist}}` + +- plist 파일을 다른 형식으로 변환하여 `stdout`에 쓰기: + +`plutil -convert {{xml1|binary1|json|swift|objc}} {{경로/대상/파일.plist}} -o -` diff --git a/pages.ko/osx/pmset.md b/pages.ko/osx/pmset.md new file mode 100644 index 00000000000000..0d71fb759a33d0 --- /dev/null +++ b/pages.ko/osx/pmset.md @@ -0,0 +1,33 @@ +# pmset + +> macOS 전원 관리 설정을 구성합니다. 시스템 환경설정 > 에너지 절약에서 할 수 있는 작업과 유사합니다. +> 설정을 수정하는 명령은 `sudo`로 시작해야 합니다. +> 더 많은 정보: . + +- 현재 전원 관리 설정 표시: + +`pmset -g` + +- 현재 전원 소스 및 배터리 수준 표시: + +`pmset -g batt` + +- 디스플레이를 즉시 절전 모드로 전환: + +`pmset displaysleepnow` + +- 충전기 전원 사용 시 디스플레이가 절전 모드로 전환되지 않도록 설정: + +`sudo pmset -c displaysleep 0` + +- 배터리 전원 사용 시 디스플레이가 15분 후에 절전 모드로 전환되도록 설정: + +`sudo pmset -b displaysleep 15` + +- 매주 평일 오전 9시에 컴퓨터가 자동으로 깨어나도록 예약: + +`sudo pmset repeat wake MTWRF 09:00:00` + +- 시스템 기본값으로 복원: + +`sudo pmset -a displaysleep 10 disksleep 10 sleep 30 womp 1` diff --git a/pages.ko/osx/pod.md b/pages.ko/osx/pod.md new file mode 100644 index 00000000000000..a0e836b64e9041 --- /dev/null +++ b/pages.ko/osx/pod.md @@ -0,0 +1,32 @@ +# pod + +> Swift 및 Objective-C Cocoa 프로젝트를 위한 종속성 관리 도구. +> 더 많은 정보: . + +- 현재 프로젝트에 기본 내용으로 Podfile 생성: + +`pod init` + +- Podfile에 정의된 모든 포드를 다운로드 및 설치 (이전에 설치되지 않은 경우): + +`pod install` + +- 사용 가능한 모든 포드 나열: + +`pod list` + +- 현재 설치된 포드 중 업데이트가 필요한 포드 표시: + +`pod outdated` + +- 현재 설치된 모든 포드를 최신 버전으로 업데이트: + +`pod update` + +- 특정 (이전에 설치된) 포드를 최신 버전으로 업데이트: + +`pod update {{포드_이름}}` + +- Xcode 프로젝트에서 CocoaPods 제거: + +`pod deintegrate {{xcode_프로젝트}}` diff --git a/pages.ko/osx/port.md b/pages.ko/osx/port.md new file mode 100644 index 00000000000000..41d84d327edb24 --- /dev/null +++ b/pages.ko/osx/port.md @@ -0,0 +1,28 @@ +# port + +> macOS 패키지 관리자. +> 더 많은 정보: . + +- 패키지 검색: + +`port search {{검색_어}}` + +- 패키지 설치: + +`sudo port install {{패키지}}` + +- 설치된 패키지 나열: + +`port installed` + +- 포트를 업데이트하고 사용 가능한 패키지의 최신 목록 가져오기: + +`sudo port selfupdate` + +- 오래된 패키지 업그레이드: + +`sudo port upgrade outdated` + +- 설치된 패키지의 이전 버전 제거: + +`sudo port uninstall inactive` diff --git a/pages.ko/osx/ps.md b/pages.ko/osx/ps.md new file mode 100644 index 00000000000000..763fd10ee62e1f --- /dev/null +++ b/pages.ko/osx/ps.md @@ -0,0 +1,28 @@ +# ps + +> 실행 중인 프로세스에 대한 정보. +> 더 많은 정보: . + +- 모든 실행 중인 프로세스 나열: + +`ps aux` + +- 전체 명령어 문자열을 포함하여 모든 실행 중인 프로세스 나열: + +`ps auxww` + +- 문자열과 일치하는 프로세스 검색: + +`ps aux | grep {{문자열}}` + +- 프로세스의 부모 PID 가져오기: + +`ps -o ppid= -p {{PID}}` + +- 메모리 사용량으로 프로세스 정렬: + +`ps -m` + +- CPU 사용량으로 프로세스 정렬: + +`ps -r` diff --git a/pages.ko/osx/qlmanage.md b/pages.ko/osx/qlmanage.md new file mode 100644 index 00000000000000..061fe34bba4964 --- /dev/null +++ b/pages.ko/osx/qlmanage.md @@ -0,0 +1,16 @@ +# qlmanage + +> QuickLook 서버 도구. +> 더 많은 정보: . + +- 하나 또는 여러 [f]파일에 대해 QuickLook 표시: + +`qlmanage -p {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 현재 폴더의 모든 JPEG 파일에 대해 300px 너비의 PNG 썸네일 생성 후, 지정된 폴더에 저장: + +`qlmanage {{*.jpg}} -t -s {{300}} {{경로/대상/폴더}}` + +- QuickLook 재설정: + +`qlmanage -r` diff --git a/pages.ko/osx/rargs.md b/pages.ko/osx/rargs.md new file mode 100644 index 00000000000000..93b77d5e299101 --- /dev/null +++ b/pages.ko/osx/rargs.md @@ -0,0 +1,25 @@ +# rargs + +> 각 표준 입력 줄에 대해 명령을 실행합니다. +> 패턴 매칭 지원이 있는 `xargs`와 유사합니다. +> 더 많은 정보: . + +- 입력의 각 줄에 대해 명령을 실행 (`{0}`은 텍스트에 대체할 위치를 나타냄): + +`{{명령어}} | rargs {{명령어}} {0}` + +- 실제로 실행하지 않고 실행할 명령을 출력하는 드라이 런 수행: + +`{{명령어}} | rargs -e {{명령어}} {0}` + +- 목록의 모든 파일에서 `.bak` [x]확장자 제거: + +`{{명령어}} | rargs -p '(.*).bak mv {0} {1}` + +- 병렬로 명령 실행: + +`{{명령어}} | rargs -w {{최대_프로세스_수}}` + +- 입력의 각 줄이 줄바꿈(`\n`) 대신 NUL 문자(`\0`)로 구분된 것으로 간주: + +`{{명령어}} | rargs -0 {{명령어}} {0}` diff --git a/pages.ko/osx/reboot.md b/pages.ko/osx/reboot.md new file mode 100644 index 00000000000000..5f969706246eed --- /dev/null +++ b/pages.ko/osx/reboot.md @@ -0,0 +1,12 @@ +# reboot + +> 시스템을 재부팅합니다. +> 더 많은 정보: . + +- 즉시 재부팅: + +`sudo reboot` + +- 정상적으로 종료하지 않고 즉시 재부팅: + +`sudo reboot -q` diff --git a/pages.ko/osx/route.md b/pages.ko/osx/route.md new file mode 100644 index 00000000000000..adc76d4cf66ce9 --- /dev/null +++ b/pages.ko/osx/route.md @@ -0,0 +1,29 @@ +# route + +> 수동으로 라우팅 테이블을 조작합니다. +> 관리자 권한이 필요합니다. +> 더 많은 정보: . + +- 게이트웨이를 통해 대상지로의 경로 추가: + +`sudo route add "{{대상_IP_주소}}" "{{게이트웨이_주소}}"` + +- 게이트웨이를 통해 /24 서브넷으로의 경로 추가: + +`sudo route add "{{서브넷_IP_주소}}/24" "{{게이트웨이_주소}}"` + +- 테스트 모드로 실행(실행하지 않고 출력만 합니다): + +`sudo route -t add "{{대상_IP_주소}}/24" "{{게이트웨이_주소}}"` + +- 모든 경로 제거: + +`sudo route flush` + +- 특정 경로 삭제: + +`sudo route delete "{{대상_IP_주소}}/24"` + +- 대상지(호스트명 또는 IP 주소)의 경로 조회 및 표시: + +`sudo route get "{{대상}}"` diff --git a/pages.ko/osx/safeejectgpu.md b/pages.ko/osx/safeejectgpu.md new file mode 100644 index 00000000000000..dac8a440eb35e1 --- /dev/null +++ b/pages.ko/osx/safeejectgpu.md @@ -0,0 +1,28 @@ +# SafeEjectGPU + +> GPU를 안전하게 제거합니다. +> 더 많은 정보: . + +- 모든 GPU 제거: + +`SafeEjectGPU Eject` + +- 연결된 모든 GPU 나열: + +`SafeEjectGPU gpus` + +- GPU를 사용하는 앱 나열: + +`SafeEjectGPU gpuid {{GPU_ID}} apps` + +- GPU의 상태 확인: + +`SafeEjectGPU gpuid {{GPU_ID}} status` + +- GPU 제거: + +`SafeEjectGPU gpuid {{GPU_ID}} Eject` + +- GPU에서 앱 실행: + +`SafeEjectGPU gpuid {{GPU_ID}} LaunchOnGPU {{경로/대상/App.app}}` diff --git a/pages.ko/osx/say.md b/pages.ko/osx/say.md new file mode 100644 index 00000000000000..da6602c8a11d64 --- /dev/null +++ b/pages.ko/osx/say.md @@ -0,0 +1,28 @@ +# say + +> 텍스트를 음성으로 변환. +> 더 많은 정보: . + +- 문구를 소리내어 말하기: + +`say "{{나는 자전거 타는 것을 좋아해.}}"` + +- [f]파일을 소리내어 읽기: + +`say --input-file {{파일명.txt}}` + +- 사용자 지정 음성과 속도로 문구 말하기: + +`say --voice {{음성}} --rate {{분당_단어_수}} "{{미안해 데이브, 그렇게 할 수 없어.}}"` + +- 사용 가능한 음성 목록 나열 (다양한 언어로 말하는 음성): + +`say --voice "?"` + +- 폴란드어로 말하기: + +`say --voice {{Zosia}} "{{Litwo, ojczyzno moja!}}"` + +- 음성 텍스트의 오디오 파일 생성: + +`say --output-file {{파일명.aiff}} "{{Here's to the Crazy Ones.}}"` diff --git a/pages.ko/osx/screencapture.md b/pages.ko/osx/screencapture.md new file mode 100644 index 00000000000000..44c97f73ef9263 --- /dev/null +++ b/pages.ko/osx/screencapture.md @@ -0,0 +1,28 @@ +# screencapture + +> 스크린샷과 화면 녹화를 위한 유틸리티. +> 더 많은 정보: . + +- 스크린샷을 찍어 파일로 저장: + +`screencapture {{경로/대상/파일.png}}` + +- 마우스 커서를 포함하여 스크린샷 찍기: + +`screencapture -C {{경로/대상/파일.png}}` + +- 스크린샷을 찍고 저장하는 대신 미리보기로 열기: + +`screencapture -P` + +- 선택한 직사각형 영역의 스크린샷 찍기: + +`screencapture -i {{경로/대상/파일.png}}` + +- 지연 후 스크린샷 찍기: + +`screencapture -T {{초}} {{경로/대상/파일.png}}` + +- 화면 녹화를 하고 파일로 저장: + +`screencapture -v {{경로/대상/파일.mp4}}` diff --git a/pages.ko/osx/scutil.md b/pages.ko/osx/scutil.md new file mode 100644 index 00000000000000..4c1331c30a3692 --- /dev/null +++ b/pages.ko/osx/scutil.md @@ -0,0 +1,29 @@ +# scutil + +> 시스템 구성 매개변수를 관리합니다. +> 구성 설정 시 루트 권한이 필요합니다. +> 더 많은 정보: . + +- DNS 구성 표시: + +`scutil --dns` + +- 프록시 구성 표시: + +`scutil --proxy` + +- 컴퓨터 이름 확인: + +`scutil --get ComputerName` + +- 컴퓨터 이름 설정: + +`sudo scutil --set ComputerName {{컴퓨터_이름}}` + +- 호스트명 확인: + +`scutil --get HostName` + +- 호스트명 설정: + +`scutil --set HostName {{호스트명}}` diff --git a/pages.ko/osx/sdef.md b/pages.ko/osx/sdef.md new file mode 100644 index 00000000000000..fecff978f7009b --- /dev/null +++ b/pages.ko/osx/sdef.md @@ -0,0 +1,8 @@ +# sdef + +> 스크립트 가능한 애플리케이션에서 스크립팅 정의(`sdef`) 파일을 가져오거나 생성. +> 더 많은 정보: . + +- 지정된 애플리케이션의 스크립팅 정의 출력: + +`sdef {{/Applications/XCode.app}}` diff --git a/pages.ko/osx/secd.md b/pages.ko/osx/secd.md new file mode 100644 index 00000000000000..18cf4064c1f7dc --- /dev/null +++ b/pages.ko/osx/secd.md @@ -0,0 +1,9 @@ +# secd + +> 키체인 항목의 액세스 및 수정을 제어합니다. +> 수동으로 실행해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`secd` diff --git a/pages.ko/osx/security.md b/pages.ko/osx/security.md new file mode 100644 index 00000000000000..567ae14cf2fd74 --- /dev/null +++ b/pages.ko/osx/security.md @@ -0,0 +1,32 @@ +# security + +> 키체인, 키, 인증서 및 보안 프레임워크를 관리합니다. +> 더 많은 정보: . + +- 사용 가능한 모든 키체인 나열: + +`security list-keychains` + +- 특정 키체인 삭제: + +`security delete-keychain {{경로/대상/파일.keychain}}` + +- 키체인 생성: + +`security create-keychain -p {{비밀번호}} {{경로/대상/파일.keychain}}` + +- 인증서를 웹사이트 또는 [s]서비스에서 사용하도록 [c]일반 이름으로 설정 (동일한 일반 이름을 가진 인증서가 여러 개 있는 경우 실패): + +`security set-identity-preference -s {{URL|호스트명|서비스}} -c "{{일반_이름}}" {{경로/대상/파일.keychain}}` + +- 파일에서 [k]키체인으로 인증서 추가 (-k가 지정되지 않으면 기본 키체인이 사용됨): + +`security add-certificates -k {{파일.keychain}} {{경로/대상/인증서_파일.pem}}` + +- 사용자별 신뢰 설정에 CA 인증서 추가: + +`security add-trusted-cert -k {{경로/대상/사용자-키체인.keychain-db}} {{경로/대상/ca-인증서_파일.pem}}` + +- 사용자별 신뢰 설정에서 CA 인증서 제거: + +`security remove-trusted-cert {{경로/대상/ca-인증서_파일.pem}}` diff --git a/pages.ko/osx/securityd.md b/pages.ko/osx/securityd.md new file mode 100644 index 00000000000000..0ddbd34a2b64d0 --- /dev/null +++ b/pages.ko/osx/securityd.md @@ -0,0 +1,10 @@ +# securityd + +> 보안 컨텍스트와 암호화 작업을 관리합니다. +> 키체인 접근을 위해 secd와 함께 작동합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`securityd` diff --git a/pages.ko/osx/sed.md b/pages.ko/osx/sed.md new file mode 100644 index 00000000000000..ba323d3e102ad0 --- /dev/null +++ b/pages.ko/osx/sed.md @@ -0,0 +1,25 @@ +# sed + +> 스크립트 방식으로 텍스트 편집. +> 같이 보기: `awk`, `ed`. +> 더 많은 정보: . + +- 모든 입력 라인에서 `apple`(기본 정규식)을 `mango`(기본 정규식)로 모두 교체하고 결과를 `stdout`에 출력: + +`{{명령어}} | sed 's/apple/mango/g'` + +- 특정 스크립트 [f]파일을 실행하고 결과를 `stdout`에 출력: + +`{{명령어}} | sed -f {{경로/대상/스크립트_파일.sed}}` + +- 모든 입력 라인에서 `apple`(확장 정규식)을 `APPLE`(확장 정규식)로 모두 교체하고 결과를 `stdout`에 출력: + +`{{명령어}} | sed -E 's/(apple)/\U\1/g'` + +- 첫 번째 라인만 `stdout`에 출력: + +`{{명령어}} | sed -n '1p'` + +- `file` 내 모든 `apple`(기본 정규식)을 `mango`(기본 정규식)로 교체하고 원본을 `file.bak`으로 백업 저장: + +`sed -i bak 's/apple/mango/g' {{경로/대상/파일}}` diff --git a/pages.ko/osx/setfile.md b/pages.ko/osx/setfile.md new file mode 100644 index 00000000000000..2d2f24bc16f14f --- /dev/null +++ b/pages.ko/osx/setfile.md @@ -0,0 +1,16 @@ +# setfile + +> HFS+ 디렉터리 내 파일의 속성을 설정합니다. +> 더 많은 정보: . + +- 특정 파일의 생성 날짜 설정: + +`setfile -d "{{MM/DD/YYYY HH:MM:SS}}" {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 특정 파일의 수정 날짜 설정: + +`setfile -m "{{MM/DD/YYYY HH:MM:SS}}" {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- 심볼릭 링크 파일의 수정 날짜 설정 (링크된 파일 자체는 아님): + +`setfile -P -m "{{MM/DD/YYYY HH:MM:SS}}" {{경로/대상/파일1 경로/대상/파일2 ...}}` diff --git a/pages.ko/osx/shortcuts.md b/pages.ko/osx/shortcuts.md new file mode 100644 index 00000000000000..2a4453f44cb5b2 --- /dev/null +++ b/pages.ko/osx/shortcuts.md @@ -0,0 +1,21 @@ +# shortcuts + +> 바로 가기 관리. +> 참고: `Shortcuts` 앱도 사용할 수 있습니다. +> 더 많은 정보: . + +- 지정된 바로 가기 실행 (`Count holidays`): + +`shortcuts run "{{Count holidays}}"` + +- 모든 바로 가기 출력: + +`shortcuts list` + +- 모든 바로 가기 폴더 출력: + +`shortcuts list --folders` + +- 지정된 바로 가기를 Shortcuts 편집기에서 열기 (`Count holidays`): + +`shortcuts view "{{Count holidays}}"` diff --git a/pages.ko/osx/shuf.md b/pages.ko/osx/shuf.md new file mode 100644 index 00000000000000..38d7c66855fdba --- /dev/null +++ b/pages.ko/osx/shuf.md @@ -0,0 +1,20 @@ +# shuf + +> 무작위 순열 생성. +> 더 많은 정보: . + +- 파일의 줄 순서를 무작위로 변환하여 결과 출력: + +`shuf {{경로/대상/파일}}` + +- 결과의 처음 5개 항목만 출력: + +`shuf --head-count=5 {{경로/대상/파일}}` + +- 출력을 다른 파일에 쓰기: + +`shuf {{경로/대상/입력_파일}} --output {{경로/대상/출력_파일}}` + +- 1에서 10까지의 범위에서 무작위 숫자 생성: + +`shuf --input-range=1-10` diff --git a/pages.ko/osx/shutdown.md b/pages.ko/osx/shutdown.md new file mode 100644 index 00000000000000..fe3f2ba55874a0 --- /dev/null +++ b/pages.ko/osx/shutdown.md @@ -0,0 +1,28 @@ +# shutdown + +> 시스템을 종료하고 재부팅합니다. +> 더 많은 정보: . + +- 즉시 시스템 전원 끄기 (정지): + +`shutdown -h now` + +- 즉시 절전 모드로 전환: + +`shutdown -s now` + +- 즉시 재부팅: + +`shutdown -r now` + +- 5분 후 재부팅: + +`shutdown -r "+{{5}}"` + +- 오후 1시에 시스템 전원 끄기 (24시간 형식 사용): + +`shutdown -h {{1300}}` + +- 2042년 5월 10일 오전 11시 30분에 재부팅 (입력 형식: YYMMDDHHMM): + +`shutdown -r {{4205101130}}` diff --git a/pages.ko/osx/signal.md b/pages.ko/osx/signal.md new file mode 100644 index 00000000000000..ce5207e50df422 --- /dev/null +++ b/pages.ko/osx/signal.md @@ -0,0 +1,8 @@ +# signal + +> 간소화된 소프트웨어 시그널 기능. +> 더 많은 정보: . + +- macOS에서 시그널에 대한 문서 보기: + +`man signal` diff --git a/pages.ko/osx/sips.md b/pages.ko/osx/sips.md new file mode 100644 index 00000000000000..65f93ef65abce2 --- /dev/null +++ b/pages.ko/osx/sips.md @@ -0,0 +1,29 @@ +# sips + +> Apple Scriptable Image Processing System. +> 래스터/쿼리 이미지 및 ColorSync ICC 프로필. +> 더 많은 정보: . + +- 원본이 수정되지 않도록 출력 디렉터리 지정: + +`sips --out {{경로/대상/출력_폴더}}` + +- 지정된 크기로 이미지 리샘플링 (이미지 비율이 변경될 수 있음): + +`sips --resampleHeightWidth {{1920}} {{300}} {{이미지_파일.ext}}` + +- 높이와 너비가 지정된 크기를 초과하지 않도록 이미지 리샘플링 (대문자 Z 주의): + +`sips --resampleHeightWidthMax {{1920}} {{300}} {{이미지_파일.ext}}` + +- 디렉터리 내 모든 이미지를 960px 너비에 맞게 리샘플링 (비율 유지): + +`sips --resampleWidth {{960}} {{경로/대상/이미지}}` + +- 이미지 색상을 CMYK에서 RGB로 변환: + +`sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{경로/대상/이미지.ext}} {{경로/대상/출력_폴더}}` + +- 이미지에서 ColorSync ICC 프로필 제거: + +`sips --deleteProperty profile --deleteColorManagementProperties {{경로/대상/이미지_파일.ext}}` diff --git a/pages.ko/osx/sntp.md b/pages.ko/osx/sntp.md new file mode 100644 index 00000000000000..e3a0cc92dfc928 --- /dev/null +++ b/pages.ko/osx/sntp.md @@ -0,0 +1,16 @@ +# sntp + +> 매우 간단한 네트워크 시간 프로토콜 클라이언트 프로그램. +> 더 많은 정보: . + +- 지정된 SNTP 서버에 쿼리하고 시간을 표시: + +`sntp {{pool.ntp.org}}` + +- 지정된 SNTP 서버로 시스템 시계를 동기화: + +`sudo sntp -S {{pool.ntp.org}}` + +- 디버그 로깅 활성화: + +`sntp -d {{pool.ntp.org}}` diff --git a/pages.ko/osx/sntpd.md b/pages.ko/osx/sntpd.md new file mode 100644 index 00000000000000..03a06c4b0e875f --- /dev/null +++ b/pages.ko/osx/sntpd.md @@ -0,0 +1,17 @@ +# sntpd + +> SNTP 서버. +> 수동으로 실행해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`sntpd` + +- 기존 상태를 로컬 시계로 덮어쓰고 (계층 1), 다른 (더 높은 계층) 서버와 동기화하지 않고 마스터/주 서버를 실행: + +`sntpd -L` + +- 사용자 지정 파일을 SNTP 상태로 사용: + +`sntpd -z {{경로/대상/state.bin}}` diff --git a/pages.ko/osx/softwareupdate.md b/pages.ko/osx/softwareupdate.md new file mode 100644 index 00000000000000..fec60cb4ed9ac6 --- /dev/null +++ b/pages.ko/osx/softwareupdate.md @@ -0,0 +1,20 @@ +# softwareupdate + +> macOS App Store 앱 업데이트 도구. +> 더 많은 정보: . + +- 사용 가능한 모든 업데이트 나열: + +`softwareupdate --list` + +- 모든 업데이트 다운로드 및 설치: + +`softwareupdate --install --all` + +- 모든 [r]추천 업데이트 다운로드 및 설치: + +`softwareupdate --install --recommended` + +- 특정 앱 다운로드 및 설치: + +`softwareupdate --install {{업데이트_이름}}` diff --git a/pages.ko/osx/spctl.md b/pages.ko/osx/spctl.md new file mode 100644 index 00000000000000..c18996e9c734ba --- /dev/null +++ b/pages.ko/osx/spctl.md @@ -0,0 +1,21 @@ +# spctl + +> 보안 평가 정책 하위 시스템 관리. +> macOS에서 Gatekeeper를 관리하는 도구. +> 더 많은 정보: . + +- Gatekeeper 비활성화: + +`spctl --master-disable` + +- 애플리케이션 실행을 허용하는 규칙 추가 (규칙의 라벨 지정은 선택 사항): + +`spctl --add --label {{규칙_이름}} {{경로/대상/파일}}` + +- Gatekeeper 활성화: + +`spctl --master-enable` + +- 시스템의 모든 규칙 나열: + +`spctl --list` diff --git a/pages.ko/osx/split.md b/pages.ko/osx/split.md new file mode 100644 index 00000000000000..78092893b01021 --- /dev/null +++ b/pages.ko/osx/split.md @@ -0,0 +1,20 @@ +# split + +> 파일을 여러 조각으로 분할합니다. +> 더 많은 정보: . + +- 파일을 각 조각이 10줄씩 되도록 분할 (마지막 조각 제외): + +`split -l 10 {{경로/대상/파일}}` + +- 정규 표현식으로 파일을 분할. 매칭된 라인은 다음 출력 파일의 첫 번째 라인이 됩니다: + +`split -p {{cat|^[dh]og}} {{경로/대상/파일}}` + +- 각 조각이 512바이트가 되도록 파일을 분할 (마지막 조각 제외; 킬로바이트는 512k, 메가바이트는 512m 사용): + +`split -b 512 {{경로/대상/파일}}` + +- 파일을 5개의 파일로 분할. 각 조각은 동일한 크기를 가지도록 분할됩니다 (마지막 조각 제외): + +`split -n 5 {{경로/대상/파일}}` diff --git a/pages.ko/osx/spotify.md b/pages.ko/osx/spotify.md new file mode 100644 index 00000000000000..8df71f82002c3b --- /dev/null +++ b/pages.ko/osx/spotify.md @@ -0,0 +1,28 @@ +# spotify + +> Spotify의 명령줄 인터페이스. +> 더 많은 정보: . + +- 노래 이름으로 찾아 재생: + +`spotify play {{노래_이름}}` + +- 재생목록 이름으로 찾아 재생: + +`spotify play list {{재생목록_이름}}` + +- 재생을 일시 정지(또는 재개): + +`spotify pause` + +- 재생목록에서 다음 노래로 건너뛰기: + +`spotify next` + +- 볼륨 조정: + +`spotify vol {{up|down|값}}` + +- 재생 상태 및 노래 세부 정보 표시: + +`spotify status` diff --git a/pages.ko/osx/stat.md b/pages.ko/osx/stat.md new file mode 100644 index 00000000000000..f745a780f89416 --- /dev/null +++ b/pages.ko/osx/stat.md @@ -0,0 +1,24 @@ +# stat + +> 파일 상태 표시. +> 더 많은 정보: . + +- 파일의 크기, 권한, 생성 및 접근 날짜 등의 속성 표시: + +`stat {{경로/대상/파일}}` + +- 위와 동일하지만 자세히 표시 (Linux의 `stat`와 더 유사하게): + +`stat -x {{경로/대상/파일}}` + +- 파일의 8진수 권한만 표시: + +`stat -f %Mp%Lp {{경로/대상/파일}}` + +- 파일의 소유자와 그룹 표시: + +`stat -f "%Su %Sg" {{경로/대상/파일}}` + +- 파일의 크기를 바이트 단위로 표시: + +`stat -f "%z %N" {{경로/대상/파일}}` diff --git a/pages.ko/osx/sw_vers.md b/pages.ko/osx/sw_vers.md new file mode 100644 index 00000000000000..a432fbfae83613 --- /dev/null +++ b/pages.ko/osx/sw_vers.md @@ -0,0 +1,16 @@ +# sw_vers + +> macOS 운영 체제 버전 정보를 출력합니다. +> 더 많은 정보: . + +- 사용 가능한 모든 정보 출력 (운영 체제 이름, 버전 번호, 빌드): + +`sw_vers` + +- 운영 체제의 버전 번호만 출력: + +`sw_vers -productVersion` + +- 빌드 식별자만 출력: + +`sw_vers -buildVersion` diff --git a/pages.ko/osx/symptomsd.md b/pages.ko/osx/symptomsd.md new file mode 100644 index 00000000000000..5dd2071140c781 --- /dev/null +++ b/pages.ko/osx/symptomsd.md @@ -0,0 +1,9 @@ +# symptomsd + +> `Symptoms.framework`에 대한 서비스를 제공합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`symptomsd` diff --git a/pages.ko/osx/sysctl.md b/pages.ko/osx/sysctl.md new file mode 100644 index 00000000000000..3bb2cd0da1d2b7 --- /dev/null +++ b/pages.ko/osx/sysctl.md @@ -0,0 +1,24 @@ +# sysctl + +> 커널 상태 정보를 확인합니다. +> 더 많은 정보: . + +- 사용 가능한 모든 변수와 값 표시: + +`sysctl -a` + +- Apple 모델 식별자 표시: + +`sysctl -n hw.model` + +- CPU 모델 표시: + +`sysctl -n machdep.cpu.brand_string` + +- 사용 가능한 CPU 기능(MMX, SSE, SSE2, SSE3, AES 등) 표시: + +`sysctl -n machdep.cpu.features` + +- 변경 가능한 커널 상태 변수 설정: + +`sysctl -w {{section.tunable}}={{값}}` diff --git a/pages.ko/osx/system_profiler.md b/pages.ko/osx/system_profiler.md new file mode 100644 index 00000000000000..3b30e5fc6924a4 --- /dev/null +++ b/pages.ko/osx/system_profiler.md @@ -0,0 +1,20 @@ +# system_profiler + +> 시스템 하드웨어 및 소프트웨어 구성 보고. +> 더 많은 정보: . + +- 특정 세부 수준(최소 [개인 정보 없음], 기본 또는 전체)으로 보고서 표시: + +`system_profiler -detailLevel {{수준}}` + +- `System Profiler.app`에서 열 수 있는 전체 시스템 프로파일러 보고서 표시: + +`system_profiler -xml > MyReport.spx` + +- 하드웨어 개요(모델, CPU, 메모리, 시리얼 등) 및 소프트웨어 데이터(시스템, 커널, 이름, 가동 시간 등) 표시: + +`system_profiler SPHardwareDataType SPSoftwareDataType` + +- 시스템 시리얼 번호 출력: + +`system_profiler SPHardwareDataType|grep "Serial Number (system)" | awk '{ print $4 }'` diff --git a/pages.ko/osx/systemsetup.md b/pages.ko/osx/systemsetup.md new file mode 100644 index 00000000000000..e38cb85fbf2c09 --- /dev/null +++ b/pages.ko/osx/systemsetup.md @@ -0,0 +1,24 @@ +# systemsetup + +> 시스템 환경설정 기기 설정 구성. +> 더 많은 정보: . + +- 원격 로그인(SSH) 활성화: + +`systemsetup -setremotelogin on` + +- 시간대, NTP 서버 지정 및 네트워크 시간 활성화: + +`systemsetup -settimezone "{{US/Pacific}}" -setnetworktimeserver {{us.pool.ntp.org}} -setusingnetworktime on` + +- 기기를 절대 절전 모드로 두지 않으며 전원 장애나 커널 패닉 시 자동으로 재시작: + +`systemsetup -setsleep off -setrestartpowerfailure on -setrestartfreeze on` + +- 유효한 시작 디스크 나열: + +`systemsetup -liststartupdisks` + +- 새로운 시작 디스크 지정: + +`systemsetup -setstartupdisk {{경로/대상/폴더}}` diff --git a/pages.ko/osx/systemsoundserverd.md b/pages.ko/osx/systemsoundserverd.md new file mode 100644 index 00000000000000..ab021f0e22374f --- /dev/null +++ b/pages.ko/osx/systemsoundserverd.md @@ -0,0 +1,8 @@ +# systemsoundserverd + +> Core Audio 관련 데몬. +> 수동으로 실행해서는 안 됩니다. + +- 데몬 시작: + +`systemsoundserverd` diff --git a/pages.ko/osx/tail.md b/pages.ko/osx/tail.md new file mode 100644 index 00000000000000..40aab17b27f06c --- /dev/null +++ b/pages.ko/osx/tail.md @@ -0,0 +1,29 @@ +# tail + +> 파일의 마지막 부분을 표시합니다. +> 같이 보기: `head`. +> 더 많은 정보: . + +- 파일에서 마지막 '개수' 줄을 표시: + +`tail -n {{8}} {{경로/대상/파일}}` + +- 특정 행 번호부터 파일 출력: + +`tail -n +{{8}} {{경로/대상/파일}}` + +- 주어진 파일의 끝에서부터 특정 개수의 바이트 출력: + +`tail -c {{8}} {{경로/대상/파일}}` + +- 주어진 파일의 마지막 줄을 출력하고 ``까지 계속 읽기: + +`tail -f {{경로/대상/파일}}` + +- 파일이 접근 불가능해도 ``까지 계속 읽기: + +`tail -F {{경로/대상/파일}}` + +- '파일'의 마지막 '개수' 줄을 표시하고 '초'마다 새로 고침: + +`tail -n {{8}} -s {{10}} -f {{경로/대상/파일}}` diff --git a/pages.ko/osx/tart.md b/pages.ko/osx/tart.md new file mode 100644 index 00000000000000..f0f32d303e38a0 --- /dev/null +++ b/pages.ko/osx/tart.md @@ -0,0 +1,36 @@ +# tart + +> Apple Silicon에서 macOS 및 Linux 가상 머신(VM)을 빌드, 실행 및 관리. +> 더 많은 정보: . + +- 원격 VM 이미지 가져오기: + +`tart pull {{acme.io/org/name:tag}}` + +- 로컬 또는 원격 이미지 소스에서 VM 복제: + +`tart clone {{소스-VM}} {{VM-이름}}` + +- 특정 ipsw 파일에서 새로운 Mac VM 생성: + +`tart create --from-ipsw={{latest|경로/대상/파일.ipsw}} {{VM-이름}}` + +- 기존 VM 실행: + +`tart run {{VM-이름}}` + +- 특정 폴더를 마운트하여 기존 VM 실행: + +`tart run --dir={{경로/대상/폴더}}:{{/경로/대상/로컬_폴더}} {{VM-이름}}` + +- VM 목록 나열: + +`tart list` + +- 실행 중인 VM의 IP 주소 확인: + +`tart ip {{VM-이름}}` + +- VM의 디스플레이 해상도 변경: + +`tart set {{VM-이름}} --display {{640}}x{{400}}` diff --git a/pages.ko/osx/terminal-notifier.md b/pages.ko/osx/terminal-notifier.md new file mode 100644 index 00000000000000..eb88c9e636805c --- /dev/null +++ b/pages.ko/osx/terminal-notifier.md @@ -0,0 +1,20 @@ +# terminal-notifier + +> macOS 사용자 알림을 전송합니다. +> 더 많은 정보: . + +- 알림 전송 (메시지만 필수): + +`terminal-notifier -group {{tldr-info}} -title {{TLDR}} -message '{{TLDR rocks}}'` + +- 소리와 함께 파이프로 전달된 데이터 표시: + +`echo '{{파이프로 전달된 메시지 데이터!}}' | terminal-notifier -sound {{default}}` + +- 알림을 클릭하면 URL 열기: + +`terminal-notifier -message '{{Apple 주식을 확인하세요!}}' -open '{{http://finance.yahoo.com/q?s=AAPL}}'` + +- 알림을 클릭하면 앱 열기: + +`terminal-notifier -message '{{42개의 연락처를 가져왔습니다.}}' -activate {{com.apple.AddressBook}}` diff --git a/pages.ko/osx/textutil.md b/pages.ko/osx/textutil.md new file mode 100644 index 00000000000000..d24b127c7742a9 --- /dev/null +++ b/pages.ko/osx/textutil.md @@ -0,0 +1,24 @@ +# textutil + +> 다양한 형식의 텍스트 파일을 조작. +> 더 많은 정보: . + +- `foo.rtf` 파일에 대한 정보 표시: + +`textutil -info {{경로/대상/foo.rtf}}` + +- `foo.rtf`를 `foo.html`로 변환: + +`textutil -convert {{html}} {{경로/대상/foo.rtf}}` + +- 서식 있는 텍스트를 일반 텍스트로 변환: + +`textutil {{경로/대상/foo.rtf}} -convert {{txt}}` + +- `foo.txt`를 `foo.rtf`로 변환, Times 10 폰트 사용: + +`textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{경로/대상/foo.txt}}` + +- 현재 디렉터리의 모든 RTF 파일을 불러와 내용을 연결하고, 결과를 `index.html`로 작성하며 HTML 제목을 "Several Files"로 설정: + +`textutil -cat {{html}} -title "Several Files" -output {{경로/대상/index.html}} *.rtf` diff --git a/pages.ko/osx/timed.md b/pages.ko/osx/timed.md new file mode 100644 index 00000000000000..3aa1db88589877 --- /dev/null +++ b/pages.ko/osx/timed.md @@ -0,0 +1,9 @@ +# timed + +> 시스템 시간을 동기화하는 서비스(NTP 사용 등). +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`timed` diff --git a/pages.ko/osx/tmutil.md b/pages.ko/osx/tmutil.md new file mode 100644 index 00000000000000..08c4f8855d54a8 --- /dev/null +++ b/pages.ko/osx/tmutil.md @@ -0,0 +1,36 @@ +# tmutil + +> Time Machine 백업을 관리하는 도구. 대부분의 동사는 루트 권한이 필요합니다. +> 더 많은 정보: . + +- HFS+ 드라이브를 백업 대상으로 설정: + +`sudo tmutil setdestination {{경로/대상/디스크_마운트_포인트}}` + +- APF 공유 또는 SMB 공유를 백업 대상으로 설정: + +`sudo tmutil setdestination "{{프로토콜://사용자[:비밀번호]@호스트/공유}}"` + +- 주어진 대상을 목적지 목록에 추가: + +`sudo tmutil setdestination -a {{대상}}` + +- 자동 백업 활성화: + +`sudo tmutil enable` + +- 자동 백업 비활성화: + +`sudo tmutil disable` + +- 백업이 실행 중이 아니라면 시작하고 셸의 제어를 해제: + +`sudo tmutil startbackup` + +- 백업을 시작하고 완료될 때까지 대기: + +`sudo tmutil startbackup -b` + +- 백업 중지: + +`sudo tmutil stopbackup` diff --git a/pages.ko/osx/top.md b/pages.ko/osx/top.md new file mode 100644 index 00000000000000..d7b512b326455d --- /dev/null +++ b/pages.ko/osx/top.md @@ -0,0 +1,24 @@ +# top + +> 실행 중인 프로세스에 대한 동적 실시간 정보 표시. +> 더 많은 정보: . + +- `top` 시작, 모든 옵션은 인터페이스에서 사용 가능: + +`top` + +- 내부 메모리 크기로 프로세스를 정렬하여 `top` 시작 (기본 순서 - 프로세스 ID): + +`top -o mem` + +- CPU 사용량, 실행 시간 순으로 프로세스를 정렬하여 `top` 시작: + +`top -o cpu -O time` + +- 지정된 사용자가 소유한 프로세스만 표시하여 `top` 시작: + +`top -user {{사용자_이름}}` + +- 대화형 명령에 대한 도움말 표시: + +`` diff --git a/pages.ko/osx/translationd.md b/pages.ko/osx/translationd.md new file mode 100644 index 00000000000000..92ffabe4b1522e --- /dev/null +++ b/pages.ko/osx/translationd.md @@ -0,0 +1,8 @@ +# translationd + +> 번역 기능을 활성화합니다. +> 수동으로 호출하지 않아야 합니다. + +- 데몬 시작: + +`translationd` diff --git a/pages.ko/osx/uname.md b/pages.ko/osx/uname.md new file mode 100644 index 00000000000000..f6cd1dafa9652c --- /dev/null +++ b/pages.ko/osx/uname.md @@ -0,0 +1,25 @@ +# uname + +> 현재 머신 및 실행 중인 운영 체제에 대한 세부 정보를 출력합니다. +> 참고: 운영 체제에 대한 추가 정보를 보려면 `sw_vers` 명령어를 시도하십시오. +> 더 많은 정보: . + +- 커널 이름 출력: + +`uname` + +- 시스템 아키텍처 및 프로세서 정보 출력: + +`uname -mp` + +- 커널 이름, 커널 릴리스 및 커널 버전 출력: + +`uname -srv` + +- 시스템 호스트명 출력: + +`uname -n` + +- 사용 가능한 모든 시스템 정보 출력: + +`uname -a` diff --git a/pages.ko/osx/universalaccessd.md b/pages.ko/osx/universalaccessd.md new file mode 100644 index 00000000000000..8e34471b48f838 --- /dev/null +++ b/pages.ko/osx/universalaccessd.md @@ -0,0 +1,9 @@ +# universalaccessd + +> 유니버설 접근 서비스 가져오기. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`universalaccessd` diff --git a/pages.ko/osx/uptime.md b/pages.ko/osx/uptime.md new file mode 100644 index 00000000000000..c77d6adae75662 --- /dev/null +++ b/pages.ko/osx/uptime.md @@ -0,0 +1,8 @@ +# uptime + +> 시스템이 얼마나 오래 실행 중인지 및 기타 정보를 표시합니다. +> 더 많은 정보: . + +- 현재 시간, 시스템 가동 시간, 로그인한 사용자 수 및 기타 정보 출력: + +`uptime` diff --git a/pages.ko/osx/usernoted.md b/pages.ko/osx/usernoted.md new file mode 100644 index 00000000000000..9baaa0caca3ae6 --- /dev/null +++ b/pages.ko/osx/usernoted.md @@ -0,0 +1,9 @@ +# usernoted + +> 알림 서비스를 제공합니다. +> 수동으로 실행해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`usernoted` diff --git a/pages.ko/osx/uuidgen.md b/pages.ko/osx/uuidgen.md new file mode 100644 index 00000000000000..17ffa53c56cc05 --- /dev/null +++ b/pages.ko/osx/uuidgen.md @@ -0,0 +1,8 @@ +# uuidgen + +> 새 UUID(범용 고유 식별자) 문자열 생성. +> 더 많은 정보: . + +- UUID 문자열 생성: + +`uuidgen` diff --git a/pages.ko/osx/valet.md b/pages.ko/osx/valet.md new file mode 100644 index 00000000000000..08720b48c68924 --- /dev/null +++ b/pages.ko/osx/valet.md @@ -0,0 +1,24 @@ +# valet + +> Laravel 개발 환경으로, `http://.test`에서 로컬 터널을 통해 사이트를 호스팅할 수 있습니다. +> 더 많은 정보: . + +- valet 데몬 시작: + +`valet start` + +- 현재 작업 중인 디렉토리를 Valet이 사이트를 검색할 경로로 등록: + +`valet park` + +- '주차된' 경로 보기: + +`valet paths` + +- 전체 디렉토리가 아닌 단일 사이트 제공: + +`valet link {{애플리케이션_이름}}` + +- Ngrok 터널을 통해 프로젝트 공유: + +`valet share` diff --git a/pages.ko/osx/vm_stat.md b/pages.ko/osx/vm_stat.md new file mode 100644 index 00000000000000..c0a65bf5696969 --- /dev/null +++ b/pages.ko/osx/vm_stat.md @@ -0,0 +1,12 @@ +# vm_stat + +> 가상 메모리 통계를 표시합니다. +> 더 많은 정보: . + +- 가상 메모리 통계 표시: + +`vm_stat` + +- 2초 간격으로 5번 보고서 표시: + +`vm_stat -c {{5}} {{2}}` diff --git a/pages.ko/osx/vpnd.md b/pages.ko/osx/vpnd.md new file mode 100644 index 00000000000000..daae968b83ca10 --- /dev/null +++ b/pages.ko/osx/vpnd.md @@ -0,0 +1,29 @@ +# vpnd + +> 수신 VPN 연결을 대기합니다. +> 수동으로 실행하지 마십시오. +> 더 많은 정보: . + +- 데몬 시작: + +`vpnd` + +- 포그라운드에서 데몬 실행: + +`vpnd -x` + +- 포그라운드에서 데몬을 실행하고 로그를 터미널에 출력: + +`vpnd -d` + +- 포그라운드에서 데몬을 실행하고 로그를 터미널에 출력하며 인수를 검증한 후 종료: + +`vpnd -n` + +- 특정 서버 설정으로 데몬 실행: + +`vpnd -i {{서버_ID}}` + +- 도움말 표시: + +`vpnd -h` diff --git a/pages.ko/osx/w.md b/pages.ko/osx/w.md new file mode 100644 index 00000000000000..c6323a9e2aac0a --- /dev/null +++ b/pages.ko/osx/w.md @@ -0,0 +1,17 @@ +# w + +> 로그인한 사용자와 그들이 무엇을 하고 있는지 표시합니다. +> 사용자 로그인, TTY, 원격 호스트, 로그인 시간, 유휴 시간, 현재 프로세스를 출력합니다. +> 더 많은 정보: . + +- 로그인한 사용자 정보 표시: + +`w` + +- 헤더 없이 로그인한 사용자 정보 표시: + +`w -h` + +- 유휴 시간별로 정렬된 로그인한 사용자 정보 표시: + +`w -i` diff --git a/pages.ko/osx/wacaw.md b/pages.ko/osx/wacaw.md new file mode 100644 index 00000000000000..e16565bc9cf9a0 --- /dev/null +++ b/pages.ko/osx/wacaw.md @@ -0,0 +1,24 @@ +# wacaw + +> 연결된 카메라로 정지 사진과 비디오를 촬영. +> 더 많은 정보: . + +- 웹캠으로 사진 촬영: + +`wacaw {{파일명}}` + +- 비디오 녹화: + +`wacaw --video {{파일명}} --duration {{10}}` + +- 사용자 지정 해상도로 사진 촬영: + +`wacaw --width {{너비}} --height {{100}} {{파일명}}` + +- 방금 촬영한 이미지를 클립보드로 복사: + +`wacaw --to-clipboard` + +- 사용 가능한 장치 목록: + +`wacaw --list-devices` diff --git a/pages.ko/osx/warmd.md b/pages.ko/osx/warmd.md new file mode 100644 index 00000000000000..bc24ad6539a973 --- /dev/null +++ b/pages.ko/osx/warmd.md @@ -0,0 +1,9 @@ +# warmd + +> 시작 및 로그인 시 사용되는 캐시를 제어합니다. +> 수동으로 실행하지 마십시오. +> 더 많은 정보: . + +- 데몬 시작: + +`warmd` diff --git a/pages.ko/osx/watchdogd.md b/pages.ko/osx/watchdogd.md new file mode 100644 index 00000000000000..470da7888c9580 --- /dev/null +++ b/pages.ko/osx/watchdogd.md @@ -0,0 +1,9 @@ +# watchdogd + +> Watchdog KEXT와 함께 작동하여 시스템의 건강 상태와 실행 여부를 보장합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`watchdogd` diff --git a/pages.ko/osx/watchlistd.md b/pages.ko/osx/watchlistd.md new file mode 100644 index 00000000000000..e3473f9832c15e --- /dev/null +++ b/pages.ko/osx/watchlistd.md @@ -0,0 +1,9 @@ +# watchlistd + +> Apple TV 앱의 시청 목록을 관리합니다. +> 수동으로 실행하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`watchlistd` diff --git a/pages.ko/osx/wc.md b/pages.ko/osx/wc.md new file mode 100644 index 00000000000000..f7ce9ea8ecc99c --- /dev/null +++ b/pages.ko/osx/wc.md @@ -0,0 +1,24 @@ +# wc + +> 줄, 단어 또는 바이트 수를 계산. +> 더 많은 정보: . + +- [f]파일의 줄 수 계산: + +`wc -l {{경로/대상/파일}}` + +- [f]파일의 단어 수 계산: + +`wc -w {{경로/대상/파일}}` + +- [f]파일의 문자 수(바이트) 계산: + +`wc -c {{경로/대상/파일}}` + +- 멀티바이트 문자 집합을 고려하여 [f]파일의 문자 수 계산: + +`wc -m {{경로/대상/파일}}` + +- `stdin`을 사용하여 순서대로 줄, 단어 및 문자 수(바이트) 계산: + +`{{find .}} | wc` diff --git a/pages.ko/osx/webinspectord.md b/pages.ko/osx/webinspectord.md new file mode 100644 index 00000000000000..cc291288ebc6cd --- /dev/null +++ b/pages.ko/osx/webinspectord.md @@ -0,0 +1,9 @@ +# webinspectord + +> Web Inspector와 WKWebView와 같은 원격 대상 사이에서 명령을 전달합니다. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`webinspectord` diff --git a/pages.ko/osx/whatis.md b/pages.ko/osx/whatis.md new file mode 100644 index 00000000000000..8f99eab99b3789 --- /dev/null +++ b/pages.ko/osx/whatis.md @@ -0,0 +1,12 @@ +# whatis + +> 데이터베이스 파일 세트에서 키워드에 대한 시스템 명령의 짧은 설명을 검색합니다. +> 더 많은 정보: . + +- 키워드에 대한 정보 검색: + +`whatis {{키워드}}` + +- 여러 키워드에 대한 정보 검색: + +`whatis {{키워드1}} {{키워드2}}` diff --git a/pages.ko/osx/wifi-password.md b/pages.ko/osx/wifi-password.md new file mode 100644 index 00000000000000..08c8f272315182 --- /dev/null +++ b/pages.ko/osx/wifi-password.md @@ -0,0 +1,16 @@ +# wifi-password + +> Wi-Fi 비밀번호를 가져옵니다. +> 더 많은 정보: . + +- 현재 로그인한 Wi-Fi의 비밀번호 가져오기: + +`wifi-password` + +- 특정 SSID의 Wi-Fi 비밀번호 가져오기: + +`wifi-password {{ssid}}` + +- 비밀번호만 출력: + +`wifi-password -q` diff --git a/pages.ko/osx/wifivelocityd.md b/pages.ko/osx/wifivelocityd.md new file mode 100644 index 00000000000000..1c5bda7de0cdad --- /dev/null +++ b/pages.ko/osx/wifivelocityd.md @@ -0,0 +1,9 @@ +# wifivelocityd + +> WiFiVelocity 프레임워크를 위한 시스템 컨텍스트 작업을 수행하는 XPC 헬퍼. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`wifivelocityd` diff --git a/pages.ko/osx/wps.md b/pages.ko/osx/wps.md new file mode 100644 index 00000000000000..40bf4dac93e21b --- /dev/null +++ b/pages.ko/osx/wps.md @@ -0,0 +1,9 @@ +# wps + +> AirPort가 무선 보호 설정(Wireless Protected Setup)을 사용하여 네트워크에 연결하는 것을 지원합니다. +> 수동으로 호출해서는 안 됩니다. +> 더 많은 정보: . + +- 데몬 시작: + +`wps` diff --git a/pages.ko/osx/wwand.md b/pages.ko/osx/wwand.md new file mode 100644 index 00000000000000..ef734050cdc1b6 --- /dev/null +++ b/pages.ko/osx/wwand.md @@ -0,0 +1,9 @@ +# wwand + +> USB WWAN 장치 구성 데몬. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`wwand` diff --git a/pages.ko/osx/xartstorageremoted.md b/pages.ko/osx/xartstorageremoted.md new file mode 100644 index 00000000000000..3071585c786d1e --- /dev/null +++ b/pages.ko/osx/xartstorageremoted.md @@ -0,0 +1,9 @@ +# xartstorageremoted + +> xART 원격 저장소 데몬. 코프로세서로부터 저장/가져오기 요청을 수신합니다. +> 수동으로 실행하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`xartstorageremoted` diff --git a/pages.ko/osx/xattr.md b/pages.ko/osx/xattr.md new file mode 100644 index 00000000000000..3f6abe55bf48c3 --- /dev/null +++ b/pages.ko/osx/xattr.md @@ -0,0 +1,24 @@ +# xattr + +> 확장 파일 시스템 속성을 다루는 유틸리티. +> 더 많은 정보: . + +- 주어진 파일의 key:value 확장 속성 나열: + +`xattr -l {{파일}}` + +- 주어진 파일에 속성 작성: + +`xattr -w {{속성_키}} {{속성_값}} {{파일}}` + +- 주어진 파일에서 속성 삭제: + +`xattr -d {{com.apple.quarantine}} {{파일}}` + +- 주어진 파일에서 모든 확장 속성 삭제: + +`xattr -c {{파일}}` + +- 주어진 폴더에서 속성을 재귀적으로 삭제: + +`xattr -rd {{속성_키}} {{폴더}}` diff --git a/pages.ko/osx/xcode-select.md b/pages.ko/osx/xcode-select.md new file mode 100644 index 00000000000000..3164acd6e5f234 --- /dev/null +++ b/pages.ko/osx/xcode-select.md @@ -0,0 +1,25 @@ +# xcode-select + +> Xcode의 다양한 버전과 포함된 개발자 도구 간에 전환. +> 설치 후 Xcode가 이동된 경우 경로를 업데이트하는 데 사용됩니다. +> 더 많은 정보: . + +- Xcode의 명령줄 도구 설치: + +`xcode-select --install` + +- 주어진 경로를 활성 개발자 디렉토리로 선택: + +`xcode-select --switch {{경로/대상/Xcode.app/Contents/Developer}}` + +- 주어진 Xcode 인스턴스를 선택하고 해당 개발자 디렉토리를 활성 디렉토리로 사용: + +`xcode-select --switch {{경로/대상/Xcode_파일.app}}` + +- 현재 선택된 개발자 디렉토리 출력: + +`xcode-select --print-path` + +- 사용자 지정 개발자 디렉토리를 삭제하여 기본 검색 메커니즘을 통해 찾도록 설정: + +`sudo xcode-select --reset` diff --git a/pages.ko/osx/xcodebuild.md b/pages.ko/osx/xcodebuild.md new file mode 100644 index 00000000000000..e0bea848aa6de0 --- /dev/null +++ b/pages.ko/osx/xcodebuild.md @@ -0,0 +1,16 @@ +# xcodebuild + +> Xcode 프로젝트 빌드. +> 더 많은 정보: . + +- 워크스페이스 빌드: + +`xcodebuild -workspace {{워크스페이스_이름.workspace}} -scheme {{스킴_이름}} -configuration {{구성_이름}} clean build SYMROOT={{SYMROOT_경로}}` + +- 프로젝트 빌드: + +`xcodebuild -target {{대상_이름}} -configuration {{구성_이름}} clean build SYMROOT={{SYMROOT_경로}}` + +- SDK 표시: + +`xcodebuild -showsdks` diff --git a/pages.ko/osx/xcodes-runtimes.md b/pages.ko/osx/xcodes-runtimes.md new file mode 100644 index 00000000000000..72d3269e3c02a7 --- /dev/null +++ b/pages.ko/osx/xcodes-runtimes.md @@ -0,0 +1,28 @@ +# xcodes runtimes + +> Xcode 시뮬레이터 런타임 관리. +> 더 많은 정보: . + +- 사용 가능한 모든 시뮬레이터 런타임 표시: + +`xcodes runtimes --include-betas` + +- 시뮬레이터 런타임 다운로드: + +`xcodes runtimes download {{런타임_이름}}` + +- 시뮬레이터 런타임 다운로드 및 설치: + +`xcodes runtimes install {{런타임_이름}}` + +- 특정 iOS/watchOS/tvOS/visionOS 버전의 시뮬레이터 런타임 다운로드/설치 (대소문자 구분하여 작성해야 함): + +`xcodes runtimes {{download|install}} "{{iOS|watchOS|tvOS|visionOS}} {{런타임_버전}}"` + +- 런타임 아카이브를 처음 다운로드할 위치 설정 (기본값은 `~/Downloads`): + +`xcodes runtimes {{download|install}} {{런타임_이름}} --directory {{경로/대상/폴더}}` + +- 시뮬레이터가 성공적으로 설치된 후에도 다운로드한 아카이브 삭제하지 않기: + +`xcodes runtimes install {{런타임_이름}} --keep-archive` diff --git a/pages.ko/osx/xcodes.md b/pages.ko/osx/xcodes.md new file mode 100644 index 00000000000000..a33094819fce4d --- /dev/null +++ b/pages.ko/osx/xcodes.md @@ -0,0 +1,29 @@ +# xcodes + +> 여러 Xcode 버전을 다운로드, 설치 및 관리. +> 같이 보기: `xcodes runtimes`. +> 더 많은 정보: . + +- 설치된 모든 Xcode 버전 나열: + +`xcodes installed` + +- 사용 가능한 모든 Xcode 버전 나열: + +`xcodes list` + +- 버전 번호 또는 경로를 지정하여 Xcode 버전 선택: + +`xcodes select {{xcode_버전|경로/대상/Xcode.app}}` + +- 특정 Xcode 버전 다운로드 및 설치: + +`xcodes install {{xcode_버전}}` + +- 최신 Xcode 릴리스를 설치하고 선택: + +`xcodes install --latest --select` + +- 특정 Xcode 버전 아카이브를 주어진 디렉토리에 다운로드(설치하지 않음): + +`xcodes download {{xcode_버전}} --directory {{경로/대상/폴더}}` diff --git a/pages.ko/osx/xcrun.md b/pages.ko/osx/xcrun.md new file mode 100644 index 00000000000000..09138a1fa6c03e --- /dev/null +++ b/pages.ko/osx/xcrun.md @@ -0,0 +1,28 @@ +# xcrun + +> 개발 도구 및 속성을 실행하거나 찾습니다. +> 더 많은 정보: . + +- 활성 개발자 디렉토리에서 도구를 찾고 실행: + +`xcrun {{도구}} {{인자들}}` + +- 자세한 출력 표시: + +`xcrun {{도구}} {{인자들}} --verbose` + +- 주어진 SDK에 대한 도구 찾기: + +`xcrun --sdk {{SDK_이름}}` + +- 주어진 툴체인에 대한 도구 찾기: + +`xcrun --toolchain {{이름}}` + +- 도움말 표시: + +`xcrun --help` + +- 버전 표시: + +`xcrun --version` diff --git a/pages.ko/osx/xctool.md b/pages.ko/osx/xctool.md new file mode 100644 index 00000000000000..b8f69853973f63 --- /dev/null +++ b/pages.ko/osx/xctool.md @@ -0,0 +1,16 @@ +# xctool + +> Xcode 프로젝트 빌드. +> 더 많은 정보: . + +- 워크스페이스 없이 단일 프로젝트 빌드: + +`xctool -project {{YourProject.xcodeproj}} -scheme {{YourScheme}} build` + +- 워크스페이스의 일부인 프로젝트 빌드: + +`xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} build` + +- 정리하고, 빌드하고, 모든 테스트 실행: + +`xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} clean build test` diff --git a/pages.ko/osx/xed.md b/pages.ko/osx/xed.md new file mode 100644 index 00000000000000..ca2476f4108a9e --- /dev/null +++ b/pages.ko/osx/xed.md @@ -0,0 +1,16 @@ +# xed + +> Xcode에서 파일을 열어 편집합니다. +> 더 많은 정보: . + +- Xcode에서 파일 열기: + +`xed {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- Xcode에서 파일을 열고, 없으면 생성: + +`xed --create {{경로/대상/파일1 경로/대상/파일2 ...}}` + +- Xcode에서 파일을 열고 75번째 줄로 이동: + +`xed --line 75 {{경로/대상/파일}}` diff --git a/pages.ko/osx/xip.md b/pages.ko/osx/xip.md new file mode 100644 index 00000000000000..c2354f64ad6bb6 --- /dev/null +++ b/pages.ko/osx/xip.md @@ -0,0 +1,9 @@ +# xip + +> 안전한 xip 아카이브로 압축 파일을 생성하거나 확장. +> Apple에서 서명한 아카이브만 신뢰되므로, 이 도구는 아카이브 생성에 사용하지 마세요. +> 더 많은 정보: . + +- 아카이브를 현재 작업 디렉토리로 확장: + +`xip --expand {{경로/대상/파일.xip}}` diff --git a/pages.ko/osx/xml2man.md b/pages.ko/osx/xml2man.md new file mode 100644 index 00000000000000..8ee0722a179836 --- /dev/null +++ b/pages.ko/osx/xml2man.md @@ -0,0 +1,16 @@ +# xml2man + +> MPGL을 mdoc으로 컴파일합니다. +> 더 많은 정보: . + +- MPGL 파일을 보기 가능한 man 페이지로 컴파일: + +`xml2man {{경로/대상/명령_파일.mxml}}` + +- MPGL 파일을 특정 출력 파일로 컴파일: + +`xml2man {{경로/대상/서비스_파일.mxml}} {{경로/대상/서비스_파일.7}}` + +- MPGL 파일을 특정 출력 파일로 컴파일하고, 파일이 이미 존재하면 덮어쓰기: + +`xml2man -f {{경로/대상/함수_파일.mxml}} {{경로/대상/함수_파일.3}}` diff --git a/pages.ko/osx/xsand.md b/pages.ko/osx/xsand.md new file mode 100644 index 00000000000000..0cde8f840072f9 --- /dev/null +++ b/pages.ko/osx/xsand.md @@ -0,0 +1,9 @@ +# xsand + +> Xsan 파일 시스템 관리 데몬. Xsan 파일 시스템에 대한 서비스를 제공합니다. +> 수동으로 호출하지 않아야 합니다. +> 더 많은 정보: . + +- 데몬 시작: + +`xsand` diff --git a/pages.ko/osx/xsltproc.md b/pages.ko/osx/xsltproc.md new file mode 100644 index 00000000000000..658527adaebda1 --- /dev/null +++ b/pages.ko/osx/xsltproc.md @@ -0,0 +1,12 @@ +# xsltproc + +> XSLT를 사용하여 XML을 변환하여 출력(주로 HTML 또는 XML)을 생성합니다. +> 더 많은 정보: . + +- 특정 XSLT 스타일시트를 사용하여 XML 파일 변환: + +`xsltproc --output {{경로/대상/출력_파일.html}} {{경로/대상/스타일시트_파일.xslt}} {{경로/대상/파일.xml}}` + +- 스타일시트의 매개변수에 값을 전달: + +`xsltproc --output {{경로/대상/출력_파일.html}} --stringparam "{{이름}}" "{{값}}" {{경로/대상/스타일시트_파일.xslt}} {{경로/대상/xml_파일.xml}}` diff --git a/pages.ko/osx/yaa.md b/pages.ko/osx/yaa.md new file mode 100644 index 00000000000000..970f7141d11278 --- /dev/null +++ b/pages.ko/osx/yaa.md @@ -0,0 +1,28 @@ +# yaa + +> YAA 아카이브 생성 및 조작. +> 더 많은 정보: . + +- 디렉터리에서 아카이브 생성: + +`yaa archive -d {{경로/대상/폴더}} -o {{경로/대상/출력_파일.yaa}}` + +- 파일에서 아카이브 생성: + +`yaa archive -i {{경로/대상/파일}} -o {{경로/대상/출력_파일.yaa}}` + +- 현재 디렉터리에 아카이브 추출: + +`yaa extract -i {{경로/대상/아카이브_파일.yaa}}` + +- 아카이브 내용 나열: + +`yaa list -i {{경로/대상/아카이브_파일.yaa}}` + +- 특정 압축 알고리즘으로 아카이브 생성: + +`yaa archive -a {{알고리즘}} -d {{경로/대상/폴더}} -o {{경로/대상/출력_파일.yaa}}` + +- 8 MB 블록 크기로 아카이브 생성: + +`yaa archive -b 8m -d {{경로/대상/폴더}} -o {{경로/대상/출력_파일.yaa}}` diff --git a/pages.ko/osx/yabai.md b/pages.ko/osx/yabai.md new file mode 100644 index 00000000000000..0012dfd7c4ccf3 --- /dev/null +++ b/pages.ko/osx/yabai.md @@ -0,0 +1,24 @@ +# yabai + +> 바이너리 공간 분할을 기반으로 한 macOS 타일링 윈도우 관리자. +> 더 많은 정보: . + +- 레이아웃 설정을 위한 설정 [m]메시지 전송: + +`yabai -m config layout {{bsp|stack|float}}` + +- 윈도우 간격을 포인트 단위로 설정: + +`yabai -m config window_gap {{10}}` + +- 불투명도 활성화: + +`yabai -m config window_opacity on` + +- 윈도우 그림자 비활성화: + +`yabai -m config window_shadow off` + +- 상태 바 활성화: + +`yabai -m config status_bar on` diff --git a/pages.ko/sunos/devfsadm.md b/pages.ko/sunos/devfsadm.md new file mode 100644 index 00000000000000..f36a2bcaafcc39 --- /dev/null +++ b/pages.ko/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> `/dev`의 관리 명령어입니다. `/dev` 네임스페이스를 유지합니다. +> 더 많은 정보: . + +- 새 디스크 검색: + +`devfsadm -c disk` + +- 미해결된 /dev 링크를 정리하고 새 장치를 검색: + +`devfsadm -C -v` + +- 시뮬레이션 실행 - 변경될 내용을 출력하지만 수정하지 않음: + +`devfsadm -C -v -n` diff --git a/pages.ko/sunos/dmesg.md b/pages.ko/sunos/dmesg.md new file mode 100644 index 00000000000000..9664ea36a3a3b6 --- /dev/null +++ b/pages.ko/sunos/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> 커널 메시지를 `stdout`에 기록합니다. +> 더 많은 정보: . + +- 커널 메시지 표시: + +`dmesg` + +- 시스템에서 사용 가능한 물리적 메모리 양 표시: + +`dmesg | grep -i memory` + +- 한 번에 한 페이지씩 커널 메시지 표시: + +`dmesg | less` diff --git a/pages.ko/sunos/prctl.md b/pages.ko/sunos/prctl.md new file mode 100644 index 00000000000000..6ebfe8a9853dc1 --- /dev/null +++ b/pages.ko/sunos/prctl.md @@ -0,0 +1,16 @@ +# prctl + +> 실행 중인 프로세스, 작업 및 프로젝트의 리소스 제어를 가져오거나 설정합니다. +> 더 많은 정보: . + +- 프로세스 제한 및 권한 검사: + +`prctl {{pid}}` + +- 기계적 분석이 가능한 형식으로 프로세스 제한 및 권한 검사: + +`prctl -P {{pid}}` + +- 실행 중인 프로세스의 특정 제한 가져오기: + +`prctl -n process.max-file-descriptor {{pid}}` diff --git a/pages.ko/sunos/prstat.md b/pages.ko/sunos/prstat.md new file mode 100644 index 00000000000000..b47c94cffd5562 --- /dev/null +++ b/pages.ko/sunos/prstat.md @@ -0,0 +1,24 @@ +# prstat + +> 활성 프로세스 통계를 보고합니다. +> 더 많은 정보: . + +- 모든 프로세스 검토 및 CPU 사용량으로 정렬해 통계 보고: + +`prstat` + +- 모든 프로세스 검토 및 메모리 사용량으로 정렬해 통계 보고: + +`prstat -s rss` + +- 각 사용자에 대한 총 사용량 요약 보고: + +`prstat -t` + +- 마이크로스테이트 프로세스 계정 정보 보고: + +`prstat -m` + +- 매 초마다 상위 5개 CPU 사용 프로세스 목록 출력: + +`prstat -c -n 5 -s cpu 1` diff --git a/pages.ko/sunos/snoop.md b/pages.ko/sunos/snoop.md new file mode 100644 index 00000000000000..ca6593df5370cb --- /dev/null +++ b/pages.ko/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> 네트워크 패킷 스니퍼. +> tcpdump와 동일한 기능을 하는 SunOS 대체품. +> 더 많은 정보: . + +- 특정 네트워크 인터페이스에서 패킷을 캡처: + +`snoop -d {{e1000g0}}` + +- 화면에 표시하는 대신 캡처된 패킷을 파일에 저장: + +`snoop -o {{경로/대상/파일}}` + +- 파일에서 패킷의 상세 프로토콜 레이어 요약 표시: + +`snoop -V -i {{경로/대상/파일}}` + +- 호스트 이름에서 지정된 포트로 가는 네트워크 패킷을 캡처: + +`snoop to port {{포트}} from host {{호스트명}}` + +- 두 IP 주소 간에 교환되는 네트워크 패킷의 hex 덤프를 캡처하고 표시: + +`snoop -x0 -p4 {{ip1}} {{ip2}}` diff --git a/pages.ko/sunos/svcadm.md b/pages.ko/sunos/svcadm.md new file mode 100644 index 00000000000000..65a506eb791966 --- /dev/null +++ b/pages.ko/sunos/svcadm.md @@ -0,0 +1,24 @@ +# svcadm + +> 서비스 인스턴스를 조작합니다. +> 더 많은 정보: . + +- 서비스를 서비스 데이터베이스에서 활성화: + +`svcadm enable {{서비스_이름}}` + +- 서비스 비활성화: + +`svcadm disable {{서비스_이름}}` + +- 실행 중인 서비스 다시 시작: + +`svcadm restart {{서비스_이름}}` + +- 서비스에게 구성 파일을 다시 읽도록 명령: + +`svcadm refresh {{서비스_이름}}` + +- 서비스의 유지보수 상태를 해제하고 시작하도록 명령: + +`svcadm clear {{서비스_이름}}` diff --git a/pages.ko/sunos/svccfg.md b/pages.ko/sunos/svccfg.md new file mode 100644 index 00000000000000..3c78a38eabcefa --- /dev/null +++ b/pages.ko/sunos/svccfg.md @@ -0,0 +1,16 @@ +# svccfg + +> 서비스 구성을 가져오고, 내보내고, 수정합니다. +> 더 많은 정보: . + +- 구성 파일 유효성 검사: + +`svccfg validate {{경로/대상/smf_파일.xml}}` + +- 서비스 구성을 파일로 내보내기: + +`svccfg export {{서비스명}} > {{경로/대상/smf_파일.xml}}` + +- 파일에서 서비스 구성 가져오거나 업데이트: + +`svccfg import {{경로/대상/smf_파일.xml}}` diff --git a/pages.ko/sunos/svcs.md b/pages.ko/sunos/svcs.md new file mode 100644 index 00000000000000..8f2ca8f6bddccf --- /dev/null +++ b/pages.ko/sunos/svcs.md @@ -0,0 +1,24 @@ +# svcs + +> 실행 중인 서비스에 대한 정보를 나열합니다. +> 더 많은 정보: . + +- 모든 실행 중인 서비스를 나열: + +`svcs` + +- 실행되고 있지 않은 서비스를 나열: + +`svcs -vx` + +- 서비스에 대한 정보를 나열: + +`svcs apache` + +- 서비스 로그 파일의 위치 표시: + +`svcs -L apache` + +- 서비스 로그 파일의 끝을 표시: + +`tail $(svcs -L apache)` diff --git a/pages.ko/sunos/truss.md b/pages.ko/sunos/truss.md new file mode 100644 index 00000000000000..fa5f9f29964e3a --- /dev/null +++ b/pages.ko/sunos/truss.md @@ -0,0 +1,25 @@ +# truss + +> 시스템 콜을 추적하는 문제 해결 도구. +> strace와 동일한 기능을 하는 SunOS 대체품. +> 더 많은 정보: . + +- 프로그램을 실행하여 모든 자식 프로세스를 따라가며 추적 시작: + +`truss -f {{프로그램}}` + +- PID에 따라 특정 프로세스 추적 시작: + +`truss -p {{pid}}` + +- 인수 및 환경 변수를 표시하며 프로그램을 실행하여 추적 시작: + +`truss -a -e {{프로그램}}` + +- 각 시스템 콜마다 시간, 호출 및 오류 수를 계산하고 프로그램 종료 시 요약 보고: + +`truss -c -p {{pid}}` + +- 시스템 콜 이름으로 출력을 필터링하여 프로세스 추적: + +`truss -p {{pid}} -t {{시스템_콜_이름}}` diff --git a/pages.ko/windows/add-appxpackage.md b/pages.ko/windows/add-appxpackage.md new file mode 100644 index 00000000000000..f0c0574b3e8a77 --- /dev/null +++ b/pages.ko/windows/add-appxpackage.md @@ -0,0 +1,20 @@ +# Add-AppxPackage + +> 서명된 앱 패키지(`.appx`, `.msix`, `.appxbundle`, `.msixbundle`)를 사용자 계정에 추가하는 PowerShell 유틸리티. +> 더 많은 정보: . + +- 앱 패키지 추가: + +`Add-AppxPackage -Path {{경로\대상\패키지.msix}}` + +- 의존성과 함께 앱 패키지 추가: + +`Add-AppxPackage -Path {{경로\대상\패키지.msix}} -DependencyPath {{경로\대상\의존성.msix}}` + +- 앱 설치 파일을 사용하여 앱 설치: + +`Add-AppxPackage -AppInstallerFile {{경로\대상\앱.appinstaller}}` + +- 서명되지 않은 패키지 추가: + +`Add-AppxPackage -Path {{경로\대상\패키지.msix}} -DependencyPath {{경로\대상\의존성.msix}} -AllowUnsigned` diff --git a/pages.ko/windows/assoc.md b/pages.ko/windows/assoc.md new file mode 100644 index 00000000000000..9d100519119433 --- /dev/null +++ b/pages.ko/windows/assoc.md @@ -0,0 +1,20 @@ +# assoc + +> 파일 확장자와 파일 유형 간의 연결을 표시하거나 변경. +> 더 많은 정보: . + +- 파일 확장자와 파일 유형 간의 모든 연결 나열: + +`assoc` + +- 특정 확장자의 연결된 파일 유형 표시: + +`assoc {{.txt}}` + +- 특정 확장자의 연결된 파일 유형 설정: + +`assoc .{{txt}}={{txtfile}}` + +- `assoc`의 출력을 한 화면씩 보기: + +`assoc | {{more}}` diff --git a/pages.ko/windows/attrib.md b/pages.ko/windows/attrib.md new file mode 100644 index 00000000000000..724c6e2a103e47 --- /dev/null +++ b/pages.ko/windows/attrib.md @@ -0,0 +1,28 @@ +# attrib + +> 파일 또는 디렉터리의 속성을 표시하거나 변경. +> 더 많은 정보: . + +- 현재 디렉터리의 파일에 설정된 모든 속성 표시: + +`attrib` + +- 특정 디렉터리의 파일에 설정된 모든 속성 표시: + +`attrib {{경로\대상\디렉터리}}` + +- 현재 디렉터리의 파일과 [d]디렉터리에 설정된 모든 속성 표시: + +`attrib /d` + +- 현재 디렉터리와 [s]하위 디렉터리의 파일에 설정된 모든 속성 표시: + +`attrib /s` + +- 파일 또는 디렉터리에 `[r]읽기 전용`, `[a]보관`, `[s]시스템`, `[h]숨김`, `콘텐츠 [i]인덱싱 안 함` 속성 추가: + +`attrib +{{r|a|s|h|i}} {{경로\대상\파일_또는_디렉터리1 경로\대상\파일_또는_디렉터리2 ...}}` + +- 파일 또는 디렉터리의 특정 속성 제거: + +`attrib -{{r|a|s|h|i}} {{경로\대상\파일_또는_디렉터리1 경로\대상\파일_또는_디렉터리2 ...}}` diff --git a/pages.ko/windows/azcopy.md b/pages.ko/windows/azcopy.md new file mode 100644 index 00000000000000..38e1701cffea9d --- /dev/null +++ b/pages.ko/windows/azcopy.md @@ -0,0 +1,28 @@ +# azcopy + +> Azure 클라우드 스토리지 계정에 업로드하기 위한 파일 전송 도구. +> 더 많은 정보: . + +- Azure 테넌트에 로그인: + +`azopy login` + +- 로컬 파일 업로드: + +`azcopy copy '{{경로\대상\소스_파일}}' 'https://{{스토리지_계정_이름}}.blob.core.windows.net/{{컨테이너_이름}}/{{블롭_이름}}'` + +- `.txt` 및 `.jpg` 확장자를 가진 파일 업로드: + +`azcopy copy '{{경로\대상\소스_폴더}}' 'https://{{스토리지_계정_이름}}.blob.core.windows.net/{{컨테이너_이름}}' --include-pattern '{{*.txt;*.jpg}}'` + +- 두 Azure 스토리지 계정 간에 컨테이너 직접 복사: + +`azcopy copy 'https://{{소스_스토리지_계정_이름}}.blob.core.windows.net/{{컨테이너_이름}}' 'https://{{목적지_스토리지_계정_이름}}.blob.core.windows.net/{{컨테이너_이름}}'` + +- 로컬 디렉터리와 동기화하고 소스에 더 이상 존재하지 않는 파일을 대상에서 삭제: + +`azcopy sync '{{경로\대상\소스_폴더}}' 'https://{{스토리지_계정_이름}}.blob.core.windows.net/{{컨테이너_이름}}' --recursive --delete-destination=true` + +- 도움말 표시: + +`azcopy --help` diff --git a/pages.ko/windows/bcdboot.md b/pages.ko/windows/bcdboot.md new file mode 100644 index 00000000000000..0b477ff0cdfdaa --- /dev/null +++ b/pages.ko/windows/bcdboot.md @@ -0,0 +1,24 @@ +# bcdboot + +> 부트 파일을 구성하거나 복구. +> 더 많은 정보: . + +- 소스 Windows 폴더의 BCD 파일을 사용하여 시스템 파티션 초기화: + +`bcdboot {{C:\Windows}}` + +- [v]erbose 모드 활성화: + +`bcdboot {{C:\Windows}} /v` + +- 시스템 파티션의 볼륨 문자 지정: + +`bcdboot {{C:\Windows}} /s {{S:}}` + +- [l]ocale 지정: + +`bcdboot {{C:\Windows}} /l {{en-us}}` + +- 지정된 볼륨으로 부트 파일을 복사할 때 [f]irmware 유형 지정: + +`bcdboot {{C:\Windows}} /s {{S:}} /f {{UEFI|BIOS|ALL}}` diff --git a/pages.ko/windows/bleachbit.md b/pages.ko/windows/bleachbit.md new file mode 100644 index 00000000000000..fbaa449b71c4e1 --- /dev/null +++ b/pages.ko/windows/bleachbit.md @@ -0,0 +1,7 @@ +# bleachbit + +> 이 명령은 `bleachbit_console`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr bleachbit_console` diff --git a/pages.ko/windows/bleachbit_console.md b/pages.ko/windows/bleachbit_console.md new file mode 100644 index 00000000000000..2fa2a647b2d872 --- /dev/null +++ b/pages.ko/windows/bleachbit_console.md @@ -0,0 +1,24 @@ +# bleachbit_console + +> 파일 시스템의 정크 파일을 정리. +> 더 많은 정보: . + +- Bleachbit의 그래픽 사용자 인터페이스(GUI) 버전 시작: + +`bleachbit_console.exe --gui` + +- 파일을 영구 삭제: + +`bleachbit_console.exe --shred {{경로/대상/파일}}` + +- 사용 가능한 클리너 옵션 나열: + +`bleachbit_console.exe --list-cleaners` + +- 실제 정리 작업을 수행하기 전에 삭제될 파일과 다른 변경 사항 미리 보기: + +`bleachbit_console.exe --preview {{--preset|cleaner1.option1 cleaner2.* ...}}` + +- 정리 작업 수행 및 파일 삭제: + +`bleachbit_console.exe --clean {{--preset|cleaner1.option1 cleaner2.* ...}}` diff --git a/pages.ko/windows/cd.md b/pages.ko/windows/cd.md new file mode 100644 index 00000000000000..71f452c764ddc1 --- /dev/null +++ b/pages.ko/windows/cd.md @@ -0,0 +1,33 @@ +# cd + +> 현재 작업 중인 디렉토리를 표시하거나 다른 디렉토리로 이동. +> PowerShell에서는 이 명령이 `Set-Location`의 별칭입니다. 이 문서는 Command Prompt(`cmd`) 버전의 `cd`를 기반으로 합니다. +> 더 많은 정보: . + +- PowerShell의 동등한 명령에 대한 문서 보기: + +`tldr set-location` + +- 현재 디렉토리의 경로 표시: + +`cd` + +- 같은 드라이브의 특정 디렉토리로 이동: + +`cd {{경로\대상\디렉토리}}` + +- 다른 [d]rive의 특정 디렉토리로 이동: + +`cd /d {{C}}:{{경로\대상\디렉토리}}` + +- 현재 디렉토리의 상위 디렉토리로 이동: + +`cd ..` + +- 현재 사용자의 홈 디렉토리로 이동: + +`cd %userprofile%` + +- 현재 드라이브의 루트로 이동: + +`cd \` diff --git a/pages.ko/windows/certutil.md b/pages.ko/windows/certutil.md new file mode 100644 index 00000000000000..87c157b4bb85ac --- /dev/null +++ b/pages.ko/windows/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> 인증서 정보를 관리하고 구성하는 도구. +> 더 많은 정보: . + +- 구성 정보 또는 파일 덤프: + +`certutil {{파일_이름}}` + +- 파일을 16진수로 인코딩: + +`certutil -encodehex {{경로\대상\입력_파일}} {{경로\대상\출력_파일}}` + +- 파일을 Base64로 인코딩: + +`certutil -encode {{경로\대상\입력_파일}} {{경로\대상\출력_파일}}` + +- Base64로 인코딩된 파일을 디코딩: + +`certutil -decode {{경로\대상\입력_파일}} {{경로\대상\출력_파일}}` + +- 파일에 대한 암호화 해시 생성 및 표시: + +`certutil -hashfile {{경로\대상\입력_파일}} {{md2|md4|md5|sha1|sha256|sha384|sha512}}` diff --git a/pages.ko/windows/chdir.md b/pages.ko/windows/chdir.md new file mode 100644 index 00000000000000..6f402546a189c6 --- /dev/null +++ b/pages.ko/windows/chdir.md @@ -0,0 +1,12 @@ +# chdir + +> 이 명령은 명령 프롬프트의 `cd` 및 이후 PowerShell의 `Set-Location`의 별칭입니다. +> 더 많은 정보: . + +- 원본 명령 프롬프트 명령에 대한 문서 보기: + +`tldr cd` + +- 원본 PowerShell 명령에 대한 문서 보기: + +`tldr set-location` diff --git a/pages.ko/windows/chkdsk.md b/pages.ko/windows/chkdsk.md new file mode 100644 index 00000000000000..d08fe389622796 --- /dev/null +++ b/pages.ko/windows/chkdsk.md @@ -0,0 +1,20 @@ +# chkdsk + +> 파일 시스템 및 볼륨 메타데이터의 오류를 검사. +> 더 많은 정보: . + +- 검사할 드라이브 문자(콜론 포함), 마운트 지점 또는 볼륨 이름 지정: + +`chkdsk {{볼륨}}` + +- 특정 볼륨의 오류 수정: + +`chkdsk {{볼륨}} /f` + +- 검사 전에 특정 볼륨을 마운트 해제: + +`chkdsk {{볼륨}} /x` + +- 로그 파일 크기를 특정 크기로 변경 (NTFS 전용): + +`chkdsk /l{{크기}}` diff --git a/pages.ko/windows/choco-apikey.md b/pages.ko/windows/choco-apikey.md new file mode 100644 index 00000000000000..7383492dc2d0d3 --- /dev/null +++ b/pages.ko/windows/choco-apikey.md @@ -0,0 +1,20 @@ +# choco apikey + +> Chocolatey 소스의 API 키 관리. +> 더 많은 정보: . + +- 소스 및 해당 API 키 목록 표시: + +`choco apikey` + +- 특정 소스 및 해당 API 키 표시: + +`choco apikey --source "{{소스_URL}}"` + +- 소스에 대한 API 키 설정: + +`choco apikey --source "{{소스_URL}}" --key "{{API_키}}"` + +- 소스에 대한 API 키 제거: + +`choco apikey --source "{{소스_URL}}" --remove` diff --git a/pages.ko/windows/choco-feature.md b/pages.ko/windows/choco-feature.md new file mode 100644 index 00000000000000..2f41f188218390 --- /dev/null +++ b/pages.ko/windows/choco-feature.md @@ -0,0 +1,16 @@ +# choco feature + +> Chocolatey를 통해 기능과 상호작용. +> 더 많은 정보: . + +- 사용 가능한 기능 목록 표시: + +`choco feature list` + +- 기능 활성화: + +`choco feature enable --name {{이름}}` + +- 기능 비활성화: + +`choco feature disable --name {{이름}}` diff --git a/pages.ko/windows/choco-info.md b/pages.ko/windows/choco-info.md new file mode 100644 index 00000000000000..c5abedcbae111c --- /dev/null +++ b/pages.ko/windows/choco-info.md @@ -0,0 +1,20 @@ +# choco info + +> Chocolatey를 사용하여 패키지에 대한 자세한 정보 표시. +> 더 많은 정보: . + +- 특정 패키지에 대한 정보 표시: + +`choco info {{패키지}}` + +- 로컬 패키지에 대한 정보만 표시: + +`choco info {{패키지}} --local-only` + +- 패키지 정보를 받을 사용자 지정 소스 지정: + +`choco info {{패키지}} --source {{source_url|별칭}}` + +- 인증을 위한 사용자 명과 비밀번호 제공: + +`choco info {{사용자_명}} --user {{사용자_명}} --password {{비밀번호}}` diff --git a/pages.ko/windows/choco-install.md b/pages.ko/windows/choco-install.md new file mode 100644 index 00000000000000..76e0f803423d8d --- /dev/null +++ b/pages.ko/windows/choco-install.md @@ -0,0 +1,36 @@ +# choco install + +> Chocolatey를 사용하여 하나 이상의 패키지를 설치합니다. +> 더 많은 정보: . + +- 하나 이상의 패키지 설치: + +`choco install {{패키지1 패키지2 ...}}` + +- 사용자 지정 구성 파일에서 패키지 설치: + +`choco install {{경로\대상\패키지_파일.config}}` + +- 특정 `nuspec` 또는 `nupkg` 파일 설치: + +`choco install {{경로\대상\파일}}` + +- 특정 버전의 패키지 설치: + +`choco install {{패키지}} --version {{버전}}` + +- 여러 버전의 패키지 설치 허용: + +`choco install {{패키지}} --allow-multiple` + +- 모든 프롬프트를 자동으로 확인: + +`choco install {{패키지}} --yes` + +- 패키지를 받을 사용자 지정 소스 지정: + +`choco install {{패키지}} --source {{소스_URL|별칭}}` + +- 인증을 위한 사용자 명과 비밀번호 제공: + +`choco install {{패키지}} --user {{사용자_명}} --password {{비밀번호}}` diff --git a/pages.ko/windows/choco-list.md b/pages.ko/windows/choco-list.md new file mode 100644 index 00000000000000..8f4fca85a27a49 --- /dev/null +++ b/pages.ko/windows/choco-list.md @@ -0,0 +1,28 @@ +# choco list + +> Chocolatey로 패키지 목록 표시. +> 더 많은 정보: . + +- 사용 가능한 모든 패키지 표시: + +`choco list` + +- 로컬에 설치된 모든 패키지 표시: + +`choco list --local-only` + +- 로컬 프로그램을 포함한 목록 표시: + +`choco list --include-programs` + +- 승인된 패키지만 표시: + +`choco list --approved-only` + +- 사용자 정의 소스를 지정하여 패키지 표시: + +`choco list --source {{소스_url|별칭}}` + +- 인증을 위한 사용자 명과 비밀번호 제공: + +`choco list --user {{사용자_명}} --password {{비밀번호}}` diff --git a/pages.ko/windows/choco-new.md b/pages.ko/windows/choco-new.md new file mode 100644 index 00000000000000..95119c7b647283 --- /dev/null +++ b/pages.ko/windows/choco-new.md @@ -0,0 +1,24 @@ +# choco new + +> Chocolatey로 새 패키지 사양 파일 생성. +> 더 많은 정보: . + +- 새 패키지 스켈레톤 생성: + +`choco new {{패키지}}` + +- 특정 버전으로 새 패키지 생성: + +`choco new {{패키지}} --version {{버전}}` + +- 특정 관리자 이름으로 새 패키지 생성: + +`choco new {{패키지}} --maintainer {{관리자_이름}}` + +- 사용자 지정 출력 디렉터리에 새 패키지 생성: + +`choco new {{패키지}} --output-directory {{경로/대상/폴더}}` + +- 특정 32비트 및 64비트 설치 프로그램 URL로 새 패키지 생성: + +`choco new {{패키지}} url="{{url}}" url64="{{url}}"` diff --git a/pages.ko/windows/choco-outdated.md b/pages.ko/windows/choco-outdated.md new file mode 100644 index 00000000000000..5ca72664a64008 --- /dev/null +++ b/pages.ko/windows/choco-outdated.md @@ -0,0 +1,20 @@ +# choco outdated + +> Chocolatey를 사용하여 업데이트가 필요한 패키지 확인. +> 더 많은 정보: . + +- 표 형식으로 업데이트가 필요한 패키지 목록 표시: + +`choco outdated` + +- 고정된 패키지를 출력에서 무시: + +`choco outdated --ignore-pinned` + +- 패키지를 확인할 사용자 지정 소스 지정: + +`choco outdated --source {{source_url|alias}}` + +- 인증을 위한 사용자 명과 비밀번호 제공: + +`choco outdated --user {{사용자_명}} --password {{비밀번호}}` diff --git a/pages.ko/windows/choco-pack.md b/pages.ko/windows/choco-pack.md new file mode 100644 index 00000000000000..35afe4ebddb34e --- /dev/null +++ b/pages.ko/windows/choco-pack.md @@ -0,0 +1,16 @@ +# choco pack + +> NuGet 사양을 `nupkg` 파일로 패키징. +> 더 많은 정보: . + +- NuGet 사양을 `nupkg` 파일로 패키징: + +`choco pack {{경로\대상\사양_파일}}` + +- 결과 파일의 버전을 지정하여 NuGet 사양 패키징: + +`choco pack {{경로\대상\사양_파일}} --version {{버전}}` + +- 특정 디렉토리에 NuGet 사양 패키징: + +`choco pack {{경로\대상\사양_파일}} --output-directory {{경로\대상\출력_디렉토리}}` diff --git a/pages.ko/windows/choco-pin.md b/pages.ko/windows/choco-pin.md new file mode 100644 index 00000000000000..62b905668ce075 --- /dev/null +++ b/pages.ko/windows/choco-pin.md @@ -0,0 +1,21 @@ +# choco pin + +> Chocolatey로 특정 버전의 패키지를 고정. +> 고정된 패키지는 업그레이드 시 자동으로 건너뜁니다. +> 더 많은 정보: . + +- 고정된 패키지 및 해당 버전을 나열: + +`choco pin list` + +- 현재 버전으로 패키지를 고정: + +`choco pin add --name {{패키지}}` + +- 특정 버전으로 패키지를 고정: + +`choco pin add --name {{패키지}} --version {{버전}}` + +- 특정 패키지에 대한 고정을 제거: + +`choco pin remove --name {{패키지}}` diff --git a/pages.ko/windows/choco-push.md b/pages.ko/windows/choco-push.md new file mode 100644 index 00000000000000..3182b9ff82d024 --- /dev/null +++ b/pages.ko/windows/choco-push.md @@ -0,0 +1,12 @@ +# choco-push + +> 컴파일된 NuGet 패키지(`nupkg`)를 패키지 피드에 푸시합니다. +> 더 많은 정보: . + +- 컴파일된 `nupkg`를 지정된 피드에 푸시: + +`choco push --source {{https://push.chocolatey.org/}}` + +- 지정된 피드에 컴파일된 `nupkg`를 푸시하며, 초 단위로 타임아웃 설정 (기본값은 2700): + +`choco push --source {{https://push.chocolatey.org/}} --execution-timeout {{500}}` diff --git a/pages.ko/windows/choco-search.md b/pages.ko/windows/choco-search.md new file mode 100644 index 00000000000000..fa9d30bb0b9e5a --- /dev/null +++ b/pages.ko/windows/choco-search.md @@ -0,0 +1,28 @@ +# choco search + +> Chocolatey로 로컬 또는 원격 패키지를 검색. +> 더 많은 정보: . + +- 패키지 검색: + +`choco search {{쿼리}}` + +- 로컬에서 패키지 검색: + +`choco search {{쿼리}} --local-only` + +- 결과에서 정확히 일치하는 항목만 포함: + +`choco search {{쿼리}} --exact` + +- 모든 프롬프트를 자동으로 확인: + +`choco search {{쿼리}} --yes` + +- 패키지 검색을 위한 사용자 지정 소스 지정: + +`choco search {{쿼리}} --source {{소스_url|별칭}}` + +- 인증을 위한 사용자 명과 비밀번호 제공: + +`choco search {{쿼리}} --user {{사용자_명}} --password {{비밀번호}}` diff --git a/pages.ko/windows/choco-source.md b/pages.ko/windows/choco-source.md new file mode 100644 index 00000000000000..106b998a254615 --- /dev/null +++ b/pages.ko/windows/choco-source.md @@ -0,0 +1,32 @@ +# choco source + +> Chocolatey 패키지 소스 관리. +> 더 많은 정보: . + +- 현재 사용 가능한 소스 나열: + +`choco source list` + +- 새 패키지 소스 추가: + +`choco source add --name {{이름}} --source {{url}}` + +- 자격 증명을 사용하여 새 패키지 소스 추가: + +`choco source add --name {{이름}} --source {{url}} --user {{사용자_명}} --password {{비밀번호}}` + +- 클라이언트 인증서를 사용하여 새 패키지 소스 추가: + +`choco source add --name {{이름}} --source {{url}} --cert {{경로\대상\인증서_파일}}` + +- 패키지 소스 활성화: + +`choco source enable --name {{이름}}` + +- 패키지 소스 비활성화: + +`choco source disable --name {{이름}}` + +- 패키지 소스 제거: + +`choco source remove --name {{이름}}` diff --git a/pages.ko/windows/choco-uninstall.md b/pages.ko/windows/choco-uninstall.md new file mode 100644 index 00000000000000..ed56e5341e8e6b --- /dev/null +++ b/pages.ko/windows/choco-uninstall.md @@ -0,0 +1,24 @@ +# choco uninstall + +> Chocolatey를 사용하여 패키지 제거. +> 더 많은 정보: . + +- 하나 이상의 패키지 제거: + +`choco uninstall {{패키지1 패키지2 ...}}` + +- 특정 버전의 패키지 제거: + +`choco uninstall {{패키지}} --version {{버전}}` + +- 모든 프롬프트를 자동으로 확인: + +`choco uninstall {{패키지}} --yes` + +- 제거 시 모든 의존성 제거: + +`choco uninstall {{패키지}} --remove-dependencies` + +- 모든 패키지 제거: + +`choco uninstall all` diff --git a/pages.ko/windows/choco-upgrade.md b/pages.ko/windows/choco-upgrade.md new file mode 100644 index 00000000000000..a1d5c0f29854cb --- /dev/null +++ b/pages.ko/windows/choco-upgrade.md @@ -0,0 +1,32 @@ +# choco upgrade + +> Chocolatey로 하나 이상의 패키지를 업그레이드. +> 더 많은 정보: . + +- 하나 이상의 패키지 업그레이드: + +`choco upgrade {{패키지1 패키지2 ...}}` + +- 특정 버전으로 패키지 업그레이드: + +`choco upgrade {{패키지}} --version {{버전}}` + +- 모든 패키지 업그레이드: + +`choco upgrade all` + +- 지정된 쉼표로 구분된 패키지를 제외하고 모든 패키지 업그레이드: + +`choco upgrade all --except "{{패키지1,패키지2,...}}"` + +- 모든 프롬프트 자동으로 확인: + +`choco upgrade {{패키지}} --yes` + +- 패키지를 받을 사용자 지정 소스 지정: + +`choco upgrade {{패키지}} --source {{소스_주소|별칭}}` + +- 인증을 위한 사용자 명과 비밀번호 제공: + +`choco upgrade {{패키지}} --user {{사용자_명}} --password {{비밀번호}}` diff --git a/pages.ko/windows/choco.md b/pages.ko/windows/choco.md new file mode 100644 index 00000000000000..ff3551ea9f1070 --- /dev/null +++ b/pages.ko/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> Chocolatey 패키지 관리자. +> `install`과 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- Chocolatey 명령 실행: + +`choco {{명령}}` + +- 도움말 표시: + +`choco -?` + +- 특정 명령에 대한 도움말 표시: + +`choco {{명령}} -?` + +- 버전 표시: + +`choco --version` diff --git a/pages.ko/windows/choice.md b/pages.ko/windows/choice.md new file mode 100644 index 00000000000000..f922573cb3c86e --- /dev/null +++ b/pages.ko/windows/choice.md @@ -0,0 +1,28 @@ +# choice + +> 사용자에게 선택지를 제시하고 선택한 선택지의 색인을 반환합니다. +> 더 많은 정보: . + +- 현재 사용자에게 `Y` 또는 `N` 선택지를 제시: + +`choice` + +- 현재 사용자에게 특정 세트에서 [c]hoice 선택지를 제시: + +`choice /c {{AB}}` + +- 현재 사용자에게 특정 [m]essage와 함께 선택지를 제시: + +`choice /m "{{메시지}}"` + +- 현재 사용자에게 대소문자를 구분하는 [c]ase-[s]ensitive [c]hoice 선택지를 특정 세트에서 제시: + +`choice /cs /c {{Ab}}` + +- 현재 사용자에게 선택지를 제시하고, 특정 [t]ime 내에 [d]efault 선택지를 선호: + +`choice /t {{5}} /d {{N}}` + +- 도움말 표시: + +`choice /?` diff --git a/pages.ko/windows/chrome.md b/pages.ko/windows/chrome.md new file mode 100644 index 00000000000000..591b620492b131 --- /dev/null +++ b/pages.ko/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> 이 명령은 `chromium` 의 에일리어스 (별칭) 입니다. +> 더 많은 정보: . + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr chromium` diff --git a/pages.ko/windows/chromium.md b/pages.ko/windows/chromium.md new file mode 100644 index 00000000000000..ddd27ec1a47a6a --- /dev/null +++ b/pages.ko/windows/chromium.md @@ -0,0 +1,37 @@ +# chromium + +> 주로 Google에서 개발 및 유지 관리하는 오픈 소스 웹 브라우저. +> 참고: 원하는 웹 브라우저에 따라 `chromium` 명령을 `brave`, `google-chrome`, `microsoft-edge`/`msedge`, `opera`, 또는 `vivaldi`로 대체해야 할 수 있습니다. +> 더 많은 정보: . + +- 특정 URL 또는 파일 열기: + +`chromium {{https://example.com|경로/대상/파일.html}}` + +- 시크릿 모드로 열기 (Microsoft Edge의 경우 `--inprivate` 사용): + +`{{chromium --incognito|msedge --inprivate}} {{example.com}}` + +- 새 창으로 열기: + +`chromium --new-window {{example.com}}` + +- 애플리케이션 모드로 열기 (툴바, URL 바, 버튼 등 없이): + +`chromium --app={{https://example.com}}` + +- 프록시 서버 사용: + +`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- 사용자 정의 프로필 디렉토리로 열기: + +`chromium --user-data-dir={{경로/대상/폴더}}` + +- CORS 검증 없이 열기 (API 테스트에 유용): + +`chromium --user-data-dir={{경로/대상/폴더}} --disable-web-security` + +- 열리는 각 탭에 대해 개발자 도구 창과 함께 열기: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.ko/windows/cinst.md b/pages.ko/windows/cinst.md new file mode 100644 index 00000000000000..717b452d592260 --- /dev/null +++ b/pages.ko/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> 이 명령은 `choco install` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr choco install` diff --git a/pages.ko/windows/cipher.md b/pages.ko/windows/cipher.md new file mode 100644 index 00000000000000..80227267d26898 --- /dev/null +++ b/pages.ko/windows/cipher.md @@ -0,0 +1,20 @@ +# cipher + +> NTFS 볼륨에서 디렉터리와 파일의 암호화를 표시하거나 변경. +> 더 많은 정보: . + +- 특정 암호화된 파일 또는 디렉터리에 대한 정보 표시: + +`cipher /c:{{경로\대상\파일_또는_디렉터리}}` + +- 파일 또는 디렉터리를 [e]암호화 (디렉터리가 표시되므로 이후에 추가된 파일도 암호화됨): + +`cipher /e:{{경로\대상\파일_또는_디렉터리}}` + +- 파일 또는 디렉터리 [d]암호 해독: + +`cipher /d:{{경로\대상\파일_또는_디렉터리}}` + +- 파일 또는 디렉터리를 안전하게 제거: + +`cipher /w:{{경로\대상\파일_또는_디렉터리}}` diff --git a/pages.ko/windows/clear-host.md b/pages.ko/windows/clear-host.md new file mode 100644 index 00000000000000..b4accadd338b98 --- /dev/null +++ b/pages.ko/windows/clear-host.md @@ -0,0 +1,9 @@ +# Clear-Host + +> 화면을 지웁니다. +> 참고: 이 명령어는 PowerShell에서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 화면 지우기: + +`cls` diff --git a/pages.ko/windows/clear-recyclebin.md b/pages.ko/windows/clear-recyclebin.md new file mode 100644 index 00000000000000..cdeea222fbabb7 --- /dev/null +++ b/pages.ko/windows/clear-recyclebin.md @@ -0,0 +1,17 @@ +# Clear-RecycleBin + +> 휴지통의 항목을 삭제. +> 이 명령은 PowerShell 버전 5.1 이하 또는 7.1 이상에서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 휴지통의 모든 항목 삭제: + +`Clear-RecycleBin` + +- 특정 드라이브의 휴지통 삭제: + +`Clear-RecycleBin -DriveLetter {{C}}` + +- 추가 확인 없이 휴지통 삭제: + +`Clear-RecycleBin -Force` diff --git a/pages.ko/windows/clear.md b/pages.ko/windows/clear.md new file mode 100644 index 00000000000000..3458a687eb443b --- /dev/null +++ b/pages.ko/windows/clear.md @@ -0,0 +1,7 @@ +# clear + +> PowerShell에서 이 명령은 `Clear-Host`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr clear-host` diff --git a/pages.ko/windows/clip.md b/pages.ko/windows/clip.md new file mode 100644 index 00000000000000..143037c9651610 --- /dev/null +++ b/pages.ko/windows/clip.md @@ -0,0 +1,20 @@ +# clip + +> 입력 내용을 Windows 클립보드에 복사. +> 더 많은 정보: . + +- 명령줄 출력 결과를 Windows 클립보드로 파이프: + +`{{dir}} | clip` + +- 파일의 내용을 Windows 클립보드에 복사: + +`clip < {{경로\대상\파일.ext}}` + +- 끝에 줄 바꿈이 있는 텍스트를 Windows 클립보드에 복사: + +`echo {{일부 텍스트}} | clip` + +- 끝에 줄 바꿈이 없는 텍스트를 Windows 클립보드에 복사: + +`echo | set /p="some text" | clip` diff --git a/pages.ko/windows/clist.md b/pages.ko/windows/clist.md new file mode 100644 index 00000000000000..7bfba96fb5557e --- /dev/null +++ b/pages.ko/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> 이 명령은 `choco list` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr choco list` diff --git a/pages.ko/windows/cls.md b/pages.ko/windows/cls.md new file mode 100644 index 00000000000000..005d7de979e45f --- /dev/null +++ b/pages.ko/windows/cls.md @@ -0,0 +1,13 @@ +# cls + +> 화면을 지웁니다. +> PowerShell에서는 이 명령이 `Clear-Host`의 별칭입니다. 이 문서는 명령 프롬프트(`cmd`) 버전의 `cls`를 기반으로 합니다. +> 더 많은 정보: . + +- 해당 PowerShell 명령의 문서 보기: + +`tldr clear-host` + +- 화면 지우기: + +`cls` diff --git a/pages.ko/windows/cmd.md b/pages.ko/windows/cmd.md new file mode 100644 index 00000000000000..623adaec5ad497 --- /dev/null +++ b/pages.ko/windows/cmd.md @@ -0,0 +1,36 @@ +# cmd + +> Windows 명령 인터프리터. +> 더 많은 정보: . + +- 대화형 셸 세션 시작: + +`cmd` + +- 특정 [c]ommands 실행: + +`cmd /c {{echo Hello world}}` + +- 특정 스크립트 실행: + +`cmd {{경로\대상\script.bat}}` + +- 특정 명령을 실행한 후 대화형 셸로 진입: + +`cmd /k {{echo Hello world}}` + +- 명령 출력에서 `echo`가 비활성화된 대화형 셸 세션 시작: + +`cmd /q` + +- 지연된 [v]ariable 확장이 활성화 또는 비활성화된 대화형 셸 세션 시작: + +`cmd /v:{{on|off}}` + +- 명령 [e]xtensions가 활성화 또는 비활성화된 대화형 셸 세션 시작: + +`cmd /e:{{on|off}}` + +- [u]nicode 인코딩을 사용하는 대화형 셸 세션 시작: + +`cmd /u` diff --git a/pages.ko/windows/cmdkey.md b/pages.ko/windows/cmdkey.md new file mode 100644 index 00000000000000..97a019bd07d21f --- /dev/null +++ b/pages.ko/windows/cmdkey.md @@ -0,0 +1,16 @@ +# cmdkey + +> 저장된 사용자 이름 및 비밀번호를 생성, 표시, 삭제. +> 더 많은 정보: . + +- 모든 사용자 자격 증명 나열: + +`cmdkey /list` + +- 서버에 액세스하는 사용자의 자격 증명 저장: + +`cmdkey /add:{{서버_이름}} /user:{{사용자_이름}}` + +- 특정 대상의 자격 증명 삭제: + +`cmdkey /delete {{대상_이름}}` diff --git a/pages.ko/windows/cmstp.md b/pages.ko/windows/cmstp.md new file mode 100644 index 00000000000000..6c9f43c1acd194 --- /dev/null +++ b/pages.ko/windows/cmstp.md @@ -0,0 +1,36 @@ +# cmstp + +> 연결 서비스 프로필을 관리합니다. +> 더 많은 정보: . + +- 특정 프로필 설치: + +`cmstp "{{경로\대상\프로필_파일}}"` + +- 바탕 화면 바로가기를 생성하지 않고 설치: + +`cmstp /ns "{{경로\대상\프로필_파일}}"` + +- 의존성 검사를 생략하고 설치: + +`cmstp /nf "{{경로\대상\프로필_파일}}"` + +- 현재 사용자만을 위해 설치: + +`cmstp /su "{{경로\대상\프로필_파일}}"` + +- 모든 사용자를 위해 설치 (관리자 권한 필요): + +`cmstp /au "{{경로\대상\프로필_파일}}"` + +- 프롬프트 없이 조용히 설치: + +`cmstp /s "{{경로\대상\프로필_파일}}"` + +- 특정 프로필 제거: + +`cmstp /u "{{경로\대상\프로필_파일}}"` + +- 확인 프롬프트 없이 조용히 제거: + +`cmstp /u /s "{{경로\대상\프로필_파일}}"` diff --git a/pages.ko/windows/color.md b/pages.ko/windows/color.md new file mode 100644 index 00000000000000..12387248840614 --- /dev/null +++ b/pages.ko/windows/color.md @@ -0,0 +1,16 @@ +# color + +> 콘솔의 전경 및 배경 색상을 설정. +> 더 많은 정보: . + +- 콘솔 색상을 기본값으로 설정: + +`color` + +- 사용 가능한 색상 값 및 세부 정보 나열: + +`color /?` + +- 16진수 번호(`1-9,a-f`)를 사용하여 콘솔 전경 및 배경을 특정 색상으로 설정: + +`color {{전경_코드}}{{배경_코드}}` diff --git a/pages.ko/windows/comp.md b/pages.ko/windows/comp.md new file mode 100644 index 00000000000000..c8e695577d90aa --- /dev/null +++ b/pages.ko/windows/comp.md @@ -0,0 +1,37 @@ +# comp + +> 두 파일 또는 파일 집합의 내용을 비교. +> 파일 집합을 비교하려면 와일드카드(*)를 사용. +> 더 많은 정보: . + +- 파일을 대화형으로 비교: + +`comp` + +- 지정된 두 파일 비교: + +`comp {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 두 파일 집합 비교: + +`comp {{경로\대상\폴더1}}\* {{경로\대상\폴더2}}\*` + +- 차이점을 10진수 형식으로 표시: + +`comp /d {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 차이점을 ASCII 형식으로 표시: + +`comp /a {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 차이점에 대한 줄 번호 표시: + +`comp /l {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 대소문자를 구분하지 않고 파일 비교: + +`comp /c {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 각 파일의 처음 5줄만 비교: + +`comp /n=5 {{경로\대상\파일1}} {{경로\대상\파일2}}` diff --git a/pages.ko/windows/cpush.md b/pages.ko/windows/cpush.md new file mode 100644 index 00000000000000..b39b06d2d95bee --- /dev/null +++ b/pages.ko/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> 이 명령은 `choco push` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr choco push` diff --git a/pages.ko/windows/cuninst.md b/pages.ko/windows/cuninst.md new file mode 100644 index 00000000000000..52fd91bbf999c6 --- /dev/null +++ b/pages.ko/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> 이 명령은 `choco uninstall` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr choco uninstall` diff --git a/pages.ko/windows/curl.md b/pages.ko/windows/curl.md new file mode 100644 index 00000000000000..2757505966b068 --- /dev/null +++ b/pages.ko/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> PowerShell에서는 원본 `curl` 프로그램()이 제대로 설치되지 않은 경우 이 명령이 `Invoke-WebRequest`의 별칭일 수 있습니다. +> 더 많은 정보: . + +- 원본 `curl` 명령에 대한 문서 보기: + +`tldr curl -p common` + +- PowerShell의 `Invoke-WebRequest` 명령에 대한 문서 보기: + +`tldr invoke-webrequest` + +- `curl`이 제대로 설치되었는지 버전 번호를 출력하여 확인. 이 명령이 오류로 평가된다면, PowerShell이 이 명령을 `Invoke-WebRequest`로 대체했을 수 있습니다: + +`curl --version` diff --git a/pages.ko/windows/date.md b/pages.ko/windows/date.md new file mode 100644 index 00000000000000..f596dad02aae0d --- /dev/null +++ b/pages.ko/windows/date.md @@ -0,0 +1,16 @@ +# date + +> 시스템 날짜 설정 또는 표시. +> 더 많은 정보: . + +- 현재 시스템 날짜를 표시하고 새 날짜를 입력하라는 메시지를 표시(변경되지 않은 상태로 유지하려면 비워두기): + +`date` + +- 새 날짜를 묻는 메시지를 표시하지 않고 현재 시스템 날짜 표시: + +`date /t` + +- 현재 시스템 날짜를 특정 날짜로 변경: + +`date {{월}}-{{일}}-{{연도}}` diff --git a/pages.ko/windows/del.md b/pages.ko/windows/del.md new file mode 100644 index 00000000000000..b029581c7b7631 --- /dev/null +++ b/pages.ko/windows/del.md @@ -0,0 +1,37 @@ +# del + +> 하나 이상의 파일 삭제. +> PowerShell에서는 이 명령이 `Remove-Item`의 별칭입니다. 이 문서는 명령 프롬프트(`cmd`) 버전의 `del`을 기준으로 합니다. +> 더 많은 정보: . + +- 동등한 PowerShell 명령의 문서 보기: + +`tldr remove-item` + +- 하나 이상의 파일 또는 패턴 삭제: + +`del {{파일_패턴1 파일_패턴2 ...}}` + +- 각 파일을 삭제하기 전에 확인 요청: + +`del {{파일_패턴}} /p` + +- 읽기 전용 파일 강제 삭제: + +`del {{파일_패턴}} /f` + +- 모든 하위 디렉토리에서 파일을 재귀적으로 삭제: + +`del {{파일_패턴}} /s` + +- 글로벌 와일드카드를 기반으로 파일 삭제 시 확인 요청 안 함: + +`del {{파일_패턴}} /q` + +- 도움말 표시 및 사용 가능한 속성 목록 보기: + +`del /?` + +- 지정된 속성을 기반으로 파일 삭제: + +`del {{파일_패턴}} /a {{속성}}` diff --git a/pages.ko/windows/dir.md b/pages.ko/windows/dir.md new file mode 100644 index 00000000000000..6535e674857f30 --- /dev/null +++ b/pages.ko/windows/dir.md @@ -0,0 +1,24 @@ +# dir + +> 디렉토리 내용을 나열. +> 더 많은 정보: . + +- 현재 디렉토리의 내용 표시: + +`dir` + +- 지정된 디렉토리의 내용 표시: + +`dir {{경로\대상\폴더}}` + +- 숨겨진 파일을 포함하여 현재 디렉토리의 내용 표시: + +`dir /a` + +- 숨겨진 파일을 포함하여 지정된 디렉토리의 내용 표시: + +`dir {{경로\대상\폴더}} /a` + +- 추가 정보 없이 디렉토리 및 파일의 간단한 목록 표시: + +`dir /b` diff --git a/pages.ko/windows/diskpart.md b/pages.ko/windows/diskpart.md new file mode 100644 index 00000000000000..516c631e5b554b --- /dev/null +++ b/pages.ko/windows/diskpart.md @@ -0,0 +1,32 @@ +# diskpart + +> 디스크, 볼륨 및 파티션 관리 도구. +> 더 많은 정보: . + +- 관리 명령 프롬프트에서 diskpart를 실행하여 명령줄에 진입: + +`diskpart` + +- 모든 디스크 나열: + +`list disk` + +- 볼륨 선택: + +`select volume {{볼륨}}` + +- 선택된 볼륨에 드라이브 문자 할당: + +`assign letter {{문자}}` + +- 새 파티션 생성: + +`create partition primary` + +- 선택된 볼륨 활성화: + +`active` + +- diskpart 종료: + +`exit` diff --git a/pages.ko/windows/doskey.md b/pages.ko/windows/doskey.md new file mode 100644 index 00000000000000..741bd9defa3760 --- /dev/null +++ b/pages.ko/windows/doskey.md @@ -0,0 +1,32 @@ +# doskey + +> 매크로, Windows 명령 및 명령줄을 관리합니다. +> 더 많은 정보: . + +- 사용 가능한 매크로 나열: + +`doskey /macros` + +- 새 매크로 생성: + +`doskey {{이름}} = "{{명령}}"` + +- 특정 실행 파일에 대한 새 매크로 생성: + +`doskey /exename={{실행파일}} {{이름}} = "{{명령}}"` + +- 매크로 제거: + +`doskey {{이름}} =` + +- 메모리에 저장된 모든 명령 표시: + +`doskey /history` + +- 매크로를 파일에 저장하여 휴대성 확보: + +`doskey /macros > {{경로\대상\macinit_파일}}` + +- 파일에서 매크로 로드: + +`doskey /macrofile = {{경로\대상\macinit_파일}}` diff --git a/pages.ko/windows/driverquery.md b/pages.ko/windows/driverquery.md new file mode 100644 index 00000000000000..1bc6c33851b304 --- /dev/null +++ b/pages.ko/windows/driverquery.md @@ -0,0 +1,32 @@ +# driverquery + +> 설치된 장치 드라이버에 대한 정보를 표시. +> 더 많은 정보: . + +- 설치된 모든 장치 드라이버 목록 표시: + +`driverquery` + +- 지정된 형식으로 드라이버 목록 표시: + +`driverquery /fo {{table|list|csv}}` + +- 서명 여부를 나타내는 열과 함께 드라이버 목록 표시: + +`driverquery /si` + +- 출력 목록에서 헤더 제외: + +`driverquery /nh` + +- 원격 컴퓨터의 드라이버 목록 표시: + +`driverquery /s {{호스트명}} /u {{사용자명}} /p {{비밀번호}}` + +- 자세한 정보와 함께 드라이버 목록 표시: + +`driverquery /v` + +- 도움말 표시: + +`driverquery /?` diff --git a/pages.ko/windows/enable-pnpdevice.md b/pages.ko/windows/enable-pnpdevice.md new file mode 100644 index 00000000000000..e75c48aad9a0b2 --- /dev/null +++ b/pages.ko/windows/enable-pnpdevice.md @@ -0,0 +1,21 @@ +# Enable-PnpDevice + +> Enable-PnpDevice cmdlet은 플러그 앤 플레이(PnP) 장치를 활성화합니다. 장치를 활성화하려면 관리자 계정을 사용해야 합니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 장치 활성화: + +`Enable-PnpDevice -InstanceId 'Get-PnpDevice 명령을 통해 검색된 값'` + +- 비활성화된 모든 PnP 장치 활성화: + +`Get-PnpDevice | Where-Object {$_.Problem -eq 22} | Enable-PnpDevice` + +- 확인 없이 장치 활성화: + +`Enable-PnpDevice -InstanceId 'Get-PnpDevice 명령을 통해 검색된 값' -Confirm:$False` + +- cmdlet 실행 시의 결과를 예측: + +`Enable-PnpDevice -InstanceId 'USB\VID_5986&;PID_0266&;MI_00\7&;1E5D3568&;0&;0000' -WhatIf:$True` diff --git a/pages.ko/windows/eventcreate.md b/pages.ko/windows/eventcreate.md new file mode 100644 index 00000000000000..dddb86cfae045a --- /dev/null +++ b/pages.ko/windows/eventcreate.md @@ -0,0 +1,21 @@ +# eventcreate + +> 이벤트 로그에 사용자 정의 항목을 생성. +> 이벤트 ID는 1에서 1000 사이의 숫자여야 함. +> 더 많은 정보: . + +- 로그에 주어진 ID(1-1000)로 새로운 이벤트 생성: + +`eventcreate /t {{성공|오류|경고|정보}} /id {{id}} /d "{{메시지}}"` + +- 특정 이벤트 로그에 이벤트 생성: + +`eventcreate /l {{로그_이름}} /t {{유형}} /id {{id}} /d "{{메시지}}"` + +- 특정 소스로 이벤트 생성: + +`eventcreate /so {{소스_이름}} /t {{유형}} /id {{id}} /d "{{메시지}}"` + +- 원격 컴퓨터의 이벤트 로그에 이벤트 생성: + +`eventcreate /s {{호스트명}} /u {{사용자명}} /p {{비밀번호}} /t {{유형}} /id {{id}} /d "{{메시지}}"` diff --git a/pages.ko/windows/exit.md b/pages.ko/windows/exit.md new file mode 100644 index 00000000000000..1eb38137e4c3fe --- /dev/null +++ b/pages.ko/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> 현재 CMD 인스턴스 또는 현재 배치 파일을 종료. +> 더 많은 정보: . + +- 현재 CMD 인스턴스 종료: + +`exit` + +- 현재 배치 스크립트 종료: + +`exit /b` + +- 특정 종료 코드를 사용하여 종료: + +`exit {{2}}` diff --git a/pages.ko/windows/expand.md b/pages.ko/windows/expand.md new file mode 100644 index 00000000000000..aa70d8a7ed8fb8 --- /dev/null +++ b/pages.ko/windows/expand.md @@ -0,0 +1,24 @@ +# expand + +> Windows Cabinet 파일 압축 해제. +> 더 많은 정보: . + +- 단일 파일 Cabinet 파일을 지정한 디렉토리로 압축 해제: + +`expand {{경로\대상\파일.cab}} {{경로\대상\디렉토리}}` + +- 소스 Cabinet 파일 내 파일 목록 표시: + +`expand {{경로\대상\파일.cab}} {{경로\대상\디렉토리}} -d` + +- Cabinet 파일의 모든 파일 압축 해제: + +`expand {{경로\대상\파일.cab}} {{경로\대상\디렉토리}} -f:*` + +- Cabinet 파일에서 특정 파일 압축 해제: + +`expand {{경로\대상\파일.cab}} {{경로\대상\디렉토리}} -f:{{경로\대상\파일}}` + +- 압축 해제 시 디렉토리 구조를 무시하고 단일 디렉토리에 추가: + +`expand {{경로\대상\파일.cab}} {{경로\대상\디렉토리}} -i` diff --git a/pages.ko/windows/explorer.md b/pages.ko/windows/explorer.md new file mode 100644 index 00000000000000..ae03c46c2899d4 --- /dev/null +++ b/pages.ko/windows/explorer.md @@ -0,0 +1,16 @@ +# explorer + +> Windows 파일 탐색기. +> 더 많은 정보: . + +- Windows 탐색기 열기: + +`explorer` + +- 현재 디렉토리에서 Windows 탐색기 열기: + +`explorer .` + +- 특정 디렉토리에서 Windows 탐색기 열기: + +`explorer {{경로\대상\폴더}}` diff --git a/pages.ko/windows/fc.md b/pages.ko/windows/fc.md new file mode 100644 index 00000000000000..545abd2898369c --- /dev/null +++ b/pages.ko/windows/fc.md @@ -0,0 +1,33 @@ +# fc + +> 두 파일 또는 파일 집합 간의 차이점을 비교. +> 와일드카드(*)를 사용하여 파일 집합을 비교할 수 있습니다. +> 더 많은 정보: . + +- 지정된 두 파일 비교: + +`fc {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 대소문자를 구분하지 않고 비교: + +`fc /c {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 파일을 유니코드 텍스트로 비교: + +`fc /u {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 파일을 ASCII 텍스트로 비교: + +`fc /l {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 파일을 이진으로 비교: + +`fc /b {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 탭을 공백으로 확장하지 않음: + +`fc /t {{경로\대상\파일1}} {{경로\대상\파일2}}` + +- 비교를 위해 공백(탭 및 공백) 압축: + +`fc /w {{경로\대상\파일1}} {{경로\대상\파일2}}` diff --git a/pages.ko/windows/find.md b/pages.ko/windows/find.md new file mode 100644 index 00000000000000..db1e1ebc2884c7 --- /dev/null +++ b/pages.ko/windows/find.md @@ -0,0 +1,20 @@ +# find + +> 파일에서 지정된 문자열 찾기. +> 더 많은 정보: . + +- 지정된 문자열을 포함하는 줄 찾기: + +`find "{{문자열}}" {{경로\대상\파일_또는_폴더}}` + +- 지정된 문자열을 포함하지 않는 줄 표시: + +`find "{{문자열}}" {{경로\대상\파일_또는_폴더}} /v` + +- 지정된 문자열을 포함하는 줄의 개수 표시: + +`find "{{문자열}}" {{경로\대상\파일_또는_폴더}} /c` + +- 줄 번호와 함께 줄 목록 표시: + +`find "{{문자열}}" {{경로\대상\파일_또는_폴더}} /n` diff --git a/pages.ko/windows/findstr.md b/pages.ko/windows/findstr.md new file mode 100644 index 00000000000000..9d9038d99e4ee7 --- /dev/null +++ b/pages.ko/windows/findstr.md @@ -0,0 +1,36 @@ +# findstr + +> 하나 이상의 파일에서 지정된 텍스트를 찾기. +> 더 많은 정보: . + +- 모든 파일에서 하나 이상의 문자열 찾기: + +`findstr "{{문자열1 문자열2 ...}}" *` + +- 파이프된 명령의 출력에서 하나 이상의 문자열 찾기: + +`{{dir}} | findstr "{{문자열1 문자열2 ...}}"` + +- 모든 파일을 [s]재귀적으로 검색하여 하나 이상의 문자열 찾기: + +`findstr /s "{{문자열1 문자열2 ...}}" *` + +- 대소문자를 구분하지 않고 문자열 찾기: + +`findstr /i "{{문자열1 문자열2 ...}}" *` + +- 정규 표현식을 사용하여 모든 파일에서 문자열 찾기: + +`findstr /r "{{표현식}}" *` + +- 모든 텍스트 파일에서 공백이 포함된 문자열을 그대로 찾기: + +`findstr /c:"{{문자열1 문자열2 ...}}" *.txt` + +- 일치하는 각 줄 앞에 줄 번호 표시: + +`findstr /n "{{문자열1 문자열2 ...}}" *` + +- 일치하는 내용을 포함하는 파일 이름만 표시: + +`findstr /m "{{문자열1 문자열2 ...}}" *` diff --git a/pages.ko/windows/finger.md b/pages.ko/windows/finger.md new file mode 100644 index 00000000000000..8109f90fa633c2 --- /dev/null +++ b/pages.ko/windows/finger.md @@ -0,0 +1,21 @@ +# finger + +> 지정된 시스템의 사용자 정보 반환. +> 원격 시스템은 Finger 서비스를 실행 중이어야 합니다. +> 더 많은 정보: . + +- 특정 사용자에 대한 정보 표시: + +`finger {{사용자}}@{{호스트}}` + +- 지정된 호스트의 모든 사용자에 대한 정보 표시: + +`finger @{{호스트}}` + +- 더 긴 형식으로 정보 표시: + +`finger {{사용자}}@{{호스트}} -l` + +- 도움말 정보 표시: + +`finger /?` diff --git a/pages.ko/windows/fondue.md b/pages.ko/windows/fondue.md new file mode 100644 index 00000000000000..6c4f8e7ed3a644 --- /dev/null +++ b/pages.ko/windows/fondue.md @@ -0,0 +1,16 @@ +# fondue + +> 선택적 Windows 기능 설치. +> 더 많은 정보: . + +- 특정 Windows 기능 활성화: + +`fondue /enable-feature:{{기능}}` + +- 사용자에게 모든 출력 메시지 숨기기: + +`fondue /enable-feature:{{기능}} /hide-ux:all` + +- 오류 보고를 위한 호출자 프로세스 이름 지정: + +`fondue /enable-feature:{{기능}} /caller-name:{{이름}}` diff --git a/pages.ko/windows/for.md b/pages.ko/windows/for.md new file mode 100644 index 00000000000000..9e8c3d210cb4bf --- /dev/null +++ b/pages.ko/windows/for.md @@ -0,0 +1,24 @@ +# for + +> 조건에 따라 명령을 여러 번 실행. +> 더 많은 정보: . + +- 지정된 집합에 대해 명령 실행: + +`for %{{변수}} in ({{항목_a 항목_b 항목_c}}) do ({{echo 루프가 실행됩니다}})` + +- 주어진 숫자 범위를 반복: + +`for /l %{{변수}} in ({{시작}}, {{단계}}, {{끝}}) do ({{echo 루프가 실행됩니다}})` + +- 주어진 파일 목록을 반복: + +`for %{{변수}} in ({{경로\대상\파일1.ext 경로\대상\파일2.ext ...}}) do ({{echo 루프가 실행됩니다}})` + +- 주어진 디렉토리 목록을 반복: + +`for /d %{{변수}} in ({{경로\대상\폴더1.ext 경로\대상\폴더2.ext ...}}) do ({{echo 루프가 실행됩니다}})` + +- 모든 디렉토리에서 지정된 명령 수행: + +`for /d %{{변수}} in (*) do (if exist %{{변수}} {{echo 루프가 실행됩니다}})` diff --git a/pages.ko/windows/forfiles.md b/pages.ko/windows/forfiles.md new file mode 100644 index 00000000000000..29c179b5a92e37 --- /dev/null +++ b/pages.ko/windows/forfiles.md @@ -0,0 +1,28 @@ +# forfiles + +> 지정한 명령어를 실행할 파일을 선택. +> 더 많은 정보: . + +- 현재 디렉토리에서 파일 검색: + +`forfiles` + +- 특정 디렉토리에서 파일 검색: + +`forfiles /p {{경로\대상\폴더}}` + +- 각 파일에 대해 지정된 명령어 실행: + +`forfiles /c "{{명령어}}"` + +- 특정 글로브 패턴을 사용하여 파일 검색: + +`forfiles /m {{글로브_패턴}}` + +- 파일을 재귀적으로 검색: + +`forfiles /s` + +- 5일 이상된 파일 검색: + +`forfiles /d +{{5}}` diff --git a/pages.ko/windows/fsutil.md b/pages.ko/windows/fsutil.md new file mode 100644 index 00000000000000..ae3ae15fae5ad9 --- /dev/null +++ b/pages.ko/windows/fsutil.md @@ -0,0 +1,24 @@ +# fsutil + +> 파일 시스템 볼륨에 대한 정보를 표시. +> 더 많은 정보: . + +- 볼륨 목록 표시: + +`fsutil volume list` + +- 볼륨의 파일 시스템 정보 표시: + +`fsutil fsInfo volumeInfo {{드라이브_문자|볼륨_경로}}` + +- 모든 볼륨의 파일 시스템 자동 복구 현재 상태 표시: + +`fsutil repair state` + +- 모든 볼륨의 더티 비트 상태 표시: + +`fsutil dirty query` + +- 볼륨의 더티 비트 상태 설정: + +`fsutil dirty set {{드라이브_문자|볼륨_경로}}` diff --git a/pages.ko/windows/ftp.md b/pages.ko/windows/ftp.md new file mode 100644 index 00000000000000..cc7edcfc920ebc --- /dev/null +++ b/pages.ko/windows/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> 로컬 및 원격 FTP 서버 간에 파일을 상호작용하며 전송. +> 더 많은 정보: . + +- 원격 FTP 서버에 상호작용하며 연결: + +`ftp {{호스트}}` + +- 익명 사용자로 로그인: + +`ftp -A {{호스트}}` + +- 초기 연결 시 자동 로그인 비활성화: + +`ftp -n {{호스트}}` + +- FTP 명령 목록이 포함된 파일 실행: + +`ftp -s:{{경로\대상\파일}} {{호스트}}` + +- 여러 파일 다운로드(글롭 표현식): + +`mget {{*.png}}` + +- 여러 파일 업로드(글롭 표현식): + +`mput {{*.zip}}` + +- 원격 서버에서 여러 파일 삭제: + +`mdelete {{*.txt}}` + +- 도움말 표시: + +`ftp --help` diff --git a/pages.ko/windows/ftype.md b/pages.ko/windows/ftype.md new file mode 100644 index 00000000000000..f1ae6c22f3c664 --- /dev/null +++ b/pages.ko/windows/ftype.md @@ -0,0 +1,16 @@ +# ftype + +> 파일 확장자 연결에 사용되는 파일 형식을 표시하거나 수정. +> 더 많은 정보: . + +- 모든 파일 형식 목록 표시: + +`ftype` + +- 특정 파일 형식에 연결된 프로그램 표시: + +`ftype {{파일_형식}}` + +- 특정 파일 형식에 연결된 프로그램 설정: + +`ftype {{파일_형식}}="{{경로/대상/실행_파일}}"` diff --git a/pages.ko/windows/gal.md b/pages.ko/windows/gal.md new file mode 100644 index 00000000000000..4a3e1d47fc93b3 --- /dev/null +++ b/pages.ko/windows/gal.md @@ -0,0 +1,7 @@ +# gal + +> PowerShell에서 이 명령어는 `Get-Alias` 의 별칭입니다. + +- 원본 명령어의 문서 보기: + +`tldr get-alias` diff --git a/pages.ko/windows/gcrane-completion.md b/pages.ko/windows/gcrane-completion.md new file mode 100644 index 00000000000000..202523f9488ff3 --- /dev/null +++ b/pages.ko/windows/gcrane-completion.md @@ -0,0 +1,25 @@ +# gcrane completion + +> gcrane에 대한 자동 완성 스크립트를 생성합니다. +> 사용 가능한 쉘은 `bash`, `fish`, `powershell`, 및 `zsh`입니다. +> 더 많은 정보: . + +- 쉘에 대한 자동 완성 스크립트 생성: + +`gcrane completion {{쉘_이름}}` + +- 자동 완성 설명 비활성화: + +`gcrane completion {{쉘_이름}} --no-descriptions` + +- 현재 쉘 세션에 자동 완성 로드 (powershell): + +`gcrane completion powershell | Out-String | Invoke-Expression` + +- 새 세션에 대한 자동 완성 로드 (powershell): + +`gcrane completion powershell | Out-String | Invoke-Expression` + +- 도움말 표시: + +`gcrane completion {{쉘_이름}} {{[-h|--help]}}` diff --git a/pages.ko/windows/get-acl.md b/pages.ko/windows/get-acl.md new file mode 100644 index 00000000000000..2a5c299b40cfc5 --- /dev/null +++ b/pages.ko/windows/get-acl.md @@ -0,0 +1,13 @@ +# Get-Acl + +> 파일이나 레지스트리 키와 같은 리소스의 보안 설명자를 가져옵니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 특정 디렉토리의 ACL 표시: + +`Get-Acl {{경로\대상\폴더}}` + +- 레지스트리 키의 ACL 가져오기: + +`Get-Acl -Path {{HKLM:\System\CurrentControlSet\Control}} | Format-List` diff --git a/pages.ko/windows/get-alias.md b/pages.ko/windows/get-alias.md new file mode 100644 index 00000000000000..ace1e10cd75146 --- /dev/null +++ b/pages.ko/windows/get-alias.md @@ -0,0 +1,21 @@ +# Get-Alias + +> 현재 PowerShell 세션에서 명령 별칭을 나열하고 가져옵니다. +> 이 명령은 PowerShell에서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 현재 세션의 모든 별칭 나열: + +`Get-Alias` + +- 별칭이 가리키는 명령 이름 가져오기: + +`Get-Alias {{명령_별칭}}` + +- 특정 명령에 할당된 모든 별칭 나열: + +`Get-Alias -Definition {{명령}}` + +- `abc`로 시작하고 `def`로 끝나지 않는 별칭 나열: + +`Get-Alias {{abc}}* -Exclude *{{def}}` diff --git a/pages.ko/windows/get-childitem.md b/pages.ko/windows/get-childitem.md new file mode 100644 index 00000000000000..5f27a95ce7fbc3 --- /dev/null +++ b/pages.ko/windows/get-childitem.md @@ -0,0 +1,25 @@ +# Get-ChildItem + +> 디렉토리의 항목 나열. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 현재 디렉토리의 숨겨지지 않은 모든 항목 나열: + +`Get-ChildItem` + +- 현재 디렉토리의 디렉토리만 나열: + +`Get-ChildItem -Directory` + +- 현재 디렉토리의 파일만 나열: + +`Get-ChildItem -File` + +- 숨겨진 항목을 포함하여 현재 디렉토리의 항목 나열: + +`Get-ChildItem -Hidden` + +- 현재 디렉토리가 아닌 다른 디렉토리의 항목 나열: + +`Get-ChildItem -Path {{경로\대상\폴더}}` diff --git a/pages.ko/windows/get-command.md b/pages.ko/windows/get-command.md new file mode 100644 index 00000000000000..0a367363d44991 --- /dev/null +++ b/pages.ko/windows/get-command.md @@ -0,0 +1,29 @@ +# Get-Command + +> 현재 PowerShell 세션에서 사용 가능한 명령을 나열하고 가져옴. +> 이 명령은 PowerShell을 통해서만 실행 가능. +> 더 많은 정보: . + +- 현재 컴퓨터에서 사용 가능한 모든 PowerShell 명령(별칭, cmdlet, 함수) 나열: + +`Get-Command` + +- 현재 세션에서 사용 가능한 모든 PowerShell 명령 나열: + +`Get-Command -ListImported` + +- 컴퓨터에서 사용 가능한 PowerShell 별칭/cmdlet/함수만 나열: + +`Get-Command -Type {{별칭|Cmdlet|함수}}` + +- 현재 세션에서 PATH에 있는 프로그램이나 명령만 나열: + +`Get-Command -Type Application` + +- 모듈 이름으로 PowerShell 명령만 나열, 예: 유틸리티 관련 명령은 `Microsoft.PowerShell.Utility`: + +`Get-Command -Module {{모듈}}` + +- 이름으로 명령 정보(예: 버전 번호나 모듈 이름) 가져오기: + +`Get-Command {{명령}}` diff --git a/pages.ko/windows/get-content.md b/pages.ko/windows/get-content.md new file mode 100644 index 00000000000000..38fc50dda88d38 --- /dev/null +++ b/pages.ko/windows/get-content.md @@ -0,0 +1,17 @@ +# Get-Content + +> 지정된 위치에 있는 항목의 내용을 가져옵니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 파일의 내용 표시: + +`Get-Content -Path {{경로\대상\파일}}` + +- 파일의 처음 몇 줄 표시: + +`Get-Content -Path {{경로\대상\파일}} -TotalCount {{10}}` + +- 파일의 내용을 표시하고 ``를 누를 때까지 계속 읽기: + +`Get-Content -Path {{경로\대상\파일}} -Wait` diff --git a/pages.ko/windows/get-date.md b/pages.ko/windows/get-date.md new file mode 100644 index 00000000000000..7fad04daa7bce1 --- /dev/null +++ b/pages.ko/windows/get-date.md @@ -0,0 +1,21 @@ +# Get-Date + +> 현재 날짜와 시간을 가져옵니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 현재 날짜와 시간을 표시: + +`Get-Date` + +- .NET 형식 지정자로 현재 날짜와 시간 표시: + +`Get-Date -Format "{{yyyy-MM-dd HH:mm:ss}}"` + +- UTC 및 ISO 8601 형식으로 현재 날짜와 시간 표시: + +`(Get-Date).ToUniversalTime()` + +- 유닉스 타임스탬프 변환: + +`Get-Date -UnixTimeSeconds {{1577836800}}` diff --git a/pages.ko/windows/get-dedupproperties.md b/pages.ko/windows/get-dedupproperties.md new file mode 100644 index 00000000000000..0b4b6cd55858ad --- /dev/null +++ b/pages.ko/windows/get-dedupproperties.md @@ -0,0 +1,17 @@ +# Get-DedupProperties + +> 데이터 중복 제거 정보 가져오기. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 드라이브의 데이터 중복 제거 정보 가져오기: + +`Get-DedupProperties -DriveLetter 'C'` + +- 드라이브 레이블을 사용하여 데이터 중복 제거 정보 가져오기: + +`Get-DedupProperties -FileSystemLabel 'Label'` + +- 입력 객체를 사용하여 드라이브의 데이터 중복 제거 정보 가져오기: + +`Get-DedupProperties -InputObject $(Get-Volume -DriveLetter 'E')` diff --git a/pages.ko/windows/get-filehash.md b/pages.ko/windows/get-filehash.md new file mode 100644 index 00000000000000..3757325c7ba608 --- /dev/null +++ b/pages.ko/windows/get-filehash.md @@ -0,0 +1,13 @@ +# Get-FileHash + +> 파일의 해시를 계산. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- SHA256 알고리즘을 사용하여 지정된 파일의 해시 계산: + +`Get-FileHash {{경로\대상\파일}}` + +- 지정된 알고리즘을 사용하여 지정된 파일의 해시 계산: + +`Get-FileHash {{경로\대상\파일}} -Algorithm {{SHA1|SHA384|SHA256|SHA512|MD5}}` diff --git a/pages.ko/windows/get-help.md b/pages.ko/windows/get-help.md new file mode 100644 index 00000000000000..b088d2e41ac607 --- /dev/null +++ b/pages.ko/windows/get-help.md @@ -0,0 +1,37 @@ +# Get-Help + +> PowerShell 명령(별칭, cmdlet, 함수)에 대한 도움말 정보와 문서를 표시. +> 이 명령은 PowerShell을 통해서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 특정 PowerShell 명령에 대한 일반적인 도움말 정보 표시: + +`Get-Help {{명령}}` + +- 특정 PowerShell 명령에 대한 자세한 문서 표시: + +`Get-Help {{명령}} -Detailed` + +- 특정 PowerShell 명령에 대한 전체 기술 문서 표시: + +`Get-Help {{명령}} -Full` + +- 특정 PowerShell 명령의 특정 매개변수 문서만 표시 (가능한 경우 `*`을 사용하여 모든 매개변수 표시): + +`Get-Help {{명령}} -Parameter {{매개변수}}` + +- cmdlet의 예제만 표시 (가능한 경우): + +`Get-Help {{명령}} -Examples` + +- 사용 가능한 모든 cmdlet 도움말 페이지 나열: + +`Get-Help *` + +- `Update-Help`를 사용하여 현재 도움말 및 문서 지식베이스 업데이트: + +`Update-Help` + +- 기본 웹 브라우저에서 PowerShell 명령 문서의 온라인 버전 보기: + +`Get-Help {{명령}} -Online` diff --git a/pages.ko/windows/get-history.md b/pages.ko/windows/get-history.md new file mode 100644 index 00000000000000..36f7929d2adea0 --- /dev/null +++ b/pages.ko/windows/get-history.md @@ -0,0 +1,17 @@ +# Get-History + +> PowerShell 명령 히스토리 표시. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- ID와 함께 명령 히스토리 목록 표시: + +`Get-History` + +- ID로 PowerShell 히스토리 항목 가져오기: + +`Get-History -Id {{id}}` + +- 마지막 N개의 명령 표시: + +`Get-History -Count {{10}}` diff --git a/pages.ko/windows/get-location.md b/pages.ko/windows/get-location.md new file mode 100644 index 00000000000000..93e704d33e5b6c --- /dev/null +++ b/pages.ko/windows/get-location.md @@ -0,0 +1,9 @@ +# Get-Location + +> 현재 작업 중인 디렉토리의 이름 출력. +> 이 명령은 PowerShell에서만 실행 가능. +> 더 많은 정보: . + +- 현재 디렉토리 출력: + +`Get-Location` diff --git a/pages.ko/windows/get-wuapiversion.md b/pages.ko/windows/get-wuapiversion.md new file mode 100644 index 00000000000000..444d90443b6fb3 --- /dev/null +++ b/pages.ko/windows/get-wuapiversion.md @@ -0,0 +1,13 @@ +# Get-WUApiVersion + +> Windows 업데이트 에이전트 버전을 확인합니다. 외부 `PSWindowsUpdate` 모듈의 일부입니다. +> 이 명령은 PowerShell에서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 현재 설치된 Windows 업데이트 에이전트 버전 확인: + +`Get-WUApiVersion` + +- 현재 설정 데이터를 이메일(SMTP)로 전송: + +`Get-WUApiVersion -SendReport -PSWUSettings @{SmtpServer="{{smtp_서버}}"; Port={{smtp_포트}} From="{{이메일_보낸이}}" To="{{이메일_받는이}}"}` diff --git a/pages.ko/windows/get-wuhistory.md b/pages.ko/windows/get-wuhistory.md new file mode 100644 index 00000000000000..f03201d0eef0e9 --- /dev/null +++ b/pages.ko/windows/get-wuhistory.md @@ -0,0 +1,25 @@ +# Get-WUHistory + +> Windows Update에서 설치된 업데이트의 기록을 가져옵니다. 외부 `PSWindowsUpdate` 모듈의 일부입니다. +> 이 명령은 PowerShell에서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 업데이트 기록 목록 가져오기: + +`Get-WUHistory` + +- 최근 10개의 설치된 업데이트 나열: + +`Get-WUHistory -Last {{10}}` + +- 특정 날짜부터 오늘까지 설치된 모든 업데이트 나열: + +`Get-WUHistory -MaxDate {{날짜}}` + +- 지난 24시간 동안 설치된 모든 업데이트 나열: + +`Get-WUHistory -MaxDate (Get-Date).AddDays(-1)` + +- 결과를 이메일(SMTP)로 전송: + +`Get-WUHistory -SendReport -PSWUSettings @{SmtpServer="{{smtp_서버}}"; Port={{smtp_포트}} From="{{발신자_이메일}}" To="{{수신자_이메일}}"}` diff --git a/pages.ko/windows/get-wusettings.md b/pages.ko/windows/get-wusettings.md new file mode 100644 index 00000000000000..f90d36ae4c409e --- /dev/null +++ b/pages.ko/windows/get-wusettings.md @@ -0,0 +1,13 @@ +# Get-WUSettings + +> 현재 Windows Update 에이전트 구성을 가져옵니다. 외부 `PSWindowsUpdate` 모듈의 일부입니다. +> 이 명령은 PowerShell에서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 현재 Windows Update 에이전트 구성 가져오기: + +`Get-WUSettings` + +- 현재 구성 데이터를 이메일(SMTP)로 전송: + +`Get-WUSettings -SendReport -PSWUSettings @{SmtpServer="{{smtp_서버}}"; Port={{smtp_포트}} From="{{이메일_보낸이}}" To="{{이메일_받는이}}"}` diff --git a/pages.ko/windows/getmac.md b/pages.ko/windows/getmac.md new file mode 100644 index 00000000000000..5c6f20fb2fbb10 --- /dev/null +++ b/pages.ko/windows/getmac.md @@ -0,0 +1,28 @@ +# getmac + +> 시스템의 MAC 주소를 표시. +> 더 많은 정보: . + +- 현재 시스템의 MAC 주소 표시: + +`getmac` + +- 특정 형식으로 세부 정보 표시: + +`getmac /fo {{table|list|csv}}` + +- 출력 목록에서 헤더 제외: + +`getmac /nh` + +- 원격 컴퓨터의 MAC 주소 표시: + +`getmac /s {{호스트명}} /u {{사용자명}} /p {{비밀번호}}` + +- 자세한 정보와 함께 MAC 주소 표시: + +`getmac /v` + +- 도움말 표시: + +`getmac /?` diff --git a/pages.ko/windows/gl.md b/pages.ko/windows/gl.md new file mode 100644 index 00000000000000..7e3154510319ee --- /dev/null +++ b/pages.ko/windows/gl.md @@ -0,0 +1,7 @@ +# gl + +> 이 명령어는 PowerShell에서 `Get-Location` 의 별칭입니다. + +- 원본 명령어의 문서 보기: + +`tldr get-location` diff --git a/pages.ko/windows/gpupdate.md b/pages.ko/windows/gpupdate.md new file mode 100644 index 00000000000000..107f31bf87f8b7 --- /dev/null +++ b/pages.ko/windows/gpupdate.md @@ -0,0 +1,20 @@ +# gpupdate + +> Windows 그룹 정책 설정을 확인하고 적용합니다. +> 더 많은 정보: . + +- 업데이트된 그룹 정책 설정 확인 및 적용: + +`gpupdate` + +- 업데이트할 그룹 정책 설정 지정: + +`gpupdate /target:{{computer|user}}` + +- 모든 그룹 정책 설정 재적용: + +`gpupdate /force` + +- 도움말 표시: + +`gpupdate /?` diff --git a/pages.ko/windows/if.md b/pages.ko/windows/if.md new file mode 100644 index 00000000000000..a934ea59de6594 --- /dev/null +++ b/pages.ko/windows/if.md @@ -0,0 +1,32 @@ +# if + +> 배치 스크립트에서 조건부 처리를 수행합니다. +> 더 많은 정보: . + +- 조건이 참이면 지정된 명령을 실행: + +`if {{조건}} ({{echo 조건 is true}})` + +- 조건이 거짓이면 지정된 명령을 실행: + +`if not {{조건}} ({{echo 조건 is true}})` + +- 조건이 참이면 첫 번째 지정된 명령을 실행하고, 거짓이면 두 번째 지정된 명령을 실행: + +`if {{조건}} ({{echo 조건 is true}}) else ({{echo 조건 is false}})` + +- `%errorlevel%`이 지정된 종료 코드보다 크거나 같은지 확인: + +`if errorlevel {{2}} ({{echo 조건 is true}})` + +- 두 문자열이 같은지 확인: + +`if %{{변수}}% == {{문자열}} ({{echo 조건 is true}})` + +- 대소문자를 구분하지 않고 두 문자열이 같은지 확인: + +`if /i %{{변수}}% == {{문자열}} ({{echo 조건 is true}})` + +- 파일이 존재하는지 확인: + +`if exist {{경로\대상\파일}} ({{echo 조건 is true}})` diff --git a/pages.ko/windows/install-module.md b/pages.ko/windows/install-module.md new file mode 100644 index 00000000000000..73c9b5f9bdbde9 --- /dev/null +++ b/pages.ko/windows/install-module.md @@ -0,0 +1,36 @@ +# Install-Module + +> PowerShell Gallery, NuGet 및 기타 리포지토리에서 PowerShell 모듈을 설치합니다. +> 더 많은 정보: . + +- 모듈 설치 또는 최신 버전으로 업데이트: + +`Install-Module {{모듈}}` + +- 특정 버전의 모듈 설치: + +`Install-Module {{모듈}} -RequiredVersion {{버전}}` + +- 최소 버전을 사용하여 모듈 설치: + +`Install-Module {{모듈}} -MinimumVersion {{버전}}` + +- 모듈의 지원되는 버전 범위를 지정하여 설치: + +`Install-Module {{모듈}} -MinimumVersion {{최소_버전}} -MaximumVersion {{최대_버전}}` + +- 특정 리포지토리에 모듈 설치: + +`Install-Module {{모듈}} -Repository {{리포지토리}}` + +- 지정된 리포지토리들에서 모듈 설치: + +`Install-Module {{모듈}} -Repository {{리포지토리1, 리포지토리2, ...}}` + +- 모듈을 모든 사용자 또는 현재 사용자에게 설치: + +`Install-Module {{모듈}} -Scope {{AllUsers|CurrentUser}}` + +- `Install-Module`을 통해 설치, 업그레이드 또는 제거될 모듈을 확인하기 위한 테스트 실행: + +`Install-Module {{모듈}} -WhatIf` diff --git a/pages.ko/windows/invoke-item.md b/pages.ko/windows/invoke-item.md new file mode 100644 index 00000000000000..59ed691ca48fb4 --- /dev/null +++ b/pages.ko/windows/invoke-item.md @@ -0,0 +1,29 @@ +# Invoke-Item + +> 파일을 기본 프로그램에서 엽니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 파일을 기본 프로그램에서 열기: + +`Invoke-Item -Path {{경로\대상\파일}}` + +- 디렉토리 내의 모든 파일 열기: + +`Invoke-Item -Path {{경로\대상\디렉토리}}\*` + +- 디렉토리 내의 모든 PNG 파일 열기: + +`Invoke-Item -Path {{경로\대상\디렉토리}}\*.png` + +- 특정 키워드가 포함된 디렉토리 내의 모든 파일 열기: + +`Invoke-Item -Path {{경로\대상\디렉토리}}\* -Include {{*키워드*}}` + +- 특정 키워드를 포함하는 파일을 제외한 디렉토리 내부의 모든 파일을 열기: + +`Invoke-Item -Path {{경로\대상\디렉토리}}\* -Exclude {{*키워드*}}` + +- `Invoke-Item`을 통해 디렉토리 내부에서 어떤 파일이 열릴지 확인하기 위한 테스트 실행: + +`Invoke-Item -Path {{경로\대상\디렉토리}}\* -WhatIf` diff --git a/pages.ko/windows/invoke-webrequest.md b/pages.ko/windows/invoke-webrequest.md new file mode 100644 index 00000000000000..677a81ce6d84d8 --- /dev/null +++ b/pages.ko/windows/invoke-webrequest.md @@ -0,0 +1,25 @@ +# Invoke-WebRequest + +> HTTP/HTTPS 요청을 수행합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- URL의 내용을 파일로 다운로드: + +`Invoke-WebRequest {{http://example.com}} -OutFile {{경로\대상\파일}}` + +- 폼 인코딩된 데이터 전송(`application/x-www-form-urlencoded` 타입의 POST 요청): + +`Invoke-WebRequest -Method Post -Body @{ name='bob' } {{http://example.com/form}}` + +- 사용자 정의 HTTP 메서드 사용하여 추가 헤더가 있는 요청 전송: + +`Invoke-WebRequest -Headers {{@{ X-My-Header = '123' }}} -Method {{PUT}} {{http://example.com}}` + +- 적절한 content-type 헤더 지정하여 JSON 형식의 데이터 전송: + +`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}` + +- 서버 인증을 위한 사용자 이름과 비밀번호 전달: + +`Invoke-WebRequest -Headers @{ Authorization = "Basic "+ [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("myusername:mypassword")) } {{http://example.com}}` diff --git a/pages.ko/windows/ipconfig.md b/pages.ko/windows/ipconfig.md new file mode 100644 index 00000000000000..8596f47758ec6f --- /dev/null +++ b/pages.ko/windows/ipconfig.md @@ -0,0 +1,28 @@ +# ipconfig + +> Windows의 네트워크 구성을 표시하고 관리합니다. +> 더 많은 정보: . + +- 모든 네트워크 어댑터 표시: + +`ipconfig` + +- 네트워크 어댑터의 자세한 목록을 표시: + +`ipconfig /all` + +- 네트워크 어댑터의 IP 주소 갱신: + +`ipconfig /renew {{어댑터}}` + +- 네트워크 어댑터의 IP 주소 해제: + +`ipconfig /release {{어댑터}}` + +- 로컬 DNS 캐시 표시: + +`ipconfig /displaydns` + +- 로컬 DNS 캐시의 모든 데이터 제거: + +`ipconfig /flushdns` diff --git a/pages.ko/windows/iscc.md b/pages.ko/windows/iscc.md new file mode 100644 index 00000000000000..81bf59679ca46d --- /dev/null +++ b/pages.ko/windows/iscc.md @@ -0,0 +1,17 @@ +# iscc + +> Inno Setup 설치 프로그램용 컴파일러입니다. +> 이는 Inno Setup 스크립트를 Windows 설치 프로그램 실행 파일로 컴파일합니다. +> 더 많은 정보: . + +- Inno Setup 스크립트를 컴파일: + +`iscc {{경로\대상\파일.iss}}` + +- Inno Setup 설치 프로그램을 조용히 컴파일: + +`iscc /Q {{경로\대상\파일.iss}}` + +- 서명된 Inno Setup 설치 프로그램 컴파일: + +`iscc /S={{이름}}={{명령어}} {{경로\대상\파일.iss}}` diff --git a/pages.ko/windows/iwr.md b/pages.ko/windows/iwr.md new file mode 100644 index 00000000000000..35f16d6b62a828 --- /dev/null +++ b/pages.ko/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> 이 명령은 `invoke-webrequest` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr invoke-webrequest` diff --git a/pages.ko/windows/logoff.md b/pages.ko/windows/logoff.md new file mode 100644 index 00000000000000..f6e4c8a95a87d3 --- /dev/null +++ b/pages.ko/windows/logoff.md @@ -0,0 +1,16 @@ +# logoff + +> 로그인 세션을 종료합니다. +> 더 많은 정보: . + +- 현재 세션 종료: + +`logoff` + +- 이름 또는 ID로 세션 종료: + +`logoff {{세션_이름|세션_아이디}}` + +- RDP를 통해 연결된 특정 서버에서 세션 종료: + +`logoff {{세션_이름|세션_아이디}} /server:{{서버명}}` diff --git a/pages.ko/windows/measure-command.md b/pages.ko/windows/measure-command.md new file mode 100644 index 00000000000000..d8e59c76d58d0c --- /dev/null +++ b/pages.ko/windows/measure-command.md @@ -0,0 +1,13 @@ +# Measure-Command + +> 스크립트 블록 및 cmdlet을 실행하는 데 걸리는 시간을 측정합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 명령어를 실행하는 데 걸리는 시간 측정: + +`Measure-Command { {{command}} }` + +- `Measure-Command`에 파이프 입력 (파이프된 객체는 `Measure-Command`의 Expression 매개변수에 전달된 스크립트 블록에서 사용 가능): + +`10, 20, 50 | Measure-Command -Expression { for ($i=0; $i -lt $_; $i++) {$i} }` diff --git a/pages.ko/windows/measure-object.md b/pages.ko/windows/measure-object.md new file mode 100644 index 00000000000000..f636d0e4c0c5a9 --- /dev/null +++ b/pages.ko/windows/measure-object.md @@ -0,0 +1,13 @@ +# Measure-Object + +> 객체의 숫자 속성과 문자열 객체(예: 텍스트 파일)의 문자, 단어 및 줄을 계산합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 디렉토리의 파일 및 폴더 수 계산: + +`Get-ChildItem | Measure-Object` + +- `Measure-Command`에 파이프 입력 (파이프된 객체는 `Measure-Command`의 Expression 매개변수에 전달된 스크립트 블록에서 사용 가능): + +`"One", "Two", "Three", "Four" | Set-Content -Path "{{경로\대상\파일}}"; Get-Content "{{경로\대상\파일}}"; | Measure-Object -Character -Line -Word` diff --git a/pages.ko/windows/mi.md b/pages.ko/windows/mi.md new file mode 100644 index 00000000000000..3cc76b9585ad49 --- /dev/null +++ b/pages.ko/windows/mi.md @@ -0,0 +1,7 @@ +# mi + +> PowerShell에서 이 명령어는 `Move-Item`의 별칭입니다. + +- 원본 명령어 문서 보기: + +`tldr move-item` diff --git a/pages.ko/windows/microsoft-edge.md b/pages.ko/windows/microsoft-edge.md new file mode 100644 index 00000000000000..e135ea3be94f3d --- /dev/null +++ b/pages.ko/windows/microsoft-edge.md @@ -0,0 +1,12 @@ +# microsoft-edge + +> Microsoft Edge 명령줄 유틸리티는 Windows에서 `msedge`로 사용할 수 있으며 다른 플랫폼에서는 `microsoft-edge`로 사용할 수 있습니다. +> 더 많은 정보: . + +- Windows용 Microsoft Edge 문서 보기: + +`tldr {{[-p|--platform]}} windows msedge` + +- 다른 플랫폼용 Microsoft Edge 문서 보기: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages.ko/windows/mkdir.md b/pages.ko/windows/mkdir.md new file mode 100644 index 00000000000000..34209a4aa4bbec --- /dev/null +++ b/pages.ko/windows/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> 이 명령은 디렉터리를 생성합니다. +> 더 많은 정보: . + +- 디렉토리 만들기: + +`mkdir {{경로\대상\디렉토리}}` + +- 중첩된 디렉토리 트리를 재귀적으로 생성: + +`mkdir {{경로\대상\하위_디렉토리}}` diff --git a/pages.ko/windows/mklink.md b/pages.ko/windows/mklink.md new file mode 100644 index 00000000000000..d979ba76d7eb08 --- /dev/null +++ b/pages.ko/windows/mklink.md @@ -0,0 +1,20 @@ +# mklink + +> 심볼릭 링크를 생성합니다. +> 더 많은 정보: . + +- 파일에 대한 심볼릭 링크 생성: + +`mklink {{경로\대상\링크_파일}} {{경로\대상\소스_파일}}` + +- 디렉토리에 대한 심볼릭 링크 생성: + +`mklink /d {{경로\대상\링크_파일}} {{경로\대상\소스_디렉토리}}` + +- 파일에 대한 하드 링크 생성: + +`mklink /h {{경로\대상\링크_파일}} {{경로\대상\소스_파일}}` + +- 디렉토리 교차점 생성: + +`mklink /j {{경로\대상\링크_파일}} {{경로\대상\소스_파일}}` diff --git a/pages.ko/windows/more.md b/pages.ko/windows/more.md new file mode 100644 index 00000000000000..795506c54e7518 --- /dev/null +++ b/pages.ko/windows/more.md @@ -0,0 +1,32 @@ +# more + +> `stdin` 또는 파일에서 페이지 단위 출력을 표시합니다. +> 더 많은 정보: . + +- `stdin`에서 페이지 단위 출력 표시: + +`{{echo test}} | more` + +- 하나 이상의 파일에서 페이지 단위 출력 표시: + +`more {{경로\대상\파일}}` + +- 탭을 지정된 수의 공백으로 변환: + +`more {{경로\대상\파일}} /t{{공백}}` + +- 페이지 표시 전에 화면 지우기: + +`more {{경로\대상\파일}} /c` + +- 출력을 5번째 줄에서 시작: + +`more {{경로\대상\파일}} +{{5}}` + +- 확장된 대화형 모드 활성화 (사용법 보기): + +`more {{경로\대상\파일}} /e` + +- 도움말 표시: + +`more /?` diff --git a/pages.ko/windows/mount.md b/pages.ko/windows/mount.md new file mode 100644 index 00000000000000..694bfdd1fee64e --- /dev/null +++ b/pages.ko/windows/mount.md @@ -0,0 +1,32 @@ +# mount + +> 네트워크 파일 시스템(NFS) 네트워크 공유를 마운트합니다. +> 더 많은 정보: . + +- 공유를 "Z" 드라이브 문자에 마운트: + +`mount \\{{컴퓨터명}}\{{공유명}} {{Z:}}` + +- 다음 사용 가능한 드라이브 문자에 공유 마운트: + +`mount \\{{컴퓨터명}}\{{공유명}} *` + +- 읽기 시간 제한을 초 단위로 설정 (기본값은 0.8, 0.9 또는 1에서 60까지 가능): + +`mount -o timeout={{seconds}} \\{{컴퓨터명}}\{{공유명}} {{Z:}}` + +- 공유를 마운트하고 실패 시 최대 10번 재시도: + +`mount -o retry=10 \\{{컴퓨터명}}\{{공유명}} {{Z:}}` + +- 대소문자 구분 강제 하고 공유 마운트: + +`mount -o casesensitive \\{{컴퓨터명}}\{{공유명}} {{Z:}}` + +- 익명 사용자로 공유 마운트: + +`mount -o anon \\{{컴퓨터명}}\{{공유명}} {{Z:}}` + +- 특정 마운트 유형을 사용하여 공유 마운트: + +`mount -o mtype={{soft|hard}} \\{{컴퓨터명}}\{{공유명}} {{Z:}}` diff --git a/pages.ko/windows/move-item.md b/pages.ko/windows/move-item.md new file mode 100644 index 00000000000000..b86967b630d17c --- /dev/null +++ b/pages.ko/windows/move-item.md @@ -0,0 +1,37 @@ +# Move-Item + +> 파일, 디렉토리, 레지스트리 키 및 기타 PowerShell 데이터 항목을 이동 또는 이름을 변경합니다. +> 이 명령어는 PowerShell을 통해서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 목표가 기존 디렉토리가 아닐 때 파일 또는 디렉토리 이름 변경: + +`Move-Item {{경로\대상\소스}} {{경로\대상\목표}}` + +- 파일 또는 디렉토리를 기존 디렉토리로 이동: + +`Move-Item {{경로\대상\소스}} {{경로\대상\기존_디렉토리}}` + +- 특정 이름을 가진 파일 또는 디렉토리 이름 변경 또는 이동 (문자열 내 특수 문자 처리 안함): + +`Move-Item -LiteralPath "{{경로\대상\소스}}" {{경로\대상\파일_또는_디렉토리}}` + +- 여러 파일을 기존 디렉토리로 이동하고 파일 이름 변경 안함: + +`Move-Item {{경로\대상\소스1 , 경로\대상\소스2 ...}} {{경로\대상\기존_디렉토리}}` + +- 레지스트리 키 이동 또는 이름 변경: + +`Move-Item {{경로\대상\소스_키1 , 경로\대상\소스_키2 ...}} {{경로\대상\새로운_또는_기존_키}}` + +- 기존 파일 또는 레지스트리 키 덮어쓰기 전에 확인 안함: + +`mv -Force {{경로\대상\소스}} {{경로\대상\목표}}` + +- 파일 권한에 관계없이 기존 파일을 덮어쓰기 전에 확인 메시지를 표시: + +`mv -Confirm {{경로\대상\소스}} {{경로\대상\목표}}` + +- 건너뛰기 모드로 파일 이동, 이동할 파일 및 디렉토리 표시: + +`mv -WhatIf {{경로\대상\소스}} {{경로\대상\목표}}` diff --git a/pages.ko/windows/move.md b/pages.ko/windows/move.md new file mode 100644 index 00000000000000..baf9acf0bfea62 --- /dev/null +++ b/pages.ko/windows/move.md @@ -0,0 +1,29 @@ +# move + +> 파일 및 디렉토리를 이동 또는 이름을 변경합니다. +> PowerShell에서 이 명령어는 `Move-Item`의 별칭입니다. 이 문서는 `move`의 Command Prompt (`cmd`) 버전을 기준으로 작성되었습니다. +> 더 많은 정보: . + +- 동등한 PowerShell 명령어 문서 보기: + +`tldr move-item` + +- 목표가 기존 디렉토리가 아닐 때 파일 또는 디렉토리 이름 변경: + +`move {{경로\대상\소스}} {{경로\대상\목표}}` + +- 파일 또는 디렉토리를 기존 디렉토리로 이동: + +`move {{경로\대상\소스}} {{경로\대상\기존_디렉토리}}` + +- 드라이브 간에 파일 또는 디렉토리 이동: + +`move {{C:\경로\대상\소스}} {{D:\경로\대상\목표}}` + +- 기존 파일을 덮어쓰기 전에 확인 메시지를 표시 안함: + +`move /Y {{경로\대상\소스}} {{경로\대상\기존_디렉토리}}` + +- 기존 파일을 덮어쓰기 전에 확인 메시지를 표시, 파일 권한과 관계없이: + +`move /-Y {{경로\대상\소스}} {{경로\대상\기존_디렉토리}}` diff --git a/pages.ko/windows/msedge.md b/pages.ko/windows/msedge.md new file mode 100644 index 00000000000000..e2fcfc2b3dda5c --- /dev/null +++ b/pages.ko/windows/msedge.md @@ -0,0 +1,38 @@ +# msedge + +> 마이크로소프트에서 개발한 최신 웹 브라우저로, 구글에서 개발한 크로미움 웹 브라우저를 기반으로 합니다. +> 이 명령어는 다른 플랫폼에서는 `microsoft-edge`로 사용할 수 있습니다. +> 참고: `chromium`에서 추가 명령어 인수로 Microsoft Edge를 제어할 수 있습니다. +> 더 많은 정보: . + +- 특정 URL 또는 파일 열기: + +`msedge {{https://example.com|경로\대상\파일.html}}` + +- InPrivate 모드로 열기: + +`msedge --inprivate {{example.com}}` + +- 새 창으로 열기: + +`msedge --new-window {{example.com}}` + +- 애플리케이션 모드로 열기 (도구 모음, URL 표시줄, 버튼 등 없음): + +`msedge --app={{https://example.com}}` + +- 프록시 서버 사용: + +`msedge --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- 사용자 데이터 디렉토리 사용: + +`msedge --user-data-dir={{경로\대상\디렉토리}}` + +- CORS 유효성 검사 없이 열기 (API 테스트에 유용): + +`msedge --user-data-dir={{경로\대상\디렉토리}} --disable-web-security` + +- 각 탭 열릴 때마다 DevTools 창 열기: + +`msedge --auto-open-devtools-for-tabs` diff --git a/pages.ko/windows/msg.md b/pages.ko/windows/msg.md new file mode 100644 index 00000000000000..9a2362ea33329a --- /dev/null +++ b/pages.ko/windows/msg.md @@ -0,0 +1,24 @@ +# msg + +> 사용자 또는 세션에 메시지 보내기. +> 더 많은 정보: . + +- 특정 사용자 또는 세션에 메시지 보내기: + +`msg {{사용자명|세션명|세션_아이디}} {{메시지}}` + +- `stdin`에서 메시지 보내기: + +`echo "{{메시지}}" | msg {{사용자명|세션명|세션_아이디}}` + +- 특정 서버에 메시지 보내기: + +`msg /server:{{서버명}} {{사용자명|세션명|세션_아이디}}` + +- 현재 컴퓨터의 모든 사용자에게 메시지 보내기: + +`msg *` + +- 메시지 지연 설정 (초): + +`msg /time:{{10}}` diff --git a/pages.ko/windows/msiexec.md b/pages.ko/windows/msiexec.md new file mode 100644 index 00000000000000..8eba9659aebf78 --- /dev/null +++ b/pages.ko/windows/msiexec.md @@ -0,0 +1,20 @@ +# msiexec + +> MSI 및 MSP 패키지 파일을 사용하여 Windows 프로그램 설치, 업데이트, 수리 또는 제거. +> 더 많은 정보: . + +- MSI 패키지에서 프로그램 설치: + +`msiexec /package {{경로\대상\파일.msi}}` + +- 웹사이트에서 MSI 패키지 설치: + +`msiexec /package {{https://example.com/installer.msi}}` + +- MSP 패치 파일 설치: + +`msiexec /update {{경로\대상\파일.msp}}` + +- 프로그램 또는 패치 제거 (각각의 MSI 또는 MSP 파일 사용): + +`msiexec /uninstall {{경로\대상\파일}}` diff --git a/pages.ko/windows/mv.md b/pages.ko/windows/mv.md new file mode 100644 index 00000000000000..a9eec8e8813028 --- /dev/null +++ b/pages.ko/windows/mv.md @@ -0,0 +1,12 @@ +# mv + +> PowerShell에서 이 명령어는 `Move-Item`의 별칭입니다. +> 그러나 이 명령어는 명령 프롬프트(`cmd`)에서 사용할 수 없습니다. 유사한 기능을 위해 `move`를 사용하세요. + +- 동등한 명령 프롬프트 명령어 문서 보기: + +`tldr move` + +- 원본 PowerShell 명령어 문서 보기: + +`tldr move-item` diff --git a/pages.ko/windows/net.md b/pages.ko/windows/net.md new file mode 100644 index 00000000000000..5b6952cd91d0b9 --- /dev/null +++ b/pages.ko/windows/net.md @@ -0,0 +1,36 @@ +# net + +> 네트워크 관련 설정을 보고 수정하는 시스템 유틸리티입니다. +> 더 많은 정보: . + +- 동기적으로 Windows 서비스 시작 또는 중지: + +`net {{start|stop}} {{서비스}}` + +- 현재 콘솔에서 SMB 공유 가능한지 확인: + +`net use {{\\smb_shared_folder}} /USER:{{사용자명}}` + +- 현재 SMB로 공유되는 폴더 표시: + +`net share` + +- SMB 공유를 사용하는 사용자 표시 (관리자 권한 콘솔에서 실행): + +`net session` + +- 로컬 보안 그룹의 사용자 표시: + +`net localgroup "{{Administrators}}"` + +- 로컬 보안 그룹에 사용자 추가 (관리자 권한 콘솔에서 실행): + +`net localgroup "{{Administrators}}" {{사용자명}} /add` + +- 하위 명령에 대한 도움말 표시: + +`net help {{하위명령}}` + +- 도움말 표시: + +`net help` diff --git a/pages.ko/windows/netsh-interface-portproxy.md b/pages.ko/windows/netsh-interface-portproxy.md new file mode 100644 index 00000000000000..b83d1ea5e37b66 --- /dev/null +++ b/pages.ko/windows/netsh-interface-portproxy.md @@ -0,0 +1,20 @@ +# netsh interface portproxy + +> 다양한 네트워크 구성 요소의 상태를 구성하고 표시합니다. +> 더 많은 정보: . + +- 현재 포트 전달 설정 표시: + +`netsh interface portproxy show all` + +- IPv4 포트 전달 설정 (관리자 권한 콘솔에서 실행): + +`netsh interface portproxy add v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}} connectaddress={{10.0.0.1}} connectport={{80}}` + +- IPv4 포트 전달 삭제 (관리자 권한 콘솔에서 실행): + +`netsh interface portproxy delete v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}}` + +- 도움말 표시: + +`netsh interface portproxy` diff --git a/pages.ko/windows/netstat.md b/pages.ko/windows/netstat.md new file mode 100644 index 00000000000000..fb3c1341acfd7f --- /dev/null +++ b/pages.ko/windows/netstat.md @@ -0,0 +1,36 @@ +# netstat + +> 활성 TCP 연결, 컴퓨터가 수신하는 포트, 네트워크 어댑터 통계, IP 라우팅 테이블, IPv4 통계 및 IPv6 통계를 표시합니다. +> 더 많은 정보: . + +- 활성 TCP 연결 표시: + +`netstat` + +- 모든 활성 TCP 연결 및 컴퓨터가 수신 중인 TCP 및 UDP 포트 표시: + +`netstat -a` + +- 전송 및 수신된 바이트 및 패킷 수와 같은 네트워크 어댑터 통계를 표시: + +`netstat -e` + +- 활성 TCP 연결과 명시적 주소 및 포트 번호를 숫자로 표시: + +`netstat -n` + +- 활성 TCP 연결과 각 연결의 프로세스 ID(PID) 표시: + +`netstat -o` + +- IP 라우팅 테이블 내용 표시: + +`netstat -r` + +- 프로토콜별 통계 표시: + +`netstat -s` + +- 현재 열려 있는 포트 목록 및 관련 IP 주소 목록을 표시: + +`netstat -an` diff --git a/pages.ko/windows/new-item.md b/pages.ko/windows/new-item.md new file mode 100644 index 00000000000000..fb3bb1bcceec6e --- /dev/null +++ b/pages.ko/windows/new-item.md @@ -0,0 +1,33 @@ +# New-Item + +> 새 파일, 디렉토리, 심볼릭 링크 또는 레지스트리 항목을 만듭니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 새 빈 파일 만들기 ( `touch`와 동일): + +`New-Item {{경로\대상\파일}}` + +- 새 디렉토리 만들기: + +`New-Item -ItemType Directory {{경로\대상\디렉토리}}` + +- 지정된 내용으로 새 텍스트 파일 만들기: + +`New-Item {{경로\대상\파일}} -Value {{내용}}` + +- 동일한 텍스트 파일을 여러 위치에 쓰기: + +`New-Item {{경로\대상\파일1 , 경로\대상\파일2 , ...}} -Value {{내용}}` + +- 파일 또는 디렉토리에 심볼릭 링크\하드 링크\교차점 만들기: + +`New-Item -ItemType {{SymbolicLink|HardLink|Junction}} -Path {{경로\대상\링크_파일}} -Target {{경로\대상\소스_파일_또는_디렉토리}}` + +- 새 빈 레지스트리 항목 만들기 (REG_SZ 사용 시 `New-ItemProperty` 또는 `Set-ItemProperty` 사용): + +`New-Item {{경로\대상\레지스트리_키}}` + +- 지정된 값으로 새 빈 레지스트리 항목 만들기: + +`New-Item {{경로\대상\레지스트리_키}} -Value {{값}}` diff --git a/pages.ko/windows/nfsstat.md b/pages.ko/windows/nfsstat.md new file mode 100644 index 00000000000000..71839d79474fc4 --- /dev/null +++ b/pages.ko/windows/nfsstat.md @@ -0,0 +1,12 @@ +# nfsstat + +> NFS 서버에 대한 호출 수를 표시하거나 재설정합니다. +> 더 많은 정보: . + +- NFS 서버에 대한 기록된 호출 수 표시: + +`nfsstat` + +- NFS 서버에 대한 기록된 호출 수 재설정: + +`nfsstat -z` diff --git a/pages.ko/windows/ni.md b/pages.ko/windows/ni.md new file mode 100644 index 00000000000000..300fee65763503 --- /dev/null +++ b/pages.ko/windows/ni.md @@ -0,0 +1,7 @@ +# ni + +> PowerShell에서 이 명령은 `New-Item`의 별칭입니다. + +- 원본 명령에 대한 문서 보기: + +`tldr new-item` diff --git a/pages.ko/windows/nvm.md b/pages.ko/windows/nvm.md new file mode 100644 index 00000000000000..4a2dfce09d14d2 --- /dev/null +++ b/pages.ko/windows/nvm.md @@ -0,0 +1,25 @@ +# nvm + +> Node.js 버전 설치, 제거 또는 전환. +> 버전 번호는 "12.8" 또는 "v16.13.1"과 같이 지정되며, "stable", "system" 등의 라벨을 지원합니다. +> 더 많은 정보: . + +- Node.js의 특정 버전 설치: + +`nvm install {{node_버전}}` + +- Node.js의 기본 버전을 설정 (반드시 관리자 권한으로 실행): + +`nvm use {{node_버전}}` + +- 사용 가능한 모든 Node.js 버전 나열 및 기본 버전 강조: + +`nvm list` + +- 모든 원격 Node.js 버전 나열: + +`nvm ls-remote` + +- 지정된 Node.js 버전 제거: + +`nvm uninstall {{node_버전}}` diff --git a/pages.ko/windows/octo.md b/pages.ko/windows/octo.md new file mode 100644 index 00000000000000..139e357d05aaab --- /dev/null +++ b/pages.ko/windows/octo.md @@ -0,0 +1,20 @@ +# octo + +> Octopus Deploy 명령줄 도구. +> 더 많은 정보: . + +- 패키지 생성: + +`octo pack --id={{패키지}}` + +- 패키지를 Octopus 서버의 저장소에 푸시: + +`octo push --package={{패키지}}` + +- 릴리스 생성: + +`octo create-release --project={{프로젝트_이름}} --packageversion={{버전}}` + +- 릴리스 배포: + +`octo deploy-release --project={{프로젝트_이름}} --packageversion={{버전}} --deployto={{환경_이름}} --tenant={{배포_대상}}` diff --git a/pages.ko/windows/ospp.vbs.md b/pages.ko/windows/ospp.vbs.md new file mode 100644 index 00000000000000..2138da6609f1ec --- /dev/null +++ b/pages.ko/windows/ospp.vbs.md @@ -0,0 +1,29 @@ +# ospp.vbs + +> Microsoft Office 제품의 볼륨 라이선스 버전을 설치, 활성화 및 관리합니다. +> 참고: 이 명령어는 현재 볼륨 라이선스가 있는 Office 제품 버전을 덮어쓰거나 비활성화하거나 제거할 수 있으므로 주의하여 진행하세요. +> 더 많은 정보: . + +- 제품 키 설치 (참고: 기존 키를 덮어씀): + +`cscript ospp.vbs /inpkey:{{제품_키}}` + +- 설치된 제품 키 제거 (제품 키의 마지막 다섯 자리 숫자 사용): + +`cscript ospp.vbs /unpkey:{{제품_키_숫자}}` + +- KMS 호스트 이름 설정: + +`cscript ospp.vbs /sethst:{{아이피|호스트명}}` + +- KMS 포트 설정: + +`cscript ospp.vbs /setprt:{{포트}}` + +- 설치된 Office 제품 키 활성화: + +`cscript ospp.vbs /act` + +- 설치된 제품 키에 대한 라이선스 정보 표시: + +`cscript ospp.vbs /dstatus` diff --git a/pages.ko/windows/out-string.md b/pages.ko/windows/out-string.md new file mode 100644 index 00000000000000..55fde23cda69b2 --- /dev/null +++ b/pages.ko/windows/out-string.md @@ -0,0 +1,17 @@ +# Out-String + +> 입력 객체를 문자열로 출력합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 호스트 정보를 문자열로 출력: + +`Get-Alias | Out-String` + +- 모든 객체를 단일 문자열로 연결하는 대신 각 객체를 문자열로 변환: + +`Get-Alias | Out-String -Stream` + +- `Width` 매개변수를 사용하여 잘림을 방지: + +`@{TestKey = ('x' * 200)} | Out-String -Width {{250}}` diff --git a/pages.ko/windows/pabcnetcclear.md b/pages.ko/windows/pabcnetcclear.md new file mode 100644 index 00000000000000..8d4f7b71472b43 --- /dev/null +++ b/pages.ko/windows/pabcnetcclear.md @@ -0,0 +1,24 @@ +# pabcnetcclear + +> PascalABC.NET 소스 파일을 전처리하고 컴파일합니다. +> 더 많은 정보: . + +- 지정된 소스 파일을 동일한 이름의 실행 파일로 컴파일: + +`pabcnetcclear {{경로\대상\소스_파일.pas}}` + +- 지정된 소스 파일을 지정된 이름의 실행 파일로 컴파일: + +`pabcnetcclear /Output:{{경로\대상\파일.exe}} {{경로\대상\소스_파일.pas}}` + +- 디버그 정보를 포함하거나 포함하지 않고 동일한 이름의 실행 파일로 지정된 소스 파일을 컴파일: + +`pabcnetcclear /Debug:{{0|1}} {{경로\대상\소스_파일.pas}}` + +- 컴파일 중 지정된 경로에서 유닛을 검색하도록 허용: + +`pabcnetcclear /SearchDir:{{경로\대상\디렉토리}} {{경로\대상\소스_파일.pas}}` + +- 지정된 소스 파일을 실행 파일로 컴파일하고 심볼 정의: + +`pabcnetcclear /Define:{{심볼}} {{경로\대상\소스_파일.pas}}` diff --git a/pages.ko/windows/path.md b/pages.ko/windows/path.md new file mode 100644 index 00000000000000..ab6b9449ea8d24 --- /dev/null +++ b/pages.ko/windows/path.md @@ -0,0 +1,20 @@ +# path + +> 실행 파일에 대한 검색 경로를 표시하거나 설정합니다. +> 더 많은 정보: . + +- 현재 경로 표시: + +`path` + +- 세미콜론으로 구분된 하나 이상의 디렉토리로 경로 설정: + +`path {{경로\대상\디렉토리1 경로\대상\디렉토리2 ...}}` + +- 원래 경로에 새 디렉토리 추가: + +`path {{경로\대상\디렉토리}};%path%` + +- 실행 파일을 현재 디렉토리에서만 검색하도록 명령 프롬프트를 설정: + +`path ;` diff --git a/pages.ko/windows/pathping.md b/pages.ko/windows/pathping.md new file mode 100644 index 00000000000000..30621c94cafd62 --- /dev/null +++ b/pages.ko/windows/pathping.md @@ -0,0 +1,36 @@ +# pathping + +> `ping` 및 `tracert`의 기능을 결합한 라우팅 도구입니다. +> 더 많은 정보: . + +- 호스트에 핑을 보내고 경로를 추적: + +`pathping {{호스트명}}` + +- 호스트명을 IP 주소로 역방향 조회하지 않음: + +`pathping {{호스트명}} -n` + +- 대상을 찾기 위해 검색할 최대 홉 수 지정 (기본값은 30): + +`pathping {{호스트명}} -h {{최대_홉}}` + +- 핑 사이에 대기할 시간 지정 (기본값은 240): + +`pathping {{호스트명}} -p {{시간}}` + +- 각 홉에 대한 쿼리 수 지정 (기본값은 100): + +`pathping {{호스트명}} -q {{쿼리}}` + +- IPv4 사용 강제: + +`pathping {{호스트명}} -4` + +- IPv6 사용 강제: + +`pathping {{호스트명}} -6` + +- 도움말 표시: + +`pathping /?` diff --git a/pages.ko/windows/pipwin.md b/pages.ko/windows/pipwin.md new file mode 100644 index 00000000000000..ecc1b9a66c7b18 --- /dev/null +++ b/pages.ko/windows/pipwin.md @@ -0,0 +1,28 @@ +# pipwin + +> Windows에서 비공식 Python 패키지 이진 파일을 설치하는 도구입니다. +> 더 많은 정보: . + +- 다운로드할 수 있는 모든 패키지 목록 표시: + +`pipwin list` + +- 패키지 검색: + +`pipwin search {{일부_이름|이름}}` + +- 패키지 설치: + +`pipwin install {{패키지}}` + +- 패키지 제거: + +`pipwin uninstall {{패키지}}` + +- 특정 디렉토리에 패키지 다운로드: + +`pipwin download --dest {{경로\대상\디렉토리}} {{패키지}}` + +- `requirements.txt`에 따라 패키지 설치: + +`pipwin install --file {{경로\대상\requirements.txt}}` diff --git a/pages.ko/windows/popd.md b/pages.ko/windows/popd.md new file mode 100644 index 00000000000000..9cba381e99bbab --- /dev/null +++ b/pages.ko/windows/popd.md @@ -0,0 +1,8 @@ +# popd + +> `pushd` 명령으로 저장된 디렉토리로 현재 디렉토리를 변경합니다. +> 더 많은 정보: . + +- 스택의 가장 위에 있는 디렉토리로 전환: + +`popd` diff --git a/pages.ko/windows/powershell.md b/pages.ko/windows/powershell.md new file mode 100644 index 00000000000000..debff0d9a0f290 --- /dev/null +++ b/pages.ko/windows/powershell.md @@ -0,0 +1,37 @@ +# powershell + +> 시스템 관리를 위해 특별히 설계된 명령줄 쉘 및 스크립팅 언어입니다. +> 이 명령어는 PowerShell 버전 5.1 이하 (레거시 Windows PowerShell이라고도 함)를 참조합니다. 더 새로운, 크로스 플랫폼 버전의 PowerShell (PowerShell Core라고도 함)을 사용하려면 `pwsh` 대신 `powershell`을 사용하세요. +> 더 많은 정보: . + +- 대화형 쉘 세션 시작: + +`powershell` + +- 시작 설정을 로드하지 않고 대화형 쉘 세션 시작: + +`powershell -NoProfile` + +- 특정 명령어 실행: + +`powershell -Command "{{echo 'powershell is executed'}}"` + +- 특정 스크립트 실행: + +`powershell -File {{경로/대상/스크립트.ps1}}` + +- 특정 버전의 PowerShell로 세션 시작: + +`powershell -Version {{버전}}` + +- 시작 명령을 실행한 후 쉘 종료 방지: + +`powershell -NoExit` + +- PowerShell에 전달되는 데이터의 형식 설명: + +`powershell -InputFormat {{Text|XML}}` + +- PowerShell에서 출력되는 데이터의 형식 설명: + +`powershell -OutputFormat {{Text|XML}}` diff --git a/pages.ko/windows/print.win.md b/pages.ko/windows/print.win.md new file mode 100644 index 00000000000000..18cbc41a44d0e1 --- /dev/null +++ b/pages.ko/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> 텍스트 파일을 프린터로 인쇄합니다. +> 더 많은 정보: . + +- 기본 프린터로 텍스트 파일 인쇄: + +`print {{경로\대상\파일}}` + +- 특정 프린터로 텍스트 파일 인쇄: + +`print /d:{{프린터}} {{경로\대상\파일}}` diff --git a/pages.ko/windows/prompt.md b/pages.ko/windows/prompt.md new file mode 100644 index 00000000000000..988eeb10920404 --- /dev/null +++ b/pages.ko/windows/prompt.md @@ -0,0 +1,24 @@ +# prompt + +> 명령 창의 기본 DOS 스타일 프롬프트를 변경합니다. +> 더 많은 정보: . + +- 기본 설정으로 프롬프트 재설정: + +`prompt` + +- 지정된 프롬프트로 설정: + +`prompt {{프롬프트}}` + +- 현재 날짜를 먼저 표시하도록 프롬프트를 변경: + +`prompt $D $P$G` + +- 현재 시간을 먼저 표시하도록 프롬프트를 변경: + +`prompt $T $P$G` + +- 특정 텍스트를 먼저 표시하도록 프롬프트를 변경: + +`prompt {{텍스트}} $P$G` diff --git a/pages.ko/windows/psexec.md b/pages.ko/windows/psexec.md new file mode 100644 index 00000000000000..5b5d3327596028 --- /dev/null +++ b/pages.ko/windows/psexec.md @@ -0,0 +1,25 @@ +# psexec + +> 원격 컴퓨터에서 명령줄 프로세스 실행. +> 이 명령은 고급 명령이며 잠재적으로 위험할 수 있습니다. +> 더 많은 정보: . + +- 원격 쉘에서 `cmd`를 사용하여 명령 실행: + +`psexec \\{{원격_호스트}} cmd` + +- 원격 호스트에서 명령 실행 (사전 인증됨): + +`psexec \\{{원격_호스트}} -u {{사용자명}} -p {{암호}}` + +- 원격으로 명령 실행하고 결과를 파일로 출력: + +`psexec \\{{원격_호스트}} cmd /c {{명령}} -an ^>{{경로\대상\파일.txt}}` + +- 사용자와 상호 작용하는 프로그램 실행: + +`psexec \\{{원격_호스트}} -d -i {{프로그램명}}` + +- 원격 호스트의 IP 구성 표시: + +`psexec \\{{원격_호스트}} ipconfig /all` diff --git a/pages.ko/windows/psping.md b/pages.ko/windows/psping.md new file mode 100644 index 00000000000000..8337007e8e6c11 --- /dev/null +++ b/pages.ko/windows/psping.md @@ -0,0 +1,24 @@ +# psping + +> TCP ping, 대기 시간 및 대역폭 측정을 포함하는 ping 도구입니다. +> 더 많은 정보: . + +- ICMP를 사용하여 호스트 확인: + +`psping {{호스트명}}` + +- TCP 포트를 통해 호스트 확인: + +`psping {{호스트명}}:{{포트}}` + +- 횟수 지정 및 출력 없이 수행: + +`psping {{호스트명}} -n {{pings}} -q` + +- TCP를 통해 대상에 50번 ping을 보내고 결과를 히스토그램으로 생성: + +`psping {{호스트명}}:{{포트}} -q -n {{50}} -h` + +- 도움말 표시: + +`psping /?` diff --git a/pages.ko/windows/psversiontable.md b/pages.ko/windows/psversiontable.md new file mode 100644 index 00000000000000..af1e23186dc2fe --- /dev/null +++ b/pages.ko/windows/psversiontable.md @@ -0,0 +1,25 @@ +# PSVersionTable + +> 현재 PowerShell 버전을 가져오는 읽기 전용 변수(`$PSVersionTable`)입니다. +> 이 명령은 PowerShell에서만 실행할 수 있습니다. +> 더 많은 정보: . + +- 현재 설치된 PowerShell 버전 및 에디션 요약 출력: + +`$PSVersionTable` + +- PowerShell의 세부 버전 번호(주, 부, 빌드, 수정) 가져오기: + +`$PSVersionTable.PSVersion` + +- 이 PowerShell 버전이 지원하는 모든 PowerShell 스크립트 버전 나열: + +`$PSVersionTable.PSCompatibleVersions` + +- 현재 설치된 PowerShell 버전이 기반이 되는 최신 Git 커밋 ID 가져오기 (PowerShell 6.0 이상에서 작동): + +`$PSVersionTable.GitCommitId` + +- 사용자가 PowerShell Core (6.0 이상) 또는 원본 "Windows PowerShell" (버전 5.1 이하)을 실행하는지 확인: + +`$PSVersionTable.PSEdition` diff --git a/pages.ko/windows/pswindowsupdate.md b/pages.ko/windows/pswindowsupdate.md new file mode 100644 index 00000000000000..5794737f61a955 --- /dev/null +++ b/pages.ko/windows/pswindowsupdate.md @@ -0,0 +1,13 @@ +# PSWindowsUpdate + +> Windows Update를 관리하는 PowerShell 외부 모듈입니다. +> 이 도구는 PowerShell을 통해서만 실행할 수 있는 여러 명령을 제공합니다. +> 더 많은 정보: . + +- `Install-Module`을 사용하여 모듈 설치: + +`Install-Module PSWindowsUpdate` + +- 모듈에서 사용할 수 있는 모든 명령 나열: + +`Get-Command -Module PSWindowsUpdate` diff --git a/pages.ko/windows/pushd.md b/pages.ko/windows/pushd.md new file mode 100644 index 00000000000000..c0ae61f9aa7c9e --- /dev/null +++ b/pages.ko/windows/pushd.md @@ -0,0 +1,9 @@ +# pushd + +> 디렉토리를 스택에 배치하여 나중에 액세스할 수 있습니다. +> `popd`를 참조하여 원래 디렉토리로 전환하세요. +> 더 많은 정보: . + +- 디렉토리로 전환하고 스택에 배치: + +`pushd {{경로\대상\디렉토리}}` diff --git a/pages.ko/windows/pwd.md b/pages.ko/windows/pwd.md new file mode 100644 index 00000000000000..3ced114492e1b1 --- /dev/null +++ b/pages.ko/windows/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> PowerShell에서 이 명령은 `Get-Location`의 별칭입니다. +> 그러나 이 명령은 명령 프롬프트(`cmd`)에서 사용할 수 없습니다. 유사한 기능을 위해 `cd`를 사용하세요. + +- 동등한 명령 프롬프트 명령에 대한 문서 보기: + +`tldr cd` + +- 원본 PowerShell 명령에 대한 문서 보기: + +`tldr get-location` diff --git a/pages.ko/windows/pwlauncher.md b/pages.ko/windows/pwlauncher.md new file mode 100644 index 00000000000000..483f631586582d --- /dev/null +++ b/pages.ko/windows/pwlauncher.md @@ -0,0 +1,12 @@ +# pwlauncher + +> Windows To Go 시작 옵션을 관리합니다. +> 더 많은 정보: . + +- 현재 Windows To Go 상태 표시: + +`pwlauncher` + +- Windows To Go 시작 옵션 활성화 또는 비활성화: + +`pwlauncher /{{enable|disable}}` diff --git a/pages.ko/windows/pwsh-where.md b/pages.ko/windows/pwsh-where.md new file mode 100644 index 00000000000000..6dacc9f5184354 --- /dev/null +++ b/pages.ko/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> 이 명령은 `Where-Object` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr Where-Object` diff --git a/pages.ko/windows/query.md b/pages.ko/windows/query.md new file mode 100644 index 00000000000000..39ec1c7729c4be --- /dev/null +++ b/pages.ko/windows/query.md @@ -0,0 +1,28 @@ +# query + +> 프로세스, 세션 및 원격 데스크톱 세션 호스트 서버에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- 모든 사용자 세션 표시: + +`query session` + +- 원격 컴퓨터의 현재 사용자 세션 표시: + +`query session /server:{{호스트명}}` + +- 로그인한 사용자 표시: + +`query user` + +- 원격 컴퓨터의 모든 사용자 세션 표시: + +`query session /server:{{호스트명}}` + +- 모든 실행 중인 프로세스 표시: + +`query process` + +- 세션 또는 사용자 이름별 실행 중인 프로세스 표시: + +`query process {{세션명|사용자명}}` diff --git a/pages.ko/windows/rd.md b/pages.ko/windows/rd.md new file mode 100644 index 00000000000000..17e2048fef000b --- /dev/null +++ b/pages.ko/windows/rd.md @@ -0,0 +1,11 @@ +# rd + +> 이 명령은 Command Prompt에서는 `rmdir`의 별칭이며, PowerShell에서는 `Remove-Item`의 별칭입니다. + +- 원본 Command Prompt 명령에 대한 문서 보기: + +`tldr rmdir` + +- 원본 PowerShell 명령에 대한 문서 보기: + +`tldr remove-item` diff --git a/pages.ko/windows/rdpsign.md b/pages.ko/windows/rdpsign.md new file mode 100644 index 00000000000000..5516d3d86d3b1b --- /dev/null +++ b/pages.ko/windows/rdpsign.md @@ -0,0 +1,24 @@ +# rdpsign + +> 원격 데스크톱 프로토콜(RDP) 파일을 서명하는 도구입니다. +> 더 많은 정보: . + +- RDP 파일 서명: + +`rdpsign {{경로\대상\파일.rdp}}` + +- 특정 sha256 해시를 사용하여 RDP 파일 서명: + +`rdpsign {{경로\대상\파일.rdp}} /sha265 {{해시}}` + +- 최소 출력 설정: + +`rdpsign {{경로\대상\파일.rdp}} /q` + +- 자세한 경고, 메시지 및 상태 출력: + +`rdpsign {{경로\대상\파일.rdp}} /v` + +- 파일을 업데이트하지 않고 출력 결과를 `stdout`에 표시하여 서명을 테스트: + +`rdpsign {{경로\대상\파일.rdp}} /l` diff --git a/pages.ko/windows/reg-add.md b/pages.ko/windows/reg-add.md new file mode 100644 index 00000000000000..348cabf9b63820 --- /dev/null +++ b/pages.ko/windows/reg-add.md @@ -0,0 +1,24 @@ +# reg add + +> 레지스트리에 새 키와 값을 추가. +> 더 많은 정보: . + +- 새 레지스트리 키 추가: + +`reg add {{키_이름}}` + +- 특정 키 아래에 새 [v]alue 추가: + +`reg add {{키_이름}} /v {{값}}` + +- 특정 [d]ata로 새 값 추가: + +`reg add {{키_이름}} /d {{데이터}}` + +- 특정 데이터 [t]ype으로 키에 새 값 추가: + +`reg add {{키_이름}} /t REG_{{SZ|MULTI_SZ|DWORD_BIG_ENDIAN|DWORD|BINARY|DWORD_LITTLE_ENDIAN|LINK|FULL_RESOURCE_DESCRIPTOR|EXPAND_SZ}}` + +- [f]orcefully (프롬프트 없이) 기존 레지스트리 값 덮어쓰기: + +`reg add {{키_이름}} /f` diff --git a/pages.ko/windows/reg-compare.md b/pages.ko/windows/reg-compare.md new file mode 100644 index 00000000000000..ab480d18aa9c7f --- /dev/null +++ b/pages.ko/windows/reg-compare.md @@ -0,0 +1,28 @@ +# reg compare + +> 레지스트리에서 키와 해당 값을 비교. +> 더 많은 정보: . + +- 특정 키 아래의 모든 값을 다른 키와 비교: + +`reg compare {{키_이름1}} {{키_이름2}}` + +- 두 키 아래의 특정 [값]을 비교: + +`reg compare {{키_이름1}} {{키_이름2}} /v {{값}}` + +- 두 키의 모든 [하위 키]와 값을 비교: + +`reg compare {{키_이름1}} {{키_이름2}} /s` + +- 지정된 키 간의 일치하는 [동일] 항목만 출력: + +`reg compare {{키_이름1}} {{키_이름2}} /os` + +- 지정된 키 간의 차이점과 일치하는 항목([모두]) 출력: + +`reg compare {{키_이름1}} {{키_이름2}} /oa` + +- 두 키를 비교하고, [아무것도] 출력하지 않음: + +`reg compare {{키_이름1}} {{키_이름2}} /on` diff --git a/pages.ko/windows/reg-copy.md b/pages.ko/windows/reg-copy.md new file mode 100644 index 00000000000000..1f0018f0451b45 --- /dev/null +++ b/pages.ko/windows/reg-copy.md @@ -0,0 +1,16 @@ +# reg copy + +> 레지스트리에서 키와 그 값을 복사. +> 더 많은 정보: . + +- 레지스트리 키를 새로운 레지스트리 위치로 복사: + +`reg copy {{old_key_name}} {{new_key_name}}` + +- 레지스트리 키를 재귀적으로 (모든 [s]ubkeys 포함) 새로운 레지스트리 위치로 복사: + +`reg copy {{old_key_name}} {{new_key_name}} /s` + +- [f]orcefully (프롬프트 없이) 레지스트리 키 복사: + +`reg copy {{old_key_name}} {{new_key_name}} /f` diff --git a/pages.ko/windows/reg-delete.md b/pages.ko/windows/reg-delete.md new file mode 100644 index 00000000000000..987cf420cdeae7 --- /dev/null +++ b/pages.ko/windows/reg-delete.md @@ -0,0 +1,20 @@ +# reg delete + +> 레지스트리에서 키 또는 해당 값을 삭제. +> 더 많은 정보: . + +- 특정 레지스트리 키 삭제: + +`reg delete {{키_이름}}` + +- 특정 키 아래의 [v]alue 삭제: + +`reg delete {{키_이름}} /v {{값}}` + +- 지정된 키 아래의 모든 [v]alue를 재귀적으로 삭제: + +`reg delete {{키_이름}} /va` + +- 프롬프트 없이 강제로 특정 키 아래의 모든 [v]alue를 재귀적으로 삭제: + +`reg delete {{키_이름}} /f /va` diff --git a/pages.ko/windows/reg-export.md b/pages.ko/windows/reg-export.md new file mode 100644 index 00000000000000..bc309aeb40c605 --- /dev/null +++ b/pages.ko/windows/reg-export.md @@ -0,0 +1,12 @@ +# reg export + +> 지정된 하위 키와 값을 `.reg` 파일로 내보냅니다. +> 더 많은 정보: . + +- 특정 키의 모든 하위 키와 값을 내보내기: + +`reg export {{키_이름}} {{경로\대상\파일.reg}}` + +- 기존 파일을 강제로 ([y]es로 가정) 덮어쓰기: + +`reg export {{키_이름}} {{경로\대상\파일.reg}} /y` diff --git a/pages.ko/windows/reg-import.md b/pages.ko/windows/reg-import.md new file mode 100644 index 00000000000000..a40a8f11033998 --- /dev/null +++ b/pages.ko/windows/reg-import.md @@ -0,0 +1,8 @@ +# reg import + +> 모든 사용 가능한 키, 하위 키 및 값을 `.reg` 파일에서 가져옴. +> 더 많은 정보: . + +- 파일에서 모든 키, 하위 키 및 값 가져오기: + +`reg import {{경로\대상\파일.reg}}` diff --git a/pages.ko/windows/reg-load.md b/pages.ko/windows/reg-load.md new file mode 100644 index 00000000000000..ed033f5702fe3f --- /dev/null +++ b/pages.ko/windows/reg-load.md @@ -0,0 +1,9 @@ +# reg load + +> 저장된 하위 키를 레지스트리의 다른 하위 키로 불러오기. +> 참고: 이는 문제 해결 및 임시 키를 위해 사용됩니다. +> 더 많은 정보: . + +- 백업 파일을 지정된 키로 불러오기: + +`reg load {{키_이름}} {{경로\대상\파일.hiv}}` diff --git a/pages.ko/windows/reg-query.md b/pages.ko/windows/reg-query.md new file mode 100644 index 00000000000000..3cf2b4ce256806 --- /dev/null +++ b/pages.ko/windows/reg-query.md @@ -0,0 +1,36 @@ +# reg query + +> 레지스트리의 키와 하위 키의 값을 표시. +> 더 많은 정보: . + +- 키의 모든 값 표시: + +`reg query {{키_이름}}` + +- 키의 특정 [값] 표시: + +`reg query {{키_이름}} /v {{값}}` + +- 키와 하위 키의 모든 값 표시: + +`reg query {{키_이름}} /s` + +- 특정 패턴과 일치하는 키와 값을 [검색]: + +`reg query {{키_이름}} /f "{{검색_패턴}}"` + +- 지정된 데이터 [형식]과 일치하는 키의 값 표시: + +`reg query {{키_이름}} /t REG_{{SZ|MULTI_SZ|EXPAND_SZ|DWORD|BINARY|NONE}}` + +- 데이터에서만 검색: + +`reg query {{키_이름}} /d` + +- 키 이름에서만 검색: + +`reg query {{키_이름}} /f "{{검색_패턴}}" /k` + +- [대소문자] 구분하여 [정확히] 일치하는 값 검색: + +`reg query {{키_이름}} /c /e` diff --git a/pages.ko/windows/reg-restore.md b/pages.ko/windows/reg-restore.md new file mode 100644 index 00000000000000..aed4327eff7bd8 --- /dev/null +++ b/pages.ko/windows/reg-restore.md @@ -0,0 +1,9 @@ +# reg restore + +> 네이티브 `.hiv` 파일에서 키와 그 값을 복원. +> 자세한 내용은 `reg-save`를 참조하세요. +> 더 많은 정보: . + +- 백업 파일의 데이터로 지정된 키 덮어쓰기: + +`reg restore {{키_이름}} {{경로\대상\파일.hiv}}` diff --git a/pages.ko/windows/reg-save.md b/pages.ko/windows/reg-save.md new file mode 100644 index 00000000000000..13aa47ffefc0b7 --- /dev/null +++ b/pages.ko/windows/reg-save.md @@ -0,0 +1,12 @@ +# reg save + +> 레지스트리 키, 하위 키 및 값을 네이티브 `.hiv` 파일로 저장합니다. +> 더 많은 정보: . + +- 레지스트리 키, 하위 키 및 값을 특정 파일로 저장: + +`reg save {{키_이름}} {{경로\대상\파일.hiv}}` + +- 기존 파일을 강제로 (예라고 가정) 덮어쓰기: + +`reg save {{키_이름}} {{경로\대상\파일.hiv}} /y` diff --git a/pages.ko/windows/reg-unload.md b/pages.ko/windows/reg-unload.md new file mode 100644 index 00000000000000..dc8e2d01a87c36 --- /dev/null +++ b/pages.ko/windows/reg-unload.md @@ -0,0 +1,8 @@ +# reg unload + +> `reg load` 명령을 사용하여 로드된 레지스트리에서 데이터를 제거. +> 더 많은 정보: . + +- 지정된 키에 대한 레지스트리 데이터 제거: + +`reg unload {{키_이름}}` diff --git a/pages.ko/windows/reg.md b/pages.ko/windows/reg.md new file mode 100644 index 00000000000000..db4842bf684b05 --- /dev/null +++ b/pages.ko/windows/reg.md @@ -0,0 +1,37 @@ +# reg + +> Windows 레지스트리에서 키와 값을 관리. +> `add`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. +> 더 많은 정보: . + +- 레지스트리 명령 실행: + +`reg {{명령}}` + +- 하위 키 추가 및 복사에 대한 문서 보기: + +`tldr reg {{add|copy}}` + +- 키 및 하위 키 삭제에 대한 문서 보기: + +`tldr reg {{delete|unload}}` + +- 키 검색, 보기 및 비교에 대한 문서 보기: + +`tldr reg {{compare|flags|query}}` + +- 레지스트리 키를 내보내고 가져오면서 키 소유권 및 ACL을 보존하지 않는 것에 대한 문서 보기: + +`tldr reg {{export|import}}` + +- 키 소유권 및 ACL을 보존하면서 레지스트리를 저장, 복원 및 언로드하는 것에 대한 문서 보기: + +`tldr reg {{save|restore|load|unload}}` + +- 도움말 표시: + +`reg /?` + +- 특정 명령에 대한 도움말 표시: + +`reg {{명령}} /?` diff --git a/pages.ko/windows/remove-appxpackage.md b/pages.ko/windows/remove-appxpackage.md new file mode 100644 index 00000000000000..ee0148e7ae843e --- /dev/null +++ b/pages.ko/windows/remove-appxpackage.md @@ -0,0 +1,20 @@ +# Remove-AppxPackage + +> 사용자 계정에서 앱 패키지를 제거하는 PowerShell 유틸리티입니다. +> 더 많은 정보: . + +- 앱 패키지 삭제: + +`Remove-AppxPackage {{패키지}}` + +- 특정 사용자에 대한 앱 패키지 삭제: + +`Remove-AppxPackage {{패키지}} -User {{사용자명}}` + +- 모든 사용자에 대한 앱 패키지 삭제: + +`Remove-AppxPackage {{패키지}} -AllUsers` + +- 앱 패키지를 제거하지만 앱 데이터는 보존: + +`Remove-AppxPackage {{패키지}} -PreserveApplicationData` diff --git a/pages.ko/windows/remove-item.md b/pages.ko/windows/remove-item.md new file mode 100644 index 00000000000000..88706dc81053d1 --- /dev/null +++ b/pages.ko/windows/remove-item.md @@ -0,0 +1,29 @@ +# Remove-Item + +> 파일, 폴더, 레지스트리 키 및 하위 키를 삭제합니다. +> 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 특정 파일 또는 레지스트리 키 삭제 (하위 키 없음): + +`Remove-Item {{경로\대상\파일_또는_키1 , 경로\대상\파일_또는_키2 ...}}` + +- 숨김 또는 읽기 전용 파일 삭제: + +`Remove-Item -Force {{경로\대상\파일1 , 경로\대상\파일2 ...}}` + +- 특정 파일 또는 레지스트리 키를 각 삭제 전에 확인 메시지를 표시: + +`Remove-Item -Confirm {{경로\대상\파일_또는_키1 , 경로\대상\파일_또는_키2 ...}}` + +- 특정 파일 및 디렉토리를 재귀적으로 삭제 (Windows 10 버전 1909 이상): + +`Remove-Item -Recurse {{경로\대상\파일_또는_디렉토리1 , 경로\대상\파일_또는_디렉토리2 ...}}` + +- 특정 Windows 레지스트리 키 및 모든 하위 키 삭제: + +`Remove-Item -Recurse {{경로\대상\키1 , 경로\대상\키2 ...}}` + +- 삭제 프로세스를 건너뛰고 예상 실행 결과 표시: + +`Remove-Item -WhatIf {{경로\대상\파일1 , 경로\대상\파일2 ...}}` diff --git a/pages.ko/windows/repair-bde.md b/pages.ko/windows/repair-bde.md new file mode 100644 index 00000000000000..7d2a2b33cc2200 --- /dev/null +++ b/pages.ko/windows/repair-bde.md @@ -0,0 +1,36 @@ +# repair-bde + +> 손상된 BitLocker 암호화 볼륨을 복구하거나 해독하려고 시도합니다. +> 더 많은 정보: . + +- 지정된 볼륨을 복구하려고 시도: + +`repair-bde {{C:}}` + +- 지정된 볼륨을 복구하려고 시도하고 다른 볼륨에 출력: + +`repair-bde {{C:}} {{D:}}` + +- 제공된 복구 키 파일 사용하여 지정된 볼륨을 복구하려고 시도: + +`repair-bde {{C:}} -RecoveryKey {{경로\대상\파일.bek}}` + +- 제공된 숫자 복구 암호 사용하여 지정된 볼륨을 복구하려고 시도: + +`repair-bde {{C:}} -RecoveryPassword {{암호}}` + +- 제공된 암호 사용하여 지정된 볼륨을 복구하려고 시도: + +`repair-bde {{C:}} -Password {{암호}}` + +- 제공된 키 패키지 사용하여 지정된 볼륨을 복구하려고 시도: + +`repair-bde {{C:}} -KeyPackage {{경로\대상\디렉토리}}` + +- 모든 출력을 특정 파일에 기록: + +`repair-bde {{C:}} -LogFile {{경로\대상\파일}}` + +- 도움말 표시: + +`repair-bde /?` diff --git a/pages.ko/windows/replace.md b/pages.ko/windows/replace.md new file mode 100644 index 00000000000000..280bc221696519 --- /dev/null +++ b/pages.ko/windows/replace.md @@ -0,0 +1,37 @@ +# replace + +> 파일을 대체합니다. +> 추가 참고: `robocopy`, `move`, `copy`, `del`. +> 더 많은 정보: . + +- 대상 파일을 소스 디렉토리의 파일로 대체: + +`replace {{경로\대상\파일_또는_디렉토리}} {{경로\대상\대상_디렉토리}}` + +- 기존 파일을 바꾸는 대신 대상 디렉토리에 파일을 추가: + +`replace {{경로\대상\파일_또는_디렉토리}} {{경로\대상\대상_디렉토리}} /a` + +- 여러 파일을 대상 디렉토리에 복사하고 대체하기 전에 대화형으로 확인: + +`replace {{경로\대상\파일_또는_디렉토리}} {{경로\대상\대상_디렉토리}} /p` + +- 읽기 전용 파일도 대체: + +`replace {{경로\대상\파일_또는_디렉토리}} {{경로\대상\대상_디렉토리}} /r` + +- 파일을 대체하기 전에 디스크를 삽입하도록 기다림 (원래는 플로피 디스크를 삽입하는 데 사용): + +`replace {{경로\대상\파일_또는_디렉토리}} {{경로\대상\대상_디렉토리}} /w` + +- 대상의 하위 디렉토리에 있는 모든 파일을 대체: + +`replace {{경로\대상\파일_또는_디렉토리}} {{경로\대상\대상_디렉토리}} /s` + +- 소스 디렉토리에 있는 파일보다 오래된 대상 디렉토리의 파일만 대체: + +`replace {{경로\대상\파일_또는_디렉토리}} {{경로\대상\대상_디렉토리}} /u` + +- 도움말 표시: + +`replace /?` diff --git a/pages.ko/windows/resolve-path.md b/pages.ko/windows/resolve-path.md new file mode 100644 index 00000000000000..71004f8cfb7953 --- /dev/null +++ b/pages.ko/windows/resolve-path.md @@ -0,0 +1,17 @@ +# Resolve-Path + +> 경로에서 와일드카드 문자를 확인하고 경로 내용을 표시합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 홈 폴더 경로 확인: + +`Resolve-Path {{~}}` + +- UNC 경로 확인: + +`Resolve-Path -Path "\\{{호스트명}}\{{경로\대상\파일}}"` + +- 상대 경로 확인: + +`Resolve-Path -Path {{경로\대상\파일_또는_디렉토리}} -Relative` diff --git a/pages.ko/windows/ri.md b/pages.ko/windows/ri.md new file mode 100644 index 00000000000000..61c38a97b719bc --- /dev/null +++ b/pages.ko/windows/ri.md @@ -0,0 +1,7 @@ +# ri + +> PowerShell에서 이 명령어는 `Remove-Item`의 별칭입니다. + +- 원본 명령어의 문서 보기: + +`tldr remove-item` diff --git a/pages.ko/windows/rm.md b/pages.ko/windows/rm.md new file mode 100644 index 00000000000000..e8f9ea35769e7c --- /dev/null +++ b/pages.ko/windows/rm.md @@ -0,0 +1,7 @@ +# rm + +> PowerShell에서 이 명령어는 `Remove-Item`의 별칭입니다. + +- 원본 명령어의 문서 보기: + +`tldr remove-item` diff --git a/pages.ko/windows/rmdir.md b/pages.ko/windows/rmdir.md new file mode 100644 index 00000000000000..711663098e300c --- /dev/null +++ b/pages.ko/windows/rmdir.md @@ -0,0 +1,21 @@ +# rmdir + +> 디렉토리와 그 내용을 삭제합니다. +> PowerShell에서 이 명령어는 `Remove-Item`의 별칭입니다. 이 문서는 명령 프롬프트(`cmd`) 버전의 `rmdir`를 기반으로 합니다. +> 더 많은 정보: . + +- 해당 PowerShell 명령어의 문서 보기: + +`tldr remove-item` + +- 빈 디렉토리 삭제: + +`rmdir {{경로\대상\디렉토리}}` + +- 디렉토리와 그 내용 재귀적으로 삭제: + +`rmdir {{경로\대상\디렉토리}} /s` + +- 디렉토리와 그 내용을 프롬프트 없이 재귀적으로 삭제: + +`rmdir {{경로\대상\디렉토리}} /s /q` diff --git a/pages.ko/windows/robocopy.md b/pages.ko/windows/robocopy.md new file mode 100644 index 00000000000000..4ff56c0dd12954 --- /dev/null +++ b/pages.ko/windows/robocopy.md @@ -0,0 +1,33 @@ +# robocopy + +> 강력한 파일 및 폴더 복사. +> 기본적으로 원본과 대상의 타임스탬프 또는 파일 크기가 다른 경우에만 파일이 복사됩니다. +> 더 많은 정보: . + +- 하나의 디렉토리에서 모든 `.jpg` 및 `.bmp` 파일을 다른 디렉토리로 복사: + +`robocopy {{경로\대상\원본_디렉토리}} {{경로\대상\대상_디렉토리}} {{*.jpg}} {{*.bmp}}` + +- 모든 파일 및 하위 디렉토리를 포함하여 복사: + +`robocopy {{경로\대상\원본_디렉토리}} {{경로\대상\대상_디렉토리}} /E` + +- 원본에 없는 모든 항목을 제외하고 모든 속성 및 권한을 포함하여 디렉토리를 미러링/동기화: + +`robocopy {{경로\대상\원본_디렉토리}} {{경로\대상\대상_디렉토리}} /MIR /COPYALL` + +- 대상보다 오래된 원본을 제외한 모든 파일과 하위 디렉토리를 복사: + +`robocopy {{경로\대상\원본_디렉토리}} {{경로\대상\대상_디렉토리}} /E /XO` + +- 모든 50 MB 이상 파일을 복사하는 대신 목록 표시: + +`robocopy {{경로\대상\원본_디렉토리}} {{경로\대상\대상_디렉토리}} /MIN:{{52428800}} /L` + +- 재시도를 5회, 대기 시간을 15초로 제한하고 네트워크 연결이 중단된 경우 재개를 허용: + +`robocopy {{경로\대상\원본_디렉토리}} {{경로\대상\대상_디렉토리}} /Z /R:5 /W:15` + +- 도움말 표시: + +`robocopy /?` diff --git a/pages.ko/windows/rpcinfo.md b/pages.ko/windows/rpcinfo.md new file mode 100644 index 00000000000000..57987a2932b4a1 --- /dev/null +++ b/pages.ko/windows/rpcinfo.md @@ -0,0 +1,20 @@ +# rpcinfo + +> 원격 컴퓨터에서 RPC를 통해 프로그램 목록 표시. +> 더 많은 정보: . + +- 로컬 컴퓨터에 등록된 모든 프로그램 표시: + +`rpcinfo` + +- 원격 컴퓨터에 등록된 모든 프로그램 표시: + +`rpcinfo /p {{컴퓨터명}}` + +- 원격 컴퓨터에서 특정 프로그램 호출: + +`rpcinfo /t {{컴퓨터명}} {{프로그램명}}` + +- 원격 컴퓨터에서 특정 프로그램 호출 (UDP 사용): + +`rpcinfo /u {{컴퓨터명}} {{프로그램명}}` diff --git a/pages.ko/windows/sc-config.md b/pages.ko/windows/sc-config.md new file mode 100644 index 00000000000000..964e6913229343 --- /dev/null +++ b/pages.ko/windows/sc-config.md @@ -0,0 +1,7 @@ +# sc config + +> 이 명령어는 `sc.exe config`의 별칭입니다. + +- 원본 명령어 문서 보기: + +`tldr sc` diff --git a/pages.ko/windows/sc-create.md b/pages.ko/windows/sc-create.md new file mode 100644 index 00000000000000..f4829587a6048c --- /dev/null +++ b/pages.ko/windows/sc-create.md @@ -0,0 +1,7 @@ +# sc create + +> 이 명령어는 `sc.exe create`의 별칭입니다. + +- 원본 명령어 문서 보기: + +`tldr sc` diff --git a/pages.ko/windows/sc-delete.md b/pages.ko/windows/sc-delete.md new file mode 100644 index 00000000000000..2f66d3f9faaad9 --- /dev/null +++ b/pages.ko/windows/sc-delete.md @@ -0,0 +1,7 @@ +# sc delete + +> 이 명령어는 `sc.exe delete`의 별칭입니다. + +- 원본 명령어 문서 보기: + +`tldr sc` diff --git a/pages.ko/windows/sc-query.md b/pages.ko/windows/sc-query.md new file mode 100644 index 00000000000000..70710488c50e32 --- /dev/null +++ b/pages.ko/windows/sc-query.md @@ -0,0 +1,7 @@ +# sc query + +> 이 명령어는 `sc.exe query`의 별칭입니다. + +- 원본 명령어 문서 보기: + +`tldr sc` diff --git a/pages.ko/windows/sc.md b/pages.ko/windows/sc.md new file mode 100644 index 00000000000000..cf56af64a7287b --- /dev/null +++ b/pages.ko/windows/sc.md @@ -0,0 +1,20 @@ +# sc + +> Service Control Manager 및 서비스와 통신합니다. +> 더 많은 정보: . + +- 서비스 상태 표시 (서비스 이름이 없으면 모든 서비스 표시): + +`sc.exe query {{서비스명}}` + +- 서비스 비동기적으로 시작: + +`sc.exe create {{서비스명}} binpath= {{경로\대상\서비스_이진_파일}}` + +- 서비스 비동기적으로 중지: + +`sc.exe delete {{서비스명}}` + +- 서비스 유형 설정: + +`sc.exe config {{서비스명}} type= {{서비스_유형}}` diff --git a/pages.ko/windows/scoop-bucket.md b/pages.ko/windows/scoop-bucket.md new file mode 100644 index 00000000000000..d4ee7a153105c7 --- /dev/null +++ b/pages.ko/windows/scoop-bucket.md @@ -0,0 +1,25 @@ +# scoop bucket + +> 버킷 관리: Git 저장소는 scoop이 애플리케이션을 설치하는 방법을 설명하는 파일을 포함합니다. +> Scoop이 버킷이 위치한 곳을 모르면 저장소 위치를 지정해야 합니다. +> 더 많은 정보: . + +- 현재 사용 중인 모든 버킷 표시: + +`scoop bucket list` + +- 알려진 모든 버킷 표시: + +`scoop bucket known` + +- 알려진 버킷을 이름으로 추가: + +`scoop bucket add {{이름}}` + +- 이름과 Git 저장소 URL로 알려지지 않은 버킷을 추가: + +`scoop bucket add {{이름}} {{https://example.com/repository.git}}` + +- 이름으로 버킷 제거: + +`scoop bucket rm {{이름}}` diff --git a/pages.ko/windows/scoop.md b/pages.ko/windows/scoop.md new file mode 100644 index 00000000000000..09b247d9890096 --- /dev/null +++ b/pages.ko/windows/scoop.md @@ -0,0 +1,33 @@ +# scoop + +> Scoop 패키지 관리자. +> `bucket`과 같은 하위 명령어는 자체 문서를 가지고 있습니다. +> 더 많은 정보: . + +- 패키지 설치: + +`scoop install {{패키지}}` + +- 패키지 제거: + +`scoop uninstall {{패키지}}` + +- 모든 설치된 패키지 업데이트: + +`scoop update --all` + +- 설치된 패키지 목록 표시: + +`scoop list` + +- 패키지 정보 표시: + +`scoop info {{패키지}}` + +- 패키지 검색: + +`scoop search {{패키지}}` + +- 모든 패키지의 이전 버전 제거 및 다운로드 캐시 정리: + +`scoop cleanup --cache --all` diff --git a/pages.ko/windows/sdelete.md b/pages.ko/windows/sdelete.md new file mode 100644 index 00000000000000..a34eb1281e2590 --- /dev/null +++ b/pages.ko/windows/sdelete.md @@ -0,0 +1,20 @@ +# sdelete + +> 디스크에서 파일/디렉토리를 안전하게 삭제하거나 볼륨/물리적 디스크의 사용 가능한 공간을 정리합니다. +> 더 많은 정보: . + +- 3회 덮어쓰기로 파일 삭제: + +`sdelete -p 3 {{경로\대상\파일1 경로\대상\파일2 ...}}` + +- 폴더와 하위 디렉토리를 1회 덮어쓰기로 삭제: + +`sdelete -s {{경로\대상\폴더1 경로\대상\폴더2 ...}}` + +- 볼륨 D의 사용 가능한 공간을 3회 덮어쓰기로 정리: + +`sdelete -p 3 D:` + +- 물리적 디스크 2의 사용 가능한 공간을 0으로 정리 (볼륨이 포함되지 않아야 함): + +`sdelete -z 2` diff --git a/pages.ko/windows/sdelete64.md b/pages.ko/windows/sdelete64.md new file mode 100644 index 00000000000000..4d323033c1b890 --- /dev/null +++ b/pages.ko/windows/sdelete64.md @@ -0,0 +1,7 @@ +# sdelete64 + +> 이 명령어는 `sdelete`의 64비트 버전입니다. + +- 원본 명령어 문서 표시: + +`tldr sdelete` diff --git a/pages.ko/windows/select-string.md b/pages.ko/windows/select-string.md new file mode 100644 index 00000000000000..e751e7e1a33483 --- /dev/null +++ b/pages.ko/windows/select-string.md @@ -0,0 +1,26 @@ +# Select-String + +> PowerShell에서 문자열과 파일에서 텍스트를 찾습니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> `Select-String`을 UNIX의 `grep`이나 Windows의 `findstr.exe`와 유사하게 사용할 수 있습니다. +> 더 많은 정보: . + +- 파일 내에서 패턴 검색: + +`Select-String -Path "{{경로\대상\파일}}" -Pattern '{{검색_패턴}}'` + +- 정확한 문자열 검색 (정규식 비활성화): + +`Select-String -SimpleMatch "{{정확한_문자열}}" {{경로\대상\파일}}` + +- 현재 디렉토리의 모든 `.ext` 파일에서 패턴 검색: + +`Select-String -Path "{{*.ext}}" -Pattern '{{검색_패턴}}'` + +- 패턴과 일치하는 줄 앞뒤의 지정된 줄 수 캡처: + +`Select-String --Context {{2,3}} "{{검색_패턴}}" {{경로\대상\파일}}` + +- `stdin`에서 패턴과 일치하지 않는 줄 검색: + +`Get-Content {{경로\대상\파일}} | Select-String --NotMatch "{{검색_패턴}}"` diff --git a/pages.ko/windows/set-acl.md b/pages.ko/windows/set-acl.md new file mode 100644 index 00000000000000..3f04926cb219fa --- /dev/null +++ b/pages.ko/windows/set-acl.md @@ -0,0 +1,13 @@ +# Set-Acl + +> 지정된 항목(예: 파일 또는 레지스트리 키)의 보안 설명자를 변경합니다. +> 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 하나의 파일에서 보안 설명자를 복사하여 다른 파일에 적용: + +`$OriginAcl = Get-Acl -Path {{경로\대상\파일}}; Set-Acl -Path {{경로\대상\파일}} -AclObject $OriginAcl` + +- 파이프라인 연산자를 사용하여 설명자 전달: + +`Get-Acl -Path {{경로\대상\파일}} | Set-Acl -Path {{경로\대상\파일}}` diff --git a/pages.ko/windows/set-date.md b/pages.ko/windows/set-date.md new file mode 100644 index 00000000000000..dd25d93c3a9113 --- /dev/null +++ b/pages.ko/windows/set-date.md @@ -0,0 +1,17 @@ +# Set-Date + +> 컴퓨터의 시스템 시간을 지정한 시간으로 변경합니다. +> 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 시스템 날짜에 3일 추가: + +`Set-Date -Date (Get-Date).AddDays({{3}})` + +- 시스템 시계를 10분 되돌리기: + +`Set-Date -Adjust -0:10:0 -DisplayHint Time` + +- 시스템 시계에 90분 추가: + +`$90mins = New-TimeSpan -Minutes {{90}}; Set-Date -Adjust $90mins` diff --git a/pages.ko/windows/set-location.md b/pages.ko/windows/set-location.md new file mode 100644 index 00000000000000..139cc7cbfa29b7 --- /dev/null +++ b/pages.ko/windows/set-location.md @@ -0,0 +1,33 @@ +# Set-Location + +> 현재 작업 디렉토리를 표시하거나 다른 디렉토리로 이동합니다. +> 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 지정된 디렉토리로 이동: + +`Set-Location {{경로\대상\폴더}}` + +- 다른 드라이브의 특정 디렉토리로 이동: + +`Set-Location {{C}}:{{경로\대상\폴더}}` + +- 지정된 디렉토리의 위치 표시: + +`Set-Location {{경로\대상\폴더}} -PassThru` + +- 현재 디렉토리의 상위 디렉토리로 이동: + +`Set-Location ..` + +- 현재 사용자의 홈 디렉토리로 이동: + +`Set-Location ~` + +- 이전에 선택한 디렉토리로 돌아가기/앞으로 이동: + +`Set-Location {{-|+}}` + +- 현재 드라이브의 루트 디렉토리로 이동: + +`Set-Location \` diff --git a/pages.ko/windows/set-service.md b/pages.ko/windows/set-service.md new file mode 100644 index 00000000000000..e4569775922a8d --- /dev/null +++ b/pages.ko/windows/set-service.md @@ -0,0 +1,17 @@ +# Set-Service + +> 서비스를 시작, 중지 및 일시 중단하고 속성을 변경합니다. +> 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 표시 이름 변경: + +`Set-Service -Name {{호스트명}} -DisplayName "{{이름}}"` + +- 서비스 시작 유형 변경: + +`Set-Service -Name {{서비스명}} -StartupType {{Automatic}}` + +- 서비스 설명 변경: + +`Set-Service -Name {{서비스명}} -Description "{{설명}}"` diff --git a/pages.ko/windows/set-volume.md b/pages.ko/windows/set-volume.md new file mode 100644 index 00000000000000..db718e87755c59 --- /dev/null +++ b/pages.ko/windows/set-volume.md @@ -0,0 +1,21 @@ +# Set-Volume + +> 기존 볼륨의 파일 시스템 레이블을 설정하거나 변경합니다. +> 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 드라이브 문자로 식별되는 볼륨의 파일 시스템 레이블 변경: + +`Set-Volume -DriveLetter "D" -NewFileSystemLabel "DataVolume"` + +- 시스템 레이블로 식별되는 볼륨의 파일 시스템 레이블 변경: + +`Set-Volume -FileSystemLabel "OldLabel" -NewFileSystemLabel "NewLabel"` + +- 볼륨 개체의 속성 수정: + +`Set-Volume -InputObject $(Get-Volume -DriveLetter "E") -NewFileSystemLabel "Backup"` + +- 볼륨에 대한 데이터 중복 제거 모드 지정: + +`Set-Volume -DriveLetter "D" -DedupMode Backup` diff --git a/pages.ko/windows/set.md b/pages.ko/windows/set.md new file mode 100644 index 00000000000000..9792a1a2eade90 --- /dev/null +++ b/pages.ko/windows/set.md @@ -0,0 +1,20 @@ +# set + +> 현재 CMD 인스턴스에 대한 환경 변수를 표시하거나 설정합니다. +> 더 많은 정보: . + +- 현재 모든 환경 변수 표시: + +`set` + +- 특정 값으로 환경 변수 설정: + +`set {{이름}}={{값}}` + +- 지정된 문자열로 시작하는 환경 변수 표시: + +`set {{이름}}` + +- 지정된 변수에 대해 사용자에게 값 입력 요청: + +`set /p {{이름}}={{프롬프트_문자열}}` diff --git a/pages.ko/windows/setx.md b/pages.ko/windows/setx.md new file mode 100644 index 00000000000000..bb26f7d17a2e3c --- /dev/null +++ b/pages.ko/windows/setx.md @@ -0,0 +1,20 @@ +# setx + +> 영구적인 환경 변수를 설정합니다. +> 더 많은 정보: . + +- 현재 사용자에 대한 환경 변수 설정: + +`setx {{변수}} {{값}}` + +- 현재 컴퓨터에 대한 환경 변수 설정: + +`setx {{변수}} {{값}} /M` + +- 원격 컴퓨터의 사용자에 대한 환경 변수 설정: + +`setx /s {{호스트명}} /u {{사용자명}} /p {{암호}} {{변수}} {{값}}` + +- 레지스트리 키 값에서 환경 변수 설정: + +`setx {{변수}} /k {{레지스트리\키\경로}}` diff --git a/pages.ko/windows/sfc.md b/pages.ko/windows/sfc.md new file mode 100644 index 00000000000000..2dcdeba75a12ff --- /dev/null +++ b/pages.ko/windows/sfc.md @@ -0,0 +1,32 @@ +# sfc + +> Windows 시스템 파일의 무결성을 검사합니다. +> 더 많은 정보: . + +- 명령어 사용 정보 표시: + +`sfc` + +- 모든 시스템 파일을 검사하고 가능하면 문제 수정: + +`sfc /scannow` + +- 모든 시스템 파일을 검사하고 문제 수정 시도 없음: + +`sfc /verifyonly` + +- 특정 파일을 검사하고 가능하면 문제 수정: + +`sfc /scanfile={{경로\대상\파일}}` + +- 특정 파일을 검사하고 문제 수정 시도 없음: + +`sfc /verifyfile={{경로\대상\파일}}` + +- 오프라인 복구 시 부팅 디렉터리 지정: + +`sfc /offbootdir={{경로\대상\폴더}}` + +- 오프라인 복구 시 Windows 디렉터리 지정: + +`sfc /offwindir={{경로\대상\폴더}}` diff --git a/pages.ko/windows/show-markdown.md b/pages.ko/windows/show-markdown.md new file mode 100644 index 00000000000000..9f7b9b293b39be --- /dev/null +++ b/pages.ko/windows/show-markdown.md @@ -0,0 +1,17 @@ +# Show-Markdown + +> VT100 이스케이프 시퀀스를 사용하거나 HTML을 사용하는 브라우저에서 친숙한 방법으로 콘솔의 Markdown 파일 또는 문자열을 표시합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 파일에서 콘솔로 Markdown 렌더링: + +`Show-Markdown -Path {{경로\대상\파일}}` + +- 문자열에서 콘솔로 Markdown 렌더링: + +`"{{# Markdown content}}" | Show-Markdown` + +- 브라우저에서 Markdown 파일 열기: + +`Show-Markdown -Path {{경로\대상\파일}} -UseBrowser` diff --git a/pages.ko/windows/showmount.md b/pages.ko/windows/showmount.md new file mode 100644 index 00000000000000..c2e6d996d39557 --- /dev/null +++ b/pages.ko/windows/showmount.md @@ -0,0 +1,20 @@ +# showmount + +> NFS 파일 시스템에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- 내보낸 모든 파일 시스템을 표시: + +`showmount -e` + +- 모든 NFS 클라이언트와 마운트된 디렉터리를 표시: + +`showmount -a` + +- NFS로 마운트된 모든 디렉터리 표시: + +`showmount -d` + +- 원격 서버에 대해 내보낸 모든 파일 시스템을 표시: + +`showmount -e {{서버_주소}}` diff --git a/pages.ko/windows/shutdown.md b/pages.ko/windows/shutdown.md new file mode 100644 index 00000000000000..bc09a133f3ab1e --- /dev/null +++ b/pages.ko/windows/shutdown.md @@ -0,0 +1,36 @@ +# shutdown + +> 컴퓨터를 종료, 재시작 또는 로그오프하는 도구입니다. +> 더 많은 정보: . + +- 현재 컴퓨터 종료: + +`shutdown /s` + +- 현재 컴퓨터 강제 종료: + +`shutdown /s /f` + +- 현재 컴퓨터 즉시 재시작: + +`shutdown /r /t 0` + +- 현재 컴퓨터 최대 절전 모드: + +`shutdown /h` + +- 현재 컴퓨터 로그오프: + +`shutdown /l` + +- 종료 전 대기 시간 지정: + +`shutdown /s /t {{8}}` + +- 대기 시간이 만료되지 않은 종료 시퀀스 중단: + +`shutdown /a` + +- 원격 컴퓨터 종료: + +`shutdown /m {{\\호스트명}}` diff --git a/pages.ko/windows/sl.md b/pages.ko/windows/sl.md new file mode 100644 index 00000000000000..3389accb859e3b --- /dev/null +++ b/pages.ko/windows/sl.md @@ -0,0 +1,7 @@ +# sl + +> 이 명령어는 PowerShell에서 `Set-Location`의 별칭입니다. + +- 원래 명령어의 문서 보기: + +`tldr set-location` diff --git a/pages.ko/windows/slmgr.md b/pages.ko/windows/slmgr.md new file mode 100644 index 00000000000000..b3eb2b8c0213bd --- /dev/null +++ b/pages.ko/windows/slmgr.md @@ -0,0 +1,7 @@ +# slmgr + +> 이 명령어는 `slmgr.vbs`의 별칭입니다. + +- 원래 명령어의 문서 보기: + +`tldr slmgr.vbs` diff --git a/pages.ko/windows/slmgr.vbs.md b/pages.ko/windows/slmgr.vbs.md new file mode 100644 index 00000000000000..03bc20c8a491ed --- /dev/null +++ b/pages.ko/windows/slmgr.vbs.md @@ -0,0 +1,37 @@ +# slmgr.vbs + +> Windows 라이선스를 설치, 활성화 및 관리합니다. +> 이 명령어는 현재 Windows 라이선스를 덮어쓰거나 비활성화하거나 제거할 수 있습니다. 주의하여 사용하세요. +> 더 많은 정보: . + +- 현재 Windows 라이선스 정보 표시: + +`slmgr.vbs /dli` + +- 현재 장치의 설치 ID 표시. 오프라인 라이선스 활성화에 유용합니다: + +`slmgr.vbs /dti` + +- 현재 라이선스의 만료 날짜 및 시간 표시: + +`slmgr.vbs /xpr` + +- 새로운 Windows 라이선스 제품 키 설치. 관리자 권한이 필요하며 기존 라이선스를 덮어씁니다: + +`slmgr.vbs /ipk {{제품_키}}` + +- Windows 제품 라이선스 온라인 활성화. 관리자 권한이 필요합니다: + +`slmgr.vbs /ato` + +- Windows 제품 라이선스 오프라인 활성화. 관리자 권한이 필요하며 Microsoft Product Activation Center에서 제공하는 확인 아이디가 필요합니다: + +`slmgr.vbs /atp {{확인_아이디}}` + +- 현재 라이선스의 제품 키를 Windows 레지스트리에서 제거합니다. 이는 현재 라이선스를 비활성화하거나 제거하지 않으며 키가 악성 프로그램에 의해 도난당하는 것을 방지합니다: + +`slmgr.vbs /cpky` + +- 현재 라이선스 제품 키 제거: + +`slmgr.vbs /upk` diff --git a/pages.ko/windows/sls.md b/pages.ko/windows/sls.md new file mode 100644 index 00000000000000..e8c7c598e90710 --- /dev/null +++ b/pages.ko/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> 이 명령은 `Select-String` 의 에일리어스 (별칭) 입니다. + +- 원본 명령의 도큐멘테이션 (설명서) 보기: + +`tldr select-string` diff --git a/pages.ko/windows/sort-object.md b/pages.ko/windows/sort-object.md new file mode 100644 index 00000000000000..373074c3a07d0c --- /dev/null +++ b/pages.ko/windows/sort-object.md @@ -0,0 +1,25 @@ +# Sort-Object + +> 속성 값에 따라 개체를 정렬합니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 이름으로 현재 디렉터리 정렬: + +`Get-ChildItem | Sort-Object` + +- 내림차순으로 현재 디렉터리 정렬: + +`Get-ChildItem | Sort-Object -Descending` + +- 중복 항목 제거: + +`"a", "b", "a" | Sort-Object -Unique` + +- 파일 길이로 현재 디렉터리 정렬: + +`Get-ChildItem | Sort-Object -Property Length` + +- 메모리 사용량이 가장 많은 프로세스를 메모리 사용량 기준으로 정렬: + +`Get-Process | Sort-Object -Property WS` diff --git a/pages.ko/windows/start-service.md b/pages.ko/windows/start-service.md new file mode 100644 index 00000000000000..7a4cc462675870 --- /dev/null +++ b/pages.ko/windows/start-service.md @@ -0,0 +1,17 @@ +# Start-Service + +> 중지된 서비스를 시작합니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 서비스 이름을 사용하여 서비스 시작: + +`Start-Service -Name {{서비스_이름}}` + +- 서비스를 시작하지 않고 정보 표시: + +`Start-Service -DisplayName *{{이름}}* -WhatIf` + +- 비활성화된 서비스 시작: + +`Set-Service {{서비스_이름}} -StartupType {{manual}}; Start-Service {{서비스_이름}}` diff --git a/pages.ko/windows/stop-service.md b/pages.ko/windows/stop-service.md new file mode 100644 index 00000000000000..5bdce28fe74008 --- /dev/null +++ b/pages.ko/windows/stop-service.md @@ -0,0 +1,17 @@ +# Stop-Service + +> 실행 중인 서비스를 중지합니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 로컬 컴퓨터의 서비스 중지: + +`Stop-Service -Name {{서비스_이름}}` + +- 표시 이름을 사용하여 서비스 중지: + +`Stop-Service -DisplayName "{{이름}}"` + +- 종속 서비스가 있는 서비스 중지: + +`Stop-Service -Name {{서비스_이름}} -Force -Confirm` diff --git a/pages.ko/windows/subst.md b/pages.ko/windows/subst.md new file mode 100644 index 00000000000000..6dcfeeec433a74 --- /dev/null +++ b/pages.ko/windows/subst.md @@ -0,0 +1,16 @@ +# subst + +> 경로를 가상 드라이브 문자에 연결합니다. +> 더 많은 정보: . + +- 활성 연결 목록 표시: + +`subst` + +- 연결 추가: + +`subst {{Z:}} {{C:\Python2.7}}` + +- 연결 제거: + +`subst {{Z:}} /d` diff --git a/pages.ko/windows/systeminfo.md b/pages.ko/windows/systeminfo.md new file mode 100644 index 00000000000000..5ae5bd1d6788a9 --- /dev/null +++ b/pages.ko/windows/systeminfo.md @@ -0,0 +1,20 @@ +# systeminfo + +> 로컬 또는 원격 컴퓨터의 운영 체제 구성 정보를 표시합니다. +> 더 많은 정보: . + +- 로컬 컴퓨터의 시스템 구성 표시: + +`systeminfo` + +- 지정된 출력 형식으로 시스템 구성 표시: + +`systeminfo /fo {{표|목록|csv}}` + +- 원격 컴퓨터의 시스템 구성 표시: + +`systeminfo /s {{원격_이름}} /u {{사용자명}} /p {{암호}}` + +- 도움말 표시: + +`systeminfo /?` diff --git a/pages.ko/windows/takeown.md b/pages.ko/windows/takeown.md new file mode 100644 index 00000000000000..e377e3d9bc25c9 --- /dev/null +++ b/pages.ko/windows/takeown.md @@ -0,0 +1,20 @@ +# takeown + +> 파일 또는 디렉토리의 소유권을 가져옵니다. +> 더 많은 정보: . + +- 지정된 파일의 소유권을 취득: + +`takeown /f {{경로\대상\파일}}` + +- 지정된 디렉토리의 소유권을 취득: + +`takeown /d {{경로\대상\디렉토리}}` + +- 지정된 디렉토리 및 모든 하위 디렉토리의 소유권을 취득: + +`takeown /r /d {{경로\대상\디렉토리}}` + +- 현재 사용자 대신 관리자 그룹의 소유권으로 변경: + +`takeown /a /f {{경로\대상\파일}}` diff --git a/pages.ko/windows/taskkill.md b/pages.ko/windows/taskkill.md new file mode 100644 index 00000000000000..c8d65a0f07f3cd --- /dev/null +++ b/pages.ko/windows/taskkill.md @@ -0,0 +1,28 @@ +# taskkill + +> 프로세스 아이디 또는 이름으로 프로세스를 종료합니다. +> 더 많은 정보: . + +- 프로세스 아이디로 프로세스 종료: + +`taskkill /pid {{프로세스_아이디}}` + +- 프로세스 이름으로 프로세스 종료: + +`taskkill /im {{프로세스_이름}}` + +- 강제로 지정된 프로세스 종료: + +`taskkill /pid {{프로세스_아이디}} /f` + +- 프로세스 및 자식 프로세스 종료: + +`taskkill /im {{프로세스_이름}} /t` + +- 원격 머신에서 프로세스 종료: + +`taskkill /pid {{프로세스_아이디}} /s {{원격_이름}}` + +- 명령어 사용 정보 표시: + +`taskkill /?` diff --git a/pages.ko/windows/tasklist.md b/pages.ko/windows/tasklist.md new file mode 100644 index 00000000000000..2f9a32ee3c3f1e --- /dev/null +++ b/pages.ko/windows/tasklist.md @@ -0,0 +1,24 @@ +# tasklist + +> 로컬 또는 원격 머신에서 현재 실행 중인 프로세스 목록을 표시합니다. +> 더 많은 정보: . + +- 현재 실행 중인 프로세스 표시: + +`tasklist` + +- 지정된 출력 형식으로 실행 중인 프로세스 표시: + +`tasklist /fo {{표|목록|csv}}` + +- 지정된 `.exe` 또는 `.dll` 파일 이름으로 실행 중인 프로세스 표시: + +`tasklist /m {{모듈_패턴}}` + +- 원격 머신에서 실행 중인 프로세스 표시: + +`tasklist /s {{원격_이름}} /u {{사용자명}} /p {{암호}}` + +- 각 프로세스에서 사용하는 서비스 표시: + +`tasklist /svc` diff --git a/pages.ko/windows/tee-object.md b/pages.ko/windows/tee-object.md new file mode 100644 index 00000000000000..4ccb817e432e05 --- /dev/null +++ b/pages.ko/windows/tee-object.md @@ -0,0 +1,13 @@ +# Tee-Object + +> 명령어 출력을 파일 또는 변수에 저장하고 파이프라인으로 전달합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 프로세스를 파일과 콘솔에 출력: + +`Get-Process | Tee-Object -FilePath {{경로\대상\파일}}` + +- 프로세스를 변수와 `Select-Object`에 출력: + +`Get-Process notepad | Tee-Object -Variable {{proc}} | Select-Object processname,handles` diff --git a/pages.ko/windows/test-json.md b/pages.ko/windows/test-json.md new file mode 100644 index 00000000000000..caf1e03491c261 --- /dev/null +++ b/pages.ko/windows/test-json.md @@ -0,0 +1,17 @@ +# Test-Json + +> 문자열이 유효한 JSON 문서인지 여부를 테스트합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- `stdin`에서 문자열이 JSON 형식인지 테스트: + +`'{{문자열}}' | Test-Json` + +- 문자열이 JSON 형식인지 테스트: + +`Test-Json -Json '{{테스트_대상_json}}'` + +- `stdin`에서 문자열이 특정 스키마 파일과 일치하는지 테스트: + +`'{{문자열}}' | Test-Json -SchemaFile {{경로\대상\스키마_파일.json}}` diff --git a/pages.ko/windows/test-netconnection.md b/pages.ko/windows/test-netconnection.md new file mode 100644 index 00000000000000..54ff6d72b78467 --- /dev/null +++ b/pages.ko/windows/test-netconnection.md @@ -0,0 +1,13 @@ +# Test-NetConnection + +> 연결에 대한 진단 정보를 표시합니다. +> 참고: 이 명령어는 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 연결을 테스트하고 자세한 결과를 표시: + +`Test-NetConnection -InformationLevel Detailed` + +- 지정된 포트 번호를 사용하여 원격 호스트에 대한 연결을 테스트: + +`Test-NetConnection -ComputerName {{아이피_또는_호스트명}} -Port {{포트_번호}}` diff --git a/pages.ko/windows/time.md b/pages.ko/windows/time.md new file mode 100644 index 00000000000000..391331452bf4ea --- /dev/null +++ b/pages.ko/windows/time.md @@ -0,0 +1,12 @@ +# time + +> 시스템 시간을 표시하거나 설정합니다. +> 더 많은 정보: . + +- 현재 시스템 시간 표시 및 새 시간 입력 요청 (비워두면 변경되지 않음): + +`time` + +- 현재 시스템 시간 표시 (새 시간 입력 요청 없음): + +`time /t` diff --git a/pages.ko/windows/title.md b/pages.ko/windows/title.md new file mode 100644 index 00000000000000..bf4f9df0175ad4 --- /dev/null +++ b/pages.ko/windows/title.md @@ -0,0 +1,8 @@ +# title + +> 명령 프롬프트 창의 제목을 설정합니다. +> 더 많은 정보: . + +- 현재 명령 프롬프트 창의 제목 설정: + +`title {{새_제목}}` diff --git a/pages.ko/windows/tracert.md b/pages.ko/windows/tracert.md new file mode 100644 index 00000000000000..c77c72a08b4e46 --- /dev/null +++ b/pages.ko/windows/tracert.md @@ -0,0 +1,28 @@ +# tracert + +> 컴퓨터와 대상 사이의 경로에서 각 단계에 대한 정보를 받습니다. +> 더 많은 정보: . + +- 경로 추적: + +`tracert {{IP}}` + +- `tracert`가 IP 주소를 호스트 이름으로 확인하지 않도록 방지: + +`tracert /d {{IP}}` + +- `tracert`가 IPv4만 사용하도록 강제: + +`tracert /4 {{IP}}` + +- `tracert`가 IPv6만 사용하도록 강제: + +`tracert /6 {{IP}}` + +- 대상을 찾기 위한 검색에서 최대 홉 수 지정: + +`tracert /h {{최대_홉_수}} {{IP}}` + +- 도움말 표시: + +`tracert /?` diff --git a/pages.ko/windows/tree.md b/pages.ko/windows/tree.md new file mode 100644 index 00000000000000..578a7b4e912e08 --- /dev/null +++ b/pages.ko/windows/tree.md @@ -0,0 +1,20 @@ +# tree + +> 경로의 디렉토리 구조에 대한 그래픽 트리를 표시합니다. +> 더 많은 정보: . + +- 현재 디렉토리에 대한 트리 표시: + +`tree` + +- 특정 디렉토리에 대한 트리 표시: + +`tree {{경로\대상\폴더}}` + +- 특정 디렉토리에 대한 트리 표시 (파일 포함): + +`tree {{경로\대상\폴더}} /f` + +- 트리 표시 그래픽 문자 대신 ASCII 문자 사용: + +`tree {{경로\대상\폴더}} /a` diff --git a/pages.ko/windows/tskill.md b/pages.ko/windows/tskill.md new file mode 100644 index 00000000000000..9cc15cb1b3bf8e --- /dev/null +++ b/pages.ko/windows/tskill.md @@ -0,0 +1,12 @@ +# tskill + +> 원격 데스크톱 세션 호스트의 세션에서 실행 중인 프로세스를 종료합니다. +> 더 많은 정보: . + +- 프로세스 아이디로 프로세스 종료: + +`tskill {{프로세스_아이디}}` + +- 프로세스 이름으로 프로세스 종료: + +`tskill {{프로세스_이름}}` diff --git a/pages.ko/windows/type.md b/pages.ko/windows/type.md new file mode 100644 index 00000000000000..18e287c06087ca --- /dev/null +++ b/pages.ko/windows/type.md @@ -0,0 +1,8 @@ +# type + +> 파일의 내용을 표시합니다. +> 더 많은 정보: . + +- 특정 파일의 내용 표시: + +`type {{경로\대상\파일}}` diff --git a/pages.ko/windows/tzutil.md b/pages.ko/windows/tzutil.md new file mode 100644 index 00000000000000..4857de19ce6bc7 --- /dev/null +++ b/pages.ko/windows/tzutil.md @@ -0,0 +1,16 @@ +# tzutil + +> 시스템 시간대를 표시하거나 구성하는 도구입니다. +> 더 많은 정보: . + +- 현재 시간대 가져오기: + +`tzutil /g` + +- 사용 가능한 시간대 목록 표시: + +`tzutil /l` + +- 시스템 시간대를 특정 값으로 설정: + +`tzutil /s {{시간대_아이디}}` diff --git a/pages.ko/windows/uwfmgr.md b/pages.ko/windows/uwfmgr.md new file mode 100644 index 00000000000000..222030b71e306b --- /dev/null +++ b/pages.ko/windows/uwfmgr.md @@ -0,0 +1,29 @@ +# uwfmgr + +> 통합 쓰기 필터 (UWF). +> 드라이브를 보호하기 위해 드라이브에 대한 모든 쓰기를 가상 오버레이로 리디렉션합니다. 기본적으로 재부팅 후 쓰기는 커밋되지 않으면 삭제됩니다. +> 더 많은 정보: . + +- 현재 상태 가져오기: + +`uwfmgr get-config` + +- 드라이브를 보호로 설정: + +`uwfmgr volume protect {{드라이브_문자}}:` + +- 보호 목록에서 드라이브 제거: + +`uwfmgr volume unprotect {{드라이브_문자}}:` + +- 보호 사용 또는 사용 안 함 (재부팅 후 적용): + +`uwfmgr filter {{enable|disable}}` + +- 보호된 드라이브의 파일 변경 사항 커밋: + +`uwfmgr file commit {{드라이브_문자:\경로\대상\파일}}` + +- 보호된 드라이브의 파일 삭제 커밋: + +`uwfmgr file commit-delete {{드라이브_문자:\경로\대상\파일}}` diff --git a/pages.ko/windows/vcvarsall.md b/pages.ko/windows/vcvarsall.md new file mode 100644 index 00000000000000..281072b2fbea35 --- /dev/null +++ b/pages.ko/windows/vcvarsall.md @@ -0,0 +1,21 @@ +# vcvarsall + +> Microsoft Visual Studio 도구를 사용하기 위해 필요한 환경 변수를 설정합니다. +> 특정 Visual Studio 설치에 대한 `vcvarsall` 경로는 `vswhere`를 사용하여 찾을 수 있습니다. +> 더 많은 정보: . + +- 네이티브 x64 환경 설정: + +`vcvarsall x64` + +- x64 호스트에서 네이티브 x86 크로스 컴파일 환경 설정: + +`vcvarsall x64_x86` + +- x64 호스트에서 네이티브 Arm x64 크로스 컴파일 환경 설정: + +`vcvarsall x64_arm64` + +- 네이티브 UWP x64 환경 설정: + +`vcvarsall x64 uwp` diff --git a/pages.ko/windows/ver.md b/pages.ko/windows/ver.md new file mode 100644 index 00000000000000..a227fa67aeb2b4 --- /dev/null +++ b/pages.ko/windows/ver.md @@ -0,0 +1,8 @@ +# ver + +> 현재 Windows 또는 MS-DOS 버전 번호를 표시합니다. +> 더 많은 정보: . + +- 현재 버전 번호 표시: + +`ver` diff --git a/pages.ko/windows/virtualboxvm.md b/pages.ko/windows/virtualboxvm.md new file mode 100644 index 00000000000000..70c84c25a62017 --- /dev/null +++ b/pages.ko/windows/virtualboxvm.md @@ -0,0 +1,24 @@ +# virtualboxvm + +> VirtualBox 가상 머신을 관리합니다. +> 더 많은 정보: . + +- 가상 머신 시작: + +`virtualboxvm --startvm {{이름|uuid}}` + +- 전체 화면 모드로 가상 머신 시작: + +`virtualboxvm --startvm {{이름|uuid}} --fullscreen` + +- 지정된 DVD 이미지 파일 마운트: + +`virtualboxvm --startvm {{이름|uuid}} --dvd {{경로\대상\이미지_파일}}` + +- 디버그 정보가 포함된 명령줄 창 표시: + +`virtualboxvm --startvm {{이름|uuid}} --debug-command-line` + +- 일시 중지된 상태로 가상 머신 시작: + +`virtualboxvm --startvm {{이름|uuid}} --start-paused` diff --git a/pages.ko/windows/vol.md b/pages.ko/windows/vol.md new file mode 100644 index 00000000000000..362e46cff56ef0 --- /dev/null +++ b/pages.ko/windows/vol.md @@ -0,0 +1,12 @@ +# vol + +> 볼륨에 대한 정보를 표시합니다. +> 더 많은 정보: . + +- 현재 드라이브에 대한 볼륨 레이블 및 일련 번호 표시: + +`vol` + +- 특정 볼륨에 대한 볼륨 레이블 및 일련 번호 표시: + +`vol {{D:}}` diff --git a/pages.ko/windows/vswhere.md b/pages.ko/windows/vswhere.md new file mode 100644 index 00000000000000..8cdbd8d04038f8 --- /dev/null +++ b/pages.ko/windows/vswhere.md @@ -0,0 +1,20 @@ +# vswhere + +> Visual Studio 2017 및 더 최신 설치를 찾습니다. +> 더 많은 정보: . + +- vcvarsall.bat의 경로를 찾아 환경 변수를 설정: + +`vswhere -products * -latest -prerelease -find **\VC\Auxiliary\Build\vcvarsall.bat` + +- x64 MSVC 컴파일러 (cl.exe 등)의 디렉토리 찾기: + +`vswhere -products * -latest -prerelease -find **\Hostx64\x64\*` + +- Visual Studio에 포함된 Clang (clang-cl, clang-tidy 등)의 디렉토리 찾기: + +`vswhere -products * -latest -prerelease -find **\Llvm\bin\*` + +- `MSBuild.exe`의 경로 찾기: + +`vswhere -products * -latest -prerelease -find MSBuild\**\Bin\MSBuild.exe` diff --git a/pages.ko/windows/w32tm.md b/pages.ko/windows/w32tm.md new file mode 100644 index 00000000000000..f280165a3ba060 --- /dev/null +++ b/pages.ko/windows/w32tm.md @@ -0,0 +1,32 @@ +# w32tm + +> w32time 시간 동기화 서비스를 쿼리하고 제어합니다. +> 더 많은 정보: . + +- 시간 동기화의 현재 상태 표시: + +`w32tm /query /status /verbose` + +- 시간 서버에 대한 시간 오프셋 그래프 표시: + +`w32tm /stripchart /computer:{{시간_서버}}` + +- 시간 서버에서 NTP 응답 표시: + +`w32tm /stripchart /packetinfo /samples:1 /computer:{{시간_서버}}` + +- 현재 사용되는 시간 서버의 상태 표시: + +`w32tm /query /peers` + +- w32time 서비스의 구성 표시 (관리자 권한으로 실행): + +`w32tm /query /configuration` + +- 강제 시간 재동기화를 즉시 실행 (관리자 권한으로 실행): + +`w32tm /resync /force` + +- w32time 디버그 로그를 파일에 쓰기 (관리자 권한으로 실행): + +`w32tm /debug /enable /file:{{경로\대상\debug.log}} /size:{{10000000}} /entries:{{0-300}}` diff --git a/pages.ko/windows/wait-process.md b/pages.ko/windows/wait-process.md new file mode 100644 index 00000000000000..001cedf9944080 --- /dev/null +++ b/pages.ko/windows/wait-process.md @@ -0,0 +1,13 @@ +# Wait-Process + +> 더 많은 입력을 수락하기 전에 프로세스가 중지될 때까지 기다립니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 프로세스 중지 및 기다리기: + +`Stop-Process -Id {{프로세스_아이디}}; Wait-Process -Id {{프로세스_아이디}}` + +- 지정된 시간 동안 프로세스 기다리기: + +`Wait-Process -Name {{프로세스_이름}} -Timeout {{30}}` diff --git a/pages.ko/windows/wget.md b/pages.ko/windows/wget.md new file mode 100644 index 00000000000000..288a975a627cc9 --- /dev/null +++ b/pages.ko/windows/wget.md @@ -0,0 +1,17 @@ +# wget + +> 원래 `wget` 프로그램 ()이 제대로 설치되지 않은 경우, PowerShell에서는 이 명령이 `Invoke-WebRequest`의 별칭일 수 있습니다. +> 참고: 버전 명령어가 오류를 반환하는 경우, PowerShell이 이 명령을 `Invoke-WebRequest`로 대체할 수 있습니다. +> 더 많은 정보: . + +- 원래 `wget` 명령어의 문서 보기: + +`tldr wget -p common` + +- PowerShell의 `Invoke-WebRequest` 명령어의 문서 보기: + +`tldr invoke-webrequest` + +- 버전 표시: + +`wget --version` diff --git a/pages.ko/windows/where-object.md b/pages.ko/windows/where-object.md new file mode 100644 index 00000000000000..2803aeb42cbd30 --- /dev/null +++ b/pages.ko/windows/where-object.md @@ -0,0 +1,17 @@ +# Where-Object + +> 속성 값에 따라 컬렉션에서 개체를 선택합니다. +> 참고: 이 명령은 PowerShell을 통해서만 사용할 수 있습니다. +> 더 많은 정보: . + +- 별칭을 이름으로 필터링: + +`Get-Alias | Where-Object -{{속성}} {{이름}} -{{eq}} {{이름}}` + +- 현재 중지된 모든 서비스 나열. `$_` 자동 변수는 `Where-Object` cmdlet에 전달되는 각 개체를 나타냄: + +`Get-Service | Where-Object {$_.Status -eq "Stopped"}` + +- 여러 조건 사용: + +`Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }` diff --git a/pages.ko/windows/where.md b/pages.ko/windows/where.md new file mode 100644 index 00000000000000..7268bef424cd88 --- /dev/null +++ b/pages.ko/windows/where.md @@ -0,0 +1,21 @@ +# where + +> 검색 패턴과 일치하는 파일의 위치를 표시합니다. +> 기본적으로 현재 작업 디렉토리와 PATH 환경 변수의 경로를 폴더로 설정합니다. +> 더 많은 정보: . + +- 파일 패턴의 위치 표시: + +`where {{파일_패턴}}` + +- 파일 크기와 날짜를 포함하여 파일 패턴의 위치 표시: + +`where /T {{파일_패턴}}` + +- 지정된 경로에서 파일 패턴을 재귀적으로 검색: + +`where /R {{경로\대상\폴더}} {{파일_패턴}}` + +- 파일 패턴의 위치에 대한 오류 코드를 자동으로 반환: + +`where /Q {{파일_패턴}}` diff --git a/pages.ko/windows/whoami.md b/pages.ko/windows/whoami.md new file mode 100644 index 00000000000000..30acc787add2d2 --- /dev/null +++ b/pages.ko/windows/whoami.md @@ -0,0 +1,28 @@ +# whoami + +> 현재 사용자에 대한 세부 정보를 표시합니다. +> 더 많은 정보: . + +- 현재 사용자의 사용자 이름 표시: + +`whoami` + +- 현재 사용자가 멤버인 그룹 표시: + +`whoami /groups` + +- 현재 사용자의 보안 권한 표시: + +`whoami /priv` + +- 현재 사용자의 이름을 사용자 계정 이름 (UPN)으로 표시: + +`whoami /upn` + +- 현재 사용자의 로그온 ID 표시: + +`whoami /logonid` + +- 현재 사용자에 대한 모든 정보 표시: + +`whoami /all` diff --git a/pages.ko/windows/winget.md b/pages.ko/windows/winget.md new file mode 100644 index 00000000000000..323b71895e1f39 --- /dev/null +++ b/pages.ko/windows/winget.md @@ -0,0 +1,36 @@ +# winget + +> 윈도우 패키지 매니저. +> 더 많은 정보: . + +- 패키지 설치: + +`winget install {{패키지}}` + +- 패키지 제거 (참고: `remove` 대신 `uninstall` 을 사용할 수 있음): + +`winget uninstall {{패키지}}` + +- 패키지에 대한 정보 표시: + +`winget show {{패키지}}` + +- 패키지 검색: + +`winget search {{패키지}}` + +- 모든 패키지를 최신 버전으로 업그레이드: + +`winget upgrade --all` + +- 관리할 수 있는 모든 패키지 나열: + +`winget list --source winget` + +- 파일에서 패키지 가져오기 또는 설치된 패키지를 파일로 내보내기: + +`winget {{import|export}} {{--import-file|--output}} {{경로/대상/파일}}` + +- winget 매니페스트 패키지 저장소에 PR을 제출하기 전에 유효성 검사: + +`winget validate {{경로/대상/매니페스트}}` diff --git a/pages.ko/windows/wmic.md b/pages.ko/windows/wmic.md new file mode 100644 index 00000000000000..61f9b937a60723 --- /dev/null +++ b/pages.ko/windows/wmic.md @@ -0,0 +1,32 @@ +# wmic + +> 실행 중인 프로세스에 대한 세부 정보를 보는 데 사용되는 대화형 쉘입니다. +> 더 많은 정보: . + +- 기본 문법: + +`wmic {{별칭}} {{where_구문}} {{verb_구문}}` + +- 현재 실행 중인 프로세스에 대한 간단한 세부 정보 표시: + +`wmic process list brief` + +- 현재 실행 중인 프로세스에 대한 전체 세부 정보 표시: + +`wmic process list full` + +- 프로세스 이름, 프로세스 ID 및 부모 프로세스 ID와 같은 특정 필드 접근: + +`wmic process get {{이름,프로세스_id,부모_프로세스_id}}` + +- 특정 프로세스에 대한 정보 표시: + +`wmic process where {{이름="example.exe"}} list full` + +- 특정 프로세스에 대한 특정 필드 표시: + +`wmic process where processid={{프로세스_id}} get {{이름,명령어}}` + +- 프로세스 종료: + +`wmic process {{프로세스_id}} delete` diff --git a/pages.ko/windows/wsl-open.md b/pages.ko/windows/wsl-open.md new file mode 100644 index 00000000000000..eb4c64a731a053 --- /dev/null +++ b/pages.ko/windows/wsl-open.md @@ -0,0 +1,24 @@ +# wsl-open + +> 사용자의 기본 Windows GUI 애플리케이션에서 Windows Subsystem for Linux 내에서 파일이나 URL을 엽니다. +> 더 많은 정보: . + +- Windows 탐색기에서 현재 디렉토리 열기: + +`wsl-open {{.}}` + +- Windows에서 사용자의 기본 웹 브라우저에 URL 열기: + +`wsl-open {{https://example.com}}` + +- Windows에서 사용자의 기본 애플리케이션에 특정 파일 열기: + +`wsl-open {{경로\파일}}` + +- `wsl-open`을 쉘의 웹 브라우저로 설정 (링크를 `wsl-open`으로 열기): + +`wsl-open -w` + +- 도움말 표시: + +`wsl-open -h` diff --git a/pages.ko/windows/wsl.md b/pages.ko/windows/wsl.md new file mode 100644 index 00000000000000..bb2e70a2b43326 --- /dev/null +++ b/pages.ko/windows/wsl.md @@ -0,0 +1,36 @@ +# wsl + +> Windows Subsystem for Linux를 관리합니다. +> 더 많은 정보: . + +- Linux 쉘 시작 (기본 배포판): + +`wsl {{쉘_명령어}}` + +- 쉘을 사용하지 않고 Linux 명령 실행: + +`wsl --exec {{명령어}} {{명령어_인수}}` + +- 특정 배포판 지정: + +`wsl --distribution {{배포판}} {{쉘_명령어}}` + +- 사용 가능한 배포판 나열: + +`wsl --list` + +- 배포판을 `.tar` 파일로 내보내기: + +`wsl --export {{배포판}} {{경로\배포판_파일이름.tar}}` + +- `.tar` 파일에서 배포판 가져오기: + +`wsl --import {{배포판}} {{경로\설치_위치}} {{경로\배포판_파일이름.tar}}` + +- 특정 배포판에 대해 사용되는 wsl 버전 변경: + +`wsl --set-version {{배포판}} {{버전}}` + +- Windows Subsystem for Linux 종료: + +`wsl --shutdown` diff --git a/pages.ko/windows/xcopy.md b/pages.ko/windows/xcopy.md new file mode 100644 index 00000000000000..5224bff431a168 --- /dev/null +++ b/pages.ko/windows/xcopy.md @@ -0,0 +1,36 @@ +# xcopy + +> 파일과 폴더 트리를 복사합니다. +> 더 많은 정보: . + +- 파일(들)을 지정된 대상에 복사: + +`xcopy {{경로\파일_또는_폴더}} {{경로\대상\폴더}}` + +- 복사할 파일을 목록으로 표시: + +`xcopy {{경로\파일_또는_폴더}} {{경로\대상\폴더}} /p` + +- 폴더 구조만 복사하고 파일은 제외: + +`xcopy {{경로\파일_또는_폴더}} {{경로\대상\폴더}} /t` + +- 빈 폴더도 복사: + +`xcopy {{경로\파일_또는_폴더}} {{경로\대상\폴더}} /e` + +- 소스의 ACL을 대상에 유지: + +`xcopy {{경로\파일_또는_폴더}} {{경로\대상\폴더}} /o` + +- 네트워크 연결이 끊어졌을 때 재개 허용: + +`xcopy {{경로\파일_또는_폴더}} {{경로\대상\폴더}} /z` + +- 대상에 파일이 있을 때 대화형 프롬프트 비활성화: + +`xcopy {{경로\파일_또는_폴더}} {{경로\대상\폴더}} /y` + +- 도움말 표시: + +`xcopy /?` diff --git a/pages.lo/common/aws-cur.md b/pages.lo/common/aws-cur.md new file mode 100644 index 00000000000000..c1146cf0e6fc68 --- /dev/null +++ b/pages.lo/common/aws-cur.md @@ -0,0 +1,16 @@ +# aws cur + +> Create, query, ແລະ delete AWS ທີ່ສະແດງເຖິງຄຳຈຳກັດຄວາມ. +> ຂໍ້ມູນເພີ່ມເຕີມ: . + +- ສ້າງຕົ້ນທຶນ AWS ແລະ ລາຍງານການໃຊ້ງານຈາກໄຟລ໌ JSON: + +`aws cur put-report-definition --report-definition file://{{path/to/report_definition.json}}` + +- ລາຍງານກາຍເຄື່ອນໄຫວຂອງບັນຊີ: + +`aws cur describe-report-definitions` + +- ລຶບລາຍງານການເຄື່ອນໄຫວ: + +`aws cur --region {{aws_region}} delete-report-definition --report-name {{report}}` diff --git a/pages.lo/common/clang-cpp.md b/pages.lo/common/clang-cpp.md new file mode 100644 index 00000000000000..dea522bf60237c --- /dev/null +++ b/pages.lo/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `clang++`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr clang++` diff --git a/pages.lo/common/clojure.md b/pages.lo/common/clojure.md new file mode 100644 index 00000000000000..c3a6aac658c075 --- /dev/null +++ b/pages.lo/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `clj`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr clj` diff --git a/pages.lo/common/cola.md b/pages.lo/common/cola.md new file mode 100644 index 00000000000000..46b3e43169bd28 --- /dev/null +++ b/pages.lo/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `git-cola`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr git-cola` diff --git a/pages.lo/common/fossil-ci.md b/pages.lo/common/fossil-ci.md new file mode 100644 index 00000000000000..9d80c232445ecf --- /dev/null +++ b/pages.lo/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `fossil commit`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr fossil commit` diff --git a/pages.lo/common/fossil-forget.md b/pages.lo/common/fossil-forget.md new file mode 100644 index 00000000000000..a902ffa7510da3 --- /dev/null +++ b/pages.lo/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `fossil rm`. +> ຂໍ້ມູນເພີ່ມເຕີມ: . + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr fossil rm` diff --git a/pages.lo/common/fossil-new.md b/pages.lo/common/fossil-new.md new file mode 100644 index 00000000000000..ba5b8fb3b135b6 --- /dev/null +++ b/pages.lo/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `fossil init`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr fossil init` diff --git a/pages.lo/common/fossil-rm.md b/pages.lo/common/fossil-rm.md new file mode 100644 index 00000000000000..5dc67785e292ec --- /dev/null +++ b/pages.lo/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `fossil delete`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr fossil delete` diff --git a/pages.lo/common/gh-cs.md b/pages.lo/common/gh-cs.md new file mode 100644 index 00000000000000..998d86550893ae --- /dev/null +++ b/pages.lo/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `gh codespace`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr gh codespace` diff --git a/pages.lo/common/gnmic-sub.md b/pages.lo/common/gnmic-sub.md new file mode 100644 index 00000000000000..8dc062e9d2c1f1 --- /dev/null +++ b/pages.lo/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `gnmic subscribe`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr gnmic subscribe` diff --git a/pages.lo/common/llvm-ar.md b/pages.lo/common/llvm-ar.md new file mode 100644 index 00000000000000..82d06fe2a51dc9 --- /dev/null +++ b/pages.lo/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `ar`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr ar` diff --git a/pages.lo/common/llvm-g++.md b/pages.lo/common/llvm-g++.md new file mode 100644 index 00000000000000..294b144c268ddb --- /dev/null +++ b/pages.lo/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `clang++`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr clang++` diff --git a/pages.lo/common/llvm-gcc.md b/pages.lo/common/llvm-gcc.md new file mode 100644 index 00000000000000..e2f253b2854617 --- /dev/null +++ b/pages.lo/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `clang`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr clang` diff --git a/pages.lo/common/llvm-nm.md b/pages.lo/common/llvm-nm.md new file mode 100644 index 00000000000000..eab1138fa4369b --- /dev/null +++ b/pages.lo/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `nm`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr nm` diff --git a/pages.lo/common/llvm-objdump.md b/pages.lo/common/llvm-objdump.md new file mode 100644 index 00000000000000..dcedb003af253d --- /dev/null +++ b/pages.lo/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `objdump`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr objdump` diff --git a/pages.lo/common/llvm-strings.md b/pages.lo/common/llvm-strings.md new file mode 100644 index 00000000000000..f76e9b26d29d16 --- /dev/null +++ b/pages.lo/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `strings`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr strings` diff --git a/pages.lo/common/mscore.md b/pages.lo/common/mscore.md new file mode 100644 index 00000000000000..ca9f4d074c3c01 --- /dev/null +++ b/pages.lo/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `musescore`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr musescore` diff --git a/pages.lo/common/pio-init.md b/pages.lo/common/pio-init.md new file mode 100644 index 00000000000000..e4c28724478801 --- /dev/null +++ b/pages.lo/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `pio project`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr pio project` diff --git a/pages.lo/common/piodebuggdb.md b/pages.lo/common/piodebuggdb.md new file mode 100644 index 00000000000000..5f9d5bbe7135e1 --- /dev/null +++ b/pages.lo/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `pio debug --interface=gdb`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr pio debug` diff --git a/pages.lo/common/platformio.md b/pages.lo/common/platformio.md new file mode 100644 index 00000000000000..301c39284f6a34 --- /dev/null +++ b/pages.lo/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `pio`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr pio` diff --git a/pages.lo/common/pwd.md b/pages.lo/common/pwd.md new file mode 100644 index 00000000000000..c731edbf31a828 --- /dev/null +++ b/pages.lo/common/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> ສະແດງຊື່ directory ທີ່ເຮັດວຽກຢູ່ +> ຂໍ້ມູນເພີ່ມເຕີມ: . + +- ສະແດງຊື່ directory ທີ່ເຮັດວຽກຢູ່: + +`pwd` + +- ສະແດງຊື່ directory ທີ່ເຮັດວຽກຢູ່ໂດຍບໍ່ລວມ symlinks: + +`pwd -P` diff --git a/pages.lo/common/r2.md b/pages.lo/common/r2.md new file mode 100644 index 00000000000000..14e1a01cbd9fed --- /dev/null +++ b/pages.lo/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `radare2`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr radare2` diff --git a/pages.lo/common/tldr.md b/pages.lo/common/tldr.md new file mode 100644 index 00000000000000..987efc33e1565f --- /dev/null +++ b/pages.lo/common/tldr.md @@ -0,0 +1,20 @@ +# tldr + +> ສະແດງໜ້າຊ່ວຍເຫຼືອແບບງ່າຍໆສຳລັບເຄື່ອງມືແຖວຄຳສັ່ງຈາກໂຄງການ tldr-pages. +> ຂໍ້ມູນເພີ່ມເຕີມ: . + +- ສະແດງຫນ້າ tldr ສໍາລັບຄໍາສັ່ງສະເພາະ(ຄໍາແນະນໍາ: ນີ້ແມ່ນວິທີທີ່ທ່ານມາຮອດນີ້!): + +`tldr {{ຄໍາສັ່ງ}}` + +- ສະແດງໜ້າ tldr ສໍາລັບຄໍາສັ່ງຍ່ອຍສະເພາະ: + +`tldr {{ຄໍາສັ່ງ}}-{{ຄໍາສັ່ງຍ່ອຍ}}` + +- ສະແດງຫນ້າ tldr ສໍາລັບຄໍາສັ່ງສໍາລັບເວທີ [p] ສະເພາະ: + +`tldr {{[-p|--platform]}} {{android|linux|osx|sunos|windows}} {{ຄໍາສັ່ງ}}` + +- ປັບ​ປຸງ​ຖານ​ຄວາມ​ຈໍາ​ທ້ອງ​ຖິ່ນ​ຂອງ tldr ຫນ້າ​: + +`tldr -u` diff --git a/pages.lo/common/tldrl.md b/pages.lo/common/tldrl.md new file mode 100644 index 00000000000000..0ab3933250f635 --- /dev/null +++ b/pages.lo/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `tldr-lint`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr tldr-lint` diff --git a/pages.lo/common/tlmgr-arch.md b/pages.lo/common/tlmgr-arch.md new file mode 100644 index 00000000000000..8a2bdfc39d4003 --- /dev/null +++ b/pages.lo/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `tlmgr platform`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr tlmgr platform` diff --git a/pages.lo/common/vi.md b/pages.lo/common/vi.md new file mode 100644 index 00000000000000..eeceed4d619421 --- /dev/null +++ b/pages.lo/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `vim`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr vim` diff --git a/pages.lo/linux/ip-route-list.md b/pages.lo/linux/ip-route-list.md new file mode 100644 index 00000000000000..4dd86259e70c5f --- /dev/null +++ b/pages.lo/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `ip route show`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr ip route show` diff --git a/pages.lo/linux/ncal.md b/pages.lo/linux/ncal.md new file mode 100644 index 00000000000000..d69e33a1f0eaac --- /dev/null +++ b/pages.lo/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `cal`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr cal` diff --git a/pages.lo/windows/chrome.md b/pages.lo/windows/chrome.md new file mode 100644 index 00000000000000..1b5978a400702f --- /dev/null +++ b/pages.lo/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `chromium`. +> ຂໍ້ມູນເພີ່ມເຕີມ: . + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr chromium` diff --git a/pages.lo/windows/cinst.md b/pages.lo/windows/cinst.md new file mode 100644 index 00000000000000..d52580083ab63e --- /dev/null +++ b/pages.lo/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `choco install`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr choco install` diff --git a/pages.lo/windows/clist.md b/pages.lo/windows/clist.md new file mode 100644 index 00000000000000..e25e42b60da3fd --- /dev/null +++ b/pages.lo/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `choco list`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr choco list` diff --git a/pages.lo/windows/cls.md b/pages.lo/windows/cls.md new file mode 100644 index 00000000000000..08e9e531ef8b92 --- /dev/null +++ b/pages.lo/windows/cls.md @@ -0,0 +1,8 @@ +# cls + +> ລ້າງຕົວອັກສອນທັງໝົດເທິງໜ້າຈໍ +> ຂໍ້ມູນເພີ່ມເຕີມ: . + +- ລ້າງຕົວອັກສອນທັງໝົດເທິງໜ້າຈໍ: + +`cls` diff --git a/pages.lo/windows/cuninst.md b/pages.lo/windows/cuninst.md new file mode 100644 index 00000000000000..910b36923af78d --- /dev/null +++ b/pages.lo/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `choco uninstall`. + +- ເປີດເບິ່ງລາຍລະອຽດຄຳສັ່ງແບບເຕັມ: + +`tldr choco uninstall` diff --git a/pages.lo/windows/iwr.md b/pages.lo/windows/iwr.md new file mode 100644 index 00000000000000..ad4e725cd68301 --- /dev/null +++ b/pages.lo/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `invoke-webrequest`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr invoke-webrequest` diff --git a/pages.lo/windows/pwsh-where.md b/pages.lo/windows/pwsh-where.md new file mode 100644 index 00000000000000..6cfb8f12cbaa2f --- /dev/null +++ b/pages.lo/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `Where-Object`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr Where-Object` diff --git a/pages.lo/windows/sls.md b/pages.lo/windows/sls.md new file mode 100644 index 00000000000000..dc5340b10b8742 --- /dev/null +++ b/pages.lo/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> ຄຳສັ່ງນີ້ເປັນອີກຊື່ໜຶ່ງຂອງຄຳສັ່ງ `Select-String`. + +- ເປີດເບິ່ງລາຍລະອຽດຂອງຄຳສັ່ງແບບເຕັມ: + +`tldr select-string` diff --git a/pages.ml/common/ani-cli.md b/pages.ml/common/ani-cli.md new file mode 100644 index 00000000000000..2a9d82cd986205 --- /dev/null +++ b/pages.ml/common/ani-cli.md @@ -0,0 +1,28 @@ +# ani-cli + +> അനിമേ തിരയുവാനും കാണുവാനുമുള്ള കമാൻഡ് ലൈൻ യൂട്ടിലിറ്റി. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഒരു അനിമേയുടെ പേര് സെർച്ച് ചെയ്യുവാൻ: + +`ani-cli "{{അനിമേയുടെ_പേര്}}"` + +- ഒരു എപ്പിസോഡ് ഡൗൺലോഡ് ചെയ്യുവാൻ: + +`ani-cli -d "{{അനിമേയുടെ_പേര്}}"` + +- വി.എൽ.സി മീഡിയ പ്ലേയറിൽ കാണുവാൻ: + +`ani-cli -v "{{അനിമേയുടെ_പേര്}}"` + +- നിശ്ചിത എപ്പിസോഡ് കാണുവാൻ: + +`ani-cli -e {{എപ്പിസോഡ്_നമ്പർ}} "{{അനിമേയുടെ_പേര്}}"` + +- മുൻപ് കണ്ടുകൊണ്ടിരുന്ന അനിമേ തുടർന്ന് കാണുവാൻ: + +`ani-cli -c` + +- ഈ യൂട്ടിലിറ്റി അപ്ഡേറ്റ് ചെയ്യുവാൻ: + +`ani-cli -U` diff --git a/pages.ml/common/aspell.md b/pages.ml/common/aspell.md new file mode 100644 index 00000000000000..b26c2ae6a49697 --- /dev/null +++ b/pages.ml/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> ഒരു ഇന്ററാക്ടിവ് സ്പെൽ ചെക്കർ. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഒരു ഫയലിലെ തെറ്റായ പദങ്ങൾ കണ്ടെത്തുവാൻ: + +`aspell check {{ഫയലിലേക്കുള്ള/പാത}}` + +- സ്റ്റാൻഡേഡ് ഇൻപുറ്റിൽ നിന്ന് തെറ്റായ പദങ്ങൾ കണ്ടെത്തുവാൻ: + +`cat {{ഫയൽ}} | aspell list` + +- പദശുദ്ധി കണ്ടെത്താൻ ഉപയോഗിക്കാവുന്ന ഭാഷാ-നിഘണ്ടുകൾ കാണുവാൻ: + +`aspell dicts` + +- മറ്റൊരു ഭാഷയുടെ പദശുദ്ധി കാണുവാൻ (ISO 639 ഭാഷാ-കോഡ് അനുസൃതം): + +`aspell --lang={{cs}}` + +- പേഴ്സണൽ ലിസ്റ്റിൽ ഇല്ലാത്തതും സ്റ്റാൻഡേഡ് ഇൻപുറ്റിൽ ഉള്ളതുമായ തെറ്റുകൾ കാണുവാൻ: + +`cat {{ഫയൽ}} | aspell --personal={{പേഴ്സണൽ-വേർഡ്-ലിസ്റ്റ്.pws}} list` diff --git a/pages.ml/common/calc.md b/pages.ml/common/calc.md new file mode 100644 index 00000000000000..6e84fdf76b00f2 --- /dev/null +++ b/pages.ml/common/calc.md @@ -0,0 +1,12 @@ +# calc + +> ടെർമിനലിൽ പ്രവർത്തിക്കുന്ന ഒരു ഇന്ററാക്ടിവ് ആർബിറ്റററി-പ്രിസിഷൻ കാൽക്കുലേറ്റർ. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഇന്ററാക്ടിവ് മോഡിൽ കാൽക്കുലേറ്റർ പ്രവർത്തിപ്പിക്കാൻ: + +`calc` + +- നോൺ-ഇന്ററാക്ടിവ് മോഡിൽ ഒരു ഗണിതക്രിയ ചെയ്യുവാൻ: + +`calc -p '{{85 * (36 / 4)}}'` diff --git a/pages.ml/common/chmod.md b/pages.ml/common/chmod.md new file mode 100644 index 00000000000000..6c564496556c67 --- /dev/null +++ b/pages.ml/common/chmod.md @@ -0,0 +1,36 @@ +# chmod + +> ഒരു ഫയലിന്റെയോ ഡയറക്ടറിയുടെയോ പ്രവേശന അനുമതികൾ മാറ്റുക. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഒരു ഫയൽ കൈവശമുള്ള [u]ser-ന് അത് e[x]ecute ചെയ്യാനുള്ള അവകാശം നൽകുക: + +`chmod u+x {{ഫയലിലേക്കുള്ള/പാത}}` + +- ഒരു ഫയൽ/ഡയറക്‌ടറിയിലേക്ക് [r]ead, [w]rite എന്നിവയ്ക്കുള്ള [u]ser അവകാശങ്ങൾ നൽകുക: + +`chmod u+rw {{ഫയലിലേക്കോ_ഡയറക്ടറിയിലേക്കോ/ഉള്ള/പാത}}` + +- [g]roup ൽ നിന്ന് e[x]ecutable അവകാശങ്ങൾ നീക്കം ചെയ്യുക: + +`chmod g-x {{ഫയലിലേക്കുള്ള/പാത}}` + +- എല്ലാ ഉപയോക്താക്കൾക്കും [r]ead, e[x]ecute എന്നിവയ്ക്കുള്ള അവകാശങ്ങൾ നൽകുക: + +`chmod a+rx {{ഫയലിലേക്കുള്ള/പാത}}` + +- [o]thers മറ്റുള്ളവർക്കും (ഫയൽ ഉടമയുടെ ഗ്രൂപ്പിലല്ല) [g]roup ൽ അതേ അവകാശങ്ങൾ നൽകുക: + +`chmod o=g {{ഫയലിലേക്കുള്ള/പാത}}` + +- [o]thers മറ്റുള്ളവരിൽ നിന്ന് എല്ലാ അവകാശങ്ങളും നീക്കം ചെയ്യുക: + +`chmod o= {{ഫയലിലേക്കുള്ള/പാത}}` + +- ആവർത്തനാനുമതികൾ മാറ്റുക [g]roupൽ [o]thers മറ്റുള്ളവർക്കും [w]rite റൈറ്റ് ചെയ്യാനുള്ള കഴിവ് നൽകുന്നു: + +`chmod {{[-R|--recursive]}} g+w,o+w {{ഡയറക്ടറിയിലേക്കുള്ള/പാത}}` + +- ഫയലുകൾക്കുള്ള [a]ll എല്ലാ ഉപയോക്താക്കൾക്കും [r]ead അനുമതികളും ഒരു ഡയറക്‌ടറിയിലെ ഉപ ഡയറക്‌ടറികൾക്ക് e[x]ecute എക്‌ക്യൂട്ട് അനുമതികളും ആവർത്തിച്ച് നൽകുക: + +`chmod {{[-R|--recursive]}} a+rX {{ഡയറക്ടറിയിലേക്കുള്ള/പാത}}` diff --git a/pages.ml/common/clang-cpp.md b/pages.ml/common/clang-cpp.md new file mode 100644 index 00000000000000..65f5a08ef6e20e --- /dev/null +++ b/pages.ml/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> ഈ കമാൻഡ് `clang++` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr clang++` diff --git a/pages.ml/common/clojure.md b/pages.ml/common/clojure.md new file mode 100644 index 00000000000000..f15c506a1cc2b4 --- /dev/null +++ b/pages.ml/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> ഈ കമാൻഡ് `clj` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr clj` diff --git a/pages.ml/common/cola.md b/pages.ml/common/cola.md new file mode 100644 index 00000000000000..17288fb88de492 --- /dev/null +++ b/pages.ml/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> ഈ കമാൻഡ് `git-cola` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr git-cola` diff --git a/pages.ml/common/fossil-ci.md b/pages.ml/common/fossil-ci.md new file mode 100644 index 00000000000000..7bda87482debd6 --- /dev/null +++ b/pages.ml/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> ഈ കമാൻഡ് `fossil commit`.എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr fossil commit` diff --git a/pages.ml/common/fossil-forget.md b/pages.ml/common/fossil-forget.md new file mode 100644 index 00000000000000..467338e095ed9a --- /dev/null +++ b/pages.ml/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> ഈ കമാൻഡ് `fossil rm` എന്നത്തിന്റെ അപരനാമമാണ്. +> കൂടുതൽ വിവരങ്ങൾ: . + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr fossil rm` diff --git a/pages.ml/common/fossil-new.md b/pages.ml/common/fossil-new.md new file mode 100644 index 00000000000000..dc81e3909901d1 --- /dev/null +++ b/pages.ml/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> ഈ കമാൻഡ് `fossil init`.എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr fossil init` diff --git a/pages.ml/common/fossil-rm.md b/pages.ml/common/fossil-rm.md new file mode 100644 index 00000000000000..88349ed420dc3a --- /dev/null +++ b/pages.ml/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> ഈ കമാൻഡ് `fossil delete` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr fossil delete` diff --git a/pages.ml/common/gh-cs.md b/pages.ml/common/gh-cs.md new file mode 100644 index 00000000000000..39a514215c4928 --- /dev/null +++ b/pages.ml/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> ഈ കമാൻഡ് `gh codespace`.എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr gh codespace` diff --git a/pages.ml/common/git.md b/pages.ml/common/git.md new file mode 100644 index 00000000000000..90422f51b1c2d1 --- /dev/null +++ b/pages.ml/common/git.md @@ -0,0 +1,29 @@ +# git + +> പ്രോഗ്രാമുകളുടെ പല പതിപ്പുകൾ പലയിടങ്ങളിലായി സൂക്ഷിക്കുവാനും നിയന്ത്രിക്കുവാനും ഉള്ള വികേന്ദ്രീകൃത പതിപ്പ് നിയന്ത്രണ സംവിധാനം. +> `commit`, `add`, `branch`, `checkout`, `push` മുതലായ ചില ഉപകമാൻഡുകൾക്ക് അവരുടേതായ ഡോക്യുമെന്റേഷൻ ഉണ്ട്, `tldr git {{ഉപകമാൻഡ്}}` വഴി അവ കാണാൻ കഴിയും. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഗിറ്റ് ഉപകമാന്റുകൾ എക്സിക്യൂട്ട് ചെയ്യുവാൻ: + +`git {{ഉപകമാൻഡ്}}` + +- ഒരു ഇഷ്‌ടാനുസൃത ശേഖരണത്തിന്റെ/റിപ്പോസിറ്ററിയുടെ റൂട്ട് പാതയിൽ ഒരു Git സബ്‌കമാൻഡ് എക്‌സിക്യൂട്ട് ചെയ്യാൻ: + +`git -C {{ശേഖരണത്തിലേക്കുള്ള/പാത}} {{ഉപകമാൻഡ്}}` + +- ഒരു കോൺഫിഗറേഷൻ സെറ്റ് ഉപയോഗിച്ച് Git ഉപകമാൻഡ് എക്സിക്യൂട്ട് ചെയ്യാൻ: + +`git -c '{{കോൺഫിഗ്.പേര്}}={{മൂല്യം}}' {{ഉപകമാൻഡ്}}` + +- സഹായ നിർദേശങ്ങൾ കാണുവാൻ: + +`git --help` + +- `clone`, `add`, `push`, `log` പോലുള്ള ഉപകമാൻഡുകളുടെ സഹായ നിർദേശങ്ങൾ കാണുവാൻ: + +`git help {{ഉപകമാൻഡ്}}` + +- നിങ്ങൾ ഉപയോഗിക്കുന്ന ഗിറ്റിന്റെ പതിപ്പ് പരിശോധിക്കാൻ: + +`git --version` diff --git a/pages.ml/common/gnmic-sub.md b/pages.ml/common/gnmic-sub.md new file mode 100644 index 00000000000000..716766e2e92b68 --- /dev/null +++ b/pages.ml/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> ഈ കമാൻഡ് `gnmic subscribe` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr gnmic subscribe` diff --git a/pages.ml/common/llvm-ar.md b/pages.ml/common/llvm-ar.md new file mode 100644 index 00000000000000..ed0a87009b581e --- /dev/null +++ b/pages.ml/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> ഈ കമാൻഡ് `ar` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr ar` diff --git a/pages.ml/common/llvm-g++.md b/pages.ml/common/llvm-g++.md new file mode 100644 index 00000000000000..9cb9d476086f77 --- /dev/null +++ b/pages.ml/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> ഈ കമാൻഡ് `clang++` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr clang++` diff --git a/pages.ml/common/llvm-gcc.md b/pages.ml/common/llvm-gcc.md new file mode 100644 index 00000000000000..db7449f6372ea9 --- /dev/null +++ b/pages.ml/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> ഈ കമാൻഡ് `clang` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr clang` diff --git a/pages.ml/common/llvm-nm.md b/pages.ml/common/llvm-nm.md new file mode 100644 index 00000000000000..8002d962727657 --- /dev/null +++ b/pages.ml/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> ഈ കമാൻഡ് `nm` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr nm` diff --git a/pages.ml/common/llvm-objdump.md b/pages.ml/common/llvm-objdump.md new file mode 100644 index 00000000000000..d7688f4daaa57d --- /dev/null +++ b/pages.ml/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> ഈ കമാൻഡ് `objdump` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr objdump` diff --git a/pages.ml/common/llvm-strings.md b/pages.ml/common/llvm-strings.md new file mode 100644 index 00000000000000..5eccf027b7a029 --- /dev/null +++ b/pages.ml/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> ഈ കമാൻഡ് `strings` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr strings` diff --git a/pages.ml/common/mscore.md b/pages.ml/common/mscore.md new file mode 100644 index 00000000000000..6f4c586345ec1b --- /dev/null +++ b/pages.ml/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> ഈ കമാൻഡ് `musescore` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr musescore` diff --git a/pages.ml/common/pio-init.md b/pages.ml/common/pio-init.md new file mode 100644 index 00000000000000..7aa04feef2a909 --- /dev/null +++ b/pages.ml/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> ഈ കമാൻഡ് `pio project` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr pio project` diff --git a/pages.ml/common/piodebuggdb.md b/pages.ml/common/piodebuggdb.md new file mode 100644 index 00000000000000..fc16aee7b0e6e4 --- /dev/null +++ b/pages.ml/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> ഈ കമാൻഡ് `pio debug` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr pio debug` diff --git a/pages.ml/common/platformio.md b/pages.ml/common/platformio.md new file mode 100644 index 00000000000000..e8c5264d7de0af --- /dev/null +++ b/pages.ml/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> ഈ കമാൻഡ് `pio` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr pio` diff --git a/pages.ml/common/r2.md b/pages.ml/common/r2.md new file mode 100644 index 00000000000000..d25276767b76d1 --- /dev/null +++ b/pages.ml/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> ഈ കമാൻഡ് `radare2` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr radare2` diff --git a/pages.ml/common/sleep.md b/pages.ml/common/sleep.md new file mode 100644 index 00000000000000..052294091d928d --- /dev/null +++ b/pages.ml/common/sleep.md @@ -0,0 +1,16 @@ +# sleep + +> കാലതാമസം വരുത്തുവാനുള്ള പ്രോഗ്രാം. +> കൂടുതൽ വിവരങ്ങൾ: . + +- നിമിഷങ്ങൾ വൈകിക്കാൻ: + +`sleep {{നിമിഷങ്ങൾ}}` + +- മിനിറ്റുകൾ വൈകിക്കാൻ: + +`sleep {{മിനിറ്റുകൾ}}m` + +- മണിക്കൂറുകൾ വൈകിക്കാൻ: + +`sleep {{മണിക്കൂറുകൾ}}h` diff --git a/pages.ml/common/tldrl.md b/pages.ml/common/tldrl.md new file mode 100644 index 00000000000000..7056d93c7ac334 --- /dev/null +++ b/pages.ml/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> ഈ കമാൻഡ് `tldr-lint` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr tldr-lint` diff --git a/pages.ml/common/tlmgr-arch.md b/pages.ml/common/tlmgr-arch.md new file mode 100644 index 00000000000000..1b08be03d08609 --- /dev/null +++ b/pages.ml/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> ഈ കമാൻഡ് `tlmgr platform` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr tlmgr platform` diff --git a/pages.ml/common/vi.md b/pages.ml/common/vi.md new file mode 100644 index 00000000000000..f095d56accafc2 --- /dev/null +++ b/pages.ml/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> ഈ കമാൻഡ് `vim` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr vim` diff --git a/pages.ml/linux/apt.md b/pages.ml/linux/apt.md index 0b9473cc5d93c5..3eb28a76be7e97 100644 --- a/pages.ml/linux/apt.md +++ b/pages.ml/linux/apt.md @@ -1,7 +1,8 @@ # apt > ഡെബിയൻ അടിസ്ഥാനമാക്കിയുള്ള വിതരണങ്ങൾക്കായുള്ള പാക്കേജ് മാനേജുമെന്റ് യൂട്ടിലിറ്റി. -> ഉബുണ്ടു പതിപ്പുകളിൽ 16.04ലും അതിനുശേഷമുള്ളതിലും സംവേദനാത്മകമായി ഉപയോഗിക്കുമ്പോൾ apt-get പകരം വയ്ക്കാൻ ശുപാർശ ചെയ്യുന്നതു. +> ഉബുണ്ടു പതിപ്പുകളിൽ 16.04ലും അതിനുശേഷമുള്ളതിലും സംവേദനാത്മകമായി ഉപയോഗിക്കുമ്പോൾ `apt-get` പകരം വയ്ക്കാൻ ശുപാർശ ചെയ്യുന്നതു. +> കൂടുതൽ വിവരങ്ങൾ: . - ലഭ്യമായ പാക്കേജുകളുടെയും പതിപ്പുകളുടെയും പട്ടിക അപ്‌ഡേറ്റുചെയ്യുക (മറ്റ് `apt` കമാൻഡുകൾക്ക് മുമ്പ് ഇത് പ്രവർത്തിപ്പിക്കാൻ ശുപാർശ ചെയ്യുന്നു): @@ -33,4 +34,4 @@ - ഇൻസ്റ്റാൾ ചെയ്ത പാക്കേജുകൾ കാണിക്കുക: -`apt list --installed` +`apt list {{[-i|--installed]}}` diff --git a/pages.ml/linux/bluetoothctl.md b/pages.ml/linux/bluetoothctl.md new file mode 100644 index 00000000000000..8b6b0fda0f2fdb --- /dev/null +++ b/pages.ml/linux/bluetoothctl.md @@ -0,0 +1,28 @@ +# bluetoothctl + +> കമാൻഡ് ലൈനിൽ നിന്ന് ബ്ലൂടൂത്ത് ഉപകരണങ്ങൾ മാനേജുചെയ്യുക. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ബ്ലൂടൂത്ത്സിറ്റിഎൽ ഷെല്ലിൽ കേറാൻ: + +`bluetoothctl` + +- ഉപകരണങ്ങളുടെ പട്ടിക കാണാൻ: + +`bluetoothctl --devices` + +- ഒരു ഉപകരണം ജോടിയാക്കുക: + +`bluetoothctl --pair {{മാക്_വിലാസം}}` + +- ഒരു ഉപകരണം നീക്കംചെയ്യുക: + +`bluetoothctl --remove {{മാക്_വിലാസം}}` + +- ജോഡിയായ ഉപകരണവുമായി ബന്ധിപ്പിക്കുക: + +`bluetoothctl --connect {{മാക്_വിലാസം}}` + +- ഒരു ജോഡിയായ ഉപകരണവുമായുള്ള ബന്ധം വിച്ഛേദിക്കുക: + +`bluetoothctl --disconnect {{മാക്_വിലാസം}}` diff --git a/pages.ml/linux/brightnessctl.md b/pages.ml/linux/brightnessctl.md new file mode 100644 index 00000000000000..d100f915b739bf --- /dev/null +++ b/pages.ml/linux/brightnessctl.md @@ -0,0 +1,24 @@ +# brightnessctl + +> മോണിറ്ററിന്റെ പ്രകാശതീവ്രത ലഭിക്കുവാനും നിയന്ത്രിക്കുവാനുമുള്ള ഗ്നു/ലിനക്സ് അധിഷ്ഠിത യൂട്ടിലിറ്റി. +> കൂടുതൽ വിവരങ്ങൾ: . + +- പ്രകാശം നിയന്ത്രിക്കാനാവുന്ന ഡിവൈസുകൾ കാണുവാൻ: + +`brightnessctl {{[-l|--list]}}` + +- നിലവിലുള്ള പ്രകാശതീവ്രത അറിയുവാൻ: + +`brightnessctl get` + +- നിശ്ചിത ശതമാനത്തിലേക്ക് പ്രകാശതീവ്രത മാറ്റുവാൻ: + +`brightnessctl set {{50%}}` + +- നിലവിലെ പ്രകാശതീവ്രതയിലേക്കു നിശ്ചിത ശതമാനം കൂട്ടുവാൻ: + +`brightnessctl set {{+10%}}` + +- നിലവിലെ പ്രകാശതീവ്രതയിലേക്കു നിശ്ചിത ശതമാനം കുറയ്ക്കുവാൻ: + +`brightnessctl set {{10%-}}` diff --git a/pages.ml/linux/cal.md b/pages.ml/linux/cal.md index 66c102d93f0ae4..62fa9ae5da108b 100644 --- a/pages.ml/linux/cal.md +++ b/pages.ml/linux/cal.md @@ -1,23 +1,24 @@ # cal > ഇന്നത്തെ ദിവസം അടയാളപ്പെടുത്തിയുള്ള കലണ്ടർ വിവരം കാണിക്കുക . +> കൂടുതൽ വിവരങ്ങൾ: . -- ഇപ്പോഴത്തെ മാസത്തിന്റെ കലണ്ടർ കാണാൻ : +- ഇപ്പോഴത്തെ മാസത്തിന്റെ കലണ്ടർ കാണാൻ: `cal` -- കഴിഞ്ഞ മാസവും, ഇപ്പോഴത്തെ മാസവും അടുത്ത മാസവും കാണാൻ : +- കഴിഞ്ഞ മാസവും, ഇപ്പോഴത്തെ മാസവും അടുത്ത മാസവും കാണാൻ: -`cal -3` +`cal {{[-3|--three]}}` -- ആഴ്ചയുടെ ഒന്നാമത്തെ ദിവസം തിങ്കളാഴ്ച ആയി കാണാൻ : +- ആഴ്ചയുടെ ഒന്നാമത്തെ ദിവസം തിങ്കളാഴ്ച ആയി കാണാൻ: -`cal --monday` +`cal {{[-m|--monday]}}` -- ഒരു പ്രത്യേക കൊല്ലത്തിന്റെ കലണ്ടർ കാണാൻ ( 4 അക്കങ്ങൾ ) : +- ഒരു പ്രത്യേക കൊല്ലത്തിന്റെ കലണ്ടർ കാണാൻ ( 4 അക്കങ്ങൾ ): `cal {{കൊല്ലം}}` -- ഒരു പ്രതേക മാസത്തിന്റെയും കൊല്ലത്തിന്റെയും കലണ്ടർ കാണാൻ : +- ഒരു പ്രതേക മാസത്തിന്റെയും കൊല്ലത്തിന്റെയും കലണ്ടർ കാണാൻ: -`cal {{മാസം} {{കൊല്ലം}}` +`cal {{മാസം}} {{കൊല്ലം}}` diff --git a/pages.ml/linux/cat.md b/pages.ml/linux/cat.md new file mode 100644 index 00000000000000..81f9c95a2a825b --- /dev/null +++ b/pages.ml/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> ഫയലുകൾ പ്രിന്റ് ചെയ്യുവാനും സംയോജിപ്പിക്കുവാനുമുള്ള കമാൻഡ്. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഫയലിന്റെ ഉള്ളടക്കം സ്റ്റാൻഡേർഡ് ഔട്പുട്ടിലേക്ക് പ്രിന്റ് ചെയ്യുവാൻ: + +`cat {{ഫയലിലേക്കുള്ള/പാത}}` + +- പല ഫയലുകൾ സംയോജിപ്പിച് ഒരു ഔട്ട്പുട്ട് ഫയലുണ്ടാക്കുവാൻ: + +`cat {{ഫയൽ1/ലേക്കുള്ള/പാത ഫയൽ2/ലേക്കുള്ള/പാത ...}} > {{ഔട്ട്പുട്ട്_ഫയൽ/ലേക്കുള്ള/പാത}}` + +- പല ഫയലുകൾ അപ്പെൻഡ് ചെയ്‌ത്‌ ഒരു ഔട്ട്പുട്ട് ഫയലുണ്ടാക്കുവാൻ: + +`cat {{ഫയൽ1/ലേക്കുള്ള/പാത ഫയൽ2/ലേക്കുള്ള/പാത ...}} >> {{ഔട്ട്പുട്ട്_ഫയൽ/ലേക്കുള്ള/പാത}}` + +- `stdin` ഫയലിലേക്ക് എഴുതുവാൻ: + +`cat - > {{ഫയലിലേക്കുള്ള/പാത}}` + +- ഔട്ട്പുട്ട് ലൈനുകൾ നമ്പർ ചെയ്യുവാൻ: + +`cat {{[-n|--number]}} {{ഫയലിലേക്കുള്ള/പാത}}` + +- വൈറ്റ്സ്പേസും പ്രിന്റ് ചെയ്യപ്പെടാത്ത മറ്റ് ചിഹ്നങ്ങളും കാണുവാൻ (ASCII അല്ലെങ്കിൽ `M-` ആരംഭത്തിൽ ചേർക്കുക): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{ഫയലിലേക്കുള്ള/പാത}}` diff --git a/pages.ml/linux/cmus.md b/pages.ml/linux/cmus.md new file mode 100644 index 00000000000000..0d71d22460554b --- /dev/null +++ b/pages.ml/linux/cmus.md @@ -0,0 +1,25 @@ +# cmus + +> കമാൻഡ് ലൈനിൽ പ്രവർത്തിക്കുന്ന മ്യൂസിക് പ്ലെയർ. +> നാവിഗേറ്റ് ചെയ്യാൻ `` ഉപയോഗിക്കുക. സെലക്ട് ചെയ്യാൻ `` ഉം, പല വ്യത്യസ്ത വ്യൂസ് ലഭിക്കാനായി `<1>`-`<8>` അക്കങ്ങളും പ്രയോജനപ്പെടുത്തുക. +> കൂടുതൽ വിവരങ്ങൾ: . + +- നിങ്ങൾക്ക് ആവശ്യമുള്ള ഡയറക്ടറിയിൽ അപ്ലിക്കേഷൻ പ്രവർത്തിപ്പിക്കുക (ഇത് പുതിയ വർക്കിംഗ് ഡയറക്ടറി ആയി മാറുന്നു): + +`cmus {{ഡയറക്ടറിയിലേക്കുള്ള/പാത}}` + +- ലൈബ്രറിയിലേക്ക് പുതിയ ഫയൽ/ഡയറക്ടറി ചേർക്കുക: + +`<:>add {{ഫയലിലേക്കോ_ഡയറക്ടറിയിലേക്കോ/ഉള്ള/പാത}}` + +- പ്ലേ ചെയ്യപ്പെടുന്ന പാട്ട് പോസ് ചെയ്യുക/തുടരുക: + +`` + +- ഷഫിൾ മോഡ് ഓൺ/ഓഫ് ചെയ്യുക: + +`` + +- ആപ്ലിക്കേഷനിൽ നിന്നും പുറത്തുകടക്കുക: + +`` diff --git a/pages.ml/linux/gedit.md b/pages.ml/linux/gedit.md new file mode 100644 index 00000000000000..a63d2774bf0710 --- /dev/null +++ b/pages.ml/linux/gedit.md @@ -0,0 +1,20 @@ +# gedit + +> ഗ്നോം ഡെസ്ക്ടോപ് പ്രോജക്ടിന്റെ ടെക്സ്റ്റ് എഡിറ്റർ. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഒരു ടെക്സ്റ്റ് ഫയൽ ഓപ്പൺ ചെയ്യുവാൻ: + +`gedit {{ഫയലിലേക്കുള്ള/പാത}}` + +- ഒന്നിൽ കൂടുതൽ ടെക്സ്റ്റ് ഫയലുകൾ ഓപ്പൺ ചെയ്യുവാൻ: + +`gedit {{ഫയൽ1 ഫയൽ2 ...}}` + +- ഒരു പ്രത്യേക എൻകോഡിങ്ങിൽ ഫയൽ ഓപ്പൺ ചെയ്യുവാൻ: + +`gedit --encoding {{UTF-8}} {{ഫയലിലേക്കുള്ള/പാത}}` + +- സപ്പോർട്ട് ചെയ്യപ്പെട്ട എല്ലാവിധ എൻകോഡിങ്ങും കാണുവാൻ: + +`gedit --list-encodings` diff --git a/pages.ml/linux/gnome-terminal.md b/pages.ml/linux/gnome-terminal.md new file mode 100644 index 00000000000000..14543fccb163fa --- /dev/null +++ b/pages.ml/linux/gnome-terminal.md @@ -0,0 +1,20 @@ +# gnome-terminal + +> ഗ്നോം ടെർമിനൽ എമുലേറ്റർ. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഒരു പുതിയ ഗ്നോം ടെർമിനൽ വിൻഡോ തുറക്കാൻ: + +`gnome-terminal` + +- പുതിയ വിൻഡോയിൽ ഒരു കമാൻഡ് പ്രവർത്തിപ്പിക്കാൻ: + +`gnome-terminal -- {{കമാൻഡ്}}` + +- അവസാനമായി തുറക്കപെട്ട വിൻഡോയിൽ ഒരു പുതിയ ടാബ് സൃഷ്ടിക്കാൻ: + +`gnome-terminal --tab` + +- പുതിയ ടാബിന്റെ ടൈറ്റിൽ മാറ്റുവാൻ: + +`gnome-terminal --tab --title "{{ടൈറ്റിൽ}}"` diff --git a/pages.ml/linux/ip-route-list.md b/pages.ml/linux/ip-route-list.md new file mode 100644 index 00000000000000..afe94f16fc93b6 --- /dev/null +++ b/pages.ml/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> ഈ കമാൻഡ് `ip route show`.എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr ip route show` diff --git a/pages.ml/linux/kwrite.md b/pages.ml/linux/kwrite.md new file mode 100644 index 00000000000000..59337b6d7d829c --- /dev/null +++ b/pages.ml/linux/kwrite.md @@ -0,0 +1,21 @@ +# kwrite + +> KDE ഡെസ്ക്ടോപ് പ്രോജക്ടിന്റെ ടെക്സ്റ്റ് എഡിറ്റർ. +> കാണുക `kate`. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഒരു ടെക്സ്റ്റ് ഫയൽ ഓപ്പൺ ചെയ്യുവാൻ: + +`kwrite {{ഫയലിലേക്കുള്ള/പാത}}` + +- ഒന്നിൽ കൂടുതൽ ഫയലുകൾ ഓപ്പൺ ചെയ്യുവാൻ: + +`kwrite {{ഫയൽ1 ഫയൽ2 ...}}` + +- ഒരു പ്രത്യേക എൻകോഡിങ്ങിൽ ഫയൽ ഓപ്പൺ ചെയ്യുവാൻ: + +`kwrite --encoding {{UTF-8}} {{ഫയലിലേക്കുള്ള/പാത}}` + +- ഒരു ടെക്സ്റ്റ് ഫയലിന്റെ ആവശ്യമുള്ള ലൈനിലേക്കും കോളത്തിലേക്കും നാവിഗേറ്റ് ചെയ്യുവാൻ: + +`kwrite --line {{ലൈൻ_നമ്പർ}} --column {{കോളം_നമ്പർ}} {{ഫയലിലേക്കുള്ള/പാത}}` diff --git a/pages.ml/linux/lsmod.md b/pages.ml/linux/lsmod.md index 5745c0bfe82921..1c538615801600 100644 --- a/pages.ml/linux/lsmod.md +++ b/pages.ml/linux/lsmod.md @@ -2,6 +2,7 @@ > ലിനക്സ് കെർണൽ മൊഡ്യൂളുകളുടെ അവസ്ഥ കാണാൻ. > ലിനക്സ് കെർണൽ മൊഡ്യൂൾ ലോഡ് ചെയ്യാൻ `modprobe` കാണുക. +> കൂടുതൽ വിവരങ്ങൾ: . - ഇപ്പോൾ ലോഡ് ചെയ്ത മൊഡ്യൂളുകൾ കാണിക്കുക: diff --git a/pages.ml/linux/ncal.md b/pages.ml/linux/ncal.md new file mode 100644 index 00000000000000..67ac7677286566 --- /dev/null +++ b/pages.ml/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> ഈ കമാൻഡ് `cal` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr cal` diff --git a/pages.ml/linux/nemo.md b/pages.ml/linux/nemo.md new file mode 100644 index 00000000000000..db47d2da97ab34 --- /dev/null +++ b/pages.ml/linux/nemo.md @@ -0,0 +1,16 @@ +# nemo + +> സിന്നമോണിനു വേണ്ടിയുള്ള ഫയൽ മാനേജർ-ഗ്രാഫിക്കൽ ഷെൽ. +> കൂടുതൽ വിവരങ്ങൾ: . + +- യൂസറിന്റെ ഹോം ഡയറക്ടറിയിൽ ഒരു പുതിയ വിൻഡോ ഓപ്പൺ ചെയ്യുവാൻ: + +`nemo` + +- കറന്റ് ഡയറക്ടറിയിൽ ഒരു പുതിയ വിൻഡോ ഓപ്പൺ ചെയ്യുവാൻ: + +`nemo .` + +- ഓപ്പൺ ആയിട്ടുള്ള എല്ലാ നെമോ വിൻഡോകളും ക്ലോസ് ചെയ്യുവാൻ: + +`nemo --quit` diff --git a/pages.ml/linux/nmcli.md b/pages.ml/linux/nmcli.md index ff7048a78d48b4..6246b3adfd1bc8 100644 --- a/pages.ml/linux/nmcli.md +++ b/pages.ml/linux/nmcli.md @@ -1,19 +1,20 @@ # nmcli > നെറ്റ്‌വർക്ക് മാനേജർ നിയന്ത്രിക്കാൻ വേണ്ടിയുള്ള കമാൻഡ് ലൈൻ ഉപകരണം. +> കൂടുതൽ വിവരങ്ങൾ: . -- nmcli പതിപ്പ് ഏതാണെന്ന് അറിയാൻ : +- nmcli പതിപ്പ് ഏതാണെന്ന് അറിയാൻ: `nmcli --version` -- പൊതുവെയുള്ള സഹായ വിവരം കാണാൻ : +- പൊതുവെയുള്ള സഹായ വിവരം കാണാൻ: `nmcli --help` -- ഒരു പ്രതേക നിർദേശത്തിന്റെ സഹായ വിവരം കാണാൻ : +- ഒരു പ്രതേക നിർദേശത്തിന്റെ സഹായ വിവരം കാണാൻ: `nmcli {{നിർദേശം}} --help` -- ഒരു `nmcli` നിർദേശം നിർവഹിക്കാൻ : +- ഒരു `nmcli` നിർദേശം നിർവഹിക്കാൻ: `nmcli {{നിർദേശം}}` diff --git a/pages.ml/linux/pacman.md b/pages.ml/linux/pacman.md index c6280e55f8a54c..599fb099deb8d0 100644 --- a/pages.ml/linux/pacman.md +++ b/pages.ml/linux/pacman.md @@ -1,23 +1,20 @@ # pacman > ആർച്ച് ലിന്ക്സിന്റെ പാക്കേജ് മാനേജുമെന്റ് യൂട്ടിലിറ്റി. -> കൂടുതൽ വിവരങ്ങൾ: . +> ഇതും കാണുക: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> കൂടുതൽ വിവരങ്ങൾ: . - ഇൻസ്റ്റാൾ ചെയ്‌ത എല്ലാ പാക്കേജും അപ്‌ഡേറ്റു ചെയ്യുക: -`pacman -Syu` +`sudo pacman -Syu` - പുതിയ പാക്കേജ് ഇൻസ്റ്റാൾ ചെയ്യുക: -`pacman -S {{പാക്കേജ്}}` +`sudo pacman -S {{പാക്കേജ്}}` -- ഒരു പാക്കേജും അത് ആശ്രയിക്കുന്ന മറ്റ് പാക്കേജുകളെയും കളയുക : +- ഒരു പാക്കേജും അത് ആശ്രയിക്കുന്ന മറ്റ് പാക്കേജുകളെയും കളയുക: -`pacman -Rs {{പാക്കേജ്}}` - -- പാക്കേജ് ഡാറ്റാബേസിൽ ഒരു സൂചകപദം അല്ലെങ്കിൽ റെഗുലർ എക്സ്പ്രെഷൻ വെച്ച് തിരയുക : - -`pacman -Ss "{{സെർച്ച് പാറ്റേൺ}}"` +`sudo pacman -Rs {{പാക്കേജ്}}` - ഇൻസ്റ്റാൾ ചെയ്‌ത എല്ലാ പാക്കേജുകളും അതിന്റെ പതിപ്പും കാണിക്കുക: @@ -27,10 +24,6 @@ `pacman -Qe` -- ഏത് പാക്കേജാണ് ഒരു ഫയലിന്റെ ഉടമ എന്ന് കണ്ടുപിടിക്കാൻ: - -`pacman -Qo {{ഫയലിന്റെ പേര്}}` - - പാക്കേജ് ക്യാഷ് കാലിയാക്കി സ്റ്റോറേജ്‌ മുക്തമാക്കുക: -`pacman -Scc` +`sudo pacman -Scc` diff --git a/pages.ml/linux/snap.pkg.md b/pages.ml/linux/snap.pkg.md new file mode 100644 index 00000000000000..4caffdb6de2a83 --- /dev/null +++ b/pages.ml/linux/snap.pkg.md @@ -0,0 +1,37 @@ +# snap + +> സ്നാപ്പ് സെൽഫ് കൺറ്റൈൻഡ് പാക്കേജുകൾ നിയന്ത്രിക്കുവാനുള്ള യൂട്ടിലിറ്റി. +> `apt` നോട് സാദൃശ്യമുള്ളത്. +> കൂടുതൽ വിവരങ്ങൾ: . + +- ഒരു പാക്കേജ് സെർച്ച് ചെയ്യുവാൻ: + +`snap find {{പാക്കേജിന്റെ_പേര്}}` + +- ഒരു പാക്കേജ് ഇൻസ്റ്റാൾ ചെയ്യുവാൻ: + +`snap install {{പാക്കേജിന്റെ_പേര്}}` + +- ഒരു പാക്കേജ് അപ്ഡേറ്റ് ചെയ്യുവാൻ: + +`snap refresh {{പാക്കേജിന്റെ_പേര്}}` + +- ഒരു പാക്കേജ് മറ്റൊരു ചാനലിലേക്ക് അപ്ഡേറ്റ് ചെയ്യുവാൻ (ട്രാക്ക്, റിസ്ക്, ബ്രാഞ്ച്): + +`snap refresh {{പാക്കേജിന്റെ_പേര്}} --channel={{ചാനൽ}}` + +- എല്ലാ പാക്കേജുകളും അപ്ഡേറ്റ് ചെയ്യുവാൻ: + +`snap refresh` + +- ഇൻസ്റ്റാൾ ചെയ്യപ്പെട്ട സോഫ്ട്‍വെയറുകൾ കാണുവാൻ: + +`snap list` + +- ഒരു പാക്കേജ് അൺഇൻസ്റ്റാൾ ചെയ്യുവാൻ: + +`snap remove {{പാക്കേജിന്റെ_പേര്}}` + +- സിസ്റ്റത്തിലെ സ്നാപ്പ് ചേഞ്ചുകൾ അറിയുവാൻ: + +`snap changes` diff --git a/pages.ml/linux/thunar.md b/pages.ml/linux/thunar.md new file mode 100644 index 00000000000000..b45d1f6dc83f89 --- /dev/null +++ b/pages.ml/linux/thunar.md @@ -0,0 +1,12 @@ +# thunar + +> എക്സ്എഫ്‌സിഇക്കു വേണ്ടിയുള്ള ഗ്രാഫിക്കൽ ഫയൽ മാനേജർ. +> കൂടുതൽ വിവരങ്ങൾ: . + +- നിലവിലുള്ള ഡയറക്ടറിയിൽ പുതിയ തുണാർ ജാലകം തുറക്കുവാൻ: + +`thunar` + +- തുറന്നിട്ടുള്ള എല്ലാ തുണാർ ജാലകങ്ങളും അവസാനിപ്പിക്കുവാൻ: + +`thunar --quit` diff --git a/pages.ml/windows/cinst.md b/pages.ml/windows/cinst.md new file mode 100644 index 00000000000000..aeb81311d17c93 --- /dev/null +++ b/pages.ml/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> ഈ കമാൻഡ് `choco install` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr choco install` diff --git a/pages.ml/windows/clist.md b/pages.ml/windows/clist.md new file mode 100644 index 00000000000000..0507f58ca6e8c8 --- /dev/null +++ b/pages.ml/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> ഈ കമാൻഡ് `choco list` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr choco list` diff --git a/pages.ml/windows/cuninst.md b/pages.ml/windows/cuninst.md new file mode 100644 index 00000000000000..25ef5176554b4f --- /dev/null +++ b/pages.ml/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> ഈ കമാൻഡ് `choco uninstall` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr choco uninstall` diff --git a/pages.ml/windows/iwr.md b/pages.ml/windows/iwr.md new file mode 100644 index 00000000000000..a89a1296fef235 --- /dev/null +++ b/pages.ml/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> ഈ കമാൻഡ് `invoke-webrequest` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr invoke-webrequest` diff --git a/pages.ml/windows/pwsh-where.md b/pages.ml/windows/pwsh-where.md new file mode 100644 index 00000000000000..fd8e92c22f6634 --- /dev/null +++ b/pages.ml/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> ഈ കമാൻഡ് `Where-Object` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr Where-Object` diff --git a/pages.ml/windows/sls.md b/pages.ml/windows/sls.md new file mode 100644 index 00000000000000..6bb6a24f6c6d25 --- /dev/null +++ b/pages.ml/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> ഈ കമാൻഡ് `Select-String` എന്നത്തിന്റെ അപരനാമമാണ്. + +- യഥാർത്ഥ കമാൻഡിനായി ഡോക്യുമെന്റേഷൻ കാണുക: + +`tldr select-string` diff --git a/pages.ne/android/am.md b/pages.ne/android/am.md new file mode 100644 index 00000000000000..f9ffc1bb833d62 --- /dev/null +++ b/pages.ne/android/am.md @@ -0,0 +1,20 @@ +# am + +> एन्ड्रोइड गतिविधि प्रबन्धक। +> थप जानकारी: । + +- एक विशेष गतिविधि सुरु गर्नुहोस्: + +`am start -n {{com.android.settings/.Settings}}` + +- एउटा गतिविधि सुरु गर्नुहोस् र यसलाई [d] डाटा पास गर्नुहोस्: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- एक विशिष्ट कार्य र [c] श्रेणीसँग (category) मेल खाने गतिविधि सुरु गर्नुहोस्: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- एउटा उद्देश्यलाई URI मा रूपान्तरण गर्नुहोस्: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.ne/android/bugreport.md b/pages.ne/android/bugreport.md new file mode 100644 index 00000000000000..8b2049c53e64f8 --- /dev/null +++ b/pages.ne/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> एन्ड्रोइड बग रिपोर्ट देखाउनुहोस्। +> यो आदेश `adb shell` मार्फत मात्र प्रयोग गर्न सकिन्छ। +> थप जानकारी: । + +- एन्ड्रोइड उपकरणको पूर्ण बग रिपोर्ट प्रदर्शन गर्नुहोस्: + +`bugreport` diff --git a/pages.ne/android/bugreportz.md b/pages.ne/android/bugreportz.md new file mode 100644 index 00000000000000..065a185e82a1f6 --- /dev/null +++ b/pages.ne/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> जिप गरिएको एन्ड्रोइड बग रिपोर्ट उत्पन्न गर्नुहोस्। +> यो आदेश `adb shell` मार्फत मात्र प्रयोग गर्न सकिन्छ। +> थप जानकारी: । + +- एन्ड्रोइड उपकरणको पूर्ण जिप गरिएको बग रिपोर्ट उत्पन्न गर्नुहोस्: + +`bugreportz` + +- चलिरहेको `bugreportz` सञ्चालनको प्रगति देखाउनुहोस्: + +`bugreportz -p` + +- प्रदर्शन मद्दत: + +`bugreportz -h` + +- `bugreportz` को संस्करण देखाउनुहोस्: + +`bugreportz -v` diff --git a/pages.ne/android/cmd.md b/pages.ne/android/cmd.md new file mode 100644 index 00000000000000..df38f83034df37 --- /dev/null +++ b/pages.ne/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> एन्ड्रोइड सेवा प्रबन्धक। +> थप जानकारी: । + +- [l] सबै चलिरहेको सेवाहरू छन्: + +`cmd -l` + +- एक विशेष सेवा कल गर्नुहोस्: + +`cmd {{सेवा}}` + +- विशिष्ट तर्क संग सेवा कल गर्नुहोस्: + +`cmd {{सेवा}} {{तर्क1 तर्क2 ...}}` diff --git a/pages.ne/common/alias.md b/pages.ne/common/alias.md new file mode 100644 index 00000000000000..3e53bf5b21f78f --- /dev/null +++ b/pages.ne/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> उपनामहरु बनाउछ -- शब्दहरू जुन आदेश स्ट्रिङद्वारा प्रतिस्थापन गरिन्छ। +> शेलको कन्फिगरेसन फाइलमा (जस्तै `~/.bashrc`) परिभाषित नगरेको खन्डमा उपनामहरुको आयु चलिरहेको शेल् सेसन् सङै सकिन्छ। +> थप जानकारी: । + +- सबै उपनामहरुको सुची बनाउनुहोस्: + +`alias` + +- एउटा सामान्य उपनाम बनाउनुहोस्: + +`alias {{शब्द}}="{{आदेश}}"` + +- एउटा आदेशसङ्ग सम्बन्धित उपनाम हेर्नुहोस्: + +`alias {{शब्द}}` + +- उपनाम बनाइएको आदेशलाई हटाउनुहोस्: + +`unalias {{शब्द}}` + +- `rm` लाई एउटा अन्तरक्रियात्मक आदेशमा बदल्नुहोस्: + +`alias {{rm}}="{{rm -i}}"` + +- `la` लाई `ls -a` को सर्ट्कट् बनाउनुहोस्: + +`alias {{la}}="{{ls -a}}"` diff --git a/pages.ne/common/at.md b/pages.ne/common/at.md new file mode 100644 index 00000000000000..3988e101a49377 --- /dev/null +++ b/pages.ne/common/at.md @@ -0,0 +1,17 @@ +# at + +> पछि एक पटक आदेशहरू कार्यान्वयन गर्छ। +> वास्तविक कार्यान्वयनको लागि service atd(अथवा atrun) चलिरहेको हुनुपर्छ। +> थप जानकारी: । + +- मानक इनपुट बाट आदेशहरू ५ मिनटमा कार्यान्वयन गर्नुहोस् (सकिएपछि `` थिच्नुहोस्): + +`at now + 5 minutes` + +- मानक इनपुट बाट आदेश आज के बिहान को १० बजे कार्यान्वयन गर्नुहोस्: + +`echo "{{./make_db_backup.sh}}" | at 1000` + +- एउटा दिइएको फाइलबाट अर्को मङ्गलबार आदेशहरु कार्यान्वयन गर्नुहोस्: + +`at -f {{फाइल/को/पथ}} 9:30 PM Tue` diff --git a/pages.ne/common/bg.md b/pages.ne/common/bg.md new file mode 100644 index 00000000000000..cd48ce44a030d9 --- /dev/null +++ b/pages.ne/common/bg.md @@ -0,0 +1,12 @@ +# bg + +> निलम्बित गरिएका कामहरुलाई (जस्तै `` प्रयोग गरेर) पुन: सुरु गर्छ, अनि तिनीहरुलाई पृष्ठभूमिमा चलाइरहन्छ। +> थप जानकारी: । + +- सबैभन्दा भर्खर् निलम्बित गरिएको कामलाई पुन: सुरु गर्नुहोस् अनि पृष्ठभूमिमा चलाउनुहोस्: + +`bg` + +- कुनै विशिष्ट कामलाई पुन: सुरु गर्नुहोस् (ID पाउनको लागि `jobs -l` प्रयोग गर्नुहोस्) अनि पृष्ठभूमिमा चलाउनुहोस्: + +`bg %{{काम_आईडी}}` diff --git a/pages.ne/common/cat.md b/pages.ne/common/cat.md new file mode 100644 index 00000000000000..8f7afde01a727f --- /dev/null +++ b/pages.ne/common/cat.md @@ -0,0 +1,16 @@ +# cat + +> फाइलहरू देखाउनुहोस् र जोड्नुहोस्। +> थप जानकारी: । + +- फाइल भित्रका कुराहरुलाई मानक आउटपुटमा देखाउनुहोस्: + +`cat {{फाइल/को/पथ}}` + +- धेरै फाइलहरू जोडेर एउटा सिंगो आउटपुट फाइल बनाउनुहोस्: + +`cat {{फाइल_पहिलो/को/पथ फाइल_दोस्रो/को/पथ ...}} > {{आउटपुट/फाइल/को/पथ}}` + +- धेरै फाइलहरू जोडेर एउटा सिंगो आउटपुट फाइलमा संलग्न गर्नुहोस्: + +`cat {{फाइल_पहिलो/को/पथ फाइल_दोस्रो/को/पथ ...}} >> {{आउटपुट/फाइल/को/पथ}}` diff --git a/pages.ne/common/cp.md b/pages.ne/common/cp.md new file mode 100644 index 00000000000000..b1d83de53e2a35 --- /dev/null +++ b/pages.ne/common/cp.md @@ -0,0 +1,28 @@ +# cp + +> फाइलहरू र डिरेक्टोरीहरू सार्नुहोस। +> थप जानकारी: । + +- एउटा स्थान बाट अर्को स्थानमा फाइलहरु सार्नुहोस: + +`cp {{स्रोत_फाइल.ext/को/पथ}} {{लक्ष्य_फाइल.ext/को/पथ}}` + +- फाइलको नाम उही राखेर अर्को डिरेक्टोरीमा फाइलहरु सार्नुहोस: + +`cp {{स्रोत_फाइल.ext/को/पथ}} {{लक्षित_अभिभावक_निर्देशिका/को/पथ}}` + +- पुनरावर्ती रूपमा डिरेक्टोरीमा भएका सबै चीजहरुलाइ अर्को स्थानमा सार्नुहोस(यदि स्थान पहिले देखि नै छ भने,डिरेक्टोरी भित्र सार्नुहोस): + +`cp -R {{स्रोत_निर्देशिका/को/पथ}} {{लक्ष्य_निर्देशिका/को/पथ}}` + +- पुनरावर्ती रूपमा एउटा डाइरेक्टरी सार्नुहोस, शब्दमय रुपमा (फाइलहरु सार्दा सार्दै सरिरहेको पनि देखिन्छ): + +`cp -vR {{स्रोत_निर्देशिका/को/पथ}} {{लक्ष्य_निर्देशिका/को/पथ}}` + +- अन्तरक्रियात्मक रुपमा अर्को स्थानमा पाठ्य फाइलहरू सार्नुहोस (अधिलेखन गर्नु अघि प्रयोगकर्तालाई सोध्छ): + +`cp -i {{*.txt}} {{लक्ष्य_निर्देशिका/को/पथ}}` + +- सार्नु अघि प्रतीकात्मक लिङ्कहरू पछ्याउनुहोस्: + +`cp -L {{लिङ्क}} {{लक्ष्य_निर्देशिका/को/पथ}}` diff --git a/pages.ne/common/docker-compose.md b/pages.ne/common/docker-compose.md new file mode 100644 index 00000000000000..60d9940c9c720e --- /dev/null +++ b/pages.ne/common/docker-compose.md @@ -0,0 +1,36 @@ +# docker compose + +> बहु कन्टेनर डकर अनुप्रयोगहरू चलाउनुहोस् र व्यवस्थापन गर्नुहोस्। +> थप जानकारी: । + +- सबै चलिरहेको कन्टेनरहरू सूचीबद्ध गर्नुहोस्: + +`docker compose ps` + +- हालको डाइरेक्टरीबाट `docker-compose.yml` फाइल प्रयोग गरेर पृष्ठभूमिमा सबै कन्टेनरहरू सिर्जना गर्नुहोस् र सुरु गर्नुहोस्: + +`docker compose up {{[-d|--detach]}}` + +- सबै कन्टेनरहरू सुरु गर्नुहोस्, आवश्यक भएमा पुन: निर्माण गर्नुहोस्: + +`docker compose up --build` + +- प्रोजेक्तको नाम निर्दिष्ट गरेर र वैकल्पिक रचना फाइल प्रयोग गरेर सबै कन्टेनरहरू सुरु गर्नुहोस्: + +`docker compose {{[-p|--project-name]}} {{परियोजनाको_नाम}} {{[-f|--file]}} {{फाइल/को/पथ}} up` + +- चलिरहेको सबै कन्टेनरहरू रोक्नुहोस्: + +`docker compose stop` + +- सबै कन्टेनरहरू, नेटवर्कहरू, छविहरू, र भोल्युमहरू हटाउनुहोस् र रोक्नुहोस्: + +`docker compose down --rmi all {{[-v|--volumes]}}` + +- सबै कन्टेनरहरूको लागि लगहरू फलो गर्नुहोस्: + +`docker compose logs {{[-f|--follow]}}` + +- विशेष कन्टेनरको लागि लगहरू पछ्याउनुहोस्: + +`docker compose logs {{[-f|--follow]}} {{कन्टेनर_नाम}}` diff --git a/pages.ne/common/ffmpeg.md b/pages.ne/common/ffmpeg.md new file mode 100644 index 00000000000000..c8219e211af155 --- /dev/null +++ b/pages.ne/common/ffmpeg.md @@ -0,0 +1,36 @@ +# ffmpeg + +> भिडियो रूपान्तरण उपकरण। +> थप जानकारी: । + +- भिडियोबाट ध्वनि निकाल्नुहोस् र MP3 को रूपमा सेभ गर्नुहोस: + +`ffmpeg -i {{भिडियो.mp4}} -vn {{ध्वनि}}.mp3` + +- भिडियोको उचाइ 1000px मा स्केल गर्दै र फ्रेमरेटलाई 15 राखेर GIF को रूपमा सेभ गर्नुहोस: + +`ffmpeg -i {{भिडियो.mp4}} {{[-vf|-filter:v]}} 'scale=-1:{{1000}}' -r {{15}} {{आउटपुट.gif}}` + +- अंकित छविहरूलाइ(`फ्रेम_1.jpg`, `फ्रेम_2.jpg`, आदि) भिडियो वा GIF मा जोड्नुहोस: + +`ffmpeg -i {{फ्रेम_%d.jpg}} -f image2 {{भिडियो.mpg|भिडियो.gif}}` + +- भिडियोको mm:ss बाट एकल फ्रेम निकाल्नुहोस् र यसलाई 128x128 रिजोल्युसनको छविको रूपमा सेभ गर्नुहोस्: + +`ffmpeg -ss {{mm:ss}} -i {{भिडियो.mp4}} -frames 1 -s {{128x128}} -f image2 {{छवि.png}}` + +- दिइएको सुरु समय mm:ss देखि अन्त्यसमय mm2:ss2 सम्म भिडियोलाइ काट्नुहोस (अन्त्य सम्म नै काट्नलाई -to फ्ल्याग हटाउनुहोस्): + +`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{भिडियो.mp4}} {{[-c|-codec]}} copy {{आउटपुट.mp4}}` + +- AVI भिडियोलाई MP4 मा रूपान्तरण गर्नुहोस्। अडियोको 128kbit बिटरेट राखेर AAC मा, भिडियोको CRF 23 राखेर h264 मा: + +`ffmpeg -i {{इनपुट_भिडियो}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{आउटपुट_भिडियो}}.mp4` + +- MKV भिडियोको अडियो वा भिडियो स्ट्रिमहरू पुन: एन्कोडिङ नगरी हानिरहित ढाँचामा MP4 मा बदल्नुहोस: + +`ffmpeg -i {{इनपुट_भिडियो}}.mkv {{[-c|-codec]}} copy {{आउटपुट_भिडियो}}.mp4` + +- MP4 भिडियोलाई VP9 कोडेकमा रूपान्तरण गर्नुहोस्। उत्कृष्ट गुणस्तरको लागि, CRF फ्ल्यागको प्रयोग गर्नुहोस् (सिफारिस गरिएको दायरा 15-35) र `-b:v 0` पनि प्रयोग गर्नुहोस्: + +`ffmpeg -i {{इनपुट_भिडियो}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{थ्रेड_संख्या}} {{आउटपुट_भिडियो}}.webm` diff --git a/pages.ne/common/fossil-ci.md b/pages.ne/common/fossil-ci.md new file mode 100644 index 00000000000000..45ad42a9f434d3 --- /dev/null +++ b/pages.ne/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> यो आदेश `fossil commit`.को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr fossil commit` diff --git a/pages.ne/common/fossil-forget.md b/pages.ne/common/fossil-forget.md new file mode 100644 index 00000000000000..ea20916d0d2ee8 --- /dev/null +++ b/pages.ne/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> यो आदेश `fossil rm` को उपनाम हो | +> थप जानकारी: । + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr fossil rm` diff --git a/pages.ne/common/fossil-new.md b/pages.ne/common/fossil-new.md new file mode 100644 index 00000000000000..e76e89239c0ccb --- /dev/null +++ b/pages.ne/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> यो आदेश `fossil init`.को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr fossil init` diff --git a/pages.ne/common/fossil-rm.md b/pages.ne/common/fossil-rm.md new file mode 100644 index 00000000000000..9399c17a42fad2 --- /dev/null +++ b/pages.ne/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> यो आदेश `fossil delete` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr fossil delete` diff --git a/pages.ne/common/gh-cs.md b/pages.ne/common/gh-cs.md new file mode 100644 index 00000000000000..f7c7b7c888311c --- /dev/null +++ b/pages.ne/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> यो आदेश `gh codespace`.को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr gh codespace` diff --git a/pages.ne/common/gnmic-sub.md b/pages.ne/common/gnmic-sub.md new file mode 100644 index 00000000000000..6074016a606c6d --- /dev/null +++ b/pages.ne/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> यो आदेश `gnmic subscribe` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr gnmic subscribe` diff --git a/pages.ne/common/google-chrome.md b/pages.ne/common/google-chrome.md new file mode 100644 index 00000000000000..6698966254e5b9 --- /dev/null +++ b/pages.ne/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> यो आदेश `chromium` को उपनाम हो | +> थप जानकारी: । + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr chromium` diff --git a/pages.ne/common/ls.md b/pages.ne/common/ls.md new file mode 100644 index 00000000000000..21620232567800 --- /dev/null +++ b/pages.ne/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> एउटा डिरेक्टोरीमा भएका सबै वस्तुहरुको सुची देखाउँछ। +> थप जानकारी: । + +- एक लाइनमा एउटा वस्तु देखाएर फाइलहरू देखाउनुहोस्: + +`ls -1` + +- लुकेका फाइलहरू सहित सबै फाइलहरू देखाउनुहोस्: + +`ls {{[-a|--all]}}` + +- डाइरेक्टरी नामहरूको अन्त्यमा '/' थपेर फाइलहरू देखाउनुहोस्: + +`ls {{[-F|--classify]}}` + +- सबै फाइलहरूको लामो ढाँचाको सूची देखाउनुहोस् (अनुमतिहरू, स्वामित्व, साइज, र परिमार्जन मिति): + +`ls {{[-la|--all -l]}}` + +- लामो ढाँचामा सूची देखाउनुहोस् जहाँ साइज मानिसले पढ्न सक्ने एकाइहरूको ढाँचामा प्रदर्शित हुन्छ (KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` + +- लामो ढाँचामा फाइलहरू देखाउनुहोस् जुन साइज अनुसार क्रमबद्ध छन् (घट्दो क्रममा): + +`ls {{-lSR|-lS --recursive}}` + +- सबै फाइलहरूलाई लामो ढाँचामा देखाउनुहोस् जुन परिमार्जन मितिद्वारा क्रमबद्ध गरिएको छ (सबैभन्दा पुरानो पहिलो): + +`ls {{[-ltr|-lt --reverse]}}` + +- केवल डाइरेक्टरीहरू मात्र देखाउनुहोस्: + +`ls {{[-d|--directory]}} */` diff --git a/pages.ne/common/lzcat.md b/pages.ne/common/lzcat.md new file mode 100644 index 00000000000000..dae49a68890338 --- /dev/null +++ b/pages.ne/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> यो आदेश `xz` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr xz` diff --git a/pages.ne/common/lzma.md b/pages.ne/common/lzma.md new file mode 100644 index 00000000000000..67933822f0c7dd --- /dev/null +++ b/pages.ne/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> यो आदेश `xz` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr xz` diff --git a/pages.ne/common/mscore.md b/pages.ne/common/mscore.md new file mode 100644 index 00000000000000..ade14485f04ede --- /dev/null +++ b/pages.ne/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> यो आदेश `musescore` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr musescore` diff --git a/pages.ne/common/ntl.md b/pages.ne/common/ntl.md new file mode 100644 index 00000000000000..dc171fd2e64eb6 --- /dev/null +++ b/pages.ne/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> यो आदेश `netlify` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr netlify` diff --git a/pages.ne/common/pio-init.md b/pages.ne/common/pio-init.md new file mode 100644 index 00000000000000..72787393768418 --- /dev/null +++ b/pages.ne/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> यो आदेश `pio project` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr pio project` diff --git a/pages.ne/common/platformio.md b/pages.ne/common/platformio.md new file mode 100644 index 00000000000000..472fc5aea1d043 --- /dev/null +++ b/pages.ne/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> यो आदेश `pio` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr pio` diff --git a/pages.ne/common/tldrl.md b/pages.ne/common/tldrl.md new file mode 100644 index 00000000000000..af3b06fad7bc33 --- /dev/null +++ b/pages.ne/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> यो आदेश `tldr-lint` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr tldr-lint` diff --git a/pages.ne/common/tlmgr-arch.md b/pages.ne/common/tlmgr-arch.md new file mode 100644 index 00000000000000..e09efd4325f868 --- /dev/null +++ b/pages.ne/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> यो आदेश `tlmgr platform` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr tlmgr platform` diff --git a/pages.ne/common/unlzma.md b/pages.ne/common/unlzma.md new file mode 100644 index 00000000000000..2aa1b79d58fc00 --- /dev/null +++ b/pages.ne/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> यो आदेश `xz` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr xz` diff --git a/pages.ne/common/unxz.md b/pages.ne/common/unxz.md new file mode 100644 index 00000000000000..a32b6f502d6745 --- /dev/null +++ b/pages.ne/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> यो आदेश `xz` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr xz` diff --git a/pages.ne/common/vlc.md b/pages.ne/common/vlc.md new file mode 100644 index 00000000000000..c326caae72e4ab --- /dev/null +++ b/pages.ne/common/vlc.md @@ -0,0 +1,24 @@ +# vlc + +> क्रस प्लेटफर्म मल्टिमिडिया प्लेयर। +> थप जानकारी: । + +- एउटा फाइल प्ले गर्नुहोस्: + +`vlc {{फाइल/को/पथ}}` + +- पूर्ण स्क्रिनमा प्ले गर्नुहोस्: + +`vlc --fullscreen {{फाइल/को/पथ}}` + +- मौन रूपमा प्ले गर्नुहोस्: + +`vlc --no-audio {{फाइल/को/पथ}}` + +- बारम्बार प्ले गर्नुहोस्: + +`vlc --loop {{फाइल/को/पथ}}` + +- URL बाट भिडियो प्ले गर्नुहोस्: + +`vlc {{https://www.youtube.com/watch?v=oHg5SJYRHA0}}` diff --git a/pages.ne/common/xzcat.md b/pages.ne/common/xzcat.md new file mode 100644 index 00000000000000..5aa84644261939 --- /dev/null +++ b/pages.ne/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> यो आदेश `xz` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr xz` diff --git a/pages.ne/linux/alternatives.md b/pages.ne/linux/alternatives.md new file mode 100644 index 00000000000000..af4ae475819150 --- /dev/null +++ b/pages.ne/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> यो आदेश `update-alternatives` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr update-alternatives` diff --git a/pages.ne/linux/batcat.md b/pages.ne/linux/batcat.md new file mode 100644 index 00000000000000..2642789c4cf8ad --- /dev/null +++ b/pages.ne/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> यो आदेश `bat` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr bat` diff --git a/pages.ne/linux/cc.md b/pages.ne/linux/cc.md new file mode 100644 index 00000000000000..787c54f78b2522 --- /dev/null +++ b/pages.ne/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> यो आदेश `gcc` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr gcc` diff --git a/pages.ne/linux/ip-route-list.md b/pages.ne/linux/ip-route-list.md new file mode 100644 index 00000000000000..11c61879b8440d --- /dev/null +++ b/pages.ne/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> यो आदेश `ip route show`.को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr ip route show` diff --git a/pages.ne/linux/megadl.md b/pages.ne/linux/megadl.md new file mode 100644 index 00000000000000..f417fa13466739 --- /dev/null +++ b/pages.ne/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> यो आदेश `megatools-dl` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr megatools-dl` diff --git a/pages.ne/linux/ncal.md b/pages.ne/linux/ncal.md new file mode 100644 index 00000000000000..35b4b0d3270639 --- /dev/null +++ b/pages.ne/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> यो आदेश `cal` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr cal` diff --git a/pages.ne/linux/ubuntu-bug.md b/pages.ne/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..98753c12593803 --- /dev/null +++ b/pages.ne/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> यो आदेश `apport-bug` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr apport-bug` diff --git a/pages.ne/windows/chrome.md b/pages.ne/windows/chrome.md new file mode 100644 index 00000000000000..acdf26a3ad446a --- /dev/null +++ b/pages.ne/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> यो आदेश `chromium` को उपनाम हो | +> थप जानकारी: । + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr chromium` diff --git a/pages.ne/windows/cinst.md b/pages.ne/windows/cinst.md new file mode 100644 index 00000000000000..9ce8c639a44063 --- /dev/null +++ b/pages.ne/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> यो आदेश `choco install` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr choco install` diff --git a/pages.ne/windows/clist.md b/pages.ne/windows/clist.md new file mode 100644 index 00000000000000..dae67a697f4fcb --- /dev/null +++ b/pages.ne/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> यो आदेश `choco list` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr choco list` diff --git a/pages.ne/windows/cpush.md b/pages.ne/windows/cpush.md new file mode 100644 index 00000000000000..48f4fa2919e7f2 --- /dev/null +++ b/pages.ne/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> यो आदेश `choco push` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr choco push` diff --git a/pages.ne/windows/cuninst.md b/pages.ne/windows/cuninst.md new file mode 100644 index 00000000000000..eea823163ecc18 --- /dev/null +++ b/pages.ne/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> यो आदेश `choco uninstall` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr choco uninstall` diff --git a/pages.ne/windows/iwr.md b/pages.ne/windows/iwr.md new file mode 100644 index 00000000000000..e88e91eea390a5 --- /dev/null +++ b/pages.ne/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> यो आदेश `invoke-webrequest` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr invoke-webrequest` diff --git a/pages.ne/windows/pwsh-where.md b/pages.ne/windows/pwsh-where.md new file mode 100644 index 00000000000000..60bcc0667d35f3 --- /dev/null +++ b/pages.ne/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> यो आदेश `Where-Object` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr Where-Object` diff --git a/pages.ne/windows/rd.md b/pages.ne/windows/rd.md new file mode 100644 index 00000000000000..a06690ec01745e --- /dev/null +++ b/pages.ne/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> यो आदेश `rmdir` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr rmdir` diff --git a/pages.ne/windows/sls.md b/pages.ne/windows/sls.md new file mode 100644 index 00000000000000..5f3e6628fe8c38 --- /dev/null +++ b/pages.ne/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> यो आदेश `Select-String` को उपनाम हो | + +- मौलिक आदेशको लागि कागजात हेर्नुहोस्: + +`tldr select-string` diff --git a/pages.nl/android/am.md b/pages.nl/android/am.md new file mode 100644 index 00000000000000..13a7e542e02182 --- /dev/null +++ b/pages.nl/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android-activiteitenmanager. +> Meer informatie: . + +- Start een specifieke activiteit: + +`am start -n {{com.android.settings/.Settings}}` + +- Start een activiteit en geef er gegevens aan door: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Start een activiteit die overeenkomt met een specifieke actie en categorie: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Converteer een intentie naar een URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.nl/android/bugreport.md b/pages.nl/android/bugreport.md new file mode 100644 index 00000000000000..8a9b8e388f6c4a --- /dev/null +++ b/pages.nl/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Toon een Android-bugrapport. +> Dit commando kan alleen worden gebruikt via `adb shell`. +> Meer informatie: . + +- Geef een compleet bugrapport van een Android-apparaat weer: + +`bugreport` diff --git a/pages.nl/android/bugreportz.md b/pages.nl/android/bugreportz.md new file mode 100644 index 00000000000000..e95c6e2aaec5c7 --- /dev/null +++ b/pages.nl/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Genereer een gezipt Android bugrapport. +> Dit commando kan alleen worden gebruikt via `adb shell`. +> Meer informatie: . + +- Genereer een compleet gezipt bugrapport van een Android-apparaat: + +`bugreportz` + +- Toon de voortgang van een lopende `bugreportz` actie: + +`bugreportz -p` + +- Schrijf de inhoud van een Android bugrapport naar `stdout`: + +`bugreportz -s` + +- Toon de help: + +`bugreportz -h` + +- Toon de versie: + +`bugreportz -v` diff --git a/pages.nl/android/cmd.md b/pages.nl/android/cmd.md new file mode 100644 index 00000000000000..e5dc597fd67903 --- /dev/null +++ b/pages.nl/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Android service manager. +> Meer informatie: . + +- Toon een [l]ijst met alle draaiende services: + +`cmd -l` + +- Roep een specifieke service aan: + +`cmd {{service}}` + +- Roep een specifieke service aan met specifieke argumenten: + +`cmd {{service}} {{argument1 argument2 ...}}` diff --git a/pages.nl/android/dalvikvm.md b/pages.nl/android/dalvikvm.md new file mode 100644 index 00000000000000..677e5c36a54bad --- /dev/null +++ b/pages.nl/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Android Java virtuele machine. +> Meer informatie: . + +- Start een specifiek Java programma: + +`dalvikvm -classpath {{pad/naar/bestand.jar}} {{classnaam}}` diff --git a/pages.nl/android/dumpsys.md b/pages.nl/android/dumpsys.md new file mode 100644 index 00000000000000..c1263280ce269b --- /dev/null +++ b/pages.nl/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Geef informatie over Android system services. +> Dit commando kan alleen worden gebruikt via `adb shell`. +> Meer informatie: . + +- Krijg diagnostische output voor alle systeemservices: + +`dumpsys` + +- Krijg diagnostische output voor een specifieke systeemservice: + +`dumpsys {{service}}` + +- Toon alle services waar `dumpsys` informatie over kan geven: + +`dumpsys -l` + +- Maak een lijst van servicespecifieke argumenten voor een service: + +`dumpsys {{service}} -h` + +- Sluit een specifieke service uit van de diagnostische output: + +`dumpsys --skip {{service}}` + +- Geef een timeout periode in seconden op (standaard 10s): + +`dumpsys -t {{8}}` diff --git a/pages.nl/android/getprop.md b/pages.nl/android/getprop.md new file mode 100644 index 00000000000000..e12c28bf3f9db3 --- /dev/null +++ b/pages.nl/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Toon informatie over Android systeemeigenschappen. +> Meer informatie: . + +- Toon informatie over Android systeemeigenschappen: + +`getprop` + +- Toon informatie over een specifieke eigenschap: + +`getprop {{property}}` + +- Toon het SDK API level: + +`getprop {{ro.build.version.sdk}}` + +- Toon de Android versie: + +`getprop {{ro.build.version.release}}` + +- Toon het Android apparaatmodel: + +`getprop {{ro.vendor.product.model}}` + +- Toon de OEM ontgrendelingsstatus: + +`getprop {{ro.oem_unlock_supported}}` + +- Toon het MAC adres van de Android's Wi-Fi kaart: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.nl/android/input.md b/pages.nl/android/input.md new file mode 100644 index 00000000000000..9cd26c418e6320 --- /dev/null +++ b/pages.nl/android/input.md @@ -0,0 +1,25 @@ +# input + +> Stuur gebeurteniscodes of touchscreen-gebaren naar een Android-apparaat. +> Dit commando kan alleen worden gebruikt via `adb shell`. +> Meer informatie: . + +- Stuur een gebeurteniscode voor een enkel teken naar een Android-apparaat: + +`input keyevent {{event_code}}` + +- Stuur een tekst naar een Android-apparaat (`%s` vertegenwoordigt spaties): + +`input text "{{text}}"` + +- Stuur een enkele tik naar een Android-apparaat: + +`input tap {{x_position}} {{y_position}}` + +- Stuur een swipe-gebaar naar een Android-apparaat: + +`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duration_in_ms}}` + +- Stuur een lange druk naar een Android-apparaat met behulp van een swipe-gebaar: + +`input swipe {{x_position}} {{y_position}} {{x_position}} {{y_position}} {{duration_in_ms}}` diff --git a/pages.nl/android/logcat.md b/pages.nl/android/logcat.md new file mode 100644 index 00000000000000..b1507c279aa50f --- /dev/null +++ b/pages.nl/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Dump een logboek van systeemberichten, inclusief stacktraces wanneer er een fout is opgetreden, en informatieberichten die door applicaties zijn vastgelegd. +> Meer informatie: . + +- Toon systeemlogs: + +`logcat` + +- Schrijf systeemlogs naar een bestand: + +`logcat -f {{pad/naar/bestand}}` + +- Toon lijnen die overeenkomen met een reguliere expressie: + +`logcat --regex {{reguliere_expressie}}` + +- Toon logs voor een specifieke PID: + +`logcat --pid {{pid}}` + +- Toon logs voor een proces van een specifiek pakket: + +`logcat --pid $(pidof -s {{pakket}})` diff --git a/pages.nl/android/pkg.md b/pages.nl/android/pkg.md new file mode 100644 index 00000000000000..165b7671070def --- /dev/null +++ b/pages.nl/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Hulpprogramma voor pakketbeheer voor Termux. +> Meer informatie: . + +- Upgrade alle geïnstalleerde pakketten: + +`pkg upgrade` + +- Installeer een pakket: + +`pkg install {{pakket}}` + +- Verwijder een pakket: + +`pkg uninstall {{pakket}}` + +- Herinstalleer een pakket: + +`pkg reinstall {{pakket}}` + +- Zoek naar een pakket: + +`pkg search {{pakket}}` diff --git a/pages.nl/android/pm.md b/pages.nl/android/pm.md new file mode 100644 index 00000000000000..a12a1b35ddfe7a --- /dev/null +++ b/pages.nl/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Toon informatie over apps op een Android-apparaat. +> Meer informatie: . + +- Maak een lijst van alle geïnstalleerde apps: + +`pm list packages` + +- Maak een lijst van alle geïnstalleerde systeem-apps: + +`pm list packages -s` + +- Maak een lijst van alle geïnstalleerde apps van 3e partijen: + +`pm list packages -3` + +- Maak een lijst met apps die overeenkomen met specifieke trefwoorden: + +`pm list packages {{keyword1 keyword2 ...}}` + +- Toon een pad van de APK van een specifieke app: + +`pm path {{app}}` diff --git a/pages.nl/android/screencap.md b/pages.nl/android/screencap.md new file mode 100644 index 00000000000000..6f3a6db957037c --- /dev/null +++ b/pages.nl/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Maak een screenshot van een mobiel scherm. +> Dit commando kan alleen worden gebruikt via `adb shell`. +> Meer informatie: . + +- Maak een screenshot: + +`screencap {{pad/naar/bestand}}` diff --git a/pages.nl/android/settings.md b/pages.nl/android/settings.md new file mode 100644 index 00000000000000..3fd47c0b28e495 --- /dev/null +++ b/pages.nl/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Krijg informatie over het Android-besturingssysteem. +> Meer informatie: . + +- Toon een lijst met instellingen in de `global` namespace: + +`settings list {{global}}` + +- Verkrijg een waarde van een specifieke instelling: + +`settings get {{global}} {{airplane_mode_on}}` + +- Zet een specifieke waarde van een instelling: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Verwijder een specifieke instelling: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.nl/android/wm.md b/pages.nl/android/wm.md new file mode 100644 index 00000000000000..6c0826e3bf2901 --- /dev/null +++ b/pages.nl/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Toon informatie over het scherm van een Android-apparaat. +> Dit commando kan alleen worden gebruikt via `adb shell`. +> Meer informatie: . + +- Toon de fysieke grootte van het scherm van een Android-apparaat: + +`wm size` + +- Toon de fysieke dichtheid van het scherm van een Android-apparaat: + +`wm density` diff --git a/pages.nl/common/!.md b/pages.nl/common/!.md new file mode 100644 index 00000000000000..9657edac6268bf --- /dev/null +++ b/pages.nl/common/!.md @@ -0,0 +1,36 @@ +# ! + +> Ingebouwd in Bash om te vervangen met een commando in de geschiedenis. +> Meer informatie: . + +- Vervang het vorige commando en voer het uit met sudo: + +`sudo !!` + +- Vervang met een commando op basis van het regelnummer gevonden met `history`: + +`!{{nummer}}` + +- Vervang met een commando dat een bepaald aantal regels terug werd gebruikt: + +`!-{{nummer}}` + +- Vervang met het meest recente commando die begint met string: + +`!{{string}}` + +- Vervang met de argumenten van het laatste commando: + +`{{commando}} !*` + +- Vervang met het laatste argument van het laatste commando: + +`{{commando}} !$` + +- Vervang met het laatste commando maar zonder het laatste argument: + +`!:-` + +- Print het laatste commando dat begint met string zonder het uit te voeren: + +`!{{string}}:p` diff --git a/pages.nl/common/$.md b/pages.nl/common/$.md new file mode 100644 index 00000000000000..c5b84dc1dbdda5 --- /dev/null +++ b/pages.nl/common/$.md @@ -0,0 +1,36 @@ +# $ + +> Breid een Bash-variabele uit. +> Meer informatie: . + +- Toon een variabele: + +`echo ${{VARIABELE}}` + +- Voer een variabele uit als een commando: + +`${{VARIABELE}}` + +- Toon de exitstatus van het vorige commando: + +`echo $?` + +- Toon een willekeurig getal tussen 0 en 32767: + +`echo $RANDOM` + +- Toon een van de promptstrings: + +`echo ${{PS0|PS1|PS2|PS3|PS4}}` + +- Breid uit met de uitvoer van `command` en voer het uit. Hetzelfde als het commando tussen backticks plaatsen: + +`$({{commando}})` + +- Toon hoeveel argumenten de huidige context heeft: + +`echo $#` + +- Toon een Bash array: + +`echo ${{{array_naam[@]}}}` diff --git a/pages.nl/common/%.md b/pages.nl/common/%.md new file mode 100644 index 00000000000000..8626750e9474a8 --- /dev/null +++ b/pages.nl/common/%.md @@ -0,0 +1,28 @@ +# % + +> Beheer taken. +> Meer informatie: . + +- Breng de huidige taak naar voren: + +`%` + +- Breng de vorige opdracht naar voren: + +`%-` + +- Breng het opdrachtnummer `n` naar voren: + +`%{{n}}` + +- Breng een opdracht waarvan de opdracht begint met `string` naar voren: + +`%{{string}}` + +- Breng een opdracht waarvan de opdracht `string` bevat naar voren: + +`%?{{string}}` + +- Hervat een opgeschorte opdracht: + +`%{{1}} &` diff --git a/pages.nl/common/,.md b/pages.nl/common/,.md new file mode 100644 index 00000000000000..aa949f2e58ef29 --- /dev/null +++ b/pages.nl/common/,.md @@ -0,0 +1,16 @@ +# , + +> Voer commando's uit zonder ze te installeren. +> Meer informatie: . + +- Voer een commando uit: + +`, {{commando -met -vlaggen}}` + +- Voeg een commando toe aan een child shell: + +`, {{[-s|--shell]}} {{commando}}` + +- Wis de cache: + +`, {{[-e|--empty-cache]}}` diff --git a/pages.nl/common/..md b/pages.nl/common/..md new file mode 100644 index 00000000000000..b596ddfaabd06c --- /dev/null +++ b/pages.nl/common/..md @@ -0,0 +1,7 @@ +# . + +> Dit commando is een alias van `source`. + +- Bekijk de documentatie van het originele commando: + +`tldr source` diff --git a/pages.nl/common/2to3.md b/pages.nl/common/2to3.md new file mode 100644 index 00000000000000..afa469b051cd69 --- /dev/null +++ b/pages.nl/common/2to3.md @@ -0,0 +1,34 @@ +# 2to3 + +> Geautomatiseerde conversie van Python 2 naar 3-code. +> Deze module is sinds 3.11 verouderd en is sinds 3.13 verwijderd. +> Ter referentie: . +> Meer informatie: . + +- Geef de wijzigingen weer die zouden worden uitgevoerd zonder ze uit te voeren (simulatie): + +`2to3 {{pad/naar/bestand.py}}` + +- Converteer een Python 2-bestand naar Python 3: + +`2to3 --write {{pad/naar/bestand.py}}` + +- Converteer specifieke Python 2-taalfuncties naar Python 3: + +`2to3 --write {{pad/naar/bestand.py}} --fix {{raw_input}} --fix {{print}}` + +- Converteer alle Python 2-taalfuncties behalve de gespecificeerde naar Python 3: + +`2to3 --write {{pad/naar/bestand.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- Geef een lijst weer met alle beschikbare taalfuncties die kunnen worden geconverteerd van Python 2 naar Python 3: + +`2to3 --list-fixes` + +- Converteer alle Python 2-bestanden in een map naar Python 3: + +`2to3 --output-dir {{pad/naar/python3_map}} --write-unchanged-files --nobackups {{pad/naar/python2_map}}` + +- Voer 2to3 uit met meerdere threads: + +`2to3 --processes {{4}} --output-dir {{pad/naar/python3_map}} --write --nobackups --no-diff {{pad/naar/python2_map}}` diff --git a/pages.nl/common/7z.md b/pages.nl/common/7z.md index fd31813ef40473..6d95f03761bb81 100644 --- a/pages.nl/common/7z.md +++ b/pages.nl/common/7z.md @@ -1,7 +1,7 @@ # 7z > Een bestandsarchiveerder met een hoge compressieratio. -> Meer informatie: . +> Meer informatie: . - Archiveer een bestand of map: @@ -19,18 +19,18 @@ `7z x {{archief.7z}} -o{{pad/naar/uitvoer}}` -- Pak een archief naar stdout uit: +- Pak een archief naar `stdout` uit: `7z x {{archief.7z}} -so` -- Archiveer met een specifiek archieftype: +- [a]rchiveer met een specifiek archieftype: -`7z a -t{{zip|gzip|bzip2|tar}} {{archief.7z}} {{pad/naar/bestand_of_map}}` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archief}} {{pad/naar/bestand_of_map}}` -- Geef een lijst van beschikbare archieftypen: +- Geef een [l]ijst met de inhoud van het archiefbestand: -`7z i` +`7z l {{pad/naar/archief.7z}}` -- Geef een lijst met de inhoud van het archiefbestand: +- Zet het niveau van compressie (hoger betekent meer compressie, maar langzamer): -`7z l {{archief.7z}}` +`7z a {{pad/naar/archief.7z}} -mx={{0|1|3|5|7|9}} {{pad/naar/bestand_of_map}}` diff --git a/pages.nl/common/7za.md b/pages.nl/common/7za.md new file mode 100644 index 00000000000000..b0466a9f5760a6 --- /dev/null +++ b/pages.nl/common/7za.md @@ -0,0 +1,37 @@ +# 7za + +> Bestandsarchiver met een hoge compressieverhouding. +> Vergelijkbaar met `7z`, behalve dat het minder bestandstypes ondersteunt, maar platformonafhankelijk is. +> Meer informatie: . + +- Archiveer een bestand of map: + +`7za a {{pad/naar/archief.7z}} {{pad/naar/bestand_of_map}}` + +- Versleutel een bestaand archief (inclusief bestandsnamen): + +`7za a {{pad/naar/versleuteld.7z}} -p{{wachtwoord}} -mhe={{on}} {{pad/naar/archief.7z}}` + +- Pak een archief uit met behoud van de originele map structuur: + +`7za x {{pad/naar/archief.7z}}` + +- Pak een archief uit naar een specifieke map: + +`7za x {{pad/naar/archief.7z}} -o{{pad/naar/uitkomst}}` + +- Pak een archief uit naar `stdout`: + +`7za x {{pad/naar/archief.7z}} -so` + +- Archiveren met een specifiek archieftype: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{pad/naar/archief.7z}} {{pad/naar/bestand_of_map}}` + +- Geef een [l]ijst met de inhoud van het archiefbestand: + +`7za l {{pad/naar/archief.7z}}` + +- Zet het niveau van compressie (hoger betekent meer compressie, maar langzamer): + +`7za a {{pad/naar/archief.7z}} -mx={{0|1|3|5|7|9}} {{pad/naar/bestand_of_map}}` diff --git a/pages.nl/common/7zr.md b/pages.nl/common/7zr.md new file mode 100644 index 00000000000000..af56b14227d06e --- /dev/null +++ b/pages.nl/common/7zr.md @@ -0,0 +1,33 @@ +# 7zr + +> Bestandsarchiver met een hoge compressieverhouding. +> Vergelijkbaar met `7z`, behalve dat het alleen 7z-bestanden ondersteunt. +> Meer informatie: . + +- Archiveer een bestand of map: + +`7zr a {{pad/naar/archief.7z}} {{pad/naar/bestand_of_map}}` + +- Versleutel een bestaand archief (inclusief bestandsnamen): + +`7zr a {{pad/naar/versleuteld.7z}} -p{{wachtwoord}} -mhe={{on}} {{pad/naar/archief.7z}}` + +- Pak een archief uit met behoud van de originele map structuur: + +`7zr x {{pad/naar/archief.7z}}` + +- Pak een archief uit naar een specifieke map: + +`7zr x {{pad/naar/archief.7z}} -o{{pad/naar/uitkomst}}` + +- Pak een archief uit naar `stdout`: + +`7zr x {{pad/naar/archief.7z}} -so` + +- Geef een [l]ijst met de inhoud van het archiefbestand: + +`7zr l {{pad/naar/archief.7z}}` + +- Zet het niveau van compressie (hoger betekent meer compressie, maar langzamer): + +`7zr a {{pad/naar/archief.7z}} -mx={{0|1|3|5|7|9}} {{pad/naar/bestand_of_map}}` diff --git a/pages.nl/common/[.md b/pages.nl/common/[.md new file mode 100644 index 00000000000000..202c684d88ee73 --- /dev/null +++ b/pages.nl/common/[.md @@ -0,0 +1,33 @@ +# [ + +> Controleer bestandstypes en vergelijk waardes. +> Geeft een 0 terug als de voorwaarde waar (true) is, als het niet waar (false) is geeft het een 1 terug. +> Meer informatie: . + +- Test of een gegeven variabele gelijk is aan een gegeven tekst: + +`[ "${{variable}}" {{=|!=}} "{{string}}" ]` + +- Test of een gegeven variabele gelijk/niet gelijk/groter dan/kleiner dan/groter dan of gelijk/kleiner dan of gelijk aan het gegeven nummer: + +`[ "${{variable}}" -{{eq|ne|gt|lt|ge|le}} {{integer}} ]` + +- Test of een gegeven variabele een niet-lege waarde heeft: + +`[ -n "${{variable}}" ]` + +- Test of een gegeven variable een lege waarde heeft: + +`[ -z "${{variable}}" ]` + +- Test of een bestand bestaat: + +`[ -f {{pad/naar/bestand}} ]` + +- Test of een map bestaat: + +`[ -d {{pad/naar/map}} ]` + +- Test of een bestand of een map bestaat: + +`[ -e {{pad/naar/bestand_of_map}} ]` diff --git a/pages.nl/common/[[.md b/pages.nl/common/[[.md new file mode 100644 index 00000000000000..d5d8dab79bf3ff --- /dev/null +++ b/pages.nl/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> Controleer bestandstypen en vergelijk waarden. +> Retourneert een status van 0 als de voorwaarde resulteert in waar, 1 als deze resulteert in onwaar. +> Meer informatie: . + +- Test of een gegeven variabele gelijk/niet gelijk is aan de opgegeven string: + +`[[ ${{variabele}} {{==|!=}} "{{string}}" ]]` + +- Test of een gegeven string voldoet aan de opgegeven glob/regex: + +`[[ ${{variabele}} {{==|=~}} {{patroon}} ]]` + +- Test of een bepaalde variabele gelijk/niet gelijk/groter dan/kleiner dan/groter dan of gelijk/kleiner dan of gelijk aan het opgegeven getal is: + +`[[ ${{variabele}} -{{eq|ne|gt|lt|ge|le}} {{geheel_getal}} ]]` + +- Test of de opgegeven variabele een niet-lege waarde heeft: + +`[[ -n ${{variabele}} ]]` + +- Test of de opgegeven variabele een lege waarde heeft: + +`[[ -z ${{variabele}} ]]` + +- Test of het opgegeven bestand bestaat: + +`[[ -f {{pad/naar/bestand}} ]]` + +- Test of de opgegeven map bestaat: + +`[[ -d {{pad/naar/map}} ]]` + +- Test of het opgegeven bestand of de opgegeven map bestaat: + +`[[ -e {{pad/naar/bestand_of_map}} ]]` diff --git a/pages.nl/common/].md b/pages.nl/common/].md new file mode 100644 index 00000000000000..4e170135ba436a --- /dev/null +++ b/pages.nl/common/].md @@ -0,0 +1,7 @@ +# ] + +> Dit shell keyword wordt gebruikt om `[` af te sluiten. + +- Bekijk documentatie voor het `[` keyword: + +`tldr [` diff --git a/pages.nl/common/]].md b/pages.nl/common/]].md new file mode 100644 index 00000000000000..d3d986181f76e3 --- /dev/null +++ b/pages.nl/common/]].md @@ -0,0 +1,7 @@ +# ]] + +> Dit shell keyword wordt gebruikt om `[[` af te sluiten. + +- Bekijk documentatie voor het `[[` keyword: + +`tldr [[` diff --git a/pages.nl/common/^.md b/pages.nl/common/^.md new file mode 100644 index 00000000000000..ba345a205b94d8 --- /dev/null +++ b/pages.nl/common/^.md @@ -0,0 +1,25 @@ +# ^ + +> Bash ingebouwd commando om snel een string in het vorige commando te vervangen en het resultaat uit te voeren. +> Equivalent aan `!!:s^string1^string2`. +> Meer informatie: . + +- Voer het vorige commando uit waarbij `string1` wordt vervangen door `string2`: + +`^{{string1}}^{{string2}}` + +- Verwijder `string1` uit het vorige commando: + +`^{{string1}}^` + +- Vervang `string1` door `string2` in het vorige commando en voeg `string3` toe aan het einde ervan: + +`^{{string1}}^{{string2}}^{{string3}}` + +- Vervang alle voorkomens van `string1`: + +`^{{string1}}^{{string2}}^:g&` + +- Toon de vervangende opdracht zonder het uit te voeren: + +`^{{string1}}^{{string2}}^:p` diff --git a/pages.nl/common/a2ping.md b/pages.nl/common/a2ping.md new file mode 100644 index 00000000000000..78552e38d80ecd --- /dev/null +++ b/pages.nl/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> Converteer afbeeldingen in EPS- of PDF-bestanden. +> Meer informatie: . + +- Converteer een afbeelding naar PDF (Let op: het opgeven van een uitvoerbestandsnaam is optioneel): + +`a2ping {{pad/naar/afbeelding.ext}} {{pad/naar/uitvoer.pdf}}` + +- Comprimeer het document met behulp van de opgegeven methode: + +`a2ping --nocompress {{none|zip|best|flate}} {{pad/naar/bestand}}` + +- Scan HiResBoundingBox indien aanwezig (Let op: de standaard is yes): + +`a2ping --nohires {{pad/naar/bestand}}` + +- Sta pagina-inhoud onder en links van de oorsprong toe (Let op: de standaard is no): + +`a2ping --below {{pad/naar/bestand}}` + +- Geef extra argumenten door aan `gs`: + +`a2ping --gsextra {{arguments}} {{pad/naar/bestand}}` + +- Geef extra argumenten mee aan het externe programma (bijv. `pdftops`): + +`a2ping --extra {{arguments}} {{pad/naar/bestand}}` + +- Toon de help: + +`a2ping {{[-h|--help]}}` diff --git a/pages.nl/common/aapt.md b/pages.nl/common/aapt.md new file mode 100644 index 00000000000000..60dd069730723c --- /dev/null +++ b/pages.nl/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> Android Asset Packaging-tool. +> Compileer en verpak de bronnen van een Android-app. +> Meer informatie: . + +- Maak een lijst van bestanden in een APK-archief: + +`aapt list {{pad/naar/app.apk}}` + +- Geef de metadata van een app weer (versie, machtigingen, enz.): + +`aapt dump badging {{pad/naar/app.apk}}` + +- Maak een nieuw APK-archief met bestanden uit de opgegeven map: + +`aapt package -F {{pad/naar/app.apk}} {{pad/naar/map}}` diff --git a/pages.nl/common/ab.md b/pages.nl/common/ab.md new file mode 100644 index 00000000000000..1a6b8260ffc51d --- /dev/null +++ b/pages.nl/common/ab.md @@ -0,0 +1,28 @@ +# ab + +> Apache HTTP-serverbenchmarktool. +> Meer informatie: . + +- Voer 100 HTTP GET-verzoeken uit naar een bepaalde URL: + +`ab -n 100 {{url}}` + +- Voer 100 HTTP GET-verzoeken uit, in gelijktijdige batches van 10, naar een URL: + +`ab -n 100 -c 10 {{url}}` + +- Voer 100 HTTP POST-verzoeken uit naar een URL, met behulp van een JSON-payload uit een bestand: + +`ab -n 100 -T {{application/json}} -p {{pad/naar/bestand.json}} {{url}}` + +- Gebruik HTTP Keep Alive, d.w.z. voer meerdere verzoeken uit binnen één HTTP-sessie: + +`ab -k {{url}}` + +- Stel het maximale aantal seconden in dat je wil besteden aan benchmarking: + +`ab -t {{60}} {{url}}` + +- Schrijf de resultaten naar een CSV bestand: + +`ab -e {{pad/naar/bestand.csv}}` diff --git a/pages.nl/common/abduco.md b/pages.nl/common/abduco.md new file mode 100644 index 00000000000000..a0c06a863e7b9b --- /dev/null +++ b/pages.nl/common/abduco.md @@ -0,0 +1,24 @@ +# abduco + +> Terminal sessiemanager. +> Meer informatie: . + +- Toon alle sessies: + +`abduco` + +- Koppel aan een sessie en maak deze aan als deze nog niet bestaat: + +`abduco -A {{naam}} {{bash}}` + +- Maak verbinding met een sessie met `dvtm` en maak deze aan als deze nog niet bestaat: + +`abduco -A {{naam}}` + +- Loskoppelen van een sessie: + +`` + +- Voeg toe aan een sessie in alleen-lezen modus: + +`abduco -Ar {{naam}}` diff --git a/pages.nl/common/ac.md b/pages.nl/common/ac.md new file mode 100644 index 00000000000000..06e97ddc95d544 --- /dev/null +++ b/pages.nl/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> Toon statistieken over hoe lang gebruikers verbonden zijn geweest. +> Meer informatie: . + +- Toon hoe lang de huidige gebruiker verbonden is in uren: + +`ac` + +- Toon hoe lang gebruikers verbonden zijn in uren: + +`ac -p` + +- Toon hoe lang een bepaalde gebruiker verbonden is in uren: + +`ac -p {{gebruikersnaam}}` + +- Toon hoe lang een bepaalde gebruiker verbonden is in uren per dag (met totaal): + +`ac -dp {{gebruikersnaam}}` diff --git a/pages.nl/common/accelerate.md b/pages.nl/common/accelerate.md new file mode 100644 index 00000000000000..f44685db10d871 --- /dev/null +++ b/pages.nl/common/accelerate.md @@ -0,0 +1,28 @@ +# accelerate + +> Accelerate is een bibliotheek waarmee dezelfde PyTorch-code kan worden uitgevoerd op elke gedistribueerde configuratie. +> Meer informatie: . + +- Toon informatie over de omgeving: + +`accelerate env` + +- Maak interactief een configuratiebestand: + +`accelerate config` + +- Toon de geschatte GPU-geheugenkosten van het uitvoeren van een Hugging Face model met verschillende gegevenstypen: + +`accelerate estimate-memory {{name/model}}` + +- Test een Accelerate configuratiebestand: + +`accelerate test --config_file {{pad/naar/config.yaml}}` + +- Voer een model uit op CPU met Accelerate: + +`accelerate launch {{pad/naar/script.py}} {{--cpu}}` + +- Voer een model uit op multi-GPU met Accelerate, met 2 machines: + +`accelerate launch {{pad/naar/script.py}} --multi_gpu --num_machines 2` diff --git a/pages.nl/common/ack.md b/pages.nl/common/ack.md new file mode 100644 index 00000000000000..f00eccf5c689da --- /dev/null +++ b/pages.nl/common/ack.md @@ -0,0 +1,37 @@ +# ack + +> Een zoektool zoals grep, geoptimaliseerd voor ontwikkelaars. +> Zie ook: `rg`, dat is veel sneller. +> Meer informatie: . + +- Zoek recursief naar bestanden met een tekenreeks of reguliere expressie in de huidige map: + +`ack "{{zoekpatroon}}"` + +- Zoek naar een niet-hoofdlettergevoelig patroon: + +`ack {{[-i|--ignore-case]}} "{{zoekpatroon}}"` + +- Zoek naar lijnen die overeenkomen met een patroon en druk alleen de overeenkomende tekst af en niet de rest van de lijn: + +`ack {{[-o|--output='$&']}} "{{zoekpatroon}}"` + +- Beperk het zoeken tot bestanden van een specifiek type: + +`ack {{[-t|--type]}} {{ruby}} "{{zoekpatroon}}"` + +- Zoek niet in bestanden van een specifiek type: + +`ack {{[-t|--type]}} no{{ruby}} "{{zoekpatroon}}"` + +- Tel het totaal aantal gevonden matches: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{zoekpatroon}}"` + +- Toon alleen voor elk bestand de bestandsnamen en het aantal overeenkomsten: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{zoekpatroon}}"` + +- Maak een lijst van alle waarden die kunnen worden gebruikt met `--type`: + +`ack --help-types` diff --git a/pages.nl/common/acme.sh-dns.md b/pages.nl/common/acme.sh-dns.md new file mode 100644 index 00000000000000..09d0a599527be0 --- /dev/null +++ b/pages.nl/common/acme.sh-dns.md @@ -0,0 +1,24 @@ +# acme.sh --dns + +> Gebruik een DNS-01 challenge om een TLS-certificaat uit te geven. +> Meer informatie: . + +- Geef een certificaat uit met behulp van een automatische DNS API-modus: + +`acme.sh --issue --dns {{gnd_gd}} --domain {{example.com}}` + +- Geef een wildcardcertificaat uit (aangegeven met een asterisk) met behulp van een automatische DNS API-modus: + +`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}` + +- Geef een certificaat uit met behulp van een DNS-aliasmodus: + +`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{alias-voor-voorbeeld-validatie.com}}` + +- Geef een certificaat uit terwijl u automatische Cloudflare / Google DNS-polling uitschakelt nadat het DNS-record is toegevoegd door een aangepaste wachttijd in seconden op te geven: + +`acme.sh --issue --dns {{dns_namecheap}} --domain {{example.com}} --dnssleep {{300}}` + +- Geef een certificaat uit met behulp van een handmatige DNS-modus: + +`acme.sh --issue --dns --domain {{example.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please` diff --git a/pages.nl/common/acme.sh.md b/pages.nl/common/acme.sh.md new file mode 100644 index 00000000000000..c83d0e68097b7f --- /dev/null +++ b/pages.nl/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> Shell-script dat het ACME-clientprotocol implementeert, een alternatief voor `certbot`. +> Zie ook: `acme.sh dns`. +> Meer informatie: . + +- Geef een certificaat uit met behulp van de webroot-modus: + +`acme.sh --issue {{[-d|--domain]}} {{example.com}} {{[-w|--webroot]}} /{{pad/naar/webroot}}` + +- Geef een certificaat uit voor meerdere domeinen in de zelfstandige modus met poort 80: + +`acme.sh --issue --standalone {{[-d|--domain]}} {{example.com}} {{[-d|--domain]}} {{www.example.com}}` + +- Geef een certificaat uit met behulp van de zelfstandige TLS-modus met behulp van poort 443: + +`acme.sh --issue --alpn {{[-d|--domain]}} {{example.com}}` + +- Geef een certificaat uit met een werkende Nginx-configuratie: + +`acme.sh --issue --nginx {{[-d|--domain]}} {{example.com}}` + +- Geef een certificaat uit met een werkende Apache-configuratie: + +`acme.sh --issue --apache {{[-d|--domain]}} {{example.com}}` + +- Geef een wildcardcertificaat (\*) uit met behulp van een automatische DNS API-modus: + +`acme.sh --issue --dns {{dns_cf}} {{[-d|--domain]}} {{*.example.com}}` + +- Installeer certificaatbestanden op de opgegeven locaties (handig voor automatische certificaatvernieuwing): + +`acme.sh {{[-i|--install-cert]}} {{[-d|--domain]}} {{example.com}} --key-file /{{pad/naar/example.com.key}} --fullchain-file /{{pad/naar/example.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"` diff --git a/pages.nl/common/act.md b/pages.nl/common/act.md new file mode 100644 index 00000000000000..489b3a615516ae --- /dev/null +++ b/pages.nl/common/act.md @@ -0,0 +1,32 @@ +# act + +> Voer GitHub-acties lokaal uit met behulp van Docker. +> Meer informatie: . + +- Maak een lijst van de beschikbare acties: + +`act {{[-l|--list]}}` + +- Voer de standaard evenement uit: + +`act` + +- Voer een specifiek evenement uit: + +`act {{evenement_type}}` + +- Voer een specifieke job uit: + +`act {{[-j|--job]}} {{job_id}}` + +- Voer de acties [n]iet daadwerkelijk uit (d.w.z. een dry-run): + +`act {{[-n|--dryrun]}}` + +- Toon uitgebreide logboeken: + +`act {{[-v|--verbose]}}` + +- Voer een specifieke workflow uit: + +`act push {{[-W|--workflows]}} {{pad/naar/workflow}}` diff --git a/pages.nl/common/acyclic.md b/pages.nl/common/acyclic.md new file mode 100644 index 00000000000000..631bae9febb3de --- /dev/null +++ b/pages.nl/common/acyclic.md @@ -0,0 +1,17 @@ +# acyclic + +> Maak een gerichte grafiek acyclisch door enkele randen om te keren. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> Meer informatie: . + +- Maak een gerichte grafiek acyclisch door enkele randen om te keren: + +`acyclic {{pad/naar/invoer.gv}} > {{pad/naar/uitvoer.gv}}` + +- Afdrukken als een grafiek acyclisch is, een cyclus heeft of ongericht is en geen uitvoergrafiek produceert: + +`acyclic -v -n {{pad/naar/invoer.gv}}` + +- Toon de help: + +`acyclic -?` diff --git a/pages.nl/common/adb-install.md b/pages.nl/common/adb-install.md new file mode 100644 index 00000000000000..126cad0a5d3adc --- /dev/null +++ b/pages.nl/common/adb-install.md @@ -0,0 +1,28 @@ +# adb install + +> Android Debug Bridge-installatie: push pakketten naar een Android-emulatorinstantie of aangesloten Android-apparaten. +> Meer informatie: . + +- Push een Android-applicatie naar een emulator/apparaat: + +`adb install {{pad/naar/bestand.apk}}` + +- Een Android-applicatie naar een specifieke emulator/apparaat pushen (heeft voorrang op `$ANDROID_SERIAL`): + +`adb -s {{serienummer}} install {{pad/naar/bestand.apk}}` + +- Installeer een bestaande app opnieuw, waarbij de gegevens behouden blijven: + +`adb install -r {{pad/naar/bestand.apk}}` + +- Een Android-applicatie pushen die downgrade van versiecode mogelijk maakt (alleen foutopsporingspakketten): + +`adb install -d {{pad/naar/bestand.apk}}` + +- Verleen alle machtigingen die worden vermeld in het app-manifest: + +`adb install -g {{pad/naar/bestand.apk}}` + +- Werk snel een geïnstalleerd pakket bij door alleen de delen van de APK bij te werken die zijn gewijzigd: + +`adb install --fastdeploy {{pad/naar/bestand.apk}}` diff --git a/pages.nl/common/adb-logcat.md b/pages.nl/common/adb-logcat.md new file mode 100644 index 00000000000000..e94f13d9b41c2c --- /dev/null +++ b/pages.nl/common/adb-logcat.md @@ -0,0 +1,36 @@ +# adb logcat + +> Dump een logboek met systeemberichten. +> Meer informatie: . + +- Geef systeemlogboeken weer: + +`adb logcat` + +- Geef regels weer die overeenkomen met een reguliere expressie: + +`adb logcat -e {{reguliere_expressie}}` + +- Toon logs voor een tag in een specifieke modus ([V]erbose, [D]ebug, [I]nfo, [W]arning, [E]rror, [F]atal, [S]ilent), andere tags filteren: + +`adb logcat {{label}}:{{modus}} *:S` + +- Geef logs weer voor React Native-applicaties in [V]erbose mode [S]ilencing andere tags: + +`adb logcat ReactNative:V ReactNativeJS:V *:S` + +- Toon logboeken voor alle tags met prioriteitsniveau [W]arning en hoger: + +`adb logcat *:W` + +- Geef logboeken weer voor een specifiek proces: + +`adb logcat --pid {{pid}}` + +- Logboeken weergeven voor het proces van een specifiek pakket: + +`adb logcat --pid $(adb shell pidof -s {{pakket}})` + +- Kleur de log in (gebruik meestal met filters): + +`adb logcat -v color` diff --git a/pages.nl/common/adb-reverse.md b/pages.nl/common/adb-reverse.md new file mode 100644 index 00000000000000..619b9dfdda4948 --- /dev/null +++ b/pages.nl/common/adb-reverse.md @@ -0,0 +1,20 @@ +# adb reverse + +> Android Debug Bridge Reverse: omgekeerde socketverbindingen van een Android-emulatorinstantie of verbonden Android-apparaten. +> Meer informatie: . + +- Maak een lijst van alle omgekeerde socketverbindingen van emulators en apparaten: + +`adb reverse --list` + +- Keer een TCP-poort om van een emulator of apparaat naar localhost: + +`adb reverse tcp:{{externe_poort}} tcp:{{lokale_poort}}` + +- Verwijder omgekeerde socketverbindingen van een emulator of apparaat: + +`adb reverse --remove tcp:{{externe_poort}}` + +- Verwijder alle omgekeerde socketverbindingen van alle emulators en apparaten: + +`adb reverse --remove-all` diff --git a/pages.nl/common/adb-shell.md b/pages.nl/common/adb-shell.md new file mode 100644 index 00000000000000..44dec722767963 --- /dev/null +++ b/pages.nl/common/adb-shell.md @@ -0,0 +1,36 @@ +# adb shell + +> Android Debug Bridge Shell: Voer externe shell-opdrachten uit op een Android-emulatorinstantie of aangesloten Android-apparaten. +> Meer informatie: . + +- Start een externe interactieve shell op de emulator of het apparaat: + +`adb shell` + +- Haal alle eigenschappen op van de emulator of het apparaat: + +`adb shell getprop` + +- Zet alle runtime-machtigingen terug naar hun standaard: + +`adb shell pm reset-permissions` + +- Een gevaarlijke machtiging voor een toepassing intrekken: + +`adb shell pm revoke {{pakket}} {{toestemming}}` + +- Activeer een sleutelgebeurtenis: + +`adb shell input keyevent {{sleutelcode}}` + +- Wis de gegevens van een applicatie op een emulator of apparaat: + +`adb shell pm clear {{pakket}}` + +- Start een activiteit op emulator of apparaat: + +`adb shell am start -n {{pakket}}/{{activiteit}}` + +- Start de thuisactiviteit op een emulator of apparaat: + +`adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN` diff --git a/pages.nl/common/adb.md b/pages.nl/common/adb.md index 3f8aeca81d1a32..5cb2bb6566e8e1 100644 --- a/pages.nl/common/adb.md +++ b/pages.nl/common/adb.md @@ -1,7 +1,8 @@ # adb > Android Debug-Brug: communiceer met een Android-emulator of een aangesloten Android-apparaat. -> Meer informatie: . +> Sommige subcommando's zoals `shell` hebben hun eigen documentatie. +> Meer informatie: . - Controleer of het adb serverproces draait en start het: @@ -11,11 +12,11 @@ `adb kill-server` -- Start een afstandshell voor de doelemulator of apparaatinstantie: +- Start een remote shell voor de doel-emulator of apparaat-instantie: `adb shell` -- Stuur een Android-applicatie naar de emulator/het apparaat. +- Stuur een Android-applicatie naar de emulator/het apparaat: `adb install -r {{pad/naar/bestand.apk}}` @@ -27,6 +28,10 @@ `adb push {{pad/naar/lokaal/bestand_of_map}} {{pad/naar/extern/bestand_of_map}}` -- Krijg een lijst met aangesloten apparaten: +- Toon alle aangesloten apparaten: `adb devices` + +- Specificeer naar welk apparaat de opdrachten verzonden dienen te worden als er meerdere apparaten zijn: + +`adb -s {{apparaat_ID}} {{shell}}` diff --git a/pages.nl/common/adguardhome.md b/pages.nl/common/adguardhome.md new file mode 100644 index 00000000000000..c0f9a295ca95d7 --- /dev/null +++ b/pages.nl/common/adguardhome.md @@ -0,0 +1,32 @@ +# AdGuardHome + +> Netwerkbrede software voor het blokkeren van advertenties en tracking. +> Meer informatie: . + +- Voer AdGuard Home uit: + +`AdGuardHome` + +- Voer AdGuard Home uit met een specifieke configuratie: + +`AdGuardHome --config {{pad/naar/AdGuardHome.yaml}}` + +- Stel de werkmap in waarin gegevens moeten worden opgeslagen: + +`AdGuardHome --work-dir {{pad/naar/map}}` + +- Installeer of verwijder AdGuard Home als een service: + +`AdGuardHome --service {{install|uninstall}}` + +- Start de AdGuard Home-service: + +`AdGuardHome --service start` + +- Laad de configuratie voor de AdGuard Home-service opnieuw: + +`AdGuardHome --service reload` + +- Stop of herstart de AdGuard Home-service: + +`AdGuardHome --service {{stop|restart}}` diff --git a/pages.nl/common/adscript.md b/pages.nl/common/adscript.md new file mode 100644 index 00000000000000..82dcf5d92695b0 --- /dev/null +++ b/pages.nl/common/adscript.md @@ -0,0 +1,20 @@ +# adscript + +> Compiler voor Adscript-bestanden. +> Meer informatie: . + +- Compileer een bestand naar een objectbestand: + +`adscript --output {{pad/naar/bestand.o}} {{pad/naar/invoer_bestand.adscript}}` + +- Compileer en koppel een bestand aan een zelfstandig uitvoerbaar bestand: + +`adscript --executable --output {{pad/naar/bestand}} {{pad/naar/invoer_bestand.adscript}}` + +- Compileer een bestand naar LLVM IR in plaats van native machinecode: + +`adscript --llvm-ir --output {{pad/naar/bestand.ll}} {{pad/naar/invoer_bestand.adscript}}` + +- Cross-compileer een bestand naar een objectbestand voor een buitenlandse CPU-architectuur of besturingssysteem: + +`adscript --target-triple {{i386-linux-elf}} --output {{pad/naar/bestand.o}} {{pad/naar/invoer_bestand.adscript}}` diff --git a/pages.nl/common/afconvert.md b/pages.nl/common/afconvert.md new file mode 100644 index 00000000000000..fcbe6b01212592 --- /dev/null +++ b/pages.nl/common/afconvert.md @@ -0,0 +1,12 @@ +# afconvert + +> Converteren tussen AFF en onbewerkte bestandsindelingen. +> Meer informatie: . + +- Gebruik een specifieke extensie (standaard: `aff`): + +`afconvert -a {{verlenging}} {{pad/naar/invoer_bestand}} {{pad/naar/uitvoer_bestand1 pad/naar/uitvoer_bestand2 ...}}` + +- Gebruik een specifiek compressieniveau (standaard: `7`): + +`afconvert -X{{0..7}} {{pad/naar/invoer_bestand}} {{pad/naar/uitvoer_bestand1 pad/naar/uitvoer_bestand2 ...}}` diff --git a/pages.nl/common/ag.md b/pages.nl/common/ag.md new file mode 100644 index 00000000000000..d5a58fb339e01c --- /dev/null +++ b/pages.nl/common/ag.md @@ -0,0 +1,32 @@ +# ag + +> The Silver Searcher. Zoals `ack`, maar wil sneller zijn. +> Meer informatie: . + +- Zoek bestanden die "foo" bevatten en druk de regelovereenkomsten in context af: + +`ag foo` + +- Vind bestanden die "foo" bevatten in een specifieke map: + +`ag foo {{pad/naar/map}}` + +- Vind bestanden die "foo" bevatten, maar vermeld alleen de bestandsnamen: + +`ag {{[-l|--files-with-matches]}} foo` + +- Vind bestanden die "FOO" niet hoofdlettergevoelig bevatten en druk alleen de overeenkomst af in plaats van de hele regel: + +`ag {{[-i|--ignore-case]}} {{[-o|--only-matching]}} FOO` + +- Zoek "foo" in bestanden met een naam die overeenkomt met "bar": + +`ag foo {{[-G|--file-search-regex]}} bar` + +- Vind bestanden waarvan de inhoud overeenkomt met een reguliere expressie: + +`ag '{{^ba(r|z)$}}'` + +- Zoek bestanden met een naam die overeenkomt met "foo": + +`ag {{[-g|--filename-pattern]}} foo` diff --git a/pages.nl/common/agate.md b/pages.nl/common/agate.md new file mode 100644 index 00000000000000..e6a0ca8a0bf064 --- /dev/null +++ b/pages.nl/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> Een eenvoudige server voor het Gemini-netwerkprotocol. +> Meer informatie: . + +- Voer een persoonlijke sleutel en certificaat uit en genereer deze: + +`agate --content {{pad/naar/inhoud}}/ --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{nl-NL}}` + +- Server starten: + +`agate {{pad/naar/bestand}}` + +- Toon de help: + +`agate {{[-h|--help]}}` diff --git a/pages.nl/common/age-keygen.md b/pages.nl/common/age-keygen.md new file mode 100644 index 00000000000000..30b4f1bdc45538 --- /dev/null +++ b/pages.nl/common/age-keygen.md @@ -0,0 +1,13 @@ +# age-keygen + +> Genereer `age` sleutelparen. +> Zie ook: `age` om bestanden te versleutelen/decoderen. +> Meer informatie: . + +- Genereer een sleutelpaar, sla de privésleutel op in een niet-versleuteld bestand en druk de openbare sleutel af naar `stdout`: + +`age-keygen {{[-o|--output]}} {{pad/naar/bestand}}` + +- Converteer een identiteit naar een ontvanger en print de publieke sleutel naar `stdout`: + +`age-keygen -y {{pad/naar/bestand}}` diff --git a/pages.nl/common/age.md b/pages.nl/common/age.md new file mode 100644 index 00000000000000..895dac4e90ef11 --- /dev/null +++ b/pages.nl/common/age.md @@ -0,0 +1,25 @@ +# age + +> Een eenvoudige, moderne en veilige tool voor het versleutelen van bestanden. +> Bekijk `age-keygen` hoe je sleutelparen kan genereren. +> Meer informatie: . + +- Genereer een versleuteld bestand dat kan worden ontsleuteld met een wachtwoordzin: + +`age --passphrase --output {{pad/naar/versleuteld_bestand}} {{pad/naar/niet-versleuteld_bestand}}` + +- Versleutel een bestand met een of meer openbare sleutels die als letterlijke waarden worden ingevoerd (herhaal de `--recipient` flag om meerdere openbare sleutels op te geven): + +`age --recipient {{openbare_sleutel}} --output {{pad/naar/versleuteld_bestand}} {{pad/naar/niet-versleuteld_bestand}}` + +- Versleutel een bestand met een of meer openbare sleutels die zijn opgegeven in het bestand van een ontvanger: + +`age --recipients-file {{pad/naar/ontvangers_bestand}} --output {{pad/naar/versleuteld_bestand}} {{pad/naar/niet-versleuteld_bestand}}` + +- Decodeer een bestand met een wachtwoordzin: + +`age --decrypt --output {{pad/naar/gedecodeerd_bestand}} {{pad/naar/versleuteld_bestand}}` + +- Ontsleutel een bestand met een privésleutelbestand: + +`age --decrypt --identity {{pad/naar/privé_sleutel_bestand}} --output {{pad/naar/gedecodeerd_bestand}} {{pad/naar/versleuteld_bestand}}` diff --git a/pages.nl/common/aircrack-ng.md b/pages.nl/common/aircrack-ng.md new file mode 100644 index 00000000000000..cbd28f2ba68edf --- /dev/null +++ b/pages.nl/common/aircrack-ng.md @@ -0,0 +1,21 @@ +# aircrack-ng + +> Kraak WEP- en WPA/WPA2-sleutels van handshake in vastgelegde pakketten. +> Onderdeel van Aircrack-ng netwerksoftwaresuite. +> Meer informatie: . + +- Kraak sleutel uit opnamebestand met behulp van [w]oordenlijst: + +`aircrack-ng -w {{pad/naar/woordenlijst.txt}} {{pad/naar/pakketbestand.cap}}` + +- Kraak de sleutel met behulp van meerdere CPU-threads uit opnamebestand met behulp van [w]oordenlijst: + +`aircrack-ng -p {{nummer}} -w {{pad/naar/woordenlijst.txt}} {{pad/naar/pakketbestand.cap}}` + +- Kraak de sleutel uit het opnamebestand met behulp van de [w]oordenlijst en de [e]ssid van het toegangspunt: + +`aircrack-ng -w {{pad/naar/woordenlijst.txt}} -e {{essid}} {{pad/naar/pakketbestand.cap}}` + +- Kraak de sleutel uit het opnamebestand met behulp van de [w]oordenlijst en het MAC-adres van het toegangspunt: + +`aircrack-ng -w {{pad/naar/woordenlijst.txt}} --bssid {{mac}} {{pad/naar/pakketbestand.cap}}` diff --git a/pages.nl/common/airdecap-ng.md b/pages.nl/common/airdecap-ng.md new file mode 100644 index 00000000000000..d68299c7f446c3 --- /dev/null +++ b/pages.nl/common/airdecap-ng.md @@ -0,0 +1,25 @@ +# airdecap-ng + +> Decodeer een WEP-, WPA- of WPA2-gecodeerd opnamebestand. +> Onderdeel van Aircrack-ng netwerksoftwaresuite. +> Meer informatie: . + +- Verwijder draadloze headers uit een open netwerkopnamebestand en gebruik het MAC-adres van het toegangspunt om te filteren: + +`airdecap-ng -b {{ap_mac}} {{pad/naar/pakketbestand.cap}}` + +- Decodeer een met WEP gecodeerd opnamebestand met de sleutel in hex-indeling: + +`airdecap-ng -w {{hex_key}} {{pad/naar/pakketbestand.cap}}` + +- Decodeer een met WPA/WPA2 gecodeerd opnamebestand met behulp van de essid en het wachtwoord van het toegangspunt: + +`airdecap-ng -e {{essid}} -p {{wachtwoord}} {{pad/naar/pakketbestand.cap}}` + +- Decodeer een met WPA/WPA2 gecodeerd opnamebestand met behoud van de headers met behulp van de essid en het wachtwoord van het toegangspunt: + +`airdecap-ng -l -e {{essid}} -p {{wachtwoord}} {{pad/naar/pakketbestand.cap}}` + +- Decodeer een met WPA/WPA2 gecodeerd opnamebestand met behulp van de essid en het wachtwoord van het toegangspunt en gebruik het MAC-adres om te filteren: + +`airdecap-ng -b {{ap_mac}} -e {{essid}} -p {{wachtwoord}} {{pad/naar/pakketbestand.cap}}` diff --git a/pages.nl/common/aireplay-ng.md b/pages.nl/common/aireplay-ng.md new file mode 100644 index 00000000000000..baf69b07cafafd --- /dev/null +++ b/pages.nl/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> Injecteer pakketten in een draadloos netwerk. +> Deel van `aircrack-ng`. +> Meer informatie: . + +- Stuur een specifiek aantal losgekoppelde pakketten op basis van het MAC-adres van een toegangspunt, het MAC-adres van een cliënt en een interface: + +`sudo aireplay-ng --deauth {{nummer}} --bssid {{ap_mac}} --dmac {{cliënt_mac}} {{interface}}` diff --git a/pages.nl/common/airmon-ng.md b/pages.nl/common/airmon-ng.md new file mode 100644 index 00000000000000..07be341e90ff7c --- /dev/null +++ b/pages.nl/common/airmon-ng.md @@ -0,0 +1,21 @@ +# airmon-ng + +> Activeer de monitormodus op draadloze netwerkapparaten. +> Deel van `aircrack-ng`. +> Meer informatie: . + +- Maak een lijst van draadloze apparaten en hun statussen: + +`sudo airmon-ng` + +- Schakel de monitormodus in voor een specifiek apparaat: + +`sudo airmon-ng start {{wlan0}}` + +- Dood storende processen die draadloze apparaten gebruiken: + +`sudo airmon-ng check kill` + +- Schakel de monitormodus uit voor een specifieke netwerkinterface: + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.nl/common/airodump-ng.md b/pages.nl/common/airodump-ng.md new file mode 100644 index 00000000000000..e5231367596c0e --- /dev/null +++ b/pages.nl/common/airodump-ng.md @@ -0,0 +1,21 @@ +# airodump-ng + +> Leg pakketten vast en geef informatie over draadloze netwerken weer. +> Deel van `aircrack-ng`. +> Meer informatie: . + +- Leg pakketten vast en geef informatie weer over draadloze netwerken op de 2.4GHz band: + +`sudo airodump-ng {{interface}}` + +- Leg pakketten vast en geef informatie weer over draadloze netwerken op de 5GHz band: + +`sudo airodump-ng {{interface}} --band a` + +- Leg pakketten vast en geef informatie weer over draadloze netwerken op de 2.4GHz en de 5GHz band: + +`sudo airodump-ng {{interface}} --band abg` + +- Leg pakketten vast en geef informatie weer over een draadloos netwerk met het MAC-adres en kanaal, en sla de uitvoer op in een bestand: + +`sudo airodump-ng --channel {{kanaal}} --write {{pad/naar/bestand}} --bssid {{mac}} {{interface}}` diff --git a/pages.nl/common/airpaste.md b/pages.nl/common/airpaste.md new file mode 100644 index 00000000000000..ded98d5ae6268a --- /dev/null +++ b/pages.nl/common/airpaste.md @@ -0,0 +1,24 @@ +# airpaste + +> Deel berichten en bestanden op hetzelfde netwerk met behulp van mDNS. +> Meer informatie: . + +- Wacht op een bericht en geef het weer wanneer het wordt ontvangen: + +`airpaste` + +- Stuur tekst: + +`echo {{tekst}} | airpaste` + +- Stuur een bestand: + +`airpaste < {{pad/naar/bestand}}` + +- Ontvang een bestand: + +`airpaste > {{pad/naar/bestand}}` + +- Maak of word lid van een kanaal: + +`airpaste {{kanaal_naam}}` diff --git a/pages.nl/common/airshare.md b/pages.nl/common/airshare.md new file mode 100644 index 00000000000000..c142be61412d2e --- /dev/null +++ b/pages.nl/common/airshare.md @@ -0,0 +1,28 @@ +# airshare + +> Gegevens overdragen tussen twee machines in een lokaal netwerk. +> Meer informatie: . + +- Bestanden of mappen delen: + +`airshare {{code}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Ontvang een bestand: + +`airshare {{code}}` + +- Host een ontvangende server (gebruik deze om bestanden te kunnen uploaden via de webinterface): + +`airshare --upload {{code}}` + +- Stuur bestanden of mappen naar een ontvangende server: + +`airshare --upload {{code}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Bestanden verzenden waarvan de paden naar het klembord zijn gekopieerd: + +`airshare --file-path {{code}}` + +- Ontvang een bestand en kopieer het naar het klembord: + +`airshare --clip-receive {{code}}` diff --git a/pages.nl/common/ajson.md b/pages.nl/common/ajson.md new file mode 100644 index 00000000000000..2d9521371dfc9c --- /dev/null +++ b/pages.nl/common/ajson.md @@ -0,0 +1,20 @@ +# ajson + +> Voert JSONPath uit op JSON-objecten. +> Meer informatie: . + +- Lees JSON uit een bestand en voer een opgegeven JSONPath-expressie uit: + +`ajson '{{$..json[?(@.path)]}}' {{pad/naar/bestand.json}}` + +- Lees JSON van `stdin` en voer een gespecificeerde JSONPath-expressie uit: + +`cat {{pad/naar/bestand.json}} | ajson '{{$..json[?(@.path)]}}'` + +- Lees JSON van een URL en evalueer een opgegeven JSONPath-expressie: + +`ajson '{{avg($..price)}}' '{{https://example.com/api/}}'` + +- Lees wat eenvoudige JSON en bereken een waarde: + +`echo '{{3}}' | ajson '{{2 * pi * $}}'` diff --git a/pages.nl/common/alacritty.md b/pages.nl/common/alacritty.md new file mode 100644 index 00000000000000..c6b3d7414e749a --- /dev/null +++ b/pages.nl/common/alacritty.md @@ -0,0 +1,28 @@ +# alacritty + +> Cross-platform, GPU-versnelde terminalemulator. +> Meer informatie: . + +- Open een nieuw Alacritty-venster: + +`alacritty` + +- Start de Alacritty daemon (zonder een venster te maken): + +`alacritty --daemon` + +- Maak een nieuw venster met behulp van het reeds lopende Alacritty proces: + +`alacritty msg create-window` + +- Voer in een specifieke map uit (werkt ook met `alacritty msg create-window`): + +`alacritty --working-directory {{pad/naar/map}}` + +- Voer een commando uit in een nieuw Alacritty-venster (werkt ook met `alacritty msg create-window`): + +`alacritty {{[-e|--command]}} {{commando}}` + +- Geef een alternatief configuratiebestand op (standaard ingesteld op `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): + +`alacritty --config-file {{pad/naar/config.toml}}` diff --git a/pages.nl/common/alex.md b/pages.nl/common/alex.md new file mode 100644 index 00000000000000..82f00c83a145e2 --- /dev/null +++ b/pages.nl/common/alex.md @@ -0,0 +1,21 @@ +# alex + +> Een tool die ongevoelig, onattent schrijven opvangt. +> Het helpt je bij het vinden van genderbegunstigende, polariserende, rasgerelateerde, onachtzame religie of andere ongelijke bewoordingen in de tekst. +> Meer informatie: . + +- Analyseer tekst van `stdin`: + +`echo {{Zijn netwerk ziet er goed uit}} | alex --stdin` + +- Analyseer alle bestanden in de huidige map: + +`alex` + +- Analyseer een specifiek bestand: + +`alex {{tekstbestand.md}}` + +- Analyseer alle Markdown-bestanden behalve `voorbeeld.md`: + +`alex *.md !{{voorbeeld.md}}` diff --git a/pages.nl/common/alias.md b/pages.nl/common/alias.md new file mode 100644 index 00000000000000..cf2dc9613d3ac3 --- /dev/null +++ b/pages.nl/common/alias.md @@ -0,0 +1,30 @@ +# alias + +> Maak een alias aan -- Woorden die vervangen worden door commando's. +> Een alias blijft bestaan in de huidige shell sessie, tenzij gedefinieerd in de configuratie van de shell, bijvoorbeeld in `~/.bashrc`. +> Zie ook: `unalias`. +> Meer informatie: . + +- Overzicht alle aliases: + +`alias` + +- Maak een generieke alias aan: + +`alias {{woord}}="{{commando}}"` + +- Laat het gekoppelde commando zien van een gegeven alias: + +`alias {{woord}}` + +- Verwijdert een alias: + +`unalias {{woord}}` + +- Maak van `rm` een interactief commando: + +`alias {{rm}}="{{rm -i}}"` + +- Maak een alias `la` aan als korte schrijfwijze van `ls -a`: + +`alias {{la}}="{{ls -a}}"` diff --git a/pages.nl/common/amass-enum.md b/pages.nl/common/amass-enum.md new file mode 100644 index 00000000000000..4bc8064f0248df --- /dev/null +++ b/pages.nl/common/amass-enum.md @@ -0,0 +1,28 @@ +# amass enum + +> Vind subdomeinen van een domein. +> Meer informatie: . + +- Vind, passief, subdomeinen van een [d]omein: + +`amass enum -d {{domeinnaam}}` + +- Zoek subdomeinen van een [d]omein en verifieer ze actief in een poging de gevonden subdomeinen op te lossen: + +`amass enum -active -d {{domeinnaam}} -p {{80,443,8080}}` + +- Doe een brute force zoekopdracht op een sub[d]omein: + +`amass enum -brute -d {{domeinnaam}}` + +- Sla de resultaten op in een tekstbestand: + +`amass enum -o {{uitvoer_bestand}} -d {{domeinnaam}}` + +- Sla de resultaten op in een database en andere gedetailleerde output naar een map: + +`amass enum -o {{uitvoer_bestand}} -dir {{pad/naar/database_map}} -d {{domeinnaam}}` + +- Toon alle beschikbare databronnen: + +`amass enum -list` diff --git a/pages.nl/common/amass-intel.md b/pages.nl/common/amass-intel.md new file mode 100644 index 00000000000000..6c9cecd4c0b6fb --- /dev/null +++ b/pages.nl/common/amass-intel.md @@ -0,0 +1,32 @@ +# amass intel + +> Verzamel open source informatie over een organisatie, zoals hoofddomeinen en ASN's. +> Meer informatie: . + +- Vind hoofddomeinen in een range van IP adressen: + +`amass intel -addr {{192.168.0.1-254}}` + +- Gebruik actieve verkenningsmethoden: + +`amass intel -active -addr {{192.168.0.1-254}}` + +- Vind hoofddomeinen gerelateerd aan een domein: + +`amass intel -whois -d {{domeinnaam}}` + +- Vind ASN's die bij een [org]anisatie horen: + +`amass intel -org {{organisatienaam}}` + +- Vind hoofddomeinen die bij een bepaald ASN horen: + +`amass intel -asn {{asn}}` + +- Sla de resultaten op in een tekstbestand: + +`amass intel -o {{uitvoer_bestand}} -whois -d {{domeinnaam}}` + +- Toon alle beschikbare databronnen: + +`amass intel -list` diff --git a/pages.nl/common/amass.md b/pages.nl/common/amass.md new file mode 100644 index 00000000000000..5aae7f701ee70f --- /dev/null +++ b/pages.nl/common/amass.md @@ -0,0 +1,21 @@ +# amass + +> Uitgebreide tool voor Attack Surface Mapping en Asset Discovery. +> Sommige subcommando's zoals `intel` hebben hun eigen documentatie. +> Meer informatie: . + +- Voer een Amass subcommando uit: + +`amass {{intel|enum}} {{opties}}` + +- Toon de generieke help pagina: + +`amass -help` + +- Toon de help pagina van een subcommando: + +`amass {{intel|enum}} -help` + +- Toon de huidige versie: + +`amass -version` diff --git a/pages.nl/common/androguard.md b/pages.nl/common/androguard.md new file mode 100644 index 00000000000000..290dd26d95ee1f --- /dev/null +++ b/pages.nl/common/androguard.md @@ -0,0 +1,16 @@ +# androguard + +> Reverse engineering tool voor Android applicaties, geschreven in Python. +> Meer informatie: . + +- Toon Android app manifest: + +`androguard axml {{pad/naar/app.apk}}` + +- Toon app metadata (versie en app ID): + +`androguard apkid {{pad/naar/app.apk}}` + +- Decompileer Java code van een applicatie: + +`androguard decompile {{pad/naar/app.apk}} --output {{pad/naar/map}}` diff --git a/pages.nl/common/ani-cli.md b/pages.nl/common/ani-cli.md new file mode 100644 index 00000000000000..ae985c4b248ceb --- /dev/null +++ b/pages.nl/common/ani-cli.md @@ -0,0 +1,36 @@ +# ani-cli + +> Een cli om door anime te bladeren en deze te bekijken. +> Meer informatie: . + +- Zoek naar anime op naam: + +`ani-cli "{{anime_naam}}"` + +- Download een aflevering: + +`ani-cli {{[-d|--download]}} "{{anime_naam}}"` + +- Download een reeks van afleveringen: + +`ani-cli {{[-d|--download]}} {{[-r|--range]}} "{{1 6}}" "{{anime_naam}}"` + +- Download de gehele serie (een reeks van alle afleveringen): + +`ani-cli {{[-d|--download]}} {{[-r|--range]}} "1 -1" "{{anime_naam}}"` + +- Gebruik VLC als de media player: + +`ani-cli {{[-v|-vlc]}} "{{anime_naam}}"` + +- Bekjk een specifieke aflevering: + +`ani-cli {{[-e|--episode]}} {{afleveringnummer}} "{{anime_naam}}"` + +- Bekijk anime verder uit je geschiedenis: + +`ani-cli {{[-c|--continue]}}` + +- Update `ani-cli`: + +`ani-cli {{[-U|--update]}}` diff --git a/pages.nl/common/anki.md b/pages.nl/common/anki.md new file mode 100644 index 00000000000000..10b41da23cc6db --- /dev/null +++ b/pages.nl/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> Krachtig, intelligent flashcardprogramma. +> Meer informatie: . + +- Start `anki`: + +`anki` + +- Start `anki` met een specifiek profiel: + +`anki -p {{profiel_naam}}` + +- Start `anki` in een specifieke taal: + +`anki -l {{taal}}` + +- Start `anki` vanaf een specifieke map, in plaats van de standaardmap (`~/Anki`): + +`anki -b {{pad/naar/map}}` diff --git a/pages.nl/common/ansible.md b/pages.nl/common/ansible.md new file mode 100644 index 00000000000000..986e2989a80d1b --- /dev/null +++ b/pages.nl/common/ansible.md @@ -0,0 +1,33 @@ +# ansible + +> Beheer een groep van computers op afstand over SSH. (Gebruik het `/etc/ansible/hosts` bestand om nieuwe groepen/hosts toe te voegen). +> Sommige subcommando's zoals `galaxy` hebben hun eigen documentatie. +> Meer informatie: . + +- Toon de hosts die tot een groep behoren: + +`ansible {{groep}} --list-hosts` + +- Ping een groep met hosts, met gebruik van de ping module: + +`ansible {{groep}} {{[-m|--module-name]}} ping` + +- Toon feiten van een groep met hosts, met gebruik van de installatie module: + +`ansible {{groep}} {{[-m|--module-name]}} setup` + +- Voer een commando op een groep met hosts uit. met gebruik van de commando module met argumenten: + +`ansible {{groep}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{mijn_commando}}'` + +- Voer een commando uit met administratieve rechten: + +`ansible {{groep}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{mijn_commando}}'` + +- Voer een commando uit met een aangepast inventaris bestand: + +`ansible {{groep}} {{[-i|--inventory]}} {{inventaris_bestand}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{mijn_commando}}'` + +- Toon de groepen in een inventaris: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.nl/common/ar.md b/pages.nl/common/ar.md new file mode 100644 index 00000000000000..f1fa3d86949a25 --- /dev/null +++ b/pages.nl/common/ar.md @@ -0,0 +1,25 @@ +# ar + +> Maken, aanpassen en uitpakken van Unix archieven. Typisch gebruikt voor statische bibliotheken (`.a`) en Debian pakketten (`.deb`). +> Zie ook: `tar`. +> Meer informatie: . + +- Pak alles uit van een archief: + +`ar x {{pad/naar/bestand.a}}` + +- [t]oon inhoud van een specifiek archief: + +`ar t {{pad/naar/bestand.ar}}` + +- Ve[r]vang of voeg specifieke bestanden toe aan een archief: + +`ar r {{pad/naar/bestand.deb}} {{pad/naar/debian-binary pad/naar/control.tar.gz pad/naar/data.tar.xz ...}}` + +- Voeg een object bestandsindex toe (equivalent aan het gebruik van `ranlib`): + +`ar s {{pad/naar/bestand.a}}` + +- Maak een archief met specifieke bestanden en een begeleidend object bestandsindex: + +`ar rs {{pad/naar/bestand.a}} {{pad/naar/bestand1.o pad/naar/bestand2.o ...}}` diff --git a/pages.nl/common/arch.md b/pages.nl/common/arch.md index f928b381de6083..b3c0263c839f24 100644 --- a/pages.nl/common/arch.md +++ b/pages.nl/common/arch.md @@ -1,7 +1,8 @@ # arch > Geef de naam van de systeemarchitectuur weer. -> Zie ook `uname`. +> Zie ook: `uname`. +> Meer informatie: . - Geef de architectuur van het systeem weer: diff --git a/pages.nl/common/asciinema.md b/pages.nl/common/asciinema.md new file mode 100644 index 00000000000000..e136901ce9b7f2 --- /dev/null +++ b/pages.nl/common/asciinema.md @@ -0,0 +1,37 @@ +# asciinema + +> Neemt op en speelt terminal sessies af en deelt hem optioneel op asciinema.org. +> Zie ook: `terminalizer`. +> Meer informatie: . + +- Associeer de lokale installatie van `asciinema` met het asciinema.org account: + +`asciinema {{[a|auth]}}` + +- Maak een nieuwe opname en sla het op in een lokaal bestand (sluit het af met `` of typ `exit`): + +`asciinema {{[r|record]}} {{pad/naar/opname.cast}}` + +- Speel een terminal opname af vanaf een lokaal bestand: + +`asciinema {{[p|play]}} {{pad/naar/opname.cast}}` + +- Speel een terminal opname af vanaf asciinema.org: + +`asciinema {{[p|play]}} https://asciinema.org/a/{{cast_id}}` + +- Maak een nieuwe opname met een inactieve tijd van maximaal 2,5 seconden: + +`asciinema {{[r|record]}} {{[-i|--idle-time-limit]}} 2.5` + +- Laat de volledige inhoud zien van een lokaal opgeslagen opname: + +`asciinema {{[ca|cat]}} {{pad/naar/opname.cast}}` + +- Sla een lokaal opgeslagen terminal sessie op bij asciinema.org: + +`asciinema {{[u|upload]}} {{pad/naar/opname.cast}}` + +- Stream de huidige terminal op een lokale webpagina: + +`asciinema {{[st|stream]}} --local` diff --git a/pages.nl/common/at.md b/pages.nl/common/at.md new file mode 100644 index 00000000000000..4b966cfd3353d1 --- /dev/null +++ b/pages.nl/common/at.md @@ -0,0 +1,29 @@ +# at + +> Voer commando's één keer uit op een later tijdstip. +> Resultaten worden naar de e-mail van de gebruiker gestuurd. +> Meer informatie: . + +- Maak commando's interactief en voer ze over 5 minuten uit (druk op `` wanneer klaar): + +`at now + 5 minutes` + +- Maak commando's interactief en voer ze uit op een specifiek tijdstip: + +`at {{hh:mm}}` + +- Voer een commando uit vanuit `stdin` om 10:00 uur vandaag: + +`echo "{{commando}}" | at 1000` + +- Voer commando's uit vanuit een opgegeven bestand volgende dinsdag: + +`at -f {{pad/naar/bestand}} 9:30 PM Tue` + +- Toon alle jobs in de wachtrij voor de huidige gebruiker (hetzelfde als `atq`): + +`at -l` + +- Toon een specifieke job: + +`at -c {{job_nummer}}` diff --git a/pages.nl/common/atom.md b/pages.nl/common/atom.md new file mode 100644 index 00000000000000..8733ad3f468a5f --- /dev/null +++ b/pages.nl/common/atom.md @@ -0,0 +1,29 @@ +# atom + +> Een platformonafhankelijke inplugbare tekstbewerker. +> Plugins zijn beheerd door `apm`. +> Meer informatie: . + +- Open een bestand of map: + +`atom {{pad/naar/bestand_of_map}}` + +- Open een bestand of map in een nieuw venster: + +`atom -n {{pad/naar/bestand_of_map}}` + +- Open een bestand of map in een bestaand venster: + +`atom --add {{pad/naar/bestand_of_map}}` + +- Open Atom in veilige modus (laadt geen geïnstalleerde pakketten): + +`atom --safe` + +- Voorkom dat Atom zich vertakt in de achtergrond, en houdt Atom in de terminal: + +`atom --foreground` + +- Wacht op het Atom venster om zich te sluiten voor door te gaan (handig voor Git commit bewerker): + +`atom --wait` diff --git a/pages.nl/common/audit2allow.md b/pages.nl/common/audit2allow.md new file mode 100644 index 00000000000000..f29b80a2ecaa2c --- /dev/null +++ b/pages.nl/common/audit2allow.md @@ -0,0 +1,38 @@ +# audit2allow + +> Scan logs voor berichten over geweigerde machtigingen. +> Genereer een rapport met Type Enforcement (TE) regels die succesvolle bewerkingen mogelijk toestaan. +> Zie ook: `audit2why`. +> Meer informatie: . + +- Toon alle gegenereerde berichten in audit- en berichtlogs: + +`audit2allow {{[-a|--all]}}` + +- Toon alle gegenereerde berichten sinds de laatste keer opstarten: + +`audit2allow {{[-b|--boot]}}` + +- Toon gedetailleerde informatie rondom gegenereerde berichten: + +`audit2allow {{[-e|--explain]}}` + +- Schakel verbose output in: + +`audit2allow {{[-v|--verbose]}}` + +- Gebruik geïnstalleerde macro's om een referentiebeleid te genereren: + +`audit2allow {{[-R|--reference]}}` + +- Geef een beleidsbestand op voor verdere analyse: + +`audit2allow {{[-p|--policy]}} {{pad/naar/beleidsbestand}}` + +- Beperk de analyse tot berichten met een type dat is opgegeven in `regex`: + +`audit2allow {{[-t|--type]}} {{type_regex}}` + +- Toon de help: + +`audit2allow {{[-h|--help]}}` diff --git a/pages.nl/common/audit2why.md b/pages.nl/common/audit2why.md new file mode 100644 index 00000000000000..1f1ff71ff927f3 --- /dev/null +++ b/pages.nl/common/audit2why.md @@ -0,0 +1,7 @@ +# audit2why + +> Dit commando is een alias van `audit2allow --why`. + +- Bekijk de documentatie van het originele commando: + +`tldr audit2allow` diff --git a/pages.nl/common/autojump.md b/pages.nl/common/autojump.md new file mode 100644 index 00000000000000..e8c057c59df6dd --- /dev/null +++ b/pages.nl/common/autojump.md @@ -0,0 +1,30 @@ +# autojump + +> Spring snel tussen de mappen die je het meest bezoekt. +> Aliassen zoals `j` of `jc` zijn beschikbaar voor nog minder typen. +> Zie ook: `bashmarks`. +> Meer informatie: . + +- Voeg de `autojump` aliassen toe aan je shell: + +`source /usr/share/autojump/autojump.{{bash|fish|zsh}}` + +- Spring naar een map die het gegeven patroon bevat: + +`j {{patroon}}` + +- Spring naar een submap (kind) van de huidige map die het gegeven patroon bevat: + +`jc {{pattern}}` + +- Open een map met het gegeven patroon in de bestandsbeheerder van het besturingssysteem: + +`jo {{pattern}}` + +- Verwijder niet-bestaande mappen uit de `autojump` database: + +`j --purge` + +- Toon de items in de `autojump` database: + +`j {{[-s|--stat]}}` diff --git a/pages.nl/common/autopep8.md b/pages.nl/common/autopep8.md new file mode 100644 index 00000000000000..c5315f97fb732f --- /dev/null +++ b/pages.nl/common/autopep8.md @@ -0,0 +1,20 @@ +# autopep8 + +> Formatteer Python-code conform de PEP 8-stijlgids. +> Meer informatie: . + +- Formateer een bestand naar `stdout`, met een ingestelde maximale toegestane regellengte: + +`autopep8 {{pad/naar/bestand.py}} --max-line-length {{lengte}}` + +- Formateer een bestand, geef een diff weer met de wijzigingen: + +`autopep8 --diff {{pad/naar/bestand.py}}` + +- Formatteer het bestand en sla de wijzigingen op: + +`autopep8 --in-place {{pad/naar/bestand.py}}` + +- Formatteer de bestanden recursief in een map en sla deze wijzigingen op: + +`autopep8 --in-place --recursive {{pad/naar/map}}` diff --git a/pages.nl/common/awk.md b/pages.nl/common/awk.md new file mode 100644 index 00000000000000..50d9528c9ca3a2 --- /dev/null +++ b/pages.nl/common/awk.md @@ -0,0 +1,36 @@ +# awk + +> Een veelzijdige programmeertaal voor het werken met bestanden. +> Meer informatie: . + +- Toon de vijfde kolom (a.k.a. veld) in een spatie-gescheiden bestand: + +`awk '{print $5}' {{pad/naar/bestand}}` + +- Toon de tweede kolom van de regels die "foo" bevatten in een spatie-gescheiden bestand: + +`awk '/{{foo}}/ {print $2}' {{pad/naar/bestand}}` + +- Toon de laatste kolom van iedere regel in een bestand en maak gebruik van een komma (in plaats van een spatie) als veld scheider: + +`awk -F ',' '{print $NF}' {{pad/naar/bestand}}` + +- Tel de waarden in de eerste kolom van een bestand op en toon het totaal: + +`awk '{s+=$1} END {print s}' {{pad/naar/bestand}}` + +- Toon iedere derde regel startend vanaf de eerste regel: + +`awk 'NR%3==1' {{pad/naar/bestand}}` + +- Toon verschillende waardes gebaseerd op condities: + +`awk '{if ($1 == "foo") print "Exact match foo"; else if ($1 ~ "bar") print "Partial match bar"; else print "Baz"}' {{pad/naar/bestand}}` + +- Toon alle regels waarbij de waarde van de 10e kolom gelijk is aan de gespecificeerde waarde: + +`awk '($10 == {{value}})'` + +- Print een tabel van gebruikers met UID >= 1000 met header en opgemaakte uitvoer, gebruikmakend van een dubbele punt als scheidingsteken (`%-20s` betekent: 20 links uitgelijnde tekens, `%6s` betekent: 6 rechts uitgelijnde tekens): + +`awk 'BEGIN {FS=":"; printf "%-20s %6s %25s\n", "Name", "UID", "Shell"} $3 >= 1000 {printf "%-20s %6d %25s\n", $1, $3, $7}' /etc/passwd` diff --git a/pages.nl/common/az.md b/pages.nl/common/az.md new file mode 100644 index 00000000000000..ca8495c09cf526 --- /dev/null +++ b/pages.nl/common/az.md @@ -0,0 +1,37 @@ +# az + +> De officiële CLI tool voor Microsoft Azure. +> Sommige subcommando's zoals `login` hebben hun eigen documentatie. +> Meer informatie: . + +- Log in bij Azure: + +`az login` + +- Beheer azure abonnementsgegevens: + +`az account` + +- Toon alle Azure Managed Disks: + +`az disk list` + +- Toon alle Azure virtual machines: + +`az vm list` + +- Beheer Azure Kubernetes Services: + +`az aks` + +- Beheer Azure Network resources: + +`az network` + +- Start in interactieve modus: + +`az interactive` + +- Toon de help: + +`az --help` diff --git a/pages.nl/common/azure-cli.md b/pages.nl/common/azure-cli.md new file mode 100644 index 00000000000000..f7808a22c383bb --- /dev/null +++ b/pages.nl/common/azure-cli.md @@ -0,0 +1,7 @@ +# azure-cli + +> Dit commando is een alias van `az`. + +- Bekijk de documentatie van het originele commando: + +`tldr az` diff --git a/pages.nl/common/b2sum.md b/pages.nl/common/b2sum.md new file mode 100644 index 00000000000000..a79e730ea3f0e8 --- /dev/null +++ b/pages.nl/common/b2sum.md @@ -0,0 +1,32 @@ +# b2sum + +> Bereken BLAKE2 cryptografische checksums. +> Meer informatie: . + +- Bereken de BLAKE2 checksum voor een of meerdere bestanden: + +`b2sum {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Bereken en sla de lijst van BLAKE2 checksums op in een bestand: + +`b2sum {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/bestand.b2}}` + +- Bereken de BLAKE2 checksum voor `stdin`: + +`{{commando}} | b2sum` + +- Lees een bestand van BLAKE2 sums en bestandsnamen en verifieer dat alle bestanden overeenkomende checksums hebben: + +`b2sum {{[-c|--check]}} {{pad/naar/bestand.b2}}` + +- Toon alleen een melding voor missende bestanden of als verificatie faalt: + +`b2sum {{[-c|--check]}} --quiet {{pad/naar/bestand.b2}}` + +- Toon alleen een melding als een verificatie faalt en negeer missende bestanden: + +`b2sum --ignore-missing {{[-c|--check]}} --quiet {{pad/naar/bestand.b2}}` + +- Controleer een bekende BLAKE2 checksum van een bestand: + +`echo {{bekende_blake2_checksum_van_het_bestand}} {{pad/naar/bestand}} | b2sum {{[-c|--check]}}` diff --git a/pages.nl/common/base32.md b/pages.nl/common/base32.md new file mode 100644 index 00000000000000..7992cfa1e5602d --- /dev/null +++ b/pages.nl/common/base32.md @@ -0,0 +1,24 @@ +# base32 + +> Encodeer of decodeer een bestand of `stdin` van/naar Base32 naar `stdout`. +> Meer informatie: . + +- Encodeer een bestand: + +`base32 {{pad/naar/bestand}}` + +- Zet gecodeerde uitvoer naar een specifieke breedte (`0` schakelt het uit): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{pad/naar/bestand}}` + +- Decodeer een bestand: + +`base32 {{[-d|--decode]}} {{pad/naar/bestand}}` + +- Encodeer `stdin`: + +`{{commando}} | base32` + +- Decodeer `stdin`: + +`{{commando}} | base32 {{[-d|--decode]}}` diff --git a/pages.nl/common/base64.md b/pages.nl/common/base64.md index fc652453023473..b4593b17704144 100644 --- a/pages.nl/common/base64.md +++ b/pages.nl/common/base64.md @@ -1,19 +1,24 @@ # base64 -> Codeer of decodeer bestand of standaardinvoer van/naar Base64 naar standaarduitvoer. +> Encodeer of decodeer een bestand of `stdin` van/naar Base64 naar `stdout`. +> Meer informatie: . -- Codeer een bestand: +- Encodeer een bestand: -`base64 {{bestandsnaam}}` +`base64 {{pad/naar/bestand}}` + +- Zet gecodeerde uitvoer naar een specifieke breedte (`0` schakelt het uit): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{pad/naar/bestand}}` - Decodeer een bestand: -`base64 -d {{bestandsnaam}}` +`base64 {{[-d|--decode]}} {{pad/naar/bestand}}` -- Codeer `stdin`: +- Encodeer `stdin`: -`{{eencommando}} | base64` +`{{commando}} | base64` - Decodeer `stdin`: -`{{eencommando}} | base64 -d` +`{{commando}} | base64 {{[-d|--decode]}}` diff --git a/pages.nl/common/basename.md b/pages.nl/common/basename.md new file mode 100644 index 00000000000000..ab037a34fd8f64 --- /dev/null +++ b/pages.nl/common/basename.md @@ -0,0 +1,16 @@ +# basename + +> Verwijder voorlopende map delen van een pad. +> Meer informatie: . + +- Toon alleen de bestandsnaam van een pad: + +`basename {{pad/naar/bestand}}` + +- Toon alleen de meest rechtse map naam van een pad: + +`basename {{pad/naar/map/}}` + +- Toon alleen de bestandsnaam van een pad met een suffix verwijderd: + +`basename {{pad/naar/bestand}} {{suffix}}` diff --git a/pages.nl/common/basenc.md b/pages.nl/common/basenc.md new file mode 100644 index 00000000000000..a0f6b668e797ba --- /dev/null +++ b/pages.nl/common/basenc.md @@ -0,0 +1,20 @@ +# basenc + +> Encodeer of decodeer een bestand of `stdin` door gebruik te maken van een specifieke encoding naar `stdout`. +> Meer informatie: . + +- Encodeer een bestand met base64 encoding: + +`basenc --base64 {{pad/naar/bestand}}` + +- Decodeer een bestand met base64 encoding: + +`basenc {{[-d|--decode]}} --base64 {{pad/naar/bestand}}` + +- Encodeer `stdin` met base32 encoding met 42 kolommen: + +`{{commando}} | basenc --base32 {{[-w|--wrap]}} 42` + +- Encodeer `stdin` met base32 encoding: + +`{{commando}} | basenc --base32` diff --git a/pages.nl/common/bash.md b/pages.nl/common/bash.md index b13f3ac742ec62..0c0601c0f2f039 100644 --- a/pages.nl/common/bash.md +++ b/pages.nl/common/bash.md @@ -1,33 +1,37 @@ # bash -> Bourne-Again SHell. -> `sh`-ondersteunende commandoregel-interpreteerder. -> Meer informatie: . +> Bourne-Again SHell, `sh`-ondersteunende commandoregel-interpreteerder. +> Zie ook: `zsh`, `histexpand` (history expansion). +> Meer informatie: . -- Start interactieve shell: +- Start een interactieve shell sessie: `bash` -- Voer een commando uit: +- Start een interactieve shell sessie zonder het laden van startup configuratie: -`bash -c "{{commando}}"` +`bash --norc` + +- Voer een [c]ommando uit: + +`bash -c "{{echo 'bash is executed'}}"` - Voer commando's van bestand uit: -`bash {{bestand.sh}}` +`bash {{pad/naar/script.sh}}` - Voer commando's van bestand uit, en print alle uitgevoerde commando's naar de terminal: -`bash -x {{bestand.sh}}` +`bash -x {{pad/naar/script.sh}}` - Voer commando's van bestand uit, en stop bij de eerste fout: -`bash -e {{bestand.sh}}` +`bash -e {{pad/naar/script.sh}}` -- Voer commando's van stdin uit: +- Voer commando's van `stdin` uit: -`bash -s` +`{{echo "echo 'bash is executed'"}} | bash` -- Print de versieinformatie van bash (gebruik `echo $BASH_VERSION` om alleen de versie te krijgen zonder licentie): +- Start een beperkte shell sessie: -`bash --version` +`bash -r` diff --git a/pages.nl/common/bat.md b/pages.nl/common/bat.md new file mode 100644 index 00000000000000..6d3d763f157352 --- /dev/null +++ b/pages.nl/common/bat.md @@ -0,0 +1,37 @@ +# bat + +> Bestanden tonen en samenvoegen. +> Een `cat` kopie met syntax highlighting en Git integratie. +> Meer informatie: . + +- Toon de inhoud van een of meerdere bestanden in `stdout`: + +`bat {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Voeg verschillende bestanden samen in het doelbestand: + +`bat {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/doelbestand}}` + +- Verwijder decoraties en schakel paging uit (`--style plain` kan vervangen worden met `-p` of beide opties met `-pp`): + +`bat --style plain --pager never {{pad/naar/bestand}}` + +- Highlight een specifieke regel of een reeks van regels met een andere achtergrondkleur: + +`bat {{[-H|--highlight-line]}} {{10|5:10|:10|10:|10:+5}} {{pad/naar/bestand}}` + +- Toon niet-printbare karakters zoals spatie, tab of witregel: + +`bat {{[-A|--show-all]}} {{pad/naar/bestand}}` + +- Nummer alle uitvoerregels: + +`bat {{[-n|--number]}} {{pad/naar/bestand}}` + +- Highlight de syntax van een JSON-bestand: + +`bat {{[-l|--language]}} json {{pad/naar/bestand.json}}` + +- Toon alle ondersteunde talen: + +`bat {{[-L|--list-languages]}}` diff --git a/pages.nl/common/batch.md b/pages.nl/common/batch.md new file mode 100644 index 00000000000000..f4f21afa2c2078 --- /dev/null +++ b/pages.nl/common/batch.md @@ -0,0 +1,14 @@ +# batch + +> Voer commando's uit op een later tijdstip wanneer de systeembelasting het toelaat. +> Resultaten worden verzonden naar de e-mail van de gebruiker. +> Zie ook: `at`, `atq`, `atrm` `mail`. +> Meer informatie: . + +- Voer commando's uit vanaf `stdin` (druk op `` om te stoppen): + +`batch` + +- Voer een commando uit vanaf `stdin`: + +`echo "{{./make_db_backup.sh}}" | batch` diff --git a/pages.nl/common/bc.md b/pages.nl/common/bc.md new file mode 100644 index 00000000000000..2f41e999b80fc6 --- /dev/null +++ b/pages.nl/common/bc.md @@ -0,0 +1,33 @@ +# bc + +> Een rekenmachinetaal met willekeurige precisie. +> Zie ook: `dc`, `qalc`. +> Meer informatie: . + +- Start een interactieve sessie: + +`bc` + +- Start een interactieve sessie met de standaard wiskundige bibliotheek ingeschakeld: + +`bc {{[-i|--interactive]}} {{[-l|--mathlib]}}` + +- Bereken een uitdrukking: + +`echo '{{5 / 3}}' | bc` + +- Voer een script uit: + +`bc {{pad/naar/script.bc}}` + +- Bereken een uitdrukking met de gespecificeerde schaal: + +`echo 'scale = {{10}}; {{5 / 3}}' | bc` + +- Bereken een sinus/cosinus/arctangens/natuurlijke logaritme/exponentiële functie met behulp van `mathlib`: + +`echo '{{s|c|a|l|e}}({{1}})' | bc {{[-l|--mathlib]}}` + +- Voer een inline faculteitsscript uit: + +`echo "define factorial(n) { if (n <= 1) return 1; return n*factorial(n-1); }; factorial({{10}})" | bc` diff --git a/pages.nl/common/bird.md b/pages.nl/common/bird.md new file mode 100644 index 00000000000000..47af6a924b6a78 --- /dev/null +++ b/pages.nl/common/bird.md @@ -0,0 +1,13 @@ +# bird + +> BIRD Internet Routing Daemon. +> Routingdaemon met ondersteuning voor BGP, OSPF, Babel en anderen. +> Meer informatie: . + +- Start Bird met een specifiek configuratiebestand: + +`bird -c {{pad/naar/bird.conf}}` + +- Start Bird als een specifieke gebruiker en groep: + +`bird -u {{gebruikersnaam}} -g {{groep}}` diff --git a/pages.nl/common/bmptopnm.md b/pages.nl/common/bmptopnm.md new file mode 100644 index 00000000000000..30ec90a63d0e2f --- /dev/null +++ b/pages.nl/common/bmptopnm.md @@ -0,0 +1,16 @@ +# bmptopnm + +> Converteer een BMP bestand naar een PBM, PGM of PNM afbeelding. +> Meer informatie: . + +- Genereer de PBM, PGM of PNM afbeelding als output, vanuit een Windows of OS/2 BMP afbeelding als input: + +`bmptopnm {{pad/naar/bestand.bmp}}` + +- Rapporteer de inhoud van een BMP header naar `stderr`: + +`bmptopnm {{[-verb|-verbose]}} {{pad/naar/bestand.bmp}}` + +- Toon de versie: + +`bmptopnm {{[-v|-version]}}` diff --git a/pages.nl/common/bmptoppm.md b/pages.nl/common/bmptoppm.md new file mode 100644 index 00000000000000..6127ae32b14157 --- /dev/null +++ b/pages.nl/common/bmptoppm.md @@ -0,0 +1,8 @@ +# bmptoppm + +> Dit commando is vervangen door `bmptopnm`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr bmptopnm` diff --git a/pages.nl/common/brave.md b/pages.nl/common/brave.md new file mode 100644 index 00000000000000..0562886f5f11e8 --- /dev/null +++ b/pages.nl/common/brave.md @@ -0,0 +1,8 @@ +# brave + +> Dit commando is een alias van `chromium`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr chromium` diff --git a/pages.nl/common/brew-remove.md b/pages.nl/common/brew-remove.md new file mode 100644 index 00000000000000..32133419ba7db8 --- /dev/null +++ b/pages.nl/common/brew-remove.md @@ -0,0 +1,7 @@ +# brew remove + +> Dit commando is een alias van `brew uninstall`. + +- Bekijk de documentatie van het originele commando: + +`tldr brew uninstall` diff --git a/pages.nl/common/brew-rm.md b/pages.nl/common/brew-rm.md new file mode 100644 index 00000000000000..12393a74853e19 --- /dev/null +++ b/pages.nl/common/brew-rm.md @@ -0,0 +1,7 @@ +# brew rm + +> Dit commando is een alias van `brew uninstall`. + +- Bekijk de documentatie van het originele commando: + +`tldr brew uninstall` diff --git a/pages.nl/common/brew-uninstall.md b/pages.nl/common/brew-uninstall.md new file mode 100644 index 00000000000000..7237f26ca893d7 --- /dev/null +++ b/pages.nl/common/brew-uninstall.md @@ -0,0 +1,13 @@ +# brew uninstall + +> Verwijder een Homebrew-formula/cask. +> Gebruik `brew autoremove` om ongebruikte afhankelijkheden achteraf te verwijderen. +> Meer informatie: . + +- Verwijder een formula/cask: + +`brew {{[rm|uninstall]}} {{formula|cask}}` + +- Verwijder een cask en verwijder alle bijbehorende bestanden: + +`brew {{[rm|uninstall]}} --zap {{cask}}` diff --git a/pages.nl/common/bundle.md b/pages.nl/common/bundle.md new file mode 100644 index 00000000000000..65cce9c0114edb --- /dev/null +++ b/pages.nl/common/bundle.md @@ -0,0 +1,36 @@ +# bundle + +> Dependency manager voor de Ruby programmeertaal. +> Meer informatie: . + +- Installeer alle gems gedefineerd in de `Gemfile`, welke verwacht word in de huidige map: + +`bundle install` + +- Voer een commando uit in de context van de huidige bundle: + +`bundle exec {{commando}} {{argumenten}}` + +- Update alle gems volgens de regels gedefineerd in de `Gemfile` en regenereer de `Gemfile.lock`: + +`bundle update` + +- Update een of meerdere specifieke gem(s) gedefineerd in de `Gemfile`: + +`bundle update {{gem_naam1}} {{gem_naam2}}` + +- Update een of meerdere specifieke gem(s) gedefineerd in de `Gemfile` maar alleen naar de volgende patch versie: + +`bundle update --patch {{gem_naam1}} {{gem_naam2}}` + +- Update alle gems binnen de gegeven groep in de `Gemfile`: + +`bundle update --group {{development}}` + +- Toon de geïnstalleerde gems in de `Gemfile` welke nieuwere versies beschikbaar hebben: + +`bundle outdated` + +- Maak een nieuw gem skelet: + +`bundle gem {{gem_naam}}` diff --git a/pages.nl/common/bundler.md b/pages.nl/common/bundler.md new file mode 100644 index 00000000000000..d6cdcf18feb9e9 --- /dev/null +++ b/pages.nl/common/bundler.md @@ -0,0 +1,9 @@ +# bundler + +> Dit commando is een alias van `bundle`. +> `bundler` is een gebruikelijke naam voor het commando `bundle`, maar niet een commando op zichzelf. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr bundle` diff --git a/pages.nl/common/bunzip2.md b/pages.nl/common/bunzip2.md new file mode 100644 index 00000000000000..1115d6c54b0291 --- /dev/null +++ b/pages.nl/common/bunzip2.md @@ -0,0 +1,7 @@ +# bunzip2 + +> Dit commando is een alias van `bzip2 --decompress`. + +- Bekijk de documentatie van het originele commando: + +`tldr bzip2` diff --git a/pages.nl/common/bzcat.md b/pages.nl/common/bzcat.md new file mode 100644 index 00000000000000..6de0c50b58526e --- /dev/null +++ b/pages.nl/common/bzcat.md @@ -0,0 +1,7 @@ +# bzcat + +> Dit commando is een alias van `bzip2 --decompress --stdout`. + +- Bekijk de documentatie van het originele commando: + +`tldr bzip2` diff --git a/pages.nl/common/bzip2.md b/pages.nl/common/bzip2.md new file mode 100644 index 00000000000000..690cd0482ca6be --- /dev/null +++ b/pages.nl/common/bzip2.md @@ -0,0 +1,33 @@ +# bzip2 + +> Een blok-sorteer bestandscompressor. +> Zie ook: `bzcat`, `bunzip2`, `bzip2recover`. +> Meer informatie: . + +- Comprimeer een bestand: + +`bzip2 {{pad/naar/bestand_te_comprimeren}}` + +- Decomprimeer een bestand: + +`bzip2 {{[-d|--decompress]}} {{pad/naar/gecomprimeerd_bestand.bz2}}` + +- Decomprimeer een bestand naar `stdout`: + +`bzip2 {{[-dc|--decompress --stdout]}} {{pad/naar/gecomprimeerd_bestand.bz2}}` + +- Test de integriteit van elk bestand in het archiefbestand: + +`bzip2 {{[-t|--test]}} {{pad/naar/gecomprimeerd_bestand.bz2}}` + +- Toon de compressieverhouding voor elk verwerkt bestand met gedetailleerde informatie: + +`bzip2 {{[-v|--verbose]}} {{pad/naar/gecomprimeerd_bestand.bz2}}` + +- Decomprimeer een bestand en overschrijf bestaande bestanden: + +`bzip2 {{[-f|--force]}} {{pad/naar/gecomprimeerd_bestanden.bz2}}` + +- Toon de help: + +`bzip2 {{[-h|--help]}}` diff --git a/pages.nl/common/cabal.md b/pages.nl/common/cabal.md new file mode 100644 index 00000000000000..a9295bc73c9554 --- /dev/null +++ b/pages.nl/common/cabal.md @@ -0,0 +1,29 @@ +# cabal + +> Interface voor de Haskell-pakketinfrastructuur (Cabal). +> Beheer Haskell-projecten en Cabal-pakketten van de Hackage-pakketrepository. +> Meer informatie: . + +- Zoek en toon pakketten van Hackage: + +`cabal list {{zoekstring}}` + +- Toon informatie over een pakket: + +`cabal info {{pakket}}` + +- Download en installeer een pakket: + +`cabal install {{pakket}}` + +- Maak een nieuwe Haskell-project in de huidige map: + +`cabal init` + +- Bouw het project in de huidige map: + +`cabal build` + +- Voer tests van het project in de huidige map uit: + +`cabal test` diff --git a/pages.nl/common/cal.md b/pages.nl/common/cal.md new file mode 100644 index 00000000000000..d0e54f5fa60410 --- /dev/null +++ b/pages.nl/common/cal.md @@ -0,0 +1,17 @@ +# cal + +> Toon een kalender met de huidige dag gemarkeerd. +> Zie ook: `gcal`. +> Meer informatie: . + +- Toon een kalender voor de huidige maand: + +`cal` + +- Toon een kalender voor een specifiek jaar: + +`cal {{jaar}}` + +- Toon een kalender voor een specifieke maand en jaar: + +`cal {{maand}} {{jaar}}` diff --git a/pages.nl/common/cargo-run.md b/pages.nl/common/cargo-run.md new file mode 100644 index 00000000000000..f4251e9232e093 --- /dev/null +++ b/pages.nl/common/cargo-run.md @@ -0,0 +1,33 @@ +# cargo run + +> Voer het huidige Cargo-pakket uit. +> Opmerking: de werkmap van de uitgevoerde binary wordt ingesteld op de huidige werkmap. +> Meer informatie: . + +- Voer de standaard binary uit: + +`cargo {{[r|run]}}` + +- Voer de opgegeven binary uit: + +`cargo {{[r|run]}} --bin {{naam}}` + +- Voer het opgegeven voorbeeld uit: + +`cargo {{[r|run]}} --example {{naam}}` + +- Activeer een door spaties of komma's gescheiden lijst met features: + +`cargo {{[r|run]}} {{[-F|--features]}} "{{feature1 feature2 ...}}"` + +- Schakel de standaardfeatures uit: + +`cargo {{[r|run]}} --no-default-features` + +- Activeer alle beschikbare features: + +`cargo {{[r|run]}} --all-features` + +- Voer uit met het opgegeven profiel: + +`cargo {{[r|run]}} --profile {{naam}}` diff --git a/pages.nl/common/cargo.md b/pages.nl/common/cargo.md index f77be83e00f75b..b19805be672dc7 100644 --- a/pages.nl/common/cargo.md +++ b/pages.nl/common/cargo.md @@ -1,8 +1,8 @@ # cargo -> Rust pakketbeheerder. > Beheer Rust projecten en hun afhankelijkheden (crates). -> Meer informatie: . +> Sommige subcommando's zoals `build` hebben een eigen documentatie pagina. +> Meer informatie: . - Zoek naar crates: @@ -16,18 +16,22 @@ `cargo install --list` -- Maak een nieuwe Rust-binary (bin) of -bibliotheek (lib) in de huidige map: +- Maak een nieuwe Rust-binary (bin) of -bibliotheek (lib) in de gegeven map. (Standaard is de huidige map): -`cargo init --{{bin|lib}}` +`cargo init --{{bin|lib}} {{pad/naar/map}}` -- Maak een nieuwe Rust-binary (bin) of -bibliotheek (lib) in de gegeven map: +- Voeg een afhankelijkheid toe aan `Cargo.toml` in de huidge map: -`cargo new {{pad/naar/map}} --{{bin|lib}}` +`cargo add {{afhankelijkheid}}` -- Bouw het Rust-project in de huidige map: +- Bouw het Rust-project in de huidige map door gebruik te maken van het release-profiel: -`cargo build` +`cargo {{[b|build]}} {{[-r|--release]}}` + +- Bouw het Rust-project in de huidige map door gebruik te maken van de nachtelijkse compiler (vereist `rustup`): + +`cargo +nightly {{[b|build]}}` - Bouw met een gegeven aantal taken. (Standaard is het aantal CPU-kernen): -`cargo build -j {{taken}}` +`cargo {{[b|build]}} --jobs {{aantal_taken}}` diff --git a/pages.nl/common/cat.md b/pages.nl/common/cat.md new file mode 100644 index 00000000000000..865de82dce48e1 --- /dev/null +++ b/pages.nl/common/cat.md @@ -0,0 +1,24 @@ +# cat + +> Toon en voeg bestanden samen. +> Meer informatie: . + +- Toon de inhoud van een bestand in `stdout`: + +`cat {{pad/naar/bestand}}` + +- Voeg verschillende bestanden samen in een uitvoerbestand: + +`cat {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/uitvoerbestand}}` + +- Voeg verschillende bestanden toe aan een uitvoerbestand: + +`cat {{pad/naar/bestand1 pad/naar/bestand2 ...}} >> {{pad/naar/uitvoerbestand}}` + +- Kopieer de inhoud van een bestand in een uitvoerbestand zonder te bufferen: + +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` + +- Schrijf `stdin` naar een bestand: + +`cat - > {{pad/naar/bestand}}` diff --git a/pages.nl/common/cd.md b/pages.nl/common/cd.md index cbe72d968be02b..28a375ab56365c 100644 --- a/pages.nl/common/cd.md +++ b/pages.nl/common/cd.md @@ -1,19 +1,28 @@ # cd > Verander de huidige map. +> Meer informatie: . - Ga naar de gegeven map: `cd {{pad/naar/map}}` +- Ga naar de ouder van de huidge map: + +`cd ..` + - Ga naar de thuismap van de huidige gebruiker: `cd` -- Ga naar de ouder van de huidige map: +- Ga naar de thuismap van de opgegeven gebruiker: -`cd ..` +`cd ~{{gebruikersnaam}}` - Ga naar de vorige map: `cd -` + +- Ga naar de hoofdmap: + +`cd /` diff --git a/pages.nl/common/certutil.md b/pages.nl/common/certutil.md new file mode 100644 index 00000000000000..1cf0d92f692cff --- /dev/null +++ b/pages.nl/common/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> Beheer sleutels en certificaten in zowel NSS-databases als andere NSS-tokens. +> Meer informatie: . + +- Maak een [N]ieuwe certificaatdatabase aan in de huidige [d]irectory: + +`certutil -N -d .` + +- Toon alle certificaten in een database: + +`certutil -L -d .` + +- Toon alle private [S]leutels in een database door het wachtwoord[b]estand te specificeren: + +`certutil -K -d . -f {{pad/naar/wachtwoord_bestand.txt}}` + +- [V]oeg het ondertekende certificaat toe aan de database van de aanvrager door een [b]ijnaam, [v]ertrouwensattributen en een [i]nvoer-CRT-bestand te specificeren: + +`certutil -A -n "{{server_certificaat}}" -t ",," -i {{pad/naar/bestand.crt}} -d .` + +- Voeg subject alternative names toe aan een [c]ertificaat met een specifieke sleutelgrootte ([g]): + +`certutil -S -f {{pad/naar/wachtwoordbestand.txt}} -d . -t ",," -c "{{server_certificaat}}" -n "{{server_naam}}" -g {{2048}} -s "CN={{common_name}},O={{organisatie}}"` diff --git a/pages.nl/common/chgrp.md b/pages.nl/common/chgrp.md index 7a06930cd16967..9525cba9a1eccf 100644 --- a/pages.nl/common/chgrp.md +++ b/pages.nl/common/chgrp.md @@ -1,6 +1,7 @@ # chgrp > Verander beheerdersgroep van bestanden en mappen. +> Meer informatie: . - Verander beheerdergroep van een bestand of map: @@ -8,12 +9,12 @@ - Verander recursief de beheerdersgroep van een map en alle bestanden erin: -`chgrp -R {{groep}} {{pad/naar/map}}` +`chgrp {{[-R|--recursive]}} {{groep}} {{pad/naar/map}}` - Verander beheerdersgroep van een symbolische link: -`chgrp -h {{groep}} {{pad/naar/symlink}}` +`chgrp {{[-h|--no-dereference]}} {{groep}} {{pad/naar/symlink}}` - Verander de beheerdersgroep van een bestand/map naar de permissies van een referentiebestand: -`chgrp --reference={{pad/naar/referentiebestand}} {{pad/naar/bestand_of_map}}` +`chgrp --reference {{pad/naar/referentiebestand}} {{pad/naar/bestand_of_map}}` diff --git a/pages.nl/common/chmod.md b/pages.nl/common/chmod.md index 28f45e2b6d6214..de3e2eea75b73a 100644 --- a/pages.nl/common/chmod.md +++ b/pages.nl/common/chmod.md @@ -1,31 +1,36 @@ # chmod > Verander de toegangstoestemmingen van een bestand of map. +> Meer informatie: . -- Geef een gebruiker ([u]ser) die het bestand beheert het recht om deze uit te voeren (e[x]ecute). +- Geef een gebruiker ([u]ser) die het bestand beheert het recht om deze uit te voeren (e[x]ecute): -`chmod u+x {{bestand}}` +`chmod u+x {{pad/naar/bestand}}` - Geef de gebruiker ([u]ser) het recht om een bestand of map te lezen ([r]ead) en schrijven ([w]rite): -`chmod u+rw {{bestand_of_map}}` +`chmod u+rw {{pad/naar/bestand_of_map}}` - Haal uitvoertoestemming (e[x]ecute) voor een bestand weg van de [g]roep: -`chmod g-x {{bestand}}` +`chmod g-x {{pad/naar/bestand}}` - Geef [a]lle gebruikers toegang om een bestand te lezen ([r]ead) en schrijven ([w]rite): -`chmod a+rx {{bestand}}` +`chmod a+rx {{pad/naar/bestand}}` - Geef anderen ([o]thers) die niet in de groep van de beheerder zitten, dezelfde rechten als de [g]roep: -`chmod o=g {{bestand}}` +`chmod o=g {{pad/naar/bestand}}` - Haal alle rechten van de anderen ([o]thers) weg: -`chmod o= {{bestand}}` +`chmod o= {{pad/naar/bestand}}` - Verander de toestemmingen recursief, waarbij de [g]roep en anderen ([o]thers) de mogelijkheid tot schrijven ([w]rite) krijgen: -`chmod -R g+w,o+w {{map}}` +`chmod {{[-R|--recursive]}} g+w,o+w {{map}}` + +- Geef recursief alle gebruikers ([a]ll users) toegang om bestanden te lezen ([r]ead) en uitvoertoestemming (e[X]ecute) voor alle onderliggende mappen in een map: + +`chmod {{[-R|--recursive]}} a+rX {{pad/naar/map}}` diff --git a/pages.nl/common/chown.md b/pages.nl/common/chown.md index 49277f265e0520..f1ef5eed6c313d 100644 --- a/pages.nl/common/chown.md +++ b/pages.nl/common/chown.md @@ -1,6 +1,7 @@ # chown > Verander gebruiker- en groepsbeheer van bestanden en mappen. +> Meer informatie: . - Verander gebruikkersbeheerder van een bestand/map: @@ -10,14 +11,18 @@ `chown {{gebruiker}}:{{groep}} {{pad/naar/bestand_of_map}}` +- Verander de gebruikersbeheerder en -groep zodat beiden de naam `user` krijgen: + +`chown {{user}}: {{pad/naar/bestand_of_map}}` + - Verander recursief de beheerder van een map en alle inhoud: -`chown -R {{gebruiker}} {{pad/naar/bestand_of_map}}` +`chown {{[-R|--recursive]}} {{gebruiker}} {{pad/naar/bestand_of_map}}` - Verander de gebruiker van een symbolische link: -`chown -h {{gebruiker}} {{pad/naar/symlink}}` +`chown {{[-h|--no-dereference]}} {{gebruiker}} {{pad/naar/symlink}}` -- Verander de beheerder van een bestand of map naar dezelfde als een referentiebestand. +- Verander de beheerder van een bestand of map naar dezelfde als een referentiebestand: -`chown --reference={{pad/naar/referentiebestand}} {{pad/naar/bestand_of_map}}` +`chown --reference {{pad/naar/referentiebestand}} {{pad/naar/bestand_of_map}}` diff --git a/pages.nl/common/chromium.md b/pages.nl/common/chromium.md new file mode 100644 index 00000000000000..0668f12aaeb686 --- /dev/null +++ b/pages.nl/common/chromium.md @@ -0,0 +1,36 @@ +# chromium + +> Open-source webbrowser voornamelijk ontwikkeld en onderhouden door Google. +> Meer informatie: . + +- Open een specifieke URL of bestand: + +`chromium {{https://example.com|pad/naar/bestand.html}}` + +- Open in de incognito-modus: + +`chromium --incognito {{example.com}}` + +- Open in een nieuw venster: + +`chromium --new-window {{example.com}}` + +- Open in de applicatiemodus (zonder toolbars, URL-balk, knoppen, etc.): + +`chromium --app={{https://example.com}}` + +- Gebruik een proxyserver: + +`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Open met een aangepaste profielmap: + +`chromium --user-data-dir={{pad/naar/map}}` + +- Open zonder CORS validatie (nuttig om een API te testen): + +`chromium --user-data-dir={{pad/naar/map}} --disable-web-security` + +- Open met een DevTools venster voor elk geopend tabblad: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.nl/common/chroot.md b/pages.nl/common/chroot.md index dc114bfbb39694..231912d018a48e 100644 --- a/pages.nl/common/chroot.md +++ b/pages.nl/common/chroot.md @@ -1,11 +1,12 @@ # chroot -> Voer commando of interactieve shell uit met een speciale hoofdmap. +> Voer een commando of interactieve shell uit met een speciale hoofdmap. +> Meer informatie: . -- Voer commando uit met gegeven hoofdmap: +- Voer het commando uit als nieuwe hoofdmap: -`chroot {{pad/naar/nieuwe/hoofdmap}} {{commando}}` +`sudo chroot {{pad/naar/nieuwe/hoofdmap}} {{commando}}` -- Specificeer gebruiker en groep (ID of naam) om te gebruiken: +- Gebruik een specifieke gebruiker en groep: -`chroot --userspec={{gebruiker:groep}}` +`sudo chroot --userspec {{gebruikersnaam_of_id:groep_naam_of_id}}` diff --git a/pages.nl/common/chsh.md b/pages.nl/common/chsh.md deleted file mode 100644 index 5befc915ca3697..00000000000000 --- a/pages.nl/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> Wijzig de login-shell van de gebruiker. - -- Wijzig shell: - -`chsh -s {{pad/naar/shell_binary}} {{gebruikersnaam}}` diff --git a/pages.nl/common/cksum.md b/pages.nl/common/cksum.md new file mode 100644 index 00000000000000..1a6baddb9f23c0 --- /dev/null +++ b/pages.nl/common/cksum.md @@ -0,0 +1,9 @@ +# cksum + +> Bereken de CRC checksums en het aantal bytes van een bestand. +> Let op: op oudere UNIX systemen kan de CRC implementatie verschillen. +> Meer informatie: . + +- Toon een 32-bit checksum, grootte in bytes en bestandsnaam: + +`cksum {{pad/naar/bestand}}` diff --git a/pages.nl/common/clamav.md b/pages.nl/common/clamav.md new file mode 100644 index 00000000000000..b9a8a470a44da1 --- /dev/null +++ b/pages.nl/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> Open-source anti-virus programma. +> ClamAV is geen commando, maar een set van commando's. +> Meer informatie: . + +- Toon de tldr pagina om bestanden te scannen door gebruik te maken van de `clamd` daemon: + +`tldr clamdscan` + +- Toon de tldr pagina om bestanden te scannen zonder gebruik te maken van de `clamd` daemon: + +`tldr clamscan` + +- Toon de tldr pagina om de virus definities te updaten: + +`tldr freshclam` diff --git a/pages.nl/common/clamdscan.md b/pages.nl/common/clamdscan.md new file mode 100644 index 00000000000000..a45b44597f47a2 --- /dev/null +++ b/pages.nl/common/clamdscan.md @@ -0,0 +1,36 @@ +# clamdscan + +> Een command-line virus scanner die gebruik maakt van de ClamAV Daemon. +> Meer informatie: . + +- Scan een bestand of map op kwetsbaarheden: + +`clamdscan {{pad/naar/bestand_of_map}}` + +- Scan data van `stdin`: + +`{{commando}} | clamdscan -` + +- Scan de huidige map en toon alleen geïnfecteerde bestanden: + +`clamdscan --infected` + +- Sla het scan rapport op in een log bestand: + +`clamdscan --log {{pad/naar/log_bestand}}` + +- Verplaats geïnfecteerde bestanden naar een specifieke map: + +`clamdscan --move {{pad/naar/quarantaine_map}}` + +- Verwijder geïnfecteerde bestanden: + +`clamdscan --remove` + +- Gebruik meerdere threads voor het scannen van een map: + +`clamdscan --multiscan` + +- Geef de bestandsdescriptor door in plaats van het bestand naar de daemon: + +`clamdscan --fdpass` diff --git a/pages.nl/common/clamscan.md b/pages.nl/common/clamscan.md new file mode 100644 index 00000000000000..0ef82cd6bcfaab --- /dev/null +++ b/pages.nl/common/clamscan.md @@ -0,0 +1,36 @@ +# clamscan + +> Een command-line virus scanner. +> Meer informatie: . + +- Scan een bestand op kwetsbaarheden: + +`clamscan {{pad/naar/bestand}}` + +- Scan alle bestanden recursief in een specifieke map: + +`clamscan {{[-r|--recursive]}} {{pad/naar/map}}` + +- Scan data van `stdin`: + +`{{commando}} | clamscan -` + +- Specificeer een virus database bestand of map van bestanden: + +`clamscan {{[-d|--database]}} {{pad/naar/database_bestand_of_map}}` + +- Scan de huidige map en toon alleen geïnfecteerde bestanden: + +`clamscan {{[-i|--infected]}}` + +- Sla het scan rapport op in een log bestand: + +`clamscan {{[-l|--log]}} {{pad/naar/log_bestand}}` + +- Verplaats geïnfecteerde bestanden naar een specifieke map: + +`clamscan --move {{pad/naar/quarantine_map}}` + +- Verwijder geïnfecteerde bestanden: + +`clamscan --remove yes` diff --git a/pages.nl/common/clang++.md b/pages.nl/common/clang++.md new file mode 100644 index 00000000000000..c89edd83bddbea --- /dev/null +++ b/pages.nl/common/clang++.md @@ -0,0 +1,37 @@ +# clang++ + +> Compileert C++ bronbestanden. +> Onderdeel van of LLVM. +> Meer informatie: . + +- Compileer broncodebestand(en) naar een uitvoerbaar binair bestand: + +`clang++ {{pad/naar/bron1.cpp pad/naar/bron2.cpp ...}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon (bijna) alle fouten en waarschuwingen: + +`clang++ {{pad/naar/bron.cpp}} -Wall {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon veelvoorkomende waarschuwingen, debug-symbolen in de uitvoer, en optimaliseer zonder debugging te beïnvloeden: + +`clang++ {{pad/naar/bron.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Kies een taalstandaard om mee te compileren: + +`clang++ {{pad/naar/bron.cpp}} -std={{c++20}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Voeg bibliotheken toe die zich op een ander pad bevinden dan het bronbestand: + +`clang++ {{pad/naar/bron.cpp}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}} -I{{pad/naar/header_pad}} -L{{pad/naar/bibliotheek_pad}} -l{{pad/naar/bibliotheek_naam}}` + +- Compileer broncode naar LLVM Intermediate Representation (IR): + +`clang++ {{[-S|--assemble]}} -emit-llvm {{pad/naar/bron.cpp}} {{[-o|--output]}} {{pad/naar/uitvoer.ll}}` + +- Optimaliseer het gecompileerde programma voor prestaties: + +`clang++ {{pad/naar/bron.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon de versie: + +`clang++ --version` diff --git a/pages.nl/common/clang-cpp.md b/pages.nl/common/clang-cpp.md new file mode 100644 index 00000000000000..3557267c318e68 --- /dev/null +++ b/pages.nl/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Dit commando is een alias van `clang++`. + +- Bekijk de documentatie van het originele commando: + +`tldr clang++` diff --git a/pages.nl/common/clang.md b/pages.nl/common/clang.md new file mode 100644 index 00000000000000..509e2e078d68fc --- /dev/null +++ b/pages.nl/common/clang.md @@ -0,0 +1,37 @@ +# clang + +> Compileer C, C++, en Objective-C bronbestanden. Kan gebruikt worden als een vervanger van GCC. +> Onderdeel van LLVM. +> Meer informatie: . + +- Compileer broncodebestand(en) naar een uitvoerbaar binair bestand: + +`clang {{pad/naar/bron1.c pad/naar/bron2.c ...}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon (bijna) alle fouten en waarschuwingen: + +`clang {{pad/naar/bron.c}} -Wall {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon veelvoorkomende waarschuwingen, debug-symbolen in de uitvoer, en optimaliseer zonder debugging te beïnvloeden: + +`clang {{pad/naar/bron.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Voeg bibliotheken toe die zich op een ander pad bevinden dan het bronbestand: + +`clang {{pad/naar/bron.c}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}} -I{{pad/naar/header}} -L{{pad/naar/bibliotheek}} -l{{bibliotheek_naam}}` + +- Compileer broncode naar LLVM Intermediate Representation (IR): + +`clang {{[-S|--assemble]}} -emit-llvm {{pad/naar/bron.c}} {{[-o|--output]}} {{pad/naar/uitvoer.ll}}` + +- Compileer broncode zonder deze te linken: + +`clang {{[-c|--compile]}} {{pad/naar/bron.c}}` + +- Optimaliseer het gecompileerde programma voor prestaties: + +`clang {{pad/naar/bron.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon de versie: + +`clang --version` diff --git a/pages.nl/common/clear.md b/pages.nl/common/clear.md new file mode 100644 index 00000000000000..c26ca07616b32e --- /dev/null +++ b/pages.nl/common/clear.md @@ -0,0 +1,20 @@ +# clear + +> Leegt het scherm van de terminal. +> Meer informatie: . + +- Maak het scherm leeg (gelijk aan het indrukken van `` in de Bash-shell): + +`clear` + +- Maak het scherm leeg maar behoud de scrollbackbuffer van de terminal: + +`clear -x` + +- Geef het type terminal aan dat leeggemaakt moet worden (standaard ingesteld op de waarde van de omgevingsvariabele `TERM`): + +`clear -T {{type_of_terminal}}` + +- Toon de versie van `ncurses` die door `clear` wordt gebruikt: + +`clear -V` diff --git a/pages.nl/common/clj.md b/pages.nl/common/clj.md new file mode 100644 index 00000000000000..90810de7f74e57 --- /dev/null +++ b/pages.nl/common/clj.md @@ -0,0 +1,29 @@ +# clj + +> Clojure tool om een REPL te starten of roep een een specifieke functie aan met data. +> Alle opties kunnen worden gedefinieerd in een `deps.edn` bestand. +> Meer informatie: . + +- Start een REPL (interactieve shell): + +`clj` + +- Voer een functie uit: + +`clj -X {{namespace/functie_naam}}` + +- Voer de voornaamste functie uit van een gespecificeerde namespace: + +`clj -M {{[-m|--main]}} {{namespace}} {{args}}` + +- Bereid een project voor door afhankelijkheden op te lossen, het downloaden van bibliotheken en het maken/cachen van classpaths: + +`clj -P` + +- Start een nREPL server met de CIDER middleware: + +`clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"}}}' {{[-m|--main]}} nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactive` + +- Start een REPL voor ClojureScript en open een web browser: + +`clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.758"}}}' {{[-m|--main]}} cljs.main {{[-r|--repl]}}` diff --git a/pages.nl/common/cloc.md b/pages.nl/common/cloc.md new file mode 100644 index 00000000000000..a983fe46f33134 --- /dev/null +++ b/pages.nl/common/cloc.md @@ -0,0 +1,20 @@ +# cloc + +> Tel het aantal regels code. +> Meer informatie: . + +- Tel alle regels code in een map: + +`cloc {{pad/naar/map}}` + +- Vergelijk twee mapstructuren en tel de verschillen ertussen: + +`cloc --diff {{pad/naar/map1}} {{pad/naar/map2}}` + +- Negeer bestanden die door de VCS worden genegeerd, zoals bestanden die in `.gitignore` staan: + +`cloc --vcs git {{pad/naar/map}}` + +- Toon de resultaten voor elk bestand in plaats van elke taal: + +`cloc --by-file {{pad/naar/map}}` diff --git a/pages.nl/common/clojure.md b/pages.nl/common/clojure.md new file mode 100644 index 00000000000000..adb78203364e08 --- /dev/null +++ b/pages.nl/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Dit commando is een alias van `clj`. + +- Bekijk de documentatie van het originele commando: + +`tldr clj` diff --git a/pages.nl/common/cmake.md b/pages.nl/common/cmake.md new file mode 100644 index 00000000000000..95357c8e3aa507 --- /dev/null +++ b/pages.nl/common/cmake.md @@ -0,0 +1,36 @@ +# cmake + +> Cross-platform bouwautomatiseringssysteem dat recepten genereert voor native bouwsystemen. +> Meer informatie: . + +- Genereer een bouwrecept in de huidige map met `CMakeLists.txt` van een projectmap: + +`cmake {{pad/naar/projectmap}}` + +- Gebruik een gegenereerd recept in een bepaalde map om artefacten te bouwen: + +`cmake --build {{pad/naar/bouwmap}}` + +- Installeer de bouwartefacten in `/usr/local/` en verwijder debug-symbolen: + +`cmake --install {{pad/naar/bouwmap}} --strip` + +- Genereer een bouwrecept met bouwtype ingesteld naar `Release` met CMake-variabele: + +`cmake {{pad/naar/projectmap}} -D CMAKE_BUILD_TYPE=Release` + +- Genereer een bouwrecept met `generator_naam` als onderliggend bouwsysteem: + +`cmake -G {{generator_naam}} {{pad/naar/projectmap}}` + +- Installeer de bouwartefacten met een aangepaste voorvoegsel voor paden: + +`cmake --install {{pad/naar/bouwmap}} --strip --prefix {{pad/naar/map}}` + +- Voer een aangepaste bouwdoel uit: + +`cmake --build {{pad/naar/bouwmap}} {{[-t|--target]}} {{doelnaam}}` + +- Toon de help: + +`cmake {{[-h|--help]}}` diff --git a/pages.nl/common/cmp.md b/pages.nl/common/cmp.md new file mode 100644 index 00000000000000..d68c4ccd4c4870 --- /dev/null +++ b/pages.nl/common/cmp.md @@ -0,0 +1,20 @@ +# cmp + +> Vergelijk twee bestanden byte voor byte. +> Meer informatie: . + +- Toon karakter en regelnummer van het eerste verschil tussen twee bestanden: + +`cmp {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Toon info van het eerste verschil: karakter, regelnummer, bytes en waardes: + +`cmp {{[-b|--print-bytes]}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Toon de byte nummers en waardes van ieder verschil: + +`cmp {{[-l|--verbose]}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Vergelijk bestanden, maar toon niets, pak alleen de exit status: + +`cmp {{[-s|--quiet]}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}` diff --git a/pages.nl/common/cola.md b/pages.nl/common/cola.md new file mode 100644 index 00000000000000..8da623064c7f12 --- /dev/null +++ b/pages.nl/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Dit commando is een alias van `git-cola`. + +- Bekijk de documentatie van het originele commando: + +`tldr git-cola` diff --git a/pages.nl/common/comm.md b/pages.nl/common/comm.md new file mode 100644 index 00000000000000..a1855e94688d20 --- /dev/null +++ b/pages.nl/common/comm.md @@ -0,0 +1,24 @@ +# comm + +> Toon overeenkomstige regels tussen twee bestanden. Beide bestanden dienen gesorteerd te zijn. +> Meer informatie: . + +- Produceer drie tab-gescheiden kolommen: regels die alleen voorkomen in het eerste bestand, regels die alleen voorkomen in het tweede bestand en overeenkomstige regels tussen beide bestanden: + +`comm {{bestand1}} {{bestand2}}` + +- Toon alleen overeenkomstige regels van beide bestanden: + +`comm -12 {{bestand1}} {{bestand2}}` + +- Toon alleen de overeenkomstige regels van beide bestanden en lees een bestand vanaf `stdin`: + +`cat {{bestand1}} | comm -12 - {{bestand2}}` + +- Sla regels die alleen in het eerste bestand worden gevonden op in een derde bestand: + +`comm -23 {{bestand1}} {{bestand2}} > {{alleen_bestand1}}` + +- Toon de regels welke alleen in het tweede bestand gevonden worden, als de bestanden niet gesorteerd zijn: + +`comm -13 <(sort {{bestand1}}) <(sort {{bestand2}})` diff --git a/pages.nl/common/comma.md b/pages.nl/common/comma.md new file mode 100644 index 00000000000000..dd6ae5e44c0617 --- /dev/null +++ b/pages.nl/common/comma.md @@ -0,0 +1,7 @@ +# comma + +> Dit commando is een alias van `,`. + +- Bekijk de documentatie van het originele commando: + +`tldr ,` diff --git a/pages.nl/common/compare.md b/pages.nl/common/compare.md new file mode 100644 index 00000000000000..aec28648e3d251 --- /dev/null +++ b/pages.nl/common/compare.md @@ -0,0 +1,7 @@ +# compare + +> Dit commando is een alias van `magick compare`. + +- Bekijk de documentatie van het originele commando: + +`tldr magick compare` diff --git a/pages.nl/common/conda.md b/pages.nl/common/conda.md new file mode 100644 index 00000000000000..8878c0f610b48e --- /dev/null +++ b/pages.nl/common/conda.md @@ -0,0 +1,37 @@ +# conda + +> Pakket-, afhankelijkheids- en omgevingsbeheer voor alle programmeertalen. +> Sommige subcommando's zoals `create` hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Maak een nieuwe omgeving aan en installeer hierin benoemde pakketten: + +`conda create {{[-n|--name]}} {{omgevingsnaam}} {{python=3.9 matplotlib}}` + +- Toon alle omgevingen: + +`conda info {{[-e|--envs]}}` + +- Activeer een omgeving: + +`conda activate {{omgevingsnaam}}` + +- Deactiveer een omgeving: + +`conda deactivate` + +- Verwijder een omgeving (verwijder alle pakketten): + +`conda remove {{[-n|--name]}} {{omgevingsnaam}} --all` + +- Installeer pakketten in de huidige omgeving: + +`conda install {{python=3.4 numpy}}` + +- Toon geïnstalleerde pakketten in de huidige omgeving: + +`conda list` + +- Verwijder ongebruikte pakketten en caches: + +`conda clean {{[-a|--all]}}` diff --git a/pages.nl/common/convert.md b/pages.nl/common/convert.md new file mode 100644 index 00000000000000..5e4c83c20e6910 --- /dev/null +++ b/pages.nl/common/convert.md @@ -0,0 +1,9 @@ +# convert + +> Dit commando is een alias van `magick convert`. +> Let op: deze alias is verouderd sinds ImageMagick 7. Het is vervangen door `magick`. +> Gebruik `magick convert` als je de oude tool wilt gebruiken in versies 7+. + +- Bekijk de documentatie van het originele commando: + +`tldr magick convert` diff --git a/pages.nl/common/copr-cli.md b/pages.nl/common/copr-cli.md new file mode 100644 index 00000000000000..eed60572a366de --- /dev/null +++ b/pages.nl/common/copr-cli.md @@ -0,0 +1,20 @@ +# copr-cli + +> Interface met Fedora-projecten copr instantie voor het bouwen van RPM's en het publiceren ervan. +> Meer informatie: . + +- Toon de gebruiker ingelogd in copr: + +`copr-cli whoami` + +- Bouw een lokaal spec-bestand op copr: + +`copr-cli build {{repository}} {{pad/naar/spec_bestand}}` + +- Controleer de status van de builds: + +`copr-cli list-builds {{repository}}` + +- Trigger een copr build van een spec-bestand vanuit een publieke (Git) repository:repository: + +`copr-cli buildscm {{repository}} --clone-url {{https://git.example.org/repo}} --spec {{spec_bestandsnaam}}` diff --git a/pages.nl/common/copr.md b/pages.nl/common/copr.md new file mode 100644 index 00000000000000..aa475b691bec3c --- /dev/null +++ b/pages.nl/common/copr.md @@ -0,0 +1,7 @@ +# copr + +> Dit commando is een alias van `copr-cli`. + +- Bekijk de documentatie van het originele commando: + +`tldr copr-cli` diff --git a/pages.nl/common/coproc.md b/pages.nl/common/coproc.md new file mode 100644 index 00000000000000..5057de33095d11 --- /dev/null +++ b/pages.nl/common/coproc.md @@ -0,0 +1,32 @@ +# coproc + +> Bash ingebouwd commando voor het maken van interactieve asynchrone subshells. +> Meer informatie: . + +- Voer een subshell asynchroon uit: + +`coproc { {{commando1; commando2; ...}}; }` + +- Maak een coprocess met een specifieke naam: + +`coproc {{naam}} { {{commando1; commando2; ...}}; }` + +- Schrijf naar de `stdin` van een specifiek coprocess: + +`echo "{{invoer}}" >&"${{{naam[1]}}}"` + +- Lees van de `stdout` van een specifiek coprocess: + +`read {{variabele}} <&"${{{naam[0]}}}"` + +- Maak een coprocess dat herhaaldelijk `stdin` leest en opdrachten op de invoer uitvoert: + +`coproc {{naam}} { while read {{regel}}; do {{commando1; commando2; ...}}; done }` + +- Maak een coprocess dat herhaaldelijk `stdin` leest, voert een pipeline uit op de input en schrijf de output naar `stdout`: + +`coproc {{naam}} { while read {{regel}}; do {{echo "$regel"}} | {{commando1 | commando2 | ...}} | cat /dev/fd/0; done }` + +- Maak en gebruik een coprocess dat `bc` uitvoert: + +`coproc BC { bc --mathlib; }; echo "1/3" >&"${BC[1]}"; read output <&"${BC[0]}"; echo "$output"` diff --git a/pages.nl/common/cp.md b/pages.nl/common/cp.md new file mode 100644 index 00000000000000..4292a53d7cf25f --- /dev/null +++ b/pages.nl/common/cp.md @@ -0,0 +1,36 @@ +# cp + +> Kopieer bestanden en directories. +> Meer informatie: . + +- Kopieer een bestand naar een andere locatie: + +`cp {{pad/naar/bronbestand.ext}} {{pad/naar/doelbestand.ext}}` + +- Kopieer een bestand naar een andere directory, met behoud van de bestandsnaam: + +`cp {{pad/naar/bronbestand.ext}} {{pad/naar/doelmap}}` + +- Kopieer de inhoud van een directory recursief naar een andere locatie (als de bestemming bestaat, wordt de directory erin gekopieerd): + +`cp {{[-r|--recursive]}} {{pad/naar/bronmap}} {{pad/naar/doelmap}}` + +- Kopieer een directory recursief, in verbose modus (toont bestanden terwijl ze worden gekopieerd): + +`cp {{[-vr|--verbose --recursive]}} {{pad/naar/bronmap}} {{pad/naar/doelmap}}` + +- Kopieer meerdere bestanden tegelijk naar een directory: + +`cp {{[-t|--target-directory]}} {{pad/naar/doelmap}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Kopieer alle bestanden met een specifieke extensie naar een andere locatie, in interactieve modus (vraagt de gebruiker om bevestiging voordat overschrijven plaatsvindt): + +`cp {{[-i|--interactive]}} {{*.ext}} {{pad/naar/doelmap}}` + +- Volg symbolische links voordat je kopieert: + +`cp {{[-L|--dereference]}} {{link}} {{pad/naar/doelmap}}` + +- Gebruik het volledige pad van bronbestanden, maak eventuele missende tussenliggende mappen aan tijdens het kopiëren: + +`cp --parents {{bron/pad/naar/bestand}} {{pad/naar/doel_bestand}}` diff --git a/pages.nl/common/crane-append.md b/pages.nl/common/crane-append.md new file mode 100644 index 00000000000000..de433db4e4d9e4 --- /dev/null +++ b/pages.nl/common/crane-append.md @@ -0,0 +1,33 @@ +# crane append + +> Push een image gebaseerd op een (optionele) basisimage. +> Voegt lagen toe met de inhoud van de opgegeven tarballs. +> Meer informatie: . + +- Push een image gebaseerd op een basisimage: + +`crane append {{[-b|--base]}} {{image_naam}}` + +- Push een image met een toegevoegde laag vanuit een tarball: + +`crane append {{[-f|--new_layer]}} {{layer_naam1 layer_naam2 ...}}` + +- Push een image met een toegevoegde laag met een nieuwe tag: + +`crane append {{[-t|--new_tag]}} {{tag_naam}}` + +- Push de resulterende image naar een nieuwe tarball: + +`crane append {{[-o|--output]}} {{pad/naar/tarball}}` + +- Gebruik een lege basisimage van het type OCI-media in plaats van Docker: + +`crane append --oci-empty-base` + +- Annoteer de resulterende image als gebaseerd op de basisimage: + +`crane append --set-base-image-annotations` + +- Toon de help: + +`crane append {{[-h|--help]}}` diff --git a/pages.nl/common/crane-auth.md b/pages.nl/common/crane-auth.md new file mode 100644 index 00000000000000..4860bef9cce27c --- /dev/null +++ b/pages.nl/common/crane-auth.md @@ -0,0 +1,28 @@ +# crane auth + +> Log in of verkrijg inloggegevens. +> Meer informatie: . + +- Voer het `crane auth` subcommando uit: + +`crane auth {{subcommando}}` + +- Implementeer credential helper: + +`crane auth get {{registry_adres}} {{[-h|--help]}}` + +- Log in bij een registry: + +`crane auth login {{registry_adres}} {{[-h|--help]}} {{[-p|--password]}} {{wachtwoord}} {{-password-stdin}} {{[-u|--username]}} {{gebruikersnaam}}` + +- Log uit bij een registry: + +`crane auth logout {{registry_adres}} {{[-h|--help]}}` + +- Verkrijg een token voor een remote repository: + +`crane auth token {{registry_adres}} {{[-H|--header]}} {{[-h|--help]}} {{[-m|--mount]}} {{scope1 scope2 ...}} --push` + +- Toon de help: + +`crane auth {{[-h|--help]}}` diff --git a/pages.nl/common/crane-blob.md b/pages.nl/common/crane-blob.md new file mode 100644 index 00000000000000..31b22f46419f0e --- /dev/null +++ b/pages.nl/common/crane-blob.md @@ -0,0 +1,12 @@ +# crane blob + +> Lees een blob uit een registry. +> Meer informatie: . + +- Lees de blob uit een registry: + +`crane blob {{blob_identifier}}` + +- Toon de help: + +`crane blob {{[-h|--help]}}` diff --git a/pages.nl/common/crane-catalog.md b/pages.nl/common/crane-catalog.md new file mode 100644 index 00000000000000..7d6747f8244e8e --- /dev/null +++ b/pages.nl/common/crane-catalog.md @@ -0,0 +1,16 @@ +# crane catalog + +> Toon de repositories in een registry. +> Meer informatie: . + +- Toon de repositories in een registry: + +`crane catalog {{registry_adres}}` + +- Print de volledige image-referentie: + +`crane catalog {{registry_adres}} --full-ref` + +- Toon de help: + +`crane catalog {{[-h|--help]}}` diff --git a/pages.nl/common/crane-config.md b/pages.nl/common/crane-config.md new file mode 100644 index 00000000000000..98ffbde9ee655a --- /dev/null +++ b/pages.nl/common/crane-config.md @@ -0,0 +1,12 @@ +# crane config + +> Verkrijg de configuratie van een image. +> Meer informatie: . + +- Verkrijg de configuratie van een image: + +`crane config {{image_naam}}` + +- Toon de help: + +`crane config {{[-h|--help]}}` diff --git a/pages.nl/common/crane-copy.md b/pages.nl/common/crane-copy.md new file mode 100644 index 00000000000000..3e9c5acc0c9427 --- /dev/null +++ b/pages.nl/common/crane-copy.md @@ -0,0 +1,24 @@ +# crane copy + +> Kopieer efficiënt een remote image van bron naar doel terwijl de digest-waarde behouden blijft. +> Meer informatie: . + +- Kopieer een image van bron naar doel: + +`crane copy {{bron}} {{doel}}` + +- Kopieer alle tags: + +`crane copy {{bron}} {{doel}} {{[-a|--all-tags]}}` + +- Stel het maximum aantal gelijktijdige kopieën in, standaard is GOMAXPROCS: + +`crane copy {{bron}} {{doel}} {{[-j|--jobs]}} {{int}}` + +- Voorkom het overschrijven van bestaande tags in het doel: + +`crane copy {{bron}} {{doel}} {{[-n|--no-clobber]}}` + +- Toon de help: + +`crane copy {{[-h|--help]}}` diff --git a/pages.nl/common/crane-cp.md b/pages.nl/common/crane-cp.md new file mode 100644 index 00000000000000..0e48e5f42c83c2 --- /dev/null +++ b/pages.nl/common/crane-cp.md @@ -0,0 +1,7 @@ +# crane cp + +> Dit commando is een alias van `crane copy`. + +- Bekijk de documentatie van het originele commando: + +`tldr crane copy` diff --git a/pages.nl/common/crane-delete.md b/pages.nl/common/crane-delete.md new file mode 100644 index 00000000000000..0a1378f5550321 --- /dev/null +++ b/pages.nl/common/crane-delete.md @@ -0,0 +1,12 @@ +# crane delete + +> Verwijder een image-referentie uit de registry. +> Meer informatie: . + +- Verwijder een image-referentie uit de registry: + +`crane delete {{image_naam}}` + +- Toon de help: + +`crane delete {{[-h|--help]}}` diff --git a/pages.nl/common/crane-digest.md b/pages.nl/common/crane-digest.md new file mode 100644 index 00000000000000..578d3c496ff544 --- /dev/null +++ b/pages.nl/common/crane-digest.md @@ -0,0 +1,20 @@ +# crane digest + +> Verkrijg de digest van een image. +> Meer informatie: . + +- Verkrijg de digest van een image: + +`crane digest {{image_naam}}` + +- Print de volledige image-referentie op basis van de digest: + +`crane digest {{image_naam}} --full-ref` + +- Specificeer het pad naar de tarball met de image: + +`crane digest {{image_naam}} --tarball {{pad/naar/tarball}}` + +- Toon de help: + +`crane digest {{[-h|--help]}}` diff --git a/pages.nl/common/crane-export.md b/pages.nl/common/crane-export.md new file mode 100644 index 00000000000000..150559f04f5f36 --- /dev/null +++ b/pages.nl/common/crane-export.md @@ -0,0 +1,16 @@ +# crane export + +> Exporteer het bestandssysteem van een containerimage als een tarball. +> Meer informatie: . + +- Schrijf de tarball naar `stdout`: + +`crane export {{image_naam}} -` + +- Schrijf de tarball naar een bestand: + +`crane export {{image_naam}} {{pad/naar/tarball}}` + +- Lees de image vanuit `stdin`: + +`crane export - {{pad/naar/filenaam}}` diff --git a/pages.nl/common/crane-flatten.md b/pages.nl/common/crane-flatten.md new file mode 100644 index 00000000000000..fe43590962cf4c --- /dev/null +++ b/pages.nl/common/crane-flatten.md @@ -0,0 +1,17 @@ +# crane flatten + +> Flatten de lagen van een image tot een enkele laag. +> Push de digest naar de oorspronkelijke image-repository als er geen tags zijn opgegeven. +> Meer informatie: . + +- Flatten een image: + +`crane flatten` + +- Pas een nieuwe tag toe op de geflatteerde image: + +`crane flatten {{[-t|--tag]}} {{tag_naam}}` + +- Toon de help: + +`crane flatten {{[-h|--help]}}` diff --git a/pages.nl/common/crane-index-append.md b/pages.nl/common/crane-index-append.md new file mode 100644 index 00000000000000..8f447f6a1f18c7 --- /dev/null +++ b/pages.nl/common/crane-index-append.md @@ -0,0 +1,30 @@ +# crane index append + +> Voeg een manifest toe aan een remote index. +> Dit subcommando pusht een index op basis van een (optionele) basisindex, met toegevoegde manifests. +> Het platform voor toegevoegde manifests wordt afgeleid van het configuratiebestand of weggelaten als dat niet haalbaar is. +> Meer informatie: . + +- Voeg een manifest toe aan een remote index: + +`crane index append` + +- Verwijs naar manifests om toe te voegen aan de basisindex: + +`crane index append {{[-m|--manifest]}} {{manifest_naam1 manifest_naam2 ...}}` + +- Tag die toegepast moet worden op de resulterende image: + +`crane index append {{[-t|--tag]}} {{tag_naam}}` + +- Lege basisindex heeft Docker-media types in plaats van OCI: + +`crane index append --docker-empty-base` + +- Voeg elk van zijn kinderen toe in plaats van de index zelf (standaard waar): + +`crane index append --flatten` + +- Toon de help: + +`crane index append {{[-h|--help]}}` diff --git a/pages.nl/common/crane-index-filter.md b/pages.nl/common/crane-index-filter.md new file mode 100644 index 00000000000000..2eb04d1b08f40d --- /dev/null +++ b/pages.nl/common/crane-index-filter.md @@ -0,0 +1,20 @@ +# crane index filter + +> Wijzigt een remote index door te filteren op basis van platform. +> Meer informatie: . + +- Wijzig de remote index: + +`crane index filter` + +- Specificeer het platform(en) dat je wilt behouden uit de basis in de vorm os/arch{{/variant}}{{:osversion}}{{,}}: + +`crane index filter --platform {{platform1 platform2 ...}}` + +- Tag die toegepast moet worden op de resulterende image: + +`crane index filter {{[-t|--tags]}} {{tag_naam}}` + +- Toon de help: + +`crane index filter {{[-h|--help]}}` diff --git a/pages.nl/common/crane-index.md b/pages.nl/common/crane-index.md new file mode 100644 index 00000000000000..d110a4d9b38253 --- /dev/null +++ b/pages.nl/common/crane-index.md @@ -0,0 +1,17 @@ +# crane index + +> Wijzig een image-index. +> De subcommando's `append` en `filter` hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Wijzig een image-index: + +`crane index` + +- Wijzig een image-index met subcommando: + +`crane index {{subcommando}}` + +- Toon de help: + +`crane index {{[-h|--help]}}` diff --git a/pages.nl/common/crane-ls.md b/pages.nl/common/crane-ls.md new file mode 100644 index 00000000000000..677c63e40d601b --- /dev/null +++ b/pages.nl/common/crane-ls.md @@ -0,0 +1,20 @@ +# crane ls + +> Toon de tags in een repository. +> Meer informatie: . + +- Toon de tags: + +`crane ls {{repository}}` + +- Print de volledige image-referentie: + +`crane ls {{repository}} --full-ref` + +- Sla digest-tags over: + +`crane ls {{[-o|--omit-digest-tags]}}` + +- Toon de help: + +`crane ls {{[-h|--help]}}` diff --git a/pages.nl/common/crane-manifest.md b/pages.nl/common/crane-manifest.md new file mode 100644 index 00000000000000..3215c6c7722f92 --- /dev/null +++ b/pages.nl/common/crane-manifest.md @@ -0,0 +1,12 @@ +# crane manifest + +> Verkrijg het manifest van een image. +> Meer informatie: . + +- Verkrijg het manifest: + +`crane manifest {{image_naam}}` + +- Toon de help: + +`crane manifest {{[-h|--help]}}` diff --git a/pages.nl/common/crane-mutate.md b/pages.nl/common/crane-mutate.md new file mode 100644 index 00000000000000..4625d702287129 --- /dev/null +++ b/pages.nl/common/crane-mutate.md @@ -0,0 +1,37 @@ +# crane mutate + +> Wijzig image-labels en annotaties. +> De container moet naar een registry worden gepusht, en het manifest wordt daar bijgewerkt. +> Meer informatie: . + +- Nieuwe annotaties om in te stellen (standaard []): + +`crane mutate {{[-a|--annotation]}}/{{[-l|--label]}} {{annotation/label}}` + +- Pad naar tarball/opdracht/entrypoint/omgeving variabele/exposed-ports om aan de image toe te voegen: + +`crane mutate {{--append}}/{{--cmd}}/{{--entrypoint}}/{{[-e|--env]}}/{{--exposed-ports}} {{var1 var2 ...}}` + +- Pad naar nieuwe tarball van de resulterende image: + +`crane mutate {{[-o|--output]}} {{pad/naar/tarball}}` + +- Repository in de vorm os/arch{{/variant}}{{:osversion}}{{,}} om de gewijzigde image te pushen: + +`crane mutate --set-platform {{platform_naam}}` + +- Nieuwe tagreferentie die moet worden toegepast op de gewijzigde image: + +`crane mutate {{[-t|--tag]}} {{tag_naam}}` + +- Nieuwe gebruiker in te stellen: + +`crane mutate {{[-u|--user]}} {{gebruikersnaam}}` + +- Nieuwe werk-map in te stellen: + +`crane mutate {{[-w|--workdir]}} {{pad/naar/werk-map}}` + +- Toon de help: + +`crane mutate {{[-h|--help]}}` diff --git a/pages.nl/common/crane-pull.md b/pages.nl/common/crane-pull.md new file mode 100644 index 00000000000000..98861867409bbf --- /dev/null +++ b/pages.nl/common/crane-pull.md @@ -0,0 +1,24 @@ +# crane pull + +> Haal externe images op via referentie en sla hun inhoud lokaal op. +> Meer informatie: . + +- Haal externe image op: + +`crane pull {{image_naam}} {{pad/naar/tarball}}` + +- Bewaar de image-referentie die is gebruikt om op te halen als een annotatie wanneer gebruikt met --format=oci: + +`crane pull {{image_naam}} {{pad/naar/tarball}} --annotate-ref` + +- Pad naar cache-image-lagen: + +`crane pull {{image_naam}} {{pad/naar/tarball}} {{[-c|--cache_path]}} {{pad/naar/cache}}` + +- Formaat waarin images moeten worden opgeslagen (standaard 'tarball'): + +`crane pull {{image_naam}} {{pad/naar/tarball}} {{-format}} {{format_naam}}` + +- Toon de help: + +`crane pull {{[-h|--help]}}` diff --git a/pages.nl/common/crane-push.md b/pages.nl/common/crane-push.md new file mode 100644 index 00000000000000..2248224ed54e2b --- /dev/null +++ b/pages.nl/common/crane-push.md @@ -0,0 +1,20 @@ +# crane push + +> Stuur lokale image-inhoud naar een externe registry. +> Meer informatie: . + +- Stuur lokale image naar externe registry: + +`crane push {{pad/naar/tarball}} {{image_naam}}` + +- Pad naar bestand met lijst van gepubliceerde image-referenties: + +`crane push {{pad/naar/tarball}} {{image_naam}} --image-refs {{pad/naar/filenaam}}` + +- Stuur een verzameling images als een enkele index (vereist als pad meerdere images heeft): + +`crane push {{pad/naar/tarball}} {{image_naam}} --index` + +- Toon de help: + +`crane push {{[-h|--help]}}` diff --git a/pages.nl/common/crane-rebase.md b/pages.nl/common/crane-rebase.md new file mode 100644 index 00000000000000..a5e0437599933b --- /dev/null +++ b/pages.nl/common/crane-rebase.md @@ -0,0 +1,24 @@ +# crane rebase + +> Rebase een image op een nieuw basisimage. +> Meer informatie: . + +- Rebase image: + +`crane rebase` + +- Nieuwe basisimage om in te voegen: + +`crane rebase --new_base {{image_naam}}` + +- Oude basisimage om te verwijderen: + +`crane rebase --old_base {{image_naam}}` + +- Tag om toe te passen op de gerebaseerde image: + +`crane rebase {{[-t|--tag]}} {{tag_naam}}` + +- Toon de help: + +`crane rebase {{[-h|--help]}}` diff --git a/pages.nl/common/crane-registry.md b/pages.nl/common/crane-registry.md new file mode 100644 index 00000000000000..fc3efcd447c6e5 --- /dev/null +++ b/pages.nl/common/crane-registry.md @@ -0,0 +1,25 @@ +# crane registry + +> Dit commando biedt een registry-implementatie op een automatisch gekozen poort (:0), $PORT of --address. +> Het commando blokkeert terwijl de server pushes en pulls accepteert en de inhoud kan worden opgeslagen in het geheugen en op de schijf. +> Meer informatie: . + +- Dien een registry-implementatie: + +`crane registry serve` + +- Adres om naar te luisteren: + +`crane registry serve --address {{address_naam}}` + +- Pad naar een directory waar blobs worden opgeslagen: + +`crane registry serve --disk {{pad/naar/store_dir}}` + +- Toon de help voor `crane registry`: + +`crane registry {{[-h|--help]}}` + +- Toon de help voor `crane registry serve`: + +`crane registry serve {{[-h|--help]}}` diff --git a/pages.nl/common/crane-tag.md b/pages.nl/common/crane-tag.md new file mode 100644 index 00000000000000..a17281f0a6c12b --- /dev/null +++ b/pages.nl/common/crane-tag.md @@ -0,0 +1,13 @@ +# crane tag + +> Efficiënt taggen van een remote image zonder het te downloaden, wat verschilt van het `copy` commando. +> Het slaat de controles van laagbestaan over omdat we weten dat de manifest al bestaat, wat het iets sneller maakt. +> Meer informatie: . + +- Tag een remote image: + +`crane tag {{image_naam}} {{tag_naam}}` + +- Toon de help: + +`crane tag {{[-h|--help]}}` diff --git a/pages.nl/common/crane-validate.md b/pages.nl/common/crane-validate.md new file mode 100644 index 00000000000000..2dd2077e8a4369 --- /dev/null +++ b/pages.nl/common/crane-validate.md @@ -0,0 +1,24 @@ +# crane validate + +> Valideer of een image goed is gevormd. +> Meer informatie: . + +- Valideer een image: + +`crane validate` + +- Sla het downloaden/digiteren van lagen over: + +`crane validate --fast` + +- Naam van de remote image om te valideren: + +`crane validate --remote {{image_naam}}` + +- Pad naar tarball om te valideren: + +`crane validate --tarball {{pad/naar/tarball}}` + +- Toon de help: + +`crane validate {{[-h|--help]}}` diff --git a/pages.nl/common/crane-version.md b/pages.nl/common/crane-version.md new file mode 100644 index 00000000000000..8c11ec2ba7d43c --- /dev/null +++ b/pages.nl/common/crane-version.md @@ -0,0 +1,13 @@ +# crane version + +> Print de versie van een binary. +> De versiestring is volledig afhankelijk van hoe de binary is gebouwd, dus je moet niet afhankelijk zijn van het versieformaat. Het kan zonder voorafgaande kennisgeving veranderen. +> Meer informatie: . + +- Toon de versie: + +`crane version` + +- Toon de help: + +`crane version {{[-h|--help]}}` diff --git a/pages.nl/common/crane.md b/pages.nl/common/crane.md new file mode 100644 index 00000000000000..cf28869f8cc527 --- /dev/null +++ b/pages.nl/common/crane.md @@ -0,0 +1,37 @@ +# crane + +> Hulpmiddel voor het beheren van containerimages. +> Sommige subcommando's zoals `pull`, `push`, `copy`, enz. hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Log in op een register: + +`crane auth login {{register}} {{[-u|--username]}} {{gebruiker}} {{[-p|--password]}} {{wachtwoord}}` + +- Toon de repositories in een register: + +`crane catalog {{register}} --full-ref` + +- Toon de tags in een repository: + +`crane ls {{repository}} {{[-o|--omit-digest-tags]}}` + +- Haal externe images op door middel van referentie en sla de inhoud ervan lokaal op: + +`crane pull {{image}} {{tarball}}` + +- Push lokale inhoud van images naar een externe repository: + +`crane push {{pad/naar/map_of_tarball}} {{image}}` + +- Tag efficiënt een externe image: + +`crane tag {{image}} {{tag}}` + +- Kopieer efficiënt een externe image van `src` naar `dst` terwijl de digest-waarde behouden blijft: + +`crane copy src dst {{[-a|--all-tags]}}` + +- Verwijder een image-referentie van zijn register: + +`crane delete {{image}}` diff --git a/pages.nl/common/createdb.md b/pages.nl/common/createdb.md new file mode 100644 index 00000000000000..c4fd4dadad34c6 --- /dev/null +++ b/pages.nl/common/createdb.md @@ -0,0 +1,16 @@ +# createdb + +> Maak een PostgreSQL-database aan. +> Meer informatie: . + +- Maak een database aan die eigendom is van de huidige gebruiker: + +`createdb {{database_naam}}` + +- Maak een database aan die eigendom is van een specifieke gebruiker met een omschrijving: + +`createdb {{[-O|--owner]}} {{gebruikersnaam}} {{database_naam}} '{{omschrijving}}'` + +- Maak een database aan op basis van een template: + +`createdb {{[-T|--template]}} {{template_naam}} {{database_naam}}` diff --git a/pages.nl/common/cron.md b/pages.nl/common/cron.md new file mode 100644 index 00000000000000..f88b981c442786 --- /dev/null +++ b/pages.nl/common/cron.md @@ -0,0 +1,8 @@ +# cron + +> Een systeemplanner voor het onbewaakt uitvoeren van taken of opdrachten. +> Het commando om invoer toe te voegen, te bewerken of te verwijderen in `cron` heet `crontab`. + +- Bekijk de documentatie voor het beheren van `cron`-invoeren: + +`tldr crontab` diff --git a/pages.nl/common/crontab.md b/pages.nl/common/crontab.md new file mode 100644 index 00000000000000..4fe1a090dd5c86 --- /dev/null +++ b/pages.nl/common/crontab.md @@ -0,0 +1,36 @@ +# crontab + +> Plan cron jobs zodat deze volgens een tijdsinterval voor de huidige gebruiker worden uitgevoerd. +> Meer informatie: . + +- Pas het crontab bestand aan voor de huidige gebruiker: + +`crontab -e` + +- Pas het crontab bestand aan voor een specifieke gebruiker: + +`sudo crontab -e -u {{gebruiker}}` + +- Vervang de huidige crontab met de inhoud van een opgegeven bestand: + +`crontab {{pad/naar/bestand}}` + +- Bekijk een lijst van bestaande cron jobs voor de huidige gebruiker: + +`crontab -l` + +- Verwijder alle cron jobs voor de huidige gebruiker: + +`crontab -r` + +- Voorbeeld crontab entry, welke iedere dag om 10:00 draait (* betekent elke waarde): + +`0 10 * * * {{commando_om_uit_te_voeren}}` + +- Voorbeeld crontab entry, welke iedere 10 minuten een commando uitvoert: + +`*/10 * * * * {{commando_om_uit_te_voeren}}` + +- Voorbeeld crontab entry, welke iedere vrijdag om 02:30 een specifiek script draait: + +`30 2 * * Fri /{{pad/naar/script.sh}}` diff --git a/pages.nl/common/cups.md b/pages.nl/common/cups.md new file mode 100644 index 00000000000000..c08e339fdc7168 --- /dev/null +++ b/pages.nl/common/cups.md @@ -0,0 +1,25 @@ +# CUPS + +> Open source print systeem. +> CUPS is geen commando, maar een set van commando's. +> Meer informatie: . + +- Bekijk de documentatie voor het draaien van de CUPS daemon: + +`tldr cupsd` + +- Bekijk de documentatie voor het beheren van printers: + +`tldr lpadmin` + +- Bekijk de documentatie voor het printen van bestanden: + +`tldr lp` + +- Bekijk de documentatie voor het bekijken van de status informatie over de huidige klasses, taken en printers: + +`tldr lpstat` + +- Bekijk de documentatie voor het annuleren van printtaken: + +`tldr lprm` diff --git a/pages.nl/common/cupsd.md b/pages.nl/common/cupsd.md new file mode 100644 index 00000000000000..320519c4f578f1 --- /dev/null +++ b/pages.nl/common/cupsd.md @@ -0,0 +1,36 @@ +# cupsd + +> Server daemon voor de CUPS print server. +> Meer informatie: . + +- Start `cupsd` op de achterground, aka. als een daemon: + +`cupsd` + +- Start `cupsd` op de voorgrond: + +`cupsd -f` + +- Draai `cupsd` op aanvraag (vaak gebruikt door `launchd` of `systemd`): + +`cupsd -l` + +- Start `cupsd` met het gespecificeerde [`c`]`upsd.conf` configuratie bestand: + +`cupsd -c {{pad/naar/cupsd.conf}}` + +- Start `cupsd` met het gespecificeerde `cups-bestanden.conf` configuratie bestand: + +`cupsd -s {{pad/naar/cups-bestanden.conf}}` + +- [t]est het [`c`]`upsd.conf` configuratie bestand voor fouten: + +`cupsd -t -c {{pad/naar/cupsd.conf}}` + +- [t]est het `cups-bestanden.conf` configuratie bestand voor fouten: + +`cupsd -t -s {{pad/naar/cups-bestanden.conf}}` + +- Toon alle beschikbare opties: + +`cupsd -h` diff --git a/pages.nl/common/curl.md b/pages.nl/common/curl.md new file mode 100644 index 00000000000000..f97a5cec408e56 --- /dev/null +++ b/pages.nl/common/curl.md @@ -0,0 +1,37 @@ +# curl + +> Zet gegevens over van of naar een server. +> Ondersteunt de meeste protocollen, waaronder HTTP, HTTPS, FTP, SCP, enz. +> Meer informatie: . + +- Maak een HTTP GET-verzoek en dump de inhoud naar `stdout`: + +`curl {{https://example.com}}` + +- Maak een HTTP GET-verzoek, vo[L]g eventuele `3xx` redirects, en [D]ump de antwoordheaders en inhoud naar `stdout`: + +`curl {{[-L|--location]}} {{[-D|--dump-header]}} - {{https://example.com}}` + +- Download een bestand en sla de [U]itvoer op onder de bestandsnaam zoals aangegeven door de URL: + +`curl {{[-O|--remote-name]}} {{https://example.com/filename.zip}}` + +- Stuur form-encoded [g]egevens (POST-verzoek van het type `application/x-www-form-urlencoded`). Gebruik `--data @file_name` of `--data @'-'` om van `stdin` te lezen: + +`curl {{[-X|--request]}} POST {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` + +- Stuur een verzoek met een extra header, met behulp van een aangepaste HTTP-methode en via een pro[x]y (zoals BurpSuite), waarbij onveilige zelfondertekende certificaten worden genegeerd: + +`curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} {{'Authorization: Bearer token'}} {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}` + +- Verstuur gegevens in JSON-formaat, met de juiste Content-Type [H]eader: + +`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` + +- Verstrek een clientcertificaat en sleutel voor een bron, en sla de certificaatvalidatie over: + +`curl {{[-E|--cert]}} {{client.pem}} --key {{key.pem}} {{[-k|--insecure]}} {{https://example.com}}` + +- Los een hostnaam op naar een aangepast IP-adres, met [v]erbose uitvoer (vergelijkbaar met het bewerken van het `/etc/hosts`-bestand voor aangepaste DNS-resolutie): + +`curl {{[-v|--verbose]}} --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}` diff --git a/pages.nl/common/cut.md b/pages.nl/common/cut.md new file mode 100644 index 00000000000000..e60e9c4ef7c120 --- /dev/null +++ b/pages.nl/common/cut.md @@ -0,0 +1,20 @@ +# cut + +> Snij velden eruit vanuit `stdin` of bestanden. +> Meer informatie: . + +- Toon een specifiek karakter/veldbereik voor iedere regel: + +`{{commando}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}` + +- Toon een bereik voor iedere regel met een specifieke scheiding: + +`{{commando}} | cut {{[-d|--delimiter]}} "{{delimiter}}" {{[-f|--fields]}} {{1|1,10|1-10|1-|-10}}` + +- Toon een bereik van iedere regel voor een specifiek bestand: + +`cut {{[-c|--characters]}} {{1}} {{pad/naar/bestand}}` + +- Toon specifieke velden van `NUL` afgesloten regels (bijv. zoals in `find . -print0`) in plaats van nieuwe regels: + +`{{commando}} | cut {{[-z|--zero-terminated]}} {{[-f|--fields]}} {{1}}` diff --git a/pages.nl/common/date.md b/pages.nl/common/date.md new file mode 100644 index 00000000000000..64ccf08ebdf573 --- /dev/null +++ b/pages.nl/common/date.md @@ -0,0 +1,36 @@ +# date + +> Stel de systeemdatum in of toon deze. +> Meer informatie: . + +- Toon de huidige datum in het standaardformaat van de locale: + +`date +%c` + +- Toon de huidige datum in UTC, in het ISO 8601-formaat: + +`date {{[-u|--utc]}} +%Y-%m-%dT%H:%M:%S%Z` + +- Toon de huidige datum als een Unix timestamp (seconden sinds de Unix-epoch): + +`date +%s` + +- Converteer een datum gespecificeerd als een Unix timestamp naar het standaard formaat: + +`date {{[-d|--date]}} @{{1473305798}}` + +- Converteer een opgegeven datum naar het Unix timestamp formaat: + +`date {{[-d|--date]}} "{{2018-09-01 00:00}}" +%s {{[-u|--utc]}}` + +- Toon de huidige datum in het RFC-3339 formaat (`YYYY-MM-DD hh:mm:ss TZ`): + +`date --rfc-3339 s` + +- Stel de huidige datum in met het formaat `MMDDhhmmYYYY.ss` (`YYYY` en `.ss` zijn optioneel): + +`date {{093023592021.59}}` + +- Toon het huidige ISO-weeknummer: + +`date +%V` diff --git a/pages.nl/common/dd.md b/pages.nl/common/dd.md new file mode 100644 index 00000000000000..c617fb3d3263a3 --- /dev/null +++ b/pages.nl/common/dd.md @@ -0,0 +1,24 @@ +# dd + +> Converteer en kopieer een bestand. +> Meer informatie: . + +- Maak een opstartbare USB-schijf van een isohybrid-bestand (zoals `archlinux-xxx.iso`) en toon de voortgang: + +`dd if={{pad/naar/bestand.iso}} of={{/dev/usb_schijf}} status=progress` + +- Kopieer een schijf naar een andere schijf met een blokgrootte van 4 MiB en schrijf alle gegevens voordat het commando eindigt: + +`dd bs=4194304 conv=fsync if={{/dev/bron_schijf}} of={{/dev/doel_schijf}}` + +- Genereer een bestand met een specifiek aantal willekeurige bytes met behulp van de kernel random driver: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{pad/naar/willekeurig_bestand}}` + +- Benchmark de sequentiële schrijfsnelheid van een schijf: + +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{pad/naar/bestand_1GB}}` + +- Maak een systeemback-up, sla deze op in een IMG bestand (kan later worden hersteld door `if` en `of` om te wisselen) en toon de voortgang: + +`dd if={{/dev/schijf_apparaat}} of={{pad/naar/bestand.img}} status=progress` diff --git a/pages.nl/common/declare.md b/pages.nl/common/declare.md new file mode 100644 index 00000000000000..c99b2b41f0a292 --- /dev/null +++ b/pages.nl/common/declare.md @@ -0,0 +1,36 @@ +# declare + +> Declareer variabelen en geef ze attributen. +> Meer informatie: . + +- Declareer een string variabele met de gespecificeerde waarde: + +`declare {{variabele}}="{{waarde}}"` + +- Declareer een integer variabele met de gespecificeerde waarde: + +`declare -i {{variabele}}="{{waarde}}"` + +- Declareer een array variabele met de gespecificeerde waarde: + +`declare -a {{variabele}}=({{item_a item_b item_c}})` + +- Declareer een associatieve array variabele met de gespecificeerde waarde: + +`declare -A {{variabele}}=({{[sleutel_a]=item_a [sleutel_b]=item_b [sleutel_c]=item_c}})` + +- Declareer a readonly string variabele met de gespecificeerde waarde: + +`declare -r {{variabele}}="{{waarde}}"` + +- Declareer een globale variabele binnen een functie met de gespecificeerde waarde: + +`declare -g {{variabele}}="{{waarde}}"` + +- Print een functie-definitie: + +`declare -f {{functie_naam}}` + +- Print een variabele-definitie: + +`declare -p {{variabele_naam}}` diff --git a/pages.nl/common/df.md b/pages.nl/common/df.md new file mode 100644 index 00000000000000..3511d7cb96e4c6 --- /dev/null +++ b/pages.nl/common/df.md @@ -0,0 +1,20 @@ +# df + +> Toon een overzicht van het gebruik van het bestandssysteem op het gebied van schijfruimte. +> Meer informatie: . + +- Toon alle bestandssystemen en hun schijfgebruik met behulp van 512-byte eenheden: + +`df` + +- Toon het bestandssysteem en het schijfgebruik voor het opgegeven bestand of map: + +`df {{pad/naar/bestand_of_map}}` + +- Gebruik 1024-byte eenheden voor het schrijven van de ruimte figuren: + +`df -k` + +- Toon informatie in een portable wijze: + +`df -P` diff --git a/pages.nl/common/dircolors.md b/pages.nl/common/dircolors.md new file mode 100644 index 00000000000000..49840b48a43d40 --- /dev/null +++ b/pages.nl/common/dircolors.md @@ -0,0 +1,28 @@ +# dircolors + +> Geef commando's weer om de LS_COLOR-omgevingsvariabele in te stellen en style `ls`, `dir` enz. +> Meer informatie: . + +- Geef commando's weer om LS_COLOR in te stellen met standaardkleuren: + +`dircolors` + +- Toon ieder bestandstype met de kleur zoals deze in `ls` getoond zou worden: + +`dircolors --print-ls-colors` + +- Geef commando's weer om LS_COLOR in te stellen met kleuren uit een bestand: + +`dircolors {{pad/naar/bestand}}` + +- Geef commando's weer voor de Bourne-shell: + +`dircolors {{[-b|--bourne-shell]}}` + +- Geef commando's weer voor de C-shell: + +`dircolors {{[-c|--c-shell]}}` + +- Bekijk de standaardkleuren voor bestandstypen en extensies: + +`dircolors {{[-p|--print-database]}}` diff --git a/pages.nl/common/dirname.md b/pages.nl/common/dirname.md new file mode 100644 index 00000000000000..55a8a59fd792cc --- /dev/null +++ b/pages.nl/common/dirname.md @@ -0,0 +1,16 @@ +# dirname + +> Berekent de bovenliggende map van een bestand of map. +> Meer informatie: . + +- Bereken de bovenliggende map van een opgegeven pad: + +`dirname {{pad/naar/bestand_of_map}}` + +- Bereken de bovenliggende map van meerdere paden: + +`dirname {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Scheid de uitvoer met een NUL-teken in plaats van een nieuwe regel (handig bij gebruik met `xargs`): + +`dirname {{[-z|--zero]}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` diff --git a/pages.nl/common/doas.md b/pages.nl/common/doas.md new file mode 100644 index 00000000000000..bd2e965aec8edb --- /dev/null +++ b/pages.nl/common/doas.md @@ -0,0 +1,24 @@ +# doas + +> Voer een commando uit als een andere gebruiker. +> Meer informatie: . + +- Voer een commando uit als root: + +`doas {{command}}` + +- Voer een commando uit als een andere gebruiker: + +`doas -u {{gebruiker}} {{commando}}` + +- Start de standaard shell als root: + +`doas -s` + +- Parse een configuratiebestand en controleer of de uitvoering van het commando als een andere gebruiker toegestaan is: + +`doas -C {{pad/naar/configuratiebestand}} {{command}}` + +- Zorg ervoor dat `doas` om een wachtwoord vraagt, zelfs als het eerder is opgegeven: + +`doas -L` diff --git a/pages.nl/common/docker-container-diff.md b/pages.nl/common/docker-container-diff.md new file mode 100644 index 00000000000000..74120010dcce35 --- /dev/null +++ b/pages.nl/common/docker-container-diff.md @@ -0,0 +1,7 @@ +# docker container diff + +> Dit commando is een alias van `docker diff`. + +- Bekijk de documentatie van het originele commando: + +`tldr docker diff` diff --git a/pages.nl/common/docker-container-remove.md b/pages.nl/common/docker-container-remove.md new file mode 100644 index 00000000000000..ca254965c66899 --- /dev/null +++ b/pages.nl/common/docker-container-remove.md @@ -0,0 +1,7 @@ +# docker container remove + +> Dit commando is een alias van `docker rm`. + +- Bekijk de documentatie van het originele commando: + +`tldr docker rm` diff --git a/pages.nl/common/docker-container-rename.md b/pages.nl/common/docker-container-rename.md new file mode 100644 index 00000000000000..cddc670ccf3b00 --- /dev/null +++ b/pages.nl/common/docker-container-rename.md @@ -0,0 +1,7 @@ +# docker container rename + +> Dit commando is een alias van `docker rename`. + +- Bekijk de documentatie van het originele commando: + +`tldr docker rename` diff --git a/pages.nl/common/docker-container-rm.md b/pages.nl/common/docker-container-rm.md new file mode 100644 index 00000000000000..d2238955c11eee --- /dev/null +++ b/pages.nl/common/docker-container-rm.md @@ -0,0 +1,7 @@ +# docker container rm + +> Dit commando is een alias van `docker rm`. + +- Bekijk de documentatie van het originele commando: + +`tldr docker rm` diff --git a/pages.nl/common/docker-container-top.md b/pages.nl/common/docker-container-top.md new file mode 100644 index 00000000000000..36ca749afa2aa0 --- /dev/null +++ b/pages.nl/common/docker-container-top.md @@ -0,0 +1,7 @@ +# docker container top + +> Dit commando is een alias van `docker top`. + +- Bekijk de documentatie van het originele commando: + +`tldr docker top` diff --git a/pages.nl/common/docker-diff.md b/pages.nl/common/docker-diff.md new file mode 100644 index 00000000000000..a844c7ef680857 --- /dev/null +++ b/pages.nl/common/docker-diff.md @@ -0,0 +1,12 @@ +# docker diff + +> Inspecteer wijzigingen in bestanden of mappen op het bestandssysteem van een container. +> Meer informatie: . + +- Inspecteer de wijzigingen in een container sinds deze is gemaakt: + +`docker diff {{container}}` + +- Toon de help: + +`docker diff --help` diff --git a/pages.nl/common/docker-rename.md b/pages.nl/common/docker-rename.md new file mode 100644 index 00000000000000..985d872daeae34 --- /dev/null +++ b/pages.nl/common/docker-rename.md @@ -0,0 +1,12 @@ +# docker rename + +> Hernoem een container. +> Meer informatie: . + +- Hernoem een container: + +`docker rename {{container}} {{nieuwe_naam}}` + +- Toon de help: + +`docker rename --help` diff --git a/pages.nl/common/docker-rm.md b/pages.nl/common/docker-rm.md new file mode 100644 index 00000000000000..425a7ae3a3bb78 --- /dev/null +++ b/pages.nl/common/docker-rm.md @@ -0,0 +1,20 @@ +# docker rm + +> Verwijder een of meer containers. +> Meer informatie: . + +- Verwijder containers: + +`docker rm {{container1 container2 ...}}` + +- Verwijdeer een container geforceerd: + +`docker rm {{[-f|--force]}} {{container1 container2 ...}}` + +- Verwijder een container en de volumes: + +`docker rm {{[-v|--volumes]}} {{container}}` + +- Toon de help: + +`docker rm {{[-h|--help]}}` diff --git a/pages.nl/common/docker-top.md b/pages.nl/common/docker-top.md new file mode 100644 index 00000000000000..55388207b4b6c7 --- /dev/null +++ b/pages.nl/common/docker-top.md @@ -0,0 +1,12 @@ +# docker top + +> Toon de lopende processen van een container. +> Meer informatie: . + +- Toon de lopende processen van een container: + +`docker top {{container}}` + +- Toon de help: + +`docker top --help` diff --git a/pages.nl/common/docker.md b/pages.nl/common/docker.md new file mode 100644 index 00000000000000..cbb77025cf4c30 --- /dev/null +++ b/pages.nl/common/docker.md @@ -0,0 +1,37 @@ +# docker + +> Beheer Docker containers en images. +> Sommige subcommando's zoals `run` hebben hun eigen documentatie. +> Meer informatie: . + +- Toon alle Docker containers (actief en gestopte): + +`docker ps {{[-a|--all]}}` + +- Start een container van een image, met een aangepaste naam: + +`docker run --name {{container_naam}} {{image}}` + +- Start of stop een bestaande container: + +`docker {{start|stop}} {{container_naam}}` + +- Download een image uit een Docker register: + +`docker pull {{image}}` + +- Toon reeds gedownloade images: + +`docker images` + +- Open een interactieve tty met Bourne shell (`sh`) binnen een draaiende container: + +`docker exec {{[-it|--interactive --tty]}} {{container_naam}} {{sh}}` + +- Verwijder een gestopte container: + +`docker rm {{container_naam}}` + +- Vang en volg de logs van een container: + +`docker logs {{[-f|--follow]}} {{container_naam}}` diff --git a/pages.nl/common/dropdb.md b/pages.nl/common/dropdb.md new file mode 100644 index 00000000000000..fd9982c3217eba --- /dev/null +++ b/pages.nl/common/dropdb.md @@ -0,0 +1,37 @@ +# dropdb + +> Verwijder een PostgreSQL-database. +> Een eenvoudige wrapper voor het SQL-commando `DROP DATABASE`. +> Meer informatie: . + +- Verwijder een database: + +`dropdb {{database_naam}}` + +- Vraag om bevestiging voordat destructieve acties worden uitgevoerd: + +`dropdb {{[-i|--interactive]}} {{database_naam}}` + +- Maak verbinding als een specifieke gebruiker en verwijder een database: + +`dropdb {{[-U|--username]}} {{gebruikersnaam}} {{database_naam}}` + +- Forceer een wachtwoordprompt voordat er wordt verbonden met de database: + +`dropdb {{[-W|--password]}} {{database_naam}}` + +- Onderdruk een wachtwoordprompt voordat er wordt verbonden met de database: + +`dropdb {{[-w|--no-password]}} {{database_naam}}` + +- Specificeer de hostnaam van de server: + +`dropdb {{[-h|--host]}} {{host}} {{database_naam}}` + +- Specificeer de serverpoort: + +`dropdb {{[-p|--port]}} {{poort}} {{database_naam}}` + +- Probeer actieve verbindingen te verbreken voordat de database wordt vernietigd: + +`dropdb {{[-f|--force]}} {{database_naam}}` diff --git a/pages.nl/common/du.md b/pages.nl/common/du.md new file mode 100644 index 00000000000000..3435353cdd2485 --- /dev/null +++ b/pages.nl/common/du.md @@ -0,0 +1,32 @@ +# du + +> Disk gebruik: schat en groepeer bestand en map ruimte gebruik. +> Meer informatie: . + +- Toont de grootte van een map en mogelijke sub-mappen, met een gegeven eenheid (B/KiB/MiB): + +`du -{{b|k|m}} {{pad/naar/map}}` + +- Toont de grootte van een map en mogelijke sub-mappen, met een leesbaar unit formaat (bijvoorbeeld door het automatisch kiezen van een eenheid gebaseerd op grootte)): + +`du {{[-h|--human-readable]}} {{pad/naar/map}}` + +- Toont de grootte van een enkele map met een leesbaar eenheid formaat: + +`du {{[-sh|--summarize --human-readable]}} {{pad/naar/map}}` + +- Toont de grootte in leesbare vorm van een map met alle bestanden en mappen: + +`du {{[-ah|--all --human-readable]}} {{pad/naar/map}}` + +- Toont de grootte in leesbare vorm van een map en alle sub-mappen tot N niveaus diep: + +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{pad/naar/map}}` + +- Toont de grootte in leesbare vorm van alle `.jpg` bestanden in sub-mappen van de huidige map en laat een cumulatief totaal zien op het eind: + +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` + +- Toont alle bestanden en mappen (inclusief verborgen) boven een bepaalde drempelwaarde ([t]hreshold) (bruikbaar om te onderzoeken wat veel ruimte in neemt): + +`du {{[-ah|--all --human-readable]}} {{[-t|--threshold]}} {{1G|1024M|1048576K}} .[^.]* *` diff --git a/pages.nl/common/duc.md b/pages.nl/common/duc.md new file mode 100644 index 00000000000000..4eda0b670c26cc --- /dev/null +++ b/pages.nl/common/duc.md @@ -0,0 +1,29 @@ +# duc + +> Een verzameling van tools voor het indexeren, inspecteren en visualiseren van schijfgebruik. +> Duc onderhoudt een database van geaccumuleerde groottes van directories van het bestandssysteem, waardoor je deze database kunt raadplegen of mooie grafieken kunt maken om te laten zien waar de data zich bevindt. +> Meer informatie: . + +- Indexeer de `/usr` directory en schrijf naar de standaard database locatie ~/.duc.db: + +`duc index {{/usr}}` + +- Toon alle bestanden en directories onder `/usr/local` en toon relatieve bestandsgroottes in een grafiek: + +`duc ls {{[-Fg|--classify --graph]}} {{/usr/local}}` + +- Toon alle bestanden en directories onder `/usr/local` recursief met behulp van boomweergave: + +`duc ls {{[-Fg|--classify --graph]}} {{[-R|--recursive]}} {{/usr/local}}` + +- Start de grafische interface om het bestandssysteem te verkennen met behulp van zonnestraalgrafieken: + +`duc gui {{/usr}}` + +- Start de ncurses console interface om het bestandssysteem te verkennen: + +`duc ui {{/usr}}` + +- Dump database-informatie: + +`duc info` diff --git a/pages.nl/common/dunst.md b/pages.nl/common/dunst.md new file mode 100644 index 00000000000000..56bd3f3dd6e82a --- /dev/null +++ b/pages.nl/common/dunst.md @@ -0,0 +1,21 @@ +# dunst + +> Een lichtgewicht en aanpasbare notificatiedaemon voor X11 en Wayland. +> Indien niet handmatig gestart, start D-Bus automatisch `dunst` op als een notificatie wordt verzonden. +> Meer informatie: . + +- Start `dunst`: + +`dunst` + +- Toon een notificatie bij het opstarten: + +`dunst -startup_notification` + +- Toon inkomende notificaties in `stdout`: + +`dunst -print` + +- Gebruik het opgegeven configuratiebestand (standaard: `$XDG_CONFIG_HOME/dunst/dunstrc`): + +`dunst {{[-conf|-config]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/echo.md b/pages.nl/common/echo.md new file mode 100644 index 00000000000000..8f52d719263d9a --- /dev/null +++ b/pages.nl/common/echo.md @@ -0,0 +1,28 @@ +# echo + +> Toont gegeven argumenten. +> Meer informatie: . + +- Toon een tekstbericht. Let op: aanhalingstekens zijn optioneel: + +`echo "{{Hallo Wereld}}"` + +- Toon een bericht met omgevingsvariabelen: + +`echo "{{Mijn pad is $PATH}}"` + +- Toont een bericht zonder te volgen met een nieuwe regel: + +`echo -n "{{Hallo Wereld}}"` + +- Voeg een bericht aan een bestand toe: + +`echo "{{Hallo Wereld}}" >> {{bestand.txt}}` + +- Interpretatie van backslash-escapes (speciale tekens) inschakelen: + +`echo -e "{{kolom 1\kolom 2}}"` + +- Toon de afsluitstatus van de laatst uitgevoerde opdracht (Let op: in Windows Command Prompt en PowerShell zijn de equivalente opdrachten respectievelijk `echo %errorlevel%` en `$lastexitcode`): + +`echo $?` diff --git a/pages.nl/common/ed.md b/pages.nl/common/ed.md new file mode 100644 index 00000000000000..f978f82f5086aa --- /dev/null +++ b/pages.nl/common/ed.md @@ -0,0 +1,37 @@ +# ed + +> De originele Unix tekst editor. +> Zie ook: `awk`, `sed`. +> Meer informatie: . + +- Start een interactieve editor sessie met een leeg document: + +`ed` + +- Start een interactieve editor sessie met een leeg document en een specifieke prompt: + +`ed {{[-p|--prompt]}} '{{> }}'` + +- Start een interactieve editor sessie met gebruiksvriendelijke foutmeldingen: + +`ed {{[-v|--verbose]}}` + +- Start een interactieve editor sessie met een leeg document en zonder diagnostics, het aantal bytes en de '!' prompt: + +`ed {{[-q|--quiet]}} {{[-s|--script]}}` + +- Start een interactieve editor sessie zonder exit status change als het commando faalt: + +`ed {{[-l|--loose-exit-status]}}` + +- Pas een specifiek bestand aan (dit toont het aantal bytes van het geladen bestand): + +`ed {{pad/naar/bestand}}` + +- Vervang een string met een specifieke vervanging voor alle regels: + +`,s/{{reguliere_expressie}}/{{vervanging}}/g` + +- Sluit `ed` af: + +`q` diff --git a/pages.nl/common/egrep.md b/pages.nl/common/egrep.md new file mode 100644 index 00000000000000..d2f41c86468693 --- /dev/null +++ b/pages.nl/common/egrep.md @@ -0,0 +1,28 @@ +# egrep + +> Vind patronen in bestanden door gebruik te maken van uitgebreidere reguliere expressies (ondersteund `?`, `+`, `{}`, `()` en `|`). +> Meer informatie: . + +- Zoek naar een patroon in een bestand: + +`egrep "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek naar een patroon in meerdere bestanden: + +`egrep "{{zoekpatroon}}" {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Zoek in `stdin` naar een patroon: + +`cat {{pad/naar/bestand}} | egrep {{zoekpatroon}}` + +- Toon de bestandsnaam en het regelnummer voor iedere overeenkomst: + +`egrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek recursief in alle bestanden in een map voor een patroon, maar negeer binaire bestanden: + +`egrep {{[-r|--recursive]}} --binary-files={{without-match}} "{{zoekpatroon}}" {{pad/naar/map}}` + +- Zoek voor regels die niet voldoen aan een patroon: + +`egrep {{[-v|--invert-match]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` diff --git a/pages.nl/common/env.md b/pages.nl/common/env.md new file mode 100644 index 00000000000000..4e5d426a9eadb5 --- /dev/null +++ b/pages.nl/common/env.md @@ -0,0 +1,32 @@ +# env + +> Toon de omgeving of voer een programma uit in een aangepaste omgeving. +> Meer informatie: . + +- Toon de environment: + +`env` + +- Voer een programma uit. Meestal gebruikt in scripts na de shebang (#!) voor het opzoeken van het pad naar het programma: + +`env {{programma}}` + +- Wis de omgeving en voer een programma uit: + +`env {{[-i|--ignore-environment]}} {{programma}}` + +- Verwijder een variabele van de omgeving en voer een programma uit: + +`env {{[-u|--unset]}} {{variabele}} {{programma}}` + +- Zet een variabele en voer een programma uit: + +`env {{variabele}}={{waarde}} {{programma}}` + +- Zet meerdere variabelen en voer een programma uit: + +`env {{variabele1=waarde variabele2=waarde variabele3=waarde ...}} {{programma}}` + +- Voer een programma uit onder een andere naam: + +`env {{[-a|--argv0]}} {{aangepaste_naam}} {{programma}}` diff --git a/pages.nl/common/exec.md b/pages.nl/common/exec.md new file mode 100644 index 00000000000000..6b276aa010dec9 --- /dev/null +++ b/pages.nl/common/exec.md @@ -0,0 +1,8 @@ +# exec + +> Voer een commando uit zonder een child-proces te creëren. +> Meer informatie: . + +- Voer een specifiek commando uit met behulp van de huidige omgevingsvariabelen: + +`exec {{commando -with -flags}}` diff --git a/pages.nl/common/exit.md b/pages.nl/common/exit.md new file mode 100644 index 00000000000000..9ced1ebcd92f4e --- /dev/null +++ b/pages.nl/common/exit.md @@ -0,0 +1,12 @@ +# exit + +> Verlaat de shell. +> Meer informatie: . + +- Verlaat de shell met de exitstatus van het meest recent uitgevoerde commando: + +`exit` + +- Verlaat de shell met een specifieke exitstatus: + +`exit {{exit_code}}` diff --git a/pages.nl/common/expand.md b/pages.nl/common/expand.md new file mode 100644 index 00000000000000..410a3ea3030b1e --- /dev/null +++ b/pages.nl/common/expand.md @@ -0,0 +1,24 @@ +# expand + +> Vervang tabs met spaties. +> Meer informatie: . + +- Vervang tabs in ieder bestand met spaties en schrijf het naar `stdout`: + +`expand {{pad/naar/bestand}}` + +- Vervang tabs met spaties, lezend vanaf `stdin`: + +`expand` + +- Vervang geen tabs na een karakter: + +`expand {{[-i|--initial]}} {{pad/naar/bestand}}` + +- Laat tabs een bepaald aantal tekens uit elkaar staan, niet 8: + +`expand {{[-t|--tabs]}} {{nummer}} {{pad/naar/bestand}}` + +- Gebruik een door komma's gescheiden lijst met expliciete tabposities: + +`expand {{[-t|--tabs]}} {{1,4,6}}` diff --git a/pages.nl/common/export.md b/pages.nl/common/export.md new file mode 100644 index 00000000000000..483ce184781e0f --- /dev/null +++ b/pages.nl/common/export.md @@ -0,0 +1,12 @@ +# export + +> Exporteer shellvariabelen naar child-processen. +> Meer informatie: . + +- Stel een omgevingsvariabele in: + +`export {{VARIABELE}}={{waarde}}` + +- Voeg een pad toe aan de omgevingsvariabele `PATH`: + +`export PATH=$PATH:{{pad/om/toe_te_voegen}}` diff --git a/pages.nl/common/expr.md b/pages.nl/common/expr.md new file mode 100644 index 00000000000000..d59534a986dae5 --- /dev/null +++ b/pages.nl/common/expr.md @@ -0,0 +1,32 @@ +# expr + +> Evalueer expressies en manipuleer string. +> Meer informatie: . + +- Krijg de lengte van een specifieke string: + +`expr length "{{string}}"` + +- Krijg de substring van een string met een specifieke lengte: + +`expr substr "{{string}}" {{van}} {{lengte}}` + +- Vergelijk een specifieke substring met een verankerd patroon: + +`expr match "{{string}}" '{{patroon}}'` + +- Verkrijg de eerste karakterpositie van een specifieke set in een tekenreeks: + +`expr index "{{string}}" "{{karakters}}"` + +- Bereken een specifieke mathematische expressie: + +`expr {{expressie1}} {{+|-|*|/|%}} {{expressie2}}` + +- Bekijk de eerste expressie als de waarde niet nul is en niet null, anders de tweede: + +`expr {{expressie1}} \| {{expressie2}}` + +- Bekijk de eerste expressie als beide expressies niet nul zijn en niet null, anders 0: + +`expr {{expressie1}} \& {{expressie2}}` diff --git a/pages.nl/common/factor.md b/pages.nl/common/factor.md new file mode 100644 index 00000000000000..48d8d5b23bff64 --- /dev/null +++ b/pages.nl/common/factor.md @@ -0,0 +1,12 @@ +# factor + +> Toon de priemfactor van een getal. +> Meer informatie: . + +- Toon de priemfactor van een getal: + +`factor {{nummer}}` + +- Neem de invoer van `stdin` als er geen argument is opgegeven: + +`echo {{nummer}} | factor` diff --git a/pages.nl/common/false.md b/pages.nl/common/false.md index fcaa67c084c2fb..1823a4198e328e 100644 --- a/pages.nl/common/false.md +++ b/pages.nl/common/false.md @@ -1,6 +1,7 @@ # false > Geeft een afsluitcode van 1 terug. +> Meer informatie: . - Geeft een afsluitcode van 1 terug: diff --git a/pages.nl/common/fc-list.md b/pages.nl/common/fc-list.md new file mode 100644 index 00000000000000..a529844c0be7a0 --- /dev/null +++ b/pages.nl/common/fc-list.md @@ -0,0 +1,24 @@ +# fc-list + +> Toon beschikbare lettertypen die op het systeem zijn geïnstalleerd. +> Meer informatie: . + +- Toon geïnstalleerde lettertypen: + +`fc-list` + +- Toon geïnstalleerde lettertypen die overeenkomen met een bepaalde naam: + +`fc-list | grep '{{DejaVu Serif}}'` + +- Toon het aantal geïnstalleerde lettertypen: + +`fc-list | wc {{[-l|--lines]}}` + +- Toon geïnstalleerde lettertypen die een taal ondersteunen op basis van de landcode: + +`fc-list :lang={{jp}}` + +- Toon geïnstalleerde lettertypen die het teken bevatten dat is opgegeven door zijn Unicode-codepunt: + +`fc-list :charset={{f303}}` diff --git a/pages.nl/common/fc.md b/pages.nl/common/fc.md new file mode 100644 index 00000000000000..0fd16d326b5eac --- /dev/null +++ b/pages.nl/common/fc.md @@ -0,0 +1,32 @@ +# fc + +> Open het meest recente commando voor bewerking en voer het uit. +> Meer informatie: . + +- Open het laatste commando in de standaard systeemeditor en voer het uit na het aanpassen: + +`fc` + +- Specificeer een editor om mee te openen: + +`fc -e {{'emacs'}}` + +- Toon recente commando's uit de geschiedenis: + +`fc -l` + +- Toon recente commando's in omgekeerde volgorde: + +`fc -l -r` + +- Pas een commando uit de geschiedenis aan en voer het uit: + +`fc {{nummer}}` + +- Pas commando's in een gegeven interval aan en voer ze uit: + +`fc '{{416}}' '{{420}}'` + +- Toon de help: + +`fc --help` diff --git a/pages.nl/common/ffmpeg.md b/pages.nl/common/ffmpeg.md new file mode 100644 index 00000000000000..eed82c595aeca5 --- /dev/null +++ b/pages.nl/common/ffmpeg.md @@ -0,0 +1,36 @@ +# ffmpeg + +> Videoconversie tool. +> Meer informatie: . + +- Extraheer het geluid van een video en sla het op als MP3: + +`ffmpeg -i {{pad/naar/video.mp4}} -vn {{pad/naar/geluid.mp3}}` + +- Transcodeer een FLAC-bestand naar Red Book CD-formaat (44100kHz, 16bit): + +`ffmpeg -i {{pad/naar/input_geluid.flac}} -ar 44100 -sample_fmt s16 {{pad/naar/output_geluid.wav}}` + +- Sla een video op als GIF, schaal de hoogte naar 1000px en stel de framerate in op 15: + +`ffmpeg -i {{pad/naar/video.mp4}} {{[-vf|-filter:v]}} 'scale=-1:{{1000}}' -r {{15}} {{pad/naar/output.gif}}` + +- Combineer genummerde afbeeldingen (`frame_1.jpg`, `frame_2.jpg`, etc) tot een video of GIF: + +`ffmpeg -i {{pad/naar/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` + +- Trim een video vanaf een gegeven starttijd mm:ss tot een eindtijd mm2:ss2 (Laat de -to vlag weg om tot het einde te trimmen): + +`ffmpeg -i {{pad/naar/input_video.mp4}} -ss {{mm:ss}} -to {{mm2:ss2}} {{[-c|-codec]}} copy {{pad/naar/output_video.mp4}}` + +- Zet een AVI-video om naar MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23: + +`ffmpeg -i {{pad/naar/input_video}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{pad/naar/output_video}}.mp4` + +- Remux een MKV-video naar MP4 zonder audio- of videostreams opnieuw te coderen: + +`ffmpeg -i {{pad/naar/input_video}}.mkv {{[-c|-codec]}} copy {{pad/naar/output_video}}.mp4` + +- Zet een MP4-video om naar VP9-codec. Gebruik voor de beste kwaliteit een CRF-waarde (aanbevolen bereik 15-35) en -b:v MOET 0 zijn: + +`ffmpeg -i {{pad/naar/input_video}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{aantal_threads}} {{pad/naar/output_video}}.webm` diff --git a/pages.nl/common/fgrep.md b/pages.nl/common/fgrep.md new file mode 100644 index 00000000000000..c252a072a4e7ba --- /dev/null +++ b/pages.nl/common/fgrep.md @@ -0,0 +1,29 @@ +# fgrep + +> Zoek naar strings in bestanden. +> Gelijk aan `grep -F`. +> Meer informatie: . + +- Zoek naar een string in een bestand: + +`fgrep {{zoek_string}} {{pad/naar/bestand}}` + +- Zoek in bestanden, maar alleen in regels die volledig overeenkomen: + +`fgrep {{[-x|--line-regexp]}} {{zoek_string}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Tel het aantal regels in een bestand die overeenkomen met de opgegeven string: + +`fgrep {{[-c|--count]}} {{zoek_string}} {{pad/naar/bestand}}` + +- Toon de regelnummers in het bestand samen met de regel die overeenkomt: + +`fgrep {{[-n|--line-number]}} {{zoek_string}} {{pad/naar/bestand}}` + +- Toon alle regels behalve de regels die de string bevatten: + +`fgrep {{[-v|--invert-match]}} {{zoek_string}} {{pad/naar/bestand}}` + +- Toon bestandsnamen waarvan de inhoud minimaal één keer overeenkomt met de string: + +`fgrep {{[-l|--files-with-matches]}} {{zoek_string}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` diff --git a/pages.nl/common/file-rename.md b/pages.nl/common/file-rename.md new file mode 100644 index 00000000000000..15e7ee252af649 --- /dev/null +++ b/pages.nl/common/file-rename.md @@ -0,0 +1,7 @@ +# file-rename + +> Dit commando is een alias van `rename`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.nl/common/file.md b/pages.nl/common/file.md new file mode 100644 index 00000000000000..49402f9f2a6a93 --- /dev/null +++ b/pages.nl/common/file.md @@ -0,0 +1,24 @@ +# file + +> Bepaal bestandstype. +> Meer informatie: . + +- Geef een beschrijving van het type van een bepaald bestand: + +`file {{pad/naar/bestand}}` + +- Kijk binnen een gezipt bestand en bepaal de bestandstype(s) erin: + +`file {{[-z|--uncompress]}} {{pad/naar/bestand.zip}}` + +- Sta toe dat `file` werkt met speciale bestanden of apparaatbestanden: + +`file {{[-s|--special-files]}} {{pad/naar/bestand}}` + +- Stop niet bij de eerste overeenkomende bestandstype; blijf doorgaan totdat het einde van het bestand is bereikt: + +`file {{[-k|--keep-going]}} {{pad/naar/bestand}}` + +- Bepaal de MIME-coderingstype van een bestand: + +`file {{[-i|--mime]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/find.md b/pages.nl/common/find.md new file mode 100644 index 00000000000000..2ece96b8d3260e --- /dev/null +++ b/pages.nl/common/find.md @@ -0,0 +1,36 @@ +# find + +> Vind bestanden of mappen onder een mappenboom, recursief. +> Meer informatie: . + +- Vind bestanden op basis van extensie: + +`find {{root_pad}} -name '{{*.ext}}'` + +- Vind bestanden die overeenkomen met meerdere pad-/naam patronen: + +`find {{root_pad}} -path '{{**/path/**/*.ext}}' -or -name '{{*patroon*}}'` + +- Vind mappen die overeenkomen met een gegeven naam, hoofdletterongevoelig: + +`find {{root_pad}} -type d -iname '{{*lib*}}'` + +- Vind bestanden die overeenkomen met een gegeven patroon, met uitsluiting van specifieke paden: + +`find {{root_pad}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- Vind bestanden die overeenkomen met een gegeven groottebereik, waarbij de recursieve diepte beperkt is tot "1": + +`find {{root_pad}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- Voer een commando uit voor elk bestand (gebruik `{}` binnen het commando om de bestandsnaam te openen): + +`find {{root_pad}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- Vind alle bestanden die vandaag zijn gewijzigd en geef de resultaten door aan een enkel commando als argumenten: + +`find {{root_pad}} -daystart -mtime {{-1}} -exec {{tar -cvf archief.tar}} {} \+` + +- Vind lege bestanden (0 bytes) of mappen en verwijder ze uitvoerig: + +`find {{root_pad}} -type {{f|d}} -empty -delete -print` diff --git a/pages.nl/common/finger.md b/pages.nl/common/finger.md new file mode 100644 index 00000000000000..9fd0f4f6032ce3 --- /dev/null +++ b/pages.nl/common/finger.md @@ -0,0 +1,24 @@ +# finger + +> Programma voor het opzoeken van gebruikersinformatie. +> Meer informatie: . + +- Toon informatie over momenteel ingelogde gebruikers: + +`finger` + +- Toon informatie over een specifieke gebruiker: + +`finger {{gebruikersnaam}}` + +- Toon de loginnaam, echte naam, terminalnaam en andere informatie van de gebruiker: + +`finger -s` + +- Geef een output in meerdere regels weer met dezelfde informatie als `-s` evenals de thuisdirectory van de gebruiker, thuistelefoonnummer, loginshell, mailstatus, enz.: + +`finger -l` + +- Voorkom het matchen tegen gebruikersnamen en gebruik alleen login namen: + +`finger -m` diff --git a/pages.nl/common/fish.md b/pages.nl/common/fish.md new file mode 100644 index 00000000000000..e908d4bdd45afb --- /dev/null +++ b/pages.nl/common/fish.md @@ -0,0 +1,36 @@ +# fish + +> De Friendly Interactive SHell, een commandoregel-interpreteerder die is ontworpen voor gebruiksvriendelijkheid. +> Meer informatie: . + +- Start een interactieve shell sessie: + +`fish` + +- Start een interactieve shell sessie zonder opstartconfiguraties te laden: + +`fish {{[-N|--no-config]}}` + +- Voer specifieke commando's uit: + +`fish {{[-c|--command]}} "{{echo 'fish is executed'}}"` + +- Voer een specifiek script uit: + +`fish {{pad/naar/script.fish}}` + +- Controleer een specifiek script op syntax fouten: + +`fish {{[-N|--no-execute]}} {{pad/naar/script.fish}}` + +- Voer specifieke commando's uit van `stdin`: + +`{{echo "echo 'fish is executed'"}} | fish` + +- Start een interactieve shell sessie in privémodus, waarbij de shell geen toegang heeft tot oude geschiedenis of nieuwe geschiedenis opslaat: + +`fish {{[-P|--private]}}` + +- Definieer en exporteer een omgevingsvariabele die blijft na het herstarten van de shell (ingebouwd): + +`set {{[-U|--universal]}} {{[-x|--export]}} {{variabele_naam}} {{variabele_waarde}}` diff --git a/pages.nl/common/fmt.md b/pages.nl/common/fmt.md new file mode 100644 index 00000000000000..55d650e67e4bc1 --- /dev/null +++ b/pages.nl/common/fmt.md @@ -0,0 +1,20 @@ +# fmt + +> Herformatteer een tekstbestand door de alinea's samen te voegen en de regelbreedte te beperken tot een aantal tekens (standaard 75). +> Meer informatie: . + +- Herformatteer een bestand: + +`fmt {{pad/naar/bestand}}` + +- Herformatteer een bestand met uitvoerregels van (hoogstens) `n` tekens: + +`fmt {{[-w|--width]}} {{n}} {{pad/naar/bestand}}` + +- Herformatteer een bestand zonder regels die korter zijn dan de opgegeven breedte samen te voegen: + +`fmt {{[-s|--split-only]}} {{pad/naar/bestand}}` + +- Herformatteer een bestand met uniforme spatiëring (1 spatie tussen woorden en 2 spaties tussen alinea's): + +`fmt {{[-u|--uniform-spacing]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/fold.md b/pages.nl/common/fold.md new file mode 100644 index 00000000000000..c568e5f081905a --- /dev/null +++ b/pages.nl/common/fold.md @@ -0,0 +1,16 @@ +# fold + +> Breek elke regel in een invoerbestand af om in een gespecificeerde breedte te passen en toon het in `stdout`. +> Meer informatie: . + +- Breek elke regel af op de standaard breedte (80 tekens): + +`fold {{pad/naar/bestand}}` + +- Breek elke regel af op een breedte van "30": + +`fold -w30 {{pad/naar/bestand}}` + +- Breek elke regel af op een breedte van "5" en breek de regel bij spaties (zet elk door spaties gescheiden woord op een nieuwe regel, woorden langer dan 5 tekens worden afgebroken): + +`fold -w5 -s {{pad/naar/bestand}}` diff --git a/pages.nl/common/for.md b/pages.nl/common/for.md new file mode 100644 index 00000000000000..0cad7830e3592e --- /dev/null +++ b/pages.nl/common/for.md @@ -0,0 +1,28 @@ +# for + +> Voer een commando meerdere keren uit. +> Meer informatie: . + +- Itereer over de command line argumenten: + +`for {{variabele}}; do {{echo $variabele}}; done` + +- Voer de gegeven commando's uit voor elk van de opgegeven items: + +`for {{variabele}} in {{item1 item2 ...}}; do {{echo "Loop wordt uitgevoerd"}}; done` + +- Itereer over een gegeven reeks nummers: + +`for {{variabele}} in {{{van..tot..stap}}}; do {{echo "Loop wordt uitgevoerd"}}; done` + +- Itereer over een gegeven lijst van bestanden: + +`for {{variabele}} in {{pad/naar/bestand1 pad/naar/bestand2 ...}}; do {{echo "Loop wordt uitgevoerd"}}; done` + +- Itereer over een gegeven lijst van directories: + +`for {{variabele}} in {{pad/naar/directory1/ pad/naar/directory2/ ...}}; do {{echo "Loop wordt uitgevoerd"}}; done` + +- Voer een gegeven commando uit in elke directory: + +`for {{variabele}} in */; do (cd "${{variabele}}" || continue; {{echo "Loop wordt uitgevoerd"}}) done` diff --git a/pages.nl/common/fossil-add.md b/pages.nl/common/fossil-add.md new file mode 100644 index 00000000000000..3c1c455e966db7 --- /dev/null +++ b/pages.nl/common/fossil-add.md @@ -0,0 +1,12 @@ +# fossil add + +> Plaats bestanden of mappen in Fossil versiebeheer. +> Meer informatie: . + +- Plaats een bestand of map in versiebeheer, zodat het in de huidige checkout zit: + +`fossil add {{pad/naar/map_of_bestand}}` + +- Verwijder alle toegevoegde bestanden uit de huidige checkout: + +`fossil add --reset` diff --git a/pages.nl/common/fossil-ci.md b/pages.nl/common/fossil-ci.md new file mode 100644 index 00000000000000..6545c6a3782890 --- /dev/null +++ b/pages.nl/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Dit commando is een alias van `fossil commit`. + +- Bekijk de documentatie van het originele commando: + +`tldr fossil commit` diff --git a/pages.nl/common/fossil-commit.md b/pages.nl/common/fossil-commit.md new file mode 100644 index 00000000000000..80fe10fbb94bfd --- /dev/null +++ b/pages.nl/common/fossil-commit.md @@ -0,0 +1,20 @@ +# fossil commit + +> Commit bestanden naar een Fossil repository. +> Meer informatie: . + +- Maak een nieuwe versie met alle aanpassingen in de huidige checkout; de gebruiker zal gevraagd worden voor een opmerking: + +`fossil {{[ci|commit]}}` + +- Maak een nieuwe versie met alle aanpassingen in de huidige checkout en maak gebruik van de gespecificeerde opmerking: + +`fossil {{[ci|commit]}} {{[-m|--comment]}} "{{opmerking}}"` + +- Maak een nieuwe versie met alle aanpassingen in de huidige checkout met een comment ingelezen vanaf een specifiek bestand: + +`fossil {{[ci|commit]}} {{[-M|--message-file]}} {{pad/naar/commit_message_bestand}}` + +- Maak een nieuwe versie met aanpassingen van de gespecificeerde bestanden; de gebruiker zal gevraagd worden voor een opmerking: + +`fossil {{[ci|commit]}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` diff --git a/pages.nl/common/fossil-delete.md b/pages.nl/common/fossil-delete.md new file mode 100644 index 00000000000000..0e75e9a553e13b --- /dev/null +++ b/pages.nl/common/fossil-delete.md @@ -0,0 +1,17 @@ +# fossil delete + +> Verwijder bestanden of mappen uit Fossil-versiebeheer. +> Zie ook: `fossil forget`. +> Meer informatie: . + +- Verwijder een bestand of map uit Fossil-versiebeheer: + +`fossil {{[rm|delete]}} {{pad/naar/bestand_of_map}}` + +- Een bestand of map verwijderen uit Fossil-versiebeheer en ook van de schijf verwijderen: + +`fossil {{[rm|delete]}} --hard {{pad/naar/bestand_of_map}}` + +- Alle eerder verwijderde en niet-vastgelegde bestanden opnieuw toevoegen aan Fossil-versiebeheer: + +`fossil {{[rm|delete]}} --reset` diff --git a/pages.nl/common/fossil-forget.md b/pages.nl/common/fossil-forget.md new file mode 100644 index 00000000000000..07307737326792 --- /dev/null +++ b/pages.nl/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Dit commando is een alias van `fossil rm`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr fossil rm` diff --git a/pages.nl/common/fossil-init.md b/pages.nl/common/fossil-init.md new file mode 100644 index 00000000000000..0f9e649ffadf43 --- /dev/null +++ b/pages.nl/common/fossil-init.md @@ -0,0 +1,9 @@ +# fossil init + +> Initialiseer een nieuwe repository voor een project. +> Zie ook: `fossil clone`. +> Meer informatie: . + +- Maak een nieuwe repository in een opgegeven bestand: + +`fossil init {{pad/naar/bestand}}` diff --git a/pages.nl/common/fossil-new.md b/pages.nl/common/fossil-new.md new file mode 100644 index 00000000000000..aa0fd214e975b8 --- /dev/null +++ b/pages.nl/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Dit commando is een alias van `fossil init`. + +- Bekijk de documentatie van het originele commando: + +`tldr fossil init` diff --git a/pages.nl/common/fossil-rm.md b/pages.nl/common/fossil-rm.md new file mode 100644 index 00000000000000..6479eefdd02519 --- /dev/null +++ b/pages.nl/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Dit commando is een alias van `fossil delete`. + +- Bekijk de documentatie van het originele commando: + +`tldr fossil delete` diff --git a/pages.nl/common/fossil.md b/pages.nl/common/fossil.md new file mode 100644 index 00000000000000..57f37a5d321f40 --- /dev/null +++ b/pages.nl/common/fossil.md @@ -0,0 +1,21 @@ +# fossil + +> Gedistribueerd versiebheer systeem. +> Sommige subcommando's zoals `db` hebben hun eigen documentatie. +> Meer informatie: . + +- Voer een Fossil subcommando uit: + +`fossil {{subcommando}}` + +- Toon de algemene help: + +`fossil help` + +- Toon de help voor een specifiek subcommando (zoals `add`, `commit`, etc.): + +`fossil help {{subcommando}}` + +- Toon de versie: + +`fossil version` diff --git a/pages.nl/common/freshclam.md b/pages.nl/common/freshclam.md new file mode 100644 index 00000000000000..cc9fbfb1daf5e4 --- /dev/null +++ b/pages.nl/common/freshclam.md @@ -0,0 +1,8 @@ +# freshclam + +> Update virus definities voor ClamAV antivirus programma. +> Meer informatie: . + +- Update virus definities: + +`freshclam` diff --git a/pages.nl/common/frp.md b/pages.nl/common/frp.md new file mode 100644 index 00000000000000..7c6cb85271a4e8 --- /dev/null +++ b/pages.nl/common/frp.md @@ -0,0 +1,12 @@ +# frp + +> Fast Reverse Proxy: snel netwerktunnels opzetten om bepaalde services bloot te stellen aan het internet of andere externe netwerken. +> Meer informatie: . + +- Bekijk de documentatie voor `frpc`, het `frp`-clientcomponent: + +`tldr frpc` + +- Bekijk de documentatie voor `frps`, het `frp`-servercomponent: + +`tldr frps` diff --git a/pages.nl/common/frpc.md b/pages.nl/common/frpc.md new file mode 100644 index 00000000000000..f3e4de29b0bf4a --- /dev/null +++ b/pages.nl/common/frpc.md @@ -0,0 +1,29 @@ +# frpc + +> Maak verbinding met een `frps`-server om verbindingen op de huidige host te proxyen. +> Onderdeel van `frp`. +> Meer informatie: . + +- Start de service met het standaardconfiguratiebestand (aangenomen wordt dat dit `frps.ini` is in de huidige map): + +`frpc` + +- Start de service met het nieuwere TOML-configuratiebestand (`frps.toml` in plaats van `frps.ini`) in de huidige map: + +`frpc {{[-c|--config]}} ./frps.toml` + +- Start de service met een specifiek configuratiebestand: + +`frpc {{[-c|--config]}} {{pad/naar/bestand}}` + +- Controleer of het configuratiebestand geldig is: + +`frpc verify {{[-c|--config]}} {{pad/naar/bestand}}` + +- Toon het script om autocompletion op te zetten voor Bash, fish, PowerShell of Zsh: + +`frpc completion {{bash|fish|powershell|zsh}}` + +- Toon de versie: + +`frpc {{[-v|--version]}}` diff --git a/pages.nl/common/frps.md b/pages.nl/common/frps.md new file mode 100644 index 00000000000000..c043af27a37227 --- /dev/null +++ b/pages.nl/common/frps.md @@ -0,0 +1,29 @@ +# frps + +> Stel snel een reverse proxy-service in. +> Onderdeel van `frp`. +> Meer informatie: . + +- Start de service met het standaardconfiguratiebestand (aangenomen wordt dat dit `frps.ini` is in de huidige map): + +`frps` + +- Start de service met het nieuwere TOML-configuratiebestand (`frps.toml` in plaats van `frps.ini`) in de huidige map: + +`frps {{[-c|--config]}} ./frps.toml` + +- Start de service met een specifiek configuratiebestand: + +`frps {{[-c|--config]}} {{pad/naar/bestand}}` + +- Controleer of het configuratiebestand geldig is: + +`frps verify {{[-c|--config]}} {{pad/naar/bestand}}` + +- Toon het script om autocompletion op te zetten voor Bash, fish, PowerShell of Zsh: + +`frps completion {{bash|fish|powershell|zsh}}` + +- Toon de versie: + +`frps {{[-v|--version]}}` diff --git a/pages.nl/common/ftp.md b/pages.nl/common/ftp.md new file mode 100644 index 00000000000000..b8dca783ec09eb --- /dev/null +++ b/pages.nl/common/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> Hulpmiddelen om via het File Transfer Protocol met een server te communiceren. +> Meer informatie: . + +- Verbinden met een FTP-server: + +`ftp {{ftp.example.com}}` + +- Verbinden met een FTP-server met opgave van IP-adres en poort: + +`ftp {{ip_adres}} {{poort}}` + +- Omschakelen naar binaire overdrachtsmodus (grafische bestanden, gecomprimeerde bestanden, etc): + +`binary` + +- Meerdere bestanden overdragen zonder bevestiging voor elk bestand: + +`prompt off` + +- Meerdere bestanden downloaden (glob-expressie): + +`mget {{*.png}}` + +- Meerdere bestanden uploaden (glob-expressie): + +`mput {{*.zip}}` + +- Meerdere bestanden verwijderen op de externe server: + +`mdelete {{*.txt}}` + +- Een bestand hernoemen op de externe server: + +`rename {{originele_bestandsnaam}} {{nieuwe_bestandsnaam}}` diff --git a/pages.nl/common/fzf.md b/pages.nl/common/fzf.md new file mode 100644 index 00000000000000..a0f5e32093ddef --- /dev/null +++ b/pages.nl/common/fzf.md @@ -0,0 +1,29 @@ +# fzf + +> Fuzzy finder. +> Vergelijkbaar met `sk`. +> Meer informatie: . + +- Start `fzf` op alle bestanden in de opgegeven map: + +`find {{pad/naar/map}} -type f | fzf` + +- Start `fzf` voor actieve processen: + +`ps aux | fzf` + +- Selecteer meerdere bestanden met `` en schrijf naar een bestand: + +`find {{pad/naar/map}} -type f | fzf {{[-m|--multi]}} > {{pad/naar/bestand}}` + +- Start `fzf` met een bepaalde query: + +`fzf {{[-q|--query]}} "{{query}}"` + +- Start `fzf` op items die beginnen met `core` en eindigen met `go`, `rb` of `py`: + +`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"` + +- Start `fzf` op items die niet overeenkomen met `pyc`, maar wel `travis` bevatten: + +`fzf {{[-q|--query]}} '!pyc travis'` diff --git a/pages.nl/common/g++.md b/pages.nl/common/g++.md new file mode 100644 index 00000000000000..a43509eee948b0 --- /dev/null +++ b/pages.nl/common/g++.md @@ -0,0 +1,37 @@ +# g++ + +> Compileer C++-bronbestanden. +> Onderdeel van GCC (GNU Compiler Collection). +> Meer informatie: . + +- Compileer een bronbestand in een uitvoerbaar bestand: + +`g++ {{pad/naar/bron1.cpp pad/naar/bron2.cpp ...}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon alle fouten en waarschuwingen: + +`g++ {{pad/naar/bron.cpp}} -Wall {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon veelvoorkomende waarschuwingen, debug-symbolen in de uitvoer, en optimaliseer zonder debugging te beïnvloeden: + +`g++ {{pad/naar/bron.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Kies een taalstandaard om mee te compileren (C++98/C++11/C++14/C++17): + +`g++ {{pad/naar/bron.cpp}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Voeg bibliotheken toe die zich op een ander pad bevinden dan het bronbestand: + +`g++ {{pad/naar/bron.cpp}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}} -I{{pad/naar/header}} -L{{pad/naar/bibliotheek}} -l{{bibliotheek_naam}}` + +- Compileer en link meerdere bronbestanden tot één uitvoerbaar bestand: + +`g++ {{[-c|--compile]}} {{pad/naar/bron1.cpp pad/naar/bron2.cpp ...}} && g++ {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}} {{pad/naar/bron1.o pad/naar/bron2.o ...}}` + +- Optimaliseer het gecompileerde programma voor prestaties: + +`g++ {{pad/naar/bron.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon de versie: + +`g++ --version` diff --git a/pages.nl/common/gcal.md b/pages.nl/common/gcal.md new file mode 100644 index 00000000000000..abd9740f715bf4 --- /dev/null +++ b/pages.nl/common/gcal.md @@ -0,0 +1,24 @@ +# gcal + +> Toon een kalender. +> Meer informatie: . + +- Toon een kalender voor de huidige maand: + +`gcal` + +- Toon de kalender voor de maand februari van het jaar 2010: + +`gcal 2 2010` + +- Toon een kalender met weeknummers: + +`gcal --with-week-number` + +- Verander de startdag van de week naar de eerste dag van de week (maandag): + +`gcal --starting-day=1` + +- Toon de vorige, huidige en volgende maand rondom vandaag: + +`gcal .` diff --git a/pages.nl/common/gcc.md b/pages.nl/common/gcc.md new file mode 100644 index 00000000000000..50d749c4e79fdf --- /dev/null +++ b/pages.nl/common/gcc.md @@ -0,0 +1,37 @@ +# gcc + +> Preprocess en compileer C en C++ bronbestanden, monteer en koppel ze vervolgens samen. +> Onderdeel van GCC (GNU Compiler Collection). +> Meer informatie: . + +- Compileer meerdere bronbestanden in een uitvoerbaar bestand: + +`gcc {{pad/naar/bron1.c pad/naar/bron2.c ...}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon (bijna) alle fouten en waarschuwingen: + +`gcc {{pad/naar/bron.c}} -Wall {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon veelvoorkomende waarschuwingen, debug-symbolen in de uitvoer, en optimaliseer zonder debugging te beïnvloeden: + +`gcc {{pad/naar/bron.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Voeg bibliotheken toe die zich op een ander pad bevinden dan het bronbestand: + +`gcc {{pad/naar/bron.c}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}} -I{{pad/naar/header}} -L{{pad/naar/bibliotheek}} -l{{bibliotheek_naam}}` + +- Compileer broncode naar Assembler instructies: + +`gcc {{[-S|--assemble]}} {{pad/naar/bron.c}}` + +- Compileer broncode zonder deze te linken: + +`gcc {{[-c|--compile]}} {{pad/naar/bron.c}}` + +- Optimaliseer het gecompileerde programma voor prestaties: + +`gcc {{pad/naar/bron.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{pad/naar/uitvoerbaar_bestand}}` + +- Toon de versie: + +`gcc --version` diff --git a/pages.nl/common/gcrane-copy.md b/pages.nl/common/gcrane-copy.md new file mode 100644 index 00000000000000..6329ff2b6fa688 --- /dev/null +++ b/pages.nl/common/gcrane-copy.md @@ -0,0 +1,20 @@ +# gcrane copy + +> Kopieer efficiënt een afbeelding van de ene locatie naar de andere terwijl de digestwaarde behouden blijft. +> Meer informatie: . + +- Kopieer een afbeelding van bron naar doel: + +`gcrane {{[cp|copy]}} {{bron}} {{doel}}` + +- Stel het maximale aantal gelijktijdige kopieën in, standaard is 20: + +`gcrane copy {{bron}} {{doel}} {{[-j|--jobs]}} {{aantal_kopieën}}` + +- Of de repositories doorzocht moeten worden: + +`gcrane copy {{bron}} {{doel}} {{[-r|--recursive]}}` + +- Toon de help: + +`gcrane copy {{[-h|--help]}}` diff --git a/pages.nl/common/gcrane-gc.md b/pages.nl/common/gcrane-gc.md new file mode 100644 index 00000000000000..7d77e9344393d9 --- /dev/null +++ b/pages.nl/common/gcrane-gc.md @@ -0,0 +1,18 @@ +# gcrane gc + +> Toon images die niet getagged zijn. +> Zal berekenen welke images opgeruimd kunnen worden met garbage-collection. +> Dit kan uitgevoerd worden met `gcrane delete` om ze daadwerkelijk op te ruimen. +> Meer informatie: . + +- Toon niet getagde images: + +`gcrane gc {{repository}}` + +- Recursief door de repositories heen: + +`gcrane gc {{repository}} {{[-r|--recursive]}}` + +- Toon de help: + +`gcrane gc {{[-h|--help]}}` diff --git a/pages.nl/common/gcrane-help.md b/pages.nl/common/gcrane-help.md new file mode 100644 index 00000000000000..05b2bda8ad2bd1 --- /dev/null +++ b/pages.nl/common/gcrane-help.md @@ -0,0 +1,12 @@ +# gcrane help + +> Help biedt hulp voor elk commando in de applicatie. +> Meer informatie: . + +- Toon de help voor een subcommando: + +`gcrane help {{commando}}` + +- Toon de help: + +`gcrane help {{[-h|--help]}}` diff --git a/pages.nl/common/gcrane-ls.md b/pages.nl/common/gcrane-ls.md new file mode 100644 index 00000000000000..46a855e85dd5d2 --- /dev/null +++ b/pages.nl/common/gcrane-ls.md @@ -0,0 +1,21 @@ +# gcrane ls + +> Toon de tags in een repository. +> Complexere vorm dan `crane ls`, die het mogelijk maakt om tags, manifesten en sub-repositories te tonen. +> Meer informatie: . + +- Toon de tags: + +`gcrane ls {{repository}}` + +- Formatteer de reactie van de registry als JSON: + +`gcrane ls {{repository}} --json` + +- Of door repositories te recursief te doorlopen: + +`gcrane ls {{repository}} {{[-r|--recursive]}}` + +- Toon de help: + +`gcrane ls {{[-h|--help]}}` diff --git a/pages.nl/common/gcrane.md b/pages.nl/common/gcrane.md new file mode 100644 index 00000000000000..7a1f681cc7ef5b --- /dev/null +++ b/pages.nl/common/gcrane.md @@ -0,0 +1,35 @@ +# gcrane + +> Beheer tool voor containerafbeeldingen. +> Deze tool implementeert een superset van de `crane`-commando's, met aanvullende commando's die specifiek zijn voor Google Container Registry (`gcr.io`). +> Sommige subcommando's zoals `append`, `auth`, `copy`, enz. hebben hun eigen gebruiksdocumentatie die te vinden is onder `crane`. +> Sommige subcommando's zoals `completion`, `gc`, `help` zijn specifiek voor gcrane en hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Log in op een register: + +`gcrane auth login {{register}} {{[-u|--username]}} {{gebruiker}} {{[-p|--password]}} {{wachtwoord}}` + +- Toon tags, manifesten en sub-repositories: + +`gcrane ls {{register}}/{{project_id}}` + +- Kopieer images van een register naar een andere: + +`gcrane cp {{[-r|--recursive]}} {{bronregister}}/{{project_id}}/{{repository}} {{doelregister}}/{{project_id}}/{{repository}}` + +- Toon images die door de garbage collecter verzameld kunnen worden: + +`gcrane gc {{register}}/{{project_id}}/{{repository}}` + +- Verwijder images die door de garbage collecter verzameld kunnen worden: + +`gcrane gc {{register}}/{{project_id}}/{{repository}} | xargs {{[-n|--max-args]}} 1 gcrane delete` + +- Toon een specifiek register met een specifieke ID: + +`gcrane ls {{gcr.io}}/{{mijn-project-id}}` + +- Migreer alle images van het VS-register naar het EU-register: + +`gcrane cp {{[-r|--recursive]}} {{gcr.io}}/{{mijn-project-id}}/{{repository}} {{eu.gcr.io}}/{{mijn-project-id}}/{{repository}}` diff --git a/pages.nl/common/gdb.md b/pages.nl/common/gdb.md new file mode 100644 index 00000000000000..b8c84108d03a72 --- /dev/null +++ b/pages.nl/common/gdb.md @@ -0,0 +1,28 @@ +# gdb + +> De GNU Debugger. +> Meer informatie: . + +- Debug een uitvoerbaar bestand: + +`gdb {{pad/naar/uitvoerbaar_bestand}}` + +- Koppel een proces aan `gdb`: + +`gdb {{[-p|--pid]}} {{procID}}` + +- Debug met een core-bestand: + +`gdb {{[-c|--core]}} {{pad/naar/core}} {{pad/naar/uitvoerbaar_bestand}}` + +- Voer een bepaald GDB-commando uit bij het starten: + +`gdb {{[-ex|--eval-command]}} "{{commando's}}" {{pad/naar/uitvoerbaar_bestand}}` + +- Start `gdb` en geef argumenten mee aan het uitvoerbaar bestand: + +`gdb --args {{pad/naar/uitvoerbaar_bestand}} {{argument1 argument2 ...}}` + +- Sla `debuginfod`- en paginationprompts over en toon de backtrace: + +`gdb {{[-c|--core]}} {{pad/naar/core}} {{pad/naar/uitvoerbaar_bestand}} -iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt` diff --git a/pages.nl/common/gdm-binary.md b/pages.nl/common/gdm-binary.md new file mode 100644 index 00000000000000..42dc450b55736a --- /dev/null +++ b/pages.nl/common/gdm-binary.md @@ -0,0 +1,7 @@ +# gdm-binary + +> Dit commando is een alias van `gdm`. + +- Bekijk de documentatie van het originele commando: + +`tldr gdm` diff --git a/pages.nl/common/gdm.md b/pages.nl/common/gdm.md new file mode 100644 index 00000000000000..207617b3b5d5bc --- /dev/null +++ b/pages.nl/common/gdm.md @@ -0,0 +1,29 @@ +# gdm + +> De GNOME Display Manager (GDM) is een vervanging voor de X Display Manager (XDM). +> Zie ook: `gdm-binary`, `gdmsetup`, `gdm-stop`, `gdm-restart`, `gdm-safe-restart`. +> Meer informatie: . + +- Voer de GNOME Display Manager-applicatie uit: + +`gdm` + +- Voorkom dat `gdm` als een daemon achtergrondproces wordt uitgevoerd: + +`gdm --nodaemon` + +- Schakel `gdm`-beheer van lokale console X servers uit voor headless of externe omgevingen: + +`gdm --no-console` + +- Voorkom het opschonen van omgevingsvariabelen die beginnen met `LD_`: + +`gdm --preserve-ld-vars` + +- Toon de help: + +`gdm --help` + +- Toon de versie: + +`gdm --version` diff --git a/pages.nl/common/gemtopbm.md b/pages.nl/common/gemtopbm.md new file mode 100644 index 00000000000000..a78e9f7a8f23ca --- /dev/null +++ b/pages.nl/common/gemtopbm.md @@ -0,0 +1,8 @@ +# gemtopbm + +> Dit commando is vervangen door `gemtopnm`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr gemtopnm` diff --git a/pages.nl/common/gemtopnm.md b/pages.nl/common/gemtopnm.md new file mode 100644 index 00000000000000..e2e869629f0167 --- /dev/null +++ b/pages.nl/common/gemtopnm.md @@ -0,0 +1,16 @@ +# gemtopnm + +> Converteer een GEM afbeelding naar een PNM afbeelding. +> Meer informatie: . + +- Converteer een GEM afbeelding naar een PNM afbeelding: + +`gemtopnm {{pad/naar/bestand.img}} > {{pad/naar/uitvoer.pnm}}` + +- Beschrijf de inhoud van een gespecificeerde GEM afbeelding: + +`gemtopnm {{[-d|-debug]}} {{pad/naar/bestand.img}}` + +- Toon de versie: + +`gemtopnm -version` diff --git a/pages.nl/common/get-nodeinstalllocation.md b/pages.nl/common/get-nodeinstalllocation.md new file mode 100644 index 00000000000000..85b2153668d912 --- /dev/null +++ b/pages.nl/common/get-nodeinstalllocation.md @@ -0,0 +1,9 @@ +# Get-NodeInstallLocation + +> Haal de huidige Node.js installatiemap voor `ps-nvm` op. +> Onderdeel van `ps-nvm` en kan alleen uitgevoerd worden in PowerShell. +> Meer informatie: . + +- Haal de huidige Node.js installatiemap op: + +`Get-NodeInstallLocation` diff --git a/pages.nl/common/get-nodeversions.md b/pages.nl/common/get-nodeversions.md new file mode 100644 index 00000000000000..35c453ff8f904d --- /dev/null +++ b/pages.nl/common/get-nodeversions.md @@ -0,0 +1,17 @@ +# Get-NodeVersions + +> Toon geïnstalleerde en beschikbare Node.js versies voor `ps-nvm`. +> Onderdeel van `ps-nvm` en kan alleen uitgevoerd worden in PowerShell. +> Meer informatie: . + +- Toon alle geïnstalleerde Node.js versies: + +`Get-NodeVersions` + +- Toon alle beschikbare Node.js versies: + +`Get-NodeVersions -Remote` + +- Toon alle beschikbare Node.js 20.x versies: + +`Get-NodeVersions -Remote -Filter ">=20.0.0 <21.0.0"` diff --git a/pages.nl/common/getadusers.py.md b/pages.nl/common/getadusers.py.md new file mode 100644 index 00000000000000..52927de4dcf1d6 --- /dev/null +++ b/pages.nl/common/getadusers.py.md @@ -0,0 +1,21 @@ +# GetADUsers.py + +> Haal een lijst met gebruikers op van Active Directory, inclusief attributen zoals laatste logon timestamp en email. +> Onderdeel van de Impacket suite. +> Meer informatie: . + +- Ga over alle Active Directory gebruikers en de attributen: + +`GetADUsers.py -all -dc-ip {{domain_controller_ip}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}` + +- Verkrijg informatie voor een specifieke gebruiker: + +`GetADUsers.py -user {{gebruiker}} -dc-ip {{domain_controller_ip}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}` + +- Extraheer gebruiksdetials door gebruik te maken van pass-the-hash authentication: + +`GetADUsers.py -all -dc-ip {{domain_controller_ip}} -hashes {{LM_Hash}}:{{NT_Hash}} {{domein}}/{{gebruikersnaam}}` + +- Sla de output op in een bestand: + +`GetADUsers.py -all -dc-ip {{domain_controller_ip}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}} > {{pad/naar/output.txt}}` diff --git a/pages.nl/common/getarch.py.md b/pages.nl/common/getarch.py.md new file mode 100644 index 00000000000000..5736ba194f924e --- /dev/null +++ b/pages.nl/common/getarch.py.md @@ -0,0 +1,21 @@ +# getArch.py + +> Bepaal de OS architectuur (x86 og x64) van een remote Windows systeem. +> Onderdeel van de Impacket suite. +> Meer informatie: . + +- Controleer de architectuur van een enkel doel-systeem: + +`getArch.py -target {{doel}}` + +- Controleer de architectuur van meerdere doelen van een bestand (één per regel): + +`getArch.py -targets {{pad/naar/doelen_file}}` + +- Stel een custom socket timeout in (standaard is 2 seconden): + +`getArch.py -target {{target}} -timeout {{seconden}}` + +- Schakel debug-modus in voor gedetailleerde uitvoer: + +`getArch.py -target {{target}} -debug` diff --git a/pages.nl/common/getnpusers.py.md b/pages.nl/common/getnpusers.py.md new file mode 100644 index 00000000000000..d7a6a92487e22a --- /dev/null +++ b/pages.nl/common/getnpusers.py.md @@ -0,0 +1,25 @@ +# GetNPUsers.py + +> Ga over alle Active Directory accounts met Kerberos pre-authentication uitgeschakeld, die vatbaar kunnen zijn voor AS-REP roasing aanvallen. +> Onderdeel van de Impacket suite. +> Meer informatie: . + +- Ga over alle gebruikers met Kerberos pre-authentication uitgeschakeld (standaard anonieme enumeration): + +`GetNPUsers.py {{domein}}/ -usersfile {{pad/naar/gebruikerslijst}} -dc-ip {{domain_controller_ip}} -no-pass` + +- Voer AS-REP roasting uit en dump kraakbare hashes voor offline kraking: + +`GetNPUsers.py {{domein}}/ -usersfile {{pad/naar/gebruikerslijst}} -dc-ip {{domain_controller_ip}} -no-pass -request` + +- Authenticeer met valide credentials (als anonieme binding is uitgeschakeld): + +`GetNPUsers.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}} -usersfile {{pad/naar/gebruikerslijst}} -dc-ip {{domain_controller_ip}}` + +- Gebruik pass-the-hash authenticatie in plaats van een wachtwoord: + +`GetNPUsers.py {{domein}}/{{gebruikersnaam}} -hashes {{LM_Hash}}:{{NT_Hash}} -usersfile {{pad/naar/gebruikerslijst}} -dc-ip {{domain_controller_ip}}` + +- Sla de output op in een bestand: + +`GetNPUsers.py {{domein}}/ -usersfile {{pad/naar/gebruikerslijst}} -dc-ip {{domain_controller_ip}} -request > {{pad/naar/output.txt}}` diff --git a/pages.nl/common/getuserspns.py.md b/pages.nl/common/getuserspns.py.md new file mode 100644 index 00000000000000..6d09c7ad60c64d --- /dev/null +++ b/pages.nl/common/getuserspns.py.md @@ -0,0 +1,25 @@ +# GetUserSPNs.py + +> Haal Service Principal Names (SPN's) op die gekoppeld zijn aan Active Directory gebruikersaccounts. +> Onderdeel van de Impacket-suite. +> Meer informatie: . + +- Som gebruikersaccounts met een SPN op en vraag hun Kerberos TGS tickets op: + +`GetUserSPNs.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}} -dc-ip {{domain_controller_ip}}` + +- Gebruik pass-the-hash authenticatie: + +`GetUserSPNs.py {{domein}}/{{gebruikersnaam}} -hashes {{LM_Hash}}:{{NT_Hash}} -dc-ip {{domain_controller_ip}}` + +- Sla de uitvoer op in een bestand: + +`GetUserSPNs.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}} -dc-ip {{domain_controller_ip}} -outputfile {{pad/naar/uitvoerbestand}}` + +- Vraag alleen TGS tickets op: + +`GetUserSPNs.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}} -dc-ip {{domain_controller_ip}} -request` + +- Vraag alleen TGS tickets aan met pass-the-hash authenticatie: + +`GetUserSPNs.py {{domein}}/{{gebruikersnaam}} -dc-ip {{domain_controller_ip}} -hashes {{LM_Hash}}:{{NT_Hash}} -request` diff --git a/pages.nl/common/gh-agent-task.md b/pages.nl/common/gh-agent-task.md new file mode 100644 index 00000000000000..130930d671cd7a --- /dev/null +++ b/pages.nl/common/gh-agent-task.md @@ -0,0 +1,24 @@ +# gh agent-task + +> Beheer GitHub-agenttaken. +> Meer informatie: . + +- Toon de nieuwste agenttaken: + +`gh {{[agent|agent-task]}} list` + +- Maak een nieuwe agenttaak aan voor de huidige repository: + +`gh {{[agent|agent-task]}} create "{{Verbeter de prestatie van de dataverwerkingspijplijn}}"` + +- Maak een nieuwe agenttaak aan vanuit een bestand: + +`gh {{[agent|agent-task]}} create {{[-F|--from-file]}} {{pad/naar/bestand}}` + +- Toon details over een specifieke agenttaak: + +`gh {{[agent|agent-task]}} view {{sessie_id|pr_nummer|url|branch}}` + +- Toon de log van een specifieke agenttaak: + +`gh {{[agent|agent-task]}} view --log {{sessie_id|pr_nummer|url|branch}}` diff --git a/pages.nl/common/gh-agent.md b/pages.nl/common/gh-agent.md new file mode 100644 index 00000000000000..70ace806c86c33 --- /dev/null +++ b/pages.nl/common/gh-agent.md @@ -0,0 +1,7 @@ +# gh agent + +> Dit commando is een alias van `gh agent-task`. + +- Bekijk de documentatie van het originele commando: + +`tldr gh agent-task` diff --git a/pages.nl/common/gh-codespace.md b/pages.nl/common/gh-codespace.md new file mode 100644 index 00000000000000..c0d8999db36665 --- /dev/null +++ b/pages.nl/common/gh-codespace.md @@ -0,0 +1,36 @@ +# gh codespace + +> Verbind en beheer je codespaces in GitHub. +> Meer informatie: . + +- Maak interactief een codespace aan in GitHub: + +`gh {{[cs|codespace]}} create` + +- Toon alle beschikbare codespaces: + +`gh {{[cs|codespace]}} {{[ls|list]}}` + +- Verbind interactief met een codespace via SSH: + +`gh {{[cs|codespace]}} ssh` + +- Kopieer interactief een specifiek bestand naar de codespace: + +`gh {{[cs|codespace]}} cp {{pad/naar/bron_file}} remote:{{pad/naar/remote_bestand}}` + +- Toon interactief de poorten van een codespace: + +`gh {{[cs|codespace]}} ports` + +- Toon interactief de logs van een codespace: + +`gh {{[cs|codespace]}} logs` + +- Verwijder interactief een codespace: + +`gh {{[cs|codespace]}} delete` + +- Toon de help voor een subcommando: + +`gh {{[cs|codespace]}} {{code|cp|create|delete|edit|...}} {{[-h|--help]}}` diff --git a/pages.nl/common/gh-cs.md b/pages.nl/common/gh-cs.md new file mode 100644 index 00000000000000..839bf34e5eb92f --- /dev/null +++ b/pages.nl/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Dit commando is een alias van `gh codespace`. + +- Bekijk de documentatie van het originele commando: + +`tldr gh codespace` diff --git a/pages.nl/common/gh-pr.md b/pages.nl/common/gh-pr.md new file mode 100644 index 00000000000000..a6b534015fd99a --- /dev/null +++ b/pages.nl/common/gh-pr.md @@ -0,0 +1,37 @@ +# gh pr + +> Beheer GitHub pull requests. +> Sommige subcommando's zoals `create` hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Maak een pull request aan: + +`gh pr {{[new|create]}}` + +- Bekijk een specifieke pull request lokaal: + +`gh {{[co|pr checkout]}} {{pr_nummer|url|branch}}` + +- Bekijk de gemaakte wijzigingen in de pull request voor de huidige branch: + +`gh pr diff` + +- Keur de pull request voor de huidige branch goed: + +`gh pr review {{[-a|--approve]}}` + +- Voeg de pull request voor de huidige branch interactief samen: + +`gh pr merge` + +- Bewerk een pull request interactief: + +`gh pr edit` + +- Bewerk de basisbranch van een pull request: + +`gh pr edit {{[-B|--base]}} {{branch_naam}}` + +- Toon de status van de pull requests van de huidige repository: + +`gh pr status` diff --git a/pages.nl/common/gh.md b/pages.nl/common/gh.md new file mode 100644 index 00000000000000..663056a5ed66b2 --- /dev/null +++ b/pages.nl/common/gh.md @@ -0,0 +1,37 @@ +# gh + +> Werk gemakkelijk met GitHub. +> Sommige subcommando's zoals `config` hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Kloon een GitHub-repository lokaal: + +`gh repo clone {{eigenaar}}/{{repository}}` + +- Maak een nieuw issue aan: + +`gh issue {{[new|create]}}` + +- Bekijk en filter de openstaande issues van de huidige repository: + +`gh issue {{[ls|list]}}` + +- Bekijk een issue in de standaard webbrowser: + +`gh issue view {{[-w|--web]}} {{issue_nummer|url}}` + +- Maak een pull request aan: + +`gh pr {{[new|create]}}` + +- Bekijk een pull request in de standaard webbrowser: + +`gh pr view {{[-w|--web]}} {{pr_nummer|url|branch}}` + +- Bekijk een pull request lokaal: + +`gh {{[co|pr checkout]}} {{pr_number|url|branch}}` + +- Controleer de status van pull requests van een repository: + +`gh pr status` diff --git a/pages.nl/common/ghcup.md b/pages.nl/common/ghcup.md new file mode 100644 index 00000000000000..20e356156d0cd3 --- /dev/null +++ b/pages.nl/common/ghcup.md @@ -0,0 +1,33 @@ +# ghcup + +> Haskell-toolchain installer. +> Installeer, beheer en update Haskell-toolchains. +> Meer informatie: . + +- Start de interactieve TUI: + +`ghcup tui` + +- Toon beschikbare GHC/Cabal-versies: + +`ghcup list` + +- Installeer de aanbevolen GHC-versie: + +`ghcup install ghc` + +- Installeer een specifieke GHC-versie: + +`ghcup install ghc {{versie}}` + +- Activeer een bepaalde GHC-versie: + +`ghcup set ghc {{versie}}` + +- Installeer cabal-install: + +`ghcup install cabal` + +- Update `ghcup`: + +`ghcup upgrade` diff --git a/pages.nl/common/git-add.md b/pages.nl/common/git-add.md new file mode 100644 index 00000000000000..e757f39f1ac68d --- /dev/null +++ b/pages.nl/common/git-add.md @@ -0,0 +1,36 @@ +# git add + +> Voegt gewijzigde bestanden toe aan de index. +> Meer informatie: . + +- Voeg een bestand toe aan de index: + +`git add {{pad/naar/bestand}}` + +- Voeg alle bestanden toe (bijgehouden en niet bijgehouden): + +`git add {{[-A|--all]}}` + +- Voeg alle bestanden toe in de huidige map: + +`git add .` + +- Voeg alleen al bijgehouden bestanden toe: + +`git add {{[-u|--update]}}` + +- Voeg ook genegeerde bestanden toe: + +`git add {{[-f|--force]}}` + +- Interactief delen van bestanden toevoegen: + +`git add {{[-p|--patch]}}` + +- Interactief delen van een opgegeven bestand toevoegen: + +`git add {{[-p|--patch]}} {{pad/naar/bestand}}` + +- Interactief een bestand toevoegen: + +`git add {{[-i|--interactive]}}` diff --git a/pages.nl/common/git-bisect.md b/pages.nl/common/git-bisect.md new file mode 100644 index 00000000000000..87fb06ee291c03 --- /dev/null +++ b/pages.nl/common/git-bisect.md @@ -0,0 +1,25 @@ +# git bisect + +> Gebruik binair zoeken om de commit te vinden die een bug heeft geïntroduceerd. +> Git springt automatisch heen en weer in de commitgrafiek om de foutieve commit te vinden. +> Meer informatie: . + +- Start een bisect op een commitbereik dat is begrensd door een bekende, foutieve commit en een bekende, schone (meestal oudere) commit: + +`git bisect start {{foutieve_commit}} {{schone_commit}}` + +- Voor elke commit die `git bisect` selecteert, markeer het als "bad" of "good" na het testen voor het probleem: + +`git bisect {{good|bad}}` + +- Sluit de bisect-sessie en keer terug naar de vorige branch: + +`git bisect reset` + +- Sla een commit over tijdens een bisect (b.v. een commit die de tests faalt vanwege een ander probleem): + +`git bisect skip` + +- Toon een log van wat er tot nu toe is gedaan: + +`git bisect log` diff --git a/pages.nl/common/git-blame.md b/pages.nl/common/git-blame.md new file mode 100644 index 00000000000000..9d3f96347fc7f7 --- /dev/null +++ b/pages.nl/common/git-blame.md @@ -0,0 +1,32 @@ +# git blame + +> Toon commit hash en laatste auteur op elke regel van een bestand. +> Meer informatie: . + +- Toon bestand met auteursnaam en commit hash op elke regel: + +`git blame {{pad/naar/bestand}}` + +- Toon bestand met e-mailadres van de auteur en commit hash op elke regel: + +`git blame {{[-e|--show-email]}} {{pad/naar/bestand}}` + +- Toon bestand met auteursnaam en commit hash op elke regel op een specifieke commit: + +`git blame {{commit}} {{pad/naar/bestand}}` + +- Toon bestand met auteursnaam en commit hash op elke regel vóór een specifieke commit: + +`git blame {{commit}}~ {{pad/naar/bestand}}` + +- Ga naar de bovenliggende commit van een specifieke commit en volg een specifieke tekst en de 10 regels die daarop volgen: + +`git blame -L '/{{text}}/',+10 {{a82812aa}}^ {{pad/naar/bestand}}` + +- Toon auteursnaam en commit hash informatie voor een specifieke regelbereik: + +`git blame -L {{start_regel}},{{eind_regel}} {{pad/naar/bestand}}` + +- Negeer witruimtes en regelverplaatsingen: + +`git blame -w -C -C -C {{pad/naar/bestand}}` diff --git a/pages.nl/common/git-branch.md b/pages.nl/common/git-branch.md new file mode 100644 index 00000000000000..fe1190f56c363d --- /dev/null +++ b/pages.nl/common/git-branch.md @@ -0,0 +1,36 @@ +# git branch + +> Hoofd Git-commando voor het werken met branches. +> Meer informatie: . + +- Toon alle branches (lokaal en extern; de huidige branch is aangegeven met `*`): + +`git branch {{[-a|--all]}}` + +- Toon welke branches een specifieke Git commit in hun geschiedenis hebben: + +`git branch {{[-a|--all]}} --contains {{commit_hash}}` + +- Toon de naam van de huidige branch: + +`git branch --show-current` + +- Creëer een nieuwe branch gebaseerd op de huidige commit: + +`git branch {{branch_naam}}` + +- Creëer een nieuwe branch gebaseerd op een specifieke commit: + +`git branch {{branch_naam}} {{commit_hash}}` + +- Hernoem een branch (je moet eerst wisselen naar een andere branch): + +`git branch {{[-m|--move]}} {{oude_branch_naam}} {{nieuwe_branch_naam}}` + +- Verwijder een lokale branch (je moet eerst wisselen naar een andere branch): + +`git branch {{[-d|--delete]}} {{branch_naam}}` + +- Verwijder een externe branch: + +`git push {{externe_naam}} {{[-d|--delete]}} {{externe_branch_naam}}` diff --git a/pages.nl/common/git-clean.md b/pages.nl/common/git-clean.md new file mode 100644 index 00000000000000..82c079d39c14e0 --- /dev/null +++ b/pages.nl/common/git-clean.md @@ -0,0 +1,28 @@ +# git clean + +> Verwijder bestanden die niet worden bijgehouden door Git uit de werkmap. +> Meer informatie: . + +- Verwijder niet-bijgehouden bestanden: + +`git clean` + +- Verwijder niet-bijgehouden bestanden interactief: + +`git clean {{[-i|--interactive]}}` + +- Toon welke bestanden verwijderd zouden worden zonder ze echt te verwijderen: + +`git clean {{[-n|--dry-run]}}` + +- Verwijder niet-bijgehouden bestanden geforceerd: + +`git clean {{[-f|--force]}}` + +- Verwijder niet-bijgehouden mappen ([d]) geforceerd: + +`git clean {{[-f|--force]}} -d` + +- Verwijder niet-bijgehouden bestanden, inclusief genegeerde ([x]) bestanden (bestanden die worden genegeerd door `.gitignore` en `.git/info/exclude`): + +`git clean -x` diff --git a/pages.nl/common/git-clone.md b/pages.nl/common/git-clone.md new file mode 100644 index 00000000000000..008bece23098c1 --- /dev/null +++ b/pages.nl/common/git-clone.md @@ -0,0 +1,36 @@ +# git clone + +> Kloon een bestaande repository. +> Meer informatie: . + +- Kloon een bestaande repository naar een nieuwe map (de standaardmap is de repository-naam): + +`git clone {{externe_repository_locatie}} {{pad/naar/map}}` + +- Kloon een bestaande repository en zijn submodules: + +`git clone --recursive {{externe_repository_locatie}}` + +- Kloon alleen de `.git`-map van een bestaande repository: + +`git clone {{[-n|--no-checkout]}} {{externe_repository_locatie}}` + +- Kloon een lokale repository: + +`git clone {{[-l|--local]}} {{pad/naar/lokale_repository}}` + +- Kloon in stille modus: + +`git clone {{[-q|--quiet]}} {{externe_repository_locatie}}` + +- Kloon een bestaande repository, waarbij alleen de nieuwste 10 commits op de standaard-branch worden opgehaald (handig om tijd te besparen): + +`git clone --depth 10 {{externe_repository_locatie}}` + +- Kloon een bestaande repository, waarbij alleen een specifieke branch wordt opgehaald: + +`git clone {{[-b|--branch]}} {{naam}} --single-branch {{externe_repository_locatie}}` + +- Kloon een bestaande repository met een specifiek SSH-commando: + +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i pad/naar/privésleutel}}" {{externe_repository_locatie}}` diff --git a/pages.nl/common/git-cola.md b/pages.nl/common/git-cola.md new file mode 100644 index 00000000000000..6e7eede7c864b0 --- /dev/null +++ b/pages.nl/common/git-cola.md @@ -0,0 +1,24 @@ +# git cola + +> Een krachtige Git GUI met een gelikte en intuïtieve gebruikersinterface. +> Meer informatie: . + +- Start git cola: + +`git cola` + +- Start git cola in amend mode: + +`git cola --amend` + +- Vraag voor een Git repository. (Standaard de huidige map): + +`git cola --prompt` + +- Open de Git repository op de genoemde plek: + +`git cola {{[-r|--repo]}} {{pad/naar/git-repository}}` + +- Voer het pad filter uit voor de status widget: + +`git cola {{[-s|--status-filter]}} {{filter}}` diff --git a/pages.nl/common/git-commit.md b/pages.nl/common/git-commit.md new file mode 100644 index 00000000000000..bac7a2dc5275d4 --- /dev/null +++ b/pages.nl/common/git-commit.md @@ -0,0 +1,32 @@ +# git commit + +> Commit bestanden naar de repository. +> Meer informatie: . + +- Commit toegevoegde bestanden naar de repository met een bericht: + +`git commit {{[-m|--message]}} "{{bericht}}"` + +- Commit toegevoegde bestanden met een bericht dat uit een bestand wordt gelezen: + +`git commit {{[-F|--file]}} {{pad/naar/commit_bericht_bestand}}` + +- Voeg automatisch alle bewerkte en verwijderde bestanden toe en commit met een bericht: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{bericht}}"` + +- Commit toegevoegde bestanden en onderteken ze met de opgegeven GPG-sleutel (of de sleutel die is gedefinieerd in het configuratiebestand als er geen argument is opgegeven): + +`git commit {{[-S|--gpg-sign]}} {{sleutel_id}} {{[-m|--message]}} "{{bericht}}"` + +- Voeg de huidige wijzigingen toe aan de laatste commit en herschrijf deze, waarbij de commit hash wordt aangepast: + +`git commit --amend` + +- Commit alleen specifieke (al toegevoegde) bestanden: + +`git commit {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Maak een commit, zelfs als er geen toegevoegde bestanden zijn: + +`git commit {{[-m|--message]}} "{{bericht}}" --allow-empty` diff --git a/pages.nl/common/git-diff.md b/pages.nl/common/git-diff.md new file mode 100644 index 00000000000000..ab5262b6acd900 --- /dev/null +++ b/pages.nl/common/git-diff.md @@ -0,0 +1,36 @@ +# git diff + +> Toon veranderingen in bijgehouden bestanden. +> Meer informatie: . + +- Toon niet-toegevoegde veranderingen: + +`git diff` + +- Toon alle niet-gecommitte (inclusief de toegevoegde) veranderingen: + +`git diff HEAD` + +- Toon alleen toegevoegde (nog niet gecommitte) veranderingen: + +`git diff --staged` + +- Toon veranderingen van alle commits sinds een bepaalde datum/tijd (een datumexpressie, b.v. "1 week 2 days" of een ISO-datum): + +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` + +- Toon diff-statistieken, zoals gewijzigde bestanden, histogram en het totale aantal ingevoegde/verwijderde regels: + +`git diff --stat {{commit}}` + +- Toon een samenvatting van aangemaakte bestanden, hernoemingen en moduswijzigingen sinds een bepaalde commit: + +`git diff --summary {{commit}}` + +- Vergelijk een bestand tussen twee branches of commits: + +`git diff {{branch_1}}..{{branch_2}} {{pad/naar/bestand}}` + +- Vergelijk verschillende bestanden van de huidige branch met een andere branch: + +`git diff {{andere_branch}}:{{pad/naar/bestand2}} {{pad/naar/bestand1}}` diff --git a/pages.nl/common/git-init.md b/pages.nl/common/git-init.md new file mode 100644 index 00000000000000..1e69b2ba2f3bbb --- /dev/null +++ b/pages.nl/common/git-init.md @@ -0,0 +1,20 @@ +# git init + +> Initialiseer een nieuwe lokale Git-repository. +> Meer informatie: . + +- Initialiseer een nieuwe lokale repository: + +`git init` + +- Initialiseer een repository met de opgegeven naam voor de initiële branch: + +`git init {{[-b|--initial-branch]}} {{branch_naam}}` + +- Initialiseer een repository die SHA256 gebruikt voor object-hashes (vereist Git-versie 2.29+): + +`git init --object-format sha256` + +- Initialiseer een eenvoudige repository, geschikt voor gebruik als externe SSH-server: + +`git init --bare` diff --git a/pages.nl/common/git-lfs.md b/pages.nl/common/git-lfs.md new file mode 100644 index 00000000000000..d5c11aeff612af --- /dev/null +++ b/pages.nl/common/git-lfs.md @@ -0,0 +1,36 @@ +# git lfs + +> Werk met grote bestanden in Git repositories. +> Meer informatie: . + +- Initialiseer Git LFS: + +`git lfs install` + +- Houd bestanden bij die overeenkomen met een glob: + +`git lfs track '{{*.bin}}'` + +- Verander de Git LFS-eindpunt URL (handig als de LFS-server gescheiden is van de Git-server): + +`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_eindpunt_url}}` + +- Toon patronen die worden bijgehouden: + +`git lfs track` + +- Toon bestanden die worden bijgehouden en gecommit zijn: + +`git lfs ls-files` + +- Push alle Git LFS-objecten naar de externe server (handig als er fouten optreden): + +`git lfs push --all {{externe_naam}} {{branch_naam}}` + +- Haal alle Git LFS-objecten op: + +`git lfs fetch` + +- Vervang pointerbestanden met werkelijke Git LFS-objecten: + +`git lfs checkout` diff --git a/pages.nl/common/git-log.md b/pages.nl/common/git-log.md new file mode 100644 index 00000000000000..886386e8dfc1e2 --- /dev/null +++ b/pages.nl/common/git-log.md @@ -0,0 +1,36 @@ +# git log + +> Toon een geschiedenis van commits. +> Meer informatie: . + +- Toon de volgorde van commits, beginnend bij de huidige, in omgekeerd chronologische volgorde van de Git-repository in de huidige map: + +`git log` + +- Toon de geschiedenis van een bepaald bestand of map, inclusief verschillen: + +`git log {{[-p|--patch]}} {{pad/naar/bestand_of_map}}` + +- Toon een overzicht van welke bestand(en) zijn gewijzigd in elke commit: + +`git log --stat` + +- Toon een grafiek van de commits in de huidige branch met alleen de eerste regel van elk commitbericht: + +`git log --oneline --graph` + +- Toon een grafiek van alle commits, tags en branches in de hele repository: + +`git log --oneline --decorate --all --graph` + +- Toon alleen commits met berichten die een specifieke string bevatten, waarbij hoofdlettergebruik wordt genegeerd: + +`git log {{[-i|--regexp-ignore-case]}} --grep {{zoekstring}}` + +- Toon de laatste N commits van een bepaalde auteur: + +`git log {{[-n|--max-count]}} {{nummer}} --author "{{auteur}}"` + +- Toon commits tussen twee datums (yyyy-mm-dd): + +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages.nl/common/git-merge.md b/pages.nl/common/git-merge.md new file mode 100644 index 00000000000000..cc5d5788c1156a --- /dev/null +++ b/pages.nl/common/git-merge.md @@ -0,0 +1,24 @@ +# git merge + +> Voeg branches samen. +> Meer informatie: . + +- Voeg een branch samen met de huidige branch: + +`git merge {{branch_naam}}` + +- Bewerk het samenvoegingsbericht: + +`git merge {{[-e|--edit]}} {{branch_naam}}` + +- Voeg een branch samen en maak een samenvoegingscommit: + +`git merge --no-ff {{branch_naam}}` + +- Breek een samenvoeging af in geval van conflicten: + +`git merge --abort` + +- Voeg samen met behulp van een specifieke strategie: + +`git merge {{[-s|--strategy]}} {{strategie}} {{[-X|--strategy-option]}} {{strategie_keuze}} {{branch_naam}}` diff --git a/pages.nl/common/git-mv.md b/pages.nl/common/git-mv.md new file mode 100644 index 00000000000000..c16ba1d1e1c2d8 --- /dev/null +++ b/pages.nl/common/git-mv.md @@ -0,0 +1,16 @@ +# git mv + +> Verplaats of hernoem bestanden en update de Git-index. +> Meer informatie: . + +- Verplaats een bestand binnen de repository en voeg de verplaatsing toe aan de volgende commit: + +`git mv {{pad/naar/bestand}} {{pad/naar/bestemming}}` + +- Hernoem een bestand of map en voeg de hernoeming toe aan de volgende commit: + +`git mv {{pad/naar/bestand_of_map}} {{pad/naar/bestemming}}` + +- Overschrijf het bestand of de map op het doelpad als het bestaat: + +`git mv {{[-f|--force]}} {{pad/naar/bestand_of_map}} {{pad/naar/bestemming}}` diff --git a/pages.nl/common/git-pull.md b/pages.nl/common/git-pull.md new file mode 100644 index 00000000000000..f72234a8d86a2a --- /dev/null +++ b/pages.nl/common/git-pull.md @@ -0,0 +1,16 @@ +# git pull + +> Haal een branch op vanuit een externe repository en voeg deze samen met de lokale repository. +> Meer informatie: . + +- Download wijzigingen uit de standaard externe repository en voeg deze samen: + +`git pull` + +- Download wijzigingen uit de standaard externe repository en gebruik fast-forward: + +`git pull {{[-r|--rebase]}}` + +- Download wijzigingen uit de opgegeven externe repository en branch en voeg deze vervolgens samen met HEAD: + +`git pull {{externe_naam}} {{branch}}` diff --git a/pages.nl/common/git-push.md b/pages.nl/common/git-push.md new file mode 100644 index 00000000000000..4f1e791e845bbd --- /dev/null +++ b/pages.nl/common/git-push.md @@ -0,0 +1,36 @@ +# git push + +> Push commits naar een externe repository. +> Meer informatie: . + +- Stuur lokale aanpassingen in de huidige branch naar de standaard externe tegenhanger: + +`git push` + +- Stuur aanpassingen van een specifieke lokale branch naar zijn externe tegenhanger: + +`git push {{externe_naam}} {{lokale_branch}}` + +- Stuur veranderingen van een specifieke lokale branch naar naar zijn externe tegenhanger en stel de externe branch in als de standaard push/pull-doel voor de lokale branch: + +`git push {{[-u|--set-upstream]}} {{externe_naam}} {{lokale_branch}}` + +- Stuur veranderingen van een specifieke lokale branch naar een specifieke externe branch: + +`git push {{externe_naam}} {{lokale_branch}}:{{externe_branch}}` + +- Stuur aanpassingen op alle lokale branches naar hun tegenhangers in de opgegeven externe repository: + +`git push --all {{externe_naam}}` + +- Verwijder een branch in een externe repository: + +`git push {{externe_naam}} {{[-d|--delete]}} {{externe_branch}}` + +- Verwijder externe branches die geen lokale tegenhanger hebben: + +`git push --prune {{externe_naam}}` + +- Publiceer tags die nog niet in de externe repository staan: + +`git push --tags` diff --git a/pages.nl/common/git-reflog.md b/pages.nl/common/git-reflog.md new file mode 100644 index 00000000000000..72433368318357 --- /dev/null +++ b/pages.nl/common/git-reflog.md @@ -0,0 +1,16 @@ +# git reflog + +> Toon een log met veranderingen in lokale referenties zoals HEAD, branches en tags. +> Meer informatie: . + +- Toon de reflog voor HEAD: + +`git reflog` + +- Toon de reflog voor een bepaalde branch: + +`git reflog {{branch_naam}}` + +- Toon alleen de laatste 5 vermeldingen in de reflog: + +`git reflog {{[-n|--max-count]}} 5` diff --git a/pages.nl/common/git-reset.md b/pages.nl/common/git-reset.md new file mode 100644 index 00000000000000..c6ffe13429130c --- /dev/null +++ b/pages.nl/common/git-reset.md @@ -0,0 +1,33 @@ +# git reset + +> Maak commits of niet-toegevoegde wijzigingen ongedaan door de huidige Git HEAD te herstellen naar de opgegeven status. +> Als een pad is opgegeven, werkt dit als "unstage"; als een commit-hash of branch is meegegeven, werkt dit als "uncommit". +> Meer informatie: . + +- Maak alle toevoegingen ongedaan: + +`git reset` + +- Maak toevoegingen van bepaalde bestand(en) ongedaan: + +`git reset {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Maak toevoegingen van delen van een bestand interactief ongedaan: + +`git reset {{[-p|--patch]}} {{pad/naar/bestand}}` + +- Maak de laatste commit ongedaan, waarbij de wijzigingen (en alle andere ongecommitte wijzigingen) in de bestandssysteem blijven: + +`git reset HEAD~` + +- Maak de laatste twee commits ongedaan en voeg hun veranderingen toe aan de index, d.w.z. toegevoegd voor commit: + +`git reset --soft HEAD~2` + +- Verwijder alle ongecommitte veranderingen, toegevoegd of niet (voor alleen niet-toegevoegde wijzigingen, gebruik `git checkout`): + +`git reset --hard` + +- Herstel de repository naar een bepaalde commit, waarbij gecommitte, toegevoegde en niet-gecommite wijzigingen sindsdien worden verwijderd: + +`git reset --hard {{commit}}` diff --git a/pages.nl/common/git-stage.md b/pages.nl/common/git-stage.md new file mode 100644 index 00000000000000..5da13d81d47afe --- /dev/null +++ b/pages.nl/common/git-stage.md @@ -0,0 +1,7 @@ +# git stage + +> Dit commando is een alias van `git add`. + +- Bekijk de documentatie van het originele commando: + +`tldr git add` diff --git a/pages.nl/common/git-stash.md b/pages.nl/common/git-stash.md new file mode 100644 index 00000000000000..c59081da916ca6 --- /dev/null +++ b/pages.nl/common/git-stash.md @@ -0,0 +1,36 @@ +# git stash + +> Sla lokale Git-wijzigingen op in een tijdelijke locatie. +> Meer informatie: . + +- Sla huidige veranderingen op met een bericht, behalve nieuwe (niet-bijgehouden) bestanden: + +`git stash push {{[-m|--message]}} {{stash_message}}` + +- Sla huidige veranderingen op, inclusief nieuwe niet-bijgehouden bestanden: + +`git stash {{[-u|--include-untracked]}}` + +- Selecteer interactief delen van gewijzigde bestanden om op te slaan: + +`git stash {{[-p|--patch]}}` + +- Toon alle stashes (toont stash-naam, gerelateerde branch en bericht): + +`git stash list` + +- Toon de wijzigingen als een patch tussen de stash (standaard is `stash@{0}`) en de commit van toen de stash voor het eerst werd aangemaakt: + +`git stash show {{[-p|--patch]}} {{stash@{0}}}` + +- Pas een stash toe (standaard is de recenste, genaamd `stash@{0}`): + +`git stash apply {{facultatieve_stash_naam_of_commit}}` + +- Verwijder of pas een stash toe (standaard is `stash@{0}`) en verwijder deze uit de stash-lijst als het toepassen geen conflicten veroorzaakt: + +`git stash pop {{facultatieve_stash_naam}}` + +- Verwijder alle stashes: + +`git stash clear` diff --git a/pages.nl/common/git-switch.md b/pages.nl/common/git-switch.md new file mode 100644 index 00000000000000..6c5be62172e413 --- /dev/null +++ b/pages.nl/common/git-switch.md @@ -0,0 +1,33 @@ +# git switch + +> Wissel tussen Git branches. Vereist Git-versie 2.23+. +> Zie ook: `git checkout`. +> Meer informatie: . + +- Wissel naar een bestaande branch: + +`git switch {{branch_naam}}` + +- Creëer een nieuwe branch en wissel ernaar: + +`git switch {{[-c|--create]}} {{branch_naam}}` + +- Creëer een nieuwe branch gebaseerd op een bestaande commit en wissel ernaar: + +`git switch {{[-c|--create]}} {{branch_naam}} {{commit}}` + +- Wissel naar de vorige branch: + +`git switch -` + +- Wissel naar een branch en update alle submodules zodat ze overeenkomen: + +`git switch --recurse-submodules {{branch_naam}}` + +- Wissel naar een branch en voeg automatisch de huidige branch en alle niet-vastgelegde aanpassingen hierin samen: + +`git switch {{[-m|--merge]}} {{branch_naam}}` + +- Wissel naar een tag: + +`git switch {{[-d|--detach]}} {{tag}}` diff --git a/pages.nl/common/git-tag.md b/pages.nl/common/git-tag.md new file mode 100644 index 00000000000000..aa222ec6e04ebf --- /dev/null +++ b/pages.nl/common/git-tag.md @@ -0,0 +1,37 @@ +# git tag + +> Creëer, toon, verwijder of verifieer tags. +> Een tag is een statische verwijzing naar een commit. +> Meer informatie: . + +- Toon alle tags: + +`git tag` + +- Maak een tag aan met de opgegeven naam die verwijst naar de huidige commit: + +`git tag {{tag_naam}}` + +- Maak een tag aan met de opgegeven naam die verwijst naar een gegeven commit: + +`git tag {{tag_naam}} {{commit}}` + +- Maak een geannoteerde tag aan met het opgegeven bericht: + +`git tag {{tag_naam}} {{[-m|--message]}} {{tag_bericht}}` + +- Verwijder de tag met de opgegeven naam: + +`git tag {{[-d|--delete]}} {{tag_naam}}` + +- Haal geüpdatete tags op van de remote: + +`git fetch {{[-t|--tags]}}` + +- Push een tag naar de remote: + +`git push origin tag {{tag_naam}}` + +- Toon alle tags die een bepaalde commit bevatten (HEAD indien niet gespecificeerd): + +`git tag --contains {{commit}}` diff --git a/pages.nl/common/git.md b/pages.nl/common/git.md index fd5387a7e60cd8..0af35e980fad11 100644 --- a/pages.nl/common/git.md +++ b/pages.nl/common/git.md @@ -1,28 +1,37 @@ # git > Gedistribueerd versiebeheersysteem. -> Meer informatie: . +> Sommige subcommando's zoals `commit`, `add`, `branch`, `switch`, `push`, etc. hebben hun eigen documentatie. +> Meer informatie: . -- Controleer de Git versie: +- Creëer een lege Git repository: -`git --version` +`git init` -- Toon algemene hulp: +- Kloon een externe Git repository vanaf het internet: -`git --help` +`git clone {{https://example.com/repo.git}}` -- Toon hulp bij een Git-subcommando (zoals `commit`, `log`, enz.): +- Toon de status van de lokale repository: -`git help {{subcommando}}` +`git status` -- Voer een Git-subcommando uit: +- Voeg alle veranderingen toe aan een commit: -`git {{subcommando}}` +`git add {{[-A|--all]}}` -- Voer een Git-subcommando uit op een aangepast repository-rootpad: +- Commit veranderingen naar de versiegeschiedenis: -`git -C {{pad/naar/repo}} {{subcommando}}` +`git commit {{[-m|--message]}} {{bericht_tekst}}` -- Voer een Git-subcommando met een gegeven configuratieset: +- Push lokale commits naar een externe repository: -`git -c '{{config.sleutel}}={{waarde}}' {{subcommando}}` +`git push` + +- Haal alle veranderingen op van een externe repository: + +`git pull` + +- Stel alles opnieuw in zoals het was in de laatste commit: + +`git reset --hard; git clean {{[-f|--force]}}` diff --git a/pages.nl/common/gnmic-sub.md b/pages.nl/common/gnmic-sub.md new file mode 100644 index 00000000000000..3681badf5310fc --- /dev/null +++ b/pages.nl/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Dit commando is een alias van `gnmic subscribe`. + +- Bekijk de documentatie van het originele commando: + +`tldr gnmic subscribe` diff --git a/pages.nl/common/gnmic-subscribe.md b/pages.nl/common/gnmic-subscribe.md new file mode 100644 index 00000000000000..02943d6addccbb --- /dev/null +++ b/pages.nl/common/gnmic-subscribe.md @@ -0,0 +1,24 @@ +# gnmic subscribe + +> Abonneer op gnmic netwerk apparaat status updates. +> Meer informatie: . + +- Abonneer op doel status updates onder de subtree van een specifiek pad: + +`gnmic {{[-a|--address]}} {{ip:poort}} subscribe --path {{pad}}` + +- Abonneer op een doel met een interval van 30 seconden (standaard is 10 seconden): + +`gnmic {{[-a|--address]}} {{ip:poort}} subscribe --path {{pad}} --sample-interval 30s` + +- Abonneer op een doel met een interval en alleen op updates bij verandering: + +`gnmic {{[-a|--address]}} {{ip:poort}} subscribe --path {{pad}} --stream-mode on-change --heartbeat-interval {{1m}}` + +- Abonneer op een doel voor alleen een update: + +`gnmic {{[-a|--address]}} {{ip:poort}} subscribe --path {{pad}} --mode once` + +- Abonneer op een doel en specificeer de response codering (json_ietf): + +`gnmic {{[-a|--address]}} {{ip:poort}} subscribe --path {{pad}} {{[-e|--encoding]}} json_ietf` diff --git a/pages.nl/common/google-chrome.md b/pages.nl/common/google-chrome.md new file mode 100644 index 00000000000000..2c28ca73432dd4 --- /dev/null +++ b/pages.nl/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Dit commando is een alias van `chromium`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr chromium` diff --git a/pages.nl/common/gpg.md b/pages.nl/common/gpg.md new file mode 100644 index 00000000000000..d908ae5bf8a196 --- /dev/null +++ b/pages.nl/common/gpg.md @@ -0,0 +1,36 @@ +# gpg + +> GNU Privacy Guard, een OpenPGP encryptie- en ondertekeningstool. +> Meer informatie: . + +- Maak interactief een GPG publieke en private sleutel: + +`gpg {{[--full-gen-key|--full-generate-key]}}` + +- Geef alle sleutels van de publieke sleutelring weer: + +`gpg {{[-k|--list-keys]}}` + +- Onderteken `doc.txt` zonder encryptie (schrijft uitvoer naar `doc.txt.asc`): + +`gpg --clearsign {{doc.txt}}` + +- Versleutel en onderteken `doc.txt` voor `alice@example.com` en `bob@example.com` (schrijft uitvoer naar `doc.txt.gpg`): + +`gpg {{[-es|--encrypt --sign]}} {{[-r|--receiver]}} {{alice@example.com}} {{[-r|--receiver]}} {{bob@example.com}} {{doc.txt}}` + +- Versleutel `doc.txt` met alleen een wachtwoordzin (uitvoer naar `doc.txt.gpg`): + +`gpg {{[-c|--symmetric]}} {{doc.txt}}` + +- Ontcijfer `doc.txt.gpg` (uitvoer naar `stdout`): + +`gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}` + +- Importeer een publieke sleutel: + +`gpg --import {{public.gpg}}` + +- Exporteer de publieke/privé sleutel voor `alice@example.com` (uitvoer naar `stdout`): + +`gpg {{--export|--export-secret-keys}} {{[-a|--armor]}} {{alice@example.com}}` diff --git a/pages.nl/common/gpg2.md b/pages.nl/common/gpg2.md new file mode 100644 index 00000000000000..817586564269dd --- /dev/null +++ b/pages.nl/common/gpg2.md @@ -0,0 +1,7 @@ +# gpg2 + +> Dit commando is een alias van `gpg`. + +- Bekijk de documentatie van het originele commando: + +`tldr gpg` diff --git a/pages.nl/common/grep.md b/pages.nl/common/grep.md new file mode 100644 index 00000000000000..5422dadcfaa651 --- /dev/null +++ b/pages.nl/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Zoek patronen in bestanden met behulp van reguliere expressies. +> Meer informatie: . + +- Zoek naar een patroon in een bestand: + +`grep "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek naar een exacte string (schakelt reguliere expressies uit): + +`grep {{[-F|--fixed-strings]}} "{{exacte_string}}" {{pad/naar/bestand}}` + +- Zoek naar een patroon in alle bestanden in een map, recursief, toon regelnummers van overeenkomsten, negeer binaire bestanden: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{zoekpatroon}}" {{pad/naar/map}}` + +- Gebruik uitgebreide reguliere expressies (ondersteunt `?`, `+`, `{}`, `()` en `|`), in hoofdletterongevoelige modus: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Print 3 regels context rondom, voor of na elke overeenkomst: + +`grep {{--context|--before-context|--after-context}} 3 "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Print bestandsnaam en regelnummers voor elke overeenkomst met kleuruitvoer: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek naar regels die overeenkomen met een patroon en print alleen de overeenkomstige tekst: + +`grep {{[-o|--only-matching]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek in `stdin` naar regels die niet overeenkomen met een patroon: + +`cat {{pad/naar/bestand}} | grep {{[-v|--invert-match]}} "{{zoekpatroon}}"` diff --git a/pages.nl/common/groups.md b/pages.nl/common/groups.md new file mode 100644 index 00000000000000..7d8ac0cdeb1107 --- /dev/null +++ b/pages.nl/common/groups.md @@ -0,0 +1,13 @@ +# groups + +> Toon groepslidmaatschappen voor een gebruiker. +> Zie ook: `groupadd`, `groupdel`, `groupmod`. +> Meer informatie: . + +- Toon groepslidmaatschappen voor de huidige gebruiker: + +`groups` + +- Toon groepslidmaatschappen voor een lijst van gebruikers: + +`groups {{gebruikersnaam1 gebruikersnaam2 ...}}` diff --git a/pages.nl/common/hd.md b/pages.nl/common/hd.md new file mode 100644 index 00000000000000..f9ffbb750e95a7 --- /dev/null +++ b/pages.nl/common/hd.md @@ -0,0 +1,7 @@ +# hd + +> Dit commando is een alias van `hexdump`. + +- Bekijk de documentatie van het originele commando: + +`tldr hexdump` diff --git a/pages.nl/common/head.md b/pages.nl/common/head.md new file mode 100644 index 00000000000000..bd4ac59baef69f --- /dev/null +++ b/pages.nl/common/head.md @@ -0,0 +1,8 @@ +# head + +> Toon het eerste deel van een bestand. +> Meer informatie: . + +- Toon de eerste paar regels van een bestand: + +`head -n {{aantal}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/helix.md b/pages.nl/common/helix.md new file mode 100644 index 00000000000000..5ca2f1f2057a42 --- /dev/null +++ b/pages.nl/common/helix.md @@ -0,0 +1,37 @@ +# helix + +> Helix, een post-moderne tekst bewerker, welke verschillende modi beschikbaar stelt tot verschillende manieren van tekst manipulatie. +> Drukken op `` begint invoegmodus. `` begint normale modus, wat toegang geeft tot de Vim commando's. +> Meer informatie: . + +- Open een bestand: + +`helix {{pad/naar/bestand}}` + +- Open bestanden en toon ze naast elkaar: + +`helix --vsplit {{pad/naar/bestand1 pad/naar/bestand2}}` + +- Toon de tutorial om Helix te leren (of open het binnen Helix door op `` te drukken en `<:>tutor` te typen): + +`helix --tutor` + +- Pas het Helix thema aan: + +`<:>theme {{thema_naam}}` + +- Opslaan en afsluiten: + +`<:>wq` + +- Geforceerd afsluiten zonder op te slaan: + +`<:>q!` + +- Maak de laatste verandering ongedaan: + +`` + +- Zoek een patroon in het bestand (druk op ``/`` om naar de volgende/vorige overeenkomst te gaan): + +`{{zoek_patroon}}` diff --git a/pages.nl/common/history.md b/pages.nl/common/history.md new file mode 100644 index 00000000000000..f79bbc218087d2 --- /dev/null +++ b/pages.nl/common/history.md @@ -0,0 +1,32 @@ +# history + +> Beheer command-line geschiedenis. +> Meer informatie: . + +- Toon de commandogeschiedenis met regelnummers: + +`history` + +- Toon de laatste 20 commando's (in Zsh worden alle commando's vanaf regel 20 vertoont): + +`history 20` + +- Toon geschiedenis met tijdstempels in verschillende formaten (alleen beschikbaar in Zsh): + +`history -{{d|f|i|E}}` + +- Wis ([c]) de commandogeschiedenis: + +`history -c` + +- Overschrijf ([w]) het geschiedenisbestand met de geschiedenis van de huidige Bash-shell (vaak gecombineerd met `history -c` om geschiedenis te wissen): + +`history -w` + +- Verwij[d]er een commando uit de geschiedenis op de opgegeven offset: + +`history -d {{offset}}` + +- Voeg een commando toe aan de geschiedenis zonder het uit te voeren: + +`history -s {{commando}}` diff --git a/pages.nl/common/hostid.md b/pages.nl/common/hostid.md new file mode 100644 index 00000000000000..953e6e9c49a12a --- /dev/null +++ b/pages.nl/common/hostid.md @@ -0,0 +1,8 @@ +# hostid + +> Toon het numerieke identificatienummer voor de huidige host (niet noodzakelijkerwijs het IP-adres). +> Meer informatie: . + +- Toon het numerieke identificatienummer voor de huidige host in hexadecimale notatie: + +`hostid` diff --git a/pages.nl/common/hostname.md b/pages.nl/common/hostname.md new file mode 100644 index 00000000000000..3e0123ffe29057 --- /dev/null +++ b/pages.nl/common/hostname.md @@ -0,0 +1,20 @@ +# hostname + +> Toon of stel de hostnaam van het systeem in. +> Meer informatie: . + +- Toon de huidige hostnaam: + +`hostname` + +- Toon het netwerkadres van de hostnaam: + +`hostname {{[-i|--ip-addresses]}}` + +- Toon de FQDN (Fully Qualified Domain Name): + +`hostname {{[-f|--fqdn]}}` + +- Stel een nieuwe hostnaam in: + +`hostname {{nieuwe_hostnaam}}` diff --git a/pages.nl/common/hping.md b/pages.nl/common/hping.md new file mode 100644 index 00000000000000..157cf67d4c1cde --- /dev/null +++ b/pages.nl/common/hping.md @@ -0,0 +1,7 @@ +# hping + +> Dit commando is een alias van `hping3`. + +- Bekijk de documentatie van het originele commando: + +`tldr hping3` diff --git a/pages.nl/common/hping3.md b/pages.nl/common/hping3.md new file mode 100644 index 00000000000000..437a28fcd0a69c --- /dev/null +++ b/pages.nl/common/hping3.md @@ -0,0 +1,33 @@ +# hping3 + +> Geavanceerd pinghulpprogramma dat protocollen ondersteunt zoals TCP, UDP en IP. +> Dit kan het beste uitgevoerd worden met extra priveleges. +> Meer informatie: . + +- Ping een bestemming met 4 ICMP ping aanvragen: + +`hping3 --icmp --count {{4}} {{ip_of_hostnaam}}` + +- Ping een IP addres over UDP op poort 80: + +`hping3 --udp --destport {{80}} --syn {{ip_of_hostnaam}}` + +- Scan TCP poort 80, maar scan vanaf de specifieke lokale bronpoort 5090: + +`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_of_hostnaam}}` + +- Traceroute met behulp van een TCP scan naar een specifieke bestemmingspoort: + +`hping3 --traceroute --verbose --syn --destport {{80}} {{ip_of_hostnaam}}` + +- Scan een set van TCP poorten op een specifiek IP adres: + +`hping3 --scan {{80,3000,9000}} --syn {{ip_of_hostnaam}}` + +- Voer een TCP ACK scan uit om te checken of een gegeven host nog leeft: + +`hping3 --count {{2}} --verbose --destport {{80}} --ack {{ip_of_hostnaam}}` + +- Voer een charge test uit op poort 80: + +`hping3 --flood --destport {{80}} --syn {{ip_of_hostnaam}}` diff --git a/pages.nl/common/http.md b/pages.nl/common/http.md new file mode 100644 index 00000000000000..1c94f441c0d66e --- /dev/null +++ b/pages.nl/common/http.md @@ -0,0 +1,36 @@ +# http + +> HTTPie: een HTTP-client ontworpen voor het testen, debuggen en in het algemeen interactie met API's en HTTP-servers. +> Meer informatie: . + +- Maak een eenvoudige GET-aanvraag (toont response header en inhoud): + +`http {{https://example.org}}` + +- Print specifieke uitvoerinhoud (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata): + +`http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}` + +- Specificeer de HTTP-methode bij het verzenden van een aanvraag en gebruik een proxy om de aanvraag te onderscheppen: + +`http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}` + +- Volg eventuele `3xx` redirects en specificeer extra headers in een verzoek: + +`http {{[-F|--follow]}} {{https://example.com}} {{'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'}}` + +- Authenticeer bij een server met verschillende authenticatiemethoden: + +`http {{[-a|--auth]}} {{gebruikersnaam:wachtwoord|token}} {{[-A|--auth-type]}} {{basic|digest|bearer}} {{GET|POST|...}} {{https://example.com/auth}}` + +- Maak een verzoek maar verzend het niet (vergelijkbaar met een dry-run): + +`http --offline {{GET|DELETE|...}} {{https://example.com}}` + +- Gebruik benoemde sessies voor aanhoudende aangepaste headers, auth-referenties en cookies: + +`http --session {{session_naam|pad/naar/session.json}} {{[-a|--auth]}} {{gebruikersnaam}}:{{wachtwoord}} {{https://example.com/auth}} {{API-KEY:xxx}}` + +- Upload een bestand naar een formulier (het onderstaande voorbeeld gaat ervan uit dat het formulier `` is): + +`http {{[-f|--form]}} {{POST}} {{https://example.com/upload}} {{cv@pad/naar/bestand}}` diff --git a/pages.nl/common/httpie.md b/pages.nl/common/httpie.md new file mode 100644 index 00000000000000..889f40b21a6d58 --- /dev/null +++ b/pages.nl/common/httpie.md @@ -0,0 +1,17 @@ +# httpie + +> Beheersinterface voor HTTPie. +> Zie ook: `http`, de tool zelf. +> Meer informatie: . + +- Controleer op updates voor `http`: + +`httpie cli check-updates` + +- Toon geïnstalleerde `http` plugins: + +`httpie cli plugins list` + +- Installeer/upgrade/installeer plugins: + +`httpie cli plugins {{install|upgrade|uninstall}} {{plugin_naam}}` diff --git a/pages.nl/common/https.md b/pages.nl/common/https.md new file mode 100644 index 00000000000000..bce6c23da70a34 --- /dev/null +++ b/pages.nl/common/https.md @@ -0,0 +1,7 @@ +# https + +> Dit commando is een alias van `http`. + +- Bekijk de documentatie van het originele commando: + +`tldr http` diff --git a/pages.nl/common/hx.md b/pages.nl/common/hx.md new file mode 100644 index 00000000000000..4c23eb37ce5225 --- /dev/null +++ b/pages.nl/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Dit commando is een alias van `helix`. + +- Bekijk de documentatie van het originele commando: + +`tldr helix` diff --git a/pages.nl/common/icontopbm.md b/pages.nl/common/icontopbm.md new file mode 100644 index 00000000000000..2654a4c359897d --- /dev/null +++ b/pages.nl/common/icontopbm.md @@ -0,0 +1,8 @@ +# icontopbm + +> Dit commando is vervangen door `sunicontopnm`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr sunicontopnm` diff --git a/pages.nl/common/id.md b/pages.nl/common/id.md new file mode 100644 index 00000000000000..908995ab6ab93a --- /dev/null +++ b/pages.nl/common/id.md @@ -0,0 +1,28 @@ +# id + +> Toon de huidige gebruikers- en groepsidentiteit. +> Meer informatie: . + +- Toon de ID (UID), groep-ID (GID) en groepen waartoe de huidige gebruiker behoort: + +`id` + +- Toon de identiteit van de huidige gebruiker: + +`id {{[-un|--user --name]}}` + +- Toon de identiteit van de huidige gebruiker als een nummer: + +`id {{[-u|--user]}}` + +- Toon de identiteit van de huidige primaire groepsidentiteit: + +`id {{[-gn|--group --name]}}` + +- Toon de identiteit van de huidige primaire groepsidentiteit als een nummer: + +`id {{[-g|--group]}}` + +- Toon de ID (UID), groep-ID (GID) en groepen waartoe een willekeurige gebruiker behoort: + +`id {{gebruikersnaam}}` diff --git a/pages.nl/common/identify.md b/pages.nl/common/identify.md new file mode 100644 index 00000000000000..3ed389437653d4 --- /dev/null +++ b/pages.nl/common/identify.md @@ -0,0 +1,7 @@ +# identify + +> Dit commando is een alias van `magick identify`. + +- Bekijk de documentatie van het originele commando: + +`tldr magick identify` diff --git a/pages.nl/common/if.md b/pages.nl/common/if.md new file mode 100644 index 00000000000000..ff799bf239f628 --- /dev/null +++ b/pages.nl/common/if.md @@ -0,0 +1,37 @@ +# if + +> Voert voorwaardelijke verwerking uit in shell-scripts. +> Zie ook: `test`, `[`. +> Meer informatie: . + +- Voer de opgegeven commando's uit als de exitstatus van het voorwaardelijke commando nul is: + +`if {{voorwaarde_commando}}; then {{echo "Voorwaarde is waar"}}; fi` + +- Voer de opgegeven commando's uit als de exitstatus van het voorwaardelijke commando niet nul is: + +`if ! {{voorwaarde_commando}}; then {{echo "Voorwaarde is waar"}}; fi` + +- Voer de eerste opgegeven commando's uit als de exitstatus van het voorwaardelijke commando nul is, anders voer de tweede opgegeven commando's uit: + +`if {{voorwaarde_commando}}; then {{echo "Voorwaarde is waar"}}; else {{echo "Voorwaarde is onwaar"}}; fi` + +- Controleer of een bestand ([f]) bestaat: + +`if [[ -f {{pad/naar/bestand}} ]]; then {{echo "Voorwaarde is waar"}}; fi` + +- Controleer of een map ([d]) bestaat: + +`if [[ -d {{pad/naar/map}} ]]; then {{echo "Voorwaarde is waar"}}; fi` + +- Controleer of een bestand of map b[e]staat: + +`if [[ -e {{pad/naar/bestand_of_map}} ]]; then {{echo "Voorwaarde is waar"}}; fi` + +- Controleer of een variabele is gedefinieerd: + +`if [[ -n "${{variabele}}" ]]; then {{echo "Voorwaarde is waar"}}; fi` + +- Toon alle mogelijke voorwaarden (`test` is een alias voor `[`; beide worden vaak gebruikt met `if`): + +`man test` diff --git a/pages.nl/common/ifconfig.md b/pages.nl/common/ifconfig.md new file mode 100644 index 00000000000000..47a1b9be5fb900 --- /dev/null +++ b/pages.nl/common/ifconfig.md @@ -0,0 +1,24 @@ +# ifconfig + +> Netwerkinterface-configurator. +> Meer informatie: . + +- Bekijk netwerkinstellingen van een interface: + +`ifconfig {{interface_naam}}` + +- Toon details van alle interfaces, inclusief uitgeschakelde interfaces: + +`ifconfig -a` + +- Schakel een interface uit: + +`ifconfig {{interface_naam}} down` + +- Schakel een interface in: + +`ifconfig {{interface_naam}} up` + +- Ken een IP-adres toe aan een interface: + +`ifconfig {{interface_naam}} {{ip_adres}}` diff --git a/pages.nl/common/impacket-getadusers.md b/pages.nl/common/impacket-getadusers.md new file mode 100644 index 00000000000000..a1d60662ccd4ec --- /dev/null +++ b/pages.nl/common/impacket-getadusers.md @@ -0,0 +1,7 @@ +# impacket-GetADUsers + +> Dit commando is een alias van `GetADUsers.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr GetADUsers.py` diff --git a/pages.nl/common/impacket-getarch.md b/pages.nl/common/impacket-getarch.md new file mode 100644 index 00000000000000..84bdc0766c93c1 --- /dev/null +++ b/pages.nl/common/impacket-getarch.md @@ -0,0 +1,7 @@ +# impacket-getArch + +> Dit commando is een alias van `getArch.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr getArch.py` diff --git a/pages.nl/common/impacket-getnpusers.md b/pages.nl/common/impacket-getnpusers.md new file mode 100644 index 00000000000000..c586d6a03015c2 --- /dev/null +++ b/pages.nl/common/impacket-getnpusers.md @@ -0,0 +1,7 @@ +# impacket-GetNPUsers + +> Dit commando is een alias van `GetNPUsers.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr GetNPUsers.py` diff --git a/pages.nl/common/impacket-getuserspns.md b/pages.nl/common/impacket-getuserspns.md new file mode 100644 index 00000000000000..00baf58b347071 --- /dev/null +++ b/pages.nl/common/impacket-getuserspns.md @@ -0,0 +1,7 @@ +# impacket-GetUserSPNs + +> Dit commando is een alias van `GetUserSPNs.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr GetUserSPNs.py` diff --git a/pages.nl/common/impacket-mqtt_check.md b/pages.nl/common/impacket-mqtt_check.md new file mode 100644 index 00000000000000..b56f5d8bb1a0fa --- /dev/null +++ b/pages.nl/common/impacket-mqtt_check.md @@ -0,0 +1,7 @@ +# impacket-mqtt_check + +> Dit commando is een alias van `mqtt_check.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr mqtt_check.py` diff --git a/pages.nl/common/impacket-mssqlclient.md b/pages.nl/common/impacket-mssqlclient.md new file mode 100644 index 00000000000000..1791379239a947 --- /dev/null +++ b/pages.nl/common/impacket-mssqlclient.md @@ -0,0 +1,7 @@ +# impacket-mssqlclient + +> Dit commando is een alias van `mssqlclient.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr mssqlclient.py` diff --git a/pages.nl/common/impacket-ntfs-read.md b/pages.nl/common/impacket-ntfs-read.md new file mode 100644 index 00000000000000..4a8eeba2c5ee9a --- /dev/null +++ b/pages.nl/common/impacket-ntfs-read.md @@ -0,0 +1,7 @@ +# impacket-ntfs-read + +> Dit commando is een alias van `ntfs-read.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr ntfs-read.py` diff --git a/pages.nl/common/impacket-ping.md b/pages.nl/common/impacket-ping.md new file mode 100644 index 00000000000000..f458dfe9fb6da3 --- /dev/null +++ b/pages.nl/common/impacket-ping.md @@ -0,0 +1,7 @@ +# impacket-ping + +> Dit commando is een alias van `ping.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr ping.py` diff --git a/pages.nl/common/impacket-ping6.md b/pages.nl/common/impacket-ping6.md new file mode 100644 index 00000000000000..f7ac7908ffef2f --- /dev/null +++ b/pages.nl/common/impacket-ping6.md @@ -0,0 +1,7 @@ +# impacket-ping6 + +> Dit commando is een alias van `ping6.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr ping6.py` diff --git a/pages.nl/common/impacket-psexec.md b/pages.nl/common/impacket-psexec.md new file mode 100644 index 00000000000000..4d650cf69207b7 --- /dev/null +++ b/pages.nl/common/impacket-psexec.md @@ -0,0 +1,7 @@ +# impacket-psexec + +> Dit commando is een alias van `psexec.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr psexec.py` diff --git a/pages.nl/common/impacket-rpcdump.md b/pages.nl/common/impacket-rpcdump.md new file mode 100644 index 00000000000000..862f2080efa4b3 --- /dev/null +++ b/pages.nl/common/impacket-rpcdump.md @@ -0,0 +1,7 @@ +# impacket-rpcdump + +> Dit commando is een alias van `rpcdump.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr rpcdump.py` diff --git a/pages.nl/common/impacket-rpcmap.md b/pages.nl/common/impacket-rpcmap.md new file mode 100644 index 00000000000000..eeabcbfa4da399 --- /dev/null +++ b/pages.nl/common/impacket-rpcmap.md @@ -0,0 +1,7 @@ +# impacket-rpcmap + +> Dit commando is een alias van `rpcmap.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr rpcmap.py` diff --git a/pages.nl/common/impacket-sambapipe.md b/pages.nl/common/impacket-sambapipe.md new file mode 100644 index 00000000000000..980a9660c7be6b --- /dev/null +++ b/pages.nl/common/impacket-sambapipe.md @@ -0,0 +1,7 @@ +# impacket-sambaPipe + +> Dit commando is een alias van `sambaPipe.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr sambaPipe.py` diff --git a/pages.nl/common/impacket-secretsdump.md b/pages.nl/common/impacket-secretsdump.md new file mode 100644 index 00000000000000..a2730f257fbfc0 --- /dev/null +++ b/pages.nl/common/impacket-secretsdump.md @@ -0,0 +1,7 @@ +# impacket-secretsdump + +> Dit commando is een alias van `secretsdump.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr secretsdump.py` diff --git a/pages.nl/common/impacket-smbclient.md b/pages.nl/common/impacket-smbclient.md new file mode 100644 index 00000000000000..bd4c95ce4d19b6 --- /dev/null +++ b/pages.nl/common/impacket-smbclient.md @@ -0,0 +1,7 @@ +# impacket-smbclient + +> Dit commando is een alias van `smbclient.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr smbclient.py` diff --git a/pages.nl/common/impacket-smbserver.md b/pages.nl/common/impacket-smbserver.md new file mode 100644 index 00000000000000..46a8ee407e206b --- /dev/null +++ b/pages.nl/common/impacket-smbserver.md @@ -0,0 +1,7 @@ +# impacket-smbserver + +> Dit commando is een alias van `smbserver.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr smbserver.py` diff --git a/pages.nl/common/impacket-sniff.md b/pages.nl/common/impacket-sniff.md new file mode 100644 index 00000000000000..3fea1ef7cb48f8 --- /dev/null +++ b/pages.nl/common/impacket-sniff.md @@ -0,0 +1,7 @@ +# impacket-sniff + +> Dit commando is een alias van `sniff.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr sniff.py` diff --git a/pages.nl/common/impacket-sniffer.md b/pages.nl/common/impacket-sniffer.md new file mode 100644 index 00000000000000..957f86b75c7049 --- /dev/null +++ b/pages.nl/common/impacket-sniffer.md @@ -0,0 +1,7 @@ +# impacket-sniffer + +> Dit commando is een alias van `sniffer.py`. + +- Bekijk de documentatie van het originele commando: + +`tldr sniffer.py` diff --git a/pages.nl/common/import.md b/pages.nl/common/import.md new file mode 100644 index 00000000000000..06ff636f9a63b0 --- /dev/null +++ b/pages.nl/common/import.md @@ -0,0 +1,7 @@ +# import + +> Dit commando is een alias van `magick import`. + +- Bekijk de documentatie van het originele commando: + +`tldr magick import` diff --git a/pages.nl/common/indent.md b/pages.nl/common/indent.md new file mode 100644 index 00000000000000..9e727c0bbd7d0d --- /dev/null +++ b/pages.nl/common/indent.md @@ -0,0 +1,16 @@ +# indent + +> Wijzig het uiterlijk van een C/C++-programma door spaties in te voegen of te verwijderen. +> Meer informatie: . + +- Formatteer C/C++-broncode volgens de Linux style guide, maak automatisch een back-up van de originele bestanden en vervang deze door de ingesprongen versies: + +`indent {{[-linux|--linux-style]}} {{pad/naar/bron.c}} {{pad/naar/andere_bron.c}}` + +- Formatteer C/C++-broncode volgens de GNU-stijl en sla de ingesprongen versie op in een ander bestand: + +`indent {{[-gnu|--gnu-style]}} {{pad/naar/bron.c}} -o {{pad/naar/indented_source.c}}` + +- Formatteer C/C++-broncode volgens de stijl van Kernighan & Ritchie (K&R), geen tabs, 3 spaties per inspringing en breek regels af op 120 tekens: + +`indent {{[-kr|--k-and-r-style]}} {{[-il|--indent-level]}}3 {{[-nut|--no-tabs]}} {{[-l|--line-length]}}120 {{pad/naar/bron.c}} -o {{pad/naar/indented_source.c}}` diff --git a/pages.nl/common/initdb.md b/pages.nl/common/initdb.md new file mode 100644 index 00000000000000..6a9be5c9f1519c --- /dev/null +++ b/pages.nl/common/initdb.md @@ -0,0 +1,8 @@ +# initdb + +> Maak een PostgreSQL-databasecluster aan op schijf. +> Meer informatie: . + +- Maak een databasecluster aan op `/usr/local/var/postgres`: + +`initdb {{[-D|--pgdata]}} /usr/local/var/postgres` diff --git a/pages.nl/common/inkscape.md b/pages.nl/common/inkscape.md index ff1f1211fe7274..3c7c2509499bbe 100644 --- a/pages.nl/common/inkscape.md +++ b/pages.nl/common/inkscape.md @@ -6,28 +6,28 @@ - Open een SVG-bestand in de Inkscape GUI: -`inkscape {{bestandsnaam.svg}}` +`inkscape {{pad/naar/bestand.svg}}` - Exporteer een SVG-bestand in een bitmap met het standaardformaat (PNG) en de standaardresolutie (96 DPI): -`inkscape {{bestandsnaam.svg}} -o {{bestandsnaam.png}}` +`inkscape {{pad/naar/bestand.svg}} {{[-o|--export-filename]}} {{pad/naar/bestandsnaam.png}}` - Exporteer een SVG-bestand in een bitmap van 600x400 pixels (vervorming van de aspectverhouding mogelijk): -`inkscape {{bestandsnaam.svg}} -o {{bestandsnaam.png}} -w {{600}} -h {{400}}` +`inkscape {{pad/naar/bestand.svg}} {{[-o|--export-filename]}} {{pad/naar/bestandsnaam.png}} {{[-w|--export-width]}} 600 {{[-h|--export-height]}} 400` - Exporteer de tekening (selectiekader van alle objecten) van een SVG-bestand in een bitmap: -`inkscape {{bestandsnaam.svg}} -o {{bestandsnaam.png}} -D` +`inkscape {{pad/naar/bestand.svg}} {{[-o|--export-filename]}} {{pad/naar/bestandsnaam.png}} {{[-D|--export-area-drawing]}}` - Exporteer een enkel object, gezien zijn ID, in een bitmap: -`inkscape {{bestandsnaam.svg}} -i {{id}} -o {{object.png}}` +`inkscape {{pad/naar/bestand.svg}} {{[-i|--export-id]}} {{id}} {{[-o|--export-filename]}} {{object.png}}` - Exporteer een SVG-document naar PDF, converteer alle teksten naar paden: -`inkscape {{bestandsnaam.svg}} -o {{bestandsnaam.pdf}} --export-text-to-path` +`inkscape {{pad/naar/bestand.svg}} {{[-o|--export-filename]}} {{bestandsnaam.pdf}} {{[-T|--export-text-to-path]}}` -- Dupliceer het object met id="pad123", roteer het duplicaat 90 graden, sla het bestand op, en sluit Inkscape af: +- Dupliceer het object met id="path123", roteer het duplicaat 90 graden, sla het bestand op, en sluit Inkscape af: -`inkscape {{bestandsnaam.svg}} --select=path123 --verb="{{EditDuplicate;ObjectRotate90;FileSave;FileQuit}}"` +`inkscape {{pad/naar/bestand.svg}} --select=path123 --verb="{{EditDuplicate;ObjectRotate90;FileSave;FileQuit}}"` diff --git a/pages.nl/common/install-nodeversion.md b/pages.nl/common/install-nodeversion.md new file mode 100644 index 00000000000000..4bf1b997971321 --- /dev/null +++ b/pages.nl/common/install-nodeversion.md @@ -0,0 +1,25 @@ +# Install-NodeVersion + +> Installeer Node.js runtime versies voor `ps-nvm`. +> Onderdeel van `ps-nvm` en kan alleen uitgevoerd worden in PowerShell. +> Meer informatie: . + +- Installeer een specifieke Node.js versie: + +`Install-NodeVersion {{node_versie}}` + +- Installeer meerdere Node.js versies: + +`Install-NodeVersion {{node_versie1 , node_versie2 , ...}}` + +- Installeer de laatst beschikbare versie van Node.js 20: + +`Install-NodeVersion ^20` + +- Installeer de x86 (x86 32-bit) / x64 (x86 64-bit) / arm64 (ARM 64-bit) versie van Node.js: + +`Install-NodeVersion {{node_versie}} -Architecture {{x86|x64|arm64}}` + +- Gebruik een HTTP proxy voor het downloaden van Node.js: + +`Install-NodeVersion {{node-version}} -Proxy {{http://example.com}}` diff --git a/pages.nl/common/install.md b/pages.nl/common/install.md new file mode 100644 index 00000000000000..7eb14feaf8f15b --- /dev/null +++ b/pages.nl/common/install.md @@ -0,0 +1,29 @@ +# install + +> Kopieer bestanden en stel attributen in. +> Kopieer bestanden (vaak uitvoerbare) naar een systeemlocatie zoals `/usr/local/bin` en geef ze de juiste permissies/eigendom. +> Meer informatie: . + +- Kopieer bestanden naar de bestemming: + +`install {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}` + +- Kopieer bestanden naar de bestemming en stel hun eigendom in: + +`install {{[-o|--owner]}} {{gebruiker}} {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}` + +- Kopieer bestanden naar de bestemming en stel hun groepseigendom in: + +`install {{[-g|--group]}} {{gebruiker}} {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}` + +- Kopieer bestanden naar de bestemming en stel hun `modus` in: + +`install {{[-m|--mode]}} {{+x}} {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}` + +- Kopieer bestanden en pas toegangstijden/wijzigingstijden van de bron toe op de bestemming: + +`install {{[-p|--preserve-timestamps]}} {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}` + +- Kopieer bestanden en maak de mappen op de bestemming aan als ze niet bestaan: + +`install -D {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}` diff --git a/pages.nl/common/ipcs.md b/pages.nl/common/ipcs.md new file mode 100644 index 00000000000000..559f513903bbe6 --- /dev/null +++ b/pages.nl/common/ipcs.md @@ -0,0 +1,32 @@ +# ipcs + +> Toon informatie over het gebruik van XSI IPC-faciliteiten: gedeelde geheugensegmenten, berichtenwachtrijen en semafoorarrays. +> Meer informatie: . + +- Toon informatie over alle IPC: + +`ipcs -a` + +- Toon informatie over actieve gedeelde [m]emory-segmenten, berichten[q]ueues of [s]emaphore-sets: + +`ipcs {{-m|-q|-s}}` + +- Toon informatie over de maximaal toegestane grootte in [b]ytes: + +`ipcs -b` + +- Toon de gebruikersnaam en groepsnaam van de [c]reator voor alle IPC-faciliteiten: + +`ipcs -c` + +- Toon de [p]ID van de laatste operatoren voor alle IPC-faciliteiten: + +`ipcs -p` + +- Toon toegang[s]tijden voor alle IPC-faciliteiten: + +`ipcs -t` + +- Toon [o]utstanding gebruik voor actieve berichtenwachtrijen en gedeelde geheugensegmenten: + +`ipcs -o` diff --git a/pages.nl/common/j.md b/pages.nl/common/j.md new file mode 100644 index 00000000000000..26e1d954d5300c --- /dev/null +++ b/pages.nl/common/j.md @@ -0,0 +1,7 @@ +# j + +> Dit commando is een alias van `autojump`. + +- Bekijk de documentatie van het originele commando: + +`tldr autojump` diff --git a/pages.nl/common/jco.md b/pages.nl/common/jco.md new file mode 100644 index 00000000000000..5940891506b191 --- /dev/null +++ b/pages.nl/common/jco.md @@ -0,0 +1,7 @@ +# jco + +> Dit commando is een alias van `autojump`. + +- Bekijk de documentatie van het originele commando: + +`tldr autojump` diff --git a/pages.nl/common/jf.md b/pages.nl/common/jf.md new file mode 100644 index 00000000000000..6025286d2e33e9 --- /dev/null +++ b/pages.nl/common/jf.md @@ -0,0 +1,16 @@ +# jf + +> Werk met JFrog producten zoals Artifactory, Xray, Distribution, Pipelines en Mission Control. +> Meer informatie: . + +- Voeg een nieuwe configuratie toe: + +`jf config add` + +- Toon de huidige configuratie: + +`jf config show` + +- Zoek naar artifacts binnen de opgegeven repository en map: + +`jf rt search --recursive {{repostiory_naam}}/{{pad}}/` diff --git a/pages.nl/common/jfrog.md b/pages.nl/common/jfrog.md new file mode 100644 index 00000000000000..dd96fafdc09171 --- /dev/null +++ b/pages.nl/common/jfrog.md @@ -0,0 +1,7 @@ +# jfrog + +> Dit commando is een alias van `jf`. + +- Bekijk de documentatie van het originele commando: + +`tldr jf` diff --git a/pages.nl/common/jo.md b/pages.nl/common/jo.md new file mode 100644 index 00000000000000..f7c4dfa7f808de --- /dev/null +++ b/pages.nl/common/jo.md @@ -0,0 +1,7 @@ +# jo + +> Dit commando is een alias van `autojump`. + +- Bekijk de documentatie van het originele commando: + +`tldr autojump` diff --git a/pages.nl/common/jobs.md b/pages.nl/common/jobs.md new file mode 100644 index 00000000000000..402e0774bf750b --- /dev/null +++ b/pages.nl/common/jobs.md @@ -0,0 +1,20 @@ +# jobs + +> Toon de status van jobs in de huidige sessie. +> Meer informatie: . + +- Toon de status van alle jobs: + +`jobs` + +- Toon de status van een specifieke job: + +`jobs %{{job_id}}` + +- Toon de status en proces-ID's van alle jobs: + +`jobs -l` + +- Toon de proces-ID's van alle jobs: + +`jobs -p` diff --git a/pages.nl/common/join.md b/pages.nl/common/join.md new file mode 100644 index 00000000000000..775e709a883a20 --- /dev/null +++ b/pages.nl/common/join.md @@ -0,0 +1,24 @@ +# join + +> Voeg regels van twee gesorteerde bestanden samen op een gemeenschappelijk veld. +> Meer informatie: . + +- Voeg twee bestanden samen op het eerste (standaard) veld: + +`join {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Voeg twee bestanden samen met een komma (in plaats van een spatie) als veldscheidingsteken: + +`join -t {{','}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Voeg veld 3 van bestand 1 samen met veld 1 van bestand 2: + +`join -1 {{3}} -2 {{1}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Produceer een regel voor elke niet-koppelbare regel van bestand 1: + +`join -a {{1}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Voeg een bestand samen vanaf `stdin`: + +`cat {{pad/naar/bestand1}} | join - {{pad/naar/bestand2}}` diff --git a/pages.nl/common/jupyter-lab.md b/pages.nl/common/jupyter-lab.md new file mode 100644 index 00000000000000..3317974605d72e --- /dev/null +++ b/pages.nl/common/jupyter-lab.md @@ -0,0 +1,20 @@ +# jupyter lab + +> Interactieve ontwikkelomgeving voor Jupyter notebooks. +> Meer informatie: . + +- Start JupyterLab: + +`jupyter lab` + +- Open een specifiek notebook: + +`jupyter lab {{pad/naar/notebook.ipynb}}` + +- Start JupyterLab in een specifieke map: + +`jupyter lab --notebook-dir {{pad/naar/map}}` + +- Start JupyterLab in debug modus: + +`jupyter lab --debug` diff --git a/pages.nl/common/jupyterlab.md b/pages.nl/common/jupyterlab.md new file mode 100644 index 00000000000000..f71322993ea1e6 --- /dev/null +++ b/pages.nl/common/jupyterlab.md @@ -0,0 +1,7 @@ +# jupyterlab + +> Dit commando is een alias van `jupyter lab`. + +- Bekijk de documentatie van het originele commando: + +`tldr jupyter lab` diff --git a/pages.nl/common/just.1.md b/pages.nl/common/just.1.md new file mode 100644 index 00000000000000..88e0c198b8e4c1 --- /dev/null +++ b/pages.nl/common/just.1.md @@ -0,0 +1,24 @@ +# just + +> Sla op en run project-specifieke commands uit. +> Meer informatie: . + +- Voer een recept uit dat gespecificeerd is in een justfile: + +`just {{recept}}` + +- Initialiseer nieuwe justfile in de beginmap van het project: + +`just --init` + +- Pas de justfile aan in de standaard tekstbewerker: + +`just {{[-e|--edit]}}` + +- Toon een lijst met beschikbare recepten in de justfile: + +`just {{[-l|--list]}}` + +- Toon de justfile: + +`just --dump` diff --git a/pages.nl/common/just.md b/pages.nl/common/just.md new file mode 100644 index 00000000000000..4dfeb4268480a2 --- /dev/null +++ b/pages.nl/common/just.md @@ -0,0 +1,11 @@ +# just + +> `just` kan naar meerdere commando's met dezelfde naam verwijzen. + +- Bekijk de documentatie van het commando: + +`tldr just.1` + +- Bekijk de documentatie voor de V8 JavaScript runtime voor Linux: + +`tldr just.js` diff --git a/pages.nl/common/kafkacat.md b/pages.nl/common/kafkacat.md new file mode 100644 index 00000000000000..86cdeffef9be3e --- /dev/null +++ b/pages.nl/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Dit commando is een alias van `kcat`. + +- Bekijk de documentatie van het originele commando: + +`tldr kcat` diff --git a/pages.nl/common/kcat.md b/pages.nl/common/kcat.md new file mode 100644 index 00000000000000..e50dc5a40a3510 --- /dev/null +++ b/pages.nl/common/kcat.md @@ -0,0 +1,36 @@ +# kcat + +> Apache Kafka produceer en consumeer tool. +> Meer informatie: . + +- Consumeer berichten startend met de nieuwste offset: + +`kcat -C -t {{onderwerp}} -b {{makelaars}}` + +- Consumeer berichten startend met de oudste offset en sluit af nadat het laatste bericht is ontvangen: + +`kcat -C -t {{onderwerp}} -b {{makelaars}} -o beginning -e` + +- Consumeer berichten als een Kafka consumeer groep: + +`kcat -G {{groep_id}} {{onderwerp}} -b {{makelaars}}` + +- Publiceer bericht via het lezen van de `stdin`: + +`echo {{bericht}} | kcat -P -t {{onderwerp}} -b {{makelaars}}` + +- Publiceer berichten via het lezen van een bestand: + +`kcat -P -t {{onderwerp}} -b {{makelaars}} {{pad/naar/bestand}}` + +- Toon de metadata voor alle onderwerpen en makelaars: + +`kcat -L -b {{makelaars}}` + +- Toon de metadata voor een specifiek onderwerp: + +`kcat -L -t {{onderwerp}} -b {{makelaars}}` + +- Verkrijg de offset voor een onderwerp/partitie voor een specifiek punt in de tijd: + +`kcat -Q -t {{onderwerp}}:{{partitie}}:{{unix_timestamp}} -b {{makelaars}}` diff --git a/pages.nl/common/kill.md b/pages.nl/common/kill.md new file mode 100644 index 00000000000000..d63c14f39c2643 --- /dev/null +++ b/pages.nl/common/kill.md @@ -0,0 +1,33 @@ +# kill + +> Stuurt een signaal naar een proces, meestal om het proces te stoppen. +> Alle signalen behalve SIGKILL en SIGSTOP kunnen door het proces worden onderschept om een nette afsluiting uit te voeren. +> Meer informatie: . + +- Beëindig een programma met behulp van het standaard SIGTERM (terminate) signaal: + +`kill {{proces_id}}` + +- Toon beschikbare signalen (te gebruiken zonder het `SIG` voorvoegsel): + +`kill -l` + +- Beëindig een programma met behulp van het SIGHUP (hang up) signaal. Veel daemons zullen herladen in plaats van beëindigen: + +`kill -{{1|HUP}} {{proces_id}}` + +- Beëindig een programma met behulp van het SIGINT (interrupt) signaal. Dit wordt meestal geïnitieerd door de gebruiker die `` indrukt: + +`kill -{{2|INT}} {{proces_id}}` + +- Signaleer het besturingssysteem om een programma onmiddellijk te beëindigen (het programma krijgt geen kans om het signaal te onderscheppen): + +`kill -{{9|KILL}} {{proces_id}}` + +- Signaleer het besturingssysteem om een programma te pauzeren totdat een SIGCONT ("continue") signaal wordt ontvangen: + +`kill -{{17|STOP}} {{proces_id}}` + +- Stuur een `SIGUSR1` signaal naar alle processen met de gegeven GID (groeps-ID): + +`kill -{{SIGUSR1}} -{{groep_id}}` diff --git a/pages.nl/common/killall.md b/pages.nl/common/killall.md new file mode 100644 index 00000000000000..21421ce585ef4b --- /dev/null +++ b/pages.nl/common/killall.md @@ -0,0 +1,25 @@ +# killall + +> Verstuur een kill-signaal naar alle instanties van een proces op naam (moet exact overeenkomen). +> Alle signalen behalve SIGKILL en SIGSTOP kunnen door het proces worden onderschept, waardoor een nette afsluiting mogelijk is. +> Meer informatie: . + +- Beëindig een proces met behulp van het standaard SIGTERM (terminate) signaal: + +`killall {{proces_naam}}` + +- Toon beschikbare signaalnamen (te gebruiken zonder het 'SIG'-voorvoegsel): + +`killall {{[-l|--list]}}` + +- Vraag interactief om bevestiging voordat het proces wordt beëindigd: + +`killall {{[-i|--interactive]}} {{proces_naam}}` + +- Beëindig een proces met het SIGINT (interrupt) signaal, hetzelfde signaal dat wordt verzonden door `` in te drukken: + +`killall -INT {{proces_naam}}` + +- Forceer het beëindigen van een proces: + +`killall -KILL {{proces_naam}}` diff --git a/pages.nl/common/kite.md b/pages.nl/common/kite.md new file mode 100644 index 00000000000000..e08baf09368492 --- /dev/null +++ b/pages.nl/common/kite.md @@ -0,0 +1,7 @@ +# kite + +> Dit commando is een alias van `kiterunner`. + +- Bekijk de documentatie van het originele commando: + +`tldr kiterunner` diff --git a/pages.nl/common/kiterunner-brute.md b/pages.nl/common/kiterunner-brute.md new file mode 100644 index 00000000000000..503df78dd69b50 --- /dev/null +++ b/pages.nl/common/kiterunner-brute.md @@ -0,0 +1,37 @@ +# kiterunner brute + +> Een contextuele webscanner voor het bruteforcen van API-paden en web-endpoints met behulp van woordenlijsten. +> Het `brute` subcommando richt zich op een of meerdere hosts. +> Meer informatie: . + +- Bruteforce een doel met een Assetnote woordenlijst (bijvoorbeeld de eerste 20.000 API routes): + +`kiterunner brute {{https://example.com}} {{[-A|--assetnote-wordlist]}} {{apiroutes-210328:20000}}` + +- Bruteforce een doelwit met een aangepaste woordenlijst: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{pad/naar/woordenlijst.txt}}` + +- Bruteforce met een dirsearch-woordlijst met extensie-substitutie: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{pad/naar/dirsearch.txt}} {{[-D|--dirsearch-compat]}} {{[-e|--extensions]}} {{json,txt}}` + +- Bruteforce met specifieke bestandsextensies toegevoegd en uitvoer in JSON-formaat: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{pad/naar/woordenlijst.txt}} {{[-e|--extensions]}} {{aspx,ashx}} {{[-o|--output]}} {{json}}` + +- Bruteforce een lijst met doelen uit een bestand met aangepaste concurrency-instellingen voor prestaties: + +`kiterunner brute {{pad/naar/targets.txt}} {{[-w|--wordlist]}} {{pad/naar/woordenlijst.txt}} {{[-x|--max-connection-per-host]}} {{5}} {{[-j|--max-parallel-hosts]}} {{100}}` + +- Bruteforce en negeer specifieke inhoudslengte antwoorden: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{pad/naar/woordenlijst.txt}} --ignore-length {{100-105}}` + +- Bruteforce met aangepaste HTTP-headers: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{pad/naar/woordenlijst.txt}} {{[-H|--header]}} "{{Authorization: Bearer token}}"` + +- Bruteforce een lijst van doelen uit een bestand met fail status code filtering: + +`kiterunner brute {{pad/naar/doelen.txt}} {{[-w|--wordlist]}} {{pad/naar/woordenlijst.txt}} --fail-status-codes {{400,401,404}}` diff --git a/pages.nl/common/kiterunner-kb.md b/pages.nl/common/kiterunner-kb.md new file mode 100644 index 00000000000000..215b438498f7f1 --- /dev/null +++ b/pages.nl/common/kiterunner-kb.md @@ -0,0 +1,37 @@ +# kiterunner kb + +> Een contextuele webscanner voor het manipuleren van kitebuilder-schema's die gebruikt worden in API en web endpoint discovery. +> Het `kb` subcommando zorgt voor schema compilatie, conversie, parsing en request replay. +> Meer informatie: . + +- Compileer een kitebuilder schema van JSON naar een kite bestand: + +`kiterunner kb compile {{pad/naar/woordenlijst.json}} {{pad/naar/woordenlijst.kite}}` + +- Converteer een kite bestand naar een tekst woordenlijst: + +`kiterunner kb convert {{pad/naar/woordenlijst.kite}} {{pad/naar/woordlijst.txt}}` + +- Converteer een tekst woordenlijst naar een kite bestand: + +`kiterunner kb convert {{pad/naar/woordenlijst.txt}} {{pad/naar/woordenlijst.kite}}` + +- Converteer een kite bestand naar een JSON schema: + +`kiterunner kb convert {{pad/naar/woordenlijst.kite}} {{pad/naar/woordenlijst.json}}` + +- Parseer een kitebuilder schema en voer opgemaakte JSON data uit: + +`kiterunner kb parse {{pad/naar/woordenlijst.json}} {{[-o|--output]}} {{json}}` + +- Parseer een vliegerbestand en voer opgemaakte tekstgegevens uit: + +`kiterunner kb parse {{pad/naar/woordenlijst.kite}} {{[-o|--output]}} {{text}}` + +- Een specifiek verzoek van een kitebuilder schema-uitvoer opnieuw afspelen: + +`kiterunner kb replay {{[-w|--kitebuilder-list]}} {{pad/naar/woordenlijst.kite}} "{{request_output}}"` + +- Herhaal een verzoek via een proxy voor inspectie: + +`kiterunner kb replay {{[-w|--kitebuilder-list]}} {{pad/naar/woordenlijst.kite}} {{[-p|--proxy]}} {{http://localhost:8080}} "{{request_output}}"` diff --git a/pages.nl/common/kiterunner-scan.md b/pages.nl/common/kiterunner-scan.md new file mode 100644 index 00000000000000..aff1e1f660592a --- /dev/null +++ b/pages.nl/common/kiterunner-scan.md @@ -0,0 +1,37 @@ +# kiterunner scan + +> Een contextuele web scanner om gelijktijdig API paden en web eindpunten te scannen met behulp van kitebuilder woordenlijsten. +> Het `scan` subcommando richt zich op een of meerdere hosts met gestructureerde API verzoeken. +> Meer informatie: . + +- Scan een doel met een Assetnote woordenlijst (bijvoorbeeld de eerste 5000 API-routes): + +`kiterunner scan {{https://example.com}} {{[-A|--assetnote-wordlist]}} {{apiroutes-210228:5000}}` + +- Scan een doel met een kitebuilder woordenlijst: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{pad/naar/woordenlijst.kite}}` + +- Meerdere hosts scannen vanuit een bestand met een kitebuilder wordlist: + +`kiterunner scan {{pad/naar/hosts.txt}} {{[-w|--kitebuilder-list]}} {{pad/naar/woordenlijst.kite}}` + +- Scannen met een Assetnote woordenlijst en JSON uitvoer: + +`kiterunner scan {{https://example.com}} {{[-A|--assetnote-wordlist]}} {{apiroutes-210228:5000}} -o {{json}}` + +- Scan met aangepaste concurrency-instellingen voor prestaties: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{pad/naar/woordenlijst.kite}} {{[-x|--max-connection-per-host]}} {{5}} {{[-j|--max-parallel-hosts]}} {{100}}` + +- Scannen met een woordenlijst als een normale woordenlijst, waarbij het scannen op diepte wordt uitgeschakeld: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{pad/naar/rafter.txt}} {{[-d|--preflight-depth]}} {{0}}` + +- Scan met aangepaste headers en negeer antwoorden met specifieke inhoudslengte: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{pad/naar/woordenlijst.kite}} {{[-H|--header]}} "{{Authorization: Bearer token}}" --ignore-length {{100-105}}` + +- Voer een volledige kitebuilder scan uit zonder fase scanning: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{pad/naar/woordenlijst.kite}} --kitebuilder-full-scan` diff --git a/pages.nl/common/kiterunner-wordlist.md b/pages.nl/common/kiterunner-wordlist.md new file mode 100644 index 00000000000000..73be8c70dc5ab6 --- /dev/null +++ b/pages.nl/common/kiterunner-wordlist.md @@ -0,0 +1,33 @@ +# kiterunner wordlist + +> Een contextuele webscanner voor het beheren van wordlists die gebruikt worden in API en web endpoint discovery. +> Het `wordlist` subcommando zorgt voor het opsommen en opslaan van wordlists in `~/.cache/kiterunner`. +> Meer informatie: . + +- Maak een lijst van alle in de cache opgeslagen en beschikbare Assetnote woordenlijsten: + +`kiterunner wordlist list` + +- Geef woordlijsten met JSON uitvoer weer: + +`kiterunner wordlist list {{[-o|--output]}} {{json}}` + +- Geef woordlijsten met uitgebreide debug-uitvoer weer: + +`kiterunner wordlist list {{[-v|--verbose]}} {{debug}}` + +- Sla een specifieke Assetnote woordenlijst op met een alias: + +`kiterunner wordlist save {{apiroutes-210328}}` + +- Sla een specifieke Assetnote woordenlijst op met de volledige bestandsnaam: + +`kiterunner wordlist save {{pad/naar/httparchive_apiroutes_2024_05_28.txt}}` + +- Sla meerdere woordenlijsten op met een alias: + +`kiterunner wordlist save {{apiroutes-210328,aspx-210328}}` + +- Sla een woordenlijst op met stille modus om uitvoer te onderdrukken: + +`kiterunner wordlist save {{apiroutes-210328}} {{[-q|--quiet]}}` diff --git a/pages.nl/common/kiterunner.md b/pages.nl/common/kiterunner.md new file mode 100644 index 00000000000000..2b9e08bf90182c --- /dev/null +++ b/pages.nl/common/kiterunner.md @@ -0,0 +1,20 @@ +# kiterunner + +> Een contextuele webscanner voor het ontdekken van API-paden en webeindpunten met behulp van woordenlijsten en kitebuilder-schema's. +> Meer informatie: . + +- Bekijk documentatie voor het bruteforcen van API-paden en webeindpunten: + +`tldr kiterunner brute` + +- Bekijk documentatie voor het gelijktijdig scannen van hosts met kitebuilder woordenlijsten: + +`tldr kiterunner scan` + +- Bekijken documentatie voor het manipuleren van kitebuilder schema's: + +`tldr kiterunner kb` + +- Bekijken documentatie voor het beheren van woordenlijsten in de cache en op afstand: + +`tldr kiterunner wordlist` diff --git a/pages.nl/common/kr.md b/pages.nl/common/kr.md new file mode 100644 index 00000000000000..6587985ecd18ae --- /dev/null +++ b/pages.nl/common/kr.md @@ -0,0 +1,7 @@ +# kr + +> Dit commando is een alias van `kiterunner`. + +- Bekijk de documentatie van het originele commando: + +`tldr kiterunner` diff --git a/pages.nl/common/latex.md b/pages.nl/common/latex.md new file mode 100644 index 00000000000000..152ab8db35b3b4 --- /dev/null +++ b/pages.nl/common/latex.md @@ -0,0 +1,16 @@ +# latex + +> Compileer een DVI-document van LaTeX bronbestanden. +> Meer informatie: . + +- Compileer een DVI-document: + +`latex {{bron.tex}}` + +- Compileer een DVI-document naar een specifieke output map: + +`latex -output-directory={{pad/naar/map}} {{bron.tex}}` + +- Compileer een DVI-document en sluit af als er een fout optreedt: + +`latex -halt-on-error {{bron.tex}}` diff --git a/pages.nl/common/lckdo.md b/pages.nl/common/lckdo.md new file mode 100644 index 00000000000000..bc614fd9d120af --- /dev/null +++ b/pages.nl/common/lckdo.md @@ -0,0 +1,8 @@ +# lckdo + +> Dit commando is verouderd en vervangen door `flock`. +> Meer informatie: . + +- Bekijk de documentatie van de aanbevolen vervanging: + +`tldr flock` diff --git a/pages.nl/common/lex.md b/pages.nl/common/lex.md new file mode 100644 index 00000000000000..eb9fb4b9d3b17d --- /dev/null +++ b/pages.nl/common/lex.md @@ -0,0 +1,18 @@ +# lex + +> Generator voor lexicale analyzers. +> Gegeven de specificatie voor een lexicale analyzer, genereert C-code die deze implementeert. +> Opmerking: op de meeste grote besturingssystemen is dit commando een alias voor `flex`. +> Meer informatie: . + +- Genereer een analyzer van een Lex-bestand en sla deze op in het bestand `lex.yy.c`: + +`lex {{analyzer.l}}` + +- Specificeer het uitvoerbestand: + +`lex -t {{analyzer.l}} > {{analyzer.c}}` + +- Compileer een C-bestand dat door Lex is gegenereerd: + +`c99 {{pad/naar/lex.yy.c}} -o {{uitvoerbaar_bestand}}` diff --git a/pages.nl/common/libreoffice.md b/pages.nl/common/libreoffice.md new file mode 100644 index 00000000000000..9c91d9f14e994e --- /dev/null +++ b/pages.nl/common/libreoffice.md @@ -0,0 +1,7 @@ +# libreoffice + +> Dit commando is een alias van `soffice`. + +- Bekijk de documentatie van het originele commando: + +`tldr soffice` diff --git a/pages.nl/common/lima.md b/pages.nl/common/lima.md new file mode 100644 index 00000000000000..310d9b1412e549 --- /dev/null +++ b/pages.nl/common/lima.md @@ -0,0 +1,8 @@ +# lima + +> Dit commando is een alias van `limactl shell` voor de default VM instantie. +> Je kan ook de omgevingsvariabele `$LIMA_INSTANCE` zetten om te werken op een andere instantie. + +- Bekijk de documentatie van het originele commando: + +`tldr limactl` diff --git a/pages.nl/common/limactl.md b/pages.nl/common/limactl.md new file mode 100644 index 00000000000000..d36b40a63d1dd5 --- /dev/null +++ b/pages.nl/common/limactl.md @@ -0,0 +1,33 @@ +# limactl + +> Virtual machine manager voor Linux gasten, met meerdere VM templates beschikbaar. +> Kan worden gebruikt om containers op macOS uit te voeren, maar ook voor generieke virtuele machine use cases op macOS en Linux hosts. +> Meer informatie: . + +- Toon VMs: + +`limactl list` + +- Maak een VM met standaard instellingen en voorzie optioneel van een naam en/of template (zie `limactl create --list-templates` voor beschikbare templates): + +`limactl create --name {{vm_naam}} template://{{debian|fedora|ubuntu|...}}` + +- Start een VM (dit kan enkele afhankelijkheden erin installeren en een paar minuten duren): + +`limactl start {{vm_naam}}` + +- Open een externe shell in een VM: + +`limactl shell {{vm_naam}}` + +- Voer een commando uit in een VM: + +`limactl shell {{vm_naam}} {{commando}}` + +- Stop/sluit een VM af: + +`limactl stop {{vm_naam}}` + +- Verwijder een VM: + +`limactl remove {{vm_naam}}` diff --git a/pages.nl/common/link.md b/pages.nl/common/link.md new file mode 100644 index 00000000000000..df9bfcca5eab6a --- /dev/null +++ b/pages.nl/common/link.md @@ -0,0 +1,9 @@ +# link + +> Maak een harde koppeling naar een bestaand bestand. +> Voor meer opties, zie het `ln` commando. +> Meer informatie: . + +- Maak een harde koppeling van een nieuw bestand naar een bestaand bestand: + +`link {{pad/naar/bestaand_bestand}} {{pad/naar/nieuw_bestand}}` diff --git a/pages.nl/common/linode-cli-account.md b/pages.nl/common/linode-cli-account.md new file mode 100644 index 00000000000000..b3afcc6587ddcb --- /dev/null +++ b/pages.nl/common/linode-cli-account.md @@ -0,0 +1,21 @@ +# linode-cli account + +> Beheer Linode accounts. +> Zie ook: `linode-cli`. +> Meer informatie: . + +- Bekijk account: + +`linode-cli account view` + +- Bekijk account instellingen: + +`linode-cli account settings` + +- Maak een betaling: + +`linode-cli account payment-create --cvv {{cvv}} --usd {{amount_in_dollars}}` + +- Bekijk account notificaties: + +`linode-cli account notifications-list` diff --git a/pages.nl/common/linode-cli-domains.md b/pages.nl/common/linode-cli-domains.md new file mode 100644 index 00000000000000..d9aafe218170b0 --- /dev/null +++ b/pages.nl/common/linode-cli-domains.md @@ -0,0 +1,37 @@ +# linode-cli domains + +> Beheer Linode Domains en DNS configuratie. +> Zie ook: `linode-cli`. +> Meer informatie: . + +- Toon alle beheerde domeinen: + +`linode-cli domains list` + +- Maak een nieuw beheerd domein: + +`linode-cli domains create --domain {{domein_naam}} --type {{master|slave}} --soa-email {{email}}` + +- Bekijk details van een specifiek domein: + +`linode-cli domains view {{domein_id}}` + +- Verwijder een beheerd domein: + +`linode-cli domains delete {{domein_id}}` + +- Toon records voor een specifiek domein: + +`linode-cli domains records-list {{domein_id}}` + +- Voeg een DNS record toe aan een domein: + +`linode-cli domains records-create {{domein_id}} --type {{A|AAAA|CNAME|MX|...}} --name {{subdomein}} --target {{target_value}}` + +- Update een DNS record voor een domein: + +`linode-cli domains records-update {{domein_id}} {{record_id}} --target {{new_target_value}}` + +- Verwijder een DNS record van een domein: + +`linode-cli domains records-delete {{domein_id}} {{record_id}}` diff --git a/pages.nl/common/linode-cli-linodes.md b/pages.nl/common/linode-cli-linodes.md new file mode 100644 index 00000000000000..ee69c4aa42b26a --- /dev/null +++ b/pages.nl/common/linode-cli-linodes.md @@ -0,0 +1,37 @@ +# linode-cli linodes + +> Beheer Linode instanties. +> Zie ook: `linode-cli`. +> Meer informatie: . + +- Toon alle Linodes: + +`linode-cli linodes list` + +- Maak een nieuwe Linode: + +`linode-cli linodes create --type {{linode_type}} --region {{region}} --image {{image_id}}` + +- Bekijk details van een specifieke Linode: + +`linode-cli linodes view {{linode_id}}` + +- Werk de instellingen bij voor een Linode: + +`linode-cli linodes update {{linode_id}} --label {{[new_label}}` + +- Verwijder een Linode: + +`linode-cli linodes delete {{linode_id}}` + +- Voer een stroombeheer-operatie uit op een Linode: + +`linode-cli linodes {{boot|reboot|shutdown}} {{linode_id}}` + +- Toon alle beschikbare backups van een Linode: + +`linode-cli linodes backups-list {{linode_id}}` + +- Zet een backup terug naar een Linode: + +`linode-cli linodes backups-restore {{linode_id}} --backup-id {{backup_id}}` diff --git a/pages.nl/common/linode-cli-lke.md b/pages.nl/common/linode-cli-lke.md new file mode 100644 index 00000000000000..96e24a8a3c7026 --- /dev/null +++ b/pages.nl/common/linode-cli-lke.md @@ -0,0 +1,25 @@ +# linode-cli lke + +> Beheer Linode Kubernetes Engine (LKE) clusters. +> Zie ook: `linode-cli`. +> Meer informatie: . + +- Toon alle LKE clusters: + +`linode-cli lke clusters list` + +- Maak een nieuw LKE cluster: + +`linode-cli lke clusters create --region {{region}} --type {{type}} --node-type {{node_type}} --nodes-count {{count}}` + +- Toon details van een specifiek LKE cluster: + +`linode-cli lke clusters view {{cluster_id}}` + +- Update een bestaand LKE cluster: + +`linode-cli lke clusters update {{cluster_id}} --node-type {{new_node_type}}` + +- Verwijder een LKE cluster: + +`linode-cli lke clusters delete {{cluster_id}}` diff --git a/pages.nl/common/linode-cli-nodebalancers.md b/pages.nl/common/linode-cli-nodebalancers.md new file mode 100644 index 00000000000000..8d445898ec1462 --- /dev/null +++ b/pages.nl/common/linode-cli-nodebalancers.md @@ -0,0 +1,33 @@ +# linode-cli nodebalancers + +> Beheer Linode NodeBalancers. +> Zie ook: `linode-cli`. +> Meer informatie: . + +- Toon alle NodeBalancers: + +`linode-cli nodebalancers list` + +- Maak een nieuwe NodeBalancer: + +`linode-cli nodebalancers create --region {{regio}}` + +- Toon details van een specifieke NodeBalancer: + +`linode-cli nodebalancers view {{nodebalancer_id}}` + +- Update een bestaande NodeBalancer: + +`linode-cli nodebalancers update {{nodebalancer_id}} --label {{nieuw_label}}` + +- Verwijder een NodeBalancer: + +`linode-cli nodebalancers delete {{nodebalancer_id}}` + +- Toon alle configuraties voor een NodeBalancer: + +`linode-cli nodebalancers configs list {{nodebalancer_id}}` + +- Voeg een nieuwe configuratie toe aan een NodeBalancer: + +`linode-cli nodebalancers configs create {{nodebalancer_id}} --port {{poort}} --protocol {{protocol}}` diff --git a/pages.nl/common/linode-cli-object-storage.md b/pages.nl/common/linode-cli-object-storage.md new file mode 100644 index 00000000000000..d2650f2ac26434 --- /dev/null +++ b/pages.nl/common/linode-cli-object-storage.md @@ -0,0 +1,33 @@ +# linode-cli object-storage + +> Beheer Linode Object Storage. +> Zie ook: `linode-cli`. +> Meer informatie: . + +- Toon alle Object Storage buckets: + +`linode-cli object-storage buckets list` + +- Maak een nieuwe Object Storage bucket: + +`linode-cli object-storage buckets create --cluster {{cluster_id}} --label {{bucket_label}}` + +- Verwijder een Object Storage bucket: + +`linode-cli object-storage buckets delete {{cluster_id}} {{bucket_label}}` + +- Toon alle Object Storage cluster regio's: + +`linode-cli object-storage clusters list` + +- Toon alle access keys voor Object Storage: + +`linode-cli object-storage keys list` + +- Maak een nieuw access key voor Object Storage: + +`linode-cli object-storage keys create --label {{label}}` + +- Trek een access key terug voor Object Storage: + +`linode-cli object-storage keys revoke {{access_key_id}}` diff --git a/pages.nl/common/linode-cli-volumes.md b/pages.nl/common/linode-cli-volumes.md new file mode 100644 index 00000000000000..f41a9d026908ab --- /dev/null +++ b/pages.nl/common/linode-cli-volumes.md @@ -0,0 +1,29 @@ +# linode-cli volumes + +> Beheer Linode Volumes. +> Zie ook: `linode-cli`. +> Meer informatie: . + +- Toon alle huidige Volumes: + +`linode-cli volumes list` + +- Maak een nieuw Volume en koppel het aan een specifieke Linode: + +`linode-cli volumes create --label {{volume_label}} --size {{size_in_GB}} --linode-id {{linode_id}}` + +- Koppel een Volume aan een specifieke Linode: + +`linode-cli volumes attach {{volume_id}} --linode-id {{linode_id}}` + +- Koppel een Volume los van een Linode: + +`linode-cli volumes detach {{volume_id}}` + +- Vergroot een Volume (Let op: de grootte kan alleen toenemen): + +`linode-cli volumes resize {{volume_id}} --size {{new_size_in_GB}}` + +- Verwijder een Volume: + +`linode-cli volumes delete {{volume_id}}` diff --git a/pages.nl/common/linode-cli.md b/pages.nl/common/linode-cli.md new file mode 100644 index 00000000000000..84494007f5d7f8 --- /dev/null +++ b/pages.nl/common/linode-cli.md @@ -0,0 +1,37 @@ +# linode-cli + +> Beheer Linode cloud-diensten. +> Sommige subcommando's zoals `events` hebben een eigen documentatie pagina. +> Meer informatie: . + +- Toon alle Linodes: + +`linode-cli linodes list` + +- Bekijk de documentatie voor het beheren van Linode accounts: + +`tldr linode-cli account` + +- Bekijk de documentatie voor het beheren van Linodes: + +`tldr linode-cli linodes` + +- Bekijk de documentatie voor het beheren van Linode Kubernetes Engine (LKE) clusters: + +`tldr linode-cli lke` + +- Bekijk de documentatie voor het beheren van NodeBalancers: + +`tldr linode-cli nodebalancers` + +- Bekijk de documentatie voor het beheren van Object Storage: + +`tldr linode-cli object-storage` + +- Bekijk de documentatie voor het beheren van DNS domains: + +`tldr linode-cli domains` + +- Bekijk de documentatie voor het beheren van Linode Volumes: + +`tldr linode-cli volumes` diff --git a/pages.nl/common/lldb.md b/pages.nl/common/lldb.md new file mode 100644 index 00000000000000..db2614e62b3676 --- /dev/null +++ b/pages.nl/common/lldb.md @@ -0,0 +1,16 @@ +# lldb + +> De LLVM Low-Level Debugger. +> Meer informatie: . + +- Debug een uitvoerbaar bestand: + +`lldb {{uitvoerbaar_bestand}}` + +- Koppel `lldb` aan een draaiend proces met een gegeven PID: + +`lldb -p {{pid}}` + +- Wacht op de start van een nieuw proces met een gegeven naam en koppel eraan: + +`lldb -w -n {{proces_naam}}` diff --git a/pages.nl/common/llvm-ar.md b/pages.nl/common/llvm-ar.md new file mode 100644 index 00000000000000..4a72fe683eb221 --- /dev/null +++ b/pages.nl/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Dit commando is een alias van `ar`. + +- Bekijk de documentatie van het originele commando: + +`tldr ar` diff --git a/pages.nl/common/llvm-g++.md b/pages.nl/common/llvm-g++.md new file mode 100644 index 00000000000000..88e12a620da549 --- /dev/null +++ b/pages.nl/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Dit commando is een alias van `clang++`. + +- Bekijk de documentatie van het originele commando: + +`tldr clang++` diff --git a/pages.nl/common/llvm-gcc.md b/pages.nl/common/llvm-gcc.md new file mode 100644 index 00000000000000..741ff2cc4d120d --- /dev/null +++ b/pages.nl/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Dit commando is een alias van `clang`. + +- Bekijk de documentatie van het originele commando: + +`tldr clang` diff --git a/pages.nl/common/llvm-nm.md b/pages.nl/common/llvm-nm.md new file mode 100644 index 00000000000000..860cd2fa450993 --- /dev/null +++ b/pages.nl/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Dit commando is een alias van `nm`. + +- Bekijk de documentatie van het originele commando: + +`tldr nm` diff --git a/pages.nl/common/llvm-objdump.md b/pages.nl/common/llvm-objdump.md new file mode 100644 index 00000000000000..b499839da82ef4 --- /dev/null +++ b/pages.nl/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Dit commando is een alias van `objdump`. + +- Bekijk de documentatie van het originele commando: + +`tldr objdump` diff --git a/pages.nl/common/llvm-strings.md b/pages.nl/common/llvm-strings.md new file mode 100644 index 00000000000000..5fb6be34ca095d --- /dev/null +++ b/pages.nl/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Dit commando is een alias van `strings`. + +- Bekijk de documentatie van het originele commando: + +`tldr strings` diff --git a/pages.nl/common/ln.md b/pages.nl/common/ln.md new file mode 100644 index 00000000000000..e662a641e5a817 --- /dev/null +++ b/pages.nl/common/ln.md @@ -0,0 +1,16 @@ +# ln + +> Maakt een verwijzing naar bestanden en mappen. +> Meer informatie: . + +- Maak een symbolische verwijzing naar een bestand of map: + +`ln {{[-s|--symbolic]}} /{{pad/naar/bestand_of_map}} {{pad/naar/symbolische_verwijzing}}` + +- Overschrijf een bestaande symbolische verwijzing om die naar een ander bestand te verwijzen: + +`ln {{[-sf|--symbolic --force]}} /{{pad/naar/nieuw_bestand}} {{pad/naar/symbolische_verwijzing}}` + +- Maak een harde verwijzing naar een bestand: + +`ln /{{pad/naar/bestand}} {{pad/naar/harde_verwijzing}}` diff --git a/pages.nl/common/logger.md b/pages.nl/common/logger.md new file mode 100644 index 00000000000000..b4d7f71ab34343 --- /dev/null +++ b/pages.nl/common/logger.md @@ -0,0 +1,8 @@ +# logger + +> Voeg berichten toe aan syslog. +> Meer informatie: . + +- Log een bericht naar syslog: + +`logger {{bericht}}` diff --git a/pages.nl/common/logname.md b/pages.nl/common/logname.md index 87f9eecc7e76a6..a4e9ec091227f1 100644 --- a/pages.nl/common/logname.md +++ b/pages.nl/common/logname.md @@ -1,6 +1,7 @@ # logname > Toont de inlognaam van de gebruiker. +> Meer informatie: . - Geef de momenteel aangemelde gebruikersnaam weer: diff --git a/pages.nl/common/look.md b/pages.nl/common/look.md new file mode 100644 index 00000000000000..6cc746519f9286 --- /dev/null +++ b/pages.nl/common/look.md @@ -0,0 +1,22 @@ +# look + +> Toon regels die beginnen met een prefix in een gesorteerd bestand. +> Let op: de regels in het bestand moeten gesorteerd zijn. +> Zie ook: `grep`, `sort`. +> Meer informatie: . + +- Zoek naar regels die beginnen met een specifieke prefix in een specifiek bestand: + +`look {{prefix}} {{pad/naar/bestand}}` + +- Zoek hoofdletterongevoelig alleen op alfanumerieke tekens: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{pad/naar/bestand}}` + +- Specificeer een karakter voor het beëindigen van een string (standaard een spatie): + +`look {{[-t|--terminate]}} {{,}}` + +- Zoek in `/usr/share/dict/words` (`--alphanum` en `--ignore-case` worden verondersteld): + +`look {{prefix}}` diff --git a/pages.nl/common/lp.md b/pages.nl/common/lp.md new file mode 100644 index 00000000000000..3324e10fb7b575 --- /dev/null +++ b/pages.nl/common/lp.md @@ -0,0 +1,28 @@ +# lp + +> Print bestanden. +> Meer informatie: . + +- Toon de output van een commando met de standaard printer (bekijk het `lpstat` commando): + +`echo "test" | lp` + +- Toon een bestand met de standaard printer: + +`lp {{pad/naar/bestandsnaam}}` + +- Toon een bestand met een printer met naam (bekijk het `lpstat` commando): + +`lp -d {{printer_naam}} {{pad/naar/bestandsnaam}}` + +- Toon N kopieën van een bestand met de standaard printer (vervang N met het gewenste aantal kopieën): + +`lp -n {{N}} {{pad/naar/bestandsnaam}}` + +- Toon alleen specifieke pagina's met de standaard printer (print pagina's 1, 3-5, and 16): + +`lp -P 1,3-5,16 {{pad/naar/bestandsnaam}}` + +- Hervat het printen van een taak: + +`lp -i {{taak_id}} -H resume` diff --git a/pages.nl/common/lpadmin.md b/pages.nl/common/lpadmin.md new file mode 100644 index 00000000000000..2b745c85842619 --- /dev/null +++ b/pages.nl/common/lpadmin.md @@ -0,0 +1,21 @@ +# lpadmin + +> Configureer CUPS printers en klasses. +> Zie ook: `lpoptions`. +> Meer informatie: . + +- Stel de standaard printer in: + +`lpadmin -d {{printer}}` + +- Verwijder een specifieke printer of klasse: + +`lpadmin -x {{printer|klasse}}` + +- Voeg een printer toe aan een klasse: + +`lpadmin -p {{printer}} -c {{klasse}}` + +- Verwijder een printer uit een klasse: + +`lpadmin -p {{printer}} -r {{klasse}}` diff --git a/pages.nl/common/lprm.md b/pages.nl/common/lprm.md new file mode 100644 index 00000000000000..2b40a72aabbec4 --- /dev/null +++ b/pages.nl/common/lprm.md @@ -0,0 +1,29 @@ +# lprm + +> Annuleer wachtende printtaken van een server. +> Zie ook: `lpq`. +> Meer informatie: . + +- Annuleer de huidige taak op de standaard printer: + +`lprm` + +- Annuleer een taak van een specifieke server: + +`lprm -h {{server}} {{taak_id}}` + +- Annuleer een taak van een specifieke server op een specifieke poort: + +`lprm -h {{server}}:{{poort}} {{taak_id}}` + +- Annuleer meerdere taken met een beveiligde verbinding naar de server: + +`lprm -E {{taak_id1 taak_id2 ...}}` + +- Annuleer alle taken: + +`lprm -` + +- Annuleer de huidige taak van een specifieke printer of klasse: + +`lprm -P {{bestemming}}/{{instantie]}}` diff --git a/pages.nl/common/lpstat.md b/pages.nl/common/lpstat.md new file mode 100644 index 00000000000000..54a3ff8ba639b5 --- /dev/null +++ b/pages.nl/common/lpstat.md @@ -0,0 +1,20 @@ +# lpstat + +> Bekijk de status informatie over printers. +> Meer informatie: . + +- Toon alle printers op de machine en of deze ingeschakeld zijn om te printen: + +`lpstat -p` + +- Toon de standaard printer: + +`lpstat -d` + +- Toon alle beschikbare status informatie: + +`lpstat -t` + +- Toon een lijst van printtaken in de wachtrij voor een specifieke gebruiker: + +`lpstat -u {{gebruiker}}` diff --git a/pages.nl/common/ls.md b/pages.nl/common/ls.md new file mode 100644 index 00000000000000..5d153ebf18654c --- /dev/null +++ b/pages.nl/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> Toon de inhoud van een map. +> Meer informatie: . + +- Toon één bestand per regel: + +`ls -1` + +- Toon alle bestanden, inclusief verborgen bestanden: + +`ls {{[-a|--all]}}` + +- Toon alle bestanden, met een `/` achter de namen van mappen: + +`ls {{[-F|--classify]}}` + +- Lange lijstweergave (permissies, eigendom, grootte en wijzigingsdatum) van alle bestanden: + +`ls {{[-la|--all -l]}}` + +- Lange lijstweergave met grootte weergegeven in leesbare eenheden (KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` + +- Lange lijstweergave gesorteerd op grootte (aflopend) recursief: + +`ls {{[-lSR|-lS --recursive]}}` + +- Lange lijstweergave van alle bestanden, gesorteerd op wijzigingsdatum (oudste eerst): + +`ls {{[-ltr|-lt --reverse]}}` + +- Toon alleen mappen: + +`ls {{[-d|--directory]}} */` diff --git a/pages.nl/common/lua.md b/pages.nl/common/lua.md new file mode 100644 index 00000000000000..01038046bdca60 --- /dev/null +++ b/pages.nl/common/lua.md @@ -0,0 +1,16 @@ +# lua + +> Een krachtige, lichtgewicht en embeddable programmeertaal. +> Meer informatie: . + +- Start een interactieve Lua-shell: + +`lua` + +- Voer een Lua-script uit: + +`lua {{pad/naar/script.lua}} {{--optioneel-argument}}` + +- Voer een Lua-expressie uit: + +`lua -e '{{print("Hello World")}}'` diff --git a/pages.nl/common/lzcat.md b/pages.nl/common/lzcat.md new file mode 100644 index 00000000000000..879a2d6ccce148 --- /dev/null +++ b/pages.nl/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Dit commando is een alias van `xz --format=lzma --decompress --stdout`. + +- Bekijk de documentatie van het originele commando: + +`tldr xz` diff --git a/pages.nl/common/lzcmp.md b/pages.nl/common/lzcmp.md new file mode 100644 index 00000000000000..0acc09bbc3636b --- /dev/null +++ b/pages.nl/common/lzcmp.md @@ -0,0 +1,7 @@ +# lzcmp + +> Dit commando is een alias van `xzcmp`. + +- Bekijk de documentatie van het originele commando: + +`tldr xzcmp` diff --git a/pages.nl/common/lzegrep.md b/pages.nl/common/lzegrep.md new file mode 100644 index 00000000000000..47fa321fc9b9ad --- /dev/null +++ b/pages.nl/common/lzegrep.md @@ -0,0 +1,8 @@ +# lzegrep + +> Dit commando is een alias van `xzgrep --extended-regexp`. +> Zie ook: `egrep`. + +- Bekijk de documentatie van het originele commando: + +`tldr xzgrep` diff --git a/pages.nl/common/lzfgrep.md b/pages.nl/common/lzfgrep.md new file mode 100644 index 00000000000000..f0372c309b66a4 --- /dev/null +++ b/pages.nl/common/lzfgrep.md @@ -0,0 +1,8 @@ +# lzfgrep + +> Dit commando is een alias van `xzgrep --fixed-strings`. +> Zie ook: `fgrep`. + +- Bekijk de documentatie van het originele commando: + +`tldr xzgrep` diff --git a/pages.nl/common/lzgrep.md b/pages.nl/common/lzgrep.md new file mode 100644 index 00000000000000..e50b9e00a2f526 --- /dev/null +++ b/pages.nl/common/lzgrep.md @@ -0,0 +1,7 @@ +# lzgrep + +> Dit commando is een alias van `xzgrep`. + +- Bekijk de documentatie van het originele commando: + +`tldr xzgrep` diff --git a/pages.nl/common/lzless.md b/pages.nl/common/lzless.md new file mode 100644 index 00000000000000..c1918e7dd53064 --- /dev/null +++ b/pages.nl/common/lzless.md @@ -0,0 +1,7 @@ +# lzless + +> Dit commando is een alias van `xzless`. + +- Bekijk de documentatie van het originele commando: + +`tldr xzless` diff --git a/pages.nl/common/lzma.md b/pages.nl/common/lzma.md new file mode 100644 index 00000000000000..26d4668d128fe1 --- /dev/null +++ b/pages.nl/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Dit commando is een alias van `xz --format=lzma`. + +- Bekijk de documentatie van het originele commando: + +`tldr xz` diff --git a/pages.nl/common/lzmore.md b/pages.nl/common/lzmore.md new file mode 100644 index 00000000000000..04fe341b702541 --- /dev/null +++ b/pages.nl/common/lzmore.md @@ -0,0 +1,7 @@ +# lzmore + +> Dit commando is een alias van `xzmore`. + +- Bekijk de documentatie van het originele commando: + +`tldr xzmore` diff --git a/pages.nl/common/magick-compare.md b/pages.nl/common/magick-compare.md new file mode 100644 index 00000000000000..acfa4de90bc79e --- /dev/null +++ b/pages.nl/common/magick-compare.md @@ -0,0 +1,13 @@ +# magick compare + +> Maak een vergelijkingsafbeelding om visueel de verschillen te zien tussen twee afbeeldingen. +> Zie ook: `magick`. +> Meer informatie: . + +- Vergelijk twee afbeeldingen: + +`magick compare {{pad/naar/afbeelding1.png}} {{pad/naar/afbeelding2.png}} {{pad/naar/diff.png}}` + +- Vergelijk twee afbeelding door gebruik te maken van de gespecificeerde metriek: + +`magick compare -verbose -metric {{PSNR}} {{pad/naar/afbeelding1.png}} {{pad/naar/afbeelding2.png}} {{pad/naar/diff.png}}` diff --git a/pages.nl/common/magick-convert.md b/pages.nl/common/magick-convert.md new file mode 100644 index 00000000000000..4820be44c9a24a --- /dev/null +++ b/pages.nl/common/magick-convert.md @@ -0,0 +1,37 @@ +# magick convert + +> Converteer tussen afbeeldingsformaten, schaal, voeg samen, maak afbeeldingen en nog veel meer. +> Let op: deze tool (voorheen `convert`) is vervangen door `magick` in ImageMagick 7+. +> Meer informatie: . + +- Converteer een afbeelding van JPEG naar PNG: + +`magick convert {{pad/naar/invoer_afbeelding.jpg}} {{pad/naar/uitvoer_afbeelding.png}}` + +- Schaal een afbeelding naar 50% van zijn originele grootte: + +`magick convert {{pad/naar/invoer_afbeelding.png}} -resize 50% {{pad/naar/uitvoer_afbeelding.png}}` + +- Schaal een afbeelding en behoud de originele aspect ratio tot een maximale dimensie van 640x480: + +`magick convert {{pad/naar/invoer_afbeelding.png}} -resize 640x480 {{pad/naar/uitvoer_afbeelding.png}}` + +- Schaal een afbeelding zodat deze een gespecificeerde bestandsgrootte heeft: + +`magick convert {{pad/naar/invoer_afbeelding.png}} -define jpeg:extent=512kb {{pad/naar/uitvoer_afbeelding.jpg}}` + +- Verticaal/horizontaal toevoegen van afbeeldingen en maak de lege ruimte transparant: + +`magick convert -background none {{pad/naar/afbeelding1.png pad/naar/afbeelding2.png ...}} {{-append|+append}} {{pad/naar/uitvoer_afbeelding.png}}` + +- Maak een GIF van een series van afbeeldingen met 100ms pauze ertusen: + +`magick convert {{pad/naar/afbeelding1.png pad/naar/afbeelding2.png ...}} -delay {{10}} {{pad/naar/animation.gif}}` + +- Maak een afbeelding met niets anders dan een volledig rode achtergrond: + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{pad/naar/afbeelding.png}}` + +- Maak een favicon van verschillende afbeeldingen met verschillende groottes: + +`magick convert {{pad/naar/afbeelding1.png pad/naar/afbeelding2.png ...}} {{pad/naar/favicon.ico}}` diff --git a/pages.nl/common/magick-identify.md b/pages.nl/common/magick-identify.md new file mode 100644 index 00000000000000..f0860a8d609571 --- /dev/null +++ b/pages.nl/common/magick-identify.md @@ -0,0 +1,17 @@ +# magick identify + +> Beschrijf het formaat en eigenschappen van afbeeldingen. +> Zie ook: `magick`. +> Meer informatie: . + +- Beschrijf het formaat en basis eigenschappen van een afbeelding: + +`magick identify {{pad/naar/afbeelding}}` + +- Beschrijf het formaat en uitgebreide eigenschappen van een afbeelding: + +`magick identify -verbose {{pad/naar/afbeelding}}` + +- Verzamel de dimensies van alle JPEG bestanden in de huidige map en sla ze op naar een CSV-bestand: + +`magick identify -format "{{%f,%w,%h\n}}" {{*.jpg}} > {{pad/naar/bestandslijst.csv}}` diff --git a/pages.nl/common/magick-import.md b/pages.nl/common/magick-import.md new file mode 100644 index 00000000000000..d4d984c37c5f9a --- /dev/null +++ b/pages.nl/common/magick-import.md @@ -0,0 +1,17 @@ +# magick import + +> Leg een deel of het geheel van een X server scherm vast en sla de afbeelding op in een bestand. +> Zie ook: `magick`. +> Meer informatie: . + +- Leg het hele X server scherm vast in een PostScript bestand: + +`magick import -window root {{pad/naar/uitvoer.ps}}` + +- Leg de inhoud van een extern X server scherm vast in een PNG afbeelding: + +`magick import -window root -display {{externe_host}}:{{scherm}}.{{display}} {{pad/naar/uitvoer.png}}` + +- Leg een specifiek venster vast op basis van zijn ID zoals weergegeven door `xwininfo` in een JPEG-afbeelding: + +`magick import -window {{window_id}} {{pad/naar/uitvoer.jpg}}` diff --git a/pages.nl/common/magick-mogrify.md b/pages.nl/common/magick-mogrify.md new file mode 100644 index 00000000000000..40d4611c694342 --- /dev/null +++ b/pages.nl/common/magick-mogrify.md @@ -0,0 +1,34 @@ +# magick mogrify + +> Voer bewerkingen uit op meerdere afbeeldingen, zoals het wijzigen van de grootte, bijsnijden, omkeren en effecten toevoegen. +> Wijzigingen worden direct toegepast op het originele bestand. +> Zie ook: `magick`. +> Meer informatie: . + +- Wijzig de grootte van alle JPEG afbeeldingen in de map naar 50% van hun oorspronkelijke grootte: + +`magick mogrify -resize {{50%}} {{*.jpg}}` + +- Wijzig de grootte van alle afbeeldingen die beginnen met `DSC` naar 800x600: + +`magick mogrify -resize {{800x600}} {{DSC*}}` + +- Converteer alle PNG's in de map naar JPEG: + +`magick mogrify -format {{jpg}} {{*.png}}` + +- Halveer de verzadiging van alle afbeeldingsbestanden in de huidige map: + +`magick mogrify -modulate {{100,50}} {{*}}` + +- Verdubbel de helderheid van alle afbeeldingsbestanden in de huidige map: + +`magick mogrify -modulate {{200}} {{*}}` + +- Verklein de bestandsgrootte van alle GIF-afbeeldingen in de huidige map door de kwaliteit te verlagen: + +`magick mogrify -layers 'optimize' -fuzz {{7%}} {{*.gif}}` + +- Toon de help: + +`magick mogrify -help` diff --git a/pages.nl/common/magick-montage.md b/pages.nl/common/magick-montage.md new file mode 100644 index 00000000000000..416d36f7e4f7a2 --- /dev/null +++ b/pages.nl/common/magick-montage.md @@ -0,0 +1,25 @@ +# magick montage + +> Plaats afbeeldingen in een aanpasbaar raster. +> Zie ook: `magick`. +> Meer informatie: . + +- Plaats afbeeldingen in een raster, waarbij afbeeldingen die groter zijn dan de rastercelgrootte automatisch worden aangepast: + +`magick montage {{pad/naar/afbeelding1.jpg pad/naar/afbeelding2.jpg ...}} {{pad/naar/montage.jpg}}` + +- Plaats afbeeldingen in een raster, waarbij de rastercelgrootte automatisch wordt berekend op basis van de grootste afbeelding: + +`magick montage {{pad/naar/afbeelding1.jpg pad/naar/afbeelding2.jpg ...}} -geometry {{+0+0}} {{pad/naar/montage.jpg}}` + +- Specificeer de rastercelgrootte en pas de afbeeldingen aan om hierin te passen voordat ze worden geplaatst: + +`magick montage {{pad/naar/afbeelding1.jpg pad/naar/afbeelding2.jpg ...}} -geometry {{640x480+0+0}} {{pad/naar/montage.jpg}}` + +- Beperk het aantal rijen en kolommen in het raster, waardoor invoerafbeeldingen over meerdere output-montages worden verdeeld: + +`magick montage {{pad/naar/afbeelding1.jpg pad/naar/afbeelding2.jpg ...}} -geometry {{+0+0}} -tile {{2x3}} {{montage_%d.jpg}}` + +- Wijzig de grootte en snijd afbeeldingen bij om hun rastercellen te vullen voordat ze worden geplaatst: + +`magick montage {{pad/naar/afbeelding1.jpg pad/naar/afbeelding2.jpg ...}} -geometry {{+0+0}} -resize {{640x480^}} -gravity {{center}} -crop {{640x480+0+0}} {{pad/naar/montage.jpg}}` diff --git a/pages.nl/common/magick.md b/pages.nl/common/magick.md index 32efddb2264a5a..86fb92320d9d62 100644 --- a/pages.nl/common/magick.md +++ b/pages.nl/common/magick.md @@ -1,25 +1,30 @@ # magick -> Creër, bewerk, vorm, of converteer bitmapafbeeldingen. -> ImageMagick versie 7+. Bekijk `convert` versies 6 en lager. -> Meer informatie: . +> Creëer, bewerk, vorm of converteer bitmapafbeeldingen. +> Deze tool vervangt `convert` in ImageMagick 7+. Bekijk `magick convert` om de oude tool te gebruiken in versies 7+. +> Sommige subcommando's zoals `mogrify` hebben hun eigen documentatie. +> Meer informatie: . -- Converteer bestandstype: +- Converteer tussen afbeeldingsformaten: -`magick {{afbeelding.png}} {{afbeelding.jpg}}` +`magick {{pad/naar/invoer_afbeelding.png}} {{pad/naar/uitvoer_afbeelding.jpg}}` -- Formaat van een afbeelding wijzigen, maak een nieuw kopie: +- Wijzig de grootte van een afbeelding en maak een nieuwe kopie: -`magick convert -resize {{100x100}} {{afbeelding.jpg}} {{afbeelding.jpg}}` +`magick {{pad/naar/invoer_afbeelding.png}} -resize {{100x100}} {{pad/naar/uitvoer_afbeelding.jpg}}` -- Creër een GIF door middel van afbeeldingen: +- Wijzig de grootte van een afbeelding met een percentage: -`magick {{*.jpg}} {{afbeelding.gif}}` +`magick {{pad/naar/invoer_afbeelding.png}} -resize {{50}}% {{pad/naar/uitvoer_afbeelding.png}}` -- Creër een dambordpatroon: +- Maak een GIF van alle JPEG-afbeeldingen uit de huidige map: -`magick -size {{640x480}} pattern:checkerboard {{dambordpatroon.png}}` +`magick {{*.jpg}} {{pad/naar/uitvoer_afbeelding.gif}}` -- Converteer afbeeldingen naar individuele PDF-pagina's: +- Creëer een dambordpatroon: -`magick {{*.jpg}} +adjoin {{pagina-%d.pdf}}` +`magick -size {{640x480}} pattern:checkerboard {{pad/naar/dambordpatroon.png}}` + +- Maak een PDF van alle JPEG-afbeeldingen uit de huidige map: + +`magick {{*.jpg}} -adjoin {{pad/naar/pagina-%d.pdf}}` diff --git a/pages.nl/common/make.md b/pages.nl/common/make.md new file mode 100644 index 00000000000000..ffbb7bbcc1f460 --- /dev/null +++ b/pages.nl/common/make.md @@ -0,0 +1,37 @@ +# make + +> Taakuitvoerder voor doelen beschreven in Makefile. +> Wordt meestal gebruikt om de compilatie van een uitvoerbaar bestand uit broncode te beheren. +> Meer informatie: . + +- Roep het eerste doel aan dat in de Makefile is gespecificeerd (meestal "all" genoemd): + +`make` + +- Roep een specifiek doel aan: + +`make {{doel}}` + +- Roep een specifiek doel aan en voer 4 taken tegelijk uit in parallel: + +`make {{[-j|--jobs]}} 4 {{doel}}` + +- Gebruik een specifieke Makefile: + +`make {{[-f|--file]}} {{pad/naar/bestand}}` + +- Voer make uit vanuit een andere map: + +`make {{[-C|--directory]}} {{pad/naar/map}}` + +- Forceer het maken van een doel, zelfs als bronbestanden ongewijzigd zijn: + +`make {{[-B|--always-make]}} {{doel}}` + +- Overschrijf een variabele die in de Makefile is gedefinieerd: + +`make {{doel}} {{variabele}}={{nieuwe_waarde}}` + +- Overschrijf variabelen die in de Makefile zijn gedefinieerd door de omgeving: + +`make {{[-e|--environment-overrides]}} {{doel}}` diff --git a/pages.nl/common/man.md b/pages.nl/common/man.md new file mode 100644 index 00000000000000..a12218961f632d --- /dev/null +++ b/pages.nl/common/man.md @@ -0,0 +1,36 @@ +# man + +> Formatteer en toon handleidingen. +> Meer informatie: . + +- Toon de handleiding voor een commando: + +`man {{commando}}` + +- Open de man pagina voor een commando in een browser (`BROWSER` omgevingsvariabele kan `=browser_name` vervangen): + +`man {{[-H|--html=]}}{{browser_naam}} {{commando}}` + +- Toon de handleiding voor een commando uit sectie 7: + +`man 7 {{commando}}` + +- Toon alle beschikbare secties voor een commando: + +`man {{[-f|--whatis]}} {{commando}}` + +- Toon het pad dat wordt doorzocht voor handleidingen: + +`man {{[-w|--path]}}` + +- Toon de locatie van een handleiding in plaats van de handleiding zelf: + +`man {{[-w|--where]}} {{commando}}` + +- Toon de handleiding in een specifieke taal: + +`man {{[-L|--locale]}} {{taal}} {{commando}}` + +- Zoek naar handleidingen die een zoekterm bevatten: + +`man {{[-k|--apropos]}} "{{zoekterm}}"` diff --git a/pages.nl/common/mapfile.md b/pages.nl/common/mapfile.md new file mode 100644 index 00000000000000..72e378ab26df2f --- /dev/null +++ b/pages.nl/common/mapfile.md @@ -0,0 +1,7 @@ +# mapfile + +> Dit commando is een alias van `readarray`. + +- Bekijk de documentatie van het originele commando: + +`tldr readarray` diff --git a/pages.nl/common/mc.cli.md b/pages.nl/common/mc.cli.md new file mode 100644 index 00000000000000..fb1ed1aec414da --- /dev/null +++ b/pages.nl/common/mc.cli.md @@ -0,0 +1,17 @@ +# mc + +> Minio Client voor objectopslag en bestandssystemen. +> Kan op sommige systemen `mc` of `mcli` heten. +> Meer informatie: . + +- Voeg verbinding toe aan een S3-server: + +`mc alias set {{local}} {{http://localhost:9000}} {{toegangssleutel}} {{privésleutel}}` + +- Maak een bucket aan: + +`mc mb {{local/bucket_naam}}` + +- Toon buckets en hun inhoud recursief: + +`mc ls {{local}} --recursive` diff --git a/pages.nl/common/mcli.md b/pages.nl/common/mcli.md new file mode 100644 index 00000000000000..0fc3b4902b679a --- /dev/null +++ b/pages.nl/common/mcli.md @@ -0,0 +1,7 @@ +# mcli + +> Dit commando is een alias van `mc` (MinIO client). + +- Bekijk de documentatie van het originele commando: + +`tldr mc.cli` diff --git a/pages.nl/common/md5sum.md b/pages.nl/common/md5sum.md new file mode 100644 index 00000000000000..949740d414a1bc --- /dev/null +++ b/pages.nl/common/md5sum.md @@ -0,0 +1,32 @@ +# md5sum + +> Bereken MD5 cryptografische checksums. +> Meer informatie: . + +- Bereken de MD5 checksum voor één of meer bestanden: + +`md5sum {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Bereken en sla de lijst van MD5 checksums op in een bestand: + +`md5sum {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/bestand.md5}}` + +- Bereken een MD5 checksum van `stdin`: + +`{{commando}} | md5sum` + +- Lees een bestand met MD5 checksums en bestandsnamen en verifieer dat alle bestanden overeenkomende checksums hebben: + +`md5sum {{[-c|--check]}} {{pad/naar/bestand.md5}}` + +- Toon alleen een bericht voor ontbrekende bestanden of wanneer verificatie mislukt: + +`md5sum {{[-c|--check]}} --quiet {{pad/naar/bestand.md5}}` + +- Toon alleen een bericht wanneer verificatie mislukt, negeer ontbrekende bestanden: + +`md5sum --ignore-missing {{[-c|--check]}} --quiet {{pad/naar/bestand.md5}}` + +- Controleer een bekende MD5 checksum van een bestand: + +`echo {{bekende_md5_checksum_van_het_bestand}} {{pad/naar/bestand}} | md5sum {{[-c|--check]}}` diff --git a/pages.nl/common/mesg.md b/pages.nl/common/mesg.md new file mode 100644 index 00000000000000..4188299f09c628 --- /dev/null +++ b/pages.nl/common/mesg.md @@ -0,0 +1,17 @@ +# mesg + +> Controleer of stel in of een terminal berichten van andere gebruikers kan ontvangen, meestal van het `write`-commando. +> Zie ook: `write`, `talk`. +> Meer informatie: . + +- Controleer of de terminal openstaat voor berichten: + +`mesg` + +- Sta geen berichten toe van het write-commando: + +`mesg n` + +- Sta berichten toe van het write-commando: + +`mesg y` diff --git a/pages.nl/common/minio-client.md b/pages.nl/common/minio-client.md new file mode 100644 index 00000000000000..fd1e56207dc53e --- /dev/null +++ b/pages.nl/common/minio-client.md @@ -0,0 +1,7 @@ +# minio-client + +> Dit commando is een alias van `mc` (MinIO client). + +- Bekijk de documentatie van het originele commando: + +`tldr mc.cli` diff --git a/pages.nl/common/mkdir.md b/pages.nl/common/mkdir.md new file mode 100644 index 00000000000000..48437c21904f96 --- /dev/null +++ b/pages.nl/common/mkdir.md @@ -0,0 +1,20 @@ +# mkdir + +> Maak mappen aan en stel hun permissies in. +> Meer informatie: . + +- Maak specifieke mappen aan: + +`mkdir {{pad/naar/map1 pad/naar/map2 ...}}` + +- Maak specifieke mappen en hun ouders aan indien nodig: + +`mkdir {{[-p|--parents]}} {{pad/naar/map1 pad/naar/map2 ...}}` + +- Maak mappen aan met specifieke permissies: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{pad/naar/map1 pad/naar/map2 ...}}` + +- Maak meerdere geneste mappen recursief: + +`mkdir {{[-p|--parents]}} {{pad/naar/{a,b}/{x,y,z}/{h,i,j}}}` diff --git a/pages.nl/common/mkfifo.md b/pages.nl/common/mkfifo.md new file mode 100644 index 00000000000000..146a9966e2df1e --- /dev/null +++ b/pages.nl/common/mkfifo.md @@ -0,0 +1,20 @@ +# mkfifo + +> Maak FIFOs (benoemde pipes). +> Meer informatie: . + +- Maak een benoemde pipe op een opgegeven pad: + +`mkfifo {{pad/naar/pipe}}` + +- Stuur data naar een benoemde pipe en stuur het commando naar de achtergrond: + +`echo "{{Hello World}}" > {{pad/naar/pipe}} &` + +- Ontvang data van benoemde pipe: + +`cat {{pad/naar/pipe}}` + +- Deel je terminal sessie in real-time: + +`mkfifo {{pad/naar/pipe}}; script {{[-f|--flush]}} {{pad/naar/pipe}}` diff --git a/pages.nl/common/mktemp.md b/pages.nl/common/mktemp.md new file mode 100644 index 00000000000000..c094bd2300a55e --- /dev/null +++ b/pages.nl/common/mktemp.md @@ -0,0 +1,24 @@ +# mktemp + +> Maak een tijdelijk bestand of een tijdelijke map aan. +> Meer informatie: . + +- Maak een leeg tijdelijk bestand en toon het absolute pad: + +`mktemp` + +- Gebruik een aangepaste map als `$TMPDIR` niet is ingesteld (de standaard is platformafhankelijk, maar meestal `/tmp`): + +`mktemp -p /{{pad/naar/tempdir}}` + +- Gebruik een aangepast pad-sjabloon (`X`en worden vervangen door willekeurige alfanumerieke tekens): + +`mktemp {{/tmp/voorbeeld.XXXXXXXX}}` + +- Gebruik een aangepast bestandsnaam-sjabloon: + +`mktemp -t {{voorbeeld.XXXXXXXX}}` + +- Maak een lege tijdelijke map aan en toon het absolute pad: + +`mktemp -d` diff --git a/pages.nl/common/mogrify.md b/pages.nl/common/mogrify.md new file mode 100644 index 00000000000000..51e833821cc2f0 --- /dev/null +++ b/pages.nl/common/mogrify.md @@ -0,0 +1,7 @@ +# mogrify + +> Dit commando is een alias van `magick mogrify`. + +- Bekijk de documentatie van het originele commando: + +`tldr magick mogrify` diff --git a/pages.nl/common/montage.md b/pages.nl/common/montage.md new file mode 100644 index 00000000000000..3bfe3ea4361488 --- /dev/null +++ b/pages.nl/common/montage.md @@ -0,0 +1,7 @@ +# montage + +> Dit commando is een alias van `magick montage`. + +- Bekijk de documentatie van het originele commando: + +`tldr magick montage` diff --git a/pages.nl/common/more.md b/pages.nl/common/more.md new file mode 100644 index 00000000000000..6f430c33ab78b7 --- /dev/null +++ b/pages.nl/common/more.md @@ -0,0 +1,29 @@ +# more + +> Toon een bestand interactief, met de mogelijkheid om te scrollen en te zoeken. +> Zie ook: `less`. +> Meer informatie: . + +- Open een bestand: + +`more {{pad/naar/bestand}}` + +- Toon een specifieke regel: + +`more +{{regelnummer}} {{pad/naar/bestand}}` + +- Ga naar de volgende pagina: + +`` + +- Zoek naar een string (druk op `` om naar de volgende overeenkomst te gaan): + +`{{iets}}` + +- Afsluiten: + +`` + +- Toon de help over interactieve commando's: + +`` diff --git a/pages.nl/common/moreutils.md b/pages.nl/common/moreutils.md new file mode 100644 index 00000000000000..e629a278a6ff64 --- /dev/null +++ b/pages.nl/common/moreutils.md @@ -0,0 +1,13 @@ +# moreutils + +> Een collectie van UNIX tools. +> Let op: moreutils is geen commando, maar een set van commando's. +> Meer informatie: . + +- Bekijk de documentatie van pagina's gerelateerd aan standaard streams: + +`tldr {{ifne|mispipe|pee|sponge|vipe|vidir}}` + +- Bekijk de documentatie van andere pagina's: + +`tldr {{combine|errno|ifdata|isutt8|lckdo|parallel|zrun}}` diff --git a/pages.nl/common/mpic++.md b/pages.nl/common/mpic++.md new file mode 100644 index 00000000000000..d44aed2c92d4c4 --- /dev/null +++ b/pages.nl/common/mpic++.md @@ -0,0 +1,13 @@ +# mpic++ + +> Open MPI wrapper compiler voor C++. +> Zie ook: `mpirun`. +> Meer informatie: . + +- Compileer een Open MPI programma: + +`mpic++ {{pad/naar/bronbestand}}` + +- Toon alle wrapper geleverde vlaggen: + +`mpic++ --showme` diff --git a/pages.nl/common/mpicc.md b/pages.nl/common/mpicc.md new file mode 100644 index 00000000000000..17447632692c07 --- /dev/null +++ b/pages.nl/common/mpicc.md @@ -0,0 +1,16 @@ +# mpicc + +> Open MPI C wrapper compiler. +> Meer informatie: . + +- Compileer een bronbestand naar een objectbestand: + +`mpicc -c {{pad/naar/bestand.c}}` + +- Koppel een objectbestand en maak een executable: + +`mpicc -o {{executable}} {{pad/naar/objectbestand.o}}` + +- Compileer en koppel een bronbestand in één commando: + +`mpicc -o {{executable}} {{pad/naar/bestand.c}}` diff --git a/pages.nl/common/mpicxx.md b/pages.nl/common/mpicxx.md new file mode 100644 index 00000000000000..23169be130d3f6 --- /dev/null +++ b/pages.nl/common/mpicxx.md @@ -0,0 +1,7 @@ +# mpicxx + +> Dit commando is een alias van `mpic++`. + +- Bekijk de documentatie van het originele commando: + +`tldr mpic++` diff --git a/pages.nl/common/mpiexec.md b/pages.nl/common/mpiexec.md new file mode 100644 index 00000000000000..3cd9dc3e10f09f --- /dev/null +++ b/pages.nl/common/mpiexec.md @@ -0,0 +1,7 @@ +# mpiexec + +> Dit commando is een alias van `mpirun`. + +- Bekijk de documentatie van het originele commando: + +`tldr mpirun` diff --git a/pages.nl/common/mpirun.md b/pages.nl/common/mpirun.md new file mode 100644 index 00000000000000..c1fa589da2be77 --- /dev/null +++ b/pages.nl/common/mpirun.md @@ -0,0 +1,17 @@ +# mpirun + +> Voer seriële en parallelle taken uit in Open MPI. +> Zie ook: `mpic++`. +> Meer informatie: . + +- Voer een Open MPI programma uit: + +`mpirun {{pad/naar/executable}}` + +- Voer een Open MPI programma uit met `n` parallelle processen: + +`mpirun -n {{n}} {{pad/naar/executable}}` + +- Sta meer processen toe dan beschikbare fysieke cores: + +`mpirun -oversubscribe {{pad/naar/executable}}` diff --git a/pages.nl/common/mplayer.md b/pages.nl/common/mplayer.md new file mode 100644 index 00000000000000..4815d613255cf2 --- /dev/null +++ b/pages.nl/common/mplayer.md @@ -0,0 +1,28 @@ +# mplayer + +> Cross-platform multimediaspeler. +> Meer informatie: . + +- Speel het opgegeven bestand of URL af: + +`mplayer {{pad/naar/bestand|url}}` + +- Speel meerdere bestanden af: + +`mplayer {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Speel een specifiek bestand herhaaldelijk af: + +`mplayer -loop {{0}} {{pad/naar/bestand}}` + +- Pauzeer het afspelen: + +`` + +- Sluit mplayer: + +`` + +- Zoek 10 seconden vooruit of achteruit: + +`{{|}}` diff --git a/pages.nl/common/mpv.md b/pages.nl/common/mpv.md new file mode 100644 index 00000000000000..56c5928081e599 --- /dev/null +++ b/pages.nl/common/mpv.md @@ -0,0 +1,37 @@ +# mpv + +> Een audio-/videospeler gebaseerd op MPlayer. +> Zie ook: `mplayer`, `vlc`. +> Meer informatie: . + +- Speel een video of audio af van een URL of bestand: + +`mpv {{url|pad/naar/bestand}}` + +- Spring 5 seconden vooruit/achteruit: + +`{{|}}` + +- Spring een minuut vooruit/achteruit: + +`{{|}}` + +- Verlaag of verhoog de afspeelsnelheid met 10%: + +`{{<[>|<]>}}` + +- Voeg ondertiteling toe vanuit een bestand: + +`mpv --sub-file={{pad/naar/bestand}}` + +- Maak een screenshot van het huidige frame (standaard opgeslagen als `./mpv-shotNNNN.jpg`): + +`` + +- Speel een bestand af op een opgegeven snelheid (standaard 1): + +`mpv --speed {{0.01..100}} {{pad/naar/bestand}}` + +- Speel een bestand af met een profiel gedefinieerd in het `mpv.conf` bestand: + +`mpv --profile {{profiel_naam}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/mqtt_check.py.md b/pages.nl/common/mqtt_check.py.md new file mode 100644 index 00000000000000..30df0300247633 --- /dev/null +++ b/pages.nl/common/mqtt_check.py.md @@ -0,0 +1,29 @@ +# mqtt_check.py + +> Eenvoudig hulpprogramma voor het testen en valideren van MQTT aanmeldgegevens. +> Onderdeel van de Impacket-suite. +> Meer informatie: . + +- Controleer MQTT aanmeldingsgegevens voor een doel (hostnaam van de MQTT broker): + +`mqtt_check.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}` + +- Geef een aangepaste client-ID op voor authenticatie: + +`mqtt_check.py -client-id {{client_id}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}` + +- Schakel SSL in voor de verbinding: + +`mqtt_check.py -ssl {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}` + +- Maak verbinding met een specifieke poort (standaard is 1883): + +`mqtt_check.py -port {{port}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}` + +- Schakel debug-uitvoer in: + +`mqtt_check.py -debug {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}` + +- Toon de help: + +`mqtt_check.py --help` diff --git a/pages.nl/common/mscore.md b/pages.nl/common/mscore.md new file mode 100644 index 00000000000000..fea08e002986ff --- /dev/null +++ b/pages.nl/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Dit commando is een alias van `musescore`. + +- Bekijk de documentatie van het originele commando: + +`tldr musescore` diff --git a/pages.nl/common/msedge.md b/pages.nl/common/msedge.md new file mode 100644 index 00000000000000..4ee7f54aba2ec7 --- /dev/null +++ b/pages.nl/common/msedge.md @@ -0,0 +1,12 @@ +# msedge + +> De command-line utility van Microsoft Edge is beschikbaar als `msedge` op Windows en `microsoft-edge` op andere platforms. +> Meer informatie: . + +- Bekijk de documentatie van Microsoft Edge op Windows: + +`tldr {{[-p|--platform]}} windows msedge` + +- Bekijk de documentatie van Microsoft Edge op andere platforms: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages.nl/common/mssqlclient.py.md b/pages.nl/common/mssqlclient.py.md new file mode 100644 index 00000000000000..c803ee869a9212 --- /dev/null +++ b/pages.nl/common/mssqlclient.py.md @@ -0,0 +1,37 @@ +# mssqlclient.py + +> Maak verbinding met Microsoft SQL Server instanties en voer queries uit. +> Onderdeel van de Impacket-suite. +> Meer informatie: . + +- Maak verbinding met een MSSQL server met Windows authenticatie: + +`mssqlclient.py -windows-auth {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Maak verbinding met SQL server-authenticatie: + +`mssqlclient.py {{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Maak verbinding met pass-the-hash-authenticatie: + +`mssqlclient.py {{domein}}/{{gebruikersnaam}}@{{doel}} -hashes {{LM_Hash}}:{{NT_Hash}}` + +- Maak verbinding met Kerberos-authenticatie (geldige tickets vereist): + +`mssqlclient.py -k {{domein}}/{{gebruikersnaam}}@{{doel}}` + +- Voer een specifieke SQL-opdracht uit na verbinding: + +`mssqlclient.py {{gebruikersnaam}}:{{wachtwoord}}@{{doel}} -query "{{SELECT user_name();}}"` + +- Voer meerdere SQL-opdrachten vanuit een bestand uit: + +`mssqlclient.py {{gebruikersnaam}}:{{wachtwoord}}@{{doel}} -file {{pad/naar/sql_bestand.sql}}` + +- Maak verbinding met een specifieke database-instantie (standaard is `None`): + +`mssqlclient.py {{gebruikersnaam}}:{{wachtwoord}}@{{doel}} -db {{database_naam}}` + +- Geef SQL-query's weer voor uitvoering: + +`mssqlclient.py {{gebruikersnaam}}:{{wachtwoord}}@{{doel}} -show` diff --git a/pages.nl/common/musescore.md b/pages.nl/common/musescore.md new file mode 100644 index 00000000000000..74bb88d584c577 --- /dev/null +++ b/pages.nl/common/musescore.md @@ -0,0 +1,32 @@ +# musescore + +> MuseScore 3 bladmuziek bewerker. +> Meer informatie: . + +- Gebruik een specifiek audio stuurprogramma: + +`musescore --audio-driver {{jack|alsa|portaudio|pulse}}` + +- Stel de MP3 uitvoer bitsnelheid in kbit/s: + +`musescore --bitrate {{bitsnelheid}}` + +- Open MuseScore in debug modus: + +`musescore --debug` + +- Schakel experimentele funcies in, bijvoorbeeld lagen: + +`musescore --experimental` + +- Exporteer het gegeven bestand naar het gegeven uitvoer bestand. Het bestandstype hangt af van de gegeven extentie: + +`musescore --export-to {{uitvoer_bestand}} {{invoer_bestand}}` + +- Geef het verschil tussen de gegeven partituren: + +`musescore --diff {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Specificeer een MIDI invoer operaties bestand: + +`musescore --midi-operations {{pad/naar/bestand}}` diff --git a/pages.nl/common/musl-gcc.md b/pages.nl/common/musl-gcc.md new file mode 100644 index 00000000000000..426317dc8e3585 --- /dev/null +++ b/pages.nl/common/musl-gcc.md @@ -0,0 +1,9 @@ +# musl-gcc + +> Een wrapper voor `gcc` die automatisch opties instelt voor het koppelen van musl libc. +> Alle opties die gespecificeerd zijn, worden direct doorgegeven naar `gcc`. +> Meer informatie: . + +- Bekijk de documentatie voor `gcc`: + +`tldr gcc` diff --git a/pages.nl/common/mv.md b/pages.nl/common/mv.md new file mode 100644 index 00000000000000..3dbe60d465572b --- /dev/null +++ b/pages.nl/common/mv.md @@ -0,0 +1,36 @@ +# mv + +> Verplaats of hernoem bestanden en mappen. +> Meer informatie: . + +- Hernoem een bestand of map als het doel geen bestaande map is: + +`mv {{pad/naar/bron}} {{pad/naar/doel}}` + +- Verplaats een bestand of map naar een bestaande map: + +`mv {{pad/naar/bron}} {{pad/naar/bestaande_map}}` + +- Verplaats meerdere bestanden naar een bestaande map, waarbij de bestandsnamen ongewijzigd blijven: + +`mv {{pad/naar/bron1 pad/naar/bron2 ...}} {{pad/naar/bestaande_map}}` + +- Vraag niet om bevestiging voordat bestaande bestanden worden overschreven: + +`mv {{[-f|--force]}} {{pad/naar/bron}} {{pad/naar/doel}}` + +- Vraag om bevestiging interactief voordat bestaande bestanden worden overschreven, ongeacht de bestandsrechten: + +`mv {{[-i|--interactive]}} {{pad/naar/bron}} {{pad/naar/doel}}` + +- Overschrijf geen bestaande bestanden op de doelbestemming: + +`mv {{[-n|--no-clobber]}} {{pad/naar/bron}} {{pad/naar/doel}}` + +- Verplaats bestanden in verbose-modus, waarbij de bestanden worden getoond nadat ze zijn verplaatst: + +`mv {{[-v|--verbose]}} {{pad/naar/bron}} {{pad/naar/doel}}` + +- Specificeer de doelmap (handig in situaties waarin de doelmap het eerste argument moet zijn): + +`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv {{[-t|--target-directory]}} {{pad/naar/doel_map}}` diff --git a/pages.nl/common/mycli.md b/pages.nl/common/mycli.md new file mode 100644 index 00000000000000..521f2b539b5547 --- /dev/null +++ b/pages.nl/common/mycli.md @@ -0,0 +1,16 @@ +# mycli + +> Een CLI voor MySQL, MariaDB en Percona die automatische aanvulling en syntaxisaccentuering kan uitvoeren. +> Meer informatie: . + +- Verbinden met een lokale database op poort 3306, met de gebruikersnaam van de huidige gebruiker: + +`mycli {{database_naam}}` + +- Verbinden met een database (gebruiker wordt gevraagd om een wachtwoord): + +`mycli {{[-u|--user]}} {{gebruikersnaam}} {{database_naam}}` + +- Verbinden met een database op een andere host: + +`mycli {{[-h|--host]}} {{database_host}} {{[-P|--port]}} {{poort}} {{[-u|--user]}} {{gebruikersnaam}} {{database_naam}}` diff --git a/pages.nl/common/nano.md b/pages.nl/common/nano.md new file mode 100644 index 00000000000000..98d486da7348bc --- /dev/null +++ b/pages.nl/common/nano.md @@ -0,0 +1,37 @@ +# nano + +> Tekst bewerker. Een verbeterde `pico` kloon. +> Zie ook: `pico`, `rnano`. +> Meer informatie: . + +- Open specifieke bestanden, ga naar het volgende bestand bij het sluiten van de vorige: + +`nano {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Start de tekst bewerker zonder gebruik te maken van configuratiebestanden: + +`nano {{[-I|--ignorercfiles]}}` + +- Open een bestand en positioneer de cursor op een specifieke regel en kolom: + +`nano +{{regel}},{{kolom}} {{pad/naar/bestand}}` + +- Open een bestand en zet 'soft wrapping' aan: + +`nano {{[-S|--softwrap]}} {{pad/naar/bestand}}` + +- Open een bestand en spring nieuwe regels in volgens de inspringing van de vorige regel: + +`nano {{[-i|--autoindent]}} {{pad/naar/bestand}}` + +- Open een bestand en maak een reservekopie (`pad/naar/bestand~`) bij het opslaan: + +`nano {{[-B|--backup]}} {{pad/naar/bestand}}` + +- Open een bestand in de beperkte modus (d.w.z. lees/schrijf niet naar bestanden die niet op de command-line zijn gespecificeerd): + +`nano {{[-R|--restricted]}} {{pad/naar/bestand}}` + +- Sluit nano: + +`` diff --git a/pages.nl/common/nc.md b/pages.nl/common/nc.md new file mode 100644 index 00000000000000..4c3d5f2bd72d5f --- /dev/null +++ b/pages.nl/common/nc.md @@ -0,0 +1,32 @@ +# nc + +> Netcat is een veelzijdig hulpprogramma voor het omleiden van IO naar een netwerkstream. +> Meer informatie: . + +- Start een luisteraar op de opgegeven TCP poort en stuur er een bestand in: + +`nc < {{bestandsnaam}} -l -p {{poort}}` + +- Maak verbinding met een doelluisteraar op de opgegeven poort en ontvang er een bestand uit: + +`nc {{host}} {{poort}} > {{ontvangen_bestandsnaam}}` + +- Scan de open TCP poorten van een opgegeven host: + +`nc -v -z -w {{timeout_in_seconden}} {{host}} {{start_port}}-{{end_port}}` + +- Start een luisteraar op de opgegeven TCP poort en geef uw lokale shell toegang tot de verbonden partij (dit is gevaarlijk en kan worden misbruikt): + +`nc -l -p {{poort}} -e {{shell_executable}}` + +- Maak verbinding met een doelluisteraar en geef uw lokale shell toegang tot de externe partij (dit is gevaarlijk en kan worden misbruikt): + +`nc {{host}} {{poort}} -e {{shell_executable}}` + +- Fungeer als een proxy en stuur gegevens door van een lokale TCP poort naar de opgegeven externe host: + +`nc -l -p {{local_port}} | nc {{host}} {{remote_port}}` + +- Stuur een HTTP GET verzoek: + +`echo -e "GET / HTTP/1.1\nHost: {{host}}\n\n" | nc {{host}} 80` diff --git a/pages.nl/common/neofetch.md b/pages.nl/common/neofetch.md new file mode 100644 index 00000000000000..4516564c1c2c9d --- /dev/null +++ b/pages.nl/common/neofetch.md @@ -0,0 +1,22 @@ +# neofetch + +> Toon informatie over het besturingssysteem, de software en de hardware. +> Opmerking: `neofetch` wordt niet meer onderhouden. +> Zie ook: `fastfetch`. +> Meer informatie: . + +- Toon de standaardconfiguratie en maak deze aan wanneer het programma voor het eerst wordt uitgevoerd: + +`neofetch` + +- Schakel een bepaalde informatieregel aan/uit, waar `infonaam` de functienaam in het configuratiebestand is, bijv. memory: + +`neofetch --{{enable|disable}} {{infonaam}}` + +- Toon/verberg OS-architectuur: + +`neofetch --os_arch {{on|off}}` + +- Schakel CPU-merk in de uitvoer aan/uit: + +`neofetch --cpu_brand {{on|off}}` diff --git a/pages.nl/common/netcat.md b/pages.nl/common/netcat.md new file mode 100644 index 00000000000000..e619c3c8fe4a2b --- /dev/null +++ b/pages.nl/common/netcat.md @@ -0,0 +1,7 @@ +# netcat + +> Dit commando is een alias van `nc`. + +- Bekijk de documentatie van het originele commando: + +`tldr nc` diff --git a/pages.nl/common/netexec.md b/pages.nl/common/netexec.md new file mode 100644 index 00000000000000..8509f37c0df389 --- /dev/null +++ b/pages.nl/common/netexec.md @@ -0,0 +1,7 @@ +# netexec + +> Dit commando is een alias van `nxc`. + +- Bekijk de documentatie van het originele commando: + +`tldr nxc` diff --git a/pages.nl/common/netlify.md b/pages.nl/common/netlify.md new file mode 100644 index 00000000000000..d89c894aee79fb --- /dev/null +++ b/pages.nl/common/netlify.md @@ -0,0 +1,20 @@ +# netlify + +> Rol sites uit en configureer continuous deployment voor het Netlify platform. +> Meer informatie: . + +- Log in bij het Netlify account: + +`netlify login` + +- Rol de inhoud van een map uit naar Netlify: + +`netlify deploy` + +- Configureer continuous deployment voor een nieuwe of bestaande site: + +`netlify init` + +- Start een lokale dev server: + +`netlify dev` diff --git a/pages.nl/common/netstat.md b/pages.nl/common/netstat.md new file mode 100644 index 00000000000000..a1216da1b59424 --- /dev/null +++ b/pages.nl/common/netstat.md @@ -0,0 +1,32 @@ +# netstat + +> Toon netwerkgerelateerde informatie zoals open verbindingen, open socketpoorten, enz. +> Meer informatie: . + +- Toon alle poorten: + +`netstat {{[-a|--all]}}` + +- Toon alle luisterende poorten: + +`netstat {{-l|--listening]}}` + +- Toon luisterende TCP-poorten: + +`netstat {{-t|--tcp]}}` + +- Toon PID en programmanamen: + +`netstat {{[-p|--program]}}` + +- Toon continu informatie: + +`netstat {{[-c|--continuous]}}` + +- Toon routes en los IP-adressen niet op naar hostnamen: + +`netstat {{[-rn|--route --numeric]}}` + +- Toon luisterende TCP- en UDP-poorten (+ gebruiker en proces als je root bent): + +`netstat {{[-tulpne|--tcp --udp --listening --program --numeric --extend]}}` diff --git a/pages.nl/common/nice.md b/pages.nl/common/nice.md new file mode 100644 index 00000000000000..ebc1cf03b77ac7 --- /dev/null +++ b/pages.nl/common/nice.md @@ -0,0 +1,13 @@ +# nice + +> Voer een programma uit met een aangepaste planningsprioriteit (niceness). +> Niceness-waarden variëren van -20 (de hoogste prioriteit) tot 19 (de laagste). +> Meer informatie: . + +- Start een programma met een aangepaste prioriteit: + +`nice -{{niceness_waarde}} {{commando}}` + +- Definieer de prioriteit met een expliciete optie: + +`nice {{[-n|--adjustment]}} {{niceness_waarde}} {{commando}}` diff --git a/pages.nl/common/nl.md b/pages.nl/common/nl.md new file mode 100644 index 00000000000000..096a11a9be3918 --- /dev/null +++ b/pages.nl/common/nl.md @@ -0,0 +1,36 @@ +# nl + +> Voorzie regels van een nummer uit een bestand of van `stdin`. +> Meer informatie: . + +- Voorzie niet-lege regels in een bestand van een nummer: + +`nl {{pad/naar/bestand}}` + +- Lees van `stdin`: + +`{{commando}} | nl -` + +- Nummer [a]lle [b]ody regels inclusief lege regels of [n]ummer geen [b]ody regels: + +`nl -b {{a|n}} {{pad/naar/bestand}}` + +- Nummer alleen de [b]ody regels die overeenkomen met een basis reguliere expressie (BRE) [p]atroon: + +`nl -b p'FooBar[0-9]' {{pad/naar/bestand}}` + +- Gebruik een specifieke [i]ncrement voor regelnummering: + +`nl -i {{increment}} {{pad/naar/bestand}}` + +- Specificeer het nummeringsformaat voor regels: [r]echts of [l]inks uitgelijnd, met of zonder voorloopnullen ([z]eros): + +`nl -n {{rz|ln|rn}}` + +- Specificeer de breedte ([w]) van de nummering (standaard is 6): + +`nl -w {{col_width}} {{pad/naar/bestand}}` + +- Gebruik een specifieke string om de regelnummers van de regels te [s]cheiden (standaard is TAB): + +`nl -s {{separator}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/nm-classic.md b/pages.nl/common/nm-classic.md new file mode 100644 index 00000000000000..414271c36187b7 --- /dev/null +++ b/pages.nl/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Dit commando is een alias van `nm`. + +- Bekijk de documentatie van het originele commando: + +`tldr nm` diff --git a/pages.nl/common/nm.md b/pages.nl/common/nm.md new file mode 100644 index 00000000000000..e0cbfa01b11bfe --- /dev/null +++ b/pages.nl/common/nm.md @@ -0,0 +1,20 @@ +# nm + +> Toon symbool namen in object bestanden. +> Meer informatie: . + +- Toon globale (externe) functies in een bestand (voorafgegaan door T): + +`nm {{[-g|--extern-only]}} {{pad/naar/bestand.o}}` + +- Toon alleen ongedefinieerde symbolen in een bestand: + +`nm {{[-u|--undefined-only]}} {{pad/naar/bestand.o}}` + +- Toon alle symbolen, ook debugging symbolen: + +`nm {{[-a|--debug-syms]}} {{pad/naar/bestand.o}}` + +- Transformeer C++ symbolen (maak ze leesbaar): + +`nm {{[-C|--demangle]}} {{pad/naar/bestand.o}}` diff --git a/pages.nl/common/nohup.md b/pages.nl/common/nohup.md new file mode 100644 index 00000000000000..a760b77415aecc --- /dev/null +++ b/pages.nl/common/nohup.md @@ -0,0 +1,20 @@ +# nohup + +> Laat een proces doorgaan wanneer de terminal wordt beëindigd. +> Meer informatie: . + +- Voer een proces uit dat kan doorgaan na het sluiten van de terminal: + +`nohup {{commando}} {{argument1 argument2 ...}}` + +- Start `nohup` in de achtergrondmodus: + +`nohup {{commando}} {{argument1 argument2 ...}} &` + +- Voer een shell-script uit dat kan doorgaan na het sluiten van de terminal: + +`nohup {{pad/naar/script.sh}} &` + +- Voer een proces uit en schrijf de uitvoer naar een specifiek bestand: + +`nohup {{commando}} {{argument1 argument2 ...}} > {{pad/naar/uitvoer_bestand}} &` diff --git a/pages.nl/common/npm-author.md b/pages.nl/common/npm-author.md new file mode 100644 index 00000000000000..4b360192d5cbc1 --- /dev/null +++ b/pages.nl/common/npm-author.md @@ -0,0 +1,7 @@ +# npm author + +> Dit commando is een alias van `npm owner`. + +- Bekijk de documentatie van het originele commando: + +`tldr npm owner` diff --git a/pages.nl/common/npm-check.md b/pages.nl/common/npm-check.md new file mode 100644 index 00000000000000..0eb351264210f4 --- /dev/null +++ b/pages.nl/common/npm-check.md @@ -0,0 +1,20 @@ +# npm-check + +> Controleer op verouderde, onjuiste en ongebruikte npm-pakketafhankelijkheden. +> Meer informatie: . + +- Toon een rapport van verouderde, onjuiste en ongebruikte afhankelijkheden: + +`npm-check` + +- Werk interactief verouderde pakketten bij: + +`npm-check {{[-u|--update]}}` + +- Werk alles bij zonder te vragen: + +`npm-check {{[-y|--update-all]}}` + +- Controleer niet op ongebruikte pakketten: + +`npm-check {{[-s|--skip-unused]}}` diff --git a/pages.nl/common/npm-exec.md b/pages.nl/common/npm-exec.md new file mode 100644 index 00000000000000..1ae2f6aaf02017 --- /dev/null +++ b/pages.nl/common/npm-exec.md @@ -0,0 +1,24 @@ +# npm exec + +> Voer binaire bestanden uit vanuit `npm`-pakketten. +> Meer informatie: . + +- Voer het commando uit vanuit een lokaal of extern `npm`-pakket: + +`npm {{[x|exec]}} {{commando}} {{argument1 argument2 ...}}` + +- Specificeer het pakket expliciet (handig als meerdere commando's dezelfde naam hebben): + +`npm {{[x|exec]}} --package {{pakket}} {{commando}}` + +- Voer een commando uit als het bestaat in het huidig pad of in `node_modules/.bin`: + +`npm {{[x|exec]}} --no-install {{commando}} {{argument1 argument2 ...}}` + +- Voer een specifiek commando uit, waarbij uitvoer van `npm` zelf wordt onderdrukt: + +`npm {{[x|exec]}} --quiet {{command}} {{argument1 argument2 ...}}` + +- Toon de help: + +`npm {{[x|exec]}} --help` diff --git a/pages.nl/common/npm-fund.md b/pages.nl/common/npm-fund.md new file mode 100644 index 00000000000000..9ea75933b0c946 --- /dev/null +++ b/pages.nl/common/npm-fund.md @@ -0,0 +1,16 @@ +# npm fund + +> Haal financieringsinformatie op van pakketten. +> Meer informatie: . + +- Toon afhankelijkheden met financierings-URL voor het project in de huidige directory: + +`npm fund` + +- Open de financierings-URL voor een specifiek pakket in de standaard webbrowser: + +`npm fund {{pakket}}` + +- Toon afhankelijkheden met een financierings-URL voor een specifieke [w]orkspace voor het project in de huidige directory: + +`npm fund {{[-w|--workspace]}} {{workspace}}` diff --git a/pages.nl/common/npm-home.md b/pages.nl/common/npm-home.md new file mode 100644 index 00000000000000..4f4f4579f4e47c --- /dev/null +++ b/pages.nl/common/npm-home.md @@ -0,0 +1,16 @@ +# npm-home + +> Open de `npm`-pagina, Yarn-pagina of GitHub-repository van een pakket in de webbrowser. +> Meer informatie: . + +- Open de `npm`-pagina van een specifiek pakket in de webbrowser: + +`npm-home {{pakket}}` + +- Open de GitHub-repository van een specifiek pakket in de webbrowser: + +`npm-home {{[-g|--github]}} {{pakket}}` + +- Open de Yarn-pagina van een specifiek pakket in de webbrowser: + +`npm-home {{[-y|--yarn]}} {{pakket}}` diff --git a/pages.nl/common/npm-list.md b/pages.nl/common/npm-list.md new file mode 100644 index 00000000000000..7f989e7bacf6fd --- /dev/null +++ b/pages.nl/common/npm-list.md @@ -0,0 +1,7 @@ +# npm list + +> Dit commando is een alias van `npm ls`. + +- Bekijk de documentatie van het originele commando: + +`tldr npm ls` diff --git a/pages.nl/common/npm-ls.md b/pages.nl/common/npm-ls.md new file mode 100644 index 00000000000000..2248dadda0b553 --- /dev/null +++ b/pages.nl/common/npm-ls.md @@ -0,0 +1,28 @@ +# npm ls + +> Print alle geïnstalleerde pakketten naar `stdout`. +> Meer informatie: . + +- Print alle versies van directe afhankelijkheden in het huidige project naar `stdout`: + +`npm {{[ls|list]}}` + +- Print alle geïnstalleerde pakketten inclusief gelijkwaardige afhankelijkheden: + +`npm {{[ls|list]}} {{[-a|--all]}}` + +- Print alle globale geïnstalleerde pakketten: + +`npm {{[ls|list]}} {{[-g|--global]}}` + +- Print afhankelijkheden met uitgebreide informatie: + +`npm {{[ls|list]}} {{[-l|--long]}}` + +- Print afhankelijkheden in parseable formaat: + +`npm {{[ls|list]}} {{[-p|--parseable]}}` + +- Print afhankelijkheden in JSON formaat: + +`npm {{[ls|list]}} --json` diff --git a/pages.nl/common/npm-name.md b/pages.nl/common/npm-name.md new file mode 100644 index 00000000000000..4bdd39958d6d5e --- /dev/null +++ b/pages.nl/common/npm-name.md @@ -0,0 +1,12 @@ +# npm-name + +> Controleer of een pakket- of organisatienaam beschikbaar is op npm. +> Meer informatie: . + +- Controleer of een specifieke pakketnaam beschikbaar is in het npm-register: + +`npm-name {{pakket}}` + +- Vind vergelijkbare pakketnamen in het npm-register: + +`npm-name --similar {{pakket}}` diff --git a/pages.nl/common/npm-owner.md b/pages.nl/common/npm-owner.md new file mode 100644 index 00000000000000..3a94df0c31f0a4 --- /dev/null +++ b/pages.nl/common/npm-owner.md @@ -0,0 +1,16 @@ +# npm owner + +> Beheer eigendom van gepubliceerde pakketten. +> Meer informatie: . + +- Voeg een nieuwe gebruiker toe als maintainer van een pakket: + +`npm owner add {{gebruikersnaam}} {{pakket_naam}}` + +- Verwijder een gebruiker van de eigenaars-lijst van een pakket: + +`npm owner rm {{gebruikersnaam}} {{pakket_naam}}` + +- Toon alle eigenaars van een pakket: + +`npm owner ls {{pakket_naam}}` diff --git a/pages.nl/common/npm-query.md b/pages.nl/common/npm-query.md new file mode 100644 index 00000000000000..f5a61eb60f876b --- /dev/null +++ b/pages.nl/common/npm-query.md @@ -0,0 +1,32 @@ +# npm query + +> Print een array van afhankelijkheidsobjecten met behulp van CSS-achtige selectors. +> Meer informatie: . + +- Print directe afhankelijkheden: + +`npm query ':root > *'` + +- Print alle directe productie-/ontwikkelingsafhankelijkheden: + +`npm query ':root > .{{prod|dev}}'` + +- Print afhankelijkheden met een specifieke naam: + +`npm query '#{{pakket}}'` + +- Print afhankelijkheden met een specifieke naam en binnen een semantische versie range: + +`npm query '#{{pakket}}@{{semantische_versie}}'` + +- Print afhankelijkheden die geen andere afhankelijkheden hebben: + +`npm query ':empty'` + +- Zoek alle afhankelijkheden met postinstall-scripts en verwijder ze: + +`npm query ":attr(scripts, [postinstall])" | jq 'map(.name) | join("\n")' {{[-r|--raw-output]}} | xargs -I _ npm uninstall _` + +- Zoek alle Git-afhankelijkheden en print welke applicatie ze vereist: + +`npm query ":type(git)" | jq 'map(.name)' | xargs -I _ npm why _` diff --git a/pages.nl/common/npm-restart.md b/pages.nl/common/npm-restart.md new file mode 100644 index 00000000000000..28a7dfb2686435 --- /dev/null +++ b/pages.nl/common/npm-restart.md @@ -0,0 +1,7 @@ +# npm restart + +> Dit commando is een alias van `npm run restart`. + +- Bekijk de documentatie van het originele commando: + +`tldr npm run` diff --git a/pages.nl/common/npm-run-script.md b/pages.nl/common/npm-run-script.md new file mode 100644 index 00000000000000..66f92f5e523318 --- /dev/null +++ b/pages.nl/common/npm-run-script.md @@ -0,0 +1,7 @@ +# npm run-script + +> Dit commando is een alias van `npm run`. + +- Bekijk de documentatie van het originele commando: + +`tldr npm run` diff --git a/pages.nl/common/npm-run.md b/pages.nl/common/npm-run.md new file mode 100644 index 00000000000000..015c9194981eed --- /dev/null +++ b/pages.nl/common/npm-run.md @@ -0,0 +1,28 @@ +# npm run + +> Voer een script uit. +> Meer informatie: . + +- Voer een script uit: + +`npm run {{script_naam}}` + +- Geef argumenten door aan een script: + +`npm run {{script_naam}} -- {{argument}} {{--optie}}` + +- Voer een script uit met de naam `start`: + +`npm start` + +- Voer een script uit met de naam `stop`: + +`npm stop` + +- Voer een script uit met de naam `restart`: + +`npm restart` + +- Voer een script uit met de naam `test`: + +`npm {{[t|test]}}` diff --git a/pages.nl/common/npm-start.md b/pages.nl/common/npm-start.md new file mode 100644 index 00000000000000..313ac435b84537 --- /dev/null +++ b/pages.nl/common/npm-start.md @@ -0,0 +1,7 @@ +# npm start + +> Dit commando is een alias van `npm run start`. + +- Bekijk de documentatie van het originele commando: + +`tldr npm run` diff --git a/pages.nl/common/npm-stop.md b/pages.nl/common/npm-stop.md new file mode 100644 index 00000000000000..2bcb4821d2c386 --- /dev/null +++ b/pages.nl/common/npm-stop.md @@ -0,0 +1,7 @@ +# npm stop + +> Dit commando is een alias van `npm run stop`. + +- Bekijk de documentatie van het originele commando: + +`tldr npm run` diff --git a/pages.nl/common/npm-test.md b/pages.nl/common/npm-test.md new file mode 100644 index 00000000000000..a93c7344b8f519 --- /dev/null +++ b/pages.nl/common/npm-test.md @@ -0,0 +1,7 @@ +# npm test + +> Dit commando is een alias van `npm run test`. + +- Bekijk de documentatie van het originele commando: + +`tldr npm run` diff --git a/pages.nl/common/npm-why.md b/pages.nl/common/npm-why.md new file mode 100644 index 00000000000000..f1de59f9b8ebd9 --- /dev/null +++ b/pages.nl/common/npm-why.md @@ -0,0 +1,8 @@ +# npm-why + +> Identificeert waarom een npm-pakket is geïnstalleerd. +> Meer informatie: . + +- Toon waarom een npm-pakket is geïnstalleerd: + +`npm-why {{pakket}}` diff --git a/pages.nl/common/npm.md b/pages.nl/common/npm.md new file mode 100644 index 00000000000000..eab4fc3c0a39d8 --- /dev/null +++ b/pages.nl/common/npm.md @@ -0,0 +1,37 @@ +# npm + +> JavaScript en Node.js pakketbeheer. +> Beheer Node.js-projecten en hun module-afhankelijkheden. +> Meer informatie: . + +- Maak een `package.json`-bestand met standaardwaarden (laat --yes weg om dit interactief te doen): + +`npm init {{[-y|--yes]}}` + +- Download alle pakketten die zijn vermeld als afhankelijkheden in `package.json`: + +`npm {{[i|install]}}` + +- Download een specifieke versie van een pakket en voeg het toe aan de lijst van afhankelijkheden in `package.json`: + +`npm {{[i|install]}} {{pakket_naam}}@{{versie}}` + +- Download de nieuwste versie van een pakket en voeg het toe aan de lijst van dev-afhankelijkheden in `package.json`: + +`npm {{[i|install]}} {{pakket_naam}} {{[-D|--save-dev]}}` + +- Download de nieuwste versie van een pakket en installeer het globaal: + +`npm {{[i|install]}} {{[-g|--global]}} {{pakket_naam}}` + +- Verwijder een pakket en haal het uit de lijst van afhankelijkheden in `package.json`: + +`npm {{[r|uninstall]}} {{pakket_naam}}` + +- Toon alle lokaal geïnstalleerde afhankelijkheden: + +`npm {{[ls|list]}}` + +- Toon alle top-level globaal geïnstalleerde pakketten: + +`npm {{[ls|list]}} {{[-g|--global]}} --depth {{0}}` diff --git a/pages.nl/common/nproc.md b/pages.nl/common/nproc.md new file mode 100644 index 00000000000000..ce860baad6db6d --- /dev/null +++ b/pages.nl/common/nproc.md @@ -0,0 +1,16 @@ +# nproc + +> Toon het aantal beschikbare verwerkingsunits (meestal CPU's). +> Meer informatie: . + +- Toon het aantal beschikbare verwerkingsunits: + +`nproc` + +- Toon het aantal geïnstalleerde verwerkingsunits, inclusief eventuele inactieve: + +`nproc --all` + +- Trek, indien mogelijk, een bepaald aantal units af van de geretourneerde waarde: + +`nproc --ignore {{aantal}}` diff --git a/pages.nl/common/npx.md b/pages.nl/common/npx.md new file mode 100644 index 00000000000000..b14a5dce00c442 --- /dev/null +++ b/pages.nl/common/npx.md @@ -0,0 +1,7 @@ +# npx + +> Dit commando is een alias van `npm exec`. + +- Bekijk de documentatie van het originele commando: + +`tldr npm exec` diff --git a/pages.nl/common/ntfs-read.py.md b/pages.nl/common/ntfs-read.py.md new file mode 100644 index 00000000000000..98845278248bd3 --- /dev/null +++ b/pages.nl/common/ntfs-read.py.md @@ -0,0 +1,21 @@ +# ntfs-read.py + +> Een alleen-lezen NTFS verkenner voor het openen en extraheren van bestanden van NTFS volumes. +> Onderdeel van de Impacket suite. +> Meer informatie: . + +- Open een NTFS volume voor verkenning (bijvoorbeeld `C:\.\\` of `/dev/disk1s1`): + +`ntfs-read.py {{volume}}` + +- Haal een specifiek bestand uit een NTFS volume (bijvoorbeeld `\windows\system32\config\sam`): + +`ntfs-read.py -extract {{\windows\system32\config\sam}} {{volume}}` + +- Schakel debug-uitvoer in: + +`ntfs-read.py -debug {{volume}}` + +- Toon de help: + +`ntfs-read.py --help` diff --git a/pages.nl/common/ntl.md b/pages.nl/common/ntl.md new file mode 100644 index 00000000000000..dad6b63bb122a7 --- /dev/null +++ b/pages.nl/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Dit commando is een alias van `netlify`. + +- Bekijk de documentatie van het originele commando: + +`tldr netlify` diff --git a/pages.nl/common/numfmt.md b/pages.nl/common/numfmt.md new file mode 100644 index 00000000000000..45d2badcb0cecd --- /dev/null +++ b/pages.nl/common/numfmt.md @@ -0,0 +1,16 @@ +# numfmt + +> Converteer getallen naar en van mens-leesbare strings. +> Meer informatie: . + +- Converteer 1.5K (SI-eenheden) naar 1500: + +`numfmt --from si 1.5K` + +- Converteer het 5e veld (1-gebaseerd) naar IEC-eenheden zonder de header te converteren: + +`ls -l | numfmt --header=1 --field 5 --to iec` + +- Converteer naar IEC-eenheden, opvullen met 5 tekens, links uitgelijnd: + +`du {{[-s|--summarize]}} * | numfmt --to iec --format "%-5f"` diff --git a/pages.nl/common/nvim.md b/pages.nl/common/nvim.md new file mode 100644 index 00000000000000..5919dd9b7c1f33 --- /dev/null +++ b/pages.nl/common/nvim.md @@ -0,0 +1,38 @@ +# nvim + +> Neovim, een programmeurs tekstbewerker gebaseerd op Vim, welke verschillende modi aanbied voor verschillende soorten text manipulatie. +> Op `` drukken in de normale modus, gaat naar de invoer modus. `` gaat terug naar de normale modus, die geen reguliere tekst invoer accepteert. +> Zie ook: `vim`, `vimtutor`, `vimdiff`. +> Meer informatie: . + +- Open een bestand: + +`nvim {{pad/naar/bestand}}` + +- Ga naar de modus om tekst aan te passen (insert mode): + +`` + +- Kopieer ("yank") of knip ("delete") de huidige regel (plak het met `

`): + +`{{|}}` + +- Ga naar de normale modus en maak de laatste operatie ongedaan: + +`` + +- Zoek voor een patroon in het bestand (druk op ``/`` om naar de volgende/vorige overeenkomst te gaan): + +`{{zoek_patroon}}` + +- Voer een reguliere expressie vervanging uit in het volledige bestand: + +`<:>%s/{{reguliere_expressie}}/{{vervanging}}/g` + +- Ga naar de normale modus, sla (write) het bestand op en sluit af: + +`{{|<:>x|<:>wq}}` + +- Sluit af zonder op te slaan: + +`<:>q!` diff --git a/pages.nl/common/nvm.md b/pages.nl/common/nvm.md new file mode 100644 index 00000000000000..5c28127d2ca701 --- /dev/null +++ b/pages.nl/common/nvm.md @@ -0,0 +1,34 @@ +# nvm + +> Installeer, deïnstalleer of wissel tussen verschillende Node.js-versies. +> Ondersteunt versienummers zoals "12.8" of "v16.13.1", en labels zoals "stable", "system", enz. +> Zie ook: `asdf`. +> Meer informatie: . + +- Installeer een specifieke versie van Node.js: + +`nvm install {{node_versie}}` + +- Gebruik een specifieke versie van Node.js in de huidige shell: + +`nvm use {{node_versie}}` + +- Stel de standaardversie van Node.js in: + +`nvm alias default {{node_versie}}` + +- Toon alle beschikbare Node.js-versies en markeer de standaardversie: + +`nvm list` + +- Deïnstalleer een bepaalde versie van Node.js: + +`nvm uninstall {{node_versie}}` + +- Start de REPL van een specifieke versie van Node.js: + +`nvm run {{node_versie}} --version` + +- Voer een script uit in een specifieke versie van Node.js: + +`nvm exec {{node_versie}} node {{app.js}}` diff --git a/pages.nl/common/nxc.md b/pages.nl/common/nxc.md new file mode 100644 index 00000000000000..679b7958f4af16 --- /dev/null +++ b/pages.nl/common/nxc.md @@ -0,0 +1,21 @@ +# nxc + +> Netwerk service opsomming en exploitatie gereedschap. +> Sommige subcommando's zoals `smb` hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Toon een lijst van beschikbare modules voor het opgegeven protocol: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-L|--list-modules]}}` + +- Toont de opties die beschikbaar zijn voor de opgegeven module: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{module_naam}} --options` + +- Geef een [o]ptie op voor een module: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{module_naam}} -o {{OPTIE_NAAM}}={{optie_waarde}}` + +- Bekijk de opties die beschikbaar zijn voor het opgegeven protocol: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-h|--help]}}` diff --git a/pages.nl/common/objdump.md b/pages.nl/common/objdump.md new file mode 100644 index 00000000000000..a909fa3769db6b --- /dev/null +++ b/pages.nl/common/objdump.md @@ -0,0 +1,28 @@ +# objdump + +> Bekijk informatie over object bestanden. +> Meer informatie: . + +- Toon de bestand header informatie: + +`objdump {{[-f|--file-headers]}} {{pad/naar/binary}}` + +- Toon alle header informatie: + +`objdump {{[-x|--all-headers]}} {{pad/naar/binary}}` + +- Toon de gedemonteerde uitvoer van uitvoerbare secties: + +`objdump {{[-d|--disassemble]}} {{pad/naar/binary}}` + +- Toon de gedemonteerde uitvoer van uitvoerbare secties in intel syntax: + +`objdump {{[-M|--disassembler-options]}} intel {{[-d|--disassemble]}} {{pad/naar/binary}}` + +- Toon de symbooltabel: + +`objdump {{[-t|--syms]}} {{pad/naar/binary}}` + +- Toon een complete binary hex dump van alle secties: + +`objdump {{[-s|--full-contents]}} {{pad/naar/binary}}` diff --git a/pages.nl/common/od.md b/pages.nl/common/od.md new file mode 100644 index 00000000000000..9c42d6d283258c --- /dev/null +++ b/pages.nl/common/od.md @@ -0,0 +1,29 @@ +# od + +> Toon bestandsinhoud in octale, decimale of hexadecimale notatie. +> Toon optioneel de byte-offsets en/of de afdrukbare weergave voor elke regel. +> Meer informatie: . + +- Toon bestand met de standaardinstellingen: octale notatie, 8 bytes per regel, byte-offsets in octale notatie en dubbele regels vervangen door `*`: + +`od {{pad/naar/bestand}}` + +- Toon bestand in uitgebreide modus, d.w.z. zonder dubbele regels te vervangen door `*`: + +`od {{[-v|--output-duplicates]}} {{pad/naar/bestand}}` + +- Toon bestand in hexadecimale notatie (2-byte eenheden), met byte-offsets in decimale notatie: + +`od {{[-t|--format]}} {{x}} {{[-A|--address-radix]}} {{d}} {{[-v|--output-duplicates]}} {{pad/naar/bestand}}` + +- Toon bestand in hexadecimale notatie (1-byte eenheden) en 4 bytes per regel: + +`od {{[-t|--format]}} {{x1}} {{[-w|--width=]}}4 {{[-v|--output-duplicates]}} {{pad/naar/bestand}}` + +- Toon bestand in hexadecimale notatie samen met de tekenweergave, en toon geen byte-offsets: + +`od {{[-t|--format]}} {{xz}} {{[-A|--address-radix]}} {{n}} {{[-v|--output-duplicates]}} {{pad/naar/bestand}}` + +- Lees slechts 100 bytes van een bestand vanaf de 500ste byte: + +`od {{[-N|--read-bytes]}} 100 {{[-j|--skip-bytes]}} 500 {{[-v|--output-duplicates]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/okular.md b/pages.nl/common/okular.md new file mode 100644 index 00000000000000..2e0c37183df5ba --- /dev/null +++ b/pages.nl/common/okular.md @@ -0,0 +1,28 @@ +# okular + +> Bekijk documenten. +> Meer informatie: . + +- Start de documentviewer: + +`okular` + +- Open specifieke documenten: + +`okular {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Open een document op een specifieke pagina: + +`okular {{[-p|--page]}} {{paginanummer}} {{pad/naar/bestand}}` + +- Open een specifiek document in presentatiemodus: + +`okular --presentation {{pad/naar/bestand}}` + +- Open een specifiek document en start een dialoog om te printen: + +`okular --print {{pad/naar/bestand}}` + +- Open een document en zoek voor een specifieke string: + +`okular --find {{zoekstring}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/ollama.md b/pages.nl/common/ollama.md new file mode 100644 index 00000000000000..5af574522f99d7 --- /dev/null +++ b/pages.nl/common/ollama.md @@ -0,0 +1,37 @@ +# ollama + +> Een groot taalmodel-runner. +> Voor een lijst van beschikbare modellen, zie . +> Meer informatie: . + +- Start de daemon die vereist is om andere commando's uit te voeren: + +`ollama serve` + +- Voer een model uit en praat ermee: + +`ollama run {{model}}` + +- Voer een model uit met één prompt: + +`ollama run {{model}} {{prompt}}` + +- Toon gedownloade modellen: + +`ollama list` + +- Pull een specifiek model: + +`ollama pull {{model}}` + +- Toon actieve modellen: + +`ollama ps` + +- Verwijder een model: + +`ollama rm {{model}}` + +- Maak een model van een `Modelfile`: + +`ollama create {{nieuwe_model_naam}} {{[-f|--file]}} {{pad/naar/Modelfile}}` diff --git a/pages.nl/common/omz.md b/pages.nl/common/omz.md new file mode 100644 index 00000000000000..506a3f70c0b000 --- /dev/null +++ b/pages.nl/common/omz.md @@ -0,0 +1,36 @@ +# omz + +> Oh My Zsh command-line hulpprogramma. +> Meer informatie: . + +- Update Oh My Zsh: + +`omz update` + +- Toon de wijzigingen van de laatste update van Oh My Zsh: + +`omz changelog` + +- Herstart de huidige Zsh-sessie en Oh My Zsh: + +`omz reload` + +- Toon alle beschikbare plugins: + +`omz plugin list` + +- Toon alle geactiveerde plugins: + +`omz plugin list --enabled` + +- Schakel een Oh My Zsh-plugin in/uit: + +`omz plugin {{enable|disable}} {{plugin}}` + +- Toon alle beschikbare thema's: + +`omz theme list` + +- Stel een Oh My Zsh-thema in in `~/.zshrc`: + +`omz theme set {{thema}}` diff --git a/pages.nl/common/open.fish.md b/pages.nl/common/open.fish.md new file mode 100644 index 00000000000000..fd08b6c8b785ef --- /dev/null +++ b/pages.nl/common/open.fish.md @@ -0,0 +1,25 @@ +# open + +> Opent bestanden, mappen en URI's met standaardtoepassingen. +> Deze commando is beschikbaar via fish op besturingssystemen zonder het ingebouwde `open`-commando (bijv. Haiku en macOS). +> Meer informatie: . + +- Open een bestand met de bijbehorende applicatie: + +`open {{pad/naar/bestand.ext}}` + +- Open alle bestanden van een bepaalde extensie in de huidige map met de bijbehorende toepassing: + +`open {{*.ext}}` + +- Open een map met behulp van de standaardbestandbeheerder: + +`open {{pad/naar/map}}` + +- Open een website met behulp van de standaard webbrowser: + +`open {{https://example.com}}` + +- Open een specifieke URI met behulp van de standaardtoepassing die deze aankan: + +`open {{tel:123}}` diff --git a/pages.nl/common/open.md b/pages.nl/common/open.md new file mode 100644 index 00000000000000..85af5dc99cf3bf --- /dev/null +++ b/pages.nl/common/open.md @@ -0,0 +1,11 @@ +# open + +> `open` kan verwijzen naar meerdere commando's met dezelfde naam. + +- Bekijk de documentatie voor het commando dat beschikbaar is in macOS: + +`tldr open {{[-p|--platform]}} osx` + +- Bekijk de documentatie voor het commando dat beschikbaar is via fish: + +`tldr open.fish` diff --git a/pages.nl/common/opera.md b/pages.nl/common/opera.md new file mode 100644 index 00000000000000..a35ec0b48257db --- /dev/null +++ b/pages.nl/common/opera.md @@ -0,0 +1,8 @@ +# opera + +> Dit commando is een alias van `chromium`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr chromium` diff --git a/pages.nl/common/pamarith.md b/pages.nl/common/pamarith.md new file mode 100644 index 00000000000000..702bdda18c71e7 --- /dev/null +++ b/pages.nl/common/pamarith.md @@ -0,0 +1,9 @@ +# pamarith + +> Pas een binaire functie toe op twee Netpbm afbeeldingen. +> Zie ook: `pamfunc`. +> Meer informatie: . + +- Pas de gespecificeerde binaire functie pixel-gewijs toe op twee gespecificeerde afbeeldingen (welke hetzelfde formaat dienen te hebben): + +`pamarith -{{add|subtract|multiply|divide|difference|minimum|maximum|...}} {{pad/naar/afbeelding1.pam|pbm|pgm|ppm}} {{pad/naar/afbeelding2.pam|pbm|pgm|ppm}}` diff --git a/pages.nl/common/pambrighten.md b/pages.nl/common/pambrighten.md new file mode 100644 index 00000000000000..1412e421326729 --- /dev/null +++ b/pages.nl/common/pambrighten.md @@ -0,0 +1,12 @@ +# pambrighten + +> Verander de saturatie en waarde van een PAM afbeelding. +> Meer informatie: . + +- Verhoog de verzadiging van elke pixel met het gespecificeerde percentage: + +`pambrighten {{[-s|-saturation]}} {{percentage}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.pam}}` + +- Verhoog de waarde (van de HSV kleurruimte) van elke pixel met het gespecificeerde percentage: + +`pambrighten {{[-va|-value]}} {{percentage}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamcomp.md b/pages.nl/common/pamcomp.md new file mode 100644 index 00000000000000..80e67d91d67669 --- /dev/null +++ b/pages.nl/common/pamcomp.md @@ -0,0 +1,20 @@ +# pamcomp + +> Leg twee PAM afbeeldingen over elkaar. +> Meer informatie: . + +- Leg twee afbeeldingen over elkaar zodat de bovenlaag delen van de onderlaag blokeert: + +`pamcomp {{pad/naar/bovenlaag.pam}} {{pad/naar/onderlaag.pam}} > {{pad/naar/uitvoer.pam}}` + +- Zet de horizontale uitlijning van de bovenlaag: + +`pamcomp {{[-ali|-align]}} {{left|center|right|beyondleft|beyondright}} {{[-x|-xoff]}} {{x_offset}} {{pad/naar/bovenlaag.pam}} {{pad/naar/onderlaag.pam}} > {{pad/naar/uitvoer.pam}}` + +- Zet de verticale uitlijning van de bovenlaag: + +`pamcomp {{[-va|-valign]}} {{top|middle|bottom|above|below}} {{[-y|-yoff]}} {{y_offset}} {{pad/naar/bovenlaag.pam}} {{pad/naar/onderlaag.pam}} > {{pad/naar/uitvoer.pam}}` + +- Zet de dekking van de bovenlaag: + +`pamcomp {{[-o|-opacity]}} {{0.7}} {{pad/naar/bovenlaag.pam}} {{pad/naar/onderlaag.pam}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamcrater.md b/pages.nl/common/pamcrater.md new file mode 100644 index 00000000000000..58264307e1bfce --- /dev/null +++ b/pages.nl/common/pamcrater.md @@ -0,0 +1,13 @@ +# pamcrater + +> Maak een PAM afbeelding van een krater terrein. +> Zie ook: `pamshadedrelief`, `ppmrelief`. +> Meer informatie: . + +- Maak een afbeelding van een krater terrein met de gespecificeerde dimensies: + +`pamcrater {{[-h|-height]}} {{hoogte}} {{[-w|-width]}} {{breedte}} > {{pad/naar/uitvoer.pam}}` + +- Maak een afbeelding met het gespecificeerde nummer van kraters: + +`pamcrater {{[-n|-number]}} {{n_kraters}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamcut.md b/pages.nl/common/pamcut.md new file mode 100644 index 00000000000000..f334046eb9e8a0 --- /dev/null +++ b/pages.nl/common/pamcut.md @@ -0,0 +1,17 @@ +# pamcut + +> Snij een rechthoekig gebied uit van een Netpbm afbeelding. +> Zie ook: `pamcrop`, `pamdice`, `pamcomp`. +> Meer informatie: . + +- Verwijder het gespecificeerde nummer van kolommen/rijen van iedere zijde van de afbeelding: + +`pamcut {{[-cropl|-cropleft]}} {{waarde}} {{[-cropr|-cropright]}} {{waarde}} {{[-cropt|-croptop]}} {{waarde}} {{[-cropb|-cropbottom]}} {{waarde}} {{pad/naar/afbeelding.ppm}} > {{pad/naar/uitvoer.ppm}}` + +- Behoud alleen de kolommen tussen de gespecificeerde kolommen (inclusief de gespecificeerde): + +`pamcut {{[-l|-left]}} {{waarde}} {{[-ri|-right]}} {{waarde}} {{pad/naar/afbeelding.ppm}} > {{pad/naar/uitvoer.ppm}}` + +- Vul missende gebieden met zwarte pixels als de gespecificeerde rechthoek niet volledig ligt in de invoer-afbeelding: + +`pamcut {{[-t|-top]}} {{waarde}} {{[-b|-bottom]}} {{waarde}} -pad {{pad/naar/afbeelding.ppm}} > {{pad/naar/uitvoer.ppm}}` diff --git a/pages.nl/common/pamdepth.md b/pages.nl/common/pamdepth.md new file mode 100644 index 00000000000000..9c972db542633c --- /dev/null +++ b/pages.nl/common/pamdepth.md @@ -0,0 +1,8 @@ +# pamdepth + +> Verminder de diepte (d.w.z. kleurresolutie) in een afbeelding. +> Meer informatie: . + +- Lees een PBM afbeelding, stel de maxval in en sla deze op in een bestand: + +`pamdepth {{maxval}} {{pad/naar/afbeelding.pbm}} > {{pad/naar/bestand.pbm}}` diff --git a/pages.nl/common/pamditherbw.md b/pages.nl/common/pamditherbw.md new file mode 100644 index 00000000000000..95e49955cde26f --- /dev/null +++ b/pages.nl/common/pamditherbw.md @@ -0,0 +1,21 @@ +# pamditherbw + +> Pas dithering toe op een grijze afbeelding, zet het bijvoorbeeld om in een patroon van een zwarte en witte pixels die eruitzien als de originele grijstinten. +> Zie ook: `pbmreduce`. +> Meer informatie: . + +- Lees een PGM afbeelding, pas dithering toe en sla het op naar een bestand: + +`pamditherbw {{pad/naar/afbeelding.pgm}} > {{pad/naar/bestand.pgm}}` + +- Gebruik de gespecificeerde kwantificering methode: + +`pamditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{pad/naar/afbeelding.pgm}} > {{pad/naar/bestand.pgm}}` + +- Gebruik de atkinson kwantificering methode en de gespecifieerde seed voor een pseudo-random nummer generator: + +`pamditherbw {{[-a|-atkinson]}} {{[-r|-randomseed]}} {{1337}} {{pad/naar/afbeelding.pgm}} > {{pad/naar/bestand.pgm}}` + +- Specificeer de drempel waarde van de kwantificering methodes die een vorm van drempels uitvoeren: + +`pamditherbw -{{fs|atkinson|thresholding}} {{[-va|-value]}} {{0.3}} {{pad/naar/afbeelding.pgm}} > {{pad/naar/bestand.pgm}}` diff --git a/pages.nl/common/pamedge.md b/pages.nl/common/pamedge.md new file mode 100644 index 00000000000000..7d0b5f68c245ba --- /dev/null +++ b/pages.nl/common/pamedge.md @@ -0,0 +1,8 @@ +# pamedge + +> Voer randdetectie uit op een Netpbm afbeelding. +> Meer informatie: . + +- Voer randdetectie uit op een Netpbm afbeelding: + +`pamedge {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamenlarge.md b/pages.nl/common/pamenlarge.md new file mode 100644 index 00000000000000..b0f6d4ef901734 --- /dev/null +++ b/pages.nl/common/pamenlarge.md @@ -0,0 +1,13 @@ +# pamenlarge + +> Vergroot een PAM afbeelding door de pixels te dupliceren. +> Zie ook: `pbmreduce`, `pamditherbw`, `pbmpscale`. +> Meer informatie: . + +- Vergroot de gespecificeerde afbeelding met de gespecificeerde factor: + +`pamenlarge {{[-s|-scale]}} {{n}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.pam}}` + +- Vergroot de gespecificeerde afbeelding met de gespecificeerde factors horizontaal en verticaal: + +`pamenlarge {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamfile.md b/pages.nl/common/pamfile.md new file mode 100644 index 00000000000000..d36a22c0ed1ce6 --- /dev/null +++ b/pages.nl/common/pamfile.md @@ -0,0 +1,16 @@ +# pamfile + +> Beschrijf Netpbm (PAM or PNM) bestanden. +> Meer informatie: . + +- Beschrijf de gespecificeerde Netpbm bestanden: + +`pamfile {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Beschrijf iedere afbeelding in ieder invoerbestand (in tegenstelling tot alleen de eerste afbeelding in elk bestand) in een machine-leesbaar formaat: + +`pamfile {{[-a|-allimages]}} -machine {{pad/naar/bestand}}` + +- Toon hoeveel afbeeldingen de invoerbestanden bevatten: + +`pamfile {{[-cou|-count]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/pamfix.md b/pages.nl/common/pamfix.md new file mode 100644 index 00000000000000..bd02c784148ce3 --- /dev/null +++ b/pages.nl/common/pamfix.md @@ -0,0 +1,17 @@ +# pamfix + +> Repareer errors in PAM, PBM, PGM en PPM bestanden. +> Zie ook: `pamfile`, `pamvalidate`. +> Meer informatie: . + +- Repareer een Netpbm bestand dat zijn laatste deel mist: + +`pamfix {{[-t|-truncate]}} {{pad/naar/corrupt.ext}} > {{pad/naar/uitvoer.ext}}` + +- Repareer een Netpbm bestand waar de pixel waardes de afbeelding's `maxval` overschrijden door de overtredende pixels te verlagen in waarde: + +`pamfix {{[-cl|-clip]}} {{pad/naar/corrupt.ext}} > {{pad/naar/uitvoer.ext}}` + +- Repareer een Netpbm bestand waar de pixel waardes de afbeelding's `maxval` overschrijden door deze te verhogen: + +`pamfix {{[-ch|-changemaxval]}} {{pad/naar/corrupt.pam|pbm|pgm|ppm}} > {{pad/naar/uitvoer.pam|pbm|pgm|ppm}}` diff --git a/pages.nl/common/pamfixtrunc.md b/pages.nl/common/pamfixtrunc.md new file mode 100644 index 00000000000000..11174839acb36b --- /dev/null +++ b/pages.nl/common/pamfixtrunc.md @@ -0,0 +1,8 @@ +# pamfixtrunc + +> Dit commando is vervangen door `pamfix -truncate`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamfix` diff --git a/pages.nl/common/pamflip.md b/pages.nl/common/pamflip.md new file mode 100644 index 00000000000000..3080a24f6918aa --- /dev/null +++ b/pages.nl/common/pamflip.md @@ -0,0 +1,20 @@ +# pamflip + +> Flip of draai een PAM of PNM afbeelding. +> Meer informatie: . + +- Draai de invoer-afbeelding tegen de klok in met de gespecificeerde graden:: + +`pamflip {{[-r|-rotate]}}{{90|180|270}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` + +- Flip links met rechts: + +`pamflip {{[-lr|-leftright]}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` + +- Flip boven met onder: + +`pamflip {{[-tb|-topbottom]}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` + +- Flip de invoer-afbeelding met de diagonaal: + +`pamflip {{[-xy|-transpose]}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamnoraw.md b/pages.nl/common/pamnoraw.md new file mode 100644 index 00000000000000..6d51c2e97d406a --- /dev/null +++ b/pages.nl/common/pamnoraw.md @@ -0,0 +1,7 @@ +# pamnoraw + +> Dit commando is een alias van `pamtopnm -plain`. + +- Bekijk de documentatie van het originele commando: + +`tldr pamtopnm` diff --git a/pages.nl/common/pamoil.md b/pages.nl/common/pamoil.md new file mode 100644 index 00000000000000..1cd4da84968ffb --- /dev/null +++ b/pages.nl/common/pamoil.md @@ -0,0 +1,12 @@ +# pamoil + +> Zet een PAM afbeelding om in een olieschilderij. +> Meer informatie: . + +- Zet een PAM afbeelding om in een olieschilderij: + +`pamoil {{pad/naar/invoer_bestand.pam}} > {{pad/naar/uitvoer_bestand.pam}}` + +- Beschouw een omgeving van N pixels voor het "smearing"-effect: + +`pamoil -n {{n}} {{pad/naar/invoer_bestand.pam}} > {{pad/naar/uitvoer_bestand.pam}}` diff --git a/pages.nl/common/pamrgbatopng.md b/pages.nl/common/pamrgbatopng.md new file mode 100644 index 00000000000000..48669160c077aa --- /dev/null +++ b/pages.nl/common/pamrgbatopng.md @@ -0,0 +1,8 @@ +# pamrgbatopng + +> Dit commando is vervangen door `pamtopng`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamtopng` diff --git a/pages.nl/common/pamscale.md b/pages.nl/common/pamscale.md new file mode 100644 index 00000000000000..22d933e8ee8a65 --- /dev/null +++ b/pages.nl/common/pamscale.md @@ -0,0 +1,24 @@ +# pamscale + +> Schaal een Netpbm afbeelding. +> Meer informatie: . + +- Schaal een afbeelding zodat het resultaat de gespecificeerde verhoudingen heeft: + +`pamscale {{[-wid|-width]}} {{breedte}} {{[-h|-height]}} {{hoogte}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoering.pam}}` + +- Schaal een afbeelding zodat het resultaat de gespecificeerde breedte heeft met behoud van de beeldverhouding: + +`pamscale {{[-wid|-width]}} {{breedte}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` + +- Schaal een afbeelding zodat de breedte en de hoogte aangepast worden volgens de gespecificeerde factoren: + +`pamscale {{[-xsc|-xscale]}} {{x_factor}} {{[-ysc|-yscale]}} {{y_factor}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` + +- Schaal een afbeelding zodat het past binnen het kader met behoud van de beeldverhouding: + +`pamscale -xyfit {{kader_breedte}} {{kader_hoogte}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` + +- Schaal een afbeelding zodat het de gespecificeerde rechthoek volledig vult met behoud van de beeldverhouding: + +`pamscale -xyfill {{rechthoek_breedte}} {{rechthoek_hoogte}} {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamshadedrelief.md b/pages.nl/common/pamshadedrelief.md new file mode 100644 index 00000000000000..e3212d9c498be0 --- /dev/null +++ b/pages.nl/common/pamshadedrelief.md @@ -0,0 +1,13 @@ +# pamshadedrelief + +> Genereer een schaduwwerking van een hoogtekaart. +> Zie ook: `pamcrater`, `ppmrelief`. +> Meer informatie: . + +- Genereer een schaduwwerking afbeelding met de invoer-afbeelding als een hoogtekaart: + +`pamshadedrelief < {{pad/naar/invoer.pam}} > {{pad/naar/uitvoer.pam}}` + +- Pas de gamma aan van een afbeelding met de gespecificeerde factor: + +`pamshadedrelief < {{pad/naar/invoer.pam}} {{[-g|-gamma]}} {{factor}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamslice.md b/pages.nl/common/pamslice.md new file mode 100644 index 00000000000000..2683384d829a2a --- /dev/null +++ b/pages.nl/common/pamslice.md @@ -0,0 +1,20 @@ +# pamslice + +> Haal een regel van waarden uit een PAM afbeelding. +> Meer informatie: . + +- Toon de waarden van de pixels in de opgegeven rij in een tabel: + +`pamslice {{[-r|-row]}} {{n}} {{pad/naar/afbeelding.pam}}` + +- Toon de waarden van de pixels in de opgegeven kolom in een tabel: + +`pamslice {{[-c|-column]}} {{n}} {{pad/naar/afbeelding.pam}}` + +- Beschouw alleen het opgegeven vlak (m) van de invoer-afbeelding: + +`pamslice {{[-r|-row]}} {{n}} -plane {{m}} {{pad/naar/afbeelding.pam}}` + +- Produceer uitvoer in een formaat dat geschikt is voor invoer naar een `xmgr` voor visualisatie: + +`pamslice {{[-r|-row]}} {{n}} {{[-x|-xmgr]}} {{pad/naar/afbeelding.pam}}` diff --git a/pages.nl/common/pamsplit.md b/pages.nl/common/pamsplit.md new file mode 100644 index 00000000000000..3977893903a454 --- /dev/null +++ b/pages.nl/common/pamsplit.md @@ -0,0 +1,13 @@ +# pamsplit + +> Split een Netpbm bestand met meerdere afbeeldingen in meerdere Netpbm bestanden met een enkele afbeelding. +> Zie ook: `pamfile`, `pampick`, `pamexec`. +> Meer informatie: . + +- Split een Netpbm bestand met meerdere afbeeldingen in meerdere Netpbm bestanden met een enkele afbeelding: + +`pamsplit {{pad/naar/afbeelding.pam}}` + +- Specificeer een patroon voor de benaming van de uitvoerbestanden: + +`pamsplit {{pad/naar/afbeelding.pam}} {{file_%d.pam}}` diff --git a/pages.nl/common/pamstretch.md b/pages.nl/common/pamstretch.md new file mode 100644 index 00000000000000..da1bc2833d6fce --- /dev/null +++ b/pages.nl/common/pamstretch.md @@ -0,0 +1,13 @@ +# pamstretch + +> Vergroot een PAM afbeelding door te interpoleren tussen pixels. +> Zie ook: `pamstretch-gen`, `pamenlarge`, `pamscale`. +> Meer informatie: . + +- Vergroot een PAM afbeelding met een gehele factor: + +`pamstretch {{n}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.pam}}` + +- Vergroot een PAM afbeelding met de gespecificeerde factoren in de horizontale en verticale richtingen: + +`pamstretch {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pamtofits.md b/pages.nl/common/pamtofits.md new file mode 100644 index 00000000000000..3e1c958ad99f69 --- /dev/null +++ b/pages.nl/common/pamtofits.md @@ -0,0 +1,9 @@ +# pamtofits + +> Converteer een Netpbm afbeelding naar het Flexible afbeelding Transport System (FITS) formaat. +> Zie ook: `fitstopnm`. +> Meer informatie: . + +- Converteer een Netpbm afbeelding naar het FITS formaat: + +`pamtofits {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.fits}}` diff --git a/pages.nl/common/pamtogif.md b/pages.nl/common/pamtogif.md new file mode 100644 index 00000000000000..c877ad19a0d54f --- /dev/null +++ b/pages.nl/common/pamtogif.md @@ -0,0 +1,17 @@ +# pamtogif + +> Converteer een Netpbm afbeelding naar een ongeanimeerde GIF afbeelding. +> Zie ook: `giftopnm`, `gifsicle`. +> Meer informatie: . + +- Converteer een Netpbm afbeelding naar een ongeanimeerde GIF afbeelding: + +`pamtogif {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.gif}}` + +- Markeer de gespecificeerde kleur als transparent in het uitvoer GIF bestand: + +`pamtogif {{[-t|-transparent]}} {{kleur}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.gif}}` + +- Voeg de gespecificeerde tekst toe als commentaar in het uitvoer GIF bestand: + +`pamtogif {{[-c|-comment]}} "{{Hallo Wereld!}}" {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.gif}}` diff --git a/pages.nl/common/pamtopng.md b/pages.nl/common/pamtopng.md new file mode 100644 index 00000000000000..262a066b10eb8a --- /dev/null +++ b/pages.nl/common/pamtopng.md @@ -0,0 +1,21 @@ +# pamtopng + +> Converteer een PAM afbeelding naar PNG. +> Zie ook: `pnmtopng`, `pngtopam`. +> Meer informatie: . + +- Converteer de gespecificeerde PAM afbeelding naar PNG: + +`pamtopng {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.png}}` + +- Markeer de gespecificeerde kleur als transparent in de uitvoer-afbeelding: + +`pamtopng {{[-t|-transparent]}} {{kleur}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.png}}` + +- Voeg de tekst in gespecificeerde bestand toe als tEXt chunks in de uitvoer: + +`pamtopng {{[-te|-text]}} {{pad/naar/bestand.txt}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.png}}` + +- Zorg ervoor dat het uitvoerbestand geïnterlaced is in Adam7-formaat: + +`pamtopng {{[-in|-interlace]}} {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.png}}` diff --git a/pages.nl/common/pamtopnm.md b/pages.nl/common/pamtopnm.md new file mode 100644 index 00000000000000..aae6591500816e --- /dev/null +++ b/pages.nl/common/pamtopnm.md @@ -0,0 +1,12 @@ +# pamtopnm + +> Converteer een PAM afbeelding naar een equivalente PNM afbeelding. +> Meer informatie: . + +- Converteer een PAM afbeelding naar een equivalente PNM afbeelding, i.e. een PBM, PGM of PPM afbeelding: + +`pamtopnm {{pad/naar/afbeelding.pam}} > {{pad/naar/uitvoer.pbm|pgm|ppm}}` + +- Toon de versie: + +`pamtopnm {{[-v|-version]}}` diff --git a/pages.nl/common/pamtotga.md b/pages.nl/common/pamtotga.md new file mode 100644 index 00000000000000..d559393a337dcb --- /dev/null +++ b/pages.nl/common/pamtotga.md @@ -0,0 +1,16 @@ +# pamtotga + +> Converteer een Netpbm afbeelding naar een TrueVision Targa bestand. +> Meer informatie: . + +- Converteer een Netpbm afbeelding naar een TrueVision Targa bestand: + +`pamtotga {{pad/naar/bestand.pam}} > {{pad/naar/uitvoer.tga}}` + +- Specifieer de kleur van de uitvoer afbeelding: + +`pamtotga -{{cmap|cmap16|mono|rgb}} {{pad/naar/bestand.pam}} > {{pad/naar/uitvoer.tga}}` + +- Toon de versie: + +`pamtotga {{[-v|-version]}}` diff --git a/pages.nl/common/pamtotiff.md b/pages.nl/common/pamtotiff.md new file mode 100644 index 00000000000000..fdb6e9fc66e353 --- /dev/null +++ b/pages.nl/common/pamtotiff.md @@ -0,0 +1,16 @@ +# pamtotiff + +> Converteer een PAM afbeelding naar een TIFF bestand. +> Meer informatie: . + +- Converteer een PAM afbeelding naar een TIFF afbeelding: + +`pamtotiff {{pad/naar/invoer_bestand.pam}} > {{pad/naar/uitvoer_bestand.tiff}}` + +- Specificeer expliciet de compressie methode voor een uitvoerbestand: + +`pamtotiff -{{none|packbits|lzw|g3|g4|flate|adobeflate}} {{pad/naar/invoer_bestand.pam}} > {{pad/naar/uitvoer_bestand.tiff}}` + +- Produceer altijd een gekleurde TIFF afbeelding, ook als de invoer afbeelding een grijsschaal is: + +`pamtotiff {{[-c|-color]}} {{pad/naar/invoer_bestand.pam}} > {{pad/naar/uitvoer_bestand.tiff}}` diff --git a/pages.nl/common/pamtouil.md b/pages.nl/common/pamtouil.md new file mode 100644 index 00000000000000..2a27c96975ff57 --- /dev/null +++ b/pages.nl/common/pamtouil.md @@ -0,0 +1,12 @@ +# pamtouil + +> Converteer een PNM of PAM bestand naar een Motif UIL icon bestand. +> Meer informatie: . + +- Converteer een PNM of PAM bestand naar een Motif UIL icon bestand: + +`pamtouil {{pad/naar/invoer.pnm|pam}} > {{pad/naar/uitvoer.uil}}` + +- Specificeer een voorvoegsel dat in het uitvoer-UIL-bestand moet worden afgedrukt: + +`pamtouil {{[-n|-name]}} {{uilnaam}} {{pad/naar/invoer.pnm|pam}} > {{pad/naar/uitvoer.uil}}` diff --git a/pages.nl/common/pamtowinicon.md b/pages.nl/common/pamtowinicon.md new file mode 100644 index 00000000000000..3e19cfbfce2c4a --- /dev/null +++ b/pages.nl/common/pamtowinicon.md @@ -0,0 +1,16 @@ +# pamtowinicon + +> Converteer een PAM afbeelding naar een Windows ICO bestand. +> Meer informatie: . + +- Converteer een PAM afbeelding naar een ICO bestand: + +`pamtowinicon {{pad/naar/invoer_bestand.pam}} > {{pad/naar/uitvoer.ico}}` + +- Encodeer afbeeldingen met resoluties kleiner dan t in het BMP formaat en alle andere afbeeldingen in het PNG formaat: + +`pamtowinicon {{[-pn|-pngthreshold]}} {{t}} {{pad/naar/invoer_bestand.pam}} > {{pad/naar/uitvoer.ico}}` + +- Maak alle pixels buiten het doorzichtige vlak zwart: + +`pamtowinicon {{[-t|-truetransparent]}} {{pad/naar/invoer_bestand.pam}} > {{pad/naar/uitvoer.ico}}` diff --git a/pages.nl/common/passwd.md b/pages.nl/common/passwd.md new file mode 100644 index 00000000000000..d9a67ce619c4b0 --- /dev/null +++ b/pages.nl/common/passwd.md @@ -0,0 +1,24 @@ +# passwd + +> Verander het wachtwoord van een gebruiker. +> Meer informatie: . + +- Verander het wachtwoord van de huidige gebruiker interactief: + +`passwd` + +- Verander het wachtwoord van een specifieke gebruiker: + +`passwd {{gebruikersnaam}}` + +- Toon de huidige status van de gebruiker: + +`passwd {{[-S|--status]}}` + +- Maak het wachtwoord van het account leeg (hiermee wordt de opgegeven account wachtwoordloos): + +`passwd {{[-d|--delete]}}` + +- Stel het wachtwoord programmatisch in (handig voor installatiescripts): + +`yes {{wachtwoord}} | passwd` diff --git a/pages.nl/common/paste.md b/pages.nl/common/paste.md new file mode 100644 index 00000000000000..71553fdf931f05 --- /dev/null +++ b/pages.nl/common/paste.md @@ -0,0 +1,24 @@ +# paste + +> Voeg regels van bestanden samen. +> Meer informatie: . + +- Voeg alle regels samen tot één enkele regel, met TAB als scheidingsteken: + +`paste {{[-s|--serial]}} {{pad/naar/bestand}}` + +- Voeg alle regels samen tot één enkele regel, met het opgegeven scheidingsteken: + +`paste {{[-sd|--serial --delimiters]}} {{scheidingsteken}} {{pad/naar/bestand}}` + +- Voeg twee bestanden zij aan zij samen, elk in zijn kolom, met TAB als scheidingsteken: + +`paste {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Voeg twee bestanden zij aan zij samen, elk in zijn kolom, met het opgegeven scheidingsteken: + +`paste {{[-d|--delimiters]}} {{scheidingsteken}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Voeg twee bestanden samen, met afwisselend toegevoegde regels: + +`paste {{[-d|--delimiters]}} '\n' {{pad/naar/bestand1}} {{pad/naar/bestand2}}` diff --git a/pages.nl/common/pathchk.md b/pages.nl/common/pathchk.md new file mode 100644 index 00000000000000..c9b6bbad35e4d6 --- /dev/null +++ b/pages.nl/common/pathchk.md @@ -0,0 +1,20 @@ +# pathchk + +> Controleer de geldigheid en draagbaarheid van padnamen. +> Meer informatie: . + +- Controleer padnamen op geldigheid in het huidige systeem: + +`pathchk {{pad1 pad2 ...}}` + +- Controleer padnamen op geldigheid in een breder scala van POSIX-conforme systemen: + +`pathchk -p {{pad1 pad2 ...}}` + +- Controleer padnamen op geldigheid in alle POSIX-conforme systemen: + +`pathchk {{[-p -P|--portability]}} {{pad1 pad2 ...}}` + +- Controleer alleen op lege padnamen of leidende streepjes (-): + +`pathchk -P {{pad1 pad2 ...}}` diff --git a/pages.nl/common/pbmtoicon.md b/pages.nl/common/pbmtoicon.md new file mode 100644 index 00000000000000..69fca2e8f00219 --- /dev/null +++ b/pages.nl/common/pbmtoicon.md @@ -0,0 +1,8 @@ +# pbmtoicon + +> Dit commando is vervangen door `pbmtosunicon`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pbmtosunicon` diff --git a/pages.nl/common/pbmtosunicon.md b/pages.nl/common/pbmtosunicon.md new file mode 100644 index 00000000000000..06b4fc9eadf97a --- /dev/null +++ b/pages.nl/common/pbmtosunicon.md @@ -0,0 +1,8 @@ +# pbmtosunicon + +> Converteer een PBM afbeelding naar een Sun icon. +> Meer informatie: . + +- Converteer een PBM afbeelding naar een Sun icon: + +`pbmtosunicon {{pad/naar/invoer.pbm}} > {{pad/naar/uitvoer.ico}}` diff --git a/pages.nl/common/pbmtox10bm.md b/pages.nl/common/pbmtox10bm.md new file mode 100644 index 00000000000000..8c93c4f2677d09 --- /dev/null +++ b/pages.nl/common/pbmtox10bm.md @@ -0,0 +1,8 @@ +# pbmtox10bm + +> Dit commando is vervangen door `pbmtoxbm -x10`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pbmtoxbm` diff --git a/pages.nl/common/pbmtoxbm.md b/pages.nl/common/pbmtoxbm.md new file mode 100644 index 00000000000000..775e84aac95fec --- /dev/null +++ b/pages.nl/common/pbmtoxbm.md @@ -0,0 +1,12 @@ +# pbmtoxbm + +> Converteer een PBM afbeelding naar een X11 of X10 bitmap. +> Meer informatie: . + +- Converteer een PPM afbeelding naar een X11 XBM bestand: + +`pbmtoxbm {{pad/naar/invoer_bestand.pbm}} > {{pad/naar/uitvoer_bestand.xbm}}` + +- Specificeer expliciet of een X11 of X10 bitmap gegenereerd moet worden: + +`pbmtoxbm -{{x11|x10}} {{pad/naar/invoer_bestand.pbm}} > {{pad/naar/uitvoer_bestand.xbm}}` diff --git a/pages.nl/common/pcdindex.md b/pages.nl/common/pcdindex.md new file mode 100644 index 00000000000000..e509fae9644ef2 --- /dev/null +++ b/pages.nl/common/pcdindex.md @@ -0,0 +1,8 @@ +# pcdindex + +> Dit commando is hernoemd naar `pcdovtoppm`. +> Meer informatie: . + +- Bekijk de documentatie voor het commando onder zijn huidige naam: + +`tldr pcdovtoppm` diff --git a/pages.nl/common/pcdovtoppm.md b/pages.nl/common/pcdovtoppm.md new file mode 100644 index 00000000000000..e9eec124b2a0d3 --- /dev/null +++ b/pages.nl/common/pcdovtoppm.md @@ -0,0 +1,20 @@ +# pcdovtoppm + +> Maak een indexafbeelding voor een fotocd op basis van het overzichtsbestand. +> Meer informatie: . + +- Maak een PPM-indexafbeelding van een PCD-overzichtsbestand: + +`pcdovtoppm {{pad/naar/bestand.pcd}} > {{pad/naar/uitvoer.ppm}}` + +- Specificeer de maximale breedte van de uitvoer-afbeelding en de maximale grootte van elke afbeelding die in de uitvoer wordt opgenomen: + +`pcdovtoppm {{[-m|-maxwidth]}} {{breedte}} {{[-s|-size]}} {{grootte}} {{pad/naar/bestand.pcd}} > {{pad/naar/uitvoer.ppm}}` + +- Specificeer het maximale aantal afbeeldingen en het maximale aantal kleuren: + +`pcdovtoppm {{[-a|-across]}} {{n_afbeeldingen}} {{[-c|-colors]}} {{n_kleuren}} {{pad/naar/bestand.pcd}} > {{pad/naar/uitvoer.ppm}}` + +- Gebruik het gespecificeerde lettertype voor annotaties en kleur de achtergrond wit: + +`pcdovtoppm {{[-f|-font]}} {{lettertype}} {{[-w|-white]}} {{pad/naar/bestand.pcd}} > {{pad/naar/uitvoer.ppm}}` diff --git a/pages.nl/common/pdflatex.md b/pages.nl/common/pdflatex.md new file mode 100644 index 00000000000000..bcb241ff73d663 --- /dev/null +++ b/pages.nl/common/pdflatex.md @@ -0,0 +1,16 @@ +# pdflatex + +> Compileer een PDF-document van LaTeX bronbestanden. +> Meer informatie: . + +- Compileer een PDF-document: + +`pdflatex {{bron.tex}}` + +- Compileer een PDF-document naar een specifieke output map: + +`pdflatex -output-directory={{pad/naar/map}} {{bron.tex}}` + +- Compileer een PDF-document en sluit af als er een fout optreedt: + +`pdflatex -halt-on-error {{bron.tex}}` diff --git a/pages.nl/common/pdftex.md b/pages.nl/common/pdftex.md new file mode 100644 index 00000000000000..c945532765064f --- /dev/null +++ b/pages.nl/common/pdftex.md @@ -0,0 +1,16 @@ +# pdftex + +> Compileer een PDF-document van TeX bronbestanden. +> Meer informatie: . + +- Compileer een PDF-document: + +`pdftex {{bron.tex}}` + +- Compileer een PDF-document naar een specifieke output map: + +`pdftex -output-directory={{pad/naar/map}} {{bron.tex}}` + +- Compileer een PDF-document en sluit af als er een fout optreedt: + +`pdftex -halt-on-error {{bron.tex}}` diff --git a/pages.nl/common/perl-rename.md b/pages.nl/common/perl-rename.md new file mode 100644 index 00000000000000..7cc468785dd355 --- /dev/null +++ b/pages.nl/common/perl-rename.md @@ -0,0 +1,7 @@ +# perl-rename + +> Dit commando is een alias van `rename`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.nl/common/pgmcrater.md b/pages.nl/common/pgmcrater.md new file mode 100644 index 00000000000000..abaaf650ff4599 --- /dev/null +++ b/pages.nl/common/pgmcrater.md @@ -0,0 +1,16 @@ +# pgmcrater + +> Dit commando is vervangen door `pamcrater`, `pamshadedrelief` en `pamtopnm`. +> Meer informatie: . + +- Bekijk de documentatie voor `pamcrater`: + +`tldr pamcrater` + +- Bekijk de documentatie voor `pamshadedrelief`: + +`tldr pamshadedrelief` + +- Bekijk de documentatie voor `pamtopnm`: + +`tldr pamtopnm` diff --git a/pages.nl/common/pgmedge.md b/pages.nl/common/pgmedge.md new file mode 100644 index 00000000000000..14d5dcebc57093 --- /dev/null +++ b/pages.nl/common/pgmedge.md @@ -0,0 +1,8 @@ +# pgmedge + +> Dit commando is vervangen door `pamedge`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamedge` diff --git a/pages.nl/common/pgmnorm.md b/pages.nl/common/pgmnorm.md new file mode 100644 index 00000000000000..aa2bdf49824afb --- /dev/null +++ b/pages.nl/common/pgmnorm.md @@ -0,0 +1,8 @@ +# pgmnorm + +> Dit commando is vervangen door `pnmnorm`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pnmnorm` diff --git a/pages.nl/common/pgmoil.md b/pages.nl/common/pgmoil.md new file mode 100644 index 00000000000000..468c2e4f6e7560 --- /dev/null +++ b/pages.nl/common/pgmoil.md @@ -0,0 +1,8 @@ +# pgmoil + +> Dit commando is vervangen door `pamoil`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamoil` diff --git a/pages.nl/common/pgmslice.md b/pages.nl/common/pgmslice.md new file mode 100644 index 00000000000000..04a6bbd884ff09 --- /dev/null +++ b/pages.nl/common/pgmslice.md @@ -0,0 +1,8 @@ +# pgmslice + +> Dit commando is vervangen door `pamslice`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamslice` diff --git a/pages.nl/common/pgmtopbm.md b/pages.nl/common/pgmtopbm.md new file mode 100644 index 00000000000000..fff37f26379591 --- /dev/null +++ b/pages.nl/common/pgmtopbm.md @@ -0,0 +1,8 @@ +# pgmtopbm + +> Dit commando is vervangen door `pamditherbw`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamditherbw` diff --git a/pages.nl/common/php.md b/pages.nl/common/php.md new file mode 100644 index 00000000000000..4ecaf8835582ab --- /dev/null +++ b/pages.nl/common/php.md @@ -0,0 +1,36 @@ +# php + +> PHP command-line interface. +> Meer informatie: . + +- Parse en voer een PHP-script uit: + +`php {{pad/naar/bestand}}` + +- Controleer de syntax van (d.w.z. [l]int) een PHP-script: + +`php {{[-l|--syntax-check]}} {{pad/naar/bestand}}` + +- Voer PHP inter[a]ctief uit: + +`php {{[-a|--interactive]}}` + +- Voer PHP-code uit (Opmerkingen: Gebruik geen tags; escape dubbele aanhalingstekens met backslash): + +`php {{[-r|--run]}} "{{code}}"` + +- Start een PHP ingebouwde web[S]erver in de huidige map: + +`php {{[-S|--server]}} {{host}}:{{poort}}` + +- Toon geïnstalleerde PHP-extensies: + +`php {{[-m|--modules]}}` + +- Toon informatie over de huidige PHP-configuratie: + +`php {{[-i|--info]}}` + +- Toon informatie over een specifieke functie: + +`php {{[--rf|--rfunction]}} {{functie_naam}}` diff --git a/pages.nl/common/ping.md b/pages.nl/common/ping.md new file mode 100644 index 00000000000000..ea03cd600c3730 --- /dev/null +++ b/pages.nl/common/ping.md @@ -0,0 +1,32 @@ +# ping + +> Verstuur ICMP ECHO_REQUEST-pakketten naar netwerkhosts. +> Meer informatie: . + +- Ping host: + +`ping {{host}}` + +- Ping een host een specifiek aantal keren: + +`ping -c {{aantal}} {{host}}` + +- Ping host met een specifiek interval in seconden tussen verzoeken (standaard is 1 seconde): + +`ping -i {{seconden}} {{host}}` + +- Ping host zonder te proberen symbolische namen voor adressen op te zoeken: + +`ping -n {{host}}` + +- Ping host en laat een bel afgaan wanneer een pakket wordt ontvangen (als je terminal dit ondersteunt): + +`ping -a {{host}}` + +- Toon ook een bericht als er geen reactie is ontvangen: + +`ping -O {{host}}` + +- Ping een host met een specifiek aantal pings, timeout (`-W`) voor elk antwoord, en totale tijdslimiet (`-w`) voor de gehele ping-uitvoering: + +`ping -c {{aantal}} -W {{seconden}} -w {{seconden}} {{host}}` diff --git a/pages.nl/common/ping.py.md b/pages.nl/common/ping.py.md new file mode 100644 index 00000000000000..2eda5b0c2f4f56 --- /dev/null +++ b/pages.nl/common/ping.py.md @@ -0,0 +1,13 @@ +# ping.py + +> Eenvoudige ICMP ping die Impacket gebruikt om te controleren of een IPv4-host bereikbaar is. +> Stuurt ICMP echo requests en luistert naar echo replies. Vereist root privileges voor raw socket toegang (bijvoorbeeld draaien met `sudo`). +> Meer informatie: . + +- Ping een host vanaf een opgegeven IPv4 bron-adres: + +`ping.py {{bron_ipv4}} {{bestemmings_ipv4}}` + +- Ping 192.168.1.100 vanaf 192.168.1.10: + +`ping.py 192.168.1.10 192.168.1.100` diff --git a/pages.nl/common/ping6.md b/pages.nl/common/ping6.md new file mode 100644 index 00000000000000..de2db5a9f6aad0 --- /dev/null +++ b/pages.nl/common/ping6.md @@ -0,0 +1,24 @@ +# ping6 + +> Verstuur ICMP ECHO_REQUEST-pakketten naar netwerkhosts via een IPv6-adres. +> Meer informatie: . + +- Ping een host: + +`ping6 {{host}}` + +- Ping een host een specifiek aantal keren: + +`ping6 -c {{aantal}} {{host}}` + +- Ping een host met een specifiek interval in seconden tussen verzoeken (standaard is 1 seconde): + +`ping6 -i {{seconden}} {{host}}` + +- Ping een host zonder te proberen symbolische namen voor adressen op te zoeken: + +`ping6 -n {{host}}` + +- Ping een host en laat een bel afgaan wanneer een pakket wordt ontvangen (als je terminal dit ondersteunt): + +`ping6 -a {{host}}` diff --git a/pages.nl/common/ping6.py.md b/pages.nl/common/ping6.py.md new file mode 100644 index 00000000000000..eab18cc61f38f5 --- /dev/null +++ b/pages.nl/common/ping6.py.md @@ -0,0 +1,13 @@ +# ping6.py + +> Eenvoudige ICMPv6 ping die Impacket gebruikt om te controleren of een IPv6-host bereikbaar is. +> Stuurt ICMPv6 echo requests en luistert naar echo replies. Vereist root privileges voor raw socket toegang (bijvoorbeeld draaien met `sudo`). +> Meer informatie: . + +- Ping een IPv6 host vanaf een opgegeven IPv6 bron-adres: + +`ping6.py {{bron_ipv6}} {{bestemmings_ipv6}}` + +- Ping 2001:db8::2 vanaf 2001:db8::1: + +`ping6.py 2001:db8::1 2001:db8::2` diff --git a/pages.nl/common/pinky.md b/pages.nl/common/pinky.md new file mode 100644 index 00000000000000..02a05136b6a198 --- /dev/null +++ b/pages.nl/common/pinky.md @@ -0,0 +1,28 @@ +# pinky + +> Toon gebruikersinformatie met behulp van het `finger`-protocol. +> Meer informatie: . + +- Toon details over de huidige gebruiker: + +`pinky` + +- Toon details voor een specifieke gebruiker: + +`pinky {{gebruiker}}` + +- Toon details in het lange formaat: + +`pinky {{gebruiker}} -l` + +- Laat de home directory en shell van de gebruiker weg in het lange formaat: + +`pinky {{gebruiker}} -lb` + +- Laat het projectbestand van de gebruiker weg in het lange formaat: + +`pinky {{gebruiker}} -lh` + +- Laat de kolomkoppen weg in het korte formaat: + +`pinky {{gebruiker}} -f` diff --git a/pages.nl/common/pio-access.md b/pages.nl/common/pio-access.md new file mode 100644 index 00000000000000..dede9545427d1a --- /dev/null +++ b/pages.nl/common/pio-access.md @@ -0,0 +1,24 @@ +# pio access + +> Stel het toegangsniveau in op publieke bronnen (pakketten) in het register. +> Meer informatie: . + +- Verleen een gebruiker toegang tot een bron: + +`pio access grant {{guest|maintainer|admin}} {{gebruikersnaam}} {{bron_urn}}` + +- Verwijder de toegang voor een gebruiker tot een bron: + +`pio access revoke {{gebruikersnaam}} {{bron_urn}}` + +- Toon alle bronnen waartoe een gebruiker of team toegang tot heeft en het toegangsniveau: + +`pio access list {{gebruikersnaam}}` + +- Beperk de toegang tot een bron voor specifieke gebruikers of teamleden: + +`pio access private {{bron_urn}}` + +- Verleen alle gebruikers toegang tot een bron: + +`pio access public {{bron_urn}}` diff --git a/pages.nl/common/pio-account.md b/pages.nl/common/pio-account.md new file mode 100644 index 00000000000000..6b7e819f961f4b --- /dev/null +++ b/pages.nl/common/pio-account.md @@ -0,0 +1,32 @@ +# pio account + +> Beheer jouw PlatformIO account op de command-line. +> Meer informatie: . + +- Registreer een nieuw PlatformIO account: + +`pio account register {{[-u|--username]}} {{gebruikersnaam}} {{[-e|--email]}} {{email}} {{[-p|--password]}} {{wachtwoord}} --firstname {{voornaam}} --lastname {{achternaam}}` + +- Verwijder permanent je PlatformIO account en gerelateerde data: + +`pio account destroy` + +- Log in bij je PlatformIO account: + +`pio account login {{[-u|--username]}} {{gebruikersnaam}} {{[-p|--password]}} {{wachtwoord}}` + +- Log uit bij je PlatformIO account: + +`pio account logout` + +- Update je PlatformIO profiel: + +`pio account update {{[-u|--username]}} {{gebruikersnaam}} {{[-e|--email]}} {{email}} --firstname {{voornaam}} --lastname {{achternaam}} --current-password {{wachtwoord}}` + +- Toon gedetailleerde informatie over je PlatformIO account: + +`pio account show` + +- Reset je wachtwoord door gebruik te maken van je gebruikersnaam of email: + +`pio account forgot {{[-u|--username]}} {{gebruikersnaam_of_email}}` diff --git a/pages.nl/common/pio-boards.md b/pages.nl/common/pio-boards.md new file mode 100644 index 00000000000000..10348d88053941 --- /dev/null +++ b/pages.nl/common/pio-boards.md @@ -0,0 +1,12 @@ +# pio boards + +> Toon alle voorgeconfigureerde embedded boards beschikbaar in PlatformIO. +> Meer informatie: . + +- Toon alle beschikbare boards: + +`pio boards` + +- Toon alleen boards van geïnstalleerde platformen: + +`pio boards --installed` diff --git a/pages.nl/common/pio-check.md b/pages.nl/common/pio-check.md new file mode 100644 index 00000000000000..fd9fd7c97a78e4 --- /dev/null +++ b/pages.nl/common/pio-check.md @@ -0,0 +1,24 @@ +# pio check + +> Voer een statische analyse check uit op een PlatformIO project. +> Meer informatie: . + +- Voer een basis analyse check uit op het huidige project: + +`pio check` + +- Voer een basis analyse check uit op een specifiek project: + +`pio check {{[-d|--project-dir]}} {{project_map}}` + +- Voer een analyse check uit voor een specifieke omgeving: + +`pio check {{[-e|--environment]}} {{omgeving}}` + +- Voer een analyse check uit en rapporteer alleen een specifiek niveau: + +`pio check --severity {{low|medium|high}}` + +- Voer een analyse check uit en toon gedetailleerde informatie bij het verwerken van omgevingen: + +`pio check {{[-v|--verbose]}}` diff --git a/pages.nl/common/pio-ci.md b/pages.nl/common/pio-ci.md new file mode 100644 index 00000000000000..e1224ae5ac6f73 --- /dev/null +++ b/pages.nl/common/pio-ci.md @@ -0,0 +1,29 @@ +# pio ci + +> Bouw PlatformIO projects met een arbitraire broncode structuur. +> Dit zal een tijdelijk project maken waar naartoe de broncode gekopieerd zal worden. +> Meer informatie: . + +- Bouw een PlatformIO project in de standaard systeem tijdelijke map en verwijder het naderhand: + +`pio ci {{pad/naar/project}}` + +- Bouw een PlatformIO project en specificeer specifieke bibliotheken: + +`pio ci {{[-l|--lib]}} {{pad/naar/bibliotheek_map}} {{pad/naar/project}}` + +- Bouw een PlatformIO project en specificeer een specifiek board (`pio boards` toont ze allemaal): + +`pio ci {{[-b|--board]}} {{board}} {{pad/naar/project}}` + +- Bouw een PlatformIO project in een specifieke map: + +`pio ci --build-dir {{pad/naar/bouw_map}} {{pad/naar/project}}` + +- Bouw een PlatformIO project en verwijder de bouwmap niet: + +`pio ci --keep-build-dir {{pad/naar/project}}` + +- Bouw een PlatformIO project met een specifiek configuratiebestand: + +`pio ci {{[-c|--project-conf]}} {{pad/naar/platformio.ini}}` diff --git a/pages.nl/common/pio-debug.md b/pages.nl/common/pio-debug.md new file mode 100644 index 00000000000000..ed6e1a86820cc0 --- /dev/null +++ b/pages.nl/common/pio-debug.md @@ -0,0 +1,24 @@ +# pio debug + +> Debug PlatformIO projecten. +> Meer informatie: . + +- Debug het PlatformIO project in de huidige map: + +`pio debug` + +- Debug een specifiek PlatformIO project: + +`pio debug {{[-d|--project-dir]}} {{pad/naar/platformio_project}}` + +- Debug een specifieke omgeving: + +`pio debug {{[-e|--environment]}} {{omgeving}}` + +- Debug een PlatformIO project met een specifiek configuratiebestand: + +`pio debug {{[-c|--project-conf]}} {{pad/naar/platformio.ini}}` + +- Debug een PlatformIO project door gebruik te maken van de `gdb` debugger: + +`pio debug --interface {{gdb}} {{gdb_opties}}` diff --git a/pages.nl/common/pio-device.md b/pages.nl/common/pio-device.md new file mode 100644 index 00000000000000..6c6c5b60369d5e --- /dev/null +++ b/pages.nl/common/pio-device.md @@ -0,0 +1,32 @@ +# pio device + +> Beheer en monitor PlatformIO apparaten. +> Meer informatie: . + +- Toon alle beschikbare seriële poorten: + +`pio device list` + +- Toon alle beschikbare logische apparaten: + +`pio device list --logical` + +- Start een interactieve apparaat monitor: + +`pio device monitor` + +- Start een interactieve apparaat monitor en luister naar een specifieke poort: + +`pio device monitor {{[-p|--port]}} {{/dev/ttyUSBX}}` + +- Start een interactieve apparaat monitor en stel een specifieke baud in (standaard is 9600): + +`pio device monitor {{[-b|--baud]}} {{57600}}` + +- Start een interactieve apparaat monitor en stel een specifieke EOL karakter in (standaard is `CRLF`): + +`pio device monitor --eol {{CRLF|CR|LF}}` + +- Ga naar het menu van de interactieve apparaat monitor: + +`` diff --git a/pages.nl/common/pio-home.md b/pages.nl/common/pio-home.md new file mode 100644 index 00000000000000..0615720cd50279 --- /dev/null +++ b/pages.nl/common/pio-home.md @@ -0,0 +1,28 @@ +# pio home + +> Lanceer de PlatformIO Home web server. +> Meer informatie: . + +- Open PlatformIO Home in de standaard web browser: + +`pio home` + +- Gebruik een specifieke HTTP poort (standaard 8008): + +`pio home --port {{poort}}` + +- Koppel aan een specifiek IP adres (standaard 127.0.0.1): + +`pio home --host {{ip_adres}}` + +- Open niet automatisch PlatformIO Home in de standaard web browser: + +`pio home --no-open` + +- Sluit de server af na n (in seconden) als er niemand verbonden is: + +`pio home --shutdown-timeout {{n}}` + +- Specificeer een unieke sessie identificatie om PlatformIO Home geïsoleerd te houden van andere instances en beschermd van toegang van derde partijen: + +`pio home --session-id {{id}}` diff --git a/pages.nl/common/pio-init.md b/pages.nl/common/pio-init.md new file mode 100644 index 00000000000000..b4bf918cc7999c --- /dev/null +++ b/pages.nl/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Dit commando is een alias van `pio project init`. + +- Bekijk de documentatie van het originele commando: + +`tldr pio project` diff --git a/pages.nl/common/pio-lib.md b/pages.nl/common/pio-lib.md new file mode 100644 index 00000000000000..83bc95caead400 --- /dev/null +++ b/pages.nl/common/pio-lib.md @@ -0,0 +1,36 @@ +# pio lib + +> Beheer PlatformIO bibliotheken. +> Meer informatie: . + +- Toon geïnstalleerde bibliotheken: + +`pio lib list` + +- Toon ingebouwde bibliotheken gebaseerd op geïnstalleerde ontwikkelplatformen en hun geraamtes: + +`pio lib builtin` + +- Zoek naar bestaande bibliotheken: + +`pio lib search {{trefwoord}}` + +- Toon details over een bibliotheek: + +`pio lib show {{bibliotheek}}` + +- Installeer een bibliotheek: + +`pio lib install {{bibliotheek}}` + +- Update geïnstalleerde bibliotheken: + +`pio lib update` + +- Deïnstalleer een bibliotheek: + +`pio lib uninstall {{bibliotheek}}` + +- Toon PlatformIO bibliotheek register statistieken: + +`pio lib stats` diff --git a/pages.nl/common/pio-org.md b/pages.nl/common/pio-org.md new file mode 100644 index 00000000000000..d51f7dcced2692 --- /dev/null +++ b/pages.nl/common/pio-org.md @@ -0,0 +1,28 @@ +# pio org + +> Beheer PlatformIO organisaties en hun eigenaren. +> Meer informatie: . + +- Maak een nieuwe organisatie: + +`pio org create {{organisatie_naam}}` + +- Verwijder een organisatie: + +`pio org destroy {{organisatie_naam}}` + +- Voeg een gebruiker toe aan een organisatie: + +`pio org add {{organisatie_naam}} {{gebruikersnaam}}` + +- Verwijder een gebruiker van een organisatie: + +`pio org remove {{organisatie_naam}} {{gebruikersnaam}}` + +- Toon alle organisaties waar de huidige gebruiker lid van is en de eigenaren: + +`pio org list` + +- Update de name, email of weergave naam van een organisatie: + +`pio org update --orgname {{nieuwe_organisatie_naam}} --email {{nieuw_email}} --displayname {{nieuwe_weergave_naam}} {{organisatie_naam}}` diff --git a/pages.nl/common/pio-pkg.md b/pages.nl/common/pio-pkg.md new file mode 100644 index 00000000000000..67c066f7f0b6dd --- /dev/null +++ b/pages.nl/common/pio-pkg.md @@ -0,0 +1,37 @@ +# pio pkg + +> Beheer pakketten in het register. +> Pakketten kunnen alleen verwijderd worden binnen 72 uur (3 dagen) vanaf de datum dat ze gepubliceerd zijn. +> Meer informatie: . + +- Maak een pakket tarball van de huidige map: + +`pio pkg pack {{[-o|--output]}} {{pad/naar/pakket.tar.gz}}` + +- Maak en publiceer een pakket tarball van de huidige map: + +`pio pkg publish` + +- Publiceer de huidige map en beperk de publieke toegang: + +`pio pkg publish --private` + +- Publiceer een pakket: + +`pio pkg publish {{pad/naar/pakket.tar.gz}}` + +- Publiceer een pakket met een aangepaste release datum (UTC): + +`pio pkg publish {{pad/naar/pakket.tar.gz}} --released-at "{{2021-04-08 21:15:38}}"` + +- Verwijder alle versies van een gepubliceerd pakket van het register: + +`pio pkg unpublish {{pakket}}` + +- Verwijder een specifieke versie van een gepubliceerd pakket van het register: + +`pio pkg unpublish {{pakket}}@{{version}}` + +- Maak de verwijdering ongedaan en zet alle versies of een specifieke versie van het pakket terug in het register: + +`pio pkg unpublish --undo {{pakket}}@{{version}}` diff --git a/pages.nl/common/pio-platform.md b/pages.nl/common/pio-platform.md new file mode 100644 index 00000000000000..a3bea79d1042cf --- /dev/null +++ b/pages.nl/common/pio-platform.md @@ -0,0 +1,32 @@ +# pio platform + +> Beheer PlatformIO ontwikkelplatformen. +> Meer informatie: . + +- Toon alle geïnstalleerde ontwikkelplatformen: + +`pio platform list` + +- Zoek naar bestaande ontwikkelplatformen: + +`pio platform search {{platform}}` + +- Toon de details over een ontwikkelplatform: + +`pio platform show {{platform}}` + +- Installeer een ontwikkelplatform: + +`pio platform install {{platform}}` + +- Update geïnstalleerde ontwikkelplatformen: + +`pio platform update` + +- Deïnstalleer een ontwikkelplatform: + +`pio platform uninstall {{platform}}` + +- Toon alle ondersteunde geraamtes: + +`pio platform frameworks` diff --git a/pages.nl/common/pio-project.md b/pages.nl/common/pio-project.md new file mode 100644 index 00000000000000..7af6d3c7e07abd --- /dev/null +++ b/pages.nl/common/pio-project.md @@ -0,0 +1,24 @@ +# pio project + +> Beheer PlatformIO projecten. +> Meer informatie: . + +- Initialiseer een nieuw PlatformIO project: + +`pio project init` + +- Initialiseer een nieuw PlatformIO project in een specifieke map: + +`pio project init {{[-d|--project-dir]}} {{pad/naar/project_map}}` + +- Initialiseer een nieuw PlatformIO project, met een gespecificeerd board ID: + +`pio project init {{[-b|--board]}} {{ATmega328P|uno|...}}` + +- Initialiseer een nieuw PlatformIO gebaseerd project, met een of meerdere gespecificeerde project opties: + +`pio project init {{[-O|--project-option]}} "{{optie}}={{waarde}}" {{[-O|--project-option]}} "{{optie}}={{waarde}}"` + +- Toon de configuratie van een project: + +`pio project config` diff --git a/pages.nl/common/pio-remote.md b/pages.nl/common/pio-remote.md new file mode 100644 index 00000000000000..e3ec169eb21d6f --- /dev/null +++ b/pages.nl/common/pio-remote.md @@ -0,0 +1,33 @@ +# pio remote + +> Helper commando voor PlatformIO Remote Development. +> `pio remote [commando]` accepteert dezelfde argumenten als de lokale tegenhanger `pio [commando]`. +> Meer informatie: . + +- Toon alle actieve Remote Agents: + +`pio remote agent list` + +- Start een nieuwe Remote Agent met een specifieke naam en deel deze met vrienden: + +`pio remote agent start {{[-n|--name]}} {{agent_naam}} {{[-s|--share]}} {{example1@example.com}} {{[-s|--share]}} {{example2@example.com}}` + +- Toon alle apparaten van een specifieke Agents (laat `--agent` weg voor alle Agents): + +`pio remote --agent {{agent_naam1}} --agent {{agent_naam2}} device list` + +- Verbind met een seriële poort van een remote apparaat: + +`pio remote --agent {{agent_naam}} device monitor` + +- Voer alle doelen uit op een gespecificeerde Agent: + +`pio remote --agent {{agent_naam}} run` + +- Update geïnstalleerde kern pakketten, ontwikkelplatformen en globale bibliotheken op een specifieke Agent: + +`pio remote --agent {{agent_naam}} update` + +- Voer alle testen uit in alle omgevingen op een specifieke Agent: + +`pio remote --agent {{agent_naam}} test` diff --git a/pages.nl/common/pio-run.md b/pages.nl/common/pio-run.md new file mode 100644 index 00000000000000..281780f64750b4 --- /dev/null +++ b/pages.nl/common/pio-run.md @@ -0,0 +1,28 @@ +# pio run + +> Voer PlatformIO project doelen uit. +> Meer informatie: . + +- Toon alle beschikbare project doelen: + +`pio run --list-targets` + +- Toon alle beschikbare project doelen voor een specifieke omgeving: + +`pio run --list-targets {{[-e|--environment]}} {{omgeving}}` + +- Voer alle doelen uit: + +`pio run` + +- Voer alle doelen uit voor de gespecificeerde omgevingen: + +`pio run {{[-e|--environment]}} {{omgeving1}} {{[-e|--environment]}} {{omgeving2}}` + +- Voer gespecificeerde doelen uit: + +`pio run {{[-t|--target]}} {{doel1}} {{[-t|--target]}} {{doel2}}` + +- Voer de doelen uit van een specifiek configuratiebestand: + +`pio run {{[-c|--project-conf]}} {{pad/naar/platformio.ini}}` diff --git a/pages.nl/common/pio-settings.md b/pages.nl/common/pio-settings.md new file mode 100644 index 00000000000000..cf0f9348085a9c --- /dev/null +++ b/pages.nl/common/pio-settings.md @@ -0,0 +1,20 @@ +# pio settings + +> Bekijk en pas PlatformIO instellingen aan. +> Meer informatie: . + +- Toon de namen, waardes en beschrijvingen van alle PlatformIO instellingen: + +`pio settings get` + +- Toon de naam, waarde en beschrijving van een specfieke PlatformIO instelling: + +`pio settings get {{instelling}}` + +- Stel een specifieke instelling in op een waarde: + +`pio settings set {{instelling}} {{waarde}}` + +- Reset de waardes van alle aangepaste instellingen naar hun fabrieksinstellingen: + +`pio settings reset` diff --git a/pages.nl/common/pio-system.md b/pages.nl/common/pio-system.md new file mode 100644 index 00000000000000..31432fe855fdbc --- /dev/null +++ b/pages.nl/common/pio-system.md @@ -0,0 +1,28 @@ +# pio system + +> Gemengde systeem commando's voor PlatformIO. +> Meer informatie: . + +- Installeer shell completion voor de huidige shell (ondersteund Bash, fish, Zsh en PowerShell): + +`pio system completion install` + +- Deinstalleer shell completion voor de huidige shell: + +`pio system completion uninstall` + +- Toon systeem-wijde PlatformIO informatie: + +`pio system info` + +- Verwijder ongebruikte PlatformIO data: + +`pio system prune` + +- Verwijder alleen gecachte data: + +`pio system prune --cache` + +- Toon ongebruikte PlatformIO data die verwijderd zou worden, maar verwijder het niet echt: + +`pio system prune --dry-run` diff --git a/pages.nl/common/pio-team.md b/pages.nl/common/pio-team.md new file mode 100644 index 00000000000000..83665d46ada7f7 --- /dev/null +++ b/pages.nl/common/pio-team.md @@ -0,0 +1,36 @@ +# pio team + +> Beheer PlatformIO teams. +> Meer informatie: . + +- Maak een nieuw team met de gespecificeerde beschrijving: + +`pio team create --description {{beschrijving}} {{organisatie_naam}}:{{team_naam}}` + +- Verwijder een team: + +`pio team destroy {{organisatie_naam}}:{{team_naam}}` + +- Voeg een nieuwe gebruiker toe aan een team: + +`pio team add {{organisatie_naam}}:{{team_naam}} {{gebruikersnaam}}` + +- Verwijder een gebruiker uit een team: + +`pio team remove {{organisatie_naam}}:{{team_naam}} {{gebruikersnaam}}` + +- Toon alle teams waar de gebruiker lid van is en alle leden: + +`pio team list` + +- Toon alle teams in een organisatie: + +`pio team list {{organisatie_naam}}` + +- Hernoem een team: + +`pio team update --name {{nieuwe_team_naam}} {{organisatie_naam}}:{{team_naam}}` + +- Verander de beschrijving van een team: + +`pio team update --description {{nieuwe_beschrijving}} {{organisatie_naam}}:{{team_naam}}` diff --git a/pages.nl/common/pio-test.md b/pages.nl/common/pio-test.md new file mode 100644 index 00000000000000..1c97e4ad233cec --- /dev/null +++ b/pages.nl/common/pio-test.md @@ -0,0 +1,28 @@ +# pio test + +> Voer lokale testen uit op een PlatformIO project. +> Meer informatie: . + +- Voer alle testen in alle omgevingen uit van het huidige PlatformIO project: + +`pio test` + +- Test alleen op specifieke omgevingen: + +`pio test {{[-e|--environment]}} {{omgeving1}} {{[-e|--environment]}} {{omgeving2}}` + +- Voer alleen testen uit die qua naam overeenkomen met een specifiek glob patroon: + +`pio test {{[-f|--filter]}} "{{patroon}}"` + +- Negeer testen die qua naam overeenkomen met een specifiek glob patroon: + +`pio test {{[-i|--ignore]}} "{{patroon}}"` + +- Specificeer een poort voor firmware uploading: + +`pio test --upload-port {{upload_poort}}` + +- Specificeer een aangepast configuratiebestand voor het uitvoeren van de testen: + +`pio test {{[-c|--project-conf]}} {{pad/naar/platformio.ini}}` diff --git a/pages.nl/common/pio-update.md b/pages.nl/common/pio-update.md new file mode 100644 index 00000000000000..11c4cebeabdbdb --- /dev/null +++ b/pages.nl/common/pio-update.md @@ -0,0 +1,17 @@ +# pio update + +> Update geïnstalleerde PlatformIO Core pakketten, ontwikkelplatformen en globale bibliotheken. +> Zie ook: `pio platform update`, `pio lib update`. +> Meer informatie: . + +- Voer een volledige update uit van alle pakketten, ontwikkelplatformen en globale bibliotheken: + +`pio update` + +- Update alleen kern pakketten (sla platformen en bibliotheken over): + +`pio update --core-packages` + +- Controleer voor nieuwe versies van pakketten, platformen en bibliotheken, maar update ze niet: + +`pio update --dry-run` diff --git a/pages.nl/common/pio-upgrade.md b/pages.nl/common/pio-upgrade.md new file mode 100644 index 00000000000000..dc3540d79d59e1 --- /dev/null +++ b/pages.nl/common/pio-upgrade.md @@ -0,0 +1,12 @@ +# pio upgrade + +> Update PlatformIO naar de laatste versie. +> Meer informatie: . + +- Update PlatformIO naar de laatste versie: + +`pio upgrade` + +- Update PlatformIO naar de laatste ontwikkel (instabiele) versie: + +`pio upgrade --dev` diff --git a/pages.nl/common/pio.md b/pages.nl/common/pio.md new file mode 100644 index 00000000000000..56977e9945a38a --- /dev/null +++ b/pages.nl/common/pio.md @@ -0,0 +1,17 @@ +# pio + +> Ontwikkelomgeving voor voor embedded boards. +> Sommige subcommando's zoals `run` hebben hun eigen documentatie. +> Meer informatie: . + +- Toon de help en toon subcommando's: + +`pio {{[-h|--help]}}` + +- Toon de help voor een specifiek subcommando: + +`pio {{subcommando}} {{[-h|--help]}}` + +- Toon de versie: + +`pio --version` diff --git a/pages.nl/common/piodebuggdb.md b/pages.nl/common/piodebuggdb.md new file mode 100644 index 00000000000000..a79989fba0c6f3 --- /dev/null +++ b/pages.nl/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Dit commando is een alias van `pio debug --interface=gdb`. + +- Bekijk de documentatie van het originele commando: + +`tldr pio debug` diff --git a/pages.nl/common/pip-freeze.md b/pages.nl/common/pip-freeze.md new file mode 100644 index 00000000000000..ab37d6c5f8610b --- /dev/null +++ b/pages.nl/common/pip-freeze.md @@ -0,0 +1,24 @@ +# pip freeze + +> Toon geïnstalleerde pakketten in requirements-formaat. +> Meer informatie: . + +- Toon geïnstalleerde pakketten: + +`pip freeze` + +- Schrijf geïnstalleerde pakketten naar `requirements.txt`: + +`pip freeze > requirements.txt` + +- Toon geïnstalleerde pakketten van een virtuele omgeving, met uitzondering van globaal geïnstalleerde pakketten: + +`pip freeze {{[-l|--local]}}` + +- Toon geïnstalleerde pakketten in de user-site: + +`pip freeze --user` + +- Toon alle pakketten, inclusief `pip`, `distribute`, `setuptools`, en `wheel` (deze worden normaal overgeslagen): + +`pip freeze --all` diff --git a/pages.nl/common/pip-install.md b/pages.nl/common/pip-install.md new file mode 100644 index 00000000000000..f5de701d4440c2 --- /dev/null +++ b/pages.nl/common/pip-install.md @@ -0,0 +1,24 @@ +# pip install + +> Installeer Python-pakketten. +> Meer informatie: . + +- Installeer een pakket: + +`pip install {{pakket}}` + +- Installeer een specifieke versie van een pakket: + +`pip install {{pakket}}=={{versie}}` + +- Installeer pakketten die in een bestand staan: + +`pip install {{[-r|--requirement]}} {{pad/naar/requirements.txt}}` + +- Installeer pakketten vanaf een URL of lokaal bestandsarchief (bijv. `.tar.gz` of `.whl`): + +`pip install {{[-f|--find-links]}} {{url|pad/naar/bestand}}` + +- Installeer het lokale pakket in de huidige map in develop-modus: + +`pip install {{[-e|--editable]}} .` diff --git a/pages.nl/common/pip-uninstall.md b/pages.nl/common/pip-uninstall.md new file mode 100644 index 00000000000000..68cf0c986d1d8b --- /dev/null +++ b/pages.nl/common/pip-uninstall.md @@ -0,0 +1,16 @@ +# pip uninstall + +> Verwijder Python-pakketten. +> Meer informatie: . + +- Verwijder een pakket: + +`pip uninstall {{pakket}}` + +- Verwijder pakketten die in een specifiek bestand staan: + +`pip uninstall {{[-r|--requirement]}} {{pad/naar/requirements.txt}}` + +- Verwijder pakketten zonder om bevestiging te vragen: + +`pip uninstall {{[-y|--yes]}} {{pakket}}` diff --git a/pages.nl/common/pip.md b/pages.nl/common/pip.md new file mode 100644 index 00000000000000..4bce4494b4fc11 --- /dev/null +++ b/pages.nl/common/pip.md @@ -0,0 +1,37 @@ +# pip + +> Python-pakketbeheerder. +> Sommige subcommando's zoals `install` hebben hun eigen documentatie. +> Meer informatie: . + +- Installeer een pakket (zie `pip install` voor meer installatievoorbeelden): + +`pip install {{pakket}}` + +- Installeer een pakket in de directory van de gebruiker in plaats van op de systeembrede standaardlocatie: + +`pip install --user {{pakket}}` + +- Upgrade een pakket: + +`pip install {{[-U|--upgrade]}} {{pakket}}` + +- Verwijder een pakket: + +`pip uninstall {{pakket}}` + +- Sla geïnstalleerde pakketten op in een bestand: + +`pip freeze > {{requirements.txt}}` + +- Toon geïnstalleerde pakketten: + +`pip list` + +- Toon informatie over geïnstalleerde pakketten: + +`pip show {{pakket}}` + +- Installeer pakketten van een bestand: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` diff --git a/pages.nl/common/pip3.md b/pages.nl/common/pip3.md new file mode 100644 index 00000000000000..df0934f4f1a6e5 --- /dev/null +++ b/pages.nl/common/pip3.md @@ -0,0 +1,32 @@ +# pip3 + +> Python-pakketbeheerder. +> Meer informatie: . + +- Installeer een pakket: + +`pip3 install {{pakket}}` + +- Installeer een specifieke versie van een pakket: + +`pip3 install {{pakket}}=={{versie}}` + +- Upgrade een pakket: + +`pip3 install {{[-U|--upgrade]}} {{pakket}}` + +- Verwijder een pakket: + +`pip3 uninstall {{pakket}}` + +- Sla geïnstalleerde pakketten op in een bestand: + +`pip3 freeze > {{requirements.txt}}` + +- Installeer pakketten van een bestand: + +`pip3 install {{[-r|--requirement]}} {{requirements.txt}}` + +- Toon informatie over geïnstalleerde pakketten: + +`pip3 show {{pakket}}` diff --git a/pages.nl/common/platformio.md b/pages.nl/common/platformio.md new file mode 100644 index 00000000000000..e28e1d7ad67b46 --- /dev/null +++ b/pages.nl/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Dit commando is een alias van `pio`. + +- Bekijk de documentatie van het originele commando: + +`tldr pio` diff --git a/pages.nl/common/pngcheck.md b/pages.nl/common/pngcheck.md new file mode 100644 index 00000000000000..adb4a2ca222c87 --- /dev/null +++ b/pages.nl/common/pngcheck.md @@ -0,0 +1,29 @@ +# pngcheck + +> Forensics tool voor het valideren van de integriteit van PNG-gebaseerde (PNG, JNG, MNG) afbeeldingbestanden. +> Kan ook embedded afbeeldingen en tekst van een bestand extraheren. +> Meer informatie: . + +- Verifieer de integriteit van een afbeeldingsbestand (breedte, hoogte, en kleurdiepte): + +`pngcheck {{pad/naar/afbeelding.png}}` + +- Toon informatie over een afbeelding met gekleurde ([c]) uitvoer: + +`pngcheck -c {{pad/naar/afbeelding.png}}` + +- Toon gedetailleerde ([v]) informatie over een afbeelding: + +`pngcheck -cvt {{pad/naar/afbeelding.png}}` + +- Ontvang een afbeelding van `stdin` en toon gedetailleerde informatie: + +`cat {{pad/naar/afbeelding.png}} | pngcheck -cvt` + +- Zoek ([s]) naar PNG-bestanden binnen een specifiek bestand en toon informatie: + +`pngcheck -s {{pad/naar/afbeelding.png}}` + +- Zoek naar PNG's binnen een ander bestand en e[x]tracteer ze: + +`pngcheck -x {{pad/naar/afbeelding.png}}` diff --git a/pages.nl/common/pngtopam.md b/pages.nl/common/pngtopam.md new file mode 100644 index 00000000000000..a242ab01a73637 --- /dev/null +++ b/pages.nl/common/pngtopam.md @@ -0,0 +1,21 @@ +# pngtopam + +> Converteer een PNG afbeelding naar een Netpbm afbeelding. +> Zie ook: `pamtopng`. +> Meer informatie: . + +- Converteer de gespecificeerde PNG afbeelding naar een Netpbm afbeelding: + +`pngtopam {{pad/naar/afbeelding.png}} > {{pad/naar/uitvoer.pam}}` + +- Maak een uitvoerafbeelding die zowel de hoofdafbeelding als de transparantiemasker van de invoerafbeelding bevat: + +`pngtopam -alphapam {{pad/naar/afbeelding.png}} > {{pad/naar/uitvoer.pam}}` + +- Vervang transparente pixels door de gespecificeerde kleur: + +`pngtopam {{[-m|-mix]}} {{[-ba|-background]}} {{kleur}} {{pad/naar/afbeelding.png}} > {{pad/naar/uitvoer.pam}}` + +- Schrijf tEXt chunks gevonden in de invoer-afbeelding naar het gespecificeerde tekstbestand: + +`pngtopam {{[-te|-text]}} {{pad/naar/bestand.txt}} {{pad/naar/afbeelding.png}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/pngtopnm.md b/pages.nl/common/pngtopnm.md new file mode 100644 index 00000000000000..1bc404e48a3c08 --- /dev/null +++ b/pages.nl/common/pngtopnm.md @@ -0,0 +1,8 @@ +# pngtopnm + +> Dit commando is vervangen door `pngtopam`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pngtopam` diff --git a/pages.nl/common/pnmarith.md b/pages.nl/common/pnmarith.md new file mode 100644 index 00000000000000..98a61bccaa96b0 --- /dev/null +++ b/pages.nl/common/pnmarith.md @@ -0,0 +1,8 @@ +# pnmarith + +> Dit commando is vervangen door `pamarith`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamarith` diff --git a/pages.nl/common/pnmcolormap.md b/pages.nl/common/pnmcolormap.md new file mode 100644 index 00000000000000..0b8008407f8ee8 --- /dev/null +++ b/pages.nl/common/pnmcolormap.md @@ -0,0 +1,16 @@ +# pnmcolormap + +> Maak een kwantisatiekleurkaart voor een PNM afbeelding. +> Meer informatie: . + +- Genereer een afbeelding met alleen `n_kleuren` of minder kleuren, zo dicht als mogelijk bij de invoer-afbeelding: + +`pnmcolormap {{n_kleuren}} {{pad/naar/invoer.pnm}} > {{pad/naar/uitvoer.ppm}}` + +- Gebruik de splitspread strategie voor het bepalen van de uitvoer-kleuren, welke waarschijnlijk een beter resultaat oplevert met afbeeldingen met kleine details: + +`pnmcolormap {{[-splits|-splitspread]}} {{n_kleuren}} {{pad/naar/invoer.pnm}} > {{pad/naar/uitvoer.ppm}}` + +- Sorteer de resulteerde kleurkaart, welke nuttig is voor het vergelijken van kleurkaarten: + +`pnmcolormap {{[-so|-sort]}} {{pad/naar/invoer.pnm}} > {{pad/naar/uitvoer.ppm}}` diff --git a/pages.nl/common/pnmcomp.md b/pages.nl/common/pnmcomp.md new file mode 100644 index 00000000000000..a7e1a90ce56cc5 --- /dev/null +++ b/pages.nl/common/pnmcomp.md @@ -0,0 +1,8 @@ +# pnmcomp + +> Dit commando is vervangen door `pamcomp`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamcomp` diff --git a/pages.nl/common/pnmcut.md b/pages.nl/common/pnmcut.md new file mode 100644 index 00000000000000..a25981a89fd212 --- /dev/null +++ b/pages.nl/common/pnmcut.md @@ -0,0 +1,8 @@ +# pnmcut + +> Dit commando is vervangen door `pamcut`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamcut` diff --git a/pages.nl/common/pnmdepth.md b/pages.nl/common/pnmdepth.md new file mode 100644 index 00000000000000..8a661456dc0d04 --- /dev/null +++ b/pages.nl/common/pnmdepth.md @@ -0,0 +1,7 @@ +# pnmdepth + +> Dit commando is een alias van `pamdepth`. + +- Bekijk de documentatie van het originele commando: + +`tldr pamdepth` diff --git a/pages.nl/common/pnmenlarge.md b/pages.nl/common/pnmenlarge.md new file mode 100644 index 00000000000000..f6560a9c2f1877 --- /dev/null +++ b/pages.nl/common/pnmenlarge.md @@ -0,0 +1,8 @@ +# pnmenlarge + +> Dit commando is vervangen door `pamenlarge`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamenlarge` diff --git a/pages.nl/common/pnmfile.md b/pages.nl/common/pnmfile.md new file mode 100644 index 00000000000000..0b478b98d896b5 --- /dev/null +++ b/pages.nl/common/pnmfile.md @@ -0,0 +1,8 @@ +# pnmfile + +> Dit commando is vervangen door `pamfile`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamfile` diff --git a/pages.nl/common/pnmflip.md b/pages.nl/common/pnmflip.md new file mode 100644 index 00000000000000..f7c476dd925dd7 --- /dev/null +++ b/pages.nl/common/pnmflip.md @@ -0,0 +1,8 @@ +# pnmflip + +> Dit commando is vervangen door `pamflip`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamflip` diff --git a/pages.nl/common/pnminterp.md b/pages.nl/common/pnminterp.md new file mode 100644 index 00000000000000..5973e4690edaf5 --- /dev/null +++ b/pages.nl/common/pnminterp.md @@ -0,0 +1,8 @@ +# pnminterp + +> Dit commando is vervangen door `pamstretch`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamstretch` diff --git a/pages.nl/common/pnmnorm.md b/pages.nl/common/pnmnorm.md new file mode 100644 index 00000000000000..6c2e823004012a --- /dev/null +++ b/pages.nl/common/pnmnorm.md @@ -0,0 +1,21 @@ +# pnmnorm + +> Normaliseer het contrast in een PNM afbeelding. +> Zie ook: `pnmhisteq`. +> Meer informatie: . + +- Forceer de helderste pixels om wit te zijn, de donkerste pixels om zwart te zijn en verspreid de tussenliggende pixels lineair: + +`pnmnorm {{pad/naar/afbeelding.pnm}} > {{pad/naar/uitvoer.pnm}}` + +- Forceer de helderste pixels om wit te zijn, de donkerste pixels om zwart te zijn en verspreid de tussenliggende pixels kwadratisch zodat pixels met een helderheid van `n` 50% helderder worden: + +`pnmnorm {{[-midv|-midvalue]}} {{n}} {{pad/naar/afbeelding.pnm}} > {{pad/naar/uitvoer.pnm}}` + +- Behoud de tint van de pixels, pas alleen de helderheid aan: + +`pnmnorm {{[-k|-keephues]}} {{pad/naar/afbeelding.pnm}} > {{pad/naar/uitvoer.pnm}}` + +- Specificeer een methode om de helderheid van een pixel te berekenen: + +`pnmnorm -{{luminosity|colorvalue|saturation}} {{pad/naar/afbeelding.pnm}} > {{pad/naar/uitvoer.pnm}}` diff --git a/pages.nl/common/pnmquant.md b/pages.nl/common/pnmquant.md new file mode 100644 index 00000000000000..ad56d6c0f69ea8 --- /dev/null +++ b/pages.nl/common/pnmquant.md @@ -0,0 +1,9 @@ +# pnmquant + +> Kwantiseer de kleuren in een PNM afbeelding naar een kleinere set. +> Dit commando is een combinatie van `pnmcolormap` en `pnmremap` en accepteert de combinatie van hun opties, behalve `-mapfile`. +> Meer informatie: . + +- Genereer een afbeelding door alleen gebruik te maken van `n_kleuren` of minder kleuren zo dichtbij mogelijk van de invoerafbeelding: + +`pnmquant {{n_kleuren}} {{pad/naar/invoer.pnm}} > {{pad/naar/uitvoer.pnm}}` diff --git a/pages.nl/common/pnmquantall.md b/pages.nl/common/pnmquantall.md new file mode 100644 index 00000000000000..e110e192cbaabf --- /dev/null +++ b/pages.nl/common/pnmquantall.md @@ -0,0 +1,13 @@ +# pnmquantall + +> Voer `pnmquant` tegelijk uit op meerdere bestanden zodat deze een kleurkaart delen. +> Zie ook: `pnmquant`. +> Meer informatie: . + +- Voer `pnmquant` uit op meerdere bestanden met de gespecificeerde parameters en overschrijf de originele bestanden: + +`pnmquantall {{n_kleuren}} {{pad/naar/invoer1.pnm pad/naar/invoer2.pnm ...}}` + +- Sla de gekwantificeerde afbeeldingen op naar bestanden met dezelfde namen als de invoerbestanden, maar met de gespecificeerde extensie: + +`pnmquantall {{[-e|-ext]}} {{extensie}} {{n_kleuren}} {{pad/naar/invoer1.pnm pad/naar/invoer2.pnm ...}}` diff --git a/pages.nl/common/pnmremap.md b/pages.nl/common/pnmremap.md new file mode 100644 index 00000000000000..eba64b3c9fbf86 --- /dev/null +++ b/pages.nl/common/pnmremap.md @@ -0,0 +1,20 @@ +# pnmremap + +> Vervang de kleuren in een PNM afbeelding. +> Meer informatie: . + +- Vervang de kleuren in een afbeelding met diegene gespecificeerd in een kleurenpalet: + +`pnmremap {{[-ma|-mapfile]}} {{pad/naar/kleurenpalet_bestand.ppm}} {{pad/naar/invoer.pnm}} > {{pad/naar/uitvoer.pnm}}` + +- Gebruik Floyd-Steinberg dithering voor het representeren van missende kleuren in het kleurenpalet: + +`pnmremap {{[-ma|-mapfile]}} {{pad/naar/kleurenpalet_bestand.ppm}} {{[-fs|-floyd]}} {{pad/naar/invoer.pnm}} > {{pad/naar/uitvoer.pnm}}` + +- Gebruik de eerste kleur in het palet voor het representeren van missende kleuren in het kleurenpalet: + +`pnmremap {{[-ma|-mapfile]}} {{pad/naar/kleurenpalet_bestand.ppm}} {{[-fi|-firstisdefault]}} {{pad/naar/invoer.pnm}} > {{pad/naar/uitvoer.pnm}}` + +- Gebruik de gespecificeerde kleur voor het representeren van de missende kleuren in het kleurenpalet: + +`pnmremap {{[-ma|-mapfile]}} {{pad/naar/kleurenpalet_bestand.ppm}} {{[-m|-missingcolor]}} {{kleur}} {{pad/naar/invoer.pnm}} > {{pad/naar/uitvoer.pnm}}` diff --git a/pages.nl/common/pnmscale.md b/pages.nl/common/pnmscale.md new file mode 100644 index 00000000000000..f455f0ec121a8f --- /dev/null +++ b/pages.nl/common/pnmscale.md @@ -0,0 +1,8 @@ +# pnmscale + +> Dit commando is vervangen door `pamscale`. +> Meer informatie: . + +- Bekijk de documentatie voor `pamscale`: + +`tldr pamscale` diff --git a/pages.nl/common/pnmsplit.md b/pages.nl/common/pnmsplit.md new file mode 100644 index 00000000000000..8e7643322af268 --- /dev/null +++ b/pages.nl/common/pnmsplit.md @@ -0,0 +1,8 @@ +# pnmsplit + +> Dit commando is vervangen door `pamsplit`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamsplit` diff --git a/pages.nl/common/pnmtofits.md b/pages.nl/common/pnmtofits.md new file mode 100644 index 00000000000000..80c5f6293e0c5e --- /dev/null +++ b/pages.nl/common/pnmtofits.md @@ -0,0 +1,8 @@ +# pnmtofits + +> Dit commando is vervangen door `pamtofits`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamtofits` diff --git a/pages.nl/common/pnmtojpeg.md b/pages.nl/common/pnmtojpeg.md new file mode 100644 index 00000000000000..6f89e571772ce3 --- /dev/null +++ b/pages.nl/common/pnmtojpeg.md @@ -0,0 +1,12 @@ +# pnmtojpeg + +> Converteer een PNM afbeelding naar het JPEG/JFIF/EXIF afbeeldingsformaat. +> Meer informatie: . + +- Lees een PNM afbeelding als invoer en produceer een JPEG/JFIF/EXIF afbeelding als uitvoer: + +`pnmtojpeg {{pad/naar/bestand.pnm}} > {{pad/naar/bestand.jpg}}` + +- Toon de versie: + +`pnmtojpeg -version` diff --git a/pages.nl/common/pnmtoplainpnm.md b/pages.nl/common/pnmtoplainpnm.md new file mode 100644 index 00000000000000..e98beb47714af6 --- /dev/null +++ b/pages.nl/common/pnmtoplainpnm.md @@ -0,0 +1,7 @@ +# pnmtoplainpnm + +> Dit commando is een alias van `pamtopnm -plain`. + +- Bekijk de documentatie van het originele commando: + +`tldr pamtopnm` diff --git a/pages.nl/common/pnmtopnm.md b/pages.nl/common/pnmtopnm.md new file mode 100644 index 00000000000000..90810608e64def --- /dev/null +++ b/pages.nl/common/pnmtopnm.md @@ -0,0 +1,7 @@ +# pnmtopnm + +> Dit commando is een alias van `pamtopnm`. + +- Bekijk de documentatie van het originele commando: + +`tldr pamtopnm` diff --git a/pages.nl/common/pnmtotiff.md b/pages.nl/common/pnmtotiff.md new file mode 100644 index 00000000000000..731fd97cf81e10 --- /dev/null +++ b/pages.nl/common/pnmtotiff.md @@ -0,0 +1,8 @@ +# pnmtotiff + +> Dit commando is vervangen door `pamtotiff`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamtotiff` diff --git a/pages.nl/common/popd.md b/pages.nl/common/popd.md new file mode 100644 index 00000000000000..70898f74106a84 --- /dev/null +++ b/pages.nl/common/popd.md @@ -0,0 +1,21 @@ +# popd + +> Verwijder een map van de directory stack die is geplaatst met de ingebouwde pushd-opdracht van de shell. +> Zie ook: `pushd` om een map op de stapel te plaatsen en `dirs` om de inhoud van de stapel weer te geven. +> Meer informatie: . + +- Verwijder de bovenste map van de stapel en ga ernaartoe: + +`popd` + +- Verwijder de N-de map (beginnend vanaf nul van links, uit de lijst die met `dirs` wordt weergegeven): + +`popd +N` + +- Verwijder de N-de map (beginnend vanaf nul van rechts, uit de lijst die met `dirs` wordt weergegeven): + +`popd -N` + +- Verwijder de eerste map (beginnend vanaf nul van links, uit de lijst die met `dirs` wordt weergegeven): + +`popd -n` diff --git a/pages.nl/common/powershell.md b/pages.nl/common/powershell.md new file mode 100644 index 00000000000000..6c4d18f13c9c43 --- /dev/null +++ b/pages.nl/common/powershell.md @@ -0,0 +1,13 @@ +# powershell + +> Dit commando kan verward worden met de cross-platform versie van PowerShell (vroeger bekend als PowerShell Core), welke gebruik maakt van `pwsh` in plaats van `powershell`. +> Het originele `powershell` commando in Windows is nog steeds beschikbaar om gebruik te maken van de legacy Windows versie van PowerShell (versie 5.1 en lager). +> Meer informatie: . + +- Bekijk de documenatie voor het commando dat refereert naar de laatste, cross-platform versie van PowerShell (versie 6 en hoger): + +`tldr pwsh` + +- Bekijk de documenatie voor het commando dat refereert naar de legacy Windows PowerShell (versie 5.1 en lager): + +`tldr powershell {{[-p|--platform]}} windows` diff --git a/pages.nl/common/ppmbrighten.md b/pages.nl/common/ppmbrighten.md new file mode 100644 index 00000000000000..1b013a3450fd6d --- /dev/null +++ b/pages.nl/common/ppmbrighten.md @@ -0,0 +1,8 @@ +# ppmbrighten + +> Dit commando is vervangen door `pambrighten`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pambrighten` diff --git a/pages.nl/common/ppmnorm.md b/pages.nl/common/ppmnorm.md new file mode 100644 index 00000000000000..523f49df53352d --- /dev/null +++ b/pages.nl/common/ppmnorm.md @@ -0,0 +1,8 @@ +# ppmnorm + +> Dit commando is vervangen door `pnmnorm`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pnmnorm` diff --git a/pages.nl/common/ppmquant.md b/pages.nl/common/ppmquant.md new file mode 100644 index 00000000000000..30e7bd30ff622c --- /dev/null +++ b/pages.nl/common/ppmquant.md @@ -0,0 +1,12 @@ +# ppmquant + +> Dit commando is vervangen met `pnmquant` en `pnmremap`. +> Meer informatie: . + +- Bekijk de documentatie voor `pnmquant`: + +`tldr pnmquant` + +- Bekijk de documentatie voor `pnmremap`: + +`tldr pnmremap` diff --git a/pages.nl/common/ppmquantall.md b/pages.nl/common/ppmquantall.md new file mode 100644 index 00000000000000..54095a594e407b --- /dev/null +++ b/pages.nl/common/ppmquantall.md @@ -0,0 +1,8 @@ +# ppmquantall + +> Dit commando is vervangen door `pnmquantall`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pnmquantall` diff --git a/pages.nl/common/ppmtogif.md b/pages.nl/common/ppmtogif.md new file mode 100644 index 00000000000000..987efabdcf86b4 --- /dev/null +++ b/pages.nl/common/ppmtogif.md @@ -0,0 +1,8 @@ +# ppmtogif + +> Dit commando is vervangen door `pamtogif`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamtogif` diff --git a/pages.nl/common/ppmtojpeg.md b/pages.nl/common/ppmtojpeg.md new file mode 100644 index 00000000000000..5f956e9c927f7c --- /dev/null +++ b/pages.nl/common/ppmtojpeg.md @@ -0,0 +1,8 @@ +# ppmtojpeg + +> Dit commando is vervangen door `pnmtojpeg`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pnmtojpeg` diff --git a/pages.nl/common/ppmtomap.md b/pages.nl/common/ppmtomap.md new file mode 100644 index 00000000000000..a61518490dc1be --- /dev/null +++ b/pages.nl/common/ppmtomap.md @@ -0,0 +1,8 @@ +# ppmtomap + +> Dit commando is vervangen door `pnmcolormap`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pnmcolormap` diff --git a/pages.nl/common/ppmtotga.md b/pages.nl/common/ppmtotga.md new file mode 100644 index 00000000000000..617c5cec1884df --- /dev/null +++ b/pages.nl/common/ppmtotga.md @@ -0,0 +1,8 @@ +# ppmtotga + +> Dit commando is vervangen door `pamtotga`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamtotga` diff --git a/pages.nl/common/ppmtouil.md b/pages.nl/common/ppmtouil.md new file mode 100644 index 00000000000000..2cbc7a6709018b --- /dev/null +++ b/pages.nl/common/ppmtouil.md @@ -0,0 +1,8 @@ +# ppmtouil + +> Dit commando is vervangen door `pamtouil`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamtouil` diff --git a/pages.nl/common/ppmtowinicon.md b/pages.nl/common/ppmtowinicon.md new file mode 100644 index 00000000000000..a7ccc0f9797f66 --- /dev/null +++ b/pages.nl/common/ppmtowinicon.md @@ -0,0 +1,8 @@ +# ppmtowinicon + +> Dit commando is vervangen door `pamtowinicon`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr pamtowinicon` diff --git a/pages.nl/common/pr.md b/pages.nl/common/pr.md new file mode 100644 index 00000000000000..af2e69a176e227 --- /dev/null +++ b/pages.nl/common/pr.md @@ -0,0 +1,28 @@ +# pr + +> Pagineer of kolomeer bestanden voor afdrukken. +> Meer informatie: . + +- Toon meerdere bestanden met een standaardkop- en voettekst: + +`pr {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Toon met een aangepaste gecentreerde koptekst: + +`pr {{[-h|--header]}} "{{koptekst}}" {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Toon met genummerde regels en een aangepast datumnotatieformaat: + +`pr {{[-n|--number-lines]}} {{[-D|--date-format]}} "{{formaat}}" {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Toon alle bestanden samen, één in elke kolom, zonder kop- of voettekst: + +`pr {{[-m|--merge]}} {{[-T|--omit-pagination]}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Toon, beginnend bij pagina 2 en tot en met pagina 5, met een gegeven paginalengte (inclusief kop- en voettekst): + +`pr +2:5 {{[-l|--length]}} {{paginalengte}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Toon met een offset voor elke regel en een afkappende aangepaste paginabreedte: + +`pr {{[-o|--indent]}} {{offset}} {{[-W|--page_width]}} {{breedte}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` diff --git a/pages.nl/common/prename.md b/pages.nl/common/prename.md new file mode 100644 index 00000000000000..dae3e2b3571336 --- /dev/null +++ b/pages.nl/common/prename.md @@ -0,0 +1,7 @@ +# prename + +> Dit commando is een alias van `rename`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.nl/common/printenv.md b/pages.nl/common/printenv.md new file mode 100644 index 00000000000000..3f5f2f5171e104 --- /dev/null +++ b/pages.nl/common/printenv.md @@ -0,0 +1,16 @@ +# printenv + +> Toon waarden van alle of specifieke omgevingsvariabelen. +> Meer informatie: . + +- Toon key-value paren van alle omgevingsvariabelen: + +`printenv` + +- Toon de waarde van een specifieke variabele: + +`printenv {{HOME}}` + +- Toon de waarde van een variabele en eindig met NUL in plaats van een nieuwe regel: + +`printenv {{[-0|--null]}} {{HOME}}` diff --git a/pages.nl/common/printf.md b/pages.nl/common/printf.md new file mode 100644 index 00000000000000..e4fa782473da7c --- /dev/null +++ b/pages.nl/common/printf.md @@ -0,0 +1,28 @@ +# printf + +> Formatteer en toon tekst. +> Meer informatie: . + +- Toon een tekstbericht: + +`printf "{{%s\n}}" "{{Hallo wereld}}"` + +- Toon een geheel getal in vetgedrukt blauw: + +`printf "{{\e[1;34m%.3d\e[0m\n}}" {{42}}` + +- Toon een drijvend-komma getal met het Unicode euroteken: + +`printf "{{\u20AC %.2f\n}}" {{123.4}}` + +- Toon een tekstbericht samengesteld met omgevingsvariabelen: + +`printf "{{var1: %s\tvar2: %s\n}}" "{{$VAR1}}" "{{$VAR2}}"` + +- Sla een geformatteerd bericht op in een variabele (werkt niet in Zsh): + +`printf -v {{mijnvar}} {{"Dit is %s = %d\n" "een jaar" 2016}}` + +- Toon een hexadecimaal, octaal en wetenschappelijk getal: + +`printf "{{hex=%x octal=%o scientific=%e}}" 0x{{FF}} 0{{377}} {{100000}}` diff --git a/pages.nl/common/ps-nvm.md b/pages.nl/common/ps-nvm.md new file mode 100644 index 00000000000000..deff81f6a18329 --- /dev/null +++ b/pages.nl/common/ps-nvm.md @@ -0,0 +1,29 @@ +# ps-nvm + +> PowerShell-gebaseerde voorziening voor het beheren van meerdere Node.js versies, geïnspireerd op `nvm`. +> Deze tool biedt meerdere commando's die allemaal alleen via PowerShell uitgevoerd kunnen worden. +> Meer informatie: . + +- Bekijk de documentatie voor `Get-NodeInstallLocation`, een tool om de huidige Node.js installatie locaties te verkrijgen: + +`tldr get-nodeinstalllocation` + +- Bekijk de documentatie voor `Get-NodeVersions`, een tool om alle beschikbare en geïnstalleerde Node.js versies to tonen: + +`tldr get-nodeversions` + +- Bekijk de documentatie voor `Install-NodeVersion`, een tool om Node.js runtime versies te installeren: + +`tldr install-nodeversion` + +- Bekijk de documentatie voor `Remove-NodeVersion`, een tool om een bestaande Node.js versie te deïnstalleren: + +`tldr remove-nodeversion` + +- Bekijk de documentatie voor `Set-NodeInstallLocation`, een tool om de Node.js installatie locatie in te stellen: + +`tldr set-nodeinstalllocation` + +- Bekijk de documentatie voor `Set-NodeVersion`, een tool om de standaard versie van Node.js in te stellen: + +`tldr set-nodeversion` diff --git a/pages.nl/common/ps.md b/pages.nl/common/ps.md new file mode 100644 index 00000000000000..5e1f39f14bd356 --- /dev/null +++ b/pages.nl/common/ps.md @@ -0,0 +1,32 @@ +# ps + +> Informatie over actieve processen. +> Meer informatie: . + +- Toon alle actieve processen: + +`ps aux` + +- Toon alle actieve processen inclusief de volledige commandoregel: + +`ps auxww` + +- Zoek naar een proces dat overeenkomt met een string (de vierkante haken voorkomen dat `grep` zichzelf vindt): + +`ps aux | grep {{[s]tring}}` + +- Toon alle processen van de huidige gebruiker in extra volledig formaat: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) -F` + +- Toon alle processen van de huidige gebruiker als een boomstructuur: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) f` + +- Verkrijg de parent PID van een proces: + +`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{pid}}` + +- Sorteer processen op geheugengebruik: + +`ps --sort size` diff --git a/pages.nl/common/psql.md b/pages.nl/common/psql.md new file mode 100644 index 00000000000000..f336f3caf82476 --- /dev/null +++ b/pages.nl/common/psql.md @@ -0,0 +1,24 @@ +# psql + +> PostgreSQL-client. +> Meer informatie: . + +- Maak verbinding met de database. Standaard wordt er verbinding gemaakt met de lokale socket op poort 5432 met de huidig ingelogde gebruiker: + +`psql {{database}}` + +- Maak verbinding met de database op de opgegeven serverhost die draait op de opgegeven poort met de opgegeven gebruikersnaam, zonder een wachtwoordprompt: + +`psql {{[-h|--host]}} {{host}} {{[-p|--port]}} {{poort}} {{[-U|--username]}} {{gebruikersnaam}} {{database}}` + +- Maak verbinding met de database, waarbij aan de gebruiker om een wachtwoord wordt gevraagd: + +`psql {{[-h|--host]}} {{host}} {{[-p|--port]}} {{poort}} {{[-U|--username]}} {{gebruikersnaam}} {{[-W|--password]}} {{database}}` + +- Voer één SQL-query of PostgreSQL-commando uit op de opgegeven database (handig in shell-scripts): + +`psql {{[-c|--command]}} '{{query}}' {{database}}` + +- Voer commando's vanuit een bestand uit op de opgegeven database: + +`psql {{database}} {{[-f|--file]}} {{pad/naar/bestand.sql}}` diff --git a/pages.nl/common/ptpython.md b/pages.nl/common/ptpython.md new file mode 100644 index 00000000000000..8941c7175475f8 --- /dev/null +++ b/pages.nl/common/ptpython.md @@ -0,0 +1,32 @@ +# ptpython + +> Een betere Python REPL. +> Meer informatie: . + +- Start een REPL (interactieve shell): + +`ptpython` + +- Voer een specifiek Python bestand uit: + +`ptpython {{pad/naar/bestand.py}}` + +- Voer een specfiek Python bestand uit en start een REPL: + +`ptpython {{[-i|--interactive]}} {{pad/naar/bestand.py}}` + +- Open het menu: + +`` + +- Open de geschiedenis pagina: + +`` + +- Wissel de plak modus: + +`` + +- Sluit af: + +`` diff --git a/pages.nl/common/ptpython3.md b/pages.nl/common/ptpython3.md new file mode 100644 index 00000000000000..1db6deeef2fda4 --- /dev/null +++ b/pages.nl/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Dit commando is een alias van `ptpython`. + +- Bekijk de documentatie van het originele commando: + +`tldr ptpython` diff --git a/pages.nl/common/pulumi-destroy.md b/pages.nl/common/pulumi-destroy.md new file mode 100644 index 00000000000000..443b0bdd669a5c --- /dev/null +++ b/pages.nl/common/pulumi-destroy.md @@ -0,0 +1,28 @@ +# pulumi destroy + +> Vernietig alle bestaande bronnen in een stack. +> Meer informatie: . + +- Vernietig alle bronnen in de huidige stack: + +`pulumi destroy` + +- Vernietig alle bronnen in een specifieke stack: + +`pulumi destroy {{[-s|--stack]}} {{stack}}` + +- Keur automatisch bronnen goed en vernietig deze na voorvertoning: + +`pulumi destroy {{[-y|--yes]}}` + +- Sluit beschermde bronnen uit van vernietigd worden: + +`pulumi destroy --exclude-protected` + +- Verwijder de stack en het bijbehorende configuratiebestand nadat alle bronnen in de stack zijn verwijderd: + +`pulumi destroy --remove` + +- Ga door met de bronnen vernietigen, zelfs als er een fout optreedt: + +`pulumi destroy --continue-on-error` diff --git a/pages.nl/common/pulumi-down.md b/pages.nl/common/pulumi-down.md new file mode 100644 index 00000000000000..6d20b10d4bf8fe --- /dev/null +++ b/pages.nl/common/pulumi-down.md @@ -0,0 +1,7 @@ +# pulumi down + +> Dit commando is een alias van `pulumi destroy`. + +- Bekijk de documentatie van het originele commando: + +`tldr pulumi destroy` diff --git a/pages.nl/common/pulumi-stack-hist.md b/pages.nl/common/pulumi-stack-hist.md new file mode 100644 index 00000000000000..51ffeb976721e8 --- /dev/null +++ b/pages.nl/common/pulumi-stack-hist.md @@ -0,0 +1,7 @@ +# pulumi stack hist + +> Dit commando is een alias van `pulumi stack history`. + +- Bekijk de documentatie van het originele commando: + +`tldr pulumi stack history` diff --git a/pages.nl/common/pulumi-up.md b/pages.nl/common/pulumi-up.md new file mode 100644 index 00000000000000..d9029bb13860ae --- /dev/null +++ b/pages.nl/common/pulumi-up.md @@ -0,0 +1,32 @@ +# pulumi up + +> Creëer of update de bronnen in een stack. +> Meer informatie: . + +- Bekijk en implementeer wijzigingen in een programma en/of infrastructuur: + +`pulumi up` + +- Keur de update automatisch goed en voer deze uit na het bekijken van de voorvertoning: + +`pulumi up {{[-y|--yes]}}` + +- Bekijk en implementeer wijzigingen in een specifieke stack: + +`pulumi up {{[-s|--stack]}} {{stack}}` + +- Ververs de status van de bronnen van de stack voor het updaten: + +`pulumi up {{[-r|--refresh]}}` + +- Toon de stack-uitvoer niet: + +`pulumi up --suppress-outputs` + +- Ga door met het updaten van de bronnen, zelfs als er een fout optreedt: + +`pulumi up --continue-on-error` + +- Toon de help: + +`pulumi up {{[-h|--help]}}` diff --git a/pages.nl/common/pulumi-update.md b/pages.nl/common/pulumi-update.md new file mode 100644 index 00000000000000..c151fe6b0aeae2 --- /dev/null +++ b/pages.nl/common/pulumi-update.md @@ -0,0 +1,7 @@ +# pulumi update + +> Dit commando is een alias van `pulumi up`. + +- Bekijk de documentatie van het originele commando: + +`tldr pulumi up` diff --git a/pages.nl/common/pushd.md b/pages.nl/common/pushd.md new file mode 100644 index 00000000000000..a2a9443dcef415 --- /dev/null +++ b/pages.nl/common/pushd.md @@ -0,0 +1,21 @@ +# pushd + +> Plaats een map op een stack zodat deze later kan worden benaderd. +> Zie ook: `popd` om terug te schakelen naar de originele map en `dirs` om de inhoud van de mapstapel weer te geven. +> Meer informatie: . + +- Schakel naar een map en zet deze op de stapel: + +`pushd {{pad/naar/map}}` + +- Wissel de eerste en tweede mappen op de stapel: + +`pushd` + +- Draai de stapel door het 5e element bovenaan te plaatsen: + +`pushd +4` + +- Draai de stapel 4 keer naar links (de huidige map blijft bovenaan door het 5e element te vervangen): + +`pushd -n +4` diff --git a/pages.nl/common/pwd.md b/pages.nl/common/pwd.md new file mode 100644 index 00000000000000..01b73213f92873 --- /dev/null +++ b/pages.nl/common/pwd.md @@ -0,0 +1,16 @@ +# pwd + +> Print de naam van de huidige/werkdirectory. +> Meer informatie: . + +- Print de huidige directory: + +`pwd` + +- Print de huidige directory en los alle symlinks op (d.w.z. toon het "fysieke" pad): + +`pwd {{[-P|--physical]}}` + +- Toon de help: + +`pwd --help` diff --git a/pages.nl/common/pwsh.md b/pages.nl/common/pwsh.md new file mode 100644 index 00000000000000..0b41ba49484313 --- /dev/null +++ b/pages.nl/common/pwsh.md @@ -0,0 +1,38 @@ +# pwsh + +> Command-line shell en scripting taal specifiek ontworpen voor systeemadministratie. +> Dit commando refereert naar PowerShell versie 6 en hoger (ook wel bekend als PowerShell Core en cross-platform PowerShell). +> Om de originele Windows versie (5.1 en lager, ook wel bekend als de legacy Windows PowerShell) te gebruiken, gebruik `powershell` in plaats van `pwsh`. +> Meer informatie: . + +- Start een interactieve shell sessie: + +`pwsh` + +- Start een interactieve shell sessie zonder het laden van startup configuraties: + +`pwsh -NoProfile` + +- Voer specifieke commando's uit: + +`pwsh -Command "{{echo 'powershell is uitgevoerd'}}"` + +- Voer een specifiek script uit: + +`pwsh -File {{pad/naar/script.ps1}}` + +- Start een sessie met een specifieke versie van PowerShell: + +`pwsh -Version {{versie}}` + +- Voorkom dat een shell afsluit na het uitvoeren van de opstart-commando's: + +`pwsh -NoExit` + +- Beschrijf het formaat van de data die gestuurd word naar to PowerShell: + +`pwsh -InputFormat {{Text|XML}}` + +- Bepaal hoe een uitvoer van Powershell word geformateerd: + +`pwsh -OutputFormat {{Text|XML}}` diff --git a/pages.nl/common/python.md b/pages.nl/common/python.md new file mode 100644 index 00000000000000..d7d7da0270a9a6 --- /dev/null +++ b/pages.nl/common/python.md @@ -0,0 +1,36 @@ +# python + +> Python taal interpreter. +> Meer informatie: . + +- Start een REPL (interactieve shell): + +`python` + +- Voer een specifiek Python bestand uit: + +`python {{pad/naar/bestand.py}}` + +- Voer een specfiek Python bestand uit en start een REPL: + +`python -i {{pad/naar/bestand.py}}` + +- Voer een Python expressie uit: + +`python -c "{{expressie}}"` + +- Voer het script uit van een gespecificeerd bibliotheek module: + +`python -m {{module}} {{argumenten}}` + +- Installeer een pakket met `pip`: + +`python -m pip install {{pakket}}` + +- Debug interactief een Python script: + +`python -m pdb {{pad/naar/bestand.py}}` + +- Start de ingebouwde HTTP server op poort 8000 in de huidige map: + +`python -m http.server` diff --git a/pages.nl/common/python3.md b/pages.nl/common/python3.md new file mode 100644 index 00000000000000..a9347eaeae69d3 --- /dev/null +++ b/pages.nl/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Dit commando is een alias van `python`. + +- Bekijk de documentatie van het originele commando: + +`tldr python` diff --git a/pages.nl/common/r2.md b/pages.nl/common/r2.md new file mode 100644 index 00000000000000..1c483b588303aa --- /dev/null +++ b/pages.nl/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Dit commando is een alias van `radare2`. + +- Bekijk de documentatie van het originele commando: + +`tldr radare2` diff --git a/pages.nl/common/radare2.md b/pages.nl/common/radare2.md new file mode 100644 index 00000000000000..94b13d8a9e2d3a --- /dev/null +++ b/pages.nl/common/radare2.md @@ -0,0 +1,28 @@ +# radare2 + +> Een set van reverse engineering tools. +> Meer informatie: . + +- Open een schrijfbaar bestand zonder het parsen van de bestandsformaat headers: + +`radare2 -nw {{pad/naar/binary}}` + +- Debug een programma: + +`radare2 -d {{pad/naar/binary}}` + +- Voer een script uit voordat de interactieve CLI start: + +`radare2 -i {{pad/naar/script.r2}} {{pad/naar/binary}}` + +- Toon de help tekst voor ieder commando in de interactieve CLI: + +`{{radare2_commando}}?` + +- Voer een shell commando uit vanuit de interactieve CLI: + +`!{{shell_commando}}` + +- Dump raw bytes van het huidige block naar een bestand: + +`> pr > {{pad/naar/bestand.bin}}` diff --git a/pages.nl/common/rc.md b/pages.nl/common/rc.md new file mode 100644 index 00000000000000..19fa15958a41a6 --- /dev/null +++ b/pages.nl/common/rc.md @@ -0,0 +1,13 @@ +# rc + +> Een moderne simplistische poort luisteraar en omgekeerde shell. +> Vergelijkbaar met `nc`. +> Meer informatie: . + +- Start met luisteren op een specifieke poort: + +`rc -lp {{poort}}` + +- Start een omgekeerde shell: + +`rc {{host}} {{poort}} -r {{shell}}` diff --git a/pages.nl/common/rcat.md b/pages.nl/common/rcat.md new file mode 100644 index 00000000000000..138762d9545f27 --- /dev/null +++ b/pages.nl/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Dit commando is een alias van `rc`. + +- Bekijk de documentatie van het originele commando: + +`tldr rc` diff --git a/pages.nl/common/read.md b/pages.nl/common/read.md new file mode 100644 index 00000000000000..bfd88dff85b10e --- /dev/null +++ b/pages.nl/common/read.md @@ -0,0 +1,36 @@ +# read + +> Shell builtin voor het ophalen van data van `stdin`. +> Meer informatie: . + +- Sla gegevens op die je van het toetsenbord typt: + +`read {{variable}}` + +- Sla elke van de volgende regels die je invoert op als waarden van een array: + +`read -a {{array}}` + +- Specificeer het maximale aantal karakters dat gelezen moet worden: + +`read -n {{character_count}} {{variable}}` + +- Wijs meerdere waarden toe aan meerdere variabelen: + +`read {{_ variable1 _ variable2}} <<< "{{De achternaam is Bond}}"` + +- Laat backslash (\\) niet optreden als een escape-teken: + +`read -r {{variable}}` + +- Toon een prompt vóór de invoer: + +`read -p "{{Voer je invoer hier in: }}" {{variable}}` + +- Echo de ingetikte tekens niet (stille modus): + +`read -s {{variable}}` + +- Lees `stdin` en voer een actie uit op elke regel: + +`while read line; do {{echo|ls|rm|...}} "$line"; done < {{/dev/stdin|pad/naar/bestand|...}}` diff --git a/pages.nl/common/readarray.md b/pages.nl/common/readarray.md new file mode 100644 index 00000000000000..aab89b5a48d2ca --- /dev/null +++ b/pages.nl/common/readarray.md @@ -0,0 +1,24 @@ +# readarray + +> Lees regels van `stdin` in een array. +> Meer informatie: . + +- Interactief regels in een array invoeren: + +`readarray {{array_naam}}` + +- Lees regels uit een bestand en plaats ze in een array: + +`readarray < {{pad/naar/bestand.txt}} {{array_naam}}` + +- Verwijder scheidingstekens aan het einde (standaard newline): + +`readarray < {{pad/naar/bestand.txt}} -t {{array_naam}}` + +- Kopieer maximaal het opgegeven aantal regels: + +`readarray < {{pad/naar/bestand.txt}} -n {{N}} {{array_naam}}` + +- Toon de help: + +`help mapfile` diff --git a/pages.nl/common/readlink.md b/pages.nl/common/readlink.md new file mode 100644 index 00000000000000..f5df7261f430ad --- /dev/null +++ b/pages.nl/common/readlink.md @@ -0,0 +1,12 @@ +# readlink + +> Volg symlinks en verkrijg symlink-informatie. +> Meer informatie: . + +- Toon het werkelijke bestand waarnaar de symlink verwijst: + +`readlink {{pad/naar/bestand}}` + +- Toon het absolute pad naar een bestand: + +`readlink {{[-f|--canonicalize]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/realpath.md b/pages.nl/common/realpath.md new file mode 100644 index 00000000000000..c2af86c11aa513 --- /dev/null +++ b/pages.nl/common/realpath.md @@ -0,0 +1,24 @@ +# realpath + +> Toon het opgeloste absolute pad voor een bestand of map. +> Meer informatie: . + +- Toon het absolute pad voor een bestand of map: + +`realpath {{pad/naar/bestand_of_map}}` + +- Vereis dat alle padcomponenten bestaan: + +`realpath {{[-e|--canonicalize-existing]}} {{pad/naar/bestand_of_map}}` + +- Los ".." componenten op voordat symlinks worden gevolgd: + +`realpath {{[-L|--logical]}} {{pad/naar/bestand_of_map}}` + +- Schakel symlink-uitbreiding uit: + +`realpath {{[-s|--no-symlinks]}} {{pad/naar/bestand_of_map}}` + +- Onderdruk foutmeldingen: + +`realpath {{[-q|--quiet]}} {{pad/naar/bestand_of_map}}` diff --git a/pages.nl/common/remove-nodeversion.md b/pages.nl/common/remove-nodeversion.md new file mode 100644 index 00000000000000..b07ae71cd25456 --- /dev/null +++ b/pages.nl/common/remove-nodeversion.md @@ -0,0 +1,21 @@ +# Remove-NodeVersion + +> Deïnstalleer Node.js runtime versies voor `ps-nvm`. +> Onderdeel van `ps-nvm` en kan alleen uitgevoerd worden in PowerShell. +> Meer informatie: . + +- Deïnstalleer een gegeven Node.js versie: + +`Remove-NodeVersion {{node_versie}}` + +- Deïnstalleer meerdere Node.js versies: + +`Remove-NodeVersion {{node_versie1 , node_versie2 , ...}}` + +- Deïnstalleer alle huidige geïnstalleerde versie van Node.js 20.x: + +`Get-NodeVersions -Filter ">=20.0.0 <21.0.0" | Remove-NodeVersion` + +- Deïnstalleer alle huidige geïnstalleerde versies van Node.js: + +`Get-NodeVersions | Remove-NodeVersion` diff --git a/pages.nl/common/rename.md b/pages.nl/common/rename.md new file mode 100644 index 00000000000000..97e8573121a4c1 --- /dev/null +++ b/pages.nl/common/rename.md @@ -0,0 +1,30 @@ +# rename + +> Hernoem een bestand of groep van bestanden met een `regex`. +> WAARSCHUWING: Dit commando overschrijft bestanden zonder bevestiging, tenzij de dry-run optie gebruikt wordt. +> Opmerking: Deze pagina verwijst naar de Perl-versie, ook bekend als `file-rename`. +> Meer informatie: . + +- Vervang `van` met `naar` in de bestandsnamen van de opgegeven bestanden: + +`rename 's/{{van}}/{{naar}}/' {{*.txt}}` + +- Dry-run - toon welke veranderingen zouden plaatsvinden zonder ze uit te voeren: + +`rename -n 's/{{van}}/{{naar}}/' {{*.txt}}` + +- Verander de extensie: + +`rename 's/\.{{oud}}$/\.{{nieuw}}/' {{*.txt}}` + +- Verander naar kleine letters (gebruik `-f` in hoofdlettergevoelige bestandssystemen): + +`rename {{[-f|--force]}} 'y/A-Z/a-z/' {{*.txt}}` + +- Schrijf de eerste letter van elk woord in de naam met een hoofdletter: + +`rename {{[-f|--force]}} 's/\b(\w)/\U$1/g' {{*.txt}}` + +- Vervang spaties met underscores: + +`rename 's/\s+/_/g' {{*.txt}}` diff --git a/pages.nl/common/renice.md b/pages.nl/common/renice.md new file mode 100644 index 00000000000000..f543a127cbcb47 --- /dev/null +++ b/pages.nl/common/renice.md @@ -0,0 +1,18 @@ +# renice + +> Verander de scheduleringsprioriteit/niceness van lopende processen. +> Niceness waarden variëren van -20 (meest gunstig voor het proces) tot 19 (minst gunstig voor het proces). +> Zie ook: `nice`. +> Meer informatie: . + +- Verhoog/verlaag de prioriteit van een lopend [p]roces: + +`renice -n {{3}} -p {{pid}}` + +- Verhoog/verlaag de prioriteit van alle processen die eigendom zijn van een [g]ebruiker: + +`renice -n {{-4}} -u {{uid|user}}` + +- Verhoog/verlaag de prioriteit van alle processen die behoren tot een proces[g]roep: + +`renice -n {{5}} -g {{proces_groep}}` diff --git a/pages.nl/common/rg.md b/pages.nl/common/rg.md new file mode 100644 index 00000000000000..a171882d964748 --- /dev/null +++ b/pages.nl/common/rg.md @@ -0,0 +1,37 @@ +# rg + +> Ripgrep, een recursieve regel-georiënteerde zoek tool. +> Wil een sneller alternatief zijn dan `grep`. +> Meer informatie: . + +- Zoek recursief in de huidige map naar een patroon (reguliere expressie): + +`rg {{patroon}}` + +- Zoek recursief naar een patroon in een bestand of map: + +`rg {{patroon}} {{pad/naar/bestand_of_map}}` + +- Voeg verborgen bestanden en onderdelen van de `.gitignore` toe: + +`rg {{[-.|--hidden]}} --no-ignore {{patroon}}` + +- Zoek in bestanden die overeenkomen met een glob (bijv. `README.*`) naar een patroon: + +`rg {{patroon}} {{[-g|--glob]}} {{bestandsnaam_glob_patroon}}` + +- Toon recursief de bestandsnamen welke overeenkomen met een pattern: + +`rg --files | rg {{patroon}}` + +- Toon alleen overeenkomende bestanden (handig bij het doorsturen naar andere commando's): + +`rg {{[-l|--files-with-matches]}} {{patroon}}` + +- Toon regels die niet overeenkomen met de gegeven reguliere expressie: + +`rg {{[-v|--invert-match]}} {{patroon}}` + +- Zoek naar een letterlijk string pattroon: + +`rg {{[-D|--fixed-strings]}} -- {{string}}` diff --git a/pages.nl/common/ripgrep.md b/pages.nl/common/ripgrep.md new file mode 100644 index 00000000000000..006deccf5e740e --- /dev/null +++ b/pages.nl/common/ripgrep.md @@ -0,0 +1,7 @@ +# ripgrep + +> `ripgrep` is de algemene naam voor het commando `rg`. + +- Bekijk de documentatie van het originele commando: + +`tldr rg` diff --git a/pages.nl/common/rm.md b/pages.nl/common/rm.md new file mode 100644 index 00000000000000..8a4048d3ba6a4f --- /dev/null +++ b/pages.nl/common/rm.md @@ -0,0 +1,29 @@ +# rm + +> Verwijder bestanden of mappen. +> Zie ook: `rmdir`. +> Meer informatie: . + +- Verwijder specifieke bestanden: + +`rm {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Verwijder specifieke bestanden, maar negeer niet-bestaande bestanden: + +`rm {{[-f|--force]}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Verwijder specifieke bestanden [i]nteractief door vóór elke verwijdering bevestiging te vragen: + +`rm {{[-i|--interactive]}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Verwijder specifieke bestanden en toon informatie over iedere verwijdering: + +`rm {{[-v|--verbose]}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Verwijder specifieke bestanden en mappen [r]ecursief: + +`rm {{[-r|--recursive]}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Verwijder lege mappen (dit word beschouwd als de veilige methode): + +`rm {{[-d|--dir]}} {{pad/naar/map}}` diff --git a/pages.nl/common/rmdir.md b/pages.nl/common/rmdir.md new file mode 100644 index 00000000000000..715fcdf4e82062 --- /dev/null +++ b/pages.nl/common/rmdir.md @@ -0,0 +1,17 @@ +# rmdir + +> Verwijder directories zonder bestanden. +> Zie ook: `rm`. +> Meer informatie: . + +- Verwijder specifieke directories: + +`rmdir {{pad/naar/map1 pad/naar/map2 ...}}` + +- Verwijder specifieke geneste directories recursief: + +`rmdir {{[-p|--parents]}} {{pad/naar/map1 pad/naar/map2 ...}}` + +- Verwijder alle lege mappen in een map: + +`rmdir *` diff --git a/pages.nl/common/rnano.md b/pages.nl/common/rnano.md new file mode 100644 index 00000000000000..71ff46d0d4504b --- /dev/null +++ b/pages.nl/common/rnano.md @@ -0,0 +1,8 @@ +# rnano + +> Dit commando is een alias van `nano --restricted`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr nano` diff --git a/pages.nl/common/route.md b/pages.nl/common/route.md new file mode 100644 index 00000000000000..7c8e88c8f4d5c2 --- /dev/null +++ b/pages.nl/common/route.md @@ -0,0 +1,16 @@ +# route + +> Gebruik het route-commando om de routetabel in te stellen. +> Meer informatie: . + +- Toon de informatie van de routetabel: + +`route -n` + +- Voeg een routeregel toe: + +`sudo route add -net {{ip_adres}} netmask {{netmask_adres}} gw {{gw_adres}}` + +- Verwijder een routeregel: + +`sudo route del -net {{ip_adres}} netmask {{netmask_adres}} dev {{gw_adres}}` diff --git a/pages.nl/common/rpcdump.py.md b/pages.nl/common/rpcdump.py.md new file mode 100644 index 00000000000000..6303ca610162af --- /dev/null +++ b/pages.nl/common/rpcdump.py.md @@ -0,0 +1,25 @@ +# rpcdump.py + +> Informatie over RPC-eindpunten op afstand dumpen via de Endpoint Mapper. +> Onderdeel van de Impacket-suite. +> Meer informatie: . + +- Dump RPC eindpunten met gebruikersnaam en wachtwoord: + +`rpcdump.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Dump RPC eindpunten met NTLM hashes: + +`rpcdump.py -hashes {{LMHASH}}:{{NTHASH}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Geef expliciet een doel-IP-adres op (handig als de doelnaam een NetBIOS-naam is): + +`rpcdump.py -target-ip {{doel_ip}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Maak verbinding met een specifieke poort (standaard is 135 voor RPC Endpoint Mapper): + +`rpcdump.py -port {{poort_nummer}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Schakel debug-uitvoer in: + +`rpcdump.py -debug {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` diff --git a/pages.nl/common/rpcmap.py.md b/pages.nl/common/rpcmap.py.md new file mode 100644 index 00000000000000..3217bcc03df9c0 --- /dev/null +++ b/pages.nl/common/rpcmap.py.md @@ -0,0 +1,37 @@ +# rpcmap.py + +> Zoek naar luisterende MSRPC interfaces met behulp van een string binding (bijv. `ncacn_ip_tcp:host[port]`). +> Onderdeel van de Impacket-suite. +> Meer informatie: . + +- Maak verbinding met een MSRPC interface met behulp van een string binding (bijv. `ncacn_ip_tcp:host[port]`): + +`rpcmap.py {{stringbinding}}` + +- Bruteforce UUID's zelfs als de MGMT interface beschikbaar is: + +`rpcmap.py -brute-uuids {{stringbinding}}` + +- Bruteforce bewerkingsnummers (opnums) voor ontdekte UUID's: + +`rpcmap.py -brute-opnums {{stringbinding}}` + +- Bruteforce hoofdversies van gevonden UUID's: + +`rpcmap.py -brute-versions {{stringbinding}}` + +- Geef handmatig een doel-IP-adres op: + +`rpcmap.py -target-ip {{ip_adres}} {{stringbinding}}` + +- Authenticeer naar de RPC interface met gebruikersnaam en wachtwoord: + +`rpcmap.py -auth-rpc {{domein}}/{{gebruikersnaam}}:{{wachtwoord}} {{stringbinding}}` + +- Authenticeren met NTLM hashes voor RPC: + +`rpcmap.py -hashes-rpc {{LMHASH:NTHASH}} {{stringbinding}}` + +- Schakel debug-uitvoer in voor uitgebreide informatie: + +`rpcmap.py -debug {{stringbinding}}` diff --git a/pages.nl/common/rsync.md b/pages.nl/common/rsync.md new file mode 100644 index 00000000000000..9dcf35621270fa --- /dev/null +++ b/pages.nl/common/rsync.md @@ -0,0 +1,37 @@ +# rsync + +> Draag bestanden over naar of van een externe host (maar niet tussen twee externe hosts), met als standaard via SSH. +> Om een pad te specificeren, gebruik `gebruiker@host:pad/naar/bestand_of_map`. +> Meer informatie: . + +- Draag een bestand over: + +`rsync {{pad/naar/bron}} {{pad/naar/bestemming}}` + +- Gebruik archiefmodus (kopieer recursief mappen, kopieer symlinks zonder ze op te lossen en behoud machtigingen, eigendom en wijzigingstijden): + +`rsync {{[-a|--archive]}} {{pad/naar/bron}} {{pad/naar/bestemming}}` + +- Comprimeer de data wanneer deze worden verzonden naar de bestemming, toon verbose en voor mensen leesbare voortgang, en behoud gedeeltelijk overgedragen bestanden als er een onderbreking is: + +`rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{pad/naar/bron}} {{pad/naar/bestemming}}` + +- Kopieer recursief mappen: + +`rsync {{[-r|--recursive]}} {{pad/naar/bron}} {{pad/naar/bestemming}}` + +- Draag de inhoud van een map over, maar niet de map zelf: + +`rsync {{[-r|--recursive]}} {{pad/naar/bron}}/ {{pad/naar/bestemming}}` + +- Gebruik archiefmodus, los symlinks op en sla bestanden over die nieuwer zijn op de bestemming: + +`rsync {{[-auL|--archive --update --copy-links]}} {{pad/naar/bron}} {{pad/naar/bestemming}}` + +- Draag een map over van een externe host waarop `rsyncd` draait en verwijder bestanden op de bestemming die niet op de bron bestaan: + +`rsync {{[-r|--recursive]}} --delete rsync://{{host}}:{{pad/naar/bron}} {{pad/naar/bestemming}}` + +- Draag een bestand over via SSH met een andere poort dan de standaardpoort (22) en toon globale voortgang: + +`rsync {{[-e|--rsh]}} 'ssh -p {{poort}}' --info=progress2 {{host}}:{{pad/naar/bron}} {{pad/naar/bestemming}}` diff --git a/pages.nl/common/ruby.md b/pages.nl/common/ruby.md new file mode 100644 index 00000000000000..e80f1b00d57deb --- /dev/null +++ b/pages.nl/common/ruby.md @@ -0,0 +1,29 @@ +# ruby + +> Ruby-programmeertaal interpreter. +> Zie ook: `gem`, `bundler`, `rake`, `irb`. +> Meer informatie: . + +- Voer een Ruby-script uit: + +`ruby {{pad/naar/script.rb}}` + +- Voer één Ruby-commando uit op de command-line: + +`ruby -e "{{commando}}"` + +- Controleer op syntax fouten in een bepaald Ruby-script: + +`ruby -c {{pad/naar/script.rb}}` + +- Start de ingebouwde HTTP-server op poort 8080 in de huidige map: + +`ruby -run -e httpd` + +- Voer een Ruby-binary lokaal uit zonder de vereiste library te installeren waarvan het afhankelijk is: + +`ruby -I {{pad/naar/library_map}} -r {{vereiste_library_naam}} {{pad/naar/bin_map/bin_naam}}` + +- Toon de versie: + +`ruby {{[-v|--version]}}` diff --git a/pages.nl/common/ruff-check.md b/pages.nl/common/ruff-check.md new file mode 100644 index 00000000000000..c19f3d15bb405d --- /dev/null +++ b/pages.nl/common/ruff-check.md @@ -0,0 +1,33 @@ +# ruff check + +> Een extreem snelle Python linter. `check` is het standaard commando - het kan overal weggelaten worden. +> Als geen bestanden of mappen zijn gespecificeerd, wordt de huidige map gebruikt. +> Meer informatie: . + +- Voer de linter uit op de opgegeven bestanden of mappen: + +`ruff check {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Voer de gesuggereerde fixes uit en pas de bestanden in-place aan: + +`ruff check --fix` + +- Voer de linter uit en re-lint op iedere wijziging: + +`ruff check --watch` + +- Zet alleen de gespecificeerde regels (of alle regels) aan en negeer het configuratie bestand: + +`ruff check --select {{ALL|regelcode1,regelcode2,...}}` + +- Zet additioneel de gespecificeerde regels aan: + +`ruff check --extend-select {{regelcode1,regelcode2,...}}` + +- Zet de gespecificeerde regels uit: + +`ruff check --ignore {{regelcode1,regelcode2,...}}` + +- Negeer alle bestaande schendingen van een regel door `# noqa` toe te voegen aan alle regels die de regel breken: + +`ruff check --select {{regelcode}} --add-noqa` diff --git a/pages.nl/common/ruff-format.md b/pages.nl/common/ruff-format.md new file mode 100644 index 00000000000000..90403670968ce1 --- /dev/null +++ b/pages.nl/common/ruff-format.md @@ -0,0 +1,17 @@ +# ruff format + +> Een extreem snelle Python code formatter. +> Als geen bestanden of mappen zijn gespecificeerd, wordt de huidige map gebruikt. +> Meer informatie: . + +- Formateer opgegeven bestanden of mappen in-place: + +`ruff format {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Toon welke bestanden aangepast zouden worden en return een niet-nul exit code als er bestanden zijn om te formatteren en anders nul: + +`ruff format --check` + +- Toon welke veranderingen er gemaakt zouden worden zonder de bestanden aan te passen: + +`ruff format --diff` diff --git a/pages.nl/common/ruff.md b/pages.nl/common/ruff.md new file mode 100644 index 00000000000000..e70f3d1ffa3ed9 --- /dev/null +++ b/pages.nl/common/ruff.md @@ -0,0 +1,12 @@ +# ruff + +> Een extreem snelle Python linter en code formatter, geschreven in Rust. +> Meer informatie: . + +- Bekijk de documentatie voor de Ruff linter: + +`tldr ruff check` + +- Bekijk de documentatie voor de Ruff code formatter: + +`tldr ruff format` diff --git a/pages.nl/common/rustup-install.md b/pages.nl/common/rustup-install.md new file mode 100644 index 00000000000000..b8b0321480bcc3 --- /dev/null +++ b/pages.nl/common/rustup-install.md @@ -0,0 +1,7 @@ +# rustup install + +> Dit commando is een alias van `rustup toolchain install`. + +- Bekijk de documentatie van het originele commando: + +`tldr rustup toolchain` diff --git a/pages.nl/common/rustup-toolchain.md b/pages.nl/common/rustup-toolchain.md new file mode 100644 index 00000000000000..304ae45fa5e044 --- /dev/null +++ b/pages.nl/common/rustup-toolchain.md @@ -0,0 +1,21 @@ +# rustup toolchain + +> Beheer Rust toolchains. +> Bekijk `rustup help toolchain` voor meer informatie over toolchains. +> Meer informatie: . + +- Installeer of update een bepaalde toolchain: + +`rustup toolchain install {{toolchain}}` + +- Deïnstalleer een toolchain: + +`rustup toolchain uninstall {{toolchain}}` + +- Toon geïnstalleerde toolchains: + +`rustup toolchain list` + +- Maak een aangepaste toolchain door te symlinken naar een map: + +`rustup toolchain link {{aangepaste_toolchain_naam}} {{pad/naar/map}}` diff --git a/pages.nl/common/rustup-uninstall.md b/pages.nl/common/rustup-uninstall.md new file mode 100644 index 00000000000000..443ec425b13bd4 --- /dev/null +++ b/pages.nl/common/rustup-uninstall.md @@ -0,0 +1,7 @@ +# rustup uninstall + +> Dit commando is een alias van `rustup toolchain uninstall`. + +- Bekijk de documentatie van het originele commando: + +`tldr rustup toolchain` diff --git a/pages.nl/common/screen.md b/pages.nl/common/screen.md new file mode 100644 index 00000000000000..bdbfd01dd14907 --- /dev/null +++ b/pages.nl/common/screen.md @@ -0,0 +1,37 @@ +# screen + +> Houd een sessie open op een externe server. Beheer meerdere vensters met één SSH-verbinding. +> Zie ook: `tmux` en `zellij`. +> Meer informatie: . + +- Start een nieuwe screen sessie: + +`screen` + +- Start een nieuwe benoemde screen sessie: + +`screen -S {{sessie_naam}}` + +- Start een nieuwe daemon en log de output van `screenlog.x`: + +`screen -dmLS {{sessie_naam}} {{commando}}` + +- Toon open screen sessies: + +`screen -ls` + +- Herkoppel aan een open screen: + +`screen -r {{sessie_naam}}` + +- Koppel los van binnen een screen: + +`` + +- Beëindig de huidige screen sessie: + +`` + +- Beëindig een losgekoppelde screen: + +`screen -X -S {{sessie_naam}} quit` diff --git a/pages.nl/common/secretsdump.py.md b/pages.nl/common/secretsdump.py.md new file mode 100644 index 00000000000000..e249729f345264 --- /dev/null +++ b/pages.nl/common/secretsdump.py.md @@ -0,0 +1,25 @@ +# secretsdump.py + +> NTLM-hashes, wachtwoorden in platte tekst en domeingegevens van Windows-systemen op afstand downloaden. +> Onderdeel van de Impacket-suite. +> Meer informatie: . + +- Dump vertrouwelijke gegevens van een Windows machine met een gebruikersnaam en wachtwoord: + +`secretsdump.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Dump hashes van een machine met pass-the-hash authenticatie: + +`secretsdump.py -hashes {{LM_Hash}}:{{NT_Hash}} {{domein}}/{{gebruikersnaam}}@{{doel}}` + +- Dump referenties van Active Directory's NTDS.dit bestand: + +`secretsdump.py -just-dc {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Haal referenties uit een lokale SAM-database met behulp van registerhives: + +`secretsdump.py -sam {{pad/naar/SAM}} -system {{pad/naar/SYSTEM}}` + +- Dump hashes van een machine zonder een wachtwoord op te geven (als er een geldige authenticatiesessie bestaat, bijv. via Kerberos of NTLM SSO): + +`secretsdump.py -no-pass {{domein}}/{{gebruikersnaam}}@{{doel}}` diff --git a/pages.nl/common/sed.md b/pages.nl/common/sed.md new file mode 100644 index 00000000000000..875d1484082cc8 --- /dev/null +++ b/pages.nl/common/sed.md @@ -0,0 +1,17 @@ +# sed + +> Pas tekst aan in een op een scriptbare manier. +> Zie ook: `awk`, `ed`. +> Meer informatie: . + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed 's/apple/mango/g'` + +- Voer een specifiek script bestand uit en toon het resultaat in `stdout`: + +`{{commando}} | sed -f {{pad/naar/script.sed}}` + +- Toon alleen de eerste regel in `stdout`: + +`{{commando}} | sed -n '1p'` diff --git a/pages.nl/common/seq.md b/pages.nl/common/seq.md new file mode 100644 index 00000000000000..2f96bd08605a48 --- /dev/null +++ b/pages.nl/common/seq.md @@ -0,0 +1,20 @@ +# seq + +> Toon een reeks getallen naar `stdout`. +> Meer informatie: . + +- Reeks van 1 tot 10: + +`seq 10` + +- Elk 3e nummer van 5 tot 20: + +`seq 5 3 20` + +- Scheid de uitvoer met een spatie in plaats van een nieuwe regel: + +`seq {{[-s|--separator]}} " " 5 3 20` + +- Formatteer de uitvoerbreedte naar minimaal 4 cijfers, opgevuld met nullen indien nodig: + +`seq {{[-f|--format]}} "%04g" 5 3 20` diff --git a/pages.nl/common/set-nodeinstalllocation.md b/pages.nl/common/set-nodeinstalllocation.md new file mode 100644 index 00000000000000..90b92434aaae16 --- /dev/null +++ b/pages.nl/common/set-nodeinstalllocation.md @@ -0,0 +1,9 @@ +# Set-NodeInstallLocation + +> Stel de standaard Node.js installatie map in voor `ps-nvm`. +> Onderdeel van `ps-nvm` en kan alleen uitgevoerd worden in PowerShell. +> Meer informatie: . + +- Verander de Node.js installatie locatie naar een gespecificeerde map (`ps-nvm` zal een nieuwe `.nvm` submap maken om deze te kunnen installeren): + +`Set-NodeInstallLocation {{pad/naar/map}}` diff --git a/pages.nl/common/set-nodeversion.md b/pages.nl/common/set-nodeversion.md new file mode 100644 index 00000000000000..de2ebbce18e396 --- /dev/null +++ b/pages.nl/common/set-nodeversion.md @@ -0,0 +1,21 @@ +# Set-NodeVersion + +> Stel de standaard Node.js versie in voor `ps-nvm`. +> Onderdeel van `ps-nvm` en kan alleen uitgevoerd worden in PowerShell. +> Meer informatie: . + +- Gebruik een specifieke versie van Node.js in de huidige PowerShell sessie: + +`Set-NodeVersion {{versie}}` + +- Gebruik de laatst geïnstalleerde Node.js versie van 20.x: + +`Set-NodeVersion ^20` + +- Stel de standaard Node.js versie in voor de huidige gebruiker (geldt alleen voor toekomstige PowerShell sessies): + +`Set-NodeVersion {{versie}} -Persist User` + +- Stel de standaard Node.js versie in voor alle gebruikers (dient uitgevoerd te worden als Administrator/root en geldt alleen voor toekomstige PowerShell sessies): + +`Set-NodeVersion {{versie}} -Persist Machine` diff --git a/pages.nl/common/sh.md b/pages.nl/common/sh.md new file mode 100644 index 00000000000000..c392b00b5d01ab --- /dev/null +++ b/pages.nl/common/sh.md @@ -0,0 +1,21 @@ +# sh + +> Bourne shell, de standaard opdrachttaalinterpreter. +> Zie ook `histexpand` voor uitbreiding van de geschiedenis. +> Meer informatie: . + +- Start een interactieve shell sessie: + +`sh` + +- Voer een commando uit en sluit af: + +`sh -c "{{commando}}"` + +- Voer een script uit: + +`sh {{pad/naar/script.sh}}` + +- Lees en voer commando's uit van `stdin`: + +`sh -s` diff --git a/pages.nl/common/sha1sum.md b/pages.nl/common/sha1sum.md new file mode 100644 index 00000000000000..e4be541736f772 --- /dev/null +++ b/pages.nl/common/sha1sum.md @@ -0,0 +1,32 @@ +# sha1sum + +> Bereken SHA1 cryptografische checksums. +> Meer informatie: . + +- Bereken de SHA1 checksum voor één of meer bestanden: + +`sha1sum {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Bereken en sla de lijst van SHA1 checksums op in een bestand: + +`sha1sum {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/bestand.sha1}}` + +- Bereken een SHA1 checksum van `stdin`: + +`{{commando}} | sha1sum` + +- Lees een bestand met SHA1 checksums en bestandsnamen en verifieer dat alle bestanden overeenkomende checksums hebben: + +`sha1sum {{[-c|--check]}} {{pad/naar/bestand.sha1}}` + +- Toon alleen een bericht voor ontbrekende bestanden of wanneer verificatie mislukt: + +`sha1sum {{[-c|--check]}} --quiet {{pad/naar/bestand.sha1}}` + +- Toon alleen een bericht wanneer verificatie mislukt, negeer ontbrekende bestanden: + +`sha1sum --ignore-missing {{[-c|--check]}} --quiet {{pad/naar/bestand.sha1}}` + +- Controleer een bekende SHA1 checksum van een bestand: + +`echo {{bekende_sha1_checksum_van_het_bestand}} {{pad/naar/bestand}} | sha1sum {{[-c|--check]}}` diff --git a/pages.nl/common/sha224sum.md b/pages.nl/common/sha224sum.md new file mode 100644 index 00000000000000..b83d305034843b --- /dev/null +++ b/pages.nl/common/sha224sum.md @@ -0,0 +1,32 @@ +# sha224sum + +> Bereken SHA224 cryptografische checksums. +> Meer informatie: . + +- Bereken de SHA224 checksum voor één of meer bestanden: + +`sha224sum {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Bereken en sla de lijst van SHA224 checksums op in een bestand: + +`sha224sum {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/bestand.sha224}}` + +- Bereken een SHA224 checksum van `stdin`: + +`{{commando}} | sha224sum` + +- Lees een bestand met SHA224 checksums en bestandsnamen en verifieer dat alle bestanden overeenkomende checksums hebben: + +`sha224sum {{[-c|--check]}} {{pad/naar/bestand.sha224}}` + +- Toon alleen een bericht voor ontbrekende bestanden of wanneer verificatie mislukt: + +`sha224sum {{[-c|--check]}} --quiet {{pad/naar/bestand.sha224}}` + +- Toon alleen een bericht wanneer verificatie mislukt, negeer ontbrekende bestanden: + +`sha224sum --ignore-missing {{[-c|--check]}} --quiet {{pad/naar/bestand.sha224}}` + +- Controleer een bekende SHA224 checksum van een bestand: + +`echo {{bekende_sha224_checksum_van_het_bestand}} {{pad/naar/bestand}} | sha224sum {{[-c|--check]}}` diff --git a/pages.nl/common/sha256sum.md b/pages.nl/common/sha256sum.md new file mode 100644 index 00000000000000..1792869eaa084d --- /dev/null +++ b/pages.nl/common/sha256sum.md @@ -0,0 +1,32 @@ +# sha256sum + +> Bereken SHA256 cryptografische checksums. +> Meer informatie: . + +- Bereken de SHA256 checksum voor één of meer bestanden: + +`sha256sum {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Bereken en sla de lijst van SHA256 checksums op in een bestand: + +`sha256sum {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/bestand.sha256}}` + +- Bereken een SHA256 checksum van `stdin`: + +`{{commando}} | sha256sum` + +- Lees een bestand met SHA256 checksums en bestandsnamen en verifieer dat alle bestanden overeenkomende checksums hebben: + +`sha256sum {{[-c|--check]}} {{pad/naar/bestand.sha256}}` + +- Toon alleen een bericht voor ontbrekende bestanden of wanneer verificatie mislukt: + +`sha256sum {{[-c|--check]}} --quiet {{pad/naar/bestand.sha256}}` + +- Toon alleen een bericht wanneer verificatie mislukt, negeer ontbrekende bestanden: + +`sha256sum --ignore-missing {{[-c|--check]}} --quiet {{pad/naar/bestand.sha256}}` + +- Controleer een bekende SHA256 checksum van een bestand: + +`echo {{bekende_sha256_checksum_van_een_bestand}} {{pad/naar/bestand}} | sha256sum {{[-c|--check]}}` diff --git a/pages.nl/common/sha384sum.md b/pages.nl/common/sha384sum.md new file mode 100644 index 00000000000000..33454ea4847a20 --- /dev/null +++ b/pages.nl/common/sha384sum.md @@ -0,0 +1,32 @@ +# sha384sum + +> Bereken SHA384 cryptografische checksums. +> Meer informatie: . + +- Bereken de SHA384 checksum voor één of meer bestanden: + +`sha384sum {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Bereken en sla de lijst van SHA384 checksums op in een bestand: + +`sha384sum {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/bestand.sha384}}` + +- Bereken een SHA384 checksum van `stdin`: + +`{{commando}} | sha384sum` + +- Lees een bestand met SHA384 checksums en bestandsnamen en verifieer dat alle bestanden overeenkomende checksums hebben: + +`sha384sum {{[-c|--check]}} {{pad/naar/bestand.sha384}}` + +- Toon alleen een bericht voor ontbrekende bestanden of wanneer verificatie mislukt: + +`sha384sum {{[-c|--check]}} --quiet {{pad/naar/bestand.sha384}}` + +- Toon alleen een bericht wanneer verificatie mislukt, negeer ontbrekende bestanden: + +`sha384sum --ignore-missing {{[-c|--check]}} --quiet {{pad/naar/bestand.sha384}}` + +- Controleer een bekende SHA384 checksum van een bestand: + +`echo {{bekende_sha384_checksum_van_het_bestand}} {{pad/naar/bestand}} | sha384sum {{[-c|--check]}}` diff --git a/pages.nl/common/sha512sum.md b/pages.nl/common/sha512sum.md new file mode 100644 index 00000000000000..bf4d8e0b7b9cdc --- /dev/null +++ b/pages.nl/common/sha512sum.md @@ -0,0 +1,32 @@ +# sha512sum + +> Bereken SHA512 cryptografische checksums. +> Meer informatie: . + +- Bereken de SHA512 checksum voor één of meer bestanden: + +`sha512sum {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Bereken en sla de lijst van SHA512 checksums op in een bestand: + +`sha512sum {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/bestand.sha512}}` + +- Bereken een SHA512 checksum van `stdin`: + +`{{commando}} | sha512sum` + +- Lees een bestand met SHA512 checksums en bestandsnamen en verifieer dat alle bestanden overeenkomende checksums hebben: + +`sha512sum {{[-c|--check]}} {{pad/naar/bestand.sha512}}` + +- Toon alleen een bericht voor ontbrekende bestanden of wanneer verificatie mislukt: + +`sha512sum {{[-c|--check]}} --quiet {{pad/naar/bestand.sha512}}` + +- Toon alleen een bericht wanneer verificatie mislukt, negeer ontbrekende bestanden: + +`sha512sum --ignore-missing {{[-c|--check]}} --quiet {{pad/naar/bestand.sha512}}` + +- Controleer een bekende SHA512 checksum van een bestand: + +`echo {{bekende_sha512_checksum_van_het_bestand}} {{pad/naar/bestand}} | sha512sum {{[-c|--check]}}` diff --git a/pages.nl/common/shred.md b/pages.nl/common/shred.md new file mode 100644 index 00000000000000..17a2558684fbd7 --- /dev/null +++ b/pages.nl/common/shred.md @@ -0,0 +1,28 @@ +# shred + +> Overschrijf bestanden om gegevens veilig te verwijderen. +> Meer informatie: . + +- Overschrijf een bestand: + +`shred {{pad/naar/bestand}}` + +- Overschrijf een bestand en toon de voortgang op het scherm: + +`shred {{[-v|--verbose]}} {{pad/naar/bestand}}` + +- Overschrijf een bestand, waarbij nullen in plaats van willekeurige gegevens worden achtergelaten: + +`shred {{[-z|--zero]}} {{pad/naar/bestand}}` + +- Overschrijf een bestand een specifiek aantal keren: + +`shred {{[-n|--iterations]}} {{25}} {{pad/naar/bestand}}` + +- Overschrijf een bestand en verwijder het: + +`shred {{[-u|--remove]}} {{pad/naar/bestand}}` + +- Overschrijf een bestand 100 keer, voeg een laatste overschrijving met nullen toe, verwijder het bestand na overschrijven en toon verbose voortgang op het scherm: + +`shred {{[-vzun|--verbose --zero --remove --iterations]}} 100 {{pad/naar/bestand}}` diff --git a/pages.nl/common/shuf.md b/pages.nl/common/shuf.md new file mode 100644 index 00000000000000..7c4351e9005ed6 --- /dev/null +++ b/pages.nl/common/shuf.md @@ -0,0 +1,20 @@ +# shuf + +> Genereer willekeurige permutaties. +> Meer informatie: . + +- Wijzig willekeurig de volgorde van regels in een bestand en toon het resultaat: + +`shuf {{pad/naar/bestand}}` + +- Toon alleen de eerste 5 regels van het resultaat: + +`shuf {{[-n|--head-count]}} 5 {{pad/naar/bestand}}` + +- Schrijf de uitvoer naar een ander bestand: + +`shuf {{pad/naar/invoer_bestand}} {{[-o|--output]}} {{pad/naar/uitvoer_bestand}}` + +- Genereer 3 willekeurige getallen in het bereik van 1 tot 10 (inclusief): + +`shuf {{[-n|--head-count]}} 3 {{[-i|--input-range]}} 1-10 {{[-r|--repeat]}}` diff --git a/pages.nl/common/sleep.md b/pages.nl/common/sleep.md new file mode 100644 index 00000000000000..5626e681f36362 --- /dev/null +++ b/pages.nl/common/sleep.md @@ -0,0 +1,12 @@ +# sleep + +> Wacht voor een gespecificeerde hoeveelheid tijd. +> Meer informatie: . + +- Wacht in seconden: + +`sleep {{seconden}}` + +- Voer een specifiek commando uit na een wachttijd van 20 seconden: + +`sleep 20 && {{commando}}` diff --git a/pages.nl/common/smbclient.py.md b/pages.nl/common/smbclient.py.md new file mode 100644 index 00000000000000..c457903abf7d6e --- /dev/null +++ b/pages.nl/common/smbclient.py.md @@ -0,0 +1,36 @@ +# smbclient.py + +> Een op Python gebaseerde SMB-client voor interactie met SMB-servers. +> Meer informatie: . + +- Maak verbinding met een SMB server met gebruikersnaam en wachtwoord: + +`smbclient.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Maak verbinding met NTLM hashes voor authenticatie: + +`smbclient.py -hashes {{LM_HASH}}:{{NT_HASH}} {{domein}}/{{gebruikersnaam}}@{{doel}}` + +- Maak verbinding met Kerberos-authenticatie: + +`smbclient.py -k {{domein}}/{{gebruikersnaam}}@{{doel}}` + +- Maak verbinding door een domeincontroller-IP op te geven: + +`smbclient.py -dc-ip {{domein_controller_ip}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Maak verbinding met een specifiek doel-IP in plaats van NetBIOS-naam: + +`smbclient.py -target-ip {{doel_ip}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Maak verbinding met een niet-standaard SMB-poort: + +`smbclient.py -port {{port}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Voer opdrachten uit vanuit een invoerbestand in de SMB-shell: + +`smbclient.py -inputfile {{pad/naar/invoerbestand}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` + +- Log SMB-clientopdrachten naar een uitvoerbestand: + +`smbclient.py -outputfile {{pad/naar/uitvoerbestand}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel}}` diff --git a/pages.nl/common/smbserver.py.md b/pages.nl/common/smbserver.py.md new file mode 100644 index 00000000000000..1ce5ec0b0a9c91 --- /dev/null +++ b/pages.nl/common/smbserver.py.md @@ -0,0 +1,36 @@ +# smbserver.py + +> Een op Python gebaseerde SMB-server voor het hosten van shares (root vereist voor poort 445). +> Meer informatie: . + +- Stel een basis SMB share in: + +`smbserver.py {{share_naam}} {{pad/naar/share}}` + +- Stel een share in met een aangepast commentaar: + +`smbserver.py -comment {{mijn_share}} {{share_naam}} {{pad/naar/share}}` + +- Stel een share in met gebruikersnaam en wachtwoord verificatie: + +`smbserver.py -username {{gebruikersnaam}} -password {{wachtwoord}} {{share_naam}} {{pad/naar/share}}` + +- Stel een share in met NTLM hash-authenticatie: + +`smbserver.py -hashes {{LMHASH}}:{{NTHASH}} {{share_naam}} {{pad/naar/share}}` + +- Stel een share in op een specifieke interface: + +`smbserver.py {{[-ip|--interface-address]}} {{interface_ip_adres}} {{share_naam}} {{pad/naar/share}}` + +- Stel een share in op een niet-standaard SMB-poort: + +`smbserver.py -port {{port}} {{share_naam}} {{pad/naar/share}}` + +- Stel een share in met SMB2 ondersteuning: + +`smbserver.py -smb2support {{share_naam}} {{pad/naar/share}}` + +- Stel een share in en log de commando's in een uitvoerbestand: + +`smbserver.py -outputfile {{pad/naar/uitvoerbestand}} {{share_naam}} {{pad/naar/share}}` diff --git a/pages.nl/common/sniff.py.md b/pages.nl/common/sniff.py.md new file mode 100644 index 00000000000000..ea470afe8b5f09 --- /dev/null +++ b/pages.nl/common/sniff.py.md @@ -0,0 +1,13 @@ +# sniff.py + +> Leg netwerkpakketten vast en geef weer met de `pcapy` bibliotheek. +> Onderdeel van de Impacket-suite. +> Meer informatie: . + +- Maak een lijst van beschikbare netwerkinterfaces en selecteer er een om te beginnen met het vastleggen van pakketten (vereist `sudo`): + +`sudo sniff.py` + +- Leg pakketten vast en sla uitvoer op in een bestand terwijl het op de terminal wordt weergegeven: + +`sudo sniff.py | sudo tee {{pad/naar/uitvoerbestand}}` diff --git a/pages.nl/common/sniffer.py.md b/pages.nl/common/sniffer.py.md new file mode 100644 index 00000000000000..065c4b77c93fbc --- /dev/null +++ b/pages.nl/common/sniffer.py.md @@ -0,0 +1,17 @@ +# sniffer.py + +> Vang netwerkpakketten voor gespecificeerde protocollen op en geef deze weer met behulp van raw sockets. +> Onderdeel van de Impacket-suite. +> Meer informatie: . + +- Leg pakketten vast voor standaard protocollen (ICMP, TCP, UDP): + +`sniffer.py` + +- Leg pakketten vast voor specifieke protocollen (bijv. ICMP, TCP): + +`sniffer.py {{protocol1 protocol2 ...}}` + +- Leg pakketten vast voor specifieke protocollen (bijv. TCP): + +`sniffer.py tcp` diff --git a/pages.nl/common/soffice.md b/pages.nl/common/soffice.md new file mode 100644 index 00000000000000..b6bc230f8f5e82 --- /dev/null +++ b/pages.nl/common/soffice.md @@ -0,0 +1,20 @@ +# soffice + +> CLI voor de krachtige en gratis LibreOffice-suite. +> Meer informatie: . + +- Open één of meer bestanden in leesmodus: + +`soffice --view {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Toon de inhoud van één of meer bestanden: + +`soffice --cat {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Print bestanden met een specifieke printer: + +`soffice --pt {{printer_naam}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Converteer alle `.doc` bestanden in de huidige map naar PDF: + +`soffice --convert-to pdf *.doc` diff --git a/pages.nl/common/sort.md b/pages.nl/common/sort.md new file mode 100644 index 00000000000000..42c32a819b85d9 --- /dev/null +++ b/pages.nl/common/sort.md @@ -0,0 +1,36 @@ +# sort + +> Sorteer regels van tekstbestanden. +> Meer informatie: . + +- Sorteer een bestand in oplopende volgorde: + +`sort {{pad/naar/bestand}}` + +- Sorteer een bestand in aflopende volgorde: + +`sort {{[-r|--reverse]}} {{pad/naar/bestand}}` + +- Sorteer een bestand op een niet-hoofdlettergevoelige manier: + +`sort {{-f|--ignore-case}} {{pad/naar/bestand}}` + +- Sorteer een bestand met numerieke in plaats van alfabetische volgorde: + +`sort {{[-n|--numeric-sort]}} {{pad/naar/bestand}}` + +- Sorteer `/etc/passwd` numeriek op het 3e veld van elke regel, gebruik makend van ":" als veldscheidingsteken: + +`sort {{[-t|--field-separator]}} {{:}} {{[-k|--key]}} {{3n}} {{/etc/passwd}}` + +- Sorteer zoals hierboven, maar wanneer items in het 3e veld gelijk zijn, sorteer op het 4e veld met getallen en exponenten: + +`sort {{[-t|--field-separator]}} {{:}} {{[-k|--key]}} {{3,3n}} {{[-k|--key]}} {{4,4g}} {{/etc/passwd}}` + +- Sorteer een bestand waarbij alleen unieke regels worden behouden: + +`sort {{[-u|--unique]}} {{pad/naar/bestand}}` + +- Sorteer een bestand en schrijf de uitvoer naar het opgegeven uitvoerbestand (kan worden gebruikt om een bestand in-place te sorteren): + +`sort {{[-o|--output]}} {{pad/naar/bestand}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/source.md b/pages.nl/common/source.md index 38beddcd1134d8..5730d2c6213a9a 100644 --- a/pages.nl/common/source.md +++ b/pages.nl/common/source.md @@ -1,7 +1,12 @@ # source > Voer opdrachten uit vanuit een bestand in de huidige shell. +> Meer informatie: . - Evalueer de inhoud van een bepaald bestand: `source {{pad/naar/bestand}}` + +- Evalueer de inhoud van een bepaald bestand (als alternatief ter vervanging van `source` door `.`): + +`. {{pad/naar/bestand}}` diff --git a/pages.nl/common/split.md b/pages.nl/common/split.md new file mode 100644 index 00000000000000..26e3764cde824f --- /dev/null +++ b/pages.nl/common/split.md @@ -0,0 +1,24 @@ +# split + +> Split een bestand in stukken. +> Meer informatie: . + +- Split een bestand, elk deel heeft 10 regels (behalve het laatste deel): + +`split {{[-l|--lines]}} 10 {{pad/naar/bestand}}` + +- Split een bestand in 5 bestanden. Het bestand wordt zo gesplitst dat elk deel dezelfde grootte heeft (behalve het laatste deel): + +`split {{[-n|--number]}} 5 {{pad/naar/bestand}}` + +- Split een bestand met 512 bytes in elk deel (behalve het laatste deel; gebruik 512k voor kilobytes en 512m voor megabytes): + +`split {{[-b|--bytes]}} 512 {{pad/naar/bestand}}` + +- Splits een bestand met maximaal 512 bytes in elk deel zonder regels te breken: + +`split {{[-C|--line-bytes]}} 512 {{pad/naar/bestand}}` + +- Splits in meerdere bestanden vanuit `stdin`: + +`gzip {{[-cd|--stdout --decompress]}} {{pad/naar/gecomprimeerd_bestand.gz}} | split {{[-l|--lines]}} {{1000}} - {{pad/naar/uitvoer}}` diff --git a/pages.nl/common/sr.md b/pages.nl/common/sr.md new file mode 100644 index 00000000000000..49faadaa489683 --- /dev/null +++ b/pages.nl/common/sr.md @@ -0,0 +1,7 @@ +# sr + +> Dit commando is een alias van `surfraw`. + +- Bekijk de documentatie van het originele commando: + +`tldr surfraw` diff --git a/pages.nl/common/ssh.md b/pages.nl/common/ssh.md new file mode 100644 index 00000000000000..5c6848cf0d01f1 --- /dev/null +++ b/pages.nl/common/ssh.md @@ -0,0 +1,37 @@ +# ssh + +> Secure Shell is een protocol waarmee op een veilige manier ingelogd kan worden op externe systemen. +> Het kan gebruikt worden voor het loggen of uitvoeren van opdrachten op een externe server. +> Meer informatie: . + +- Verbind met een externe server: + +`ssh {{gebruikersnaam}}@{{externe_host}}` + +- Verbind met een externe server met een specifieke identiteit (privésleutel): + +`ssh -i {{pad/naar/sleutel_bestand}} {{gebruikersnaam}}@{{externe_host}}` + +- Verbind met een externe server met IP `10.0.0.1` en gebruik een specifieke [p]oort (Opmerking: `10.0.0.1` kan worden afgekort tot `10.1`): + +`ssh {{gebruikersnaam}}@10.0.0.1 -p {{2222}}` + +- Voer een opdracht uit op een externe server met een [t]ty-toewijzing die interactie met de externe opdracht toestaat: + +`ssh {{gebruikersnaam}}@{{externe_host}} -t {{opdracht}} {{opdrachtargumenten}}` + +- SSH-tunneling: [D]ynamische poortdoorsturing (SOCKS-proxy op `localhost:1080`): + +`ssh -D {{1080}} {{gebruikersnaam}}@{{externe_host}}` + +- SSH-tunneling: Stuur een specifieke poort door (`localhost:9999` naar `voorbeeld.org:80`) en schakel pseudo-[T]ty toewijzing en uitvoeri[N]g van externe opdrachten uit: + +`ssh -L {{9999}}:{{voorbeeld.org}}:{{80}} -N -T {{gebruikersnaam}}@{{externe_host}}` + +- SSH [J]umping: Verbind door een jumphost met een externe server (Meerdere jump hops mogen gespecificeerd worden door te splitsen met komma's): + +`ssh -J {{gebruikersnaam}}@{{jump_host}} {{gebruikersnaam}}@{{externe_host}}` + +- Sluit een vastgelopen sessie: + +`<~><.>` diff --git a/pages.nl/common/stat.md b/pages.nl/common/stat.md new file mode 100644 index 00000000000000..64830fedc09a40 --- /dev/null +++ b/pages.nl/common/stat.md @@ -0,0 +1,28 @@ +# stat + +> Toon bestands- en bestandssysteeminformatie. +> Meer informatie: . + +- Toon eigenschappen van een specifiek bestand zoals grootte, permissies, aanmaak- en toegangsdatums en meer: + +`stat {{pad/naar/bestand}}` + +- Toon eigenschappen van een specifiek bestand zoals grootte, permissies, aanmaak- en toegangsdatums en meer zonder labels: + +`stat {{[-t|--terse]}} {{pad/naar/bestand}}` + +- Toon informatie over het bestandssysteem waar een specifiek bestand zich bevindt: + +`stat {{[-f|--file-system]}} {{pad/naar/bestand}}` + +- Toon alleen octale bestandspermissies: + +`stat {{[-c|--format]}} "%a %n" {{pad/naar/bestand}}` + +- Toon de eigenaar en groep van een specifiek bestand: + +`stat {{[-c|--format]}} "%U %G" {{pad/naar/bestand}}` + +- Toon de grootte van een specifiek bestand in bytes: + +`stat {{[-c|--format]}} "%s %n" {{pad/naar/bestand}}` diff --git a/pages.nl/common/stdbuf.md b/pages.nl/common/stdbuf.md new file mode 100644 index 00000000000000..5ebba73208d8c3 --- /dev/null +++ b/pages.nl/common/stdbuf.md @@ -0,0 +1,16 @@ +# stdbuf + +> Voer een commando uit met aangepaste buffering operaties voor de standaard streams. +> Meer informatie: . + +- Verander de buffer grootte van `stdin` naar 512 KiB: + +`stdbuf {{[-i|--input]}} 512K {{commando}}` + +- Verander de buffer van `stdout` naar lijn-buffering: + +`stdbuf {{[-o|--output]}} L {{commando}}` + +- Verander de buffer van `stderr` naar ongebufferd: + +`stdbuf {{[-e|--error]}} 0 {{commando}}` diff --git a/pages.nl/common/stow.md b/pages.nl/common/stow.md new file mode 100644 index 00000000000000..8e62abdc9e16f1 --- /dev/null +++ b/pages.nl/common/stow.md @@ -0,0 +1,26 @@ +# stow + +> Symlink-beheerder. +> Vaak gebruikt om dotfiles te beheren. +> Zie ook: `chezmoi`, `tuckr`, `vcsh`, `homeshick`. +> Meer informatie: . + +- Symlink alle bestanden recursief naar de opgegeven map: + +`stow {{[-t|--target]}} {{pad/naar/doel_map}} {{bestand1 map1 bestand2 map2}}` + +- Verwijder alle symlinks recursief in de opgegeven map: + +`stow {{[-D|--delete]}} {{[-t|--target]}} {{pad/naar/doel_map}} {{bestand1 map1 bestand2 map2}}` + +- Simuleer om te zien hoe het resultaat eruit ziet: + +`stow {{[-n|--simulate]}} {{[-t|--target]}} {{pad/naar/doel_map}} {{bestand1 map1 bestand2 map2}}` + +- Verwijder en maak opnieuw de symlinks aan: + +`stow {{[-R|--restow]}} {{[-t|--target]}} {{pad/naar/doel_map}} {{bestand1 map1 bestand2 map2}}` + +- Sluit bestanden uit die overeenkomen met een reguliere expressie: + +`stow --ignore={{reguliere_expressie}} {{[-t|--target]}} {{pad/naar/doel_map}} {{bestand1 map1 bestand2 map2}}` diff --git a/pages.nl/common/streamlit.md b/pages.nl/common/streamlit.md new file mode 100644 index 00000000000000..c596af3335359b --- /dev/null +++ b/pages.nl/common/streamlit.md @@ -0,0 +1,20 @@ +# streamlit + +> Framework voor het maken van interactieve, datagestuurde webapplicaties in Python. +> Meer informatie: . + +- Controleer de Streamlit-installatie: + +`streamlit hello` + +- Voer een Streamlit-applicatie uit: + +`streamlit run {{project_naam}}` + +- Toon de help: + +`streamlit --help` + +- Toon versie: + +`streamlit --version` diff --git a/pages.nl/common/strings.md b/pages.nl/common/strings.md new file mode 100644 index 00000000000000..0b086cd9e2d059 --- /dev/null +++ b/pages.nl/common/strings.md @@ -0,0 +1,20 @@ +# strings + +> Vind printbare strings in een object bestand of binary. +> Meer informatie: . + +- Toon alle strings in een binary: + +`strings {{pad/naar/bestand}}` + +- Limiteer resultaten van strings met minimaal n karakters lang: + +`strings {{[-n|--bytes]}} {{n}} {{pad/naar/bestand}}` + +- Prefix ieder resultaat met de offset in het bestand: + +`strings {{[-t|--radix]}} d {{pad/naar/bestand}}` + +- Prefix ieder resultaat met de offset in het bestand als hexadecimaal: + +`strings {{[-t|--radix]}} x {{pad/naar/bestand}}` diff --git a/pages.nl/common/stty.md b/pages.nl/common/stty.md new file mode 100644 index 00000000000000..082e90f565cda6 --- /dev/null +++ b/pages.nl/common/stty.md @@ -0,0 +1,36 @@ +# stty + +> Stel opties in voor een terminalapparaatinterface. +> Meer informatie: . + +- Toon de huidige terminal grootte: + +`stty size` + +- Toon alle instellingen voor de huidige terminal: + +`stty {{[-a|--all]}}` + +- Stel het aantal rijen of kolommen in: + +`stty {{rows|cols}} {{aantal}}` + +- Verkrijg de daadwerkelijke overdrachtssnelheid van een apparaat: + +`stty {{[-F|--file]}} {{pad/naar/apparaat_bestand}} speed` + +- Reset alle modi naar redelijke waarden voor de huidige terminal: + +`stty sane` + +- Wissel tussen rauwe en normale modus: + +`stty {{raw|cooked}}` + +- Zet karakter echoing uit of aan: + +`stty {{-echo|echo}}` + +- Toon de help: + +`stty --help` diff --git a/pages.nl/common/sudo.md b/pages.nl/common/sudo.md new file mode 100644 index 00000000000000..97174dd25856bd --- /dev/null +++ b/pages.nl/common/sudo.md @@ -0,0 +1,36 @@ +# sudo + +> Voert een commando uit als de superuser of een andere gebruiker. +> Meer informatie: . + +- Voer een commando uit als de superuser: + +`sudo {{less /var/log/syslog}}` + +- Pas een bestand aan als superuser met jouw standaardeditor: + +`sudo {{[-e|--edit]}} {{/etc/fstab}}` + +- Voer een commando uit als een andere gebruiker en/of groep: + +`sudo {{[-u|--user]}} {{gebruiker}} {{[-g|--group]}} {{groep}} {{id -a}}` + +- Herhaal het laatste commando met `sudo` ervoor (alleen in Bash, Zsh, etc.): + +`sudo !!` + +- Start de standaard shell met superuserrechten en voer login-specifieke bestanden uit (`.profile`, `.bash_profile`, etc.): + +`sudo {{[-i|--login]}}` + +- Start de standaard shell met superuserrechten zonder de omgeving te veranderen: + +`sudo {{[-s|--shell]}}` + +- Start de standaard shell als de opgegeven gebruiker, laad de omgeving van de gebruiker en lees login-specifieke bestanden (`.profile`, `.bash_profile`, etc.): + +`sudo {{[-i|--login]}} {{[-u|--user]}} {{gebruiker}}` + +- Toon de toegestane (en verboden) commando's voor de aanroepende gebruiker: + +`sudo {{[-ll|--list --list]}}` diff --git a/pages.nl/common/sudoedit.md b/pages.nl/common/sudoedit.md new file mode 100644 index 00000000000000..d1109f8db40392 --- /dev/null +++ b/pages.nl/common/sudoedit.md @@ -0,0 +1,7 @@ +# sudoedit + +> Dit commando is een alias van `sudo --edit`. + +- Bekijk de documentatie van het originele commando: + +`tldr sudo` diff --git a/pages.nl/common/sum.md b/pages.nl/common/sum.md new file mode 100644 index 00000000000000..5890f9c1d24b1d --- /dev/null +++ b/pages.nl/common/sum.md @@ -0,0 +1,13 @@ +# sum + +> Bereken checksums en het aantal blokken voor een bestand. +> Een voorloper van de modernere `cksum`. +> Meer informatie: . + +- Bereken een checksum met een BSD-compatibel algoritme en 1024-byte blokken: + +`sum {{pad/naar/bestand}}` + +- Bereken een checksum met een System V-compatibel algoritme en 512-byte blokken: + +`sum {{[-s|--sysv]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/sunicontopnm.md b/pages.nl/common/sunicontopnm.md new file mode 100644 index 00000000000000..d0688574adbe46 --- /dev/null +++ b/pages.nl/common/sunicontopnm.md @@ -0,0 +1,8 @@ +# sunicontopnm + +> Converteer een Sun icon naar een Netpbm afbeelding. +> Meer informatie: . + +- Converteer een Sun icon naar een Netpbm afbeelding: + +`sunicontopnm {{pad/naar/invoer.ico}} > {{pad/naar/uitvoer.pbm}}` diff --git a/pages.nl/common/surfraw.md b/pages.nl/common/surfraw.md new file mode 100644 index 00000000000000..b15768c75e7d89 --- /dev/null +++ b/pages.nl/common/surfraw.md @@ -0,0 +1,29 @@ +# surfraw + +> Zoek in verschillende webzoekmachines. +> Bestaat uit een verzameling elvi's, die allemaal weten hoe ze een website moeten doorzoeken. +> Meer informatie: . + +- Toon de ondersteunde websitezoekscripts (elvi): + +`surfraw -elvi` + +- Open de resultatenpagina van de elvi voor een specifieke zoekopdracht in de browser: + +`surfraw {{elvi_naam}} "{{zoektermen}}"` + +- Toon een elvi-beschijving en zijn specifieke opties: + +`surfraw {{elvi_naam}} {{[-lh|-local-help]}}` + +- Zoek met behulp van een elvi met specifieke opties en open de resultatenpagina in de browser: + +`surfraw {{elvi_naam}} {{elvi_opties}} "{{zoektermen}}"` + +- Toon de URL van de resultatenpagina van de elvi voor een specifieke zoekopdracht: + +`surfraw -print {{elvi_naam}} "{{zoektermen}}"` + +- Zoek met de alias: + +`sr {{elvi_naam}} "{{zoektermen}}"` diff --git a/pages.nl/common/sync.md b/pages.nl/common/sync.md new file mode 100644 index 00000000000000..1520f16a16293b --- /dev/null +++ b/pages.nl/common/sync.md @@ -0,0 +1,20 @@ +# sync + +> Schrijft alle hangende schrijfoperaties naar de juiste schijven. +> Meer informatie: . + +- Schrijf alle hangende schrijfoperaties naar alle schijven: + +`sync` + +- Schrijf alle hangende schrijfoperaties van een enkel bestand naar de schijf: + +`sync {{pad/naar/bestand}}` + +- Schrijf alle schrijfoperaties en verwijder caches van het bestandssysteem (alleen voor Linux): + +`sync; echo 3 | sudo tee /proc/sys/vm/drop_caches` + +- Voer schijf schrijfoperaties uit en probeer inactief geheugen en caches van het bestandssysteem te wissen (alleen voor MacOS): + +`sync; sudo purge` diff --git a/pages.nl/common/tac.md b/pages.nl/common/tac.md new file mode 100644 index 00000000000000..387b213d8fdd87 --- /dev/null +++ b/pages.nl/common/tac.md @@ -0,0 +1,25 @@ +# tac + +> Toon en voeg bestanden samen met regels in omgekeerde volgorde. +> Zie ook: `cat`. +> Meer informatie: . + +- Voeg specifieke bestanden samen in omgekeerde volgorde: + +`tac {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Toon `stdin` in omgekeerde volgorde: + +`{{cat pad/naar/bestand}} | tac` + +- Gebruik een specifiek scheidingsteken: + +`tac {{[-s|--separator]}} {{scheidingsteken}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Gebruik een specifieke regex als scheidingsteken: + +`tac {{[-r|--regex]}} {{[-s|--separator]}} {{scheidingsteken}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Gebruik een scheidingsteken vóór elk bestand: + +`tac {{[-b|--before]}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` diff --git a/pages.nl/common/tail.md b/pages.nl/common/tail.md new file mode 100644 index 00000000000000..06f92e3e78750c --- /dev/null +++ b/pages.nl/common/tail.md @@ -0,0 +1,29 @@ +# tail + +> Toon het laatste deel van een bestand. +> Zie ook: `head`. +> Meer informatie: . + +- Toon laatste aantal regels in een bestand: + +`tail {{[-n|--lines]}} {{aantal}} {{pad/naar/bestand}}` + +- Toon een bestand vanaf een specifiek regelnummer: + +`tail {{[-n|--lines]}} +{{aantal}} {{pad/naar/bestand}}` + +- Toon een specifiek aantal bytes vanaf het einde van een opgegeven bestand: + +`tail {{[-n|--lines]}} {{aantal}} {{pad/naar/bestand}}` + +- Toon de laatste regels van een bestand en blijf het bestand lezen tot ``: + +`tail {{[-f|--follow]}} {{pad/naar/bestand}}` + +- Blijf het bestand lezen tot ``, ook als het bestand niet toegangelijk is: + +`tail {{[-F|--retry --follow]}} {{pad/naar/bestand}}` + +- Toon de laatste aantal regels in een bestand en ververs iedere 'n' seconden: + +`tail {{[-n|--lines]}} {{aantal}} {{[-s|--sleep-interval]}} {{seconden}} {{[-f|--follow]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/tar.md b/pages.nl/common/tar.md new file mode 100644 index 00000000000000..ad4aaf5923a6c5 --- /dev/null +++ b/pages.nl/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> Archiveringsprogramma. +> Vaak gecombineerd met een compressiemethode, zoals `gzip` of `bzip2`. +> Meer informatie: . + +- [c]reëer een archief en schrijf het naar een bestand ([f]): + +`tar cf {{pad/naar/doel.tar}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- [c]reëer een g[z]ipt archief en schrijf het naar een bestand ([f]): + +`tar czf {{pad/naar/doel.tar.gz}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- [c]reëer een g[z]ipt (gecomprimeerd) archief van een map met relatieve paden: + +`tar czf {{pad/naar/doel.tar.gz}} {{[-C|--directory]}} {{pad/naar/map}} .` + +- E[x]traheer een (gecomprimeerd) archiefbestand ([f]) naar de huidige map [v]erbose: + +`tar xvf {{pad/naar/bron.tar[.gz|.bz2|.xz]}}` + +- E[x]traheer een (gecomprimeerd) archiefbestand ([f]) naar de doelmap: + +`tar xf {{pad/naar/bron.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{pad/naar/map}}` + +- [c]reëer een gecomprimeerd archief en schrijf het naar een bestand ([f]), gebruikmakend van de bestandsnaam extensie om [a]utomatisch het compressieprogramma te bepalen: + +`tar caf {{pad/naar/doel.tar.xz}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- [t]oon de inhoud van een tarbestand ([f]) [v]erbose: + +`tar tvf {{pad/naar/bron.tar}}` + +- E[x]traheer bestanden die overeenkomen met een patroon uit een archiefbestand ([f]): + +`tar xf {{pad/naar/bron.tar}} --wildcards "{{*.html}}"` diff --git a/pages.nl/common/tee.md b/pages.nl/common/tee.md new file mode 100644 index 00000000000000..a3652e4428e171 --- /dev/null +++ b/pages.nl/common/tee.md @@ -0,0 +1,20 @@ +# tee + +> Lees van `stdin` en schrijf naar `stdout` en bestanden (of commando's). +> Meer informatie: . + +- Kopieer `stdin` naar elk bestand en ook naar `stdout`: + +`echo "voorbeeld" | tee {{pad/naar/bestand}}` + +- Voeg toe aan de opgegeven bestanden, overschrijf niet: + +`echo "voorbeeld" | tee {{[-a|--append]}} {{pad/naar/bestand}}` + +- Toon `stdin` naar de terminal en leid het ook door naar een ander programma voor verdere verwerking: + +`echo "voorbeeld" | tee {{/dev/tty}} | {{xargs printf "[%s]"}}` + +- Maak een directory genaamd "voorbeeld", tel het aantal tekens in "voorbeeld" en schrijf "voorbeeld" naar de terminal: + +`echo "voorbeeld" | tee >(xargs mkdir) >(wc -c)` diff --git a/pages.nl/common/telnet.md b/pages.nl/common/telnet.md new file mode 100644 index 00000000000000..622140d93ec496 --- /dev/null +++ b/pages.nl/common/telnet.md @@ -0,0 +1,28 @@ +# telnet + +> Maak verbinding met een opgegeven poort van een host met behulp van het telnet-protocol. +> Meer informatie: . + +- Telnet naar de standaardpoort van een host: + +`telnet {{host}}` + +- Telnet naar een specifieke poort van een host: + +`telnet {{ip_adres}} {{poort}}` + +- Beëindig een telnet-sessie: + +`quit` + +- Verstuur de standaard escape-tekencombinatie om de sessie te beëindigen: + +`` + +- Start `telnet` met "x" als het sessie beëindigingsteken: + +`telnet {{[-e|--escape]}} {{x}} {{ip_adres}} {{poort}}` + +- Telnet naar de Star Wars-animatie: + +`telnet {{towel.blinkenlights.nl}}` diff --git a/pages.nl/common/test.md b/pages.nl/common/test.md new file mode 100644 index 00000000000000..f943bf8947801a --- /dev/null +++ b/pages.nl/common/test.md @@ -0,0 +1,29 @@ +# test + +> Controleer bestandstypen en vergelijk waarden. +> Retourneert 0 als de voorwaarde waar is, 1 als de voorwaarde onwaar is. +> Meer informatie: . + +- Test of een gegeven variabele gelijk is aan een gegeven string: + +`test "{{$MY_VAR}}" = "{{/bin/zsh}}"` + +- Test of een gegeven variabele leeg is: + +`test -z "{{$GIT_BRANCH}}"` + +- Test of een bestand bestaat: + +`test -f "{{pad/naar/bestand_of_map}}"` + +- Test of een map niet bestaat: + +`test ! -d "{{pad/naar/map}}"` + +- Als A waar is, voer dan B uit, of C in het geval van een fout (let op dat C mogelijk wordt uitgevoerd, zelfs als A mislukt): + +`test {{voorwaarde}} && {{echo "true"}} || {{echo "false"}}` + +- Gebruik `test` in een conditioneel statement: + +`if test -f "{{pad/naar/bestand}}"; then echo "File exists"; else echo "File does not exist"; fi` diff --git a/pages.nl/common/tex.md b/pages.nl/common/tex.md new file mode 100644 index 00000000000000..d1f837bb08a425 --- /dev/null +++ b/pages.nl/common/tex.md @@ -0,0 +1,16 @@ +# tex + +> Compileer een DVI-document van TeX bronbestanden. +> Meer informatie: . + +- Compileer een DVI-document: + +`tex {{bron.tex}}` + +- Compileer een DVI-document naar een specifieke output map: + +`tex -output-directory={{pad/naar/map}} {{bron.tex}}` + +- Compileer een DVI-document en sluit af als er een fout optreedt: + +`tex -halt-on-error {{bron.tex}}` diff --git a/pages.nl/common/time.md b/pages.nl/common/time.md index 4db68a87a0c62a..3120e582b6007f 100644 --- a/pages.nl/common/time.md +++ b/pages.nl/common/time.md @@ -1,7 +1,13 @@ # time -> Kijk hoe lang een opdracht duurt. +> Meet hoe lang het uitvoeren van een commando duurt. +> Let op: `time` kan ofwel bestaan als een shell builtin, een op zichzelf staand programma of beide. +> Meer informatie: . -- Tijd "ls": +- Voer het `commando` uit en print de tijdmetingen naar `stdout`:: -`time ls` +`time {{commando}}` + +- Maak een eenvoudige stopwatch (werkt alleen in Bash): + +`time read` diff --git a/pages.nl/common/timeout.md b/pages.nl/common/timeout.md new file mode 100644 index 00000000000000..8f51304395a608 --- /dev/null +++ b/pages.nl/common/timeout.md @@ -0,0 +1,24 @@ +# timeout + +> Voer een commando uit met een tijdslimiet. +> Meer informatie: . + +- Voer `sleep 10` uit en beëindig het na 3 seconden: + +`timeout 3s sleep 10` + +- Stuur een signaal naar het commando nadat de tijdslimiet is verlopen (standaard `TERM`, `kill -l` om alle signalen te tonen): + +`timeout {{[-s|--signal]}} {{INT|HUP|KILL|...}} {{5s}} {{sleep 10}}` + +- Stuur verbose output naar `stderr` en laat het signaal zien dat is verzonden bij een timeout: + +`timeout {{[-v|--verbose]}} {{0.5s|1m|1h|1d|...}} {{commando}}` + +- Behoud de exit status van het commando ongeacht of er een timeout is: + +`timeout {{[-p|--preserve-status]}} {{1s|1m|1h|1d|...}} {{commando}}` + +- Stuur een krachtig `KILL`-signaal na een bepaalde tijd als het commando het initiële signaal negeert bij een timeout: + +`timeout {{[-k|--kill-after]}} {{5m}} {{30s}} {{commando}}` diff --git a/pages.nl/common/tldr-lint.md b/pages.nl/common/tldr-lint.md new file mode 100644 index 00000000000000..955bac2d5db3f8 --- /dev/null +++ b/pages.nl/common/tldr-lint.md @@ -0,0 +1,16 @@ +# tldr-lint + +> Controleert en formatteert `tldr` pagina's. +> Meer informatie: . + +- Controleer alle pagina's: + +`tldr-lint {{map_met_paginas}}` + +- Formatteer een specifieke pagina naar `stdout`: + +`tldr-lint --format {{pagina.md}}` + +- Formateer alle pagina's ter plaatse: + +`tldr-lint --format --in-place {{map_met_paginas}}` diff --git a/pages.nl/common/tldr.md b/pages.nl/common/tldr.md new file mode 100644 index 00000000000000..aea266b750da64 --- /dev/null +++ b/pages.nl/common/tldr.md @@ -0,0 +1,37 @@ +# tldr + +> Toon simpele hulppagina's voor command-line programma's uit het tldr-pages project. +> Opmerking: De opties `--language` en `--list` zijn niet vereist door de clientspecificatie, maar de meeste clients implementeren ze wel. +> Meer informatie: . + +- Toon de tldr-pagina voor een specifiek commando (hint: dit is hoe je hier bent gekomen!): + +`tldr {{commando}}` + +- Toon de tldr-pagina voor een specifiek subcommando: + +`tldr {{commando}} {{subcommando}}` + +- Toon de tldr-pagina voor een commando in de opgegeven taal (indien beschikbaar, val anders terug op Engels): + +`tldr {{[-L|--language]}} {{taalcode}} {{commando}}` + +- Toon de tldr-pagina voor een commando van een specifiek platform: + +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{commando}}` + +- Update de lokale cache van tldr-pagina's: + +`tldr {{[-u|--update]}}` + +- Toon alle pagina's voor het huidige platform en `common`: + +`tldr {{[-l|--list]}}` + +- Toon alle beschikbare subcommandopagina's voor een commando: + +`tldr {{[-l|--list]}} | grep {{commando}} | column` + +- Toon de tldr-pagina voor een willekeurig commando: + +`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr` diff --git a/pages.nl/common/tldrl.md b/pages.nl/common/tldrl.md new file mode 100644 index 00000000000000..6cd1ecc13c9826 --- /dev/null +++ b/pages.nl/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Dit commando is een alias van `tldr-lint`. + +- Bekijk de documentatie van het originele commando: + +`tldr tldr-lint` diff --git a/pages.nl/common/tlmgr-arch.md b/pages.nl/common/tlmgr-arch.md new file mode 100644 index 00000000000000..42237f736172f0 --- /dev/null +++ b/pages.nl/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Dit commando is een alias van `tlmgr platform`. + +- Bekijk de documentatie van het originele commando: + +`tldr tlmgr platform` diff --git a/pages.nl/common/tlmgr-platform.md b/pages.nl/common/tlmgr-platform.md new file mode 100644 index 00000000000000..5f373ab9891045 --- /dev/null +++ b/pages.nl/common/tlmgr-platform.md @@ -0,0 +1,24 @@ +# tlmgr platform + +> Beheer TeX Live platforms. +> Meer informatie: . + +- Toon alle beschikbare platforms in een pakket repository: + +`tlmgr platform list` + +- Voeg de uitvoerbare bestanden toe aan een specifiek platform: + +`sudo tlmgr platform add {{platform}}` + +- Verwijder de uitvoerbare bestanden uit een specifiek platform: + +`sudo tlmgr platform remove {{platform}}` + +- Detecteer automatisch en wissel naar het huidige platform: + +`sudo tlmgr platform set auto` + +- Wissel naar een specifiek platform: + +`sudo tlmgr platform set {{platform}}` diff --git a/pages.nl/common/tmux.md b/pages.nl/common/tmux.md new file mode 100644 index 00000000000000..44b05c97f49b14 --- /dev/null +++ b/pages.nl/common/tmux.md @@ -0,0 +1,38 @@ +# tmux + +> Terminal multiplexer. +> Het maakt meerdere sessies met vensters, panes en meer mogelijk. +> Zie ook: `zellij`, `screen`. +> Meer informatie: . + +- Start een nieuwe sessie: + +`tmux` + +- Start een nieuwe benoemde [s]essie: + +`tmux {{[new|new-session]}} -s {{naam}}` + +- Toon bestaande sessies: + +`tmux {{[ls|list-sessions]}}` + +- Koppel aan de meest recent gebruikte sessie: + +`tmux {{[a|attach]}}` + +- Koppel los van de huidige sessie (binnen een tmux sessie): + +`` + +- Creëer een nieuwe venster (binnen een tmux sessie): + +`` + +- Wissel tussen sessies en vensters (binnen een tmux sessie): + +`` + +- Sluit een sessie op basis van de doelnaam ([t]): + +`tmux kill-session -t {{naam}}` diff --git a/pages.nl/common/todo.md b/pages.nl/common/todo.md new file mode 100644 index 00000000000000..926ca9571f124f --- /dev/null +++ b/pages.nl/common/todo.md @@ -0,0 +1,32 @@ +# todo + +> Een eenvoudige, op standaarden gebaseerde, opdrachtregel todo manager. +> Meer informatie: . + +- Toon startbare taken: + +`todo list --startable` + +- Voeg een nieuwe taak toe aan de werklijst: + +`todo new {{ding_om_te_doen}} --list {{werk}}` + +- Voeg een locatie toe aan een taak met een gegeven ID: + +`todo edit --location {{locatie_naam}} {{taak_id}}` + +- Toon details over een taak: + +`todo show {{taak_id}}` + +- Markeer taken met de opgegeven IDs als voltooid: + +`todo done {{taak_id1 taak_id2 ...}}` + +- Verwijder een taak: + +`todo delete {{taak_id}}` + +- Verwijder voltooide taken en reset de IDs van de overgebleven taken: + +`todo flush` diff --git a/pages.nl/common/todoman.md b/pages.nl/common/todoman.md new file mode 100644 index 00000000000000..f96de20b5398b5 --- /dev/null +++ b/pages.nl/common/todoman.md @@ -0,0 +1,9 @@ +# todoman + +> Een simpele, gestandaardiseerde, cli todo manager. +> `todoman` is een gebruikelijke naam voor het commando `todo`, maar niet een commando op zichzelf. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr todo` diff --git a/pages.nl/common/touch.md b/pages.nl/common/touch.md new file mode 100644 index 00000000000000..637764ba25c7b7 --- /dev/null +++ b/pages.nl/common/touch.md @@ -0,0 +1,32 @@ +# touch + +> Maak bestanden aan en stel toegang-/wijzigingstijden in. +> Meer informatie: . + +- Maak specifieke bestanden aan: + +`touch {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Stel de toeg[a]ng- of wijzigingstijden ([m]) van een bestand in op de huidige tijd en maak ([c]) geen bestand aan als deze niet bestaat: + +`touch {{[-c|--no-create]}} -{{a|m}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Stel de [t]ijd van een bestand in op een specifieke waarde en maak ([c]) geen bestand aan als deze niet bestaat: + +`touch {{[-c|--no-create]}} -t {{YYYYMMDDHHMM.SS}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Stel de timestamp van de bestanden in op die van het [r]eferentiebestand en maak ([c]) geen bestand aan als deze niet bestaat: + +`touch {{[-c|--no-create]}} {{[-r|--reference]}} {{pad/naar/referentiebestand}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Stel de timestamp in door een string te parsen: + +`touch {{[-d|--date]}} "{{last year|5 hours|next thursday|nov 14|...}}" {{pad/naar/bestand}}` + +- Maak meerdere bestanden met oplopende nummers: + +`touch {{pad/naar/bestand{1..10}}}` + +- Maak meerdere bestanden met een letterbereik: + +`touch {{pad/naar/bestand{a..z}}}` diff --git a/pages.nl/common/tr.md b/pages.nl/common/tr.md new file mode 100644 index 00000000000000..153a6833c74dbb --- /dev/null +++ b/pages.nl/common/tr.md @@ -0,0 +1,32 @@ +# tr + +> Vertaal tekens: voer vervangingen uit op basis van enkele tekens en tekensets. +> Meer informatie: . + +- Vervang alle voorkomens van een teken in een bestand en toon het resultaat: + +`tr < {{pad/naar/bestand}} {{vind_karakter}} {{vervang_karakter}}` + +- Vervang alle voorkomens van een teken uit de uitvoer van een ander commando: + +`echo {{tekst}} | tr {{vind_karakter}} {{vervang_karakter}}` + +- Map elk teken van de eerste set naar het overeenkomstige teken van de tweede set: + +`tr < {{pad/naar/bestand}} '{{abcd}}' '{{jkmn}}'` + +- Verwijder alle voorkomens van de opgegeven set tekens uit de invoer: + +`tr < {{pad/naar/bestand}} {{[-d|--delete]}} '{{invoer_karakters}}'` + +- Comprimeer een reeks identieke tekens tot een enkel teken: + +`tr < {{pad/naar/bestand}} {{[-s|--squeeze-repeats]}} '{{invoer_karakters}}'` + +- Vertaal de inhoud van een bestand naar hoofdletters: + +`tr < {{pad/naar/bestand}} "[:lower:]" "[:upper:]"` + +- Verwijder niet-afdrukbare tekens uit een bestand: + +`tr < {{pad/naar/bestand}} {{[-cd|--complement --delete]}} "[:print:]"` diff --git a/pages.nl/common/traceroute.md b/pages.nl/common/traceroute.md new file mode 100644 index 00000000000000..7540e08683bc03 --- /dev/null +++ b/pages.nl/common/traceroute.md @@ -0,0 +1,32 @@ +# traceroute + +> Toon het pad dat pakketjes volgen naar een netwerkhost. +> Meer informatie: . + +- Traceroute naar een host: + +`traceroute {{example.com}}` + +- Schakel IP-adres en hostnaam mapping uit: + +`traceroute -n {{example.com}}` + +- Specificeer wachttijd in seconden voor antwoord: + +`traceroute {{[-w|--wait]}} {{0.5}} {{example.com}}` + +- Specificeer het aantal queries per hop: + +`traceroute {{[-q|--queries]}} {{5}} {{example.com}}` + +- Specificeer de grootte in bytes van het peilpakket: + +`traceroute {{example.com}} {{42}}` + +- Bepaal de MTU naar de bestemming: + +`traceroute --mtu {{example.com}}` + +- Gebruik ICMP in plaats van UDP voor tracerouting: + +`traceroute {{[-I|--icmp]}} {{example.com}}` diff --git a/pages.nl/common/transmission-cli.md b/pages.nl/common/transmission-cli.md new file mode 100644 index 00000000000000..d011a10f9d2fbf --- /dev/null +++ b/pages.nl/common/transmission-cli.md @@ -0,0 +1,37 @@ +# transmission-cli + +> Een lichtgewicht, command-line BitTorrent client. +> Deze tool is verouderd, bekijk `transmission-remote`. +> Meer informatie: . + +- Download een specifieke torrent: + +`transmission-cli {{url|magnet|pad/naar/bestand}}` + +- Download een torrent naar een specifieke map: + +`transmission-cli {{[-w|--download-dir]}} {{pad/naar/download_map}} {{url|magnet|pad/naar/bestand}}` + +- Maak een torrent bestand van een specifiek bestand of map: + +`transmission-cli --new {{pad/naar/bronbestand_of_map}}` + +- Zet de download snelheid limiet naar 50 KB/s: + +`transmission-cli {{[-d|--downlimit]}} {{50}} {{url|magnet|pad/naar/bestand}}` + +- Zet de upload snelheid limiet naar 50 KB/s: + +`transmission-cli {{[-u|--uplimit]}} {{50}} {{url|magnet|pad/naar/bestand}}` + +- Gebruik een specifieke poort voor verbindingen: + +`transmission-cli {{[-p|--port]}} {{poort_nummer}} {{url|magnet|pad/naar/bestand}}` + +- Forceer versleuteling voor alle peer-verbindingen: + +`transmission-cli {{[-er|--encryption-required]}} {{url|magnet|pad/naar/bestand}}` + +- Gebruik een Bluetack-geformatteerde peer blocklist: + +`transmission-cli {{[-b|--blocklist]}} {{blocklist_url|pad/naar/blocklist}} {{url|magnet|pad/naar/bestand}}` diff --git a/pages.nl/common/transmission-create.md b/pages.nl/common/transmission-create.md new file mode 100644 index 00000000000000..8ab93afbd3cdb2 --- /dev/null +++ b/pages.nl/common/transmission-create.md @@ -0,0 +1,25 @@ +# transmission-create + +> Maak BitTorrent `.torrent` bestanden. +> Zie ook: `transmission`. +> Meer informatie: . + +- Maak een torrent met een specifieke stukgrootte (in KB): + +`transmission-create {{[-o|--outfile]}} {{pad/naar/voorbeeld.torrent}} {{[-t|--tracker]}} {{aankondigings-url_van_tracker}} {{[-s|--piecesize]}} {{2048}} {{pad/naar/bestand_of_map}}` + +- Maak een privé torrent met een specifieke stukgrootte (in KB): + +`transmission-create {{[-p|--private]}} {{[-o|--outfile]}} {{pad/naar/voorbeeld.torrent}} {{[-t|--tracker]}} {{aankondigings-url_van_tracker}} {{[-s|--piecesize]}} {{2048}} {{pad/naar/bestand_of_map}}` + +- Maak een torrent met een opmerking: + +`transmission-create {{[-o|--outfile]}} {{pad/naar/voorbeeld.torrent}} {{[-t|--tracker]}} {{tracker_url1}} {{[-c|--comment]}} {{opmerking}} {{pad/naar/bestand_of_map}}` + +- Maak een torrent met meerdere trackers: + +`transmission-create {{[-o|--outfile]}} {{pad/naar/voorbeeld.torrent}} {{[-t|--tracker]}} {{tracker_url1}} {{[-t|--tracker]}} {{tracker_url2}} {{pad/naar/bestand_of_map}}` + +- Toon de help-pagina: + +`transmission-create {{[-h|--help]}}` diff --git a/pages.nl/common/transmission-daemon.md b/pages.nl/common/transmission-daemon.md new file mode 100644 index 00000000000000..04dc5cee4615c7 --- /dev/null +++ b/pages.nl/common/transmission-daemon.md @@ -0,0 +1,21 @@ +# transmission-daemon + +> Daemon bediend met `transmission-remote` of de webinterface. +> Zie ook: `transmission`. +> Meer informatie: . + +- Start een headless `transmission` sessie: + +`transmission-daemon` + +- Start en bewaak een specifieke map voor nieuwe torrents: + +`transmission-daemon {{[-c|--watch-dir]}} {{pad/naar/map}}` + +- Dump daemon-instellingen in JSON formaat: + +`transmission-daemon {{[-d|--dump-settings]}} > {{pad/naar/bestand.json}}` + +- Start met specifieke instellingen voor de web interface: + +`transmission-daemon {{[-t|--auth]}} {{[-u|--username]}} {{gebruikersnaam}} {{[-v|--password]}} {{wachtwoord}} {{[-p|--port]}} {{9091}} {{[-a|--allowed]}} {{127.0.0.1}}` diff --git a/pages.nl/common/transmission-edit.md b/pages.nl/common/transmission-edit.md new file mode 100644 index 00000000000000..e0447c4731ea27 --- /dev/null +++ b/pages.nl/common/transmission-edit.md @@ -0,0 +1,17 @@ +# transmission-edit + +> Wijzig aankondigings URL's van torrentbestanden. +> Zie ook: `transmission`. +> Meer informatie: . + +- Voeg een URL toe aan de aankondigingslijst van een torrent: + +`transmission-edit {{[-a|--add]}} {{http://example.com}} {{pad/naar/bestand.torrent}}` + +- Verwijder een URL van de aankondigingslijst van een torrent: + +`transmission-edit {{[-d|--delete]}} {{http://example.com}} {{pad/naar/bestand.torrent}}` + +- Werk de toegangscode van een tracker bij in een torrentbestand: + +`transmission-edit {{[-r|--replace]}} {{oude-toegangscode}} {{nieuwe-toegangscode}} {{pad/naar/bestand.torrent}}` diff --git a/pages.nl/common/transmission-remote.md b/pages.nl/common/transmission-remote.md new file mode 100644 index 00000000000000..4a7e2953c7d444 --- /dev/null +++ b/pages.nl/common/transmission-remote.md @@ -0,0 +1,32 @@ +# transmission-remote + +> Externe besturingshulpprogramma voor `transmission-daemon` en `transmission`. +> Meer informatie: . + +- Voeg een torrentbestand of magnet-link toe aan Transmission en download naar een opgegeven map: + +`transmission-remote {{hostnaam}} {{[-a|--all]}} {{torrent|url}} {{[-w|--download-dir]}} /{{pad/naar/download_map}}` + +- Verander de standaard downloadmap: + +`transmission-remote {{hostnaam}} {{[-w|--download-dir]}} /{{pad/naar/download_map}}` + +- Toon alle torrents: + +`transmission-remote {{hostnaam}} {{[-l|--list]}}` + +- Start torrent 1 en 2, stop torrent 3: + +`transmission-remote {{hostnaam}} {{[-t|--torrent]}} "1,2" {{[-s|--start]}} {{[-t|--torrent]}} 3 {{[-S|--stop]}}` + +- Verwijder torrent 1 en 2 en verwijder ook alle lokale gegevens voor torrent 2: + +`transmission-remote {{hostnaam}} {{[-t|--torrent]}} 1 {{[-r|--remove]}} {{[-t|--torrent]}} 2 {{[-rad|--remove-and-delete]}}` + +- Stop alle torrents: + +`transmission-remote {{hostnaam}} {{[-t|--torrent]}} {{all}} {{[-S|--stop]}}` + +- Verplaats torrents 1-10 en 15-20 naar een nieuwe map (die wordt aangemaakt als deze nog niet bestaat): + +`transmission-remote {{hostnaam}} {{[-t|--torrent]}} "1-10,15-20" --move /{{pad/naar/nieuwe_map}}` diff --git a/pages.nl/common/transmission-show.md b/pages.nl/common/transmission-show.md new file mode 100644 index 00000000000000..0a23c07c0b27c7 --- /dev/null +++ b/pages.nl/common/transmission-show.md @@ -0,0 +1,17 @@ +# transmission-show + +> Verkrijg informatie over een torrent bestand. +> Zie ook: `transmission`. +> Meer informatie: . + +- Toon metadata voor een specifieke torrent: + +`transmission-show {{pad/naar/bestand.torrent}}` + +- Genereer een magnet-link voor een specifieke torrent: + +`transmission-show {{[-m|--magnet]}} {{pad/naar/bestand.torrent}}` + +- Vraag de trackers van een torrent op en toon het huidige aantal peers: + +`transmission-show {{[-s|--scrape]}} {{pad/naar/bestand.torrent}}` diff --git a/pages.nl/common/transmission.md b/pages.nl/common/transmission.md new file mode 100644 index 00000000000000..08a7a910dbae5d --- /dev/null +++ b/pages.nl/common/transmission.md @@ -0,0 +1,29 @@ +# transmission + +> Transmission is een eenvoudige torrent-client. +> Transmission is geen commando, maar een set commando's. Zie de onderstaande pagina's. +> Meer informatie: . + +- Toon de documentatie voor het uitvoeren van de daemon van Transmission: + +`tldr transmission-daemon` + +- Toon de documentatie voor interactie met de daemon: + +`tldr transmission-remote` + +- Toon de documentatie voor het maken van torrent-bestanden: + +`tldr transmission-create` + +- Toon de documentatie voor het wijzigen van torrent-bestanden: + +`tldr transmission-edit` + +- Toon de documentatie voor het verkrijgen van informatie over torrent-bestanden: + +`tldr transmission-show` + +- Toon de documentatie voor de verouderde methode voor interactie met de daemon: + +`tldr transmission-cli` diff --git a/pages.nl/common/trash-cli.md b/pages.nl/common/trash-cli.md new file mode 100644 index 00000000000000..95b99252bb3e37 --- /dev/null +++ b/pages.nl/common/trash-cli.md @@ -0,0 +1,7 @@ +# trash-cli + +> Dit commando is een alias van `trash`. + +- Bekijk de documentatie van het originele commando: + +`tldr trash` diff --git a/pages.nl/common/true.md b/pages.nl/common/true.md new file mode 100644 index 00000000000000..11633fe04fd0d5 --- /dev/null +++ b/pages.nl/common/true.md @@ -0,0 +1,9 @@ +# true + +> Retourneert een succesvolle exit statuscode van 0. +> Gebruik dit met de || operator om een commando altijd met 0 te laten afsluiten. +> Meer informatie: . + +- Retourneer een succesvolle exit code: + +`true` diff --git a/pages.nl/common/truncate.md b/pages.nl/common/truncate.md new file mode 100644 index 00000000000000..e99e710bd2e1c8 --- /dev/null +++ b/pages.nl/common/truncate.md @@ -0,0 +1,24 @@ +# truncate + +> Verkort of verleng de grootte van een bestand naar de opgegeven grootte. +> Meer informatie: . + +- Stel een grootte van 10 GB in voor een bestaand bestand, of maak een nieuw bestand met de opgegeven grootte: + +`truncate {{[-s|--size]}} 10G {{pad/naar/bestand}}` + +- Verleng de bestandsgrootte met 50 MiB, vul met gaten (die lezen als null bytes): + +`truncate {{[-s|--size]}} +50M {{pad/naar/bestand}}` + +- Verkort het bestand met 2 GiB door gegevens van het einde van het bestand te verwijderen: + +`truncate {{[-s|--size]}} -2G {{pad/naar/bestand}}` + +- Leeg de inhoud van het bestand: + +`truncate {{[-s|--size]}} 0 {{pad/naar/bestand}}` + +- Leeg de inhoud van het bestand, maar maak het bestand niet aan als het niet bestaat: + +`truncate {{[-cs|--no-create --size]}} 0 {{pad/naar/bestand}}` diff --git a/pages.nl/common/tsort.md b/pages.nl/common/tsort.md new file mode 100644 index 00000000000000..df037ccfd80781 --- /dev/null +++ b/pages.nl/common/tsort.md @@ -0,0 +1,13 @@ +# tsort + +> Voer een topologische sortering uit. +> Een veelvoorkomend gebruik is om de afhankelijkheidsvolgorde van knooppunten in een gerichte acyclische grafiek te tonen. +> Meer informatie: . + +- Voer een topologische sortering uit consistent met een gedeeltelijke sortering per regel van invoer gescheiden door spaties: + +`tsort {{pad/naar/bestand}}` + +- Voer een topologische sortering uit consistent op strings: + +`echo -e "{{UI Backend\nBackend Database\nDocs UI}}" | tsort` diff --git a/pages.nl/common/tty.md b/pages.nl/common/tty.md index ac7052d3789b45..7e597eec7db0b9 100644 --- a/pages.nl/common/tty.md +++ b/pages.nl/common/tty.md @@ -1,7 +1,8 @@ # tty > Geeft de naam van de terminal terug. +> Meer informatie: . -- Druk de bestandsnaam van deze terminal af: +- Toon de bestandsnaam van deze terminal: `tty` diff --git a/pages.nl/common/typeset.md b/pages.nl/common/typeset.md new file mode 100644 index 00000000000000..1cf64ac16b6cd2 --- /dev/null +++ b/pages.nl/common/typeset.md @@ -0,0 +1,7 @@ +# typeset + +> Dit commando is een alias van `declare`. + +- Bekijk de documentatie van het originele commando: + +`tldr declare` diff --git a/pages.nl/common/ugrep.md b/pages.nl/common/ugrep.md new file mode 100644 index 00000000000000..22e3fbfbd27118 --- /dev/null +++ b/pages.nl/common/ugrep.md @@ -0,0 +1,36 @@ +# ugrep + +> Ultrasnelle bestandszoeker met interactive UI. +> Meer informatie: . + +- Open een interactieve TUI om recursief bestanden te zoeken (`` voor hulp): + +`ugrep {{[-Q|--query]}}` + +- Zoek recursief met een regex zoekpatroon in de huidige map naar passende bestanden: + +`ugrep "{{zoekpatroon}}"` + +- Zoek een gegeven bestand of bestanden in een gegeven map en laat de passende regelnummers zien: + +`ugrep {{[-n|--line-number]}} "{{zoekpatroon}}" {{pad/naar/bestand_of_map}}` + +- Zoek recursief in de huidige map en geef een lijst met passende bestanden: + +`ugrep {{[-l|--files-with-matches]}} "{{zoekpatroon}}"` + +- Zoek "fuzzy" met maximaal 3 extra, missende of verwisselende karakters in het patroon: + +`ugrep {{[-Z|--fuzzy=]}}{{3}} "{{zoekpatroon}}"` + +- Zoek passende gecomprimeerde bestanden, zip en tar archieven recursief in de huidige map: + +`ugrep {{[-z|--decompress]}} "{{zoekpatroon}}"` + +- Zoek alleen naar bestanden met namen die overeenkomen met een specifieke glob patroon: + +`ugrep {{[-g |--glob=]}}"{{glob_patroon}}" "{{zoekpatroon}}"` + +- Zoek alleen passende bestanden van het type C++ (gebruik `--type=list` voor een lijst van typenamen): + +`ugrep {{[-t |--file-type=]}}cpp "{{zoekpatroon}}"` diff --git a/pages.nl/common/umount.md b/pages.nl/common/umount.md new file mode 100644 index 00000000000000..db93d559cbc68c --- /dev/null +++ b/pages.nl/common/umount.md @@ -0,0 +1,17 @@ +# umount + +> Koppel een bestandssysteem los vanuit het mount-punt, waardoor het niet langer toegankelijk is. +> Een bestandssysteem kan niet losgekoppeld worden als het bezig is. +> Meer informatie: . + +- Koppel een bestandssysteem los door het pad op te geven van de bron waarop het gemount is: + +`umount {{pad/naar/apparaat_bestand}}` + +- Koppel een bestandssysteem los door het pad op te geven waarop het gemount is: + +`umount {{pad/naar/gemounte_map}}` + +- Koppel alle gemounte bestandssystemen los (behalve het `proc` bestandssysteem): + +`umount -a` diff --git a/pages.nl/common/unalias.md b/pages.nl/common/unalias.md index f39cf22362547e..31b28097d7048b 100644 --- a/pages.nl/common/unalias.md +++ b/pages.nl/common/unalias.md @@ -1,6 +1,8 @@ # unalias > Verwijder aliassen. +> Zie ook: `alias`. +> Meer informatie: . - Verwijder een alias: diff --git a/pages.nl/common/uname.md b/pages.nl/common/uname.md new file mode 100644 index 00000000000000..bc990ec4e1a129 --- /dev/null +++ b/pages.nl/common/uname.md @@ -0,0 +1,33 @@ +# uname + +> Toon details over de huidige machine en het besturingssysteem dat erop draait. +> Zie ook: `lsb_release`. +> Meer informatie: . + +- Toon de kernelnaam: + +`uname` + +- Toon alle beschikbare systeeminformatie: + +`uname {{[-a|--all]}}` + +- Toon systeemarchitectuur en processorinformatie: + +`uname {{[-mp|--machine --processsor]}}` + +- Toon kernelnaam, kernelrelease en kernelversie: + +`uname {{[-srv|--kernel-name --kernel-release --kernel-version]}}` + +- Toon de systeemhostname: + +`uname {{[-n|--nodename]}}` + +- Toon de huidige OS naam: + +`uname {{[-o|--operating-system]}}` + +- Toon de help: + +`uname --help` diff --git a/pages.nl/common/unclutter.md b/pages.nl/common/unclutter.md index 4b584b62a34f9c..dea8d76a9b448b 100644 --- a/pages.nl/common/unclutter.md +++ b/pages.nl/common/unclutter.md @@ -1,6 +1,7 @@ # unclutter > Verbergt de muiscursor. +> Meer informatie: . - Verbergt de muiscursor na 3 seconden: diff --git a/pages.nl/common/unexpand.md b/pages.nl/common/unexpand.md new file mode 100644 index 00000000000000..08960233acb9e7 --- /dev/null +++ b/pages.nl/common/unexpand.md @@ -0,0 +1,24 @@ +# unexpand + +> Converteer spaties naar tabs. +> Meer informatie: . + +- Converteer spaties in elk bestand naar tabs en schrijf naar `stdout`: + +`unexpand {{pad/naar/bestand}}` + +- Converteer spaties naar tabs en lees van `stdin`: + +`unexpand` + +- Converteer alle spaties, in plaats van alleen de voorloopspaties: + +`unexpand {{[-a|--all]}} {{pad/naar/bestand}}` + +- Converteer alleen leidende reeksen van spaties (overschrijft -a): + +`unexpand --first-only {{pad/naar/bestand}}` + +- Plaats tabs een bepaald aantal tekens uit elkaar, niet 8 (activeert -a): + +`unexpand {{[-t|--tabs]}} {{nummer}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/uniq.md b/pages.nl/common/uniq.md new file mode 100644 index 00000000000000..c44e978c92ad0d --- /dev/null +++ b/pages.nl/common/uniq.md @@ -0,0 +1,25 @@ +# uniq + +> Geef de unieke regels uit een invoer of bestand weer. +> Omdat het geen herhaalde regels detecteert tenzij ze naast elkaar staan, moeten we ze eerst sorteren. +> Meer informatie: . + +- Toon elke regel één keer: + +`sort {{pad/naar/bestand}} | uniq` + +- Toon alleen unieke regels: + +`sort {{pad/naar/bestand}} | uniq {{[-u|--unique]}}` + +- Toon alleen dubbele regels: + +`sort {{pad/naar/bestand}} | uniq {{[-d|--repeated]}}` + +- Toon het aantal voorkomens van elke regel samen met die regel: + +`sort {{pad/naar/bestand}} | uniq {{[-c|--count]}}` + +- Toon het aantal voorkomens van elke regel, gesorteerd op meest frequent: + +`sort {{pad/naar/bestand}} | uniq {{[-c|--count]}} | sort {{[-nr|--numeric-sort --reverse]}}` diff --git a/pages.nl/common/units.md b/pages.nl/common/units.md new file mode 100644 index 00000000000000..b8ac6d583338e3 --- /dev/null +++ b/pages.nl/common/units.md @@ -0,0 +1,32 @@ +# units + +> Converteer tussen twee maateenheden. +> Meer informatie: . + +- Voer uit in interactieve modus: + +`units` + +- Toon alle eenheden die een specifieke string bevatten in de interactieve modus: + +`search {{string}}` + +- Toon de conversie tussen twee eenvoudige eenheden: + +`units {{quarts}} {{tablespoons}}` + +- Converteer tussen eenheden met hoeveelheden: + +`units "{{15 pounds}}" {{kilograms}}` + +- Toon de conversie tussen twee samengestelde eenheden: + +`units "{{meters / second}}" "{{inches / hour}}"` + +- Toon de conversie tussen eenheden met verschillende dimensies: + +`units "{{acres}}" "{{ft^2}}"` + +- Toon de conversie van byte-vermenigvuldigers: + +`units "{{15 megabytes}}" {{bytes}}` diff --git a/pages.nl/common/unlink.md b/pages.nl/common/unlink.md new file mode 100644 index 00000000000000..a441c58fd4a891 --- /dev/null +++ b/pages.nl/common/unlink.md @@ -0,0 +1,9 @@ +# unlink + +> Verwijder een link naar een bestand van het bestandssysteem. +> De inhoud van het bestand gaat verloren als de link de laatste is naar het bestand. +> Meer informatie: . + +- Verwijder het opgegeven bestand als het de laatste link is: + +`unlink {{pad/naar/bestand}}` diff --git a/pages.nl/common/unlzma.md b/pages.nl/common/unlzma.md new file mode 100644 index 00000000000000..187cce5bcb2523 --- /dev/null +++ b/pages.nl/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Dit commando is een alias van `xz --format=lzma --decompress`. + +- Bekijk de documentatie van het originele commando: + +`tldr xz` diff --git a/pages.nl/common/unxz.md b/pages.nl/common/unxz.md new file mode 100644 index 00000000000000..28a75dde2bcff4 --- /dev/null +++ b/pages.nl/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Dit commando is een alias van `xz --decompress`. + +- Bekijk de documentatie van het originele commando: + +`tldr xz` diff --git a/pages.nl/common/unzstd.md b/pages.nl/common/unzstd.md new file mode 100644 index 00000000000000..57cf90275d6269 --- /dev/null +++ b/pages.nl/common/unzstd.md @@ -0,0 +1,7 @@ +# unzstd + +> Dit commando is een alias van `zstd --decompress`. + +- Bekijk de documentatie van het originele commando: + +`tldr zstd` diff --git a/pages.nl/common/uptime.md b/pages.nl/common/uptime.md new file mode 100644 index 00000000000000..bf7721e19f3688 --- /dev/null +++ b/pages.nl/common/uptime.md @@ -0,0 +1,20 @@ +# uptime + +> Toon hoe lang het systeem actief is en andere informatie. +> Meer informatie: . + +- Toon de huidige tijd, uptime, aantal ingelogde gebruikers en andere informatie: + +`uptime` + +- Toon alleen de tijd dat het systeem is opgestart: + +`uptime {{[-p|--pretty]}}` + +- Toon de datum en tijd waarop het systeem is opgestart: + +`uptime {{[-s|--since]}}` + +- Toon de versie: + +`uptime {{[-V|--version]}}` diff --git a/pages.nl/common/users.md b/pages.nl/common/users.md new file mode 100644 index 00000000000000..1bc1671b7cac12 --- /dev/null +++ b/pages.nl/common/users.md @@ -0,0 +1,13 @@ +# users + +> Toon een lijst van ingelogde gebruikers. +> Zie ook: `useradd`, `userdel`, `usermod`. +> Meer informatie: . + +- Toon ingelogde gebruikersnamen: + +`users` + +- Toon ingelogde gebruikersnamen volgens een opgegeven bestand: + +`users {{/var/log/wmtp}}` diff --git a/pages.nl/common/uv-add.md b/pages.nl/common/uv-add.md new file mode 100644 index 00000000000000..c4e705468167c1 --- /dev/null +++ b/pages.nl/common/uv-add.md @@ -0,0 +1,37 @@ +# uv add + +> Voeg pakket afhankelijkheden toe aan het `pyproject.toml` bestand. +> Pakketten worden gespecificeerd volgens . +> Meer informatie: . + +- Voeg de nieuwste versie van een pakket toe: + +`uv add {{pakket}}` + +- Voeg meerdere pakketten toe: + +`uv add {{pakket1 pakket2 ...}}` + +- Voeg een pakket toe met een versievereiste: + +`uv add {{pakket>=1.2.3}}` + +- Voeg pakketten toe aan een optionele afhankelijkheidsgroep, die wordt opgenomen wanneer ze worden gepubliceerd: + +`uv add --optional {{optioneel}} {{pakket1 pakket2 ...}}` + +- Voeg pakketten toe aan een lokale groep, die niet wordt opgenomen wanneer ze worden gepubliceerd: + +`uv add --group {{groep}} {{pakket1 pakket2 ...}}` + +- Voeg pakketten toe aan de dev groep, afkorting voor `--group dev`: + +`uv add --dev {{pakket1 pakket2 ...}}` + +- Voeg pakket toe als bewerkbaar: + +`uv add --editable {{pad/naar/pakket}}/` + +- Schakel een extra in bij het installeren van een pakket, deze kan meerdere keren opgegeven worden: + +`uv add {{pakket}} --extra {{extra_functie}}` diff --git a/pages.nl/common/uv-init.md b/pages.nl/common/uv-init.md new file mode 100644 index 00000000000000..2f31e52f878076 --- /dev/null +++ b/pages.nl/common/uv-init.md @@ -0,0 +1,32 @@ +# uv init + +> Creëer een nieuw Python project. +> Meer informatie: . + +- Initialiseer een project in de huidige map: + +`uv init` + +- Initialiseer een project met een gegeven naam: + +`uv init {{project_naam}}` + +- Creëer een project in een bepaalde map: + +`uv init --directory {{pad/naar/map}} {{project_naam}}` + +- Creëer een project voor een Python library: + +`uv init {{[--lib|--library]}} {{project_naam}}` + +- Specificeer het bouwsysteem: + +`uv init --build-backend {{bouwsysteem}} {{project_naam}}` + +- Creëer alleen een `pyproject.toml`: + +`uv init --bare {{project_naam}}` + +- Specificeer de projectbeschrijving: + +`uv init --description "{{omschrijving}}" {{project_naam}}` diff --git a/pages.nl/common/uv-python.md b/pages.nl/common/uv-python.md new file mode 100644 index 00000000000000..bebb935fc67880 --- /dev/null +++ b/pages.nl/common/uv-python.md @@ -0,0 +1,28 @@ +# uv python + +> Beheer Python-versies en installaties. +> Meer informatie: . + +- Toon alle beschikbare Python-installaties: + +`uv python list` + +- Installeer een Python-versie: + +`uv python install {{versie}}` + +- Verwijder een Python-versie: + +`uv python uninstall {{version}}` + +- Zoek naar een Python-installatie: + +`uv python find {{versie}}` + +- Pin het huidige project vast aan een specifieke Python-versie: + +`uv python pin {{versie}}` + +- Toon de `uv` Python-installatiemap: + +`uv python dir` diff --git a/pages.nl/common/uv-run.md b/pages.nl/common/uv-run.md new file mode 100644 index 00000000000000..4855e463314652 --- /dev/null +++ b/pages.nl/common/uv-run.md @@ -0,0 +1,28 @@ +# uv run + +> Voer een commando of script uit in de projectomgeving. +> Meer informatie: . + +- Voer een Python-script uit: + +`uv run {{pad/naar/script.py}}` + +- Voer een Python-module uit: + +`uv run {{[-m|--module]}} {{modulenaam}}` + +- Voer een opdracht uit met tijdelijk geïnstalleerde extra pakketten: + +`uv run {{[-w|--with]}} {{pakket}} {{commando}}` + +- Voer een script uit met pakketten van een requirements-bestand: + +`uv run --with-requirements {{pad/naar/requirements.txt}} {{pad/naar/script.py}}` + +- Voer uit in een geïsoleerde omgeving (geen projectafhankelijkheden): + +`uv run --isolated {{pad/naar/script.py}}` + +- Voer uit zonder de omgeving eerste te synchroniseren: + +`uv run --no-sync {{commando}}` diff --git a/pages.nl/common/uv-tool.md b/pages.nl/common/uv-tool.md new file mode 100644 index 00000000000000..928e7cf2277c1f --- /dev/null +++ b/pages.nl/common/uv-tool.md @@ -0,0 +1,24 @@ +# uv tool + +> Installeer en voer commando's uit die door Python-pakketten worden geleverd. +> Meer informatie: . + +- Voer een commando uit van een pakket, zonder het te installeren: + +`uv tool run {{commando}}` + +- Installeer een Python-pakket voor het hele systeem: + +`uv tool install {{pakket}}` + +- Upgrade een geïnstalleerde Python-pakket: + +`uv tool upgrade {{pakket}}` + +- Verwijder een Python-pakket: + +`uv tool uninstall {{pakket}}` + +- Toon alle geïnstalleerde systeembrede Python-pakketten: + +`uv tool list` diff --git a/pages.nl/common/uv-tree.md b/pages.nl/common/uv-tree.md new file mode 100644 index 00000000000000..3225bc8f551d55 --- /dev/null +++ b/pages.nl/common/uv-tree.md @@ -0,0 +1,28 @@ +# uv tree + +> Toon projectafhankelijkheden in een boomstructuur. +> Meer informatie: . + +- Toon afhankelijkheidsboom voor de huidige omgeving: + +`uv tree` + +- Toon afhankelijkheidsboom voor alle omgevingen: + +`uv tree --universal` + +- Toon afhankelijkheidsboom tot een bepaalde diepte: + +`uv tree {{[-d|--depth]}} {{n}}` + +- Toon de nieuwste beschikbare versie voor alle verouderde pakketten: + +`uv tree --outdated` + +- Sluit afhankelijkheden uit van de dev groep: + +`uv tree --no-dev` + +- Toon de omgekeerde boom, zodat kinderen afhankelijk zijn in plaats van afhankelijkheden: + +`uv tree --invert` diff --git a/pages.nl/common/uv.md b/pages.nl/common/uv.md new file mode 100644 index 00000000000000..de0a50de1b5a79 --- /dev/null +++ b/pages.nl/common/uv.md @@ -0,0 +1,37 @@ +# uv + +> Een snelle Python pakket- en projectbeheerder. +> Sommige subcommando's zoals `tool` en `python` hebben hun eigen documentatie. +> Meer informatie: . + +- Creëer een nieuw Python project in de huidige map: + +`uv init` + +- Creëer een nieuw Python project in het opgegeven pad: + +`uv init {{pad/naar/map}}` + +- Voeg een nieuwe afhankelijkheid toe aan het project: + +`uv add {{pakket}}` + +- Verwijder een afhankelijkheid van het project: + +`uv remove {{pakket}}` + +- Voer een script uit in de projectomgeving: + +`uv run {{pad/naar/script.py}}` + +- Voer een commando uit in de projectomgeving: + +`uv run {{commando}}` + +- Update een projectomgeving vanuit `pyproject.toml`: + +`uv sync` + +- Creëer een lock bestand voor de afhankelijkheden van het project: + +`uv lock` diff --git a/pages.nl/common/vc.md b/pages.nl/common/vc.md new file mode 100644 index 00000000000000..53cc2229116300 --- /dev/null +++ b/pages.nl/common/vc.md @@ -0,0 +1,7 @@ +# vc + +> Dit commando is een alias van `vercel`. + +- Bekijk de documentatie van het originele commando: + +`tldr vercel` diff --git a/pages.nl/common/vdir.md b/pages.nl/common/vdir.md new file mode 100644 index 00000000000000..feaecb6bcb7c04 --- /dev/null +++ b/pages.nl/common/vdir.md @@ -0,0 +1,33 @@ +# vdir + +> Toon uitgebreid de inhoud van een map. +> Vervanger voor `ls -l -b`. +> Meer informatie: . + +- Toon bestanden en mappen in de huidige map, één per regel, met details: + +`vdir` + +- Toon met bestandsgroottes in mens-leesbare eenheden (KB, MB, GB): + +`vdir {{[-h|--human-readable]}}` + +- Toon inclusief verborgen bestanden (beginnend met een punt): + +`vdir {{[-a|--all]}}` + +- Toon bestanden en mappen gesorteerd op grootte (grootste eerst): + +`vdir -S` + +- Toon bestanden en mappen gesorteerd op wijzigingstijd (nieuwste eerst): + +`vdir -t` + +- Toon eerst mappen gegroepeerd: + +`vdir --group-directories-first` + +- Toon recursief alle bestanden en mappen in een specifieke map: + +`vdir {{[-R|--recursive]}} {{pad/naar/map}}` diff --git a/pages.nl/common/venv.md b/pages.nl/common/venv.md new file mode 100644 index 00000000000000..3946a25529dbe4 --- /dev/null +++ b/pages.nl/common/venv.md @@ -0,0 +1,24 @@ +# venv + +> Maak lichtgewicht virtuele omgevingen in Python. +> Meer informatie: . + +- Maak een Python virtuele omgeving aan: + +`python -m venv {{pad/naar/virtuele_omgeving}}` + +- Activeer de virtuele omgeving (Linux en macOS): + +`{{[.|source]}} {{pad\naar\virtuele_omgeving}}/bin/activate` + +- Activeer de virtuele omgeving (Windows): + +`{{pad\naar\virtuele_omgeving}}\Scripts\activate.bat` + +- Deactiveer de virtuele omgeving: + +`deactivate` + +- Maak een alias aan die een `venv`-map genereert en deze automatisch activeert: + +`alias venv='python -m venv .venv && source {{.venv/bin/activate|.venv\Scripts\activate.bat}}'` diff --git a/pages.nl/common/vercel.md b/pages.nl/common/vercel.md new file mode 100644 index 00000000000000..71386f60b50c44 --- /dev/null +++ b/pages.nl/common/vercel.md @@ -0,0 +1,36 @@ +# vercel + +> Implementeer en beheer Vercel-implementaties. +> Meer informatie: . + +- Implementeer de huidige map: + +`vercel` + +- Implementeer de huidige map naar productie: + +`vercel --prod` + +- Implementeer een map: + +`vercel {{pad/naar/project}}` + +- Initialiseer een voorbeeldproject: + +`vercel init` + +- Implementeer met omgevingsvariabelen: + +`vercel {{[-e|--env]}} {{ENV}}={{var}}` + +- Bouw met omgevingsvariabelen: + +`vercel {{[-b|--build-env]}} {{ENV}}={{var}}` + +- Stel standaardregio's in om de implementatie in te schakelen: + +`vercel --regions {{regio_id}}` + +- Verwijder een implementatie: + +`vercel remove {{project_naam}}` diff --git a/pages.nl/common/vi.md b/pages.nl/common/vi.md new file mode 100644 index 00000000000000..ac32853dc1c536 --- /dev/null +++ b/pages.nl/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Dit commando is een alias van `vim`. + +- Bekijk de documentatie van het originele commando: + +`tldr vim` diff --git a/pages.nl/common/view.md b/pages.nl/common/view.md index d392f1cd06f018..bf61213a3e051f 100644 --- a/pages.nl/common/view.md +++ b/pages.nl/common/view.md @@ -2,6 +2,7 @@ > Een alleen-lezen versie van `vim`. > Dit is gelijk aan `vim -R`. +> Meer informatie: . - Open een bestand: diff --git a/pages.nl/common/vim.md b/pages.nl/common/vim.md new file mode 100644 index 00000000000000..d26c346b4cdd9a --- /dev/null +++ b/pages.nl/common/vim.md @@ -0,0 +1,38 @@ +# vim + +> Vim (Vi IMproved), een command-line tekst bewerker, geeft toegang tot verschillende manieren van tekst manipulatie. +> Drukken op `` begint invoegmodus. `` begint normale modus, wat toegang geeft tot de Vim commando's. +> Zie ook: `vimdiff`, `vimtutor` en `nvim`. +> Meer informatie: . + +- Open een bestand: + +`vim {{pad/naar/bestand}}` + +- Open een bestand bij een bepaald regelnummer: + +`vim +{{regelnummer}} {{pad/naar/bestand}}` + +- Bekijk de handleiding van Vim: + +`<:>help` + +- Opslaan en afsluiten: + +`{{|<:>x|<:>wq}}` + +- Terug naar normale modues en maak de laatste verandering ongedaan: + +`` + +- Zoek een patroon in het bestand (druk op ``/`` om naar de volgende/vorige overeenkomst te gaan): + +`{{zoek_patroon}}` + +- Voer een reguliere expressie substitutie uit in het hele bestand: + +`<:>%s/{{reguliere_expressie}}/{{vervanging}}/g` + +- Geef de regelnummers weer: + +`<:>set nu` diff --git a/pages.nl/common/vimdiff.md b/pages.nl/common/vimdiff.md new file mode 100644 index 00000000000000..c5461d3361cd24 --- /dev/null +++ b/pages.nl/common/vimdiff.md @@ -0,0 +1,37 @@ +# vimdiff + +> Open twee of meer bestanden in `vim` en toon de verschillen. +> Zie ook: `vim`, `vimtutor`, `nvim`. +> Meer informatie: . + +- Open twee bestanden en toon de verschillen: + +`vimdiff {{pad/naar/bestand1}} {{pad/naar/bestand2}}` + +- Verplaats de cursor naar het scherm links|rechts: + +`{{|}}` + +- Spring naar het vorige verschil: + +`<[>` + +- Spring naar het volgende verschil: + +`<]>` + +- Kopieer het gemarkeerde verschil van het andere scherm naar het huidige scherm: + +`` + +- Kopieer het gemarkeerde verschil van het huidige scherm naar het andere scherm: + +`

` + +- Update alle markeringen en folds: + +`<:>diffupdate` + +- Schakel de gemarkeerde code fold om: + +`` diff --git a/pages.nl/common/vimtutor.md b/pages.nl/common/vimtutor.md new file mode 100644 index 00000000000000..d835e47101143b --- /dev/null +++ b/pages.nl/common/vimtutor.md @@ -0,0 +1,13 @@ +# vimtutor + +> Vim tutor leert de basis `vim` commando's. +> Zie ook: `vim`, `vimdiff`, `nvim`. +> Meer informatie: . + +- Start de vim tutor voor de opgegeven taal (en, fr, de, ...): + +`vimtutor {{taal}}` + +- Verlaat de tutor: + +`<:>q` diff --git a/pages.nl/common/visudo.md b/pages.nl/common/visudo.md index b01b63dacb93d9..5e59f91b794e26 100644 --- a/pages.nl/common/visudo.md +++ b/pages.nl/common/visudo.md @@ -1,6 +1,7 @@ # visudo > Bewerk veilig het sudoers-bestand. +> Meer informatie: . - Bewerk sudoers-bestand: @@ -8,4 +9,12 @@ - Controleer sudoers-bestand op fouten: -`sudo visudo -c` +`sudo visudo {{[-c|--check]}}` + +- Bewerk het sudoers-bestand met een specifieke editor: + +`sudo EDITOR={{editor}} visudo` + +- Toon de versie: + +`visudo {{[-V|--version]}}` diff --git a/pages.nl/common/vivaldi.md b/pages.nl/common/vivaldi.md new file mode 100644 index 00000000000000..6bfc21050368b7 --- /dev/null +++ b/pages.nl/common/vivaldi.md @@ -0,0 +1,8 @@ +# vivaldi + +> Dit commando is een alias van `chromium`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr chromium` diff --git a/pages.nl/common/vlc.md b/pages.nl/common/vlc.md new file mode 100644 index 00000000000000..a06d930b3c2a63 --- /dev/null +++ b/pages.nl/common/vlc.md @@ -0,0 +1,25 @@ +# vlc + +> Cross-platform multimediaspeler. +> Zie ook: `mpv`, `mplayer`, `ytfzf`. +> Meer informatie: . + +- Speel een bestand af: + +`vlc {{pad/naar/bestand}}` + +- Speel in volledig scherm af: + +`vlc --fullscreen {{pad/naar/bestand}}` + +- Speel zonder geluid af: + +`vlc --no-audio {{pad/naar/bestand}}` + +- Speel herhaaldelijk af: + +`vlc --loop {{pad/naar/bestand}}` + +- Speel video van een URL af: + +`vlc {{https://www.youtube.com/watch?v=oHg5SJYRHA0}}` diff --git a/pages.nl/common/watch.md b/pages.nl/common/watch.md new file mode 100644 index 00000000000000..cc93d666629833 --- /dev/null +++ b/pages.nl/common/watch.md @@ -0,0 +1,28 @@ +# watch + +> Voer een programma periodiek uit en bekijk de uitvoer in volledig schermmodus. +> Meer informatie: . + +- Voer een commando herhaaldelijk uit en toon het resultaat: + +`watch {{commando}}` + +- Voer een commando elke 60 seconden opnieuw uit: + +`watch {{[-n|--interval]}} 60 {{commando}}` + +- Controleer de schijfruimte en markeer deze verschillen zodra ze zich voordoen: + +`watch {{[-d|--differences]}} df` + +- Voer een pipeline herhaaldelijk uit en toon het resultaat: + +`watch "{{commando1}} | {{commando2}} | {{commando3}}"` + +- Sluit `watch` af als de zichtbare uitvoer verandert: + +`watch {{[-g|--chgexit]}} {{lsblk}}` + +- Interpreteer terminal besturingstekens: + +`watch {{[-c|--color]}} {{ls --color=always}}` diff --git a/pages.nl/common/wc.md b/pages.nl/common/wc.md new file mode 100644 index 00000000000000..8eeb0f25755fa7 --- /dev/null +++ b/pages.nl/common/wc.md @@ -0,0 +1,28 @@ +# wc + +> Tel regels, woorden en bytes. +> Meer informatie: . + +- Tel alle regels in een bestand: + +`wc {{[-l|--lines]}} {{pad/naar/bestand}}` + +- Tel alle woorden in een bestand: + +`wc {{[-w|--words]}} {{pad/naar/bestand}}` + +- Tel alle bytes in een bestand: + +`wc {{[-c|--bytes]}} {{pad/naar/bestand}}` + +- Tel alle karakters in een bestand (rekening houdend met multi-byte karakters): + +`wc {{[-m|--chars]}} {{pad/naar/bestand}}` + +- Tel alle regels, woorden en bytes van `stdin`: + +`{{find .}} | wc` + +- Tel de lengte van de langste regel in aantal karakters: + +`wc {{[-L|--max-line-length]}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/wget.md b/pages.nl/common/wget.md new file mode 100644 index 00000000000000..35f6da9bf02bcf --- /dev/null +++ b/pages.nl/common/wget.md @@ -0,0 +1,37 @@ +# wget + +> Download bestanden vanaf het internet. +> Ondersteunt HTTP, HTTPS en FTP. +> Meer informatie: . + +- Download de inhoud van een URL naar een bestand (in dit geval genaamd "foo"): + +`wget {{https://example.com/foo}}` + +- Download de inhoud van een URL naar een bestand (in dit geval genaamd "bar"): + +`wget {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}` + +- Download één webpagina en alle bijbehorende bronnen met een interval van 3 seconden tussen verzoeken (scripts, stylesheets, afbeeldingen, etc.): + +`wget {{[-pkw|--page-requisites --convert-links --wait]}} 3 {{https://example.com/een_pagina.html}}` + +- Download alle vermelde bestanden binnen een map en zijn submappen (downloadt geen embedded pagina-elementen): + +`wget {{[-mnp|--mirror --no-parent]}} {{https://example.com/een_pad/}}` + +- Beperk de downloadsnelheid en het aantal verbindingspogingen: + +`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/een_pad/}}` + +- Download een bestand van een HTTP-server met behulp van Basic Auth (werkt ook met FTP): + +`wget --user {{gebruikersnaam}} --password {{wachtwoord}} {{https://example.com}}` + +- Hervat een onvolledige download: + +`wget {{[-c|--continue]}} {{https://example.com}}` + +- Download alle URL's die zijn opgeslagen in een tekstbestand naar een specifieke map: + +`wget {{[-P|--directory-prefix]}} {{pad/naar/map}} {{[-i|--input-file]}} {{pad/naar/URLs.txt}}` diff --git a/pages.nl/common/which.md b/pages.nl/common/which.md new file mode 100644 index 00000000000000..ecc86ed1d13560 --- /dev/null +++ b/pages.nl/common/which.md @@ -0,0 +1,12 @@ +# which + +> Zoek een programma in het pad van de gebruiker. +> Meer informatie: . + +- Doorzoek de PATH-omgevingsvariabele en toon de locatie van eventuele overeenkomende uitvoerbare bestanden: + +`which {{uitvoerbaar_bestand}}` + +- Als er meerdere uitvoerbare bestanden zijn die overeenkomen, toon ze allemaal: + +`which {{[-a|--all]}} {{uitvoerbaar_bestand}}` diff --git a/pages.nl/common/who.md b/pages.nl/common/who.md new file mode 100644 index 00000000000000..88b800c767c31f --- /dev/null +++ b/pages.nl/common/who.md @@ -0,0 +1,17 @@ +# who + +> Toon wie er is ingelogd en gerelateerde gegevens (processen, opstarttijd). +> Zie ook: `whoami`. +> Meer informatie: . + +- Toon de gebruikersnaam, line en tijd van alle huidige ingelogde sessies: + +`who` + +- Toon alle beschikbare informatie: + +`who {{[-a|--all]}}` + +- Toon alle beschikbare informatie met tabelkoppen: + +`who {{[-aH|--all --heading]}}` diff --git a/pages.nl/common/whoami.md b/pages.nl/common/whoami.md new file mode 100644 index 00000000000000..04f9b39f204bd8 --- /dev/null +++ b/pages.nl/common/whoami.md @@ -0,0 +1,12 @@ +# whoami + +> Toon de gebruikersnaam die is gekoppeld aan de huidige effectieve gebruikers-ID. +> Meer informatie: . + +- Toon de momenteel ingelogde gebruikersnaam: + +`whoami` + +- Toon de gebruikersnaam na een wijziging in de gebruikers-ID: + +`sudo whoami` diff --git a/pages.nl/common/whois.md b/pages.nl/common/whois.md new file mode 100644 index 00000000000000..e6493e722a70de --- /dev/null +++ b/pages.nl/common/whois.md @@ -0,0 +1,16 @@ +# whois + +> Opdrachtregelclient voor het WHOIS (RFC 3912) protocol. +> Meer informatie: . + +- Verkrijg informatie over een domeinnaam: + +`whois {{example.com}}` + +- Verkrijg informatie over een IP-adres: + +`whois {{8.8.8.8}}` + +- Verkrijg het contact om misbruik te melden voor een IP-adres: + +`whois -b {{8.8.8.8}}` diff --git a/pages.nl/common/winicontopam.md b/pages.nl/common/winicontopam.md new file mode 100644 index 00000000000000..8e970b2b1a3c6b --- /dev/null +++ b/pages.nl/common/winicontopam.md @@ -0,0 +1,20 @@ +# winicontopam + +> Converteer een Windows ICO bestand naar een PAM bestand. +> Meer informatie: . + +- Lees een ICO bestand en converteer de beste kwaliteit afbeelding daarin naar het PAM formaat: + +`winicontopam {{pad/naar/invoer_bestand.ico}} > {{pad/naar/uitvoer.pam}}` + +- Converteer alle afbeeldingen in het invoerbestand naar PAM: + +`winicontopam {{[-al|-allimages]}} {{pad/naar/invoer_bestand.ico}} > {{pad/naar/uitvoer.pam}}` + +- Converteer de n afbeelding in het invoerbestand naar PAM: + +`winicontopam {{[-i|-image]}} {{n}} {{pad/naar/invoer_bestand.ico}} > {{pad/naar/uitvoer.pam}}` + +- Als de afbeelding(en) voor te extraheren bevatten transparantie data en een AND mask, scrhijf de AND mask naar het vijfde kanaal van het uitvoer PAM bestand: + +`winicontopam {{[-an|-andmasks]}} {{pad/naar/invoer_bestand.ico}} > {{pad/naar/uitvoer.pam}}` diff --git a/pages.nl/common/winicontoppm.md b/pages.nl/common/winicontoppm.md new file mode 100644 index 00000000000000..9f43b2a89628eb --- /dev/null +++ b/pages.nl/common/winicontoppm.md @@ -0,0 +1,8 @@ +# winicontoppm + +> Dit commando is vervangen door `winicontopam`. +> Meer informatie: . + +- Bekijk de documentatie van het huidige commando: + +`tldr winicontopam` diff --git a/pages.nl/common/xargs.md b/pages.nl/common/xargs.md new file mode 100644 index 00000000000000..ff67280283af84 --- /dev/null +++ b/pages.nl/common/xargs.md @@ -0,0 +1,33 @@ +# xargs + +> Voer een commando uit met doorgegeven argumenten van een ander commando, een bestand, etc. +> De invoer wordt behandeld als een enkel tekstblok en gesplitst in afzonderlijke stukken op spaties, tabbladen, nieuwe regels en einde-van-bestand. +> Meer informatie: . + +- Voer een commando uit met de invoergegevens als argumenten: + +`{{argumenten_bron}} | xargs {{commando}}` + +- Voer meerdere gekoppelde commando's uit op de invoergegevens: + +`{{argumenten_bron}} | xargs sh -c "{{commando1}} && {{commando2}} | {{commando3}}"` + +- Gzip alle bestanden met een `.log` extensie en profiteer van het voordeel van meerdere threads (`-print0` gebruikt een nul-teken om bestandsnamen te splitsen en `-0` gebruikt het als scheidingsteken): + +`find . -name '*.log' -print0 | xargs {{[-0|--null]}} {{[-P|--max-procs]}} {{4}} {{[-n|--max-args]}} 1 gzip` + +- Voer het commando eenmaal per argument uit: + +`{{argumenten_bron}} | xargs {{[-n|--max-args]}} 1 {{commando}}` + +- Voer het commando één keer uit voor elke invoerregel, waarbij elke plaatsaanduiding (hier gemarkeerd als `_`) wordt vervangen door de invoerregel: + +`{{argumenten_bron}} | xargs -I _ {{commando}} _ {{optionele_extra_argumenten}}` + +- Parallelle uitvoeringen van maximaal `max-procs` processen tegelijk; de standaard is 1. Als `max-procs` 0 is, zal xargs zoveel mogelijk processen tegelijk uitvoeren: + +`{{argumenten_bron}} | xargs {{[-P|--max-procs]}} {{max-procs}} {{commando}}` + +- Vraag de gebruiker om bevestiging voordat de opdracht wordt uitgevoerd (bevestig met `y` of `Y`): + +`{{argumenten_bron}} | xargs {{[-p|--interactive]}} {{commando}}` diff --git a/pages.nl/common/xml-c14n.md b/pages.nl/common/xml-c14n.md new file mode 100644 index 00000000000000..b713115fdecc0d --- /dev/null +++ b/pages.nl/common/xml-c14n.md @@ -0,0 +1,7 @@ +# xml c14n + +> Dit commando is een alias van `xml canonic`. + +- Bekijk de documentatie van het originele commando: + +`tldr xml canonic` diff --git a/pages.nl/common/xml-canonic.md b/pages.nl/common/xml-canonic.md new file mode 100644 index 00000000000000..d02778a53df08a --- /dev/null +++ b/pages.nl/common/xml-canonic.md @@ -0,0 +1,20 @@ +# xml canonic + +> Maak XML-documenten canoniek. +> Meer informatie: . + +- Maak een XML-document canoniek met behoud van commentaar: + +`xml {{[c14n|canonic]}} {{pad/naar/invoer.xml|URI}} > {{pad/naar/uitvoer.xml}}` + +- Maak een XML-document canoniek en verwijder het commentaar: + +`xml {{[c14n|canonic]}} --without-comments {{pad/naar/invoer.xml|URI}} > {{pad/naar/uitvoer.xml}}` + +- Maak XML uitsluitend canoniek, met behulp van een XPATH vanuit een bestand, met behoud van commentaar: + +`xml {{[c14n|canonic]}} --exc-with-comments {{pad/naar/invoer.xml|URI}} {{pad/naar/c14n.xpath}}` + +- Toon de help: + +`xml {{[c14n|canonic]}} --help` diff --git a/pages.nl/common/xml-depyx.md b/pages.nl/common/xml-depyx.md new file mode 100644 index 00000000000000..675f17f8e03268 --- /dev/null +++ b/pages.nl/common/xml-depyx.md @@ -0,0 +1,16 @@ +# xml depyx + +> Converteer een PYX (ESIS - ISO 8879) document naar XML formaat. +> Meer informatie: . + +- Converteer een PYX (ESIS - ISO 8879) document naar XML formaat: + +`xml {{[p2x|depyx]}} {{pad/naar/invoer.pyx|URI}} > {{pad/naar/uitvoer.xml}}` + +- Converteer een PYX document van `stdin` naar XML formaat: + +`cat {{pad/naar/invoer.pyx}} | xml {{[p2x|depyx]}} > {{pad/naar/uitvoer.xml}}` + +- Toon de help: + +`xml {{[p2x|depyx]}} --help` diff --git a/pages.nl/common/xml-p2x.md b/pages.nl/common/xml-p2x.md new file mode 100644 index 00000000000000..02da79efabc916 --- /dev/null +++ b/pages.nl/common/xml-p2x.md @@ -0,0 +1,7 @@ +# xml p2x + +> Dit commando is een alias van `xml depyx`. + +- Bekijk de documentatie van het originele commando: + +`tldr xml depyx` diff --git a/pages.nl/common/xml-pyx.md b/pages.nl/common/xml-pyx.md new file mode 100644 index 00000000000000..e1bcc05d9f9672 --- /dev/null +++ b/pages.nl/common/xml-pyx.md @@ -0,0 +1,16 @@ +# xml pyx + +> Converteer een XML-document naar het PYX-formaat (ESIS - ISO 8879). +> Meer informatie: . + +- Converteer een XML document naar PYX formaat: + +`xml pyx {{pad/naar/invoer.xml|URI}} > {{pad/naar/uitvoer.pyx}}` + +- Converteer een XML document van `stdin` naar PYX formaat: + +`cat {{pad/naar/invoer.xml}} | xml pyx > {{pad/naar/uitvoer.pyx}}` + +- Toon de help: + +`xml pyx --help` diff --git a/pages.nl/common/xml-xmln.md b/pages.nl/common/xml-xmln.md new file mode 100644 index 00000000000000..f1c3b13b2df485 --- /dev/null +++ b/pages.nl/common/xml-xmln.md @@ -0,0 +1,7 @@ +# xml xmln + +> Dit commando is een alias van `xml pyx`. + +- Bekijk de documentatie van het originele commando: + +`tldr xml pyx` diff --git a/pages.nl/common/xz.md b/pages.nl/common/xz.md new file mode 100644 index 00000000000000..ec68060f9ff5c7 --- /dev/null +++ b/pages.nl/common/xz.md @@ -0,0 +1,36 @@ +# xz + +> Comprimeren of decomprimeren van XZ en LZMA bestanden. +> Meer informatie: . + +- Comprimeer een bestand gebruik makend van xz file: + +`xz {{pad/naar/bestand}}` + +- Decomprimer een xz bestand: + +`xz {{[-d|--decompress]}} {{pad/naar/bestand.xz}}` + +- Comprimeer een bestand gebruik makend van lzma: + +`xz {{[-F|--format]}} lzma {{pad/naar/bestand}}` + +- Decomprimer een LZMA bestand: + +`xz {{[-d|--decompress]}} {{[-F|--format]}} lzma {{pad/naar/bestand.lzma}}` + +- Decomprimer een bestand en schrijf het naar `stdout` (impliceert `--keep`): + +`xz {{[-d|--decompress]}} {{[-c|--stdout]}} {{pad/naar/bestand.xz}}` + +- Comprimeer een bestand, maar verwijder het origineel niet: + +`xz {{[-k|--keep]}} {{pad/naar/bestand}}` + +- Comprimeer een bestand, gebruik makend van de snelste compressie: + +`xz -0 {{pad/naar/bestand}}` + +- Comprimeer een bestand, gebruik makend van de beste compressie: + +`xz -9 {{pad/naar/bestand}}` diff --git a/pages.nl/common/xzcat.md b/pages.nl/common/xzcat.md new file mode 100644 index 00000000000000..80da25bb25eafa --- /dev/null +++ b/pages.nl/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Dit commando is een alias van `xz --decompress --stdout`. + +- Bekijk de documentatie van het originele commando: + +`tldr xz` diff --git a/pages.nl/common/xzcmp.md b/pages.nl/common/xzcmp.md new file mode 100644 index 00000000000000..fea93ff367d02a --- /dev/null +++ b/pages.nl/common/xzcmp.md @@ -0,0 +1,9 @@ +# xzcmp + +> Roep `cmp` aan op bestanden die gecomprimeerd zijn met `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, or `zstd`. +> Alle opgegeven opties worden rechtstreeks doorgegeven aan `cmp`. +> Meer informatie: . + +- Vergelijk twee specifieke bestanden: + +`xzcmp {{pad/naar/bestand1}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/xzegrep.md b/pages.nl/common/xzegrep.md new file mode 100644 index 00000000000000..2da08c29b50e99 --- /dev/null +++ b/pages.nl/common/xzegrep.md @@ -0,0 +1,8 @@ +# xzegrep + +> Dit commando is een alias van `xzgrep --extended-regexp`. +> Zie ook: `egrep`. + +- Bekijk de documentatie van het originele commando: + +`tldr xzgrep` diff --git a/pages.nl/common/xzfgrep.md b/pages.nl/common/xzfgrep.md new file mode 100644 index 00000000000000..549ea70eb2d673 --- /dev/null +++ b/pages.nl/common/xzfgrep.md @@ -0,0 +1,8 @@ +# xzfgrep + +> Dit commando is een alias van `xzgrep --fixed-strings`. +> Zie ook: `fgrep`. + +- Bekijk de documentatie van het originele commando: + +`tldr xzgrep` diff --git a/pages.nl/common/xzgrep.md b/pages.nl/common/xzgrep.md new file mode 100644 index 00000000000000..195afb7e33ad83 --- /dev/null +++ b/pages.nl/common/xzgrep.md @@ -0,0 +1,33 @@ +# xzgrep + +> Zoek bestanden die mogelijk worden gecomprimeerd met `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, of `zstd` met behulp van reguliere expressies. +> Zie ook: `grep`. +> Meer informatie: . + +- Zoek naar een patroon in een bestand: + +`xzgrep "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek naar een exacte tekenreeks (schakelt reguliere expressies uit): + +`xzgrep {{[-F|--fixed-strings]}} "{{exact_string}}" {{pad/naar/bestand}}` + +- Zoek naar een patroon in alle bestanden en geef de regelnummers weer van de overeenkomsten: + +`xzgrep {{[-n|--line-number]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Gebruik uitgebreidere reguliere expressies (ondersteund `?`, `+`, `{}`, `()` en `|`), in case-ongevoelige modus: + +`xzgrep {{[-E|--extended-regexp]}} {{[-i|--ignore-case]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Toon 3 regels met [C]ontext rond, voor ([B]) of n[A] elke overeenkomst: + +`xzgrep --{{context|before-context|after-context}} {{3}} "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Toon bestandsnaam en regelnummer voor elke overeenkomst met kleuren: + +`xzgrep {{[-H|--with-filename]}} {{[-n|--line-number]}} --color=always "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek naar regels die overeenkomen met een patroon en toon alleen de gematchte tekst: + +`xzgrep {{[-o|--only-matching]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` diff --git a/pages.nl/common/xzless.md b/pages.nl/common/xzless.md new file mode 100644 index 00000000000000..8ef53a846f7c2f --- /dev/null +++ b/pages.nl/common/xzless.md @@ -0,0 +1,17 @@ +# xzless + +> Tekst weergeven van `xz` en `lzma` gecomprimeerde bestanden. +> Zie ook: `less`. +> Meer informatie: . + +- Bekijk een gecomprimeerd bestand: + +`xzless {{pad/naar/bestand}}` + +- Bekijk een gecomprimeerd bestand en toon regelnummers: + +`xzless --LINE-NUMBERS {{pad/naar/bestand}}` + +- Bekijk een gecomprimeerd bestand en stop als het hele bestand op het eerste scherm kan worden weergegeven: + +`xzless --quit-if-one-screen {{pad/naar/bestand}}` diff --git a/pages.nl/common/xzmore.md b/pages.nl/common/xzmore.md new file mode 100644 index 00000000000000..5df733618a9bce --- /dev/null +++ b/pages.nl/common/xzmore.md @@ -0,0 +1,9 @@ +# xzmore + +> Tekst weergeven van `xz` en `lzma` gecomprimeerde bestanden. +> Bijna gelijk aan `xzless`, behalve dat het de `PAGER` omgevingsvariable respecteert, `more` standaard gebruikt en dat je geen opties kan sturen naar de pager. +> Meer informatie: . + +- Bekijk een gecomprimeerd bestand: + +`xzmore {{pad/naar/bestand}}` diff --git a/pages.nl/common/yapf.md b/pages.nl/common/yapf.md new file mode 100644 index 00000000000000..6a28bea6229fc5 --- /dev/null +++ b/pages.nl/common/yapf.md @@ -0,0 +1,12 @@ +# yapf + +> Python stijlgidschecker. +> Meer informatie: . + +- Toon de geformateerde diff die zal optreden uit: + +`yapf {{[-d|--diff]}} {{pad/naar/bestand}}` + +- Formatteer alle Python-bestanden recursief in een map in parallel: + +`yapf {{[-ri|--recursive --in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{pad/naar/map}}` diff --git a/pages.nl/common/yes.md b/pages.nl/common/yes.md index 5f36ea978f3061..4d42a7cd28e0df 100644 --- a/pages.nl/common/yes.md +++ b/pages.nl/common/yes.md @@ -1,11 +1,21 @@ # yes -> Voer herhaaldelijk iets uit. +> Iets herhaaldelijk uitvoeren. +> Deze opdracht wordt vaak gebruikt om ja te beantwoorden op elke prompt door installatieopdrachten (zoals `apt-get`). +> Meer informatie: . -- Voer herhaaldelijk "bericht" uit: +- Toon herhaaldelijk "bericht": `yes {{bericht}}` -- Voor herhaaldelijk "y" uit: +- Toon herhaaldelijk "y": `yes` + +- Accepteer alles wat wordt gevraagd door het commando `apt-get`: + +`yes | sudo apt-get install {{programma}}` + +- Toon herhaaldelijk een nieuwe regel om altijd de standaard optie van een vraag te accepteren: + +`yes ''` diff --git a/pages.nl/common/ykman-config.md b/pages.nl/common/ykman-config.md new file mode 100644 index 00000000000000..a81bf0efc92783 --- /dev/null +++ b/pages.nl/common/ykman-config.md @@ -0,0 +1,17 @@ +# ykman config + +> In- of uitschakelen van YubiKey applicaties. +> Let op: je kan `ykman info` gebruiken om de huidige ingeschakelde applicaties te zien. +> Meer informatie: . + +- Schakel een applicatie in via USB of NFC (`--enable` kan meerdere keren gebruikt worden om meerdere applicaties te specificeren): + +`ykman config {{usb|nfc}} {{[-e|--enable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` + +- Schakel een applicatie uit via USB of NFC (`--disable` kan meerdere keren gebruikt worden om meerdere applicaties te specificeren): + +`ykman config {{usb|nfc}} {{[-d|--disable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` + +- Schakel alle applicaties uit via NFC: + +`ykman config nfc {{[-D|--disable-all]}}` diff --git a/pages.nl/common/ykman-fido.md b/pages.nl/common/ykman-fido.md new file mode 100644 index 00000000000000..88ba5bc2f5da7c --- /dev/null +++ b/pages.nl/common/ykman-fido.md @@ -0,0 +1,36 @@ +# ykman fido + +> Beheer YubiKey FIDO applicaties. +> Meer informatie: . + +- Toon algemene informatie over de FIDO2 applicatie: + +`ykman fido info` + +- Verander de FIDO pin: + +`ykman fido access change-pin` + +- Toon een lijst van inloggegevens die opgeslagen zijn op de YubiKey: + +`ykman fido credentials list` + +- Verwijder specifieke inloggegevens van de YubiKey: + +`ykman fido credentials delete {{id}}` + +- Toon vingerafdrukken opgeslagen op de YubiKey (vereist een sleutel met een vingerafdruk sensor): + +`ykman fido fingerprints list` + +- Voeg een nieuwe vingerafdruk toe aan de YubiKey: + +`ykman fido fingerprints add {{naam}}` + +- Verwijder een vingerafdruk van de YubiKey: + +`ykman fido fingerprints delete {{naam}}` + +- Wis alle FIDO credentials (je moet dit doen nadat je het aantal pogingen voor de pin hebt overschreden): + +`ykman fido reset` diff --git a/pages.nl/common/ykman-oath.md b/pages.nl/common/ykman-oath.md new file mode 100644 index 00000000000000..5c948399ba4adb --- /dev/null +++ b/pages.nl/common/ykman-oath.md @@ -0,0 +1,37 @@ +# ykman oath + +> Beheer de OATH YubiKey applicatie. +> Een `keyword` kan onderdeel zijn van de naam of van de indiener. +> Meer informatie: . + +- Toon algemene informatie over de OATH applicatie: + +`ykman oath info` + +- Verander het wachtwoord dat de OATH accounts beschermd (voeg `--clear` toe om het te verwijderen): + +`ykman oath access change` + +- Voeg een nieuw account toe (`--issuer` is optioneel): + +`ykman oath accounts add {{[-i|--issuer]}} {{indiener}} {{naam}}` + +- Toon alle accounts (met hun indiener): + +`ykman oath accounts list` + +- Toon alle accounts met hun huidige TOTP/HOTP codes (optioneel kan deze lijst gefilterd worden met een keyword): + +`ykman oath accounts code {{keyword}}` + +- Hernoem een account: + +`ykman oath accounts rename {{keyword}} {{indiener:naam|naam}}` + +- Verwijder een account: + +`ykman oath accounts delete {{keyword}}` + +- Verwijder alle accounts en herstel de fabrieksinstellingen: + +`ykman oath reset` diff --git a/pages.nl/common/ykman-openpgp.md b/pages.nl/common/ykman-openpgp.md new file mode 100644 index 00000000000000..220285c81f7a39 --- /dev/null +++ b/pages.nl/common/ykman-openpgp.md @@ -0,0 +1,21 @@ +# ykman openpgp + +> Beheer de OpenPGP YubiKey applicatie. +> Let op: je dient `gpg --card-edit` te gebruiken voor sommige instellingen. +> Meer informatie: . + +- Toon algemene informatie over de OpenPGP applicatie: + +`ykman openpgp info` + +- Stel het aantal herstelpogingen in voor de gebruikers pin, herstelcode en admin pin: + +`ykman openpgp access set-retries {{3}} {{3}} {{3}}` + +- Verander de gebruikers pin, herstelcode of admin pin: + +`ykman openpgp access change-{{pin|reset-code|admin-pin}}` + +- Herstel de OpenPGP applicatie naar fabrieksinstellingen (je moet dit doen nadat je het aantal pogingen voor de Admin pin hebt overschreden): + +`ykman openpgp reset` diff --git a/pages.nl/common/ykman.md b/pages.nl/common/ykman.md new file mode 100644 index 00000000000000..ae0ff38ebbd98b --- /dev/null +++ b/pages.nl/common/ykman.md @@ -0,0 +1,29 @@ +# ykman + +> YubiKey Manager - configureer YubiKeys. +> Als er meerdere YubiKeys zijn verbonden, dien je `--device serial_number` toe te voegen voor een subcommando. +> Meer informatie: . + +- Toon algemene informatie over een YubiKey (serienummer, firmware versie, mogelijkheden etc.): + +`ykman info` + +- Toon alle verbonden YubiKeys met een korte, een-regel beschrijving (inclusief het serienummer): + +`ykman list` + +- Bekijk de documentatie voor het in- en uitschakelen van applicaties: + +`tldr ykman config` + +- Bekijk de documentatie voor het beheren van de FIDO applicaties: + +`tldr ykman fido` + +- Bekijk de documentatie voor het beheren van de OATH applicatie: + +`tldr ykman oath` + +- Bekijk de documentatie voor het beheren van de OpenPGP applicatie: + +`tldr ykman openpgp` diff --git a/pages.nl/common/zed.md b/pages.nl/common/zed.md new file mode 100644 index 00000000000000..d3267cba78a98e --- /dev/null +++ b/pages.nl/common/zed.md @@ -0,0 +1,24 @@ +# zed + +> Tekstverwerker ontworpen om snel, efficiënt en handig te zijn. +> Meer informatie: . + +- Open specifieke paden in Zed: + +`zed {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Open een pad op de voorgrond en toon logs: + +`zed {{pad/naar/project}} --foreground` + +- Open een pad in een nieuw venster: + +`zed {{pad/naar/project}} {{[-n|--new]}}` + +- Open een bestand op het opgegeven regelnummer en kolom: + +`zed {{pad/naar/bestand}}:{{regelnummer}}:{{kolomnummer}}` + +- Toon een diff in Zed voor twee versies van een bestand: + +`zed --diff {{pad/naar/oud_bestand}} {{pad/naar/nieuw_bestand}}` diff --git a/pages.nl/common/zeditor.md b/pages.nl/common/zeditor.md new file mode 100644 index 00000000000000..946a8ea5a701b4 --- /dev/null +++ b/pages.nl/common/zeditor.md @@ -0,0 +1,7 @@ +# zeditor + +> Dit commando is een alias van `zed`. + +- Bekijk de documentatie van het originele commando: + +`tldr zed` diff --git a/pages.nl/common/zellij.md b/pages.nl/common/zellij.md new file mode 100644 index 00000000000000..cbb7d76ed3701c --- /dev/null +++ b/pages.nl/common/zellij.md @@ -0,0 +1,25 @@ +# zellij + +> Terminal multiplexer met extra functies. +> Zie ook: `tmux` en `screen`. +> Meer informatie: . + +- Start een nieuwe benaamde sessie: + +`zellij {{[-s|--session]}} {{naam}}` + +- Toon bestaande sessies: + +`zellij {{[ls|list-sessions]}}` + +- Koppel aan de meest recent gebruikte sessie: + +`zellij {{[a|attach]}}` + +- Open een nieuwe pane (binnen een zellij sessie): + +`` + +- Koppel los van de huidige sessie (binnen een zellij sessie): + +`` diff --git a/pages.nl/common/zip.md b/pages.nl/common/zip.md new file mode 100644 index 00000000000000..0fd2231897769e --- /dev/null +++ b/pages.nl/common/zip.md @@ -0,0 +1,33 @@ +# zip + +> Verpak en comprimeer (archiveer) bestanden in een Zip-archief. +> Zie ook: `unzip`. +> Meer informatie: . + +- Voeg bestanden/mappen toe aan een specifiek archief: + +`zip {{[-r|--recurse-paths]}} {{pad/naar/gecomprimeerd.zip}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Verwijder bestanden/mappen uit een specifiek archief: + +`zip {{[-d|--delete]}} {{pad/naar/gecomprimeerd.zip}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Archiveer bestanden/mappen waarbij opgegeven bestanden worden uitgesloten: + +`zip {{[-r|--recurse-paths]}} {{pad/naar/gecomprimeerd.zip}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}} {{[-x|--exclude]}} {{pad/naar/uitgesloten_bestanden_of_mappen}}` + +- Archiveer bestanden/mappen met een specifieke compressieniveau (`0` - het laagste, `9` - het hoogste): + +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{pad/naar/gecomprimeerd.zip}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Maak een encrypted archief met een specifiek wachtwoord: + +`zip {{[-re|--recurse-paths --encrypt]}} {{pad/naar/gecomprimeerd.zip}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Archiveer bestanden/mappen in een multipart split Zip-archief (bijv. 3 GB delen): + +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{pad/naar/gecomprimeerd.zip}} {{pad/naar/bestand_of_map1 pad/naar/bestand_of_map2 ...}}` + +- Print de inhoud van een specifiek archief: + +`zip {{[-sf|--split-size --freshen]}} {{pad/naar/gecomprimeerd.zip}}` diff --git a/pages.nl/common/zless.md b/pages.nl/common/zless.md index 2ddb89ec2ba8ba..4a948926d9ae4e 100644 --- a/pages.nl/common/zless.md +++ b/pages.nl/common/zless.md @@ -1,6 +1,7 @@ # zless > Bekijk gecomprimeerde bestanden. +> Meer informatie: . - Blader door een gecomprimeerd archief met `minder`: diff --git a/pages.nl/common/zsh.md b/pages.nl/common/zsh.md new file mode 100644 index 00000000000000..cdd9b22be4de15 --- /dev/null +++ b/pages.nl/common/zsh.md @@ -0,0 +1,37 @@ +# zsh + +> Z SHell, een Bash-compatibele commandoregel-interpreteerder. +> Zie ook: `bash`, `histexpand`. +> Meer informatie: . + +- Start een interactieve shell sessie: + +`zsh` + +- Voer specifieke [c]ommando's uit: + +`zsh -c "{{echo Hello world}}"` + +- Voer een specifiek script uit: + +`zsh {{pad/naar/script.zsh}}` + +- Controleer een specifiek script op syntax fouten zonder het uit te voeren: + +`zsh --no-exec {{pad/naar/script.zsh}}` + +- Voer specifieke commando's uit van `stdin`: + +`{{echo Hello world}} | zsh` + +- Voer een specifiek script uit en toon elke opdracht in het script voordat deze wordt uitgevoerd: + +`zsh --xtrace {{pad/naar/script.zsh}}` + +- Start een interactieve shell sessie in verbose modus en toon elke opdracht voordat deze wordt uitgevoerd: + +`zsh --verbose` + +- Voer een specifiek commando uit binnen `zsh` met uitgeschakelde glob patronen: + +`noglob {{commando}}` diff --git a/pages.nl/common/zstd.md b/pages.nl/common/zstd.md new file mode 100644 index 00000000000000..2046c1bc21296d --- /dev/null +++ b/pages.nl/common/zstd.md @@ -0,0 +1,24 @@ +# zstd + +> Bestanden comprimeren of decomprimeren met Zstandard compressie. +> Meer informatie: . + +- Comprimeer een bestand naar een nieuw bestand met de `.zst` extensie: + +`zstd {{pad/naar/bestand}}` + +- Decomprimeer een bestand: + +`zstd --decompress {{pad/naar/bestand.zst}}` + +- Decomprimeer naar `stdout`: + +`zstd --decompress --stdout {{pad/naar/bestand.zst}}` + +- Comprimeer een bestand met een specifiek compressie level, waar 1=snelste, 19=langzaamste en 3=standaard: + +`zstd -{{level}} {{pad/naar/bestand}}` + +- Ontgrendel hogere compressieniveaus (tot en met 22) door gebruik te maken van meer geheugen (voor compressie en decompression): + +`zstd --ultra -{{level}} {{pad/naar/bestand}}` diff --git a/pages.nl/common/zstdcat.md b/pages.nl/common/zstdcat.md new file mode 100644 index 00000000000000..9b95ba18094aa6 --- /dev/null +++ b/pages.nl/common/zstdcat.md @@ -0,0 +1,7 @@ +# zstdcat + +> Dit commando is een alias van `zstd --decompress --stdout`. + +- Bekijk de documentatie van het originele commando: + +`tldr zstd` diff --git a/pages.nl/common/zstdmt.md b/pages.nl/common/zstdmt.md new file mode 100644 index 00000000000000..b77f51df254992 --- /dev/null +++ b/pages.nl/common/zstdmt.md @@ -0,0 +1,7 @@ +# zstdmt + +> Dit commando is een alias van `zstd --threads 0` (welke het aantal werkende threads instelt op het aantal fysieke CPU-kernen). + +- Bekijk de documentatie van het originele commando: + +`tldr zstd` diff --git a/pages.nl/common/{.md b/pages.nl/common/{.md new file mode 100644 index 00000000000000..58280f36f5b6f1 --- /dev/null +++ b/pages.nl/common/{.md @@ -0,0 +1,36 @@ +# { + +> Multifunctionele shell-syntax. +> Meer informatie: . + +- Isoleer variabele namen: + +`echo ${{{HOME}work}}` + +- Breid reeksen uit: + +`echo {{{1..3}}} {{{a..c}}}{{{dir1,dir2,dir3}}}` + +- Controleer of `variabele` is ingesteld voordat tekst wordt geretourneerd: + +`echo ${{{variabele:+variabele is set and contains $variabele}}}` + +- Stel standaardwaarden in als `variabele` niet is ingesteld: + +`echo ${{{variabele:-default}}}` + +- Geef de lengte van `variabele` in tekens: + +`echo ${{{#variabele}}}` + +- Geef een sliced string terug: + +`echo ${{{variabele:3:7}}}` + +- Breid een `variabele` recursief uit: + +`echo ${{{!variabele}}}` + +- Groepeer commando uitvoer: + +`{ {{commando1; commando2; ...}} } | {{ander_commando}}` diff --git a/pages.nl/common/}.md b/pages.nl/common/}.md new file mode 100644 index 00000000000000..f18a0874269e26 --- /dev/null +++ b/pages.nl/common/}.md @@ -0,0 +1,7 @@ +# } + +> Dit shell keyword wordt gebruikt om `{` af te sluiten. + +- Bekijk documentatie voor het `{` keyword: + +`tldr {` diff --git a/pages.nl/common/~.md b/pages.nl/common/~.md new file mode 100644 index 00000000000000..c653474d1030fa --- /dev/null +++ b/pages.nl/common/~.md @@ -0,0 +1,16 @@ +# ~ + +> Vouw uit naar een map. +> Meer informatie: . + +- Toon de inhoud van de thuismap van de huidige gebruiker: + +`ls ~` + +- Toon de inhoud van de thuismap van een andere gebruiker: + +`ls ~{{gebruikersnaam}}` + +- Toon de inhoud van de vorige map waar je in zat: + +`ls ~-` diff --git a/pages.nl/freebsd/base64.md b/pages.nl/freebsd/base64.md new file mode 100644 index 00000000000000..6f98b17be028a4 --- /dev/null +++ b/pages.nl/freebsd/base64.md @@ -0,0 +1,28 @@ +# base64 + +> Codeer of decodeer een bestand of `stdin` naar/van base64, naar `stdout` of een ander bestand. +> Meer informatie: . + +- Codeer een bestand naar `stdout`: + +`base64 {{[-i|--input]}} {{pad/naar/bestand}}` + +- Codeer een bestand naar het opgegeven uitvoerbestand: + +`base64 {{[-i|--input]}} {{pad/naar/invoerbestand}} {{[-o|--output]}} {{pad/naar/uitvoerbestand}}` + +- Zet de breedte van de gecodeerde uitvoer op een specifieke waarde (`0` schakelt afbreken uit): + +`base64 {{[-b|--break]}} {{0|76|...}} {{pad/naar/bestand}}` + +- Decodeer een bestand naar `stdout`: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{pad/naar/bestand}}` + +- Codeer van `stdin` naar `stdout`: + +`{{commando}} | base64` + +- Decodeer van `stdin` naar `stdout`: + +`{{commando}} | base64 {{[-d|--decode]}}` diff --git a/pages.nl/freebsd/cal.md b/pages.nl/freebsd/cal.md new file mode 100644 index 00000000000000..455420d1d04633 --- /dev/null +++ b/pages.nl/freebsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> Toon een kalender met de huidige dag gemarkeerd. +> Meer informatie: . + +- Toon een kalender voor de huidige maand: + +`cal` + +- Toon een kalender voor een specifiek jaar: + +`cal {{jaar}}` + +- Toon een kalender voor een specifieke maand en jaar: + +`cal {{maand}} {{jaar}}` + +- Toon de volledige kalender voor het huidige jaar: + +`cal -y` + +- Markeer ([h]) vandaag niet en toon [3] maanden rondom de datum: + +`cal -h -3 {{maand}} {{jaar}}` + +- Toon de 2 maanden voor ([B]) en 3 maanden na ([A]) een specifieke [m]aand van het huidige jaar: + +`cal -A 3 -B 2 {{maand}}` + +- Toon [j]ulian dagen (beginnend vanaf één, genummerd vanaf 1 januari): + +`cal -j` diff --git a/pages.nl/freebsd/chfn.md b/pages.nl/freebsd/chfn.md new file mode 100644 index 00000000000000..4980d49d0c70e5 --- /dev/null +++ b/pages.nl/freebsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/freebsd/chpass.md b/pages.nl/freebsd/chpass.md new file mode 100644 index 00000000000000..36b4b93b70c08f --- /dev/null +++ b/pages.nl/freebsd/chpass.md @@ -0,0 +1,33 @@ +# chpass + +> Gebruikersdatabase informatie toevoegen of wijzigen, inclusief login shell en wachtwoord. +> Zie ook: `passwd`. +> Meer informatie: . + +- Voeg toe of pas interactief de gebruikersdatabase informatie aan voor de huidige gebruiker: + +`su -c chpass` + +- Stel een specifieke login [s]hell in voor de huidige gebruiker: + +`chpass -s {{pad/naar/shell}}` + +- Stel een login [s]hell in voor een specifieke gebruiker: + +`chpass -s {{pad/naar/shell}} {{gebruikersnaam}}` + +- Pas de account v[e]rloop tijd aan (in seconden vanaf de epoch, UTC): + +`su -c 'chpass -e {{tijd}} {{gebruikersnaam}}'` + +- Pas een gebruikerswachtwoord aan:: + +`su -c 'chpass -p {{gecodeerd_wachtwoord}} {{gebruikersnaam}}'` + +- Specificeer een [h]ostnaam of adres van een NIS server: + +`su -c 'chpass -h {{hostnaam}} {{gebruikersnaam}}'` + +- Specificeer een specifiek [d]omein (standaard systeem domein naam): + +`su -c 'chpass -d {{domein}} {{gebruikersnaam}}'` diff --git a/pages.nl/freebsd/chsh.md b/pages.nl/freebsd/chsh.md new file mode 100644 index 00000000000000..b19a340e537fbe --- /dev/null +++ b/pages.nl/freebsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/freebsd/df.md b/pages.nl/freebsd/df.md new file mode 100644 index 00000000000000..981b8d5ed155ac --- /dev/null +++ b/pages.nl/freebsd/df.md @@ -0,0 +1,32 @@ +# df + +> Toon een overzicht van het gebruik van het bestandssysteem op het gebied van schijfruimte. +> Meer informatie: . + +- Toon alle bestandssystemen en hun schijfgebruik met behulp van 512-byte eenheden: + +`df` + +- Gebruik leesbare eenheden (gebaseerd op de macht van 1024) en toon het grote totaal: + +`df -h -c` + +- Gebruik leesbare eenheden (gebaseerd op de macht van 1000): + +`df -{{-si|H}}` + +- Toon het bestandssysteem en het schijfgebruik voor het opgegeven bestand of map: + +`df {{pad/naar/bestand_of_map}}` + +- Neem statistieken op over het aantal beschikbare en gebruikte [i]-knooppunten inclusief de bestandssysteem [T]ypes: + +`df -iT` + +- Gebruik 1024-byte eenheden voor het schrijven van de ruimte figuren: + +`df -k` + +- Toon informatie in een [P]ortable wijze: + +`df -P` diff --git a/pages.nl/freebsd/ipmitool.md b/pages.nl/freebsd/ipmitool.md new file mode 100644 index 00000000000000..f1e5119b810a4c --- /dev/null +++ b/pages.nl/freebsd/ipmitool.md @@ -0,0 +1,16 @@ +# ipmitool + +> Interface met de Intelligent Platform Management Interface (IPMI). +> Meer informatie: . + +- Laad de IPMI kernelmodule voor lokale verbindingen: + +`kldload ipmi.ko` + +- Open de IPMI shell op de lokale hardware: + +`ipmitool shell` + +- Open IPMI shell op een remote host: + +`ipmitool -H {{ip_adres}} -U {{gebruikersnaam}} shell` diff --git a/pages.nl/freebsd/look.md b/pages.nl/freebsd/look.md new file mode 100644 index 00000000000000..2b207a638e859e --- /dev/null +++ b/pages.nl/freebsd/look.md @@ -0,0 +1,21 @@ +# look + +> Toon regels die beginnen met een prefix in een gesorteerd bestand. +> Zie ook: `grep`, `sort`. +> Meer informatie: . + +- Zoek naar regels die beginnen met een specifieke prefix in een specifiek bestand: + +`look {{prefix}} {{pad/naar/bestand}}` + +- Zoek hoofdletterongevoelig alleen op alfanumerieke tekens: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{pad/naar/bestand}}` + +- Specificeer een string-terminatiekarakter (standaard is spatie): + +`look {{[-t|--terminate]}} {{,}}` + +- Zoek in `/usr/share/dict/words` (`--ignore-case` en `--alphanum` worden aangenomen): + +`look {{prefix}}` diff --git a/pages.nl/freebsd/pkg.md b/pages.nl/freebsd/pkg.md new file mode 100644 index 00000000000000..a343cd264bc148 --- /dev/null +++ b/pages.nl/freebsd/pkg.md @@ -0,0 +1,28 @@ +# pkg + +> FreeBSD pakketbeheer. +> Meer informatie: . + +- Installeer een nieuw pakket: + +`pkg install {{pakket}}` + +- Verwijder een pakket: + +`pkg delete {{pakket}}` + +- Upgrade alle pakketten: + +`pkg upgrade` + +- Zoek naar een pakket: + +`pkg search {{keyword}}` + +- Toon alle geïnstalleerde pakketten: + +`pkg info` + +- Verwijder alle onnodige afhankelijkheden: + +`pkg autoremove` diff --git a/pages.nl/freebsd/procstat.md b/pages.nl/freebsd/procstat.md new file mode 100644 index 00000000000000..9315de3982bd60 --- /dev/null +++ b/pages.nl/freebsd/procstat.md @@ -0,0 +1,20 @@ +# procstat + +> Geef gedetailleerde informatie weer over processen in FreeBSD. +> Meer informatie: . + +- Bestandsdescriptors van een specifiek proces weergeven: + +`procstat fds {{pid}}` + +- Toon virtuele geheugentoewijzingen van een proces: + +`procstat vm {{pid}}` + +- Geef procesargumenten weer: + +`procstat arguments {{pid}}` + +- Toon bron limieten van een proces: + +`procstat rlimit {{pid}}` diff --git a/pages.nl/freebsd/sed.md b/pages.nl/freebsd/sed.md new file mode 100644 index 00000000000000..35dfb2bf5b820a --- /dev/null +++ b/pages.nl/freebsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> Pas tekst aan in een op een scriptbare manier. +> Zie ook: `awk`, `ed`. +> Meer informatie: . + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed 's/apple/mango/g'` + +- Voer een specifiek script bestand uit en toon het resultaat in `stdout`: + +`{{commando}} | sed -f {{pad/naar/script.sed}}` + +- Vertraag het openen van elk bestand tot een commando met de gerelateerde `w`-functie of vlag wordt toegepast op een regel invoer: + +`{{commando}} | sed -fa {{pad/naar/script.sed}}` + +- Vervang alle `apple` (uitgebreide regex) met `APPLE` (uitgebreide regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed -E 's/(apple)/\U\1/g'` + +- Toon alleen de eerste regel in `stdout`: + +`{{commando}} | sed -n '1p'` + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in een specifiek bestand en overschrijf het originele bestand: + +`sed -i 's/apple/mango/g' {{pad/naar/bestand}}` diff --git a/pages.nl/freebsd/sockstat.md b/pages.nl/freebsd/sockstat.md new file mode 100644 index 00000000000000..58ca156d83e9a0 --- /dev/null +++ b/pages.nl/freebsd/sockstat.md @@ -0,0 +1,36 @@ +# sockstat + +> Toon open Internet- of UNIX-domeinsockets. +> Meer informatie: . + +- Bekijk welke gebruikers/processen [l]uisteren op welke poorten: + +`sockstat -l` + +- Toon informatie voor IPv[4]/IPv[6] sockets die [l]uisteren op specifieke [p]oorten met een specifiek [P]rotocol: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{poort1,poort2...}}` + +- Toon ook verbonden ([c]) sockets zonder [n]umerieke UID's om te zetten naar gebruikersnamen en met een [w]ijder veldformaat: + +`sockstat -cnw` + +- Toon alleen sockets die behoren tot een specifieke [j]ail ID of naam in [v]erbose modus: + +`sockstat -jv` + +- Toon de protocol[s]tatus en het externe [U]DP-encapsulatiepoortnummer, indien van toepassing (deze zijn momenteel alleen geïmplementeerd voor SCTP en TCP): + +`sockstat -sU` + +- Toon het [C]ongestiecontrolemodule en de protocol[S]tack, indien van toepassing (deze zijn momenteel alleen geïmplementeerd voor TCP): + +`sockstat -CS` + +- Toon alleen internetsockets als de lokale en buitenlandse adressen niet in het loopback-netwerkprefix 127.0.0.0/8 zitten, of niet het IPv6-loopbackadres ::1 bevatten: + +`sockstat -L` + +- Toon de koptekst niet ([q]uiet modus), toon [u]nix-sockets en geef de `inp_gencnt` weer: + +`sockstat -qui` diff --git a/pages.nl/freebsd/ypchfn.md b/pages.nl/freebsd/ypchfn.md new file mode 100644 index 00000000000000..34f5b966ef9058 --- /dev/null +++ b/pages.nl/freebsd/ypchfn.md @@ -0,0 +1,7 @@ +# ypchfn + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/freebsd/ypchpass.md b/pages.nl/freebsd/ypchpass.md new file mode 100644 index 00000000000000..8fd0ce280c6fb2 --- /dev/null +++ b/pages.nl/freebsd/ypchpass.md @@ -0,0 +1,7 @@ +# ypchpass + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/freebsd/ypchsh.md b/pages.nl/freebsd/ypchsh.md new file mode 100644 index 00000000000000..e5b6fa00acc4b5 --- /dev/null +++ b/pages.nl/freebsd/ypchsh.md @@ -0,0 +1,7 @@ +# ypchsh + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/linux/aa-complain.md b/pages.nl/linux/aa-complain.md new file mode 100644 index 00000000000000..458a4d2bc3c148 --- /dev/null +++ b/pages.nl/linux/aa-complain.md @@ -0,0 +1,13 @@ +# aa-complain + +> Stel een AppArmor-profiel in op klaagmodus. +> Zie ook: `aa-disable`, `aa-enforce`, `aa-status`. +> Meer informatie: . + +- Stel een profiel in op klaagmodus: + +`sudo aa-complain {{pad/naar/profiel1 pad/naar/profiel2 ...}}` + +- Stel profielen in op klaagmodus: + +`sudo aa-complain {{[-d|--dir]}} {{pad/naar/profielen}}` diff --git a/pages.nl/linux/aa-disable.md b/pages.nl/linux/aa-disable.md new file mode 100644 index 00000000000000..760dbcd43dbcda --- /dev/null +++ b/pages.nl/linux/aa-disable.md @@ -0,0 +1,13 @@ +# aa-disable + +> Schakel AppArmor-beveiligingsprofielen uit. +> Zie ook: `aa-complain`, `aa-enforce`, `aa-status`. +> Meer informatie: . + +- Schakel een profiel uit: + +`sudo aa-disable {{pad/naar/profiel1 pad/naar/profiel2 ...}}` + +- Schakel profielen uit (standaard naar `/etc/apparmor.d`): + +`sudo aa-disable --dir {{pad/naar/profielen}}` diff --git a/pages.nl/linux/aa-enforce.md b/pages.nl/linux/aa-enforce.md new file mode 100644 index 00000000000000..7e910790b09aa0 --- /dev/null +++ b/pages.nl/linux/aa-enforce.md @@ -0,0 +1,13 @@ +# aa-enforce + +> Stel een AppArmor-profiel in op afdwingmodus. +> Zie ook: `aa-complain`, `aa-disable`, `aa-status`. +> Meer informatie: . + +- Schakel een profiel in: + +`sudo aa-enforce {{[-d|--dir]}} {{pad/naar/profiel}}` + +- Schakel profielen in: + +`sudo aa-enforce {{pad/naar/profiel1 pad/naar/profiel2 ...}}` diff --git a/pages.nl/linux/aa-status.md b/pages.nl/linux/aa-status.md new file mode 100644 index 00000000000000..64ef4f0f01c644 --- /dev/null +++ b/pages.nl/linux/aa-status.md @@ -0,0 +1,25 @@ +# aa-status + +> Toon de momenteel geladen AppArmor-modules. +> Zie ook: `aa-complain`, `aa-disable`, `aa-enforce`. +> Meer informatie: . + +- Controleer de status: + +`sudo aa-status` + +- Toon het aantal geladen profielen: + +`sudo aa-status --profiled` + +- Toon het aantal geladen afdwingende profielen: + +`sudo aa-status --enforced` + +- Toon het aantal geladen niet-afdwingende profielen: + +`sudo aa-status --complaining` + +- Toon het aantal geladen afdwingende profielen die taken beëindigen: + +`sudo aa-status --kill` diff --git a/pages.nl/linux/abrt-cli.md b/pages.nl/linux/abrt-cli.md new file mode 100644 index 00000000000000..0a6e010ae94ff1 --- /dev/null +++ b/pages.nl/linux/abrt-cli.md @@ -0,0 +1,29 @@ +# abrt-cli + +> Automatisch bug rapportage hulpmiddel voor Fedora-gebaseerde systemen. +> Gebruikt om applicatie crashes te detecteren, analyseren en rapporteren. +> Meer informatie: . + +- Lijst van gedetecteerde problemen: + +`abrt-cli list` + +- Toon details van een specifiek probleem: + +`abrt-cli info {{probleem_id}}` + +- Een crashrapport verwijderen: + +`abrt-cli remove {{probleem_id}}` + +- Een probleem rapporteren aan de geconfigureerde bugtracker (bijv. Bugzilla): + +`abrt-cli report {{probleem_id}}` + +- Een logbestand monitoren en een programma starten als er een overeenkomst wordt gevonden: + +`abrt-watch-log -F {{error_string}} {{/var/log/myapp.log}} {{notify-send “Crash gedetecteerd”}}` + +- Genereer handmatig een rapport om te debuggen: + +`abrt-cli report {{[-a|--analyze]}} {{probleem_id}}` diff --git a/pages.nl/linux/abrt.md b/pages.nl/linux/abrt.md new file mode 100644 index 00000000000000..67e29583fe7384 --- /dev/null +++ b/pages.nl/linux/abrt.md @@ -0,0 +1,7 @@ +# abrt + +> Dit commando is een alias van `abrt-cli`. + +- Bekijk de documentatie van het originele commando: + +`tldr abrt-cli` diff --git a/pages.nl/linux/ac.md b/pages.nl/linux/ac.md new file mode 100644 index 00000000000000..5949bd0f46d9d2 --- /dev/null +++ b/pages.nl/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> Toon statistieken over hoe lang gebruikers verbonden zijn geweest. +> Meer informatie: . + +- Toon hoe lang de huidige gebruiker verbonden is geweest in uren: + +`ac` + +- Toon hoe lang gebruikers verbonden zijn geweest in uren: + +`ac {{[-p|--individual-totals]}}` + +- Toon hoe lang een bepaalde gebruiker verbonden is geweest in uren: + +`ac {{[-p|--individual-totals]}} {{gebruikersnaam}}` + +- Toon hoe lang een bepaalde gebruiker per dag verbonden is geweest in uren (met totaal): + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{gebruikersnaam}}` + +- Toon ook extra details: + +`ac --compatibility` diff --git a/pages.nl/linux/add-apt-repository.md b/pages.nl/linux/add-apt-repository.md new file mode 100644 index 00000000000000..4e4e885861dfb0 --- /dev/null +++ b/pages.nl/linux/add-apt-repository.md @@ -0,0 +1,20 @@ +# add-apt-repository + +> Beheer `apt` repository-definities. +> Meer informatie: . + +- Voeg een nieuwe `apt` repository toe: + +`add-apt-repository {{repository_spec}}` + +- Verwijder een `apt` repository: + +`add-apt-repository {{[-r|--remove]}} {{repository_spec}}` + +- Werk de pakketcache bij na het toevoegen van een repository: + +`add-apt-repository --update {{repository_spec}}` + +- Sta toe dat bronpakketten worden gedownload vanuit de repository: + +`add-apt-repository {{[-s|--enable-source]}} {{repository_spec}}` diff --git a/pages.nl/linux/adduser.md b/pages.nl/linux/adduser.md new file mode 100644 index 00000000000000..030d4c5650087f --- /dev/null +++ b/pages.nl/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> Hulpprogramma voor het aanmaken van gebruikers. +> Meer informatie: . + +- Maak een nieuwe gebruiker aan met een standaard thuismap en vraag de gebruiker een wachtwoord in te stellen: + +`adduser {{gebruikersnaam}}` + +- Maak een nieuwe gebruiker aan zonder thuismap: + +`adduser --no-create-home {{gebruikersnaam}}` + +- Maak een nieuwe gebruiker aan met een thuismap op het opgegeven pad: + +`adduser --home {{pad/naar/thuismap}} {{gebruikersnaam}}` + +- Maak een gebruiker aan met de opgegeven shell als login-shell: + +`adduser --shell {{pad/naar/shell}} {{gebruikersnaam}}` + +- Maak een nieuwe gebruiker aan die tot de opgegeven groep behoort: + +`adduser --ingroup {{groep}} {{gebruikersnaam}}` diff --git a/pages.nl/linux/alternatives.md b/pages.nl/linux/alternatives.md new file mode 100644 index 00000000000000..4b20df6f54876a --- /dev/null +++ b/pages.nl/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Dit commando is een alias van `update-alternatives`. + +- Bekijk de documentatie van het originele commando: + +`tldr update-alternatives` diff --git a/pages.nl/linux/apparmor_status.md b/pages.nl/linux/apparmor_status.md new file mode 100644 index 00000000000000..6a6f8f98b26616 --- /dev/null +++ b/pages.nl/linux/apparmor_status.md @@ -0,0 +1,7 @@ +# apparmor_status + +> Dit commando is een alias van `aa-status`. + +- Bekijk de documentatie van het originele commando: + +`tldr aa-status` diff --git a/pages.nl/linux/apport-bug.md b/pages.nl/linux/apport-bug.md new file mode 100644 index 00000000000000..11e0be38ecc657 --- /dev/null +++ b/pages.nl/linux/apport-bug.md @@ -0,0 +1,20 @@ +# apport-bug + +> Dien een bugrapport in over Ubuntu. +> Meer informatie: . + +- Meld een bug over het hele systeem: + +`apport-bug` + +- Meld een bug over een specifiek pakket: + +`apport-bug {{pakket}}` + +- Meld een bug over een specifiek uitvoerbaar bestand: + +`apport-bug {{pad/naar/executable}}` + +- Meld een bug over een specifiek proces: + +`apport-bug {{PID}}` diff --git a/pages.nl/linux/apt-add-repository.md b/pages.nl/linux/apt-add-repository.md new file mode 100644 index 00000000000000..d581efa214da34 --- /dev/null +++ b/pages.nl/linux/apt-add-repository.md @@ -0,0 +1,7 @@ +# apt-add-repository + +> Dit commando is een alias van `add-apt-repository`. + +- Bekijk de documentatie van het originele commando: + +`tldr add-apt-repository` diff --git a/pages.nl/linux/apt-get.md b/pages.nl/linux/apt-get.md new file mode 100644 index 00000000000000..0809ed8cf732f7 --- /dev/null +++ b/pages.nl/linux/apt-get.md @@ -0,0 +1,37 @@ +# apt-get + +> Hulpprogramma voor pakketbeheer van Debian en Ubuntu. +> Zoek naar pakketten met `apt-cache`. +> Meer informatie: . + +- Werk de lijst van beschikbare pakketten en versies bij (het wordt aanbevolen dit uit te voeren voor elk ander `apt-get` commando): + +`apt-get update` + +- Installeer specifieke pakketten of werk ze bij naar de nieuwste beschikbare versies: + +`apt-get install {{pakket1 pakket2 ...}}` + +- Verwijder specifieke pakketten: + +`apt-get remove {{pakket1 pakket2 ...}}` + +- Verwijder specifieke pakketten en hun configuratiebestanden: + +`apt-get purge {{pakket1 pakket2 ...}}` + +- Upgrade alle geïnstalleerde pakketten naar hun nieuwste beschikbare versies: + +`apt-get upgrade` + +- Schoon de lokale repository op - verwijder pakketbestanden (`.deb`) van onderbroken downloads die niet langer kunnen worden gedownload: + +`apt-get autoclean` + +- Verwijder alle pakketten die niet meer nodig zijn: + +`apt-get autoremove` + +- Upgrade geïnstalleerde pakketten (zoals `upgrade`), maar verwijder verouderde pakketten en installeer aanvullende pakketten om aan nieuwe dependencies te voldoen: + +`apt-get dist-upgrade` diff --git a/pages.nl/linux/apt-install.md b/pages.nl/linux/apt-install.md new file mode 100644 index 00000000000000..b1c3e28d315239 --- /dev/null +++ b/pages.nl/linux/apt-install.md @@ -0,0 +1,12 @@ +# apt install + +> Installeer pakketten voor op Debian gebaseerde distributies. +> Meer informatie: . + +- Installeer een pakket of update het naar de nieuwste versie: + +`sudo apt install {{pakket}}` + +- Toon gedetailleerde informatie over de pakketversie tijdens het installeren of updaten: + +`sudo apt install {{[-V|--verbose-versions]}} {{pakket}}` diff --git a/pages.nl/linux/apt.md b/pages.nl/linux/apt.md new file mode 100644 index 00000000000000..0d9c0a98fa52a9 --- /dev/null +++ b/pages.nl/linux/apt.md @@ -0,0 +1,38 @@ +# apt + +> Pakketbeheerder voor op Debian gebaseerde distributies. +> Gebruiksvriendelijk alternatief voor `apt-get` voor interactief gebruik. +> Voor gelijkwaardige commando's in andere pakket managers, zie . +> Meer informatie: . + +- Werk de lijst van beschikbare pakketten en versies bij (het wordt aanbevolen dit uit te voeren voor elk ander `apt` commando): + +`sudo apt update` + +- Zoek naar pakketten op naam of beschrijving: + +`apt search {{pakket}}` + +- Zoek naar pakketten op naam (ondersteund wildcards zoals `*`): + +`apt list {{pakket}}` + +- Toon gedetailleerde informatie voor een specifiek pakket: + +`apt show {{pakket}}` + +- Installeer specifieke pakketten of werk ze bij naar de nieuwste versies: + +`sudo apt install {{pakket}}` + +- Verwijder specifieke pakketten (gebruik in plaats daarvan `purge` om ook hun configuratiebestanden te verwijderen): + +`sudo apt remove {{pakket}}` + +- Upgrade alle geïnstalleerde pakketten naar hun nieuwste versies: + +`sudo apt upgrade` + +- Toon alle geïnstalleerde pakketten: + +`apt list {{[-i|--installed]}}` diff --git a/pages.nl/linux/apx-pkgmanagers.md b/pages.nl/linux/apx-pkgmanagers.md new file mode 100644 index 00000000000000..16d4c6970d78c8 --- /dev/null +++ b/pages.nl/linux/apx-pkgmanagers.md @@ -0,0 +1,21 @@ +# apx pkgmanagers + +> Beheer pakketmanagers in `apx`. +> Let op: door gebruikers gecreëerde pakketbeheerconfiguraties worden opgeslagen in `~/.local/share/apx/pkgmanagers`. +> Meer informatie: . + +- Maak interactief een nieuwe configuratie voor een pakketbeheer: + +`apx pkgmanagers create` + +- Toon alle beschikbare pakketbeheerconfiguraties: + +`apx pkgmanagers list` + +- Verwijder een configuratie van een pakketbeheer: + +`apx pkgmanagers rm --name {{string}}` + +- Geef informatie weer over een specifieke pakketbeheer: + +`apx pkgmanagers show {{naam}}` diff --git a/pages.nl/linux/apx-stacks.md b/pages.nl/linux/apx-stacks.md new file mode 100644 index 00000000000000..81a288ccc23f74 --- /dev/null +++ b/pages.nl/linux/apx-stacks.md @@ -0,0 +1,29 @@ +# apx stacks + +> Beheer stacks in `apx`. +> Let op: door gebruikers gecreëerde pakketbeheerconfiguraties worden opgeslagen in `~/.local/share/apx/pkgmanagers`. +> Meer informatie: . + +- Maak interactief een nieuwe stack configuratie: + +`apx stacks new` + +- Update interactief een nieuwe stack configuratie: + +`apx stacks update {{naam}}` + +- Toon alle beschikbare stack configuraties: + +`apx stacks list` + +- Verwijder een specifieke stack configuratie: + +`apx stacks rm --name {{string}}` + +- Importeer een stack configuratie: + +`apx stacks import --input {{pad/naar/stack.yml}}` + +- Exporteer de stack configuratie (Let op: de output flag is optioneel, het wordt standaard geëxporteerd naar de huidige map): + +`apx stacks export --name {{string}} --output {{pad/naar/output_bestand}}` diff --git a/pages.nl/linux/apx-subsystems.md b/pages.nl/linux/apx-subsystems.md new file mode 100644 index 00000000000000..b5e50054c08c61 --- /dev/null +++ b/pages.nl/linux/apx-subsystems.md @@ -0,0 +1,29 @@ +# apx subsystems + +> Beheer subsystemen in `apx`. +> Subsystemen zijn containers die kunnen worden gemaakt op basis van reeds bestaande stapels. +> Meer informatie: . + +- Maak interactief een nieuw subsysteem: + +`apx subsystems new` + +- Toon alle beschikbare subsystemen: + +`apx subsystems list` + +- Reset een specifiek subsysteem naar zijn initiële toestand: + +`apx subsystems reset {{[-n|--name]}} {{string}}` + +- [f]orceer een reset van een specifiek subsysteem: + +`apx subsystems reset {{[-n|--name]}} {{string}} {{[-f|--force]}}` + +- Verwijder een specifiek subsysteem: + +`apx subsystems rm {{[-n|--name]}} {{string}}` + +- [f]orceer het verwijderen van een specifiek subsysteem: + +`apx subsystems rm {{[-n|--name]}} {{string}} {{[-f|--force]}}` diff --git a/pages.nl/linux/apx.md b/pages.nl/linux/apx.md new file mode 100644 index 00000000000000..398bf1cbe1e738 --- /dev/null +++ b/pages.nl/linux/apx.md @@ -0,0 +1,16 @@ +# apx + +> Pakketbeheerhulpprogramma met ondersteuning voor meerdere bronnen, zodat u pakketten in subsystemen kunt installeren. +> Meer informatie: . + +- Bekijk de documentatie voor het beheren van pakketmanagers: + +`tldr apx pkgmanagers` + +- Bekijk de documentatie voor het beheren van stapels: + +`tldr apx stacks` + +- Bekijk de documentatie voor het beheren van subsystemen: + +`tldr apx subsystems` diff --git a/pages.nl/linux/archey.md b/pages.nl/linux/archey.md new file mode 100644 index 00000000000000..90b461307a714f --- /dev/null +++ b/pages.nl/linux/archey.md @@ -0,0 +1,8 @@ +# archey + +> Eenvoudige tool voor het stijlvol weergeven van systeeminformatie. +> Meer informatie: . + +- Toon systeeminformatie: + +`archey` diff --git a/pages.nl/linux/archinstall.md b/pages.nl/linux/archinstall.md new file mode 100644 index 00000000000000..b3a5b04fbee71c --- /dev/null +++ b/pages.nl/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> Begeleidende Arch Linux installatie met een twist. +> Meer informatie: . + +- Start de interactieve installatie: + +`archinstall` + +- Start de template installatie: + +`archinstall {{minimal|unattended}}` diff --git a/pages.nl/linux/as.md b/pages.nl/linux/as.md new file mode 100644 index 00000000000000..60d276f345fc5c --- /dev/null +++ b/pages.nl/linux/as.md @@ -0,0 +1,21 @@ +# as + +> Draagbare GNU assembler. +> Voornamelijk bedoeld om uitvoer van `gcc` te assembleren voor gebruik door `ld`. +> Meer informatie: . + +- Assembleer een bestand en schrijf de output naar `a.out`: + +`as {{pad/naar/bestand.s}}` + +- Assembleer de output naar een specifiek bestand: + +`as {{pad/naar/bestand.s}} -o {{pad/naar/uitvoer_bestand.o}}` + +- Genereer sneller output door spaties en commentaarvoorverwerking over te slaan. (Moet alleen worden gebruikt voor vertrouwde compilers): + +`as -f {{pad/naar/bestand.s}}` + +- Voeg een specifiek pad toe aan de lijst met mappen om te zoeken naar bestanden die zijn opgegeven in `.include`-richtlijnen: + +`as -I {{pad/naar/map}} {{pad/naar/bestand.s}}` diff --git a/pages.nl/linux/avahi-resolve-address.md b/pages.nl/linux/avahi-resolve-address.md new file mode 100644 index 00000000000000..7f1e11414c513b --- /dev/null +++ b/pages.nl/linux/avahi-resolve-address.md @@ -0,0 +1,7 @@ +# avahi-resolve-address + +> Dit commando is een alias van `avahi-resolve --address`. + +- Bekijk de documentatie van het originele commando: + +`tldr avahi-resolve` diff --git a/pages.nl/linux/avahi-resolve-host-name.md b/pages.nl/linux/avahi-resolve-host-name.md new file mode 100644 index 00000000000000..1019ddf50775b9 --- /dev/null +++ b/pages.nl/linux/avahi-resolve-host-name.md @@ -0,0 +1,7 @@ +# avahi-resolve-host-name + +> Dit commando is een alias van `avahi-resolve --name`. + +- Bekijk de documentatie van het originele commando: + +`tldr avahi-resolve` diff --git a/pages.nl/linux/avahi-resolve.md b/pages.nl/linux/avahi-resolve.md new file mode 100644 index 00000000000000..0b7a1e44cb08c4 --- /dev/null +++ b/pages.nl/linux/avahi-resolve.md @@ -0,0 +1,12 @@ +# avahi-resolve + +> Vertaal tussen hostnamen en IP-adressen. +> Meer informatie: . + +- Zet een lokale service om naar zijn IPv4-adres: + +`avahi-resolve -4 {{[-n|--name]}} {{service.local}}` + +- Vertaal een IP naar een hostnaam, verbose: + +`avahi-resolve {{[-v|--verbose]}} {{[-a|--address]}} {{IP}}` diff --git a/pages.nl/linux/batcat.md b/pages.nl/linux/batcat.md new file mode 100644 index 00000000000000..515ed93a98de84 --- /dev/null +++ b/pages.nl/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Dit commando is een alias van `bat`. + +- Bekijk de documentatie van het originele commando: + +`tldr bat` diff --git a/pages.nl/linux/bleachbit.md b/pages.nl/linux/bleachbit.md new file mode 100644 index 00000000000000..921d13d4dc7891 --- /dev/null +++ b/pages.nl/linux/bleachbit.md @@ -0,0 +1,24 @@ +# bleachbit + +> Verwijder overbodige bestanden op het bestandssysteem. +> Meer informatie: . + +- Start de grafische gebruikersinterface (GUI) van Bleachbit: + +`bleachbit --gui` + +- Versnipper een bestand: + +`bleachbit {{[-s|--shred]}} {{pad/naar/bestand}}` + +- Toon beschikbare schoonmaakopties: + +`bleachbit {{[-l|--list-cleaners]}}` + +- Bekijk een voorbeeld van de bestanden die zullen worden verwijderd en andere wijzigingen die worden doorgevoerd voordat de schoonmaakoperatie wordt uitgevoerd: + +`bleachbit {{[-p|--preview]}} --preset {{cleaner1.option1 cleaner2.option2 ...}}` + +- Voer de schoonmaakoperatie uit en verwijder bestanden: + +`bleachbit {{[-c|--clean]}} --preset {{cleaner1.option1 cleaner2.option2 ...}}` diff --git a/pages.nl/linux/brightnessctl.md b/pages.nl/linux/brightnessctl.md new file mode 100644 index 00000000000000..f5320c64ba2996 --- /dev/null +++ b/pages.nl/linux/brightnessctl.md @@ -0,0 +1,28 @@ +# brightnessctl + +> Hulpprogramma voor het uitlezen en besturen van de helderheid van apparaten voor Linux-besturingssystemen. +> Meer informatie: . + +- Toon apparaten met aanpasbare helderheid: + +`brightnessctl {{[-l|--list]}}` + +- Toon de huidige helderheid van het standaardapparaat: + +`brightnessctl {{[g|get]}}` + +- Toon de huidige helderheid van een bepaald apparaat (kan een wildcard zijn): + +`brightnessctl {{[g|get]}} {{[-d|--device]}} '{{apparaatnaam}}'` + +- Stel de helderheid in op een bepaald percentage: + +`brightnessctl {{[s|set]}} {{50}}%` + +- Verhoog de helderheid met een bepaald percentage: + +`brightnessctl {{[s|set]}} +{{10}}%` + +- Verlaag de helderheid met een bepaald percentage: + +`brightnessctl {{[s|set]}} {{10}}%-` diff --git a/pages.nl/linux/bspc.md b/pages.nl/linux/bspc.md new file mode 100644 index 00000000000000..b8fd8fc4766289 --- /dev/null +++ b/pages.nl/linux/bspc.md @@ -0,0 +1,29 @@ +# bspc + +> Een tool om `bspwm` te besturen. +> Zie ook: `bspwm`. +> Meer informatie: . + +- Definieer twee virtuele bureaubladen: + +`bspc monitor {{[-d|--reset-desktops]}} {{1}} {{2}}` + +- Focus op het gegeven bureaublad: + +`bspc desktop {{[-f|--focus]}} {{nummer}}` + +- Sluit de vensters die afgetakt zijn van de geselecteerde node: + +`bspc node {{[-c|--close]}}` + +- Stuur de geselecteerde node naar het opgegeven bureaublad: + +`bspc node {{[-d|--to-desktop]}} {{nummer}}` + +- Schakel de modus volledig scherm in voor de geselecteerde node: + +`bspc node {{[-t|--state]}} ~fullscreen` + +- Zet de waarde van een specifieke instelling: + +`bspc config {{instelling}} {{waarde}}` diff --git a/pages.nl/linux/bspwm.md b/pages.nl/linux/bspwm.md new file mode 100644 index 00000000000000..17b4c23eda7891 --- /dev/null +++ b/pages.nl/linux/bspwm.md @@ -0,0 +1,9 @@ +# bspwm + +> Een tegelvensterbeheerder gebaseerd op binaire ruimtepartitionering. +> Zie ook: `bspc`, voor het aansturen. +> Meer informatie: . + +- Start `bspwm` (houd er rekening mee dat een reeds bestaande vensterbeheerder niet geopend mag zijn wanneer dit commando wordt uitgevoerd): + +`bspwm -c {{pad/naar/config}}` diff --git a/pages.nl/linux/caffeinate.md b/pages.nl/linux/caffeinate.md new file mode 100644 index 00000000000000..4c05147a2adfc4 --- /dev/null +++ b/pages.nl/linux/caffeinate.md @@ -0,0 +1,8 @@ +# caffeinate + +> Voorkom dat de desktop in slaapstand gaat. +> Meer informatie: . + +- Voorkom dat de desktop in slaapstand gaat (gebruik `` om te stoppen): + +`caffeinate` diff --git a/pages.nl/linux/cal.md b/pages.nl/linux/cal.md new file mode 100644 index 00000000000000..7b6509a69180ce --- /dev/null +++ b/pages.nl/linux/cal.md @@ -0,0 +1,32 @@ +# cal + +> Toon kalenderinformatie, met de huidige dag gemarkeerd. +> Meer informatie: . + +- Toon een kalender voor de huidige maand: + +`cal` + +- Toon [3] maanden (vorige, huidige en volgende): + +`cal {{[-3|--three]}}` + +- Toon de volledige kalender voor het huidige jaar: + +`cal {{[-y|--year]}}` + +- Toon de volgende twaalf maanden: + +`cal {{[-Y|--twelve]}}` + +- Gebruik maandag als de eerste dag van de week: + +`cal {{[-m|--monday]}}` + +- Toon een kalender voor een specifiek jaar (4 cijfers): + +`cal {{jaar}}` + +- Toon een kalender voor een specifieke maand en jaar: + +`cal {{maand}} {{jaar}}` diff --git a/pages.nl/linux/cat.md b/pages.nl/linux/cat.md new file mode 100644 index 00000000000000..db2288f0604aed --- /dev/null +++ b/pages.nl/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> Print en concateneer bestanden. +> Meer informatie: . + +- Print de inhoud van een bestand naar `stdout`: + +`cat {{pad/naar/bestand}}` + +- Concateneer meerdere bestanden in een uitvoerbestand: + +`cat {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/uitvoerbestand}}` + +- Voeg meerdere bestanden toe aan een uitvoerbestand: + +`cat {{pad/naar/bestand1 pad/naar/bestand2 ...}} >> {{pad/naar/uitvoerbestand}}` + +- Schrijf `stdin` naar een bestand: + +`cat - > {{pad/naar/bestand}}` + +- [n]ummer alle uitvoerregels: + +`cat {{[-n|--number]}} {{pad/naar/bestand}}` + +- Toon niet-afdrukbare en witruimtekarakters (met `M-` prefix als niet-ASCII): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/cc.md b/pages.nl/linux/cc.md new file mode 100644 index 00000000000000..de7581446ff3b1 --- /dev/null +++ b/pages.nl/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Dit commando is een alias van `gcc`. + +- Bekijk de documentatie van het originele commando: + +`tldr gcc` diff --git a/pages.nl/linux/certbot.md b/pages.nl/linux/certbot.md new file mode 100644 index 00000000000000..9e67b9a2736a04 --- /dev/null +++ b/pages.nl/linux/certbot.md @@ -0,0 +1,29 @@ +# certbot + +> De Let's Encrypt Agent om automatisch TLS certificaten te verkrijgen en te vernieuwen. +> Opvolger van `letsencrypt`. +> Meer informatie: . + +- Verkrijg een nieuw certificaat via webroot authorisatie, maar installeer het certificaat niet automatisch: + +`sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{pad/naar/webroot}} {{[-d|--domain]}} {{subdomein.example.com}}` + +- Verkrijg een nieuw certificaat via nginx authorisatie, installeer het nieuwe certificaat automatisch: + +`sudo certbot --nginx {{[-d|--domain]}} {{subdomein.example.com}}` + +- Verkrijg een nieuw certificaat via apache authorisatie, installeer het nieuwe certificaat automatisch: + +`sudo certbot --apache {{[-d|--domain]}} {{subdomein.example.com}}` + +- Vernieuw alle Let's Encrypt certificaten die binnen 30 dagen verlopen (vergeet achteraf niet alle servers te herstarten die dit certificaat gebruiken): + +`sudo certbot renew` + +- Simuleer het verkrijgen van een nieuw certificaat, maar sla deze niet op, op een harde schijf: + +`sudo certbot --webroot {{[-w|--webroot-path]}} {{pad/naar/webroot}} {{[-d|--domain]}} {{subdomein.example.com}} --dry-run` + +- Verkrijg een onvertrouwd test certificaat: + +`sudo certbot --webroot {{[-w|--webroot-path]}} {{pad/naar/webroot}} {{[-d|--domain]}} {{subdomein.example.com}} --test-cert` diff --git a/pages.nl/linux/cfdisk.md b/pages.nl/linux/cfdisk.md new file mode 100644 index 00000000000000..2468925bae0a95 --- /dev/null +++ b/pages.nl/linux/cfdisk.md @@ -0,0 +1,12 @@ +# cfdisk + +> Een programma voor het beheren van partitie tabellen en partities op een harde schijf met het gebruik van een UI. +> Meer informatie: . + +- Start de partitie manipulator met een specifiek apparaat: + +`cfdisk {{/dev/sdX}}` + +- Creëer een nieuwe partitie tabel voor een specifiek apparaat en beheer het: + +`cfdisk {{[-z|--zero]}} {{/dev/sdX}}` diff --git a/pages.nl/linux/cgclassify.md b/pages.nl/linux/cgclassify.md new file mode 100644 index 00000000000000..c056938946bf8c --- /dev/null +++ b/pages.nl/linux/cgclassify.md @@ -0,0 +1,16 @@ +# cgclassify + +> Verplaats lopende taken naar opgegeven `cgroups`. +> Meer informatie: . + +- Verplaats het proces met een specifiek PID naar de controle groep student in de CPU hierarchie: + +`cgclassify -g {{cpu:student}} {{1234}}` + +- Verplaats het proces met een specifiek PID naar de controle groepen gebaseerd op het `/etc/cgrules.conf` configuratie bestand: + +`cgclassify {{1234}}` + +- Verplaats het proces met een specifiek PID naar de controle groep student in de CPU hierarchy. Let op: de daemon van de service `cgred` veranderd `cgroups` van de specifieke PID en zijn onderliggende processen niet (gebaseerd op `/etc/cgrules.conf`): + +`cgclassify --sticky -g {{cpu:/student}} {{1234}}` diff --git a/pages.nl/linux/cgcreate.md b/pages.nl/linux/cgcreate.md new file mode 100644 index 00000000000000..61da7fd1fa9ecd --- /dev/null +++ b/pages.nl/linux/cgcreate.md @@ -0,0 +1,17 @@ +# cgcreate + +> Maak cgroups, gebruikt om bronnen te beperken, te meten en te regelen die door processen worden gebruikt. +> `cgroups` types kunnen een van `memory`, `cpu`, `net_cls`, etc. zijn. +> Meer informatie: . + +- Maak een nieuwe groep: + +`cgcreate -g {{groep_type}}:{{groepsnaam}}` + +- Maak een nieuwe groep met meerdere cgroep typen: + +`cgcreate -g {{groep_type1}},{{groep_type2}}:{{groepsnaam}}` + +- Maak een subgroep: + +`mkdir /sys/fs/cgroup/{{groep_type}}/{{groepsnaam}}/{{subgroep_naam}}` diff --git a/pages.nl/linux/cgexec.md b/pages.nl/linux/cgexec.md new file mode 100644 index 00000000000000..fbdd282dc216ab --- /dev/null +++ b/pages.nl/linux/cgexec.md @@ -0,0 +1,9 @@ +# cgexec + +> Beperk, meet en beheers bronnen die door processen worden gebruikt. +> Er bestaan meerdere cgroup types (oftwel controllers), zoals `cpu`, `memory`, etc. +> Meer informatie: . + +- Voer een proces uit in een bepaalde cgroup met een bepaalde controller: + +`cgexec -g {{controller}}:{{cgroup_naam}} {{proces_naam}}` diff --git a/pages.nl/linux/cgroups.md b/pages.nl/linux/cgroups.md new file mode 100644 index 00000000000000..aa454b178c5140 --- /dev/null +++ b/pages.nl/linux/cgroups.md @@ -0,0 +1,17 @@ +# cgroups + +> Cgroups aka Control Groups is een Linux-kernelfunctie voor het beperken, meten en beheersen van het gebruik van hulpbronnen door processen. +> Cgroups is echter geen commando, maar eerder een verzameling van commando's, zie de relevante pagina's hieronder. +> Meer informatie: . + +- Toon de tldr pagina voor `cgclassify`: + +`tldr cgclassify` + +- Toon de tldr pagina voor `cgcreate`: + +`tldr cgcreate` + +- Toon de tldr pagina voor `cgexec`: + +`tldr cgexec` diff --git a/pages.nl/linux/chcon.md b/pages.nl/linux/chcon.md new file mode 100644 index 00000000000000..79567c43299f03 --- /dev/null +++ b/pages.nl/linux/chcon.md @@ -0,0 +1,32 @@ +# chcon + +> Verander SELinux beveiligingscontext van een bestand of bestanden/mappen. +> Meer informatie: . + +- Toon beveiligingscontext van een bestand: + +`ls {{[-lZ|-l --context]}} {{pad/naar/bestand}}` + +- Verander de beveiligingscontext van een doelbestand, door gebruik te maken van een referentiebestand: + +`chcon --reference {{referentiebestand}} {{doelbestand}}` + +- Verander de volledige SELinux beveiligingscontext van een bestand: + +`chcon {{gebruiker}}:{{rol}}:{{type}}:{{bereik/niveau}} {{bestandsnaam}}` + +- Verander alleen het gebruikersgedeelte van de SELinux beveiligingscontext: + +`chcon {{[-u|--user]}} {{user}} {{bestandsnaam}}` + +- Verander alleen het rolgedeelte van de SELinux beveiligingscontext: + +`chcon {{[-r|--role]}} {{rol}} {{bestandsnaam}}` + +- Verander alleen het typegedeelte van de SELinux beveiligingscontext: + +`chcon {{[-t|--type]}} {{type}} {{bestandsnaam}}` + +- Verander alleen het bereik/niveaugedeelte van de SELinux beveiligingscontext: + +`chcon {{[-l|--range]}} {{bereik/niveau}} {{bestandsnaam}}` diff --git a/pages.nl/linux/chfn.md b/pages.nl/linux/chfn.md new file mode 100644 index 00000000000000..9b9349fc70c6de --- /dev/null +++ b/pages.nl/linux/chfn.md @@ -0,0 +1,20 @@ +# chfn + +> Werk de `finger`-informatie bij voor een gebruiker. +> Meer informatie: . + +- Werk het "Naam"-veld van een gebruiker bij in de uitvoer van `finger`: + +`chfn {{[-f|--full-name]}} {{nieuwe_weergavenaam}} {{gebruikersnaam}}` + +- Werk het "Kantoornummer"-veld van een gebruiker bij voor de uitvoer van `finger`: + +`chfn {{[-o|--office]}} {{nieuw_kantoornummer}} {{gebruikersnaam}}` + +- Werk het "Kantoor Telefoonnummer"-veld van een gebruiker bij voor de uitvoer van `finger`: + +`chfn {{[-p|--office-phone]}} {{nieuw_kantoor_telefoonnummer}} {{gebruikersnaam}}` + +- Werk het "Thuis Telefoonnummer"-veld van een gebruiker bij voor de uitvoer van `finger`: + +`chfn {{[-h|--home-phone]}} {{nieuw_thuis_telefoonnummer}} {{gebruikersnaam}}` diff --git a/pages.nl/linux/chsh.md b/pages.nl/linux/chsh.md new file mode 100644 index 00000000000000..bcf30c4733b4e3 --- /dev/null +++ b/pages.nl/linux/chsh.md @@ -0,0 +1,21 @@ +# chsh + +> Verander de login shell van een gebruiker. +> Onderdeel van `util-linux`. +> Meer informatie: . + +- Stel een specifieke login shell interactief in voor de huidige gebruiker: + +`chsh` + +- Toon beschikbare shells: + +`chsh {{[-l|--list-shells]}}` + +- Stel een specifieke login shell in voor de huidige gebruiker: + +`chsh {{[-s|--shell]}} {{pad/naar/shell}}` + +- Stel een login shell in voor een specifieke gebruiker: + +`sudo chsh {{[-s|--shell]}} {{pad/naar/shell}} {{gebruikersnaam}}` diff --git a/pages.nl/linux/cmus.md b/pages.nl/linux/cmus.md new file mode 100644 index 00000000000000..897ce9add010a2 --- /dev/null +++ b/pages.nl/linux/cmus.md @@ -0,0 +1,34 @@ +# cmus + +> Command-line muziekspeler. +> Gebruik `` om te navigeren, `` om te selecteren en nummers `<1>`-`<8>` om te wisselen tussen verschillende weergaven. +> Zie ook: `ncmpcpp`, `clementine`, `qmmp`. +> Meer informatie: . + +- Open `cmus` in de opgegeven map (dit wordt uw nieuwe werkmap): + +`cmus {{pad/naar/map}}` + +- Voeg een bestand/map toe aan bibliotheek: + +`<:>add {{pad/naar/bestand_of_map}}` + +- Ververs de metadata van nummers in de bibliotheek: + +`<:>update-cache` + +- Zoek naar nummers, albums of artiesten: + +`{{iets}}` + +- Pauzeer/hervat huidig nummer: + +`` + +- Schakel shuffle-modus in/uit: + +`` + +- Sluit `cmus`: + +`` diff --git a/pages.nl/linux/counter-strike-2.md b/pages.nl/linux/counter-strike-2.md new file mode 100644 index 00000000000000..dd6a888abab2e5 --- /dev/null +++ b/pages.nl/linux/counter-strike-2.md @@ -0,0 +1,20 @@ +# Counter Strike 2 + +> Host een headless Counter Strike 2-server. +> Meer informatie: . + +- Start een spel met één kaart: + +`{{pad/naar/cs2}} -dedicated +map {{de_dust2}}` + +- Start een spel met een bepaald maximum aantal spelers: + +`{{pad/naar/cs2}} -dedicated +map {{de_dust2}} -maxplayers {{64}}` + +- Start een spel met een opgegeven server-IP en poort: + +`{{pad/naar/cs2}} -dedicated +map {{de_dust2}} -ip {{1.2.3.4}} -port {{27015}}` + +- Sluit de server af: + +`quit` diff --git a/pages.nl/linux/cs2.md b/pages.nl/linux/cs2.md new file mode 100644 index 00000000000000..337460d6b1ee7b --- /dev/null +++ b/pages.nl/linux/cs2.md @@ -0,0 +1,7 @@ +# cs2 + +> Dit commando is een alias van `counter strike 2`. + +- Bekijk de documentatie van het originele commando: + +`tldr counter strike 2` diff --git a/pages.nl/linux/csplit.md b/pages.nl/linux/csplit.md new file mode 100644 index 00000000000000..65b56c4dc9a4c3 --- /dev/null +++ b/pages.nl/linux/csplit.md @@ -0,0 +1,25 @@ +# csplit + +> Splits een bestand in stukken. +> Dit genereert bestanden zoals "xx00", "xx01" etc. +> Meer informatie: . + +- Splits een bestand op regels 5 en 23: + +`csplit {{pad/naar/bestand}} 5 23` + +- Splits een bestand iedere 5 regels (dit zal falen als het totaal aantal regels niet deelbaar is door 5): + +`csplit {{pad/naar/bestand}} 5 {*}` + +- Splits een bestand iedere 5 regels en negeer de exacte verdeeldheid error: + +`csplit {{[-k|--keep-files]}} {{pad/naar/bestand}} 5 {*}` + +- Splits een bestand op regel 5 en gebruik een aangepaste prefix voor de uitvoerbestanden: + +`csplit {{pad/naar/bestand}} 5 {{[-f|--prefix]}} {{prefix}}` + +- Splits een bestand op een regel die overeenkomt met de reguliere expressie: + +`csplit {{pad/naar/bestand}} /{{reguliere_expressie}}/` diff --git a/pages.nl/linux/dd.md b/pages.nl/linux/dd.md new file mode 100644 index 00000000000000..648e672eec1f47 --- /dev/null +++ b/pages.nl/linux/dd.md @@ -0,0 +1,28 @@ +# dd + +> Converteer en kopieer een bestand. +> Meer informatie: . + +- Maak een opstartbare USB-schijf van een isohybrid-bestand (zoals `archlinux-xxx.iso`) en toon de voortgang: + +`dd if={{pad/naar/bestand.iso}} of={{/dev/usb_schijf}} status=progress` + +- Kopieer een schijf naar een andere schijf met een blokgrootte van 4 MiB en schrijf alle gegevens voordat het commando eindigt: + +`dd bs=4M conv=fsync if={{/dev/bron_schijf}} of={{/dev/doel_schijf}}` + +- Genereer een bestand met een specifiek aantal willekeurige bytes met behulp van de kernel random driver: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{pad/naar/willekeurig_bestand}}` + +- Benchmark de sequentiële schrijfsnelheid van een schijf: + +`dd bs={{1M}} count={{1024}} if=/dev/zero of={{pad/naar/bestand_1GB}}` + +- Maak een systeemback-up, sla deze op in een IMG bestand (kan later worden hersteld door `if` en `of` om te wisselen) en toon de voortgang: + +`dd if={{/dev/schijf_apparaat}} of={{pad/naar/bestand.img}} status=progress` + +- Bekijk de voortgang van een lopende `dd` operatie (voer dit commando uit vanaf een andere shell): + +`kill -USR1 $(pgrep -x dd)` diff --git a/pages.nl/linux/df.md b/pages.nl/linux/df.md new file mode 100644 index 00000000000000..5c868a521e4b79 --- /dev/null +++ b/pages.nl/linux/df.md @@ -0,0 +1,28 @@ +# df + +> Toon een overzicht van het gebruik van het bestandssysteem op het gebied van schijfruimte. +> Meer informatie: . + +- Toon alle bestandssystemen en hun schijfgebruik: + +`df` + +- Toon alle bestandssystemen en hun schijfgebruik in een leesbaar formaat: + +`df {{[-h|--human-readable]}}` + +- Toon het bestandssysteem en het schijfgebruik voor het opgegeven bestand of map: + +`df {{pad/naar/bestand_of_map}}` + +- Neem statistieken op over het aantal beschikbare inodes: + +`df {{[-i|--inodes]}}` + +- Toon bestandssystemen maar negeer specifieke types: + +`df {{[-x|--exclude-type]}} {{squashfs}} {{[-x|--exclude-type]}} {{tmpfs}}` + +- Toon bestandssysteem-types: + +`df {{[-T|--print-type]}}` diff --git a/pages.nl/linux/dir.md b/pages.nl/linux/dir.md new file mode 100644 index 00000000000000..a07d1d8b8a7298 --- /dev/null +++ b/pages.nl/linux/dir.md @@ -0,0 +1,25 @@ +# dir + +> Toon de inhoud van een directory met één regel per bestand, speciale tekens worden weergegeven met backslash-escape-sequenties. +> Werkt als `ls -C --escape`. +> Meer informatie: . + +- Toon alle bestanden, inclusief verborgen bestanden: + +`dir {{[-a|--all]}}` + +- Toon bestanden inclusief hun auteur (`-l` is vereist): + +`dir -l --author` + +- Toon bestanden en sluit degenen uit die overeenkomen met een specifiek patroon: + +`dir --hide {{patroon}}` + +- Toon subdirectories recursief: + +`dir {{[-R|--recursive]}}` + +- Toon de help: + +`dir --help` diff --git a/pages.nl/linux/distrobox-create.md b/pages.nl/linux/distrobox-create.md new file mode 100644 index 00000000000000..e30a931f502c66 --- /dev/null +++ b/pages.nl/linux/distrobox-create.md @@ -0,0 +1,13 @@ +# distrobox-create + +> Maak een Distrobox container. Bekijk ook: `tldr distrobox`. +> De gecreëerde container wordt nauw geïntegreerd met de host, waardoor het delen van de thuismap van de gebruiker, externe opslag, externe USB-apparaten, grafische apps (X11/Wayland) en audio mogelijk is. +> Meer informatie: . + +- Maak een Distrobox container met behulp van het Ubuntu image: + +`distrobox-create {{container_naam}} {{[-i|--image]}} {{ubuntu:latest}}` + +- Kloon een Distrobox container: + +`distrobox-create {{[-c|--clone]}} {{container_naam}} {{gekloonde_container_naam}}` diff --git a/pages.nl/linux/distrobox-enter.md b/pages.nl/linux/distrobox-enter.md new file mode 100644 index 00000000000000..13dd6779836d4c --- /dev/null +++ b/pages.nl/linux/distrobox-enter.md @@ -0,0 +1,17 @@ +# distrobox-enter + +> Betreed een Distrobox container. Bekijk ook: `tldr distrobox`. +> Standaard commando dat wordt uitgevoerd is je SHELL, maar je kan verschillende shells of hele commando's specificeren. Indien gebruikt in een script/applicatie/service, kunt u de `--headless`-modus gebruiken om de tty en interactiviteit uit te schakelen. +> Meer informatie: . + +- Betreed een Distrobox container: + +`distrobox-enter {{container_naam}}` + +- Betreed een Distrobox container en voer een commando uit bij het inloggen: + +`distrobox-enter {{container_naam}} -- {{sh -l}}` + +- Betreed een Distrobox container zonder een tty the instanteren: + +`distrobox-enter {{[-n|--name]}} {{container_naam}} -- {{uptime --pretty}}` diff --git a/pages.nl/linux/distrobox-export.md b/pages.nl/linux/distrobox-export.md new file mode 100644 index 00000000000000..90b809cff58435 --- /dev/null +++ b/pages.nl/linux/distrobox-export.md @@ -0,0 +1,24 @@ +# distrobox-export + +> Exporteer app/service/binary van container naar host-besturingssysteem. Bekijk ook: `tldr distrobox`. +> Meer informatie: . + +- Exporteer een app van de container naar de host (het desktop pictogram verschijnt in de applicatielijst van uw hostsysteem): + +`distrobox-export {{[-a|--app]}} {{pakket}} {{[-ef|--extra-flags]}} "--foreground"` + +- Exporteer een binary van de container naar de host: + +`distrobox-export {{[-b|--bin]}} {{pad/naar/binary}} {{[-ep|--export-path]}} {{pad/naar/binary_op_host}}` + +- Exporteer een binary van de container naar de host (bijv.`$HOME/.local/bin`) : + +`distrobox-export {{[-b|--bin]}} {{pad/naar/binary}} {{[-ep|--export-path]}} {{pad/naar/export}}` + +- Exporteer een service van de container naar de host (`--sudo` zal de service uitvoeren als root in de container): + +`distrobox-export --service {{pakket}} {{[-ef|--extra-flags]}} "--allow-newer-config" {{[-S|--sudo]}}` + +- Verwijder een geëxporteerde applicatie: + +`distrobox-export {{[-a|--app]}} {{pakket}} {{[-d|--delete]}}` diff --git a/pages.nl/linux/distrobox-host-exec.md b/pages.nl/linux/distrobox-host-exec.md new file mode 100644 index 00000000000000..ea75502a0ac3df --- /dev/null +++ b/pages.nl/linux/distrobox-host-exec.md @@ -0,0 +1,12 @@ +# distrobox-host-exec + +> Voer een commando uit op de host vanuit de Distrobox container. Bekijk ook: `tldr distrobox`. +> Meer informatie: . + +- Voer een commando uit op de host vanuit de Distrobox container: + +`distrobox-host-exec "{{commando}}"` + +- Voer het `ls` commando uit op de host vanuit de Distrobox container: + +`distrobox-host-exec ls` diff --git a/pages.nl/linux/distrobox-list.md b/pages.nl/linux/distrobox-list.md new file mode 100644 index 00000000000000..84686f5ea297c9 --- /dev/null +++ b/pages.nl/linux/distrobox-list.md @@ -0,0 +1,13 @@ +# distrobox-list + +> Toon alle Distrobox containers. Bekijk ook: `tldr distrobox`. +> Distrobox containers worden los van de rest van de normale Podman of Docker containers weergegeven. +> Meer informatie: . + +- Toon alle Distrobox containers: + +`distrobox-list` + +- Toon alle Distrobox containers met verbose informatie: + +`distrobox-list {{[-v|--verbose]}}` diff --git a/pages.nl/linux/distrobox-rm.md b/pages.nl/linux/distrobox-rm.md new file mode 100644 index 00000000000000..c89f86f37e5988 --- /dev/null +++ b/pages.nl/linux/distrobox-rm.md @@ -0,0 +1,12 @@ +# distrobox-rm + +> Verwijder een Distrobox container. Bekijk ook: `tldr distrobox`. +> Meer informatie: . + +- Verwijder een Distrobox container (Tip: Stop de container voordat je hem verwijdert): + +`distrobox-rm {{container_naam}}` + +- Verwijder een Distrobox container geforceerd: + +`distrobox-rm {{container_naam}} {{[-f|--force]}}` diff --git a/pages.nl/linux/distrobox-stop.md b/pages.nl/linux/distrobox-stop.md new file mode 100644 index 00000000000000..3d63035ca0c956 --- /dev/null +++ b/pages.nl/linux/distrobox-stop.md @@ -0,0 +1,12 @@ +# distrobox-stop + +> Stop een Distrobox container. Bekijk ook: `tldr distrobox`. +> Meer informatie: . + +- Stop een Distrobox container: + +`distrobox-stop {{container_naam}}` + +- Stop een Distrobox container zonder bevestiging: + +`distrobox-stop {{[-n|--name]}} {{container_naam}} {{[-Y|--yes]}}` diff --git a/pages.nl/linux/distrobox-upgrade.md b/pages.nl/linux/distrobox-upgrade.md new file mode 100644 index 00000000000000..785b4baa539d83 --- /dev/null +++ b/pages.nl/linux/distrobox-upgrade.md @@ -0,0 +1,16 @@ +# distrobox-upgrade + +> Upgrade een of meerdere Distrobox containers. Bekijk ook: `tldr distrobox`. +> Meer informatie: . + +- Upgrade een container met behulp van het native pakketbeheer van de container: + +`distrobox-upgrade {{container_naam}}` + +- Upgrade alle containers met behulp van het native pakketbeheer van de container: + +`distrobox-upgrade {{[-a|--all]}}` + +- Upgrade specifieke containers met behulp van het native pakketbeheer van de container: + +`distrobox-upgrade {{container1 container2 ...}}` diff --git a/pages.nl/linux/distrobox.md b/pages.nl/linux/distrobox.md new file mode 100644 index 00000000000000..d4dd1b96182182 --- /dev/null +++ b/pages.nl/linux/distrobox.md @@ -0,0 +1,37 @@ +# distrobox + +> Gebruik elke Linux distributie in uw terminal in een container. Installeer en gebruik pakketten erin terwijl ze nauw integreren met het host-besturingssysteem, het delen van opslag (`home`-map) en hardware. +> Het gebruikt Podman of Docker om je containers te maken. +> Meer informatie: . + +- Bekijk de documentatie voor het maken van containers: + +`tldr distrobox-create` + +- Bekijk de documentatie voor het tonen van informatie over de container: + +`tldr distrobox-list` + +- Bekijk de documentatie voor het betreden van de container: + +`tldr distrobox-enter` + +- Bekijk de documentatie voor het uitvoeren van een command op de host vanuit een container: + +`tldr distrobox-host-exec` + +- Bekijk de documentatie voor het exporteren van een app/service/binary van de container naar de host: + +`tldr distrobox-export` + +- Bekijk de documentatie voor het upgraden van de containers: + +`tldr distrobox-upgrade` + +- Bekijk de documentatie voor het stoppen van de containers: + +`tldr distrobox-stop` + +- Bekijk de documentatie voor het verwijderen van de containers: + +`tldr distrobox-rm` diff --git a/pages.nl/linux/dmesg.md b/pages.nl/linux/dmesg.md new file mode 100644 index 00000000000000..b55de7b6e93ddf --- /dev/null +++ b/pages.nl/linux/dmesg.md @@ -0,0 +1,36 @@ +# dmesg + +> Schrijf de kernelberichten naar `stdout`. +> Meer informatie: . + +- Toon kernelberichten: + +`sudo dmesg` + +- Toon kernel foutmeldingen: + +`sudo dmesg {{[-l|--level]}} err` + +- Toon kernelberichten en blijf nieuwe lezen, vergelijkbaar met `tail -f` (beschikbaar in kernels 3.5.0 en nieuwer): + +`sudo dmesg {{[-w|--follow]}}` + +- Toon hoeveel fysiek geheugen beschikbaar is op dit systeem: + +`sudo dmesg | grep {{[-i|--ignore-case]}} memory` + +- Toon kernelberichten 1 pagina per keer: + +`sudo dmesg | less` + +- Toon kernelberichten met een tijdstempel (beschikbaar in kernels 3.5.0 en nieuwer): + +`sudo dmesg {{[-T|--ctime]}}` + +- Toon kernelberichten in een leesbare vorm (beschikbaar in kernels 3.5.0 en nieuwer): + +`sudo dmesg {{[-H|--human]}}` + +- Kleur output (beschikbaar in kernels 3.5.0 en nieuwer): + +`sudo dmesg {{[-L|--color]}}` diff --git a/pages.nl/linux/dnf-config-manager.md b/pages.nl/linux/dnf-config-manager.md new file mode 100644 index 00000000000000..aedc2e2b790896 --- /dev/null +++ b/pages.nl/linux/dnf-config-manager.md @@ -0,0 +1,28 @@ +# dnf config-manager + +> Beheer DNF-configuratie-opties en repositories op Fedora-gebaseerde systemen. +> Meer informatie: . + +- Voeg een repository toe (en schakel deze in) vanaf een URL: + +`dnf config-manager --add-repo={{repository_url}}` + +- Print de huidige configuratiewaarden: + +`dnf config-manager --dump` + +- Schakel een specifieke repository in: + +`dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}` + +- Schakel opgegeven repositories uit: + +`dnf config-manager {{[--disable|--set-disabled]}} {{repository_id1 repository_id2 ...}}` + +- Stel een configuratieoptie in voor een repository: + +`dnf config-manager --setopt={{option}}={{value}}` + +- Toon de help: + +`dnf config-manager --help-cmd` diff --git a/pages.nl/linux/dnf-deplist.md b/pages.nl/linux/dnf-deplist.md new file mode 100644 index 00000000000000..42c3bb178568eb --- /dev/null +++ b/pages.nl/linux/dnf-deplist.md @@ -0,0 +1,7 @@ +# dnf deplist + +> Dit commando is een alias van `dnf repoquery --deplist`. + +- Bekijk de documentatie van het originele commando: + +`tldr dnf repoquery` diff --git a/pages.nl/linux/dnf-download.md b/pages.nl/linux/dnf-download.md new file mode 100644 index 00000000000000..0fdbc471c651ac --- /dev/null +++ b/pages.nl/linux/dnf-download.md @@ -0,0 +1,18 @@ +# dnf download + +> Download RPM-pakketten uit de DNF-repositories. +> Niet standaard inbegrepen bij `dnf`, maar ondersteund via `dnf-plugins-core`. +> Zie ook: `dnf`. +> Meer informatie: . + +- Download de recentste versie van een pakket naar de huidige map: + +`dnf download {{pakket}}` + +- Download een pakket naar een specifieke map (de map moet bestaan): + +`dnf download {{pakket}} --destdir {{pad/naar/map}}` + +- Toon de URL waar het RPM-pakket kan worden gedownload: + +`dnf download --url {{pakket}}` diff --git a/pages.nl/linux/dnf-group.md b/pages.nl/linux/dnf-group.md new file mode 100644 index 00000000000000..be9dd089dbbb87 --- /dev/null +++ b/pages.nl/linux/dnf-group.md @@ -0,0 +1,24 @@ +# dnf group + +> Beheer virtuele collecties van pakketten op Fedora gebaseerde systemen. +> Meer informatie: . + +- Maak een lijst van DNF-groepen, met geïnstalleerde en verwijderde status in een tabel: + +`dnf {{[grp|group]}} list` + +- Toon DNF groepsinformatie, inclusief repository en optionele pakketten: + +`dnf {{[grp|group]}} info {{groepsnaam}}` + +- Installeer een DNF groep: + +`dnf {{[grp|group]}} install {{groepsnaam}}` + +- Verwijder een DNF groep: + +`dnf {{[grp|group]}} remove {{groepsnaam}}` + +- Upgrade een DNF groep: + +`dnf {{[grp|group]}} upgrade {{groepsnaam}}` diff --git a/pages.nl/linux/dnf-install.md b/pages.nl/linux/dnf-install.md new file mode 100644 index 00000000000000..e7eb34920b7c78 --- /dev/null +++ b/pages.nl/linux/dnf-install.md @@ -0,0 +1,24 @@ +# dnf install + +> Installeer pakketten op Red Hat-gebaseerde distributies. +> Meer informatie: . + +- Installeer pakketten op naam: + +`sudo dnf {{[in|install]}} {{pakket1 pakket2 ...}}` + +- Installeer een pakket vanuit een lokaal bestand: + +`sudo dnf {{[in|install]}} {{pad/naar/bestand}}` + +- Installeer een pakket vanaf het internet: + +`sudo dnf {{[in|install]}} {{https://example.com/pakket.rpm}}` + +- Voeg de Extra Packages for Enterprise Linux (EPEL) repositories toe: + +`sudo dnf {{[in|install]}} https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{10}}.noarch.rpm` + +- Voeg Remi's RPM repository toe: + +`sudo dnf {{[in|install]}} https://rpms.remirepo.net/enterprise/remi-release-{{8}}.rpm` diff --git a/pages.nl/linux/dnf-repoquery.md b/pages.nl/linux/dnf-repoquery.md new file mode 100644 index 00000000000000..65c0f66718c07e --- /dev/null +++ b/pages.nl/linux/dnf-repoquery.md @@ -0,0 +1,8 @@ +# dnf repoquery + +> Vraag pakketten op voor informatie. +> Meer informatie: . + +- Vraag een pakket op voor zijn afhankelijkheden: + +`dnf {{[rq|repoquery]}} --deplist {{package}}` diff --git a/pages.nl/linux/dnf.md b/pages.nl/linux/dnf.md new file mode 100644 index 00000000000000..aa8611281d0562 --- /dev/null +++ b/pages.nl/linux/dnf.md @@ -0,0 +1,37 @@ +# dnf + +> Hulpprogramma voor pakketbeheer van RHEL, Fedora en CentOS (vervangt Yum). +> Voor gelijkwaardige commando's binnen andere pakketbeheer, zie . +> Meer informatie: . + +- Upgrade geïnstalleerde pakketten naar de nieuwste beschikbare versies: + +`sudo dnf {{[up|upgrade]}}` + +- Zoek naar pakketten via sleutelwoorden: + +`dnf {{[se|search]}} {{sleutelwoord1 sleutelwoord2 ...}}` + +- Toon gedetailleerde informatie over een pakket: + +`dnf {{[if|info]}} {{pakket}}` + +- Installeer nieuwe pakketten (gebruik `--assumeyes` om alle prompts automatisch te bevestigen): + +`sudo dnf {{[in|install]}} {{pakket1 pakket2 ...}}` + +- Verwijder een pakket: + +`sudo dnf {{[rm|remove]}} {{pakket1 pakket2 ...}}` + +- Toon alle geïnstalleerde pakketten: + +`dnf {{[ls|list]}} --installed` + +- Vind welk pakket voorziet van een bepaald commando: + +`dnf {{[wp|provides]}} {{commando}}` + +- Toon alle historische operaties: + +`dnf {{[hist|history]}}` diff --git a/pages.nl/linux/dnf5-group.md b/pages.nl/linux/dnf5-group.md new file mode 100644 index 00000000000000..84365609c6f5c2 --- /dev/null +++ b/pages.nl/linux/dnf5-group.md @@ -0,0 +1,8 @@ +# dnf5 group + +> Dit commando is een alias van `dnf group`. +> Let op: van Fedora 37 tot 40 (inclusief), runt `dnf` DNF V4 terwijl `dnf5` DNF V5 uitvoert. + +- Bekijk de documentatie van het originele commando: + +`tldr dnf group` diff --git a/pages.nl/linux/dnsdomainname.md b/pages.nl/linux/dnsdomainname.md new file mode 100644 index 00000000000000..cdd94a357b3c55 --- /dev/null +++ b/pages.nl/linux/dnsdomainname.md @@ -0,0 +1,9 @@ +# dnsdomainname + +> Toon de DNS-domeinnaam van het systeem. +> Let op: de tool gebruikt `gethostname` om de hostnaam van het systeem op te halen en vervolgens `getaddrinfo` om deze om te zetten in een gecanoniseerde naam. +> Meer informatie: . + +- Toon de DNS-domeinnaam van het systeem: + +`dnsdomainname` diff --git a/pages.nl/linux/do-release-upgrade.md b/pages.nl/linux/do-release-upgrade.md new file mode 100644 index 00000000000000..e7f62880b45fff --- /dev/null +++ b/pages.nl/linux/do-release-upgrade.md @@ -0,0 +1,16 @@ +# do-release-upgrade + +> De Ubuntu release upgrader. +> Meer informatie: . + +- Upgrade naar de laatste release: + +`sudo do-release-upgrade` + +- Upgrade naar de laatste development release: + +`sudo do-release-upgrade {{[-d|--devel-release]}}` + +- Upgrade naar de laatste voorgestelde release: + +`sudo do-release-upgrade {{[-p|--proposed]}}` diff --git a/pages.nl/linux/dpkg.md b/pages.nl/linux/dpkg.md new file mode 100644 index 00000000000000..c567b8330c070a --- /dev/null +++ b/pages.nl/linux/dpkg.md @@ -0,0 +1,34 @@ +# dpkg + +> Debian pakketbeheerder. +> Sommige subcommando's zoals `deb` hebben hun eigen gebruiksdocumentatie. +> Voor gelijkwaardige commando's in andere pakket managers, zie . +> Meer informatie: . + +- Installeer een pakket: + +`dpkg {{[-i|--install]}} {{pad/naar/bestand.deb}}` + +- Verwijder een pakket: + +`dpkg {{[-r|--remove]}} {{pakket}}` + +- Toon geïnstalleerde pakketten: + +`dpkg {{[-l|--list]}} {{patroon}}` + +- Toon de inhoud van een pakket: + +`dpkg {{[-L|--listfiles]}} {{pakket}}` + +- Toon de inhoud van een lokaal pakketbestand: + +`dpkg {{[-c|--contents]}} {{pad/naar/bestand.deb}}` + +- Zoek uit welk pakket een bestand bezit: + +`dpkg {{[-S|--search]}} {{pad/naar/bestand}}` + +- Schoon een geïnstalleerd of al verwijderd pakket op, inclusief configuratie: + +`dpkg {{[-P|--purge]}} {{pakket}}` diff --git a/pages.nl/linux/eselect-locale.md b/pages.nl/linux/eselect-locale.md new file mode 100644 index 00000000000000..f71e2861cbfd2d --- /dev/null +++ b/pages.nl/linux/eselect-locale.md @@ -0,0 +1,16 @@ +# eselect locale + +> Een `eselect`-module voor het beheren van de `LANG`-omgevingsvariabele, die de systeemtaal instelt. +> Meer informatie: . + +- Toon van beschikbare locales: + +`eselect locale list` + +- Stel de `LANG`-omgevingsvariabele in `/etc/profile.env` in op naam of index van de `list`-opdracht: + +`eselect locale set {{naam|index}}` + +- Toon de waarde van `LANG` in `/etc/profile.env`: + +`eselect locale show` diff --git a/pages.nl/linux/eselect-repository.md b/pages.nl/linux/eselect-repository.md new file mode 100644 index 00000000000000..064ee37ba6b6f3 --- /dev/null +++ b/pages.nl/linux/eselect-repository.md @@ -0,0 +1,33 @@ +# eselect repository + +> Een `eselect`-module voor het configureren van ebuild-repositories voor Portage. +> Na het inschakelen van een repository moet je `emerge --sync repo_name` uitvoeren om ebuilds te downloaden. +> Meer informatie: . + +- Toon alle ebuild-repositories geregistreerd op : + +`eselect repository list` + +- Toon ingeschakelde repositories: + +`eselect repository list -i` + +- Schakel een repository uit de lijst in op naam of index van de `list`-opdracht: + +`eselect repository enable {{naam|index}}` + +- Schakel een niet-geregistreerde repository in: + +`eselect repository add {{naam}} {{rsync|git|mercurial|svn|...}} {{sync_uri}}` + +- Schakel repositories uit zonder hun inhoud te verwijderen: + +`eselect repository disable {{repo1 repo2 ...}}` + +- Schakel repositories uit en verwijder hun inhoud: + +`eselect repository remove {{repo1 repo2 ...}}` + +- Maak een lokale repository aan en schakel deze in: + +`eselect repository create {{naam}} {{pad/naar/repo}}` diff --git a/pages.nl/linux/eselect.md b/pages.nl/linux/eselect.md new file mode 100644 index 00000000000000..c6a540306c776c --- /dev/null +++ b/pages.nl/linux/eselect.md @@ -0,0 +1,17 @@ +# eselect + +> Gentoo's veelzijdige configuratie- en beheertool. +> Het bestaat uit verschillende modules die individuele beheertaken uitvoeren. +> Meer informatie: . + +- Toon een lijst van geïnstalleerde modules: + +`eselect` + +- Bekijk de documentatie voor een specifieke module: + +`tldr eselect {{module}}` + +- Toon een helpbericht voor een specifieke module: + +`eselect {{module}} help` diff --git a/pages.nl/linux/exec.md b/pages.nl/linux/exec.md new file mode 100644 index 00000000000000..c7c2ebd43b01c0 --- /dev/null +++ b/pages.nl/linux/exec.md @@ -0,0 +1,20 @@ +# exec + +> Voer een commando uit zonder een child-proces te creëren. +> Meer informatie: . + +- Voer een specifiek commando uit: + +`exec {{commando -with -flags}}` + +- Voer een commando uit met een (grotendeels) lege omgeving: + +`exec -c {{commando -with -flags}}` + +- Voer een commando uit als een login-shell: + +`exec -l {{commando -with -flags}}` + +- Voer een commando uit met een andere naam: + +`exec -a {{naam}} {{commando -with -flags}}` diff --git a/pages.nl/linux/export.md b/pages.nl/linux/export.md new file mode 100644 index 00000000000000..dc8f3ddbe5ad9e --- /dev/null +++ b/pages.nl/linux/export.md @@ -0,0 +1,24 @@ +# export + +> Exporteer shellvariabelen naar child-processen. +> Meer informatie: . + +- Stel een omgevingsvariabele in: + +`export {{VARIABELE}}={{waarde}}` + +- Zet een omgevingsvariabele uit: + +`export -n {{VARIABELE}}` + +- Exporteer een functie naar child-processen: + +`export -f {{FUNCTIE_NAAM}}` + +- Voeg een pad toe aan de omgevingsvariabele `PATH`: + +`export PATH=$PATH:{{pad/om/toe_te_voegen}}` + +- Toon een lijst van actieve geëxporteerde variabelen in shell-opdrachtvorm: + +`export -p` diff --git a/pages.nl/linux/fdisk.md b/pages.nl/linux/fdisk.md new file mode 100644 index 00000000000000..7ace5287d2f693 --- /dev/null +++ b/pages.nl/linux/fdisk.md @@ -0,0 +1,37 @@ +# fdisk + +> Beheer partitietabellen en partities op een opslagschijf. +> Zie ook: `partprobe`. +> Meer informatie: . + +- Toon partities: + +`sudo fdisk {{[-l|--list]}}` + +- Start de partitiemanipulator: + +`sudo fdisk {{/dev/sdX}}` + +- Maak een [n]ieuwe partitie: + +`` + +- Selecteer een partitie om te verwij[d]eren: + +`` + +- Toon de [p]artitietabel: + +`

` + +- Schrijf ([w]) gemaakte veranderingen: + +`` + +- Verwijder gemaakte veranderingen en sluit ([q]) het programma af: + +`` + +- Open een hulp[m]enu: + +`` diff --git a/pages.nl/linux/flex.md b/pages.nl/linux/flex.md new file mode 100644 index 00000000000000..ddf8d3ed5b69c4 --- /dev/null +++ b/pages.nl/linux/flex.md @@ -0,0 +1,25 @@ +# flex + +> Lexicale analysator generator. +> Gegeven de specificatie voor een lexicale analysator, genereert C-code die het implementeert. +> Meer informatie: . + +- Genereer een analyzer uit een Lex-bestand en sla het op in het bestand `lex.yy.c`: + +`flex {{analyzer.l}}` + +- Analysator naar `stdout` schrijven: + +`flex {{[-t|--stdout]}} {{analyzer.l}}` + +- Geef het uitvoerbestand op: + +`flex {{analyzer.l}} {{[-o|--outfile]}} {{analyzer.c}}` + +- Genereer een batch scanner in plaats van een interactieve scanner: + +`flex {{[-B|--batch]}} {{analyzer.l}}` + +- Compileer een C-bestand gegenereerd door Lex: + +`cc {{pad/naar/lex.yy.c}} -o {{executable}}` diff --git a/pages.nl/linux/flock.md b/pages.nl/linux/flock.md new file mode 100644 index 00000000000000..f35ff958b4e4ff --- /dev/null +++ b/pages.nl/linux/flock.md @@ -0,0 +1,25 @@ +# flock + +> Beheer bestandslocks van shell scripts. +> Het kan gebruikt worden om ervoor te zorgen dat slechts één instantie van een commando draait. +> Meer informatie: . + +- Voer een commando met een bestandslock uit zodra de lock beschikbaar is: + +`flock {{pad/naar/lock.lock}} {{commando}}` + +- Voer een opdracht uit met een bestandslock, of sluit het programma af als de lock momenteel actief is (met foutcode 1): + +`flock {{pad/naar/lock.lock}} {{[-n|--nonblock]}} {{commando}}` + +- Voer een opdracht uit met een bestandslock, of sluit af met een specifieke foutcode als de lock momenteel actief is: + +`flock {{pad/naar/lock.lock}} {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{123}} {{commando}}` + +- Voer een commando uit met een bestandslock en wacht maximaal 10 seconden tot de lock beschikbaar is voordat wordt opgegeven: + +`flock {{pad/naar/lock.lock}} {{[-w|--timeout]}} 10 {{commando}}` + +- Maak een back-up van een aantal bestanden, wacht tot het vorige `tar`-commando klaar is als deze nog wordt uitgevoerd en houd dezelfde bestandlock vast (kan gebruikt worden in een `cron` job die periodiek wordt uitgevoerd): + +`flock {{pad/naar/backup.lock}} {{tar -cvf pad/naar/backup.tar pad/naar/data/}}` diff --git a/pages.nl/linux/fold.md b/pages.nl/linux/fold.md new file mode 100644 index 00000000000000..131d25e5d3f21e --- /dev/null +++ b/pages.nl/linux/fold.md @@ -0,0 +1,16 @@ +# fold + +> Breek lange regels af voor uitvoerapparaten met vaste breedte. +> Meer informatie: . + +- Breek regels af met een vaste breedte: + +`fold {{[-w|--width]}} {{breedte}} {{pad/naar/bestand}}` + +- Tel breedte in bytes (standaard is het tellen in kolommen): + +`fold {{[-b|--bytes]}} {{[-w|--width]}} {{breedte_in_bytes}} {{pad/naar/bestand}}` + +- Breek de regel na de meest rechtse spatie binnen de breedtelimiet: + +`fold {{[-s|--spaces]}} {{[-w|--width]}} {{breedte}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/free.md b/pages.nl/linux/free.md new file mode 100644 index 00000000000000..a9cdad910181ca --- /dev/null +++ b/pages.nl/linux/free.md @@ -0,0 +1,20 @@ +# free + +> Toon hoeveelheid beschikbare en gebruikt geheugen in het systeem. +> Meer informatie: . + +- Toon systeemgeheugen: + +`free` + +- Toon geheugen in Bytes/KB/MB/GB: + +`free -{{b|k|m|g}}` + +- Toon geheugen in leesbare eenheden: + +`free {{[-h|--human]}}` + +- Ververs de uitvoer elke 2 seconden: + +`free {{[-s|--seconds]}} 2` diff --git a/pages.nl/linux/fsck.md b/pages.nl/linux/fsck.md new file mode 100644 index 00000000000000..0946a490325653 --- /dev/null +++ b/pages.nl/linux/fsck.md @@ -0,0 +1,16 @@ +# fsck + +> Controleer de integriteit van een bestandssysteem of repareer het. Het bestandssysteem moet niet gemount zijn op het moment dat het commando wordt uitgevoerd. +> Meer informatie: . + +- Controleer bestandssysteem `/dev/sdXN` en rapporteer beschadigde blokken: + +`sudo fsck {{/dev/sdXN}}` + +- Controleer bestandssysteem `/dev/sdXN`, rapporteer beschadigde blokken en laat de gebruiker interactief kiezen om elke blok te repareren: + +`sudo fsck -r {{/dev/sdXN}}` + +- Controleer bestandssysteem `/dev/sdXN`, rapporteer beschadigde blokken en repareer ze automatisch: + +`sudo fsck -a {{/dev/sdXN}}` diff --git a/pages.nl/linux/gcrane-completion.md b/pages.nl/linux/gcrane-completion.md new file mode 100644 index 00000000000000..3ebb781a102ef6 --- /dev/null +++ b/pages.nl/linux/gcrane-completion.md @@ -0,0 +1,37 @@ +# gcrane completion + +> Genereer het autocompletion script voor gcrane voor de opgegeven shell. +> De beschikbare shells zijn `bash`, `fish`, `powershell` en `zsh`. +> Meer informatie: . + +- Genereer het autocompletion script voor je shell: + +`gcrane completion {{shell_naam}}` + +- Zet de completion beschrijvingen uit: + +`gcrane completion {{shell_naam}} --no-descriptions` + +- Laad completions in je huidige shellsessie (bash/zsh): + +`source <(gcrane completion bash/zsh)` + +- Laad completions in je huidige shellsessie (fish): + +`gcrane completion fish | source` + +- Laad completions voor elke nieuwe sessie (bash): + +`gcrane completion bash > /etc/bash_completion.d/gcrane` + +- Laad completions voor elke nieuwe sessie (zsh): + +`gcrane completion zsh > "${fpath[1]}/_gcrane"` + +- Laad completions voor elke nieuwe sessie (fish): + +`gcrane completion fish > ~/.config/fish/completions/gcrane.fish` + +- Toon de help: + +`gcrane completion {{shell_naam}} {{[-h|--help]}}` diff --git a/pages.nl/linux/google-chrome-stable.md b/pages.nl/linux/google-chrome-stable.md new file mode 100644 index 00000000000000..49579e7f26618a --- /dev/null +++ b/pages.nl/linux/google-chrome-stable.md @@ -0,0 +1,8 @@ +# google-chrome-stable + +> Dit commando is een alias van `chromium`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr chromium` diff --git a/pages.nl/linux/groupadd.md b/pages.nl/linux/groupadd.md new file mode 100644 index 00000000000000..58cadee5073559 --- /dev/null +++ b/pages.nl/linux/groupadd.md @@ -0,0 +1,17 @@ +# groupadd + +> Voeg gebruikersgroepen toe aan het systeem. +> Zie ook: `groups`, `groupdel`, `groupmod`. +> Meer informatie: . + +- Maak een nieuwe groep aan: + +`sudo groupadd {{groepsnaam}}` + +- Maak een nieuwe systeemgroep aan: + +`sudo groupadd {{[-r|--system]}} {{groepsnaam}}` + +- Maak een nieuwe groep aan met een specifieke groeps-ID: + +`sudo groupadd {{[-g|--gid]}} {{id}} {{groepsnaam}}` diff --git a/pages.nl/linux/groupdel.md b/pages.nl/linux/groupdel.md new file mode 100644 index 00000000000000..5400ee06849293 --- /dev/null +++ b/pages.nl/linux/groupdel.md @@ -0,0 +1,9 @@ +# groupdel + +> Verwijder bestaande gebruikersgroepen van het systeem. +> Zie ook: `groups`, `groupadd`, `groupmod`. +> Meer informatie: . + +- Verwijder een bestaande groep: + +`sudo groupdel {{groepsnaam}}` diff --git a/pages.nl/linux/groupmod.md b/pages.nl/linux/groupmod.md new file mode 100644 index 00000000000000..7cececbec93be9 --- /dev/null +++ b/pages.nl/linux/groupmod.md @@ -0,0 +1,13 @@ +# groupmod + +> Wijzig bestaande gebruikersgroepen in het systeem. +> Zie ook: `groups`, `groupadd`, `groupdel`. +> Meer informatie: . + +- Wijzig de groepsnaam: + +`sudo groupmod {{[-n|--new-name]}} {{nieuwe_groep}} {{groepsnaam}}` + +- Wijzig het groeps-ID: + +`sudo groupmod {{[-g|--gid]}} {{nieuwe_id}} {{groepsnaam}}` diff --git a/pages.nl/linux/head.md b/pages.nl/linux/head.md new file mode 100644 index 00000000000000..728fae3c08c25c --- /dev/null +++ b/pages.nl/linux/head.md @@ -0,0 +1,20 @@ +# head + +> Geef het eerste deel van bestanden weer. +> Meer informatie: . + +- Geef de eerste paar regels van een bestand weer: + +`head {{[-n|--lines]}} {{aantal}} {{pad/naar/bestand}}` + +- Geef de eerste paar bytes van een bestand weer: + +`head {{[-c|--bytes]}} {{aantal}} {{pad/naar/bestand}}` + +- Geef alles behalve de laatste paar regels van een bestand weer: + +`head {{[-n|--lines]}} -{{aantal}} {{pad/naar/bestand}}` + +- Geef alles behalve de laatste paar bytes van een bestand weer: + +`head {{[-c|--bytes]}} -{{aantal}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/hexdump.md b/pages.nl/linux/hexdump.md new file mode 100644 index 00000000000000..8d98156de3159b --- /dev/null +++ b/pages.nl/linux/hexdump.md @@ -0,0 +1,20 @@ +# hexdump + +> Een ASCII, decimale, hexadecimale, octale dump. +> Meer informatie: . + +- Druk de hexadecimale weergave van een bestand af, waarbij dubbele regels worden vervangen door '*': + +`hexdump {{pad/naar/bestand}}` + +- Toon de invoer offset in hexadecimaal en zijn ASCII representatie in twee kolommen: + +`hexdump {{[-C|--canonical]}} {{pad/naar/bestand}}` + +- Geef de hexadecimale weergave van een bestand weer, maar interpreteer alleen n bytes van de invoer: + +`hexdump {{[-C|--canonical]}} {{[-n|--lengte]}} {{aantal_bytes}} {{pad/naar/bestand}}` + +- Vervang dubbele regels niet door '*': + +`hexdump {{[-v|--no-squeezing]}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/i386.md b/pages.nl/linux/i386.md new file mode 100644 index 00000000000000..43e1109fb59fdf --- /dev/null +++ b/pages.nl/linux/i386.md @@ -0,0 +1,7 @@ +# i386 + +> Dit commando is een alias van `setarch i386`. + +- Bekijk de documentatie van het originele commando: + +`tldr setarch` diff --git a/pages.nl/linux/iostat.md b/pages.nl/linux/iostat.md new file mode 100644 index 00000000000000..af75afff2c9891 --- /dev/null +++ b/pages.nl/linux/iostat.md @@ -0,0 +1,28 @@ +# iostat + +> Geeft statistieken weer voor apparaten en partities. +> Meer informatie: . + +- Toon een rapport van CPU- en schijfstatistieken sinds het opstarten van het systeem: + +`iostat` + +- Toon een rapport van CPU- en schijfstatistieken met eenheden omgezet naar megabytes: + +`iostat -m` + +- Toon CPU-statistieken: + +`iostat {{[-c|--compact]}}` + +- Toon schijfstatistieken met schijfnamen (inclusief LVM): + +`iostat -N` + +- Toon uitgebreide schijfstatistieken met schijfnamen voor apparaat "sda": + +`iostat -xN {{sda}}` + +- Toon incrementele rapporten van CPU- en schijfstatistieken elke 2 seconden: + +`iostat {{2}}` diff --git a/pages.nl/linux/ip-route-list.md b/pages.nl/linux/ip-route-list.md new file mode 100644 index 00000000000000..c523d0c12f2f3c --- /dev/null +++ b/pages.nl/linux/ip-route-list.md @@ -0,0 +1,36 @@ +# ip route list + +> Toon het subcommando voor het beheer van IP-routetabellen. +> Meer informatie: . + +- Toon de `main` routeringstabel: + +`ip {{[r|route]}} {{[l|list]}}` + +- Toon de hoofdrouteringstabel (hetzelfde als het eerste voorbeeld): + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{main|254}}` + +- Toon de lokale routeringstabel: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{local|255}}` + +- Toon alle routeringstabellen: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{all|unspec|0}}` + +- Toon alleen routes van een bepaald apparaat: + +`ip {{[r|route]}} {{[l|list]}} dev {{eth0}}` + +- Toon een lijst van routes binnen een bepaald bereik: + +`ip {{[r|route]}} {{[l|list]}} {{[s|scope]}} link` + +- Toon de routeringscache: + +`ip {{[r|route]}} {{[l|list]}} {{[c|cache]}}` + +- Toon alleen IPv6- of IPv4-routes: + +`ip {{-6|-4}} {{[r|route]}}` diff --git a/pages.nl/linux/ip-route-show.md b/pages.nl/linux/ip-route-show.md new file mode 100644 index 00000000000000..9099000efb900a --- /dev/null +++ b/pages.nl/linux/ip-route-show.md @@ -0,0 +1,7 @@ +# ip route show + +> Dit commando is een alias van `ip route list`. + +- Bekijk de documentatie van het originele commando: + +`tldr ip route list` diff --git a/pages.nl/linux/ip.md b/pages.nl/linux/ip.md new file mode 100644 index 00000000000000..d4a8f22b9c97e9 --- /dev/null +++ b/pages.nl/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> Toon/manipuleer routing, apparaten, beleidsrouting en tunnels. +> Sommige subcommando's zoals `address` hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Toon interfaces met gedetailleerde informatie: + +`ip {{[a|address]}}` + +- Toon interfaces met beknopte informatie over de netwerklaag: + +`ip {{[-br|-brief]}} {{[a|address]}}` + +- Toon interfaces met beknopte informatie over de linklaag: + +`ip {{[-br|-brief]}} {{[l|link]}}` + +- Toon de routingtabel: + +`ip {{[r|route]}}` + +- Toon buren (ARP-tabel): + +`ip {{[n|neighbour]}}` + +- Schakel een interface in/uit: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{up|down}}` + +- Voeg een IP-adres toe aan een interface of verwijder het ervan: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{ethX}}` + +- Voeg een standaardroute toe: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{ethX}}` diff --git a/pages.nl/linux/ip6tables-restore.md b/pages.nl/linux/ip6tables-restore.md new file mode 100644 index 00000000000000..e15aa8213a947d --- /dev/null +++ b/pages.nl/linux/ip6tables-restore.md @@ -0,0 +1,7 @@ +# ip6tables-restore + +> Dit commando is een alias van `iptables-restore`. + +- Bekijk de documentatie van het originele commando: + +`tldr iptables-restore` diff --git a/pages.nl/linux/ip6tables-save.md b/pages.nl/linux/ip6tables-save.md new file mode 100644 index 00000000000000..9bd2a086e06483 --- /dev/null +++ b/pages.nl/linux/ip6tables-save.md @@ -0,0 +1,7 @@ +# ip6tables-save + +> Dit commando is een alias van `iptables-save`. + +- Bekijk de documentatie van het originele commando: + +`tldr iptables-save` diff --git a/pages.nl/linux/ip6tables.md b/pages.nl/linux/ip6tables.md new file mode 100644 index 00000000000000..ccf671c4148f1d --- /dev/null +++ b/pages.nl/linux/ip6tables.md @@ -0,0 +1,7 @@ +# ip6tables + +> Dit commando is een alias van `iptables`. + +- Bekijk de documentatie van het originele commando: + +`tldr iptables` diff --git a/pages.nl/linux/ipcs.md b/pages.nl/linux/ipcs.md new file mode 100644 index 00000000000000..33f5cb0d652701 --- /dev/null +++ b/pages.nl/linux/ipcs.md @@ -0,0 +1,37 @@ +# ipcs + +> Toon informatie over het gebruik van System V IPC-faciliteiten: gedeelde geheugensegmenten, berichtenwachtrijen en semafoorarrays. +> Zie ook: `lsipc` voor een flexibeler tool, `ipcmk` voor het maken van IPC-faciliteiten, en `ipcrm` voor het verwijderen ervan. +> Meer informatie: . + +- Toon informatie over alle actieve IPC-faciliteiten: + +`ipcs` + +- Toon informatie over actieve gedeelde [m]emory-segmenten, berichten[q]ueues of [s]emaphore-sets: + +`ipcs {{--shmems|--queues|--semaphores}}` + +- Toon volledige details over de resource met een specifieke ID: + +`ipcs {{--shmems|--queues|--semaphores}} {{[-i|--id]}} {{resource_id}}` + +- Toon limieten in [b]ytes of in een leesbaar formaat: + +`ipcs {{[-l|--limits]}} {{--bytes|--human}}` + +- Toon samenvatting over huidig gebruik: + +`ipcs {{[-u|--summary]}}` + +- Toon creator's en owner's UIDs en PIDs voor alle IPC-faciliteiten: + +`ipcs {{[-c|--creator]}}` + +- Toon de PID van de laatste operatoren voor alle IPC-faciliteiten: + +`ipcs {{[-p|--pid]}}` + +- Toon laatste toegangstijden voor alle IPC-faciliteiten: + +`ipcs {{[-t|--time]}}` diff --git a/pages.nl/linux/iptables-restore.md b/pages.nl/linux/iptables-restore.md new file mode 100644 index 00000000000000..74d3396589ac2e --- /dev/null +++ b/pages.nl/linux/iptables-restore.md @@ -0,0 +1,9 @@ +# iptables-restore + +> Herstel de `iptables` IPv4 configuratie. +> Gebruik `ip6tables-restore` om hetzelfde te doen voor IPv6. +> Meer informatie: . + +- Herstel de `iptables` configuratie vanuit een bestand: + +`sudo iptables-restore {{pad/naar/bestand}}` diff --git a/pages.nl/linux/iptables-save.md b/pages.nl/linux/iptables-save.md new file mode 100644 index 00000000000000..37566847a77ed8 --- /dev/null +++ b/pages.nl/linux/iptables-save.md @@ -0,0 +1,17 @@ +# iptables-save + +> Sla de `iptables` IPv4 configuratie op. +> Gebruik `ip6tables-save` om hetzelfde te doen voor IPv6. +> Meer informatie: . + +- Toon de `iptables` configuratie: + +`sudo iptables-save` + +- Toon de `iptables` configuratie van een specifiek tabel: + +`sudo iptables-save {{[-t|--table]}} {{tabel}}` + +- Sla de `iptables` configuratie op in een bestand: + +`sudo iptables-save {{[-f|--file]}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/iptables.md b/pages.nl/linux/iptables.md new file mode 100644 index 00000000000000..0ec293699d24d1 --- /dev/null +++ b/pages.nl/linux/iptables.md @@ -0,0 +1,29 @@ +# iptables + +> Configureer tabellen, ketens en regels van de Linux kernel IPv4 firewall. +> Gebruik `ip6tables` om regels in te stellen voor IPv6 verkeer. Bekijk ook: `iptables-save`, `iptables-restore`. +> Meer informatie: . + +- Bekijk ketens, regels, pakket/byte tellers en regelnummers voor de filter tabel: + +`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}` + +- Zet keten [P]olicy regel: + +`sudo iptables {{[-P|--policy]}} {{keten}} {{regel}}` + +- Voeg regel toe aan keten policy voor IP: + +`sudo iptables {{[-A|--append]}} {{keten}} {{[-s|--source]}} {{ip}} {{[-j|--jump]}} {{regel}}` + +- Voeg regel toe aan keten policy voor IP met [p]rotocol en poort in overweging: + +`sudo iptables {{[-A|--append]}} {{keten}} {{[-s|--source]}} {{ip}} {{[-p|--protocol]}} {{tcp|udp|icmp|...}} --dport {{poort}} {{[-j|--jump]}} {{regel}}` + +- Voeg een NAT regel toe om al het verkeer van `192.168.0.0/24` subnet te vertalen naar de host's publieke IP: + +`sudo iptables {{[-t|--table]}} {{nat}} {{[-A|--append]}} {{POSTROUTING}} {{[-s|--source]}} {{192.168.0.0/24}} {{[-j|--jump]}} {{MASQUERADE}}` + +- Verwij[D]er keten regel: + +`sudo iptables {{[-D|--delete]}} {{keten}} {{regelnummer}}` diff --git a/pages.nl/linux/iwctl.md b/pages.nl/linux/iwctl.md new file mode 100644 index 00000000000000..12f65dd7415106 --- /dev/null +++ b/pages.nl/linux/iwctl.md @@ -0,0 +1,28 @@ +# iwctl + +> Beheer de `iwd` netwerk supplicant. +> Meer informatie: . + +- Voer `iwctl` uit in interactieve modus: + +`iwctl` + +- Toon Wi-Fi-stations: + +`iwctl station list` + +- Zoek naar netwerken met een station: + +`iwctl station {{station}} scan` + +- Toon de netwerken die zijn gevonden door het station: + +`iwctl station {{station}} get-networks` + +- Verbind met een netwerk met een station, als er inloggegevens nodig zijn, worden deze opgevraagd: + +`iwctl station {{station}} connect {{netwerk_naam}}` + +- Toon de help: + +`iwctl {{[-h|--help]}}` diff --git a/pages.nl/linux/jobs.md b/pages.nl/linux/jobs.md new file mode 100644 index 00000000000000..8a86523bc43202 --- /dev/null +++ b/pages.nl/linux/jobs.md @@ -0,0 +1,29 @@ +# jobs + +> Shell ingebouwd commando om informatie te bekijken over processen die door de huidige shell zijn gestart. +> Opties anders dan `-l` en `-p` zijn exclusief voor `bash`. +> Meer informatie: . + +- Bekijk jobs die door de huidige shell zijn gestart: + +`jobs` + +- Toon jobs en hun proces-ID's: + +`jobs -l` + +- Toon informatie over jobs met gewijzigde status: + +`jobs -n` + +- Toon alleen proces-ID's: + +`jobs -p` + +- Toon actieve processen: + +`jobs -r` + +- Toon gestopte processen: + +`jobs -s` diff --git a/pages.nl/linux/just.js.md b/pages.nl/linux/just.js.md new file mode 100644 index 00000000000000..afb30f57fcd675 --- /dev/null +++ b/pages.nl/linux/just.js.md @@ -0,0 +1,24 @@ +# just + +> Een V8 JavaScript runtime voor Linux. +> Meer informatie: . + +- Start een REPL (interactieve shell): + +`just` + +- Voer een JavaScript-bestand uit: + +`just {{pad/naar/bestand.js}}` + +- Evalueer JavaScript code door het te sturen als argument: + +`just eval "{{code}}"` + +- Initaliseer een nieuw project in een map van dezelfde naam: + +`just init {{project_naam}}` + +- Bouw een JavaScript applicatie in een uitvoerbaar bestand: + +`just build {{pad/naar/bestand.js}} --static` diff --git a/pages.nl/linux/kill.md b/pages.nl/linux/kill.md new file mode 100644 index 00000000000000..24fa727b91b8ae --- /dev/null +++ b/pages.nl/linux/kill.md @@ -0,0 +1,37 @@ +# kill + +> Stuurt een signaal naar een proces, meestal om het proces te stoppen. +> Alle signalen behalve SIGKILL en SIGSTOP kunnen door het proces worden onderschept om een nette afsluiting uit te voeren. +> Meer informatie: . + +- Beëindig een programma met behulp van het standaard SIGTERM (terminate) signaal: + +`kill {{proces_id}}` + +- Toon signaalwaarden en hun overeenkomstige namen (te gebruiken zonder het `SIG` voorvoegsel). De beschikbare opties kunnen afhangen van de implementatie van `kill`: + +`kill {{-l|-L|--table}}` + +- Beëindig een achtergrondtaak: + +`kill %{{taak_id}}` + +- Beëindig een programma met behulp van het SIGHUP (hang up) signaal. Veel daemons zullen herladen in plaats van beëindigen: + +`kill -{{1|HUP}} {{proces_id}}` + +- Beëindig een programma met behulp van het SIGINT (interrupt) signaal. Dit wordt meestal geïnitieerd door de gebruiker die `` indrukt: + +`kill -{{2|INT}} {{proces_id}}` + +- Signaleer het besturingssysteem om een programma onmiddellijk te beëindigen (het programma krijgt geen kans om het signaal te onderscheppen): + +`kill -{{9|KILL}} {{proces_id}}` + +- Signaleer het besturingssysteem om een programma te pauzeren totdat een SIGCONT ("continue") signaal wordt ontvangen: + +`kill -{{17|STOP}} {{proces_id}}` + +- Stuur een `SIGUSR1` signaal naar alle processen met de gegeven GID (groeps-ID): + +`kill -{{SIGUSR1}} -{{groep_id}}` diff --git a/pages.nl/linux/last.md b/pages.nl/linux/last.md new file mode 100644 index 00000000000000..df502a3c8710bb --- /dev/null +++ b/pages.nl/linux/last.md @@ -0,0 +1,36 @@ +# last + +> Toon de laatst ingelogde gebruikers. +> Meer informatie: . + +- Bekijk de laatste inloggegevens (bijv. gebruikersnaam, terminal, opstarttijd, kernel) van alle gebruikers zoals gelezen uit `/var/log/wtmp`: + +`last` + +- Toon login informatie van een specifieke gebruiker: + +`last {{gebruikersnaam}}` + +- Specificeer hoeveel van de laatste aanmeldingen weergegeven moeten worden: + +`last {{[-n|--limit]}} {{login_count}}` + +- Toon de volledige datum en tijd voor vermeldingen en toon vervolgens de kolom met de hostnaam als laatste weer om afkapping te voorkomen: + +`last {{[-F|--fulltimes]}} {{[-a|--hostlast]}}` + +- Toon alle aanmeldingen van een specifieke gebruiker en toon het IP-adres in plaats van de hostnaam: + +`last {{gebruikersnaam}} {{[-i|--ip]}}` + +- Toon informatie vanaf een specifieke datum en tijd: + +`last {{[-s|--since]}} {{-7days}}` + +- Bekijk alle geregistreerde herstarts (d.w.z. de laatste aanmeldingen van de pseudo-gebruiker “reboot”): + +`last reboot` + +- Toon de help: + +`last {{[-h|--help]}}` diff --git a/pages.nl/linux/lex.md b/pages.nl/linux/lex.md new file mode 100644 index 00000000000000..a4822d6bbc2f5a --- /dev/null +++ b/pages.nl/linux/lex.md @@ -0,0 +1,7 @@ +# lex + +> Dit commando is een alias van `flex`. + +- Bekijk de documentatie van het originele commando: + +`tldr flex` diff --git a/pages.nl/linux/libtool.md b/pages.nl/linux/libtool.md new file mode 100644 index 00000000000000..6eabe09a497e3a --- /dev/null +++ b/pages.nl/linux/libtool.md @@ -0,0 +1,32 @@ +# libtool + +> Een generiek script voor bibliotheekondersteuning dat de complexiteit van het gebruik van gedeelde bibliotheken verbergt achter een consistente, draagbare interface. +> Meer informatie: . + +- Compileer een bronbestand naar een `libtool`-object: + +`libtool {{[c|compile]}} gcc {{[-c|--compile]}} {{pad/naar/bron.c}} {{[-o|--output]}} {{pad/naar/bron.lo}}` + +- Maak een bibliotheek of een uitvoerbaar bestand: + +`libtool {{[l|link]}} gcc {{[-o|--output]}} {{pad/naar/bibliotheek.lo}} {{pad/naar/bron.lo}}` + +- Stel automatisch het bibliotheekpad in zodat een ander programma niet-geïnstalleerde door `libtool` gegenereerde programma's of bibliotheken kan gebruiken: + +`libtool {{[e|execute]}} gdb {{pad/naar/programma}}` + +- Installeer een gedeelde bibliotheek: + +`libtool {{[i|install]}} cp {{pad/naar/bibliotheek.la}} {{pad/naar/installatiemap}}` + +- Voltooi de installatie van `libtool`-bibliotheken op het systeem: + +`libtool {{[f|finish]}} {{pad/naar/installatiemap}}` + +- Verwijder geïnstalleerde bibliotheken of uitvoerbare bestanden: + +`libtool {{[u|uninstall]}} {{pad/naar/geïnstalleerde_bibliotheek.la}}` + +- Verwijder niet-geïnstalleerde bibliotheken of uitvoerbare bestanden: + +`libtool {{[cl|clean]}} rm {{pad/naar/bron.lo}} {{pad/naar/bibliotheek.la}}` diff --git a/pages.nl/linux/libtoolize.md b/pages.nl/linux/libtoolize.md new file mode 100644 index 00000000000000..a825d38f2b9a9a --- /dev/null +++ b/pages.nl/linux/libtoolize.md @@ -0,0 +1,9 @@ +# libtoolize + +> Een `autotools` tool om een pakket voor te bereiden voor het gebruik van `libtool`. +> Het voert verschillende taken uit, waaronder het genereren van de benodigde bestanden en directories om `libtool` naadloos in een project te integreren. +> Meer informatie: . + +- Initialiseer een project voor `libtool` door de benodigde bestanden te kopiëren (symbolische links vermijden) en bestaande bestanden indien nodig te overschrijven: + +`libtoolize {{[-cf|--copy --force]}}` diff --git a/pages.nl/linux/libuser-lid.md b/pages.nl/linux/libuser-lid.md new file mode 100644 index 00000000000000..5f38c770a3601b --- /dev/null +++ b/pages.nl/linux/libuser-lid.md @@ -0,0 +1,7 @@ +# libuser-lid + +> Dit commando is een alias van `lid`. + +- Bekijk de documentatie van het originele commando: + +`tldr lid.libuser` diff --git a/pages.nl/linux/lid.libuser.md b/pages.nl/linux/lid.libuser.md new file mode 100644 index 00000000000000..ad86ba70e8e3dd --- /dev/null +++ b/pages.nl/linux/lid.libuser.md @@ -0,0 +1,12 @@ +# lid + +> Toon groepen van een gebruiker of de gebruikers van een groep. +> Meer informatie: . + +- Toon primaire en secundaire groepen van een specifieke gebruiker: + +`sudo lid {{gebruikersnaam}}` + +- Toon gebruikers van een specifieke groep: + +`sudo lid --group {{groepsnaam}}` diff --git a/pages.nl/linux/lid.md b/pages.nl/linux/lid.md new file mode 100644 index 00000000000000..44907ecb0c05e9 --- /dev/null +++ b/pages.nl/linux/lid.md @@ -0,0 +1,11 @@ +# lid + +> `lid` kan verwijzen naar meerdere commando's met dezelfde naam. + +- Bekijk de documentatie voor het `libuser` hulpprogramma: + +`tldr lid.libuser` + +- Bekijk de documentatie voor het `idutils` hulpprogramma: + +`tldr lid.idutils` diff --git a/pages.nl/linux/linux32.md b/pages.nl/linux/linux32.md new file mode 100644 index 00000000000000..f5b3f57497989b --- /dev/null +++ b/pages.nl/linux/linux32.md @@ -0,0 +1,7 @@ +# linux32 + +> Dit commando is een alias van `setarch linux32`. + +- Bekijk de documentatie van het originele commando: + +`tldr setarch` diff --git a/pages.nl/linux/linux64.md b/pages.nl/linux/linux64.md new file mode 100644 index 00000000000000..d65c2261ace0b2 --- /dev/null +++ b/pages.nl/linux/linux64.md @@ -0,0 +1,7 @@ +# linux64 + +> Dit commando is een alias van `setarch linux64`. + +- Bekijk de documentatie van het originele commando: + +`tldr setarch` diff --git a/pages.nl/linux/locate.md b/pages.nl/linux/locate.md new file mode 100644 index 00000000000000..df02359dc64e45 --- /dev/null +++ b/pages.nl/linux/locate.md @@ -0,0 +1,16 @@ +# locate + +> Vind snel bestandsnamen. +> Meer informatie: . + +- Zoek naar een patroon in de database. Opmerking: de database wordt periodiek herberekend (meestal wekelijks of dagelijks): + +`locate {{patroon}}` + +- Zoek naar een bestand op basis van de exacte bestandsnaam (een patroon zonder glob-tekens wordt geïnterpreteerd als `*patroon*`): + +`locate '*/{{bestandsnaam}}'` + +- Herbereken de database. Dit moet je doen als je recent toegevoegde bestanden wilt vinden: + +`sudo updatedb` diff --git a/pages.nl/linux/look.md b/pages.nl/linux/look.md new file mode 100644 index 00000000000000..1f231d96a19354 --- /dev/null +++ b/pages.nl/linux/look.md @@ -0,0 +1,26 @@ +# look + +> Toon regels die beginnen met een prefix in een gesorteerd bestand. +> Let op: de regels in het bestand moeten gesorteerd zijn. +> Zie ook: `grep`, `sort`. +> Meer informatie: . + +- Zoek naar regels die beginnen met een specifieke prefix in een specifiek bestand: + +`look {{prefix}} {{pad/naar/bestand}}` + +- Zoek hoofdletterongevoeling alleen op lege en alfanumerieke tekens: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{pad/naar/bestand}}` + +- Specificeer een string-terminatiekarakter (standaard is spatie): + +`look {{[-t|--terminate]}} {{,}}` + +- Zoek in `/usr/share/dict/words` (`--ignore-case` en `--alphanum` worden aangenomen): + +`look {{prefix}}` + +- Zoek in `/usr/share/dict/web2` (`--ignore-case` en `--alphanum` worden aangenomen): + +`look {{[-a|--alternative]}} {{prefix}}` diff --git a/pages.nl/linux/lookandfeeltool.md b/pages.nl/linux/lookandfeeltool.md new file mode 100644 index 00000000000000..a8750619d7e5b5 --- /dev/null +++ b/pages.nl/linux/lookandfeeltool.md @@ -0,0 +1,7 @@ +# lookandfeeltool + +> Dit commando is een alias van `plasma-apply-lookandfeel`. + +- Bekijk de documentatie van het originele commando: + +`tldr plasma-apply-lookandfeel` diff --git a/pages.nl/linux/lrunzip.md b/pages.nl/linux/lrunzip.md new file mode 100644 index 00000000000000..201f0e623defb4 --- /dev/null +++ b/pages.nl/linux/lrunzip.md @@ -0,0 +1,7 @@ +# lrunzip + +> Dit commando is een alias van `lrzip -d`. + +- Bekijk de documentatie van het originele commando: + +`tldr lrzip` diff --git a/pages.nl/linux/lrzip.md b/pages.nl/linux/lrzip.md new file mode 100644 index 00000000000000..23a1e6e839e074 --- /dev/null +++ b/pages.nl/linux/lrzip.md @@ -0,0 +1,29 @@ +# lrzip + +> Een programma voor het comprimeren van grote bestanden. +> Zie ook: `lrunzip`, `lrztar`, `lrzuntar`. +> Meer informatie: . + +- Comprimeer een bestand met LZMA - langzame compressie, snelle decompressie: + +`lrzip {{pad/naar/bestand}}` + +- Comprimeer een bestand met BZIP2 - goede middenweg voor compressie/snelheid: + +`lrzip -b {{pad/naar/bestand}}` + +- Comprimeer met ZPAQ - extreme compressie, maar erg langzaam: + +`lrzip -z {{pad/naar/bestand}}` + +- Comprimeer met LZO - lichte compressie, extreem snelle decompressie: + +`lrzip -l {{pad/naar/bestand}}` + +- Een bestand comprimeren en met een wachtwoord beveiligen/versleutelen: + +`lrzip -e {{pad/naar/bestand}}` + +- Overschrijf het aantal processor threads om te gebruiken: + +`lrzip -p {{8}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/lrztar.md b/pages.nl/linux/lrztar.md new file mode 100644 index 00000000000000..8d6429f7bdac1e --- /dev/null +++ b/pages.nl/linux/lrztar.md @@ -0,0 +1,25 @@ +# lrztar + +> Een wrapper voor `lrzip` om het comprimeren van mappen te vereenvoudigen. +> Zie ook: `tar`, `lrzuntar`, `lrunzip`. +> Meer informatie: . + +- Archiveer een map met tar en comprimeer dan: + +`lrztar {{pad/naar/map}}` + +- Hetzelfde als hierboven, met ZPAQ - extreme compressie, maar erg langzaam: + +`lrztar -z {{pad/naar/map}}` + +- Geef het uitvoerbestand op: + +`lrztar -o {{pad/naar/bestand}} {{pad/naar/map}}` + +- Overschrijf het aantal processor threads dat gebruikt moet worden: + +`lrztar -p {{8}} {{pad/naar/map}}` + +- Forceer het overschrijven van bestaande bestanden: + +`lrztar -f {{pad/naar/map}}` diff --git a/pages.nl/linux/lrzuntar.md b/pages.nl/linux/lrzuntar.md new file mode 100644 index 00000000000000..d16e36c32aafbe --- /dev/null +++ b/pages.nl/linux/lrzuntar.md @@ -0,0 +1,7 @@ +# lrzuntar + +> Dit commando is een alias van `lrztar -d`. + +- Bekijk de documentatie van het originele commando: + +`tldr lrztar` diff --git a/pages.nl/linux/lsblk.md b/pages.nl/linux/lsblk.md new file mode 100644 index 00000000000000..f8b4b62115e0ca --- /dev/null +++ b/pages.nl/linux/lsblk.md @@ -0,0 +1,36 @@ +# lsblk + +> Toon informatie over apparaten. +> Meer informatie: . + +- Toon alle opslagapparaten in een boomstructuur: + +`lsblk` + +- Toon ook lege apparaten: + +`lsblk {{[-a|--all]}}` + +- Toon de SIZE-kolom in bytes in plaats van in een leesbaar formaat: + +`lsblk {{[-b|--bytes]}}` + +- Toon informatie over bestandssystemen: + +`lsblk {{[-f|--fs]}}` + +- Gebruik ASCII-tekens voor de boomstructuur: + +`lsblk {{[-i|--ascii]}}` + +- Toon informatie over de topologie van blokapparaten: + +`lsblk {{[-t|--topology]}}` + +- Sluit de apparaten uit die zijn opgegeven met een door komma's gescheiden lijst met hoofdapparaatnummers: + +`lsblk {{[-e|--exclude]}} {{1,7,...}}` + +- Toon een aangepaste samenvatting gebruikmakend van een door komma's gescheiden lijst met kolommen: + +`lsblk {{[-o|--output]}} {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}` diff --git a/pages.nl/linux/megadl.md b/pages.nl/linux/megadl.md new file mode 100644 index 00000000000000..f24e834913d0ce --- /dev/null +++ b/pages.nl/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Dit commando is een alias van `megatools-dl`. + +- Bekijk de documentatie van het originele commando: + +`tldr megatools-dl` diff --git a/pages.nl/linux/megatools-dl.md b/pages.nl/linux/megatools-dl.md new file mode 100644 index 00000000000000..05db0e17785c15 --- /dev/null +++ b/pages.nl/linux/megatools-dl.md @@ -0,0 +1,21 @@ +# megatools-dl + +> Download bestanden van `mega.nz`. +> Onderdeel van de `megatools` suite. +> Meer informatie: . + +- Download bestanden van een `mega.nz` link naar de huidige map: + +`megatools-dl {{https://mega.nz/...}}` + +- Download bestanden van eem `mega.nz` link naar een specifieke map: + +`megatools-dl --path {{pad/naar/map}} {{https://mega.nz/...}}` + +- Kies interactief welke bestanden moeten worden gedownload: + +`megatools-dl --choose-files {{https://mega.nz/...}}` + +- Beperk de downloadsnelheid in KiB/s: + +`megatools-dl --limit-speed {{speed}} {{https://mega.nz/...}}` diff --git a/pages.nl/linux/mesg.md b/pages.nl/linux/mesg.md new file mode 100644 index 00000000000000..f124d5d9e5d46a --- /dev/null +++ b/pages.nl/linux/mesg.md @@ -0,0 +1,21 @@ +# mesg + +> Controleer of stel in of een terminal berichten van andere gebruikers kan ontvangen, meestal van het `write`-commando. +> Zie ook: `write`, `talk`. +> Meer informatie: . + +- Controleer of de terminal openstaat voor berichten: + +`mesg` + +- Sta geen berichten toe van andere gebruikers: + +`mesg n` + +- Sta berichten toe van andere gebruikers: + +`mesg y` + +- Schakel [v]erbose modus in, en toon een waarschuwing als het commando niet wordt uitgevoerd vanaf een terminal: + +`mesg {{[-v|--verbose]}}` diff --git a/pages.nl/linux/mkfs.fat.md b/pages.nl/linux/mkfs.fat.md new file mode 100644 index 00000000000000..9cdec585f623b3 --- /dev/null +++ b/pages.nl/linux/mkfs.fat.md @@ -0,0 +1,24 @@ +# mkfs.fat + +> Maak een MS-DOS bestandssysteem in een partitie. +> Meer informatie: . + +- Maak een fat bestandssysteem binnen partitie `Y` op apparaat `X`: + +`mkfs.fat {{/dev/sdXY}}` + +- Maak een bestandssysteem met een volumenaam: + +`mkfs.fat -n {{volume_naam}} {{/dev/sdXY}}` + +- Maak een bestandssysteem met een volume-id: + +`mkfs.fat -i {{volume_id}} {{/dev/sdXY}}` + +- Gebruik 5 in plaats van 2 bestandstoewijzingstabellen: + +`mkfs.fat -f 5 {{/dev/sdXY}}` + +- Geef bestandssysteemtype op: + +`mkfs.fat -F {{12|16|32}} {{/dev/sdXY}}` diff --git a/pages.nl/linux/mkfs.vfat.md b/pages.nl/linux/mkfs.vfat.md new file mode 100644 index 00000000000000..0b0146d944a730 --- /dev/null +++ b/pages.nl/linux/mkfs.vfat.md @@ -0,0 +1,7 @@ +# mkfs.vfat + +> Dit commando is een alias van `mkfs.fat`. + +- Bekijk de documentatie van het originele commando: + +`tldr mkfs.fat` diff --git a/pages.nl/linux/mknod.md b/pages.nl/linux/mknod.md new file mode 100644 index 00000000000000..49571eb6ec6708 --- /dev/null +++ b/pages.nl/linux/mknod.md @@ -0,0 +1,20 @@ +# mknod + +> Maak speciale bestanden voor blok- of tekenapparaten aan. +> Meer informatie: . + +- Maak een blokapparaat aan: + +`sudo mknod {{pad/naar/apparaat_bestand}} b {{groot_apparaatnummer}} {{klein_apparaatnummer}}` + +- Maak een tekenapparaat aan: + +`sudo mknod {{pad/naar/apparaat_bestand}} c {{groot_apparaatnummer}} {{klein_apparaatnummer}}` + +- Maak een FIFO (queue) apparaat aan: + +`sudo mknod {{pad/naar/apparaat_bestand}} p` + +- Maak een apparaatbestand aan met de standaard SELinux-beveiligingscontext: + +`sudo mknod {{[-Z |--context=]}}{{pad/naar/apparaat_bestand}} {{type}} {{groot_apparaatnummer}} {{klein_apparaatnummer}}` diff --git a/pages.nl/linux/mktemp.md b/pages.nl/linux/mktemp.md new file mode 100644 index 00000000000000..3269ceafeff021 --- /dev/null +++ b/pages.nl/linux/mktemp.md @@ -0,0 +1,32 @@ +# mktemp + +> Maak een tijdelijk bestand of een tijdelijke map aan. +> Meer informatie: . + +- Maak een leeg tijdelijk bestand en toon het absolute pad: + +`mktemp` + +- Gebruik een aangepaste map (standaard is `$TMPDIR`, of `/tmp`): + +`mktemp {{[-p |--tmpdir=]}}/{{pad/naar/tempdir}}` + +- Gebruik een aangepast pad-sjabloon (`X`en worden vervangen door willekeurige alfanumerieke tekens): + +`mktemp {{/tmp/voorbeeld.XXXXXXXX}}` + +- Gebruik een aangepast bestandsnaam-sjabloon: + +`mktemp -t {{voorbeeld.XXXXXXXX}}` + +- Maak een leeg tijdelijk bestand met de opgegeven extensie en toon het absolute pad: + +`mktemp --suffix {{.ext}}` + +- Maak een lege tijdelijke map aan en toon het absolute pad: + +`mktemp {{[-d|--directory]}}` + +- Print de naam van een tijdelijk bestand of map zonder het te creëren: + +`mktemp {{[-u|--dry-run]}}` diff --git a/pages.nl/linux/more.md b/pages.nl/linux/more.md new file mode 100644 index 00000000000000..9180c8a2988b80 --- /dev/null +++ b/pages.nl/linux/more.md @@ -0,0 +1,29 @@ +# more + +> Toon een bestand interactief, met de mogelijkheid om te scrollen en te zoeken. +> Zie ook: `less`. +> Meer informatie: . + +- Open een bestand: + +`more {{pad/naar/bestand}}` + +- Toon een specifieke regel: + +`more +{{regelnummer}} {{pad/naar/bestand}}` + +- Ga naar de volgende pagina: + +`` + +- Zoek naar een string (druk op `` om naar de volgende overeenkomst te gaan): + +`{{iets}}` + +- Afsluiten: + +`` + +- Toon de help over interactieve commando's: + +`` diff --git a/pages.nl/linux/mount.cifs.md b/pages.nl/linux/mount.cifs.md new file mode 100644 index 00000000000000..3ad0b493778850 --- /dev/null +++ b/pages.nl/linux/mount.cifs.md @@ -0,0 +1,17 @@ +# mount.cifs + +> Mount SMB (Server Message Block) of CIFS (Common Internet File System) shares. +> Let op: u kunt ook hetzelfde doen door de optie `-t cifs` door te geven aan `mount`. +> Meer informatie: . + +- Verbinding maken met de opgegeven gebruikersnaam of `$USER` als standaard (U wordt gevraagd om een wachtwoord): + +`mount.cifs -o user={{gebruikersnaam}} //{{server}}/{{share_naam}} {{mountpoint}}` + +- Maak verbinding als gastgebruiker (zonder wachtwoord): + +`mount.cifs -o guest //{{server}}/{{share_naam}} {{mountpoint}}` + +- Stel eigendomsinformatie in voor de mounted map: + +`mount.cifs -o uid={{gebruiker_id|gebruikersnaam}},gid={{groep_id|groepsnaam}} //{{server}}/{{share_naam}} {{mountpoint}}` diff --git a/pages.nl/linux/mount.md b/pages.nl/linux/mount.md new file mode 100644 index 00000000000000..aa7a692564bd3d --- /dev/null +++ b/pages.nl/linux/mount.md @@ -0,0 +1,36 @@ +# mount + +> Krijg toegang tot een volledig bestandssysteem in één map. +> Meer informatie: . + +- Toon alle gemounte bestandssystemen: + +`mount` + +- Koppel een apparaat aan een map: + +`mount {{pad/naar/apparaatbestand}} {{pad/naar/doelmap}}` + +- Maak een specifieke map aan als het niet bestaat en koppel er een apparaat aan: + +`mount {{[-m|--mkdir]}} {{pad/naar/apparaatbestand}} {{pad/naar/doelmap}}` + +- Koppel een apparaat aan een map voor een specifieke gebruiker: + +`mount {{[-o|--options]}} uid={{gebruiker_id}},gid={{groep_id}} {{pad/naar/apparaatbestand}} {{pad/naar/doelmap}}` + +- Koppel een CD-ROM-apparaat (met bestandstype ISO9660) aan `/cdrom` (alleen-lezen): + +`mount {{[-t|--types]}} iso9660 {{[-o|--options]}} ro {{/dev/cdrom}} /cdrom` + +- Koppel alle bestandssystemen die gedefinieerd zijn in `/etc/fstab`: + +`mount {{[-a|--all]}}` + +- Koppel een specifiek bestandssysteem omschreven in `/etc/fstab` (b.v. `/dev/sda1 /my_drive ext2 defaults 0 2`): + +`mount {{/mijn_schijf}}` + +- Koppel een map aan een andere map: + +`mount {{[-B|--bind]}} {{pad/naar/oude_map}} {{pad/naar/nieuwe_map}}` diff --git a/pages.nl/linux/mount.smb3.md b/pages.nl/linux/mount.smb3.md new file mode 100644 index 00000000000000..d936c4cac7bcf7 --- /dev/null +++ b/pages.nl/linux/mount.smb3.md @@ -0,0 +1,8 @@ +# mount.smb3 + +> Dit commando is een alias van `mount.cifs`. +> Let op: voor SMB versies vóór 3, dien je `mount.cifs` te gebruiken. + +- Bekijk de documentatie van het originele commando: + +`tldr mount.cifs` diff --git a/pages.nl/linux/ncal.md b/pages.nl/linux/ncal.md new file mode 100644 index 00000000000000..aa61aeb381c1bf --- /dev/null +++ b/pages.nl/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Dit commando is een alias van `cal`. + +- Bekijk de documentatie van het originele commando: + +`tldr cal` diff --git a/pages.nl/linux/nl.md b/pages.nl/linux/nl.md new file mode 100644 index 00000000000000..7a8c8f77cdfbd4 --- /dev/null +++ b/pages.nl/linux/nl.md @@ -0,0 +1,36 @@ +# nl + +> Voorzie regels van een nummer uit een bestand of van `stdin`. +> Meer informatie: . + +- Voorzie niet-lege regels in een bestand van een nummer: + +`nl {{pad/naar/bestand}}` + +- Lees van `stdin`: + +`{{commando}} | nl` + +- Nummer [a]lle [b]ody regels inclusief lege regels of [n]ummer geen [b]ody regels: + +`nl {{[-b|--body-numbering]}} {{a|n}} {{pad/naar/bestand}}` + +- Nummer alleen de [b]ody regels die overeenkomen met een basis reguliere expressie (BRE) [p]atroon: + +`nl {{[-b|--body-numbering]}} p'FooBar[0-9]' {{pad/naar/bestand}}` + +- Gebruik een specifieke [i]ncrement voor regelnummering: + +`nl {{[-i|--line-increment]}} {{increment}} {{pad/naar/bestand}}` + +- Specificeer het nummeringsformaat voor regels: [r]echts of [l]inks uitgelijnd, met of zonder voorloopnullen ([z]eros): + +`nl {{[-n|--number-format]}} {{rz|ln|rn}}` + +- Specificeer de breedte ([w]) van de nummering (standaard is 6): + +`nl {{[-w|--number-width]}} {{kolombreedte}} {{pad/naar/bestand}}` + +- Gebruik een specifieke string om de regelnummers van de regels te [s]cheiden (standaard is TAB): + +`nl {{[-s|--number-separator]}} {{scheidingsteken}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/nmcli-agent.md b/pages.nl/linux/nmcli-agent.md new file mode 100644 index 00000000000000..ae47aa6cbf5509 --- /dev/null +++ b/pages.nl/linux/nmcli-agent.md @@ -0,0 +1,16 @@ +# nmcli agent + +> Draai `nmcli` als een NetworkManager secret/polkit agent. +> Meer informatie: . + +- Registeer `nmcli` als een secret agent en luister naar geheime verzoeken: + +`nmcli {{[a|agent]}} {{[s|secret]}}` + +- Registreer `nmcli` als een polkit agent en luister naar authorizatie verzoeken: + +`nmcli {{[a|agent]}} {{[p|polkit]}}` + +- Registreer `nmcli` als een secret agent en als een polkit agent: + +`nmcli {{[a|agent]}} {{[a|all]}}` diff --git a/pages.nl/linux/nmcli-connection.md b/pages.nl/linux/nmcli-connection.md new file mode 100644 index 00000000000000..62c9accbfee48e --- /dev/null +++ b/pages.nl/linux/nmcli-connection.md @@ -0,0 +1,32 @@ +# nmcli connection + +> Beheer verbindingen met NetworkManager. +> Meer informatie: . + +- Toon alle NetworkManager connecties (toont naam, UUID, type en apparaat): + +`nmcli {{[c|connection]}}` + +- Activeer een connectie: + +`nmcli {{[c|connection]}} {{[u|up]}} {{uuid}}` + +- Deactiveer een connectie: + +`nmcli {{[c|connection]}} {{[d|down]}} {{uuid}}` + +- Maak een automatisch geconfigueeerde dual stack connectie: + +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{interface_naam}} type {{ethernet}} ipv4.method {{auto}} ipv6.method {{auto}}` + +- Maak een statische IPv6-only connectie: + +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{interface_naam}} type {{ethernet}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}` + +- Maak een statische IPv4-only connectie: + +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{interface_naam}} type {{ethernet}} ip4 {{10.0.0.7/8}} gw4 {{10.0.0.1}} ipv4.dns {{10.0.0.1}} ipv6.method {{ignore}}` + +- Maak een VPN connectie via OpenVPN vanuit een OVPN bestand: + +`nmcli {{[c|connection]}} {{[i|import]}} type {{openvpn}} file {{pad/naar/vpn_config.ovpn}}` diff --git a/pages.nl/linux/nmcli-device.md b/pages.nl/linux/nmcli-device.md new file mode 100644 index 00000000000000..685ea17b865c36 --- /dev/null +++ b/pages.nl/linux/nmcli-device.md @@ -0,0 +1,24 @@ +# nmcli device + +> Beheer netwerkinterfaces en zetten nieuwe Wi-Fi-verbindingen op via NetworkManager. +> Meer informatie: . + +- Toon de statussen van alle netwerkinterfaces: + +`nmcli {{[d|device]}}` + +- Toon alle beschikbare WiFi-toegangspunten: + +`nmcli {{[d|device]}} {{[w|wifi]}}` + +- Verbind met een Wi-Fi netwerk via een gespecificeerd SSID (je zal gevraagd worden voor een wachtwoord): + +`nmcli {{[d|device]}} {{[w|wifi]}} {{[c|connect]}} {{ssid}} {{[-a|--ask]}}` + +- Toon het wachtwoord en de QR-code voor het huidige Wi-Fi netwerk: + +`nmcli {{[d|device]}} {{[w|wifi]}} {{[s|show-password]}}` + +- Toon gedetailleerde informatie over een device: + +`nmcli {{[d|device]}} {{[sh|show]}} {{wlan0}}` diff --git a/pages.nl/linux/nmcli-general.md b/pages.nl/linux/nmcli-general.md new file mode 100644 index 00000000000000..f8f79b7501e0f7 --- /dev/null +++ b/pages.nl/linux/nmcli-general.md @@ -0,0 +1,28 @@ +# nmcli general + +> Beheer algemene instellingen van NetworkManager. +> Meer informatie: . + +- Toon de algemene status van NetworkManager: + +`nmcli {{[g|general]}}` + +- Toon de hostname van het huidige apparaat: + +`nmcli {{[g|general]}} {{[h|hostname]}}` + +- Verander de hostname van het huidige apparaat: + +`sudo nmcli {{[g|general]}} {{[h|hostname]}} {{nieuwe_hostnaam}}` + +- Toon de permissies van NetworkManager: + +`nmcli {{[g|general]}} {{[p|permissions]}}` + +- Toon het huidige logging level en domeinen: + +`nmcli {{[g|general]}} {{[l|logging]}}` + +- Zet het logging level en/of domainen (zie `man NetworkManager.conf` voor alle beschikbare domeinen): + +`sudo nmcli {{[g|general]}} {{[l|logging]}} {{[l|level]}} {{INFO|OFF|ERR|WARN|DEBUG|TRACE}} domain {{domein_1,domein_2,...}}` diff --git a/pages.nl/linux/nmcli-monitor.md b/pages.nl/linux/nmcli-monitor.md new file mode 100644 index 00000000000000..9a702d385bba6b --- /dev/null +++ b/pages.nl/linux/nmcli-monitor.md @@ -0,0 +1,8 @@ +# nmcli monitor + +> Monitor veranderingen van de NetworkManager connectie status. +> Meer informatie: . + +- Start het monitoren van NetworkManager's veranderingen: + +`nmcli {{[m|monitor]}}` diff --git a/pages.nl/linux/nmcli-networking.md b/pages.nl/linux/nmcli-networking.md new file mode 100644 index 00000000000000..90c36a8f06d92d --- /dev/null +++ b/pages.nl/linux/nmcli-networking.md @@ -0,0 +1,20 @@ +# nmcli networking + +> Beheer de netwerk status of NetworkManager. +> Meer informatie: . + +- Toon de netwerk status of NetworkManager: + +`nmcli {{[n|networking]}}` + +- Schakel netwerk in/uit en alle interfaces die worden beheerd door NetworkManager: + +`nmcli {{[n|networking]}} {{on|off}}` + +- Toon de laatst bekende connectiviteit status: + +`nmcli {{[n|networking]}} {{[c|connectivity]}}` + +- Toon de huidige connectiviteit status: + +`nmcli {{[n|networking]}} {{[c|connectivity]}} {{[c|check]}}` diff --git a/pages.nl/linux/nmcli-radio.md b/pages.nl/linux/nmcli-radio.md new file mode 100644 index 00000000000000..fb42ca8ae4f0fe --- /dev/null +++ b/pages.nl/linux/nmcli-radio.md @@ -0,0 +1,28 @@ +# nmcli radio + +> Toon de status van radioschakelaars of schakel ze in/uit via NetworkManager. +> Meer informatie: . + +- Toon de status van Wi-Fi: + +`nmcli {{[r|radio]}} {{[w|wifi]}}` + +- Zet Wi-Fi aan of uit: + +`nmcli {{[r|radio]}} {{[w|wifi]}} {{on|off}}` + +- Toon de status van WWAN: + +`nmcli {{[r|radio]}} {{[ww|wwan]}}` + +- Zet WWAN aan of uit: + +`nmcli {{[r|radio]}} {{[ww|wwan]}} {{on|off}}` + +- Toon de status van beide switches: + +`nmcli {{[r|radio]}}` + +- Zet beide switches aan of uit: + +`nmcli {{[r|radio]}} {{[a|all]}} {{on|off}}` diff --git a/pages.nl/linux/nmcli.md b/pages.nl/linux/nmcli.md new file mode 100644 index 00000000000000..76ca80abe53f5b --- /dev/null +++ b/pages.nl/linux/nmcli.md @@ -0,0 +1,32 @@ +# nmcli + +> Beheer de netwerk configuratie via NetworkManager. +> Meer informatie: . + +- Bekijk de documentatie voor het beheren van netwerkinterfaces en het opzetten van nieuwe Wi-Fi-verbindingen: + +`tldr nmcli device` + +- Bekijk de documentatie voor het beheren van netwerkverbindingen: + +`tldr nmcli connection` + +- Bekijk de documentatie voor het draaien van `nmcli` als een NetworkManager secret/polkit agent: + +`tldr nmcli agent` + +- Bekijk de documentatie voor het beheren van algemene instellingen van NetworkManager: + +`tldr nmcli general` + +- Bekijk de documentatie voor NetworkManager's activiteitenmonitor: + +`tldr nmcli monitor` + +- Bekijk de documentatie voor de status van netwerken in/uit te schakelen en te controleren: + +`tldr nmcli networking` + +- Bekijk de documentatie voor het beheren van radioschakelaars: + +`tldr nmcli radio` diff --git a/pages.nl/linux/nmtui-connect.md b/pages.nl/linux/nmtui-connect.md new file mode 100644 index 00000000000000..86a9208eb6e37b --- /dev/null +++ b/pages.nl/linux/nmtui-connect.md @@ -0,0 +1,7 @@ +# nmtui-connect + +> Dit commando is een alias van `nmtui connect`. + +- Bekijk de documentatie van het originele commando: + +`tldr nmtui` diff --git a/pages.nl/linux/nmtui-edit.md b/pages.nl/linux/nmtui-edit.md new file mode 100644 index 00000000000000..72f82806ded9ea --- /dev/null +++ b/pages.nl/linux/nmtui-edit.md @@ -0,0 +1,7 @@ +# nmtui-edit + +> Dit commando is een alias van `nmtui edit`. + +- Bekijk de documentatie van het originele commando: + +`tldr nmtui` diff --git a/pages.nl/linux/nmtui-hostname.md b/pages.nl/linux/nmtui-hostname.md new file mode 100644 index 00000000000000..09e5dabb60011b --- /dev/null +++ b/pages.nl/linux/nmtui-hostname.md @@ -0,0 +1,7 @@ +# nmtui-hostname + +> Dit commando is een alias van `nmtui hostname`. + +- Bekijk de documentatie van het originele commando: + +`tldr nmtui` diff --git a/pages.nl/linux/nmtui.md b/pages.nl/linux/nmtui.md new file mode 100644 index 00000000000000..fb37d5a804c040 --- /dev/null +++ b/pages.nl/linux/nmtui.md @@ -0,0 +1,25 @@ +# nmtui + +> Tekstgebruikersinterface voor controle over NetworkManager. +> Gebruik `` om te navigeren en gebruik `` om een optie te selecteren. +> Meer informatie: . + +- Open de gebruikersinterface: + +`nmtui` + +- Toon een lijst met alle beschikbare verbindingen, met de optie om deze te activeren danwel te deactiveren: + +`nmtui connect` + +- Verbind met een gegeven netwerk: + +`nmtui connect {{naam|uuid|apparaat|SSID}}` + +- Pas aan/Voeg toe/Verwijder een gegeven netwerk: + +`nmtui edit {{naam|id}}` + +- Stel de systeemhostnaam in: + +`nmtui hostname` diff --git a/pages.nl/linux/opera-stable.md b/pages.nl/linux/opera-stable.md new file mode 100644 index 00000000000000..87b385d4e3bdd9 --- /dev/null +++ b/pages.nl/linux/opera-stable.md @@ -0,0 +1,8 @@ +# opera-stable + +> Dit commando is een alias van `chromium`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr chromium` diff --git a/pages.nl/linux/pacman-d.md b/pages.nl/linux/pacman-d.md new file mode 100644 index 00000000000000..edfd0665c386b5 --- /dev/null +++ b/pages.nl/linux/pacman-d.md @@ -0,0 +1,7 @@ +# pacman -D + +> Dit commando is een alias van `pacman --database`. + +- Bekijk de documentatie van het originele commando: + +`tldr pacman database` diff --git a/pages.nl/linux/pacman-database.md b/pages.nl/linux/pacman-database.md new file mode 100644 index 00000000000000..0d9d445d30cc33 --- /dev/null +++ b/pages.nl/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Werk op de database van het Arch Linux pakket. +> Wijzig bepaalde attributen van de geïnstalleerde pakketten. +> Zie ook: `pacman`. +> Meer informatie: . + +- Markeer een pakket als impliciet geïnstalleerd: + +`sudo pacman -D --asdeps {{pakket}}` + +- Markeer een pakket als expliciet geïnstalleerd: + +`sudo pacman -D --asexplicit {{pakket}}` + +- Chec[k] dat alle pakket-afhankelijkheden zijn geïnstalleerd: + +`pacman -Dk` + +- Chec[k] de sync [D]atabase om ervoor te zorgen dat alle gespecificeerde afhankelijkheden van downloadbare pakketten beschikbaar zijn: + +`pacman -Dkk` + +- Chec[k] en toon in stille ([q]) modus (alleen foutmeldingen worden weergegeven): + +`pacman -Dkq` + +- Toon de [h]elp: + +`pacman -Dh` diff --git a/pages.nl/linux/pacman-deptest.md b/pages.nl/linux/pacman-deptest.md new file mode 100644 index 00000000000000..13e65197122fbf --- /dev/null +++ b/pages.nl/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> Controleer elke opgegeven afhankelijkheid en retourneer een lijst met afhankelijkheden die momenteel niet zijn voldaan op het systeem. +> Zie ook: `pacman`. +> Meer informatie: . + +- Toon de pakket-namen van de afhankelijkheden welke niet geïnstalleerd zijn: + +`pacman -T {{pakket1 pakket2 ...}}` + +- Controleer of het geïnstalleerde pakket voldoet met de gegeven minimale versie: + +`pacman -T "{{bash>=5}}"` + +- Controleer of een latere versie van een pakket is geïnstalleerd: + +`pacman -T "{{bash>5}}"` + +- Toon de [h]elp: + +`pacman -Th` diff --git a/pages.nl/linux/pacman-f.md b/pages.nl/linux/pacman-f.md new file mode 100644 index 00000000000000..4dbb9e1573aad6 --- /dev/null +++ b/pages.nl/linux/pacman-f.md @@ -0,0 +1,7 @@ +# pacman -F + +> Dit commando is een alias van `pacman --files`. + +- Bekijk de documentatie van het originele commando: + +`tldr pacman files` diff --git a/pages.nl/linux/pacman-files.md b/pages.nl/linux/pacman-files.md new file mode 100644 index 00000000000000..2bad96970ddcbe --- /dev/null +++ b/pages.nl/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Arch Linux pakketbeheer hulpprogramma. +> Zie ook: `pacman`,` pkgfile`. +> Meer informatie: . + +- Werk de pakketdatabase bij: + +`sudo pacman -Fy` + +- Zoek het pakket dat een specifiek bestand ([F]) bezit: + +`pacman -F {{bestandsnaam}}` + +- Zoek het pakket dat een specifiek bestand ([F]) bezit, met behulp van een reguliere e[x]pressie: + +`pacman -Fx '{{reguliere_expressie}}'` + +- Maak een lijst van alleen de pakketnamen: + +`pacman -Fq {{bestandsnaam}}` + +- Toon ([l]) de bestanden ([F]) die eigendom zijn van een specifiek pakket: + +`pacman -Fl {{pakket}}` + +- Toon de [h]elp: + +`pacman -Fh` diff --git a/pages.nl/linux/pacman-q.md b/pages.nl/linux/pacman-q.md new file mode 100644 index 00000000000000..ba72451b411d93 --- /dev/null +++ b/pages.nl/linux/pacman-q.md @@ -0,0 +1,7 @@ +# pacman -Q + +> Dit commando is een alias van `pacman --query`. + +- Bekijk de documentatie van het originele commando: + +`tldr pacman query` diff --git a/pages.nl/linux/pacman-query.md b/pages.nl/linux/pacman-query.md new file mode 100644 index 00000000000000..75c88f391af4ee --- /dev/null +++ b/pages.nl/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Arch Linux pakketbeheer hulpprogramma. +> Zie ook: `pacman`. +> Meer informatie: . + +- [Q]uery de lokale pakkettendatabase en toon geïnstalleerde pakketten en versies: + +`pacman -Q` + +- Toon alleen pakketten en versies welke [e]xpliciet geïnstalleerd zijn: + +`pacman -Qe` + +- Zoek welk pakket een bestand bezit ([o]): + +`pacman -Qo {{bestandsnaam}}` + +- Toon informatie over een geïnstalleerd ([i]) pakket: + +`pacman -Qi {{pakket}}` + +- Toon de [l]ijst met bestanden welke een specifiek pakket bezit: + +`pacman -Ql {{pakket}}` + +- Maak een lijst van pakketten welke geïnstalleerd zijn als afhankelijkhe[d]en maar niet vereist door een pakket en print in stille ([q]) modus (alleen pakketnaam wordt weergegeven): + +`pacman -Qdtq` + +- Toon geïnstalleerde pakketten foreign ([m]) voor de repository database: + +`pacman -Qm` + +- Toon pakketten die geüpgraded ([u]) kunnen worden: + +`pacman -Qu` diff --git a/pages.nl/linux/pacman-r.md b/pages.nl/linux/pacman-r.md new file mode 100644 index 00000000000000..217425cba709f3 --- /dev/null +++ b/pages.nl/linux/pacman-r.md @@ -0,0 +1,7 @@ +# pacman -R + +> Dit commando is een alias van `pacman --remove`. + +- Bekijk de documentatie van het originele commando: + +`tldr pacman remove` diff --git a/pages.nl/linux/pacman-remove.md b/pages.nl/linux/pacman-remove.md new file mode 100644 index 00000000000000..5d95cb8f88299e --- /dev/null +++ b/pages.nl/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Hulpprogramma voor het beheren van pakketten op Arch Linux. +> Zie ook: `pacman`. +> Meer informatie: . + +- Verwijde[R] een pakket en zijn afhankelijkheden recur[s]ief: + +`sudo pacman -Rs {{pakket}}` + +- Verwijde[R] een pakket en zijn afhankelijkheden. Maak ook gee[n] back-ups van configuratiebestanden: + +`sudo pacman -Rsn {{pakket}}` + +- Verwijde[R] een pakket zonder bevestigingsprompt: + +`sudo pacman -R --noconfirm {{pakket}}` + +- Verwijde[R] weespakketten (geïnstalleerd als [d]ependencies maar [n]iet vereist door een ander pakket): + +`sudo pacman -Rsn $(pacman -Qdtq)` + +- Verwijde[R] een pakket en [c]ascadeer dat naar alle pakketten die ervan afhankelijk zijn: + +`sudo pacman -Rc {{pakket}}` + +- Toon en [p]rint pakketten die beïnvloed zouden worden (verwijdert [R] geen pakketten): + +`pacman -Rp {{pakket}}` + +- Toon [h]ulp: + +`pacman -Rh` diff --git a/pages.nl/linux/pacman-s.md b/pages.nl/linux/pacman-s.md new file mode 100644 index 00000000000000..c08d41ec20dd84 --- /dev/null +++ b/pages.nl/linux/pacman-s.md @@ -0,0 +1,7 @@ +# pacman -S + +> Dit commando is een alias van `pacman --sync`. + +- Bekijk de documentatie van het originele commando: + +`tldr pacman sync` diff --git a/pages.nl/linux/pacman-sync.md b/pages.nl/linux/pacman-sync.md new file mode 100644 index 00000000000000..054d02e5fe3204 --- /dev/null +++ b/pages.nl/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Hulpprogramma voor het beheren van pakketten op Arch Linux. +> Zie ook: `pacman`. +> Meer informatie: . + +- Installeer een nieuw pakket: + +`sudo pacman -S {{pakket}}` + +- [S]ynchroniseer en ververs ([y]) de pakketdatabase en voer een sys[u]pgrade uit (voeg `--downloadonly` toe om alleen de pakketten te downloaden en niet te upgraden): + +`sudo pacman -Syu` + +- Update en [u]pgrade alle pakketten en installeer een nieuw pakket zonder bevestiging: + +`sudo pacman -Syu --noconfirm {{pakket}}` + +- Doorzoek ([s]) de pakketdatabase met een reguliere expressie of zoekwoord: + +`pacman -Ss "{{zoekterm}}"` + +- Toon [i]nformatie over een pakket: + +`pacman -Si {{pakket}}` + +- Overschrijf conflicterende bestanden tijdens een pakketupdate: + +`sudo pacman -Syu --overwrite {{pad/naar/bestand}}` + +- Verwijder niet-geïnstalleerde pakketten en ongebruikte repositories uit de cache (gebruik de vlag `Sc` om [c]ache volledig schoon te maken): + +`sudo pacman -Sc` + +- Specificeer de pakketversie die geïnstalleerd dient te worden: + +`sudo pacman -S {{pakket}}={{versie}}` diff --git a/pages.nl/linux/pacman-t.md b/pages.nl/linux/pacman-t.md new file mode 100644 index 00000000000000..b8f4cec813803e --- /dev/null +++ b/pages.nl/linux/pacman-t.md @@ -0,0 +1,7 @@ +# pacman -T + +> Dit commando is een alias van `pacman --deptest`. + +- Bekijk de documentatie van het originele commando: + +`tldr pacman deptest` diff --git a/pages.nl/linux/pacman-u.md b/pages.nl/linux/pacman-u.md new file mode 100644 index 00000000000000..695963e11eb2a3 --- /dev/null +++ b/pages.nl/linux/pacman-u.md @@ -0,0 +1,7 @@ +# pacman -U + +> Dit commando is een alias van `pacman --upgrade`. + +- Bekijk de documentatie van het originele commando: + +`tldr pacman upgrade` diff --git a/pages.nl/linux/pacman-upgrade.md b/pages.nl/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..f31b590daabaca --- /dev/null +++ b/pages.nl/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> Arch Linux pakketbeheer hulpprogramma. +> Zie ook: `pacman`. +> Meer informatie: . + +- Installeer een of meerdere pakketten vanuit bestanden: + +`sudo pacman -U {{pad/naar/pakket1.pkg.tar.zst pad/naar/pakket2.pkg.tar.zst ...}}` + +- Installeer een pakket zonder vragen te stellen: + +`sudo pacman -U --noconfirm {{pad/naar/pakket.pkg.tar.zst}}` + +- Overschrijf conflicterende bestanden tijdens het installeren van een pakket: + +`sudo pacman -U --overwrite {{pad/naar/bestand}} {{pad/naar/pakket.pkg.tar.zst}}` + +- Installeer een pakket en sla de controles van afhankelijkhei[d]sversie over: + +`sudo pacman -Ud {{pad/naar/pakket.pkg.tar.zst}}` + +- Haal pakketten op en toon ([p]) welke beïnvloed worden door een upgrade (installeert geen pakketten): + +`pacman -Up {{pad/naar/pakket.pkg.tar.zst}}` + +- Toon de [h]elp: + +`pacman -Uh` diff --git a/pages.nl/linux/pacman.md b/pages.nl/linux/pacman.md new file mode 100644 index 00000000000000..75c8faa0732c76 --- /dev/null +++ b/pages.nl/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> Hulpprogramma voor het beheren van pakketten op Arch Linux. +> Zie ook: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`. +> Voor gelijkwaardige commando's in andere pakket managers, zie . +> Meer informatie: . + +- [S]ynchroniseer en update alle pakketten: + +`sudo pacman -Syu` + +- Installeer een nieuw pakket: + +`sudo pacman -S {{pakket}}` + +- Verwijde[R] een pakket en zijn afhankelijkheden: + +`sudo pacman -Rs {{pakket}}` + +- Doorzoek ([s]) de pakketdatabase met een reguliere expressie of zoekwoord: + +`pacman -Ss "{{zoekterm}}"` + +- Zoek in de database voor pakketten die een specifiek bestand ([F]) bevatten: + +`pacman -F "{{bestandsnaam}}"` + +- Toon alleen de [e]xpliciet geïnstalleerde pakketten en versies: + +`pacman -Qe` + +- Toon weespakketten (geïnstalleerd als afhankelijkhe[d]en maar niet daadwerkelijk vereist door een ander pakket): + +`pacman -Qtdq` + +- Leeg de hele `pacman` cache: + +`sudo pacman -Scc` diff --git a/pages.nl/linux/pkgctl-auth.md b/pages.nl/linux/pkgctl-auth.md new file mode 100644 index 00000000000000..6f24e02470cbf4 --- /dev/null +++ b/pages.nl/linux/pkgctl-auth.md @@ -0,0 +1,12 @@ +# pkgctl auth + +> Authenticeer `pkgctl` met diensten zoals GitLab. +> Meer informatie: . + +- Authenticeer `pkgctl` met de GitLab instantie: + +`pkgctl auth login` + +- Toon authenticatie status: + +`pkgctl auth status` diff --git a/pages.nl/linux/pkgctl-build.md b/pages.nl/linux/pkgctl-build.md new file mode 100644 index 00000000000000..9662d9cb9f4361 --- /dev/null +++ b/pages.nl/linux/pkgctl-build.md @@ -0,0 +1,12 @@ +# pkgctl build + +> Bouw pakketten in een schone `chroot`. +> Meer informatie: . + +- Kies automatisch het juiste build script om pakketten in een schone `chroot` te bouwen: + +`pkgctl build` + +- Bouw pakketten handmatig in een schone `chroot`: + +`pkgctl build --arch {{architecture}} --repo {{repository}} --clean` diff --git a/pages.nl/linux/pkgctl-db-update.md b/pages.nl/linux/pkgctl-db-update.md new file mode 100644 index 00000000000000..460b88b11ba0b2 --- /dev/null +++ b/pages.nl/linux/pkgctl-db-update.md @@ -0,0 +1,8 @@ +# pkgctl db update + +> Update de pacman-database als laatste stap van de release voor pakketten die zijn overgedragen en opgevoerd in . +> Meer informatie: . + +- Update de binary repository als laatste stap van de release: + +`pkgctl db update` diff --git a/pages.nl/linux/pkgctl-diff.md b/pages.nl/linux/pkgctl-diff.md new file mode 100644 index 00000000000000..b2d073a0b6425d --- /dev/null +++ b/pages.nl/linux/pkgctl-diff.md @@ -0,0 +1,21 @@ +# pkgctl diff + +> Vergelijk pakketbestanden met behulp van verschillende modi. +> Zie ook: `pkgctl`. +> Meer informatie: . + +- Vergelijk pakketbestanden in tar-inhoud [l]ijst verschillende modus (standaard): + +`pkgctl diff {{[-l|--list]}} {{pad/naar/bestand|pkgname}}` + +- Vergelijk pakketbestanden in [d]iffoscope verschillende modus: + +`pkgctl diff {{[-d|--diffoscope]}} {{pad/naar/bestand|pkgname}}` + +- Vergelijk pakketbestanden in `.PKGINFO` verschillende modus: + +`pkgctl diff {{[-p|--pkginfo]}} {{pad/naar/bestand|pkgname}}` + +- Vergelijk pakketbestanden in `.BUILDINFO` verschillende modus: + +`pkgctl diff {{[-b|--buildinfo]}} {{pad/naar/bestand|pkgname}}` diff --git a/pages.nl/linux/pkgctl-release.md b/pages.nl/linux/pkgctl-release.md new file mode 100644 index 00000000000000..0a6824de92769c --- /dev/null +++ b/pages.nl/linux/pkgctl-release.md @@ -0,0 +1,8 @@ +# pkgctl release + +> Release stap om bouw artefacten te committen, taggen en uploaden. +> Meer informatie: . + +- Release een bouw artefact: + +`pkgctl release --repo {{repository}} --message {{commit_message}}` diff --git a/pages.nl/linux/pkgctl-repo.md b/pages.nl/linux/pkgctl-repo.md new file mode 100644 index 00000000000000..6fd7733ad878e9 --- /dev/null +++ b/pages.nl/linux/pkgctl-repo.md @@ -0,0 +1,25 @@ +# pkgctl repo + +> Beheer Git verpakkingsrepositories en hun configuratie voor Arch Linux. +> Zie ook: `pkgctl`. +> Meer informatie: . + +- Kloon een pakketrepository (vereist het instellen van een SSH-key in uw Arch Linux GitLab-account): + +`pkgctl repo clone {{pkgname}}` + +- Kloon een pakketrepository via HTTPS: + +`pkgctl repo clone --protocol https {{pkgname}}` + +- Maak een nieuwe GitLab pakketrepository en kloon het na het aanmaken (vereist valide GitLab API authenticatie): + +`pkgctl repo create {{pkgbase}}` + +- Wissel een pakketrepository naar een specifieke versie: + +`pkgctl repo switch {{versie}} {{pkgbase}}` + +- Open een pakketrepository's website: + +`pkgctl repo web {{pkgbase}}` diff --git a/pages.nl/linux/pkgctl.md b/pages.nl/linux/pkgctl.md new file mode 100644 index 00000000000000..e698e39471ff1e --- /dev/null +++ b/pages.nl/linux/pkgctl.md @@ -0,0 +1,32 @@ +# pkgctl + +> Verenigde command-line frontend voor Arch Linux devtools. +> Meer informatie: . + +- Bekijk de documentatie voor het authenticeren van `pkgctl` met diensten zoals GitLab: + +`tldr pkgctl auth` + +- Bekijk de documentatie voor het bouwen van pakketten in een schone `chroot`: + +`tldr pkgctl build` + +- Bekijk de documentatie voor het bijwerken van de binaire repository als een stap voor definitieve release: + +`tldr pkgctl db update` + +- Bekijk de documentatie voor het vergelijken van pakketbestanden met behulp van verschillende modi: + +`tldr pkgctl diff` + +- Bekijk de documentatie voor het vrijgeven van buildartefacten: + +`tldr pkgctl release` + +- Bekijk de documentatie voor het beheren van Git-verpakkingsrepositories en hun configuratie: + +`tldr pkgctl repo` + +- Toon de versie: + +`pkgctl version` diff --git a/pages.nl/linux/plasma-apply-lookandfeel.md b/pages.nl/linux/plasma-apply-lookandfeel.md new file mode 100644 index 00000000000000..b72e61ece43be0 --- /dev/null +++ b/pages.nl/linux/plasma-apply-lookandfeel.md @@ -0,0 +1,20 @@ +# plasma-apply-lookandfeel + +> Wissel Plasma globale thema's. +> Meer informatie: . + +- Toon beschikbare globale thema's: + +`plasma-apply-lookandfeel --list` + +- Pas een globaal thema toe: + +`plasma-apply-lookandfeel --apply {{org.example.theme.desktop}}` + +- Voer `plasma-apply-lookandfeel` uit zonder een display server: + +`plasma-apply-lookandfeel --platform offscreen` + +- Toon de help: + +`plasma-apply-lookandfeel --help` diff --git a/pages.nl/linux/playerctl.md b/pages.nl/linux/playerctl.md new file mode 100644 index 00000000000000..344178773716dd --- /dev/null +++ b/pages.nl/linux/playerctl.md @@ -0,0 +1,32 @@ +# playerctl + +> Bestuur mediaspelers via MPRIS. +> Meer informatie: . + +- Start/stop met afspelen: + +`playerctl play-pause` + +- Ga naar het volgende nummer: + +`playerctl next` + +- Ga terug naar het vorige nummer: + +`playerctl previous` + +- Toon alle spelers: + +`playerctl {{[-l|--list-all]}}` + +- Stuur een commando naar een specifieke speler: + +`playerctl {{[-p|--player]}} {{spelernaam}} {{play-pause|next|previous|...}}` + +- Stuur een commando naar alle spelers: + +`playerctl {{[-a|--all-players]}} {{play-pause|next|previous|...}}` + +- Toon metadata over het huidige nummer: + +`playerctl metadata {{[-f|--format]}} "{{Huidig nummer: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"` diff --git a/pages.nl/linux/print.runmailcap.md b/pages.nl/linux/print.runmailcap.md new file mode 100644 index 00000000000000..38522095171f83 --- /dev/null +++ b/pages.nl/linux/print.runmailcap.md @@ -0,0 +1,13 @@ +# print + +> Een alias voor de `run-mailcap`-actie print. +> Oorspronkelijk wordt `run-mailcap` gebruikt om mime-typen/bestanden te verwerken. +> Meer informatie: . + +- De print-actie kan worden gebruikt om elk bestand af te drukken met de standaard `run-mailcap`-tool: + +`print {{bestandsnaam}}` + +- Met `run-mailcap`: + +`run-mailcap --action=print {{bestandsnaam}}` diff --git a/pages.nl/linux/ptx.md b/pages.nl/linux/ptx.md new file mode 100644 index 00000000000000..64255500e7b5f2 --- /dev/null +++ b/pages.nl/linux/ptx.md @@ -0,0 +1,24 @@ +# ptx + +> Genereer een permutatie-index van woorden uit tekstbestanden. +> Meer informatie: . + +- Genereer een permutatie-index waarbij het eerste veld van elke regel een indexreferentie is: + +`ptx {{[-r|--references]}} {{pad/naar/bestand}}` + +- Genereer een permutatie-index met automatisch gegenereerde indexreferenties: + +`ptx {{[-A|--auto-reference]}} {{pad/naar/bestand}}` + +- Genereer een permutatie-index met een vaste breedte: + +`ptx {{[-w|--width]}} {{breedte_in_kolommen}} {{pad/naar/bestand}}` + +- Genereer een permutatie-index met een lijst van gefilterde woorden: + +`ptx {{[-o|--only-file]}} {{pad/naar/filter}} {{pad/naar/bestand}}` + +- Genereer een permutatie-index met SYSV-stijl gedragingen: + +`ptx {{[-G|--traditional]}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/pw-cat.md b/pages.nl/linux/pw-cat.md new file mode 100644 index 00000000000000..e2dd5970639b8c --- /dev/null +++ b/pages.nl/linux/pw-cat.md @@ -0,0 +1,24 @@ +# pw-cat + +> Speel en neem audio-bestanden op via PipeWrite. +> Meer informatie: . + +- Speel een WAV bestand over de standaard target: + +`pw-cat {{[-p|--playback]}} {{pad/naar/bestand.wav}}` + +- Speel een WAV bestand met een specifieke resampler kwaliteit (standaard 4): + +`pw-cat {{[-q|--quality]}} {{0..15}} {{[-p|--playback]}} {{pad/naar/bestand.wav}}` + +- Neem een sample recording op met een volume level van 125%: + +`pw-cat {{[-r|--record]}} --volume {{1.25}} {{pad/naar/bestand.wav}}` + +- Neem een sample recording op met een andere sample rate: + +`pw-cat {{[-r|--record]}} --rate {{6000}} {{pad/naar/bestand.wav}}` + +- Toon de help: + +`pw-cat {{[-h|--help]}}` diff --git a/pages.nl/linux/pw-play.md b/pages.nl/linux/pw-play.md new file mode 100644 index 00000000000000..75457e0de4ed2d --- /dev/null +++ b/pages.nl/linux/pw-play.md @@ -0,0 +1,7 @@ +# pw-play + +> Dit commando is een alias van `pw-cat --playback`. + +- Bekijk de documentatie van het originele commando: + +`tldr pw-cat` diff --git a/pages.nl/linux/pw-record.md b/pages.nl/linux/pw-record.md new file mode 100644 index 00000000000000..fd2396dc9d0578 --- /dev/null +++ b/pages.nl/linux/pw-record.md @@ -0,0 +1,7 @@ +# pw-record + +> Dit commando is een alias van `pw-cat --record`. + +- Bekijk de documentatie van het originele commando: + +`tldr pw-cat` diff --git a/pages.nl/linux/qm-agent.md b/pages.nl/linux/qm-agent.md new file mode 100644 index 00000000000000..0e193d05f9451e --- /dev/null +++ b/pages.nl/linux/qm-agent.md @@ -0,0 +1,7 @@ +# qm agent + +> Dit commando is een alias van `qm guest cmd`. + +- Bekijk de documentatie van het originele commando: + +`tldr qm guest cmd` diff --git a/pages.nl/linux/qm-disk-import.md b/pages.nl/linux/qm-disk-import.md new file mode 100644 index 00000000000000..923f8825895e5b --- /dev/null +++ b/pages.nl/linux/qm-disk-import.md @@ -0,0 +1,9 @@ +# qm disk import + +> Importeer een schijf image in een virtuele machine als een ongebruikte schijf. +> De onderstende image formaten voor `qemu-img`, zoals raw, qcow2, qed, vdi, vmdk, en vhd moeten gebruikt worden. +> Meer informatie: . + +- Importeer een VMDK/qcow2/raw schijf image met behulp van een specifieke opslagnaam: + +`qm {{[di|disk]}} {{[i|import]}} {{vm_id}} {{pad/naar/schijf}} {{opslagnaam}} --format {{qcow2|raw|vmdk}}` diff --git a/pages.nl/linux/qm-disk-move.md b/pages.nl/linux/qm-disk-move.md new file mode 100644 index 00000000000000..c3fc4766f64ba1 --- /dev/null +++ b/pages.nl/linux/qm-disk-move.md @@ -0,0 +1,12 @@ +# qm disk move + +> Verplaats een virtuele schijf van de ene opslag naar de andere binnen hetzelfde Proxmox cluster. +> Meer informatie: . + +- Verplaats een virtuele schijf: + +`qm {{[di|disk]}} {{[m|move]}} {{vm_id}} {{bestemming}} {{index}}` + +- Verwijder de vorige kopie van de virtuele schijf: + +`qm {{[di|disk]}} {{[m|move]}} --delete {{vm_id}} {{bestemming}} {{index}}` diff --git a/pages.nl/linux/qm-disk-rescan.md b/pages.nl/linux/qm-disk-rescan.md new file mode 100644 index 00000000000000..3454c6907d0318 --- /dev/null +++ b/pages.nl/linux/qm-disk-rescan.md @@ -0,0 +1,16 @@ +# qm disk rescan + +> Scan alle opslag opnieuw en update schijfgroottes en ongebruikte schijf images van virtual machines. +> Meer informatie: . + +- Scan alle opslag opnieuw en update schijfgroottes en ongebruikte schijf images: + +`qm {{[di|disk]}} {{[resc|rescan]}}` + +- Voer een testscan uit en maak geen veranderingen in de configuraties: + +`qm {{[di|disk]}} {{[resc|rescan]}} --dryrun` + +- Specificeer een virtual machine via zijn ID: + +`qm {{[di|disk]}} {{[resc|rescan]}} --vmid {{100}}` diff --git a/pages.nl/linux/qm-disk-resize.md b/pages.nl/linux/qm-disk-resize.md new file mode 100644 index 00000000000000..9b3ea722e6dd58 --- /dev/null +++ b/pages.nl/linux/qm-disk-resize.md @@ -0,0 +1,8 @@ +# qm disk resize + +> Wijzig de grote van een virtuele machine schijf in the Proxmox Virtual Environment (PVE). +> Meer informatie: . + +- Voeg `n` gigabytes toe aan een virtuele schijf: + +`qm {{[di|disk]}} {{[resi|resize]}} {{vm_id}} {{schijfnaam}} +{{n}}G` diff --git a/pages.nl/linux/qm-guest-cmd.md b/pages.nl/linux/qm-guest-cmd.md new file mode 100644 index 00000000000000..831bba150a1ce1 --- /dev/null +++ b/pages.nl/linux/qm-guest-cmd.md @@ -0,0 +1,8 @@ +# qm guest cmd + +> Voer QEMU Guest Agent-commando's uit. +> Meer informatie: . + +- Voer een specifiek QEMU Guest Agent-commando uit: + +`qm {{[g|guest]}} {{[c|cmd]}} {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` diff --git a/pages.nl/linux/qm-importdisk.md b/pages.nl/linux/qm-importdisk.md new file mode 100644 index 00000000000000..2bd831cfe5b3f7 --- /dev/null +++ b/pages.nl/linux/qm-importdisk.md @@ -0,0 +1,7 @@ +# qm importdisk + +> Dit commando is een alias van `qm disk import`. + +- Bekijk de documentatie van het originele commando: + +`tldr qm disk import` diff --git a/pages.nl/linux/qm-move-disk.md b/pages.nl/linux/qm-move-disk.md new file mode 100644 index 00000000000000..71e4d2af8b1e21 --- /dev/null +++ b/pages.nl/linux/qm-move-disk.md @@ -0,0 +1,7 @@ +# qm move-disk + +> Dit commando is een alias van `qm disk move`. + +- Bekijk de documentatie van het originele commando: + +`tldr qm disk move` diff --git a/pages.nl/linux/qm-move_disk.md b/pages.nl/linux/qm-move_disk.md new file mode 100644 index 00000000000000..10b1c38028582e --- /dev/null +++ b/pages.nl/linux/qm-move_disk.md @@ -0,0 +1,7 @@ +# qm move_disk + +> Dit commando is een alias van `qm disk move`. + +- Bekijk de documentatie van het originele commando: + +`tldr qm disk move` diff --git a/pages.nl/linux/qm-rescan.md b/pages.nl/linux/qm-rescan.md new file mode 100644 index 00000000000000..4dcce855cf7df2 --- /dev/null +++ b/pages.nl/linux/qm-rescan.md @@ -0,0 +1,7 @@ +# qm rescan + +> Dit commando is een alias van `qm disk rescan`. + +- Bekijk de documentatie van het originele commando: + +`tldr qm disk rescan` diff --git a/pages.nl/linux/qm-resize.md b/pages.nl/linux/qm-resize.md new file mode 100644 index 00000000000000..71398747200e11 --- /dev/null +++ b/pages.nl/linux/qm-resize.md @@ -0,0 +1,7 @@ +# qm resize + +> Dit commando is een alias van `qm disk resize`. + +- Bekijk de documentatie van het originele commando: + +`tldr qm disk resize` diff --git a/pages.nl/linux/qm-unlink.md b/pages.nl/linux/qm-unlink.md new file mode 100644 index 00000000000000..b4ece2f36f580d --- /dev/null +++ b/pages.nl/linux/qm-unlink.md @@ -0,0 +1,7 @@ +# qm unlink + +> Dit commando is een alias van `qm disk unlink`. + +- Bekijk de documentatie van het originele commando: + +`tldr qm disk unlink` diff --git a/pages.nl/linux/qm.md b/pages.nl/linux/qm.md new file mode 100644 index 00000000000000..42529f3c49dbf4 --- /dev/null +++ b/pages.nl/linux/qm.md @@ -0,0 +1,29 @@ +# qm + +> QEMU/KVM Virtual Machine Manager. +> Sommige subcommando's zoals `list`, `start`, `stop`, `clone`, etc. hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Toon alle virtual machines: + +`qm list` + +- Maak met behulp van een ISO-bestand dat is geüpload naar de lokale opslag een virtual machine met een 4 GB SCSI-schijf op de `local-lvm`-opslag en een ID van 100: + +`qm {{[cr|create]}} {{100}} --scsi0 {{local-lvm:4}} --net0 {{e1000}} --cdrom {{local:iso/proxmox-mailgateway_2.1.iso}}` + +- Toon de configuratie van een virtual machine, met vermelding van de ID: + +`qm {{[co|config]}} {{100}}` + +- Start een specifieke virtual machine: + +`qm start {{100}}` + +- Stuur een verzoek tot afsluiten en wacht vervolgens tot de virtual machine gestopt is: + +`qm {{[shu|shutdown]}} {{100}} && qm {{[w|wait]}} {{100}}` + +- Verwijder een virtual machine en al zijn gerelateerde bronnen: + +`qm {{[des|destroy]}} {{100}} --purge` diff --git a/pages.nl/linux/rcp.md b/pages.nl/linux/rcp.md new file mode 100644 index 00000000000000..ce12d40ed4e33a --- /dev/null +++ b/pages.nl/linux/rcp.md @@ -0,0 +1,21 @@ +# rcp + +> Kopieer bestanden tussen lokale en externe systemen. +> Het imiteert het gedrag van het `cp`-commando, maar werkt tussen verschillende machines. +> Meer informatie: . + +- Kopieer een bestand naar een externe host: + +`rcp {{pad/naar/lokaal_bestand}} {{gebruikersnaam}}@{{remote_host}}:/{{pad/naar/bestemming}}/` + +- Kopieer een directory recursief: + +`rcp {{[-r|--recursive]}} {{pad/naar/lokale_map}} {{gebruikersnaam}}@{{remote_host}}:/{{pad/naar/bestemming}}/` + +- Behoud de bestandseigenschappen: + +`rcp {{[-p|--preserve]}} {{pad/naar/lokaal_bestand}} {{gebruikersnaam}}@{{remote_host}}:/{{pad/naar/bestemming}}/` + +- Forceer kopiëren zonder bevestiging: + +`rcp {{[-f|--from]}} {{pad/naar/lokaal_bestand}} {{gebruikersnaam}}@{{remote_host}}:/{{pad/naar/bestemming}}/` diff --git a/pages.nl/linux/reboot.md b/pages.nl/linux/reboot.md new file mode 100644 index 00000000000000..7d26926ef65858 --- /dev/null +++ b/pages.nl/linux/reboot.md @@ -0,0 +1,24 @@ +# reboot + +> Herstart het systeem. +> Meer informatie: . + +- Herstart het systeem: + +`reboot` + +- Schakel het systeem uit (zelfde als `poweroff`): + +`reboot {{[-p|--poweroff]}}` + +- Houd het systeem (beëindigt alle processen en zet de CPU uit) (zelfde als `halt`): + +`reboot --halt` + +- Herstart onmiddellijk zonder contact op te nemen met de systeembeheerder: + +`reboot {{[-f|--force]}}` + +- Schrijf de wtmp shutdown entry zonder het systeem opnieuw te starten: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.nl/linux/renice.md b/pages.nl/linux/renice.md new file mode 100644 index 00000000000000..d7b4abd67dd74a --- /dev/null +++ b/pages.nl/linux/renice.md @@ -0,0 +1,22 @@ +# renice + +> Verander de scheduleringsprioriteit/niceness van lopende processen. +> Niceness waarden variëren van -20 (meest gunstig voor het proces) tot 19 (minst gunstig voor het proces). +> Zie ook: `nice`. +> Meer informatie: . + +- Stel de absolute prioriteit van een lopend proces in: + +`renice --priority {{3}} {{[-p|--pid]}} {{pid}}` + +- Verhoog de prioriteit van een lopend proces: + +`sudo renice --relative {{-4}} {{[-p|--pid]}} {{pid}}` + +- Verlaag de prioriteit van alle processen die eigendom zijn van een gebruiker: + +`renice --relative {{4}} {{[-p|--pid]}} {{pid}}` + +- Stel de prioriteit in van alle processen die behoren tot een procesgroep: + +`sudo renice {{-5}} {{[-g|--pgrp]}} {{process_group}}` diff --git a/pages.nl/linux/resolvectl.md b/pages.nl/linux/resolvectl.md new file mode 100644 index 00000000000000..5c1060097f709d --- /dev/null +++ b/pages.nl/linux/resolvectl.md @@ -0,0 +1,37 @@ +# resolvectl + +> Resolve domeinnamen, IPv4 en IPv6 adressen, DNS resource records en services. +> Bekijk en herconfigureer de DNS resolver. +> Meer informatie: . + +- Toon DNS instellingen: + +`resolvectl status` + +- Resolve de IPv4 en IPv6 adressen voor een of meerdere domeinen: + +`resolvectl query {{domein1 domein2 ...}}` + +- Verkrijg het domein van een gespecificeerd IP adres: + +`resolvectl query {{ip_adres}}` + +- Flush alle lokale DNS caches: + +`resolvectl flush-caches` + +- Toon DNS statistieken (transacties, cache en DNSSEC oordelen): + +`resolvectl statistics` + +- Verkrijg een MX record van een domein: + +`resolvectl --legend {{no}} {{[-t|--type]}} {{MX}} query {{domein}}` + +- Resolve een SRV record, bijvoorbeeld _xmpp-server._tcp gmail.com: + +`resolvectl service _{{service}}._{{protocol}} {{naam}}` + +- Verkrijg een TLS sleutel: + +`resolvectl tlsa tcp {{domein}}:443` diff --git a/pages.nl/linux/rexec.md b/pages.nl/linux/rexec.md new file mode 100644 index 00000000000000..a7ee8f5cc9ff3a --- /dev/null +++ b/pages.nl/linux/rexec.md @@ -0,0 +1,21 @@ +# rexec + +> Voer een commando uit op een externe host. +> Let op: Gebruik `rexec` met voorzichtigheid, omdat het gegevens in platte tekst verzendt. Overweeg veilige alternatieven zoals SSH voor versleutelde communicatie. +> Meer informatie: . + +- Voer een commando uit op een externe [h]ost: + +`rexec {{[-h|--host]}} {{remote_host}} {{ls -l}}` + +- Specificeer de externe [g]ebruikersnaam op een externe [h]ost: + +`rexec {{[-u|--username]}} {{gebruikersnaam}} {{[-h|--host]}} {{remote_host}} {{ps aux}}` + +- Redirect `stdin` van `/dev/null` op een externe [h]ost: + +`rexec {{[-n|--noerr]}} {{[-h|--host]}} {{remote_host}} {{ls -l}}` + +- Specificeer de externe [P]oort op een externe [h]ost: + +`rexec {{[-P|--port]}} {{1234}} {{[-h|--host]}} {{remote_host}} {{ls -l}}` diff --git a/pages.nl/linux/rlogin.md b/pages.nl/linux/rlogin.md new file mode 100644 index 00000000000000..a254cabedf9e7d --- /dev/null +++ b/pages.nl/linux/rlogin.md @@ -0,0 +1,12 @@ +# rlogin + +> Log in op een externe host. +> Meer informatie: . + +- Log in op een externe host: + +`rlogin {{remote_host}}` + +- Log in op een externe host met een specifieke gebruikersnaam: + +`rlogin {{[-l|--user]}} {{gebruikersnaam}} {{remote_host}}` diff --git a/pages.nl/linux/rpcinfo.md b/pages.nl/linux/rpcinfo.md new file mode 100644 index 00000000000000..881aa97009b614 --- /dev/null +++ b/pages.nl/linux/rpcinfo.md @@ -0,0 +1,24 @@ +# rpcinfo + +> Maak een RPC-oproep naar een RPC-server en rapporteert wat het vindt. +> Meer informatie: . + +- Toon volledige tabel van alle RPC-diensten geregistreerd op localhost: + +`rpcinfo` + +- Toon beknopte tabel van alle RPC-diensten geregistreerd op localhost: + +`rpcinfo -s {{localhost}}` + +- Toon tabel met statistieken van rpcbind-operaties op localhost: + +`rpcinfo -m` + +- Toon lijst van items van een bepaalde service naam (mountd) en versienummer (2) op een remote nfs-share: + +`rpcinfo -l {{remote_nfs_server_ip}} {{mountd}} {{2}}` + +- Verwijder de registratie voor versie 1 van de mountd-service voor alle transporten: + +`rpcinfo -d {{mountd}} {{1}}` diff --git a/pages.nl/linux/rpm.md b/pages.nl/linux/rpm.md new file mode 100644 index 00000000000000..399d62a25bfb6a --- /dev/null +++ b/pages.nl/linux/rpm.md @@ -0,0 +1,37 @@ +# rpm + +> RPM Package Manager. +> Voor gelijkwaardige commando's in andere pakket managers, zie . +> Meer informatie: . + +- Toon versie van het httpd-pakket: + +`rpm {{[-q|--query]}} httpd` + +- Toon versies van alle overeenkomende pakketten: + +`rpm {{[-qa|--query --all]}} '{{mariadb*}}'` + +- Installeer een pakket geforceerd, ongeacht de momenteel geïnstalleerde versies: + +`rpm {{[-U|--upgrade]}} {{pad/naar/pakket.rpm}} --force` + +- Identificeer de eigenaar van een bestand en toon de versie van het pakket: + +`rpm {{[-qf|--query --file]}} {{/etc/postfix/main.cf}}` + +- Toon bestanden die bij een pakket horen: + +`rpm {{[-ql|--query --list]}} {{kernel}}` + +- Toon scriptlets uit een RPM-bestand: + +`rpm {{[-qp|--query --package]}} --scripts {{pakket.rpm}}` + +- Toon gewijzigde, missende en/of onjuist geïnstalleerde bestanden van overeenkomende pakketten: + +`rpm {{[-Va|--verify --all]}} '{{php-*}}'` + +- Toon het changelog van een specifiek pakket: + +`rpm {{[-q|--query]}} --changelog {{pakket}}` diff --git a/pages.nl/linux/rsh.md b/pages.nl/linux/rsh.md new file mode 100644 index 00000000000000..75e7bbac108be1 --- /dev/null +++ b/pages.nl/linux/rsh.md @@ -0,0 +1,16 @@ +# rsh + +> Voer commando's uit op een externe host. +> Meer informatie: . + +- Voer een commando uit op een externe host: + +`rsh {{remote_host}} {{ls -l}}` + +- Voer een commando uit op een externe host met een specifieke gebruikersnaam: + +`rsh {{remote_host}} {{[-l|--user]}} {{gebruikersnaam}} {{ls -l}}` + +- Redirect `stdin` naar `/dev/null` bij het uitvoeren van een commando op een externe host: + +`rsh {{remote_host}} --no-err {{ls -l}}` diff --git a/pages.nl/linux/runcon.md b/pages.nl/linux/runcon.md new file mode 100644 index 00000000000000..6cbeab99c8beae --- /dev/null +++ b/pages.nl/linux/runcon.md @@ -0,0 +1,21 @@ +# runcon + +> Voer een programma uit in een andere SELinux-beveiligingscontext. +> Zie ook: `secon`. +> Meer informatie: . + +- Toon de beveiligingscontext van de huidige uitvoeringscontext: + +`runcon` + +- Specificeer het domein om een commando in uit te voeren: + +`runcon {{[-t|--type]}} {{domein}}_t {{commando}}` + +- Specificeer de context rol om een commando mee uit te voeren: + +`runcon {{[-r|--role]}} {{rol}}_r {{commando}}` + +- Specificeer de volledige context om een commando mee uit te voeren: + +`runcon {{gebruiker}}_u:{{rol}}_r:{{domein}}_t {{commando}}` diff --git a/pages.nl/linux/secon.md b/pages.nl/linux/secon.md new file mode 100644 index 00000000000000..b5c1855e19c281 --- /dev/null +++ b/pages.nl/linux/secon.md @@ -0,0 +1,25 @@ +# secon + +> Krijg de SELinux-beveiligingscontext van een bestand, PID, huidige uitvoeringscontext of een contextspecificatie. +> Zie ook: `semanage`, `runcon`, `chcon`. +> Meer informatie: . + +- Krijg de beveiligingscontext van de huidige uitvoeringscontext: + +`secon` + +- Krijg de huidige beveiligingscontext van een proces: + +`secon --pid {{1}}` + +- Krijg de huidige beveiligingscontext van een bestand, waarbij alle tussenliggende symlinks worden opgelost: + +`secon --file {{pad/naar/bestand_of_map}}` + +- Krijg de huidige beveiligingscontext van een symlink zelf (d.w.z. niet oplossen): + +`secon --link {{pad/naar/symlink}}` + +- Parse en leg een contextspecificatie uit: + +`secon {{systeem_u:systeem_r:container_t:s0:c899,c900}}` diff --git a/pages.nl/linux/sed.md b/pages.nl/linux/sed.md new file mode 100644 index 00000000000000..66213d0c118411 --- /dev/null +++ b/pages.nl/linux/sed.md @@ -0,0 +1,37 @@ +# sed + +> Pas tekst aan in een op een scriptbare manier. +> Zie ook: `awk`, `ed`. +> Meer informatie: . + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed 's/apple/mango/g'` + +- Vervang alle `apple` (uitgebreide regex) met `APPLE` (uitgebreide regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed {{[-E|--regexp-extended]}} 's/(apple)/\U\1/g'` + +- Gebruik basisregex om `apple` te vervangen door `mango` en `orange` door `lime` in een bestand (waarbij het originele bestand wordt overschreven): + +`sed {{[-i|--in-place]}} -e 's/apple/mango/g' -e 's/orange/lime/g' {{pad/naar/bestand}}` + +- Voer een specifiek script bestand uit en toon het resultaat in `stdout`: + +`{{commando}} | sed {{-f|--file}} {{pad/naar/script.sed}}` + +- Toon alleen de eerste regel in `stdout`: + +`{{commando}} | sed {{[-n|--quiet]}} '1p'` + +- Verwij[d]er regels 1 tot en met 5 van een bestand en maak een back-up van het originele bestand met een `.orig` extensie: + +`sed {{[-i|--in-place=]}}{{.orig}} '1,5d' {{pad/naar/bestand}}` + +- Voeg een nieuwe regel in bij de eerste regel van een bestand: + +`sed {{[-i|--in-place]}} '1i\your new line text\' {{pad/naar/bestand}}` + +- Verwijder lege regels (met of zonder spaties/tabtekens) uit een bestand, waarbij het oorspronkelijke bestand ter plaatse wordt overschreven: + +`sed {{[-i|--in-place]}} '/^[[:space:]]*$/d' {{pad/naar/bestand}}` diff --git a/pages.nl/linux/semanage-boolean.md b/pages.nl/linux/semanage-boolean.md new file mode 100644 index 00000000000000..ee52e7dfd72e6f --- /dev/null +++ b/pages.nl/linux/semanage-boolean.md @@ -0,0 +1,17 @@ +# semanage boolean + +> Beheer persistente SELinux-boolean-instellingen. +> Zie ook: `semanage` voor het beheren van SELinux-beleid, `getsebool` voor het controleren van boolean-waarden, en `setsebool` voor het toepassen van niet-blijvende boolean-instellingen. +> Meer informatie: . + +- Toon alle boolean-instellingen: + +`sudo semanage boolean {{[-l|--list]}}` + +- Toon alle door de gebruiker gedefinieerde boolean-instellingen zonder koppen: + +`sudo semanage boolean {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- Stel een boolean blijvend in of uit: + +`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}` diff --git a/pages.nl/linux/semanage-fcontext.md b/pages.nl/linux/semanage-fcontext.md new file mode 100644 index 00000000000000..1e9dd9f2ceb08d --- /dev/null +++ b/pages.nl/linux/semanage-fcontext.md @@ -0,0 +1,25 @@ +# semanage fcontext + +> Beheer persistente SELinux-beveiligingscontextregels op bestanden/mappen. +> Zie ook: `semanage`, `matchpathcon`, `secon`, `chcon`, `restorecon`. +> Meer informatie: . + +- Toon alle bestandslabelregels: + +`sudo semanage fcontext {{[-l|--list]}}` + +- Toon alle door de gebruiker gedefinieerde bestandslabelregels zonder koppen: + +`sudo semanage fcontext {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- Voeg een door de gebruiker gedefinieerde regel toe die elk pad labelt dat overeenkomt met een PCRE-regex: + +`sudo semanage fcontext {{[-a|--add]}} {{[-t|--type]}} {{samba_share_t}} {{'/mnt/share(/.*)?'}}` + +- Verwijder een door de gebruiker gedefinieerde regel met behulp van zijn PCRE-regex: + +`sudo semanage fcontext {{[-d|--delete]}} {{'/mnt/share(/.*)?'}}` + +- Herlabel een map recursief door de nieuwe regels toe te passen: + +`restorecon -R -v {{pad/naar/map}}` diff --git a/pages.nl/linux/semanage-permissive.md b/pages.nl/linux/semanage-permissive.md new file mode 100644 index 00000000000000..60a45190fefbf1 --- /dev/null +++ b/pages.nl/linux/semanage-permissive.md @@ -0,0 +1,18 @@ +# semanage permissive + +> Beheer persistente SELinux permissieve domeinen. +> Let op dat dit het proces effectief onbeperkt maakt. Voor langdurig gebruik wordt aanbevolen om SELinux correct te configureren. +> Zie ook: `semanage`, `getenforce`, `setenforce`. +> Meer informatie: . + +- Toon alle procestypen (ook wel domeinen genoemd) die in permissieve modus zijn: + +`sudo semanage permissive {{[-l|--list]}}` + +- Stel de permissieve modus in voor een domein: + +`sudo semanage permissive {{[-a|--add]}} {{httpd_t}}` + +- Zet de permissieve modus uit voor een domein: + +`sudo semanage permissive {{[-d|--delete]}} {{httpd_t}}` diff --git a/pages.nl/linux/semanage-port.md b/pages.nl/linux/semanage-port.md new file mode 100644 index 00000000000000..e4b87f6821699c --- /dev/null +++ b/pages.nl/linux/semanage-port.md @@ -0,0 +1,25 @@ +# semanage port + +> Beheer persistente SELinux-poortdefinities. +> Zie ook: `semanage`. +> Meer informatie: . + +- Toon alle poortlabelregels: + +`sudo semanage port {{[-l|--list]}}` + +- Toon alle door de gebruiker gedefinieerde poortlabelregels zonder koppen: + +`sudo semanage port {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- Voeg een door de gebruiker gedefinieerde regel toe die een label toekent aan een protocol-poortpaar: + +`sudo semanage port {{[-a|--add]}} {{[-t|--type]}} {{ssh_port_t}} {{[-p|--proto]}} {{tcp}} {{22000}}` + +- Voeg een door de gebruiker gedefinieerde regel toe die een label toekent aan een protocol-poort-bereikpaar: + +`sudo semanage port {{[-a|--add]}} {{[-t|--type]}} {{http_port_t}} {{[-p|--proto]}} {{tcp}} {{80-88}}` + +- Verwijder een door de gebruiker gedefinieerde regel met behulp van zijn protocol-poortpaar: + +`sudo semanage port {{[-d|--delete]}} {{[-p|--proto]}} {{udp}} {{11940}}` diff --git a/pages.nl/linux/semanage.md b/pages.nl/linux/semanage.md new file mode 100644 index 00000000000000..5092660c524360 --- /dev/null +++ b/pages.nl/linux/semanage.md @@ -0,0 +1,29 @@ +# semanage + +> SELinux persistent beleid beheertool. +> Sommige subcommando's zoals `boolean`, `fcontext`, `port`, etc. hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Stel een SELinux-boolean in of uit. Booleans stellen de beheerder in staat om aan te passen hoe beleidsregels invloed hebben op ingesloten procestypes (ook wel domeinen genoemd): + +`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}` + +- Voeg een door de gebruiker gedefinieerde bestandscontextlabelregel toe. Bestandscontexten definiëren welke bestanden ingesloten domeinen mogen openen: + +`sudo semanage fcontext {{[-a|--add]}} {{[-t|--type]}} {{samba_share_t}} '/mnt/share(/.*)?'` + +- Voeg een door de gebruiker gedefinieerde poortlabelregel toe. Poortlabels definiëren op welke poorten ingesloten domeinen mogen luisteren: + +`sudo semanage port {{[-a|--add]}} {{[-t|--type]}} {{ssh_port_t}} {{[-p|--proto]}} {{tcp}} {{22000}}` + +- Stel de permissieve modus in of uit voor een ingesloten domein. Per-domein permissieve modus biedt meer gedetailleerde controle vergeleken met `setenforce`: + +`sudo semanage permissive {{-a|--add|-d|--delete}} {{httpd_t}}` + +- Exporteer lokale aanpassingen in de standaardopslag: + +`sudo semanage export {{[-f|--output_file]}} {{pad/naar/bestand}}` + +- Importeer een bestand gegenereerd door `semanage export` in lokale aanpassingen (VOORZICHTIG: kan huidige aanpassingen verwijderen!): + +`sudo semanage import {{[-f|--input_file]}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/setarch.md b/pages.nl/linux/setarch.md new file mode 100644 index 00000000000000..8c47d4a4302286 --- /dev/null +++ b/pages.nl/linux/setarch.md @@ -0,0 +1,25 @@ +# setarch + +> Verander de gerapporteerde architectuur voor de uitvoering van een programma, voornamelijk gebruikt om aan te passen hoe programma's zich gedragen op basis van de systeemarchitectuur. +> Nuttig voor het testen van compatibiliteit of het draaien van oudere toepassingen. +> Meer informatie: . + +- Voer een commando uit alsof de machine-architectuur `i686` is (handig voor het draaien van 32-bit applicaties op een 64-bit kernel): + +`setarch i686 {{opdracht}}` + +- Een shell uitvoeren met de `x86_64` architectuur: + +`setarch x86_64 {{bash}}` + +- Schakel de willekeurigheid van de virtuele adresruimte uit: + +`setarch {{linux32}} {{[-R|--addr-no-randomize]}} {{commando}}` + +- Toon ondersteunde architecturen: + +`setarch --list` + +- Toon de help: + +`setarch {{[-h|--help]}}` diff --git a/pages.nl/linux/shnsplit.md b/pages.nl/linux/shnsplit.md new file mode 100644 index 00000000000000..e0f172aede76c5 --- /dev/null +++ b/pages.nl/linux/shnsplit.md @@ -0,0 +1,20 @@ +# shnsplit + +> Splitst audiobestanden volgens een `.cue` bestand. +> Meer informatie: . + +- Splits een `.wav` + `.cue` bestand in meerdere bestanden: + +`shnsplit -f {{pad/naar/bestand.cue}} {{pad/naar/bestand.wav}}` + +- Toon ondersteunde formaten: + +`shnsplit -a` + +- Splits een `.flac` bestand in meerdere bestanden: + +`shnsplit -f {{pad/naar/bestand.cue}} -o flac {{pad/naar/bestand.flac}}` + +- Splits een `.wav` bestand in meerdere bestanden in de vorm van "track-nummer - album - titel": + +`shnsplit -f {{pad/naar/bestand.cue}} {{pad/naar/bestand.wav}} -t "%n - %a - %t"` diff --git a/pages.nl/linux/shntool-split.md b/pages.nl/linux/shntool-split.md new file mode 100644 index 00000000000000..6c66d86edc1553 --- /dev/null +++ b/pages.nl/linux/shntool-split.md @@ -0,0 +1,7 @@ +# shntool split + +> Dit commando is een alias van `shnsplit`. + +- Bekijk de documentatie van het originele commando: + +`tldr shnsplit` diff --git a/pages.nl/linux/sleep.md b/pages.nl/linux/sleep.md new file mode 100644 index 00000000000000..70bf75088fbb00 --- /dev/null +++ b/pages.nl/linux/sleep.md @@ -0,0 +1,20 @@ +# sleep + +> Wacht voor een gespecificeerde hoeveelheid tijd. +> Meer informatie: . + +- Wacht in seconden: + +`sleep {{seconden}}` + +- Wacht in [m]inuten. (Andere eenheden zoals [d]ag, [u]ur, [s]econde, [inf]initeit kunnen ook worden gebruikt): + +`sleep {{minuten}}m` + +- Wacht 1 [d]ag en 3 uur ([h]): + +`sleep 1d 3h` + +- Voer een specifiek commando uit na een wachttijd van 20 [m]inuten: + +`sleep 20m && {{commando}}` diff --git a/pages.nl/linux/sockstat.md b/pages.nl/linux/sockstat.md new file mode 100644 index 00000000000000..54e709d5729e63 --- /dev/null +++ b/pages.nl/linux/sockstat.md @@ -0,0 +1,29 @@ +# sockstat + +> Toon open Internet- of UNIX-domeinsockets. +> Zie ook: `netstat`. +> Meer informatie: . + +- Toon informatie voor IPv4- en IPv6-sockets voor zowel luister- als verbonden sockets: + +`sockstat` + +- Toon informatie voor IPv[4]/IPv[6] sockets die [l]uisteren op specifieke [p]oorten met een specifiek p[R]otocol: + +`sockstat -{{4|6}} -l -R {{tcp|udp|sctp|divert}} -p {{poort1,poort2...}}` + +- Toon ook [c]onnected sockets en [u]nix-sockets: + +`sockstat -cu` + +- Toon alleen sockets van het opgegeven `pid` of proces: + +`sockstat -P {{pid|proces}}` + +- Toon alleen sockets van de opgegeven `uid` of gebruiker: + +`sockstat -U {{uid|gebruiker}}` + +- Toon alleen sockets van de opgegeven `gid` of groep: + +`sockstat -G {{gid|groep}}` diff --git a/pages.nl/linux/steamos-boot-install.md b/pages.nl/linux/steamos-boot-install.md new file mode 100644 index 00000000000000..9fa2b86f6bd79e --- /dev/null +++ b/pages.nl/linux/steamos-boot-install.md @@ -0,0 +1,7 @@ +# steamos-boot-install + +> Dit commando is een alias van `steamos-finalize-install`. + +- Bekijk de documentatie van het originele commando: + +`tldr steamos-finalize-install` diff --git a/pages.nl/linux/steamos-finalize-install.md b/pages.nl/linux/steamos-finalize-install.md new file mode 100644 index 00000000000000..fd047a5d65dcac --- /dev/null +++ b/pages.nl/linux/steamos-finalize-install.md @@ -0,0 +1,24 @@ +# steamos-finalize-install + +> Voltooi de installatie van SteamOS door bootloaders in te stellen en systeemupdates toe te passen. +> Meer informatie: . + +- Voltooi de installatie: + +`sudo steamos-finalize-install` + +- Voltooi zonder bootloaders of kernel bij te werken: + +`sudo steamos-finalize-install --no-bootloaders --no-kernel` + +- Sla alle migratiestappen over: + +`sudo steamos-finalize-install --no-migrate` + +- Stel een specifieke root-hash in tijdens het voltooien: + +`sudo steamos-finalize-install --roothash {{hash}}` + +- Forceer systeem-migratiestappen ongeacht de omgeving: + +`sudo steamos-finalize-install --force` diff --git a/pages.nl/linux/su.md b/pages.nl/linux/su.md new file mode 100644 index 00000000000000..e3d8ffe617f162 --- /dev/null +++ b/pages.nl/linux/su.md @@ -0,0 +1,20 @@ +# su + +> Wissel shell naar een andere gebruiker. +> Meer informatie: . + +- Wissel naar superuser (vereist het root wachtwoord): + +`su` + +- Wissel naar een gegeven gebruiker (vereist het wachtwoord van de gebruiker): + +`su {{gebruikersnaam}}` + +- Wissel naar een gegeven gebruiker en simuleer een volledige login shell: + +`su - {{gebruikersnaam}}` + +- Voer een commando uit als een andere gebruiker: + +`su - {{gebruikersnaam}} {{[-c|--command]}} "{{commando}}"` diff --git a/pages.nl/linux/systemctl-disable.md b/pages.nl/linux/systemctl-disable.md new file mode 100644 index 00000000000000..211b7c4a695f2a --- /dev/null +++ b/pages.nl/linux/systemctl-disable.md @@ -0,0 +1,16 @@ +# systemctl disable + +> Schakel systemd-services uit. +> Meer informatie: . + +- Voorkom dat een service automatisch opstart: + +`systemctl disable {{eenheid}}` + +- Voorkom dat een service automatisch opstart en stop de huidige uitvoering: + +`systemctl disable {{eenheid}} --now` + +- Voorkom dat een gebruikersservice automatisch opstart na het inloggen: + +`systemctl disable {{eenheid}} --user` diff --git a/pages.nl/linux/systemctl-enable.md b/pages.nl/linux/systemctl-enable.md new file mode 100644 index 00000000000000..717dfba14c5f70 --- /dev/null +++ b/pages.nl/linux/systemctl-enable.md @@ -0,0 +1,16 @@ +# systemctl enable + +> Schakel systemd-services aan. +> Meer informatie: . + +- Schakel het automatisch opstarten van een service in: + +`systemctl enable {{eenheid}}` + +- Schakel het automatisch opstarten van een service in en start het nu: + +`systemctl enable {{eenheid}} --now` + +- Schakel het automatisch opstarten van een gebruikersservice na het inloggen in: + +`systemctl enable {{eenheid}} --user` diff --git a/pages.nl/linux/systemctl-reboot.md b/pages.nl/linux/systemctl-reboot.md new file mode 100644 index 00000000000000..5dc25bfb80ed7c --- /dev/null +++ b/pages.nl/linux/systemctl-reboot.md @@ -0,0 +1,12 @@ +# systemctl reboot + +> Herstart het systeem. +> Meer informatie: . + +- Herstart het systeem: + +`systemctl reboot` + +- Herstart het systeem in de BIOS/UEFI-menu: + +`systemctl reboot --firmware-setup` diff --git a/pages.nl/linux/systemctl.md b/pages.nl/linux/systemctl.md new file mode 100644 index 00000000000000..35fe981786aa44 --- /dev/null +++ b/pages.nl/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> Beheer het systemd-systeem en de service manager. +> Meer informatie: . + +- Toon alle actieve services: + +`systemctl status` + +- Toon gefaalde eenheden: + +`systemctl --failed` + +- Start/Stop/Herstart/Herlaad/Toon de status van een service: + +`systemctl {{start|stop|restart|reload|status}} {{eenheid}}` + +- Schakel een eenheid die bij het opstarten wordt uitgevoerd in/uit: + +`systemctl {{enable|disable}} {{eenheid}}` + +- Herlaad systemd, scan voor nieuwe of veranderde eenheden: + +`systemctl daemon-reload` + +- Controleer of een eenheid actief/ingeschakeld/gefaald is: + +`systemctl {{is-active|is-enabled|is-failed}} {{eenheid}}` + +- Toon alle service/socket/automount eenheden, waarbij wordt gefilterd op de actief/gefaald status: + +`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` + +- Toon of bewerk de inhoud en het absolute pad van een eenheidsbestand: + +`systemctl {{cat|edit}} {{eenheid}}` diff --git a/pages.nl/linux/systemd-confext.md b/pages.nl/linux/systemd-confext.md new file mode 100644 index 00000000000000..89a51d4b6d758d --- /dev/null +++ b/pages.nl/linux/systemd-confext.md @@ -0,0 +1,8 @@ +# systemd-confext + +> Dit commando is een alias van `systemd-sysext`. +> Het volgt hetzelfde principe als `systemd-sysext`, maar in plaats van werken in `/usr` en `/opt`, `confext` zal alleen werken op `/etc`. + +- Bekijk de documentatie van het originele commando: + +`tldr systemd-sysext` diff --git a/pages.nl/linux/systemd-mount.md b/pages.nl/linux/systemd-mount.md new file mode 100644 index 00000000000000..ceca04c1eef673 --- /dev/null +++ b/pages.nl/linux/systemd-mount.md @@ -0,0 +1,32 @@ +# systemd-mount + +> Zet mount of auto-mount punten op of verwijder ze. +> Meer informatie: . + +- Mount een bestandssysteem (afbeelding of blokapparaat) op `/run/media/system/LABEL` waar LABEL het bestandssysteemlabel is of de apparaatnaam als er geen label is: + +`systemd-mount {{pad/naar/bestand_of_apparaat}}` + +- Mount een bestandssysteem (afbeelding of blokapparaat) op een gegeven locatie: + +`systemd-mount {{pad/naar/bestand_of_apparaat}} {{pad/naar/mount_point}}` + +- Toon een lijst van alle lokale, bekende blokapparaten met de bestandssystemen die mogelijk gemount kunnen worden: + +`systemd-mount --list` + +- Maak een automount punt dat het bestandssysteem zal mounten op het moment van eerste toegang: + +`systemd-mount --automount yes {{pad/naar/bestand_of_apparaat}}` + +- Unmount een of meerdere apparaten: + +`systemd-mount {{[-u|--umount]}} {{pad/naar/mount_point_of_apparaat1 pad/naar/mount_point_of_apparaat2 ...}}` + +- Mount een bestandssysteem (afbeelding of blokapparaat) met een specifiek bestandssysteemtype: + +`systemd-mount {{[-t|--type]}} {{file_system_type}} {{pad/naar/bestand_of_apparaat}} {{pad/naar/mount_point}}` + +- Mount een bestandssysteem (afbeelding of blokapparaat) met extra mount opties: + +`systemd-mount {{[-o|--options]}} {{mount_options}} {{pad/naar/bestand_of_apparaat}} {{pad/naar/mount_point}}` diff --git a/pages.nl/linux/systemd-resolve.md b/pages.nl/linux/systemd-resolve.md new file mode 100644 index 00000000000000..3373459e5eaf63 --- /dev/null +++ b/pages.nl/linux/systemd-resolve.md @@ -0,0 +1,9 @@ +# systemd-resolve + +> Resolve domeinnamen, IPV4 en IPv6 adressen, DNS resource records en services. +> Let op: deze tool is hernoemd naar `resolvectl` in nieuwere versies van `systemd`. +> Meer informatie: . + +- Bekijk de documentatie voor `resolvectl`: + +`tldr resolvectl` diff --git a/pages.nl/linux/systemd-sysext.md b/pages.nl/linux/systemd-sysext.md new file mode 100644 index 00000000000000..e871224d80eb45 --- /dev/null +++ b/pages.nl/linux/systemd-sysext.md @@ -0,0 +1,24 @@ +# systemd-sysext + +> Activeer or deactiveer systeem extensie images. +> Meer informatie: . + +- Toon geïnstalleerde extensie images: + +`systemd-sysext list` + +- Voeg systeem extensie images samen in `/usr/` en `/opt/`: + +`systemd-sysext merge` + +- Toon de huidige status van het samenvoegen: + +`systemd-sysext status` + +- Draai het samenvoegen van alle huidig geïnstalleerde systeem extensie images terug in `/usr/` en `/opt/`: + +`systemd-sysext unmerge` + +- Ververs de systeem extensie images (een combinatie van `unmerge` and `merge`): + +`systemd-sysext refresh` diff --git a/pages.nl/linux/systemd-umount.md b/pages.nl/linux/systemd-umount.md new file mode 100644 index 00000000000000..ac3d7d61347368 --- /dev/null +++ b/pages.nl/linux/systemd-umount.md @@ -0,0 +1,7 @@ +# systemd-umount + +> Dit commando is een alias van `systemd-mount --umount`. + +- Bekijk de documentatie van het originele commando: + +`tldr systemd-mount` diff --git a/pages.nl/linux/tailf.md b/pages.nl/linux/tailf.md new file mode 100644 index 00000000000000..bf8797acbcbf4b --- /dev/null +++ b/pages.nl/linux/tailf.md @@ -0,0 +1,8 @@ +# tailf + +> Dit commando is vervangen door `tail -f`. +> Meer informatie: . + +- Bekijk de documentatie voor de aanbevolen vervanging: + +`tldr tail` diff --git a/pages.nl/linux/talk.md b/pages.nl/linux/talk.md new file mode 100644 index 00000000000000..7c61e70939b1ab --- /dev/null +++ b/pages.nl/linux/talk.md @@ -0,0 +1,24 @@ +# talk + +> Een visueel communicatieprogramma dat regels van jouw terminal kopieert naar die van een andere gebruiker. +> Meer informatie: . + +- Start een talk-sessie met een gebruiker op dezelfde machine: + +`talk {{gebruikersnaam}}` + +- Start een talk-sessie met een gebruiker op dezelfde machine, die is ingelogd op tty3: + +`talk {{gebruikersnaam}} {{tty3}}` + +- Start een talk-sessie met een gebruiker op een externe machine: + +`talk {{gebruikersnaam}}@{{hostnaam}}` + +- Wis tekst op beide terminals: + +`` + +- Verlaat de talk-sessie: + +`` diff --git a/pages.nl/linux/tftp.md b/pages.nl/linux/tftp.md new file mode 100644 index 00000000000000..e828d961426b46 --- /dev/null +++ b/pages.nl/linux/tftp.md @@ -0,0 +1,32 @@ +# tftp + +> Trivial File Transfer Protocol client. +> Meer informatie: . + +- Maak verbinding met een TFTP-server door het IP-adres en de poort op te geven: + +`tftp {{server_ip}} {{poort}}` + +- Maak verbinding met een TFTP-server en voer een TFTP-[c]ommand uit: + +`tftp {{server_ip}} -c {{commando}}` + +- Maak verbinding met een TFTP-server met IPv6 en forceer dat de oorspronkelijke poort binnen een [R]ange ligt: + +`tftp {{server_ip}} -6 -R {{poort}}:{{poort}}` + +- Stel de overdrachtsmodus in op binaire of ASCIi via de tftp-client: + +`mode {{binary|ascii}}` + +- Download een bestand van een server via de tftp-client: + +`get {{file}}` + +- Upload een bestand naar een server via de tftp-client: + +`put {{file}}` + +- Verlaat de tftp-client: + +`quit` diff --git a/pages.nl/linux/trash-put.md b/pages.nl/linux/trash-put.md new file mode 100644 index 00000000000000..96864371cfb620 --- /dev/null +++ b/pages.nl/linux/trash-put.md @@ -0,0 +1,7 @@ +# trash-put + +> Dit commando is een alias van `trash`. + +- Bekijk de documentatie van het originele commando: + +`tldr trash` diff --git a/pages.nl/linux/trash.md b/pages.nl/linux/trash.md new file mode 100644 index 00000000000000..c0001f52b4b356 --- /dev/null +++ b/pages.nl/linux/trash.md @@ -0,0 +1,32 @@ +# trash + +> Beheer de prullenbak. +> Meer informatie: . + +- Verplaats een bestand naar de prullenbak: + +`trash {{pad/naar/bestand}}` + +- Toon alle bestanden in de prullenbak: + +`trash-list` + +- Herstel een bestand uit de prullenbak (interactief): + +`trash-restore` + +- Leeg de prullenbak: + +`trash-empty` + +- Verwijder permanent alle bestanden in de prullenbak die ouder zijn dan 10 dagen: + +`trash-empty 10` + +- Verwijder alle bestanden in de prullenbak die overeenkomen met een specifiek blob-patroon: + +`trash-rm "{{*.o}}"` + +- Verwijder alle bestanden met een specifieke oorspronkelijke locatie: + +`trash-rm /{{pad/naar/bestand_of_map}}` diff --git a/pages.nl/linux/ubuntu-bug.md b/pages.nl/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..05c7ea435d6f68 --- /dev/null +++ b/pages.nl/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Dit commando is een alias van `apport-bug`. + +- Bekijk de documentatie van het originele commando: + +`tldr apport-bug` diff --git a/pages.nl/linux/umount.md b/pages.nl/linux/umount.md new file mode 100644 index 00000000000000..521929b42e8c7d --- /dev/null +++ b/pages.nl/linux/umount.md @@ -0,0 +1,25 @@ +# umount + +> Koppel een bestandssysteem los vanuit het mount-punt, waardoor het niet langer toegankelijk is. +> Een bestandssysteem kan niet losgekoppeld worden als het bezig is. +> Meer informatie: . + +- Koppel een bestandssysteem los door het pad op te geven van de bron waarop het gemount is: + +`sudo umount {{pad/naar/apparaat_bestand}}` + +- Koppel een bestandssysteem los door het pad op te geven waarop het gemount is: + +`sudo umount {{pad/naar/gemounte_map}}` + +- Als het loskoppelen faalt, probeer het bestandssysteem dan opnieuw te koppelen in leesmodus: + +`sudo umount {{[-r|--read-only]}} {{pad/naar/gemounte_map}}` + +- Koppel ieder gespecificeerde map recursief los: + +`sudo umount {{[-R|--recursive]}} {{pad/naar/gemounte_map}}` + +- Koppel alle gemounte bestandssystemen los (behalve het `proc` bestandssysteem): + +`sudo umount {{[-a|--all]}}` diff --git a/pages.nl/linux/uname26.md b/pages.nl/linux/uname26.md new file mode 100644 index 00000000000000..b883a7b4a4bd78 --- /dev/null +++ b/pages.nl/linux/uname26.md @@ -0,0 +1,7 @@ +# uname26 + +> Dit commando is een alias van `setarch uname26`. + +- Bekijk de documentatie van het originele commando: + +`tldr setarch` diff --git a/pages.nl/linux/unmount.md b/pages.nl/linux/unmount.md new file mode 100644 index 00000000000000..27b7fff41cff16 --- /dev/null +++ b/pages.nl/linux/unmount.md @@ -0,0 +1,8 @@ +# unmount + +> Het correcte commando is `umount` (u-mount). +> Meer informatie: . + +- Bekijk de documentatie van het correcte commando: + +`tldr umount` diff --git a/pages.nl/linux/update-alternatives.md b/pages.nl/linux/update-alternatives.md new file mode 100644 index 00000000000000..422590bfa87226 --- /dev/null +++ b/pages.nl/linux/update-alternatives.md @@ -0,0 +1,24 @@ +# update-alternatives + +> Een handig hulpmiddel voor het onderhouden van symbolische links om standaard commando's te bepalen. +> Meer informatie: . + +- Voeg een symbolische link toe: + +`sudo update-alternatives --install {{pad/naar/symlink}} {{commando_naam}} {{pad/naar/commando_binary}} {{priority}}` + +- Configureer een symbolische link voor `java`: + +`sudo update-alternatives --config {{java}}` + +- Verwijder een symbolische link: + +`sudo update-alternatives --remove {{java}} {{/opt/java/jdk1.8.0_102/bin/java}}` + +- Toon informatie over een specifiek commando: + +`update-alternatives --display {{java}}` + +- Toon alle commando's en hun huidige selectie: + +`update-alternatives --get-selections` diff --git a/pages.nl/linux/updatedb.md b/pages.nl/linux/updatedb.md new file mode 100644 index 00000000000000..d958e8984286db --- /dev/null +++ b/pages.nl/linux/updatedb.md @@ -0,0 +1,13 @@ +# updatedb + +> Maak of werk de database bij die gebruikt wordt door `locate`. +> Dit wordt meestal dagelijks uitgevoerd door cron. +> Meer informatie: . + +- Ververs de inhoud van de database: + +`sudo updatedb` + +- Toon bestandsnamen zodra ze gevonden zijn: + +`sudo updatedb {{[-v|--verbose]}}` diff --git a/pages.nl/linux/useradd.md b/pages.nl/linux/useradd.md new file mode 100644 index 00000000000000..e95bc4c8b3aace --- /dev/null +++ b/pages.nl/linux/useradd.md @@ -0,0 +1,33 @@ +# useradd + +> Maak een nieuwe gebruiker aan. +> Zie ook: `users`, `userdel`, `usermod`. +> Meer informatie: . + +- Maak een nieuwe gebruiker aan: + +`sudo useradd {{gebruikersnaam}}` + +- Maak een nieuwe gebruiker aan met de opgegeven gebruikers-ID: + +`sudo useradd {{-u|--uid}} {{id}} {{gebruikersnaam}}` + +- Maak een nieuwe gebruiker aan met de opgegeven shell: + +`sudo useradd {{[-s|--shell]}} {{pad/naar/shell}} {{gebruikersnaam}}` + +- Maak een nieuwe gebruiker aan die behoort tot extra groepen (let op het ontbreken van spaties): + +`sudo useradd {{[-G|--groups]}} {{groep1,groep2,...}} {{gebruikersnaam}}` + +- Maak een nieuwe gebruiker aan met de standaard thuismap: + +`sudo useradd {{[-m|--create-home]}} {{gebruikersnaam}}` + +- Maak een nieuwe gebruiker aan met de thuismap gevuld met bestanden uit een sjabloonmap: + +`sudo useradd {{[-k|--skel]}} {{pad/naar/sjabloonmap}} {{[-m|--create-home]}} {{gebruikersnaam}}` + +- Maak een nieuwe systeemgebruiker aan zonder thuismap: + +`sudo useradd {{[-r|--system]}} {{gebruikersnaam}}` diff --git a/pages.nl/linux/userdel.md b/pages.nl/linux/userdel.md new file mode 100644 index 00000000000000..8f158217ec1e4c --- /dev/null +++ b/pages.nl/linux/userdel.md @@ -0,0 +1,17 @@ +# userdel + +> Verwijder een gebruikersaccount of verwijder een gebruiker uit een groep. +> Zie ook: `users`, `useradd`, `usermod`. +> Meer informatie: . + +- Verwijder een gebruiker: + +`sudo userdel {{gebruikersnaam}}` + +- Verwijder een gebruiker in een andere root-map: + +`sudo userdel {{[-R|--root]}} {{pad/naar/andere/root}} {{gebruikersnaam}}` + +- Verwijder een gebruiker samen met de thuismap en mail-spool: + +`sudo userdel {{[-r|--remove]}} {{gebruikersnaam}}` diff --git a/pages.nl/linux/usermod.md b/pages.nl/linux/usermod.md new file mode 100644 index 00000000000000..f74eaf43683f04 --- /dev/null +++ b/pages.nl/linux/usermod.md @@ -0,0 +1,37 @@ +# usermod + +> Wijzig een gebruikersaccount. +> Zie ook: `users`, `useradd`, `userdel`. +> Meer informatie: . + +- Verander een gebruikersnaam: + +`sudo usermod {{[-l|--login]}} {{nieuwe_gebruikersnaam}} {{gebruikersnaam}}` + +- Verander een gebruikers-ID: + +`sudo usermod {{[-u|--uid]}} {{id}} {{gebruikersnaam}}` + +- Verander een gebruikersshell: + +`sudo usermod {{[-s|--shell]}} {{pad/naar/shell}} {{gebruikersnaam}}` + +- Voeg een gebruiker toe aan aanvullende groepen (let op het ontbreken van spaties): + +`sudo usermod {{[-aG|--append --groups]}} {{groep1,groep2,...}} {{gebruikersnaam}}` + +- Verwijder een gebruiker uit specifieke groepen: + +`sudo usermod {{[-rG|--remove --groups]}} {{groep1,groep2,...}} {{gebruikersnaam}}` + +- Verander een gebruikers thuismap: + +`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{pad/naar/nieuwe_thuismap}} {{gebruikersnaam}}` + +- Vergrendel een account: + +`sudo usermod {{[-L|--lock]}} {{gebruikersnaam}}` + +- Ontgrendel een account: + +`sudo usermod {{[-U|--unlock]}} {{gebruikersnaam}}` diff --git a/pages.nl/linux/vivaldi-stable.md b/pages.nl/linux/vivaldi-stable.md new file mode 100644 index 00000000000000..e8767f3774629b --- /dev/null +++ b/pages.nl/linux/vivaldi-stable.md @@ -0,0 +1,8 @@ +# vivaldi-stable + +> Dit commando is een alias van `chromium`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr chromium` diff --git a/pages.nl/linux/x86_64.md b/pages.nl/linux/x86_64.md new file mode 100644 index 00000000000000..e67fb1de5f3eee --- /dev/null +++ b/pages.nl/linux/x86_64.md @@ -0,0 +1,7 @@ +# x86_64 + +> Dit commando is een alias van `setarch x86_64`. + +- Bekijk de documentatie van het originele commando: + +`tldr setarch` diff --git a/pages.nl/linux/xbps-install.md b/pages.nl/linux/xbps-install.md new file mode 100644 index 00000000000000..d6fff31be45a83 --- /dev/null +++ b/pages.nl/linux/xbps-install.md @@ -0,0 +1,13 @@ +# xbps-install + +> XBPS hulpprogramma om pakketten te (her)installeren en bij te werken. +> Zie ook: `xbps`. +> Meer informatie: . + +- Installeer een nieuw pakket: + +`xbps-install {{pakket}}` + +- Synchroniseer en update alle pakketten: + +`xbps-install {{[-S|--sync]}} {{[-u|--update]}}` diff --git a/pages.nl/linux/xbps-query.md b/pages.nl/linux/xbps-query.md new file mode 100644 index 00000000000000..7570ded4d35c57 --- /dev/null +++ b/pages.nl/linux/xbps-query.md @@ -0,0 +1,25 @@ +# xbps-query + +> XBPS hulpprogramma om te zoeken naar een pakket en repository informatie. +> Zie ook: `xbps`. +> Meer informatie: . + +- Zoek naar een pakket in externe repositories met behulp van een reguliere expressie of een trefwoord (als `--regex` wordt weggelaten): + +`xbps-query {{[-s|--search]}} {{reguliere_expressie|trefwoord}} --repository --regex` + +- Toon informatie over een geïnstalleerd pakket: + +`xbps-query {{[-S|--show]}} {{pakket}}` + +- Toon informatie over een pakket in externe repositories: + +`xbps-query {{[-S|--show]}} {{pakket}} --repository` + +- Toon alle geregistreerde pakketen in de pakket database: + +`xbps-query {{[-l|--list-pkgs]}}` + +- Toon expliciet geïnstalleerde pakketen (bijv. niet automatisch geïnstalleerd als afhankelijkheden): + +`xbps-query {{[-m|--list-manual-pkgs]}}` diff --git a/pages.nl/linux/xbps-remove.md b/pages.nl/linux/xbps-remove.md new file mode 100644 index 00000000000000..90359225dcf45b --- /dev/null +++ b/pages.nl/linux/xbps-remove.md @@ -0,0 +1,21 @@ +# xbps-remove + +> XBPS hulpprogramma voor het verwijderen van pakketten. +> Zie ook: `xbps`. +> Meer informatie: . + +- Verwijder een pakket: + +`xbps-remove {{pakket}}` + +- Verwijder een pakket en zijn afhankelijkheden: + +`xbps-remove {{[-R|--recursive]}} {{pakket}}` + +- Verwijder verweesde pakketten (geïnstalleerd als afhankelijkheden, maar niet langer vereist door een pakket): + +`xbps-remove {{[-o|--remove-orphans]}}` + +- Verwijder verouderde pakketten van de cache: + +`xbps-remove {{[-O|--clean-cache]}}` diff --git a/pages.nl/linux/xbps.md b/pages.nl/linux/xbps.md new file mode 100644 index 00000000000000..c68a6242471140 --- /dev/null +++ b/pages.nl/linux/xbps.md @@ -0,0 +1,17 @@ +# xbps + +> Het X Binary Package System is het pakketbeheer die wordt gebruikt door Void Linux. +> Voor equivalente commando's in andere pakketbeheerders, zie . +> Meer informatie: . + +- Bekijk de documentatie voor installeren en bijwerken van pakketten: + +`tldr xbps-install` + +- Bekijk de documentatie voor verwijderen van pakketten: + +`tldr xbps-remove` + +- Bekijk de documentatie om op zoek te gaan naar pakket- en repository-informatie: + +`tldr xbps-query` diff --git a/pages.nl/linux/xed.md b/pages.nl/linux/xed.md new file mode 100644 index 00000000000000..4145468babede6 --- /dev/null +++ b/pages.nl/linux/xed.md @@ -0,0 +1,24 @@ +# xed + +> Bewerk bestanden in de Cinnamon-desktopomgeving. +> Meer informatie: . + +- Start de editor: + +`xed` + +- Open specifieke bestanden: + +`xed {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Open bestanden met een specifieke codering: + +`xed --encoding {{WINDOWS-1252}} {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Toon alle ondersteunde coderingen: + +`xed --list-encodings` + +- Open een bestand en ga naar een specifieke regel: + +`xed +{{10}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/xrandr.md b/pages.nl/linux/xrandr.md new file mode 100644 index 00000000000000..fe35b45e253b03 --- /dev/null +++ b/pages.nl/linux/xrandr.md @@ -0,0 +1,32 @@ +# xrandr + +> Stel de grootte, oriëntatie en/of reflectie van de outputs voor een scherm in. +> Meer informatie: . + +- Toon de huidige status van het systeem (bekende schermen, resoluties, ...): + +`xrandr {{[-q|--query]}}` + +- Schakel losgekoppelde outputs uit en schakel verbonden outputs aan met de standaardinstellingen: + +`xrandr --auto` + +- Wijzig de resolutie en updatefrequentie van DisplayPort 1 naar 1920x1080, 60Hz: + +`xrandr --output DP1 --mode 1920x1080 {{[-r|--rate]}} 60` + +- Stel de resolutie van HDMI2 in op 1280x1024 en plaats deze rechts van DP1: + +`xrandr --output HDMI2 --mode 1280x1024 --right-of DP1` + +- Schakel de VGA1 output uit: + +`xrandr --output VGA1 --off` + +- Stel de helderheid voor LVDS1 in op 50%: + +`xrandr --output LVDS1 --brightness 0.5` + +- Toon de huidige status van een X server: + +`xrandr {{[-d|--display]}} :{{0}} {{[-q|--query]}}` diff --git a/pages.nl/linux/yay.md b/pages.nl/linux/yay.md new file mode 100644 index 00000000000000..bbf951c19891a0 --- /dev/null +++ b/pages.nl/linux/yay.md @@ -0,0 +1,37 @@ +# yay + +> Yet Another Yogurt: bouw en installeer pakketten van de Arch User Repository. +> Zie ook: `pacman`. +> Meer informatie: . + +- Zoek en installeer interactief pakketten van de bronnen en AUR: + +`yay {{pakket_naam|zoekpatroon}}` + +- Synchroniseer en update alle pakketten van de bronnen en AUR: + +`yay` + +- Installeer een nieuw pakket van de bronnen en AUR en vraag niet om transacties te bevestigen: + +`yay -S {{pakket}} --noconfirm` + +- Verwijder een geïnstalleerd pakket en de bijbehorende afhankelijkheden en configuratiebestanden: + +`yay -Rns {{pakket}}` + +- Doorzoek de pakketdatabase voor een sleutelwoord van de bronnen en AUR: + +`yay -Ss {{sleutelwoord}}` + +- Verwijder weespakketten (geïnstalleerd als afhankelijkheden maar niet daadwerkelijk vereist door een ander pakket): + +`yay -Yc` + +- Leeg de `pacman` en `yay` caches (oude pakketversies worden bewaard voor rollback- en downgrade-doeleinden): + +`yay -Scc` + +- Toon statistieken van geïnstalleerde pakketten en systeemstatus: + +`yay -Ps` diff --git a/pages.nl/linux/yum-config-manager.md b/pages.nl/linux/yum-config-manager.md new file mode 100644 index 00000000000000..9087eba9e598a5 --- /dev/null +++ b/pages.nl/linux/yum-config-manager.md @@ -0,0 +1,7 @@ +# yum config-manager + +> Dit commando is een alias van `dnf config-manager`. + +- Bekijk de documentatie van het originele commando: + +`tldr dnf config-manager` diff --git a/pages.nl/linux/yumdownloader.md b/pages.nl/linux/yumdownloader.md new file mode 100644 index 00000000000000..c0eae2794c1cc6 --- /dev/null +++ b/pages.nl/linux/yumdownloader.md @@ -0,0 +1,7 @@ +# yumdownloader + +> Dit commando is een alias van `dnf download`. + +- Bekijk de documentatie van het originele commando: + +`tldr dnf download` diff --git a/pages.nl/linux/zathura.md b/pages.nl/linux/zathura.md new file mode 100644 index 00000000000000..766d55b377cdda --- /dev/null +++ b/pages.nl/linux/zathura.md @@ -0,0 +1,33 @@ +# zathura + +> Een Vim-achtige modale bestandsviewer, met een geïntegreerde command-line. +> Zorg ervoor dat er een backend is geïnstalleerd (poppler, PostScript of DjVu). +> Meer informatie: . + +- Open een bestand: + +`zathura {{pad/naar/bestand}}` + +- Navigeer links/omhoog/omlaag/rechts: + +`{{||||}}` + +- Draai: + +`` + +- Keer kleuren om: + +`` + +- Zoek voor tekst met een string: + +`{{string}}` + +- Maak/verwijder bookmarks: + +`<:>{{bmark|bdelete}} {{bookmark_naam}}` + +- Toon bookmarks: + +`<:>blist` diff --git a/pages.nl/netbsd/cal.md b/pages.nl/netbsd/cal.md new file mode 100644 index 00000000000000..74a003b381631d --- /dev/null +++ b/pages.nl/netbsd/cal.md @@ -0,0 +1,36 @@ +# cal + +> Toon een kalender. +> Meer informatie: . + +- Toon een kalender voor de huidige maand: + +`cal` + +- Toon een kalender voor een specifiek jaar: + +`cal {{jaar}}` + +- Toon een kalender voor een specifieke maand en jaar: + +`cal {{maand}} {{jaar}}` + +- Toon de volledige kalender voor het huidige jaar door gebruik te maken van [j]ulian dagen (beginnend vanaf één, genummerd vanaf 1 januari): + +`cal -y -j` + +- Markeer ([h]) vandaag en toon [3] maanden rondom de datum:: + +`cal -h -3 {{maand}} {{jaar}}` + +- Toon de 2 maanden voor ([B]) en 3 maanden na ([A]) een specifieke [m]aand van het huidige jaar: + +`cal -A 3 -B 2 {{maand}}` + +- Toon een specifiek aantal maanden voor en na (Context) de opgegeven maand: + +`cal -C {{maanden}} {{maand}}` + +- Specificeer de startdag van de week (0: Zondag, 1: Maandag, ..., 6: Zaterdag): + +`cal -d {{0..6}}` diff --git a/pages.nl/netbsd/chfn.md b/pages.nl/netbsd/chfn.md new file mode 100644 index 00000000000000..4980d49d0c70e5 --- /dev/null +++ b/pages.nl/netbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/netbsd/chpass.md b/pages.nl/netbsd/chpass.md new file mode 100644 index 00000000000000..26547fdf6881f5 --- /dev/null +++ b/pages.nl/netbsd/chpass.md @@ -0,0 +1,29 @@ +# chpass + +> Gebruikersdatabase informatie toevoegen of wijzigen, inclusief login shell en wachtwoord. +> Zie ook: `passwd`. +> Meer informatie: . + +- Stel interactief een specifieke login shell in voor de huidige gebruiker: + +`su -c chpass` + +- Stel een specifieke login [s]hell in voor de huidige gebruiker: + +`chpass -s {{pad/naar/shell}}` + +- Stel een login [s]hell in voor een specifieke gebruiker: + +`chpass -s {{pad/naar/shell}} {{gebruikersnaam}}` + +- Specificeer een gebruikersdatabase entry in het `passwd` bestandsformaat: + +`su -c 'chpass -a {{gebruikersnaam:gecodeerd_wachtwoord:uid:gid:...}} -s {{pad/naar/bestand}}' {{gebruikersnaam}}` + +- Pas alleen het lokale wachtwoord bestand aan: + +`su -c 'chpass -l -s {{pad/naar/shell}}' {{gebruikersnaam}}` + +- Pas geforceerd een database [y]P wachtwoord database entry aan: + +`su -c 'chpass -y -s {{pad/naar/shell}}' {{gebruikersnaam}}` diff --git a/pages.nl/netbsd/chsh.md b/pages.nl/netbsd/chsh.md new file mode 100644 index 00000000000000..b19a340e537fbe --- /dev/null +++ b/pages.nl/netbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/netbsd/df.md b/pages.nl/netbsd/df.md new file mode 100644 index 00000000000000..8e4e645e451711 --- /dev/null +++ b/pages.nl/netbsd/df.md @@ -0,0 +1,32 @@ +# df + +> Toon een overzicht van het gebruik van het bestandssysteem op het gebied van schijfruimte. +> Meer informatie: . + +- Toon alle bestandssystemen en hun schijfgebruik met behulp van 512-byte eenheden: + +`df` + +- Gebruik leesbare eenheden (gebaseerd op de macht van 1024): + +`df -h` + +- Toon alle velden van de structu(u)r(en) geretourneerd door `statvfs`: + +`df -G` + +- Toon het bestandssysteem en het schijfgebruik voor het opgegeven bestand of map: + +`df {{pad/naar/bestand_of_map}}` + +- Neem statistieken op over het aantal beschikbare en gebruikte [i]-knooppunten: + +`df -i` + +- Gebruik 1024-byte eenheden voor het schrijven van de ruimte figuren: + +`df -k` + +- Toon informatie in een [P]ortable wijze: + +`df -P` diff --git a/pages.nl/netbsd/pkgin.md b/pages.nl/netbsd/pkgin.md new file mode 100644 index 00000000000000..081a0573084598 --- /dev/null +++ b/pages.nl/netbsd/pkgin.md @@ -0,0 +1,28 @@ +# pkgin + +> Beheer `pkgsrc` binary pakketten op NetBSD. +> Meer informatie: . + +- Installeer een pakket: + +`pkgin install {{pakket}}` + +- Verwijder een pakket en zijn afhankelijkheden: + +`pkgin remove {{pakket}}` + +- Upgrade alle pakketten: + +`pkgin full-upgrade` + +- Zoek naar een pakket: + +`pkgin search {{keyword}}` + +- Toon alle geïnstalleerde pakketten: + +`pkgin list` + +- Verwijder alle onnodige afhankelijkheden: + +`pkgin autoremove` diff --git a/pages.nl/netbsd/sed.md b/pages.nl/netbsd/sed.md new file mode 100644 index 00000000000000..5f52d8ad8e709d --- /dev/null +++ b/pages.nl/netbsd/sed.md @@ -0,0 +1,33 @@ +# sed + +> Pas tekst aan in een op een scriptbare manier. +> Zie ook: `awk`, `ed`. +> Meer informatie: . + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in alle invoerregels en toon het resultaat in `stdout`:: + +`{{commando}} | sed 's/apple/mango/g'` + +- Voer een specifiek script bestand uit en toon het resultaat in `stdout`: + +`{{commando}} | sed -f {{pad/naar/script.sed}}` + +- Vertraag het openen van elk bestand tot een commando met de gerelateerde `w`-functie of vlag wordt toegepast op een regel invoer: + +`{{commando}} | sed -fa {{pad/naar/script.sed}}` + +- Turn on GNU re[g]ex extension: + +`{{commando}} | sed -fg {{pad/naar/script.sed}}` + +- Vervang alle `apple` (uitgebreide regex) met `APPLE` (uitgebreide regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed -E 's/(apple)/\U\1/g'` + +- Toon alleen de eerste regel in `stdout`: + +`{{commando}} | sed -n '1p'` + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in een specifiek bestand en overschrijf het originele bestand: + +`sed -i 's/apple/mango/g' {{pad/naar/bestand}}` diff --git a/pages.nl/netbsd/sockstat.md b/pages.nl/netbsd/sockstat.md new file mode 100644 index 00000000000000..5019bed770aaab --- /dev/null +++ b/pages.nl/netbsd/sockstat.md @@ -0,0 +1,26 @@ +# sockstat + +> Toon open Internet- of UNIX-domeinsockets. +> Let op: dit programma is hergeschreven voor NetBSD 3.0 van FreeBSD's `sockstat`. +> Zie ook: `netstat`. +> Meer informatie: . + +- Toon informatie voor IPv4- en IPv6-sockets voor zowel luister- als verbonden sockets: + +`sockstat` + +- Toon informatie voor IPv[4]/IPv[6] sockets die [l]uisteren op specifieke [p]oorten met een specifiek [P]rotocol: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}` + +- Toon ook [c]onnected sockets en [u]nix-sockets: + +`sockstat -cu` + +- Toon alleen [n]umerieke output, zonder symbolische namen voor adressen en poorten te resolven: + +`sockstat -n` + +- Toon alleen sockets van de opgegeven adres[f]amilie: + +`sockstat -f {{inet|inet6|local|unix}}` diff --git a/pages.nl/openbsd/cal.md b/pages.nl/openbsd/cal.md new file mode 100644 index 00000000000000..dcece264e3098d --- /dev/null +++ b/pages.nl/openbsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> Toon een kalender met de huidige dag gemarkeerd. +> Meer informatie: . + +- Toon een kalender voor de huidige maand: + +`cal` + +- Toon een kalender voor een specifiek jaar: + +`cal {{jaar}}` + +- Toon een kalender voor een specifieke maand en jaar: + +`cal {{maand}} {{jaar}}` + +- Toon de volledige kalender voor het huidige jaar ([y]): + +`cal -y` + +- Toon [j]ulian dagen (beginnend vanaf één, genummerd vanaf 1 januari): + +`cal -j` + +- Gebruik [m]aandag als week start in plaats van zondag: + +`cal -m` + +- Toon [w]eeknummers (niet compatibel met `-j`): + +`cal -w` diff --git a/pages.nl/openbsd/chfn.md b/pages.nl/openbsd/chfn.md new file mode 100644 index 00000000000000..4980d49d0c70e5 --- /dev/null +++ b/pages.nl/openbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/openbsd/chpass.md b/pages.nl/openbsd/chpass.md new file mode 100644 index 00000000000000..6253f5abf095e2 --- /dev/null +++ b/pages.nl/openbsd/chpass.md @@ -0,0 +1,21 @@ +# chpass + +> Gebruikersdatabase informatie toevoegen of wijzigen, inclusief login shell en wachtwoord. +> Zie ook: `passwd`. +> Meer informatie: . + +- Stel interactief een specifieke login shell in voor de huidige gebruiker: + +`doas chpass` + +- Stel een specifieke login [s]hell in voor de huidige gebruiker: + +`doas chpass -s {{pad/naar/shell}}` + +- Stel een login [s]hell in voor een specifieke gebruiker: + +`doas chpass -s {{pad/naar/shell}} {{gebruikersnaam}}` + +- Specificeer een gebruikersdatabase entry in het `passwd` bestandsformaat: + +`doas chpass -a {{gebruikersnaam:gecodeerd_wachtwoord:uid:gid:...}}` diff --git a/pages.nl/openbsd/chsh.md b/pages.nl/openbsd/chsh.md new file mode 100644 index 00000000000000..b19a340e537fbe --- /dev/null +++ b/pages.nl/openbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Dit commando is een alias van `chpass`. + +- Bekijk de documentatie van het originele commando: + +`tldr chpass` diff --git a/pages.nl/openbsd/df.md b/pages.nl/openbsd/df.md new file mode 100644 index 00000000000000..f8efa8d13cfd2f --- /dev/null +++ b/pages.nl/openbsd/df.md @@ -0,0 +1,28 @@ +# df + +> Toon een overzicht van het gebruik van het bestandssysteem op het gebied van schijfruimte. +> Meer informatie: . + +- Toon alle bestandssystemen en hun schijfgebruik met behulp van 512-byte eenheden: + +`df` + +- Toon alle bestandssystemen en hun schijfgebruik in een leesbaar formaat (gebaseerd op de macht van 1024): + +`df -h` + +- Toon het bestandssysteem en het schijfgebruik voor het opgegeven bestand of map: + +`df {{pad/naar/bestand_of_map}}` + +- Neem statistieken op over het aantal beschikbare en gebruikte [i]-knooppunten: + +`df -i` + +- Gebruik 1024-byte eenheden voor het schrijven van de ruimte figuren: + +`df -k` + +- Toon informatie in een [P]ortable wijze: + +`df -P` diff --git a/pages.nl/openbsd/pkg.md b/pages.nl/openbsd/pkg.md new file mode 100644 index 00000000000000..f87ca7356c3d87 --- /dev/null +++ b/pages.nl/openbsd/pkg.md @@ -0,0 +1,16 @@ +# pkg + +> OpenBSD pakketbeheer hulpprogramma. +> Meer informatie: . + +- Bekijk de documentatie voor installeren/updaten van pakketten: + +`tldr pkg_add` + +- Bekijk de documentatie voor het verwijderen van pakketen: + +`tldr pkg_delete` + +- Bekijk de documentatie voor het bekijken van informatie over pakketen: + +`tldr pkg_info` diff --git a/pages.nl/openbsd/pkg_add.md b/pages.nl/openbsd/pkg_add.md new file mode 100644 index 00000000000000..c72d49cf97e991 --- /dev/null +++ b/pages.nl/openbsd/pkg_add.md @@ -0,0 +1,17 @@ +# pkg_add + +> Installeer/update pakketten in OpenBSD. +> Zie ook: `pkg_info`, `pkg_delete`. +> Meer informatie: . + +- Werk alle pakketten bij, inclusief afhankelijkheden: + +`pkg_add -u` + +- Installeer een nieuw pakket: + +`pkg_add {{pakket}}` + +- Installeer pakketten van de onbewerkte uitvoer van `pkg_info`: + +`pkg_add -l {{pad/naar/bestand}}` diff --git a/pages.nl/openbsd/pkg_delete.md b/pages.nl/openbsd/pkg_delete.md new file mode 100644 index 00000000000000..bb7eb2c5dd7306 --- /dev/null +++ b/pages.nl/openbsd/pkg_delete.md @@ -0,0 +1,17 @@ +# pkg_delete + +> Verwijder pakketten in OpenBSD. +> Zie ook: `pkg_add`, `pkg_info`. +> Meer informatie: . + +- Verwijder een pakket: + +`pkg_delete {{pakket}}` + +- Verwijder een pakket, inclusief de ongebruikte afhankelijkheden: + +`pkg_delete -a {{pakket}}` + +- Dry-run verwijdering van een pakket: + +`pkg_delete -n {{pakket}}` diff --git a/pages.nl/openbsd/pkg_info.md b/pages.nl/openbsd/pkg_info.md new file mode 100644 index 00000000000000..d8b8792ddf6ae0 --- /dev/null +++ b/pages.nl/openbsd/pkg_info.md @@ -0,0 +1,13 @@ +# pkg_info + +> Bekijk informatie over pakketten in OpenBSD. +> Zie ook: `pkg_add`, `pkg_delete`. +> Meer informatie: . + +- Zoek naar een pakket met behulp van de pakket-naam: + +`pkg_info -Q {{pakket}}` + +- Toon een lijst met geïnstalleerde pakketen voor het gebruik met `pkg_add -l`: + +`pkg_info -mz` diff --git a/pages.nl/openbsd/sed.md b/pages.nl/openbsd/sed.md new file mode 100644 index 00000000000000..dcff4f893583b8 --- /dev/null +++ b/pages.nl/openbsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> Pas tekst aan in een op een scriptbare manier. +> Zie ook: `awk`, `ed`. +> Meer informatie: . + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed 's/apple/mango/g'` + +- Voer een specifiek script bestand uit en toon het resultaat in `stdout`: + +`{{commando}} | sed -f {{pad/naar/script.sed}}` + +- Vertraag het openen van elk bestand tot een commando met de gerelateerde `w`-functie of vlag wordt toegepast op een regel invoer: + +`{{commando}} | sed -fa {{pad/naar/script.sed}}` + +- Vervang alle `apple` (uitgebreide regex) met `APPLE` (uitgebreide regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed -E 's/(apple)/\U\1/g'` + +- Toon alleen de eerste regel in `stdout`: + +`{{commando}} | sed -n '1p'` + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in een specifiek bestand en overschrijf het originele bestand: + +`sed -i 's/apple/mango/g' {{pad/naar/bestand}}` diff --git a/pages.nl/osx/aa.md b/pages.nl/osx/aa.md new file mode 100644 index 00000000000000..07bd3d2b574ff3 --- /dev/null +++ b/pages.nl/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Dit commando is een alias van `yaa`. + +- Bekijk de documentatie van het originele commando: + +`tldr yaa` diff --git a/pages.nl/osx/arch.md b/pages.nl/osx/arch.md new file mode 100644 index 00000000000000..a9ea585b4e3aaa --- /dev/null +++ b/pages.nl/osx/arch.md @@ -0,0 +1,17 @@ +# arch + +> Toon de naam van de systeemarchitectuur, of voer een commando uit onder een andere architectuur. +> Zie ook: `uname`. +> Meer informatie: . + +- Toon de systeemarchitectuur: + +`arch` + +- Voer een commando uit met behulp van x86_64: + +`arch -x86_64 "{{commando}}"` + +- Voer een commando uit met behulp van arm: + +`arch -arm64 "{{commando}}"` diff --git a/pages.nl/osx/archey.md b/pages.nl/osx/archey.md new file mode 100644 index 00000000000000..7e5bcdb2543bbc --- /dev/null +++ b/pages.nl/osx/archey.md @@ -0,0 +1,20 @@ +# archey + +> Stijlvol weergeven van systeeminformatie. +> Meer informatie: . + +- Toon systeeminformatie: + +`archey` + +- Toon systeeminformatie zonder gekleurde output: + +`archey --nocolor` + +- Toon systeeminformatie met gebruik van MacPorts in plaats van Homebrew: + +`archey --macports` + +- Toon systeeminformatie zonder IP-adrescontrole: + +`archey --offline` diff --git a/pages.nl/osx/as.md b/pages.nl/osx/as.md new file mode 100644 index 00000000000000..c2adff79ccb0b5 --- /dev/null +++ b/pages.nl/osx/as.md @@ -0,0 +1,21 @@ +# as + +> Draagbare GNU assembler. +> Voornamelijk bedoeld om uitvoer van `gcc` te assembleren voor gebruik door `ld`. +> Meer informatie: . + +- Assembleer een bestand en schrijf de output naar `a.out`: + +`as {{pad/naar/bestand.s}}` + +- Assembleer de output naar een specifiek bestand: + +`as {{pad/naar/bestand.s}} -o {{pad/naar/uitvoer_bestand.o}}` + +- Genereer sneller output door spaties en commentaarvoorverwerking over te slaan. (Moet alleen worden gebruikt voor vertrouwde compilers): + +`as -f {{pad/naar/bestand.s}}` + +- Voeg een specifiek pad toe aan de lijst met mappen om te zoeken naar bestanden die zijn opgegeven in `.include`-richtlijnen: + +`as -I {{pad/naar/directory}} {{pad/naar/bestand.s}}` diff --git a/pages.nl/osx/base64.md b/pages.nl/osx/base64.md new file mode 100644 index 00000000000000..21d105bf080e29 --- /dev/null +++ b/pages.nl/osx/base64.md @@ -0,0 +1,28 @@ +# base64 + +> Encodeer of decodeer een bestand of `stdin` van/naar base64, naar `stdout` of een ander bestand. +> Meer informatie: . + +- Encodeer een bestand naar `stdout`: + +`base64 {{[-i|--input]}} {{pad/naar/bestand}}` + +- Encodeer een bestand naar het opgegeven uitvoerbestand: + +`base64 {{[-i|--input]}} {{pad/naar/invoer_bestand}} {{[-o|--output]}} {{pad/naar/uitvoer_bestand}}` + +- Wrap de uitvoer op een bepaalde breedte (`0` schakelt het uit): + +`base64 {{[-b|--break]}} {{0|76|...}} {{pad/naar/bestand}}` + +- Decodeer een bestand naar `stdout`: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{pad/naar/bestand}}` + +- Encodeer van `stdin` naar `stdout`: + +`{{commando}} | base64` + +- Decodeer vanaf `stdin` naar `stdout`: + +`{{commando}} | base64 {{[-d|--decode]}}` diff --git a/pages.nl/osx/bc.md b/pages.nl/osx/bc.md new file mode 100644 index 00000000000000..21a6e6cfb5a82c --- /dev/null +++ b/pages.nl/osx/bc.md @@ -0,0 +1,29 @@ +# bc + +> Een rekenmachinetaal met willekeurige precisie. +> Zie ook: `dc`. +> Meer informatie: . + +- Start een interactieve sessie: + +`bc` + +- Start een interactieve sessie met de standaard wiskundige bibliotheek ingeschakeld: + +`bc --mathlib` + +- Bereken een uitdrukking: + +`bc --expression '{{5 / 3}}'` + +- Voer een script uit: + +`bc {{pad/naar/script.bc}}` + +- Bereken een uitdrukking met de gespecificeerde schaal: + +`bc --expression '{{scale = 10; 5 / 3}}'` + +- Bereken een sinus/cosinus/arctangens/natuurlijke logaritme/exponentiële functie met behulp van `mathlib`: + +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages.nl/osx/bird.md b/pages.nl/osx/bird.md new file mode 100644 index 00000000000000..8506e585d71d38 --- /dev/null +++ b/pages.nl/osx/bird.md @@ -0,0 +1,9 @@ +# bird + +> Dit ondersteunt de synchronisatie van iCloud en iCloud Drive. +> Het moet niet handmatig worden aangeroepen. +> Meer informatie: . + +- Start de daemon: + +`bird` diff --git a/pages.nl/osx/caffeinate.md b/pages.nl/osx/caffeinate.md new file mode 100644 index 00000000000000..a847bfb3f6cf55 --- /dev/null +++ b/pages.nl/osx/caffeinate.md @@ -0,0 +1,24 @@ +# caffeinate + +> Voorkom dat macOS in slaapstand gaat. +> Meer informatie: . + +- Voorkom dat het scherm in slaapstand gaat: + +`caffeinate -d` + +- Voorkom dat het scherm gedurende 1 uur (3600 seconden) in slaapstand gaat: + +`caffeinate -u -t {{3600}}` + +- Splits een proces, voer daarin "make" uit en voorkom dat het scherm in slaapstand gaat zolang dat proces actief is: + +`caffeinate -i make` + +- Voorkom dat het scherm in slaapstand gaat totdat een proces met het opgegeven PID is voltooid: + +`caffeinate -w {{pid}}` + +- Voorkom dat de schijf in slaapstand gaat (gebruik `` om te stoppen): + +`caffeinate -m` diff --git a/pages.nl/osx/cal.md b/pages.nl/osx/cal.md new file mode 100644 index 00000000000000..70440844a92224 --- /dev/null +++ b/pages.nl/osx/cal.md @@ -0,0 +1,32 @@ +# cal + +> Toon kalender informatie. +> Meer informatie: . + +- Toon een kalender voor de huidige maand: + +`cal` + +- Toon vorige, huidige en volgende maand: + +`cal -3` + +- Toon een kalender voor een specifieke maand (1-12 of de naam): + +`cal -m {{maand}}` + +- Toon een kalender voor het huidige jaar: + +`cal -y` + +- Toon een kalender voor een specifiek jaar (4 cijfers): + +`cal {{jaar}}` + +- Toon een kalender voor een specifieke maand en jaar: + +`cal {{maand}} {{jaar}}` + +- Toon de datum van Pasen (Westerse Christelijke kerken) in een gegeven jaar: + +`ncal -e {{jaar}}` diff --git a/pages.nl/osx/cat.md b/pages.nl/osx/cat.md new file mode 100644 index 00000000000000..0c3c176e28f50b --- /dev/null +++ b/pages.nl/osx/cat.md @@ -0,0 +1,32 @@ +# cat + +> Print en concateneer bestanden. +> Meer informatie: . + +- Print de inhoud van een bestand naar `stdout`: + +`cat {{pad/naar/bestand}}` + +- Concateneer meerdere bestanden in een uitvoerbestand: + +`cat {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/uitvoerbestand}}` + +- Voeg meerdere bestanden toe aan een uitvoerbestand: + +`cat {{pad/naar/bestand1 pad/naar/bestand2 ...}} >> {{pad/naar/uitvoerbestand}}` + +- Kopieer de inhoud van een bestand naar een uitvoerbestand zonder buffering: + +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` + +- Schrijf `stdin` naar een bestand: + +`cat - > {{pad/naar/bestand}}` + +- Nummer alle uitvoerregels: + +`cat -n {{pad/naar/bestand}}` + +- Toon niet-afdrukbare en witruimtekarakters (met `M-` prefix als niet-ASCII): + +`cat -v -t -e {{pad/naar/bestand}}` diff --git a/pages.nl/osx/chpass.md b/pages.nl/osx/chpass.md new file mode 100644 index 00000000000000..2508ecae873595 --- /dev/null +++ b/pages.nl/osx/chpass.md @@ -0,0 +1,26 @@ +# chpass + +> Gebruikersdatabase informatie toevoegen of wijzigen, inclusief login shell en wachtwoord. +> Let op: het is niet mogelijk om een gebruikerswachtwoord te wijzigen op een Open Directory systeem, gebruik hiervoor `passwd`. +> Zie ook: `passwd`. +> Meer informatie: . + +- Voeg toe of pas interactief de gebruikersdatabase informatie aan voor de huidige gebruiker: + +`su -c chpass` + +- Stel een specifieke login [s]hell in voor de huidige gebruiker: + +`chpass -s {{pad/naar/shell}}` + +- Stel een login [s]hell in voor een specifieke gebruiker: + +`chpass -s {{pad/naar/shell}} {{gebruikersnaam}}` + +- Pas het gebruikersrecord aan in de directory node op de opgegeven [l]ocatie: + +`chpass -l {{locatie}} -s {{pad/naar/shell}} {{gebruikersnaam}}` + +- Gebruik de opgegeven gebr[u]ikersnaam bij het authenticeren van het mapknooppunt dat de gebruiker bevat: + +`chpass -u {{auth_naam}} -s {{pad/naar/shell}} {{gebruikersnaam}}` diff --git a/pages.nl/osx/cut.md b/pages.nl/osx/cut.md new file mode 100644 index 00000000000000..8a5e9a1e485a65 --- /dev/null +++ b/pages.nl/osx/cut.md @@ -0,0 +1,16 @@ +# cut + +> Snij velden eruit vanuit `stdin` of bestanden. +> Meer informatie: . + +- Toon een specifiek karakter/veldbereik voor iedere regel: + +`{{commando}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}` + +- Toon een bereik voor iedere regel met een specifieke scheiding: + +`{{commando}} | cut -d "{{,}}" -f {{1}}` + +- Toon een bereik van iedere regel voor een specifiek bestand: + +`cut -c {{1}} {{pad/naar/bestand}}` diff --git a/pages.nl/osx/date.md b/pages.nl/osx/date.md new file mode 100644 index 00000000000000..2518e6c68416a5 --- /dev/null +++ b/pages.nl/osx/date.md @@ -0,0 +1,24 @@ +# date + +> Stel de systeemdatum in of toon deze. +> Meer informatie: . + +- Toon de huidige datum in het standaardformaat van de locale: + +`date +%c` + +- Toon de huidige datum in UTC en ISO 8601-formaat: + +`date -u +%Y-%m-%dT%H:%M:%SZ` + +- Toon de huidige datum als een Unix timestamp (seconden sinds de Unix-epoch): + +`date +%s` + +- Toon een specifieke datum (gerepresenteerd als een Unix timestamp) met het standaard formaat: + +`date -r {{1473305798}}` + +- Toon een datum relatief aan de huidige datum met het standaard formaat: + +`date -v {{+1d}} -v {{-20m}}` diff --git a/pages.nl/osx/dd.md b/pages.nl/osx/dd.md new file mode 100644 index 00000000000000..6df62b2aa68526 --- /dev/null +++ b/pages.nl/osx/dd.md @@ -0,0 +1,28 @@ +# dd + +> Converteer en kopieer een bestand. +> Meer informatie: . + +- Maak een opstartbare USB-schijf van een isohybrid-bestand (zoals `archlinux-xxx.iso`) en toon de voortgang: + +`dd if={{pad/naar/bestand.iso}} of={{/dev/usb_apparaat}} status=progress` + +- Kopieer een schijf naar een andere schijf met een blokgrootte van 4 MiB, negeer fouten en toon de voortgang: + +`dd bs=4m conv=noerror if={{/dev/bron_apparaat}} of={{/dev/doel_apparaat}} status=progress` + +- Genereer een bestand met een specifiek aantal willekeurige bytes met behulp van de kernel random driver: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{pad/naar/random_bestand}}` + +- Benchmark de schrijfsnelheid van een schijf: + +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{pad/naar/bestand_1GB}}` + +- Maak een systeemback-up, sla deze op in een IMG bestand (kan later worden hersteld door `if` en `of` om te wisselen) en toon de voortgang: + +`dd if={{/dev/schijf_apparaat}} of={{pad/naar/bestand.img}} status=progress` + +- Bekijk de voortgang van een lopende `dd` operatie (voer dit commando uit vanaf een andere shell):: + +`kill -USR1 $(pgrep ^dd)` diff --git a/pages.nl/osx/df.md b/pages.nl/osx/df.md new file mode 100644 index 00000000000000..56c3ecc358801c --- /dev/null +++ b/pages.nl/osx/df.md @@ -0,0 +1,32 @@ +# df + +> Toon een overzicht van het gebruik van het bestandssysteem op het gebied van schijfruimte. +> Meer informatie: . + +- Toon alle bestandssystemen en hun schijfgebruik (met behulp van 512-byte eenheden): + +`df` + +- Gebruik leesbare eenheden (gebaseerd op de macht van 1024) en toon het grote totaal: + +`df -h -c` + +- Gebruik leesbare eenheden (gebaseerd op de macht van 1000): + +`df {{[-H|--si]}}` + +- Toon het bestandssysteem die de opgegeven bestand of map bevat: + +`df {{pad/naar/bestand_of_map}}` + +- Neem statistieken op over het aantal beschikbare en gebruikte [i]-knooppunten, inclusief de bestandssysteem t[Y]pes: + +`df -iY` + +- Gebruik [k]ibibyte (1024-byte) eenheden voor het schrijven van de ruimte figuren: + +`df -k` + +- Toon informatie in een [P]ortable wijze: + +`df -P` diff --git a/pages.nl/osx/dmesg.md b/pages.nl/osx/dmesg.md new file mode 100644 index 00000000000000..cf06cec7164b6b --- /dev/null +++ b/pages.nl/osx/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> Schrijf de kernelberichten naar `stdout`. +> Meer informatie: . + +- Toon kernelberichten: + +`dmesg` + +- Toon hoeveel fysiek geheugen beschikbaar is op dit systeem: + +`dmesg | grep -i memory` + +- Toon kernelberichten 1 pagina per keer: + +`dmesg | less` diff --git a/pages.nl/osx/du.md b/pages.nl/osx/du.md new file mode 100644 index 00000000000000..f6142a737c9d1b --- /dev/null +++ b/pages.nl/osx/du.md @@ -0,0 +1,28 @@ +# du + +> Disk gebruik: schat en groepeer bestand en map ruimte gebruik. +> Meer informatie: . + +- Toont de grootte van een map en mogelijke sub-mappen, met een gegeven eenheid (KiB/MiB/GiB): + +`du -{{k|m|g}} {{pad/naar/map}}` + +- Toont de grootte van een map en mogelijke sub-mappen, met een leesbaar unit formaat (bijvoorbeeld door het automatisch kiezen van een eenheid gebaseerd op grootte)): + +`du -h {{pad/naar/map}}` + +- Toont de grootte van een enkele map met een leesbaar eenheid formaat: + +`du -sh {{pad/naar/map}}` + +- Toont de grootte in leesbare vorm van een map met alle bestanden en mappen: + +`du -ah {{pad/naar/map}}` + +- Toont de grootte in leesbare vorm van een map en alle sub-mappen tot N niveaus diep: + +`du -h -d {{N}} {{pad/naar/map}}` + +- Toont de grootte in leesbare vorm van alle `.jpg` bestanden in sub-mappen van de huidige map en laat een cumulatief totaal zien op het eind: + +`du -ch {{*/*.jpg}}` diff --git a/pages.nl/osx/fsck.md b/pages.nl/osx/fsck.md new file mode 100644 index 00000000000000..44d7e7b8eaec9f --- /dev/null +++ b/pages.nl/osx/fsck.md @@ -0,0 +1,21 @@ +# fsck + +> Controleer de integriteit van een bestandssysteem of repareer het. Het bestandssysteem moet niet gemount zijn op het moment dat het commando wordt uitgevoerd. +> Het is een wrapper die `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat` en `fsck_udf` aanroept indien nodig. +> Meer informatie: . + +- Controleer bestandssysteem `/dev/sdX` en rapporteer beschadigde blokken: + +`fsck {{/dev/sdX}}` + +- Controleer bestandssysteem `/dev/sdX` alleen als het schoon is, rapporteer beschadigde blokken en laat de gebruiker interactief kiezen om elke blok te repareren: + +`fsck -f {{/dev/sdX}}` + +- Controleer bestandssysteem `/dev/sdX` alleen als het schoon is, rapporteer beschadigde blokken en repareer ze automatisch: + +`fsck -fy {{/dev/sdX}}` + +- Controleer bestandssysteem `/dev/sdX` en rapporteer of het schoon is afgekoppeld: + +`fsck -q {{/dev/sdX}}` diff --git a/pages.nl/osx/g[.md b/pages.nl/osx/g[.md new file mode 100644 index 00000000000000..f7da2d64307892 --- /dev/null +++ b/pages.nl/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Dit commando is een alias van GNU `[`. + +- Bekijk de documentatie van het originele commando: + +`tldr [` diff --git a/pages.nl/osx/gb2sum.md b/pages.nl/osx/gb2sum.md new file mode 100644 index 00000000000000..05467102ec81b7 --- /dev/null +++ b/pages.nl/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Dit commando is een alias van GNU `b2sum`. + +- Bekijk de documentatie van het originele commando: + +`tldr b2sum` diff --git a/pages.nl/osx/gbase32.md b/pages.nl/osx/gbase32.md new file mode 100644 index 00000000000000..e00b2dde4257f0 --- /dev/null +++ b/pages.nl/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Dit commando is een alias van GNU `base32`. + +- Bekijk de documentatie van het originele commando: + +`tldr base32` diff --git a/pages.nl/osx/gbase64.md b/pages.nl/osx/gbase64.md new file mode 100644 index 00000000000000..62bba5fedfbecc --- /dev/null +++ b/pages.nl/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Dit commando is een alias van GNU `base64`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.nl/osx/gbasename.md b/pages.nl/osx/gbasename.md new file mode 100644 index 00000000000000..89daa4cd8885ad --- /dev/null +++ b/pages.nl/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Dit commando is een alias van GNU `basename`. + +- Bekijk de documentatie van het originele commando: + +`tldr basename` diff --git a/pages.nl/osx/gbasenc.md b/pages.nl/osx/gbasenc.md new file mode 100644 index 00000000000000..c1668d429243ac --- /dev/null +++ b/pages.nl/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Dit commando is een alias van GNU `basenc`. + +- Bekijk de documentatie van het originele commando: + +`tldr basenc` diff --git a/pages.nl/osx/gcat.md b/pages.nl/osx/gcat.md new file mode 100644 index 00000000000000..95f88c3347881c --- /dev/null +++ b/pages.nl/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Dit commando is een alias van GNU `cat`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.nl/osx/gchcon.md b/pages.nl/osx/gchcon.md new file mode 100644 index 00000000000000..4a8db1fcf728fd --- /dev/null +++ b/pages.nl/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Dit commando is een alias van GNU `chcon`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.nl/osx/gchgrp.md b/pages.nl/osx/gchgrp.md new file mode 100644 index 00000000000000..aa0d2427c185a1 --- /dev/null +++ b/pages.nl/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Dit commando is een alias van GNU `chgrp`. + +- Bekijk de documentatie van het originele commando: + +`tldr chgrp` diff --git a/pages.nl/osx/gchmod.md b/pages.nl/osx/gchmod.md new file mode 100644 index 00000000000000..ce2e202bb16dcf --- /dev/null +++ b/pages.nl/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Dit commando is een alias van GNU `chmod`. + +- Bekijk de documentatie van het originele commando: + +`tldr chmod` diff --git a/pages.nl/osx/gchown.md b/pages.nl/osx/gchown.md new file mode 100644 index 00000000000000..96abeda9a0c67a --- /dev/null +++ b/pages.nl/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Dit commando is een alias van GNU `chown`. + +- Bekijk de documentatie van het originele commando: + +`tldr chown` diff --git a/pages.nl/osx/gchroot.md b/pages.nl/osx/gchroot.md new file mode 100644 index 00000000000000..10514526c8752c --- /dev/null +++ b/pages.nl/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Dit commando is een alias van GNU `chroot`. + +- Bekijk de documentatie van het originele commando: + +`tldr chroot` diff --git a/pages.nl/osx/gcksum.md b/pages.nl/osx/gcksum.md new file mode 100644 index 00000000000000..275da493710218 --- /dev/null +++ b/pages.nl/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Dit commando is een alias van GNU `cksum`. + +- Bekijk de documentatie van het originele commando: + +`tldr cksum` diff --git a/pages.nl/osx/gcomm.md b/pages.nl/osx/gcomm.md new file mode 100644 index 00000000000000..94b5d428be1b16 --- /dev/null +++ b/pages.nl/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Dit commando is een alias van GNU `comm`. + +- Bekijk de documentatie van het originele commando: + +`tldr comm` diff --git a/pages.nl/osx/gcp.md b/pages.nl/osx/gcp.md new file mode 100644 index 00000000000000..3eafc270247cfc --- /dev/null +++ b/pages.nl/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Dit commando is een alias van GNU `cp`. + +- Bekijk de documentatie van het originele commando: + +`tldr cp` diff --git a/pages.nl/osx/gcrane-completion.md b/pages.nl/osx/gcrane-completion.md new file mode 100644 index 00000000000000..446894548d3204 --- /dev/null +++ b/pages.nl/osx/gcrane-completion.md @@ -0,0 +1,37 @@ +# gcrane completion + +> Genereer het autocompletion script voor gcrane voor de opgegeven shell. +> De beschikbare shells zijn `bash`, `fish`, `powershell` en `zsh`. +> Meer informatie: . + +- Genereer het autocompletion script voor je shell: + +`gcrane completion {{shell_naam}}` + +- Zet de completion beschrijvingen uit: + +`gcrane completion {{shell_naam}} --no-descriptions` + +- Laad completions in je huidige shellsessie (bash/zsh): + +`source <(gcrane completion bash/zsh)` + +- Laad completions in je huidige shellsessie (fish): + +`gcrane completion fish | source` + +- Laad completions voor elke nieuwe sessie (bash): + +`gcrane completion bash > $(brew --prefix)/etc/bash_completion.d/gcrane` + +- Laad completions voor elke nieuwe sessie (zsh): + +`gcrane completion zsh > $(brew --prefix)/share/zsh/site-functions/_gcrane` + +- Laad completions voor elke nieuwe sessie (fish): + +`gcrane completion fish > ~/.config/fish/completions/gcrane.fish` + +- Toon de help: + +`gcrane completion {{shell_naam}} {{[-h|--help]}}` diff --git a/pages.nl/osx/gcsplit.md b/pages.nl/osx/gcsplit.md new file mode 100644 index 00000000000000..9c637239939fed --- /dev/null +++ b/pages.nl/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Dit commando is een alias van GNU `csplit`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.nl/osx/gcut.md b/pages.nl/osx/gcut.md new file mode 100644 index 00000000000000..ea71b20f04218b --- /dev/null +++ b/pages.nl/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Dit commando is een alias van GNU `cut`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.nl/osx/gdate.md b/pages.nl/osx/gdate.md new file mode 100644 index 00000000000000..1c16693183f8ca --- /dev/null +++ b/pages.nl/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Dit commando is een alias van GNU `date`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.nl/osx/gdd.md b/pages.nl/osx/gdd.md new file mode 100644 index 00000000000000..1cf1c2249963b2 --- /dev/null +++ b/pages.nl/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Dit commando is een alias van GNU `dd`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.nl/osx/gdf.md b/pages.nl/osx/gdf.md new file mode 100644 index 00000000000000..f12f40b8881108 --- /dev/null +++ b/pages.nl/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Dit commando is een alias van GNU `df`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.nl/osx/gdir.md b/pages.nl/osx/gdir.md new file mode 100644 index 00000000000000..8d07101dda59b0 --- /dev/null +++ b/pages.nl/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Dit commando is een alias van GNU `dir`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.nl/osx/gdircolors.md b/pages.nl/osx/gdircolors.md new file mode 100644 index 00000000000000..cdd9cf62baa12b --- /dev/null +++ b/pages.nl/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Dit commando is een alias van GNU `dircolors`. + +- Bekijk de documentatie van het originele commando: + +`tldr dircolors` diff --git a/pages.nl/osx/gdirname.md b/pages.nl/osx/gdirname.md new file mode 100644 index 00000000000000..92ba74404765e3 --- /dev/null +++ b/pages.nl/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Dit commando is een alias van GNU `dirname`. + +- Bekijk de documentatie van het originele commando: + +`tldr dirname` diff --git a/pages.nl/osx/gdnsdomainname.md b/pages.nl/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..3ebb859e5c78a0 --- /dev/null +++ b/pages.nl/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Dit commando is een alias van GNU `dnsdomainname`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.nl/osx/gecho.md b/pages.nl/osx/gecho.md new file mode 100644 index 00000000000000..2077f4919d6ddc --- /dev/null +++ b/pages.nl/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Dit commando is een alias van GNU `echo`. + +- Bekijk de documentatie van het originele commando: + +`tldr echo` diff --git a/pages.nl/osx/ged.md b/pages.nl/osx/ged.md new file mode 100644 index 00000000000000..921d20553cdcc5 --- /dev/null +++ b/pages.nl/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Dit commando is een alias van GNU `ed`. + +- Bekijk de documentatie van het originele commando: + +`tldr ed` diff --git a/pages.nl/osx/gegrep.md b/pages.nl/osx/gegrep.md new file mode 100644 index 00000000000000..cc9c0843e9af8e --- /dev/null +++ b/pages.nl/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Dit commando is een alias van GNU `egrep`. + +- Bekijk de documentatie van het originele commando: + +`tldr egrep` diff --git a/pages.nl/osx/genv.md b/pages.nl/osx/genv.md new file mode 100644 index 00000000000000..50435a93fd4ef1 --- /dev/null +++ b/pages.nl/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Dit commando is een alias van GNU `env`. + +- Bekijk de documentatie van het originele commando: + +`tldr env` diff --git a/pages.nl/osx/gexpand.md b/pages.nl/osx/gexpand.md new file mode 100644 index 00000000000000..d047b8152c4b62 --- /dev/null +++ b/pages.nl/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Dit commando is een alias van GNU `expand`. + +- Bekijk de documentatie van het originele commando: + +`tldr expand` diff --git a/pages.nl/osx/gexpr.md b/pages.nl/osx/gexpr.md new file mode 100644 index 00000000000000..3128f96b2f9f44 --- /dev/null +++ b/pages.nl/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Dit commando is een alias van GNU `expr`. + +- Bekijk de documentatie van het originele commando: + +`tldr expr` diff --git a/pages.nl/osx/gfactor.md b/pages.nl/osx/gfactor.md new file mode 100644 index 00000000000000..8e04e5041d628a --- /dev/null +++ b/pages.nl/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Dit commando is een alias van GNU `factor`. + +- Bekijk de documentatie van het originele commando: + +`tldr factor` diff --git a/pages.nl/osx/gfalse.md b/pages.nl/osx/gfalse.md new file mode 100644 index 00000000000000..57be19ada21b64 --- /dev/null +++ b/pages.nl/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Dit commando is een alias van GNU `false`. + +- Bekijk de documentatie van het originele commando: + +`tldr false` diff --git a/pages.nl/osx/gfgrep.md b/pages.nl/osx/gfgrep.md new file mode 100644 index 00000000000000..8eb5fc99ee02f0 --- /dev/null +++ b/pages.nl/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Dit commando is een alias van GNU `fgrep`. + +- Bekijk de documentatie van het originele commando: + +`tldr fgrep` diff --git a/pages.nl/osx/gfind.md b/pages.nl/osx/gfind.md new file mode 100644 index 00000000000000..1a0b3e81a5d650 --- /dev/null +++ b/pages.nl/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Dit commando is een alias van GNU `find`. + +- Bekijk de documentatie van het originele commando: + +`tldr find` diff --git a/pages.nl/osx/gfmt.md b/pages.nl/osx/gfmt.md new file mode 100644 index 00000000000000..4cf28ba32685d9 --- /dev/null +++ b/pages.nl/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Dit commando is een alias van GNU `fmt`. + +- Bekijk de documentatie van het originele commando: + +`tldr fmt` diff --git a/pages.nl/osx/gfold.md b/pages.nl/osx/gfold.md new file mode 100644 index 00000000000000..af693785504032 --- /dev/null +++ b/pages.nl/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Dit commando is een alias van GNU `fold`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.nl/osx/gftp.md b/pages.nl/osx/gftp.md new file mode 100644 index 00000000000000..fc8a4c3a636943 --- /dev/null +++ b/pages.nl/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Dit commando is een alias van GNU `ftp`. + +- Bekijk de documentatie van het originele commando: + +`tldr ftp` diff --git a/pages.nl/osx/ggrep.md b/pages.nl/osx/ggrep.md new file mode 100644 index 00000000000000..6ca0dcbfb0d365 --- /dev/null +++ b/pages.nl/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Dit commando is een alias van GNU `grep`. + +- Bekijk de documentatie van het originele commando: + +`tldr grep` diff --git a/pages.nl/osx/ggroups.md b/pages.nl/osx/ggroups.md new file mode 100644 index 00000000000000..ab8ba83aeef86f --- /dev/null +++ b/pages.nl/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Dit commando is een alias van GNU `groups`. + +- Bekijk de documentatie van het originele commando: + +`tldr groups` diff --git a/pages.nl/osx/ghead.md b/pages.nl/osx/ghead.md new file mode 100644 index 00000000000000..c2da4551f62ada --- /dev/null +++ b/pages.nl/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Dit commando is een alias van GNU `head`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.nl/osx/ghostid.md b/pages.nl/osx/ghostid.md new file mode 100644 index 00000000000000..cdfdeb886d52c3 --- /dev/null +++ b/pages.nl/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Dit commando is een alias van GNU `hostid`. + +- Bekijk de documentatie van het originele commando: + +`tldr hostid` diff --git a/pages.nl/osx/ghostname.md b/pages.nl/osx/ghostname.md new file mode 100644 index 00000000000000..9a9baf39b932d5 --- /dev/null +++ b/pages.nl/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Dit commando is een alias van GNU `hostname`. + +- Bekijk de documentatie van het originele commando: + +`tldr hostname` diff --git a/pages.nl/osx/gid.md b/pages.nl/osx/gid.md new file mode 100644 index 00000000000000..ede4ab93708372 --- /dev/null +++ b/pages.nl/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Dit commando is een alias van GNU `id`. + +- Bekijk de documentatie van het originele commando: + +`tldr id` diff --git a/pages.nl/osx/gifconfig.md b/pages.nl/osx/gifconfig.md new file mode 100644 index 00000000000000..217e5bda804080 --- /dev/null +++ b/pages.nl/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Dit commando is een alias van GNU `ifconfig`. + +- Bekijk de documentatie van het originele commando: + +`tldr ifconfig` diff --git a/pages.nl/osx/gindent.md b/pages.nl/osx/gindent.md new file mode 100644 index 00000000000000..099fd8d7fdff1d --- /dev/null +++ b/pages.nl/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Dit commando is een alias van GNU `indent`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.nl/osx/ginstall.md b/pages.nl/osx/ginstall.md new file mode 100644 index 00000000000000..c51d0e8e7f76d9 --- /dev/null +++ b/pages.nl/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Dit commando is een alias van GNU `install`. + +- Bekijk de documentatie van het originele commando: + +`tldr install` diff --git a/pages.nl/osx/gjoin.md b/pages.nl/osx/gjoin.md new file mode 100644 index 00000000000000..c9bd80143932f9 --- /dev/null +++ b/pages.nl/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Dit commando is een alias van GNU `join`. + +- Bekijk de documentatie van het originele commando: + +`tldr join` diff --git a/pages.nl/osx/gkill.md b/pages.nl/osx/gkill.md new file mode 100644 index 00000000000000..8cba12e5d6846b --- /dev/null +++ b/pages.nl/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Dit commando is een alias van GNU `kill`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.nl/osx/glibtool.md b/pages.nl/osx/glibtool.md new file mode 100644 index 00000000000000..1e40ba42f256ba --- /dev/null +++ b/pages.nl/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Dit commando is een alias van GNU `libtool`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.nl/osx/glibtoolize.md b/pages.nl/osx/glibtoolize.md new file mode 100644 index 00000000000000..018d7329475ccb --- /dev/null +++ b/pages.nl/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Dit commando is een alias van GNU `libtoolize`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.nl/osx/glink.md b/pages.nl/osx/glink.md new file mode 100644 index 00000000000000..35d0cc9837a555 --- /dev/null +++ b/pages.nl/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Dit commando is een alias van GNU `link`. + +- Bekijk de documentatie van het originele commando: + +`tldr link` diff --git a/pages.nl/osx/gln.md b/pages.nl/osx/gln.md new file mode 100644 index 00000000000000..ac510059fba245 --- /dev/null +++ b/pages.nl/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Dit commando is een alias van GNU `ln`. + +- Bekijk de documentatie van het originele commando: + +`tldr ln` diff --git a/pages.nl/osx/glocate.md b/pages.nl/osx/glocate.md new file mode 100644 index 00000000000000..f224eb8c54ed35 --- /dev/null +++ b/pages.nl/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Dit commando is een alias van GNU `locate`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.nl/osx/glogger.md b/pages.nl/osx/glogger.md new file mode 100644 index 00000000000000..e7bcdc54f528cc --- /dev/null +++ b/pages.nl/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Dit commando is een alias van GNU `logger`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.nl/osx/glogname.md b/pages.nl/osx/glogname.md new file mode 100644 index 00000000000000..5a772250b81391 --- /dev/null +++ b/pages.nl/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Dit commando is een alias van GNU `logname`. + +- Bekijk de documentatie van het originele commando: + +`tldr logname` diff --git a/pages.nl/osx/gls.md b/pages.nl/osx/gls.md new file mode 100644 index 00000000000000..68471a322e090d --- /dev/null +++ b/pages.nl/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Dit commando is een alias van GNU `ls`. + +- Bekijk de documentatie van het originele commando: + +`tldr ls` diff --git a/pages.nl/osx/gmake.md b/pages.nl/osx/gmake.md new file mode 100644 index 00000000000000..c341d1cab47d56 --- /dev/null +++ b/pages.nl/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Dit commando is een alias van GNU `make`. + +- Bekijk de documentatie van het originele commando: + +`tldr make` diff --git a/pages.nl/osx/gmd5sum.md b/pages.nl/osx/gmd5sum.md new file mode 100644 index 00000000000000..31fbfcb03f76f2 --- /dev/null +++ b/pages.nl/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Dit commando is een alias van GNU `md5sum`. + +- Bekijk de documentatie van het originele commando: + +`tldr md5sum` diff --git a/pages.nl/osx/gmkdir.md b/pages.nl/osx/gmkdir.md new file mode 100644 index 00000000000000..d0a08ca0f29731 --- /dev/null +++ b/pages.nl/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Dit commando is een alias van GNU `mkdir`. + +- Bekijk de documentatie van het originele commando: + +`tldr mkdir` diff --git a/pages.nl/osx/gmkfifo.md b/pages.nl/osx/gmkfifo.md new file mode 100644 index 00000000000000..2d3565b48bf998 --- /dev/null +++ b/pages.nl/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Dit commando is een alias van GNU `mkfifo`. + +- Bekijk de documentatie van het originele commando: + +`tldr mkfifo` diff --git a/pages.nl/osx/gmknod.md b/pages.nl/osx/gmknod.md new file mode 100644 index 00000000000000..8968461a4c7d5d --- /dev/null +++ b/pages.nl/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Dit commando is een alias van GNU `mknod`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.nl/osx/gmktemp.md b/pages.nl/osx/gmktemp.md new file mode 100644 index 00000000000000..a6c45fd471fe57 --- /dev/null +++ b/pages.nl/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Dit commando is een alias van GNU `mktemp`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.nl/osx/gmv.md b/pages.nl/osx/gmv.md new file mode 100644 index 00000000000000..14a5a8490d3806 --- /dev/null +++ b/pages.nl/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Dit commando is een alias van GNU `mv`. + +- Bekijk de documentatie van het originele commando: + +`tldr mv` diff --git a/pages.nl/osx/gnice.md b/pages.nl/osx/gnice.md new file mode 100644 index 00000000000000..edfecbc6b67d92 --- /dev/null +++ b/pages.nl/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Dit commando is een alias van GNU `nice`. + +- Bekijk de documentatie van het originele commando: + +`tldr nice` diff --git a/pages.nl/osx/gnl.md b/pages.nl/osx/gnl.md new file mode 100644 index 00000000000000..9fec04f241de42 --- /dev/null +++ b/pages.nl/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Dit commando is een alias van GNU `nl`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.nl/osx/gnohup.md b/pages.nl/osx/gnohup.md new file mode 100644 index 00000000000000..4f5080042bd3ed --- /dev/null +++ b/pages.nl/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Dit commando is een alias van GNU `nohup`. + +- Bekijk de documentatie van het originele commando: + +`tldr nohup` diff --git a/pages.nl/osx/gnproc.md b/pages.nl/osx/gnproc.md new file mode 100644 index 00000000000000..b265bbbb41e421 --- /dev/null +++ b/pages.nl/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Dit commando is een alias van GNU `nproc`. + +- Bekijk de documentatie van het originele commando: + +`tldr nproc` diff --git a/pages.nl/osx/gnumfmt.md b/pages.nl/osx/gnumfmt.md new file mode 100644 index 00000000000000..c174598987fcda --- /dev/null +++ b/pages.nl/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Dit commando is een alias van GNU `numfmt`. + +- Bekijk de documentatie van het originele commando: + +`tldr numfmt` diff --git a/pages.nl/osx/god.md b/pages.nl/osx/god.md new file mode 100644 index 00000000000000..42b598926b31ab --- /dev/null +++ b/pages.nl/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Dit commando is een alias van GNU `od`. + +- Bekijk de documentatie van het originele commando: + +`tldr od` diff --git a/pages.nl/osx/gpaste.md b/pages.nl/osx/gpaste.md new file mode 100644 index 00000000000000..36738fc0061f25 --- /dev/null +++ b/pages.nl/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Dit commando is een alias van GNU `paste`. + +- Bekijk de documentatie van het originele commando: + +`tldr paste` diff --git a/pages.nl/osx/gpathchk.md b/pages.nl/osx/gpathchk.md new file mode 100644 index 00000000000000..8523350d51f6b4 --- /dev/null +++ b/pages.nl/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Dit commando is een alias van GNU `pathchk`. + +- Bekijk de documentatie van het originele commando: + +`tldr pathchk` diff --git a/pages.nl/osx/gping.md b/pages.nl/osx/gping.md new file mode 100644 index 00000000000000..a1ee529f1ef483 --- /dev/null +++ b/pages.nl/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Dit commando is een alias van GNU `ping`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.nl/osx/gping6.md b/pages.nl/osx/gping6.md new file mode 100644 index 00000000000000..e683ff9697d36a --- /dev/null +++ b/pages.nl/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Dit commando is een alias van GNU `ping6`. + +- Bekijk de documentatie van het originele commando: + +`tldr ping6` diff --git a/pages.nl/osx/gpinky.md b/pages.nl/osx/gpinky.md new file mode 100644 index 00000000000000..8f9de04d609241 --- /dev/null +++ b/pages.nl/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Dit commando is een alias van GNU `pinky`. + +- Bekijk de documentatie van het originele commando: + +`tldr pinky` diff --git a/pages.nl/osx/gpr.md b/pages.nl/osx/gpr.md new file mode 100644 index 00000000000000..e0787003ec4382 --- /dev/null +++ b/pages.nl/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Dit commando is een alias van GNU `pr`. + +- Bekijk de documentatie van het originele commando: + +`tldr pr` diff --git a/pages.nl/osx/gprintenv.md b/pages.nl/osx/gprintenv.md new file mode 100644 index 00000000000000..dc6c355b5eb2e3 --- /dev/null +++ b/pages.nl/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Dit commando is een alias van GNU `printenv`. + +- Bekijk de documentatie van het originele commando: + +`tldr printenv` diff --git a/pages.nl/osx/gprintf.md b/pages.nl/osx/gprintf.md new file mode 100644 index 00000000000000..74cd72da6da82b --- /dev/null +++ b/pages.nl/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Dit commando is een alias van GNU `printf`. + +- Bekijk de documentatie van het originele commando: + +`tldr printf` diff --git a/pages.nl/osx/gptx.md b/pages.nl/osx/gptx.md new file mode 100644 index 00000000000000..d8804a256e9684 --- /dev/null +++ b/pages.nl/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Dit commando is een alias van GNU `ptx`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.nl/osx/gpwd.md b/pages.nl/osx/gpwd.md new file mode 100644 index 00000000000000..845a7b3c5a040e --- /dev/null +++ b/pages.nl/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Dit commando is een alias van GNU `pwd`. + +- Bekijk de documentatie van het originele commando: + +`tldr pwd` diff --git a/pages.nl/osx/grcp.md b/pages.nl/osx/grcp.md new file mode 100644 index 00000000000000..195764492d5b60 --- /dev/null +++ b/pages.nl/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Dit commando is een alias van GNU `rcp`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.nl/osx/greadlink.md b/pages.nl/osx/greadlink.md new file mode 100644 index 00000000000000..3388721428001e --- /dev/null +++ b/pages.nl/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Dit commando is een alias van GNU `readlink`. + +- Bekijk de documentatie van het originele commando: + +`tldr readlink` diff --git a/pages.nl/osx/grealpath.md b/pages.nl/osx/grealpath.md new file mode 100644 index 00000000000000..eb786e95393402 --- /dev/null +++ b/pages.nl/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Dit commando is een alias van GNU `realpath`. + +- Bekijk de documentatie van het originele commando: + +`tldr realpath` diff --git a/pages.nl/osx/grexec.md b/pages.nl/osx/grexec.md new file mode 100644 index 00000000000000..21396252e45f0c --- /dev/null +++ b/pages.nl/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Dit commando is een alias van GNU `rexec`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.nl/osx/grlogin.md b/pages.nl/osx/grlogin.md new file mode 100644 index 00000000000000..77bc15ff187acb --- /dev/null +++ b/pages.nl/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Dit commando is een alias van GNU `rlogin`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.nl/osx/grm.md b/pages.nl/osx/grm.md new file mode 100644 index 00000000000000..a0575a65fbe966 --- /dev/null +++ b/pages.nl/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Dit commando is een alias van GNU `rm`. + +- Bekijk de documentatie van het originele commando: + +`tldr rm` diff --git a/pages.nl/osx/grmdir.md b/pages.nl/osx/grmdir.md new file mode 100644 index 00000000000000..2a6fc464914f89 --- /dev/null +++ b/pages.nl/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Dit commando is een alias van GNU `rmdir`. + +- Bekijk de documentatie van het originele commando: + +`tldr rmdir` diff --git a/pages.nl/osx/grsh.md b/pages.nl/osx/grsh.md new file mode 100644 index 00000000000000..93263b94cd6fb5 --- /dev/null +++ b/pages.nl/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Dit commando is een alias van GNU `rsh`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.nl/osx/gruncon.md b/pages.nl/osx/gruncon.md new file mode 100644 index 00000000000000..e5626c0f5465e5 --- /dev/null +++ b/pages.nl/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Dit commando is een alias van GNU `runcon`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.nl/osx/gsed.md b/pages.nl/osx/gsed.md new file mode 100644 index 00000000000000..d9fbef8dee4978 --- /dev/null +++ b/pages.nl/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Dit commando is een alias van GNU `sed`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.nl/osx/gseq.md b/pages.nl/osx/gseq.md new file mode 100644 index 00000000000000..429769b1c96933 --- /dev/null +++ b/pages.nl/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Dit commando is een alias van GNU `seq`. + +- Bekijk de documentatie van het originele commando: + +`tldr seq` diff --git a/pages.nl/osx/gsha1sum.md b/pages.nl/osx/gsha1sum.md new file mode 100644 index 00000000000000..df203f2bba8b29 --- /dev/null +++ b/pages.nl/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Dit commando is een alias van GNU `sha1sum`. + +- Bekijk de documentatie van het originele commando: + +`tldr sha1sum` diff --git a/pages.nl/osx/gsha224sum.md b/pages.nl/osx/gsha224sum.md new file mode 100644 index 00000000000000..0b421ffceae81c --- /dev/null +++ b/pages.nl/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Dit commando is een alias van GNU `sha224sum`. + +- Bekijk de documentatie van het originele commando: + +`tldr sha224sum` diff --git a/pages.nl/osx/gsha256sum.md b/pages.nl/osx/gsha256sum.md new file mode 100644 index 00000000000000..2e2a6d7343b04f --- /dev/null +++ b/pages.nl/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Dit commando is een alias van GNU `sha256sum`. + +- Bekijk de documentatie van het originele commando: + +`tldr sha256sum` diff --git a/pages.nl/osx/gsha384sum.md b/pages.nl/osx/gsha384sum.md new file mode 100644 index 00000000000000..edd03930932615 --- /dev/null +++ b/pages.nl/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Dit commando is een alias van GNU `sha384sum`. + +- Bekijk de documentatie van het originele commando: + +`tldr sha384sum` diff --git a/pages.nl/osx/gsha512sum.md b/pages.nl/osx/gsha512sum.md new file mode 100644 index 00000000000000..3441c866c6db1a --- /dev/null +++ b/pages.nl/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Dit commando is een alias van GNU `sha512sum`. + +- Bekijk de documentatie van het originele commando: + +`tldr sha512sum` diff --git a/pages.nl/osx/gshred.md b/pages.nl/osx/gshred.md new file mode 100644 index 00000000000000..67af0213398df7 --- /dev/null +++ b/pages.nl/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Dit commando is een alias van GNU `shred`. + +- Bekijk de documentatie van het originele commando: + +`tldr shred` diff --git a/pages.nl/osx/gshuf.md b/pages.nl/osx/gshuf.md new file mode 100644 index 00000000000000..4404d8f37922ce --- /dev/null +++ b/pages.nl/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Dit commando is een alias van GNU `shuf`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.nl/osx/gsleep.md b/pages.nl/osx/gsleep.md new file mode 100644 index 00000000000000..9746db4b112f9e --- /dev/null +++ b/pages.nl/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Dit commando is een alias van GNU `sleep`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.nl/osx/gsort.md b/pages.nl/osx/gsort.md new file mode 100644 index 00000000000000..e10640c8af56cb --- /dev/null +++ b/pages.nl/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Dit commando is een alias van GNU `sort`. + +- Bekijk de documentatie van het originele commando: + +`tldr sort` diff --git a/pages.nl/osx/gsplit.md b/pages.nl/osx/gsplit.md new file mode 100644 index 00000000000000..32f670fbc24e42 --- /dev/null +++ b/pages.nl/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Dit commando is een alias van GNU `split`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.nl/osx/gstat.md b/pages.nl/osx/gstat.md new file mode 100644 index 00000000000000..64e4b3f97ad3ba --- /dev/null +++ b/pages.nl/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Dit commando is een alias van GNU `stat`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.nl/osx/gstdbuf.md b/pages.nl/osx/gstdbuf.md new file mode 100644 index 00000000000000..5cadc5dea5b774 --- /dev/null +++ b/pages.nl/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Dit commando is een alias van GNU `stdbuf`. + +- Bekijk de documentatie van het originele commando: + +`tldr stdbuf` diff --git a/pages.nl/osx/gstty.md b/pages.nl/osx/gstty.md new file mode 100644 index 00000000000000..1c0809ca4fa225 --- /dev/null +++ b/pages.nl/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Dit commando is een alias van GNU `stty`. + +- Bekijk de documentatie van het originele commando: + +`tldr stty` diff --git a/pages.nl/osx/gsum.md b/pages.nl/osx/gsum.md new file mode 100644 index 00000000000000..32758be08f5fdb --- /dev/null +++ b/pages.nl/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Dit commando is een alias van GNU `sum`. + +- Bekijk de documentatie van het originele commando: + +`tldr sum` diff --git a/pages.nl/osx/gsync.md b/pages.nl/osx/gsync.md new file mode 100644 index 00000000000000..8336921fb7ad24 --- /dev/null +++ b/pages.nl/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Dit commando is een alias van GNU `sync`. + +- Bekijk de documentatie van het originele commando: + +`tldr sync` diff --git a/pages.nl/osx/gtac.md b/pages.nl/osx/gtac.md new file mode 100644 index 00000000000000..36edc9bca2d618 --- /dev/null +++ b/pages.nl/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Dit commando is een alias van GNU `tac`. + +- Bekijk de documentatie van het originele commando: + +`tldr tac` diff --git a/pages.nl/osx/gtail.md b/pages.nl/osx/gtail.md new file mode 100644 index 00000000000000..cb5f831752ec06 --- /dev/null +++ b/pages.nl/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Dit commando is een alias van GNU `tail`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.nl/osx/gtalk.md b/pages.nl/osx/gtalk.md new file mode 100644 index 00000000000000..90b360496f88bb --- /dev/null +++ b/pages.nl/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Dit commando is een alias van GNU `talk`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.nl/osx/gtar.md b/pages.nl/osx/gtar.md new file mode 100644 index 00000000000000..d80028241fd82c --- /dev/null +++ b/pages.nl/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Dit commando is een alias van GNU `tar`. + +- Bekijk de documentatie van het originele commando: + +`tldr tar` diff --git a/pages.nl/osx/gtee.md b/pages.nl/osx/gtee.md new file mode 100644 index 00000000000000..2df10ada59d474 --- /dev/null +++ b/pages.nl/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Dit commando is een alias van GNU `tee`. + +- Bekijk de documentatie van het originele commando: + +`tldr tee` diff --git a/pages.nl/osx/gtelnet.md b/pages.nl/osx/gtelnet.md new file mode 100644 index 00000000000000..0bdcea56e11500 --- /dev/null +++ b/pages.nl/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Dit commando is een alias van GNU `telnet`. + +- Bekijk de documentatie van het originele commando: + +`tldr telnet` diff --git a/pages.nl/osx/gtest.md b/pages.nl/osx/gtest.md new file mode 100644 index 00000000000000..ab66b172158dfb --- /dev/null +++ b/pages.nl/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Dit commando is een alias van GNU `test`. + +- Bekijk de documentatie van het originele commando: + +`tldr test` diff --git a/pages.nl/osx/gtftp.md b/pages.nl/osx/gtftp.md new file mode 100644 index 00000000000000..cd9f61e7f47de9 --- /dev/null +++ b/pages.nl/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Dit commando is een alias van GNU `tftp`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.nl/osx/gtime.md b/pages.nl/osx/gtime.md new file mode 100644 index 00000000000000..542ccc557a4e54 --- /dev/null +++ b/pages.nl/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Dit commando is een alias van GNU `time`. + +- Bekijk de documentatie van het originele commando: + +`tldr time` diff --git a/pages.nl/osx/gtimeout.md b/pages.nl/osx/gtimeout.md new file mode 100644 index 00000000000000..693ee2188f23b3 --- /dev/null +++ b/pages.nl/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Dit commando is een alias van GNU `timeout`. + +- Bekijk de documentatie van het originele commando: + +`tldr timeout` diff --git a/pages.nl/osx/gtouch.md b/pages.nl/osx/gtouch.md new file mode 100644 index 00000000000000..91695b72130dda --- /dev/null +++ b/pages.nl/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Dit commando is een alias van GNU `touch`. + +- Bekijk de documentatie van het originele commando: + +`tldr touch` diff --git a/pages.nl/osx/gtr.md b/pages.nl/osx/gtr.md new file mode 100644 index 00000000000000..705ace2cefd42c --- /dev/null +++ b/pages.nl/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Dit commando is een alias van GNU `tr`. + +- Bekijk de documentatie van het originele commando: + +`tldr tr` diff --git a/pages.nl/osx/gtraceroute.md b/pages.nl/osx/gtraceroute.md new file mode 100644 index 00000000000000..92ec5379e1af96 --- /dev/null +++ b/pages.nl/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Dit commando is een alias van GNU `traceroute`. + +- Bekijk de documentatie van het originele commando: + +`tldr traceroute` diff --git a/pages.nl/osx/gtrue.md b/pages.nl/osx/gtrue.md new file mode 100644 index 00000000000000..e3c6cc9c5d0ce6 --- /dev/null +++ b/pages.nl/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Dit commando is een alias van GNU `true`. + +- Bekijk de documentatie van het originele commando: + +`tldr true` diff --git a/pages.nl/osx/gtruncate.md b/pages.nl/osx/gtruncate.md new file mode 100644 index 00000000000000..6d9d041e702559 --- /dev/null +++ b/pages.nl/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Dit commando is een alias van GNU `truncate`. + +- Bekijk de documentatie van het originele commando: + +`tldr truncate` diff --git a/pages.nl/osx/gtsort.md b/pages.nl/osx/gtsort.md new file mode 100644 index 00000000000000..43c544fd7a090f --- /dev/null +++ b/pages.nl/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Dit commando is een alias van GNU `tsort`. + +- Bekijk de documentatie van het originele commando: + +`tldr tsort` diff --git a/pages.nl/osx/gtty.md b/pages.nl/osx/gtty.md new file mode 100644 index 00000000000000..7f13021d677245 --- /dev/null +++ b/pages.nl/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Dit commando is een alias van GNU `tty`. + +- Bekijk de documentatie van het originele commando: + +`tldr tty` diff --git a/pages.nl/osx/guname.md b/pages.nl/osx/guname.md new file mode 100644 index 00000000000000..921ff34ed2bee4 --- /dev/null +++ b/pages.nl/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Dit commando is een alias van GNU `uname`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.nl/osx/gunexpand.md b/pages.nl/osx/gunexpand.md new file mode 100644 index 00000000000000..b51bf67137a135 --- /dev/null +++ b/pages.nl/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Dit commando is een alias van GNU `unexpand`. + +- Bekijk de documentatie van het originele commando: + +`tldr unexpand` diff --git a/pages.nl/osx/guniq.md b/pages.nl/osx/guniq.md new file mode 100644 index 00000000000000..cd0c993414cb42 --- /dev/null +++ b/pages.nl/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Dit commando is een alias van GNU `uniq`. + +- Bekijk de documentatie van het originele commando: + +`tldr uniq` diff --git a/pages.nl/osx/gunits.md b/pages.nl/osx/gunits.md new file mode 100644 index 00000000000000..4edbb455d46c8a --- /dev/null +++ b/pages.nl/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Dit commando is een alias van GNU `units`. + +- Bekijk de documentatie van het originele commando: + +`tldr units` diff --git a/pages.nl/osx/gunlink.md b/pages.nl/osx/gunlink.md new file mode 100644 index 00000000000000..14fa4ed8121962 --- /dev/null +++ b/pages.nl/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Dit commando is een alias van GNU `unlink`. + +- Bekijk de documentatie van het originele commando: + +`tldr unlink` diff --git a/pages.nl/osx/gupdatedb.md b/pages.nl/osx/gupdatedb.md new file mode 100644 index 00000000000000..ff5ac58ff4556e --- /dev/null +++ b/pages.nl/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Dit commando is een alias van GNU `updatedb`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.nl/osx/guptime.md b/pages.nl/osx/guptime.md new file mode 100644 index 00000000000000..a5f3ae3f852a7e --- /dev/null +++ b/pages.nl/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Dit commando is een alias van GNU `uptime`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.nl/osx/gusers.md b/pages.nl/osx/gusers.md new file mode 100644 index 00000000000000..14cb93b35baf37 --- /dev/null +++ b/pages.nl/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Dit commando is een alias van GNU `users`. + +- Bekijk de documentatie van het originele commando: + +`tldr users` diff --git a/pages.nl/osx/gvdir.md b/pages.nl/osx/gvdir.md new file mode 100644 index 00000000000000..94d990749c405e --- /dev/null +++ b/pages.nl/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Dit commando is een alias van GNU `vdir`. + +- Bekijk de documentatie van het originele commando: + +`tldr vdir` diff --git a/pages.nl/osx/gwc.md b/pages.nl/osx/gwc.md new file mode 100644 index 00000000000000..481d2c2e5c2713 --- /dev/null +++ b/pages.nl/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Dit commando is een alias van GNU `wc`. + +- Bekijk de documentatie van het originele commando: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.nl/osx/gwhich.md b/pages.nl/osx/gwhich.md new file mode 100644 index 00000000000000..88b64cc143b3d9 --- /dev/null +++ b/pages.nl/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Dit commando is een alias van GNU `which`. + +- Bekijk de documentatie van het originele commando: + +`tldr which` diff --git a/pages.nl/osx/gwho.md b/pages.nl/osx/gwho.md new file mode 100644 index 00000000000000..a41f0cba9e988c --- /dev/null +++ b/pages.nl/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Dit commando is een alias van GNU `who`. + +- Bekijk de documentatie van het originele commando: + +`tldr who` diff --git a/pages.nl/osx/gwhoami.md b/pages.nl/osx/gwhoami.md new file mode 100644 index 00000000000000..e4860a5a59a1bd --- /dev/null +++ b/pages.nl/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Dit commando is een alias van GNU `whoami`. + +- Bekijk de documentatie van het originele commando: + +`tldr whoami` diff --git a/pages.nl/osx/gwhois.md b/pages.nl/osx/gwhois.md new file mode 100644 index 00000000000000..a23a81614741be --- /dev/null +++ b/pages.nl/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Dit commando is een alias van GNU `whois`. + +- Bekijk de documentatie van het originele commando: + +`tldr whois` diff --git a/pages.nl/osx/gxargs.md b/pages.nl/osx/gxargs.md new file mode 100644 index 00000000000000..50874a5bb8ec05 --- /dev/null +++ b/pages.nl/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Dit commando is een alias van GNU `xargs`. + +- Bekijk de documentatie van het originele commando: + +`tldr xargs` diff --git a/pages.nl/osx/gyes.md b/pages.nl/osx/gyes.md new file mode 100644 index 00000000000000..b10a8c226d9747 --- /dev/null +++ b/pages.nl/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Dit commando is een alias van GNU `yes`. + +- Bekijk de documentatie van het originele commando: + +`tldr yes` diff --git a/pages.nl/osx/head.md b/pages.nl/osx/head.md new file mode 100644 index 00000000000000..db8ffe71b28770 --- /dev/null +++ b/pages.nl/osx/head.md @@ -0,0 +1,20 @@ +# head + +> Geef het eerste deel van bestanden weer. +> Meer informatie: . + +- Geef de eerste paar regels van een bestand weer: + +`head {{[-n|--lines]}} {{8}} {{pad/naar/bestand}}` + +- Geef de eerste paar bytes van een bestand weer: + +`head {{[-c|--bytes]}} {{8}} {{pad/naar/bestand}}` + +- Geef alles behalve de laatste paar regels van een bestand weer: + +`head {{[-n|--lines]}} -{{8}} {{pad/naar/bestand}}` + +- Geef alles behalve de laatste paar bytes van een bestand weer: + +`head {{[-c|--bytes]}} -{{8}} {{pad/naar/bestand}}` diff --git a/pages.nl/osx/indent.md b/pages.nl/osx/indent.md new file mode 100644 index 00000000000000..b59ff16f103346 --- /dev/null +++ b/pages.nl/osx/indent.md @@ -0,0 +1,12 @@ +# indent + +> Wijzig het uiterlijk van een C/C++-programma door spaties in te voegen of te verwijderen. +> Meer informatie: . + +- Formatteer C/C++-broncode volgens de Berkeley-stijl: + +`indent {{pad/naar/bronbestand.c}} {{pad/naar/ingesprongen_bestand.c}} -nbad -nbap -bc -br -c33 -cd33 -cdb -ce -ci4 -cli0 -di16 -fc1 -fcb -i4 -ip -l75 -lp -npcs -nprs -psl -sc -nsob -ts8` + +- Formatteer C/C++-broncode volgens de stijl van Kernighan & Ritchie (K&R): + +`indent {{pad/naar/bronbestand.c}} {{pad/naar/ingesprongen_bestand.c}} -nbad -bap -nbc -br -c33 -cd33 -ncdb -ce -ci4 -cli0 -cs -d0 -di1 -nfc1 -nfcb -i4 -nip -l75 -lp -npcs -nprs -npsl -nsc -nsob` diff --git a/pages.nl/osx/iostat.md b/pages.nl/osx/iostat.md new file mode 100644 index 00000000000000..924b95be49664f --- /dev/null +++ b/pages.nl/osx/iostat.md @@ -0,0 +1,32 @@ +# iostat + +> Geeft statistieken weer voor apparaten. +> Meer informatie: . + +- Toon snapshot-apparaatstatistieken (KB/t, transfers per seconde, MB per seconde), CPU-statistieken (percentages van de tijd besteed in gebruikersmodus, systeemmodus en inactieve modus), en systeembelastinggemiddelden (voor de afgelopen 1, 5 en 15 minuten): + +`iostat` + +- Toon alleen apparaatstatistieken: + +`iostat -d` + +- Toon incrementele rapporten van CPU- en schijfstatistieken elke 2 seconden: + +`iostat 2` + +- Toon statistieken voor de eerste schijf elke seconde, oneindig: + +`iostat -w 1 disk0` + +- Toon statistieken voor de tweede schijf elke 3 seconden, 10 keer: + +`iostat -w 3 -c 10 disk1` + +- Toon met de oude `iostat` weergave. Laat sectoren per seconde zien, overdrachten per seconde, gemiddelde milliseconden per transactie, en CPU-statistieken + belastinggemiddelden uit de standaardweergave: + +`iostat -o` + +- Toon totale apparaatstatistieken (KB/t: kilobytes per overdracht zoals voorheen, xfrs: totaal aantal overdrachten, MB: totaal aantal overgedragen megabytes): + +`iostat -I` diff --git a/pages.nl/osx/ipconfig.md b/pages.nl/osx/ipconfig.md new file mode 100644 index 00000000000000..932405d66c280f --- /dev/null +++ b/pages.nl/osx/ipconfig.md @@ -0,0 +1,12 @@ +# ipconfig + +> Bekijk en beheer de IP-configuratiestatus. +> Meer informatie: . + +- Toon alle netwerkinterfaces: + +`ipconfig getiflist` + +- Toon het IP-adres van een interface: + +`ipconfig getifaddr {{interfacenaam}}` diff --git a/pages.nl/osx/launchctl.md b/pages.nl/osx/launchctl.md new file mode 100644 index 00000000000000..49e1eab2b28e0e --- /dev/null +++ b/pages.nl/osx/launchctl.md @@ -0,0 +1,33 @@ +# launchctl + +> Beheer Apple's `launchd` manager voor launch daemons (systeembrede diensten) en launch agents (programma's per gebruiker). +> `launchd` laadt op XML gebaseerde `*.plist`-bestanden die op de juiste locaties zijn geplaatst, en voert de corresponderende commando's uit volgens hun gedefinieerde schema. +> Meer informatie: . + +- Activeer een gebruikersspecifieke agent die in `launchd` moet worden geladen wanneer de gebruiker inlogt: + +`launchctl load ~/Library/LaunchAgents/{{my_script}}.plist` + +- Activeer een agent die root-rechten vereist om te kunnen werken en/of moet worden geladen wanneer een gebruiker inlogt (let op de afwezigheid van `~` in het pad): + +`sudo launchctl load /Library/LaunchAgents/{{root_script}}.plist` + +- Activeer een systeembrede daemon die moet worden geladen wanneer het systeem opstart (zelfs als er geen gebruiker inlogt): + +`sudo launchctl load /Library/LaunchDaemons/{{system_daemon}}.plist` + +- Toon alle geladen agenten/daemons, met de PID als het proces dat ze specificeren momenteel actief is, en de afsluitcode de laatste keer dat ze werden uitgevoerd terugstuurde: + +`launchctl list` + +- Een momenteel geladen agent ontladen, b.v. om wijzigingen aan te brengen (Let op: het plist-bestand wordt automatisch in `launchd` geladen na een herstart en/of inloggen): + +`launchctl unload ~/Library/LaunchAgents/{{my_script}}.plist` + +- Voer handmatig een bekende (geladen) agent/daemon uit, zelfs als dit niet het juiste moment is (Let op: deze opdracht gebruikt het label van de agent, in plaats van de bestandsnaam): + +`launchctl start {{script_bestand}}` + +- Beëindig handmatig het proces dat is gekoppeld aan een bekende agent/daemon, als deze actief is: + +`launchctl stop {{script_bestand}}` diff --git a/pages.nl/osx/launchd.md b/pages.nl/osx/launchd.md new file mode 100644 index 00000000000000..485ea3ad5ed387 --- /dev/null +++ b/pages.nl/osx/launchd.md @@ -0,0 +1,13 @@ +# launchd + +> Dit beheert processen, zowel voor het systeem als voor de gebruiker. +> `launchd` kan niet manueel gestart worden, gebruik `launchctl` om ermee te interacteren. +> Meer informatie: . + +- Draai initialisatie: + +`/sbin/launchd` + +- Bekijk de documentatie van het originele commando: + +`tldr launchctl` diff --git a/pages.nl/osx/lipo.md b/pages.nl/osx/lipo.md new file mode 100644 index 00000000000000..c6dd6b77a1a6df --- /dev/null +++ b/pages.nl/osx/lipo.md @@ -0,0 +1,20 @@ +# lipo + +> Tool voor het verwerken van Mach-O Universal Binaries. +> Meer informatie: . + +- Maak een universeel bestand uit twee bestanden met één architectuur: + +`lipo {{pad/naar/binary_bestand.x86_64}} {{pad/naar/binary_bestand.arm64e}} -create -output {{pad/naar/binary_bestand}}` + +- Toon alle architecturen die een universeel bestand bevat: + +`lipo {{pad/naar/binary_bestand}} -archs` + +- Toon gedetailleerde informatie over een universeel bestand: + +`lipo {{pad/naar/binary_bestand}} -detailed_info` + +- Pak een bestand met één architectuur uit uit een universeel bestand: + +`lipo {{pad/naar/binary_bestand}} -thin {{arm64e}} -output {{pad/naar/binary_bestand.arm64e}}` diff --git a/pages.nl/osx/lldb.md b/pages.nl/osx/lldb.md new file mode 100644 index 00000000000000..8d5324e9a24599 --- /dev/null +++ b/pages.nl/osx/lldb.md @@ -0,0 +1,16 @@ +# lldb + +> De LLVM Low-Level Debugger. +> Meer informatie: . + +- Debug een uitvoerbaar bestand: + +`lldb "{{uitvoerbaar_bestand}}"` + +- Koppel `lldb` aan een draaiend proces met een gegeven PID: + +`lldb -p {{pid}}` + +- Wacht op de start van een nieuw proces met een gegeven naam en koppel eraan: + +`lldb -w -n "{{proces_naam}}"` diff --git a/pages.nl/osx/llvm-lipo.md b/pages.nl/osx/llvm-lipo.md new file mode 100644 index 00000000000000..50a3f5f5ce9377 --- /dev/null +++ b/pages.nl/osx/llvm-lipo.md @@ -0,0 +1,7 @@ +# llvm-lipo + +> Dit commando is een alias van `lipo`. + +- Bekijk de documentatie van het originele commando: + +`tldr lipo` diff --git a/pages.nl/osx/locate.md b/pages.nl/osx/locate.md new file mode 100644 index 00000000000000..9905ca14bd9540 --- /dev/null +++ b/pages.nl/osx/locate.md @@ -0,0 +1,16 @@ +# locate + +> Vind snel bestandsnamen. +> Meer informatie: . + +- Zoek naar een patroon in de database. Opmerking: de database wordt periodiek herberekend (meestal wekelijks of dagelijks): + +`locate "{{patroon}}"` + +- Zoek naar een bestand op basis van de exacte bestandsnaam (een patroon zonder glob-tekens wordt geïnterpreteerd als `*patroon*`): + +`locate */{{bestandsnaam}}` + +- Herbereken de database. Dit moet je doen als je recent toegevoegde bestanden wilt vinden: + +`sudo /usr/libexec/locate.updatedb` diff --git a/pages.nl/osx/look.md b/pages.nl/osx/look.md new file mode 100644 index 00000000000000..2fe27057839f5d --- /dev/null +++ b/pages.nl/osx/look.md @@ -0,0 +1,21 @@ +# look + +> Toon regels die beginnen met een prefix in een gesorteerd bestand. +> Zie ook: `grep`, `sort`. +> Meer informatie: . + +- Zoek naar regels die beginnen met een specifieke prefix in een specifiek bestand: + +`look {{prefix}} {{pad/naar/bestand}}` + +- Zoek hoofdletterongevoelig alleen op alfanumerieke tekens: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{pad/naar/bestand}}` + +- Specificeer een string-terminatiekarakter (standaard is spatie): + +`look {{[-t|--terminate]}} {{,}}` + +- Zoek in `/usr/share/dict/words` (`--ignore-case` en `--alphanum` worden aangenomen): + +`look {{prefix}}` diff --git a/pages.nl/osx/lpstat.md b/pages.nl/osx/lpstat.md new file mode 100644 index 00000000000000..785c41ec322f99 --- /dev/null +++ b/pages.nl/osx/lpstat.md @@ -0,0 +1,24 @@ +# lpstat + +> Toon statusinformatie over de huidige klassen, printopdrachten en printers. +> Meer informatie: . + +- Toon een lange lijst van printers, klassen en printopdrachten: + +`lpstat -l` + +- Forceer encryptie bij verbinding met de CUPS-server: + +`lpstat -E` + +- Toon de ranglijst van printopdrachten: + +`lpstat -R` + +- Toon of de CUPS-server wel of niet draait: + +`lpstat -r` + +- Toon alle statusinformatie: + +`lpstat -t` diff --git a/pages.nl/osx/mktemp.md b/pages.nl/osx/mktemp.md new file mode 100644 index 00000000000000..3c465037c09227 --- /dev/null +++ b/pages.nl/osx/mktemp.md @@ -0,0 +1,24 @@ +# mktemp + +> Maak een tijdelijk bestand of een tijdelijke map aan. +> Meer informatie: . + +- Maak een leeg tijdelijk bestand en toon het absolute pad: + +`mktemp` + +- Gebruik een aangepaste map (standaard is de uitvoer van `getconf DARWIN_USER_TEMP_DIR`, of `/tmp`): + +`mktemp --tmpdir /{{pad/naar/tempdir}}` + +- Gebruik een aangepast pad-sjabloon (`X`en worden vervangen door willekeurige alfanumerieke tekens): + +`mktemp {{/tmp/voorbeeld.XXXXXXXX}}` + +- Gebruik een aangepaste bestandsnaam-prefix: + +`mktemp -t {{voorbeeld}}` + +- Maak een lege tijdelijke map aan en toon het absolute pad: + +`mktemp --directory` diff --git a/pages.nl/osx/netstat.md b/pages.nl/osx/netstat.md new file mode 100644 index 00000000000000..0b31a25a9cd606 --- /dev/null +++ b/pages.nl/osx/netstat.md @@ -0,0 +1,17 @@ +# netstat + +> Toon netwerkgerelateerde informatie zoals open verbindingen, open socketpoorten, enz. +> Zie ook: `lsof` voor het weergeven van netwerkverbindingen, inclusief luisterpoorten. +> Meer informatie: . + +- Toon de PID en programmanaam die luistert op een specifiek protocol: + +`netstat -p {{protocol}}` + +- Toon de routeringstabel en los IP-adressen niet op naar hostnamen: + +`netstat -nr` + +- Toon de routeringstabel van IPv4-adressen: + +`netstat -nr -f inet` diff --git a/pages.nl/osx/open.md b/pages.nl/osx/open.md new file mode 100644 index 00000000000000..73d52ce100e540 --- /dev/null +++ b/pages.nl/osx/open.md @@ -0,0 +1,32 @@ +# open + +> Open bestanden, mappen en applicaties. +> Meer informatie: . + +- Open een bestand met de bijbehorende applicatie: + +`open {{bestand.ext}}` + +- Start een grafische macOS-[a]pplicatie: + +`open -a "{{Applicatie}}"` + +- Start een grafische macOS-app op basis van de [b]undle-identificator (raadpleeg `osascript` voor een eenvoudige manier om deze te verkrijgen): + +`open -b {{com.domein.applicatie}}` + +- Open de huidige map in Finder: + +`open .` + +- Toon ([R]) een bestand in Finder: + +`open -R {{pad/naar/bestand}}` + +- Open alle bestanden met een bepaalde extensie in de huidige map met de bijbehorende applicatie: + +`open {{*.ext}}` + +- Open een [n]ieuw exemplaar van een applicatie gespecificeerd via de [b]undle-identificator: + +`open -n -b {{com.domein.applicatie}}` diff --git a/pages.nl/osx/ping.md b/pages.nl/osx/ping.md new file mode 100644 index 00000000000000..35749d88756bf7 --- /dev/null +++ b/pages.nl/osx/ping.md @@ -0,0 +1,28 @@ +# ping + +> Verstuur ICMP ECHO_REQUEST-pakketten naar netwerkhosts. +> Meer informatie: . + +- Ping een specifieke host: + +`ping "{{hostnaam}}"` + +- Ping een host een specifiek aantal keren: + +`ping -c {{aantal}} "{{host}}"` + +- Ping een host, met een specifiek interval in seconden tussen de verzoeken (standaard is 1 seconde): + +`ping -i {{seconden}} "{{host}}"` + +- Ping een host zonder te proberen symbolische namen voor adressen op te zoeken: + +`ping -n "{{host}}"` + +- Ping een host en laat een bel afgaan wanneer een pakket wordt ontvangen (als je terminal dit ondersteunt): + +`ping -a "{{host}}"` + +- Ping een host en toon de tijd wanneer een pakket is ontvangen (deze optie is een Apple-toevoeging): + +`ping --apple-time "{{host}}"` diff --git a/pages.nl/osx/port.md b/pages.nl/osx/port.md new file mode 100644 index 00000000000000..91754d533b812c --- /dev/null +++ b/pages.nl/osx/port.md @@ -0,0 +1,28 @@ +# port + +> Pakketbeheer voor macOS. +> Meer informatie: . + +- Zoek naar een pakket: + +`port search {{zoekterm}}` + +- Installeer een pakket: + +`sudo port install {{pakket}}` + +- Toon geïnstalleerde pakketten: + +`port installed` + +- Update port en haal de nieuwste lijst met beschikbare pakketten op: + +`sudo port selfupdate` + +- Upgrade verouderde pakketten: + +`sudo port upgrade outdated` + +- Verwijder oude versies van geïnstalleerde pakketten: + +`sudo port uninstall inactive` diff --git a/pages.nl/osx/ps.md b/pages.nl/osx/ps.md new file mode 100644 index 00000000000000..a70b6893688fd1 --- /dev/null +++ b/pages.nl/osx/ps.md @@ -0,0 +1,28 @@ +# ps + +> Informatie over actieve processen. +> Meer informatie: . + +- Toon alle actieve processen: + +`ps aux` + +- Toon alle actieve processen inclusief de volledige opdrachtregel: + +`ps auxww` + +- Zoek naar een proces dat overeenkomt met een string: + +`ps aux | grep {{string}}` + +- Verkrijg de parent PID van een proces: + +`ps -o ppid= -p {{pid}}` + +- Sorteer processen op geheugengebruik: + +`ps -m` + +- Sorteer processen op CPU-gebruik: + +`ps -r` diff --git a/pages.nl/osx/reboot.md b/pages.nl/osx/reboot.md new file mode 100644 index 00000000000000..e93a8e7ce3578f --- /dev/null +++ b/pages.nl/osx/reboot.md @@ -0,0 +1,12 @@ +# reboot + +> Herstart het systeem. +> Meer informatie: . + +- Herstart onmiddellijk: + +`sudo reboot` + +- Herstart onmiddellijk zonder netjes af te sluiten: + +`sudo reboot -q` diff --git a/pages.nl/osx/route.md b/pages.nl/osx/route.md new file mode 100644 index 00000000000000..3df8e96259274d --- /dev/null +++ b/pages.nl/osx/route.md @@ -0,0 +1,29 @@ +# route + +> Manipuleer handmatig de routetabellen. +> Vereist rootrechten. +> Meer informatie: . + +- Voeg een route toe naar een bestemming via een gateway: + +`sudo route add "{{bestemming_ip_adres}}" "{{gateway_adres}}"` + +- Voeg een route toe naar een /24 subnet via een gateway: + +`sudo route add "{{subnet_ip_adres}}/24" "{{gateway_adres}}"` + +- Voer uit in testmodus (doet niets, alleen afdrukken): + +`sudo route -t add "{{bestemming_ip_adres}}/24" "{{gateway_adres}}"` + +- Verwijder alle routes: + +`sudo route flush` + +- Verwijder een specifieke route: + +`sudo route delete "{{bestemming_ip_adres}}/24"` + +- Zoek en toon de route voor een bestemming (hostname of IP-adres): + +`sudo route get "{{bestemming}}"` diff --git a/pages.nl/osx/sed.md b/pages.nl/osx/sed.md new file mode 100644 index 00000000000000..dc38e00c89c863 --- /dev/null +++ b/pages.nl/osx/sed.md @@ -0,0 +1,25 @@ +# sed + +> Pas tekst aan in een op een scriptbare manier. +> Zie ook: `awk`, `ed`. +> Meer informatie: . + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed 's/apple/mango/g'` + +- Voer een specifiek script bestand uit en toon het resultaat in `stdout`: + +`{{commando}} | sed -f {{pad/naar/script_bestand.sed}}` + +- Vervang alle `apple` (uitgebreide regex) met `APPLE` (uitgebreide regex) in alle invoerregels en toon het resultaat in `stdout`: + +`{{commando}} | sed -E 's/(apple)/\U\1/g'` + +- Toon alleen de eerste regel in `stdout`: + +`{{commando}} | sed -n '1p'` + +- Vervang alle `apple` (basis regex) met `mango` (basis regex) in een specifiek `bestand` en sla een backup op van het origineel in `bestand.bak`: + +`sed -i bak 's/apple/mango/g' {{pad/naar/bestand}}` diff --git a/pages.nl/osx/shuf.md b/pages.nl/osx/shuf.md new file mode 100644 index 00000000000000..48993fe8cb64f5 --- /dev/null +++ b/pages.nl/osx/shuf.md @@ -0,0 +1,20 @@ +# shuf + +> Genereer willekeurige permutaties. +> Meer informatie: . + +- Wijzig willekeurig de volgorde van regels in een bestand en toon het resultaat: + +`shuf {{pad/naar/bestand}}` + +- Toon alleen de eerste 5 regels van het resultaat: + +`shuf --head-count=5 {{pad/naar/bestand}}` + +- Schrijf de uitvoer naar een ander bestand: + +`shuf {{pad/naar/invoer_bestand}} --output {{pad/naar/uitvoer_bestand}}` + +- Genereer willekeurige getallen in het bereik van 1 tot 10: + +`shuf --input-range=1-10` diff --git a/pages.nl/osx/split.md b/pages.nl/osx/split.md new file mode 100644 index 00000000000000..c1522c05a4412a --- /dev/null +++ b/pages.nl/osx/split.md @@ -0,0 +1,20 @@ +# split + +> Split een bestand in stukken. +> Meer informatie: . + +- Split een bestand, elk deel heeft 10 regels (behalve het laatste deel): + +`split -l 10 {{pad/naar/bestand}}` + +- Split een bestand op een reguliere expressie. De overeenkomende regel zal de eerste regel van het volgende uitvoerbestand zijn: + +`split -p {{cat|^[dh]og}} {{pad/naar/bestand}}` + +- Split een bestand met 512 bytes in elk deel (behalve het laatste deel; gebruik 512k voor kilobytes en 512m voor megabytes): + +`split -b 512 {{pad/naar/bestand}}` + +- Split een bestand in 5 bestanden. Het bestand wordt zo gesplitst dat elk deel dezelfde grootte heeft (behalve het laatste deel): + +`split -n 5 {{pad/naar/bestand}}` diff --git a/pages.nl/osx/stat.md b/pages.nl/osx/stat.md new file mode 100644 index 00000000000000..50e2bed4fc6430 --- /dev/null +++ b/pages.nl/osx/stat.md @@ -0,0 +1,24 @@ +# stat + +> Toon bestandsstatus. +> Meer informatie: . + +- Toon bestandseigenschappen zoals grootte, permissies, aanmaak- en toegangsdatums en meer: + +`stat {{pad/naar/bestand}}` + +- Zelfde als hierboven maar uitgebreid (meer vergelijkbaar met Linux's `stat`): + +`stat -x {{pad/naar/bestand}}` + +- Toon alleen octale bestandspermissies: + +`stat -f %Mp%Lp {{pad/naar/bestand}}` + +- Toon eigenaar en groep van het bestand: + +`stat -f "%Su %Sg" {{pad/naar/bestand}}` + +- Toon de grootte van het bestand in bytes: + +`stat -f "%z %N" {{pad/naar/bestand}}` diff --git a/pages.nl/osx/tail.md b/pages.nl/osx/tail.md new file mode 100644 index 00000000000000..ae7e785a749fdb --- /dev/null +++ b/pages.nl/osx/tail.md @@ -0,0 +1,29 @@ +# tail + +> Toon het laatste deel van een bestand. +> Zie ook: `head`. +> Meer informatie: . + +- Toon laatste aantal regels in een bestand: + +`tail -n {{8}} {{pad/naar/bestand}}` + +- Toon een bestand vanaf een specifiek regelnummer: + +`tail -n +{{8}} {{pad/naar/bestand}}` + +- Toon een specifiek aantal bytes vanaf het einde van een opgegeven bestand: + +`tail -c {{8}} {{pad/naar/bestand}}` + +- Toon de laatste regels van een bestand en blijf het bestand lezen tot ``: + +`tail -f {{pad/naar/bestand}}` + +- Blijf het bestand lezen tot ``, ook als het bestand niet toegangelijk is: + +`tail -F {{pad/naar/bestand}}` + +- Toon de laatste aantal regels in een bestand en ververs iedere 'n' seconden: + +`tail -n {{8}} -s {{10}} -f {{pad/naar/bestand}}` diff --git a/pages.nl/osx/uname.md b/pages.nl/osx/uname.md new file mode 100644 index 00000000000000..e53a28198fa700 --- /dev/null +++ b/pages.nl/osx/uname.md @@ -0,0 +1,25 @@ +# uname + +> Toon details over de huidige machine en het besturingssysteem dat erop draait. +> Opmerking: voor aanvullende informatie over het besturingssysteem, probeer het `sw_vers` commando. +> Meer informatie: . + +- Toon de naam van de kernel: + +`uname` + +- Toon systeemarchitectuur en processorinformatie: + +`uname -mp` + +- Toon de naam, release en versie van de kernel: + +`uname -srv` + +- Toon de systeemhostname: + +`uname -n` + +- Toon alle beschikbare systeeminformatie: + +`uname -a` diff --git a/pages.nl/osx/uptime.md b/pages.nl/osx/uptime.md new file mode 100644 index 00000000000000..9a4fe4d7346e22 --- /dev/null +++ b/pages.nl/osx/uptime.md @@ -0,0 +1,8 @@ +# uptime + +> Toon hoe lang het systeem actief is en andere informatie. +> Meer informatie: . + +- Toon de huidige tijd, uptime, aantal ingelogde gebruikers en andere informatie: + +`uptime` diff --git a/pages.nl/osx/wc.md b/pages.nl/osx/wc.md new file mode 100644 index 00000000000000..155238b28725a9 --- /dev/null +++ b/pages.nl/osx/wc.md @@ -0,0 +1,24 @@ +# wc + +> Tel regels, woorden of bytes. +> Meer informatie: . + +- Tel regels in een bestand: + +`wc -l {{pad/naar/bestand}}` + +- Tel woorden in een bestand: + +`wc -w {{pad/naar/bestand}}` + +- Tel tekens (bytes) in een bestand: + +`wc -c {{pad/naar/bestand}}` + +- Tel tekens in een bestand (rekening houdend met multi-byte tekensets): + +`wc -m {{pad/naar/bestand}}` + +- Gebruik `stdin` om regels, woorden en tekens (bytes) in die volgorde te tellen: + +`{{find .}} | wc` diff --git a/pages.nl/osx/xed.md b/pages.nl/osx/xed.md new file mode 100644 index 00000000000000..9b8ceadf2868db --- /dev/null +++ b/pages.nl/osx/xed.md @@ -0,0 +1,16 @@ +# xed + +> Open bestanden voor bewerking in Xcode. +> Meer informatie: . + +- Open een bestand in Xcode: + +`xed {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Open bestanden in Xcode en maak ze aan als ze nog niet bestaan: + +`xed --create {{pad/naar/bestand1 pad/naar/bestand2 ...}}` + +- Open een bestand in Xcode en ga naar regelnummer 75: + +`xed --line 75 {{pad/naar/bestand}}` diff --git a/pages.nl/osx/yaa.md b/pages.nl/osx/yaa.md new file mode 100644 index 00000000000000..b6141be6d145c9 --- /dev/null +++ b/pages.nl/osx/yaa.md @@ -0,0 +1,28 @@ +# yaa + +> Maak en beheer YAA-archieven. +> Meer informatie: . + +- Maak een archief van een map: + +`yaa archive -d {{pad/naar/map}} -o {{pad/naar/uitvoer_bestand.yaa}}` + +- Maak een archief van een bestand: + +`yaa archive -i {{pad/naar/bestand}} -o {{pad/naar/uitvoer_bestand.yaa}}` + +- Pak een archief uit naar de huidige map: + +`yaa extract -i {{pad/naar/archive_file.yaa}}` + +- Toon de inhoud van een archief: + +`yaa list -i {{pad/naar/archive_file.yaa}}` + +- Maak een archief met een specifiek compressie-algoritme: + +`yaa archive -a {{algoritme}} -d {{pad/naar/map}} -o {{pad/naar/uitvoer_bestand.yaa}}` + +- Maak een archief met een blokgrootte van 8 MB: + +`yaa archive -b 8m -d {{pad/naar/map}} -o {{pad/naar/uitvoer_bestand.yaa}}` diff --git a/pages.nl/sunos/devfsadm.md b/pages.nl/sunos/devfsadm.md new file mode 100644 index 00000000000000..6911a790b64dd4 --- /dev/null +++ b/pages.nl/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> Administratie commando voor `/dev`. Beheert de `/dev` namespace. +> Meer informatie: . + +- Scannen voor nieuwe schijven: + +`devfsadm -c disk` + +- Opkuisen van overblijvende /dev links, en detectie van nieuwe toestellen: + +`devfsadm -C -v` + +- Dry-run - output van wat er zou veranderen, zonder deze door te voeren: + +`devfsadm -C -v -n` diff --git a/pages.nl/sunos/dmesg.md b/pages.nl/sunos/dmesg.md new file mode 100644 index 00000000000000..fca3d60f20f112 --- /dev/null +++ b/pages.nl/sunos/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> Schrijft de kernel berichten naar de standaard output. +> Meer informatie: . + +- Toont kernel berichten: + +`dmesg` + +- Toont hoeveel fysiek geheugen beschikbaar is op het systeem: + +`dmesg | grep -i memory` + +- Toont kernel berichten per pagina: + +`dmesg | less` diff --git a/pages.nl/sunos/prctl.md b/pages.nl/sunos/prctl.md new file mode 100644 index 00000000000000..202c5ee2fec5c9 --- /dev/null +++ b/pages.nl/sunos/prctl.md @@ -0,0 +1,16 @@ +# prctl + +> Lees of configureer de Get or set the resource controls of running processes, tasks, and projects. +> Meer informatie: . + +- Uitlezen van de process limits en rechten: + +`prctl {{PID}}` + +- Uitlezen van de process limits en rechten in een geformatteerde layout: + +`prctl -P {{PID}}` + +- Uitlezen van het max file descripter van een lopend proces: + +`prctl -n process.max-file-descriptor {{PID}}` diff --git a/pages.nl/sunos/prstat.md b/pages.nl/sunos/prstat.md new file mode 100644 index 00000000000000..d5e726b12eb3d1 --- /dev/null +++ b/pages.nl/sunos/prstat.md @@ -0,0 +1,24 @@ +# prstat + +> Rapportering van de statistieken van actieve processen. +> Meer informatie: . + +- Bekijken alle processen en rapporteer de statieken gestoord op basis van CPU gebruik: + +`prstat` + +- Bekijken alle processen en rapporteer de statieken gestoord op basis van geheugen gebruik: + +`prstat -s rss` + +- Bekijk het totaal gebruik voor elke gebruiker: + +`prstat -t` + +- Bekijk de microstate process accounting informatie: + +`prstat -m` + +- Toon de 5 meest CPU intensieve processen elke seconde: + +`prstat -c -n 5 -s cpu 1` diff --git a/pages.nl/sunos/share.md b/pages.nl/sunos/share.md new file mode 100644 index 00000000000000..febccdb2054543 --- /dev/null +++ b/pages.nl/sunos/share.md @@ -0,0 +1,24 @@ +# share + +> Maak lokale bron/bestandssysteem beschikbaar voor mounten door systemen op afstand. +> Meer informatie: . + +- Toon alle momenteel gedeelde bestandssystemen: + +`share` + +- Deel een map met lees/schrijftoegang: + +`share -F nfs -o rw /{{pad/naar/map}}` + +- Deel een map met alleen-lezen toegang: + +`share -F nfs -o ro /{{pad/naar/map}}` + +- Deel een map met specifieke opties (bijvoorbeeld root-toegang toestaan vanaf een bepaalde host): + +`share -F nfs -o rw,root={{hostnaam}} /{{pad/naar/map}}` + +- Maak delen persistent door entries toe te voegen aan `/etc/dfs/dfstab`: + +`echo "share -F nfs -o rw /{{pad/naar/map}}" >> /etc/dfs/dfstab` diff --git a/pages.nl/sunos/snoop.md b/pages.nl/sunos/snoop.md new file mode 100644 index 00000000000000..ba9d6c796cdc38 --- /dev/null +++ b/pages.nl/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> Network packet sniffer. +> SunOS equivalent van tcpdump. +> Meer informatie: . + +- Capteer de pakketten van een specifieke netwerk interface: + +`snoop -d {{e1000g0}}` + +- Slaag de pakketten op in een bestand, in plaats van ze weer te geven: + +`snoop -o {{bestandsnaam}}` + +- Toon de verboze protocal layer samenvatting van de pakketten in een bestand: + +`snoop -V -i {{bestandsnaam}}` + +- Capteren van netwerk pakketten die van een bepaalde host komen en naar een gegeven poort gaan: + +`snoop to port {{poort}} from host {{hostnaam}}` + +- Capteren en weergave van een hex-dump van network pakketten die uitgewisseld zijn tussen twee IP addressen: + +`snoop -x0 -p4 {{ip_adres_1}} {{ip_adres_2}}` diff --git a/pages.nl/sunos/svcadm.md b/pages.nl/sunos/svcadm.md new file mode 100644 index 00000000000000..2ad87f5ba7b653 --- /dev/null +++ b/pages.nl/sunos/svcadm.md @@ -0,0 +1,24 @@ +# svcadm + +> Manipuleer service instanties. +> Meer informatie: . + +- Inschakelen van een service in de service database: + +`svcadm enable {{service_naam}}` + +- Uitschakelen van een service in de service database: + +`svcadm disable {{service_naam}}` + +- Herstarten van een draaiende service: + +`svcadm restart {{service_naam}}` + +- Refresh de configuratie van een service: + +`svcadm refresh {{service_naam}}` + +- Haal een service uit maintenance state, en schakel deze in: + +`svcadm clear {{service_naam}}` diff --git a/pages.nl/sunos/svccfg.md b/pages.nl/sunos/svccfg.md new file mode 100644 index 00000000000000..10993a8c6402cd --- /dev/null +++ b/pages.nl/sunos/svccfg.md @@ -0,0 +1,16 @@ +# svccfg + +> Importeer, exporteer, en wijzig service configurations. +> Meer informatie: . + +- Validatie van een configuratie bestand: + +`svccfg validate {{smf.xml}}` + +- Exporteer de configuratie van een service naar een bestand: + +`svccfg export {{servicenaam}} > {{smf.xml}}` + +- Update de service configuratie aan de hand van een bestand: + +`svccfg import {{smf.xml}}` diff --git a/pages.nl/sunos/svcs.md b/pages.nl/sunos/svcs.md new file mode 100644 index 00000000000000..9fbee2ad16ae33 --- /dev/null +++ b/pages.nl/sunos/svcs.md @@ -0,0 +1,24 @@ +# svcs + +> Geef informatie over actieve services. +> Meer informatie: . + +- Oplijsting van alle actieve services: + +`svcs` + +- Oplijsting van alle inactieve services: + +`svcs -vx` + +- Geef informatie over een specifieke service: + +`svcs apache` + +- Toon de locatie van de log file van een service: + +`svcs -L apache` + +- Toon de laatste lijnen van een service log file: + +`tail $(svcs -L apache)` diff --git a/pages.nl/sunos/truss.md b/pages.nl/sunos/truss.md new file mode 100644 index 00000000000000..903b3895073185 --- /dev/null +++ b/pages.nl/sunos/truss.md @@ -0,0 +1,25 @@ +# truss + +> Troubleshooting tool voor het traceren van system calls. +> SunOS equivalent van strace. +> Meer informatie: . + +- Start het traceren van een programma door het uit te voeren, en de tracering van alle child processes: + +`truss -f {{programma}}` + +- Start het traceren van een specifiek proces aan de hand van het PID: + +`truss -p {{pid}}` + +- Start het traceren van een programma door het uit te voeren, en toont alle argumenent en omgevingsinstellingen: + +`truss -a -e {{programma}}` + +- Telt tijd, oproepen, en fouten voor elke systeem call en geeft een oplijsting bij de beindiging van de applicatie: + +`truss -c -p {{pid}}` + +- Traceert een process filter output via system call: + +`truss -p {{pid}} -t {{system_call_naam}}` diff --git a/pages.nl/windows/bleachbit.md b/pages.nl/windows/bleachbit.md new file mode 100644 index 00000000000000..682965d3cd6377 --- /dev/null +++ b/pages.nl/windows/bleachbit.md @@ -0,0 +1,7 @@ +# bleachbit + +> Dit commando is een alias van `bleachbit_console`. + +- Bekijk de documentatie van het originele commando: + +`tldr bleachbit_console` diff --git a/pages.nl/windows/bleachbit_console.md b/pages.nl/windows/bleachbit_console.md new file mode 100644 index 00000000000000..16b15a2d6dfc36 --- /dev/null +++ b/pages.nl/windows/bleachbit_console.md @@ -0,0 +1,24 @@ +# bleachbit_console + +> Verwijder overbodige bestanden op het bestandssysteem. +> Meer informatie: . + +- Start de grafische gebruikersinterface (GUI) van Bleachbit: + +`bleachbit_console.exe --gui` + +- Versnipper een bestand: + +`bleachbit_console.exe --shred {{pad/naar/bestand}}` + +- Toon beschikbare schoonmaakopties: + +`bleachbit_console.exe --list-cleaners` + +- Bekijk een voorbeeld van de bestanden die zullen worden verwijderd en andere wijzigingen voordat de schoonmaak-operatie wordt uitgevoerd: + +`bleachbit_console.exe --preview {{--preset|cleaner1.option1 cleaner2.* ...}}` + +- Voer de schoonmaakoperatie uit en verwijder bestanden: + +`bleachbit_console.exe --clean {{--preset|cleaner1.option1 cleaner2.* ...}}` diff --git a/pages.nl/windows/cd.md b/pages.nl/windows/cd.md index 4e5e5eabb171f2..4134bb1be0e65c 100644 --- a/pages.nl/windows/cd.md +++ b/pages.nl/windows/cd.md @@ -1,20 +1,33 @@ # cd -> Geeft de naam van de huidige werkmap weer of wijzigt deze. -> Meer informatie: . +> Geef de naam van de huidige werkmap weer of wijzig deze. +> In PowerShell is deze opdracht een alias van `Set-Location`. Deze documentatie is gebaseerd op de Command Prompt (`cmd`) versie van `cd`. +> Meer informatie: . -- Ga naar een directory in dezelfde drive: +- Bekijk de documentatie van het equivalente PowerShell-commando: -`cd {{pad/naar/directory}}` +`tldr set-location` -- Geef de naam van de huidige directory weer: +- Geef de naam van de huidige map weer: `cd` -- Ga naar de ouder van de huidige directory: +- Ga naar een map in dezelfde drive: + +`cd {{pad\naar\map}}` + +- Ga naar een map in een andere drive: + +`cd /d {{C}}:{{pad\naar\map}}` + +- Ga naar de bovenliggende map van de huidige map: `cd ..` -- Ga naar een directory in een andere drive: +- Ga naar de thuismap van de huidige gebruiker: + +`cd %userprofile%` + +- Ga naar de hoofdmap: -`cd {{pad/naar/directory}} /d` +`cd \` diff --git a/pages.nl/windows/certutil.md b/pages.nl/windows/certutil.md new file mode 100644 index 00000000000000..b7e4c95dc6beae --- /dev/null +++ b/pages.nl/windows/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> Een tool om certificaatinformatie te beheren en configureren. +> Meer informatie: . + +- Dump de configuratie-informatie of bestanden: + +`certutil {{bestandsnaam}}` + +- Encodeer een bestand in hexadecimaal: + +`certutil -encodehex {{pad\naar\invoer_bestand}} {{pad\naar\uitvoer_bestand}}` + +- Encodeer een bestand naar Base64: + +`certutil -encode {{pad\naar\invoer_bestand}} {{pad\naar\uitvoer_bestand}}` + +- Decodeer een Base64-gecodeerd bestand: + +`certutil -decode {{pad\naar\invoer_bestand}} {{pad\naar\uitvoer_bestand}}` + +- Genereer en toon een cryptografische hash over een bestand: + +`certutil -hashfile {{pad\naar\invoer_bestand}} {{md2|md4|md5|sha1|sha256|sha384|sha512}}` diff --git a/pages.nl/windows/chdir.md b/pages.nl/windows/chdir.md new file mode 100644 index 00000000000000..1bf835f898cb4d --- /dev/null +++ b/pages.nl/windows/chdir.md @@ -0,0 +1,12 @@ +# chdir + +> Dit commando is een alias van `cd` in Command Prompt en vervolgens `Set-Location` in PowerShell. +> Meer informatie: . + +- Bekijk de documentatie van het originele Command Prompt commando: + +`tldr cd` + +- Bekijk de documentatie van het originele PowerShell commando: + +`tldr set-location` diff --git a/pages.nl/windows/choco-install.md b/pages.nl/windows/choco-install.md new file mode 100644 index 00000000000000..bf9abdf9f5a039 --- /dev/null +++ b/pages.nl/windows/choco-install.md @@ -0,0 +1,36 @@ +# choco install + +> Installeer een of meerdere pakketen met Chocolatey. +> Meer informatie: . + +- Installeer een of meerdere spatie-gescheiden pakketten: + +`choco install {{pakket1 pakket2 ...}}` + +- Installeer pakketten van een aangepast configuratiebestand: + +`choco install {{pad\naar\pakketten_bestand.config}}` + +- Installeer een specifiek `nuspec` of `nupkg` bestand: + +`choco install {{pad\naar\bestand}}` + +- Installeer een specifieke versie van een pakket: + +`choco install {{pakket}} --version {{versie}}` + +- Sta het toe om meerdere versies van een pakket te installeren: + +`choco install {{pakket}} --allow-multiple` + +- Bevestig alle prompts automatisch: + +`choco install {{pakket}} --yes` + +- Specificieer een aangepaste bron om pakketten van te ontvangen: + +`choco install {{pakket}} --source {{source_url|alias}}` + +- Geef een gebruikersnaam en wachtwoord voor authenticatie op: + +`choco install {{pakket}} --user {{gebruikersnaam}} --password {{wachtwoord}}` diff --git a/pages.nl/windows/choco-list.md b/pages.nl/windows/choco-list.md new file mode 100644 index 00000000000000..b492f191ccf20a --- /dev/null +++ b/pages.nl/windows/choco-list.md @@ -0,0 +1,28 @@ +# choco list + +> Toon een lijst van pakketten met Chocolatey. +> Meer informatie: . + +- Toon alle beschikbare pakketten: + +`choco list` + +- Toon alle lokaal geïnstalleerde pakketten: + +`choco list --local-only` + +- Toon een lijst inclusief lokale programma's: + +`choco list {{[-i|--include-programs]}}` + +- Toon alleen goedgekeurde pakketten: + +`choco list --approved-only` + +- Geef een aangepaste bron op om pakketten van weer te geven: + +`choco list {{[-s|--source]}} {{bron_url|alias}}` + +- Geef een gebruikersnaam en wachtwoord voor authenticatie op: + +`choco list --user {{gebruikersnaam}} --password {{wachtwoord}}` diff --git a/pages.nl/windows/choco-push.md b/pages.nl/windows/choco-push.md new file mode 100644 index 00000000000000..19088fb1f33e33 --- /dev/null +++ b/pages.nl/windows/choco-push.md @@ -0,0 +1,12 @@ +# choco push + +> Push een gecompileerd NuGet pakket (`nupkg`) naar een pakketfeed. +> Meer informatie: . + +- Push een gecompileerd `nupkg` naar de gespecificeerde feed: + +`choco push {{[-s|--source]}} {{https://push.chocolatey.org/}}` + +- Push een gecompileerd `nupkg` naar de gespecificeerde feed met een timeout in seconden (standaard is 2700): + +`choco push {{[-s|--source]}} {{https://push.chocolatey.org/}} {{[--timeout|--execution-timeout]}} {{500}}` diff --git a/pages.nl/windows/choco-uninstall.md b/pages.nl/windows/choco-uninstall.md new file mode 100644 index 00000000000000..1d62b423b207bf --- /dev/null +++ b/pages.nl/windows/choco-uninstall.md @@ -0,0 +1,24 @@ +# choco uninstall + +> Verwijder een of meerdere pakketen met Chocolatey. +> Meer informatie: . + +- Verwijder een of meerdere spatie-gescheiden pakketten: + +`choco uninstall {{pakket1 pakket2 ...}}` + +- Verwijder een specifieke versie van een pakket: + +`choco uninstall {{pakket}} --version {{versie}}` + +- Bevestig alle prompts automatisch: + +`choco uninstall {{pakket}} --yes` + +- Verwijder alle afhankelijkheden bij het verwijderen: + +`choco uninstall {{pakket}} --remove-dependencies` + +- Verwijder alle pakketten: + +`choco uninstall all` diff --git a/pages.nl/windows/choco.md b/pages.nl/windows/choco.md new file mode 100644 index 00000000000000..855509cc4306a2 --- /dev/null +++ b/pages.nl/windows/choco.md @@ -0,0 +1,37 @@ +# choco + +> De Chocolatey pakket manager. +> Sommige subcommando's zoals `install`, `upgrade`, `pin` hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Installeer een pakket: + +`choco install {{pakketnaam}}` + +- Upgrade een specifiek geïnstalleerd pakket: + +`choco upgrade {{pakketnaam}}` + +- Upgrade alle verouderde pakketten en bevestig automatisch alle vragen: + +`choco upgrade all {{[-y|--yes]}}` + +- Verwijder een pakket en bevestig automatisch alle vragen: + +`choco uninstall {{pakketnaam}} {{[-y|--yes]}}` + +- Zoek voor pakketten op naam of sleutelwoord: + +`choco search {{query}}` + +- Toon alle geïnstalleerde pakketten: + +`choco list` + +- Toon pakketten die verouderd zijn: + +`choco outdated` + +- Installeer een pakket van een specifieke bron: + +`choco install {{pakketnaam}} {{[-s|--source]}} {{bron}}` diff --git a/pages.nl/windows/chrome.md b/pages.nl/windows/chrome.md new file mode 100644 index 00000000000000..8cbebd82b3773a --- /dev/null +++ b/pages.nl/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Dit commando is een alias van `chromium`. +> Meer informatie: . + +- Bekijk de documentatie van het originele commando: + +`tldr chromium` diff --git a/pages.nl/windows/chromium.md b/pages.nl/windows/chromium.md new file mode 100644 index 00000000000000..cce58a425334c0 --- /dev/null +++ b/pages.nl/windows/chromium.md @@ -0,0 +1,37 @@ +# chromium + +> Open-source webbrowser die voornamelijk ontwikkeld en onderhouden wordt door Google. +> Let op: mogelijk moet je het `chromium` commando vervangen met jouw gewenste webbrowser, zoals `brave`, `google-chrome`, `microsoft-edge`/`msedge`, `opera` of `vivaldi`. +> Meer informatie: . + +- Open een specifieke URL of bestand: + +`chromium {{https://example.com|path/naar/bestand.html}}` + +- Open in incognito modus (gebruik `--inprivate` voor Microsoft Edge): + +`{{chromium --incognito|msedge --inprivate}} {{example.com}}` + +- Open in een nieuw venster: + +`chromium --new-window {{example.com}}` + +- Open in applicatie modus (zonder werkbalken, URL balk, knoppen, etc.): + +`chromium --app {{https://example.com}}` + +- Gebruik een proxy server: + +`chromium --proxy-server "{{socks5://hostname:66}}" {{example.com}}` + +- Open met een aangepaste profiel map: + +`chromium --user-data-dir {{pad/naar/map}}` + +- Open zonder CORS validatie (handig om een API te testen): + +`chromium --user-data-dir {{pad/naar/map}} --disable-web-security` + +- Open met een DevTools venster voor elk geopend tabblad: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.nl/windows/cinst.md b/pages.nl/windows/cinst.md new file mode 100644 index 00000000000000..ee920eae75a04e --- /dev/null +++ b/pages.nl/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Dit commando is een alias van `choco install`. + +- Bekijk de documentatie van het originele commando: + +`tldr choco install` diff --git a/pages.nl/windows/clear-host.md b/pages.nl/windows/clear-host.md new file mode 100644 index 00000000000000..1f340c631a7a86 --- /dev/null +++ b/pages.nl/windows/clear-host.md @@ -0,0 +1,9 @@ +# Clear-Host + +> Wist het scherm. +> Dit commando kan alleen gebruikt worden via PowerShell. +> Meer informatie: . + +- Wis het scherm: + +`cls` diff --git a/pages.nl/windows/clear.md b/pages.nl/windows/clear.md new file mode 100644 index 00000000000000..cd272092604754 --- /dev/null +++ b/pages.nl/windows/clear.md @@ -0,0 +1,7 @@ +# clear + +> In PowerShell is dit commando een alias van `Clear-Host`. + +- Bekijk de documentatie van het originele commando: + +`tldr clear-host` diff --git a/pages.nl/windows/clist.md b/pages.nl/windows/clist.md new file mode 100644 index 00000000000000..c64b2b8eaed547 --- /dev/null +++ b/pages.nl/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Dit commando is een alias van `choco list`. + +- Bekijk de documentatie van het originele commando: + +`tldr choco list` diff --git a/pages.nl/windows/cls.md b/pages.nl/windows/cls.md new file mode 100644 index 00000000000000..36a4e4fb5eb221 --- /dev/null +++ b/pages.nl/windows/cls.md @@ -0,0 +1,13 @@ +# cls + +> Wist het scherm. +> In PowerShell is dit commando een alias van `Clear-Host`. Deze documentatie is gebaseerd op de Command Prompt (`cmd`) versie van `cls`. +> Meer informatie: . + +- Bekijk de documentatie van het equivalente PowerShell commando: + +`tldr clear-host` + +- Wis het scherm: + +`cls` diff --git a/pages.nl/windows/cmd.md b/pages.nl/windows/cmd.md new file mode 100644 index 00000000000000..9605894f26346d --- /dev/null +++ b/pages.nl/windows/cmd.md @@ -0,0 +1,36 @@ +# cmd + +> De Windows-opdrachtinterpreter. +> Meer informatie: . + +- Start een interactieve shell-sessie: + +`cmd` + +- Voer specifieke [c]ommandos uit: + +`cmd /c {{echo Hello world}}` + +- Voer een specifiek script uit: + +`cmd {{pad\naar\script.bat}}` + +- Voer specifieke commando's uit en start vervolgens een interactieve shell: + +`cmd /k {{echo Hello world}}` + +- Start een interactieve shell-sessie waarbij `echo` is uitgeschakeld in de opdrachtuitvoer: + +`cmd /q` + +- Start een interactieve shell-sessie met vertraagde [v]ariabele-expansie in- of uitgeschakeld: + +`cmd /v:{{on|off}}` + +- Start een interactieve shell-sessie met opdracht[e]xtensies in- of uitgeschakeld: + +`cmd /e:{{on|off}}` + +- Start een interactieve shell-sessie met gebruikte [u]nicode-codering: + +`cmd /u` diff --git a/pages.nl/windows/color.md b/pages.nl/windows/color.md new file mode 100644 index 00000000000000..549cb84624ba77 --- /dev/null +++ b/pages.nl/windows/color.md @@ -0,0 +1,16 @@ +# color + +> Stel de voor- en achtergrondkleuren van de console in. +> Meer informatie: . + +- Zet de consolekleuren terug naar de standaardwaarden: + +`color` + +- Toon de beschikbare kleurwaarden en gedetailleerde informatie: + +`color /?` + +- Stel een specifieke voorgrond- en achtergrondkleur in met hexadecimale getallen (`1-9,a-f`): + +`color {{voorgrond_code}}{{achtergrond_code}}` diff --git a/pages.nl/windows/cpush.md b/pages.nl/windows/cpush.md new file mode 100644 index 00000000000000..477cdd93612fc3 --- /dev/null +++ b/pages.nl/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Dit commando is een alias van `choco push`. + +- Bekijk de documentatie van het originele commando: + +`tldr choco push` diff --git a/pages.nl/windows/cuninst.md b/pages.nl/windows/cuninst.md new file mode 100644 index 00000000000000..873b83c1af3c68 --- /dev/null +++ b/pages.nl/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Dit commando is een alias van `choco uninstall`. + +- Bekijk de documentatie van het originele commando: + +`tldr choco uninstall` diff --git a/pages.nl/windows/curl.md b/pages.nl/windows/curl.md new file mode 100644 index 00000000000000..6fb5c34b4cb7b8 --- /dev/null +++ b/pages.nl/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> In PowerShell kan dit commando een alias zijn van `Invoke-WebRequest` als het originele `curl` programma () niet correct is geïnstalleerd. +> Meer informatie: . + +- Bekijk de documentatie van het originele `curl` commando: + +`tldr curl -p common` + +- Bekijk de documentatie van het PowerShell's `Invoke-WebRequest` commando: + +`tldr invoke-webrequest` + +- Controleer of `curl` correct is geïnstalleerd door het versienummer te printen. Als dit commando resulteert in een error, heeft PowerShell dit commando mogelijk vervangen met `Invoke-WebRequest`: + +`curl --version` diff --git a/pages.nl/windows/date.md b/pages.nl/windows/date.md new file mode 100644 index 00000000000000..735c978ebe7d01 --- /dev/null +++ b/pages.nl/windows/date.md @@ -0,0 +1,16 @@ +# date + +> Toon of stel de systeemdatum in. +> Meer informatie: . + +- Toon de huidige systeemdatum en vraag voor een nieuwe datum (laat leeg om niet te veranderen): + +`date` + +- Toon de huidige systeemdatum zonder te vragen voor een nieuwe datum: + +`date /t` + +- Verander de huidige systeemdatum naar een specifieke datum: + +`date {{maand}}-{{dag}}-{{jaar}}` diff --git a/pages.nl/windows/del.md b/pages.nl/windows/del.md new file mode 100644 index 00000000000000..e7018d06da657c --- /dev/null +++ b/pages.nl/windows/del.md @@ -0,0 +1,37 @@ +# del + +> Verwijder een of meer bestanden. +> In PowerShell is dit commando een alias van `Remove-Item`. Deze documentatie is gebaseerd op de Command Prompt (`cmd`) versie van `del`. +> Meer informatie: . + +- Bekijk de documentatie van het equivalente PowerShell commando: + +`tldr remove-item` + +- Verwijder een of meer, door spatie gescheiden, bestanden of patronen: + +`del {{file_pattern}}` + +- Vraag om bevestiging voordat u elk bestand verwijdert: + +`del {{file_pattern}} /p` + +- Forceer de verwijdering van alleen-lezen bestanden: + +`del {{file_pattern}} /f` + +- Verwijder de bestand(en) recursief uit alle submappen: + +`del {{file_pattern}} /s` + +- Vraag niet om bevestiging voor het verwijderen van bestanden gebaseerd op een globale wildcard: + +`del {{file_pattern}} /q` + +- Verwijder bestanden op basis van opgegeven kenmerken: + +`del {{file_pattern}} /a {{attribute}}` + +- Toon de help en beschikbare attributen: + +`del /?` diff --git a/pages.nl/windows/dir.md b/pages.nl/windows/dir.md index bcfe0a637e504c..ae9295e1636b7e 100644 --- a/pages.nl/windows/dir.md +++ b/pages.nl/windows/dir.md @@ -1,20 +1,28 @@ # dir -> Geeft de inhoud weer van een directory. -> Meer informatie: . +> Geeft de inhoud weer van een map. +> Meer informatie: . - Geef de inhoud weer van de huidige map: `dir` -- Geef de inhoud weer van een gegeven directory: +- Geef de inhoud weer van een gegeven map: -`dir {{pad/naar/directory}}` +`dir {{pad\naar\map}}` -- Geef de inhoud weer van de huidige directory, inclusief verborgen bestanden: +- Geef de inhoud weer van de huidige map, inclusief verborgen bestanden: -`dir /A` +`dir /a` -- Geef de inhoud weer van een gegeven directory, inclusief verborgen bestanden: +- Geef de inhoud weer van een gegeven map, inclusief verborgen bestanden: -`dir {{pad/naar/directory}} /A` +`dir {{pad\naar\map}} /a` + +- Toon een lijst met mappen en bestanden, zonder extra informatie: + +`dir /b` + +- Sorteer resultaten op datum/tijd, oudste eerst: + +`dir /o:d` diff --git a/pages.nl/windows/exit.md b/pages.nl/windows/exit.md new file mode 100644 index 00000000000000..4a927b3914a78e --- /dev/null +++ b/pages.nl/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> Verlaat de huidige CMD-instantie of het huidige batchbestand. +> Meer informatie: . + +- Verlaat de huidige CMD-instantie: + +`exit` + +- Verlaat het huidige [b]atchscript: + +`exit /b` + +- Verlaat met een specifieke exitcode: + +`exit {{2}}` diff --git a/pages.nl/windows/expand.md b/pages.nl/windows/expand.md new file mode 100644 index 00000000000000..45f79b6fc30542 --- /dev/null +++ b/pages.nl/windows/expand.md @@ -0,0 +1,24 @@ +# expand + +> Pak Windows Cabinet bestanden uit. +> Meer informatie: . + +- Pak een Cabinet bestand met één bestand naar de specifieke map: + +`expand {{pad\naar\bestand.cab}} {{pad\naar\map}}` + +- Toon een lijst van bestanden in een Cabinet bestand: + +`expand {{pad\naar\bestand.cab}} {{pad\naar\map}} -d` + +- Pak alle bestanden van een Cabinet bestand uit: + +`expand {{pad\naar\bestand.cab}} {{pad\naar\map}} -f:*` + +- Pak een specifiek bestand van een Cabinet bestand uit: + +`expand {{pad\naar\bestand.cab}} {{pad\naar\map}} -f:{{pad\naar\bestand}}` + +- Negeer de mapstructuur bij het uitpakken en voeg ze toe aan een enkele map: + +`expand {{pad\naar\bestand.cab}} {{pad\naar\map}} -i` diff --git a/pages.nl/windows/fc.md b/pages.nl/windows/fc.md new file mode 100644 index 00000000000000..0afaa2175ad027 --- /dev/null +++ b/pages.nl/windows/fc.md @@ -0,0 +1,33 @@ +# fc + +> Vergelijk de verschillen tussen twee bestanden of sets van bestanden. +> Gebruik wildcards (*) om sets van bestanden te vergelijken. +> Meer informatie: . + +- Vergelijk 2 opgegeven bestanden: + +`fc {{pad\naar\bestand1}} {{pad\naar\bestand2}}` + +- Voer een hoofdletterongevoelige vergelijking uit: + +`fc /c {{pad\naar\bestand1}} {{pad\naar\bestand2}}` + +- Vergelijk bestanden als Unicode-tekst: + +`fc /u {{pad\naar\bestand1}} {{pad\naar\bestand2}}` + +- Vergelijk bestanden als ASCII-tekst: + +`fc /l {{pad\naar\bestand1}} {{pad\naar\bestand2}}` + +- Vergelijk bestanden als binair: + +`fc /b {{pad\naar\bestand1}} {{pad\naar\bestand2}}` + +- Schakel tab-naar-spatie uitbreiding uit: + +`fc /t {{pad\naar\bestand1}} {{pad\naar\bestand2}}` + +- Comprimeer witruimte (tabs en spaties) voor vergelijkingen: + +`fc /w {{pad\naar\bestand1}} {{pad\naar\bestand2}}` diff --git a/pages.nl/windows/find.md b/pages.nl/windows/find.md index e3f6eebdfd9062..e437fd94571b29 100644 --- a/pages.nl/windows/find.md +++ b/pages.nl/windows/find.md @@ -1,20 +1,20 @@ # find -> Vind een gespecificieerde string in een bestand -> Meer informatie: . +> Vind een gespecificieerde string in een bestand. +> Meer informatie: . -- Vind de lijnen dat een specifieke string bevatten: +- Vind de regels die een specifieke string bevatten: -`find {{string}} {{pad/naar/bestand_of_directory}}` +`find "{{string}}" {{pad/naar/bestand_of_map}}` -- Laat lijnen zie die de string niet bevatten: +- Laat regels zie die de string niet bevatten: -`find {{string}} {{pad/naar/bestand_of_directory}} /v` +`find "{{string}}" {{pad/naar/bestand_of_map}} /v` -- Toon het aantal lijnen dat de string bevat: +- Toon het aantal regels dat de string bevat: -`find {{string}} {{pad/naar/bestand_of_directory}} /c` +`find "{{string}}" {{pad/naar/bestand_of_map}} /c` -- Laat het aantal lijnen zien samen met de lijnen: +- Laat het aantal regels zien samen met de regels: -`find {{string}} {{pad/naar/bestand_of_directory}} /n` +`find "{{string}}" {{pad/naar/bestand_of_map}} /n` diff --git a/pages.nl/windows/finger.md b/pages.nl/windows/finger.md new file mode 100644 index 00000000000000..53b9bc7ff9255f --- /dev/null +++ b/pages.nl/windows/finger.md @@ -0,0 +1,21 @@ +# finger + +> Geeft informatie over gebruikers op een opgegeven systeem. +> Het externe systeem moet de Finger-service draaien. +> Meer informatie: . + +- Toon informatie over een specifieke gebruiker: + +`finger {{gebruiker}}@{{host}}` + +- Toon informatie over alle gebruikers op de opgegeven host: + +`finger @{{host}}` + +- Toon informatie in een langere indeling: + +`finger {{gebruiker}}@{{host}} -l` + +- Toon de helpinformatie: + +`finger /?` diff --git a/pages.nl/windows/for.md b/pages.nl/windows/for.md new file mode 100644 index 00000000000000..886bdd63a3ceab --- /dev/null +++ b/pages.nl/windows/for.md @@ -0,0 +1,24 @@ +# for + +> Voer conditioneel een commando meerdere keren uit. +> Meer informatie: . + +- Voer de gegeven commando's uit voor de opgegeven set: + +`for %{{variabele}} in ({{item_a item_b item_c}}) do ({{echo Loop wordt uitgevoerd}})` + +- Itereer over een gegeven reeks nummers: + +`for /l %{{variabele}} in ({{van}}, {{stap}}, {{tot}}) do ({{echo Loop wordt uitgevoerd}})` + +- Itereer over een gegeven lijst van bestanden: + +`for %{{variabele}} in ({{pad\naar\bestand1.ext pad\naar\bestand2.ext ...}}) do ({{echo Loop wordt uitgevoerd}})` + +- Itereer over een gegeven lijst van directories: + +`for /d %{{variabele}} in ({{pad\naar\directory1.ext pad\naar\directory2.ext ...}}) do ({{echo Loop wordt uitgevoerd}})` + +- Voer een gegeven commando uit in elke directory: + +`for /d %{{variabele}} in (*) do (if exist %{{variabele}} {{echo Loop wordt uitgevoerd}})` diff --git a/pages.nl/windows/ftp.md b/pages.nl/windows/ftp.md new file mode 100644 index 00000000000000..9e131810a5eeb5 --- /dev/null +++ b/pages.nl/windows/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> Interactief bestanden overzetten tussen een lokale en een externe FTP-server. +> Meer informatie: . + +- Verbind interactief met een externe FTP-server: + +`ftp {{host}}` + +- Log in als een anonieme gebruiker: + +`ftp -A {{host}}` + +- Schakel automatisch inloggen uit bij de eerste verbinding: + +`ftp -n {{host}}` + +- Voer een bestand uit met een lijst van FTP-opdrachten: + +`ftp -s:{{pad\naar\bestand}} {{host}}` + +- Download meerdere bestanden (glob-expressie): + +`mget {{*.png}}` + +- Upload meerdere bestanden (glob-expressie): + +`mput {{*.zip}}` + +- Verwijder meerdere bestanden op de externe server: + +`mdelete {{*.txt}}` + +- Toon de help: + +`ftp --help` diff --git a/pages.nl/windows/gal.md b/pages.nl/windows/gal.md new file mode 100644 index 00000000000000..ea3ecda06c49f3 --- /dev/null +++ b/pages.nl/windows/gal.md @@ -0,0 +1,7 @@ +# gal + +> In PowerShell is dit commando een alias van `Get-Alias`. + +- Bekijk de documentatie van het originele commando: + +`tldr get-alias` diff --git a/pages.nl/windows/gcrane-completion.md b/pages.nl/windows/gcrane-completion.md new file mode 100644 index 00000000000000..f4ca9d1dee7549 --- /dev/null +++ b/pages.nl/windows/gcrane-completion.md @@ -0,0 +1,25 @@ +# gcrane completion + +> Genereer het autocompletion script voor gcrane voor de opgegeven shell. +> De beschikbare shells zijn `bash`, `fish`, `powershell` en `zsh`. +> Meer informatie: . + +- Genereer het autocompletion script voor je shell: + +`gcrane completion {{shell_naam}}` + +- Zet de completion beschrijvingen uit: + +`gcrane completion {{shell_naam}} --no-descriptions` + +- Laad completions in je huidige shellsessie (powershell): + +`gcrane completion powershell | Out-String | Invoke-Expression` + +- Laad completions voor elke nieuwe sessie (powershell): + +`gcrane completion powershell | Out-String | Invoke-Expression` + +- Toon de help: + +`gcrane completion {{shell_naam}} {{[-h|--help]}}` diff --git a/pages.nl/windows/get-alias.md b/pages.nl/windows/get-alias.md new file mode 100644 index 00000000000000..5209bf77d0b16d --- /dev/null +++ b/pages.nl/windows/get-alias.md @@ -0,0 +1,21 @@ +# Get-Alias + +> Toon en verkrijg commando aliases in de huidige PowerShell sessie. +> Dit commando kan alleen worden uitgevoerd onder PowerShell. +> Meer informatie: . + +- Toon alle aliases in de huidige sessie: + +`Get-Alias` + +- Ontvang de aliased commando naam: + +`Get-Alias {{commando_alias}}` + +- Toon alle aliases toegewezen aan een specifiek commando: + +`Get-Alias -Definition {{commando}}` + +- Toon aliases die beginnen met `abc`, maar sluit die uit die eindigen op`def`: + +`Get-Alias {{abc}}* -Exclude *{{def}}` diff --git a/pages.nl/windows/get-history.md b/pages.nl/windows/get-history.md new file mode 100644 index 00000000000000..ab3dc4e0312a0b --- /dev/null +++ b/pages.nl/windows/get-history.md @@ -0,0 +1,17 @@ +# Get-History + +> Toon de PowerShell commando-geschiedenis. +> Let op: dit commando kan alleen gebruikt worden via PowerShell. +> Meer informatie: . + +- Toon de commando-geschiedenis met ID: + +`Get-History` + +- Haal het PowerShell geschiedenis-item op via een ID: + +`Get-History -Id {{id}}` + +- Toon de laatste N commando's: + +`Get-History -Count {{10}}` diff --git a/pages.nl/windows/get-location.md b/pages.nl/windows/get-location.md new file mode 100644 index 00000000000000..c0b161117b8e58 --- /dev/null +++ b/pages.nl/windows/get-location.md @@ -0,0 +1,9 @@ +# Get-Location + +> Toon de naam van de huidige/werk- map. +> Dit commando kan alleen worden uitgevoerd onder PowerShell. +> Meer informatie: . + +- Toon de huidige map: + +`Get-Location` diff --git a/pages.nl/windows/gl.md b/pages.nl/windows/gl.md new file mode 100644 index 00000000000000..1525d045c11071 --- /dev/null +++ b/pages.nl/windows/gl.md @@ -0,0 +1,7 @@ +# gl + +> In PowerShell is dit commando een alias van `get-location`. + +- Bekijk de documentatie van het originele commando: + +`tldr get-location` diff --git a/pages.nl/windows/if.md b/pages.nl/windows/if.md new file mode 100644 index 00000000000000..8db4d7aa099538 --- /dev/null +++ b/pages.nl/windows/if.md @@ -0,0 +1,32 @@ +# if + +> Voert voorwaardelijke verwerking uit in batchscripts. +> Meer informatie: . + +- Voer de opgegeven commando's uit als de voorwaarde waar is: + +`if {{voorwaarde}} ({{echo Voorwaarde is waar}})` + +- Voer de opgegeven commando's uit als de voorwaarde onwaar is: + +`if not {{voorwaarde}} ({{echo Voorwaarde is waar}})` + +- Voer de eerste opgegeven commando's uit als de voorwaarde waar is, anders voer de tweede opgegeven commando's uit: + +`if {{voorwaarde}} ({{echo Voorwaarde is waar}}) else ({{echo Voorwaarde is onwaar}})` + +- Controleer of `%errorlevel%` groter dan of gelijk is aan de opgegeven exitcode: + +`if errorlevel {{2}} ({{echo Voorwaarde is waar}})` + +- Controleer of twee strings gelijk zijn: + +`if %{{variabele}}% == {{string}} ({{echo Voorwaarde is waar}})` + +- Controleer of twee strings gelijk zijn zonder naar hoofdletters te kijken: + +`if /i %{{variabele}}% == {{string}} ({{echo Voorwaarde is waar}})` + +- Controleer of een bestand bestaat: + +`if exist {{pad\naar\bestand}} ({{echo Voorwaarde is waar}})` diff --git a/pages.nl/windows/invoke-webrequest.md b/pages.nl/windows/invoke-webrequest.md new file mode 100644 index 00000000000000..33949a7936dc8a --- /dev/null +++ b/pages.nl/windows/invoke-webrequest.md @@ -0,0 +1,25 @@ +# Invoke-WebRequest + +> Voer een HTTP/HTTPS request uit naar het Web. +> Dit commando kan alleen gebruikt worden via PowerShell. +> Meer informatie: . + +- Download de inhoud van een URL naar een bestand: + +`Invoke-WebRequest {{http://example.com}} -OutFile {{pad\naar\bestand}}` + +- Stuur form-gecodeerde gegevens (POST request van het type `application/x-www-form-urlencoded`): + +`Invoke-WebRequest -Method Post -Body @{ name='bob' } {{http://example.com/form}}` + +- Stuur een request met een extra header, door gebruik te maken van een aangepast HTTP methode: + +`Invoke-WebRequest -Headers {{@{ X-My-Header = '123' }}} -Method {{PUT}} {{http://example.com}}` + +- Stuur gegevens in JSON formaat en specificieer de juiste content-type header: + +`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}` + +- Stuur een gebruikersnaam en wachtwoord voor een server authenticatie: + +`Invoke-WebRequest -Headers @{ Authorization = "Basic "+ [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("myusername:mypassword")) } {{http://example.com}}` diff --git a/pages.nl/windows/ipconfig.md b/pages.nl/windows/ipconfig.md new file mode 100644 index 00000000000000..8eeb546f1f4f64 --- /dev/null +++ b/pages.nl/windows/ipconfig.md @@ -0,0 +1,28 @@ +# ipconfig + +> Toon en beheer de netwerkconfiguratie van Windows. +> Meer informatie: . + +- Toon alle netwerkadapters: + +`ipconfig` + +- Toon een gedetailleerde lijst van netwerkadapters: + +`ipconfig /all` + +- Vernieuw de IP-adressen voor een netwerkadapter: + +`ipconfig /renew {{adapter}}` + +- Laat de IP-adressen voor een netwerkadapter vrij: + +`ipconfig /release {{adapter}}` + +- Toon de lokale DNS-cache: + +`ipconfig /displaydns` + +- Verwijder alle gegevens uit de lokale DNS-cache: + +`ipconfig /flushdns` diff --git a/pages.nl/windows/iwr.md b/pages.nl/windows/iwr.md new file mode 100644 index 00000000000000..4a21189619b9bf --- /dev/null +++ b/pages.nl/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Dit commando is een alias van `invoke-webrequest`. + +- Bekijk de documentatie van het originele commando: + +`tldr invoke-webrequest` diff --git a/pages.nl/windows/mi.md b/pages.nl/windows/mi.md new file mode 100644 index 00000000000000..88dbcbcc7012d2 --- /dev/null +++ b/pages.nl/windows/mi.md @@ -0,0 +1,7 @@ +# mi + +> In PowerShell is dit commando een alias van `move-item`. + +- Bekijk de documentatie van het originele commando: + +`tldr move-item` diff --git a/pages.nl/windows/microsoft-edge.md b/pages.nl/windows/microsoft-edge.md new file mode 100644 index 00000000000000..e8390955e0afc1 --- /dev/null +++ b/pages.nl/windows/microsoft-edge.md @@ -0,0 +1,12 @@ +# microsoft-edge + +> De command-line utility van Microsoft Edge is beschikbaar als `msedge` voor Windows en `microsoft-edge` voor andere platforms. +> Meer informatie: . + +- Bekijk de documentatie voor Microsoft Edge voor Windows: + +`tldr {{[-p|--platform]}} windows msedge` + +- Bekijk de documentatie voor Microsoft Edge voor andere platforms: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages.nl/windows/mkdir.md b/pages.nl/windows/mkdir.md new file mode 100644 index 00000000000000..965cdcd445682f --- /dev/null +++ b/pages.nl/windows/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> Maak een map aan. +> Meer informatie: . + +- Maak een map aan: + +`mkdir {{pad\naar\map}}` + +- Maak een geneste mappenstructuur recursief aan: + +`mkdir {{pad\naar\sub_map}}` diff --git a/pages.nl/windows/more.md b/pages.nl/windows/more.md new file mode 100644 index 00000000000000..428e38bb0076f4 --- /dev/null +++ b/pages.nl/windows/more.md @@ -0,0 +1,32 @@ +# more + +> Toon gepagineerde uitvoer van `stdin` of een bestand. +> Meer informatie: . + +- Toon gepagineerde uitvoer van `stdin`: + +`{{echo test}} | more` + +- Toon gepagineerde uitvoer van één of meer bestanden: + +`more {{pad\naar\bestand}}` + +- Zet tabs om naar het opgegeven aantal spaties: + +`more {{pad\naar\bestand}} /t{{spaties}}` + +- Wis het scherm voordat de pagina wordt weergegeven: + +`more {{pad\naar\bestand}} /c` + +- Toon de uitvoer beginnend bij regel 5: + +`more {{pad\naar\bestand}} +{{5}}` + +- Schakel uitgebreide interactieve modus in (zie help voor gebruik): + +`more {{pad\naar\bestand}} /e` + +- Toon de help: + +`more /?` diff --git a/pages.nl/windows/mount.md b/pages.nl/windows/mount.md new file mode 100644 index 00000000000000..5f6ccf15f2c92c --- /dev/null +++ b/pages.nl/windows/mount.md @@ -0,0 +1,32 @@ +# mount + +> Koppel Network File System (NFS) netwerkschijven. +> Meer informatie: . + +- Koppel een netwerkshare aan de "Z"-schijfletter: + +`mount \\{{computer_naam}}\{{share_naam}} {{Z:}}` + +- Koppel een netwerkshare aan de eerstvolgende beschikbare schijfletter: + +`mount \\{{computer_naam}}\{{share_naam}} *` + +- Koppel een netwerkshare met een leesslot in seconden (standaard 0,8, kan 0,9 of 1 tot 60 zijn): + +`mount -o timeout={{seconden}} \\{{computer_naam}}\{{share_naam}} {{Z:}}` + +- Koppel een netwerkshare en probeer het maximaal 10 keer opnieuw als het mislukt: + +`mount -o retry=10 \\{{computer_naam}}\{{share_naam}} {{Z:}}` + +- Koppel een netwerkshare met geforceerde hoofdlettergevoeligheid: + +`mount -o casesensitive \\{{computer_naam}}\{{share_naam}} {{Z:}}` + +- Koppel een netwerkshare als een anonieme gebruiker: + +`mount -o anon \\{{computer_naam}}\{{share_naam}} {{Z:}}` + +- Koppel een netwerkshare met een specifiek type koppeling: + +`mount -o mtype={{soft|hard}} \\{{computer_naam}}\{{share_naam}} {{Z:}}` diff --git a/pages.nl/windows/move-item.md b/pages.nl/windows/move-item.md new file mode 100644 index 00000000000000..11e7b353952b1f --- /dev/null +++ b/pages.nl/windows/move-item.md @@ -0,0 +1,37 @@ +# Move-Item + +> Verplaats of hernoem bestanden, mappen, registersleutels en andere PowerShell data items. +> Dit commando kan alleen worden uitgevoerd onder PowerShell. +> Meer informatie: . + +- Hernoem een bestand of map wanneer het doelwit geen bestaande map is: + +`Move-Item {{pad\naar\bron}} {{pad\naar\doel}}` + +- Verplaats een bestand of map naar een bestaande map: + +`Move-Item {{pad\naar\bron}} {{pad\naar\bestaande_map}}` + +- Hernoem of verplaats bestand(en) met een specifieke naam (behandel geen speciale karakters in strings): + +`Move-Item -LiteralPath "{{pad\naar\bron}}" {{pad\naar\bestand_of_map}}` + +- Verplaats meerdere bestanden naar een bestaande map, waardoor de bestandsnamen ongewijzigd blijven: + +`Move-Item {{pad\naar\bron1 , pad\naar\bron2 ...}} {{pad\naar\bestaande_map}}` + +- Verplaats of hernoem registersleutel(s): + +`Move-Item {{pad\naar\bron_sleutel1 , pad\naar\bron_sleutel2 ...}} {{pad\naar\nieuwe_of_bestaande_sleutel}}` + +- Vraag niet om bevestiging voordat bestaande bestanden of registersleutels worden overschreven: + +`mv -Force {{pad\naar\bron}} {{pad\naar\doel}}` + +- Vraag om bevestiging voordat bestaande bestanden worden overschreven, ongeacht bestandsrechten: + +`mv -Confirm {{pad\naar\bron}} {{pad\naar\doel}}` + +- Verplaats bestanden in de dry-run-modus en toon bestanden en mappen die kunnen worden verplaatst zonder ze uit te voeren: + +`mv -WhatIf {{pad\naar\bron}} {{pad\naar\doel}}` diff --git a/pages.nl/windows/move.md b/pages.nl/windows/move.md new file mode 100644 index 00000000000000..e9295a98432527 --- /dev/null +++ b/pages.nl/windows/move.md @@ -0,0 +1,29 @@ +# move + +> Verplaats of hernoem bestanden en mappen. +> In PowerShell is dit commando een alias van `Move-Item`. Deze documentatie is gebaserd op de Command Prompt (`cmd`) versie van `move`. +> Meer informatie: . + +- Bekijk de documentatie van het PowerShell equivalente commando: + +`tldr move-item` + +- Hernoem een bestand of map als het doel een niet-bestaande map is: + +`move {{pad\naar\bron}} {{pad\naar\doel}}` + +- Verplaats een bestand of map naar een bestaande map: + +`move {{pad\naar\bron}} {{pad\naar\bestaande_map}}` + +- Verplaats een map of bestand naar een andere schijf: + +`move {{C:\pad\naar\bron}} {{D:\pad\naar\doel}}` + +- Vraag niet voor bevestiging voordat bestaande bestanden worden overschreven: + +`move /Y {{pad\naar\bron}} {{pad\naar\bestaande_map}}` + +- Vraag voor bevestiging voordat bestaande bestanden worden overschreven, ongeacht de bestandspermissies: + +`move /-Y {{pad\naar\bron}} {{pad\naar\bestaande_map}}` diff --git a/pages.nl/windows/mv.md b/pages.nl/windows/mv.md new file mode 100644 index 00000000000000..35399daa00ba57 --- /dev/null +++ b/pages.nl/windows/mv.md @@ -0,0 +1,12 @@ +# mv + +> In PowerShell is dit commando een alias van `Move-Item`. +> Maar dit commando is niet beschikbaar op de Command Prompt (`cmd`). Gebruik `move` voor soortgelijke functionaliteit. + +- Bekijk de documentatie van het equivalente Command Prompt commando: + +`tldr move` + +- Bekijk de documentatie van het originele PowerShell commando: + +`tldr move-item` diff --git a/pages.nl/windows/netstat.md b/pages.nl/windows/netstat.md new file mode 100644 index 00000000000000..c9f31253f333fb --- /dev/null +++ b/pages.nl/windows/netstat.md @@ -0,0 +1,36 @@ +# netstat + +> Toon actieve TCP-verbindingen, poorten waarop de computer luistert, netwerkadapterstatistieken, de IP-routeringstabel, IPv4- en IPv6-statistieken. +> Meer informatie: . + +- Toon actieve TCP-verbindingen: + +`netstat` + +- Toon alle actieve TCP-verbindingen en de TCP- en UDP-poorten waarop de computer luistert: + +`netstat -a` + +- Toon netwerkadapterstatistieken, zoals het aantal verzonden en ontvangen bytes en pakketten: + +`netstat -e` + +- Toon actieve TCP-verbindingen en druk adressen en poortnummers numeriek uit: + +`netstat -n` + +- Toon actieve TCP-verbindingen en geef het proces-ID (PID) weer voor elke verbinding: + +`netstat -o` + +- Toon de inhoud van de IP-routeringstabel: + +`netstat -r` + +- Toon statistieken per protocol: + +`netstat -s` + +- Toon een lijst van momenteel open poorten en gerelateerde IP-adressen: + +`netstat -an` diff --git a/pages.nl/windows/new-item.md b/pages.nl/windows/new-item.md new file mode 100644 index 00000000000000..3d820e82ede920 --- /dev/null +++ b/pages.nl/windows/new-item.md @@ -0,0 +1,33 @@ +# New-Item + +> Maak een nieuw bestand, map, symbolische link of een registerinvoer. +> Dit commando kan alleen worden uitgevoerd onder PowerShell. +> Meer informatie: . + +- Maak een nieuw leeg bestand (gelijk aan `touch`): + +`New-Item {{pad\naar\bestand}}` + +- Maak een nieuwe map: + +`New-Item -ItemType Directory {{pad\naar\map}}` + +- Schrijf een nieuw tekstbestand met opgegeven inhoud: + +`New-Item {{pad\naar\bestand}} -Value {{content}}` + +- Schrijf hetzelfde tekstbestand op meerdere locaties: + +`New-Item {{pad\naar\bestand1 , pad\naar\bestand2 , ...}} -Value {{content}}` + +- Maak een symbolische link\harde link\junction naar een bestand of map: + +`New-Item -ItemType {{SymbolicLink|HardLink|Junction}} -Path {{pad\naar\link_file}} -Target {{pad\naar\bronbestand_of_map}}` + +- Maak een nieuw lege registerinvoer (in REG_SZ, gebruik `New-ItemProperty` of `Set-ItemProperty` om het waardetype te verfijnen): + +`New-Item {{pad\naar\registersleutel}}` + +- Maak een nieuw lege registerinvoer met gespecificeerde waarde: + +`New-Item {{pad\naar\registersleutel}} -Value {{value}}` diff --git a/pages.nl/windows/ni.md b/pages.nl/windows/ni.md new file mode 100644 index 00000000000000..7354f9f471ea26 --- /dev/null +++ b/pages.nl/windows/ni.md @@ -0,0 +1,7 @@ +# ni + +> In PowerShell is dit commando een alias van `New-Item`. + +- Bekijk de documentatie van het originele commando: + +`tldr new-item` diff --git a/pages.nl/windows/nvm.md b/pages.nl/windows/nvm.md new file mode 100644 index 00000000000000..6a8cb9bd01ec3c --- /dev/null +++ b/pages.nl/windows/nvm.md @@ -0,0 +1,25 @@ +# nvm + +> Installeer, deïnstalleer of wissel tussen verschillende Node.js-versies. +> Ondersteunt versienummers zoals "12.8" of "v16.13.1", en labels zoals "stable", "system", enz. +> Meer informatie: . + +- Installeer een specifieke versie van Node.js: + +`nvm install {{node_versie}}` + +- Stel de standaardversie van Node.js in (moet worden uitgevoerd als Administrator): + +`nvm use {{node_versie}}` + +- Toon alle beschikbare Node.js-versies en markeer de standaardversie: + +`nvm list` + +- Toon alle remote Node.js-versies: + +`nvm ls-remote` + +- Deïnstalleer een bepaalde versie van Node.js: + +`nvm uninstall {{node_versie}}` diff --git a/pages.nl/windows/popd.md b/pages.nl/windows/popd.md new file mode 100644 index 00000000000000..46cbd062c1c18b --- /dev/null +++ b/pages.nl/windows/popd.md @@ -0,0 +1,8 @@ +# popd + +> Wijzigt de huidige map naar de map die is opgeslagen met het `pushd`-commando. +> Meer informatie: . + +- Ga naar de map bovenaan de stapel: + +`popd` diff --git a/pages.nl/windows/powershell.md b/pages.nl/windows/powershell.md new file mode 100644 index 00000000000000..03525d2aa19e6c --- /dev/null +++ b/pages.nl/windows/powershell.md @@ -0,0 +1,37 @@ +# powershell + +> Command-line shell en scripttaal, ontworpen voor systeembeheer. +> Deze opdracht verwijst naar PowerShell versie 5.1 en lager (ook bekend als legacy Windows PowerShell). Voor de nieuwere, platformonafhankelijke versie van PowerShell (ook bekend als PowerShell Core), gebruik `pwsh` in plaats van `powershell`. +> Meer informatie: . + +- Start een interactieve shellsessie: + +`powershell` + +- Start een interactieve shellsessie zonder opstartconfiguraties te laden: + +`powershell -NoProfile` + +- Voer specifieke commando's uit: + +`powershell -Command "{{echo 'powershell wordt uitgevoerd'}}"` + +- Voer een specifiek script uit: + +`powershell -File {{pad/naar/script.ps1}}` + +- Start een sessie met een specifieke versie van PowerShell: + +`powershell -Version {{versie}}` + +- Voorkom dat een shell afsluit na het uitvoeren van opstartcommando's: + +`powershell -NoExit` + +- Beschrijf het formaat van gegevens die naar PowerShell worden verzonden: + +`powershell -InputFormat {{Text|XML}}` + +- Bepaal hoe een output van PowerShell wordt opgemaakt: + +`powershell -OutputFormat {{Text|XML}}` diff --git a/pages.nl/windows/print.win.md b/pages.nl/windows/print.win.md new file mode 100644 index 00000000000000..0c524bb89c095d --- /dev/null +++ b/pages.nl/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> Een tekstbestand afdrukken op een printer. +> Meer informatie: . + +- Druk een tekstbestand af op de standaardprinter: + +`print {{pad\naar\bestand}}` + +- Druk een tekstbestand af op een specifieke printer: + +`print /d:{{printer}} {{pad\naar\bestand}}` diff --git a/pages.nl/windows/pushd.md b/pages.nl/windows/pushd.md new file mode 100644 index 00000000000000..6d429c4f066468 --- /dev/null +++ b/pages.nl/windows/pushd.md @@ -0,0 +1,9 @@ +# pushd + +> Plaats een map op de stapel zodat deze later kan worden benaderd. +> Zie ook: `popd` om terug te schakelen naar de originele map. +> Meer informatie: . + +- Schakel naar een map en zet deze op de stapel: + +`pushd {{pad\naar\map}}` diff --git a/pages.nl/windows/pwd.md b/pages.nl/windows/pwd.md new file mode 100644 index 00000000000000..9bd595c0cde18d --- /dev/null +++ b/pages.nl/windows/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> In PowerShell, is dit commando een alias van `Get-Location`. +> Maar dit commando is niet beschikbaar op de Command Prompt (`cmd`). Gebruik `cd` voor soortgelijke functionaliteit. + +- Bekijk de documentatie van het equivalente Command Prompt commando: + +`tldr cd` + +- Bekijk de documentatie van het originele PowerShell commando: + +`tldr get-location` diff --git a/pages.nl/windows/pwsh-where.md b/pages.nl/windows/pwsh-where.md new file mode 100644 index 00000000000000..3691d9e59857d8 --- /dev/null +++ b/pages.nl/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Dit commando is een alias van `Where-Object`. + +- Bekijk de documentatie van het originele commando: + +`tldr Where-Object` diff --git a/pages.nl/windows/rd.md b/pages.nl/windows/rd.md new file mode 100644 index 00000000000000..38cb38ffa981f8 --- /dev/null +++ b/pages.nl/windows/rd.md @@ -0,0 +1,11 @@ +# rd + +> Deze opdracht is een alias van `rmdir` op de Command Prompt (`cmd`), en vervolgens `Remove-Item` in PowerShell. + +- Bekijk de documentatie van het originele commando: + +`tldr rmdir` + +- Bekijk de documentatie van het originele PowerShell commando: + +`tldr remove-item` diff --git a/pages.nl/windows/reg.md b/pages.nl/windows/reg.md new file mode 100644 index 00000000000000..90c95b1ceeec58 --- /dev/null +++ b/pages.nl/windows/reg.md @@ -0,0 +1,37 @@ +# reg + +> Beheer sleutels en de waardes in een Windows registry. +> Sommige subcommando's zoals `add` hebben hun eigen documentatie. +> Meer informatie: . + +- Voer een registry commando uit: + +`reg {{commando}}` + +- Bekijk de documentatie voor het toevoegen en kopiëren van subsleutels: + +`tldr reg {{add|copy}}` + +- Bekijk de documentatie voor het verwijderen van sleutels en subsleutels: + +`tldr reg {{delete|unload}}` + +- Bekijk de documentatie voor het zoeken, bekijken en vergelijken van sleutels: + +`tldr reg {{compare|query}}` + +- Bekijk de documentatie voor het exporteren en importeren van registry sleutels zonder de eigenaar en ACLs te bewaren: + +`tldr reg {{export|import}}` + +- Bekijk de documentatie voor het opslaan, herstellen en het lossen van sleutels met behoud van de eigenaar en ACLs: + +`tldr reg {{save|restore|load|unload}}` + +- Toon de help: + +`reg /?` + +- Toon de help voor een specifiek commando: + +`reg {{commando}} /?` diff --git a/pages.nl/windows/remove-item.md b/pages.nl/windows/remove-item.md new file mode 100644 index 00000000000000..9d3da6ff7ad123 --- /dev/null +++ b/pages.nl/windows/remove-item.md @@ -0,0 +1,29 @@ +# Remove-Item + +> Verwijder bestanden, mappen, evenals registersleutels en subkeys. +> Deze opdracht kan alleen door PowerShell worden uitgevoerd. +> Meer informatie: . + +- Verwijder specifieke bestanden of registersleutels (zonder subkeys): + +`Remove-Item {{pad\naar\bestand_of_key1 , pad\naar\bestand_of_key2 ...}}` + +- Verwijder verborgen of alleen-lezen bestanden: + +`Remove-Item -Force {{pad\naar\bestand1 , pad\naar\bestand2 ...}}` + +- Verwijder specifieke bestanden of registersleutels interactief gevraagd vóór elke verwijdering: + +`Remove-Item -Confirm {{pad\naar\bestand_of_key1 , pad\naar\bestand_of_key2 ...}}` + +- Verwijder specifieke bestanden en mappen recursief (Windows 10 versie 1909 of hoger): + +`Remove-Item -Recurse {{pad\naar\bestand_of_map1 , pad\naar\bestand_of_map2 ...}}` + +- Verwijder specifieke Windows-registersleutels en al zijn subkeys: + +`Remove-Item -Recurse {{pad\naar\key1 , pad\naar\key2 ...}}` + +- Voer een dry-run van het verwijderproces uit: + +`Remove-Item -WhatIf {{pad\naar\bestand1 , pad\naar\bestand2 ...}}` diff --git a/pages.nl/windows/ri.md b/pages.nl/windows/ri.md new file mode 100644 index 00000000000000..8a9a4191b2c30a --- /dev/null +++ b/pages.nl/windows/ri.md @@ -0,0 +1,7 @@ +# ri + +> In PowerShell is dit commando een alias van `Remove-Item`. + +- Bekijk de documentatie van het originele commando: + +`tldr remove-item` diff --git a/pages.nl/windows/rm.md b/pages.nl/windows/rm.md new file mode 100644 index 00000000000000..03f7753e925039 --- /dev/null +++ b/pages.nl/windows/rm.md @@ -0,0 +1,7 @@ +# rm + +> In PowerShell is dit commando een alias van `Remove-Item`. + +- Bekijk de documentatie van het originele commando: + +`tldr remove-item` diff --git a/pages.nl/windows/rmdir.md b/pages.nl/windows/rmdir.md index 4d3d46da87c056..47c18e62d001b0 100644 --- a/pages.nl/windows/rmdir.md +++ b/pages.nl/windows/rmdir.md @@ -1,16 +1,21 @@ # rmdir -> Verwijdert een directory en zijn inhoud. -> Meer informatie: . +> Verwijdert een map en zijn inhoud. +> In PowerShell is deze opdracht een alias van `Remove-Item`. Deze documentatie is gebaseerd op de Command Prompt (`cmd`) versie van `rmdir`. +> Meer informatie: . -- Verwijder een lege directory: +- Bekijk de documentatie van het equivalente PowerShell-commando: -`rmdir {{pad/naar/directory}}` +`tldr remove-item` -- verwijder een directory en zen inhoud recursief: +- Verwijder een lege map: -`rmdir {{pad/naar/directory}} /s` +`rmdir {{pad/naar/map}}` -- verwijder een directory en zen inhoud recursief zonder te vragen: +- Verwijder een map en zen inhoud recursief: -`rmdir {{pad/naar/directory}} /s /q` +`rmdir {{pad/naar/map}} /s` + +- Verwijder een map en zen inhoud recursief zonder te vragen: + +`rmdir {{pad/naar/map}} /s /q` diff --git a/pages.nl/windows/rpcinfo.md b/pages.nl/windows/rpcinfo.md new file mode 100644 index 00000000000000..27be2993605c95 --- /dev/null +++ b/pages.nl/windows/rpcinfo.md @@ -0,0 +1,20 @@ +# rpcinfo + +> Toon programma's via RPC op externe computers. +> Meer informatie: . + +- Toon alle programma's geregistreerd op de lokale computer: + +`rpcinfo` + +- Toon alle programma's geregistreerd op een externe computer: + +`rpcinfo /p {{computer_naam}}` + +- Roep een specifiek programma aan op een externe computer via TCP: + +`rpcinfo /t {{computer_naam}} {{programma_naam}}` + +- Roep een specifiek programma aan op een externe computer via UDP: + +`rpcinfo /u {{computer_naam}} {{programma_naam}}` diff --git a/pages.nl/windows/sc-config.md b/pages.nl/windows/sc-config.md new file mode 100644 index 00000000000000..6a6d78d6f38a5a --- /dev/null +++ b/pages.nl/windows/sc-config.md @@ -0,0 +1,7 @@ +# sc config + +> Dit commando is een alias van `sc.exe config`. + +- Bekijk de documentatie van het originele commando: + +`tldr sc` diff --git a/pages.nl/windows/sc-create.md b/pages.nl/windows/sc-create.md new file mode 100644 index 00000000000000..762b4281bebd38 --- /dev/null +++ b/pages.nl/windows/sc-create.md @@ -0,0 +1,7 @@ +# sc create + +> Dit commando is een alias van `sc.exe create`. + +- Bekijk de documentatie van het originele commando: + +`tldr sc` diff --git a/pages.nl/windows/sc-delete.md b/pages.nl/windows/sc-delete.md new file mode 100644 index 00000000000000..5b176fb1f68d54 --- /dev/null +++ b/pages.nl/windows/sc-delete.md @@ -0,0 +1,7 @@ +# sc delete + +> Dit commando is een alias van `sc.exe delete`. + +- Bekijk de documentatie van het originele commando: + +`tldr sc` diff --git a/pages.nl/windows/sc-query.md b/pages.nl/windows/sc-query.md new file mode 100644 index 00000000000000..1e5cf4c85e6361 --- /dev/null +++ b/pages.nl/windows/sc-query.md @@ -0,0 +1,7 @@ +# sc query + +> Dit commando is een alias van `sc.exe query`. + +- Bekijk de documentatie van het originele commando: + +`tldr sc` diff --git a/pages.nl/windows/sc.md b/pages.nl/windows/sc.md new file mode 100644 index 00000000000000..bd1bd8bf327eac --- /dev/null +++ b/pages.nl/windows/sc.md @@ -0,0 +1,20 @@ +# sc + +> Communiceer met de Service Control Manager en services. +> Meer informatie: . + +- Toon de status van een service (geen service naam zal alle services tonen): + +`sc.exe query {{service_naam}}` + +- Start een service asynchroon: + +`sc.exe create {{service_naam}} binpath= {{pad\naar\service_binary_bestand}}` + +- Stop een service asynchroon: + +`sc.exe delete {{service_naam}}` + +- Zet het type van een service: + +`sc.exe config {{service_naam}} type= {{service_type}}` diff --git a/pages.nl/windows/sdelete.md b/pages.nl/windows/sdelete.md new file mode 100644 index 00000000000000..27500ede76bee4 --- /dev/null +++ b/pages.nl/windows/sdelete.md @@ -0,0 +1,20 @@ +# sdelete + +> Verwijder veilig een bestand/map van de schijf, of maak de vrije ruimte op een volume/fysieke schijf schoon. +> Meer informatie: . + +- Verwijder bestanden met 3 [p]asses: + +`sdelete -p 3 {{pad\naar\bestand1 pad\naar\bestand2 ...}}` + +- Verwijder mappen en de [s]ubmappen met 1 pass (default): + +`sdelete -s {{pad\naar\map1 pad\naar\map2 ...}}` + +- Maak de vrije ruimte schoon van volume D: met 3 [p]asses: + +`sdelete -p 3 D:` + +- Maak de vrije ruimte schoon met nullen ([z]) van fysieke schijf 2, welke geen volumes meer mag bevatten die opgeschoond kunnen worden: + +`sdelete -z 2` diff --git a/pages.nl/windows/sdelete64.md b/pages.nl/windows/sdelete64.md new file mode 100644 index 00000000000000..106794e62297f9 --- /dev/null +++ b/pages.nl/windows/sdelete64.md @@ -0,0 +1,7 @@ +# sdelete64 + +> Dit commando is de 64 bit versie van `sdelete`. + +- Bekijk de documentatie van het originele commando: + +`tldr sdelete` diff --git a/pages.nl/windows/select-string.md b/pages.nl/windows/select-string.md new file mode 100644 index 00000000000000..4ad9542f707d58 --- /dev/null +++ b/pages.nl/windows/select-string.md @@ -0,0 +1,26 @@ +# Select-String + +> Vindt tekst in string en bestanden in PowerShell. +> Dit commando kan alleen gebruikt worden via PowerShell. +> Je kan `Select-String` gebruiken zoals `grep` in UNIX of `findstr.exe` in Windows. +> Meer informatie: . + +- Zoek naar een patroon binnen een bestand: + +`Select-String -Path "{{pad\naar\bestand}}" -Pattern '{{zoek_patroon}}'` + +- Zoek naar een exacte string (schakelt reguliere expressies uit): + +`Select-String -SimpleMatch "{{exacte_string}}" {{pad\naar\bestand}}` + +- Zoek naar een patroon in alle `.ext` bestanden in de huidige map: + +`Select-String -Path "{{*.ext}}" -Pattern '{{zoek_patroon}}'` + +- Toon het opgegeven aantal regels voor en na de regel die overeenkomt met de patroon: + +`Select-String --Context {{2,3}} "{{zoek_patroon}}" {{pad\naar\bestand}}` + +- Zoek in `stdin` voor regels die niet overeenkomen met een patroon: + +`Get-Content {{pad\naar\bestand}} | Select-String --NotMatch "{{zoek_patroon}}"` diff --git a/pages.nl/windows/set-location.md b/pages.nl/windows/set-location.md new file mode 100644 index 00000000000000..0c9dd76139a91a --- /dev/null +++ b/pages.nl/windows/set-location.md @@ -0,0 +1,33 @@ +# Set-Location + +> Geef de huidige werkmap weer of ga naar een andere map. +> Deze opdracht kan alleen worden gebruikt via PowerShell. +> Meer informatie: . + +- Ga naar de opgegeven map: + +`Set-Location {{pad\naar\map}}` + +- Ga naar een map in een andere drive: + +`Set-Location {{C}}:{{pad\naar\map}}` + +- Ga en toon de locatie van de opgegeven map: + +`Set-Location {{pad\naar\map}} -PassThru` + +- Ga naar de bovenliggende map van de huidige map: + +`Set-Location ..` + +- Ga naar de thuismap van de huidige gebruiker: + +`Set-Location ~` + +- Ga terug/vooruit naar de eerder gekozen map: + +`Set-Location {{-|+}}` + +- Ga naar de hoofdmap van de huidige drive: + +`Set-Location \` diff --git a/pages.nl/windows/shutdown.md b/pages.nl/windows/shutdown.md index 039ff2c8a12977..0798cb3064130f 100644 --- a/pages.nl/windows/shutdown.md +++ b/pages.nl/windows/shutdown.md @@ -1,7 +1,7 @@ # shutdown > Een tool om een machine af te sluiten, her op te starten of af te melden. -> Meer informatie: . +> Meer informatie: . - Sluit de huidige machine af: @@ -13,7 +13,7 @@ - Herstart de huidige machine: -`shutdown /r` +`shutdown /r /t 0` - Zet de huidige machine in slaapstand: @@ -27,10 +27,6 @@ `shutdown /s /t {{seconden}}` -- Specifieer een reden voor het afsluiten van de machine: - -`shutdown /s /c "{{reden}}"` - - Breek een afsluit sequentie af vooraleer de timer was afgelopen: `shutdown /a` diff --git a/pages.nl/windows/sl.md b/pages.nl/windows/sl.md new file mode 100644 index 00000000000000..abd91de75519c8 --- /dev/null +++ b/pages.nl/windows/sl.md @@ -0,0 +1,7 @@ +# sl + +> In PowerShell is dit commando een alias van `Set-Location`. + +- Bekijk de documentatie van het originele commando: + +`tldr set-location` diff --git a/pages.nl/windows/slmgr.md b/pages.nl/windows/slmgr.md new file mode 100644 index 00000000000000..bebb0799fd6aaa --- /dev/null +++ b/pages.nl/windows/slmgr.md @@ -0,0 +1,7 @@ +# slmgr + +> Dit commando is een alias van `slmgr.vbs`. + +- Bekijk de documentatie van het originele commando: + +`tldr slmgr.vbs` diff --git a/pages.nl/windows/slmgr.vbs.md b/pages.nl/windows/slmgr.vbs.md new file mode 100644 index 00000000000000..9987244d2e7c73 --- /dev/null +++ b/pages.nl/windows/slmgr.vbs.md @@ -0,0 +1,37 @@ +# slmgr.vbs + +> Installeer, activeer en beheer Windows licenties. +> Dit commando kan uw huidige Windows licentie overschrijven, deactiveren en/of verwijderen. Ga met voorzichtigheid verder. +> Meer informatie: . + +- Toon de huidige Windows [l]icentie [i]nformatie: + +`slmgr.vbs /dli` + +- Toon de installatie [i]D voor het huidige apparaat. Nuttig voor offline licentie activatie: + +`slmgr.vbs /dti` + +- Toon de verloopdatum en -tijd van de huidige licentie: + +`slmgr.vbs /xpr` + +- [i]nstalleer een nieuwe Windows licentie [p]roduct sleutel. Vereist beheerdersrechten en zal de bestaande licentie overschrijven: + +`slmgr.vbs /ipk {{product_sleutel}}` + +- [a]c[t]iveer de Windows product licentie [o]nline. Vereist beheerdersrechten: + +`slmgr.vbs /ato` + +- [a]c[t]iveer de Windows [p]roduct licentie offline. Vereist beheerdersrechten een bevestigings ID verstrekt door Microsoft Product Activation Center: + +`slmgr.vbs /atp {{bevestigings_id}}` + +- Wis de huidige licentie [p]roduct sleutel van het Windows register. Dit zal de huidige licentie niet deactiveren of verwijderen, maar voorkomt dat de sleutel in de toekomst wordt gestolen door kwaadaardige programma's: + +`slmgr.vbs /cpky` + +- Deinstalleer de huidigie licentie (door zijn [p]roduct sleutel): + +`slmgr.vbs /upk` diff --git a/pages.nl/windows/sls.md b/pages.nl/windows/sls.md new file mode 100644 index 00000000000000..01273c0f2302a7 --- /dev/null +++ b/pages.nl/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Dit commando is een alias van `Select-String`. + +- Bekijk de documentatie van het originele commando: + +`tldr select-string` diff --git a/pages.nl/windows/wget.md b/pages.nl/windows/wget.md new file mode 100644 index 00000000000000..7e55ed1a2f336d --- /dev/null +++ b/pages.nl/windows/wget.md @@ -0,0 +1,16 @@ +# wget + +> In PowerShell kan dit commando een alias zijn van `Invoke-WebRequest` als het originele `wget` programma () niet correct is geïnstalleerd. +> Meer informatie: . + +- Bekijk de documentatie van het originele `wget` commando: + +`tldr wget -p common` + +- Bekijk de documentatie van het PowerShell's `Invoke-WebRequest` commando: + +`tldr invoke-webrequest` + +- Controleer of `wget` correct is geïnstalleerd door het versienummer te printen. Als dit commando resulteert in een error, heeft PowerShell dit commando mogelijk vervangen met `Invoke-WebRequest`: + +`wget --version` diff --git a/pages.nl/windows/where-object.md b/pages.nl/windows/where-object.md new file mode 100644 index 00000000000000..03650cf01acceb --- /dev/null +++ b/pages.nl/windows/where-object.md @@ -0,0 +1,17 @@ +# Where-Object + +> Selecteert objecten uit een verzameling op basis van hun eigenschapswaarden. +> Dit commando kan alleen gebruikt worden via PowerShell. +> Meer informatie: . + +- Filter aliassen op naam: + +`Get-Alias | Where-Object -{{Property}} {{Name}} -{{eq}} {{naam}}` + +- Toon een lijst van alle services die momenteel zijn gestopt. De `$_` automatische variable representeert ieder object dat word gestuurd naar de `Where-Object` cmdlet: + +`Get-Service | Where-Object {$_.Status -eq "Stopped"}` + +- Gebruik meerdere condities: + +`Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }` diff --git a/pages.nl/windows/whoami.md b/pages.nl/windows/whoami.md new file mode 100644 index 00000000000000..135ed382ce364b --- /dev/null +++ b/pages.nl/windows/whoami.md @@ -0,0 +1,28 @@ +# whoami + +> Toon details over de huidige gebruiker. +> Meer informatie: . + +- Toon de gebruikersnaam van de huidige gebruiker: + +`whoami` + +- Toon de groepen waarvan de huidige gebruiker lid is: + +`whoami /groups` + +- Toon de privileges van de huidige gebruiker: + +`whoami /priv` + +- Toon de user principal name (UPN) van de huidige gebruiker: + +`whoami /upn` + +- Toon de logon ID van de huidige gebruiker: + +`whoami /logonid` + +- Toon alle informatie voor de huidige gebruiker: + +`whoami /all` diff --git a/pages.no/common/ab.md b/pages.no/common/ab.md new file mode 100644 index 00000000000000..cafe8de3d4feb2 --- /dev/null +++ b/pages.no/common/ab.md @@ -0,0 +1,24 @@ +# ab + +> Apache HTTP server referansemåling verktøy. +> Mer informasjon: . + +- Utfør 100 HTTP GET-forespørsler til en gitt URL: + +`ab -n 100 {{url}}` + +- Utfør 100 HTTP GET-forespørsler, i samtidige grupper på 10, til en URL: + +`ab -n 100 -c 10 {{url}}` + +- Utfør 100 HTTP POST-forespørsler til en URL, med å bruke en JSON-nyttelast fra en fil: + +`ab -n 100 -T {{application/json}} -p {{vei/til/fil.json}} {{url}}` + +- Bruk HTTP [K]eep Alive, dvs. utfør flere forespørsler i én HTTP-økt: + +`ab -k {{url}}` + +- Angi maksimalt antall sekunder å bruke på referansemåling: + +`ab -t {{60}} {{url}}` diff --git a/pages.no/common/abduco.md b/pages.no/common/abduco.md new file mode 100644 index 00000000000000..d58be8e57b7f55 --- /dev/null +++ b/pages.no/common/abduco.md @@ -0,0 +1,24 @@ +# abduco + +> Terminal økt behandler. +> Mer informasjon: . + +- List opp økter: + +`abduco` + +- Legg ved en økt, opprett den hvis den ikke eksisterer: + +`abduco -A {{navn}} {{bash}}` + +- Legg ved en økt med `dvtm`, opprett den hvis den ikke eksisterer: + +`abduco -A {{navn}}` + +- Koble fra en økt: + +`` + +- Legg ved en økt i skrivebeskyttet modus: + +`abduco -Ar {{navn}}` diff --git a/pages.no/common/ack.md b/pages.no/common/ack.md new file mode 100644 index 00000000000000..d254ebf22e5ebe --- /dev/null +++ b/pages.no/common/ack.md @@ -0,0 +1,37 @@ +# ack + +> Et søkeverktøy som grep, optimalisert for utviklere. +> Se også: `rg`, som er mye raskere. +> Mer informasjon: . + +- Søk etter filer som inneholder en streng eller regulært uttrykk i gjeldende katalog rekursivt: + +`ack "{{søkemønster}}"` + +- Søk etter et mønster som ikke skiller mellom store og små bokstaver: + +`ack {{[-i|--ignore-case]}} "{{søkemønster}}"` + +- Søk etter linjer som samsvarer med et mønster, skriv ut bare den samsvarende teksten og ikke resten av linjen: + +`ack {{[-o|--output '$&']}} "{{søkemønster}}"` + +- Begrens søket til filer av en bestemt type: + +`ack {{[-t|--type]}} {{ruby}} "{{søkemønster}}"` + +- Ikke søk i filer av en bestemt type: + +`ack {{[-t|--type]}} no{{ruby}} "{{søkemønster}}"` + +- Tell totalt antall treff funnet: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{søkemønster}}"` + +- Skriv ut filnavnene og antall treff kun for hver fil: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{søkemønster}}"` + +- List opp alle verdiene som kan brukes med `--type`: + +`ack --help-types` diff --git a/pages.no/common/arch.md b/pages.no/common/arch.md index 63c197da05a330..8e1a4f6303fabb 100644 --- a/pages.no/common/arch.md +++ b/pages.no/common/arch.md @@ -2,6 +2,7 @@ > Vis navnet på systemarkitekturen. > Se også `uname`. +> Mer informasjon: . - Vis systemets arkitektur: diff --git a/pages.no/common/bg.md b/pages.no/common/bg.md new file mode 100644 index 00000000000000..48e457f6d9b2c4 --- /dev/null +++ b/pages.no/common/bg.md @@ -0,0 +1,12 @@ +# bg + +> Gjenopptar jobber som er suspendert (f.eks. ved hjelp av ``), og holder dem i gang i bakgrunnen. +> Mer informasjon: . + +- Gjenoppta den sist suspenderte jobben og kjør den i bakgrunnen: + +`bg` + +- Gjenoppta en spesifikk jobb (bruk `jobs -l` for å finne riktig ID) og kjør den i bakgrunnen: + +`bg %{{jobb_id}}` diff --git a/pages.no/common/cat.md b/pages.no/common/cat.md new file mode 100644 index 00000000000000..79eab2575ba959 --- /dev/null +++ b/pages.no/common/cat.md @@ -0,0 +1,16 @@ +# cat + +> Skriv ut og sammenføy filer. +> Mer informasjon: . + +- Skriv ut innholdet i en fil til standard utgang: + +`cat {{fil}}` + +- Sammenføy flere filer til en målfil: + +`cat {{fil1 fil2 ...}} > {{målfil}}` + +- Legg til flere filer til målfilen: + +`cat {{fil1 fil2 ...}} >> {{målfil}}` diff --git a/pages.no/common/chsh.md b/pages.no/common/chsh.md deleted file mode 100644 index 5b26076fb1d7e2..00000000000000 --- a/pages.no/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> Forandre brukerens påloggings shell. - -- Forandre shell: - -`chsh -s {{sti/til/shell_binær}} {{brukernavn}}` diff --git a/pages.no/common/clang-cpp.md b/pages.no/common/clang-cpp.md new file mode 100644 index 00000000000000..0d14e6e6ecc127 --- /dev/null +++ b/pages.no/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Denne kommandoen er et alias for `clang++`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr clang++` diff --git a/pages.no/common/clojure.md b/pages.no/common/clojure.md new file mode 100644 index 00000000000000..3e9238b68a582d --- /dev/null +++ b/pages.no/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Denne kommandoen er et alias for `clj`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr clj` diff --git a/pages.no/common/cola.md b/pages.no/common/cola.md new file mode 100644 index 00000000000000..1a68e27f31288d --- /dev/null +++ b/pages.no/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Denne kommandoen er et alias for `git-cola`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr git-cola` diff --git a/pages.no/common/env.md b/pages.no/common/env.md new file mode 100644 index 00000000000000..f59e8021aafd28 --- /dev/null +++ b/pages.no/common/env.md @@ -0,0 +1,28 @@ +# env + +> Vis miljøet eller kjør et program i et modifisert miljø. +> Mer informasjon: . + +- Vis miljøet: + +`env` + +- Kjør et program. Ofte brukt i skript etter shebang (#!) for å slå opp stien til programmet: + +`env {{program}}` + +- Slett miljøet og kjør et program: + +`env -i {{program}}` + +- Fjern variabel fra miljøet og kjør et program: + +`env -u {{variabel}} {{program}}` + +- Angi en variabel og kjør et program: + +`env {{variabel}}={{verdi}} {{program}}` + +- Angi flere variabler og kjør et program: + +`env {{variabel1}}={{verdi}} {{variabel2}}={{verdi}} {{variabel3}}={{verdi}} {{program}}` diff --git a/pages.no/common/false.md b/pages.no/common/false.md index ad86208726817f..e7d93280aa79ea 100644 --- a/pages.no/common/false.md +++ b/pages.no/common/false.md @@ -1,6 +1,7 @@ # false > Returner en utgangskode på 1. +> Mer informasjon: . - Returner en utgangskode på 1: diff --git a/pages.no/common/fossil-ci.md b/pages.no/common/fossil-ci.md new file mode 100644 index 00000000000000..8a4df60eff7059 --- /dev/null +++ b/pages.no/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Denne kommandoen er et alias for `fossil commit`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr fossil commit` diff --git a/pages.no/common/fossil-forget.md b/pages.no/common/fossil-forget.md new file mode 100644 index 00000000000000..47f98f3ba8d78f --- /dev/null +++ b/pages.no/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Denne kommandoen er et alias for `fossil rm`. +> Mer informasjon: . + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr fossil rm` diff --git a/pages.no/common/fossil-new.md b/pages.no/common/fossil-new.md new file mode 100644 index 00000000000000..8ef042275dde23 --- /dev/null +++ b/pages.no/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Denne kommandoen er et alias for `fossil init`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr fossil init` diff --git a/pages.no/common/fossil-rm.md b/pages.no/common/fossil-rm.md new file mode 100644 index 00000000000000..03a2334e62f59c --- /dev/null +++ b/pages.no/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil delete + +> Denne kommandoen er et alias for `fossil rm`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr fossil rm` diff --git a/pages.no/common/gh-cs.md b/pages.no/common/gh-cs.md new file mode 100644 index 00000000000000..dd4c88c54debb4 --- /dev/null +++ b/pages.no/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Denne kommandoen er et alias for `gh codespace`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr gh codespace` diff --git a/pages.no/common/gnmic-sub.md b/pages.no/common/gnmic-sub.md new file mode 100644 index 00000000000000..9e57a7724f91e0 --- /dev/null +++ b/pages.no/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Denne kommandoen er et alias for `gnmic subscribe`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr gnmic subscribe` diff --git a/pages.no/common/lb.md b/pages.no/common/lb.md new file mode 100644 index 00000000000000..7e6b85d9fe2360 --- /dev/null +++ b/pages.no/common/lb.md @@ -0,0 +1,29 @@ +# lb + +> Et verktøy for å administrere en blogg i den gjeldende katalogen. +> Utkast og innlegg velges interaktivt når man kjører kommandoene. +> Mer informasjon: . + +- Lag et nytt utkast: + +`lb new` + +- Rediger et utkast: + +`lb edit` + +- Slett et utkast: + +`lb trash` + +- Publiser et utkast: + +`lb publish` + +- Slett et publisert innlegg: + +`lb delete` + +- Avpubliser et publisert innlegg for å redigere det som et utkast igjen: + +`lb revise` diff --git a/pages.no/common/llvm-ar.md b/pages.no/common/llvm-ar.md new file mode 100644 index 00000000000000..78a27d04c0ba03 --- /dev/null +++ b/pages.no/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Denne kommandoen er et alias for `ar`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr ar` diff --git a/pages.no/common/llvm-g++.md b/pages.no/common/llvm-g++.md new file mode 100644 index 00000000000000..f37fbe64249699 --- /dev/null +++ b/pages.no/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Denne kommandoen er et alias for `clang++`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr clang++` diff --git a/pages.no/common/llvm-gcc.md b/pages.no/common/llvm-gcc.md new file mode 100644 index 00000000000000..d588af50c89049 --- /dev/null +++ b/pages.no/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Denne kommandoen er et alias for `clang`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr clang` diff --git a/pages.no/common/llvm-nm.md b/pages.no/common/llvm-nm.md new file mode 100644 index 00000000000000..f1fa713125b521 --- /dev/null +++ b/pages.no/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Denne kommandoen er et alias for `nm`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr nm` diff --git a/pages.no/common/llvm-objdump.md b/pages.no/common/llvm-objdump.md new file mode 100644 index 00000000000000..09c487f1187c2f --- /dev/null +++ b/pages.no/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Denne kommandoen er et alias for `objdump`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr objdump` diff --git a/pages.no/common/llvm-strings.md b/pages.no/common/llvm-strings.md new file mode 100644 index 00000000000000..b76c96b3878f45 --- /dev/null +++ b/pages.no/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Denne kommandoen er et alias for `strings`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr strings` diff --git a/pages.no/common/logname.md b/pages.no/common/logname.md index 3f55e17edc7833..8639376522531f 100644 --- a/pages.no/common/logname.md +++ b/pages.no/common/logname.md @@ -1,6 +1,7 @@ # logname > Viser brukerens login navn. +> Mer informasjon: . - Vis brukerens nåværende innloggings navn: diff --git a/pages.no/common/mscore.md b/pages.no/common/mscore.md new file mode 100644 index 00000000000000..ebeca84fba952b --- /dev/null +++ b/pages.no/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Denne kommandoen er et alias for `musescore`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr musescore` diff --git a/pages.no/common/pio-init.md b/pages.no/common/pio-init.md new file mode 100644 index 00000000000000..fce9dc73b60619 --- /dev/null +++ b/pages.no/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Denne kommandoen er et alias for `pio project`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr pio project` diff --git a/pages.no/common/piodebuggdb.md b/pages.no/common/piodebuggdb.md new file mode 100644 index 00000000000000..f99d67f3e81e71 --- /dev/null +++ b/pages.no/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Denne kommandoen er et alias for `pio debug`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr pio debug` diff --git a/pages.no/common/platformio.md b/pages.no/common/platformio.md new file mode 100644 index 00000000000000..681349eca20a5b --- /dev/null +++ b/pages.no/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Denne kommandoen er et alias for `pio`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr pio` diff --git a/pages.no/common/r2.md b/pages.no/common/r2.md new file mode 100644 index 00000000000000..b9a39d72acb8dd --- /dev/null +++ b/pages.no/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Denne kommandoen er et alias for `radare2`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr radare2` diff --git a/pages.no/common/time.md b/pages.no/common/time.md index ee60cff87a2957..f1b5f8a7cef0c3 100644 --- a/pages.no/common/time.md +++ b/pages.no/common/time.md @@ -1,7 +1,8 @@ # time > See hvor lang en kommand tar. +> Mer informasjon: . -- Tid "ls": +- Tid `command`: -`time ls` +`time {{command}}` diff --git a/pages.no/common/tldrl.md b/pages.no/common/tldrl.md new file mode 100644 index 00000000000000..d1ff959a1ba423 --- /dev/null +++ b/pages.no/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Denne kommandoen er et alias for `tldr-lint`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr tldr-lint` diff --git a/pages.no/common/tlmgr-arch.md b/pages.no/common/tlmgr-arch.md new file mode 100644 index 00000000000000..4c14bc1f9843a0 --- /dev/null +++ b/pages.no/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Denne kommandoen er et alias for `tlmgr platform`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr tlmgr platform` diff --git a/pages.no/common/tty.md b/pages.no/common/tty.md index b7414169376e15..85aa294c16c2a4 100644 --- a/pages.no/common/tty.md +++ b/pages.no/common/tty.md @@ -1,6 +1,7 @@ # tty > Returner terminal navn. +> Mer informasjon: . - Print fil navnet fra denne terminalen: diff --git a/pages.no/common/unalias.md b/pages.no/common/unalias.md index 2a7e896245ece6..a7e804b40f9d46 100644 --- a/pages.no/common/unalias.md +++ b/pages.no/common/unalias.md @@ -1,6 +1,7 @@ # unalias > Fjern aliaser. +> Mer informasjon: . - Fjern et alias: diff --git a/pages.no/common/unclutter.md b/pages.no/common/unclutter.md index 29e53af3c3182c..969cc30e95940e 100644 --- a/pages.no/common/unclutter.md +++ b/pages.no/common/unclutter.md @@ -1,6 +1,7 @@ # unclutter > Gjemmer musepekeren. +> Mer informasjon: . - Gjem musepekeren etter 3 sekunder: diff --git a/pages.no/common/vi.md b/pages.no/common/vi.md new file mode 100644 index 00000000000000..069e8d8290fa0a --- /dev/null +++ b/pages.no/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Denne kommandoen er et alias for `vim`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr vim` diff --git a/pages.no/common/view.md b/pages.no/common/view.md index d5c1946addc02a..324e7af0c1f0b6 100644 --- a/pages.no/common/view.md +++ b/pages.no/common/view.md @@ -2,6 +2,7 @@ > En skrivebeskytter vesjon av `vim`. > Dette tilsvarer `vim -R`. +> Mer informasjon: . - Åpne en fil: diff --git a/pages.no/common/zless.md b/pages.no/common/zless.md index df9338577e1729..d4e01f07f6db66 100644 --- a/pages.no/common/zless.md +++ b/pages.no/common/zless.md @@ -1,6 +1,7 @@ # zless > Vis komprimerte filer. +> Mer informasjon: . - Bla gjennom et komprimert arkiv med `less`: diff --git a/pages.no/linux/anbox.md b/pages.no/linux/anbox.md new file mode 100644 index 00000000000000..09ae3abe064de1 --- /dev/null +++ b/pages.no/linux/anbox.md @@ -0,0 +1,8 @@ +# anbox + +> Kjør Android-applikasjoner på et hvilket som helst Linux-operativsystem. +> Mer informasjon: . + +- Start Anbox i appbehandleren: + +`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}` diff --git a/pages.no/linux/ip-route-list.md b/pages.no/linux/ip-route-list.md new file mode 100644 index 00000000000000..588b526e19aee6 --- /dev/null +++ b/pages.no/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Denne kommandoen er et alias for `ip route show`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr ip route show` diff --git a/pages.no/linux/ncal.md b/pages.no/linux/ncal.md new file mode 100644 index 00000000000000..f6c52bc590ec89 --- /dev/null +++ b/pages.no/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Denne kommandoen er et alias for `cal`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr cal` diff --git a/pages.no/windows/cinst.md b/pages.no/windows/cinst.md new file mode 100644 index 00000000000000..802264dc5f092d --- /dev/null +++ b/pages.no/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Denne kommandoen er et alias for `choco install`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr choco install` diff --git a/pages.no/windows/clist.md b/pages.no/windows/clist.md new file mode 100644 index 00000000000000..b81dd6af54786a --- /dev/null +++ b/pages.no/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Denne kommandoen er et alias for `choco list`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr choco list` diff --git a/pages.no/windows/cuninst.md b/pages.no/windows/cuninst.md new file mode 100644 index 00000000000000..68c7002d4d82d5 --- /dev/null +++ b/pages.no/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Denne kommandoen er et alias for `choco uninstall`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr choco uninstall` diff --git a/pages.no/windows/iwr.md b/pages.no/windows/iwr.md new file mode 100644 index 00000000000000..c183a13d6b53ed --- /dev/null +++ b/pages.no/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Denne kommandoen er et alias for `invoke-webrequest`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr invoke-webrequest` diff --git a/pages.no/windows/pwsh-where.md b/pages.no/windows/pwsh-where.md new file mode 100644 index 00000000000000..5183dd2453469a --- /dev/null +++ b/pages.no/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Denne kommandoen er et alias for `Where-Object`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr Where-Object` diff --git a/pages.no/windows/sls.md b/pages.no/windows/sls.md new file mode 100644 index 00000000000000..dad16337054a8b --- /dev/null +++ b/pages.no/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Denne kommandoen er et alias for `Select-String`. + +- Vis dokumentasjonen for den opprinnelige kommandoen: + +`tldr select-string` diff --git a/pages.no/windows/title.md b/pages.no/windows/title.md new file mode 100644 index 00000000000000..0e5c0098b37ec1 --- /dev/null +++ b/pages.no/windows/title.md @@ -0,0 +1,8 @@ +# title + +> Setter tittelen på Ledetekst vindu. +> Mer informasjon: . + +- Setter tittelen på Ledetekst vindu: + +`title {{ny_tittel}}` diff --git a/pages.pl/android/am.md b/pages.pl/android/am.md new file mode 100644 index 00000000000000..4c0acd6b00cf1f --- /dev/null +++ b/pages.pl/android/am.md @@ -0,0 +1,20 @@ +# am + +> Menedżer aktywności Android. +> Więcej informacji: . + +- Rozpocznij aktywność z określoną [n]azwą komponentu i pakietu: + +`am start -n {{com.android.settings/.Settings}}` + +- Rozpocznij [a]kcję intencji i przekaż do niej [d]ane: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Rozpocznij aktywność dopasowaną do konkretnej akcji i kategorii ([c]ategory): + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Konwertuj intencję na URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.pl/android/bugreport.md b/pages.pl/android/bugreport.md new file mode 100644 index 00000000000000..cbd915715a463f --- /dev/null +++ b/pages.pl/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Wyświetl raport o błędach Android. +> Ta komenda może być używana tylko poprzez `adb shell`. +> Więcej informacji: . + +- Wyświetl pełny raport błędów dla urządzenia Android: + +`bugreport` diff --git a/pages.pl/android/bugreportz.md b/pages.pl/android/bugreportz.md new file mode 100644 index 00000000000000..4ffc7eb324912c --- /dev/null +++ b/pages.pl/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Wygeneruj skompresowany raport błędów Android. +> Ta komenda może być używana tylko poprzez `adb shell`. +> Więcej informacji: . + +- Wygeneruj pełny, skompresowany raport błędów urządzenia Android: + +`bugreportz` + +- Wyświetl postęp w wykonywaniu operacji `bugreportz`: + +`bugreportz -p` + +- Wypisz zawartość raportu błędów Android do `stdout`: + +`bugreportz -s` + +- Wyświetl pomoc: + +`bugreportz -h` + +- Wyświetl wersję: + +`bugreportz -v` diff --git a/pages.pl/android/cmd.md b/pages.pl/android/cmd.md new file mode 100644 index 00000000000000..5d84e9aa27950c --- /dev/null +++ b/pages.pl/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Menedżer usług Android. +> Więcej informacji: . + +- Pokaż wszystkie działające usługi: + +`cmd -l` + +- Uruchom konkretną usługę: + +`cmd {{usługa}}` + +- Uruchom usługę z określonymi argumentami: + +`cmd {{usługa}} {{argument1 argument2 ...}}` diff --git a/pages.pl/android/dalvikvm.md b/pages.pl/android/dalvikvm.md new file mode 100644 index 00000000000000..6a430eb78fa03a --- /dev/null +++ b/pages.pl/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Wirtualna maszyna Android Java. +> Więcej informacji: . + +- Uruchom określony program Java: + +`dalvikvm -classpath {{ścieżka/do/pliku.jar}} {{nazwaklasy}}` diff --git a/pages.pl/android/dumpsys.md b/pages.pl/android/dumpsys.md new file mode 100644 index 00000000000000..bd3e6b3c1a909b --- /dev/null +++ b/pages.pl/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Uzyskaj informacje o usługach systemu Android. +> Ta komenda może być używana tylko poprzez `adb shell`. +> Więcej informacji: . + +- Uzyskaj dane diagnostyczne dla wszystkich usług systemowych: + +`dumpsys` + +- Uzyskaj dane diagnostyczne dla określonej usługi systemowej: + +`dumpsys {{usługa}}` + +- Wypisz wszystkie usługi, o których `dumpsys` może podać informacje: + +`dumpsys -l` + +- Wypisz argumenty specyficzne dla danej usługi: + +`dumpsys {{usługa}} -h` + +- Wyklucz określoną usługę z wyjścia diagnostycznego: + +`dumpsys --skip {{usługa}}` + +- Określ czas oczekiwania w sekundach (domyślnie 10s): + +`dumpsys -t {{8}}` diff --git a/pages.pl/android/getprop.md b/pages.pl/android/getprop.md new file mode 100644 index 00000000000000..f266635c0b4093 --- /dev/null +++ b/pages.pl/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Pokaż informacje o właściwościach systemu Android. +> Więcej informacji: . + +- Wyświetl informacje o właściwościach systemu Android: + +`getprop` + +- Wyświetl informację o konkretnej właściwości: + +`getprop {{właściwość}}` + +- Wyświetl wersję API SDK: + +`getprop {{ro.build.version.sdk}}` + +- Wyświetl wersję Androida: + +`getprop {{ro.build.version.release}}` + +- Wyświetl model urządzenia Android: + +`getprop {{ro.vendor.product.model}}` + +- Wyświetl status odblokowania OEMu: + +`getprop {{ro.oem_unlock_supported}}` + +- Wyświetl adres MAC karty Wi-Fi systemu Android: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.pl/android/input.md b/pages.pl/android/input.md new file mode 100644 index 00000000000000..73714a7344c699 --- /dev/null +++ b/pages.pl/android/input.md @@ -0,0 +1,25 @@ +# input + +> Wysyłaj kody zdarzeń lub gestów na ekranie dotykowym do urządzenia Android. +> Ta komenda może być używana tylko poprzez `adb shell`. +> Więcej informacji: . + +- Wyślij kod zdarzenia dla pojedynczego znaku do urządzenia Android: + +`input keyevent {{kod_zdarzenia}}` + +- Wyślij tekst do urządzenia z systemem Android (`%s` reprezentuje spacje): + +`input text "{{tekst}}"` + +- Wyślij pojedyncze stuknięcie do urządzenia Android: + +`input tap {{pozycja_x}} {{pozycja_y}}` + +- Wyślij gest przesunięcia do urządzenia Android: + +`input swipe {{x_start}} {{y_start}} {{x_koniec}} {{y_koniec}} {{czas_trwania_w_ms}}` + +- Wyślij długie naciśnięcie do urządzenia Android za pomocą gestu przesunięcia: + +`input swipe {{pozycja_x}} {{pozycja_y}} {{pozycja_x}} {{pozycja_y}} {{czas_trwania_w_ms}}` diff --git a/pages.pl/android/logcat.md b/pages.pl/android/logcat.md new file mode 100644 index 00000000000000..e5a35649637f84 --- /dev/null +++ b/pages.pl/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Zrzut dziennika komunikatów systemowych, w tym śladów stosu po wystąpieniu błędu i komunikatów informacyjnych rejestrowanych przez aplikacje. +> Więcej informacji: . + +- Wyświetl logi systemowe: + +`logcat` + +- Zapisz logi systemowe do pliku ([f]ile): + +`logcat -f {{ścieżka/do/pliku}}` + +- Wyświetl linie pasujące do wyrażenia regularnego: + +`logcat --regex {{wyrażenie_regularne}}` + +- Wyświetl logi dla określonego PID: + +`logcat --pid {{pid}}` + +- Wyświetl logi dla procesu określonego pakietu: + +`logcat --pid $(pidof -s {{pakiet}})` diff --git a/pages.pl/android/pkg.md b/pages.pl/android/pkg.md new file mode 100644 index 00000000000000..d51b50053b18cd --- /dev/null +++ b/pages.pl/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Narzędzie do zarządzania pakietami dla Termuxa. +> Więcej informacji: . + +- Zaktualizuj wszystkie zainstalowane pakiety: + +`pkg upgrade` + +- Zainstaluj pakiet: + +`pkg install {{pakiet}}` + +- Odinstaluj pakiet: + +`pkg uninstall {{pakiet}}` + +- Zainstaluj ponownie pakiet: + +`pkg reinstall {{pakiet}}` + +- Wyszukaj pakiet: + +`pkg search {{pakiet}}` diff --git a/pages.pl/android/pm.md b/pages.pl/android/pm.md new file mode 100644 index 00000000000000..289342469c982f --- /dev/null +++ b/pages.pl/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Pokaż informacje o aplikacjach na urządzeniu z systemem Android. +> Więcej informacji: . + +- Wypisz wszystkie zainstalowane aplikacje: + +`pm list packages` + +- Wypisz wszystkie zainstalowane aplikacje [s]ystemowe: + +`pm list packages -s` + +- Wypisz wszystkie zainstalowane aplikacje firm trzecich ([3]): + +`pm list packages -3` + +- Wypisz aplikacje pasujące do określonych słów kluczowych: + +`pm list packages {{słowo_kluczowe1 słowo_kluczowe2 ...}}` + +- Pokaż ścieżkę APK konkretnej aplikacji: + +`pm path {{aplikacja}}` diff --git a/pages.pl/android/screencap.md b/pages.pl/android/screencap.md new file mode 100644 index 00000000000000..99a73c50c3c764 --- /dev/null +++ b/pages.pl/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Zrób zrzut ekranu wyświetlacza urządzenia przenośnego. +> To polecenie może być używane tylko przez `adb shell`. +> Więcej informacji: . + +- Zrób zrzut ekranu: + +`screencap {{ścieżka/do/pliku}}` diff --git a/pages.pl/android/settings.md b/pages.pl/android/settings.md new file mode 100644 index 00000000000000..1db9a12d6bc554 --- /dev/null +++ b/pages.pl/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Uzyskaj informacje o systemie operacyjnym Android. +> Więcej informacji: . + +- Wypisz ustawienia w przestrzeni `global`: + +`settings list {{global}}` + +- Wyświetl wartość określonego ustawienia: + +`settings get {{global}} {{airplane_mode_on}}` + +- Ustaw wartość określonego ustawienia: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Usuń określone ustawienie: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.pl/android/wm.md b/pages.pl/android/wm.md new file mode 100644 index 00000000000000..162117918faa37 --- /dev/null +++ b/pages.pl/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Wyświetl informacje o ekranie urządzenia Android. +> Ta komenda może być używana tylko poprzez `adb shell`. +> Więcej informacji: . + +- Wyświetl fizyczny rozmiaru ekranu urządzenia Android: + +`wm size` + +- Wyświetl fizyczną gęstość ekranu urządzenia Android: + +`wm density` diff --git a/pages.pl/common/!.md b/pages.pl/common/!.md new file mode 100644 index 00000000000000..f6b87654639839 --- /dev/null +++ b/pages.pl/common/!.md @@ -0,0 +1,36 @@ +# ! + +> Ponownie wykorzystuj i powiększaj historię powłoki w `sh`, Bash, Zsh, `rbash` i `ksh`. +> Więcej informacji: . + +- Zastąp poprzednią komendą i uruchom ją z `sudo`: + +`sudo !!` + +- Zastąp komendą na podstawie jej numeru linii znalezionego za pomocą `history`: + +`!{{liczba}}` + +- Zastąp poleceniem, które zostało użyte określoną liczbę wierszy wstecz: + +`!-{{liczba}}` + +- Zastąp ostatnim poleceniem zaczynającym się od ciągu znaków: + +`!{{ciąg_znaków}}` + +- Zastąp argumentami ostatniego polecenia: + +`{{polecenie}} !*` + +- Zastąp ostatnim argumentem ostatniego polecenia: + +`{{polecenie}} !$` + +- Zastąp ostatnim poleceniem, ale bez ostatniego argumentu: + +`!:-` + +- Wypisz ostatnie polecenie zaczynające się od ciągu znaków, nie uruchamiając go: + +`!{{ciąg_znaków}}:p` diff --git a/pages.pl/common/%.md b/pages.pl/common/%.md new file mode 100644 index 00000000000000..d417ed6a5043dd --- /dev/null +++ b/pages.pl/common/%.md @@ -0,0 +1,28 @@ +# % + +> Zarządzaj zadaniami. +> Więcej informacji: . + +- Przenieś bieżące zadanie na pierwszy plan: + +`%` + +- Przenieś poprzednie zadanie na pierwszy plan: + +`%-` + +- Przenieś zadanie numer `N` na pierwszy plan: + +`%{{N}}` + +- Przenieś zadanie, którego polecenie zaczyna się od `ciąg_znaków` na pierwszy plan: + +`%{{ciąg_znaków}}` + +- Przenieś zadanie, którego polecenie zawiera `ciąg_znaków` na pierwszy plan: + +`%?{{ciąg_znaków}}` + +- Wznów wstrzymane zadanie: + +`%{{1}} &` diff --git a/pages.pl/common/..md b/pages.pl/common/..md new file mode 100644 index 00000000000000..713dce53da511a --- /dev/null +++ b/pages.pl/common/..md @@ -0,0 +1,7 @@ +# . + +> To polecenie jest aliasem `source`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr source` diff --git a/pages.pl/common/7z.md b/pages.pl/common/7z.md index d6addad3bb2345..38128db41df260 100644 --- a/pages.pl/common/7z.md +++ b/pages.pl/common/7z.md @@ -1,36 +1,36 @@ # 7z > Archiwizator plików o wysokim stopniu kompresji. -> Więcej informacji: . +> Więcej informacji: . -- Zarchiwizuj plik lub katalog: +- Dodaj plik lub katalog do nowego lub istniejącego archiwum: -`7z a {{zarchiwizowane.7z}} {{sciezka/do/pliku_lub_katalogu}}` +`7z a {{ścieżka/do/archiwum.7z}} {{ścieżka/do/pliku_lub_katalogu}}` -- Zaszyfruj istniejące archiwum (w tym nagłówki)): +- Zaszyfruj istniejące archiwum (w tym nazwy plików): -`7z a {{zaszyfrowane.7z}} -p{{haslo}} -mhe=on {{zarchiwizowane.7z}}` +`7z a {{ścieżka/do/zaszyfrowanego.7z}} -p{{hasło}} -mhe=on {{ścieżka/do/archiwum.7z}}` -- Wyodrębnij istniejący plik 7z z oryginalną strukturą katalogów: +- Wypakuj istniejące archiwum zachowując oryginalną strukturę katalogów: -`7z x {{zarchiwizowane.7z}}` +`7z x {{ścieżka/do/archiwum.7z}}` -- Wyodrębnij archiwum ze ścieżką wyjściową zdefiniowaną przez użytkownika: +- Wypakuj archiwum do określonego katalogu: -`7z x {{zarchiwizowane.7z}} -o{{sciezka/do/wyjscia}}` +`7z x {{ścieżka/do/archiwum.7z}} -o{{ścieżka/do/wyjścia}}` -- Wypakuj archiwum do stdout: +- Wypakuj archiwum do `stdout`: -`7z x {{zarchiwizowane.7z}} -so` +`7z x {{ścieżka/do/archiwum.7z}} -so` -- Archiwizuj przy użyciu określonego typu archiwum: +- [a]rchiwizuj przy użyciu określonego typu archiwum: -`7z a -t{{zip|gzip|bzip2|tar}} {{zarchiwizowane.7z}} {{sciezka/do/pliku_lub_katalogu}}` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{ścieżka/do/archiwum}} {{ścieżka/do/pliku_lub_katalogu}}` -- Wyświetl dostępne typy archiwów: +- Wypisz zawartość pliku archiwum: -`7z i` +`7z l {{ścieżka/do/archiwum.7z}}` -- Wyświetl zawartość pliku archiwum: +- Ustaw poziom kompresji (wyższy oznacza wyższą kompresję, ale wolniejszą): -`7z l {{zarchiwizowane.7z}}` +`7z a {{ścieżka/do/archiwum.7z}} -mx={{0|1|3|5|7|9}} {{ścieżka/do/pliku_lub_katalogu}}` diff --git a/pages.pl/common/7za.md b/pages.pl/common/7za.md index 18b5be85b44f63..182f24280e1ee0 100644 --- a/pages.pl/common/7za.md +++ b/pages.pl/common/7za.md @@ -1,25 +1,37 @@ # 7za > Archiwizator plików o wysokim współczynniku kompresji. -> Samodzielna wersja `7z` z obsługą mniejszej liczby typów archiwów. -> Więcej informacji: . +> Podobny do `7z` z wyjątkiem tego, że obsługuje mniej typów plików, ale jest wieloplatformowy. +> Więcej informacji: . -- Zarchiwizuj plik lub katalog: +- Z[a]rchiwizuj plik lub katalog: -`7za a {{archiwum.7z}} {{scieżka/do/pliku_lub_katalogu}}` +`7za a {{ścieżka/do/archiwum.7z}} {{ścieżka/do/pliku_lub_katalogu}}` -- Wyodrębnij istniejący plik 7z z oryginalną strukturą katalogów: +- Zaszyfruj istniejące archiwum (w tym nazwy plików): -`7za x {{archiwum}}` +`7za a {{ścieżka/do/zaszyfrowanego.7z}} -p{{hasło}} -mhe={{on}} {{ścieżka/do/archiwum.7z}}` -- Zarchiwizuj przy użyciu określonego typu archiwum: +- Wypakuj archiwum, zachowując oryginalną strukturę katalogów: + +`7za x {{ścieżka/do/archiwum.7z}}` + +- Wypakuj archiwum do określonego katalogu: + +`7za x {{ścieżka/do/archiwum.7z}} -o{{ścieżka/do/wyjścia}}` -`7za a -t{{zip|gzip|bzip2|tar}} {{archiwum}} {{scieżka/do/pliku_lub_katalogu}}` +- Wypakuj archiwum do `stdout`: -- Wypisz dostępe typy archiwów: +`7za x {{ścieżka/do/archiwum.7z}} -so` -`7za i` +- Zarchiwizuj przy użyciu określonego typu archiwum: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{ścieżka/do/archiwum.7z}} {{ścieżka/do/pliku_lub_katalogu}}` - Wypisz zawartość pliku archiwum: -`7za l {{archiwum}}` +`7za l {{ścieżka/do/archiwum.7z}}` + +- Ustaw poziom kompresji (wyższy oznacza wyższą kompresję, ale wolniejszą): + +`7za a {{ścieżka/do/archiwum.7z}} -mx={{0|1|3|5|7|9}} {{ścieżka/do/pliku_lub_katalogu}}` diff --git a/pages.pl/common/7zr.md b/pages.pl/common/7zr.md index 74c0940916872d..ea4957bcfe4b6a 100644 --- a/pages.pl/common/7zr.md +++ b/pages.pl/common/7zr.md @@ -1,17 +1,33 @@ # 7zr > Archiwizator plików o wysokim współczynniku kompresji. -> Samodzielna wersja `7z` obsługująca tylko pliki typu .7z. -> Więcej informacji: . +> Podobny do `7z` z wyjątkiem tego, że obsługuje tylko pliki `7z`. +> Więcej informacji: . -- Zarchiwizuj plik lub katalog: +- Z[a]rchiwizuj plik lub katalog: -`7zr a {{archiwum.7z}} {{scieżka/do/pliku_lub_katalogu}}` +`7zr a {{ścieżka/do/archiwum.7z}} {{ścieżka/do/pliku_lub_katalogu}}` -- Wyodrębnij istniejący plik 7z z oryginalną strukturą katalogów: +- Zaszyfruj istniejące archiwum (w tym nazwy plików): -`7zr x {{archiwum.7z}}` +`7zr a {{ścieżka/do/zaszyfrowanego.7z}} -p{{hasło}} -mhe={{on}} {{ścieżka/do/archiwum.7z}}` + +- Wypakuj archiwum, zachowując oryginalną strukturę katalogów: + +`7zr x {{ścieżka/do/archiwum.7z}}` + +- Wypakuj archiwum do określonego katalogu: + +`7zr x {{ścieżka/do/archiwum.7z}} -o{{ścieżka/do/wyjścia}}` + +- Wypakuj archiwum do `stdout`: + +`7zr x {{ścieżka/do/archiwum.7z}} -so` - Wypisz zawartość pliku archiwum: -`7zr l {{archiwum.7z}}` +`7zr l {{ścieżka/do/archiwum.7z}}` + +- Ustaw poziom kompresji (wyższy oznacza wyższą kompresję, ale wolniejszą): + +`7zr a {{ścieżka/do/archiwum.7z}} -mx={{0|1|3|5|7|9}} {{ścieżka/do/pliku_lub_katalogu}}` diff --git a/pages.pl/common/[.md b/pages.pl/common/[.md new file mode 100644 index 00000000000000..7ae0d5ba9d6791 --- /dev/null +++ b/pages.pl/common/[.md @@ -0,0 +1,33 @@ +# [ + +> Sprawdź typy plików i porównaj wartości. +> Zwraca 0 gdy porównanie zwróciło wartość poprawną, 1 gdy fałszywą. +> Więcej informacji: . + +- Sprawdź, czy podana zmienna jest/nie jest równa łańcuchowi znaków: + +`[ "${{zmienna}}" {{=|!=}} "{{ciąg_znaków}}" ]` + +- Sprawdź, czy dana zmienna jest równa/nierówna/większa/mniejsza/większa lub równa/mniejsza lub równa określonej liczbie: + +`[ "${{zmienna}}" -{{eq|ne|gt|lt|ge|le}} {{liczba}} ]` + +- Sprawdź, czy określona zmienna ma [n]iepustą wartość: + +`[ -n "${{zmienna}}" ]` + +- Sprawdź, czy określona zmienna ma pustą wartość: + +`[ -z "${{zmienna}}" ]` + +- Sprawdź, czy podany plik ([f]ile) istnieje: + +`[ -f {{ścieżka/do/pliku}} ]` + +- Sprawdź, czy określony folder istnieje: + +`[ -d {{ścieżka/do/folderu}} ]` + +- Sprawdź, czy określony plik lub folder istnieje: + +`[ -e {{ścieżka/do/pliku_lub_folderu}} ]` diff --git a/pages.pl/common/ack.md b/pages.pl/common/ack.md index a37da1da6f5338..30bc6ff0ea4246 100644 --- a/pages.pl/common/ack.md +++ b/pages.pl/common/ack.md @@ -1,32 +1,37 @@ # ack -> Narzędzie wyszukiwania, takie jak grep, zoptymalizowane dla programistów. -> Więcej informacji: . +> Narzędzie wyszukiwania, podobne do `grep`, zoptymalizowane dla programistów. +> Zobacz także: `rg`, który jest znacznie szybszy. +> Więcej informacji: . -- Znajdź pliki zawierające „foo”: +- Szukaj rekurencyjnie plików zawierających ciąg znaków lub wyrażenie regularne w bieżącym katalogu: -`ack {{foo}}` +`ack "{{wzorzec_wyszukiwania}}"` -- Znajdź pliki określonego typu: +- Szukaj na podstawie wzorca bez uwzględniania wielkości liter: -`ack --ruby {{foo}}` +`ack {{[-i|--ignore-case]}} "{{wzorzec_wyszukiwania}}"` -- Policz całkowitą liczbę dopasowań dla terminu „foo”: +- Szukaj linii zawierających wzorzec, wyświetlając tylk[o] pasujący tekst bez pozostałej zawartości linii: -`ack -ch {{foo}}` +`ack {{[-o|--output '$&']}} "{{wzorzec_wyszukiwania}}"` -- Pokaż nazwy plików zawierające „foo” i liczbę dopasowań w każdym pliku: +- Ogranicz wyszukiwanie do plików wyłącznie określonego typu: -`ack -cl {{foo}}` +`ack {{[-t|--type]}} {{ruby}} "{{wzorzec_wyszukiwania}}"` -- Przeszukaj plik pod kątem określonego ciągu znaków: +- Wyszukaj z pominięciem plików określonego typu: -`ack bar "{{foo bar}}" {{scieżka/do/pliku_lub_katalogu}}` +`ack {{[-t|--type]}} no{{ruby}} "{{wzorzec_wyszukiwania}}"` -- Przeszukaj plik pod kątem określonego wzorca regex: +- Policz całkowitą liczbę znalezionych dopasowań: -`ack bar "{{[bB]ar \d+}}" {{scieżka/do/pliku_lub_katalogu}}` +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{wzorzec_wyszukiwania}}"` -- Wypisz wszystkie prawidłowe typy: +- Pokaż nazwy plików i liczbę dopasowań w każdym z nich: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{wzorzec_wyszukiwania}}"` + +- Wypisz wszystkie możliwe wartości które mogą być użyte dla `--type`: `ack --help-types` diff --git a/pages.pl/common/adb-install.md b/pages.pl/common/adb-install.md index 1f20ddc156706a..5ebe06981708ca 100644 --- a/pages.pl/common/adb-install.md +++ b/pages.pl/common/adb-install.md @@ -1,20 +1,28 @@ # adb install > Android Debug Bridge Install: wysyłaj pakiety do instancji emulatora Androida lub podłączonych urządzeń z systemem Android. -> Więcej informacji: . +> Więcej informacji: . -- Wyślij aplikację na Androida do emulatora / urządzenia: +- Wyślij aplikację na Androida do emulatora/urządzenia: -`adb install {{scieżka/do/pliku.apk}}` +`adb install {{ścieżka/do/pliku.apk}}` -- Zainstaluj ponownie istniejącą aplikację, zachowując jej dane: +- Wyślij aplikację Android do określonego emulatora/urządzenia (nadpisuje `$ANDROID_SERIAL`): -`adb install -r {{scieżka/do/pliku.apk}}` +`adb -s {{numer_seryjny}} install {{ścieżka/do/pliku.apk}}` -- Przyznaj wszystkie uprawnienia wymienione w pliku manifestu aplikacji: +- Zainstaluj ponownie ([r]einstall) istniejącą aplikację, zachowując jej dane: -`adb install -g {{scieżka/do/pliku.apk}}` +`adb install -r {{ścieżka/do/pliku.apk}}` + +- Wyślij aplikację na Androida, umożliwiając obniżenie ([d]owngrade) wersji kodu (tylko pakiety debugowalne): + +`adb install -d {{ścieżka/do/pliku.apk}}` + +- Przyznaj ([g]rant) wszystkie uprawnienia wymienione w pliku manifestu aplikacji: + +`adb install -g {{ścieżka/do/pliku.apk}}` - Szybko zaktualizuj zainstalowany pakiet, aktualizując tylko te części APK, które się zmieniły: -`adb install --fastdeploy {{scieżka/do/pliku.apk}}` +`adb install --fastdeploy {{ścieżka/do/pliku.apk}}` diff --git a/pages.pl/common/adb-reverse.md b/pages.pl/common/adb-reverse.md index 737e4539a416fd..1a8249a6f94d16 100644 --- a/pages.pl/common/adb-reverse.md +++ b/pages.pl/common/adb-reverse.md @@ -1,20 +1,20 @@ # adb reverse > Android Debug Bridge Reverse: zwrotne połączenie socketowe z emulowanego lub prawdziwego urządzenia Android. -> Więcej informacji: . +> Więcej informacji: . -- Listuj wszystkie zwrotne połączenia socketowe z emulatorów i urządzeń: +- Wypisz wszystkie zwrotne połączenia socketowe z emulatorów i urządzeń: `adb reverse --list` - Przekieruj port TCP z emulatora lub urządzenia do localhost: -`adb reverse tcp:{{remote_port}} tcp:{{local_port}}` +`adb reverse tcp:{{zdalny_port}} tcp:{{lokalny_port}}` - Usuń wybrane zwrotne połączenie z emulatora lub urządzenia: -`adb reverse --remove tcp:{{remote_port}}` +`adb reverse --remove tcp:{{zdalny_port}}` -- Usuń wszystkie zwrotne połączenie z emulatorów lub urządzeń: +- Usuń wszystkie zwrotne połączenia z wszystkich emulatorów lub urządzeń: `adb reverse --remove-all` diff --git a/pages.pl/common/adb-shell.md b/pages.pl/common/adb-shell.md index f28bae6a1da115..db506a1b706360 100644 --- a/pages.pl/common/adb-shell.md +++ b/pages.pl/common/adb-shell.md @@ -1,9 +1,9 @@ # adb shell > Android Debug Bridge Shell: uruchamiaj zdalne polecenia powłoki na instancji emulatora Androida lub podłączonych urządzeniach z Androidem. -> Więcej informacji: . +> Więcej informacji: . -- Uruchom interaktywną zdalną powłokę na emulatorze / urządzeniu: +- Uruchom interaktywną zdalną powłokę na emulatorze lub urządzeniu: `adb shell` @@ -11,25 +11,25 @@ `adb shell getprop` -- Przywróć wszystkie uprawnienia wykonawcze do ich wartości domyślnych: +- Przywróć domyślne ustawienia wszystkich uprawnień uruchamiania: `adb shell pm reset-permissions` - Odwołaj niebezpieczne pozwolenie dla aplikacji: -`adb shell pm revoke {{paczka}} {{pozwolenie}}` +`adb shell pm revoke {{pakiet}} {{pozwolenie}}` - Wywołaj zdarzenie klawisza: -`adb shell input keyevent {{kod_klucza}}` +`adb shell input keyevent {{kod_klawisza}}` - Wyczyść dane aplikacji na emulatorze lub urządzeniu: -`adb shell pm clear {{paczka}}` +`adb shell pm clear {{pakiet}}` -- Rozpocznij aktywność na emulatorze / urządzeniu: +- Rozpocznij aktywność na emulatorze lub urządzeniu: -`adb shell am start -n {{paczka}}/{{aktywność}}` +`adb shell am start -n {{pakiet}}/{{aktywność}}` - Rozpocznij aktywność domową na emulatorze lub urządzeniu: diff --git a/pages.pl/common/adb.md b/pages.pl/common/adb.md index f712821f4cd2bf..65557c74a14cb9 100644 --- a/pages.pl/common/adb.md +++ b/pages.pl/common/adb.md @@ -1,7 +1,8 @@ # adb > Android Debug Bridge: komunikuj się z instancją emulatora Androida lub podłączonym urządzeniem z Androidem. -> Więcej informacji: . +> Niektóre podkomendy takie jak `shell` mają osobną dokumentację. +> Więcej informacji: . - Sprawdź czy proces serwera adb działa, jeśli nie, uruchom go: @@ -11,22 +12,22 @@ `adb kill-server` -- Uruchom powłokę w instancji emulatora lub urządzeniu: +- Uruchom powłokę w docelowej instancji emulatora/urządzenia: `adb shell` -- Wypchnij aplikację Androidową do instancji emulatora lub urządzenia: +- Wyślij aplikację Android do emulatora/urządzenia: `adb install -r {{ścieżka/do/pliku.apk}}` -- Skopiuj plik/katalog do urządzenia: +- Skopiuj plik/katalog z urządzenia docelowego: -`adb pull {{ścieżka/do/pliku_lub_katalogu_na_urządzeniu}} {{ścieżka/do/lokalnego_katalogu}}` +`adb pull {{ścieżka/do/pliku_lub_katalogu_na_urządzeniu}} {{ścieżka/do/lokalnego_katalogu_docelowego}}` -- Skopiuj plik/katalog z urządzenia: +- Skopiuj plik/katalog do urządzenia docelowego: -`adb push {{ścieżka/do/pliku_lub_katalogu_na_urządzeniu}} {{ścieżka/do/lokalnego_katalogu}}` +`adb push {{ścieżka/do/lokalnego_pliku_lub_katalogu}} {{ścieżka/do/docelowego_katalogu_na_urządzeniu}}` -- Listuj połączone lub emulowane urządzenia: +- Wypisz wszystkie połączone urządzenia: `adb devices` diff --git a/pages.pl/common/ag.md b/pages.pl/common/ag.md index 72946ec9ed7743..594c7bf897192d 100644 --- a/pages.pl/common/ag.md +++ b/pages.pl/common/ag.md @@ -1,25 +1,25 @@ # ag -> The Silver Searcher. Podobny do ack, ale ma być szybszy. -> Więcej informacji: . +> The Silver Searcher. Podobny do `ack`, ale ma być szybszy. +> Więcej informacji: . -- Znajdź pliki zawierające „foo” i wypisz dopasowane linie: +- Znajdź pliki zawierające "foo" i wypisz dopasowane linie: `ag {{foo}}` -- Znajdź pliki zawierające „foo” w określonym katalogu: +- Znajdź pliki zawierające "foo" w określonym katalogu: -`ag {{foo}} {{scieżka/do/katalogu}}` +`ag {{foo}} {{ścieżka/do/katalogu}}` -- Znajdź pliki zawierające „foo”, ale podaj tylko nazwy plików: +- Znajdź pliki zawierające "foo", ale wypisz tylko nazwy plików: `ag -l {{foo}}` -- Znajdź pliki zawierające „FOO” bez rozróżniania wielkości liter i wypisz tylko dopasowanie, a nie całą linię: +- Znajdź pliki zawierające "FOO" bez rozróżniania wielkości liter i wypisz tylko dopasowanie, a nie całą linię: `ag -i -o {{FOO}}` -- Znajdź „foo” w plikach o nazwie pasującej do „bar”: +- Znajdź "foo" w plikach o nazwie pasującej do "bar": `ag {{foo}} -G {{bar}}` @@ -27,6 +27,6 @@ `ag '{{^ba(r|z)$}}'` -- Znajdź pliki o nazwie pasującej do „foo”: +- Znajdź pliki o nazwie pasującej do "foo": `ag -g {{foo}}` diff --git a/pages.pl/common/arp.md b/pages.pl/common/arp.md index d2660eb5c8da5b..f01058da455e23 100644 --- a/pages.pl/common/arp.md +++ b/pages.pl/common/arp.md @@ -1,19 +1,16 @@ # arp -> Pokaż i manipuluj pamięcią podręczną ARP systemu. +> Pokaż i manipuluj systemową pamięcią podręczną ARP. +> Więcej informacji: . -- Pokaż bieżącą tabelę arp: +- Pokaż bieżącą tabelę ARP: `arp -a` -- Wyczyść całość cache: - -`sudo arp -a -d` - - Usuń konkretny wpis: `arp -d {{adres}}` -- Utwórz wpis: +- Utwórz nowy wpis w tabeli ARP: `arp -s {{adres}} {{adres_mac}}` diff --git a/pages.pl/common/astronomer.md b/pages.pl/common/astronomer.md index c233d2ec439e98..a329ff5bcbd319 100644 --- a/pages.pl/common/astronomer.md +++ b/pages.pl/common/astronomer.md @@ -1,16 +1,16 @@ # astronomer -> Narzędzie wykrywające nielegalne gwiazdki z kont botów w projektach GithHub. +> Wykrywaj fałszywe gwiazdki z kont botów w projektach GitHub. > Więcej informacji: . - Skanuj repozytorium: `astronomer {{tldr-pages/tldr-node-client}}` -- Zeskanuj maksymalną liczbę gwiazdek w repozytorium: +- Skanuj maksymalną liczbę gwiazdek w repozytorium: `astronomer {{tldr-pages/tldr-node-client}} --stars {{50}}` -- Przeskanuj repozytorium, w tym raporty porównawcze: +- Skanuj repozytorium, w tym raporty porównawcze: `astronomer {{tldr-pages/tldr-node-client}} --verbose` diff --git a/pages.pl/common/at.md b/pages.pl/common/at.md index 15e9e7460e2d33..a15b532b4ef37a 100644 --- a/pages.pl/common/at.md +++ b/pages.pl/common/at.md @@ -1,16 +1,17 @@ # at -> Wykonuje polecenia o zadanym czasie. -> Aby działać poprawnie wymaga działającego serwisu atd (lub atrun). +> Jednokrotnie wykonaj polecenia w późniejszym czasie. +> Usługa atd (lub atrun) powinna być uruchomiona dla rzeczywistych wykonań. +> Więcej informacji: . -- Wykonaj za 5 minut polecenie wprowadzone przy użyciu wejścia standardowego (aby zakończyć naciśnij `Ctrl + D`): +- Wykonaj polecenia z `stdin` po upływie 5 minut (naciśnij `` po zakończeniu): `at now + 5 minutes` -- Wykonaj o 10:00 rano polecenie podane z wejścia standardowego: +- Wykonaj polecenie z `stdin` dziś o 10:00: -`echo "{{./zrób_backup.sh}}" | at 1000` +`echo "{{./zrób_kopię_zapasową_bazy_danych.sh}}" | at 1000` -- Wykonaj polecenia z podanego pliku w najbliższy wtorek o 21:30: +- Wykonaj polecenia z danego pliku w następny wtorek: `at -f {{ścieżka/do/pliku}} 9:30 PM Tue` diff --git a/pages.pl/common/atom.md b/pages.pl/common/atom.md index ab6fcbe1500a1f..372c357cd6e502 100644 --- a/pages.pl/common/atom.md +++ b/pages.pl/common/atom.md @@ -2,25 +2,26 @@ > Wieloplatformowy edytor tekstu z obsługą wtyczek. > Wtyczkami zarządza się poprzez `apm`. +> Uwaga: Atom został wycofany i nie jest już aktywnie rozwijany. > Więcej informacji: . - Otwórz plik lub katalog: -`atom {{sciezka/do/pliku_lub_katalogu}}` +`atom {{ścieżka/do/pliku_lub_katalogu}}` -- Otwórz plik lub katalog w nowym oknie: +- Otwórz plik lub katalog w [n]owym oknie: -`atom -n {{sciezka/do/pliku_lub_katalogu}}` +`atom -n {{ścieżka/do/pliku_lub_katalogu}}` - Otwórz plik lub katalog w istniejącym oknie: -`atom --add {{sciezka/do/pliku_lub_katalogu}}` +`atom --add {{ścieżka/do/pliku_lub_katalogu}}` - Otwórz Atom w trybie bezpiecznym (nie ładuje żadnych dodatkowych pakietów): `atom --safe` -- Zapobiega rozwidlaniu się w tle, utrzymuje Atom podłączony do terminala: +- Zapobiegaj rozwidlaniu się w tle, utrzymując Atoma podłączonego do terminala: `atom --foreground` diff --git a/pages.pl/common/atq.md b/pages.pl/common/atq.md index ec68d169697bcf..c7e38ad29da8d0 100644 --- a/pages.pl/common/atq.md +++ b/pages.pl/common/atq.md @@ -1,12 +1,13 @@ # atq -> Pokaż oczekujące zadania użytkownika wprowadzone wcześniej przez polecenia `at` lub `batch`. +> Pokaż zadania zaplanowane przez polecenia `at` lub `batch`. +> Więcej informacji: . -- Pokaż zaplanowane zadania: +- Pokaż zaplanowane zadania bieżącego użytkownika: `atq` -- Pokaż zadania z kolejki oznaczonej 'a' (kolejki mają jednoznakowe identyfikatory): +- Pokaż zadania z kolejki 'a' (kolejki mają jednoznakowe nazwy): `atq -q {{a}}` diff --git a/pages.pl/common/atrm.md b/pages.pl/common/atrm.md index 8fb59d0ce8bd9b..b2388c74c0be38 100644 --- a/pages.pl/common/atrm.md +++ b/pages.pl/common/atrm.md @@ -1,7 +1,8 @@ # atrm -> Usuwa zadania o zadanych identyfikatorach (numerach) wcześniej zakolejkowane przez `at` lub `batch` +> Usuń zadania zaplanowane przez komendę `at` lub `batch`. > Aby znaleźć numery zadań, użyj `atq`. +> Więcej informacji: . - Usuń zadanie numer 10: diff --git a/pages.pl/common/audit2why.md b/pages.pl/common/audit2why.md new file mode 100644 index 00000000000000..ffea061ce1b8ba --- /dev/null +++ b/pages.pl/common/audit2why.md @@ -0,0 +1,7 @@ +# audit2why + +> To polecenie jest aliasem `audit2allow --why`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr audit2allow` diff --git a/pages.pl/common/autoflake.md b/pages.pl/common/autoflake.md index d5ed507f08edc3..1903cb718c16c3 100644 --- a/pages.pl/common/autoflake.md +++ b/pages.pl/common/autoflake.md @@ -1,20 +1,20 @@ # autoflake -> Narzędzie do usuwania nieużywanych importów i zmiennych z kodu Python. +> Usuń nieużywane importy i zmienne z kodu Python. > Więcej informacji: . - Usuń nieużywane zmienne z jednego pliku i wyświetl różnicę: -`autoflake --remove-unused-variables {{file.py}}` +`autoflake --remove-unused-variables {{ścieżka/do/pliku.py}}` - Usuń nieużywane importy z wielu plików i wyświetl różnice: -`autoflake --remove-all-unused-imports {{file1.py}} {{file2.py}} {{file3.py}}` +`autoflake --remove-all-unused-imports {{ścieżka/do/pliku1.py ścieżka/do/pliku2.py ...}}` -- Usuń nieużywane zmienne z pliku, zastępując plik: +- Usuń nieużywane zmienne z pliku, nadpisując plik: -`autoflake --remove-unused-variables --in-place {{file.py}}` +`autoflake --remove-unused-variables --in-place {{ścieżka/do/pliku.py}}` - Usuń nieużywane zmienne rekurencyjnie ze wszystkich plików w katalogu, nadpisując każdy plik: -`autoflake --remove-unused-variables --in-place --recursive {{sciezka/do/katalogu}}` +`autoflake --remove-unused-variables --in-place --recursive {{ścieżka/do/katalogu}}` diff --git a/pages.pl/common/awk.md b/pages.pl/common/awk.md index f69ba88611ed1b..924beca3c09921 100644 --- a/pages.pl/common/awk.md +++ b/pages.pl/common/awk.md @@ -3,34 +3,34 @@ > Wszechstronny język programowania do pracy na plikach. > Więcej informacji: . -- Wydrukuj piątą kolumnę (aka. pole) w pliku oddzielonym spacjami: +- Wypisz piątą kolumnę (tzw. pole) w pliku oddzielonym spacjami: -`awk '{print $5}' {{nazwapliku}}` +`awk '{print $5}' {{ścieżka/do/pliku}}` -- Wydrukuj drugą kolumnę wierszy zawierających "something" w pliku oddzielonym spacjami: +- Wypisz drugą kolumnę wierszy zawierających "foo" w pliku oddzielonym spacjami: -`awk '/{{coś}}/ {print $2}' {{nazwapliku}}` +`awk '/{{foo}}/ {print $2}' {{ścieżka/do/pliku}}` -- Wydrukuj ostatnią kolumnę każdego wiersza w pliku, używając przecinka (zamiast spacji) jako separatora pola: +- Wypisz ostatnią kolumnę każdego wiersza w pliku, używając przecinka (zamiast spacji) jako separatora pola: -`awk -F ',' '{print $NF}' {{nazwapliku}}` +`awk -F ',' '{print $NF}' {{ścieżka/do/pliku}}` -- Zsumuj wartości w pierwszej kolumnie pliku i wydrukuj sumę: +- Zsumuj wartości w pierwszej kolumnie pliku i wypisz łączną wartość: -`awk '{s+=$1} END {print s}' {{nazwapliku}}` +`awk '{s+=$1} END {print s}' {{ścieżka/do/pliku}}` -- Zsumuj wartości w pierwszej kolumnie i wydrukuj wartości, a następnie sumę: +- Wypisuj co trzeci wiersz, zaczynając od pierwszego: -`awk '{s+=$1; print $1} END {print "--------"; print s}' {{nazwapliku}}` +`awk 'NR%3==1' {{ścieżka/do/pliku}}` -- Drukuj co trzeci wiersz, zaczynając od pierwszego wiersza: +- Wypisz różne wartości w zależności od warunków: -`awk 'NR%3==1' {{nazwapliku}}` +`awk '{if ($1 == "foo") print "Dokładne dopasowanie foo"; else if ($1 ~ "bar") print "Częściowe dopasowanie bar"; else print "Baz"}' {{ścieżka/do/pliku}}` -- Wydrukuj wszystkie wartości, zaczynając od trzeciej kolumny: +- Wypisz wszystkie linie gdzie wartość 10-tej kolumny jest pomiędzy podanymi wartościami: -`awk '{for (i=3; i <= NF; i++) printf $i""FS; print""}' {{nazwapliku}}` +`awk '($10 >= {{min_wartość}} && $10 <= {{maks_wartość}})'` -- Wydrukuj różne wartości w zależności od warunków: +- Wypisz tabelę użytkowników z UID >=1000 z nagłówkiem i sformatowanym wyjściem, używając dwukropka jako separatora (`%-20s` oznacza: 20 znaków ciągu wyrównanych do lewej, `%6s` oznacza: 6 znaków ciągu wyrównanych do prawej): -`awk '{if ($1 == "foo") print "Dokładne dopasowanie foo"; else if ($1 ~ "bar") print "Częściowe dopasowanie bar"; else print "Baz"}' {{nazwapliku}}` +`awk 'BEGIN {FS=":";printf "%-20s %6s %25s\n", "Name", "UID", "Shell"} $4 >= 1000 {printf "%-20s %6d %25s\n", $1, $4, $7}' /etc/passwd` diff --git a/pages.pl/common/aws.md b/pages.pl/common/aws.md index 7832897661356e..357ab88251b2e5 100644 --- a/pages.pl/common/aws.md +++ b/pages.pl/common/aws.md @@ -1,26 +1,22 @@ # aws > Oficjalne narzędzie CLI dla Amazon Web Services. -> Wizard, SSO, Resource Autocompletion, i opcje YAML są tylko v2. +> Niektóre podkomendy takie jak `s3` mają osobną dokumentację. > Więcej informacji: . -- Konfiguruj AWS Command Line: +- Konfiguruj AWS Command-line: `aws configure wizard` -- Konfiguruj AWS Command Line używając SSO: +- Konfiguruj AWS Command-line używając SSO: `aws configure sso` -- Zobacz tekst pomocy dla polecenia AWS: - -`aws {{komenda}} help` - - Uzyskaj tożsamość wywołującego (służy do rozwiązywania problemów z uprawnieniami): `aws sts get-caller-identity` -- Wyświetla listę zasobów AWS w regionie i wyświetla w yaml: +- Uzyskaj listę zasobów AWS w regionie i wyświetl ją w YAML: `aws dynamodb list-tables --region {{us-east-1}} --output yaml` @@ -35,3 +31,7 @@ - Generuj JSON CLI Skeleton (przydatne dla infrastruktury jako kodu): `aws dynamodb update-table --generate-cli-skeleton` + +- Wyświetl pomoc dla określonej komendy: + +`aws {{komenda}} help` diff --git a/pages.pl/common/azure-cli.md b/pages.pl/common/azure-cli.md new file mode 100644 index 00000000000000..a7f9d6c51d49be --- /dev/null +++ b/pages.pl/common/azure-cli.md @@ -0,0 +1,7 @@ +# azure-cli + +> To polecenie jest aliasem `az`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr az` diff --git a/pages.pl/common/babel.md b/pages.pl/common/babel.md index 0d541952e02162..f9b23ff46622d3 100644 --- a/pages.pl/common/babel.md +++ b/pages.pl/common/babel.md @@ -1,36 +1,36 @@ # babel -> Transpiler, który konwertuje kod ze składni JavaScript ES6 / ES7 na składnię ES5. -> Więcej informacji: . +> Transpiler, który konwertuje kod ze składni JavaScript ES6/ES7 na składnię ES5. +> Więcej informacji: . -- Transpiluj określony plik wejściowy i dane wyjściowe do `stdout`: +- Transpiluj określony plik wejściowy i wypisz dane wyjściowe do `stdout`: -`babel {{siezka/do/pliku}}` +`babel {{ścieżka/do/pliku}}` -- Transpiluj określony plik wejściowy i wyjście do określonego pliku: +- Transpiluj określony plik wejściowy i zapisz wyjście do określonego pliku: -`babel {{sciezka/do/pliku_wejsciowego}} --out-file {{sciezka/do/pliku_wyjsciowego}}` +`babel {{ścieżka/do/pliku_wejściowego}} --out-file {{ścieżka/do/pliku_wyjściowego}}` - Transpiluj plik wejściowy przy każdej zmianie: -`babel {{sciezka/do/pliku_wejsciowego}} --watch` +`babel {{ścieżka/do/pliku_wejściowego}} --watch` - Transpiluj cały katalog plików: -`babel {{sciezka/do/katalogu_wejsciowego}}` +`babel {{ścieżka/do/katalogu_wejściowego}}` - Zignoruj określone pliki oddzielone przecinkami w katalogu: -`babel {{sciezka/do/katalogu_wejsciowego}} --ignore {{ignorowane_pliki}}` +`babel {{ścieżka/do/katalogu_wejściowego}} --ignore {{ignorowany_plik1,ignorowany_plik2,...}}` - Transpiluj i wypisz jako zminimalizowany JavaScript: -`babel {{sciezka/do/pliku_wejsciowego}} --minified` +`babel {{ścieżka/do/pliku_wejściowego}} --minified` - Wybierz zestaw ustawień dla formatowania wyjściowego: -`babel {{sciezka/do/pliku_wejsciowego}} --presets {{presets}}` +`babel {{ścieżka/do/pliku_wejściowego}} --presets {{preset1,preset2,...}}` -- Wyświetl wszystkie dostępne opcje: +- Wyświetl pomoc: `babel --help` diff --git a/pages.pl/common/base32.md b/pages.pl/common/base32.md index a223c55db38caa..fa5788e9bddd69 100644 --- a/pages.pl/common/base32.md +++ b/pages.pl/common/base32.md @@ -1,14 +1,19 @@ # base32 > Enkoduj lub dekoduj plik lub standardowe wejście do/z Base32, na standardowe wyjście. +> Więcej informacji: . - Enkoduj plik: -`base32 {{nazwapliku}}` +`base32 {{ścieżka/do/pliku}}` + +- Zawijaj zakodowane wyjście do określonej szerokości (`0` wyłącza zawijanie): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{ścieżka/do/pliku}}` - Dekoduj plik: -`base32 -d {{nazwapliku}}` +`base32 {{[-d|--decode]}} {{ścieżka/do/pliku}}` - Enkoduj z `stdin`: @@ -16,4 +21,4 @@ - Dekoduj z `stdin`: -`{{jakiespolecenie}} | base32 -d` +`{{jakiespolecenie}} | base32 {{[-d|--decode]}}` diff --git a/pages.pl/common/base64.md b/pages.pl/common/base64.md index 325834998221ac..5c89c45d1d9634 100644 --- a/pages.pl/common/base64.md +++ b/pages.pl/common/base64.md @@ -1,14 +1,19 @@ # base64 > Enkoduj lub dekoduj plik lub standardowe wejście do/z Base64, na standardowe wyjście. +> Więcej informacji: . - Enkoduj plik: -`base64 {{nazwapliku}}` +`base64 {{ścieżka/do/pliku}}` + +- Zawijaj zakodowane wyjście na określonej szerokości (`0` wyłącza zawijanie): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{ścieżka/do/pliku}}` - Dekoduj plik: -`base64 -d {{nazwapliku}}` +`base64 {{[-d|--decode]}} {{ścieżka/do/pliku}}` - Enkoduj z `stdin`: @@ -16,4 +21,4 @@ - Dekoduj z `stdin`: -`{{jakiespolecenie}} | base64 -d` +`{{jakiespolecenie}} | base64 {{[-d|--decode]}}` diff --git a/pages.pl/common/basename.md b/pages.pl/common/basename.md new file mode 100644 index 00000000000000..0fb7cf35449cf2 --- /dev/null +++ b/pages.pl/common/basename.md @@ -0,0 +1,16 @@ +# basename + +> Usuwa wiodące nazwy katalogów ze ścieżki. +> Więcej informacji: . + +- Wyświetl wyłącznie nazwę pliku ze ścieżki: + +`basename {{ścieżka/do/pliku}}` + +- Wyświetl wyłącznie nazwę skrajnie prawego katalogu ze ścieżki: + +`basename {{ścieżka/do/katalogu/}}` + +- Wyświetl wyłącznie nazwę pliku ze ścieżki, z usuniętym przyrostkiem: + +`basename {{ścieżka/do/pliku}} {{przyrostek}}` diff --git a/pages.pl/common/bash.md b/pages.pl/common/bash.md new file mode 100644 index 00000000000000..cd70b53b3d795a --- /dev/null +++ b/pages.pl/common/bash.md @@ -0,0 +1,37 @@ +# bash + +> Bourne-Again SHell, interpreter komend powłoki systemowej kompatybilny z `sh`. +> Zobacz także: `zsh`, `histexpand`. +> Więcej informacji: . + +- Rozpocznij interaktywną sesję powłoki: + +`bash` + +- Rozpocznij interaktywną sesję powłoki bez ładowania konfiguracji: + +`bash --norc` + +- Wywołaj określone komendy: + +`bash -c "{{echo 'bash jest uruchomiony'}}"` + +- Uruchom podany skrypt: + +`bash {{ścieżka/do/skryptu.sh}}` + +- Wykonaj podany skrypt, wypisując wszystkie komendy przed ich wykonaniem: + +`bash -x {{ścieżka/do/skryptu.sh}}` + +- Wykonaj podany skrypt do wystąpienia pierwszego błędu: + +`bash -e {{ścieżka/do/skryptu.sh}}` + +- Wykonaj komendy ze `stdin`: + +`{{echo "echo 'bash jest uruchomiony'"}} | bash` + +- Uruchom sesję w trybie [r]estrykcyjnym: + +`bash -r` diff --git a/pages.pl/common/bat.md b/pages.pl/common/bat.md new file mode 100644 index 00000000000000..98dda02c44decf --- /dev/null +++ b/pages.pl/common/bat.md @@ -0,0 +1,29 @@ +# bat + +> Wypisz i łącz pliki. +> Klon `cat` z podświetlaniem składni i integracją z Gitem. +> Więcej informacji: . + +- Wypisz zawartość pliku na standardowe wyjście: + +`bat {{ścieżka/do/pliku}}` + +- Połącz kilka plików w plik docelowy: + +`bat {{plik1}} {{plik2}} > {{plik_docelowy}}` + +- Dodaj kilka plików do pliku docelowego: + +`bat {{plik1}} {{plik2}} >> {{plik_docelowy}}` + +- Ponumeruj wszystkie linie: + +`bat {{[-n|--number]}} {{ścieżka/do/pliku}}` + +- Podświetl składnię pliku JSON: + +`bat {{[-l|--language]}} json {{plik.json}}` + +- Wyświetl wszystkie obsługiwane języki: + +`bat {{[-L|--list-languages]}}` diff --git a/pages.pl/common/batch.md b/pages.pl/common/batch.md index 2acc8cf5c90cf9..842e6f602ec29d 100644 --- a/pages.pl/common/batch.md +++ b/pages.pl/common/batch.md @@ -1,16 +1,8 @@ # batch -> Wykonaj polecenia, gdy pozwoli na to poziom obciążenia systmu. -> Aby działać poprawnie wymaga działającego serwisu atd (lub atrun). +> To polecenie jest aliasem `at`. +> Więcej informacji: . -- Wykonaj polecenie wprowadzone przy użyciu wejścia standardowego (aby zakończyć naciśnij `Ctrl + D`): +- Zobacz dokumentację oryginalnego polecenia: -`batch` - -- Wykonaj polecenie podane z wejścia standardowego: - -`echo "{{./zrób_backup.sh}}" | batch` - -- Wykonaj polecenia z podanego pliku: - -`batch -f {{ścieżka/do/pliku}}` +`tldr at` diff --git a/pages.pl/common/bmptoppm.md b/pages.pl/common/bmptoppm.md new file mode 100644 index 00000000000000..e9ae02993a93d6 --- /dev/null +++ b/pages.pl/common/bmptoppm.md @@ -0,0 +1,8 @@ +# bmptoppm + +> To polecenie zostało zastąpione przez `bmptopnm`. +> Więcej informacji: . + +- Zobacz dokumentację aktualnego polecenia: + +`tldr bmptopnm` diff --git a/pages.pl/common/brave.md b/pages.pl/common/brave.md new file mode 100644 index 00000000000000..182746b54ac898 --- /dev/null +++ b/pages.pl/common/brave.md @@ -0,0 +1,8 @@ +# brave + +> To polecenie jest aliasem `chromium`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chromium` diff --git a/pages.pl/common/brew-remove.md b/pages.pl/common/brew-remove.md new file mode 100644 index 00000000000000..d41fc07f4d77b9 --- /dev/null +++ b/pages.pl/common/brew-remove.md @@ -0,0 +1,7 @@ +# brew remove + +> To polecenie jest aliasem `brew uninstall`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr brew uninstall` diff --git a/pages.pl/common/brew-rm.md b/pages.pl/common/brew-rm.md new file mode 100644 index 00000000000000..d8ebe7dd5ed220 --- /dev/null +++ b/pages.pl/common/brew-rm.md @@ -0,0 +1,7 @@ +# brew rm + +> To polecenie jest aliasem `brew uninstall`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr brew uninstall` diff --git a/pages.pl/common/bun.md b/pages.pl/common/bun.md new file mode 100644 index 00000000000000..7699ec57252ea7 --- /dev/null +++ b/pages.pl/common/bun.md @@ -0,0 +1,37 @@ +# bun + +> Środowisko uruchomieniowe JavaScript i zestaw narzędzi. +> Zawiera kompilator, narzędzie do uruchamiania testów i menadżera pakietów. +> Więcej informacji: . + +- Uruchom plik JavaScript lub skrypt `package.json`: + +`bun run {{ścieka/do/pliku|nazwa_skryptu}}` + +- Uruchom testy jednostkowe: + +`bun test` + +- Pobierz i zainstaluj wszystkie pakiety wpisane jako zależności w `package.json`: + +`bun install` + +- Dodaj zależność do `package.json`: + +`bun add {{nazwa_biblioteki}}` + +- Usuń zależność z `package.json`: + +`bun remove {{nazwa_biblioteki}}` + +- Stwórz nowy projekt Bun w aktualnym katalogu: + +`bun init` + +- Uruchom REPL (interaktywną powłokę): + +`bun repl` + +- Zaktualizuj Bun do najnowszej wersji: + +`bun upgrade` diff --git a/pages.pl/common/bunzip2.md b/pages.pl/common/bunzip2.md new file mode 100644 index 00000000000000..26454a81300e42 --- /dev/null +++ b/pages.pl/common/bunzip2.md @@ -0,0 +1,7 @@ +# bunzip2 + +> To polecenie jest aliasem `bzip2 --decompress`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr bzip2` diff --git a/pages.pl/common/bzcat.md b/pages.pl/common/bzcat.md new file mode 100644 index 00000000000000..856ba62edf4e9b --- /dev/null +++ b/pages.pl/common/bzcat.md @@ -0,0 +1,7 @@ +# bzcat + +> To polecenie jest aliasem `bzip2 --decompress --stdout`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr bzip2` diff --git a/pages.pl/common/chown.md b/pages.pl/common/chown.md new file mode 100644 index 00000000000000..0b67a27e48e321 --- /dev/null +++ b/pages.pl/common/chown.md @@ -0,0 +1,24 @@ +# chown + +> Zmienia właściciela i grupę właścicieli dla plików i katalogów. +> Więcej informacji: . + +- Zmień właściciela pliku/katalogu: + +`chown {{użytkownik}} {{ścieżka/do/pliku_lub_katalogu}}` + +- Zmień właściciela i grupę właścicieli pliku/katalogu: + +`chown {{użytkownik}}:{{grupa}} {{ścieżka/do/pliku_lub_katalogu}}` + +- Rekursywnie zmień właściciela katalogu i jego zawartości: + +`chown {{[-R|--recursive]}} {{użytkownik}} {{ścieżka/do/katalogu}}` + +- Zmień właściciela dowiązania symbolicznego: + +`chown {{[-h|--no-dereference]}} {{użytkownik}} {{ścieżka/do/dowiązania_symbolicznego}}` + +- Zmień właściciela pliku/katalogu by był taki sam jak w pliku referencyjnym: + +`chown --reference {{ścieżka/do/pliku_referencyjnego}} {{ścieżka/do/pliku_lub_katalogu}}` diff --git a/pages.pl/common/clang-cpp.md b/pages.pl/common/clang-cpp.md new file mode 100644 index 00000000000000..124a0ad8ed0e6a --- /dev/null +++ b/pages.pl/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> To polecenie jest aliasem `clang++`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr clang++` diff --git a/pages.pl/common/clojure.md b/pages.pl/common/clojure.md new file mode 100644 index 00000000000000..128bf47c983285 --- /dev/null +++ b/pages.pl/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> To polecenie jest aliasem `clj`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr clj` diff --git a/pages.pl/common/cola.md b/pages.pl/common/cola.md new file mode 100644 index 00000000000000..21e8c1425c8ad2 --- /dev/null +++ b/pages.pl/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> To polecenie jest aliasem `git-cola`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr git-cola` diff --git a/pages.pl/common/comma.md b/pages.pl/common/comma.md new file mode 100644 index 00000000000000..04ff30bd04b953 --- /dev/null +++ b/pages.pl/common/comma.md @@ -0,0 +1,7 @@ +# comma + +> To polecenie jest aliasem `,`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ,` diff --git a/pages.pl/common/compare.md b/pages.pl/common/compare.md new file mode 100644 index 00000000000000..7893ff3ac06a03 --- /dev/null +++ b/pages.pl/common/compare.md @@ -0,0 +1,7 @@ +# compare + +> To polecenie jest aliasem `magick compare`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr magick compare` diff --git a/pages.pl/common/composer.md b/pages.pl/common/composer.md new file mode 100644 index 00000000000000..885a7b350aaa53 --- /dev/null +++ b/pages.pl/common/composer.md @@ -0,0 +1,36 @@ +# composer + +> Menadżer pakietów dla projektów PHP. +> Więcej informacji: . + +- Interaktywnie utwórz plik `composer.json`: + +`composer init` + +- Dodaj pakiet do zależności tego projektu, dodając wpis do `composer.json`: + +`composer require {{użytkownik/pakiet}}` + +- Zainstaluj wszystkie zależności z projektowego `composer.json` i utwórz `composer.lock`: + +`composer install` + +- Odinstaluj pakiet z tego projektu, usuwając go jako zależność z `composer.json` i `composer.lock`: + +`composer remove {{użytkownik/pakiet}}` + +- Zaktualizuj wszystkie pakiety z projektowego `composer.json` i zanotuj nową wersję w `composer.lock`: + +`composer update` + +- Zaktualizuj tylko `composer.lock` po ręcznej aktualizacji `composer.json`: + +`composer update --lock` + +- Dowiedz się więcej o powodach dlaczego zależność nie może zostać zainstalowana: + +`composer why-not {{użytkownik/pakiet}}` + +- Zaktualizuj narzędzie composer do najnowszej wersji: + +`composer self-update` diff --git a/pages.pl/common/convert.md b/pages.pl/common/convert.md new file mode 100644 index 00000000000000..571f9dacb41412 --- /dev/null +++ b/pages.pl/common/convert.md @@ -0,0 +1,9 @@ +# convert + +> To polecenie jest aliasem `magick convert`. +> Uwaga: ten alias jest wycofany od ImageMagick 7. Został on zastąpiony przez `magick`. +> Użyj `magick convert` jeśli potrzebujesz użyć starego narzędzia w wersjach 7+. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr magick convert` diff --git a/pages.pl/common/copr.md b/pages.pl/common/copr.md new file mode 100644 index 00000000000000..4eebd9e266fbb7 --- /dev/null +++ b/pages.pl/common/copr.md @@ -0,0 +1,7 @@ +# copr + +> To polecenie jest aliasem `copr-cli`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr copr-cli` diff --git a/pages.pl/common/cp.md b/pages.pl/common/cp.md new file mode 100644 index 00000000000000..a9b7623b9541ff --- /dev/null +++ b/pages.pl/common/cp.md @@ -0,0 +1,28 @@ +# cp + +> Kopiuje pliki i katalogi. +> Więcej informacji: . + +- Kopiuj plik do innej lokalizacji: + +`cp {{ścieżka/do/pliku_źródłowego.ext}} {{ścieżka/do/pliku_docelowego.ext}}` + +- Kopiuj plik do innego katalogu, zachowując nazwę pliku: + +`cp {{ścieżka/do/pliku_źródłowego}} {{ścieżka/do/katalogu}}` + +- Kopiuj rekursywnie katalog z zawartością do innej lokalizacji (jeśli docelowa lokalizacja istnieje, katalog jest kopiowany do jej środka): + +`cp -R {{ścieżka/do/katalogu_źródłowego}} {{ścieżka/do/katalogu_docelowego}}` + +- Kopiuj katalog rekursywnie, w trybie opisowym (pokazuje pliki które zostały skopiowane): + +`cp -vR {{ścieżka/do/katalogu_źródłowego}} {{ścieżka/do/katalogu_docelowego}}` + +- Kopiuj pliki tekstowe do innej lokalizacji, w trybie interaktywnym (wyświetla pytanie o potwierdzenie przed nadpisywaniem): + +`cp -i {{*.txt}} {{ścieżka/do/katalogu_docelowego}}` + +- Podążaj za dowiązaniami symbolicznymi przed kopiowaniem: + +`cp -L {{dowiązanie}} {{ścieżka/do/katalogu_docelowego}}` diff --git a/pages.pl/common/crane-cp.md b/pages.pl/common/crane-cp.md new file mode 100644 index 00000000000000..27752b5aac6e1d --- /dev/null +++ b/pages.pl/common/crane-cp.md @@ -0,0 +1,7 @@ +# crane cp + +> To polecenie jest aliasem `crane copy`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr crane copy` diff --git a/pages.pl/common/csslint.md b/pages.pl/common/csslint.md index c2d94e1435511d..83b49d751e5df1 100644 --- a/pages.pl/common/csslint.md +++ b/pages.pl/common/csslint.md @@ -1,15 +1,15 @@ # csslint -> Linter dla kodu CSS. +> Lintuj kod CSS. > Więcej informacji: . -- Lintowanie pojedynczego pliku CSS: +- Lintuj pojedyńczy plik CSS: `csslint {{plik.css}}` -- Lintowanie wiele plików CSS: +- Lintuj wiele plików CSS: -`csslint {{plik1.css}} {{plik2.css}} {{plik3.css}}` +`csslint {{plik1.css plik2.css ...}}` - Wymień wszystkie możliwe reguły stylu: @@ -17,12 +17,12 @@ - Określ pewne reguły jako błędy (które powodują niezerowy kod wyjścia): -`csslint --errors={{bledy,universal-selector,imports}} {{plik.css}}` +`csslint --errors={{errors,universal-selector,imports}} {{plik.css}}` - Określ pewne reguły jako ostrzeżenia: `csslint --warnings={{box-sizing,selector-max,floats}} {{plik.css}}` -- Określ pewne reguły, które będą całkowicie ignorowane: +- Ignoruj określone reguły: `csslint --ignore={{ids,rules-count,shorthand}} {{plik.css}}` diff --git a/pages.pl/common/cups.md b/pages.pl/common/cups.md new file mode 100644 index 00000000000000..484696e0c2a90e --- /dev/null +++ b/pages.pl/common/cups.md @@ -0,0 +1,25 @@ +# CUPS + +> Otwarty system drukowania. +> CUPS nie jest pojedynczym poleceniem, ale zestawem poleceń. +> Więcej informacji: . + +- Zobacz dokumentację uruchamiania demona CUPS: + +`tldr cupsd` + +- Zobacz dokumentację zarządzania drukarkami: + +`tldr lpadmin` + +- Zobacz dokumentację drukowania plików: + +`tldr lp` + +- Zobacz dokumentację sprawdzania informacji o stanie bieżących klas, zadań i drukarek: + +`tldr lpstat` + +- Zobacz dokumentację anulowania zadań drukowania: + +`tldr lprm` diff --git a/pages.pl/common/dart.md b/pages.pl/common/dart.md new file mode 100644 index 00000000000000..2de4faf93e192e --- /dev/null +++ b/pages.pl/common/dart.md @@ -0,0 +1,32 @@ +# dart + +> Zarządzaj projektami Dart. +> Więcej informacji: . + +- Zainicjuj nowy projekt Dart w katalogu o tej samej nazwie: + +`dart create {{nazwa_projektu}}` + +- Uruchom plik Dart: + +`dart run {{ścieżka/do/pliku.dart}}` + +- Pobierz zależności dla obecnego projektu: + +`dart pub get` + +- Uruchom testy jednostkowe dla obecnego projektu: + +`dart test` + +- Aktualizuj przestarzałe zależności projektu w celu obsługi null-safety: + +`dart pub upgrade --null-safety` + +- Skompiluj plik Dart do natywnego pliku binarnego: + +`dart compile exe {{ścieżka/do/pliku.dart}}` + +- Zastosuj automatyczne poprawki dla obecnego projektu: + +`dart fix --apply` diff --git a/pages.pl/common/diff.md b/pages.pl/common/diff.md index 6586f7cfa328c1..1db577a0a9741f 100644 --- a/pages.pl/common/diff.md +++ b/pages.pl/common/diff.md @@ -1,6 +1,7 @@ # diff > Porównaj pliki i foldery. +> Więcej informacji: . - Porównaj pliki (lista zmian między `stary_plik` a `nowy_plik`): @@ -8,20 +9,20 @@ - Porównaj pliki, ignoruj białe znaki (white spaces): -`diff -w {{stary_plik}} {{nowy_plik}}` +`diff {{[-w|--ignore-all-space]}} {{stary_plik}} {{nowy_plik}}` - Porównaj pliki, pokaż różnice obok siebie: -`diff -y {{stary_plik}} {{nowy_plik}}` +`diff {{[-y|--side-by-side]}} {{stary_plik}} {{nowy_plik}}` - Porównaj pliki, pokaż różnice w ujednoliconym formacie (tak jak w przypadku `git diff`): -`diff -u {{stary_plik}} {{nowy_plik}}` +`diff {{[-u|--unified]}} {{stary_plik}} {{nowy_plik}}` -- Porównaj foldery rekurencyjnie (pokazuje nazwy różniących się plików/folderów a także zmiany w plikach) +- Porównaj foldery rekurencyjnie (pokazuje nazwy różniących się plików/folderów a także zmiany w plikach): -`diff -r {{stary_folder}} {{nowy_folder}}` +`diff {{[-r|--recursive]}} {{stary_folder}} {{nowy_folder}}` - Porównaj foldery rekurencyjnie, pokaż tylko nazwy plików które się różnią: -`diff -rq {{stary_folder}} {{nowy_folder}}` +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{stary_folder}} {{nowy_folder}}` diff --git a/pages.pl/common/docker-container-diff.md b/pages.pl/common/docker-container-diff.md new file mode 100644 index 00000000000000..12ff04c12c3037 --- /dev/null +++ b/pages.pl/common/docker-container-diff.md @@ -0,0 +1,7 @@ +# docker container diff + +> To polecenie jest aliasem `docker diff`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr docker diff` diff --git a/pages.pl/common/docker-container-remove.md b/pages.pl/common/docker-container-remove.md new file mode 100644 index 00000000000000..2ee7643fc0ca3c --- /dev/null +++ b/pages.pl/common/docker-container-remove.md @@ -0,0 +1,7 @@ +# docker container remove + +> To polecenie jest aliasem `docker rm`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr docker rm` diff --git a/pages.pl/common/docker-container-rename.md b/pages.pl/common/docker-container-rename.md new file mode 100644 index 00000000000000..ecbf8bddfee3bd --- /dev/null +++ b/pages.pl/common/docker-container-rename.md @@ -0,0 +1,7 @@ +# docker container rename + +> To polecenie jest aliasem `docker rename`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr docker rename` diff --git a/pages.pl/common/docker-container-rm.md b/pages.pl/common/docker-container-rm.md new file mode 100644 index 00000000000000..9b561c8fbd093f --- /dev/null +++ b/pages.pl/common/docker-container-rm.md @@ -0,0 +1,7 @@ +# docker container rm + +> To polecenie jest aliasem `docker rm`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr docker rm` diff --git a/pages.pl/common/docker-container-top.md b/pages.pl/common/docker-container-top.md new file mode 100644 index 00000000000000..7af56d7ea9e19c --- /dev/null +++ b/pages.pl/common/docker-container-top.md @@ -0,0 +1,7 @@ +# docker container top + +> To polecenie jest aliasem `docker top`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr docker top` diff --git a/pages.pl/common/docker-images.md b/pages.pl/common/docker-images.md index fd25d851842cb9..774ea8b4b24c04 100644 --- a/pages.pl/common/docker-images.md +++ b/pages.pl/common/docker-images.md @@ -1,7 +1,7 @@ # docker images > Zarządzaj obrazami Dockera. -> Więcej informacji: . +> Więcej informacji: . - Wyświetl wszystkie obrazy Docker: @@ -9,12 +9,12 @@ - Wyświetl wszystkie obrazy Dockera, w tym intermediates: -`docker images -a` +`docker images {{[-a|--all]}}` - Wyświetl dane wyjściowe w trybie quiet (tylko identyfikatory numeryczne): -`docker images -q` +`docker images {{[-q|--quiet]}}` - Wyświetl wszystkie obrazy Docker nieużywane przez żaden kontener: -`docker images --filter dangling=true` +`docker images {{[-f|--filter]}} dangling=true` diff --git a/pages.pl/common/dotnet-build.md b/pages.pl/common/dotnet-build.md new file mode 100644 index 00000000000000..98c690f823c2f3 --- /dev/null +++ b/pages.pl/common/dotnet-build.md @@ -0,0 +1,32 @@ +# dotnet build + +> Buduj aplikacje .NET i ich zależności. +> Więcej informacji: . + +- Kompiluj projekt lub solucje w bieżącym katalogu: + +`dotnet build` + +- Kompiluj w konfiguracji debugowania: + +`dotnet build {{ściezka/do/projektu_lub_solucji}}` + +- Kompiluj w konfiguracji wydania: + +`dotnet build --configuration {{Release}}` + +- Kompiluj bez przywracania zależności: + +`dotnet build --no-restore` + +- Kompiluj z wybranym poziomem szczegółowości logu: + +`dotnet build --verbosity {{quiet|minimal|normal|detailed|diagnostic}}` + +- Kompiluj dla wybranego środowiska uruchomieniowego: + +`dotnet build --runtime {{identyfikator_runtime}}` + +- Kompiluj do wybranego katalogu: + +`dotnet build --output {{ścieżka/do/katalogu}}` diff --git a/pages.pl/common/dotnet-ef.md b/pages.pl/common/dotnet-ef.md new file mode 100644 index 00000000000000..1ebbea1955b309 --- /dev/null +++ b/pages.pl/common/dotnet-ef.md @@ -0,0 +1,36 @@ +# dotnet ef + +> Narzędzia projektowania dla Entity Framework Core. +> Więcej informacji: . + +- Zaaktualizuj bazę danych do wybranej migracji: + +`dotnet ef database update {{migracja}}` + +- Wyczyść bazę danych: + +`dotnet ef database drop` + +- Wyświetl dostępne `DbContext`: + +`dotnet ef dbcontext list` + +- Wygeneruj kod dla `DbContext` oraz typów encji bazy danych: + +`dotnet ef dbcontext scaffold {{connection_string}} {{dostawca}}` + +- Dodaj nową migrację: + +`dotnet ef migrations add {{nazwa}}` + +- Usuń poprzednią migrację, cofa zmiany w kodzie stworzone dla poprzedniej migracji: + +`dotnet ef migrations remove` + +- Wyświetl dostępne migracje: + +`dotnet ef migrations list` + +- Wygeneruj skrypt SQL dla zakresu migracji: + +`dotnet ef migrations script {{początkowa_migracja}} {{końcowa_migracja}}` diff --git a/pages.pl/common/dotnet-publish.md b/pages.pl/common/dotnet-publish.md new file mode 100644 index 00000000000000..a20f10a1612c6b --- /dev/null +++ b/pages.pl/common/dotnet-publish.md @@ -0,0 +1,28 @@ +# dotnet publish + +> Opublikuj aplikację .NET i jej zależności w celu wdrożenia na docelowym systemie. +> Więcej informacji: . + +- Opublikuj projekt w konfiguracji wydania: + +`dotnet publish --configuration Release {{ścieżka/do/projektu_lub_solucji}}` + +- Opublikuj projekt z dołączonym wybranym środowiskiem uruchomieniowym: + +`dotnet publish --self-contained true --runtime {{identyfikator_runtime}} {{ścieżka/do/projektu_lub_solucji}}` + +- Zapakuj aplikację do pojedyńczego pliku uruchomieniowego dla konkretnej platformy: + +`dotnet publish --runtime {{identyfikator_runtime}} -p:PublishSingleFile=true {{ścieżka/do/projektu_lub_solucji}}` + +- Pomiń nieużywane biblioteki aby obniżyć rozmiar wdrażanej aplikacji: + +`dotnet publish --self-contained true --runtime {{identyfikator_runtime}} -p:PublishTrimmed=true {{ścieżka/do/projektu_lub_solucji}}` + +- Kompiluj projekt bez przywracania zależności: + +`dotnet publish --no-restore {{ścieżka/do/projektu_lub_solucji}}` + +- Wybierz katalog docelowy: + +`dotnet publish --output {{ściezka/do/katalogu}} {{ścieżka/do/projektu_lub_solucji}}` diff --git a/pages.pl/common/dotnet-restore.md b/pages.pl/common/dotnet-restore.md new file mode 100644 index 00000000000000..fcebbdcb48ca12 --- /dev/null +++ b/pages.pl/common/dotnet-restore.md @@ -0,0 +1,28 @@ +# dotnet restore + +> Przywracanie zależności i narzędzi dla projektu .NET. +> Więcej informacji: . + +- Przywróć zależności dla projektu lub solucji w bieżącym katalogu: + +`dotnet restore` + +- Przywróć zależności dla projektu lub solucji w wybranym katalogu: + +`dotnet restore {{ścieżka/do/projektu_lub_solucji}}` + +- Przywróć zależnośći pomijając cache zapytań HTTP: + +`dotnet restore --no-cache` + +- Wymuś rozwiązanie wszystkich zależności nawet jeśli poprzednie przywracanie zakończyło się sukcesem: + +`dotnet restore --force` + +- Ignoruj błędy w trakcie przywracania zależności ze źródeł: + +`dotnet restore --ignore-failed-sources` + +- Przywróć zależności z wybranym poziomem szczegółowości logów: + +`dotnet restore --verbosity {{quiet|minimal|normal|detailed|diagnostic}}` diff --git a/pages.pl/common/dotnet-tool.md b/pages.pl/common/dotnet-tool.md new file mode 100644 index 00000000000000..1be477ca0c81f4 --- /dev/null +++ b/pages.pl/common/dotnet-tool.md @@ -0,0 +1,32 @@ +# dotnet tool + +> Zarządzaj narzędziami .NET i szukaj narzędzi opublikowanych w repozytorium NuGet. +> Więcej informacji: . + +- Zainstaluj narzędzie globalne (nie używaj flagi `--global`, by użyć polecenia dla narzędzi lokalnych): + +`dotnet tool install --global {{dotnetsay}}` + +- Zainstaluj narzędzia zdefiniowane w lokalnym manifeście narzędzi: + +`dotnet tool restore` + +- Zaktualizuj wyspecyfikowane narzędzie globalne (nie używaj flagi `--global`, by użyć polecenia dla narzędzi lokalnych): + +`dotnet tool update --global {{nazwa_narzędzia}}` + +- Odinstaluj narzędzie globalne (nie używaj flagi `--global`, by użyć polecenia dla narzędzi lokalnych): + +`dotnet tool uninstall --global {{nazwa_narzędzia}}` + +- Wyświetl zainstalowane narzędzia globalne (nie używaj flagi `--global`, by użyć polecenia dla narzędzi lokalnych): + +`dotnet tool list --global` + +- Szukaj narzędzi w repozytorium NuGet: + +`dotnet tool search {{szukana_fraza}}` + +- Wyświetl pomoc: + +`dotnet tool --help` diff --git a/pages.pl/common/dotnet.md b/pages.pl/common/dotnet.md index d18ac6febbdc16..582e9244422e84 100644 --- a/pages.pl/common/dotnet.md +++ b/pages.pl/common/dotnet.md @@ -1,13 +1,14 @@ # dotnet > Wieloplatformowe narzędzia wiersza polecenia .NET dla platformy .NET Core. -> Więcej informacji: . +> Niektóre podkomendy takie jak `build` mają osobną dokumentację. +> Więcej informacji: . - Zainicjuj nowy projekt .NET: -`dotnet new {{szablon_krotka_nazwa}}` +`dotnet new {{krótka_nazwa_szablonu}}` -- Przywróć pakiety nuget: +- Przywróć pakiety NuGet: `dotnet restore` @@ -15,6 +16,6 @@ `dotnet run` -- Uruchom pakietową aplikację dotnet (wymaga tylko środowiska wykonawczego, pozostałe polecenia wymagają zainstalowanego zestawu .NET Core SDK): +- Uruchom spakowaną aplikację dotnet (wymaga tylko środowiska wykonawczego, pozostałe polecenia wymagają zainstalowanego zestawu .NET Core SDK): -`dotnet {{sciezka/do/aplikacji.dll}}` +`dotnet {{ścieżka/do/aplikacji.dll}}` diff --git a/pages.pl/common/entr.md b/pages.pl/common/entr.md new file mode 100644 index 00000000000000..f1d58dfca2bc17 --- /dev/null +++ b/pages.pl/common/entr.md @@ -0,0 +1,20 @@ +# entr + +> Uruchom dowolną komendę, gdy zmieni się plik. +> Więcej informacji: . + +- Przebuduj projekt używając `make`, jeżeli zmiemi się którykolwiek z plików w podkatalogu: + +`{{ag -l}} | entr {{make}}` + +- Jeżeli zmieni się którykowliek z plików źródłowych `.c` w obecnym katalogu, przebuduj i uruchom testy używając `make`: + +`{{ls *.c}} | entr {{'make && make test'}}` + +- Wyślij `SIGTERM` do wszystkich uruchomionych poprzednio podprocesów ruby przed wykonaniem `ruby main.rb`: + +`{{ls *.rb}} | entr -r {{ruby main.rb}}` + +- Uruchom komendę przekazując zmieniony plik (`/_`) jako jej argument: + +`{{ls *.sql}} | entr {{psql -f}} /_` diff --git a/pages.pl/common/eslint.md b/pages.pl/common/eslint.md index 18dac62e05ff8b..d4906dc331b4c2 100644 --- a/pages.pl/common/eslint.md +++ b/pages.pl/common/eslint.md @@ -1,20 +1,20 @@ # eslint -> Podłączane narzędzie lintowania dla JavaScript i JSX. +> Rozszerzalne narzędzie lintowania dla JavaScript i JSX. > Więcej informacji: . -- Stwórz eslint config: +- Stwórz plik konfiguracyjny ESlint: `eslint --init` -- Lint na danym zestawie plików: +- Lintuj jeden lub więcej plików: -`eslint {{nazwapliku}}.js {{nazwapliku1}}.js` +`eslint {{ścieżka/do/pliku1.js ścieżka/do/pliku2.js ...}}` -- Napraw lint issues: +- Napraw wykryte problemy: `eslint --fix` -- Lint z config: +- Lintuj używając podanego pliku konfiguracyjnego: -`eslint -c {{sciezka/do/pliku_config}} {{app/src}}` +`eslint -c {{ścieżka/do/pliku_konfiguracyjnego}} {{ścieżka/do/pliku1.js ścieżka/do/pliku2.js}}` diff --git a/pages.pl/common/exa.md b/pages.pl/common/exa.md new file mode 100644 index 00000000000000..5b9730d2088f76 --- /dev/null +++ b/pages.pl/common/exa.md @@ -0,0 +1,36 @@ +# exa + +> Nowoczesny odpowiednik `ls` (wyświetla zawartość katalogu). +> Więcej informacji: . + +- Wyświetl listę plików, po jednym w linii: + +`exa {{[-1|--oneline]}}` + +- Wyświetl wszystkie pliki, łącznie z ukrytymi: + +`exa {{[-a|--all]}}` + +- Wyświetl listę wszystkich plików ze szczegółami (uprawnienia, właściciel, wielkość i data zmiany): + +`exa {{[-l|--long]}} {{[-a|--all]}}` + +- Wyświetl listę plików posortowaną względem wielkości pliku, od największego: + +`exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` + +- Wyświetl drzewko plików (trzy poziomy): + +`exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}` + +- Wyświetl listę plików posortowaną względem daty zmiany, od najstarszego: + +`exa {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` + +- Wyświetl listę plików wraz z nagłówkiem, ikoną i statusem Git: + +`exa {{[-l|--long]}} {{[-h|--header]}} --icons --git` + +- Wyświetl listę plików, ignorując pliki z `.gitignore`: + +`exa --git-ignore` diff --git a/pages.pl/common/eza.md b/pages.pl/common/eza.md new file mode 100644 index 00000000000000..f2076194c687ec --- /dev/null +++ b/pages.pl/common/eza.md @@ -0,0 +1,36 @@ +# eza + +> Nowoczesny odpowiednik `ls`, fork `exa`. +> Więcej informacji: . + +- Wyświetl listę plików, po jednym w linii: + +`eza --oneline` + +- Wyświetl wszystkie pliki, łącznie z ukrytymi: + +`eza --all` + +- Wyświetl listę wszystkich plików ze szczegółami (uprawnienia, właściciel, wielkość i data zmiany): + +`eza --long --all` + +- Wyświetl listę plików posortowaną względem wielkości pliku, od największego: + +`eza --reverse --sort={{size}}` + +- Wyświetl drzewko plików (trzy poziomy): + +`eza --long --tree --level={{3}}` + +- Wyświetl listę plików posortowaną względem daty zmiany, od najstarszego: + +`eza --long --sort={{modified}}` + +- Wyświetl listę plików wraz z nagłówkiem, ikoną i statusem Git: + +`eza --long --header --icons --git` + +- Wyświetl listę plików, ignorując pliki z `.gitignore`: + +`eza --git-ignore` diff --git a/pages.pl/common/file-rename.md b/pages.pl/common/file-rename.md new file mode 100644 index 00000000000000..9bb51090c2c8ca --- /dev/null +++ b/pages.pl/common/file-rename.md @@ -0,0 +1,7 @@ +# file-rename + +> To polecenie jest aliasem `rename`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.pl/common/fossil-ci.md b/pages.pl/common/fossil-ci.md new file mode 100644 index 00000000000000..a7d0ef22501002 --- /dev/null +++ b/pages.pl/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> To polecenie jest aliasem `fossil commit`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr fossil commit` diff --git a/pages.pl/common/fossil-forget.md b/pages.pl/common/fossil-forget.md new file mode 100644 index 00000000000000..1110ab3cfe2898 --- /dev/null +++ b/pages.pl/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> To polecenie jest aliasem `fossil rm`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr fossil rm` diff --git a/pages.pl/common/fossil-new.md b/pages.pl/common/fossil-new.md new file mode 100644 index 00000000000000..ceccbccd5470f1 --- /dev/null +++ b/pages.pl/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> To polecenie jest aliasem `fossil init`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr fossil init` diff --git a/pages.pl/common/fossil-rm.md b/pages.pl/common/fossil-rm.md new file mode 100644 index 00000000000000..9877c03f976659 --- /dev/null +++ b/pages.pl/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> To polecenie jest aliasem `fossil delete`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr fossil delete` diff --git a/pages.pl/common/frp.md b/pages.pl/common/frp.md new file mode 100644 index 00000000000000..98e24ab8777ea2 --- /dev/null +++ b/pages.pl/common/frp.md @@ -0,0 +1,12 @@ +# frp + +> Fast Reverse Proxy: szybko konfiguruj tunele sieciowe w celu udostępnienia określonych usług w Internecie lub innych sieciach zewnętrznych. +> Więcej informacji: . + +- Zobacz dokumentację `frpc`, komponentu klienta `frp`: + +`tldr frpc` + +- Zobacz dokumentację `frps`, komponentu serwera `frp`: + +`tldr frps` diff --git a/pages.pl/common/gdm-binary.md b/pages.pl/common/gdm-binary.md new file mode 100644 index 00000000000000..dc803fd6a8c9b3 --- /dev/null +++ b/pages.pl/common/gdm-binary.md @@ -0,0 +1,7 @@ +# gdm-binary + +> To polecenie jest aliasem `gdm`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr gdm` diff --git a/pages.pl/common/gemtopbm.md b/pages.pl/common/gemtopbm.md new file mode 100644 index 00000000000000..9ca4cade9818e7 --- /dev/null +++ b/pages.pl/common/gemtopbm.md @@ -0,0 +1,8 @@ +# gemtopbm + +> To polecenie zostało zastąpione przez `gemtopnm`. +> Więcej informacji: . + +- Zobacz dokumentację aktualnego polecenia: + +`tldr gemtopnm` diff --git a/pages.pl/common/gh-agent.md b/pages.pl/common/gh-agent.md new file mode 100644 index 00000000000000..df21c9382a2a2a --- /dev/null +++ b/pages.pl/common/gh-agent.md @@ -0,0 +1,7 @@ +# gh agent + +> To polecenie jest aliasem `gh agent-task`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr gh agent-task` diff --git a/pages.pl/common/gh-cs.md b/pages.pl/common/gh-cs.md new file mode 100644 index 00000000000000..e158805bfc0f01 --- /dev/null +++ b/pages.pl/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> To polecenie jest aliasem `gh codespace`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr gh codespace` diff --git a/pages.pl/common/git-abort.md b/pages.pl/common/git-abort.md new file mode 100644 index 00000000000000..6fd5f74aeac206 --- /dev/null +++ b/pages.pl/common/git-abort.md @@ -0,0 +1,9 @@ +# git abort + +> Przerwij trwający rebase, merge lub cherry-pick. +> Jest częścią `git-extras`. +> Więcej informacji: . + +- Przerwij operację Git rebase, merge lub cherry-pick: + +`git abort` diff --git a/pages.pl/common/git-add.md b/pages.pl/common/git-add.md new file mode 100644 index 00000000000000..04edba0d10c2c2 --- /dev/null +++ b/pages.pl/common/git-add.md @@ -0,0 +1,36 @@ +# git add + +> Dodaj zmienione pliki do indeksu. +> Więcej informacji: . + +- Dodaj plik do indeksu: + +`git add {{ścieżka/do/pliku}}` + +- Dodaj wszystkie pliki (śledzone i nieśledzone): + +`git add {{[-A|--all]}}` + +- Dodaj wszystkie pliki w bieżącym katalogu: + +`git add .` + +- Dodaj tylko już śledzone pliki: + +`git add {{[-u|--update]}}` + +- Dodaj również ignorowane pliki: + +`git add {{[-f|--force]}}` + +- Dodawaj części plików interaktywnie: + +`git add {{[-p|--patch]}}` + +- Dodawaj części określonego pliku interaktywnie: + +`git add {{[-p|--patch]}} {{ścieżka/do/pliku}}` + +- Dodaj plik interaktywnie: + +`git add {{[-i|--interactive]}}` diff --git a/pages.pl/common/git-alias.md b/pages.pl/common/git-alias.md new file mode 100644 index 00000000000000..7094d437806fa8 --- /dev/null +++ b/pages.pl/common/git-alias.md @@ -0,0 +1,17 @@ +# git alias + +> Twórz skróty dla komend Gita. +> Jest częścią `git-extras`. +> Więcej informacji: . + +- Wyświetl wszystkie aliasy: + +`git alias` + +- Utwórz nowy alias: + +`git alias "{{nazwa}}" "{{komenda}}"` + +- Wyszukaj istniejący alias: + +`git alias ^{{nazwa}}` diff --git a/pages.pl/common/git-am.md b/pages.pl/common/git-am.md new file mode 100644 index 00000000000000..6bf581bc18902c --- /dev/null +++ b/pages.pl/common/git-am.md @@ -0,0 +1,21 @@ +# git am + +> Zastosuj pliki poprawki i utwórz commit. Przydatne przy otrzymywaniu commitów przez email. +> Zobacz także `git format-patch`, który może generować pliki poprawki. +> Więcej informacji: . + +- Zastosuj i komituj zmiany z lokalnego pliku poprawki: + +`git am {{ścieżka/do/pliku.patch}}` + +- Zastosuj i komituj zmiany ze zdalnego pliku poprawki: + +`curl {{[-L|--location]}} {{https://example.com/plik.patch}} | git apply` + +- Przerwij proces zastosowania pliku poprawki: + +`git am --abort` + +- Zastosuj jak największą część pliku poprawki, zapisując nieudane fragmenty w plikach odrzuceń (pliki `.rej`): + +`git am --reject {{ścieżka/do/pliku.patch}}` diff --git a/pages.pl/common/git-stage.md b/pages.pl/common/git-stage.md new file mode 100644 index 00000000000000..4f9c8c78c22eee --- /dev/null +++ b/pages.pl/common/git-stage.md @@ -0,0 +1,7 @@ +# git stage + +> To polecenie jest aliasem `git add`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr git add` diff --git a/pages.pl/common/git.md b/pages.pl/common/git.md new file mode 100644 index 00000000000000..feb64716aaf0d1 --- /dev/null +++ b/pages.pl/common/git.md @@ -0,0 +1,29 @@ +# git + +> Rozproszony system kontroli wersji. +> Niektóre podkomendy takie jak `commit`, `add`, `branch`, `checkout`, `push`, itd. mają osobną dokumentację. +> Więcej informacji: . + +- Wykonaj podkomendę Git: + +`git {{podkomenda}}` + +- Wykonaj podkomendę Git na określonej ścieżce głównej repozytorium: + +`git -C {{ścieżka/do/repozytorium}} {{podkomenda}}` + +- Wykonaj podkomendę Git z określoną konfiguracją: + +`git -c '{{klucz.konfiguracji}}={{wartość}}' {{podkomenda}}` + +- Wyświetl pomoc: + +`git --help` + +- Wyświetl pomoc dla określonej podkomendy (np. `clone`, `add`, `push`, `log`, itd.): + +`git help {{podkomenda}}` + +- Wyświetl wersję: + +`git --version` diff --git a/pages.pl/common/gnmic-sub.md b/pages.pl/common/gnmic-sub.md new file mode 100644 index 00000000000000..50f5000f1bceae --- /dev/null +++ b/pages.pl/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> To polecenie jest aliasem `gnmic subscribe`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr gnmic subscribe` diff --git a/pages.pl/common/google-chrome.md b/pages.pl/common/google-chrome.md new file mode 100644 index 00000000000000..d65bfbd9fd3ee3 --- /dev/null +++ b/pages.pl/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> To polecenie jest aliasem `chromium`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chromium` diff --git a/pages.pl/common/gpg2.md b/pages.pl/common/gpg2.md new file mode 100644 index 00000000000000..7d4c4560e7a795 --- /dev/null +++ b/pages.pl/common/gpg2.md @@ -0,0 +1,7 @@ +# gpg2 + +> To polecenie jest aliasem `gpg`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr gpg` diff --git a/pages.pl/common/hd.md b/pages.pl/common/hd.md new file mode 100644 index 00000000000000..566d105c652f4f --- /dev/null +++ b/pages.pl/common/hd.md @@ -0,0 +1,7 @@ +# hd + +> To polecenie jest aliasem `hexdump`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr hexdump` diff --git a/pages.pl/common/hping.md b/pages.pl/common/hping.md new file mode 100644 index 00000000000000..ecb7832a84e49c --- /dev/null +++ b/pages.pl/common/hping.md @@ -0,0 +1,7 @@ +# hping + +> To polecenie jest aliasem `hping3`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr hping3` diff --git a/pages.pl/common/http.md b/pages.pl/common/http.md index 48888330ee9b76..ccb38bc610faca 100644 --- a/pages.pl/common/http.md +++ b/pages.pl/common/http.md @@ -1,32 +1,36 @@ # http -> HTTPie: HTTP client, ma być łatwiejszy w użyciu niż cURL. -> Więcej informacji: . +> HTTPie: klient HTTP przeznaczony do testowania, debugowania i ogólnej interakcji z API i serwerami HTTP. +> Więcej informacji: . -- Pobierz adres URL do pliku: +- Wykonaj proste żądanie GET (wyświetla nagłówki odpowiedzi i zawartość): -`http -d {{przyklad.org}}` +`http {{https://example.com}}` -- Wyślij dane zakodowane w formularzu: +- Wyświetl podane części treści (`H`: nagłówki żądania, `B`: treść żądania, `h`: nagłówki odpowiedzi, `b`: treść odpowiedzi, `m`: metadane odpowiedzi): -`http -f {{przyklad.org}} {{nazwa='bob'}} {{zdjecie_profilowe@'bob.png'}}` +`http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}` -- Wyślij obiekt JSON: +- Określ metodę HTTP używaną podczas wysyłania żądania i użyj serwera proxy do przechwycenia żądania: -`http {{przyklad.org}} {{name='bob'}}` +`http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}` -- Określ metodę HTTP: +- Podążaj za wszystkimi przekierowaniami `3xx` i określ dodatkowe nagłówki do żądania: -`http {{HEAD}} {{przyklad.org}}` +`http {{[-F|--follow]}} {{https://example.com}} {{'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'}}` -- Dołącz dodatkowy nagłówek: +- Uwierzytelnij się na serwerze używając różnych metod uwierzytelniania: -`http {{przyklad.org}} {{X-MyHeader:123}}` +`http {{[-a|--auth]}} {{nazwa_użytkownika:hasło|token}} {{[-A|--auth-type]}} {{basic|digest|bearer}} {{GET|POST|...}} {{https://example.com/auth}}` -- Podaj nazwę użytkownika i hasło do uwierzytelnienia serwera: +- Skonstruuj żądanie, ale go nie wysyłaj: -`http -a {{nazwauzytkownika:haslo}} {{przyklad.org}}` +`http --offline {{GET|DELETE|...}} {{https://example.com}}` -- Określ surowe ciało żądania za pośrednictwem `stdin`: +- Użyj nazwanych sesji do trwałych niestandardowych nagłówków, danych uwierzytelniających i ciasteczek: -`cat {{dane.txt}} | http PUT {{przyklad.org}}` +`http --session {{nazwa_sesji|ścieżka/do/sesji.json}} {{[-a|--auth]}} {{nazwa_użytkownika}}:{{hasło}} {{https://example.com/auth}} {{API-KEY:xxx}}` + +- Prześlij plik do formularza (poniższy przykład zakłada, że polem formularza jest ``): + +`http {{[-f|--form]}} {{POST}} {{https://example.com/upload}} {{cv@ścieżka/do/pliku}}` diff --git a/pages.pl/common/https.md b/pages.pl/common/https.md new file mode 100644 index 00000000000000..e0e88c6b368d69 --- /dev/null +++ b/pages.pl/common/https.md @@ -0,0 +1,7 @@ +# https + +> To polecenie jest aliasem `http`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr http` diff --git a/pages.pl/common/hx.md b/pages.pl/common/hx.md new file mode 100644 index 00000000000000..f9e6903f98225d --- /dev/null +++ b/pages.pl/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> To polecenie jest aliasem `helix`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr helix` diff --git a/pages.pl/common/icontopbm.md b/pages.pl/common/icontopbm.md new file mode 100644 index 00000000000000..1b0fe9fed2b16a --- /dev/null +++ b/pages.pl/common/icontopbm.md @@ -0,0 +1,8 @@ +# icontopbm + +> To polecenie zostało zastąpione przez `sunicontopnm`. +> Więcej informacji: . + +- Zobacz dokumentację aktualnego polecenia: + +`tldr sunicontopnm` diff --git a/pages.pl/common/identify.md b/pages.pl/common/identify.md new file mode 100644 index 00000000000000..a185110f277365 --- /dev/null +++ b/pages.pl/common/identify.md @@ -0,0 +1,7 @@ +# identify + +> To polecenie jest aliasem `magick identify`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr magick identify` diff --git a/pages.pl/common/impacket-getadusers.md b/pages.pl/common/impacket-getadusers.md new file mode 100644 index 00000000000000..deed6817381343 --- /dev/null +++ b/pages.pl/common/impacket-getadusers.md @@ -0,0 +1,7 @@ +# impacket-GetADUsers + +> To polecenie jest aliasem `GetADUsers.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr GetADUsers.py` diff --git a/pages.pl/common/impacket-getarch.md b/pages.pl/common/impacket-getarch.md new file mode 100644 index 00000000000000..54848b3ec0a33d --- /dev/null +++ b/pages.pl/common/impacket-getarch.md @@ -0,0 +1,7 @@ +# impacket-getArch + +> To polecenie jest aliasem `getArch.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr getArch.py` diff --git a/pages.pl/common/impacket-getnpusers.md b/pages.pl/common/impacket-getnpusers.md new file mode 100644 index 00000000000000..599a7938d4c03f --- /dev/null +++ b/pages.pl/common/impacket-getnpusers.md @@ -0,0 +1,7 @@ +# impacket-GetNPUsers + +> To polecenie jest aliasem `GetNPUsers.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr GetNPUsers.py` diff --git a/pages.pl/common/impacket-getuserspns.md b/pages.pl/common/impacket-getuserspns.md new file mode 100644 index 00000000000000..704712884c4f80 --- /dev/null +++ b/pages.pl/common/impacket-getuserspns.md @@ -0,0 +1,7 @@ +# impacket-GetUserSPNs + +> To polecenie jest aliasem `GetUserSPNs.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr GetUserSPNs.py` diff --git a/pages.pl/common/impacket-mqtt_check.md b/pages.pl/common/impacket-mqtt_check.md new file mode 100644 index 00000000000000..87b0fa132592e1 --- /dev/null +++ b/pages.pl/common/impacket-mqtt_check.md @@ -0,0 +1,7 @@ +# impacket-mqtt_check + +> To polecenie jest aliasem `mqtt_check.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mqtt_check.py` diff --git a/pages.pl/common/impacket-mssqlclient.md b/pages.pl/common/impacket-mssqlclient.md new file mode 100644 index 00000000000000..de8bf3ce1efdbd --- /dev/null +++ b/pages.pl/common/impacket-mssqlclient.md @@ -0,0 +1,7 @@ +# impacket-mssqlclient + +> To polecenie jest aliasem `mssqlclient.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mssqlclient.py` diff --git a/pages.pl/common/impacket-ntfs-read.md b/pages.pl/common/impacket-ntfs-read.md new file mode 100644 index 00000000000000..3b7043eb19873f --- /dev/null +++ b/pages.pl/common/impacket-ntfs-read.md @@ -0,0 +1,7 @@ +# impacket-ntfs-read + +> To polecenie jest aliasem `ntfs-read.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ntfs-read.py` diff --git a/pages.pl/common/impacket-ping.md b/pages.pl/common/impacket-ping.md new file mode 100644 index 00000000000000..87dbbe23593d0c --- /dev/null +++ b/pages.pl/common/impacket-ping.md @@ -0,0 +1,7 @@ +# impacket-ping + +> To polecenie jest aliasem `ping.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ping.py` diff --git a/pages.pl/common/impacket-ping6.md b/pages.pl/common/impacket-ping6.md new file mode 100644 index 00000000000000..93489160de6ade --- /dev/null +++ b/pages.pl/common/impacket-ping6.md @@ -0,0 +1,7 @@ +# impacket-ping6 + +> To polecenie jest aliasem `ping6.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ping6.py` diff --git a/pages.pl/common/impacket-psexec.md b/pages.pl/common/impacket-psexec.md new file mode 100644 index 00000000000000..8a360f1edc2aa3 --- /dev/null +++ b/pages.pl/common/impacket-psexec.md @@ -0,0 +1,7 @@ +# impacket-psexec + +> To polecenie jest aliasem `psexec.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr psexec.py` diff --git a/pages.pl/common/impacket-rpcdump.md b/pages.pl/common/impacket-rpcdump.md new file mode 100644 index 00000000000000..bf7cd49cd469b1 --- /dev/null +++ b/pages.pl/common/impacket-rpcdump.md @@ -0,0 +1,7 @@ +# impacket-rpcdump + +> To polecenie jest aliasem `rpcdump.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr rpcdump.py` diff --git a/pages.pl/common/impacket-rpcmap.md b/pages.pl/common/impacket-rpcmap.md new file mode 100644 index 00000000000000..d9a566dd555614 --- /dev/null +++ b/pages.pl/common/impacket-rpcmap.md @@ -0,0 +1,7 @@ +# impacket-rpcmap + +> To polecenie jest aliasem `rpcmap.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr rpcmap.py` diff --git a/pages.pl/common/impacket-sambapipe.md b/pages.pl/common/impacket-sambapipe.md new file mode 100644 index 00000000000000..764e83246b0d35 --- /dev/null +++ b/pages.pl/common/impacket-sambapipe.md @@ -0,0 +1,7 @@ +# impacket-sambaPipe + +> To polecenie jest aliasem `sambaPipe.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sambaPipe.py` diff --git a/pages.pl/common/impacket-secretsdump.md b/pages.pl/common/impacket-secretsdump.md new file mode 100644 index 00000000000000..b90baa7983a238 --- /dev/null +++ b/pages.pl/common/impacket-secretsdump.md @@ -0,0 +1,7 @@ +# impacket-secretsdump + +> To polecenie jest aliasem `secretsdump.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr secretsdump.py` diff --git a/pages.pl/common/impacket-smbclient.md b/pages.pl/common/impacket-smbclient.md new file mode 100644 index 00000000000000..9edb59d1a33dac --- /dev/null +++ b/pages.pl/common/impacket-smbclient.md @@ -0,0 +1,7 @@ +# impacket-smbclient + +> To polecenie jest aliasem `smbclient.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr smbclient.py` diff --git a/pages.pl/common/impacket-smbserver.md b/pages.pl/common/impacket-smbserver.md new file mode 100644 index 00000000000000..51a0dc6c0fc494 --- /dev/null +++ b/pages.pl/common/impacket-smbserver.md @@ -0,0 +1,7 @@ +# impacket-smbserver + +> To polecenie jest aliasem `smbserver.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr smbserver.py` diff --git a/pages.pl/common/impacket-sniff.md b/pages.pl/common/impacket-sniff.md new file mode 100644 index 00000000000000..acc0bc78be0b9d --- /dev/null +++ b/pages.pl/common/impacket-sniff.md @@ -0,0 +1,7 @@ +# impacket-sniff + +> To polecenie jest aliasem `sniff.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sniff.py` diff --git a/pages.pl/common/impacket-sniffer.md b/pages.pl/common/impacket-sniffer.md new file mode 100644 index 00000000000000..bd2abab9a100de --- /dev/null +++ b/pages.pl/common/impacket-sniffer.md @@ -0,0 +1,7 @@ +# impacket-sniffer + +> To polecenie jest aliasem `sniffer.py`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sniffer.py` diff --git a/pages.pl/common/import.md b/pages.pl/common/import.md new file mode 100644 index 00000000000000..670ed6a9d8d2a9 --- /dev/null +++ b/pages.pl/common/import.md @@ -0,0 +1,7 @@ +# import + +> To polecenie jest aliasem `magick import`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr magick import` diff --git a/pages.pl/common/j.md b/pages.pl/common/j.md new file mode 100644 index 00000000000000..43c1f228bb9e6b --- /dev/null +++ b/pages.pl/common/j.md @@ -0,0 +1,7 @@ +# j + +> To polecenie jest aliasem `autojump`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr autojump` diff --git a/pages.pl/common/java.md b/pages.pl/common/java.md index a5d78bd227ee21..6d053b22ffaebb 100644 --- a/pages.pl/common/java.md +++ b/pages.pl/common/java.md @@ -1,7 +1,7 @@ # java > Java Application Launcher. -> Więcej informacji: . +> Więcej informacji: . - Uruchom plik .class java, który zawiera główną metodę, używając tylko nazwy klasy: diff --git a/pages.pl/common/jco.md b/pages.pl/common/jco.md new file mode 100644 index 00000000000000..74dd598462926a --- /dev/null +++ b/pages.pl/common/jco.md @@ -0,0 +1,7 @@ +# jco + +> To polecenie jest aliasem `autojump`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr autojump` diff --git a/pages.pl/common/jfrog.md b/pages.pl/common/jfrog.md new file mode 100644 index 00000000000000..b795fc11cdad1e --- /dev/null +++ b/pages.pl/common/jfrog.md @@ -0,0 +1,7 @@ +# jfrog + +> To polecenie jest aliasem `jf`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr jf` diff --git a/pages.pl/common/jo.md b/pages.pl/common/jo.md new file mode 100644 index 00000000000000..7f55b245f8657c --- /dev/null +++ b/pages.pl/common/jo.md @@ -0,0 +1,7 @@ +# jo + +> To polecenie jest aliasem `autojump`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr autojump` diff --git a/pages.pl/common/jupyterlab.md b/pages.pl/common/jupyterlab.md new file mode 100644 index 00000000000000..b05a005548be1f --- /dev/null +++ b/pages.pl/common/jupyterlab.md @@ -0,0 +1,7 @@ +# jupyterlab + +> To polecenie jest aliasem `jupyter lab`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr jupyter lab` diff --git a/pages.pl/common/just.md b/pages.pl/common/just.md new file mode 100644 index 00000000000000..dc2ea04ab85d45 --- /dev/null +++ b/pages.pl/common/just.md @@ -0,0 +1,11 @@ +# just + +> `just` może odnosić się do kilku komend o tej samej nazwie. + +- Zobacz dokumentację programu uruchamiającego polecenia: + +`tldr just.1` + +- Zobacz dokumentację środowiska V8 JavaScript: + +`tldr just.js` diff --git a/pages.pl/common/kafkacat.md b/pages.pl/common/kafkacat.md new file mode 100644 index 00000000000000..e005ceb37d1429 --- /dev/null +++ b/pages.pl/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> To polecenie jest aliasem `kcat`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr kcat` diff --git a/pages.pl/common/kite.md b/pages.pl/common/kite.md new file mode 100644 index 00000000000000..7fb40153f8b009 --- /dev/null +++ b/pages.pl/common/kite.md @@ -0,0 +1,7 @@ +# kite + +> To polecenie jest aliasem `kiterunner`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr kiterunner` diff --git a/pages.pl/common/kr.md b/pages.pl/common/kr.md new file mode 100644 index 00000000000000..3dce577531aabc --- /dev/null +++ b/pages.pl/common/kr.md @@ -0,0 +1,7 @@ +# kr + +> To polecenie jest aliasem `kiterunner`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr kiterunner` diff --git a/pages.pl/common/lckdo.md b/pages.pl/common/lckdo.md new file mode 100644 index 00000000000000..c00344d4efbfab --- /dev/null +++ b/pages.pl/common/lckdo.md @@ -0,0 +1,8 @@ +# lckdo + +> To polecenie jest przestarzałe i zastąpione przez `flock`. +> Więcej informacji: . + +- Zobacz dokumentację zalecanego zamiennika: + +`tldr flock` diff --git a/pages.pl/common/libreoffice.md b/pages.pl/common/libreoffice.md new file mode 100644 index 00000000000000..8b7934034d826d --- /dev/null +++ b/pages.pl/common/libreoffice.md @@ -0,0 +1,7 @@ +# libreoffice + +> To polecenie jest aliasem `soffice`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr soffice` diff --git a/pages.pl/common/lima.md b/pages.pl/common/lima.md new file mode 100644 index 00000000000000..6521f40894d74e --- /dev/null +++ b/pages.pl/common/lima.md @@ -0,0 +1,8 @@ +# lima + +> To polecenie jest aliasem `limactl shell` dla domyślnej instancji maszyny wirtualnej. +> Możesz także ustawić zmienną środowiskową `$LIMA_INSTANCE` aby pracować na innej instancji. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr limactl` diff --git a/pages.pl/common/linode-cli.md b/pages.pl/common/linode-cli.md new file mode 100644 index 00000000000000..35efe46845c63f --- /dev/null +++ b/pages.pl/common/linode-cli.md @@ -0,0 +1,37 @@ +# linode-cli + +> Zarządzaj usługami w chmurze Linode. +> Niektóre podkomendy, takie jak `events` mają osobną dokumentację. +> Więcej informacji: . + +- Wypisz wszystkie instancje Linode: + +`linode-cli linodes list` + +- Zobacz dokumentację dotyczącą zarządzania kontami Linode: + +`tldr linode-cli account` + +- Zobacz dokumentację dotyczącą zarządzania instancjami Linode: + +`tldr linode-cli linodes` + +- Zobacz dokumentację dotyczącą zarządzania klastrami Linode Kubernetes Engine (LKE): + +`tldr linode-cli lke` + +- Zobacz dokumentację dotyczącą zarządzania modułami równoważenia obciążenia (NodeBalancers): + +`tldr linode-cli nodebalancers` + +- Zobacz dokumentację dotyczącą zarządzania Linode Object Storage: + +`tldr linode-cli object-storage` + +- Zobacz dokumentację dotyczącą zarządzania domenami i konfiguracją DNS: + +`tldr linode-cli domains` + +- Zobacz dokumentację dotyczącą zarządzania wolumenami Linode: + +`tldr linode-cli volumes` diff --git a/pages.pl/common/llvm-ar.md b/pages.pl/common/llvm-ar.md new file mode 100644 index 00000000000000..9350d26f506e84 --- /dev/null +++ b/pages.pl/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> To polecenie jest aliasem `ar`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ar` diff --git a/pages.pl/common/llvm-g++.md b/pages.pl/common/llvm-g++.md new file mode 100644 index 00000000000000..e77ecf653b9ab6 --- /dev/null +++ b/pages.pl/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> To polecenie jest aliasem `clang++`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr clang++` diff --git a/pages.pl/common/llvm-gcc.md b/pages.pl/common/llvm-gcc.md new file mode 100644 index 00000000000000..dda8fe3ef52cb6 --- /dev/null +++ b/pages.pl/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> To polecenie jest aliasem `clang`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr clang` diff --git a/pages.pl/common/llvm-nm.md b/pages.pl/common/llvm-nm.md new file mode 100644 index 00000000000000..95ed703a0ebe77 --- /dev/null +++ b/pages.pl/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> To polecenie jest aliasem `nm`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nm` diff --git a/pages.pl/common/llvm-objdump.md b/pages.pl/common/llvm-objdump.md new file mode 100644 index 00000000000000..0fedcdf1318ce8 --- /dev/null +++ b/pages.pl/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> To polecenie jest aliasem `objdump`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr objdump` diff --git a/pages.pl/common/llvm-strings.md b/pages.pl/common/llvm-strings.md new file mode 100644 index 00000000000000..6a07efe6bb93e8 --- /dev/null +++ b/pages.pl/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> To polecenie jest aliasem `strings`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr strings` diff --git a/pages.pl/common/ls.md b/pages.pl/common/ls.md new file mode 100644 index 00000000000000..49c46b2818a1e6 --- /dev/null +++ b/pages.pl/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> Wypisz zawartość katalogu. +> Więcej informacji: . + +- Wypisz po jednym pliku w linijce: + +`ls -1` + +- Wypisz wszystkie pliki, w tym ukryte: + +`ls {{[-a|--all]}}` + +- Wypisz wszystkie pliki z `/` na końcu nazw katalogów: + +`ls {{[-F|--classify]}}` + +- Wypisz listę w długim formacie (uprawnienia, własność, rozmiar i data modyfikacji) wszystkich plików: + +`ls {{[-la|--all -l]}}` + +- Wypisz listę w długim formacie z rozmiarem w jednostkach z przedrostkami dwójkowymi (KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` + +- Wypisz listę rekurencyjnie w długim formacie, posortowaną po rozmiarze (malejąco): + +`ls {{-lSR|-lS --recursive}}` + +- Wypisz listę wszystkich plików w długim formacie posortowaną według daty modyfikacji (od najstarszych): + +`ls {{[-ltr|-lt --reverse]}}` + +- Wypisz tylko katalogi: + +`ls {{[-d|--directory]}} */` diff --git a/pages.pl/common/lzcat.md b/pages.pl/common/lzcat.md new file mode 100644 index 00000000000000..37e1b879dcffc8 --- /dev/null +++ b/pages.pl/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> To polecenie jest aliasem `xz --format=lzma --decompress --stdout`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xz` diff --git a/pages.pl/common/lzcmp.md b/pages.pl/common/lzcmp.md new file mode 100644 index 00000000000000..93570ab3640b8a --- /dev/null +++ b/pages.pl/common/lzcmp.md @@ -0,0 +1,7 @@ +# lzcmp + +> To polecenie jest aliasem `xzcmp`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xzcmp` diff --git a/pages.pl/common/lzegrep.md b/pages.pl/common/lzegrep.md new file mode 100644 index 00000000000000..6113412b46737e --- /dev/null +++ b/pages.pl/common/lzegrep.md @@ -0,0 +1,8 @@ +# lzegrep + +> To polecenie jest aliasem `xzgrep --extended-regexp`. +> Zobacz także: `egrep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xzgrep` diff --git a/pages.pl/common/lzfgrep.md b/pages.pl/common/lzfgrep.md new file mode 100644 index 00000000000000..c0b669e84a600e --- /dev/null +++ b/pages.pl/common/lzfgrep.md @@ -0,0 +1,8 @@ +# lzfgrep + +> To polecenie jest aliasem `xzgrep --fixed-strings`. +> Zobacz także: `fgrep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xzgrep` diff --git a/pages.pl/common/lzgrep.md b/pages.pl/common/lzgrep.md new file mode 100644 index 00000000000000..f0e042c8315d5d --- /dev/null +++ b/pages.pl/common/lzgrep.md @@ -0,0 +1,7 @@ +# lzgrep + +> To polecenie jest aliasem `xzgrep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xzgrep` diff --git a/pages.pl/common/lzless.md b/pages.pl/common/lzless.md new file mode 100644 index 00000000000000..c6cacfe4b9723d --- /dev/null +++ b/pages.pl/common/lzless.md @@ -0,0 +1,7 @@ +# lzless + +> To polecenie jest aliasem `xzless`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xzless` diff --git a/pages.pl/common/lzma.md b/pages.pl/common/lzma.md new file mode 100644 index 00000000000000..11129ff605cfd1 --- /dev/null +++ b/pages.pl/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> To polecenie jest aliasem `xz --format=lzma`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xz` diff --git a/pages.pl/common/lzmore.md b/pages.pl/common/lzmore.md new file mode 100644 index 00000000000000..fe4b0e1e7d6c6a --- /dev/null +++ b/pages.pl/common/lzmore.md @@ -0,0 +1,7 @@ +# lzmore + +> To polecenie jest aliasem `xzmore`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xzmore` diff --git a/pages.pl/common/mapfile.md b/pages.pl/common/mapfile.md new file mode 100644 index 00000000000000..81ec7c3c68c2a0 --- /dev/null +++ b/pages.pl/common/mapfile.md @@ -0,0 +1,7 @@ +# mapfile + +> To polecenie jest aliasem `readarray`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr readarray` diff --git a/pages.pl/common/masscan.md b/pages.pl/common/masscan.md new file mode 100644 index 00000000000000..2e29bf8f9dc3d8 --- /dev/null +++ b/pages.pl/common/masscan.md @@ -0,0 +1,37 @@ +# masscan + +> Bardzo efektywny skaner sieci. +> Najlepiej działa z podwyższonymi uprawnieniami. Aby uzyskać pomoc dotyczącą zgodności z Nmap'em, użyj komendy `masscan --nmap`. +> Więcej informacji: . + +- Skanuj adres IP lub podsieć w poszukowaniu portu 80: + +`masscan {{adres_ip|maska_podsieci}} {{[-p|--ports]}} {{80}}` + +- Skanuj podsieć klasy B w poszukiwaniu 100 najczęstszych portów z prędkością 100 000 pakietów na sekundę: + +`masscan {{10.0.0.0/16}} --top-ports {{100}} --rate {{100000}}` + +- Skanuj podsieć klasy B unikając zakresów podanych w pliku: + +`masscan {{10.0.0.0/16}} --top-ports {{100}} --excludefile {{ścieżka/do/pliku}}` + +- Skanuj podsieć klasy B używając wykrywania wersji podobnego do Nmap'a (banner grabbing): + +`masscan {{10.0.0.0/16}} {{[-p|--ports]}} {{22,80}} --banners --rate {{100000}}` + +- Skanuj Internet w poszukiwaniu serwerów WWW działających na portach 80 i 443: + +`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{80,443}} --rate {{10000000}}` + +- Skanuj Internet w poszukiwaniu serwerów DNS działających na porcie UDP 53: + +`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{U:53}} --rate {{10000000}}` + +- Skanuj Internet w poszukiwaniu podanego zakresu portów i eksportuj wynik do pliku: + +`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{0-65535}} --output-format {{binary|grepable|json|list|xml}} --output-filename {{path/to/file}}` + +- Odczytaj binarny wynik skanu z pliku i wypisz do `stdout`: + +`masscan --readscan {{path/to/file}}` diff --git a/pages.pl/common/mcli.md b/pages.pl/common/mcli.md new file mode 100644 index 00000000000000..3f94e66d268215 --- /dev/null +++ b/pages.pl/common/mcli.md @@ -0,0 +1,7 @@ +# mcli + +> To polecenie jest aliasem `mc` (MinIO client). + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mc.cli` diff --git a/pages.pl/common/minio-client.md b/pages.pl/common/minio-client.md new file mode 100644 index 00000000000000..187610492437f3 --- /dev/null +++ b/pages.pl/common/minio-client.md @@ -0,0 +1,7 @@ +# minio-client + +> To polecenie jest aliasem `mc` (MinIO client). + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mc.cli` diff --git a/pages.pl/common/mogrify.md b/pages.pl/common/mogrify.md new file mode 100644 index 00000000000000..8d883b6c9850ba --- /dev/null +++ b/pages.pl/common/mogrify.md @@ -0,0 +1,7 @@ +# mogrify + +> To polecenie jest aliasem `magick mogrify`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr magick mogrify` diff --git a/pages.pl/common/montage.md b/pages.pl/common/montage.md new file mode 100644 index 00000000000000..039169ab6dc1da --- /dev/null +++ b/pages.pl/common/montage.md @@ -0,0 +1,7 @@ +# montage + +> To polecenie jest aliasem `magick montage`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr magick montage` diff --git a/pages.pl/common/mpicxx.md b/pages.pl/common/mpicxx.md new file mode 100644 index 00000000000000..e6cc05486552ef --- /dev/null +++ b/pages.pl/common/mpicxx.md @@ -0,0 +1,7 @@ +# mpicxx + +> To polecenie jest aliasem `mpic++`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mpic++` diff --git a/pages.pl/common/mpiexec.md b/pages.pl/common/mpiexec.md new file mode 100644 index 00000000000000..150caeac120fd6 --- /dev/null +++ b/pages.pl/common/mpiexec.md @@ -0,0 +1,7 @@ +# mpiexec + +> To polecenie jest aliasem `mpirun`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mpirun` diff --git a/pages.pl/common/mscore.md b/pages.pl/common/mscore.md new file mode 100644 index 00000000000000..9f8b90fdabba7e --- /dev/null +++ b/pages.pl/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> To polecenie jest aliasem `musescore`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr musescore` diff --git a/pages.pl/common/musl-gcc.md b/pages.pl/common/musl-gcc.md new file mode 100644 index 00000000000000..e34f76ba568a0e --- /dev/null +++ b/pages.pl/common/musl-gcc.md @@ -0,0 +1,9 @@ +# musl-gcc + +> Skrypt opakowujący `gcc`, który automatycznie ustawia opcje do linkowania z musl libc. +> Wszystkie podane opcje są przekazywane bezpośrednio do `gcc`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr gcc` diff --git a/pages.pl/common/mysql.md b/pages.pl/common/mysql.md index ad78ce74c69c71..5affe73f8eb28a 100644 --- a/pages.pl/common/mysql.md +++ b/pages.pl/common/mysql.md @@ -1,32 +1,32 @@ # mysql > Narzędzie wiersza polecenia MySQL. -> Więcej informacji: . +> Więcej informacji: . -- Połącz z bazą danych: +- Połącz się z bazą danych: -`mysql {{nazwa_bazydanych}}` +`mysql {{nazwa_bazy_danych}}` - Połącz się z bazą danych, użytkownik zostanie poproszony o podanie hasła: -`mysql -u {{uzytkownik}} --password {{nazwa_bazydanych}}` +`mysql {{[-u|--user]}} {{użytkownik}} {{[-p|--password]}} {{nazwa_bazy_danych}}` - Połącz się z bazą danych na innym hoście: -`mysql -h {{host_bazydanych}} {{nazwa_bazydanych}}` +`mysql {{[-h|--host]}} {{host_bazy_danych}} {{nazwa_bazy_danych}}` - Połącz się z bazą danych przez gniazdo Unix: -`mysql --socket {{sciezka/do/socket.sock}}` +`mysql {{[-S|--socket]}} {{ścieżka/do/gniazda.sock}}` - Wykonuj instrukcje SQL w pliku skryptu (plik wsadowy): -`mysql -e "source {{nazwapliku.sql}}" {{nazwa_bazydanych}}` +`mysql {{[-e|--execute]}} "source {{nazwa_pliku.sql}}" {{nazwa_bazy_danych}}` - Przywróć bazę danych z kopii zapasowej (użytkownik zostanie poproszony o podanie hasła): -`mysql --user {{uzytkownik}} --password {{nazwa_bazydanych}} < {{sciezka/do/backup.sql}}` +`mysql {{[-u|--user]}} {{użytkownik}} {{[-p|--password]}} {{nazwa_bazy_danych}} < {{ścieżka/do/kopii_zapasowej.sql}}` - Przywróć wszystkie bazy danych z kopii zapasowej (użytkownik zostanie poproszony o podanie hasła): -`mysql --user {{uzytkownik}} --password < {{sciezka/do/backup.sql}}` +`mysql {{[-u|--user]}} {{użytkownik}} {{[-p|--password]}} < {{ścieżka/do/kopii_zapasowej.sql}}` diff --git a/pages.pl/common/netcat.md b/pages.pl/common/netcat.md new file mode 100644 index 00000000000000..0eab068ec64563 --- /dev/null +++ b/pages.pl/common/netcat.md @@ -0,0 +1,7 @@ +# netcat + +> To polecenie jest aliasem `nc`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nc` diff --git a/pages.pl/common/netexec.md b/pages.pl/common/netexec.md new file mode 100644 index 00000000000000..367fbf7be85087 --- /dev/null +++ b/pages.pl/common/netexec.md @@ -0,0 +1,7 @@ +# netexec + +> To polecenie jest aliasem `nxc`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nxc` diff --git a/pages.pl/common/nm-classic.md b/pages.pl/common/nm-classic.md new file mode 100644 index 00000000000000..84b1e0cd36d3ad --- /dev/null +++ b/pages.pl/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> To polecenie jest aliasem `nm`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nm` diff --git a/pages.pl/common/nmap.md b/pages.pl/common/nmap.md new file mode 100644 index 00000000000000..5001d0c8fd933b --- /dev/null +++ b/pages.pl/common/nmap.md @@ -0,0 +1,37 @@ +# nmap + +> Narzędzie do eksploracji sieci oraz skaner bezpieczeństwa/portów. +> Niektóre funkcje (np. skan SYN) aktywują się tylko gdy `nmap` jest uruchamiany z przywilejami root'a. +> Więcej informacji: . + +- Skanuj 1000 najpopularniejszych portów zdalnego hosta z różnymi poziomami szczegółowości ([v]erbosity): + +`nmap -v{{1|2|3}} {{ip_lub_nazwa_hosta}}` + +- Wykonaj bardzo agresywnie ping sweep w całej podsieci lub na poszczególnych hostach: + +`nmap -T5 -sn {{192.168.0.0/24|ip_lub_nazwa_hosta1,ip_lub_nazwa_hosta2,...}}` + +- Włącz wykrywanie systemu operacyjnego, wykrywanie wersji, skanowanie skryptów i traceroute hostów z pliku: + +`sudo nmap -A -iL {{ścieżka/do/pliku.txt}}` + +- Skanuj podaną listę portów (użyj `-p-` dla wszystkich portów od 1 do 65535): + +`nmap -p {{port1,port2,...}} {{ip_lub_host1,ip_lub_host2,...}}` + +- Przeprowadź wykrywanie usług i wersji dla 1000 najpopularniejszych portów używając domyślnych skryptów NSE, zapisując wynik (`-oA`) do plików wyjściowych: + +`nmap -sC -sV -oA {{top-1000-ports}} {{ip_lub_host1,ip_lub_host2,...}}` + +- Skanuj cel(e) ostrożnie używając skryptów NSE `default and safe`: + +`nmap --script "default and safe" {{ip_lub_host1,ip_lub_host2,...}}` + +- Skanuj w poszukiwaniu serwerów internetowych działających na standardowych portach 80 i 443 przy użyciu wszystkich dostępnych skryptów NSE `http-*`: + +`nmap --script "http-*" {{ip_lub_host1,ip_lub_host2,...}} -p 80,443` + +- Spróbuj uniknąć wykrycia przez IDS/IPS, używając bardzo powolnego skanowania (`-T0`), fałszywych adresów źródłowych - wabików (`-D`), [f]ragmentowanych pakietów, losowych danych i innych metod: + +`sudo nmap -T0 -D {{ip_wabika1,ip_wabika2,...}} --source-port {{53}} -f --data-length {{16}} -Pn {{ip_lub_host}}` diff --git a/pages.pl/common/npm-author.md b/pages.pl/common/npm-author.md new file mode 100644 index 00000000000000..d002c64dec8624 --- /dev/null +++ b/pages.pl/common/npm-author.md @@ -0,0 +1,7 @@ +# npm author + +> To polecenie jest aliasem `npm owner`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr npm owner` diff --git a/pages.pl/common/npm-list.md b/pages.pl/common/npm-list.md new file mode 100644 index 00000000000000..c44905934c8412 --- /dev/null +++ b/pages.pl/common/npm-list.md @@ -0,0 +1,7 @@ +# npm list + +> To polecenie jest aliasem `npm ls`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr npm ls` diff --git a/pages.pl/common/npm-restart.md b/pages.pl/common/npm-restart.md new file mode 100644 index 00000000000000..b03c9b5d253579 --- /dev/null +++ b/pages.pl/common/npm-restart.md @@ -0,0 +1,7 @@ +# npm restart + +> To polecenie jest aliasem `npm run restart`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr npm run` diff --git a/pages.pl/common/npm-run-script.md b/pages.pl/common/npm-run-script.md new file mode 100644 index 00000000000000..63f300e5f36a49 --- /dev/null +++ b/pages.pl/common/npm-run-script.md @@ -0,0 +1,7 @@ +# npm run-script + +> To polecenie jest aliasem `npm run`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr npm run` diff --git a/pages.pl/common/npm-start.md b/pages.pl/common/npm-start.md new file mode 100644 index 00000000000000..19c1c2e1190ea0 --- /dev/null +++ b/pages.pl/common/npm-start.md @@ -0,0 +1,7 @@ +# npm start + +> To polecenie jest aliasem `npm run start`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr npm run` diff --git a/pages.pl/common/npm-stop.md b/pages.pl/common/npm-stop.md new file mode 100644 index 00000000000000..df76477d32ff94 --- /dev/null +++ b/pages.pl/common/npm-stop.md @@ -0,0 +1,7 @@ +# npm stop + +> To polecenie jest aliasem `npm run stop`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr npm run` diff --git a/pages.pl/common/npm-test.md b/pages.pl/common/npm-test.md new file mode 100644 index 00000000000000..419e709d519a89 --- /dev/null +++ b/pages.pl/common/npm-test.md @@ -0,0 +1,7 @@ +# npm test + +> To polecenie jest aliasem `npm run test`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr npm run` diff --git a/pages.pl/common/npx.md b/pages.pl/common/npx.md new file mode 100644 index 00000000000000..d52d6a7b996129 --- /dev/null +++ b/pages.pl/common/npx.md @@ -0,0 +1,7 @@ +# npx + +> To polecenie jest aliasem `npm exec`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr npm exec` diff --git a/pages.pl/common/ntl.md b/pages.pl/common/ntl.md new file mode 100644 index 00000000000000..91cb2dbf60bab3 --- /dev/null +++ b/pages.pl/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> To polecenie jest aliasem `netlify`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr netlify` diff --git a/pages.pl/common/open.md b/pages.pl/common/open.md new file mode 100644 index 00000000000000..4a232685e49cc4 --- /dev/null +++ b/pages.pl/common/open.md @@ -0,0 +1,11 @@ +# open + +> `open` może odnosić się do kilku komend o tej samej nazwie. + +- Zobacz dokumentację komendy dostępnej w macOS: + +`tldr open {{[-p|--platform]}} osx` + +- Zobacz dokumentację komendy dostępnej w fish: + +`tldr open.fish` diff --git a/pages.pl/common/opera.md b/pages.pl/common/opera.md new file mode 100644 index 00000000000000..d25e69786cb63e --- /dev/null +++ b/pages.pl/common/opera.md @@ -0,0 +1,8 @@ +# opera + +> To polecenie jest aliasem `chromium`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chromium` diff --git a/pages.pl/common/pamnoraw.md b/pages.pl/common/pamnoraw.md new file mode 100644 index 00000000000000..d61e22d865ae28 --- /dev/null +++ b/pages.pl/common/pamnoraw.md @@ -0,0 +1,7 @@ +# pamnoraw + +> To polecenie jest aliasem `pamtopnm -plain`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pamtopnm` diff --git a/pages.pl/common/pathchk.md b/pages.pl/common/pathchk.md index 2cd6943858c823..e0375eb2c548c0 100644 --- a/pages.pl/common/pathchk.md +++ b/pages.pl/common/pathchk.md @@ -1,19 +1,20 @@ # pathchk > Sprawdź poprawność oraz przenośność jednej lub większej ilości ścieżek. +> Więcej informacji: . - Sprawdź ścieżki pod kątem poprawności w obecnym systemie: -`pathchk {{ścieżka1 ścieżka2 …}}` +`pathchk {{ścieżka1 ścieżka2 ...}}` - Sprawdź ścieżki pod kątem poprawności w szerszym zakresie systemów zgodnych z POSIX: -`pathchk -p {{ścieżka1 ścieżka2 …}}` +`pathchk -p {{ścieżka1 ścieżka2 ...}}` - Sprawdź ścieżki pod kątem poprawności we wszystkich systemach zgodnych z POSIX: -`pathchk --portability {{ścieżka1 ścieżka2 …}}` +`pathchk {{[-p -P|--portability]}} {{ścieżka1 ścieżka2 ...}}` - Sprawdź tylko pod kątem pustych ścieżek lub wiodących myślników (-): -`pathchk -P {{ścieżka1 ścieżka2 …}}` +`pathchk -P {{ścieżka1 ścieżka2 ...}}` diff --git a/pages.pl/common/pdfimages.md b/pages.pl/common/pdfimages.md index 56dd527a562f38..8c0b775c3d9576 100644 --- a/pages.pl/common/pdfimages.md +++ b/pages.pl/common/pdfimages.md @@ -1,6 +1,7 @@ # pdfimages > Narzędzie do wyodrębniania obrazów z plików PDF. +> Więcej informacji: . - Wyodrębnij wszystkie obrazy z pliku PDF i zapisz je jako pliki PNG: diff --git a/pages.pl/common/pdftk.md b/pages.pl/common/pdftk.md index cf282c177ae33d..a16215976febf4 100644 --- a/pages.pl/common/pdftk.md +++ b/pages.pl/common/pdftk.md @@ -1,7 +1,7 @@ # pdftk > Zestaw narzędzi PDF. -> Więcej informacji: . +> Więcej informacji: . - Wyodrębnij strony 1-3, 5 i 6-10 z pliku PDF oraz zapisz je jako inny plik PDF: diff --git a/pages.pl/common/perl-rename.md b/pages.pl/common/perl-rename.md new file mode 100644 index 00000000000000..83bf292f7dc6f8 --- /dev/null +++ b/pages.pl/common/perl-rename.md @@ -0,0 +1,7 @@ +# perl-rename + +> To polecenie jest aliasem `rename`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.pl/common/php.md b/pages.pl/common/php.md index 4efcc455d90dec..febba81470e1b8 100644 --- a/pages.pl/common/php.md +++ b/pages.pl/common/php.md @@ -3,7 +3,7 @@ > Interfejs wiersza poleceń PHP. > Więcej informacji: . -- Parsuj i uruchom skrypt php: +- Parsuj i uruchom skrypt PHP: `php {{plik}}` @@ -19,14 +19,18 @@ `php -r "{{kod}}"` -- uruchom wbudowany serwer PHP w bieżącym katalogu: +- Uruchom wbudowany serwer PHP w bieżącym katalogu: `php -S {{host:port}}` -- Uzyskaj listę zainstalowanych rozszerzeń PHP +- Uzyskaj listę zainstalowanych rozszerzeń PHP: `php -m` - Wyświetl informacje o bieżącej konfiguracji PHP: `php -i` + +- Wyświetl informacje o konkretnej funkcji: + +`php --rf {{nazwa_funkcji}}` diff --git a/pages.pl/common/pio-init.md b/pages.pl/common/pio-init.md new file mode 100644 index 00000000000000..5ee54605fd9fe3 --- /dev/null +++ b/pages.pl/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> To polecenie jest aliasem `pio project init`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pio project` diff --git a/pages.pl/common/piodebuggdb.md b/pages.pl/common/piodebuggdb.md new file mode 100644 index 00000000000000..23b7499d318540 --- /dev/null +++ b/pages.pl/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> To polecenie jest aliasem `pio debug --interface=gdb`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pio debug` diff --git a/pages.pl/common/platformio.md b/pages.pl/common/platformio.md new file mode 100644 index 00000000000000..350fc2c994fc86 --- /dev/null +++ b/pages.pl/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> To polecenie jest aliasem `pio`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pio` diff --git a/pages.pl/common/pnmdepth.md b/pages.pl/common/pnmdepth.md new file mode 100644 index 00000000000000..e2ff5874e52823 --- /dev/null +++ b/pages.pl/common/pnmdepth.md @@ -0,0 +1,7 @@ +# pnmdepth + +> To polecenie jest aliasem `pamdepth`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pamdepth` diff --git a/pages.pl/common/pnmtoplainpnm.md b/pages.pl/common/pnmtoplainpnm.md new file mode 100644 index 00000000000000..28258c0d21a507 --- /dev/null +++ b/pages.pl/common/pnmtoplainpnm.md @@ -0,0 +1,7 @@ +# pnmtoplainpnm + +> To polecenie jest aliasem `pamtopnm -plain`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pamtopnm` diff --git a/pages.pl/common/pnmtopnm.md b/pages.pl/common/pnmtopnm.md new file mode 100644 index 00000000000000..0167ab83d724cc --- /dev/null +++ b/pages.pl/common/pnmtopnm.md @@ -0,0 +1,7 @@ +# pnmtopnm + +> To polecenie jest aliasem `pamtopnm`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pamtopnm` diff --git a/pages.pl/common/prename.md b/pages.pl/common/prename.md new file mode 100644 index 00000000000000..ed53d8e1efe14d --- /dev/null +++ b/pages.pl/common/prename.md @@ -0,0 +1,7 @@ +# prename + +> To polecenie jest aliasem `rename`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.pl/common/ptpython3.md b/pages.pl/common/ptpython3.md new file mode 100644 index 00000000000000..281dfdb3c8ed7f --- /dev/null +++ b/pages.pl/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> To polecenie jest aliasem `ptpython`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ptpython` diff --git a/pages.pl/common/pulumi-down.md b/pages.pl/common/pulumi-down.md new file mode 100644 index 00000000000000..6a218e3d4f242c --- /dev/null +++ b/pages.pl/common/pulumi-down.md @@ -0,0 +1,7 @@ +# pulumi down + +> To polecenie jest aliasem `pulumi destroy`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pulumi destroy` diff --git a/pages.pl/common/pulumi-stack-hist.md b/pages.pl/common/pulumi-stack-hist.md new file mode 100644 index 00000000000000..f89afa384e994a --- /dev/null +++ b/pages.pl/common/pulumi-stack-hist.md @@ -0,0 +1,7 @@ +# pulumi stack hist + +> To polecenie jest aliasem `pulumi stack history`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pulumi stack history` diff --git a/pages.pl/common/pulumi-update.md b/pages.pl/common/pulumi-update.md new file mode 100644 index 00000000000000..7afa0f6ee47c5b --- /dev/null +++ b/pages.pl/common/pulumi-update.md @@ -0,0 +1,7 @@ +# pulumi update + +> To polecenie jest aliasem `pulumi up`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pulumi up` diff --git a/pages.pl/common/pwsh.md b/pages.pl/common/pwsh.md new file mode 100644 index 00000000000000..37688fba5d664e --- /dev/null +++ b/pages.pl/common/pwsh.md @@ -0,0 +1,8 @@ +# pwsh + +> To polecenie jest aliasem `powershell`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr powershell` diff --git a/pages.pl/common/python.md b/pages.pl/common/python.md index f17fc94f50f572..993a7a658299ad 100644 --- a/pages.pl/common/python.md +++ b/pages.pl/common/python.md @@ -1,28 +1,36 @@ # python > Interpreter języka Python. -> Więcej informacji: . +> Więcej informacji: . -- Wywołaj interaktywną powłokę Pythona (REPL): +- Uruchom REPL (interaktywną powłokę): `python` -- Wykonaj skrypt w danym pliku Python: +- Uruchom skrypt w danym pliku Python: -`python {{skrypt.py}}` +`python {{ścieżka/do/pliku.py}}` -- Wykonaj skrypt jako część interaktywnej powłoki: +- Uruchom skrypt w danym pliku Python i uruchom REPL: -`python -i {{skrypt.py}}` +`python -i {{ścieżka/do/pliku.py}}` - Wykonaj wyrażenie w języku Python: -`python -c "{{wyrazenie}}"` +`python -c "{{wyrażenie}}"` -- Uruchom moduł biblioteki jako skrypt (kończy listę opcji): +- Uruchom skrypt podanego modułu biblioteki: `python -m {{moduł}} {{argumenty}}` +- Zainstaluj pakiet, używając `pip`: + +`python -m pip install {{pakiet}}` + - Interaktywnie debuguj skrypt w języku Python: -`python -m pdb {{skrypt.py}}` +`python -m pdb {{ścieżka/do/pliku.py}}` + +- Uruchom wbudowany serwer HTTP na porcie 8080 w aktualnym katalogu: + +`python -m http.server` diff --git a/pages.pl/common/python3.md b/pages.pl/common/python3.md new file mode 100644 index 00000000000000..167ceb32989bbd --- /dev/null +++ b/pages.pl/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> To polecenie jest aliasem `python`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr python` diff --git a/pages.pl/common/r.md b/pages.pl/common/r.md index 4cf873e6c95656..d321107158584c 100644 --- a/pages.pl/common/r.md +++ b/pages.pl/common/r.md @@ -1,4 +1,4 @@ -# r +# R > Interpreter języka R. > Więcej informacji: . diff --git a/pages.pl/common/r2.md b/pages.pl/common/r2.md new file mode 100644 index 00000000000000..8b64e7f76774cd --- /dev/null +++ b/pages.pl/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> To polecenie jest aliasem `radare2`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr radare2` diff --git a/pages.pl/common/rar.md b/pages.pl/common/rar.md index 901a58907c2b7f..d3f2aac30fb996 100644 --- a/pages.pl/common/rar.md +++ b/pages.pl/common/rar.md @@ -1,27 +1,28 @@ # rar > Archiwizator RAR. Obsługuje wielotomowe archiwa, które mogą być opcjonalnie samorozpakowujące się. +> Więcej informacji: . - Zarchiwizuj 1 lub więcej plików: -`rar a {{sciezka/do/nazwa_archiwum.rar}} {{sciezka/do/plik1}} {{sciezka/do/plik2}} {{sciezka/do/plik3}}` +`rar a {{ścieżka/do/nazwa_archiwum.rar}} {{ścieżka/do/pliku1}} {{ścieżka/do/pliku2}} {{ścieżka/do/pliku3}}` - Zarchiwizuj katalog: -`rar a {{sciezka/do/nazwa_archiwum.rar}} {{sciezka/do/katalog}}` +`rar a {{ścieżka/do/nazwa_archiwum.rar}} {{ścieżka/do/katalogu}}` - Podziel archiwum na części równej wielkości (50M): -`rar a -v{{50M}} -R {{sciezka/do/nazwa_archiwum.rar}} {{sciezka/do/plik_lub_katalog}}` +`rar a -v{{50M}} -R {{ścieżka/do/nazwa_archiwum.rar}} {{ścieżka/do/pliku_lub_katalogu}}` -- Chroń hasło wynikowego archiwum: +- Chroń hasłem powstające archiwum: -`rar a -p{{haslo}} {{sciezka/do/nazwa_archiwum.rar}} {{sciezka/do/plik_lub_katalog}}` +`rar a -p{{hasło}} {{ścieżka/do/nazwa_archiwum.rar}} {{ścieżka/do/pliku_lub_katalogu}}` -- Szyfruj dane pliku i nagłówki za pomocą hasła: +- Szyfruj dane pliku i ich nagłówki za pomocą hasła: -`rar a -hp{{haslo}} {{sciezka/do/nazwa_archiwum.rar}} {{sciezka/do/plik_lub_katalog}}` +`rar a -hp{{hasło}} {{ścieżka/do/nazwa_archiwum.rar}} {{ścieżka/do/pliku_lub_katalogu}}` - Użyj określonego poziomu kompresji (0-5): -`rar a -m{{poziom_kompresji}} {{sciezka/do/nazwa_archiwum.rar}} {{sciezka/do/plik_lub_katalog}}` +`rar a -m{{poziom_kompresji}} {{ścieżka/do/nazwa_archiwum.rar}} {{ścieżka/do/pliku_lub_katalogu}}` diff --git a/pages.pl/common/rcat.md b/pages.pl/common/rcat.md new file mode 100644 index 00000000000000..4fc4490cfc1ed8 --- /dev/null +++ b/pages.pl/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> To polecenie jest aliasem `rc`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr rc` diff --git a/pages.pl/common/rm.md b/pages.pl/common/rm.md index a836fb1c2d6af2..17b377cb6c8c45 100644 --- a/pages.pl/common/rm.md +++ b/pages.pl/common/rm.md @@ -1,18 +1,11 @@ # rm > Usuwa pliki lub foldery. +> Więcej informacji: . - Usuń pliki z dowolnej lokalizacji: -`rm {{ścieżka/do/pliku}} {{ścieżka/do/innego/pliku}}` - -- Rekursywnie usuń folder oraz wszystkie jego podfoldery: - -`rm -r {{ścieżka/do/folderu}}` - -- Wymuś usunięcie folderu, bez pytania o potwierdzenie lub pokazywania błędów: - -`rm -rf {{ścieżka/do/folderu}}` +`rm {{ścieżka/do/pliku1 ścieżka/do/pliku2 ...}}` - Interaktywnie usuń kilka plików z pytaniem o potwierdzenie przed każdym usunięciem: @@ -21,3 +14,7 @@ - Usuń pliki w trybie opisowym, pokazując wiadomość o każdym usuniętym pliku: `rm -v {{ścieżka/do/folderu/*}}` + +- Rekursywnie usuń folder oraz wszystkie jego podfoldery: + +`rm -r {{ścieżka/do/folderu}}` diff --git a/pages.pl/common/rnano.md b/pages.pl/common/rnano.md new file mode 100644 index 00000000000000..94c2a7b1c8935d --- /dev/null +++ b/pages.pl/common/rnano.md @@ -0,0 +1,8 @@ +# rnano + +> To polecenie jest aliasem `nano --restricted`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nano` diff --git a/pages.pl/common/rsync.md b/pages.pl/common/rsync.md new file mode 100644 index 00000000000000..f14ebffd5a83b7 --- /dev/null +++ b/pages.pl/common/rsync.md @@ -0,0 +1,37 @@ +# rsync + +> Przesyłaj pliki do lub ze zdalnego hosta (ale nie pomiędzy dwoma zdalnymi hostami), domyślnie używając SSH. +> Aby wskazać na ścieżkę zdalną, użyj `user@host:ścieżka/do/pliku_lub_katalogu`. +> Więcej informacji: . + +- Prześlij plik: + +`rsync {{ścieżka/do/źródła}} {{ścieżka/do/miejsca_docelowego}}` + +- Użyj trybu archiwum (rekursywnie kopiuj katalogi, kopiuj dowiązania symboliczne bez rozwiązywania i zachowaj uprawnienia, własność i czasy modyfikacji): + +`rsync {{[-a|--archive]}} {{ścieżka/do/źródła}} {{ścieżka/do/miejsca_docelowego}}` + +- Kompresuj dane podczas gdy są wysyłane do miejsca docelowego, wyświetlaj szczegółowy i czytelny dla człowieka postęp i zachowaj częściowo przesłane pliki w przypadku przerwania: + +`rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{ścieżka/do/źródła}} {{ścieżka/do/miejsca_docelowego}}` + +- Rekursywnie kopiuj katalogi: + +`rsync {{[-r|--recursive]}} {{ścieżka/do/źródła}} {{ścieżka/do/miejsca_docelowego}}` + +- Prześlij zawartość katalogu, ale nie sam katalog: + +`rsync {{[-r|--recursive]}} {{ścieżka/do/źródła/}} {{ścieżka/do/miejsca_docelowego}}` + +- Rekursywnie kopiuj katalogi, użyj trybu archiwum, rozwiąż dowiązania symboliczne i pomiń pliki, które są nowsze w miejscu docelowym: + +`rsync {{[-auL|--archive --update --copy-links]}} {{ścieżka/do/źródła}} {{ścieżka/do/miejsca_docelowego}}` + +- Prześlij katalog ze zdalnego hosta, na którym działa `rsyncd` i usuń pliki w miejscu docelowym, które nie istnieją w źródle: + +`rsync {{[-r|--recursive]}} --delete rsync://{{host}}:{{ścieżka/do/źródła}} {{ścieżka/do/miejsca_docelowego}}` + +- Prześlij plik poprzez SSH używając innego portu niż domyślny (22) i wyświetlaj globalny postęp: + +`rsync {{[-e|--rsh]}} 'ssh -p {{port}}' --info=progress2 {{host}}:{{ścieżka/do/źródła}} {{ścieżka/do/miejsca_docelowego}}` diff --git a/pages.pl/common/rustup-install.md b/pages.pl/common/rustup-install.md new file mode 100644 index 00000000000000..ffe8400742b172 --- /dev/null +++ b/pages.pl/common/rustup-install.md @@ -0,0 +1,7 @@ +# rustup install + +> To polecenie jest aliasem `rustup toolchain install`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr rustup toolchain` diff --git a/pages.pl/common/rustup-uninstall.md b/pages.pl/common/rustup-uninstall.md new file mode 100644 index 00000000000000..b84a3c07a516fe --- /dev/null +++ b/pages.pl/common/rustup-uninstall.md @@ -0,0 +1,7 @@ +# rustup uninstall + +> To polecenie jest aliasem `rustup toolchain uninstall`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr rustup toolchain` diff --git a/pages.pl/common/sass.md b/pages.pl/common/sass.md index 3e989723c3e778..caf3eb3f3906d8 100644 --- a/pages.pl/common/sass.md +++ b/pages.pl/common/sass.md @@ -5,16 +5,16 @@ - Konwertuj plik SCSS lub Sass do CSS i wypisz wynik: -`sass {{plikwejsciowy.scss|plikwejsciowy.sass}}` +`sass {{plik_wejściowy.scss|plik_wejściowy.sass}}` - Konwertuj plik SCSS lub Sass do CSS i zapisz wynik w pliku: -`sass {{plikwejsciowy.scss|plikwejsciowy.sass}} {{plikwyjsciowy.css}}` +`sass {{plik_wejściowy.scss|plik_wejściowy.sass}} {{plik_wyjściowy.css}}` - Obejrzyj zmiany w pliku SCSS lub Sass i wyślij lub zaktualizuj plik CSS o tej samej nazwie: -`sass --watch {{plikwejsciowy.scss|plikwejsciowy.sass}}` +`sass --watch {{plik_wejściowy.scss|plik_wejściowy.sass}}` - Obejrzyj zmiany w pliku SCSS lub Sass i wyślij lub zaktualizuj plik CSS o podanej nazwie: -`sass --watch {{plikwejsciowy.scss|plikwejsciowy.sass}}:{{plikwyjsciowy.css}}` +`sass --watch {{plik_wejściowy.scss|plik_wejściowy.sass}}:{{plik_wyjściowy.css}}` diff --git a/pages.pl/common/snowsql.md b/pages.pl/common/snowsql.md new file mode 100644 index 00000000000000..aca00ba81de2b2 --- /dev/null +++ b/pages.pl/common/snowsql.md @@ -0,0 +1,24 @@ +# snowsql + +> Narzędzie wiersza SnowSQL serwisu bazodanowego Snowflake. +> Więcej informacji: . + +- Połącz z konkretną instancją pod adresem (hasło może być wprowadzone w wierszu polecenia lub pliku konfiguracyjnym): + +`snowsql --accountname {{konto}} --username {{użytkownik}} --dbname {{baza_danych}} --schemaname {{nazwa_schematu}}` + +- Połącz się z instancją zdefiniowaną w pliku konfiguracyjnym (domyślnie w `~/.snowsql/config`): + +`snowsql --config {{ścieżka/do/pliku_konfiguracyjnego}}` + +- Połącz się z domyślnie zdefiniowaną instancją, podając kod autentykacji drugiego poziomu: + +`snowsql --mfa-passcode {{kod_podwójnej_weryfikacji}}` + +- Wykonaj pojedyncze zapytanie lub komendę SnowSQL na domyślnym połączeniu (użyteczne w skryptach powłoki): + +`snowsql --query '{{zapytanie}}'` + +- Wykonaj zapytania lub komendy z konkretnego pliku: + +`snowsql --filename {{ścieżka/do/pliku.sql}}` diff --git a/pages.pl/common/sr.md b/pages.pl/common/sr.md new file mode 100644 index 00000000000000..cda85bfd348cea --- /dev/null +++ b/pages.pl/common/sr.md @@ -0,0 +1,7 @@ +# sr + +> To polecenie jest aliasem `surfraw`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr surfraw` diff --git a/pages.pl/common/sudo.md b/pages.pl/common/sudo.md index e2bef0aa2af965..95dfd124e6e83c 100644 --- a/pages.pl/common/sudo.md +++ b/pages.pl/common/sudo.md @@ -1,6 +1,7 @@ # sudo > Wykonuje pojedyncze polecenie jako superuser lub inny użytkownik. +> Więcej informacji: . - Uruchom polecenie jako superuser: @@ -8,16 +9,16 @@ - Edytuj plik jako superuser w domyślnym edytorze: -`sudo -e {{/etc/fstab}}` +`sudo {{[-e|--edit]}} {{/etc/fstab}}` - Uruchom polecenie jako inny użytkownik i/lub grupa: -`sudo -u {{uzytkownik}} -g {{grupa}} {{id -a}}` +`sudo {{[-u|--user]}} {{uzytkownik}} {{[-g|--group]}} {{grupa}} {{id -a}}` -- Powtórz ostatnie polecenie poprzedzone "sudo" (tylko w bash, zsh, etc.): +- Powtórz ostatnie polecenie poprzedzone `sudo` (tylko w Bash, Zsh, etc.): `sudo !!` - Uruchom domyślną powłokę z uprawnieniami superuser: -`sudo -i` +`sudo {{[-i|--login]}}` diff --git a/pages.pl/common/sudoedit.md b/pages.pl/common/sudoedit.md new file mode 100644 index 00000000000000..266f2842f66252 --- /dev/null +++ b/pages.pl/common/sudoedit.md @@ -0,0 +1,7 @@ +# sudoedit + +> To polecenie jest aliasem `sudo --edit`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sudo` diff --git a/pages.pl/common/test.md b/pages.pl/common/test.md new file mode 100644 index 00000000000000..df2afc1246bb96 --- /dev/null +++ b/pages.pl/common/test.md @@ -0,0 +1,25 @@ +# test + +> Sprawdza typy plików i porównuje wartości. +> Zwraca 0 gdy porównanie zwróciło wartość poprawną, 1 gdy fałszywą. +> Więcej informacji: . + +- Sprawdź czy podana zmienna jest równa łańcuchowi znaków: + +`test "{{$ZMIENNA}}" = "{{/bin/zsh}}"` + +- Sprawdź czy zmienna jest pusta: + +`test -z "{{$GIT_BRANCH}}"` + +- Sprawdź czy plik istnieje: + +`test -f "{{ścieżka/do/pliku}}"` + +- Sprawdź czy katalog nie istnieje: + +`test ! -d "{{ścieżka/do/katalogu}}"` + +- Zapis jeśli porawne-jeśli fałszywe: + +`test {{warunek}} && {{echo "gdy poprawne"}} || {{echo "gdy fałszywe"}}` diff --git a/pages.pl/common/tig.md b/pages.pl/common/tig.md new file mode 100644 index 00000000000000..240daf67dc8cc5 --- /dev/null +++ b/pages.pl/common/tig.md @@ -0,0 +1,28 @@ +# tig + +> Interfejs tekstowy dla Gita. +> Więcej informacji: . + +- Pokaż listę commitów w odwrotnej kolejności chronologicznej, zaczynając od najnowszego: + +`tig` + +- Pokaż historię wybranej gałęzi: + +`tig {{gałąź}}` + +- Pokaż historię wybranych plików lub katalogów: + +`tig {{ścieżka1 ścieżka2 ...}}` + +- Pokaż różnice pomiędzy dwiema referencjami (np. gałęziami lub tagami): + +`tig {{bazowa_ref}}..{{porównywana_ref}}` + +- Wyświetl comity ze wszystkich gałęzi i stash: + +`tig --all` + +- Rozpocznij w widoku stash, wyświetlając wszystkie zmiany w stash: + +`tig stash` diff --git a/pages.pl/common/tldr-lint.md b/pages.pl/common/tldr-lint.md new file mode 100644 index 00000000000000..8562299b2e752a --- /dev/null +++ b/pages.pl/common/tldr-lint.md @@ -0,0 +1,16 @@ +# tldr-lint + +> Waliduj i formatuj strony dokumentacji `tldr`. +> Więcej informacji: . + +- Waliduj wszystkie strony: + +`tldr-lint {{katalog_ze_stronami}}` + +- Formatuj stronę na standardowe wyjście: + +`tldr-lint --format {{strona.md}}` + +- Formatuj wszystkie strony w miejscu: + +`tldr-lint --format --in-place {{katalog_ze_stronami}}` diff --git a/pages.pl/common/tldr.md b/pages.pl/common/tldr.md index d85b2f43cc5d28..7d9526862e9cf4 100644 --- a/pages.pl/common/tldr.md +++ b/pages.pl/common/tldr.md @@ -1,17 +1,29 @@ # tldr -> Klient wiersza polecenia dla stron tldr. -> Wyświetla uproszczone i obsługiwane przez społeczność strony podręcznika man. -> Więcej informacji: . +> Wyświetl proste strony pomocy dla narzędzi wiersza poleceń z projektu tldr-pages. +> Uwaga: opcje `--language` i `--list` nie są wymagane przez specyfikację, ale większość klientów je implementuje. +> Więcej informacji: . -- Uzyskaj typowe zastosowania polecenia (wskazówka: oto jak się tu dostałeś!): +- Wyświetl stronę tldr dla podanej komendy (wskazówka: w ten sposób tu trafiłeś/aś!): -`tldr {{polecenie}}` +`tldr {{komenda}}` -- Pokaż tar tldr page dla Linux: +- Wyświetl stronę tldr dla podanej podkomendy: -`tldr -p {{linux}} {{tar}}` +`tldr {{komenda}} {{podkomenda}}` -- Uzyskaj pomoc dotyczącą komendy Git: +- Wyświetl stronę tldr dla komendy w podanym języku (jeżeli jest dostępna, w przeciwnym razie po angielsku): -`tldr {{git-checkout}}` +`tldr {{[-L|--language]}} {{kod_języka}} {{komenda}}` + +- Wyświetl stronę tldr dla komendy z podanej platformy: + +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{komenda}}` + +- Zaktualizuj lokalną pamięć podręczną stron tldr: + +`tldr {{[-u|--update]}}` + +- Wyświetl listę stron tldr dla aktualnej platformy i `common`: + +`tldr {{[-l|--list]}}` diff --git a/pages.pl/common/tldrl.md b/pages.pl/common/tldrl.md new file mode 100644 index 00000000000000..91fcf307d2b19a --- /dev/null +++ b/pages.pl/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> To polecenie jest aliasem `tldr-lint`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr tldr-lint` diff --git a/pages.pl/common/tlmgr-arch.md b/pages.pl/common/tlmgr-arch.md new file mode 100644 index 00000000000000..328189403d10ab --- /dev/null +++ b/pages.pl/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> To polecenie jest aliasem `tlmgr platform`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr tlmgr platform` diff --git a/pages.pl/common/todoman.md b/pages.pl/common/todoman.md new file mode 100644 index 00000000000000..4a23dff1b519bc --- /dev/null +++ b/pages.pl/common/todoman.md @@ -0,0 +1,7 @@ +# todoman + +> To polecenie jest aliasem `todo`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr todo` diff --git a/pages.pl/common/trash-cli.md b/pages.pl/common/trash-cli.md new file mode 100644 index 00000000000000..cf878efa816d40 --- /dev/null +++ b/pages.pl/common/trash-cli.md @@ -0,0 +1,7 @@ +# trash-cli + +> To polecenie jest aliasem `trash`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr trash` diff --git a/pages.pl/common/typeset.md b/pages.pl/common/typeset.md new file mode 100644 index 00000000000000..691490bf0b7992 --- /dev/null +++ b/pages.pl/common/typeset.md @@ -0,0 +1,7 @@ +# typeset + +> To polecenie jest aliasem `declare`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr declare` diff --git a/pages.pl/common/unlzma.md b/pages.pl/common/unlzma.md new file mode 100644 index 00000000000000..91f982ce85ee63 --- /dev/null +++ b/pages.pl/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> To polecenie jest aliasem `xz --format=lzma --decompress`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xz` diff --git a/pages.pl/common/unxz.md b/pages.pl/common/unxz.md new file mode 100644 index 00000000000000..1fa15222adc7fb --- /dev/null +++ b/pages.pl/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> To polecenie jest aliasem `xz --decompress`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xz` diff --git a/pages.pl/common/unzstd.md b/pages.pl/common/unzstd.md new file mode 100644 index 00000000000000..6d41b75ac52842 --- /dev/null +++ b/pages.pl/common/unzstd.md @@ -0,0 +1,7 @@ +# unzstd + +> To polecenie jest aliasem `zstd --decompress`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr zstd` diff --git a/pages.pl/common/vc.md b/pages.pl/common/vc.md new file mode 100644 index 00000000000000..1f104b6069b067 --- /dev/null +++ b/pages.pl/common/vc.md @@ -0,0 +1,7 @@ +# vc + +> To polecenie jest aliasem `vercel`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr vercel` diff --git a/pages.pl/common/vi.md b/pages.pl/common/vi.md new file mode 100644 index 00000000000000..01b2f7ff7012b1 --- /dev/null +++ b/pages.pl/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> To polecenie jest aliasem `vim`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr vim` diff --git a/pages.pl/common/vim.md b/pages.pl/common/vim.md index 38c894f0273951..8d0c9640ec06b0 100644 --- a/pages.pl/common/vim.md +++ b/pages.pl/common/vim.md @@ -1,37 +1,37 @@ # vim > Vim (Vi IMproved), edytor tekstu wiersza polecenia, oferuje kilka trybów dla różnych rodzajów manipulacji tekstem. -> Naciśnięcie przycisku `i` powoduje przejście do trybu edycji. `` wraca do normalnego trybu, który nie pozwala na zwykłe wstawianie tekstu. +> Naciśnięcie `` powoduje przejście do trybu edycji. `` wraca do normalnego trybu, który pozwala na używanie komend. > Więcej informacji: . - Otwórz plik: -`vim {{sciezka/do/plik}}` +`vim {{scieżka/do/pliku}}` -- Zobacz instrukcję pomocy Vim: +- Otwórz plik pod określonym numerem wiersza: -`:help` +`vim +{{numer_linii}} {{scieżka/do/pliku}}` -- Zapisz plik: +- Zobacz instrukcję pomocy Vim: -`:write` +`<:>help` - Wyjdź bez zapisywania: -`:quit!` - -- Otwórz plik pod określonym numerem wiersza: - -`vim +{{numer_linii}} {{sciezka/do/plik}}` +`{{|<:>x|<:>wq}}` - Cofnij ostatnią operację: -`u` +`` -- Wyszukaj wzorzec w pliku (naciśnij `n`/`N` przejść do następnego/poprzedniego dopasowania): +- Wyszukaj wzorzec w pliku (naciśnij ``/`` przejść do następnego/poprzedniego dopasowania): -`/{{szukaj_wzorca}}` +`{{szukaj_wzorca}}` - Wykonaj podstawienie wyrażenia regularnego w całym pliku: -`:%s/{{wzorzec}}/{{zastąpienie}}/g` +`<:>%s/{{wzorzec}}/{{zastąpienie}}/g` + +- Wyświetlaj numery linii: + +`<:>set nu` diff --git a/pages.pl/common/vivaldi.md b/pages.pl/common/vivaldi.md new file mode 100644 index 00000000000000..13cd4e7c883e63 --- /dev/null +++ b/pages.pl/common/vivaldi.md @@ -0,0 +1,8 @@ +# vivaldi + +> To polecenie jest aliasem `chromium`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chromium` diff --git a/pages.pl/common/vue.md b/pages.pl/common/vue.md index 44dfc312139f48..47dd7d59abb0a0 100644 --- a/pages.pl/common/vue.md +++ b/pages.pl/common/vue.md @@ -1,7 +1,7 @@ # vue > Wielofunkcyjny interfejs CLI dla Vue.js. -> Więcej informacji: . +> Więcej informacji: . - Utwórz nowy projekt vue interaktywnie: diff --git a/pages.pl/common/w.md b/pages.pl/common/w.md new file mode 100644 index 00000000000000..0291bff61a1002 --- /dev/null +++ b/pages.pl/common/w.md @@ -0,0 +1,13 @@ +# w + +> Pokazuje kto jest zalogowany i co aktualnie robi. +> Wyświetla login, TTY, zdalny host, czas zalogowania, czas bezczynności i aktualny proces. +> Więcej informacji: . + +- Pokazuje informacje o aktualnie zalogowanych użytkownikach: + +`w` + +- Pokazuje aktualnie zalogowanych użytkowników bez nagłówka: + +`w -h` diff --git a/pages.pl/common/wc.md b/pages.pl/common/wc.md new file mode 100644 index 00000000000000..6a19c2b9ef33a1 --- /dev/null +++ b/pages.pl/common/wc.md @@ -0,0 +1,28 @@ +# wc + +> Zlicza linie, słowa, i bajty. +> Więcej informacji: . + +- Policz linie w pliku: + +`wc {{[-l|--lines]}} {{plik}}` + +- Policz słowa w pliku: + +`wc {{[-w|--words]}} {{plik}}` + +- Policz znaki (bajty) w pliku: + +`wc {{[-c|--bytes]}} {{plik}}` + +- Policz znaki w pliku (uwzględniając znaki zapisane więcej niż jednym bajtem): + +`wc {{[-m|--chars]}} {{plik}}` + +- Użyj standardowego wejścia aby policzyć po kolei linie, słowa, i znaki (bajty): + +`{{find .}} | wc` + +- Policz długość najdłuższej linii w pliku: + +`wc {{[-L|--max-line-length]}} {{plik}}` diff --git a/pages.pl/common/wcurl.md b/pages.pl/common/wcurl.md new file mode 100644 index 00000000000000..b99c159d8877da --- /dev/null +++ b/pages.pl/common/wcurl.md @@ -0,0 +1,21 @@ +# wcurl + +> Prosty wrapper na narzędzie `curl` do łatwego pobierania plików. +> Zobacz także: `curl`. +> Więcej informacji: . + +- Pobierz zawartość URL do pliku wskazanego przez ten URL (w tym wypadku "foo"): + +`wcurl {{https://example.com/foo}}` + +- Pobierz zawartość URL do pliku o określonej nazwie: + +`wcurl {{[-o|--output]}} {{bar}} {{https://example.com/foo}}` + +- Pobierz zawartość URL, wyświetl pasek postępu i domyślnie użyj HTTP/2: + +`wcurl --curl-options "--progress-bar --http2" {{https://example.com/foo}}` + +- Wznów przerwane pobieranie: + +`wcurl --curl-options "--continue-at -" {{https://example.com/foo}}` diff --git a/pages.pl/common/xkcdpass.md b/pages.pl/common/xkcdpass.md index e2560f97820978..e518beaa209375 100644 --- a/pages.pl/common/xkcdpass.md +++ b/pages.pl/common/xkcdpass.md @@ -10,8 +10,8 @@ - Stwórz hasło w którym pierwsze litery każdego słowa układają się w podany argument: -`xkcdpass -a {{acrostic}}` +`xkcdpass {{[-a|--acrostic]}} {{acrostic}}` - Interaktywnie stwórz hasło: -`xkcdpass -i` +`xkcdpass {{[-i|--interactive]}}` diff --git a/pages.pl/common/xkill.md b/pages.pl/common/xkill.md index 3fdd8215626a10..8173e92da98e20 100644 --- a/pages.pl/common/xkill.md +++ b/pages.pl/common/xkill.md @@ -1,7 +1,8 @@ # xkill > Zabija okno z sesji graficznej. -> Zobacz też `kill` i `killall`. +> Zobacz także `kill` i `killall`. +> Więcej informacji: . - Wyświetla kursor pozwalający na wybranie okna do zabicia przy pomocy lewego przycisku myszy (pozostałe przyciski anulują): diff --git a/pages.pl/common/xml-c14n.md b/pages.pl/common/xml-c14n.md new file mode 100644 index 00000000000000..3bea760bc525ff --- /dev/null +++ b/pages.pl/common/xml-c14n.md @@ -0,0 +1,7 @@ +# xml c14n + +> To polecenie jest aliasem `xml canonic`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xml canonic` diff --git a/pages.pl/common/xml-p2x.md b/pages.pl/common/xml-p2x.md new file mode 100644 index 00000000000000..f2ed6efe7fd18d --- /dev/null +++ b/pages.pl/common/xml-p2x.md @@ -0,0 +1,7 @@ +# xml p2x + +> To polecenie jest aliasem `xml depyx`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xml depyx` diff --git a/pages.pl/common/xml-xmln.md b/pages.pl/common/xml-xmln.md new file mode 100644 index 00000000000000..ab20c860fd1d54 --- /dev/null +++ b/pages.pl/common/xml-xmln.md @@ -0,0 +1,7 @@ +# xml xmln + +> To polecenie jest aliasem `xml pyx`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xml pyx` diff --git a/pages.pl/common/xzcat.md b/pages.pl/common/xzcat.md new file mode 100644 index 00000000000000..88a7cd5956aeba --- /dev/null +++ b/pages.pl/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> To polecenie jest aliasem `xz --decompress --stdout`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xz` diff --git a/pages.pl/common/xzegrep.md b/pages.pl/common/xzegrep.md new file mode 100644 index 00000000000000..000a7706e20f63 --- /dev/null +++ b/pages.pl/common/xzegrep.md @@ -0,0 +1,8 @@ +# xzegrep + +> To polecenie jest aliasem `xzgrep --extended-regexp`. +> Zobacz także: `egrep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xzgrep` diff --git a/pages.pl/common/xzfgrep.md b/pages.pl/common/xzfgrep.md new file mode 100644 index 00000000000000..d7a0e9754d8ba2 --- /dev/null +++ b/pages.pl/common/xzfgrep.md @@ -0,0 +1,8 @@ +# xzfgrep + +> To polecenie jest aliasem `xzgrep --fixed-strings`. +> Zobacz także: `fgrep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xzgrep` diff --git a/pages.pl/common/yes.md b/pages.pl/common/yes.md new file mode 100644 index 00000000000000..6fe6141b8c7beb --- /dev/null +++ b/pages.pl/common/yes.md @@ -0,0 +1,21 @@ +# yes + +> Wypisuje coś wielokrotnie. +> Komenda używana często aby potwierdzić pytania zadawane przez komendy instalujące takie jak `apt-get`. +> Więcej informacji: . + +- Wypisuj bez końca "wiadomość": + +`yes {{wiadomość}}` + +- Wypisuj bez końca "y": + +`yes` + +- Wysyłaj potwierdzenie dla każdego pytania zadanego przez `apt-get`: + +`yes | sudo apt-get install {{program}}` + +- Wielokrotnie wypisuj znak nowej linii, aby zawsze akceptować domyślne opcje poleceń: + +`yes ''` diff --git a/pages.pl/common/youtube-dl.md b/pages.pl/common/youtube-dl.md index 7e19e0bcd5ff7f..8227f951e31651 100644 --- a/pages.pl/common/youtube-dl.md +++ b/pages.pl/common/youtube-dl.md @@ -1,13 +1,13 @@ # youtube-dl -> Pobieraj wideo i audio z YouTube i podobnych portali -> Więcej informacji: . +> Pobieraj wideo i audio z YouTube i podobnych portali. +> Więcej informacji: . - Pobierz plik wideo lub wszystkie pliki z playlisty: `youtube-dl '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` -- Listuj wszystkie formaty dostępne dla filmu lub playlisty: +- Wypisz wszystkie formaty dostępne dla filmu lub playlisty: `youtube-dl --list-formats '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` @@ -19,18 +19,18 @@ `youtube-dl -x --audio-format {{mp3}} '{{url}}'` -- Pobierz wideo ze ścieżką audio złączone w jendym pliku w najlepszej dostępnej jakości: +- Pobierz wideo ze ścieżką audio złączone w jednym pliku w najlepszej dostępnej jakości: `youtube-dl -f bestvideo+bestaudio '{{url}}'` - Pobierz wideo jako pliki MP4 i nazwij wedle schematu: -`youtube-dl --format {{mp4}} -o "{{%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'` +`youtube-dl --format {{mp4}} -o "{{%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'` - Pobierz plik razem z napisami: `youtube-dl --sub-lang {{en}} --write-sub '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` -- Pobierz ścieżkę dźwiękową ze wszystkich filmów z playlisty: +- Pobierz playlistę i wyodrębnij z niej pliki MP3: -`youtube-dl -i --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" '{{adres_url_playlisty}}'` +`youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" '{{adres_url_playlisty}}'` diff --git a/pages.pl/common/zeditor.md b/pages.pl/common/zeditor.md new file mode 100644 index 00000000000000..7cf346761f3aeb --- /dev/null +++ b/pages.pl/common/zeditor.md @@ -0,0 +1,7 @@ +# zeditor + +> To polecenie jest aliasem `zed`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr zed` diff --git a/pages.pl/common/zstdcat.md b/pages.pl/common/zstdcat.md new file mode 100644 index 00000000000000..c0f8b0a401ccc7 --- /dev/null +++ b/pages.pl/common/zstdcat.md @@ -0,0 +1,7 @@ +# zstdcat + +> To polecenie jest aliasem `zstd --decompress --stdout`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr zstd` diff --git a/pages.pl/common/zstdmt.md b/pages.pl/common/zstdmt.md new file mode 100644 index 00000000000000..b837ec7bfce63d --- /dev/null +++ b/pages.pl/common/zstdmt.md @@ -0,0 +1,7 @@ +# zstdmt + +> To polecenie jest aliasem `zstd --threads 0` (które ustawia liczbę wątków pracy na liczbę fizycznych rdzeni procesora). + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr zstd` diff --git a/pages.pl/freebsd/base64.md b/pages.pl/freebsd/base64.md new file mode 100644 index 00000000000000..9acec342031312 --- /dev/null +++ b/pages.pl/freebsd/base64.md @@ -0,0 +1,28 @@ +# base64 + +> Enkoduj lub dekoduj plik lub `stdin` do/z base64, do `stdout` lub innego pliku. +> Więcej informacji: . + +- Enkoduj plik do `stdout`: + +`base64 {{[-i|--input]}} {{ścieżka/do/pliku}}` + +- Enkoduj plik do określonego pliku wyjściowego: + +`base64 {{[-i|--input]}} {{ścieżka/do/pliku_wejściowego}} {{[-o|--output]}} {{ścieżka/do/pliku_wyjściowego}}` + +- Zawijaj zakodowane wyjście na określonej szerokości (`0` wyłącza zawijanie): + +`base64 {{[-b|--break]}} {{0|76|...}} {{ścieżka/do/pliku}}` + +- Dekoduj plik do `stdout`: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{ścieżka/do/pliku}}` + +- Enkoduj z `stdin` do `stdout`: + +`{{komenda}} | base64` + +- Dekoduj z `stdin` do `stdout`: + +`{{komenda}} | base64 {{[-d|--decode]}}` diff --git a/pages.pl/freebsd/cal.md b/pages.pl/freebsd/cal.md new file mode 100644 index 00000000000000..30ad46679a00e4 --- /dev/null +++ b/pages.pl/freebsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> Wyświetl kalendarz z wyróżnionym bieżącym dniem. +> Więcej informacji: . + +- Wyświetl kalendarz dla obecnego miesiąca: + +`cal` + +- Wyświetl kalendarz dla określonego roku: + +`cal {{rok}}` + +- Wyświetl kalendarz dla określonego miesiąca i roku: + +`cal {{miesiąc}} {{rok}}` + +- Wyświetl cały kalendarz na bieżący rok (z ang. [y]ear): + +`cal -y` + +- Nie wyróżniaj (z ang. [h]ighlight) dzisiejszej daty i wyświetl [3] miesiące ją obejmujące: + +`cal -h -3 {{miesiąc}} {{rok}}` + +- Wyświetl 2 miesiące przed (z ang. [B]efore) i 3 po (z ang. [A]fter) określonym [m]iesiącu bieżącego roku: + +`cal -A 3 -B 2 {{miesiąc}}` + +- Wyświetl dni [j]uliańskie (zaczynając od jeden, numerowane od 1 stycznia): + +`cal -j` diff --git a/pages.pl/freebsd/chfn.md b/pages.pl/freebsd/chfn.md new file mode 100644 index 00000000000000..e519526a18a034 --- /dev/null +++ b/pages.pl/freebsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/freebsd/chpass.md b/pages.pl/freebsd/chpass.md new file mode 100644 index 00000000000000..fa529160b93a92 --- /dev/null +++ b/pages.pl/freebsd/chpass.md @@ -0,0 +1,33 @@ +# chpass + +> Dodaj lub zmień informacje w bazie danych użytkowników, w tym powłokę logowania i hasło. +> Zobacz także: `passwd`. +> Więcej informacji: . + +- Dodaj lub zmień informacje w bazie danych użytkowników dla bieżącego użytkownika w sposób interaktywny: + +`su -c chpass` + +- Ustaw określoną powłokę (z ang. [s]hell) logowania dla bieżącego użytkownika: + +`chpass -s {{ścieżka/do/powłoki}}` + +- Ustaw powłokę (z ang. [s]hell) logowania dla określonego użytkownika: + +`chpass -s {{ścieżka/do/powłoki}} {{nazwa_użytkownika}}` + +- Zmień czas wygaśnięcia (z ang. [e]xpire) konta (w sekundach od daty początku epoki, UTC): + +`su -c 'chpass -e {{czas}} {{nazwa_użytkownika}}'` + +- Zmień hasło użytkownika: + +`su -c 'chpass -p {{zaszyfrowane_hasło}} {{nazwa_użytkownika}}'` + +- Określ nazwę [h]osta lub adres serwera NIS do zapytania: + +`su -c 'chpass -h {{nazwa_hosta}} {{nazwa_użytkownika}}'` + +- Określ konkretną [d]omenę NIS (domyślnie nazwa domeny systemowej): + +`su -c 'chpass -d {{domain}} {{nazwa_użytkownika}}'` diff --git a/pages.pl/freebsd/chsh.md b/pages.pl/freebsd/chsh.md new file mode 100644 index 00000000000000..72e438c5095a90 --- /dev/null +++ b/pages.pl/freebsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/freebsd/df.md b/pages.pl/freebsd/df.md new file mode 100644 index 00000000000000..90a2895c2e4271 --- /dev/null +++ b/pages.pl/freebsd/df.md @@ -0,0 +1,32 @@ +# df + +> Wyświetl przegląd wykorzystania przestrzeni dyskowej systemu plików. +> Więcej informacji: . + +- Wyświetl wszystkie systemy plików i ich wykorzystanie dysków w jednostkach 512-bajtowych: + +`df` + +- Użyj jednostek czytelnych dla człowieka (z ang. [h]uman) (opartych na potęgach 1024) i wyświetl sumę całkowitą: + +`df -h -c` + +- Użyj jednostek czytelnych dla człowieka (z ang. [H]uman) (opartych na potęgach 1000): + +`df -{{-si|H}}` + +- Wyświetl wszystkie systemy plików i ich wykorzystanie dysków zawierające podany plik lub katalog: + +`df {{ścieżka/do/pliku_lub_katalogu}}` + +- Dołącz statystyki dotyczące liczby wolnych i wykorzystanych [i]-węzłów wraz z [T]ypami systemów plików: + +`df -iT` + +- Użyj jednostek 1024-bajtowych do wyświetlania danych o przestrzeni dyskowej: + +`df -k` + +- Wyświetl informację w sposób [P]rzenośny: + +`df -P` diff --git a/pages.pl/freebsd/look.md b/pages.pl/freebsd/look.md new file mode 100644 index 00000000000000..1b0a36d9531f8d --- /dev/null +++ b/pages.pl/freebsd/look.md @@ -0,0 +1,21 @@ +# look + +> Wyświetl linie zaczynające się od przedrostka w posortowanym pliku. +> Zobacz także: `grep`, `sort`. +> Więcej informacji: . + +- Wyszukaj linie zaczynające się określonym przedrostkiem w określonym pliku: + +`look {{przedrostek}} {{ścieżka/do/pliku}}` + +- Wyszukuj bez uwzględniania wielkości liter, tylko znaki alfanumeryczne: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{przedrostek}} {{ścieżka/do/pliku}}` + +- Określ znak kończący ciąg znaków (domyślnie spacja): + +`look {{[-t|--terminate]}} {{,}}` + +- Wyszukaj w `/usr/share/dict/words` (przyjęte opcje `--ignore-case` i `--alphanum`): + +`look {{przedrostek}}` diff --git a/pages.pl/freebsd/pkg.md b/pages.pl/freebsd/pkg.md new file mode 100644 index 00000000000000..7a829b5cd82160 --- /dev/null +++ b/pages.pl/freebsd/pkg.md @@ -0,0 +1,28 @@ +# pkg + +> Menedżer pakietów FreeBSD. +> Więcej informacji: . + +- Zainstaluj nowy pakiet: + +`pkg install {{pakiet}}` + +- Usuń pakiet: + +`pkg delete {{pakiet}}` + +- Zaktualizuj wszystkie pakiety: + +`pkg upgrade` + +- Wyszukaj pakiet: + +`pkg search {{słowo_kluczowe}}` + +- Wyświetl listę zainstalowanych pakietów: + +`pkg info` + +- Usuń niepotrzebne zależności: + +`pkg autoremove` diff --git a/pages.pl/freebsd/sed.md b/pages.pl/freebsd/sed.md new file mode 100644 index 00000000000000..df376b46e60ed2 --- /dev/null +++ b/pages.pl/freebsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> Edytuj tekst w sposób skryptowalny. +> Zobacz także: `awk`, `ed`. +> Więcej informacji: . + +- Zamień wszystkie wystąpienia `jabłko` (podstawowe wyrażenie regularne) na `mango` (podstawowe wyrażenie regularne) we wszystkich liniach wejściowych i wypisz wynik do `stdout`: + +`{{komenda}} | sed 's/jabłko/mango/g'` + +- Uruchom określony plik (z ang. [f]ile) skryptu i wydrukuj wynik na `stdout`: + +`{{komenda}} | sed -f {{ścieżka/do/skryptu.sed}}` + +- Opóźnij otwieranie każdego pliku, dopóki polecenie zawierające powiązaną funkcję lub flagę `w` nie zostanie zastosowane do linii wejściowej: + +`{{komenda}} | sed -fa {{ścieżka/do/skryptu.sed}}` + +- Zamień wszystkie wystąpienia `jabłko` (rozszerzone wyrażenie regularne) na `JABŁKO` (rozszerzone wyrażenie regularne) we wszystkich liniach wejściowych i wypisz wynik do `stdout`: + +`{{komenda}} | sed -E 's/(jabłko)/\U\1/g'` + +- Wypisz tylko pierwszą linię do `stdout`: + +`{{komenda}} | sed -n '1p'` + +- Zamień wszystkie wystąpienia `jabłko` (podstawowe wyrażenie regularne) na `mango` (podstawowe wyrażenie regularne) w określonym pliku i nadpisz oryginalny plik: + +`sed -i 's/jabłko/mango/g' {{ścieżka/do/skryptu}}` diff --git a/pages.pl/freebsd/sockstat.md b/pages.pl/freebsd/sockstat.md new file mode 100644 index 00000000000000..5dfc77d74afc25 --- /dev/null +++ b/pages.pl/freebsd/sockstat.md @@ -0,0 +1,36 @@ +# sockstat + +> Wyświetl listę otwartych gniazd internetowych lub UNIX-owych. +> Więcej informacji: . + +- Zobacz, którzy użytkownicy/procesy nasłuchują na których portach: + +`sockstat -l` + +- Pokaż informacje o gniazdach IPv[4]/IPv[6] nasłuchujących (z ang. [l]istening) na określonych [p]ortach używając określonego [P]rotokołu: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}` + +- Pokaż również połączone (z ang. [c]onnected) gniazda, nie rozwiązując [n]umerycznych identyfikatorów UID do nazw użytkowników i używając szerszego (z ang. [w]ider) rozmiaru pola: + +`sockstat -cnw` + +- Pokaż tylko gniazda dla konkretnego [j]ail-a (ID/nazwa) w trybie informacji pełnej (z ang. [v]erbose mode): + +`sockstat -jv` + +- Wyświetl [s]tan protokołu i numer zdalnego portu enkapsulacji [U]DP, jeśli dotyczy (obecnie zaimplementowane tylko dla SCTP i TCP): + +`sockstat -sU` + +- Wyświetl moduł kontroli przeciążenia (z ang. [C]ongestion) i [S]tos protokołu, jeśli dotyczy (obecnie zaimplementowane tylko dla TCP): + +`sockstat -CS` + +- Pokaż tylko gniazda internetowe, których adresy (lokalne i zewnętrzne) nie należą do sieci pętli zwrotnej 127.0.0.0/8 ani nie zawierają adresu IPv6 ::1: + +`sockstat -L` + +- Nie pokazuj nagłówka (tryb cichy (z ang. [q]uiet)), pokazując gniazda [u]nix i wyświetlając `inp_gencnt`: + +`sockstat -qui` diff --git a/pages.pl/freebsd/ypchfn.md b/pages.pl/freebsd/ypchfn.md new file mode 100644 index 00000000000000..604de92f97e7f8 --- /dev/null +++ b/pages.pl/freebsd/ypchfn.md @@ -0,0 +1,7 @@ +# ypchfn + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/freebsd/ypchpass.md b/pages.pl/freebsd/ypchpass.md new file mode 100644 index 00000000000000..df7942490d6485 --- /dev/null +++ b/pages.pl/freebsd/ypchpass.md @@ -0,0 +1,7 @@ +# ypchpass + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/freebsd/ypchsh.md b/pages.pl/freebsd/ypchsh.md new file mode 100644 index 00000000000000..beaa709cfe9733 --- /dev/null +++ b/pages.pl/freebsd/ypchsh.md @@ -0,0 +1,7 @@ +# ypchsh + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/linux/a2disconf.md b/pages.pl/linux/a2disconf.md new file mode 100644 index 00000000000000..99974c2498081c --- /dev/null +++ b/pages.pl/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Wyłącz plik konfiguracyjny Apache w systemach opartych na Debianie. +> Więcej informacji: . + +- Wyłącz plik konfiguracyjny: + +`sudo a2disconf {{plik_konfiguracyjny}}` + +- Nie pokazuj wiadomości informacyjnych: + +`sudo a2disconf --quiet {{plik_konfiguracyjny}}` diff --git a/pages.pl/linux/aa-disable.md b/pages.pl/linux/aa-disable.md new file mode 100644 index 00000000000000..8af2f0e17a5f1c --- /dev/null +++ b/pages.pl/linux/aa-disable.md @@ -0,0 +1,13 @@ +# aa-disable + +> Wyłącz polityki bezpieczeństwa AppArmor. +> Zobacz także: `aa-complain`, `aa-enforce`, `aa-status`. +> Więcej informacji: . + +- Wyłącz profile: + +`sudo aa-disable {{ścieżka/do/profilu1 ścieżka/do/profilu2 ...}}` + +- Wyłącz profile w katalogu (domyślnie `/etc/apparmor.d`): + +`sudo aa-disable --dir {{ścieżka/do/profili}}` diff --git a/pages.pl/linux/aa-enforce.md b/pages.pl/linux/aa-enforce.md new file mode 100644 index 00000000000000..39d37412b1948a --- /dev/null +++ b/pages.pl/linux/aa-enforce.md @@ -0,0 +1,13 @@ +# aa-enforce + +> Ustaw profil AppArmor w tryb wymuszony. +> Zobacz także: `aa-complain`, `aa-disable`, `aa-status`. +> Więcej informacji: . + +- Włącz profil: + +`sudo aa-enforce --dir {{ścieżka/do/profilu}}` + +- Włącz profile: + +`sudo aa-enforce {{ścieżka/do/profilu1 ścieżka/do/profilu2 ...}}` diff --git a/pages.pl/linux/aa-status.md b/pages.pl/linux/aa-status.md new file mode 100644 index 00000000000000..e8079b7438050d --- /dev/null +++ b/pages.pl/linux/aa-status.md @@ -0,0 +1,25 @@ +# aa-status + +> Wyświetl aktualnie załadowane moduły AppArmor. +> Zobacz także: `aa-complain`, `aa-disable`, `aa-enforce`. +> Więcej informacji: . + +- Sprawdź status: + +`sudo aa-status` + +- Wyświetl liczbę załadowanych polityk: + +`sudo aa-status --profiled` + +- Wyświetl liczbę aktualnie załadowanych wymuszonych polityk: + +`sudo aa-status --enforced` + +- Wyświetl liczbę załadowanych niewymuszonych polityk: + +`sudo aa-status --complaining` + +- Wyświetl liczbę załadowanych wymuszonych polityk, które zabijają zadania: + +`sudo aa-status --kill` diff --git a/pages.pl/linux/abbr.md b/pages.pl/linux/abbr.md new file mode 100644 index 00000000000000..df54dad9493e7f --- /dev/null +++ b/pages.pl/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> Zarządzaj skrótami dla powłoki fish. +> Zdefiniowane przez użytkownika słowa są zastępowane po wpisaniu dłuższymi zwrotami. +> Więcej informacji: . + +- Dodaj nowy skrót: + +`abbr --add {{nazwa_skrótu}} {{polecenie}} {{argumenty_polecenia}}` + +- Zmień nazwę istniejącego skrótu: + +`abbr --rename {{stara_nazwa}} {{nowa_nazwa}}` + +- Usuń istniejący skrót: + +`abbr --erase {{nazwa_skrótu}}` + +- Zaimportuj skróty zdefiniowane na innym hoście poprzez SSH: + +`ssh {{nazwa_hosta}} abbr --show | source` diff --git a/pages.pl/linux/abrt.md b/pages.pl/linux/abrt.md new file mode 100644 index 00000000000000..0e6c1fd4bf320e --- /dev/null +++ b/pages.pl/linux/abrt.md @@ -0,0 +1,7 @@ +# abrt + +> To polecenie jest aliasem `abrt-cli`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr abrt-cli` diff --git a/pages.pl/linux/ac.md b/pages.pl/linux/ac.md new file mode 100644 index 00000000000000..2863dbb68f36e2 --- /dev/null +++ b/pages.pl/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> Wyświetl statystyki dotyczące czasu połączenia użytkowników. +> Więcej informacji: . + +- Wyświetl w godzinach jak długo aktualny użytkownik był połączony: + +`ac` + +- Wyświetl ile godzin użytkownicy byli połączeni: + +`ac {{[-p|--individual-totals]}}` + +- Wyświetl ile godzin konkretny użytkownik był połączony: + +`ac {{[-p|--individual-totals]}} {{użytkownik}}` + +- Wyświetl ile godzin na dzień konkretny użytkownik był podłączony (z podsumowaniem): + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{użytkownik}}` + +- Wyświetlaj także dodatkowe szczegóły: + +`ac --compatibility` diff --git a/pages.pl/linux/acpi.md b/pages.pl/linux/acpi.md new file mode 100644 index 00000000000000..69d84f9e75e832 --- /dev/null +++ b/pages.pl/linux/acpi.md @@ -0,0 +1,28 @@ +# acpi + +> Wyśwetl status baterii lub informacje dotyczące temperatury. +> Więcej informacji: . + +- Pokaż informacje o baterii: + +`acpi` + +- Pokaż informacje dotyczące temperatury: + +`acpi -t` + +- Pokaż informacje dotyczące urządzeń chłodzących: + +`acpi -c` + +- Pokaż informacje dotyczące temperatury w stopniach Fahrenheita: + +`acpi -tf` + +- Pokaż wszystkie informacje: + +`acpi -V` + +- Pobieraj informacje z `/proc` zamiast `/sys`: + +`acpi -p` diff --git a/pages.pl/linux/add-apt-repository.md b/pages.pl/linux/add-apt-repository.md new file mode 100644 index 00000000000000..a51a89eb991da5 --- /dev/null +++ b/pages.pl/linux/add-apt-repository.md @@ -0,0 +1,20 @@ +# add-apt-repository + +> Zarządzaj definicjami repozytoriów `apt`. +> Więcej informacji: . + +- Dodaj nowe repozytorium `apt`: + +`add-apt-repository {{specyfikacja_repozytorium}}` + +- Usuń repozytorium `apt`: + +`add-apt-repository {{[-r|--remove]}} {{specyfikacja_repozytorium}}` + +- Zaktualizuj pamięć podręczną pakietów po dodaniu repozytorium: + +`add-apt-repository --update {{specyfikacja_repozytorium}}` + +- Pozwól na pobieranie pakietów źródłowych z podanego repozytorium: + +`add-apt-repository {{[-s|--enable-source]}} {{specyfikacja_repozytorium}}` diff --git a/pages.pl/linux/adig.md b/pages.pl/linux/adig.md new file mode 100644 index 00000000000000..6ecc3ef9eb72fa --- /dev/null +++ b/pages.pl/linux/adig.md @@ -0,0 +1,24 @@ +# adig + +> Wyświetl informacje otrzymane z serwerów DNS (Domain Name System). +> Więcej informacji: . + +- Wyświetl rekord A (domyślny) z DNS dla hosta(-ów): + +`adig {{example.com}}` + +- Wyświetl dodatkowe wyjście [d]ebugowania: + +`adig -d {{example.com}}` + +- Połącz z określonym [s]erwerem DNS: + +`adig -s {{1.2.3.4}} {{example.com}}` + +- Użyj określonego portu TCP łącząc się z serwerem DNS: + +`adig -T {{port}} {{example.com}}` + +- Użyj określonego portu UDP łącząc się z serwerem DNS: + +`adig -U {{port}} {{example.com}}` diff --git a/pages.pl/linux/ahost.md b/pages.pl/linux/ahost.md new file mode 100644 index 00000000000000..c66e57b6e6da9b --- /dev/null +++ b/pages.pl/linux/ahost.md @@ -0,0 +1,16 @@ +# ahost + +> Narzędzie zapytań DNS do wyświetlania rekordów A lub AAAA powiązanych z nazwą hosta lub adresem IP. +> Więcej informacji: . + +- Wyświetl rekord `A` lub `AAAA` powiązany z nazwą hosta lub adresem IP:: + +`ahost {{example.com}}` + +- Wyświetl dodatkowe wyjście debugowe: + +`ahost -d {{example.com}}` + +- Wyświetl rekord wskazanego typu: + +`ahost -t {{a|aaaa|u}} {{example.com}}` diff --git a/pages.pl/linux/alien.md b/pages.pl/linux/alien.md new file mode 100644 index 00000000000000..79148c6583e940 --- /dev/null +++ b/pages.pl/linux/alien.md @@ -0,0 +1,20 @@ +# alien + +> Konwertuj różne pakiety instalacyjne na inne formaty. +> Więcej informacji: . + +- Konwertuj wskazany plik instalacyjny do formatu Debiana (rozszerzenie `.deb`): + +`sudo alien --to-deb {{ścieżka/do/pliku}}` + +- Konwertuj wskazany plik instalacyjny do formatu Red Hata (rozszerzenie `.rpm`): + +`sudo alien --to-rpm {{ścieżka/do/pliku}}` + +- Konwertuj wskazany plik instalacyjny do formatu plików instalacyjnych Slackware (rozszerzenie `.tgz`): + +`sudo alien --to-tgz {{ścieżka/do/pliku}}` + +- Konwertuj wskazany plik instalacyjny do formatu Debiana i zainstaluj go w systemie: + +`sudo alien --to-deb --install {{ścieżka/do/pliku}}` diff --git a/pages.pl/linux/alternatives.md b/pages.pl/linux/alternatives.md new file mode 100644 index 00000000000000..bfdb39d8d94677 --- /dev/null +++ b/pages.pl/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> To polecenie jest aliasem `update-alternatives`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr update-alternatives` diff --git a/pages.pl/linux/amixer.md b/pages.pl/linux/amixer.md new file mode 100644 index 00000000000000..17d83fef38c441 --- /dev/null +++ b/pages.pl/linux/amixer.md @@ -0,0 +1,12 @@ +# amixer + +> Mikser dla sterownika ALSA kart dźwiękowych. +> Więcej informacji: . + +- Zwiększenie głównego poziomu głośności o 10%: + +`amixer -D pulse sset Master {{10%+}}` + +- Zmniejszenie głównego poziomu głośności o 10%: + +`amixer -D pulse sset Master {{10%-}}` diff --git a/pages.pl/linux/apk.md b/pages.pl/linux/apk.md new file mode 100644 index 00000000000000..fb311a231129bb --- /dev/null +++ b/pages.pl/linux/apk.md @@ -0,0 +1,36 @@ +# apk + +> Narzędzie zarządzania pakietami Alpine Linux. +> Więcej informacji: . + +- Zaktualizuj indeksy repozytoriów i wszystkie pakiety: + +`apk upgrade {{[-U|--update-cache]}}` + +- Zaktualizuj tylko indeksy repozytoriów: + +`apk update` + +- Zainstaluj nowy pakiet: + +`apk add {{pakiet}}` + +- Usuń pakiet: + +`apk del {{pakiet}}` + +- Napraw/Zainstaluj ponownie pakiet bez modyfikacji głównych zależności: + +`apk fix {{pakiet}}` + +- Wyszukaj pakiety ze słowem kluczowym w ich nazwie i wyświetl wyniki z opisami: + +`apk search {{[-v|--verbose]}} {{słowo_kluczowe}}` + +- Wyszukaj pakiety ze słowem kluczowym w ich opisie: + +`apk search {{[-d|--description]}} {{słowo_kluczowe}}` + +- Wyświetl informacje o określonym pakiecie: + +`apk info {{pakiet}}` diff --git a/pages.pl/linux/aplay.md b/pages.pl/linux/aplay.md new file mode 100644 index 00000000000000..b9d763fd6a5122 --- /dev/null +++ b/pages.pl/linux/aplay.md @@ -0,0 +1,16 @@ +# aplay + +> Konsolowy odtwarzacz dźwięku dla sterownika dźwiękowego ALSA. +> Więcej informacji: . + +- Odtwórz określony plik (częstotliwość próbkowania, ilość bitów, itd. będą określane automatycznie na podstawie formatu): + +`aplay {{ścieżka/do/pliku}}` + +- Odtwórz pierwsze 10 sekund określonego pliku z częstotliwością 2500 Hz: + +`aplay --duration={{10}} --rate={{2500}} {{ścieżka/do/pliku}}` + +- Odtwórz surowy plik jako plik Mu-Law `.au`, 22050 Hz, mono, 8-bit: + +`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{ścieżka/do/pliku}}` diff --git a/pages.pl/linux/apparmor_status.md b/pages.pl/linux/apparmor_status.md new file mode 100644 index 00000000000000..4ac9d4e6985d63 --- /dev/null +++ b/pages.pl/linux/apparmor_status.md @@ -0,0 +1,7 @@ +# apparmor_status + +> To polecenie jest aliasem `aa-status`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr aa-status` diff --git a/pages.pl/linux/apt-add-repository.md b/pages.pl/linux/apt-add-repository.md new file mode 100644 index 00000000000000..9f9920b2425c87 --- /dev/null +++ b/pages.pl/linux/apt-add-repository.md @@ -0,0 +1,7 @@ +# apt-add-repository + +> To polecenie jest aliasem `add-apt-repository`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr add-apt-repository` diff --git a/pages.pl/linux/apt-cache.md b/pages.pl/linux/apt-cache.md new file mode 100644 index 00000000000000..082a6310ce8e5b --- /dev/null +++ b/pages.pl/linux/apt-cache.md @@ -0,0 +1,24 @@ +# apt-cache + +> Narzędzie do zapytań o pakiety w Debianie i Ubuntu. +> Więcej informacji: . + +- Wyszukaj pakiet w aktualnych źródłach: + +`apt-cache search {{zapytanie}}` + +- Wyświetl informacje o pakiecie: + +`apt-cache show {{pakiet}}` + +- Wyświetl, czy pakiet jest zainstalowany w aktualnej wersji: + +`apt-cache policy {{pakiet}}` + +- Wyświetl zależności pakietu: + +`apt-cache depends {{pakiet}}` + +- Wyświetl pakiety zależne od konkretnego pakietu: + +`apt-cache rdepends {{pakiet}}` diff --git a/pages.pl/linux/apt-file.md b/pages.pl/linux/apt-file.md new file mode 100644 index 00000000000000..2e6901801ab770 --- /dev/null +++ b/pages.pl/linux/apt-file.md @@ -0,0 +1,20 @@ +# apt-file + +> Wyszukaj pliki w pakietach APT, w tym jeszcze nie zainstalowanych. +> Więcej informacji: . + +- Zaktualizuj bazę metadanych: + +`sudo apt update` + +- Wyszukaj pakiet, który zawiera określony plik lub ścieżkę: + +`apt-file {{search|find}} {{część/ścieżki/do/pliku}}` + +- Wyświetl zawartośċ określonego pakietu: + +`apt-file {{show|list}} {{pakiet}}` + +- Wyszukaj pakiety, które pasują do podanego `wyrażenia_regularnego`: + +`apt-file {{search|find}} --regexp {{wyrażenie_regularne}}` diff --git a/pages.pl/linux/apt-get.md b/pages.pl/linux/apt-get.md new file mode 100644 index 00000000000000..a3359789e902f2 --- /dev/null +++ b/pages.pl/linux/apt-get.md @@ -0,0 +1,37 @@ +# apt-get + +> Narzędzie do zarządzania pakietami Debiana i Ubuntu. +> Szukaj pakietów używając `apt-cache`. +> Więcej informacji: . + +- Zaktualizuj listę dostępnych pakietów oraz wersji (zalecane jest uruchomienie tego polecenia przed innymi poleceniami `apt-get`): + +`apt-get update` + +- Zainstaluj pakiet lub zaktualizuj go do najnowszej dostępnej wersji: + +`apt-get install {{pakiet}}` + +- Usuń pakiet: + +`apt-get remove {{pakiet}}` + +- Usuń pakiet i jego pliki konfiguracyjne: + +`apt-get purge {{pakiet}}` + +- Zaktualizuj wszystkie zainstalowane pakiety do ich najnowszych dostępnych wersji: + +`apt-get upgrade` + +- Wyczyść lokalne repozytorium - usuwa wszystkie pliki pakietów (`.deb`) z przerwanych pobrań które nie mogą już być pobrane: + +`apt-get autoclean` + +- Usuń wszystkie pakiety, które już nie są potrzebne: + +`apt-get autoremove` + +- Zaktualizuj zainstalowane pakiety (jak `upgrade`), ale usuń przestarzałe pakiety i zainstaluj dodatkowe pakiety, aby spełnić zależności: + +`apt-get dist-upgrade` diff --git a/pages.pl/linux/apt-key.md b/pages.pl/linux/apt-key.md new file mode 100644 index 00000000000000..60e2897c97e4ca --- /dev/null +++ b/pages.pl/linux/apt-key.md @@ -0,0 +1,25 @@ +# apt-key + +> Narzędzie do zarządzania kluczami menedżera pakietów APT dla Debiana i Ubuntu. +> Notatka: `apt-key` jest aktualnie przestarzały (za wyjątkiem użycia `apt-key del` w skryptach opiekunów). +> Więcej informacji: . + +- Wyświetl zaufane klucze: + +`apt-key list` + +- Dodaj klucz do magazynu zaufanych kluczy: + +`apt-key add {{plik_z_kluczem_publicznym.asc}}` + +- Usuń klucz z magazynu zaufanych kluczy: + +`apt-key del {{id_klucza}}` + +- Dodaj zdalny klucz do magazynu zaufanych kluczy: + +`wget -qO - {{https://host.tld/nazwa_pliku.key}} | apt-key add -` + +- Dodaj klucz z serwera kluczy na podstawie ID klucza: + +`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{id_klucza}}` diff --git a/pages.pl/linux/apt-mark.md b/pages.pl/linux/apt-mark.md new file mode 100644 index 00000000000000..58b42089531cd7 --- /dev/null +++ b/pages.pl/linux/apt-mark.md @@ -0,0 +1,24 @@ +# apt-mark + +> Narzędzie do zmiany statusu zainstalowanych pakietów. +> Więcej informacji: . + +- Oznacz pakiet jako zainstalowany automatycznie: + +`sudo apt-mark auto {{pakiet}}` + +- Zatrzymaj pakiet w bieżącej wersji i zapobiegaj jego aktualizacjom: + +`sudo apt-mark hold {{pakiet}}` + +- Zezwól, aby pakiet znowu był aktualizowany: + +`sudo apt-mark unhold {{pakiet}}` + +- Pokaż pakiety zainstalowane ręcznie: + +`apt-mark showmanual` + +- Pokaż zatrzymane pakiety, które nie są aktualizowane: + +`apt-mark showhold` diff --git a/pages.pl/linux/apt-moo.md b/pages.pl/linux/apt-moo.md new file mode 100644 index 00000000000000..595a181c4cde07 --- /dev/null +++ b/pages.pl/linux/apt-moo.md @@ -0,0 +1,8 @@ +# apt moo + +> Easter egg `APT`. +> Więcej informacji: . + +- Wyświetl easter egga z krową: + +`apt moo` diff --git a/pages.pl/linux/apt.md b/pages.pl/linux/apt.md new file mode 100644 index 00000000000000..1d98b55845585c --- /dev/null +++ b/pages.pl/linux/apt.md @@ -0,0 +1,38 @@ +# apt + +> Narzędzie do zarządzania pakietami dla dystrybucji bazujących na Debianie. +> Zalecany zamiennik `apt-get` przy użyciu interaktywnym w Ubuntu w wersjach 16.04 i wyższych. +> Odpowiednie polecenia dla innych menedżerów pakietów: . +> Więcej informacji: . + +- Zaktualizuj listę dostępnych pakietów i ich wersji (zaleca się uruchomienie tego przed innymi poleceniami `apt`): + +`sudo apt update` + +- Wyszukaj podany pakiet: + +`apt search {{pakiet}}` + +- Wyświetl informacje o podanym pakiecie: + +`apt show {{pakiet}}` + +- Zainstaluj pakiet lub zaktualizuj go do najnowszej dostępnej wersji: + +`sudo apt install {{pakiet}}` + +- Usuń pakiet (użyj `purge` aby usunąć także pliki konfiguracyjne): + +`sudo apt remove {{pakiet}}` + +- Zaktualizuj wszystkie zainstalowane pakiety do ich najnowszych wersji: + +`sudo apt upgrade` + +- Wyświetl wszystkie pakiety: + +`apt list` + +- Wyświetl zainstalowane pakiety: + +`apt list {{[-i|--installed]}}` diff --git a/pages.pl/linux/aptitude.md b/pages.pl/linux/aptitude.md new file mode 100644 index 00000000000000..99196c3d36d7e6 --- /dev/null +++ b/pages.pl/linux/aptitude.md @@ -0,0 +1,36 @@ +# aptitude + +> Narzędzie zarządzania pakietami dla Debiana i Ubuntu. +> Więcej informacji: . + +- Zaktualizuj listę dostępnych pakietów oraz wersji. Zalecane jest uruchomienie tego polecenia przed innymi poleceniami `aptitude`: + +`aptitude update` + +- Zainstaluj nowy pakiet i jego zależności: + +`aptitude install {{pakiet}}` + +- Wyszukaj pakiet: + +`aptitude search {{pakiet}}` + +- Wyszukaj zainstalowany pakiet (`?installed` jest terminem wyszukiwania w `aptitude`): + +`aptitude search '?installed({{pakiet}})'` + +- Usuń pakiet i wszystkie pakiety zależne od niego: + +`aptitude remove {{pakiet}}` + +- Zaktualizuj zainstalowane pakiety do najnowszej dostępnej wersji: + +`aptitude upgrade` + +- Zaktualizuj zainstalowane pakiety (jak robi `aptitude upgrade`) włącznie z usunięciem przestarzałych pakietów i instalacją dodatkowych pakietów w celu spełnienia zależności: + +`aptitude full-upgrade` + +- Ustaw zainstalowany pakiet jako wstrzymany, aby zapobiec jego automatycznym aktualizacjom: + +`aptitude hold '?installed({{pakiet}})'` diff --git a/pages.pl/linux/archey.md b/pages.pl/linux/archey.md new file mode 100644 index 00000000000000..bf07dcb74eb2a2 --- /dev/null +++ b/pages.pl/linux/archey.md @@ -0,0 +1,8 @@ +# archey + +> Proste narzędzie do stylowego wyświetlania informacji o systemie. +> Więcej informacji: . + +- Wyświetl informacje o systemie: + +`archey` diff --git a/pages.pl/linux/avahi-resolve-address.md b/pages.pl/linux/avahi-resolve-address.md new file mode 100644 index 00000000000000..902fe169f12e6b --- /dev/null +++ b/pages.pl/linux/avahi-resolve-address.md @@ -0,0 +1,7 @@ +# avahi-resolve-address + +> To polecenie jest aliasem `avahi-resolve --address`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr avahi-resolve` diff --git a/pages.pl/linux/avahi-resolve-host-name.md b/pages.pl/linux/avahi-resolve-host-name.md new file mode 100644 index 00000000000000..36dcbfd3dd7bb5 --- /dev/null +++ b/pages.pl/linux/avahi-resolve-host-name.md @@ -0,0 +1,7 @@ +# avahi-resolve-host-name + +> To polecenie jest aliasem `avahi-resolve --name`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr avahi-resolve` diff --git a/pages.pl/linux/batcat.md b/pages.pl/linux/batcat.md new file mode 100644 index 00000000000000..bdbf3c6c946c6c --- /dev/null +++ b/pages.pl/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> To polecenie jest aliasem `bat`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr bat` diff --git a/pages.pl/linux/blkid.md b/pages.pl/linux/blkid.md new file mode 100644 index 00000000000000..5010fdee0b7808 --- /dev/null +++ b/pages.pl/linux/blkid.md @@ -0,0 +1,12 @@ +# blkid + +> Wyświetla wszystkie rozpoznane partycje oraz ich Universally Unique Identifier (UUID). +> Więcej informacji: . + +- Wyświetlenie wszystkich partycji: + +`sudo blkid` + +- Wyświetlenie wszystkich partycji w tabeli, wraz z bieżącymi punktami montowania: + +`sudo blkid -o list` diff --git a/pages.pl/linux/bootctl.md b/pages.pl/linux/bootctl.md new file mode 100644 index 00000000000000..bbcdc51afafe7b --- /dev/null +++ b/pages.pl/linux/bootctl.md @@ -0,0 +1,28 @@ +# bootctl + +> Kontroluj ustawienia oprogramowania układowego EFI i zarządzaj programem rozruchowym. +> Więcej informacji: . + +- Wyświetl informacje o oprogramowaniu układowym i programach rozruchowych: + +`bootctl status` + +- Wyświetl wszystkie dostępne wpisy programu rozruchowego: + +`bootctl list` + +- Ustaw opcję, aby uruchomić oprogramowanie układowe przy następnym rozruchu (podobne do `sudo systemctl reboot --firmware-setup`): + +`sudo bootctl reboot-to-firmware true` + +- Podaj ścieżkę do partycji systemowej EFI (domyślnie `/efi/`, `/boot/` lub `/boot/efi`): + +`bootctl --esp-path={{/ścieżka/do/partycji_systemowej_efi/}}` + +- Zainstaluj `systemd-boot` do partycji systemowej EFI: + +`sudo bootctl install` + +- Usuń wszystkie zainstalowane wersje `systemd-boot` z partycji systemowej EFI: + +`sudo bootctl remove` diff --git a/pages.pl/linux/cacafire.md b/pages.pl/linux/cacafire.md new file mode 100644 index 00000000000000..9340378db6d660 --- /dev/null +++ b/pages.pl/linux/cacafire.md @@ -0,0 +1,8 @@ +# cacafire + +> Wyświetl animowany ogień ASCII. +> Więcej informacji: . + +- Wyświetl ogień ASCII: + +`cacafire` diff --git a/pages.pl/linux/caffeinate.md b/pages.pl/linux/caffeinate.md new file mode 100644 index 00000000000000..c70fde658fc11b --- /dev/null +++ b/pages.pl/linux/caffeinate.md @@ -0,0 +1,8 @@ +# caffeinate + +> Zapobiegaj usypaniu pulpitu. +> Więcej informacji: . + +- Zapobiegaj usypaniu pulpitu (użyj ``, aby wyjść): + +`caffeinate` diff --git a/pages.pl/linux/cc.md b/pages.pl/linux/cc.md new file mode 100644 index 00000000000000..1e38b7ed4713c8 --- /dev/null +++ b/pages.pl/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> To polecenie jest aliasem `gcc`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr gcc` diff --git a/pages.pl/linux/chcpu.md b/pages.pl/linux/chcpu.md new file mode 100644 index 00000000000000..062dc19bef74a4 --- /dev/null +++ b/pages.pl/linux/chcpu.md @@ -0,0 +1,12 @@ +# chcpu + +> Włącza/wyłącza CPU w systemie. +> Więcej informacji: . + +- Wyłączenie CPU przez podanie listy numerów ID CPU: + +`chcpu -d {{1,3}}` + +- Włączenie zbioru CPU przez podanie zakresu numerów ID CPU: + +`chcpu -e {{1-10}}` diff --git a/pages.pl/linux/coredumpctl.md b/pages.pl/linux/coredumpctl.md new file mode 100644 index 00000000000000..17d414b56e53ee --- /dev/null +++ b/pages.pl/linux/coredumpctl.md @@ -0,0 +1,24 @@ +# coredumpctl + +> Pobieraj i przetwarzaj zapisane zrzuty pamięci i metadane. +> Więcej informacji: . + +- Wyświetl wszystkie zapisane zrzuty pamięci: + +`coredumpctl list` + +- Wyświetl zapisane zrzuty pamięci podanego programu: + +`coredumpctl list {{program}}` + +- Wyświetl informacje o zrzutach pamięci programu o podanym PID: + +`coredumpctl info {{PID}}` + +- Wywołaj debugger używając ostatniego zrzutu pamięci programu: + +`coredumpctl debug {{program}}` + +- Wyodrębnij ostatni zrzut pamięci programu do pliku: + +`coredumpctl --output {{ścieżka/do/pliku}} dump {{program}}` diff --git a/pages.pl/linux/cs2.md b/pages.pl/linux/cs2.md new file mode 100644 index 00000000000000..c23a6a8a47fb0a --- /dev/null +++ b/pages.pl/linux/cs2.md @@ -0,0 +1,7 @@ +# cs2 + +> To polecenie jest aliasem `counter strike 2`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr counter strike 2` diff --git a/pages.pl/linux/dnf-deplist.md b/pages.pl/linux/dnf-deplist.md new file mode 100644 index 00000000000000..039460356e2866 --- /dev/null +++ b/pages.pl/linux/dnf-deplist.md @@ -0,0 +1,7 @@ +# dnf deplist + +> To polecenie jest aliasem `dnf repoquery --deplist`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr dnf repoquery` diff --git a/pages.pl/linux/expect.md b/pages.pl/linux/expect.md new file mode 100644 index 00000000000000..284d48453089f1 --- /dev/null +++ b/pages.pl/linux/expect.md @@ -0,0 +1,16 @@ +# expect + +> Wykonuje skrypty, które dokonują interakcji z programami przyjmującymi dane od użytkownika. +> Więcej informacji: . + +- Wykonaj skrypt expect z pliku: + +`expect {{ścieżka/do/pliku}}` + +- Wykonaj podany skrypt expect: + +`expect -c "{{polecenia}}"` + +- Wejdź do interaktywnego REPL (użyj `exit` lub ``, aby wyjść): + +`expect -i` diff --git a/pages.pl/linux/fatlabel.md b/pages.pl/linux/fatlabel.md new file mode 100644 index 00000000000000..38e225f4ba9b14 --- /dev/null +++ b/pages.pl/linux/fatlabel.md @@ -0,0 +1,12 @@ +# fatlabel + +> Uzyskaj lub ustaw etykietę partycji FAT32. +> Więcej informacji: . + +- Uzyskaj etykietę partycji FAT32: + +`fatlabel {{/dev/sda1}}` + +- Ustaw etykietę partycji FAT32: + +`fatlabel {{/dev/sdc3}} "{{nowa_etykieta}}"` diff --git a/pages.pl/linux/google-chrome-stable.md b/pages.pl/linux/google-chrome-stable.md new file mode 100644 index 00000000000000..bcf8c1154954ba --- /dev/null +++ b/pages.pl/linux/google-chrome-stable.md @@ -0,0 +1,8 @@ +# google-chrome-stable + +> To polecenie jest aliasem `chromium`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chromium` diff --git a/pages.pl/linux/groupadd.md b/pages.pl/linux/groupadd.md new file mode 100644 index 00000000000000..d2f8415b457ebd --- /dev/null +++ b/pages.pl/linux/groupadd.md @@ -0,0 +1,17 @@ +# groupadd + +> Dodaje grupę użytkowników do systemu. +> Zobacz także `groups`, `groupdel`, `groupmod`. +> Więcej informacji: . + +- Utwórz nową grupę: + +`sudo groupadd {{nazwa_grupy}}` + +- Utwórz nową grupę systemową: + +`sudo groupadd {{[-r|--system]}} {{nazwa_grupy}}` + +- Utwórz nową grupę z określonym `id_grupy`: + +`sudo groupadd {{[-g|--gid]}} {{id_grupy}} {{nazwa_grupy}}` diff --git a/pages.pl/linux/groupdel.md b/pages.pl/linux/groupdel.md new file mode 100644 index 00000000000000..e26b0d5b4bfbea --- /dev/null +++ b/pages.pl/linux/groupdel.md @@ -0,0 +1,9 @@ +# groupdel + +> Usuwa istniejącą grupę użytkowników z systemu. +> Zobacz także: `groups`, `groupadd`, `groupmod`. +> Więcej informacji: . + +- Usuń istniejącą grupę użytkowników: + +`sudo groupdel {{nazwa_grupy}}` diff --git a/pages.pl/linux/homectl.md b/pages.pl/linux/homectl.md new file mode 100644 index 00000000000000..94685f27139580 --- /dev/null +++ b/pages.pl/linux/homectl.md @@ -0,0 +1,36 @@ +# homectl + +> Twórz, usuwaj, zmieniaj lub sprawdzaj katalogi domowe używając usługi systemd-homed. +> Więcej informacji: . + +- Wyświetl konta użytkowników i ich powiązane katalogi domowe: + +`homectl list` + +- Utwórz konto użytkownika i jego powiązany katalog domowy: + +`sudo homectl create {{nazwa_użytkownika}}` + +- Usuń podanego użytkownika i jego powiązany katalog domowy: + +`sudo homectl remove {{nazwa_użytkownika}}` + +- Zmień hasło podanego użytkownika: + +`sudo homectl passwd {{nazwa_użytkownika}}` + +- Uruchom powłokę lub komendę z dostępem do podanego katalogu domowego: + +`sudo homectl with {{nazwa_użytkownika}} -- {{komenda}} {{argumenty_dla_komendy}}` + +- Zablokuj lub odblokuj podany katalog domowy: + +`sudo homectl {{lock|unlock}} {{nazwa_użytkownika}}` + +- Zmień miejsce na dysku przydzielone dla podanego katalogu domowego na 100 GiB: + +`sudo homectl resize {{nazwa_użytkownika}} {{100G}}` + +- Wyświetl pomoc: + +`homectl --help` diff --git a/pages.pl/linux/hostnamectl.md b/pages.pl/linux/hostnamectl.md new file mode 100644 index 00000000000000..11940252d987c6 --- /dev/null +++ b/pages.pl/linux/hostnamectl.md @@ -0,0 +1,20 @@ +# hostnamectl + +> Wyświetl lub ustaw nazwę hosta tego komputera. +> Więcej informacji: . + +- Wyświetl nazwę hosta tego komputera: + +`hostnamectl` + +- Ustaw nazwę hosta tego komputera: + +`sudo hostnamectl set-hostname "{{nazwa_hosta}}"` + +- Ustaw ładną nazwę hosta tego komputera: + +`sudo hostnamectl set-hostname --static "{{nazwa_hosta.example.com}}" && sudo hostnamectl set-hostname --pretty "{{nazwa_hosta}}"` + +- Zresetuj nazwę hosta do jej domyślnej wartości: + +`sudo hostnamectl set-hostname --pretty ""` diff --git a/pages.pl/linux/i386.md b/pages.pl/linux/i386.md new file mode 100644 index 00000000000000..c4cc791a552bc0 --- /dev/null +++ b/pages.pl/linux/i386.md @@ -0,0 +1,7 @@ +# i386 + +> To polecenie jest aliasem `setarch i386`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr setarch` diff --git a/pages.pl/linux/i7z.md b/pages.pl/linux/i7z.md new file mode 100644 index 00000000000000..3a2358431de53b --- /dev/null +++ b/pages.pl/linux/i7z.md @@ -0,0 +1,8 @@ +# i7z + +> Narzędzie raportujące w czasie rzeczywistym dla CPU Intel (tylko i3, i5 oraz i7). +> Więcej informacji: . + +- Uruchomienie i7z (wymaga uruchomienia jako superuser): + +`sudo i7z` diff --git a/pages.pl/linux/ifdown.md b/pages.pl/linux/ifdown.md new file mode 100644 index 00000000000000..a77bbc6a1aed52 --- /dev/null +++ b/pages.pl/linux/ifdown.md @@ -0,0 +1,12 @@ +# ifdown + +> Wyłącza interfejsy sieciowe. +> Więcej informacji: . + +- Wyłączenie interfejsu eth0: + +`ifdown {{eth0}}` + +- Wyłączenie wszystkich interfejsów, które są włączone: + +`ifdown -a` diff --git a/pages.pl/linux/ifup.md b/pages.pl/linux/ifup.md new file mode 100644 index 00000000000000..f6ea89ee95fb51 --- /dev/null +++ b/pages.pl/linux/ifup.md @@ -0,0 +1,12 @@ +# ifup + +> Narzędzie używane do włączania interfejsów sieciowych. +> Więcej informacji: . + +- Włączenie interfejsu eth0: + +`ifup {{eth0}}` + +- Włączenie wszystkich interfejsów zdefiniowanych jako "auto" w `/etc/network/interfaces`: + +`ifup -a` diff --git a/pages.pl/linux/insmod.md b/pages.pl/linux/insmod.md new file mode 100644 index 00000000000000..ea76585485caa2 --- /dev/null +++ b/pages.pl/linux/insmod.md @@ -0,0 +1,8 @@ +# insmod + +> Dynamicznie ładuj moduły do jądra systemu Linux. +> Więcej informacji: . + +- Załaduj moduł jądra do jądra systemu Linux: + +`insmod {{ścieżka/do/modułu.ko}}` diff --git a/pages.pl/linux/ip-route-show.md b/pages.pl/linux/ip-route-show.md new file mode 100644 index 00000000000000..5eaefb1ba04268 --- /dev/null +++ b/pages.pl/linux/ip-route-show.md @@ -0,0 +1,7 @@ +# ip route show + +> To polecenie jest aliasem `ip route list`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ip route list` diff --git a/pages.pl/linux/ip6tables-restore.md b/pages.pl/linux/ip6tables-restore.md new file mode 100644 index 00000000000000..0b854e5f9f6a36 --- /dev/null +++ b/pages.pl/linux/ip6tables-restore.md @@ -0,0 +1,7 @@ +# ip6tables-restore + +> To polecenie jest aliasem `iptables-restore` dla zapory sieciowej IPv6. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr iptables-restore` diff --git a/pages.pl/linux/ip6tables-save.md b/pages.pl/linux/ip6tables-save.md new file mode 100644 index 00000000000000..7f7dd95fb5dcf0 --- /dev/null +++ b/pages.pl/linux/ip6tables-save.md @@ -0,0 +1,7 @@ +# ip6tables-save + +> To polecenie jest aliasem `iptables-save` dla zapory sieciowej IPv6. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr iptables-save` diff --git a/pages.pl/linux/ip6tables.md b/pages.pl/linux/ip6tables.md new file mode 100644 index 00000000000000..05ac707387f46c --- /dev/null +++ b/pages.pl/linux/ip6tables.md @@ -0,0 +1,7 @@ +# ip6tables + +> To polecenie jest aliasem `iptables` dla zapory sieciowej IPv6. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr iptables` diff --git a/pages.pl/linux/journalctl.md b/pages.pl/linux/journalctl.md new file mode 100644 index 00000000000000..26b347a657c1ce --- /dev/null +++ b/pages.pl/linux/journalctl.md @@ -0,0 +1,36 @@ +# journalctl + +> Przeszukaj dziennik systemd. +> Więcej informacji: . + +- Wyświetl wszystkie wiadomości o priorytecie 3 (błędy) z tego rozruchu: + +`journalctl {{[-b|--boot]}} {{[-p|--priority]}} 3` + +- Usuń dzienniki starsze niż 2 dni: + +`journalctl --vacuum-time 2d` + +- Wyświetlaj nowe wiadomości (jak `tail -f` dla tradycyjnego sysloga): + +`journalctl {{[-f|--follow]}}` + +- Wyświetl wszystkie wiadomości podanej jednostki: + +`journalctl {{[-u|--unit]}} {{jednostka}}` + +- Wyświetl wiadomości podanej jednostki od czasu jej ostatniego uruchomienia: + +`journalctl _SYSTEMD_INVOCATION_ID=$(systemctl show --value --property=InvocationID {{jednostka}})` + +- Filtruj wiadomości w zakresie czasu (znacznik czasu lub symbol zastępczy, np. "yesterday"): + +`journalctl {{[-S|--since]}} {{now|today|yesterday|tomorrow}} {{[-U|--until]}} "{{YYYY-MM-DD HH:MM:SS}}"` + +- Wyświetl wszystkie wiadomości podanego procesu: + +`journalctl _PID={{pid}}` + +- Wyświetl wszystkie wiadomości podanego pliku wykonywalnego: + +`journalctl {{ścieżka/do/pliku}}` diff --git a/pages.pl/linux/lex.md b/pages.pl/linux/lex.md new file mode 100644 index 00000000000000..c1c2da6f1e9c79 --- /dev/null +++ b/pages.pl/linux/lex.md @@ -0,0 +1,7 @@ +# lex + +> To polecenie jest aliasem `flex`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr flex` diff --git a/pages.pl/linux/libuser-lid.md b/pages.pl/linux/libuser-lid.md new file mode 100644 index 00000000000000..15b020ad24b400 --- /dev/null +++ b/pages.pl/linux/libuser-lid.md @@ -0,0 +1,7 @@ +# libuser-lid + +> To polecenie jest aliasem `lid`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr lid.libuser` diff --git a/pages.pl/linux/line.md b/pages.pl/linux/line.md new file mode 100644 index 00000000000000..b9c93c5f98479c --- /dev/null +++ b/pages.pl/linux/line.md @@ -0,0 +1,8 @@ +# line + +> Wczytaj pojedynczą linię wejścia. +> Więcej informacji: . + +- Wczytaj wejście: + +`line` diff --git a/pages.pl/linux/links2.md b/pages.pl/linux/links2.md new file mode 100644 index 00000000000000..0559446537bfd5 --- /dev/null +++ b/pages.pl/linux/links2.md @@ -0,0 +1,9 @@ +# links2 + +> Przeglądarka internetowa w wierszu poleceń z opcjonalną obsługą grafiki. +> Zobacz także: `links`. +> Więcej informacji: . + +- Odwiedź stronę w trybie graficznym: + +`links2 -g {{https://example.com}}` diff --git a/pages.pl/linux/linux32.md b/pages.pl/linux/linux32.md new file mode 100644 index 00000000000000..5b2173f124650a --- /dev/null +++ b/pages.pl/linux/linux32.md @@ -0,0 +1,7 @@ +# linux32 + +> To polecenie jest aliasem `setarch linux32`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr setarch` diff --git a/pages.pl/linux/linux64.md b/pages.pl/linux/linux64.md new file mode 100644 index 00000000000000..267f28080c119e --- /dev/null +++ b/pages.pl/linux/linux64.md @@ -0,0 +1,7 @@ +# linux64 + +> To polecenie jest aliasem `setarch linux64`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr setarch` diff --git a/pages.pl/linux/localectl.md b/pages.pl/linux/localectl.md new file mode 100644 index 00000000000000..48433d964337d2 --- /dev/null +++ b/pages.pl/linux/localectl.md @@ -0,0 +1,24 @@ +# localectl + +> Kontroluj ustawienia regionalne i układ klawiatury systemu. +> Więcej informacji: . + +- Wyświetl aktualne ustawienia regionalne systemu i układu klawiatury: + +`localectl` + +- Wyświetl dostępne ustawienia regionalne: + +`localectl list-locales` + +- Ustaw zmienną ustawień regionalnych: + +`localectl set-locale {{LANG}}={{pl_PL.UTF-8}}` + +- Wyświetl dostępne układy klawiatury: + +`localectl list-keymaps` + +- Ustaw systemowy układ klawiatury dla konsoli i X11: + +`localectl set-keymap {{pl}}` diff --git a/pages.pl/linux/loginctl.md b/pages.pl/linux/loginctl.md new file mode 100644 index 00000000000000..b0e0e79f90071d --- /dev/null +++ b/pages.pl/linux/loginctl.md @@ -0,0 +1,24 @@ +# loginctl + +> Zarządzaj menedżerem logowania systemd. +> Więcej informacji: . + +- Wyświetl wszystkie aktualne sesje: + +`loginctl list-sessions` + +- Wyświetl wszystkie właściwości podanej sesji: + +`loginctl show-session {{id_sesji}} --all` + +- Wyświetl wszystkie właściwości podanego użytkownika: + +`loginctl show-user {{nazwa_użytkownika}}` + +- Wyświetl podaną właściwość użytkownika: + +`loginctl show-user {{nazwa_użytkownika}} --property {{nazwa_właściwości}}` + +- Uruchom operację `loginctl` na zdalnym hoście: + +`loginctl list-users -H {{nazwa_hosta}}` diff --git a/pages.pl/linux/lookandfeeltool.md b/pages.pl/linux/lookandfeeltool.md new file mode 100644 index 00000000000000..8c3710664659e9 --- /dev/null +++ b/pages.pl/linux/lookandfeeltool.md @@ -0,0 +1,7 @@ +# lookandfeeltool + +> To polecenie jest aliasem `plasma-apply-lookandfeel`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr plasma-apply-lookandfeel` diff --git a/pages.pl/linux/lrunzip.md b/pages.pl/linux/lrunzip.md new file mode 100644 index 00000000000000..35ddd852082bb2 --- /dev/null +++ b/pages.pl/linux/lrunzip.md @@ -0,0 +1,7 @@ +# lrunzip + +> To polecenie jest aliasem `lrzip -d`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr lrzip` diff --git a/pages.pl/linux/lrzuntar.md b/pages.pl/linux/lrzuntar.md new file mode 100644 index 00000000000000..290bf317ca8a24 --- /dev/null +++ b/pages.pl/linux/lrzuntar.md @@ -0,0 +1,7 @@ +# lrzuntar + +> To polecenie jest aliasem `lrztar -d`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr lrztar` diff --git a/pages.pl/linux/lsmod.md b/pages.pl/linux/lsmod.md new file mode 100644 index 00000000000000..32589f1f75bfeb --- /dev/null +++ b/pages.pl/linux/lsmod.md @@ -0,0 +1,9 @@ +# lsmod + +> Pokazuje status modułów kernela Linuksa. +> Zobacz także `modprobe`, który ładuje moduły kernela. +> Więcej informacji: . + +- Wyświetlenie aktualnie załadowanych modułów kernela: + +`lsmod` diff --git a/pages.pl/linux/lz.md b/pages.pl/linux/lz.md new file mode 100644 index 00000000000000..d8a4e985274452 --- /dev/null +++ b/pages.pl/linux/lz.md @@ -0,0 +1,8 @@ +# lz + +> Wyświetl wszystkie pliki wewnątrz skompresowanego archiwum `.tar.gz`. +> Więcej informacji: . + +- Wyświetl wszystkie pliki wewnątrz skompresowanego archiwum: + +`lz {{ścieżka/do/pliku.tar.gz}}` diff --git a/pages.pl/linux/makepkg.md b/pages.pl/linux/makepkg.md new file mode 100644 index 00000000000000..a7e8a56df33227 --- /dev/null +++ b/pages.pl/linux/makepkg.md @@ -0,0 +1,33 @@ +# makepkg + +> Utwórz pakiet do użycia przez `pacman`-a. +> Domyślnie używa pliku `PKGBUILD` w aktualnym katalogu roboczym. +> Więcej informacji: . + +- Utwórz pakiet: + +`makepkg` + +- Utwórz pakiet i zainstaluj jego zależności: + +`makepkg {{[-s|--syncdeps]}}` + +- Utwórz pakiet, zainstaluj jego zależności, a następnie zainstaluj utworzony pakiet: + +`makepkg {{[-s|--syncdeps]}} {{[-i|--install]}}` + +- Utwórz pakiet, ale pomiń sprawdzanie sum kontrolnych źrodeł: + +`makepkg --skipchecksums` + +- Wyczyść katalogi robocze po udanym budowaniu: + +`makepkg {{[-c|--clean]}}` + +- Zwerifikuj sumy kontrolne źródeł: + +`makepkg --verifysource` + +- Wygeneruj i zapisz informacje o źródłach do pliku `.SRCINFO`: + +`makepkg --printsrcinfo > .SRCINFO` diff --git a/pages.pl/linux/mate-about.md b/pages.pl/linux/mate-about.md new file mode 100644 index 00000000000000..86a27b486ccb9b --- /dev/null +++ b/pages.pl/linux/mate-about.md @@ -0,0 +1,8 @@ +# mate-about + +> Pokaż informacje o środowisku desktopowym MATE. +> Więcej informacji: . + +- Wyświetl wersję MATE: + +`mate-about --version` diff --git a/pages.pl/linux/megadl.md b/pages.pl/linux/megadl.md new file mode 100644 index 00000000000000..63e1c42344d514 --- /dev/null +++ b/pages.pl/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> To polecenie jest aliasem `megatools-dl`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr megatools-dl` diff --git a/pages.pl/linux/mkfs.vfat.md b/pages.pl/linux/mkfs.vfat.md new file mode 100644 index 00000000000000..8ce477e56c0696 --- /dev/null +++ b/pages.pl/linux/mkfs.vfat.md @@ -0,0 +1,7 @@ +# mkfs.vfat + +> To polecenie jest aliasem `mkfs.fat`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mkfs.fat` diff --git a/pages.pl/linux/mklost+found.md b/pages.pl/linux/mklost+found.md new file mode 100644 index 00000000000000..9d9e490530ba36 --- /dev/null +++ b/pages.pl/linux/mklost+found.md @@ -0,0 +1,8 @@ +# mklost+found + +> Tworzy katalog lost+found. +> Więcej informacji: . + +- Utwórz katalog `lost+found` w bieżącym katalogu: + +`mklost+found` diff --git a/pages.pl/linux/mksquashfs.md b/pages.pl/linux/mksquashfs.md new file mode 100644 index 00000000000000..405b481d510781 --- /dev/null +++ b/pages.pl/linux/mksquashfs.md @@ -0,0 +1,24 @@ +# mksquashfs + +> Utwórz lub dodaj pliki i katalogi do systemów plików squashfs. +> Więcej informacji: . + +- Utwórz lub dodaj pliki i katalogi do systemu plików squashfs (domyślnie kompresując za pomocą `gzip`): + +`mksquashfs {{ścieżka/do/pliku_lub_katalogu1 ścieżka/do/pliku_lub_katalogu2 ...}} {{system_plików.squashfs}}` + +- Utwórz lub dodaj pliki i katalogi do systemu plików squashfs, używając podanego algorytmu kompresji ([comp]ression): + +`mksquashfs {{ścieżka/do/pliku_lub_katalogu1 ścieżka/do/pliku_lub_katalogu2 ...}} {{system_plików.squashfs}} -comp {{gzip|lzo|lz4|xz|zstd|lzma}}` + +- Utwórz lub dodaj pliki i katalogi do systemu plików squashfs, pomijając ([e]xcluding) niektóre z nich: + +`mksquashfs {{ścieżka/do/pliku_lub_katalogu1 ścieżka/do/pliku_lub_katalogu2 ...}} {{system_plików.squashfs}} -e {{plik|katalog1 plik|katalog2 ...}}` + +- Utwórz lub dodaj pliki i katalogi do systemu plików squashfs, pomijając ([e]xcluding) te kończące się na `.gz`: + +`mksquashfs {{ścieżka/do/pliku_lub_katalogu1 ścieżka/do/pliku_lub_katalogu2 ...}} {{system_plików.squashfs}} -wildcards -e "{{*.gz}}"` + +- Utwórz lub dodaj pliki i katalogi do systemu plików squashfs, pomijając ([e]xcluding) te pasujące do wyrażenia regularnego: + +`mksquashfs {{ścieżka/do/pliku_lub_katalogu1 ścieżka/do/pliku_lub_katalogu2 ...}} {{system_plików.squashfs}} -regex -e "{{wyrażenie_regularne}}"` diff --git a/pages.pl/linux/mono.md b/pages.pl/linux/mono.md new file mode 100644 index 00000000000000..e8bcd9efc74341 --- /dev/null +++ b/pages.pl/linux/mono.md @@ -0,0 +1,12 @@ +# mono + +> Środowisko uruchomieniowe dla .NET Framework. +> Więcej informacji: . + +- Uruchom program .NET assembly w trybie debugowania: + +`mono --debug {{ścieżka/do/program.exe}}` + +- Uruchom program .NET: + +`mono {{ścieżka/do/program.exe}}` diff --git a/pages.pl/linux/mount.smb3.md b/pages.pl/linux/mount.smb3.md new file mode 100644 index 00000000000000..1f691897875a2c --- /dev/null +++ b/pages.pl/linux/mount.smb3.md @@ -0,0 +1,8 @@ +# mount.smb3 + +> To polecenie jest aliasem `mount.cifs`. +> Uwaga: dla wersji SMB poniżej 3 musisz użyć `mount.cifs`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mount.cifs` diff --git a/pages.pl/linux/ncal.md b/pages.pl/linux/ncal.md new file mode 100644 index 00000000000000..9c4d9d0a8a839e --- /dev/null +++ b/pages.pl/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> To polecenie jest aliasem `cal`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr cal` diff --git a/pages.pl/linux/networkctl.md b/pages.pl/linux/networkctl.md new file mode 100644 index 00000000000000..10662018bd8f7e --- /dev/null +++ b/pages.pl/linux/networkctl.md @@ -0,0 +1,33 @@ +# networkctl + +> Zapytaj o stan łączy sieciowych. +> Zarządzaj konfiguracją sieci za pomocą `systemd-networkd`. +> Więcej informacji: . + +- Wyświetl listę istniejących łączy i ich status: + +`networkctl list` + +- Wyświetl ogólny status sieci: + +`networkctl status` + +- Włącz urządzenia sieciowe: + +`networkctl up {{interfejs1 interfejs2 ...}}` + +- Wyłącz urządzenia sieciowe: + +`networkctl down {{interfejs1 interfejs2 ...}}` + +- Odnów konfiguracje dynamiczne (np. adresy IP przydzielone przez serwer DHCP): + +`networkctl renew {{interfejs1 interfejs2 ...}}` + +- Przeładuj pliki konfiguracyjne (.netdev i .network): + +`networkctl reload` + +- Rekonfiguruj interfejsy sieciowe (jeżeli pliki konfiguracyjne były edytowane, najpierw uruchom `networkctl reload`): + +`networkctl reconfigure {{interfejs1 interfejs2 ...}}` diff --git a/pages.pl/linux/newgrp.md b/pages.pl/linux/newgrp.md new file mode 100644 index 00000000000000..c46039ade9d610 --- /dev/null +++ b/pages.pl/linux/newgrp.md @@ -0,0 +1,12 @@ +# newgrp + +> Przełącza członkostwo podstawowej grupy. +> Więcej informacji: . + +- Zmień podstawową grupę użytkownika: + +`newgrp {{nazwa_grupy}}` + +- Przywróć podstawową grupę użytkownika na domyślną grupę w `/etc/passwd`: + +`newgrp` diff --git a/pages.pl/linux/nmtui-connect.md b/pages.pl/linux/nmtui-connect.md new file mode 100644 index 00000000000000..4624c822f66dfc --- /dev/null +++ b/pages.pl/linux/nmtui-connect.md @@ -0,0 +1,7 @@ +# nmtui-connect + +> To polecenie jest aliasem `nmtui connect`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nmtui` diff --git a/pages.pl/linux/nmtui-edit.md b/pages.pl/linux/nmtui-edit.md new file mode 100644 index 00000000000000..89d773b883c7e7 --- /dev/null +++ b/pages.pl/linux/nmtui-edit.md @@ -0,0 +1,7 @@ +# nmtui-edit + +> To polecenie jest aliasem `nmtui edit`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nmtui` diff --git a/pages.pl/linux/nmtui-hostname.md b/pages.pl/linux/nmtui-hostname.md new file mode 100644 index 00000000000000..63c0e81f573c00 --- /dev/null +++ b/pages.pl/linux/nmtui-hostname.md @@ -0,0 +1,7 @@ +# nmtui-hostname + +> To polecenie jest aliasem `nmtui hostname`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nmtui` diff --git a/pages.pl/linux/oomctl.md b/pages.pl/linux/oomctl.md new file mode 100644 index 00000000000000..eb721aa7d6bb37 --- /dev/null +++ b/pages.pl/linux/oomctl.md @@ -0,0 +1,8 @@ +# oomctl + +> Przeanalizuj stan przechowywany w `systemd-oomd`. +> Więcej informacji: . + +- Wyświetl aktualny stan cgroups i kontekstów systemowych przechowywany przez `systemd-oomd`: + +`oomctl dump` diff --git a/pages.pl/linux/opera-stable.md b/pages.pl/linux/opera-stable.md new file mode 100644 index 00000000000000..9284857d4027a1 --- /dev/null +++ b/pages.pl/linux/opera-stable.md @@ -0,0 +1,8 @@ +# opera-stable + +> To polecenie jest aliasem `chromium`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chromium` diff --git a/pages.pl/linux/pacman-d.md b/pages.pl/linux/pacman-d.md new file mode 100644 index 00000000000000..4c3c95a2a9b1fc --- /dev/null +++ b/pages.pl/linux/pacman-d.md @@ -0,0 +1,7 @@ +# pacman -D + +> To polecenie jest aliasem `pacman --database`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pacman database` diff --git a/pages.pl/linux/pacman-database.md b/pages.pl/linux/pacman-database.md new file mode 100644 index 00000000000000..7763ad03bf2703 --- /dev/null +++ b/pages.pl/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Operuj na bazie danych pakietów Arch Linuksa. +> Modyfikuj niektóre atrybuty zainstalowanych pakietów. +> Zobacz także: `pacman`. +> Więcej informacji: . + +- Oznacz pakiet jako pośrednio zainstalowany (zależność): + +`sudo pacman --database --asdeps {{nazwa_pakietu}}` + +- Oznacz pakiet jako bezpośrednio zainstalowany: + +`sudo pacman --database --asexplicit {{nazwa_pakietu}}` + +- Sprawdź, czy wszystkie zależności pakietów są zainstalowane: + +`pacman --database --check` + +- Sprawdź repozytoria, aby zapewnić, że wszystkie podane zależności są dostępne: + +`pacman --database --check --check` + +- Wyświetlaj tylko komunikaty o błędach: + +`pacman --database --check --quiet` + +- Wyświetl pomoc: + +`pacman --database --help` diff --git a/pages.pl/linux/pacman-deptest.md b/pages.pl/linux/pacman-deptest.md new file mode 100644 index 00000000000000..7a97d64634e8eb --- /dev/null +++ b/pages.pl/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> Sprawdź każdą podaną zależność i zwróć listę zależności, które nie są aktualnie spełnione. +> Zobacz także: `pacman`. +> Więcej informacji: . + +- Wyświetl nazwy zależności, które nie są zainstalowane: + +`pacman --deptest {{nazwa_pakietu1 nazwa_pakietu2 ...}}` + +- Sprawdź, czy zainstalowany pakiet spełnia podaną minimalną wersję: + +`pacman --deptest "{{bash>=5}}"` + +- Sprawdź, czy jest zainstalowana nowsza wersja pakietu: + +`pacman --deptest "{{bash>5}}"` + +- Wyświetl pomoc: + +`pacman --deptest --help` diff --git a/pages.pl/linux/pacman-f.md b/pages.pl/linux/pacman-f.md new file mode 100644 index 00000000000000..1f78f39875bcbe --- /dev/null +++ b/pages.pl/linux/pacman-f.md @@ -0,0 +1,7 @@ +# pacman -F + +> To polecenie jest aliasem `pacman --files`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pacman files` diff --git a/pages.pl/linux/pacman-files.md b/pages.pl/linux/pacman-files.md new file mode 100644 index 00000000000000..552172f5c4dd35 --- /dev/null +++ b/pages.pl/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Narzędzie do zarządzania pakietami w Arch Linuksie. +> Zobacz także: `pacman`, `pkgfile`. +> Więcej informacji: . + +- Zaktualizuj bazę danych pakietów: + +`sudo pacman --files --refresh` + +- Znajdź pakiet, do którego należy podany plik: + +`pacman --files {{nazwa_pliku}}` + +- Znajdź pakiet, do którego należy podany plik, używając wyrażenia regularnego: + +`pacman --files --regex '{{wyrażenie_regularne}}'` + +- Wyświetl tylko nazwy pakietów: + +`pacman --files --quiet {{nazwa_pliku}}` + +- Wyświetl pliki należące do podanego pakietu: + +`pacman --files --list {{nazwa_pakietu}}` + +- Wyświetl pomoc: + +`pacman --files --help` diff --git a/pages.pl/linux/pacman-key.md b/pages.pl/linux/pacman-key.md new file mode 100644 index 00000000000000..7f67b082e03a62 --- /dev/null +++ b/pages.pl/linux/pacman-key.md @@ -0,0 +1,37 @@ +# pacman-key + +> Skrypt opakowujący dla GnuPG używany do zarządzania pękiem kluczy pacmana. +> Zobacz także: `pacman`. +> Więcej informacji: . + +- Zainicjalizuj pęk kluczy pacmana: + +`sudo pacman-key --init` + +- Dodaj domyślne klucze Arch Linuksa: + +`sudo pacman-key --populate {{archlinux}}` + +- Wyświetl klucze z pęku publicznego: + +`pacman-key --list-keys` + +- Dodaj podane klucze: + +`sudo pacman-key --add {{ścieżka/do/klucza.gpg}}` + +- Pobierz klucz z serwera kluczy: + +`sudo pacman-key --recv-keys "{{uid|imię|email}}"` + +- Wyświetl odcisk podanego klucza: + +`pacman-key --finger "{{uid|imię|email}}"` + +- Podpisz zaimportowany klucz lokalnie: + +`sudo pacman-key --lsign-key "{{uid|imię|email}}"` + +- Usuń podany klucz: + +`sudo pacman-key --delete "{{uid|imię|email}}"` diff --git a/pages.pl/linux/pacman-mirrors.md b/pages.pl/linux/pacman-mirrors.md new file mode 100644 index 00000000000000..921425376d0bbc --- /dev/null +++ b/pages.pl/linux/pacman-mirrors.md @@ -0,0 +1,26 @@ +# pacman-mirrors + +> Wygeneruj listę serwerów lustrzanych dla Manjaro Linuksa. +> Każde uruchomienie pacman-mirrors wymaga zsynchronizowanej bazy danych oraz zaktualizowania systemu używając `sudo pacman -Syyu`. +> Zobacz także: `pacman`. +> Więcej informacji: . + +- Wygeneruj listę serwerów lustrzanych używając domyślnych ustawień: + +`sudo pacman-mirrors --fasttrack` + +- Wyświetl status aktualnych serwerów lustrzanych: + +`pacman-mirrors --status` + +- Pokaż aktualną gałąź: + +`pacman-mirrors --get-branch` + +- Przęłącz na inną gałąź: + +`sudo pacman-mirrors --api --set-branch {{stable|unstable|testing}}` + +- Wygeneruj listę serwerów lustrzanych, używając tylko tych w twoim kraju: + +`sudo pacman-mirrors --geoip` diff --git a/pages.pl/linux/pacman-q.md b/pages.pl/linux/pacman-q.md new file mode 100644 index 00000000000000..be0a2d656cfba4 --- /dev/null +++ b/pages.pl/linux/pacman-q.md @@ -0,0 +1,7 @@ +# pacman -Q + +> To polecenie jest aliasem `pacman --query`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pacman query` diff --git a/pages.pl/linux/pacman-query.md b/pages.pl/linux/pacman-query.md new file mode 100644 index 00000000000000..cd55469e1e004a --- /dev/null +++ b/pages.pl/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Narzędzie do zarządzania pakietami w Arch Linuksie. +> Zobacz także: `pacman`. +> Więcej informacji: . + +- Wyświetl zainstalowane pakiety i ich wersje: + +`pacman --query` + +- Wyświetl tylko pakiety niebędące zależnościami i ich wersje: + +`pacman --query --explicit` + +- Znajdź, do którego pakietu należy plik: + +`pacman --query --owns {{nazwa_pliku}}` + +- Wyświetl informacje o zainstalowanym pakiecie: + +`pacman --query --info {{nazwa_pakietu}}` + +- Znajdź pliki należące do pakietu: + +`pacman --query --list {{nazwa_pakietu}}` + +- Wyświetl pakiety-sieroty (zainstalowane jako zależności ale nie są już wymagane przez żaden pakiet): + +`pacman --query --unrequired --deps --quiet` + +- Wyświetl zainstalowane pakiety, których nie ma w repozytoriach: + +`pacman --query --foreign` + +- Wyświetl przestarzałe pakiety: + +`pacman --query --upgrades` diff --git a/pages.pl/linux/pacman-r.md b/pages.pl/linux/pacman-r.md new file mode 100644 index 00000000000000..f6fa770726de19 --- /dev/null +++ b/pages.pl/linux/pacman-r.md @@ -0,0 +1,7 @@ +# pacman -R + +> To polecenie jest aliasem `pacman --remove`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pacman remove` diff --git a/pages.pl/linux/pacman-remove.md b/pages.pl/linux/pacman-remove.md new file mode 100644 index 00000000000000..3201d185bb16d2 --- /dev/null +++ b/pages.pl/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Narzędzie do zarządzania pakietami w Arch Linuksie. +> Zobacz także: `pacman`. +> Więcej informacji: . + +- Usuń pakiet i jego zależności: + +`sudo pacman --remove --recursive {{nazwa_pakietu}}` + +- Usuń pakiet, jego zależności i pliki konfiguracyjne: + +`sudo pacman --remove --recursive --nosave {{nazwa_pakietu}}` + +- Usuń pakiet bez pytania: + +`sudo pacman --remove --noconfirm {{nazwa_pakietu}}` + +- Usuń pakiety-sieroty (zainstalowane jako zależności ale nie są już wymagane przez żaden pakiet): + +`sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)` + +- Usuń pakiet i wszystke pakiety, które od niego zależą: + +`sudo pacman --remove --cascade {{nazwa_pakietu}}` + +- Wyświetl pakiety, na które wpływ miałaby komenda (nie usuwa żadnych pakietów): + +`pacman --remove --print {{nazwa_pakietu}}` + +- Wyświetl pomoc dla tej komendy: + +`pacman --remove --help` diff --git a/pages.pl/linux/pacman-s.md b/pages.pl/linux/pacman-s.md new file mode 100644 index 00000000000000..b3972d84af979d --- /dev/null +++ b/pages.pl/linux/pacman-s.md @@ -0,0 +1,7 @@ +# pacman -S + +> To polecenie jest aliasem `pacman --sync`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pacman sync` diff --git a/pages.pl/linux/pacman-sync.md b/pages.pl/linux/pacman-sync.md new file mode 100644 index 00000000000000..4c96fae2a77b5b --- /dev/null +++ b/pages.pl/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Narzędzie do zarządzania pakietami w Arch Linuksie. +> Zobacz także: `pacman`. +> Więcej informacji: . + +- Zainstaluj nowy pakiet: + +`sudo pacman --sync {{nazwa_pakietu}}` + +- Zsynchronizuj i zaktualizuj wszystkie pakiety (użyj `--downloadonly` aby pobrać pakiety i ich nie zaktualizować): + +`sudo pacman --sync --refresh --sysupgrade` + +- Zaktualizuj wszystkie pakiety i zainstaluj nowy bez pytania: + +`sudo pacman --sync --refresh --sysupgrade --noconfirm {{nazwa_pakietu}}` + +- Przeszukaj bazę danych pakietów używając wyrażenia regularnego lub słowa klucz: + +`pacman --sync --search "{{zapytanie}}"` + +- Wyświetl informacje o pakiecie: + +`pacman --sync --info {{nazwa_pakietu}}` + +- Nadpisz pliki będące w konflikcie podczas aktualizacji pakietów: + +`sudo pacman --sync --refresh --sysupgrade --overwrite {{ścieżka/do/pliku}}` + +- Zsynchronizuj i zaktualizuj wszystkie pakiety, ale zignoruj konkretny pakiet (można użyć więcej niż raz): + +`sudo pacman --sync --refresh --sysupgrade --ignore {{nazwa_pakietu}}` + +- Usuń niezainstalowane pakiety i nieużywane repozytoria z pamięci podręcznej (użyj dwa razy opcji `--clean`, aby wyczyścić wszystkie pakiety): + +`sudo pacman --sync --clean` diff --git a/pages.pl/linux/pacman-t.md b/pages.pl/linux/pacman-t.md new file mode 100644 index 00000000000000..d2e5035d614e0c --- /dev/null +++ b/pages.pl/linux/pacman-t.md @@ -0,0 +1,7 @@ +# pacman -T + +> To polecenie jest aliasem `pacman --deptest`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pacman deptest` diff --git a/pages.pl/linux/pacman-u.md b/pages.pl/linux/pacman-u.md new file mode 100644 index 00000000000000..41f0afe6e5c67f --- /dev/null +++ b/pages.pl/linux/pacman-u.md @@ -0,0 +1,7 @@ +# pacman -U + +> To polecenie jest aliasem `pacman --upgrade`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pacman upgrade` diff --git a/pages.pl/linux/pacman-upgrade.md b/pages.pl/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..58989d927beac3 --- /dev/null +++ b/pages.pl/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> Narzędzie do zarządzania pakietami w Arch Linuksie. +> Zobacz także: `pacman`. +> Więcej informacji: . + +- Zainstaluj jeden lub więcej pakietów z plików: + +`sudo pacman --upgrade {{ścieżka/do/pakietu1.pkg.tar.zst}} {{ścieżka/do/pakietu2.pkg.tar.zst}}` + +- Zainstaluj pakiet bez pytania: + +`sudo pacman --upgrade --noconfirm {{ścieżka/do/pakietu.pkg.tar.zst}}` + +- Nadpisz pliki będące w konflikcie podczas instalacji pakietów: + +`sudo pacman --upgrade --overwrite {{ścieżka/do/pliku}} {{ścieżka/do/pakietu.pkg.tar.zst}}` + +- Zainstaluj pakiet, pomijając sprawdzanie wersji zależności: + +`sudo pacman --upgrade --nodeps {{ścieżka/do/pakietu.pkg.tar.zst}}` + +- Wyświetl pakiety, na które wpływ miałaby komenda (nie instaluje żadnych pakietów): + +`pacman --upgrade --print {{ścieżka/do/pakietu.pkg.tar.zst}}` + +- Wyświetl pomoc: + +`pacman --upgrade --help` diff --git a/pages.pl/linux/pacman.md b/pages.pl/linux/pacman.md new file mode 100644 index 00000000000000..517f90237be35f --- /dev/null +++ b/pages.pl/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> Narzędzie do zarządzania pakietami w Arch Linuksie. +> Zobacz także: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Odpowiednie polecenia dla innych menedżerów pakietów: . +> Więcej informacji: . + +- Zsynchronizuj i zaktualizuj wszystkie pakiety: + +`sudo pacman -Syu` + +- Zainstaluj nowy pakiet: + +`sudo pacman -S {{pakiet}}` + +- Usuń pakiet i jego zależności: + +`sudo pacman -Rs {{pakiet}}` + +- Poszukaj w bazie danych pakietów zawierających podany plik: + +`pacman -F "{{nazwa_pliku}}"` + +- Wyświetl zainstalowane pakiety i ich wersje: + +`pacman -Q` + +- Wyświetl tylko pakiety niebędące zależnościami i ich wersje: + +`pacman -Qe` + +- Wyświetl pakiety-sieroty (zainstalowane jako zależności ale nie są już wymagane przez żaden pakiet): + +`pacman -Qtdq` + +- Wyczyść całą pamięć podręczną pacmana: + +`sudo pacman -Scc` diff --git a/pages.pl/linux/powertop.md b/pages.pl/linux/powertop.md new file mode 100644 index 00000000000000..e8e6eb9bb89901 --- /dev/null +++ b/pages.pl/linux/powertop.md @@ -0,0 +1,16 @@ +# powertop + +> Optymalizuje zużycie energii akumulatora. +> Więcej informacji: . + +- Kalibracja pomiarów zużycia energii: + +`sudo powertop --calibrate` + +- Generowanie raportu zużycia enrgii w HTML w bieżącym katalogu: + +`sudo powertop --html={{raport_zużycia_energii.html}}` + +- Dostrojenie do optymalnych ustawień: + +`sudo powertop --auto-tune` diff --git a/pages.pl/linux/pw-play.md b/pages.pl/linux/pw-play.md new file mode 100644 index 00000000000000..8466cd25f4b618 --- /dev/null +++ b/pages.pl/linux/pw-play.md @@ -0,0 +1,7 @@ +# pw-play + +> To polecenie jest aliasem `pw-cat --playback`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pw-cat` diff --git a/pages.pl/linux/pw-record.md b/pages.pl/linux/pw-record.md new file mode 100644 index 00000000000000..251e5fb5bee476 --- /dev/null +++ b/pages.pl/linux/pw-record.md @@ -0,0 +1,7 @@ +# pw-record + +> To polecenie jest aliasem `pw-cat --record`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pw-cat` diff --git a/pages.pl/linux/pwdx.md b/pages.pl/linux/pwdx.md new file mode 100644 index 00000000000000..1f7eaf2ea77c86 --- /dev/null +++ b/pages.pl/linux/pwdx.md @@ -0,0 +1,8 @@ +# pwdx + +> Wyświetla katalog roboczy procesu. +> Więcej informacji: . + +- Wyświetlenie aktualnego katalogu roboczego procesu: + +`pwdx {{id_procesu}}` diff --git a/pages.pl/linux/qm-agent.md b/pages.pl/linux/qm-agent.md new file mode 100644 index 00000000000000..c092379827a149 --- /dev/null +++ b/pages.pl/linux/qm-agent.md @@ -0,0 +1,7 @@ +# qm agent + +> To polecenie jest aliasem `qm guest cmd`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr qm guest cmd` diff --git a/pages.pl/linux/qm-importdisk.md b/pages.pl/linux/qm-importdisk.md new file mode 100644 index 00000000000000..d9f45b49bfe41b --- /dev/null +++ b/pages.pl/linux/qm-importdisk.md @@ -0,0 +1,7 @@ +# qm importdisk + +> To polecenie jest aliasem `qm disk import`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr qm disk import` diff --git a/pages.pl/linux/qm-move-disk.md b/pages.pl/linux/qm-move-disk.md new file mode 100644 index 00000000000000..f4def40cd11e05 --- /dev/null +++ b/pages.pl/linux/qm-move-disk.md @@ -0,0 +1,7 @@ +# qm move-disk + +> To polecenie jest aliasem `qm disk move`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr qm disk move` diff --git a/pages.pl/linux/qm-move_disk.md b/pages.pl/linux/qm-move_disk.md new file mode 100644 index 00000000000000..41808faa561f55 --- /dev/null +++ b/pages.pl/linux/qm-move_disk.md @@ -0,0 +1,7 @@ +# qm move_disk + +> To polecenie jest aliasem `qm disk move`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr qm disk move` diff --git a/pages.pl/linux/qm-rescan.md b/pages.pl/linux/qm-rescan.md new file mode 100644 index 00000000000000..b584626903242d --- /dev/null +++ b/pages.pl/linux/qm-rescan.md @@ -0,0 +1,7 @@ +# qm rescan + +> To polecenie jest aliasem `qm disk rescan`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr qm disk rescan` diff --git a/pages.pl/linux/qm-resize.md b/pages.pl/linux/qm-resize.md new file mode 100644 index 00000000000000..12acb52fbde695 --- /dev/null +++ b/pages.pl/linux/qm-resize.md @@ -0,0 +1,7 @@ +# qm resize + +> To polecenie jest aliasem `qm disk resize`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr qm disk resize` diff --git a/pages.pl/linux/qm-unlink.md b/pages.pl/linux/qm-unlink.md new file mode 100644 index 00000000000000..df9d3b0833f235 --- /dev/null +++ b/pages.pl/linux/qm-unlink.md @@ -0,0 +1,7 @@ +# qm unlink + +> To polecenie jest aliasem `qm disk unlink`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr qm disk unlink` diff --git a/pages.pl/linux/raspi-config.md b/pages.pl/linux/raspi-config.md new file mode 100644 index 00000000000000..e5f9daf7dc69de --- /dev/null +++ b/pages.pl/linux/raspi-config.md @@ -0,0 +1,8 @@ +# raspi-config + +> GUI działające w terminalu `ncurses` do konfiguracji Raspberry Pi. +> Więcej informacji: . + +- Uruchom `raspi-config`: + +`sudo raspi-config` diff --git a/pages.pl/linux/raspinfo.md b/pages.pl/linux/raspinfo.md new file mode 100644 index 00000000000000..b05a597b29d8ac --- /dev/null +++ b/pages.pl/linux/raspinfo.md @@ -0,0 +1,8 @@ +# raspinfo + +> Wyświetla informacje o systemie Raspberry Pi. +> Więcej informacji: . + +- Wyświetlenie informacji o systemie: + +`raspinfo` diff --git a/pages.pl/linux/reset.md b/pages.pl/linux/reset.md new file mode 100644 index 00000000000000..7b03507777a08b --- /dev/null +++ b/pages.pl/linux/reset.md @@ -0,0 +1,12 @@ +# reset + +> Reinicjalizuje bieżacy terminal. Czyści cały ekran terminala. +> Więcej informacji: . + +- Reinicjalizacja bieżącego terminala: + +`reset` + +- Wyświetlenie typu terminala: + +`reset -q` diff --git a/pages.pl/linux/resolvectl.md b/pages.pl/linux/resolvectl.md new file mode 100644 index 00000000000000..0958d97ae1c001 --- /dev/null +++ b/pages.pl/linux/resolvectl.md @@ -0,0 +1,33 @@ +# resolvectl + +> Znajdź nazwy domen, adresy IPv4 i IPv6, rekordy zasobów DNS i usługi. +> Analizuj i rekonfiguruj resolwer DNS. +> Więcej informacji: . + +- Wyświetl ustawienia DNS: + +`resolvectl status` + +- Znajdź adresy IPv4 i IPv6 jednej lub więcej domen: + +`resolvectl query {{domena1 domena2 ...}}` + +- Znajdź domenę podanego adresu IP: + +`resolvectl query {{adres_ip}}` + +- Znajdź rekord MX podanej domeny: + +`resolvectl --legend={{no}} --type={{MX}} query {{domena}}` + +- Znajdź rekord SRV, na przykład _xmpp-server._tcp gmail.com: + +`resolvectl service _{{usługa}}._{{protokół}} {{nazwa}}` + +- Pobierz klucz publiczny z adresu email z rekordu DNS OPENPGPGKEY: + +`resolvectl openpgp {{email}}` + +- Znajdź klucz TLS: + +`resolvectl tlsa tcp {{domena}}:443` diff --git a/pages.pl/linux/sensors.md b/pages.pl/linux/sensors.md new file mode 100644 index 00000000000000..ac3afad12ecaaa --- /dev/null +++ b/pages.pl/linux/sensors.md @@ -0,0 +1,12 @@ +# sensors + +> Zwraca informacje z sensorów. +> Więcej informacji: . + +- Pokazanie bieżących odczytów z wszystkich chipów sensorów: + +`sensors` + +- Pokazanie temperatur w stopniach Fahrenheita: + +`sensors --fahrenheit` diff --git a/pages.pl/linux/shntool-split.md b/pages.pl/linux/shntool-split.md new file mode 100644 index 00000000000000..2ce98faf85194f --- /dev/null +++ b/pages.pl/linux/shntool-split.md @@ -0,0 +1,7 @@ +# shntool split + +> To polecenie jest aliasem `shnsplit`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr shnsplit` diff --git a/pages.pl/linux/sqfscat.md b/pages.pl/linux/sqfscat.md new file mode 100644 index 00000000000000..093dc8f2a12c79 --- /dev/null +++ b/pages.pl/linux/sqfscat.md @@ -0,0 +1,8 @@ +# sqfscat + +> Połącz pliki z systemu plików squashfs i wypisz je na standardowe wyjście. +> Więcej informacji: . + +- Wyświetl zawartość jednego lub więcej plików z systemu plików squashfs: + +`sqfscat {{system_plików.squashfs}} {{plik1 plik2 ...}}` diff --git a/pages.pl/linux/sqfstar.md b/pages.pl/linux/sqfstar.md new file mode 100644 index 00000000000000..e5631fd39250e3 --- /dev/null +++ b/pages.pl/linux/sqfstar.md @@ -0,0 +1,24 @@ +# sqfstar + +> Utwórz system plików squashfs z archiwum tar. +> Więcej informacji: . + +- Utwórz system plików squashfs (domyślnie kompresując za pomocą `gzip`) z nieskompresowanego archiwum tar: + +`sqfstar {{system_plików.squashfs}} < {{archiwum.tar}}` + +- Utwórz system plików squashfs z archiwum tar skompresowanego za pomocą `gzip`, i skompresuj system plików używając podanego algorytmu: + +`zcat {{archiwum.tar.gz}} | sqfstar -comp {{gzip|lzo|lz4|xz|zstd|lzma}} {{system_plików.squashfs}}` + +- Utwórz system plików squashfs z archiwum tar skompresowanego za pomocą `xz`, pomijając niektóre pliki: + +`xzcat {{archiwum.tar.xz}} | sqfstar {{system_plików.squashfs}} {{plik1 plik2 ...}}` + +- Utwórz system plików squashfs z archiwum tar skompresowanego za pomocą `zstd`, pomijając pliki kończące się na `.gz`: + +`zstdcat {{archiwum.tar.zst}} | sqfstar {{system_plików.squashfs}} "{{*.gz}}"` + +- Utwórz system plików squashfs z archiwum tar skompresowanego za pomocą `lz4`, pomijając pliki pasujące do wyrażenia regularnego: + +`lz4cat {{archiwum.tar.lz4}} | sqfstar {{system_plików.squashfs}} -regex "{{wyrażenie_regularne}}"` diff --git a/pages.pl/linux/steamos-boot-install.md b/pages.pl/linux/steamos-boot-install.md new file mode 100644 index 00000000000000..a61e0df9d4ae50 --- /dev/null +++ b/pages.pl/linux/steamos-boot-install.md @@ -0,0 +1,7 @@ +# steamos-boot-install + +> To polecenie jest aliasem `steamos-finalize-install`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr steamos-finalize-install` diff --git a/pages.pl/linux/systemctl.md b/pages.pl/linux/systemctl.md new file mode 100644 index 00000000000000..6d54cc0fad5cc3 --- /dev/null +++ b/pages.pl/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> Kontroluj systemd i menedżera usług. +> Więcej informacji: . + +- Wyświetl wszystkie działające usługi: + +`systemctl status` + +- Wyświetl nieudane jednostki: + +`systemctl --failed` + +- Uruchom/Zatrzymaj/Zrestartuj/Przeładuj usługę: + +`systemctl {{start|stop|restart|reload}} {{jednostka}}` + +- Wyświetl status jednostki: + +`systemctl status {{jednostka}}` + +- Włącz/Wyłącz automatyczne uruchamianie jednostki przy starcie systemu: + +`systemctl {{enable|disable}} {{jednostka}}` + +- Zamaskuj/Zdemaskuj jednostkę, aby uniemożliwić włączanie i ręczną aktywację: + +`systemctl {{mask|unmask}} {{jednostka}}` + +- Przeładuj systemd, skanując w poszukiwaniu nowych lub zmienionych jednostek: + +`systemctl daemon-reload` + +- Sprawdź, czy jednostka jest włączona: + +`systemctl is-enabled {{jednostka}}` diff --git a/pages.pl/linux/systemd-analyze.md b/pages.pl/linux/systemd-analyze.md new file mode 100644 index 00000000000000..c1d00718f61cb2 --- /dev/null +++ b/pages.pl/linux/systemd-analyze.md @@ -0,0 +1,25 @@ +# systemd-analyze + +> Analizuj i debuguj menedżera systemu. +> Wyświetl szczegóły dotyczące czasiu procesu uruchamiania jednostek (usług, punktów montowania, urządzeń, gniazd). +> Więcej informacji: . + +- Wyświetl wszystkie uruchomione jednostki, uporządkowane według czasu ich inicjalizacji: + +`systemd-analyze blame` + +- Wyświetl drzewo krytycznego czasowo łańcucha jednostek: + +`systemd-analyze critical-chain` + +- Utwórz plik SVG pokazujący kiedy każda usługa wystartowała, zaznaczając czas wykorzystany na inicjalizację: + +`systemd-analyze plot > {{ścieżka/do/pliku.svg}}` + +- Sporządź wykres zależności i przekonwertuj go do pliku SVG: + +`systemd-analyze dot | dot -T{{svg}} > {{ścieżka/do/pliku.svg}}` + +- Wyświetl wyniki bezpieczeństwa działających jednostek: + +`systemd-analyze security` diff --git a/pages.pl/linux/systemd-confext.md b/pages.pl/linux/systemd-confext.md new file mode 100644 index 00000000000000..8885fc2cced0bc --- /dev/null +++ b/pages.pl/linux/systemd-confext.md @@ -0,0 +1,8 @@ +# systemd-confext + +> To polecenie jest aliasem `systemd-sysext`. +> Działa na tej samej zasadzie co `systemd-sysext`, ale zamiast działać na `/usr` i `/opt`, confext rozszerzy tylko `/etc`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr systemd-sysext` diff --git a/pages.pl/linux/systemd-run.md b/pages.pl/linux/systemd-run.md new file mode 100644 index 00000000000000..117512f372b982 --- /dev/null +++ b/pages.pl/linux/systemd-run.md @@ -0,0 +1,36 @@ +# systemd-run + +> Uruchamiaj programy w przejściowych jednostkach zakresu, jednostkach usługowych lub jednostkach usługowych uruchamianych przez ścieżkę, gniazdo lub timer. +> Więcej informacji: . + +- Uruchom przejściową usługę: + +`sudo systemd-run {{komenda}} {{argument1 argument2 ...}}` + +- Uruchom przejściową usługę pod menedżerem usług aktualnego użytkownika (bez uprawnień): + +`systemd-run --user {{komenda}} {{argument1 argument2 ...}}` + +- Uruchom przejściową usługę z podaną nazwą jednostki i opisem: + +`sudo systemd-run --unit={{nazwa}} --description={{string}} {{komenda}} {{argument1 argument2 ...}}` + +- Uruchom przejściową usługę, która nie jest czyszczona po jej zakończeniu z podaną zmienną środowiskową: + +`sudo systemd-run --remain-after-exit --set-env={{nazwa}}={{wartość}} {{komenda}} {{argument1 argument2 ...}}` + +- Uruchom przejściowy timer, który okresowo uruchamia swoją przejściową usługę (zobacz `man systemd.time`, aby zapoznać się z formatem wydarzeń kalendarza): + +`sudo systemd-run --on-calendar={{wydarzenie_kalendarza}} {{komenda}} {{argument1 argument2 ...}}` + +- Udostępnij terminal programowi (umożliwiając interaktywne wejście/wyjście) i zapewnij, że szczegóły wykonania pozostaną po zakończeniu programu: + +`systemd-run --remain-after-exit --pty {{komenda}}` + +- Ustaw właściwości (np. CPUQuota, MemoryMax) procesu i poczekaj, aż się zakończy: + +`systemd-run --property MemoryMax={{pamięć_w_bajtach}} --property CPUQuota={{procent_czasu_CPU}}% --wait {{komenda}}` + +- Użyj programu w potoku powłoki: + +`{{komenda1}} | systemd-run --pipe {{komenda2}} | {{komenda3}}` diff --git a/pages.pl/linux/systemd-umount.md b/pages.pl/linux/systemd-umount.md new file mode 100644 index 00000000000000..36c60de74f3257 --- /dev/null +++ b/pages.pl/linux/systemd-umount.md @@ -0,0 +1,7 @@ +# systemd-umount + +> To polecenie jest aliasem `systemd-mount --umount`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr systemd-mount` diff --git a/pages.pl/linux/tailf.md b/pages.pl/linux/tailf.md new file mode 100644 index 00000000000000..87f9faced253aa --- /dev/null +++ b/pages.pl/linux/tailf.md @@ -0,0 +1,8 @@ +# tailf + +> To polecenie zostało zastąpione przez `tail -f`. +> Więcej informacji: . + +- Zobacz dokumentację zalecanego zamiennika: + +`tldr tail` diff --git a/pages.pl/linux/tcpflow.md b/pages.pl/linux/tcpflow.md new file mode 100644 index 00000000000000..a4d18a8612a6d2 --- /dev/null +++ b/pages.pl/linux/tcpflow.md @@ -0,0 +1,8 @@ +# tcpflow + +> Przechwytuje ruch TCP do debugowania i analizy. +> Więcej informacji: . + +- Pokaż wszystkie dane z interfejsu `eth0` i portu `80`: + +`tcpflow -c -i {{eth0}} port {{80}}` diff --git a/pages.pl/linux/timedatectl.md b/pages.pl/linux/timedatectl.md new file mode 100644 index 00000000000000..2f064209da15f9 --- /dev/null +++ b/pages.pl/linux/timedatectl.md @@ -0,0 +1,28 @@ +# timedatectl + +> Kontroluj datę i czas systemowy. +> Więcej informacji: . + +- Sprawdź aktualny czas zegara systemowego: + +`timedatectl` + +- Bezpośrednio ustaw czas lokalny zegara systemowego: + +`timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"` + +- Wyświetl dostępne strefy czasowe: + +`timedatectl list-timezones` + +- Ustaw systemową strefę czasową: + +`timedatectl set-timezone {{strefa_czasowa}}` + +- Włącz synchronizację czasu poprzez Network Time Protocol (NTP): + +`timedatectl set-ntp on` + +- Zmień standard czasu zegara sprzętowego na czas lokalny: + +`timedatectl set-local-rtc 1` diff --git a/pages.pl/linux/trash-put.md b/pages.pl/linux/trash-put.md new file mode 100644 index 00000000000000..48215867c5dfbf --- /dev/null +++ b/pages.pl/linux/trash-put.md @@ -0,0 +1,7 @@ +# trash-put + +> To polecenie jest aliasem `trash`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr trash` diff --git a/pages.pl/linux/ubuntu-bug.md b/pages.pl/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..1bfcb895b460f1 --- /dev/null +++ b/pages.pl/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> To polecenie jest aliasem `apport-bug`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr apport-bug` diff --git a/pages.pl/linux/uname26.md b/pages.pl/linux/uname26.md new file mode 100644 index 00000000000000..a6ef029e042ef5 --- /dev/null +++ b/pages.pl/linux/uname26.md @@ -0,0 +1,7 @@ +# uname26 + +> To polecenie jest aliasem `setarch uname26`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr setarch` diff --git a/pages.pl/linux/unmount.md b/pages.pl/linux/unmount.md new file mode 100644 index 00000000000000..4d0d065917ad7d --- /dev/null +++ b/pages.pl/linux/unmount.md @@ -0,0 +1,8 @@ +# unmount + +> Właściwe polecenie to `umount` (u-mount). +> Więcej informacji: . + +- Zobacz dokumentację właściwego polecenia: + +`tldr umount` diff --git a/pages.pl/linux/unsquashfs.md b/pages.pl/linux/unsquashfs.md new file mode 100644 index 00000000000000..53da854af6fae5 --- /dev/null +++ b/pages.pl/linux/unsquashfs.md @@ -0,0 +1,28 @@ +# unsquashfs + +> Dekompresuj, rozpakuj i wyświetl listę plików w systemach plików squashfs. +> Więcej informacji: . + +- Rozpakuj system plików squashfs do `squashfs-root` w aktualnym katalogu roboczym: + +`unsquashfs {{system_plików.squashfs}}` + +- Rozpakuj system plików squashfs do podanego katalogu: + +`unsquashfs -dest {{ścieżka/do/katalogu}} {{system_plików.squashfs}}` + +- Wyświetlaj nazwy plików podczas ich rozpakowywania: + +`unsquashfs -info {{system_plików.squashfs}}` + +- Wyświetlaj nazwy plików i ich atrybuty podczas ich rozpakowywania: + +`unsquashfs -linfo {{system_plików.squashfs}}` + +- Wyświetl listę plików w systemie plików squashfs (bez rozpakowywania): + +`unsquashfs -ls {{system_plików.squashfs}}` + +- Wyświetl listę plików i ich atrybuty w systemie plików squashfs (bez rozpakowywania): + +`unsquashfs -lls {{system_plików.squashfs}}` diff --git a/pages.pl/linux/uuid.md b/pages.pl/linux/uuid.md new file mode 100644 index 00000000000000..65755a38035d1c --- /dev/null +++ b/pages.pl/linux/uuid.md @@ -0,0 +1,33 @@ +# uuid + +> Twórz i dekoduj uniwersalne identyfikatory (UUID). +> Zobacz także `uuidgen`. +> Więcej informacji: . + +- Stwórz UUIDv1 (oparte o zegar systemowy i - jeśli dostępne - adres sprzętowy): + +`uuid` + +- Stwórz UUIDv4 (losowy): + +`uuid -v {{4}}` + +- Stwórz wiele UUIDv4 na raz: + +`uuid -v {{4}} -n {{ilość_uuid}}` + +- Stwórz UUIDv4 w konkretnym formacie: + +`uuid -v {{4}} -F {{BIN|STR|SIV}}` + +- Stwórz UUIDv4 i zapisz do pliku: + +`uuid -v {{4}} -o {{ścieżka/do/pliku}}` + +- Stwórz UUIDv5 (oparty o podaną nazwę obiektu) w przestrzeni nazw: + +`uuid -v {{5}} ns:{{DNS|URL|OID|X500}} {{nazwa_obiektu}}` + +- Dekoduj podany UUID: + +`uuid -d {{uuid}}` diff --git a/pages.pl/linux/uuidd.md b/pages.pl/linux/uuidd.md new file mode 100644 index 00000000000000..ae62f512693de8 --- /dev/null +++ b/pages.pl/linux/uuidd.md @@ -0,0 +1,16 @@ +# uuidd + +> Daemon generujący UUID. +> Więcej informacji: . + +- Stwórz losowy UUID: + +`uuidd --random` + +- Stwórz większą ilość losowych UUID: + +`uuidd --random --uuids {{ilość_uuid}}` + +- Stwórz UUID oparty o aktualny czas i adres MAC: + +`uuidd --time` diff --git a/pages.pl/linux/uuidgen.md b/pages.pl/linux/uuidgen.md new file mode 100644 index 00000000000000..e965339e814424 --- /dev/null +++ b/pages.pl/linux/uuidgen.md @@ -0,0 +1,17 @@ +# uuidgen + +> Stwórz unikalny identyfikator (UUIDs). +> Zobacz także `uuid`. +> Więcej informacji: . + +- Stwórz losowy UUIDv4: + +`uuidgen --random` + +- Stwórz UUIDv1 oparty o aktualny czas: + +`uuidgen --time` + +- Stwórz UUIDv5 z nazwy i prefiksu przestrzeni nazw: + +`uuidgen --sha1 --namespace {{@dns|@url|@oid|@x500}} --name {{nazwa_obiektu}}` diff --git a/pages.pl/linux/vigr.md b/pages.pl/linux/vigr.md new file mode 100644 index 00000000000000..596dd772064134 --- /dev/null +++ b/pages.pl/linux/vigr.md @@ -0,0 +1,12 @@ +# vigr + +> Edytuje plik `group`. +> Więcej informacji: . + +- Edycja pliku `group`: + +`vigr` + +- Wyświetlenie wersji: + +`vigr --version` diff --git a/pages.pl/linux/vipw.md b/pages.pl/linux/vipw.md new file mode 100644 index 00000000000000..693d45e8d0ba1c --- /dev/null +++ b/pages.pl/linux/vipw.md @@ -0,0 +1,12 @@ +# vipw + +> Edytuje plik password. +> Więcej informacji: . + +- Edycja pliku password: + +`vipw` + +- Wyświetlenie bieżącej wersji `vipw`: + +`vipw --version` diff --git a/pages.pl/linux/vivaldi-stable.md b/pages.pl/linux/vivaldi-stable.md new file mode 100644 index 00000000000000..16f83a73b8f93e --- /dev/null +++ b/pages.pl/linux/vivaldi-stable.md @@ -0,0 +1,8 @@ +# vivaldi-stable + +> To polecenie jest aliasem `chromium`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chromium` diff --git a/pages.pl/linux/vpnc.md b/pages.pl/linux/vpnc.md new file mode 100644 index 00000000000000..f50229b61cf4aa --- /dev/null +++ b/pages.pl/linux/vpnc.md @@ -0,0 +1,12 @@ +# vpnc + +> Klient VPN dla Cisco 3000 VPN Concentrator. +> Więcej informacji: . + +- Połącznie przy pomocy zdefiniowanego pliku konfiguracyjnego: + +`sudo vpnc {{plik_konfiguracyjny}}` + +- Zakończenie wcześniej utworzonego połączenia: + +`sudo vpnc-disconnect` diff --git a/pages.pl/linux/wajig.md b/pages.pl/linux/wajig.md new file mode 100644 index 00000000000000..97215dcb377956 --- /dev/null +++ b/pages.pl/linux/wajig.md @@ -0,0 +1,36 @@ +# wajig + +> Uproszczone narzędzie do zarządzania pakietami dla systemów oparych na Debianie. +> Więcej informacji: . + +- Aktualizacja listy dostępnych pakietów i ich wersji: + +`wajig update` + +- Instalacja pakietu lub aktualizacja do najnowszej wersji: + +`wajig install {{pakiet}}` + +- Usunięcie pakietu i jego plików konfiguracyjnych: + +`wajig purge {{pakiet}}` + +- Wykonanie update, a następnie dist-upgrade: + +`wajig daily-upgrade` + +- Wyświetlenie rozmiaru zainstalowanych pakietów: + +`wajig sizes` + +- Lista wersji i dystrybucji dla wszystkich zainstalowanych pakietów: + +`wajig versions` + +- Lista wersji pakietów możliwych do aktualizacji: + +`wajig toupgrade` + +- Wyświetlenie pakietów, które posiadają zaleność od podanego pakietu: + +`wajig dependents {{pakiet}}` diff --git a/pages.pl/linux/wall.md b/pages.pl/linux/wall.md new file mode 100644 index 00000000000000..c9ab4362a28675 --- /dev/null +++ b/pages.pl/linux/wall.md @@ -0,0 +1,16 @@ +# wall + +> Pisze wiadomość na terminalach aktualnie zalogowanych użytkowników. +> Więcej informacji: . + +- Wysłanie wiadomości: + +`echo "{{wiadomość}}" | wall` + +- Wysłanie wiadomoci z pliku: + +`wall {{plik}}` + +- Wysłanie wiadomość z pliku z podanym timeoutem (sekundy, domyślnie 300): + +`wall {{[-t|--timeout]}} {{sekundy}} {{plik}}` diff --git a/pages.pl/linux/wtf.md b/pages.pl/linux/wtf.md new file mode 100644 index 00000000000000..bdb12f02f77830 --- /dev/null +++ b/pages.pl/linux/wtf.md @@ -0,0 +1,12 @@ +# wtf + +> Pokazuje rozwinięcia akronimów. +> Więcej informacji: . + +- Rozwinięcie podanego akronimu: + +`wtf {{IMO}}` + +- Określenie typu wyszukania jako związanego z komputerem: + +`wtf -t {{comp}} {{WWW}}` diff --git a/pages.pl/linux/x86_64.md b/pages.pl/linux/x86_64.md new file mode 100644 index 00000000000000..bddfd0d86c32d9 --- /dev/null +++ b/pages.pl/linux/x86_64.md @@ -0,0 +1,7 @@ +# x86_64 + +> To polecenie jest aliasem `setarch x86_64`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr setarch` diff --git a/pages.pl/linux/yum-config-manager.md b/pages.pl/linux/yum-config-manager.md new file mode 100644 index 00000000000000..5306d8339db647 --- /dev/null +++ b/pages.pl/linux/yum-config-manager.md @@ -0,0 +1,7 @@ +# yum config-manager + +> To polecenie jest aliasem `dnf config-manager`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr dnf config-manager` diff --git a/pages.pl/linux/yumdownloader.md b/pages.pl/linux/yumdownloader.md new file mode 100644 index 00000000000000..ae520a83a4f04d --- /dev/null +++ b/pages.pl/linux/yumdownloader.md @@ -0,0 +1,8 @@ +# yumdownloader + +> Program do pobierania pakietów YUM dla instalacji Fedory; obecnie przestarzały. +> To polecenie jest aliasem `dnf download`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr dnf download` diff --git a/pages.pl/linux/zramctl.md b/pages.pl/linux/zramctl.md new file mode 100644 index 00000000000000..f633c6a47c3316 --- /dev/null +++ b/pages.pl/linux/zramctl.md @@ -0,0 +1,25 @@ +# zramctl + +> Tworzenie i kontrola urządzeń zram. +> Użyj `mkfs` lub `mkswap` aby sformatować urządzenia zram na partycje. +> Więcej informacji: . + +- Sprawdzenie, czy zram jest włączony: + +`lsmod | grep -i zram` + +- Włączenie zram z dynamiczną liczbą urządzeń (użyj `zramctl` aby skonfigurować urządzenia dalej): + +`sudo modprobe zram` + +- Włączenie zram z dokładnie 2 urządzeniami: + +`sudo modprobe zram num_devices={{2}}` + +- Znalezienie i inicjalizacja następnego wolnego urządzenia zram jako 2 GB napęd wirtualny z użyciem kompresji LZ4: + +`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}` + +- Wyświetlenie aktualnie zainicjalizowanych urządzeń: + +`sudo zramctl` diff --git a/pages.pl/netbsd/cal.md b/pages.pl/netbsd/cal.md new file mode 100644 index 00000000000000..58dc5d41d8d763 --- /dev/null +++ b/pages.pl/netbsd/cal.md @@ -0,0 +1,36 @@ +# cal + +> Wyświetl kalendarz. +> Więcej informacji: . + +- Wyświetl kalendarz na bieżący miesiąc: + +`cal` + +- Wyświetl kalendarz na określony rok: + +`cal {{rok}}` + +- Wyświetl kalendarz dla określonego miesiąca i roku: + +`cal {{miesiąc}} {{rok}}` + +- Wyświetl cały kalendarz na bieżący rok z użyciem dni [j]uliańskich (dni liczone od 1, począwszy od 1 stycznia): + +`cal -y -j` + +- Wyróżnij (z ang. [h]ighlight) dzisiejszą datę i wyświetl [3] miesiące ją obejmujące: + +`cal -h -3 {{miesiąc}} {{rok}}` + +- Wyświetl 2 miesiące przed (z ang. [B]efore) i 3 po (z ang. [A]fter) określonym [m]iesiącu bieżącego roku: + +`cal -A 3 -B 2 {{miesiąc}}` + +- Wyświetl określoną liczbę miesięcy przed i po ([C]ontext) określonym miesiącu: + +`cal -C {{miesiące}} {{miesiąc}}` + +- Określ początkowy [d]zień tygodnia (0: niedziela, 1: poniedziałek, ..., 6: sobota): + +`cal -d {{0..6}}` diff --git a/pages.pl/netbsd/chfn.md b/pages.pl/netbsd/chfn.md new file mode 100644 index 00000000000000..e519526a18a034 --- /dev/null +++ b/pages.pl/netbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/netbsd/chpass.md b/pages.pl/netbsd/chpass.md new file mode 100644 index 00000000000000..a6f41fd9083163 --- /dev/null +++ b/pages.pl/netbsd/chpass.md @@ -0,0 +1,29 @@ +# chpass + +> Dodaj lub zmień informacje w bazie danych użytkowników, w tym powłokę logowania i hasło. +> Zobacz także: `passwd`. +> Więcej informacji: . + +- Ustaw określoną powłokę logowania dla bieżącego użytkownika w sposób interaktywny: + +`su -c chpass` + +- Ustaw określoną powłokę (z ang. [s]hell) logowania dla bieżącego użytkownika: + +`chpass -s {{ścieżka/do/powłoki}}` + +- Ustaw powłokę (z ang. [s]hell) logowania dla określonego użytkownika: + +`chpass -s {{ścieżka/do/powłoki}} {{nazwa_użytkownika}}` + +- Określ wpis bazy danych użytkownika w formacie pliku `passwd`: + +`su -c 'chpass -a {{nazwa_użytkownika:zaszyfrowane_hasło:uid:gid:...}} -s {{ścieżka/do/pliku}}' {{nazwa_użytkownika}}` + +- Aktualizuj tylko [l]okalny plik haseł: + +`su -c 'chpass -l -s {{ścieżka/do/powłoki}}' {{nazwa_użytkownika}}` + +- Wymuś zmianę wpisu w bazie danych [y]P haseł: + +`su -c 'chpass -y -s {{ścieżka/do/powłoki}}' {{nazwa_użytkownika}}` diff --git a/pages.pl/netbsd/chsh.md b/pages.pl/netbsd/chsh.md new file mode 100644 index 00000000000000..72e438c5095a90 --- /dev/null +++ b/pages.pl/netbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/netbsd/df.md b/pages.pl/netbsd/df.md new file mode 100644 index 00000000000000..5d6cca1f53d43c --- /dev/null +++ b/pages.pl/netbsd/df.md @@ -0,0 +1,32 @@ +# df + +> Wyświetl przegląd wykorzystania przestrzeni dyskowej systemu plików. +> Więcej informacji: . + +- Wyświetl wszystkie systemy plików i ich wykorzystanie dysków w jednostkach 512-bajtowych: + +`df` + +- Użyj jednostek czytelnych dla człowieka (z ang. [h]uman) (opartych na potęgach 1024): + +`df -h` + +- Wyświetl wszystkie pola struktury/struktur zwróconych przez `statvfs`: + +`df -G` + +- Wyświetl wszystkie systemy plików i ich wykorzystanie dysków zawierające podany plik lub katalog: + +`df {{ścieżka/do/pliku_lub_katalogu}}` + +- Dołącz statystyki dotyczące liczby wolnych i wykorzystanych [i]węzłów: + +`df -i` + +- Użyj jednostek 1024-bajtowych do wyświetlania danych o przestrzeni dyskowej: + +`df -k` + +- Wyświetl informację w sposób [P]rzenośny: + +`df -P` diff --git a/pages.pl/netbsd/pkgin.md b/pages.pl/netbsd/pkgin.md new file mode 100644 index 00000000000000..1a99e921808429 --- /dev/null +++ b/pages.pl/netbsd/pkgin.md @@ -0,0 +1,28 @@ +# pkgin + +> Zarządzaj pakietami binarnymi `pkgsrc` na NetBSD. +> Więcej informacji: . + +- Zainstaluj pakiet: + +`pkgin install {{pakiet}}` + +- Usuń pakiet i jego zależności: + +`pkgin remove {{pakiet}}` + +- Zaktualizuj wszystkie pakiety: + +`pkgin full-upgrade` + +- Wyszukaj pakiet: + +`pkgin search {{słowo_kluczowe}}` + +- Wyświetl listę zainstalowanych pakietów: + +`pkgin list` + +- Usuń niepotrzebne zależności: + +`pkgin autoremove` diff --git a/pages.pl/netbsd/sed.md b/pages.pl/netbsd/sed.md new file mode 100644 index 00000000000000..64a003d23d96f2 --- /dev/null +++ b/pages.pl/netbsd/sed.md @@ -0,0 +1,33 @@ +# sed + +> Edytuj tekst w sposób skryptowalny. +> Zobacz także: `awk`, `ed`. +> Więcej informacji: . + +- Zamień wszystkie wystąpienia `jabłko` (podstawowe wyrażenie regularne) na `mango` (podstawowe wyrażenie regularne) we wszystkich liniach wejściowych i wypisz wynik do `stdout`: + +`{{komenda}} | sed 's/jabłko/mango/g'` + +- Uruchom określony plik (z ang. [f]ile) skryptu i wydrukuj wynik na `stdout`: + +`{{komenda}} | sed -f {{ścieżka/do/skryptu.sed}}` + +- Opóźnij otwieranie każdego pliku, dopóki polecenie zawierające powiązaną funkcję lub flagę `w` nie zostanie zastosowane do linii wejściowej: + +`{{komenda}} | sed -fa {{ścieżka/do/skryptu.sed}}` + +- Włącz rozszerzenie GNU re[g]ex: + +`{{komenda}} | sed -fg {{ścieżka/do/skryptu.sed}}` + +- Zamień wszystkie wystąpienia `jabłko` (rozszerzone wyrażenie regularne) na `JABŁKO` (rozszerzone wyrażenie regularne) we wszystkich liniach wejściowych i wypisz wynik do `stdout`: + +`{{komenda}} | sed -E 's/(jabłko)/\U\1/g'` + +- Wypisz tylko pierwszą linię do `stdout`: + +`{{komenda}} | sed -n '1p'` + +- Zamień wszystkie wystąpienia `jabłko` (podstawowe wyrażenie regularne) na `mango` (podstawowe wyrażenie regularne) w określonym pliku i nadpisz oryginalny plik: + +`sed -i 's/jabłko/mango/g' {{ścieżka/do/skryptu}}` diff --git a/pages.pl/netbsd/sockstat.md b/pages.pl/netbsd/sockstat.md new file mode 100644 index 00000000000000..734a5c87a0b9b0 --- /dev/null +++ b/pages.pl/netbsd/sockstat.md @@ -0,0 +1,26 @@ +# sockstat + +> Wyświetl listę otwartych gniazd internetowych lub UNIX-owych. +> Uwaga: ten program jest przeróbką programu `sockstat` z FreeBSD dla NetBSD 3.0. +> Zobacz także: `netstat`. +> Więcej informacji: . + +- Pokaż informacje o gniazdach IPv4, IPv6 i Unix, zarówno nasłuchujących jak i połączonych: + +`sockstat` + +- Pokaż informacje o gniazdach IPv[4]/IPv[6] nasłuchujących (z ang. [l]istening) na określonych [p]ortach używając określonego [P]rotokołu: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}` + +- Pokaż również połączone (z ang. [c]onnected) gniazda, wyświetlając gniazda [u]nixowe: + +`sockstat -cu` + +- Pokaż tylko wynik [n]umeryczny, bez rozwiązywania symbolicznych nazw dla adresów i portów: + +`sockstat -n` + +- Pokaż tylko gniazda dla określonej rodziny (z ang. [f]amily) adresów: + +`sockstat -f {{inet|inet6|local|unix}}` diff --git a/pages.pl/openbsd/cal.md b/pages.pl/openbsd/cal.md new file mode 100644 index 00000000000000..82cc9c854ea244 --- /dev/null +++ b/pages.pl/openbsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> Wyświetl kalendarz z wyróżnionym bieżącym dniem. +> Więcej informacji: . + +- Wyświetl kalendarz dla obecnego miesiąca: + +`cal` + +- Wyświetl kalendarz dla określonego roku: + +`cal {{rok}}` + +- Wyświetl kalendarz dla określonego miesiąca i roku: + +`cal {{miesiąc}} {{rok}}` + +- Wyświetl kalendarz dla obecnego roku (z ang. [y]ear): + +`cal -y` + +- Wyświetl dni [j]uliańskie (zaczynając od jeden, numerowane od 1 stycznia): + +`cal -j` + +- Użyj poniedziałku (z ang. [m]onday) jako początku tygodnia zamiast niedzieli: + +`cal -m` + +- Wyświetl numery tygodni (z ang. [w]eek) (niezgodne z `-j`): + +`cal -w` diff --git a/pages.pl/openbsd/chfn.md b/pages.pl/openbsd/chfn.md new file mode 100644 index 00000000000000..e519526a18a034 --- /dev/null +++ b/pages.pl/openbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/openbsd/chpass.md b/pages.pl/openbsd/chpass.md new file mode 100644 index 00000000000000..4212a0be96f962 --- /dev/null +++ b/pages.pl/openbsd/chpass.md @@ -0,0 +1,21 @@ +# chpass + +> Dodaj lub zmień informacje o użytkowniku w bazie danych, w tym powłoki logowania i hasła. +> Zobacz także: `passwd`. +> Więcej informacji: . + +- Interaktywnie ustaw określoną powłokę logowania dla bieżącego użytkownika: + +`doas chpass` + +- Ustaw określoną powłokę (z ang. [s]hell) logowania dla bieżącego użytkownika: + +`doas chpass -s {{ścieżka/do/powłoki}}` + +- Ustaw określoną powłokę (z ang. [s]hell) logowania dla określonego użytkownika: + +`doas chpass -s {{ścieżka/do/powłoki}} {{nazwa_użytkownika}}` + +- Określ wpis bazy danych użytkownika w formacie pliku `passwd`: + +`doas chpass -a {{nazwa_użytkownika:zaszyfrowane_hasło:uid:gid:...}}` diff --git a/pages.pl/openbsd/chsh.md b/pages.pl/openbsd/chsh.md new file mode 100644 index 00000000000000..72e438c5095a90 --- /dev/null +++ b/pages.pl/openbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> To polecenie jest aliasem `chpass`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chpass` diff --git a/pages.pl/openbsd/df.md b/pages.pl/openbsd/df.md new file mode 100644 index 00000000000000..0c673bf1f125e1 --- /dev/null +++ b/pages.pl/openbsd/df.md @@ -0,0 +1,28 @@ +# df + +> Wyświetl przegląd wykorzystania przestrzeni dyskowej systemu plików. +> Więcej informacji: . + +- Wyświetl wszystkie systemy plików i ich wykorzystanie dysków w jednostkach 512-bajtowych: + +`df` + +- Wyświetl wszystkie systemy plików i ich wykorzystanie dysków w formie czytelnej dla człowieka (w oparciu o potęgi 1024): + +`df -h` + +- Wyświetl wszystkie systemy plików i ich wykorzystanie dysków zawierające podany plik lub katalog: + +`df {{ścieżka/do/pliku_lub_folderu}}` + +- Wyświetl statystyki dotyczące liczby wolnych i wykorzystanych [i]-węzłów: + +`df -i` + +- Użyj jednostek 1024-bajtowych do zapisu danych przestrzennych: + +`df -k` + +- Wyświetl informację w [P]rzenośny sposób: + +`df -P` diff --git a/pages.pl/openbsd/pkg.md b/pages.pl/openbsd/pkg.md new file mode 100644 index 00000000000000..db443588754e3c --- /dev/null +++ b/pages.pl/openbsd/pkg.md @@ -0,0 +1,16 @@ +# pkg + +> Menedżer pakietów OpenBSD. +> Więcej informacji: . + +- Zobacz dokumentację dotyczącą instalowania/aktualizowania pakietów: + +`tldr pkg_add` + +- Zobacz dokumentację dotyczącą usuwania pakietów: + +`tldr pkg_delete` + +- Zobacz dokumentację dotyczącą pokazywania informacji o pakietach: + +`tldr pkg_info` diff --git a/pages.pl/openbsd/pkg_add.md b/pages.pl/openbsd/pkg_add.md new file mode 100644 index 00000000000000..deb38738b21c82 --- /dev/null +++ b/pages.pl/openbsd/pkg_add.md @@ -0,0 +1,17 @@ +# pkg_add + +> Instaluj/aktualizuj pakiety w OpenBSD. +> Zobacz także: `pkg_info`, `pkg_delete`. +> Więcej informacji: . + +- Zaktualizuj wszystkie pakiety, w tym zależności: + +`pkg_add -u` + +- Zainstaluj nowy pakiet: + +`pkg_add {{pakiet}}` + +- Zainstaluj pakiety z surowego wyjścia `pkg_info`: + +`pkg_add -l {{ścieżka/do/pliku}}` diff --git a/pages.pl/openbsd/pkg_delete.md b/pages.pl/openbsd/pkg_delete.md new file mode 100644 index 00000000000000..1c99fd74da7769 --- /dev/null +++ b/pages.pl/openbsd/pkg_delete.md @@ -0,0 +1,17 @@ +# pkg_delete + +> Usuwaj pakiety w OpenBSD. +> Zobacz także: `pkg_add`, `pkg_info`. +> Więcej informacji: . + +- Usuń pakiet: + +`pkg_delete {{pakiet}}` + +- Usuń pakiet wraz z jego nieużywanymi zależnościami: + +`pkg_delete -a {{pakiet}}` + +- Usuń pakiet "na sucho": + +`pkg_delete -n {{pakiet}}` diff --git a/pages.pl/openbsd/pkg_info.md b/pages.pl/openbsd/pkg_info.md new file mode 100644 index 00000000000000..008028139d6bb6 --- /dev/null +++ b/pages.pl/openbsd/pkg_info.md @@ -0,0 +1,13 @@ +# pkg_info + +> Wyświetl informację o pakietach w OpenBSD. +> Zobacz także: `pkg_add`, `pkg_delete`. +> Więcej informacji: . + +- Wyszukaj pakiet, używając jego nazwy: + +`pkg_info -Q {{pakiet}}` + +- Wyświetl listę zainstalowanych pakietów do użycia z `pkg_add -l`: + +`pkg_info -mz` diff --git a/pages.pl/openbsd/sed.md b/pages.pl/openbsd/sed.md new file mode 100644 index 00000000000000..e2ae61c3ab6b11 --- /dev/null +++ b/pages.pl/openbsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> Edytuj tekst w sposób skryptowalny. +> Zobacz także: `awk`, `ed`. +> Więcej informacji: . + +- Zastąp wszystkie wystąpienia `jabłko` (podstawowe wyrażenie regularne) przez `mango` (podstawowe wyrażenie regularne) we wszystkich liniach wejściowych i wypisz wynik do `stdout`: + +`{{komenda}} | sed 's/jabłko/mango/g'` + +- Wykonaj określony plik (z ang. [f]ile) skryptu i wypisz jego wynik do `stdout`: + +`{{komenda}} | sed -f {{ścieżka/do/skryptu.sed}}` + +- Opóźnij otwarcie każdego pliku do momentu, gdy polecenie zawierające powiązaną funkcję lub flagę `w` zostanie zastosowane do linii wejścia: + +`{{komenda}} | sed -fa {{ścieżka/do/skryptu.sed}}` + +- Zastąp wszystkie wystąpienia `jabłko` (rozszerzone wyrażenie regularne) przez `JABŁKO` (rozszerzone wyrażenie regularne) we wszystkich liniach wejściowych i wypisz wynik do `stdout`: + +`{{komenda}} | sed -E 's/(jabłko)/\U\1/g'` + +- Wypisz tylko pierwszą linię do `stdout`: + +`{{komenda}} | sed -n '1p'` + +- Zastąp wszystkie wystąpienia `jabłko` (podstawowe wyrażenie regularne) przez `mango` (podstawowe wyrażenie regularne) w określonym pliku i nadpisz oryginalny plik: + +`sed -i 's/jabłko/mango/g' {{ścieżka/do/pliku}}` diff --git a/pages.pl/osx/aa.md b/pages.pl/osx/aa.md new file mode 100644 index 00000000000000..05b5501629218a --- /dev/null +++ b/pages.pl/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> To polecenie jest aliasem `yaa`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr yaa` diff --git a/pages.pl/osx/caffeinate.md b/pages.pl/osx/caffeinate.md new file mode 100644 index 00000000000000..053f4509cc9cbd --- /dev/null +++ b/pages.pl/osx/caffeinate.md @@ -0,0 +1,20 @@ +# caffeinate + +> Nie pozwól aby macOS się uśpił. +> Więcej informacji: . + +- Nie usypiaj przez 1 godzinę (3600 sekund): + +`caffeinate -u -t {{3600}}` + +- Nie usypiaj dopóki komenda nie zostanie zakończona: + +`caffeinate -s "{{command}}"` + +- Nie usypiaj dopóki nie przerwiesz naciskając ``: + +`caffeinate -i` + +- Nie usypiaj dysku twardego dopóki nie przerwiesz naciskając ``: + +`caffeinate -m` diff --git a/pages.pl/osx/date.md b/pages.pl/osx/date.md new file mode 100644 index 00000000000000..9efa9a78ddb3d3 --- /dev/null +++ b/pages.pl/osx/date.md @@ -0,0 +1,20 @@ +# date + +> Ustaw bądź wyświetl datę systemową. +> Więcej informacji: . + +- Wyświetl aktualną datę w domyślnym formacie: + +`date +%c` + +- Wyświetl aktualną datę w formacie UTC i ISO 8601: + +`date -u +%Y-%m-%dT%H:%M:%SZ` + +- Wyświetl aktualną datę jako znacznik czasu Unix (sekundy od epoki systemu Unix): + +`date +%s` + +- Wyświetl określoną datę jako znacznik czasu Unix w domyślnym formacie: + +`date -r {{1473305798}}` diff --git a/pages.pl/osx/g[.md b/pages.pl/osx/g[.md new file mode 100644 index 00000000000000..806c74579c4f31 --- /dev/null +++ b/pages.pl/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> To polecenie jest aliasem GNU `[`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr [` diff --git a/pages.pl/osx/gb2sum.md b/pages.pl/osx/gb2sum.md new file mode 100644 index 00000000000000..34fa4816eadb02 --- /dev/null +++ b/pages.pl/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> To polecenie jest aliasem GNU `b2sum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr b2sum` diff --git a/pages.pl/osx/gbase32.md b/pages.pl/osx/gbase32.md new file mode 100644 index 00000000000000..76cabae5d6b105 --- /dev/null +++ b/pages.pl/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> To polecenie jest aliasem GNU `base32`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr base32` diff --git a/pages.pl/osx/gbase64.md b/pages.pl/osx/gbase64.md new file mode 100644 index 00000000000000..50c86862508fe6 --- /dev/null +++ b/pages.pl/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> To polecenie jest aliasem GNU `base64`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.pl/osx/gbasename.md b/pages.pl/osx/gbasename.md new file mode 100644 index 00000000000000..ba3eec0f421e0f --- /dev/null +++ b/pages.pl/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> To polecenie jest aliasem GNU `basename`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr basename` diff --git a/pages.pl/osx/gbasenc.md b/pages.pl/osx/gbasenc.md new file mode 100644 index 00000000000000..e2e42b917af90e --- /dev/null +++ b/pages.pl/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> To polecenie jest aliasem GNU `basenc`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr basenc` diff --git a/pages.pl/osx/gcat.md b/pages.pl/osx/gcat.md new file mode 100644 index 00000000000000..a9d33bb4b8b20b --- /dev/null +++ b/pages.pl/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> To polecenie jest aliasem GNU `cat`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.pl/osx/gchcon.md b/pages.pl/osx/gchcon.md new file mode 100644 index 00000000000000..9902d7d3764464 --- /dev/null +++ b/pages.pl/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> To polecenie jest aliasem GNU `chcon`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.pl/osx/gchgrp.md b/pages.pl/osx/gchgrp.md new file mode 100644 index 00000000000000..878811cc61fe28 --- /dev/null +++ b/pages.pl/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> To polecenie jest aliasem GNU `chgrp`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chgrp` diff --git a/pages.pl/osx/gchmod.md b/pages.pl/osx/gchmod.md new file mode 100644 index 00000000000000..8df10d8f703ea7 --- /dev/null +++ b/pages.pl/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> To polecenie jest aliasem GNU `chmod`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chmod` diff --git a/pages.pl/osx/gchown.md b/pages.pl/osx/gchown.md new file mode 100644 index 00000000000000..fdcf9eea40aab1 --- /dev/null +++ b/pages.pl/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> To polecenie jest aliasem GNU `chown`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chown` diff --git a/pages.pl/osx/gchroot.md b/pages.pl/osx/gchroot.md new file mode 100644 index 00000000000000..488a396da3c1ca --- /dev/null +++ b/pages.pl/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> To polecenie jest aliasem GNU `chroot`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chroot` diff --git a/pages.pl/osx/gcksum.md b/pages.pl/osx/gcksum.md new file mode 100644 index 00000000000000..dfbad6ab945970 --- /dev/null +++ b/pages.pl/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> To polecenie jest aliasem GNU `cksum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr cksum` diff --git a/pages.pl/osx/gcomm.md b/pages.pl/osx/gcomm.md new file mode 100644 index 00000000000000..042fd1660ca779 --- /dev/null +++ b/pages.pl/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> To polecenie jest aliasem GNU `comm`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr comm` diff --git a/pages.pl/osx/gcp.md b/pages.pl/osx/gcp.md new file mode 100644 index 00000000000000..ac11e30551bf7e --- /dev/null +++ b/pages.pl/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> To polecenie jest aliasem GNU `cp`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr cp` diff --git a/pages.pl/osx/gcsplit.md b/pages.pl/osx/gcsplit.md new file mode 100644 index 00000000000000..182e64022d6c3c --- /dev/null +++ b/pages.pl/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> To polecenie jest aliasem GNU `csplit`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.pl/osx/gcut.md b/pages.pl/osx/gcut.md new file mode 100644 index 00000000000000..4d97deb052411e --- /dev/null +++ b/pages.pl/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> To polecenie jest aliasem GNU `cut`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.pl/osx/gdate.md b/pages.pl/osx/gdate.md new file mode 100644 index 00000000000000..1d762dc4d9e070 --- /dev/null +++ b/pages.pl/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> To polecenie jest aliasem GNU `date`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.pl/osx/gdd.md b/pages.pl/osx/gdd.md new file mode 100644 index 00000000000000..4fac6f45514204 --- /dev/null +++ b/pages.pl/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> To polecenie jest aliasem GNU `dd`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.pl/osx/gdf.md b/pages.pl/osx/gdf.md new file mode 100644 index 00000000000000..51fae4d3b8d371 --- /dev/null +++ b/pages.pl/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> To polecenie jest aliasem GNU `df`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.pl/osx/gdir.md b/pages.pl/osx/gdir.md new file mode 100644 index 00000000000000..d6c10c88deed78 --- /dev/null +++ b/pages.pl/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> To polecenie jest aliasem GNU `dir`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.pl/osx/gdircolors.md b/pages.pl/osx/gdircolors.md new file mode 100644 index 00000000000000..12fabe555c7b9e --- /dev/null +++ b/pages.pl/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> To polecenie jest aliasem GNU `dircolors`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr dircolors` diff --git a/pages.pl/osx/gdirname.md b/pages.pl/osx/gdirname.md new file mode 100644 index 00000000000000..0585332141f376 --- /dev/null +++ b/pages.pl/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> To polecenie jest aliasem GNU `dirname`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr dirname` diff --git a/pages.pl/osx/gdnsdomainname.md b/pages.pl/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..b4311f71a3eb49 --- /dev/null +++ b/pages.pl/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> To polecenie jest aliasem GNU `dnsdomainname`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.pl/osx/gecho.md b/pages.pl/osx/gecho.md new file mode 100644 index 00000000000000..f4e7270242c684 --- /dev/null +++ b/pages.pl/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> To polecenie jest aliasem GNU `echo`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr echo` diff --git a/pages.pl/osx/ged.md b/pages.pl/osx/ged.md new file mode 100644 index 00000000000000..b07a024e09a6b4 --- /dev/null +++ b/pages.pl/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> To polecenie jest aliasem GNU `ed`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ed` diff --git a/pages.pl/osx/gegrep.md b/pages.pl/osx/gegrep.md new file mode 100644 index 00000000000000..8ae63704729f15 --- /dev/null +++ b/pages.pl/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> To polecenie jest aliasem GNU `egrep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr egrep` diff --git a/pages.pl/osx/genv.md b/pages.pl/osx/genv.md new file mode 100644 index 00000000000000..f20e22d531365e --- /dev/null +++ b/pages.pl/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> To polecenie jest aliasem GNU `env`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr env` diff --git a/pages.pl/osx/gexpand.md b/pages.pl/osx/gexpand.md new file mode 100644 index 00000000000000..4d12dec9809058 --- /dev/null +++ b/pages.pl/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> To polecenie jest aliasem GNU `expand`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr expand` diff --git a/pages.pl/osx/gexpr.md b/pages.pl/osx/gexpr.md new file mode 100644 index 00000000000000..36eef39c010c9b --- /dev/null +++ b/pages.pl/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> To polecenie jest aliasem GNU `expr`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr expr` diff --git a/pages.pl/osx/gfactor.md b/pages.pl/osx/gfactor.md new file mode 100644 index 00000000000000..39a036e6ef266b --- /dev/null +++ b/pages.pl/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> To polecenie jest aliasem GNU `factor`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr factor` diff --git a/pages.pl/osx/gfalse.md b/pages.pl/osx/gfalse.md new file mode 100644 index 00000000000000..4ac174cf86299f --- /dev/null +++ b/pages.pl/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> To polecenie jest aliasem GNU `false`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr false` diff --git a/pages.pl/osx/gfgrep.md b/pages.pl/osx/gfgrep.md new file mode 100644 index 00000000000000..870fbab13377f6 --- /dev/null +++ b/pages.pl/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> To polecenie jest aliasem GNU `fgrep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr fgrep` diff --git a/pages.pl/osx/gfind.md b/pages.pl/osx/gfind.md new file mode 100644 index 00000000000000..576af3bc03d760 --- /dev/null +++ b/pages.pl/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> To polecenie jest aliasem GNU `find`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr find` diff --git a/pages.pl/osx/gfmt.md b/pages.pl/osx/gfmt.md new file mode 100644 index 00000000000000..bd6f627dff049a --- /dev/null +++ b/pages.pl/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> To polecenie jest aliasem GNU `fmt`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr fmt` diff --git a/pages.pl/osx/gfold.md b/pages.pl/osx/gfold.md new file mode 100644 index 00000000000000..9717b56bcc8be0 --- /dev/null +++ b/pages.pl/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> To polecenie jest aliasem GNU `fold`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.pl/osx/gftp.md b/pages.pl/osx/gftp.md new file mode 100644 index 00000000000000..3a3e4db9af7c78 --- /dev/null +++ b/pages.pl/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> To polecenie jest aliasem GNU `ftp`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ftp` diff --git a/pages.pl/osx/ggrep.md b/pages.pl/osx/ggrep.md new file mode 100644 index 00000000000000..d0313247597502 --- /dev/null +++ b/pages.pl/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> To polecenie jest aliasem GNU `grep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr grep` diff --git a/pages.pl/osx/ggroups.md b/pages.pl/osx/ggroups.md new file mode 100644 index 00000000000000..1d98706c4dfd74 --- /dev/null +++ b/pages.pl/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> To polecenie jest aliasem GNU `groups`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr groups` diff --git a/pages.pl/osx/ghead.md b/pages.pl/osx/ghead.md new file mode 100644 index 00000000000000..c4062a88b76dc3 --- /dev/null +++ b/pages.pl/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> To polecenie jest aliasem GNU `head`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.pl/osx/ghostid.md b/pages.pl/osx/ghostid.md new file mode 100644 index 00000000000000..bec376d96783be --- /dev/null +++ b/pages.pl/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> To polecenie jest aliasem GNU `hostid`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr hostid` diff --git a/pages.pl/osx/ghostname.md b/pages.pl/osx/ghostname.md new file mode 100644 index 00000000000000..890b76543ce6e5 --- /dev/null +++ b/pages.pl/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> To polecenie jest aliasem GNU `hostname`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr hostname` diff --git a/pages.pl/osx/gid.md b/pages.pl/osx/gid.md new file mode 100644 index 00000000000000..6d17865383c219 --- /dev/null +++ b/pages.pl/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> To polecenie jest aliasem GNU `id`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr id` diff --git a/pages.pl/osx/gifconfig.md b/pages.pl/osx/gifconfig.md new file mode 100644 index 00000000000000..fbba530a0d0a16 --- /dev/null +++ b/pages.pl/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> To polecenie jest aliasem GNU `ifconfig`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ifconfig` diff --git a/pages.pl/osx/gindent.md b/pages.pl/osx/gindent.md new file mode 100644 index 00000000000000..1999aa077598d6 --- /dev/null +++ b/pages.pl/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> To polecenie jest aliasem GNU `indent`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.pl/osx/ginstall.md b/pages.pl/osx/ginstall.md new file mode 100644 index 00000000000000..3859bfba7132ad --- /dev/null +++ b/pages.pl/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> To polecenie jest aliasem GNU `install`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr install` diff --git a/pages.pl/osx/gjoin.md b/pages.pl/osx/gjoin.md new file mode 100644 index 00000000000000..3fdcc002762956 --- /dev/null +++ b/pages.pl/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> To polecenie jest aliasem GNU `join`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr join` diff --git a/pages.pl/osx/gkill.md b/pages.pl/osx/gkill.md new file mode 100644 index 00000000000000..390ff6594472e9 --- /dev/null +++ b/pages.pl/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> To polecenie jest aliasem GNU `kill`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.pl/osx/glibtool.md b/pages.pl/osx/glibtool.md new file mode 100644 index 00000000000000..b24c6fa25e4dee --- /dev/null +++ b/pages.pl/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> To polecenie jest aliasem GNU `libtool`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.pl/osx/glibtoolize.md b/pages.pl/osx/glibtoolize.md new file mode 100644 index 00000000000000..60a2ffb1702ea9 --- /dev/null +++ b/pages.pl/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> To polecenie jest aliasem GNU `libtoolize`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.pl/osx/glink.md b/pages.pl/osx/glink.md new file mode 100644 index 00000000000000..28276f991e5b07 --- /dev/null +++ b/pages.pl/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> To polecenie jest aliasem GNU `link`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr link` diff --git a/pages.pl/osx/gln.md b/pages.pl/osx/gln.md new file mode 100644 index 00000000000000..56b899ee3b23fc --- /dev/null +++ b/pages.pl/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> To polecenie jest aliasem GNU `ln`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ln` diff --git a/pages.pl/osx/glocate.md b/pages.pl/osx/glocate.md new file mode 100644 index 00000000000000..01d5305c8efa3b --- /dev/null +++ b/pages.pl/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> To polecenie jest aliasem GNU `locate`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.pl/osx/glogger.md b/pages.pl/osx/glogger.md new file mode 100644 index 00000000000000..53055b9799c91f --- /dev/null +++ b/pages.pl/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> To polecenie jest aliasem GNU `logger`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.pl/osx/glogname.md b/pages.pl/osx/glogname.md new file mode 100644 index 00000000000000..3848677450b579 --- /dev/null +++ b/pages.pl/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> To polecenie jest aliasem GNU `logname`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr logname` diff --git a/pages.pl/osx/gls.md b/pages.pl/osx/gls.md new file mode 100644 index 00000000000000..2f943cfb0ece4f --- /dev/null +++ b/pages.pl/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> To polecenie jest aliasem GNU `ls`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ls` diff --git a/pages.pl/osx/gmake.md b/pages.pl/osx/gmake.md new file mode 100644 index 00000000000000..0be55129b9c699 --- /dev/null +++ b/pages.pl/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> To polecenie jest aliasem GNU `make`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr make` diff --git a/pages.pl/osx/gmd5sum.md b/pages.pl/osx/gmd5sum.md new file mode 100644 index 00000000000000..a32e624a748766 --- /dev/null +++ b/pages.pl/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> To polecenie jest aliasem GNU `md5sum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr md5sum` diff --git a/pages.pl/osx/gmkdir.md b/pages.pl/osx/gmkdir.md new file mode 100644 index 00000000000000..ad4a5404b32067 --- /dev/null +++ b/pages.pl/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> To polecenie jest aliasem GNU `mkdir`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mkdir` diff --git a/pages.pl/osx/gmkfifo.md b/pages.pl/osx/gmkfifo.md new file mode 100644 index 00000000000000..0863dbad9822dd --- /dev/null +++ b/pages.pl/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> To polecenie jest aliasem GNU `mkfifo`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mkfifo` diff --git a/pages.pl/osx/gmknod.md b/pages.pl/osx/gmknod.md new file mode 100644 index 00000000000000..06b9f994acd3e9 --- /dev/null +++ b/pages.pl/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> To polecenie jest aliasem GNU `mknod`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.pl/osx/gmktemp.md b/pages.pl/osx/gmktemp.md new file mode 100644 index 00000000000000..108682b617b45d --- /dev/null +++ b/pages.pl/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> To polecenie jest aliasem GNU `mktemp`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.pl/osx/gmv.md b/pages.pl/osx/gmv.md new file mode 100644 index 00000000000000..3590efcd7f62e8 --- /dev/null +++ b/pages.pl/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> To polecenie jest aliasem GNU `mv`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr mv` diff --git a/pages.pl/osx/gnice.md b/pages.pl/osx/gnice.md new file mode 100644 index 00000000000000..19e636276c003c --- /dev/null +++ b/pages.pl/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> To polecenie jest aliasem GNU `nice`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nice` diff --git a/pages.pl/osx/gnl.md b/pages.pl/osx/gnl.md new file mode 100644 index 00000000000000..128e6ccbce65a8 --- /dev/null +++ b/pages.pl/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> To polecenie jest aliasem GNU `nl`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.pl/osx/gnohup.md b/pages.pl/osx/gnohup.md new file mode 100644 index 00000000000000..d0cd11f150e773 --- /dev/null +++ b/pages.pl/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> To polecenie jest aliasem GNU `nohup`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nohup` diff --git a/pages.pl/osx/gnproc.md b/pages.pl/osx/gnproc.md new file mode 100644 index 00000000000000..80ef967a48ef06 --- /dev/null +++ b/pages.pl/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> To polecenie jest aliasem GNU `nproc`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr nproc` diff --git a/pages.pl/osx/gnumfmt.md b/pages.pl/osx/gnumfmt.md new file mode 100644 index 00000000000000..8a8580f8231ad7 --- /dev/null +++ b/pages.pl/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> To polecenie jest aliasem GNU `numfmt`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr numfmt` diff --git a/pages.pl/osx/god.md b/pages.pl/osx/god.md new file mode 100644 index 00000000000000..64fd7264606b2a --- /dev/null +++ b/pages.pl/osx/god.md @@ -0,0 +1,7 @@ +# god + +> To polecenie jest aliasem GNU `od`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr od` diff --git a/pages.pl/osx/gpaste.md b/pages.pl/osx/gpaste.md new file mode 100644 index 00000000000000..3d9e1618eda271 --- /dev/null +++ b/pages.pl/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> To polecenie jest aliasem GNU `paste`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr paste` diff --git a/pages.pl/osx/gpathchk.md b/pages.pl/osx/gpathchk.md new file mode 100644 index 00000000000000..38e5f335045c65 --- /dev/null +++ b/pages.pl/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> To polecenie jest aliasem GNU `pathchk`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pathchk` diff --git a/pages.pl/osx/gping.md b/pages.pl/osx/gping.md new file mode 100644 index 00000000000000..5dc29a03cbfdfd --- /dev/null +++ b/pages.pl/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> To polecenie jest aliasem GNU `ping`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.pl/osx/gping6.md b/pages.pl/osx/gping6.md new file mode 100644 index 00000000000000..faeb4387f0a50f --- /dev/null +++ b/pages.pl/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> To polecenie jest aliasem GNU `ping6`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr ping6` diff --git a/pages.pl/osx/gpinky.md b/pages.pl/osx/gpinky.md new file mode 100644 index 00000000000000..05a4670807dd62 --- /dev/null +++ b/pages.pl/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> To polecenie jest aliasem GNU `pinky`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pinky` diff --git a/pages.pl/osx/gpr.md b/pages.pl/osx/gpr.md new file mode 100644 index 00000000000000..eb8330d3529d64 --- /dev/null +++ b/pages.pl/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> To polecenie jest aliasem GNU `pr`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pr` diff --git a/pages.pl/osx/gprintenv.md b/pages.pl/osx/gprintenv.md new file mode 100644 index 00000000000000..966cc63442e474 --- /dev/null +++ b/pages.pl/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> To polecenie jest aliasem GNU `printenv`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr printenv` diff --git a/pages.pl/osx/gprintf.md b/pages.pl/osx/gprintf.md new file mode 100644 index 00000000000000..3938a1457270f3 --- /dev/null +++ b/pages.pl/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> To polecenie jest aliasem GNU `printf`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr printf` diff --git a/pages.pl/osx/gptx.md b/pages.pl/osx/gptx.md new file mode 100644 index 00000000000000..9a6fbe301f519e --- /dev/null +++ b/pages.pl/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> To polecenie jest aliasem GNU `ptx`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.pl/osx/gpwd.md b/pages.pl/osx/gpwd.md new file mode 100644 index 00000000000000..63ac0201080f96 --- /dev/null +++ b/pages.pl/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> To polecenie jest aliasem GNU `pwd`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr pwd` diff --git a/pages.pl/osx/grcp.md b/pages.pl/osx/grcp.md new file mode 100644 index 00000000000000..17b6880dd4185c --- /dev/null +++ b/pages.pl/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> To polecenie jest aliasem GNU `rcp`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.pl/osx/greadlink.md b/pages.pl/osx/greadlink.md new file mode 100644 index 00000000000000..c84922daf0c581 --- /dev/null +++ b/pages.pl/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> To polecenie jest aliasem GNU `readlink`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr readlink` diff --git a/pages.pl/osx/grealpath.md b/pages.pl/osx/grealpath.md new file mode 100644 index 00000000000000..c0df7d8672be3a --- /dev/null +++ b/pages.pl/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> To polecenie jest aliasem GNU `realpath`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr realpath` diff --git a/pages.pl/osx/grexec.md b/pages.pl/osx/grexec.md new file mode 100644 index 00000000000000..be88d57fd8527c --- /dev/null +++ b/pages.pl/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> To polecenie jest aliasem GNU `rexec`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.pl/osx/grlogin.md b/pages.pl/osx/grlogin.md new file mode 100644 index 00000000000000..24db0d56cb1a32 --- /dev/null +++ b/pages.pl/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> To polecenie jest aliasem GNU `rlogin`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.pl/osx/grm.md b/pages.pl/osx/grm.md new file mode 100644 index 00000000000000..2e4a4918ccb604 --- /dev/null +++ b/pages.pl/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> To polecenie jest aliasem GNU `rm`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr rm` diff --git a/pages.pl/osx/grmdir.md b/pages.pl/osx/grmdir.md new file mode 100644 index 00000000000000..def709b3c6448c --- /dev/null +++ b/pages.pl/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> To polecenie jest aliasem GNU `rmdir`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr rmdir` diff --git a/pages.pl/osx/grsh.md b/pages.pl/osx/grsh.md new file mode 100644 index 00000000000000..319ab42f91d251 --- /dev/null +++ b/pages.pl/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> To polecenie jest aliasem GNU `rsh`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.pl/osx/gruncon.md b/pages.pl/osx/gruncon.md new file mode 100644 index 00000000000000..63c39b7c3581f1 --- /dev/null +++ b/pages.pl/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> To polecenie jest aliasem GNU `runcon`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.pl/osx/gsed.md b/pages.pl/osx/gsed.md new file mode 100644 index 00000000000000..3aa96bf51b258b --- /dev/null +++ b/pages.pl/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> To polecenie jest aliasem GNU `sed`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.pl/osx/gseq.md b/pages.pl/osx/gseq.md new file mode 100644 index 00000000000000..d083cad7e71c90 --- /dev/null +++ b/pages.pl/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> To polecenie jest aliasem GNU `seq`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr seq` diff --git a/pages.pl/osx/gsha1sum.md b/pages.pl/osx/gsha1sum.md new file mode 100644 index 00000000000000..000eac017e5b99 --- /dev/null +++ b/pages.pl/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> To polecenie jest aliasem GNU `sha1sum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sha1sum` diff --git a/pages.pl/osx/gsha224sum.md b/pages.pl/osx/gsha224sum.md new file mode 100644 index 00000000000000..600e10736ca86a --- /dev/null +++ b/pages.pl/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> To polecenie jest aliasem GNU `sha224sum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sha224sum` diff --git a/pages.pl/osx/gsha256sum.md b/pages.pl/osx/gsha256sum.md new file mode 100644 index 00000000000000..beedc637d75753 --- /dev/null +++ b/pages.pl/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> To polecenie jest aliasem GNU `sha256sum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sha256sum` diff --git a/pages.pl/osx/gsha384sum.md b/pages.pl/osx/gsha384sum.md new file mode 100644 index 00000000000000..7df97da5a91064 --- /dev/null +++ b/pages.pl/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> To polecenie jest aliasem GNU `sha384sum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sha384sum` diff --git a/pages.pl/osx/gsha512sum.md b/pages.pl/osx/gsha512sum.md new file mode 100644 index 00000000000000..ad0daaeaae8561 --- /dev/null +++ b/pages.pl/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> To polecenie jest aliasem GNU `sha512sum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sha512sum` diff --git a/pages.pl/osx/gshred.md b/pages.pl/osx/gshred.md new file mode 100644 index 00000000000000..5355548458a326 --- /dev/null +++ b/pages.pl/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> To polecenie jest aliasem GNU `shred`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr shred` diff --git a/pages.pl/osx/gshuf.md b/pages.pl/osx/gshuf.md new file mode 100644 index 00000000000000..c48157d93d5704 --- /dev/null +++ b/pages.pl/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> To polecenie jest aliasem GNU `shuf`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.pl/osx/gsleep.md b/pages.pl/osx/gsleep.md new file mode 100644 index 00000000000000..a0136d36b73182 --- /dev/null +++ b/pages.pl/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> To polecenie jest aliasem GNU `sleep`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.pl/osx/gsort.md b/pages.pl/osx/gsort.md new file mode 100644 index 00000000000000..985b86e0976f51 --- /dev/null +++ b/pages.pl/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> To polecenie jest aliasem GNU `sort`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sort` diff --git a/pages.pl/osx/gsplit.md b/pages.pl/osx/gsplit.md new file mode 100644 index 00000000000000..3b53b031b8aa84 --- /dev/null +++ b/pages.pl/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> To polecenie jest aliasem GNU `split`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.pl/osx/gstat.md b/pages.pl/osx/gstat.md new file mode 100644 index 00000000000000..85cdb2c6c22789 --- /dev/null +++ b/pages.pl/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> To polecenie jest aliasem GNU `stat`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.pl/osx/gstdbuf.md b/pages.pl/osx/gstdbuf.md new file mode 100644 index 00000000000000..2be31189a75527 --- /dev/null +++ b/pages.pl/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> To polecenie jest aliasem GNU `stdbuf`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr stdbuf` diff --git a/pages.pl/osx/gstty.md b/pages.pl/osx/gstty.md new file mode 100644 index 00000000000000..a3688b1006ecdd --- /dev/null +++ b/pages.pl/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> To polecenie jest aliasem GNU `stty`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr stty` diff --git a/pages.pl/osx/gsum.md b/pages.pl/osx/gsum.md new file mode 100644 index 00000000000000..b39f844794ebd7 --- /dev/null +++ b/pages.pl/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> To polecenie jest aliasem GNU `sum`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sum` diff --git a/pages.pl/osx/gsync.md b/pages.pl/osx/gsync.md new file mode 100644 index 00000000000000..ded62b51f504ed --- /dev/null +++ b/pages.pl/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> To polecenie jest aliasem GNU `sync`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sync` diff --git a/pages.pl/osx/gtac.md b/pages.pl/osx/gtac.md new file mode 100644 index 00000000000000..2e868e111bfc1c --- /dev/null +++ b/pages.pl/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> To polecenie jest aliasem GNU `tac`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr tac` diff --git a/pages.pl/osx/gtail.md b/pages.pl/osx/gtail.md new file mode 100644 index 00000000000000..7bbbee498f93c6 --- /dev/null +++ b/pages.pl/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> To polecenie jest aliasem GNU `tail`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.pl/osx/gtalk.md b/pages.pl/osx/gtalk.md new file mode 100644 index 00000000000000..07e39825140a83 --- /dev/null +++ b/pages.pl/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> To polecenie jest aliasem GNU `talk`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.pl/osx/gtar.md b/pages.pl/osx/gtar.md new file mode 100644 index 00000000000000..626f58876a4bf2 --- /dev/null +++ b/pages.pl/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> To polecenie jest aliasem GNU `tar`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr tar` diff --git a/pages.pl/osx/gtee.md b/pages.pl/osx/gtee.md new file mode 100644 index 00000000000000..62e0e0e63f2252 --- /dev/null +++ b/pages.pl/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> To polecenie jest aliasem GNU `tee`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr tee` diff --git a/pages.pl/osx/gtelnet.md b/pages.pl/osx/gtelnet.md new file mode 100644 index 00000000000000..a00d306355ca97 --- /dev/null +++ b/pages.pl/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> To polecenie jest aliasem GNU `telnet`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr telnet` diff --git a/pages.pl/osx/gtest.md b/pages.pl/osx/gtest.md new file mode 100644 index 00000000000000..a904003f203402 --- /dev/null +++ b/pages.pl/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> To polecenie jest aliasem GNU `test`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr test` diff --git a/pages.pl/osx/gtftp.md b/pages.pl/osx/gtftp.md new file mode 100644 index 00000000000000..3ae4d690fd46d1 --- /dev/null +++ b/pages.pl/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> To polecenie jest aliasem GNU `tftp`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.pl/osx/gtime.md b/pages.pl/osx/gtime.md new file mode 100644 index 00000000000000..c26d936a4dce5a --- /dev/null +++ b/pages.pl/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> To polecenie jest aliasem GNU `time`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr time` diff --git a/pages.pl/osx/gtimeout.md b/pages.pl/osx/gtimeout.md new file mode 100644 index 00000000000000..513fb8123c4907 --- /dev/null +++ b/pages.pl/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> To polecenie jest aliasem GNU `timeout`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr timeout` diff --git a/pages.pl/osx/gtouch.md b/pages.pl/osx/gtouch.md new file mode 100644 index 00000000000000..d635edf5186042 --- /dev/null +++ b/pages.pl/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> To polecenie jest aliasem GNU `touch`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr touch` diff --git a/pages.pl/osx/gtr.md b/pages.pl/osx/gtr.md new file mode 100644 index 00000000000000..4abd609d66e27e --- /dev/null +++ b/pages.pl/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> To polecenie jest aliasem GNU `tr`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr tr` diff --git a/pages.pl/osx/gtraceroute.md b/pages.pl/osx/gtraceroute.md new file mode 100644 index 00000000000000..a5b3b73f42c1d3 --- /dev/null +++ b/pages.pl/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> To polecenie jest aliasem GNU `traceroute`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr traceroute` diff --git a/pages.pl/osx/gtrue.md b/pages.pl/osx/gtrue.md new file mode 100644 index 00000000000000..b5e89c9c7596be --- /dev/null +++ b/pages.pl/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> To polecenie jest aliasem GNU `true`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr true` diff --git a/pages.pl/osx/gtruncate.md b/pages.pl/osx/gtruncate.md new file mode 100644 index 00000000000000..2057de0467f944 --- /dev/null +++ b/pages.pl/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> To polecenie jest aliasem GNU `truncate`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr truncate` diff --git a/pages.pl/osx/gtsort.md b/pages.pl/osx/gtsort.md new file mode 100644 index 00000000000000..266cfb0e2f806e --- /dev/null +++ b/pages.pl/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> To polecenie jest aliasem GNU `tsort`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr tsort` diff --git a/pages.pl/osx/gtty.md b/pages.pl/osx/gtty.md new file mode 100644 index 00000000000000..f03cfa22e644dd --- /dev/null +++ b/pages.pl/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> To polecenie jest aliasem GNU `tty`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr tty` diff --git a/pages.pl/osx/guname.md b/pages.pl/osx/guname.md new file mode 100644 index 00000000000000..9a987426adabac --- /dev/null +++ b/pages.pl/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> To polecenie jest aliasem GNU `uname`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.pl/osx/gunexpand.md b/pages.pl/osx/gunexpand.md new file mode 100644 index 00000000000000..86dba0bad4340f --- /dev/null +++ b/pages.pl/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> To polecenie jest aliasem GNU `unexpand`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr unexpand` diff --git a/pages.pl/osx/guniq.md b/pages.pl/osx/guniq.md new file mode 100644 index 00000000000000..21c5921531fd62 --- /dev/null +++ b/pages.pl/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> To polecenie jest aliasem GNU `uniq`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr uniq` diff --git a/pages.pl/osx/gunits.md b/pages.pl/osx/gunits.md new file mode 100644 index 00000000000000..00715d58d212c7 --- /dev/null +++ b/pages.pl/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> To polecenie jest aliasem GNU `units`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr units` diff --git a/pages.pl/osx/gunlink.md b/pages.pl/osx/gunlink.md new file mode 100644 index 00000000000000..f341f2a24f5d9b --- /dev/null +++ b/pages.pl/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> To polecenie jest aliasem GNU `unlink`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr unlink` diff --git a/pages.pl/osx/gupdatedb.md b/pages.pl/osx/gupdatedb.md new file mode 100644 index 00000000000000..e2b8ad2fbf4ed5 --- /dev/null +++ b/pages.pl/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> To polecenie jest aliasem GNU `updatedb`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.pl/osx/guptime.md b/pages.pl/osx/guptime.md new file mode 100644 index 00000000000000..b690301632fd03 --- /dev/null +++ b/pages.pl/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> To polecenie jest aliasem GNU `uptime`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.pl/osx/gusers.md b/pages.pl/osx/gusers.md new file mode 100644 index 00000000000000..a332828aada19f --- /dev/null +++ b/pages.pl/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> To polecenie jest aliasem GNU `users`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr users` diff --git a/pages.pl/osx/gvdir.md b/pages.pl/osx/gvdir.md new file mode 100644 index 00000000000000..d3b729b6785bdd --- /dev/null +++ b/pages.pl/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> To polecenie jest aliasem GNU `vdir`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr vdir` diff --git a/pages.pl/osx/gwc.md b/pages.pl/osx/gwc.md new file mode 100644 index 00000000000000..a116a4d4d04b62 --- /dev/null +++ b/pages.pl/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> To polecenie jest aliasem GNU `wc`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.pl/osx/gwhich.md b/pages.pl/osx/gwhich.md new file mode 100644 index 00000000000000..fd7290157341a1 --- /dev/null +++ b/pages.pl/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> To polecenie jest aliasem GNU `which`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr which` diff --git a/pages.pl/osx/gwho.md b/pages.pl/osx/gwho.md new file mode 100644 index 00000000000000..1b62e9de6b0efe --- /dev/null +++ b/pages.pl/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> To polecenie jest aliasem GNU `who`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr who` diff --git a/pages.pl/osx/gwhoami.md b/pages.pl/osx/gwhoami.md new file mode 100644 index 00000000000000..c8cc0a292b2f01 --- /dev/null +++ b/pages.pl/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> To polecenie jest aliasem GNU `whoami`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr whoami` diff --git a/pages.pl/osx/gwhois.md b/pages.pl/osx/gwhois.md new file mode 100644 index 00000000000000..063e992b99f987 --- /dev/null +++ b/pages.pl/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> To polecenie jest aliasem GNU `whois`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr whois` diff --git a/pages.pl/osx/gxargs.md b/pages.pl/osx/gxargs.md new file mode 100644 index 00000000000000..606dff1d352420 --- /dev/null +++ b/pages.pl/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> To polecenie jest aliasem GNU `xargs`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr xargs` diff --git a/pages.pl/osx/gyes.md b/pages.pl/osx/gyes.md new file mode 100644 index 00000000000000..c622be1e41e074 --- /dev/null +++ b/pages.pl/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> To polecenie jest aliasem GNU `yes`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr yes` diff --git a/pages.pl/osx/llvm-lipo.md b/pages.pl/osx/llvm-lipo.md new file mode 100644 index 00000000000000..30523eb5d140f6 --- /dev/null +++ b/pages.pl/osx/llvm-lipo.md @@ -0,0 +1,7 @@ +# llvm-lipo + +> To polecenie jest aliasem `lipo`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr lipo` diff --git a/pages.pl/osx/say.md b/pages.pl/osx/say.md new file mode 100644 index 00000000000000..37dfd39439484e --- /dev/null +++ b/pages.pl/osx/say.md @@ -0,0 +1,28 @@ +# say + +> Czyta na głos. +> Więcej informacji: . + +- Powiedz na głos: + +`say "{{Lubię jeździć na rowerze.}}"` + +- Przeczytaj z pliku: + +`say --input-file {{ścieżka/do/pliku.txt}}` + +- Przeczytaj używając konkretnego głosu i prędkości mowy: + +`say --voice {{głos}} --rate {{słowa_na_minutę}} "{{Przepraszam Dave, ale nie mogę Ci na to pozwolić.}}"` + +- Pokaż listę dostępnych głosów, różne głosy obsługują różne języki: + +`say --voice "?"` + +- Powiedz coś po angielsku: + +`say --voice {{Alex}} "{{Here's to the Crazy Ones.}}"` + +- Stwórz plik audio z tekstu: + +`say --output-file {{ścieżka/do/pliku.aiff}} "{{Litwo, ojczyzno moja!}}"` diff --git a/pages.pl/osx/security.md b/pages.pl/osx/security.md new file mode 100644 index 00000000000000..832c3783ac2009 --- /dev/null +++ b/pages.pl/osx/security.md @@ -0,0 +1,32 @@ +# security + +> Administruj pękami kluczy, kluczami, certyfikatami oraz framework'iem Security. +> Więcej informacji: . + +- Wypisz wszystkie dostępne pęki kluczy: + +`security list-keychains` + +- Usuń zadany pęk kluczy: + +`security delete-keychain {{ścieżka/do/pliku.keychain}}` + +- Utwórz pęk kluczy: + +`security create-keychain -p {{hasło}} {{ścieżka/do/pliku.keychain}}` + +- Ustaw certyfikat który ma być używany przy stronie internetowej lub [s]erwisie używając nazwy własnej (ta komenda nie powiedzie się gdy więcej niż jeden certyfikat ma taką samą nazwę własną): + +`security set-identity-preference -s {{URL|hostname|serwis}} -c "{{nazwa_własna}}" {{ścieżka/do/pliku.keychain}}` + +- Dodaj certyfikat z pliku do pęku [k]luczy (Jeżeli parametr -k nie został podany, domyślny pęk kluczy zostanie wykorzystany): + +`security add-certificates -k {{plik.keychain}} {{ścieżka/do/certyfikatu.keychain.pem}}` + +- Dodaj certyfikat CA do ustawień zaufania dla każdego użytkownika: + +`security add-trusted-cert -k {{ścieżka/do/pęku_kluczy_użytkownika.keychain-db}} {{ścieżka/do/certyfikatu_ca.pem}}` + +- Usuń certyfikat CA z ustawień zaufania dla każdego użytkownika: + +`security remove-trusted-cert {{ściieżka/do/certyfikatu_ca.pem}}` diff --git a/pages.pl/osx/uuidgen.md b/pages.pl/osx/uuidgen.md new file mode 100644 index 00000000000000..fa88e478ae2e8c --- /dev/null +++ b/pages.pl/osx/uuidgen.md @@ -0,0 +1,8 @@ +# uuidgen + +> Wygeneruj nowy UUID (Universally Unique IDentifier). +> Więcej informacji: . + +- Wygneruj ciąg znaków UUID: + +`uuidgen` diff --git a/pages.pl/osx/w.md b/pages.pl/osx/w.md new file mode 100644 index 00000000000000..f15a65a002d39d --- /dev/null +++ b/pages.pl/osx/w.md @@ -0,0 +1,17 @@ +# w + +> Pokazuje kto jest zalogowany i co aktualnie robi. +> Wyświetla login, TTY, zdalny host, czas zalogowania, czas bezczynności i aktualny proces. +> Więcej informacji: . + +- Pokazuje informacje o aktualnie zalogowanych użytkownikach: + +`w` + +- Pokazuje aktualnie zalogowanych użytkowników bez nagłówka: + +`w -h` + +- Pokazuje aktualnie zalogowanych użytkowników posortowanych po czasie bezczynności: + +`w -i` diff --git a/pages.pl/osx/wc.md b/pages.pl/osx/wc.md new file mode 100644 index 00000000000000..ffe76228f4f2dd --- /dev/null +++ b/pages.pl/osx/wc.md @@ -0,0 +1,24 @@ +# wc + +> Zlicza linie, słowa, i bajty. +> Więcej informacji: . + +- Policz linie w pliku: + +`wc -l {{ścieżka/do/pliku}}` + +- Policz słowa w pliku: + +`wc -w {{ścieżka/do/pliku}}` + +- Policz znaki (bajty) w pliku: + +`wc -c {{ścieżka/do/pliku}}` + +- Policz znaki w pliku (uwzględniając znaki zapisane więcej niż jednym bajtem): + +`wc -m {{ścieżka/do/pliku}}` + +- Użyj standardowego wejścia aby policzyć po kolei linie, słowa, i znaki (bajty): + +`{{find .}} | wc` diff --git a/pages.pl/osx/xsand.md b/pages.pl/osx/xsand.md new file mode 100644 index 00000000000000..b2475313ca2fb2 --- /dev/null +++ b/pages.pl/osx/xsand.md @@ -0,0 +1,9 @@ +# xsand + +> Demon zarządzający systemem plików Xsan. Zapewnia usługi dla systemu plików Xsan. +> Nie powinien być wywoływany ręcznie. +> Więcej informacji: . + +- Uruchom demona: + +`xsand` diff --git a/pages.pl/osx/xsltproc.md b/pages.pl/osx/xsltproc.md new file mode 100644 index 00000000000000..1c2dcb09859a6d --- /dev/null +++ b/pages.pl/osx/xsltproc.md @@ -0,0 +1,12 @@ +# xsltproc + +> Przekształć XML z XSLT w celu uzyskania wyjścia (zwykle HTML lub XML). +> Więcej informacji: . + +- Przekształć plik XML za pomocą określonego arkusza stylów XSLT: + +`xsltproc --output {{ścieżka/do/pliku_wyjścia.html}} {{ścieżka/do/arkusza_stylów.xslt}} {{ścieżka/do/pliku.xml}}` + +- Przekaż wartość do parametru w arkuszu stylów: + +`xsltproc --output {{ścieżka/do/pliku_wyjścia.html}} --stringparam "{{nazwa}}" "{{wartość}}" {{ścieżka/do/arkusza_stylów.xslt}} {{ścieżka/do/pliku.xml}}` diff --git a/pages.pl/osx/yaa.md b/pages.pl/osx/yaa.md new file mode 100644 index 00000000000000..5116791dc97071 --- /dev/null +++ b/pages.pl/osx/yaa.md @@ -0,0 +1,28 @@ +# yaa + +> Twórz i manipuluj archiwami YAA. +> Więcej informacji: . + +- Utwórz archiwum z katalogu: + +`yaa archive -d {{ścieżka/do/katalogu}} -o {{ścieżka/do/pliku_wyjścia.yaa}}` + +- Utwórz archiwum z pliku: + +`yaa archive -i {{ścieżka/do/pliku}} -o {{ścieżka/do/pliku_wyjścia.yaa}}` + +- Wypakuj archiwum do obecnego folderu: + +`yaa extract -i {{ścieżka/do/pliku_archiwum.yaa}}` + +- Wyświetl zawartość archiwum: + +`yaa list -i {{ścieżka/do/pliku_archiwum.yaa}}` + +- Utwórz archiwum z określonym algorytmem kompresji: + +`yaa archive -a {{algorytm}} -d {{ścieżka/do/folderu}} -o {{ścieżka/do/pliku_wyjścia.yaa}}` + +- Utwórz archiwum o rozmiarze bloku 8 MB: + +`yaa archive -b 8m -d {{ścieżka/do/folderu}} -o {{ścieżka/do/pliku_wyjścia.yaa}}` diff --git a/pages.pl/osx/yabai.md b/pages.pl/osx/yabai.md new file mode 100644 index 00000000000000..11de6ca0b965ef --- /dev/null +++ b/pages.pl/osx/yabai.md @@ -0,0 +1,24 @@ +# yabai + +> Kafelkowy menedżer okien dla macOS oparty na partycjonowaniu przestrzeni binarnej. +> Więcej informacji: . + +- Wyślij wiado[m]ość konfiguracyjną w celu ustawienia układu: + +`yabai -m config layout {{bsp|stack|float}}` + +- Ustaw odstęp między oknami w pt: + +`yabai -m config window_gap {{10}}` + +- Włącz nieprzezroczystość: + +`yabai -m config window_opacity on` + +- Wyłącz cienie okien: + +`yabai -m config window_shadow off` + +- Włącz pasek stanu: + +`yabai -m config status_bar on` diff --git a/pages.pl/sunos/devfsadm.md b/pages.pl/sunos/devfsadm.md new file mode 100644 index 00000000000000..4eb9961ac0672a --- /dev/null +++ b/pages.pl/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> Komenda administracyjna dla `/dev`. Zarządza przestrzenią nazw `/dev`. +> Więcej informacji: . + +- Skanuj w poszukiwaniu nowych dysków: + +`devfsadm -c disk` + +- Wyczyść wszystkie wiszące linki /dev i skanuj w poszukiwaniu nowego urządzenia: + +`devfsadm -C -v` + +- Próbne uruchomienie - wypisz to, co zostanie zmienione, ale bez wprowadzania modyfikacji: + +`devfsadm -C -v -n` diff --git a/pages.pl/sunos/dmesg.md b/pages.pl/sunos/dmesg.md new file mode 100644 index 00000000000000..7e54d88a3bab73 --- /dev/null +++ b/pages.pl/sunos/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> Wypisz komunikaty jądra do `stdout`. +> Więcej informacji: . + +- Wyświetl komunikaty jądra: + +`dmesg` + +- Pokaż ilość pamięci fizycznej dostępnej w systemie: + +`dmesg | grep -i memory` + +- Wyświetl komunikaty jądra po 1 stronie naraz: + +`dmesg | less` diff --git a/pages.pl/sunos/prctl.md b/pages.pl/sunos/prctl.md new file mode 100644 index 00000000000000..1045865b626aeb --- /dev/null +++ b/pages.pl/sunos/prctl.md @@ -0,0 +1,16 @@ +# prctl + +> Pobieraj lub ustawiaj kontrolę zasobów uruchomionych procesów, zadań i projektów. +> Więcej informacji: . + +- Sprawdź limity procesów i uprawnienia: + +`prctl {{pid}}` + +- Sprawdź limity procesów i uprawnienia w formacie przetwarzalnym przez maszynę: + +`prctl -P {{pid}}` + +- Uzyskaj określony limit dla uruchomionego procesu: + +`prctl -n process.max-file-descriptor {{pid}}` diff --git a/pages.pl/sunos/prstat.md b/pages.pl/sunos/prstat.md new file mode 100644 index 00000000000000..d427af588584c3 --- /dev/null +++ b/pages.pl/sunos/prstat.md @@ -0,0 +1,24 @@ +# prstat + +> Raportuj statystyki aktywnego procesu. +> Więcej informacji: . + +- Sprawdź wszystkie procesy i raportuj statystyki posortowane według użycia procesora: + +`prstat` + +- Sprawdź wszystkie procesy i raportuj statystyki posortowane według użycia pamięci: + +`prstat -s rss` + +- Raportuj podsumowanie całkowitego użycia dla każdego użytkownika: + +`prstat -t` + +- Raportuj informacje o pomiarach procesu mikrostanu: + +`prstat -m` + +- Wypisz 5 najbardziej obciążających procesor procesów co sekundę: + +`prstat -c -n 5 -s cpu 1` diff --git a/pages.pl/sunos/snoop.md b/pages.pl/sunos/snoop.md new file mode 100644 index 00000000000000..278fc9546fe6c3 --- /dev/null +++ b/pages.pl/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> Sniffer pakietów sieciowych. +> Odpowiednik tcpdump w systemie SunOS. +> Więcej informacji: . + +- Przechwyć pakiety na określonym interfejsie sieciowym: + +`snoop -d {{e1000g0}}` + +- Zapisz przechwycone pakiety w pliku zamiast ich wyświetlania: + +`snoop -o {{ścieżka/do/pliku}}` + +- Wyświetl szczegółowe podsumowanie warstwy protokołu pakietów z pliku: + +`snoop -V -i {{ścieżka/do/pliku}}` + +- Przechwyć pakiety sieciowe, które pochodzą z nazwy hosta i trafiają na dany port: + +`snoop to port {{port}} from host {{nazwa_hosta}}` + +- Przechwyć i wyświetl zrzut heksadecymalny pakietów sieciowych wymienianych między dwoma adresami IP: + +`snoop -x0 -p4 {{ip1}} {{ip2}}` diff --git a/pages.pl/sunos/svcadm.md b/pages.pl/sunos/svcadm.md new file mode 100644 index 00000000000000..9ef6bd2aba1916 --- /dev/null +++ b/pages.pl/sunos/svcadm.md @@ -0,0 +1,24 @@ +# svcadm + +> Manipuluj instancjami usług. +> Więcej informacji: . + +- Włącz usługę w bazie danych usług: + +`svcadm enable {{nazwa_usługi}}` + +- Wyłącz usługę: + +`svcadm disable {{nazwa_usługi}}` + +- Ponownie uruchom aktywną usługę: + +`svcadm restart {{nazwa_usługi}}` + +- Ponownie odczytaj pliki konfiguracyjne: + +`svcadm refresh {{nazwa_usługi}}` + +- Usuń usługę ze stanu konserwacji i ją uruchom: + +`svcadm clear {{nazwa_usługi}}` diff --git a/pages.pl/sunos/svccfg.md b/pages.pl/sunos/svccfg.md new file mode 100644 index 00000000000000..070e6c5a613c60 --- /dev/null +++ b/pages.pl/sunos/svccfg.md @@ -0,0 +1,16 @@ +# svccfg + +> Importuj, eksportuj i modyfikuj konfigurację usług. +> Więcej informacji: . + +- Sprawdź poprawność pliku konfiguracyjnego: + +`svccfg validate {{ścieżka/do/pliku_smf.xml}}` + +- Eksportuj konfigurację usług do pliku: + +`svccfg export {{nazwa_usługi}} > {{ścieżka/do/pliku_smf.xml}}` + +- Importuj/aktualizuj konfigurację usług z pliku: + +`svccfg import {{ścieżka/do/pliku_smf.xml}}` diff --git a/pages.pl/sunos/svcs.md b/pages.pl/sunos/svcs.md new file mode 100644 index 00000000000000..72f01eb37b8db0 --- /dev/null +++ b/pages.pl/sunos/svcs.md @@ -0,0 +1,24 @@ +# svcs + +> Wyświetl informację o uruchomionych usługach. +> Więcej informacji: . + +- Wypisz wszystkie uruchomione usługi: + +`svcs` + +- Wypisz wszystkie usługi, które nie są uruchomione: + +`svcs -vx` + +- Wypisz informacje o usłudze: + +`svcs apache` + +- Pokaż lokalizację pliku dziennika usługi: + +`svcs -L apache` + +- Wyświetl koniec pliku dziennika usługi: + +`tail $(svcs -L apache)` diff --git a/pages.pl/sunos/truss.md b/pages.pl/sunos/truss.md new file mode 100644 index 00000000000000..c0f2e5758a72ca --- /dev/null +++ b/pages.pl/sunos/truss.md @@ -0,0 +1,25 @@ +# truss + +> Narzędzie do rozwiązywania problemów poprzez śledzenie wywołań systemowych. +> Odpowiednik strace w SunOS. +> Więcej informacji: . + +- Rozpocznij śledzenie programu, wykonując go i śledząc wszystkie procesy potomne: + +`truss -f {{program}}` + +- Rozpocznij śledzenie określonego procesu według jego PID: + +`truss -p {{pid}}` + +- Rozpocznij śledzenie programu, wykonując go, pokazując argumenty i zmienne środowiskowe: + +`truss -a -e {{program}}` + +- Zlicz czas, wywołania i błędy dla każdego wywołania systemowego i raportuj podsumowanie po zakończeniu programu: + +`truss -c -p {{pid}}` + +- Śledź proces filtrując dane wyjściowe według wywołania systemowego: + +`truss -p {{pid}} -t {{nazwa_wywołania_systemowego}}` diff --git a/pages.pl/windows/bleachbit.md b/pages.pl/windows/bleachbit.md new file mode 100644 index 00000000000000..0debc4d6e4789e --- /dev/null +++ b/pages.pl/windows/bleachbit.md @@ -0,0 +1,7 @@ +# bleachbit + +> To polecenie jest aliasem `bleachbit_console`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr bleachbit_console` diff --git a/pages.pl/windows/choco-apikey.md b/pages.pl/windows/choco-apikey.md new file mode 100644 index 00000000000000..1fcfcb698416d9 --- /dev/null +++ b/pages.pl/windows/choco-apikey.md @@ -0,0 +1,20 @@ +# choco apikey + +> Zarządzanie kluczami API dla żródeł Chocolatey. +> Więcej informacji: . + +- Wyświetlanie listy żródeł wraz z kluczami API: + +`choco apikey` + +- Wyświetlanie konkrentego źródła wraz z kluczem API: + +`choco apikey --source "{{adres_url}}"` + +- Ustawienie klucza API dla podanego źródła: + +`choco apikey --source "{{adres_url}}" --key "{{klucz_api}}"` + +- Usuwanie klucza API dla podanego źródła: + +`choco apikey --source "{{adres_url}}" --remove` diff --git a/pages.pl/windows/choco-feature.md b/pages.pl/windows/choco-feature.md new file mode 100644 index 00000000000000..1ae88f29ec6bb3 --- /dev/null +++ b/pages.pl/windows/choco-feature.md @@ -0,0 +1,16 @@ +# choco feature + +> Zarządzanie dostępnymi funkcjani Chocolatey. +> Więcej informacji: . + +- Wyświetlanie listy dostępnych funkcji: + +`choco feature list` + +- Włączenie podanej funkcji: + +`choco feature enable --name {{nazwa_funkcji}}` + +- Wyłączenie podanej funkcji: + +`choco feature disable --name {{nazwa_funkcji}}` diff --git a/pages.pl/windows/choco-info.md b/pages.pl/windows/choco-info.md new file mode 100644 index 00000000000000..9988a83326fa7f --- /dev/null +++ b/pages.pl/windows/choco-info.md @@ -0,0 +1,20 @@ +# choco info + +> Wyświetlanie szczegółowych informacji o pakiecie Chocolatey. +> Więcej informacji: . + +- Wyświetlanie informacji dotyczących podanego pakietu: + +`choco info {{pakiet}}` + +- Wyświetlanie informacji dotyczących podanego pakietu zainstalowanego lokalnie: + +`choco info {{pakiet}} --local-only` + +- Ustawienie określonego źródła/repozytorium pakietów z którego pobrane zostaną informacje: + +`choco info {{pakiet}} --source {{adres_url|alias}}` + +- Podanie nazwy użytkownika i hasła do uwierzytelnienia: + +`choco info {{pakiet}} --user {{nazwa_użytkownika}} --password {{hasło}}` diff --git a/pages.pl/windows/choco-install.md b/pages.pl/windows/choco-install.md new file mode 100644 index 00000000000000..870aa1b160f33b --- /dev/null +++ b/pages.pl/windows/choco-install.md @@ -0,0 +1,36 @@ +# choco install + +> Instalacja jednej lub więcej paczek zarządzanych przez Chocolatey. +> Więcej informacji: . + +- Instalacja jednego lub więcej pakietów (oddzielonych spacją): + +`choco install {{nazwa_pakietu(pakietów)}}` + +- Instakacja pakietów z użyciem podanego pliku konfiguracyjnego: + +`choco install {{ścieżka/do/plik_konfiguracyjny.config}}` + +- Instalacja podanej specyfikacji nuspec lub pliku nupkg: + +`choco install {{ścieżka/do/pliku}}` + +- Instalacja konkretnej podanej wersji pakietu: + +`choco install {{pakiet}} --version {{wersja}}` + +- Zezwól na instalacjie wielu wersji danego pakietu: + +`choco install {{pakiet}} --allow-multiple` + +- Automatyczna akceptacja wszystkich monitów podczas instalacji: + +`choco install {{pakiet}} --yes` + +- Ustawienie określonego źródła/repozytorium pakietów: + +`choco install {{pakiet}} --source {{adres_url|alias}}` + +- Podanie nazwy użytkownika i hasła do uwierzytelnienia: + +`choco install {{pakiet}} --user {{nazwa_użytkownika}} --password {{hasło}}` diff --git a/pages.pl/windows/choco-list.md b/pages.pl/windows/choco-list.md new file mode 100644 index 00000000000000..667e408ea0d5d0 --- /dev/null +++ b/pages.pl/windows/choco-list.md @@ -0,0 +1,28 @@ +# choco list + +> Wyświetlanie listy pakietów Chocolatey. +> Więcej informacji: . + +- Wyświetlanie wszystkich dostępnych pakietów: + +`choco list` + +- Wyświetlanie wszystkich lokalnie zainstalowanych pakietów: + +`choco list --local-only` + +- Wyświetlanie listy pakietów zawierającej lokalnie zainstalowane programy: + +`choco list --include-programs` + +- Wyświetlanie listy wyłącznie zatwierdzonych pakietów: + +`choco list --approved-only` + +- Wyświetlanie listy pakietów dpstępnych w podanym źródle/repozytorium: + +`choco list --source {{adres_url|alias}}` + +- PPodanie nazwy użytkownika i hasła do uwierzytelnienia: + +`choco list --user {{nazwa_użytkownika}} --password {{hasło}}` diff --git a/pages.pl/windows/choco-new.md b/pages.pl/windows/choco-new.md new file mode 100644 index 00000000000000..a13d774b0c4cee --- /dev/null +++ b/pages.pl/windows/choco-new.md @@ -0,0 +1,24 @@ +# choco new + +> Generowanie nowych specyfikacji pakietów Chocolatey. +> Więcej informacji: . + +- Utwórz nowy szkielet pakietu: + +`choco new {{nazwa_pakietu}}` + +- Utwórz nowy pakiet podając konkretną wersję: + +`choco new {{nazwa_pakietu}} --version {{wersja}}` + +- Utwórz nowy pakiet podając podając nazwę opiekuna: + +`choco new {{nazwa_pakietu}} --maintainer {{nazwa_opiekuna}}` + +- Utwórz nowy pakiet w podanym katalogu wyjściowym: + +`choco new {{nazwa_pakietu}} --output-directory {{ścieżka/do/katalogu/wyjściowego}}` + +- Utwórz nowy pakiet podając specyficzne adresy URL instalatoró dla wersji 32-bit i 64-bit: + +`choco new {{nazwa_pakietu}} url="{{adres_url}}" url64="{{adres_url}}"` diff --git a/pages.pl/windows/choco-outdated.md b/pages.pl/windows/choco-outdated.md new file mode 100644 index 00000000000000..10ca5d85f18595 --- /dev/null +++ b/pages.pl/windows/choco-outdated.md @@ -0,0 +1,20 @@ +# choco outdated + +> Sprawdzenie nieaktualnych pakietów zarządzanych przez Chocolatey. +> Więcej informacji: . + +- Wyświetlanie listy nieaktualnych pakietów w formie tabeli: + +`choco outdated` + +- Pominięcie/ignorowanie obecnie przypiętych pakietów: + +`choco outdated --ignore-pinned` + +- Ustawienie określonego źródła do sprawdzenia aktualności pakietów: + +`choco outdated --source {{adres_url|alias}}` + +- Podanie nazwy użytkownika i hasła do uwierzytelnienia: + +`choco outdated --user {{nazwa_użytkownika}} --password {{hasło}}` diff --git a/pages.pl/windows/choco-pack.md b/pages.pl/windows/choco-pack.md new file mode 100644 index 00000000000000..6f37514c07c045 --- /dev/null +++ b/pages.pl/windows/choco-pack.md @@ -0,0 +1,16 @@ +# choco pack + +> Pakowanie specyfikacji NuGet do pliku nupkg. +> Więcej informacji: . + +- Spakuj specyfikację NuGet do pliku nupkg: + +`choco pack {{ścieża/do/specyfikacji}}` + +- Spakuj specyfikację NuGet podajęc wersję pliku wyjściowego: + +`choco pack {{ścieża/do/specyfikacji}} --version {{wersja}}` + +- Spakuj specyfikację NuGet do konkretnego katalogu wyjściowego: + +`choco pack {{ścieża/do/specyfikacji}} --output-directory {{ścieżka/do/katalogu/wyjściowego}}` diff --git a/pages.pl/windows/choco-pin.md b/pages.pl/windows/choco-pin.md new file mode 100644 index 00000000000000..f543b1f1dcda85 --- /dev/null +++ b/pages.pl/windows/choco-pin.md @@ -0,0 +1,21 @@ +# choco pin + +> Przypięcie obecnej bądź podanej wersji dla danego pakietu zarządzanego przez Chocolatey. +> Przypięte pakiety są automatycznie pomijane podczas aktualizacji pakietów. +> Więcej informacji: . + +- Wyświetlanie listy obecnie przypiętych pakietów wraz z wersjami: + +`choco pin list` + +- Przypnij pakiet w jego obecnej wersji: + +`choco pin add --name {{pakiet}}` + +- Przypnij pakiet w podanej wersji: + +`choco pin add --name {{pakiet}} --version {{wersja}}` + +- Odepnij dany pakiet: + +`choco pin remove --name {{pakiet}}` diff --git a/pages.pl/windows/choco-search.md b/pages.pl/windows/choco-search.md new file mode 100644 index 00000000000000..91e9606b936405 --- /dev/null +++ b/pages.pl/windows/choco-search.md @@ -0,0 +1,28 @@ +# choco search + +> Wyszukiwanie pakietów Chocolatey dostępnych lokalnie lub w zdalnych źródłach/repozytoriach. +> Więcej informacji: . + +- Wyszkukiwanie pakietów: + +`choco search {{kwerenda}}` + +- Wyszkukiwanie lokalnych pakietów: + +`choco search {{kwerenda}} --local-only` + +- Wyświetlanie wyłącznie dokładnych dopasowań do podanej kwerendy/szukanej frazy: + +`choco search {{kwerenda}} --exact` + +- Automatyczna akceptacja wszystkich monitów (--yes): + +`choco search {{kwerenda}} --yes` + +- Ustawienie określonego źródła do wyszukiwania pakietów: + +`choco search {{kwerenda}} --source {{adres_url|alias}}` + +- Podanie nazwy użytkownika i hasła do uwierzytelnienia: + +`choco search {{kwerenda}} --user {{nazwa_użytkownika}} --password {{hasło}}` diff --git a/pages.pl/windows/choco-source.md b/pages.pl/windows/choco-source.md new file mode 100644 index 00000000000000..41cfa1abecdcf1 --- /dev/null +++ b/pages.pl/windows/choco-source.md @@ -0,0 +1,32 @@ +# choco source + +> Zarządzaj źródłami/repozytoriami pakietów Chocolatey. +> Więcej informacji: . + +- Wyświetl aktualnie dostępne źródła: + +`choco source list` + +- Dodaj nowe źródło: + +`choco source add --name {{nazwa}} --source {{adres_url}}` + +- Dodaj nowe źródło z użyciem poświadczeń: + +`choco source add --name {{nazwa}} --source {{adres_url}} --user {{nazwa_użytkownika}} --password {{hasło}}` + +- Dodaj nowe źródło z użyciem certyfikatu: + +`choco source add --name {{nazwa}} --source {{adres_url}} --cert {{ścieżka/do/certyfikatu}}` + +- Włącz dane źródło/repozytorium pakietów: + +`choco source enable --name {{nazwa}}` + +- Wyłącz dane źródło/repozytorium pakietów: + +`choco source disable --name {{nazwa}}` + +- Usuń dane źródło/repozytorium: + +`choco source remove --name {{nazwa}}` diff --git a/pages.pl/windows/choco-uninstall.md b/pages.pl/windows/choco-uninstall.md new file mode 100644 index 00000000000000..c645b9c81e02d4 --- /dev/null +++ b/pages.pl/windows/choco-uninstall.md @@ -0,0 +1,24 @@ +# choco uninstall + +> Odinstalowanie jednego lub więcej pakietów zarządzanych przez Chocolatey. +> Więcej informacji: . + +- Odinstalowanie jednego lub więcej pakietów (oddzielonych spacją): + +`choco uninstall {{pakiet(pakietów)}}` + +- Odinstalowanie konkretnej wersji pakietu: + +`choco uninstall {{pakiet}} --version {{wersja}}` + +- Automatyczna akceptacja wszystkich monitów podczas deinstalacji pakietu: + +`choco uninstall {{pakiet}} --yes` + +- Odinstalowanie wszystkich zależności podczas procesu deinstalacji danego pakietu/pakietów: + +`choco uninstall {{pakiet}} --remove-dependencies` + +- Odinstalowanie wszystkich pakietów: + +`choco uninstall all` diff --git a/pages.pl/windows/choco-upgrade.md b/pages.pl/windows/choco-upgrade.md new file mode 100644 index 00000000000000..41fc42a18a685a --- /dev/null +++ b/pages.pl/windows/choco-upgrade.md @@ -0,0 +1,32 @@ +# choco upgrade + +> Zaktualizuj jeden lub więcej pakietów Chocolatey. +> Więcej informacji: . + +- Zaktualizuj jeden lub więcej pakietów (oddzielonych spacją): + +`choco upgrade {{pakiet1 pakiet2 ...}}` + +- Zaktualizuj pakiet do konkretnej wersji: + +`choco upgrade {{pakiet}} --version {{wersja}}` + +- Zaktualizuj wszystkie pakiety: + +`choco upgrade all` + +- Zaktualizuj wszystkie pakiety z wyjątkiem tych podanych, rozdzielanych przecinkami: + +`choco upgrade all --except "{{pakiet1 pakiet2 ...}}"` + +- Automatycznie akceptuj wszystkie monity podczas aktualizacji pakietu: + +`choco upgrade {{pakiet}} --yes` + +- Ustaw określone źródło/repozytorium pakietów: + +`choco upgrade {{pakiet}} --source {{adres_url|alias}}` + +- Podaj nazwę użytkownika i hasło do uwierzytelnienia: + +`choco upgrade {{pakiet}} --user {{nazwa_użytkownika}} --password {{hasło}}` diff --git a/pages.pl/windows/choco.md b/pages.pl/windows/choco.md new file mode 100644 index 00000000000000..d4e774183afb7f --- /dev/null +++ b/pages.pl/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> Menedżer pakietów Chocolatey. +> Niektóre podkomendy takie jak `install` posiadają osobną dokumentację. +> Więcej informacji: . + +- Uruchom podkomendę Chocolatey: + +`choco {{komenda}}` + +- Wyświetl pomoc: + +`choco {{[-h|--help]}}` + +- Wyświetl pomoc dla podanej podkomendy: + +`choco {{komenda}} {{[-h|--help]}}` + +- Wyświetl wersję: + +`choco --version` diff --git a/pages.pl/windows/chrome.md b/pages.pl/windows/chrome.md new file mode 100644 index 00000000000000..a9f93ceef9e627 --- /dev/null +++ b/pages.pl/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> To polecenie jest aliasem `chromium`. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr chromium` diff --git a/pages.pl/windows/cinst.md b/pages.pl/windows/cinst.md new file mode 100644 index 00000000000000..c5b53412df41e9 --- /dev/null +++ b/pages.pl/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> To polecenie jest aliasem `choco install`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr choco install` diff --git a/pages.pl/windows/clist.md b/pages.pl/windows/clist.md new file mode 100644 index 00000000000000..510e9b7466b281 --- /dev/null +++ b/pages.pl/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> To polecenie jest aliasem `choco list`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr choco list` diff --git a/pages.pl/windows/cpush.md b/pages.pl/windows/cpush.md new file mode 100644 index 00000000000000..5f3b718e66e0d5 --- /dev/null +++ b/pages.pl/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> To polecenie jest aliasem `choco push`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr choco push` diff --git a/pages.pl/windows/cuninst.md b/pages.pl/windows/cuninst.md new file mode 100644 index 00000000000000..e33db6cb549435 --- /dev/null +++ b/pages.pl/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> To polecenie jest aliasem `choco uninstall`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr choco uninstall` diff --git a/pages.pl/windows/curl.md b/pages.pl/windows/curl.md new file mode 100644 index 00000000000000..cb11d3994e3a78 --- /dev/null +++ b/pages.pl/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> W PowerShell to polecenie może być aliasem `Invoke-WebRequest`, gdy oryginalny program `curl` () nie jest poprawnie zainstalowany. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia `curl`: + +`tldr curl -p common` + +- Zobacz dokumentację polecenia PowerShell `Invoke-WebRequest`: + +`tldr invoke-webrequest` + +- Zweryfikuj, czy `curl` jest poprawnie zainstalowany poprzez sprawdzenie jego wersji. Jeśli to polecenie zwraca błąd, PowerShell mógł je zastąpić poleceniem `Invoke-WebRequest`: + +`curl --version` diff --git a/pages.pl/windows/iwr.md b/pages.pl/windows/iwr.md new file mode 100644 index 00000000000000..1ad9cfd7b82ec8 --- /dev/null +++ b/pages.pl/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> To polecenie jest aliasem `invoke-webrequest`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr invoke-webrequest` diff --git a/pages.pl/windows/msg.md b/pages.pl/windows/msg.md new file mode 100644 index 00000000000000..3e4c975f777b59 --- /dev/null +++ b/pages.pl/windows/msg.md @@ -0,0 +1,24 @@ +# msg + +> Wyślij wiadomość do wybranego użytnownika lub sesji. +> Więcej informacji: . + +- Wysyła wiadomość do użytkownika lub sesji: + +`msg {{nazwa_użytkownika|nazwa_sesji|identyfikator_sesji}} {{wiadomość}}` + +- Wyślij wiadomość ze standardowego wejścia: + +`echo "{{wiadomość}}" | msg {{nazwa_użytkownika|nazwa_sesji|identyfikator_sesji}}` + +- Wyślij wiadomość to zdalnej maszyny: + +`msg /server:{{nazwa_serwera}} {{nazwa_użytkownika|nazwa_sesji|identyfikator_sesji}}` + +- Wyślij wiadomość do wszystkich użytkowników aktualnej maszyny: + +`msg *` + +- Wyślij wiadomość z opóźnieniem: + +`msg /time:{{seconds}}` diff --git a/pages.pl/windows/print.win.md b/pages.pl/windows/print.win.md new file mode 100644 index 00000000000000..96e2a4db5f6828 --- /dev/null +++ b/pages.pl/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> Wyślij plik tekstowy do drukarki. +> Więcej informacji: . + +- Drukuj plik tekstowy używając domyślnej drukarki: + +`print {{ścieżka/do/pliku}}` + +- Drukuj plik tekstowy używakąc wybranej drukarki: + +`print /d:{{drukarka}} {{ścieżka/do/pliku}}` diff --git a/pages.pl/windows/pwsh-where.md b/pages.pl/windows/pwsh-where.md new file mode 100644 index 00000000000000..999aa4f456b7d6 --- /dev/null +++ b/pages.pl/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> To polecenie jest aliasem `Where-Object`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr Where-Object` diff --git a/pages.pl/windows/rd.md b/pages.pl/windows/rd.md new file mode 100644 index 00000000000000..a7bc6db977f787 --- /dev/null +++ b/pages.pl/windows/rd.md @@ -0,0 +1,11 @@ +# rd + +> To polecenie jest aliasem `rmdir` w Wierszu Poleceń i `Remove-Item` w PowerShell. + +- Zobacz dokumentację oryginalnego polecenia Wiersza Poleceń: + +`tldr rmdir` + +- Zobacz dokumentację oryginalnego polecenia PowerShell: + +`tldr remove-item` diff --git a/pages.pl/windows/sc-config.md b/pages.pl/windows/sc-config.md new file mode 100644 index 00000000000000..e409bdef12cd33 --- /dev/null +++ b/pages.pl/windows/sc-config.md @@ -0,0 +1,7 @@ +# sc config + +> To polecenie jest aliasem `sc.exe config`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sc` diff --git a/pages.pl/windows/sc-create.md b/pages.pl/windows/sc-create.md new file mode 100644 index 00000000000000..5683057f1def8a --- /dev/null +++ b/pages.pl/windows/sc-create.md @@ -0,0 +1,7 @@ +# sc create + +> To polecenie jest aliasem `sc.exe create`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sc` diff --git a/pages.pl/windows/sc-delete.md b/pages.pl/windows/sc-delete.md new file mode 100644 index 00000000000000..5f1d71fefc9759 --- /dev/null +++ b/pages.pl/windows/sc-delete.md @@ -0,0 +1,7 @@ +# sc delete + +> To polecenie jest aliasem `sc.exe delete`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sc` diff --git a/pages.pl/windows/sc-query.md b/pages.pl/windows/sc-query.md new file mode 100644 index 00000000000000..272b0bab9c659c --- /dev/null +++ b/pages.pl/windows/sc-query.md @@ -0,0 +1,7 @@ +# sc query + +> To polecenie jest aliasem `sc.exe query`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr sc` diff --git a/pages.pl/windows/scoop-bucket.md b/pages.pl/windows/scoop-bucket.md new file mode 100644 index 00000000000000..b6a20e077758b1 --- /dev/null +++ b/pages.pl/windows/scoop-bucket.md @@ -0,0 +1,25 @@ +# scoop bucket + +> Zarządzaj bucketami: repozytoriami Git zawierającymi pliki, które opisują sposób instalacji aplikacji przez Scoop. +> Jeśli Scoop nie zna lokalizacji bucketa, należy określić lokalizację jego repozytorium. +> Więcej informacji: . + +- Wyświetl wszystkie aktualnie używane buckety: + +`scoop bucket list` + +- Wyświetl wszystkie znane buckety: + +`scoop bucket known` + +- Dodaj znany bucket według jego nazwy: + +`scoop bucket add {{nazwa}}` + +- Dodaj nieznany bucket według jego nazwy i adresu URL repozytorium Git: + +`scoop bucket add {{nazwa}} {{https://example.com/repository.git}}` + +- Usuń bucket według jego nazwy: + +`scoop bucket rm {{nazwa}}` diff --git a/pages.pl/windows/scoop.md b/pages.pl/windows/scoop.md new file mode 100644 index 00000000000000..a67a8cee5269f2 --- /dev/null +++ b/pages.pl/windows/scoop.md @@ -0,0 +1,33 @@ +# scoop + +> Menedżer pakietów Scoop. +> Niektóre podkomendy takie jak `bucket` mają osobną dokumentację. +> Więcej informacji: . + +- Zainstaluj pakiet: + +`scoop install {{pakiet}}` + +- Usuń pakiet: + +`scoop uninstall {{pakiet}}` + +- Zaktualizuj wszystkie zainstalowane pakiety: + +`scoop update --all` + +- Wyświetl listę zainstalowanych pakietów: + +`scoop list` + +- Wyświetl informacje o pakiecie: + +`scoop info {{pakiet}}` + +- Wyszukaj pakiet: + +`scoop search {{pakiet}}` + +- Usuń stare wersje wszystkich pakietów i wyczyść pamięć podręczną pobierania: + +`scoop cleanup --cache --all` diff --git a/pages.pl/windows/set.md b/pages.pl/windows/set.md new file mode 100644 index 00000000000000..92dfb7d010fbd1 --- /dev/null +++ b/pages.pl/windows/set.md @@ -0,0 +1,20 @@ +# set + +> Wyświetl lub ustaw zmienne środowiskowe dla bieżącej instancji CMD. +> Więcej informacji: . + +- Lista wszystkich bieżących zmiennych środowiskowych: + +`set` + +- Ustaw zmienną środowiskową na określoną wartość: + +`set {{nazwa}}={{wartość}}` + +- Wymień zmienne środowiskowe zaczynające się od podanego ciągu znaków: + +`set {{nazwa}}` + +- Pyta użytkownika o wartość dla określonej zmiennej: + +`set /p {{nazwa}}={{wprowadzona_wartość}}` diff --git a/pages.pl/windows/slmgr.md b/pages.pl/windows/slmgr.md new file mode 100644 index 00000000000000..74849c6e52c6d1 --- /dev/null +++ b/pages.pl/windows/slmgr.md @@ -0,0 +1,7 @@ +# slmgr + +> To polecenie jest aliasem `slmgr.vbs`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr slmgr.vbs` diff --git a/pages.pl/windows/sls.md b/pages.pl/windows/sls.md new file mode 100644 index 00000000000000..91e0b2691ba1e6 --- /dev/null +++ b/pages.pl/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> To polecenie jest aliasem `Select-String`. + +- Zobacz dokumentację oryginalnego polecenia: + +`tldr select-string` diff --git a/pages.pl/windows/time.md b/pages.pl/windows/time.md new file mode 100644 index 00000000000000..137ebdd89ab324 --- /dev/null +++ b/pages.pl/windows/time.md @@ -0,0 +1,12 @@ +# time + +> Wyświetl lub ustaw czas systemowy. +> Więcej informacji: . + +- Wyświetl aktualny czas systemowy i zapytaj o wprowadzenie nowego czasu (pozostawić puste, aby zachować niezmieniony czas): + +`time` + +- Wyświetl aktualny czas systemowy bez pytania o nowy czas: + +`time /t` diff --git a/pages.pl/windows/ver.md b/pages.pl/windows/ver.md new file mode 100644 index 00000000000000..5f678688dfad22 --- /dev/null +++ b/pages.pl/windows/ver.md @@ -0,0 +1,8 @@ +# ver + +> Wyświetl aktualną wersję systemu DOS lub Windows. +> Więcej informacji: . + +- Wyświetl aktualną wersję systemu: + +`ver` diff --git a/pages.pl/windows/wget.md b/pages.pl/windows/wget.md new file mode 100644 index 00000000000000..3be4131822480d --- /dev/null +++ b/pages.pl/windows/wget.md @@ -0,0 +1,16 @@ +# wget + +> W PowerShell to polecenie może być aliasem `Invoke-WebRequest`, gdy oryginalny program `wget` () nie jest poprawnie zainstalowany. +> Więcej informacji: . + +- Zobacz dokumentację oryginalnego polecenia `wget`: + +`tldr wget -p common` + +- Zobacz dokumentację polecenia PowerShell `Invoke-WebRequest`: + +`tldr invoke-webrequest` + +- Zweryfikuj, czy `wget` jest poprawnie zainstalowany poprzez sprawdzenie jego wersji. Jeśli to polecenie zwraca błąd, PowerShell mógł je zastąpić poleceniem `Invoke-WebRequest`: + +`wget --version` diff --git a/pages.pl/windows/whoami.md b/pages.pl/windows/whoami.md new file mode 100644 index 00000000000000..b7a8f5f9e5f300 --- /dev/null +++ b/pages.pl/windows/whoami.md @@ -0,0 +1,24 @@ +# whoami + +> Wyświetlenie szczegółów dotyczących bieżącego użytkownika. +> Więcej informacji: . + +- Wyświetl szczegółów dotyczących bieżącego użytkownika: + +`whoami` + +- Wyświetl grupy, których członkiem jest bieżący użytkownik: + +`whoami /groups` + +- Wyświetl uprawnienia bieżącego użytkownika: + +`whoami /priv` + +- Wyświetl główną nazwę użytkownika (UPN) bieżącego użytkownika: + +`whoami /upn` + +- Wyświetl identyfikator logowania bieżącego użytkownika: + +`whoami /logonid` diff --git a/pages.pl/windows/xcopy.md b/pages.pl/windows/xcopy.md new file mode 100644 index 00000000000000..d1ab192dbe766b --- /dev/null +++ b/pages.pl/windows/xcopy.md @@ -0,0 +1,36 @@ +# xcopy + +> Kopiuje pliki i katalogi, w tym podkatalogi. +> Więcej informacji: . + +- Skopiuj plik(i) do określonego miejsca docelowego: + +`xcopy {{ścieżka/do/pliku_lub_katalogu}} {{ścieżka/do/miejsca_przeznaczenia}}` + +- Wyświetl listę plików, które zostaną skopiowane przed skopiowaniem: + +`xcopy {{ścieżka/do/pliku_lub_katalogu}} {{ścieżka/do/miejsca_przeznaczenia}} /p` + +- Skopiuj tylko strukturę katalogów, z wyłączeniem plików: + +`xcopy {{ścieżka/do/pliku_lub_katalogu}} {{ścieżka/do/miejsca_przeznaczenia}} /t` + +- Dołącz puste katalogi podczas kopiowania: + +`xcopy {{ścieżka/do/pliku_lub_katalogu}} {{ścieżka/do/miejsca_przeznaczenia}} /e` + +- Zachowaj źródłową listę ACL w miejscu docelowym: + +`xcopy {{ścieżka/do/pliku_lub_katalogu}} {{ścieżka/do/miejsca_przeznaczenia}} /o` + +- Zezwól na wznawianie po utracie połączenia sieciowego: + +`xcopy {{ścieżka/do/pliku_lub_katalogu}} {{ścieżka/do/miejsca_przeznaczenia}} /z` + +- Wyłącz monit, gdy plik istnieje w miejscu docelowym: + +`xcopy {{ścieżka/do/pliku_lub_katalogu}} {{ścieżka/do/miejsca_przeznaczenia}} /y` + +- Wyświetl szczegółowe informacje dotyczące polecenia: + +`xcopy /?` diff --git a/pages.pt_BR/android/am.md b/pages.pt_BR/android/am.md new file mode 100644 index 00000000000000..e27b53aeda0903 --- /dev/null +++ b/pages.pt_BR/android/am.md @@ -0,0 +1,20 @@ +# am + +> Gerenciador de atividades do Android (Activity Manager). +> Mais informações: . + +- Inicia uma activity específica: + +`am start -n {{com.android.settings/.Settings}}` + +- Inicia uma activity e passa dados para ela: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Inicia uma activity correspondente a uma ação e categoria específicas: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Converte uma intent em uma URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.pt_BR/android/bugreport.md b/pages.pt_BR/android/bugreport.md new file mode 100644 index 00000000000000..5ced6108b49ed1 --- /dev/null +++ b/pages.pt_BR/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Mostra um relatório de bugs do Android. +> Esse comando só pode ser utilizado por meio de `adb shell`. +> Mais informações: . + +- Mostra um relatório completo de bugs de um dispositivo Android: + +`bugreport` diff --git a/pages.pt_BR/android/bugreportz.md b/pages.pt_BR/android/bugreportz.md new file mode 100644 index 00000000000000..6c5d9a22a73245 --- /dev/null +++ b/pages.pt_BR/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Gera um relatório de bugs do Android em formato Zip. +> Esse comando só pode ser utilizado por meio de `adb shell`. +> Mais informações: . + +- Mostra um relatório completo de bugs de um dispositivo Android em formato Zip: + +`bugreportz` + +- Mostra o progresso de `bugreportz` em execução: + +`bugreportz -p` + +- Escreve o conteúdo de um relatório de bug do Android para `stdout`: + +`bugreportz -s` + +- Mostra a ajuda: + +`bugreportz -h` + +- Mostra a versão de `bugreportz`: + +`bugreportz -v` diff --git a/pages.pt_BR/android/cmd.md b/pages.pt_BR/android/cmd.md new file mode 100644 index 00000000000000..138f05952c6197 --- /dev/null +++ b/pages.pt_BR/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Gerenciador de serviços do Android (service manager). +> Mais informações: . + +- Lista todos os serviços em execução: + +`cmd -l` + +- Chama um serviço específico: + +`cmd {{alarm}}` + +- Chama um serviço com parâmetros: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.pt_BR/android/dalvikvm.md b/pages.pt_BR/android/dalvikvm.md new file mode 100644 index 00000000000000..05d37f551bcfe0 --- /dev/null +++ b/pages.pt_BR/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> A máquina virtual Java do Android. +> Mais informações: . + +- Inicia um programa Java: + +`dalvikvm -classpath {{caminho/para/arquivo.jar}} {{nome_da_classe}}` diff --git a/pages.pt_BR/android/dumpsys.md b/pages.pt_BR/android/dumpsys.md new file mode 100644 index 00000000000000..d474e36fbf0de3 --- /dev/null +++ b/pages.pt_BR/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Fornece informações sobre os serviços do sistema Android. +> Este comando só pode ser usado através de `adb shell`. +> Mais informações: . + +- Gera um diagnóstico de todos os serviços do sistema: + +`dumpsys` + +- Gera um diagnóstico de um serviço do sistema específico: + +`dumpsys {{servico}}` + +- Lista todos os serviços que o `dumpsys` pode obter informações: + +`dumpsys -l` + +- Lista argumentos específicos-de-um-serviço para um serviço: + +`dumpsys {{servico}} -h` + +- Omite um serviço em específico do diagnóstico: + +`dumpsys --skip {{servico}}` + +- Específica um periodo de _timeout_ (por padrão é 10s): + +`dumpsys -t {{segundos}}` diff --git a/pages.pt_BR/android/getprop.md b/pages.pt_BR/android/getprop.md new file mode 100644 index 00000000000000..be6e5a1a1d5560 --- /dev/null +++ b/pages.pt_BR/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Obtém informações sobre propriedades do sistema Android (system props). +> Mais informações: . + +- Mostra todas as propriedades do sistema: + +`getprop` + +- Mostra o valor de uma propriedade específica: + +`getprop {{prop}}` + +- Mostra o nível de API: + +`getprop {{ro.build.version.sdk}}` + +- Mostra a versão do Android: + +`getprop {{ro.build.version.release}}` + +- Mostra o modelo do dispositivo: + +`getprop {{ro.vendor.product.model}}` + +- Mostra o status de desbloqueio OEM: + +`getprop {{ro.oem_unlock_supported}}` + +- Mostra o endereço MAC da placa de Wi-Fi do dispositivo: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.pt_BR/android/input.md b/pages.pt_BR/android/input.md new file mode 100644 index 00000000000000..a5b3aeeb0cfc04 --- /dev/null +++ b/pages.pt_BR/android/input.md @@ -0,0 +1,25 @@ +# input + +> Envia códigos de evento ou gestos de toque para um dispositivo Android. +> Esse comando só pode ser usado através de `adb shell`. +> Mais informações: . + +- Envia um código de evento de um caractere para um dispositivo Android: + +`input keyevent {{codigo_de_evento}}` + +- Envia texto para um dispositivo Android (`%s` representa espaços): + +`input text "{{texto}}"` + +- Envia um único toque para um dispositivo Android: + +`input tap {{x_pos}} {{y_pos}}` + +- Envia um gesto de deslizar para um dispositivo Android: + +`input swipe {{x_inicio}} {{y_inicio}} {{x_fim}} {{y_fim}} {{duração_em_ms}}` + +- Envia um pressionamento longo usando gesto de deslizar para um dispositivo Android: + +`input swipe {{x_pos}} {{y_pos}} {{x_pos}} {{y_pos}} {{duração_em_ms}}` diff --git a/pages.pt_BR/android/logcat.md b/pages.pt_BR/android/logcat.md new file mode 100644 index 00000000000000..6747078f533b76 --- /dev/null +++ b/pages.pt_BR/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Despeja um registro de mensagens do sistema. +> Mais informações: . + +- Exibe a saída do registro: + +`logcat` + +- Salva a saída da mensagem de registro em um arquivo: + +`logcat -f {{caminho/para/arquivo}}` + +- Exibe apenas linhas em que a mensagem de registro corresponda a uma expressão regular: + +`logcat --regex {{expressao_regular}}` + +- Exibe logs para um PID específico: + +`logcat --pid {{pid}}` + +- Exibe logs de processo de um pacote específico: + +`logcat --pid $(pidof -s {{pacote}})` diff --git a/pages.pt_BR/android/pkg.md b/pages.pt_BR/android/pkg.md new file mode 100644 index 00000000000000..eff658c41f78ee --- /dev/null +++ b/pages.pt_BR/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Gerenciador de pacotes para o Termux. +> Mais informações: . + +- Atualiza todos os pacotes instalados: + +`pkg upgrade` + +- Instala um pacote: + +`pkg install {{pacote}}` + +- Desinstala um pacote: + +`pkg uninstall {{pacote}}` + +- Reinstala um pacote: + +`pkg reinstall {{pacote}}` + +- Busca por um pacote: + +`pkg search {{pacote}}` diff --git a/pages.pt_BR/android/pm.md b/pages.pt_BR/android/pm.md new file mode 100644 index 00000000000000..e77363fd2fab43 --- /dev/null +++ b/pages.pt_BR/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Executa ações e consultas em pacotes de apps instalados no dispositivo. +> Mais informações: . + +- Exibe uma lista com todos os apps instalados: + +`pm list packages` + +- Exibe uma lista com todos os apps do sistema instalado: + +`pm list packages -s` + +- Exibe uma lista com todos os apps de terceiros instalados: + +`pm list packages -3` + +- Exibe uma lista com todos os apps cujos nomes estejam incluídos em palavras-chave: + +`pm list packages {{palavras_chave}}` + +- Exibe o caminho para o APK de um app: + +`pm path {{app}}` diff --git a/pages.pt_BR/android/screencap.md b/pages.pt_BR/android/screencap.md new file mode 100644 index 00000000000000..cc206b5e807eaa --- /dev/null +++ b/pages.pt_BR/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Tira uma scrennshot do display mobile. +> Este comando apenas pode ser usado atraves de `adb shell`. +> Mais informações: . + +- Tira uma screenshot: + +`screencap {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/android/settings.md b/pages.pt_BR/android/settings.md new file mode 100644 index 00000000000000..a27979196f4e28 --- /dev/null +++ b/pages.pt_BR/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Exibe, edita e apaga configurações do sistema Android. +> Mais informações: . + +- Exibe a lista de configurações no namespace `global`: + +`settings list {{global}}` + +- Obtém o valor de uma configuração específica: + +`settings get {{global}} {{airplane_mode_on}}` + +- Edita o valor de uma configuração: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Apaga uma configuração: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.pt_BR/android/wm.md b/pages.pt_BR/android/wm.md new file mode 100644 index 00000000000000..052b4c7d2efd8c --- /dev/null +++ b/pages.pt_BR/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Exibe informações da tela de um dispositivo Android. +> Esse comando só pode ser usado através de `adb shell`. +> Mais informações: . + +- Mostra o tamanho da tela de um dispositivo Android: + +`wm size` + +- Mostra a densidade de pixels da tela de um dispositivo Android: + +`wm density` diff --git a/pages.pt_BR/common/!.md b/pages.pt_BR/common/!.md new file mode 100644 index 00000000000000..71f56de572d59e --- /dev/null +++ b/pages.pt_BR/common/!.md @@ -0,0 +1,36 @@ +# ! + +> Mecanismo interno do bash para substituir por um comando existente no histórico. +> Mais informações: . + +- Substitui com o comando anterior e execute com o sudo: + +`sudo !!` + +- Substitui com o comando baseado no número da linha do `history`: + +`!{{número}}` + +- Substitui com o comando que foi usado algumas linhas do histórico atrás: + +`!-{{número}}` + +- Substitui com o comando mais recente que começa com o texto: + +`!{{texto}}` + +- Substitui com os argumentos do último comando: + +`{{comando}} !*` + +- Substitui com os argumentos do último comando: + +`{{command}} !$` + +- Substitui com o último comando, mas sem o último argumento: + +`!:-` + +- Imprime o último comando que começa com uma string sem executá-lo.: + +`!{{string}}:p` diff --git a/pages.pt_BR/common/2to3.md b/pages.pt_BR/common/2to3.md new file mode 100644 index 00000000000000..e7d05f8e827bb9 --- /dev/null +++ b/pages.pt_BR/common/2to3.md @@ -0,0 +1,34 @@ +# 2to3 + +> Conversão automática de código Python 2 para Python 3. +> Esse módulo foi descontinuado no Python 3.11 e foi removido na versão 3.13. +> Referência: . +> Mais informações: . + +- Mostra as alterações que seriam feitas sem faze-las de fato (simulação): + +`2to3 {{caminho/para/arquivo.py}}` + +- Converte um arquivo feito em Python 2 para Python 3: + +`2to3 --write {{caminho/para/arquivo.py}}` + +- Converte recurso específico de Python 2 para Python 3: + +`2to3 --write {{caminho/para/arquivo.py}} --fix {{raw_input}} --fix {{print}}` + +- Converte todos os recursos de Python 2 para Python 3, exceto as que específicadas: + +`2to3 --write {{caminho/para/arquivo.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- Mostra a lista de todas os recursos disponíveis que podem ser convertidas de Python 2 para Python 3: + +`2to3 --list-fixes` + +- Converte todos os arquivos feitos em Python 2 em um diretório para Python 3: + +`2to3 --output-dir {{caminho/para/arquivos_python3}} --write-unchanged-files --nobackups {{caminho/para/arquivos_python2}}` + +- Executa 2to3 com múltiplas threads: + +`2to3 --processes {{4}} --output-dir {{caminho/para/arquivos_python3}} --write --nobackups --no-diff {{caminho/para/arquivos_python2}}` diff --git a/pages.pt_BR/common/7z.md b/pages.pt_BR/common/7z.md index d616cf8f58cdfe..db21ea3313ab78 100644 --- a/pages.pt_BR/common/7z.md +++ b/pages.pt_BR/common/7z.md @@ -1,32 +1,36 @@ # 7z > Um compactador de arquivos com alta taxa de compressão. -> Mais informações: . +> Mais informações: . -- Compactar um arquivo ou diretório: +- Compacta um arquivo ou diretório: -`7z a {{arquivo_compactado.7z}} {{caminho/arquivo_ou_diretório}}` +`7z a {{caminho/para/arquivo_compactado.7z}} {{caminho/para/arquivo_ou_diretório}}` -- Criptografar um arquivo existente (incluindo cabeçalhos): +- Criptografa um arquivo existente (incluindo cabeçalhos): -`7z a {{arquivo_criptografado.7z}} -p{{senha}} -mhe=on {{arquivo.7z}}` +`7z a {{caminho/para/arquivo_criptografado.7z}} -p{{senha}} -mhe=on {{caminho/para/arquivo_compactado.7z}}` -- Descompactar um arquivo mantendo a estrutura de diretórios original: +- Descompacta um arquivo mantendo a estrutura de diretórios original: -`7z x {{arquivo.7z}}` +`7z x {{caminho/para/arquivo_compactado.7z}}` -- Descompactar um arquivo em um diretório específicado pelo usuário: +- Descompacta um arquivo em um diretório especificado pelo usuário: -`7z x {{arquivo.7z}} -o{{caminho/diretório}}` +`7z x {{caminho/para/arquivo_compactado.7z}} -o{{caminho/para/diretório}}` -- Compactar utilizando um tipo específico de arquivamento/compressão: +- Descompacta um arquivo para a saída padrão: -`7z a -t{{zip|gzip|bzip2|tar}} {{arquivo_compactado.7z}} {{caminho/arquivo_ou_diretório}}` +`7z x {{caminho/para/arquivo_compactado.7z}} -so` -- Exibir os tipos de arquivamento/compressão disponíveis: +- Compacta utilizando um tipo específico de arquivamento/compressão: -`7z i` +`7z a -t{{zip|gzip|bzip2|tar}} {{caminho/para/arquivo_compactado}} {{caminho/para/arquivo_ou_diretório}}` -- Exibir o conteúdo de um arquivo: +- Exibe o conteúdo de um arquivo: -`7z l {{arquivo.7z}}` +`7z l {{caminho/para/arquivo_compactado.7z}}` + +- Define o nível de compressão (maior significa mais compressão, porém mais lento): + +`7z a {{caminho/para/arquivo_compactado.7z}} -mx={{0|1|3|5|7|9}} {{caminho/para/arquivo_ou_diretório}}` diff --git a/pages.pt_BR/common/7za.md b/pages.pt_BR/common/7za.md index 04fc1c9850f711..77b24dd157c8be 100644 --- a/pages.pt_BR/common/7za.md +++ b/pages.pt_BR/common/7za.md @@ -1,25 +1,37 @@ # 7za > Um compactador de arquivos com alta taxa de compressão. -> Versão compacta do `7z`, com suporte para menos tipos de arquivamento/compressão. -> Mais informações: . +> Similar ao `7z`, exceto que este suporta menos tipos de arquivo mas é multiplataforma. +> Mais informações: . -- Compactar um arquivo ou diretório: +- Compacta um arquivo ou diretório: -`7za a {{arquivo_compactado.7z}} {{caminho/arquivo_ou_diretório}}` +`7za a {{caminho/para/arquivo_compactado.7z}} {{caminho/para/arquivo_ou_diretório}}` -- Descompactar um arquivo mantendo a estrutura de diretórios original: +- Criptografa um arquivo existente (incluindo cabeçalhos): -`7za x {{arquivo_compactado.7z}}` +`7za a {{caminho/para/arquivo_criptografado.7z}} -p{{senha}} -mhe={{on}} {{caminho/para/arquivo_compactado.7z}}` -- Compactar utilizando um tipo específico de arquivamento/compressão: +- Descompacta um arquivo mantendo a estrutura de diretórios original: -`7za a -t{{zip|gzip|bzip2|tar}} {{arquivo_compactado.7z}} {{caminho/arquivo_ou_diretório}}` +`7za x {{caminho/para/arquivo_compactado.7z}}` -- Exibir os tipos de arquivamento/compressão disponíveis: +- Descompacta um arquivo em um diretório especificado pelo usuário: -`7za i` +`7za x {{caminho/para/arquivo_compactado.7z}} -o{{caminho/para/diretório}}` -- Exibir o conteúdo de um arquivo: +- Descompacta um arquivo para a saída padrão: -`7za l {{arquivo.7z}}` +`7za x {{caminho/para/arquivo_compactado.7z}} -so` + +- Compacta utilizando um tipo específico de arquivamento/compressão: + +`7za a -t{{zip|gzip|bzip2|tar|...}} {{caminho/para/arquivo_compactado.7z}} {{caminho/para/arquivo_ou_diretório}}` + +- Exibe o conteúdo de um arquivo: + +`7za l {{caminho/para/arquivo_compactado.7z}}` + +- Define o nível de compressão (maior significa mais compressão, porém mais lento): + +`7za a {{caminho/para/arquivo_compactado.7z}} -mx={{0|1|3|5|7|9}} {{caminho/para/arquivo_ou_diretório}}` diff --git a/pages.pt_BR/common/7zr.md b/pages.pt_BR/common/7zr.md index 955bb0138d0fbe..6cbeaeb24defb6 100644 --- a/pages.pt_BR/common/7zr.md +++ b/pages.pt_BR/common/7zr.md @@ -1,17 +1,33 @@ # 7zr > Um compactador de arquivos com alta taxa de compressão. -> Versão do `7z` com suporte apenas para o formato `.7z`. -> Mais informações: . +> Similar ao `7z`, exceto que este suporta apenas arquivos no formato 7z. +> Mais informações: . -- Compactar um arquivo ou diretório: +- Compacta um arquivo ou diretório: -`7zr a {{arquivo_compactado.7z}} {{caminho/arquivo_ou_diretorio}}` +`7zr a {{caminho/para/arquivo_compactado.7z}} {{caminho/para/arquivo_ou_diretorio}}` -- Descompactar um arquivo mantendo a estrutura de diretórios original: +- Criptografa um arquivo existente (incluindo cabeçalhos): + +`7zr a {{arquivo_criptografado.7z}} -p{{senha}} -mhe={{on}} {{caminho/para/arquivo_compactado.7z}}` + +- Descompacta um arquivo mantendo a estrutura de diretórios original: `7zr x {{arquivo_compactado.7z}}` -- Exibir o conteúdo de um arquivo: +- Descompacta um arquivo em um diretório especificado pelo usuário: + +`7zr x {{caminho/para/arquivo_compactado.7z}} -o{{caminho/para/diretorio}}` + +- Descompacta um arquivo para a saída padrão: + +`7zr x {{caminho/para/arquivo_compactado.7z}} -so` + +- Exibe o conteúdo de um arquivo: + +`7zr l {{caminho/para/arquivo_compactado.7z}}` + +- Define o nível de compressão (maior significa mais compressão, porém mais lento): -`7zr l {{arquivo_compactado.7z}}` +`7zr a {{caminho/para/arquivo_compactado.7z}} -mx={{0|1|3|5|7|9}} {{caminho/para/diretorio}}` diff --git a/pages.pt_BR/common/[.md b/pages.pt_BR/common/[.md new file mode 100644 index 00000000000000..646da586d2f6a4 --- /dev/null +++ b/pages.pt_BR/common/[.md @@ -0,0 +1,33 @@ +# [ + +> Avalia condição. +> Retorna 0 se a condição for verdadeira, 1 se for falsa. +> Mais informações: . + +- Testa se uma determinada variável é igual a/diferente de uma determinada string: + +`[ "${{variavel}}" {{=|!=}} "{{/string}}" ]` + +- Testa se uma determinada variável é igual/diferente/maior que/menor que/maior ou igual/menor ou igual a um determinado inteiro: + +`[ "${{variable}}" -{{eq|ne|gt|lt|ge|le}} {{integer}} ]` + +- Testa se uma determinada variável tem um valor [n]ão vazio: + +`[ -n "${{variavel}}" ]` + +- Testa se uma determinada variável é vazia: + +`[ -z "{{variavel}}" ]` + +- Testa se um arquivo existe: + +`[ -f {{caminho/para/arquivo}} ]` + +- Testa se um [d]iretório existe: + +`[ -d {{caminho/para/diretorio}} ]` + +- Testa se um determinado arquivo ou diretório [e]xiste: + +`[ -e {{caminho/para/arquivo_ou_diretorio}} ]` diff --git a/pages.pt_BR/common/[[.md b/pages.pt_BR/common/[[.md new file mode 100644 index 00000000000000..000396f09915f4 --- /dev/null +++ b/pages.pt_BR/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> Verifica tipos de arquivos e compara valores. +> Retorna 0 se a condição é verdadeira, 1 se a condição é falsa. +> Mais informações: . + +- Testa se uma determinada variável é igual/diferente a uma determinada string: + +`[[ ${{variável}} {{==|!=}} "{{string}}" ]]` + +- Testa se uma determinada string está em conformidade com um determinado padrão/regex: + +`[[ ${{variável}} {{==|=~}} {{padrão}} ]]` + +- Testa se uma determinada variável é igual [eq]/não igual [ne]/maior que [gt]/menor que [lt]/maior ou igual que [ge]/menor ou igual que [le] um determinado número: + +`[[ ${{variável}} -{{eq|ne|gt|lt|ge|le}} {{número}} ]]` + +- Testa se uma determinada variável tem um valor [n]ão vazio: + +`[[ -n ${{variável}} ]]` + +- Testa se determinada variável tem um valor va[z]io: + +`[[ -z ${{variável}} ]]` + +- Testa se um determinado arquivo exite[f]: + +`[[ -f {{caminho/para/arquivo}} ]]` + +- Testa se um determinado [d]iretório existe: + +`[[ -d {{caminho/para/diretório}} ]]` + +- Testa se um determinado arquivo ou diretório [e]xiste: + +`[[ -e {{caminho/para/arquivo_ou_diretório}} ]]` diff --git a/pages.pt_BR/common/aapt.md b/pages.pt_BR/common/aapt.md new file mode 100644 index 00000000000000..8e37758a86ef7e --- /dev/null +++ b/pages.pt_BR/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> Ferramenta Android de empacotamento de recursos. +> Compila e empacota recursos de um aplicativo Android. +> Mais informações: . + +- Lista os arquivos contigos em um arquivo APK: + +`aapt list {{caminho/para/aplicativo.apk}}` + +- Exibe os metadados de um aplicavio (versão, permissão, etc.): + +`aapt dump badging {{caminho/para/aplicativo.apk}}` + +- Cria um novo arquivo APK com os arquivos especificados no diretório: + +`aapt package -F {{caminho/para/aplicativo.apk}} {{caminho/para/diretório}}` diff --git a/pages.pt_BR/common/ab.md b/pages.pt_BR/common/ab.md index 00f37602c08ef4..5ec8c89c537657 100644 --- a/pages.pt_BR/common/ab.md +++ b/pages.pt_BR/common/ab.md @@ -1,20 +1,28 @@ # ab > Ferramenta da Apache para realizar benchmarking e testes de carga em servidores web. -> Mais informações: . +> Mais informações: . -- Executar 100 requisições HTTP do tipo GET para uma determinada URL: +- Executa 100 requisições HTTP do tipo GET para uma determinada URL: -`ab -n {{100}} {{url}}` +`ab -n 100 {{url}}` -- Executar 100 requisições HTTP do tipo GET para uma determinada URL, executando 10 requisições simultâneas de cada vez: +- Executa 100 requisições HTTP do tipo GET para uma determinada URL, executando 10 requisições simultâneas de cada vez: -`ab -n {{100}} -c {{10}} {{url}}` +`ab -n 100 -c 10 {{url}}` -- Utilizar a funcionalidade HTTP Keep Alive, permitindo que várias requisições sejam feitas em uma sessão HTTP: +- Executa 100 requisições HTTP do tipo POST para uma determinada URL, usando um payload JSON de um arquivo: + +`ab -n 100 -T {{application/json}} -p {{caminho/para/arquivo.json}} {{url}}` + +- Utiliza a funcionalidade HTTP Keep Alive, permitindo que várias requisições sejam feitas em uma sessão HTTP: `ab -k {{url}}` -- Definir o tempo total do benchmarking, em segundos: +- Define o tempo total do benchmarking, em segundos: `ab -t {{60}} {{url}}` + +- Escreve os resultados em um arquivo CSV: + +`ab -e {{caminho/para/arquivo.csv}}` diff --git a/pages.pt_BR/common/abduco.md b/pages.pt_BR/common/abduco.md new file mode 100644 index 00000000000000..4c9c9fff17cb2b --- /dev/null +++ b/pages.pt_BR/common/abduco.md @@ -0,0 +1,24 @@ +# abduco + +> Gerenciador de sessão no terminal. +> Mais informações: . + +- Lista sessões: + +`abduco` + +- Anexa à uma sessão, criando-a se não existir: + +`abduco -A {{nome}} {{bash}}` + +- Anexa à uma sessão com `dvtm`, criando-a se não existir: + +`abduco -A {{nome}}` + +- Desanexa de uma sessão: + +`` + +- Anexa à uma sessão no modo read-only (somente leitura): + +`abduco -Ar {{nome}}` diff --git a/pages.pt_BR/common/ac.md b/pages.pt_BR/common/ac.md new file mode 100644 index 00000000000000..a7244728f83237 --- /dev/null +++ b/pages.pt_BR/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> Imprime estatisticas do tempo usuários conectados. +> Mais informações: . + +- Imprime a quantidade de tempo que o usuário atual está conectado em horas: + +`ac` + +- Imprime a quantidade de tempo que os usuários estão conectado em horas: + +`ac -p` + +- Imprime a quantidade de tempo que um usuário específico está conectado em horas: + +`ac -p {{nome_do_usuario}}` + +- Imprime a quantidade de tempo que um usuário específico está conectado em horas por dia (com total): + +`ac -dp {{nome_do_usuario}}` diff --git a/pages.pt_BR/common/accelerate.md b/pages.pt_BR/common/accelerate.md new file mode 100644 index 00000000000000..9382a610ec6dff --- /dev/null +++ b/pages.pt_BR/common/accelerate.md @@ -0,0 +1,28 @@ +# accelerate + +> Uma biblioteca que habilita o mesmo código PyTorch a rodar em qualquer configuração distribuída. +> Mais informações: . + +- Mostra informações do ambiente: + +`accelerate env` + +- Cria um arquivo de configuração de forma interativa: + +`accelerate config` + +- Mostra o custo de memória de GPU estimado para rodar um Modelo de Face aumentado com diferentes tipos de dados: + +`accelerate estimate-memory {{nome/modelo}}` + +- Testa um arquivo Accelerate de configuração: + +`accelerate test --config_file {{caminho/para/config.yaml}}` + +- Roda um modelo na CPU com Accelerate: + +`accelerate launch {{caminho/para/script.py}} {{--cpu}}` + +- Roda um modelo em multi-GPU com Accelerate, com 2 máquinas: + +`accelerate launch {{caminho/para/script.py}} --multi_gpu --num_machines 2` diff --git a/pages.pt_BR/common/ack.md b/pages.pt_BR/common/ack.md index 6d79fee726d75e..b653f9a687f8b4 100644 --- a/pages.pt_BR/common/ack.md +++ b/pages.pt_BR/common/ack.md @@ -1,20 +1,37 @@ # ack -> Uma ferramenta de pesquisa similar ao grep, otimizada para programadores. -> Mais informações: . +> Uma ferramenta de pesquisa similar ao `grep`, otimizada para programadores. +> Veja também: `rg`, que é muito mais rápido. +> Mais informações: . -- Procurar por arquivos que contenham o termo "foo": +- Procura por arquivos que contenham o termo, ou a expressão regular, no diretório atual: -`ack {{foo}}` +`ack "{{padrão_de_busca}}"` -- Procurar por arquivos em uma linguagem específica: +- Procura um padrão sem diferenciar maiúsculas e minúsculas: -`ack --ruby {{each_with_object}}` +`ack {{[-i|--ignore-case]}} "{{padrão_de_busca}}"` -- Contar o número total de correspondências para o termo "foo": +- Procura por linhas correspondentes ao padrão, imprimindo apenas o texto correspondente e não o resto da linha: -`ack -ch {{foo}}` +`ack {{[-o|--output '$&']}} "{{padrão_de_busca}}"` -- Mostrar o nome dos arquivos contendo o termo "foo" e o número de correspondências em cada arquivo: +- Limita a busca a um tipo específico de arquivo: -`ack -cl {{foo}}` +`ack {{[-t|--type]}} {{ruby}} "{{padrão_de_busca}}"` + +- Não busca arquivos de um tipo específico: + +`ack {{[-t|--type]}} no{{ruby}} "{{padrão_de_busca}}"` + +- Conta o total de correspondências encontradas: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{padrão_de_busca}}"` + +- Imprime o nome dos arquivos e o número de correspondências para cada arquivo: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{padrão_de_busca}}"` + +- Lista todos os valores que podem ser utilizados com `--type`: + +`ack --help-types` diff --git a/pages.pt_BR/common/acme.sh-dns.md b/pages.pt_BR/common/acme.sh-dns.md new file mode 100644 index 00000000000000..0ed7b388e774c5 --- /dev/null +++ b/pages.pt_BR/common/acme.sh-dns.md @@ -0,0 +1,24 @@ +# acme.sh --dns + +> Usa um desafio DNS-01 para emitir um certificado TLS. +> Mais informações: . + +- Emite um certificado usando um modo de DNS API automático: + +`acme.sh --issue --dns {{gnd_gd}} --domain {{example.com}}` + +- Emite um certificado wildcard (denotado por um asterísco (*)) usando um modo DNS API automático: + +`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}` + +- Emite um certificado usando um modo apelido de DNS: + +`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{apelido-para-exemplo-de-validacao.com}}` + +- Emite um certificado enquanto desabilita a pesquisa automática de DNS da Cloudflare/Google depois que o registro DNS for adicionado, especificando um tempo de espera personalizado em segundos: + +`acme.sh --issue --dns {{dns_namecheap}} --domain {{example.com}} --dnssleep {{300}}` + +- Emite um certificado usando o modo DNS manual: + +`acme.sh --issue --dns --domain {{example.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please` diff --git a/pages.pt_BR/common/acme.sh.md b/pages.pt_BR/common/acme.sh.md new file mode 100644 index 00000000000000..a4726caf39a49d --- /dev/null +++ b/pages.pt_BR/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> Script shell script que implementa o protocolo cliente ACME, ma alternativa para o `certbot`. +> Veja também `acme.sh dns`. +> Mais informações: . + +- Emite um certificado usando o modo webroot: + +`acme.sh --issue --domain {{example.com}} --webroot {{/caminho/para/webroot}}` + +- Emite um certificado para múltiplos domínios usando o modo standalone na porta 80: + +`acme.sh --issue --standalone --domain {{example.com}} --domain {{www.exemplo.com}}` + +- Emite um certificado usando o modo standaline TLS na porta 443: + +`acme.sh --issue --alpn --domain {{example.com}}` + +- Emite um certificado usando uma configuração válida Nginx: + +`acme.sh --issue --nginx --domain {{example.com}}` + +- Emite um certificado usando uma configuração válida Apache: + +`acme.sh --issue --apache --domain {{example.com}}` + +- Emite um certificado wildcard (\*) usando o modo DNS_API automático: + +`acme.sh --issue --dns {{dns_cf}} --domain {{*.example.com}}` + +- Instala os arquivos dos certificaods em um local específico (útil para renovação automática do certificado): + +`acme.sh --install-cert -d {{example.com}} --key-file {{/caminho/para/exemplo.com.key}} --fullchain-file {{/caminho/para/exemplo.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"` diff --git a/pages.pt_BR/common/act.md b/pages.pt_BR/common/act.md new file mode 100644 index 00000000000000..d2770255e81ba6 --- /dev/null +++ b/pages.pt_BR/common/act.md @@ -0,0 +1,32 @@ +# act + +> Executa GitHub Actions localmente utilizando Docker. +> Mais informações: . + +- Lista ações disponíveis: + +`act -l` + +- Executa evento padrão: + +`act` + +- Executa evento específico: + +`act {{tipo_de_evento}}` + +- Executa um job específico: + +`act -j {{job_id}}` + +- Não executa realmente as ações (ex.: um dry run): + +`act -n` + +- Mostra verbose logs: + +`act -v` + +- Executa um workflow específico com o evento de push: + +`act push -W {{caminho/para/workflow}}` diff --git a/pages.pt_BR/common/adb-install.md b/pages.pt_BR/common/adb-install.md new file mode 100644 index 00000000000000..34cf9c8f729517 --- /dev/null +++ b/pages.pt_BR/common/adb-install.md @@ -0,0 +1,28 @@ +# adb install + +> Android Debug Bridge Install: Instalar apps em uma instância do Android emulator ou dispositivos conectados. +> Mais informações: . + +- Instala um app Android em um emulador/dispositivo: + +`adb install {{caminho/para/arquivo.apk}}` + +- Instala um app Android em um emulador/dispositivo específico (sobrepõe `$ANDROID_SERIAL`): + +`adb -s {{numero_de_serie}} install {{caminho/para/arquivo.apk}}` + +- Reinstala um app existente, mantendo seus dados: + +`adb install -r {{caminho/para/arquivo.apk}}` + +- Instala um app Android permitindo um downgrade de versão de código (apenas pacotes depuráveis): + +`adb install -d {{path/to/file.apk}}` + +- Concede todas as permissões listadas no manifesto do app: + +`adb install -g {{caminho/para/arquivo.apk}}` + +- Atualiza rapidamente um app já instalado atualizando apenas as partes do APK que mudaram: + +`adb install --fastdeploy {{caminho/para/arquivo.apk}}` diff --git a/pages.pt_BR/common/adb-shell.md b/pages.pt_BR/common/adb-shell.md index 4e1ed26610a7bf..29ef10f57fcc2c 100644 --- a/pages.pt_BR/common/adb-shell.md +++ b/pages.pt_BR/common/adb-shell.md @@ -1,36 +1,36 @@ # adb shell > Android Debug Bridge Shell: Executar remotamente comandos shell em instâncias do emulador Android ou dispositivos Android conectados. -> Mais informações: . +> Mais informações: . -- Iniciar um shell interativo remoto no emulador/dispositivo: +- Inicia um shell interativo remoto no emulador/dispositivo: `adb shell` -- Obter todas as propriedades do emulador ou dispositivo: +- Obtém todas as propriedades do emulador ou dispositivo: `adb shell getprop` -- Reverter todas as permissões de tempo de execução para o padrão: +- Reverte todas as permissões de tempo de execução para o padrão: `adb shell pm reset-permissions` -- Revogar uma permissão perigosa para um aplicação: +- Revoga uma permissão perigosa para um aplicação: `adb shell pm revoke {{pacote}} {{permissao}}` -- Acionar um evento: +- Aciona um evento: `adb shell input keyevent {{keycode}}` -- Limpar os dados da aplicação no emulador/dispositivo: +- Limpa os dados da aplicação no emulador/dispositivo: `adb shell pm clear {{pacote}}` -- Iniciar uma atividade no emulator/dispositivo: +- Inicia uma atividade no emulator/dispositivo: `adb shell am start -n {{pacote}}/{{atividade}}` -- Iniciar atividade "home" no emulator/dispositivo: +- Inicia atividade "home" no emulator/dispositivo: `adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN` diff --git a/pages.pt_BR/common/adb.md b/pages.pt_BR/common/adb.md new file mode 100644 index 00000000000000..c9affc3bd61072 --- /dev/null +++ b/pages.pt_BR/common/adb.md @@ -0,0 +1,33 @@ +# adb + +> Android Debug Bridge: Comunica com uma instância do emulador Android emulator ou dispositivos conectados. +> Alguns subcomandos tais como `shell` possuem sua própria documentação de uso. +> Mais informações: . + +- Checa se o servidor adb está em execução e o inicia: + +`adb start-server` + +- Encerra o processo do servidor adb: + +`adb kill-server` + +- Inicia uma shell remota no emulador/dispositivo desejado: + +`adb shell` + +- Instala um app Android no emulador/dispositivo: + +`adb install -r {{caminho/para/arquivo.apk}}` + +- Copia um arquivo/pasta do dispositivo desejado: + +`adb pull {{caminho/para/arquivo_ou_pasta_no_dispositivo}} {{caminho/para/pasta_de_destino_local}}` + +- Copia um arquivo/pasta para o dispositivo desejado: + +`adb push {{caminho/para/arquivo_ou_pasta_local}} {{caminho/para/pasta_de_destino_no_dispositivo}}` + +- Exibe a lista de dispositivos conectados: + +`adb devices` diff --git a/pages.pt_BR/common/afconvert.md b/pages.pt_BR/common/afconvert.md new file mode 100644 index 00000000000000..56f8fac0a3c691 --- /dev/null +++ b/pages.pt_BR/common/afconvert.md @@ -0,0 +1,12 @@ +# afconvert + +> Converte entre os formatos de arquivo AFF e Raw. +> Mais informações: . + +- Usa uma extensão específica (padrão: `aff`): + +`afconvert -a {{extensão}} {{caminho/para/arquivo_de_entrada}} {{caminho/para/arquivo_de_saida1 caminho/para/arquivo_de_saida2 ...}}` + +- Usa um nível específico de compressão (padrão: `7`): + +`afconvert -X{{0..7}} {{caminho/para/arquivo_de_entrada}} {{caminho/para/arquivo_de_saida1 caminho/para/arquivo_de_saida2 ...}}` diff --git a/pages.pt_BR/common/ag.md b/pages.pt_BR/common/ag.md new file mode 100644 index 00000000000000..4b079116564953 --- /dev/null +++ b/pages.pt_BR/common/ag.md @@ -0,0 +1,32 @@ +# ag + +> The Silver Searcher. Parecido com o `ack`, mas com um foco em ser ainda mais rápido. +> Mais informações: . + +- Acha arquivos que contém "foo" e imprime as linhas correspondentes no contexto: + +`ag {{foo}}` + +- Acha arquivos que contém "foo" em um diretório específico: + +`ag {{foo}} {{caminho/para/arquivo}}` + +- Acha arquivos que contém "foo", mas lista somente os nomes dos arquivos: + +`ag -l {{foo}}` + +- Acha arquivos que contém "FOO" sem diferença de caixa e imprime somente o correspondente em vez de a linha inteira: + +`ag -i -o {{FOO}}` + +- Acha "foo" em arquivos cujo nome corresponde a "bar": + +`ag {{foo}} -G {{bar}}` + +- Acha arquivos cujo conteúdo corresponde à expressão regular: + +`ag '{{^ba(r|z)$}}'` + +- Acha arquivos cujo nome corresponde a "foo": + +`ag -g {{foo}}` diff --git a/pages.pt_BR/common/agate.md b/pages.pt_BR/common/agate.md new file mode 100644 index 00000000000000..855997b6457dc1 --- /dev/null +++ b/pages.pt_BR/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> Um simples servidor para o protocolo de internet Gemini. +> Mais informações: . + +- Executa e gera uma chave privada e um certificado: + +`agate --content {{caminho/para/conteudo/}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{en-US}}` + +- Executa o servidor: + +`agate {{caminho/para/arquivo}}` + +- Exibe opções de ajuda: + +`agate -h` diff --git a/pages.pt_BR/common/age-keygen.md b/pages.pt_BR/common/age-keygen.md new file mode 100644 index 00000000000000..b2fbdbf53c2a50 --- /dev/null +++ b/pages.pt_BR/common/age-keygen.md @@ -0,0 +1,13 @@ +# age-keygen + +> Gera par de chaves `age`. +> Veja `age` para como criptografar/descriptografar arquivos. +> Mais informações: . + +- Gera um par de chaves, salva em um arquivo não criptografado e imprime a chave pública para `stdout`: + +`age-keygen --output {{caminho/para/arquivo}}` + +- Converte uma identidade para um destinatário e imprime a chave pública para `stdout`: + +`age-keygen -y {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/age.md b/pages.pt_BR/common/age.md new file mode 100644 index 00000000000000..dc81273d3e9b47 --- /dev/null +++ b/pages.pt_BR/common/age.md @@ -0,0 +1,25 @@ +# age + +> Uma simples, moderna e segura ferramenta de criptografia de arquivos. +> Veja também: `age-keygen` para geração de pares de chaves. +> Mais informações: . + +- Gera um arquivo criptografado que pode ser descriptografado com uma frase-chave: + +`age --passphrase --output {{caminho/para/arquivo_criptografado}} {{caminho/para/arquivo_descriptografado}}` + +- Criptografa arquivo com uma ou mais chaves públicas que são inseridas como literais (repita o argumento `--recipient` para especificar múltiplas chaves públicas): + +`age --recipient {{chave_pública}} --output {{caminho/para/arquivo_criptografado}} {{caminho/para/arquivo_descriptografado}}` + +- Criptografa arquivo com um ou mais destinatários que são especificadas em um arquivo (um por linha): + +`age --recipients-file {{caminho/para/arquivo_de_destinatários}} --output {{caminho/para/arquivo_criptografado}} {{caminho/para/arquivo_descriptografado}}` + +- Descriptografa um arquivo com uma frase-chave: + +`age --decrypt --output {{caminho/para/arquivo_descriptografado}} {{caminho/para/arquivo_criptografado}}` + +- Descriptografa um arquivo com um arquivo de chave privada: + +`age --decrypt --identity {{caminho/para/arquivo_de_chave_privada}} --output {{caminho/para/arquivo_descriptografado}} {{caminho/para/arquivo_criptografado}}` diff --git a/pages.pt_BR/common/airmon-ng.md b/pages.pt_BR/common/airmon-ng.md new file mode 100644 index 00000000000000..b4166f8b0d6397 --- /dev/null +++ b/pages.pt_BR/common/airmon-ng.md @@ -0,0 +1,20 @@ +# airmon-ng + +> Ativa modo de monitoramento em dispositivos de rede sem-fio. +> Mais informações: . + +- Lista os dispositivos sem-fio e seus respectivos estados: + +`sudo airmon-ng` + +- Liga o modo de monitoramento para um dispositivo específico: + +`sudo airmon-ng start {{wlan0}}` + +- Encerra processos problemáticos que usam dispositivos sem-fio: + +`sudo airmon-ng check kill` + +- Desativa o modo de monitoramento para um dispositivo específico: + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.pt_BR/common/airpaste.md b/pages.pt_BR/common/airpaste.md index 6cbaa5a1c065db..002907d2f61b52 100644 --- a/pages.pt_BR/common/airpaste.md +++ b/pages.pt_BR/common/airpaste.md @@ -1,23 +1,24 @@ # airpaste > Compartilhar mensagens e arquivos na mesma rede. +> Mais informações: . -- Esperar por mensagens e mostrá-las quando recebidas: +- Espera por mensagens e as mostra quando recebidas: `airpaste` -- Enviar texto: +- Envia um texto: `echo {{texto}} | airpaste` -- Enviar arquivo: +- Envia um arquivo: `airpaste < {{caminho/para/arquivo}}` -- Receber arquivo: +- Recebe um arquivo: `airpaste > {{caminho/para/arquivo}}` -- Criar/Entrar em canal: +- Cria/Entra em canal: `airpaste {{nome_do_canal}}` diff --git a/pages.pt_BR/common/alacritty.md b/pages.pt_BR/common/alacritty.md new file mode 100644 index 00000000000000..4f7853aa450cd8 --- /dev/null +++ b/pages.pt_BR/common/alacritty.md @@ -0,0 +1,24 @@ +# alacritty + +> Terminal multiplataforma, acelerado por GPU. +> Mais informações: . + +- Abre uma nova janela do Alacritty: + +`alacritty` + +- Roda em um diretório específico: + +`alacritty --working-directory {{caminho/para/diretório}}` + +- Roda um comando em uma nova janela do Alacritty: + +`alacritty -e {{comando}}` + +- Especifica um arquivo de configuração alternativo (`$XDG_CONFIG_HOME/alacritty/alacritty.toml` por padrão): + +`alacritty --config-file {{caminho/para/config.toml}}` + +- Executa com configuração ao vivo habilitada (pode também ser habilitada por padrão no `alacritty.toml`): + +`alacritty --live-config-reload --config-file {{caminho/para/config.toml}}` diff --git a/pages.pt_BR/common/alex.md b/pages.pt_BR/common/alex.md new file mode 100644 index 00000000000000..a2371e5138dc6b --- /dev/null +++ b/pages.pt_BR/common/alex.md @@ -0,0 +1,21 @@ +# alex + +> Uma ferramenta que captura escrita insensível e sem consideraçāo. +> Ajuda a encontrar no texto, frases favorecedoras de gênero, polarizantes, relacionadas à raça, insensíveis à religiao e outras frases desiguais. +> Mais informações: . + +- Analisa o texto do `stdin`: + +`echo {{A rede dele parece boa}} | alex --stdin` + +- Analisa todos arquivos no diretório atual: + +`alex` + +- Analisa um arquivo específico: + +`alex {{archivo_do_texto.md}}` + +- Analisa todos arquivos em Markdown exceto `example.md`: + +`alex *.md !{{example.md}}` diff --git a/pages.pt_BR/common/alias.md b/pages.pt_BR/common/alias.md index 315ceb588e762d..f43157bf2d0473 100644 --- a/pages.pt_BR/common/alias.md +++ b/pages.pt_BR/common/alias.md @@ -2,27 +2,28 @@ > Cria apelidos -- palavras que são substituídas por um comando. > Apelidos expiram ao final da sessão atual do shell de comando, a menos que sejam definidos no arquivo de configuração do shell, por exemplo `~/.bashrc`. +> Mais informações: . -- Criar um apelido: +- Lista todos os apelidos: + +`alias` + +- Cria um apelido genérico: `alias {{apelido}}="{{comando}}"` -- Visualizar o comando associado a um determinado apelido: +- Visualiza o comando associado a um determinado apelido: `alias {{apelido}}` -- Remover um apelido: +- Remove um apelido: `unalias {{apelido}}` -- Exibir todos os apelidos definidos: - -`alias -p` - -- Tornar o comando `rm` interativo: +- Torna o comando `rm` interativo: -`alias {{rm}}="{{rm -i}}"` +`alias {{rm}}="{{rm --interactive}}"` -- Criar o apelido `la` como um atalho para `ls -a`: +- Cria o apelido `la` como um atalho para `ls --all`: -`alias {{la}}="{{ls -a}}"` +`alias {{la}}="{{ls --all}}"` diff --git a/pages.pt_BR/common/amass.md b/pages.pt_BR/common/amass.md new file mode 100644 index 00000000000000..1023638acca639 --- /dev/null +++ b/pages.pt_BR/common/amass.md @@ -0,0 +1,21 @@ +# amass + +> Ferramenta de Attack Surface Mapping (mapeamento de superfície de ataque) e Asset Discovery (descoberta de asset) em profundidade. +> Alguns subcomandos como `intel` tem sua propria documentacao de uso. +> Mais informações: . + +- Executa um subcomando Amass: + +`amass {{intel|enum}} {{options}}` + +- Mostra ajuda geral: + +`amass -help` + +- Mostra ajuda de um subcomando Amass: + +`amass {{intel|enum}} -help` + +- Mostra a versão: + +`amass -version` diff --git a/pages.pt_BR/common/ansible.md b/pages.pt_BR/common/ansible.md new file mode 100644 index 00000000000000..7b1d91e03fe129 --- /dev/null +++ b/pages.pt_BR/common/ansible.md @@ -0,0 +1,33 @@ +# ansible + +> Gerencia grupos de computadores remotamente utilizando SSH. (use o arquivo `/etc/ansible/hosts` para adicionar novos grupos/hosts). +> Alguns subcomando como `ansible galaxy` possuis a própria documentação de uso. +> Mais informações: . + +- Lista os hosts pertencentes a um grupo: + +`ansible {{grupo}} --list-hosts` + +- Realiza o ping de um grupo de hosts invocando o módulo ping: + +`ansible {{grupo}} {{[-m|--module-name]}} ping` + +- Exibe fatos sobre um grupo de hosts invocando o módulo setup: + +`ansible {{grupo}} {{[-m|--module-name]}} setup` + +- Executa um comando em um grupo de hosts invocando o módulo command com argumentos: + +`ansible {{grupo}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{meu_comando}}'` + +- Executa um comando com privilégios administrativos: + +`ansible {{grupo}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{meu_comando}}'` + +- Executa um comando usando um arquivos de inventário customizado: + +`ansible {{grupo}} {{[-i|--inventory]}} {{arquivo_inventario}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{meu_comando}}'` + +- Lista os grupos presentes em um inventário: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.pt_BR/common/ant.md b/pages.pt_BR/common/ant.md new file mode 100644 index 00000000000000..47764f1a154ac1 --- /dev/null +++ b/pages.pt_BR/common/ant.md @@ -0,0 +1,24 @@ +# ant + +> Apache Ant: compila e administra projetos baseados em Java. +> Mais informações: . + +- Compila um projeto com o arquivo padrão de build `build.xml`: + +`ant` + +- Compila um projeto utilizando um arquivo de build diferente do `build.xml`: + +`ant -f {{arquivo_de_build.xml}}` + +- Mostra informações sobre possíveis alvos para este projeto: + +`ant -p` + +- Mostra informações de debug: + +`ant -d` + +- Executa todos os alvos que não dependem de alvos defeituosos: + +`ant -k` diff --git a/pages.pt_BR/common/apg.md b/pages.pt_BR/common/apg.md index 48f22ab940254f..8d300aef9097f0 100644 --- a/pages.pt_BR/common/apg.md +++ b/pages.pt_BR/common/apg.md @@ -1,23 +1,24 @@ # apg > Criar senhas aleatórias arbitrariamente complexas. +> Mais informações: . -- Criar senha aleatória (tamanho padrão para as senhas é 8 caracteres): +- Cria senha aleatória (tamanho padrão para as senhas é 8 caracteres): `apg` -- Criar senha com pelo menos 1 símbolo (S), 1 número (N), 1 letra maiúscula (C), 1 letra minúscula (L): +- Cria senha com pelo menos 1 símbolo (S), 1 número (N), 1 letra maiúscula (C), 1 letra minúscula (L): `apg -M SNCL` -- Criar uma senha com 16 caracteres: +- Cria uma senha com 16 caracteres: `apg -m {{16}}` -- Criar senha com tamanho máximo de 16 caracteres: +- Cria senha com tamanho máximo de 16 caracteres: `apg -x {{16}}` -- Criar uma senha que não aparece em um dicionário provido pelo usuário: +- Cria uma senha que não aparece em um dicionário provido pelo usuário: -`apg -r {{arquivo_de_dicionario}}` +`apg -r {{caminho/para/arquivo_de_dicionario}}` diff --git a/pages.pt_BR/common/apm.md b/pages.pt_BR/common/apm.md index 3c2fba19e62316..823776c8cd8323 100644 --- a/pages.pt_BR/common/apm.md +++ b/pages.pt_BR/common/apm.md @@ -2,15 +2,16 @@ > Gerenciador de pacotes do editor de texto Atom. > Ver também `atom`. +> Mais informações: . -- Instalar pacotes de http://atom.io/packages e temas de http://atom.io/themes: +- Instala pacotes de e temas de : `apm install {{nome_do_pacote}}` -- Remover pacotes/temas: +- Remove pacotes/temas: `apm remove {{nome_do_pacote}}` -- Atualizar pacotes/temas: +- Atualiza pacotes/temas: `apm upgrade {{nome_do_pacote}}` diff --git a/pages.pt_BR/common/ar.md b/pages.pt_BR/common/ar.md new file mode 100644 index 00000000000000..513638f446868f --- /dev/null +++ b/pages.pt_BR/common/ar.md @@ -0,0 +1,25 @@ +# ar + +> Cria, modifica e extrai de arquivos Unix. Normalmente usado para bibliotecas estáticas (`.a`) e pacotes Debian (`.deb`). +> Veja também: `tar`. +> Mais informações: . + +- Descompacta todos os membros de um arquivo compactado: + +`ar x {{caminho/para/arquivo.a}}` + +- Lista o conteúdo em um arquivo compactado específico: + +`ar t {{caminho/para/arquivo.ar}}` + +- Substitui ou adiciona arquivos específicos para um arquivo compactado: + +`ar r {{caminho/para/arquivo.deb}} {{caminho/para/binário-debian caminho/para/control.tar.gz caminho/para/data.tar.xz ...}}` + +- Insere um índice de arquivos objetos (equivalente a usar `ranlib`): + +`ar s {{caminho/para/arquivo.a}}` + +- Cria um arquivo compactado com arquivos específicos, acompanhado por um índice de arquivo objeto: + +`ar rs {{caminho/para/arquivo.a}} {{caminho/para/arquivo1.o caminho/para/arquivo2.o ...}}` diff --git a/pages.pt_BR/common/arch.md b/pages.pt_BR/common/arch.md new file mode 100644 index 00000000000000..28aa3353da0372 --- /dev/null +++ b/pages.pt_BR/common/arch.md @@ -0,0 +1,9 @@ +# arch + +> Exibir o nome da arquitetura do sistema. +> Veja também `uname`. +> Mais informações: . + +- Exibe a arquitetura do sistema: + +`arch` diff --git a/pages.pt_BR/common/arduino-builder.md b/pages.pt_BR/common/arduino-builder.md new file mode 100644 index 00000000000000..50e576f028d94e --- /dev/null +++ b/pages.pt_BR/common/arduino-builder.md @@ -0,0 +1,25 @@ +# arduino-builder + +> Uma ferramenta de linha de comando para compilar sketches do arduino. +> AVIDO DE OBSOLESCÊNCIA: Esta ferramenta está sendo descontinuada e substituida pelo `arduino`. +> Mais informações: . + +- Compila um sketch: + +`arduino-builder -compile {{caminho/para/sketch.ino}}` + +- Define o nível de debug (1 a 10, o padrão é 5): + +`arduino-builder -debug-level {{nivel}}` + +- Define um diretório de compilação customizado: + +`arduino-builder -build-path {{caminho/para/diretorio}}` + +- Usa um arquivo com as opções de compilação, em vez de especificar `-hardware`, `-tools`, etc. manualmente toda hora: + +`arduino-builder -build-options-file {{caminho/para/build.options.json}}` + +- Habilita o modo verboso: + +`arduino-builder -verbose {{true}}` diff --git a/pages.pt_BR/common/arduino.md b/pages.pt_BR/common/arduino.md new file mode 100644 index 00000000000000..b1adb17d864105 --- /dev/null +++ b/pages.pt_BR/common/arduino.md @@ -0,0 +1,36 @@ +# arduino + +> Arduino Studio - Ambiente de Desenvolvimento Integrado para a plataforma Arduino. +> Mais informações: . + +- Compila um sketch: + +`arduino --verify {{caminho/para/arquivo.ino}}` + +- Compila e envia sketch: + +`arduino --upload {{caminho/para/arquivo.ino}}` + +- Compila e envia sketch para um Arduino Nano com uma CPU Atmega328p, conectada na porta `/dev/ttyACM0`: + +`arduino --board {{arduino:avr:nano:cpu=atmega328p}} --port {{/dev/ttyACM0}} --upload {{caminho/para/arquivo.ino}}` + +- Define a preferência `nome` para um determinado `valor`: + +`arduino --pref {{nome}}={{valor}}` + +- Compila um sketch, coloca o resultado da compilação no diretório de compilação, e reutiliza qualquer resultado pre-existente neste diretório: + +`arduino --pref build.path={{caminho/para/diretório}} --verify {{caminho/para/arquivo.ino}}` + +- Salva todas as preferências (alteradas) para `preferences.txt`: + +`arduino --save-prefs` + +- Instala a última placa SAM: + +`arduino --install-boards "{{arduino:sam}}"` + +- Instala bibliotecas Bridge e Servo: + +`arduino --install-library "{{Bridge:1.0.0,Servo:1.2.0}}"` diff --git a/pages.pt_BR/common/arp-scan.md b/pages.pt_BR/common/arp-scan.md new file mode 100644 index 00000000000000..8b09cc25d69296 --- /dev/null +++ b/pages.pt_BR/common/arp-scan.md @@ -0,0 +1,20 @@ +# arp-scan + +> Envia pacotes ARP para máquinas (identificadas por endereço IP ou por nome de domínio) em uma rede local, identificando as máquinas ativas de acordo com as respostas. +> Mais informações: . + +- Verifica as máquinas da rede local: + +`arp-scan {{[-l|--localnet]}}` + +- Verifica as máquinas de uma rede IP especificando a máscara de bit: + +`arp-scan {{192.168.1.1}}/{{24}}` + +- Verifica as máquinas de uma rede IP que estão em uma faixa de valores: + +`arp-scan {{127.0.0.0}}-{{127.0.0.31}}` + +- Verifica as máquinas de uma rede IP especificando a máscara de rede: + +`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages.pt_BR/common/arp.md b/pages.pt_BR/common/arp.md index 47503161a4d749..ad98bb45883178 100644 --- a/pages.pt_BR/common/arp.md +++ b/pages.pt_BR/common/arp.md @@ -1,19 +1,16 @@ # arp > Mostrar e manipular a cache ARP do sistema. +> Mais informações: . -- Mostrar a tabela arp atual: +- Mostra a tabela arp atual: `arp -a` -- Limpar toda a cache: - -`sudo arp -a -d` - -- Eliminar uma entrada específica: +- Elimina uma entrada específica: `arp -d {{endereço}}` -- Criar uma entrada: +- Cria uma entrada: `arp -s {{endereço}} {{endereço_mac}}` diff --git a/pages.pt_BR/common/asciidoctor.md b/pages.pt_BR/common/asciidoctor.md new file mode 100644 index 00000000000000..bb450f84a1723d --- /dev/null +++ b/pages.pt_BR/common/asciidoctor.md @@ -0,0 +1,20 @@ +# asciidoctor + +> Um processador que converte AsciiDoc em formatos publicáveis. +> Mais informações: . + +- Converte um arquivo `.adoc` em HTML (formato padrão de saída): + +`asciidoctor {{caminho/para/arquivo.adoc}}` + +- Converte um arquivo `.adoc` em HTML e liga a uma folha de estilos CSS: + +`asciidoctor -a stylesheet {{caminho/para/estilos.css}} {{caminho/para/arquivo.adoc}}` + +- Converte um arquivo `.adoc` em um HTML embutível, removendo tudo exceto o corpo: + +`asciidoctor --embedded {{caminho/para/arquivo.adoc}}` + +- Converte um arquivo `.adoc` em PDF usando a biblioteca `asciidoctor-pdf`: + +`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{caminho/para/arquivo.adoc}}` diff --git a/pages.pt_BR/common/asdf.md b/pages.pt_BR/common/asdf.md index 029827c3a806a0..929394b732be44 100644 --- a/pages.pt_BR/common/asdf.md +++ b/pages.pt_BR/common/asdf.md @@ -1,28 +1,32 @@ # asdf > Utilitário para a gestão de versões de linguagens e programas. -> Mais informações: . +> Mais informações: . -- Listar todos os plugins disponíveis: +- Lista todos os plugins disponíveis: -`asdf plugin-list-all` +`asdf plugin list all` -- Instalar um plugin: +- Instala um plugin: -`asdf plugin-add {{nome}}` +`asdf plugin add {{nome}}` -- Listar todas as versões disponíveis para um pacote: +- Lista todas as versões disponíveis para um pacote: -`asdf list-all {{nome}}` +`asdf list all {{nome}}` -- Instalar uma versão específica de um pacote: +- Instala uma versão específica de um pacote: `asdf install {{nome}} {{versão}}` -- Definir a versão global de um pacote: +- Define a versão global de um pacote: -`asdf global {{nome}} {{versão}}` +`asdf set -u {{nome}} {{versão}}` -- Definir a versão local de um pacote: +- Define a versão local de um pacote: -`asdf local {{nome}} {{versão}}` +`asdf set {{nome}} {{versão}}` + +- Ver a versão utilizada para um pacote: + +`asdf current {{name}}` diff --git a/pages.pt_BR/common/aspell.md b/pages.pt_BR/common/aspell.md new file mode 100644 index 00000000000000..72f1d62f9e6112 --- /dev/null +++ b/pages.pt_BR/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> Verificador ortográfico interativo. +> Mais informações: . + +- Verifica a ortografia do texto de um arquivo: + +`aspell check {{arquivo}}` + +- Exibe as palavras escritas incorretamente no terminal: + +`cat {{arquivo}} | aspell list` + +- Exibe os dicionários disponíveis: + +`aspell dicts` + +- Executa `aspell` utilizando uma língua diferente (informe o código ISO 639 da língua): + +`aspell --lang={{cs}}` + +- Exibe os erros ortográficos no terminal e ignorando as palavras da lista pessoal: + +`cat {{arquivo}} | aspell --personal={{lista_pessoal.pws}} list` diff --git a/pages.pt_BR/common/at.md b/pages.pt_BR/common/at.md index 08adbcbdc86dfe..360be42749cb29 100644 --- a/pages.pt_BR/common/at.md +++ b/pages.pt_BR/common/at.md @@ -1,16 +1,25 @@ # at > Ferramenta para o agendamento de comandos. -> O serviço atd (ou atrun) deve estar sendo executado para as atuais execuções. +> Resultados serão enviados para o e-mail dos usuários. +> Mais informações: . -- Executar comandos da standard input em 5 minutos (pressionar `Ctrl + D`quando acabar): +- Inicia o daemon `atd`: -`at now + {{5}} minutes` +`systemctl start atd` -- Executar um comando da standard input às 10:00 da manhã de hoje: +- Cria comandos interativamente e executa-os em 5 minutos (pressione `` quando acabar): -`echo "{{./comando.sh}}" | at 1000` +`at now + 5 minutes` -- Executar comandos de um dado arquivo na próxima terça: +- Cria comandos interativamente e executa-os no horário específico: + +`at {{hh:mm}}` + +- Executa um comando da `stdin` (standard input) às 10:00 da manhã de hoje: + +`echo "{{comando}}" | at 1000` + +- Executa comandos de um dado arquivo na próxima terça: `at -f {{caminho/para/arquivo}} 9:30 PM Tue` diff --git a/pages.pt_BR/common/autossh.md b/pages.pt_BR/common/autossh.md new file mode 100644 index 00000000000000..45cea134c9589c --- /dev/null +++ b/pages.pt_BR/common/autossh.md @@ -0,0 +1,29 @@ +# autossh + +> Executa, monitora e reinicia conexões SSH. +> Reconecta automaticamente para manter os túneis de redirecionamento de porta ativos. Aceita todas as flags do SSH. +> Mais informações: . + +- Inicia uma sessão SSH, reiniciando quando uma porta de monitoramento falhar em retornar dados: + +`autossh -M {{porta_de_monitoramento}} "{{comando_ssh}}"` + +- Redireciona uma porta local para uma porta remota, reiniciando quando necessário: + +`autossh -M {{porta_de_monitoramento}} -L {{porta_local}}:localhost:{{porta_remota}} {{usuário}}@{{host}}` + +- Executa o `autossh` em segundo plano antes de executar o SSH e não abrir um shell remoto: + +`autossh -f -M {{porta_de_monitoramento}} -N "{{comando_ssh}}"` + +- Executa em segundo plano, sem porta de monitoramento, e em vez disso envia pacotes de keep-alive SSH a cada 10 segundos para detectar falhas: + +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" "{{comando_ssh}}"` + +- Executa em segundo plano, sem porta de monitoramento e sem shell remoto, saindo se a redireção da porta falhar: + +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" -o ExitOnForwardFailure=yes -L {{porta_local}}:localhost:{{porta_remota}} {{usuário}}@{{host}}` + +- Executa em segundo plano, registrando a saída de depuração do `autossh` e a saída detalhada do SSH em arquivos: + +`AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE={{caminho/para/arquivo_de_log_do_autossh.log}} autossh -f -M {{porta_de_monitoramento}} -v -E {{caminho/para/arquivo_de_log_do_ssh.log}} {{comando_ssh}}` diff --git a/pages.pt_BR/common/awk.md b/pages.pt_BR/common/awk.md new file mode 100644 index 00000000000000..6e30946997508e --- /dev/null +++ b/pages.pt_BR/common/awk.md @@ -0,0 +1,36 @@ +# awk + +> Uma linguagem de programação versátil para trabalhar com arquivos. +> Mais informações: . + +- Imprime a quinta coluna (também chamada de campo) em um arquivo separado por espaços: + +`awk '{print $5}' {{caminho/para/arquivo}}` + +- Imprime a segunda coluna das linhas contendo "foo" em um arquivo separado por espaços: + +`awk '/{{foo}}/ {print $2}' {{caminho/para/arquivo}}` + +- Imprime a última coluna de cada linha em um arquivo, usando vírgula (ao invés de espaço) como separador de campo: + +`awk -F ',' '{print $NF}' {{caminho/para/arquivo}}` + +- Soma os valores da primeira coluna de um arquivo e imprime o total: + +`awk '{s+=$1} END {print s}' {{caminho/para/arquivo}}` + +- Imprime de três em três linhas a partir da primeira: + +`awk 'NR%3==1' {{caminho/para/arquivo}}` + +- Imprime diferentes valores baseado em condições: + +`awk '{if ($1 == "foo") print "Correspondência completa foo"; else if ($1 ~ "bar") print "Correspondência parcial bar"; else print "Baz"}' {{caminho/para/arquivo}}` + +- Imprime todas as linhas em que o valor da décima coluna está entre um mínimo e um máximo: + +`awk '($10 >= {{valor_minimo}} && $10 <= {{valor_maximo}})'` + +- Imprime tabela de usuários com UID >=1000 com cabeçalho e saída formatada, usando dois pontos como separador (`%-20s` significa: alinhamento à esquerda de 20 caracteres, `%6s` significa: alinhamento à direita 6 caracteres): + +`awk 'BEGIN {FS=":";printf "%-20s %6s %25s\n", "Nome", "UID", "Shell"} $4 >= 1000 {printf "%-20s %6d %25s\n", $1, $4, $7}' /etc/passwd` diff --git a/pages.pt_BR/common/aws-cloudformation.md b/pages.pt_BR/common/aws-cloudformation.md new file mode 100644 index 00000000000000..1dd0a3f7129646 --- /dev/null +++ b/pages.pt_BR/common/aws-cloudformation.md @@ -0,0 +1,32 @@ +# aws cloudformation + +> Modela, provisiona e gerencia recursos AWS, e de terceiros, ao tratar a infraestrutura como código. +> Mais informações: . + +- Cria uma pilha a partir de um arquivo de modelo: + +`aws cloudformation create-stack --stack-name {{nome-da-pilha}} --region {{região}} --template-body {{file://caminho/para/arquivo.yml}} --profile {{perfil}}` + +- Deleta uma pilha: + +`aws cloudformation delete-stack --stack-name {{nome-da-pilha}} --profile {{perfil}}` + +- Lista todas as pilhas: + +`aws cloudformation list-stacks --profile {{perfil}}` + +- Lista todas as pilhas em execução: + +`aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE --profile {{perfil}}` + +- Verifica o status de uma pilha: + +`aws cloudformation describe-stacks --stack-name {{id-da-pilha}} --profile {{perfil}}` + +- Inicia a detecção de desvio para uma pilha: + +`aws cloudformation detect-stack-drift --stack-name {{id-da-pilha}} --profile {{perfil}}` + +- Verifica o status de desvio de uma pilha usando 'StackDriftDetectionId' do resultado do comando anterior: + +`aws cloudformation describe-stack-resource-drifts --stack-name {{stack-drift-detection-id}} --profile {{perfil}}` diff --git a/pages.pt_BR/common/aws-codeartifact.md b/pages.pt_BR/common/aws-codeartifact.md new file mode 100644 index 00000000000000..641b9fa47db296 --- /dev/null +++ b/pages.pt_BR/common/aws-codeartifact.md @@ -0,0 +1,25 @@ +# aws codeartifact + +> Gerencia repositórios, domínios, pacotes, versões de pacotes e ativos do CodeArtifact. +> O CodeArtifact é um repositório de artefatos compatível com gerenciadores de pacotes populares e ferramentas de construção como Maven, Gradle, npm, Yarn, Twine, pip, NuGet e SwiftPM. +> Mais informações: . + +- Lista domínios disponíveis para a sua conta da AWS: + +`aws codeartifact list-domains` + +- Gera credenciais para um gerenciador de pacote específico: + +`aws codeartifact login --tool {{npm|pip|twine}} --domain {{seu_domínio}} --repository {{nome_do_repositório}}` + +- Recupera a URL do endpoint de um repositório do CodeArtifact: + +`aws codeartifact get-repository-endpoint --domain {{seu_domínio}} --repository {{nome_do_repositório}} --format {{npm|pypi|maven|nuget|generic}}` + +- Exibe ajuda: + +`aws codeartifact help` + +- Exibe ajuda para um subcomando específico: + +`aws codeartifact {{subcomando}} help` diff --git a/pages.pt_BR/common/aws-configure.md b/pages.pt_BR/common/aws-configure.md new file mode 100644 index 00000000000000..278c2cffcee9bb --- /dev/null +++ b/pages.pt_BR/common/aws-configure.md @@ -0,0 +1,36 @@ +# aws configure + +> Gerencia as configurações para o AWS CLI. +> Mais informações: . + +- Configura interativamente o AWS CLI (cria uma nova configuração ou atualiza a configuração default): + +`aws configure` + +- Configura interativamente um profile para o AWS CLI (cria um novo profile ou atualiza um que já existae): + +`aws configure --profile {{nome_do_profile}}` + +- Exibe o valor de uma variável específica de configuração: + +`aws configure get {{nome}}` + +- Exibe o valor de uma variável específica de configuração de um profile específico: + +`aws configure get {{nome}} --profile {{nome_do_profile}}` + +- Altera o valor de uma variável específica de configuração: + +`aws configure set {{nome}} {{valor}}` + +- Altera o valor de uma variável específica de configuração de um profile específico: + +`aws configure set {{nome}} {{valor}} --profile {{nome_do_profile}}` + +- Lista os entradas da configuração: + +`aws configure list` + +- Lista os entradas da configuração de um profile específico: + +`aws configure list --profile {{profile_name}}` diff --git a/pages.pt_BR/common/aws-cur.md b/pages.pt_BR/common/aws-cur.md new file mode 100644 index 00000000000000..bbd10f42c21475 --- /dev/null +++ b/pages.pt_BR/common/aws-cur.md @@ -0,0 +1,16 @@ +# aws cur + +> Cria, pesquisa e apaga relatórios de uso do AWS. +> Mais informações: . + +- Cria um relatório de uso e custo do AWS definido de a partir de um arquivo JSON: + +`aws cur put-report-definition --report-definition file://{{caminho/para/definição_do_relatório.json}}` + +- Lista as definições dos relatórios de uso para a conta logada: + +`aws cur describe-report-definitions` + +- Apaga uma definição de relatório de uso: + +`aws cur --region {{região_aws}} delete-report-definition --report-name {{relatório}}` diff --git a/pages.pt_BR/common/aws-ec2.md b/pages.pt_BR/common/aws-ec2.md index 1a9be83818fda2..3267d998b28b8c 100644 --- a/pages.pt_BR/common/aws-ec2.md +++ b/pages.pt_BR/common/aws-ec2.md @@ -4,14 +4,6 @@ > Provê capacidade computacional segura e flexível na nuvem da AWS para proporcionar um desenvolvimento e subida para produção de aplicações rapidamente. > Mais informações: . -- Lista todos os comandos EC2 disponíveis: - -`aws ec2 help` - -- Exibe ajuda específica para um subcomando da EC2: - -`aws ec2 {{subcomando}} help` - - Exibe informações sobre uma insntância específica: `aws ec2 describe-instances --instance-ids {{id_da_instância}}` @@ -35,3 +27,11 @@ - Lista as AMIs (Imagem de Máquina da Amazon) disponíveis: `aws ec2 describe-images` + +- Lista todos os comandos EC2 disponíveis: + +`aws ec2 help` + +- Exibe ajuda específica para um subcomando da EC2: + +`aws ec2 {{subcomando}} help` diff --git a/pages.pt_BR/common/aws-ecr.md b/pages.pt_BR/common/aws-ecr.md new file mode 100644 index 00000000000000..050b0176befcb7 --- /dev/null +++ b/pages.pt_BR/common/aws-ecr.md @@ -0,0 +1,36 @@ +# aws ecr + +> Enviar, buscar, e gerenciar imagens de container. +> Mais informações: . + +- Autentica o Docker com o registro default (nome do usuário na AWS): + +`aws ecr get-login-password --region {{region}} | {{docker login}} --username AWS --password-stdin {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com` + +- Cria um repositório: + +`aws ecr create-repository --repository-name {{repository}} --image-scanning-configuration scanOnPush={{true|false}} --region {{region}}` + +- Cria uma tag em uma imagem local para o ECR: + +`docker tag {{nome_do_container}}:{{tag}} {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{nome_do_container}}:{{tag}}` + +- Envia uma imagem para um repositório: + +`docker push {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{nome_do_container}}:{{tag}}` + +- Busca a imagem de um repositório: + +`docker pull {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{nome_do_container}}:{{tag}}` + +- Apaga uma imagem de um repositório: + +`aws ecr batch-delete-image --repository-name {{repositório}} --image-ids imageTag={{latest}}` + +- Apaga um repositório: + +`aws ecr delete-repository --repository-name {{repositório}} --force` + +- Lista as imagens de um repositório: + +`aws ecr list-images --repository-name {{repositório}}` diff --git a/pages.pt_BR/common/aws-glue.md b/pages.pt_BR/common/aws-glue.md new file mode 100644 index 00000000000000..840946cf53faeb --- /dev/null +++ b/pages.pt_BR/common/aws-glue.md @@ -0,0 +1,29 @@ +# aws glue + +> Linha de comando CLI para o AWS Glue. +> Define o endpoint público para o servico AWS Glue. +> Mais informações: . + +- Lista trabalhos: + +`aws glue list-jobs` + +- Inicia um trabalho: + +`aws glue start-job-run --job-name {{nome_do_trabalho}}` + +- Inicia um fluxo de trabalho: + +`aws glue start-workflow-run --name {{nome_do_fluxo_de_trabalho}}` + +- Lista os gatilhos: + +`aws glue list-triggers` + +- Inicia um gatilho: + +`aws glue start-trigger --name {{nome_do_gatilho}}` + +- Cria um endpoint de desenvolvimento: + +`aws glue create-dev-endpoint --endpoint-name {{nome}} --role-arn {{papel_arn_usado_pelo_endpoint}}` diff --git a/pages.pt_BR/common/aws-google-auth.md b/pages.pt_BR/common/aws-google-auth.md new file mode 100644 index 00000000000000..7153bd385a8123 --- /dev/null +++ b/pages.pt_BR/common/aws-google-auth.md @@ -0,0 +1,20 @@ +# aws-google-auth + +> Linha de comando para obter credenciais (STS) temporárias AWS usando o Google Apps como um provedor (Single Sign-On) federado. +> Mais informações: . + +- Loga com o Google SSO usando identificadores IDP e SP e cria credenciais com duração de uma hora: + +`aws-google-auth -u {{exemplo@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}` + +- Loga perguntando ([a]sking) qual papel usar (no caso de diversos papeis SAML disponíveis): + +`aws-google-auth -u {{examplo@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a` + +- Resolve aliases para contas AWS: + +`aws-google-auth -u {{examplo@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases` + +- Exibe informações de ajuda: + +`aws-google-auth -h` diff --git a/pages.pt_BR/common/aws-help.md b/pages.pt_BR/common/aws-help.md new file mode 100644 index 00000000000000..2b98d9d82e5a98 --- /dev/null +++ b/pages.pt_BR/common/aws-help.md @@ -0,0 +1,16 @@ +# aws help + +> Exibe ajuda sobre o AWS CLI. +> Mais informações: . + +- Exibe a ajuda: + +`aws help` + +- Lista todos os tópicos disponíveis: + +`aws help topics` + +- Exibe ajuda sobre um tópico específico: + +`aws help {{nome_do_tópico}}` diff --git a/pages.pt_BR/common/aws-history.md b/pages.pt_BR/common/aws-history.md new file mode 100644 index 00000000000000..36169bc5c3d32b --- /dev/null +++ b/pages.pt_BR/common/aws-history.md @@ -0,0 +1,12 @@ +# aws history + +> Exibe o histórico dos comandos para o AWS CLI (o armazenamento do hisitórico dos comandos do AWS CLI deve estar habilitado). +> Mais informações: . + +- Lista histórico dos comandos e seus IDs: + +`aws history list` + +- Exibe eventos relacionados a um comando específico dado um ID do comando: + +`aws history show {{id_do_comando}}` diff --git a/pages.pt_BR/common/aws-iam.md b/pages.pt_BR/common/aws-iam.md new file mode 100644 index 00000000000000..ad4e0dbcb59afb --- /dev/null +++ b/pages.pt_BR/common/aws-iam.md @@ -0,0 +1,36 @@ +# aws iam + +> Interage com o Identity and Access Management (IAM), um serviço web para controlar com segurança o acesso aos serviços da AWS. +> Mais informações: . + +- Lista os usuários: + +`aws iam list-users` + +- Lista as políticas: + +`aws iam list-policies` + +- Lista os grupos: + +`aws iam list-groups` + +- Obtém os usuários de um grupo: + +`aws iam get-group --group-name {{nome_do_grupo}}` + +- Descreve uma política do IAM: + +`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{nome_da_política}}` + +- Lista as chaves de acesso: + +`aws iam list-access-keys` + +- Lista as chaves de acesso para um usuário específico: + +`aws iam list-access-keys --user-name {{nome_do_usuário}}` + +- Exibe ajuda: + +`aws iam help` diff --git a/pages.pt_BR/common/aws-kinesis.md b/pages.pt_BR/common/aws-kinesis.md new file mode 100644 index 00000000000000..2b4a5351d238af --- /dev/null +++ b/pages.pt_BR/common/aws-kinesis.md @@ -0,0 +1,28 @@ +# aws kinesis + +> CLI oficial da AWS para o serviço de streamin de dados Amazon Kinesis. +> Mais informações: . + +- Lista todos os streams de uma conta: + +`aws kinesis list-streams` + +- Escreve um registro para um stream Kinesis: + +`aws kinesis put-record --stream-name {{nome}} --partition-key {{chave}} --data {{mensagem_codificaca_em_base64}}` + +- Escreve um registro para um stream Kinesis com codificação base64 inline: + +`aws kinesis put-record --stream-name {{nome}} --partition-key {{chave}} --data "$( echo "{{minha mensagem não codificada}}" | base64 )"` + +- Lista os shards disponíveis em um stream: + +`aws kinesis list-shards --stream-name {{nome}}` + +- Obtém uma iteração de shards para leitura da mensagem mais antiga no shard do stream: + +`aws kinesis get-shard-iterator --shard-iterator-type TRIM_HORIZON --stream-name {{nome}} --shard-id {{id}}` + +- Lê registros de um shard usando uma iteração de um shard: + +`aws kinesis get-records --shard-iterator {{iteração}}` diff --git a/pages.pt_BR/common/aws-lambda.md b/pages.pt_BR/common/aws-lambda.md new file mode 100644 index 00000000000000..42c1dddc0f3d3d --- /dev/null +++ b/pages.pt_BR/common/aws-lambda.md @@ -0,0 +1,32 @@ +# aws lambda + +> Usa o AWS Lambda, um serviço de computação para executar código sem provisionar nem gerenciar servidores. +> Mais informações: . + +- Executa uma função: + +`aws lambda invoke --function-name {{nome}} {{caminho/para/a/resposta.json}}` + +- Executa uma função enviando um payload em formato JSON: + +`aws lambda invoke --function-name {{nome}} --payload {{json}} {{caminho/para/a/resposta.json}}` + +- Lista as funções: + +`aws lambda list-functions` + +- Exibe a configuração de uma função: + +`aws lambda get-function-configuration --function-name {{nome}}` + +- Lista os apelidos de uma função: + +`aws lambda list-aliases --function-name {{nome}}` + +- Exibe a configuração de concorrência reservada de uma função: + +`aws lambda get-function-concurrency --function-name {{nome}}` + +- Lista quais serviços AWS pode invocar a função: + +`aws lambda get-policy --function-name {{nome}}` diff --git a/pages.pt_BR/common/aws-s3-cp.md b/pages.pt_BR/common/aws-s3-cp.md new file mode 100644 index 00000000000000..ab6f37e8104faa --- /dev/null +++ b/pages.pt_BR/common/aws-s3-cp.md @@ -0,0 +1,24 @@ +# aws s3 cp + +> Copia arquivos locais ou objetos do S3 para outros diretórios locais ou no S3. +> Mais informações: . + +- Copia um arquivo local para um bucket específico: + +`aws s3 cp {{caminho/do/arquivo}} s3://{{nome_do_bucket}}/{{caminho/para/o/arquivo_remoto}}` + +- Copia um objeto específico para outro bucket dentro do S3: + +`aws s3 cp s3://{{nome_do_bucket1}}/{{caminho/do/arquivo}} s3://{{nome_do_bucket2}}/{{caminho/para/o/destino}}` + +- Copia um objeto específico do S3 para outro bucket mantendo seu nome original: + +`aws s3 cp s3://{{nome_do_bucket1}}/{{caminho/do/arquivo}} s3://{{nome_do_bucket2}}` + +- Copia objetos do S3 para um diretório local recursivamente: + +`aws s3 cp s3://{{nome_do_bucket}} . --recursive` + +- Exibe a ajuda: + +`aws s3 cp help` diff --git a/pages.pt_BR/common/aws-s3.md b/pages.pt_BR/common/aws-s3.md index 34b73e8a641338..29a9b3a0092778 100644 --- a/pages.pt_BR/common/aws-s3.md +++ b/pages.pt_BR/common/aws-s3.md @@ -2,11 +2,11 @@ > Interface de linha de comando para AWS S3. > Provê armazenamento através de uma interface de web services. -> Mais informações: . +> Mais informações: . - Exibe arquivos de um bucket: -`aws s3 ls {{nome_do_bucket}` +`aws s3 ls {{nome_do_bucket}}` - Sincroniza arquivos e diretórios locais para o bucket: diff --git a/pages.pt_BR/common/aws-secretsmanager.md b/pages.pt_BR/common/aws-secretsmanager.md new file mode 100644 index 00000000000000..cfbe7c61d5ae10 --- /dev/null +++ b/pages.pt_BR/common/aws-secretsmanager.md @@ -0,0 +1,32 @@ +# aws secretsmanager + +> Armazena, gerencia, e obtem secrets. +> Mais informações: . + +- Lista secrets armazenados pelo gerenciador de secretes na conta atual: + +`aws secretsmanager list-secrets` + +- Cria um secret: + +`aws secretsmanager create-secret --name {{nome}} --description "{{descrição_do_secret}}" --secret-string {{secret}}` + +- Apaga um secret: + +`aws secretsmanager delete-secret --secret-id {{nome_ou_arn}}` + +- Visualiza detalhes de um secret menos pelo texto do secret: + +`aws secretsmanager describe-secret --secret-id {{nome_ou_arn}}` + +- Obtém o valor do secret (para pegar a última versão do secret não use `--version-stage`): + +`aws secretsmanager get-secret-value --secret-id {{nome_ou_arn}} --version-stage {{versão_do_secret}}` + +- Alterna o secret imediatamente usando uma função Lambda: + +`aws secretsmanager rotate-secret --secret-id {{nome_ou_arn}} --rotation-lambda-arn {{arn_da_função_lambda}}` + +- Alterna o secret automaticamente a cada 30 dias usando uma função Lambda: + +`aws secretsmanager rotate-secret --secret-id {{nome_ou_arn}} --rotation-lambda-arn {{arn_da_função_lambda}} --rotation-rules AutomaticallyAfterDays={{30}}` diff --git a/pages.pt_BR/common/aws-ses.md b/pages.pt_BR/common/aws-ses.md new file mode 100644 index 00000000000000..3d95adbfd834e8 --- /dev/null +++ b/pages.pt_BR/common/aws-ses.md @@ -0,0 +1,37 @@ +# aws ses + +> Interface de linha de comando para o AWS Simple Email Service. +> Serviço em nuvem com alta performance para envio e recebimento de emails. +> Mais informações: . + +- Cria um novo conjunto de regras: + +`aws ses create-receipt-rule-set --rule-set-name {{nome_do_conjunto_de_regras}} --generate-cli-skeleton` + +- Descreve os conjuntos ativos de regras: + +`aws ses describe-active-receipt-rule-set --generate-cli-skeletion` + +- Descreve um regra específica de um conjunto de regras: + +`aws ses describe-receipt-rule --rule-set-name {{nome_do_conjunto_de_regras}} --rule-name {{nome_da_regra}} --generate-cli-skeleton` + +- Lista todos os conjuntos de regras: + +`aws ses list-receipt-rule-sets --starting-token {{texto_do_token}} --max-items {{inteiro}} --generate-cli-skeleton` + +- Remove um conjunto de regras específico (o conjunto ativo não pode ser removido): + +`aws ses delete-receipt-rule-set --rule-set-name {{nome_do_conjunto_de_regras}} --generate-cli-skeleton` + +- Remove uma regras específica de um conjunto de regras: + +`aws ses delete-receipt-rule --rule-set-name {{nome_do_conjunto_de_regras}} --rule-name {{nome_da_regra}} --generate-cli-skeleton` + +- Envia um email: + +`aws ses send-email --from {{de_endereco}} --destination "ToAddresses={{para_endereco}}" --message "Subject={Data={{assunto}},Charset=utf8},Body={Text={Data={{corpo_email}},Charset=utf8},Html={Data={{corpo_do_email_com_html}},Charset=utf8}}"` + +- Exibe ajuda para um subcomando específico do SES: + +`aws ses {{subcomando}} help` diff --git a/pages.pt_BR/common/aws-sqs.md b/pages.pt_BR/common/aws-sqs.md new file mode 100644 index 00000000000000..40c83c2cc74740 --- /dev/null +++ b/pages.pt_BR/common/aws-sqs.md @@ -0,0 +1,36 @@ +# aws sqs + +> Cria, apaga, e envia mensagens para filas para o serviço AWS SQS. +> Mais informações: . + +- Lista todas as filas disponíveis: + +`aws sqs list-queues` + +- Exibe a URL de uma fila específica: + +`aws sqs get-queue-url --queue-name {{nome_da_fila}}` + +- Cria uma fila com atributos especificados em arquivo JSON: + +`aws sqs create-queue --queue-name {{nome_da_fila}} --attributes {{file://caminho/para/arquivos_de_atributos.json}}` + +- Envia mensagem específica para uma fila: + +`aws sqs send-message --queue-url https://sqs.{{regiao}}.amazonaws.com/{{nome_da_fila}} --message-body "{{corpo_da_mensagem}}" --delay-seconds {{inteiro}} --message-attributes {{file://caminho/para/arquivos_de_atributos.json}}` + +- Remove uma mensagem específica de uma fila: + +`aws sqs delete-message --queue-url {{https://url_da_fila}} --receipt-handle {{identificado_da_mensagem}}` + +- Remove uma fila específica: + +`aws sqs delete-queue --queue-url https://sqs.{{regiao}}.amazonaws.com/{{nome_da_fila}}` + +- Remove todas as mensagens de uma fila específica: + +`aws sqs purge-queue --queue-url https://sqs.{{regiao}}.amazonaws.com/{{nome_da_fila}}` + +- Habilita uma conta AWS específica para enviar mensagens para uma fila: + +`aws sqs add-permission --queue-url https://sqs.{{regiao}}.amazonaws.com/{{nome_da_fila}} --label {{nome_da_permissao}} --aws-account-ids {{id_da_conta}} --actions SendMessage` diff --git a/pages.pt_BR/common/aws-sts.md b/pages.pt_BR/common/aws-sts.md new file mode 100644 index 00000000000000..fbb9d2ce3e0d2d --- /dev/null +++ b/pages.pt_BR/common/aws-sts.md @@ -0,0 +1,12 @@ +# aws sts + +> Serviço de Token de Segurança (STS) que permite solicitar credenciais temporárias para usuários (IAM) ou federados. +> Mais informações: . + +- Obtém credenciais temporárias para acessar recursos AWS específicos: + +`aws sts assume-role --role-arn {{arn_do_papel_aws}}` + +- Obtém um usuário IAM ou papel que foi usado para chamar a operação: + +`aws sts get-caller-identity` diff --git a/pages.pt_BR/common/aws.md b/pages.pt_BR/common/aws.md index 4aaee00e36eebc..d52f19d8b90d0f 100644 --- a/pages.pt_BR/common/aws.md +++ b/pages.pt_BR/common/aws.md @@ -2,6 +2,7 @@ > A interface de linha de comando oficial para o Amazon Web Services. > Passo-a-passo, Single Sign-On (SSO), autocompletar de recursos e opções de YAML somente na v2. +> Alguns subcomandos como `s3` tem sua própia documentação de uso. > Mais informações: . - Configura a linha de comando da AWS: @@ -12,10 +13,6 @@ `aws configure sso` -- Veja o texto de ajuda para o comando da AWS: - -`aws {{comando}} help` - - Obtenha a informações da identidade usada (útil para analisar problemas de permissão): `aws sts get-caller-identity` @@ -35,3 +32,7 @@ - Gera um arquivo esqueleo em JSON (útil para ser usado em infraestrutura como código): `aws dynamodb update-table --generate-cli-skeleton` + +- Veja o texto de ajuda para o comando da AWS: + +`aws {{comando}} help` diff --git a/pages.pt_BR/common/axel.md b/pages.pt_BR/common/axel.md index 1e382d7759d5ec..06a23d80aaf5c1 100644 --- a/pages.pt_BR/common/axel.md +++ b/pages.pt_BR/common/axel.md @@ -2,24 +2,24 @@ > Acelerador de downloads. > Suporta HTTP, HTTPS, e FTP. -> Mais informações: . +> Mais informações: . -- Fazer download de uma URL para um arquivo: +- Faz download de uma URL para um arquivo: `axel {{url}}` -- Fazer download especificando o nome do arquivo de destino: +- Faz download especificando o nome do arquivo de destino: `axel {{url}} -o {{nome_do_arquivo}}` -- Fazer download usando múltiplas conexões: +- Faz download usando múltiplas conexões: `axel -n {{número_de_conexões}} {{url}}` -- Procurar por mirrors: +- Procura por mirrors: `axel -S {{número_de_mirrors}} {{url}}` -- Limitar velocidade de download (em bytes por segundo): +- Limita a velocidade de download (em bytes por segundo): `axel -s {{velocidade}} {{url}}` diff --git a/pages.pt_BR/common/az.md b/pages.pt_BR/common/az.md index 0325ab224f610d..1432947140d85c 100644 --- a/pages.pt_BR/common/az.md +++ b/pages.pt_BR/common/az.md @@ -1,27 +1,37 @@ # az > A interface de linha de comando oficial do Microsoft Azure. +> Alguns subcomandos como `login` tem sua própria documentação de uso. +> Mais informações: . -- Fazer log in no Azure: +- Faz log in no Azure: `az login` -- Gerenciar informações de assinatura do Microsoft Azure: +- Gerencia informações de assinatura do Azure: `az account` -- Listar todos os discos gerenciados pelo Azure: +- Lista todos os discos gerenciados pelo Azure: `az disk list` -- Listar todas as máquinas virtuais do Azure: +- Lista todas as máquinas virtuais do Azure: `az vm list` -- Gerenciar os serviços do Azure Kubernetes: +- Gerencia os serviços do Azure Kubernetes: `az aks` -- Gerenciar recursos de rede do Azure: +- Gerencia recursos de rede do Azure: `az network` + +- Inicia modo interativo: + +`az interactive` + +- Mostra ajuda: + +`az --help` diff --git a/pages.pt_BR/common/azure-cli.md b/pages.pt_BR/common/azure-cli.md new file mode 100644 index 00000000000000..8e2661a96d96cb --- /dev/null +++ b/pages.pt_BR/common/azure-cli.md @@ -0,0 +1,7 @@ +# azure-cli + +> Este comando ė um alias(apelido) de `az`. + +- Veja a documentação para o comando original: + +`tldr az` diff --git a/pages.pt_BR/common/banner.md b/pages.pt_BR/common/banner.md new file mode 100644 index 00000000000000..502ec90d10bb4e --- /dev/null +++ b/pages.pt_BR/common/banner.md @@ -0,0 +1,16 @@ +# banner + +> Exibe o argumento inserido como um grande banner em arte ASCII. +> Mais informações: . + +- Exibe uma mensagem em texto como banner (aspas são opcionais): + +`banner "{{Olá Mundo}}"` + +- Exibe um banner com a largura de 50 caracteres: + +`banner -w 50 "{{Olá Mundo}}"` + +- Lê texto da `stdin`, isto é, da entrada padrão: + +`banner` diff --git a/pages.pt_BR/common/base32.md b/pages.pt_BR/common/base32.md new file mode 100644 index 00000000000000..80cabde7629c5f --- /dev/null +++ b/pages.pt_BR/common/base32.md @@ -0,0 +1,24 @@ +# base32 + +> Codifica ou decodifica um arquivo ou a entrada padrão (`stdin`) de/para Base32, para a saída padrão (`stdout`). +> Mais informações: . + +- Codifica um arquivo: + +`base32 {{caminho/para/arquivo}}` + +- Envolve a saída codificada em uma largura específica (`0` desabilita o encapsulamento): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{caminho/para/arquivo}}` + +- Decodifica um arquivo: + +`base32 {{[-d|--decode]}} {{caminho/para/arquivo}}` + +- Codifica a partir de `stdin`: + +`{{algum_comando}} | base32` + +- Decodifica a partir de `stdin`: + +`{{algum_comando}} | base32 {{[-d|--decode]}}` diff --git a/pages.pt_BR/common/base64.md b/pages.pt_BR/common/base64.md new file mode 100644 index 00000000000000..055a24ec8fbdd2 --- /dev/null +++ b/pages.pt_BR/common/base64.md @@ -0,0 +1,24 @@ +# base64 + +> Codifica ou decodifica um arquivo ou a entrada padrão (`stdin`) de/para Base64, para a saída padrão (`stdout`). +> Mais informações: . + +- Codifica um arquivo: + +`base64 {{caminho/para/arquivo}}` + +- Envolve a saída codificada em uma largura específica (`0` desabilita o encapsulamento): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{caminho/para/arquivo}}` + +- Decodifica um arquivo: + +`base64 {{[-d|--decode]}} {{caminho/para/arquivo}}` + +- Codifica a partir de `stdin`: + +`{{algum_comando}} | base64` + +- Decodifica a partir de `stdin`: + +`{{algum_comando}} | base64 {{[-d|--decode]}}` diff --git a/pages.pt_BR/common/basename.md b/pages.pt_BR/common/basename.md new file mode 100644 index 00000000000000..2a5407e0e0db6b --- /dev/null +++ b/pages.pt_BR/common/basename.md @@ -0,0 +1,16 @@ +# basename + +> Remove o prefixo de um caminho. +> Mais informações: . + +- Mostra apenas o nome do arquivo em um caminho: + +`basename {{caminho/para/arquivo}}` + +- Mostra apenas o nome do diretório mais à direita em um caminho: + +`basename {{caminho/para/diretório/}}` + +- Mostra apenas o nome do arquivo em um caminho, com um sufixo removido: + +`basename {{caminho/para/arquivo}} {{sufixo}}` diff --git a/pages.pt_BR/common/bash.md b/pages.pt_BR/common/bash.md new file mode 100644 index 00000000000000..b3a1b84aa5fe8f --- /dev/null +++ b/pages.pt_BR/common/bash.md @@ -0,0 +1,37 @@ +# bash + +> Bourne-Again SHell, um interpretador de linha de comando compatível com `sh`. +> Veja também: `zsh`, `histexpand` (expansão do histórico). +> Mais informações: . + +- Inicia uma sessão interativa do shell: + +`bash` + +- Inicia uma sessão interativa do shell sem carregar as configurações de inicialização: + +`bash --norc` + +- Executa [c]omandos específicos: + +`bash -c "{{echo 'bash é executado'}}"` + +- Executa um script específico: + +`bash {{caminho/para/script.sh}}` + +- Executa um script específico exibindo cada comando antes de executá-lo: + +`bash -x {{caminho/para/script.sh}}` + +- Executa um script específico e para no primeiro [e]rro: + +`bash -e {{caminho/para/script.sh}}` + +- Executa comandos específicos da `stdin`: + +`{{echo "echo 'bash é executado'"}} | bash` + +- Inicia uma sessão do shell [r]estrita: + +`bash -r` diff --git a/pages.pt_BR/common/bat.md b/pages.pt_BR/common/bat.md index cb96429c527843..272e07fee72e71 100644 --- a/pages.pt_BR/common/bat.md +++ b/pages.pt_BR/common/bat.md @@ -1,25 +1,37 @@ # bat -> Imprimir e concatenar arquivos. +> Imprime e concatena arquivos. > Um clone do `cat` com realce de sintaxe e integração com Git. > Mais informações: . -- Imprimir o conteúdo de um arquivo para a saída padrão: +- Imprime o conteúdo formatado de um arquivo para a saída padrão (stdout): -`bat {{arquivo}}` +`bat {{/caminho/para/arquivo}}` -- Concatenar vários arquivos em um arquivo de destino: +- Concatena o conteúdo de vários arquivos em um arquivo destino: -`bat {{caminho/para/arquivo1}} {{caminho/para/arquivo2}} > {{caminho/para/arquivo_destino}}` +`bat {{/caminho/para/arquivo1 /caminho/para/arquivo2 ...}} > {{/caminho/para/arquivo_destino}}` -- Numerar todas as linhas do output: +- Remove estilizacão e desabilita páginação (`--style plain` pode ser substituído por `-p`, ou ambas as opções com `-pp`): -`bat -n {{caminho/para/arquivo}}` +`bat --style plain --pager never {{/caminho/para/arquivo}}` -- Realçar a sintaxe em um arquivo JSON: +- Destaca uma linha específica ou um intervalo de linhas com uma cor de fundo diferente: -`bat --language json {{caminho/para/arquivo.json}}` +`bat {{[-H|--highlight-line]}} {{10|5:10|:10|10:|10:+5}} {{/caminho/para/arquivo}}` -- Mostrar todas as linguagens suportadas: +- Mostra caracteres não imprimíveis como espaço, tab ou nova linha: -`bat --list-languages` +`bat {{[-A|--show-all]}} {{/caminho/para/arquivo}}` + +- Remove toda estilizacão exceto os números das linhas no arquivo de saída: + +`bat {{[-n|--number]}} {{/caminho/para/arquivo}}` + +- Realça a sintaxe de um arquivo ao definir explicitamente a linguagem (e.g. JSON): + +`bat {{[-l|--language]}} json {{/caminho/para/arquivo.json}}` + +- Mostra todas as linguagens suportadas: + +`bat {{[-L|--list-languages]}}` diff --git a/pages.pt_BR/common/batch.md b/pages.pt_BR/common/batch.md new file mode 100644 index 00000000000000..7016f6e95b6857 --- /dev/null +++ b/pages.pt_BR/common/batch.md @@ -0,0 +1,8 @@ +# batch + +> Este comando é um apelido de `at`. +> Mais informações: . + +- Exibe documentação sobre o comando original: + +`tldr at` diff --git a/pages.pt_BR/common/bc.md b/pages.pt_BR/common/bc.md new file mode 100644 index 00000000000000..56b4090186e39d --- /dev/null +++ b/pages.pt_BR/common/bc.md @@ -0,0 +1,33 @@ +# bc + +> Uma linguagem de calculadora de precisão arbitrária. +> Veja também: `dc`, `qalc`. +> Mais informações: . + +- Inicia uma sessão interativa: + +`bc` + +- Inicia uma sessão [i]nterativa com a biblioteca padrão habilitada: + +`bc --interactive --mathlib` + +- Calcula uma expressão: + +`echo '{{5 / 3}}' | bc` + +- Executa um script: + +`bc {{caminho/para/script.bc}}` + +- Calcula uma expressão com a escala especificada: + +`echo 'scale = {{10}}; {{5 / 3}}' | bc` + +- Calcula uma função seno/cosseno/arco tangente/logaritmo natural/função exponencial usando `mathlib`: + +`echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib` + +- Executa um script fatorial a partir da linha de comando: + +`echo "define factorial(n) { if (n <= 1) return 1; return n*factorial(n-1); }; factorial({{10}})" | bc` diff --git a/pages.pt_BR/common/bg.md b/pages.pt_BR/common/bg.md index 0de2ae81a1832e..d8150e5d15e8e6 100644 --- a/pages.pt_BR/common/bg.md +++ b/pages.pt_BR/common/bg.md @@ -1,11 +1,12 @@ # bg -> Retomar a execução, em segundo plano, de processos que foram suspensos (e.g. utilizando `Ctrl + Z`). +> Retomar a execução, em segundo plano, de processos que foram suspensos (e.g. utilizando ``). +> Mais informações: . -- Retomar a execução, em segundo plano, do processo que foi suspenso mais recentemente: +- Retoma a execução, em segundo plano, do processo que foi suspenso mais recentemente: `bg` -- Retomar a execução, em segundo plano, de um processo especifico (utilizando `jobs -l` para obter o seu ID): +- Retoma um processo especifico (use `jobs -l` para obter o seu ID) e o executa em segundo plano: -`bg {{id_processo}}` +`bg %{{id_processo}}` diff --git a/pages.pt_BR/common/binwalk.md b/pages.pt_BR/common/binwalk.md new file mode 100644 index 00000000000000..907dcb4da609cd --- /dev/null +++ b/pages.pt_BR/common/binwalk.md @@ -0,0 +1,28 @@ +# binwalk + +> Ferramenta de análise de Firmware. +> Mais informações: . + +- Escaneia um arquivo binário: + +`binwalk {{caminho/para/binário}}` + +- Extrai arquivos de um binário, especificando a saída do diretório: + +`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{diretório_do_destino}} {{caminho/para/binário}}` + +- Extrai recursivamente arquivos de um binário limitando a profundidade da recursão para 2: + +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{caminho/para/binário}}` + +- Extrai arquivos de um binário com uma assinatura específica: + +`binwalk {{[-D|--dd]}} '{{png image:png}}' {{caminho/para/binário}}` + +- Analisa a entropia de um binário, salvando o gráfico com o mesmo nome que o binário e a extensão `.png`: + +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{caminho/para/binário}}` + +- Combina entropia, assinatura e análise dos código de operações em um comando só: + +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{caminho/para/binário}}` diff --git a/pages.pt_BR/common/bmptopnm.md b/pages.pt_BR/common/bmptopnm.md new file mode 100644 index 00000000000000..1a9fa802c50383 --- /dev/null +++ b/pages.pt_BR/common/bmptopnm.md @@ -0,0 +1,16 @@ +# bmptopnm + +> Converte um arquivo BMP para uma imagem PBM, PGM, or PNM. +> Mais informações: . + +- Gera a imagem PBM, PGM, ou PNM como saída, para arquivos BMP em Windows ou OS/2 como entrada: + +`bmptopnm {{caminho/para/arquivo.bmp}}` + +- Relata conteúdos do cabeçalho BMP para `stderr`: + +`bmptopnm -verbose {{caminho/para/arquivo.bmp}}` + +- Versão de exibição: + +`bmptopnm -version` diff --git a/pages.pt_BR/common/brave.md b/pages.pt_BR/common/brave.md new file mode 100644 index 00000000000000..4d73ff1b241ae1 --- /dev/null +++ b/pages.pt_BR/common/brave.md @@ -0,0 +1,8 @@ +# brave + +> Este comando é um alias(apelido) de `chromium`. +> Mais informações: . + +- Veja a documentação para o comando original: + +`tldr chromium` diff --git a/pages.pt_BR/common/brew.md b/pages.pt_BR/common/brew.md new file mode 100644 index 00000000000000..c764e36522368f --- /dev/null +++ b/pages.pt_BR/common/brew.md @@ -0,0 +1,36 @@ +# brew + +> A versão Linux do gerenciador de pacotes Homebrew. +> Mais informações: . + +- Instala a última versão estável de uma fórmula: + +`brew install {{formula|cask}}` + +- Lista as fórmulas instaladas: + +`brew list` + +- Atualiza uma fórmula instalada (se não for informado o nome de uma fórmula, todas as fórmulas serão atualizadas): + +`brew upgrade {{formula|cask}}` + +- Recupera a versão mais recente do Linuxbrew e de todas as fórmulas do GitHub: + +`brew update` + +- Exibe as fórmulas que possuem novas versões disponíveis: + +`brew outdated` + +- Busca por fórmulas disponíveis: + +`brew search {{termo_da_busca}}` + +- Exibe informações sobre uma fórmula (versão, caminho de instalação, dependências, etc.): + +`brew info {{formula|cask}}` + +- Verifica a instalação local em busca de possíveis problemas: + +`brew doctor` diff --git a/pages.pt_BR/common/btm.md b/pages.pt_BR/common/btm.md new file mode 100644 index 00000000000000..50a323b9195b8d --- /dev/null +++ b/pages.pt_BR/common/btm.md @@ -0,0 +1,25 @@ +# btm + +> Uma alternativa ao `top`. +> Tem como objetivo ser leve, multiplataforma e mais gráfico que o `top`. +> Mais informações: . + +- Exibe o layout padrão (CPU, memória, temperaturas, disco, rede e processos): + +`btm` + +- Ativa o modo básico, removendo gráficos e condensando dados (semelhante a `top`): + +`btm --basic` + +- Usa pontos grandes em vez de pequenos em gráficos: + +`btm --dot_marker` + +- Exibe também a carga da bateria e o estado de saúde: + +`btm --battery` + +- Atualiza a cada 250 milissegundos e exibe os últimos 30 segundos nos gráficos: + +`btm --rate 250 --default_time_value 30000` diff --git a/pages.pt_BR/common/bundle.md b/pages.pt_BR/common/bundle.md index eb6968eafeaedb..9ba0ae0072dd42 100644 --- a/pages.pt_BR/common/bundle.md +++ b/pages.pt_BR/common/bundle.md @@ -3,18 +3,34 @@ > Gerenciador de dependências da linguagem de programação Ruby. > Mais informações: . -- Instalar todas as gemas definidas no `Gemfile`: +- Instala todas as gemas definidas no `Gemfile` esperadas no diretório de trabalho: `bundle install` -- Atualizar todas as gemas, respeitando as regras definidas no `Gemfile`, e recriar o arquivo `Gemfile.lock`: +- Executa um comando no contexto do pacote atual: + +`bundle exec {{comando}} {{argumentos}}` + +- Atualiza todas as gemas respeitando as regras definidas no `Gemfile` e recria o arquivo `Gemfile.lock`: `bundle update` -- Atualizar uma gema específica definida no `Gemfile`: +- Atualiza uma ou mais gema(s) específicas definidas no `Gemfile`: + +`bundle update {{nome_da_gema1}} {{nome_da_gema2}}` + +- Atualiza uma ou mais gema(s) específicas definidas no `Gemfile` mas somente para a próxima versão de patch: + +`bundle update --patch {{nome_da_gema1}} {{nome_da_gema2}}` + +- Atualiza todas as gemas do grupo especificado no `Gemfile`: + +`bundle update --group {{desenvolvimento}}` + +- Lista gemas instaladas no `Gemfile` com novas versões disponíveis: -`bundle update --source {{nome_da_gema}}` +`bundle outdated` -- Criar o esqueleto do projeto de uma nova gema: +- Cria o esqueleto do projeto de uma nova gema: `bundle gem {{nome_da_gema}}` diff --git a/pages.pt_BR/common/bundler.md b/pages.pt_BR/common/bundler.md new file mode 100644 index 00000000000000..19d2046419f5ae --- /dev/null +++ b/pages.pt_BR/common/bundler.md @@ -0,0 +1,9 @@ +# bundler + +> Gerenciador de dependências para a linguagem de programação Ruby. +> `bundler` é um nome comum para o comando `bundle`, mas não um comando em si. +> Mais informações: . + +- Veja a documentação para o comando original: + +`tldr bundle` diff --git a/pages.pt_BR/common/bup.md b/pages.pt_BR/common/bup.md new file mode 100644 index 00000000000000..1547b6a59abcab --- /dev/null +++ b/pages.pt_BR/common/bup.md @@ -0,0 +1,24 @@ +# bup + +> Sistema de backup baseado no formato Git packfile, oferecendo salvamentos incrementais e desduplicação global. +> Mais informações: . + +- Inicializa um repositório de backup no diretório local especificado: + +`bup -d {{caminho/para/repositório}} init` + +- Prepara um determinado diretório antes de fazer um backup: + +`bup -d {{caminho/para/repositório}} index {{caminho/para/diretório}}` + +- Faz o backup de um diretório para o repositório: + +`bup -d {{caminho/para/repositório}} save -n {{nome_do_backup}} {{caminho/para/diretório}}` + +- Exibe os snapshots de backup armazenados atualmente no repositório: + +`bup -d {{caminho/para/repositório}} ls` + +- Restaura um snapshot de backup específico para um diretório de destino: + +`bup -d {{caminho/para/repositório}} restore -C {{caminho/para/diretório_de_destino}} {{nome_do_backup}}` diff --git a/pages.pt_BR/common/bzip2.md b/pages.pt_BR/common/bzip2.md new file mode 100644 index 00000000000000..c05fd70ca2fda5 --- /dev/null +++ b/pages.pt_BR/common/bzip2.md @@ -0,0 +1,32 @@ +# bzip2 + +> Um compressor de arquivos que utiliza o algoritmo Burrows–Wheeler. +> Mais informações: . + +- Compacta um arquivo: + +`bzip2 {{arquivo}}` + +- Descompacta um arquivo: + +`bzip2 -d {{arquivo_compactado.bz2}}` + +- Descompacta um arquivo exibindo o conteúdo no terminal: + +`bzip2 -dc {{arquivo_compactado.bz2}}` + +- Testa a integridade de cada arquivo dentro do arquivo compactado: + +`bzip2 --test {{caminho/para/arquivo_compactado.bz2}}` + +- Exibe a taxa de compressão para cada arquivo processado com informações detalhadas: + +`bzip2 --verbose {{caminho/para/arquivos_compactados.bz2}}` + +- Descompacta um arquivo sobrescrevendo arquivos existentes: + +`bzip2 --force {{caminho/para/arquivo_compactado.bz2}}` + +- Exibe ajuda: + +`bzip2 -h` diff --git a/pages.pt_BR/common/c99.md b/pages.pt_BR/common/c99.md new file mode 100644 index 00000000000000..33c4db10335261 --- /dev/null +++ b/pages.pt_BR/common/c99.md @@ -0,0 +1,20 @@ +# c99 + +> Compila programas em C de acordo com a norma ISO C. +> Mais informações: . + +- Compila arquivo(s) de origem e cria um executável: + +`c99 {{arquivo.c}}` + +- Compila arquivo(s) de origem e cria um executável com um nome customizável: + +`c99 -o {{nome_executavel}} {{arquivo.c}}` + +- Compila arquivo(s) de origem e cria arquivo(s) de objeto: + +`c99 -c {{arquivo.c}}` + +- Compila arquivo(s) de origem, linka com arquivo(s) de objeto e cria um executável: + +`c99 {{arquivo.c}} {{arquivo.o}}` diff --git a/pages.pt_BR/common/cabal.md b/pages.pt_BR/common/cabal.md new file mode 100644 index 00000000000000..227d35e29b3f30 --- /dev/null +++ b/pages.pt_BR/common/cabal.md @@ -0,0 +1,29 @@ +# cabal + +> Interface de linha de comando para a infraestrutura de pacote Haskel (Cabal). +> Gerencia projetos Haskell e pacotes Cabal do repositório de pacotes Hackage. +> Mais informações: . + +- Busca e lista pacotes do Hackage: + +`cabal list {{string_buscada}}` + +- Mostra informações sobre o pacote: + +`cabal info {{nome_pacote}}` + +- Baixa e instala um pacote: + +`cabal install {{nome_pacote}}` + +- Cria um novo projeto Haskell no diretório atual: + +`cabal init` + +- Monta o projeto no diretório atual: + +`cabal build` + +- Roda testes do projeto no diretório atual: + +`cabal test` diff --git a/pages.pt_BR/common/caddy.md b/pages.pt_BR/common/caddy.md new file mode 100644 index 00000000000000..e66198ed93c04f --- /dev/null +++ b/pages.pt_BR/common/caddy.md @@ -0,0 +1,28 @@ +# caddy + +> Um servidor web open source, pronto para empresas, com HTTPS automático, escrito em Go. +> Mais informações: . + +- Inicia Caddy em primeiro plano: + +`caddy run` + +- Inicia Caddy com um arquivo Caddy específico: + +`caddy run --config {{caminho/para/arquivoCaddy}}` + +- Inicia Caddy no plano de fundo: + +`caddy start` + +- Para um processo Caddy em plano de fundo: + +`caddy stop` + +- Executa um servidor de arquivo simples na porta especificada, com uma interface navegável: + +`caddy file-server --listen :{{8000}} --browse` + +- Executa um servidor proxy reverso: + +`caddy reverse-proxy --from :{{80}} --to localhost:{{8000}}` diff --git a/pages.pt_BR/common/calc.md b/pages.pt_BR/common/calc.md new file mode 100644 index 00000000000000..c23792aa1b80dc --- /dev/null +++ b/pages.pt_BR/common/calc.md @@ -0,0 +1,36 @@ +# calc + +> Uma calculadora interativa de precisão arbitrária no terminal. +> Mais informações: . + +- Inicia a `calc` no modo interativo: + +`calc` + +- Realiza um cálculo no modo não interativo: + +`calc '{{85 * (36 / 4)}}'` + +- Realiza um cálculo sem qualquer formatação de saída (para usar com pipes): + +`calc -p '{{4/3 * pi() * 5^3}}'` + +- Realiza um cálculo e, em seguida, altera para o modo [i]nterativo: + +`calc -i '{{sqrt(2)}}'` + +- Inicia `calc` em um [m]odo de permissão específico (0 até 7, o padrão é 7): + +`calc -m {{modo}}` + +- Exibe uma introdução à `calc`: + +`calc help intro` + +- Exibe uma visão geral da `calc`: + +`calc help overview` + +- Abre o manual da `calc`: + +`calc help` diff --git a/pages.pt_BR/common/calendar.md b/pages.pt_BR/common/calendar.md new file mode 100644 index 00000000000000..1aa927476b8910 --- /dev/null +++ b/pages.pt_BR/common/calendar.md @@ -0,0 +1,20 @@ +# calendar + +> Mostra eventos de um arquivo calendar. +> Mais informações: . + +- Mostra eventos para hoje e amanhã (ou para o final de semana na sexta-feira) do calendário padrão: + +`calendar` + +- Mostra eventos marcados para os próximos 30 dias ([A]head): + +`calendar -A {{30}}` + +- Mostra eventos ocorridos nos últimos 7 dias ([B]ack): + +`calendar -B {{7}}` + +- Mostra eventos de um calendário personalizado, salvo no caminho especificado ([f]ile): + +`calendar -f {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/cancel.md b/pages.pt_BR/common/cancel.md new file mode 100644 index 00000000000000..df611f4f8708d5 --- /dev/null +++ b/pages.pt_BR/common/cancel.md @@ -0,0 +1,33 @@ +# cancel + +> Cancela trabalhos de impressão. +> Veja também: `lp`, `lpmove`, `lpstat`. +> Mais informações: . + +- Cancela o trabalho atual da impressora padrão (definida com `lpoptions -d {{impressora}}`): + +`cancel` + +- Cancela todos os trabalhos da impressora padrão que pertencem a um usuário específico: + +`cancel -u {{nome_do_usuário}}` + +- Cancela o trabalho atual de uma impressora específica: + +`cancel {{impressora}}` + +- Cancela um trabalho específico de uma impressora específica: + +`cancel {{impressora}}-{{id_do_trabalho}}` + +- Cancela todos os trabalhos de todas as impressoras: + +`cancel -a` + +- Cancela todos os trabalhos de uma impressora específica: + +`cancel -a {{impressora}}` + +- Cancela o trabalho atual de um servidor específico e então deleta os arquivos de dados do trabalho: + +`cancel -h {{servidor}} -x` diff --git a/pages.pt_BR/common/cargo-add.md b/pages.pt_BR/common/cargo-add.md new file mode 100644 index 00000000000000..f2dc464e48b0db --- /dev/null +++ b/pages.pt_BR/common/cargo-add.md @@ -0,0 +1,32 @@ +# cargo add + +> Adiciona dependências ao arquivo `Cargo.toml` de um projeto Rust. +> Mais informações: . + +- Adiciona a versão mais recente de uma dependência ao projeto atual: + +`cargo add {{dependência}}` + +- Adiciona uma versão específica de uma dependência: + +`cargo add {{dependência}}@{{versão}}` + +- Adiciona uma dependência e habilita uma ou mais funcionalidades específicas: + +`cargo add {{dependência}} --features {{funcionalidade_1}},{{funcionalidade_2}}` + +- Adiciona uma dependência opcional, que será exposta como uma funcionalidade da crate: + +`cargo add {{dependência}} --optional` + +- Adiciona uma crate local como dependência: + +`cargo add --path {{caminho/para/crate}}` + +- Adiciona uma dependência de desenvolvimento ou de compilação: + +`cargo add {{dependência}} --{{dev|build}}` + +- Adiciona uma dependência com todas as funcionalidades padrão desabilitadas: + +`cargo add {{dependência}} --no-default-features` diff --git a/pages.pt_BR/common/cargo-build.md b/pages.pt_BR/common/cargo-build.md new file mode 100644 index 00000000000000..7d877436f18320 --- /dev/null +++ b/pages.pt_BR/common/cargo-build.md @@ -0,0 +1,32 @@ +# cargo build + +> Compila um projeto Rust em um pacote local incluindo todas as suas dependências. +> Mais informações: . + +- Compila o pacote ou pacotes definidos pelo arquivo `Cargo.toml` no diretório local: + +`cargo {{[b|build]}}` + +- Compila os artefatos em modo de publicação (release), com otimizações: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- Compila um pacote garantindo que o `Cargo.lock` esteja atualizado: + +`cargo {{[b|build]}} --locked` + +- Compila todos os pacotes no workspace: + +`cargo {{[b|build]}} --workspace` + +- Compila um pacote específico: + +`cargo {{[b|build]}} {{[-p|--package]}} {{pacote}}` + +- Compila apenas o binário especificado: + +`cargo {{[b|build]}} --bin {{nome}}` + +- Compila apenas um teste específico: + +`cargo {{[b|build]}} --test {{nome_do_teste}}` diff --git a/pages.pt_BR/common/cargo-clippy.md b/pages.pt_BR/common/cargo-clippy.md new file mode 100644 index 00000000000000..30624cb551ee7f --- /dev/null +++ b/pages.pt_BR/common/cargo-clippy.md @@ -0,0 +1,36 @@ +# cargo clippy + +> Conjunto de validadores para identificar erros comuns e melhorar código em Rust. +> Mais informações: . + +- Executa verificações no código no diretório atual: + +`cargo clippy` + +- Executa verificações garantindo que o `Cargo.lock` esteja atualizado: + +`cargo clippy --locked` + +- Executa verificações em todos os pacotes no workspace: + +`cargo clippy --workspace` + +- Executa verificações para um pacote específico: + +`cargo clippy --package {{pacote}}` + +- Executa verificações para um grupo de validadores (veja ): + +`cargo clippy -- --warn clippy::{{grupo_de_validadores}}` + +- Executa validações tratando avisos como erros: + +`cargo clippy -- --deny warnings` + +- Executa verificações e ignora avisos: + +`cargo clippy -- --allow warnings` + +- Aplica automaticamente as sugestões do Clippy: + +`cargo clippy --fix` diff --git a/pages.pt_BR/common/cargo-doc.md b/pages.pt_BR/common/cargo-doc.md new file mode 100644 index 00000000000000..ac459df2c9c294 --- /dev/null +++ b/pages.pt_BR/common/cargo-doc.md @@ -0,0 +1,20 @@ +# cargo doc + +> Constrói e visualiza a documentação de um pacote Rust, opcionalmente em modo offline. +> Mais informações: . + +- Constrói a documentação do projeto atual e de todas as dependências: + +`cargo {{[d|doc]}}` + +- Não constrói documentação de dependências: + +`cargo {{[d|doc]}} --no-deps` + +- Constrói e visualiza a documentação em um navegador: + +`cargo {{[d|doc]}} --open` + +- Constrói e visualiza a documentação de um pacote específico: + +`cargo {{[d|doc]}} --open {{[-p|--package]}} {{pacote}}` diff --git a/pages.pt_BR/common/cargo-rustc.md b/pages.pt_BR/common/cargo-rustc.md new file mode 100644 index 00000000000000..2f81722712139b --- /dev/null +++ b/pages.pt_BR/common/cargo-rustc.md @@ -0,0 +1,36 @@ +# cargo rustc + +> Compila um pacote Rust. +> Mais informações: . + +- Compila o pacote e passa opções para `rustc`: + +`cargo rustc -- {{rustc_options}}` + +- Compila os artefatos em modo de publicação (release), com otimizações: + +`cargo rustc --release` + +- Compila com otimizações específicas para a arquitetura do CPU atual: + +`cargo rustc --release -- -C target-cpu=native` + +- Compila com otimização de velocidade: + +`cargo rustc -- -C opt-level {{1|2|3}}` + +- Compila com otimização de tamanho (`z` também desativa a vetorização de ciclos): + +`cargo rustc -- -C opt-level {{s|z}}` + +- Verifica se o pacote usa código com padrões inseguros de acesso à memória: + +`cargo rustc --lib -- -D unsafe-code` + +- Compila um pacote específico: + +`cargo rustc --package {{pacote}}` + +- Compila apenas o binário especificado: + +`cargo rustc --bin {{nome}}` diff --git a/pages.pt_BR/common/cargo-test.md b/pages.pt_BR/common/cargo-test.md new file mode 100644 index 00000000000000..1b89fb8f3dca9d --- /dev/null +++ b/pages.pt_BR/common/cargo-test.md @@ -0,0 +1,28 @@ +# cargo test + +> Executa os testes unitários e de integração de um pacote Rust. +> Mais informações: . + +- Executa apenas os testes que contenham um texto específico em seus nomes: + +`cargo {{[t|test]}} {{nomedoteste}}` + +- Define o número de casos de teste para execução simultânea: + +`cargo {{[t|test]}} -- --test-threads {{quantidade}}` + +- Testa os artefatos em modo de publicação (release), com otimizações: + +`cargo {{[t|test]}} {{[-r|--release]}}` + +- Testa todos os pacotes no workspace: + +`cargo {{[t|test]}} --workspace` + +- Executa testes para um pacote específico: + +`cargo {{[t|test]}} {{[-p|--package]}} {{pacote}}` + +- Executa testes sem ocultar a saída das execuções dos testes: + +`cargo {{[t|test]}} -- --nocapture` diff --git a/pages.pt_BR/common/cargo.md b/pages.pt_BR/common/cargo.md new file mode 100644 index 00000000000000..90f70e074bd2dc --- /dev/null +++ b/pages.pt_BR/common/cargo.md @@ -0,0 +1,37 @@ +# cargo + +> Gerencia projetos Rust e as dependências dos modulos (crates). +> Alguns subcomandos como `build` tem a sua própria documentação. +> Mais informações: . + +- Procura por crates: + +`cargo search {{string_procurada}}` + +- Instala uma crate: + +`cargo install {{nome_da_crate}}` + +- Lista as crates instaladas: + +`cargo install --list` + +- Cria um novo binário ou projeyo Rust de biblioteca no diretório especificado (ou o diretório atual por padrão): + +`cargo init --{{bin|lib}} {{caminho/para/diretório}}` + +- Adiciona uma dependência ao Cargo.toml no diretório atual: + +`cargo add {{dependência}}` + +- Constrói o projeto Rust no diretório atual usando o perfil de lançamento: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- Constrói o projeto Rust no diretório atual utilizando o nightly compilador: + +`cargo +nightly {{[b|build]}}` + +- Constrói o projeto Rust utilizando um número específico de threads (padrão é o número de cores do CPU): + +`cargo {{[b|build]}} --jobs {{número_de_threads}}` diff --git a/pages.pt_BR/common/cat.md b/pages.pt_BR/common/cat.md index 4263c90409587b..813fee520d3925 100644 --- a/pages.pt_BR/common/cat.md +++ b/pages.pt_BR/common/cat.md @@ -1,19 +1,24 @@ # cat > Exibe e concatena o conteúdo de arquivos. +> Mais informações: . -- Exibir o conteúdo de um arquivo no terminal: +- Exibe o conteúdo de um arquivo na `stdout`: -`cat {{arquivo}}` +`cat {{caminho/para/arquivo}}` -- Concatenar o conteúdo de vários arquivos em um arquivo de destino: +- Concatena o conteúdo de vários arquivos em um arquivo de saída: -`cat {{arquivo1}} {{arquivo2}} > {{arquivo_de_destino}}` +`cat {{caminho/para/arquivo1 caminho/para/arquivo2 ...}} > {{caminho/para/arquivo_de_saída}}` -- Adicionar o conteúdo de vários arquivos ao final de um arquivo de destino: +- Anexa o conteúdo de vários arquivos ao final de um arquivo de saída: -`cat {{arquivo1}} {{arquivo2}} >> {{arquivo_de_destino}}` +`cat {{caminho/para/arquivo1 caminho/para/arquivo2 ...}} >> {{caminho/para/arquivo_de_saída}}` -- Exibir o conteúdo de um arquivo no terminal numerando as linhas: +- Copia o conteúdo de um arquivo em um arquivo de saída sem armazenamento em buffer: -`cat -n {{arquivo}}` +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` + +- Escreve a `stdin` em um arquivo: + +`cat - > {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/cd.md b/pages.pt_BR/common/cd.md new file mode 100644 index 00000000000000..d9ebbc3c3fab17 --- /dev/null +++ b/pages.pt_BR/common/cd.md @@ -0,0 +1,28 @@ +# cd + +> Altera o diretório de trabalho atual. +> Mais informações: . + +- Vai para o diretório especificado: + +`cd {{caminho/para/diretório}}` + +- Vai para o diretório pai do diretório atual: + +`cd ..` + +- Vai para o diretório home do usuário atual: + +`cd` + +- Vai para o diretório home de um usuário especificado: + +`cd ~{{nome_de_usuário}}` + +- Vai para o diretório escolhido anteriormente: + +`cd -` + +- Vai para o diretório raiz: + +`cd /` diff --git a/pages.pt_BR/common/certutil.md b/pages.pt_BR/common/certutil.md new file mode 100644 index 00000000000000..5f57ed117f9ed5 --- /dev/null +++ b/pages.pt_BR/common/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> Gerencie chaves e certificados em bancos de dados e tokens NSS. +> Mais informações: . + +- Cria um novo banco de dados de certificados: + +`certutil -N -d .` + +- Lista todos os certificados em um banco de dados: + +`certutil -L -d .` + +- Lista todas as chaves privadas em um banco de dados: + +`certutil -K -d . -f {{caminho/para/arquivo_de_senha.txt}}` + +- Importa o certificado assinado para o banco de dados dos solicitantes: + +`certutil -A -n "{{certificado_do_servidor}}" -t ",," -i {{caminho/para/arquivo.crt}} -d .` + +- Adiciona nomes de assunto a um determinado certificado: + +`certutil -S -f {{caminho/para/arquivo_de_senha.txt}} -d . -t ",," -c "{{certificado_do_servidor}}" -n "{{nome_do_servidor}}" -g {{2048}} -s "CN={{nome_comum}},O={{organização}}"` diff --git a/pages.pt_BR/common/chmod.md b/pages.pt_BR/common/chmod.md new file mode 100644 index 00000000000000..41466d435bd6da --- /dev/null +++ b/pages.pt_BR/common/chmod.md @@ -0,0 +1,36 @@ +# chmod + +> Muda a permissão de acesso de um arquivo ou diretório. +> Mais informações: . + +- Dá ao [u]suário dono de um arquivo o direito de e[x]ecutá-lo: + +`chmod u+x {{arquivo}}` + +- Dá ao [u]suário direitos para le[r] e [w]escrever em um arquivo/diretório: + +`chmod u+rw {{arquivo_ou_diretorio}}` + +- Remove direitos e[x]ecutáveis de um [g]rupo: + +`chmod g-x {{arquivo}}` + +- Dá a [a]todos os usuários direitos para le[r] e e[x]ecutar: + +`chmod a+rx {{arquivo}}` + +- Dá para [o]utros (que não estejam no grupo do proprietário do arquivo) os mesmos direitos que o [g]rupo: + +`chmod o=g {{arquivo}}` + +- Remove todos os direitos de [o]utros: + +`chmod o= {{arquivo}}` + +- Muda recursivamente as permissões, dando para [g]rupo e [o]utros a habilidade para [w]escrever: + +`chmod {{[-R|--recursive]}} g+w,o+w {{diretorio}}` + +- Recursivamente concede a [a]todos os usuários permissões de leitu[r]a para arquivos e e[X]ecute permissões para sub-diretórios dentro de um diretório: + +`chmod {{[-R|--recursive]}} a+rX {{diretorio}}` diff --git a/pages.pt_BR/common/chown.md b/pages.pt_BR/common/chown.md new file mode 100644 index 00000000000000..5036d4c0c4913e --- /dev/null +++ b/pages.pt_BR/common/chown.md @@ -0,0 +1,28 @@ +# chown + +> Muda o usuário e grupo donos de arquivos e diretórios. +> Mais informações: . + +- Muda o usuário que é dono de um arquivo ou diretório: + +`chown {{usuario}} {{caminho/para/arquivo_ou_diretório}}` + +- Muda o usuário e grupo que são donos de um arquivo/diretório: + +`chown {{usuario}}:{{grupo}} {{caminho/para/arquivo_ou_diretório}}` + +- Muda o usuário dono e o grupo para que ambos tenha o nome `usuario`: + +`chown {{usuario}}: {{caminho/para/arquivo_ou_diretorio}}` + +- Recursivamente muda o dono de um diretório e seu conteúdo: + +`chown {{[-R|--recursive]}} {{usuario}} {{caminho/para/diretório}}` + +- Muda o dono de um link simbólico: + +`chown {{[-h|--no-dereference]}} {{usuario}} {{caminho/para/symlink}}` + +- Muda o dono de um arquivo/diretório para ficar igual a um arquivo de referência: + +`chown --reference {{caminho/para/arquivo_de_referência}} {{caminho/para/arquivo_ou_diretório}}` diff --git a/pages.pt_BR/common/chromium.md b/pages.pt_BR/common/chromium.md new file mode 100644 index 00000000000000..1d5ebfc9155b4b --- /dev/null +++ b/pages.pt_BR/common/chromium.md @@ -0,0 +1,36 @@ +# chromium + +> Navegador web de código aberto desenvolvido e mantido principalmente pela Google. +> Mais informações: . + +- Abre uma URL ou arquivo específico: + +`chromium {{https://example.com|caminho/para/arquivo.html}}` + +- Abre no modo de navegação anônima (incógnito): + +`chromium --incognito {{example.com}}` + +- Abre em uma nova janela: + +`chromium --new-window {{example.com}}` + +- Abre no modo aplicativo (sem barra de tarefas, barra de URL, botões, etc.): + +`chromium --app={{https://example.com}}` + +- Usa um servidor proxy: + +`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Abre com um diretório de perfil customizado: + +`chromium --user-data-dir={{caminho/para/diretório}}` + +- Abre sem validação CORS (útil para testar uma API): + +`chromium --user-data-dir={{caminho/para/diretório}} --disable-web-security` + +- Abre com uma janela DevTools para cada aba aberta: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.pt_BR/common/clamav.md b/pages.pt_BR/common/clamav.md new file mode 100644 index 00000000000000..b051c454d429e6 --- /dev/null +++ b/pages.pt_BR/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> Programa antivírus de código aberto. +> O ClamAV não é um comando, mas um conjunto de comandos. +> Mais informações: . + +- Mostra a página tldr para escanear arquivos usando o daemon `clamd`: + +`tldr clamdscan` + +- Mostra a página tldr para escanear arquivos sem o daemon `clamd` em execução: + +`tldr clamscan` + +- Mostra a página tldr para atualizar as definições de vírus: + +`tldr freshclam` diff --git a/pages.pt_BR/common/clamdscan.md b/pages.pt_BR/common/clamdscan.md new file mode 100644 index 00000000000000..fe9056cf27cef7 --- /dev/null +++ b/pages.pt_BR/common/clamdscan.md @@ -0,0 +1,36 @@ +# clamdscan + +> Faz uma varredura em busca de vírus usando o ClamAV Daemon. +> Mais informações: . + +- Faz uma varredura em um arquivo ou diretório por vulnerabilidades: + +`clamdscan {{caminho/para/arquivo_ou_diretório}}` + +- Faz uma varredura nos dados da `stdin` (entrada padrão): + +`{{comando}} | clamdscan -` + +- Faz uma varredura no diretório atual e lista apenas os arquivos infectados: + +`clamdscan --infected` + +- Gera um relatório da varredura para um arquivo de registro: + +`clamdscan --log {{caminho/para/arquivo_de_registro}}` + +- Move arquivos infectados para um diretório específico: + +`clamdscan --move {{caminho/para/diretório_de_quarentena}}` + +- Remove arquivos infectados: + +`clamdscan --remove` + +- Usa várias threads para para fazer uma varredura em um diretório: + +`clamdscan --multiscan` + +- Passa o descritor de arquivo em vez de transmitir o arquivo para o daemon: + +`clamdscan --fdpass` diff --git a/pages.pt_BR/common/clamscan.md b/pages.pt_BR/common/clamscan.md new file mode 100644 index 00000000000000..40353ef32693d1 --- /dev/null +++ b/pages.pt_BR/common/clamscan.md @@ -0,0 +1,36 @@ +# clamscan + +> Um antivírus de linha de comando. +> Mais informações: . + +- Faz uma varredura em um arquivo por vulnerabilidades: + +`clamscan {{caminho/para/arquivo}}` + +- Faz uma varredura em todos os arquivos recursivamente em um diretório específico: + +`clamscan -r {{caminho/para/diretório}}` + +- Faz uma varredura nos dados da `stdin` (entrada padrão): + +`{{command}} | clamscan -` + +- Especifica um arquivo de banco de dados de vírus ou diretório de arquivos: + +`clamscan --database {{caminho/para/diretório_ou_arquivo_banco_de_dados}}` + +- Faz uma varredura no diretório atual e lista apenas os arquivos infectados: + +`clamscan --infected` + +- Gera um relatório da varredura para um arquivo de registro: + +`clamscan --log {{caminho/para/arquivo_de_registro}}` + +- Move arquivos infectados para um diretório específico: + +`clamscan --move {{caminho/para/diretório_de_quarentena}}` + +- Remove arquivos infectados: + +`clamscan --remove yes` diff --git a/pages.pt_BR/common/clang++.md b/pages.pt_BR/common/clang++.md new file mode 100644 index 00000000000000..82ad5ddf8d0f26 --- /dev/null +++ b/pages.pt_BR/common/clang++.md @@ -0,0 +1,37 @@ +# clang++ + +> Compila arquivos fonte escritos em C++. +> Parte de LLVM. +> Mais informações: . + +- Compila um conjunto de arquivos do código-fonte para um executável binário: + +`clang++ {{caminho/para/arquivo_fonte1.cpp caminho/para/arquivo_fonte2.cpp ...}} {{[-o|--output]}} {{caminho/para/executável_resultante}}` + +- Ativa a saída de todos os erros e avisos: + +`clang++ {{caminho/para/arquivo_fonte.cpp}} -Wall {{[-o|--output]}} {{executável_resultante}}` + +- Mostra avisos comuns, faz depuração de símbolos na saída e otimiza sem afetar a depuração: + +`clang++ {{caminho/para/arquivo_fonte.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{caminho/para/executável_resultante}}` + +- Escolhe um padrão da linguagem para o qual deve-se compilar: + +`clang++ {{caminho/para/arquivo_fonte.cpp}} -std={{c++20}} {{[-o|--output]}} {{caminho/para/executável_resultante}}` + +- Inclui bibliotecas localizadas em um caminho diferente do arquivo fonte: + +`clang++ {{caminho/para/arquivo_fonte.cpp}} {{[-o|--output]}} {{caminho/para/executável_resultante}} -I{{caminho/para/cabeçalho}} -L{{caminho/para/biblioteca}} -l{{caminho/para/nome_da_biblioteca}}` + +- Compila o código-fonte na Representação Intermediária (IR) do LLVM: + +`clang++ {{[-S|--assemble]}} -emit-llvm {{caminho/para/arquivo_fonte.cpp}} {{[-o|--output]}} {{caminho/para/saída.ll}}` + +- Otimiza o programa compilado para desempenho: + +`clang++ {{caminho/para/arquivo_fonte.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{caminho/para/executável_resultante}}` + +- Exibe a versão: + +`clang++ --version` diff --git a/pages.pt_BR/common/clang-cpp.md b/pages.pt_BR/common/clang-cpp.md new file mode 100644 index 00000000000000..46ca1d28c47263 --- /dev/null +++ b/pages.pt_BR/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Este comando é um apelido de `clang++`. + +- Exibe documentação sobre o comando original: + +`tldr clang++` diff --git a/pages.pt_BR/common/clang-format.md b/pages.pt_BR/common/clang-format.md new file mode 100644 index 00000000000000..ad2758cdf25d33 --- /dev/null +++ b/pages.pt_BR/common/clang-format.md @@ -0,0 +1,24 @@ +# clang-format + +> Formata automaticamente código C/C++/Java/JavaScript/Objective-C/Protobuf/C#. +> Mais informações: . + +- Formata um arquivo e exibe o resultado para a `stdout` (saída padrão): + +`clang-format {{caminho/para/arquivo}}` + +- Formata um arquivo "in-place", ou seja, salvando nele mesmo: + +`clang-format -i {{caminho/para/arquivo}}` + +- Formata um arquivo usando um estilo de código predefinido: + +`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} {{caminho/para/arquivo}}` + +- Formata um arquivo usando o arquivo `.clang-format` em um dos diretórios pais do arquivo fonte: + +`clang-format --style=file {{caminho/para/arquivo}}` + +- Gera um arquivo `.clang-format` personalizado: + +`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} --dump-config > {{.clang-format}}` diff --git a/pages.pt_BR/common/clang-tidy.md b/pages.pt_BR/common/clang-tidy.md new file mode 100644 index 00000000000000..9832b82a83d44c --- /dev/null +++ b/pages.pt_BR/common/clang-tidy.md @@ -0,0 +1,20 @@ +# clang-tidy + +> Um linter C/C++ baseado em LLVM para encontrar violações de estilo, bugs e falhas de segurança por meio de análise estática. +> Mais informações: . + +- Executa verificações padrão em um arquivo fonte: + +`clang-tidy {{caminho/para/arquivo.cpp}}` + +- Não executa quaisquer verificações além da verificação `cppcoreguidelines` em um arquivo: + +`clang-tidy {{caminho/para/arquivo.cpp}} -checks={{-*,cppcoreguidelines-*}}` + +- Lista todas as verificações disponíveis: + +`clang-tidy -checks={{*}} -list-checks` + +- Especifica defines (definições) e includes (inclusões) como opções de compilações (após `--`): + +`clang-tidy {{caminho/para/arquivo.cpp}} -- -I{{meu_projeto/include}} -D{{definições}}` diff --git a/pages.pt_BR/common/clang.md b/pages.pt_BR/common/clang.md new file mode 100644 index 00000000000000..aca3d1a88f18b0 --- /dev/null +++ b/pages.pt_BR/common/clang.md @@ -0,0 +1,37 @@ +# clang + +> Compila arquivos fonte escritos em C, C++ e Objective-C. Pode ser usado como um substituto drop-in para GCC. +> Parte de LLVM. +> Mais informações: . + +- Compila vários arquivos fonte para um executável: + +`clang {{caminho/para/arquivo_fonte1.c caminho/para/arquivo_fonte2.c ...}} {{[-o|--output]}} {{caminho/para/executável_resultante}}` + +- Ativa a saída de todos os erros e avisos: + +`clang {{caminho/para/arquivo_fonte.c}} -Wall {{[-o|--output]}} {{executável_resultante}}` + +- Mostra avisos comuns, faz depuração de símbolos na saída e otimiza sem afetar a depuração: + +`clang {{caminho/para/arquivo_fonte.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{caminho/para/executável_resultante}}` + +- Inclui bibliotecas de um caminho diferente: + +`clang {{caminho/para/arquivo_fonte.c}} {{[-o|--output]}} {{caminho/para/executável_resultante}} -I{{caminho/para/cabeçalho}} -L{{caminho/para/biblioteca}} -l{{nome_da_biblioteca}}` + +- Compila o código-fonte na Representação Intermediária (IR) do LLVM: + +`clang {{[-S|--assemble]}} -emit-llvm {{caminho/para/arquivo_fonte.c}} {{[-o|--output]}} {{path/to/output.ll}}` + +- Compila o código-fonte em um arquivo objeto sem vincular: + +`clang {{[-c|--compile]}} {{caminho/para/arquivo_fonte.c}}` + +- Otimiza o programa compilado para desempenho: + +`clang {{caminho/para/arquivo_fonte.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{caminho/para/executável_resultante}}` + +- Exibe a versão: + +`clang --version` diff --git a/pages.pt_BR/common/clangd.md b/pages.pt_BR/common/clangd.md new file mode 100644 index 00000000000000..df872001793097 --- /dev/null +++ b/pages.pt_BR/common/clangd.md @@ -0,0 +1,17 @@ +# clangd + +> Servidor de linguagem que fornece recursos semelhantes aos de IDE aos editores. +> Deve ser usado por meio de um plugin do editor em vez de ser invocado diretamente. +> Mais informações: . + +- Exibe as opções disponíveis: + +`clangd --help` + +- Lista as opções disponíveis: + +`clangd --help-list` + +- Exibe a versão: + +`clangd --version` diff --git a/pages.pt_BR/common/clear.md b/pages.pt_BR/common/clear.md new file mode 100644 index 00000000000000..9cf943d677bb7a --- /dev/null +++ b/pages.pt_BR/common/clear.md @@ -0,0 +1,20 @@ +# clear + +> Limpa a tela do terminal. +> Mais informações: . + +- Limpa a tela (equivalente a apertar `` no terminal Bash): + +`clear` + +- Limpa a tela mantendo o buffer de rolagem do terminal: + +`clear -x` + +- Especifica o tipo de terminal a ser limpado (por padrão é o valor da variável de ambiente `TERM`): + +`clear -T {{tipo_do_terminal}}` + +- Mostra a versão do `ncurses` usado pelo `clear`: + +`clear -V` diff --git a/pages.pt_BR/common/clj.md b/pages.pt_BR/common/clj.md index 0ef76c8a963867..a5a3f51911dc7e 100644 --- a/pages.pt_BR/common/clj.md +++ b/pages.pt_BR/common/clj.md @@ -12,15 +12,15 @@ `clj -X {{namespace/function_name}}` -- Executa a função principal (*main*) do *namespace* especificado: +- Executa a função principal (main) do namespace especificado: `clj -M -m {{namespace}} {{args}}` -- Prepara um projeto resolvendo dependências, baixando bibliotecas, e criando / cacheando *classpaths*: +- Prepara um projeto resolvendo dependências, baixando bibliotecas, e criando / cacheando classpaths: `clj -P` -- Inicia um servidor nREPL com o *middleware* CIDER: +- Inicia um servidor nREPL com o middleware CIDER: `clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactive` diff --git a/pages.pt_BR/common/clojure.md b/pages.pt_BR/common/clojure.md new file mode 100644 index 00000000000000..27181a2d66e77d --- /dev/null +++ b/pages.pt_BR/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Este comando é um apelido de `clj`. + +- Exibe documentação sobre o comando original: + +`tldr clj` diff --git a/pages.pt_BR/common/cmatrix.md b/pages.pt_BR/common/cmatrix.md new file mode 100644 index 00000000000000..4d680cf825fd99 --- /dev/null +++ b/pages.pt_BR/common/cmatrix.md @@ -0,0 +1,20 @@ +# cmatrix + +> Exibe um padrão semelhante à Matrix rolando na tela do terminal. +> Mais informações: . + +- Habilita rolagem assíncrona: + +`cmatrix -a` + +- Altera a cor do texto (verde por padrão): + +`cmatrix -C {{red}}` + +- Habilita modo arco-íris: + +`cmatrix -r` + +- Usa um atraso de atualização da tela de 100 centissegundos (1 segundo): + +`cmatrix -u 100` diff --git a/pages.pt_BR/common/code.md b/pages.pt_BR/common/code.md index 30d12daed93140..aa32993f1de012 100644 --- a/pages.pt_BR/common/code.md +++ b/pages.pt_BR/common/code.md @@ -1,28 +1,36 @@ # code -> Visual Studio Code. -> Mais informações: . +> Editor de código extensível e multi plataforma. +> Mais informações: . -- Abrir o VS Code: +- Inicia Visual Studio Code: `code` -- Abrir o diretório atual no VS Code: +- Abre arquivos/diretórios específicos: -`code .` +`code {{caminho/para/arquivo_ou_diretório1 caminho/para/arquivo_ou_diretório2 ...}}` -- Abrir um arquivo ou diretório no VS Code: +- Compara dois arquivos específicos: -`code {{caminho/para/arquivo-ou-diretório}}` +`code {{[-d|--diff]}} {{caminho/para/arquivo1}} {{caminho/para/arquivo2}}` -- Abrir um arquivo ou diretório numa janela já aberta do VS Code: +- Abre arquivos/diretórios específicos em uma nova janela: -`code --reuse-window {{caminho/para/arquivo-ou-diretório}}` +`code {{[-n|--new-window]}} {{caminho/para/arquivo_ou_diretório1 caminho/para/arquivo_ou_diretório2 ...}}` -- Comparar o conteúdo de dois arquivos no VS Code: +- Instala/desinstala uma extensão específica: -`code -d {{arquivo1}} {{arquivo2}}` +`code --{{install|uninstall}}-extension {{editor.extensão}}` -- Iniciar o VS Code com permissão de super usuário (sudo): +- Imprime as extensões instaladas: -`sudo code {{path/to/file_or_directory}} --user-data-dir` +`code --list-extensions` + +- Imprime extensões instaladas com suas versões: + +`code --list-extensions --show-versions` + +- Inicia o editor como um superusuário (root) enquanto armazena dados do usuário em um diretório específico: + +`sudo code --user-data-dir {{caminho/para/diretório}}` diff --git a/pages.pt_BR/common/coffee.md b/pages.pt_BR/common/coffee.md new file mode 100644 index 00000000000000..e4ee897cf7ba45 --- /dev/null +++ b/pages.pt_BR/common/coffee.md @@ -0,0 +1,24 @@ +# coffee + +> Executa scripts CoffeeScript ou os compila em JavaScript. +> Mais informações: . + +- Executa um script: + +`coffee {{caminho/para/arquivo.coffee}}` + +- Compila para JavaScript e salva em um arquivo com o mesmo nome: + +`coffee --compile {{caminho/para/arquivo.coffee}}` + +- Compila para JavaScript e salva em um arquivo de saída indicado: + +`coffee --compile {{caminho/para/arquivo.coffee}} --output {{caminho/para/arquivo.js}}` + +- Inicia um REPL (shell interativo): + +`coffee --interactive` + +- Observa script para alterações e o executa novamente: + +`coffee --watch {{caminho/para/arquivo.coffee}}` diff --git a/pages.pt_BR/common/cola.md b/pages.pt_BR/common/cola.md new file mode 100644 index 00000000000000..edbd92a44e8964 --- /dev/null +++ b/pages.pt_BR/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Este comando é um apelido de `git-cola`. + +- Exibe documentação sobre o comando original: + +`tldr git-cola` diff --git a/pages.pt_BR/common/command.md b/pages.pt_BR/common/command.md new file mode 100644 index 00000000000000..5701c66da7fe2f --- /dev/null +++ b/pages.pt_BR/common/command.md @@ -0,0 +1,12 @@ +# command + +> Obriga o shell a executar o programa, ignorando qualquer função ou alias com o mesmo nome. +> Mais informações: . + +- Executa o programa ls, mesmo que exista algum alias ls: + +`command {{ls}}` + +- Exibe o caminho para o executável ou a definição do apelido de um comando específico: + +`command -v {{command_name}}` diff --git a/pages.pt_BR/common/compare.md b/pages.pt_BR/common/compare.md new file mode 100644 index 00000000000000..845f8b4152e9f4 --- /dev/null +++ b/pages.pt_BR/common/compare.md @@ -0,0 +1,9 @@ +# compare + +> Este comando é um alias(apelido) de `magick compare`. +> Use para anotar visualmente e matematicamente a diferença entre uma imagem e sua reconstrução. +> Mais informações: . + +- Veja a documentação para o comando original: + +`tldr magick compare` diff --git a/pages.pt_BR/common/compgen.md b/pages.pt_BR/common/compgen.md new file mode 100644 index 00000000000000..8e354bb8c77cf5 --- /dev/null +++ b/pages.pt_BR/common/compgen.md @@ -0,0 +1,24 @@ +# compgen + +> Um programa para auto completar comandos no Bash, ele é executado ao pressionar duas vezes a tecla ``. +> Mais informações: . + +- Exibe todos os comandos que você pode executar: + +`compgen -c` + +- Exibe todos os alias: + +`compgen -a` + +- Exibe todas as funções que você pode executar: + +`compgen -A function` + +- Exibe todas as palavras reservadas do shell: + +`compgen -k` + +- Exibe todos os comandos/alias que iniciam com o termo 'ls': + +`compgen -ac {{ls}}` diff --git a/pages.pt_BR/common/convert.md b/pages.pt_BR/common/convert.md index 26f46e8fff983a..0a35d114a0dc11 100644 --- a/pages.pt_BR/common/convert.md +++ b/pages.pt_BR/common/convert.md @@ -1,28 +1,10 @@ # convert -> Ferramenta de conversão de imagens da Imagemagick. +> Este comando é um alias(apelido) de `magick convert`. +> Nota: esse alias está obsoleto desde ImageMagick 7. Sendo substituído por `magick`. +> Use `magick convert` se precisar usar a ferramenta antiga em versões 7+. > Mais informações: . -- Converter uma imagem do formato JPG para o formato PNG: +- Veja a documentação para o comando original: -`convert {{imagem.jpg}} {{imagem.png}}` - -- Escalar uma imagem para 50% do seu tamanho original: - -`convert {{imagem.png}} -resize 50% {{nova_imagem.png}}` - -- Escalar uma imagem, mantendo as suas proporções originais, para uma dimensão máxima de 640x480: - -`convert {{imagem.png}} -resize 640x480 {{nova_imagem.png}}` - -- Juntar várias imagens horizontalmente: - -`convert {{imagem1.png}} {{imagem2.png}} {{imagem3.png}} +append {{nova_imagem.png}}` - -- Criar um GIF a partir de uma série de imagens, com um intervalo de 100ms entre elas: - -`convert {{imagem1.png}} {{imagem2.png}} {{imagem3.png}} -delay {{100}} {{nova_imagem.gif}}` - -- Criar uma nova imagem de tamanho 800x600 com apenas um fundo sólido vermelho: - -`convert -size {{800x600}} "xc:{{#ff0000}}" {{imagem.png}}` +`tldr magick convert` diff --git a/pages.pt_BR/common/cp.md b/pages.pt_BR/common/cp.md new file mode 100644 index 00000000000000..f2f17ad0928518 --- /dev/null +++ b/pages.pt_BR/common/cp.md @@ -0,0 +1,36 @@ +# cp + +> Copia arquivos e diretórios. +> Mais informações: . + +- Copia um arquivo para outra localização: + +`cp {{caminho/para/arquivo_origem.ext}} {{caminho/para/arquivo_destino.ext}}` + +- Copia um arquivo em outro diretório, mantendo o nome do arquivo: + +`cp {{caminho/para/arquivo_origem.ext}} {{caminho/para/diretório_pai_destino}}` + +- Copia recursivamente o conteúdo de um diretório para outra localização (se o destino existe, o diretório é copiado dentro dele): + +`cp {{[-r|--recursive]}} {{caminho/para/diretório_origem}} {{caminho/para/diretório_destino}}` + +- Copia um diretório recursivamente, em modo verboso (mostra arquivos que estão sendo copiados): + +`cp {{[-vr|--verbose --recursive]}} {{caminho/para/diretório_origem}} {{caminho/para/diretório_destino}}` + +- Copia múltiplos arquivos de uma só vez para um diretório: + +`cp {{[-t|--target-directory]}} {{caminho/para/diretório_destino}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` + +- Copia arquivos de texto para outra localização, em modo interativo (pergunta ao usuário antes de sobrescrever): + +`cp {{[-i|--interactive]}} {{*.txt}} {{caminho/para/diretório_destino}}` + +- Segue links simbólicos antes de copiar: + +`cp {{[-L|--dereference]}} {{link}} {{caminho/para/diretório_destino}}` + +- Usa o primeiro argumento como o diretório destino (útil para `xargs ... | cp -t `): + +`cp {{[-t|--target-directory]}} {{caminho/para/diretório_destino}} {{caminho/para/arquivo_ou_diretório1 caminho/para/arquivo_ou_diretório2 ...}}` diff --git a/pages.pt_BR/common/crontab.md b/pages.pt_BR/common/crontab.md new file mode 100644 index 00000000000000..836eb74933ac32 --- /dev/null +++ b/pages.pt_BR/common/crontab.md @@ -0,0 +1,36 @@ +# crontab + +> Agenda tarefas cron para serem executadas em um intervalo de tempo para o usuário atual. +> Mais informações: . + +- Edita o arquivo crontab para o usuário atual: + +`crontab -e` + +- Edita o arquivo crontab para um usuário específico: + +`sudo crontab -e -u {{usuário}}` + +- Substitui o crontab atual pelo conteúdo do arquivo fornecido: + +`crontab {{caminho/para/arquivo}}` + +- Exibe uma lista de tarefas cron existentes para o usuário atual: + +`crontab -l` + +- Remove todos as tarefas de cron do usuário atual: + +`crontab -r` + +- Exemplo de tarefa executada às 10:00 todos os dias (* significa qualquer valor): + +`0 10 * * * {{comando_para_executar}}` + +- Exemplo de entrada do crontab, que executa um comando a cada 10 minutos: + +`*/10 * * * * {{comando_para_executar}}` + +- Exemplo de entrada do crontab, que executa um determinado script às 02:30 todas as sextas-feiras: + +`30 2 * * Fri {{/caminho/absoluto/para/script.sh}}` diff --git a/pages.pt_BR/common/cups-config.md b/pages.pt_BR/common/cups-config.md new file mode 100644 index 00000000000000..0774f16a7b995b --- /dev/null +++ b/pages.pt_BR/common/cups-config.md @@ -0,0 +1,24 @@ +# cups-config + +> Mostra informação técnica sobre a instalação do seu servidor de impressão CUPS. +> Mais informações: . + +- Mostra onde o CUPS está instalado atualmente: + +`cups-config --serverbin` + +- Mostra a localização do diretório de configuração do CUPS: + +`cups-config --serverroot` + +- Mostra a localização do diretório de dados do CUPS: + +`cups-config --datadir` + +- Exibe ajuda: + +`cups-config --help` + +- Exibe a versão do CUPS: + +`cups-config --version` diff --git a/pages.pt_BR/common/cupsaccept.md b/pages.pt_BR/common/cupsaccept.md new file mode 100644 index 00000000000000..6cfb3884df873f --- /dev/null +++ b/pages.pt_BR/common/cupsaccept.md @@ -0,0 +1,14 @@ +# cupsaccept + +> Aceita trabalhos enviados para um ou mais destinos. +> NOTA: destino se refere a uma impressora ou uma classe de impressoras. +> Veja também: `cupsreject`, `cupsenable`, `cupsdisable`, `lpstat`. +> Mais informações: . + +- Aceita trabalhos de impressão para os destinos especificados: + +`cupsaccept {{destino1 destino2 ...}}` + +- Especifica um servidor diferente: + +`cupsaccept -h {{server}} {{destino1 destino2 ...}}` diff --git a/pages.pt_BR/common/cupsctl.md b/pages.pt_BR/common/cupsctl.md new file mode 100644 index 00000000000000..299a440d160ec8 --- /dev/null +++ b/pages.pt_BR/common/cupsctl.md @@ -0,0 +1,28 @@ +# cupsctl + +> Atualiza ou consulta o cupsd.conf de um server. +> Mais informações: . + +- Exibe os valores de configuração atuais: + +`cupsctl` + +- Exibe os valores de configuração de um servidor específico: + +`cupsctl -h {{servidor[:porta]}}` + +- Ativa a criptografia na conexão ao scheduler: + +`cupsctl -E` + +- Ativa ou desativa o registro de depuração para o arquivo error_log: + +`cupsctl {{--debug-logging|--no-debug-loging}}` + +- Ativa ou desativa administração remota: + +`cupsctl {{--remote-admin|--no-remote-admin}}` + +- Exibe o estado atual do registro de depuração: + +`cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'` diff --git a/pages.pt_BR/common/cupsd.md b/pages.pt_BR/common/cupsd.md new file mode 100644 index 00000000000000..e96b7cee851b16 --- /dev/null +++ b/pages.pt_BR/common/cupsd.md @@ -0,0 +1,36 @@ +# cupsd + +> Daemon de servidor para o servidor de impressão CUPS. +> Mais informações: . + +- Inicia o `cupsd` em segundo plano, ou seja, como um daemon: + +`cupsd` + +- Inicia o `cupsd` em primeiro plano: + +`cupsd -f` + +- Inicia o `cupsd` sob demanda (usado comumente pelo `launchd` ou `systemd`): + +`cupsd -l` + +- Inicia o `cupsd` usando o arquivo de configuração [`c`]`upsd.conf`: + +`cupsd -c {{caminho/para/cupsd.conf}}` + +- Inicia o `cupsd` usando os arquivos de configuração no arquivo `cups-file`[`s`]`.conf`: + +`cupsd -s {{caminho/para/arquivos-cups.conf}}` + +- [t]esta o arquivo de configuração [`c`]`upsd.conf` por erros: + +`cupsd -t -c {{caminho/para/cupsd.conf}}` + +- [t]esta os arquivos de configuração no arquivo `cups-file`[`s`]`.conf` por erros: + +`cupsd -t -s {{caminho/para/arquivos-cups.conf}}` + +- Mostra todas as opções disponíveis: + +`cupsd -h` diff --git a/pages.pt_BR/common/cupsdisable.md b/pages.pt_BR/common/cupsdisable.md new file mode 100644 index 00000000000000..6aa0490fa9648d --- /dev/null +++ b/pages.pt_BR/common/cupsdisable.md @@ -0,0 +1,14 @@ +# cupsdisable + +> Para impressoras e classes. +> NOTA: destino se refere a uma impressora ou uma classe de impressoras. +> Veja também: `cupsenable`, `cupsaccept`, `cupsreject`, `lpstat`. +> Mais informações: . + +- Para um ou mais destino(s): + +`cupsdisable {{destino1 destino2 ...}}` + +- Cancela todos os trabalhos do(s) destino(s) especificado(s): + +`cupsdisable -c {{destino1 destino2 ...}}` diff --git a/pages.pt_BR/common/cupsenable.md b/pages.pt_BR/common/cupsenable.md new file mode 100644 index 00000000000000..7367877f067243 --- /dev/null +++ b/pages.pt_BR/common/cupsenable.md @@ -0,0 +1,18 @@ +# cupsenable + +> Inicia impressoras e classes. +> NOTA: destino se refere a uma impressora ou uma classe de impressoras. +> Veja também: `cupsdisable`, `cupsaccept`, `cupsreject`, `lpstat`. +> Mais informações: . + +- Inicia um ou mais destino(s): + +`cupsenable {{destino1 destino2 ...}}` + +- Resume a impressão de trabalhos pendentes de um destino (use após `cupsdisable` com `--hold`): + +`cupsenable --release {{destination}}` + +- Cancela todos os trabalhos do(s) destino(s) especificado(s): + +`cupsenable -c {{destination1 destination2 ...}}` diff --git a/pages.pt_BR/common/cupsreject.md b/pages.pt_BR/common/cupsreject.md new file mode 100644 index 00000000000000..347b37c75cabf4 --- /dev/null +++ b/pages.pt_BR/common/cupsreject.md @@ -0,0 +1,18 @@ +# cupsreject + +> Rejeita trabalhos enviados para uma ou mais impressoras. +> NOTA: destino se refere a uma impressora ou uma classe de impressoras. +> Veja também: `cupsaccept`, `cupsenable`, `cupsdisable`, `lpstat`. +> Mais informações: . + +- Rejeita trabalhos para os destinos especificados: + +`cupsreject {{destino1 destino2 ...}}` + +- Especifica um servidor diferente: + +`cupsreject -h {{servidor}} {{destino1 destino2 ...}}` + +- Especifica uma mensagem de motivo ("Reason Unknown" por padrão): + +`cupsreject -r {{motivo}} {{destino1 destino2 ...}}` diff --git a/pages.pt_BR/common/curl.md b/pages.pt_BR/common/curl.md index db16ae5e66fa49..819d020e07a2c5 100644 --- a/pages.pt_BR/common/curl.md +++ b/pages.pt_BR/common/curl.md @@ -1,37 +1,37 @@ # curl -> Transfere dados entre o computador local e um servidor remoto. -> Suporta a maioria dos protocolos de comunicação, incluindo HTTP, FTP e POP3. -> Mais informações: . +> Transfere dados entre o computador local e um servidor. +> Suporta a maioria dos protocolos de comunicação, incluindo HTTP, HTTPS, FTP, SCP, etc. +> Mais informações: . -- Descarregar os conteúdos de um URL para um arquivo: +- Faz um pedido HTTP GET e descarrega os conteúdos em `stdout` (saída padrão): -`curl {{http://example.com}} -o {{arquivo}}` +`curl {{https://example.com}}` -- Descarregar um arquivo, gravando o resultado sob o nome do arquivo indicado pelo URL: +- Faz um pedido HTTP GET, segue redirecionamentos ``3xx` e descarrega os cabeçalhos da resposta e conteúdos para `stdout`: -`curl -O {{http://example.com/arquivo}}` +`curl {{[-L|--location]}} {{[-D|--dump-header]}} - {{https://example.com}}` -- Descarregar um arquivo, seguindo redirecionamentos e automaticamente continuando transferências idênticas que tenham sido interrompidas: +- Baixa um arquivo, salvando a saída no arquivo indicado pela URL: -`curl -O -L -C - {{http://example.com/arquivo}}` +`curl {{[-O|--remote-name]}} {{https://example.com/arquivo.zip}}` -- Enviar dados codificados por formulário (pedido POST do tipo `application/x-www-form-urlencoded`): +- Envia dados codificados por formulário (pedido POST do tipo `application/x-www-form-urlencoded`). Usa `--data @file_name` ou `--data @'-'` para ler da `stdin`: -`curl -d {{'nome=maria'}} {{http://example.com/formulario}}` +`curl {{[-X|--request]}} POST {{[-d|--data]}} {{'nome=maria'}} {{http://example.com/formulario}}` -- Enviar um pedido com um cabeçalho adicional, usando um método HTTP personalizado: +- Envia um pedido com um cabeçalho adicional, usando um método HTTP personalizado e por meio de um proxy (tal como BurpSuite), ignorando certificados autoassinados inseguros: -`curl -H {{'X-Meu-Cabecalho: 123'}} -X {{PUT}} {{http://example.com}}` +`curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} {{'Authorization: Bearer token'}} {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}` -- Enviar dados no formato JSON, especificando o cabeçalho de tipo de conteúdo (content-type) apropriado: +- Envia dados no formato JSON, especificando o cabeçalho de tipo de conteúdo (content-type) apropriado: -`curl -d {{'{"nome":"maria"}'}} -H {{'Content-Type: application/json'}} {{http://example.com/usuarios/123}}` +`curl {{[-d|--data]}} {{'{"nome":"maria"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/usuarios/1234}}` -- Passar ao pedido o nome de usuário e senha para autenticação no servidor: +- Passa o certificado do cliente e chave para um recurso, pulando a validação do certificado: -`curl -u usuario:senha {{http://example.com}}` +`curl {{[-E|--cert]}} {{cliente.pem}} --key {{chave.pem}} {{[-k|--insecure]}} {{https://example.com}}` -- Passar ao pedido o certificado do cliente e a chave para um recurso, omitindo a validação do certificado: +- Resolve um hostname para um endereço de IP personalizado, com a saída verbosa (similar a editar o arquivo `/etc/hosts` para resolução de DNS personalizada): -`curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://example.com}}` +`curl {{[-v|--verbose]}} --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}` diff --git a/pages.pt_BR/common/cut.md b/pages.pt_BR/common/cut.md new file mode 100644 index 00000000000000..58865502722075 --- /dev/null +++ b/pages.pt_BR/common/cut.md @@ -0,0 +1,20 @@ +# cut + +> Recorta campos do `stdin` ou de arquivos. +> Mais informações: . + +- Imprime um intervalo específico de caracteres/campos de cada linha: + +`{{comando}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}` + +- Imprime um intervalo de campos de cada linha com um delimitador específico: + +`{{comando}} | cut --delimiter "{{,}}" --fields {{1}}` + +- Imprime um intervalo de caracteres de cada linha de um arquivo específico: + +`cut --characters {{1}} {{caminho/para/arquivo}}` + +- Imprime campos específicos de linhas terminadas em `NUL` (ex.: assim como em `find . -print0`) ao invés de novas linhas: + +`{{comando}} | cut --zero-terminated --fields {{1}}` diff --git a/pages.pt_BR/common/daps.md b/pages.pt_BR/common/daps.md new file mode 100644 index 00000000000000..f6edfb37a92e4e --- /dev/null +++ b/pages.pt_BR/common/daps.md @@ -0,0 +1,24 @@ +# daps + +> DAPS é um programa de código aberto para transformar DocBook XML em formatos de saída como HTML ou PDF. +> Mais informações: . + +- Verifica se um arquivo DocBook XML é válido: + +`daps -d {{caminho/para/arquivo.xml}} validate` + +- Converte um arquivo DocBook XML para PDF: + +`daps -d {{caminho/para/arquivo.xml}} pdf` + +- Converte um arquivo DocBook XML em um único arquivo HTML: + +`daps -d {{caminho/para/arquivo.xml}} html --single` + +- Exibe ajuda: + +`daps --help` + +- Exibe versão: + +`daps --version` diff --git a/pages.pt_BR/common/darkhttpd.md b/pages.pt_BR/common/darkhttpd.md new file mode 100644 index 00000000000000..9aab6695746d9e --- /dev/null +++ b/pages.pt_BR/common/darkhttpd.md @@ -0,0 +1,16 @@ +# darkhttpd + +> Servidor web Darkhttpd. +> Mais informações: . + +- Inicia o servidor servindo a raiz do documento especificada: + +`darkhttpd {{caminho/para/raiz_do_documento}}` + +- Inicia o servidor na porta especificada (porta 8080 por padrão se estiver executando como usuário não raiz): + +`darkhttpd {{caminho/para/raiz_do_documento}} --port {{porta}}` + +- Escuta apenas no endereço IP especificado (por padrão, o servidor escuta em todas as interfaces): + +`darkhttpd {{caminho/para/raiz_do_documento}} --addr {{endereço_de_ip}}` diff --git a/pages.pt_BR/common/dart.md b/pages.pt_BR/common/dart.md new file mode 100644 index 00000000000000..1be3d825021c5a --- /dev/null +++ b/pages.pt_BR/common/dart.md @@ -0,0 +1,32 @@ +# dart + +> A ferramenta para gerenciar projetos Dart. +> Mais informações: . + +- Inicializa um novo projeto Dart em um diretório com o mesmo nome: + +`dart create {{nome_do_projeto}}` + +- Executa um arquivo Dart: + +`dart run {{caminho/para/arquivo.dart}}` + +- Baixa as dependências do projeto atual: + +`dart pub get` + +- Executa testes de unidade para o projeto atual: + +`dart test` + +- Atualiza as dependências de um projeto desatualizado para oferecer suporte à segurança nula: + +`dart pub upgrade --null-safety` + +- Compila um arquivo Dart para um binário nativo: + +`dart compile exe {{caminho/para/arquivo.dart}}` + +- Aplica correções automáticas ao projeto atual: + +`dart fix --apply` diff --git a/pages.pt_BR/common/dash.md b/pages.pt_BR/common/dash.md new file mode 100644 index 00000000000000..18da6544b91f4f --- /dev/null +++ b/pages.pt_BR/common/dash.md @@ -0,0 +1,32 @@ +# dash + +> Debian Almquist Shell, uma implementação moderna e compatível com POSIX de `sh` (não compatível com Bash). +> Mais informações: . + +- Inicia uma sessão de shell interativa: + +`dash` + +- Executa [c]omandos específicos: + +`dash -c "{{echo 'dash executado'}}"` + +- Executa um script específico: + +`dash {{caminho/para/script.sh}}` + +- Checar erros de sintaxe em um script específico: + +`dash -n {{caminho/para/script.sh}}` + +- Executa comandos de um script, imprimindo cada comando antes de executá-lo: + +`dash -x {{caminho/para/script.sh}}` + +- Executa comandos de um script, parando no primeiro [e]rro: + +`dash -e {{caminho/para/script.sh}}` + +- Executa comandos específicos de `stdin`: + +`{{echo "echo 'dash executado'"}} | dash` diff --git a/pages.pt_BR/common/date.md b/pages.pt_BR/common/date.md new file mode 100644 index 00000000000000..244f0a3639a949 --- /dev/null +++ b/pages.pt_BR/common/date.md @@ -0,0 +1,36 @@ +# date + +> Define ou exibe a data do sistema. +> Mais informações: . + +- Exibe a data atual usando o formato padrão de localidade: + +`date +%c` + +- Exibe a data atual em UTC, usando o formato ISO 8601: + +`date -u +%Y-%m-%dT%H:%M:%S%Z` + +- Exibe a data atual em Unix timestamp - segundos desde 00:00:00 UTC de 1 de janeiro de 1970 (Unix epoch): + +`date +%s` + +- Converte uma data especificada como Unix timestamp para o formato padrão: + +`date -d @{{1473305798}}` + +- Converte uma determinada data pra Unix timestamp: + +`date -d "{{2018-09-01 00:00}}" +%s --utc` + +- Exibe a data atual usando o formato RFC-3339 (`YYYY-MM-DD hh:mm:ss TZ`): + +`date --rfc-3339 s` + +- Define a data atual usando o formato `MMDDhhmmYYYY.ss` (`YYYY` e `.ss` são opcionais): + +`date {{093023592021.59}}` + +- Exibe o número da semana ISO atual: + +`date +%V` diff --git a/pages.pt_BR/common/dd.md b/pages.pt_BR/common/dd.md new file mode 100644 index 00000000000000..3a167f35c7d63a --- /dev/null +++ b/pages.pt_BR/common/dd.md @@ -0,0 +1,24 @@ +# dd + +> Converte e copia um arquivo. +> Mais informações: . + +- Cria um dispositivo USB inicializável a partir de um arquivo isohybrid (tal como `archlinux-xxx.iso`) e mostra o progresso: + +`dd if={{caminho/para/arquivo.iso}} of={{/dev/dispositivo_usb}} status=progress` + +- Clona um dispositivo para outro dispositivo com bloco de 4 MiB e descarta escritas antes que o comando termine: + +`dd bs=4194304 conv=fsync if={{/dev/dispositivo_origem}} of={{/dev/dispositivo_destino}}` + +- Gera um arquivo com um número específico de bytes aleatórios utilizando o driver random do kernel: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{caminho/para/arquivo_aleatório}}` + +- Faz análise do desempenho da escrita sequencial de um disco: + +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{caminho/para/arquivo_1GB}}` + +- Cria um backup do sistema, salva-o em arquivo IMG (pode ser restaurado posteriormente trocando `if` e `of`) e mostra o progresso: + +`dd if={{/dev/dispositivo}} of={{caminho/para/arquivo.img}} status=progress` diff --git a/pages.pt_BR/common/diff.md b/pages.pt_BR/common/diff.md new file mode 100644 index 00000000000000..1b58cd20d2c11f --- /dev/null +++ b/pages.pt_BR/common/diff.md @@ -0,0 +1,36 @@ +# diff + +> Compara diretórios e arquivos. +> Mais informações: . + +- Compara arquivos (mostra as mudanças necessárias para transformar `arquivo_antigo` em `arquivo_novo`): + +`diff {{arquivo_antigo}} {{arquivo_novo}}` + +- Compara arquivos, ignorando espaço: + +`diff {{[-w|--ignore-all-space]}} {{arquivo_antigo}} {{arquivo_novo}}` + +- Compara arquivos, mostrando diferenças lado a lado: + +`diff {{[-y|--side-by-side]}} {{arquivo_antigo}} {{arquivo_novo}}` + +- Compara arquivos, mostrando as diferenças de forma padronizada como feito por `git diff`: + +`diff {{[-u|--unified]}} {{arquivo_antigo}} {{arquivo_novo}}` + +- Compara diretórios recursivamente (mostra nomes de diretórios e arquivos diferentes assim como mudanças nos arquivos): + +`diff {{[-r|--recursive]}} {{arquivo_antigo}} {{arquivo_novo}}` + +- Compara diretórios, mostrando apenas os nomes dos arquivos diferentes: + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{arquivo_antigo}} {{arquivo_novo}}` + +- Cria um arquivo patch para o Git a partir das diferenças entre dois arquivos, tratando arquivos ausentes como vazios: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{arquivo_antigo}} {{arquivo_novo}} > {{diferenca.patch}}` + +- Compara arquivos, mostra a saída em cores e tenta fortemente encontrar um conjunto menor de alterações: + +`diff {{[-d|--minimal]}} --color=always {{arquivo_antigo}} {{arquivo_novo}}` diff --git a/pages.pt_BR/common/dig.md b/pages.pt_BR/common/dig.md new file mode 100644 index 00000000000000..34db1047ca3c70 --- /dev/null +++ b/pages.pt_BR/common/dig.md @@ -0,0 +1,36 @@ +# dig + +> Utilitário de pesquisa de DNS. +> Mais informações: . + +- Pesquisa o(s) IP(s) associados a um hostname (registros A): + +`dig +short {{example.com}}` + +- Obtém uma resposta detalhada para um determinado domínio (registros A): + +`dig +noall +answer {{example.com}}` + +- Consulta um tipo de registro DNS específico associado a um nome de domínio fornecido: + +`dig +short {{example.com}} {{A|MX|TXT|CNAME|NS}}` + +- Especifica um DNS alternativo para busca e opcionalmente usa DNS sobre TLS (DoT): + +`dig {{+tls}} @{{1.1.1.1|8.8.8.8|9.9.9.9|...}} {{example.com}}` + +- Performa uma busca reversa de DNS em um endereço de IP (registro PTR): + +`dig -x {{8.8.8.8}}` + +- Encontra servidores de nomes autorizados para a região e exibe os registros SOA: + +`dig +nssearch {{example.com}}` + +- Performa consultas iterativas e exibe o caminho de ratreio completo para resolver um nome de domínio: + +`dig +trace {{example.com}}` + +- Busca um servidor DNS sobre uma [p]orta não padrão usando protocolo TCP: + +`dig +tcp -p {{porta}} @{{ip_servidor_dns}} {{example.com}}` diff --git a/pages.pt_BR/common/docker-build.md b/pages.pt_BR/common/docker-build.md index 3afcf28baaf5ce..b62694524bfe56 100644 --- a/pages.pt_BR/common/docker-build.md +++ b/pages.pt_BR/common/docker-build.md @@ -1,28 +1,32 @@ # docker build > Cria uma imagem a partir de um Dockerfile. -> Mais informações: . +> Mais informações: . -- Cria uma imagem docker usando o Dockerfile presente no diretório atual: +- Cria uma imagem Docker usando o Dockerfile no diretório atual: `docker build .` -- Cria uma imagem docker usando o Dockerfile de uma URL específica: +- Cria uma imagem Docker a partir de um Dockerfile em uma URL específica: `docker build {{github.com/creack/docker-firefox}}` -- Cria uma imagem docker e cria uma tag para ela: +- Cria uma imagem Docker e cria uma etiqueta para ela: -`docker build --tag {{nome:tag}} .` +`docker build {{[-t|--tag]}} {{nome:etiqueta}} .` + +- Cria uma imagem Docker sem contexto de criação: + +`docker build {{[-t|--tag]}} {{nome:etiqueta}} - < {{Dockerfile}}` - Não usa o cache na criação da imagem: -`docker build --no-cache --tag {{nome:tag}} .` +`docker build --no-cache {{[-t|--tag]}} {{nome:etiqueta}} .` -- Cria uma imagem docker usando um Dockerfile específico: +- Cria uma imagem Docker usando um Dockerfile específico: -`docker build --file {{Dockerfile}} .` +`docker build {{[-f|--file]}} {{Dockerfile}} .` -- Cria uma imagem docker utilizando variáveis customizadas para a criação de imagens: +- Cria uma imagem Docker utilizando variáveis customizadas para a criação de imagens: `docker build --build-arg {{PROXY_DO_HTTP=http://10.20.30.2:1234}} --build-arg {{PROXY_DO_FTP=http://40.50.60.5:4567}} .` diff --git a/pages.pt_BR/common/docker-commit.md b/pages.pt_BR/common/docker-commit.md new file mode 100644 index 00000000000000..feb1e78d589bff --- /dev/null +++ b/pages.pt_BR/common/docker-commit.md @@ -0,0 +1,32 @@ +# docker commit + +> Criar uma nova imagem a partir das alterações em um contêiner. +> Mais informações: . + +- Cria uma imagem a partir de um contêiner específico: + +`docker commit {{contêiner}} {{imagem}}:{{tag}}` + +- Aplica uma instrução `CMD` do Dockerfile à imagem criada: + +`docker commit {{[-c|--change]}} "CMD {{comando}}" {{contêiner}} {{imagem}}:{{tag}}` + +- Aplica uma instrução `ENV` do Dockerfile à imagem criada: + +`docker commit {{[-c|--change]}} "ENV {{nome}}={{valor}}" {{contêiner}} {{imagem}}:{{tag}}` + +- Cria uma imagem com um autor específico nos metadados: + +`docker commit {{[-a|--author]}} "{{autor}}" {{contêiner}} {{imagem}}:{{tag}}` + +- Cria uma imagem com um comentário específico nos metadados: + +`docker commit {{[-m|--message]}} "{{comentário}}" {{contêiner}} {{imagem}}:{{tag}}` + +- Cria uma imagem sem pausar o contêiner durante o commit: + +`docker commit {{[-p|--pause]}} {{false}} {{contêiner}} {{imagem}}:{{tag}}` + +- Exibe ajuda: + +`docker commit --help` diff --git a/pages.pt_BR/common/docker-compose.md b/pages.pt_BR/common/docker-compose.md new file mode 100644 index 00000000000000..abe6edc1237353 --- /dev/null +++ b/pages.pt_BR/common/docker-compose.md @@ -0,0 +1,36 @@ +# docker compose + +> Executa e gerencia multi-containers de aplicações Docker. +> Mais informações: . + +- Lista todos os containers em execução: + +`docker compose ps` + +- Cria e inicia todos os containers em segundo plano usando um arquivo `docker-compose.yml` do seu diretório atual: + +`docker compose up {{[-d|--detach]}}` + +- Inicia todos os containers. Se necessário, realiza um rebuild: + +`docker compose up --build` + +- Inicia todos os containers especificando um nome de projeta e usando um arquivo de composição alternativo: + +`docker compose {{[-p|--project-name]}} {{nome_do_projeto}} {{[-f|--file]}} {{caminho/para/arquivo}} up` + +- Encerra todos os containers em execução: + +`docker compose stop` + +- Encerra e remove todos os containers, networks, imagens e volumes: + +`docker compose down --rmi all {{[-v|--volumes]}}` + +- Segue os logs de todos os containers: + +`docker compose logs {{[-f|--follow]}}` + +- Segue os logs de um container específico: + +`docker compose logs {{[-f|--follow]}} {{nome_container}}` diff --git a/pages.pt_BR/common/docker-container.md b/pages.pt_BR/common/docker-container.md new file mode 100644 index 00000000000000..7aa43d9e8b456e --- /dev/null +++ b/pages.pt_BR/common/docker-container.md @@ -0,0 +1,36 @@ +# docker container + +> Gerenciar contêineres Docker. +> Mais informações: . + +- Lista os contêineres Docker em execução: + +`docker container ls` + +- Inicia um ou mais contêineres parados: + +`docker container start {{nome_do_contêiner1}} {{nome_do_contêiner2}}` + +- Encerra um ou mais contêineres em execução: + +`docker container kill {{nome_do_contêiner}}` + +- Para um ou mais contêineres em execução: + +`docker container stop {{nome_do_contêiner}}` + +- Pausa todos os processos em um ou mais contêineres: + +`docker container pause {{nome_do_contêiner}}` + +- Exibe informações detalhadas sobre um ou mais contêineres: + +`docker container inspect {{nome_do_contêiner}}` + +- Exporta o sistema de arquivos de um contêiner como um arquivo tar: + +`docker container export {{nome_do_contêiner}}` + +- Cria uma nova imagem a partir das alterações em um contêiner: + +`docker container commit {{nome_do_contêiner}}` diff --git a/pages.pt_BR/common/docker-cp.md b/pages.pt_BR/common/docker-cp.md new file mode 100644 index 00000000000000..dab9660484bf3e --- /dev/null +++ b/pages.pt_BR/common/docker-cp.md @@ -0,0 +1,16 @@ +# docker cp + +> Copia arquivos ou diretórios entre filesystems do host e container. +> Mais informações: . + +- Copia um arquivo ou diretório de um host para um container: + +`docker cp {{caminho/do/arquivo_ou_diretório_do_host}} {{nome_do_container}}:{{caminho/do/arquivo_ou_diretório_do_container}}` + +- Copia um arquivo ou diretório de um container para o host: + +`docker cp {{nome_do_container}}:{{caminho/do/arquivo_ou_diretório_do_container}} {{caminho/do/arquivo_ou_diretório_do_host}}` + +- Copia um diretório de um host para um container, seguindo o link simbólico (copia os arquivos linkados diretamente e não o link simbólico): + +`docker cp {{[-L|--follow-link]}} {{caminho/do/arquivo_ou_diretório_linkado_do_host}} {{nome_do_container}}:{{caminho/do/arquivo_ou_diretório_do_container}}` diff --git a/pages.pt_BR/common/docker-exec.md b/pages.pt_BR/common/docker-exec.md new file mode 100644 index 00000000000000..078bf6ccf28f67 --- /dev/null +++ b/pages.pt_BR/common/docker-exec.md @@ -0,0 +1,28 @@ +# docker exec + +> Executar um comando em um contêiner Docker em execução. +> Mais informações: . + +- Entra em uma sessão de shell interativa em um contêiner em execução: + +`docker exec {{[-it|--interactive --tty]}} {{nome_do_contêiner}} {{/bin/bash}}` + +- Executa um comando em segundo plano (detached) em um contêiner em execução: + +`docker exec {{[-d|--detach]}} {{nome_do_contêiner}} {{comando}}` + +- Seleciona o diretório de trabalho para a execução de um determinado comando: + +`docker exec {{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{caminho/para/diretório}} {{nome_do_contêiner}} {{comando}}` + +- Executa um comando em segundo plano em um contêiner existente, mas mantém o `stdin` aberto: + +`docker exec {{[-i|--interactive]}} {{[-d|--detach]}} {{nome_do_contêiner}} {{comando}}` + +- Define uma variável de ambiente em uma sessão Bash em execução: + +`docker exec {{[-it|--interactive --tty]}} {{[-e|--env]}} {{nome_da_variável}}={{valor}} {{nome_do_contêiner}} {{/bin/bash}}` + +- Executa um comando como um usuário específico: + +`docker exec {{[-u|--user]}} {{usuário}} {{nome_do_contêiner}} {{comando}}` diff --git a/pages.pt_BR/common/docker-image.md b/pages.pt_BR/common/docker-image.md new file mode 100644 index 00000000000000..707d079f46c8ad --- /dev/null +++ b/pages.pt_BR/common/docker-image.md @@ -0,0 +1,21 @@ +# docker image + +> Gerencia imagens do Docker. +> Veja também `docker build`, `docker import` e `docker pull`. +> Mais informações: . + +- Lista imagens Docker locais: + +`docker image ls` + +- Exclui imagens Docker locais não utilizadas: + +`docker image prune` + +- Exclui todas as imagens não utilizadas (não apenas aquelas sem uma etiqueta): + +`docker image prune --all` + +- Mostra o histórico de uma imagem Docker local: + +`docker image history {{imagem}}` diff --git a/pages.pt_BR/common/docker-images.md b/pages.pt_BR/common/docker-images.md index ee9d5035ff6ace..e28560b6aea768 100644 --- a/pages.pt_BR/common/docker-images.md +++ b/pages.pt_BR/common/docker-images.md @@ -1,24 +1,28 @@ # docker images > Gerencia imagens Docker. -> Mais informações: . +> Mais informações: . - Lista todas as imagens Docker: `docker images` -- Lista todas as imagens Docker incluíndo imagens intermedirárias: +- Lista todas as imagens Docker incluindo imagens intermedirárias: -`docker images --all` +`docker images {{[-a|--all]}}` - Lista no modo silencioso (somente IDs numéricos): -`docker images --quiet` +`docker images {{[-q|--quiet]}}` - Lista todas as imagens Docker não usadas por nenhum container: -`docker images --filter dangling=true` +`docker images {{[-f|--filter]}} dangling=true` - Lista imagens que contenham um substring no seu nome: `docker images "{{*nome*}}"` + +- Classifica imagens pelo tamanho: + +`docker images --format "\{\{.ID\}\}\t\{\{.Size\}\}\t\{\{.Repository\}\}:\{\{.Tag\}\}" | sort {{[-k|--key]}} 2 {{[-h|--human-numeric-sort]}}` diff --git a/pages.pt_BR/common/docker-inspect.md b/pages.pt_BR/common/docker-inspect.md new file mode 100644 index 00000000000000..4c87a3ec7c44cd --- /dev/null +++ b/pages.pt_BR/common/docker-inspect.md @@ -0,0 +1,32 @@ +# docker inspect + +> Retorna informações de baixo nível sobre objetos do Docker. +> Mais informações: . + +- Exibe ajuda: + +`docker inspect` + +- Exibe informações sobre um contêiner, imagem ou volume usando um nome ou ID: + +`docker inspect {{contêiner|imagem|ID}}` + +- Exibe o endereço IP de um contêiner: + +`docker inspect {{[-f|--format]}} '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{contêiner}}` + +- Exibe o caminho para o arquivo de log do contêiner: + +`docker inspect {{[-f|--format]}} '\{\{.LogPath\}\}' {{contêiner}}` + +- Exibe o nome da imagem do contêiner: + +`docker inspect {{[-f|--format]}} '\{\{.Config.Image\}\}' {{contêiner}}` + +- Exibe as informações de configuração como JSON: + +`docker inspect {{[-f|--format]}} '\{\{json .Config\}\}' {{contêiner}}` + +- Exibe todas as portas vinculadas: + +`docker inspect {{[-f|--format]}} '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{contêiner}}` diff --git a/pages.pt_BR/common/docker-load.md b/pages.pt_BR/common/docker-load.md new file mode 100644 index 00000000000000..bc2665fe5e8765 --- /dev/null +++ b/pages.pt_BR/common/docker-load.md @@ -0,0 +1,16 @@ +# docker load + +> Carregar imagens do Docker a partir de arquivos ou `stdin`. +> Mais informações: . + +- Carrega uma imagem do Docker a partir do `stdin`: + +`docker load < {{caminho/para/arquivo_imagem.tar}}` + +- Carrega uma imagem do Docker a partir de um arquivo específico: + +`docker load {{[-i|--input]}} {{caminho/para/arquivo_imagem.tar}}` + +- Carrega uma imagem do Docker a partir de um arquivo específico no modo silencioso: + +`docker load {{[-q|--quiet]}} {{[-i|--input]}} {{caminho/para/arquivo_imagem.tar}}` diff --git a/pages.pt_BR/common/docker-login.md b/pages.pt_BR/common/docker-login.md new file mode 100644 index 00000000000000..90175cd3c86ccb --- /dev/null +++ b/pages.pt_BR/common/docker-login.md @@ -0,0 +1,20 @@ +# docker login + +> Fazer login em um registro do Docker. +> Mais informações: . + +- Faz login interativamente em um registro: + +`docker login` + +- Faz login em um registro com um nome de usuário específico (será solicitada a senha): + +`docker login {{[-u|--username]}} {{nome_de_usuário}}` + +- Faz login em um registro com nome de usuário e senha: + +`docker login {{[-u|--username]}} {{nome_de_usuário}} {{[-p|--password]}} {{senha}} {{servidor}}` + +- Faz login em um registro com a senha vinda do `stdin`: + +`echo "{{senha}}" | docker login {{[-u|--username]}} {{nome_de_usuário}} --password-stdin` diff --git a/pages.pt_BR/common/docker-logs.md b/pages.pt_BR/common/docker-logs.md index d0b7a2169cedf8..ec1d2a06bac940 100644 --- a/pages.pt_BR/common/docker-logs.md +++ b/pages.pt_BR/common/docker-logs.md @@ -1,7 +1,7 @@ # docker logs > Exibe os logs dos containers. -> Mais informações: . +> Mais informações: . - Exibe logs de um container: @@ -9,15 +9,15 @@ - Exibe logs de um container e segue exibindo: -`docker logs -f {{nome_do_container}}` +`docker logs {{[-f|--follow]}} {{nome_do_container}}` - Exibe as últimas 5 linhas: -`docker logs {{nome_do_container}} --tail {{5}}` +`docker logs {{nome_do_container}} {{[-n|--tail]}} {{5}}` - Exibe logs e adiciona a informação de hora ao log: -`docker logs -t {{nome_do_container}}` +`docker logs {{[-t|--timestamps]}} {{nome_do_container}}` - Exibe logs até um certo ponto no tempo de execução do container (por exemplo: 23m, 10s, 2013-01-02T13:23:37): diff --git a/pages.pt_BR/common/docker-machine.md b/pages.pt_BR/common/docker-machine.md new file mode 100644 index 00000000000000..9b2fe569642b57 --- /dev/null +++ b/pages.pt_BR/common/docker-machine.md @@ -0,0 +1,28 @@ +# docker-machine + +> Criar e gerenciar máquinas que executam o Docker. +> Mais informações: . + +- Lista as máquinas Docker em execução no momento: + +`docker-machine ls` + +- Cria uma nova máquina Docker com um nome específico: + +`docker-machine create {{nome}}` + +- Obtém o status de uma máquina: + +`docker-machine status {{nome}}` + +- Inicia uma máquina: + +`docker-machine start {{nome}}` + +- Para uma máquina: + +`docker-machine stop {{nome}}` + +- Inspeciona informações sobre uma máquina: + +`docker-machine inspect {{nome}}` diff --git a/pages.pt_BR/common/docker-network.md b/pages.pt_BR/common/docker-network.md new file mode 100644 index 00000000000000..570ce25c072c1d --- /dev/null +++ b/pages.pt_BR/common/docker-network.md @@ -0,0 +1,32 @@ +# docker network + +> Criar e gerenciar redes do Docker. +> Mais informações: . + +- Lista todas as redes disponíveis e configuradas no daemon do Docker: + +`docker network ls` + +- Cria uma rede definida pelo usuário: + +`docker network create {{[-d|--driver]}} {{nome_do_driver}} {{nome_da_rede}}` + +- Exibe informações detalhadas de uma lista separada por espaços de redes: + +`docker network inspect {{nome_da_rede}}` + +- Conecta um contêiner a uma rede usando um nome ou ID: + +`docker network connect {{nome_da_rede}} {{nome_do_contêiner|ID}}` + +- Desconecta um contêiner de uma rede: + +`docker network disconnect {{nome_da_rede}} {{nome_do_contêiner|ID}}` + +- Remove todas as redes não utilizadas (que não são referenciadas por nenhum contêiner): + +`docker network prune` + +- Remove uma lista separada por espaços de redes não utilizadas: + +`docker network rm {{nome_da_rede}}` diff --git a/pages.pt_BR/common/docker-ps.md b/pages.pt_BR/common/docker-ps.md index 9f0092d94ca62f..21499dde3b2293 100644 --- a/pages.pt_BR/common/docker-ps.md +++ b/pages.pt_BR/common/docker-ps.md @@ -1,36 +1,36 @@ # docker ps -> Lista os containers Docker. -> Mais informações: . +> Lista os contêineres Docker. +> Mais informações: . -- Lista containers docker em execução: +- Lista contêineres Docker em execução: `docker ps` -- Lista todos containers docker (em execução e parados): +- Lista todos contêineres Docker (em execução e parados): -`docker ps --all` +`docker ps {{[-a|--all]}}` -- Lista os últimos containers criados (incluí todos os estados): +- Lista os últimos contêineres criados (inclui todos os estados): -`docker ps --latest` +`docker ps {{[-l|--latest]}}` -- Filtra os containers que contém uma substring no seu nome: +- Filtra os contêineres que contêm uma substring no seu nome: -`docker ps --filter="name={{nome}}"` +`docker ps {{[-f|--filter]}} "name={{nome}}"` -- Filtra todos os containers que possuem uma imagem antepassada: +- Filtra todos os contêineres que compartilham uma determinada imagem com um antepassado: -`docker ps --filter "ancestor={{imagem}}:{{tag}}"` +`docker ps {{[-f|--filter]}} "ancestor={{imagem}}:{{tag}}"` -- Filtra containers que tenha o código de saída: +- Filtra contêineres que tenham o código de saída: -`docker ps --all --filter="exited={{código}}"` +`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{código}}"` -- Filtra containers por estado (criado, execução, removendo, pausado, finalizado e morto): +- Filtra contêineres por estado (created, running, removing, paused, exited e dead): -`docker ps --filter="status={{estado}}"` +`docker ps {{[-f|--filter]}} "status={{estado}}"` -- Filtra containers que contenham um volume específico ou montado em um caminho específico: +- Filtra contêineres que montem um volume específico ou tenham um volume montado em um caminho específico: -`docker ps --filter="volume={{caminho/para/diretório}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` +`docker ps {{[-f|--filter]}} "volume={{caminho/para/diretório}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.pt_BR/common/docker-pull.md b/pages.pt_BR/common/docker-pull.md new file mode 100644 index 00000000000000..a63de05cee857e --- /dev/null +++ b/pages.pt_BR/common/docker-pull.md @@ -0,0 +1,24 @@ +# docker pull + +> Baixar imagens do Docker de um registro. +> Mais informações: . + +- Baixa uma imagem específica do Docker: + +`docker pull {{imagem}}:{{tag}}` + +- Baixa uma imagem específica do Docker no modo silencioso: + +`docker pull {{[-q|--quiet]}} {{imagem}}:{{tag}}` + +- Baixa todas as tags de uma imagem específica do Docker: + +`docker pull {{[-a|--all-tags]}} {{imagem}}` + +- Baixa imagens do Docker para uma plataforma específica, por exemplo, linux/amd64: + +`docker pull --platform {{linux/amd64}} {{imagem}}:{{tag}}` + +- Exibe ajuda: + +`docker pull {{[-h|--help]}}` diff --git a/pages.pt_BR/common/docker-rmi.md b/pages.pt_BR/common/docker-rmi.md new file mode 100644 index 00000000000000..74aafefa83b18c --- /dev/null +++ b/pages.pt_BR/common/docker-rmi.md @@ -0,0 +1,20 @@ +# docker rmi + +> Remove uma ou mais imagens Docker. +> Mais informações: . + +- Exibe a ajuda: + +`docker rmi` + +- Remove uma ou mais imagens pelo seus nomes: + +`docker rmi {{imagem1 imagem2 ...}}` + +- Remove forçadamente uma imagem: + +`docker rmi {{[-f|--force]}} {{imagem}}` + +- Remove uma imagem sem apagar suas imagens pais que não possuem tags: + +`docker rmi --no-prune {{imagem}}` diff --git a/pages.pt_BR/common/docker-run.md b/pages.pt_BR/common/docker-run.md index 6b8baf7029ae01..2005309e1ab80d 100644 --- a/pages.pt_BR/common/docker-run.md +++ b/pages.pt_BR/common/docker-run.md @@ -1,7 +1,7 @@ # docker run > Executa um comando em um novo container Docker. -> Mais informações: . +> Mais informações: . - Executa um comando em um novo container de uma imagem tagueada: @@ -9,20 +9,28 @@ - Executa um comando em um novo container em background e exibe o ID: -`docker run -d {{image}} {{command}}` +`docker run {{[-d|--detach]}} {{image}} {{command}}` - Executa um comando em um novo container que será removido após a execução em um modo interativo e com um terminal TTY: -`docker run --rm -it {{image}} {{command}}` +`docker run --rm {{[-it|--interactive --tty]}} {{image}} {{command}}` - Executa um comando em um novo container com variáveis de ambiente: -`docker run -e '{{variável}}={{valor}}' -e {{variável}} {{imagem}} {{comando}}` +`docker run {{[-e|--env]}} '{{variável}}={{valor}}' {{[-e|--env]}} {{variável}} {{imagem}} {{comando}}` - Executa um comando em um novo container montando volumes nos caminhos específicos: -`docker run -v {{caminho/no/host_local}}:{{caminho/no/container}} {{imagem}} {{comando}}` +`docker run {{[-v|--volume]}} {{caminho/no/host_local}}:{{caminho/no/container}} {{imagem}} {{comando}}` - Executa um comando em um novo container e abre as portas para acesso: -`docker run -p {{porta_do_host_local}}:{{porta_do_container}} {{imagem}} {{comando}}` +`docker run {{[-p|--publish]}} {{porta_do_host_local}}:{{porta_do_container}} {{imagem}} {{comando}}` + +- Executa um comando em um novo container sobrescrevendo o entrypoint da imagem: + +`docker run --entrypoint {{comando}} {{imagem}}` + +- Executa um comando em um novo container conectando-o a rede: + +`docker run --network {{rede}} {{imagem}}` diff --git a/pages.pt_BR/common/docker-save.md b/pages.pt_BR/common/docker-save.md new file mode 100644 index 00000000000000..33416cc9cf912f --- /dev/null +++ b/pages.pt_BR/common/docker-save.md @@ -0,0 +1,20 @@ +# docker save + +> Exportar uma ou mais imagens do Docker para um arquivo de arquivamento. +> Mais informações: . + +- Salva uma imagem redirecionando `stdout` para um arquivo tar: + +`docker save {{imagem}}:{{tag}} > {{caminho/para/arquivo.tar}}` + +- Salva uma imagem em um arquivo tar: + +`docker save {{[-o|--output]}} {{caminho/para/arquivo.tar}} {{imagem}}:{{tag}}` + +- Salva todas as tags da imagem: + +`docker save {{[-o|--output]}} {{caminho/para/arquivo.tar}} {{nome_da_imagem}}` + +- Seleciona tags específicas de uma imagem para salvar: + +`docker save {{[-o|--output]}} {{caminho/para/arquivo.tar}} {{nome_da_imagem:tag1 nome_da_imagem:tag2 ...}}` diff --git a/pages.pt_BR/common/docker-secret.md b/pages.pt_BR/common/docker-secret.md new file mode 100644 index 00000000000000..867c8f9d0c95b5 --- /dev/null +++ b/pages.pt_BR/common/docker-secret.md @@ -0,0 +1,24 @@ +# docker secret + +> Gerenciar segredos do Docker swarm. +> Mais informações: . + +- Cria um novo segredo a partir de `stdin`: + +`{{comando}} | docker secret create {{nome_do_segredo}} -` + +- Cria um novo segredo a partir de um arquivo: + +`docker secret create {{nome_do_segredo}} {{caminho/para/arquivo}}` + +- Lista todos os segredos: + +`docker secret ls` + +- Exibe informações detalhadas sobre um ou vários segredos em um formato amigável ao usuário: + +`docker secret inspect --pretty {{nome_do_segredo1 nome_do_segredo2 ...}}` + +- Remove um ou mais segredos: + +`docker secret rm {{nome_do_segredo1 nome_do_segredo2 ...}}` diff --git a/pages.pt_BR/common/docker-service.md b/pages.pt_BR/common/docker-service.md new file mode 100644 index 00000000000000..ba4d15db34b15a --- /dev/null +++ b/pages.pt_BR/common/docker-service.md @@ -0,0 +1,28 @@ +# docker service + +> Gerenciar os serviços em um daemon do Docker. +> Mais informações: . + +- Lista os serviços em um daemon do Docker: + +`docker service ls` + +- Cria um novo serviço: + +`docker service create --name {{nome_do_serviço}} {{imagem}}:{{tag}}` + +- Exibe informações detalhadas de uma lista separada por espaços de serviços: + +`docker service inspect {{nome_do_serviço|ID}}` + +- Lista as tarefas de uma lista separada por espaços de serviços: + +`docker service ps {{nome_do_serviço|ID}}` + +- Escala para um número específico de réplicas para uma lista separada por espaços de serviços: + +`docker service scale {{nome_do_serviço}}={{quantidade_de_réplicas}}` + +- Remove uma lista separada por espaços de serviços: + +`docker service rm {{nome_do_serviço|ID}}` diff --git a/pages.pt_BR/common/docker-slim.md b/pages.pt_BR/common/docker-slim.md new file mode 100644 index 00000000000000..54ae821d76bc3a --- /dev/null +++ b/pages.pt_BR/common/docker-slim.md @@ -0,0 +1,24 @@ +# docker-slim + +> Analisar e otimizar imagens Docker. +> Mais informações: . + +- Inicia o DockerSlim no modo interativo: + +`docker-slim` + +- Analisa as camadas do Docker a partir de uma imagem específica: + +`docker-slim xray --target {{imagem:tag}}` + +- Verifica um Dockerfile: + +`docker-slim lint --target {{caminho/para/Dockerfile}}` + +- Analisa e gera uma imagem Docker otimizada: + +`docker-slim build {{imagem:tag}}` + +- Exibe ajuda para um subcomando: + +`docker-slim {{subcomando}} --help` diff --git a/pages.pt_BR/common/docker-start.md b/pages.pt_BR/common/docker-start.md index e79269db3d103e..803da4d152ea1b 100644 --- a/pages.pt_BR/common/docker-start.md +++ b/pages.pt_BR/common/docker-start.md @@ -1,20 +1,20 @@ # docker start > Inicia um ou mais containers parados. -> Mais informações: . +> Mais informações: . - Exibe a ajuda: `docker start` -- Inicia um container docker: +- Inicia um container Docker: `docker start {{container}}` - Inicia um container, atachando ao terminal os sinais `stdout` e `stderr` e outros sinais: -`docker start --attach {{container}}` +`docker start {{[-a|--attach]}} {{container}}` - Inicia um ou mais containers com ID separados por espaço: -`docker start {{container(s)}}` +`docker start {{container1 container2 ...}}` diff --git a/pages.pt_BR/common/docker-stats.md b/pages.pt_BR/common/docker-stats.md new file mode 100644 index 00000000000000..179a8c306d4495 --- /dev/null +++ b/pages.pt_BR/common/docker-stats.md @@ -0,0 +1,24 @@ +# docker stats + +> Exibe estatísticas dinâmicas de uso de recursos dos containers. +> Mais informações: . + +- Exibe estatísticas atualizadas de todos os containers em execução: + +`docker stats` + +- Exibe estatísticas atualizadas de uma lista separada por espaço dos containers: + +`docker stats {{nome_do_container}}` + +- Altera o formato das colunas para exibir o uso da CPU em porcentagem: + +`docker stats --format "{{.Name}}:\t{{.CPUPerc}}"` + +- Exibe estatísticas para todos os containers (tanto em execução como parados): + +`docker stats {{[-a|--all]}}` + +- Desabilita estatísticas atualizadas e só exibe o status naquele momento: + +`docker stats --no-stream` diff --git a/pages.pt_BR/common/docker-swarm.md b/pages.pt_BR/common/docker-swarm.md new file mode 100644 index 00000000000000..6c3438f3d7392e --- /dev/null +++ b/pages.pt_BR/common/docker-swarm.md @@ -0,0 +1,32 @@ +# docker swarm + +> Uma ferramenta de orquestração de contêineres. +> Mais informações: . + +- Inicializa um cluster do Swarm: + +`docker swarm init` + +- Exibe o token para ingressar como gerenciador ou trabalhador: + +`docker swarm join-token {{worker|manager}}` + +- Ingressa um novo nó ao cluster: + +`docker swarm join --token {{token}} {{url_do_nó_gerenciador:2377}}` + +- Remove um trabalhador do Swarm (executado dentro do nó trabalhador): + +`docker swarm leave` + +- Exibe o certificado CA atual no formato PEM: + +`docker swarm ca` + +- Rotaciona o certificado CA atual e exibe o novo certificado: + +`docker swarm ca --rotate` + +- Altera o período de validade dos certificados dos nós: + +`docker swarm update --cert-expiry {{horas}}h{{minutos}}m{{segundos}}s` diff --git a/pages.pt_BR/common/docker-system.md b/pages.pt_BR/common/docker-system.md new file mode 100644 index 00000000000000..20887ba69c025d --- /dev/null +++ b/pages.pt_BR/common/docker-system.md @@ -0,0 +1,36 @@ +# docker system + +> Gerenciar dados do Docker e exibir informações do sistema em todo o sistema. +> Mais informações: . + +- Mostra ajuda: + +`docker system` + +- Mostra o uso de disco do Docker: + +`docker system df` + +- Mostra informações detalhadas sobre o uso de disco: + +`docker system df {{[-v|--verbose]}}` + +- Remove dados não utilizados: + +`docker system prune` + +- Remove dados não utilizados criados há mais de um período específico no passado: + +`docker system prune --filter "until={{horas}}h{{minutos}}m"` + +- Exibe eventos em tempo real do daemon do Docker: + +`docker system events` + +- Exibe eventos em tempo real de contêineres transmitidos como JSON Lines válidos: + +`docker system events {{[-f|--filter]}} 'type=container' --format '{{json .}}'` + +- Exibe informações em todo o sistema: + +`docker system info` diff --git a/pages.pt_BR/common/docker-tag.md b/pages.pt_BR/common/docker-tag.md new file mode 100644 index 00000000000000..085b551d165096 --- /dev/null +++ b/pages.pt_BR/common/docker-tag.md @@ -0,0 +1,16 @@ +# docker tag + +> Atribuir tags a imagens Docker existentes. +> Mais informações: . + +- Atribui um nome e tag a um ID de imagem específico: + +`docker tag {{id}} {{nome}}:{{tag}}` + +- Atribui uma tag a uma imagem específica: + +`docker tag {{imagem}}:{{tag_atual}} {{imagem}}:{{nova_tag}}` + +- Exibe ajuda: + +`docker tag` diff --git a/pages.pt_BR/common/docker-update.md b/pages.pt_BR/common/docker-update.md new file mode 100644 index 00000000000000..d7287ce1425615 --- /dev/null +++ b/pages.pt_BR/common/docker-update.md @@ -0,0 +1,29 @@ +# docker update + +> Atualizar a configuração de contêineres Docker. +> Este comando não é suportado para contêineres Windows. +> Mais informações: . + +- Atualiza a política de reinicialização a ser aplicada quando um contêiner específico for encerrado: + +`docker update --restart={{always|no|on-failure|unless-stopped}} {{nome_do_contêiner}}` + +- Atualiza a política para reiniciar até três vezes um contêiner específico quando ele for encerrado com status de saída diferente de zero: + +`docker update --restart=on-failure:3 {{nome_do_contêiner}}` + +- Atualiza o número de CPUs disponíveis para um contêiner específico: + +`docker update --cpus {{quantidade}} {{nome_do_contêiner}}` + +- Atualiza o limite de memória em [M]egabytes para um contêiner específico: + +`docker update --memory {{limite}}M {{nome_do_contêiner}}` + +- Atualiza o número máximo de IDs de processos permitidos dentro de um contêiner específico (use `-1` para ilimitado): + +`docker update --pids-limit {{quantidade}} {{nome_do_contêiner}}` + +- Atualiza a quantidade de memória em [M]egabytes que um contêiner específico pode trocar para o disco (use `-1` para ilimitado): + +`docker update --memory-swap {{limite}}M {{nome_do_contêiner}}` diff --git a/pages.pt_BR/common/docker-volume.md b/pages.pt_BR/common/docker-volume.md new file mode 100644 index 00000000000000..a2b19f10d3d9a1 --- /dev/null +++ b/pages.pt_BR/common/docker-volume.md @@ -0,0 +1,36 @@ +# docker volume + +> Gerenciar volumes do Docker. +> Mais informações: . + +- Cria um volume: + +`docker volume create {{nome_do_volume}}` + +- Cria um volume com um rótulo específico: + +`docker volume create --label {{rótulo}} {{nome_do_volume}}` + +- Cria um volume `tmpfs` com tamanho de 100 MiB e uid 1000: + +`docker volume create --opt {{type}}={{tmpfs}} --opt {{device}}={{tmpfs}} --opt {{o}}={{size=100m,uid=1000}} {{nome_do_volume}}` + +- Lista todos os volumes: + +`docker volume ls` + +- Remove um volume: + +`docker volume rm {{nome_do_volume}}` + +- Exibe informações sobre um volume: + +`docker volume inspect {{nome_do_volume}}` + +- Remove todos os volumes locais não utilizados: + +`docker volume prune` + +- Exibe ajuda para um subcomando: + +`docker volume {{subcomando}} --help` diff --git a/pages.pt_BR/common/docker.md b/pages.pt_BR/common/docker.md index 8d2efbdf8d5f54..ead02920f7438c 100644 --- a/pages.pt_BR/common/docker.md +++ b/pages.pt_BR/common/docker.md @@ -1,36 +1,37 @@ # docker > Gerenciador de containers e imagens Docker. -> Mais informações: . +> Alguns subcomandos como `run` tem sua própia documentação de uso. +> Mais informações: . -- Listar os containers Docker que se encontram em execução: +- Lista todos os containers Docker (em execução e parados): -`docker ps` +`docker ps {{[-a|--all]}}` -- Listar todos os containers Docker: - -`docker ps -a` - -- Inicializar um container com um nome personalizado a partir de uma imagem: +- Inicializa um container com um nome personalizado a partir de uma imagem: `docker run --name {{nome_container}} {{imagem}}` -- Começar ou parar um container existente: +- Começa ou para um container existente: `docker {{start|stop}} {{nome_container}}` -- Extrair uma imagem a partir de um Docker Registry: +- Extrai uma imagem a partir de um Docker Registry: `docker pull {{imagem}}` -- Abrir um terminal dentro de um container em execução: +- Mostra a lista de imagens já baixadas: + +`docker images` + +- Abre um terminal dentro de um container em execução: -`docker exec -it {{nome_container}} {{sh}}` +`docker exec {{[-it|--interactive --tty]}} {{nome_container}} {{sh}}` -- Remover um container parado: +- Remove um container parado: `docker rm {{nome_container}}` -- Obter e acompanhar o histórico de um container: +- Obtém e acompanha o histórico de um container: -`docker logs -f {{nome_container}}` +`docker logs {{[-f|--follow]}} {{nome_container}}` diff --git a/pages.pt_BR/common/doxygen.md b/pages.pt_BR/common/doxygen.md index 5cb1eaf236290e..07c8d930e308d6 100644 --- a/pages.pt_BR/common/doxygen.md +++ b/pages.pt_BR/common/doxygen.md @@ -1,16 +1,16 @@ # doxygen > Um sistema de documentação para várias linguagens de programação. -> Mais informações: . +> Mais informações: . -- Gerar um arquivo de configuração padrão (Doxyfile): +- Gera um arquivo de configuração padrão (Doxyfile): `doxygen -g` -- Gerar um arquivo de configuração, especificando o nome do arquivo de configuração: +- Gera um arquivo de configuração, especificando o nome do arquivo de configuração: `doxygen -g {{caminho/para/arquivo_configuração}}` -- Gerar documentação utilizando um arquivo de configuração existente: +- Gera documentação utilizando um arquivo de configuração existente: `doxygen {{caminho/para/arquivo_configuração}}` diff --git a/pages.pt_BR/common/du.md b/pages.pt_BR/common/du.md new file mode 100644 index 00000000000000..1ad88bd088db8a --- /dev/null +++ b/pages.pt_BR/common/du.md @@ -0,0 +1,32 @@ +# du + +> Uso de disco: estima e sumariza o uso de espaço em disco de arquivos e diretórios. +> Mais informações: . + +- Lista os tamanhos dos diretórios e qualquer subdiretório, em uma unidade de tamanho (B/KiB/MiB): + +`du -{{b|k|m}} {{caminho/para/diretório}}` + +- Lista os tamanhos dos diretórios e subdiretórios, em tamanho legível por humanos (isto é seleciona automaticamente a unidade de tamanho apropriada para o tamanho): + +`du {{[-h|--human-readable]}} {{caminho/para/diretório}}` + +- Exibe o tamanho de um único diretório, em tamanho legível por humanos: + +`du {{[-sh|--summarize --human-readable]}} {{caminho/para/diretório}}` + +- Lista em tamanho legível por humanos todos os arquivos e diretórios dentro de um diretório: + +`du {{[-ah|--all --human-readable]}} {{caminho/para/diretório}}` + +- Lista em tamanho legível por humanos, até o nível N de profundidade um diretório e subdiretórios: + +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{caminho/para/diretório}}` + +- Lista em tamanho legível por humanos todos os arquivos `.jpg` dos subdiretórios do diretório atual, e exibe o total cumulativo no final: + +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` + +- Lista todos os arquivos e diretórios (incluindo os ocultos) acima de um limite de tamanho (útil para invetigar o que está de fato ocupando o espaço): + +`du {{[-ah|--all --human-readable]}} {{[-t|--threshold]}} {{1G|1024M|1048576K}} .[^.]* *` diff --git a/pages.pt_BR/common/dua.md b/pages.pt_BR/common/dua.md new file mode 100644 index 00000000000000..43aa3bb57a7e7f --- /dev/null +++ b/pages.pt_BR/common/dua.md @@ -0,0 +1,32 @@ +# dua + +> Dua (Analisador de Uso de Disco) é uma ferramenta para análise conveniente do uso de disco dado um diretório. +> Mais informações: . + +- Analisa um diretório específico: + +`dua {{caminho/para/diretorio}}` + +- Exibe o tamanho aparente ao invés do uso do disco: + +`dua --apparent-size` + +- Contabiliza arquivos hard-linked cada vez que eles são encontrados: + +`dua --count-hard-links` + +- Agrega o espaço em disco consumido de um ou mais diretórios ou arquivos: + +`dua aggregate` + +- Inicia a interface de usuário: + +`dua interactive` + +- Seleciona o formato para contagem de bytes: + +`dua --format {{metric|binary|bytes|GB|GiB|MB|MiB}}` + +- Escolhe o número de threads a serem usadas: + +`dua --threads {{numero}}` diff --git a/pages.pt_BR/common/duc.md b/pages.pt_BR/common/duc.md new file mode 100644 index 00000000000000..30e16c5ef022b1 --- /dev/null +++ b/pages.pt_BR/common/duc.md @@ -0,0 +1,29 @@ +# duc + +> Uma coleção de ferramentas para indexar, inspecionar e visualizar uso do disco. +> O duc mantém uma base de dados dos tamanhos acumlados dos diretórios do sistema de arquivos, permitindo buscas nessa base, ou a criação de gráficos elegantes. +> Mais informações: . + +- Indexa o diretório /usr, escrevendo a base de dados para o local default em ~/.duc.db: + +`duc index {{/usr}}` + +- Lista todos os arquivos e diretórios dentro do /usr/local, mostrando tamanho relativo dos arquivos em um [g]raph (gráfico): + +`duc ls -Fg {{/usr/local}}` + +- Lista todos os arquivos e diretórios dentro do /usr/local em uma visão de árvore recursiva: + +`duc ls -Fg -R {{/usr/local}}` + +- Inicia uma interface gráfica para o usuário explorar o sistema de arquivos exibindo o gráfico sunburst: + +`duc gui {{/usr}}` + +- Executa a interface de console ncurses para explorar o sistema de arquivos: + +`duc ui {{/usr}}` + +- Exporta as informações da base de dados: + +`duc info` diff --git a/pages.pt_BR/common/dunstify.md b/pages.pt_BR/common/dunstify.md new file mode 100644 index 00000000000000..bb0385bf8b7fe8 --- /dev/null +++ b/pages.pt_BR/common/dunstify.md @@ -0,0 +1,21 @@ +# dunstify + +> Uma ferramenta de notificação que é uma extensão do `notify-send`, mas com mais funcionalidades baseadas em `dunst`. +> Aceita todas as opções do `notify-send`. +> Mais informações: . + +- Mostra uma notificação com um dado título e mensagem: + +`dunstify "{{Título}}" "{{Mensagem}}"` + +- Mostra uma notificação com uma urgência específica: + +`dunstify "{{Título}}" "{{Mensagem}}" -u {{low|normal|critical}}` + +- Especifica um ID para a mensagem (sobrescreve qualquer mensagem anterior com o mesmo ID): + +`dunstify "{{Título}}" "{{Mensagem}}" -r {{123}}` + +- Mostra opções de ajuda: + +`dunstify --help` diff --git a/pages.pt_BR/common/dust.md b/pages.pt_BR/common/dust.md new file mode 100644 index 00000000000000..d153eb4727a31b --- /dev/null +++ b/pages.pt_BR/common/dust.md @@ -0,0 +1,32 @@ +# dust + +> Dust oferece uma visão geral de quais diretórios estão usando espaço em disco. +> Mais informações: . + +- Exibe informações para o diretório atual: + +`dust` + +- Exibe informações para uma lista de diretórios separados por espaço: + +`dust {{caminho/para/diretório1 caminho/para/diretório2 ...}}` + +- Exibe 30 diretórios (o padrão é 21): + +`dust --number-of-lines 30` + +- Exibe informações para o diretório atual, com até 3 níveis de profundidade: + +`dust --depth 3` + +- Exibe os maiores diretórios no topo em ordem decrescente: + +`dust --reverse` + +- Ignora todos os arquivos e diretórios com um nome específico: + +`dust --ignore-directory {{arquivo_ou_nome_do_diretório}}` + +- Não exibe barras de porcentagem e porcentagens: + +`dust --no-percent-bars` diff --git a/pages.pt_BR/common/dvc-add.md b/pages.pt_BR/common/dvc-add.md new file mode 100644 index 00000000000000..d8f86d79445e62 --- /dev/null +++ b/pages.pt_BR/common/dvc-add.md @@ -0,0 +1,20 @@ +# dvc add + +> Adiciona um arquivo modificado para o índice. +> Mais informações: . + +- Adiciona um arquivo para o índice: + +`dvc add {{caminho/para/arquivo}}` + +- Adiciona um diretório para o índice: + +`dvc add {{caminho/para/diretorio}}` + +- Adiciona recursivamente todos os arquivos em um dado diretório: + +`dvc add --recursive {{caminho/para/diretorio}}` + +- Adiciona um arquivo com o nome `.dvc` customizado: + +`dvc add --file {{nome_customizado.dvc}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/dvc-checkout.md b/pages.pt_BR/common/dvc-checkout.md new file mode 100644 index 00000000000000..a8653bdbeb1c47 --- /dev/null +++ b/pages.pt_BR/common/dvc-checkout.md @@ -0,0 +1,16 @@ +# dvc checkout + +> Registra a saída de arquivos e diretórios de dados vindos do cache. +> Mais informações: . + +- Registra a saída de todos os arquivos e diretórios de dados: + +`dvc checkout` + +- Registra a saída da última versão de um alvo específico: + +`dvc checkout {{alvo}}` + +- Registra a saída de versão específica de um alvo de um commit/tag/branch Git: + +`git checkout {{hash_do_commit|tag|branch}} {{alvo}} && dvc checkout {{alvo}}` diff --git a/pages.pt_BR/common/dvc.md b/pages.pt_BR/common/dvc.md new file mode 100644 index 00000000000000..5c73e7a842aeee --- /dev/null +++ b/pages.pt_BR/common/dvc.md @@ -0,0 +1,21 @@ +# dvc + +> Controle de Versão de Dados: como o `git` mas para dados. +> Alguns subcomandos tal como `commit` tem suas próprias documentações de uso. +> Mais informações: . + +- Executa um subcomando do DVC: + +`dvc {{subcomando}}` + +- Exibe a ajuda geral: + +`dvc --help` + +- Exibe ajuda para um subcomando específico: + +`dvc {{subcomando}} --help` + +- Checa a versão do DVC: + +`dvc --version` diff --git a/pages.pt_BR/common/ebook-convert.md b/pages.pt_BR/common/ebook-convert.md new file mode 100644 index 00000000000000..04b1cb115aaeb7 --- /dev/null +++ b/pages.pt_BR/common/ebook-convert.md @@ -0,0 +1,13 @@ +# ebook-convert + +> Pode ser usado para converter e-books entre os fomatos comuns, como PDF, EPUB e MOBI. +> Faz parte da biblioteca de ferramentas Calibre e-book. +> Mais informações: . + +- Converte um e-book em outro formato: + +`ebook-convert {{caminho/para/arquivo_entrada}} {{arquivo_saída}}` + +- Converte Markdown ou HTML em um e-book com ToC, título e autor: + +`ebook-convert {{caminho/para/arquivo_entrada}} {{arquivo_saída}} --level1-toc="//h:h1" --level2-toc="//h:h2" --level3-toc="//h:h3" --title={{titulo}} --authors={{autor}}` diff --git a/pages.pt_BR/common/echo.md b/pages.pt_BR/common/echo.md new file mode 100644 index 00000000000000..1cbf13e7b666e5 --- /dev/null +++ b/pages.pt_BR/common/echo.md @@ -0,0 +1,28 @@ +# echo + +> Imprime os argumentos passados. +> Mais informações: . + +- Imprime uma mensagem de texto. Nota: aspas são opcionais: + +`echo "{{Olá Mundo}}"` + +- Imprime uma mensagem com variáveis de ambiente: + +`echo "{{Meu caminho é $PATH}}"` + +- Imprime uma mensagem sem adicionar uma nova linha no final: + +`echo -n "{{Olá Mundo}}"` + +- Adiciona uma mensagem no arquivo: + +`echo "{{Olá Mundo}}" >> {{arquivo.txt}}` + +- Habilita interpretação dos códigos de escape após barra invertida (caracteres especiais): + +`echo -e "{{Coluna 1\tColuna 2}}"` + +- Imprime o status de saída do último comando executado (Nota: no prompt de comando do Windows e no PowerShell, os comandos equivalentes são `echo %errorlevel%` e `$lastexitcode` respectivamente): + +`echo $?` diff --git a/pages.pt_BR/common/ect.md b/pages.pt_BR/common/ect.md new file mode 100644 index 00000000000000..a5fe9fde13ae40 --- /dev/null +++ b/pages.pt_BR/common/ect.md @@ -0,0 +1,25 @@ +# ect + +> Efficient Compression Tool. +> Otimizador de arquivos escrito em C++. Suporta arquivos do tipo PNG, JPEG, gzip and Zip. +> Mais informações: . + +- Comprime um arquivo: + +`ect {{caminho/para/arquivo.png}}` + +- Comprime um arquivo com level de compressão específico e multithreading (1=Mais rápido (pior), 9=Mais lento (Melhor). O padrão é 3): + +`ect -{{9}} --mt-deflate {{caminho/para/arquivo.zip}}` + +- Comprime todos os arquivos em um diretório recursivamente: + +`ect -recurse {{caminho/para/diretório}}` + +- Comprime um arquivo, mantendo o tempo de modificação original: + +`ect -keep {{caminho/para/arquivo.png}}` + +- Comprime um arquivo, removendo metadados: + +`ect -strip {{caminho/para/arquivo.png}}` diff --git a/pages.pt_BR/common/ed.md b/pages.pt_BR/common/ed.md new file mode 100644 index 00000000000000..167a01976709e4 --- /dev/null +++ b/pages.pt_BR/common/ed.md @@ -0,0 +1,33 @@ +# ed + +> O editor de texto original do Unix. +> Veja também: `awk`, `sed`. +> Mais informações: . + +- Inicia uma sessão do editor interativo com um documento vazio: + +`ed` + +- Inicia uma sessão do editor interativo com um documento vazio e um prompt específico: + +`ed {{[-p|--prompt]}} '{{> }}'` + +- Inicia uma sessão do editor interativo com erros compreensíveis para usuários: + +`ed {{[-v|--verbose]}}` + +- Inicia uma sessão do editor interativo com um documento vazio e sem diagnósticos, contagens de bytes e prompt "!": + +`ed {{[-q|--quiet]}}` + +- Inicia uma sessão do editor interativo sem mudança no status de saída quando o comando falha: + +`ed {{[-l|--loose-exit-status]}}` + +- Edita um arquivo específico (mostra a contagem de bytes do arquivo carregado): + +`ed {{caminho/para/arquivo}}` + +- Substitui a string com um substituto específico em todas as linhas: + +`,s/{{regular_expression}}/{{substituto}}/g` diff --git a/pages.pt_BR/common/emacs.md b/pages.pt_BR/common/emacs.md new file mode 100644 index 00000000000000..417c0d9af45919 --- /dev/null +++ b/pages.pt_BR/common/emacs.md @@ -0,0 +1,37 @@ +# emacs + +> O editor extensível, personalizável, autodocumentável, com exibição em tempo real. +> Veja também `emacsclient`. +> Mais informações: . + +- Inicia o Emacs e abra um arquivo: + +`emacs {{caminho/para/arquivo}}` + +- Abre um arquivo em uma linha especificada: + +`emacs +{{numero_linha}} {{caminho/para/arquivo}}` + +- Inicia um arquivo Emacs Lisp como script: + +`emacs --script {{caminho/para/arquivo.el}}` + +- Inicia o Emacs em modo console (sem uma janela X): + +`emacs {{[-nw|--no-window-system]}}` + +- Inicia um servidor Emacs em segundo plano (acessível através do `emacsclient`): + +`emacs --daemon` + +- Para um servidor Emacs em funcionamento e todas as suas instâncias, pedindo confirmação em arquivos não salvos: + +`emacsclient --eval '(save-buffers-kill-emacs)'` + +- Salva um arquivo em Emacs: + +`` + +- Sai do Emacs: + +`` diff --git a/pages.pt_BR/common/esbuild.md b/pages.pt_BR/common/esbuild.md new file mode 100644 index 00000000000000..67f779ef3483da --- /dev/null +++ b/pages.pt_BR/common/esbuild.md @@ -0,0 +1,36 @@ +# esbuild + +> Empacotador e minificador JavaScript construído para velocidade. +> Mais informações: . + +- Empacota uma aplicação JavaScript e imprime para `stdout`: + +`esbuild --bundle {{caminho/para/arquivo.js}}` + +- Empacota uma aplicação JSX de `stdin`: + +`esbuild --bundle --outfile={{caminho/para/saída.js}} < {{caminho/para/arquivo.jsx}}` + +- Empacota e reduz uma aplicação JSX com mapas de origem no modo `production`: + +`esbuild --bundle --define:{{process.env.NODE_ENV=\"production\"}} --minify --sourcemap {{caminho/para/arquivo.js}}` + +- Empacota uma aplicação JSX para uma lista de navegadores separados por vírgulas: + +`esbuild --bundle --minify --sourcemap --target={{chrome58,firefox57,safari11,edge16}} {{caminho/para/arquivo.jsx}}` + +- Empacota uma aplicação JavaScript para uma versão específica do node: + +`esbuild --bundle --platform={{node}} --target={{node12}} {{caminho/para/arquivo.js}}` + +- Empacota uma aplicação JavaScript habilitando a sintaxe JSX em arquivos `.js`: + +`esbuild --bundle app.js --loader:{{.js=jsx}} {{caminho/para/arquivo.js}}` + +- Empacota e serve uma aplicação JavaScript em um servidor HTTP: + +`esbuild --bundle --serve={{porta}} --outfile={{index.js}} {{caminho/para/arquivo.js}}` + +- Empacota uma lista de arquivos em um diretório de saída: + +`esbuild --bundle --outdir={{caminho/para/diretório_de_saída}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` diff --git a/pages.pt_BR/common/eza.md b/pages.pt_BR/common/eza.md new file mode 100644 index 00000000000000..2eca37279eb3fd --- /dev/null +++ b/pages.pt_BR/common/eza.md @@ -0,0 +1,36 @@ +# eza + +> Substituto moderno e mantido para o `ls`, construída sobre o `exa`. +> Mais informações: . + +- Lista os arquivos um por linha: + +`eza --oneline` + +- Lista todos os arquivos, incluindo arquivos ocultos: + +`eza --all` + +- Lista no formato longo (permissões, propriedade, tamanho e data de modificação) de todos os arquivos: + +`eza --long --all` + +- Lista os arquivos com os maiores no topo: + +`eza --reverse --sort={{size}}` + +- Exibe uma árvore de arquivos com três níveis de profundidade: + +`eza --long --tree --level={{3}}` + +- Lista os arquivos ordenados pela data de modificação (mais antigos primeiro): + +`eza --long --sort={{modified}}` + +- Lista os arquivos com seus cabeçalhos, ícones e status do Git: + +`eza --long --header --icons --git` + +- Não lista os arquivos mencionados em `.gitignore`: + +`eza --git-ignore` diff --git a/pages.pt_BR/common/fast.md b/pages.pt_BR/common/fast.md new file mode 100644 index 00000000000000..c03eed2fcd50a2 --- /dev/null +++ b/pages.pt_BR/common/fast.md @@ -0,0 +1,16 @@ +# fast + +> Teste sua velocidade de download e upload utilizando fast.com. +> Mais informações: . + +- Mede a velocidade de download atual: + +`fast` + +- Mede a velocidade de upload atual além da velocidade de download: + +`fast --upload` + +- Exibe os resultados em uma única linha para reduzir espaçamento: + +`fast --single-line` diff --git a/pages.pt_BR/common/fastboot.md b/pages.pt_BR/common/fastboot.md new file mode 100644 index 00000000000000..0ceee2977d23ab --- /dev/null +++ b/pages.pt_BR/common/fastboot.md @@ -0,0 +1,32 @@ +# fastboot + +> Se comunica com dispositivos Android conectados quando iniciados no modo _fastboot_ (o único lugar em que `adb` não funciona). +> Mais informações: . + +- Desbloqueia o bootloader: + +`fastboot oem unlock` + +- Bloqueia o bootloader novamente: + +`fastboot oem lock` + +- Reinicia o dispositivo no modo fastboot para o modo fastboot novamente: + +`fastboot reboot bootloader` + +- Flasheia uma imagem: + +`fastboot flash {{arquivo.img}}` + +- Flasheia uma imagem de _recovery_ customizada: + +`fastboot flash recovery {{arquivo.img}}` + +- Exibe os dispositivos conectados: + +`fastboot devices` + +- Mostra todas as informações de um dispositivo: + +`fastboot getvar all` diff --git a/pages.pt_BR/common/fc-list.md b/pages.pt_BR/common/fc-list.md new file mode 100644 index 00000000000000..8a16eaa4b5f0ec --- /dev/null +++ b/pages.pt_BR/common/fc-list.md @@ -0,0 +1,16 @@ +# fc-list + +> Exibe todas as fontes disponíveis no sistema. +> Mais informações: . + +- Retorna uma lista de fontes instaladas no seu sistema: + +`fc-list` + +- Retorna uma lista de fontes com um dado nome: + +`fc-list | grep '{{DejaVu Serif}}'` + +- Retorna o número de fontes instaladas no seu sistema: + +`fc-list | wc -l` diff --git a/pages.pt_BR/common/fc.md b/pages.pt_BR/common/fc.md new file mode 100644 index 00000000000000..e72178d922364b --- /dev/null +++ b/pages.pt_BR/common/fc.md @@ -0,0 +1,32 @@ +# fc + +> Abre o último comando executado em um editor de texto. +> Mais informações: . + +- Abre o último comando executado no editor de texto padrão do sistema: + +`fc` + +- Especifica o editor de texto que será utilizado ao executar o comando: + +`fc -e {{'emacs'}}` + +- Exibe um histórico dos últimos comandos executados: + +`fc -l` + +- Lista os comandos recentes em ordem reversa: + +`fc -l -r` + +- Edita e executa um comando do histórico: + +`fc {{número}}` + +- Edita comandos em um dado intervalo e executa-os: + +`fc '{{416}}' '{{420}}'` + +- Mosta ajuda: + +`fc --help` diff --git a/pages.pt_BR/common/fd.md b/pages.pt_BR/common/fd.md new file mode 100644 index 00000000000000..660966d8017e45 --- /dev/null +++ b/pages.pt_BR/common/fd.md @@ -0,0 +1,29 @@ +# fd + +> Uma alternativa para `find`. +> Visa ser mais rápido e fácil de usar do que `find`. +> Mais informações: . + +- Encontra recursivamente arquivos que correspondam ao padrão fornecido no diretório atual: + +`fd "{{padrão|regex}}"` + +- Encontra arquivos que começam com `foo`: + +`fd "^foo"` + +- Encontra arquivos com uma extensão específica: + +`fd --extension txt` + +- Encontra arquivos em um diretório específico: + +`fd "{{padrão|regex}}" {{caminho/para/diretório}}` + +- Inclui arquivos ignorados e ocultos na pesquisa: + +`fd --hidden --no-ignore "{{padrão|regex}}"` + +- Executa um comando em cada resultado de pesquisa retornado: + +`fd "{{padrão|regex}}" --exec {{comando}}` diff --git a/pages.pt_BR/common/fdp.md b/pages.pt_BR/common/fdp.md new file mode 100644 index 00000000000000..8f9fc261dc25a9 --- /dev/null +++ b/pages.pt_BR/common/fdp.md @@ -0,0 +1,25 @@ +# fdp + +> Renderiza uma imagem de um gráfico de rede `force-directed` a partir de um arquivo `graphviz`. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> Mais informações: . + +- Renderiza uma imagem PNG com um nome de arquivo baseado no nome do arquivo de entrada e formato de saída (-O maiúsculo): + +`fdp -T png -O {{caminho/para/entrada.gv}}` + +- Renderiza uma imagem SVG com o nome do arquivo de saída especificado (-o minúsculo): + +`fdp -T svg -o {{caminho/para/imagem.svg}} {{caminho/para/entrada.gv}}` + +- Renderiza a saída nos formatos: + +`fdp -T {{ps|pdf|svg|fig|png|gif|jpg|json|dot}} -O {{caminho/para/entrada.gv}}` + +- Renderiza uma imagem GIF usando `stdin` e `stdout`: + +`echo "{{digraph {isso -> aquilo} }}" | fdp -T gif > {{caminho/para/imagem.gif}}` + +- Exibe ajuda: + +`fdp -?` diff --git a/pages.pt_BR/common/ffmpeg.md b/pages.pt_BR/common/ffmpeg.md new file mode 100644 index 00000000000000..8b61b0a8b87ca7 --- /dev/null +++ b/pages.pt_BR/common/ffmpeg.md @@ -0,0 +1,36 @@ +# ffmpeg + +> Ferramenta de conversão de vídeo. +> Mais informações: . + +- Extrai o som de um vídeo e salva-o como MP3: + +`ffmpeg -i {{caminho/para/vídeo.mp4}} -vn {{caminho/para/som.mp3}}` + +- Transcodifica um arquivo FLAC to formato de CD Red Book (44100kHz, 16bit): + +`ffmpeg -i {{caminho/para/audio_de_entrada.flac}} -ar 44100 -sample_fmt s16 {{caminho/para/audio_de_saida.wav}}` + +- Salva um vídeo como GIF, escalando a altura para 1000px e definindo a taxa de quadros para 15: + +`ffmpeg -i {{caminho/para/vídeo.mp4}} {{[-vf|-filter:v]}} 'scale=-1:1000' -r {{15}} {{caminho/para/saída.gif}}` + +- Combina imagens numeradas (`quadro_1.jpg`, `quadro_2.jpg`, etc) em um vídeo ou GIF: + +`ffmpeg -i {{caminho/para/quadro_%d.jpg}} -f image2 {{vídeo.mpg|vídeo.gif}}` + +- Corta um vídeo de um dado tempo inicial mm:ss até um tempo final mm2:ss2 (omita a opção -to para cortar o vídeo até o final): + +`ffmpeg -i {{caminho/para/vídeo_entrada.mp4}} -ss {{mm:ss}} -to {{mm2:ss2}} {{[-c|-codec]}} copy {{caminho/para/vídeo_saída.mp4}}` + +- Converte um vídeo AVI para MP4. AAC Áudio @ 128kbit, h264 Vídeo @ CRF 23: + +`ffmpeg -i {{caminho/para/vídeo_entrada}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{caminho/para/vídeo_saída}}.mp4` + +- Remixa um vídeo MKV para MP4 sem recodificar o áudio ou o vídeo: + +`ffmpeg -i {{caminho/para/vídeo_entrada}}.mkv {{[-c|-codec]}} copy {{caminho/para/vídeo_saída}}.mp4` + +- Converte um vídeo MP4 para o codec VP9. Para a melhor qualidade, use um valor CRF (faixa recomendada 15-35) e -b:v DEVE ser 0: + +`ffmpeg -i {{caminho/para/vídeo_entrada}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{número_de_threads}} {{caminho/para/vídeo_saída}}.webm` diff --git a/pages.pt_BR/common/find.md b/pages.pt_BR/common/find.md new file mode 100644 index 00000000000000..65b70666dde8c4 --- /dev/null +++ b/pages.pt_BR/common/find.md @@ -0,0 +1,36 @@ +# find + +> Procura recursivamente por arquivos ou diretórios em uma árvore de diretórios. +> Mais informações: . + +- Procura por arquivos pela extensão: + +`find {{caminho_raiz}} -name '{{*.ext}}'` + +- Procura por arquivos que correspondam a vários padrões específicos de caminho/nome: + +`find {{caminho_raiz}} -path '{{**/caminho/**/*.ext}}' -or -name '{{*nome*}}'` + +- Procura por diretórios que correspondam a um nome específico, sem diferenciar maiúsculo de minúsculo: + +`find {{caminho_raiz}} -type d -iname '{{*nome*}}'` + +- Procura por arquivos que correspondam a um nome específico, excluindo certos caminhos: + +`find {{caminho_raiz}} -name '{{*.py}}' -not -path '{{*/caminho/*}}'` + +- Procura por arquivos que correspondam a uma faixa de tamanho específica, limitando a profundidade recursiva para "1": + +`find {{caminho_raiz}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- Executa um comando para cada arquivo (use `{}` dentro do comando para acessar o nome do arquivo): + +`find {{caminho_raiz}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- Procura por todos os arquivos modificados hoje e passa os resultados para um único comando como argumentos: + +`find {{caminho_raiz}} -daystart -mtime {{-1}} -exec {{tar -cvf arquivo.tar}} {} \+` + +- Procura por arquivos vazios (0 byte) ou diretórios e os exclui de forma verbosa: + +`find {{caminho_raiz}} -type {{f|d}} -empty -delete -print` diff --git a/pages.pt_BR/common/finger.md b/pages.pt_BR/common/finger.md new file mode 100644 index 00000000000000..4f8811d9b76da4 --- /dev/null +++ b/pages.pt_BR/common/finger.md @@ -0,0 +1,24 @@ +# finger + +> Programa de pesquisa de informações do usuário. +> Mais informações: . + +- Exibe informações sobre usuários conectados no momento: + +`finger` + +- Exibe informações sobre um usuário específico: + +`finger {{nome_de_usuário}}` + +- Exibe o nome de login do usuário, nome real, nome do terminal e outras informações: + +`finger -s` + +- Produz o formato de saída de várias linhas exibindo as mesmas informações que `-s`, bem como o diretório pessoal do usuário, número de telefone residencial, shell de login, status de correio, etc.: + +`finger -l` + +- Impede a correspondência com os nomes de usuário e usa apenas nomes de login: + +`finger -m` diff --git a/pages.pt_BR/common/firefox.md b/pages.pt_BR/common/firefox.md new file mode 100644 index 00000000000000..049117799c9a83 --- /dev/null +++ b/pages.pt_BR/common/firefox.md @@ -0,0 +1,36 @@ +# firefox + +> Um browser livre e de código aberto. +> Mais informações: . + +- Inicie o Firefox e abra uma página web: + +`firefox {{https://www.duckduckgo.com}}` + +- Abra uma nova janela: + +`firefox --new-window {{https://www.duckduckgo.com}}` + +- Abra uma janela privativa (incognito): + +`firefox --private-window` + +- Pesquise por "wikipedia" usando a engine de busca padrão: + +`firefox --search "{{wikipedia}}"` + +- Inicie o Firefox no modo seguro, com todas as extensões desativadas: + +`firefox --safe-mode` + +- Tire uma screenshot de uma página web no modo headless: + +`firefox --headless --screenshot {{caminho/para/arquivo_de_saida.png}} {{https://example.com/}}` + +- Use um perfil específico para permitir que múltiplas instâncias separadas do Firefox rodem ao mesmo tempo: + +`firefox --profile {{caminho/para/diretório}} {{https://example.com/}}` + +- Configure o Firefox como o navegador padrão: + +`firefox --setDefaultBrowser` diff --git a/pages.pt_BR/common/flips.md b/pages.pt_BR/common/flips.md new file mode 100644 index 00000000000000..03d7ece5ef772d --- /dev/null +++ b/pages.pt_BR/common/flips.md @@ -0,0 +1,16 @@ +# flips + +> Cria e aplica patches em arquivos IPS e BPS. +> Mais informações: . + +- Abre Flips para criar e aplicar um patch: + +`flips` + +- Aplica um patch criando um novo arquivo ROM: + +`flips --apply {{patch.bps}} {{rom.smc}} {{hack.smc}}` + +- Cria um patch a partir de duas ROMs: + +`flips --create {{rom.smc}} {{hack.smc}} {{patch.bps}}` diff --git a/pages.pt_BR/common/flutter.md b/pages.pt_BR/common/flutter.md new file mode 100644 index 00000000000000..4dde06bc812144 --- /dev/null +++ b/pages.pt_BR/common/flutter.md @@ -0,0 +1,32 @@ +# flutter + +> SDK livre e open source do Google para desenvolvimento de aplicativos mobile cross-platform. +> Mais informações: . + +- Inicializa um novo projeto Flutter em um diretório de mesmo nome: + +`flutter create {{nome_do_projeto}}` + +- Verifica se todas as ferramentas externas necessárias estão instaladas: + +`flutter doctor` + +- Lista ou muda o channel do Flutter: + +`flutter channel {{stable|beta|dev|master}}` + +- Executa o projeto Flutter em todos os emuladores ativos ou devices conectados: + +`flutter run -d all` + +- Executa todos os testes no terminal a partir da raíz do projeto: + +`flutter test {{test/example_test.dart}}` + +- Builda APK de release direcionado aos mais modernos smartphones: + +`flutter build apk --target-platform {{android-arm}},{{android-arm64}}` + +- Mostra ajuda sobre algum comando específico: + +`flutter help {{comando}}` diff --git a/pages.pt_BR/common/fmt.md b/pages.pt_BR/common/fmt.md new file mode 100644 index 00000000000000..d4a898c2c2171e --- /dev/null +++ b/pages.pt_BR/common/fmt.md @@ -0,0 +1,20 @@ +# fmt + +> Reformata um arquivo de texto juntando seus parágrafos e limitando a largura da linha a um determinado número de caracteres (75 por padrão). +> Mais informações: . + +- Reformata um arquivo: + +`fmt {{caminho/para/arquivo}}` + +- Reformata um arquivo produzindo linhas de saída de (no máximo) `n` caracteres: + +`fmt -w {{n}} {{caminho/para/arquivo}}` + +- Reformata um arquivo sem unir linhas menores do que a largura fornecida: + +`fmt -s {{caminho/para/arquivo}}` + +- Reformata um arquivo com espaçamento uniforme (1 espaço entre palavras e 2 espaços entre parágrafos): + +`fmt -u {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/fnm.md b/pages.pt_BR/common/fnm.md new file mode 100644 index 00000000000000..f214c0e93946d0 --- /dev/null +++ b/pages.pt_BR/common/fnm.md @@ -0,0 +1,25 @@ +# fnm + +> Gerenciador de versão Node.js rápido. +> Instale, Desinstale ou alterne entre as versões do Node.js. +> Mais informações: . + +- Instala uma versão específica do Node.js: + +`fnm install {{versão_do_node}}` + +- Lista todas as versões disponíveis do Node.js e destaca a padrão: + +`fnm list` + +- Usa uma versão específica do Node.js no shell atual: + +`fnm use {{versão_do_node}}` + +- Define a versão padrão do Node.js: + +`fnm default {{versão_do_node}}` + +- Desinstala uma determinada versão do Node.js: + +`fnm uninstall {{versão_do_node}}` diff --git a/pages.pt_BR/common/fossil-add.md b/pages.pt_BR/common/fossil-add.md new file mode 100644 index 00000000000000..eef1dd02bd5bba --- /dev/null +++ b/pages.pt_BR/common/fossil-add.md @@ -0,0 +1,12 @@ +# fossil add + +> Coloca arquivos ou diretórios sob o controle de versão do Fossil. +> Mais informações: . + +- Coloca um arquivo ou diretório sob o controle de versão, de forma que ele estará no checkout atual: + +`fossil add {{caminho/para/arquivo_ou_diretório}}` + +- Remove todos os arquivos adicionados do checkout atual: + +`fossil add --reset` diff --git a/pages.pt_BR/common/fossil-ci.md b/pages.pt_BR/common/fossil-ci.md new file mode 100644 index 00000000000000..c1842c65c54852 --- /dev/null +++ b/pages.pt_BR/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Este comando é um apelido de `fossil commit`. + +- Exibe documentação sobre o comando original: + +`tldr fossil commit` diff --git a/pages.pt_BR/common/fossil-commit.md b/pages.pt_BR/common/fossil-commit.md new file mode 100644 index 00000000000000..7d0f95ce62123b --- /dev/null +++ b/pages.pt_BR/common/fossil-commit.md @@ -0,0 +1,20 @@ +# fossil commit + +> Faz commit de arquivos para um repositório Fossil. +> Mais informações: . + +- Cria uma nova versão contendo todas as alterações no checkout atual; o usuário será solicitado a inserir um comentário: + +`fossil commit` + +- Cria uma nova versão contendo todas as alterações no checkout atual, usando o comentário especificado: + +`fossil commit --comment "{{comentário}}"` + +- Cria uma nova versão contendo todas as alterações no checkout atual com um comentário lido de um arquivo específico: + +`fossil commit --message-file {{caminho/para/arquivos_de_mensagem_de_commit}}` + +- Cria uma nova versão contendo alterações dos arquivos especificados; o usuário será solicitado a fornecer um comentário: + +`fossil commit {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` diff --git a/pages.pt_BR/common/fossil-delete.md b/pages.pt_BR/common/fossil-delete.md new file mode 100644 index 00000000000000..41a132366e7e78 --- /dev/null +++ b/pages.pt_BR/common/fossil-delete.md @@ -0,0 +1,17 @@ +# fossil delete + +> Remove arquivos ou diretórios do controle de versão do Fossil. +> Veja também: `fossil forget`. +> Mais informações: . + +- Remove um arquivo ou diretório do controle de versão do Fossil: + +`fossil {{[rm|delete]}} {{caminho/para/arquivo_ou_diretório}}` + +- Remove um arquivo ou diretório do controle de versão do Fossil e também o exclui do disco: + +`fossil {{[rm|delete]}} --hard {{caminho/para/arquivo_ou_diretório}}` + +- Adiciona novamente todos os arquivos removidos e dos quais não se fez commit anteriormente ao controle de versão do Fossil: + +`fossil {{[rm|delete]}} --reset` diff --git a/pages.pt_BR/common/fossil-forget.md b/pages.pt_BR/common/fossil-forget.md new file mode 100644 index 00000000000000..74860d89171a64 --- /dev/null +++ b/pages.pt_BR/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Este comando é um apelido de `fossil rm`. +> Mais informações: . + +- Exibe documentação sobre o comando original: + +`tldr fossil rm` diff --git a/pages.pt_BR/common/fossil-init.md b/pages.pt_BR/common/fossil-init.md new file mode 100644 index 00000000000000..356d61fd6c0528 --- /dev/null +++ b/pages.pt_BR/common/fossil-init.md @@ -0,0 +1,9 @@ +# fossil init + +> Inicializa um novo repositório para um projeto. +> Veja também: `fossil clone`. +> Mais informações: . + +- Cria um novo repositório em um arquivo nomeado: + +`fossil init {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/fossil-new.md b/pages.pt_BR/common/fossil-new.md new file mode 100644 index 00000000000000..0eb2b5d149ecf9 --- /dev/null +++ b/pages.pt_BR/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Este comando é um apelido de `fossil init`. + +- Exibe documentação sobre o comando original: + +`tldr fossil init` diff --git a/pages.pt_BR/common/fossil-rm.md b/pages.pt_BR/common/fossil-rm.md new file mode 100644 index 00000000000000..b8cb3c805a6f0b --- /dev/null +++ b/pages.pt_BR/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Este comando é um apelido de `fossil delete`. + +- Exibe documentação sobre o comando original: + +`tldr fossil delete` diff --git a/pages.pt_BR/common/fossil.md b/pages.pt_BR/common/fossil.md new file mode 100644 index 00000000000000..b783f46289c944 --- /dev/null +++ b/pages.pt_BR/common/fossil.md @@ -0,0 +1,21 @@ +# fossil + +> Sistema de controle de versão distribuído. +> Alguns subcomandos, como `commit`, têm sua própria documentação de uso. +> Mais informações: . + +- Executa um subcomando do Fossil: + +`fossil {{subcomando}}` + +- Exibe ajuda: + +`fossil help` + +- Exibe ajuda para um subcomando específico (como `add`, `commit`, etc.): + +`fossil help {{subcomando}}` + +- Exibe a versão: + +`fossil version` diff --git a/pages.pt_BR/common/freshclam.md b/pages.pt_BR/common/freshclam.md new file mode 100644 index 00000000000000..ed2de7a00f793b --- /dev/null +++ b/pages.pt_BR/common/freshclam.md @@ -0,0 +1,8 @@ +# freshclam + +> Atualiza as definições de vírus para o programa de antivírus ClamAV. +> Mais informações: . + +- Atualiza as definições de vírus: + +`freshclam` diff --git a/pages.pt_BR/common/ftp.md b/pages.pt_BR/common/ftp.md new file mode 100644 index 00000000000000..e1d3ae6bd56dd3 --- /dev/null +++ b/pages.pt_BR/common/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> Ferramentas para interagir com um servidor via Protocolo de Transferência de Arquivos. +> Mais informações: . + +- Conecta-se a um servidor FTP: + +`ftp {{ftp.example.com}}` + +- Conecta a um servidor FTP especificando o endereço de IP e porta: + +`ftp {{endereço_IP}} {{porta}}` + +- Alterna para o modo de transferência binária (gráficos, arquivos compactados, etc): + +`binary` + +- Transfere vários arquivos sem solicitar confirmação em cada arquivo: + +`prompt off` + +- Baixa vários arquivos (expressão glob): + +`mget {{*.png}}` + +- Carrega vários arquivos (expressão glob): + +`mput {{*.zip}}` + +- Exclui vários arquivos do servidor remoto: + +`mdelete {{*.txt}}` + +- Renomeia um arquivo no servidor remoto: + +`rename {{nome_do_arquivo_original}} {{novo_nome_do_arquivo}}` diff --git a/pages.pt_BR/common/g++.md b/pages.pt_BR/common/g++.md index 677ed636972e7f..6de39e9948944f 100644 --- a/pages.pt_BR/common/g++.md +++ b/pages.pt_BR/common/g++.md @@ -1,21 +1,37 @@ -# gplusplus +# g++ -> Compilador de arquivos de código fonte C++. +> Compila arquivos de código fonte C++. > Parte do GCC (GNU Compiler Collection). > Mais informações: . -- Compilar um arquivo de código fonte para um binário executável: +- Compila um arquivo de código fonte para um binário executável: -`g++ {{arquivo_fonte.cpp}} -o {{arquivo_executável}}` +`g++ {{caminho/para/fonte1.cpp caminho/para/fonte1.cpp ...}} {{[-o|--output]}} {{caminho/para/executável_de_saída}}` -- Compilar mostrando todos os erros e avisos: +- Ativa saída de todos os erros e avisos: -`g++ {{arquivo_fonte.cpp}} -Wall -o {{arquivo_executável}}` +`g++ {{caminho/para/fonte.css}} -Wall {{[-o|--output]}} {{executável_de_saída}}` -- Compilar utilizando um padrão específico da linguagem (C++98/C++11/C++14/C++17): +- Mostra avisos comuns, símbolos de depuração na saída, e otimiza sem afetar a depuração: -`g++ {{arquivo_fonte.cpp}} -std={{standard_linguagem}} -o {{arquivo_executável}}` +`g++ {{caminho/para/fonte.cpp}} -Wall {{-g|--debug}} -Og {{[-o|--output]}} {{caminho/para/executável_de_saída}}` -- Compilar incluindo bibliotecas localizadas em um local diferente do arquivo de código fonte: +- Escolhe um padrão de linguagem para o qual compilar (C++98/C++11/C++14/C++17): -`g++ {{arquivo_fonte.cpp}} -o {{arquivo_executável}} -I{{caminho/para/header}} -L{{caminho/para/biblioteca}} -l{{nome_biblioteca}}` +`g++ {{caminho/para/fonte.cpp}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{caminho/para/executável_de_saída}}` + +- Inclui bibliotecas localizadas em um caminho diferente do arquivo de código fonte: + +`g++ {{caminho/para/fonte.cpp}} {{[-o|--output]}} {{caminho/para/executável_de_saída}} -I{{caminho/para/cabeçalho}} -L{{caminho/para/biblioteca}} -l{{nome_da_biblioteca}}` + +- Compila e vincula múltiplos arquivos de código fonte em um binário executável: + +`g++ {{-c|--compile}} {{caminho/para/fonte1.cpp caminho/para/fonte2.cpp ...}} && g++ {{[-o|--output]}} {{caminho/para/executável_de_saída}} {{caminho/para/fonte1.o caminho/para/fonte2.o ...}}` + +- Otimiza o programa compilado para desempenho: + +`g++ {{caminho/para/fonte.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{caminho/para/executavel_de_saída}}` + +- Exibe versão: + +`g++ --version` diff --git a/pages.pt_BR/common/gatsby.md b/pages.pt_BR/common/gatsby.md new file mode 100644 index 00000000000000..d9dc9b36aceffd --- /dev/null +++ b/pages.pt_BR/common/gatsby.md @@ -0,0 +1,24 @@ +# gatsby + +> Gerador de site estático para React. +> Mais informações: . + +- Cria um novo site: + +`gatsby new {{nome_do_site}}` + +- Cria um novo site com um 'starter' do Gatsby: + +`gatsby new {{nome_do_site}} {{url_do_repositório_github_do_starter}}` + +- Inicia um servidor de desenvolvimento local de atualização em tempo real: + +`gatsby develop` + +- Executa uma build de produção e gera HTML estático: + +`gatsby build` + +- Inicia um servidor local que atende a build de produção: + +`gatsby serve` diff --git a/pages.pt_BR/common/gcal.md b/pages.pt_BR/common/gcal.md new file mode 100644 index 00000000000000..6deb66b34e03f8 --- /dev/null +++ b/pages.pt_BR/common/gcal.md @@ -0,0 +1,24 @@ +# gcal + +> Exibe o calendário. +> Mais informações: . + +- Exibe o calendário para o mês atual: + +`gcal` + +- Exibe o calendário para o mês de Fevereiro do ano de 2010: + +`gcal 2 2010` + +- Fornece folha de calendário com números da semana: + +`gcal --with-week-number` + +- Altera o dia da semana de início para o 1º dia da semana (segunda-feira): + +`gcal --starting-day=1` + +- Exibe o mês anterior, atual e seguinte em torno de hoje: + +`gcal .` diff --git a/pages.pt_BR/common/gcalcli.md b/pages.pt_BR/common/gcalcli.md new file mode 100644 index 00000000000000..ca214f85ea409b --- /dev/null +++ b/pages.pt_BR/common/gcalcli.md @@ -0,0 +1,33 @@ +# gcalcli + +> Ferramenta de linha de comando para interagir com o Google Agenda. +> Solicita autorização da API do Google na primeira inicialização. +> Mais informações: . + +- Lista seus eventos para todos os seus calendários nos próximos 7 dias: + +`gcalcli agenda` + +- Mostra eventos começando em ou entre datas específicas (também recebe datas relativas, por exemplo, "amanhã"): + +`gcalcli agenda {{mm/dd}} [{{mm/dd}}]` + +- Lista eventos de um calendário específico: + +`gcalcli --calendar {{nome_do_calendário}} agenda` + +- Exibe um calendário ASCII de eventos por semana: + +`gcalcli calw` + +- Exibe um calendário ASCII de eventos para um mês: + +`gcalcli calm` + +- Adiciona um evento rapidamente ao seu calendário: + +`gcalcli --calendar {{nome_do_calendário}} quick "{{mm/dd}} {{HH:MM}} {{nome_do_evento}}"` + +- Adiciona um evento ao calendário. Dispara prompt interativo: + +`gcalcli --calendar "{{nome_do_calendário}}" add` diff --git a/pages.pt_BR/common/gcc.md b/pages.pt_BR/common/gcc.md index 949e134891e8b1..18aaec9c858d32 100644 --- a/pages.pt_BR/common/gcc.md +++ b/pages.pt_BR/common/gcc.md @@ -1,24 +1,36 @@ # gcc -> Compilador de arquivos de código fonte C e C++, efetuando também as fases de pré-processamento, assembling e linking. +> Pré-processa e compila arquivos de código fonte C e C++, depois monta-os e vincula-os. > Mais informações: . -- Compilar múltiplos arquivos de código fonte, produzindo um arquivo executável: +- Compila múltiplos arquivos de código fonte, produzindo um arquivo executável: -`gcc {{arquivo_fonte1.c}} {{arquivo_fonte2.c}} -o {{arquivo_executável}}` +`gcc {{caminho/para/arquivo_fonte1.c caminho/para/arquivo_fonte2.c ...}} {{[-o|--output]}} {{caminho/para/executável_de_saída}}` -- Habilitar avisos durante a compilação: +- Ativa a saída de todos os erros e avisos: -`gcc {{arquivo_fonte.c}} -Wall -Og -o {{arquivo_executável}}` +`gcc {{caminho/para/fonte.c}} -Wall {{[-o|--output]}} {{executável_de_saída}}` -- Incluir bibliotecas de um local diferente: +- Mostra avisos comuns, símbolos de depuração na saída, e otimiza sem afetar a depuração: -`gcc {{arquivo_fonte.c}} -o {{arquivo_executável}} -I{{caminho/para/header}} -L{{caminho/para/biblioteca}} -l{{nome_biblioteca}}` +`gcc {{caminho/para/fonte.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{caminho/para/executável_de_saída}}` -- Compilar o código fonte para instruções Assembler: +- Inclui bibliotecas de um local diferente: -`gcc -S {{arquivo_fonte.c}}` +`gcc {{caminho/para/fonte.c}} {{[-o|--output]}} {{caminho/para/executável_de_saída}} -I{{caminho/para/header}} -L{{caminho/para/biblioteca}} -l{{nome_biblioteca}}` -- Compilar o código fonte sem efetuar a fase de linking: +- Compila o código fonte para instruções Assembler: -`gcc -c {{arquivo_fonte.c}}` +`gcc {{[-S|--assemble]}} {{caminho/para/fonte.c}}` + +- Compila o código fonte sem efetuar vinculação: + +`gcc {{[-c|--compile]}} {{caminho/para/font.c}}` + +- Otimiza o programa compilado para desempenho: + +`gcc {{caminho/para/fonte.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{caminho/para/executável_de_saída}}` + +- Mostra versão: + +`gcc --version` diff --git a/pages.pt_BR/common/gdb.md b/pages.pt_BR/common/gdb.md index 42fceee7ddd8a8..f542ec9d2ce880 100644 --- a/pages.pt_BR/common/gdb.md +++ b/pages.pt_BR/common/gdb.md @@ -3,21 +3,21 @@ > O depurador GNU. > Mais informações: . -- Depurar um executável: +- Depura um executável: `gdb {{executável}}` -- Vincular um processo ao gdb: +- Vincula um processo ao gdb: -`gdb -p {{PID}}` +`gdb {{[-p|--pid]}} {{PID}}` -- Depurar usando um arquivo de "core dump": +- Depura usando um arquivo de "core dump": -`gdb -c {{core}} {{executável}}` +`gdb {{[-c|--core]}} {{core}} {{executável}}` - Executa um dado comando do gdb ao iniciar: -`gdb -ex "{{comandos}}" {{executável}}` +`gdb {{[-ex|--eval-command]}} "{{comandos}}" {{executável}}` - Inicia o gdb passando argumentos para o executável: diff --git a/pages.pt_BR/common/gdu.md b/pages.pt_BR/common/gdu.md new file mode 100644 index 00000000000000..83f25b84252dea --- /dev/null +++ b/pages.pt_BR/common/gdu.md @@ -0,0 +1,36 @@ +# gdu + +> Analisador de uso de disco com interface de console. +> Mais informações: . + +- Exibe interativamente o uso de disco do diretório atual: + +`gdu` + +- Exibe interativamente o uso de disco de um determinado diretório: + +`gdu {{caminho/para/diretório}}` + +- Exibe interativamente o uso de disco de todos os discos montados: + +`gdu --show-disks` + +- Exibe interativamente o uso de disco do diretório atual, mas ignora alguns subdiretórios: + +`gdu --ignore-dirs {{caminho/para/diretório1,caminho/para/diretório2,...}}` + +- Ignora caminhos por expressão regular: + +`gdu --ignore-dirs-pattern '{{.*[abc]+}}'` + +- Ignora diretórios ocultos: + +`gdu --no-hidden` + +- Imprime apenas o resultado, não entra no modo interativo: + +`gdu --non-interactive {{caminho/para/diretório}}` + +- Não mostra o progresso no modo não interativo (útil em scripts): + +`gdu --no-progress {{caminho/para/diretório}}` diff --git a/pages.pt_BR/common/gh-codespace.md b/pages.pt_BR/common/gh-codespace.md new file mode 100644 index 00000000000000..2e224d92eed16f --- /dev/null +++ b/pages.pt_BR/common/gh-codespace.md @@ -0,0 +1,36 @@ +# gh codespace + +> Conecta e gerencia seus codespaces no GitHub. +> Mais informações: . + +- Cria um codespace no GitHub interativamente: + +`gh {{[cs|codespace]}} create` + +- Lista todos os codespaces disponíveis: + +`gh {{[cs|codespace]}} {{[ls|list]}}` + +- Conecta a um codespace via SSH interativamente: + +`gh {{[cs|codespace]}} ssh` + +- Transfere um arquivo específico para um codespace interativamente: + +`gh {{[cs|codespace]}} cp {{caminho/para/arquivo_fonte}} remote:{{caminho/para/arquivo_remoto}}` + +- Lista os ports de um codespace interativamente: + +`gh {{[cs|codespace]}} ports` + +- Exibe os registros de um codespace interativamente: + +`gh {{[cs|codespace]}} logs` + +- Exclui um codespace interativamente: + +`gh {{[cs|codespace]}} delete` + +- Exibe ajuda para um subcomando: + +`gh {{[cs|codespace]}} {{code|cp|create|delete|edit|...}} {{[-h|--help]}}` diff --git a/pages.pt_BR/common/gh-cs.md b/pages.pt_BR/common/gh-cs.md new file mode 100644 index 00000000000000..4b9c08b9929b96 --- /dev/null +++ b/pages.pt_BR/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Este comando é um apelido de `gh codespace`. + +- Exibe documentação sobre o comando original: + +`tldr gh codespace` diff --git a/pages.pt_BR/common/git-add.md b/pages.pt_BR/common/git-add.md index 888387f476c577..793e1176e72e0e 100644 --- a/pages.pt_BR/common/git-add.md +++ b/pages.pt_BR/common/git-add.md @@ -1,6 +1,6 @@ # git add -> Adiciona arquivos modificados na área de preparação +> Adiciona arquivos modificados na área de preparação. > Mais informações: . - Adiciona um arquivo na área de preparação: @@ -9,24 +9,28 @@ - Adiciona todos arquivos (rastreados ou não): -`git add -A` +`git add {{[-A|--all]}}` + +- Adiciona todos arquivos na pasta atual: + +`git add .` - Adiciona apenas arquivos rastreados: -`git add -u` +`git add {{[-u|--update]}}` - Adiciona arquivos ignorados: -`git add -f` +`git add {{[-f|--force]}}` - Interativamente adiciona partes dos arquivo: -`git add -p` +`git add {{[-p|--patch]}}` - Interativamente adiciona partes de um dado arquivo: -`git add -p {{caminho/para/arquivo}}` +`git add {{[-p|--patch]}} {{caminho/para/arquivo}}` - Interativamente adiciona arquivos ou partes modificadas: -`git add -i` +`git add {{[-i|--interactive]}}` diff --git a/pages.pt_BR/common/git-alias.md b/pages.pt_BR/common/git-alias.md new file mode 100644 index 00000000000000..e89ebd6ffe0460 --- /dev/null +++ b/pages.pt_BR/common/git-alias.md @@ -0,0 +1,17 @@ +# git alias + +> Cria comandos curtos para comandos Git. +> Parte do `git-extras`. +> Mais informações: . + +- Lista todos os comandos curtos: + +`git alias` + +- Cria um novo comando curto com o `nome`: + +`git alias "{{nome}}" "{{comando}}"` + +- Procura por um comando curto existente: + +`git alias ^{{nome}}` diff --git a/pages.pt_BR/common/git-branch.md b/pages.pt_BR/common/git-branch.md new file mode 100644 index 00000000000000..c81e41e951ff95 --- /dev/null +++ b/pages.pt_BR/common/git-branch.md @@ -0,0 +1,36 @@ +# git branch + +> Comando principal do Git para trabalhar com branches. +> Mais informações: . + +- Lista todas as branches (locais e remotas; a branch atual é destacada por `*`): + +`git branch {{[-a|--all]}}` + +- Lista quais branches incluem um commit específico do Git em seu histórico: + +`git branch {{[-a|--all]}} --contains {{hash_do_commit}}` + +- Mostra o nome da branch atual: + +`git branch --show-current` + +- Cria uma nova branch baseada no commit atual: + +`git branch {{nome_da_branch}}` + +- Crua uma nova branch baseada em um commit específico: + +`git branch {{nome_da_branch}} {{hash_do_commit}}` + +- Renomeia uma branch (não precisa fazer checkout para isso): + +`git branch {{[-m|--move]}} {{antigo_nome_da_branch}} {{novo_nome_da_branch}}` + +- Exclui a branch local (não precisa fazer checkout para isso): + +`git branch {{[-d|--delete]}} {{nome_da_branch}}` + +- Exclui uma branch remota: + +`git push {{nome_remoto}} {{[-d|--delete]}} {{nome_da_branch_remota}}` diff --git a/pages.pt_BR/common/git-checkout.md b/pages.pt_BR/common/git-checkout.md new file mode 100644 index 00000000000000..727cb78e1422e1 --- /dev/null +++ b/pages.pt_BR/common/git-checkout.md @@ -0,0 +1,36 @@ +# git checkout + +> Faz checkout de uma branch ou caminhos para uma árvore de trabalho. +> Mais informações: . + +- Cria e muda para uma nova branch: + +`git checkout -b {{nome_da_branch}}` + +- Cria e muda para uma nova branch com base em uma referência específica (branch, remoto/branch, etiqueta são exemplos de referências válidas): + +`git checkout -b {{nome_da_branch}} {{referência}}` + +- Muda para uma branch local existente: + +`git checkout {{nome_da_branch}}` + +- Muda para uma branch previamente verificada: + +`git checkout -` + +- Muda para uma branch remota existente: + +`git checkout {{[-t|--track]}} {{nome_remoto}}/{{nome_da_branch}}` + +- Descarta todas as alterações não preparadas no diretório atual (consulte `git reset` para mais comandos do tipo desfazer): + +`git checkout .` + +- Descarta alterações não preparadas em um determinado arquivo: + +`git checkout {{caminho/para/arquivo}}` + +- Substitui um arquivo no diretório atual com a versão com commit em uma determinada branch: + +`git checkout {{nome_da_branch}} -- {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/git-clone.md b/pages.pt_BR/common/git-clone.md new file mode 100644 index 00000000000000..914fcbd6920748 --- /dev/null +++ b/pages.pt_BR/common/git-clone.md @@ -0,0 +1,36 @@ +# git clone + +> Clona um repositório existente. +> Mais informações: . + +- Clona um repositório existente em um novo diretório (o diretório padrão é o nome do repositório): + +`git clone {{local_do_repositório_remoto}} {{caminho/para/diretório}}` + +- Clona um repositório existente e seus submódulos: + +`git clone --recursive {{local_do_repositório_remoto}}` + +- Clona somente o diretório `.git` de um repositório existente: + +`git clone {{[-n|--no-checkout]}} {{local_do_repositório_remoto}}` + +- Clona um repositório local: + +`git clone {{[-l|--local]}} {{caminho/para/repositório/local}}` + +- Clona de forma silenciosa: + +`git clone {{[-q|--quiet]}} {{local_do_repositório_remoto}}` + +- Clona um repositório existente buscando somente os 10 commits mais recentes na branch padrão (útil para salvar tempo): + +`git clone --depth 10 {{local_do_repositório_remoto}}` + +- Clona um repositório existente buscando somente uma branch específica: + +`git clone {{[-b|--branch]}} {{nome}} --single-branch {{local_do_repositório_remoto}}` + +- Clona um repositório existente usando um comando SSH específico: + +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i caminho/para/chave_ssh_privada}}" {{local_do_repositório_remoto}}` diff --git a/pages.pt_BR/common/git-commit.md b/pages.pt_BR/common/git-commit.md new file mode 100644 index 00000000000000..70c2d7f9082f00 --- /dev/null +++ b/pages.pt_BR/common/git-commit.md @@ -0,0 +1,32 @@ +# git commit + +> Faz um commit dos arquivos no repositório. +> Mais informações: . + +- Faz um commit com os arquivos preparados no repositório com uma mensagem: + +`git commit {{[-m|--message]}} "{{mensagem}}"` + +- Faz um commit com os arquivos preparados com uma mensagem lida de um arquivo: + +`git commit {{[-F|--file]}} {{caminho/para/arquivo_de_mensagem_do_commit}}` + +- Prepara automaticamente todos os arquivos modificados e excluídos e faz o commit com uma mensagem: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{mensagem}}"` + +- Faz um commit com os arquivos preparados e assina-os com a chave GPG especificada (ou a definida no arquivo de configuração se nenhum argumento for especificado): + +`git commit {{[-S|--gpg-sign]}} {{id_da_chave}} {{[-m|--message]}} "{{mensagem}}"` + +- Atualiza o último commit adicionando as alterações atualmente preparadas, alterando o hash do commit: + +`git commit --amend` + +- Faz um commit apenas de arquivos específicos (já preparados): + +`git commit {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` + +- Cria um commit, mesmo se não haja arquivos preparados: + +`git commit {{[-m|--message]}} "{{mensagem}}" --allow-empty` diff --git a/pages.pt_BR/common/git-config.md b/pages.pt_BR/common/git-config.md new file mode 100644 index 00000000000000..5cbe43ce70d628 --- /dev/null +++ b/pages.pt_BR/common/git-config.md @@ -0,0 +1,37 @@ +# git config + +> Gerencia configurações personalizadas para repositórios Git. +> Estas configurações podem ser locais (para o repositório atual) ou globais (para o usuário atual). +> Mais informações: . + +- Define globalmente seu nome ou e-mail (essas informações são necessárias para fazer commit em um repositório e serão incluídas em todos os commits): + +`git config --global {{user.name|user.email}} "{{Seu nome|e-mail@example.com}}"` + +- Lista configurações locais ou globais: + +`git config {{[-l|--list]}} --{{local|global}}` + +- Lista somente configurações do sistema (armazenadas no `/etc/gitconfig`), e exibe o local do arquivo: + +`git config {{[-l|--list]}} --system --show-origin` + +- Obtém o valor de uma dada configuração: + +`git config alias.unstage` + +- Define o valor global de uma dada configuração: + +`git config --global alias.unstage "reset HEAD --"` + +- Reverte a configuração global para seu valor padrão: + +`git config --global --unset alias.unstage` + +- Edita a configuração local do Git (`.git/config`) no editor padrão: + +`git config {{[-e|--edit]}}` + +- Edita a configuração global do Git (`~/.gitconfig` por padrão ou `$XDG_CONFIG_HOME/git/config` se tal arquivo existir) no editor padrão: + +`git config --global {{[-e|--edit]}}` diff --git a/pages.pt_BR/common/git-diff.md b/pages.pt_BR/common/git-diff.md new file mode 100644 index 00000000000000..5764453288b119 --- /dev/null +++ b/pages.pt_BR/common/git-diff.md @@ -0,0 +1,36 @@ +# git diff + +> Mostra alterações nos arquivos rastreados. +> Mais informações: . + +- Mostra as alterações não preparadas: + +`git diff` + +- Mostra todas as alterações sem commit (incluindo as preparadas): + +`git diff HEAD` + +- Mostra apenas as alterações preparadas (adicionadas, mas ainda sem commit): + +`git diff --staged` + +- Mostra as alterações de todos os commits desde uma determinada data/hora (uma expressão de data, por exemplo, "1 week 2 days" ou uma data ISO): + +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` + +- Mostra estatísticas de comparação, como arquivos alterados, histogramas e número total de inserções/exclusões de linha: + +`git diff --stat {{commit}}` + +- Emite um resumo das criações de arquivos, renomeações e alterações de modo desde um determinado commit: + +`git diff --summary {{commit}}` + +- Compara um único arquivo entre duas branches ou commits: + +`git diff {{branch_1}}..{{branch_2}} {{caminho/para/arquivo}}` + +- Compara diferentes arquivos da branch atual com outra branch: + +`git diff {{branch}}:{{caminho/para/arquivo2}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/git-gc.md b/pages.pt_BR/common/git-gc.md new file mode 100644 index 00000000000000..05a843d462c894 --- /dev/null +++ b/pages.pt_BR/common/git-gc.md @@ -0,0 +1,24 @@ +# git gc + +> Otimiza o repositório local limpando os arquivos desnecessários. +> Mais informações: . + +- Otimiza o repositório: + +`git gc` + +- Otimiza de forma mais agressiva, demora mais tempo: + +`git gc --aggressive` + +- Não remove objetos perdidos (por default é removido): + +`git gc --no-prune` + +- Não exibe a saída: + +`git gc --quiet` + +- Exibe toda a ajuda: + +`git gc --help` diff --git a/pages.pt_BR/common/git-init.md b/pages.pt_BR/common/git-init.md new file mode 100644 index 00000000000000..54895591c6cbb5 --- /dev/null +++ b/pages.pt_BR/common/git-init.md @@ -0,0 +1,20 @@ +# git init + +> Inicializa um novo repositório Git local. +> Mais informações: . + +- Inicializa um novo repositório local: + +`git init` + +- Inicializa um repositório com o nome especificado para a branch inicial: + +`git init {{[-b|--initial-branch]}} {{nome_da_branch}}` + +- Inicializa um repositório usando SHA256 para os hashes de objeto (requer Git versão 2.29+): + +`git init --object-format sha256` + +- Inicializa um repositório barebones, adequado para usar como um remoto via SSH: + +`git init --bare` diff --git a/pages.pt_BR/common/git-log.md b/pages.pt_BR/common/git-log.md new file mode 100644 index 00000000000000..2c648bafc7868a --- /dev/null +++ b/pages.pt_BR/common/git-log.md @@ -0,0 +1,36 @@ +# git log + +> Mostra um histórico de commits. +> Mais informações: . + +- Mostra a sequência de commits a partir do atual, em ordem cronológica reverse do repositório Git no diretório de trabalho atual: + +`git log` + +- Mostra o histórico de um arquivo ou diretório determinado, incluindo diferenças: + +`git log {{[-p|--patch]}} {{caminho/para/arquivo_ou_diretório}}` + +- Mostra uma visão geral do(s) arquivo(s) alterado(s) em cada commit: + +`git log --stat` + +- Mostra um grafo dos commits no branch atual usando apenas a primera linha de cada mensagem de commit: + +`git log --oneline --graph` + +- Mostra um grafo de todos os commits, etiquetas e branches em todo o repositório: + +`git log --oneline --decorate --all --graph` + +- Mostra apenas os commits cujas mensagem incluem uma determinada cadeia de caracteres (sem distinção entre maiúsculas e minúsculas): + +`git log {{[-i|--regexp-ignore-case]}} --grep {{cadeia_de_caracteres_para_pesquisa}}` + +- Mostra os últimos N commits de um determinado autor: + +`git log {{[-n|--max-count]}} {{número}} --author "{{autor}}"` + +- Mostra os commits entre duas datas(aaaa-mm-dd): + +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages.pt_BR/common/git-mv.md b/pages.pt_BR/common/git-mv.md index 23548619809098..aae92fd1108162 100644 --- a/pages.pt_BR/common/git-mv.md +++ b/pages.pt_BR/common/git-mv.md @@ -13,4 +13,4 @@ - Sobrescreve o arquivo no caminho alvo se ele já existir: -`git mv --force {{arquivo}} {{alvo}}` +`git mv {{[-f|--force]}} {{arquivo}} {{alvo}}` diff --git a/pages.pt_BR/common/git-pr.md b/pages.pt_BR/common/git-pr.md new file mode 100644 index 00000000000000..20c2cfd12e7fbf --- /dev/null +++ b/pages.pt_BR/common/git-pr.md @@ -0,0 +1,21 @@ +# git pr + +> Traz o código via checkout dos pull requests do GitHub localmente. +> Parte do `git-extras`. +> Mais informações: . + +- Traz o código específico de um pull request: + +`git pr {{número_do_pr}}` + +- Traz o código de um pull request para um remoto específico: + +`git pr {{número_do_pr}} {{remoto}}` + +- Traz o código de um pull request da sua URL: + +`git pr {{url}}` + +- Limpa pull requests antigos: + +`git pr clean` diff --git a/pages.pt_BR/common/git-pull.md b/pages.pt_BR/common/git-pull.md new file mode 100644 index 00000000000000..1b46192717e31f --- /dev/null +++ b/pages.pt_BR/common/git-pull.md @@ -0,0 +1,16 @@ +# git pull + +> Obtém branch de um repositório remoto e mescla-a ao repositório local. +> Mais informações: . + +- Baixa as alterações do repositório remoto padrão e mescla-as: + +`git pull` + +- Baixa as alterações do repositório remoto padrão e usa o avanço rápido: + +`git pull {{[-r|--rebase]}}` + +- Baixa as alterações de um determinado repositório remoto e branch, então, mescla-as no HEAD: + +`git pull {{nome_remoto}} {{branch}}` diff --git a/pages.pt_BR/common/git-push.md b/pages.pt_BR/common/git-push.md new file mode 100644 index 00000000000000..05f827f76624bc --- /dev/null +++ b/pages.pt_BR/common/git-push.md @@ -0,0 +1,36 @@ +# git push + +> Envia commits para um repositório remoto. +> Mais informações: . + +- Envia alterações locais na branch atual para sua contraparte remota padrão: + +`git push` + +- Envia alterações de uma branch local específica para sua contraparte remota: + +`git push {{nome_remoto}} {{branch_local}}` + +- Envia alterações de uma branch local específica para sua contraparte remota, e define a branch remota como o destino push/pull padrão da branch local: + +`git push {{[-u|--set-upstream]}} {{nome_remoto}} {{branch_local}}` + +- Envia alterações de uma branch local específica para uma branch remota específica: + +`git push {{nome_remoto}} {{branch_local}}:{{branch_remota}}` + +- Envia alterações em todas as branches locais para suas contrapartes em um determinado repositório remoto: + +`git push --all {{nome_remoto}}` + +- Exclui uma branch em um repositório remoto: + +`git push {{nome_remoto}} {{[-d|--delete]}} {{branch_remota}}` + +- Remove branches remotas que não tenham uma contraparte local: + +`git push --prune {{nome_remoto}}` + +- Publica etiquetas que ainda não estão no repositório remoto: + +`git push --tags` diff --git a/pages.pt_BR/common/git-rebase.md b/pages.pt_BR/common/git-rebase.md new file mode 100644 index 00000000000000..09a6b7fe499a08 --- /dev/null +++ b/pages.pt_BR/common/git-rebase.md @@ -0,0 +1,37 @@ +# git rebase + +> Reaplica os commits de uma branch sobre outra branch. +> Comumente usado para "mover" uma branch inteira para outra base, criando cópias dos commits na nova localização. +> Mais informações: . + +- Faz um rebase na branch atual sobre outra branch especificada: + +`git rebase {{nova_branch_base}}` + +- Inicia um rebase interativo, que permite os commits serem reordenados, omitidos, combinados ou modificados: + +`git rebase {{[-i|--interactive]}} {{branch_base_alvo_ou_hash_do_commit}}` + +- Continua um rebase que foi interrompido por uma falha de mesclagem, após a edição de arquivos conflitantes: + +`git rebase --continue` + +- Continua um rebase que foi pausado devido a conflitos de mesclagem, ignorando o commit conflitante: + +`git rebase --skip` + +- Aborta um rebase em andamento (por exemplo, se ele foi interrompido por um conflito de mesclagem): + +`git rebase --abort` + +- Move parte da branch atual para uma nova base, fornecendo a base antiga para começar: + +`git rebase --onto {{base_nova}} {{base_antiga}}` + +- Reaplica os últimos 5 commits no local, parando para permitir que eles sejam reordenados, omitidos, combinados ou modificados: + +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` + +- Resolve automaticamente quaisquer conflitos favorecendo a versão da branch de trabalho (a palavra-chave `theirs` tem significado invertido nesse caso): + +`git rebase {{[-X|--strategy-option]}} theirs {{nome_da_branch}}` diff --git a/pages.pt_BR/common/git-remote.md b/pages.pt_BR/common/git-remote.md index c63c90b80623de..3d6c52d685fb73 100644 --- a/pages.pt_BR/common/git-remote.md +++ b/pages.pt_BR/common/git-remote.md @@ -3,9 +3,9 @@ > Gerencia repositórios monitorados ("remotes"). > Mais informações: . -- Mostre uma lista de remotes existentes, seus nomes e URL: +- Lista remotes existentes com seus nomes e URLs: -`git remote -v` +`git remote {{[-v|--verbose]}}` - Mostra infomação de um remote específico: @@ -19,6 +19,10 @@ `git remote set-url {{nome_do_remote}} {{nova_url}}` +- Mostra a URL de um remote: + +`git remote get-url {{nome_do_remote}}` + - Remove um remote: `git remote remove {{nome_do_remote}}` diff --git a/pages.pt_BR/common/git-reset.md b/pages.pt_BR/common/git-reset.md new file mode 100644 index 00000000000000..c0fe790f51bec8 --- /dev/null +++ b/pages.pt_BR/common/git-reset.md @@ -0,0 +1,33 @@ +# git reset + +> Desfaz os commits ou as alterações nào preparadas, redefinindo o Git HEAD atual para o estado especificado. +> Se um caminho é passado, funcionará como "não preparado"; se um hash de commit ou uma branch é passado, funcionará como "sem commit". +> Mais informações: . + +- Remove tudo da preparação: + +`git reset` + +- Remove arquivo(s) específico(s) da preparação: + +`git reset {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` + +- Interativamente remove partes de um arquivo da preparação: + +`git reset {{[-p|--patch]}} {{caminho/para/arquivo}}` + +- Desfaz o último commit, mantendo suas alterações (e quaisquer outras alteração não confirmadas) no sistema de arquivos: + +`git reset HEAD~` + +- Desfaz os últimos dois commits, adicionando suas alterações na área de preparação, isso é, preparando-os para o commit: + +`git reset --soft HEAD~2` + +- Descarta quaisquer alterações sem commit, preparadas ou não (para apenas alterações não preparadas, use o `git checkout`): + +`git reset --hard` + +- Redefine o repositório para um determinado commit, descartando as alterações com commit, preparadas e sem commit desde então: + +`git reset --hard {{commit}}` diff --git a/pages.pt_BR/common/git-rm.md b/pages.pt_BR/common/git-rm.md new file mode 100644 index 00000000000000..4a7c285dad2660 --- /dev/null +++ b/pages.pt_BR/common/git-rm.md @@ -0,0 +1,16 @@ +# git rm + +> Remove arquivos do índice do repositório e do arquivo local do sistema. +> Mais informações: . + +- Remove arquivo do índice do repositório e do arquivo local do sistema: + +`git rm {{arquivo}}` + +- Remove um diretório: + +`git rm -r {{diretório}}` + +- Remove arquivo do índice do repositório mas mantém o mesmo localmente: + +`git rm --cached {{arquivo}}` diff --git a/pages.pt_BR/common/git-stage.md b/pages.pt_BR/common/git-stage.md new file mode 100644 index 00000000000000..e7aaf7a7a7ffb2 --- /dev/null +++ b/pages.pt_BR/common/git-stage.md @@ -0,0 +1,7 @@ +# git stage + +> Este comando é um apelido de `git add`. + +- Exibe documentação sobre o comando original: + +`tldr git add` diff --git a/pages.pt_BR/common/git-status.md b/pages.pt_BR/common/git-status.md new file mode 100644 index 00000000000000..691206905c52db --- /dev/null +++ b/pages.pt_BR/common/git-status.md @@ -0,0 +1,33 @@ +# git status + +> Mostra as alterações nos arquivos em um repositório Git. +> Lista os arquivos alterados, adicionados e excluídos em comparação com o atual commit do checkout. +> Mais informações: . + +- Mostra arquivos alterados que ainda não foram adicionados para commit: + +`git status` + +- Fornece a saída em formato curto: + +`git status {{[-s|--short]}}` + +- Mostra informação verbosa em alterações tanto na área de preparação e no diretório de trabalho: + +`git status {{[-vv|--verbose --verbose]}}` + +- Mostra informações da branch e de rastreamento: + +`git status {{[-b|--branch]}}` + +- Mostra a saída em formato curto junto com as informações da branch: + +`git status {{[-sb|--short --branch]}}` + +- Mostra o número de entradas atualmente armazenadas: + +`git status --show-stash` + +- Não mostra arquivos não rastreados na saída: + +`git status {{[-uno|--untracked-files=no]}}` diff --git a/pages.pt_BR/common/git-tag.md b/pages.pt_BR/common/git-tag.md new file mode 100644 index 00000000000000..90df95afc1c46f --- /dev/null +++ b/pages.pt_BR/common/git-tag.md @@ -0,0 +1,37 @@ +# git tag + +> Cria, exibe, exclui ou verifica tags. +> Uma tag é uma referência estática para um commit. +> Mais informações: . + +- Exibe todas as tags: + +`git tag` + +- Cria uma tag com o nome fornecido apontando para o commit atual: + +`git tag {{nome_da_tag}}` + +- Cria uma tag com o nome fornecido apontando para um determinado commit: + +`git tag {{nome_da_tag}} {{commit}}` + +- Cria uma tag anotada com a mensagem fornecida: + +`git tag {{nome_da_tag}} {{[-m|--message]}} {{mensagem_da_tag}}` + +- Exclui a tag com o nome fornecido: + +`git tag {{[-d|--delete]}} {{nome_da_tag}}` + +- Obtém tags atualizadas do remote: + +`git fetch {{[-t|--tags]}}` + +- Envia uma tag para o remote: + +`git push origin tag {{nome_da_tag}}` + +- Lista todas as tags cujos ancestrais incluem um determinado commit: + +`git tag --contains {{commit}}` diff --git a/pages.pt_BR/common/git.md b/pages.pt_BR/common/git.md index 041fdfb7a3ee8c..47dc9552127437 100644 --- a/pages.pt_BR/common/git.md +++ b/pages.pt_BR/common/git.md @@ -1,28 +1,29 @@ # git -> Sistema de versionamento distribuído -> Mais informações: . +> Sistema de versionamento distribuído. +> Alguns subcomandos como `commit` tem sua própia documentação de uso. +> Mais informações: . -- Verifique a versão do Git: +- Execute um subcomando Git: -`git --version` +`git {{subcomando}}` -- Mostre ajuda geral: +- Execute um subcomando Git no caminho raíz de um repositório específico: -`git --help` +`git -C {{caminho/para/repo}} {{subcomando}}` -- Mostre ajuda de um subcomando do Git (como `commit`, `log`, etc.): +- Execute um subcomando Git com uma dada configuração: -`git help {{subcomando}}` +`git -c '{{config.chave}}={{valor}}' {{subcomando}}` -- Execute um subcomando Git: +- Mostre ajuda geral: -`git {{subcomando}}` +`git --help` -- Execute um subcomando Git no caminho raíz de um repositório específico: +- Mostre ajuda de um subcomando do Git (como `commit`, `log`, etc.): -`git -C {{caminho/para/o/repo}} {{subcomando}}` +`git help {{subcomando}}` -- Execute um subcomando Git com uma dada configuração: +- Verifique a versão do Git: -`git -c '{{config.chave}}={{valor}}' {{subcomando}}` +`git --version` diff --git a/pages.pt_BR/common/gnmic-sub.md b/pages.pt_BR/common/gnmic-sub.md new file mode 100644 index 00000000000000..7fc4fe514b3331 --- /dev/null +++ b/pages.pt_BR/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Este comando é um apelido de `gnmic subscribe`. + +- Exibe documentação sobre o comando original: + +`tldr gnmic subscribe` diff --git a/pages.pt_BR/common/google-chrome.md b/pages.pt_BR/common/google-chrome.md new file mode 100644 index 00000000000000..0e6a4692e9fc6e --- /dev/null +++ b/pages.pt_BR/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Este comando é um apelido de `chromium`. +> Mais informações: . + +- Exibe documentação sobre o comando original: + +`tldr chromium` diff --git a/pages.pt_BR/common/gpg.md b/pages.pt_BR/common/gpg.md index 13e9cb21fc16ee..0a46c09c56d6d9 100644 --- a/pages.pt_BR/common/gpg.md +++ b/pages.pt_BR/common/gpg.md @@ -1,23 +1,27 @@ # gpg > GNU Privacy Guard. -> Mais informações: . +> Mais informações: . -- Assina doc.txt, sem criptografá-lo (cria um arquivo de saída doc.txt.asc): +- Cria uma chave GPG pública e privada interativamente: + +`gpg {{[--full-gen-key|--full-generate-key]}}` + +- Assina doc.txt sem criptografia (cria um arquivo de saída `doc.txt.asc`): `gpg --clearsign {{doc.txt}}` -- Criptografa doc.txt para alice@example.com (cria um arquivo de saída doc.txt.gpg): +- Criptografa e assina `doc.txt` para alice@example.com e bob@example.com (cria um arquivo de saída `doc.txt.gpg`): -`gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}}` +`gpg {{[-es|--encrypt --sign]}} {{[-r|--recipient]}} {{alice@example.com}} {{[-r|--recipient]}} {{bob@example.com}} {{doc.txt}}` -- Criptografa doc.txt apenas com uma senha simétrica (cria um arquivo de sadída doc.txt.gpg): +- Criptografa `doc.txt` apenas com uma senha simétrica (cria um arquivo de saída `doc.txt.gpg`): -`gpg --symmetric {{doc.txt}}` +`gpg {{[-c|--symmetric]}} {{doc.txt}}` -- Descriptografa doc.txt.gpg (envia saída para `stdout`): +- Descriptografa `doc.txt.gpg` (envia saída para `stdout`): -`gpg --decrypt {{doc.txt.gpg}}` +`gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}` - Importa uma chave pública: @@ -25,8 +29,8 @@ - Exporta a chave pública da alice@example.com (envia saída para `stdout`): -`gpg --export --armor {{alice@example.com}}` +`gpg --export {{[-a|--armor]}} {{alice@example.com}}` - Exporta chave privada da alice@example.com (envia saída para `stdout`): -`gpg --export-secret-keys --armor {{alice@example.com}}` +`gpg --export-secret-keys {{[-a|--armor]}} {{alice@example.com}}` diff --git a/pages.pt_BR/common/grep.md b/pages.pt_BR/common/grep.md new file mode 100644 index 00000000000000..4a420a1a54baee --- /dev/null +++ b/pages.pt_BR/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Acha padrões em arquivos usando expressões regulares. +> Mais informações: . + +- Pesquisa por um padrão em um arquivo: + +`grep "{{padrão_pesquisado}}" {{caminho/para/arquivo}}` + +- Pesquisa por uma string exata (desabilita expressões regulares): + +`grep {{[-F|--fixed-strings]}} "{{string_exata}}" {{caminho/para/arquivo}}` + +- Pesquisa por um padrão em todos os arquivos recursivamente em um diretório, mostrando o número das linhas das correspondências, ignorando arquivos binários: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{padrão_pesquisado}}" {{caminho/para/diretório}}` + +- Usa expressões regulares estendidas (suporta `?`, `+`, `{}`, `()` and `|`), no modo insensível a maiúsculas e minúsculas: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{padrão_pesquisado}}" {{caminho/para/arquivo}}` + +- Imprime 3 linhas de contexto em volta, antes ou depois de cada correspondência: + +`grep {{--context|--before-context|--after-context}} 3 "{{padrão_pesquisado}}" {{caminho/para/arquivo}}` + +- Imprime o nome do arquivo e o número da linha para cada correspondência: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{padrão_pesquisado}}" {{caminho/para/arquivo}}` + +- Pesquisa por linhas que correspondem a um padrão, imprimindo apenas o texto correspondido: + +`grep {{[-o|--only-matching]}} "{{padrão_pesquisado}}" {{caminho/para/arquivo}}` + +- Pesquisa `stdin` para linhas que não correspondem a um padrão: + +`cat {{caminho/para/arquivo}} | grep {{[-v|--invert-match]}} "{{padrão_pesquisado}}"` diff --git a/pages.pt_BR/common/gzip.md b/pages.pt_BR/common/gzip.md index bcd17052e6d3a0..1204d34fc583dc 100644 --- a/pages.pt_BR/common/gzip.md +++ b/pages.pt_BR/common/gzip.md @@ -1,20 +1,32 @@ # gzip -> Ferramenta de compactação de arquivos com compressão gzip. -> Mais informações: . +> Compacta/descompacta arquivos com compressão gzip (LZ77). +> Mais informações: . -- Alterar compressão de um arquivo compactado com compressão gzip: +- Compacta um arquivo, substituindo-o por uma versão compactada gzip: -`gzip {{arquivo.ext}}` +`gzip {{caminho_para_arquivo}}` -- Descompactar arquivo gzip definindo arquivo final: +- Descompacta um arquivo, substituindo-o pela versão descompactada original: -`gzip -c -d {{arquivo.ext}}.gz > {{arquivo_descompactado.ext}}` +`gzip {{[-d|--decompress]}} {{caminho/para/arquivo.gz}}` -- Compactar arquivo definindo arquivo final: +- Compacta um arquivo, mantendo o arquivo original: -`gzip -c {{arquivo.ext}} > {{arquivo_compactado.ext.gz}}` +`gzip {{[-k|--keep]}} {{caminho/para/arquivo}}` -- Compactando arquivos em gzip definindo o nível de compressão [9]: +- Compacta um arquivo definindo o nome do arquivo de saída: -`gzip -{{9}} -c {{arquivo.ext}} > {{arquivo_compactado.ext.gz}}` +`gzip {{[-c|--stdout]}} {{caminho/para/arquivo}} > {{caminho/para/arquivo_compactado.gz}}` + +- Descompacta um arquivo gzip definindo o nome do arquivo de saída: + +`gzip {{[-c|--stdout]}} {{[-d|--decompress]}} {{caminho/para/arquivo.gz}} > {{caminho/para/arquivo_descompactado}}` + +- Especifica o nível de compactação. 1 é o mais rápido (baixa compressão), 9 é o mais lento (baixa compressão), o nível padrão é 6: + +`gzip -{{1..9}} {{[-c|--stdout]}} {{caminho/para/arquivo}} > {{caminho/para/arquivo_compactado.gz}}` + +- Mostra o nome e o percentual de redução para cada arquivo comprimido ou descomprimido: + +`gzip {{[-v|--verbose]}} {{[-d|--decompress]}} {{caminho/para/arquivo.gz}}` diff --git a/pages.pt_BR/common/head.md b/pages.pt_BR/common/head.md new file mode 100644 index 00000000000000..5c4600a2b94f46 --- /dev/null +++ b/pages.pt_BR/common/head.md @@ -0,0 +1,8 @@ +# head + +> Exibe a primeira parte de arquivos. +> Mais informações: . + +- Exibe as primeiras linhas de um arquivo: + +`head -n {{número_linhas}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/helm.md b/pages.pt_BR/common/helm.md index d614e988316694..6223256733248f 100644 --- a/pages.pt_BR/common/helm.md +++ b/pages.pt_BR/common/helm.md @@ -25,7 +25,7 @@ - Instala um chart helm: -`helm install {{nome_do_repositório}}/{{nome_do_chart}}` +`helm install {{nome}} {{nome_do_repositório}}/{{nome_do_chart}}` - Obtém um chart helm chart como um arquivo tar: diff --git a/pages.pt_BR/common/history.md b/pages.pt_BR/common/history.md new file mode 100644 index 00000000000000..806c389d33511b --- /dev/null +++ b/pages.pt_BR/common/history.md @@ -0,0 +1,28 @@ +# history + +> Histórico de linha da comando. +> Mais informações: . + +- Exibe a lista de histórico de comandos com números de linha: + +`history` + +- Exibe os últimos 20 comandos (em Zsh ele exibe todos os comandos a partir do 20º): + +`history {{20}}` + +- Exibe histórico com data e hora em diferentes formatos (diponível apenas em Zsh): + +`history -{{d|f|i|E}}` + +- Limpa a lista do histórico de comandos (apenas para o shell Bash atual): + +`history -c` + +- Sobrescreve o arquivo de histórico com o histórico do shell Bash atual (frequentemente combinado com `history -c` para limpar o histórico): + +`history -w` + +- Deleta a entrada do histórico no deslocamento especificado: + +`history -d {{deslocamento}}` diff --git a/pages.pt_BR/common/htop.md b/pages.pt_BR/common/htop.md new file mode 100644 index 00000000000000..6125429f6ff028 --- /dev/null +++ b/pages.pt_BR/common/htop.md @@ -0,0 +1,36 @@ +# htop + +> Exibe informação dinâmica em tempo real acerca de processos em execução. Uma versão melhorada do comando `top`. +> Mais informações: . + +- Inicializa `htop`: + +`htop` + +- Inicializa `htop` mostrando somente processos pertencentes a um usuário: + +`htop {{[-u|--user]}} {{nome_usuário}}` + +- Apresenta os processos de forma hierárquica em uma visão de árvore para mostrar relações de pai-filho: + +`htop {{[-t|--tree]}}` + +- Ordena processos por um `item_de_ordenação` (utilize `htop --sort help` para ver as opções disponíveis): + +`htop {{[-s|--sort]}} {{item_de_ordenação}}` + +- Inicializa `htop` com um atraso especificado entre atualizações, em décimos de segundo (p. ex. 50 = 5 segundos): + +`htop {{[-d|--delay]}} {{50}}` + +- Vê comandos interativos enquanto roda htop: + +`` + +- Muda para uma aba diferente: + +`` + +- Mostra ajuda: + +`htop {{[-h|--help]}}` diff --git a/pages.pt_BR/common/hx.md b/pages.pt_BR/common/hx.md new file mode 100644 index 00000000000000..a88d430848f1dc --- /dev/null +++ b/pages.pt_BR/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Este comando é um apelido de `helix`. + +- Exibe documentação sobre o comando original: + +`tldr helix` diff --git a/pages.pt_BR/common/i3lock.md b/pages.pt_BR/common/i3lock.md new file mode 100644 index 00000000000000..e5b1171ca257c0 --- /dev/null +++ b/pages.pt_BR/common/i3lock.md @@ -0,0 +1,32 @@ +# i3lock + +> Bloqueador de tela simples para o gerenciador de janelas i3. +> Mais informações: . + +- Bloqueia a tela com uma tela branca: + +`i3lock` + +- Bloqueia a tela com uma cor de fundo (formato rrggbb): + +`i3lock --color {{0000ff}}` + +- Bloqueia a tela com uma imagem PNG: + +`i3lock --image {{caminho/para/imagem.png}}` + +- Bloqueia a tela e disabilita o indicador de desbloqueio (remove as resposta do sistema ao pressionar alguma tecla): + +`i3lock --no-unlock-indicator` + +- Bloqueia a tela e não esconde o ponteiro do mouse: + +`i3lock --pointer {{default}}` + +- Bloqueia a tela com uma imagem PNG sendo mostrada em todos os monitores: + +`i3lock --image {{path/to/imagem.png}} --tiling` + +- Bloqueia a tela e mostra o número de tentativas de login que falharam: + +`i3lock --show-failed-attempts` diff --git a/pages.pt_BR/common/id.md b/pages.pt_BR/common/id.md new file mode 100644 index 00000000000000..3f71dea8823b12 --- /dev/null +++ b/pages.pt_BR/common/id.md @@ -0,0 +1,28 @@ +# id + +> Exibe o usuário atual e identidade do grupo. +> Mais informações: . + +- Exibe o ID do usuário atual (UID), ID do grupo (GID) e grupos aos quais eles pertencem: + +`id` + +- Exibe a identidade do usuário atual: + +`id {{[-un|--user --name]}}` + +- Exibe a identidade do usuário atual como um número: + +`id {{[-u|--user]}}` + +- Exibe a identidade do grupo primário atual: + +`id {{[-gn|--group --name]}}` + +- Exibe a identidade do grupo atual como um número: + +`id {{[-g|--group]}}` + +- Exibe o ID de um usuário arbitrário (UID), ID do grupo (GID) e grupos aos quais eles pertencem: + +`id {{nome_de_usuário}}` diff --git a/pages.pt_BR/common/img2pdf.md b/pages.pt_BR/common/img2pdf.md new file mode 100644 index 00000000000000..3fe6c8622220c8 --- /dev/null +++ b/pages.pt_BR/common/img2pdf.md @@ -0,0 +1,24 @@ +# img2pdf + +> Ferramenta de conversão sem perdas de imagens para PDF. +> Mais informações: . + +- Converte múltiplas imagens para um único PDF, cada imagem sendo uma página: + +`img2pdf {{caminho/da/imagem1.ext caminho/da/imagem2.ext ...}} --output {{caminho/do/arquivo.pdf}}` + +- Converte para PDF apenas o primeiro quadro de uma imagem com múltiplos quadros: + +`img2pdf {{caminho/do/arquivo.gif}} --first-frame-only --output {{caminho/do/arquivo.pdf}}` + +- Auto-orienta a imagem, usando uma página A4 em modo paisagem, e borda horizontal e vertical de tamanho específico: + +`img2pdf {{caminho/do/arquivo.ext}} --auto-orient --pagesize {{A4^T}} --border {{2cm}}:{{5.1cm}} --output {{caminho/do/arquivo.pdf}}` + +- Encolhe apenas imagens maiores para um retângulo de dimensões específicas dentro de uma página de tamanho específico: + +`img2pdf {{caminho/do/arquivo.tiff}} --pagesize {{30cm}}x{{20cm}} --imgsize {{10cm}}x{{15cm}} --fit {{shrink}} --output {{caminho/do/arquivo.pdf}}` + +- Converte uma imagem para PDF e especifica os metadados do arquivo resultante: + +`img2pdf {{caminho/do/arquivo.png}} --title {{título}} --author {{autor}} --creationdate {{1970-01-31}} --keywords {{palavra_chave1 palavra_chave2}} --subject {{assunto}} --output {{caminho/do/arquivo.pdf}}` diff --git a/pages.pt_BR/common/imgcat.md b/pages.pt_BR/common/imgcat.md new file mode 100644 index 00000000000000..b945f142b3ae16 --- /dev/null +++ b/pages.pt_BR/common/imgcat.md @@ -0,0 +1,9 @@ +# imgcat + +> Utilitário para exibir imagens diretamente na linha de comando. +> Requer um terminal compatível, como o iTerm2. +> Mais informações: . + +- Exibe uma imagem na linha de comando: + +`imgcat {{nome_do_arquivo}}` diff --git a/pages.pt_BR/common/ippeveprinter.md b/pages.pt_BR/common/ippeveprinter.md new file mode 100644 index 00000000000000..1b5110604b025c --- /dev/null +++ b/pages.pt_BR/common/ippeveprinter.md @@ -0,0 +1,29 @@ +# ippeveprinter + +> Um servidor de impressão IPP Everywhere simples. +> Veja também: `ippeveps`, `ippevepcl`. +> Mais informações: . + +- Executa o servidor com um nome de serviço específico: + +`ippeveprinter "{{nome_do_serviço}}"` + +- Carrega os atributos da impressora de um arquivo PPD: + +`ippeveprinter -P {{caminho/para/arquivo.ppd}} "{{nome_do_serviço}}"` + +- Executa o comando `file` sempre que um trabalho é enviado para o servidor: + +`ippeveprinter -c {{/usr/bin/file}} "{{nome_do_serviço}}"` + +- Especifica o diretório que vai conter os arquivos de impressão (por padrão, um diretório dentro do diretório temporário do usuário): + +`ippeveprinter -d {{diretório_spool}} "{{nome_do_serviço}}"` + +- Mantém os documentos de impressão no diretório de spool em vez de exclui-los: + +`ippeveprinter -k "{{nome_do_serviço}}"` + +- Especifica a velocidade da impressora na unidade páginas/minuto (10 por padrão): + +`ippeveprinter -s {{velocidade}} "{{nome_do_serviço}}"` diff --git a/pages.pt_BR/common/ippeveps.md b/pages.pt_BR/common/ippeveps.md new file mode 100644 index 00000000000000..788118d743f949 --- /dev/null +++ b/pages.pt_BR/common/ippeveps.md @@ -0,0 +1,14 @@ +# ippeveps + +> Imprime em impressoras Adobe PostScript. +> Suporta arquivos PDF, PostScript, JPEG, PWG Raster or Apple Raster. +> Veja também: `ippevepcl`, `ippeveprinter`. +> Mais informações: . + +- Imprime um arquivo para `stdout` (mensagens de estado e progresso são enviadas para `stderr`): + +`ippeveps {{caminho/para/arquivo}}` + +- Imprime um arquivo de `stdin` para `stdout`: + +`{{wget -O - https://examplewebsite.com/file}} | ippeveps` diff --git a/pages.pt_BR/common/java.md b/pages.pt_BR/common/java.md new file mode 100644 index 00000000000000..910a369f3e1ee2 --- /dev/null +++ b/pages.pt_BR/common/java.md @@ -0,0 +1,28 @@ +# java + +> Inicializador de programas Java. +> Mais informações: . + +- Executa um arquivo Java `.class` que contém um método main, usando o nome da classe: + +`java {{nome_da_classe}}` + +- Executa um programa Java e usa classes adicionais de terceiros ou definidas pelo usuário: + +`java -classpath {{caminho/para/classes1}}:{{caminho/para/classes2}}:. {{nome_da_classe}}` + +- Executa um programa `.jar`: + +`java -jar {{nome_do_arquivo.jar}}` + +- Executa um programa `.jar` com o debugger aguardando conexão na porta 5005: + +`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{nome_do_arquivo.jar}}` + +- Exibe a versão do JDK, JRE e HotSpot: + +`java -version` + +- Exibe os comandos disponíveis do Java: + +`java -help` diff --git a/pages.pt_BR/common/javac.md b/pages.pt_BR/common/javac.md new file mode 100644 index 00000000000000..2c5c1e19cb93d7 --- /dev/null +++ b/pages.pt_BR/common/javac.md @@ -0,0 +1,20 @@ +# javac + +> O compilador de aplicações Java. +> Mais informações: . + +- Compila um arquivo `.java`: + +`javac {{arquivo.java}}` + +- Compila vários arquivos `.java`: + +`javac {{arquivo1.java arquivo2.java ...}}` + +- Compila todos os arquivos `.java` no diretório atual: + +`javac {{*.java}}` + +- Compila um arquivo `.java` e coloque a classe resultante em um diretório específico: + +`javac -d {{caminho/para/diretorio}} {{arquivo.java}}` diff --git a/pages.pt_BR/common/join.md b/pages.pt_BR/common/join.md new file mode 100644 index 00000000000000..951b0e11252c02 --- /dev/null +++ b/pages.pt_BR/common/join.md @@ -0,0 +1,24 @@ +# join + +> Junta linhas de dois arquivos ordenados em um campo comum. +> Mais informações: . + +- Junta dois arquivos no primeiro campo (padrão): + +`join {{caminho/para/arquivo1}} {{caminho/para/arquivo2}}` + +- Junta dois arquivos usando uma vírgula (em vez de um espaço) como separador de campo: + +`join -t {{','}} {{caminho/para/arquivo1}} {{caminho/para/arquivo2}}` + +- Junta campo3 do arquivo1 ao campo1 do arquivo2: + +`join -1 {{3}} -2 {{1}} {{caminho/para/arquivo1}} {{caminho/para/arquivo2}}` + +- Produz uma linha para cada linha que não pode ser pareada para o arquivo1: + +`join -a {{1}} {{caminho/para/arquivo1}} {{caminho/para/arquivo2}}` + +- Junta aquivo da entrada padrão (`stdin`): + +`cat {{caminho/para/arquivo1}} | join - {{caminho/para/arquivo2}}` diff --git a/pages.pt_BR/common/jupyter.md b/pages.pt_BR/common/jupyter.md new file mode 100644 index 00000000000000..e5202cc1e64707 --- /dev/null +++ b/pages.pt_BR/common/jupyter.md @@ -0,0 +1,33 @@ +# jupyter + +> Aplicação web para criar e compartilhar documentos que contem código, visualizações e anotações. +> Usado principalmente para análise de dados, computação científica e aprendizado de máquinas (machine learning). +> Mais informações: . + +- Inicia um servidor de notebooks Jupyter no diretório atual: + +`jupyter notebook` + +- Abre um caderno Jupyter específico: + +`jupyter notebook {{exemplo.ipynb}}` + +- Exporta um caderno Jupyter específico para outro formato: + +`jupyter nbconvert --to {{html|markdown|pdf|script}} {{exemplo.ipynb}}` + +- Inicia um servidor em uma porta específica: + +`jupyter notebook --port {{porta}}` + +- Lista de servidores de notebooks atualmente em funcionamento: + +`jupyter notebook list` + +- Para o servidor atualmente em funcionamento: + +`jupyter notebook stop` + +- Inicia o JupyterLab, se instalado, no diretório atual: + +`jupyter lab` diff --git a/pages.pt_BR/common/jwt.md b/pages.pt_BR/common/jwt.md new file mode 100644 index 00000000000000..206d251833510f --- /dev/null +++ b/pages.pt_BR/common/jwt.md @@ -0,0 +1,21 @@ +# jwt + +> Uma ferramenta de linha de comando (command-line tool) para trabalhar com JSON Web Tokens (JWTs). +> Algoritmos de encriptação disponíveis são HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384. +> Mais informações: . + +- Decodifica um JWT: + +`jwt decode {{jwt_string}}` + +- Decodifica um JWT em uma JSON string: + +`jwt decode -j {{jwt_string}}` + +- Codifica uma JSON string em um JWT: + +`jwt encode --alg {{HS256}} --secret {{1234567890}} '{{json_string}}'` + +- Codifica dados (payload) de um par de chaves (key pair) em um JWT: + +`jwt encode --alg {{HS256}} --secret {{1234567890}} -P {{chave=valor}}` diff --git a/pages.pt_BR/common/kafkacat.md b/pages.pt_BR/common/kafkacat.md new file mode 100644 index 00000000000000..71a47bd2c4556d --- /dev/null +++ b/pages.pt_BR/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Este comando é um apelido de `kcat`. + +- Exibe documentação sobre o comando original: + +`tldr kcat` diff --git a/pages.pt_BR/common/kate.md b/pages.pt_BR/common/kate.md new file mode 100644 index 00000000000000..253e742fcf7042 --- /dev/null +++ b/pages.pt_BR/common/kate.md @@ -0,0 +1,32 @@ +# kate + +> Editor de texto avançado do KDE. +> Mais informações: . + +- Abre arquivos específicos: + +`kate {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` + +- Abre arquivos remotos específicos: + +`kate {{https://example.com/caminho/para/arquivo1 https://example.com/caminho/para/arquivo2 ...}}` + +- Cria uma uma nova instância do editor mesmo que uma já esteja aberta: + +`kate --new` + +- Abre um arquivo com o cursor em uma linha específica: + +`kate --line {{número_linha}} {{caminho/para/arquivo}}` + +- Abre um arquivo com o cursor em uma linha e coluna específica: + +`kate --line {{número_linha}} --column {{número_coluna}} {{caminho/para/arquivo}}` + +- Cria um arquivo a partir do `stdin`: + +`cat {{caminho/para/arquivo}} | kate --stdin` + +- Exibe ajuda: + +`kate --help` diff --git a/pages.pt_BR/common/kill.md b/pages.pt_BR/common/kill.md index 368dc60512d769..246e717547679f 100644 --- a/pages.pt_BR/common/kill.md +++ b/pages.pt_BR/common/kill.md @@ -1,33 +1,30 @@ # kill -> Envia um sinal para um processo, geralmente para finalizar o processo +> Envia um sinal para um processo, geralmente para finalizar o processo. > Todos os sinais exceto pelo SIGKILL e SIGSTOP podem ser interceptados pelo processo para finalizar de forma limpa. +> Mais informações: . -- Finaliza um programa usando o sinal default SIGTERM (terminate): +- Finaliza um programa usando o sinal padrão SIGTERM (terminate): `kill {{id_do_processo}}` -- Lista todos os nomes dos sinais disponíveis (para serem usados sem o prefixo `SIG`): +- Lista todos os nomes de sinais disponíveis (para serem usados sem o prefixo `SIG`): `kill -l` -- Finaliza um processo em background: - -`kill %{{id_do_processo}}` - - Finaliza um programa usando o sinal SIGHUP. Muitos daemons vão recarregar ao invés de finalizar: `kill -{{1|HUP}} {{id_do_processo}}` -- Finaliza um programa usando o sinal SIGINT (interrupt). Isto é tipicamente iniciado pelo usuário ao pressionar `Ctrl + C`: +- Finaliza um programa usando o sinal SIGINT (interrupt). Isto é tipicamente iniciado pelo usuário ao pressionar ``: `kill -{{2|INT}} {{id_do_processo}}` -- Envia sinal para o sistema operacional para finalizar imediatamente o programa (quem não tem chance de capturar o sinal): +- Envia sinal para o sistema operacional para finalizar imediatamente o programa (que não tem chance de capturar o sinal): `kill -{{9|KILL}} {{id_do_processo}}` -- Envia sinal para o sistema operacional para pausar o programa até um sinal SIGCONT ("continue") seja recebido: +- Envia sinal para o sistema operacional para pausar o programa até que um sinal SIGCONT ("continue") seja recebido: `kill -{{17|STOP}} {{id_do_processo}}` diff --git a/pages.pt_BR/common/kubectl.md b/pages.pt_BR/common/kubectl.md index 2ef8db58907809..4370dc16bae0ba 100644 --- a/pages.pt_BR/common/kubectl.md +++ b/pages.pt_BR/common/kubectl.md @@ -1,11 +1,12 @@ # kubectl > Linha de comando para executar comando em clusters do Kubernetes. +> Alguns subcomandos como `run` tem sua própia documentação de uso. > Mais informações: . - Lista toda a informação sobre um recurso em detalhes: -`kubectl get {{pod|service|deployment|ingress|...}} -o wide` +`kubectl get {{pod|service|deployment|ingress|...}} {{[-o|--output]}} wide` - Atualiza um pod específico com o label 'unhealthy' e o valor 'true': diff --git a/pages.pt_BR/common/llvm-ar.md b/pages.pt_BR/common/llvm-ar.md new file mode 100644 index 00000000000000..b4759d5a032f21 --- /dev/null +++ b/pages.pt_BR/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Este comando é um apelido de `ar`. + +- Exibe documentação sobre o comando original: + +`tldr ar` diff --git a/pages.pt_BR/common/llvm-g++.md b/pages.pt_BR/common/llvm-g++.md new file mode 100644 index 00000000000000..15913f67217303 --- /dev/null +++ b/pages.pt_BR/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Este comando é um apelido de `clang++`. + +- Exibe documentação sobre o comando original: + +`tldr clang++` diff --git a/pages.pt_BR/common/llvm-gcc.md b/pages.pt_BR/common/llvm-gcc.md new file mode 100644 index 00000000000000..e83b7b82117a08 --- /dev/null +++ b/pages.pt_BR/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Este comando é um apelido de `clang`. + +- Exibe documentação sobre o comando original: + +`tldr clang` diff --git a/pages.pt_BR/common/llvm-nm.md b/pages.pt_BR/common/llvm-nm.md new file mode 100644 index 00000000000000..eddad066387dec --- /dev/null +++ b/pages.pt_BR/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Este comando é um apelido de `nm`. + +- Exibe documentação sobre o comando original: + +`tldr nm` diff --git a/pages.pt_BR/common/llvm-objdump.md b/pages.pt_BR/common/llvm-objdump.md new file mode 100644 index 00000000000000..ea8b37b4cd00c7 --- /dev/null +++ b/pages.pt_BR/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Este comando é um apelido de `objdump`. + +- Exibe documentação sobre o comando original: + +`tldr objdump` diff --git a/pages.pt_BR/common/llvm-strings.md b/pages.pt_BR/common/llvm-strings.md new file mode 100644 index 00000000000000..e01233530709e4 --- /dev/null +++ b/pages.pt_BR/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Este comando é um apelido de `strings`. + +- Exibe documentação sobre o comando original: + +`tldr strings` diff --git a/pages.pt_BR/common/lpadmin.md b/pages.pt_BR/common/lpadmin.md new file mode 100644 index 00000000000000..e621d9bb7192c1 --- /dev/null +++ b/pages.pt_BR/common/lpadmin.md @@ -0,0 +1,21 @@ +# lpadmin + +> Configura impressoras e classes do CUPS. +> Veja também: `lpoptions`. +> Mais informações: . + +- Define a impressora padrão: + +`lpadmin -d {{impressora}}` + +- Exclui uma impressora ou classe específica: + +`lpadmin -x {{impressora|classe}}` + +- Adiciona uma impressora a uma classe: + +`lpadmin -p {{impressora}} -c {{classe}}` + +- Remove uma impressora de uma classe: + +`lpadmin -p {{impressora}} -r {{classe}}` diff --git a/pages.pt_BR/common/lpmove.md b/pages.pt_BR/common/lpmove.md new file mode 100644 index 00000000000000..aa419c06e9e7ec --- /dev/null +++ b/pages.pt_BR/common/lpmove.md @@ -0,0 +1,21 @@ +# lpmove + +> Move um ou todos os trabalhos para outra impressora. +> Veja também: `cancel`, `lp`, `lpr`, `lprm`. +> Mais informações: . + +- Move um trabalho específico para `nova_impressora`: + +`lpmove {{id_do_trabalho}} {{nova_impressora}}` + +- Move um trabalho de `antiga_impressora` para `nova_impressora`: + +`lpmove {{antiga_impressora}}-{{id_do_trabalho}} {{nova_impressora}}` + +- Move todos os trabalhos de `antiga_impressora` para `nova_impressora`: + +`lpmove {{antiga_impressora}} {{nova_impressora}}` + +- Move um trabalho específico para `nova_impressora` em um servidor específico: + +`lpmove -h {{server}} {{id_do_trabalho}} {{nova_impressora}}` diff --git a/pages.pt_BR/common/lpoptions.md b/pages.pt_BR/common/lpoptions.md new file mode 100644 index 00000000000000..713fa31d97a236 --- /dev/null +++ b/pages.pt_BR/common/lpoptions.md @@ -0,0 +1,21 @@ +# lpoptions + +> Exibe ou define opções e padrões de uma impressora. +> Veja também: `lpadmin`. +> Mais informações: . + +- Define a impressora padrão: + +`lpoptions -d {{impressora[/instância]}}` + +- Lista opções específicas de uma impressora: + +`lpoptions -d {{impressora}} -l` + +- Define uma nova opção em uma impressora: + +`lpoptions -d {{impressora}} -o {{opção[=valor]}}` + +- Exclui as opções de uma impressora específica: + +`lpoptions -d {{impressora}} -x` diff --git a/pages.pt_BR/common/lpq.md b/pages.pt_BR/common/lpq.md new file mode 100644 index 00000000000000..4fe5d78bdfb149 --- /dev/null +++ b/pages.pt_BR/common/lpq.md @@ -0,0 +1,24 @@ +# lpq + +> Mostra o estado da fila de impressão. +> Mais informações: . + +- Mostra os trabalhos na fila do destino padrão: + +`lpq` + +- Mostra os trabalhos na fila de todas as impressoras usando criptografia: + +`lpq -a -E` + +- Mostra os trabalhos da fila em um formato longo: + +`lpq -l` + +- Mostra os trabalhos da fila de uma impressora ou classe específica: + +`lpq -P {{destino[/instância]}}` + +- Mostra os trabalhos na fila a cada n segundos até que a fila esteja vazia: + +`lpq +{{intervalo}}` diff --git a/pages.pt_BR/common/lpr.md b/pages.pt_BR/common/lpr.md new file mode 100644 index 00000000000000..aa358f3ef89f43 --- /dev/null +++ b/pages.pt_BR/common/lpr.md @@ -0,0 +1,33 @@ +# lpr + +> Ferramenta do CUPS para imprimir arquivos. +> Veja também: `lpstat`, `lpadmin`. +> Mais informações: . + +- Imprime um arquivo na impressora padrão: + +`lpr {{caminho/para/arquivo}}` + +- Imprime 2 cópias: + +`lpr -# {{2}} {{caminho/para/arquivo}}` + +- Imprime em uma impressora específica: + +`lpr -P {{impressora}} {{caminho/para/arquivo}}` + +- Imprime uma única página (p. ex., 2) ou uma faixa de páginas (p. ex., 2-16): + +`lpr -o page-ranges={{2|2-16}} {{caminho/para/arquivo}}` + +- Imprime frente e verso em modo retrato (long) ou paisagem (short): + +`lpr -o sides={{two-sided-long-edge|two-sided-short-edge}} {{caminho/para/arquivo}}` + +- Define o tamanho da página (mais opções podem estar disponíveis dependendo da configuração): + +`lpr -o media={{a4|letter|legal}} {{caminho/para/arquivo}}` + +- Imprime múltiplas páginas por folha: + +`lpr -o number-up={{2|4|6|9|16}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/lprm.md b/pages.pt_BR/common/lprm.md new file mode 100644 index 00000000000000..00d15de34c214d --- /dev/null +++ b/pages.pt_BR/common/lprm.md @@ -0,0 +1,25 @@ +# lprm + +> Cancela trabalhos de impressão na fila de um servidor. +> Veja também: `lpq`. +> Mais informações: . + +- Cancela o trabalho atual na impressora padrão: + +`lprm` + +- Cancela um trabalho de um servidor específico: + +`lprm -h {{servidor[:porta]}} {{id_do_trabalho}}` + +- Cancela múltiplos trabalhos com uma conexão criptografada com o servidor: + +`lprm -E {{id_do_trabalho1 id_do_trabalho2 ...}}` + +- Cancela todos os trabalhos: + +`lprm -` + +- Cancela o trabalho atual de uma impressora ou classe específica: + +`lprm -P {{destino[/instância]}}` diff --git a/pages.pt_BR/common/lpstat.md b/pages.pt_BR/common/lpstat.md new file mode 100644 index 00000000000000..7ee3f5196a5263 --- /dev/null +++ b/pages.pt_BR/common/lpstat.md @@ -0,0 +1,20 @@ +# lpstat + +> Exibe informações sobre o estado de impressoras. +> Mais informações: . + +- Lista impressoras presentes na máquina e se estão habilitadas para impressão: + +`lpstat -p` + +- Exibe a impressora padrão: + +`lpstat -d` + +- Exibe todas as informações de estado disponíveis: + +`lpstat -t` + +- Mostra uma lista de trabalhos de impressão que foram colocados na fila por um usuário específico: + +`lpstat -u {{usuário}}` diff --git a/pages.pt_BR/common/ls.md b/pages.pt_BR/common/ls.md index e25bce732e80ec..6bb26d8b4b52a7 100644 --- a/pages.pt_BR/common/ls.md +++ b/pages.pt_BR/common/ls.md @@ -1,27 +1,36 @@ # ls -> Listar o conteúdo de um diretório. +> Lista o conteúdo de um diretório. +> Mais informações: . -- Listar todos os arquivos, apresentando um arquivo por linha: +- Lista arquivos um por linha: `ls -1` -- Listar todos os arquivos, incluindo arquivos ocultos: +- Lista todos os arquivos, incluindo arquivos ocultos: -`ls -a` +`ls {{[-a|--all]}}` -- Listar todos os arquivos, exibindo permissões, propriedade, tamanho e data de modificação: +- Lista todos os arquivos, com o final `/` adicionado aos nomes dos diretórios: -`ls -la` +`ls {{[-F|--classify]}}` -- Listar todos os arquivos, apresentando o tamanho em medidas legíveis por humanos (kB, MB, GB). +- Lista todos os arquivos em formato longo (permissões, dono, tamanho e data de modificação): -`ls -lh` +`ls {{[-la|--all -l]}}` -- Listar todos os arquivos ordenados por tamanho (descendente): +- Lista em formato longo com tamanho exibido usando unidades legíveis para humanos (KiB, MiB, GiB): -`ls -lS` +`ls {{[-lh|-l --human-readable]}}` -- Listar todos os arquivos ordenados por data de modificação (mais antigos primeiro): +- Lista em formato longo ordenados por tamanhos (decrescente): -`ls -ltr` +`ls {{-lSR|-lS --recursive}}` + +- Lista todos os arquivos em formato longo, ordenados por data de modificação (mais antigo primeiro): + +`ls {{[-ltr|-lt --reverse]}}` + +- Lista apenas diretórios: + +`ls {{[-d|--directory]}} */` diff --git a/pages.pt_BR/common/lsof.md b/pages.pt_BR/common/lsof.md index fedb22eb0795f1..d3ddbbf62de31b 100644 --- a/pages.pt_BR/common/lsof.md +++ b/pages.pt_BR/common/lsof.md @@ -2,35 +2,36 @@ > Lista arquivos abertos e os seus processos correspondentes. > Nota: Privilégios de administrador (ou sudo) são necessários para listar arquivos abertos por outros. +> Mais informações: . -- Localizar os processos que têm um certo arquivo aberto: +- Localiza os processos que têm um certo arquivo aberto: `lsof {{caminho/para/arquivo}}` -- Localizar o processo que abriu uma porta de internet local: +- Localiza o processo que abriu uma porta de internet local: `lsof -i :{{porta}}` -- Mostrar o ID (PID) do processo que abriu um arquivo especificado: +- Mostra o ID (PID) do processo que abriu um arquivo especificado: `lsof -t {{caminho/para/arquivo}}` -- Listar arquivos abertos por um certo usuário: +- Lista arquivos abertos por um certo usuário: `lsof -u {{nome_usuario}}` -- Listar arquivos abertos por um certo comando ou processo: +- Lista arquivos abertos por um certo comando ou processo: `lsof -c {{nome_processo_ou_comando}}` -- Listar arquivos abertos por um certo processo, dado o seu PID: +- Lista arquivos abertos por um certo processo, dado o seu PID: `lsof -p {{PID}}` -- Listar arquivos abertos em um diretório: +- Lista arquivos abertos em um diretório: `lsof +D {{caminho/para/diretório}}` -- Encontrar o processo que está ouvindo uma porta de TCP local: +- Encontra o processo que está ouvindo uma porta de IPv6 TCP local: -`lsof -iTCP:{{porta}} -sTCP:LISTEN` +`lsof -i6TCP:{{porta}} -sTCP:LISTEN -n -P` diff --git a/pages.pt_BR/common/lzcat.md b/pages.pt_BR/common/lzcat.md new file mode 100644 index 00000000000000..2b317a9b1b6144 --- /dev/null +++ b/pages.pt_BR/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Este comando é um apelido de `xz`. + +- Exibe documentação sobre o comando original: + +`tldr xz` diff --git a/pages.pt_BR/common/lzma.md b/pages.pt_BR/common/lzma.md new file mode 100644 index 00000000000000..cfc142649fa8f2 --- /dev/null +++ b/pages.pt_BR/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Este comando é um apelido de `xz`. + +- Exibe documentação sobre o comando original: + +`tldr xz` diff --git a/pages.pt_BR/common/magick-convert.md b/pages.pt_BR/common/magick-convert.md new file mode 100644 index 00000000000000..f6d61d3050c897 --- /dev/null +++ b/pages.pt_BR/common/magick-convert.md @@ -0,0 +1,37 @@ +# magick convert + +> Converte formatos de imagem, escala, adiciona, e cria imagens, e muito mais. +> Nota: Essa ferramenta (previamente conhecida como `convert`) foi substituída por `magick` no ImageMagick 7+. +> Mais informações: . + +- Converte uma imagem do formato JPEG para o formato PNG: + +`magick convert {{caminho/para/imagem_de_entrada.jpg}} {{caminho/para/imagem_de_saida.png}}` + +- Escala uma imagem para 50% do seu tamanho original: + +`magick convert {{caminho/para/imagem_de_entrada.png}} -resize 50% {{caminho/para/imagem_de_saida.png}}` + +- Escala uma imagem, mantendo as suas proporções originais, para uma dimensão máxima de 640x480: + +`magick convert {{caminho/para/imagem_de_entrada.png}} -resize 640x480 {{caminho/para/imagem_de_saida.png}}` + +- Escala uma imagem para ter oum tamanho de arquivo específico: + +`magick convert {{caminho/para/imagem_de_entrada.png}} -define jpeg:extent=512kb {{caminho/para/imagem_de_saida.jpg}}` + +- Junta imagens verticalmente/horizontalmente e deixa o espaço vazio transparente: + +`magick convert -background none {{caminho/para/imagem1.png caminho/para/imagem2.png ...}} {{-append|+append}} {{caminho/para/imagem_de_saida.png}}` + +- Cria um GIF a partir de uma série de imagens, com um intervalo de 100ms entre elas: + +`magick convert {{caminho/para/imagem1.png caminho/para/imagem2.png ...}} -delay {{10}} {{caminho/para/animacao.gif}}` + +- Cria uma imagem apenas com um fundo sólido vermelho: + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{caminho/para/imagem.png}}` + +- Cria um favicon de várias imagens de tamanhos diferentes: + +`magick convert {{caminho/para/imagem1.png caminho/para/imagem2.png ...}} {{caminho/para/favicon.ico}}` diff --git a/pages.pt_BR/common/make.md b/pages.pt_BR/common/make.md new file mode 100644 index 00000000000000..9ea13a9836c8d7 --- /dev/null +++ b/pages.pt_BR/common/make.md @@ -0,0 +1,37 @@ +# make + +> Ferramenta de execução de tarefas para os destinos descritos no Makefile. +> Principalmente utilizada para controlar a compilação de um executável a partir do código-fonte. +> Mais informações: . + +- Executa o primeiro destino especificado no Makefile (geralmente chamado de "all"): + +`make` + +- Executa um destino específico: + +`make {{destino}}` + +- Executa um destino específico, executando 4 tarefas simultaneamente em paralelo: + +`make -j{{4}} {{destino}}` + +- Usa um Makefile específico: + +`make --file {{caminho/para/arquivo}}` + +- Executa o make a partir de outro diretório: + +`make --directory {{caminho/para/diretorio}}` + +- Força a execução de um destino, mesmo que os arquivos de origem não tenham sido alterados: + +`make --always-make {{destino}}` + +- Substitui uma variável definida no Makefile: + +`make {{destino}} {{variavel}}={{novo_valor}}` + +- Substitui variáveis definidas no Makefile pelo ambiente: + +`make --environment-overrides {{destino}}` diff --git a/pages.pt_BR/common/man.md b/pages.pt_BR/common/man.md index dd14e0ec948c66..9880f19c965430 100644 --- a/pages.pt_BR/common/man.md +++ b/pages.pt_BR/common/man.md @@ -1,23 +1,36 @@ # man -> Utilitário para exibir páginas do manual. +> Formata e exibe páginas de manual. +> Mais informações: . -- Visualizar o manual de um comando: +- Exibe a página de manual de um comando: `man {{comando}}` -- Visualizar a página da seção 7 do manual de um comando: +- Abre uma página de manua para um comando em um navegadore de internet (a variável de ambiente `BROWSER` pode subistituir `=nome_do_navegador`): -`man {{comando}}.{{7}}` +`man {{[-Hnome_do_navegador|--html=nome_do_navegador]}} {{command}}` -- Visualizar o caminho procurado pelas páginas do manual: +- Exibe a página de manual de um comando da seção 7: -`man --path` +`man {{7}} {{comando}}` -- Visualizar o caminho do manual de um comando: +- Lista todas as seções disponíveis para um comando: -`man -w {{comando}}` +`man {{[-f|--whatis]}} {{comando}}` -- Procurar manuais contendo um termo de pesquisa: +- Exibe o caminho procurado pelas páginas de manual: -`man -k "{{termo_de_pesquisa}}"` +`man {{[-w|--path]}}` + +- Exibe a localização de uma página de manual em vez da própria página de manual: + +`man {{[-w|--where]}} {{comando}}` + +- Exibe a página de manual usando uma localidade específica: + +`man {{[-L|--locale]}} {{localicade}} {{comando}}` + +- Procura páginas de manual contendo um termo de pesquisa: + +`man {{[-k|--apropos]}} "{{termo_de_pesquisa}}"` diff --git a/pages.pt_BR/common/meteor.md b/pages.pt_BR/common/meteor.md index a713b05dc5df84..4be00b0eaf39db 100644 --- a/pages.pt_BR/common/meteor.md +++ b/pages.pt_BR/common/meteor.md @@ -3,26 +3,26 @@ > Plataforma Full-Stack de JavaScript para desenvolver aplicações web. > Mais informações: . -- Executar um projeto meteor a partir do seu diretório base em modo de desenvolvimento: +- Executa um projeto meteor a partir do seu diretório base em modo de desenvolvimento: `meteor` -- Criar um novo projeto em um diretório específico: +- Cria um novo projeto em um diretório específico: `meteor create {{caminho/para/diretório}}` -- Listar todos os pacotes usados pelo projeto: +- Lista todos os pacotes usados pelo projeto: `meteor list` -- Adicionar um pacote ao projeto: +- Adiciona um pacote ao projeto: `meteor add {{nome_pacote}}` -- Remover um pacote do projeto: +- Remove um pacote do projeto: `meteor remove {{nome_pacote}}` -- Criar uma build de produção do projeto, no formato tarball, em um diretório específico: +- Cria uma build de produção do projeto, no formato tarball, em um diretório específico: `meteor build {{caminho/para/diretório}}` diff --git a/pages.pt_BR/common/micro.md b/pages.pt_BR/common/micro.md new file mode 100644 index 00000000000000..29de8781223a84 --- /dev/null +++ b/pages.pt_BR/common/micro.md @@ -0,0 +1,33 @@ +# micro + +> Um editor de texto moderno e intuitivo baseado em terminal. +> Você pode usar seu teclado, mas também seu mouse para navegar e/ou selecionar texto. +> Mais informações: . + +- Abre um arquivo: + +`micro {{caminho/para/arquivo}}` + +- Salva um arquivo: + +`` + +- Corta a linha inteira: + +`` + +- Procura por um padrão no arquivo (pressione ``/`` para ir para a próxima/anterior correspondência): + +`{{padrão}}` + +- Executa um comando: + +`{{comando}}` + +- Realiza uma substituição em todo o arquivo: + +`replaceall "{{padrão}}" "{{substituição}}"` + +- Sai: + +`` diff --git a/pages.pt_BR/common/mongo.md b/pages.pt_BR/common/mongo.md index 5311929bbcfc19..e46ca303176400 100644 --- a/pages.pt_BR/common/mongo.md +++ b/pages.pt_BR/common/mongo.md @@ -3,18 +3,18 @@ > Cliente shell interativo de MongoDB. > Mais informações: . -- Conectar a uma base de dados: +- Conecta a uma base de dados local na porta padrão (mongodb://localhost:27017): -`mongo {{base_de_dados}}` +`mongo` -- Conectar a uma base de dados em um host e porta específicos: +- Conecta a uma base de dados em um servidor e porta específicos: -`mongo --host {{host}} --port {{porta}} {{base_de_dados}}` +`mongo --host {{servidor}} --port {{porta}} {{base_de_dados}}` -- Conectar a uma base de dados com um usuário específico, uma senha será pedida ao usuário: +- Autentica usando, na base de dados especificada, o nome de usuário especificado (uma senha será solicitada): -`mongo --username {{usuário}} {{base_de_dados}} --password` +`mongo --host {{servidor}} --port {{porta}} --username {{usuário}} --authenticationDatabase {{auth_base_de_dados}} {{base_de_dados}}` -- Avaliar JavaScript na base de dados: +- Avalia JavaScript na base de dados: `mongo --eval '{{JSON.stringify(db.foo.findOne())}}' {{base_de_dados}}` diff --git a/pages.pt_BR/common/mosquitto.md b/pages.pt_BR/common/mosquitto.md new file mode 100644 index 00000000000000..bb7d92035cf51e --- /dev/null +++ b/pages.pt_BR/common/mosquitto.md @@ -0,0 +1,20 @@ +# mosquitto + +> Um broker de MQTT. +> Mais informações: . + +- Inicia mosquitto: + +`mosquitto` + +- Especifica um arquivo de configuração para usar: + +`mosquitto --config-file {{caminho/para/arquivo.conf}}` + +- Escuta em uma porta específica: + +`mosquitto --port {{8883}}` + +- Cria um processo rodando em background: + +`mosquitto --daemon` diff --git a/pages.pt_BR/common/mpv.md b/pages.pt_BR/common/mpv.md new file mode 100644 index 00000000000000..cfb2522aa782b3 --- /dev/null +++ b/pages.pt_BR/common/mpv.md @@ -0,0 +1,37 @@ +# mpv + +> Um tocador de vídeo/audio baseado no MPlayer. +> Veja também: `mplayer`, `vlc`. +> Mais informações: . + +- Toca um vídeo ou áudio de uma URL ou arquivo: + +`mpv {{url|caminho/para/arquivo}}` + +- Avança/retrocede 5 segundos: + +`{{|}}` + +- Avança/retrocede 1 minuto: + +`{{|}}` + +- Diminui ou aumenta a velocidade de reprodução em 10%: + +`{{<[>|<]>}}` + +- Captura a imagem do quadro atual (salva em `./mpv-shotNNNN.jpg` por padrão): + +`` + +- Toca um arquivo em uma velocidade especificada (1 por padrão): + +`mpv --speed {{0.01..100}} {{caminho/para/arquivo}}` + +- Toca um arquivo usando um perfil definido no arquivo `mpv.conf`: + +`mpv --profile {{nome_do_perfil}} {{caminho/para/arquivo}}` + +- Mostra a saída da webcam ou de outro dispositivo de entrada de vídeo: + +`mpv {{/dev/video0}}` diff --git a/pages.pt_BR/common/mscore.md b/pages.pt_BR/common/mscore.md new file mode 100644 index 00000000000000..aaa2c48ccf573a --- /dev/null +++ b/pages.pt_BR/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Este comando é um apelido de `musescore`. + +- Exibe documentação sobre o comando original: + +`tldr musescore` diff --git a/pages.pt_BR/common/mv.md b/pages.pt_BR/common/mv.md new file mode 100644 index 00000000000000..bd3456e76b8285 --- /dev/null +++ b/pages.pt_BR/common/mv.md @@ -0,0 +1,28 @@ +# mv + +> Movimentação de arquivos entre diretórios, ou renomeá-los. +> Mais informações: . + +- Move um arquivo para um diretório arbitrário: + +`mv {{percorso/del/arquivo}} {{percorso/del/destino}}` + +- Move arquivos para outro diretório, mantendo os nomes dos arquivos: + +`mv {{percorso/del/arquivo_1 percorso/del/arquivo_2 ...}} {{percorso/del/destino}}` + +- Não requisita confirmação para sobrescrição de arquivos: + +`mv {{[-f|--force]}} {{percorso/del/arquivo}} {{percorso/del/destino}}` + +- Requisita confirmação para sobrescrição de arquivos, independentemente das permissões de arquivo: + +`mv {{[-i|--interactive]}} {{percorso/del/arquivo}} {{percorso/del/destino}}` + +- Não sobrescrita arquivos existentes no diretório de destino: + +`mv {{[-n|--no-clobber]}} {{percorso/del/arquivo}} {{percorso/del/destino}}` + +- Move os arquivos em modo Verbose, mostrando os arquivos após sua movimentação: + +`mv {{[-v|--verbose]}} {{percorso/del/arquivo}} {{percorso/del/destino}}` diff --git a/pages.pt_BR/common/mvn.md b/pages.pt_BR/common/mvn.md index f91df9180c8f25..2b2b94ff508002 100644 --- a/pages.pt_BR/common/mvn.md +++ b/pages.pt_BR/common/mvn.md @@ -1,36 +1,36 @@ # mvn > Ferramenta para a criação e gerenciamento de projetos Java. -> Mais informações: . +> Mais informações: . -- Compilar um projeto: +- Compila um projeto: `mvn compile` -- Criar um artefato de distribuição utilizando o formato espeficado no `pom.xml`, por exemplo o formato `jar`: +- Cria um artefato de distribuição utilizando o formato espeficado no `pom.xml`, por exemplo o formato `jar`: `mvn package` -- Criar um artefato de distribuição sem executar testes unitários: +- Cria um artefato de distribuição sem executar testes unitários: -`mvn package -Dmaven.test.skip=true` +`mvn package -DskipTests` -- Instalar um artefato gerado em um repositório local: +- Instala um artefato gerado em um repositório local: `mvn install` -- Apagar artefatos gerados no diretório `target`: +- Apaga artefatos gerados no diretório `target`: `mvn clean` -- Executar as fases `clean` e `package` em um projeto: +- Executa as fases `clean` e `package` em um projeto: `mvn clean package` -- Executar as fases `clean` e `package` em um projeto utilizando um perfil: +- Executa as fases `clean` e `package` em um projeto utilizando um perfil: -`mvn clean -P{{perfil}} package` +`mvn clean -P {{perfil}} package` -- Executar uma classe que possua o método `main`: +- Executa uma classe que possua o método `main`: -`mvn exec:java -Dexec.mainClass="{{nome.do.pacote.classe}}" -Dexec.args="{{arg1 arg2}}"` +`mvn exec:java -Dexec.mainClass="{{nome.do.pacote.classe}}" -Dexec.args="{{argument1 argument2 ...}}"` diff --git a/pages.pt_BR/common/mysql.md b/pages.pt_BR/common/mysql.md index 9f704a423f9259..205dfe904f0345 100644 --- a/pages.pt_BR/common/mysql.md +++ b/pages.pt_BR/common/mysql.md @@ -1,24 +1,24 @@ # mysql > A ferramenta de linha de comando do MySQL. -> Mais informações: . +> Mais informações: . -- Conectar a um banco de dados: +- Conecta a um banco de dados: `mysql {{nome_do_banco_de_dados}}` -- Conectar a um banco de dados (será solicitada a senha de acesso do usuário): +- Conecta a um banco de dados (será solicitada a senha de acesso do usuário): `mysql -u {{usuário}} --password {{nome_do_banco_de_dados}}` -- Conectar a um banco de dados disponível em um endereço específico: +- Conecta a um banco de dados disponível em um endereço específico: `mysql -h {{endereco_do_banco_de_dados}} {{nome_do_banco_de_dados}}` -- Conectar a um banco de dados utilizando um socket Unix: +- Conecta a um banco de dados utilizando um socket Unix: `mysql --socket {{caminho/para/socket.sock}}` -- Executar todos os comandos de um arquivo SQL em um banco de dados: +- Executa todos os comandos de um arquivo SQL em um banco de dados: `mysql -e "source {{nome_do_arquivo.sql}}" {{nome_do_banco_de_dados}}` diff --git a/pages.pt_BR/common/mysqldump.md b/pages.pt_BR/common/mysqldump.md index c55e6b9e9fc8d9..26774d9d99a336 100644 --- a/pages.pt_BR/common/mysqldump.md +++ b/pages.pt_BR/common/mysqldump.md @@ -3,10 +3,10 @@ > Realizar e restaurar backups no MySQL. > Mais informações: . -- Criar o backup do banco de dados em arquivo de saída (será solicitada a senha de acesso do usuário): +- Cria o backup do banco de dados em arquivo de saída (será solicitada a senha de acesso do usuário): `mysqldump -u {{usuário}} --password {{nome_do_banco_de_dados}} -r {{arquivo_de_saida.sql}}` -- Restaurar o conteúdo contido no arquivo de backup em banco de dados específico (será solicitada a senha de acesso do usuário): +- Restaura o conteúdo contido no arquivo de backup em banco de dados específico (será solicitada a senha de acesso do usuário): `mysql -u {{usuário}} --password -e "source {{arquivo_de_backup.sql}}" {{nome_do_banco_de_dados}}` diff --git a/pages.pt_BR/common/nano.md b/pages.pt_BR/common/nano.md new file mode 100644 index 00000000000000..9e4e07f7cc67d7 --- /dev/null +++ b/pages.pt_BR/common/nano.md @@ -0,0 +1,32 @@ +# nano + +> Editor de texto de linha de comando. Um clone melhorado de `Pico`. +> Mais informações: . + +- Inicia o editor: + +`nano` + +- Inicia o editor sem usar arquivos de configuração: + +`nano {{[-I|--ignorercfiles]}}` + +- Abre arquivos específicos, passando para o próximo arquivos ao fechar o anterior: + +`nano {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` + +- Abre um arquivo e posiciona o cursor na linha e coluna especificadas: + +`nano +{{linha}},{{coluna}} {{caminho/para/arquivo}}` + +- Abre um arquivo e habilita soft wrapping: + +`nano {{[-S|--softwrap]}} {{caminho/para/arquivo}}` + +- Abre um arquivo e indenta novas linhas de acordo com a indentação da linha anterior: + +`nano {{[-i|--autoindent]}} {{caminho/para/arquivo}}` + +- Abre um arquivo e cria um arquivo de backup (`caminho/para/arquivo~`) ao salvá-lo: + +`nano {{[-B|--backup]}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/nativefier.md b/pages.pt_BR/common/nativefier.md index d0d9f8656e9a4e..5f621b200d4b7e 100644 --- a/pages.pt_BR/common/nativefier.md +++ b/pages.pt_BR/common/nativefier.md @@ -3,14 +3,14 @@ > Utilitário para criação de aplicativos para desktop à partir de web sites. > Mais informações: . -- Gerar aplicativo desktop para site: +- Gera um aplicativo desktop para site: `nativefier {{url}}` -- Gerar aplicativo desktop com nome customizado: +- Gera um aplicativo desktop com nome customizado: `nativefier --name {{nome}} {{url}}` -- Gerar aplicativo desktop usando um ícone PNG customizado: +- Gera um aplicativo desktop usando um ícone PNG customizado: `nativefier --icon {{caminho/para/icone.png}} {{url}}` diff --git a/pages.pt_BR/common/ncdu.md b/pages.pt_BR/common/ncdu.md new file mode 100644 index 00000000000000..be372bcbabd636 --- /dev/null +++ b/pages.pt_BR/common/ncdu.md @@ -0,0 +1,24 @@ +# ncdu + +> Analisador de uso de disco com uma interface ncurses. +> Mais informações: . + +- Analisa o diretório de trabalho atual: + +`ncdu` + +- Colore a saída: + +`ncdu --color {{dark|off}}` + +- Analisa um dado diretório: + +`ncdu {{caminho/para/diretório}}` + +- Salva os resultados em um arquivo: + +`ncdu -o {{caminho/para/arquivo}}` + +- Exclui arquivos que correspondem a um padrão, o argumento pode ser fornecido várias vezes para adicionar mais padrões: + +`ncdu --exclude '{{*.txt}}'` diff --git a/pages.pt_BR/common/neofetch.md b/pages.pt_BR/common/neofetch.md new file mode 100644 index 00000000000000..408df6c5efbe04 --- /dev/null +++ b/pages.pt_BR/common/neofetch.md @@ -0,0 +1,20 @@ +# neofetch + +> Ferramenta CLI para exibir informações sobre seu sistema operacional, software e hardware. +> Mais informações: . + +- Volta à configuração padrão, ou crie-a se for a primeira vez que o programa for executado: + +`neofetch` + +- Habilita/Desabilita uma linha de informação da saída, onde 'infoname' é o nome da função no arquivo de configuração, por exemplo, 'memory': + +`neofetch --{{enable|disable}} {{infoname}}` + +- Oculta/Mostra arquitetura do SO: + +`neofetch --os_arch {{on|off}}` + +- Habilita/Desabilita a marca da CPU na saída: + +`neofetch --cpu_brand {{on|off}}` diff --git a/pages.pt_BR/common/next.md b/pages.pt_BR/common/next.md new file mode 100644 index 00000000000000..31d266f8ee8aba --- /dev/null +++ b/pages.pt_BR/common/next.md @@ -0,0 +1,36 @@ +# next + +> Framework React que usa renderização do lado do servidor para construir aplicações web otimizadas. +> Mais informações: . + +- Inicia a aplicação atual em modo de desenvolvimento: + +`next dev` + +- Inicia a aplicação atual e escuta em uma porta específica: + +`next dev {{[-p|--port]}} {{porta}}` + +- Cria a aplicação atual otimizada para produção: + +`next build` + +- Inicia a aplicação compilada em modo de produção: + +`next start` + +- Inicia a aplicação compilada e escuta em uma porta específica: + +`next start {{[-p|--port]}} {{porta}}` + +- Exporta a aplicação atual para páginas HTML estáticas: + +`next export` + +- Exibe o status de telemetria Next.js: + +`next telemetry` + +- Exibe ajuda para um subcomando: + +`next {{build|dev|export|start|telemetry}} {{[-h|--help]}}` diff --git a/pages.pt_BR/common/nm-classic.md b/pages.pt_BR/common/nm-classic.md new file mode 100644 index 00000000000000..c761f493390ae2 --- /dev/null +++ b/pages.pt_BR/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Este comando é um apelido de `nm`. + +- Exibe documentação sobre o comando original: + +`tldr nm` diff --git a/pages.pt_BR/common/nmap.md b/pages.pt_BR/common/nmap.md new file mode 100644 index 00000000000000..115d65996095ec --- /dev/null +++ b/pages.pt_BR/common/nmap.md @@ -0,0 +1,37 @@ +# nmap + +> Ferramenta de exploração de redes e scanner de segurança/portas. +> Algumas funcionalidades (ex. scan SYN) só funcionam quando o `nmap` é executado com privilégios root. +> Mais informações: . + +- Escaneia as 1000 portas mais comuns de um host remoto com vários níveis de [v]erbosidade: + +`nmap -v{{1|2|3}} {{ip_ou_hostname}}` + +- Executa uma varredura de ping em uma sub-rede ou servidores individuais agressivamente: + +`nmap -T5 -sn {{192.168.0.0/24|ip_ou_hostname1,ip_ou_hostname2,...}}` + +- Ativa detecção de OS, detecção de versão, escaneamento por script e traceroute de servidores a partir de um arquivo: + +`sudo nmap -A -iL {{caminho_para_arquivo.txt}}` + +- Escaneia uma lista específica de portas (Usa `-p-` para todas as portas de 1 a 65535): + +`nmap -p {{porta1,porta2, ...}} {{ip_ou_host1,ip_ou_host2,...}}` + +- Executa detecção de serviço e versão das 1000 portas mais comuns usando scripts NSE padrão, salvando os resultados (`-oA`) em arquivos de saída: + +`nmap -sC -sV -oA {{1000-primeiras-portas}} {{ip_ou_host1,ip_ou_host2,...}}` + +- Escaneia o(s) alvo(s) cuidadosamente usando scripts NSE `default and safe`: + +`nmap --script "default and safe" {{ip_ou_host1,ip_ou_host2,...}}` + +- Procura servidores web rodando nas portas padrão 80 e 443 usando todos os scripts NSE `http-*` disponíveis: + +`nmap --script "http-*" {{ip_ou_host1,ip_ou_host2,...}} -p 80,443` + +- Tenta evadir detecção IDS/IPS usando um scan extremamente lento (`-T0`), endereços de origem falsos (`-D`), pacotes [f]ragmentados, dados aleatórios e outros métodos: + +`sudo nmap -T0 -D {{ip_falso1,ip_falso2, ...}} --source-port {{53}} -f --data-length {{16}} -Pn {{ip_ou_host}}` diff --git a/pages.pt_BR/common/node.md b/pages.pt_BR/common/node.md index 02c640fbb6b5b9..44afb48df60586 100644 --- a/pages.pt_BR/common/node.md +++ b/pages.pt_BR/common/node.md @@ -3,18 +3,22 @@ > Plataforma de JavaScript para o lado do Servidor (Node.js). > Mais informações: . -- Executar um arquivo JavaScript: +- Executa um arquivo JavaScript: `node {{arquivo}}.js` -- Inicializar a REPL (shell interativa): +- Inicializa a REPL (shell interativa): `node` -- Executar JavaScript, passando-o no comando: +- Executa JavaScript, passando-o no comando: -`node -e "{{código}}"` +`node {{[-e|--eval]}} "{{código}}"` -- Executar um arquivo Javascript, imprimindo o resultado: +- Executa um arquivo JavaScript, imprimindo o resultado: -`node -p "{{script}}"` +`node {{[-p|--print]}} "{{script}}"` + +- Ativa o inspetor, pausando a execução até que um depurador seja conectado depois que o código-fonte for totalmente analisado: + +`node --no-lazy --inspect-brk {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/npm.md b/pages.pt_BR/common/npm.md new file mode 100644 index 00000000000000..fbb36e3f2ce7ef --- /dev/null +++ b/pages.pt_BR/common/npm.md @@ -0,0 +1,37 @@ +# npm + +> Gerenciador de pacotes JavaScript e Node.js. +> Gerencia projetos Node.js e suas dependências de módulos. +> Mais informações: . + +- Cria um arquio `package.json` com os valores padrões (omita `--yes` para torná-lo interativo): + +`npm init {{[-y|--yes]}}` + +- Baixa todos os pacotes listados como dependências em `package.json`: + +`npm install` + +- Baixa uma versão específica de um pacote e o adiciona à lista de dependências em `package.json`: + +`npm install {{pacote}}@{{versão}}` + +- Baixa a última versão de um pacote e o adiciona à lista de dependências de desenvolvimento em `package.json`: + +`npm install {{pacote}} {{[-D|--save-dev]}}` + +- Baixa a última versão de um pacote e o instala globalmente: + +`npm install {{[-g|--global]}} {{pacote}}` + +- Desinstala um pacote e o remove da lista de dependências em `package.json`: + +`npm uninstall {{pacote}}` + +- Lista todas as dependências instaladas localmente: + +`npm list` + +- Lista todos os pacotes de nível superior instalados globalmente: + +`npm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.pt_BR/common/nth.md b/pages.pt_BR/common/nth.md new file mode 100644 index 00000000000000..8856bcb70aa2a8 --- /dev/null +++ b/pages.pt_BR/common/nth.md @@ -0,0 +1,20 @@ +# nth + +> Name That Hash - Nomeia o tipo de um hash em um instante. +> Mais informações: . + +- Nomeia o hash: + +`nth -t {{5f4dcc3b5aa765d61d8327deb882cf99}}` + +- Nomeia hashes em um arquivo: + +`nth -f {{caminho/para/hashes}}` + +- Saída no formato JSON: + +`nth -t {{5f4dcc3b5aa765d61d8327deb882cf99}} -g` + +- Decodifica o hash em Base64 e nomeia: + +`nth -t {{NWY0ZGNjM2I1YWE3NjVkNjFkODMyN2RlYjg4MmNmOTkK}} -b64` diff --git a/pages.pt_BR/common/ntl.md b/pages.pt_BR/common/ntl.md new file mode 100644 index 00000000000000..c29e194404d9b3 --- /dev/null +++ b/pages.pt_BR/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Este comando é um apelido de `netlify`. + +- Exibe documentação sobre o comando original: + +`tldr netlify` diff --git a/pages.pt_BR/common/nvim.md b/pages.pt_BR/common/nvim.md new file mode 100644 index 00000000000000..1bbc57e99a7502 --- /dev/null +++ b/pages.pt_BR/common/nvim.md @@ -0,0 +1,38 @@ +# nvim + +> Neovim, um editor de texto para programadores baseado no Vim, oferece vários modos para diferentes tipos de manipulação de texto. +> Pressionar`` no modo normal entra no modo de inserção. `` retorna ao modo normal, que não permite a inserção regular de texto. +> Veja também `vim`, `vimtutor`, `vimdiff`. +> Mais informações: . + +- Abre um arquivo: + +`nvim {{caminho/para/arquivo}}` + +- Entra no modo de edição de texto (mode de inserção): + +`` + +- Copia ("yank") ou recorta ("delete") a linha atual (cole-a com `

`): + +`{{|}}` + +- Entra no modo normal e desfaz a última operação: + +`` + +- Procura por um padrão em um arquivo (pressione ``/`` para ir para a próxima/prévia correspondência): + +`{{padrão_procurado}}` + +- Executa uma substituição de expressão regular em todo o arquivo: + +`<:>%s/{{expressão_regular}}/{{substituição}}/g` + +- Entra no modo normal, salva (grava) o arquivo e sai: + +`{{|<:>x|<:>wq}}` + +- Sai sem salvar: + +`<:>q!` diff --git a/pages.pt_BR/common/pass.md b/pages.pt_BR/common/pass.md new file mode 100644 index 00000000000000..c96acbce152c59 --- /dev/null +++ b/pages.pt_BR/common/pass.md @@ -0,0 +1,37 @@ +# pass + +> Guarda e lê senhas ou outras informações sensíveis. +> Todos os dados são criptografados com GPG e gerenciados por um repositório Git. +> Mais informações: . + +- Inicia (ou recriptografa) o armazenamento usando um ou mais IDs GPG: + +`pass init {{gpg_id_1}} {{gpg_id_2}}` + +- Salva uma nova senha e informações adicionais (pressione `` em uma nova linha para completar): + +`pass insert {{[-m|--multiline]}} {{caminho/para/arquivo}}` + +- Edita uma entrada: + +`pass edit {{caminho/para/dados}}` + +- Copia uma senha (Primeira linha do arquivo de dados) para a área de transferência: + +`pass {{[-c|--clip]}} {{caminho/para/dados}}` + +- Lista toda a árvore de armazenamento: + +`pass` + +- Gera uma nova senha aleatória com um comprimento (num) específico e copia para a área de transferência: + +`pass generate {{[-c|--clip]}} {{caminho/para/dados}} {{num}}` + +- Inicializa um novo repositório Git (todas as mudanças feitas pelo pass são commitadas automaticamente): + +`pass git init` + +- Executa um comando Git no repositório de senhas: + +`pass git {{comando}}` diff --git a/pages.pt_BR/common/passwd.md b/pages.pt_BR/common/passwd.md new file mode 100644 index 00000000000000..c50a2e051805ee --- /dev/null +++ b/pages.pt_BR/common/passwd.md @@ -0,0 +1,20 @@ +# passwd + +> Passwd é uma ferramenta usada para alterar a senha de um usuário. +> Mais informações: . + +- Altera a senha do usuário atual interativamente: + +`passwd` + +- Altera a senha de um usuário específico: + +`passwd {{nome do usuário}}` + +- Obtém o status atual do usuário: + +`passwd {{[-S|--status]}}` + +- Deixa a senha da conta em branco (isso definirá a conta nomeada como sem senha): + +`passwd {{[-d|--delete]}}` diff --git a/pages.pt_BR/common/pdftk.md b/pages.pt_BR/common/pdftk.md index 657fc41672112d..0c5d786bf85fb3 100644 --- a/pages.pt_BR/common/pdftk.md +++ b/pages.pt_BR/common/pdftk.md @@ -1,24 +1,24 @@ # pdftk > Conjunto de utilitários para manipular arquivos PDF. -> Mais informações: . +> Mais informações: . -- Extrair conjuntos de páginas de um arquivo PDF (páginas 1 a 3, 5 e 6 a 10) e guardá-las num novo arquivo: +- Extrai conjuntos de páginas de um arquivo PDF (páginas 1 a 3, 5 e 6 a 10) e guardá-las num novo arquivo: `pdftk {{arquivo.pdf}} cat {{1-3 5 6-10}} output {{novo_arquivo.pdf}}` -- Concatenar uma lista de arquivos PDF, guardando o resultado num novo arquivo: +- Concatena uma lista de arquivos PDF, guardando o resultado num novo arquivo: `pdftk {{arquivo1.pdf arquivo2.pdf arquivoN.pdf ...}} cat output {{novo_arquivo.pdf}}` -- Partir cada página de um arquivo PDF num arquivo separado, com um padrão para o nome dos novos arquivos: +- Parte cada página de um arquivo PDF num arquivo separado, com um padrão para o nome dos novos arquivos: `pdftk {{arquivo.pdf}} burst output {{página_%d.pdf}}` -- Girar em 180° todas as páginas de um arquivo PDF: +- Gira em 180° todas as páginas de um arquivo PDF: `pdftk {{arquivo.pdf}} cat {{1-endsouth}} output {{novo_arquivo.pdf}}` -- Girar a terceira página de um arquivo PDF em 90° no sentido horário, não modificando as restantes: +- Gira a terceira página de um arquivo PDF em 90° no sentido horário, não modificando as restantes: `pdftk {{arquivo.pdf}} cat {{1-2 3east 4-end}} output {{novo_arquivo.pdf}}` diff --git a/pages.pt_BR/common/php.md b/pages.pt_BR/common/php.md new file mode 100644 index 00000000000000..4d4724db3adbcd --- /dev/null +++ b/pages.pt_BR/common/php.md @@ -0,0 +1,36 @@ +# php + +> Interface de linha de comando do PHP. +> Mais informações: . + +- Analisa e executa um script PHP: + +`php {{caminho/para/arquivo}}` + +- Verifica a sintaxe (lint) de um script PHP: + +`php {{[-l|--syntax-check]}} {{caminho/para/arquivo}}` + +- Executa o PHP de forma interativa: + +`php {{[-a|--interactive]}}` + +- Executa código PHP (não use as tags ``; escape aspas duplas com barra invertida): + +`php {{[-r|--run]}} "{{código}}"` + +- Inicia o servidor web embutido do PHP no diretório atual: + +`php {{[-S|--server]}} {{servidor}}:{{porta}}` + +- Lista as extensões do PHP instaladas: + +`php {{[-m|--modules]}}` + +- Exibe informações sobre a configuração atual do PHP: + +`php {{[-i|--info]}}` + +- Exibe informações sobre uma função específica: + +`php {{[--rf|--rfunction]}} {{nome_da_função}}` diff --git a/pages.pt_BR/common/pio-init.md b/pages.pt_BR/common/pio-init.md new file mode 100644 index 00000000000000..b70f1abcc0b562 --- /dev/null +++ b/pages.pt_BR/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Este comando é um apelido de `pio project`. + +- Exibe documentação sobre o comando original: + +`tldr pio project` diff --git a/pages.pt_BR/common/piodebuggdb.md b/pages.pt_BR/common/piodebuggdb.md new file mode 100644 index 00000000000000..5f51d59f18e9f8 --- /dev/null +++ b/pages.pt_BR/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Este comando é um apelido de `pio debug`. + +- Exibe documentação sobre o comando original: + +`tldr pio debug` diff --git a/pages.pt_BR/common/pip-install.md b/pages.pt_BR/common/pip-install.md new file mode 100644 index 00000000000000..e4362726facb35 --- /dev/null +++ b/pages.pt_BR/common/pip-install.md @@ -0,0 +1,24 @@ +# pip install + +> Instala pacotes Python. +> Mais informações: . + +- Instala um pacote: + +`pip install {{nome_pacote}}` + +- Instala uma versão específica de um pacote: + +`pip install {{nome_pacote}}=={{versão_do_pacote}}` + +- Instala pacotes listados em um arquivo: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` + +- Instala pacotes a partir de uma URL ou arquivo local (.tar.gz | .whl): + +`pip install {{[-f|--find-links]}} {{url|caminho/do/arquivo}}` + +- Instala o pacote local no diretório atual no modo de desenvolvimento (editável): + +`pip install {{[-e|--editable]}} {{.}}` diff --git a/pages.pt_BR/common/pip-uninstall.md b/pages.pt_BR/common/pip-uninstall.md new file mode 100644 index 00000000000000..deab822e0e9417 --- /dev/null +++ b/pages.pt_BR/common/pip-uninstall.md @@ -0,0 +1,16 @@ +# pip uninstall + +> Desinstala pacotes Python. +> Mais informações: . + +- Desinstala um pacote: + +`pip uninstall {{nome_pacote}}` + +- Desinstala pacotes listados em um arquivo: + +`pip uninstall {{[-r|--requirement]}} {{requirements.txt}}` + +- Desinstala um pacote sem pedir por confirmação: + +`pip uninstall {{[-y|--yes]}} {{nome_pacote}}` diff --git a/pages.pt_BR/common/pip.md b/pages.pt_BR/common/pip.md new file mode 100644 index 00000000000000..d46752dfd32bb8 --- /dev/null +++ b/pages.pt_BR/common/pip.md @@ -0,0 +1,33 @@ +# pip + +> Gerenciador de pacotes para Python. +> Alguns sub-comandos, como `pip install` possuem sua própria documentação. +> Mais informações: . + +- Instala um pacote (veja `pip install` para mais exemplos de instalação): + +`pip install {{nome_pacote}}` + +- Instala um pacote no diretório do usuário em vez do local padrão do sistema: + +`pip install --user {{nome_pacote}}` + +- Atualiza um pacote: + +`pip install {{[-U|--upgrade]}} {{nome_pacote}}` + +- Desinstala um pacote: + +`pip uninstall {{nome_pacote}}` + +- Salva os pacotes instalados em um arquivo: + +`pip freeze > {{requirements.txt}}` + +- Mostra informações sobre um pacote instalado: + +`pip show {{nome_pacote}}` + +- Instala pacotes a partir de um arquivo: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` diff --git a/pages.pt_BR/common/pip3.md b/pages.pt_BR/common/pip3.md new file mode 100644 index 00000000000000..d0d876266cf0e3 --- /dev/null +++ b/pages.pt_BR/common/pip3.md @@ -0,0 +1,32 @@ +# pip3 + +> Gerenciador de pacotes Python. +> Mais informações: . + +- Instala um pacote: + +`pip3 install {{nome_pacote}}` + +- Instala uma versão específica de um pacote: + +`pip3 install {{nome_pacote}}=={{versão_pacote}}` + +- Atualiza um pacote: + +`pip3 install {{[-U|--upgrade]}} {{nome_pacote}}` + +- Desinstala um pacote: + +`pip3 uninstall {{nome_pacote}}` + +- Salva a lista de pacotes instalados em um arquivo: + +`pip3 freeze > {{requirements.txt}}` + +- Instala pacotes salvos em um arquivo: + +`pip3 install {{[-r|--requirement]}} {{requirements.txt}}` + +- Mostra informações sobre um pacote instalado: + +`pip3 show {{nome_pacote}}` diff --git a/pages.pt_BR/common/platformio.md b/pages.pt_BR/common/platformio.md new file mode 100644 index 00000000000000..a28502a1503300 --- /dev/null +++ b/pages.pt_BR/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Este comando é um apelido de `pio`. + +- Exibe documentação sobre o comando original: + +`tldr pio` diff --git a/pages.pt_BR/common/podman-build.md b/pages.pt_BR/common/podman-build.md new file mode 100644 index 00000000000000..62d59b0262461f --- /dev/null +++ b/pages.pt_BR/common/podman-build.md @@ -0,0 +1,25 @@ +# podman build + +> Ferramenta sem daemon para criar imagens de contêiner. +> O Podman fornece uma linha de comando comparável ao Docker-CLI. Simplificando: `alias docker=podman`. +> Mais informações: . + +- Cria uma imagem usando um `Dockerfile` ou `Containerfile` no diretório especificado: + +`podman build {{caminho/para/diretório}}` + +- Cria uma imagem com uma tag especificada: + +`podman build --tag {{nome_da_imagem:versão}} {{caminho/para/diretório}}` + +- Cria uma imagem a partir de um arquivo não padrão: + +`podman build --file {{Containerfile.diferente}} .` + +- Cria uma imagem sem usar nenhuma imagem em cache previamente: + +`podman build --no-cache {{caminho/para/diretório}}` + +- Cria uma imagem suprimindo todas as saídas: + +`podman build --quiet {{caminho/para/diretório}}` diff --git a/pages.pt_BR/common/podman-compose.md b/pages.pt_BR/common/podman-compose.md new file mode 100644 index 00000000000000..6b4ee32809ca8c --- /dev/null +++ b/pages.pt_BR/common/podman-compose.md @@ -0,0 +1,36 @@ +# podman-compose + +> Executar e gerenciar definição de contêineres Compose Specification. +> Mais informações: . + +- Lista todos os contêineres em execução: + +`podman-compose ps` + +- Cria e inicia todos os contêineres em segundo plano usando um arquivo `docker-compose.yml` local: + +`podman-compose up -d` + +- Inicia todos os contêineres, fazendo o build se necessário: + +`podman-compose up --build` + +- Inicia todos os contêineres usando um arquivo de composição alternativo: + +`podman-compose {{[-f|--file]}} {{caminho/para/arquivo}} up` + +- Para todos os contêineres em execução: + +`podman-compose stop` + +- Remove todos os contêineres, redes e volumes: + +`podman-compose down --volumes` + +- Acompanha logs de um contêiner (omite todos os nomes de contêineres): + +`podman-compose logs --follow {{nome_do_contêiner}}` + +- Executa um comando único em um serviço sem mapear portas: + +`podman-compose run {{nome_do_serviço}} {{comando}}` diff --git a/pages.pt_BR/common/podman-image.md b/pages.pt_BR/common/podman-image.md new file mode 100644 index 00000000000000..9ed2d609cb6957 --- /dev/null +++ b/pages.pt_BR/common/podman-image.md @@ -0,0 +1,21 @@ +# podman image + +> Gerenciar imagens Docker. +> Veja também `podman build`, `podman import` e `podman pull`. +> Mais informações: . + +- Lista imagens Docker locais: + +`podman image ls` + +- Exclui imagens Docker locais não utilizadas: + +`podman image prune` + +- Exclui todas as imagens não utilizadas (não apenas aquelas sem uma tag): + +`podman image prune --all` + +- Mostra o histórico de uma imagem Docker local: + +`podman image history {{imagem}}` diff --git a/pages.pt_BR/common/podman-images.md b/pages.pt_BR/common/podman-images.md new file mode 100644 index 00000000000000..ecd00896e8cb4c --- /dev/null +++ b/pages.pt_BR/common/podman-images.md @@ -0,0 +1,24 @@ +# podman images + +> Gerenciar imagens do Podman. +> Mais informações: . + +- Lista todas as imagens do Podman: + +`podman images` + +- Lista todas as imagens do Podman, incluindo intermediárias: + +`podman images --all` + +- Lista a saída no modo silencioso (apenas IDs numéricos): + +`podman images --quiet` + +- Lista todas as imagens do Podman que não são utilizadas por nenhum contêiner: + +`podman images --filter dangling=true` + +- Lista imagens que contenham uma substring em seus nomes: + +`podman images "{{*imagem|imagem*}}"` diff --git a/pages.pt_BR/common/podman-machine.md b/pages.pt_BR/common/podman-machine.md new file mode 100644 index 00000000000000..451f890c050ee1 --- /dev/null +++ b/pages.pt_BR/common/podman-machine.md @@ -0,0 +1,33 @@ +# podman machine + +> Criar e gerenciar máquinas virtuais executando o Podman. +> Incluído com a versão 4 ou superior do Podman. +> Mais informações: . + +- Lista as máquinas existentes: + +`podman machine ls` + +- Cria uma nova máquina padrão: + +`podman machine init` + +- Cria uma nova máquina com um nome específico: + +`podman machine init {{nome}}` + +- Cria uma nova máquina com recursos diferentes: + +`podman machine init --cpus={{4}} --memory={{4096}} --disk-size={{50}}` + +- Inicia ou para uma máquina: + +`podman machine {{start|stop}} {{nome}}` + +- Conecta-se a uma máquina em execução via SSH: + +`podman machine ssh {{nome}}` + +- Inspeciona informações sobre uma máquina: + +`podman machine inspect {{nome}}` diff --git a/pages.pt_BR/common/podman-ps.md b/pages.pt_BR/common/podman-ps.md new file mode 100644 index 00000000000000..73e5659c397acd --- /dev/null +++ b/pages.pt_BR/common/podman-ps.md @@ -0,0 +1,36 @@ +# podman ps + +> Listar contêineres do Podman. +> Mais informações: . + +- Lista contêineres do Podman em execução atualmente: + +`podman ps` + +- Lista todos os contêineres do Podman (em execução e parados): + +`podman ps --all` + +- Mostra o contêiner mais recente criado (inclui todos os estados): + +`podman ps --latest` + +- Filtra contêineres que contêm uma substring em seus nomes: + +`podman ps --filter "name={{nome}}"` + +- Filtra contêineres que compartilham uma determinada imagem como ancestral: + +`podman ps --filter "ancestor={{imagem}}:{{tag}}"` + +- Filtra contêineres pelo código de status de saída: + +`podman ps --all --filter "exited={{código}}"` + +- Filtra contêineres pelo status (criado, em execução, removendo, pausado, encerrado e morto): + +`podman ps --filter "status={{status}}"` + +- Filtra contêineres que montam um volume específico ou têm um volume montado em um caminho específico: + +`podman ps --filter "volume={{caminho/para/diretório}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.pt_BR/common/podman-rmi.md b/pages.pt_BR/common/podman-rmi.md new file mode 100644 index 00000000000000..c310a07b82fa9b --- /dev/null +++ b/pages.pt_BR/common/podman-rmi.md @@ -0,0 +1,20 @@ +# podman rmi + +> Remover uma ou mais imagens do Podman. +> Mais informações: . + +- Remove uma ou mais imagens pelo nome delas: + +`podman rmi {{imagem:tag}} {{imagem2:tag}} {{...}}` + +- Remove uma imagem forçadamente: + +`podman rmi --force {{imagem}}` + +- Remove uma imagem sem excluir os pais não marcados: + +`podman rmi --no-prune {{imagem}}` + +- Exibe ajuda: + +`podman rmi` diff --git a/pages.pt_BR/common/podman-run.md b/pages.pt_BR/common/podman-run.md new file mode 100644 index 00000000000000..334f6b3d2ac45f --- /dev/null +++ b/pages.pt_BR/common/podman-run.md @@ -0,0 +1,36 @@ +# podman run + +> Executar um comando em um novo contêiner Podman. +> Mais informações: . + +- Executa um comando em um novo contêiner a partir de uma imagem marcada: + +`podman run {{imagem:tag}} {{comando}}` + +- Executa um comando em um novo contêiner em segundo plano e exibe o ID: + +`podman run --detach {{imagem:tag}} {{comando}}` + +- Executa um comando em um contêiner temporário no modo interativo e pseudo-TTY: + +`podman run --rm --interactive --tty {{imagem:tag}} {{comando}}` + +- Executa um comando em um novo contêiner com variáveis de ambiente passadas: + +`podman run --env '{{variável}}={{valor}}' --env {{variável}} {{imagem:tag}} {{comando}}` + +- Executa um comando em um novo contêiner com volumes montados por bind: + +`podman run --volume {{/caminho/para/caminho_no_host}}:{{/caminho/para/caminho_no_contêiner}} {{imagem:tag}} {{comando}}` + +- Executa um comando em um novo contêiner com portas publicadas: + +`podman run --publish {{porta_no_host}}:{{porta_no_contêiner}} {{imagem:tag}} {{comando}}` + +- Executa um comando em um novo contêiner sobrescrevendo o ponto de entrada (entrypoint) da imagem: + +`podman run --entrypoint {{comando}} {{imagem:tag}}` + +- Executa um comando em um novo contêiner conectando-o a uma rede: + +`podman run --network {{rede}} {{imagem:tag}}` diff --git a/pages.pt_BR/common/podman.md b/pages.pt_BR/common/podman.md new file mode 100644 index 00000000000000..fdbdf593065160 --- /dev/null +++ b/pages.pt_BR/common/podman.md @@ -0,0 +1,37 @@ +# podman + +> Ferramenta de gerenciamento simples para pods, contêineres e imagens. +> O Podman fornece uma linha de comando comparável ao Docker-CLI. Simplificando: `alias docker=podman`. +> Mais informações: . + +- Lista todos os contêineres (em execução e parados): + +`podman ps --all` + +- Cria um contêiner a partir de uma imagem, com um nome personalizado: + +`podman run --name {{nome_do_contêiner}} {{imagem}}` + +- Inicia ou para um contêiner existente: + +`podman {{start|stop}} {{nome_do_contêiner}}` + +- Baixa uma imagem de um registro (por padrão, Docker Hub): + +`podman pull {{imagem}}` + +- Exibe a lista de imagens já baixadas: + +`podman images` + +- Abre um shell dentro de um contêiner que já está em execução: + +`podman exec --interactive --tty {{nome_do_contêiner}} {{sh}}` + +- Remove um contêiner parado: + +`podman rm {{nome_do_contêiner}}` + +- Exibe os logs de um ou mais contêineres e acompanha a saída do log: + +`podman logs --follow {{nome_do_contêiner}} {{id_do_contêiner}}` diff --git a/pages.pt_BR/common/pssh.md b/pages.pt_BR/common/pssh.md new file mode 100644 index 00000000000000..942b10b2af9bac --- /dev/null +++ b/pages.pt_BR/common/pssh.md @@ -0,0 +1,28 @@ +# pssh + +> Programa de SSH paralelo. +> Mais informações: . + +- Executa um comando em dois servidores e imprime a saída em cada servidor em linha: + +`pssh -i -H "{{servidor1}} {{servidor2}}" {{hostname -i}}` + +- Executa um comando e salva a saída em arquivos separados: + +`pssh -H {{servidor1}} -H {{servidor2}} -o {{caminho/para/diretório_de_saída}} {{hostname -i}}` + +- Executa um comando em vários servidores, especificados em um arquivo separado por nova linha: + +`pssh -i -h {{caminho/para/arquivo_de_servidores}} {{hostname -i}}` + +- Executa um comando como root (isso solicitará a senha do root): + +`pssh -i -h {{caminho/para/arquivo_de_servidores}} -A -l {{nome_de_usuário_do_root}} {{hostname -i}}` + +- Executa um comando com argumentos SSH adicionais: + +`pssh -i -h {{caminho/para/arquivo_de_servidores}} -x "{{-O VisualHostKey=yes}}" {{hostname -i}}` + +- Executa um comando limitando o número de conexões paralelas para 10: + +`pssh -i -h {{caminho/para/arquivo_de_servidores}} -p {{10}} '{{cd dir; ./script.sh; exit}}'` diff --git a/pages.pt_BR/common/ptpython3.md b/pages.pt_BR/common/ptpython3.md new file mode 100644 index 00000000000000..3c67995756c2fa --- /dev/null +++ b/pages.pt_BR/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Este comando é um apelido de `ptpython`. + +- Exibe documentação sobre o comando original: + +`tldr ptpython` diff --git a/pages.pt_BR/common/pwd.md b/pages.pt_BR/common/pwd.md new file mode 100644 index 00000000000000..2a6e9bf15e37b8 --- /dev/null +++ b/pages.pt_BR/common/pwd.md @@ -0,0 +1,16 @@ +# pwd + +> Exibe o nome do diretório atual. +> Mais informações: . + +- Exibe o diretório atual: + +`pwd` + +- Exibe o diretório atual e expande todos os links simbólicos (ou seja, exibe o caminho absoluto): + +`pwd {{[-P|--physical]}}` + +- Exibe a página de ajuda: + +`pwd --help` diff --git a/pages.pt_BR/common/python.md b/pages.pt_BR/common/python.md new file mode 100644 index 00000000000000..f763f1757862d2 --- /dev/null +++ b/pages.pt_BR/common/python.md @@ -0,0 +1,36 @@ +# python + +> Interpretador da linguagem Python. +> Mais informações: . + +- Inicia o REPL (shell interativo): + +`python` + +- Executa um arquivo Python específico: + +`python {{caminho/para/arquivo.py}}` + +- Executa um arquivo Python específico e inicia um REPL: + +`python -i {{caminho/para/arquivo.py}}` + +- Executa uma expressão em Python: + +`python -c "{{expressão}}"` + +- Roda o script do módulo de biblioteca especificado: + +`python -m {{modulo}} {{argumentos}}` + +- Instala um pacote usando `pip`: + +`python -m pip install {{nome_do_pacote}}` + +- Depura interativamente um script de Python: + +`python -m pdb {{caminho/para/arquivo.py}}` + +- Inicia o servidor HTTP integrado na porta 8000 no diretório atual: + +`python -m http.server` diff --git a/pages.pt_BR/common/python3.md b/pages.pt_BR/common/python3.md new file mode 100644 index 00000000000000..e3005dd409c10d --- /dev/null +++ b/pages.pt_BR/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Este comando é um apelido de `python`. + +- Exibe documentação sobre o comando original: + +`tldr python` diff --git a/pages.pt_BR/common/r2.md b/pages.pt_BR/common/r2.md new file mode 100644 index 00000000000000..87c719ab2abfb3 --- /dev/null +++ b/pages.pt_BR/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Este comando é um apelido de `radare2`. + +- Exibe documentação sobre o comando original: + +`tldr radare2` diff --git a/pages.pt_BR/common/rails-generate.md b/pages.pt_BR/common/rails-generate.md index 79d10e39ef3c8e..3a1a3045f35a0d 100644 --- a/pages.pt_BR/common/rails-generate.md +++ b/pages.pt_BR/common/rails-generate.md @@ -1,19 +1,20 @@ # rails generate > Gerar artefatos Rails a partir de um modelo em um projeto existente. +> Mais informações: . -- Exibir todos os geradores disponíveis: +- Exibe todos os geradores disponíveis: `rails generate` -- Criar um modelo: +- Cria um modelo: `rails generate model {{nome_da_classe}}` -- Criar um controlador: +- Cria um controlador: `rails generate controller {{nome_do_controlador}}` -- Criar uma estrutura completa (modelo, controlador, testes, etc.) para um novo modelo: +- Cria uma estrutura completa (modelo, controlador, testes, etc.) para um novo modelo: `rails generate scaffold {{nome_do_modelo}}` diff --git a/pages.pt_BR/common/rails.md b/pages.pt_BR/common/rails.md index 7e914ef819cf95..9fd1e1529308f0 100644 --- a/pages.pt_BR/common/rails.md +++ b/pages.pt_BR/common/rails.md @@ -3,22 +3,22 @@ > Framework MVC para o desenvolvimento de aplicações web, desenvolvido em Ruby. > Mais informações: . -- Criar um novo projeto: +- Cria um novo projeto: `rails new "{{nome_do_projeto}}"` -- Iniciar o servidor local para o projeto atual na porta 3000: +- Inicia o servidor local para o projeto atual na porta 3000: `rails server` -- Iniciar o servidor local para o projeto atual em um porta específica: +- Inicia o servidor local para o projeto atual em um porta específica: `rails server -p "{{porta}}"` -- Iniciar o console Rails para manipular o projeto atual utilizando o terminal: +- Inicia o console Rails para manipular o projeto atual utilizando o terminal: `rails console` -- Verificar a versão atual do Rails: +- Verifica a versão atual do Rails: `rails --version` diff --git a/pages.pt_BR/common/rbenv.md b/pages.pt_BR/common/rbenv.md index 1ff7af2d31cd8b..e3a37947ed7796 100644 --- a/pages.pt_BR/common/rbenv.md +++ b/pages.pt_BR/common/rbenv.md @@ -1,31 +1,32 @@ # rbenv > Ferramenta que facilita a instalação e gerenciamento de múltiplas versões da linguagem Ruby. +> Mais informações: . -- Instalar uma ou mais versões, separadas por espaço: +- Instala uma ou mais versões, separadas por espaço: `rbenv install {{uma_ou_mais_versoes}}` -- Exibir a lista de versões instaladas: +- Exibe a lista de versões instaladas: `rbenv versions` -- Determinar uma versão específica para ser a instalação padrão: +- Determina uma versão específica para ser a instalação padrão: `rbenv global {{versao}}` -- Determinar uma versão específica para um projeto. Este comando deve ser executado no diretório do projeto: +- Determina uma versão específica para um projeto. Este comando deve ser executado no diretório do projeto: `rbenv local {{versao}}` -- Exibir a versão ativa: +- Exibe a versão ativa: `rbenv version` -- Remover uma versão: +- Remove uma versão: `rbenv uninstall {{versao}}` -- Exibir todas as versões que contém um determinado executável: +- Exibe todas as versões que contém um determinado executável: `rbenv whence {{executavel}}` diff --git a/pages.pt_BR/common/rc.md b/pages.pt_BR/common/rc.md new file mode 100644 index 00000000000000..6b3483e5bbdf3d --- /dev/null +++ b/pages.pt_BR/common/rc.md @@ -0,0 +1,13 @@ +# rc + +> Um ouvinte de porta moderno e simplista e shell reverso. +> Similar a `nc`. +> Mais informações: . + +- Começa a escutar em uma porta específica: + +`rc -lp {{porta}}` + +- Começa um shell reverso: + +`rc {{host}} {{porta}} -r {{shell}}` diff --git a/pages.pt_BR/common/rcat.md b/pages.pt_BR/common/rcat.md new file mode 100644 index 00000000000000..77ff2d7686484a --- /dev/null +++ b/pages.pt_BR/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Este comando é um apelido de `rc`. + +- Exibe documentação sobre o comando original: + +`tldr rc` diff --git a/pages.pt_BR/common/renice.md b/pages.pt_BR/common/renice.md new file mode 100644 index 00000000000000..fe6a35f9fa864d --- /dev/null +++ b/pages.pt_BR/common/renice.md @@ -0,0 +1,17 @@ +# renice + +> Altera a prioridade/agradabilidade de agendamento de um ou mais processos em execução. +> Os valores de agradabilidade variam de -20 (mais favorável ao processo) a 19 (menos favorável ao processo). +> Mais informações: . + +- Altera a prioridade de um [p]rocesso em execução: + +`renice -n {{3}} -p {{pid}}` + +- Altera a prioridade de todos os processos pertencentes a um [u]suário: + +`renice -n {{-4}} -u {{nome_do_usuario}}` + +- Altera a prioridade de todos os processos que pertencem a um [g]rupo de processos: + +`renice -n {{5}} -g {{grupo_de_processos}}` diff --git a/pages.pt_BR/common/rsync.md b/pages.pt_BR/common/rsync.md new file mode 100644 index 00000000000000..9948ae6bf40157 --- /dev/null +++ b/pages.pt_BR/common/rsync.md @@ -0,0 +1,37 @@ +# rsync + +> Transfira arquivos para ou de um host remote (mas não entre dois hosts remotos), usando SSH por padrão. +> Para especificar um caminho remoto, use `host:caminho/para/arquivo_ou_diretório`. +> Mais informações: . + +- Transfere um arquivo: + +`rsync {{caminho/para/origem}} {{caminho/para/destino}}` + +- Usa o modo de arquivo (copia recursivamente diretórios, copia links simbólicos sem resolver e preserva permissões, propriedade e tempos de modificação): + +`rsync {{[-a|--archive]}} {{caminho/para/origem}} {{caminho/para/destino}}` + +- Comprime os dados à medida que são enviados ao destino, exibe progresso detalhado e legível, e mantém arquivos parcialmente transferidos se forem interrompidos: + +`rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{caminho/para/origem}} {{caminho/para/destino}}` + +- Copia recursivamente diretórios: + +`rsync {{[-r|--recursive]}} {{caminho/para/origem}} {{caminho/para/destino}}` + +- Transfere os conteúdos do diretório, mas não o diretório em si: + +`rsync {{[-r|--recursive]}} {{caminho/para/origem/}} {{caminho/para/destino}}` + +- Copia diretórios, usa o modo de arquivamento, resolve links simbólicos e ignora arquivos que são mais recentes no destino: + +`rsync {{[-auL|--archive --update --copy-links]}} {{caminho/para/origem}} {{caminho/para/destino}}` + +- Transfere um diretório para um host remoto executando o `rsyncd` and exclui arquivos no destino que não existem na origem: + +`rsync {{[-r|--recursive]}} --delete rsync://{{host}}:{{caminho/para/origem}} {{caminho/para/destino}}` + +- Transfere um arquivo por SSH usando uma porta diferente da padrão (22) e mostra o progresso global: + +`rsync {{[-e|--rsh]}} 'ssh -p {{porta}}' --info=progress2 {{host}}:{{caminho/para/origem}} {{caminho/para/destino}}` diff --git a/pages.pt_BR/common/rustc.md b/pages.pt_BR/common/rustc.md new file mode 100644 index 00000000000000..8f829fa2b834c7 --- /dev/null +++ b/pages.pt_BR/common/rustc.md @@ -0,0 +1,33 @@ +# rustc + +> O compilador Rust. +> Projetos Rust geralmente usam o `cargo` em vez de chamar `rustc` diretamente. +> Mais informações: . + +- Compila uma crate binária: + +`rustc {{caminho/para/arquivo.rs}}` + +- Compila com otimizações (s significa otimizar o tamanho do binário; z é o mesmo com ainda mais otimizações): + +`rustc -C lto -C opt-level={{0|1|2|3|s|z}} {{caminho/para/arquivo.rs}}` + +- Compila com informações de depuração: + +`rustc -g {{caminho/para/arquivo.rs}}` + +- Explica uma mensagem de erro: + +`rustc --explain {{código_de_erro}}` + +- Compila com otimizações específicas de arquitetura para a CPU atual: + +`rustc -C target-cpu={{native}} {{caminho/para/arquivo.rs}}` + +- Exibe lista de targets: + +`rustc --print target-list` + +- Compila para um target específico: + +`rustc --target {{target_triplo}} {{caminho/para/arquivo.rs}}` diff --git a/pages.pt_BR/common/rvm.md b/pages.pt_BR/common/rvm.md index b5e710492d9c2d..360eae0c1c872c 100644 --- a/pages.pt_BR/common/rvm.md +++ b/pages.pt_BR/common/rvm.md @@ -1,35 +1,36 @@ # rvm > Ferramenta que facilita a instalação e gerenciamento de múltiplas versões da linguagem Ruby. +> Mais informações: . -- Instalar uma ou mais versões separadas por espaço: +- Instala uma ou mais versões separadas por espaço: `rvm install {{uma_ou_mais_versoes}}` -- Exibir a lista de versões instaladas: +- Exibe a lista de versões instaladas: `rvm list` -- Definir uma versão específica para ser utilizada temporariamente: +- Define uma versão específica para ser utilizada temporariamente: `rvm use {{versao}}` -- Definir uma versão específica para ser a instalação padrão: +- Define uma versão específica para ser a instalação padrão: `rvm --default use {{versao}}` -- Atualizar uma versão já instalada para uma nova versão: +- Atualiza uma versão já instalada para uma nova versão: `rvm upgrade {{versao_atual}} {{nova_versao}}` -- Remover uma versão mantendo o código fonte: +- Remove uma versão mantendo o código fonte: `rvm uninstall {{versao}}` -- Remover uma versão e o código fonte: +- Remove uma versão e o código fonte: `rvm remove {{versao}}` -- Exibir as dependências específicas para o seu sistema operacional: +- Exibe as dependências específicas para o seu sistema operacional: `rvm requirements` diff --git a/pages.pt_BR/common/scc.md b/pages.pt_BR/common/scc.md index 32769690c2337f..09789088e03302 100644 --- a/pages.pt_BR/common/scc.md +++ b/pages.pt_BR/common/scc.md @@ -3,31 +3,31 @@ > Utilitário escrito em GO que conta linhas de código. > Mais informações: . -- Mostrar o número de linhas de código no diretório atual: +- Mostra o número de linhas de código no diretório atual: `scc` -- Mostrar o número de linhas de código de um diretório especificado: +- Mostra o número de linhas de código de um diretório especificado: `scc {{caminho/para/diretorio}}` -- Mostrar o número de linhas de código por arquivo: +- Mostra o número de linhas de código por arquivo: `scc --by-file` -- Mostrar o resultado usando um formato específico (formato padrão é o `tabular`): +- Mostra o resultado usando um formato específico (formato padrão é o `tabular`): `scc --format {{tabular|wide|json|csv|cloc-yaml|html|html-table}}` -- Contar apenas os arquivos com as extensões especificadas: +- Conta apenas os arquivos com as extensões especificadas: `scc --include-ext {{go, java, js}}` -- Excluir diretórios da contagem: +- Exclui diretórios da contagem: `scc --exclude-dir {{.git,.hg}}` -- Mostrar output organizado de acordo com o parâmetro especificado (organização padrão é `files`): +- Mostra output organizado de acordo com o parâmetro especificado (organização padrão é `files`): `scc --sort {{files|name|lines|blanks|code|comments|complexity}}` diff --git a/pages.pt_BR/common/sh.md b/pages.pt_BR/common/sh.md new file mode 100644 index 00000000000000..3556ab5c350656 --- /dev/null +++ b/pages.pt_BR/common/sh.md @@ -0,0 +1,21 @@ +# sh + +> Bourne shell, o interpretador padrão da linha de comando. +> Veja também `histexpand` para um histórico expandido. +> Mais informações: . + +- Inicie uma sessão shell interativa: + +`sh` + +- Execute um comando e então saia da shell: + +`sh -c "{{comando}}"` + +- Execute um script: + +`sh {{caminho/para/script.sh}}` + +- Leia e execute comandos da entrada `stdin` (entrada padrão): + +`sh -s` diff --git a/pages.pt_BR/common/sl.md b/pages.pt_BR/common/sl.md new file mode 100644 index 00000000000000..6385cf85c0a953 --- /dev/null +++ b/pages.pt_BR/common/sl.md @@ -0,0 +1,24 @@ +# sl + +> Locomotiva a vapor passando pelo seu terminal. +> Mais informações: . + +- Faz uma locomotiva a vapor passar pelo seu terminal: + +`sl` + +- O trem pega fogo e pessoas gritam: + +`sl -a` + +- Faz o trem voar: + +`sl -F` + +- Faz o trem pequeno: + +`sl -l` + +- Deixa o usuário sair (``): + +`sl -e` diff --git a/pages.pt_BR/common/snakefmt.md b/pages.pt_BR/common/snakefmt.md new file mode 100644 index 00000000000000..ece1189469c8e5 --- /dev/null +++ b/pages.pt_BR/common/snakefmt.md @@ -0,0 +1,24 @@ +# snakefmt + +> Formata arquivos Snakemake. +> Mais informações: . + +- Formata um Snakefile específico: + +`snakefmt {{caminho/para/snakefile}}` + +- Formata todos os Snakefiles recursivamente em uma pasta específica: + +`snakefmt {{caminho/para/diretorio}}` + +- Formata um arquivo usando um arquivo de configuração específico: + +`snakefmt --config {{caminho/para/config.toml}} {{caminho/para/snakefile}}` + +- Formata um arquivo usando um comprimento máximo de linha específico: + +`snakefmt --line-length {{100}} {{caminho/para/snakefile}}` + +- Exibe às mudanças que seriam realizadas sem realiza-las: + +`snakefmt --diff {{caminho/para/snakefile}}` diff --git a/pages.pt_BR/common/speedtest-cli.md b/pages.pt_BR/common/speedtest-cli.md new file mode 100644 index 00000000000000..544c061fe76974 --- /dev/null +++ b/pages.pt_BR/common/speedtest-cli.md @@ -0,0 +1,37 @@ +# speedtest-cli + +> Teste a largura de banda da Internet usando . +> Veja também: `speedtest` para a aplicação CLI oficial. +> Mais informações: . + +- Executa um teste de velocidade: + +`speedtest-cli` + +- Executa um teste de velocidade e exibe valores em bytes, ao invés de bits: + +`speedtest-cli --bytes` + +- Executa um teste de velocidade usando `HTTPS`, ao invés de `HTTP`: + +`speedtest-cli --secure` + +- Executa um teste de velocidade sem realizar testes de download: + +`speedtest-cli --no-download` + +- Executa um teste de velocidade e gera uma imagem dos resultados: + +`speedtest-cli --share` + +- Lista todos os servidores `speedtest.net`, classificados por distância: + +`speedtest-cli --list` + +- Executa um teste de velocidade a um servidor do speedtest.net específico: + +`speedtest-cli --server {{id_do_servidor}}` + +- Executa um teste de velocidade e exibe os resultados como JSON (suprime informações de progresso): + +`speedtest-cli --json` diff --git a/pages.pt_BR/common/ssh-add.md b/pages.pt_BR/common/ssh-add.md new file mode 100644 index 00000000000000..7ed2dcbe076660 --- /dev/null +++ b/pages.pt_BR/common/ssh-add.md @@ -0,0 +1,29 @@ +# ssh-add + +> Gerencia as chaves SSH carregadas no ssh-agent. +> Certifique-se de que o ssh-agent esteja em execução para que as chaves sejam carregadas nele. +> Mais informações: . + +- Adiciona as chaves SSH padrão em `~/.ssh` ao ssh-agent: + +`ssh-add` + +- Adiciona uma chave específica ao ssh-agent: + +`ssh-add {{caminho/para/chave_privada}}` + +- Lista as impressões digitais das chaves carregadas atualmente: + +`ssh-add -l` + +- Exclui uma chave do ssh-agent: + +`ssh-add -d {{caminho/para/chave_privada}}` + +- Exclui todas as chaves carregadas atualmente do ssh-agent: + +`ssh-add -D` + +- Adiciona uma chave ao ssh-agent e ao keychain: + +`ssh-add -K {{caminho/para/chave_privada}}` diff --git a/pages.pt_BR/common/ssh-agent.md b/pages.pt_BR/common/ssh-agent.md new file mode 100644 index 00000000000000..7ef2db75cf5b67 --- /dev/null +++ b/pages.pt_BR/common/ssh-agent.md @@ -0,0 +1,14 @@ +# ssh-agent + +> Iniciar um processo do Agente SSH. +> Um Agente SSH mantém as chaves SSH descriptografadas na memória até serem removidas ou o processo ser encerrado. +> Veja também `ssh-add`, que pode adicionar e gerenciar chaves mantidas por um Agente SSH. +> Mais informações: . + +- Inicia um Agente SSH para o shell atual: + +`eval $(ssh-agent)` + +- Encerra o Agente em execução atualmente: + +`ssh-agent -k` diff --git a/pages.pt_BR/common/ssh-copy-id.md b/pages.pt_BR/common/ssh-copy-id.md new file mode 100644 index 00000000000000..4bfb53572911f6 --- /dev/null +++ b/pages.pt_BR/common/ssh-copy-id.md @@ -0,0 +1,16 @@ +# ssh-copy-id + +> Instala a sua chave pública no arquivo authorized_keys de uma máquina remota. +> Mais informações: . + +- Copia suas chaves para a máquina remota: + +`ssh-copy-id {{nome_de_usuário}}@{{máquina_remota}}` + +- Copia a chave pública fornecida para a máquina remota: + +`ssh-copy-id -i {{caminho/para/certificado}} {{nome_de_usuário}}@{{maquina_remota}}` + +- Copia a chave pública fornecida para a máquina remota usando uma porta específica: + +`ssh-copy-id -i {{caminho/para/certificado}} -p {{porta}} {{nome_de_usuário}}@{{maquina_remota}}` diff --git a/pages.pt_BR/common/ssh-keygen.md b/pages.pt_BR/common/ssh-keygen.md new file mode 100644 index 00000000000000..191eb35a2ffcd6 --- /dev/null +++ b/pages.pt_BR/common/ssh-keygen.md @@ -0,0 +1,36 @@ +# ssh-keygen + +> Gera chaves SSH usadas para autenticação, logins sem senha e outras finalidades. +> Mais informações: . + +- Gera uma chave interativamente: + +`ssh-keygen` + +- Gera uma chave ed25519 com 32 rounds de função de derivação de chave e salva a chave em um arquivo específico: + +`ssh-keygen -t {{ed25519}} -a {{32}} -f {{~/.ssh/nome_do_arquivo}}` + +- Gera uma chave RSA de 4096 bits com um comentário de email: + +`ssh-keygen -t {{rsa}} -b {{4096}} -C "{{comentário|email}}"` + +- Remove as chaves de um servidor do arquivo known_hosts (útil quando um servidor conhecido tem uma nova chave): + +`ssh-keygen -R {{servidor_remoto}}` + +- Obtém a impressão digital de uma chave em MD5 Hex: + +`ssh-keygen -l -E {{md5}} -f {{~/.ssh/nome_do_arquivo}}` + +- Altera a senha de uma chave: + +`ssh-keygen -p -f {{~/.ssh/nome_do_arquivo}}` + +- Altera o tipo de formato da chave (por exemplo, de formato OPENSSH para PEM), o arquivo será reescrito no local: + +`ssh-keygen -p -N "" -m {{PEM}} -f {{~/.ssh/chave_privada_OpenSSH}}` + +- Obtém a chave pública a partir da chave secreta: + +`ssh-keygen -y -f {{~/.ssh/chave_privada_OpenSSH}}` diff --git a/pages.pt_BR/common/ssh-keyscan.md b/pages.pt_BR/common/ssh-keyscan.md new file mode 100644 index 00000000000000..6987d619a879f3 --- /dev/null +++ b/pages.pt_BR/common/ssh-keyscan.md @@ -0,0 +1,20 @@ +# ssh-keyscan + +> Obter as chaves públicas SSH de servidores remotos. +> Mais informações: . + +- Obtém todas as chaves públicas SSH de um servidor remoto: + +`ssh-keyscan {{servidor}}` + +- Obtém todas as chaves públicas SSH de um servidor remoto que esteja ouvindo em uma porta específica: + +`ssh-keyscan -p {{porta}} {{servidor}}` + +- Obtém determinados tipos de chaves públicas SSH de um servidor remoto: + +`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{servidor}}` + +- Atualiza manualmente o arquivo known_hosts do SSH com a impressão digital de um determinado servidor: + +`ssh-keyscan -H {{servidor}} >> ~/.ssh/known_hosts` diff --git a/pages.pt_BR/common/ssh.md b/pages.pt_BR/common/ssh.md new file mode 100644 index 00000000000000..97bfd9bcfbe6f4 --- /dev/null +++ b/pages.pt_BR/common/ssh.md @@ -0,0 +1,37 @@ +# ssh + +> O Secure Shell é um protocolo usado para fazer login de forma segura em sistemas remotos. +> Ele pode ser usado para fazer login ou executar comandos em um servidor remoto. +> Mais informações: . + +- Conecta a um servidor remoto: + +`ssh {{nome_do_usuário}}@{{servidor_remoto}}` + +- Conecta a um servidor remoto com uma identidade específica (chave privada): + +`ssh -i {{caminho/para/arquivo_de_chave}} {{nome_do_usuário}}@{{servidor_remoto}}` + +- Conecta a um servidor remoto usando uma porta específica: + +`ssh {{nome_do_usuário}}@{{servidor_remoto}} -p {{2222}}` + +- Executa um comando em um servidor remoto com uma alocação de [t]ty permitindo interação com o comando remoto: + +`ssh {{nome_do_usuário}}@{{servidor_remoto}} -t {{comando}} {{argumentos_do_comando}}` + +- Tunelamento SSH: Encaminhamento dinâmico de porta (proxy SOCKS em `localhost:1080`): + +`ssh -D {{1080}} {{nome_do_usuário}}@{{servidor_remoto}}` + +- Tunelamento SSH: Encaminha uma porta específica (`localhost:9999` para `example.org:80`), desativa a alocação de pseudo-[t]ty e execução de comandos remotos: + +`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{nome_do_usuário}}@{{servidor_remoto}}` + +- Salta com SSH: Conecta a um servidor remoto através de um servidor intermediário (vários saltos intermediários podem ser especificados separados por vírgula): + +`ssh -J {{nome_do_usuário}}@{{servidor_intermediário}} {{nome_do_usuário}}@{{servidor_remoto}}` + +- Fecha uma sessão travada: + +`<~><.>` diff --git a/pages.pt_BR/common/sshd.md b/pages.pt_BR/common/sshd.md new file mode 100644 index 00000000000000..da0603bcde31ba --- /dev/null +++ b/pages.pt_BR/common/sshd.md @@ -0,0 +1,21 @@ +# sshd + +> Daemon do Secure Shell - permite que máquinas remotas façam login de forma segura na máquina atual. +> Máquinas remotas podem executar comandos como se estivessem sendo executados nesta máquina. +> Mais informações: . + +- Inicia o daemon em segundo plano: + +`sshd` + +- Executa o sshd em primeiro plano: + +`sshd -D` + +- Executa com saída detalhada (para depuração): + +`sshd -D -d` + +- Executa em uma porta específica: + +`sshd -p {{porta}}` diff --git a/pages.pt_BR/common/sshfs.md b/pages.pt_BR/common/sshfs.md new file mode 100644 index 00000000000000..a0aa8d0ef41d18 --- /dev/null +++ b/pages.pt_BR/common/sshfs.md @@ -0,0 +1,24 @@ +# sshfs + +> Cliente de sistema de arquivos baseado em SSH. +> Mais informações: . + +- Monta um diretório remoto: + +`sshfs {{nome_do_usuário}}@{{servidor_remoto}}:{{diretório_remoto}} {{ponto_de_montagem}}` + +- Desmonta um diretório remoto: + +`umount {{ponto_de_montagem}}` + +- Monta um diretório remoto de um servidor com uma porta específica: + +`sshfs {{nome_do_usuário}}@{{servidor_remoto}}:{{diretório_remoto}} -p {{2222}}` + +- Usa compressão: + +`sshfs {{nome_do_usuário}}@{{servidor_remoto}}:{{diretório_remoto}} -C` + +- Segue links simbólicos: + +`sshfs -o follow_symlinks {{nome_do_usuário}}@{{servidor_remoto}}:{{diretório_remoto}} {{ponto_de_montagem}}` diff --git a/pages.pt_BR/common/sshpass.md b/pages.pt_BR/common/sshpass.md new file mode 100644 index 00000000000000..9b20ddb0ad529d --- /dev/null +++ b/pages.pt_BR/common/sshpass.md @@ -0,0 +1,17 @@ +# sshpass + +> Um provedor de senha SSH. +> Ele funciona criando um TTY, inserindo a senha nele e, em seguida, redirecionando `stdin` para a sessão SSH. +> Mais informações: . + +- Conecta a um servidor remoto usando uma senha fornecida em um descritor de arquivo (neste caso, `stdin`): + +`sshpass -d {{0}} ssh {{usuário}}@{{nome_do_servidor}}` + +- Conecta a um servidor remoto com a senha fornecida como opção e aceita automaticamente chaves SSH desconhecidas: + +`sshpass -p {{senha}} ssh -o StrictHostKeyChecking=no {{usuário}}@{{nome_do_servidor}}` + +- Conecta a um servidor remoto usando a primeira linha de um arquivo como senha, aceita automaticamente chaves SSH desconhecidas e executa um comando: + +`sshpass -f {{caminho/para/arquivo}} ssh -o StrictHostKeyChecking=no {{usuário}}@{{nome_do_servidor}} "{{comando}}"` diff --git a/pages.pt_BR/common/strings.md b/pages.pt_BR/common/strings.md new file mode 100644 index 00000000000000..5d6873533c7b63 --- /dev/null +++ b/pages.pt_BR/common/strings.md @@ -0,0 +1,20 @@ +# strings + +> Procura strings imprimíveis em um arquivo objeto ou binário. +> Mais informações: . + +- Imprime todas as strings em um binário: + +`strings {{caminho/para/arquivo}}` + +- Limita resultados a strings com pelo menos n caracteres: + +`strings {{[-n|--bytes]}} {{n}} {{caminho/para/arquivo}}` + +- Prefixa cada resultado com seu deslocamento dentro do arquivo: + +`strings {{[-t|--radix]}} d {{caminho/para/arquivo}}` + +- Prefixa cada resultado com seu deslocamento dentro do arquivo em hexadecimal: + +`strings {{[-t|--radix]}} x {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/sudo.md b/pages.pt_BR/common/sudo.md new file mode 100644 index 00000000000000..1e40cf828f8f77 --- /dev/null +++ b/pages.pt_BR/common/sudo.md @@ -0,0 +1,36 @@ +# sudo + +> Executa um único comando como o Superuser, ou como outro usuário. +> Mais informações: . + +- Executa um comando como Superuser: + +`sudo {{less /var/log/syslog}}` + +- Edita um arquivo, como Superuser, com seu editor padrão: + +`sudo {{[-e|--edit]}} {{/etc/fstab}}` + +- Executa um comando como outro usuário e/ou grupo: + +`sudo {{[-u|--user]}} {{usuário}} {{[-g|--group]}} {{grupo}} {{id -a}}` + +- Executa um comando anterior com o prefixo `sudo` (apenas em Bash, Zsh, etc.): + +`sudo !!` + +- Abre o shell padrão com privilégios de Superuser e executa arquivos de login (`.profile`, `.bash_profile`, etc.): + +`sudo {{[-i|--login]}}` + +- Abre o shell padrão com privilégios de Superuser sem altera o ambiente de execução: + +`sudo {{[-s|--shell]}}` + +- Abre o shell padrão como dado usuário, carregando o ambiente de execução deste usuário e lendo arquivos de login (`.profile`, `.bash_profile`, etc.): + +`sudo {{[-i|--login]}} {{[-u|--user]}} {{usuário}}` + +- Lista os comandos permitidos (e não permitidos) para o usuário atual: + +`sudo {{[-l|--list]}}` diff --git a/pages.pt_BR/common/tail.md b/pages.pt_BR/common/tail.md new file mode 100644 index 00000000000000..03d1c9edbee8c2 --- /dev/null +++ b/pages.pt_BR/common/tail.md @@ -0,0 +1,29 @@ +# tail + +> Exibe a parte final de um arquivo. +> Veja também: `head`. +> Mais informações: . + +- Mostra as últimas 'contagem' linhas de um arquivo: + +`tail {{[-n|--lines]}} {{contagem}} {{caminho/para/arquivo}}` + +- Exibe um arquivo a partir de um número de linha específico: + +`tail {{[-n|--lines]}} +{{contagem}} {{caminho/para/arquivo}}` + +- Mostra uma quantidade específica de bytes a partir do final de um arquivo: + +`tail {{[-c|--bytes]}} {{contagem}} {{caminho/para/arquivo}}` + +- Exibe as últimas linhas de um arquivo e continua lendo até pressionar ``: + +`tail {{[-f|--follow]}} {{caminho/para/arquivo}}` + +- Continua lendo um arquivo até ``, mesmo que ele fique inacessível: + +`tail {{[-F|--retry --follow]}} {{caminho/para/arquivo}}` + +- Mostra as últimas 'num' linhas de um arquivo e atualiza a cada 'n' segundos: + +`tail {{[-n|--lines]}} {{contagem}} {{[-s|--sleep-interval]}} {{segundos}} {{[-f|--follow]}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/tar.md b/pages.pt_BR/common/tar.md index ff2407ea3c32e0..f56e980d6b4f8c 100644 --- a/pages.pt_BR/common/tar.md +++ b/pages.pt_BR/common/tar.md @@ -1,37 +1,37 @@ # tar > Ferramenta de compressão de arquivos. -> Utilizado com metodos de compressão como o de gzip ou bzip. -> Mais informações: +> Utilizado com metodos de compressão como o de gzip ou bzip2. +> Mais informações: . -- Compactando arquivos em um arquivo tar: +- [C]ria um arquivo compactado e o escreve para um arquivo: -`tar -cvf {{output.tar}} {{arquivo1}} {{arquivo2}} {{arquivo3}}` +`tar cf {{caminho/para/alvo.tar}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` -- Compactando arquivos em arquivo gzip: +- [C]ria um arquivo g[z]ip e o escreve para um arquivo: -`tar -czvf {{output.tar.gz}} {{arquivo1}} {{arquivo2}} {{arquivo3}}` +`tar czf {{alvo.tar.gz}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` -- Compactando arquivos definindo tipo de compressão automaticamente por extensão: +- [C]ria um arquivo g[z]ip a partir de um diretório usando caminhos relativos: -`tar -cavf {{output.tar.xz}} {{arquivo1}} {{arquivo2}} {{arquivo3}}` +`tar czf {{caminho/para/alvo.tar.gz}} {{[-C|--directory]}} {{caminho/para/diretório}} .` -- Extraindo arquivos de um arquivo compactado: +- E[x]trai arquivos de um arquivo (compactado): -`tar -xvf {{input.tar[.gz|.bz2|.xz]}}` +`tar xvf {{origem.tar[.gz|.bz2|.xz]}}` -- Extraindo arquivos de um arquivo compactado filtrando por gzip: +- E[x]trai um arquivo (compactado) para um diretório alvo: -`tar -xzvf {{input.tar[.gz|.bz2|.xz]}}` +`tar xf {{caminho/para/origem.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{caminho/para/diretório}}` -- Extraindo arquivos de um arquivo compactado para um diretório específico: +- [C]ria um arquivo compactado e o escreve para um arquivo, usando a extensão de arquivo para determinar automaticamente a compressão do programa: -`tar -xvf {{input.tar[.gz|.bz2|.xz]}} -C {{diretório}}` +`tar caf {{caminho/para/alvo.tar.xz}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` -- Extrair arquivos seguindo um padrão: +- Lista arquivos de um arquivo tar: -`tar -xvf {{input.tar}} --wildcards "{{*.html}}"` +`tar tvf {{input.tar}}` -- Listando arquivos de um arquivo tar: +- Extrai arquivos que correspondam a um padrão de um arquivo compactado: -`tar -tvf {{input.tar}}` +`tar xf {{caminho/para/alvo.tar}} --wildcards "{{*.html}}"` diff --git a/pages.pt_BR/common/tldr-lint.md b/pages.pt_BR/common/tldr-lint.md new file mode 100644 index 00000000000000..bd42331ff62a5a --- /dev/null +++ b/pages.pt_BR/common/tldr-lint.md @@ -0,0 +1,16 @@ +# tldr-lint + +> Faz lint e formata páginas `tldr`. +> Mais informações: . + +- Faz lint de todas páginas: + +`tldr-lint {{diretorio_paginas}}` + +- Formata uma página específica para `stdout`: + +`tldr-lint --format {{page.md}}` + +- Formata todas as páginas no mesmo lugar em que estão: + +`tldr-lint --format --in-place {{diretorio_pagina}}` diff --git a/pages.pt_BR/common/tldr.md b/pages.pt_BR/common/tldr.md new file mode 100644 index 00000000000000..c8094f0eefbda7 --- /dev/null +++ b/pages.pt_BR/common/tldr.md @@ -0,0 +1,20 @@ +# tldr + +> Exibe páginas de ajuda simples para ferramentas de linha de comando do projeto tldr-pages. +> Mais informações: . + +- Imprime a página do tldr para um comando específico (dica: é assim que você chegou aqui!): + +`tldr {{comando}}` + +- Imprime a página do tldr para um subcomando específico: + +`tldr {{comando}}-{{subcomando}}` + +- Imprime a página do tldr para um comando para uma [p]lataforma específica: + +`tldr {{[-p|--platform]}} {{android|linux|osx|sunos|windows}} {{comando}}` + +- Atualiza o cache local das páginas do tldr: + +`tldr {{[-u|--update]}}` diff --git a/pages.pt_BR/common/tldrl.md b/pages.pt_BR/common/tldrl.md new file mode 100644 index 00000000000000..a6c0d1dfac30dd --- /dev/null +++ b/pages.pt_BR/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Este comando é um apelido de `tldr-lint`. + +- Exibe documentação sobre o comando original: + +`tldr tldr-lint` diff --git a/pages.pt_BR/common/tlmgr-arch.md b/pages.pt_BR/common/tlmgr-arch.md new file mode 100644 index 00000000000000..aa1f554e2f69d5 --- /dev/null +++ b/pages.pt_BR/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Este comando é um apelido de `tlmgr platform`. + +- Exibe documentação sobre o comando original: + +`tldr tlmgr platform` diff --git a/pages.pt_BR/common/tlmgr-platform.md b/pages.pt_BR/common/tlmgr-platform.md new file mode 100644 index 00000000000000..030c56785f07fb --- /dev/null +++ b/pages.pt_BR/common/tlmgr-platform.md @@ -0,0 +1,24 @@ +# tlmgr platform + +> Gerencia plataformas de TeX Live. +> Mais informações: . + +- Lista todas as plataformas disponíveis no repositório de pacotes: + +`tlmgr platform list` + +- Adiciona os executáveis de uma plataforma específica: + +`sudo tlmgr platform add {{plataforma}}` + +- Remove os executáveis de uma plataforma específica: + +`sudo tlmgr platform remove {{plataforma}}` + +- Detecta automaticamente e troca para a plataforma atual: + +`sudo tlmgr platform set auto` + +- Troca para uma plataforma específica: + +`sudo tlmgr platform set {{plataforma}}` diff --git a/pages.pt_BR/common/todo.md b/pages.pt_BR/common/todo.md new file mode 100644 index 00000000000000..225d6462e2ddd4 --- /dev/null +++ b/pages.pt_BR/common/todo.md @@ -0,0 +1,32 @@ +# todo + +> Um gerenciador de tarefas simples, de interface de linha de comando e em conformidade com os padrões. +> Mais informações: . + +- Lista tarefas iniciáveis: + +`todo list --startable` + +- Adiciona uma nova tarefa à lista de trabalho: + +`todo new {{coisas_para_fazer}} --list {{trabalho}}` + +- Adiciona um local para uma tarefa com um ID provido: + +`todo edit --location {{nome_local}} {{id_tarefa}}` + +- Mostra detalhes sobre uma tarefa: + +`todo show {{id_tarefa}}` + +- Marca tarefas com os IDs especificados como concluídas: + +`todo done {{id_tarefa1 id_tarefa2 ...}}` + +- Exclui uma tarefa: + +`todo delete {{task_id}}` + +- Exclui tarefas concluídas e redefine os IDs das tarefas restantes: + +`todo flush` diff --git a/pages.pt_BR/common/touch.md b/pages.pt_BR/common/touch.md index 3baa9673bf926c..d5f3e64eb91347 100644 --- a/pages.pt_BR/common/touch.md +++ b/pages.pt_BR/common/touch.md @@ -1,20 +1,20 @@ # touch -> Atualizar as timestamps de um arquivo para a hora atual. -> Se o arquivo não existir, cria um arquivo vazio, a menos que seja passado o parâmetro -c ou -h. +> Cria arquivos e define tempo de acesso/modificação. +> Mais informações: . -- Criar um novo arquivo vazio, ou atualizar as timestamps para a hora atual: +- Cria arquivos especificados: -`touch {{arquivo}}` +`touch {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` -- Definir as timestamps de um arquivo para a hora especificada: +- Define o tempo de [a]cesso ou [m]odificação do arquivo como o atual e não [c]ria o arquivo se ele não existir: -`touch -t {{YYYYMMDDHHMM.SS}} {{arquivo}}` +`touch {{[-c|--no-create]}} -{{a|m}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` -- Usar as timestamps do arquivo1 para definir as timestamps do arquivo2: +- Define o [t]empo do arquivo para um valor especificado e não [c]ria o arquivo se ele não existir: -`touch -r {{arquivo1}} {{arquivo2}}` +`touch {{[-c|--no-create]}} -t {{YYYYMMDDHHMM.SS}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` -- Alterar as timestamps de um arquivo. Não cria novo arquivo se não existir: +- Define o tempo de um arquivo específico para o tempo de out[r]o arquivo e não [c]ria o arquivo se ele não existir: -`touch -c {{arquivo}}` +`touch {{[-c|--no-create]}} {{[-r|--reference]}} {{~/.emacs}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` diff --git a/pages.pt_BR/common/transmission-cli.md b/pages.pt_BR/common/transmission-cli.md new file mode 100644 index 00000000000000..ec18a1765352b9 --- /dev/null +++ b/pages.pt_BR/common/transmission-cli.md @@ -0,0 +1,37 @@ +# transmission-cli + +> Um cliente BitTorrent leve e de linha de comando. +> Esta ferramenta foi descontinuada. Por favor, veja `transmission-remote`. +> Mais informações: . + +- Baixa um torrent específico: + +`transmission-cli {{url|magnet|caminho/para/arquivo}}` + +- Baixa um torrent para um diretório específico: + +`transmission-cli {{[-w|--download-dir]}} {{caminho/para/diretório_download}} {{url|magnet|caminho/para/arquivo}}` + +- Cria um arquivo torrent de um arquivo ou diretório específico: + +`transmission-cli --new {{caminho/para/arquivo_ou_diretório_origem}}` + +- Especifica o limite de velocidade de download (em KB/s): + +`transmission-cli {{[-d|--downlimit]}} {{50}} {{url|magnet|caminho/para/arquivo}}` + +- Especifica o limite de velocidade de upload (em KB/s): + +`transmission-cli {{[-u|--uplimit]}} {{50}} {{url|magnet|caminho/para/arquivo}}` + +- Usa uma porta específica para conexões: + +`transmission-cli {{[-p|--port]}} {{número_porta}} {{url|magnet|caminho/para/arquivo}}` + +- Força criptografia para conexões com pares: + +`transmission-cli {{[-er|--encryption-required]}} {{url|magnet|caminho/para/arquivo}}` + +- Usa uma lista de bloqueio de pares formatados em Bluetack: + +`transmission-cli {{[-b|--blocklist]}} {{url_lista_bloqueio|caminho/para/lista_bloqueio}} {{url|magnet|caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/transmission-create.md b/pages.pt_BR/common/transmission-create.md new file mode 100644 index 00000000000000..0b0e0fb3d613e2 --- /dev/null +++ b/pages.pt_BR/common/transmission-create.md @@ -0,0 +1,25 @@ +# transmission-create + +> Cria arquivos BitTorrent `.torrent`. +> Veja também: `transmission`. +> Mais informações: . + +- Cria um torrent com 2048 KB como o tamanho da parte: + +`transmission-create {{[-o|--outfile]}} {{caminho/para/exemplo.torrent}} {{[-t|--tracker]}} {{url_anuncio_tracker}} {{[-s|--piecesize]}} {{2048}} {{caminho/para/arquivo_ou_diretório}}` + +- Cria um torrent privado com um tamanho de parte de 2048 KB: + +`transmission-create {{[-p|--private]}} {{[-o|--outfile]}} {{caminho/para/exemplo.torrent}} {{[-t|--tracker]}} {{url_anuncio_tracker}} {{[-s|--piecesize]}} {{2048}} {{caminho/para/arquivo_ou_diretório}}` + +- Cria um torrent com um comentário: + +`transmission-create {{[-o|--outfile]}} {{caminho/para/exemplo.torrent}} {{[-t|--tracker]}} {{url_rastreador1}} {{[-c|--comment]}} {{comentário}} {{caminho/para/arquivo_ou_diretório}}` + +- Cria um torrent com vários rastreadores: + +`transmission-create {{[-o|--outfile]}} {{caminho/para/exemplo.torrent}} {{[-t|--tracker]}} {{url_rastreador1}} {{[-t|--tracker]}} {{url_rastreador2}} {{caminho/para/arquivo_ou_diretório}}` + +- Exibe a página de ajuda: + +`transmission-create {{[-h|--help]}}` diff --git a/pages.pt_BR/common/transmission-daemon.md b/pages.pt_BR/common/transmission-daemon.md new file mode 100644 index 00000000000000..8c2608105ff53c --- /dev/null +++ b/pages.pt_BR/common/transmission-daemon.md @@ -0,0 +1,21 @@ +# transmission-daemon + +> Daemon controlado com `transmission-remote` ou sua interface web. +> Veja também: `transmission`. +> Mais informações: . + +- Inicia uma sessão headless `transmission`: + +`transmission-daemon` + +- Inicia e acompanha um diretório específico por novos torrents: + +`transmission-daemon {{[-c|--watch-dir]}} {{caminho/para/diretorio}}` + +- Despeja configurações do daemon em formato JSON: + +`transmission-daemon --dump-settings > {{caminho/para/arquivo.json}}` + +- Inicia com configurações específicas para a interface web: + +`transmission-daemon {{[-t|--auth]}} {{[-u|--username]}} {{usuario}} {{[-v|--password]}} {{senha}} {{[-p|--port]}} {{9091}} {{[-a|--allowed]}} {{127.0.0.1}}` diff --git a/pages.pt_BR/common/transmission-edit.md b/pages.pt_BR/common/transmission-edit.md new file mode 100644 index 00000000000000..b7c0fcae6b8a69 --- /dev/null +++ b/pages.pt_BR/common/transmission-edit.md @@ -0,0 +1,13 @@ +# transmission-edit + +> Modifica URLs de anúncio a partir de arquivos de torrent. +> Veja também: `transmission`. +> Mais informações: . + +- Adiciona ou remove uma URL a partir da lista de anúncio do torrent: + +`transmission-edit --{{add|delete}} {{http://example.com}} {{caminho/para/arquivo.torrent}}` + +- Atualiza um código do rastreador em um arquivo de torrent: + +`transmission-edit --replace {{antigo-código}} {{novo-código}} {{caminho/para/arquivo.torrent}}` diff --git a/pages.pt_BR/common/transmission-remote.md b/pages.pt_BR/common/transmission-remote.md new file mode 100644 index 00000000000000..fd2c961a196221 --- /dev/null +++ b/pages.pt_BR/common/transmission-remote.md @@ -0,0 +1,32 @@ +# transmission-remote + +> Utilitário de controle remoto para `transmission-daemon` e `transmission`. +> Mais informações: . + +- Adiciona um arquivo torrent ou link magnético para o Transmission e baixa para um diretório específico: + +`transmission-remote {{hostname}} {{[-a|--all]}} {{torrent|url}} {{[-w|--download-dir]}} {{/caminho/para/diretorio_download}}` + +- Altera o diretório de download padrão: + +`transmission-remote {{hostname}} {{[-w|--download-dir]}} {{/caminho/para/diretorio_download}}` + +- Lista todos os torrents: + +`transmission-remote {{hostname}} {{[-l|--list]}}` + +- Inicia os torrents 1 e 2, interrompe o torrent 3: + +`transmission-remote {{hostname}} {{[-t|--torrent]}} "1,2" {{[-s|--start]}} {{[-t|--torrent]}} 3 {{[-S|--stop]}}` + +- Remove os torrents 1 e 2 e também exclui dados locais do torrent 2: + +`transmission-remote {{hostname}} {{[-t|--torrent]}} 1 {{[-r|--remove]}} {{[-t|--torrent]}} 2 {{[-rad|--remove-and-delete]}}` + +- Interrompe todos os torrents: + +`transmission-remote {{hostname}} {{[-t|--torrent]}} {{all}} {{[-S|--stop]}}` + +- Move os torrents 1-10 e 15-20 para um novo diretório (que será criado se não existir): + +`transmission-remote {{hostname}} {{[-t|--torrent]}} "1-10,15-20" --move {{/caminho/para/nodo_diretorio}}` diff --git a/pages.pt_BR/common/transmission-show.md b/pages.pt_BR/common/transmission-show.md new file mode 100644 index 00000000000000..5c36e3f572a5ec --- /dev/null +++ b/pages.pt_BR/common/transmission-show.md @@ -0,0 +1,17 @@ +# transmission-show + +> Obtém informações sobre um arquivo torrent. +> Veja também: `transmission`. +> Mais informações: . + +- Exibe metadados para um torrent específico: + +`transmission-show {{caminho/para/arquivo.torrent}}` + +- Gera um link magnético para um torrent específico: + +`transmission-show {{[-m|--magnet]}} {{caminho/para/arquivo.torrent}}` + +- Consulta os rastreadores de um torrent e imprime o número atual de pares: + +`transmission-show {{[-s|--scrape]}} {{caminho/para/arquivo.torrent}}` diff --git a/pages.pt_BR/common/transmission.md b/pages.pt_BR/common/transmission.md new file mode 100644 index 00000000000000..4ece9b619bae66 --- /dev/null +++ b/pages.pt_BR/common/transmission.md @@ -0,0 +1,29 @@ +# transmission + +> Um cliente de torrent simples. +> O Transmission não é um comando, mas um conjunto de comandos. Veja as páginas abaixo. +> Mais informações: . + +- Mostra a página tldr para executar o daemon do Transmission: + +`tldr transmission-daemon` + +- Mostra a página tldr para interagir com o daemon: + +`tldr transmission-remote` + +- Mostra a página tldr para criar arquivos torrent: + +`tldr transmission-create` + +- Mostra a página tldr para modificar arquivos torrent: + +`tldr transmission-edit` + +- Mostra a página tldr para obter informações sobre arquivos torrent: + +`tldr transmission-show` + +- Mostra a página tldr para o método descontinuado de interagir com o daemon: + +`tldr transmission-cli` diff --git a/pages.pt_BR/common/tree.md b/pages.pt_BR/common/tree.md new file mode 100644 index 00000000000000..53a5aefe931ca6 --- /dev/null +++ b/pages.pt_BR/common/tree.md @@ -0,0 +1,36 @@ +# tree + +> Exibe o conteúdo do diretório atual em formato de árvore. +> Mais informações: . + +- Exibe os arquivos e diretórios de acordo com o nível de profundidade 'num' informado (onde 1 significa o diretório atual): + +`tree -L {{num}}` + +- Exibe apenas diretórios: + +`tree -d` + +- Inclui a exibição de arquivos ocultos com colorização diferenciada: + +`tree -a -C` + +- Exibe a árvore sem identação, mostrando o caminho completo (usar `-N` para não escapar espaços em branco e caracteres especiais): + +`tree -i -f` + +- Exibe o tamanho de cada arquivo e o tamanho acumulado de cada diretório, em um formato de leitura para humanos: + +`tree -s -h --du` + +- Exibe arquivos em uma árvore hierárquica, utilizando um padrão coringa, e eliminando diretórios que não contêm arquivos correspondentes ao informado: + +`tree -P '{{*.txt}}' --prune` + +- Exibe diretórios em uma árvore hierárquica, utilizando um padrão coringa, e eliminando diretórios que não possuem ancestrais do informado: + +`tree -P {{nome_diretorio}} --matchdirs --prune` + +- Exibe a árvore ignorando os diretórios informados: + +`tree -I '{{nome_diretorio1|nome_diretorio2}}'` diff --git a/pages.pt_BR/common/uname.md b/pages.pt_BR/common/uname.md index c3a68677e1f33b..a6b8efcabdac93 100644 --- a/pages.pt_BR/common/uname.md +++ b/pages.pt_BR/common/uname.md @@ -1,20 +1,25 @@ # uname -> Apresenta detalhes sobre o hardware e sistema operacional do computador. -> Nota: Para maiores detalhes sobre o sistema operacional, utilize o comando `lsb_release`. +> Exibe detalhes sobre a máquina atual e o sistema operacional em execução nela. +> Veja também `lsb_release`. +> Mais informações: . -- Exibir informações relacionadas ao hardware: arquitetura e tipo de processador: +- Exibe o nome do kernel: -`uname -mp` +`uname` -- Exibir informações relacionadas ao software: sistema operacional, número da release e versão: +- Exibe informações sobre a arquitetura e o processador: -`uname -srv` +`uname --machine --processor` -- Exibir o nome de rede do computador: +- Exibe nome do kernel, lançamento do kernel e versão do kernel: -`uname -n` +`uname --kernel-name --kernel-release --kernel-version` -- Exibir todas as informações disponíveis do sistema (hardware, software, nome de rede): +- Exibe o nome de rede do computador: -`uname -a` +`uname --nodename` + +- Exibe todas as informações disponíveis sobre o sistema: + +`uname --all` diff --git a/pages.pt_BR/common/units.md b/pages.pt_BR/common/units.md new file mode 100644 index 00000000000000..2565b8ad5b650f --- /dev/null +++ b/pages.pt_BR/common/units.md @@ -0,0 +1,32 @@ +# units + +> Realiza a conversão entre duas unidades de medida. +> Mais informações: . + +- Roda no modo interativo: + +`units` + +- Lista todas as unidades que contém um texto no modo interativo: + +`search {{texto}}` + +- Mostra a conversão entre duas unidades simples: + +`units {{quarts}} {{tablespoons}}` + +- Converte entre unidades com quantidades definidas: + +`units "{{15 pounds}}" {{kilograms}}` + +- Mostra a conversão entre duas unidades compostas: + +`units "{{meters / second}}" "{{inches / hour}}"` + +- Mostra a conversão entre unidades de diferentes dimensões: + +`units "{{acres}}" "{{ft^2}}"` + +- Mostra a conversão entre multiplicadores de bytes: + +`units "{{15 megabytes}}" {{bytes}}` diff --git a/pages.pt_BR/common/unlzma.md b/pages.pt_BR/common/unlzma.md new file mode 100644 index 00000000000000..d2f37dd66083b5 --- /dev/null +++ b/pages.pt_BR/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Este comando é um apelido de `xz`. + +- Exibe documentação sobre o comando original: + +`tldr xz` diff --git a/pages.pt_BR/common/unrar.md b/pages.pt_BR/common/unrar.md index 436ff086f036e8..acd19f534da9f3 100644 --- a/pages.pt_BR/common/unrar.md +++ b/pages.pt_BR/common/unrar.md @@ -1,19 +1,24 @@ # unrar > Descompactar arquivos comprimidos no formato RAR. +> Mais informações: . -- Descompactar o arquivo mantendo a estrutura de diretórios original: +- Descompacta o arquivo mantendo a estrutura de diretórios original: `unrar x {{arquivo.rar}}` -- Descompactar o arquivo sem manter a estrutura de diretórios original: +- Descompacta o arquivo para um caminho especificado mantendo a estrutura de diretórios original: + +`unrar x {{arquivo.rar}} {{caminho/para/extrair}}` + +- Descompacta o arquivo sem manter a estrutura de diretórios original: `unrar e {{arquivo.rar}}` -- Verificar a integridade do conteúdo de um arquivo: +- Verifica a integridade do conteúdo de um arquivo: `unrar t {{arquivo.rar}}` -- Exibir o conteúdo de um arquivo sem descompactá-lo: +- Exibe o conteúdo de um arquivo sem descompactá-lo: `unrar l {{arquivo.rar}}` diff --git a/pages.pt_BR/common/unxz.md b/pages.pt_BR/common/unxz.md new file mode 100644 index 00000000000000..261cee7c727a43 --- /dev/null +++ b/pages.pt_BR/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Este comando é um apelido de `xz`. + +- Exibe documentação sobre o comando original: + +`tldr xz` diff --git a/pages.pt_BR/common/unzip.md b/pages.pt_BR/common/unzip.md index 92d99979c28b1f..2bf0ee005a912f 100644 --- a/pages.pt_BR/common/unzip.md +++ b/pages.pt_BR/common/unzip.md @@ -1,27 +1,28 @@ # unzip > Ferramenta de descompactação de arquivos zip. +> Mais informações: . -- Extraindo arquivos zip: +- Extrai arquivos zip: -`unzip {{arquivo.zip}}` +`unzip {{caminho/para/arquivo1.zip caminho/para/arquivo2.zip ...}}` -- Extraindo arquivos zip para caminhos específicos: +- Extrai arquivos zip para caminhos específicos: -`unzip {{arquivo.zip}} -d {{caminho/para}}` +`unzip {{caminho/para/arquivo1.zip caminho/para/arquivo2.zip ...}} -d {{caminho/para/saída}}` -- Listando conteúdos de arquivos zip: +- Extrai arquivos/diretórios de arquivos para `stdout`: -`unzip -l {{arquivo.zip}}` +`unzip -c {{caminho/para/arquivo1.zip caminho/para/arquivo2.zip ...}}` -- Extraindo arquivos zip sobrescrevendo outros arquivos: +- Extrai o conteúdo do(s) arquivo(s) para `stdout` ao lado dos nomes dos arquivos extraídos: -`unzip -o {{arquivo.zip}}` +`unzip -O {{gbk}} {{caminho/para/arquivo1.zip caminho/para/arquivo2.zip ...}}` -- Extraindo arquivos zip não sobrescrevendo outros arquivos: +- Lista conteúdos de arquivos zip: -`unzip -n {{arquivo.zip}}` +`unzip -l {{caminho/para/arquivo.zip}}` -- Extraindo arquivos zip sem a estrutura dos diretórios: +- Extrai arquivos zip sem a estrutura dos diretórios: -`unzip -j {{arquivo.zip}}` +`unzip -j {{caminho/para/arquivo.zip}} {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` diff --git a/pages.pt_BR/common/vi.md b/pages.pt_BR/common/vi.md new file mode 100644 index 00000000000000..92c20539d07632 --- /dev/null +++ b/pages.pt_BR/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Este comando é um apelido de `vim`. + +- Exibe documentação sobre o comando original: + +`tldr vim` diff --git a/pages.pt_BR/common/vim.md b/pages.pt_BR/common/vim.md new file mode 100644 index 00000000000000..259a1c2cc518d9 --- /dev/null +++ b/pages.pt_BR/common/vim.md @@ -0,0 +1,37 @@ +# vim + +> Vim (Vi IMproved), é um editor de texto em linha de comando, que fornece muitos modos para diferentes tipos de manipulação de texto. +> Apertando `` no modo normal entra em modo insert (inserir). Apertando `` volta para o modo normal, que permite o uso dos comandos do Vim. +> Mais informações: . + +- Abre um arquivo: + +`vim {{caminho/para/arquivo}}` + +- Abre um arquivo em um número da linha específica: + +`vim +{{número_da_linha}} {{caminho/para/arquivo}}` + +- Abre o manual do Vim em visualização: + +`<:>help` + +- Salva e sai do arquivo atual: + +`{{|<:>x|<:>wq}}` + +- Entra em modo normal e desfaz a última operação: + +`` + +- Procura por um sequência padrão dentro de um arquivo (aperte ``/`` para ir para próxima/anterior sequência padrão): + +`{{sequência_padrão_procurada}}` + +- Executa uma substituição por expressão regular no arquivo todo: + +`<:>%s/{{expressão_regular}}/{{substituição}}/g` + +- Mostra os números das linhas: + +`<:>set nu` diff --git a/pages.pt_BR/common/virsh-connect.md b/pages.pt_BR/common/virsh-connect.md new file mode 100644 index 00000000000000..01a0ca6688e5aa --- /dev/null +++ b/pages.pt_BR/common/virsh-connect.md @@ -0,0 +1,21 @@ +# virsh-connect + +> Conectar-se a um hipervisor de máquina virtual. +> Veja também: `virsh`. +> Mais informações: . + +- Conecta ao hipervisor padrão: + +`virsh connect` + +- Conecta como root ao hipervisor local QEMU/KVM: + +`virsh connect qemu:///system` + +- Inicia uma nova instância do hipervisor e conectar-se a ela como usuário local: + +`virsh connect qemu:///session` + +- Conecta como root a um hipervisor remoto usando SSH: + +`virsh connect qemu+ssh://{{nome_do_usuário@nome_do_host}}/system` diff --git a/pages.pt_BR/common/virsh-domblklist.md b/pages.pt_BR/common/virsh-domblklist.md new file mode 100644 index 00000000000000..bb53a491c1fae3 --- /dev/null +++ b/pages.pt_BR/common/virsh-domblklist.md @@ -0,0 +1,13 @@ +# virsh-domblklist + +> Listar informações sobre dispositivos de bloco associados a uma máquina virtual. +> Veja também: `virsh`. +> Mais informações: . + +- Lista o nome do destino e o caminho da origem dos dispositivos de bloco: + +`virsh domblklist --domain {{nome_da_vm}}` + +- Lista o tipo de disco e o valor do dispositivo, bem como o nome do destino e o caminho da origem: + +`virsh domblklist --domain {{nome_da_vm}} --details` diff --git a/pages.pt_BR/common/virsh-help.md b/pages.pt_BR/common/virsh-help.md new file mode 100644 index 00000000000000..00ce8acd51298c --- /dev/null +++ b/pages.pt_BR/common/virsh-help.md @@ -0,0 +1,21 @@ +# virsh-help + +> Exibir informações sobre comandos ou grupos de comandos do `virsh`. +> Veja também: `virsh`. +> Mais informações: . + +- Lista os comandos do `virsh` agrupados em categorias relacionadas: + +`virsh help` + +- Lista as categorias de comandos: + +`virsh help | grep "palavra-chave"` + +- Lista os comandos de uma categoria: + +`virsh help {{palavra-chave_da_categoria}}` + +- Mostra ajuda para um comando: + +`virsh help {{comando}}` diff --git a/pages.pt_BR/common/virsh-list.md b/pages.pt_BR/common/virsh-list.md new file mode 100644 index 00000000000000..94de47c8cf9f90 --- /dev/null +++ b/pages.pt_BR/common/virsh-list.md @@ -0,0 +1,21 @@ +# virsh-list + +> Liste o ID, nome e estado das máquinas virtuais. +> Veja também: `virsh`. +> Mais informações: . + +- Lista informações sobre máquinas virtuais em execução: + +`virsh list` + +- Lista informações sobre máquinas virtuais independentemente do estado: + +`virsh list --all` + +- Lista informações sobre máquinas virtuais com autostart ativado ou desativado: + +`virsh list --all --{{autostart|no-autostart}}` + +- Lista informações sobre máquinas virtuais com ou sem snapshots: + +`virsh list --all --{{with-snapshot|without-snapshot}}` diff --git a/pages.pt_BR/common/virsh-pool-autostart.md b/pages.pt_BR/common/virsh-pool-autostart.md new file mode 100644 index 00000000000000..c101187bc52fd4 --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-autostart.md @@ -0,0 +1,13 @@ +# virsh pool-autostart + +> Habilita ou desabilita a inicialização automática para um pool de armazenamento de máquina virtual. +> Veja também: `virsh`. +> Mais informações: . + +- Habilita a inicialização automática para o pool de armazenamento especificado pelo nome ou UUID (determinado usando `virsh pool-list`): + +`virsh pool-autostart --pool {{nome|uuid}}` + +- Desabilita a inicialização automática para o pool de armazenamento especificado pelo nome ou UUID: + +`virsh pool-autostart --pool {{nome|uuid}} --disable` diff --git a/pages.pt_BR/common/virsh-pool-build.md b/pages.pt_BR/common/virsh-pool-build.md new file mode 100644 index 00000000000000..5776b041ee44df --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-build.md @@ -0,0 +1,9 @@ +# virsh pool-build + +> Constrói o sistema de armazenamento subjacente para um pool de armazenamento de máquina virtual, conforme definido em seu arquivo de configuração em `/etc/libvirt/storage`. +> Veja também: `virsh`, `virsh-pool-define-as`, `virsh-pool-start`. +> Mais informações: . + +- Constrói o pool de armazenamento especificado pelo nome ou UUID (determinado usando `virsh pool-list`): + +`virsh pool-build --pool {{nome|uuid}}` diff --git a/pages.pt_BR/common/virsh-pool-define-as.md b/pages.pt_BR/common/virsh-pool-define-as.md new file mode 100644 index 00000000000000..9de3f9e1468c80 --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-define-as.md @@ -0,0 +1,9 @@ +# virsh pool-define-as + +> Cria um arquivo de configuração em `/etc/libvirt/storage` para um pool de armazenamento persistente de máquina virtual a partir dos argumentos fornecidos. +> Veja também: `virsh`, `virsh-pool-build`, `virsh-pool-start`. +> Mais informações: . + +- Cria o arquivo de configuração para um pool de armazenamento chamado pool_name usando `/var/vms` como o sistema de armazenamento subjacente: + +`virsh pool-define-as --name {{nome_do_pool}} --type {{dir}} --target {{/var/vms}}` diff --git a/pages.pt_BR/common/virsh-pool-delete.md b/pages.pt_BR/common/virsh-pool-delete.md new file mode 100644 index 00000000000000..cf7c1ebb7b9894 --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-delete.md @@ -0,0 +1,9 @@ +# virsh pool-delete + +> Exclui o sistema de armazenamento subjacente de um pool de armazenamento de máquina virtual inativo. +> Veja também: `virsh`, `virsh-pool-destroy`, `virsh-pool-undefine`. +> Mais informações: . + +- Exclui o sistema de armazenamento subjacente para o pool de armazenamento especificado pelo nome ou UUID (determinado usando `virsh pool-list`): + +`virsh pool-delete --pool {{nome|uuid}}` diff --git a/pages.pt_BR/common/virsh-pool-destroy.md b/pages.pt_BR/common/virsh-pool-destroy.md new file mode 100644 index 00000000000000..adc96c8b52d63e --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-destroy.md @@ -0,0 +1,9 @@ +# virsh pool-destroy + +> Interrompe um pool de armazenamento ativo de máquina virtual. +> Veja também: `virsh`, `virsh-pool-delete`. +> Mais informações: . + +- Interrompe um pool de armazenamento especificado pelo nome ou UUID (determinado usando `virsh pool-list`): + +`virsh pool-destroy --pool {{nome|uuid}}` diff --git a/pages.pt_BR/common/virsh-pool-info.md b/pages.pt_BR/common/virsh-pool-info.md new file mode 100644 index 00000000000000..a15538de04f667 --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-info.md @@ -0,0 +1,9 @@ +# virsh pool-info + +> Lista informações sobre um pool de armazenamento de máquina virtual. +> Veja também: `virsh`. +> Mais informações: . + +- Lista o nome, UUID, estado, tipo de persistência, status de inicialização automática, capacidade, espaço alocado e espaço disponível para o pool de armazenamento especificado pelo nome ou UUID (determinado usando `virsh pool-list`): + +`virsh pool-info --pool {{nome|uuid}}` diff --git a/pages.pt_BR/common/virsh-pool-list.md b/pages.pt_BR/common/virsh-pool-list.md new file mode 100644 index 00000000000000..cd510e24470a93 --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-list.md @@ -0,0 +1,29 @@ +# virsh pool-list + +> Lista informações sobre pools de armazenamento de máquinas virtuais. +> Veja também: `virsh`, `virsh-pool-autostart`, `virsh-pool-define-as`. +> Mais informações: . + +- Lista o nome, estado e se a inicialização automática está habilitada ou desabilitada para pools de armazenamento ativos: + +`virsh pool-list` + +- Lista informações para pools de armazenamento ativos e inativos ou apenas inativos: + +`virsh pool-list --{{all|inactive}}` + +- Lista informações estendidas sobre persistência, capacidade, alocação e espaço disponível para pools de armazenamento ativos: + +`virsh pool-list --details` + +- Lista informações para pools de armazenamento ativos com inicialização automática habilitada ou desabilitada: + +`virsh pool-list --{{autostart|no-autostart}}` + +- Lista informações para pools de armazenamento ativos que são persistentes ou transitórios: + +`virsh pool-list --{{persistent|transient}}` + +- Lista o nome e UUID dos pools de armazenamento ativos: + +`virsh pool-list --name --uuid` diff --git a/pages.pt_BR/common/virsh-pool-start.md b/pages.pt_BR/common/virsh-pool-start.md new file mode 100644 index 00000000000000..fe53a0ed2421cf --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-start.md @@ -0,0 +1,9 @@ +# virsh pool-start + +> Inicia um pool de armazenamento de máquina virtual previamente configurado, mas inativo. +> Veja também: `virsh`, `virsh-pool-define-as`, `virsh-pool-destroy`. +> Mais informações: . + +- Inicia o pool de armazenamento especificado pelo nome ou UUID (determinado usando `virsh pool-list`) e cria o sistema de armazenamento subjacente se ele não existir: + +`virsh pool-start --pool {{nome|uuid}} --build` diff --git a/pages.pt_BR/common/virsh-pool-undefine.md b/pages.pt_BR/common/virsh-pool-undefine.md new file mode 100644 index 00000000000000..ffc10ff2571387 --- /dev/null +++ b/pages.pt_BR/common/virsh-pool-undefine.md @@ -0,0 +1,9 @@ +# virsh pool-undefine + +> Exclui o arquivo de configuração em `/etc/libvirt/storage` para um pool de armazenamento de máquina virtual parado. +> Veja também: `virsh`, `virsh-pool-destroy`. +> Mais informações: . + +- Exclui a configuração do pool de armazenamento pelo nome ou UUID especificado (determinado usando `virsh pool-list`): + +`virsh pool-undefine --pool {{nome|uuid}}` diff --git a/pages.pt_BR/common/virsh-undefine.md b/pages.pt_BR/common/virsh-undefine.md new file mode 100644 index 00000000000000..c0089c557d39e1 --- /dev/null +++ b/pages.pt_BR/common/virsh-undefine.md @@ -0,0 +1,16 @@ +# virsh undefine + +> Excluir uma máquina virtual. +> Mais informações: . + +- Exclui apenas o arquivo de configuração da máquina virtual: + +`virsh undefine --domain {{nome_da_vm}}` + +- Exclui o arquivo de configuração e todos os volumes de armazenamento associados: + +`virsh undefine --domain {{nome_da_vm}} --remove-all-storage` + +- Exclui o arquivo de configuração e os volumes de armazenamento especificados usando o nome de destino ou o nome de origem (obtido a partir do comando `virsh domblklist`): + +`virsh undefine --domain {{nome_da_vm}} --storage {{sda,caminho/para/origem}}` diff --git a/pages.pt_BR/common/virsh.md b/pages.pt_BR/common/virsh.md new file mode 100644 index 00000000000000..3d6de4f86497db --- /dev/null +++ b/pages.pt_BR/common/virsh.md @@ -0,0 +1,37 @@ +# virsh + +> Gerenciar domínios de convidados do virsh. (NOTA: 'guest_id' pode ser o ID, nome ou UUID do convidado). +> Alguns subcomandos, como `list`, têm sua própria documentação de uso. +> Mais informações: . + +- Conecta a uma sessão do hipervisor: + +`virsh connect {{qemu:///system}}` + +- Lista todos os domínios: + +`virsh list --all` + +- Despeja arquivo de configuração do convidado: + +`virsh dumpxml {{guest_id}} > {{caminho/para/convidado.xml}}` + +- Cria um convidado a partir de um arquivo de configuração: + +`virsh create {{caminho/para/arquivo_de_configuracao.xml}}` + +- Edita o arquivo de configuração de um convidado (o editor pode ser alterado com $EDITOR): + +`virsh edit {{guest_id}}` + +- Inicia/reinicia/desliga/suspende/resume um convidado: + +`virsh {{comando}} {{guest_id}}` + +- Salva o estado atual de um convidado em um arquivo: + +`virsh save {{guest_id}} {{nome_do_arquivo}}` + +- Exclui um convidado em execução: + +`virsh destroy {{guest_id}} && virsh undefine {{guest_id}}` diff --git a/pages.pt_BR/common/vlc.md b/pages.pt_BR/common/vlc.md new file mode 100644 index 00000000000000..3607c4a4860baf --- /dev/null +++ b/pages.pt_BR/common/vlc.md @@ -0,0 +1,24 @@ +# vlc + +> Reprodutor multimídia multi-plataforma. +> Mais informações: . + +- Reproduz um arquivo: + +`vlc {{caminho/para/arquivo}}` + +- Reproduz em tela cheia: + +`vlc --fullscreen {{caminho/para/arquivo}}` + +- Reproduz mudo: + +`vlc --no-audio {{caminho/para/arquivo}}` + +- Reproduz repetidamente: + +`vlc --loop {{caminho/para/arquivo}}` + +- Reproduz vídeo de um URL: + +`vlc {{https://www.youtube.com/watch?v=fxNlpQYRz7s}}` diff --git a/pages.pt_BR/common/watch.md b/pages.pt_BR/common/watch.md new file mode 100644 index 00000000000000..06fda9f028cf1a --- /dev/null +++ b/pages.pt_BR/common/watch.md @@ -0,0 +1,28 @@ +# watch + +> Execute um programa periodicamente e monitore a saída no modo de tela cheia. +> Mais informações: . + +- Executar repetidamente um comando e mostrar o resultado: + +`watch {{comando}}` + +- Executar novamente um comando a cada 60 segundos: + +`watch {{[-n|--interval]}} 60 {{comando}}` + +- Monitore o espaço em disco, destacando as diferenças à medida que elas aparecem: + +`watch {{[-d|--differences]}} {{df}}` + +- Executar repetidamente um pipeline e mostrar o resultado: + +`watch "{{comando_1}} | {{comando_2}} | {{comando_3}}"` + +- Saia do `watch` se a saída visível for alterada: + +`watch {{[-g|--chgexit]}} {{lsblk}}` + +- Interpretar caracteres de controle do terminal: + +`watch {{[-c|--color]}} {{ls --color=always}}` diff --git a/pages.pt_BR/common/wget.md b/pages.pt_BR/common/wget.md new file mode 100644 index 00000000000000..d08cd9da7afee0 --- /dev/null +++ b/pages.pt_BR/common/wget.md @@ -0,0 +1,37 @@ +# wget + +> Baixar arquivos da Internet. +> Suporta HTTP, HTTPS, e FTP. +> Mais informações: . + +- Baixa o conteúdo de uma URL para o arquivo (nomeado como "foo" neste caso): + +`wget {{https://example.com/foo}}` + +- Baixa o conteúdo de uma URL para o arquivo (nomeado como "bar" neste caso): + +`wget {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}` + +- Baixa uma única página web e todo os seus recursos com intervalos de 3 segundos entre requisições (scripts, stylesheets, imagens, etc.): + +`wget {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{[-w|--wait]}} 3 {{https://example.com/algumapagina.html}}` + +- Baixa todos os arquivos listados dentro de um diretório e seus sub-diretórios (não baixa elementos de página incorporados): + +`wget {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/algumcaminho/}}` + +- Limita a velocidade de download e o número de novas tentativas de conexão: + +`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/algumcaminho/}}` + +- Baixa um arquivo de um servidor HTTP usando Autenticação Básica (também funciona para FTP): + +`wget --user {{nomeusuario}} --password {{senha}} {{https://example.com}}` + +- Continua um download incompleto: + +`wget {{[-c|--continue]}} {{https://example.com}}` + +- Baixa todas as URLs armazenadas em um arquivo de texto para um diretório específico: + +`wget {{[-P|--directory-prefix]}} {{caminho/para/diretorio}} {{[-i|--input-file]}} {{URLs.txt}}` diff --git a/pages.pt_BR/common/where.md b/pages.pt_BR/common/where.md new file mode 100644 index 00000000000000..7376b20ca59e56 --- /dev/null +++ b/pages.pt_BR/common/where.md @@ -0,0 +1,9 @@ +# where + +> Reporta todas as instâncias conhecidas do comando. +> Pode ser um executável na variável PATH, um alias, ou um comando builtin do shell. +> Mais informações: . + +- Encontra todas as instâncias de um comando: + +`where {{comando}}` diff --git a/pages.pt_BR/common/which.md b/pages.pt_BR/common/which.md new file mode 100644 index 00000000000000..ceaff02070fc48 --- /dev/null +++ b/pages.pt_BR/common/which.md @@ -0,0 +1,12 @@ +# which + +> Localiza um programa no path do usuário. +> Mais informações: . + +- Procura na variável PATH e exibe a localização do executável se encontrado: + +`which {{executável}}` + +- Se existe múltiplos executáveis que concidem com a pesquisa, exibe todos: + +`which {{[-a|--all]}} {{executavél}}` diff --git a/pages.pt_BR/common/while.md b/pages.pt_BR/common/while.md new file mode 100644 index 00000000000000..51fed91d0defb1 --- /dev/null +++ b/pages.pt_BR/common/while.md @@ -0,0 +1,12 @@ +# while + +> Loop simples da shell. +> Mais informações: . + +- Lê a entrada default (`stdin`) e realiza uma ação a cada linha: + +`while read line; do echo "$line"; done` + +- Executa um comando para sempre a cada segundo: + +`while :; do {{comando}}; sleep 1; done` diff --git a/pages.pt_BR/common/whoami.md b/pages.pt_BR/common/whoami.md new file mode 100644 index 00000000000000..2f78fe50d0fe6b --- /dev/null +++ b/pages.pt_BR/common/whoami.md @@ -0,0 +1,12 @@ +# whoami + +> Imprime o nome do usuário associado com o ID do usuário efetivamente atual. +> Mais informações: . + +- Exibe o nome do usuário logado: + +`whoami` + +- Exibe o nome do usuário depois de uma mudança do ID do usuário: + +`sudo whoami` diff --git a/pages.pt_BR/common/wikit.md b/pages.pt_BR/common/wikit.md new file mode 100644 index 00000000000000..248bf79e7ddf22 --- /dev/null +++ b/pages.pt_BR/common/wikit.md @@ -0,0 +1,20 @@ +# wikit + +> Um programa de linha de comando para obter resumos da Wikipédia facilmente. +> Mais informações: . + +- Mostra um pequeno resumo de um tópico específico da Wikipédia: + +`wikit {{tópico}}` + +- Especifica uma linguagem (código de linguagem ISO 639-1): + +`wikit {{tópico}} --lang {{código_de_linguagem}}` + +- Abre o artigo completo no navegador padrão: + +`wikit {{tópico}} -b` + +- Abre um menu de desambiguação: + +`wikit {{tópico}} -d` diff --git a/pages.pt_BR/common/wordgrinder.md b/pages.pt_BR/common/wordgrinder.md index de0a5c0ab83681..c1c6cdd7cee88f 100644 --- a/pages.pt_BR/common/wordgrinder.md +++ b/pages.pt_BR/common/wordgrinder.md @@ -3,14 +3,14 @@ > Processador de texto em linha de comando. > Mais informações: . -- Iniciar o wordgrinder (carrega um documento vazio por padrão): +- Inicia o wordgrinder (carrega um documento vazio por padrão): `wordgrinder` -- Abrir um arquivo específico: +- Abre um arquivo específico: `wordgrinder {{nome_do_arquivo}}` -- Mostrar o menu: +- Mostra o menu: -`Alt + M` +`` diff --git a/pages.pt_BR/common/wpa_supplicant.md b/pages.pt_BR/common/wpa_supplicant.md index b91b298037286c..84fdaad87a13e3 100644 --- a/pages.pt_BR/common/wpa_supplicant.md +++ b/pages.pt_BR/common/wpa_supplicant.md @@ -1,11 +1,12 @@ # wpa_supplicant > Gerenciador de redes wireless protegidas. +> Mais informações: . -- Entrar em uma rede wireless protegida: +- Entra em uma rede wireless protegida: `wpa_supplicant -i {{interface}} -c {{caminho/para/wpa_supplicant_conf.conf}}` -- Entrar em uma rede wireless protegida e executar o wpa_cli em um daemon: +- Entra em uma rede wireless protegida e executa o wpa_cli em um daemon: `wpa_supplicant -B -i {{interface}} -c {{caminho/para/wpa_supplicant_conf.conf}}` diff --git a/pages.pt_BR/common/x11docker.md b/pages.pt_BR/common/x11docker.md new file mode 100644 index 00000000000000..dfd64a16552f1c --- /dev/null +++ b/pages.pt_BR/common/x11docker.md @@ -0,0 +1,25 @@ +# x11docker + +> Executar aplicativos de GUI e interfaces de desktop seguramente em contêineres do Docker. +> Veja também `xephyr`. +> Mais informações: . + +- Inicia o VLC em um contêiner: + +`x11docker --pulseaudio --share={{$HOME/Videos}} {{jess/vlc}}` + +- Inicia o Xfce em uma janela: + +`x11docker --desktop {{x11docker/xfce}}` + +- Inicia o GNOME em uma janela: + +`x11docker --desktop --gpu --init={{systemd}} {{x11docker/gnome}}` + +- Inicia o KDE Plasma em uma janela: + +`x11docker --desktop --gpu --init={{systemd}} {{x11docker/kde-plasma}}` + +- Exibe ajuda: + +`x11docker --help` diff --git a/pages.pt_BR/common/xcv.md b/pages.pt_BR/common/xcv.md index 757a12ce09f8d2..027274dcddd28d 100644 --- a/pages.pt_BR/common/xcv.md +++ b/pages.pt_BR/common/xcv.md @@ -3,18 +3,18 @@ > Corta, copia e cola na linha de comando. > Mais informações: . -- Cortar um arquivo: +- Corta um arquivo: `xcv x {{arquivo_a_ser_cortado}}` -- Copiar um arquivo: +- Copia um arquivo: `xcv c {{arquivo_a_ser_copiado}}` -- Colar um arquivo: +- Cola um arquivo: `xcv v {{arquivo_a_ser_colado}}` -- Listar todos os arquivos disponíveis para serem colados: +- Lista todos os arquivos disponíveis para serem colados: `xcv l` diff --git a/pages.pt_BR/common/xkill.md b/pages.pt_BR/common/xkill.md index b9139084ef8a9d..c9a4d04c75955e 100644 --- a/pages.pt_BR/common/xkill.md +++ b/pages.pt_BR/common/xkill.md @@ -1,8 +1,17 @@ # xkill -> Termina o cliente associado a um elemento gráfico. -> Utilizado para forçar a terminação de processos que não respondem ou não apresentam botão "fechar". +> Termina uma janela interativamente em uma sessão gráfica. +> Veja também: `kill`, `killall`. +> Mais informações: . -- Ativar um cursor para fechar uma janela com o clique do botão esquerdo do mouse (pressionar qualquer outro botão para cancelar): +- Ativa um cursor para fechar uma janela com o clique do botão esquerdo do mouse (pressionar qualquer outro botão para cancelar): `xkill` + +- Mostra um cursor para selecionar uma janela pressionando qualquer botão do mouse: + +`xkill -button any` + +- Fecha uma janela com um ID específico (use `xwininfo` para obter informações sobre janelas): + +`xkill -id {{id}}` diff --git a/pages.pt_BR/common/xwininfo.md b/pages.pt_BR/common/xwininfo.md new file mode 100644 index 00000000000000..a730e775f6d314 --- /dev/null +++ b/pages.pt_BR/common/xwininfo.md @@ -0,0 +1,25 @@ +# xwininfo + +> Mostra informações sobre janelas. +> Veja também: `xprop`, `xkill`. +> Mais informações: . + +- Mostra um cursor para selecionar uma janela para mostrar seus atributos (ID, nome, tamanho, posição...): + +`xwininfo` + +- Mostra a árvore de todas as janelas: + +`xwininfo -tree -root` + +- Mostra os atributos de uma janela com um ID específico: + +`xwininfo -id {{id}}` + +- Mostra os atributos de uma janela com um nome específico: + +`xwininfo -name {{nome}}` + +- Mostra o ID de uma janela buscando pelo nome: + +`xwininfo -tree -root | grep {{palavra_chave}} | head -1 | perl -ne 'print $1 if /(0x[\da-f]+)/ig;'` diff --git a/pages.pt_BR/common/xz.md b/pages.pt_BR/common/xz.md index 26d020c7368956..2620b429838cd8 100644 --- a/pages.pt_BR/common/xz.md +++ b/pages.pt_BR/common/xz.md @@ -1,36 +1,36 @@ # xz -> Compactar ou descompactar arquivos com a extensão .xz ou .lzma. -> Mais informações: . +> Compactar ou descompactar arquivos XZ ou LZMA. +> Mais informações: . -- Compactar um arquivo no formato xz: +- Compacta um arquivo no formato xz: -`xz {{arquivo}}` +`xz {{caminho/para/arquivo}}` -- Descompactar um arquivo no formato xz: +- Descompacta um arquivo no formato xz: -`xz -d {{arquivo.xz}}` +`xz {{[-d|--decompress]}} {{caminho/para/arquivo.xz}}` -- Compactar um arquivo no formato lzma: +- Compacta um arquivo no formato LZMA: -`xz --format=lzma {{arquivo}}` +`xz {{[-F|--format]}} lzma {{caminho/para/arquivo}}` -- Descompactar um arquivo no formato lzma: +- Descompacta um arquivo no formato LZMA: -`xz -d --format=lzma {{arquivo.lzma}}` +`xz {{[-d|--decompress]}} {{[-F|--format]}} lzma {{caminho/para/arquivo.lzma}}` -- Descompactar um arquivo e escrever a saída no terminal: +- Descompacta um arquivo e escrever a saída no terminal (implica `--keep`): -`xz -dc {{arquivo.xz}}` +`xz {{[-d|--decompress]}} {{[-c|--stdout]}} {{caminho/para/arquivo.xz}}` -- Compactar um arquivo sem apagar o arquivo original: +- Compacta um arquivo sem apagar o arquivo original: -`xz -k {{arquivo}}` +`xz {{[-k|--keep]}} {{caminho/para/arquivo}}` -- Compactar um arquivo utilizando a compactação mais rápida: +- Compacta um arquivo utilizando a compactação mais rápida: -`xz -0 {{arquivo}}` +`xz -0 {{caminho/para/arquivo}}` -- Compactar um arquivo utilizando a compactação mais eficiente: +- Compacta um arquivo utilizando a compactação mais eficiente: -`xz -9 {{arquivo}}` +`xz -9 {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/common/xzcat.md b/pages.pt_BR/common/xzcat.md new file mode 100644 index 00000000000000..3288eed3d55d1b --- /dev/null +++ b/pages.pt_BR/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Este comando é um apelido de `xz`. + +- Exibe documentação sobre o comando original: + +`tldr xz` diff --git a/pages.pt_BR/common/yarn-why.md b/pages.pt_BR/common/yarn-why.md index ecf8735124fcb2..f5eede23561193 100644 --- a/pages.pt_BR/common/yarn-why.md +++ b/pages.pt_BR/common/yarn-why.md @@ -1,8 +1,8 @@ # yarn-why > Identifica por que um pacote Yarn foi instalado. -> Mais informações: . +> Mais informações: . -- Exibir na tela o motivo de um pacote Yarn estar instalado: +- Exibe na tela o motivo de um pacote Yarn estar instalado: `yarn-why {{nome_do_pacote}}` diff --git a/pages.pt_BR/common/yes.md b/pages.pt_BR/common/yes.md index 5e792c5c7ce044..b1bc2ee9306456 100644 --- a/pages.pt_BR/common/yes.md +++ b/pages.pt_BR/common/yes.md @@ -1,11 +1,16 @@ # yes -> Exibe algo na tela repetidamente. +> Exibe algo repetidamente. +> Mais informações: . -- Exibir na tela a palavra "mensagem" repetidamente: +- Exibir a palavra "mensagem" repetidamente: `yes {{mensagem}}` -- Exibir na tela a letra "y" repetidamente:: +- Exibir a letra "y" repetidamente: `yes` + +- Aceitar tudo solicitado pelo comando `apt-get`: + +`yes | sudo apt-get install {{programa}}` diff --git a/pages.pt_BR/common/zip.md b/pages.pt_BR/common/zip.md index 9769aecdcaa266..7bf1ba3c749f34 100644 --- a/pages.pt_BR/common/zip.md +++ b/pages.pt_BR/common/zip.md @@ -1,31 +1,32 @@ # zip > Ferramenta de compressão de arquivos em arquivos zip. +> Mais informações: . -- Compactando arquivos em um arquivo zip: +- Adiciona arquivos/diretórios a um arquivo zip específico ([r]ecusivamente): -`zip {{output.zip}} {{arquivo1}} {{arquivo2}} {{arquivo3}}` +`zip {{[-r|--recurse-paths]}} {{caminho/para/comprimido.zip}} {{caminho/para/arquivo_ou_diretorio1 caminho/para/arquivo_ou_diretorio2 ...}}` -- Compactando todos os arquivos de um diretório: +- Remove arquivos de um arquivo zip ([d]eleta): -`zip {{output.zip}} {{caminho/do/diretorio/*}}` +`zip {{[-d|--delete]}} {{caminho/para/comprimido.zip}} {{caminho/para/arquivo_ou_diretorio1 caminho/para/arquivo_ou_diretorio2 ...}}` -- Adicionando arquivos a um arquivo zip existente: +- Compacta arquivos/diretórios e[x]cluindo arquivos específicos: -`zip {{arquivo_existente.zip}} {{caminho/do/diretorio}}` +`zip {{[-r|--recurse-paths]}} {{caminho/para/comprimido.zip}} {{caminho/para/arquivo_ou_diretorio1 caminho/para/arquivo_ou_diretorio2 ...}} {{[-x|--exclude]}} {{caminho/a/ser/excluido}}` -- Compactando todos os arquivos de um diretório mantendo estruturas de diretórios: +- Compacta arquivos com um nível de compressão específico (0 - o mais baixo, 9 - o mais alto): -`zip -r {{output.zip}} {{caminho/do/diretorio}}` +`zip {{[-r|--recurse-paths]}} -{{0-9}} {{caminho/para/comprimido.zip}} {{caminho/para/arquivo_ou_diretorio1 caminho/para/arquivo_ou_diretorio2 ...}}` -- Compactando arquivos de um diretório excluindo arquivos específicos: +- Cria um zip encriptado com uma senha específica: -`zip -r {{output.zip}} {{caminho/do/diretorio}} -x {{caminho/a/ser/excluido}}` +`zip {{[-re|--recurse-paths --encrypt]}} {{caminho/para/comprimido.zip}} {{caminho/para/arquivo_ou_diretorio1 caminho/para/arquivo_ou_diretorio2 ...}}` -- Compactando arquivos definindo o nível de compressão [9]: +- Compacta arquivos/diretórios para um zip dividido em múltiplas partes (p. ex. partes de 3 GB): -`zip -r -{{9}} {{output.zip}} {{caminho/do/diretorio}}` +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{caminho/para/comprimido.zip}} {{caminho/para/arquivo_ou_diretorio1 caminho/para/arquivo_ou_diretorio2 ...}}` -- Deletando arquivos de um arquivo zip: +- Print a specific archive contents: -`zip -d {{output.zip}} "{{foo/*.ext}}"` +`zip {{[-sf|--split-size --freshen]}} {{caminho/para/comprimido.zip}}` diff --git a/pages.pt_BR/common/zsh.md b/pages.pt_BR/common/zsh.md new file mode 100644 index 00000000000000..d36138defeaf5f --- /dev/null +++ b/pages.pt_BR/common/zsh.md @@ -0,0 +1,37 @@ +# zsh + +> Z SHell, um interpretador de linha de comando compatível com o Bash. +> Veja também `bash`, `histexpand`. +> Mais informações: . + +- Inicie uma sessão shell interativa: + +`zsh` + +- Execute [c]omandos específicos: + +`zsh -c "{{echo Olá Mundo}}"` + +- Execute um script específico: + +`zsh {{caminho/para/script.zsh}}` + +- Verifica um script específico por erros de sintaxe sem executá-lo: + +`zsh --no-exec {{caminho/para/script.zsh}}` + +- Executa comandos específicos da `stdin`: + +`{{echo Olá Mundo}} | zsh` + +- Execute um script específico, imprimindo cada comando do script antes de executá-lo: + +`zsh --xtrace {{caminho/para/script.zsh}}` + +- Inicie uma sessão shell interativa no modo verboso, imprimindo cada comando antes de executá-lo: + +`zsh --verbose` + +- Executa um comando específico dentro do Zsh com padrões glob desativados: + +`noglob {{comando}}` diff --git a/pages.pt_BR/freebsd/base64.md b/pages.pt_BR/freebsd/base64.md new file mode 100644 index 00000000000000..1961c9feb97fa3 --- /dev/null +++ b/pages.pt_BR/freebsd/base64.md @@ -0,0 +1,28 @@ +# base64 + +> Codifica ou decodifica arquivo ou `stdin` de/para base64, para `stdout` ou outro arquivo. +> Mais informações: . + +- Codifica um arquivo para `stdout`: + +`base64 {{[-i|--input]}} {{caminho/para/arquivo}}` + +- Codifica um arquivo para o arquivo de saída especificado: + +`base64 {{[-i|--input]}} {{caminho/para/arquivo_de_entrada}} {{[-o|--output]}} {{caminho/para/arquivo_de_saída}}` + +- Quebra (insere uma quebra de linha) a saída codificada em uma largura específica (‘0’ desabilita encapsulamento): + +`base64 {{[-b|--break]}} {{0|76|...}} {{caminho/para/arquivo}}` + +- Decodifica um arquivo para `stdout`: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{caminho/para/arquivo}}` + +- Codifica de `stdin` para `stdout`: + +`{{comando}} | base64` + +- Decodifica de `stdin` para `stdout`: + +`{{comando}} | base64 {{[-d|--decode]}}` diff --git a/pages.pt_BR/freebsd/cal.md b/pages.pt_BR/freebsd/cal.md new file mode 100644 index 00000000000000..67675c75183dd9 --- /dev/null +++ b/pages.pt_BR/freebsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> Mostra um calendário com o dia atual destacado. +> Mais informações: . + +- Exibe um calendário para o mês atual: + +`cal` + +- Exibe um calendário para um ano específico: + +`cal {{ano}}` + +- Exibe um calendário para um ano e mês específicos: + +`cal {{mês}} {{ano}}` + +- Exibe o calendário inteiro para o ano atual: + +`cal -y` + +- Não destaca hoje e exibe [3] meses abrangendo a data: + +`cal -h -3 {{mês}} {{ano}}` + +- Exibe os 2 meses [A]ntes e 3 [D]epois de um [m]ês específico do ano atual: + +`cal -A 3 -B 2 {{mês}}` + +- Exibe dias [j]ulianos (começando de um, numerados de 1º de janeiro): + +`cal -j` diff --git a/pages.pt_BR/freebsd/chfn.md b/pages.pt_BR/freebsd/chfn.md new file mode 100644 index 00000000000000..52bc4b8a816e68 --- /dev/null +++ b/pages.pt_BR/freebsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> Esse comando é um apelido de `chpass`. + +- Exibe documentação sobre o comando original: + +`tldr chpass` diff --git a/pages.pt_BR/freebsd/chpass.md b/pages.pt_BR/freebsd/chpass.md new file mode 100644 index 00000000000000..54da9eea99211d --- /dev/null +++ b/pages.pt_BR/freebsd/chpass.md @@ -0,0 +1,33 @@ +# chpass + +> Adiciona ou altera informação de usuário do banco de dados, incluindo login shell e senha. +> Veja também: `passwd`. +> Mais informações: . + +- Adiciona ou altera informação de usuário do banco de dados para o usuário atual interativamente: + +`su -c chpass` + +- Define uma [s]hell de login para o usuário atual: + +`chpass -s {{caminho/para/shell}}` + +- Define uma [s]hell de login para um usuário específico: + +`chpass -s {{caminho/para/shell}} {{nome_do_usuário}}` + +- Altera o tempo de [e]xpiração da conta (Unix epoch): + +`su -c 'chpass -e {{tempo}} {{nome_do_usuário}}'` + +- Altera a senha de um usuário: + +`su -c 'chpass -p {{senha_criptografada}} {{nome_do_usuário}}'` + +- Especifica [h]ostname ou endereço de um servidor NIS para consulta: + +`su -c 'chpass -h {{hostname}} {{nome_do_usuário}}'` + +- Especifica um [d]omínio NIS específico (nome do domínio do sistema por padrão): + +`su -c 'chpass -d {{domínio}} {{nome_do_usuário}}'` diff --git a/pages.pt_BR/freebsd/chsh.md b/pages.pt_BR/freebsd/chsh.md new file mode 100644 index 00000000000000..7275c25b175137 --- /dev/null +++ b/pages.pt_BR/freebsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> Esse comando é um apelido de `chpass`. + +- Exibe documentação sobre o comando original: + +`tldr chpass` diff --git a/pages.pt_BR/freebsd/df.md b/pages.pt_BR/freebsd/df.md new file mode 100644 index 00000000000000..fcfe765d645ed1 --- /dev/null +++ b/pages.pt_BR/freebsd/df.md @@ -0,0 +1,32 @@ +# df + +> Exibe uma visão geral do uso de espaço de disco do sistema de arquivos. +> Mais informações: . + +- Exibe todos os sistemas de arquivos e seu uso de disco usando unidades 512-bytes: + +`df` + +- Usa unidades legíveis para [h]umanos (baseadas em potências de 1024) e exibe um total: + +`df -h -c` + +- Usa unidades legíveis para [h]umanos (baseadas em potências de 1000): + +`df -{{-si|H}}` + +- Exibe o sistema de arquivos e seu uso do disco contendo o arquivo ou diretório dado: + +`df {{caminho/para/arquivo_ou_diretório}}` + +- Inclui estatísticas do número de nós livres e usados incluindo [T]ipos do sistema de arquivos: + +`df -iT` + +- Usa unidades 1024-bytes ao escrever figuras de espaço: + +`df -k` + +- Exibe informação em uma maneira [p]ortátil: + +`df -P` diff --git a/pages.pt_BR/freebsd/look.md b/pages.pt_BR/freebsd/look.md new file mode 100644 index 00000000000000..330cade78630e5 --- /dev/null +++ b/pages.pt_BR/freebsd/look.md @@ -0,0 +1,21 @@ +# look + +> Exibe linhas começando com um prefixo em um arquivo ordenado. +> Veja também: `grep`, `sort`. +> Mais informações: . + +- Busca por linhas começando com um prefixo específico em um arquivo específico: + +`look {{prefixo}} {{caminho/para/arquivo}}` + +- Busca sem distinção entre maiúsculas e minúsculas apenas em caracteres alfanuméricos: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefixo}} {{caminho/para/arquivo}}` + +- Especifica um caractere de término de string (espaço por padrão): + +`look {{[-t|--terminate]}} {{,}}` + +- Busca em `/usr/share/dict/words` (`--ignore-case` e `--alphanum` são assumidos): + +`look {{prefixo}}` diff --git a/pages.pt_BR/freebsd/pkg.md b/pages.pt_BR/freebsd/pkg.md new file mode 100644 index 00000000000000..5b151e8d18208f --- /dev/null +++ b/pages.pt_BR/freebsd/pkg.md @@ -0,0 +1,28 @@ +# pkg + +> Gerenciador de pacotes do FreeBSD. +> Mais informações: . + +- Instala um novo pacote: + +`pkg install {{pacote}}` + +- Remove um pacote: + +`pkg delete {{pacote}}` + +- Atualiza todos os pacotes: + +`pkg upgrade` + +- Procura um pacote: + +`pkg search {{palavra_chave}}` + +- Lista os pacotes instalados: + +`pkg info` + +- Remove dependências desnecessárias: + +`pkg autoremove` diff --git a/pages.pt_BR/freebsd/sed.md b/pages.pt_BR/freebsd/sed.md new file mode 100644 index 00000000000000..1ee5f5fb5a4656 --- /dev/null +++ b/pages.pt_BR/freebsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> Edita texto de uma maneira programável. +> Veja também: `awk`, `ed`. +> Mais informações: . + +- Substitui todas as ocorrências de `maçã` (regex básico) por `manga` (regex básico) em todas as linhas de entrada e imprime o resultado para `stdout`: + +`{{comando}} | sed 's/maçã/manga/g'` + +- Executa um script específico e imprime o resultado para `stdout`: + +`{{comando}} | sed -f {{caminho/para/script.sed}}` + +- Atrasa a abertura de cada arquivo até que um comando contendo a função ou flag `w` relacionada seja aplicada a linha de entrada: + +`{{comando}} | sed -fa {{caminho/para/script.sed}}` + +- Substitui todas as ocorrências de `maçã` (regex extendido) por `MAÇÃ` (regex extendido) em todas as linhas de entrada e imprime o resultado para `stdout`: + +`{{comando}} | sed -E 's/(maçã)/\U\1/g'` + +- Imprime apenas a primeira linha para `stdout`: + +`{{comando}} | sed -n '1p'` + +- Substitui todas as ocorrências de `maçã` (regex básico) por `manga` (regex básico) em um arquivo específico e sobrescreve o arquivo original no lugar: + +`sed -i 's/maçã/manga/g' {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/freebsd/sockstat.md b/pages.pt_BR/freebsd/sockstat.md new file mode 100644 index 00000000000000..098a4351a95423 --- /dev/null +++ b/pages.pt_BR/freebsd/sockstat.md @@ -0,0 +1,36 @@ +# sockstat + +> Lista sockets de domínio aberto Internet ou UNIX. +> Mais informações: . + +- Vê quais usuários/processos estão [e]scutando em quais portas: + +`sockstat -l` + +- Exibe informação para sockets IPv[4] e IPv[6] escutando em portas específicas usando um [p]rotocolo específico: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}` + +- Exibe também sockets [c]onectados, não resolvendo UIDs [n]uméricos para nome de usuários e usando um campo mais largo: + +`sockstat -cnw` + +- Exibe somente sockets que pertencem a um ID [j]ail específico ou nome de modo detalhado: + +`sockstat -jv` + +- Exibe o estado do protocolo e o número da porta do encapsulamento [U]DP remoto, se aplicável (atualmente, estes estão implementados somente para SCTP e TCP): + +`sockstat -sU` + +- Exibe o módulo de controle de [c]ongestionamento e a pilha de protocolo, se aplicável (atualmente, estes estão implementados somente para TCP): + +`sockstat -CS` + +- Exibe apenas sockets da Internet se os endereços local e estrangeiro não estiverem no prefixo de rede loopback 127.0.0.0/8, ou não contiverem o endereço de loopback IPv6 ::1: + +`sockstat -L` + +- Não exibe o cabeçalho (modo silencioso), mostrando sockets [u]nix e exibindo o `inp_gencnt`: + +`sockstat -qui` diff --git a/pages.pt_BR/freebsd/ypchfn.md b/pages.pt_BR/freebsd/ypchfn.md new file mode 100644 index 00000000000000..ee73e276f443da --- /dev/null +++ b/pages.pt_BR/freebsd/ypchfn.md @@ -0,0 +1,7 @@ +# ypchfn + +> Esse comando é um apelido de `chpass`. + +- Exibe documentação sobre o comando original: + +`tldr chpass` diff --git a/pages.pt_BR/freebsd/ypchpass.md b/pages.pt_BR/freebsd/ypchpass.md new file mode 100644 index 00000000000000..483566da604c35 --- /dev/null +++ b/pages.pt_BR/freebsd/ypchpass.md @@ -0,0 +1,7 @@ +# ypchpass + +> Esse comando é um apelido de `chpass`. + +- Exibe documentação sobre o comando original: + +`tldr chpass` diff --git a/pages.pt_BR/freebsd/ypchsh.md b/pages.pt_BR/freebsd/ypchsh.md new file mode 100644 index 00000000000000..ed01fb59fe3e80 --- /dev/null +++ b/pages.pt_BR/freebsd/ypchsh.md @@ -0,0 +1,7 @@ +# ypchsh + +> Esse comando é um apelido de `chpass`. + +- Exibe documentação sobre o comando original: + +`tldr chpass` diff --git a/pages.pt_BR/linux/a2disconf.md b/pages.pt_BR/linux/a2disconf.md index 911d1c491cc38a..707ed867d8f337 100644 --- a/pages.pt_BR/linux/a2disconf.md +++ b/pages.pt_BR/linux/a2disconf.md @@ -1,12 +1,12 @@ # a2disconf > Desativar um arquivo de configuração em sistemas operacionais baseados no Debian. -> Mais informações: . +> Mais informações: . -- Desativar um arquivo de configuração: +- Desativa um arquivo de configuração: `sudo a2disconf {{arquivo_de_configuracao}}` -- Não mostrar mensagens informativas: +- Não mostra mensagens informativas: `sudo a2disconf --quiet {{arquivo_de_configuracao}}` diff --git a/pages.pt_BR/linux/a2dismod.md b/pages.pt_BR/linux/a2dismod.md index 85218282550b41..3e334ae1254f8e 100644 --- a/pages.pt_BR/linux/a2dismod.md +++ b/pages.pt_BR/linux/a2dismod.md @@ -1,12 +1,12 @@ # a2dismod > Desativa um módulo do Apache em sistemas operacionais baseados no Debian. -> Mais informações: . +> Mais informações: . -- Desativar um módulo: +- Desativa um módulo: `sudo a2dismod {{módulo}}` -- Não mostrar mensagens informativas: +- Não mostra mensagens informativas: `sudo a2dismod --quiet {{módulo}}` diff --git a/pages.pt_BR/linux/a2dissite.md b/pages.pt_BR/linux/a2dissite.md new file mode 100644 index 00000000000000..1ab173f25339ed --- /dev/null +++ b/pages.pt_BR/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Desativa um host virtual do Apache em sistemas operacionais baseados no Debian. +> Mais informações: . + +- Desativa um host virtual: + +`sudo a2dissite {{host_virtual}}` + +- Não mostra mensagens informativas: + +`sudo a2dissite --quiet {{host_virtual}}` diff --git a/pages.pt_BR/linux/a2enconf.md b/pages.pt_BR/linux/a2enconf.md new file mode 100644 index 00000000000000..95feda4506de94 --- /dev/null +++ b/pages.pt_BR/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Ativa um arquivo de configuração do Apache em sistemas operacionais baseados no Debian. +> Mais informações: . + +- Ativa um arquivo de configuração: + +`sudo a2enconf {{arquivo_de_configuração}}` + +- Não mostra mensagens informativas: + +`sudo a2enconf --quiet {{arquivo_de_configuração}}` diff --git a/pages.pt_BR/linux/a2enmod.md b/pages.pt_BR/linux/a2enmod.md new file mode 100644 index 00000000000000..569847c9608f5f --- /dev/null +++ b/pages.pt_BR/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Ativa um módulo do Apache em sistemas operacionais baseados no Debian. +> Mais informações: . + +- Ativa um módulo: + +`sudo a2enmod {{módulo}}` + +- Não mostra mensagens informativas: + +`sudo a2enmod --quiet {{module}}` diff --git a/pages.pt_BR/linux/a2ensite.md b/pages.pt_BR/linux/a2ensite.md new file mode 100644 index 00000000000000..6d0413702e3b64 --- /dev/null +++ b/pages.pt_BR/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Ativa um host virtual do Apache em sistemas operacionais baseados no Debian. +> Mais informações: . + +- Ativa um host virtual: + +`sudo a2ensite {{host_virtual}}` + +- Não mostra mensagens informativas: + +`sudo a2ensite --quiet {{host_virtual}}` diff --git a/pages.pt_BR/linux/a2query.md b/pages.pt_BR/linux/a2query.md new file mode 100644 index 00000000000000..a27b37114f8fa6 --- /dev/null +++ b/pages.pt_BR/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Exibe configurações de execução do Apache em sistemas operacionais baseados no Debian. +> Mais informações: . + +- Lista módulos ativos do Apache: + +`sudo a2query -m` + +- Verifica se um módulo específico está instalado: + +`sudo a2query -m {{nome_do_modulo}}` + +- Lista host virtuais ativos: + +`sudo a2query -s` + +- Exibe o módulo de multi processamento atualmente ativo: + +`sudo a2query -M` + +- Mostra a versão do Apache: + +`sudo a2query -v` diff --git a/pages.pt_BR/linux/abbr.md b/pages.pt_BR/linux/abbr.md new file mode 100644 index 00000000000000..47638f94070aa7 --- /dev/null +++ b/pages.pt_BR/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> Gerencie abreviações para fish-shell. +> Palavras definidas pelo usuário são substituídas por frases longas assim que são digitadas. +> Mais informações: . + +- Adicione uma nova abreviação: + +`abbr --add {{nome_abreviacao}} {{comando}} {{orgumentos_comando}}` + +- Renomeia uma abreviação existente: + +`abbr --rename {{nome_antigo}} {{novo_nome}}` + +- Apaga uma abreviação existente: + +`abbr --erase {{nome_abreviacao}}` + +- Importa abreviações definidas em outro host via SSH: + +`ssh {{nome_host}} abbr --show | source` diff --git a/pages.pt_BR/linux/abroot.md b/pages.pt_BR/linux/abroot.md new file mode 100644 index 00000000000000..62396d2917b889 --- /dev/null +++ b/pages.pt_BR/linux/abroot.md @@ -0,0 +1,37 @@ +# abroot + +> Utilitário que fornece total imutabilidade e atomicidade ao transacionar entre 2 estados da partição raíz (A⟺B). +> Atualizações são realizadas usando imagens OCI, para garantir que o sistema sempre estará em um estado consistente. +> Mais informações: . + +- Adiciona pacotes à imagem local (Nota: após executar esse comando você precisa aplicar as alterações.): + +`sudo abroot pkg add {{pacote}}` + +- Remove pacotes da imagem local(Nota: após executar esse comando você precisa aplicar as alterações.): + +`sudo abroot pkg remove {{pacote}}` + +- Lista pacotes da imagem local: + +`sudo abroot pkg list` + +- Aplica mudanças à imagem local (Nota: você precisa reiniciar o sistema para que as mudanças sejam aplicadas): + +`sudo abroot pkg apply` + +- Reverte o sistema para o estado anterior: + +`sudo abroot rollback` + +- Edita/Mostra os parâmetros do kernel: + +`sudo abroot kargs {{edit|show}}` + +- Mostra o estado: + +`sudo abroot status` + +- Exibe ajuda: + +`abroot --help` diff --git a/pages.pt_BR/linux/ac.md b/pages.pt_BR/linux/ac.md new file mode 100644 index 00000000000000..b83929c2970c71 --- /dev/null +++ b/pages.pt_BR/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> Imprime estatísticas de quanto tempo usuários permaneceram conctados. +> Mais informações: . + +- Imprime quanto tempo em horas o usuário atual ficou conectado: + +`ac` + +- Imprime quanto tempo em horas usuários ficaram conectados: + +`ac {{[-p|--individual-totals]}}` + +- Imprime quanto tempo em horas um usuário em particular ficou conectado: + +`ac {{[-p|--individual-totals]}} {{usuario}}` + +- Imprime quanto tempo um usuário em particular ficou conectado em horas por dia (com total): + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{usuario}}` + +- Também exibe detalhes adicionais: + +`ac --compatibility` diff --git a/pages.pt_BR/linux/acountry.md b/pages.pt_BR/linux/acountry.md new file mode 100644 index 00000000000000..f29c89c74efbab --- /dev/null +++ b/pages.pt_BR/linux/acountry.md @@ -0,0 +1,16 @@ +# acountry + +> Imprime o país onde um endereço IPv4 ou nome do servidor estão localizados. +> Mais informações: . + +- Imprime um país onde um endereço IPv4 ou host está localizado: + +`acountry {{examplo.com}}` + +- Imprime uma saída de [d]epuração extra: + +`acountry -d {{examplo.com}}` + +- Imprime informações mais [v]erbosas: + +`acountry -v {{examplo.com}}` diff --git a/pages.pt_BR/linux/acpi.md b/pages.pt_BR/linux/acpi.md new file mode 100644 index 00000000000000..e9f87464202034 --- /dev/null +++ b/pages.pt_BR/linux/acpi.md @@ -0,0 +1,28 @@ +# acpi + +> Exibe status da bateria ou informações térmicas. +> Mais informações: . + +- Exibe informações sobre a bateria: + +`acpi` + +- Exibe informações térmicas: + +`acpi -t` + +- Exibe informações sobre dispositivo de resfriamento: + +`acpi -c` + +- Exibe informações térmicas em Fahrenheit: + +`acpi -tf` + +- Exibe todas as informações: + +`acpi -V` + +- Extrai informações de `/proc` em vez de `/sys`: + +`acpi -p` diff --git a/pages.pt_BR/linux/add-apt-repository.md b/pages.pt_BR/linux/add-apt-repository.md index b2f195d5e56beb..3cdfdb0438b1ab 100644 --- a/pages.pt_BR/linux/add-apt-repository.md +++ b/pages.pt_BR/linux/add-apt-repository.md @@ -1,19 +1,20 @@ # add-apt-repository > Gerenciar definições de repositórios APT. +> Mais informações: . -- Adicionar um repositório: +- Adiciona um repositório: `add-apt-repository {{especificacao_do_repositorio}}` -- Remover um repositório: +- Remove um repositório: -`add-apt-repository --remove {{especificacao_do_repositorio}}` +`add-apt-repository {{[-r|--remove]}} {{especificacao_do_repositorio}}` -- Adicionar um repositório e atualizar o cache do(s) pacote(s) deste repositório: +- Adiciona um repositório e atualiza o cache do(s) pacote(s) deste repositório: `add-apt-repository --update {{especificacao_do_repositorio}}` -- Adicionar um repositório e habilitar o download do código fonte do(s) pacote(s) deste repositório: +- Adiciona um repositório e habilita o download do código fonte do(s) pacote(s) deste repositório: -`add-apt-repository --enable-source {{especificacao_do_repositorio}}` +`add-apt-repository {{[-s|--enable-source]}} {{especificacao_do_repositorio}}` diff --git a/pages.pt_BR/linux/addpart.md b/pages.pt_BR/linux/addpart.md new file mode 100644 index 00000000000000..68cfea6126cfed --- /dev/null +++ b/pages.pt_BR/linux/addpart.md @@ -0,0 +1,9 @@ +# addpart + +> Informa ao kernel do Linux sobre a existência da partição especificada. +> O comando é um wrapper do ioctl `add partition`. +> Mais informações: . + +- Informa ao kernel do Linux sobre a existência da partição especificada: + +`addpart {{dispositivo}} {{particao}} {{inicio}} {{tamanho}}` diff --git a/pages.pt_BR/linux/addr2line.md b/pages.pt_BR/linux/addr2line.md new file mode 100644 index 00000000000000..7e8a1b6ffd6e7b --- /dev/null +++ b/pages.pt_BR/linux/addr2line.md @@ -0,0 +1,16 @@ +# addr2line + +> Converte endereços de um binário em nomes de arquivos e números de linha. +> Mais informações: . + +- Exibe o nome do arquivo e o número da linha do código-fonte de um endereço de instrução de um executável: + +`addr2line --exe={{caminho/do/executavel}} {{endereco}}` + +- Exibe o nome da função, nome do arquivo e número da linha: + +`addr2line --exe={{caminho/do/executavel}} --functions {{endereco}}` + +- Desembaraça o nome da função em código C++: + +`addr2line --exe={{caminho/do/executavel}} --functions --demangle {{endereco}}` diff --git a/pages.pt_BR/linux/adduser.md b/pages.pt_BR/linux/adduser.md index d4a6bba0cb036e..d7563057ee9ba9 100644 --- a/pages.pt_BR/linux/adduser.md +++ b/pages.pt_BR/linux/adduser.md @@ -1,23 +1,24 @@ # adduser > Utilitário para criação de novos usuários. +> Mais informações: . -- Criar um novo usuário, o seu diretório na pasta home e solicitar o preenchimento da sua senha: +- Cria um novo usuário, o seu diretório na pasta home e solicita o preenchimento da sua senha: `adduser {{nome_do_usuario}}` -- Criar um novo usuário sem o seu diretório na pasta home: +- Cria um novo usuário sem o seu diretório na pasta home: `adduser --no-create-home {{nome_do_usuario}}` -- Criar um novo usuário especificando a localização do seu diretório: +- Cria um novo usuário especificando a localização do seu diretório: `adduser --home {{caminho_da_pasta_do_usuario}} {{nome_do_usuario}}` -- Criar um novo usuário e configurar o seu shell de login: +- Cria um novo usuário e configura o seu shell de login: `adduser --shell {{caminho_para_o_shell}} {{nome_do_usuario}}` -- Criar um novo usuário e atribuí-lo a um grupo: +- Cria um novo usuário e atribuí-lo a um grupo: `adduser --ingroup {{grupo}} {{nome_do_usuario}}` diff --git a/pages.pt_BR/linux/adig.md b/pages.pt_BR/linux/adig.md new file mode 100644 index 00000000000000..7e9436b7e2b0a9 --- /dev/null +++ b/pages.pt_BR/linux/adig.md @@ -0,0 +1,24 @@ +# adig + +> Imprime informações recebidas dos servidores do Sistema de Domínio de Nome(DNS). +> Mais informações: . + +- Exibe uma gravação A (padrão) do DNS por nome(s) de servidor(es): + +`adig {{examplo.com}}` + +- Exibe uma saída de [d]epuração extra: + +`adig -d {{examplo.com}}` + +- Conecte-se a um servidor DNS específico: + +`adig -s {{1.2.3.4}} {{examplo.com}}` + +- Use uma porta TCP específica para se conectar ao servidor DNS: + +`adig -T {{port}} {{examplo.com}}` + +- Use uma porta UDP específica para se conectar ao servidor DNS: + +`adig -U {{port}} {{examplo.com}}` diff --git a/pages.pt_BR/linux/alien.md b/pages.pt_BR/linux/alien.md new file mode 100644 index 00000000000000..924d5b3af33383 --- /dev/null +++ b/pages.pt_BR/linux/alien.md @@ -0,0 +1,20 @@ +# alien + +> Converter diferentes pacotes de instalação para outros formatos. +> Mais informações: . + +- Converte um arquivo de instalação específico para o formato Debian (extensão `.deb`): + +`sudo alien --to-deb {{caminho/para/arquivo}}` + +- Converte um arquivo de instalação específico para o formato Red Hat (extensão `.rpm`): + +`sudo alien --to-rpm {{caminho/para/arquivo}}` + +- Converte um arquivo de instalação específico para um arquivo de instalação do Slackware (extensão `.tgz`): + +`sudo alien --to-tgz {{caminho/para/arquivo}}` + +- Converte um arquivo de instalação específico para o formato Debian e instala no sistema: + +`sudo alien --to-deb --install {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/linux/alpine.md b/pages.pt_BR/linux/alpine.md index 7d374c3be0ab08..dff29480afd9ff 100644 --- a/pages.pt_BR/linux/alpine.md +++ b/pages.pt_BR/linux/alpine.md @@ -2,15 +2,16 @@ > Um cliente de e-mail e programa de newsgroup Usenet com uma interface inspirada no pico e nano. > Suporta a maioria dos serviços de e-mail por meio de IMAP. +> Mais informações: . -- Iniciar o alpine: +- Inicia o alpine: `alpine` -- Abrir o alpine na tela de composição de mensagem com o e-mail do destinatário preenchido: +- Abre o alpine na tela de composição de mensagem com o e-mail do destinatário preenchido: `alpine {{email@exemplo.net}}` -- Encerrar o alpine: +- Encerra o alpine: -`'q' e 'y'` +`` diff --git a/pages.pt_BR/linux/alternatives.md b/pages.pt_BR/linux/alternatives.md new file mode 100644 index 00000000000000..b397e452167158 --- /dev/null +++ b/pages.pt_BR/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Este comando é um apelido de `update-alternatives`. + +- Exibe documentação sobre o comando original: + +`tldr update-alternatives` diff --git a/pages.pt_BR/linux/apache2ctl.md b/pages.pt_BR/linux/apache2ctl.md index 3b36c4c2aa0918..3e7469948ef9af 100644 --- a/pages.pt_BR/linux/apache2ctl.md +++ b/pages.pt_BR/linux/apache2ctl.md @@ -2,23 +2,24 @@ > Interface de controle do servidor web HTTP Apache. > Este comando está disponível nas distribuições baseadas em Debian, para as baseadas em RHEL veja `httpd`. +> Mais informações: . -- Iniciar o Apache. Caso ele já esteja em execução, uma mensagem será apresentada: +- Inicia o Apache. Caso ele já esteja em execução, uma mensagem será apresentada: `sudo apache2ctl start` -- Encerrar o Apache: +- Encerra o Apache: `sudo apache2ctl stop` -- Reiniciar o Apache: +- Reinicia o Apache: `sudo apache2ctl restart` -- Verificar se o arquivo de configuração está correto sintaticamente: +- Verifica se o arquivo de configuração está correto sintaticamente: `sudo apache2ctl -t` -- Listar os módulos carregados: +- Lista os módulos carregados: `sudo apache2ctl -M` diff --git a/pages.pt_BR/linux/apk.md b/pages.pt_BR/linux/apk.md index 7a22c32c538c5a..b9b1d8b76415ac 100644 --- a/pages.pt_BR/linux/apk.md +++ b/pages.pt_BR/linux/apk.md @@ -1,27 +1,28 @@ # apk > Gerenciador de pacotes da distribuição Alpine. +> Mais informações: . -- Atualizar os índices dos pacotes disponíveis: +- Atualiza os índices dos pacotes disponíveis: `apk update` -- Instalar um pacote: +- Instala um pacote: `apk add {{pacote}}` -- Remover um pacote: +- Remove um pacote: `apk del {{pacote}}` -- Reparar ou atualizar um pacote sem modificar as principais dependências: +- Repara ou atualiza um pacote sem modificar as principais dependências: `apk fix {{pacote}}` -- Procurar um pacote especificando alguma palavra-chave: +- Procura um pacote especificando alguma palavra-chave: `apk search {{palavra_chave}}` -- Exibir informações sobre um pacote: +- Exibe informações sobre um pacote: `apk info {{pacote}}` diff --git a/pages.pt_BR/linux/apport-bug.md b/pages.pt_BR/linux/apport-bug.md new file mode 100644 index 00000000000000..df096a098e6a50 --- /dev/null +++ b/pages.pt_BR/linux/apport-bug.md @@ -0,0 +1,20 @@ +# apport-bug + +> Registra um relatório de bug no Ubuntu. +> Mais informações: . + +- Relata um bug sobre todo o sistema: + +`apport-bug` + +- Relata um bug sobre um pacote específico: + +`apport-bug {{pacote}}` + +- Relata um bug sobre um executável específico: + +`apport-bug {{caminho/para/executável}}` + +- Relata um bug sobre um processo específico: + +`apport-bug {{PID}}` diff --git a/pages.pt_BR/linux/apt-cache.md b/pages.pt_BR/linux/apt-cache.md index b896f076ecd0d3..5c302a321898ba 100644 --- a/pages.pt_BR/linux/apt-cache.md +++ b/pages.pt_BR/linux/apt-cache.md @@ -1,23 +1,24 @@ # apt-cache > Buscador de pacotes para distribuições baseadas no Debian. +> Mais informações: . -- Buscar pacotes, no cache de pacotes APT, correspondentes ao critério de busca: +- Busca pacotes, no cache de pacotes APT, correspondentes ao critério de busca: `apt-cache search {{criterio_de_busca}}` -- Exibir informações sobre um pacote: +- Exibe informações sobre um pacote: `apt-cache show {{nome_do_pacote}}` -- Informar a situação de um pacote, se ele está instalado e atualizado: +- Informa a situação de um pacote, se ele está instalado e atualizado: `apt-cache policy {{nome_do_pacote}}` -- Exibir as dependências de um pacote: +- Exibe as dependências de um pacote: `apt-cache depends {{nome_do_pacote}}` -- Exibir pacotes dependentes de um determinado pacote: +- Exibe pacotes dependentes de um determinado pacote: `apt-cache rdepends {{nome_do_pacote}}` diff --git a/pages.pt_BR/linux/apt-file.md b/pages.pt_BR/linux/apt-file.md index 5b960c6a97449b..5928b44332bf52 100644 --- a/pages.pt_BR/linux/apt-file.md +++ b/pages.pt_BR/linux/apt-file.md @@ -1,15 +1,20 @@ # apt-file -> Buscador de arquivos nos pacotes apt, incluindo os não instalados. +> Busca arquivos nos pacotes APT, incluindo os não instalados. +> Mais informações: . -- Atualizar as informações dos pacotes a partir de todos os repositórios remotos: +- Atualiza as informações dos pacotes: `sudo apt update` -- Buscar por pacotes que contêm o arquivo ou caminho especificado: +- Busca por pacotes que contêm o arquivo ou caminho especificado: -`apt-file search {{nome_do_pacote_ou_caminho}}` +`apt-file {{search|find}} {{caminho_parcial/para/arquivo}}` -- Listar o conteúdo de um pacote específico: +- Lista o conteúdo de um pacote específico: -`apt-file list {{nome_do_pacote}}` +`apt-file {{show|list}} {{nome_do_pacote}}` + +- Busca pacotes que correspondem à expressão regular: + +`apt-file {{search|find}} --regexp {{expressao_regular}}` diff --git a/pages.pt_BR/linux/apt-get.md b/pages.pt_BR/linux/apt-get.md index 37a426704440f5..b6d4aaec971104 100644 --- a/pages.pt_BR/linux/apt-get.md +++ b/pages.pt_BR/linux/apt-get.md @@ -2,35 +2,36 @@ > Gerenciador de pacotes das distribuições baseadas em Debian. > Procure por pacotes utilizando o `apt-cache`. +> Mais informações: . -- Atualizar a lista de pacotes disponíveis (recomenda-se executá-lo antes de outros comandos `apt-get`): +- Atualiza a lista de pacotes disponíveis (recomenda-se executá-lo antes de outros comandos `apt-get`): `apt-get update` -- Instalar um pacote ou atualizá-lo para a versão mais recente: +- Instala um pacote ou atualizá-lo para a versão mais recente: `apt-get install {{nome_do_pacote}}` -- Remover um pacote: +- Remove um pacote: `apt-get remove {{nome_do_pacote}}` -- Remover um pacote e os seus arquivos de configuração: +- Remove um pacote e os seus arquivos de configuração: `apt-get purge {{nome_do_pacote}}` -- Atualizar todos os pacotes instalados para as versões mais recentes: +- Atualiza todos os pacotes instalados para as versões mais recentes: `apt-get upgrade` -- Limpar o repositório local — removendo os arquivos de pacotes (.deb) de downloads interrompidos que não podem mais ser baixados: +- Limpa o repositório local — removendo os arquivos de pacotes (`.deb`) de downloads interrompidos que não podem mais ser baixados: `apt-get autoclean` -- Remover todos os pacotes obsoletos: +- Remove todos os pacotes obsoletos: `apt-get autoremove` -- Atualizar os pacotes instalados (semelhante ao `upgrade`), porém removendo os obsoletos e instalando pacotes solicitados por novas dependências: +- Atualiza os pacotes instalados (semelhante ao `upgrade`), porém removendo os obsoletos e instalando pacotes solicitados por novas dependências: `apt-get dist-upgrade` diff --git a/pages.pt_BR/linux/apt-key.md b/pages.pt_BR/linux/apt-key.md index 3bfd8ccf35fc73..020e3797e114ad 100644 --- a/pages.pt_BR/linux/apt-key.md +++ b/pages.pt_BR/linux/apt-key.md @@ -1,23 +1,24 @@ # apt-key > Gerenciador de chaves utilizado pelo gerenciador de pacotes APT nas distribuições baseadas em Debian. +> Mais informações: . -- Exibir as chaves confiáveis: +- Exibe as chaves confiáveis: `apt-key list` -- Adicionar uma chave na lista de chaves confiáveis: +- Adiciona uma chave na lista de chaves confiáveis: `apt-key add {{arquivo_da_chave_publica.asc}}` -- Remover uma chave da lista de chaves confiáveis: +- Remove uma chave da lista de chaves confiáveis: `apt-key del {{key_id}}` -- Adicionar uma chave remota na lista de chaves confiáveis: +- Adiciona uma chave remota na lista de chaves confiáveis: `wget -qO - {{https://host.tld/arquivo.key}} | apt-key add -` -- Adicionar uma chave, de um servidor de chaves, na lista de chaves confiáveis: +- Adiciona uma chave, de um servidor de chaves, na lista de chaves confiáveis: `apt-key adv --keyserver {{pgp.mit.edu}} --recv {{KEYID}}` diff --git a/pages.pt_BR/linux/apt-mark.md b/pages.pt_BR/linux/apt-mark.md index 9ad1daea8cf078..c529a8d68dbcd0 100644 --- a/pages.pt_BR/linux/apt-mark.md +++ b/pages.pt_BR/linux/apt-mark.md @@ -1,23 +1,24 @@ # apt-mark > Utilitário que altera as configurações dos pacotes instalados. +> Mais informações: . -- Marcar um pacote como instalado automaticamente: +- Marca um pacote como instalado automaticamente: `sudo apt-mark auto {{nome_do_pacote}}` -- Bloquear um pacote na sua versão atual, impedindo que ele seja atualizado: +- Bloqueia um pacote na sua versão atual, impedindo que ele seja atualizado: `sudo apt-mark hold {{nome_do_pacote}}` -- Desbloquear um pacote, permitindo que ele seja atualizado: +- Desbloqueia um pacote, permitindo que ele seja atualizado: `sudo apt-mark unhold {{nome_do_pacote}}` -- Listar os pacotes instalados manualmente: +- Lista os pacotes instalados manualmente: `apt-mark showmanual` -- Listar os pacotes bloqueados: +- Lista os pacotes bloqueados: `apt-mark showhold` diff --git a/pages.pt_BR/linux/apt.md b/pages.pt_BR/linux/apt.md index e137f6ed0dd11b..a32c8d8e81d409 100644 --- a/pages.pt_BR/linux/apt.md +++ b/pages.pt_BR/linux/apt.md @@ -1,27 +1,38 @@ # apt -> Gerenciador de pacotes das distribuições baseadas em Debian. +> Utilitário de gerenciamento de pacotes de distribuições baseadas em Debian. +> Substituto recomendado para `apt-get` quando usado de forma interativa em versões do Ubuntu mais novas que 16.04. +> Para comandos equivalentes em outros gerenciadores de pacotes, veja . +> Mais informações: . -- Atualizar a lista de pacotes disponíveis (recomenda-se executá-lo antes de outros comandos `apt`): +- Atualiza a lista de pacotes e versões disponíveis (recomenda-se executá-lo antes de outros comandos `apt`): `sudo apt update` -- Buscar pacotes correspondentes ao critério de busca: +- Busca por um determinado pacote: -`apt search {{criterio_de_busca}}` +`apt search {{pacote}}` -- Exibir as informações de pacote: +- Exibe as informações de um pacote: -`apt show {{nome_do_pacote}}` +`apt show {{pacote}}` -- Instalar um pacote ou atualizá-lo para a versão mais recente: +- Instala um pacote ou atualiza-o para a versão mais recente: -`sudo apt install {{nome_do_pacote}}` +`sudo apt install {{pacote}}` -- Remover um pacote (Para remover os arquivos de configuração deve-se usar a opção `purge` ao invés do `remove`): +- Remove um pacote (para remover também os arquivos de configuração deve-se usar a opção `purge` ao invés do `remove`): -`sudo apt remove {{nome_do_pacote}}` +`sudo apt remove {{pacote}}` -- Atualizar os pacotes instalados para as versões mais recentes: +- Atualiza todos os pacotes instalados para suas versões mais recentes: `sudo apt upgrade` + +- Lista todos os pacotes: + +`apt list` + +- Lista todos os pacotes instalados: + +`apt list {{[-i|--installed]}}` diff --git a/pages.pt_BR/linux/aptitude.md b/pages.pt_BR/linux/aptitude.md index 5207d1551d9b11..e4148243d724fe 100644 --- a/pages.pt_BR/linux/aptitude.md +++ b/pages.pt_BR/linux/aptitude.md @@ -1,27 +1,36 @@ # aptitude -> Gerenciador de pacotes das distribuições baseadas em Debian. +> Utilitário de gerenciamento de pacotes de Debian e Ubuntu. +> Mais informações: . -- Atualizar a lista de pacotes disponíveis (recomenda-se executá-lo antes de outros comandos `aptitude`):: +- Sincroniza a lista de pacotes e versões disponíveis. Deve ser executado antes de outros comandos `aptitude`: `aptitude update` -- Instalar um novo pacote e suas dependências: +- Instala um novo pacote e suas dependências: -`aptitude install {{nome_do_pacote}}` +`aptitude install {{pacote}}` -- Buscar pacotes correspondentes ao critério de busca: +- Busca por um determinado pacote: -`aptitude search {{criterio_de_busca}}` +`aptitude search {{pacote}}` -- Remover um pacote e todos que dependam dele: +- Busca por uma determinado pacote instalado (`?installed` é um termo de busca `aptitude`): -`aptitude remove {{nome_do_pacote}}` +`aptitude search '?installed({{pacote}})'` -- Atualizar os pacotes instalados para as versões mais recentes: +- Remove um pacote e todos que dependam dele: + +`aptitude remove {{pacote}}` + +- Atualiza os pacotes instalados para suas versões mais recentes: `aptitude upgrade` -- Atualizar os pacotes instalados (semelhante ao `upgrade`), porém removendo os obsoletos e instalando pacotes solicitados por novas dependências: +- Atualiza os pacotes instalados (semelhante ao `upgrade`), porém removendo os obsoletos e instalando pacotes solicitados por novas dependências: `aptitude full-upgrade` + +- Coloca um pacote instalado em espera para prevenir atualizações automáticas: + +`aptitude hold '?installed({{pacote}})'` diff --git a/pages.pt_BR/linux/arch.md b/pages.pt_BR/linux/arch.md deleted file mode 100644 index 0aec1cfd3040ff..00000000000000 --- a/pages.pt_BR/linux/arch.md +++ /dev/null @@ -1,8 +0,0 @@ -# arch - -> Exibir o nome da arquitetura do sistema. -> Veja também `uname`. - -- Exibir a arquitetura do sistema: - -`arch` diff --git a/pages.pt_BR/linux/archey.md b/pages.pt_BR/linux/archey.md index f5212fddfdf608..b011955e203215 100644 --- a/pages.pt_BR/linux/archey.md +++ b/pages.pt_BR/linux/archey.md @@ -1,7 +1,8 @@ # archey > Ferramenta que exibe informações do sistema de forma estilizada. +> Mais informações: . -- Exibir as informações do sistema: +- Exibe as informações do sistema: `archey` diff --git a/pages.pt_BR/linux/archinstall.md b/pages.pt_BR/linux/archinstall.md new file mode 100644 index 00000000000000..9402897ffc412c --- /dev/null +++ b/pages.pt_BR/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> Instalador do Arch Linux guiado com uma torção. +> Mais informações: . + +- Inicia o instalador interativo: + +`archinstall` + +- Inicia um instalador predefinido: + +`archinstall {{minimal|unattended}}` diff --git a/pages.pt_BR/linux/arp-scan.md b/pages.pt_BR/linux/arp-scan.md deleted file mode 100644 index 18c305721c28db..00000000000000 --- a/pages.pt_BR/linux/arp-scan.md +++ /dev/null @@ -1,19 +0,0 @@ -# arp-scan - -> Envia pacotes ARP para máquinas (identificadas por endereço IP ou por nome de domínio) em uma rede local, identificando as máquinas ativas de acordo com as respostas. - -- Verificar as máquinas da rede local: - -`arp-scan --localnet` - -- Verificar as máquinas de uma rede IP especificando a máscara de bit: - -`arp-scan {{192.168.1.1}}/{{24}}` - -- Verificar as máquinas de uma rede IP que estejam em uma faixa de valores: - -`arp-scan {{127.0.0.0}}-{{127.0.0.31}}` - -- Verificar as máquinas de uma rede IP especificando a máscara de rede: - -`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages.pt_BR/linux/as.md b/pages.pt_BR/linux/as.md index 909fe07dd101df..2b1b4edcaff5da 100644 --- a/pages.pt_BR/linux/as.md +++ b/pages.pt_BR/linux/as.md @@ -2,19 +2,20 @@ > Assembler GNU multiplataforma. > Seu objetivo inicial é realizar o montagem do arquivo gerado pelo `gcc` para ser utilizado pelo `ld`. +> Mais informações: . -- Realizar a montagem de um arquivo, o resultado dessa operação será gravado no arquivo a.out: +- Realiza a montagem de um arquivo, o resultado dessa operação será gravado no arquivo a.out: -`as {{arquivo.s}}` +`as {{caminho/para/arquivo.s}}` -- Realizar a montagem de um arquivo, o resultado dessa operação será gravado em um arquivo específico: +- Realiza a montagem de um arquivo, o resultado dessa operação será gravado em um arquivo específico: -`as {{arquivo.s}} -o {{saida.o}}` +`as {{caminho/para/arquivo.s}} -o {{caminho/para/saida.o}}` -- Realizar a montagem de um arquivo rapidamente, pois ignora o pré-processamento de comentários e espaços em branco. (Deve ser utilizado apenas em compiladores confiáveis): +- Realiza a montagem de um arquivo rapidamente, pois ignora o pré-processamento de comentários e espaços em branco. (Deve ser utilizado apenas em compiladores confiáveis): -`as -f {{arquivo.s}}` +`as -f {{caminho/para/arquivo.s}}` - Adiciona um caminho na lista de diretórios onde será realizada a busca por arquivos especificados na diretiva .include: -`as -I {{caminho_para_o_diretorio}} {{arquivo.s}}` +`as -I {{caminho_para_o_diretorio}} {{caminho/para/arquivo.s}}` diff --git a/pages.pt_BR/linux/ascii.md b/pages.pt_BR/linux/ascii.md new file mode 100644 index 00000000000000..11018a0f449864 --- /dev/null +++ b/pages.pt_BR/linux/ascii.md @@ -0,0 +1,36 @@ +# ascii + +> Mostra pseudónimos de caractéres ASCII. +> Mais informações: . + +- Mostra pseudónimos ASCII de um carácter: + +`ascii {{a}}` + +- Mostra pseudónimos ASCII de forma resumida, modo script-friendly: + +`ascii -t {{a}}` + +- Mostra pseudónimo ASCII de múltiplos caracteres: + +`ascii -s {{tldr}}` + +- Mostra tabela ASCII em decimal: + +`ascii -d` + +- Mostra tabela ASCII em hexadecimal: + +`ascii -x` + +- Mostra tabela ASCII em octal: + +`ascii -o` + +- Mostra tabela ASCII em binário: + +`ascii -b` + +- Mostra sumário de opções e tabela ASCII completa: + +`ascii` diff --git a/pages.pt_BR/linux/asciiart.md b/pages.pt_BR/linux/asciiart.md new file mode 100644 index 00000000000000..db3d040286c551 --- /dev/null +++ b/pages.pt_BR/linux/asciiart.md @@ -0,0 +1,28 @@ +# asciiart + +> Converte imagens para ASCII. +> Mais informações: . + +- Lê uma imagem de um arquivo e imprime em ASCII: + +`asciiart {{caminho/para/imagem.jpg}}` + +- Lê uma imagem de uma URL e imprime em ASCII: + +`asciiart {{www.example.com/imagem.jpg}}` + +- Escolha a largura da saída (o padrão é 100): + +`asciiart --width {{50}} {{caminho/para/imagem.jpg}}` + +- Imprime com cor: + +`asciiart --color {{caminho/para/imagem.jpg}}` + +- Escolha o formato de saída (o padrão é text): + +`asciiart --format {{text|html}} {{caminho/para/imagem.jpg}}` + +- Inverte o mapeamento dos caracteres: + +`asciiart --invert-chars {{caminho/para/imagem.jpg}}` diff --git a/pages.pt_BR/linux/aspell.md b/pages.pt_BR/linux/aspell.md deleted file mode 100644 index 57ea4974617d76..00000000000000 --- a/pages.pt_BR/linux/aspell.md +++ /dev/null @@ -1,23 +0,0 @@ -# aspell - -> Verificador ortográfico interativo. - -- Verificar a ortografia do texto de um arquivo: - -`aspell check {{arquivo}}` - -- Exibir as palavras escritas incorretamente no terminal: - -`cat {{arquivo}} | aspell list` - -- Exibir os dicionários disponíveis: - -`aspell dicts` - -- Executar aspell utilizando uma língua diferente (informe o código ISO 639 da língua): - -`aspell --lang={{cs}}` - -- Exibir os erros ortográficos no terminal e ignorando as palavras da lista pessoal: - -`cat {{arquivo}} | aspell --personal={{lista_pessoal.pws}} {{list}}` diff --git a/pages.pt_BR/linux/at.md b/pages.pt_BR/linux/at.md deleted file mode 100644 index 426cf9e1f25c5d..00000000000000 --- a/pages.pt_BR/linux/at.md +++ /dev/null @@ -1,15 +0,0 @@ -# at - -> Executa comandos em um determinado momento. - -- Iniciar o prompt `at` para que um novo conjunto de comandos seja agendado, pressione `Ctrl + D` para salvar e sair: - -`at {{hh:mm:ss}}` - -- Executar os comandos e enviar o resultado por e-mail utilizando algum programa de envio de e-mail local, por exemplo o sendmail: - -`at {{hh:mm:ss}} -m` - -- Executar um script em um determinado momento: - -`at {{hh:mm:ss}} -f {{caminho_para_o_script}}` diff --git a/pages.pt_BR/linux/authconfig.md b/pages.pt_BR/linux/authconfig.md index 4572c6a7538cbd..bab5f3695fb934 100644 --- a/pages.pt_BR/linux/authconfig.md +++ b/pages.pt_BR/linux/authconfig.md @@ -1,35 +1,36 @@ # authconfig > Interface de linha comandos para configurar o sistema de autenticação. +> Mais informações: . -- Exibir as configurações atuais (ou dry run): +- Exibe as configurações atuais (ou dry run): `authconfig --test` -- Configurar o servidor para utilizar diferentes algoritmos de hash para as senhas: +- Configura o servidor para utilizar diferentes algoritmos de hash para as senhas: `authconfig --update --passalgo={{algoritmo}}` -- Habilitar a autenticação via LDAP: +- Habilita a autenticação via LDAP: `authconfig --update --enableldapauth` -- Desabilitar a autenticação via LDAP: +- Desabilita a autenticação via LDAP: `authconfig --update --disableldapauth` -- Habilitar o Network Information Service (NIS): +- Habilita o Network Information Service (NIS): `authconfig --update --enablenis` -- Habilitar Kerberos: +- Habilita Kerberos: `authconfig --update --enablekrb5` -- Habilitar a autenticação Winbind (Active Directory): +- Habilita a autenticação Winbind (Active Directory): `authconfig --update --enablewinbindauth` -- Habilitar a autorização local: +- Habilita a autorização local: `authconfig --update --enablelocauthorize` diff --git a/pages.pt_BR/linux/autorandr.md b/pages.pt_BR/linux/autorandr.md index 98f23a4b5b9843..f84d11c86285bf 100644 --- a/pages.pt_BR/linux/autorandr.md +++ b/pages.pt_BR/linux/autorandr.md @@ -1,19 +1,24 @@ # autorandr > Altera o layout da tela automaticamente. +> Mais informações: . -- Salvar o layout da tela em uso: +- Salva o layout da tela em uso: -`autorandr -s {{nome_do_perfil}}` +`autorandr --save {{nome_do_perfil}}` -- Exibir os perfis salvos: +- Exibe os perfis salvos: `autorandr` -- Alterar o perfil: +- Carrega o primeiro perfil detectado: -`autorandr -l {{nome_do_perfil}}` +`autorandr --change` -- Definir o perfil padrão: +- Carrega um perfil específico: -`autorandr -d {{nome_do_perfil}}` +`autorandr --load {{nome_do_perfil}}` + +- Define o perfil padrão: + +`autorandr --default {{nome_do_perfil}}` diff --git a/pages.pt_BR/linux/batcat.md b/pages.pt_BR/linux/batcat.md new file mode 100644 index 00000000000000..4818402705c30c --- /dev/null +++ b/pages.pt_BR/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Este comando é um apelido de `bat`. + +- Exibe documentação sobre o comando original: + +`tldr bat` diff --git a/pages.pt_BR/linux/battop.md b/pages.pt_BR/linux/battop.md new file mode 100644 index 00000000000000..cc824e52b8e348 --- /dev/null +++ b/pages.pt_BR/linux/battop.md @@ -0,0 +1,12 @@ +# battop + +> Um visualizador interativo para as baterias instaladas no seu notebook. +> Mais informações: . + +- Exibe informações da bateria: + +`battop` + +- Altera a [u]nidade de medida das informações da bateria (padrão: human): + +`battop -u {{human|si}}` diff --git a/pages.pt_BR/linux/beep.md b/pages.pt_BR/linux/beep.md index 1ccc48ce88cd04..b7b266f9d81c6c 100644 --- a/pages.pt_BR/linux/beep.md +++ b/pages.pt_BR/linux/beep.md @@ -1,23 +1,24 @@ # beep > Utilitário que permite o computador emitir sons. +> Mais informações: . -- Emitir um som: +- Emite um som: `beep` -- Emitir um som repetidamente: +- Emite um som repetidamente: `beep -r {{repeticoes}}` -- Emitir um som em uma frequência (Hz) específica e com duração específica (milisegundos): +- Emite um som em uma frequência (Hz) específica e com duração específica (milisegundos): `beep -f {{frequencia}} -l {{duracao}}` -- Emitir cada frequência e duração como um som diferente: +- Emite cada frequência e duração como um som diferente: `beep -f {{frequencia}} -l {{duracao}} -n -f {{frequencia}} -l {{duracao}}` -- Executar a escala de Dó maior: +- Executa a escala de Dó maior: -`beep -f 262 -n -f 294 -n -f 330 -n -f 349 -n -f 392 -n -f 440 -n -f 494 -n -f 523` +`beep -f {{262}} -n -f {{294}} -n -f {{330}} -n -f {{349}} -n -f {{392}} -n -f {{440}} -n -f {{494}} -n -f {{523}}` diff --git a/pages.pt_BR/linux/blkid.md b/pages.pt_BR/linux/blkid.md new file mode 100644 index 00000000000000..c1308b2b03f3b9 --- /dev/null +++ b/pages.pt_BR/linux/blkid.md @@ -0,0 +1,12 @@ +# blkid + +> Lista todas as partições reconhecidas e seu Identificador Único Universal (UUID). +> Mais informações: . + +- Lista todas as partições: + +`sudo blkid` + +- Lista todas as partições em uma tabela, incluindo os pontos de montagem atuais: + +`sudo blkid -o list` diff --git a/pages.pt_BR/linux/bluetoothctl.md b/pages.pt_BR/linux/bluetoothctl.md new file mode 100644 index 00000000000000..0d758a4614cdf6 --- /dev/null +++ b/pages.pt_BR/linux/bluetoothctl.md @@ -0,0 +1,36 @@ +# bluetoothctl + +> Gerencia dispositivos Bluetooth a partir da linha de comando. +> Mais informações: . + +- Inicia o shell `bluetoothctl`: + +`bluetoothctl` + +- Lista todos os dispositivos conhecidos: + +`bluetoothctl devices` + +- Liga ou desliga o controlador Bluetooth: + +`bluetoothctl power {{on|off}}` + +- Emparelha com um dispositivo: + +`bluetoothctl pair {{endereço_mac}}` + +- Remove um dispositivo: + +`bluetoothctl remove {{endereço_mac}}` + +- Conecta a um dispositivo pareado: + +`bluetoothctl connect {{endereço_mac}}` + +- Desconecta um dispositivo pareado: + +`bluetoothctl disconnect {{endereço_mac}}` + +- Exibe ajuda: + +`bluetoothctl help` diff --git a/pages.pt_BR/linux/bluetoothd.md b/pages.pt_BR/linux/bluetoothd.md new file mode 100644 index 00000000000000..fcb4e767a28790 --- /dev/null +++ b/pages.pt_BR/linux/bluetoothd.md @@ -0,0 +1,24 @@ +# bluetoothd + +> Daemon para gerenciar dispositivos Bluetooth. +> Mais informações: . + +- Inicia o daemon: + +`bluetoothd` + +- Inicia o daemon, registrando em `stdout`: + +`bluetoothd --nodetach` + +- Inicia o daemon com um arquivo de configuração específico (`/etc/bluetooth/main.conf` por padrão): + +`bluetoothd --configfile {{caminho/para/arquivo}}` + +- Inicia o daemon com saída verbosa em `stderr`: + +`bluetoothd --debug` + +- Inicia o daemon com saída verbosa proveniente de arquivos específicos na fonte bluetoothd ou plugins: + +`bluetoothd --debug={{caminho/para/arquivo1:caminho/para/arquivo2:...}}` diff --git a/pages.pt_BR/linux/bmon.md b/pages.pt_BR/linux/bmon.md index 0df932b2b22c51..675d3035d08a56 100644 --- a/pages.pt_BR/linux/bmon.md +++ b/pages.pt_BR/linux/bmon.md @@ -1,19 +1,20 @@ # bmon > Monitora a largura de banda e produz estatísticas relacionadas a rede. +> Mais informações: . -- Exibir uma lista com todas as interfaces de rede: +- Exibe uma lista com todas as interfaces de rede: `bmon -a` -- Exibir as taxas de transferência de dados em bits por segundo: +- Exibe as taxas de transferência de dados em bits por segundo: `bmon -b` -- Definir quais interfaces serão visíveis: +- Define quais interfaces serão visíveis: `bmon -p {{interface_1,interface_2,interface_3}}` -- Definir o intervalo (em segundos) que a taxa por contador será calculada: +- Define o intervalo (em segundos) que a taxa por contador será calculada: `bmon -R {{2.0}}` diff --git a/pages.pt_BR/linux/bootc.md b/pages.pt_BR/linux/bootc.md new file mode 100644 index 00000000000000..5ee8e740c433b0 --- /dev/null +++ b/pages.pt_BR/linux/bootc.md @@ -0,0 +1,25 @@ +# bootc + +> Inicializa e atualiza seu sistema usando imagens de containeres. +> Manipula atualizações transacionais e transparentes utilizando imagens de containeres OCI/Docker. +> Mais informações: . + +- Mostra todos os deployments na ordem que eles aparecem na inicialização: + +`bootc status` + +- Mostra se há alguma atualização disponível: + +`bootc upgrade --check` + +- Atualiza e reinicia o sistema: + +`bootc upgrade --apply` + +- Move seu sistema para outra base: + +`bootc switch {{imagem}}` + +- Reinicia o seu sistema no deployment anterior: + +`bootc rollback` diff --git a/pages.pt_BR/linux/bpftrace.md b/pages.pt_BR/linux/bpftrace.md index d2c26461c840f1..797804cc8d1660 100644 --- a/pages.pt_BR/linux/bpftrace.md +++ b/pages.pt_BR/linux/bpftrace.md @@ -1,28 +1,28 @@ # bpftrace > Linguagem de análise de alto nível para eBPF Linux. -> Mais informações: . - -- Verifique a versão do bpftrace: - -`bpftrace -V` +> Mais informações: . - Lista todos os probes: `sudo bpftrace -l` -- Rode um programa de uma linha (e.g. número de syscalls por programa): +- Roda um programa de uma linha (e.g. número de syscalls por programa): `sudo bpftrace -e '{{tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }}}'` -- Rode um programa de um arquivo: +- Roda um programa de um arquivo: `sudo bpftrace {{caminho/do/arquivo}}` -- Analise um programa por PID: +- Analisa um programa por PID: `sudo bpftrace -e '{{tracepoint:raw_syscalls:sys_enter /pid == 123/ { @[comm] = count(); }}}'` -- Mostre o resultado do programa em eBPF, sem rodar ele: +- Mostra o resultado do programa em eBPF, sem rodar ele: `sudo bpftrace -d -e '{{programa_de_uma_linha}}'` + +- Exibe a versão: + +`bpftrace {{[-V|--version]}}` diff --git a/pages.pt_BR/linux/br.md b/pages.pt_BR/linux/br.md new file mode 100644 index 00000000000000..7b27e91715aa10 --- /dev/null +++ b/pages.pt_BR/linux/br.md @@ -0,0 +1,25 @@ +# br + +> Navega árvore de diretórios interativamente. +> Veja também: `broot`. +> Mais informações: . + +- Começa e navega na árvore de diretórios atual interativamente: + +`br` + +- Inicia mostrando o tamanho de arquivos e diretórios: + +`br --sizes` + +- Inicia mostrando permissões: + +`br --permissions` + +- Inicia mostrando apenas diretórios: + +`br --only-folders` + +- Inicia mostrando arquivos ocultos e diretórios: + +`br --hidden` diff --git a/pages.pt_BR/linux/brctl.md b/pages.pt_BR/linux/brctl.md index db1871a50255ed..38868b81d860d2 100644 --- a/pages.pt_BR/linux/brctl.md +++ b/pages.pt_BR/linux/brctl.md @@ -1,8 +1,9 @@ # brctl > Administração de pontes de rede. +> Mais informações: . -- Exibir uma lista com informações das pontes de rede existentes: +- Exibe uma lista com informações das pontes de rede existentes: `sudo brctl show` @@ -10,14 +11,14 @@ `sudo brctl add {{nome_da_ponte}}` -- Remover uma ponte de rede: +- Remove uma ponte de rede: `sudo brctl del {{nome_da_ponte}}` -- Adicionar uma interface de rede em uma ponte de rede existente: +- Adiciona uma interface de rede em uma ponte de rede existente: `sudo brctl addif {{nome_da_ponte}} {{nome_da_interface_de_rede}}` -- Remover uma interface de rede de uma ponte de rede existente: +- Remove uma interface de rede de uma ponte de rede existente: `sudo brctl delif {{nome_da_ponte}} {{nome_da_interface_de_rede}}` diff --git a/pages.pt_BR/linux/brew.md b/pages.pt_BR/linux/brew.md deleted file mode 100644 index 468793bec6abb7..00000000000000 --- a/pages.pt_BR/linux/brew.md +++ /dev/null @@ -1,35 +0,0 @@ -# brew - -> A versão Linux do gerenciador de pacotes Homebrew. - -- Buscar por fórmulas disponíveis: - -`brew search {{termo_da_busca}}` - -- Instalar a última versão estável de uma fórmula (utilizar `--devel` para versões de desenvolvimento): - -`brew install {{formula}}` - -- Listar as fórmulas instaladas: - -`brew list` - -- Atualizar uma fórmula instalada (se não for informado o nome de uma fórmula, todas as fórmulas serão atualizadas): - -`brew upgrade {{formula}}` - -- Recuperar a versão mais recente do Linuxbrew e de todas as fórmulas do GitHub: - -`brew update` - -- Exibir as fórmulas que possuem novas versões disponíveis: - -`brew outdated` - -- Exibir informações sobre uma fórmula (versão, caminho de instalação, dependências, etc.): - -`brew info {{formula}}` - -- Verificar a instalação local em busca de possíveis problemas: - -`brew doctor` diff --git a/pages.pt_BR/linux/bspc.md b/pages.pt_BR/linux/bspc.md new file mode 100644 index 00000000000000..7c4ef4e083151f --- /dev/null +++ b/pages.pt_BR/linux/bspc.md @@ -0,0 +1,29 @@ +# bspc + +> Configura e controla `bspwm`, gerenciando nós, áreas de trabalho, monitores, e outros. +> Veja também: `bspwm`. +> Mais informações: . + +- Define duas áreas de trabalho virtuais: + +`bspc monitor --reset-desktops {{nome_da_area_1}} {{nome_da_area_2}}` + +- Foca em uma área de trabalho determinada: + +`bspc desktop --focus {{numero}}` + +- Fecha as janelas atreladas ao nó selecionado: + +`bspc node --close` + +- Envia o nó selecionado para uma área de trabalho determinada: + +`bspc node --to-desktop {{numero}}` + +- Alterna o nó selecionado para modo de tela cheia: + +`bspc node --state ~fullscreen` + +- Define o valor de uma configuração específica: + +`bspc config {{nome_da_configuracao}} {{valor}}` diff --git a/pages.pt_BR/linux/bspwm.md b/pages.pt_BR/linux/bspwm.md new file mode 100644 index 00000000000000..39b12f530c2c95 --- /dev/null +++ b/pages.pt_BR/linux/bspwm.md @@ -0,0 +1,9 @@ +# bspwm + +> Um gerenciador de janelas em mosaico baseado em um particionamento de espaço binário. +> Veja também: `bspc`, para controlá-lo. +> Mais informações: . + +- Inicia `bspwm` (um gerenciador de janelas pré existente não deve estar aberto quando esse comando for executado): + +`bspwm -c {{caminho/para/configuracao}}` diff --git a/pages.pt_BR/linux/btrfs-balance.md b/pages.pt_BR/linux/btrfs-balance.md new file mode 100644 index 00000000000000..8fdd408e95593e --- /dev/null +++ b/pages.pt_BR/linux/btrfs-balance.md @@ -0,0 +1,32 @@ +# btrfs balance + +> Balanceia grupos de blocos em um sistema de arquivos btrfs. +> Mais informações: . + +- Mostra o status de uma operação balance em execução ou pausada: + +`sudo btrfs balance status {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Balanceia todos os grupos de blocos (lento; reescreve todos os blocos no sistema de arquivos): + +`sudo btrfs balance start {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Balanceia grupos de blocos de dados com menos de 15% de utilização, executando a operação em segundo plano: + +`sudo btrfs balance start --bg -dusage={{15}} {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Balanceia um máximo de 10 partes de metadados com menos de 20% de utilização e pelo menos 1 parte em um determinado dispositivo `devid` (consulte `btrfs filesystem show`): + +`sudo btrfs balance start -musage={{20}},limit={{10}},devid={{devid}} {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Converte blocos de dados para raid6 e metadados para raid1c3 (veja mkfs.btrfs(8) para perfis): + +`sudo btrfs balance start -dconvert={{raid6}} -mconvert={{raid1c3}} {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Converte blocos de dados para raid1, pulando pedaços já convertidos (por exemplo, após uma operação de conversão cancelada anterior): + +`sudo btrfs balance start -dconvert={{raid1}},soft {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Cancela, pausa ou retoma uma operação de balanceamento em execução ou pausada: + +`sudo btrfs balance {{cancel|pause|resume}} {{caminho/para/sistema_de_arquivos_btrfs}}` diff --git a/pages.pt_BR/linux/btrfs-check.md b/pages.pt_BR/linux/btrfs-check.md new file mode 100644 index 00000000000000..8a472839f52e91 --- /dev/null +++ b/pages.pt_BR/linux/btrfs-check.md @@ -0,0 +1,32 @@ +# btrfs check + +> Verifica ou repara um sistema de arquivos btrfs. +> Mais informações: . + +- Verifica um sistema de arquivos btrfs: + +`sudo btrfs check {{caminho/para/partição}}` + +- Verifica e repara um sistema de arquivos btrfs (perigoso): + +`sudo btrfs check --repair {{caminho/para/partição}}` + +- Mostra o andamento da verificação: + +`sudo btrfs check --progress {{caminho/para/partição}}` + +- Verifica a soma de verificação de cada bloco de dados (se o sistema de arquivos estiver bom): + +`sudo btrfs check --check-data-csum {{caminho/para/partição}}` + +- Usa o `n`-ésimo superbloco (`n` pode ser 0, 1 ou 2): + +`sudo btrfs check --super {{n}} {{caminho/para/partição}}` + +- Reconstrói a árvore de soma de verificação: + +`sudo btrfs check --repair --init-csum-tree {{caminho/para/partição}}` + +- Reconstrói a árvore de extensão: + +`sudo btrfs check --repair --init-extent-tree {{caminho/para/partição}}` diff --git a/pages.pt_BR/linux/btrfs-device.md b/pages.pt_BR/linux/btrfs-device.md new file mode 100644 index 00000000000000..85cce01d0909cd --- /dev/null +++ b/pages.pt_BR/linux/btrfs-device.md @@ -0,0 +1,24 @@ +# btrfs device + +> Gerencia dispositivos em um sistema de arquivos btrfs. +> Mais informações: . + +- Adiciona um ou mais dispositivos a um sistema de arquivos btrfs: + +`sudo btrfs device add {{caminho/para/bloco_do_dispositivo1}} [{{caminho/para/bloco_do_dispositivo2}}] {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Remove um dispositivo de um sistema de arquivos btrfs: + +`sudo btrfs device remove {{caminho/para/dispositivo|id_do_dispositivo}} [{{...}}]` + +- Exibe estatísticas de erro: + +`sudo btrfs device stats {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Examina todos os discos e informa ao kernel todos os sistemas de arquivos btrfs detectados: + +`sudo btrfs device scan --all-devices` + +- Exibe estatísticas detalhadas de alocação por disco: + +`sudo btrfs device usage {{caminho/para/sistema_de_arquivos_btrfs}}` diff --git a/pages.pt_BR/linux/btrfs-filesystem.md b/pages.pt_BR/linux/btrfs-filesystem.md new file mode 100644 index 00000000000000..36c9877603485b --- /dev/null +++ b/pages.pt_BR/linux/btrfs-filesystem.md @@ -0,0 +1,28 @@ +# btrfs filesystem + +> Gerencia sistemas de arquivos btrfs. +> Mais informações: . + +- Mostra uso do sistema de arquivos (opcionalmente execute como root para mostrar informações detalhadas): + +`btrfs filesystem usage {{caminho/para/montagem_btrfs}}` + +- Mostra uso por dispositivos individuais: + +`sudo btrfs filesystem show {{caminho/para/montagem_btrfs}}` + +- Desfragmenta um único arquivo em um sistema de arquivos btrfs (evite enquanto um agente de desduplicação estiver em execução): + +`sudo btrfs filesystem defragment -v {{caminho/para/arquivo}}` + +- Desfragmenta um diretório recursivamente (não cruza os limites do subvolume): + +`sudo btrfs filesystem defragment -v -r {{caminho/para/diretório}}` + +- Força a sincronização de blocos de dados não gravados com o(s) disco(s): + +`sudo btrfs filesystem sync {{caminho/para/montagem_btrfs}}` + +- Resume o uso do disco para os arquivos em um diretório recursivamente: + +`sudo btrfs filesystem du --summarize {{caminho/para/diretório}}` diff --git a/pages.pt_BR/linux/btrfs-inspect-internal.md b/pages.pt_BR/linux/btrfs-inspect-internal.md new file mode 100644 index 00000000000000..edc1090c98be5e --- /dev/null +++ b/pages.pt_BR/linux/btrfs-inspect-internal.md @@ -0,0 +1,28 @@ +# btrfs inspect-internal + +> Consulta informações internas de um sistema de arquivos btrfs. +> Mais informações: . + +- Imprime informações de superblocos: + +`sudo btrfs inspect-internal dump-super {{caminho/para/partição}}` + +- Imprime as informações do superbloco e de todas as suas cópias: + +`sudo btrfs inspect-internal dump-super --all {{caminho/para/partição}}` + +- Imprime informações de metadados do sistema de arquivos: + +`sudo btrfs inspect-internal dump-tree {{caminho/para/partição}}` + +- Imprime lista de arquivos no `n`-ésimo inode: + +`sudo btrfs inspect-internal inode-resolve {{n}} {{caminho/para/montagem_btrfs}}` + +- Imprime a lista de arquivos em um determinado endereço lógico: + +`sudo btrfs inspect-internal logical-resolve {{endereço_lógico}} {{caminho/para/montagem_btrfs}}` + +- Imprime as estatísticas das árvores raiz, extensão, csum e fs: + +`sudo btrfs inspect-internal tree-stats {{caminho/para/partição}}` diff --git a/pages.pt_BR/linux/btrfs-property.md b/pages.pt_BR/linux/btrfs-property.md new file mode 100644 index 00000000000000..c80e4058f6701c --- /dev/null +++ b/pages.pt_BR/linux/btrfs-property.md @@ -0,0 +1,24 @@ +# btrfs property + +> Obtém, define ou lista propriedades para um determinado objeto de sistema de arquivos btrfs (arquivos, diretórios, subvolumes, sistemas de arquivos ou dispositivos). +> Mais informações: . + +- Lista as propriedades disponíveis (e descrições) para o objeto btrfs fornecido: + +`sudo btrfs property list {{caminho/para/objeto_btrfs}}` + +- Obtém todas as propriedades para o objeto btrfs fornecido: + +`sudo btrfs property get {{caminho/para/objeto_btrfs}}` + +- Obtém a propriedade `label` (etiqueta) para o sistema de arquivos ou dispositivo btrfs fornecido: + +`sudo btrfs property get {{caminho/para/sistema_de_arquivos_btrfs}} label` + +- Obtém todas as propriedades específicas do tipo de objeto para o sistema de arquivos ou dispositivo btrfs fornecido: + +`sudo btrfs property get -t {{subvol|filesystem|inode|device}} {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Define a propriedade de `compression` (compactação) para um determinado inode btrfs (um arquivo ou diretório): + +`sudo btrfs property set {{caminho/para/inode_btrfs}} compression {{zstd|zlib|lzo|none}}` diff --git a/pages.pt_BR/linux/btrfs-rescue.md b/pages.pt_BR/linux/btrfs-rescue.md new file mode 100644 index 00000000000000..4f38eb17f3142d --- /dev/null +++ b/pages.pt_BR/linux/btrfs-rescue.md @@ -0,0 +1,24 @@ +# btrfs rescue + +> Tenta recuperar um sistema de arquivos btrfs danificado. +> Mais informações: . + +- Reconstrói a árvore de metadados do sistema de arquivos (muito lento): + +`sudo btrfs rescue chunk-recover {{caminho/para/partição}}` + +- Corrige problemas relacionados ao alinhamento do tamanho do dispositivo (por exemplo, incapaz de montar o sistema de arquivos com incompatibilidade de super total de bytes): + +`sudo btrfs rescue fix-device-size {{caminho/para/partição}}` + +- Recupera um superblock corrompido das cópias corretas (recupere a raiz da árvore do sistema de arquivos): + +`sudo btrfs rescue super-recover {{caminho/para/partição}}` + +- Recupera-se de uma transação interrompida (corrige problemas de repetição de log): + +`sudo btrfs rescue zero-log {{caminho/para/partição}}` + +- Cria um dispositivo de controle `/dev/btrfs-control` quando o `mknod` não estiver instalado: + +`sudo btrfs rescue create-control-device` diff --git a/pages.pt_BR/linux/btrfs-restore.md b/pages.pt_BR/linux/btrfs-restore.md new file mode 100644 index 00000000000000..00f3f9f304bdd2 --- /dev/null +++ b/pages.pt_BR/linux/btrfs-restore.md @@ -0,0 +1,24 @@ +# btrfs restore + +> Tenta salvar arquivos de um sistema de arquivos btrfs danificado. +> Mais informações: . + +- Restaura todos os arquivos de um sistema de arquivos btrfs para um determinado diretório: + +`sudo btrfs restore {{caminho/para/dispositivo_btrfs}} {{caminho/para/diretório_alvo}}` + +- Lista (sem escrever) os arquivos a serem restaurados de um sistema de arquivos btrfs: + +`sudo btrfs restore --dry-run {{caminho/para/dispositivo_btrfs}} {{caminho/para/diretório_alvo}}` + +- Restaura arquivos correspondentes a determinados padrões regex ([c]ase-insensitive) de um sistema de arquivos btrfs (todos os diretórios pai do(s) arquivo(s) de destino também devem corresponder): + +`sudo btrfs restore --path-regex {{regex}} -c {{caminho/para/dispositivo_btrfs}} {{caminho/para/diretório_alvo}}` + +- Restaura arquivos de um sistema de arquivos btrfs usando um `bytenr` específico da árvore raiz (consulte `btrfs-find-root`): + +`sudo btrfs restore -t {{bytenr}} {{caminho/para/dispositivo_btrfs}} {{caminho/para/diretório_alvo}}` + +- Restaura arquivos de um sistema de arquivos btrfs (juntamente com metadados, atributos estendidos e Symlinks), sobrescrevendo arquivos no destino: + +`sudo btrfs restore --metadata --xattr --symlinks --overwrite {{caminho/para/dispositivo_btrfs}} {{caminho/para/diretório_alvo}}` diff --git a/pages.pt_BR/linux/btrfs-scrub.md b/pages.pt_BR/linux/btrfs-scrub.md new file mode 100644 index 00000000000000..e11751d5b65053 --- /dev/null +++ b/pages.pt_BR/linux/btrfs-scrub.md @@ -0,0 +1,29 @@ +# btrfs scrub + +> Varre os sistemas de arquivos btrfs para verificar a integridade dos dados. +> Recomenda-se fazer uma varredura uma vez por mês. +> Mais informações: . + +- Começar uma varredura: + +`sudo btrfs scrub start {{caminho/para/ponto_de_montagem_btrfs}}` + +- Mostra o status de uma varredura em andamento ou concluída: + +`sudo btrfs scrub status {{caminho/para/ponto_de_montagem_btrfs}}` + +- Cancela uma varredura em andamento: + +`sudo btrfs scrub cancel {{caminho/para/ponto_de_montagem_btrfs}}` + +- Retoma uma varredura cancelada anteriormente: + +`sudo btrfs scrub resume {{caminho/para/ponto_de_montagem_btrfs}}` + +- Inicia uma varredura, mas espera até que a varredura termine antes de sair: + +`sudo btrfs scrub start -B {{caminho/para/ponto_de_montagem_btrfs}}` + +- Inicia uma varredura no modo silencioso (não imprime erros ou estatísticas): + +`sudo btrfs scrub start -q {{caminho/para/ponto_de_montagem_btrfs}}` diff --git a/pages.pt_BR/linux/btrfs-subvolume.md b/pages.pt_BR/linux/btrfs-subvolume.md new file mode 100644 index 00000000000000..8c82fcef5b0ed4 --- /dev/null +++ b/pages.pt_BR/linux/btrfs-subvolume.md @@ -0,0 +1,28 @@ +# btrfs subvolume + +> Gerencia subvolumes e snapshots btrfs. +> Mais informações: . + +- Cria um novo subvolume vazio: + +`sudo btrfs subvolume create {{caminho/para/novo_subvolume}}` + +- Lista todos os subvolumes e snapshots no sistema de arquivos especificado: + +`sudo btrfs subvolume list {{caminho/para/sistema_de_arquivos_btrfs}}` + +- Exclui um subvolume: + +`sudo btrfs subvolume delete {{caminho/para/subvolume}}` + +- Cria um snapshot somente leitura de um subvolume existente: + +`sudo btrfs subvolume snapshot -r {{caminho/para/subvolume_de_origem}} {{caminho/para/destino}}` + +- Cria um snapshot de leitura/gravação de um subvolume existente: + +`sudo btrfs subvolume snapshot {{caminho/para/subvolume_de_origem}} {{caminho/para/destino}}` + +- Mostra informações detalhadas sobre um subvolume: + +`sudo btrfs subvolume show {{caminho/para/subvolume}}` diff --git a/pages.pt_BR/linux/btrfs-version.md b/pages.pt_BR/linux/btrfs-version.md new file mode 100644 index 00000000000000..ebd4cc31ce2350 --- /dev/null +++ b/pages.pt_BR/linux/btrfs-version.md @@ -0,0 +1,12 @@ +# btrfs version + +> Exibe a versão do btrfs-progs. +> Mais informações: . + +- Exibe a ajuda: + +`btrfs version --help` + +- Exibe a versão do btrfs-progs: + +`btrfs version` diff --git a/pages.pt_BR/linux/btrfs.md b/pages.pt_BR/linux/btrfs.md new file mode 100644 index 00000000000000..960dd91bab0762 --- /dev/null +++ b/pages.pt_BR/linux/btrfs.md @@ -0,0 +1,25 @@ +# btrfs + +> Um sistema de arquivos baseado no princípio copy-on-write (COW) para Linux. +> Alguns subcomandos como `device` têm sua própria documentação de uso. +> Mais informações: . + +- Cria subvolume: + +`sudo btrfs subvolume create {{caminho/para/subvolume}}` + +- Lista subvolumes: + +`sudo btrfs subvolume list {{caminho/para/ponto_de_montagem}}` + +- Mostra informações de uso do espaço: + +`sudo btrfs filesystem df {{caminho/para/ponto_de_montagem}}` + +- Ativa a cota: + +`sudo btrfs quota enable {{caminho/para/subvolume}}` + +- Mostra a cota: + +`sudo btrfs qgroup show {{caminho/para/subvolume}}` diff --git a/pages.pt_BR/linux/bzip2.md b/pages.pt_BR/linux/bzip2.md deleted file mode 100644 index 008f3e84bc1d80..00000000000000 --- a/pages.pt_BR/linux/bzip2.md +++ /dev/null @@ -1,15 +0,0 @@ -# bzip2 - -> Um compressor de arquivos que utiliza o algoritmo Burrows–Wheeler. - -- Compactar um arquivo: - -`bzip2 {{arquivo}}` - -- Descompactar um arquivo: - -`bzip2 -d {{arquivo.bz2}}` - -- Descompactar um arquivo exibindo o conteúdo no terminal: - -`bzip2 -dc {{arquivo.bz2}}` diff --git a/pages.pt_BR/linux/cal.md b/pages.pt_BR/linux/cal.md index c5984c3dfee7da..578e348631a656 100644 --- a/pages.pt_BR/linux/cal.md +++ b/pages.pt_BR/linux/cal.md @@ -1,23 +1,32 @@ # cal -> Exibe as informações do calendário, destacando o dia atual. +> Exibe um calendário com o dia atual destacado. +> Mais informações: . -- Exibir o calendário do mês atual: +- Exibe o calendário do mês atual: `cal` -- Exibir o calendário do meses anterior, atual e seguinte: +- Exibe o calendário do meses anterior, atual e seguinte: -`cal -3` +`cal {{[-3|--three]}}` -- Utilizar segunda-feira como o primeiro dia da semana: +- Mostra o calendário completo para o ano atual: -`cal --monday` +`cal {{[-y|--year]}}` -- Exibir o calendário de um ano específico (4 dígitos): +- Mostra os próximos doze meses: + +`cal {{[-Y|--twelve]}}` + +- Utiliza segunda-feira como o primeiro dia da semana: + +`cal {{[-m|--monday]}}` + +- Exibe o calendário de um ano específico (4 dígitos): `cal {{ano}}` -- Exibir o calendário para um mês e ano específico: +- Exibe o calendário para um mês e ano específico: `cal {{mes}} {{ano}}` diff --git a/pages.pt_BR/linux/calc.md b/pages.pt_BR/linux/calc.md deleted file mode 100644 index cdd731d1ef17f6..00000000000000 --- a/pages.pt_BR/linux/calc.md +++ /dev/null @@ -1,11 +0,0 @@ -# calc - -> Calculadora interativa de precisão arbitrária no terminal. - -- Iniciar a calculadora em modo interativo: - -`calc` - -- Realizar o cálculo em modo não interativo: - -`calc -p '{{85 * (36 / 4)}}'` diff --git a/pages.pt_BR/linux/calcurse.md b/pages.pt_BR/linux/calcurse.md index b5588b7423e380..9d6fdab2841de2 100644 --- a/pages.pt_BR/linux/calcurse.md +++ b/pages.pt_BR/linux/calcurse.md @@ -3,22 +3,22 @@ > Um calendário e agenda baseados em texto para a linha de comando. > Mais informações: . -- Iniciar o calcurse em modo interativo: +- Inicia o calcurse em modo interativo: `calcurse` -- Mostrar os agendamentos e eventos para o presente dia: +- Mostra os agendamentos e eventos para o presente dia: `calcurse --appointment` -- Apagar todos os objetos gravados localmente e importar os objetos remotos: +- Apaga todos os objetos gravados localmente e importa os objetos remotos: `calcurse-caldav --init=keep-remote` -- Apagar todos os objetos remotos e enviar os objetos gravados localmente: +- Apaga todos os objetos remotos e envia os objetos gravados localmente: `calcurse-caldav --init=keep-local` -- Copiar os objetos gravados localmente para o servidor CalDAV e vice-versa: +- Copia os objetos gravados localmente para o servidor CalDAV e vice-versa: `calcurse-caldav --init=two-way` diff --git a/pages.pt_BR/linux/cat.md b/pages.pt_BR/linux/cat.md new file mode 100644 index 00000000000000..a0c47c46db2658 --- /dev/null +++ b/pages.pt_BR/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> Imprime e concatena arquivos. +> Mais informações: . + +- Imprime o conteúdo de um arquivo na `stdout`: + +`cat {{caminho/para/arquivo}}` + +- Concatena vários arquivos em um arquivo de saída: + +`cat {{caminho/para/arquivo1 caminho/para/arquivo2 ...}} > {{caminho/para/arquivo_de_saída}}` + +- Anexa vários arquivos a um arquivo de saída: + +`cat {{caminho/para/arquivo1 caminho/para/arquivo2 ...}} >> {{caminho/para/arquivo_de_saída}}` + +- Escreve a `stdin` em um arquivo: + +`cat - > {{caminho/para/arquivo}}` + +- [n]umera todas as linhas de saída: + +`cat {{[-n|--number]}} {{caminho/para/arquivo}}` + +- Exibe caracteres não imprimíveis e espaço em branco (com o prefixo `M-` se não for ASCII): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/linux/cc.md b/pages.pt_BR/linux/cc.md new file mode 100644 index 00000000000000..de0ce80599a8a4 --- /dev/null +++ b/pages.pt_BR/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Este comando é um apelido de `gcc`. + +- Exibe documentação sobre o comando original: + +`tldr gcc` diff --git a/pages.pt_BR/linux/certbot.md b/pages.pt_BR/linux/certbot.md index 83a00dd4649d86..0da36f68a87b04 100644 --- a/pages.pt_BR/linux/certbot.md +++ b/pages.pt_BR/linux/certbot.md @@ -2,27 +2,28 @@ > O agente da Let's Encrypt para obtenção e renovação de certificados TLS automaticamente. > Sucessor do `letsencrypt`. +> Mais informações: . -- Obter um novo certificado via autorização webroot, porém sem instalá-lo automaticamente: +- Obtém um novo certificado via autorização webroot, porém sem instala-o automaticamente: -`sudo certbot certonly --webroot --webroot-path {{caminho_para_webroot}} --domain {{subdominio.dominio.com}}` +`sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{caminho_para_webroot}} {{[-d|--domain]}} {{subdominio.dominio.com}}` -- Obter um novo certificado via autorização nginx e instalá-lo automaticamente: +- Obtém um novo certificado via autorização nginx e instala-o automaticamente: -`sudo certbot --nginx --domain {{subdominio.dominio.com}}` +`sudo certbot --nginx {{[-d|--domain]}} {{subdominio.dominio.com}}` -- Obter um novo certificado via autorização apache e instalá-lo automaticamente: +- Obtém um novo certificado via autorização apache e instala-o automaticamente: -`sudo certbot --apache --domain {{subdominio.dominio.com}}` +`sudo certbot --apache {{[-d|--domain]}} {{subdominio.dominio.com}}` -- Renovar todos os certificados que expirarão em 30 dias ou menos (não esqueça de reiniciar todos os servidores que usam os certificados): +- Renova todos os certificados que expirarão em 30 dias ou menos (não esqueça de reiniciar todos os servidores que usam os certificados): `sudo certbot renew` -- Simular a obtenção de um novo certificado, porém sem salvá-lo no disco rígido: +- Simula a obtenção de um novo certificado, porém sem salvá-lo no disco rígido: -`sudo certbot --webroot --webroot-path {{caminho_para_webroot}} --domain {{subdominio.dominio.com}} --dry-run` +`sudo certbot --webroot {{[-w|--webroot-path]}} {{caminho_para_webroot}} {{[-d|--domain]}} {{subdominio.dominio.com}} --dry-run` -- Obter um certificado não confiável para testes: +- Obtém um certificado não confiável para testes: -`sudo certbot --webroot --webroot-path {{caminho_para_webroot}} --domain {{subdominio.dominio.com}} --test-cert` +`sudo certbot --webroot {{[-w|--webroot-path]}} {{caminho_para_webroot}} {{[-d|--domain]}} {{subdominio.dominio.com}} --test-cert` diff --git a/pages.pt_BR/linux/cgclassify.md b/pages.pt_BR/linux/cgclassify.md new file mode 100644 index 00000000000000..e44b7210196bb1 --- /dev/null +++ b/pages.pt_BR/linux/cgclassify.md @@ -0,0 +1,16 @@ +# cgclassify + +> Move tarefas em execução para `cgroups`. +> Mais informações: . + +- Move o processo com um PID específico para o grupo de controle estudante na hierarquia CPU: + +`cgclassify -g {{cpu:estudante}} {{1234}}` + +- Move o processo com um PID específico para grupos de controle baseados no arquivo de configuração `/etc/cgrules.conf`: + +`cgclassify {{1234}}` + +- Move o processo com um PID específico para o grupo de controle estudante na hierarquia CPU. Note: o daemon do serviço `cgred` não altera `cgroups` do PID específico e seus filhos (com base em `/etc/cgrules.conf`): + +`cgclassify --sticky -g {{cpu:/estudante}} {{1234}}` diff --git a/pages.pt_BR/linux/cgcreate.md b/pages.pt_BR/linux/cgcreate.md new file mode 100644 index 00000000000000..41303d40643a01 --- /dev/null +++ b/pages.pt_BR/linux/cgcreate.md @@ -0,0 +1,17 @@ +# cgcreate + +> Cria cgroups, usados para limitar, medir e controlar recursos usados pelos processos. +> Tipos de `cgroups` podem ser `memory`, `cpu`, `net_cls`, etc. +> Mais informações: . + +- Cria um novo grupo: + +`cgcreate -g {{tipo_grupo}}:{{nome_grupo}}` + +- Cria um novo grupo com vários tipos de cgroup: + +`cgcreate -g {{tipo_grupo1}},{{tipo_grupo2}}:{{nome_grupo}}` + +- Cria um subgrupo: + +`mkdir /sys/fs/cgroup/{{tipo_grupo2}}/{{nome_grupo}}/{{nome_subgrupo}}` diff --git a/pages.pt_BR/linux/cgexec.md b/pages.pt_BR/linux/cgexec.md new file mode 100644 index 00000000000000..927e099ea8b227 --- /dev/null +++ b/pages.pt_BR/linux/cgexec.md @@ -0,0 +1,9 @@ +# cgexec + +> Limita, mede e controla recursos usados pelos processos. +> Há vários tipos de cgroup (conhecidos como controladores), tal como `cpu`, `memory`, etc. +> Mais informações: . + +- Executa um processo em um cgroup e controlador providos pelo usuário: + +`cgexec -g {{controlador}}:{{nome_cgroup}} {{nome_processo}}` diff --git a/pages.pt_BR/linux/cgroups.md b/pages.pt_BR/linux/cgroups.md new file mode 100644 index 00000000000000..bf9d217b16a5ca --- /dev/null +++ b/pages.pt_BR/linux/cgroups.md @@ -0,0 +1,17 @@ +# cgroups + +> Cgroups, também conhecido como control groups, é uma funcionalidade do kernel para limitar, mensurar, e controlar o uso de recursos por processos. +> No entanto Cgroups não é um comando, mas sim uma coleção de comandos, veja páginas relevantes abaixo. +> Mais informações: . + +- Exibe documentação de `cgclassify`: + +`tldr cgclassify` + +- Exibe documentação de `cgcreate`: + +`tldr cgcreate` + +- Exibe documentação de `cgexec`: + +`tldr cgexec` diff --git a/pages.pt_BR/linux/chage.md b/pages.pt_BR/linux/chage.md index 40816ffd8be67b..3c3c08a4045fc3 100644 --- a/pages.pt_BR/linux/chage.md +++ b/pages.pt_BR/linux/chage.md @@ -1,23 +1,24 @@ # chage > Gerencia informações de expiração de conta e senha do usuário. +> Mais informações: . -- Exibir as informações referentes a senha do usuário: +- Exibe as informações referentes a senha do usuário: -`chage -l {{nome_do_usuario}}` +`chage --list {{nome_do_usuario}}` -- Habilitar a expiração da senha do usuário em 10 dias: +- Habilita a expiração da senha do usuário em 10 dias: -`sudo chage -M {{10}} {{nome_do_usuario}}` +`sudo chage --maxdays {{10}} {{nome_do_usuario}}` -- Desabilitar a expiração da senha do usuário: +- Desabilita a expiração da senha do usuário: -`sudo chage -M -1 {{nome_do_usuario}}` +`sudo chage --maxdays {{-1}} {{nome_do_usuario}}` -- Definir a data de expiração da conta do usuário: +- Define a data de expiração da conta do usuário: -`sudo chage -E {{YYYY-MM-DD}}` +`sudo chage --expiredate {{YYYY-MM-DD}} {{nome_do_usuario}}` -- Obrigar o usuário a alterar sua senha no próximo login: +- Obriga o usuário a alterar sua senha no próximo login: -`sudo chage -d 0` +`sudo chage --lastday {{0}} {{nome_do_usuario}}` diff --git a/pages.pt_BR/linux/chattr.md b/pages.pt_BR/linux/chattr.md index 0097eb4e90d0eb..58d6a98a106d8d 100644 --- a/pages.pt_BR/linux/chattr.md +++ b/pages.pt_BR/linux/chattr.md @@ -1,15 +1,16 @@ # chattr > Altera os atributos de arquivos ou diretórios. +> Mais informações: . -- Bloquear um arquivo ou diretório para mudanças ou remoção, mesmo para um super usuário: +- Bloqueia um arquivo ou diretório para mudanças ou remoção, mesmo para um super usuário: `chattr +i {{caminho_do_arquivo_ou_diretorio}}` -- Desbloquear um arquivo ou diretório: +- Desbloqueia um arquivo ou diretório: `chattr -i {{caminho_do_arquivo_ou_diretorio}}` -- Bloquear diretório e todos os seus arquivos para mudanças ou remoção: +- Bloqueia diretório e todos os seus arquivos para mudanças ou remoção: `chattr -R +i {{caminho_do_diretorio}}` diff --git a/pages.pt_BR/linux/chkconfig.md b/pages.pt_BR/linux/chkconfig.md index c7782564282b75..b5cfd0bcfbea3d 100644 --- a/pages.pt_BR/linux/chkconfig.md +++ b/pages.pt_BR/linux/chkconfig.md @@ -1,27 +1,28 @@ # chkconfig > Gerencia o runlevel dos serviços no CentOS 6. +> Mais informações: . -- Exibir os serviços com os respectivos runlevels: +- Exibe os serviços com os respectivos runlevels: `chkconfig --list` -- Exibir o runlevel de um serviço: +- Exibe o runlevel de um serviço: `chkconfig --list {{ntpd}}` -- Habilitar o início de um serviço durante o processo de boot: +- Habilita o início de um serviço durante o processo de boot: `chkconfig {{sshd}} on` -- Habilitar o início do serviço durante o processo de boot para os runlevels 2, 3, 4 e 5: +- Habilita o início do serviço durante o processo de boot para os runlevels 2, 3, 4 e 5: `chkconfig --level {{2345}} {{sshd}} on` -- Desabilitar a inicialização de um determinado serviço durante o processo de boot: +- Desabilita a inicialização de um determinado serviço durante o processo de boot: `chkconfig {{ntpd}} off` -- Desabilitar a inicialização de um determinado serviço durante o processo de boot para o runlevel 3: +- Desabilita a inicialização de um determinado serviço durante o processo de boot para o runlevel 3: `chkconfig --level {{3}} {{ntpd}} off` diff --git a/pages.pt_BR/linux/cmus.md b/pages.pt_BR/linux/cmus.md index 044a85dceb2bb1..9c7ab3cfc16265 100644 --- a/pages.pt_BR/linux/cmus.md +++ b/pages.pt_BR/linux/cmus.md @@ -1,24 +1,25 @@ # cmus > Player de música via terminal. -> Use as setas para navegar, `` para selecionar, e números 1-8 para alterar as telas de opções. +> Use `` para navegar, `` para selecionar, e números `<1>`-`<8>` para alterar as telas de opções. +> Mais informações: . -- Iniciar o cmus em um diretório específico: +- Inicia o cmus em um diretório específico: `cmus {{caminho_do_diretorio}}` -- Adicionar arquivo/diretório a biblioteca: +- Adiciona arquivo/diretório a biblioteca: -`:add {{caminho_para_arquivo_ou_diretorio}}` +`<:>add {{caminho_para_arquivo_ou_diretorio}}` -- Parar/reiniciar a música atual: +- Para/reinicia a música atual: -`c` +`` -- Ativar/Desativar o modo aleatório: +- Ativa/Desativa o modo aleatório: -`s` +`` -- Sair cmus: +- Sai do cmus: -`q` +`` diff --git a/pages.pt_BR/linux/command.md b/pages.pt_BR/linux/command.md deleted file mode 100644 index 240a661adf90af..00000000000000 --- a/pages.pt_BR/linux/command.md +++ /dev/null @@ -1,7 +0,0 @@ -# command - -> Obriga o shell a executar o programa, ignorando qualquer função ou alias com o mesmo nome. - -- Executar o programa ls, mesmo que exista algum alias ls: - -`command {{ls}}` diff --git a/pages.pt_BR/linux/compgen.md b/pages.pt_BR/linux/compgen.md deleted file mode 100644 index 8f61d9907fdc1c..00000000000000 --- a/pages.pt_BR/linux/compgen.md +++ /dev/null @@ -1,23 +0,0 @@ -# compgen - -> Um programa para auto completar comandos no Bash, ele é executado ao pressionar duas vezes a tecla TAB. - -- Exibir todos os comandos que você pode executar: - -`compgen -c` - -- Exibir todos os alias: - -`compgen -a` - -- Exibir todas as funções que você pode executar: - -`compgen -A function` - -- Exibir todas as palavras reservadas do shell: - -`compgen -k` - -- Exibir todos os comandos/alias que iniciam com o termo 'ls': - -`compgen -ac {{ls}}` diff --git a/pages.pt_BR/linux/cpuid.md b/pages.pt_BR/linux/cpuid.md index 21b909da628e04..7e8769dc77d93d 100644 --- a/pages.pt_BR/linux/cpuid.md +++ b/pages.pt_BR/linux/cpuid.md @@ -1,15 +1,16 @@ # cpuid > Exibe informações detalhadas sobre todas as CPUs. +> Mais informações: . -- Exibir informações de todas as CPUs: +- Exibe informações de todas as CPUs: `cpuid` -- Exibir informações apenas da CPU atual: +- Exibe informações apenas da CPU atual: -`cpuid -1` +`cpuid {{[-1|--one-cpu]}}` -- Exibir informações em hexadecimal sem decodificação: +- Exibe informações em hexadecimal sem decodificação: -`cpuid -r` +`cpuid {{[-r|--raw]}}` diff --git a/pages.pt_BR/linux/csplit.md b/pages.pt_BR/linux/csplit.md index d03325cf8e5f2e..1ad45340e4c0df 100644 --- a/pages.pt_BR/linux/csplit.md +++ b/pages.pt_BR/linux/csplit.md @@ -2,23 +2,24 @@ > Divide um arquivo em várias partes. > O padrão de nomenclatura dos arquivos será "xx00", "xx01" e assim por diante. +> Mais informações: . -- Dividir um arquivo nas linhas 5 e 23: +- Divide um arquivo nas linhas 5 e 23: -`csplit {{arquivo}} {{5}} {{23}}` +`csplit {{arquivo}} 5 23` -- Dividir um arquivo a cada 5 linhas (este comando irá falhar se o total de linhas do arquivo não for divisível por 5): +- Divide um arquivo a cada 5 linhas (este comando irá falhar se o total de linhas do arquivo não for divisível por 5): -`csplit {{arquivo}} {{5}} {*}` +`csplit {{arquivo}} 5 {*}` -- Dividir um arquivo a cada 5 linhas, ignorando o fato do total de linhas ser divisível por 5: +- Divide um arquivo a cada 5 linhas, ignorando o fato do total de linhas ser divisível por 5: -`csplit -k {{arquivo}} {{5}} {*}` +`csplit {{[-k|--keep-files]}} {{arquivo}} 5 {*}` -- Dividir o arquivo na linha 5 e utilizar um prefixo específico para os arquivos de saída: +- Divide o arquivo na linha 5 e utiliza um prefixo específico para os arquivos de saída: -`csplit {{arquivo}} {{5}} -f {{prefix}}` +`csplit {{arquivo}} 5 {{[-f|--prefix]}} {{prefix}}` -- Dividir um arquivo na linha que atenda a expressão regular: +- Divide um arquivo na linha que atenda a expressão regular: -`csplit {{arquivo}} /{{regex}}/` +`csplit {{arquivo}} /{{expressao_regular}}/` diff --git a/pages.pt_BR/linux/daemon.md b/pages.pt_BR/linux/daemon.md new file mode 100644 index 00000000000000..d57beba00e29e7 --- /dev/null +++ b/pages.pt_BR/linux/daemon.md @@ -0,0 +1,28 @@ +# daemon + +> Roda processos em daemons. +> Mais informações: . + +- Roda um comando como um daemon: + +`daemon --name="{{nome}}" {{comando}}` + +- Roda um comando como um daemon que será reiniciado se o comando falhar: + +`daemon --name="{{nome}}" --respawn {{comando}}` + +- Roda um comando como um daemon que será reiniciado se falar, com duas tentativas a cada 10 segundos: + +`daemon --name="{{nome}}" --respawn --attempts=2 --delay=10 {{comando}}` + +- Roda um comando como um daemon, gravando registros em um arquivo específico: + +`daemon --name="{{nome}}" --errlog={{caminho/para/arquivo.log}} {{comando}}` + +- Elimina um daemon (SIGTERM): + +`daemon --name="{{nome}}" --stop` + +- Lista os daemons: + +`daemon --list` diff --git a/pages.pt_BR/linux/darling.md b/pages.pt_BR/linux/darling.md new file mode 100644 index 00000000000000..969ec98e0bc01c --- /dev/null +++ b/pages.pt_BR/linux/darling.md @@ -0,0 +1,20 @@ +# darling + +> Executa software do macOS no Linux. +> Mais informações: . + +- Executa um comando integrado: + +`darling shell {{uname}}` + +- Executa um comando específico com argumentos: + +`darling shell {{caminho/para/programa}} {{argumento_do_programa_1 argumento_do_programa_2 ...}}` + +- Abre um shell do macOS: + +`darling shell` + +- Encerra o serviço: + +`darling shutdown` diff --git a/pages.pt_BR/linux/dconf-read.md b/pages.pt_BR/linux/dconf-read.md new file mode 100644 index 00000000000000..d6ff3573c928b6 --- /dev/null +++ b/pages.pt_BR/linux/dconf-read.md @@ -0,0 +1,13 @@ +# dconf read + +> Lê valores de chave dos bancos de dados dconf. +> Veja também: `dconf`. +> Mais informações: . + +- Imprime um valor de chave específico: + +`dconf read {{/caminho/para/chave}}` + +- Imprime o valor padrão de uma chave específica: + +`dconf read -d {{/caminho/para/chave}}` diff --git a/pages.pt_BR/linux/dconf-reset.md b/pages.pt_BR/linux/dconf-reset.md new file mode 100644 index 00000000000000..63f06d9e2068ff --- /dev/null +++ b/pages.pt_BR/linux/dconf-reset.md @@ -0,0 +1,13 @@ +# dconf reset + +> Redefine chaves valores nos bancos de dados dconf. +> Veja também: `dconf`. +> Mais informações: . + +- Redefine um valor de chave específico: + +`dconf reset {{/caminho/para/chave}}` + +- Redefine um diretório específico: + +`dconf reset -f {{/caminho/para/diretório/}}` diff --git a/pages.pt_BR/linux/dconf-write.md b/pages.pt_BR/linux/dconf-write.md new file mode 100644 index 00000000000000..20c29fb6119b52 --- /dev/null +++ b/pages.pt_BR/linux/dconf-write.md @@ -0,0 +1,29 @@ +# dconf write + +> Escreve valores de chave nos bancos de dados dconf. +> Veja também: `dconf`. +> Mais informações: . + +- Escreve um valor de chave específico: + +`dconf write {{/caminho/para/chave}} "{{valor}}"` + +- Escreve uma string específica como valor de chave: + +`dconf write {{/caminho/para/chave}} "'{{string}}'"` + +- Escreve um inteiro específico como valor de chave: + +`dconf write {{/caminho/para/chave}} "{{5}}"` + +- Escreve um booleano específico como valor de chave: + +`dconf write {{/caminho/para/chave}} "{{true|false}}"` + +- Escreve um array específico como valor de chave: + +`dconf write {{/caminho/para/chave}} "[{{'primeiro', 'segundo', ...}}]"` + +- Escreve um array vazio específico como valor de chave: + +`dconf write {{/caminho/para/chave}} "@as []"` diff --git a/pages.pt_BR/linux/dconf.md b/pages.pt_BR/linux/dconf.md new file mode 100644 index 00000000000000..b64891409ae3e1 --- /dev/null +++ b/pages.pt_BR/linux/dconf.md @@ -0,0 +1,29 @@ +# dconf + +> Gerencia banco de dados dconf. +> Veja também: `dconf-read`, `dconf-reset`, `dconf-write`, `gsettings`. +> Mais informações: . + +- Imprime um valor de chave específico: + +`dconf read {{/caminho/para/chave}}` + +- Imprime sub-diretórios e sub-chaves de um caminho específico: + +`dconf list {{/caminho/para/diretório/}}` + +- Grava um valor de chave específico: + +`dconf write {{/caminho/para/chave}} "{{valor}}"` + +- Redefine um valor de chave específico: + +`dconf reset {{/caminho/para/chave}}` + +- Observa alterações em uma chave/diretório específico: + +`dconf watch {{/caminho/para/chave|/caminho/para/diretório/}}` + +- Despeja um diretório específico no formato de arquivo INI: + +`dconf dump {{/caminho/para/diretório/}}` diff --git a/pages.pt_BR/linux/dd.md b/pages.pt_BR/linux/dd.md new file mode 100644 index 00000000000000..9ae4ac367ab041 --- /dev/null +++ b/pages.pt_BR/linux/dd.md @@ -0,0 +1,28 @@ +# dd + +> Converte e copia um arquivo. +> Mais informações: . + +- Cria um dispositivo USB inicializável a partir de um arquivo isohybrid (como `archlinux-xxx.iso`), e mostra o progresso: + +`dd if={{caminho/para/arquivo.iso}} of={{/dev/dispositivo_usb}} status=progress` + +- Clona um dispositivo para outro dispositivo com blocos de 4MiB e salva em disco antes de o comando finalizar a execução: + +`dd bs=4M conv=fsync if={{/dev/dispositivo_de_origem}} of={{/dev/dispositivo_de_destino}}` + +- Gera uma arquivo com um número específico de bytes aleatórios, usando o dispositivo aleatório do kernel: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{caminho/para/arquivo_aleatorio}}` + +- Cria um benchmark do desempenho de escrita de um disco: + +`dd bs={{1M}} count={{1024}} if=/dev/zero of={{caminho/para/arquivo_1GB}}` + +- Cria uma cópia de segurança do sistema, salva em um arquivo IMG (pode ser restaurado depois trocando o valor de `if` com o de `of`), e mostra o progresso: + +`dd if={{/dev/dispositivo_de_origem}} of={{caminho/para/arquivo.img}} status=progress` + +- Verifica o progresso de uma operação `dd` que está acontecendo (execute esse comando em outro terminal): + +`kill -USR1 $(pgrep -x dd)` diff --git a/pages.pt_BR/linux/diff3.md b/pages.pt_BR/linux/diff3.md index eb4324a7eaef69..814bb4d3f8797b 100644 --- a/pages.pt_BR/linux/diff3.md +++ b/pages.pt_BR/linux/diff3.md @@ -1,11 +1,12 @@ # diff3 > Compara 3 arquivos linha por linha. +> Mais informações: . -- Comparar os arquivos: +- Compara os arquivos: -`diff3 {{arquivo1}} {{arquivo2}} {{arquivo3}}` +`diff3 {{caminho/para/arquivo1}} {{caminho/para/arquivo2}} {{caminho/para/arquivo3}}` -- Exibir todas as diferenças, destacando os conflitos: +- Exibe todas as diferenças, destacando os conflitos: -`diff3 --show-all {{arquivo1}} {{arquivo2}} {{arquivo3}}` +`diff3 --show-all {{caminho/para/arquivo1}} {{caminho/para/arquivo2}} {{caminho/para/arquivo3}}` diff --git a/pages.pt_BR/linux/distrobox-create.md b/pages.pt_BR/linux/distrobox-create.md new file mode 100644 index 00000000000000..a529155695ebbb --- /dev/null +++ b/pages.pt_BR/linux/distrobox-create.md @@ -0,0 +1,13 @@ +# distrobox-create + +> Criar um contêiner Distrobox. Veja também: `tldr distrobox`. +> O contêiner criado será integrado ao sistema host, permitindo o compartilhamento do diretório HOME do usuário, armazenamento externo, dispositivos USB externos, aplicativos gráficos (X11/Wayland) e áudio. +> Mais informações: . + +- Cria um contêiner Distrobox usando a imagem do Ubuntu: + +`distrobox-create {{nome_do_contêiner}} --image {{ubuntu:latest}}` + +- Clona um contêiner Distrobox: + +`distrobox-create --clone {{nome_do_contêiner}} {{nome_do_contêiner_clonado}}` diff --git a/pages.pt_BR/linux/distrobox-enter.md b/pages.pt_BR/linux/distrobox-enter.md new file mode 100644 index 00000000000000..c5cfc975c6cba1 --- /dev/null +++ b/pages.pt_BR/linux/distrobox-enter.md @@ -0,0 +1,18 @@ +# distrobox-enter + +> Entrar em um contêiner Distrobox. Veja também: `tldr distrobox`. +> O comando padrão executado é o seu SHELL, mas você pode especificar shells diferentes ou comandos completos para serem executados. +> Se usado dentro de um script, um aplicativo ou um serviço, você pode usar o modo `--headless` para desabilitar o tty e a interatividade. +> Mais informações: . + +- Entra em um contêiner Distrobox: + +`distrobox-enter {{nome_do_contêiner}}` + +- Entra em um contêiner Distrobox e executa um comando no login: + +`distrobox-enter {{nome_do_contêiner}} -- {{sh -l}}` + +- Entra em um contêiner Distrobox sem instanciar um tty: + +`distrobox-enter --name {{nome_do_contêiner}} -- {{uptime -p}}` diff --git a/pages.pt_BR/linux/distrobox-export.md b/pages.pt_BR/linux/distrobox-export.md new file mode 100644 index 00000000000000..08e324271aacb9 --- /dev/null +++ b/pages.pt_BR/linux/distrobox-export.md @@ -0,0 +1,25 @@ +# distrobox-export + +> Exportar um aplicativo/serviço/binário do contêiner para o sistema operacional host. +> Subcomando de `distrobox`. Veja também: `tldr distrobox`. +> Mais informações: . + +- Exporta um aplicativo do contêiner para o host (a entrada e o ícone do aplicativo aparecerão na lista de aplicativos do seu sistema host): + +`distrobox-export --app {{nome_do_pacote}} --extra-flags "--foreground"` + +- Exporta um binário do contêiner para o host: + +`distrobox-export --bin {{caminho/para/binário}} --export-path {{caminho/para/binário_no_host}}` + +- Exporta um binário do contêiner para o host (por exemplo, `$HOME/.local/bin`): + +`distrobox-export --bin {{caminho/para/binário}} --export-path {{caminho/de/exportação}}` + +- Exporta um serviço do contêiner para o host (`--sudo` executará o serviço como root dentro do contêiner): + +`distrobox-export --service {{pacote}} --extra-flags "--allow-newer-config" --sudo` + +- Desexportar/deletar um aplicativo exportado: + +`distrobox-export --app {{pacote}} --delete` diff --git a/pages.pt_BR/linux/distrobox-host-exec.md b/pages.pt_BR/linux/distrobox-host-exec.md new file mode 100644 index 00000000000000..4133ada291f71f --- /dev/null +++ b/pages.pt_BR/linux/distrobox-host-exec.md @@ -0,0 +1,13 @@ +# distrobox-host-exec + +> Executar um comando no sistema host a partir do interior de um contêiner Distrobox. +> Subcomando de `distrobox`. Veja também: `tldr distrobox`. +> Mais informações: . + +- Executa um comando no sistema host a partir do interior do contêiner Distrobox: + +`distrobox-host-exec "{{comando}}"` + +- Executa o comando `ls` no sistema host a partir do interior do contêiner: + +`distrobox-host-exec ls` diff --git a/pages.pt_BR/linux/distrobox-list.md b/pages.pt_BR/linux/distrobox-list.md new file mode 100644 index 00000000000000..59fd43ac9e87fe --- /dev/null +++ b/pages.pt_BR/linux/distrobox-list.md @@ -0,0 +1,13 @@ +# distrobox-list + +> Listar todos os contêineres distrobox. Veja também: `tldr distrobox`. +> Os contêineres distrobox são listados separadamente dos demais contêineres normais do Podman ou Docker. +> Mais informações: . + +- Lista todos os contêineres distrobox: + +`distrobox-list` + +- Lista todos os contêineres distrobox com informações detalhadas: + +`distrobox-list --verbose` diff --git a/pages.pt_BR/linux/distrobox-rm.md b/pages.pt_BR/linux/distrobox-rm.md new file mode 100644 index 00000000000000..20f38acce3250c --- /dev/null +++ b/pages.pt_BR/linux/distrobox-rm.md @@ -0,0 +1,13 @@ +# distrobox-rm + +> Remover um contêiner Distrobox. +> Subcomando de `distrobox`. Veja também: `tldr distrobox`. +> Mais informações: . + +- Remove um contêiner Distrobox (Dica: Pare o contêiner antes de removê-lo): + +`distrobox-rm {{nome_do_contêiner}}` + +- Remove um contêiner Distrobox forçadamente: + +`distrobox-rm {{nome_do_contêiner}} --force` diff --git a/pages.pt_BR/linux/distrobox-stop.md b/pages.pt_BR/linux/distrobox-stop.md new file mode 100644 index 00000000000000..6c1832a1e92d4c --- /dev/null +++ b/pages.pt_BR/linux/distrobox-stop.md @@ -0,0 +1,13 @@ +# distrobox-stop + +> Parar um contêiner Distrobox. +> Subcomando de `distrobox`. Veja também: `tldr distrobox`. +> Mais informações: . + +- Para um contêiner Distrobox: + +`distrobox-stop {{nome_do_contêiner}}` + +- Para um contêiner Distrobox de forma não interativa (sem confirmação): + +`distrobox-stop --name {{nome_do_contêiner}} --yes` diff --git a/pages.pt_BR/linux/distrobox-upgrade.md b/pages.pt_BR/linux/distrobox-upgrade.md new file mode 100644 index 00000000000000..2ef54c4514df43 --- /dev/null +++ b/pages.pt_BR/linux/distrobox-upgrade.md @@ -0,0 +1,17 @@ +# distrobox-upgrade + +> Atualizar um ou vários contêineres distrobox. +> Subcomando de `distrobox`. Veja também: `tldr distrobox`. +> Mais informações: . + +- Atualiza um contêiner usando o gerenciador de pacotes nativo do contêiner: + +`distrobox-upgrade {{nome_do_contêiner}}` + +- Atualiza todos os contêineres usando os gerenciadores de pacotes nativos dos contêineres: + +`distrobox-upgrade --all` + +- Atualiza contêineres específicos via o gerenciador de pacotes nativo do contêiner: + +`distrobox-upgrade {{contêiner1 contêiner2 ...}}` diff --git a/pages.pt_BR/linux/distrobox.md b/pages.pt_BR/linux/distrobox.md new file mode 100644 index 00000000000000..bac28f94e0b9d3 --- /dev/null +++ b/pages.pt_BR/linux/distrobox.md @@ -0,0 +1,37 @@ +# distrobox + +> Use qualquer distribuição Linux dentro do seu terminal em um contêiner. Instale e use pacotes dentro dele, integrando-se perfeitamente ao sistema operacional host, compartilhando armazenamento (diretório "home") e hardware. +> Ele utiliza o Podman ou Docker para criar seus contêineres. +> Mais informações: . + +- Visualiza a documentação para criar contêineres: + +`tldr distrobox-create` + +- Visualiza a documentação para listar informações do contêiner: + +`tldr distrobox-list` + +- Visualiza a documentação para entrar no contêiner: + +`tldr distrobox-enter` + +- Visualiza a documentação para executar um comando no host a partir do interior de um contêiner: + +`tldr distrobox-host-exec` + +- Visualiza a documentação para exportar aplicativos/serviços/binários do contêiner para o host: + +`tldr distrobox-export` + +- Visualiza a documentação para atualizar contêineres: + +`tldr distrobox-upgrade` + +- Visualiza a documentação para parar os contêineres: + +`tldr distrobox-stop` + +- Visualiza a documentação para remover os contêineres: + +`tldr distrobox-rm` diff --git a/pages.pt_BR/linux/dkms.md b/pages.pt_BR/linux/dkms.md new file mode 100644 index 00000000000000..d9d9456a274a9a --- /dev/null +++ b/pages.pt_BR/linux/dkms.md @@ -0,0 +1,20 @@ +# dkms + +> Um framework que permite recompilação dinâmica de modulos do kernel. +> Mais informações: . + +- Lista os módulos instalados atualmente: + +`dkms status` + +- Recompila todos os módulos para o kernel que está rodando atualmente: + +`sudo dkms autoinstall` + +- Instala a versão 1.2.1 do módulo acpi_call para o kernel que está rodando atualmente: + +`sudo dkms install -m {{acpi_call}} -v {{1.2.1}}` + +- Remove a versão 1.2.1 do módulo acpi_call de todos os kernels: + +`sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all` diff --git a/pages.pt_BR/linux/dmesg.md b/pages.pt_BR/linux/dmesg.md index 8abad70afa1f6d..7a3fdeed27f130 100644 --- a/pages.pt_BR/linux/dmesg.md +++ b/pages.pt_BR/linux/dmesg.md @@ -1,35 +1,36 @@ # dmesg > Escreve as mensagens do kernel na terminal. +> Mais informações: . -- Exibir as mensagens do kernel: +- Exibe as mensagens do kernel: -`dmesg` +`sudo dmesg` -- Exibir as mensagens de erro do kernel: +- Exibe as mensagens de erro do kernel: -`dmesg --level err` +`sudo dmesg {{[-l|--level]}} err` -- Exibir as mensagens do kernel e manter o terminal esperando por novas menagens, semelhante ao `tail -f` (disponível nas versões 3.5.0 e superiores do kernel): +- Exibe as mensagens do kernel e manter o terminal esperando por novas menagens, semelhante ao `tail -f` (disponível nas versões 3.5.0 e superiores do kernel): -`dmesg -w` +`sudo dmesg {{[-w|--follow]}}` -- Exibir a quantidade de memória física disponível no sistema: +- Exibe a quantidade de memória física disponível no sistema: -`dmesg | grep -i memory` +`sudo dmesg | grep {{[-i|--ignore-case]}} memory` -- Exibir as mensagens do kernel divididas em páginas: +- Exibe as mensagens do kernel divididas em páginas: -`dmesg | less` +`sudo dmesg | less` -- Exibir as menagens do kernel com data/hora (disponível nas versões 3.5.0 e superiores do kernel): +- Exibe as menagens do kernel com data/hora (disponível nas versões 3.5.0 e superiores do kernel): -`dmesg -T` +`sudo dmesg {{[-T|--ctime]}}` -- Exibir as mensagens do kernel em um formato de fácil leitura (disponível nas versões 3.5.0 e superiores do kernel): +- Exibe as mensagens do kernel em um formato de fácil leitura (disponível nas versões 3.5.0 e superiores do kernel): -`dmesg -H` +`sudo dmesg {{[-H|--human]}}` -- Exibir as mensagens do kernel utilizando cores (disponível nas versões 3.5.0 e superiores do kernel): +- Exibe as mensagens do kernel utilizando cores (disponível nas versões 3.5.0 e superiores do kernel): -`dmesg -L` +`sudo dmesg {{[-L|--color]}}` diff --git a/pages.pt_BR/linux/dmidecode.md b/pages.pt_BR/linux/dmidecode.md index e1b4cf5448eafd..e68a9da57fef2d 100644 --- a/pages.pt_BR/linux/dmidecode.md +++ b/pages.pt_BR/linux/dmidecode.md @@ -2,27 +2,28 @@ > Exibe em formato de fácil leitura o sumário DMI (também conhecido como SMBIOS) . > Requer privilégio de super usuário. +> Mais informações: . -- Exibir o sumário do DMI: +- Exibe o sumário do DMI: `sudo dmidecode` -- Exibir a versão da BIOS: +- Exibe a versão da BIOS: `sudo dmidecode -s bios-version` -- Exibir o número de série do sistema: +- Exibe o número de série do sistema: `sudo dmidecode -s system-serial-number` -- Exibir as informações da BIOS: +- Exibe as informações da BIOS: `sudo dmidecode -t bios` -- Exibir as informações da CPU: +- Exibe as informações da CPU: `sudo dmidecode -t processor` -- Exibir as informações da memória: +- Exibe as informações da memória: `sudo dmidecode -t memory` diff --git a/pages.pt_BR/linux/dnf.md b/pages.pt_BR/linux/dnf.md index 52a7e1e853d140..a8a070b7a220a4 100644 --- a/pages.pt_BR/linux/dnf.md +++ b/pages.pt_BR/linux/dnf.md @@ -1,19 +1,37 @@ # dnf > Gerenciador de pacotes das distribuições baseadas em RHEL (substituto do yum). +> Para comandos equivalentes em outros gerenciadores de pacotes, veja . +> Mais informações: . -- Instalar um novo pacote: +- Atualiza os pacotes instalados para suas versões mais atuais: -`sudo dnf install {{nome_do_pacote}}` +`sudo dnf upgrade` -- Instalar um novo pacote e responder sim para todas as questões: +- Busca pacotes com palavras-chave: -`sudo dnf -y install {{nome_do_pacote}}` +`dnf search {{palavra_chave1 palavra_chave2 ...}}` -- Remover um pacote: +- Mostra detalhes sobre um determinado pacote: -`sudo dnf remove {{nome_do_pacote}}` +`dnf info {{pacote}}` -- Atualizar todos os pacotes instalados para as versões mais recentes: +- Instala um novo pacote (use `-y` para responder sim à todos os prompts): -`sudo dnf upgrade` +`sudo dnf install {{pacote1 pacote2 ...}}` + +- Remove um pacote: + +`sudo dnf remove {{pacote1 pacote2 ...}}` + +- Lista pacotes intalados: + +`dnf list --installed` + +- Busca por pacotes que fornecem um dado comando: + +`dnf provides {{comando}}` + +- Mostra todas as operações passadas: + +`dnf history` diff --git a/pages.pt_BR/linux/dockerd.md b/pages.pt_BR/linux/dockerd.md new file mode 100644 index 00000000000000..f73ad3b1473bad --- /dev/null +++ b/pages.pt_BR/linux/dockerd.md @@ -0,0 +1,24 @@ +# dockerd + +> Um processo persistente para iniciar e gerenciar contêineres Docker. +> Mais informações: . + +- Executa o daemon do Docker: + +`dockerd` + +- Executa o daemon do Docker e configurá-lo para escutar em sockets específicos (UNIX e TCP): + +`dockerd --host unix://{{caminho/para/tmp.sock}} --host tcp://{{ip}}` + +- Executa com um arquivo PID específico para o daemon: + +`dockerd --pidfile {{caminho/para/arquivo_pid}}` + +- Executa no modo de depuração: + +`dockerd --debug` + +- Executa e define um nível de log específico: + +`dockerd --log-level {{debug|info|warn|error|fatal}}` diff --git a/pages.pt_BR/linux/dolphin.md b/pages.pt_BR/linux/dolphin.md new file mode 100644 index 00000000000000..5a0257a2fab5ed --- /dev/null +++ b/pages.pt_BR/linux/dolphin.md @@ -0,0 +1,32 @@ +# dolphin + +> Gerenciador de arquivos do KDE. +> Mais informações: . + +- Inicializa o Dolphin: + +`dolphin` + +- Inicializa o Dolphin em um diretório específico: + +`dolphin {{caminho/para/diretorio1 caminho/para/diretorio2 ...}}` + +- Inicializa o Dolphin com um arquivo ou diretório específico: + +`dolphin --select {{caminho/para/arquivo_ou_diretorio1 caminho/para/arquivo_ou_diretorio2 ...}}` + +- Inicializa o Dolphin em uma janela separada: + +`dolphin --new-window` + +- Inicializa o Dolphin no modo de divisão de tela: + +`dolphin --split {{caminho/para/diretorio1}} {{caminho/para/diretorio2}}` + +- Inicializa o daemon do Dolphin (necessário apenas para usar a interface do D-Bus): + +`dolphin --daemon` + +- Exibe log de ajuda (em inglês): + +`dolphin --help` diff --git a/pages.pt_BR/linux/dpkg-query.md b/pages.pt_BR/linux/dpkg-query.md index e9146b415c8c50..115056af26a987 100644 --- a/pages.pt_BR/linux/dpkg-query.md +++ b/pages.pt_BR/linux/dpkg-query.md @@ -1,19 +1,24 @@ # dpkg-query -> Ferramenta que mostra informações dos pacotes instalados. +> Mostra informações dos pacotes instalados. +> Mais informações: . -- Exibir os pacotes instalados: +- Exibe todos os pacotes instalados: -`dpkg-query -l` +`dpkg-query --list` -- Exibir os pacotes instalados correspondentes ao critério de busca: +- Exibe os pacotes instalados correspondentes ao critério de busca: -`dpkg-query -l '{{criterio_de_busca}}'` +`dpkg-query --list '{{libc6}}'` -- Exibir todos os arquivos instalados por um pacote: +- Exibe todos os arquivos instalados por um pacote: -`dpkg-query -L {{nome_do_pacote}}` +`dpkg-query --listfiles {{libc6}}` -- Exibir informações sobre um pacote: +- Exibe informações sobre um pacote: -`dpkg-query -s {{nome_do_pacote}}` +`dpkg-query --status {{libc6}}` + +- Busca por pacotes que contenham arquivos que correspondam ao padrão: + +`dpkg-query --search {{/etc/ld.so.conf.d}}` diff --git a/pages.pt_BR/linux/dpkg.md b/pages.pt_BR/linux/dpkg.md index 99b937ae48026e..78bbf39bf5413e 100644 --- a/pages.pt_BR/linux/dpkg.md +++ b/pages.pt_BR/linux/dpkg.md @@ -1,16 +1,18 @@ # dpkg > Gerenciador de pacotes Debian. +> Alguns subcomandos como `deb` tem sua própia documentação de uso. +> Mais informações: . -- Instalar um pacote: +- Instala um pacote: `dpkg -i {{arquivo.deb}}` -- Remover um pacote: +- Remove um pacote: `dpkg -r {{nome_do_pacote}}` -- Exibir os pacotes correspondentes ao critério de busca: +- Exibe os pacotes correspondentes ao critério de busca: `dpkg -l {{criterio_de_busca}}` @@ -18,10 +20,10 @@ `dpkg -L {{nome_do_pacote}}` -- Exibir o conteúdo do arquivo de um pacote: +- Exibe o conteúdo do arquivo de um pacote: `dpkg -c {{arquivo.deb}}` -- Apresentar o pacote proprietário de um determinado arquivo: +- Apresenta o pacote proprietário de um determinado arquivo: `dpkg -S {{nome_do_arquivo}}` diff --git a/pages.pt_BR/linux/emerge.md b/pages.pt_BR/linux/emerge.md new file mode 100644 index 00000000000000..8c02c7755f981a --- /dev/null +++ b/pages.pt_BR/linux/emerge.md @@ -0,0 +1,33 @@ +# emerge + +> Utilitário de gerenciamento de pacotes do Gentoo Linux. +> Para comandos equivalentes em outros gerenciadores de pacotes, veja . +> Mais informações: . + +- Sincronizar todos os pacotes: + +`sudo emerge --sync` + +- Atualiza todos os pacotes, incluindo dependências: + +`sudo emerge {{[-avuDN|--ask --verbose --update --deep --newuse]}} @world` + +- Resume uma atualização falha, pulando o pacote que falhou: + +`sudo emerge --resume --skipfirst` + +- Instala um novo pacote, com confirmação: + +`sudo emerge {{[-av|--ask --verbose]}} {{pacote}}` + +- Remove um pacote e suas dependências com confirmação: + +`sudo emerge {{[-avc|--ask --verbose --depclean]}} {{pacote}}` + +- Remove pacotes órfãos (instalados como dependências mas não são mais requisitados por nenhum pacote): + +`sudo emerge {{[-avc|--ask --verbose --depclean]}}` + +- Procura na base de dados por uma palavra-chave: + +`emerge {{[-S|--searchdesc]}} {{palavra-chave}}` diff --git a/pages.pt_BR/linux/eyeD3.md b/pages.pt_BR/linux/eyeD3.md deleted file mode 100644 index abf43ea60ea098..00000000000000 --- a/pages.pt_BR/linux/eyeD3.md +++ /dev/null @@ -1,20 +0,0 @@ -# eyeD3 - -> Lê e manipula os metadados de arquivos MP3. -> Mais informações: . - -- Visualizar as informações de um arquivo MP3: - -`eyeD3 {{arquivo.mp3}}` - -- Definir o título de um arquivo MP3: - -`eyeD3 --title "{{titulo}}" {{arquivo.mp3}}` - -- Definir o álbum de todos os arquivos MP3 de um diretório: - -`eyeD3 --album "{{nome_do_album}}" {{*.mp3}}` - -- Definir a capa do álbum para um arquivo MP3: - -`eyeD3 --add-image {{capa.jpeg}}:FRONT_COVER: {{arquivo.mp3}}` diff --git a/pages.pt_BR/linux/eyed3.md b/pages.pt_BR/linux/eyed3.md new file mode 100644 index 00000000000000..75499cfeb2cba7 --- /dev/null +++ b/pages.pt_BR/linux/eyed3.md @@ -0,0 +1,20 @@ +# eyeD3 + +> Lê e manipula os metadados de arquivos MP3. +> Mais informações: . + +- Visualiza as informações de um arquivo MP3: + +`eyeD3 {{arquivo.mp3}}` + +- Define o título de um arquivo MP3: + +`eyeD3 {{[-t|--title]}} "{{titulo}}" {{arquivo.mp3}}` + +- Define o álbum de todos os arquivos MP3 de um diretório: + +`eyeD3 {{[-A|--album]}} "{{nome_do_album}}" {{*.mp3}}` + +- Define a capa do álbum para um arquivo MP3: + +`eyeD3 --add-image {{capa.jpeg}}:FRONT_COVER: {{arquivo.mp3}}` diff --git a/pages.pt_BR/linux/fatlabel.md b/pages.pt_BR/linux/fatlabel.md index 56dd98a2476f52..4a8a68136790cd 100644 --- a/pages.pt_BR/linux/fatlabel.md +++ b/pages.pt_BR/linux/fatlabel.md @@ -1,11 +1,12 @@ # fatlabel > Define ou exibe o rótulo de uma partição FAT32. +> Mais informações: . -- Exibir o rótulo de uma partição FAT32: +- Exibe o rótulo de uma partição FAT32: `fatlabel {{/dev/sda1}}` -- Definir o rótulo de uma partição FAT32: +- Define o rótulo de uma partição FAT32: `fatlabel {{/dev/sdc3}} "{{rotulo}}"` diff --git a/pages.pt_BR/linux/fc-list.md b/pages.pt_BR/linux/fc-list.md deleted file mode 100644 index 03dd9a200e10dc..00000000000000 --- a/pages.pt_BR/linux/fc-list.md +++ /dev/null @@ -1,7 +0,0 @@ -# fc-list - -> Exibe todas as fontes disponíveis no sistema. - -- Exibir as fontes instaladas correspondentes ao critério de busca: - -`fc-list | grep '{{criterio_de_busca}}'` diff --git a/pages.pt_BR/linux/fc.md b/pages.pt_BR/linux/fc.md deleted file mode 100644 index 4af6f7b36c77f2..00000000000000 --- a/pages.pt_BR/linux/fc.md +++ /dev/null @@ -1,15 +0,0 @@ -# fc - -> Abre o último comando executado em um editor de texto. - -- Abrir o último comando executado no editor de texto padrão do sistema: - -`fc` - -- Especificar o editor de texto que será utilizado ao executar o comando: - -`fc -e {{'emacs'}}` - -- Exibir um histórico dos últimos comandos executados: - -`fc -l` diff --git a/pages.pt_BR/linux/fdisk.md b/pages.pt_BR/linux/fdisk.md index c6e51170a00ead..6677b0981a945c 100644 --- a/pages.pt_BR/linux/fdisk.md +++ b/pages.pt_BR/linux/fdisk.md @@ -1,11 +1,37 @@ # fdisk -> Gerenciador de tabelas de partições e partições no disco rígido. +> Gerencia de tabelas de partições e partições em um disco rígido. +> Veja também: `partprobe`. +> Mais informações: . -- Exibir as partições: +- Lista partições: -`fdisk -l` +`sudo fdisk -l` -- Iniciar o manipulador de partições: +- Inicia o manipulador de partições: -`fdisk {{/dev/sda}}` +`sudo fdisk {{/dev/sdX}}` + +- Uma vez particionando um disco, cria uma partição: + +`` + +- Uma vez particionando um disco, seleciona uma partição para excluir: + +`` + +- Uma vez particionando um disco, mostra uma tabela de partições: + +`

` + +- Uma vez particionando um disco, grava em disco as mudanças feitas: + +`` + +- Uma vez particionando um disco, descarta as mudanças feitas: + +`` + +- Uma vez particionando um disco, abre o menu de ajuda: + +`` diff --git a/pages.pt_BR/linux/flameshot.md b/pages.pt_BR/linux/flameshot.md new file mode 100644 index 00000000000000..f8dd134ec0d9f9 --- /dev/null +++ b/pages.pt_BR/linux/flameshot.md @@ -0,0 +1,37 @@ +# flameshot + +> Função de captura da tela com uma Interface Gráfica do Usuário. +> Suporta edição básica de imagens, como texto, formas, cores e imgur. +> Mais informações: . + +- Cria uma captura da tela completa: + +`flameshot full` + +- Cria uma captura da tela interativamente: + +`flameshot gui` + +- Cria uma captura da tela e salva em um caminho específico: + +`flameshot gui --path {{caminho/para/diretório}}` + +- Cria uma captura da tela interativamente em um modo simplificado: + +`flameshot launcher` + +- Cria uma captura da tela a partir de um monitor específico: + +`flameshot screen --number {{2}}` + +- Cria uma captura da tela e imprime na saída padrão: + +`flameshot gui --raw` + +- Cria uma captura da tela e copia para a área de transferência: + +`flameshot gui --clipboard` + +- Cria uma captura da tela com um atraso específico em milissegundos: + +`flameshot full --delay {{5000}}` diff --git a/pages.pt_BR/linux/flatpak.md b/pages.pt_BR/linux/flatpak.md new file mode 100644 index 00000000000000..7a79ac35f6bceb --- /dev/null +++ b/pages.pt_BR/linux/flatpak.md @@ -0,0 +1,36 @@ +# flatpak + +> Constrói, instala e executa aplicações e plataformas flatpak. +> Mais informações: . + +- Executa uma aplicação instalada: + +`flatpak run {{com.exemplo.aplicacao}}` + +- Instala uma aplicação de uma fonte remota: + +`flatpak install {{nome_remoto}} {{com.exemplo.aplicacao}}` + +- Lista aplicações instaladas, ignorando plataformas: + +`flatpak list --app` + +- Atualiza todas as aplicações e plataformas instaladas: + +`flatpak update` + +- Adiciona uma fonte remota: + +`flatpak remote-add --if-not-exists {{nome_remoto}} {{url_remoto}}` + +- Remove uma aplicação instalada: + +`flatpak remove {{com.exemplo.aplicacao}}` + +- Remove todos as aplicações não usadas: + +`flatpak remove --unused` + +- Mostra informações sobre uma aplicação instalada: + +`flatpak info {{com.exemplo.aplicacao}}` diff --git a/pages.pt_BR/linux/free.md b/pages.pt_BR/linux/free.md new file mode 100644 index 00000000000000..b7935c2630129e --- /dev/null +++ b/pages.pt_BR/linux/free.md @@ -0,0 +1,20 @@ +# free + +> Mostra a quantidade de memória livre e utilizada pelo sistema. +> Mais informações: . + +- Mostra memória do sistema: + +`free` + +- Mostra memória em Bytes/KB/MB/GB: + +`free -{{b|k|m|g}}` + +- Mostra memória em unidades legíveis por seres humanos: + +`free {{[-h|--human]}}` + +- Atualiza a saída padrão a cada 2 segundos: + +`free {{[-s|--seconds]}} {{2}}` diff --git a/pages.pt_BR/linux/genisoimage.md b/pages.pt_BR/linux/genisoimage.md new file mode 100644 index 00000000000000..35c97cb4a40362 --- /dev/null +++ b/pages.pt_BR/linux/genisoimage.md @@ -0,0 +1,12 @@ +# genisoimage + +> Programa de pré-masterização para gerar sistemas de arquivos híbridos ISO9660/Joliet/HFS. +> Mais informações: . + +- Cria uma imagem ISO a partir do diretório de origem fornecido: + +`genisoimage -o {{minha_imagem.iso}} {{caminho/para/diretório_origem}}` + +- Cria uma imagem ISO com arquivos maiores que 2GiB, relatando um tamanho aparente menor para o sistema de arquivos ISO9660: + +`genisoimage -o -allow-limited-size {{minha_imagem.iso}} {{caminho/para/diretório_origem}}` diff --git a/pages.pt_BR/linux/gnome-calculator.md b/pages.pt_BR/linux/gnome-calculator.md new file mode 100644 index 00000000000000..9fa346e0cb368f --- /dev/null +++ b/pages.pt_BR/linux/gnome-calculator.md @@ -0,0 +1,16 @@ +# gnome-calculator + +> A calculadora oficial para o ambiente de desktop GNOME. +> Mais informações: . + +- Inicia a GNOME Calculator GUI: + +`gnome-calculator` + +- Resolve uma equação específica na linha de comando sem iniciar o aplicativo de desktop: + +`gnome-calculator --solve {{2^5 * 2 + 5}}` + +- Exibe a versão: + +`gnome-calculator --version` diff --git a/pages.pt_BR/linux/gnome-terminal.md b/pages.pt_BR/linux/gnome-terminal.md new file mode 100644 index 00000000000000..3e491ccc37dd1b --- /dev/null +++ b/pages.pt_BR/linux/gnome-terminal.md @@ -0,0 +1,20 @@ +# gnome-terminal + +> O emulador do Terminal GNOME. +> Mais informações: . + +- Abre uma nova janela de terminal GNOME: + +`gnome-terminal` + +- Executa um comando específico em uma nova janela de terminal: + +`gnome-terminal -- {{commando}}` + +- Abre uma nova aba na última janela aberta: + +`gnome-terminal --tab` + +- Define o título da nova aba: + +`gnome-terminal --tab --title "{{título}}"` diff --git a/pages.pt_BR/linux/gsettings.md b/pages.pt_BR/linux/gsettings.md new file mode 100644 index 00000000000000..eac3756530273a --- /dev/null +++ b/pages.pt_BR/linux/gsettings.md @@ -0,0 +1,32 @@ +# gsettings + +> Consulta e modifica configurações do dconf com validação de esquema. +> Mais informações: . + +- Define o valor de uma chave. Falha se a chave não existe ou o valor está fora do intervalo: + +`gsettings set {{org.exemplo.esquema}} {{chave-exemplo}} {{valor}}` + +- Imprime o valor de uma chave ou o padrão fornecido pelo esquema se a chave não foi definida no `dconf`: + +`gsettings get {{org.exemplo.esquema}} {{chave-exemplo}}` + +- Desfaz a definição de uma chave, para que o valor padrão do esquema seja usado: + +`gsettings reset {{org.exemplo.esquema}} {{chave-exemplo}}` + +- Exibe todos os esquemas, chaves e valores (não realocáveis): + +`gsettings list-recursively` + +- Exibe todas as chaves e valores (padrão se não definido) de um esquema: + +`gsettings list-recursively {{org.exemplo.esquema}}` + +- Exibe valores permitidos pelo esquema para uma chave (útil com chaves enumeráveis): + +`gsettings range {{org.exemplo.esquema}} {{chave-exemplo}}` + +- Exibe a descrição legível por humanos de uma chave: + +`gsettings describe {{org.exemplo.esquema}} {{chave-exemplo}}` diff --git a/pages.pt_BR/linux/hexdump.md b/pages.pt_BR/linux/hexdump.md new file mode 100644 index 00000000000000..2f5ae8dbbe7178 --- /dev/null +++ b/pages.pt_BR/linux/hexdump.md @@ -0,0 +1,20 @@ +# hexdump + +> Imprime dados no formato ASCII, decimal, hexadecimal ou octal. +> Mais informações: . + +- Imprime a representação hexadecimal de um arquivo, substituindo linhas duplicadas por '*': + +`hexdump {{caminho/para/arquivo}}` + +- Imprime a representação hexadecimal e ASCII de um arquivo, em duas colunas: + +`hexdump -C {{caminho/para/arquivo}}` + +- Imprime a representação hexadecimal de um arquivo, porém apresentando apenas seus n primeiros bytes: + +`hexdump -C -n{{numero_de_bytes}} {{caminho/para/arquivo}}` + +- Imprime a representação hexadecimal completa de um arquivo (sem omitir linhas duplicadas): + +`hexdump --no-squeezing {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/linux/htop.md b/pages.pt_BR/linux/htop.md deleted file mode 100644 index 733015410bad6b..00000000000000 --- a/pages.pt_BR/linux/htop.md +++ /dev/null @@ -1,15 +0,0 @@ -# htop - -> Visualizar informação dinâmica em tempo real acerca de processos em execução. Uma versão melhorada do comando `top`. - -- Inicializar htop: - -`htop` - -- Inicializar htop mostrando somente processos pertencentes a um usuário: - -`htop -u {{nome_usuário}}` - -- Obter ajuda acerca de comandos interativos: - -`?` diff --git a/pages.pt_BR/linux/i3lock.md b/pages.pt_BR/linux/i3lock.md deleted file mode 100644 index 96a2df3444c321..00000000000000 --- a/pages.pt_BR/linux/i3lock.md +++ /dev/null @@ -1,24 +0,0 @@ -# i3lock - -> Bloqueador de tela simples para o i3wm. -> Mais informações: . - -- Bloqueia a tela com uma cor de fundo (formato rrggbb): - -`i3lock -c {{0000ff}}` - -- Bloqueia a tela com uma imagem PNG: - -`i3lock -i {{local/da/imagem.png}}` - -- Desabilita o indicador de desbloqueio (remove a resposta ao apertar teclas): - -`i3lock -u` - -- Exibe o ponteiro do mouse ao invés de ocultá-lo ('default' para o ponteiro padrão, 'win' para um ponteiro MS Windows): - -`i3lock -p {{default|win}}` - -- Bloqueia a tela com uma imagem PNG exibida em múltiplos monitores, com o ponteiro do mouse habilitado: - -`i3lock -i {{local/da/imagem.png}} -p {{default|win}} -t` diff --git a/pages.pt_BR/linux/ip-route-list.md b/pages.pt_BR/linux/ip-route-list.md new file mode 100644 index 00000000000000..a880f508c62e2c --- /dev/null +++ b/pages.pt_BR/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Este comando é um apelido de `ip route show`. + +- Exibe documentação sobre o comando original: + +`tldr ip route show` diff --git a/pages.pt_BR/linux/ip-route-show.md b/pages.pt_BR/linux/ip-route-show.md new file mode 100644 index 00000000000000..03f16ba4290ab9 --- /dev/null +++ b/pages.pt_BR/linux/ip-route-show.md @@ -0,0 +1,7 @@ +# ip route show + +> Este comando é um apelido de `ip route list`. + +- Veja documentação sobre o comando original: + +`tldr ip route list` diff --git a/pages.pt_BR/linux/ip.md b/pages.pt_BR/linux/ip.md new file mode 100644 index 00000000000000..b8845b9e109466 --- /dev/null +++ b/pages.pt_BR/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> Mostra / manipula roteamento, dispositivos, roteamento baseado em póliticas e túneis. +> Alguns subcomandos como `address` têm suas pŕoprias documentações de uso. +> Mais informações: . + +- Lista interfaces com informações detalhadas: + +`ip {{[a|address]}}` + +- Lista interfaces com breves informações sobre a camada de rede: + +`ip {{[-br a|-brief address]}}` + +- Lista interfaces com breves informações sobre a camada de link de dados: + +`ip {{[-br l|-brief link]}}` + +- Exibe a tabela de roteamento: + +`ip {{[r|route]}}` + +- Mostra vizinhos (ARP tabela): + +`ip {{[n|neighbour]}}` + +- Ativa / desativa uma interface: + +`sudo ip {{[l|link]}} {{[s|set]}} {{interface}} {{up|down}}` + +- Adiciona / remove um endereço de IP a uma interface: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface}}` + +- Adiciona uma rota padrão: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface}}` diff --git a/pages.pt_BR/linux/kdocker.md b/pages.pt_BR/linux/kdocker.md new file mode 100644 index 00000000000000..327c5eccc53081 --- /dev/null +++ b/pages.pt_BR/linux/kdocker.md @@ -0,0 +1,28 @@ +# kdocker + +> Ancorar facilmente aplicativos à bandeja do sistema. +> Mais informações: . + +- Exibe um cursor que envia uma janela para a bandeja do sistema ao pressionar o botão esquerdo do mouse (pressione qualquer outro botão do mouse para cancelar): + +`kdocker` + +- Abre um aplicativo e o envia para a bandeja do sistema: + +`kdocker {{aplicativo}}` + +- Envia a janela com foco para a bandeja do sistema: + +`kdocker -f` + +- Exibe um cursor que envia uma janela para a bandeja do sistema com um ícone personalizado ao pressionar o botão esquerdo do mouse: + +`kdocker -i {{/caminho/para/ícone}}` + +- Abre um aplicativo, envia-o para a bandeja do sistema e, se perder o foco, minimiza-o: + +`kdocker -l {{aplicativo}}` + +- Exibe a versão: + +`kdocker --version` diff --git a/pages.pt_BR/linux/locale.md b/pages.pt_BR/linux/locale.md new file mode 100644 index 00000000000000..31a30e9304d2fe --- /dev/null +++ b/pages.pt_BR/linux/locale.md @@ -0,0 +1,20 @@ +# locale + +> Obtém informações específicas da localidade. +> Mais informações: . + +- Lista todas as variáveis globais de ambiente que descrevem a localidade do usuário: + +`locale` + +- Lista todas as localidades disponíveis: + +`locale {{[-a|--all-locales]}}` + +- Exibe todas as localidades disponíveis e os metadados associados: + +`locale {{[-a|--all-locales]}} {{[-v|--verbose]}}` + +- Exibe o formato da data atual: + +`locale date_fmt` diff --git a/pages.pt_BR/linux/locate.md b/pages.pt_BR/linux/locate.md new file mode 100644 index 00000000000000..efdfb4a3f68f61 --- /dev/null +++ b/pages.pt_BR/linux/locate.md @@ -0,0 +1,16 @@ +# locate + +> Encontre nomes de arquivos rapidamente. +> Mais informações: . + +- Procura por padrões no banco de dados. Nota: o banco de dados é recalculado periodicamente (geralmente semanalmente ou diariamente): + +`locate {{padrão}}` + +- Procura um arquivo pelo seu nome de arquivo exato(um padrão que não contém caracteres curingas é interpretado como `*pattern*`): + +`locate '*/{{nome_do_arquivo}}'` + +- Recalcula o banco de dados. Você precisa fazer se você quiser achar os arquivos recentementes adicionados: + +`sudo updatedb` diff --git a/pages.pt_BR/linux/lsblk.md b/pages.pt_BR/linux/lsblk.md new file mode 100644 index 00000000000000..f491ac0a505dc9 --- /dev/null +++ b/pages.pt_BR/linux/lsblk.md @@ -0,0 +1,36 @@ +# lsblk + +> Lista informações sobre dispositivos. +> Mais informações: . + +- Lista todos dispositivos de armazenamento no formato de árvore: + +`lsblk` + +- Também lista dispositivos vazios: + +`lsblk {{[-a|--all]}}` + +- Mostra a coluna de tamanhos em bytes, em vez de um formato legível por humanos: + +`lsblk {{[-b|--bytes]}}` + +- Mostra na saída padrão informações sobre os filesystems dos dispositivos: + +`lsblk {{[-f|--fs]}}` + +- Utiliza caracteres ASCII para o formato de árvore: + +`lsblk {{[-i|--ascii]}}` + +- Mostra na saída padrão informações sobre block-device topology: + +`lsblk {{[-t|--topology]}}` + +- Excluír da saída padrão os dispositivos específicados por seus repectivos números separados por vírgulas: + +`lsblk {{[-e|--exclude]}} {{1,7,...}}` + +- Mostra um resumo de forma customizada passando as colunas separadas por vírgulas: + +`lsblk {{[-o|--output]}} {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}` diff --git a/pages.pt_BR/linux/lscpu.md b/pages.pt_BR/linux/lscpu.md new file mode 100644 index 00000000000000..cdeef11086b419 --- /dev/null +++ b/pages.pt_BR/linux/lscpu.md @@ -0,0 +1,16 @@ +# lscpu + +> Exibe informações sobre a arquitetura da CPU. +> Mais informações: . + +- Exibe informações sobre todas as CPUs: + +`lscpu` + +- Exibe informações em uma tabela: + +`lscpu {{[-e|--extended]}}` + +- Exibe apenas informações sobre CPUs desligadas em uma tabela: + +`lscpu {{[-e|--extended]}} {{[-c|--offline]}}` diff --git a/pages.pt_BR/linux/makepkg.md b/pages.pt_BR/linux/makepkg.md new file mode 100644 index 00000000000000..9b61385ee1abed --- /dev/null +++ b/pages.pt_BR/linux/makepkg.md @@ -0,0 +1,33 @@ +# makepkg + +> Monta um pacote que pode ser usado junto ao `pacman`. +> Utiliza por padrão o arquivo `PKGBUILD` no diretório de trabalho atual. +> Mais informações: . + +- Monta um pacote: + +`makepkg` + +- Monta um pacote e instala suas dependências: + +`makepkg {{[-s|--syncdeps]}}` + +- Monta um pacote, instala suas dependências e então o instala no sistema: + +`makepkg {{[-s|--syncdeps]}} {{[-i|--install]}}` + +- Monta um pacote, mas pula a verificação de hashes da fonte: + +`makepkg --skipchecksums` + +- Limpa os diretórios de trabalho após uma compilação bem sucedida: + +`makepkg {{[-c|--clean]}}` + +- Verifica os hashes das fontes: + +`makepkg --verifysource` + +- Gera e salva as informações da fonte no arquivo `.SRCINFO`: + +`makepkg --printsrcinfo > .SRCINFO` diff --git a/pages.pt_BR/linux/megadl.md b/pages.pt_BR/linux/megadl.md new file mode 100644 index 00000000000000..c1adc91edb2018 --- /dev/null +++ b/pages.pt_BR/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Este comando é um apelido de `megatools-dl`. + +- Exibe documentação sobre o comando original: + +`tldr megatools-dl` diff --git a/pages.pt_BR/linux/megatools-dl.md b/pages.pt_BR/linux/megatools-dl.md new file mode 100644 index 00000000000000..24eaf2a0a1893a --- /dev/null +++ b/pages.pt_BR/linux/megatools-dl.md @@ -0,0 +1,21 @@ +# megatools-dl + +> Baixa arquivos de `mega.nz`. +> Parte do conjunto de ferramentas `megatools`. +> Mais informações: . + +- Baixa arquivos de um link `mega.nz` para o diretório atual: + +`megatools-dl {{https://mega.nz/...}}` + +- Baixa arquivos de um link `mega.nz` para um diretório específico: + +`megatools-dl --path {{caminho/para/diretório}} {{https://mega.nz/...}}` + +- Escolhe interativamente quais arquivos baixar: + +`megatools-dl --choose-files {{https://mega.nz/...}}` + +- Limita a velocidade de download em KiB/s: + +`megatools-dl --limit-speed {{velocidade}} {{https://mega.nz/...}}` diff --git a/pages.pt_BR/linux/mkfs.btrfs.md b/pages.pt_BR/linux/mkfs.btrfs.md new file mode 100644 index 00000000000000..9f41a1715d8bbb --- /dev/null +++ b/pages.pt_BR/linux/mkfs.btrfs.md @@ -0,0 +1,17 @@ +# mkfs.btrfs + +> Crie um sistema de arquivos btrfs. +> O padrão é `raid1`, que especifica 2 cópias de um determinado bloco de dados espalhados por 2 dispositivos diferentes. +> Mais informações: . + +- Cria um sistema de arquivos btrfs em um único dispositivo: + +`sudo mkfs.btrfs --metadata single --data single {{/dev/sda}}` + +- Cria um sistema de arquivos btrfs em vários dispositivos com raid1: + +`sudo mkfs.btrfs --metadata raid1 --data raid1 {{/dev/sda}} {{/dev/sdb}} {{/dev/sdN}}` + +- Define um rótulo para o sistema de arquivos: + +`sudo mkfs.btrfs --label "{{rótulo}}" {{/dev/sda}} [{{/dev/sdN}}]` diff --git a/pages.pt_BR/linux/mkfs.ext4.md b/pages.pt_BR/linux/mkfs.ext4.md new file mode 100644 index 00000000000000..c8fde841b38eb0 --- /dev/null +++ b/pages.pt_BR/linux/mkfs.ext4.md @@ -0,0 +1,12 @@ +# mkfs.ext4 + +> Cria um sistema de arquivos ext4 dentro de uma partição. +> Mais informações: . + +- Cria um sistema de arquivos ext4 dentro da partição 1 no dispositivo b (`sdb1`): + +`sudo mkfs.ext4 {{/dev/sdb1}}` + +- Cria um sistema de arquivo ext4 com um rótulo de volume: + +`sudo mkfs.ext4 -L {{rótulo_de_volume}} {{/dev/sdb1}}` diff --git a/pages.pt_BR/linux/mkfs.fat.md b/pages.pt_BR/linux/mkfs.fat.md new file mode 100644 index 00000000000000..c09f187c0f5d08 --- /dev/null +++ b/pages.pt_BR/linux/mkfs.fat.md @@ -0,0 +1,20 @@ +# mkfs.fat + +> Cria um sistema de arquivos MS-DOS dentro de uma partição. +> Mais informações: . + +- Cria um sistema de arquivos fat dentro da partição 1 do dispositivo b (`sdb1`): + +`mkfs.fat {{/dev/sdb1}}` + +- Cria um sistema de arquivos com um nome de volume: + +`mkfs.fat -n {{nome_de_volume}} {{/dev/sdb1}}` + +- Cria um sistema de arquivos com um ID de volume: + +`mkfs.fat -i {{id_de_volume}} {{/dev/sdb1}}` + +- Usa 5 em vez de 2 tabelas de alocação de arquivos: + +`mkfs.fat -f 5 {{/dev/sdb1}}` diff --git a/pages.pt_BR/linux/mkfs.md b/pages.pt_BR/linux/mkfs.md new file mode 100644 index 00000000000000..231d27830dc97a --- /dev/null +++ b/pages.pt_BR/linux/mkfs.md @@ -0,0 +1,17 @@ +# mkfs + +> Cria um sistema de arquivos Linux em uma partição do disco rígido. +> Esse comando está obsoleto em favor dos utilitários mkfs. específicos de sistema de arquivos. +> Mais informações: . + +- Cria um sistema de arquivo ext2 do Linux em uma partição: + +`mkfs {{caminho/para/partição}}` + +- Cria um sistema de arquivos de um tipo especificado: + +`mkfs -t {{ext4}} {{caminho/para/partição}}` + +- Cria um sistema de arquivos de um tipo especificado e verifica por blocos ruins: + +`mkfs -c -t {{ntfs}} {{caminho/para/partição}}` diff --git a/pages.pt_BR/linux/ncal.md b/pages.pt_BR/linux/ncal.md new file mode 100644 index 00000000000000..b3a8a55a24a32a --- /dev/null +++ b/pages.pt_BR/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Este comando é um apelido de `cal`. + +- Exibe documentação sobre o comando original: + +`tldr cal` diff --git a/pages.pt_BR/linux/oomctl.md b/pages.pt_BR/linux/oomctl.md new file mode 100644 index 00000000000000..ab65c940f4268e --- /dev/null +++ b/pages.pt_BR/linux/oomctl.md @@ -0,0 +1,8 @@ +# oomctl + +> Analise o estado armazenado no `systemd-oomd`. +> Mais informações: . + +- Mostra o estado atual dos contextos de cgroups e do sistema armazenados pelo `systemd-oomd`: + +`oomctl dump` diff --git a/pages.pt_BR/linux/pacaur.md b/pages.pt_BR/linux/pacaur.md new file mode 100644 index 00000000000000..6902d4b3def0b3 --- /dev/null +++ b/pages.pt_BR/linux/pacaur.md @@ -0,0 +1,28 @@ +# pacaur + +> Um utilitário para Arch Linux para construir e instalar pacotes a partir do Arch User Repository. +> Mais informações: . + +- Sincroniza e atualiza todos os pacotes (inclui o AUR): + +`pacaur -Syu` + +- Sincroniza e atualiza apenas os pacotes do AUR: + +`pacaur -Syua` + +- Instala um novo pacote (inclui o AUR): + +`pacaur -S {{pacote}}` + +- Remove um pacote e suas dependências (inclui pacotes do AUR): + +`pacaur -Rs {{pacote}}` + +- Pesquisa o banco de dados de pacotes para uma palavra-chave (inclui o AUR): + +`pacaur -Ss {{palavra-chave}}` + +- Lista todos os pacotes atualmente instalados (inclui pacotes do AUR): + +`pacaur -Qs` diff --git a/pages.pt_BR/linux/paccache.md b/pages.pt_BR/linux/paccache.md new file mode 100644 index 00000000000000..a370393a14d3db --- /dev/null +++ b/pages.pt_BR/linux/paccache.md @@ -0,0 +1,20 @@ +# paccache + +> Um utilitário de limpeza do cache do `pacman`. +> Mais informações: . + +- Remove tudo, exceto as 3 versões mais recentes do cache do `pacman`: + +`paccache -r` + +- Define o número de versões do pacote para manter: + +`paccache -rk {{num_versoes}}` + +- Executa um teste e mostra o número de pacotes candidatos para exclusão: + +`paccache -d` + +- Move os pacotes candidatos para um diretório ao invés de excluí-los: + +`paccache -m {{caminho/para/diretorio}}` diff --git a/pages.pt_BR/linux/pacdiff.md b/pages.pt_BR/linux/pacdiff.md new file mode 100644 index 00000000000000..4010827e3cb41f --- /dev/null +++ b/pages.pt_BR/linux/pacdiff.md @@ -0,0 +1,28 @@ +# pacdiff + +> Utilitário de manutenção para arquivos `.pacorig`, `.pacnew` e `.pacsave` criados pelo `pacman`. +> Mais informações: . + +- Reveja arquivos que precisam manutenção em modo interativo: + +`pacdiff` + +- Usa sudo e sudoedit para remover e mesclar arquivos: + +`pacdiff --sudo` + +- Reveja arquivos precisando de manutenção, criando `.bak`ups do original se você `s(O)brescrever`: + +`pacdiff --sudo --backup` + +- Usa um editor específico para ver e mesclar arquivos de configuração (o padrão é `vim -d`): + +`DIFFPROG={{editor}} pacdiff` + +- Procura arquivos de configuração com `locate` ao invés de usar o banco de dados do `pacman`: + +`pacdiff --locate` + +- Exibe ajuda: + +`pacdiff --help` diff --git a/pages.pt_BR/linux/pacgraph.md b/pages.pt_BR/linux/pacgraph.md new file mode 100644 index 00000000000000..cf5527759ec138 --- /dev/null +++ b/pages.pt_BR/linux/pacgraph.md @@ -0,0 +1,36 @@ +# pacgraph + +> Desenha um grafo de pacotes instalados para PNG/SVG/GUI/console. +> Mais informações: . + +- Produz um grafo em SVG e PNG: + +`pacgraph` + +- Produz um grafo SVG: + +`pacgraph --svg` + +- Imprime um resumo para o console: + +`pacgraph --console` + +- Substitui o nome de arquivo ou local padrão (Nota: não especifique a extensão do arquivo): + +`pacgraph --file={{caminho/para/arquivo}}` + +- Altera a cor dos pacotes que não são dependências: + +`pacgraph --top={{cor}}` + +- Altera a cor das dependências de pacotes: + +`pacgraph --dep={{cor}}` + +- Altera a cor de fundo de um grafo: + +`pacgraph --background={{cor}}` + +- Altera a cor dos links entre pacotes: + +`pacgraph --link={{cor}}` diff --git a/pages.pt_BR/linux/pacman-database.md b/pages.pt_BR/linux/pacman-database.md new file mode 100644 index 00000000000000..ef9fe2d6b5db36 --- /dev/null +++ b/pages.pt_BR/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Atua no banco de dados de pacotes do Arch Linux. +> Modifica certos atributos dos pacotes instalados. +> Veja também: `pacman`. +> Mais informações: . + +- Marca um pacote como instalado implicitamente: + +`sudo pacman --database --asdeps {{pacote}}` + +- Marca um pacote como instalado explicitamente: + +`sudo pacman --database --asexplicit {{pacote}}` + +- Verifica se todas as dependências de pacotes estão instaladas: + +`pacman --database --check` + +- Verifica os repositórios para garantir que todas as dependências especificadas estejam disponíveis: + +`pacman --database --check --check` + +- Exibe apenas mensagens de erro: + +`pacman --database --check --quiet` + +- Exibe ajuda: + +`pacman --database --help` diff --git a/pages.pt_BR/linux/pacman-deptest.md b/pages.pt_BR/linux/pacman-deptest.md new file mode 100644 index 00000000000000..89f7293067fc13 --- /dev/null +++ b/pages.pt_BR/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> Verifica cada dependência especificada e retorna uma lista de dependências que não estão satisfeitas atualmente no sistema. +> Veja também: `pacman`. +> Mais informações: . + +- Imprime os nomes de pacotes das dependências que não estão instaladas: + +`pacman --deptest {{pacote1 pacote2 ...}}` + +- Verifica se o pacote instalado satisfaz a versão mínima dada: + +`pacman --deptest "{{bash>=5}}"` + +- Verifica se uma versão posterior de um pacote está instalado: + +`pacman --deptest "{{bash>5}}"` + +- Exibe ajuda: + +`pacman --deptest --help` diff --git a/pages.pt_BR/linux/pacman-files.md b/pages.pt_BR/linux/pacman-files.md new file mode 100644 index 00000000000000..5e84be9e45ad93 --- /dev/null +++ b/pages.pt_BR/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Utilitário de Arch Linux para gerenciamento de pacotes. +> Veja também: `pacman`, `pkgfile`. +> Mais informações: . + +- Atualiza o banco de dados de pacotes: + +`sudo pacman --files --refresh` + +- Procura o pacote que possui um arquivo específico: + +`pacman --files {{nome_arquivo}}` + +- Encontra o pacote que possui um arquivo específico, usando uma expressão regular: + +`pacman --files --regex '{{expressao_regular}}'` + +- Lista apenas os nomes de pacotes: + +`pacman --files --quiet {{nome_arquivo}}` + +- Lista os arquivos de um pacote específico: + +`pacman --files --list {{pacote}}` + +- Exibe ajuda: + +`pacman --files --help` diff --git a/pages.pt_BR/linux/pacman-key.md b/pages.pt_BR/linux/pacman-key.md new file mode 100644 index 00000000000000..a9b4e1517cd69b --- /dev/null +++ b/pages.pt_BR/linux/pacman-key.md @@ -0,0 +1,37 @@ +# pacman-key + +> Script envoltório para o GnuPG usado para gerenciar o chaveiro do pacman. +> Veja também: `pacman`. +> Mais informações: . + +- Inicializa o chaveiro do `pacman`: + +`sudo pacman-key --init` + +- Adiciona as chaves padrão do Arch Linux: + +`sudo pacman-key --populate {{archlinux}}` + +- Lista chaves do chaveiro público: + +`pacman-key --list-keys` + +- Adiciona as chaves especificadas: + +`sudo pacman-key --add {{caminho/para/arquivo_chave.gpg}}` + +- Recebe uma chave do servidor de chaves: + +`sudo pacman-key --recv-keys "{{uid|nome|email}}"` + +- Imprime a impressão digital de uma chave específica: + +`pacman-key --finger "{{uid|nome|email}}"` + +- Assina uma chave importada localmente: + +`sudo pacman-key --lsign-key "{{uid|nome|email}}"` + +- Remove uma chave específica: + +`sudo pacman-key --delete "{{uid|nome|email}}"` diff --git a/pages.pt_BR/linux/pacman-mirrors.md b/pages.pt_BR/linux/pacman-mirrors.md new file mode 100644 index 00000000000000..60ffcee3d8fec4 --- /dev/null +++ b/pages.pt_BR/linux/pacman-mirrors.md @@ -0,0 +1,26 @@ +# pacman-mirrors + +> Gera uma lista de mirrors do pacman para o Manjaro Linux. +> Toda execução do pacman-mirrors requer que você sincronize seu bando de dados e atualize seu sistema usado `sudo pacman -Syyu`. +> Veja também: `pacman`. +> Mais informações: . + +- Gera uma lista de mirrors usando as configurações padrão: + +`sudo pacman-mirrors --fasttrack` + +- Obtém o status dos mirrors atuais: + +`pacman-mirrors --status` + +- Exibe a branch atual: + +`pacman-mirrors --get-branch` + +- Muda para uma branch diferente: + +`sudo pacman-mirrors --api --set-branch {{stable|unstable|testing}}` + +- Gera uma lista de mirror, usando apenas mirrors em seu país: + +`sudo pacman-mirrors --geoip` diff --git a/pages.pt_BR/linux/pacman-query.md b/pages.pt_BR/linux/pacman-query.md new file mode 100644 index 00000000000000..8616b32faf6641 --- /dev/null +++ b/pages.pt_BR/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Utilitário de Arch Linux para gerenciamento de pacotes. +> Veja também: `pacman`. +> Mais informações: . + +- Lista pacotes instalados e suas versões: + +`pacman --query` + +- Lista apenas pacotes e versões que foram instalados explicitamente: + +`pacman --query --explicit` + +- Procura qual pacote possui um arquivo: + +`pacman --query --owns {{arquivo}}` + +- Exibe informações sobre um pacote instalado: + +`pacman --query --info {{pacote}}` + +- Lista arquivos fornecidos por um pacote: + +`pacman --query --list {{pacote}}` + +- Lista pacotes órfãos (instalados como dependências, mas que nenhum pacote instalado necessita): + +`pacman --query --unrequired --deps --quiet` + +- Lista pacotes instalados não encontrados nos repositórios: + +`pacman --query --foreign` + +- Lista pacotes desatualizados: + +`pacman --query --upgrades` diff --git a/pages.pt_BR/linux/pacman.md b/pages.pt_BR/linux/pacman.md new file mode 100644 index 00000000000000..1f91ed998269df --- /dev/null +++ b/pages.pt_BR/linux/pacman.md @@ -0,0 +1,37 @@ +# pacman + +> Utilitário de Arch Linux para gerenciamento de pacotes. +> Veja também: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Mais informações: . + +- Sincroniza e atualiza todos os pacotes: + +`sudo pacman -Syu` + +- Instala um novo pacote: + +`sudo pacman -S {{pacote}}` + +- Remove um pacote e suas dependências: + +`sudo pacman -Rs {{pacote}}` + +- Procura pacotes no banco de dados que contenham um arquivo específico: + +`pacman -F "{{nome_do_arquivo}}"` + +- Lista pacotes instalados e versões: + +`pacman -Q` + +- Lista apenas os pacotes explicitamente instalados e versões: + +`pacman -Qe` + +- Lista pacotes órfãos (instalado como dependência mas não requerido por qualquer pacote): + +`pacman -Qtdq` + +- Esvazia completamente o cache do pacman: + +`sudo pacman -Scc` diff --git a/pages.pt_BR/linux/pacman4console.md b/pages.pt_BR/linux/pacman4console.md new file mode 100644 index 00000000000000..ef54ccb2cf5b9e --- /dev/null +++ b/pages.pt_BR/linux/pacman4console.md @@ -0,0 +1,20 @@ +# pacman4console + +> Um jogo de console baseado em texto inspirado no Pacman original. +> Mais informações: . + +- Inicia um jogo no nível 1: + +`pacman4console` + +- Inicia um jogo em determinado nível (há nove níveis oficiais): + +`pacman4console --level={{numero_nivel}}` + +- Inicia o editor de níveis do pacman4console, salvando em um arquivo texto especificado: + +`pacman4consoleedit {{caminho/para/arquivo_nivel}}` + +- Joga um nível personalizado: + +`pacman4console --level={{caminho/para/arquivo_nivel}}` diff --git a/pages.pt_BR/linux/paru.md b/pages.pt_BR/linux/paru.md new file mode 100644 index 00000000000000..ced632cc7cf2c1 --- /dev/null +++ b/pages.pt_BR/linux/paru.md @@ -0,0 +1,28 @@ +# paru + +> Um auxiliar do AUR e um wrapper do pacman. +> Mais informações: . + +- Pesquisa e instala interativamente um pacote: + +`paru {{nome_do_pacote_ou_termo_de_pesquisa}}` + +- Sincroniza e atualiza todos os pacotes: + +`paru` + +- Atualiza pacotes do AUR: + +`paru -Sua` + +- Obtém informações sobre um pacote: + +`paru -Si {{nome_do_pacote}}` + +- Faz o download do `PKGBUILD` e outros arquivos de origem do pacote do AUR ou ABS: + +`paru --getpkgbuild {{nome_do_pacote}}` + +- Exibe o arquivo `PKGBUILD` de um pacote: + +`paru --getpkgbuild --print {{nome_do_pacote}}` diff --git a/pages.pt_BR/linux/pi.md b/pages.pt_BR/linux/pi.md new file mode 100644 index 00000000000000..5769d4acced158 --- /dev/null +++ b/pages.pt_BR/linux/pi.md @@ -0,0 +1,24 @@ +# pi + +> Calcula a constante decimal de Arquimedes Pi na linha de comando. +> Mais informações: . + +- Exibe 100 dígitos decimais da constante de Archimedes Pi: + +`pi` + +- Exibe um número específico de dígitos decimais da constante de Archimedes Pi: + +`pi {{number}}` + +- Exibe leituras recomendadas: + +`pi --bibliography` + +- Exibe ajuda: + +`pi --help` + +- Exibe a versão: + +`pi --version` diff --git a/pages.pt_BR/linux/pipewire.md b/pages.pt_BR/linux/pipewire.md new file mode 100644 index 00000000000000..60dd27e7b07386 --- /dev/null +++ b/pages.pt_BR/linux/pipewire.md @@ -0,0 +1,20 @@ +# pipewire + +> Inicia o daemon do PipeWire. +> Mais informações: . + +- Inicia o daemon do PipeWire: + +`pipewire` + +- Usa um arquivo de configuração diferente: + +`pipewire --config {{caminho/para/arquivo.conf}}` + +- Define o nível de verbosidade (erros, avisos, informações, depuração ou rastreamento): + +`pipewire -{{v|vv|...|vvvvv}}` + +- Exibir ajuda: + +`pipewire --help` diff --git a/pages.pt_BR/linux/poweroff.md b/pages.pt_BR/linux/poweroff.md new file mode 100644 index 00000000000000..9299466eb6ba9c --- /dev/null +++ b/pages.pt_BR/linux/poweroff.md @@ -0,0 +1,24 @@ +# poweroff + +> Desliga o sistema. +> Mais informações: . + +- Desliga o sistema: + +`poweroff` + +- Para o sistema (mesmo que `halt`): + +`poweroff --halt` + +- Reinicia o sistema (mesmo que `reboot`): + +`poweroff --reboot` + +- Desliga imediatamente sem contato com o gerenciador do sistema: + +`poweroff {{[-f|--force]}}` + +- Grava a entrada de desligamento wtmp sem desligar o sistema: + +`poweroff {{[-w|--wtmp-only]}}` diff --git a/pages.pt_BR/linux/protontricks.md b/pages.pt_BR/linux/protontricks.md new file mode 100644 index 00000000000000..68b8c18b6e8557 --- /dev/null +++ b/pages.pt_BR/linux/protontricks.md @@ -0,0 +1,28 @@ +# protontricks + +> Um wrapper simples que executa comandos WineTricks para jogos habilitados para o Proton. +> Mais informações: . + +- Executa a GUI do Protontricks: + +`protontricks --gui` + +- Executa o WineTricks para um jogo específico: + +`protontricks {{appid}} {{argumentos_do_winetricks}}` + +- Executa um comando no diretório de instalação de um jogo: + +`protontricks -c {{comando}} {{appid}}` + +- [l]ista todos os jogos instalados: + +`protontricks -l` + +- Busca o App ID de um jogo pelo nome: + +`protontricks -s {{nome_do_jogo}}` + +- Mostra a mensagem de ajuda do Protontricks: + +`protontricks --help` diff --git a/pages.pt_BR/linux/pw-cat.md b/pages.pt_BR/linux/pw-cat.md new file mode 100644 index 00000000000000..11be0f201a736f --- /dev/null +++ b/pages.pt_BR/linux/pw-cat.md @@ -0,0 +1,24 @@ +# pw-cat + +> Toca e grava arquivos de áudio através do PipeWire. +> Mais informações: . + +- Toca um arquivo WAV no alvo padrão: + +`pw-cat {{[-p|--playback]}} {{caminho/para/arquivo.wav}}` + +- Toca um arquivo WAV com uma qualidade de reamostragem específica (4 por padrão): + +`pw-cat {{[-q|--quality]}} {{0..15}} {{[-p|--playback]}} {{caminho/para/arquivo.wav}}` + +- Faz uma gravação com o volume em 125%: + +`pw-cat {{[-r|--record]}} --volume {{1.25}} {{caminho/para/arquivo.wav}}` + +- Faz uma gravação com uma taxa de amostragem diferente: + +`pw-cat {{[-r|--record]}} --rate {{6000}} {{caminho/para/arquivo.wav}}` + +- Exibe ajuda: + +`pw-cat {{[-h|--help]}}` diff --git a/pages.pt_BR/linux/pw-cli.md b/pages.pt_BR/linux/pw-cli.md new file mode 100644 index 00000000000000..d1bb54e00ee751 --- /dev/null +++ b/pages.pt_BR/linux/pw-cli.md @@ -0,0 +1,16 @@ +# pw-cli + +> Gerencia módulos, objetos, nós, dispositivos, conexões e muito mais de uma instância PipeWire. +> Mais informações: . + +- Exibe todos os nós (dispositivos de entrada e saída) com os seus IDs: + +`pw-cli list-objects Node` + +- Exibe informação sobre um objeto com um ID específico: + +`pw-cli info {{4}}` + +- Exibe as informações de todo os objetos: + +`pw-cli info all` diff --git a/pages.pt_BR/linux/pw-dump.md b/pages.pt_BR/linux/pw-dump.md new file mode 100644 index 00000000000000..e9164919378040 --- /dev/null +++ b/pages.pt_BR/linux/pw-dump.md @@ -0,0 +1,25 @@ +# pw-dump + +> Exibe o estado atual do PipeWire como JSON, incluindo as informações sobre nós, dispositivos, módulos, portas e outros objetos. +> Veja também: `pw-mon`. +> Mais informações: . + +- Exibe uma representação em JSON do estado atual da instância padrão do PipeWire: + +`pw-dump` + +- Exibe o estado atual monitorando mudanças, exibindo-as novamente: + +`pw-dump --monitor` + +- Salva o estado atual de uma instância remota para um arquivo: + +`pw-dump --remote {{nome_do_remoto}} > {{caminho/para/arquivo.json}}` + +- Define uma configuração de [C]or: + +`pw-dump --color {{never|always|auto}}` + +- Exibir ajuda: + +`pw-dump --help` diff --git a/pages.pt_BR/linux/pw-link.md b/pages.pt_BR/linux/pw-link.md new file mode 100644 index 00000000000000..a0d77bf5ec34f6 --- /dev/null +++ b/pages.pt_BR/linux/pw-link.md @@ -0,0 +1,24 @@ +# pw-link + +> Gerenciar conexões entre portas no PipeWire. +> Mais informações: . + +- Lista todos as saídas e entradas de áudio com seus IDs: + +`pw-link {{[-oiI|--output --input --id]}}` + +- Cria uma conexão entre uma porta de entrada e uma porta de saída: + +`pw-link {{output_port_name}} {{input_port_name}}` + +- Desconecta duas portas: + +`pw-link {{[-d|--disconnect]}} {{output_port_name}} {{input_port_name}}` + +- Lista todas as conexões com seus IDs: + +`pw-link {{[-lI|--links --id]}}` + +- Exibe ajuda: + +`pw-link {{[-h|--help]}}` diff --git a/pages.pt_BR/linux/pw-loopback.md b/pages.pt_BR/linux/pw-loopback.md new file mode 100644 index 00000000000000..17772bd19de936 --- /dev/null +++ b/pages.pt_BR/linux/pw-loopback.md @@ -0,0 +1,28 @@ +# pw-loopback + +> Ferramenta para Cria dispositivos de loopback no PipeWire. +> Mais informações: . + +- Cria um dispositivo de loopback com o comportamento padrão de loopback: + +`pw-loopback` + +- Cria um dispositivo de loopback que se conecta automaticamente aos alto-falantes: + +`pw-loopback -m '{{[FL FR]}}' --capture-props='{{media.class=Audio/Sink}}'` + +- Cria um dispositivo de loopback que se conecta automaticamente ao microfone: + +`pw-loopback -m '{{[FL FR]}}' --playback-props='{{media.class=Audio/Source}}'` + +- Cria um dispositivo fictício que não se conecta automaticamente a nada: + +`pw-loopback -m '{{[FL FR]}}' --capture-props='{{media.class=Audio/Sink}}' --playback-props='{{media.class=Audio/Source}}'` + +- Cria um dispositivo de loopback que se conecta automaticamente aos alto-falantes e troca os canais esquerdo e direito entre o dispositivo de entrada e o de saída: + +`pw-loopback --capture-props='{{media.class=Audio/Sink audio.position=[FL FR]}}' --playback-props='{{audio.position=[FR FL]}}'` + +- Cria um dispositivo de loopback que se conecta automaticamente ao microfone e troca os canais esquerdo e direito entre o dispositivo de entrada e o de saída: + +`pw-loopback --capture-props='{{audio.position=[FR FL]}}' --playback-props='{{media.class=Audio/Source audio.position=[FL FR]}}'` diff --git a/pages.pt_BR/linux/pw-mon.md b/pages.pt_BR/linux/pw-mon.md new file mode 100644 index 00000000000000..a4d7437f2c21db --- /dev/null +++ b/pages.pt_BR/linux/pw-mon.md @@ -0,0 +1,20 @@ +# pw-mon + +> Monitora objetos na instância PipeWire. +> Mais informações: . + +- Monitora a instância padrão do PipeWire: + +`pw-mon` + +- Monitora uma instância remota específica: + +`pw-mon --remote={{nome_do_remoto}}` + +- Monitora a instância padrão especificando uma configuração de cor: + +`pw-mon --color={{never|always|auto}}` + +- Exibe ajuda: + +`pw-mon --help` diff --git a/pages.pt_BR/linux/pw-play.md b/pages.pt_BR/linux/pw-play.md new file mode 100644 index 00000000000000..c3926c71af988b --- /dev/null +++ b/pages.pt_BR/linux/pw-play.md @@ -0,0 +1,7 @@ +# pw-play + +> Este comando é um apelido de `pw-cat --playback`. + +- Veja documentação sobre o comando original: + +`tldr pw-cat` diff --git a/pages.pt_BR/linux/pw-record.md b/pages.pt_BR/linux/pw-record.md new file mode 100644 index 00000000000000..8fb7374cb10ddd --- /dev/null +++ b/pages.pt_BR/linux/pw-record.md @@ -0,0 +1,7 @@ +# pw-record + +> Este comando é um apelido de `pw-cat --record`. + +- Veja documentação sobre o comando original: + +`tldr pw-cat` diff --git a/pages.pt_BR/linux/pw-top.md b/pages.pt_BR/linux/pw-top.md new file mode 100644 index 00000000000000..46a2b562026844 --- /dev/null +++ b/pages.pt_BR/linux/pw-top.md @@ -0,0 +1,21 @@ +# pw-top + +> Mostra os nós e estatísticas de dispositivos PipeWire em tempo real. +> Veja também: `pipewire`, `pw-dump`, `pw-cli`, `pw-profiler`. +> Mais informações: . + +- Mostra uma visualização interativa de nós e dispositivos PipeWire: + +`pw-top` + +- Monitora uma instância remota: + +`pw-top --remote {{nome_do_remoto}}` + +- Imprime as informações várias vezes em vez de executar em modo interativo: + +`pw-top --batch-mode` + +- Imprime informações um número específico de vezes: + +`pw-top --batch-mode --iterations {{3}}` diff --git a/pages.pt_BR/linux/reboot.md b/pages.pt_BR/linux/reboot.md new file mode 100644 index 00000000000000..8b9a298762a2b4 --- /dev/null +++ b/pages.pt_BR/linux/reboot.md @@ -0,0 +1,24 @@ +# reboot + +> Reinicia o sistema. +> Mais informações: . + +- Reinicia o sistema: + +`reboot` + +- Desliga o sistema (igual a `poweroff`): + +`reboot {{[-p|--poweroff]}}` + +- Suspende o sistema (igual a `halt`): + +`reboot --halt` + +- Reinicia imediatamente sem entrar em contato com o gerente do sistema: + +`reboot {{[-f|--force]}}` + +- Escreve a entrada wtmp shutdown sem reinicializar o sistema: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.pt_BR/linux/rolldice.md b/pages.pt_BR/linux/rolldice.md new file mode 100644 index 00000000000000..a7efef747c3756 --- /dev/null +++ b/pages.pt_BR/linux/rolldice.md @@ -0,0 +1,20 @@ +# rolldice + +> Rola dados virtuais. +> Mais informações: . + +- Rola um dado de 20 lados: + +`rolldice d{{20}}` + +- Rola dois dados de seis lados e descarta o menor valor: + +`rolldice {{2}}d{{6}}s{{1}}` + +- Rola dois dados de vite lados e adiciona um modificador ao resultado: + +`rolldice {{2}}d{{20}}{{+5}}` + +- Rola um dado de vinte lados duas vezes: + +`rolldice {{2}}xd{{20}}` diff --git a/pages.pt_BR/linux/sed.md b/pages.pt_BR/linux/sed.md new file mode 100644 index 00000000000000..6f071979c5d7ec --- /dev/null +++ b/pages.pt_BR/linux/sed.md @@ -0,0 +1,33 @@ +# sed + +> Edita texto de uma maneira programável. +> Veja também: `awk`, `ed`. +> Mais informações: . + +- Substitui todas as ocorrências de `apple` (regex básica) por `mango` (regex básica) em todas as linhas de entrada e imprime o resultado na `stdout`: + +`{{comando}} | sed 's/apple/mango/g'` + +- Substitui todas as ocorrências de `apple` (regex estendida) por `APPLE` (regex estendida) em todas as linhas de entrada e imprime o resultado na `stdout`: + +`{{comando}} | sed {{[-E|--regexp-extended]}} 's/(apple)/\U\1/g'` + +- Substitui todas as ocorrências de `apple` (regex básica) por `mango` (regex básica) em um arquivo específico e sobrescreve o arquivo original: + +`sed {{[-i|--in-place]}} 's/apple/mango/g' {{caminho/para/arquivo}}` + +- Executa um arquivo de script específico e imprime o resultado na `stdout`: + +`{{comando}} | sed {{-f|--file}} {{caminho/para/script.sed}}` + +- Imprime apenas uma primeira linha na `stdout`: + +`{{comando}} | sed {{[-n|--quiet]}} '1p'` + +- Exclui a primeira linha de um arquivo: + +`sed {{[-i|--in-place]}} 1d {{caminho/para/arquivo}}` + +- Adiciona uma nova linha na primeira linha de um arquivo: + +`sed {{[-i|--in-place]}} '1i\sua nova linha de texto\' {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/linux/snapper.md b/pages.pt_BR/linux/snapper.md new file mode 100644 index 00000000000000..7b0e02b0d4f786 --- /dev/null +++ b/pages.pt_BR/linux/snapper.md @@ -0,0 +1,28 @@ +# snapper + +> Ferramenta de gerenciamento de snapshots do sistema de arquivos. +> Mais informações: . + +- Lista configurações de snapshots: + +`snapper list-configs` + +- Cria configuração do snapper: + +`snapper -c {{configuração}} create-config {{caminho/para/diretório}}` + +- Cria um snapshot com uma descrição: + +`snapper -c {{configuração}} create -d "{{descrição_do_snapshot}}"` + +- Lista snapshots para uma configuração: + +`snapper -c {{configuração}} list` + +- Exclue um snapshot: + +`snapper -c {{configuração}} delete {{número_do_snapshot}}` + +- Exclue um intervalo de snapshots: + +`snapper -c {{configuração}} delete {{snapshot_X}}-{{snapshot_Y}}` diff --git a/pages.pt_BR/linux/sport.md b/pages.pt_BR/linux/sport.md new file mode 100644 index 00000000000000..fd5a4c34c69cb6 --- /dev/null +++ b/pages.pt_BR/linux/sport.md @@ -0,0 +1,32 @@ +# sport + +> Busque e instale Slackbuilds. +> Mais informações: . + +- Puxa a lista de SlackBuilds para rodar `sport` pela primeira vez: + +`sudo mkdir -p /usr/ports && sudo rsync -av rsync://slackbuilds.org /slackbuilds/$(awk '{print $2}' /etc/slackware-version)/ /usr/ports/` + +- Puxa qualquer atualização para a árvore do sistema via `rsync`: + +`sudo sport rsync` + +- Procura um pacote pelo nome: + +`sport search "{{palavra_chave}}"` + +- Checa se um pacote está instalado: + +`sport check {{pacote}}` + +- Exibe os arquivos README e `.info` de um pacote: + +`sport cat {{pacote}}` + +- Instala um pacote uma vez que as dependências estejam instaladas: + +`sudo sport install {{pacote}}` + +- Instala uma lista de pacotes de um arquivo (formato: pacotes separados por espaço): + +`sudo sport install $(< {{caminho/para/lista}})` diff --git a/pages.pt_BR/linux/systemctl.md b/pages.pt_BR/linux/systemctl.md new file mode 100644 index 00000000000000..e3e1f0622cb159 --- /dev/null +++ b/pages.pt_BR/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> Controla o sistema systemd e o gerenciador de serviços. +> Mais informações: . + +- Mostra todos os serviços em execução: + +`systemctl status` + +- Lista unidades com falha: + +`systemctl --failed` + +- Inicia/Para/Reinicia/Recarrega o estado um serviço: + +`systemctl {{start|stop|restart|reload}} {{unidade}}` + +- Ativa/Desativa uma unidade a ser iniciada na inicialização: + +`systemctl {{enable|disable}} {{unidade}}` + +- Recarrega o systemd, verificando por unidades novas ou alteradas: + +`systemctl daemon-reload` + +- Verifica se uma unidade está ativada/ativa/em falha: + +`systemctl {{is-active|is-enabled|isfailed}} {{unidade}}` + +- Lista todos as unidades de serviço/socket/auto-montável filtrando por estado executando/falhou: + +`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` + +- Mostra o conteúdo e o caminho absoluto do arquivo de uma unidade: + +`systemctl cat {{unidade}}` diff --git a/pages.pt_BR/linux/top.md b/pages.pt_BR/linux/top.md index 885b9448c3ab08..dec8165788485e 100644 --- a/pages.pt_BR/linux/top.md +++ b/pages.pt_BR/linux/top.md @@ -1,23 +1,32 @@ # top -> Utilitário para exibir informações, em tempo real, sobre os processos em execução. +> Mostra informações, em tempo real, sobre os processos em execução. +> Mais informações: . -- Iniciar top: +- Inicia o `top`: `top` -- Exibir apenas os processos ativos: +- Exibe apenas os processos ativos: -`top -i` +`top {{[-i|--idle-toggle]}}` -- Exibir os processos de um usuário específico: +- Exibe os processos de um usuário específico: -`top -u {{username}}` +`top {{[-u|--filter-only-euser]}} {{usuario}}` -- Exibir o(s) processo(s) de um ou mais PID específico(s), separado(s) por vírgula: +- Ordena os processos por campo: -`top -p {{PID1,PID2,PID3}}` +`top {{[-o|--sort-override]}} {{nome_do_campo}}` -- Mostra Ajuda sobre os comandos disponíveis: +- Mostra todas as threads de um dado processo: -`?` +`top {{[-Hp|--threads-show --pid]}} {{id_do_processo}}` + +- Mostra apenas processos com determinados PID(s), informados em uma lista separada por vírgulas (Normalmente você não saberá os PIDs de cabeça. Este exemplo pega os PIDs a partir do nome de um processo): + +`top {{[-p|--pid]}} $(pgrep {{[-d|--delimiter]}} ',' {{nome_do_processo}})` + +- Mostra ajuda sobre comandos interativos: + +`` diff --git a/pages.pt_BR/linux/tree.md b/pages.pt_BR/linux/tree.md deleted file mode 100644 index 284e25c46669d9..00000000000000 --- a/pages.pt_BR/linux/tree.md +++ /dev/null @@ -1,36 +0,0 @@ -# tree - -> Exibe o conteúdo do diretório atual em formato de árvore. -> Mais informações: . - -- Exibe os arquivos e diretórios de acordo com o nível de profundidade 'num' informado (onde 1 significa o diretório atual): - -`tree -L {{num}}` - -- Exibe apenas diretórios: - -`tree -d` - -- Inclui a exibição de arquivos ocultos com colorização diferenciada: - -`tree -a -C` - -- Exibe a árvore sem identação, mostrando o caminho completo (usar `-N` para não escapar espaços em branco e caracteres especiais): - -`tree -i -f` - -- Exibe o tamanho de cada arquivo e o tamanho acumulado de cada diretório, em um formato de leitura para humanos: - -`tree -s -h --du` - -- Exibe arquivos em uma árvore hierárquica, utilizando um padrão coringa, e eliminando diretórios que não contêm arquivos correspondentes ao informado: - -`tree -P '{{*.txt}}' --prune` - -- Exibe diretórios em uma árvore hierárquica, utilizando um padrão coringa, e eliminando diretórios que não possuem ancestrais do informado: - -`tree -P {{nome_diretorio}} --matchdirs --prune` - -- Exibe a árvore ignorando os diretórios informados: - -`tree -I '{{nome_diretorio1|nome_diretorio2}}'` diff --git a/pages.pt_BR/linux/ubuntu-bug.md b/pages.pt_BR/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..a719c0e6518af7 --- /dev/null +++ b/pages.pt_BR/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Este comando é um apelido de `apport-bug`. + +- Exibe documentação sobre o comando original: + +`tldr apport-bug` diff --git a/pages.pt_BR/linux/ufw.md b/pages.pt_BR/linux/ufw.md new file mode 100644 index 00000000000000..4f9b74285b15d3 --- /dev/null +++ b/pages.pt_BR/linux/ufw.md @@ -0,0 +1,37 @@ +# ufw + +> Firewall Descomplicado. +> Frontend para `iptables` com o objetivo de facilitar a configuração de um firewall. +> Mais informações: . + +- Habilita o ufw: + +`ufw enable` + +- Desabilita o ufw: + +`ufw disable` + +- Mostra regras ufw, juntamente com seus números: + +`ufw status numbered` + +- Permite tráfego de entrada na porta 5432 nesse host com um que identifique o serviço: + +`ufw allow {{5432}} comment "{{Service}}"` + +- Permite apenas tráfego TCP de 192.168.0.4 pra qualquer endereço deste host, na porta 22: + +`ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}` + +- Nega tráfego na porta 80 desse host: + +`ufw deny {{80}}` + +- Nega todo o tráfego UDP para portas no intervalo 8412:8500: + +`ufw deny proto {{udp}} from {{any}} to {{any}} port {{8412:8500}}` + +- Deleta uma regra particular. O número da regra pode ser recuperado com o `ufw status numbered` comando: + +`ufw delete {{rule_number}}` diff --git a/pages.pt_BR/linux/units.md b/pages.pt_BR/linux/units.md deleted file mode 100644 index 085ebbb62ead0f..00000000000000 --- a/pages.pt_BR/linux/units.md +++ /dev/null @@ -1,25 +0,0 @@ -# units - -> Realiza a conversão entre duas unidades de medida. -> Digitar `search{{text}}` no console retornará uma lista de todas as unidades que contêm `{{text}}`. -> Mais informações: . - -- Rodar no modo interativo: - -`units` - -- Mostrar a conversão entre duas unidades simples: - -`units {{quarts}} {{tablespoons}}` - -- Converter entre unidades com quantidades definidas: - -`units {{15 pounds}} {{kilograms}}` - -- Mostrar a conversão entre duas unidades compostas: - -`units "{{meters / second}}" "{{inches / hour}}"` - -- Mostrar a conversão entre unidades de diferentes dimensões: - -`units "{{acres}}" "{{ft^2}}"` diff --git a/pages.pt_BR/linux/wtf.md b/pages.pt_BR/linux/wtf.md index 810ddcdba427ec..9f059c1051fa31 100644 --- a/pages.pt_BR/linux/wtf.md +++ b/pages.pt_BR/linux/wtf.md @@ -1,7 +1,7 @@ # wtf > Mostra a expansão de acrônimos. -> Mais informações: . +> Mais informações: . - Expande um acrônimo: diff --git a/pages.pt_BR/linux/xrandr.md b/pages.pt_BR/linux/xrandr.md new file mode 100644 index 00000000000000..ec9313fa430502 --- /dev/null +++ b/pages.pt_BR/linux/xrandr.md @@ -0,0 +1,32 @@ +# xrandr + +> Define o tamanho, orientação e/ou espelhamento das saídas para uma tela. +> Mais informações: . + +- Exibe o estado atual do sistema (telas conhecidas, resoluções, ...): + +`xrandr {{[-q|--query]}}` + +- Desativa saídas desconectadas e ativa as conectadas com as configurações padrão: + +`xrandr --auto` + +- Altera a resolução e frequência de atualização da DisplayPort 1 para 1920x1080, 60Hz: + +`xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}` + +- Define a resolução do HDMI2 para 1280x1024 e o coloca à direita de DP1: + +`xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}` + +- Desativa a saída VGA1: + +`xrandr --output {{VGA1}} --off` + +- Define o brilho de LVDS1 como 50%: + +`xrandr --output {{LVDS1}} --brightness {{0.5}}` + +- Mostra o estado atual de qualquer servidor X: + +`xrandr {{[-d|--display]}} :{{0}} {{[-q|--query]}}` diff --git a/pages.pt_BR/linux/xwinwrap.md b/pages.pt_BR/linux/xwinwrap.md new file mode 100644 index 00000000000000..04c65842f7e151 --- /dev/null +++ b/pages.pt_BR/linux/xwinwrap.md @@ -0,0 +1,20 @@ +# xwinwrap + +> Usa um reprodutor de vídeo ou um programa como plano de fundo. +> Mais informações: . + +- Reproduz um vídeo usando mpv: + +`xwinwrap -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{caminho/para/video.mp4}}` + +- Reproduz um vídeo em tela cheia usando mpv: + +`xwinwrap -b -nf -fs -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{caminho/para/video.mp4}}` + +- Reproduz um vídeo usando mpv com 80% de opacidade: + +`xwinwrap -b -nf -ov -o 0.8 --- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{caminho/para/video.mp4}}` + +- Reproduz um vídeo usando mpv em um segundo monitor 1600x900 com 1920 de distância do eixo X: + +`xwinwrap -g 1600x900+1920 -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{caminho/para/video.mkv}}` diff --git a/pages.pt_BR/linux/yaourt.md b/pages.pt_BR/linux/yaourt.md new file mode 100644 index 00000000000000..46725151068a13 --- /dev/null +++ b/pages.pt_BR/linux/yaourt.md @@ -0,0 +1,24 @@ +# yaourt + +> Utilitário de Arch Linux para compilaçào de pacotes AUR (Arch User Repository). +> Mais informações: . + +- Sincroniza e atualiza todos os pacotes (incluindo AUR): + +`yaourt -Syua` + +- Instala um novo pacote (incluindo AUR): + +`yaourt -S {{nome_do_pacote}}` + +- Remove um pacote e suas dependências (incluindo pacotes AUR): + +`yaourt -Rs {{nome_do_pacote}}` + +- Procura no banco de dados de pacotes por uma palavra-chave (incluindo AUR): + +`yaourt -Ss {{nome_do_pacote}}` + +- Lista pacotes instalados, versões, e repositórios (pacotes AUR serão listados sob como repositório 'local'): + +`yaourt -Q` diff --git a/pages.pt_BR/linux/yay.md b/pages.pt_BR/linux/yay.md new file mode 100644 index 00000000000000..8b1a94dcb29c58 --- /dev/null +++ b/pages.pt_BR/linux/yay.md @@ -0,0 +1,37 @@ +# yay + +> Yet Another Yogurt: Um utilitário de Arch Linux para compilar e instalar pacotes do AUR (Arch User Repository). +> Veja também `pacman`. +> Mais informações: . + +- Busca interativamente e instala pacotes dos repositórios e AUR: + +`yay {{nome_do_pacote|termo_de_busca}}` + +- Sincroniza e atualiza todos os pacotes dos repositórios e AUR: + +`yay` + +- Sincroniza e atualiza apenas pacotes AUR: + +`yay -Sua` + +- Instala um novo pacote de repositório e AUR: + +`yay -S {{nome_do_pacote}}` + +- Remove um pacote instalado, suas dependências e arquivos de configuração: + +`yay -Rns {{nome_do_pacote}}` + +- Procura no banco de dados de pacotes por uma palavra-chave dos repositórios e AUR: + +`yay -Ss {{palavra_chave}}` + +- Remove pacotes órfãos (instalado como dependência mas não utilizado por qualquer pacote): + +`yay -Yc` + +- Mostra estatísticas dos pacotes instalados e condição do sistema: + +`yay -Ps` diff --git a/pages.pt_BR/linux/yum.md b/pages.pt_BR/linux/yum.md new file mode 100644 index 00000000000000..201ae602dbedac --- /dev/null +++ b/pages.pt_BR/linux/yum.md @@ -0,0 +1,28 @@ +# yum + +> Gerenciador de pacotes utilitário para RHEL, Fedora e CentOS (para outras versões). +> Mais informações: . + +- Instala um novo pacote: + +`yum install {{package}}` + +- Instala um novo pacote assumindo sim para todas as perguntas (também funciona com atualizações, ótimo para atualizações automáticas): + +`yum -y install {{package}}` + +- Localiza o pacote que providência um comando particular: + +`yum provides {{command}}` + +- Remove um pacote: + +`yum remove {{package}}` + +- Exibe atualizações disponíveis para pacotes instalados: + +`yum check-update` + +- Atualiza pacotes instalados para as novas versões disponíveis: + +`yum upgrade` diff --git a/pages.pt_BR/linux/zathura.md b/pages.pt_BR/linux/zathura.md new file mode 100644 index 00000000000000..74c89c2930805e --- /dev/null +++ b/pages.pt_BR/linux/zathura.md @@ -0,0 +1,33 @@ +# zathura + +> Um visualizador de documentos modular e baseado em vim, com uma linha de comando integrada. +> Tenha certeza de que um backend está instalado (poppler, PostScript, ou DjVu). +> Mais informações: . + +- Abre um arquivo: + +`zathura {{caminho/para/arquivo}}` + +- Navega esquerda/baixo/cima/direita: + +`{{||||}}` + +- Rotaciona: + +`` + +- Inverte cores: + +`` + +- Procura por uma string no documento: + +`{{string}}` + +- Cria/remove marcadores de página: + +`<:>{{bmark|bdelete}} {{nome_do_marcador}}` + +- Lista marcadores de página: + +`<:>blist` diff --git a/pages.pt_BR/linux/zramctl.md b/pages.pt_BR/linux/zramctl.md new file mode 100644 index 00000000000000..0444b60011107c --- /dev/null +++ b/pages.pt_BR/linux/zramctl.md @@ -0,0 +1,25 @@ +# zramctl + +> Configura e controla dispositivos zram. +> Use `mkfs` ou `mkswap` para formatar dispositivos zram para partições. +> Mais informações: . + +- Verifica se o zram está habilitado: + +`lsmod | grep -i zram` + +- Habilita o zram com um número dinâmico de dispositivos (use `zramctl` para configurar ainda mais os dispositivos): + +`sudo modprobe zram` + +- Habilita o zram com exatamente 2 dispositivos: + +`sudo modprobe zram num_devices={{2}}` + +- Encontra e inicializa o próximo dispositivo zram gratuito em uma unidade virtual de 2 GB usando a compressão LZ4: + +`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}` + +- Lista dispositivos atualmente inicializados: + +`sudo zramctl` diff --git a/pages.pt_BR/linux/zypper.md b/pages.pt_BR/linux/zypper.md new file mode 100644 index 00000000000000..46d5a5f4ac69db --- /dev/null +++ b/pages.pt_BR/linux/zypper.md @@ -0,0 +1,28 @@ +# zypper + +> Utilitário de gerenciamento de pacotes SUSE e openSUSE. +> Mais informações: . + +- Sincroniza a lista de pacotes e versões disponíveis: + +`zypper refresh` + +- Instala um novo pacote: + +`zypper install {{pacote}}` + +- Remove um pacote: + +`zypper remove {{pacote}}` + +- Atualiza os pacotes instalados para as versões mais recentes disponíveis: + +`zypper update` + +- Pesquisa pacote por palavra-chave: + +`zypper search {{palavra-chave}}` + +- Mostra informações relacionadas aos repositórios configurados: + +`zypper repos --sort-by-priority` diff --git a/pages.pt_BR/osx/aa.md b/pages.pt_BR/osx/aa.md new file mode 100644 index 00000000000000..9653ee23880174 --- /dev/null +++ b/pages.pt_BR/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Este comando é um alias de `yaa`. + +- Veja a documentação do comando original: + +`tldr yaa` diff --git a/pages.pt_BR/osx/afinfo.md b/pages.pt_BR/osx/afinfo.md new file mode 100644 index 00000000000000..35b18a8894ef69 --- /dev/null +++ b/pages.pt_BR/osx/afinfo.md @@ -0,0 +1,29 @@ +# afinfo + +> Parser de metadados de arquivos de áudio para OS X. +> Comando nativo do OS X. +> Mais informações: . + +- Exibe informações de um determinado arquivo de áudio: + +`afinfo {{caminho/para/arquivo}}` + +- Imprime uma descrição de uma linha do arquivo de áudio: + +`afinfo --brief {{caminho/para/arquivo}}` + +- Imprime informações de metadados e conteúdo do InfoDictionary do arquivo de áudio: + +`afinfo --info {{caminho/para/arquivo}}` + +- Imprime saída em formato XML: + +`afinfo --xml {{caminho/para/arquivo}}` + +- Imprime avisos para o arquivo de áudio, se houver: + +`afinfo --warnings {{caminho/para/arquivo}}` + +- Exibe ajuda sobre o uso completo: + +`afinfo --help` diff --git a/pages.pt_BR/osx/afplay.md b/pages.pt_BR/osx/afplay.md new file mode 100644 index 00000000000000..a6f0666748558e --- /dev/null +++ b/pages.pt_BR/osx/afplay.md @@ -0,0 +1,20 @@ +# afplay + +> Player de áudio para linha de comando. +> Mais informações: . + +- Reproduz um arquivo de som (espera até que a reprodução termine): + +`afplay {{caminho/para/arquivo}}` + +- Reproduz um arquivo de som em velocidade 2x (taxa de reprodução): + +`afplay --rate {{2}} {{caminho/para/arquivo}}` + +- Reproduz um arquivo de som em meia velocidade: + +`afplay --rate {{0.5}} {{caminho/para/arquivo}}` + +- Reproduz os N primeiros segundos de um arquivo de som: + +`afplay --time {{segundos}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/osx/airport.md b/pages.pt_BR/osx/airport.md new file mode 100644 index 00000000000000..b6ea4039139c38 --- /dev/null +++ b/pages.pt_BR/osx/airport.md @@ -0,0 +1,20 @@ +# airport + +> Utilitário de configuração de rede sem fio. +> Mais informações: . + +- Mostra informações de status da rede sem fio atual: + +`airport --getinfo` + +- Fareja tráfego de rede sem fio no canal 1: + +`airport sniff {{1}}` + +- Procura redes sem fio disponíveis: + +`airport --scan` + +- Desassocia da rede airport atual: + +`sudo airport --disassociate` diff --git a/pages.pt_BR/osx/airportd.md b/pages.pt_BR/osx/airportd.md new file mode 100644 index 00000000000000..6cd9ab181a39c5 --- /dev/null +++ b/pages.pt_BR/osx/airportd.md @@ -0,0 +1,9 @@ +# airportd + +> Gerencia interfaces sem fio. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`airportd` diff --git a/pages.pt_BR/osx/apachectl.md b/pages.pt_BR/osx/apachectl.md new file mode 100644 index 00000000000000..25051dfb1d2766 --- /dev/null +++ b/pages.pt_BR/osx/apachectl.md @@ -0,0 +1,16 @@ +# apachectl + +> Interface de controle do Servidor HTTP Apache para macOS. +> Mais informações: . + +- Inicia o job launchd `org.apache.httpd`: + +`apachectl start` + +- Para o job launchd: + +`apachectl stop` + +- Para, e então inicia o job launchd: + +`apachectl restart` diff --git a/pages.pt_BR/osx/applecamerad.md b/pages.pt_BR/osx/applecamerad.md new file mode 100644 index 00000000000000..e488bed1d579c7 --- /dev/null +++ b/pages.pt_BR/osx/applecamerad.md @@ -0,0 +1,9 @@ +# applecamerad + +> Gerenciador de câmera. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`applecamerad` diff --git a/pages.pt_BR/osx/appsleepd.md b/pages.pt_BR/osx/appsleepd.md new file mode 100644 index 00000000000000..309f6a0d20c32c --- /dev/null +++ b/pages.pt_BR/osx/appsleepd.md @@ -0,0 +1,9 @@ +# appsleepd + +> Fornece serviços app sleep. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`appsleepd` diff --git a/pages.pt_BR/osx/arch.md b/pages.pt_BR/osx/arch.md new file mode 100644 index 00000000000000..385ac0494fc3be --- /dev/null +++ b/pages.pt_BR/osx/arch.md @@ -0,0 +1,17 @@ +# arch + +> Exibe o nome da arquitetura do sistema ou executa um comando em uma arquitetura diferente. +> Veja também: `uname`. +> Mais informações: . + +- Exibe o nome da arquitetura do sistema: + +`arch` + +- Executa um comando usando a arquitetura x86_64: + +`arch -x86_64 "{{comando}}"` + +- Executa um comando usando arm: + +`arch -arm64 "{{comando}}"` diff --git a/pages.pt_BR/osx/archey.md b/pages.pt_BR/osx/archey.md new file mode 100644 index 00000000000000..8878af650a18a8 --- /dev/null +++ b/pages.pt_BR/osx/archey.md @@ -0,0 +1,20 @@ +# archey + +> Ferramenta simples para exibir as informações do sistema com estilo. +> Mais informações: . + +- Mostra informações do sistema: + +`archey` + +- Mostra informações do sistema sem saída colorida: + +`archey --nocolor` + +- Mostra informações do sistema, usando MacPorts em vez de Homebrew: + +`archey --macports` + +- Mostra informações do sistema sem verificação de endereço IP: + +`archey --offline` diff --git a/pages.pt_BR/osx/as.md b/pages.pt_BR/osx/as.md new file mode 100644 index 00000000000000..dee790ae515c8a --- /dev/null +++ b/pages.pt_BR/osx/as.md @@ -0,0 +1,21 @@ +# as + +> Montador (assembler) GNU portável. +> Principalmente destinado a montar a saída do `gcc` para ser usada pelo `ld`. +> Mais informações: . + +- Monta (compilar) um arquivo, escrevendo a saída para `a.out`: + +`as {{caminho/para/arquivo.s}}` + +- Monta a saída para um determinado arquivo: + +`as {{caminho/para/arquivo.s}} -o {{caminho/para/saida.o}}` + +- Gera saída mais rapidamente ignorando espaços em branco e pré-processamento de comentários. (Só deve ser usado para compiladores confiáveis): + +`as -f {{caminho/para/arquivo.s}}` + +- Inclui um determinado caminho na lista de diretórios para pesquisar os arquivos especificados nas diretivas `.include`: + +`as -I {{caminho/para/diretório}} {{caminho/para/arquivo.s}}` diff --git a/pages.pt_BR/osx/asr.md b/pages.pt_BR/osx/asr.md new file mode 100644 index 00000000000000..4260c02f514f88 --- /dev/null +++ b/pages.pt_BR/osx/asr.md @@ -0,0 +1,21 @@ +# asr + +> Restaurar (copiar) uma imagem de disco em um volume. +> O nome do comando significa Apple Software Restore. +> Mais informações: . + +- Restaura uma imagem de disco para um volume de destino: + +`sudo asr restore --source {{nome_da_imagem.dmg}} --target {{caminho/para/volume}}` + +- Apaga o volume de destino antes de restaurar: + +`sudo asr restore --source {{nome_da_imagem.dmg}} --target {{caminho/para/volume}} --erase` + +- Ignora a verificação após a restauração: + +`sudo asr restore --source {{nome_da_imagem.dmg}} --target {{caminho/para/volume}} --noverify` + +- Clona volumes sem o uso de uma imagem de disco intermediária: + +`sudo asr restore --source {{caminho/para/volume}} --target {{caminho/para/volume_clonado}}` diff --git a/pages.pt_BR/osx/automountd.md b/pages.pt_BR/osx/automountd.md new file mode 100644 index 00000000000000..b97db1644a9b06 --- /dev/null +++ b/pages.pt_BR/osx/automountd.md @@ -0,0 +1,13 @@ +# automountd + +> Um daemon de montagem/desmontagem automática para `autofs`. Iniciado sob demanda por `launchd`. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`automountd` + +- Log de mais detalhes em `syslog`: + +`automountd -v` diff --git a/pages.pt_BR/osx/avbdeviced.md b/pages.pt_BR/osx/avbdeviced.md new file mode 100644 index 00000000000000..4172de49cc5b87 --- /dev/null +++ b/pages.pt_BR/osx/avbdeviced.md @@ -0,0 +1,9 @@ +# avbdeviced + +> Serviço para gerenciar dispositivos Audio Video Bridging (AVB). +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`avbdeviced` diff --git a/pages.pt_BR/osx/base64.md b/pages.pt_BR/osx/base64.md new file mode 100644 index 00000000000000..694ffe3e481916 --- /dev/null +++ b/pages.pt_BR/osx/base64.md @@ -0,0 +1,20 @@ +# base64 + +> Codifica e decodifica usando a representação Base64. +> Mais informações: . + +- Codifica um arquivo: + +`base64 {{[-i|--input]}} {{arquivo}}` + +- Decodifica um arquivo: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{arquivo_base64}}` + +- Codifica de `stdin`: + +`echo -n "{{texto}}" | base64` + +- Decodifica de `stdin`: + +`echo -n {{texto_base64}} | base64 {{[-d|--decode]}}` diff --git a/pages.pt_BR/osx/bc.md b/pages.pt_BR/osx/bc.md new file mode 100644 index 00000000000000..a627ad7eef3800 --- /dev/null +++ b/pages.pt_BR/osx/bc.md @@ -0,0 +1,29 @@ +# bc + +> Linguagem e calculadora com precisão arbitrária. +> Veja também: `dc`. +> Mais informações: . + +- Inicia uma sessão interativa: + +`bc` + +- Inicia uma sessão interativa com a biblioteca matemática padrão habilitada: + +`bc --mathlib` + +- Calcula uma expressão: + +`bc --expression '{{5 / 3}}'` + +- Executa um script: + +`bc {{caminho/para/script.bc}}` + +- Calcula uma expressão com a escala especificada: + +`bc --expression '{{scale = 10; 5 / 3}}'` + +- Calcula uma função sine/cosine/arctangent/natural logarithm/exponential usando `mathlib`: + +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages.pt_BR/osx/bird.md b/pages.pt_BR/osx/bird.md new file mode 100644 index 00000000000000..6e4a1f93b09fcc --- /dev/null +++ b/pages.pt_BR/osx/bird.md @@ -0,0 +1,9 @@ +# bird + +> Suporta a sincronização do iCloud e iCloud Drive. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`bird` diff --git a/pages.pt_BR/osx/bless.md b/pages.pt_BR/osx/bless.md new file mode 100644 index 00000000000000..4d24049178728a --- /dev/null +++ b/pages.pt_BR/osx/bless.md @@ -0,0 +1,20 @@ +# bless + +> Define a capacidade de inicialização por volume e as opções de disco de inicialização. Set volume boot capability and startup disk options. +> Mais informações: . + +- Define um volume somente com Mac OS X ou Darwin e cria os arquivos BootX e `boot.efi` se necessário: + +`bless --folder {{/Volumes/Mac OS X/System/Library/CoreServices}} --bootinfo --bootefi` + +- Define um volume contendo Mac OS 9 ou Mac OS X como o volume ativo: + +`bless --mount {{/Volumes/Mac OS}} --setBoot` + +- Define o sistema para NetBoot e transmite para um servidor disponível: + +`bless --netboot --server {{bsdp://255.255.255.255}}` + +- Coleta informações sobre o volume atualmente selecionado (conforme determinado pelo firmware), adequado para piping para um programa capaz de analisar listas de propriedades: + +`bless --info --plist` diff --git a/pages.pt_BR/osx/bnepd.md b/pages.pt_BR/osx/bnepd.md new file mode 100644 index 00000000000000..1b705357fc6f55 --- /dev/null +++ b/pages.pt_BR/osx/bnepd.md @@ -0,0 +1,9 @@ +# bnepd + +> Serviço que lida com todas as conexões de rede Bluetooth. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`bnepd` diff --git a/pages.pt_BR/osx/brightness.md b/pages.pt_BR/osx/brightness.md new file mode 100644 index 00000000000000..5fd33909127905 --- /dev/null +++ b/pages.pt_BR/osx/brightness.md @@ -0,0 +1,16 @@ +# brightness + +> Obtém e define o nível de brilho de todos os monitores internos e alguns monitores externos. +> Mais informações: . + +- Mostra o brilho atual: + +`brightness -l` + +- Define o brilho para 100%: + +`brightness {{1}}` + +- Define o brilho para 50%: + +`brightness {{0.5}}` diff --git a/pages.pt_BR/osx/caffeinate.md b/pages.pt_BR/osx/caffeinate.md new file mode 100644 index 00000000000000..ec13afc451c811 --- /dev/null +++ b/pages.pt_BR/osx/caffeinate.md @@ -0,0 +1,24 @@ +# caffeinate + +> Evita que o macOS entre em suspensão (repouso). +> Mais informações: . + +- Evita a suspensão por uma hora (3600 segundos): + +`caffeinate -u -t {{3600}}` + +- Evita a suspensão até que um comando seja concluído: + +`caffeinate -s "{{comando}}"` + +- Evita a suspensão até que um processo com o PID especificado seja concluído: + +`caffeinate -w {{pid}}` + +- Evita a suspensão (use `` para sair): + +`caffeinate -i` + +- Evita a suspensão do disco (use `` para sair): + +`caffeinate -m` diff --git a/pages.pt_BR/osx/cal.md b/pages.pt_BR/osx/cal.md new file mode 100644 index 00000000000000..78db14835c41f6 --- /dev/null +++ b/pages.pt_BR/osx/cal.md @@ -0,0 +1,32 @@ +# cal + +> Exibe informações de calendário. +> Mais informações: . + +- Exibe um calendário para o mês atual: + +`cal` + +- Exibe os meses anterior, atual, e próximo: + +`cal -3` + +- Exibe um calendário para um mês específico (1-12 ou nome): + +`cal -m {{mês}}` + +- Exibe um calendário para o ano atual: + +`cal -y` + +- Exibe um calendário para um ano específico (4 dígitos): + +`cal {{ano}}` + +- Exibe um calendário para um mês e ano específicos: + +`cal {{mês}} {{ano}}` + +- Exibe a data da Páscoa (igrejas cristãs ocidentais) em um determinado ano: + +`ncal -e {{ano}}` diff --git a/pages.pt_BR/osx/carthage.md b/pages.pt_BR/osx/carthage.md new file mode 100644 index 00000000000000..e9a68fee3e1536 --- /dev/null +++ b/pages.pt_BR/osx/carthage.md @@ -0,0 +1,24 @@ +# carthage + +> Ferramenta de gerenciamento de dependências para aplicativos Cocoa. +> Mais informações: . + +- Baixa a versão mais recente de todas as dependências mencionadas no Cartfile e realiza o build delas: + +`carthage update` + +- Atualiza as dependências, e faz build apenas para o iOS: + +`carthage update --platform ios` + +- Atualiza as dependências, sem realizar build de nenhuma delas: + +`carthage update --no-build` + +- Faz o download e rebuild da versão atual das dependências (sem atualizá-las): + +`carthage bootstrap` + +- Faz o rebuild de uma dependência específica: + +`carthage build {{dependência}}` diff --git a/pages.pt_BR/osx/cfprefsd.md b/pages.pt_BR/osx/cfprefsd.md new file mode 100644 index 00000000000000..ab3aeebfba6406 --- /dev/null +++ b/pages.pt_BR/osx/cfprefsd.md @@ -0,0 +1,9 @@ +# cfprefsd + +> Fornece serviços de preferências (`CFPreferences`, `NSUserDefaults`). +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`cfprefsd` diff --git a/pages.pt_BR/osx/chflags.md b/pages.pt_BR/osx/chflags.md new file mode 100644 index 00000000000000..41d4482025c6fb --- /dev/null +++ b/pages.pt_BR/osx/chflags.md @@ -0,0 +1,20 @@ +# chflags + +> Altera flags de arquivo ou diretório. +> Mais informações: . + +- Define a flag `hidden` para um arquivo: + +`chflags {{hidden}} {{caminho/para/arquivo}}` + +- Remove a flag `hidden` de um arquivo: + +`chflags {{nohidden}} {{caminho/para/arquivo}}` + +- Define recursivamente a flag `uchg` para um diretório: + +`chflags -R {{uchg}} {{caminho/para/diretório}}` + +- Remove recursivamente a flag `uchg` de um diretório: + +`chflags -R {{nouchg}} {{caminho/para/diretório}}` diff --git a/pages.pt_BR/osx/cloudphotod.md b/pages.pt_BR/osx/cloudphotod.md new file mode 100644 index 00000000000000..07bb515c1bd939 --- /dev/null +++ b/pages.pt_BR/osx/cloudphotod.md @@ -0,0 +1,9 @@ +# cloudphotod + +> Sincroniza fotos do iCloud. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`cloudphotod` diff --git a/pages.pt_BR/osx/codesign.md b/pages.pt_BR/osx/codesign.md new file mode 100644 index 00000000000000..fb22b18d7e74ae --- /dev/null +++ b/pages.pt_BR/osx/codesign.md @@ -0,0 +1,12 @@ +# codesign + +> Cria e manipula assinaturas de código para macOS. +> Mais informações: . + +- Assina um aplicativo com um certificado: + +`codesign --sign "{{Nome da Minha Empresa}}" {{caminho/para/App.app}}` + +- Verifica o certificado de um aplicativo: + +`codesign --verify {{caminho/para/App.app}}` diff --git a/pages.pt_BR/osx/coreaudiod.md b/pages.pt_BR/osx/coreaudiod.md new file mode 100644 index 00000000000000..df94ab61d41a9f --- /dev/null +++ b/pages.pt_BR/osx/coreaudiod.md @@ -0,0 +1,9 @@ +# coreaudiod + +> Serviço para o Core Audio, o sistema de áudio da Apple. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`coreaudiod` diff --git a/pages.pt_BR/osx/coreautha.md b/pages.pt_BR/osx/coreautha.md new file mode 100644 index 00000000000000..3149eb63e23673 --- /dev/null +++ b/pages.pt_BR/osx/coreautha.md @@ -0,0 +1,9 @@ +# coreautha + +> Um agente de sistema que fornece o framework `LocalAuthentication`. +> Não deve ser invocado manualmente. Veja também: `coreauthd`. +> Mais informações: . + +- Inicia o agente: + +`coreautha` diff --git a/pages.pt_BR/osx/coreauthd.md b/pages.pt_BR/osx/coreauthd.md new file mode 100644 index 00000000000000..2fa231b1471397 --- /dev/null +++ b/pages.pt_BR/osx/coreauthd.md @@ -0,0 +1,9 @@ +# coreauthd + +> Um daemon de sistema que fornece o framework `LocalAuthentication`. +> Não deve ser invocado manualmente. Veja também: `coreautha`. +> Mais informações: . + +- Inicia o daemon: + +`coreauthd` diff --git a/pages.pt_BR/osx/cot.md b/pages.pt_BR/osx/cot.md new file mode 100644 index 00000000000000..c6e23edaff2796 --- /dev/null +++ b/pages.pt_BR/osx/cot.md @@ -0,0 +1,24 @@ +# cot + +> Editor de texto puro para macOS. +> Mais informações: . + +- Inicia o CotEditor: + +`cot` + +- Abre arquivos específicos: + +`cot {{caminho/para/arquivo1 caminho/para/arquivo2 ...}}` + +- Abre um novo documento em branco: + +`cot --new` + +- Abre um arquivo específico e bloqueia o terminal até que o arquivo seja fechado: + +`cot --wait {{caminho/para/arquivo}}` + +- Abre um arquivo específico com o cursor em uma linha e coluna especificada: + +`cot --line {{número_da_linha}} --column {{número_da_coluna}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/osx/csrutil.md b/pages.pt_BR/osx/csrutil.md new file mode 100644 index 00000000000000..6dd1cdf0631f48 --- /dev/null +++ b/pages.pt_BR/osx/csrutil.md @@ -0,0 +1,28 @@ +# csrutil + +> Gerencia a configuração do System Integrity Protection (SIP). +> Mais informações: . + +- Exibe o status do System Integrity Protection: + +`csrutil status` + +- Desabilita o System Integrity Protection: + +`csrutil disable` + +- Habilita o System Integrity Protection: + +`csrutil enable` + +- Exibe a lista de origens permitidas do NetBoot: + +`csrutil netboot list` + +- Adiciona um endereço IPv4 à lista de origens permitidas do NetBoot: + +`csrutil netboot add {{endereço_ip}}` + +- Reseta o status do System Integrity Protection e limpa a lista do NetBoot: + +`csrutil clear` diff --git a/pages.pt_BR/osx/csshx.md b/pages.pt_BR/osx/csshx.md new file mode 100644 index 00000000000000..dbb1229e29fdfa --- /dev/null +++ b/pages.pt_BR/osx/csshx.md @@ -0,0 +1,16 @@ +# csshX + +> Ferramenta de Cluster SSH para macOS. +> Mais informações: . + +- Conecta a vários hosts: + +`csshX {{nomedohost1}} {{nomedohost2}}` + +- Conecta a vários hosts com uma determinada chave SSH: + +`csshX {{user@nomedohost1}} {{user@nomedohost2}} --ssh_args "-i {{caminho/para/ssh_key.pem}}"` + +- Conecta a um cluster predefinido em `/etc/clusters`: + +`csshX cluster1` diff --git a/pages.pt_BR/osx/cut.md b/pages.pt_BR/osx/cut.md new file mode 100644 index 00000000000000..a34a3c0ddc67a9 --- /dev/null +++ b/pages.pt_BR/osx/cut.md @@ -0,0 +1,16 @@ +# cut + +> Recorta campos de `stdin` ou arquivos. +> Mais informações: . + +- Imprime um intervalo específico de caracteres/campos de cada linha: + +`{{comando}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}` + +- Imprime um intervalo de campos de cada linha com um delimitador específico: + +`{{comando}} | cut -d "{{,}}" -f {{1}}` + +- Imprime um intervalo de caracteres de cada linha de um arquivo específico: + +`cut -c {{1}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/osx/dark-mode.md b/pages.pt_BR/osx/dark-mode.md new file mode 100644 index 00000000000000..412576a86a2619 --- /dev/null +++ b/pages.pt_BR/osx/dark-mode.md @@ -0,0 +1,20 @@ +# dark-mode + +> Controla o modo escuro do macOS a partir da linha de comando. +> Mais informações: . + +- Alterna o modo escuro (ativa se estiver desativado, desativa se estiver ativado): + +`dark-mode` + +- Ativa o modo escuro: + +`dark-mode on` + +- Desativa o modo escuro: + +`dark-mode off` + +- Verifica se o modo escuro está ativado: + +`dark-mode status` diff --git a/pages.pt_BR/osx/date.md b/pages.pt_BR/osx/date.md new file mode 100644 index 00000000000000..474910d4ee05ad --- /dev/null +++ b/pages.pt_BR/osx/date.md @@ -0,0 +1,20 @@ +# date + +> Define ou exibe a data do sistema. +> Mais informações: . + +- Exibe a data atual usando o formato da localidade padrão: + +`date +%c` + +- Exibe a data atual no formato UTC e ISO 8601: + +`date -u +%Y-%m-%dT%H:%M:%SZ` + +- Exibe a data atual como um timestamp Unix (segundos desde a época Unix): + +`date +%s` + +- Exibe uma data específica (representada como um timestamp Unix) usando o formato padrão: + +`date -r {{1473305798}}` diff --git a/pages.pt_BR/osx/dd.md b/pages.pt_BR/osx/dd.md new file mode 100644 index 00000000000000..03ddee44f8d211 --- /dev/null +++ b/pages.pt_BR/osx/dd.md @@ -0,0 +1,28 @@ +# dd + +> Converte e copia um arquivo. +> Mais informações: . + +- Cria uma unidade USB inicializável a partir de um arquivo isohybrid (tal como `archlinux-xxx.iso`) e mostra o progresso: + +`dd if={{caminho/para/arquivo.iso}} of={{/dev/unidade_usb}} status=progress` + +- Clona uma unidade para outra unidade com bloco de 4 MB, ignora qualquer erro e mostra o progresso: + +`dd bs=4m conv=noerror if={{/dev/unidade_origem}} of={{/dev/unidade_destino}} status=progress` + +- Gera um arquivo de número específico de bytes aleatórios usando o driver aleatório do kernel: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{caminho/para/arquivo_aleatório}}` + +- Compara o desempenho de gravação de um disco: + +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{caminho/para/arquivo_1GB}}` + +- Cria um backup do sistema, salva-o em um arquivo IMG (pode ser restaurado posteriormente permutando `if` e `of`) e mostra o progresso: + +`dd if={{/dev/dispositivo_unidade}} of={{caminho/para/arquivo.img}} status=progress` + +- Verifica o progresso de uma operação `dd` em andamento (execute este comando de outro shell): + +`kill -USR1 $(pgrep ^dd)` diff --git a/pages.pt_BR/osx/defaults.md b/pages.pt_BR/osx/defaults.md new file mode 100644 index 00000000000000..7dc44841d8b16f --- /dev/null +++ b/pages.pt_BR/osx/defaults.md @@ -0,0 +1,28 @@ +# defaults + +> Lê e grava a configuração do usuário do macOS para aplicativos. +> Mais informações: . + +- Lê os padrões do sistema para uma opção do aplicativo: + +`defaults read "{{aplicativo}}" "{{opção}}"` + +- Lê os valores padrão para uma opção do aplicativo: + +`defaults read -app "{{aplicativo}}" "{{opção}}"` + +- Pesquisa uma palavra-chave em nomes de domínio, chaves, e valores: + +`defaults find "{{palavra-chave}}"` + +- Grava o valor padrão de uma opção do aplicativo: + +`defaults write "{{aplicativo}}" "{{opção}}" {{-tipo}} {{valor}}` + +- Acelera as animações do Mission Control: + +`defaults write com.apple.Dock expose-animation-duration -float 0.1` + +- Exclui todos os padrões de um aplicativo: + +`defaults delete "{{aplicativo}}"` diff --git a/pages.pt_BR/osx/deleted.md b/pages.pt_BR/osx/deleted.md new file mode 100644 index 00000000000000..af99fab0c792a0 --- /dev/null +++ b/pages.pt_BR/osx/deleted.md @@ -0,0 +1,9 @@ +# deleted + +> Acompanha o espaço purgável e solicita que os clientes removam os arquivos quando o espaço estiver baixo. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`deleted` diff --git a/pages.pt_BR/osx/dhcp6d.md b/pages.pt_BR/osx/dhcp6d.md new file mode 100644 index 00000000000000..daf500c4f5bc7a --- /dev/null +++ b/pages.pt_BR/osx/dhcp6d.md @@ -0,0 +1,13 @@ +# dhcp6d + +> Servidor DHCPv6 stateless. Veja também: `InternetSharing`. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`dhcp6d` + +- Usa uma configuração personalizada: + +`dhcp6d {{caminho/para/configuração}}` diff --git a/pages.pt_BR/osx/diskutil.md b/pages.pt_BR/osx/diskutil.md new file mode 100644 index 00000000000000..33217c29c06dd2 --- /dev/null +++ b/pages.pt_BR/osx/diskutil.md @@ -0,0 +1,20 @@ +# diskutil + +> Utilitário para gerenciar discos e volumes locais. +> Mais informações: . + +- Lista todos os discos, partições, e volumes montados atualmente disponíveis: + +`diskutil list` + +- Repara as estruturas de dados do sistema de arquivos de um volume: + +`diskutil repairVolume {{/dev/diskX}}` + +- Desmonta um volume: + +`diskutil unmountDisk {{/dev/diskX}}` + +- Ejeta um CD/DVD (desmonta primeiro): + +`diskutil eject {{/dev/disk1}}` diff --git a/pages.pt_BR/osx/distnoted.md b/pages.pt_BR/osx/distnoted.md new file mode 100644 index 00000000000000..8a672fc0ac8458 --- /dev/null +++ b/pages.pt_BR/osx/distnoted.md @@ -0,0 +1,9 @@ +# distnoted + +> Fornece serviços de notificação distribuídos. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`distnoted` diff --git a/pages.pt_BR/osx/ditto.md b/pages.pt_BR/osx/ditto.md new file mode 100644 index 00000000000000..6b1c4422936942 --- /dev/null +++ b/pages.pt_BR/osx/ditto.md @@ -0,0 +1,16 @@ +# ditto + +> Copia arquivos e diretórios. +> Mais informações: . + +- Sobrescreve o conteúdo do diretório de destino pelo conteúdo do diretório de origem: + +`ditto {{caminho/para/origem}} {{caminho/para/destino}}` + +- Imprime uma linha na janela do Terminal para cada arquivo que está sendo copiado: + +`ditto -V {{caminho/para/origem}} {{caminho/para/destino}}` + +- Copia um determinado arquivo ou diretório, mantendo as permissões do arquivo original: + +`ditto -rsrc {{caminho/para/origem}} {{caminho/para/destino}}` diff --git a/pages.pt_BR/osx/dmesg.md b/pages.pt_BR/osx/dmesg.md new file mode 100644 index 00000000000000..839211664fc79f --- /dev/null +++ b/pages.pt_BR/osx/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> Exibe mensagens do kernel na saída padrão. +> Mais informações: . + +- Exibe mensagens do kernel: + +`dmesg` + +- Exibe quanta memória física está disponível no sistema: + +`dmesg | grep -i memory` + +- Exibe mensagens do kernel, 1 página por vez: + +`dmesg | less` diff --git a/pages.pt_BR/osx/dot_clean.md b/pages.pt_BR/osx/dot_clean.md new file mode 100644 index 00000000000000..65b6270604f636 --- /dev/null +++ b/pages.pt_BR/osx/dot_clean.md @@ -0,0 +1,28 @@ +# dot_clean + +> Mescla ._* arquivos com arquivos nativos correspondentes. +> Mais informações: . + +- Mescla todos os `._*` arquivos recursivamente: + +`dot_clean {{caminho/para/diretório}}` + +- Não mescla recursivamente todos `._*` em um diretório (flat merge): + +`dot_clean -f {{caminho/para/diretório}}` + +- Mescla e exclui todos os arquivos `._*`: + +`dot_clean -m {{caminho/para/diretório}}` + +- Somente exclui arquivos `._*` se houver um arquivo nativo correspondente: + +`dot_clean -n {{caminho/para/diretório}}` + +- Segue os links simbólicos: + +`dot_clean -s {{caminho/para/diretório}}` + +- Imprime saída verbosa: + +`dot_clean -v {{caminho/para/diretório}}` diff --git a/pages.pt_BR/osx/drutil.md b/pages.pt_BR/osx/drutil.md new file mode 100644 index 00000000000000..043f0b09c896a7 --- /dev/null +++ b/pages.pt_BR/osx/drutil.md @@ -0,0 +1,12 @@ +# drutil + +> Interage com gravadores de DVD. +> Mais informações: . + +- Ejeta um disco da unidade: + +`drutil eject` + +- Grava um diretório como um sistema de arquivos ISO9660 em um DVD. Não verifica, e ejeta quando terminar: + +`drutil burn -noverify -eject -iso9660` diff --git a/pages.pt_BR/osx/du.md b/pages.pt_BR/osx/du.md new file mode 100644 index 00000000000000..2971e31912aad9 --- /dev/null +++ b/pages.pt_BR/osx/du.md @@ -0,0 +1,28 @@ +# du + +> Uso do Disco: estima e resume o uso do espaço de arquivos e diretórios. +> Mais informações: . + +- Lista os tamanhos de um diretório e quaisquer subdiretórios, na unidade fornecida (KiB/MiB/GiB): + +`du -{{k|m|g}} {{caminho/para/diretório}}` + +- Lista os tamanhos de um diretório e quaisquer subdiretórios, em formato legível (ou seja, selecionando automaticamente a unidade apropriada para cada tamanho): + +`du -h {{caminho/para/diretório}}` + +- Exibe o tamanho de um único diretório, em unidades legíveis: + +`du -sh {{caminho/para/diretório}}` + +- Lista os tamanhos legíveis de um diretório e de todos os arquivos e diretórios dentro dele: + +`du -ah {{caminho/para/diretório}}` + +- Lista os tamanhos legíveis de um diretório e quaisquer subdiretórios, até N níveis de profundidade: + +`du -h -d {{N}} {{caminho/para/diretório}}` + +- Lista o tamanho legível de todos os arquivos `.jpg` nos subdiretórios do diretório atual e exibe um total cumulativo no final: + +`du -ch {{*/*.jpg}}` diff --git a/pages.pt_BR/osx/duti.md b/pages.pt_BR/osx/duti.md new file mode 100644 index 00000000000000..0098a5161d9227 --- /dev/null +++ b/pages.pt_BR/osx/duti.md @@ -0,0 +1,28 @@ +# duti + +> Define os aplicativos padrão para tipos de documentos e esquemas de URL no macOS. +> Mais informações: . + +- Define o Safari como o manipulador padrão de documentos HTML: + +`duti -s {{com.apple.Safari}} {{public.html}} all` + +- Define o VLC como visualizador padrão para arquivos com extensões `.m4v`: + +`duti -s {{org.videolan.vlc}} {{m4v}} viewer` + +- Define o Finder como o manipulador padrão para esquema de URL ftp://: + +`duti -s {{com.apple.Finder}} "{{ftp}}"` + +- Exibe informações sobre o aplicativo padrão para uma determinada extensão: + +`duti -x {{ext}}` + +- Exibe o manipulador padrão para um determinado UTI: + +`duti -d {{uti}}` + +- Exibe todos os manipuladores de um determinado UTI: + +`duti -l {{uti}}` diff --git a/pages.pt_BR/osx/emond.md b/pages.pt_BR/osx/emond.md new file mode 100644 index 00000000000000..f42626c7c99493 --- /dev/null +++ b/pages.pt_BR/osx/emond.md @@ -0,0 +1,17 @@ +# emond + +> Serviço Event Monitor que aceita eventos de vários serviços, os executa por meio de um mecanismo de regras simples, e executa ações. +> As ações podem executar comandos, enviar e-mails, ou mensagens SMS. +> Mais informações: . + +- Inicia o daemon: + +`emond` + +- Especifica as regras para o emond processar, fornecendo um caminho para um arquivo ou diretório: + +`emond -r {{caminho/para/arquivo_ou_diretório}}` + +- Usa um arquivo de configuração específico: + +`emond -c {{caminho/para/configuração}}` diff --git a/pages.pt_BR/osx/fdesetup.md b/pages.pt_BR/osx/fdesetup.md new file mode 100644 index 00000000000000..e11ef57b8dc34d --- /dev/null +++ b/pages.pt_BR/osx/fdesetup.md @@ -0,0 +1,24 @@ +# fdesetup + +> Define e recupera informações relacionadas ao FileVault. +> Mais informações: . + +- Lista os usuários atuais habilitados para o FileVault: + +`sudo fdesetup list` + +- Obtém o status atual do FileVault: + +`fdesetup status` + +- Adiciona usuário habilitado para o FileVault: + +`sudo fdesetup add -usertoadd {{usuário1}}` + +- Ativa o FileVault: + +`sudo fdesetup enable` + +- Desativa o FileVault: + +`sudo fdesetup disable` diff --git a/pages.pt_BR/osx/filecoordinationd.md b/pages.pt_BR/osx/filecoordinationd.md new file mode 100644 index 00000000000000..282b3a92deb427 --- /dev/null +++ b/pages.pt_BR/osx/filecoordinationd.md @@ -0,0 +1,9 @@ +# filecoordinationd + +> Coordena o acesso a arquivos por vários processos (`NSFileCoordinator`, `NSFilePresenter`). +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`filecoordinationd` diff --git a/pages.pt_BR/osx/fileicon.md b/pages.pt_BR/osx/fileicon.md new file mode 100644 index 00000000000000..72c85f4986d952 --- /dev/null +++ b/pages.pt_BR/osx/fileicon.md @@ -0,0 +1,20 @@ +# fileicon + +> Uma CLI do macOS para gerenciar ícones personalizados de arquivos e pastas. +> Mais informações: . + +- Define um ícone personalizado para um arquivo ou diretório específico: + +`fileicon set {{caminho/para/arquivo_ou_diretório}} {{caminho/para/icone.png}}` + +- Remove um ícone personalizado de um arquivo ou diretório específico: + +`fileicon rm {{caminho/para/arquivo_ou_diretório}}` + +- Salva o ícone personalizado de um arquivo ou diretório como um arquivo `.icns` no diretório atual: + +`fileicon get {{caminho/para/arquivo_ou_diretório}}` + +- Testa se um arquivo ou diretório específico tem um ícone personalizado: + +`fileicon test {{caminho/para/arquivo_ou_diretório}}` diff --git a/pages.pt_BR/osx/fontd.md b/pages.pt_BR/osx/fontd.md new file mode 100644 index 00000000000000..8daa467deb83e3 --- /dev/null +++ b/pages.pt_BR/osx/fontd.md @@ -0,0 +1,9 @@ +# fontd + +> Disponibiliza fontes para o sistema. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`fontd` diff --git a/pages.pt_BR/osx/fsck.md b/pages.pt_BR/osx/fsck.md new file mode 100644 index 00000000000000..230ab557b6be16 --- /dev/null +++ b/pages.pt_BR/osx/fsck.md @@ -0,0 +1,21 @@ +# fsck + +> Verifica a integridade de um sistema de arquivos ou repara ele. O sistema de arquivos deve ser desmontado no momento em que o comando é executado. +> É um wrapper que chama `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat`, e `fsck_udf` conforme necessário. +> Mais informações: . + +- Verifica o sistema de arquivos `/dev/sdX`, relatando quaisquer blocos danificados: + +`fsck {{/dev/sdX}}` + +- Verifica o sistema de arquivos `/dev/sdX` apenas se estiver limpo, relatando quaisquer blocos danificados e permitindo que o usuário interativamente escolha reparar cada um deles: + +`fsck -f {{/dev/sdX}}` + +- Verifica o sistema de arquivos `/dev/sdX` apenas se estiver limpo, relatando quaisquer blocos danificados e reparando-os automaticamente: + +`fsck -fy {{/dev/sdX}}` + +- Verifica o sistema de arquivos `/dev/sdX`, informando se ele foi desmontado corretamente: + +`fsck -q {{/dev/sdX}}` diff --git a/pages.pt_BR/osx/g[.md b/pages.pt_BR/osx/g[.md new file mode 100644 index 00000000000000..89fa55046415a5 --- /dev/null +++ b/pages.pt_BR/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Este comando é um apelido de `[`. + +- Veja documentação sobre o comando original: + +`tldr [` diff --git a/pages.pt_BR/osx/gb2sum.md b/pages.pt_BR/osx/gb2sum.md new file mode 100644 index 00000000000000..2935bf4556f475 --- /dev/null +++ b/pages.pt_BR/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Este comando é um apelido de `b2sum`. + +- Veja documentação sobre o comando original: + +`tldr b2sum` diff --git a/pages.pt_BR/osx/gbase32.md b/pages.pt_BR/osx/gbase32.md new file mode 100644 index 00000000000000..5ed22e7604e17f --- /dev/null +++ b/pages.pt_BR/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Este comando é um apelido de `base32`. + +- Veja documentação sobre o comando original: + +`tldr base32` diff --git a/pages.pt_BR/osx/gbase64.md b/pages.pt_BR/osx/gbase64.md new file mode 100644 index 00000000000000..6b9147549201c3 --- /dev/null +++ b/pages.pt_BR/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Este comando é um apelido de `base64`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.pt_BR/osx/gbasename.md b/pages.pt_BR/osx/gbasename.md new file mode 100644 index 00000000000000..b8acfe1634e568 --- /dev/null +++ b/pages.pt_BR/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Este comando é um apelido de `basename`. + +- Veja documentação sobre o comando original: + +`tldr basename` diff --git a/pages.pt_BR/osx/gbasenc.md b/pages.pt_BR/osx/gbasenc.md new file mode 100644 index 00000000000000..f9764e9e21e176 --- /dev/null +++ b/pages.pt_BR/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Este comando é um apelido de `basenc`. + +- Veja documentação sobre o comando original: + +`tldr basenc` diff --git a/pages.pt_BR/osx/gcat.md b/pages.pt_BR/osx/gcat.md new file mode 100644 index 00000000000000..1199784caf0b92 --- /dev/null +++ b/pages.pt_BR/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Este comando é um apelido de `-p linux cat`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.pt_BR/osx/gchcon.md b/pages.pt_BR/osx/gchcon.md new file mode 100644 index 00000000000000..280fba41de6b61 --- /dev/null +++ b/pages.pt_BR/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Este comando é um apelido de `-p linux chcon`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.pt_BR/osx/gchgrp.md b/pages.pt_BR/osx/gchgrp.md new file mode 100644 index 00000000000000..50ec1feb554c09 --- /dev/null +++ b/pages.pt_BR/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Este comando é um apelido de `chgrp`. + +- Veja documentação sobre o comando original: + +`tldr chgrp` diff --git a/pages.pt_BR/osx/gchmod.md b/pages.pt_BR/osx/gchmod.md new file mode 100644 index 00000000000000..6ec7007f7f38ad --- /dev/null +++ b/pages.pt_BR/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Este comando é um apelido de `chmod`. + +- Veja documentação sobre o comando original: + +`tldr chmod` diff --git a/pages.pt_BR/osx/gchown.md b/pages.pt_BR/osx/gchown.md new file mode 100644 index 00000000000000..c66edd37653ffc --- /dev/null +++ b/pages.pt_BR/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Este comando é um apelido de `chown`. + +- Veja documentação sobre o comando original: + +`tldr chown` diff --git a/pages.pt_BR/osx/gchroot.md b/pages.pt_BR/osx/gchroot.md new file mode 100644 index 00000000000000..d0280797509e23 --- /dev/null +++ b/pages.pt_BR/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Este comando é um apelido de `chroot`. + +- Veja documentação sobre o comando original: + +`tldr chroot` diff --git a/pages.pt_BR/osx/gcksum.md b/pages.pt_BR/osx/gcksum.md new file mode 100644 index 00000000000000..31b1858b15fd2b --- /dev/null +++ b/pages.pt_BR/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Este comando é um apelido de `cksum`. + +- Veja documentação sobre o comando original: + +`tldr cksum` diff --git a/pages.pt_BR/osx/gcomm.md b/pages.pt_BR/osx/gcomm.md new file mode 100644 index 00000000000000..53aebd1b7a86ae --- /dev/null +++ b/pages.pt_BR/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Este comando é um apelido de `comm`. + +- Veja documentação sobre o comando original: + +`tldr comm` diff --git a/pages.pt_BR/osx/gcp.md b/pages.pt_BR/osx/gcp.md new file mode 100644 index 00000000000000..a94266ae08ccda --- /dev/null +++ b/pages.pt_BR/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Este comando é um apelido de `cp`. + +- Veja documentação sobre o comando original: + +`tldr cp` diff --git a/pages.pt_BR/osx/gcsplit.md b/pages.pt_BR/osx/gcsplit.md new file mode 100644 index 00000000000000..63b22b53e6a55a --- /dev/null +++ b/pages.pt_BR/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Este comando é um apelido de `-p linux csplit`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.pt_BR/osx/gcut.md b/pages.pt_BR/osx/gcut.md new file mode 100644 index 00000000000000..185e84f4374352 --- /dev/null +++ b/pages.pt_BR/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Este comando é um apelido de `cut`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.pt_BR/osx/gdate.md b/pages.pt_BR/osx/gdate.md new file mode 100644 index 00000000000000..14aee5cadfe632 --- /dev/null +++ b/pages.pt_BR/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Este comando é um apelido de `date`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.pt_BR/osx/gdd.md b/pages.pt_BR/osx/gdd.md new file mode 100644 index 00000000000000..bf59db4c6ee8d8 --- /dev/null +++ b/pages.pt_BR/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Este comando é um apelido de `-p linux dd`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.pt_BR/osx/gdf.md b/pages.pt_BR/osx/gdf.md new file mode 100644 index 00000000000000..3a78ac07f656e7 --- /dev/null +++ b/pages.pt_BR/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Este comando é um apelido de `-p linux df`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.pt_BR/osx/gdir.md b/pages.pt_BR/osx/gdir.md new file mode 100644 index 00000000000000..9a9f05dfb3a7a5 --- /dev/null +++ b/pages.pt_BR/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Este comando é um apelido de `-p linux dir`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.pt_BR/osx/gdircolors.md b/pages.pt_BR/osx/gdircolors.md new file mode 100644 index 00000000000000..8e752654a9e54f --- /dev/null +++ b/pages.pt_BR/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Este comando é um apelido de `dircolors`. + +- Veja documentação sobre o comando original: + +`tldr dircolors` diff --git a/pages.pt_BR/osx/gdirname.md b/pages.pt_BR/osx/gdirname.md new file mode 100644 index 00000000000000..1716efa824c70f --- /dev/null +++ b/pages.pt_BR/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Este comando é um apelido de `dirname`. + +- Veja documentação sobre o comando original: + +`tldr dirname` diff --git a/pages.pt_BR/osx/gdnsdomainname.md b/pages.pt_BR/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..0950f8d5f377bd --- /dev/null +++ b/pages.pt_BR/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Este comando é um apelido de `-p linux dnsdomainname`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.pt_BR/osx/gecho.md b/pages.pt_BR/osx/gecho.md new file mode 100644 index 00000000000000..0ea3757610fff3 --- /dev/null +++ b/pages.pt_BR/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Este comando é um apelido de `echo`. + +- Veja documentação sobre o comando original: + +`tldr echo` diff --git a/pages.pt_BR/osx/ged.md b/pages.pt_BR/osx/ged.md new file mode 100644 index 00000000000000..11a12b979d2575 --- /dev/null +++ b/pages.pt_BR/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Este comando é um apelido de `ed`. + +- Veja documentação sobre o comando original: + +`tldr ed` diff --git a/pages.pt_BR/osx/gegrep.md b/pages.pt_BR/osx/gegrep.md new file mode 100644 index 00000000000000..ce5365ebc74173 --- /dev/null +++ b/pages.pt_BR/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Este comando é um apelido de `egrep`. + +- Veja documentação sobre o comando original: + +`tldr egrep` diff --git a/pages.pt_BR/osx/genv.md b/pages.pt_BR/osx/genv.md new file mode 100644 index 00000000000000..0d2ef063b1ded4 --- /dev/null +++ b/pages.pt_BR/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Este comando é um apelido de `env`. + +- Veja documentação sobre o comando original: + +`tldr env` diff --git a/pages.pt_BR/osx/getfileinfo.md b/pages.pt_BR/osx/getfileinfo.md new file mode 100644 index 00000000000000..4b8c0dbe5fa170 --- /dev/null +++ b/pages.pt_BR/osx/getfileinfo.md @@ -0,0 +1,20 @@ +# GetFileInfo + +> Obtém informações sobre um arquivo em um diretório HFS+. +> Mais informações: . + +- Exibe informações sobre um determinado arquivo: + +`GetFileInfo {{caminho/para/nome_do_arquivo}}` + +- Exibe a data e hora em que um determinado arquivo foi criado: + +`GetFileInfo -d {{caminho/para/nome_do_arquivo}}` + +- Exibe a data e hora em que um determinado arquivo foi modificado pela última vez: + +`GetFileInfo -m {{caminho/para/nome_do_arquivo}}` + +- Exibe o criador de um determinado arquivo: + +`GetFileInfo -c {{caminho/para/nome_do_arquivo}}` diff --git a/pages.pt_BR/osx/gexpand.md b/pages.pt_BR/osx/gexpand.md new file mode 100644 index 00000000000000..c9b42476633379 --- /dev/null +++ b/pages.pt_BR/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Este comando é um apelido de `expand`. + +- Veja documentação sobre o comando original: + +`tldr expand` diff --git a/pages.pt_BR/osx/gexpr.md b/pages.pt_BR/osx/gexpr.md new file mode 100644 index 00000000000000..7632a821831b48 --- /dev/null +++ b/pages.pt_BR/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Este comando é um apelido de `expr`. + +- Veja documentação sobre o comando original: + +`tldr expr` diff --git a/pages.pt_BR/osx/gfactor.md b/pages.pt_BR/osx/gfactor.md new file mode 100644 index 00000000000000..747bc5f6425df6 --- /dev/null +++ b/pages.pt_BR/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Este comando é um apelido de `factor`. + +- Veja documentação sobre o comando original: + +`tldr factor` diff --git a/pages.pt_BR/osx/gfalse.md b/pages.pt_BR/osx/gfalse.md new file mode 100644 index 00000000000000..b01976b4da792c --- /dev/null +++ b/pages.pt_BR/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Este comando é um apelido de `false`. + +- Veja documentação sobre o comando original: + +`tldr false` diff --git a/pages.pt_BR/osx/gfgrep.md b/pages.pt_BR/osx/gfgrep.md new file mode 100644 index 00000000000000..d10de1ff22e230 --- /dev/null +++ b/pages.pt_BR/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Este comando é um apelido de `fgrep`. + +- Veja documentação sobre o comando original: + +`tldr fgrep` diff --git a/pages.pt_BR/osx/gfind.md b/pages.pt_BR/osx/gfind.md new file mode 100644 index 00000000000000..34261e6bc6460e --- /dev/null +++ b/pages.pt_BR/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Este comando é um apelido de `find`. + +- Veja documentação sobre o comando original: + +`tldr find` diff --git a/pages.pt_BR/osx/gfmt.md b/pages.pt_BR/osx/gfmt.md new file mode 100644 index 00000000000000..5b4bd1b210305f --- /dev/null +++ b/pages.pt_BR/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Este comando é um apelido de `fmt`. + +- Veja documentação sobre o comando original: + +`tldr fmt` diff --git a/pages.pt_BR/osx/gfold.md b/pages.pt_BR/osx/gfold.md new file mode 100644 index 00000000000000..4355fa0033abf4 --- /dev/null +++ b/pages.pt_BR/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Este comando é um apelido de `-p linux fold`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.pt_BR/osx/gftp.md b/pages.pt_BR/osx/gftp.md new file mode 100644 index 00000000000000..db45ec9210ff83 --- /dev/null +++ b/pages.pt_BR/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Este comando é um apelido de `ftp`. + +- Veja documentação sobre o comando original: + +`tldr ftp` diff --git a/pages.pt_BR/osx/ggrep.md b/pages.pt_BR/osx/ggrep.md new file mode 100644 index 00000000000000..a80ba4e0c28b41 --- /dev/null +++ b/pages.pt_BR/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Este comando é um apelido de `grep`. + +- Veja documentação sobre o comando original: + +`tldr grep` diff --git a/pages.pt_BR/osx/ggroups.md b/pages.pt_BR/osx/ggroups.md new file mode 100644 index 00000000000000..da9599a5dfda33 --- /dev/null +++ b/pages.pt_BR/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Este comando é um apelido de `groups`. + +- Veja documentação sobre o comando original: + +`tldr groups` diff --git a/pages.pt_BR/osx/ghead.md b/pages.pt_BR/osx/ghead.md new file mode 100644 index 00000000000000..fc76de663a71e8 --- /dev/null +++ b/pages.pt_BR/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Este comando é um apelido de `-p linux head`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.pt_BR/osx/ghostid.md b/pages.pt_BR/osx/ghostid.md new file mode 100644 index 00000000000000..e320b870caba42 --- /dev/null +++ b/pages.pt_BR/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Este comando é um apelido de `hostid`. + +- Veja documentação sobre o comando original: + +`tldr hostid` diff --git a/pages.pt_BR/osx/ghostname.md b/pages.pt_BR/osx/ghostname.md new file mode 100644 index 00000000000000..c9834ec05ff720 --- /dev/null +++ b/pages.pt_BR/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Este comando é um apelido de `hostname`. + +- Veja documentação sobre o comando original: + +`tldr hostname` diff --git a/pages.pt_BR/osx/gid.md b/pages.pt_BR/osx/gid.md new file mode 100644 index 00000000000000..105a636c6ab65d --- /dev/null +++ b/pages.pt_BR/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Este comando é um apelido de `id`. + +- Veja documentação sobre o comando original: + +`tldr id` diff --git a/pages.pt_BR/osx/gifconfig.md b/pages.pt_BR/osx/gifconfig.md new file mode 100644 index 00000000000000..159d72798273b8 --- /dev/null +++ b/pages.pt_BR/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Este comando é um apelido de `ifconfig`. + +- Veja documentação sobre o comando original: + +`tldr ifconfig` diff --git a/pages.pt_BR/osx/gindent.md b/pages.pt_BR/osx/gindent.md new file mode 100644 index 00000000000000..d744d179ef779a --- /dev/null +++ b/pages.pt_BR/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Este comando é um apelido de `indent`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.pt_BR/osx/ginstall.md b/pages.pt_BR/osx/ginstall.md new file mode 100644 index 00000000000000..418d3debe4cc2d --- /dev/null +++ b/pages.pt_BR/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Este comando é um apelido de `install`. + +- Veja documentação sobre o comando original: + +`tldr install` diff --git a/pages.pt_BR/osx/gjoin.md b/pages.pt_BR/osx/gjoin.md new file mode 100644 index 00000000000000..4ecbcc3e17ab1d --- /dev/null +++ b/pages.pt_BR/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Este comando é um apelido de `join`. + +- Veja documentação sobre o comando original: + +`tldr join` diff --git a/pages.pt_BR/osx/gkill.md b/pages.pt_BR/osx/gkill.md new file mode 100644 index 00000000000000..17321e4bb16404 --- /dev/null +++ b/pages.pt_BR/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Este comando é um apelido de `-p linux kill`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.pt_BR/osx/glibtool.md b/pages.pt_BR/osx/glibtool.md new file mode 100644 index 00000000000000..9c9e14adf1e74f --- /dev/null +++ b/pages.pt_BR/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Este comando é um apelido de `-p linux libtool`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.pt_BR/osx/glibtoolize.md b/pages.pt_BR/osx/glibtoolize.md new file mode 100644 index 00000000000000..ae67cc639abf28 --- /dev/null +++ b/pages.pt_BR/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Este comando é um apelido de `-p linux libtoolize`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.pt_BR/osx/glink.md b/pages.pt_BR/osx/glink.md new file mode 100644 index 00000000000000..6c1138b75e21c3 --- /dev/null +++ b/pages.pt_BR/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Este comando é um apelido de `link`. + +- Veja documentação sobre o comando original: + +`tldr link` diff --git a/pages.pt_BR/osx/gln.md b/pages.pt_BR/osx/gln.md new file mode 100644 index 00000000000000..c9aa74ec7084f0 --- /dev/null +++ b/pages.pt_BR/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Este comando é um apelido de `ln`. + +- Veja documentação sobre o comando original: + +`tldr ln` diff --git a/pages.pt_BR/osx/glocate.md b/pages.pt_BR/osx/glocate.md new file mode 100644 index 00000000000000..aa283011571584 --- /dev/null +++ b/pages.pt_BR/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Este comando é um apelido de `-p linux locate`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.pt_BR/osx/glogger.md b/pages.pt_BR/osx/glogger.md new file mode 100644 index 00000000000000..6764d7b124bacb --- /dev/null +++ b/pages.pt_BR/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Este comando é um apelido de `-p linux logger`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.pt_BR/osx/glogname.md b/pages.pt_BR/osx/glogname.md new file mode 100644 index 00000000000000..0a06348b8bc23f --- /dev/null +++ b/pages.pt_BR/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Este comando é um apelido de `logname`. + +- Veja documentação sobre o comando original: + +`tldr logname` diff --git a/pages.pt_BR/osx/gls.md b/pages.pt_BR/osx/gls.md new file mode 100644 index 00000000000000..f6c63f2d5167c7 --- /dev/null +++ b/pages.pt_BR/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Este comando é um apelido de `ls`. + +- Veja documentação sobre o comando original: + +`tldr ls` diff --git a/pages.pt_BR/osx/gmake.md b/pages.pt_BR/osx/gmake.md new file mode 100644 index 00000000000000..1c90024071a75e --- /dev/null +++ b/pages.pt_BR/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Este comando é um apelido de `make`. + +- Veja documentação sobre o comando original: + +`tldr make` diff --git a/pages.pt_BR/osx/gmd5sum.md b/pages.pt_BR/osx/gmd5sum.md new file mode 100644 index 00000000000000..180b60c1e023ea --- /dev/null +++ b/pages.pt_BR/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Este comando é um apelido de `md5sum`. + +- Veja documentação sobre o comando original: + +`tldr md5sum` diff --git a/pages.pt_BR/osx/gmkdir.md b/pages.pt_BR/osx/gmkdir.md new file mode 100644 index 00000000000000..33905d568506ec --- /dev/null +++ b/pages.pt_BR/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Este comando é um apelido de `mkdir`. + +- Veja documentação sobre o comando original: + +`tldr mkdir` diff --git a/pages.pt_BR/osx/gmkfifo.md b/pages.pt_BR/osx/gmkfifo.md new file mode 100644 index 00000000000000..90de064dee059c --- /dev/null +++ b/pages.pt_BR/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Este comando é um apelido de `mkfifo`. + +- Veja documentação sobre o comando original: + +`tldr mkfifo` diff --git a/pages.pt_BR/osx/gmknod.md b/pages.pt_BR/osx/gmknod.md new file mode 100644 index 00000000000000..76a49a535d6490 --- /dev/null +++ b/pages.pt_BR/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Este comando é um apelido de `-p linux mknod`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.pt_BR/osx/gmktemp.md b/pages.pt_BR/osx/gmktemp.md new file mode 100644 index 00000000000000..6d49fafa8be2be --- /dev/null +++ b/pages.pt_BR/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Este comando é um apelido de `-p linux mktemp`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.pt_BR/osx/gmv.md b/pages.pt_BR/osx/gmv.md new file mode 100644 index 00000000000000..69224dfe9720df --- /dev/null +++ b/pages.pt_BR/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Este comando é um apelido de `mv`. + +- Veja documentação sobre o comando original: + +`tldr mv` diff --git a/pages.pt_BR/osx/gnice.md b/pages.pt_BR/osx/gnice.md new file mode 100644 index 00000000000000..ab52c38214e996 --- /dev/null +++ b/pages.pt_BR/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Este comando é um apelido de `nice`. + +- Veja documentação sobre o comando original: + +`tldr nice` diff --git a/pages.pt_BR/osx/gnl.md b/pages.pt_BR/osx/gnl.md new file mode 100644 index 00000000000000..d70a39016af38c --- /dev/null +++ b/pages.pt_BR/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Este comando é um apelido de `-p linux nl`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.pt_BR/osx/gnohup.md b/pages.pt_BR/osx/gnohup.md new file mode 100644 index 00000000000000..2bcf2a9739e0a8 --- /dev/null +++ b/pages.pt_BR/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Este comando é um apelido de `nohup`. + +- Veja documentação sobre o comando original: + +`tldr nohup` diff --git a/pages.pt_BR/osx/gnproc.md b/pages.pt_BR/osx/gnproc.md new file mode 100644 index 00000000000000..4fc5b2615afb5b --- /dev/null +++ b/pages.pt_BR/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Este comando é um apelido de `nproc`. + +- Veja documentação sobre o comando original: + +`tldr nproc` diff --git a/pages.pt_BR/osx/gnumfmt.md b/pages.pt_BR/osx/gnumfmt.md new file mode 100644 index 00000000000000..bcf90f129df8ce --- /dev/null +++ b/pages.pt_BR/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Este comando é um apelido de `numfmt`. + +- Veja documentação sobre o comando original: + +`tldr numfmt` diff --git a/pages.pt_BR/osx/god.md b/pages.pt_BR/osx/god.md new file mode 100644 index 00000000000000..f1eaf3fd8bf6fc --- /dev/null +++ b/pages.pt_BR/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Este comando é um apelido de `od`. + +- Veja documentação sobre o comando original: + +`tldr od` diff --git a/pages.pt_BR/osx/gpaste.md b/pages.pt_BR/osx/gpaste.md new file mode 100644 index 00000000000000..0cb37b87a3e08f --- /dev/null +++ b/pages.pt_BR/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Este comando é um apelido de `paste`. + +- Veja documentação sobre o comando original: + +`tldr paste` diff --git a/pages.pt_BR/osx/gpathchk.md b/pages.pt_BR/osx/gpathchk.md new file mode 100644 index 00000000000000..013a268451231c --- /dev/null +++ b/pages.pt_BR/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Este comando é um apelido de `pathchk`. + +- Veja documentação sobre o comando original: + +`tldr pathchk` diff --git a/pages.pt_BR/osx/gping.md b/pages.pt_BR/osx/gping.md new file mode 100644 index 00000000000000..f413450ae227a6 --- /dev/null +++ b/pages.pt_BR/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Este comando é um apelido de `ping`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.pt_BR/osx/gping6.md b/pages.pt_BR/osx/gping6.md new file mode 100644 index 00000000000000..66b8dd6e664afb --- /dev/null +++ b/pages.pt_BR/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Este comando é um apelido de `ping6`. + +- Veja documentação sobre o comando original: + +`tldr ping6` diff --git a/pages.pt_BR/osx/gpinky.md b/pages.pt_BR/osx/gpinky.md new file mode 100644 index 00000000000000..84e66abb97d715 --- /dev/null +++ b/pages.pt_BR/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Este comando é um apelido de `pinky`. + +- Veja documentação sobre o comando original: + +`tldr pinky` diff --git a/pages.pt_BR/osx/gpr.md b/pages.pt_BR/osx/gpr.md new file mode 100644 index 00000000000000..08478548d5d6d4 --- /dev/null +++ b/pages.pt_BR/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Este comando é um apelido de `pr`. + +- Veja documentação sobre o comando original: + +`tldr pr` diff --git a/pages.pt_BR/osx/gprintenv.md b/pages.pt_BR/osx/gprintenv.md new file mode 100644 index 00000000000000..e2b41ca125a5d2 --- /dev/null +++ b/pages.pt_BR/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Este comando é um apelido de `printenv`. + +- Veja documentação sobre o comando original: + +`tldr printenv` diff --git a/pages.pt_BR/osx/gprintf.md b/pages.pt_BR/osx/gprintf.md new file mode 100644 index 00000000000000..559c0490dbb248 --- /dev/null +++ b/pages.pt_BR/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Este comando é um apelido de `printf`. + +- Veja documentação sobre o comando original: + +`tldr printf` diff --git a/pages.pt_BR/osx/gptx.md b/pages.pt_BR/osx/gptx.md new file mode 100644 index 00000000000000..e688ca7c2c0026 --- /dev/null +++ b/pages.pt_BR/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Este comando é um apelido de `-p linux ptx`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.pt_BR/osx/gpwd.md b/pages.pt_BR/osx/gpwd.md new file mode 100644 index 00000000000000..d133bae0e1f19d --- /dev/null +++ b/pages.pt_BR/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Este comando é um apelido de `pwd`. + +- Veja documentação sobre o comando original: + +`tldr pwd` diff --git a/pages.pt_BR/osx/grcp.md b/pages.pt_BR/osx/grcp.md new file mode 100644 index 00000000000000..3853fb02b1857f --- /dev/null +++ b/pages.pt_BR/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Este comando é um apelido de `-p linux rcp`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.pt_BR/osx/greadlink.md b/pages.pt_BR/osx/greadlink.md new file mode 100644 index 00000000000000..a42e7c7da09b07 --- /dev/null +++ b/pages.pt_BR/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Este comando é um apelido de `readlink`. + +- Veja documentação sobre o comando original: + +`tldr readlink` diff --git a/pages.pt_BR/osx/grealpath.md b/pages.pt_BR/osx/grealpath.md new file mode 100644 index 00000000000000..356810b7dd8522 --- /dev/null +++ b/pages.pt_BR/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Este comando é um apelido de `realpath`. + +- Veja documentação sobre o comando original: + +`tldr realpath` diff --git a/pages.pt_BR/osx/grexec.md b/pages.pt_BR/osx/grexec.md new file mode 100644 index 00000000000000..c55ec475335daf --- /dev/null +++ b/pages.pt_BR/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Este comando é um apelido de `-p linux rexec`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.pt_BR/osx/grlogin.md b/pages.pt_BR/osx/grlogin.md new file mode 100644 index 00000000000000..fb6a3501cdaf0b --- /dev/null +++ b/pages.pt_BR/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Este comando é um apelido de `-p linux rlogin`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.pt_BR/osx/grm.md b/pages.pt_BR/osx/grm.md new file mode 100644 index 00000000000000..8cf75ab79fe22b --- /dev/null +++ b/pages.pt_BR/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Este comando é um apelido de `rm`. + +- Veja documentação sobre o comando original: + +`tldr rm` diff --git a/pages.pt_BR/osx/grmdir.md b/pages.pt_BR/osx/grmdir.md new file mode 100644 index 00000000000000..682ed85b20e87a --- /dev/null +++ b/pages.pt_BR/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Este comando é um apelido de `rmdir`. + +- Veja documentação sobre o comando original: + +`tldr rmdir` diff --git a/pages.pt_BR/osx/grsh.md b/pages.pt_BR/osx/grsh.md new file mode 100644 index 00000000000000..9f580d9fe24cb6 --- /dev/null +++ b/pages.pt_BR/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Este comando é um apelido de `-p linux rsh`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.pt_BR/osx/gruncon.md b/pages.pt_BR/osx/gruncon.md new file mode 100644 index 00000000000000..302f9fa6981088 --- /dev/null +++ b/pages.pt_BR/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Este comando é um apelido de `-p linux runcon`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.pt_BR/osx/gsed.md b/pages.pt_BR/osx/gsed.md new file mode 100644 index 00000000000000..610b3910309e90 --- /dev/null +++ b/pages.pt_BR/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Este comando é um apelido de `-p linux sed`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.pt_BR/osx/gseq.md b/pages.pt_BR/osx/gseq.md new file mode 100644 index 00000000000000..f4e0584f29f3d2 --- /dev/null +++ b/pages.pt_BR/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Este comando é um apelido de `seq`. + +- Veja documentação sobre o comando original: + +`tldr seq` diff --git a/pages.pt_BR/osx/gsha1sum.md b/pages.pt_BR/osx/gsha1sum.md new file mode 100644 index 00000000000000..78b6809d56848f --- /dev/null +++ b/pages.pt_BR/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Este comando é um apelido de `sha1sum`. + +- Veja documentação sobre o comando original: + +`tldr sha1sum` diff --git a/pages.pt_BR/osx/gsha224sum.md b/pages.pt_BR/osx/gsha224sum.md new file mode 100644 index 00000000000000..31bf38a0af0d74 --- /dev/null +++ b/pages.pt_BR/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Este comando é um apelido de `sha224sum`. + +- Veja documentação sobre o comando original: + +`tldr sha224sum` diff --git a/pages.pt_BR/osx/gsha256sum.md b/pages.pt_BR/osx/gsha256sum.md new file mode 100644 index 00000000000000..49b3876b7f2885 --- /dev/null +++ b/pages.pt_BR/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Este comando é um apelido de `sha256sum`. + +- Veja documentação sobre o comando original: + +`tldr sha256sum` diff --git a/pages.pt_BR/osx/gsha384sum.md b/pages.pt_BR/osx/gsha384sum.md new file mode 100644 index 00000000000000..52eb44a96e4852 --- /dev/null +++ b/pages.pt_BR/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Este comando é um apelido de `sha384sum`. + +- Veja documentação sobre o comando original: + +`tldr sha384sum` diff --git a/pages.pt_BR/osx/gsha512sum.md b/pages.pt_BR/osx/gsha512sum.md new file mode 100644 index 00000000000000..36283b86bf800d --- /dev/null +++ b/pages.pt_BR/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Este comando é um apelido de `sha512sum`. + +- Veja documentação sobre o comando original: + +`tldr sha512sum` diff --git a/pages.pt_BR/osx/gshred.md b/pages.pt_BR/osx/gshred.md new file mode 100644 index 00000000000000..22b5d29eab4457 --- /dev/null +++ b/pages.pt_BR/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Este comando é um apelido de `shred`. + +- Veja documentação sobre o comando original: + +`tldr shred` diff --git a/pages.pt_BR/osx/gshuf.md b/pages.pt_BR/osx/gshuf.md new file mode 100644 index 00000000000000..f3b284c40c9168 --- /dev/null +++ b/pages.pt_BR/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Este comando é um apelido de `shuf`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.pt_BR/osx/gsleep.md b/pages.pt_BR/osx/gsleep.md new file mode 100644 index 00000000000000..fdb68408803b32 --- /dev/null +++ b/pages.pt_BR/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Este comando é um apelido de `-p linux sleep`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.pt_BR/osx/gsort.md b/pages.pt_BR/osx/gsort.md new file mode 100644 index 00000000000000..5b668fc5c9927e --- /dev/null +++ b/pages.pt_BR/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Este comando é um apelido de `sort`. + +- Veja documentação sobre o comando original: + +`tldr sort` diff --git a/pages.pt_BR/osx/gsplit.md b/pages.pt_BR/osx/gsplit.md new file mode 100644 index 00000000000000..aacbc8fff910e6 --- /dev/null +++ b/pages.pt_BR/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Este comando é um apelido de `split`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.pt_BR/osx/gstat.md b/pages.pt_BR/osx/gstat.md new file mode 100644 index 00000000000000..f156d49bb16d78 --- /dev/null +++ b/pages.pt_BR/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Este comando é um apelido de `stat`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.pt_BR/osx/gstdbuf.md b/pages.pt_BR/osx/gstdbuf.md new file mode 100644 index 00000000000000..83f3860acb154b --- /dev/null +++ b/pages.pt_BR/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Este comando é um apelido de `stdbuf`. + +- Veja documentação sobre o comando original: + +`tldr stdbuf` diff --git a/pages.pt_BR/osx/gstty.md b/pages.pt_BR/osx/gstty.md new file mode 100644 index 00000000000000..5e8a50efaedf3a --- /dev/null +++ b/pages.pt_BR/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Este comando é um apelido de `stty`. + +- Veja documentação sobre o comando original: + +`tldr stty` diff --git a/pages.pt_BR/osx/gsum.md b/pages.pt_BR/osx/gsum.md new file mode 100644 index 00000000000000..59d3ebb958d384 --- /dev/null +++ b/pages.pt_BR/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Este comando é um apelido de `sum`. + +- Veja documentação sobre o comando original: + +`tldr sum` diff --git a/pages.pt_BR/osx/gsync.md b/pages.pt_BR/osx/gsync.md new file mode 100644 index 00000000000000..306c8ccf2fcb0b --- /dev/null +++ b/pages.pt_BR/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Este comando é um apelido de `sync`. + +- Veja documentação sobre o comando original: + +`tldr sync` diff --git a/pages.pt_BR/osx/gtac.md b/pages.pt_BR/osx/gtac.md new file mode 100644 index 00000000000000..fe0033ed34bf6e --- /dev/null +++ b/pages.pt_BR/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Este comando é um apelido de `tac`. + +- Veja documentação sobre o comando original: + +`tldr tac` diff --git a/pages.pt_BR/osx/gtail.md b/pages.pt_BR/osx/gtail.md new file mode 100644 index 00000000000000..96838f6fe92e9f --- /dev/null +++ b/pages.pt_BR/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Este comando é um apelido de `tail`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.pt_BR/osx/gtalk.md b/pages.pt_BR/osx/gtalk.md new file mode 100644 index 00000000000000..230933b051f611 --- /dev/null +++ b/pages.pt_BR/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Este comando é um apelido de `-p linux talk`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.pt_BR/osx/gtar.md b/pages.pt_BR/osx/gtar.md new file mode 100644 index 00000000000000..c04acbad5e7063 --- /dev/null +++ b/pages.pt_BR/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Este comando é um apelido de `tar`. + +- Veja documentação sobre o comando original: + +`tldr tar` diff --git a/pages.pt_BR/osx/gtee.md b/pages.pt_BR/osx/gtee.md new file mode 100644 index 00000000000000..2e76b64d022f1c --- /dev/null +++ b/pages.pt_BR/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Este comando é um apelido de `tee`. + +- Veja documentação sobre o comando original: + +`tldr tee` diff --git a/pages.pt_BR/osx/gtelnet.md b/pages.pt_BR/osx/gtelnet.md new file mode 100644 index 00000000000000..aa2df0ee93253f --- /dev/null +++ b/pages.pt_BR/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Este comando é um apelido de `telnet`. + +- Veja documentação sobre o comando original: + +`tldr telnet` diff --git a/pages.pt_BR/osx/gtest.md b/pages.pt_BR/osx/gtest.md new file mode 100644 index 00000000000000..d2f8d8eaf93849 --- /dev/null +++ b/pages.pt_BR/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Este comando é um apelido de `test`. + +- Veja documentação sobre o comando original: + +`tldr test` diff --git a/pages.pt_BR/osx/gtftp.md b/pages.pt_BR/osx/gtftp.md new file mode 100644 index 00000000000000..2d22da4b7bb06f --- /dev/null +++ b/pages.pt_BR/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Este comando é um apelido de `-p linux tftp`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.pt_BR/osx/gtime.md b/pages.pt_BR/osx/gtime.md new file mode 100644 index 00000000000000..fac7822527213e --- /dev/null +++ b/pages.pt_BR/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Este comando é um apelido de `time`. + +- Veja documentação sobre o comando original: + +`tldr time` diff --git a/pages.pt_BR/osx/gtimeout.md b/pages.pt_BR/osx/gtimeout.md new file mode 100644 index 00000000000000..e218170644370a --- /dev/null +++ b/pages.pt_BR/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Este comando é um apelido de `timeout`. + +- Veja documentação sobre o comando original: + +`tldr timeout` diff --git a/pages.pt_BR/osx/gtouch.md b/pages.pt_BR/osx/gtouch.md new file mode 100644 index 00000000000000..e5dfebdbe21271 --- /dev/null +++ b/pages.pt_BR/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Este comando é um apelido de `touch`. + +- Veja documentação sobre o comando original: + +`tldr touch` diff --git a/pages.pt_BR/osx/gtr.md b/pages.pt_BR/osx/gtr.md new file mode 100644 index 00000000000000..138e4b6b4f6e9c --- /dev/null +++ b/pages.pt_BR/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Este comando é um apelido de `tr`. + +- Veja documentação sobre o comando original: + +`tldr tr` diff --git a/pages.pt_BR/osx/gtraceroute.md b/pages.pt_BR/osx/gtraceroute.md new file mode 100644 index 00000000000000..fbda05368c3145 --- /dev/null +++ b/pages.pt_BR/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Este comando é um apelido de `traceroute`. + +- Veja documentação sobre o comando original: + +`tldr traceroute` diff --git a/pages.pt_BR/osx/gtrue.md b/pages.pt_BR/osx/gtrue.md new file mode 100644 index 00000000000000..59d2760d6c2ef7 --- /dev/null +++ b/pages.pt_BR/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Este comando é um apelido de `true`. + +- Veja documentação sobre o comando original: + +`tldr true` diff --git a/pages.pt_BR/osx/gtruncate.md b/pages.pt_BR/osx/gtruncate.md new file mode 100644 index 00000000000000..98344d1cf54451 --- /dev/null +++ b/pages.pt_BR/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Este comando é um apelido de `truncate`. + +- Veja documentação sobre o comando original: + +`tldr truncate` diff --git a/pages.pt_BR/osx/gtsort.md b/pages.pt_BR/osx/gtsort.md new file mode 100644 index 00000000000000..dafc5bd8365af7 --- /dev/null +++ b/pages.pt_BR/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Este comando é um apelido de `tsort`. + +- Veja documentação sobre o comando original: + +`tldr tsort` diff --git a/pages.pt_BR/osx/gtty.md b/pages.pt_BR/osx/gtty.md new file mode 100644 index 00000000000000..b190a9dee98566 --- /dev/null +++ b/pages.pt_BR/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Este comando é um apelido de `tty`. + +- Veja documentação sobre o comando original: + +`tldr tty` diff --git a/pages.pt_BR/osx/guname.md b/pages.pt_BR/osx/guname.md new file mode 100644 index 00000000000000..62df84fdb1a870 --- /dev/null +++ b/pages.pt_BR/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Este comando é um apelido de `uname`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.pt_BR/osx/gunexpand.md b/pages.pt_BR/osx/gunexpand.md new file mode 100644 index 00000000000000..6e74a2d4b002fd --- /dev/null +++ b/pages.pt_BR/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Este comando é um apelido de `unexpand`. + +- Veja documentação sobre o comando original: + +`tldr unexpand` diff --git a/pages.pt_BR/osx/guniq.md b/pages.pt_BR/osx/guniq.md new file mode 100644 index 00000000000000..86adcb16505bed --- /dev/null +++ b/pages.pt_BR/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Este comando é um apelido de `uniq`. + +- Veja documentação sobre o comando original: + +`tldr uniq` diff --git a/pages.pt_BR/osx/gunits.md b/pages.pt_BR/osx/gunits.md new file mode 100644 index 00000000000000..a1b8c14e15e977 --- /dev/null +++ b/pages.pt_BR/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Este comando é um apelido de `units`. + +- Veja documentação sobre o comando original: + +`tldr units` diff --git a/pages.pt_BR/osx/gunlink.md b/pages.pt_BR/osx/gunlink.md new file mode 100644 index 00000000000000..0d9a96c72abc0f --- /dev/null +++ b/pages.pt_BR/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Este comando é um apelido de `unlink`. + +- Veja documentação sobre o comando original: + +`tldr unlink` diff --git a/pages.pt_BR/osx/gupdatedb.md b/pages.pt_BR/osx/gupdatedb.md new file mode 100644 index 00000000000000..82290ad07fb393 --- /dev/null +++ b/pages.pt_BR/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Este comando é um apelido de `-p linux updatedb`. + +- Exibe documentação sobre o comando original: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.pt_BR/osx/guptime.md b/pages.pt_BR/osx/guptime.md new file mode 100644 index 00000000000000..8f8ef21a22843c --- /dev/null +++ b/pages.pt_BR/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Este comando é um apelido de `uptime`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.pt_BR/osx/gusers.md b/pages.pt_BR/osx/gusers.md new file mode 100644 index 00000000000000..3aee8d8c718118 --- /dev/null +++ b/pages.pt_BR/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Este comando é um apelido de `users`. + +- Veja documentação sobre o comando original: + +`tldr users` diff --git a/pages.pt_BR/osx/gvdir.md b/pages.pt_BR/osx/gvdir.md new file mode 100644 index 00000000000000..8fa4b5ef10c8f6 --- /dev/null +++ b/pages.pt_BR/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Este comando é um apelido de `vdir`. + +- Veja documentação sobre o comando original: + +`tldr vdir` diff --git a/pages.pt_BR/osx/gwc.md b/pages.pt_BR/osx/gwc.md new file mode 100644 index 00000000000000..07da0c03c4528d --- /dev/null +++ b/pages.pt_BR/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Este comando é um apelido de `wc`. + +- Veja documentação sobre o comando original: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.pt_BR/osx/gwhich.md b/pages.pt_BR/osx/gwhich.md new file mode 100644 index 00000000000000..282ae99af24ea0 --- /dev/null +++ b/pages.pt_BR/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Este comando é um apelido de `which`. + +- Veja documentação sobre o comando original: + +`tldr which` diff --git a/pages.pt_BR/osx/gwho.md b/pages.pt_BR/osx/gwho.md new file mode 100644 index 00000000000000..cd55301eb82d32 --- /dev/null +++ b/pages.pt_BR/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Este comando é um apelido de `who`. + +- Veja documentação sobre o comando original: + +`tldr who` diff --git a/pages.pt_BR/osx/gwhoami.md b/pages.pt_BR/osx/gwhoami.md new file mode 100644 index 00000000000000..31604a96647f3e --- /dev/null +++ b/pages.pt_BR/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Este comando é um apelido de `whoami`. + +- Veja documentação sobre o comando original: + +`tldr whoami` diff --git a/pages.pt_BR/osx/gwhois.md b/pages.pt_BR/osx/gwhois.md new file mode 100644 index 00000000000000..ee73b35d41302b --- /dev/null +++ b/pages.pt_BR/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Este comando é um apelido de `whois`. + +- Veja documentação sobre o comando original: + +`tldr whois` diff --git a/pages.pt_BR/osx/gxargs.md b/pages.pt_BR/osx/gxargs.md new file mode 100644 index 00000000000000..f0be636f1cb94d --- /dev/null +++ b/pages.pt_BR/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Este comando é um apelido de `xargs`. + +- Veja documentação sobre o comando original: + +`tldr xargs` diff --git a/pages.pt_BR/osx/gyes.md b/pages.pt_BR/osx/gyes.md new file mode 100644 index 00000000000000..10a612f8b2712f --- /dev/null +++ b/pages.pt_BR/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Este comando é um apelido de `yes`. + +- Veja documentação sobre o comando original: + +`tldr yes` diff --git a/pages.pt_BR/osx/hdiutil.md b/pages.pt_BR/osx/hdiutil.md new file mode 100644 index 00000000000000..3a86e85c20affc --- /dev/null +++ b/pages.pt_BR/osx/hdiutil.md @@ -0,0 +1,20 @@ +# hdiutil + +> Utilitário para criar e gerenciar imagens de disco. +> Mais informações: . + +- Monta uma imagem: + +`hdiutil attach {{caminho/para/aquivo_de_imagem}}` + +- Desmonta uma imagem: + +`hdiutil detach /Volumes/{{nome_do_volume}}` + +- Lista as imagens montadas: + +`hdiutil info` + +- Cria uma imagem ISO a partir do conteúdo de um diretório: + +`hdiutil makehybrid -o {{caminho/para/arquivo_de_saída}} {{caminho/para/diretório}}` diff --git a/pages.pt_BR/osx/hidd.md b/pages.pt_BR/osx/hidd.md new file mode 100644 index 00000000000000..f92ebcd0473d8f --- /dev/null +++ b/pages.pt_BR/osx/hidd.md @@ -0,0 +1,9 @@ +# hidd + +> Daemon de nível de usuário da biblioteca HID. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`hidd` diff --git a/pages.pt_BR/osx/icalbuddy.md b/pages.pt_BR/osx/icalbuddy.md new file mode 100644 index 00000000000000..34acb2759ccef7 --- /dev/null +++ b/pages.pt_BR/osx/icalbuddy.md @@ -0,0 +1,24 @@ +# icalBuddy + +> Utilitário de linha de comando para exibir eventos e tarefas do banco de dados do calendário do macOS. +> Mais informações: . + +- Exibe eventos que acontecerão hoje: + +`icalBuddy --includeOnlyEventsFromNowOn eventsToday` + +- Exibe tarefas incompletas: + +`icalBuddy uncompletedTasks` + +- Exibe uma lista formatada separada por calendário para todos os eventos de hoje: + +`icalBuddy --formatOutput --separateByCalendar eventsToday` + +- Exibe tarefas para um determinado número de dias: + +`icalBuddy --includeOnlyEventsFromNowOn "tasksDueBefore:today+{{dias}}"` + +- Exibe eventos em um intervalo de tempo: + +`icalBuddy eventsFrom:{{data_inicial}} to:{{data_final}}` diff --git a/pages.pt_BR/osx/indent.md b/pages.pt_BR/osx/indent.md new file mode 100644 index 00000000000000..13787f8b555372 --- /dev/null +++ b/pages.pt_BR/osx/indent.md @@ -0,0 +1,12 @@ +# indent + +> Altera a aparência de um programa C/C++ inserindo ou excluindo espaços em branco. +> Mais informações: . + +- Formata código fonte C/C++ de acordo com o estilo Berkeley: + +`indent {{caminho/para/fonte.c}} {{caminho/para/fonte_identado.c}} -nbad -nbap -bc -br -c33 -cd33 -cdb -ce -ci4 -cli0 -di16 -fc1 -fcb -i4 -ip -l75 -lp -npcs -nprs -psl -sc -nsob -ts8` + +- Formata código fonte C/C++ de acordo com o estilo Kernighan & Ritchie (K&R): + +`indent {{caminho/para/fonte.c}} {{caminho/para/fonte_identado.c}} -nbad -bap -nbc -br -c33 -cd33 -ncdb -ce -ci4 -cli0 -cs -d0 -di1 -nfc1 -nfcb -i4 -nip -l75 -lp -npcs -nprs -npsl -nsc -nsob` diff --git a/pages.pt_BR/osx/internetsharing.md b/pages.pt_BR/osx/internetsharing.md new file mode 100644 index 00000000000000..1f6b10bddc9414 --- /dev/null +++ b/pages.pt_BR/osx/internetsharing.md @@ -0,0 +1,9 @@ +# InternetSharing + +> Configura o Compartilhamento de Internet. +> Não deve ser invocado manualmente. +> Mais informações: . + +- Inicia o daemon: + +`InternetSharing` diff --git a/pages.pt_BR/osx/istats.md b/pages.pt_BR/osx/istats.md new file mode 100644 index 00000000000000..f068964909a4ee --- /dev/null +++ b/pages.pt_BR/osx/istats.md @@ -0,0 +1,20 @@ +# istats + +> Ferramenta CLI que mostra estatísticas como temperatura da CPU, velocidade das ventoinhas, e status da bateria. +> Mais informações: . + +- Exibe todas as estatísticas: + +`istats` + +- Exibe todas as estatísticas da CPU: + +`istats cpu` + +- Exibe todas as estatísticas das ventoinhas: + +`istats fan` + +- Examina e imprime as temperaturas: + +`istats scan` diff --git a/pages.pt_BR/osx/launchd.md b/pages.pt_BR/osx/launchd.md new file mode 100644 index 00000000000000..439dd8696980f3 --- /dev/null +++ b/pages.pt_BR/osx/launchd.md @@ -0,0 +1,13 @@ +# launchd + +> Este comando gerencia processo, tanto do sistema quanto de usuários. +> Você não pode invocar launchd manualmente, use launchctl para interagir com ele. +> Mais informações: . + +- Executa init: + +`/sbin/launchd` + +- Exibe documentação sobre a interação com launchd por meio do launchctl: + +`tldr launchctl` diff --git a/pages.pt_BR/osx/xcodes-runtimes.md b/pages.pt_BR/osx/xcodes-runtimes.md new file mode 100644 index 00000000000000..e21fcdc18e0ca8 --- /dev/null +++ b/pages.pt_BR/osx/xcodes-runtimes.md @@ -0,0 +1,28 @@ +# xcodes runtimes + +> Gerencia runtimes do Simulador Xcode. +> Mais informações: . + +- Lista todos os runtimes do Simulador disponíveis: + +`xcodes runtimes --include-betas` + +- Baixa um runtime do Simulador: + +`xcodes runtimes download {{nome-do-runtime}}` + +- Baixa e instala um runtime do Simulador: + +`xcodes runtimes install {{nome-do-runtime}}` + +- Baixa/instala um runtime do Simulador para a versão iOS/watchOS/tvOS/visionOS especificada (diferencia maiúsculo de minúsculo): + +`xcodes runtimes {{download|install}} "{{iOS|watchOS|tvOS|visionOS}} {{versão_runtime}}"` + +- Define um local específico para onde o pacote do runtime será baixado primeiro (o padrão é `~/Downloads`): + +`xcodes runtimes {{download|install}} {{nome_runtime}} --directory {{caminho/para/diretório}}` + +- Não exclui o pacote baixado quando o Simulador é instalado com sucesso: + +`xcodes runtimes install {{nome_runtime}} --keep-archive` diff --git a/pages.pt_BR/osx/xcodes.md b/pages.pt_BR/osx/xcodes.md new file mode 100644 index 00000000000000..192023b2b1d021 --- /dev/null +++ b/pages.pt_BR/osx/xcodes.md @@ -0,0 +1,29 @@ +# xcodes + +> Baixe, instale e gerencie várias versões do Xcode. +> Veja também: `xcodes runtimes`. +> Mais informações: . + +- Lista todas as versões do Xcode instaladas: + +`xcodes installed` + +- Lista todas as versões do Xcode disponíveis: + +`xcodes list` + +- Seleciona uma versão do Xcode especificando o número da versão ou um caminho: + +`xcodes select {{versao-do-xcode|caminho/para/Xcode.app}}` + +- Baixa e instala uma versão específica do Xcode: + +`xcodes install {{versao-do-xcode}}` + +- Baixa, instala e seleciona a versão mais recente do Xcode: + +`xcodes install --latest --select` + +- Baixa uma versão específica do Xcode para um diretório específico sem instalá-la: + +`xcodes download {{versao-do-xcode}} --directory {{caminho/para/diretorio}}` diff --git a/pages.pt_BR/windows/assoc.md b/pages.pt_BR/windows/assoc.md new file mode 100644 index 00000000000000..c111260e277b84 --- /dev/null +++ b/pages.pt_BR/windows/assoc.md @@ -0,0 +1,20 @@ +# assoc + +> Exibir ou alterar associações entre extensões de arquivo e tipos de arquivos. +> Mais informações: . + +- Lista todas as associações entre extensões de arquivo e tipos de arquivos: + +`assoc` + +- Exibe o tipo de arquivo associado para uma extensão específica: + +`assoc {{.txt}}` + +- Define o tipo de arquivo associado para uma extensão específica: + +`assoc .{{txt}}={{arquivotxt}}` + +- Exibe a saída de `assoc` uma tela por vez: + +`assoc | {{more}}` diff --git a/pages.pt_BR/windows/cd.md b/pages.pt_BR/windows/cd.md new file mode 100644 index 00000000000000..5d55c752fe0ead --- /dev/null +++ b/pages.pt_BR/windows/cd.md @@ -0,0 +1,33 @@ +# cd + +> Exibe o nome o diretório local atual ou altera para um diretório diferente. +> No PowerShell, este comando é um apelido de `Set-Location`. Esta documentação é baseada na versão Prompt de Comando (`cmd`) do `cd`. +> Mais informações: . + +- Exibe documentação sobre o comando equivalente do PowerShell: + +`tldr set-location` + +- Mostra o nome do diretório atual: + +`cd` + +- Vai para um diretório específico na mesma unidade: + +`cd {{caminho\para\diretorio}}` + +- Vai para um diretório específico em uma unidade diferente: + +`cd /d {{C}}:{{caminho\para\diretório}}` + +- Vai até o pai do diretório atual: + +`cd ..` + +- Vai para o diretório base do usuário atual: + +`cd %userprofile%` + +- Vai para a raiz da unidade atual: + +`cd \` diff --git a/pages.pt_BR/windows/choco-info.md b/pages.pt_BR/windows/choco-info.md index b4299ce263f3fd..7ebe2226ab28d0 100644 --- a/pages.pt_BR/windows/choco-info.md +++ b/pages.pt_BR/windows/choco-info.md @@ -3,18 +3,18 @@ > Exibir informações detalhadas de um pacote com Chocolatey. > Mais informações: . -- Exibir informações sobre um pacote específico: +- Exibe informações sobre um pacote específico: `choco info {{pacote}}` -- Exibir informação para um pacote local: +- Exibe informação para um pacote local: `choco info {{pacote}} --local-only` -- Especificar uma fonte personalizada para receber as informações de um pacote: +- Especifica uma fonte personalizada para receber as informações de um pacote: `choco info {{pacote}} --source {{url_da_fonte|apelido}}` -- Fornecer um nome e uma senha para autenticação: +- Fornece um nome e uma senha para autenticação: `choco info {{pacote}} --user {{apelido}} --password {{senha}}` diff --git a/pages.pt_BR/windows/choco-install.md b/pages.pt_BR/windows/choco-install.md index 5c4449e6d8a966..caa496fecd4d13 100644 --- a/pages.pt_BR/windows/choco-install.md +++ b/pages.pt_BR/windows/choco-install.md @@ -3,34 +3,34 @@ > Instalar um pacote ou mais com Chocolatey. > Mais informações: . -- Instalar um ou mais pacotes separado por espaço: +- Instala um ou mais pacotes separado por espaço: `choco install {{pacote(s)}}` -- Instalar pacotes a partir de um aquivo de configuração personalizado: +- Instala pacotes a partir de um aquivo de configuração personalizado: -`choco install {{caminho/para/os/pacotes.config}}` +`choco install {{caminho/para/pacotes.config}}` -- Instalar um arquivo específico "nuspec" ou "nupkg": +- Instala um arquivo específico `nuspec` ou `nupkg`: -`choco install {{caminho/para/o/arquivo}}` +`choco install {{caminho/para/arquivo}}` -- Instalar uma versão específica de um pacote: +- Instala uma versão específica de um pacote: `choco install {{pacote}} --version {{versão}}` -- Permitir a instalação de múltiplas versões de um pacote: +- Permite a instalação de múltiplas versões de um pacote: `choco install {{pacote}} --allow-multiple` -- Confirmar todos prompts automaticamente: +- Confirma todos prompts automaticamente: `choco install {{pacote}} --yes` -- Especificar uma fonte personalizada para receber pacotes: +- Especifica uma fonte personalizada para receber pacotes: `choco install {{pacote}} --source {{url_do_pacote|apelido}}` -- Fornecer um nome e uma senha para autenticação: +- Fornece um nome e uma senha para autenticação: `choco install {{pacote}} --user {{usuario}} --password {{senha}}` diff --git a/pages.pt_BR/windows/choco-list.md b/pages.pt_BR/windows/choco-list.md index 6301706e90fb85..6d095b48d55a1d 100644 --- a/pages.pt_BR/windows/choco-list.md +++ b/pages.pt_BR/windows/choco-list.md @@ -3,26 +3,26 @@ > Exibir uma lista de pacotes com Chocolatey. > Mais informações: . -- Exibir todos pacotes disponíveis: +- Exibe todos pacotes disponíveis: `choco list` -- Exibir todos pacotes instalados localmente: +- Exibe todos pacotes instalados localmente: `choco list --local-only` -- Exibir uma lista incluindo programas locais: +- Exibe uma lista incluindo programas locais: `choco list --include-programs` -- Exibir apenas pacotes aprovados: +- Exibe apenas pacotes aprovados: `choco list --approved-only` -- Especificar uma fonte personalizada para exibir os pacotes: +- Especifica uma fonte personalizada para exibir os pacotes: `choco list --source {{url_da_fonte|apelido}}` -- Fornecer um nome e uma senha para autenticação: +- Fornece um nome e uma senha para autenticação: `choco list --user {{usuário}} --password {{senha}}` diff --git a/pages.pt_BR/windows/choco-source.md b/pages.pt_BR/windows/choco-source.md index 3cba9a0701a812..24aadb8cf7c68b 100644 --- a/pages.pt_BR/windows/choco-source.md +++ b/pages.pt_BR/windows/choco-source.md @@ -3,30 +3,30 @@ > Gerenciar fontes para pacotes com Chocolatey. > Mais informações: . -- Listar fontes atualmente disponíveis: +- Lista fontes atualmente disponíveis: `choco source list` -- Adicionar uma nova fonte de pacotes: +- Adiciona uma nova fonte de pacotes: `choco source add --name {{nome}} --source {{url_da_fonte}}` -- Adicionar uma nova fonte de pacotes com credenciais: +- Adiciona uma nova fonte de pacotes com credenciais: `choco source add --name {{nome}} --source {{url_da_fonte}} --user {{nome}} --password {{senha}}` -- Adicionar uma nova fonte de pacotes com certificado do cliente: +- Adiciona uma nova fonte de pacotes com certificado do cliente: -`choco source add --name {{nome}} --source {{url_da_fonte}} --cert {{caminho/para/o/certificado}}` +`choco source add --name {{nome}} --source {{url_da_fonte}} --cert {{caminho/para/certificado}}` -- Habilitar uma fonte de pacotes: +- Habilita uma fonte de pacotes: `choco source enable --name {{nome}}` -- Desabilitar uma fonte de pacotes: +- Desabilita uma fonte de pacotes: `choco source disable --name {{nome}}` -- Remover uma fonte de pacotes: +- Remove uma fonte de pacotes: `choco source remove --name {{nome}}` diff --git a/pages.pt_BR/windows/choco-uninstall.md b/pages.pt_BR/windows/choco-uninstall.md index b43d7f5ac343d5..c217c258cb79d7 100644 --- a/pages.pt_BR/windows/choco-uninstall.md +++ b/pages.pt_BR/windows/choco-uninstall.md @@ -3,22 +3,22 @@ > Desinstalar um pacote ou mais com Chocolatey. > Mais informações: . -- Desinstalar um pacote ou mais separado por espaços: +- Desinstala um pacote ou mais separado por espaços: `choco uninstall {{pacote(s)}}` -- Desinstalar uma versão específica de um pacote: +- Desinstala uma versão específica de um pacote: `choco uninstall {{pacote}} --version {{versão}}` -- Confirmar todos prompts automaticamente: +- Confirma todos prompts automaticamente: `choco uninstall {{pacote}} --yes` -- Remover todas dependências ao desinstalar: +- Remove todas dependências ao desinstalar: `choco uninstall {{pacote}} --remove-dependencies` -- Desinstalar todos os pacotes: +- Desinstala todos os pacotes: `choco uninstall all` diff --git a/pages.pt_BR/windows/choco-upgrade.md b/pages.pt_BR/windows/choco-upgrade.md index ca599ad3c86224..59e22e36ca7405 100644 --- a/pages.pt_BR/windows/choco-upgrade.md +++ b/pages.pt_BR/windows/choco-upgrade.md @@ -3,23 +3,23 @@ > Atualizar um ou mais pacotes com Chocolatey. > Mais informações: . -- Atualizar um ou mais pacotes separados por espaço: +- Atualiza um ou mais pacotes separados por espaço: `choco upgrade {{pacote(s)}}` -- Atualizar para uma versão específica de um pacote: +- Atualiza para uma versão específica de um pacote: `choco upgrade {{pacote}} --version {{versão}}` -- Atualizar todos pacotes: +- Atualiza todos pacotes: `choco upgrade all` -- Atualizar todos os pacotes, exceto os especificados separados por virgula: +- Atualiza todos os pacotes, exceto os especificados separados por virgula: `choco upgrade all --except "{{pacote(s)}}"` -- Confirmar todos prompts automaticamente: +- Confirma todos os prompts automaticamente: `choco upgrade {{pacote}} --yes` @@ -27,6 +27,6 @@ `choco upgrade {{pacote}} --source {{url_do_pacote|apelido}}` -- Fornecer um nome e uma senha para autenticação: +- Fornece um nome e uma senha para autenticação: `choco upgrade {{pacote}} --user {{usuário}} --password {{senha}}` diff --git a/pages.pt_BR/windows/choco.md b/pages.pt_BR/windows/choco.md index e61f3f3b958cf2..0bafd5e3703305 100644 --- a/pages.pt_BR/windows/choco.md +++ b/pages.pt_BR/windows/choco.md @@ -1,21 +1,21 @@ # choco > Uma interface de linha de comando para o gerenciador de pacotes Chocolatey. -> Veja `choco install`, `choco upgrade` e outras páginas para mais informações. +> Alguns subcomandos como `install` tem sua própia documentação de uso. > Mais informações: . -- Executar o comando Chocolatey: +- Executa o comando Chocolatey: `choco {{comando}}` -- Exibir ajuda generalizada: +- Exibe ajuda generalizada: `choco -?` -- Exibir ajuda em um comando específico: +- Exibe ajuda em um comando específico: `choco {{comando}} -?` -- Exibir a versão do Chocolatey: +- Exibe a versão do Chocolatey: `choco --version` diff --git a/pages.pt_BR/windows/chrome.md b/pages.pt_BR/windows/chrome.md new file mode 100644 index 00000000000000..f5b1bb09a60d5f --- /dev/null +++ b/pages.pt_BR/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Este comando é um apelido de `chromium`. +> Mais informações: . + +- Exibe documentação sobre o comando original: + +`tldr chromium` diff --git a/pages.pt_BR/windows/cinst.md b/pages.pt_BR/windows/cinst.md new file mode 100644 index 00000000000000..3cd2548bc792a5 --- /dev/null +++ b/pages.pt_BR/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Este comando é um apelido de `choco install`. + +- Exibe documentação sobre o comando original: + +`tldr choco install` diff --git a/pages.pt_BR/windows/clist.md b/pages.pt_BR/windows/clist.md new file mode 100644 index 00000000000000..5e9a1b1db73450 --- /dev/null +++ b/pages.pt_BR/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Este comando é um apelido de `choco list`. + +- Exibe documentação sobre o comando original: + +`tldr choco list` diff --git a/pages.pt_BR/windows/cls.md b/pages.pt_BR/windows/cls.md index 89738962ce188a..96b6794e8f201d 100644 --- a/pages.pt_BR/windows/cls.md +++ b/pages.pt_BR/windows/cls.md @@ -1,8 +1,13 @@ # cls > Limpar a tela de saída. -> Mais informações: . +> No PowerShell, este comando é um apelido de `Clear-Host`. Esta documentação é baseada na versão Prompt de Comando (`cmd`) do `cls`. +> Mais informações: . -- Limpar a tela: +- Exibe a documentação do comando equivalente do PowerShell: + +`tldr clear-host` + +- Limpa a tela: `cls` diff --git a/pages.pt_BR/windows/cmd.md b/pages.pt_BR/windows/cmd.md index dd9820bae247ba..86b2b16c2feea8 100644 --- a/pages.pt_BR/windows/cmd.md +++ b/pages.pt_BR/windows/cmd.md @@ -1,36 +1,36 @@ # cmd > O interpretador de comandos do Windows. -> Mais informações: . +> Mais informações: . -- Iniciar nova instância do interpretador de comandos: +- Inicia uma sessão do interpretador de comandos: `cmd` -- Executar o comando especificado e sair do interpretador: +- Executa os [c]omandos especificados: -`cmd /c "{{comando}}"` +`cmd /c {{echo Olá Mundo}}` -- Executar o comando especificado e entrar no shell interativo: +- Executa um script específico: -`cmd /k "{{comando}}"` +`cmd {{caminho/para/script.bat}}` -- Desabilitar o uso do comando `echo` na saída dos comandos: +- Executa o comando especificado e entra em um shell interativo: -`cmd /q` +`cmd /k {{echo Olá Mundo}}` -- Habilitar ou desabilitar extensão de comandos: +- Entra em um shell interativo e desabilita o uso do comando `echo` na saída dos comandos: -`cmd /e:{{on|off}}` +`cmd /q` -- Habilitar ou desabilitar a ferramenta que completa automaticamente o nome de arquivos ou diretórios: +- Entra em um shell interativo com ou a expansão de [v]ariáveis de ambiente habilitada ou desabilitada: -`cmd /f:{{on|off}}` +`cmd /v:{{on|off}}` -- Habilitar ou desabilitar a expansão de variáveis de ambiente: +- Entra em um shell interativo com a extensão de comandos habilitada ou desabilitada: -`cmd /v:{{on|off}}` +`cmd /e:{{on|off}}` -- Forçar que a saída de comandos use o padrão unicode: +- Entra em um shell interativo com a saída de comandos no padrão Unicode: `cmd /u` diff --git a/pages.pt_BR/windows/cpush.md b/pages.pt_BR/windows/cpush.md new file mode 100644 index 00000000000000..bb57a7ebd11c7b --- /dev/null +++ b/pages.pt_BR/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Este comando é um apelido de `choco push`. + +- Exibe documentação sobre o comando original: + +`tldr choco push` diff --git a/pages.pt_BR/windows/cuninst.md b/pages.pt_BR/windows/cuninst.md new file mode 100644 index 00000000000000..4cc0da1d8693f3 --- /dev/null +++ b/pages.pt_BR/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Este comando é um apelido de `choco uninstall`. + +- Exibe documentação sobre o comando original: + +`tldr choco uninstall` diff --git a/pages.pt_BR/windows/curl.md b/pages.pt_BR/windows/curl.md new file mode 100644 index 00000000000000..9e627b14bd54a2 --- /dev/null +++ b/pages.pt_BR/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> No PowerShell, este comando pode ser um apelido de `Invoke-WebRequest` quando o programa `curl` original () não está adequadamente instalado. +> Mais informações: . + +- Exibe documentação sobre o comando `curl` original: + +`tldr curl -p common` + +- Exibe documentação sobre o comando `Invoke-WebRequest` do PowerShell: + +`tldr invoke-webrequest` + +- Verifica se `curl` está instalado corretamente imprimindo seu número de versão. Se esse comando for avaliado como um erro, o PowerShell pode ter substituído esse comando por `Invoke-WebRequest`: + +`curl --version` diff --git a/pages.pt_BR/windows/dir.md b/pages.pt_BR/windows/dir.md index 2b093cdc3c478a..1c095cbbeec5f0 100644 --- a/pages.pt_BR/windows/dir.md +++ b/pages.pt_BR/windows/dir.md @@ -1,20 +1,24 @@ # dir > Listar os conteúdos de um diretório. -> Mais informações: . +> Mais informações: . -- Mostrar o conteúdo do diretório atual: +- Mostra o conteúdo do diretório atual: `dir` -- Mostrar o conteúdo do diretório no caminho provido pelo usuário: +- Mostra o conteúdo do diretório no caminho provido pelo usuário: -`dir {{caminho/para/diretório}}` +`dir {{caminho\para\diretório}}` -- Mostrar o conteúdo do diretório atual, incluindo arquivos e pastas escondidas: +- Mostra o conteúdo do diretório atual, incluindo arquivos e pastas ocultas: -`dir /A` +`dir /a` -- Mostrar o conteúdo do diretório provido pelo usuário, incluindo arquivos e pastas escondidas: +- Mostra o conteúdo do diretório provido pelo usuário, incluindo arquivos e pastas ocultas: -`dir {{caminho/para/diretório}}} /A` +`dir {{caminho\para\diretório}} /a` + +- Mostra uma lista simples de diretórios e arquivos, sem informações adicionais: + +`dir /b` diff --git a/pages.pt_BR/windows/iwr.md b/pages.pt_BR/windows/iwr.md new file mode 100644 index 00000000000000..0bb42b380f66bb --- /dev/null +++ b/pages.pt_BR/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Este comando é um apelido de `invoke-webrequest`. + +- Exibe documentação sobre o comando original: + +`tldr invoke-webrequest` diff --git a/pages.pt_BR/windows/mkdir.md b/pages.pt_BR/windows/mkdir.md index d8baa041d379cb..82613079785753 100644 --- a/pages.pt_BR/windows/mkdir.md +++ b/pages.pt_BR/windows/mkdir.md @@ -1,12 +1,12 @@ # mkdir > Criar um diretório. -> Mais informações: . +> Mais informações: . -- Criar um diretório: +- Cria um diretório: `mkdir {{nome_do_diretorio}}` -- Criar recursivamente uma árvore de diretórios aninhados: +- Cria recursivamente uma árvore de diretórios aninhados: `mkdir {{caminho/para/subdiretorio}}` diff --git a/pages.pt_BR/windows/print.md b/pages.pt_BR/windows/print.md deleted file mode 100644 index beb1ba32e3ddc2..00000000000000 --- a/pages.pt_BR/windows/print.md +++ /dev/null @@ -1,12 +0,0 @@ -# print - -> Imprimir um arquivo de texto em uma impressora. -> Mais informações: . - -- Imprimir um arquivo de texto na impressora padrão: - -`print {{caminho/para/arquivo}}` - -- Imprimir arquivo de texto em uma impressora específica: - -`print /d:{{impressora}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/windows/print.win.md b/pages.pt_BR/windows/print.win.md new file mode 100644 index 00000000000000..38dc9bdcb31e43 --- /dev/null +++ b/pages.pt_BR/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> Imprimir um arquivo de texto em uma impressora. +> Mais informações: . + +- Imprime um arquivo de texto na impressora padrão: + +`print {{caminho/para/arquivo}}` + +- Imprime arquivo de texto em uma impressora específica: + +`print /d:{{impressora}} {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/windows/pwsh-where.md b/pages.pt_BR/windows/pwsh-where.md new file mode 100644 index 00000000000000..c57725177375d3 --- /dev/null +++ b/pages.pt_BR/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Este comando é um apelido de `Where-Object`. + +- Exibe documentação sobre o comando original: + +`tldr Where-Object` diff --git a/pages.pt_BR/windows/rd.md b/pages.pt_BR/windows/rd.md new file mode 100644 index 00000000000000..b2dbbdb58390c4 --- /dev/null +++ b/pages.pt_BR/windows/rd.md @@ -0,0 +1,11 @@ +# rd + +> Este comando é um apelido de `rmdir` no Prompt de Comando e, subsequentemente, `Remove-Item` em PowerShell. + +- Exibe documentação sobre o comando original do Prompt de Comando: + +`tldr rmdir` + +- Exibe documentação sobre o comando original do PowerShell: + +`tldr remove-item` diff --git a/pages.pt_BR/windows/sigverif.md b/pages.pt_BR/windows/sigverif.md deleted file mode 100644 index 114f66506f2a11..00000000000000 --- a/pages.pt_BR/windows/sigverif.md +++ /dev/null @@ -1,7 +0,0 @@ -# sigverif - -> Uma interface gráfica para verificação de assinaturas de arquivos do sistema. - -- Abre a interface de verificação de assinatura. - -`sigverif` diff --git a/pages.pt_BR/windows/sls.md b/pages.pt_BR/windows/sls.md new file mode 100644 index 00000000000000..a15943f1b248ed --- /dev/null +++ b/pages.pt_BR/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Este comando é um apelido de `Select-String`. + +- Exibe documentação sobre o comando original: + +`tldr select-string` diff --git a/pages.pt_BR/windows/title.md b/pages.pt_BR/windows/title.md index 147aa260b1c277..4736fe00ebe7cb 100644 --- a/pages.pt_BR/windows/title.md +++ b/pages.pt_BR/windows/title.md @@ -1,7 +1,7 @@ # title > Exibe o título do prompt de comando. -> Mais informações: . +> Mais informações: . - Define o título do prompt de comando: diff --git a/pages.pt_BR/windows/tree.md b/pages.pt_BR/windows/tree.md index 9fed4aa6d17c32..b9cf455e4cd5c6 100644 --- a/pages.pt_BR/windows/tree.md +++ b/pages.pt_BR/windows/tree.md @@ -1,7 +1,7 @@ # tree > Exibe uma árvore gráfica da estrutura do diretório no caminho. -> Mais informações: . +> Mais informações: . - Exibe a árvore para o diretório atual: diff --git a/pages.pt_BR/windows/type.md b/pages.pt_BR/windows/type.md index 5b1492d5938648..f4a9834a820dea 100644 --- a/pages.pt_BR/windows/type.md +++ b/pages.pt_BR/windows/type.md @@ -1,8 +1,8 @@ # type > Mostrar o conteúdo de um arquivo. -> Mais informações: . +> Mais informações: . -- Mostrar o conteúdo de um arquivo específico: +- Mostra o conteúdo de um arquivo específico: `type {{caminho/para/arquivo}}` diff --git a/pages.pt_BR/windows/ver.md b/pages.pt_BR/windows/ver.md index b8da85414221f0..c8ee480d63ce4f 100644 --- a/pages.pt_BR/windows/ver.md +++ b/pages.pt_BR/windows/ver.md @@ -1,7 +1,7 @@ # ver > Exibe a atual versão do Windows ou MS-DOS. -> Mais informações: . +> Mais informações: . - Mostra a atual versão: diff --git a/pages.pt_BR/windows/wget.md b/pages.pt_BR/windows/wget.md new file mode 100644 index 00000000000000..314fd77cbe17d5 --- /dev/null +++ b/pages.pt_BR/windows/wget.md @@ -0,0 +1,17 @@ +# wget + +> No PowerShell, este comando pode ser um apelido de `Invoke-WebRequest` quando o programa `wget` original () não está instalado corretamente. +> Nota: se o parâmetro version retornar um erro, o PowerShell pode ter substituído este comando por `Invoke-WebRequest`. +> Mais informações: . + +- Exibe documentação sobre o comando `wget` original: + +`tldr wget -p common` + +- Exibe documentação sobre o comando `Invoke-WebRequest` do PowerShell: + +`tldr invoke-webrequest` + +- Exibe a versão: + +`wget --version` diff --git a/pages.pt_BR/windows/whoami.md b/pages.pt_BR/windows/whoami.md index 2b28f20803dd5b..582a110f8e24b7 100644 --- a/pages.pt_BR/windows/whoami.md +++ b/pages.pt_BR/windows/whoami.md @@ -1,7 +1,7 @@ # whoami > Mostra detalhes sobre o usuário atual. -> Mais informações: . +> Mais informações: . - Mostra o username do usuário atual: @@ -19,6 +19,10 @@ `whoami /upn` -- Mostra o id de logon do usuário atual: +- Mostra o ID de logon do usuário atual: `whoami /logonid` + +- Mostra todas as informações sobre o usuário atual: + +`whoami /all` diff --git a/pages.pt_PT/android/am.md b/pages.pt_PT/android/am.md new file mode 100644 index 00000000000000..442ccfa7071052 --- /dev/null +++ b/pages.pt_PT/android/am.md @@ -0,0 +1,20 @@ +# am + +> Gestor de atividades do Android (Activity Manager). +> Mais informações: . + +- Inicia uma atividade específica: + +`am start -n {{com.android.settings/.Settings}}` + +- Inicia uma atividade e passar-lhe dados: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Inicia uma atividade com uma ação e categoria específicas: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Converte um `intent` num URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.pt_PT/android/bugreport.md b/pages.pt_PT/android/bugreport.md new file mode 100644 index 00000000000000..475ea2fb49b5dc --- /dev/null +++ b/pages.pt_PT/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Mostra um relatório de bugs do Android. +> Este comando só pode ser utilizado com a `adb shell`. +> Mais informações: . + +- Mostra um relatório completo de bugs de um dispositivo Android: + +`bugreport` diff --git a/pages.pt_PT/android/bugreportz.md b/pages.pt_PT/android/bugreportz.md new file mode 100644 index 00000000000000..d02d3d579a213f --- /dev/null +++ b/pages.pt_PT/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> Gera um relatório de bugs do Android em formato Zip. +> Este comando só pode ser utilizado com a `adb shell`. +> Mais informações: . + +- Mostra um relatório completo de bugs de um dispositivo Android em formato Zip: + +`bugreportz` + +- Mostra o progresso de `bugreportz` em execução: + +`bugreportz -p` + +- Mostra a ajuda: + +`bugreportz -h` + +- Mostra a versão de `bugreportz`: + +`bugreportz -v` diff --git a/pages.pt_PT/android/cmd.md b/pages.pt_PT/android/cmd.md new file mode 100644 index 00000000000000..53b88bba76b0a1 --- /dev/null +++ b/pages.pt_PT/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Gestor de serviços (service manager) do Android. +> Mais informações: . + +- Lista todos os serviços em execução: + +`cmd -l` + +- Executa um serviço específico: + +`cmd {{alarm}}` + +- Executa um serviço com parâmetros: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.pt_PT/android/dalvikvm.md b/pages.pt_PT/android/dalvikvm.md new file mode 100644 index 00000000000000..994f2ad3584fbb --- /dev/null +++ b/pages.pt_PT/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> A máquina virtual Java do Android. +> Mais informações: . + +- Inicia um programa Java: + +`dalvikvm -classpath {{caminho/para/ficheiro.jar}} {{nome_da_classe}}` diff --git a/pages.pt_PT/android/dumpsys.md b/pages.pt_PT/android/dumpsys.md new file mode 100644 index 00000000000000..32eb58af9af827 --- /dev/null +++ b/pages.pt_PT/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Fornece informações sobre os serviços do sistema Android. +> Este comando só pode ser usado com a `adb shell`. +> Mais informações: . + +- Gera um diagnóstico de todos os serviços do sistema: + +`dumpsys` + +- Gera um diagnóstico de um serviço do sistema específico: + +`dumpsys {{servico}}` + +- Lista todos os serviços dos quais o `dumpsys` pode obter informações: + +`dumpsys -l` + +- Lista argumentos específicos de um serviço para um serviço: + +`dumpsys {{servico}} -h` + +- Omite um serviço em específico do diagnóstico: + +`dumpsys --skip {{servico}}` + +- Especifica um periodo de _timeout_ (por padrão é 10s): + +`dumpsys -t {{segundos}}` diff --git a/pages.pt_PT/android/getprop.md b/pages.pt_PT/android/getprop.md new file mode 100644 index 00000000000000..80b419f5763d1f --- /dev/null +++ b/pages.pt_PT/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Obtém informações sobre propriedades do sistema (system props) Android. +> Mais informações: . + +- Mostra todas as propriedades do sistema: + +`getprop` + +- Mostra o valor de uma propriedade específica: + +`getprop {{prop}}` + +- Mostra o nível de API: + +`getprop {{ro.build.version.sdk}}` + +- Mostra a versão do Android: + +`getprop {{ro.build.version.release}}` + +- Mostra o modelo do dispositivo: + +`getprop {{ro.vendor.product.model}}` + +- Mostra o status de desbloqueio OEM: + +`getprop {{ro.oem_unlock_supported}}` + +- Mostra o endereço MAC da placa de Wi-Fi do dispositivo: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.pt_PT/android/input.md b/pages.pt_PT/android/input.md new file mode 100644 index 00000000000000..f572d2cbc60ef6 --- /dev/null +++ b/pages.pt_PT/android/input.md @@ -0,0 +1,25 @@ +# input + +> Envia códigos de eventos ou toques no ecrã para um dispositivo Android. +> Este comando só pode ser usado com a `adb shell`. +> Mais informações: . + +- Envia um código de evento de um caractere para um dispositivo Android: + +`input keyevent {{codigo_de_evento}}` + +- Envia texto para um dispositivo Android (`%s` representa espaços): + +`input text "{{texto}}"` + +- Envia um único toque para um dispositivo Android: + +`input tap {{x_pos}} {{y_pos}}` + +- Envia um gesto de deslizar para um dispositivo Android: + +`input swipe {{x_inicio}} {{y_inicio}} {{x_fim}} {{y_fim}} {{duração_em_ms}}` + +- Envia um toque prolongado usando um gesto de deslize para um dispositivo Android: + +`input swipe {{x_pos}} {{y_pos}} {{x_pos}} {{y_pos}} {{duração_em_ms}}` diff --git a/pages.pt_PT/android/logcat.md b/pages.pt_PT/android/logcat.md new file mode 100644 index 00000000000000..324338c8eabca1 --- /dev/null +++ b/pages.pt_PT/android/logcat.md @@ -0,0 +1,16 @@ +# logcat + +> Exibe um conjunto de mensagens de sistema, incluindo a stack de execução do programa em caso de erro, e mensagens de informação criadas por aplicações. +> Mais informações: . + +- Mostra mensagens de sistema: + +`logcat` + +- Escreve as mensagens de sistema num ficheiro: + +`logcat -f {{caminho/para/ficheiro}}` + +- Mostra mensagens que correspondem a uma expressão regular: + +`logcat --regex {{expressao_regular}}` diff --git a/pages.pt_PT/android/pkg.md b/pages.pt_PT/android/pkg.md new file mode 100644 index 00000000000000..e7dc8e1a2ab693 --- /dev/null +++ b/pages.pt_PT/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Gestor de pacotes para o Termux. +> Mais informações: . + +- Atualiza todos os pacotes instalados: + +`pkg upgrade` + +- Instala um pacote: + +`pkg install {{pacote}}` + +- Desinstala um pacote: + +`pkg uninstall {{pacote}}` + +- Reinstala um pacote: + +`pkg reinstall {{pacote}}` + +- Procura um pacote: + +`pkg search {{pacote}}` diff --git a/pages.pt_PT/android/pm.md b/pages.pt_PT/android/pm.md new file mode 100644 index 00000000000000..56def19e9668cc --- /dev/null +++ b/pages.pt_PT/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Mostra informações sobre aplicações num dispositivo Android. +> Mais informações: . + +- Exibe uma lista com todas as aplicações instaladas: + +`pm list packages` + +- Exibe uma lista com todas as aplicações do sistema instaladas: + +`pm list packages -s` + +- Exibe uma lista todas as aplicações de terceiros instaladas: + +`pm list packages -3` + +- Exibe uma lista com todas as aplicações cujos nomes estejam incluídos em palavras-chave: + +`pm list packages {{palavras_chave}}` + +- Exibe o caminho para o APK de um app: + +`pm path {{app}}` diff --git a/pages.pt_PT/android/settings.md b/pages.pt_PT/android/settings.md new file mode 100644 index 00000000000000..a27979196f4e28 --- /dev/null +++ b/pages.pt_PT/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Exibe, edita e apaga configurações do sistema Android. +> Mais informações: . + +- Exibe a lista de configurações no namespace `global`: + +`settings list {{global}}` + +- Obtém o valor de uma configuração específica: + +`settings get {{global}} {{airplane_mode_on}}` + +- Edita o valor de uma configuração: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Apaga uma configuração: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.pt_PT/android/wm.md b/pages.pt_PT/android/wm.md new file mode 100644 index 00000000000000..efd9ac83761274 --- /dev/null +++ b/pages.pt_PT/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Exibe informações da tela de um dispositivo Android. +> Este comando só pode ser usado através da `adb shell`. +> Mais informações: . + +- Mostra o tamanho da tela de um dispositivo Android: + +`wm size` + +- Mostra a densidade de píxeis da tela de um dispositivo Android: + +`wm density` diff --git a/pages.pt_PT/common/7z.md b/pages.pt_PT/common/7z.md new file mode 100644 index 00000000000000..4022d279f27b1c --- /dev/null +++ b/pages.pt_PT/common/7z.md @@ -0,0 +1,32 @@ +# 7z + +> Compactador de arquivos com uma alta taxa de compressão. +> Mais informações: . + +- Adiciona um ficheiro ou diretório a um novo ou existente arquivo: + +`7z a {{caminho/para/ficheiro_compactado.7z}} {{caminho/para/ficheiro_ou_diretório}}` + +- Encripa um arquivo existente (incluindo filenames): + +`7z a {{caminho/para/ficheiro_encriptado.7z}} -p{{palavra-passe}} -mhe=on {{caminho/para/ficheiro_compactado.7z}}` + +- Descompacta um arquivo mantendo a estrutura de diretórios original: + +`7z x {{caminho/para/ficheiro_compactado.7z}}` + +- Descompacta um arquivo para um diretório especificado pelo utilizador: + +`7z x {{caminho/para/ficheiro_compactado.7z}} -o{{caminho/para/diretório}}` + +- Descompacta um arquivo para a saída padrão (`stdout`): + +`7z x {{caminho/para/ficheiro_compactado.7z}} -so` + +- Compacta utilizando um tipo específico de arquivamento/compressão: + +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{caminho/para/ficheiro_compactado}} {{caminho/para/ficheiro_ou_diretório}}` + +- Lista os conteúdos de um arquivo: + +`7z l {{caminho/para/ficheiro_compactado.7z}}` diff --git a/pages.pt_PT/common/7za.md b/pages.pt_PT/common/7za.md new file mode 100644 index 00000000000000..11dfede11db2c0 --- /dev/null +++ b/pages.pt_PT/common/7za.md @@ -0,0 +1,33 @@ +# 7za + +> Compactador de arquivos com uma alta taxa de compressão. +> Semelhante to '7z', a principal diferença é que este suporta menos tipos de arquivamento/compressão. +> Mais informações: . + +- Compacta um ficheiro ou diretório: + +`7za a {{caminho/para/ficheiro_compactado.7z}} {{caminho/para/ficheiro_ou_diretório}}` + +- Encripta um arquivo existente (incluindo os nomes dos ficheiros): + +`7za a {{caminho/para/ficheiro_encriptado.7z}} -p{{palavra-passe}} -mhe {{on}} {{caminho/para/ficheiro_compactado.7z}}` + +- Descompacta um arquivo mantendo a estrutura de diretórios original: + +`7za x {{caminho/para/ficheiro_compactado.7z}}` + +- Descompacta um arquivo para uma diretório especificado pelo utilizador: + +`7za x {{caminho/para/ficheiro_compactado.7z}} -o{{caminho/para/diretório}}` + +- Descompacta um arquivo para a saída padrão (`stdout`): + +`7za x {{caminho/para/ficheiro_compactado.7z}} -so` + +- Compacta utilizando um tipo específico de arquivamento/compressão: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{caminho/para/ficheiro_compactado.7z}} {{caminho/para/ficheiro_ou_diretório}}` + +- Lista os conteúdos de um arquivo: + +`7za l {{caminho/para/ficheiro_compactado.7z}}` diff --git a/pages.pt_PT/common/7zr.md b/pages.pt_PT/common/7zr.md new file mode 100644 index 00000000000000..421b5f19c022aa --- /dev/null +++ b/pages.pt_PT/common/7zr.md @@ -0,0 +1,29 @@ +# 7zr + +> Compactador de arquivos com uma alta taxa de compressão. +> Semelhante ao '7z', com a diferença que suporta apenas ficheiros '.7z'. +> Mais informações: . + +- Adiciona um ficheiro ou diretório a um novo ou existente arquivo: + +`7zr a {{caminho/para/arquivo_compactado.7z}} {{caminho/para/ficheiro_ou_diretório}}` + +- Encripa um arquivo existente (incluindo filenames): + +`7zr a {{caminho/para/ficheiro_encriptado.7z}} -p{{palavra-passe}} -mhe=on {{caminho/para/arquivo_compactado.7z}}` + +- Descompacta um arquivo mantendo a estrutura de diretórios original: + +`7zr x {{caminho/para/arquivo_compactado.7z}}` + +- Descompacta um arquivo para um diretório especificado pelo utilizador: + +`7zr x {{caminho/para/arquivo_compactado.7z}} -o{{caminho/para/diretório}}` + +- Descompacta um arquivo para a saída padrão (`stdout`): + +`7zr x {{caminho/para/arquivo_compactado.7z}} -so` + +- Lista os conteúdos de um arquivo: + +`7zr l {{caminho/para/arquivo_compactado.7z}}` diff --git a/pages.pt_PT/common/aapt.md b/pages.pt_PT/common/aapt.md new file mode 100644 index 00000000000000..19274224ddf1b3 --- /dev/null +++ b/pages.pt_PT/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> Android Asset Packaging Tool. +> Compila e empacotar os recursos de uma aplicação Android. +> Mais informações: . + +- Lista os ficheiros contidos num arquivo APK: + +`aapt list {{path/to/app.apk}}` + +- Exibe os metadados da aplicação (versão, permissões, etc.): + +`aapt dump badging {{path/to/app.apk}}` + +- Cria um novo arquivo APK com os arquivos do directório especificado: + +`aapt package -F {{path/to/app.apk}} {{path/to/directory}}` diff --git a/pages.pt_PT/common/alacritty.md b/pages.pt_PT/common/alacritty.md new file mode 100644 index 00000000000000..297104ba45cbf7 --- /dev/null +++ b/pages.pt_PT/common/alacritty.md @@ -0,0 +1,24 @@ +# alacritty + +> Emulador de terminal multiplataforma acelerado por GPU. +> Mais informações: . + +- Abre Alacritty numa nova janela: + +`alacritty` + +- Executa no directório especificado: + +`alacritty --working-directory {{caminho/para/diretório}}` + +- Executa comando numa nova janela de Alacritty: + +`alacritty -e {{comando}}` + +- Define um caminho alternativo para o ficheiro de configuração (por omissão `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): + +`alacritty --config-file {{caminho/para/configuração.toml}}` + +- Executa com carregamento automático de configuração (pode ser definido por omissão em `alacritty.toml`): + +`alacritty --live-config-reload --config-file {{caminho/para/configuração.toml}}` diff --git a/pages.pt_PT/common/alias.md b/pages.pt_PT/common/alias.md index ee3cd4c22044c8..b225ebce68edbb 100644 --- a/pages.pt_PT/common/alias.md +++ b/pages.pt_PT/common/alias.md @@ -2,27 +2,28 @@ > Cria um alias -- palavras que são substituídas por um comando. > Alias expiram com a sessão da shell atual, a menos que sejam definidos no ficheiro de configuração da shell, por exemplo `~/.bashrc`. +> Mais informações: . -- Listar todos os alias: +- Lista todos os alias: `alias` -- Criar um alias genérico: +- Cria um alias genérico: `alias {{palavra}}="{{comando}}"` -- Visualizar o comando associado a um dado alias: +- Visualiza o comando associado a um dado alias: `alias {{palavra}}` -- Remover um alias de um comando: +- Remove um alias de um comando: `unalias {{palavra}}` -- Tornar `rm` num comando interativo +- Torna `rm` num comando interativo: `alias {{rm}}="{{rm -i}}"` -- Criar `la` como um atalho para `ls -a`: +- Cria `la` como um atalho para `ls -a`: `alias {{la}}="{{ls -a}}"` diff --git a/pages.pt_PT/common/batch.md b/pages.pt_PT/common/batch.md index 56a96d8ed8681d..935ec83a92126f 100644 --- a/pages.pt_PT/common/batch.md +++ b/pages.pt_PT/common/batch.md @@ -2,15 +2,16 @@ > Executar comandos num momento mais tarde quando a carga do sistema permitir. > O serviço atd (ou atrun) deve correr para atuais execuções. +> Mais informações: . -- Executar comandos da entrada padrão (premir `Ctrl + D` quando terminado): +- Executa comandos da entrada padrão (premir `` quando terminado): `batch` -- Executar um comando da entrada padrão: +- Executa um comando da entrada padrão: `echo "{{./criar_copia_bd.sh}}" | batch` -- Executar comandos de um dado ficheiro: +- Executa comandos de um dado ficheiro: `batch -f {{caminho/para/ficheiro}}` diff --git a/pages.pt_PT/common/cd.md b/pages.pt_PT/common/cd.md index 4152535cc4266e..ce241caaff089c 100644 --- a/pages.pt_PT/common/cd.md +++ b/pages.pt_PT/common/cd.md @@ -1,19 +1,20 @@ # cd > Mudar o diretório atual. +> Mais informações: . -- Ir para um dado diretório: +- Vai para um dado diretório: -`cd {{caminho/para/diretorio}}` +`cd {{caminho/para/diretório}}` -- Ir para o diretório base do utilizador atual: +- Vai para o diretório base do utilizador atual: `cd` -- Ir para o diretório pai do diretório atual: +- Vai para o diretório pai do diretório atual: `cd ..` -- Ir para o diretório anteriormente escolhido: +- Vai para o diretório anteriormente escolhido: `cd -` diff --git a/pages.pt_PT/common/chmod.md b/pages.pt_PT/common/chmod.md index 8b9ad08796ff4d..825ab44b6d8b84 100644 --- a/pages.pt_PT/common/chmod.md +++ b/pages.pt_PT/common/chmod.md @@ -1,31 +1,32 @@ # chmod > Alterar as permissões de acesso a um ficheiro ou diretório. +> Mais informações: . -- Dar a um [u]tilizador que possui um ficheiro o direito a e[x]ecutá-lo: +- Dá a um [u]tilizador que possui um ficheiro o direito a e[x]ecutá-lo: -`chmod u+x {{ficheiro}}` +`chmod u+x {{caminho/para/ficheiro}}` -- Dar a um [u]tilizador direitos para le[r] e escrever ([w]) num ficheiro/diretório: +- Dá a um [u]tilizador direitos para le[r] e escreve ([w]) num ficheiro/diretório: -`chmod u+rw {{ficheiro_ou_diretorio}}` +`chmod u+rw {{caminho/para/ficheiro_ou_diretório}}` -- Remover direitos de execução de um [g]rupo: +- Remove direitos de execução de um [g]rupo: -`chmod g-x {{ficheiro}}` +`chmod g-x {{caminho/para/ficheiro}}` -- Dar a todos ([a]) os utilizadores o direito de le[r] e e[x]ecutar: +- Dá a todos ([a]) os utilizadores o direito de le[r] e e[x]ecutar: -`chmod a+rx {{ficheiro}}` +`chmod a+rx {{caminho/para/ficheiro}}` -- Dar a [o]utros (que não estão no grupo do dono do ficheiro) os mesmos direitos do [g]rupo: +- Dá a [o]utros (que não estão no grupo do dono do ficheiro) os mesmos direitos do [g]rupo: -`chmod o=g {{ficheiro}}` +`chmod o=g {{caminho/para/ficheiro}}` -- Remover todos os direitos dos [o]utros: +- Remove todos os direitos dos [o]utros: -`chmod o= {{ficheiro}}` +`chmod o= {{caminho/para/ficheiro}}` -- Mudar as permissões, recursivamente, dando ao [g]rupo e [o]utros a possibilidade de escrever ([w]): +- Muda as permissões, recursivamente, dando ao [g]rupo e [o]utros a possibilidade de escrever ([w]): -`chmod -R g+w,o+w {{diretorio}}` +`chmod {{[-R|--recursive]}} g+w,o+w {{caminho/para/diretório}}` diff --git a/pages.pt_PT/common/clang-cpp.md b/pages.pt_PT/common/clang-cpp.md new file mode 100644 index 00000000000000..ac14603d89765a --- /dev/null +++ b/pages.pt_PT/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Este comando é um alias de `clang++`. + +- Exibe documentação do comando original: + +`tldr clang++` diff --git a/pages.pt_PT/common/clojure.md b/pages.pt_PT/common/clojure.md new file mode 100644 index 00000000000000..da286848f26e92 --- /dev/null +++ b/pages.pt_PT/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Este comando é um alias de `clj`. + +- Exibe documentação do comando original: + +`tldr clj` diff --git a/pages.pt_PT/common/cola.md b/pages.pt_PT/common/cola.md new file mode 100644 index 00000000000000..f3717e45c6b291 --- /dev/null +++ b/pages.pt_PT/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Este comando é um alias de `git-cola`. + +- Exibe documentação do comando original: + +`tldr git-cola` diff --git a/pages.pt_PT/common/fossil-ci.md b/pages.pt_PT/common/fossil-ci.md new file mode 100644 index 00000000000000..6ac6e07f048c84 --- /dev/null +++ b/pages.pt_PT/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Este comando é um alias de `fossil commit`. + +- Exibe documentação do comando original: + +`tldr fossil commit` diff --git a/pages.pt_PT/common/fossil-forget.md b/pages.pt_PT/common/fossil-forget.md new file mode 100644 index 00000000000000..bc07dcf00db4bd --- /dev/null +++ b/pages.pt_PT/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Este comando é um alias de `fossil rm`. +> Mais informações: . + +- Exibe documentação do comando original: + +`tldr fossil rm` diff --git a/pages.pt_PT/common/fossil-new.md b/pages.pt_PT/common/fossil-new.md new file mode 100644 index 00000000000000..5892cc4c4b0f03 --- /dev/null +++ b/pages.pt_PT/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Este comando é um alias de `fossil init`. + +- Exibe documentação do comando original: + +`tldr fossil init` diff --git a/pages.pt_PT/common/fossil-rm.md b/pages.pt_PT/common/fossil-rm.md new file mode 100644 index 00000000000000..0f119777b63600 --- /dev/null +++ b/pages.pt_PT/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Este comando é um alias de `fossil delete`. + +- Exibe documentação do comando original: + +`tldr fossil delete` diff --git a/pages.pt_PT/common/gh-cs.md b/pages.pt_PT/common/gh-cs.md new file mode 100644 index 00000000000000..34544bcf2b929e --- /dev/null +++ b/pages.pt_PT/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Este comando é um alias de `gh codespace`. + +- Exibe documentação do comando original: + +`tldr gh codespace` diff --git a/pages.pt_PT/common/gnmic-sub.md b/pages.pt_PT/common/gnmic-sub.md new file mode 100644 index 00000000000000..ba61277028561d --- /dev/null +++ b/pages.pt_PT/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Este comando é um alias de `gnmic subscribe`. + +- Exibe documentação do comando original: + +`tldr gnmic subscribe` diff --git a/pages.pt_PT/common/google-chrome.md b/pages.pt_PT/common/google-chrome.md new file mode 100644 index 00000000000000..cb3cee6f202e73 --- /dev/null +++ b/pages.pt_PT/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Este comando é um alias de `chromium`. +> Mais informações: . + +- Exibe documentação do comando original: + +`tldr chromium` diff --git a/pages.pt_PT/common/history.md b/pages.pt_PT/common/history.md new file mode 100644 index 00000000000000..09e4d3e852db11 --- /dev/null +++ b/pages.pt_PT/common/history.md @@ -0,0 +1,20 @@ +# history + +> Histórico da linha de comandos. +> Mais informações: . + +- Mostra o histórico da linha de comandos por ordem cronológica: + +`history` + +- Apaga o histórico da linha de comandos: + +`history -c` + +- Mostra o enésimo comando no histórico da linha de comandos: + +`history !{{n}}` + +- Mostra as entradas do histórico da linha de comandos que correspondem a uma expressão regular: + +`history | grep {{expressao_regular}}` diff --git a/pages.pt_PT/common/hx.md b/pages.pt_PT/common/hx.md new file mode 100644 index 00000000000000..ce5d6866cd9190 --- /dev/null +++ b/pages.pt_PT/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Este comando é um alias de `helix`. + +- Exibe documentação do comando original: + +`tldr helix` diff --git a/pages.pt_PT/common/kafkacat.md b/pages.pt_PT/common/kafkacat.md new file mode 100644 index 00000000000000..972e2a564e77f8 --- /dev/null +++ b/pages.pt_PT/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Este comando é um alias de `kcat`. + +- Exibe documentação do comando original: + +`tldr kcat` diff --git a/pages.pt_PT/common/llvm-ar.md b/pages.pt_PT/common/llvm-ar.md new file mode 100644 index 00000000000000..ba05b22c2dabdc --- /dev/null +++ b/pages.pt_PT/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Este comando é um alias de `ar`. + +- Exibe documentação do comando original: + +`tldr ar` diff --git a/pages.pt_PT/common/llvm-g++.md b/pages.pt_PT/common/llvm-g++.md new file mode 100644 index 00000000000000..2902f6f337dc56 --- /dev/null +++ b/pages.pt_PT/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Este comando é um alias de `clang++`. + +- Exibe documentação do comando original: + +`tldr clang++` diff --git a/pages.pt_PT/common/llvm-gcc.md b/pages.pt_PT/common/llvm-gcc.md new file mode 100644 index 00000000000000..2f8b14ccd64986 --- /dev/null +++ b/pages.pt_PT/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Este comando é um alias de `clang`. + +- Exibe documentação do comando original: + +`tldr clang` diff --git a/pages.pt_PT/common/llvm-nm.md b/pages.pt_PT/common/llvm-nm.md new file mode 100644 index 00000000000000..5e942bcd683023 --- /dev/null +++ b/pages.pt_PT/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Este comando é um alias de `nm`. + +- Exibe documentação do comando original: + +`tldr nm` diff --git a/pages.pt_PT/common/llvm-objdump.md b/pages.pt_PT/common/llvm-objdump.md new file mode 100644 index 00000000000000..959312a9176525 --- /dev/null +++ b/pages.pt_PT/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Este comando é um alias de `objdump`. + +- Exibe documentação do comando original: + +`tldr objdump` diff --git a/pages.pt_PT/common/llvm-strings.md b/pages.pt_PT/common/llvm-strings.md new file mode 100644 index 00000000000000..00d2db6322f4c7 --- /dev/null +++ b/pages.pt_PT/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Este comando é um alias de `strings`. + +- Exibe documentação do comando original: + +`tldr strings` diff --git a/pages.pt_PT/common/lzcat.md b/pages.pt_PT/common/lzcat.md new file mode 100644 index 00000000000000..3e35cc67dab822 --- /dev/null +++ b/pages.pt_PT/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Este comando é um alias de `xz`. + +- Exibe documentação do comando original: + +`tldr xz` diff --git a/pages.pt_PT/common/lzma.md b/pages.pt_PT/common/lzma.md new file mode 100644 index 00000000000000..bdd313aea080da --- /dev/null +++ b/pages.pt_PT/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Este comando é um alias de `xz`. + +- Exibe documentação do comando original: + +`tldr xz` diff --git a/pages.pt_PT/common/mscore.md b/pages.pt_PT/common/mscore.md new file mode 100644 index 00000000000000..e67355efe5ca68 --- /dev/null +++ b/pages.pt_PT/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Este comando é um alias de `musescore`. + +- Exibe documentação do comando original: + +`tldr musescore` diff --git a/pages.pt_PT/common/nm-classic.md b/pages.pt_PT/common/nm-classic.md new file mode 100644 index 00000000000000..ba2442f86934ff --- /dev/null +++ b/pages.pt_PT/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Este comando é um alias de `nm`. + +- Exibe documentação do comando original: + +`tldr nm` diff --git a/pages.pt_PT/common/ntl.md b/pages.pt_PT/common/ntl.md new file mode 100644 index 00000000000000..bd8c47032ca6dd --- /dev/null +++ b/pages.pt_PT/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Este comando é um alias de `netlify`. + +- Exibe documentação do comando original: + +`tldr netlify` diff --git a/pages.pt_PT/common/pio-init.md b/pages.pt_PT/common/pio-init.md new file mode 100644 index 00000000000000..dfb459b6613c5a --- /dev/null +++ b/pages.pt_PT/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Este comando é um alias de `pio project`. + +- Exibe documentação do comando original: + +`tldr pio project` diff --git a/pages.pt_PT/common/piodebuggdb.md b/pages.pt_PT/common/piodebuggdb.md new file mode 100644 index 00000000000000..bb9b7385b0439b --- /dev/null +++ b/pages.pt_PT/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Este comando é um alias de `pio debug`. + +- Exibe documentação do comando original: + +`tldr pio debug` diff --git a/pages.pt_PT/common/platformio.md b/pages.pt_PT/common/platformio.md new file mode 100644 index 00000000000000..0aff8f3b5f715a --- /dev/null +++ b/pages.pt_PT/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Este comando é um alias de `pio`. + +- Exibe documentação do comando original: + +`tldr pio` diff --git a/pages.pt_PT/common/ptpython3.md b/pages.pt_PT/common/ptpython3.md new file mode 100644 index 00000000000000..60949ee047760a --- /dev/null +++ b/pages.pt_PT/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Este comando é um alias de `ptpython`. + +- Exibe documentação do comando original: + +`tldr ptpython` diff --git a/pages.pt_PT/common/python3.md b/pages.pt_PT/common/python3.md new file mode 100644 index 00000000000000..6656ede0c7ad96 --- /dev/null +++ b/pages.pt_PT/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Este comando é um alias de `python`. + +- Exibe documentação do comando original: + +`tldr python` diff --git a/pages.pt_PT/common/r2.md b/pages.pt_PT/common/r2.md new file mode 100644 index 00000000000000..74e8fb0137ee0a --- /dev/null +++ b/pages.pt_PT/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Este comando é um alias de `radare2`. + +- Exibe documentação do comando original: + +`tldr radare2` diff --git a/pages.pt_PT/common/rcat.md b/pages.pt_PT/common/rcat.md new file mode 100644 index 00000000000000..197cad582ef97c --- /dev/null +++ b/pages.pt_PT/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Este comando é um alias de `rc`. + +- Exibe documentação do comando original: + +`tldr rc` diff --git a/pages.pt_PT/common/tldrl.md b/pages.pt_PT/common/tldrl.md new file mode 100644 index 00000000000000..a17451fc771d75 --- /dev/null +++ b/pages.pt_PT/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Este comando é um alias de `tldr-lint`. + +- Exibe documentação do comando original: + +`tldr tldr-lint` diff --git a/pages.pt_PT/common/tlmgr-arch.md b/pages.pt_PT/common/tlmgr-arch.md new file mode 100644 index 00000000000000..cf3a7949f30c49 --- /dev/null +++ b/pages.pt_PT/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Este comando é um alias de `tlmgr platform`. + +- Exibe documentação do comando original: + +`tldr tlmgr platform` diff --git a/pages.pt_PT/common/tmux.md b/pages.pt_PT/common/tmux.md index 9b8475847b1083..239acebb2ba272 100644 --- a/pages.pt_PT/common/tmux.md +++ b/pages.pt_PT/common/tmux.md @@ -3,34 +3,26 @@ > Multiplexador do terminal. Permite várias sessões com janelas, painéis e muito mais. > Mais informações: . -- Iniciar uma nova sessão: +- Inicia uma nova sessão: `tmux` -- Iniciar uma sessão com nome: +- Inicia uma sessão com nome: -`tmux new-session -s {{nome}}` +`tmux new -s {{nome}}` -- Listar sessões existentes: +- Lista sessões existentes: `tmux ls` -- Entrar na última sessão utilizada: +- Entra na última sessão utilizada: -`tmux attach-session` +`tmux attach` -- Entrar numa sessão com nome: +- Sai da sessão atual (com o prefixo Ctrl-B): -`tmux attach-session -t {{nome}}` +`` -- Sair da sessão atual (com o prefixo Ctrl-B): - -`Ctrl-B d` - -- Eliminar uma sessão com nome: +- Elimina uma sessão com nome: `tmux kill-session -t {{nome}}` - -- Eliminar a sessão atual (com o prefixo Ctrl-B): - -`Ctrl-B :kill-session` diff --git a/pages.pt_PT/common/touch.md b/pages.pt_PT/common/touch.md index 86b409ba350def..d8a80465ed8a3b 100644 --- a/pages.pt_PT/common/touch.md +++ b/pages.pt_PT/common/touch.md @@ -2,19 +2,12 @@ > Atualizar as timestamps de um ficheiro para a hora atual. > Se o ficheiro não existir, cria um ficheiro vazio, a menos que seja passado o parâmetro -c ou -h. +> Mais informações: . -- Criar um novo ficheiro vazio, ou atualizar as timestamps para a hora atual: +- Cria um novo ficheiro vazio, ou atualizar as timestamps para a hora atual: -`touch {{ficheiro}}` +`touch {{caminho/para/ficheiro1 caminho/para/ficheiro2 ...}}` -- Definir as timestamps de um ficheiro para a hora especificada: +- Define as timestamps de um ficheiro para a hora especificada: -`touch -t {{YYYYMMDDHHMM.SS}} {{ficheiro}}` - -- Usar as timestamps do ficheiro1 para definir as timestamps do ficheiro2: - -`touch -r {{ficheiro1}} {{ficheiro2}}` - -- Alterar as timestamps de um ficheiro. Não cria novo ficheiro se não existir: - -`touch -c {{ficheiro}}` +`touch -t {{YYYYMMDDHHMM.SS}} {{caminho/para/ficheiro1 caminho/para/ficheiro2 ...}}` diff --git a/pages.pt_PT/common/unlzma.md b/pages.pt_PT/common/unlzma.md new file mode 100644 index 00000000000000..a0f146db8ea43f --- /dev/null +++ b/pages.pt_PT/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Este comando é um alias de `xz`. + +- Exibe documentação do comando original: + +`tldr xz` diff --git a/pages.pt_PT/common/unxz.md b/pages.pt_PT/common/unxz.md new file mode 100644 index 00000000000000..51be11b8228547 --- /dev/null +++ b/pages.pt_PT/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Este comando é um alias de `xz`. + +- Exibe documentação do comando original: + +`tldr xz` diff --git a/pages.pt_PT/common/vi.md b/pages.pt_PT/common/vi.md new file mode 100644 index 00000000000000..eda730aaad870a --- /dev/null +++ b/pages.pt_PT/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Este comando é um alias de `vim`. + +- Exibe documentação do comando original: + +`tldr vim` diff --git a/pages.pt_PT/common/xkill.md b/pages.pt_PT/common/xkill.md index e68be4546e07a2..ce25046ad21f47 100644 --- a/pages.pt_PT/common/xkill.md +++ b/pages.pt_PT/common/xkill.md @@ -2,7 +2,8 @@ > Termina o cliente associado a um elemento gráfico. > Utilizado para forçar a terminação de processos que não respondem ou não apresentam botão "fechar". +> Mais informações: . -- Ativar um cursor para fechar uma janela com o clique do botão esquerdo do rato (pressionar qualquer outro botão para cancelar): +- Ativa um cursor para fechar uma janela com o clique do botão esquerdo do rato (pressione qualquer outro botão para cancelar): `xkill` diff --git a/pages.pt_PT/common/xzcat.md b/pages.pt_PT/common/xzcat.md new file mode 100644 index 00000000000000..7a3f27b768e846 --- /dev/null +++ b/pages.pt_PT/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Este comando é um alias de `xz`. + +- Exibe documentação do comando original: + +`tldr xz` diff --git a/pages.pt_PT/common/yt-dlp.md b/pages.pt_PT/common/yt-dlp.md new file mode 100644 index 00000000000000..92852773651ce0 --- /dev/null +++ b/pages.pt_PT/common/yt-dlp.md @@ -0,0 +1,33 @@ +# yt-dlp + +> Um fork do youtube-dl com funcionalidades e correções adicionais. +> Descarrega vídeos do YouTube e de outros websites. +> Mais informações: . + +- Descarrega um vídeo ou playlist (com as opções predefinidas): + +`yt-dlp "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- Descarrega um vídeo num formato específico, neste caso o melhor vídeo mp4 disponível (a predefinição é "bv\*+ba/b"): + +`yt-dlp --format "{{bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]}}" "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- Extrai áudio de vídeos (requer o `ffmpeg` ou o `ffprobe`): + +`yt-dlp --extract-audio "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- Especifica a qualidade do áudio extraído, entre 0 (melhor) e 10 (pior), sendo 5 a predefinição: + +`yt-dlp --extract-audio --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- Descarrega todas as playlists de um canal ou utilizador do YouTube, mantendo cada playlist num diretório separado: + +`yt-dlp -o "{{%(uploader)s/%(playlist)s/%(indice_playlist)s - %(titulo)s.%(ext)s}}" "{{https://www.youtube.com/user/TheLinuxFoundation/playlists}}"` + +- Descarrega um curso do Udemy, mantendo cada capítulo num diretório em separado, dentro do diretório "MyVideos" na home do utilizador: + +`yt-dlp -u {{usuario}} -p {{palavra_passe}} -P "{{~/MyVideos}}" -o "{{%(playlist)s/%(numero_capitulo)s - %(capitulo)s/%(titulo)s.%(ext)s}}" "{{https://www.udemy.com/java-tutorial}}"` + +- Descarrega temporadas completas de séries, mantendo cada série e cada temporada num diretório separado, em C:\MyVideos: + +`yt-dlp -P "{{C:/MyVideos}}" -o "{{%(serie)s/%(numero_temporada)s - %(temporada)s/%(numero_episodio)s - %(episodio)s.%(ext)s}}" "{{https://videomore.ru/kino_v_detalayah/5_sezon/367617}}"` diff --git a/pages.pt_PT/linux/a2disconf.md b/pages.pt_PT/linux/a2disconf.md new file mode 100644 index 00000000000000..18e62e3efb0bd8 --- /dev/null +++ b/pages.pt_PT/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Desactiva um ficheiro de configuração do Apache em distribuições baseadas em Debian. +> Mais informações: . + +- Desactiva um ficheiro de configuração: + +`sudo a2disconf {{ficheiro_de_configuração}}` + +- Desactiva um ficheiro de configuração, sem mostrar as mensagens informativas: + +`sudo a2disconf --quiet {{ficheiro_de_configuração}}` diff --git a/pages.pt_PT/linux/a2dismod.md b/pages.pt_PT/linux/a2dismod.md new file mode 100644 index 00000000000000..373c508983622f --- /dev/null +++ b/pages.pt_PT/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Desactiva um módulo do Apache em distribuições baseadas em Debian. +> Mais informações: . + +- Desactiva um módulo: + +`sudo a2dismod {{módulo}}` + +- Desactiva um módulo, sem mostrar as mensagens informativas: + +`sudo a2dismod --quiet {{módulo}}` diff --git a/pages.pt_PT/linux/a2dissite.md b/pages.pt_PT/linux/a2dissite.md new file mode 100644 index 00000000000000..bc58cc0628d194 --- /dev/null +++ b/pages.pt_PT/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Desactiva um host virtual do Apache em distribuições baseadas em Debian. +> Mais informações: . + +- Desactiva um host virtual: + +`sudo a2dissite {{virtual_host}}` + +- Desactiva um host virtual, sem mostrar as mensagens informativas: + +`sudo a2dissite --quiet {{virtual_host}}` diff --git a/pages.pt_PT/linux/a2enconf.md b/pages.pt_PT/linux/a2enconf.md new file mode 100644 index 00000000000000..430a5ad4f05cee --- /dev/null +++ b/pages.pt_PT/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Activa um ficheiro de configuração do Apache em distribuições baseadas em Debian. +> Mais informações: . + +- Activa um ficheiro de configuração: + +`sudo a2enconf {{ficheiro_de_configuração}}` + +- Activa um ficheiro de configuração, sem mostrar as mensagens informativas: + +`sudo a2enconf --quiet {{ficheiro_de_configuração}}` diff --git a/pages.pt_PT/linux/a2enmod.md b/pages.pt_PT/linux/a2enmod.md new file mode 100644 index 00000000000000..3021095f791e41 --- /dev/null +++ b/pages.pt_PT/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Activa um módulo do Apache em distribuições baseadas em Debian. +> Mais informações: . + +- Activa um módulo: + +`sudo a2enmod {{módulo}}` + +- Activa um módulo, sem mostrar as mensagens informativas: + +`sudo a2enmod --quiet {{módulo}}` diff --git a/pages.pt_PT/linux/a2ensite.md b/pages.pt_PT/linux/a2ensite.md new file mode 100644 index 00000000000000..deaf48a02365af --- /dev/null +++ b/pages.pt_PT/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Activa um host virtual do Apache em distribuições baseadas em Debian. +> Mais informações: . + +- Activa um host virtual: + +`sudo a2ensite {{virtual_host}}` + +- Activa um host virtual, sem mostrar as mensagens informativas: + +`sudo a2ensite --quiet {{virtual_host}}` diff --git a/pages.pt_PT/linux/a2query.md b/pages.pt_PT/linux/a2query.md new file mode 100644 index 00000000000000..39e19ae607b806 --- /dev/null +++ b/pages.pt_PT/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Mostra configurações runtime do Apache em distribuições baseadas em Debian. +> Mais informações: . + +- Lista módulos Apache activados: + +`sudo a2query -m` + +- Verifica de um módulo específico está instalado: + +`sudo a2query -m {{module_name}}` + +- Lista os hosts virtuais activados: + +`sudo a2query -s` + +- Mostra o módulo de multi processamento actualmente activado: + +`sudo a2query -M` + +- Mostra a versão do Apache: + +`sudo a2query -v` diff --git a/pages.pt_PT/linux/alternatives.md b/pages.pt_PT/linux/alternatives.md new file mode 100644 index 00000000000000..bc5dfabd45da35 --- /dev/null +++ b/pages.pt_PT/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Este comando é um alias de `update-alternatives`. + +- Exibe documentação do comando original: + +`tldr update-alternatives` diff --git a/pages.pt_PT/linux/apt.md b/pages.pt_PT/linux/apt.md new file mode 100644 index 00000000000000..084d9955ebd651 --- /dev/null +++ b/pages.pt_PT/linux/apt.md @@ -0,0 +1,28 @@ +# apt + +> Gestor de pacotes das distribuições baseadas em Debian. +> Mais informações: . + +- Actualiza a lista de pacotes disponíveis (recomenda-se executá-lo antes de outros comandos `apt`): + +`sudo apt update` + +- Pesquisa pacotes correspondentes ao critério de pesquisa: + +`apt search {{criterio_de_pesquisa}}` + +- Exibe as informações de um pacote: + +`apt show {{nome_do_pacote}}` + +- Instala um pacote ou actualiza-o para a versão mais recente: + +`sudo apt install {{nome_do_pacote}}` + +- Remove um pacote (Para remover os ficheiros de configuração deve-se usar a opção `purge` em vez de `remove`): + +`sudo apt remove {{nome_do_pacote}}` + +- Actualiza os pacotes instalados para as versões mais recentes: + +`sudo apt upgrade` diff --git a/pages.pt_PT/linux/archinstall.md b/pages.pt_PT/linux/archinstall.md new file mode 100644 index 00000000000000..545229460a2859 --- /dev/null +++ b/pages.pt_PT/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> Instalador com instruções para Arch Linux. +> Mais informações: . + +- Inicia o instalador guiado: + +`archinstall` + +- Inicia um instalador predefenido: + +`archinstall {{minimal|unattended}}` diff --git a/pages.pt_PT/linux/batcat.md b/pages.pt_PT/linux/batcat.md new file mode 100644 index 00000000000000..3df17d0ba7568b --- /dev/null +++ b/pages.pt_PT/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Este comando é um alias de `bat`. + +- Exibe documentação do comando original: + +`tldr bat` diff --git a/pages.pt_PT/linux/cc.md b/pages.pt_PT/linux/cc.md new file mode 100644 index 00000000000000..33b1a3907e6c0a --- /dev/null +++ b/pages.pt_PT/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Este comando é um alias de `gcc`. + +- Exibe documentação do comando original: + +`tldr gcc` diff --git a/pages.pt_PT/linux/gedit.md b/pages.pt_PT/linux/gedit.md index ed4c246b27a94b..e55f69525febc5 100644 --- a/pages.pt_PT/linux/gedit.md +++ b/pages.pt_PT/linux/gedit.md @@ -1,19 +1,20 @@ # gedit > Editor de texto para Desktop do GNOME. +> Mais informações: . -- Abrir ficheiro de texto: +- Abre um ficheiro de texto: -`gedit {{ficheiro}}` +`gedit {{caminho/para/ficheiro}}` -- Abrir múltiplos ficheiros de texto: +- Abre múltiplos ficheiros de texto: -`gedit {{ficheiro1 ficheiro2}}` +`gedit {{caminho/para/ficheiro1 caminho/para/ficheiro2 ...}}` -- Mostrar a lista de formatações de texto disponíveis: +- Abre um ficheiro de texto com uma formatação específica: -`gedit --list-encodings` +`gedit --encoding {{UTF-8}} {{caminho/para/ficheiro}}` -- Abrir um ficheiro de texto com uma formatação específica: +- Mostra a lista de formatações de texto disponíveis: -`gedit --encoding={{encoding}} {{ficheiro}}` +`gedit --list-encodings` diff --git a/pages.pt_PT/linux/history.md b/pages.pt_PT/linux/history.md deleted file mode 100644 index 8afe731f6ffce1..00000000000000 --- a/pages.pt_PT/linux/history.md +++ /dev/null @@ -1,19 +0,0 @@ -# history - -> Histórico da linha de comandos. - -- Mostrar o histórico da linha de comandos por ordem cronológica: - -`history` - -- Apagar o histórico da linha de comandos: - -`history -c` - -- Mostrar o enésimo comando no histórico da linha de comandos: - -`history !{{n}}` - -- Mostrar as entradas do histórico da linha de comandos que correspondem a uma expressão regular: - -`history | grep {{regex}}` diff --git a/pages.pt_PT/linux/ip-route-list.md b/pages.pt_PT/linux/ip-route-list.md new file mode 100644 index 00000000000000..981a3653a271ce --- /dev/null +++ b/pages.pt_PT/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Este comando é um alias de `ip route show`. + +- Exibe documentação do comando original: + +`tldr ip route show` diff --git a/pages.pt_PT/linux/megadl.md b/pages.pt_PT/linux/megadl.md new file mode 100644 index 00000000000000..d6af772cb9eaad --- /dev/null +++ b/pages.pt_PT/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Este comando é um alias de `megatools-dl`. + +- Exibe documentação do comando original: + +`tldr megatools-dl` diff --git a/pages.pt_PT/linux/ncal.md b/pages.pt_PT/linux/ncal.md new file mode 100644 index 00000000000000..e0d715ac4c1882 --- /dev/null +++ b/pages.pt_PT/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Este comando é um alias de `cal`. + +- Exibe documentação do comando original: + +`tldr cal` diff --git a/pages.pt_PT/linux/pacman.md b/pages.pt_PT/linux/pacman.md new file mode 100644 index 00000000000000..60f750861eeed4 --- /dev/null +++ b/pages.pt_PT/linux/pacman.md @@ -0,0 +1,33 @@ +# pacman + +> Utilitário para gerir pacotes Arch Linux. +> Veja também: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Mais informações: . + +- Sincroniza e actualiza todos os pacotes: + +`sudo pacman -Syu` + +- Instala um novo pacote: + +`sudo pacman -S {{package_name}}` + +- Remove um pacote e todas as dependencias: + +`sudo pacman -Rs {{nome_do_pacote}}` + +- Lista versão dos pactotes instalados: + +`pacman -Q` + +- Lista versão dos pactotes instalados explicitamente: + +`pacman -Qe` + +- Lista pacotes órfãos (instalados como dependencia mas não exigidos por nenhum pacote): + +`pacman -Qtdq` + +- Remove memória armazenada (cache) do `pacman`: + +`sudo pacman -Scc` diff --git a/pages.pt_PT/linux/ubuntu-bug.md b/pages.pt_PT/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..927961bff78b2c --- /dev/null +++ b/pages.pt_PT/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Este comando é um alias de `apport-bug`. + +- Exibe documentação do comando original: + +`tldr apport-bug` diff --git a/pages.pt_PT/linux/xrdb.md b/pages.pt_PT/linux/xrdb.md new file mode 100644 index 00000000000000..fdbe4228e76dbf --- /dev/null +++ b/pages.pt_PT/linux/xrdb.md @@ -0,0 +1,16 @@ +# xrdb + +> Utilitário de base de dados de recursos para servidor X window em sistemas tipo Unix. +> Mais informações: . + +- Inicia `xrdb` em modo interactivo: + +`xrdb` + +- Carrega valores (p. ex. regras de estilo) de um ficheiro de recursos: + +`xrdb -load {{~/.Xresources}}` + +- Consulta base de dados de recursos e mostra estado actual dos recursos: + +`xrdb -query` diff --git a/pages.pt_PT/osx/aa.md b/pages.pt_PT/osx/aa.md new file mode 100644 index 00000000000000..e8eb92f383e452 --- /dev/null +++ b/pages.pt_PT/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Este comando é um alias de `yaa`. + +- Exibe documentação do comando original: + +`tldr yaa` diff --git a/pages.pt_PT/osx/arch.md b/pages.pt_PT/osx/arch.md new file mode 100644 index 00000000000000..6b5846e6e6a2a9 --- /dev/null +++ b/pages.pt_PT/osx/arch.md @@ -0,0 +1,13 @@ +# arch + +> Mostra o nome da arquitetura do sistema, ou executa um comando utilizando uma arquitetura escolhida. +> Ver também: `uname`. +> Mais informações: . + +- Mostra o nome da arquitetura do sistema: + +`arch` + +- Executa um comando utilizando a arquitetura x86_64: + +`arch -x86_64 {{comando}}` diff --git a/pages.pt_PT/osx/g[.md b/pages.pt_PT/osx/g[.md new file mode 100644 index 00000000000000..11fa974b2442aa --- /dev/null +++ b/pages.pt_PT/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Este comando é um alias de `[`. + +- Ver documentação do comando original: + +`tldr [` diff --git a/pages.pt_PT/osx/gb2sum.md b/pages.pt_PT/osx/gb2sum.md new file mode 100644 index 00000000000000..9d2f4cf5b3add6 --- /dev/null +++ b/pages.pt_PT/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Este comando é um alias de `b2sum`. + +- Ver documentação do comando original: + +`tldr b2sum` diff --git a/pages.pt_PT/osx/gbase32.md b/pages.pt_PT/osx/gbase32.md new file mode 100644 index 00000000000000..89ab1386ad9cb3 --- /dev/null +++ b/pages.pt_PT/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Este comando é um alias de `base32`. + +- Ver documentação do comando original: + +`tldr base32` diff --git a/pages.pt_PT/osx/gbase64.md b/pages.pt_PT/osx/gbase64.md new file mode 100644 index 00000000000000..7f6bfc1b2dcfdb --- /dev/null +++ b/pages.pt_PT/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Este comando é um alias de `base64`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.pt_PT/osx/gbasename.md b/pages.pt_PT/osx/gbasename.md new file mode 100644 index 00000000000000..b81cc96e3a6c07 --- /dev/null +++ b/pages.pt_PT/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Este comando é um alias de `basename`. + +- Ver documentação do comando original: + +`tldr basename` diff --git a/pages.pt_PT/osx/gbasenc.md b/pages.pt_PT/osx/gbasenc.md new file mode 100644 index 00000000000000..6b0709a4743983 --- /dev/null +++ b/pages.pt_PT/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Este comando é um alias de `basenc`. + +- Ver documentação do comando original: + +`tldr basenc` diff --git a/pages.pt_PT/osx/gcat.md b/pages.pt_PT/osx/gcat.md new file mode 100644 index 00000000000000..7a4c46e5ca612f --- /dev/null +++ b/pages.pt_PT/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Este comando é um alias de `-p linux cat`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.pt_PT/osx/gchcon.md b/pages.pt_PT/osx/gchcon.md new file mode 100644 index 00000000000000..ccb145238b2bd3 --- /dev/null +++ b/pages.pt_PT/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Este comando é um alias de `-p linux chcon`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.pt_PT/osx/gchgrp.md b/pages.pt_PT/osx/gchgrp.md new file mode 100644 index 00000000000000..bad22dd63767b6 --- /dev/null +++ b/pages.pt_PT/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Este comando é um alias de `chgrp`. + +- Ver documentação do comando original: + +`tldr chgrp` diff --git a/pages.pt_PT/osx/gchmod.md b/pages.pt_PT/osx/gchmod.md new file mode 100644 index 00000000000000..5d35c5e972dd3f --- /dev/null +++ b/pages.pt_PT/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Este comando é um alias de `chmod`. + +- Ver documentação do comando original: + +`tldr chmod` diff --git a/pages.pt_PT/osx/gchown.md b/pages.pt_PT/osx/gchown.md new file mode 100644 index 00000000000000..3eebd1f3981c4c --- /dev/null +++ b/pages.pt_PT/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Este comando é um alias de `chown`. + +- Ver documentação do comando original: + +`tldr chown` diff --git a/pages.pt_PT/osx/gchroot.md b/pages.pt_PT/osx/gchroot.md new file mode 100644 index 00000000000000..dc2551a651e43f --- /dev/null +++ b/pages.pt_PT/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Este comando é um alias de `chroot`. + +- Ver documentação do comando original: + +`tldr chroot` diff --git a/pages.pt_PT/osx/gcksum.md b/pages.pt_PT/osx/gcksum.md new file mode 100644 index 00000000000000..773eddb0e81388 --- /dev/null +++ b/pages.pt_PT/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Este comando é um alias de `cksum`. + +- Ver documentação do comando original: + +`tldr cksum` diff --git a/pages.pt_PT/osx/gcomm.md b/pages.pt_PT/osx/gcomm.md new file mode 100644 index 00000000000000..aaad2e7b773d08 --- /dev/null +++ b/pages.pt_PT/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Este comando é um alias de `comm`. + +- Ver documentação do comando original: + +`tldr comm` diff --git a/pages.pt_PT/osx/gcp.md b/pages.pt_PT/osx/gcp.md new file mode 100644 index 00000000000000..a064a617930be8 --- /dev/null +++ b/pages.pt_PT/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Este comando é um alias de `cp`. + +- Ver documentação do comando original: + +`tldr cp` diff --git a/pages.pt_PT/osx/gcsplit.md b/pages.pt_PT/osx/gcsplit.md new file mode 100644 index 00000000000000..ec22746bb9e331 --- /dev/null +++ b/pages.pt_PT/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Este comando é um alias de `-p linux csplit`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.pt_PT/osx/gcut.md b/pages.pt_PT/osx/gcut.md new file mode 100644 index 00000000000000..988526e24262d3 --- /dev/null +++ b/pages.pt_PT/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Este comando é um alias de `cut`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.pt_PT/osx/gdate.md b/pages.pt_PT/osx/gdate.md new file mode 100644 index 00000000000000..b01f518810ebd0 --- /dev/null +++ b/pages.pt_PT/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Este comando é um alias de `date`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.pt_PT/osx/gdd.md b/pages.pt_PT/osx/gdd.md new file mode 100644 index 00000000000000..294d0c359ab9ff --- /dev/null +++ b/pages.pt_PT/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Este comando é um alias de `-p linux dd`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.pt_PT/osx/gdf.md b/pages.pt_PT/osx/gdf.md new file mode 100644 index 00000000000000..4c13eee5ff0e5f --- /dev/null +++ b/pages.pt_PT/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Este comando é um alias de `-p linux df`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.pt_PT/osx/gdir.md b/pages.pt_PT/osx/gdir.md new file mode 100644 index 00000000000000..99761364d5f737 --- /dev/null +++ b/pages.pt_PT/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Este comando é um alias de `-p linux dir`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.pt_PT/osx/gdircolors.md b/pages.pt_PT/osx/gdircolors.md new file mode 100644 index 00000000000000..e663a751b75e29 --- /dev/null +++ b/pages.pt_PT/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Este comando é um alias de `dircolors`. + +- Ver documentação do comando original: + +`tldr dircolors` diff --git a/pages.pt_PT/osx/gdirname.md b/pages.pt_PT/osx/gdirname.md new file mode 100644 index 00000000000000..e7c08f06b266e2 --- /dev/null +++ b/pages.pt_PT/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Este comando é um alias de `dirname`. + +- Ver documentação do comando original: + +`tldr dirname` diff --git a/pages.pt_PT/osx/gdnsdomainname.md b/pages.pt_PT/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..6e3f1df6ca9eb0 --- /dev/null +++ b/pages.pt_PT/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Este comando é um alias de `-p linux dnsdomainname`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.pt_PT/osx/gecho.md b/pages.pt_PT/osx/gecho.md new file mode 100644 index 00000000000000..b0bfd7f822ce89 --- /dev/null +++ b/pages.pt_PT/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Este comando é um alias de `echo`. + +- Ver documentação do comando original: + +`tldr echo` diff --git a/pages.pt_PT/osx/ged.md b/pages.pt_PT/osx/ged.md new file mode 100644 index 00000000000000..e8c4cbd212c401 --- /dev/null +++ b/pages.pt_PT/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Este comando é um alias de `ed`. + +- Ver documentação do comando original: + +`tldr ed` diff --git a/pages.pt_PT/osx/gegrep.md b/pages.pt_PT/osx/gegrep.md new file mode 100644 index 00000000000000..a83d81db025ae6 --- /dev/null +++ b/pages.pt_PT/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Este comando é um alias de `egrep`. + +- Ver documentação do comando original: + +`tldr egrep` diff --git a/pages.pt_PT/osx/genv.md b/pages.pt_PT/osx/genv.md new file mode 100644 index 00000000000000..f7406dd3139952 --- /dev/null +++ b/pages.pt_PT/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Este comando é um alias de `env`. + +- Ver documentação do comando original: + +`tldr env` diff --git a/pages.pt_PT/osx/gexpand.md b/pages.pt_PT/osx/gexpand.md new file mode 100644 index 00000000000000..3d707ff2350662 --- /dev/null +++ b/pages.pt_PT/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Este comando é um alias de `expand`. + +- Ver documentação do comando original: + +`tldr expand` diff --git a/pages.pt_PT/osx/gexpr.md b/pages.pt_PT/osx/gexpr.md new file mode 100644 index 00000000000000..35a13a802758f0 --- /dev/null +++ b/pages.pt_PT/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Este comando é um alias de `expr`. + +- Ver documentação do comando original: + +`tldr expr` diff --git a/pages.pt_PT/osx/gfactor.md b/pages.pt_PT/osx/gfactor.md new file mode 100644 index 00000000000000..c346eb6893e879 --- /dev/null +++ b/pages.pt_PT/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Este comando é um alias de `factor`. + +- Ver documentação do comando original: + +`tldr factor` diff --git a/pages.pt_PT/osx/gfalse.md b/pages.pt_PT/osx/gfalse.md new file mode 100644 index 00000000000000..600be00f0072a1 --- /dev/null +++ b/pages.pt_PT/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Este comando é um alias de `false`. + +- Ver documentação do comando original: + +`tldr false` diff --git a/pages.pt_PT/osx/gfgrep.md b/pages.pt_PT/osx/gfgrep.md new file mode 100644 index 00000000000000..2244e93efbe3a2 --- /dev/null +++ b/pages.pt_PT/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Este comando é um alias de `fgrep`. + +- Ver documentação do comando original: + +`tldr fgrep` diff --git a/pages.pt_PT/osx/gfind.md b/pages.pt_PT/osx/gfind.md new file mode 100644 index 00000000000000..fe636e734d5b62 --- /dev/null +++ b/pages.pt_PT/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Este comando é um alias de `find`. + +- Ver documentação do comando original: + +`tldr find` diff --git a/pages.pt_PT/osx/gfmt.md b/pages.pt_PT/osx/gfmt.md new file mode 100644 index 00000000000000..344c849dc71170 --- /dev/null +++ b/pages.pt_PT/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Este comando é um alias de `fmt`. + +- Ver documentação do comando original: + +`tldr fmt` diff --git a/pages.pt_PT/osx/gfold.md b/pages.pt_PT/osx/gfold.md new file mode 100644 index 00000000000000..30e0b1ddcdd467 --- /dev/null +++ b/pages.pt_PT/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Este comando é um alias de `-p linux fold`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.pt_PT/osx/gftp.md b/pages.pt_PT/osx/gftp.md new file mode 100644 index 00000000000000..20ed810d671dda --- /dev/null +++ b/pages.pt_PT/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Este comando é um alias de `ftp`. + +- Ver documentação do comando original: + +`tldr ftp` diff --git a/pages.pt_PT/osx/ggrep.md b/pages.pt_PT/osx/ggrep.md new file mode 100644 index 00000000000000..8a7fcde54cdded --- /dev/null +++ b/pages.pt_PT/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Este comando é um alias de `grep`. + +- Ver documentação do comando original: + +`tldr grep` diff --git a/pages.pt_PT/osx/ggroups.md b/pages.pt_PT/osx/ggroups.md new file mode 100644 index 00000000000000..3f21359bda035a --- /dev/null +++ b/pages.pt_PT/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Este comando é um alias de `groups`. + +- Ver documentação do comando original: + +`tldr groups` diff --git a/pages.pt_PT/osx/ghead.md b/pages.pt_PT/osx/ghead.md new file mode 100644 index 00000000000000..d14f9ad3a99e48 --- /dev/null +++ b/pages.pt_PT/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Este comando é um alias de `-p linux head`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.pt_PT/osx/ghostid.md b/pages.pt_PT/osx/ghostid.md new file mode 100644 index 00000000000000..e3507907e3f6a9 --- /dev/null +++ b/pages.pt_PT/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Este comando é um alias de `hostid`. + +- Ver documentação do comando original: + +`tldr hostid` diff --git a/pages.pt_PT/osx/ghostname.md b/pages.pt_PT/osx/ghostname.md new file mode 100644 index 00000000000000..295451854257d8 --- /dev/null +++ b/pages.pt_PT/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Este comando é um alias de `hostname`. + +- Ver documentação do comando original: + +`tldr hostname` diff --git a/pages.pt_PT/osx/gid.md b/pages.pt_PT/osx/gid.md new file mode 100644 index 00000000000000..27b256123a198f --- /dev/null +++ b/pages.pt_PT/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Este comando é um alias de `id`. + +- Ver documentação do comando original: + +`tldr id` diff --git a/pages.pt_PT/osx/gifconfig.md b/pages.pt_PT/osx/gifconfig.md new file mode 100644 index 00000000000000..b6a133e1e33c69 --- /dev/null +++ b/pages.pt_PT/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Este comando é um alias de `ifconfig`. + +- Ver documentação do comando original: + +`tldr ifconfig` diff --git a/pages.pt_PT/osx/gindent.md b/pages.pt_PT/osx/gindent.md new file mode 100644 index 00000000000000..c2faebf70b2e59 --- /dev/null +++ b/pages.pt_PT/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Este comando é um alias de `indent`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.pt_PT/osx/ginstall.md b/pages.pt_PT/osx/ginstall.md new file mode 100644 index 00000000000000..be0341cf7c030d --- /dev/null +++ b/pages.pt_PT/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Este comando é um alias de `install`. + +- Ver documentação do comando original: + +`tldr install` diff --git a/pages.pt_PT/osx/gjoin.md b/pages.pt_PT/osx/gjoin.md new file mode 100644 index 00000000000000..113fadc64ee288 --- /dev/null +++ b/pages.pt_PT/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Este comando é um alias de `join`. + +- Ver documentação do comando original: + +`tldr join` diff --git a/pages.pt_PT/osx/gkill.md b/pages.pt_PT/osx/gkill.md new file mode 100644 index 00000000000000..bc58e5e56ffc69 --- /dev/null +++ b/pages.pt_PT/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Este comando é um alias de `-p linux kill`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.pt_PT/osx/glibtool.md b/pages.pt_PT/osx/glibtool.md new file mode 100644 index 00000000000000..0ebe6672f4a85b --- /dev/null +++ b/pages.pt_PT/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Este comando é um alias de `-p linux libtool`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.pt_PT/osx/glibtoolize.md b/pages.pt_PT/osx/glibtoolize.md new file mode 100644 index 00000000000000..e416ec412a0beb --- /dev/null +++ b/pages.pt_PT/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Este comando é um alias de `-p linux libtoolize`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.pt_PT/osx/glink.md b/pages.pt_PT/osx/glink.md new file mode 100644 index 00000000000000..9b3569463ac1e3 --- /dev/null +++ b/pages.pt_PT/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Este comando é um alias de `link`. + +- Ver documentação do comando original: + +`tldr link` diff --git a/pages.pt_PT/osx/gln.md b/pages.pt_PT/osx/gln.md new file mode 100644 index 00000000000000..9220a901a31d82 --- /dev/null +++ b/pages.pt_PT/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Este comando é um alias de `ln`. + +- Ver documentação do comando original: + +`tldr ln` diff --git a/pages.pt_PT/osx/glocate.md b/pages.pt_PT/osx/glocate.md new file mode 100644 index 00000000000000..b77507af28d818 --- /dev/null +++ b/pages.pt_PT/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Este comando é um alias de `-p linux locate`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.pt_PT/osx/glogger.md b/pages.pt_PT/osx/glogger.md new file mode 100644 index 00000000000000..3a9e47df39d914 --- /dev/null +++ b/pages.pt_PT/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Este comando é um alias de `-p linux logger`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.pt_PT/osx/glogname.md b/pages.pt_PT/osx/glogname.md new file mode 100644 index 00000000000000..6f4da1da9797ff --- /dev/null +++ b/pages.pt_PT/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Este comando é um alias de `logname`. + +- Ver documentação do comando original: + +`tldr logname` diff --git a/pages.pt_PT/osx/gls.md b/pages.pt_PT/osx/gls.md new file mode 100644 index 00000000000000..6c02abbec670c4 --- /dev/null +++ b/pages.pt_PT/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Este comando é um alias de `ls`. + +- Ver documentação do comando original: + +`tldr ls` diff --git a/pages.pt_PT/osx/gmake.md b/pages.pt_PT/osx/gmake.md new file mode 100644 index 00000000000000..c87d0104975c90 --- /dev/null +++ b/pages.pt_PT/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Este comando é um alias de `make`. + +- Ver documentação do comando original: + +`tldr make` diff --git a/pages.pt_PT/osx/gmd5sum.md b/pages.pt_PT/osx/gmd5sum.md new file mode 100644 index 00000000000000..de6946f2d7d3cf --- /dev/null +++ b/pages.pt_PT/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Este comando é um alias de `md5sum`. + +- Ver documentação do comando original: + +`tldr md5sum` diff --git a/pages.pt_PT/osx/gmkdir.md b/pages.pt_PT/osx/gmkdir.md new file mode 100644 index 00000000000000..867b51552c50de --- /dev/null +++ b/pages.pt_PT/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Este comando é um alias de `mkdir`. + +- Ver documentação do comando original: + +`tldr mkdir` diff --git a/pages.pt_PT/osx/gmkfifo.md b/pages.pt_PT/osx/gmkfifo.md new file mode 100644 index 00000000000000..d507081c6044d5 --- /dev/null +++ b/pages.pt_PT/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Este comando é um alias de `mkfifo`. + +- Ver documentação do comando original: + +`tldr mkfifo` diff --git a/pages.pt_PT/osx/gmknod.md b/pages.pt_PT/osx/gmknod.md new file mode 100644 index 00000000000000..51a74a6f419ab3 --- /dev/null +++ b/pages.pt_PT/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Este comando é um alias de `-p linux mknod`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.pt_PT/osx/gmktemp.md b/pages.pt_PT/osx/gmktemp.md new file mode 100644 index 00000000000000..be094a70466b62 --- /dev/null +++ b/pages.pt_PT/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Este comando é um alias de `-p linux mktemp`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.pt_PT/osx/gmv.md b/pages.pt_PT/osx/gmv.md new file mode 100644 index 00000000000000..20ea19f337955c --- /dev/null +++ b/pages.pt_PT/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Este comando é um alias de `mv`. + +- Ver documentação do comando original: + +`tldr mv` diff --git a/pages.pt_PT/osx/gnice.md b/pages.pt_PT/osx/gnice.md new file mode 100644 index 00000000000000..744acaf024a23a --- /dev/null +++ b/pages.pt_PT/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Este comando é um alias de `nice`. + +- Ver documentação do comando original: + +`tldr nice` diff --git a/pages.pt_PT/osx/gnl.md b/pages.pt_PT/osx/gnl.md new file mode 100644 index 00000000000000..0b1384e13a56d6 --- /dev/null +++ b/pages.pt_PT/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Este comando é um alias de `-p linux nl`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.pt_PT/osx/gnohup.md b/pages.pt_PT/osx/gnohup.md new file mode 100644 index 00000000000000..7a0698ed47fd5d --- /dev/null +++ b/pages.pt_PT/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Este comando é um alias de `nohup`. + +- Ver documentação do comando original: + +`tldr nohup` diff --git a/pages.pt_PT/osx/gnproc.md b/pages.pt_PT/osx/gnproc.md new file mode 100644 index 00000000000000..2f3a64860679d6 --- /dev/null +++ b/pages.pt_PT/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Este comando é um alias de `nproc`. + +- Ver documentação do comando original: + +`tldr nproc` diff --git a/pages.pt_PT/osx/gnumfmt.md b/pages.pt_PT/osx/gnumfmt.md new file mode 100644 index 00000000000000..0480a083274b8a --- /dev/null +++ b/pages.pt_PT/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Este comando é um alias de `numfmt`. + +- Ver documentação do comando original: + +`tldr numfmt` diff --git a/pages.pt_PT/osx/god.md b/pages.pt_PT/osx/god.md new file mode 100644 index 00000000000000..9a022a11ab7c88 --- /dev/null +++ b/pages.pt_PT/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Este comando é um alias de `od`. + +- Ver documentação do comando original: + +`tldr od` diff --git a/pages.pt_PT/osx/gpaste.md b/pages.pt_PT/osx/gpaste.md new file mode 100644 index 00000000000000..51a6d2bc462ae1 --- /dev/null +++ b/pages.pt_PT/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Este comando é um alias de `paste`. + +- Ver documentação do comando original: + +`tldr paste` diff --git a/pages.pt_PT/osx/gpathchk.md b/pages.pt_PT/osx/gpathchk.md new file mode 100644 index 00000000000000..77f374273d1f5d --- /dev/null +++ b/pages.pt_PT/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Este comando é um alias de `pathchk`. + +- Ver documentação do comando original: + +`tldr pathchk` diff --git a/pages.pt_PT/osx/gping.md b/pages.pt_PT/osx/gping.md new file mode 100644 index 00000000000000..c94ab3739ebd6a --- /dev/null +++ b/pages.pt_PT/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Este comando é um alias de `ping`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.pt_PT/osx/gping6.md b/pages.pt_PT/osx/gping6.md new file mode 100644 index 00000000000000..b905757440b43c --- /dev/null +++ b/pages.pt_PT/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Este comando é um alias de `ping6`. + +- Ver documentação do comando original: + +`tldr ping6` diff --git a/pages.pt_PT/osx/gpinky.md b/pages.pt_PT/osx/gpinky.md new file mode 100644 index 00000000000000..3698324185fb80 --- /dev/null +++ b/pages.pt_PT/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Este comando é um alias de `pinky`. + +- Ver documentação do comando original: + +`tldr pinky` diff --git a/pages.pt_PT/osx/gpr.md b/pages.pt_PT/osx/gpr.md new file mode 100644 index 00000000000000..075e383efede53 --- /dev/null +++ b/pages.pt_PT/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Este comando é um alias de `pr`. + +- Ver documentação do comando original: + +`tldr pr` diff --git a/pages.pt_PT/osx/gprintenv.md b/pages.pt_PT/osx/gprintenv.md new file mode 100644 index 00000000000000..8747903cc3cf34 --- /dev/null +++ b/pages.pt_PT/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Este comando é um alias de `printenv`. + +- Ver documentação do comando original: + +`tldr printenv` diff --git a/pages.pt_PT/osx/gprintf.md b/pages.pt_PT/osx/gprintf.md new file mode 100644 index 00000000000000..436a2aaeb9f4f7 --- /dev/null +++ b/pages.pt_PT/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Este comando é um alias de `printf`. + +- Ver documentação do comando original: + +`tldr printf` diff --git a/pages.pt_PT/osx/gptx.md b/pages.pt_PT/osx/gptx.md new file mode 100644 index 00000000000000..9b55e92a8c8c50 --- /dev/null +++ b/pages.pt_PT/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Este comando é um alias de `-p linux ptx`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.pt_PT/osx/gpwd.md b/pages.pt_PT/osx/gpwd.md new file mode 100644 index 00000000000000..712fd9dc94802d --- /dev/null +++ b/pages.pt_PT/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Este comando é um alias de `pwd`. + +- Ver documentação do comando original: + +`tldr pwd` diff --git a/pages.pt_PT/osx/grcp.md b/pages.pt_PT/osx/grcp.md new file mode 100644 index 00000000000000..6429e961f59347 --- /dev/null +++ b/pages.pt_PT/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Este comando é um alias de `-p linux rcp`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.pt_PT/osx/greadlink.md b/pages.pt_PT/osx/greadlink.md new file mode 100644 index 00000000000000..3612bcfb17a9d7 --- /dev/null +++ b/pages.pt_PT/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Este comando é um alias de `readlink`. + +- Ver documentação do comando original: + +`tldr readlink` diff --git a/pages.pt_PT/osx/grealpath.md b/pages.pt_PT/osx/grealpath.md new file mode 100644 index 00000000000000..200d78c0dfbe12 --- /dev/null +++ b/pages.pt_PT/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Este comando é um alias de `realpath`. + +- Ver documentação do comando original: + +`tldr realpath` diff --git a/pages.pt_PT/osx/grexec.md b/pages.pt_PT/osx/grexec.md new file mode 100644 index 00000000000000..94fd1f6f93d3e7 --- /dev/null +++ b/pages.pt_PT/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Este comando é um alias de `-p linux rexec`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.pt_PT/osx/grlogin.md b/pages.pt_PT/osx/grlogin.md new file mode 100644 index 00000000000000..16e5ba4f56da1d --- /dev/null +++ b/pages.pt_PT/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Este comando é um alias de `-p linux rlogin`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.pt_PT/osx/grm.md b/pages.pt_PT/osx/grm.md new file mode 100644 index 00000000000000..a6e65d546716e6 --- /dev/null +++ b/pages.pt_PT/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Este comando é um alias de `rm`. + +- Ver documentação do comando original: + +`tldr rm` diff --git a/pages.pt_PT/osx/grmdir.md b/pages.pt_PT/osx/grmdir.md new file mode 100644 index 00000000000000..5dc9544156da54 --- /dev/null +++ b/pages.pt_PT/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Este comando é um alias de `rmdir`. + +- Ver documentação do comando original: + +`tldr rmdir` diff --git a/pages.pt_PT/osx/grsh.md b/pages.pt_PT/osx/grsh.md new file mode 100644 index 00000000000000..b46560a1a41775 --- /dev/null +++ b/pages.pt_PT/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Este comando é um alias de `-p linux rsh`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.pt_PT/osx/gruncon.md b/pages.pt_PT/osx/gruncon.md new file mode 100644 index 00000000000000..de92d5950099ac --- /dev/null +++ b/pages.pt_PT/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Este comando é um alias de `-p linux runcon`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.pt_PT/osx/gsed.md b/pages.pt_PT/osx/gsed.md new file mode 100644 index 00000000000000..734ff1025707ce --- /dev/null +++ b/pages.pt_PT/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Este comando é um alias de `-p linux sed`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.pt_PT/osx/gseq.md b/pages.pt_PT/osx/gseq.md new file mode 100644 index 00000000000000..4293aab155c199 --- /dev/null +++ b/pages.pt_PT/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Este comando é um alias de `seq`. + +- Ver documentação do comando original: + +`tldr seq` diff --git a/pages.pt_PT/osx/gsha1sum.md b/pages.pt_PT/osx/gsha1sum.md new file mode 100644 index 00000000000000..721221dc3fa251 --- /dev/null +++ b/pages.pt_PT/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Este comando é um alias de `sha1sum`. + +- Ver documentação do comando original: + +`tldr sha1sum` diff --git a/pages.pt_PT/osx/gsha224sum.md b/pages.pt_PT/osx/gsha224sum.md new file mode 100644 index 00000000000000..cf52c6db45f80f --- /dev/null +++ b/pages.pt_PT/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Este comando é um alias de `sha224sum`. + +- Ver documentação do comando original: + +`tldr sha224sum` diff --git a/pages.pt_PT/osx/gsha256sum.md b/pages.pt_PT/osx/gsha256sum.md new file mode 100644 index 00000000000000..c2370928a1a906 --- /dev/null +++ b/pages.pt_PT/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Este comando é um alias de `sha256sum`. + +- Ver documentação do comando original: + +`tldr sha256sum` diff --git a/pages.pt_PT/osx/gsha384sum.md b/pages.pt_PT/osx/gsha384sum.md new file mode 100644 index 00000000000000..0c497225f4063e --- /dev/null +++ b/pages.pt_PT/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Este comando é um alias de `sha384sum`. + +- Ver documentação do comando original: + +`tldr sha384sum` diff --git a/pages.pt_PT/osx/gsha512sum.md b/pages.pt_PT/osx/gsha512sum.md new file mode 100644 index 00000000000000..ff578deb2c7dd2 --- /dev/null +++ b/pages.pt_PT/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Este comando é um alias de `sha512sum`. + +- Ver documentação do comando original: + +`tldr sha512sum` diff --git a/pages.pt_PT/osx/gshred.md b/pages.pt_PT/osx/gshred.md new file mode 100644 index 00000000000000..ea0fd13e56626a --- /dev/null +++ b/pages.pt_PT/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Este comando é um alias de `shred`. + +- Ver documentação do comando original: + +`tldr shred` diff --git a/pages.pt_PT/osx/gshuf.md b/pages.pt_PT/osx/gshuf.md new file mode 100644 index 00000000000000..f084f8221606e1 --- /dev/null +++ b/pages.pt_PT/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Este comando é um alias de `shuf`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.pt_PT/osx/gsleep.md b/pages.pt_PT/osx/gsleep.md new file mode 100644 index 00000000000000..d2bfe0e0e5fb82 --- /dev/null +++ b/pages.pt_PT/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Este comando é um alias de `-p linux sleep`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.pt_PT/osx/gsort.md b/pages.pt_PT/osx/gsort.md new file mode 100644 index 00000000000000..b4ac55e7562845 --- /dev/null +++ b/pages.pt_PT/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Este comando é um alias de `sort`. + +- Ver documentação do comando original: + +`tldr sort` diff --git a/pages.pt_PT/osx/gsplit.md b/pages.pt_PT/osx/gsplit.md new file mode 100644 index 00000000000000..7d1190b0e924fe --- /dev/null +++ b/pages.pt_PT/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Este comando é um alias de `split`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.pt_PT/osx/gstat.md b/pages.pt_PT/osx/gstat.md new file mode 100644 index 00000000000000..a03de1c1d77de9 --- /dev/null +++ b/pages.pt_PT/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Este comando é um alias de `stat`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.pt_PT/osx/gstdbuf.md b/pages.pt_PT/osx/gstdbuf.md new file mode 100644 index 00000000000000..60e8b8dbf84f98 --- /dev/null +++ b/pages.pt_PT/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Este comando é um alias de `stdbuf`. + +- Ver documentação do comando original: + +`tldr stdbuf` diff --git a/pages.pt_PT/osx/gstty.md b/pages.pt_PT/osx/gstty.md new file mode 100644 index 00000000000000..0032a2a370d0ea --- /dev/null +++ b/pages.pt_PT/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Este comando é um alias de `stty`. + +- Ver documentação do comando original: + +`tldr stty` diff --git a/pages.pt_PT/osx/gsum.md b/pages.pt_PT/osx/gsum.md new file mode 100644 index 00000000000000..f709b5677ad2fe --- /dev/null +++ b/pages.pt_PT/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Este comando é um alias de `sum`. + +- Ver documentação do comando original: + +`tldr sum` diff --git a/pages.pt_PT/osx/gsync.md b/pages.pt_PT/osx/gsync.md new file mode 100644 index 00000000000000..dd7d0aa9d237d9 --- /dev/null +++ b/pages.pt_PT/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Este comando é um alias de `sync`. + +- Ver documentação do comando original: + +`tldr sync` diff --git a/pages.pt_PT/osx/gtac.md b/pages.pt_PT/osx/gtac.md new file mode 100644 index 00000000000000..47c208b6e7f51a --- /dev/null +++ b/pages.pt_PT/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Este comando é um alias de `tac`. + +- Ver documentação do comando original: + +`tldr tac` diff --git a/pages.pt_PT/osx/gtail.md b/pages.pt_PT/osx/gtail.md new file mode 100644 index 00000000000000..16c296ad4dc0a7 --- /dev/null +++ b/pages.pt_PT/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Este comando é um alias de `tail`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.pt_PT/osx/gtalk.md b/pages.pt_PT/osx/gtalk.md new file mode 100644 index 00000000000000..6ee2e9eeb7eb14 --- /dev/null +++ b/pages.pt_PT/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Este comando é um alias de `-p linux talk`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.pt_PT/osx/gtar.md b/pages.pt_PT/osx/gtar.md new file mode 100644 index 00000000000000..b9ea8632795111 --- /dev/null +++ b/pages.pt_PT/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Este comando é um alias de `tar`. + +- Ver documentação do comando original: + +`tldr tar` diff --git a/pages.pt_PT/osx/gtee.md b/pages.pt_PT/osx/gtee.md new file mode 100644 index 00000000000000..be5f81aabc3c86 --- /dev/null +++ b/pages.pt_PT/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Este comando é um alias de `tee`. + +- Ver documentação do comando original: + +`tldr tee` diff --git a/pages.pt_PT/osx/gtelnet.md b/pages.pt_PT/osx/gtelnet.md new file mode 100644 index 00000000000000..ba3865b69add4f --- /dev/null +++ b/pages.pt_PT/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Este comando é um alias de `telnet`. + +- Ver documentação do comando original: + +`tldr telnet` diff --git a/pages.pt_PT/osx/gtest.md b/pages.pt_PT/osx/gtest.md new file mode 100644 index 00000000000000..32b5dd69b634c2 --- /dev/null +++ b/pages.pt_PT/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Este comando é um alias de `test`. + +- Ver documentação do comando original: + +`tldr test` diff --git a/pages.pt_PT/osx/gtftp.md b/pages.pt_PT/osx/gtftp.md new file mode 100644 index 00000000000000..30587bc53f4ebd --- /dev/null +++ b/pages.pt_PT/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Este comando é um alias de `-p linux tftp`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.pt_PT/osx/gtime.md b/pages.pt_PT/osx/gtime.md new file mode 100644 index 00000000000000..dd663ff04d4c3f --- /dev/null +++ b/pages.pt_PT/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Este comando é um alias de `time`. + +- Ver documentação do comando original: + +`tldr time` diff --git a/pages.pt_PT/osx/gtimeout.md b/pages.pt_PT/osx/gtimeout.md new file mode 100644 index 00000000000000..75cd06d4d2759a --- /dev/null +++ b/pages.pt_PT/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Este comando é um alias de `timeout`. + +- Ver documentação do comando original: + +`tldr timeout` diff --git a/pages.pt_PT/osx/gtouch.md b/pages.pt_PT/osx/gtouch.md new file mode 100644 index 00000000000000..46070c237ae7f0 --- /dev/null +++ b/pages.pt_PT/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Este comando é um alias de `touch`. + +- Ver documentação do comando original: + +`tldr touch` diff --git a/pages.pt_PT/osx/gtr.md b/pages.pt_PT/osx/gtr.md new file mode 100644 index 00000000000000..7a369064ad3fe5 --- /dev/null +++ b/pages.pt_PT/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Este comando é um alias de `tr`. + +- Ver documentação do comando original: + +`tldr tr` diff --git a/pages.pt_PT/osx/gtraceroute.md b/pages.pt_PT/osx/gtraceroute.md new file mode 100644 index 00000000000000..cda9b8132b87ee --- /dev/null +++ b/pages.pt_PT/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Este comando é um alias de `traceroute`. + +- Ver documentação do comando original: + +`tldr traceroute` diff --git a/pages.pt_PT/osx/gtrue.md b/pages.pt_PT/osx/gtrue.md new file mode 100644 index 00000000000000..fdfd9c76ea5813 --- /dev/null +++ b/pages.pt_PT/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Este comando é um alias de `true`. + +- Ver documentação do comando original: + +`tldr true` diff --git a/pages.pt_PT/osx/gtruncate.md b/pages.pt_PT/osx/gtruncate.md new file mode 100644 index 00000000000000..4461d051812e8d --- /dev/null +++ b/pages.pt_PT/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Este comando é um alias de `truncate`. + +- Ver documentação do comando original: + +`tldr truncate` diff --git a/pages.pt_PT/osx/gtsort.md b/pages.pt_PT/osx/gtsort.md new file mode 100644 index 00000000000000..d2162fb26e2a31 --- /dev/null +++ b/pages.pt_PT/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Este comando é um alias de `tsort`. + +- Ver documentação do comando original: + +`tldr tsort` diff --git a/pages.pt_PT/osx/gtty.md b/pages.pt_PT/osx/gtty.md new file mode 100644 index 00000000000000..b5495eca3ed679 --- /dev/null +++ b/pages.pt_PT/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Este comando é um alias de `tty`. + +- Ver documentação do comando original: + +`tldr tty` diff --git a/pages.pt_PT/osx/guname.md b/pages.pt_PT/osx/guname.md new file mode 100644 index 00000000000000..4cac600a118dd6 --- /dev/null +++ b/pages.pt_PT/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Este comando é um alias de `uname`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.pt_PT/osx/gunexpand.md b/pages.pt_PT/osx/gunexpand.md new file mode 100644 index 00000000000000..65c98ff157707f --- /dev/null +++ b/pages.pt_PT/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Este comando é um alias de `unexpand`. + +- Ver documentação do comando original: + +`tldr unexpand` diff --git a/pages.pt_PT/osx/guniq.md b/pages.pt_PT/osx/guniq.md new file mode 100644 index 00000000000000..adbe7401cf1f8a --- /dev/null +++ b/pages.pt_PT/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Este comando é um alias de `uniq`. + +- Ver documentação do comando original: + +`tldr uniq` diff --git a/pages.pt_PT/osx/gunits.md b/pages.pt_PT/osx/gunits.md new file mode 100644 index 00000000000000..e931f2c691c788 --- /dev/null +++ b/pages.pt_PT/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Este comando é um alias de `units`. + +- Ver documentação do comando original: + +`tldr units` diff --git a/pages.pt_PT/osx/gunlink.md b/pages.pt_PT/osx/gunlink.md new file mode 100644 index 00000000000000..3a12ac758c3b9c --- /dev/null +++ b/pages.pt_PT/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Este comando é um alias de `unlink`. + +- Ver documentação do comando original: + +`tldr unlink` diff --git a/pages.pt_PT/osx/gupdatedb.md b/pages.pt_PT/osx/gupdatedb.md new file mode 100644 index 00000000000000..f97bbc52045d4a --- /dev/null +++ b/pages.pt_PT/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Este comando é um alias de `-p linux updatedb`. + +- Exibe documentação do comando original: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.pt_PT/osx/guptime.md b/pages.pt_PT/osx/guptime.md new file mode 100644 index 00000000000000..d98a50ccf5cff0 --- /dev/null +++ b/pages.pt_PT/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Este comando é um alias de `uptime`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.pt_PT/osx/gusers.md b/pages.pt_PT/osx/gusers.md new file mode 100644 index 00000000000000..4cb60abf43e754 --- /dev/null +++ b/pages.pt_PT/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Este comando é um alias de `users`. + +- Ver documentação do comando original: + +`tldr users` diff --git a/pages.pt_PT/osx/gvdir.md b/pages.pt_PT/osx/gvdir.md new file mode 100644 index 00000000000000..df41637d6c9c9e --- /dev/null +++ b/pages.pt_PT/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Este comando é um alias de `vdir`. + +- Ver documentação do comando original: + +`tldr vdir` diff --git a/pages.pt_PT/osx/gwc.md b/pages.pt_PT/osx/gwc.md new file mode 100644 index 00000000000000..aafd206ee4e02a --- /dev/null +++ b/pages.pt_PT/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Este comando é um alias de `wc`. + +- Ver documentação do comando original: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.pt_PT/osx/gwhich.md b/pages.pt_PT/osx/gwhich.md new file mode 100644 index 00000000000000..c78c6b5f64c7b1 --- /dev/null +++ b/pages.pt_PT/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Este comando é um alias de `which`. + +- Ver documentação do comando original: + +`tldr which` diff --git a/pages.pt_PT/osx/gwho.md b/pages.pt_PT/osx/gwho.md new file mode 100644 index 00000000000000..5606da271e79d1 --- /dev/null +++ b/pages.pt_PT/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Este comando é um alias de `who`. + +- Ver documentação do comando original: + +`tldr who` diff --git a/pages.pt_PT/osx/gwhoami.md b/pages.pt_PT/osx/gwhoami.md new file mode 100644 index 00000000000000..7b419a88a6b1e0 --- /dev/null +++ b/pages.pt_PT/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Este comando é um alias de `whoami`. + +- Ver documentação do comando original: + +`tldr whoami` diff --git a/pages.pt_PT/osx/gwhois.md b/pages.pt_PT/osx/gwhois.md new file mode 100644 index 00000000000000..b7d98a3ae28bc5 --- /dev/null +++ b/pages.pt_PT/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Este comando é um alias de `whois`. + +- Ver documentação do comando original: + +`tldr whois` diff --git a/pages.pt_PT/osx/gxargs.md b/pages.pt_PT/osx/gxargs.md new file mode 100644 index 00000000000000..a4361ca2aeacbb --- /dev/null +++ b/pages.pt_PT/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Este comando é um alias de `xargs`. + +- Ver documentação do comando original: + +`tldr xargs` diff --git a/pages.pt_PT/osx/gyes.md b/pages.pt_PT/osx/gyes.md new file mode 100644 index 00000000000000..08c20ffd4b883a --- /dev/null +++ b/pages.pt_PT/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Este comando é um alias de `yes`. + +- Ver documentação do comando original: + +`tldr yes` diff --git a/pages.pt_PT/osx/route.md b/pages.pt_PT/osx/route.md new file mode 100644 index 00000000000000..e8f388529b0622 --- /dev/null +++ b/pages.pt_PT/osx/route.md @@ -0,0 +1,29 @@ +# route + +> Alteração manual da tabela de rotas. +> Necessita de root. +> Mais informações: . + +- Adiciona uma rota para um destino passando por um gateway: + +`sudo route add "{{endereco_ip_destino}}" "{{endereco_gateway}}"` + +- Adiciona uma rota para um rede /24 passando por um gateway: + +`sudo route add "{{endereco_ip_subnet}}/24" "{{endereco_gateway}}"` + +- Corre em modo de teste (não realiza alterações, apenas a mostra): + +`sudo route -t add "{{endereco_ip_destino}}/24" "{{endereco_gateway}}"` + +- Remove todas as rotas: + +`sudo route flush` + +- Remove uma rota especifica: + +`sudo route delete "{{endereco_ip_destino}}/24"` + +- Procura e mostra a rota para um destino (nome da máquina ou endereço IP): + +`sudo route get "{{destino}}"` diff --git a/pages.pt_PT/osx/screencapture.md b/pages.pt_PT/osx/screencapture.md new file mode 100644 index 00000000000000..73610af41edd64 --- /dev/null +++ b/pages.pt_PT/osx/screencapture.md @@ -0,0 +1,28 @@ +# screencapture + +> Utilitário para fazer capturas de ecrã e gravações de ecrã. +> Mais informações: . + +- Faz um captura de ecrã e guarda-a num ficheiro: + +`screencapture {{caminho/para/ficheiro.png}}` + +- Faz um captura de ecrã incluindo o curso do rato e guarda-a num ficheiro: + +`screencapture -C {{caminho/para/ficheiro.png}}` + +- Faz um captura de ecrã e mostra-a em Pré-visualização, em vez de a guardar: + +`screencapture -P` + +- Faz uma captura de ecrã de uma área retangular selecionada: + +`screencapture -i {{caminho/para/ficheiro.png}}` + +- Faz uma captura de ecrã de uma área depois de um intervalo de tempo: + +`screencapture -T {{segundos}} {{caminho/para/ficheiro.png}}` + +- Faz uma gravação de ecrã guardando-a para um ficheiro: + +`screencapture -v {{caminho/para/ficheiro.mp4}}` diff --git a/pages.pt_PT/osx/scutil.md b/pages.pt_PT/osx/scutil.md new file mode 100644 index 00000000000000..3d2713eb0433c1 --- /dev/null +++ b/pages.pt_PT/osx/scutil.md @@ -0,0 +1,29 @@ +# scutil + +> Gere parametros da configuração do sistema. +> Necessita de permissões de root para modificar configurações. +> Mais informações: . + +- Mostra as configurações de DNS: + +`scutil --dns` + +- Mostra as configurações de proxy: + +`scutil --proxy` + +- Obtêm o nome do computador: + +`scutil --get ComputerName` + +- Altera o nome do computador: + +`sudo scutil --set ComputerName {{nome_computador}}` + +- Obtêm o nome de rede do computador: + +`scutil --get HostName` + +- Altera o nome de rede do computador: + +`scutil --set HostName {{nome_rede_computador}}` diff --git a/pages.pt_PT/osx/softwareupdate.md b/pages.pt_PT/osx/softwareupdate.md new file mode 100644 index 00000000000000..f1217b55942990 --- /dev/null +++ b/pages.pt_PT/osx/softwareupdate.md @@ -0,0 +1,20 @@ +# softwareupdate + +> Ferramenta de atualização de aplicativos da App Store via linha de comandos. +> Mais informações: . + +- Lista todos as atualizações disponíveis: + +`softwareupdate --list` + +- Descarrega e instala todas as atualizações disponíveis: + +`softwareupdate --install --all` + +- Descarrega e instala todas as atualizações recomendadas: + +`softwareupdate --install --recommended` + +- Descarrega e instala um aplicativo específico: + +`softwareupdate --install {{nome_atulizacao}}` diff --git a/pages.pt_PT/osx/spotify.md b/pages.pt_PT/osx/spotify.md new file mode 100644 index 00000000000000..e36aaa248c74af --- /dev/null +++ b/pages.pt_PT/osx/spotify.md @@ -0,0 +1,28 @@ +# spotify + +> Interface de linha de comando para Spotify. +> Mais informações: . + +- Procura uma música por nome e reprouz: + +`spotify play {{nome_musica}}` + +- Procura uma lista de reprodução por nome e reproduz: + +`spotify play list {{nome_lista_reproducao}}` + +- Pausa (ou ativa) a reprodução: + +`spotify pause` + +- Avança para a próxima música na lista de reprodução: + +`spotify next` + +- Altera o volume: + +`spotify vol {{up|down|value}}` + +- Mostra estado da lista de reprodução e detalhes da música: + +`spotify status` diff --git a/pages.pt_PT/osx/systemsetup.md b/pages.pt_PT/osx/systemsetup.md new file mode 100644 index 00000000000000..239a51545fce1b --- /dev/null +++ b/pages.pt_PT/osx/systemsetup.md @@ -0,0 +1,24 @@ +# systemsetup + +> Configura as definições de Preferencias do Sistema da máquina. +> Mais informações: . + +- Ativa autenticação remota (SSH): + +`systemsetup -setremotelogin on` + +- Ativa o serviço de hora de rede com um fuso horário e servidor específico: + +`systemsetup -settimezone "{{Europe/Lisbon}}" -setnetworktimeserver {{2.pt.pool.ntp.org}} -setusingnetworktime on` + +- Coloca a máquina sem dormir, reiniciando automaticamente em falta de energia ou pânico do núcleo do sistema: + +`systemsetup -setsleep off -setrestartpowerfailure on -setrestartfreeze on` + +- Lista os discos de inicialização validos: + +`systemsetup -liststartupdisks` + +- Especifica um novo disco de inicialização: + +`systemsetup -setstartupdisk {{caminho}}` diff --git a/pages.pt_PT/osx/xed.md b/pages.pt_PT/osx/xed.md new file mode 100644 index 00000000000000..456632e4bc2fe6 --- /dev/null +++ b/pages.pt_PT/osx/xed.md @@ -0,0 +1,16 @@ +# xed + +> Abre ficheiros para editar no Xcode. +> Mais informações: . + +- Abre um ficheiro no Xcode: + +`xed {{ficheiro1}}` + +- Abre um ou mais ficheiros no Xcode, cria o ficheiro se o mesmo não existir: + +`xed --create {{ficheiro1}}` + +- Abre um ficheiro no Xcode e foca na linha 75: + +`xed --line 75 {{ficheiro}}` diff --git a/pages.pt_PT/osx/xip.md b/pages.pt_PT/osx/xip.md new file mode 100644 index 00000000000000..c82ef4effd4d7f --- /dev/null +++ b/pages.pt_PT/osx/xip.md @@ -0,0 +1,9 @@ +# xip + +> Cria ou extrai ficheiros comprimido de um arquivo xip. +> Apenas arquivos criados pela Apple são confiáveis, dado isto esta ferramenta não deve ser utilizada para criar arquivos. +> Mais informações: . + +- Extrai o arquivo para o diretório de trabalho atual: + +`xip --expand {{caminho/para/ficheiro.xip}}` diff --git a/pages.pt_PT/windows/chrome.md b/pages.pt_PT/windows/chrome.md new file mode 100644 index 00000000000000..0685a2cc76f43e --- /dev/null +++ b/pages.pt_PT/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Este comando é um alias de `chromium`. +> Mais informações: . + +- Exibe documentação do comando original: + +`tldr chromium` diff --git a/pages.pt_PT/windows/cinst.md b/pages.pt_PT/windows/cinst.md new file mode 100644 index 00000000000000..ab1e7e04f94b1d --- /dev/null +++ b/pages.pt_PT/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Este comando é um alias de `choco install`. + +- Exibe documentação do comando original: + +`tldr choco install` diff --git a/pages.pt_PT/windows/clist.md b/pages.pt_PT/windows/clist.md new file mode 100644 index 00000000000000..21423c89fe4ebd --- /dev/null +++ b/pages.pt_PT/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Este comando é um alias de `choco list`. + +- Exibe documentação do comando original: + +`tldr choco list` diff --git a/pages.pt_PT/windows/cpush.md b/pages.pt_PT/windows/cpush.md new file mode 100644 index 00000000000000..7f8f56d53bb9bd --- /dev/null +++ b/pages.pt_PT/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Este comando é um alias de `choco push`. + +- Exibe documentação do comando original: + +`tldr choco push` diff --git a/pages.pt_PT/windows/cuninst.md b/pages.pt_PT/windows/cuninst.md new file mode 100644 index 00000000000000..ee9f9f6a67bff8 --- /dev/null +++ b/pages.pt_PT/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Este comando é um alias de `choco uninstall`. + +- Exibe documentação do comando original: + +`tldr choco uninstall` diff --git a/pages.pt_PT/windows/iwr.md b/pages.pt_PT/windows/iwr.md new file mode 100644 index 00000000000000..af8e64c04d7552 --- /dev/null +++ b/pages.pt_PT/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Este comando é um alias de `invoke-webrequest`. + +- Exibe documentação do comando original: + +`tldr invoke-webrequest` diff --git a/pages.pt_PT/windows/pwsh-where.md b/pages.pt_PT/windows/pwsh-where.md new file mode 100644 index 00000000000000..bd5a43407072a9 --- /dev/null +++ b/pages.pt_PT/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Este comando é um alias de `Where-Object`. + +- Exibe documentação do comando original: + +`tldr Where-Object` diff --git a/pages.pt_PT/windows/rd.md b/pages.pt_PT/windows/rd.md new file mode 100644 index 00000000000000..7df87cace7377f --- /dev/null +++ b/pages.pt_PT/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> Este comando é um alias de `rmdir`. + +- Exibe documentação do comando original: + +`tldr rmdir` diff --git a/pages.pt_PT/windows/sls.md b/pages.pt_PT/windows/sls.md new file mode 100644 index 00000000000000..ad873b316a6cc3 --- /dev/null +++ b/pages.pt_PT/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Este comando é um alias de `Select-String`. + +- Exibe documentação do comando original: + +`tldr select-string` diff --git a/pages.ro/common/todoist.md b/pages.ro/common/todoist.md new file mode 100644 index 00000000000000..869856d9533d73 --- /dev/null +++ b/pages.ro/common/todoist.md @@ -0,0 +1,28 @@ +# todoist + +> Acest program îți permite să folosești Todoist din linia de comandă. +> Mai multe informații: . + +- Adaugă o sarcină: + +`todoist add "{{o_sarcină}}"` + +- Adaugă o sarcină cu prioritate ridicată cu o etichetă, proiect și dată scadentă: + +`todoist add "{{o_sarcină}}" --priority {{1}} --label-ids "{{idul_etichetei}}" --project-name "{{numele_proiectului}}" --date "{{tmr 9am}}"` + +- Adaugă o sarcină cu prioritate ridicată cu o etichetă, proiect și dată scadentă, folosind modul rapid: + +`todoist quick '#{{numele_proiectului}} "{{tmr 9am}}" p{{1}} {{o_sarcină}} @{{numele_etichetei}}'` + +- Enumeră toate sarcinile cu cap de tabel și culori: + +`todoist --header --color list` + +- Enumeră toate sarcinile cu prioritate ridicată: + +`todoist list --filter p{{1}}` + +- Enumeră toate sarcinile cu prioritate ridicată de astăzi care au eticheta specificată: + +`todoist list --filter '(@{{numele_etichetei}} | {{today}}) & p{{1}}'` diff --git a/pages.ru/android/am.md b/pages.ru/android/am.md new file mode 100644 index 00000000000000..c6b1ac4debaedd --- /dev/null +++ b/pages.ru/android/am.md @@ -0,0 +1,20 @@ +# am + +> Менеджер активностей Android. +> Больше информации: . + +- Начать определённую активность: + +`am start -n {{com.android.settings/.Settings}}` + +- Начать активность и передать в неё данные: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Начать активность соответствующую определенному действию и категории: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Преобразовать намерение в URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.ru/android/bugreport.md b/pages.ru/android/bugreport.md new file mode 100644 index 00000000000000..940d405c2de005 --- /dev/null +++ b/pages.ru/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Показать отчет об ошибках Android. +> Эту команду можно использовать только через `adb shell`. +> Больше информации: . + +- Показать полный отчет об ошибках на устройстве Android: + +`bugreport` diff --git a/pages.ru/android/bugreportz.md b/pages.ru/android/bugreportz.md new file mode 100644 index 00000000000000..8f8e6085a2daa8 --- /dev/null +++ b/pages.ru/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Создает заархивированный отчет об ошибках Android. +> Эта команда может быть использована только через `adb shell`. +> Больше информации: . + +- Создать полный заархивированный отчет об ошибках устройства Android: + +`bugreportz` + +- Показать прогресс выполняемой операции `bugreportz`: + +`bugreportz -p` + +- Вывести содержимое отчета об ошибках Android в стандартный вывод: + +`bugreportz -s` + +- Отобразить справку: + +`bugreportz -h` + +- Отобразить версию: + +`bugreportz -v` diff --git a/pages.ru/android/cmd.md b/pages.ru/android/cmd.md new file mode 100644 index 00000000000000..8eb07502a1a0bf --- /dev/null +++ b/pages.ru/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Сервис менеджер Android. +> Больше информации: . + +- Список всех запущенных сервисов: + +`cmd -l` + +- Вызов конкретного сервиса: + +`cmd {{alarm}}` + +- Вызов сервиса с аргументами: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.ru/android/dalvikvm.md b/pages.ru/android/dalvikvm.md new file mode 100644 index 00000000000000..dd39ad88915ad4 --- /dev/null +++ b/pages.ru/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Виртуальная машина Android Java. +> Больше информации: . + +- Запустить Java-программу: + +`dalvikvm -classpath {{путь/к/файлу.jar}} {{classname}}` diff --git a/pages.ru/android/dumpsys.md b/pages.ru/android/dumpsys.md new file mode 100644 index 00000000000000..eb50772a0106b9 --- /dev/null +++ b/pages.ru/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Предоставляет информацию о системных службах Android. +> Эту команду можно использовать только через `adb shell`. +> Больше информации: . + +- Получить диагностическу для всех системных сервисов: + +`dumpsys` + +- Получить диагностическу для конкретной системного сервисв: + +`dumpsys {{сервис}}` + +- Список всех сервисов доступных через `dumpsys`: + +`dumpsys -l` + +- Задать специфичные для сервиса аргументы: + +`dumpsys {{сервис}} -h` + +- Исключить конкретный сервис из диагностики: + +`dumpsys --skip {{сервис}}` + +- Задать время ожидания в секундах (по умолчанию 10 сек): + +`dumpsys -t {{секунды}}` diff --git a/pages.ru/android/getprop.md b/pages.ru/android/getprop.md new file mode 100644 index 00000000000000..e1a3270b70212f --- /dev/null +++ b/pages.ru/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Показывает информацию о характеристиках системы Android. +> Больше информации: . + +- Показать информацию о характеристиках системы Android: + +`getprop` + +- Показать информации о конкретной характеристике: + +`getprop {{prop}}` + +- Показать на уровне SDK API: + +`getprop {{ro.build.version.sdk}}` + +- Показать версию Android: + +`getprop {{ro.build.version.release}}` + +- Показать модель устройства Android: + +`getprop {{ro.vendor.product.model}}` + +- Показать статус блокировки OEM: + +`getprop {{ro.oem_unlock_supported}}` + +- Показать MAC адрес Wi-Fi карты Android: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.ru/android/input.md b/pages.ru/android/input.md new file mode 100644 index 00000000000000..f3258e6b876c89 --- /dev/null +++ b/pages.ru/android/input.md @@ -0,0 +1,25 @@ +# input + +> Отправить коды событий или жесты сенсорного экрана на устройство Android. +> Эту команду можно использовать только через `adb shell`. +> Больше информации: . + +- Отправить код события для одного символа на устройство Android: + +`input keyevent {{код_события}}` + +- Отправить текст на устройство Android (`%s` означает пробел): + +`input text "{{текст}}"` + +- Отправить одно нажатие на экран на устройство Android: + +`input tap {{х_позиция}} {{y_позиция}}` + +- Отправить жест смахивания на устройство Android: + +`input swipe {{x_начало}} {{y_начало}} {{x_конец}} {{y_конец}} {{продолжительность_в_мс}}` + +- Отправить длинное нажатие на экран на устройство Android с помощью жеста смахивания: + +`input swipe {{x_position}} {{y_position}} {{x_position}} {{y_pos}} {{продолжительность_в_мс}}` diff --git a/pages.ru/android/logcat.md b/pages.ru/android/logcat.md new file mode 100644 index 00000000000000..24367a8e90bf2a --- /dev/null +++ b/pages.ru/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Выводит лог системных сообщений, включая трассировки стека при возникновении ошибок и информационные сообщения, записанные приложениями. +> Больше информации: . + +- Отобразить системные логи: + +`logcat` + +- Записать системные логи в файл: + +`logcat -f {{путь/к/файлу}}` + +- Показать строки, соответствующие регулярному выражению: + +`logcat --regex {{регулярное_выражение}}` + +- Отобразить логи для процесса с указанным идентификатором процесса (PID): + +`logcat --pid {{pid}}` + +- Отобразить логи для процесса указанного пакета: + +`logcat --pid $(pidof -s {{пакет}})` diff --git a/pages.ru/android/pkg.md b/pages.ru/android/pkg.md new file mode 100644 index 00000000000000..85d42e5c5f6a0c --- /dev/null +++ b/pages.ru/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Утилита управления пакетами для Termux. +> Больше информации: . + +- Обновить все установленные пакеты: + +`pkg upgrade` + +- Установить пакет: + +`pkg install {{пакет}}` + +- Удалить пакет: + +`pkg uninstall {{пакет}}` + +- Переустановить пакет: + +`pkg reinstall {{пакет}}` + +- Поиск пакета: + +`pkg search {{пакет}}` diff --git a/pages.ru/android/pm.md b/pages.ru/android/pm.md new file mode 100644 index 00000000000000..364e52ac142b45 --- /dev/null +++ b/pages.ru/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Показать информацию о приложениях на устройстве Android. +> Больше информации: . + +- Показать список всех установленных приложений: + +`pm list packages` + +- Показать список всех установленных системных приложений: + +`pm list packages -s` + +- Показать список всех установленных сторонних приложений: + +`pm list packages -3` + +- Показать список приложений по ключевым словам: + +`pm list packages {{ключевые_слова}}` + +- Показать путь к APK определенного приложения: + +`pm path {{приложение}}` diff --git a/pages.ru/android/screencap.md b/pages.ru/android/screencap.md new file mode 100644 index 00000000000000..fd0780c692fdef --- /dev/null +++ b/pages.ru/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Сделать снимок экрана мобильного дисплея. +> Эту команду можно использовать только через `adb shell`. +> Больше информации: . + +- Сделать снимок экрана: + +`screencap {{путь/к/файлу}}` diff --git a/pages.ru/android/settings.md b/pages.ru/android/settings.md new file mode 100644 index 00000000000000..3d36ffb354ba90 --- /dev/null +++ b/pages.ru/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Получить информацию об операционной системе Android. +> Больше информации: . + +- Показать список настроек в `global`: + +`settings list {{global}}` + +- Получить значение определенного параметра: + +`settings get {{global}} {{airplane_mode_on}}` + +- Задать значение параметра: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Удалить конкретную настройку: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.ru/android/wm.md b/pages.ru/android/wm.md new file mode 100644 index 00000000000000..0274538f578b6c --- /dev/null +++ b/pages.ru/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Показать информацию об экране Android-устройства. +> Эту команду можно использовать только через `adb shell`. +> Больше информации: . + +- Показать физический размер экрана Android-устройства: + +`wm size` + +- Показать физическую плотность экрана Android-устройства: + +`wm density` diff --git a/pages.ru/common/7z.md b/pages.ru/common/7z.md index edfb7b2b00358a..1d1491743d5eec 100644 --- a/pages.ru/common/7z.md +++ b/pages.ru/common/7z.md @@ -1,36 +1,32 @@ # 7z > Архиватор файлов с высокой степенью сжатия. -> Больше информации: . +> Больше информации: . -- Архивировать файл или папку: +- Архивировать ([a]rchive) файл или папку: -`7z a {{архив.7z}} {{путь/до/файла_или_папки}}` +`7z a {{путь/до/архива.7z}} {{путь/до/файла_или_папки}}` -- Зашифровать существующий архив (включая заголовки): +- Зашифровать существующий архив (включая имена файлов): -`7z a {{зашифрованный.7z}} -p{{пароль}} -mhe=on {{архив.7z}}` +`7z a {{путь/до/зашифрованного_архива.7z}} -p{{пароль}} -mhe=on {{путь/до/архива.7z}}` -- Распаковать существующий архив 7z с оригинальной структурой папок: +- Распаковать (e[x]tract) существующий архив, сохраняя оригинальную структуру папок: -`7z x {{архив.7z}}` +`7z x {{путь/до/архива.7z}}` -- Распаковать архив в нужную папку: +- Распаковать (e[x]tract) архив в нужную папку: -`7z x {{архив.7z}} -o{{путь/до/папки}}` +`7z x {{путь/до/архива.7z}} -o{{путь/до/папки}}` -- Распаковать архив в stdout: +- Распаковать (e[x]tract) архив в `stdout`: -`7z x {{архив.7z}} -so` +`7z x {{путь/до/архива.7z}} -so` -- Архивировать, используя определённый тип архива: +- Архивировать ([a]rchive), используя определённый тип архива: -`7z a -t{{zip|gzip|bzip2|tar}} {{архив.7z}} {{путь/до/файла_или_папки}}` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{путь/до/архива}} {{путь/до/файла_или_папки}}` -- Вывести вписок всех доступных типов архивов: +- Вывести ([l]ist) содержимое архива: -`7z i` - -- Вывести список файлов и папок в архиве: - -`7z l {{архив.7z}}` +`7z l {{путь/до/архива.7z}}` diff --git a/pages.ru/common/7za.md b/pages.ru/common/7za.md index 90738800f9ebb2..a3935c77ba9fd2 100644 --- a/pages.ru/common/7za.md +++ b/pages.ru/common/7za.md @@ -1,25 +1,33 @@ # 7za > Архиватор файлов с высокой степенью сжатия. -> Автономная версия `7z` с поддержкой меньшего количества типов архивов -> Больше информации: . +> То же, что и `7z`, за исключением того, что поддерживает меньшее количество типов файлов, но является кроссплатформенным. +> Больше информации: . -- Архивировать файл или папку: +- Архивировать ([a]rchive) файл или папку: -`7za a {{архив.7z}} {{путь/до/файла_или_папки}}` +`7za a {{путь/до/архива.7z}} {{путь/до/файла_или_папки}}` -- Распаковать существующий архив 7z с оригинальной структурой папок: +- Зашифровать существующий архив (включая имена файлов): -`7za x {{архив.7z}}` +`7za a {{путь/до/зашифрованного_архива.7z}} -p{{пароль}} -mhe=on {{путь/до/архива.7z}}` -- Архивировать, используя определённый тип архива: +- Распаковать (e[x]tract) существующий архив, сохраняя оригинальную структуру папок: -`7za a -t{{zip|gzip|bzip2|tar}} {{архив.7z}} {{путь/до/файла_или_папки}}` +`7za x {{путь/до/архива.7z}}` -- Вывести вписок всех доступных типов архивов: +- Распаковать (e[x]tract) архив в нужную папку: -`7za i` +`7za x {{путь/до/архива.7z}} -o{{путь/до/папки}}` -- Вывести список файлов и папок в архиве: +- Распаковать (e[x]tract) архив в `stdout`: -`7za l {{архив.7z}}` +`7za x {{путь/до/архива.7z}} -so` + +- Архивировать ([a]rchive), используя определённый тип архива: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{путь/до/архива.7z}} {{путь/до/файла_или_папки}}` + +- Вывести ([l]ist) содержимое архива: + +`7za l {{путь/до/архива.7z}}` diff --git a/pages.ru/common/7zr.md b/pages.ru/common/7zr.md index 93414699298fe9..426f52d8d60c53 100644 --- a/pages.ru/common/7zr.md +++ b/pages.ru/common/7zr.md @@ -1,17 +1,29 @@ # 7zr > Архиватор файлов с высокой степенью сжатия. -> Автономная версия `7z`, которая поддерживает только файлы .7z. -> Больше информации: . +> То же, что и `7z`, но поддерживает только файлы 7z. +> Больше информации: . -- Архивировать файл или папку: +- Архивировать ([a]rchive) файл или папку: -`7zr a {{архив.7z}} {{путь/до/файла_или_папки}}` +`7zr a {{путь/до/архива.7z}} {{путь/до/файла_или_папки}}` -- Распаковать существующий архив 7z с оригинальной структурой папок: +- Зашифровать существующий архив (включая имена файлов): -`7zr x {{архив.7z}}` +`7zr a {{путь/до/зашифрованного_архива.7z}} -p{{пароль}} -mhe={{on}} {{путь/до/архива.7z}}` -- Вывести список файлов и папок в архиве: +- Распаковать (e[x]tract) существующий архив, сохраняя оригинальную структуру папок: -`7zr l {{архив.7z}}` +`7zr x {{путь/до/архива.7z}}` + +- Распаковать (e[x]tract) архив в нужную папку: + +`7zr x {{путь/до/архива.7z}} -o{{путь/до/папки}}` + +- Распаковать (e[x]tract) архив в `stdout`: + +`7zr x {{путь/до/архива.7z}} -so` + +- Вывести ([l]ist) содержимое архива: + +`7zr l {{путь/до/архива.7z}}` diff --git a/pages.ru/common/aapt.md b/pages.ru/common/aapt.md index 9dd4b4bc2b266e..bb623e5513f18d 100644 --- a/pages.ru/common/aapt.md +++ b/pages.ru/common/aapt.md @@ -2,6 +2,7 @@ > Утилита для упаковки ресурсов для Android. > Компилирует и упаковывает ресурсы приложений Android. +> Больше информации: . - Вывести список файлов содержащихся в APK-архиве: diff --git a/pages.ru/common/ab.md b/pages.ru/common/ab.md index b02a314de26695..e3bf600049474e 100644 --- a/pages.ru/common/ab.md +++ b/pages.ru/common/ab.md @@ -1,15 +1,19 @@ # ab > Утилита бенчмаркинга Apache. Самая простая утилита для проведения нагрузочного тестирования. -> Больше информации: . +> Больше информации: . - Запустить 100 запросов HTTP GET по заданному URL: -`ab -n {{100}} {{url}}` +`ab -n 100 {{url}}` - Запустить 100 запросов HTTP GET, обрабатывая до 10 одновременно, по заданному URL: -`ab -n {{100}} -c {{10}} {{url}}` +`ab -n 100 -c 10 {{url}}` + +- Запустить 100 запросов HTTP POST по заданному URL, используя в качестве полезной нагрузки JSON из файла: + +`ab -n 100 -T {{application/json}} -p {{путь/до/файла.json}} {{url}}` - Использовать постоянное соединение (keep-alive): @@ -18,7 +22,3 @@ - Задать максимальное число секунд, которое можно затратить на бенчмаркинг: `ab -t {{60}} {{url}}` - -- Запустить 100 запросов HTTP POST по заданному URL, используя в качестве полезной нагрузки JSON из файла: - -`ab -n {{100}} -T {{application/json}} -p {{data.json}} {{url}}` diff --git a/pages.ru/common/abduco.md b/pages.ru/common/abduco.md index 1bbdbea27a55f5..436889d9b5e4a2 100644 --- a/pages.ru/common/abduco.md +++ b/pages.ru/common/abduco.md @@ -1,7 +1,7 @@ # abduco > Менеджер сессий терминала. -> Больше информации: . +> Больше информации: . - Вывести список сеансов: @@ -17,7 +17,7 @@ - Отключиться от сеанса: -`Ctrl + \` +`` - Подключиться к сеансу в режиме только для чтения: diff --git a/pages.ru/common/ack.md b/pages.ru/common/ack.md index 83c9e0d2a67e64..9fdb00cade60e8 100644 --- a/pages.ru/common/ack.md +++ b/pages.ru/common/ack.md @@ -1,32 +1,37 @@ # ack > Утилита для поиска, подобная grep, оптимизировання для программистов. -> Больше информации: . +> Смотри также: `rg`, которая гораздо быстрее. +> Больше информации: . -- Найти файлы, содержащие "foo": +- Найти файлы, содержащие строку или регулярное выражение, рекурсивно в текущей директории: -`ack {{foo}}` +`ack "{{шаблон_поиска}}"` -- Найти файлы заданного типа: +- Искать по шаблону без учёта регистра: -`ack --ruby {{foo}}` +`ack {{[-i|--ignore-case]}} "{{шаблон_поиска}}"` -- Подсчитать общее число совпадений для термина "foo": +- Искать строки, соответствующие шаблону, печатая только ([o]nly) совпавший текст, а не остальную часть строки: -`ack -ch {{foo}}` +`ack {{[-o|--output '$&']}} "{{шаблон_поиска}}"` -- Показать имен файлов, содержащие "foo" и число совпадений в каждом файле: +- Ограничить поиск только файлами определённого типа: -`ack -cl {{foo}}` +`ack {{[-t|--type]}} {{ruby}} "{{шаблон_поиска}}"` -- Поиск заданной строки в файле: +- Не искать в файлах определённого типа: -`ack bar "{{foo bar}}" {{путь/до/файла}}` +`ack {{[-t|--type]}} no{{ruby}} "{{шаблон_поиска}}"` -- Поиск в файле по заданному регулярному выражению: +- Подсчитать общее количество найденных совпадений: -`ack bar "{{[bB]ar \d+}}" {{путь/до/файла}}` +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{шаблон_поиска}}"` -- Вывести список всех допустимых типов: +- Вывести только имена файлов и количество совпадений для каждого файла: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{шаблон_поиска}}"` + +- Вывести все значения, которые можно использовать с `--type`: `ack --help-types` diff --git a/pages.ru/common/act.md b/pages.ru/common/act.md index 805bdbd546685a..1ac53d3aab58a8 100644 --- a/pages.ru/common/act.md +++ b/pages.ru/common/act.md @@ -1,7 +1,7 @@ # act > Запуск GitHub Actions локально с использованием Docker. -> Больше информации: . +> Больше информации: . - Вывести список доступных actions: diff --git a/pages.ru/common/adb-install.md b/pages.ru/common/adb-install.md index 92dd149287d777..2f5901640dbf9f 100644 --- a/pages.ru/common/adb-install.md +++ b/pages.ru/common/adb-install.md @@ -1,16 +1,24 @@ # adb install -> Android Debug Bridge Install: Установка пакетов на эмулятор Android или подключенное устройство Android. -> Больше информации: . +> Android Debug Bridge Install: Установка пакетов на эмулятор Android или подключённое устройство Android. +> Больше информации: . - Установить приложение Android на эмулятор/устройство: `adb install {{путь/до/файла.apk}}` +- Установить приложение Android на конкретный эмулятор/устройство (отменяет использование `$ANDROID_SERIAL`): + +`adb -s {{серийный_номер}} install {{путь/до/файла.apk}}` + - Переустановить существующее приложение, оставив его данные: `adb install -r {{путь/до/файла.apk}}` +- Установить приложение Android, разрешив понижение версии (только для отлаживаемых пакетов): + +`adb install -d {{путь/до/файла.apk}}` + - Дать все разрешения, перечисленные в манифесте приложения: `adb install -g {{путь/до/файла.apk}}` diff --git a/pages.ru/common/adb-reverse.md b/pages.ru/common/adb-reverse.md index 4810c02a50a486..1380941a8a5de1 100644 --- a/pages.ru/common/adb-reverse.md +++ b/pages.ru/common/adb-reverse.md @@ -1,7 +1,7 @@ # adb reverse > Android Debug Bridge Reverse: обратное соединение от эмулятора Android или подключенного устройства Android. -> Больше информации: . +> Больше информации: . - Вывести список всех обратных соединений от эмуляторов и устройств: diff --git a/pages.ru/common/adb-shell.md b/pages.ru/common/adb-shell.md index f1049e7b6dadb6..834a134ccad14d 100644 --- a/pages.ru/common/adb-shell.md +++ b/pages.ru/common/adb-shell.md @@ -1,7 +1,7 @@ # adb shell > Android Debug Bridge Shell: Запуск удалённой командной оболочки на эмуляторе Android или подключенном устройстве Android. -> Больше информации: . +> Больше информации: . - Запустить удалённую интерактивную оболочку на эмуляторе или устройстве: diff --git a/pages.ru/common/adb.md b/pages.ru/common/adb.md index d90904f7bbd4b3..fc61ce2ecdd5cf 100644 --- a/pages.ru/common/adb.md +++ b/pages.ru/common/adb.md @@ -1,7 +1,8 @@ # adb > Android Debug Bridge: управление запущенным эмулятором Android или подключенным устройством Android. -> Больше информации: . +> Некоторые подкоманды, такие как `shell`, имеют собственную документацию по использованию. +> Больше информации: . - Проверить, запущен ли процесс сервера adb и запустить его: diff --git a/pages.ru/common/ag.md b/pages.ru/common/ag.md index 3bf0dbafb218df..604c043d0e7c24 100644 --- a/pages.ru/common/ag.md +++ b/pages.ru/common/ag.md @@ -1,7 +1,7 @@ # ag -> The Silver Searcher. Аналог ack, но имеет цель быть быстрее. -> Больше информации: . +> The Silver Searcher. Аналог `ack`, но имеет цель быть быстрее. +> Больше информации: . - Найти файлы, содержащие "foo", и вывести подходящие строки в контексте: diff --git a/pages.ru/common/alias.md b/pages.ru/common/alias.md new file mode 100644 index 00000000000000..4c51b9543a4fcc --- /dev/null +++ b/pages.ru/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> Создает псевдонимы -- слова, которые заменяются командой. +> Срок действия псевдонима истекает с окончанием текущей сессии командной строки, если только не определить его в конфигурационном файле, например: `~/.bashrc`. +> Больше информации: . + +- Вывести список всех псевдонимов: + +`alias` + +- Создать типовой псевдоним: + +`alias {{псевдоним}}="{{команда}}"` + +- Вывести команду сопоставленную с данным псевдонимом: + +`alias {{псевдоним}}` + +- Удалить псевдоним: + +`unalias {{псевдоним}}` + +- Превратить `rm` в интерактивную команду: + +`alias {{rm}}="{{rm --interactive}}"` + +- Превратить `la` в ссылку на `ls --all`: + +`alias {{la}}="{{ls --all}}"` diff --git a/pages.ru/common/asciidoctor.md b/pages.ru/common/asciidoctor.md new file mode 100644 index 00000000000000..f1539c4963ebfc --- /dev/null +++ b/pages.ru/common/asciidoctor.md @@ -0,0 +1,20 @@ +# asciidoctor + +> Преобразователь AsciiDoc файлов в другие форматы для публикации. +> Больше информации: . + +- Преобразовать данный `.adoc` файл в HTML (формат на выходе по умолчанию): + +`asciidoctor {{путь/до/файла.adoc}}` + +- Преобразовать данный `.adoc` файл в HTML и привязать к таблице стилей CSS: + +`asciidoctor -a stylesheet {{путь/до/таблицы-стилей.css}} {{путь/до/файла.adoc}}` + +- Преобразовать данный `.adoc` файл во встраиваемый HTML, убрав всё кроме самого текста: + +`asciidoctor --embedded {{путь/до/файла.adoc}}` + +- Преобразовать данный `.adoc` файл в PDF с помощью библиотеки `asciidoctor-pdf`: + +`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{путь/до/файла.adoc}}` diff --git a/pages.ru/common/aspell.md b/pages.ru/common/aspell.md new file mode 100644 index 00000000000000..f33809fb3905b0 --- /dev/null +++ b/pages.ru/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> Интерактивная проверка орфографии. +> Больше информации: . + +- Проверить орфографию в одном файле: + +`aspell check {{путь/до/файла}}` + +- Вывести список неверно написанных слов из стандартного ввода: + +`cat {{файл}} | aspell list` + +- Показать доступные словари: + +`aspell dicts` + +- Запустить `aspell` с использованием другого языка (двухсимвольный код согласно ISO 639): + +`aspell --lang={{cs}}` + +- Вывести список неверно написанных слов из стандартного ввода, игнорируя слова из персонального списка: + +`cat {{файл}} | aspell --personal={{персональный_список_слов.pws}} list` diff --git a/pages.ru/common/bash.md b/pages.ru/common/bash.md new file mode 100644 index 00000000000000..90a795e85f1f7a --- /dev/null +++ b/pages.ru/common/bash.md @@ -0,0 +1,37 @@ +# bash + +> Bourne-Again SHell, `sh`-совместимый командный интерпретатор. +> Смотрите также: `zsh`, `histexpand` (подстановка из истории). +> Больше информации: . + +- Запустить интерактивную сессию оболочки: + +`bash` + +- Запустить интерактивную сессию оболочки без загрузки файлов конфигурации: + +`bash --norc` + +- Выполнить указанные команды [c]: + +`bash -c "{{echo 'bash выполняется'}}"` + +- Выполнить указанный скрипт: + +`bash {{путь/к/скрипту.sh}}` + +- Выполнить [x] указанный скрипт, выводя каждую команду перед её выполнением: + +`bash -x {{путь/к/скрипту.sh}}` + +- Выполнить указанный скрипт и остановиться при первой ошибке [e]: + +`bash -e {{путь/к/скрипту.sh}}` + +- Выполнить указанные команды, полученные из `stdin`: + +`{{echo "echo 'bash выполняется'"}} | bash` + +- Запустить ограниченную [r] сессию оболочки: + +`bash -r` diff --git a/pages.ru/common/bg.md b/pages.ru/common/bg.md new file mode 100644 index 00000000000000..ca7af9b9fffbd9 --- /dev/null +++ b/pages.ru/common/bg.md @@ -0,0 +1,12 @@ +# bg + +> Возобновляет работу приостановленного задания (например, с помощью ``), и оставляет его работать в фоне. +> Больше информации: . + +- Возобновить работу последнего приостановленного задания и продолжить его выполнение в фоне: + +`bg` + +- Возобновить указанное задание (используйте `jobs -l`, чтобы получить его идентификатор) и продолжить его выполнение в фоне: + +`bg %{{идентификатор_задания}}` diff --git a/pages.ru/common/cabal.md b/pages.ru/common/cabal.md new file mode 100644 index 00000000000000..4c81013a3c9f2f --- /dev/null +++ b/pages.ru/common/cabal.md @@ -0,0 +1,29 @@ +# cabal + +> Интерфейс командной строки для инфраструктуры пакетов Haskell (Cabal). +> Управление Haskell-проектами и Cabal-пакетами из репозитория Hackage. +> Больше информации: . + +- Искать и вывести список пакетов из Hackage: + +`cabal list {{строка_поиска}}` + +- Показать информацию о пакете: + +`cabal info {{имя_пакета}}` + +- Скачать и установить пакет: + +`cabal install {{имя_пакета}}` + +- Создать новый Haskell-проект в текущей папке: + +`cabal init` + +- Собрать проект в текущей папке: + +`cabal build` + +- Запустить тесты из проекта в текущей папке: + +`cabal test` diff --git a/pages.ru/common/cat.md b/pages.ru/common/cat.md index 2722900aca0628..33da771e74ff8b 100644 --- a/pages.ru/common/cat.md +++ b/pages.ru/common/cat.md @@ -1,23 +1,24 @@ # cat > Выводит и объединяет файлы. +> Больше информации: . -- Выводит содержимое файла: +- Выводит содержимое файла в стандартный вывод: -`cat {{файл}}` +`cat {{путь/к/файлу}}` -- Объединяет несколька файлов в один: +- Объединяет несколько файлов в один итоговый файл: -`cat {{файл1}} {{файл2}} > {{итоговый_файл}}` +`cat {{путь/к/файлу1 путь/к/файлу2 ...}} > {{путь/к/итоговому_файлу}}` -- Добавляет несколько файлов в конец файла: +- Добавляет несколько файлов в конец итогового файла: -`cat {{файл1}} {{файл2}} >> {{итоговый_файл}}` +`cat {{путь/к/файлу1 путь/к/файлу2 ...}} >> {{путь/к/итоговому_файлу}}` -- Выводит содержимое файла с нумерацией строк: +- Копирует содержимое файла в итоговый файл без буферизации: -`cat -n {{файл}}` +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` -- Показывает все непечатные символы и пробелы (с префиксом `M-` для не-ASCII символов): +- Записывает данные из стандартного ввода в файл: -`cat -v -t -e {{файл}}` +`cat - > {{путь/к/файлу}}` diff --git a/pages.ru/common/cd.md b/pages.ru/common/cd.md new file mode 100644 index 00000000000000..cf2539717d8831 --- /dev/null +++ b/pages.ru/common/cd.md @@ -0,0 +1,28 @@ +# cd + +> Изменить текущий рабочий каталог. +> Больше информации: . + +- Перейти в указанный каталог: + +`cd {{путь/к/каталогу}}` + +- Перейти в каталог выше: + +`cd ..` + +- Перейти в домашний каталог текущего пользователя: + +`cd` + +- Перейти в домашний каталог указанного пользователя: + +`cd ~{{имя_пользователя}}` + +- Перейти в ранее выбранный каталог: + +`cd -` + +- Перейти в корневой каталог: + +`cd /` diff --git a/pages.ru/common/chmod.md b/pages.ru/common/chmod.md index 7315905da61669..e2c550281a4714 100644 --- a/pages.ru/common/chmod.md +++ b/pages.ru/common/chmod.md @@ -1,31 +1,36 @@ # chmod > Изменить права доступа файлу или папке. +> Больше информации: . -- Дать [u]пользователю, который владеет файлом, права на его [x]исполнение: +- Дать пользователю ([u]ser), который владеет файлом, права на его исполнение (e[x]ecute): `chmod u+x {{файл}}` -- Дать права [u]пользователю права [r]чтения и [w]записи в файл/папку: +- Дать права пользователю ([u]ser) права чтения ([r]ead) и записи ([w]rite) в файл/папку: `chmod u+rw {{файл_или_папка}}` -- Убрать права на [x]исполнение у [g]группы: +- Убрать права на исполнение (e[x]ecute) у группы ([g]roup): `chmod g-x {{файл}}` -- Дать [a]всем пользователям права на [r]чтение и [x]исполенеие: +- Дать всем ([a]ll) пользователям права на чтение ([r]ead) и исполнение (e[x]ecute): `chmod a+rx {{файл}}` -- Дать [o]другим (не из группы владельцев файлом) такие же права как и у [g]группы: +- Дать другим ([o]thers) (не из группы владельцев файла) такие же права, как и у группы ([g]roup): `chmod o=g {{файл}}` -- Убрать все права у [o]других: +- Убрать все права у других ([o]thers): `chmod o= {{файл}}` -- Изменить права рекурсивно, дав [g]группе и [o]другим возможность [w]записи в папку: +- Изменить права рекурсивно, дав группе ([g]roup) и другим ([o]thers) возможность записи ([w]rite) в папку: -`chmod -R g+w,o+w {{папка}}` +`chmod {{[-R|--recursive]}} g+w,o+w {{папка}}` + +- Рекурсивно дать для всех ([a]ll) пользователей права на чтение ([r]ead) файлов и права на исполнение (e[X]ecute) поддиректорий внутри указанной директории: + +`chmod {{[-R|--recursive]}} a+rX {{папка}}` diff --git a/pages.ru/common/clang-cpp.md b/pages.ru/common/clang-cpp.md new file mode 100644 index 00000000000000..7d3a138f3f8c83 --- /dev/null +++ b/pages.ru/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Эта команда — псевдоним для `clang++`. + +- Смотри документацию для оригинальной команды: + +`tldr clang++` diff --git a/pages.ru/common/clojure.md b/pages.ru/common/clojure.md new file mode 100644 index 00000000000000..46bab1a1039e35 --- /dev/null +++ b/pages.ru/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Эта команда — псевдоним для `clj`. + +- Смотри документацию для оригинальной команды: + +`tldr clj` diff --git a/pages.ru/common/cola.md b/pages.ru/common/cola.md new file mode 100644 index 00000000000000..05decc216fc17d --- /dev/null +++ b/pages.ru/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Эта команда — псевдоним для `git-cola`. + +- Смотри документацию для оригинальной команды: + +`tldr git-cola` diff --git a/pages.ru/common/cut.md b/pages.ru/common/cut.md new file mode 100644 index 00000000000000..b88672f0374be5 --- /dev/null +++ b/pages.ru/common/cut.md @@ -0,0 +1,16 @@ +# cut + +> Вырезать поля из стандартного ввода или файлов. +> Больше информации: . + +- Вывести указанный диапазон символов/полей каждой строки (`--characters|fields 1|1,10|1-10|1-|-10` далее обозначается как `диапазон`): + +`{{команда}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}` + +- Вывести диапазон полей каждой строки с указанным разделителем: + +`{{команда}} | cut --delimiter "{{,}}" --fields {{1}}` + +- Вывести диапазон символов каждой строки указанного файла: + +`cut --characters {{1}} {{путь/к/файлу}}` diff --git a/pages.ru/common/cwebp.md b/pages.ru/common/cwebp.md new file mode 100644 index 00000000000000..5b74994b389398 --- /dev/null +++ b/pages.ru/common/cwebp.md @@ -0,0 +1,24 @@ +# cwebp + +> Сжимает файл изображения в формат WebP. +> Больше информации: . + +- Сжать WebP со стандартными настройками (q = 75) с сохранением в выходной файл: + +`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}}` + +- Сжать WebP с наилучшим качеством и наибольшим размером файла: + +`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}} -q {{100}}` + +- Сжать WebP с наихудшим качеством и наименьшим размером файла: + +`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}} -q {{0}}` + +- Сжать WebP с изменением размера изображения: + +`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}} -resize {{width}} {{height}}` + +- Сжать WebP с удалением информации о прозрачности: + +`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}} -noalpha` diff --git a/pages.ru/common/df.md b/pages.ru/common/df.md new file mode 100644 index 00000000000000..11f93d193a409c --- /dev/null +++ b/pages.ru/common/df.md @@ -0,0 +1,20 @@ +# df + +> Отображать информацию об использовании дискового пространства файловых систем. +> Больше информации: . + +- Показывать все файловые системы и использование диска для них в 512-байтных блоках: + +`df` + +- Показывать информацию о файловой системе для указанного файла или каталога: + +`df {{путь/к/файлу_или_каталогу}}` + +- Использовать 1024-байтные блоки при отображении размеров: + +`df -k` + +- Показывать информацию в портируемом (POSIX) формате: + +`df -P` diff --git a/pages.ru/common/dig.md b/pages.ru/common/dig.md new file mode 100644 index 00000000000000..c93758ffc213bd --- /dev/null +++ b/pages.ru/common/dig.md @@ -0,0 +1,36 @@ +# dig + +> Утилита для поиска информации в DNS. +> Больше информации: . + +- Искать IP-адрес(а), связанные с именем хоста (A-записи): + +`dig +short {{example.com}}` + +- Получить подробный ответ для указанного домена (A-записи): + +`dig +noall +answer {{example.com}}` + +- Запросить определенный тип DNS-записи, связанный с указанным доменным именем: + +`dig +short {{example.com}} {{A|MX|TXT|CNAME|NS}}` + +- Указать альтернативный DNS-сервер для запроса и, опционально, использовать DNS поверх TLS (DoT): + +`dig {{+tls}} @{{1.1.1.1|8.8.8.8|9.9.9.9|...}} {{example.com}}` + +- Выполнить обратный DNS-запрос для IP-адреса (PTR-запись): + +`dig -x {{8.8.8.8}}` + +- Найти авторитативные серверы имен для зоны и отобразить SOA-записи: + +`dig +nssearch {{example.com}}` + +- Выполнить итеративные запросы и отобразить полный путь трассировки для разрешения доменного имени: + +`dig +trace {{example.com}}` + +- Запросить DNS-сервер через нестандартный порт [p], используя протокол TCP: + +`dig +tcp -p {{порт}} @{{dns_сервер}} {{example.com}}` diff --git a/pages.ru/common/docker.md b/pages.ru/common/docker.md new file mode 100644 index 00000000000000..1f424be464e323 --- /dev/null +++ b/pages.ru/common/docker.md @@ -0,0 +1,37 @@ +# docker + +> Управление контейнерами и образами Docker. +> Некоторые подкоманды, такие как `run`, имеют собственную документацию по использованию. +> Больше информации: . + +- Список всех контейнеров Docker (запущенных и остановленных): + +`docker ps {{[-a|--all]}}` + +- Запустить контейнера из образа с заданным именем: + +`docker run --name {{имя_контейнера}} {{имя_образа}}` + +- Запустить или остановить существующий контейнер: + +`docker {{start|stop}} {{имя_контейнера}}` + +- Загрузить образ из репозитория Docker: + +`docker pull {{имя_образа}}` + +- Показать список уже загруженных образов: + +`docker images` + +- Запустить интерактивный ([i]) телетайп ([t]) с командной оболочкой Bourne shell (sh) внутри запущенного контейнера: + +`docker exec {{[-it|--interactive --tty]}} {{имя_контейнера}} {{sh}}` + +- Удалить остановленный контейнер: + +`docker rm {{имя_контейнера}}` + +- Получить и следить за логами контейнера: + +`docker logs {{[-f|--follow]}} {{имя_контейнера}}` diff --git a/pages.ru/common/dotnet-build.md b/pages.ru/common/dotnet-build.md index afa40067fcebbd..a0694d3d1e8753 100644 --- a/pages.ru/common/dotnet-build.md +++ b/pages.ru/common/dotnet-build.md @@ -1,7 +1,7 @@ # dotnet build > Собирает приложение .NET и все его зависимости. -> Больше информации: . +> Больше информации: . - Скомпилировать проект или решение в текущей директории: diff --git a/pages.ru/common/dotnet-publish.md b/pages.ru/common/dotnet-publish.md index c94df1b9367582..4a5e2e11df5fdb 100644 --- a/pages.ru/common/dotnet-publish.md +++ b/pages.ru/common/dotnet-publish.md @@ -1,7 +1,7 @@ # dotnet publish > Публикует .NET-приложение и его зависимости в папку для развёртываения на целевой системе. -> Больше информации: . +> Больше информации: . - Скомпилировать проект .NET в режиме release: diff --git a/pages.ru/common/dotnet-restore.md b/pages.ru/common/dotnet-restore.md index 3c6cae956e5a1c..30cf465a661a20 100644 --- a/pages.ru/common/dotnet-restore.md +++ b/pages.ru/common/dotnet-restore.md @@ -1,7 +1,7 @@ # dotnet restore > Восстанавливает зависимости и утилиты для проекта .NET. -> Больше информации: . +> Больше информации: . - Восстановить зависимости для проекта или решения .NET в текущей директории: diff --git a/pages.ru/common/dotnet.md b/pages.ru/common/dotnet.md index be1ca4f0d11106..2edc64dd702e72 100644 --- a/pages.ru/common/dotnet.md +++ b/pages.ru/common/dotnet.md @@ -1,7 +1,8 @@ # dotnet > Кросс-платформенная утилита командной строки .NET для .NET Core. -> Больше информации: . +> Некоторые подкоманды, такие как `build`, имеют собственную документацию по использованию. +> Больше информации: . - Инициализировать новый проект .NET: diff --git a/pages.ru/common/echo.md b/pages.ru/common/echo.md new file mode 100644 index 00000000000000..3fd21d7b4483a2 --- /dev/null +++ b/pages.ru/common/echo.md @@ -0,0 +1,29 @@ +# echo + +> Выводит указанные аргументы. +> Смотрите также: `printf`. +> Больше информации: . + +- Вывести текстовое сообщение. Примечание: кавычки необязательны: + +`echo "{{Привет, мир}}"` + +- Вывести сообщение с переменными окружения: + +`echo "{{Мой путь: $PATH}}"` + +- Вывести сообщение без завершающего символа новой строки: + +`echo -n "{{Привет, мир}}"` + +- Добавить сообщение в файл: + +`echo "{{Привет, мир}}" >> {{файл.txt}}` + +- Включить интерпретацию escape-последовательностей (специальных символов): + +`echo -e "{{Столбец 1\tСтолбец 2}}"` + +- Вывести статус выхода последней выполненной команды (Примечание: в командной строке Windows и PowerShell эквивалентные команды — `echo %errorlevel%` и `$lastexitcode` соответственно): + +`echo $?` diff --git a/pages.ru/common/ed.md b/pages.ru/common/ed.md new file mode 100644 index 00000000000000..27c683065d6273 --- /dev/null +++ b/pages.ru/common/ed.md @@ -0,0 +1,33 @@ +# ed + +> Оригинальный текстовый редактор Unix. +> Смотрите также: `awk`, `sed`. +> Больше информации: . + +- Запустить интерактивную сессию редактора с пустым документом: + +`ed` + +- Запустить интерактивную сессию редактора с пустым документом и указанной подсказкой: + +`ed {{[-p|--prompt]}} '{{> }}'` + +- Запустить интерактивную сессию редактора с удобными для пользователя ошибками: + +`ed {{[-v|--verbose]}}` + +- Запустить интерактивную сессию редактора пустым документом и без диагностики, подсчета байтов и '!' подсказки: + +`ed {{[-q|--quiet]}}` + +- Запустить интерактивную сессию редактора без изменения статуса выхода при сбое команды: + +`ed {{[-l|--loose-exit-status]}}` + +- Редактировать указанный файл (это показывает количество байт загруженного файла): + +`ed {{путь/к/файлу}}` + +- Заменить строку указанной на всех строках: + +`,s/{{регулярное_выражение}}/{{замена}}/g` diff --git a/pages.ru/common/exit.md b/pages.ru/common/exit.md new file mode 100644 index 00000000000000..68fa578d967406 --- /dev/null +++ b/pages.ru/common/exit.md @@ -0,0 +1,12 @@ +# exit + +> Выйти из оболочки. +> Больше информации: . + +- Выход из оболочки с кодом выхода последней выполненной команды: + +`exit` + +- Выйти из оболочки с указанным кодом выхода: + +`exit {{код_выхода}}` diff --git a/pages.ru/common/fg.md b/pages.ru/common/fg.md new file mode 100644 index 00000000000000..08603b9367b8e4 --- /dev/null +++ b/pages.ru/common/fg.md @@ -0,0 +1,12 @@ +# fg + +> Переключение задания на передний план. +> Больше информации: . + +- Переключить последнее приостановленное или выполняющееся в фоне задание на передний план: + +`fg` + +- Переключить указанное задание на передний план: + +`fg %{{идентификатор_задания}}` diff --git a/pages.ru/common/fossil-ci.md b/pages.ru/common/fossil-ci.md new file mode 100644 index 00000000000000..8634b6825fa9ce --- /dev/null +++ b/pages.ru/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Эта команда — псевдоним для `fossil commit`. + +- Смотри документацию для оригинальной команды: + +`tldr fossil commit` diff --git a/pages.ru/common/fossil-forget.md b/pages.ru/common/fossil-forget.md new file mode 100644 index 00000000000000..64a6bdc208cf5d --- /dev/null +++ b/pages.ru/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Эта команда — псевдоним для `fossil rm`. +> Больше информации: . + +- Смотри документацию для оригинальной команды: + +`tldr fossil rm` diff --git a/pages.ru/common/fossil-new.md b/pages.ru/common/fossil-new.md new file mode 100644 index 00000000000000..32419408ac0e3c --- /dev/null +++ b/pages.ru/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Эта команда — псевдоним для `fossil init`. + +- Смотри документацию для оригинальной команды: + +`tldr fossil init` diff --git a/pages.ru/common/fossil-rm.md b/pages.ru/common/fossil-rm.md new file mode 100644 index 00000000000000..7df3bbca0aa37a --- /dev/null +++ b/pages.ru/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Эта команда — псевдоним для `fossil delete`. + +- Смотри документацию для оригинальной команды: + +`tldr fossil delete` diff --git a/pages.ru/common/gh-cs.md b/pages.ru/common/gh-cs.md new file mode 100644 index 00000000000000..395bfcdc55ad3a --- /dev/null +++ b/pages.ru/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Эта команда — псевдоним для `gh codespace`. + +- Смотри документацию для оригинальной команды: + +`tldr gh codespace` diff --git a/pages.ru/common/ghc.md b/pages.ru/common/ghc.md new file mode 100644 index 00000000000000..75acf008d67665 --- /dev/null +++ b/pages.ru/common/ghc.md @@ -0,0 +1,29 @@ +# ghc + +> Компилятор Glasgow Haskell Compiler. +> Компиляция и компоновка исходных файлов Haskell. +> Больше информации: . + +- Найти и скомпилировать все модули в текущей папке: + +`ghc Main` + +- Скомпилировать один файл: + +`ghc {{файл.hs}}` + +- Скомпилировать с использованием дополнительной оптимизации: + +`ghc -O {{файл.hs}}` + +- Остановить компиляцию после создания объектных файлов (.o): + +`ghc -c {{файл.hs}}` + +- Запустить REPL (интерактивную оболочку): + +`ghci` + +- Вычислить одно выражение: + +`ghc -e {{выражение}}` diff --git a/pages.ru/common/ghci.md b/pages.ru/common/ghci.md new file mode 100644 index 00000000000000..6bbfefcd663a34 --- /dev/null +++ b/pages.ru/common/ghci.md @@ -0,0 +1,24 @@ +# ghci + +> Интерактивная среда Glasgow Haskell Compiler. +> Больше информации: . + +- Запустить REPL (интерактивную оболочку): + +`ghci` + +- Запустить REPL и загрузить указанный исходный файл Haskell: + +`ghci {{исходный_файл.hs}}` + +- Запустить REPL и включить опцию языка: + +`ghci -X{{опция_языка}}` + +- Запустить REPL и включить определённый уровень предупреждений компилятора (например, `all` или `compact`): + +`ghci -W{{уровень_предупреждений}}` + +- Запустить REPL со списком папок, разделённых двоеточием, в которых нужно искать исходные файлы: + +`ghci -i{{путь/до/папки1:путь/до/папки2:...}}` diff --git a/pages.ru/common/ghcup.md b/pages.ru/common/ghcup.md new file mode 100644 index 00000000000000..1beacb15551fd4 --- /dev/null +++ b/pages.ru/common/ghcup.md @@ -0,0 +1,33 @@ +# ghcup + +> Установщик набора инструментов Haskell. +> Установка, управление и обновление наборов инструментов Haskell. +> Больше информации: . + +- Запустить интерактивный текстовый интерфейс: + +`ghcup tui` + +- Вывести список доступных версий GHC/cabal: + +`ghcup list` + +- Установить рекомендуемую версию GHC: + +`ghcup install ghc` + +- Установить указанную версию GHC: + +`ghcup install ghc {{версия}}` + +- Задать "активную" версию GHC: + +`ghcup set ghc {{версия}}` + +- Установить инструмент cabal-install: + +`ghcup install cabal` + +- Обновить сам `ghcup`: + +`ghcup upgrade` diff --git a/pages.ru/common/gimp.md b/pages.ru/common/gimp.md new file mode 100644 index 00000000000000..a6ac317908bb93 --- /dev/null +++ b/pages.ru/common/gimp.md @@ -0,0 +1,25 @@ +# gimp + +> GNU программа для работы с изображениями. +> Смотрите также: `krita`. +> Больше информации: . + +- Запустить GIMP: + +`gimp` + +- Запустить без заставки: + +`gimp --no-splash` + +- Открыть указанные файлы: + +`gimp --new-instance {{путь/к/изображению1 путь/к/изображению2 ...}}` + +- Вывести ошибки и предупреждения в консоль, вместо отображения их в диалоговом окне: + +`gimp --console-messages` + +- Включить обработчики сигналов отладки: + +`gimp --debug-handlers` diff --git a/pages.ru/common/gnmic-sub.md b/pages.ru/common/gnmic-sub.md new file mode 100644 index 00000000000000..cd45f388c80ca3 --- /dev/null +++ b/pages.ru/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Эта команда — псевдоним для `gnmic subscribe`. + +- Смотри документацию для оригинальной команды: + +`tldr gnmic subscribe` diff --git a/pages.ru/common/grep.md b/pages.ru/common/grep.md new file mode 100644 index 00000000000000..5027e0a0fbcdc1 --- /dev/null +++ b/pages.ru/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Поиск по шаблону в файлах используя регулярные выражения. +> Больше информации: . + +- Искать в файле по шаблону: + +`grep "{{шаблон_поиска}}" {{путь/к/файлу}}` + +- Искать по заданной подстроке (регулярные выражения отключены): + +`grep {{[-F|--fixed-strings]}} "{{заданная_подстрока}}" {{путь/к/файлу}}` + +- Искать по шаблону во всех файлах в директории рекурсивно, показывая номера строк, там где подстрока была найдена, исключая бинарные(двоичные) файлы: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{шаблон_поиска}}" {{путь/к/директории}}` + +- Искать, используя расширенные регулярные выражения (поддержка `?`, `+`, `{}`, `()`, и `|`), без учета регистра: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{шаблон_поиска}}" {{путь/к/файлу}}` + +- Вывести 3 строки содержимого, до или после каждого совпадения: + +`grep {{--context|--before-context|--after-context}} 3 "{{шаблон_поиска}}" {{путь/к/файлу}}` + +- Вывести имя файла и номер строки для каждого совпадения: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{шаблон_поиска}}" {{путь/к/файлу}}` + +- Искать строки, где есть совпадение по шаблону поиска, вывод только совпадающей части текста: + +`grep {{[-o|--only-matching]}} "{{шаблон_поиска}}" {{путь/к/файлу}}` + +- Искать строки в стандартном потоке ввода которые не совпадают с шаблоном поиска: + +`cat {{путь/к/файлу}} | grep {{[-v|--invert-match]}} "{{шаблон_поиска}}"` diff --git a/pages.ru/common/gzip.md b/pages.ru/common/gzip.md new file mode 100644 index 00000000000000..983b0c7f9084d2 --- /dev/null +++ b/pages.ru/common/gzip.md @@ -0,0 +1,32 @@ +# gzip + +> Сжимать и распаковывать файлы с помощью сжатия `gzip` (LZ77). +> Больше информации: . + +- Сжать файл, заменив его архивом `gzip`: + +`gzip {{путь/к/файлу}}` + +- Распаковать файл, заменив его оригинальной несжатой версией: + +`gzip {{[-d|--decompress]}} {{путь/к/файлу.gz}}` + +- Сжать файл, сохранив исходный файл: + +`gzip {{[-k|--keep]}} {{путь/к/файлу}}` + +- Сжать файл, указав имя выходного файла: + +`gzip {{[-c|--stdout]}} {{путь/к/файлу}} > {{путь/к/сжатому_файлу.gz}}` + +- Распаковать `gzip` архив, указав имя выходного файла: + +`gzip {{[-cd|--stdout --decompress]}} {{путь/к/файлу.gz}} > {{путь/к/распакованному_файлу}}` + +- Указать уровень сжатия. 1 - самый быстрый (низкое сжатие), 9 - самый медленный (высокое сжатие), 6 - по умолчанию: + +`gzip -{{1..9}} {{[-c|--stdout]}} {{путь/к/файлу}} > {{путь/к/сжатому_файлу.gz}}` + +- Показывать имя и процент сжатия для каждого сжатого или распакованного файла: + +`gzip {{[-vd|--verbose --decompress]}} {{путь/к/файлу.gz}}` diff --git a/pages.ru/common/head.md b/pages.ru/common/head.md new file mode 100644 index 00000000000000..0d80f8fcca88cb --- /dev/null +++ b/pages.ru/common/head.md @@ -0,0 +1,20 @@ +# head + +> Выводит первую часть файлов. +> Больше информации: . + +- Вывести первые несколько строк из файла: + +`head -n {{количетсво_строк}} {{имя_файла}}` + +- Вывести первые несколько байтов из файла: + +`head -c {{количество_байт}} {{имя_файла}}` + +- Вывести все содержимое файла кроме нескольких последних строк: + +`head -n -{{количетсво_строк}} {{имя_файла}}` + +- Вывести все содержимое файла кроме нескольких последних байт: + +`head -c -{{количество_байт}} {{имя_файла}}` diff --git a/pages.ru/common/history.md b/pages.ru/common/history.md new file mode 100644 index 00000000000000..6957ff0c7b99e1 --- /dev/null +++ b/pages.ru/common/history.md @@ -0,0 +1,24 @@ +# history + +> История командной строки. +> Больше информации: . + +- Отобразить список истории команд с номерами строк: + +`history` + +- Отобразить последние 20 команд (в Zsh отображает все команды, начиная с 20-й): + +`history {{20}}` + +- Очистить список истории команд (только для текущей оболочки Bash): + +`history -c` + +- Перезаписать файл истории историей текущей оболочки Bash (часто комбинируется с `history -c` для очистки истории): + +`history -w` + +- Удалить элемент истории с указанным номером: + +`history -d {{номер}}` diff --git a/pages.ru/common/hostname.md b/pages.ru/common/hostname.md new file mode 100644 index 00000000000000..bffa6b01d1b1e1 --- /dev/null +++ b/pages.ru/common/hostname.md @@ -0,0 +1,24 @@ +# hostname + +> Показ и изменение системного имени хоста. +> Больше информации: . + +- Показать имя хоста: + +`hostname` + +- Показать сетевой адрес, соответствующий имени хоста: + +`hostname -i` + +- Показать все сетевые адреса хоста: + +`hostname -I` + +- Показать полное доменное имя (FQDN, Fully Qualified Domain Name): + +`hostname --fqdn` + +- Задать имя хоста: + +`hostname {{новое_имя}}` diff --git a/pages.ru/common/hunspell.md b/pages.ru/common/hunspell.md new file mode 100644 index 00000000000000..6ec03287635322 --- /dev/null +++ b/pages.ru/common/hunspell.md @@ -0,0 +1,16 @@ +# hunspell + +> Проверка орфографии. +> Больше информации: . + +- Проверить орфографию в указанном файле: + +`hunspell {{путь/до/файла}}` + +- Проверить орфографию в указанном файле, используя американский словарь (en_US): + +`hunspell -d {{en_US}} {{путь/до/файла}}` + +- Вывести список неправильно написанных слов в файле: + +`hunspell -l {{путь/до/файла}}` diff --git a/pages.ru/common/ispell.md b/pages.ru/common/ispell.md new file mode 100644 index 00000000000000..1d6ee112edb01b --- /dev/null +++ b/pages.ru/common/ispell.md @@ -0,0 +1,16 @@ +# ispell + +> Интерактивная проверка орфографии. +> Больше информации: . + +- Начать интерактивную сессию: + +`ispell` + +- Проверить на ошибки указанный файл и интерактивно применить исправления: + +`ispell {{путь/до/файла}}` + +- Отобразить версию: + +`ispell -v` diff --git a/pages.ru/common/jobs.md b/pages.ru/common/jobs.md new file mode 100644 index 00000000000000..89dd47491e54ba --- /dev/null +++ b/pages.ru/common/jobs.md @@ -0,0 +1,20 @@ +# jobs + +> Отображение статуса заданий в текущей сессии. +> Больше информации: . + +- Показать статусы всех заданий: + +`jobs` + +- Показать статус конкретного задания: + +`jobs %{{идентификатор_задания}}` + +- Показать статусы и идентификаторы процесса всех заданий: + +`jobs -l` + +- Показать идентификаторы процесса всех заданий: + +`jobs -p` diff --git a/pages.ru/common/jq.md b/pages.ru/common/jq.md new file mode 100644 index 00000000000000..7bc1700084b203 --- /dev/null +++ b/pages.ru/common/jq.md @@ -0,0 +1,32 @@ +# jq + +> Процессор JSON командной строки, использующий доменный язык. +> Больше информации: . + +- Выполнить указанное выражение (вывести цветной и отформатированный JSON): + +`{{cat путь/к/файлу.json}} | jq '.'` + +- Выполнить указанный скрипт: + +`{{cat путь/к/файлу.json}} | jq --from-file {{путь/к/скрипту.jq}}` + +- Передать указанные агрументы: + +`{{cat путь/к/файлу.json}} | jq {{--arg "имя1" "значение1" --arg "имя2" "значение2" ...}} '{{. + $ARGS.named}}'` + +- Вывести указанные ключи: + +`{{cat путь/к/файлу.json}} | jq '{{.ключ1, .ключ2, ...}}'` + +- Вывести указанные элементы массива: + +`{{cat путь/к/файлу.json}} | jq '{{.[индекс1], .[индекс2], ...}}'` + +- Вывести все элементы массива/ключи объекта: + +`{{cat путь/к/файлу.json}} | jq '.[]'` + +- Добавить/удалить указанные ключи: + +`{{cat путь/к/файлу.json}} | jq '. {{+|-}} {{{"ключ1": "значение1", "ключ2": "значение2", ...}}}'` diff --git a/pages.ru/common/krita.md b/pages.ru/common/krita.md new file mode 100644 index 00000000000000..fa9f614961dcfa --- /dev/null +++ b/pages.ru/common/krita.md @@ -0,0 +1,25 @@ +# krita + +> Krita - программа для создания эскизов и рисования, разработанная для цифровых художников. +> Смотрите также: `gimp`. +> Больше информации: . + +- Запустить krita: + +`krita` + +- Открыть указанные файлы: + +`krita {{путь/к/изображению1 путь/к/изображению2 ...}}` + +- Запустить без заставки: + +`krita --nosplash` + +- Запустить с указанным рабочим пространством (`Animation`): + +`krita --workspace {{Animation}}` + +- Запустить в полноэкранном режиме: + +`krita --fullscreen` diff --git a/pages.ru/common/llvm-ar.md b/pages.ru/common/llvm-ar.md new file mode 100644 index 00000000000000..dabf20f3ab65e3 --- /dev/null +++ b/pages.ru/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Эта команда — псевдоним для `ar`. + +- Смотри документацию для оригинальной команды: + +`tldr ar` diff --git a/pages.ru/common/llvm-g++.md b/pages.ru/common/llvm-g++.md new file mode 100644 index 00000000000000..03a352fa3b1f00 --- /dev/null +++ b/pages.ru/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Эта команда — псевдоним для `clang++`. + +- Смотри документацию для оригинальной команды: + +`tldr clang++` diff --git a/pages.ru/common/llvm-gcc.md b/pages.ru/common/llvm-gcc.md new file mode 100644 index 00000000000000..864bae891b1b36 --- /dev/null +++ b/pages.ru/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Эта команда — псевдоним для `clang`. + +- Смотри документацию для оригинальной команды: + +`tldr clang` diff --git a/pages.ru/common/llvm-nm.md b/pages.ru/common/llvm-nm.md new file mode 100644 index 00000000000000..a7e09973311fb7 --- /dev/null +++ b/pages.ru/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Эта команда — псевдоним для `nm`. + +- Смотри документацию для оригинальной команды: + +`tldr nm` diff --git a/pages.ru/common/llvm-objdump.md b/pages.ru/common/llvm-objdump.md new file mode 100644 index 00000000000000..9232cd34d94506 --- /dev/null +++ b/pages.ru/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Эта команда — псевдоним для `objdump`. + +- Смотри документацию для оригинальной команды: + +`tldr objdump` diff --git a/pages.ru/common/llvm-strings.md b/pages.ru/common/llvm-strings.md new file mode 100644 index 00000000000000..1013cdb4f687e3 --- /dev/null +++ b/pages.ru/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Эта команда — псевдоним для `strings`. + +- Смотри документацию для оригинальной команды: + +`tldr strings` diff --git a/pages.ru/common/ls.md b/pages.ru/common/ls.md index a1a40aa81431e6..4fc24ebd0964d3 100644 --- a/pages.ru/common/ls.md +++ b/pages.ru/common/ls.md @@ -1,6 +1,7 @@ # ls -> Выводит содержимого каталога. +> Вывод содержимого каталога. +> Больше информации: . - Список файлов по одному в строке: @@ -8,24 +9,28 @@ - Список всех файлов, включая скрытые: -`ls -a` +`ls {{[-a|--all]}}` -- Список всех файлов с добавлением в конце `/` к именам каталогов: +- Список всех файлов с добавлением в конце `/` к именам директорий: -`ls -F` +`ls {{[-F|--classify]}}` -- Подробный список с выводом разрешений, прав собственности, размера и даты изменения всех файлов: +- Подробный список с выводом разрешений, владельцев, размера и даты изменения всех файлов: -`ls -la` +`ls {{[-la|--all -l]}}` -- Подробный список с выводом размера файла в удобочитаемых единицах (КБ, МБ, ГБ): +- Подробный список с выводом размера файла в удобочитаемых единицах (КиБ, МиБ, ГиБ): -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` -- Подробный список отсортированный по размеру файлов (по убыванию): +- Подробный список, отсортированный по размеру файлов (по убыванию): -`ls -lS` +`ls {{-lSR|-lS --recursive}}` -- Подробный список отсортированный по дате изменения файла (более старые файлы сначала): +- Подробный список, отсортированный по дате изменения файла (сначала более старые): -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` + +- Список только директорий: + +`ls {{[-d|--directory]}} */` diff --git a/pages.ru/common/man.md b/pages.ru/common/man.md new file mode 100644 index 00000000000000..8d72810af605aa --- /dev/null +++ b/pages.ru/common/man.md @@ -0,0 +1,36 @@ +# man + +> Форматирует и отображает страницы руководства. +> Больше информации: . + +- Показать страницу руководства для команды: + +`man {{команда}}` + +- Открыть страницу руководства для команды в браузере (переменная окружения `BROWSER` может заменить `=browser_name`): + +`man {{[-H|--html=]}}{{имя_браузера}} {{команда}}` + +- Показать страницу руководства для команды из раздела 7: + +`man 7 {{команда}}` + +- Показать все доступные разделы для команды: + +`man {{[-f|--whatis]}} {{команда}}` + +- Показать пути, по которым выполняется поиск страниц руководства: + +`man {{[-w|--path]}}` + +- Показать расположение файла страницы руководства, а не саму страницу: + +`man {{[-w|--where]}} {{команда}}` + +- Показать страницу руководства, используя определенную локаль: + +`man {{[-L|--locale]}} {{локаль}} {{команда}}` + +- Искать страницы руководства, содержащие строку поиска: + +`man {{[-k|--apropos]}} "{{строка_поиска}}"` diff --git a/pages.ru/common/mcs.md b/pages.ru/common/mcs.md new file mode 100644 index 00000000000000..3c830ba7d92e22 --- /dev/null +++ b/pages.ru/common/mcs.md @@ -0,0 +1,16 @@ +# mcs + +> Mono компилятор C#. +> Больше информации: . + +- Скомпилировать указанные файлы: + +`mcs {{путь/к/входному_файлу1.cs путь/к/входному_файлу2.cs ...}}` + +- Указать имя выходной программы: + +`mcs -out:{{путь/к/файлу.exe}} {{путь/к/входному_файлу1.cs путь/к/входному_файлу2.cs ...}}` + +- Указать тип выходной программы: + +`mcs -target:{{exe|winexe|library|module}} {{путь/к/входному_файлу1.cs путь/к/входному_файлу2.cs ...}}` diff --git a/pages.ru/common/micro.md b/pages.ru/common/micro.md index 0b0b0b553b6977..164b39275a1a23 100644 --- a/pages.ru/common/micro.md +++ b/pages.ru/common/micro.md @@ -1,6 +1,6 @@ # micro -> Micro - это современный и интуитивно понятный консольный текстовый редактор. +> Micro — это современный и интуитивно понятный консольный текстовый редактор. > Micro поддерживает клавиатуру и мышь для навигации и/или выделения текста. > Больше информации: . @@ -8,22 +8,26 @@ `micro {{файл}}` +- Сохранить файл: + +`` + - Вырезать всю строку: -`Ctrl + K` +`` -- Искать в файле (используйте `Ctrl + N`/`Ctrl + P` чтобы перейти к следующему/предыдущему совпадению): +- Искать в файле по регулярному выражению (используйте ``/`` чтобы перейти к следующему/предыдущему совпадению): -`Ctrl + F "{{паттерн}}" <Ввод>` +`{{шаблон}}<Ввод>` - Выполнить команду: -`Ctrl + E {{команда}} <Ввод>` +`{{команда}}<Ввод>` - Выполнить замену во всем файле: -`Ctrl + E replaceall "{{строка}}" "{{замена}}" <Ввод>` +`replaceall "{{шаблон}}" "{{замена}}"<Ввод>` - Выход: -`Ctrl + Q` +`` diff --git a/pages.ru/common/mkdir.md b/pages.ru/common/mkdir.md new file mode 100644 index 00000000000000..f24262ccdfe52e --- /dev/null +++ b/pages.ru/common/mkdir.md @@ -0,0 +1,20 @@ +# mkdir + +> Создание директорий и установка их прав доступа. +> Больше информации: . + +- Создать указанные директории: + +`mkdir {{путь/к/каталогу1 путь/к/каталогу2 ...}}` + +- Создать указанные директории, включая родительские, при необходимости: + +`mkdir {{[-p|--parents]}} {{путь/к/каталогу1 путь/к/каталогу2 ...}}` + +- Создать директории с указанными правами доступа: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{путь/к/каталогу1 путь/к/каталогу2 ...}}` + +- Создать несколько вложенных директорий рекурсивно: + +`mkdir {{[-p|--parents]}} {{path/to/{a,b}/{x,y,z}/{h,i,j}}}` diff --git a/pages.ru/common/mscore.md b/pages.ru/common/mscore.md new file mode 100644 index 00000000000000..153971560ecc72 --- /dev/null +++ b/pages.ru/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Эта команда — псевдоним для `musescore`. + +- Смотри документацию для оригинальной команды: + +`tldr musescore` diff --git a/pages.ru/common/netstat.md b/pages.ru/common/netstat.md new file mode 100644 index 00000000000000..b130a07643991b --- /dev/null +++ b/pages.ru/common/netstat.md @@ -0,0 +1,33 @@ +# netstat + +> Отображать сетевую информацию, такую как активные соединения, открытые порты сокетов и т.д. +> Смотрите также: `ss`. +> Больше информации: . + +- Показать все порты: + +`netstat {{[-a|--all]}}` + +- Показать все прослушиваемые порты: + +`netstat {{[-l|--listening]}}` + +- Показать прослушиваемые TCP-порты: + +`netstat {{[-t|--tcp]}}` + +- Показать идентификатор процесса (PID) и имена программ: + +`netstat {{[-p|--program]}}` + +- Выводить информацию непрерывно: + +`netstat {{[-c|--continuous]}}` + +- Показать таблицу маршрутизации и не преобразовывать IP-адреса в имена хостов: + +`netstat {{[-rn|--route --numeric]}}` + +- Показать прослушиваемые TCP и UDP порты (с указанием пользователя и процесса, если запущено от имени root): + +`netstat {{[-tulpne|--tcp --udp --listening --program --numeric --extend]}}` diff --git a/pages.ru/common/nohup.md b/pages.ru/common/nohup.md new file mode 100644 index 00000000000000..002a01a9a10b76 --- /dev/null +++ b/pages.ru/common/nohup.md @@ -0,0 +1,20 @@ +# nohup + +> Позволяет процессу продолжать работу после закрытия терминала. +> Больше информации: . + +- Запустить процесс, который может выполняться в отвязке от терминала: + +`nohup {{команда}} {{аргумент1 аргумент2 ...}}` + +- Запустить `nohup` в фоновом режиме: + +`nohup {{команда}} {{аргумент1 аргумент2 ...}} &` + +- Запустить скрипт оболочки, который может выполняться в отвязке от терминала: + +`nohup {{путь/до/скрипта.sh}} &` + +- Запустить процесс и перенаправить его вывод в указанный файл: + +`nohup {{команда}} {{аргумент1 аргумент2 ...}} > {{путь/до/выходного_файла}} &` diff --git a/pages.ru/common/ping.md b/pages.ru/common/ping.md new file mode 100644 index 00000000000000..0024d42c512aff --- /dev/null +++ b/pages.ru/common/ping.md @@ -0,0 +1,32 @@ +# ping + +> Отправка пакетов ICMP ECHO_REQUEST сетевым узлам. +> Больше информации: . + +- Пинговать хост: + +`ping {{хост}}` + +- Пинговать хост определенное количество раз: + +`ping -c {{количество}} {{хост}}` + +- Пинговать хост с заданным интервалом в секундах между запросами: + +`ping -i {{секунды}} {{хост}}` + +- Пинговать хост без попытки определить символьные имена для адресов: + +`ping -n {{хост}}` + +- Пинговать хост со звуковым сигналом при получении ответа (полезно для проверки соединения вручную): + +`ping -a {{хост}}` + +- Также отображать сообщение, если ответ не был получен: + +`ping -O {{хост}}` + +- Пинговать хост с определенным количеством запросов, таймаутом для каждого пакета и общим таймаутом выполнения: + +`ping -c {{количество}} -W {{секунды}} -w {{секунды}} {{хост}}` diff --git a/pages.ru/common/pio-init.md b/pages.ru/common/pio-init.md new file mode 100644 index 00000000000000..65a3846b9767ff --- /dev/null +++ b/pages.ru/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Эта команда — псевдоним для `pio project`. + +- Смотри документацию для оригинальной команды: + +`tldr pio project` diff --git a/pages.ru/common/piodebuggdb.md b/pages.ru/common/piodebuggdb.md new file mode 100644 index 00000000000000..b1e526eb12f712 --- /dev/null +++ b/pages.ru/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Эта команда — псевдоним для `pio debug`. + +- Смотри документацию для оригинальной команды: + +`tldr pio debug` diff --git a/pages.ru/common/platformio.md b/pages.ru/common/platformio.md new file mode 100644 index 00000000000000..3b7a2b04aabaf6 --- /dev/null +++ b/pages.ru/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Эта команда — псевдоним для `pio`. + +- Смотри документацию для оригинальной команды: + +`tldr pio` diff --git a/pages.ru/common/pwd.md b/pages.ru/common/pwd.md new file mode 100644 index 00000000000000..503fd00582d2e9 --- /dev/null +++ b/pages.ru/common/pwd.md @@ -0,0 +1,16 @@ +# pwd + +> Вывести название текущего/рабочего каталога. +> Больше информации: . + +- Вывести текущий каталог: + +`pwd` + +- Вывести текущий каталог, разрешая все символические ссылки (т.е. показать "физический" путь): + +`pwd {{[-P|--physical]}}` + +- Отобразить помощь: + +`pwd --help` diff --git a/pages.ru/common/r2.md b/pages.ru/common/r2.md new file mode 100644 index 00000000000000..ef056431f81d08 --- /dev/null +++ b/pages.ru/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Эта команда — псевдоним для `radare2`. + +- Смотри документацию для оригинальной команды: + +`tldr radare2` diff --git a/pages.ru/common/rm.md b/pages.ru/common/rm.md new file mode 100644 index 00000000000000..45519ea0cc50e9 --- /dev/null +++ b/pages.ru/common/rm.md @@ -0,0 +1,20 @@ +# rm + +> Удалить файлы или каталоги. +> Больше информации: . + +- Удалить файлы из определённых мест: + +`rm {{путь/до/файла1 путь/до/файла2 ...}}` + +- Интерактивное удаление нескольких файлов с запросом перед каждым удалением: + +`rm -i {{путь/до/файла1 путь/до/файла2 ...}}` + +- Удаление файлов с подробным выводом, печать сообщения для каждого удаленного файла: + +`rm -v {{путь/до/директории/*}}` + +- Рекурсивно удалить каталог и все его подкаталоги: + +`rm -r {{путь/до/директории}}` diff --git a/pages.ru/common/ssh.md b/pages.ru/common/ssh.md new file mode 100644 index 00000000000000..8672275c6e9dbd --- /dev/null +++ b/pages.ru/common/ssh.md @@ -0,0 +1,37 @@ +# ssh + +> Secure Shell (SSH) — это протокол для безопасного входа на удаленные системы. +> Его можно использовать для входа или выполнения команд на удаленном сервере. +> Больше информации: . + +- Подключиться к удаленному серверу: + +`ssh {{имя_пользователя}}@{{удаленный_хост}}` + +- Подключиться к удаленному серверу с использованием определенного приватного ключа: + +`ssh -i {{путь/к/файлу_ключа}} {{имя_пользователя}}@{{удаленный_хост}}` + +- Подключиться к удаленному серверу с IP-адресом 10.0.0.1, используя определенный порт [p]: + +`ssh {{имя_пользователя}}@10.0.0.1 -p {{2222}}` + +- Запустить команду на удаленном сервере с выделением [t]ty, что позволяет взаимодействовать с удаленной командой: + +`ssh {{имя_пользователя}}@{{удаленный_хост}} -t {{команда}} {{аргументы_команды}}` + +- SSH-туннелирование: динамическая [D] переадресация портов (SOCKS-прокси на `localhost:1080`): + +`ssh -D {{1080}} {{имя_пользователя}}@{{удаленный_хост}}` + +- SSH-туннелирование: переадресовать определенный порт (`localhost:9999` на `example.com:80`) с отключением псевдо-[T]ty и выполне[N]ия удаленных команд: + +`ssh -L {{9999}}:{{example.com}}:{{80}} -N -T {{имя_пользователя}}@{{удаленный_хост}}` + +- SSH-прыжок [J]: подключиться к удаленному серверу через промежуточный хост (можно указать несколько хостов через запятую): + +`ssh -J {{имя_пользователя}}@{{промежуточный_хост}} {{имя_пользователя}}@{{удаленный_хост}}` + +- Закрыть зависшую сессию: + +`<~><.>` diff --git a/pages.ru/common/stat.md b/pages.ru/common/stat.md new file mode 100644 index 00000000000000..61861f07063796 --- /dev/null +++ b/pages.ru/common/stat.md @@ -0,0 +1,28 @@ +# stat + +> Показ информации о файле и файловой системе. +> Больше информации: . + +- Показать свойства файла, такие как размер, права доступа, даты создания и последнего обращения и другие: + +`stat {{путь/до/файла}}` + +- То же, что и выше, но в сжатой форме: + +`stat --terse {{путь/до/файла}}` + +- Показать информацию о файловой системе: + +`stat --file-system {{путь/до/файла}}` + +- Показать только права доступа в восьмеричном виде: + +`stat --format="%a %n" {{путь/до/файла}}` + +- Показать владельца и группу файла: + +`stat --format="%U %G" {{путь/до/файла}}` + +- Показать размер файла в байтах: + +`stat --format="%s %n" {{путь/до/файла}}` diff --git a/pages.ru/common/stty.md b/pages.ru/common/stty.md new file mode 100644 index 00000000000000..f183da35996257 --- /dev/null +++ b/pages.ru/common/stty.md @@ -0,0 +1,20 @@ +# stty + +> Настройка параметров интерфейса терминального устройства. +> Больше информации: . + +- Показать все настройки для текущего терминала: + +`stty --all` + +- Задать количество строк или столбцов: + +`stty {{rows|cols}} {{количество}}` + +- Получить фактическую скорость передачи данных устройства: + +`stty --file {{путь/до/файла_устройства}} speed` + +- Сбросить все режимы до разумных значений для текущего терминала: + +`stty sane` diff --git a/pages.ru/common/sudo.md b/pages.ru/common/sudo.md new file mode 100644 index 00000000000000..ace6c362baf2f2 --- /dev/null +++ b/pages.ru/common/sudo.md @@ -0,0 +1,36 @@ +# sudo + +> Выполнять команду от имени суперпользователя или другого пользователя. +> Больше информации: . + +- Выполнить команду от имени суперпользователя: + +`sudo {{less /var/log/syslog}}` + +- Отредактировать файл от имени суперпользователя, используя редактор по умолчанию: + +`sudo {{[-e|--edit]}} {{/etc/fstab}}` + +- Выполнить команду от имени другого пользователя и/или группы: + +`sudo {{[-u|--user]}} {{пользователь}} {{[-g|--group]}} {{группа}} {{id -a}}` + +- Повторить последнюю команду, добавив перед ней `sudo` (работает в Bash, Zsh и т.д.): + +`sudo !!` + +- Запустить оболочку по умолчанию с правами суперпользователя, выполнив файлы входа в систему (`.profile`, `.bash_profile` и т.д.): + +`sudo {{[-i|--login]}}` + +- Запустить оболочку по умолчанию с правами суперпользователя, не меняя переменных окружения: + +`sudo {{[-s|--shell]}}` + +- Запустить оболочку по умолчанию от имени указанного пользователя, загрузив его окружение и файлы входа в систему (`.profile`, `.bash_profile` и т.д.): + +`sudo {{[-i|--login]}} {{[-u|--user]}} {{пользователь}}` + +- Показать список разрешенных (и запрещенных) команд для текущего пользователя: + +`sudo {{[-ll|--list --list]}}` diff --git a/pages.ru/common/tar.md b/pages.ru/common/tar.md index 667659e339bad3..bc92cd87371604 100644 --- a/pages.ru/common/tar.md +++ b/pages.ru/common/tar.md @@ -1,7 +1,7 @@ # tar > Утилита архивирования. -> Обычно используется в сочетании с методом сжатия, такими как gzip или bzip. +> Обычно используется в сочетании с методом сжатия, такими как gzip или bzip2. > Больше информации: . - Создать архив из файлов: @@ -12,30 +12,22 @@ `tar czf {{целевой.tar.gz}} {{файл1}} {{файл2}} {{файл3}}` -- Создать gzip архив из деректории, используя относительные пути: +- Создать gzip-архив из директории, используя относительные пути: -`tar czf {{целевой.tar.gz}} -C {{путь/до/папки}} .` - -- Извлечь (сжатый) архив в текущую папку: - -`tar xf {{исходный.tar[.gz|.bz2|.xz]}}` +`tar czf {{целевой.tar.gz}} {{[-C|--directory]}} {{путь/до/папки}} .` - Извлечь (сжатый) архив в указанную папку: -`tar xf {{исходный.tar[.gz|.bz2|.xz]}} -C {{папка}}` +`tar xf {{исходный.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{папка}}` -- Создать сжатый архив, использую суффикс архива для определения программы сжатия: +- Создать сжатый архив, используя суффикс архива для определения программы сжатия: `tar caf {{целевой.tar.xz}} {{файл1}} {{файл2}} {{файл3}}` -- Вывести список содержимого tar файла: +- Вывести список содержимого tar-файла: `tar tvf {{исходный.tar}}` -- Извлечь файлы удовлетворяющие шаблону: +- Извлечь файлы, соответствующие шаблону: `tar xf {{исходный.tar}} --wildcards "{{*.html}}"` - -- Извлечь определённый файл без сохранения структуры папок: - -`tar xf {{исходный.tar}} {{исходный.tar/путь/до/извлекаемого}} --strip-components={{глубина_раздевания}}` diff --git a/pages.ru/common/tldr.md b/pages.ru/common/tldr.md index f97168fca2c8a5..280e2fc3656d53 100644 --- a/pages.ru/common/tldr.md +++ b/pages.ru/common/tldr.md @@ -1,20 +1,37 @@ # tldr > Показывает простые страницы помощи для инструментов коммандной строки из проекта tldr-pages. -> Больше информации: . +> Примечание: параметры `--language` и `--list` не требуются в спецификации клиента, но большинство клиентов их используют. +> Больше информации: . -- Показывает типичное использование комманды (подсказка: то как вы попали сюда!): +- Вывести страницу tldr для конкретной команды (подсказка: именно так вы сюда попали!): -`tldr {{комманда}}` +`tldr {{команда}}` -- Показывает tldr страницу для комманды tar для Linux +- Вывести страницу tldr для конкретной подкоманды: -`tldr -p {{linux}} {{tar}}` +`tldr {{команда}} {{подкоманда}}` -- Получить помощь по подкоманде Git: +- Вывести страницу tldr для команды на указанном языке (если доступно, иначе используется английский): -`tldr {{git-checkout}}` +`tldr {{[-L|--language]}} {{код_языка}} {{команда}}` -- Обновить локальные tldr страницы (если клиент поддерживает кэширование): +- Вывести страницу tldr для команды с конкретной платформы: -`tldr -u` +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{команда}}` + +- Обновить локальный кэш страниц tldr: + +`tldr {{[-u|--update]}}` + +- Вывести список всех страниц для текущей платформы и категории `common`: + +`tldr {{[-l|--list]}}` + +- Вывести список всех доступных страниц подкоманд для команды: + +`tldr {{[-l|--list]}} | grep {{команда}} | column` + +- Вывести страницу tldr для случайной команды: + +`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr` diff --git a/pages.ru/common/tldrl.md b/pages.ru/common/tldrl.md new file mode 100644 index 00000000000000..16a88199b947e9 --- /dev/null +++ b/pages.ru/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Эта команда — псевдоним для `tldr-lint`. + +- Смотри документацию для оригинальной команды: + +`tldr tldr-lint` diff --git a/pages.ru/common/tlmgr-arch.md b/pages.ru/common/tlmgr-arch.md new file mode 100644 index 00000000000000..afb27e6205d4d1 --- /dev/null +++ b/pages.ru/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Эта команда — псевдоним для `tlmgr platform`. + +- Смотри документацию для оригинальной команды: + +`tldr tlmgr platform` diff --git a/pages.ru/common/tput.md b/pages.ru/common/tput.md new file mode 100644 index 00000000000000..0467a94111d3fa --- /dev/null +++ b/pages.ru/common/tput.md @@ -0,0 +1,28 @@ +# tput + +> Просмотр и изменение настроек и возможностей терминала. +> Больше информации: . + +- Переместить курсор в определённое место на экране: + +`tput cup {{номер_строки}} {{номер_столбца}}` + +- Установить цвет переднего плана (af) или фона (ab): + +`tput {{setaf|setab}} {{ansi_код_цвета}}` + +- Показать количество столбцов, строк или цветов: + +`tput {{cols|lines|colors}}` + +- Подать звуковой сигнал терминала: + +`tput bel` + +- Сбросить все атрибуты терминала: + +`tput sgr0` + +- Включить или отключить перенос слов: + +`tput {{smam|rmam}}` diff --git a/pages.ru/common/tty.md b/pages.ru/common/tty.md new file mode 100644 index 00000000000000..01245c29504552 --- /dev/null +++ b/pages.ru/common/tty.md @@ -0,0 +1,8 @@ +# tty + +> Выводит название терминала. +> Больше информации: . + +- Вывести имя файла, соответствующее текущему терминалу: + +`tty` diff --git a/pages.ru/common/uname.md b/pages.ru/common/uname.md new file mode 100644 index 00000000000000..35a7c983c9a29f --- /dev/null +++ b/pages.ru/common/uname.md @@ -0,0 +1,33 @@ +# uname + +> Показать информацию о текущей машине и операционной системе. +> Смотрите также: `lsb_release`. +> Больше информации: . + +- Показать имя ядра: + +`uname` + +- Показать всю доступную системную информацию: + +`uname {{[-a|--all]}}` + +- Показать архитектуру системы и информацию о процессоре: + +`uname {{[-mp|--machine --processor]}}` + +- Показать имя ядра, релиз ядра и версию ядра: + +`uname {{[-srv|--kernel-name --kernel-release --kernel-version]}}` + +- Показать сетевое имя хоста системы: + +`uname {{[-n|--nodename]}}` + +- Показать имя текущей операционной системы: + +`uname {{[-o|--operating-system]}}` + +- Показать справку: + +`uname --help` diff --git a/pages.ru/common/unzip.md b/pages.ru/common/unzip.md index 4242d2ecc14f43..1518c208941e83 100644 --- a/pages.ru/common/unzip.md +++ b/pages.ru/common/unzip.md @@ -1,6 +1,7 @@ # unzip > Извлекает сжатые файлы из архива zip. +> Больше информации: . - Распаковать файл(ы) zip (для нескольких файлов укажите пути через пробел): diff --git a/pages.ru/common/vi.md b/pages.ru/common/vi.md new file mode 100644 index 00000000000000..2a54eb997c78a3 --- /dev/null +++ b/pages.ru/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Эта команда — псевдоним для `vim`. + +- Смотри документацию для оригинальной команды: + +`tldr vim` diff --git a/pages.ru/common/weasyprint.md b/pages.ru/common/weasyprint.md index 710a547a7989c4..60e7a577b28158 100644 --- a/pages.ru/common/weasyprint.md +++ b/pages.ru/common/weasyprint.md @@ -19,6 +19,6 @@ `weasyprint {{путь/до/входного.html}} {{путь/до/выходного.png}} --resolution {{300}}` -- Во входном HTML файле указать базовый url для относительных urls: +- Во входном HTML файле указать базовый URL для относительных URLs: `weasyprint {{путь/до/входного.html}} {{путь/до/выходного.png}} --base-url {{url_или_имя-файла}}` diff --git a/pages.ru/common/which.md b/pages.ru/common/which.md new file mode 100644 index 00000000000000..a76e570d18ce03 --- /dev/null +++ b/pages.ru/common/which.md @@ -0,0 +1,12 @@ +# which + +> Отобразить абсолютный путь к программе. +> Больше информации: . + +- Найти переменную окружения PATH и отобразить расположение всех соответствующих исполняемых файлов: + +`which {{исполняемый_файл}}` + +- Если есть несколько исполняемых файлов, которые совпадают, отобразить все: + +`which {{[-a|--all]}} {{исполняемый_файл}}` diff --git a/pages.ru/common/zip.md b/pages.ru/common/zip.md index b99d1cc7586816..a5c208990d25ea 100644 --- a/pages.ru/common/zip.md +++ b/pages.ru/common/zip.md @@ -1,35 +1,33 @@ # zip > Упаковывает и сжимает (архивирует) файлы в файл zip. +> Смотрите также: `unzip`. +> Больше информации: . -- Упаковать и сжать папку и её содержимое, рекурсивно ([r]ecursive): +- Добавить файлы/папки в указанный архив ([r]ecursively): -`zip -r {{архив.zip}} {{/путь/до/папки}}` +`zip {{[-r|--recurse-paths]}} {{путь/до/архива.zip}} {{путь/до/файла_или_папки1 путь/до/файла_или_папки2 ...}}` -- Исключить (e[x]clude) ненужные файлы из добавляемых в сжатый архив: +- Удалить файлы/папки из указанного архива ([d]elete): -`zip -r {{архив.zip}} {{путь/до/папки}} -x {{путь/который/исключаем}}` +`zip {{[-d|--delete]}} {{путь/до/архива.zip}} {{путь/до/файла_или_папки1 путь/до/файла_или_папки2 ...}}` -- Архивировать папку и её содержимое с самым сильным [9] сжатием: +- Заархивировать файлы/папки, исключая некоторые (e[x]clude): -`zip -r -{{9}} {{архив.zip}} {{/путь/до/папки}}` +`zip {{[-r|--recurse-paths]}} {{путь/до/архива.zip}} {{путь/до/файла_или_папки1 путь/до/файла_или_папки2 ...}} {{[-x|--exclude]}} {{путь/до/исключаемых_файлов_или_папок}}` -- Упаковать и сжать несколько папок и файлов: +- Заархивировать файлы/папки с заданной степенью сжатия (`0` — без сжатия, `9` — максимальная): -`zip -r {{архив.zip}} {{/путь/до/папки1 /путь/до/папки2 /путь/до/файла}}` +`zip {{[-r|--recurse-paths]}} -{{0-9}} {{путь/до/архива.zip}} {{путь/до/файла_или_папки1 путь/до/файла_или_папки2 ...}}` -- Создать зашифрованный архив (пользователя спросят пароль): +- Создать зашифрованный паролем архив ([e]ncrypted): -`zip -e -r {{архив.zip}} {{путь/до/папки}}` +`zip {{[-re|--recurse-paths --encrypt]}} {{путь/до/архива.zip}} {{путь/до/файла_или_папки1 путь/до/файла_или_папки2 ...}}` -- Добавить файлы в существующий файл zip: +- Заархивировать файлы/папки в многотомный архив ([s]plit), например, частями по 3 Гб: -`zip {{архив.zip}} {{путь/до/файла}}` +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{путь/до/архива.zip}} {{путь/до/файла_или_папки1 путь/до/файла_или_папки2 ...}}` -- Удалить файлы из существующего файла zip: +- Вывести содержимое указанного архива ([s]how [f]iles): -`zip -d {{архив.zip}} "{{папка/*.tmp}}"` - -- Архивировать папку и её содержимое, разделив ([s]plit) файл zip на несколько томов (например, кусками по 3 ГБ): - -`zip -r -s {{3g}} {{архив.zip}} {{путь/до/папки}}` +`zip {{[-sf|--split-size --freshen]}} {{путь/до/архива.zip}}` diff --git a/pages.ru/common/zsh.md b/pages.ru/common/zsh.md new file mode 100644 index 00000000000000..88dd08903249a4 --- /dev/null +++ b/pages.ru/common/zsh.md @@ -0,0 +1,29 @@ +# zsh + +> Z SHell — командный интерпретатор, совместимый с Bash. +> Смотри также `histexpand` про подстановку команд из списка истории. +> Больше информации: . + +- Запустить интерактивную сессию оболочки: + +`zsh` + +- Выполнить команду и выйти: + +`zsh -c "{{команда}}"` + +- Выполнить скрипт: + +`zsh {{путь/до/скрипта.zsh}}` + +- Выполнить скрипт с выводом каждой команды перед её выполнением: + +`zsh --xtrace {{путь/до/скрипта.zsh}}` + +- Запустить интерактивную сессию оболочки в подробном режиме, выводя каждую команду перед её выполнением: + +`zsh --verbose` + +- Выполнить определённую команду внутри Zsh с отключёнными glob-шаблонами: + +`noglob {{команда}}` diff --git a/pages.ru/linux/add-apt-repository.md b/pages.ru/linux/add-apt-repository.md new file mode 100644 index 00000000000000..bda7bb56962f21 --- /dev/null +++ b/pages.ru/linux/add-apt-repository.md @@ -0,0 +1,20 @@ +# add-apt-repository + +> Управление определениями репозиториев `apt`. +> Больше информации: . + +- Добавить новый репозиторий `apt`: + +`add-apt-repository {{спецификация_репозитория}}` + +- Удалить репозиторий `apt`: + +`add-apt-repository {{[-r|--remove]}} {{спецификация_репозитория}}` + +- Обновить кэш пакетов после добавления репозитория: + +`add-apt-repository --update {{спецификация_репозитория}}` + +- Разрешить загрузку исходных пакетов из репозитория: + +`add-apt-repository {{[-s|--enable-source]}} {{спецификация_репозитория}}` diff --git a/pages.ru/linux/apk.md b/pages.ru/linux/apk.md new file mode 100644 index 00000000000000..0cd0b2fde2d409 --- /dev/null +++ b/pages.ru/linux/apk.md @@ -0,0 +1,36 @@ +# apk + +> Инструмент управления пакетами Alpine Linux. +> Больше информации: . + +- Обновить индекс репозиториев и обновить все пакеты: + +`apk upgrade {{[-U|--update-cache]}}` + +- Обновить только индекс репозиториев: + +`apk update` + +- Установить новый пакет: + +`apk add {{пакет}}` + +- Удалить пакет: + +`apk del {{пакет}}` + +- Отремонтировать/переустановить пакет без изменения основных зависимостей: + +`apk fix {{пакет}}` + +- Искать пакеты по ключевому слову и вывести результаты с их описаниями: + +`apk search {{[-v|--verbose]}} {{ключевое_слово}}` + +- Искать пакеты по ключевому слову в их описании: + +`apk search {{[-d|--description]}} {{ключевое_слово}}` + +- Отобразить информацию о конкретном пакете: + +`apk info {{пакет}}` diff --git a/pages.ru/linux/apt-add-repository.md b/pages.ru/linux/apt-add-repository.md new file mode 100644 index 00000000000000..37fe6aa4c1e16e --- /dev/null +++ b/pages.ru/linux/apt-add-repository.md @@ -0,0 +1,7 @@ +# apt-add-repository + +> Эта команда - псевдоним команды `add-apt-repository`. + +- Отобразить документацию по исходной команде: + +`tldr add-apt-repository` diff --git a/pages.ru/linux/apt-cache.md b/pages.ru/linux/apt-cache.md new file mode 100644 index 00000000000000..78b384d27e65a0 --- /dev/null +++ b/pages.ru/linux/apt-cache.md @@ -0,0 +1,24 @@ +# apt-cache + +> Инструмент поиска пакетов для Debian и Ubuntu. +> Больше информации: . + +- Поиск пакета в локальной базе пакетов: + +`apt-cache search {{запрос}}` + +- Показать информацию о пакете: + +`apt-cache show {{пакет}}` + +- Показать, установлен ли пакет и обновлен ли он: + +`apt-cache policy {{пакет}}` + +- Показать зависимости для пакета: + +`apt-cache depends {{пакет}}` + +- Показать пакеты, которые зависят от определенного пакета: + +`apt-cache rdepends {{пакет}}` diff --git a/pages.ru/linux/apt-file.md b/pages.ru/linux/apt-file.md new file mode 100644 index 00000000000000..ba3aae4833f687 --- /dev/null +++ b/pages.ru/linux/apt-file.md @@ -0,0 +1,20 @@ +# apt-file + +> Поиск файлов в пакетах `apt`, в том числе еще не установленных. +> Больше информации: . + +- Обновить базу данных метаданных: + +`sudo apt update` + +- Поиск пакетов, содержащих указанный файл или путь: + +`apt-file {{search|find}} {{частичный_путь/к/файлу}}` + +- Вывести содержимое конкретного пакета: + +`apt-file {{show|list}} {{пакет}}` + +- Поиск пакетов, соответствующих регулярному выражению: + +`apt-file {{search|find}} {{[-x|--regexp]}} {{регулярное_выражение}}` diff --git a/pages.ru/linux/apt-get.md b/pages.ru/linux/apt-get.md new file mode 100644 index 00000000000000..1e4744c44c9742 --- /dev/null +++ b/pages.ru/linux/apt-get.md @@ -0,0 +1,38 @@ +# apt-get + +> Утилита управления пакетами для Debian и Ubuntu. +> Для поиска пакетов используйте `apt-cache`. +> Рекомендуется использовать `apt` при интерактивном использовании в Ubuntu начиная с версии 16.04. +> Больше информации: . + +- Обновить список доступных пакетов и их версий (рекомендуется перед выполнением других команд `apt-get`): + +`apt-get update` + +- Установить пакет или обновить его до последней версии: + +`apt-get install {{пакет}}` + +- Удалить пакет: + +`apt-get remove {{пакет}}` + +- Удалить пакет и его конфигурационные файлы: + +`apt-get purge {{пакет}}` + +- Обновить все установленные пакеты до последних версий: + +`apt-get upgrade` + +- Очистить локальный репозиторий - удалить файлы пакетов (`.deb`) из прерванных загрузок, которые больше не могут быть загружены: + +`apt-get autoclean` + +- Удалить все пакеты, которые больше не нужны, так как пакеты, от которых они зависели, были удалены: + +`apt-get autoremove` + +- Обновить установленные пакеты (как с помощью команды `upgrade`), но удалить устаревшие пакеты и установить дополнительные пакеты, чтобы удовлетворить новые зависимости: + +`apt-get dist-upgrade` diff --git a/pages.ru/linux/apt-install.md b/pages.ru/linux/apt-install.md new file mode 100644 index 00000000000000..63ae2867bf821d --- /dev/null +++ b/pages.ru/linux/apt-install.md @@ -0,0 +1,12 @@ +# apt install + +> Установить пакеты для дистрибутивов на базе Debian. +> Больше информации: . + +- Установить пакет или обновить его до последней версии: + +`sudo apt install {{пакет}}` + +- Отобразить подробную информацию о версии пакета во время установки или обновления: + +`sudo apt install {{[-V|--verbose-versions]}} {{пакет}}` diff --git a/pages.ru/linux/apt-key.md b/pages.ru/linux/apt-key.md new file mode 100644 index 00000000000000..bf27d87d64c9d8 --- /dev/null +++ b/pages.ru/linux/apt-key.md @@ -0,0 +1,25 @@ +# apt-key + +> Утилита управления ключами для диспетчера пакетов APT в Debian и Ubuntu. +> Примечание: `apt-key` теперь устарел (за исключением использования `apt-key del` в скриптах разработчиков). +> Больше информации: . + +- Список доверенных ключей: + +`apt-key list` + +- Добавить ключ в список доверенных ключей: + +`apt-key add {{файл_публичного_ключа.asc}}` + +- Удалить ключ из списка доверенных ключей: + +`apt-key del {{идентификатор_ключа}}` + +- Добавить удалённый ключ в список доверенных ключей: + +`wget {{[-qO|--quiet --output-document]}} - {{https://host.tld/файл.key}} | apt-key add -` + +- Добавить ключ с сервера ключей, указав только идентификатор ключа: + +`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{идентификатор_ключа}}` diff --git a/pages.ru/linux/apt-mark.md b/pages.ru/linux/apt-mark.md new file mode 100644 index 00000000000000..4399bd8a23abca --- /dev/null +++ b/pages.ru/linux/apt-mark.md @@ -0,0 +1,24 @@ +# apt-mark + +> Утилита для изменения статуса установленных пакетов. +> Больше информации: . + +- Отметить пакет как автоматически установленный: + +`sudo apt-mark auto {{пакет}}` + +- Удерживать пакет в его текущей версии и запретить его обновление: + +`sudo apt-mark hold {{пакет}}` + +- Перестать удерживать пакет и разрешить его обновление: + +`sudo apt-mark unhold {{пакет}}` + +- Показать пакеты, установленные вручную: + +`apt-mark showmanual` + +- Показать удерживаемые пакеты: + +`apt-mark showhold` diff --git a/pages.ru/linux/apt-moo.md b/pages.ru/linux/apt-moo.md new file mode 100644 index 00000000000000..f97d74db80d628 --- /dev/null +++ b/pages.ru/linux/apt-moo.md @@ -0,0 +1,8 @@ +# apt moo + +> Пасхальное яйцо `APT`. +> Больше информации: . + +- Отобразить пасхальное яйцо с изображением коровы: + +`apt moo` diff --git a/pages.ru/linux/apt.md b/pages.ru/linux/apt.md new file mode 100644 index 00000000000000..8282779c5263fc --- /dev/null +++ b/pages.ru/linux/apt.md @@ -0,0 +1,38 @@ +# apt + +> Менеджер пакетов для дистрибутивов на базе Debian. +> Предназначен как удобная альтернатива `apt-get` для интерактивного использования. +> Эквивалентные команды в других пакетных менеджерах смотрите в . +> Больше информации: . + +- Обновить список доступных пакетов и их версий (рекомендуется перед выполнением других команд `apt`): + +`sudo apt update` + +- Поиск пакетов по названию или описанию: + +`apt search {{пакет}}` + +- Поиск пакетов только по имени (поддерживает такие символы подстановки, как `*`): + +`apt list {{пакет}}` + +- Показать подробную информацию о пакете: + +`apt show {{пакет}}` + +- Установить пакет или обновить его до последней версии: + +`sudo apt install {{пакет}}` + +- Удалить пакет (используйте `purge`, чтобы удалить и конфигурационные файлы): + +`sudo apt remove {{пакет}}` + +- Обновить все установленные пакеты до последних версий: + +`sudo apt upgrade` + +- Вывести список всех установленных пакетов: + +`apt list {{[-i|--installed]}}` diff --git a/pages.ru/linux/ark.md b/pages.ru/linux/ark.md new file mode 100644 index 00000000000000..1681f85056e092 --- /dev/null +++ b/pages.ru/linux/ark.md @@ -0,0 +1,16 @@ +# ark + +> Утилита для архивации от KDE. +> Больше информации: . + +- Извлечь указанный архив в текущий каталог: + +`ark {{[-b|--batch]}} {{путь/к/архиву}}` + +- Извлечь архив в указанный каталог: + +`ark {{[-b|--batch]}} {{[-o|--destination]}} {{путь/к/каталогу}} {{путь/к/архиву}}` + +- Создать архив, если он не существует, и добавить в него указанные файлы: + +`ark {{[-t|--add-to]}} {{путь/к/архиву}} {{путь/к/файлу1 путь/к/файлу2 ...}}` diff --git a/pages.ru/linux/cal.md b/pages.ru/linux/cal.md new file mode 100644 index 00000000000000..889cb4a0ec7f29 --- /dev/null +++ b/pages.ru/linux/cal.md @@ -0,0 +1,32 @@ +# cal + +> Отображать календарь с выделением текущего дня. +> Больше информации: . + +- Показать календарь на текущий месяц: + +`cal` + +- Показать 3 месяца (предыдущий, текущий и следующий): + +`cal {{[-3|--three]}}` + +- Показать календарь на весь текущий год: + +`cal {{[-y|--year]}}` + +- Показать следующие двенадцать месяцев: + +`cal {{[-Y|--twelve]}}` + +- Использовать понедельник как первый день недели: + +`cal {{[-m|--monday]}}` + +- Показать календарь на указанный год (4 цифры): + +`cal {{год}}` + +- Показать календарь на указанные месяц и год: + +`cal {{месяц}} {{год}}` diff --git a/pages.ru/linux/crond.md b/pages.ru/linux/crond.md new file mode 100644 index 00000000000000..be1428b0d681f2 --- /dev/null +++ b/pages.ru/linux/crond.md @@ -0,0 +1,24 @@ +# crond + +> Демон для выполнения запланированных команд из файлов crontab. +> Больше информации: . + +- Запустить демона в фоновом режиме и проверять наличие запланированных команд: + +`crond` + +- Запустить демона на переднем плане и проверять наличие запланированных команд: + +`crond -n` + +- Отправлять вывод заданий от демона в [s]истемный журнал: + +`crond -s` + +- Игнорировать ограничения по умолчанию и принимать пользовательские файлы crontab: + +`crond -p` + +- Наследовать путь к файлу crontab из переменных окружения: + +`crond -P` diff --git a/pages.ru/linux/darling.md b/pages.ru/linux/darling.md new file mode 100644 index 00000000000000..1d7229b77b4f70 --- /dev/null +++ b/pages.ru/linux/darling.md @@ -0,0 +1,20 @@ +# darling + +> Запускать программы для macOS в Linux. +> Больше информации: . + +- Запустить встроенную команду: + +`darling shell {{uname}}` + +- Запустить указанную программу с аргументами: + +`darling shell {{путь/к/программе}} {{аргумент_программы_1 аргумент_программы_2 ...}}` + +- Открыть оболочку macOS: + +`darling shell` + +- Завершить работу сервиса: + +`darling shutdown` diff --git a/pages.ru/linux/dnf-download.md b/pages.ru/linux/dnf-download.md new file mode 100644 index 00000000000000..88f798b61bae64 --- /dev/null +++ b/pages.ru/linux/dnf-download.md @@ -0,0 +1,18 @@ +# dnf download + +> Загрузка RPM-пакетов из репозиториев DNF. +> Не является частью основной команды `dnf`, но поддерживается через плагин `dnf-plugins-core`. +> Смотрите также: `dnf`. +> Больше информации: . + +- Скачать последнюю версию пакета в текущую директорию: + +`dnf download {{пакет}}` + +- Скачать пакет в указанную директорию (папка должна существовать): + +`dnf download {{пакет}} --destdir {{путь/к/директории}}` + +- Вывести URL, откуда можно скачать RPM-пакет: + +`dnf download --url {{пакет}}` diff --git a/pages.ru/linux/dnf-group.md b/pages.ru/linux/dnf-group.md new file mode 100644 index 00000000000000..f394f154523397 --- /dev/null +++ b/pages.ru/linux/dnf-group.md @@ -0,0 +1,24 @@ +# dnf group + +> Управление виртуальными коллекциями пакетов в системах на базе Fedora. +> Больше информации: . + +- Показать список групп DNF с указанием статуса установки в таблице: + +`dnf {{[grp|group]}} list` + +- Показать информацию о группе DNF, включая репозиторий и опциональные пакеты: + +`dnf {{[grp|group]}} info {{имя_группы}}` + +- Установить группу DNF: + +`dnf {{[grp|group]}} install {{имя_группы}}` + +- Удалить группу DNF: + +`dnf {{[grp|group]}} remove {{имя_группы}}` + +- Обновить группу DNF: + +`dnf {{[grp|group]}} upgrade {{имя_группы}}` diff --git a/pages.ru/linux/dnf-install.md b/pages.ru/linux/dnf-install.md new file mode 100644 index 00000000000000..5e809db3e888b0 --- /dev/null +++ b/pages.ru/linux/dnf-install.md @@ -0,0 +1,24 @@ +# dnf install + +> Установка пакетов в дистрибутивах на базе Red Hat. +> Больше информации: . + +- Установить пакеты по имени: + +`sudo dnf {{[in|install]}} {{пакет1 пакет2 ...}}` + +- Установить пакет из локального файла: + +`sudo dnf {{[in|install]}} {{путь/к/файлу}}` + +- Установить пакет из интернета: + +`sudo dnf {{[in|install]}} {{https://example.com/package.rpm}}` + +- Добавить репозитории Extra Packages for Enterprise Linux (EPEL): + +`sudo dnf {{[in|install]}} https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{10}}.noarch.rpm` + +- Добавить RPM-репозиторий Remi: + +`sudo dnf {{[in|install]}} https://rpms.remirepo.net/enterprise/remi-release-{{8}}.rpm` diff --git a/pages.ru/linux/dnf-module.md b/pages.ru/linux/dnf-module.md new file mode 100644 index 00000000000000..fd972c345121f9 --- /dev/null +++ b/pages.ru/linux/dnf-module.md @@ -0,0 +1,20 @@ +# dnf module + +> Управление модульностью пакетов. +> Больше информации: . + +- Просмотр общего обзора модульности: + +`dnf module list` + +- Просмотр модульности конкретной программы: + +`dnf module list {{имя_пакета}}` + +- Включить пакет: + +`sudo dnf module enable {{имя_пакета}}:{{поток}}` + +- Включить и установить конкретную версию: + +`dnf module install {{имя_пакета}}:{{поток}}` diff --git a/pages.ru/linux/dnf-repoquery.md b/pages.ru/linux/dnf-repoquery.md new file mode 100644 index 00000000000000..6a2737da3afa86 --- /dev/null +++ b/pages.ru/linux/dnf-repoquery.md @@ -0,0 +1,8 @@ +# dnf repoquery + +> Запрос информации о пакетах. +> Больше информации: . + +- Запросить зависимости пакета: + +`dnf {{[rq|repoquery]}} --deplist {{пакет}}` diff --git a/pages.ru/linux/dnf.md b/pages.ru/linux/dnf.md new file mode 100644 index 00000000000000..a6876a6fd5e782 --- /dev/null +++ b/pages.ru/linux/dnf.md @@ -0,0 +1,38 @@ +# dnf + +> Утилита управления пакетами для RHEL, Fedora и CentOS (заменяет yum). +> Некоторые подкоманды, такие как `group` и `config-manager`, имеют свою собственную документацию по использованию. +> Эквивалентные команды в других пакетных менеджерах смотрите в . +> Больше информации: . + +- Обновить установленные пакеты до новейших доступных версий: + +`sudo dnf {{[up|upgrade]}}` + +- Поиск пакетов по ключевым словам: + +`dnf {{[se|search]}} {{ключевое_слово1 ключевое_слово2 ...}}` + +- Отобразить подробную информацию о пакете: + +`dnf {{[if|info]}} {{пакет}}` + +- Установить новый пакет (используйте --assumeyes для автоматического подтверждения всех запросов): + +`sudo dnf {{[in|install]}} {{пакет1 пакет2 ...}}` + +- Удалить пакет: + +`sudo dnf {{[rm|remove]}} {{пакет1 пакет2 ...}}` + +- Список установленных пакетов: + +`dnf {{[ls|list]}} --installed` + +- Найти какие пакеты предоставляют данную команду: + +`dnf {{[wp|provides]}} {{команда}}` + +- Просмотр всех прошлых операций: + +`dnf {{[hist|history]}}` diff --git a/pages.ru/linux/free.md b/pages.ru/linux/free.md new file mode 100644 index 00000000000000..62226432a9c006 --- /dev/null +++ b/pages.ru/linux/free.md @@ -0,0 +1,20 @@ +# free + +> Показать количество свободной и используемой памяти в системе. +> Больше информации: . + +- Показать системную память: + +`free` + +- Показать память в байтах/килобайтах/мегабайтах/гигабайтах: + +`free -{{b|k|m|g}}` + +- Показать память в человеко-читаемом формате: + +`free {{[-h|--human]}}` + +- Обновлять вывод каждые 2 секунды: + +`free {{[-s|--seconds]}} 2` diff --git a/pages.ru/linux/hexdump.md b/pages.ru/linux/hexdump.md new file mode 100644 index 00000000000000..5027d3cc350c44 --- /dev/null +++ b/pages.ru/linux/hexdump.md @@ -0,0 +1,20 @@ +# hexdump + +> Дамп файла в ASCII, десятичном, шестнадцатеричном и восьмеричном форматах. +> Больше информации: . + +- Распечатать шестнадцатеричное представление файла, заменяя повторяющиеся строки на '*': + +`hexdump {{путь/до/файла}}` + +- Отобразить шестнадцатеричное и ASCII представление в две колонки: + +`hexdump {{[-C|--canonical]}} {{путь/до/файла}}` + +- Отобразить двухколончатое представление файла, обработав только указанное число байтов с начала: + +`hexdump {{[-C|--canonical]}} {{[-n|--length]}} {{количество_байтов}} {{путь/до/файла}}` + +- Не заменять повторяющиеся строки на '*': + +`hexdump {{[-v|--no-squeezing]}} {{путь/до/файла}}` diff --git a/pages.ru/linux/hostnamectl.md b/pages.ru/linux/hostnamectl.md new file mode 100644 index 00000000000000..8e4b47c03de7c4 --- /dev/null +++ b/pages.ru/linux/hostnamectl.md @@ -0,0 +1,20 @@ +# hostnamectl + +> Получение и установка имени хоста компьютера. +> Больше информации: . + +- Получить имя хоста компьютера: + +`hostnamectl` + +- Задать имя хоста компьютера: + +`sudo hostnamectl set-hostname "{{имя_хоста}}"` + +- Задать красивое (короткое) имя хоста компьютера: + +`sudo hostnamectl set-hostname --static "{{имя_хоста.example.com}}" && sudo hostnamectl set-hostname --pretty "{{имя_хоста}}"` + +- Сбросить имя хоста компьютера к значению по умолчанию: + +`sudo hostnamectl set-hostname --pretty ""` diff --git a/pages.ru/linux/ip-route-list.md b/pages.ru/linux/ip-route-list.md new file mode 100644 index 00000000000000..15682930386554 --- /dev/null +++ b/pages.ru/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Эта команда — псевдоним для `ip route show`. + +- Смотри документацию для оригинальной команды: + +`tldr ip route show` diff --git a/pages.ru/linux/ip.md b/pages.ru/linux/ip.md new file mode 100644 index 00000000000000..bcf36f4932024c --- /dev/null +++ b/pages.ru/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> Показывать и управлять маршрутизацией, устройствами, политиками маршрутизации и туннелями. +> Некоторые подкоманды, такие как `address`, имеют собственную документацию. +> Больше информации: . + +- Показать детальную информацию об интерфейсах: + +`ip {{[a|address]}}` + +- Показать краткую информацию о сетевом уровне для интерфейсов: + +`ip {{[-br|-brief]}} {{[a|address]}}` + +- Показать краткую информацию о канальном уровне для интерфейсов: + +`ip {{[-br|-brief]}} {{[l|link]}}` + +- Показать таблицу маршрутизации: + +`ip {{[r|route]}}` + +- Показать соседей (ARP-таблицу): + +`ip {{[n|neighbour]}}` + +- Включить/выключить интерфейс: + +`sudo ip {{[l|link]}} {{[s|set]}} {{интерфейс}} {{up|down}}` + +- Добавить/Удалить IP-адрес для интерфейса: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip_адрес}}/{{маска}} dev {{интерфейс}}` + +- Добавить маршрут по умолчанию: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip_адрес}} dev {{интерфейс}}` diff --git a/pages.ru/linux/lnav.md b/pages.ru/linux/lnav.md new file mode 100644 index 00000000000000..f190b4517f14ef --- /dev/null +++ b/pages.ru/linux/lnav.md @@ -0,0 +1,16 @@ +# lnav + +> Инструмент для просмотра и анализа файлов журналов (логов). +> Больше информации: . + +- Просмотреть логи, в качестве аргумента можно указать файл лога, каталог или URL-адрес: + +`lnav {{путь/до/файла_или_директории|url-адрес}}` + +- Просмотреть логи удаленного хоста (требуется аутентификация SSH без пароля): + +`lnav {{ssh}} {{пользователь}}@{{host1.example.com}}:{{/var/log/syslog.log}}` + +- Проверить файлы на соответствие корректности формату логов: + +`lnav -C {{путь/до/директории_с_логами}}` diff --git a/pages.ru/linux/lsb_release.md b/pages.ru/linux/lsb_release.md new file mode 100644 index 00000000000000..e4ee1da6f8032b --- /dev/null +++ b/pages.ru/linux/lsb_release.md @@ -0,0 +1,20 @@ +# lsb_release + +> Выводит информацию, определённую стандартом LSB (Linux Standard Base), а также характерную для дистрибутива. +> Больше информации: . + +- Отобразить всю имеющуюся информацию: + +`lsb_release -a` + +- Отобразить описание (обычно полное наименование) операционной системы: + +`lsb_release -d` + +- Отобразить наименование ОС, без указания поля "Distributor ID": + +`lsb_release -i -s` + +- Отобразить номер релиза (release number) и кодовое наименование дистрибутива без указания полей с названием: + +`lsb_release -rcs` diff --git a/pages.ru/linux/lsblk.md b/pages.ru/linux/lsblk.md new file mode 100644 index 00000000000000..9951dea21ee2c9 --- /dev/null +++ b/pages.ru/linux/lsblk.md @@ -0,0 +1,36 @@ +# lsblk + +> Отобразить информацию об устройствах. +> Больше информации: . + +- Отобразить список всех накопителей в древовидном виде: + +`lsblk` + +- Отобразить все устройства, в том числе "пустые": + +`lsblk {{[-a|--all]}}` + +- Отобразить столбец SIZE в байтах, а не в удобочитаемом формате: + +`lsblk {{[-b|--bytes]}}` + +- Вывод информации о файловой системе: + +`lsblk {{[-f|--fs]}}` + +- Использовать символы ASCII при отображении в формате дерева: + +`lsblk {{[-i|--ascii]}}` + +- Вывести информацию о топологии блочного устройства: + +`lsblk {{[-t|--topology]}}` + +- Исключить устройства, указанные в списке основных номеров устройств, разделенных запятыми: + +`lsblk {{[-e|--exclude]}} {{1,7,...}}` + +- Отобразить вывод с указанием списка определённых параметров, разделенных запятыми: + +`lsblk {{[-o|--output]}} {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}` diff --git a/pages.ru/linux/lscpu.md b/pages.ru/linux/lscpu.md new file mode 100644 index 00000000000000..ac7bcea2a3e86c --- /dev/null +++ b/pages.ru/linux/lscpu.md @@ -0,0 +1,16 @@ +# lscpu + +> Отображает информацию о центральном процессоре. +> Больше информации: . + +- Отобразить информацию о центральном процессоре: + +`lscpu` + +- Отобразить информацию в виде таблицы: + +`lscpu {{[-e|--extended]}}` + +- Отобразить информацию в виде таблицы для процессорных ядер, которые находятся в отключенном состоянии: + +`lscpu {{[-e|--extended]}} {{[-c|--offline]}}` diff --git a/pages.ru/linux/lspci.md b/pages.ru/linux/lspci.md new file mode 100644 index 00000000000000..64faea8c2c0305 --- /dev/null +++ b/pages.ru/linux/lspci.md @@ -0,0 +1,24 @@ +# lspci + +> Отобразить список всех подключенных PCI-устройств. +> Больше информации: . + +- Отобразить список всех подключенных PCI-устройств: + +`lspci` + +- Показать дополнительную информацию: + +`lspci -v` + +- Отобразить драйверы и модули, работающие с каждым устройством: + +`lspci -k` + +- Отобразить определённое устройство: + +`lspci -s {{00:18.3}}` + +- Вывести информацию в удобном формате для чтения: + +`lspci -vm` diff --git a/pages.ru/linux/more.md b/pages.ru/linux/more.md new file mode 100644 index 00000000000000..c30f67902e571c --- /dev/null +++ b/pages.ru/linux/more.md @@ -0,0 +1,29 @@ +# more + +> Интерактивно показать файл, позволяя прокручивать и искать текст. +> Смотрите также: `less`. +> Больше информации: . + +- Открыть файл: + +`more {{путь/к/файлу}}` + +- Показать, начиная с определенной строки: + +`more +{{номер_строки}} {{путь/к/файлу}}` + +- Перейти на следующую страницу: + +`` + +- Искать строку (нажмите ``, чтобы перейти к следующему совпадению): + +`{{что-то}}` + +- Выйти: + +`` + +- Показать справку по интерактивным командам: + +`` diff --git a/pages.ru/linux/ncal.md b/pages.ru/linux/ncal.md new file mode 100644 index 00000000000000..44d1352901b760 --- /dev/null +++ b/pages.ru/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Эта команда — псевдоним для `cal`. + +- Смотри документацию для оригинальной команды: + +`tldr cal` diff --git a/pages.ru/linux/openvpn3.md b/pages.ru/linux/openvpn3.md new file mode 100644 index 00000000000000..e30a5c336ad9e4 --- /dev/null +++ b/pages.ru/linux/openvpn3.md @@ -0,0 +1,24 @@ +# openvpn3 + +> Клиент OpenVPN 3 для Linux. +> Больше информации: . + +- Запустить новую VPN-сессию: + +`openvpn3 session-start {{[-c|--config]}} {{путь/к/конфигурации.conf}}` + +- Показать список установленных сессий: + +`openvpn3 sessions-list` + +- Отключить текущую сессию, запущенную с указанной конфигурацией: + +`openvpn3 session-manage {{[-c|--config]}} {{путь/к/конфигурации.conf}} {{[-D|--disconnect]}}` + +- Импортировать конфигурацию VPN: + +`openvpn3 config-import {{[-c|--config]}} {{путь/к/конфигурации.conf}}` + +- Показать список импортированных конфигураций: + +`openvpn3 configs-list` diff --git a/pages.ru/linux/pacman.md b/pages.ru/linux/pacman.md new file mode 100644 index 00000000000000..1a54faa64b7535 --- /dev/null +++ b/pages.ru/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> Утилита для управления пакетами в Arch Linux. +> Смотрите также: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`. +> Для эквивалентных команд в других менеджерах пакетов смотрите . +> Больше информации: . + +- [S]инхронизировать и обновить все пакеты: + +`sudo pacman -Syu` + +- Установить новый пакет: + +`sudo pacman -S {{пакет}}` + +- Удалить [R] пакет и его зависимости: + +`sudo pacman -Rs {{пакет}}` + +- И[s]кать в базе данных пакетов по `regex` или ключевому слову: + +`pacman -Ss "{{шаблон_поиска}}"` + +- Искать в базе данных пакеты, содержащие определенный [F]айл: + +`pacman -F "{{имя_файла}}"` + +- Показать только явно [e] установленные пакеты и их версии: + +`pacman -Qe` + +- Показать пакеты-сироты (установленные как зависимости [d], но не требующиеся ни одному пакету): + +`pacman -Qtdq` + +- Полностью очистить кэш `pacman`: + +`sudo pacman -Scc` diff --git a/pages.ru/linux/pihole.md b/pages.ru/linux/pihole.md new file mode 100644 index 00000000000000..62a41302df9846 --- /dev/null +++ b/pages.ru/linux/pihole.md @@ -0,0 +1,36 @@ +# pihole + +> Управлять DNS-сервером для блокировки рекламы Pi-hole. +> Больше информации: . + +- Проверить статус Pi-hole: + +`pihole status` + +- Обновить Pi-hole и Gravity: + +`sudo pihole {{[-up|updatePihole]}}` + +- Запустить или остановить демона: + +`pihole {{enable|disable}}` + +- Обновить списки и очистить кэш без перезапуска DNS-сервера: + +`pihole reloaddns` + +- Обновить список доменов, раздающих рекламу: + +`pihole {{[-g|updateGravity]}}` + +- Разрешить или запретить указанный домен: + +`pihole {{allow|deny}} {{example.com}}` + +- Искать домен в списках: + +`pihole {{[-q|query]}} {{example.com}}` + +- Открыть лог подключений в реальном времени: + +`pihole {{[-t|tail]}}` diff --git a/pages.ru/linux/pipewire.md b/pages.ru/linux/pipewire.md new file mode 100644 index 00000000000000..e2e43dc74c17f8 --- /dev/null +++ b/pages.ru/linux/pipewire.md @@ -0,0 +1,20 @@ +# pipewire + +> Запустить демона PipeWire. +> Больше информации: . + +- Запустить демона PipeWire: + +`pipewire` + +- Использовать другой файл конфигурации: + +`pipewire --config {{путь/к/файлу.conf}}` + +- Установить уровень подробности (error, warn, info, debug или trace): + +`pipewire -{{v|vv|...|vvvvv}}` + +- Показать справку: + +`pipewire --help` diff --git a/pages.ru/linux/postfix.md b/pages.ru/linux/postfix.md new file mode 100644 index 00000000000000..32c3af570304a5 --- /dev/null +++ b/pages.ru/linux/postfix.md @@ -0,0 +1,29 @@ +# postfix + +> Программа управления почтовым агентом (MTA) Postfix. +> Смотрите также: `dovecot`, агент доставки почты (MDA), который интегрируется с Postfix. +> Больше информации: . + +- Проверить конфигурацию: + +`sudo postfix check` + +- Проверить статус демона Postfix: + +`sudo postfix status` + +- Запустить Postfix: + +`sudo postfix start` + +- Корректно остановить Postfix: + +`sudo postfix stop` + +- Очистить почтовую очередь: + +`sudo postfix flush` + +- Перезагрузить файлы конфигурации: + +`sudo postfix reload` diff --git a/pages.ru/linux/ss.md b/pages.ru/linux/ss.md new file mode 100644 index 00000000000000..266f9c746af1d7 --- /dev/null +++ b/pages.ru/linux/ss.md @@ -0,0 +1,36 @@ +# ss + +> Утилита для анализа сокетов. +> Больше информации: . + +- Показать все TCP/UDP/RAW/UNIX сокеты: + +`ss {{[-a|--all]}} {{-t|-u|-w|-x}}` + +- Фильтровать TCP-сокеты по состояниям (показывать только указанные или исключать их): + +`ss {{state|exclude}} {{bucket|big|connected|synchronized|...}}` + +- Показать все TCP-сокеты, подключенные к локальному HTTPS-порту (443): + +`ss {{[-t|--tcp]}} src :{{443}}` + +- Показать все TCP-сокеты, прослушивающие локальный порт 8080: + +`ss {{[-lt|--listening --tcp]}} src :{{8080}}` + +- Показать все TCP-сокеты вместе с процессами, подключенными к удаленному SSH-порту: + +`ss {{[-pt|--processes --tcp]}} dst :{{ssh}}` + +- Показать все UDP-сокеты, подключенные на определенных портах источника и назначения: + +`ss {{[-u|--udp]}} 'sport == :{{порт_источника}} and dport == :{{порт_назначения}}'` + +- Показать все TCP IPv4-сокеты, локально подключенные в подсети 192.168.0.0/16: + +`ss {{[-4t|--ipv4 --tcp]}} src {{192.168/16}}` + +- Завершить IPv4 или IPv6 сокет-соединение с указанным IP-адресом и портом назначения: + +`ss {{[-K|--kill]}} dst {{ip_адрес}} dport = {{порт}}` diff --git a/pages.ru/linux/xbps-install.md b/pages.ru/linux/xbps-install.md new file mode 100644 index 00000000000000..14e380c0621312 --- /dev/null +++ b/pages.ru/linux/xbps-install.md @@ -0,0 +1,13 @@ +# xbps-install + +> XBPS утилита по (пере)установке и обновлению пакетов. +> Смотрите также: `xbps`. +> Больше информации: . + +- Установить новый пакет: + +`xbps-install {{пакет}}` + +- Синхронизировать и обновить все пакеты: + +`xbps-install --sync --update` diff --git a/pages.ru/osx/cut.md b/pages.ru/osx/cut.md new file mode 100644 index 00000000000000..3d8cd4ab07e012 --- /dev/null +++ b/pages.ru/osx/cut.md @@ -0,0 +1,16 @@ +# cut + +> Вырезать поля из стандартного ввода или файлов. +> Больше информации: . + +- Вывести указанный диапазон символов/полей каждой строки (`-c|f 1|1,10|1-10|1-|-10` далее обозначается как `диапазон`): + +`{{команда}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}` + +- Вывести диапазон полей каждой строки с указанным разделителем: + +`{{команда}} | cut -d "{{,}}" -f {{диапазон}}` + +- Вывести диапазон символов каждой строки указанного файла: + +`cut -c {{1}} {{path/to/file}}` diff --git a/pages.ru/osx/mac-cleanup.md b/pages.ru/osx/mac-cleanup.md new file mode 100644 index 00000000000000..162c0408805904 --- /dev/null +++ b/pages.ru/osx/mac-cleanup.md @@ -0,0 +1,24 @@ +# mac-cleanup + +> Современная утилита для очистки macOS от кэша и мусора. +> Больше информации: . + +- Запуск процесса очистки: + +`mac-cleanup` + +- Открытие экрана конфигурации утилиты: + +`mac-cleanup {{[-c|--configure]}}` + +- Выполнение пробного запуска (dry-ru[n]), который покажет, что будет удалено в процессе очистки, не удаляя этого: + +`mac-cleanup {{[-n|--dry-run]}}` + +- Указать каталог с пользовательской очисткой [p]ath: + +`mac-cleanup {{[-p|--custom-path]}} {{путь/к/дирректории}}` + +- Автоматическое подтверждение всех предупреждений и продолжение работы с [f]orce: + +`mac-cleanup -f` diff --git a/pages.ru/sunos/devfsadm.md b/pages.ru/sunos/devfsadm.md new file mode 100644 index 00000000000000..20b4d0a2d4e0f1 --- /dev/null +++ b/pages.ru/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> Команда администрирования для `/dev`. Поддерживает пространство имен `/dev`. +> Больше информации: . + +- Сканировать для новых дисков: + +`devfsadm -c disk` + +- Очистить все оборванные ссылки `/dev` и выполнить поиск нового устройства: + +`devfsadm -C -v` + +- Пробный-запуск - вывод того, что бы изменилось, но без произведения модификаций: + +`devfsadm -C -v -n` diff --git a/pages.ru/windows/cd.md b/pages.ru/windows/cd.md new file mode 100644 index 00000000000000..378aafadd7f77f --- /dev/null +++ b/pages.ru/windows/cd.md @@ -0,0 +1,20 @@ +# cd + +> Отображение текущего или перемещение в другой каталог. +> Больше информации: . + +- Отобразить путь текущего каталога: + +`cd` + +- Перейти вверх в родительский каталог: + +`cd ..` + +- Перейти в указанный каталог на текущем диске: + +`cd {{путь\до\каталога}}` + +- Перейти в указанный каталог на другом диске ([d]rive): + +`cd /d {{C}}:{{путь\до\каталога}}` diff --git a/pages.ru/windows/cinst.md b/pages.ru/windows/cinst.md new file mode 100644 index 00000000000000..25904ef24f8c44 --- /dev/null +++ b/pages.ru/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Эта команда — псевдоним для `choco install`. + +- Смотри документацию для оригинальной команды: + +`tldr choco install` diff --git a/pages.ru/windows/clist.md b/pages.ru/windows/clist.md new file mode 100644 index 00000000000000..708d51c5a95dd4 --- /dev/null +++ b/pages.ru/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Эта команда — псевдоним для `choco list`. + +- Смотри документацию для оригинальной команды: + +`tldr choco list` diff --git a/pages.ru/windows/cuninst.md b/pages.ru/windows/cuninst.md new file mode 100644 index 00000000000000..2012d7b619a7e2 --- /dev/null +++ b/pages.ru/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Эта команда — псевдоним для `choco uninstall`. + +- Смотри документацию для оригинальной команды: + +`tldr choco uninstall` diff --git a/pages.ru/windows/date.md b/pages.ru/windows/date.md new file mode 100644 index 00000000000000..b6df0da9ed7a8c --- /dev/null +++ b/pages.ru/windows/date.md @@ -0,0 +1,16 @@ +# date + +> Просмотр и изменение текущей системной даты. +> Больше информации: . + +- Отображение текущей системной даты, за которой следует запрос на ввод новой даты (Оставить пустым если не нужно вносить изменения): + +`date` + +- Отображает текущую дату без запроса на новую дату: + +`date /t` + +- Для изменения текущей даты, введите новую дату, на основе текущей конфигурации даты, а затем нажмите клавишу ВВОД: + +`date {{месяц}}-{{день}}-{{год}}` diff --git a/pages.ru/windows/find.md b/pages.ru/windows/find.md new file mode 100644 index 00000000000000..cac1b31ce83ecb --- /dev/null +++ b/pages.ru/windows/find.md @@ -0,0 +1,20 @@ +# find + +> Поиск заданной строки в одном или нескольких файлах. +> Больше информации: . + +- Найти строки, содержащие указанную строку: + +`find "{{строка}}" {{путь/до/файла_или_папки}}` + +- Отобразить строки, не содержащие указанную строку: + +`find "{{строка}}" {{путь/до/файла_или_папки}} /v` + +- Отобразить количество строк, содержащих указанную строку: + +`find "{{строка}}" {{путь/до/файла_или_папки}} /c` + +- Вывод номеров найденных строк: + +`find "{{строка}}" {{путь/до/файла_или_папки}} /n` diff --git a/pages.ru/windows/ipconfig.md b/pages.ru/windows/ipconfig.md new file mode 100644 index 00000000000000..bafa30857b27fa --- /dev/null +++ b/pages.ru/windows/ipconfig.md @@ -0,0 +1,24 @@ +# ipconfig + +> Отображение и управление сетевыми настройками Windows. +> Больше информации: . + +- Показать список сетевых адаптеров: + +`ipconfig` + +- Показать подробный список сетевых адаптеров: + +`ipconfig /all` + +- Обновить IP-адреса сетевого адаптера: + +`ipconfig /renew {{адаптер}}` + +- Освободить IP-адреса сетевого адаптера: + +`ipconfig /release {{адаптер}}` + +- Удалить все данные из кеша DNS: + +`ipconfig /flushdns` diff --git a/pages.ru/windows/iwr.md b/pages.ru/windows/iwr.md new file mode 100644 index 00000000000000..edf07e08ba6eef --- /dev/null +++ b/pages.ru/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Эта команда — псевдоним для `invoke-webrequest`. + +- Смотри документацию для оригинальной команды: + +`tldr invoke-webrequest` diff --git a/pages.ru/windows/mkdir.md b/pages.ru/windows/mkdir.md new file mode 100644 index 00000000000000..956e6638561368 --- /dev/null +++ b/pages.ru/windows/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> Создает каталог или подкаталог в файловой системе. +> Больше информации: . + +- Создать новый каталог: + +`mkdir {{путь\до\папки}}` + +- Чтобы создать дерево каталогов в корневом каталоге введите: + +`mkdir {{путь\до\под_папки}}` diff --git a/pages.ru/windows/msiexec.md b/pages.ru/windows/msiexec.md new file mode 100644 index 00000000000000..be7fb7a673d54a --- /dev/null +++ b/pages.ru/windows/msiexec.md @@ -0,0 +1,20 @@ +# msiexec + +> Установка, обновление, восстановление или удаление программ Windows через пакеты установки MSI и MSP. +> Больше информации: . + +- Установить программу из MSI-пакета: + +`msiexec /package {{путь/до/файла.msi}}` + +- Установить MSI-пакет с веб-сайта: + +`msiexec /package {{https://example.com/installer.msi}}` + +- Установить MSP-пакет с обновлением (патчем): + +`msiexec /update {{путь/до/файла.msp}}` + +- Удалить программу или обновление, используя соответствующий пакет MSI или MSP: + +`msiexec /uninstall {{путь/до/файла}}` diff --git a/pages.ru/windows/nvm.md b/pages.ru/windows/nvm.md new file mode 100644 index 00000000000000..68d7ddc991b385 --- /dev/null +++ b/pages.ru/windows/nvm.md @@ -0,0 +1,21 @@ +# nvm + +> Установка, удаление и переключение между версиями Node.js. +> Поддерживает номера версий вроде "12.8" or "v16.13.1", метки вроде "stable", "system", и т.д. +> Больше информации: . + +- Установить заданную версию Node.js: + +`nvm install {{версия_node}}` + +- Задать версию Node.js по умолчанию (требуется запускать из-под Администратора): + +`nvm use {{версия_node}}` + +- Вывести список всех доступных версий Node.js и подсветить версию по умолчанию: + +`nvm list` + +- Удалить указанную версию Node.js: + +`nvm uninstall {{версия_node}}` diff --git a/pages.ru/windows/pabcnetcclear.md b/pages.ru/windows/pabcnetcclear.md new file mode 100644 index 00000000000000..910b944961c9a9 --- /dev/null +++ b/pages.ru/windows/pabcnetcclear.md @@ -0,0 +1,24 @@ +# pabcnetcclear + +> Препроцессор и компилятор для исходных файлов PascalABC.NET. +> Больше информации: . + +- Скомпилировать файл с исходным кодом в исполняемый файл с тем же именем: + +`pabcnetcclear {{путь/до/исходного_файла.pas}}` + +- Скомпилировать файл с исходным кодом в исполняемый файл с заданным именем: + +`pabcnetcclear /Output:{{путь/до/файла.exe}} {{путь/до/исходного_файла.pas}}` + +- Скомпилировать файл с исходным кодом в исполняемый файл с тем же именем с/без отладочной информации: + +`pabcnetcclear /Debug:{{0|1}} {{путь/до/исходного_файла.pas}}` + +- Разрешить искать модули по указанному пути при компиляции файла с исходным кодом в исполняемый файл с тем же именем: + +`pabcnetcclear /SearchDir:{{путь/до/папки}} {{путь/до/исходного_файла.pas}}` + +- Скомпилировать файл с исходным кодом в исполняемый файл, определив символ условной компиляции: + +`pabcnetcclear /Define:{{символ}} {{путь/до/исходного_файла.pas}}` diff --git a/pages.ru/windows/print.win.md b/pages.ru/windows/print.win.md new file mode 100644 index 00000000000000..1fa68d0b9215a2 --- /dev/null +++ b/pages.ru/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> Вывод на печать текстового файла. +> Больше информации: . + +- Печать текстового файла используя локальный принтер: + +`print {{путь\до\папки}}` + +- Печать текстового файла используя сетевой принтер: + +`print /d:{{принтер}} {{путь\до\папки}}` diff --git a/pages.ru/windows/pwsh-where.md b/pages.ru/windows/pwsh-where.md new file mode 100644 index 00000000000000..fb2ed3066b1e07 --- /dev/null +++ b/pages.ru/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Эта команда — псевдоним для `Where-Object`. + +- Смотри документацию для оригинальной команды: + +`tldr Where-Object` diff --git a/pages.ru/windows/set.md b/pages.ru/windows/set.md new file mode 100644 index 00000000000000..05df7b6f45dddf --- /dev/null +++ b/pages.ru/windows/set.md @@ -0,0 +1,20 @@ +# set + +> Отобразить или задать значение переменным окружения для текущего экземпляра CMD. +> Больше информации: . + +- Вывести список текущих переменных окружения: + +`set` + +- Задать переменной окружения определённое значение: + +`set {{имя}}={{значение}}` + +- Вывести список переменных окружения, имена которых начинаются с заданной строки: + +`set {{имя}}` + +- Запросить у пользователя значение для указанной переменной: + +`set /p {{имя}}={{строка_подсказки}}` diff --git a/pages.ru/windows/sls.md b/pages.ru/windows/sls.md new file mode 100644 index 00000000000000..7de31abe1440f6 --- /dev/null +++ b/pages.ru/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Эта команда — псевдоним для `Select-String`. + +- Смотри документацию для оригинальной команды: + +`tldr select-string` diff --git a/pages.ru/windows/time.md b/pages.ru/windows/time.md new file mode 100644 index 00000000000000..6397e7f1ad20d3 --- /dev/null +++ b/pages.ru/windows/time.md @@ -0,0 +1,12 @@ +# time + +> Просмотр и измененение системного времени. +> Больше информации: . + +- Отображение текущего системного времени, за которым следует запрос на ввод нового времени (Оставить пустым если не нужно вносить изменения): + +`time` + +- Отображает текущее системное время без запроса на новое время: + +`time /t` diff --git a/pages.ru/windows/where.md b/pages.ru/windows/where.md new file mode 100644 index 00000000000000..533fcc61d2dcd5 --- /dev/null +++ b/pages.ru/windows/where.md @@ -0,0 +1,21 @@ +# where + +> Показ расположения файлов, удовлетворяющих шаблону поиска. +> По умолчанию поиск производится в текущей папке и по путям в переменной окружения PATH. +> Больше информации: . + +- Отобразить расположение файлов, соответствующих шаблону: + +`where {{шаблон_файла}}` + +- Отобразить расположение файлов, соответствующих шаблону, вместе с размером и датой: + +`where /T {{шаблон_файла}}` + +- Рекурсивно искать файлы, соответствующие шаблону, по указанному пути: + +`where /R {{path/to/directory}} {{шаблон_файла}}` + +- Только вернуть код возврата для результата поиска файла по шаблону: + +`where /Q {{шаблон_файла}}` diff --git a/pages.sh/common/head.md b/pages.sh/common/head.md new file mode 100644 index 00000000000000..7d97ac40c1e555 --- /dev/null +++ b/pages.sh/common/head.md @@ -0,0 +1,20 @@ +# head + +> Prikazuje prvi deo datoteka. +> Više informacija: . + +- Prikaži prvih nekoliko linija datoteke: + +`head -n {{broj_linija}} {{naziv_datoteke}}` + +- Prikaži prvih nekoliko bajtova datoteke: + +`head -c {{veličina_u_bajtovima}} {{naziv_datoteke}}` + +- Prikaži sve osim nekoliko poslednjih linija datoteke: + +`head -n -{{broj_linija}} {{naziv_datoteke}}` + +- Prikaži sve osim nekoliko poslednjih bajtova datoteke: + +`head -c -{{veličina_u_bajtovima}} {{naziv_datoteke}}` diff --git a/pages.sh/common/sh.md b/pages.sh/common/sh.md new file mode 100644 index 00000000000000..3d70133f931320 --- /dev/null +++ b/pages.sh/common/sh.md @@ -0,0 +1,21 @@ +# sh + +> Bourne ljuska. +> Standardni interpreter komandnog jezika. +> Više informacija: . + +- Pokreni interaktivnu ljusku: + +`sh` + +- Izvrši komandu: + +`sh -c "{{komanda}}"` + +- Pokreni komande iz datoteke: + +`sh {{datoteka.sh}}` + +- Pokreni komande iz `stdin`-a: + +`sh -s` diff --git a/pages.sh/common/sha1sum.md b/pages.sh/common/sha1sum.md new file mode 100644 index 00000000000000..a49710c4cd478d --- /dev/null +++ b/pages.sh/common/sha1sum.md @@ -0,0 +1,16 @@ +# sha1sum + +> Izračunava SHA1 kriptografske kontrolne brojeve. +> Više informacija: . + +- Izračunaj SHA1 kontrolni broj za datoteku: + +`sha1sum {{datoteka1}}` + +- Izračunaj SHA1 kontrolne brojeve za više datoteka: + +`sha1sum {{datoteka1}} {{datoteka2}}` + +- Pročitaj datoteku SHA1 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: + +`sha1sum -c {{datoteka.sha1}}` diff --git a/pages.sh/common/sha224sum.md b/pages.sh/common/sha224sum.md new file mode 100644 index 00000000000000..22d2ca63cd4c36 --- /dev/null +++ b/pages.sh/common/sha224sum.md @@ -0,0 +1,16 @@ +# sha224sum + +> Izračunava SHA224 kriptografske kontrolne brojeve. +> Više informacija: . + +- Izračunaj SHA224 kontrolni broj za datoteku: + +`sha224sum {{datoteka1}}` + +- Izračunaj SHA224 kontrolne brojeve za više datoteka: + +`sha224sum {{datoteka1}} {{datoteka2}}` + +- Pročitaj datoteku SHA224 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: + +`sha224sum -c {{datoteka.sha224}}` diff --git a/pages.sh/common/sha256sum.md b/pages.sh/common/sha256sum.md new file mode 100644 index 00000000000000..84a39d175cf6c4 --- /dev/null +++ b/pages.sh/common/sha256sum.md @@ -0,0 +1,16 @@ +# sha256sum + +> Izračunava SHA256 kriptografske kontrolne brojeve. +> Više informacija: . + +- Izračunaj SHA256 kontrolni broj za datoteku: + +`sha256sum {{datoteka1}}` + +- Izračunaj SHA256 kontrolne brojeve za više datoteka: + +`sha256sum {{datoteka1}} {{datoteka2}}` + +- Pročitaj datoteku SHA256 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: + +`sha256sum -c {{datoteka.sha256}}` diff --git a/pages.sh/common/sha384sum.md b/pages.sh/common/sha384sum.md new file mode 100644 index 00000000000000..0d385c7b129dcb --- /dev/null +++ b/pages.sh/common/sha384sum.md @@ -0,0 +1,16 @@ +# sha384sum + +> Izračunava SHA384 kriptografske kontrolne brojeve. +> Više informacija: . + +- Izračunaj SHA384 kontrolni broj za datoteku: + +`sha384sum {{datoteka1}}` + +- Izračunaj SHA384 kontrolne brojeve za više datoteka: + +`sha384sum {{datoteka1}} {{datoteka2}}` + +- Pročitaj datoteku SHA384 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: + +`sha384sum -c {{datoteka.sha384}}` diff --git a/pages.sh/common/sha512sum.md b/pages.sh/common/sha512sum.md new file mode 100644 index 00000000000000..4bbaab941114ce --- /dev/null +++ b/pages.sh/common/sha512sum.md @@ -0,0 +1,16 @@ +# sha512sum + +> Izračunava SHA512 kriptografske kontrolne brojeve. +> Više informacija: . + +- Izračunaj SHA512 kontrolni broj za datoteku: + +`sha512sum {{datoteka1}}` + +- Izračunaj SHA512 kontrolne brojeve za više datoteka: + +`sha512sum {{datoteka1}} {{datoteka2}}` + +- Pročitaj datoteku SHA512 brojeva i proveri da li se svi kontrolni brojevi datoteka poklapaju: + +`sha512sum -c {{datoteka.sha512}}` diff --git a/pages.sh/common/tail.md b/pages.sh/common/tail.md new file mode 100644 index 00000000000000..719298db708994 --- /dev/null +++ b/pages.sh/common/tail.md @@ -0,0 +1,24 @@ +# tail + +> Prikazuje krajnji deo datoteke. +> Više informacija: . + +- Prikaži poslednjih 'broj' linija u datoteci: + +`tail {{[-n|--lines]}} {{broj}} {{datoteka}}` + +- Prikaži celu datoteku od linije 'broj': + +`tail {{[-n|--lines]}} +{{broj}} {{datoteka}}` + +- Prikaži poslednjih 'broj' bajtova u datoteci: + +`tail {{[-c|--bytes]}} {{broj}} {{datoteka}}` + +- Čitaj datoteku sve do ``: + +`tail {{[-f|--follow]}} {{datoteka}}` + +- Čitaj datoteku sve do ``, čak i kad je datoteka rotirana: + +`tail {{[-F|--retry --follow]}} {{datoteka}}` diff --git a/pages.sh/common/tldr-lint.md b/pages.sh/common/tldr-lint.md new file mode 100644 index 00000000000000..c42cee0aa819a0 --- /dev/null +++ b/pages.sh/common/tldr-lint.md @@ -0,0 +1,16 @@ +# tldr-lint + +> Lintuje i formatira tldr stranice. +> Više informacija: . + +- Lintuj sve stranice: + +`tldr-lint {{direktorijum_stranica}}` + +- Formatiraj određenu stranicu u `stdout`: + +`tldr-lint --format {{stranica.md}}` + +- Formatiraj sve stranice na njihovom mestu: + +`tldr-lint --format --in-place {{direktorijum_stranica}}` diff --git a/pages.sh/common/tldr.md b/pages.sh/common/tldr.md new file mode 100644 index 00000000000000..5bbdb42c2a63d5 --- /dev/null +++ b/pages.sh/common/tldr.md @@ -0,0 +1,16 @@ +# tldr + +> Pojednostavljene man stranice. +> Više informacija: . + +- Prikaži tipičnu upotrebu komande (pomoć: ovako ste stigli ovde!): + +`tldr {{komanda}}` + +- Prikaži tar tldr stranicu za Linux: + +`tldr {{[-p|--platform]}} {{linux}} {{tar}}` + +- Prikaži pomoć za Git potkomandu: + +`tldr {{git-checkout}}` diff --git a/pages.sr/common/cd.md b/pages.sr/common/cd.md new file mode 100644 index 00000000000000..99eaf4457b8fef --- /dev/null +++ b/pages.sr/common/cd.md @@ -0,0 +1,20 @@ +# cd + +> Menja trenutnu radnu površinu. +> Više informacija na: . + +- Ulazi u dati direktorijum: + +`cd {{putanja/do/direktorijuma}}` + +- Ulazi u početni direktorjum trenutnog korisnika: + +`cd` + +- Ulazi u roditelja trenutnog direktorijuma: + +`cd ..` + +- Ulazi u prethodno izabrani direktorijum: + +`cd -` diff --git a/pages.sr/common/echo.md b/pages.sr/common/echo.md new file mode 100644 index 00000000000000..fe7862b50342b6 --- /dev/null +++ b/pages.sr/common/echo.md @@ -0,0 +1,24 @@ +# echo + +> Prikazuje date argumente. +> Više informacija na: . + +- Prikazuje tekstualnu poruku. Napomena: navodnici su opcionalni: + +`echo "{{Zdravo Svete}}"` + +- Prikazuje poruku sa promenljivom: + +`echo "{{Moja lokacija je $PATH}}"` + +- Prikazuje poruku bez dodatne linije: + +`echo -n "{{Zdravo Svete}}"` + +- Dodaje poruku u fajl: + +`echo "{{Zdravo Svete}}" >> {{fajl.txt}}` + +- Omogućava interpretaciju posebnih karektera (prethodi im "\\"): + +`echo -e "{{Kolona 1\tKolona 2}}"` diff --git a/pages.sr/common/git.md b/pages.sr/common/git.md new file mode 100644 index 00000000000000..da28cad5a1e13d --- /dev/null +++ b/pages.sr/common/git.md @@ -0,0 +1,29 @@ +# git + +> Distribuirani sistem kontrole verzija. +> Neke podkomande kao što je `git commit` imaju svoj primer u dokumentaciji. +> Više informacija na: . + +- Izvršava Git podkomandu: + +`git {{podkomanda}}` + +- Izvršava Git podkomandu u zadatoj početnoj lokaciji repozitorijuma: + +`git -C {{putanja/do/repozitorijuma}} {{podkomanda}}` + +- Izvršava Git podkomandu sa zadatim setom konfiguracija: + +`git -c '{{config.key}}={{value}}' {{podkomanda}}` + +- Prikazuje opštu pomoć: + +`git --help` + +- Prikazuje pomoć o Git podkomandi (npr. `commit`, `log`, itd.): + +`git help {{podkomanda}}` + +- Proverava Git verziju: + +`git --version` diff --git a/pages.sr/common/link.md b/pages.sr/common/link.md new file mode 100644 index 00000000000000..bb799c2e718973 --- /dev/null +++ b/pages.sr/common/link.md @@ -0,0 +1,8 @@ +# link + +> Kreira link između novog i zadatog fajla. +> Više informacija na: . + +- Kreira link između novog i zadatog fajla: + +`link {{putanja/do/postojećeg_fajla}} {{putanja/do/novog_fajla}}` diff --git a/pages.sr/common/mkdir.md b/pages.sr/common/mkdir.md new file mode 100644 index 00000000000000..11ecc2f3dbb35b --- /dev/null +++ b/pages.sr/common/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> Kreira direktorijum. +> Više informacija na: . + +- Kreira direktorijum u trenutnom direktorijumu ili zadatoj lokaciji: + +`mkdir {{direktorijum}}` + +- Kreira direktorijum koristeći rekurziju: + +`mkdir {{[-p|--parents]}} {{putanja/do/direktorijuma1 putanja/do/direktorijuma2 ...}}` diff --git a/pages.sv/common/[.md b/pages.sv/common/[.md new file mode 100644 index 00000000000000..271ef4614807b9 --- /dev/null +++ b/pages.sv/common/[.md @@ -0,0 +1,25 @@ +# [ + +> Utvärdera villkor. +> Returnerar 0 om villkoret är sant, 1 om villkoret är falsk. +> Mer information: . + +- Testa om en given variabel är lika med en given sträng: + +`[ "{{$VARIABEL}}" = "{{/bin/zsh}}" ]` + +- Testa om en given variabel är tom: + +`[ -z "{{$GIT_BRANCH}}" ]` + +- Testa om filen existerar: + +`[ -f "{{väg/till/fil}}" ]` + +- Testa om en katalog inte existerar: + +`[ ! -d "{{väg/till/katalog}}" ]` + +- If-else uttryck: + +`[ {{villkor}} ] && {{echo "true"}} || {{echo "false"}}` diff --git a/pages.sv/common/arch.md b/pages.sv/common/arch.md index b743c5977abe20..a8a006960817f3 100644 --- a/pages.sv/common/arch.md +++ b/pages.sv/common/arch.md @@ -1,7 +1,8 @@ # arch -> Visa namnet på systemarkitekturen: +> Visa namnet på systemarkitekturen. > Se även `uname`. +> Mer information: . - Visa systemarkitekturen: diff --git a/pages.sv/common/cd.md b/pages.sv/common/cd.md new file mode 100644 index 00000000000000..ee4a00ab0b43e7 --- /dev/null +++ b/pages.sv/common/cd.md @@ -0,0 +1,20 @@ +# cd + +> Byt nuvarande katalog. +> Mer information: . + +- Gå till en given katalog: + +`cd {{sökväg/till/katalog}}` + +- Gå till hemkatalog för nuvarande användare: + +`cd` + +- Gå till överordnad katalog: + +`cd ..` + +- Gå tillbaks till den föregående valda katalogen: + +`cd -` diff --git a/pages.sv/common/chsh.md b/pages.sv/common/chsh.md deleted file mode 100644 index f52fce6549e558..00000000000000 --- a/pages.sv/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> Ändra användarens inloggnings-shell. - -- Ändra shell: - -`chsh -s {{väg/till/shell_binär}} {{användarnamn}}` diff --git a/pages.sv/common/clang-cpp.md b/pages.sv/common/clang-cpp.md new file mode 100644 index 00000000000000..ac58e000461e03 --- /dev/null +++ b/pages.sv/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Det här kommandot är ett alias för `clang++`. + +- Se dokumentationen för orginalkommandot: + +`tldr clang++` diff --git a/pages.sv/common/clojure.md b/pages.sv/common/clojure.md new file mode 100644 index 00000000000000..4ad1b77f5babe2 --- /dev/null +++ b/pages.sv/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Det här kommandot är ett alias för `clj`. + +- Se dokumentationen för orginalkommandot: + +`tldr clj` diff --git a/pages.sv/common/cola.md b/pages.sv/common/cola.md new file mode 100644 index 00000000000000..7b82b15842964c --- /dev/null +++ b/pages.sv/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Det här kommandot är ett alias för `git-cola`. + +- Se dokumentationen för orginalkommandot: + +`tldr git-cola` diff --git a/pages.sv/common/exit.md b/pages.sv/common/exit.md index 3c48d5cc18fc82..20264ea7e4b02c 100644 --- a/pages.sv/common/exit.md +++ b/pages.sv/common/exit.md @@ -1,6 +1,7 @@ # exit > Avsluta shell. +> Mer information: . - Avsluta shell med utgångskoden från det senast utförda kommandot: diff --git a/pages.sv/common/false.md b/pages.sv/common/false.md index 6049f497ce9294..534486605e130c 100644 --- a/pages.sv/common/false.md +++ b/pages.sv/common/false.md @@ -1,6 +1,7 @@ # false > Returnerar en utgångskod på 1. +> Mer information: . - Returnera en utgångskod på 1: diff --git a/pages.sv/common/fossil-ci.md b/pages.sv/common/fossil-ci.md new file mode 100644 index 00000000000000..d6347b48cd7e78 --- /dev/null +++ b/pages.sv/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Det här kommandot är ett alias för `fossil commit`. + +- Se dokumentationen för orginalkommandot: + +`tldr fossil commit` diff --git a/pages.sv/common/fossil-forget.md b/pages.sv/common/fossil-forget.md new file mode 100644 index 00000000000000..c214e1063c2cd9 --- /dev/null +++ b/pages.sv/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Det här kommandot är ett alias för `fossil rm`. +> Mer information: . + +- Se dokumentationen för orginalkommandot: + +`tldr fossil rm` diff --git a/pages.sv/common/fossil-new.md b/pages.sv/common/fossil-new.md new file mode 100644 index 00000000000000..28079dc32550fc --- /dev/null +++ b/pages.sv/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Det här kommandot är ett alias för `fossil init`. + +- Se dokumentationen för orginalkommandot: + +`tldr fossil init` diff --git a/pages.sv/common/fossil-rm.md b/pages.sv/common/fossil-rm.md new file mode 100644 index 00000000000000..d74da92dfe1680 --- /dev/null +++ b/pages.sv/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Det här kommandot är ett alias för `fossil delete`. + +- Se dokumentationen för orginalkommandot: + +`tldr fossil delete` diff --git a/pages.sv/common/gh-cs.md b/pages.sv/common/gh-cs.md new file mode 100644 index 00000000000000..6cb656b7fd1c4a --- /dev/null +++ b/pages.sv/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Det här kommandot är ett alias för `gh codespace`. + +- Se dokumentationen för orginalkommandot: + +`tldr gh codespace` diff --git a/pages.sv/common/gnmic-sub.md b/pages.sv/common/gnmic-sub.md new file mode 100644 index 00000000000000..d6ee2fadb60758 --- /dev/null +++ b/pages.sv/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Det här kommandot är ett alias för `gnmic subscribe`. + +- Se dokumentationen för orginalkommandot: + +`tldr gnmic subscribe` diff --git a/pages.sv/common/go-bug.md b/pages.sv/common/go-bug.md index 45f307458bfd9d..c72b013171d22b 100644 --- a/pages.sv/common/go-bug.md +++ b/pages.sv/common/go-bug.md @@ -1,7 +1,7 @@ # go bug > Rapportera en bugg. -> Mer information: . +> Mer information: . - Öppna en webbsida för att starta en felrapport: diff --git a/pages.sv/common/go-fix.md b/pages.sv/common/go-fix.md index 5083a5a85e9ceb..06d11544c174e4 100644 --- a/pages.sv/common/go-fix.md +++ b/pages.sv/common/go-fix.md @@ -1,7 +1,7 @@ # go fix > Uppdatera paketen för att använda nya API. -> Mer information: . +> Mer information: . - Uppdatera paketen för att använda nya API: diff --git a/pages.sv/common/hostid.md b/pages.sv/common/hostid.md index 0e671995f2a89f..6dfd002fc22f94 100644 --- a/pages.sv/common/hostid.md +++ b/pages.sv/common/hostid.md @@ -1,6 +1,7 @@ # hostid > Skriver ut den numeriska identifieraren för den aktuella värden (inte nödvändigtvis IP-adressen). +> Mer information: . - Visa den numeriska identifieraren för den aktuella värden i hexadecimal: diff --git a/pages.sv/common/kotlin.md b/pages.sv/common/kotlin.md index 212e5dc3353ef3..807f0508dd5e72 100644 --- a/pages.sv/common/kotlin.md +++ b/pages.sv/common/kotlin.md @@ -1,7 +1,7 @@ # kotlin > Kotlin Programstartare. -> Mer information . +> Mer information: . - Kör en jar fil: diff --git a/pages.sv/common/llvm-ar.md b/pages.sv/common/llvm-ar.md new file mode 100644 index 00000000000000..85c9ee05f4a0c0 --- /dev/null +++ b/pages.sv/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Det här kommandot är ett alias för `ar`. + +- Se dokumentationen för orginalkommandot: + +`tldr ar` diff --git a/pages.sv/common/llvm-g++.md b/pages.sv/common/llvm-g++.md new file mode 100644 index 00000000000000..3451b0009f1fbf --- /dev/null +++ b/pages.sv/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Det här kommandot är ett alias för `clang++`. + +- Se dokumentationen för orginalkommandot: + +`tldr clang++` diff --git a/pages.sv/common/llvm-gcc.md b/pages.sv/common/llvm-gcc.md new file mode 100644 index 00000000000000..569f741f385150 --- /dev/null +++ b/pages.sv/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Det här kommandot är ett alias för `clang`. + +- Se dokumentationen för orginalkommandot: + +`tldr clang` diff --git a/pages.sv/common/llvm-nm.md b/pages.sv/common/llvm-nm.md new file mode 100644 index 00000000000000..b7e344f74c13da --- /dev/null +++ b/pages.sv/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Det här kommandot är ett alias för `nm`. + +- Se dokumentationen för orginalkommandot: + +`tldr nm` diff --git a/pages.sv/common/llvm-objdump.md b/pages.sv/common/llvm-objdump.md new file mode 100644 index 00000000000000..aa08451e04d6b0 --- /dev/null +++ b/pages.sv/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Det här kommandot är ett alias för `objdump`. + +- Se dokumentationen för orginalkommandot: + +`tldr objdump` diff --git a/pages.sv/common/llvm-strings.md b/pages.sv/common/llvm-strings.md new file mode 100644 index 00000000000000..0f294b805b055b --- /dev/null +++ b/pages.sv/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Det här kommandot är ett alias för `strings`. + +- Se dokumentationen för orginalkommandot: + +`tldr strings` diff --git a/pages.sv/common/logname.md b/pages.sv/common/logname.md index 4a716051113265..ab9bb7fb383ba5 100644 --- a/pages.sv/common/logname.md +++ b/pages.sv/common/logname.md @@ -1,6 +1,7 @@ # logname > Visar användarens inloggningsnamn. +> Mer information: . - Visa den för tillfället inloggades användarnamn: diff --git a/pages.sv/common/mscore.md b/pages.sv/common/mscore.md new file mode 100644 index 00000000000000..0e8056df78c0c7 --- /dev/null +++ b/pages.sv/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Det här kommandot är ett alias för `musescore`. + +- Se dokumentationen för orginalkommandot: + +`tldr musescore` diff --git a/pages.sv/common/nohup.md b/pages.sv/common/nohup.md index 3921900635b7b9..4324273b9a1e31 100644 --- a/pages.sv/common/nohup.md +++ b/pages.sv/common/nohup.md @@ -1,6 +1,7 @@ # nohup > Tillåter en process att leva när terminalen dödas. +> Mer information: . - Kör process som kan leva bortom terminalen: diff --git a/pages.sv/common/npm-why.md b/pages.sv/common/npm-why.md index 620dfa5c99eb24..f2c5758cf3cfe7 100644 --- a/pages.sv/common/npm-why.md +++ b/pages.sv/common/npm-why.md @@ -1,7 +1,7 @@ -# npm-why +# npm why > Identifierar varför ett npm-paket är installerat. -> Mer information: . +> Mer information: . - Visa varför ett npm-paket är installerat: diff --git a/pages.sv/common/pio-init.md b/pages.sv/common/pio-init.md new file mode 100644 index 00000000000000..ff162626fb6b9e --- /dev/null +++ b/pages.sv/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Det här kommandot är ett alias för `pio project`. + +- Se dokumentationen för orginalkommandot: + +`tldr pio project` diff --git a/pages.sv/common/piodebuggdb.md b/pages.sv/common/piodebuggdb.md new file mode 100644 index 00000000000000..5fe286f0e6d926 --- /dev/null +++ b/pages.sv/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Det här kommandot är ett alias för `pio debug`. + +- Se dokumentationen för orginalkommandot: + +`tldr pio debug` diff --git a/pages.sv/common/platformio.md b/pages.sv/common/platformio.md new file mode 100644 index 00000000000000..11a0ed48b2c3a0 --- /dev/null +++ b/pages.sv/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Det här kommandot är ett alias för `pio`. + +- Se dokumentationen för orginalkommandot: + +`tldr pio` diff --git a/pages.sv/common/r2.md b/pages.sv/common/r2.md new file mode 100644 index 00000000000000..2f0890a0628ec2 --- /dev/null +++ b/pages.sv/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Det här kommandot är ett alias för `radare2`. + +- Se dokumentationen för orginalkommandot: + +`tldr radare2` diff --git a/pages.sv/common/rev.md b/pages.sv/common/rev.md deleted file mode 100644 index 9769f23bafb4d0..00000000000000 --- a/pages.sv/common/rev.md +++ /dev/null @@ -1,11 +0,0 @@ -# rev - -> Omvänd en textrad. - -- Omvänd textraden "hello": - -`echo "hello" | rev` - -- Omvänd hel fil och skriv till `stdout`: - -`rev {{fil}}` diff --git a/pages.sv/common/rm.md b/pages.sv/common/rm.md new file mode 100644 index 00000000000000..57a2475a4a0f0a --- /dev/null +++ b/pages.sv/common/rm.md @@ -0,0 +1,20 @@ +# rm + +> Ta bort filer eller mappar. +> Mer information: . + +- Ta bort filer från godtyckliga ställen: + +`rm {{sökväg/till/fil1 sökväg/till/en/annan/fil2 ...}}` + +- Interaktivt ta bort flera filer, genom att fråga om borttagning för varje fil: + +`rm -i {{fil(er)}}` + +- Ta bort filer och visa ett meddelande för varje borttagning: + +`rm -v {{sökväg/till/mapp/*}}` + +- Rekursivt ta bort en mapp och dess undermappar: + +`rm -r {{sökväg/till/mapp}}` diff --git a/pages.sv/common/sleep.md b/pages.sv/common/sleep.md index 4030acdf544312..e0f965a4df2130 100644 --- a/pages.sv/common/sleep.md +++ b/pages.sv/common/sleep.md @@ -1,6 +1,7 @@ # sleep > Fördröjning under bestämd tid. +> Mer information: . - Fördröj i sekunder: diff --git a/pages.sv/common/source.md b/pages.sv/common/source.md index e4213beea119d4..9f288095035775 100644 --- a/pages.sv/common/source.md +++ b/pages.sv/common/source.md @@ -1,6 +1,7 @@ # source > Kör kommandon från en fil i det aktuella skalet. +> Mer information: . - Utvärdera innehållet i en viss fil: diff --git a/pages.sv/common/time.md b/pages.sv/common/time.md index 5c299d1e9a1ad1..fdcb673fcac4aa 100644 --- a/pages.sv/common/time.md +++ b/pages.sv/common/time.md @@ -1,7 +1,8 @@ # time > Se hur lång tid ett kommando tar. +> Mer information: . -- Tidtagning "ls": +- Tidtagning `command`: -`time ls` +`time {{command}}` diff --git a/pages.sv/common/tldrl.md b/pages.sv/common/tldrl.md new file mode 100644 index 00000000000000..eeea65b6b33c30 --- /dev/null +++ b/pages.sv/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Det här kommandot är ett alias för `tldr-lint`. + +- Se dokumentationen för orginalkommandot: + +`tldr tldr-lint` diff --git a/pages.sv/common/tlmgr-arch.md b/pages.sv/common/tlmgr-arch.md new file mode 100644 index 00000000000000..07a9558c6af24d --- /dev/null +++ b/pages.sv/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Det här kommandot är ett alias för `tlmgr platform`. + +- Se dokumentationen för orginalkommandot: + +`tldr tlmgr platform` diff --git a/pages.sv/common/true.md b/pages.sv/common/true.md index 40ee4db583bd46..4d57ed95bbc6d6 100644 --- a/pages.sv/common/true.md +++ b/pages.sv/common/true.md @@ -2,6 +2,7 @@ > Returnerar en lyckad utgångsstatuskod på 0. > Använd detta med || operatör för att göra att ett kommando alltid stänger med 0. +> Mer information: . - Returnera en lyckad utgångskod: diff --git a/pages.sv/common/tty.md b/pages.sv/common/tty.md index 9dd809039aa9af..a184f271f7ed83 100644 --- a/pages.sv/common/tty.md +++ b/pages.sv/common/tty.md @@ -1,6 +1,7 @@ # tty > Returnerar terminalnamn. +> Mer information: . - Skriv ut filnamnet på denna terminal: diff --git a/pages.sv/common/unalias.md b/pages.sv/common/unalias.md index 4c6edb440172b3..e67d695b2ef347 100644 --- a/pages.sv/common/unalias.md +++ b/pages.sv/common/unalias.md @@ -1,6 +1,7 @@ # unalias > Ta bort alias. +> Mer information: . - Ta bort en alias: diff --git a/pages.sv/common/unclutter.md b/pages.sv/common/unclutter.md index 5a1699a0aa6102..a11699224bcb63 100644 --- a/pages.sv/common/unclutter.md +++ b/pages.sv/common/unclutter.md @@ -1,6 +1,7 @@ # unclutter > Döljer muspekaren. +> Mer information: . - Dölj muspekarn efter 3 sekunder: diff --git a/pages.sv/common/users.md b/pages.sv/common/users.md index 6405097e1d11b6..38ff1a977cad76 100644 --- a/pages.sv/common/users.md +++ b/pages.sv/common/users.md @@ -1,6 +1,7 @@ # users > Visa en lista över inloggade användare. +> Mer information: . - Visa en lista över inloggade användare: diff --git a/pages.sv/common/vi.md b/pages.sv/common/vi.md new file mode 100644 index 00000000000000..c3671d7c3ed9fd --- /dev/null +++ b/pages.sv/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Det här kommandot är ett alias för `vim`. + +- Se dokumentationen för orginalkommandot: + +`tldr vim` diff --git a/pages.sv/common/view.md b/pages.sv/common/view.md index 4af763654324d5..8bf6a06f818285 100644 --- a/pages.sv/common/view.md +++ b/pages.sv/common/view.md @@ -2,6 +2,7 @@ > En skrivskyddad version av `vim`. > Detta är lika med `vim -R`. +> Mer information: . - Öppna en fil: diff --git a/pages.sv/common/vimtutor.md b/pages.sv/common/vimtutor.md index c8528ed07837db..d19e7ef17dce33 100644 --- a/pages.sv/common/vimtutor.md +++ b/pages.sv/common/vimtutor.md @@ -1,6 +1,7 @@ # vimtutor > Vim-handledare, lär ut de grundläggande vim-kommandona. +> Mer information: . - Starta vim-handledaren med det angivna språket (en, fr, de, ...): @@ -8,4 +9,4 @@ - Gå ur handledaren: -` :q ` +`<:>q` diff --git a/pages.sv/common/visudo.md b/pages.sv/common/visudo.md index d0c0fa652cced8..1cfd3da4908152 100644 --- a/pages.sv/common/visudo.md +++ b/pages.sv/common/visudo.md @@ -1,6 +1,7 @@ # visudo > Redigera sudoers-filen på säkert sätt. +> Mer information: . - Redigera sudoers-filen: diff --git a/pages.sv/common/yarn-why.md b/pages.sv/common/yarn-why.md index 17de9aae0b2a7b..ca3ac77574a697 100644 --- a/pages.sv/common/yarn-why.md +++ b/pages.sv/common/yarn-why.md @@ -1,7 +1,7 @@ # yarn-why > Identifierar varför ett Yarn paket har installerats. -> Mer information: . +> Mer information: . - Visa varför ett Yarn paket är installerat: diff --git a/pages.sv/common/zbarimg.md b/pages.sv/common/zbarimg.md index 8b2b41bfd2f6c3..0c0b1c8b800469 100644 --- a/pages.sv/common/zbarimg.md +++ b/pages.sv/common/zbarimg.md @@ -1,7 +1,7 @@ # zbarimg > Skanna och avkoda streckkoder från bildfil(er). -> Mer information: . +> Mer information: . - Processa en bildfil: diff --git a/pages.sv/common/zless.md b/pages.sv/common/zless.md index e21468931f0f3e..d68a86d816721a 100644 --- a/pages.sv/common/zless.md +++ b/pages.sv/common/zless.md @@ -1,6 +1,7 @@ # zless > Visa komprimerade filer. +> Mer information: . - Bläddra igenom ett komprimerat arkiv med `less`: diff --git a/pages.sv/linux/ip-route-list.md b/pages.sv/linux/ip-route-list.md new file mode 100644 index 00000000000000..506c9ca7fd105a --- /dev/null +++ b/pages.sv/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Det här kommandot är ett alias för `ip route show`. + +- Se dokumentationen för orginalkommandot: + +`tldr ip route show` diff --git a/pages.sv/linux/ncal.md b/pages.sv/linux/ncal.md new file mode 100644 index 00000000000000..0c79743d441f04 --- /dev/null +++ b/pages.sv/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Det här kommandot är ett alias för `cal`. + +- Se dokumentationen för orginalkommandot: + +`tldr cal` diff --git a/pages.sv/linux/rev.md b/pages.sv/linux/rev.md new file mode 100644 index 00000000000000..711a454bc194a2 --- /dev/null +++ b/pages.sv/linux/rev.md @@ -0,0 +1,12 @@ +# rev + +> Omvänd en textrad. +> Mer information: . + +- Omvänd textraden "hello": + +`echo "hello" | rev` + +- Omvänd hel fil och skriv till `stdout`: + +`rev {{fil}}` diff --git a/pages.sv/windows/cinst.md b/pages.sv/windows/cinst.md new file mode 100644 index 00000000000000..11655915e7e62f --- /dev/null +++ b/pages.sv/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Det här kommandot är ett alias för `choco install`. + +- Se dokumentationen för orginalkommandot: + +`tldr choco install` diff --git a/pages.sv/windows/clist.md b/pages.sv/windows/clist.md new file mode 100644 index 00000000000000..a8f93a3834550e --- /dev/null +++ b/pages.sv/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Det här kommandot är ett alias för `choco list`. + +- Se dokumentationen för orginalkommandot: + +`tldr choco list` diff --git a/pages.sv/windows/color.md b/pages.sv/windows/color.md new file mode 100644 index 00000000000000..064add350506cf --- /dev/null +++ b/pages.sv/windows/color.md @@ -0,0 +1,16 @@ +# color + +> Används för att ändra bakgrunds och textfärgen i kommandotolken. +> Mer information: . + +- Återställer färgerna till orginal (svart bakgrund, vit text): + +`color` + +- För att se detaljerad information och de olika färgalternativen: + +`color /?` + +- Ställ in vilken färg bakgrunden och texten ska ha med hjälp av hexadecimala tal (`1-9,a-f`): + +`color {{tal_textfärg}}{{tal_bakgrundsfärg}}` diff --git a/pages.sv/windows/cuninst.md b/pages.sv/windows/cuninst.md new file mode 100644 index 00000000000000..dc61bbc222e8cf --- /dev/null +++ b/pages.sv/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Det här kommandot är ett alias för `choco uninstall`. + +- Se dokumentationen för orginalkommandot: + +`tldr choco uninstall` diff --git a/pages.sv/windows/explorer.md b/pages.sv/windows/explorer.md new file mode 100644 index 00000000000000..c4c038314c0a0d --- /dev/null +++ b/pages.sv/windows/explorer.md @@ -0,0 +1,16 @@ +# explorer + +> Windows Utforskaren. +> Mer information: . + +- Öppna Utforskaren: + +`explorer` + +- Öppna Utforskaren i den aktuella katalogen: + +`explorer .` + +- Öppna Utforskaren i en specifik katalog/mapp: + +`explorer {{länk/till/katalog}}` diff --git a/pages.sv/windows/gpupdate.md b/pages.sv/windows/gpupdate.md new file mode 100644 index 00000000000000..d284790a01c880 --- /dev/null +++ b/pages.sv/windows/gpupdate.md @@ -0,0 +1,20 @@ +# gpupdate + +> Ett verktyg för att kontrollera och uppdatera Windows Group Policy settings. +> Mer information: . + +- Kontrollera och tillämpa uppdaterade Group Policy settings: + +`gpupdate` + +- Ange för vilka Group Policy inställningar du vill kontrollera för uppdateringar: + +`gpupdate /target:{{datornamn|användare}}` + +- Tvinga alla Group Policy inställningar att tillämpas igen: + +`gpupdate /force` + +- Visa detaljerad användningsinformation: + +`gpupdate /?` diff --git a/pages.sv/windows/iwr.md b/pages.sv/windows/iwr.md new file mode 100644 index 00000000000000..4394c6728ecb52 --- /dev/null +++ b/pages.sv/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Det här kommandot är ett alias för `invoke-webrequest`. + +- Se dokumentationen för orginalkommandot: + +`tldr invoke-webrequest` diff --git a/pages.sv/windows/print.win.md b/pages.sv/windows/print.win.md new file mode 100644 index 00000000000000..148ebca8127a6b --- /dev/null +++ b/pages.sv/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> Skriv ut en textfil till en skrivare. +> Mer information: . + +- Skriv ut en textfil till standardskrivaren: + +`print {{sökväg/till/filen}}` + +- Skriv ut en textfil till en specifik skrivare: + +`print /d:{{skrivare}} {{sökväg/till/filen}}` diff --git a/pages.sv/windows/pwsh-where.md b/pages.sv/windows/pwsh-where.md new file mode 100644 index 00000000000000..457afcd2c8bbdb --- /dev/null +++ b/pages.sv/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Det här kommandot är ett alias för `Where-Object`. + +- Se dokumentationen för orginalkommandot: + +`tldr Where-Object` diff --git a/pages.sv/windows/sls.md b/pages.sv/windows/sls.md new file mode 100644 index 00000000000000..c9c5ccad735319 --- /dev/null +++ b/pages.sv/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Det här kommandot är ett alias för `Select-String`. + +- Se dokumentationen för orginalkommandot: + +`tldr select-string` diff --git a/pages.ta/android/am.md b/pages.ta/android/am.md new file mode 100644 index 00000000000000..9f597da3b16a7d --- /dev/null +++ b/pages.ta/android/am.md @@ -0,0 +1,20 @@ +# am + +> ஆண்ட்ராய்டு செயல்பாட்டு மேலாளர். +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட செயல்பாட்டைத் தொடங்கவும்: + +`am start -n {{com.android.settings/.Settings}}` + +- ஒரு செயல்பாட்டைத் தொடங்கி, அதற்குத் தரவை அனுப்பவும்: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- குறிப்பிட்ட செயலுக்கும் வகைக்கும் பொருந்தும் செயல்பாட்டைத் தொடங்கவும்: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- ஒரு நோக்கத்தை URI ஆக மாற்றவும்: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.ta/android/bugreport.md b/pages.ta/android/bugreport.md new file mode 100644 index 00000000000000..65e8e6feaa28aa --- /dev/null +++ b/pages.ta/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> ஆண்ட்ராய்டு பிழை அறிக்கையைக் காட்டு. +> இந்தக் கட்டளையை `adb shell` மூலம் மட்டுமே பயன்படுத்த முடியும். +> மேலும் விவரத்திற்கு: . + +- ஆண்ட்ராய்டு சாதனத்தின் முழுமையான பிழை அறிக்கையைக் காட்டு: + +`bugreport` diff --git a/pages.ta/android/bugreportz.md b/pages.ta/android/bugreportz.md new file mode 100644 index 00000000000000..69a49f925a2afd --- /dev/null +++ b/pages.ta/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> ஜிப் செய்யப்பட்ட ஆண்ட்ராய்டு பிழை அறிக்கையை உருவாக்கவும். +> இந்தக் கட்டளையை `adb shell` மூலம் மட்டுமே பயன்படுத்த முடியும். +> மேலும் விவரத்திற்கு: . + +- ஒரு ஆண்ட்ராய்டு சாதனத்தின் முழுமையான ஜிப் செய்யப்பட்ட பிழை அறிக்கையை உருவாக்கவும்: + +`bugreportz` + +- இயங்கும் `bugreportz` செயல்பாட்டின் முன்னேற்றத்தைக் காட்டு: + +`bugreportz -p` + +- உதவியைக் காட்டு: + +`bugreportz -h` + +- `bugreportz` பதிப்பைக் காட்டு: + +`bugreportz -v` diff --git a/pages.ta/android/cmd.md b/pages.ta/android/cmd.md new file mode 100644 index 00000000000000..cfdb7ad6612b96 --- /dev/null +++ b/pages.ta/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> ஆண்ட்ராய்டு சேவை நிர்வாகி. +> மேலும் விவரத்திற்கு: . + +- இயங்கும் ஒவ்வொரு சேவையையும் பட்டியலிடுங்கள்: + +`cmd -l` + +- ஒரு குறிப்பிட்ட சேவையை அழைக்கவும்: + +`cmd {{எச்சரிக்கை}}` + +- வாதங்களுடன் ஒரு சேவையை அழைக்கவும்: + +`cmd {{வைப்ரேட்டர்}} {{அதிர்வு 300}}` diff --git a/pages.ta/android/dalvikvm.md b/pages.ta/android/dalvikvm.md new file mode 100644 index 00000000000000..9988756ea36d0b --- /dev/null +++ b/pages.ta/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> ஆண்ட்ராய்டு ஜாவா மெய்நிகர் இயந்திரம். +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட ஜாவா நிரலைத் தொடங்கவும்: + +`dalvikvm -classpath {{கோப்பு.jar/பாதை}} {{வகுப்புப்பெயர்}}` diff --git a/pages.ta/android/dumpsys.md b/pages.ta/android/dumpsys.md new file mode 100644 index 00000000000000..f353c47fc0787f --- /dev/null +++ b/pages.ta/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> ஆண்ட்ராய்டு சிஸ்டம் சேவைகள் பற்றிய தகவலை வழங்கவும். +> இந்தக் கட்டளையை `adb shell` மூலம் மட்டுமே பயன்படுத்த முடியும். +> மேலும் விவரத்திற்கு: . + +- அனைத்து கணினி சேவைகளுக்கும் கண்டறியும் வெளியீட்டைப் பெறவும்: + +`dumpsys` + +- ஒரு குறிப்பிட்ட கணினி சேவைக்கான கண்டறியும் வெளியீட்டைப் பெறவும்: + +`dumpsys {{சேவை}}` + +- அனைத்து சேவைகளையும் பட்டியலிடுங்கள் `dumpsys` இதைப் பற்றிய தகவல்களை வழங்க முடியும்: + +`dumpsys -l` + +- ஒரு சேவைக்கான சேவை சார்ந்த வாதங்களைப் பட்டியலிடுங்கள்: + +`dumpsys {{சேவை}} -h` + +- கண்டறியும் வெளியீட்டில் இருந்து ஒரு குறிப்பிட்ட சேவையை விலக்கவும்: + +`dumpsys --skip {{சேவை}}` + +- நேரம் முடிவடையும் காலத்தை வினாடிகளில் குறிப்பிடவும் (இயல்புநிலையிலிருந்து 10 வினாடிகள் வரை): + +`dumpsys -t {{வினாடிகள்}}` diff --git a/pages.ta/android/getprop.md b/pages.ta/android/getprop.md new file mode 100644 index 00000000000000..5fb655643535f0 --- /dev/null +++ b/pages.ta/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> ஆண்ட்ராய்டு சிஸ்டம் பண்புகள் பற்றிய தகவலைக் காட்டு. +> மேலும் விவரத்திற்கு: . + +- ஆண்ட்ராய்டு சிஸ்டம் பண்புகள் பற்றிய தகவலைக் காட்டு: + +`getprop` + +- ஒரு குறிப்பிட்ட சொத்து பற்றிய தகவலைக் காண்பி: + +`getprop {{சொத்து}}` + +- SDK API நிலையைக் காட்டு: + +`getprop {{ro.build.version.sdk}}` + +- ஆண்ட்ராய்டு பதிப்பைக் காட்டு: + +`getprop {{ro.build.version.release}}` + +- ஆண்ட்ராய்டு சாதன மாதிரியைக் காண்பி: + +`getprop {{ro.vendor.product.model}}` + +- OEM திறத்தல் நிலையைக் காண்பி: + +`getprop {{ro.oem_unlock_supported}}` + +- ஆண்ட்ராய்டு வைஃபை கார்டின் MAC முகவரியைக் காட்டவும்: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.ta/android/input.md b/pages.ta/android/input.md new file mode 100644 index 00000000000000..04ade3e9b2d1cf --- /dev/null +++ b/pages.ta/android/input.md @@ -0,0 +1,25 @@ +# input + +> நிகழ்வுக் குறியீடுகள் அல்லது தொடுதிரை சைகைகளை ஆண்ட்ராய்டு சாதனத்திற்கு அனுப்பவும். +> இந்தக் கட்டளையை `adb shell` மூலம் மட்டுமே பயன்படுத்த முடியும். +> மேலும் விவரத்திற்கு: . + +- ஆண்ட்ராய்டு சாதனத்திற்கு ஒற்றை எழுத்துக்கான நிகழ்வுக் குறியீட்டை அனுப்பவும்: + +`input keyevent {{நிகழ்வு_குறியீடு}}` + +- ஆண்ட்ராய்டு சாதனத்திற்கு உரையை அனுப்பு (`%s` என்பது இடைவெளிகளைக் குறிக்கிறது): + +`input text "{{உரை}}"` + +- ஆண்ட்ராய்டு சாதனத்திற்கு ஒரு முறை தட்டவும்: + +`input tap {{எக்ஸ்_போஸ்}} {{ஒய்_போஸ்}}` + +- ஆண்ட்ராய்டு சாதனத்திற்கு ஸ்வைப் சைகையை அனுப்பவும்: + +`input swipe {{எக்ஸ்_தொடக்கம்}} {{ஒய்_தொடக்கம்}} {{எக்ஸ்_முடிவு}} {{ஒய்_முடிவு}} {{காலம்_மில்லி_வினாடியில்}}` + +- ஸ்வைப் சைகையைப் பயன்படுத்தி ஆண்ட்ராய்டு சாதனத்திற்கு நீண்ட அழுத்தத்தை அனுப்பவும்: + +`input swipe {{எக்ஸ்_போஸ்}} {{ஒய்_போஸ்}} {{எக்ஸ்_போஸ்}} {{ஒய்_போஸ்}} {{காலம்_மில்லி_வினாடியில்}}` diff --git a/pages.ta/android/logcat.md b/pages.ta/android/logcat.md new file mode 100644 index 00000000000000..46a38f2817b76c --- /dev/null +++ b/pages.ta/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> கணினி செய்திகளின் பதிவை டம்ப் செய்யவும். +> மேலும் விவரத்திற்கு: . + +- கணினி பதிவுகளைக் காண்பி: + +`logcat` + +- ஒரு கோப்பில் கணினி பதிவுகளை எழுதவும்: + +`logcat -f {{கோப்பு/பாதை}}` + +- வழக்கமான வெளிப்பாட்டுடன் பொருந்தக்கூடிய காட்சி வரிகள்: + +`logcat --regex {{வழக்கமான_வெளிப்பாடு}}` + +- ஒரு குறிப்பிட்ட PIDக்கான பதிவுகளை காண்பி: + +`logcat --pid {{pid}}` + +- ஒரு குறிப்பிட்ட தொகுப்பின் செயல்முறைக்கான பதிவுகளை காண்பி: + +`logcat --pid $(pidof -s {{package}})` diff --git a/pages.ta/android/pkg.md b/pages.ta/android/pkg.md new file mode 100644 index 00000000000000..e3735910e2750e --- /dev/null +++ b/pages.ta/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> டெர்மக்ஸ் க்கான தொகுப்பு மேலாண்மை பயன்பாடு. +> மேலும் விவரத்திற்கு: . + +- நிறுவப்பட்ட அனைத்து தொகுப்புகளையும் மேம்படுத்தவும்: + +`pkg upgrade` + +- ஒரு தொகுப்பை நிறுவவும்: + +`pkg install {{தொகுப்பு}}` + +- தொகுப்பை நிறுவல் நீக்கவும்: + +`pkg uninstall {{தொகுப்பு}}` + +- தொகுப்பை மீண்டும் நிறுவவும்: + +`pkg reinstall {{தொகுப்பு}}` + +- தொகுப்பைத் தேடுங்கள்: + +`pkg search {{தொகுப்பு}}` diff --git a/pages.ta/android/pm.md b/pages.ta/android/pm.md new file mode 100644 index 00000000000000..2a916ab75fc1a3 --- /dev/null +++ b/pages.ta/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> ஆண்ட்ராய்டு சாதனத்தில் பயன்பாடுகள் பற்றிய தகவலைக் காண்பி. +> மேலும் விவரத்திற்கு: . + +- நிறுவப்பட்ட அனைத்து பயன்பாடுகளையும் பட்டியலிடுங்கள்: + +`pm list packages` + +- நிறுவப்பட்ட அனைத்து கணினி பயன்பாடுகளையும் பட்டியலிடுங்கள்: + +`pm list packages -s` + +- நிறுவப்பட்ட அனைத்து மூன்றாம் தரப்பு பயன்பாடுகளையும் பட்டியலிடுங்கள்: + +`pm list packages -3` + +- குறிப்பிட்ட முக்கிய வார்த்தைகளுடன் பொருந்தக்கூடிய பயன்பாடுகளை பட்டியலிடுங்கள்: + +`pm list packages {{முக்கிய_வார்த்தை1 முக்கிய_வார்த்தை2 ...}}` + +- குறிப்பிட்ட பயன்பாட்டின் APK இன் பாதையைக் காண்பி: + +`pm path {{செயலி}}` diff --git a/pages.ta/android/screencap.md b/pages.ta/android/screencap.md new file mode 100644 index 00000000000000..4acfb1bb0c588a --- /dev/null +++ b/pages.ta/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> மொபைல் டிஸ்ப்ளேவின் ஸ்கிரீன் ஷாட்டை எடுக்கவும். +> இந்த கட்டளையை `adb shell` மூலம் மட்டுமே பயன்படுத்த முடியும். +> மேலும் விவரத்திற்கு: . + +- ஒரு ஸ்கிரீன் ஷாட்டை எடுங்கள்: + +`screencap {{கோப்பு/பாதை}}` diff --git a/pages.ta/android/settings.md b/pages.ta/android/settings.md new file mode 100644 index 00000000000000..28f2f18506562a --- /dev/null +++ b/pages.ta/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> ஆண்ட்ராய்டு ஓஎஸ் பற்றிய தகவல்களைப் பெறுங்கள். +> மேலும் விவரத்திற்கு: . + +- `குளோபல்` பெயர்வெளியில் அமைப்புகளின் பட்டியலைக் காண்பி: + +`settings list {{குளோபல்}}` + +- ஒரு குறிப்பிட்ட அமைப்பின் மதிப்பைப் பெறவும்: + +`settings get {{குளோபல்}} {{விமானம்_முறை_ஆன்}}` + +- ஒரு அமைப்பின் குறிப்பிட்ட மதிப்பை அமைக்கவும்: + +`settings put {{குளோபல்}} {{திரை_பிரகாசம்}} {{42}}` + +- ஒரு குறிப்பிட்ட அமைப்பை நீக்கு: + +`settings delete {{பாதுகாப்பான}} {{திரை_சேமிப்பான்_இயக்கப்பட்டது}}` diff --git a/pages.ta/android/wm.md b/pages.ta/android/wm.md new file mode 100644 index 00000000000000..f91b15cbe6f02a --- /dev/null +++ b/pages.ta/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> ஆண்ட்ராய்டு சாதனத்தின் திரை பற்றிய தகவலைக் காட்டு. +> இந்தக் கட்டளையை `adb shell` மூலம் மட்டுமே பயன்படுத்த முடியும். +> மேலும் விவரத்திற்கு: . + +- ஆண்ட்ராய்டு சாதனத்தின் திரையின் இயற்பியல் அளவைக் காட்டு: + +`wm size` + +- ஆண்ட்ராய்டு சாதனத்தின் திரையின் உடல் அடர்த்தியைக் காட்டவும்: + +`wm density` diff --git a/pages.ta/common/ab.md b/pages.ta/common/ab.md index 6a678e68f80722..5bb2dbb0f29b54 100644 --- a/pages.ta/common/ab.md +++ b/pages.ta/common/ab.md @@ -1,20 +1,28 @@ # ab -> அப்பாச்சி தரப்படுத்தல் கருவி. சுமை சோதனை செய்ய எளிய கருவி. -> மேலும் தகவல்: . +> அப்பாச்சி HTTP சர்வர் தரப்படுத்தல் கருவி. +> மேலும் விவரத்திற்கு: . -- கொடுக்கப்பட்ட முகவரி க்கு 100 HTTP GET கோரிக்கைகளை இயக்கவும்: +- கொடுக்கப்பட்ட முகவரிக்கு 100 HTTP GET கோரிக்கைகளை இயக்கவும்: -`ab -n {{100}} {{முகவரி}}` +`ab -n 100 {{முகவரி}}` -- கொடுக்கப்பட்ட முகவரி க்கு 100 HTTP GET கோரிக்கைகளை ஒரே நேரத்தில் 10 கோரிக்கைகள் வீதம் செயல்படுத்தவும் : +- 100 HTTP GET கோரிக்கைகளை, ஒரே நேரத்தில் 10 தொகுதிகளில், URL முகவரிக்கு செயல்படுத்தவும்: -`ab -n {{100}} -c {{10}} {{முகவரி}}` +`ab -n 100 -c 10 {{முகவரி}}` -- இணைப்பை தொடரச்செய்: +- ஒரு கோப்பிலிருந்து JSON பேலோடைப் பயன்படுத்தி, 100 HTTP POST கோரிக்கைகளை URL க்கு செயல்படுத்தவும்: + +`ab -n 100 -T {{application/json}} -p {{கோப்பு.json/பாதை}} {{முகவரி}}` + +- HTTP [K]eep Alive ஐப் பயன்படுத்தவும், அதாவது ஒரு HTTP அமர்வுக்குள் பல கோரிக்கைகளைச் செய்யவும்: `ab -k {{முகவரி}}` -- தரப்படுத்தல் குறிக்க செலவழிக்க அதிகபட்ச விநாடிகளை அமைக்கவும்: +- தரப்படுத்தலுக்கு செலவிட வேண்டிய அதிகபட்ச வினாடிகளை அமைக்கவும்: `ab -t {{60}} {{முகவரி}}` + +- முடிவுகளை ஒரு CSV கோப்பில் எழுதவும்: + +`ab -e {{கோப்பு.csv/பாதை}}` diff --git a/pages.ta/common/ack.md b/pages.ta/common/ack.md index d8e5eabeda59c6..c6d7325ec14b07 100644 --- a/pages.ta/common/ack.md +++ b/pages.ta/common/ack.md @@ -1,24 +1,37 @@ # ack -> புரோகிராமர்களுக்கு உகந்ததாக கிரப் போன்ற தேடல் கருவி. -> மேலும் தகவல்: . +> டெவலப்பர்களுக்காக உகந்ததாக `grep` போன்ற ஒரு தேடல் கருவி. +> மேலும் பார்க்கவும்: `rg`, இது மிகவும் வேகமானது. +> மேலும் விவரத்திற்கு: . -- "காலை" கொண்ட கோப்புகளைக் கண்டறியவும்: +- தற்போதைய கோப்பகத்தில் ஒரு சரம் அல்லது வழக்கமான வெளிப்பாடு உள்ள கோப்புகளை மீண்டும் மீண்டும் தேடவும்: -`ack {{காலை}}` +`ack "{{தேடல்_முறை}}"` -- ஒரு குறிப்பிட்ட வகை கோப்புகளைக் கண்டறியவும்: +- கேஸ்-சென்சிட்டிவ் பேட்டர்னைத் தேடுங்கள்: -`ack --ruby {{காலை}}` +`ack {{[-i|--ignore-case]}} "{{தேடல்_முறை}}"` -- "காலை" என்ற சொல்லின் மொத்த பொருத்தங்களை எண்ணிக்கையை எண்ணவும்: +- ஒரு வடிவத்துடன் பொருந்தக்கூடிய வரிகளைத் தேடவும், [o]பொருந்திய உரையை மட்டும் அச்சிடவும் மற்றும் வரியின் மீதமுள்ளவை அல்ல: -`ack -ch {{காலை}}` +`ack {{[-o|--output '$&']}} "{{தேடல்_முறை}}"` -- காலை என்னும் சொல்லை கொண்ட ஒவ்வொரு கோப்பின் பெயர் மற்றும் பொருத்தங்களின் எண்ணிக்கையை காட்டவும்: +- ஒரு குறிப்பிட்ட வகை கோப்புகளுக்கான தேடலை வரம்பிடவும்: -`ack -cl {{காலை}}` +`ack {{[-t|--type]}} {{ruby}} "{{தேடல்_முறை}}"` -- அனைத்து செல்லுபடியாகும் வகைகளையும் பட்டியலிடவும்: +- ஒரு குறிப்பிட்ட வகை கோப்புகளில் தேட வேண்டாம்: + +`ack {{[-t|--type]}} no{{ruby}} "{{தேடல்_முறை}}"` + +- காணப்பட்ட மொத்த பொருத்தங்களின் எண்ணிக்கையை எண்ணுங்கள்: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{தேடல்_முறை}}"` + +- ஒவ்வொரு கோப்பிற்கும் கோப்பு பெயர்கள் மற்றும் பொருத்தங்களின் எண்ணிக்கையை மட்டும் அச்சிடவும்: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{தேடல்_முறை}}"` + +- `--type` உடன் பயன்படுத்தக்கூடிய அனைத்து மதிப்புகளையும் பட்டியலிடுங்கள்: `ack --help-types` diff --git a/pages.ta/common/b2sum.md b/pages.ta/common/b2sum.md new file mode 100644 index 00000000000000..136b03cca692ee --- /dev/null +++ b/pages.ta/common/b2sum.md @@ -0,0 +1,28 @@ +# b2sum + +> BLAKE2 மறையீட்டு சரிகாண்தொகைகளைக் கணி அல்லது சரிபார். +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான BLAKE2 சரிகாண்தொகையைக் கணி: + +`b2sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- BLAKE2 சரிகாண்தொகை பட்டியலைக் கணக்கிட்டு ஒரு கோப்பில் சேமிக்கவும்: + +`b2sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}} > {{கோப்பு.b2/பாதை}}` + +- `stdin` (இயல் உள்ளீடு) இலிருந்து BLAKE2 சரிகாண்தொகையை கணி: + +`{{சில_கட்டளை}} | b2sum` + +- BLAKE2 SHA1 தொகைகள் மற்றும் கோப்புப்பெயர்களின் கோப்பைப் படித்து, எல்லாக் கோப்புகளிலும் சரிகாண்தொகைகள் பொருந்துகின்றன என்பதைச் சரிபார்க்கவும்: + +`b2sum --check {{கோப்பு.b2/பாதை}}` + +- விடுபட்ட கோப்புகள் அல்லது சரிபார்ப்பு தோல்வியுற்றால் மட்டுமே செய்தியைக் காட்டவும்: + +`b2sum --check --quiet {{கோப்பு.b2/பாதை}}` + +- விடுபட்ட கோப்புகளைப் புறக்கணித்து, சரிபார்ப்பு தோல்வியுற்ற கோப்புகளுக்கான செய்தியை மட்டும் காட்டவும்: + +`b2sum --ignore-missing --check --quiet {{கோப்பு.b2/பாதை}}` diff --git a/pages.ta/common/brew.md b/pages.ta/common/brew.md new file mode 100644 index 00000000000000..443a9fceaaa894 --- /dev/null +++ b/pages.ta/common/brew.md @@ -0,0 +1,36 @@ +# brew + +> மேக் ஓஎஸ் மற்றும் லினக்ஸ் கான தொகுப்பு மேலாளர். +> மேலும் விவரத்திற்கு: . + +- ஃபார்முலா அல்லது கேஸ்கின் சமீபத்திய நிலையான பதிப்பை நிறுவவும்: + +`brew install {{சூத்திரம்}}` + +- நிறுவப்பட்ட அனைத்து சூத்திரங்கள் மற்றும் கேஸ்க்களைப் பட்டியலிடுங்கள்: + +`brew list` + +- நிறுவப்பட்ட சூத்திரம் அல்லது கேஸ்க்கை மேம்படுத்தவும் (எதுவும் வழங்கப்படவில்லை என்றால், நிறுவப்பட்ட அனைத்து சூத்திரங்களும்/கேஸ்களும் மேம்படுத்தப்படும்): + +`brew upgrade {{சூத்திரம்}}` + +- ஹோம்ப்ரூவின் புதிய பதிப்பு மற்றும் ஹோம்ப்ரூ மூல களஞ்சியத்திலிருந்து அனைத்து சூத்திரங்கள் மற்றும் கேஸ்க்களைப் பெறவும்: + +`brew update` + +- மிகவும் சமீபத்திய பதிப்பு கிடைக்கக்கூடிய சூத்திரங்கள் மற்றும் கேஸ்க்களைக் காட்டு: + +`brew outdated` + +- கிடைக்கக்கூடிய சூத்திரங்கள் (அதாவது தொகுப்புகள்) மற்றும் கேஸ்கள் (அதாவது சொந்த தொகுப்புகள்) ஆகியவற்றைத் தேடுங்கள்: + +`brew search {{உரை}}` + +- ஒரு சூத்திரம் அல்லது கேஸ்கலை (பதிப்பு, நிறுவல் பாதை, சார்புகள் போன்றவை) பற்றிய தகவலைக் காண்பி: + +`brew info {{சூத்திரம்}}` + +- சாத்தியமான சிக்கல்களுக்கு உள்ளூர் ஹோம்ப்ரூவின் நிறுவலைச் சரிபார்க்கவும்: + +`brew doctor` diff --git a/pages.ta/common/bundler.md b/pages.ta/common/bundler.md new file mode 100644 index 00000000000000..614859b1545282 --- /dev/null +++ b/pages.ta/common/bundler.md @@ -0,0 +1,8 @@ +# bundler + +> ரூபி நிரலாக்க மொழிக்கான சார்பு மேலாளர். `bundler` என்பது கட்டளை `bundle` கான பொதுவான பெயர், ஆனால் ஒரு கட்டளை அல்ல. +> மேலும் விவரத்திற்கு: . + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr bundle` diff --git a/pages.ta/common/calc.md b/pages.ta/common/calc.md new file mode 100644 index 00000000000000..a40fb26388ec31 --- /dev/null +++ b/pages.ta/common/calc.md @@ -0,0 +1,36 @@ +# calc + +> முனையத்தில் ஒரு ஊடாடும் தன்னிச்சையான துல்லியமான கால்குலேட்டர். +> மேலும் விவரத்திற்கு: . + +- ஊடாடும் பயன்முறையில் `calc` ஐத் தொடங்கவும்: + +`calc` + +- ஊடாடாத பயன்முறையில் கணக்கீடு செய்யவும்: + +`calc '{{85 * (36 / 4)}}'` + +- வெளியீட்டு வடிவமைப்பு இல்லாமல் கணக்கீடு செய்யுங்கள் (குழாய்களுடன் பயன்படுத்த): + +`calc -p '{{4/3 * pi() * 5^3}}'` + +- ஒரு கணக்கீட்டைச் செய்து, பின்னர் [i]ஊடாடும் பயன்முறைக்கு மாறவும்: + +`calc -i '{{sqrt(2)}}'` + +- ஒரு குறிப்பிட்ட அனுமதி முறை இல் `calc` ஐத் தொடங்கவும் (0 முதல் 7, இயல்புநிலை 7 வரை): + +`calc -m {{முறை}}` + +- `calc` அறிமுகத்தைப் பார்க்கவும்: + +`calc help intro` + +- `calc` இன் மேலோட்டத்தைப் பார்க்கவும்: + +`calc help overview` + +- `calc` கையேட்டைத் திறக்கவும்: + +`calc help` diff --git a/pages.ta/common/cargo-add.md b/pages.ta/common/cargo-add.md new file mode 100644 index 00000000000000..f93ef9322c2d9d --- /dev/null +++ b/pages.ta/common/cargo-add.md @@ -0,0 +1,32 @@ +# cargo add + +> ரஸ்ட் திட்டத்தின் `Cargo.toml` கோப்பில் சார்புகளைச் சேர்க்கவும். +> மேலும் விவரத்திற்கு: . + +- தற்போதைய திட்டப்பணியில் சார்புநிலையின் சமீபத்திய பதிப்பைச் சேர்க்கவும்: + +`cargo add {{சார்பு}}` + +- சார்புநிலையின் குறிப்பிட்ட பதிப்பைச் சேர்க்கவும்: + +`cargo add {{சார்பு}}@{{பதிப்பு}}` + +- சார்புநிலையைச் சேர்த்து ஒன்று அல்லது அதற்கு மேற்பட்ட குறிப்பிட்ட அம்சங்களை இயக்கவும்: + +`cargo add {{சார்பு}} --features {{அம்சம்_1}},{{அம்சம்_2}}` + +- விருப்ப சார்புநிலையைச் சேர்க்கவும், அது கிரேட்டின் அம்சமாக வெளிப்படும்: + +`cargo add {{சார்பு}} --optional` + +- சார்புநிலையாக உள்ளூர் கிரேட்டைச் சேர்க்கவும்: + +`cargo add --path {{கிரேட்/பாதை}}` + +- ஒரு மேம்பாட்டைச் சேர்க்கவும் அல்லது சார்புநிலையை உருவாக்கவும்: + +`cargo add {{சார்பு}} --{{dev|build}}` + +- அனைத்து இயல்புநிலை அம்சங்களும் முடக்கப்பட்டுள்ள சார்புநிலையைச் சேர்க்கவும்: + +`cargo add {{சார்பு}} --no-default-features` diff --git a/pages.ta/common/cargo-build.md b/pages.ta/common/cargo-build.md new file mode 100644 index 00000000000000..71879169d74dc7 --- /dev/null +++ b/pages.ta/common/cargo-build.md @@ -0,0 +1,32 @@ +# cargo build + +> ஒரு உள்ளூர் தொகுப்பு மற்றும் அதன் அனைத்து சார்புகளையும் தொகுக்கவும். +> மேலும் விவரத்திற்கு: . + +- உள்ளூர் பாதையில் `Cargo.toml` மேனிஃபெஸ்ட் கோப்பால் வரையறுக்கப்பட்ட தொகுப்பு அல்லது தொகுப்புகளை உருவாக்கவும்: + +`cargo {{[b|build]}}` + +- மேம்படுத்தல்களுடன், வெளியீட்டு பயன்முறையில் கலைப்பொருட்களை உருவாக்கவும்: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- `Cargo.lock` புதுப்பித்த நிலையில் இருக்க வேண்டும்: + +`cargo {{[b|build]}} --locked` + +- பணியிடத்தில் அனைத்து தொகுப்புகளையும் உருவாக்கவும்: + +`cargo {{[b|build]}} --workspace` + +- ஒரு குறிப்பிட்ட தொகுப்பை உருவாக்கவும்: + +`cargo {{[b|build]}} {{[-p|--package]}} {{தொகுப்பு}}` + +- குறிப்பிட்ட பைனரியை மட்டும் உருவாக்கவும்: + +`cargo {{[b|build]}} --bin {{பெயர்}}` + +- குறிப்பிட்ட சோதனை இலக்கை மட்டும் உருவாக்கவும்: + +`cargo {{[b|build]}} --test {{சோதனை_பெயர்}}` diff --git a/pages.ta/common/cargo-clippy.md b/pages.ta/common/cargo-clippy.md new file mode 100644 index 00000000000000..27bde3d74f8614 --- /dev/null +++ b/pages.ta/common/cargo-clippy.md @@ -0,0 +1,32 @@ +# cargo clippy + +> பொதுவான தவறுகளைப் பிடிக்கவும் உங்கள் ரஸ்ட் குறியீட்டை மேம்படுத்தவும் லிண்ட்களின் தொகுப்பு. +> மேலும் விவரத்திற்கு: . + +- தற்போதைய கோப்பகத்தில் உள்ள குறியீட்டின் மீது காசோலைகளை இயக்கவும்: + +`cargo clippy` + +- `Cargo.lock` புதுப்பித்த நிலையில் இருக்க வேண்டும்: + +`cargo clippy --locked` + +- பணியிடத்தில் உள்ள அனைத்து தொகுப்புகளிலும் சரிபார்ப்புகளை இயக்கவும்: + +`cargo clippy --workspace` + +- தொகுப்புக்கான காசோலைகளை இயக்கவும்: + +`cargo clippy --package {{தொகுப்பு}}` + +- எச்சரிக்கைகளை பிழைகளாகக் கருதுங்கள்: + +`cargo clippy -- --deny warnings` + +- சோதனைகளை இயக்கவும் மற்றும் எச்சரிக்கைகளை புறக்கணிக்கவும்: + +`cargo clippy -- --allow warnings` + +- Clippy பரிந்துரைகளை தானாகவே பயன்படுத்தவும்: + +`cargo clippy --fix` diff --git a/pages.ta/common/cargo-doc.md b/pages.ta/common/cargo-doc.md new file mode 100644 index 00000000000000..546ea8dc282d46 --- /dev/null +++ b/pages.ta/common/cargo-doc.md @@ -0,0 +1,20 @@ +# cargo doc + +> ரஸ்ட் தொகுப்புகளின் ஆவணங்களை உருவாக்கவும். +> மேலும் விவரத்திற்கு: . + +- தற்போதைய திட்டம் மற்றும் அனைத்து சார்புகளுக்கான ஆவணங்களை உருவாக்கவும்: + +`cargo {{[d|doc]}}` + +- சார்புகளுக்கான ஆவணங்களை உருவாக்க வேண்டாம்: + +`cargo {{[d|doc]}} --no-deps` + +- உலாவியில் ஆவணங்களை உருவாக்கி திறக்கவும்: + +`cargo {{[d|doc]}} --open` + +- ஒரு குறிப்பிட்ட தொகுப்பின் ஆவணங்களை உருவாக்கி பார்க்கவும்: + +`cargo {{[d|doc]}} --open {{[-p|--package]}} {{தொகுப்பு}}` diff --git a/pages.ta/common/cargo-rustc.md b/pages.ta/common/cargo-rustc.md new file mode 100644 index 00000000000000..2b153c61297157 --- /dev/null +++ b/pages.ta/common/cargo-rustc.md @@ -0,0 +1,37 @@ +# cargo rustc + +> ரஸ்ட் தொகுப்பைத் தொகுக்கவும். `cargo build` போன்றது, ஆனால் நீங்கள் கூடுதல் விருப்பங்களை கம்பைலருக்கு அனுப்பலாம். +> கிடைக்கக்கூடிய அனைத்து விருப்பங்களுக்கு `rustc --help` ஐப் பார்க்கவும். +> மேலும் விவரத்திற்கு: . + +- தொகுப்பை உருவாக்கி விருப்பங்களை `rustc` க்கு அனுப்பவும்: + +`cargo rustc -- {{rustc_options}}` + +- மேம்படுத்தல்களுடன், வெளியீட்டு பயன்முறையில் கலைப்பொருட்களை உருவாக்கவும்: + +`cargo rustc --release` + +- தற்போதைய CPUக்கான கட்டமைப்பு-குறிப்பிட்ட மேம்படுத்தல்களுடன் தொகுக்கவும்: + +`cargo rustc --release -- -C target-cpu=native` + +- வேக உகப்பாக்கத்துடன் தொகுக்கவும்: + +`cargo rustc -- -C opt-level {{1|2|3}}` + +- [s]ize (அளவு) ஆப்டிமைசேஷன் மூலம் தொகுக்கவும் (`z` லூப் வெக்டரைசேஷனையும் முடக்குகிறது): + +`cargo rustc -- -C opt-level {{s|z}}` + +- உங்கள் தொகுப்பு பாதுகாப்பற்ற குறியீட்டைப் பயன்படுத்துகிறதா எனச் சரிபார்க்கவும்: + +`cargo rustc --lib -- -D unsafe-code` + +- ஒரு குறிப்பிட்ட தொகுப்பை உருவாக்கவும்: + +`cargo rustc --package {{தொகுப்பு}}` + +- குறிப்பிட்ட பைனரியை மட்டும் உருவாக்கவும்: + +`cargo rustc --bin {{பெயர்}}` diff --git a/pages.ta/common/cargo-test.md b/pages.ta/common/cargo-test.md new file mode 100644 index 00000000000000..09b7d492b3b2b2 --- /dev/null +++ b/pages.ta/common/cargo-test.md @@ -0,0 +1,28 @@ +# cargo test + +> ரஸ்ட் தொகுப்பின் அலகு மற்றும் ஒருங்கிணைப்பு சோதனைகளை செயல்படுத்தவும். +> மேலும் விவரத்திற்கு: . + +- அவர்களின் பெயர்களில் ஒரு குறிப்பிட்ட சரம் உள்ள சோதனைகளை மட்டும் இயக்கவும்: + +`cargo {{[t|test]}} {{சோதனை_பெயர்}}` + +- ஒரே நேரத்தில் இயங்கும் சோதனை வழக்குகளின் எண்ணிக்கையை அமைக்கவும்: + +`cargo {{[t|test]}} -- --test-threads {{எண்ணிக்கை}}` + +- மேம்படுத்தல்களுடன், வெளியீட்டு பயன்முறையில் கலைப்பொருட்களை சோதிக்கவும்: + +`cargo {{[t|test]}} {{[-r|--release]}}` + +- பணியிடத்தில் உள்ள அனைத்து தொகுப்புகளையும் சோதிக்கவும்: + +`cargo {{[t|test]}} --workspace` + +- ஒரு குறிப்பிட்ட தொகுப்புக்கான சோதனைகளை இயக்கவும்: + +`cargo {{[t|test]}} {{[-p|--package]}} {{தொகுப்பு}}` + +- சோதனைச் செயலாக்கங்களிலிருந்து வெளியீட்டை மறைக்காமல் சோதனைகளை இயக்கவும்: + +`cargo {{[t|test]}} -- --nocapture` diff --git a/pages.ta/common/cargo.md b/pages.ta/common/cargo.md new file mode 100644 index 00000000000000..0f965c35bbe566 --- /dev/null +++ b/pages.ta/common/cargo.md @@ -0,0 +1,37 @@ +# cargo + +> ரஸ்ட் திட்டங்கள் மற்றும் அவற்றின் தொகுதி சார்புகளை (கிரேட்ஸ்) நிர்வகிக்கவும். +> `build` போன்ற சில துணைக் கட்டளைகள் அவற்றின் சொந்த பயன்பாட்டு ஆவணங்களைக் கொண்டுள்ளன. +> மேலும் விவரத்திற்கு: . + +- கிரேட்ஸைத் தேடுங்கள்: + +`cargo search {{தேடல்_சரம்}}` + +- ஒரு பைனரி பெட்டியை நிறுவவும்: + +`cargo install {{கிரேட்_பெயர்}}` + +- நிறுவப்பட்ட பைனரி பெட்டிகளை பட்டியலிடுங்கள்: + +`cargo install --list` + +- குறிப்பிட்ட கோப்பகத்தில் புதிய பைனரி அல்லது நூலகம் ரஸ்ட் திட்டத்தை உருவாக்கவும் (அல்லது முன்னிருப்பாக தற்போதைய வேலை கோப்பகம்): + +`cargo init --{{bin|lib}} {{அடைவிற்குப்/பாதை}}` + +- தற்போதைய கோப்பகத்தில் `Cargo.toml` இல் சார்புநிலையைச் சேர்க்கவும்: + +`cargo add {{சார்பு}}` + +- வெளியீட்டு சுயவிவரத்தைப் பயன்படுத்தி தற்போதைய கோப்பகத்தில் ரஸ்ட் திட்டத்தை உருவாக்கவும்: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- நைட்லி கம்பைலரைப் பயன்படுத்தி தற்போதைய கோப்பகத்தில் ரஸ்ட் திட்டத்தை உருவாக்கவும் (`rustup` தேவை): + +`cargo +nightly {{[b|build]}}` + +- குறிப்பிட்ட எண்ணிக்கையிலான நூல்களைப் பயன்படுத்தி உருவாக்கவும் (இயல்புநிலை தருக்க CPU கோர்களின் எண்ணிக்கை): + +`cargo {{[b|build]}} --jobs {{நூல்களின்_எண்ணிக்கை}}` diff --git a/pages.ta/common/cd.md b/pages.ta/common/cd.md new file mode 100644 index 00000000000000..742aec258e1efe --- /dev/null +++ b/pages.ta/common/cd.md @@ -0,0 +1,28 @@ +# cd + +> தற்போதைய வேலை கோப்பகத்தை மாற்றவும். +> மேலும் விவரத்திற்கு: . + +- குறிப்பிட்ட கோப்பகத்திற்குச் செல்லவும்: + +`cd {{அடைவிற்குப்/பாதை}}` + +- தற்போதைய கோப்பகத்தின் பெற்றோருக்குச் செல்லவும்: + +`cd ..` + +- தற்போதைய பயனரின் முகப்பு கோப்பகத்திற்குச் செல்லவும்: + +`cd` + +- குறிப்பிட்ட பயனரின் முகப்பு கோப்பகத்திற்குச் செல்லவும்: + +`cd ~{{பயனர்ப்பெயர்}}` + +- முன்பு தேர்ந்தெடுக்கப்பட்ட கோப்பகத்திற்குச் செல்லவும்: + +`cd -` + +- ரூட் கோப்பகத்திற்குச் செல்லவும்: + +`cd /` diff --git a/pages.ta/common/cksum.md b/pages.ta/common/cksum.md new file mode 100644 index 00000000000000..e913dbfde19555 --- /dev/null +++ b/pages.ta/common/cksum.md @@ -0,0 +1,9 @@ +# cksum + +> கோப்பின் CRC சரிகாண்தொகையைக் கணித்து அதில் எத்தனை எண்ணிருமிகளுள்ளன என்றெண்ணு. +> குறிப்பு: பழைய Unix கணினிகளில் CRC கணிமுறை மாறலாம். +> மேலும் விவரத்திற்கு: . + +- கோப்பின் 32-இருமி சரிகாண்தொகையையும் எண்ணிருமி அலகில் கோப்பளவையும் பெயரையும் காட்டு: + +`cksum {{கோப்பு/பாதை}}` diff --git a/pages.ta/common/clamav.md b/pages.ta/common/clamav.md new file mode 100644 index 00000000000000..7ae42cef81f30b --- /dev/null +++ b/pages.ta/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> திறந்த மூல வைரஸ் எதிர்ப்பு நிரல். +> ClamAV ஒரு கட்டளை அல்ல, ஆனால் கட்டளைகளின் தொகுப்பு. +> மேலும் விவரத்திற்கு: . + +- `clamd` டீமானைப் பயன்படுத்தி கோப்புகளை ஸ்கேன் செய்வதற்கான `tldr` பக்கத்தைக் காட்டு: + +`tldr clamdscan` + +- `clamd` டீமான் இயங்காமல் கோப்புகளை ஸ்கேன் செய்வதற்கான `tldr` பக்கத்தைக் காட்டு: + +`tldr clamscan` + +- வைரஸ் வரையறைகளைப் புதுப்பிக்க `tldr` பக்கத்தைக் காட்டு: + +`tldr freshclam` diff --git a/pages.ta/common/clang-cpp.md b/pages.ta/common/clang-cpp.md new file mode 100644 index 00000000000000..e879b9eb08cc65 --- /dev/null +++ b/pages.ta/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> இக்கட்டளை `clang++` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr clang++` diff --git a/pages.ta/common/clojure.md b/pages.ta/common/clojure.md new file mode 100644 index 00000000000000..2786b59dae9e7c --- /dev/null +++ b/pages.ta/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> இக்கட்டளை `clj` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr clj` diff --git a/pages.ta/common/cola.md b/pages.ta/common/cola.md new file mode 100644 index 00000000000000..37fe15a7c0f6ae --- /dev/null +++ b/pages.ta/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> இக்கட்டளை `git-cola` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr git-cola` diff --git a/pages.ta/common/cp.md b/pages.ta/common/cp.md index 23e42024c0a298..e045f0288296fd 100644 --- a/pages.ta/common/cp.md +++ b/pages.ta/common/cp.md @@ -1,27 +1,36 @@ # cp > கோப்புகளையோ அடைவுகளையோ நகலெடு. +> மேலும் விவரத்திற்கு: . - கோப்பை நகலெடு: -`cp {{மூலக்கோப்பிற்குப்/பாதை}} {{நகல்/கோப்பிற்குப்/பாதை}}` +`cp {{மூல_கோப்பு.ext/பாதை}} {{நகல்_கோப்பு.ext/பாதை}}` - கோப்பை நகலெடுத்து அடைவொன்றிற்குள் அதே பெயருடன் வை: -`cp {{மூலக்கோப்பிற்குப்/பாதை}} {{நகல்/கோப்பின்/தாயடைவிற்குப்/பாதை}}` +`cp {{மூல_கோப்பு.ext/பாதை}} {{நகல்/கோப்பின்/தாயடைவிற்குப்/பாதை}}` -- அடைவையும் அதில் உள்ளடங்கிய அனைத்தையும் தற்சுருளாக நகலெடு: +- ஒரு கோப்பகத்தின் உள்ளடக்கங்களை மீண்டும் மீண்டும் மற்றொரு இடத்திற்கு நகலெடுக்கவும் (இலக்கு இருந்தால், அடைவு அதன் உள்ளே நகலெடுக்கப்படும்): -`cp -r {{மூல/அடைவிற்குப்/பாதை}} {{நகல்/அடைவிற்குப்/பாதை}}` +`cp {{[-r|--recursive]}} {{மூல/அடைவிற்குப்/பாதை}} {{நகல்/அடைவிற்குப்/பாதை}}` -- அடைவையும் அதில் உள்ளடங்கிய அனைத்தையும் தற்சுருளாக வளவள நிலையில் (நகலெடுக்கப்படும் கோப்புகள் பட்டியலிடப்படும்) நகலெடு: +- ஒரு கோப்பகத்தை மீண்டும் மீண்டும், வாய்மொழி முறையில் நகலெடுக்கவும் (அவை நகலெடுக்கப்பட்ட கோப்புகளைக் காட்டுகிறது): -`cp -vr {{மூல/அடைவிற்குப்/பாதை}} {{நகல்/அடைவிற்குப்/பாதை}}` +`cp {{[-vr|--verbose --recursive]}} {{மூல/அடைவிற்குப்/பாதை}} {{நகல்/அடைவிற்குப்/பாதை}}` -- அடைவின் உள்ளடக்கத்தை நகலெடுத்து இன்னொரு அடைவிற்குள் வை: +- ஒரே நேரத்தில் பல கோப்புகளை ஒரு கோப்பகத்திற்கு நகலெடுக்கவும்: -`cp -r {{மூல/அடைவிற்குப்/பாதை/*}} {{நகல்/அடைவிற்குப்/பாதை}}` +`cp {{[-t|--target-directory]}} {{இலக்கு_அடைவுப்/பாதை}} {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` - txt வகைப்பெயருடையக் கோப்புகளை ஊடாட்ட நிலையில் (ஏற்கனவே இருக்கும் கோப்புகள் மேலெழுதும் முன் உறுதிப்படுத்தக் கேட்கும்) நகலெடு: -`cp -i {{*.txt}} {{நகல்/அடைவிற்குப்/பாதை}}` +`cp {{[-i|--interactive]}} {{*.txt}} {{நகல்/அடைவிற்குப்/பாதை}}` + +- நகலெடுக்கும் முன் குறியீட்டு இணைப்புகளைப் பின்பற்றவும்: + +`cp {{[-L|--dereference]}} {{இணைப்பு}} {{நகல்/அடைவிற்குப்/பாதை}}` + +- முதல் வாதத்தை இலக்கு கோப்பகமாகப் பயன்படுத்தவும் (`xargs ... | cp -t `): + +`cp {{[-t|--target-directory]}} {{நகல்/அடைவிற்குப்/பாதை}} {{கோப்பு_அல்லது_அடைவு1/பாதை கோப்பு_அல்லது_அடைவு2/பாதை ...}}` diff --git a/pages.ta/common/cron.md b/pages.ta/common/cron.md new file mode 100644 index 00000000000000..36a5fd35f85724 --- /dev/null +++ b/pages.ta/common/cron.md @@ -0,0 +1,8 @@ +# cron + +> `cron` என்பது கவனிக்கப்படாத வேலைகள் அல்லது பணிகளை இயக்குவதற்கான ஒரு கணினி திட்டமிடல் ஆகும். +> `cron` க்கு உள்ளீடுகளைச் சமர்ப்பிக்க, திருத்த அல்லது நீக்குவதற்கான கட்டளை `crontab` எனப்படும். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr crontab` diff --git a/pages.ta/common/df.md b/pages.ta/common/df.md new file mode 100644 index 00000000000000..56c3a5d116c4ce --- /dev/null +++ b/pages.ta/common/df.md @@ -0,0 +1,20 @@ +# df + +> கோப்பு முறைமை வட்டு இட உபயோகத்தின் மேலோட்டத்தை அளிக்கிறது. +> மேலும் விவரத்திற்கு: . + +- 512-பைட் அலகுகளைப் பயன்படுத்தி அனைத்து கோப்பு முறைமைகளையும் அவற்றின் வட்டு பயன்பாட்டையும் காண்பிக்கவும்: + +`df` + +- கொடுக்கப்பட்ட கோப்பு அல்லது கோப்பகத்தைக் கொண்ட கோப்பு முறைமை மற்றும் அதன் வட்டு பயன்பாட்டைக் காண்பி: + +`df {{கோப்பு_அல்லது_அடைவு/பாதை}}` + +- விண்வெளி புள்ளிவிவரங்களை எழுதும் போது 1024-பைட் அலகுகளைப் பயன்படுத்தவும்: + +`df -k` + +- ஒரு சிறிய வழியில் தகவலைக் காண்பி: + +`df -P` diff --git a/pages.ta/common/fossil-ci.md b/pages.ta/common/fossil-ci.md new file mode 100644 index 00000000000000..2cb700d7371083 --- /dev/null +++ b/pages.ta/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> இக்கட்டளை `fossil commit`.கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr fossil commit` diff --git a/pages.ta/common/fossil-forget.md b/pages.ta/common/fossil-forget.md new file mode 100644 index 00000000000000..eafec2670f1865 --- /dev/null +++ b/pages.ta/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> இக்கட்டளை `fossil rm` கட்டளையின் மற்றொருப் பெயர். +> மேலும் விவரத்திற்கு: . + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr fossil rm` diff --git a/pages.ta/common/fossil-new.md b/pages.ta/common/fossil-new.md new file mode 100644 index 00000000000000..c0a38e9bab20e8 --- /dev/null +++ b/pages.ta/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> இக்கட்டளை `fossil init`.கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr fossil init` diff --git a/pages.ta/common/fossil-rm.md b/pages.ta/common/fossil-rm.md new file mode 100644 index 00000000000000..f8fcde09d0e626 --- /dev/null +++ b/pages.ta/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> இக்கட்டளை `fossil delete` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr fossil delete` diff --git a/pages.ta/common/g++.md b/pages.ta/common/g++.md new file mode 100644 index 00000000000000..5a3efc9cbad7e0 --- /dev/null +++ b/pages.ta/common/g++.md @@ -0,0 +1,33 @@ +# g++ + +> C++ மூலக் கோப்புகளைத் தொகுக்கிறது. +> GCC இன் பகுதி (GNU கம்பைலர் சேகரிப்பு). +> மேலும் விவரத்திற்கு: . + +- இயங்கக்கூடிய பைனரியில் ஒரு மூலக் குறியீடு கோப்பை தொகுக்கவும்: + +`g++ {{மூலம்.cpp/பாதை}} {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}}` + +- அனைத்து பிழைகள் மற்றும் எச்சரிக்கைகள் (கிட்டத்தட்ட) காட்சி: + +`g++ {{மூலம்.cpp/பாதை}} -Wall {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}}` + +- (C++98/C++11/C++14/C++17) தொகுக்க ஒரு மொழித் தரத்தைத் தேர்வு செய்யவும்: + +`g++ {{மூலம்.cpp/பாதை}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}}` + +- மூலக் கோப்பை விட வேறு பாதையில் அமைந்துள்ள நூலகங்களைச் சேர்க்கவும்: + +`g++ {{மூலம்.cpp/பாதை}} {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}} -I{{தலைப்பு/பாதை}} -L{{நூலகம்/பாதை}} -l{{நூலகம்_பெயர்}}` + +- பல மூலக் குறியீடு கோப்புகளை ஒரு இயங்கக்கூடிய பைனரியில் தொகுத்து இணைக்கவும்: + +`g++ -c {{மூலம்_1.cpp/பாதை மூலம்_2.cpp/பாதை ...}} && g++ {{[-o|--output]}} {{வெளியீடு_செயல்படுத்தக்கூடியது/பாதை}} {{மூலம்_1.o/பாதை மூலம்_2.o/பாதை ...}}` + +- செயல்திறனுக்காக தொகுக்கப்பட்ட நிரலை மேம்படுத்தவும்: + +`g++ {{மூலம்.cpp/பாதை}} -O{{1|2|3|fast}} {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}}` + +- பதிப்பைக் காட்டு: + +`g++ --version` diff --git a/pages.ta/common/gcc.md b/pages.ta/common/gcc.md new file mode 100644 index 00000000000000..68d524d3a13acd --- /dev/null +++ b/pages.ta/common/gcc.md @@ -0,0 +1,28 @@ +# gcc + +> C மற்றும் C++ மூலக் கோப்புகளை முன் செயலாக்கம் செய்து தொகுத்து, பின்னர் அவற்றைச் சேகரித்து இணைக்கவும். +> மேலும் விவரத்திற்கு: . + +- பல மூல கோப்புகளை இயங்கக்கூடியதாக தொகுக்கவும்: + +`gcc {{மூலம்1.c/பாதை மூலம்2.c/பாதை ...}} {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}}` + +- வெளியீட்டில் எச்சரிக்கைகள் மற்றும் பிழைத்திருத்த குறியீடுகளை அனுமதிக்கவும்: + +`gcc {{மூலம்.c/பாதை}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}}` + +- வேறு பாதையிலிருந்து நூலகங்களைச் சேர்க்கவும்: + +`gcc {{மூலம்.c/பாதை}} {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}} -I{{தலைப்பு}} -L{{நூலகத்திற்கு/பாதை}} -l{{நூலகம்_பெயர்}}` + +- மூலக் குறியீட்டை அசெம்பிளர் வழிமுறைகளில் தொகுக்கவும்: + +`gcc {{[-S|--assemble]}} {{மூலம்.c/பாதை}}` + +- இணைக்காமல் மூலக் குறியீட்டை தொகுக்கவும்: + +`gcc {{[-c|--compile]}} {{மூலம்.c/பாதை}}` + +- செயல்திறனுக்காக தொகுக்கப்பட்ட நிரலை மேம்படுத்தவும்: + +`gcc {{மூலம்.c/பாதை}} -O{{1|2|3|fast}} {{[-o|--output]}} {{வெளியீடு_இயங்கக்கூடியது/பாதை}}` diff --git a/pages.ta/common/gem.md b/pages.ta/common/gem.md new file mode 100644 index 00000000000000..6d283fc4382dfc --- /dev/null +++ b/pages.ta/common/gem.md @@ -0,0 +1,36 @@ +# gem + +> ரூபி நிரலாக்க மொழிக்கான தொகுப்பு மேலாளருடன் தொடர்பு கொள்ளுங்கள். +> மேலும் விவரத்திற்கு: . + +- தொலை ரத்தினங்களைத் தேடி, கிடைக்கக்கூடிய அனைத்து பதிப்புகளையும் காட்டு: + +`gem search {{வழக்கமான_வெளிப்பாடு}} {{[-a|--all]}}` + +- ரத்தினத்தின் சமீபத்திய பதிப்பை நிறுவவும்: + +`gem install {{ரத்தின_பெயர்}}` + +- ஒரு ரத்தினத்தின் குறிப்பிட்ட பதிப்பை நிறுவவும்: + +`gem install {{ரத்தின_பெயர்}} {{[-v|--version]}} {{1.0.0}}` + +- ஒரு ரத்தினத்தின் சமீபத்திய பொருந்தக்கூடிய (SemVer) பதிப்பை நிறுவவும்: + +`gem install {{ரத்தின_பெயர்}} {{[-v|--version]}} '~> {{1.0}}'` + +- ஒரு ரத்தினத்தைப் புதுப்பிக்கவும்: + +`gem update {{ரத்தின_பெயர்}}` + +- அனைத்து உள்ளூர் ரத்தினங்களையும் பட்டியலிடுங்கள்: + +`gem list` + +- ஒரு ரத்தினத்தை நிறுவல் நீக்கவும்: + +`gem uninstall {{ரத்தின_பெயர்}}` + +- ஒரு ரத்தினத்தின் குறிப்பிட்ட பதிப்பை நிறுவல் நீக்கவும்: + +`gem uninstall {{ரத்தின_பெயர்}} {{[-v|--version]}} {{1.0.0}}` diff --git a/pages.ta/common/gh-cs.md b/pages.ta/common/gh-cs.md new file mode 100644 index 00000000000000..3de21c185ad62a --- /dev/null +++ b/pages.ta/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> இக்கட்டளை `gh codespace`.கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr gh codespace` diff --git a/pages.ta/common/git-add.md b/pages.ta/common/git-add.md index f4a8192b745035..0213c55735e853 100644 --- a/pages.ta/common/git-add.md +++ b/pages.ta/common/git-add.md @@ -1,32 +1,32 @@ # git add > மாற்றப்பட்ட கோப்புகளை குறியீட்டில் சேர்க்கிறது. -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - குறியீட்டில் ஒரு கோப்பைச் சேர்க்க: -`git add {{கோப்புக்கான/பாதை}}` +`git add {{கோப்பு/பாதை}}` - எல்லா கோப்புகளையும் சேர்க்கவும் (கண்காணிக்கப்பட்ட மற்றும் தடமறியப்படாத): -`git add -A` +`git add {{[-A|--all]}}` - ஏற்கனவே கண்காணிக்கப்பட்ட கோப்புகளை மட்டுமே சேர்க்கவும்: -`git add -u` +`git add {{[-u|--update]}}` - புறக்கணிக்கப்பட்ட கோப்புகளையும் சேர்க்கவும்: -`git add -f` +`git add {{[-f|--force]}}` - ஊடாடும் வகையில் சில கோப்புகளை சேர்க்கவும்: -`git add -p` +`git add {{[-p|--patch]}}` - கொடுக்கப்பட்ட கோப்பின் ஊடாடும் கட்ட பாகங்கள் சேர்க்கவும்: -`git add -p {{கோப்புக்கான/பாதை}}` +`git add {{[-p|--patch]}} {{கோப்பு/பாதை}}` - ஒரு கோப்பை ஊடாடும் வகையில் சேர்க்கவும்: -`git add -i` +`git add {{[-i|--interactive]}}` diff --git a/pages.ta/common/git-am.md b/pages.ta/common/git-am.md index ebd4d7e41b50c3..6c7a7360501b9c 100644 --- a/pages.ta/common/git-am.md +++ b/pages.ta/common/git-am.md @@ -2,11 +2,15 @@ > பேட்ச் கோப்புகளைப் பயன்படுத்துங்கள். மின்னஞ்சல் வழியாக கமிட் பெறும்போது பயனுள்ளதாக இருக்கும். > பேட்ச் கோப்புகளை உருவாக்கக்கூடிய `git format-patch` கட்டளையை காண்க. -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - பேட்ச் கோப்பைப் பயன்படுத்துங்கள்: -`git am {{கோப்புக்கான/பாதை/கோப்பு.patch}}` +`git am {{கோப்பு.patch/பாதை}}` + +- ரிமோட் பேட்ச் கோப்பைப் பின்பற்றி, மாற்றங்களைச் செய்யுங்கள்: + +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` - பேட்ச் கோப்பைப் பயன்படுத்துவதற்கான செயல்முறையை நிறுத்தவும்: @@ -14,4 +18,4 @@ - கோப்புகளை நிராகரிக்க தோல்வியுற்ற ஹன்களை சேமித்து, முடிந்தவரை ஒரு பேட்ச் கோப்பைப் பயன்படுத்துங்கள்: -`git am --reject {{கோப்புக்கான/பாதை/கோப்பு.patch}}` +`git am --reject {{கோப்பு.patch/பாதை}}` diff --git a/pages.ta/common/git-annex.md b/pages.ta/common/git-annex.md index 3662d7d078538c..c8737f9f8dd7da 100644 --- a/pages.ta/common/git-annex.md +++ b/pages.ta/common/git-annex.md @@ -2,11 +2,7 @@ > கோப்புகளை அவற்றின் உள்ளடக்கங்களை சரிபார்க்காமல், ஜிட் மூலம் நிர்வகிக்கவும். > ஒரு கோப்பு இணைக்கப்படும்போது, ​​அதன் உள்ளடக்கம் ஒரு முக்கிய மதிப்புக் கடைக்கு நகர்த்தப்படும், மேலும் உள்ளடக்கத்தை சுட்டிக்காட்டும் ஒரு சிம்லிங்க் செய்யப்படுகிறது. -> மேலும் தகவல்: . - -- உதவி: - -`git annex help` +> மேலும் விவரத்திற்கு: . - `git annex` உடன் ஒரு களஞ்சியத்தை தொடங்கவும்: @@ -14,11 +10,11 @@ - ஒரு கோப்பைச் சேர்க்கவும்: -`git annex add {{கோப்பு_அல்லது_கோப்பகத்திற்கான/பாதை}}` +`git annex add {{கோப்பு_அல்லது_அடைவு/பாதை}}` - ஒரு கோப்பு அல்லது கோப்பகத்தின் தற்போதைய நிலையைக் காட்டு: -`git annex status {{கோப்பு_அல்லது_கோப்பகத்திற்கான/பாதை}}` +`git annex status {{கோப்பு_அல்லது_அடைவு/பாதை}}` - தொலைநிலையுடன் உள்ளூர் களஞ்சியத்தை ஒத்திசைக்கவும்: @@ -26,4 +22,8 @@ - ஒரு கோப்பு அல்லது கோப்பகத்தைப் பெறுங்கள்: -`git annex get {{கோப்பு_அல்லது_கோப்பகத்திற்கான/பாதை}}` +`git annex get {{கோப்பு_அல்லது_அடைவு/பாதை}}` + +- உதவியைக் காட்டு: + +`git annex help` diff --git a/pages.ta/common/git-apply.md b/pages.ta/common/git-apply.md index 1576e4efc97a84..2b643725d95561 100644 --- a/pages.ta/common/git-apply.md +++ b/pages.ta/common/git-apply.md @@ -1,28 +1,28 @@ # git apply > கோப்புகள் மற்றும் / அல்லது குறியீட்டுக்கு ஒரு இணைப்பு பயன்படுத்தவும். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - இணைக்கப்பட்ட கோப்புகளைப் பற்றிய செய்திகளை அச்சிடுங்கள்: -`git apply --verbose {{கோப்புக்கான/பாதை}}` +`git apply {{[-v|--verbose]}} {{கோப்பு/பாதை}}` - இணைக்கப்பட்ட கோப்புகளை குறியீட்டில் பயன்படுத்தவும் மற்றும் சேர்க்கவும்: -`git apply --index {{கோப்புக்கான/பாதை}}` +`git apply --index {{கோப்பு/பாதை}}` - ரிமோட் பேட்ச் கோப்பைப் பயன்படுத்துங்கள்: -`curl {{https://example.com/கோப்பு.patch}} | git apply` +`curl {{[-L|--location]}} {{https://example.com/கோப்பு.patch}} | git apply` - உள்ளீட்டிற்கான வெளியீட்டு வேறுபாடு நிலை மற்றும் இணைப்பு பொருந்தும்: -`git apply --stat --apply {{கோப்புக்கான/பாதை}}` +`git apply --stat --apply {{கோப்பு/பாதை}}` - பேட்சை தலைகீழாகப் பயன்படுத்துங்கள்: -`git apply --reverse {{கோப்புக்கான/பாதை}}` +`git apply {{[-R|--reverse]}} {{கோப்பு/பாதை}}` - பேட்ச் முடிவை குறியீட்டில் வேலை செய்யும் மரத்தை மாற்றாமல் சேமிக்கவும்: -`git apply --cache {{கோப்புக்கான/பாதை}}` +`git apply --cache {{கோப்பு/பாதை}}` diff --git a/pages.ta/common/git-archive.md b/pages.ta/common/git-archive.md index 03515b89a4f118..8385151679a7fb 100644 --- a/pages.ta/common/git-archive.md +++ b/pages.ta/common/git-archive.md @@ -1,28 +1,28 @@ # git archive > பெயரிடப்பட்ட மரத்திலிருந்து கோப்புகளின் காப்பகத்தை உருவாக்கவும். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - தற்போதைய HEAD இன் உள்ளடக்கங்களிலிருந்து ஒரு தார் காப்பகத்தை உருவாக்கி அதை நிலையான வெளியீட்டில் அச்சிடுக: -`git archive --verbose HEAD` +`git archive {{[-v|--verbose]}} HEAD` - தற்போதைய HEAD இலிருந்து ஒரு ஜிப் காப்பகத்தை உருவாக்கி அதை நிலையான வெளியீட்டில் அச்சிடுக: -`git archive --verbose --format=zip HEAD` +`git archive {{[-v|--verbose]}} --format zip HEAD` - மேலே உள்ளதைப் போலவே, ஆனால் கோப்புக்கு ஜிப் காப்பகத்தை எழுதவும்: -`git archive --verbose --output={{கோப்புக்கான/பாதை/கோப்பு.zip}} HEAD` +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{கோப்பு.zip/பாதை}} HEAD` - ஒரு குறிப்பிட்ட கிளையில் சமீபத்திய உறுதிப்பாட்டின் உள்ளடக்கங்களிலிருந்து தார் காப்பகத்தை உருவாக்கவும்: -`git archive --output={{கோப்புக்கான/பாதை/கோப்பு.tar}} {{கிளை_பெயர்}}` +`git archive {{[-o|--output]}} {{கோப்பு.tar/பாதை}} {{கிளை_பெயர்}}` - ஒரு குறிப்பிட்ட கோப்பகத்தின் உள்ளடக்கங்களிலிருந்து தார் காப்பகத்தை உருவாக்கவும்: -`git archive --output={{கோப்புக்கான/பாதை/கோப்பு.tar}} HEAD:{{கோப்பகத்திற்கான/பாதை}}` +`git archive {{[-o|--output]}} {{கோப்பு.tar/பாதை}} HEAD:{{அடைவிற்குப்/பாதை}}` - ஒவ்வொரு கோப்பிற்கும் ஒரு குறிப்பிட்ட கோப்பகத்திற்குள் காப்பகப்படுத்த ஒரு பாதையைத் தயாரிக்கவும்: -`git archive --output={{கோப்புக்கான/பாதை/கோப்பு.tar}} --prefix={{தயார்படுத்தும்/பாதை}}/ HEAD` +`git archive {{[-o|--output]}} {{கோப்பு.tar/பாதை}} --prefix {{தயார்படுத்தும்/பாதை}}/ HEAD` diff --git a/pages.ta/common/git-bisect.md b/pages.ta/common/git-bisect.md index 115a4c90e68536..6665c506f9ceb6 100644 --- a/pages.ta/common/git-bisect.md +++ b/pages.ta/common/git-bisect.md @@ -2,13 +2,13 @@ > ஒரு பிழையை அறிமுகப்படுத்திய உறுதிப்பாட்டைக் கண்டுபிடிக்க பைனரி தேடலைப் பயன்படுத்தவும். > தவறான உறுதிப்பாட்டை படிப்படியாகக் குறைக்க கிட் தானாகவே கமிட் வரைபடத்தில் முன்னும் பின்னுமாக குதிக்கிறது. -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - அறியப்பட்ட தரமற்ற கமிட் மற்றும் அறியப்பட்ட சுத்தமான (பொதுவாக பழையது) வரம்புக்குட்பட்ட ஒரு கமிட் வரம்பில் ஒரு இரு அமர்வு தொடங்கவும்: `git bisect start {{மோசமான_கமிட்}} {{நல்ல_கமிட்}}` -- `git bisect` தேர்ந்தெடுக்கும் ஒவ்வொரு உறுதிப்பாட்டிற்கும், சிக்கலுக்காக அதைச் சோதித்தபின் அதை" கெட்டது "அல்லது" நல்லது "என்று குறிக்கவும்: +- `git bisect` தேர்ந்தெடுக்கும் ஒவ்வொரு உறுதிப்பாட்டிற்கும், சிக்கலுக்காக அதைச் சோதித்தபின் அதை "கெட்டது" (bad) அல்லது "நல்லது" (good) என்று குறிக்கவும்: `git bisect {{good|bad}}` @@ -19,3 +19,7 @@ - ஒரு பிரிவின் போது ஒரு உறுதிப்பாட்டைத் தவிர்க்கவும் (எ.கா. வேறுபட்ட பிரச்சினை காரணமாக சோதனைகளில் தோல்வியுற்றது): `git bisect skip` + +- இதுவரை செய்தவற்றின் பதிவைக் காண்பி: + +`git bisect log` diff --git a/pages.ta/common/git-blame.md b/pages.ta/common/git-blame.md index 18ad33e24ee418..a5bf129e6a2a1a 100644 --- a/pages.ta/common/git-blame.md +++ b/pages.ta/common/git-blame.md @@ -1,12 +1,20 @@ # git blame > ஒரு கோப்பின் ஒவ்வொரு வரியிலும் கமிட் ஹாஷ் மற்றும் கடைசி எழுத்தாளரைக் காட்டு. -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . -- எழுத்தாளர் பெயருடன் கோப்பை அச்சிட்டு ஒவ்வொரு வரியிலும் ஹாஷ் செய்யுங்கள்: +- ஆசிரியர் பெயருடன் கோப்பை அச்சிட்டு ஒவ்வொரு வரியிலும் ஹாஷ் செய்யுங்கள்: -`git blame {{கோப்பு}}` +`git blame {{கோப்பு/பாதை}}` -- எழுத்தாளர் மின்னஞ்சலுடன் கோப்பை அச்சிட்டு ஒவ்வொரு வரியிலும் ஹாஷ் செய்யுங்கள்: +- ஆசிரியர் மின்னஞ்சலுடன் கோப்பை அச்சிட்டு ஒவ்வொரு வரியிலும் ஹாஷ் செய்யுங்கள்: -`git blame -e {{கோப்பு}}` +`git blame {{[-e|--show-email]}} {{கோப்பு/பாதை}}` + +- ஆசிரியர் பெயருடன் கோப்பை அச்சிடவும் மற்றும் ஒவ்வொரு வரியிலும் ஒரு குறிப்பிட்ட கமிட்டில் ஹாஷ் கமிட் செய்யவும்: + +`git blame {{கமிட்}} {{கோப்பு/பாதை}}` + +- ஆசிரியர் பெயருடன் கோப்பை அச்சிட்டு, ஒரு குறிப்பிட்ட உறுதிப்பாட்டிற்கு முன் ஒவ்வொரு வரியிலும் ஹாஷ் செய்யுங்கள்: + +`git blame {{கமிட்}}~ {{கோப்பு/பாதை}}` diff --git a/pages.ta/common/git-branch.md b/pages.ta/common/git-branch.md index d039379291834b..ceb03bda75444d 100644 --- a/pages.ta/common/git-branch.md +++ b/pages.ta/common/git-branch.md @@ -1,15 +1,15 @@ # git branch > கிளைகளுடன் வேலை செய்வதற்கான பிரதான கிட் கட்டளை. -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . -- கணினியில் உள்ள அனைத்து கிளைகளையும் பட்டியலிடுங்கள். தற்போதைய கிளை `*` ஆல் சிறப்பிக்கப்படுகிறது: +- அனைத்து கிளைகளையும் பட்டியலிடுங்கள் (உள்ளூர் மற்றும் தொலைதூர; தற்போதைய கிளை `*` மூலம் சிறப்பிக்கப்படுகிறது): -`git branch` +`git branch {{[-a|--all]}}` -- அனைத்து கிளைகளையும் பட்டியலிடுங்கள் (கணினி மற்றும் தொலை களஞ்சியங்களில்): +- எந்தெந்த கிளைகள் தங்கள் வரலாற்றில் குறிப்பிட்ட Git கமிட்டை உள்ளடக்கியிருக்கின்றன என்பதை பட்டியலிடுங்கள்: -`git branch -a` +`git branch {{[-a|--all]}} --contains {{கமிட்_ஹாஷ்}}` - தற்போதைய கிளையின் பெயரைக் காட்டு: @@ -25,12 +25,12 @@ - ஒரு கிளையின் மறுபெயரிடு (இதை செய்ய அந்த கிளையை செக்கவுட் செய்த்திருக்க கூடாது): -`git branch -m {{பழைய_கிளையின்_பெயர்}} {{புதிய_கிளையின்_பெயர்}}` +`git branch {{[-m|--move]}} {{பழைய_கிளையின்_பெயர்}} {{புதிய_கிளையின்_பெயர்}}` - கணினியில் ஒரு கிளையை நீக்கு (இதை செய்ய அந்த கிளையை செக்கவுட் செய்த்திருக்க கூடாது): -`git branch -d {{கிளையின்_பெயர்}}` +`git branch {{[-d|--delete]}} {{கிளையின்_பெயர்}}` - தொலை களஞ்சியத்தில் ஒரு கிளையை நீக்கு: -`git push {{தொலை_களஞ்சிய_பெயர்}} --delete {{தொலை_கிளையின்_பெயர்}}` +`git push {{தொலை_களஞ்சிய_பெயர்}} {{[-d|--delete]}} {{தொலை_கிளையின்_பெயர்}}` diff --git a/pages.ta/common/git-bundle.md b/pages.ta/common/git-bundle.md index e0ac3120b4caea..5e138db51d8bb7 100644 --- a/pages.ta/common/git-bundle.md +++ b/pages.ta/common/git-bundle.md @@ -1,32 +1,32 @@ # git bundle > ஒரு காப்பக கோப்பில் பொருள்கள் மற்றும் குறிப்புகளை தொகுக்கவும். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - ஒரு குறிப்பிட்ட கிளையின் அனைத்து பொருள்கள் மற்றும் குறிப்புகளைக் கொண்ட ஒரு மூட்டை கோப்பை உருவாக்கவும்: -`git bundle create {{கோப்புக்கான/பாதை/கோப்பு.bundle}} {{கிளையின்_பெயர்}}` +`git bundle create {{கோப்பு.bundle/பாதை}} {{கிளையின்_பெயர்}}` - அனைத்து கிளைகளின் மூட்டை கோப்பை உருவாக்கவும்: -`git bundle create {{கோப்புக்கான/பாதை/கோப்பு.bundle}} --all` +`git bundle create {{கோப்பு.bundle/பாதை}} --all` - தற்போதைய கிளையின் கடைசி 5 கமிட்டுகளின் மூட்டை கோப்பை உருவாக்கவும்: -`git bundle create {{கோப்புக்கான/பாதை/கோப்பு.bundle}} -{{5}} {{HEAD}}` +`git bundle create {{கோப்பு.bundle/பாதை}} -5 {{HEAD}}` - சமீபத்திய 7 நாட்களின் மூட்டை கோப்பை உருவாக்கவும்: -`git bundle create {{கோப்புக்கான/பாதை/கோப்பு.bundle}} --since={{7.days}} {{HEAD}}` +`git bundle create {{கோப்பு.bundle/பாதை}} --since=7.days {{HEAD}}` - ஒரு மூட்டை கோப்பு தற்போதைய களஞ்சியத்தில் செல்லுபடியாகும் மற்றும் பயன்படுத்தலாம் என்பதை சரிபார்க்கவும்: -`git bundle verify {{கோப்புக்கான/பாதை/கோப்பு.bundle}}` +`git bundle verify {{கோப்பு.bundle/பாதை}}` - ஒரு மூட்டையில் உள்ள குறிப்புகளின் பட்டியலை நிலையான வெளியீட்டில் அச்சிடுக: -`git bundle unbundle {{கோப்புக்கான/பாதை/கோப்பு.bundle}}` +`git bundle unbundle {{கோப்பு.bundle/பாதை}}` - ஒரு மூட்டை கோப்பிலிருந்து ஒரு குறிப்பிட்ட கிளையை தற்போதைய களஞ்சியத்தில் இணைக்கவும்: -`git pull {{கோப்புக்கான/பாதை/கோப்பு.bundle}} {{கிளையின்_பெயர்}}` +`git pull {{கோப்பு.bundle/பாதை}} {{கிளையின்_பெயர்}}` diff --git a/pages.ta/common/git-cat-file.md b/pages.ta/common/git-cat-file.md index c85226336c1537..48ff4caa2a6b0d 100644 --- a/pages.ta/common/git-cat-file.md +++ b/pages.ta/common/git-cat-file.md @@ -1,7 +1,7 @@ # git cat-file > கிட் களஞ்சிய பொருள்களுக்கான உள்ளடக்கம் அல்லது வகை மற்றும் அளவு தகவல்களை வழங்கவும். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - HEAD கமிட்டின் அளவை பைட்டுகளில் பெறுங்கள்: diff --git a/pages.ta/common/git-check-ignore.md b/pages.ta/common/git-check-ignore.md index 18a64df79979b9..5c3399ad97cc57 100644 --- a/pages.ta/common/git-check-ignore.md +++ b/pages.ta/common/git-check-ignore.md @@ -1,24 +1,24 @@ # git check-ignore > (".gitignore") கோப்புகளை புறக்கணிக்கவும் / விலக்கவும் பகுப்பாய்வு செய்து பிழைத்திருத்தம் செய்யுங்கள். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - ஒரு கோப்பு அல்லது கோப்புறை புறக்கணிக்கப்பட்டுள்ளதா என சரிபார்க்கவும்: -`git check-ignore {{கோப்பு_அல்லது_கோப்புறைக்கான/பாதை}}` +`git check-ignore {{கோப்பு_அல்லது_அடைவு/பாதை}}` - பல கோப்புகள் அல்லது கோப்பகங்கள் புறக்கணிக்கப்படுகின்றனவா என்பதைச் சரிபார்க்கவும்: -`git check-ignore {{கோப்புக்கான_பாதை}} {{கோப்புறைக்கான_பாதை}}` +`git check-ignore {{கோப்பு_அல்லது_அடைவு1/பாதை கோப்பு_அல்லது_அடைவு2/பாதை ...}}` - `stdin` இலிருந்து ஒரு வரியில் ஒன்றுக்கு பாதை பெயர்களைப் பயன்படுத்தவும்: -`git check-ignore --stdin < {{கோப்பு_பட்டியலுக்கான/பாதை}}` +`git check-ignore --stdin < {{கோப்பு_பட்டியல்/பாதை}}` - குறியீட்டை சரிபார்க்க வேண்டாம் (பாதைகள் ஏன் கண்காணிக்கப்பட்டன மற்றும் புறக்கணிக்கப்படவில்லை என்பதை பிழைத்திருத்த பயன்படுகிறது): -`git check-ignore --no-index {{கோப்புகள்_அல்லது_கோப்புறைகளுக்கான/பாதை}}` +`git check-ignore --no-index {{கோப்பு_அல்லது_அடைவு1/பாதை கோப்பு_அல்லது_அடைவு2/பாதை ...}}` - ஒவ்வொரு பாதைக்கும் பொருந்தும் முறை பற்றிய விவரங்களைச் சேர்க்கவும்: -`git check-ignore --verbose {{கோப்புகள்_அல்லது_கோப்புறைகளுக்கான/பாதை}}` +`git check-ignore {{[-v|--verbose]}} {{கோப்பு_அல்லது_அடைவு1/பாதை கோப்பு_அல்லது_அடைவு2/பாதை ...}}` diff --git a/pages.ta/common/git-checkout.md b/pages.ta/common/git-checkout.md index b6fc4052d0fbfb..d3ff36ec2a2276 100644 --- a/pages.ta/common/git-checkout.md +++ b/pages.ta/common/git-checkout.md @@ -1,7 +1,7 @@ # git checkout > வேலை செய்யும் மரத்திற்கு ஒரு கிளை அல்லது பாதைகளை செக்கவுட் செய்ய. -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - புதிய கிளையை உருவாக்கி மாறவும்: @@ -21,7 +21,7 @@ - ஏற்கனவே உள்ள தொலை கிளைக்கு மாறவும்: -`git checkout --track {{தொலை_பெயர்}}/{{கிளையின்_பெயர்}}` +`git checkout {{[-t|--track]}} {{தொலை_பெயர்}}/{{கிளையின்_பெயர்}}` - தற்போதைய கோப்பகத்தில் நிலையற்ற அனைத்து மாற்றங்களையும் நிராகரிக்கவும் (செயல்தவிர் போன்ற கட்டளைகளுக்கு `git reset` ஐப் பார்க்கவும்): diff --git a/pages.ta/common/git-cherry-pick.md b/pages.ta/common/git-cherry-pick.md index c105f30c79ef21..6704cd6242761e 100644 --- a/pages.ta/common/git-cherry-pick.md +++ b/pages.ta/common/git-cherry-pick.md @@ -2,7 +2,7 @@ > தற்போதுள்ள கமிட்டுகளால் அறிமுகப்படுத்தப்பட்ட மாற்றங்களை தற்போதைய கிளையில் பயன்படுத்துங்கள். > மற்றொரு கிளையில் மாற்றங்களைப் பயன்படுத்த, முதலில் விரும்பிய கிளைக்கு மாற `git checkout` ஐப் பயன்படுத்தவும். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - தற்போதைய கிளைக்கு ஒரு கமிட்டை பயன்படுத்துங்கள்: @@ -14,8 +14,8 @@ - தற்போதைய கிளைக்கு பல (வரிசை அல்லாத) கமிட்டுகளைப் பயன்படுத்துங்கள்: -`git cherry-pick {{கமிட்_1}} {{கமிட்_2}}` +`git cherry-pick {{கமிட்_1 கமிட்_2 ...}}` - ஒரு கமிட்டை உருவாக்காமல், பணிபுரியும் கோப்பகத்தில் ஒரு கமிட்டின் மாற்றங்களைச் சேர்க்கவும்: -`git cherry-pick -n {{கமிட்}}` +`git cherry-pick {{[-n|--no-commit]}} {{கமிட்}}` diff --git a/pages.ta/common/git-cherry.md b/pages.ta/common/git-cherry.md index 8102b5e8767900..c5facf3fba6e79 100644 --- a/pages.ta/common/git-cherry.md +++ b/pages.ta/common/git-cherry.md @@ -1,11 +1,11 @@ # git cherry > அப்ஸ்ட்ரீமில் இன்னும் பயன்படுத்தப்படாத கமிட்டுகளைக் கண்டறியவும். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - அப்ஸ்ட்ரீமில் சமமான கமிட்டுகளுடன் கமிட்டுகளையும் (அவற்றின் செய்திகளையும்) காட்டு: -`git cherry -v` +`git cherry {{[-v|--verbose]}}` - வேறு அப்ஸ்ட்ரீம் மற்றும் தலைப்பு கிளையை குறிப்பிடவும்: diff --git a/pages.ta/common/git-clean.md b/pages.ta/common/git-clean.md index 157fc76a0d5911..0e8cff9ec0e60f 100644 --- a/pages.ta/common/git-clean.md +++ b/pages.ta/common/git-clean.md @@ -1,7 +1,7 @@ # git clean > கண்காணிக்கப்படாத கோப்புகளை பணியிடத்திலிருந்து அகற்றவும். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - கிட் மூலம் கண்காணிக்கப்படாத கோப்புகளை நீக்கு: @@ -9,19 +9,19 @@ - கிட் மூலம் கண்காணிக்கப்படாத கோப்புகளை ஊடாடும் வகையில் நீக்கு: -`git clean -i` +`git clean {{[-i|--interactive]}}` - எந்த கோப்புகள் உண்மையில் நீக்கப்படாமல் நீக்கப்படும் என்பதைக் காட்டு: -`git clean --dry-run` +`git clean {{[-n|--dry-run]}}` - கிட் மூலம் கண்காணிக்கப்படாத கோப்புகளை கட்டாயமாக நீக்கு: -`git clean -f` +`git clean {{[-f|--force]}}` - கிட் மூலம் கண்காணிக்கப்படாத கோப்பகங்களை கட்டாயமாக நீக்கு: -`git clean -fd` +`git clean {{[-f|--force]}} -d` - `.gitignore` மற்றும் `.git/info/exclude` ஆகியவற்றில் புறக்கணிக்கப்பட்ட கோப்புகள் உட்பட, தடமறியப்படாத கோப்புகளை நீக்கு: diff --git a/pages.ta/common/git-clone.md b/pages.ta/common/git-clone.md index c391281161cb8a..892516bd48a30d 100644 --- a/pages.ta/common/git-clone.md +++ b/pages.ta/common/git-clone.md @@ -1,24 +1,36 @@ # git clone > ஏற்கனவே உள்ள ஒரு களஞ்சியத்தை குளோன் செய்யுங்கள். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . -- ஏற்கனவே உள்ள ஒரு களஞ்சியத்தை குளோன் செய்யுங்கள்: +- ஏற்கனவே உள்ள களஞ்சியத்தை ஒரு குறிப்பிட்ட கோப்பகத்தில் குளோன் செய்யுங்கள்: -`git clone {{தொலை_களஞ்சிய_இடம்}}` +`git clone {{தொலை_களஞ்சிய_இடம்}} {{அடைவிற்குப்/பாதை}}` - இருக்கும் களஞ்சியத்தையும் அதன் துணை தொகுதிகளையும் குளோன் செய்யுங்கள்: `git clone --recursive {{தொலை_களஞ்சிய_இடம்}}` +- ஏற்கனவே உள்ள களஞ்சியத்தின் `.git` கோப்பகத்தை மட்டும் குளோன் செய்யவும்: + +`git clone {{[-n|--no-checkout]}} {{தொலை_களஞ்சிய_இடம்}}` + - கணினியில் உள்ள ஒரு களஞ்சியத்தை குளோன் செய்யுங்கள்: -`git clone -l {{கணினியில்/உள்ள/களஞ்சியத்தின்/பாதை}}` +`git clone {{[-l|--local]}} {{கணினியில்/உள்ள/களஞ்சியத்தின்/பாதை}}` - அமைதியாக குளோன்: -`git clone -q {{தொலை_களஞ்சிய_இடம்}}` +`git clone {{[-q|--quiet]}} {{தொலை_களஞ்சிய_இடம்}}` - இயல்புநிலை கிளையில் மிகச் சமீபத்திய 10 கமிட்டுகளை மட்டுமே பெறும் களஞ்சியத்தை குளோன் செய்யுங்கள் (நேரத்தைச் சேமிக்க பயனுள்ளதாக இருக்கும்): -`git clone --depth {{10}} {{தொலை_களஞ்சிய_இடம்}}` +`git clone --depth 10 {{தொலை_களஞ்சிய_இடம்}}` + +- ஏற்கனவே உள்ள களஞ்சியத்தை குளோன் செய்து ஒரு குறிப்பிட்ட கிளையை மட்டும் பெறுங்கள்: + +`git clone {{[-b|--branch]}} {{பெயர்}} --single-branch {{தொலை_களஞ்சிய_இடம்}}` + +- ஒரு குறிப்பிட்ட SSH கட்டளையைப் பயன்படுத்தி ஏற்கனவே உள்ள களஞ்சியத்தை குளோன் செய்யவும்: + +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i தனியார்_ssh_key/பாதை}}" {{தொலை_களஞ்சிய_இடம்}}` diff --git a/pages.ta/common/git-commit.md b/pages.ta/common/git-commit.md index 3ba148c8d64bb5..cb4f7ed804401d 100644 --- a/pages.ta/common/git-commit.md +++ b/pages.ta/common/git-commit.md @@ -1,20 +1,32 @@ # git commit > கோப்புகளை களஞ்சியத்திற்கு கமிட்செய்ய. -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . - ஒரு செய்தியுடன் களஞ்சியத்திற்கு அரங்குக் கோப்புகளை கமிட் செய்யுங்கள்: -`git commit -m {{செய்தி}}` +`git commit {{[-m|--message]}} "{{செய்தி}}"` + +- ஒரு கோப்பிலிருந்து படிக்கப்பட்ட செய்தியுடன் கட்டப்பட்ட கோப்புகளை கமிட்செய்யவும்: + +`git commit {{[-F|--file]}} {{கமிட்_செய்தி_கோப்பு/பாதை}}` - அனைத்து மாற்றியமைக்கப்பட்ட கோப்புகளையும் தானாக நிலைநிறுத்து, செய்தியுடன் கமிட் செய்யுங்கள்: -`git commit -a -m {{செய்தி}}` +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{செய்தி}}"` + +- ஸ்டேஜ் செய்யப்பட்ட கோப்புகளை உறுதிசெய்து, குறிப்பிட்ட GPG விசையுடன் கையொப்பமிடுங்கள் (அல்லது எந்த வாதமும் குறிப்பிடப்படவில்லை எனில் கட்டமைப்பு கோப்பில் வரையறுக்கப்பட்ட ஒன்று): -- கடைசி கட்டத்தை தற்போதைய நிலை மாற்றங்களுடன் கமிட் செய்யுங்கள்: +`git commit {{[-S|--gpg-sign]}} {{key_id}} {{[-m|--message]}} "{{செய்தி}}"` + +- தற்போது செய்யப்பட்ட மாற்றங்களைச் சேர்ப்பதன் மூலம் கடைசி கமிட்டைப் புதுப்பிக்கவும், கமிட் இன் ஹாஷை மாற்றவும்: `git commit --amend` - குறிப்பிட்ட (ஏற்கனவே அரங்கேற்றப்பட்ட) கோப்புகளை மட்டுமே கமிட் செய்யுங்கள்: -`git commit {{எனது/கோப்பு1க்கான/பாதை}} {{எனது/கோப்பு2க்கான/பாதை}}` +`git commit {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- கட்டப்பட்ட கோப்புகள் இல்லாவிட்டாலும், கமிட்டை உருவாக்கவும்: + +`git commit {{[-m|--message]}} "{{செய்தி}}" --allow-empty` diff --git a/pages.ta/common/git.md b/pages.ta/common/git.md new file mode 100644 index 00000000000000..1521277e9072e3 --- /dev/null +++ b/pages.ta/common/git.md @@ -0,0 +1,29 @@ +# git + +> விநியோகிக்கப்பட்ட பதிப்பு கட்டுப்பாட்டு அமைப்பு. +> `commit`, `add`, `branch`, `checkout`, `push`போன்ற சில துணைக் கட்டளைகள் அவற்றின் சொந்த பயன்பாட்டு ஆவணங்களைக் கொண்டுள்ளன, அவை `tldr git subcommand` வழியாக அணுகலாம். +> மேலும் விவரத்திற்கு: . + +- ஒரு Git துணைக் கட்டளையை இயக்கவும்: + +`git {{துணை_கட்டளை}}` + +- தனிப்பயன் களஞ்சிய வேர் பாதையில் Git துணைக் கட்டளையை இயக்கவும்: + +`git -C {{களஞ்சியம்/பாதை}} {{துணை_கட்டளை}}` + +- கொடுக்கப்பட்ட உள்ளமைவு தொகுப்புடன் Git துணைக் கட்டளையை இயக்கவும்: + +`git -c '{{கட்டமைப்பு.சாவி}}={{மதிப்பு}}' {{துணை_கட்டளை}}` + +- பொதுவான உதவியைக் காட்டு: + +`git --help` + +- Git துணைக் கட்டளையில் உதவியைக் காட்டு (`clone`, `add`, `push`, `log` போன்றவை.): + +`git help {{துணை_கட்டளை}}` + +- Git பதிப்பைச் சரிபார்க்கவும்: + +`git --version` diff --git a/pages.ta/common/gnmic-sub.md b/pages.ta/common/gnmic-sub.md new file mode 100644 index 00000000000000..be73da23ea73b7 --- /dev/null +++ b/pages.ta/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> இக்கட்டளை `gnmic subscribe` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr gnmic subscribe` diff --git a/pages.ta/common/google-chrome.md b/pages.ta/common/google-chrome.md new file mode 100644 index 00000000000000..98b3601c506b47 --- /dev/null +++ b/pages.ta/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> இக்கட்டளை `chromium` கட்டளையின் மற்றொருப் பெயர். +> மேலும் விவரத்திற்கு: . + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr chromium` diff --git a/pages.ta/common/grep.md b/pages.ta/common/grep.md new file mode 100644 index 00000000000000..1d265f08b03f51 --- /dev/null +++ b/pages.ta/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> கோப்பில் தேடுகுறித்தொடர்களுடன் தேடு. +> மேலும் விவரத்திற்கு: . + +- கோப்பில் தேடு: + +`grep "{{தேடுதொடர்}}" {{கோப்பு/பாதை}}` + +- தேடுகுறித்தொடரல்லா உருச்சரத்திற்குத் தேடு: + +`grep {{[-F|--fixed-strings]}} "{{உருச்சரம்}}" {{கோப்பு/பாதை}}` + +- அடைவிலும் சேய் அடைவுகளிலுமுள்ள இருமக் கோப்பல்லா அனைத்துக் கோப்புகளையும் தேடு; பொருத்தங்களின் வரி எண்ணைக் காட்டு: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{தேடுதொடர்}}" {{அடைவிற்குப்/பாதை}}` + +- எழுத்துயர்நிலை கருதாது விரிவுபட்ட தேடுகுறித்தொடர்களுடன் (`?`, `+`, `{}`, `|` ஆகியவற்றைப் பயன்படுத்தலாம்) தேடு: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{தேடுதொடர்}}" {{கோப்பு/பாதை}}` + +- ஒவ்வொருப் பொருத்தத்திற்கும் சூழ்ந்த, முந்தைய அல்லது பிந்தைய 3 வரிகளைக் காட்டு: + +`grep {{--context|--before-context|--after-context}} 3 "{{தேடுதொடர்}}" {{கோப்பு/பாதை}}` + +- வண்ண வெளியீட்டில் ஒவ்வொரு பொருத்தத்திற்கும் கோப்பு பெயர் மற்றும் வரி எண்ணை அச்சிடவும்: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{தேடுதொடர்}}" {{கோப்பு/பாதை}}` + +- தேடுதொடருக்குத் தேடு, ஆனால் பொருந்திய பகுதிகளை மட்டும் காட்டு: + +`grep {{[-o|--only-matching]}} "{{தேடுதொடர்}}" {{கோப்பு/பாதை}}` + +- இயல் உள்ளீட்டில் தேடுதொடருக்குப் பொருந்தா வரிகளை மட்டும் காட்டு: + +`cat {{கோப்பு/பாதை}} | grep {{[-v|--invert-match]}} "{{தேடுதொடர்}}"` diff --git a/pages.ta/common/htop.md b/pages.ta/common/htop.md new file mode 100644 index 00000000000000..57011c8c1efbe1 --- /dev/null +++ b/pages.ta/common/htop.md @@ -0,0 +1,32 @@ +# htop + +> இயங்கும் செயல்முறைகளைப் பற்றிய டைனமிக் நிகழ்நேர தகவலைக் காண்பி. `top` இன் மேம்படுத்தப்பட்ட பதிப்பு. +> மேலும் விவரத்திற்கு: . + +- htop ஐத் தொடங்கவும்: + +`htop` + +- ஒரு குறிப்பிட்ட பயனருக்குச் சொந்தமான htop காட்சி செயல்முறைகளைத் தொடங்கவும்: + +`htop {{[-u|--user]}} {{பயனர்பெயர்}}` + +- குறிப்பிட்ட `sort_item` (வரிசை உருப்படி) மூலம் செயல்முறைகளை வரிசைப்படுத்தவும் (கிடைக்கும் விருப்பங்களுக்கு `htop --sort help` ஐப் பயன்படுத்தவும்): + +`htop {{[-s|--sort]}} {{sort_item}}` + +- ஒரு நொடியில் பத்தில் ஒரு பங்கு (அதாவது 50 = 5 வினாடிகளில்) புதுப்பிப்புகளுக்கு இடையே குறிப்பிட்ட தாமதத்துடன் `htop` ஐத் தொடங்கவும்: + +`htop {{[-d|--delay]}} {{50}}` + +- htop ஐ இயக்கும்போது ஊடாடும் கட்டளைகளைப் பார்க்கவும்: + +`` + +- வேறு தாவலுக்கு மாறவும்: + +`` + +- உதவியைக் காட்டு: + +`htop {{[-h|--help]}}` diff --git a/pages.ta/common/hx.md b/pages.ta/common/hx.md new file mode 100644 index 00000000000000..2333a961527fd1 --- /dev/null +++ b/pages.ta/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> இக்கட்டளை `helix` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr helix` diff --git a/pages.ta/common/iverilog.md b/pages.ta/common/iverilog.md new file mode 100644 index 00000000000000..760bdcf8bc0547 --- /dev/null +++ b/pages.ta/common/iverilog.md @@ -0,0 +1,24 @@ +# iverilog + +> வெரிலாக் HDL (IEEE-1364) குறியீட்டை உருவகப்படுத்துதலுக்காக இயங்கக்கூடிய நிரல்களாக முன்செயலாக்கி தொகுக்கிறது. +> மேலும் விவரத்திற்கு: . + +- ஒரு மூல கோப்பை இயங்கக்கூடியதாக தொகுக்கவும்: + +`iverilog {{மூலம்.v/பாதை}} -o {{செயல்படுத்தக்கூடியதின்/பாதை}}` + +- அனைத்து எச்சரிக்கைகளையும் காண்பிக்கும் போது ஒரு மூலக் கோப்பை இயங்கக்கூடியதாக தொகுக்கவும்: + +`iverilog {{மூலம்.v/பாதை}} -Wall -o {{செயல்படுத்தக்கூடியதின்/பாதை}}` + +- VVP இயக்க நேரத்தைப் பயன்படுத்தி வெளிப்படையாக தொகுத்து இயக்கவும்: + +`iverilog -o {{செயல்படுத்தக்கூடியதின்/பாதை}} -tvvp {{மூலம்.v/பாதை}}` + +- வேறொரு பாதையிலிருந்து வெரிலாக் நூலகக் கோப்புகளைப் பயன்படுத்தி தொகுக்கவும்: + +`iverilog {{மூலம்.v/பாதை}} -o {{செயல்படுத்தக்கூடியதின்/பாதை}} -I{{நூலகம்_கோப்பகம்/பாதை}}` + +- தொகுக்காமல் வெரிலாக் குறியீட்டை முன்கூட்டியே செயலாக்கவும்: + +`iverilog -E {{மூலம்.v/பாதை}}` diff --git a/pages.ta/common/java.md b/pages.ta/common/java.md index e6fd4412ad6a8d..957285ba8cd50f 100644 --- a/pages.ta/common/java.md +++ b/pages.ta/common/java.md @@ -1,24 +1,28 @@ # java > ஜாவா பயன்பாட்டு துவக்கி. -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . -- ஒரு main செயல்பாட்டைக் கொண்ட ஜாவா .class கோப்பை வெறும் class பெயரை பயன்படுத்தி இயக்கவும்: +- ஜாவா `.class` கோப்பை இயக்கவும், அதில் ஒரு முக்கிய முறையைக் கொண்டு, வகுப்புப் பெயரை மட்டும் பயன்படுத்தவும்: -`java {{class_பெயரை}}` +`java {{வகுப்பு_பெயர்}}` -- ஒரு .jar நிரலை இயக்கவும்: +- ஒரு ஜாவா நிரலை இயக்கவும் மற்றும் கூடுதல் மூன்றாம் தரப்பு அல்லது பயனர் வரையறுக்கப்பட்ட வகுப்புகளைப் பயன்படுத்தவும்: -`java -jar {{கோபின்_பெயர்.jar}}` +`java -classpath {{வகுப்புகள்1/பாதை}}:{{வகுப்புகள்2/பாதை}}:. {{வகுப்புபெயர்}}` -- போர்ட் 5005 இல் இணைக்க காத்திருக்கும் பிழைதிருத்தி .jar நிரலை இயக்கவும்: +- ஒரு `.jar` நிரலை இயக்கவும்: -`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{கோபின்_பெயர்.jar}}` +`java -jar {{கோப்புபெயர்.jar}}` -- JDK, JRE மற்றும் HotSpot மென்பொருள் பதிப்புகள் காண்பி: +- போர்ட் 5005 இல் இணைக்க காத்திருக்கும் பிழைத்திருத்தத்துடன் `.jar` நிரலை இயக்கவும்: + +`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{கோப்புபெயர்.jar}}` + +- JDK, JRE மற்றும் HotSpot பதிப்புகளைக் காண்பி: `java -version` -- java கட்டளைக்கான பயன்பாட்டு தகவலை காண்பி: +- ஜாவா கட்டளைக்கான பயன்பாட்டுத் தகவலைக் காண்பி: `java -help` diff --git a/pages.ta/common/javac.md b/pages.ta/common/javac.md index b341377a2f2c42..2a681d418daebf 100644 --- a/pages.ta/common/javac.md +++ b/pages.ta/common/javac.md @@ -1,19 +1,20 @@ # javac -> ஜாவா நிரல்மொழிமாற்றி. +> ஜாவா பயன்பாட்டு தொகுப்பாளர். +> மேலும் விவரத்திற்கு: . -- .java கோப்பை நிரல்மொழிமாற்ற: +- ஒரு `.java` கோப்பை தொகுக்கவும்: `javac {{கோப்பு.java}}` -- பல .java கோப்புகளை நிரல்மொழிமாற்ற: +- பல `.java` கோப்புகளை தொகுக்கவும்: -`javac {{கோப்பு1.java}} {{கோப்பு2.java}} {{கோப்பு3.java}}` +`javac {{கோப்பு1.java கோப்பு2.java ...}}` -- தற்போதைய கோப்பகத்தில் அனைத்து .java கோப்புகளையும் நிரல்மொழிமாற்ற: +- தற்போதைய கோப்பகத்தில் அனைத்து `.java` கோப்புகளையும் தொகுக்கவும்: `javac {{*.java}}` -- ஒரு .java கோப்பை நிரல்மொழிமாற்றி, அதன் விளைவாக வரும் .class கோப்பை ஒரு குறிப்பிட்ட கோப்பகத்தில் வைக்கவும்: +- ஒரு `.java` கோப்பை தொகுத்து அதன் விளைவாக வரும் கிளாஸ் கோப்பை ஒரு குறிப்பிட்ட கோப்பகத்தில் வைக்கவும்: -`javac -d {{கோப்புறையை/குறிவைக்கும்/பாதை}} {{கோப்பு.java}}` +`javac -d {{அடைவிற்குப்/பாதை}} {{கோப்பு.java}}` diff --git a/pages.ta/common/jekyll.md b/pages.ta/common/jekyll.md new file mode 100644 index 00000000000000..2a615f8ebfa0b4 --- /dev/null +++ b/pages.ta/common/jekyll.md @@ -0,0 +1,24 @@ +# jekyll + +> ஒரு எளிய, வலைப்பதிவு அறிந்த, நிலையான தள ஜெனரேட்டர். +> மேலும் விவரத்திற்கு: . + +- ஒரு மேம்பாட்டு சேவையகத்தை உருவாக்கவும், அது இயங்குவது இல்: + +`jekyll serve` + +- அதிகரிக்கும் மீளுருவாக்கத்தை இயக்கு: + +`jekyll serve --incremental` + +- வாய்மொழி வெளியீட்டை இயக்கு: + +`jekyll serve --verbose` + +- தற்போதைய கோப்பகத்தை `./_site`டிற்குள் உருவாக்கவும்: + +`jekyll build` + +- தளத்தை (தள வெளியீடு மற்றும் `கேச்` கோப்பகத்தை நீக்குகிறது) உருவாக்காமல் சுத்தம் செய்யுங்கள்: + +`jekyll clean` diff --git a/pages.ta/common/kafkacat.md b/pages.ta/common/kafkacat.md new file mode 100644 index 00000000000000..717a18cc2427fd --- /dev/null +++ b/pages.ta/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> இக்கட்டளை `kcat` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr kcat` diff --git a/pages.ta/common/llvm-ar.md b/pages.ta/common/llvm-ar.md new file mode 100644 index 00000000000000..91a41e9ccf7b93 --- /dev/null +++ b/pages.ta/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> இக்கட்டளை `ar` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ar` diff --git a/pages.ta/common/llvm-g++.md b/pages.ta/common/llvm-g++.md new file mode 100644 index 00000000000000..eb8f349168067b --- /dev/null +++ b/pages.ta/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> இக்கட்டளை `clang++` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr clang++` diff --git a/pages.ta/common/llvm-gcc.md b/pages.ta/common/llvm-gcc.md new file mode 100644 index 00000000000000..8e1691cd417404 --- /dev/null +++ b/pages.ta/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> இக்கட்டளை `clang` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr clang` diff --git a/pages.ta/common/llvm-nm.md b/pages.ta/common/llvm-nm.md new file mode 100644 index 00000000000000..4a46bcecbfedaf --- /dev/null +++ b/pages.ta/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> இக்கட்டளை `nm` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr nm` diff --git a/pages.ta/common/llvm-objdump.md b/pages.ta/common/llvm-objdump.md new file mode 100644 index 00000000000000..68bddc07b4804b --- /dev/null +++ b/pages.ta/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> இக்கட்டளை `objdump` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr objdump` diff --git a/pages.ta/common/llvm-strings.md b/pages.ta/common/llvm-strings.md new file mode 100644 index 00000000000000..43c59c0454812c --- /dev/null +++ b/pages.ta/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> இக்கட்டளை `strings` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr strings` diff --git a/pages.ta/common/ls.md b/pages.ta/common/ls.md index 56ca30327869ca..ce4d3d41172a91 100644 --- a/pages.ta/common/ls.md +++ b/pages.ta/common/ls.md @@ -1,6 +1,7 @@ # ls > அடைவு உள்ளடக்கத்தைப் பட்டியலிடு. +> மேலும் விவரத்திற்கு: . - கோப்புகளை வரிக்கொன்றாகப் பட்டியலிடு: @@ -8,20 +9,28 @@ - மறைவான கோப்புகளுட்பட அனைத்துக் கோப்புகளையும் பட்டியலிடு: -`ls -a` +`ls {{[-a|--all]}}` + +- கோப்பகப் பெயர்களில் சேர்க்கப்பட்டுள்ள `/` உடன் அனைத்து கோப்புகளையும் பட்டியலிடுங்கள்: + +`ls {{[-F|--classify]}}` - அனைத்துக் கோப்புகளையும் முழு விவரங்களுடன் (அனுமதி, உடைமை, கோப்பளவு, மாற்றமைத்தத் தேதி) பட்டியலிடு: -`ls -la` +`ls {{[-la|--all -l]}}` -- கோப்பளவு படிப்பதற்கெளிய அலகுகளில் (KB, MB, GB) காண்பிக்கப்பட்ட முழு விவரப் பட்டியல்: +- கோப்பளவு படிப்பதற்கெளிய அலகுகளில் (KiB, MiB, GiB) காண்பிக்கப்பட்ட முழு விவரப் பட்டியல்: -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` -- கோப்பளவால் இறங்குமுகமாக வரிசைப்படுத்தப்பட்ட முழு விவரப் பட்டியல்: +- நீண்ட வடிவமைப்பு பட்டியல் அளவின்படி (இறங்கும்) மீண்டும் மீண்டும் வரிசைப்படுத்தப்பட்டது: -`ls -lS` +`ls {{-lSR|-lS --recursive}}` - மாற்றமைத்தத் தேதியால் காலவரிசைப்படுத்தப்பட்ட (பழையதிலிருந்துத் துவங்கி) முழு விவரப் பட்டியல்: -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` + +- கோப்பகங்களை மட்டும் பட்டியலிடுங்கள்: + +`ls {{[-d|--directory]}} */` diff --git a/pages.ta/common/lzcat.md b/pages.ta/common/lzcat.md new file mode 100644 index 00000000000000..9c78f658d84135 --- /dev/null +++ b/pages.ta/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> இக்கட்டளை `xz --format=lzma --decompress --stdout` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr xz` diff --git a/pages.ta/common/lzma.md b/pages.ta/common/lzma.md new file mode 100644 index 00000000000000..e6fbadb7a754a8 --- /dev/null +++ b/pages.ta/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> இக்கட்டளை `xz --format=lzma` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr xz` diff --git a/pages.ta/common/man.md b/pages.ta/common/man.md new file mode 100644 index 00000000000000..702c82791bb433 --- /dev/null +++ b/pages.ta/common/man.md @@ -0,0 +1,32 @@ +# man + +> கையேடு பக்கங்களை வடிவமைத்து காட்டவும். +> மேலும் விவரத்திற்கு: . + +- ஒரு கட்டளைக்கான மேன் பக்கத்தைக் காண்பி: + +`man {{கட்டளை}}` + +- பிரிவு 7 இலிருந்து ஒரு கட்டளைக்கான மேன் பக்கத்தைக் காண்பி: + +`man {{7}} {{கட்டளை}}` + +- கட்டளைக்கு கிடைக்கக்கூடிய அனைத்து பிரிவுகளையும் பட்டியலிடுங்கள்: + +`man -f {{கட்டளை}}` + +- மேன்பக்கங்களுக்காகத் தேடப்பட்ட பாதையைக் காண்பி: + +`man --path` + +- மேன்பேஜைக் காட்டிலும் மேன்பேஜின் இருப்பிடத்தைக் காண்பி: + +`man -w {{கட்டளை}}` + +- ஒரு குறிப்பிட்ட மொழியைப் பயன்படுத்தி மேன் பக்கத்தைக் காண்பி: + +`man {{கட்டளை}} --locale={{மொழி}}` + +- தேடல் சரம் கொண்ட மேன் பக்கங்களைத் தேடவும்: + +`man -k "{{தேடல்_சரம்}}"` diff --git a/pages.ta/common/md5sum.md b/pages.ta/common/md5sum.md new file mode 100644 index 00000000000000..8b9de8737b8204 --- /dev/null +++ b/pages.ta/common/md5sum.md @@ -0,0 +1,28 @@ +# md5sum + +> MD5 மறையீட்டு சரிகாண்தொகையைக் கணி. +> மேலும் விவரத்திற்கு: . + +- கோப்பின் MD5 சரிகாண்தொகையைக் கணி: + +`md5sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- பலக் கோப்புகளின் MD5 சரிகாண்தொகையைக் கணி: + +`md5sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}} > {{கோப்பு.md5/பாதை}}` + +- இயல் உள்ளீட்டின் MD5 சரிகாண்தொகையைக் கணி: + +`{{கட்டளை}} | md5sum` + +- MD5SUMகளின் கோப்பைப் படித்து, எல்லா கோப்புகளிலும் சரிகாண்தொகை பொருந்துகின்றனவா என்பதைச் சரிபார்க்கவும்: + +`md5sum --check {{கோப்பு.md5/பாதை}}` + +- விடுபட்ட கோப்புகள் அல்லது சரிபார்ப்பு தோல்வியுற்றால் மட்டுமே செய்தியைக் காட்டவும்: + +`md5sum --check --quiet {{கோப்பு.md5/பாதை}}` + +- விடுபட்ட கோப்புகளைப் புறக்கணித்து, சரிபார்ப்பு தோல்வியுற்ற கோப்புகளுக்கான செய்தியை மட்டும் காட்டவும்: + +`md5sum --ignore-missing --check --quiet {{கோப்பு.md5/பாதை}}` diff --git a/pages.ta/common/mkdir.md b/pages.ta/common/mkdir.md index 80e89d4ab5c2f8..7aae3ee4fdd7e7 100644 --- a/pages.ta/common/mkdir.md +++ b/pages.ta/common/mkdir.md @@ -1,11 +1,16 @@ # mkdir > அடைவை உருவாக்கு. +> மேலும் விவரத்திற்கு: . -- அடைவொன்றைத் தற்போதைய அடைவிலோக் குறிப்பிட்ட பாதையிலோ உருவாக்கு: +- குறிப்பிட்ட கோப்பகங்களை உருவாக்கவும்: -`mkdir {{அடைவு}}` +`mkdir {{அடைவு1/பாதை அடைவு2/பாதை ...}}` -- அடைவையும் ஏற்கனவே இல்லையெனில் அதன் தாயடைவுகளையும் தற்சுருளாக உருவாக்கு: +- தேவைப்பட்டால், குறிப்பிட்ட அடைவுகளையும் அவற்றின் பெற்றோரையும் உருவாக்கவும்: -`mkdir -p {{அடைவிற்குப்/பாதை}}` +`mkdir {{[-p|--parents]}} {{அடைவு1/பாதை அடைவு2/பாதை ...}}` + +- குறிப்பிட்ட அனுமதிகளுடன் கோப்பகங்களை உருவாக்கவும்: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{அடைவு1/பாதை அடைவு2/பாதை ...}}` diff --git a/pages.ta/common/mscore.md b/pages.ta/common/mscore.md new file mode 100644 index 00000000000000..4591ae6c0e19de --- /dev/null +++ b/pages.ta/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> இக்கட்டளை `musescore` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr musescore` diff --git a/pages.ta/common/mv.md b/pages.ta/common/mv.md index e5d95be6a1b99e..8050d883df6324 100644 --- a/pages.ta/common/mv.md +++ b/pages.ta/common/mv.md @@ -1,23 +1,32 @@ # mv > கோப்புகளையோ அடைவுகளையோ நகர்த்து அல்லது மறுபெயரிடு. +> மேலும் விவரத்திற்கு: . - கோப்பை ஓரிடத்திலிருந்து இன்னோரிடத்திற்கு நகர்த்து: -`mv {{மூலப்பாதை}} {{குறிபாதை}}` +`mv {{மூலம்/பாதை}} {{குறி/பாதை}}` + +- ஒரு கோப்பு அல்லது கோப்பகத்தை ஏற்கனவே உள்ள கோப்பகத்திற்கு நகர்த்தவும்: + +`mv {{மூலம்/பாதை}} {{இருக்கும்_கோப்பகம்/பாதை}}` + +- கோப்பு பெயர்களை வைத்து, கோப்புகளை மற்றொரு கோப்பகத்திற்கு நகர்த்தவும்: + +`mv {{மூலப்பாதை1/பாதை மூலப்பாதை2/பாதை ...}} {{இலக்கு_கோப்பகம்/பாதை}}` - ஏற்கனவே இருக்கும் கோப்புகள் மேலெழுதும் முன் உறுதிப்படுத்தாதே: -`mv -f {{மூலப்பாதை}} {{குறிபாதை}}` +`mv {{[-f|--force]}} {{மூலம்/பாதை}} {{குறி/பாதை}}` - ஏற்கனவே இருக்கும் கோப்புகள் மேலெழுதும் முன் கோப்பு அனுமதிகளைப் பொருட்படுத்தாது உறுதிப்படுத்து: -`mv -i {{மூலக்கோப்பு}} {{குறிகோப்பு}}` +`mv {{[-i|--interactive]}} {{மூலம்/பாதை}} {{குறி/பாதை}}` - ஏற்கனவே இருக்கும் கோப்புகள் மேலெழுதாதே: -`mv -n {{மூலக்கோப்பு}} {{குறிகோப்பு}}` +`mv {{[-n|--no-clobber]}} {{மூலம்/பாதை}} {{குறி/பாதை}}` -- கோப்புகளை வளவள நிலையில் (நகர்த்தப்படும் கோப்புகள் பட்டியலிடப்படும்) நகர்த்து: +- கோப்புகளை verbose நிலையில் நகர்த்து, நகர்த்தப்படும் கோப்புகள் பட்டியலிடப்படும்: -`mv -v {{மூலக்கோப்பு}} {{குறிகோப்பு}}` +`mv {{[-v|--verbose]}} {{மூலம்/பாதை}} {{குறி/பாதை}}` diff --git a/pages.ta/common/nm-classic.md b/pages.ta/common/nm-classic.md new file mode 100644 index 00000000000000..88269805a92253 --- /dev/null +++ b/pages.ta/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> இக்கட்டளை `nm` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr nm` diff --git a/pages.ta/common/ntl.md b/pages.ta/common/ntl.md new file mode 100644 index 00000000000000..fe100bafc72665 --- /dev/null +++ b/pages.ta/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> இக்கட்டளை `netlify` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr netlify` diff --git a/pages.ta/common/pio-init.md b/pages.ta/common/pio-init.md new file mode 100644 index 00000000000000..ab8db4dad144fa --- /dev/null +++ b/pages.ta/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> இக்கட்டளை `pio project` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr pio project` diff --git a/pages.ta/common/piodebuggdb.md b/pages.ta/common/piodebuggdb.md new file mode 100644 index 00000000000000..fa9d00ba7f03bd --- /dev/null +++ b/pages.ta/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> இக்கட்டளை `pio debug` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr pio debug` diff --git a/pages.ta/common/platformio.md b/pages.ta/common/platformio.md new file mode 100644 index 00000000000000..d3ef51e06d2d50 --- /dev/null +++ b/pages.ta/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> இக்கட்டளை `pio` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr pio` diff --git a/pages.ta/common/podman.md b/pages.ta/common/podman.md new file mode 100644 index 00000000000000..f8619c695db41a --- /dev/null +++ b/pages.ta/common/podman.md @@ -0,0 +1,37 @@ +# podman + +> காய்கள், கொள்கலன்கள் மற்றும் படங்களுக்கான எளிய மேலாண்மை கருவி. +> போட்மேன் ஒரு Docker-CLI ஒப்பிடக்கூடிய கட்டளை வரியை வழங்குகிறது. எளிமையாகச் சொன்னால்: `alias docker=podman`. +> மேலும் விவரத்திற்கு: . + +- அனைத்து கொள்கலன்களையும் பட்டியலிடு (இரண்டும் இயங்கும் மற்றும் நிறுத்தப்பட்டது): + +`podman ps --all` + +- தனிப்பயன் பெயருடன் ஒரு படத்திலிருந்து ஒரு கொள்கலனை உருவாக்கவும்: + +`podman run --name {{கொள்கலன்_பெயர்}} {{படம்}}` + +- ஏற்கனவே உள்ள கொள்கலனைத் தொடங்கவும் அல்லது நிறுத்தவும்: + +`podman {{start|stop}} {{கொள்கலன்_பெயர்}}` + +- பதிவேட்டில் இருந்து ஒரு படத்தை இழுக்கவும் (டாக்கர் ஹப்பிற்கு இயல்புநிலை): + +`podman pull {{படம்}}` + +- ஏற்கனவே பதிவிறக்கம் செய்யப்பட்ட படங்களின் பட்டியலைக் காண்பி: + +`podman images` + +- ஏற்கனவே இயங்கும் கொள்கலனில் ஒரு ஷெல் திறக்கவும்: + +`podman exec --interactive --tty {{கொள்கலன்_பெயர்}} {{sh}}` + +- நிறுத்தப்பட்ட கொள்கலனை அகற்றவும்: + +`podman rm {{கொள்கலன்_பெயர்}}` + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கொள்கலன்களின் பதிவுகளைக் காண்பி மற்றும் பதிவு வெளியீட்டைப் பின்பற்றவும்: + +`podman logs --follow {{கொள்கலன்_பெயர்}} {{கொள்கலன்_ஐடி}}` diff --git a/pages.ta/common/powershell.md b/pages.ta/common/powershell.md new file mode 100644 index 00000000000000..89f31429c52a28 --- /dev/null +++ b/pages.ta/common/powershell.md @@ -0,0 +1,13 @@ +# powershell + +> இந்த கட்டளை PowerShell குறுக்கு-தளப் பதிப்பாக தவறாக இருக்கலாம் (முன்னர் PowerShell கோர் என அறியப்பட்டது), இது `powershell` என்பதற்குப் பதிலாக `pwsh` ஐப் பயன்படுத்துகிறது. +> விண்டோஸில் உள்ள அசல் `powershell` கட்டளை, PowerSShell இன் மரபு விண்டோஸ் பதிப்பைப் பயன்படுத்த இன்னும் கிடைக்கிறது (பதிப்பு 5.1 மற்றும் கீழே). +> மேலும் விவரத்திற்கு: . + +- PowerShell இன் சமீபத்திய, குறுக்கு-தளப் பதிப்பைக் குறிப்பிடும் கட்டளைக்கான ஆவணங்களைப் பார்க்கவும் (பதிப்பு 6 மற்றும் அதற்கு மேல்): + +`tldr pwsh` + +- மரபு விண்டோஸ் PowerShell (பதிப்பு 5.1 மற்றும் கீழே) குறிப்பிடும் கட்டளைக்கான ஆவணங்களைப் பார்க்கவும்: + +`tldr powershell {{[-p|--platform]}} windows` diff --git a/pages.ta/common/ptpython3.md b/pages.ta/common/ptpython3.md new file mode 100644 index 00000000000000..160071cc3a9098 --- /dev/null +++ b/pages.ta/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> இக்கட்டளை `ptpython` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ptpython` diff --git a/pages.ta/common/python3.md b/pages.ta/common/python3.md new file mode 100644 index 00000000000000..0773edfe7b05eb --- /dev/null +++ b/pages.ta/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> இக்கட்டளை `python` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr python` diff --git a/pages.ta/common/r2.md b/pages.ta/common/r2.md new file mode 100644 index 00000000000000..360ea8273f74f7 --- /dev/null +++ b/pages.ta/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> இக்கட்டளை `radare2` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr radare2` diff --git a/pages.ta/common/rcat.md b/pages.ta/common/rcat.md new file mode 100644 index 00000000000000..e52b2dbdcabddf --- /dev/null +++ b/pages.ta/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> இக்கட்டளை `rc` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr rc` diff --git a/pages.ta/common/rm.md b/pages.ta/common/rm.md index 55e2b7300fa4fe..238c613cf1a84f 100644 --- a/pages.ta/common/rm.md +++ b/pages.ta/common/rm.md @@ -1,23 +1,25 @@ # rm > கோப்புகளையோ அடைவுகளையோ அழி. +> மேலும் பார்க்கவும்: `rmdir`. +> மேலும் விவரத்திற்கு: . -- கோப்புகளை அழி: +- குறிப்பிட்ட கோப்புகளை அகற்றவும்: -`rm {{கோப்பொன்றிற்குப்/பாதை}} {{கோப்பின்னொன்றிற்குப்/பாதை}}` +`rm {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` -- அடைவொன்றையும் அதில் உள்ளடங்கிய அனைத்தையும் தற்சுருளாக அழி: +- இல்லாதவற்றைப் புறக்கணித்து குறிப்பிட்ட கோப்புகளை அகற்றவும்: -`rm -r {{அடைவிற்குப்/பாதை}}` +`rm -f {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` -- உறுதிப்படுத்தக் கேட்காமலும் பிழை செய்திகளைக் காட்டாமலும் அடைவொன்றை அழி: +- குறிப்பிட்ட கோப்புகளை அகற்று [i] ஒவ்வொரு அகற்றுதலுக்கு முன்பும் ஊடாடும் தூண்டுதல்: -`rm -rf {{அடைவிற்குப்/பாதை}}` +`rm -i {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` -- ஒவ்வொருக் கோப்பையும் அழிப்பதற்கு முன் உறுதிப்படுத்து: +- ஒவ்வொரு அகற்றுதல் பற்றிய குறிப்பிட்ட கோப்புகளின் அச்சிடும் தகவலை அகற்றவும்: -`rm -i {{கோப்புகள்}}` +`rm -v {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` -- கோப்புகளை வளவள நிலையில் (அழிக்கப்படும் கோப்புகள் பட்டியலிடப்படும்) அழி: +- குறிப்பிட்ட கோப்புகள் மற்றும் கோப்பகங்களை [r] தொடர்ந்து அகற்றவும்: -`rm -v {{அடைவிற்குப்/பாதை/*}}` +`rm -r {{கோப்பு_அல்லது_அடைவு1/பாதை கோப்பு_அல்லது_அடைவு2/பாதை ...}}` diff --git a/pages.ta/common/rmdir.md b/pages.ta/common/rmdir.md index 8b6dac9d02fd1e..974060ca573e4f 100644 --- a/pages.ta/common/rmdir.md +++ b/pages.ta/common/rmdir.md @@ -1,11 +1,13 @@ # rmdir -> அடைவை அழி. +> கோப்புகள் இல்லாத கோப்பகங்களை அகற்று. +> மேலும் பார்க்கவும்: `rm`. +> மேலும் விவரத்திற்கு: . -- அடைவு வெறுமையாகயிருந்தால் அதனை அழி. உள்ளடக்கமுடைய அடைவை நீக்க `rm` யைப் பயன்படுத்தவும்: +- குறிப்பிட்ட கோப்பகங்களை அகற்றவும்: -`rmdir {{அடைவிற்குப்/பாதை}}` +`rmdir {{அடைவு1/பாதை அடைவு2/பாதை ...}}` -- அடைவுகளை தற்சுருளாக அழி (உட்பொதிவான அடைவுகளை அழிக்கப் பயன்படும்): +- குறிப்பிட்ட உள்ளமை கோப்பகங்களை மீண்டும் மீண்டும் அகற்றவும்: -`rmdir -p {{அடைவிற்குப்/பாதை}}` +`rmdir -p {{அடைவு1/பாதை அடைவு2/பாதை ...}}` diff --git a/pages.ta/common/ruby.md b/pages.ta/common/ruby.md new file mode 100644 index 00000000000000..3e086fab49e390 --- /dev/null +++ b/pages.ta/common/ruby.md @@ -0,0 +1,28 @@ +# ruby + +> ரூபி நிரலாக்க மொழி மொழிபெயர்ப்பாளர். +> மேலும் விவரத்திற்கு: . + +- ஒரு ரூபி ஸ்கிரிப்டை இயக்கவும்: + +`ruby {{ஸ்கிரிப்ட்.rb}}` + +- கட்டளை வரியில் ஒற்றை ரூபி கட்டளையை செயல்படுத்தவும்: + +`ruby -e {{கட்டளை}}` + +- கொடுக்கப்பட்ட ரூபி ஸ்கிரிப்ட்டில் தொடரியல் பிழைகளைச் சரிபார்க்கவும்: + +`ruby -c {{ஸ்கிரிப்ட்.rb}}` + +- தற்போதைய கோப்பகத்தில் போர்ட் 8080 இல் உள்ளமைக்கப்பட்ட HTTP சேவையகத்தைத் தொடங்கவும்: + +`ruby -run -e httpd` + +- அது சார்ந்துள்ள தேவையான நூலகத்தை நிறுவாமல் ரூபி பைனரியை உள்நாட்டில் இயக்கவும்: + +`ruby -I {{நூலக_கோப்புறை/பாதை}} -r {{நூலகம்_பெயர்_அவசியம்}} {{பின்_கோப்புறை/பின்_பெயர்/பாதை}}` + +- நீங்கள் பயன்படுத்தும் ரூபியின் பதிப்பைக் காட்டு: + +`ruby {{[-v|--version]}}` diff --git a/pages.ta/common/rustc.md b/pages.ta/common/rustc.md new file mode 100644 index 00000000000000..12beb3e943a81f --- /dev/null +++ b/pages.ta/common/rustc.md @@ -0,0 +1,33 @@ +# rustc + +> ரஸ்ட் கம்பைலர். +> ரஸ்ட் மொழி மூல கோப்புகளை செயலாக்குகிறது, தொகுக்கிறது மற்றும் இணைக்கிறது. +> மேலும் விவரத்திற்கு: . + +- ஒரு கோப்பை தொகுக்கவும்: + +`rustc {{முக்கிய_கோப்பு.rs/பாதை}}` + +- உகப்பாக்கத்துடன் தொகுக்கவும் (`s` என்பது பைனரி அளவுக்கு உகந்ததாக்கு; `z` என்பது இன்னும் கூடுதலான மேம்படுத்தலுடன் சமம்): + +`rustc -C lto -C opt-level={{0|1|2|3|s|z}} {{முக்கிய_கோப்பு.rs/பாதை}}` + +- பிழைத்திருத்த தகவலுடன் தொகுக்கவும்: + +`rustc -g {{முக்கிய_கோப்பு.rs/பாதை}}` + +- ஒரு பிழை செய்தியை விளக்குங்கள்: + +`rustc --explain {{பிழை_குறியீடு}}` + +- தற்போதைய CPU க்கான கட்டிடக்கலை-குறிப்பிட்ட மேம்படுத்தல்களுடன் தொகுக்கவும்: + +`rustc -C target-cpu={{native}} {{முக்கிய_கோப்பு.rs/பாதை}}` + +- இலக்கு பட்டியலைக் காண்பி (குறிப்பு: `rustup` ஐப் பயன்படுத்தி ஒரு இலக்கை முதலில் தொகுக்க நீங்கள் சேர்க்க வேண்டும்): + +`rustc --print target-list` + +- ஒரு குறிப்பிட்ட இலக்கை தொகுக்கவும்: + +`rustc --target {{இலக்கு_மூன்று}} {{முக்கிய_கோப்பு.rs/பாதை}}` diff --git a/pages.ta/common/rustfmt.md b/pages.ta/common/rustfmt.md new file mode 100644 index 00000000000000..bda5506eb7eca1 --- /dev/null +++ b/pages.ta/common/rustfmt.md @@ -0,0 +1,16 @@ +# rustfmt + +> ரஸ்ட் மூலக் குறியீட்டை வடிவமைப்பதற்கான கருவி. +> மேலும் விவரத்திற்கு: . + +- ஒரு கோப்பை வடிவமைக்கவும், அசல் கோப்பை மேலெழுதவும்: + +`rustfmt {{மூலம்.rs/பாதை}}` + +- வடிவமைப்பிற்கான கோப்பைச் சரிபார்த்து, கன்சோலில் ஏதேனும் மாற்றங்களைக் காட்டவும்: + +`rustfmt --check {{மூலம்.rs/பாதை}}` + +- வடிவமைப்பிற்கு முன் ஏதேனும் மாற்றப்பட்ட கோப்புகளை காப்புப் பிரதி எடுக்கவும் (அசல் கோப்பு `.bk` நீட்டிப்புடன் மறுபெயரிடப்பட்டது): + +`rustfmt --backup {{மூலம்.rs/பாதை}}` diff --git a/pages.ta/common/rustup-init.sh.md b/pages.ta/common/rustup-init.sh.md new file mode 100644 index 00000000000000..3e7ca45afffba1 --- /dev/null +++ b/pages.ta/common/rustup-init.sh.md @@ -0,0 +1,32 @@ +# rustup-init.sh + +> `rustup` மற்றும் ரஸ்ட் கருவித்தொகுப்பை நிறுவுவதற்கான ஸ்கிரிப்ட். +> மேலும் விவரத்திற்கு: . + +- `rustup` மற்றும் இயல்புநிலை ரஸ்ட் கருவித்தொகுப்பை நிறுவ, `rustup-init` ஐப் பதிவிறக்கி இயக்கவும்: + +`curl https://sh.rustup.rs -sSf | sh -s` + +- பதிவிறக்கி, `rustup-init` ஐ இயக்கி, அதற்கு வாதங்களை அனுப்பவும்: + +`curl https://sh.rustup.rs -sSf | sh -s -- {{வாதங்கள்}}` + +- `rustup-init` ஐ இயக்கி, நிறுவுவதற்கான கூடுதல் கூறுகள் அல்லது இலக்குகளைக் குறிப்பிடவும்: + +`rustup-init.sh --target {{இலக்கு}} --component {{கூறு}}` + +- `rustup-init` ஐ இயக்கி, நிறுவ வேண்டிய இயல்புநிலை கருவித்தொகுப்பைக் குறிப்பிடவும்: + +`rustup-init.sh --default-toolchain {{கருவித்தொகுப்பு}}` + +- `rustup-init` ஐ இயக்கவும் மற்றும் எந்த கருவித்தொகுப்பையும் நிறுவ வேண்டாம்: + +`rustup-init.sh --default-toolchain {{none}}` + +- `rustup-init` ஐ இயக்கி, நிறுவல் சுயவிவரத்தைக் குறிப்பிடவும்: + +`rustup-init.sh --profile {{minimal|default|complete}}` + +- உறுதிப்படுத்தலைக் கேட்காமல் `rustup-init` ஐ இயக்கவும்: + +`rustup-init.sh -y` diff --git a/pages.ta/common/rustup.md b/pages.ta/common/rustup.md new file mode 100644 index 00000000000000..41c050e0ff03a5 --- /dev/null +++ b/pages.ta/common/rustup.md @@ -0,0 +1,33 @@ +# rustup + +> ரஸ்ட் டூல்செயின் நிறுவி. +> ரஸ்ட் டூல்செயின்களை நிறுவவும், நிர்வகிக்கவும் மற்றும் புதுப்பிக்கவும் இதை பயன்படுத்துகிறோம். +> மேலும் விவரத்திற்கு: . + +- உங்கள் கணினிக்கு இரவு டூல்செயின்களை நிறுவவும்: + +`rustup install nightly` + +- இயல்புநிலை டூல்செயின்களை இரவிற்கு மாற்றவும், இதனால் `cargo` மற்றும் `rustc` கட்டளைகள் அதைப் பயன்படுத்தும்: + +`rustup default nightly` + +- தற்போதைய ப்ராஜெக்ட்டில் இருக்கும் போது இரவு டூல்செயினைப் பயன்படுத்தவும், ஆனால் உலகளாவிய அமைப்புகளை மாற்றாமல் விடவும்: + +`rustup override set nightly` + +- அனைத்து டூல்செயின்களையும் புதுப்பிக்கவும்: + +`rustup update` + +- நிறுவப்பட்ட டூல்செயின்களை பட்டியலிடுங்கள்: + +`rustup show` + +- ஒரு குறிப்பிட்ட டூல்செயின் மூலம் சரக்கு கட்டமைப்பை இயக்கவும்: + +`rustup run {{டூல்செயின்_பெயர்}} cargo build` + +- இயல்புநிலை இணைய உலாவியில் உள்ளூர் ரஸ்ட் ஆவணத்தைத் திறக்கவும்: + +`rustup doc` diff --git a/pages.ta/common/sha1sum.md b/pages.ta/common/sha1sum.md new file mode 100644 index 00000000000000..366ab96d14a16a --- /dev/null +++ b/pages.ta/common/sha1sum.md @@ -0,0 +1,28 @@ +# sha1sum + +> SHA1 மறையீட்டு சரிகாண்தொகையைக் கணி. +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான SHA1 சரிகாண்தொகையைக் கணி: + +`sha1sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- SHA1 சரிகாண்தொகை பட்டியலைக் கணக்கிட்டு ஒரு கோப்பில் சேமிக்கவும்: + +`sha1sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}} > {{கோப்பு.sha1/பாதை}}` + +- `stdin` (இயல் உள்ளீடு) இலிருந்து SHA1 சரிகாண்தொகையை கணி: + +`{{கட்டளை}} | sha1sum` + +- SHA1 தொகைகள் மற்றும் கோப்புப்பெயர்களின் கோப்பைப் படித்து, எல்லாக் கோப்புகளிலும் சரிகாண்தொகைகள் பொருந்துகின்றன என்பதைச் சரிபார்க்கவும்: + +`sha1sum --check {{கோப்பு.sha1/பாதை}}` + +- விடுபட்ட கோப்புகள் அல்லது சரிபார்ப்பு தோல்வியுற்றால் மட்டுமே செய்தியைக் காட்டவும்: + +`sha1sum --check --quiet {{கோப்பு.sha1/பாதை}}` + +- சரிபார்ப்பு தோல்வியுற்றால், விடுபட்ட கோப்புகளைப் புறக்கணித்து, செய்தியை மட்டும் காட்டவும்: + +`sha1sum --ignore-missing --check --quiet {{கோப்பு.sha1/பாதை}}` diff --git a/pages.ta/common/sha224sum.md b/pages.ta/common/sha224sum.md new file mode 100644 index 00000000000000..c5d6320a7067ff --- /dev/null +++ b/pages.ta/common/sha224sum.md @@ -0,0 +1,28 @@ +# sha224sum + +> SHA224 மறையீட்டு சரிகாண்தொகையைக் கணி. +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான SHA224 சரிகாண்தொகையைக் கணி: + +`sha224sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- SHA224 சரிகாண்தொகை பட்டியலைக் கணக்கிட்டு ஒரு கோப்பில் சேமிக்கவும்: + +`sha224sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}} > {{கோப்பு.sha224/பாதை}}` + +- `stdin` (இயல் உள்ளீடு) இலிருந்து SHA224 சரிகாண்தொகையை கணி: + +`{{கட்டளை}} | sha224sum` + +- SHA224 தொகைகள் மற்றும் கோப்புப்பெயர்களின் கோப்பைப் படித்து, எல்லாக் கோப்புகளிலும் சரிகாண்தொகைகள் பொருந்துகின்றன என்பதைச் சரிபார்க்கவும்: + +`sha224sum --check {{கோப்பு.sha224/பாதை}}` + +- விடுபட்ட கோப்புகள் அல்லது சரிபார்ப்பு தோல்வியுற்றால் மட்டுமே செய்தியைக் காட்டவும்: + +`sha224sum --check --quiet {{கோப்பு.sha224/பாதை}}` + +- சரிபார்ப்பு தோல்வியுற்றால், விடுபட்ட கோப்புகளைப் புறக்கணித்து, செய்தியை மட்டும் காட்டவும்: + +`sha224sum --ignore-missing --check --quiet {{கோப்பு.sha224/பாதை}}` diff --git a/pages.ta/common/sha256sum.md b/pages.ta/common/sha256sum.md new file mode 100644 index 00000000000000..ff45fe82497aa8 --- /dev/null +++ b/pages.ta/common/sha256sum.md @@ -0,0 +1,28 @@ +# sha256sum + +> SHA256 மறையீட்டு சரிகாண்தொகையைக் கணி. +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான SHA256 சரிகாண்தொகையைக் கணி: + +`sha256sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- SHA256 சரிகாண்தொகை பட்டியலைக் கணக்கிட்டு ஒரு கோப்பில் சேமிக்கவும்: + +`sha256sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}} > {{கோப்பு.sha256/பாதை}}` + +- `stdin` (இயல் உள்ளீடு) இலிருந்து SHA256 சரிகாண்தொகையை கணி: + +`{{கட்டளை}} | sha256sum` + +- SHA256 தொகைகள் மற்றும் கோப்புப்பெயர்களின் கோப்பைப் படித்து, எல்லாக் கோப்புகளிலும் சரிகாண்தொகைகள் பொருந்துகின்றன என்பதைச் சரிபார்க்கவும்: + +`sha256sum --check {{கோப்பு.sha256/பாதை}}` + +- விடுபட்ட கோப்புகள் அல்லது சரிபார்ப்பு தோல்வியுற்றால் மட்டுமே செய்தியைக் காட்டவும்: + +`sha256sum --check --quiet {{கோப்பு.sha256/பாதை}}` + +- சரிபார்ப்பு தோல்வியுற்றால், விடுபட்ட கோப்புகளைப் புறக்கணித்து, செய்தியை மட்டும் காட்டவும்: + +`sha256sum --ignore-missing --check --quiet {{கோப்பு.sha256/பாதை}}` diff --git a/pages.ta/common/sha384sum.md b/pages.ta/common/sha384sum.md new file mode 100644 index 00000000000000..3cd643872ba921 --- /dev/null +++ b/pages.ta/common/sha384sum.md @@ -0,0 +1,28 @@ +# sha384sum + +> SHA384 மறையீட்டு சரிகாண்தொகையைக் கணி. +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான SHA384 சரிகாண்தொகையைக் கணி: + +`sha384sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- SHA384 சரிகாண்தொகை பட்டியலைக் கணக்கிட்டு ஒரு கோப்பில் சேமிக்கவும்: + +`sha384sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}} > {{கோப்பு.sha384/பாதை}}` + +- `stdin` (இயல் உள்ளீடு) இலிருந்து SHA384 சரிகாண்தொகையை கணி: + +`{{கட்டளை}} | sha384sum` + +- SHA384 தொகைகள் மற்றும் கோப்புப்பெயர்களின் கோப்பைப் படித்து, எல்லாக் கோப்புகளிலும் சரிகாண்தொகைகள் பொருந்துகின்றன என்பதைச் சரிபார்க்கவும்: + +`sha384sum --check {{கோப்பு.sha384/பாதை}}` + +- விடுபட்ட கோப்புகள் அல்லது சரிபார்ப்பு தோல்வியுற்றால் மட்டுமே செய்தியைக் காட்டவும்: + +`sha384sum --check --quiet {{கோப்பு.sha384/பாதை}}` + +- சரிபார்ப்பு தோல்வியுற்றால், விடுபட்ட கோப்புகளைப் புறக்கணித்து, செய்தியை மட்டும் காட்டவும்: + +`sha384sum --ignore-missing --check --quiet {{கோப்பு.sha384/பாதை}}` diff --git a/pages.ta/common/sha512sum.md b/pages.ta/common/sha512sum.md new file mode 100644 index 00000000000000..24ba547d45feca --- /dev/null +++ b/pages.ta/common/sha512sum.md @@ -0,0 +1,28 @@ +# sha512sum + +> SHA512 மறையீட்டு சரிகாண்தொகையைக் கணி. +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான SHA512 சரிகாண்தொகையைக் கணி: + +`sha512sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- SHA512 சரிகாண்தொகை பட்டியலைக் கணக்கிட்டு ஒரு கோப்பில் சேமிக்கவும்: + +`sha512sum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}} > {{கோப்பு.sha512/பாதை}}` + +- `stdin` (இயல் உள்ளீடு) இலிருந்து SHA512 சரிகாண்தொகையை கணி: + +`{{கட்டளை}} | sha512sum` + +- SHA512 தொகைகள் மற்றும் கோப்புப்பெயர்களின் கோப்பைப் படித்து, எல்லாக் கோப்புகளிலும் சரிகாண்தொகைகள் பொருந்துகின்றன என்பதைச் சரிபார்க்கவும்: + +`sha512sum --check {{கோப்பு.sha512/பாதை}}` + +- விடுபட்ட கோப்புகள் அல்லது சரிபார்ப்பு தோல்வியுற்றால் மட்டுமே செய்தியைக் காட்டவும்: + +`sha512sum --check --quiet {{கோப்பு.sha512/பாதை}}` + +- சரிபார்ப்பு தோல்வியுற்றால், விடுபட்ட கோப்புகளைப் புறக்கணித்து, செய்தியை மட்டும் காட்டவும்: + +`sha512sum --ignore-missing --check --quiet {{கோப்பு.sha512/பாதை}}` diff --git a/pages.ta/common/shasum.md b/pages.ta/common/shasum.md new file mode 100644 index 00000000000000..07e2756b30d625 --- /dev/null +++ b/pages.ta/common/shasum.md @@ -0,0 +1,36 @@ +# shasum + +> SHA மறையீட்டு சரிகாண்தொகைகளைக் கணி அல்லது சரிபார். +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான SHA1 சரிகாண்தொகையைக் கணி: + +`shasum {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான SHA256 சரிகாண்தொகையைக் கணி: + +`shasum --algorithm 256 {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளுக்கான SHA512 சரிகாண்தொகைகளைக் கணி: + +`shasum --algorithm 512 {{கோப்பு1/பாதை கோப்பு2/பாதை ...}}` + +- `stdin` (இயல் உள்ளீடு) இலிருந்து SHA1 சரிகாண்தொகையை கணி: + +`{{கட்டளை}} | shasum` + +- SHA256 சரிகாண்தொகை பட்டியலைக் கணக்கிட்டு ஒரு கோப்பில் சேமிக்கவும்: + +`shasum --algorithm 256 {{கோப்பு1/பாதை கோப்பு2/பாதை ...}} > {{கோப்பு.sha256/பாதை}}` + +- SHA1 தொகைகள் மற்றும் கோப்புப்பெயர்களின் கோப்பைப் படித்து, எல்லாக் கோப்புகளிலும் சரிகாண்தொகைகள் பொருந்துகின்றன என்பதைச் சரிபார்க்கவும்: + +`shasum --check {{கோப்பு/பாதை}}` + +- விடுபட்ட கோப்புகள் அல்லது சரிபார்ப்பு தோல்வியுற்றால் மட்டுமே செய்தியைக் காட்டவும்: + +`shasum --check --quiet {{கோப்பு/பாதை}}` + +- சரிபார்ப்பு தோல்வியுற்றால், விடுபட்ட கோப்புகளைப் புறக்கணித்து, செய்தியை மட்டும் காட்டவும்: + +`shasum --ignore-missing --check --quiet {{கோப்பு/பாதை}}` diff --git a/pages.ta/common/sum.md b/pages.ta/common/sum.md new file mode 100644 index 00000000000000..81a8c578fa509a --- /dev/null +++ b/pages.ta/common/sum.md @@ -0,0 +1,13 @@ +# sum + +> கோப்பின் சரிகாண்தொகையைக் கணித்து அதில் எத்தனைத் தொகுதிகளுள்ளன என்றெண்ணு. +> இதுத் தற்காலத்திய `cksum` கட்டளைக்கு முன் தோன்றியது. +> மேலும் விவரத்திற்கு: . + +- BSD ஒத்த படிமுறையுடனும் 1024-எண்ணிருமித் தொகுதிகளுடனும் சரிகாண்தொகையைக் கணி: + +`sum {{கோப்பு}}` + +- System V ஒத்த படிமுறையுடனும் 512-எண்ணிருமித் தொகுதிகளுடனும் சரிகாண்தொகையைக் கணி: + +`sum {{[-s|--sysv]}} {{கோப்பு}}` diff --git a/pages.ta/common/tldr.md b/pages.ta/common/tldr.md new file mode 100644 index 00000000000000..96f7f7c3f7d744 --- /dev/null +++ b/pages.ta/common/tldr.md @@ -0,0 +1,29 @@ +# tldr + +> tldr-pages திட்டத்தில் இருந்து கட்டளை வரி கருவிகளுக்கான எளிய உதவிப் பக்கங்களைக் காண்பிக்கவும். +> குறிப்பு: வாடிக்கையாளர் விவரக்குறிப்பிற்கு `--language` மற்றும் `--list` விருப்பங்கள் தேவையில்லை, ஆனால் பெரும்பாலான வாடிக்கையாளர்கள் அவற்றைச் செயல்படுத்துகிறார்கள். +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட கட்டளைக்கு `tldr` பக்கத்தை அச்சிடுங்கள் (குறிப்பு: நீங்கள் இப்படி தான் இங்கு வந்தீர்கள்!): + +`tldr {{கட்டளை}}` + +- ஒரு குறிப்பிட்ட துணைக் கட்டளைக்கு `tldr` பக்கத்தை அச்சிடுக: + +`tldr {{கட்டளை}} {{துணை_கட்டளை}}` + +- கொடுக்கப்பட்ட [L] மொழியில் கட்டளைக்காக `tldr` பக்கத்தை அச்சிடவும் (கிடைத்தால், இல்லையெனில் ஆங்கிலத்திற்குத் திரும்பவும்): + +`tldr {{[-L|--language]}} {{மொழி_குறியீடு}} {{கட்டளை}}` + +- ஒரு குறிப்பிட்ட [p] தளத்திலிருந்து ஒரு கட்டளைக்கு `tldr` பக்கத்தை அச்சிடவும்: + +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{கட்டளை}}` + +- `tldr` பக்கங்களின் உள்ளூர் தற்காலிக சேமிப்பை [u] புதுப்பிக்கவும்: + +`tldr {{[-u|--update]}}` + +- தற்போதைய இயங்குதளத்திற்கான அனைத்து பக்கங்களையும் பட்டியலிடவும் மற்றும் `common`: + +`tldr {{[-l|--list]}}` diff --git a/pages.ta/common/tldrl.md b/pages.ta/common/tldrl.md new file mode 100644 index 00000000000000..c4dfdc7144972a --- /dev/null +++ b/pages.ta/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> இக்கட்டளை `tldr-lint` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr tldr-lint` diff --git a/pages.ta/common/tlmgr-arch.md b/pages.ta/common/tlmgr-arch.md new file mode 100644 index 00000000000000..acf4c339fb253d --- /dev/null +++ b/pages.ta/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> இக்கட்டளை `tlmgr platform` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr tlmgr platform` diff --git a/pages.ta/common/todo.md b/pages.ta/common/todo.md new file mode 100644 index 00000000000000..f6587d727fa68a --- /dev/null +++ b/pages.ta/common/todo.md @@ -0,0 +1,32 @@ +# todo + +> ஒரு எளிய, தரநிலை அடிப்படையிலான, cli todo மேலாளர். +> மேலும் விவரத்திற்கு: . + +- தொடங்கக்கூடிய பணிகளை பட்டியலிடுங்கள்: + +`todo list --startable` + +- பணி பட்டியலில் புதிய பணியைச் சேர்க்கவும்: + +`todo new {{செய்ய_வேண்டியவை}} --list {{வேலை}}` + +- கொடுக்கப்பட்ட ஐடியுடன் பணிக்கு இருப்பிடத்தைச் சேர்க்கவும்: + +`todo edit --location {{இருப்பிட_பெயர்}} {{பணி_ஐடி}}` + +- ஒரு பணியைப் பற்றிய விவரங்களைக் காட்டு: + +`todo show {{பணி_ஐடி}}` + +- குறிப்பிட்ட ஐடிகளுடன் பணிகளை முடித்ததாகக் குறிக்கவும்: + +`todo done {{பணி_ஐடி1 பணி_ஐடி2 ...}}` + +- ஒரு பணியை நீக்கு: + +`todo delete {{பணி_ஐடி}}` + +- செய்த பணிகளை நீக்கி, மீதமுள்ள பணிகளின் ஐடிகளை மீட்டமைக்கவும்: + +`todo flush` diff --git a/pages.ta/common/todoist.md b/pages.ta/common/todoist.md new file mode 100644 index 00000000000000..fa0b5a12b9c39a --- /dev/null +++ b/pages.ta/common/todoist.md @@ -0,0 +1,28 @@ +# todoist + +> கட்டளை வரியிலிருந்து Todoist ஐ அணுகவும். +> மேலும் விவரத்திற்கு: . + +- பணியைச் சேர்க்கவும்: + +`todoist add "{{பணி_பெயர்}}"` + +- லேபிள், திட்டம் மற்றும் நிலுவைத் தேதியுடன் அதிக முன்னுரிமை பணியைச் சேர்க்கவும்: + +`todoist add "{{பணி_பெயர்}}" --priority {{1}} --label-ids "{{லேபிள்_ஐடி}}" --project-name "{{திட்டத்தின்_பெயர்}}" --date "{{நாளை காலை 9 மணி}}"` + +- Aவிரைவு பயன்முறையில் லேபிள், திட்டப்பணி மற்றும் நிலுவைத் தேதியுடன் அதிக முன்னுரிமைப் பணியைச் சேர்க்கவும்: + +`todoist quick '#{{திட்டத்தின்_பெயர்}} "{{நாளை காலை 9 மணி}}" p{{1}} {{பணி_பெயர்}} @{{லேபிள்_பெயர்}}'` + +- தலைப்பு மற்றும் வண்ணத்துடன் அனைத்து பணிகளையும் பட்டியலிடுங்கள்: + +`todoist --header --color list` + +- அனைத்து உயர் முன்னுரிமைப் பணிகளையும் பட்டியலிடுங்கள்: + +`todoist list --filter p{{1}}` + +- குறிப்பிடப்பட்ட லேபிளைக் கொண்ட இன்றைய பணிகளை அதிக முன்னுரிமையுடன் பட்டியலிடுங்கள்: + +`todoist list --filter '(@{{லேபிள்_பெயர்}} | {{இன்று}}) & p{{1}}'` diff --git a/pages.ta/common/todoman.md b/pages.ta/common/todoman.md new file mode 100644 index 00000000000000..51de9d309b17bd --- /dev/null +++ b/pages.ta/common/todoman.md @@ -0,0 +1,9 @@ +# todoman + +> ஒரு எளிய, தரநிலை அடிப்படையிலான, cli todo மேலாளர். +> `todoman` என்பது `todo` கட்டளைக்கான பொதுவான பெயர், ஆனால் அது ஒரு கட்டளை அல்ல. +> மேலும் விவரத்திற்கு: . + +- உண்மையான கட்டளைக்கான ஆவணத்தைப் பார்க்கவும்: + +`tldr todo` diff --git a/pages.ta/common/transmission.md b/pages.ta/common/transmission.md new file mode 100644 index 00000000000000..1ed1cec5ed3059 --- /dev/null +++ b/pages.ta/common/transmission.md @@ -0,0 +1,29 @@ +# transmission + +> Transmission ஒரு எளிய டொரண்ட் (torrent) வாடிக்கையாளர். +> Transmission ஒரு கட்டளை அல்ல, ஆனால் கட்டளைகளின் தொகுப்பு. கீழே உள்ள பக்கங்களைப் பார்க்கவும். +> மேலும் விவரத்திற்கு: . + +- Transmission டீமானை இயக்குவதற்கு tldr பக்கத்தைக் காட்டு: + +`tldr transmission-daemon` + +- டெமானுடன் தொடர்புகொள்வதற்கு tldr பக்கத்தைக் காட்டு: + +`tldr transmission-remote` + +- டொரண்ட் கோப்புகளை உருவாக்க tldr பக்கத்தைக் காட்டு: + +`tldr transmission-create` + +- டொரண்ட் கோப்புகளை மாற்றுவதற்கு tldr பக்கத்தைக் காட்டு: + +`tldr transmission-edit` + +- டொரண்ட் கோப்புகளைப் பற்றிய தகவலைப் பெற tldr பக்கத்தைக் காட்டு: + +`tldr transmission-show` + +- டெமானுடன் தொடர்புகொள்வதற்கான தடுக்கப்பட்ட முறைக்கான tldr பக்கத்தைக் காட்டு: + +`tldr transmission-cli` diff --git a/pages.ta/common/uname.md b/pages.ta/common/uname.md new file mode 100644 index 00000000000000..945b713d634b4c --- /dev/null +++ b/pages.ta/common/uname.md @@ -0,0 +1,25 @@ +# uname + +> தற்போதைய இயந்திரம் மற்றும் அதில் இயங்கும் இயக்க முறைமை பற்றிய விவரங்களை அச்சிடவும். +> `lsb_release` ஐயும் பார்க்கவும். +> மேலும் விவரத்திற்கு: . + +- கர்னல் பெயரை அச்சிடவும்: + +`uname` + +- கணினி கட்டமைப்பு மற்றும் செயலி தகவலை அச்சிடவும்: + +`uname --machine --processor` + +- கர்னல் பெயர், கர்னல் வெளியீடு மற்றும் கர்னல் பதிப்பை அச்சிடவும்: + +`uname --kernel-name --kernel-release --kernel-version` + +- அச்சு அமைப்பு ஹோஸ்ட்பெயரை: + +`uname --nodename` + +- கிடைக்கக்கூடிய அனைத்து கணினி தகவல்களையும் அச்சிடவும்: + +`uname --all` diff --git a/pages.ta/common/unlzma.md b/pages.ta/common/unlzma.md new file mode 100644 index 00000000000000..518d94249d33f2 --- /dev/null +++ b/pages.ta/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> இக்கட்டளை `xz` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr xz` diff --git a/pages.ta/common/unxz.md b/pages.ta/common/unxz.md new file mode 100644 index 00000000000000..6797a9cf47fa80 --- /dev/null +++ b/pages.ta/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> இக்கட்டளை `xz` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr xz` diff --git a/pages.ta/common/vi.md b/pages.ta/common/vi.md new file mode 100644 index 00000000000000..6cab606afa1495 --- /dev/null +++ b/pages.ta/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> இக்கட்டளை `vim` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr vim` diff --git a/pages.ta/common/vt.md b/pages.ta/common/vt.md new file mode 100644 index 00000000000000..b0901fda6f0e10 --- /dev/null +++ b/pages.ta/common/vt.md @@ -0,0 +1,37 @@ +# vt + +> வைரஸ் டோட்டலுக்கான கட்டளை-வரி இடைமுகம். +> இந்த கட்டளைக்கு வைரஸ் டோட்டல் கணக்கிலிருந்து API விசை தேவை. +> மேலும் விவரத்திற்கு: . + +- வைரஸ்களுக்காக ஒரு குறிப்பிட்ட கோப்பை ஸ்கேன் செய்யவும்: + +`vt scan file {{கோப்பு/பாதை}}` + +- வைரஸ்களுக்காக முகவரி ஐ ஸ்கேன் செய்யவும்: + +`vt scan url {{முகவரி}}` + +- ஒரு குறிப்பிட்ட பகுப்பாய்விலிருந்து தகவலைக் காண்பி: + +`vt analysis {{கோப்பு_ஐடி|பகுப்பாய்வு_ஐடி}}` + +- என்க்ரிப்ட் செய்யப்பட்ட Zip வடிவத்தில் கோப்புகளைப் பதிவிறக்கவும் (பிரீமியம் கணக்கு தேவை): + +`vt download {{கோப்பு_ஐடி}} --output {{அடைவிற்குப்/பாதை}} --zip --zip-password {{கடவுச்சொல்}}` + +- ஊடாடும் வகையில் API விசையை உள்ளிட `vt` ஐத் துவக்கவும் அல்லது மீண்டும் தொடங்கவும்: + +`vt init` + +- ஒரு டொமைன் பற்றிய தகவலைக் காட்டு: + +`vt domain {{முகவரி}}` + +- குறிப்பிட்ட முகவரிக்கான தகவலைக் காட்டு: + +`vt url {{முகவரி}}` + +- குறிப்பிட்ட IP(ஐபி) முகவரிக்கான தகவலைக் காண்பி: + +`vt domain {{ஐபி_முகவரி}}` diff --git a/pages.ta/common/xzcat.md b/pages.ta/common/xzcat.md new file mode 100644 index 00000000000000..50858ddb1eef6a --- /dev/null +++ b/pages.ta/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> இக்கட்டளை `xz` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr xz` diff --git a/pages.ta/linux/alien.md b/pages.ta/linux/alien.md new file mode 100644 index 00000000000000..a7231773a2d566 --- /dev/null +++ b/pages.ta/linux/alien.md @@ -0,0 +1,20 @@ +# alien + +> வெவ்வேறு நிறுவல் தொகுப்புகளை மற்ற வடிவங்களுக்கு மாற்றவும். +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட நிறுவல் கோப்பை டெபியன் வடிவத்திற்கு மாற்றவும் (`.deb` நீட்டிப்பு): + +`sudo alien --to-deb {{கோப்பு/பாதை}}` + +- குறிப்பிட்ட நிறுவல் கோப்பை Red Hat வடிவத்திற்கு மாற்றவும் (`.rpm` நீட்டிப்பு): + +`sudo alien --to-rpm {{கோப்பு/பாதை}}` + +- ஒரு குறிப்பிட்ட நிறுவல் கோப்பை ஸ்லாக்வேர் நிறுவல் கோப்பாக மாற்றவும் (`.tgz` நீட்டிப்பு): + +`sudo alien --to-tgz {{கோப்பு/பாதை}}` + +- ஒரு குறிப்பிட்ட நிறுவல் கோப்பை டெபியன் வடிவத்திற்கு மாற்றி கணினியில் நிறுவவும்: + +`sudo alien --to-deb --install {{கோப்பு/பாதை}}` diff --git a/pages.ta/linux/alternatives.md b/pages.ta/linux/alternatives.md new file mode 100644 index 00000000000000..47cab18e3ea60a --- /dev/null +++ b/pages.ta/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> இக்கட்டளை `update-alternatives` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr update-alternatives` diff --git a/pages.ta/linux/anbox.md b/pages.ta/linux/anbox.md new file mode 100644 index 00000000000000..7eb0b04fb7b4b1 --- /dev/null +++ b/pages.ta/linux/anbox.md @@ -0,0 +1,8 @@ +# anbox + +> எந்த GNU/லினக்ஸ் ஆப்பரேட்டிங் சிஸ்டத்திலும் ஆண்ட்ராய்ட் அப்ளிகேஷன்களை இயக்கும். +> மேலும் விவரத்திற்கு: . + +- பயன்பாட்டு மேலாளரில் அன்பாக்ஸ் ஐத் தொடங்கவும்: + +`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}` diff --git a/pages.ta/linux/apk.md b/pages.ta/linux/apk.md new file mode 100644 index 00000000000000..c29c18b0cae4f4 --- /dev/null +++ b/pages.ta/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> ஆல்பைன் லினக்ஸ் தொகுப்பு மேலாண்மை கருவி. +> மேலும் விவரத்திற்கு: . + +- அனைத்து தொலை களஞ்சியங்களிலிருந்தும் களஞ்சியக் குறியீடுகளைப் புதுப்பிக்கவும்: + +`apk update` + +- புதிய தொகுப்பை நிறுவவும்: + +`apk add {{நிரல்தொகுப்பு}}` + +- ஒரு தொகுப்பை அகற்று: + +`apk del {{நிரல்தொகுப்பு}}` + +- முக்கிய சார்புகளை மாற்றாமல் தொகுப்பை பழுதுபார்க்கவும் அல்லது மேம்படுத்தவும்: + +`apk fix {{நிரல்தொகுப்பு}}` + +- முக்கிய வார்த்தை மூலம் தொகுப்பைத் தேடுங்கள்: + +`apk search {{முக்கிய_வார்த்தை}}` + +- ஒரு குறிப்பிட்ட தொகுப்பு பற்றிய தகவலைப் பெறவும்: + +`apk info {{நிரல்தொகுப்பு}}` diff --git a/pages.ta/linux/apt.md b/pages.ta/linux/apt.md new file mode 100644 index 00000000000000..56a2539e7f451c --- /dev/null +++ b/pages.ta/linux/apt.md @@ -0,0 +1,37 @@ +# apt + +> டெபியன் அடிப்படையிலான விநியோகங்களுக்கான தொகுப்பு மேலாண்மை பயன்பாடு. +> உபுண்டு பதிப்பு 16.04 மற்றும் அதற்குப் பிந்தைய பதிப்புகளில் ஊடாடும் வகையில் பயன்படுத்தப்படும் போது `apt-get` க்கு மாற்றாக பரிந்துரைக்கப்படுகிறது. +> மேலும் விவரத்திற்கு: . + +- கிடைக்கக்கூடிய தொகுப்புகள் மற்றும் பதிப்புகளின் பட்டியலைப் புதுப்பிக்கவும் (மற்ற `apt` கட்டளைகளுக்கு முன் இதை இயக்க பரிந்துரைக்கப்படுகிறது): + +`sudo apt update` + +- கொடுக்கப்பட்ட தொகுப்பைத் தேடுங்கள்: + +`apt search {{நிரல்தொகுப்பு}}` + +- தொகுப்பிற்கான தகவலைக் காட்டு: + +`apt show {{நிரல்தொகுப்பு}}` + +- தொகுப்பை நிறுவவும் அல்லது கிடைக்கும் சமீபத்திய பதிப்பிற்கு புதுப்பிக்கவும்: + +`sudo apt install {{நிரல்தொகுப்பு}}` + +- ஒரு தொகுப்பை அகற்று ('purge' ஐப் பயன்படுத்தி அதன் உள்ளமைவு கோப்புகளையும் நீக்குகிறது): + +`sudo apt remove {{நிரல்தொகுப்பு}}` + +- நிறுவப்பட்ட அனைத்து தொகுப்புகளையும் அவற்றின் புதிய கிடைக்கக்கூடிய பதிப்புகளுக்கு மேம்படுத்தவும்: + +`sudo apt upgrade` + +- அனைத்து தொகுப்புகளையும் பட்டியலிடுங்கள்: + +`apt list` + +- நிறுவப்பட்ட தொகுப்புகளை பட்டியலிடுங்கள்: + +`apt list {{[-i|--installed]}}` diff --git a/pages.ta/linux/aptitude.md b/pages.ta/linux/aptitude.md new file mode 100644 index 00000000000000..91c758949c1d09 --- /dev/null +++ b/pages.ta/linux/aptitude.md @@ -0,0 +1,36 @@ +# aptitude + +> டெபியன் மற்றும் உபுண்டு தொகுப்பு மேலாண்மை பயன்பாடு. +> மேலும் விவரத்திற்கு: . + +- கிடைக்கும் தொகுப்புகள் மற்றும் பதிப்புகளின் பட்டியலை ஒத்திசைக்கவும். அடுத்தடுத்த `aptitude` கட்டளைகளை இயக்கும் முன், இதை முதலில் இயக்க வேண்டும்: + +`aptitude update` + +- புதிய தொகுப்பு மற்றும் அதன் சார்புகளை நிறுவவும்: + +`aptitude install {{நிரல்தொகுப்பு}}` + +- தொகுப்பைத் தேடுங்கள்: + +`aptitude search {{நிரல்தொகுப்பு}}` + +- நிறுவப்பட்ட தொகுப்பைத் தேடவும் (`?installed` தகுதி தேடல் சொல்: + +`aptitude search '?installed({{நிரல்தொகுப்பு}})'` + +- ஒரு நிரல்தொகுப்பு மற்றும் அதை சார்ந்த அனைத்து தொகுப்புகளையும் அகற்றவும்: + +`aptitude remove {{நிரல்தொகுப்பு}}` + +- நிறுவப்பட்ட தொகுப்புகளை புதிய கிடைக்கக்கூடிய பதிப்புகளுக்கு மேம்படுத்தவும்: + +`aptitude upgrade` + +- நிறுவப்பட்ட தொகுப்புகளை மேம்படுத்தவும் (போன்ற `aptitude upgrade`) வழக்கற்றுப் போன தொகுப்புகளை அகற்றுதல் மற்றும் புதிய நிரல்தொகுப்பு சார்புகளை சந்திக்க கூடுதல் தொகுப்புகளை நிறுவுதல் உட்பட: + +`aptitude full-upgrade` + +- தானாக மேம்படுத்தப்படுவதைத் தடுக்க, நிறுவப்பட்ட தொகுப்பை நிறுத்தி வைக்கவும்: + +`aptitude hold '?installed({{நிரல்தொகுப்பு}})'` diff --git a/pages.ta/linux/apx.md b/pages.ta/linux/apx.md new file mode 100644 index 00000000000000..599c59c03e9390 --- /dev/null +++ b/pages.ta/linux/apx.md @@ -0,0 +1,16 @@ +# apx + +> பல மூலங்களுக்கான ஆதரவுடன் தொகுப்பு மேலாண்மை பயன்பாடு, துணை அமைப்புகளில் தொகுப்புகளை நிறுவ உங்களை அனுமதிக்கிறது. +> மேலும் விவரத்திற்கு: . + +- தொகுப்பு மேலாளர்களை நிர்வகிப்பதற்கான ஆவணங்களைக் காண்க: + +`tldr apx pkgmanagers` + +- அடுக்குகளை நிர்வகிப்பதற்கான ஆவணங்களைக் காண்க: + +`tldr apx stacks` + +- துணை அமைப்புகளை நிர்வகிப்பதற்கான ஆவணங்களைக் காண்க: + +`tldr apx subsystems` diff --git a/pages.ta/linux/archinstall.md b/pages.ta/linux/archinstall.md new file mode 100644 index 00000000000000..7aa4f62fde5254 --- /dev/null +++ b/pages.ta/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> ஒரு திருப்பத்துடன் வழிகாட்டப்பட்ட ஆர்ச் லினக்ஸ் நிறுவி. +> மேலும் விவரத்திற்கு: . + +- ஊடாடும் நிறுவியைத் தொடங்கவும்: + +`archinstall` + +- முன்னமைக்கப்பட்ட நிறுவியைத் தொடங்கவும்: + +`archinstall {{minimal|unattended}}` diff --git a/pages.ta/linux/ascii.md b/pages.ta/linux/ascii.md new file mode 100644 index 00000000000000..8853fb7de1961d --- /dev/null +++ b/pages.ta/linux/ascii.md @@ -0,0 +1,36 @@ +# ascii + +> ASCII எழுத்து மாற்றுப்பெயர்களைக் காட்டு. +> மேலும் விவரத்திற்கு: . + +- ஒரு எழுத்தின் ASCII மாற்றுப்பெயர்களைக் காட்டு: + +`ascii {{a}}` + +- சுருக்கமான, ஸ்கிரிப்ட்-நட்பு முறையில் ASCII மாற்றுப்பெயர்களைக் காட்டு: + +`ascii -t {{a}}` + +- பல எழுத்துக்களின் ASCII மாற்றுப்பெயர்களைக் காட்டு: + +`ascii -s {{tldr}}` + +- ASCII அட்டவணையை தசமத்தில் காட்டு: + +`ascii -d` + +- ASCII அட்டவணையை ஹெக்ஸாடெசிமலில் காட்டு: + +`ascii -x` + +- ASCII அட்டவணையை ஆக்டலில் காட்டு: + +`ascii -o` + +- ASCII அட்டவணையை பைனரியில் காட்டு: + +`ascii -b` + +- விருப்பங்களின் சுருக்கம் மற்றும் முழுமையான ASCII அட்டவணையைக் காட்டு: + +`ascii` diff --git a/pages.ta/linux/asciiart.md b/pages.ta/linux/asciiart.md new file mode 100644 index 00000000000000..5d227ad943555f --- /dev/null +++ b/pages.ta/linux/asciiart.md @@ -0,0 +1,28 @@ +# asciiart + +> படங்களை ASCII ஆக மாற்றவும். +> மேலும் விவரத்திற்கு: . + +- ஒரு கோப்பிலிருந்து ஒரு படத்தைப் படித்து ASCII இல் அச்சிடவும்: + +`asciiart {{படம்.jpg/பாதை}}` + +- URL இலிருந்து ஒரு படத்தைப் படித்து, ASCII இல் அச்சிடவும்: + +`asciiart {{www.example.com/image.jpg}}` + +- வெளியீட்டு அகலத்தைத் தேர்வு செய்யவும் (இயல்புநிலை 100): + +`asciiart --width {{50}} {{படம்.jpg/பாதை}}` + +- ASCII வெளியீட்டை வண்ணமயமாக்கவும்: + +`asciiart --color {{படம்.jpg/பாதை}}` + +- வெளியீட்டு வடிவமைப்பைத் தேர்வு செய்யவும் (இயல்புநிலை வடிவம் உரை): + +`asciiart --format {{text|html}} {{படம்.jpg/பாதை}}` + +- எழுத்து வரைபடத்தைத் தலைகீழாக மாற்றவும்: + +`asciiart --invert-chars {{படம்.jpg/பாதை}}` diff --git a/pages.ta/linux/batcat.md b/pages.ta/linux/batcat.md new file mode 100644 index 00000000000000..f1246e3dfecc50 --- /dev/null +++ b/pages.ta/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> இக்கட்டளை `bat` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr bat` diff --git a/pages.ta/linux/bspwm.md b/pages.ta/linux/bspwm.md new file mode 100644 index 00000000000000..6d6948a9ccf2e5 --- /dev/null +++ b/pages.ta/linux/bspwm.md @@ -0,0 +1,9 @@ +# bspwm + +> பைனரி ஸ்பேஸ் பார்டிஷனிங் அடிப்படையிலான டைலிங் சாளர மேலாளர். +> இக்கட்டளை `bspc` கட்டளையின் மற்றொருப் பெயர். +> மேலும் விவரத்திற்கு: . + +- `bspwm` ஐத் தொடங்கவும் (இந்த கட்டளையை இயக்கும் போது ஏற்கனவே இருக்கும் சாளர மேலாளர் திறக்கப்படக்கூடாது என்பதை நினைவில் கொள்ளவும்): + +`bspwm -c {{கட்டமைப்பு/பாதை}}` diff --git a/pages.ta/linux/cal.md b/pages.ta/linux/cal.md new file mode 100644 index 00000000000000..59554d6b35293a --- /dev/null +++ b/pages.ta/linux/cal.md @@ -0,0 +1,24 @@ +# cal + +> தற்போதைய நாள் தனிப்படுத்தப்பட்ட காலண்டர் தகவலை அச்சிடுகிறது. +> மேலும் விவரத்திற்கு: . + +- நடப்பு மாதத்திற்கான காலெண்டரைக் காட்டு: + +`cal` + +- முந்தைய, தற்போதைய மற்றும் அடுத்த மாதத்தைக் காட்டவும்: + +`cal {{[-3|--three]}}` + +- வாரத்தின் முதல் நாளாக திங்கட்கிழமை பயன்படுத்தவும்: + +`cal {{[-m|--monday]}}` + +- ஒரு குறிப்பிட்ட ஆண்டிற்கான காலெண்டரைக் காண்பி (4 இலக்கங்கள்): + +`cal {{ஆண்டு}}` + +- ஒரு குறிப்பிட்ட மாதம் மற்றும் ஆண்டுக்கான காலெண்டரைக் காட்டு: + +`cal {{மாதம்}} {{ஆண்டு}}` diff --git a/pages.ta/linux/cc.md b/pages.ta/linux/cc.md new file mode 100644 index 00000000000000..9844871c731a4e --- /dev/null +++ b/pages.ta/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> இக்கட்டளை `gcc` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr gcc` diff --git a/pages.ta/linux/cgroups.md b/pages.ta/linux/cgroups.md new file mode 100644 index 00000000000000..63fab4d155e711 --- /dev/null +++ b/pages.ta/linux/cgroups.md @@ -0,0 +1,17 @@ +# cgroups + +> Cgroups எனப்படும் கட்டுப்பாட்டு குழுக்கள், செயல்முறைகள் மூலம் வள பயன்பாட்டை கட்டுப்படுத்துதல், அளவிடுதல் மற்றும் கட்டுப்படுத்துவதற்கான லினக்ஸ் கர்னல் (Linux kernel) அம்சமாகும். +> Cgroups எனினும் ஒரு கட்டளை அல்ல, மாறாக கட்டளைகளின் தொகுப்பு, கீழே உள்ள தொடர்புடைய பக்கங்களைப் பார்க்கவும். +> மேலும் விவரத்திற்கு: . + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr cgclassify` + +- `cgcreate` க்கான tldr பக்கத்தைக் காட்டு: + +`tldr cgcreate` + +- `cgexec` க்கான tldr பக்கத்தைக் காட்டு: + +`tldr cgexec` diff --git a/pages.ta/linux/df.md b/pages.ta/linux/df.md new file mode 100644 index 00000000000000..7f46a3951a985e --- /dev/null +++ b/pages.ta/linux/df.md @@ -0,0 +1,24 @@ +# df + +> கோப்பு முறைமை வட்டு இட உபயோகத்தின் மேலோட்டத்தை அளிக்கிறது. +> மேலும் விவரத்திற்கு: . + +- அனைத்து கோப்பு முறைமைகளையும் அவற்றின் வட்டு பயன்பாட்டையும் காண்பி: + +`df` + +- அனைத்து கோப்பு முறைமைகளையும் அவற்றின் வட்டு பயன்பாட்டையும் மனிதர்கள் படிக்கக்கூடிய வடிவத்தில் காண்பி: + +`df -h` + +- கொடுக்கப்பட்ட கோப்பு அல்லது கோப்பகத்தைக் கொண்ட கோப்பு முறைமை மற்றும் அதன் வட்டு பயன்பாட்டைக் காண்பி: + +`df {{கோப்பு_அல்லது_அடைவு/பாதை}}` + +- இலவச ஐனோட்களின் எண்ணிக்கையில் புள்ளிவிவரங்களைக் காண்பி: + +`df -i` + +- கோப்பு முறைமைகளைக் காண்பி ஆனால் குறிப்பிட்ட வகைகளை விலக்கவும்: + +`df -x {{squashfs}} -x {{tmpfs}}` diff --git a/pages.ta/linux/distrobox-create.md b/pages.ta/linux/distrobox-create.md new file mode 100644 index 00000000000000..0455a887efbb45 --- /dev/null +++ b/pages.ta/linux/distrobox-create.md @@ -0,0 +1,13 @@ +# distrobox-create + +> உள்ளீட்டு பெயர் மற்றும் படத்துடன் டிஸ்ட்ரோபாக்ஸ் கொள்கலன்களை உருவாக்கவும். +> உருவாக்கப்பட்ட கொள்கலன் ஹோஸ்டுடன் இறுக்கமாக ஒருங்கிணைக்கப்படும், இது பயனரின் வீட்டு அடைவு, வெளிப்புற சேமிப்பு, வெளிப்புற USB சாதனங்கள், வரைகலை பயன்பாடுகள் (X11/Wayland) மற்றும் ஒலியைப் பகிர அனுமதிக்கிறது. +> மேலும் விவரத்திற்கு: . + +- உபுண்டு படத்தைப் பயன்படுத்தி டிஸ்ட்ரோபாக்ஸ் கொள்கலனை உருவாக்கவும்: + +`distrobox-create {{கொள்கலன்_பெயர்}} --image {{ubuntu:latest}}` + +- ஒரு டிஸ்ட்ரோபாக்ஸ் கொள்கலனை நகல் செய்யுங்கள்: + +`distrobox-create --clone {{கொள்கலன்_பெயர்}} {{நகல்_செய்யப்பட்ட_கொள்கலன்_பெயர்}}` diff --git a/pages.ta/linux/distrobox-enter.md b/pages.ta/linux/distrobox-enter.md new file mode 100644 index 00000000000000..4f8b0b7152b777 --- /dev/null +++ b/pages.ta/linux/distrobox-enter.md @@ -0,0 +1,17 @@ +# distrobox-enter + +> டிஸ்ட்ரோபாக்ஸ் கொள்கலனை உள்ளிடவும். மேலும் காண்க: `tldr distrobox`. +> இயக்கப்படும் இயல்புநிலை கட்டளை உங்கள் SHELL, நீங்கள் இயக்குவதற்கு வெவ்வேறு ஓடுகள் அல்லது முழு கட்டளைகளையும் குறிப்பிடலாம். ஸ்கிரிப்ட், பயன்பாடு அல்லது சேவையில் பயன்படுத்தினால், `--headless' பயன்முறையைப் பயன்படுத்தி tty மற்றும் ஊடாடும் தன்மையை முடக்கலாம். +> மேலும் விவரத்திற்கு: . + +- டிஸ்ட்ரோபாக்ஸ் கொள்கலனை உள்ளிடவும்: + +`distrobox-enter {{கொள்கலன்_பெயர்}}` + +- டிஸ்ட்ரோபாக்ஸ் கொள்கலனை உள்ளிட்டு, உள்நுழையும்போது கட்டளையை இயக்கவும்: + +`distrobox-enter {{கொள்கலன்_பெயர்}} -- {{sh -l}}` + +- ஒரு tty ஐ உடனுக்குடன் இல்லாமல் ஒரு டிஸ்ட்ரோபாக்ஸ் கொள்கலனை உள்ளிடவும்: + +`distrobox-enter --name {{கொள்கலன்_பெயர்}} -- {{uptime -p}}` diff --git a/pages.ta/linux/distrobox-list.md b/pages.ta/linux/distrobox-list.md new file mode 100644 index 00000000000000..0c58f1e6371317 --- /dev/null +++ b/pages.ta/linux/distrobox-list.md @@ -0,0 +1,13 @@ +# distrobox-list + +> அனைத்து டிஸ்ட்ரோபாக்ஸ் கொள்கலன்களையும் பட்டியலிடுங்கள். மேலும் பார்க்கவும்: `tldr distrobox`. +> டிஸ்ட்ரோபாக்ஸ் கொள்கலன்கள் மற்ற சாதாரண பாட்மேன் அல்லது டோக்கர் கொள்கலன்களிலிருந்து தனித்தனியாக பட்டியலிடப்பட்டுள்ளன. +> மேலும் விவரத்திற்கு: . + +- அனைத்து டிஸ்ட்ரோபாக்ஸ் கொள்கலன்களையும் பட்டியலிடுங்கள்: + +`distrobox-list` + +- அனைத்து டிஸ்ட்ரோபாக்ஸ் கொள்கலன்களையும் வர்போஸ் தகவலுடன் பட்டியலிடுங்கள்: + +`distrobox-list --verbose` diff --git a/pages.ta/linux/distrobox-rm.md b/pages.ta/linux/distrobox-rm.md new file mode 100644 index 00000000000000..44167c61d68baf --- /dev/null +++ b/pages.ta/linux/distrobox-rm.md @@ -0,0 +1,13 @@ +# distrobox-rm + +> டிஸ்ட்ரோபாக்ஸ் கொள்கலன்களை நீக்கு. +> `distrobox`ன் துணைக் கட்டளை. மேலும் பார்க்கவும்: `tldr distrobox`. +> மேலும் விவரத்திற்கு: . + +- டிஸ்ட்ரோபாக்ஸ் கொள்கலனை அகற்று (உதவிக்குறிப்பு: கொள்கலனை அகற்றும் முன் அதை நிறுத்தவும்): + +`distrobox-rm {{கொள்கலன்_பெயர்}}` + +- ஒரு டிஸ்ட்ரோபாக்ஸ் கொள்கலனை வலுக்கட்டாயமாக அகற்றவும்: + +`distrobox-rm {{கொள்கலன்_பெயர்}} --force` diff --git a/pages.ta/linux/dnf.md b/pages.ta/linux/dnf.md new file mode 100644 index 00000000000000..8bfa986c7ee28a --- /dev/null +++ b/pages.ta/linux/dnf.md @@ -0,0 +1,36 @@ +# dnf + +> RHEL, Fedora மற்றும் CentOS க்கான தொகுப்பு மேலாண்மை பயன்பாடு (yum ஐ மாற்றுகிறது). +> மேலும் விவரத்திற்கு: . + +- நிறுவப்பட்ட தொகுப்புகளை புதிய கிடைக்கக்கூடிய பதிப்புகளுக்கு மேம்படுத்தவும்: + +`sudo dnf upgrade` + +- முக்கிய வார்த்தைகள் மூலம் தொகுப்புகளைத் தேடுங்கள்: + +`dnf search {{முக்கிய வார்த்தைகள்}}` + +- தொகுப்பு பற்றிய விவரங்களைக் காண்பி: + +`dnf info {{நிரல்தொகுப்பு}}` + +- புதிய தொகுப்பை நிறுவவும் (அனைத்து அறிவுறுத்தல்களையும் தானாக உறுதிப்படுத்த `-y` ஐப் பயன்படுத்தவும்): + +`sudo dnf install {{நிரல்தொகுப்பு}}` + +- ஒரு தொகுப்பை அகற்று: + +`sudo dnf remove {{நிரல்தொகுப்பு}}` + +- நிறுவப்பட்ட தொகுப்புகளை பட்டியலிடுங்கள்: + +`dnf list --installed` + +- கொடுக்கப்பட்ட கோப்பை எந்த தொகுப்புகள் வழங்குகின்றன என்பதைக் கண்டறியவும்: + +`dnf provides {{கோப்பு}}` + +- அனைத்து கடந்த செயல்பாடுகளையும் காண்க: + +`dnf history` diff --git a/pages.ta/linux/fdisk.md b/pages.ta/linux/fdisk.md new file mode 100644 index 00000000000000..f3eaccbd90fee5 --- /dev/null +++ b/pages.ta/linux/fdisk.md @@ -0,0 +1,37 @@ +# fdisk + +> பகிர்வு அட்டவணைகள் மற்றும் பகிர்வுகளை ஹார்ட் டிஸ்கில் நிர்வகிப்பதற்கான ஒரு நிரல். +> மேலும் பார்க்கவும்: `partprobe`. +> மேலும் விவரத்திற்கு: . + +- பகிர்வுகளின் பட்டியல்: + +`sudo fdisk -l` + +- பகிர்வு கையாளுதலைத் தொடங்கவும்: + +`sudo fdisk {{/dev/sdX}}` + +- ஒரு வட்டை பகிர்ந்தவுடன், ஒரு பகிர்வை உருவாக்கவும்: + +`` + +- ஒரு வட்டை பகிர்ந்தவுடன், நீக்க ஒரு பகிர்வை தேர்ந்தெடுக்கவும்: + +`` + +- ஒரு வட்டை பகிர்ந்தவுடன், பகிர்வு அட்டவணையைப் பார்க்கவும்: + +`

` + +- ஒரு வட்டை பகிர்ந்தவுடன், செய்யப்பட்ட மாற்றங்களை எழுதவும்: + +`` + +- ஒரு வட்டை பகிர்ந்தவுடன், செய்யப்பட்ட மாற்றங்களை நிராகரிக்கவும்: + +`` + +- ஒரு வட்டை பகிர்ந்தவுடன், உதவி பட்டியலைத் திறக்கவும்: + +`` diff --git a/pages.ta/linux/flatpak.md b/pages.ta/linux/flatpak.md new file mode 100644 index 00000000000000..bc5bf22266091f --- /dev/null +++ b/pages.ta/linux/flatpak.md @@ -0,0 +1,36 @@ +# flatpak + +> பிளாட்பேக் பயன்பாடுகள் மற்றும் இயக்க நேரங்களை உருவாக்கவும், நிறுவவும் மற்றும் இயக்கவும். +> மேலும் விவரத்திற்கு: . + +- நிறுவப்பட்ட பயன்பாட்டை இயக்கவும்: + +`flatpak run {{பெயர்}}` + +- தொலைநிலை மூலத்திலிருந்து பயன்பாட்டை நிறுவவும்: + +`flatpak install {{ரிமோட்}} {{பெயர்}}` + +- நிறுவப்பட்ட அனைத்து பயன்பாடுகளையும் இயக்க நேரங்களையும் பட்டியலிடுங்கள்: + +`flatpak list` + +- நிறுவப்பட்ட அனைத்து பயன்பாடுகளையும் இயக்க நேரங்களையும் புதுப்பிக்கவும்: + +`flatpak update` + +- தொலைநிலை மூலத்தைச் சேர்க்கவும்: + +`flatpak remote-add --if-not-exists {{ரிமோட்_பெயர்}} {{ரிமோட்_முகவரி}}` + +- நிறுவப்பட்ட பயன்பாட்டை அகற்றவும்: + +`flatpak remove {{பெயர்}}` + +- பயன்படுத்தப்படாத அனைத்து பயன்பாடுகளையும் அகற்றவும்: + +`flatpak remove --unused` + +- நிறுவப்பட்ட பயன்பாட்டைப் பற்றிய தகவலைக் காட்டு: + +`flatpak info {{பெயர்}}` diff --git a/pages.ta/linux/fwupdmgr.md b/pages.ta/linux/fwupdmgr.md new file mode 100644 index 00000000000000..0298ea86392bc1 --- /dev/null +++ b/pages.ta/linux/fwupdmgr.md @@ -0,0 +1,20 @@ +# fwupdmgr + +> `fwupd` ஐப் பயன்படுத்தி UEFI உட்பட சாதன நிலைபொருளைப் புதுப்பிப்பதற்கான ஒரு கருவி. +> மேலும் விவரத்திற்கு: . + +- fwupd மூலம் கண்டறியப்பட்ட அனைத்து சாதனங்களையும் காண்பி: + +`fwupdmgr get-devices` + +- LVFS இலிருந்து சமீபத்திய ஃபார்ம்வேர் மெட்டாடேட்டாவைப் பதிவிறக்கவும்: + +`fwupdmgr refresh` + +- உங்கள் கணினியில் உள்ள சாதனங்களுக்கு கிடைக்கும் புதுப்பிப்புகளை பட்டியலிடுங்கள்: + +`fwupdmgr get-updates` + +- ஃபார்ம்வேர் புதுப்பிப்புகளை நிறுவவும்: + +`fwupdmgr update` diff --git a/pages.ta/linux/gedit.md b/pages.ta/linux/gedit.md new file mode 100644 index 00000000000000..37af6a3347fb59 --- /dev/null +++ b/pages.ta/linux/gedit.md @@ -0,0 +1,20 @@ +# gedit + +> க்னோம் டெஸ்க்டாப் திட்டத்தின் உரை திருத்தி. +> மேலும் விவரத்திற்கு: . + +- உரைக் கோப்பைத் திறக்கவும்: + +`gedit {{கோப்பு/பாதை}}` + +- பல உரை கோப்புகளைத் திறக்கவும்: + +`gedit {{கோப்பு1 கோப்பு2...}}` + +- ஒரு குறிப்பிட்ட குறியாக்கத்துடன் உரைக் கோப்பைத் திறக்கவும்: + +`gedit --encoding {{UTF-8}} {{கோப்பு/பாதை}}` + +- ஆதரிக்கப்படும் குறியாக்கங்களின் பட்டியலைக் காண்பிக்கவும்: + +`gedit --list-encodings` diff --git a/pages.ta/linux/gnome-calculator.md b/pages.ta/linux/gnome-calculator.md new file mode 100644 index 00000000000000..70ae47c9e1cda0 --- /dev/null +++ b/pages.ta/linux/gnome-calculator.md @@ -0,0 +1,16 @@ +# gnome-calculator + +> GNOME டெஸ்க்டாப் சூழலுக்கான அதிகாரப்பூர்வ கால்குலேட்டர். +> மேலும் விவரத்திற்கு: . + +- GNOME கால்குலேட்டர் GUI ஐ துவக்கவும்: + +`gnome-calculator` + +- டெஸ்க்டாப் பயன்பாட்டைத் தொடங்காமல் கட்டளை வரியில் குறிப்பிடப்பட்ட சமன்பாட்டைத் தீர்க்கவும்: + +`gnome-calculator --solve {{2^5 * 2 + 5}}` + +- பதிப்பைக் காட்டு: + +`gnome-calculator --version` diff --git a/pages.ta/linux/gnome-extensions.md b/pages.ta/linux/gnome-extensions.md new file mode 100644 index 00000000000000..1cfb5b746ff6d0 --- /dev/null +++ b/pages.ta/linux/gnome-extensions.md @@ -0,0 +1,32 @@ +# gnome-extensions + +> டெர்மினலில் இருந்து க்னோம் நீட்டிப்புகளை நிர்வகிக்கவும். +> மேலும் விவரத்திற்கு: . + +- நிறுவப்பட்ட அனைத்து நீட்டிப்புகளையும் பட்டியலிடுங்கள்: + +`gnome-extensions list` + +- ஒரு குறிப்பிட்ட நீட்டிப்பு பற்றிய தகவலைக் காட்டு: + +`gnome-extensions info "{{நீட்டிப்பு_ஐடி}}"` + +- ஒரு குறிப்பிட்ட நீட்டிப்பை இயக்கு: + +`gnome-extensions enable "{{நீட்டிப்பு_ஐடி}}"` + +- ஒரு குறிப்பிட்ட நீட்டிப்பை முடக்கு: + +`gnome-extension disable "{{நீட்டிப்பு_ஐடி}}"` + +- ஒரு குறிப்பிட்ட நீட்டிப்பை நிறுவல் நீக்கு: + +`gnome-extension uninstall "{{நீட்டிப்பு_ஐடி}}"` + +- துணைக் கட்டளைக்கான உதவியைக் காண்பி (`list` போன்றவை): + +`gnome-extensions help {{துணை_கட்டளை}}` + +- பதிப்பைக் காட்டு: + +`gnome-extensions version` diff --git a/pages.ta/linux/gnome-screenshot.md b/pages.ta/linux/gnome-screenshot.md new file mode 100644 index 00000000000000..36e97a9332fb49 --- /dev/null +++ b/pages.ta/linux/gnome-screenshot.md @@ -0,0 +1,36 @@ +# gnome-screenshot + +> திரை, சாளரம் அல்லது பயனர் வரையறுக்கப்பட்ட பகுதியைப் படம்பிடித்து, படத்தை ஒரு கோப்பில் சேமிக்கவும். +> மேலும் விவரத்திற்கு: . + +- ஒரு ஸ்கிரீன் ஷாட்டை எடுத்து இயல்புநிலை இடத்தில் சேமிக்கவும், பொதுவாக `~/Pictures`(படங்கள்): + +`gnome-screenshot` + +- ஒரு ஸ்கிரீன்ஷாட்டை எடுத்து, பெயரிடப்பட்ட கோப்பு இடத்தில் சேமிக்கவும்: + +`gnome-screenshot --file {{கோப்பு/பாதை}}` + +- ஒரு ஸ்கிரீன்ஷாட்டை எடுத்து கிளிப்போர்டில் சேமிக்கவும்: + +`gnome-screenshot --clipboard` + +- குறிப்பிட்ட எண்ணிக்கையிலான வினாடிகளுக்குப் பிறகு ஸ்கிரீன்ஷாட்டை எடுக்கவும்: + +`gnome-screenshot --delay {{5}}` + +- க்னோம் ஸ்கிரீன்ஷாட் GUI ஐ துவக்கவும்: + +`gnome-screenshot --interactive` + +- தற்போதைய சாளரத்தின் ஸ்கிரீன்ஷாட்டை எடுத்து குறிப்பிட்ட கோப்பு இடத்தில் சேமிக்கவும்: + +`gnome-screenshot --window --file {{கோப்பு/பாதை}}` + +- குறிப்பிட்ட வினாடிகளுக்குப் பிறகு ஸ்கிரீன் ஷாட்டை எடுத்து கிளிப்போர்டில் சேமிக்கவும்: + +`gnome-screenshot --delay {{10}} --clipboard` + +- பதிப்பைக் காட்டு: + +`gnome-screenshot --version` diff --git a/pages.ta/linux/gnome-software.md b/pages.ta/linux/gnome-software.md new file mode 100644 index 00000000000000..eee5bf71dcc073 --- /dev/null +++ b/pages.ta/linux/gnome-software.md @@ -0,0 +1,20 @@ +# gnome-software + +> பயன்பாடுகளைச் சேர்க்கவும் அகற்றவும் மற்றும் உங்கள் கணினியைப் புதுப்பிக்கவும். +> மேலும் விவரத்திற்கு: . + +- GNOME மென்பொருள் GUI ஏற்கனவே இயங்கவில்லை என்றால் அதைத் தொடங்கவும்: + +`gnome-software` + +- GNOME மென்பொருள் GUI திறக்கப்படாவிட்டால் அதைத் துவக்கவும், மேலும் குறிப்பிட்ட பக்கத்திற்கு செல்லவும்: + +`gnome-software --mode {{updates|updated|installed|overview}}` + +- GNOME மென்பொருள் GUI திறக்கப்படாவிட்டால், அதைத் துவக்கி, குறிப்பிட்ட தொகுப்பைப் பார்க்கவும்: + +`gnome-software --details {{தொகுப்பு_பெயர்}}` + +- பதிப்பைக் காட்டு: + +`gnome-software --version` diff --git a/pages.ta/linux/ip-route-list.md b/pages.ta/linux/ip-route-list.md new file mode 100644 index 00000000000000..e2587888bef084 --- /dev/null +++ b/pages.ta/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> இக்கட்டளை `ip route show`.கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ip route show` diff --git a/pages.ta/linux/megadl.md b/pages.ta/linux/megadl.md new file mode 100644 index 00000000000000..0359c9d053cf8e --- /dev/null +++ b/pages.ta/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> இக்கட்டளை `megatools-dl` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr megatools-dl` diff --git a/pages.ta/linux/ncal.md b/pages.ta/linux/ncal.md new file mode 100644 index 00000000000000..57e0310ab74dc2 --- /dev/null +++ b/pages.ta/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> இக்கட்டளை `cal` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr cal` diff --git a/pages.ta/linux/pacman-database.md b/pages.ta/linux/pacman-database.md new file mode 100644 index 00000000000000..37525dbc2e041e --- /dev/null +++ b/pages.ta/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> ஆர்ச் லினக்ஸ் தொகுப்பு தரவுத்தளத்தில் செயல்படவும். +> நிறுவப்பட்ட தொகுப்புகளின் சில பண்புகளை மாற்றவும். +> இதையும் பார்க்கவும்: `pacman`. +> மேலும் விவரத்திற்கு: . + +- ஒரு தொகுப்பை மறைமுகமாக நிறுவியதாகக் குறிக்கவும்: + +`sudo pacman --database --asdeps {{நிரல்தொகுப்பு}}` + +- ஒரு தொகுப்பை வெளிப்படையாக நிறுவியதாகக் குறிக்கவும்: + +`sudo pacman --database --asexplicit {{நிரல்தொகுப்பு}}` + +- அனைத்து தொகுப்பு சார்புகளும் நிறுவப்பட்டுள்ளதா என சரிபார்க்கவும்: + +`pacman --database --check` + +- அனைத்து குறிப்பிட்ட சார்புகளும் உள்ளனவா என்பதை உறுதிசெய்ய, களஞ்சியங்களைச் சரிபார்க்கவும்: + +`pacman --database --check --check` + +- பிழை செய்திகளை மட்டும் காட்டு: + +`pacman --database --check --quiet` + +- உதவியைக் காட்டு: + +`pacman --database --help` diff --git a/pages.ta/linux/pacman-deptest.md b/pages.ta/linux/pacman-deptest.md new file mode 100644 index 00000000000000..927327e2bac821 --- /dev/null +++ b/pages.ta/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> குறிப்பிடப்பட்ட ஒவ்வொரு சார்புநிலையையும் சரிபார்த்து, கணினியில் தற்போது திருப்தி அடையாத சார்புகளின் பட்டியலைத் திருப்பி அனுப்பவும். +> இதையும் பார்க்கவும்: `pacman`. +> மேலும் விவரத்திற்கு: . + +- நிறுவப்படாத சார்புகளின் தொகுப்பு பெயர்களை அச்சிடவும்: + +`pacman --deptest {{நிரல்தொகுப்பு1 நிரல்தொகுப்பு2 ...}}` + +- நிறுவப்பட்ட தொகுப்பு கொடுக்கப்பட்ட குறைந்தபட்ச பதிப்பை பூர்த்திசெய்கிறதா என சரிபார்க்கவும்: + +`pacman --deptest "{{bash>=5}}"` + +- தொகுப்பின் பிந்தைய பதிப்பு நிறுவப்பட்டுள்ளதா எனச் சரிபார்க்கவும்: + +`pacman --deptest "{{bash>5}}"` + +- உதவியைக் காட்டு: + +`pacman --deptest --help` diff --git a/pages.ta/linux/pacman-files.md b/pages.ta/linux/pacman-files.md new file mode 100644 index 00000000000000..2b61c95fb09b15 --- /dev/null +++ b/pages.ta/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> ஆர்ச் லினக்ஸ் தொகுப்பு மேலாளர் பயன்பாடு. +> இதையும் பார்க்கவும்: `pacman`, `pkgfile`. +> மேலும் விவரத்திற்கு: . + +- தொகுப்பு தரவுத்தளத்தைப் புதுப்பிக்கவும்: + +`sudo pacman --files --refresh` + +- ஒரு குறிப்பிட்ட கோப்பை வைத்திருக்கும் தொகுப்பைக் கண்டறியவும்: + +`pacman --files {{கோப்பு_பெயர்}}` + +- வழக்கமான வெளிப்பாட்டைப் பயன்படுத்தி, ஒரு குறிப்பிட்ட கோப்பை வைத்திருக்கும் தொகுப்பைக் கண்டறியவும்: + +`pacman --files --regex '{{வழக்கமான_வெளிப்பாடு}}'` + +- தொகுப்பு பெயர்களை மட்டும் பட்டியலிடுங்கள்: + +`pacman --files --quiet {{கோப்பு_பெயர்}}` + +- குறிப்பிட்ட தொகுப்புக்கு சொந்தமான கோப்புகளை பட்டியலிடுங்கள்: + +`pacman --files --list {{நிரல்தொகுப்பு}}` + +- உதவியைக் காட்டு: + +`pacman --files --help` diff --git a/pages.ta/linux/pacman-key.md b/pages.ta/linux/pacman-key.md new file mode 100644 index 00000000000000..217687b43aba04 --- /dev/null +++ b/pages.ta/linux/pacman-key.md @@ -0,0 +1,37 @@ +# pacman-key + +> பேக்மேனின் கீரிங்கை நிர்வகிக்க GnuPGக்கான ரேப்பர் ஸ்கிரிப்ட் பயன்படுத்தப்படுகிறது. +> இதையும் பார்க்கவும்: `pacman`. +> மேலும் விவரத்திற்கு: . + +- பேக்மேன் கீரிங்கை துவக்கவும்: + +`sudo pacman-key --init` + +- இயல்பு ஆர்ச் லினக்ஸ் விசைகளைச் சேர்க்கவும்: + +`sudo pacman-key --populate {{archlinux}}` + +- பொது விசையிலிருந்து விசைகளை பட்டியலிடவும்: + +`pacman-key --list-keys` + +- குறிப்பிட்ட விசைகளைச் சேர்க்கவும்: + +`sudo pacman-key --add {{விசைக்கோப்பு.gpg/பாதை}}` + +- ஒரு முக்கிய சேவையகத்திலிருந்து ஒரு விசையைப் பெறுங்கள்: + +`sudo pacman-key --recv-keys "{{uid|பெயர்|மின்னஞ்சல்}}"` + +- ஒரு குறிப்பிட்ட விசையின் கைரேகையை அச்சிடுங்கள்: + +`pacman-key --finger "{{uid|பெயர்|மின்னஞ்சல்}}"` + +- இறக்குமதி செய்யப்பட்ட விசையை உள்நாட்டில் கையொப்பமிடவும்: + +`sudo pacman-key --lsign-key "{{uid|பெயர்|மின்னஞ்சல்}}"` + +- ஒரு குறிப்பிட்ட விசையை அகற்று: + +`sudo pacman-key --delete "{{uid|பெயர்|மின்னஞ்சல்}}"` diff --git a/pages.ta/linux/pacman-mirrors.md b/pages.ta/linux/pacman-mirrors.md new file mode 100644 index 00000000000000..00fa492b6b64f1 --- /dev/null +++ b/pages.ta/linux/pacman-mirrors.md @@ -0,0 +1,26 @@ +# pacman-mirrors + +> மஞ்சாரோ லினக்ஸுக்கு பேக்மேன் கண்ணாடி பட்டியலை உருவாக்கவும். +> பேக்மேன்-கண்ணாடிகள் ஒவ்வொரு ஓட்டத்திற்கும் உங்கள் தரவுத்தளத்தை ஒத்திசைக்க மற்றும் `sudo pacman -Syyu` ஐப் பயன்படுத்தி உங்கள் கணினியைப் புதுப்பிக்க வேண்டும். +> இதையும் பார்க்கவும்: `pacman`. +> மேலும் விவரத்திற்கு: . + +- இயல்புநிலை அமைப்புகளைப் பயன்படுத்தி ஒரு கண்ணாடி பட்டியலை உருவாக்கவும்: + +`sudo pacman-mirrors --fasttrack` + +- தற்போதைய கண்ணாடிகளின் நிலையைப் பெறுங்கள்: + +`pacman-mirrors --status` + +- தற்போதைய கிளையைக் காட்டு: + +`pacman-mirrors --get-branch` + +- வேறு கிளைக்கு மாறவும்: + +`sudo pacman-mirrors --api --set-branch {{stable|unstable|testing}}` + +- உங்கள் நாட்டில் உள்ள கண்ணாடிகளை மட்டும் பயன்படுத்தி, கண்ணாடி பட்டியலை உருவாக்கவும்: + +`sudo pacman-mirrors --geoip` diff --git a/pages.ta/linux/pacman-remove.md b/pages.ta/linux/pacman-remove.md new file mode 100644 index 00000000000000..720fc5f7da5a0f --- /dev/null +++ b/pages.ta/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> ஆர்ச் லினக்ஸ் தொகுப்பு மேலாளர் பயன்பாடு. +> இதையும் பார்க்கவும்: `pacman`. +> மேலும் விவரத்திற்கு: . + +- ஒரு தொகுப்பு மற்றும் அதன் சார்புகளை அகற்றவும்: + +`sudo pacman --remove --recursive {{நிரல்தொகுப்பு}}` + +- ஒரு தொகுப்பு மற்றும் அதன் சார்புகள் மற்றும் கட்டமைப்பு கோப்புகள் இரண்டையும் அகற்றவும்: + +`sudo pacman --remove --recursive --nosave {{நிரல்தொகுப்பு}}` + +- கேட்காமல் ஒரு தொகுப்பை அகற்றவும்: + +`sudo pacman --remove --noconfirm {{நிரல்தொகுப்பு}}` + +- அனாதை தொகுப்புகளை அகற்று (சார்புகளாக நிறுவப்பட்டது ஆனால் எந்த தொகுப்பிற்கும் தேவையில்லை): + +`sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)` + +- ஒரு தொகுப்பு மற்றும் அதைச் சார்ந்த அனைத்து தொகுப்புகளையும் அகற்றவும்: + +`sudo pacman --remove --cascade {{நிரல்தொகுப்பு}}` + +- பாதிக்கப்படக்கூடிய தொகுப்புகளை பட்டியலிடுங்கள் (எந்த தொகுப்புகளையும் அகற்றாது): + +`pacman --remove --print {{நிரல்தொகுப்பு}}` + +- இந்த துணைக் கட்டளைக்கான உதவியைக் காட்டு: + +`pacman --remove --help` diff --git a/pages.ta/linux/pacman-sync.md b/pages.ta/linux/pacman-sync.md new file mode 100644 index 00000000000000..f8735cb1848b7d --- /dev/null +++ b/pages.ta/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> ஆர்ச் லினக்ஸ் தொகுப்பு மேலாளர் பயன்பாடு. +> இதையும் பார்க்கவும்: `pacman`. +> மேலும் விவரத்திற்கு: . + +- ஒரு புதிய தொகுப்பை நிறுவவும்: + +`sudo pacman --sync {{நிரல்தொகுப்பு}}` + +- அனைத்து தொகுப்புகளையும் ஒத்திசைத்து புதுப்பிக்கவும் (தொகுப்புகளைப் பதிவிறக்குவதற்கு `--downloadonly` சேர்க்கவும், அவற்றைப் புதுப்பிக்க வேண்டாம்): + +`sudo pacman --sync --refresh --sysupgrade` + +- அனைத்து தொகுப்புகளையும் புதுப்பித்து, கேட்காமல் புதிய ஒன்றை நிறுவவும்: + +`sudo pacman --sync --refresh --sysupgrade --noconfirm {{நிரல்தொகுப்பு}}` + +- வழக்கமான வெளிப்பாடு அல்லது முக்கிய சொல்லுக்கு தொகுப்பு தரவுத்தளத்தில் தேடவும்: + +`pacman --sync --search "{{தேடல்_முறை}}"` + +- தொகுப்பு பற்றிய தகவலைக் காட்டு: + +`pacman --sync --info {{நிரல்தொகுப்பு}}` + +- தொகுப்பு புதுப்பிப்பின் போது முரண்பட்ட கோப்புகளை மேலெழுதவும்: + +`sudo pacman --sync --refresh --sysupgrade --overwrite {{கோப்பு/பாதை}}` + +- அனைத்து தொகுப்புகளையும் ஒத்திசைத்து புதுப்பிக்கவும், ஆனால் ஒரு குறிப்பிட்ட தொகுப்பை புறக்கணிக்கவும் (ஒருமுறைக்கு மேல் பயன்படுத்தலாம்): + +`sudo pacman --sync --refresh --sysupgrade --ignore {{தொகுப்பு_பெயர்}}` + +- நிறுவப்படாத தொகுப்புகள் மற்றும் பயன்படுத்தப்படாத களஞ்சியங்களை தற்காலிக சேமிப்பிலிருந்து அகற்றவும் (அனைத்து தொகுப்புகளையும் சுத்தம் செய்ய இரண்டு `--clean` கொடிகளைப் பயன்படுத்தவும்): + +`sudo pacman --sync --clean` diff --git a/pages.ta/linux/pacman-upgrade.md b/pages.ta/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..1cf968001b6d31 --- /dev/null +++ b/pages.ta/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> ஆர்ச் லினக்ஸ் தொகுப்பு மேலாளர் பயன்பாடு. +> இதையும் பார்க்கவும்: `pacman`. +> மேலும் விவரத்திற்கு: . + +- கோப்புகளிலிருந்து ஒன்று அல்லது அதற்கு மேற்பட்ட தொகுப்புகளை நிறுவவும்: + +`sudo pacman --upgrade {{நிரல்தொகுப்பு1.pkg.tar.zst/பாதை}} {{நிரல்தொகுப்பு2.pkg.tar.zst/பாதை}}` + +- கேட்காமல் ஒரு தொகுப்பை நிறுவவும்: + +`sudo pacman --upgrade --noconfirm {{நிரல்தொகுப்பு.pkg.tar.zst/பாதை}}` + +- தொகுப்பு நிறுவலின் போது முரண்பட்ட கோப்புகளை மேலெழுதவும்: + +`sudo pacman --upgrade --overwrite {{கோப்பு/பாதை}} {{நிரல்தொகுப்பு.pkg.tar.zst/பாதை}}` + +- சார்பு பதிப்பு சரிபார்ப்புகளைத் தவிர்த்து, தொகுப்பை நிறுவவும்: + +`sudo pacman --upgrade --nodeps {{நிரல்தொகுப்பு.pkg.tar.zst/பாதை}}` + +- பாதிக்கப்படக்கூடிய தொகுப்புகளைப் பட்டியலிடுங்கள் (எந்த தொகுப்புகளையும் நிறுவாது): + +`pacman --upgrade --print {{நிரல்தொகுப்பு.pkg.tar.zst/பாதை}}` + +- உதவியைக் காட்டு: + +`pacman --upgrade --help` diff --git a/pages.ta/linux/pacman.md b/pages.ta/linux/pacman.md new file mode 100644 index 00000000000000..7295420371d3d0 --- /dev/null +++ b/pages.ta/linux/pacman.md @@ -0,0 +1,37 @@ +# pacman + +> ஆர்ச் லினக்ஸ் தொகுப்பு மேலாளர் பயன்பாடு. +> இதையும் பார்க்கவும்: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> மேலும் விவரத்திற்கு: . + +- அனைத்து தொகுப்புகளையும் ஒத்திசைத்து புதுப்பிக்கவும்: + +`sudo pacman -Syu` + +- ஒரு புதிய தொகுப்பை நிறுவவும்: + +`sudo pacman -S {{நிரல்தொகுப்பு}}` + +- ஒரு தொகுப்பு மற்றும் அதன் சார்புகளை அகற்றவும்: + +`sudo pacman -Rs {{நிரல்தொகுப்பு}}` + +- ஒரு குறிப்பிட்ட கோப்பைக் கொண்ட தொகுப்புகளுக்கான தரவுத்தளத்தில் தேடவும்: + +`pacman -F "{{கோப்பு_பெயர்}}"` + +- நிறுவப்பட்ட தொகுப்புகள் மற்றும் பதிப்புகளை பட்டியலிடுங்கள்: + +`pacman -Q` + +- வெளிப்படையாக நிறுவப்பட்ட தொகுப்புகள் மற்றும் பதிப்புகளை மட்டும் பட்டியலிடுங்கள்: + +`pacman -Qe` + +- அனாதை தொகுப்புகளை பட்டியலிடு (சார்புகளாக நிறுவப்பட்டது ஆனால் உண்மையில் எந்த தொகுப்பிற்கும் தேவையில்லை): + +`pacman -Qtdq` + +- முழு பேக்மேன் தற்காலிக சேமிப்பையும் காலி செய்யவும்: + +`sudo pacman -Scc` diff --git a/pages.ta/linux/pacman4console.md b/pages.ta/linux/pacman4console.md new file mode 100644 index 00000000000000..9b7e47cb1bd0c2 --- /dev/null +++ b/pages.ta/linux/pacman4console.md @@ -0,0 +1,20 @@ +# pacman4console + +> அசல் பேக்மேனால் ஈர்க்கப்பட்ட உரை அடிப்படையிலான கன்சோல் கேம். +> மேலும் விவரத்திற்கு: . + +- நிலை 1 இல் ஒரு விளையாட்டைத் தொடங்கவும்: + +`pacman4console` + +- ஒரு குறிப்பிட்ட மட்டத்தில் ஒரு விளையாட்டைத் தொடங்கவும் (ஒன்பது அதிகாரப்பூர்வ நிலைகள் உள்ளன): + +`pacman4console --level={{நிலை_எண்}}` + +- pacman4console நிலை எடிட்டரைத் தொடங்கவும், குறிப்பிட்ட உரைக் கோப்பில் சேமிக்கவும்: + +`pacman4consoleedit {{நிலை_கோப்பு/பாதை}}` + +- தனிப்பயன் மட்டத்தை விளையாடுங்கள்: + +`pacman4console --level={{நிலை_கோப்பு/பாதை}}` diff --git a/pages.ta/linux/protontricks.md b/pages.ta/linux/protontricks.md new file mode 100644 index 00000000000000..8c60c98f2b0d11 --- /dev/null +++ b/pages.ta/linux/protontricks.md @@ -0,0 +1,28 @@ +# protontricks + +> புரோட்டான் இயக்கப்பட்ட கேம்களுக்கான ஒயின்ட்ரிக்ஸ் கட்டளைகளை இயக்கும் எளிய ரேப்பர். +> மேலும் விவரத்திற்கு: . + +- புரோட்டான்ட்ரிக்ஸ் GUI ஐ இயக்கவும்: + +`protontricks --gui` + +- ஒரு குறிப்பிட்ட விளையாட்டுக்கு ஒயின்ட்ரிக்ஸை இயக்கவும்: + +`protontricks {{ஆப்_ஐடி}} {{ஒயின்ட்ரிக்ஸ்_ஆர்க்ஸ்}}` + +- விளையாட்டின் நிறுவல் கோப்பகத்தில் கட்டளையை இயக்கவும்: + +`protontricks -c {{கட்டளை}} {{ஆப்_ஐடி}}` + +- [l]நிறுவப்பட்ட அனைத்து கேம்களும் பட்டியலிடவும்: + +`protontricks -l` + +- [s]பெயரின் மூலம் கேமின் ஆப் ஐடியைத் தேடவும்: + +`protontricks -s {{விளையாட்டின்_பெயர்}}` + +- புரோட்டான்ட்ரிக்ஸ் உதவி செய்தியைக் காட்டு: + +`protontricks --help` diff --git a/pages.ta/linux/rpm-ostree.md b/pages.ta/linux/rpm-ostree.md new file mode 100644 index 00000000000000..91bd15f0823671 --- /dev/null +++ b/pages.ta/linux/rpm-ostree.md @@ -0,0 +1,25 @@ +# rpm-ostree + +> ஒரு கலப்பின படம்/தொகுப்பு அமைப்பு. +> ostree வரிசைப்படுத்தல்கள், தொகுப்பு அடுக்குகள், கோப்பு முறைமை மேலடுக்குகள் மற்றும் துவக்க உள்ளமைவு ஆகியவற்றை நிர்வகிக்கவும். +> மேலும் விவரத்திற்கு: . + +- துவக்க ஏற்றியில் தோன்றும் வரிசையில் `rpm-ostree` வரிசைப்படுத்தல்களைக் காட்டு: + +`rpm-ostree status` + +- காலாவதியான மற்றும் புதுப்பிக்கக்கூடிய தொகுப்புகளைக் காட்டு: + +`rpm-ostree upgrade --preview` + +- மேம்படுத்தப்பட்ட தொகுப்புகளுடன் ஒரு புதிய `ostree` வரிசைப்படுத்தலைத் தயாரித்து அதில் மீண்டும் துவக்கவும்: + +`rpm-ostree upgrade --reboot` + +- முந்தைய ostree வரிசைப்படுத்தலில் மீண்டும் துவக்கவும்: + +`rpm-ostree rollback --reboot` + +- ஒரு புதிய ostree வரிசைப்படுத்தலில் ஒரு தொகுப்பை நிறுவி அதில் மீண்டும் துவக்கவும்: + +`rpm-ostree install {{தொகுப்பு}} --reboot` diff --git a/pages.ta/linux/ruget.md b/pages.ta/linux/ruget.md new file mode 100644 index 00000000000000..de6c2f35de555e --- /dev/null +++ b/pages.ta/linux/ruget.md @@ -0,0 +1,12 @@ +# ruget + +> ரஸ்டில் எழுதப்பட்ட `wget` மாற்று. +> மேலும் விவரத்திற்கு: . + +- URL முகவரி இன் உள்ளடக்கங்களை ஒரு கோப்பில் பதிவிறக்கவும்: + +`ruget {{https://example.com/file}}` + +- URL முகவரி இன் உள்ளடக்கங்களை குறிப்பிட்ட [o]அவுட்புட் கோப்பில் பதிவிறக்கவும்: + +`ruget --output {{கோப்பு_பெயர்}} {{https://example.com/file}}` diff --git a/pages.ta/linux/toolbox-create.md b/pages.ta/linux/toolbox-create.md new file mode 100644 index 00000000000000..17618232dbdf7e --- /dev/null +++ b/pages.ta/linux/toolbox-create.md @@ -0,0 +1,24 @@ +# toolbox create + +> புதிய `toolbox` கொள்கலனை உருவாக்கவும். +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட விநியோகத்திற்காக `toolbox` கொள்கலனை உருவாக்கவும்: + +`toolbox create --distro {{விநியோகம்}}` + +- தற்போதைய விநியோகத்தின் குறிப்பிட்ட வெளியீட்டிற்கு `toolbox` கொள்கலனை உருவாக்கவும்: + +`toolbox create --release {{வெளியீடு}}` + +- தனிப்பயன் படத்துடன் `toolbox` கொள்கலனை உருவாக்கவும்: + +`toolbox create --image {{பெயர்}}` + +- தனிப்பயன் ஃபெடோரா படத்திலிருந்து `toolbox` கொள்கலனை உருவாக்கவும்: + +`toolbox create --image {{registry.fedoraproject.org/fedora-toolbox:39}}` + +- ஃபெடோரா 39க்கான இயல்புநிலை படத்தைப் பயன்படுத்தி `toolbox` கொள்கலனை உருவாக்கவும்: + +`toolbox create --distro {{fedora}} --release {{f39}}` diff --git a/pages.ta/linux/toolbox-enter.md b/pages.ta/linux/toolbox-enter.md new file mode 100644 index 00000000000000..e20bc10900ba5e --- /dev/null +++ b/pages.ta/linux/toolbox-enter.md @@ -0,0 +1,17 @@ +# toolbox enter + +> ஊடாடும் பயன்பாட்டிற்கு `toolbox` கொள்கலனை உள்ளிடவும். +> மேலும் பார்க்கவும்: `toolbox run`. +> மேலும் விவரத்திற்கு: . + +- குறிப்பிட்ட விநியோகத்தின் இயல்புப் படத்தைப் பயன்படுத்தி `toolbox` கொள்கலனை உள்ளிடவும்: + +`toolbox enter --distro {{விநியோகம்}}` + +- தற்போதைய விநியோகத்தின் குறிப்பிட்ட வெளியீட்டின் இயல்புநிலை படத்தைப் பயன்படுத்தி `toolbox` கொள்கலனை உள்ளிடவும்: + +`toolbox enter --release {{வெளியீடு}}` + +- ஃபெடோரா 39 க்கான இயல்புநிலை படத்தைப் பயன்படுத்தி ஒரு கருவிப்பெட்டி கொள்கலனை உள்ளிடவும்: + +`toolbox enter --distro {{fedora}} --release {{f39}}` diff --git a/pages.ta/linux/toolbox-help.md b/pages.ta/linux/toolbox-help.md new file mode 100644 index 00000000000000..218897c7881c3c --- /dev/null +++ b/pages.ta/linux/toolbox-help.md @@ -0,0 +1,12 @@ +# toolbox help + +> `toolbox` பற்றிய உதவித் தகவலைக் காட்டுகிறது. +> மேலும் விவரத்திற்கு: . + +- `toolbox` கையேட்டைக் காண்பி: + +`toolbox help` + +- குறிப்பிட்ட துணைக் கட்டளைக்கான `toolbox` கையேட்டைக் காண்பி: + +`toolbox help {{துணை_கட்டளை}}` diff --git a/pages.ta/linux/toolbox-init-container.md b/pages.ta/linux/toolbox-init-container.md new file mode 100644 index 00000000000000..f6bf9c3854d69f --- /dev/null +++ b/pages.ta/linux/toolbox-init-container.md @@ -0,0 +1,9 @@ +# toolbox init-container + +> இயங்கும் `toolbox` கொள்கலனைத் தொடங்கவும். +> இந்த கட்டளை பயனரால் செயல்படுத்தப்படக்கூடாது, மேலும் ஹோஸ்டில் இயக்க முடியாது. +> மேலும் விவரத்திற்கு: . + +- இயங்கும் கருவிப்பெட்டியை துவக்கவும்: + +`toolbox init-container --gid {{gid}} --home {{வீடு}} --home-link --media-link --mnt-link --monitor-host --shell {{ஷெல்}} --uid {{uid}} --user {{பயனர்}}` diff --git a/pages.ta/linux/toolbox-list.md b/pages.ta/linux/toolbox-list.md new file mode 100644 index 00000000000000..f83805f96117bf --- /dev/null +++ b/pages.ta/linux/toolbox-list.md @@ -0,0 +1,16 @@ +# toolbox list + +> ஏற்கனவே உள்ள `toolbox' கொள்கலன்களையும் படங்களையும் பட்டியலிடுங்கள். +> மேலும் விவரத்திற்கு: . + +- அனைத்து `toolbox` கொள்கலன்களையும் படங்களையும் பட்டியலிடுங்கள்: + +`toolbox list` + +- `toolbox` கொள்கலன்களை மட்டும் பட்டியலிடுங்கள்: + +`toolbox list --containers` + +- `toolbox` படங்களை மட்டும் பட்டியலிடுங்கள்: + +`toolbox list --images` diff --git a/pages.ta/linux/toolbox-rm.md b/pages.ta/linux/toolbox-rm.md new file mode 100644 index 00000000000000..2cc4ff5c040d8e --- /dev/null +++ b/pages.ta/linux/toolbox-rm.md @@ -0,0 +1,17 @@ +# toolbox rm + +> ஒன்று அல்லது அதற்கு மேற்பட்ட `toolbox` கொள்கலன்களை அகற்றவும். +> மேலும் பார்க்கவும்: `toolbox rmi`. +> மேலும் விவரத்திற்கு: . + +- கருவிப்பெட்டி கொள்கலனை அகற்றவும்: + +`toolbox rm {{கொள்கலன்_பெயர்}}` + +- அனைத்து `toolbox` கொள்கலனை அகற்றவும்: + +`toolbox rm {{[-a|--all]}}` + +- தற்போது செயலில் உள்ள `toolbox` கொள்கலனை அகற்றுமாறு கட்டாயப்படுத்தவும்: + +`toolbox rm {{[-f|--force]}} {{கொள்கலன்_பெயர்}}` diff --git a/pages.ta/linux/toolbox-rmi.md b/pages.ta/linux/toolbox-rmi.md new file mode 100644 index 00000000000000..587c20d051259c --- /dev/null +++ b/pages.ta/linux/toolbox-rmi.md @@ -0,0 +1,17 @@ +# toolbox rmi + +> ஒன்று அல்லது அதற்கு மேற்பட்ட `toolbox` படங்களை அகற்றவும். +> மேலும் பார்க்கவும்: `toolbox rm`. +> மேலும் விவரத்திற்கு: . + +- `toolbox` படத்தை அகற்றவும்: + +`toolbox rmi {{படம்_பெயர்}}` + +- அனைத்து `toolbox` படங்களையும் அகற்றவும்: + +`toolbox rmi --all` + +- தற்போது கன்டெய்னரால் பயன்படுத்தப்படும் `toolbox` படத்தை அகற்றுமாறு கட்டாயப்படுத்துங்கள் (கண்டெய்னரும் அகற்றப்படும்): + +`toolbox rmi --force {{படம்_பெயர்}}` diff --git a/pages.ta/linux/toolbox-run.md b/pages.ta/linux/toolbox-run.md new file mode 100644 index 00000000000000..207a068e0451cf --- /dev/null +++ b/pages.ta/linux/toolbox-run.md @@ -0,0 +1,17 @@ +# toolbox run + +> ஏற்கனவே உள்ள `toolbox` கொள்கலனுக்குள் கட்டளையை இயக்கவும். +> மேலும் பார்க்கவும்: `toolbox enter`. +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட `toolbox` கொள்கலனுக்குள் ஒரு கட்டளையை இயக்கவும்: + +`toolbox run --container {{கொள்கலன்_பெயர்}} {{கட்டளை}}` + +- விநியோகத்தின் குறிப்பிட்ட வெளியீட்டிற்கு `toolbox` கொள்கலனுக்குள் கட்டளையை இயக்கவும்: + +`toolbox run --distro {{விநியோகம்}} --release {{வெளியீடு}} {{கட்டளை}}` + +- ஃபெடோரா 39க்கான இயல்புநிலை படத்தைப் பயன்படுத்தி `toolbox` கொள்கலனுக்குள் `emacs` ஐ இயக்கவும்: + +`toolbox run --distro {{fedora}} --release {{f39}} {{emacs}}` diff --git a/pages.ta/linux/toolbox.md b/pages.ta/linux/toolbox.md new file mode 100644 index 00000000000000..85767ab1d0a042 --- /dev/null +++ b/pages.ta/linux/toolbox.md @@ -0,0 +1,21 @@ +# toolbox + +> லினக்ஸ் இல் கொள்கலன்கள் செய்யப்பட்ட கட்டளை வரி சூழல்களுக்கான கருவி. +> `create` போன்ற சில துணைக் கட்டளைகள் அவற்றின் சொந்த பயன்பாட்டு ஆவணங்களைக் கொண்டுள்ளன. +> மேலும் விவரத்திற்கு: . + +- `toolbox` துணைக் கட்டளையை இயக்கவும்: + +`toolbox {{துணை_கட்டளை}}` + +- `toolbox` துணைக் கட்டளைக்கான உதவியைக் காட்டு (`create`, `enter`, `rm`, `rmi` போன்றவை.): + +`toolbox help {{துணை_கட்டளை}}` + +- பொதுவான உதவியைக் காட்டு: + +`toolbox --help` + +- `toolbox` பதிப்பைக் காட்டு: + +`toolbox --version` diff --git a/pages.ta/linux/tshark.md b/pages.ta/linux/tshark.md new file mode 100644 index 00000000000000..f4aa920ac40801 --- /dev/null +++ b/pages.ta/linux/tshark.md @@ -0,0 +1,36 @@ +# tshark + +> பாக்கெட் பகுப்பாய்வு கருவி, வயர்ஷார்க்கின் CLI பதிப்பு. +> மேலும் விவரத்திற்கு: . + +- லோக்கல் ஹோஸ்டில் அனைத்தையும் கண்காணிக்கவும்: + +`tshark` + +- குறிப்பிட்ட பிடிப்பு வடிப்பானுடன் பொருந்தும் பாக்கெட்டுகளை மட்டும் பிடிக்கவும்: + +`tshark -f '{{udp port 53}}'` + +- குறிப்பிட்ட வெளியீட்டு வடிப்பானுடன் பொருந்தும் பாக்கெட்டுகளை மட்டும் காட்டு: + +`tshark -Y '{{http.request.method == "GET"}}'` + +- ஒரு குறிப்பிட்ட நெறிமுறையைப் பயன்படுத்தி TCP போர்ட்டை டிகோட் செய்யவும் (எ.கா. HTTP): + +`tshark -d tcp.port=={{8888}},{{http}}` + +- கைப்பற்றப்பட்ட வெளியீட்டின் வடிவமைப்பைக் குறிப்பிடவும்: + +`tshark -T {{json|text|ps|...}}` + +- வெளியீட்டிற்கு குறிப்பிட்ட புலங்களைத் தேர்ந்தெடுக்கவும்: + +`tshark -T {{fields|ek|json|pdml}} -e {{http.request.method}} -e {{ip.src}}` + +- கைப்பற்றப்பட்ட பாக்கெட்டை ஒரு கோப்பில் எழுதவும்: + +`tshark -w {{கோப்பு/பாதை}}` + +- ஒரு கோப்பிலிருந்து பாக்கெட்டுகளை பகுப்பாய்வு செய்யுங்கள்: + +`tshark -r {{கோப்பு.pcap/பாதை}}` diff --git a/pages.ta/linux/ubuntu-bug.md b/pages.ta/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..061606d6b46826 --- /dev/null +++ b/pages.ta/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> இக்கட்டளை `apport-bug` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr apport-bug` diff --git a/pages.ta/linux/ufw.md b/pages.ta/linux/ufw.md new file mode 100644 index 00000000000000..2ff152670a7bc5 --- /dev/null +++ b/pages.ta/linux/ufw.md @@ -0,0 +1,37 @@ +# ufw + +> சிக்கலற்ற ஃபயர்வால். +> ஃபயர்வாலின் உள்ளமைவை எளிதாக்குவதை நோக்கமாகக் கொண்ட `iptables` முன்பக்கம். +> மேலும் விவரத்திற்கு: . + +- `ufw` ஐ இயக்கு: + +`ufw enable` + +- `ufw` ஐ முடக்கு: + +`ufw disable` + +- `ufw` விதிகளை அவற்றின் எண்களுடன் காட்டு: + +`ufw status numbered` + +- சேவையை அடையாளம் காட்டும் கருத்துடன் இந்த ஹோஸ்டில் உள்ள போர்ட் 5432 இல் உள்வரும் போக்குவரத்தை அனுமதிக்கவும்: + +`ufw allow {{5432}} comment "{{சேவை}}"` + +- போர்ட் 22 இல், இந்த ஹோஸ்டில் உள்ள எந்த முகவரிக்கும் 192.168.0.4 இலிருந்து டிசிபி போக்குவரத்தை மட்டும் அனுமதிக்கவும்: + +`ufw allow proto {{டிசிபி}} from {{192.168.0.4}} to {{ஏதேனும்}} port {{22}}` + +- இந்த ஹோஸ்டில் போர்ட் 80 இல் போக்குவரத்தை நிராகரிக்கவும்: + +`ufw deny {{80}}` + +- 8412:8500 வரம்பில் உள்ள துறைமுகங்களுக்கு அனைத்து யுடிபி போக்குவரத்தையும் நிராகரிக்கவும்: + +`ufw deny proto {{யுடிபி}} from {{ஏதேனும்}} to {{ஏதாவது}} port {{8412:8500}}` + +- ஒரு குறிப்பிட்ட விதியை நீக்கவும். விதி எண்ணை `ufw status numbered` கட்டளையிலிருந்து மீட்டெடுக்கலாம்: + +`ufw delete {{விதி_எண்}}` diff --git a/pages.ta/linux/wine.md b/pages.ta/linux/wine.md new file mode 100644 index 00000000000000..85737cb868fcf2 --- /dev/null +++ b/pages.ta/linux/wine.md @@ -0,0 +1,28 @@ +# wine + +> UNIX அடிப்படையிலான கணினிகளில் விண்டோஸ் இயங்குதளங்களை இயக்கவும். +> மேலும் விவரத்திற்கு: . + +- `wine` சூழலில் ஒரு குறிப்பிட்ட நிரலை இயக்கவும்: + +`wine {{கட்டளை}}` + +- பின்னணியில் ஒரு குறிப்பிட்ட நிரலை இயக்கவும்: + +`wine start {{கட்டளை}}` + +- ஒரு MSI தொகுப்பை நிறுவவும்/நிறுத்தவும்: + +`wine msiexec /{{i|x}} {{கோப்போ/அடைவோ/நிரல்தொகுப்பு.msi}}` + +- `கோப்பு எக்ஸ்ப்ளோரர்`, `நோட்பேட்` அல்லது `வேர்ட்பேட்` ஐ இயக்கவும்: + +`wine {{explorer|notepad|write}}` + +- `ரெஜிஸ்ட்ரி எடிட்டர்`, `கண்ட்ரோல் பேனல்` அல்லது `டாஸ்க் மேனேஜர்` ஆகியவற்றை இயக்கவும்: + +`wine {{regedit|control|taskmgr}}` + +- கட்டமைப்பு கருவியை இயக்கவும்: + +`wine winecfg` diff --git a/pages.ta/osx/aa.md b/pages.ta/osx/aa.md new file mode 100644 index 00000000000000..bbb0a19d41109d --- /dev/null +++ b/pages.ta/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> இக்கட்டளை `yaa` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr yaa` diff --git a/pages.ta/osx/df.md b/pages.ta/osx/df.md new file mode 100644 index 00000000000000..ab91cfa2c709b1 --- /dev/null +++ b/pages.ta/osx/df.md @@ -0,0 +1,32 @@ +# df + +> கோப்பு முறைமை வட்டு இட பயன்பாட்டின் மேலோட்டத்தைக் காண்பி. +> மேலும் விவரத்திற்கு: . + +- 512-பைட் அலகுகளைப் பயன்படுத்தி அனைத்து கோப்பு முறைமைகளையும் அவற்றின் வட்டு பயன்பாட்டையும் காண்பிக்கவும்: + +`df` + +- மனிதனால் [h] படிக்கக்கூடிய அலகுகளைப் பயன்படுத்தவும் (1024 இன் சக்திகளின் அடிப்படையில்) மற்றும் ஒரு பெரிய மொத்தத்தைக் காட்டவும்: + +`df -h -c` + +- மனிதர்கள் [H] படிக்கக்கூடிய அலகுகளைப் பயன்படுத்தவும் (1000 இன் சக்திகளின் அடிப்படையில்): + +`df -{{-si|H}}` + +- கொடுக்கப்பட்ட கோப்பு அல்லது கோப்பகத்தைக் கொண்ட கோப்பு முறைமை மற்றும் அதன் வட்டு பயன்பாட்டைக் காண்பி: + +`df {{கோப்பு_அல்லது_அடைவு/பாதை}}` + +- கோப்பு முறைமை வகைகள் [Y] உட்பட இலவச மற்றும் பயன்படுத்தப்பட்ட [i]நோட்களின் எண்ணிக்கை பற்றிய புள்ளிவிவரங்களைச் சேர்க்கவும்: + +`df -iY` + +- விண்வெளி புள்ளிவிவரங்களை எழுதும் போது 1024-பைட் அலகுகளைப் பயன்படுத்தவும்: + +`df -k` + +- ஒரு சிறிய [P] வழியில் தகவலைக் காண்பி: + +`df -P` diff --git a/pages.ta/osx/g[.md b/pages.ta/osx/g[.md new file mode 100644 index 00000000000000..d5c8a086d2c416 --- /dev/null +++ b/pages.ta/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> இக்கட்டளை `[` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr [` diff --git a/pages.ta/osx/gb2sum.md b/pages.ta/osx/gb2sum.md new file mode 100644 index 00000000000000..074b603b8e85e5 --- /dev/null +++ b/pages.ta/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> இக்கட்டளை `b2sum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr b2sum` diff --git a/pages.ta/osx/gbase32.md b/pages.ta/osx/gbase32.md new file mode 100644 index 00000000000000..9864b907ad2825 --- /dev/null +++ b/pages.ta/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> இக்கட்டளை `base32` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr base32` diff --git a/pages.ta/osx/gbase64.md b/pages.ta/osx/gbase64.md new file mode 100644 index 00000000000000..87235fa71a4a2e --- /dev/null +++ b/pages.ta/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> இக்கட்டளை `base64` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.ta/osx/gbasename.md b/pages.ta/osx/gbasename.md new file mode 100644 index 00000000000000..13c015d9495129 --- /dev/null +++ b/pages.ta/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> இக்கட்டளை `basename` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr basename` diff --git a/pages.ta/osx/gbasenc.md b/pages.ta/osx/gbasenc.md new file mode 100644 index 00000000000000..545639c1eb3661 --- /dev/null +++ b/pages.ta/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> இக்கட்டளை `basenc` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr basenc` diff --git a/pages.ta/osx/gcat.md b/pages.ta/osx/gcat.md new file mode 100644 index 00000000000000..7755399801ada2 --- /dev/null +++ b/pages.ta/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> இக்கட்டளை `-p linux cat` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.ta/osx/gchcon.md b/pages.ta/osx/gchcon.md new file mode 100644 index 00000000000000..9ab8c9a2f36f12 --- /dev/null +++ b/pages.ta/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> இக்கட்டளை `-p linux chcon` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.ta/osx/gchgrp.md b/pages.ta/osx/gchgrp.md new file mode 100644 index 00000000000000..068dce4fb07e1f --- /dev/null +++ b/pages.ta/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> இக்கட்டளை `chgrp` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr chgrp` diff --git a/pages.ta/osx/gchmod.md b/pages.ta/osx/gchmod.md new file mode 100644 index 00000000000000..eff40d4916bceb --- /dev/null +++ b/pages.ta/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> இக்கட்டளை `chmod` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr chmod` diff --git a/pages.ta/osx/gchown.md b/pages.ta/osx/gchown.md new file mode 100644 index 00000000000000..39c1c4703b43e7 --- /dev/null +++ b/pages.ta/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> இக்கட்டளை `chown` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr chown` diff --git a/pages.ta/osx/gchroot.md b/pages.ta/osx/gchroot.md new file mode 100644 index 00000000000000..26623e35611878 --- /dev/null +++ b/pages.ta/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> இக்கட்டளை `chroot` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr chroot` diff --git a/pages.ta/osx/gcksum.md b/pages.ta/osx/gcksum.md new file mode 100644 index 00000000000000..13999e78dc9a1c --- /dev/null +++ b/pages.ta/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> இக்கட்டளை `cksum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr cksum` diff --git a/pages.ta/osx/gcomm.md b/pages.ta/osx/gcomm.md new file mode 100644 index 00000000000000..991c66234751c6 --- /dev/null +++ b/pages.ta/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> இக்கட்டளை `comm` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr comm` diff --git a/pages.ta/osx/gcp.md b/pages.ta/osx/gcp.md new file mode 100644 index 00000000000000..e8b9855a0608b6 --- /dev/null +++ b/pages.ta/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> இக்கட்டளை `cp` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr cp` diff --git a/pages.ta/osx/gcsplit.md b/pages.ta/osx/gcsplit.md new file mode 100644 index 00000000000000..1618a20039499c --- /dev/null +++ b/pages.ta/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> இக்கட்டளை `-p linux csplit` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.ta/osx/gcut.md b/pages.ta/osx/gcut.md new file mode 100644 index 00000000000000..4872accee66eec --- /dev/null +++ b/pages.ta/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> இக்கட்டளை `cut` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.ta/osx/gdate.md b/pages.ta/osx/gdate.md new file mode 100644 index 00000000000000..4c87be48a743c6 --- /dev/null +++ b/pages.ta/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> இக்கட்டளை `date` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.ta/osx/gdd.md b/pages.ta/osx/gdd.md new file mode 100644 index 00000000000000..fef00bcb37ea72 --- /dev/null +++ b/pages.ta/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> இக்கட்டளை `-p linux dd` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.ta/osx/gdf.md b/pages.ta/osx/gdf.md new file mode 100644 index 00000000000000..6aad49ee31f76d --- /dev/null +++ b/pages.ta/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> இக்கட்டளை `-p linux df` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.ta/osx/gdir.md b/pages.ta/osx/gdir.md new file mode 100644 index 00000000000000..63347b081487fb --- /dev/null +++ b/pages.ta/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> இக்கட்டளை `-p linux dir` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.ta/osx/gdircolors.md b/pages.ta/osx/gdircolors.md new file mode 100644 index 00000000000000..9329fd77e6568a --- /dev/null +++ b/pages.ta/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> இக்கட்டளை `dircolors` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr dircolors` diff --git a/pages.ta/osx/gdirname.md b/pages.ta/osx/gdirname.md new file mode 100644 index 00000000000000..c0d504c049cc11 --- /dev/null +++ b/pages.ta/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> இக்கட்டளை `dirname` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr dirname` diff --git a/pages.ta/osx/gdnsdomainname.md b/pages.ta/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..830dd734c58953 --- /dev/null +++ b/pages.ta/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> இக்கட்டளை `-p linux dnsdomainname` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.ta/osx/gecho.md b/pages.ta/osx/gecho.md new file mode 100644 index 00000000000000..909b225c3b0157 --- /dev/null +++ b/pages.ta/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> இக்கட்டளை `echo` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr echo` diff --git a/pages.ta/osx/ged.md b/pages.ta/osx/ged.md new file mode 100644 index 00000000000000..e882eea6c65b68 --- /dev/null +++ b/pages.ta/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> இக்கட்டளை `ed` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ed` diff --git a/pages.ta/osx/gegrep.md b/pages.ta/osx/gegrep.md new file mode 100644 index 00000000000000..328ff30b86f6c5 --- /dev/null +++ b/pages.ta/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> இக்கட்டளை `egrep` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr egrep` diff --git a/pages.ta/osx/genv.md b/pages.ta/osx/genv.md new file mode 100644 index 00000000000000..9ba7c59edd9ca2 --- /dev/null +++ b/pages.ta/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> இக்கட்டளை `env` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr env` diff --git a/pages.ta/osx/gexpand.md b/pages.ta/osx/gexpand.md new file mode 100644 index 00000000000000..da03fe2e02832d --- /dev/null +++ b/pages.ta/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> இக்கட்டளை `expand` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr expand` diff --git a/pages.ta/osx/gexpr.md b/pages.ta/osx/gexpr.md new file mode 100644 index 00000000000000..5655fb15f8951f --- /dev/null +++ b/pages.ta/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> இக்கட்டளை `expr` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr expr` diff --git a/pages.ta/osx/gfactor.md b/pages.ta/osx/gfactor.md new file mode 100644 index 00000000000000..77e38048d75d99 --- /dev/null +++ b/pages.ta/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> இக்கட்டளை `factor` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr factor` diff --git a/pages.ta/osx/gfalse.md b/pages.ta/osx/gfalse.md new file mode 100644 index 00000000000000..3023a477b05f73 --- /dev/null +++ b/pages.ta/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> இக்கட்டளை `false` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr false` diff --git a/pages.ta/osx/gfgrep.md b/pages.ta/osx/gfgrep.md new file mode 100644 index 00000000000000..8ef4cb58d5990e --- /dev/null +++ b/pages.ta/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> இக்கட்டளை `fgrep` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr fgrep` diff --git a/pages.ta/osx/gfind.md b/pages.ta/osx/gfind.md new file mode 100644 index 00000000000000..bd4a5c20bfce0f --- /dev/null +++ b/pages.ta/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> இக்கட்டளை `find` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr find` diff --git a/pages.ta/osx/gfmt.md b/pages.ta/osx/gfmt.md new file mode 100644 index 00000000000000..7525f078186077 --- /dev/null +++ b/pages.ta/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> இக்கட்டளை `fmt` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr fmt` diff --git a/pages.ta/osx/gfold.md b/pages.ta/osx/gfold.md new file mode 100644 index 00000000000000..260046b0e0a265 --- /dev/null +++ b/pages.ta/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> இக்கட்டளை `-p linux fold` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.ta/osx/gftp.md b/pages.ta/osx/gftp.md new file mode 100644 index 00000000000000..8e36837bb76ca8 --- /dev/null +++ b/pages.ta/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> இக்கட்டளை `ftp` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ftp` diff --git a/pages.ta/osx/ggrep.md b/pages.ta/osx/ggrep.md new file mode 100644 index 00000000000000..0fff3dec804638 --- /dev/null +++ b/pages.ta/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> இக்கட்டளை `grep` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr grep` diff --git a/pages.ta/osx/ggroups.md b/pages.ta/osx/ggroups.md new file mode 100644 index 00000000000000..361ea691c9369f --- /dev/null +++ b/pages.ta/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> இக்கட்டளை `groups` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr groups` diff --git a/pages.ta/osx/ghead.md b/pages.ta/osx/ghead.md new file mode 100644 index 00000000000000..c13b3c5920d03c --- /dev/null +++ b/pages.ta/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> இக்கட்டளை `-p linux head` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.ta/osx/ghostid.md b/pages.ta/osx/ghostid.md new file mode 100644 index 00000000000000..c22193e126ea2d --- /dev/null +++ b/pages.ta/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> இக்கட்டளை `hostid` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr hostid` diff --git a/pages.ta/osx/ghostname.md b/pages.ta/osx/ghostname.md new file mode 100644 index 00000000000000..01478a1d1a46c9 --- /dev/null +++ b/pages.ta/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> இக்கட்டளை `hostname` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr hostname` diff --git a/pages.ta/osx/gid.md b/pages.ta/osx/gid.md new file mode 100644 index 00000000000000..444d77ac375503 --- /dev/null +++ b/pages.ta/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> இக்கட்டளை `id` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr id` diff --git a/pages.ta/osx/gifconfig.md b/pages.ta/osx/gifconfig.md new file mode 100644 index 00000000000000..0a011b35179143 --- /dev/null +++ b/pages.ta/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> இக்கட்டளை `ifconfig` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ifconfig` diff --git a/pages.ta/osx/gindent.md b/pages.ta/osx/gindent.md new file mode 100644 index 00000000000000..53f780202103e3 --- /dev/null +++ b/pages.ta/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> இக்கட்டளை `indent` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.ta/osx/ginstall.md b/pages.ta/osx/ginstall.md new file mode 100644 index 00000000000000..03a879683de489 --- /dev/null +++ b/pages.ta/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> இக்கட்டளை `install` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr install` diff --git a/pages.ta/osx/gjoin.md b/pages.ta/osx/gjoin.md new file mode 100644 index 00000000000000..1464fb00e92f49 --- /dev/null +++ b/pages.ta/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> இக்கட்டளை `join` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr join` diff --git a/pages.ta/osx/gkill.md b/pages.ta/osx/gkill.md new file mode 100644 index 00000000000000..433b44eb6ed72a --- /dev/null +++ b/pages.ta/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> இக்கட்டளை `-p linux kill` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.ta/osx/glibtool.md b/pages.ta/osx/glibtool.md new file mode 100644 index 00000000000000..2cc3314183b320 --- /dev/null +++ b/pages.ta/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> இக்கட்டளை `-p linux libtool` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.ta/osx/glibtoolize.md b/pages.ta/osx/glibtoolize.md new file mode 100644 index 00000000000000..977751565ebf2c --- /dev/null +++ b/pages.ta/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> இக்கட்டளை `-p linux libtoolize` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.ta/osx/glink.md b/pages.ta/osx/glink.md new file mode 100644 index 00000000000000..ebacb91642b55d --- /dev/null +++ b/pages.ta/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> இக்கட்டளை `link` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr link` diff --git a/pages.ta/osx/gln.md b/pages.ta/osx/gln.md new file mode 100644 index 00000000000000..f429878a4970f6 --- /dev/null +++ b/pages.ta/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> இக்கட்டளை `ln` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ln` diff --git a/pages.ta/osx/glocate.md b/pages.ta/osx/glocate.md new file mode 100644 index 00000000000000..ddb4e075231245 --- /dev/null +++ b/pages.ta/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> இக்கட்டளை `-p linux locate` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.ta/osx/glogger.md b/pages.ta/osx/glogger.md new file mode 100644 index 00000000000000..e9b470267d784f --- /dev/null +++ b/pages.ta/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> இக்கட்டளை `-p linux logger` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.ta/osx/glogname.md b/pages.ta/osx/glogname.md new file mode 100644 index 00000000000000..9513e0cf2a7cc7 --- /dev/null +++ b/pages.ta/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> இக்கட்டளை `logname` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr logname` diff --git a/pages.ta/osx/gls.md b/pages.ta/osx/gls.md new file mode 100644 index 00000000000000..4b70d8d389dd45 --- /dev/null +++ b/pages.ta/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> இக்கட்டளை `ls` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ls` diff --git a/pages.ta/osx/gmake.md b/pages.ta/osx/gmake.md new file mode 100644 index 00000000000000..d4efdb3bc84477 --- /dev/null +++ b/pages.ta/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> இக்கட்டளை `make` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr make` diff --git a/pages.ta/osx/gmd5sum.md b/pages.ta/osx/gmd5sum.md new file mode 100644 index 00000000000000..3ecad4535bf51b --- /dev/null +++ b/pages.ta/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> இக்கட்டளை `md5sum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr md5sum` diff --git a/pages.ta/osx/gmkdir.md b/pages.ta/osx/gmkdir.md new file mode 100644 index 00000000000000..17253e2e3a3700 --- /dev/null +++ b/pages.ta/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> இக்கட்டளை `mkdir` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr mkdir` diff --git a/pages.ta/osx/gmkfifo.md b/pages.ta/osx/gmkfifo.md new file mode 100644 index 00000000000000..8e3d82769006ea --- /dev/null +++ b/pages.ta/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> இக்கட்டளை `mkfifo` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr mkfifo` diff --git a/pages.ta/osx/gmknod.md b/pages.ta/osx/gmknod.md new file mode 100644 index 00000000000000..9f0568c9f36eb9 --- /dev/null +++ b/pages.ta/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> இக்கட்டளை `-p linux mknod` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.ta/osx/gmktemp.md b/pages.ta/osx/gmktemp.md new file mode 100644 index 00000000000000..481ef451aa539e --- /dev/null +++ b/pages.ta/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> இக்கட்டளை `-p linux mktemp` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.ta/osx/gmv.md b/pages.ta/osx/gmv.md new file mode 100644 index 00000000000000..7c94cf517f32b6 --- /dev/null +++ b/pages.ta/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> இக்கட்டளை `mv` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr mv` diff --git a/pages.ta/osx/gnice.md b/pages.ta/osx/gnice.md new file mode 100644 index 00000000000000..f1a5d9ef831e96 --- /dev/null +++ b/pages.ta/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> இக்கட்டளை `nice` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr nice` diff --git a/pages.ta/osx/gnl.md b/pages.ta/osx/gnl.md new file mode 100644 index 00000000000000..6a022200f4b4e0 --- /dev/null +++ b/pages.ta/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> இக்கட்டளை `-p linux nl` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.ta/osx/gnohup.md b/pages.ta/osx/gnohup.md new file mode 100644 index 00000000000000..7a10c83edf0c4f --- /dev/null +++ b/pages.ta/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> இக்கட்டளை `nohup` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr nohup` diff --git a/pages.ta/osx/gnproc.md b/pages.ta/osx/gnproc.md new file mode 100644 index 00000000000000..93fd3359f2eae0 --- /dev/null +++ b/pages.ta/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> இக்கட்டளை `nproc` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr nproc` diff --git a/pages.ta/osx/gnumfmt.md b/pages.ta/osx/gnumfmt.md new file mode 100644 index 00000000000000..3e1c58a1a21808 --- /dev/null +++ b/pages.ta/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> இக்கட்டளை `numfmt` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr numfmt` diff --git a/pages.ta/osx/god.md b/pages.ta/osx/god.md new file mode 100644 index 00000000000000..90b82be3136663 --- /dev/null +++ b/pages.ta/osx/god.md @@ -0,0 +1,7 @@ +# god + +> இக்கட்டளை `od` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr od` diff --git a/pages.ta/osx/gpaste.md b/pages.ta/osx/gpaste.md new file mode 100644 index 00000000000000..18d9ea12b72021 --- /dev/null +++ b/pages.ta/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> இக்கட்டளை `paste` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr paste` diff --git a/pages.ta/osx/gpathchk.md b/pages.ta/osx/gpathchk.md new file mode 100644 index 00000000000000..5eb58d111cf9f5 --- /dev/null +++ b/pages.ta/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> இக்கட்டளை `pathchk` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr pathchk` diff --git a/pages.ta/osx/gping.md b/pages.ta/osx/gping.md new file mode 100644 index 00000000000000..f3441be3c467c9 --- /dev/null +++ b/pages.ta/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> இக்கட்டளை `ping` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.ta/osx/gping6.md b/pages.ta/osx/gping6.md new file mode 100644 index 00000000000000..ab32cb94608002 --- /dev/null +++ b/pages.ta/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> இக்கட்டளை `ping6` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr ping6` diff --git a/pages.ta/osx/gpinky.md b/pages.ta/osx/gpinky.md new file mode 100644 index 00000000000000..fd186d52942de0 --- /dev/null +++ b/pages.ta/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> இக்கட்டளை `pinky` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr pinky` diff --git a/pages.ta/osx/gpr.md b/pages.ta/osx/gpr.md new file mode 100644 index 00000000000000..f6aabca02ddcf7 --- /dev/null +++ b/pages.ta/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> இக்கட்டளை `pr` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr pr` diff --git a/pages.ta/osx/gprintenv.md b/pages.ta/osx/gprintenv.md new file mode 100644 index 00000000000000..bf882948f5034a --- /dev/null +++ b/pages.ta/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> இக்கட்டளை `printenv` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr printenv` diff --git a/pages.ta/osx/gprintf.md b/pages.ta/osx/gprintf.md new file mode 100644 index 00000000000000..9b07b798780987 --- /dev/null +++ b/pages.ta/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> இக்கட்டளை `printf` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr printf` diff --git a/pages.ta/osx/gptx.md b/pages.ta/osx/gptx.md new file mode 100644 index 00000000000000..ec3542af15a855 --- /dev/null +++ b/pages.ta/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> இக்கட்டளை `-p linux ptx` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.ta/osx/gpwd.md b/pages.ta/osx/gpwd.md new file mode 100644 index 00000000000000..ef37c35c51d023 --- /dev/null +++ b/pages.ta/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> இக்கட்டளை `pwd` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr pwd` diff --git a/pages.ta/osx/grcp.md b/pages.ta/osx/grcp.md new file mode 100644 index 00000000000000..5e553a9ce6f9b4 --- /dev/null +++ b/pages.ta/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> இக்கட்டளை `-p linux rcp` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.ta/osx/greadlink.md b/pages.ta/osx/greadlink.md new file mode 100644 index 00000000000000..2b94da06649a91 --- /dev/null +++ b/pages.ta/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> இக்கட்டளை `readlink` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr readlink` diff --git a/pages.ta/osx/grealpath.md b/pages.ta/osx/grealpath.md new file mode 100644 index 00000000000000..fff08f3aa3b702 --- /dev/null +++ b/pages.ta/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> இக்கட்டளை `realpath` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr realpath` diff --git a/pages.ta/osx/grexec.md b/pages.ta/osx/grexec.md new file mode 100644 index 00000000000000..68b158bf2f07bd --- /dev/null +++ b/pages.ta/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> இக்கட்டளை `-p linux rexec` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.ta/osx/grlogin.md b/pages.ta/osx/grlogin.md new file mode 100644 index 00000000000000..20380f85baf494 --- /dev/null +++ b/pages.ta/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> இக்கட்டளை `-p linux rlogin` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.ta/osx/grm.md b/pages.ta/osx/grm.md new file mode 100644 index 00000000000000..0ad59567402f17 --- /dev/null +++ b/pages.ta/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> இக்கட்டளை `rm` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr rm` diff --git a/pages.ta/osx/grmdir.md b/pages.ta/osx/grmdir.md new file mode 100644 index 00000000000000..73041e9bd5868a --- /dev/null +++ b/pages.ta/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> இக்கட்டளை `rmdir` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr rmdir` diff --git a/pages.ta/osx/grsh.md b/pages.ta/osx/grsh.md new file mode 100644 index 00000000000000..1e9486b1d511a9 --- /dev/null +++ b/pages.ta/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> இக்கட்டளை `-p linux rsh` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.ta/osx/gruncon.md b/pages.ta/osx/gruncon.md new file mode 100644 index 00000000000000..a99478fc58713a --- /dev/null +++ b/pages.ta/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> இக்கட்டளை `-p linux runcon` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.ta/osx/gsed.md b/pages.ta/osx/gsed.md new file mode 100644 index 00000000000000..74a7e5e128279b --- /dev/null +++ b/pages.ta/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> இக்கட்டளை `-p linux sed` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.ta/osx/gseq.md b/pages.ta/osx/gseq.md new file mode 100644 index 00000000000000..55f31917502aad --- /dev/null +++ b/pages.ta/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> இக்கட்டளை `seq` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr seq` diff --git a/pages.ta/osx/gsha1sum.md b/pages.ta/osx/gsha1sum.md new file mode 100644 index 00000000000000..669e140d69edca --- /dev/null +++ b/pages.ta/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> இக்கட்டளை `sha1sum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr sha1sum` diff --git a/pages.ta/osx/gsha224sum.md b/pages.ta/osx/gsha224sum.md new file mode 100644 index 00000000000000..5c12dbff6aa0e8 --- /dev/null +++ b/pages.ta/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> இக்கட்டளை `sha224sum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr sha224sum` diff --git a/pages.ta/osx/gsha256sum.md b/pages.ta/osx/gsha256sum.md new file mode 100644 index 00000000000000..008555ee9c9731 --- /dev/null +++ b/pages.ta/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> இக்கட்டளை `sha256sum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr sha256sum` diff --git a/pages.ta/osx/gsha384sum.md b/pages.ta/osx/gsha384sum.md new file mode 100644 index 00000000000000..f91ccc46da5efe --- /dev/null +++ b/pages.ta/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> இக்கட்டளை `sha384sum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr sha384sum` diff --git a/pages.ta/osx/gsha512sum.md b/pages.ta/osx/gsha512sum.md new file mode 100644 index 00000000000000..ecb21800d26696 --- /dev/null +++ b/pages.ta/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> இக்கட்டளை `sha512sum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr sha512sum` diff --git a/pages.ta/osx/gshred.md b/pages.ta/osx/gshred.md new file mode 100644 index 00000000000000..86c50648b1afe5 --- /dev/null +++ b/pages.ta/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> இக்கட்டளை `shred` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr shred` diff --git a/pages.ta/osx/gshuf.md b/pages.ta/osx/gshuf.md new file mode 100644 index 00000000000000..be2bfbd5e6d7a4 --- /dev/null +++ b/pages.ta/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> இக்கட்டளை `shuf` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.ta/osx/gsleep.md b/pages.ta/osx/gsleep.md new file mode 100644 index 00000000000000..ffd10debe5bda0 --- /dev/null +++ b/pages.ta/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> இக்கட்டளை `-p linux sleep` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.ta/osx/gsort.md b/pages.ta/osx/gsort.md new file mode 100644 index 00000000000000..a06edbb03ade3d --- /dev/null +++ b/pages.ta/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> இக்கட்டளை `sort` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr sort` diff --git a/pages.ta/osx/gsplit.md b/pages.ta/osx/gsplit.md new file mode 100644 index 00000000000000..73632da89ab517 --- /dev/null +++ b/pages.ta/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> இக்கட்டளை `split` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.ta/osx/gstat.md b/pages.ta/osx/gstat.md new file mode 100644 index 00000000000000..9981f1e10db6e3 --- /dev/null +++ b/pages.ta/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> இக்கட்டளை `stat` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.ta/osx/gstdbuf.md b/pages.ta/osx/gstdbuf.md new file mode 100644 index 00000000000000..49747cf1679b0a --- /dev/null +++ b/pages.ta/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> இக்கட்டளை `stdbuf` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr stdbuf` diff --git a/pages.ta/osx/gstty.md b/pages.ta/osx/gstty.md new file mode 100644 index 00000000000000..20519dd35cdf1c --- /dev/null +++ b/pages.ta/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> இக்கட்டளை `stty` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr stty` diff --git a/pages.ta/osx/gsum.md b/pages.ta/osx/gsum.md new file mode 100644 index 00000000000000..1bc0da138bb6f5 --- /dev/null +++ b/pages.ta/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> இக்கட்டளை `sum` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr sum` diff --git a/pages.ta/osx/gsync.md b/pages.ta/osx/gsync.md new file mode 100644 index 00000000000000..37947c83dfb080 --- /dev/null +++ b/pages.ta/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> இக்கட்டளை `sync` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr sync` diff --git a/pages.ta/osx/gtac.md b/pages.ta/osx/gtac.md new file mode 100644 index 00000000000000..16d821667b134b --- /dev/null +++ b/pages.ta/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> இக்கட்டளை `tac` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr tac` diff --git a/pages.ta/osx/gtail.md b/pages.ta/osx/gtail.md new file mode 100644 index 00000000000000..6c2dc1b06286ce --- /dev/null +++ b/pages.ta/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> இக்கட்டளை `tail` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.ta/osx/gtalk.md b/pages.ta/osx/gtalk.md new file mode 100644 index 00000000000000..b84e07be3de587 --- /dev/null +++ b/pages.ta/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> இக்கட்டளை `-p linux talk` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.ta/osx/gtar.md b/pages.ta/osx/gtar.md new file mode 100644 index 00000000000000..03d3b59f31752c --- /dev/null +++ b/pages.ta/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> இக்கட்டளை `tar` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr tar` diff --git a/pages.ta/osx/gtee.md b/pages.ta/osx/gtee.md new file mode 100644 index 00000000000000..1e67237c57f245 --- /dev/null +++ b/pages.ta/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> இக்கட்டளை `tee` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr tee` diff --git a/pages.ta/osx/gtelnet.md b/pages.ta/osx/gtelnet.md new file mode 100644 index 00000000000000..3f912d83d55b18 --- /dev/null +++ b/pages.ta/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> இக்கட்டளை `telnet` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr telnet` diff --git a/pages.ta/osx/gtest.md b/pages.ta/osx/gtest.md new file mode 100644 index 00000000000000..a276f41fde6c45 --- /dev/null +++ b/pages.ta/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> இக்கட்டளை `test` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr test` diff --git a/pages.ta/osx/gtftp.md b/pages.ta/osx/gtftp.md new file mode 100644 index 00000000000000..03a1db027b0715 --- /dev/null +++ b/pages.ta/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> இக்கட்டளை `-p linux tftp` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.ta/osx/gtime.md b/pages.ta/osx/gtime.md new file mode 100644 index 00000000000000..14644afee1a3c8 --- /dev/null +++ b/pages.ta/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> இக்கட்டளை `time` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr time` diff --git a/pages.ta/osx/gtimeout.md b/pages.ta/osx/gtimeout.md new file mode 100644 index 00000000000000..8c5d13f25d43b8 --- /dev/null +++ b/pages.ta/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> இக்கட்டளை `timeout` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr timeout` diff --git a/pages.ta/osx/gtouch.md b/pages.ta/osx/gtouch.md new file mode 100644 index 00000000000000..ea9ecd26cb37fa --- /dev/null +++ b/pages.ta/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> இக்கட்டளை `touch` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr touch` diff --git a/pages.ta/osx/gtr.md b/pages.ta/osx/gtr.md new file mode 100644 index 00000000000000..3bb8cd2dfa0816 --- /dev/null +++ b/pages.ta/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> இக்கட்டளை `tr` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr tr` diff --git a/pages.ta/osx/gtraceroute.md b/pages.ta/osx/gtraceroute.md new file mode 100644 index 00000000000000..06592a0344c5d5 --- /dev/null +++ b/pages.ta/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> இக்கட்டளை `traceroute` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr traceroute` diff --git a/pages.ta/osx/gtrue.md b/pages.ta/osx/gtrue.md new file mode 100644 index 00000000000000..dcf3f785bd0be7 --- /dev/null +++ b/pages.ta/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> இக்கட்டளை `true` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr true` diff --git a/pages.ta/osx/gtruncate.md b/pages.ta/osx/gtruncate.md new file mode 100644 index 00000000000000..3f6b0dcda684e5 --- /dev/null +++ b/pages.ta/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> இக்கட்டளை `truncate` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr truncate` diff --git a/pages.ta/osx/gtsort.md b/pages.ta/osx/gtsort.md new file mode 100644 index 00000000000000..94265073c966e7 --- /dev/null +++ b/pages.ta/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> இக்கட்டளை `tsort` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr tsort` diff --git a/pages.ta/osx/gtty.md b/pages.ta/osx/gtty.md new file mode 100644 index 00000000000000..2fedf8e1ae5aca --- /dev/null +++ b/pages.ta/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> இக்கட்டளை `tty` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr tty` diff --git a/pages.ta/osx/guname.md b/pages.ta/osx/guname.md new file mode 100644 index 00000000000000..26c3c8839e2556 --- /dev/null +++ b/pages.ta/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> இக்கட்டளை `uname` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.ta/osx/gunexpand.md b/pages.ta/osx/gunexpand.md new file mode 100644 index 00000000000000..a669ee62de82a5 --- /dev/null +++ b/pages.ta/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> இக்கட்டளை `unexpand` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr unexpand` diff --git a/pages.ta/osx/guniq.md b/pages.ta/osx/guniq.md new file mode 100644 index 00000000000000..61e1e31ae206cf --- /dev/null +++ b/pages.ta/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> இக்கட்டளை `uniq` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr uniq` diff --git a/pages.ta/osx/gunits.md b/pages.ta/osx/gunits.md new file mode 100644 index 00000000000000..3e150367f0ee1d --- /dev/null +++ b/pages.ta/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> இக்கட்டளை `units` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr units` diff --git a/pages.ta/osx/gunlink.md b/pages.ta/osx/gunlink.md new file mode 100644 index 00000000000000..ac755bf427beb0 --- /dev/null +++ b/pages.ta/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> இக்கட்டளை `unlink` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr unlink` diff --git a/pages.ta/osx/gupdatedb.md b/pages.ta/osx/gupdatedb.md new file mode 100644 index 00000000000000..584dcba3c76c1c --- /dev/null +++ b/pages.ta/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> இக்கட்டளை `-p linux updatedb` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.ta/osx/guptime.md b/pages.ta/osx/guptime.md new file mode 100644 index 00000000000000..19a2c0d1df491f --- /dev/null +++ b/pages.ta/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> இக்கட்டளை `uptime` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.ta/osx/gusers.md b/pages.ta/osx/gusers.md new file mode 100644 index 00000000000000..7dabccc80bf862 --- /dev/null +++ b/pages.ta/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> இக்கட்டளை `users` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr users` diff --git a/pages.ta/osx/gvdir.md b/pages.ta/osx/gvdir.md new file mode 100644 index 00000000000000..c4ae5e76bbaf11 --- /dev/null +++ b/pages.ta/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> இக்கட்டளை `vdir` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr vdir` diff --git a/pages.ta/osx/gwc.md b/pages.ta/osx/gwc.md new file mode 100644 index 00000000000000..6a2b9e733f618f --- /dev/null +++ b/pages.ta/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> இக்கட்டளை `wc` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.ta/osx/gwhich.md b/pages.ta/osx/gwhich.md new file mode 100644 index 00000000000000..03abd48169f344 --- /dev/null +++ b/pages.ta/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> இக்கட்டளை `which` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr which` diff --git a/pages.ta/osx/gwho.md b/pages.ta/osx/gwho.md new file mode 100644 index 00000000000000..f2d58e3f168859 --- /dev/null +++ b/pages.ta/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> இக்கட்டளை `who` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr who` diff --git a/pages.ta/osx/gwhoami.md b/pages.ta/osx/gwhoami.md new file mode 100644 index 00000000000000..5e790e0a09081e --- /dev/null +++ b/pages.ta/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> இக்கட்டளை `whoami` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr whoami` diff --git a/pages.ta/osx/gwhois.md b/pages.ta/osx/gwhois.md new file mode 100644 index 00000000000000..af7b242b27893e --- /dev/null +++ b/pages.ta/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> இக்கட்டளை `whois` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr whois` diff --git a/pages.ta/osx/gxargs.md b/pages.ta/osx/gxargs.md new file mode 100644 index 00000000000000..29141cb38601a0 --- /dev/null +++ b/pages.ta/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> இக்கட்டளை `xargs` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr xargs` diff --git a/pages.ta/osx/gyes.md b/pages.ta/osx/gyes.md new file mode 100644 index 00000000000000..dd276fb7ed5937 --- /dev/null +++ b/pages.ta/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> இக்கட்டளை `yes` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr yes` diff --git a/pages.ta/osx/launchd.md b/pages.ta/osx/launchd.md new file mode 100644 index 00000000000000..46041bf1ff0a12 --- /dev/null +++ b/pages.ta/osx/launchd.md @@ -0,0 +1,13 @@ +# launchd + +> இது கணினி மற்றும் பயனர்களுக்கான செயல்முறைகளை நிர்வகிக்கிறது. +> கைமுறையாகத் `launchd` நீங்கள் அழைக்க முடியாது, அதனுடன் தொடர்பு கொள்ள `launchctl` ஐப் பயன்படுத்தவும். +> மேலும் விவரத்திற்கு: . + +- init ஐ இயக்கவும்: + +`/sbin/launchd` + +- `launchctl` ஐப் பயன்படுத்தி `launchd` உடன் தொடர்புகொள்வதற்கான ஆவணங்களைப் காண்க: + +`tldr launchctl` diff --git a/pages.ta/osx/uname.md b/pages.ta/osx/uname.md new file mode 100644 index 00000000000000..5868eef56dec22 --- /dev/null +++ b/pages.ta/osx/uname.md @@ -0,0 +1,25 @@ +# uname + +> தற்போதைய இயந்திரம் மற்றும் அதில் இயங்கும் இயக்க முறைமை பற்றிய விவரங்களை அச்சிடவும். +> குறிப்பு: இயக்க முறைமை பற்றிய கூடுதல் தகவலுக்கு, `sw_vers` கட்டளையை முயற்சிக்கவும். +> மேலும் விவரத்திற்கு: . + +- கர்னல் பெயரை அச்சிடவும்: + +`uname` + +- கணினி கட்டமைப்பு மற்றும் செயலி தகவலை அச்சிடவும்: + +`uname -mp` + +- கர்னல் பெயர், கர்னல் வெளியீடு மற்றும் கர்னல் பதிப்பை அச்சிடவும்: + +`uname -srv` + +- அச்சு அமைப்பு ஹோஸ்ட்பெயரை: + +`uname -n` + +- கிடைக்கக்கூடிய அனைத்து கணினி தகவல்களையும் அச்சிடவும்: + +`uname -a` diff --git a/pages.ta/sunos/devfsadm.md b/pages.ta/sunos/devfsadm.md new file mode 100644 index 00000000000000..b3a0d391d37948 --- /dev/null +++ b/pages.ta/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> `/dev` க்கான நிர்வாக கட்டளை. `/dev` பெயர்வெளியை பராமரிக்கிறது. +> மேலும் விவரத்திற்கு: . + +- புதிய டிஸ்க்குகளை ஸ்கேன் செய்யவும்: + +`devfsadm -c disk` + +- தொங்கும் /தேவ் இணைப்புகளை சுத்தம் செய்து புதிய சாதனத்தை ஸ்கேன் செய்யவும்: + +`devfsadm -C -v` + +- ட்ரை-ரன் - என்ன மாற்றப்படும் என்பதை வெளியீடு ஆனால் எந்த மாற்றமும் செய்யாது: + +`devfsadm -C -v -n` diff --git a/pages.ta/sunos/dmesg.md b/pages.ta/sunos/dmesg.md new file mode 100644 index 00000000000000..7da0bb5bcdcef8 --- /dev/null +++ b/pages.ta/sunos/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> கர்னல் செய்திகளை நிலையான வெளியீட்டிற்கு எழுதவும். +> மேலும் விவரத்திற்கு: . + +- கர்னல் செய்திகளைக் காட்டு: + +`dmesg` + +- இந்த அமைப்பில் எவ்வளவு இயற்பியல் நினைவகம் உள்ளது என்பதைக் காட்டுங்கள்: + +`dmesg | grep -i memory` + +- ஒரு நேரத்தில் 1 பக்கம் கர்னல் செய்திகளைக் காட்டு: + +`dmesg | less` diff --git a/pages.ta/sunos/prctl.md b/pages.ta/sunos/prctl.md new file mode 100644 index 00000000000000..76d25894bb4d36 --- /dev/null +++ b/pages.ta/sunos/prctl.md @@ -0,0 +1,16 @@ +# prctl + +> இயங்கும் செயல்முறைகளின், பணிகள் மற்றும் திட்டங்களின் ஆதாரக் கட்டுப்பாடு பெறவும் அல்லது அமைக்கவும். +> மேலும் விவரத்திற்கு: . + +- செயல்முறை வரம்புகள் மற்றும் அனுமதிகளை ஆய்வு செய்: + +`prctl {{pid}}` + +- இயந்திர பாகுபடுத்தக்கூடிய வடிவத்தில் செயல்முறை வரம்புகள் மற்றும் அனுமதிகளை ஆய்வு செய்: + +`prctl -P {{pid}}` + +- இயங்கும் செயல்முறைக்கான குறிப்பிட்ட வரம்பைப் பெறுங்கள்: + +`prctl -n process.max-file-descriptor {{pid}}` diff --git a/pages.ta/sunos/prstat.md b/pages.ta/sunos/prstat.md new file mode 100644 index 00000000000000..d1690767501137 --- /dev/null +++ b/pages.ta/sunos/prstat.md @@ -0,0 +1,24 @@ +# prstat + +> செயலில் உள்ள செயல்முறை புள்ளிவிவரங்களைப் புகாரளிக்கவும். +> மேலும் விவரத்திற்கு: . + +- CPU பயன்பாட்டின்படி வரிசைப்படுத்தப்பட்ட அனைத்து செயல்முறைகள் மற்றும் அறிக்கைகளின் புள்ளிவிவரங்களை ஆய்வு செய்யவும்: + +`prstat` + +- அனைத்து செயல்முறைகளையும் ஆய்வு செய்து, நினைவக பயன்பாட்டின்படி வரிசைப்படுத்தப்பட்ட புள்ளிவிவரங்களைப் புகாரளிக்கவும்: + +`prstat -s rss` + +- ஒவ்வொரு பயனருக்கும் மொத்த பயன்பாட்டுச் சுருக்கத்தைப் புகாரளிக்கவும்: + +`prstat -t` + +- மைக்ரோஸ்டேட் செயல்முறை கணக்கியல் தகவலைப் புகாரளிக்கவும்: + +`prstat -m` + +- ஒவ்வொரு நொடியும் செயல்முறைகளைப் பயன்படுத்தி முதல் 5 CPU இன் பட்டியலை அச்சிடவும்: + +`prstat -c -n 5 -s cpu 1` diff --git a/pages.ta/sunos/snoop.md b/pages.ta/sunos/snoop.md new file mode 100644 index 00000000000000..bd28aac01c3812 --- /dev/null +++ b/pages.ta/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> நெட்வொர்க் பாக்கெட் ஸ்னிஃபர். +> tcpdump சமமான SunOS. +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட பிணைய இடைமுகத்தில் பாக்கெட்டுகளைப் பிடிக்கவும்: + +`snoop -d {{e1000g0}}` + +- கைப்பற்றப்பட்ட பாக்கெட்டுகளைக் காட்டுவதற்குப் பதிலாக ஒரு கோப்பில் சேமிக்கவும்: + +`snoop -o {{கோப்புப்_பெயர்}}` + +- ஒரு கோப்பிலிருந்து பாக்கெட்டுகளின் வெர்போஸ் புரோட்டோகால் லேயர் சுருக்கத்தைக் காண்பி: + +`snoop -V -i {{கோப்புப்_பெயர்}}` + +- ஹோஸ்ட்பெயரில் இருந்து வரும் நெட்வொர்க் பாக்கெட்டுகளைப் பிடித்து, கொடுக்கப்பட்ட போர்ட்டிற்குச் செல்லவும்: + +`snoop to port {{போர்ட்}} from host {{புரவலன்_பெயர்}}` + +- இரண்டு ஐபி முகவரிகளுக்கு இடையே பரிமாற்றம் செய்யப்பட்ட நெட்வொர்க் பாக்கெட்டுகளின் ஹெக்ஸ்-டம்ப்பைப் பிடித்துக் காட்டவும்: + +`snoop -x0 -p4 {{ஐபி_முகவரி_1}} {{ஐபி_முகவரி_2}}` diff --git a/pages.ta/sunos/svcadm.md b/pages.ta/sunos/svcadm.md new file mode 100644 index 00000000000000..98fd8f978340ba --- /dev/null +++ b/pages.ta/sunos/svcadm.md @@ -0,0 +1,24 @@ +# svcadm + +> சேவை நிகழ்வுகளை கையாளவும். +> மேலும் விவரத்திற்கு: . + +- சேவை தரவுத்தளத்தில் சேவையை இயக்கவும்: + +`svcadm enable {{சேவை_பெயர்}}` + +- சேவையை முடக்கு: + +`svcadm disable {{சேவை_பெயர்}}` + +- இயங்கும் சேவையை மீண்டும் தொடங்கவும்: + +`svcadm restart {{சேவை_பெயர்}}` + +- உள்ளமைவு கோப்புகளை மீண்டும் படிக்க கட்டளை சேவை: + +`svcadm refresh {{சேவை_பெயர்}}` + +- பராமரிப்பு நிலையிலிருந்து ஒரு சேவையை தெளிவாகி அதைத் தொடங்குமாறு கட்டளையிடவும்: + +`svcadm clear {{சேவை_பெயர்}}` diff --git a/pages.ta/sunos/svccfg.md b/pages.ta/sunos/svccfg.md new file mode 100644 index 00000000000000..7c8f7a0a00e840 --- /dev/null +++ b/pages.ta/sunos/svccfg.md @@ -0,0 +1,16 @@ +# svccfg + +> சேவை உள்ளமைவுகளை இறக்குமதி செய்யவும், ஏற்றுமதி செய்யவும் மற்றும் மாற்றவும். +> மேலும் விவரத்திற்கு: . + +- உள்ளமைவு கோப்பை சரிபார்க்கவும்: + +`svccfg validate {{smf.xml}}` + +- கோப்பிற்கு சேவை உள்ளமைவுகளை ஏற்றுமதி செய்யவும்: + +`svccfg export {{சேவை_பெயர்}} > {{smf.xml}}` + +- கோப்பிலிருந்து சேவை உள்ளமைவுகளை இறக்குமதி/புதுப்பித்தல்: + +`svccfg import {{smf.xml}}` diff --git a/pages.ta/sunos/svcs.md b/pages.ta/sunos/svcs.md new file mode 100644 index 00000000000000..33d5ad150981a2 --- /dev/null +++ b/pages.ta/sunos/svcs.md @@ -0,0 +1,24 @@ +# svcs + +> இயங்கும் சேவைகள் பற்றிய தகவல்களை பட்டியலிடுங்கள். +> மேலும் விவரத்திற்கு: . + +- இயங்கும் அனைத்து சேவைகளையும் பட்டியலிடுங்கள்: + +`svcs` + +- இயங்காத சேவைகளை பட்டியலிடுங்கள்: + +`svcs -vx` + +- சேவையைப் பற்றிய தகவல்களைப் பட்டியலிடுங்கள்: + +`svcs apache` + +- சேவை பதிவு கோப்பின் இருப்பிடத்தைக் காட்டு: + +`svcs -L apache` + +- சேவை பதிவு கோப்பின் முடிவைக் காண்பி: + +`tail $(svcs -L apache)` diff --git a/pages.ta/sunos/truss.md b/pages.ta/sunos/truss.md new file mode 100644 index 00000000000000..a8555ec036f8f9 --- /dev/null +++ b/pages.ta/sunos/truss.md @@ -0,0 +1,25 @@ +# truss + +> சிஸ்டம் அழைப்புகளைத் தடமறிவதற்கான பிழைகாணல் கருவி. +> ஸ்டிரேஸுக்குச் சமமான SunOS. +> மேலும் விவரத்திற்கு: . + +- அனைத்து குழந்தை செயல்முறைகளையும் பின்பற்றி, அதை செயல்படுத்துவதன் மூலம் ஒரு நிரலைக் கண்டறியத் தொடங்குங்கள்: + +`truss -f {{நிரல்}}` + +- ஒரு குறிப்பிட்ட செயல்முறையை அதன் PID மூலம் கண்டறியத் தொடங்குங்கள்: + +`truss -p {{pid}}` + +- ஒரு நிரலை இயக்குவதன் மூலம், வாதங்கள் மற்றும் சூழல் மாறிகளைக் காண்பிப்பதன் மூலம் அதைக் கண்டுபிடிக்கத் தொடங்குங்கள்: + +`truss -a -e {{நிரல்}}` + +- ஒவ்வொரு கணினி அழைப்பிற்கும் நேரம், அழைப்புகள் மற்றும் பிழைகளை எண்ணி, நிரல் வெளியேறும் போது சுருக்கத்தைப் புகாரளிக்கவும்: + +`truss -c -p {{pid}}` + +- கணினி அழைப்பின் மூலம் செயல்முறை வடிகட்டுதல் வெளியீட்டைக் கண்டறியவும்: + +`truss -p {{pid}} -t {{அமைப்பின்_அழைப்பு_பெயர்}}` diff --git a/pages.ta/windows/assoc.md b/pages.ta/windows/assoc.md new file mode 100644 index 00000000000000..57b4b68dd0a91f --- /dev/null +++ b/pages.ta/windows/assoc.md @@ -0,0 +1,20 @@ +# assoc + +> கோப்பு நீட்டிப்புகள் மற்றும் கோப்பு வகைகளுக்கு இடையே உள்ள தொடர்பைக் காட்டவும் அல்லது மாற்றவும். +> மேலும் விவரத்திற்கு: . + +- கோப்பு நீட்டிப்புகள் மற்றும் கோப்பு வகைகளுக்கு இடையே உள்ள அனைத்து தொடர்புகளையும் பட்டியலிடுங்கள்: + +`assoc` + +- குறிப்பிட்ட நீட்டிப்புக்கான தொடர்புடைய கோப்பு வகையைக் காண்பி: + +`assoc {{.txt}}` + +- குறிப்பிட்ட நீட்டிப்புக்கு தொடர்புடைய கோப்பு வகையை அமைக்கவும்: + +`assoc .{{txt}}={{txtfile}}` + +- ஒரு நேரத்தில் ஒரு திரையின் `assoc` வெளியீட்டைப் பார்க்கவும்: + +`assoc | {{more}}` diff --git a/pages.ta/windows/attrib.md b/pages.ta/windows/attrib.md new file mode 100644 index 00000000000000..fd33db9c682b3e --- /dev/null +++ b/pages.ta/windows/attrib.md @@ -0,0 +1,28 @@ +# attrib + +> கோப்புகள் அல்லது கோப்பகங்களின் பண்புக்கூறுகளைக் காட்டவும் அல்லது மாற்றவும். +> மேலும் விவரத்திற்கு: . + +- தற்போதைய கோப்பகத்தில் கோப்புகளின் அனைத்து தொகுப்பு பண்புகளையும் காண்பி: + +`attrib` + +- ஒரு குறிப்பிட்ட கோப்பகத்தில் கோப்புகளின் அனைத்து செட் பண்புக்கூறுகளையும் காண்பி: + +`attrib {{அடைவிற்குப்\பாதை}}` + +- தற்போதைய கோப்பகத்தில் கோப்புகள் மற்றும் [d]அடைவுகளின் அனைத்து தொகுப்பு பண்புகளையும் காண்பி: + +`attrib /d` + +- தற்போதைய கோப்பகம் மற்றும் [கள்]உப்-கோப்பகங்களில் கோப்புகளின் அனைத்து செட் பண்புக்கூறுகளையும் காண்பி: + +`attrib /s` + +- கோப்புகள் அல்லது கோப்பகங்களில் `[r]ead-only` அல்லது `[a]rchive` அல்லது `[s]ystem` அல்லது `[h]idden` அல்லது `not content [i]nexed` பண்புக்கூறைச் சேர்க்கவும்: + +`attrib +{{r|a|s|h|i}} {{கோப்பு_அல்லது_அடைவு1\பாதை கோப்பு_அல்லது_அடைவு2\பாதை ...}}` + +- கோப்புகள் அல்லது கோப்பகங்களின் குறிப்பிட்ட பண்புகளை அகற்றவும்: + +`attrib -{{r|a|s|h|i}} {{கோப்பு_அல்லது_அடைவு1\பாதை கோப்பு_அல்லது_அடைவு2\பாதை ...}}` diff --git a/pages.ta/windows/azcopy.md b/pages.ta/windows/azcopy.md new file mode 100644 index 00000000000000..0bc62b08fcc9cd --- /dev/null +++ b/pages.ta/windows/azcopy.md @@ -0,0 +1,28 @@ +# azcopy + +> அஸூர் கிளவுட் சேமிப்பகம் கணக்குகளில் பதிவேற்றுவதற்கான கோப்பு பரிமாற்றக் கருவி. +> மேலும் விவரத்திற்கு: . + +- அசூர் குத்தகைதாரரிடம் உள்நுழையவும்: + +`azopy login` + +- உள்ளூர் கோப்பைப் பதிவேற்றவும்: + +`azcopy copy '{{மூலம்_கோப்பு\பாதை}}' 'https://{{சேமிப்பு_கணக்கு_பெயர்}}.blob.core.windows.net/{{கொள்கலன்_பெயர்}}/{{குமிழ்_பெயர்}}'` + +- `.txt` மற்றும் `.jpg` நீட்டிப்புகளுடன் கோப்புகளைப் பதிவேற்றவும்: + +`azcopy copy '{{மூலம்_அடைவு\பாதை}}' 'https://{{சேமிப்பு_கணக்கு_பெயர்}}.blob.core.windows.net/{{கொள்கலன்_பெயர்}}' --include-pattern '{{*.txt;*.jpg}}'` + +- இரண்டு அசூர் சேமிப்பு கணக்குகளுக்கு இடையே நேரடியாக ஒரு கொள்கலனை நகலெடுக்கவும்: + +`azcopy copy 'https://{{மூலம்_சேமிப்பு_கணக்கு_பெயர்}}.blob.core.windows.net/{{கொள்கலன்_பெயர்}}' 'https://{{சேருமிடம்_சேமிப்பு_கணக்கு_பெயர்}}.blob.core.windows.net/{{கொள்கலன்_பெயர்}}'` + +- ஒரு உள்ளூர் கோப்பகத்தை ஒத்திசைக்கவும், மேலும் மூலத்தில் கோப்புகள் இல்லை என்றால் இலக்கில் உள்ள கோப்புகளை நீக்கவும்: + +`azcopy sync '{{மூலம்_அடைவு\பாதை}}' 'https://{{சேமிப்பு_கணக்கு_பெயர்}}.blob.core.windows.net/{{கொள்கலன்_பெயர்}}' --recursive --delete-destination=true` + +- விரிவான பயன்பாட்டுத் தகவலைக் காண்பி: + +`azcopy --help` diff --git a/pages.ta/windows/cd.md b/pages.ta/windows/cd.md index 5c471a9189b957..594093e3ff2781 100644 --- a/pages.ta/windows/cd.md +++ b/pages.ta/windows/cd.md @@ -1,20 +1,33 @@ # cd -> தற்போதைய பணி அடைவின் பெயரைக் காட்டுகிறது அல்லது மாற்றுகிறது. -> மேலும் தகவல்: . +> தற்போதைய வேலை கோப்பகத்தைக் காட்டவும் அல்லது வேறு கோப்பகத்திற்கு நகர்த்தவும். +> PowerShell இல், இந்தக் கட்டளையானது `Set-Location` என்பதன் மாற்றுப் பெயராகும். இந்த ஆவணம் `cd` இன் கட்டளை வரியில் (`cmd`) பதிப்பை அடிப்படையாகக் கொண்டது. +> மேலும் விவரத்திற்கு: . -- அதே இயக்ககத்தில் ஒரு கோப்பகத்திற்குச் செல்லவும்: +- சமமான PowerShell கட்டளையின் ஆவணங்களைக் காண்க: -`cd {{கோப்பகத்திற்கான/பாதை}}` +`tldr set-location` -- தற்போதைய கோப்பகத்தின் பெயரைக் காண்பி: +- தற்போதைய கோப்பகத்தின் பாதையைக் காட்டு: `cd` -- தற்போதைய கோப்பகத்தின் பெற்றோர் வரை செல்லுங்கள்: +- அதே வட்டில் ஒரு குறிப்பிட்ட கோப்பகத்திற்குச் செல்லவும்: + +`cd {{அடைவிற்குப்\பாதை}}` + +- வேறு [d] இயக்ககத்தில் உள்ள குறிப்பிட்ட கோப்பகத்திற்குச் செல்லவும்: + +`cd /d {{C}}:{{அடைவிற்குப்\பாதை}}` + +- தற்போதைய கோப்பகத்தின் பெற்றோருக்குச் செல்லவும்: `cd ..` -- வேறு இயக்ககத்தில் ஒரு கோப்பகத்திற்குச் செல்லவும்: +- தற்போதைய பயனரின் முகப்பு கோப்பகத்திற்குச் செல்லவும்: + +`cd %userprofile%` + +- தற்போதைய வட்டில் வேருக்கு செல்லவும்: -`cd {{கோப்பகத்திற்கான/பாதை}} /d` +`cd \` diff --git a/pages.ta/windows/chkdsk.md b/pages.ta/windows/chkdsk.md new file mode 100644 index 00000000000000..6ceb4c49c5705c --- /dev/null +++ b/pages.ta/windows/chkdsk.md @@ -0,0 +1,20 @@ +# chkdsk + +> பிழைகளுக்கு கோப்பு முறைமை மற்றும் தொகுதி மெட்டாடேட்டாவைச் சரிபார்க்கவும். +> மேலும் விவரத்திற்கு: . + +- சரிபார்க்க டிரைவ் லெட்டர் (பெருங்குடல்), மவுண்ட் பாயிண்ட் அல்லது தொகுதி பெயரைக் குறிப்பிடவும்: + +`chkdsk {{தொகுதி}}` + +- ஒரு குறிப்பிட்ட தொகுதியில் பிழைகளை சரிசெய்யவும்: + +`chkdsk {{தொகுதி}} /f` + +- சரிபார்க்கும் முன் ஒரு குறிப்பிட்ட தொகுதியை இறக்கவும்: + +`chkdsk {{தொகுதி}} /x` + +- பதிவு கோப்பு அளவை குறிப்பிட்ட அளவிற்கு மாற்றவும் (NTFS க்கு மட்டும்): + +`chkdsk /l{{அளவு}}` diff --git a/pages.ta/windows/choco-apikey.md b/pages.ta/windows/choco-apikey.md new file mode 100644 index 00000000000000..f91e7b730abe63 --- /dev/null +++ b/pages.ta/windows/choco-apikey.md @@ -0,0 +1,20 @@ +# choco apikey + +> சாக்லேட்டி மூலங்களுக்கான API விசைகளை நிர்வகிக்கவும். +> மேலும் விவரத்திற்கு: . + +- ஆதாரங்களின் பட்டியலையும் அவற்றின் API விசைகளையும் காட்டவும்: + +`choco apikey` + +- ஒரு குறிப்பிட்ட மூலத்தையும் அதன் API விசையையும் காண்பி: + +`choco apikey --source "{{மூல_முகவரி}}"` + +- மூலத்திற்கான API விசையை அமைக்கவும்: + +`choco apikey --source "{{மூல_முகவரி}}" --key "{{api_key}}"` + +- மூலத்திற்கான API விசையை அகற்றவும்: + +`choco apikey --source "{{மூல_முகவரி}}" --remove` diff --git a/pages.ta/windows/choco-feature.md b/pages.ta/windows/choco-feature.md new file mode 100644 index 00000000000000..4042f588fb6fde --- /dev/null +++ b/pages.ta/windows/choco-feature.md @@ -0,0 +1,16 @@ +# choco feature + +> சாக்லேட்டியுடன் அம்சங்களுடன் தொடர்பு கொள்ளுங்கள். +> மேலும் விவரத்திற்கு: . + +- கிடைக்கக்கூடிய அம்சங்களின் பட்டியலைக் காண்பி: + +`choco feature list` + +- ஒரு அம்சத்தை இயக்கு: + +`choco feature enable --name {{பெயர்}}` + +- ஒரு அம்சத்தை முடக்கு: + +`choco feature disable --name {{பெயர்}}` diff --git a/pages.ta/windows/choco-info.md b/pages.ta/windows/choco-info.md new file mode 100644 index 00000000000000..6994ba39be3a43 --- /dev/null +++ b/pages.ta/windows/choco-info.md @@ -0,0 +1,20 @@ +# choco info + +> சாக்லேட்டியுடன் கூடிய தொகுப்பு பற்றிய விரிவான தகவலைக் காண்பி. +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட தொகுப்பின் தகவலைக் காட்டு: + +`choco info {{நிரல்தொகுப்பு}}` + +- உள்ளூர் தொகுப்புக்கான தகவலை மட்டும் காட்டு: + +`choco info {{நிரல்தொகுப்பு}} --local-only` + +- தொகுப்புகளின் தகவலைப் பெற தனிப்பயன் மூலத்தைக் குறிப்பிடவும்: + +`choco info {{நிரல்தொகுப்பு}} --source {{மூல_முகவரி|alias}}` + +- அங்கீகாரத்திற்கான பயனர்பெயர் மற்றும் கடவுச்சொல்லை வழங்கவும்: + +`choco info {{நிரல்தொகுப்பு}} --user {{பயனர்பெயர்}} --password {{கடவுச்சொல்}}` diff --git a/pages.ta/windows/choco-install.md b/pages.ta/windows/choco-install.md new file mode 100644 index 00000000000000..d82176b50e8cc3 --- /dev/null +++ b/pages.ta/windows/choco-install.md @@ -0,0 +1,36 @@ +# choco install + +> சாக்லேட்டியுடன் ஒன்று அல்லது அதற்கு மேற்பட்ட தொகுப்புகளை நிறுவவும். +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட இடம் பிரிக்கப்பட்ட தொகுப்புகளை நிறுவவும்: + +`choco install {{நிரல்தொகுப்பு(கள்)\பாதை}}` + +- தனிப்பயன் உள்ளமைவு கோப்பிலிருந்து தொகுப்புகளை நிறுவவும்: + +`choco install {{நிரல்தொகுப்பு.config\பாதை}}` + +- ஒரு குறிப்பிட்ட `nuspec` அல்லது `nupkg` கோப்பை நிறுவவும்: + +`choco install {{கோப்பு\பாதை}}` + +- தொகுப்பின் குறிப்பிட்ட பதிப்பை நிறுவவும்: + +`choco install {{நிரல்தொகுப்பு}} --version {{பதிப்பு}}` + +- ஒரு தொகுப்பின் பல பதிப்புகளை நிறுவ அனுமதிக்கவும்: + +`choco install {{நிரல்தொகுப்பு}} --allow-multiple` + +- அனைத்து அறிவுறுத்தல்களையும் தானாக உறுதிப்படுத்தவும்: + +`choco install {{நிரல்தொகுப்பு}} --yes` + +- தொகுப்புகளைப் பெற தனிப்பயன் மூலத்தைக் குறிப்பிடவும்: + +`choco install {{நிரல்தொகுப்பு}} --source {{மூல_முகவரி|alias}}` + +- அங்கீகாரத்திற்கான பயனர்பெயர் மற்றும் கடவுச்சொல்லை வழங்கவும்: + +`choco install {{நிரல்தொகுப்பு}} --user {{பயனர்பெயர்}} --password {{கடவுச்சொல்}}` diff --git a/pages.ta/windows/choco-list.md b/pages.ta/windows/choco-list.md new file mode 100644 index 00000000000000..fd87217b9b594c --- /dev/null +++ b/pages.ta/windows/choco-list.md @@ -0,0 +1,28 @@ +# choco list + +> சாக்லேட்டியுடன் ஒன்று அல்லது அதற்கு மேற்பட்ட தொகுப்புகளை நிறுவவும். +> மேலும் விவரத்திற்கு: . + +- கிடைக்கக்கூடிய அனைத்து தொகுப்புகளையும் காண்பி: + +`choco list` + +- உள்நாட்டில் நிறுவப்பட்ட அனைத்து தொகுப்புகளையும் காண்பி: + +`choco list --local-only` + +- உள்ளூர் நிரல்களை உள்ளடக்கிய பட்டியலைக் காண்பி: + +`choco list --include-programs` + +- அங்கீகரிக்கப்பட்ட தொகுப்புகளை மட்டும் காண்பி: + +`choco list --approved-only` + +- இதிலிருந்து தொகுப்புகளைக் காண்பிக்க தனிப்பயன் மூலத்தைக் குறிப்பிடவும்: + +`choco list --source {{மூல_முகவரி|alias}}` + +- அங்கீகாரத்திற்கான பயனர்பெயர் மற்றும் கடவுச்சொல்லை வழங்கவும்: + +`choco list --user {{பயனர்பெயர்}} --password {{கடவுச்சொல்}}` diff --git a/pages.ta/windows/choco-new.md b/pages.ta/windows/choco-new.md new file mode 100644 index 00000000000000..3b5070d214f550 --- /dev/null +++ b/pages.ta/windows/choco-new.md @@ -0,0 +1,24 @@ +# choco new + +> சாக்லேட்டியுடன் புதிய தொகுப்பு விவரக்குறிப்பு கோப்புகளை உருவாக்கவும். +> மேலும் விவரத்திற்கு: . + +- ஒரு புதிய தொகுப்பு எலும்புக்கூட்டை உருவாக்கவும்: + +`choco new {{நிரல்தொகுப்பு}}` + +- ஒரு குறிப்பிட்ட பதிப்பில் புதிய தொகுப்பை உருவாக்கவும்: + +`choco new {{நிரல்தொகுப்பு}} --version {{பதிப்பு}}` + +- குறிப்பிட்ட பராமரிப்பாளர் பெயருடன் புதிய தொகுப்பை உருவாக்கவும்: + +`choco new {{நிரல்தொகுப்பு}} --maintainer {{பராமரிப்பாளர்_பெயர்}}` + +- தனிப்பயன் வெளியீட்டு கோப்பகத்தில் புதிய தொகுப்பை உருவாக்கவும்: + +`choco new {{நிரல்தொகுப்பு}} --output-directory {{அடைவிற்குப்/பாதை}}` + +- குறிப்பிட்ட 32-பிட் மற்றும் 64-பிட் நிறுவி URL முகவரிகளுடன் புதிய தொகுப்பை உருவாக்கவும்: + +`choco new {{நிரல்தொகுப்பு}} url="{{முகவரி}}" url64="{{முகவரி}}"` diff --git a/pages.ta/windows/choco-outdated.md b/pages.ta/windows/choco-outdated.md new file mode 100644 index 00000000000000..4847b792eb1bfb --- /dev/null +++ b/pages.ta/windows/choco-outdated.md @@ -0,0 +1,20 @@ +# choco outdated + +> சாக்லேட்டியுடன் காலாவதியான தொகுப்புகளைச் சரிபார்க்கவும். +> மேலும் விவரத்திற்கு: . + +- காலாவதியான தொகுப்புகளின் பட்டியலை அட்டவணை வடிவத்தில் காண்பி: + +`choco outdated` + +- வெளியீட்டில் பின் செய்யப்பட்ட தொகுப்புகளை புறக்கணிக்கவும்: + +`choco outdated --ignore-pinned` + +- தொகுப்புகளை சரிபார்க்க தனிப்பயன் மூலத்தைக் குறிப்பிடவும்: + +`choco outdated --source {{மூல_முகவரி|alias}}` + +- அங்கீகாரத்திற்கான பயனர்பெயர் மற்றும் கடவுச்சொல்லை வழங்கவும்: + +`choco outdated --user {{பயனர்பெயர்}} --password {{கடவுச்சொல்}}` diff --git a/pages.ta/windows/choco-pack.md b/pages.ta/windows/choco-pack.md new file mode 100644 index 00000000000000..dc703d29699c44 --- /dev/null +++ b/pages.ta/windows/choco-pack.md @@ -0,0 +1,16 @@ +# choco pack + +> ஒரு `NuGet` விவரக்குறிப்பை `nupkg` கோப்பில் தொகுக்கவும். +> மேலும் விவரத்திற்கு: . + +- ஒரு `nupkg` கோப்பில் ஒரு `NuGet` விவரக்குறிப்பைத் தொகுக்கவும்: + +`choco pack {{விவரக்குறிப்பு\பாதை}}` + +- இதன் விளைவாக வரும் கோப்பின் பதிப்பைக் குறிப்பிடும் ஒரு `NuGet` விவரக்குறிப்பைத் தொகுக்கவும்: + +`choco pack {{விவரக்குறிப்பு\பாதை}} --version {{version}}` + +- ஒரு குறிப்பிட்ட கோப்பகத்திற்கு ஒரு `NuGet` விவரக்குறிப்பை தொகுக்கவும்: + +`choco pack {{விவரக்குறிப்பு\பாதை}} --output-directory {{வெளியீடு_கோப்பகம்\பாதை}}` diff --git a/pages.ta/windows/choco-pin.md b/pages.ta/windows/choco-pin.md new file mode 100644 index 00000000000000..a9a6167d8356f3 --- /dev/null +++ b/pages.ta/windows/choco-pin.md @@ -0,0 +1,21 @@ +# choco pin + +> சாக்லேட்டியுடன் ஒரு குறிப்பிட்ட பதிப்பில் ஒரு தொகுப்பைப் பின் செய்யவும். +> மேம்படுத்தும் போது பின் செய்யப்பட்ட தொகுப்புகள் தானாகவே தவிர்க்கப்படும். +> மேலும் விவரத்திற்கு: . + +- பின் செய்யப்பட்ட தொகுப்புகள் மற்றும் அவற்றின் பதிப்புகளின் பட்டியலைக் காண்பி: + +`choco pin list` + +- ஒரு தொகுப்பை அதன் தற்போதைய பதிப்பில் பின் செய்யவும்: + +`choco pin add --name {{நிரல்தொகுப்பு}}` + +- ஒரு குறிப்பிட்ட பதிப்பில் ஒரு தொகுப்பைப் பின் செய்யவும்: + +`choco pin add --name {{நிரல்தொகுப்பு}} --version {{பதிப்பு}}` + +- ஒரு குறிப்பிட்ட தொகுப்பிற்கான பின்னை அகற்றவும்: + +`choco pin remove --name {{நிரல்தொகுப்பு}}` diff --git a/pages.ta/windows/choco-search.md b/pages.ta/windows/choco-search.md new file mode 100644 index 00000000000000..ceb4ed562d00c4 --- /dev/null +++ b/pages.ta/windows/choco-search.md @@ -0,0 +1,28 @@ +# choco search + +> சாக்லேட்டியுடன் உள்ளூர் அல்லது தொலைநிலைப் பொதியைத் தேடுங்கள். +> மேலும் விவரத்திற்கு: . + +- ஒரு தொகுப்பைத் தேடுங்கள்: + +`choco search {{வினவல்}}` + +- உள்நாட்டில் ஒரு தொகுப்பைத் தேடுங்கள்: + +`choco search {{வினவல்}} --local-only` + +- முடிவுகளில் சரியான பொருத்தங்களை மட்டும் சேர்க்கவும்: + +`choco search {{வினவல்}} --exact` + +- அனைத்து அறிவுறுத்தல்களையும் தானாக உறுதிப்படுத்தவும்: + +`choco search {{வினவல்}} --yes` + +- தொகுப்புகளைத் தேட தனிப்பயன் மூலத்தைக் குறிப்பிடவும்: + +`choco search {{வினவல்}} --source {{மூல_முகவரி|alias}}` + +- அங்கீகாரத்திற்கான பயனர்பெயர் மற்றும் கடவுச்சொல்லை வழங்கவும்: + +`choco search {{வினவல்}} --user {{பயனர்ப்பெயர்}} --password {{கடவுச்சொல்}}` diff --git a/pages.ta/windows/choco-source.md b/pages.ta/windows/choco-source.md new file mode 100644 index 00000000000000..95120d3e877d50 --- /dev/null +++ b/pages.ta/windows/choco-source.md @@ -0,0 +1,32 @@ +# choco source + +> சாக்லேட்டி மூலம் தொகுப்புகளுக்கான ஆதாரங்களை நிர்வகிக்கவும். +> மேலும் விவரத்திற்கு: . + +- தற்போது கிடைக்கக்கூடிய ஆதாரங்களை பட்டியலிடுங்கள்: + +`choco source list` + +- புதிய தொகுப்பு மூலத்தைச் சேர்க்கவும்: + +`choco source add --name {{பெயர்}} --source {{முகவரி}}` + +- நற்சான்றிதழ்களுடன் புதிய தொகுப்பு மூலத்தைச் சேர்க்கவும்: + +`choco source add --name {{பெயர்}} --source {{முகவரி}} --user {{பயனர்பெயர்}} --password {{கடவுச்சொல்}}` + +- கிளையன்ட் சான்றிதழுடன் புதிய தொகுப்பு மூலத்தைச் சேர்க்கவும்: + +`choco source add --name {{பெயர்}} --source {{முகவரி}} --cert {{சான்றிதழ்\பாதை}}` + +- தொகுப்பு மூலத்தை இயக்கு: + +`choco source enable --name {{பெயர்}}` + +- ஒரு தொகுப்பு மூலத்தை முடக்கு: + +`choco source disable --name {{பெயர்}}` + +- தொகுப்பு மூலத்தை அகற்றவும்: + +`choco source remove --name {{பெயர்}}` diff --git a/pages.ta/windows/choco-uninstall.md b/pages.ta/windows/choco-uninstall.md new file mode 100644 index 00000000000000..8e23e51f3ea621 --- /dev/null +++ b/pages.ta/windows/choco-uninstall.md @@ -0,0 +1,24 @@ +# choco uninstall + +> சாக்லேட்டியுடன் ஒன்று அல்லது அதற்கு மேற்பட்ட தொகுப்புகளை நிறுவல் நீக்கவும். +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட இடம் பிரிக்கப்பட்ட தொகுப்புகளை நிறுவல் நீக்கவும்: + +`choco uninstall {{நிரல்தொகுப்பு(கள்)}}` + +- தொகுப்பின் குறிப்பிட்ட பதிப்பை நிறுவல் நீக்கவும்: + +`choco uninstall {{நிரல்தொகுப்பு}} --version {{பதிப்பு}}` + +- அனைத்து அறிவுறுத்தல்களையும் தானாக உறுதிப்படுத்தவும்: + +`choco uninstall {{நிரல்தொகுப்பு}} --yes` + +- நிறுவல் நீக்கும் போது அனைத்து சார்புகளையும் நீக்கவும்: + +`choco uninstall {{நிரல்தொகுப்பு}} --remove-dependencies` + +- அனைத்து தொகுப்புகளையும் நிறுவல் நீக்கவும்: + +`choco uninstall all` diff --git a/pages.ta/windows/choco-upgrade.md b/pages.ta/windows/choco-upgrade.md new file mode 100644 index 00000000000000..100a062e6a095d --- /dev/null +++ b/pages.ta/windows/choco-upgrade.md @@ -0,0 +1,32 @@ +# choco upgrade + +> சாக்லேட்டியுடன் ஒன்று அல்லது அதற்கு மேற்பட்ட தொகுப்புகளை மேம்படுத்தவும். +> மேலும் விவரத்திற்கு: . + +- ஒன்று அல்லது அதற்கு மேற்பட்ட இடம் பிரிக்கப்பட்ட தொகுப்புகளை மேம்படுத்தவும்: + +`choco upgrade {{நிரல்தொகுப்பு(கள்)}}` + +- தொகுப்பின் குறிப்பிட்ட பதிப்பிற்கு மேம்படுத்தவும்: + +`choco upgrade {{நிரல்தொகுப்பு}} --version {{பதிப்பு}}` + +- அனைத்து தொகுப்புகளையும் மேம்படுத்தவும்: + +`choco upgrade all` + +- குறிப்பிட்ட காற்புள்ளியால் பிரிக்கப்பட்ட தொகுப்புகளைத் தவிர அனைத்தையும் மேம்படுத்தவும்: + +`choco upgrade all --except "{{நிரல்தொகுப்பு(கள்)}}"` + +- அனைத்து அறிவுறுத்தல்களையும் தானாக உறுதிப்படுத்தவும்: + +`choco upgrade {{நிரல்தொகுப்பு}} --yes` + +- தொகுப்புகளைப் பெற தனிப்பயன் மூலத்தைக் குறிப்பிடவும்: + +`choco upgrade {{நிரல்தொகுப்பு}} --source {{மூல_முகவரி|alias}}` + +- அங்கீகாரத்திற்கான பயனர்பெயர் மற்றும் கடவுச்சொல்லை வழங்கவும்: + +`choco upgrade {{நிரல்தொகுப்பு}} --user {{பயனர்பெயர்}} --password {{கடவுச்சொல்}}` diff --git a/pages.ta/windows/choco.md b/pages.ta/windows/choco.md new file mode 100644 index 00000000000000..d7d92cb766e7d4 --- /dev/null +++ b/pages.ta/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> சாக்லேட்டி தொகுப்பு மேலாளருக்கான கட்டளை வரி இடைமுகம். +> `install` போன்ற சிலச் சார்கட்டளைகளுக்குத் தனிப் பக்கம் உள்ளது. +> மேலும் விவரத்திற்கு: . + +- சாக்லேட்டி கட்டளையை இயக்கவும்: + +`choco {{கட்டளை}}` + +- பொது உதவியை அழைக்கவும்: + +`choco -?` + +- ஒரு குறிப்பிட்ட கட்டளையில் உதவியை அழைக்கவும்: + +`choco {{கட்டளை}} -?` + +- சாக்லேட்டி பதிப்பைச் சரிபார்க்கவும்: + +`choco --version` diff --git a/pages.ta/windows/choice.md b/pages.ta/windows/choice.md new file mode 100644 index 00000000000000..10e52a9325735d --- /dev/null +++ b/pages.ta/windows/choice.md @@ -0,0 +1,28 @@ +# choice + +> ஒரு தேர்வைத் தேர்ந்தெடுத்து, தேர்ந்தெடுக்கப்பட்ட தேர்வுக் குறியீட்டை வழங்க பயனரைத் தூண்டவும். +> மேலும் விவரத்திற்கு: . + +- தற்போதைய பயனரை `Y` அல்லது `N` தேர்வைத் தேர்ந்தெடுக்கும்படி கேட்கவும்: + +`choice` + +- ஒரு குறிப்பிட்ட தொகுப்பிலிருந்து ஒரு [c]hoice ஐ தேர்ந்தெடுக்க தற்போதைய பயனரை கேட்கவும்: + +`choice /c {{AB}}` + +- குறிப்பிட்ட [m]செய்தியுடன் ஒரு தேர்வைத் தேர்ந்தெடுக்க தற்போதைய பயனரைத் தூண்டவும்: + +`choice /m "{{செய்தி}}"` + +- ஒரு குறிப்பிட்ட தொகுப்பிலிருந்து ஒரு [c]கேஸ்-[s]சென்சிட்டிவ் [c]தேர்வு ஐத் தேர்ந்தெடுக்க தற்போதைய பயனரைத் தூண்டவும்: + +`choice /cs /c {{Ab}}` + +- ஒரு தேர்வைத் தேர்ந்தெடுக்க தற்போதைய பயனரைத் தூண்டவும் மற்றும் ஒரு குறிப்பிட்ட [t] நேரத்தில் [d]இயல்புநிலை தேர்வை விரும்பவும்: + +`choice /t {{5}} /d {{N}}` + +- உதவியை காட்டு: + +`choice /?` diff --git a/pages.ta/windows/chrome.md b/pages.ta/windows/chrome.md new file mode 100644 index 00000000000000..b2157be00dd237 --- /dev/null +++ b/pages.ta/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> இக்கட்டளை `chromium` கட்டளையின் மற்றொருப் பெயர். +> மேலும் விவரத்திற்கு: . + +- அசல் கட்டளைக்கான ஆவணங்களைக் காண்க: + +`tldr chromium` diff --git a/pages.ta/windows/cinst.md b/pages.ta/windows/cinst.md new file mode 100644 index 00000000000000..e7c331fd252b62 --- /dev/null +++ b/pages.ta/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> இக்கட்டளை `choco install` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr choco install` diff --git a/pages.ta/windows/cipher.md b/pages.ta/windows/cipher.md new file mode 100644 index 00000000000000..5777d32d864e0e --- /dev/null +++ b/pages.ta/windows/cipher.md @@ -0,0 +1,20 @@ +# cipher + +> NTFS டிரைவ்களில் உள்ள கோப்புகளை குறியாக்கம் அல்லது மறைகுறியாக்கம் செய்யவும். +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட மறைகுறியாக்கப்பட்ட கோப்பு அல்லது கோப்பகம் பற்றிய தகவலைக் காண்பி: + +`cipher /c:{{கோப்பு_அல்லது_அடைவு\பாதை}}` + +- ஒரு கோப்பு அல்லது கோப்பகத்தை குறியாக்கு (கோப்பகத்தில் பின்னர் சேர்க்கப்பட்ட கோப்புகளும் கோப்பகம் குறிக்கப்பட்டதால் குறியாக்கம் செய்யப்படுகின்றன): + +`cipher /e:{{கோப்பு_அல்லது_அடைவு\பாதை}}` + +- ஒரு கோப்பு அல்லது கோப்பகத்தை மறைகுறியாக்கவும்: + +`cipher /d:{{கோப்பு_அல்லது_அடைவு\பாதை}}` + +- ஒரு கோப்பு அல்லது கோப்பகத்தை பாதுகாப்பாக அகற்றவும்: + +`cipher /w:{{கோப்பு_அல்லது_அடைவு\பாதை}}` diff --git a/pages.ta/windows/clip.md b/pages.ta/windows/clip.md new file mode 100644 index 00000000000000..5656a5f1c99115 --- /dev/null +++ b/pages.ta/windows/clip.md @@ -0,0 +1,20 @@ +# clip + +> உள்ளீட்டு உள்ளடக்கத்தை விண்டோஸ் கிளிப்போர்டுக்கு நகலெடுக்கவும். +> மேலும் விவரத்திற்கு: . + +- விண்டோஸ் கிளிப்போர்டுக்கு குழாய் கட்டளை வரி வெளியீடு: + +`{{dir}} | clip` + +- ஒரு கோப்பின் உள்ளடக்கங்களை விண்டோஸ் கிளிப்போர்டுக்கு நகலெடுக்கவும்: + +`clip < {{கோப்பு.ext\பாதை}}` + +- விண்டோஸ் கிளிப்போர்டுக்கு புதிய வரியுடன் உரையை நகலெடுக்கவும்: + +`echo {{ஏதாவது உரை}} | clip` + +- விண்டோஸ் கிளிப்போர்டுக்கு புதிய வரி இல்லாமல் உரையை நகலெடுக்கவும்: + +`echo | set /p="ஏதாவது உரை" | clip` diff --git a/pages.ta/windows/clist.md b/pages.ta/windows/clist.md new file mode 100644 index 00000000000000..0f3fbc23989e27 --- /dev/null +++ b/pages.ta/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> இக்கட்டளை `choco list` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr choco list` diff --git a/pages.ta/windows/cls.md b/pages.ta/windows/cls.md index 8ee4141e3e875f..aef78ad578720a 100644 --- a/pages.ta/windows/cls.md +++ b/pages.ta/windows/cls.md @@ -1,7 +1,12 @@ # cls > திரையை அழிக்கிறது. -> மேலும் தகவல்: . +> PowerShell இல், இந்த கட்டளை `Clear-Host` என்பதன் மாற்றுப் பெயராகும். இந்த ஆவணம் `cls` இன் கட்டளை வரியில் (`cmd`) பதிப்பை அடிப்படையாகக் கொண்டது. +> மேலும் விவரத்திற்கு: . + +- சமமான PowerShell கட்டளையின் ஆவணங்களைக் காண்க: + +`tldr clear-host` - திரையை அழிக்கவும்: diff --git a/pages.ta/windows/cmd.md b/pages.ta/windows/cmd.md index b99256a00f9992..4088692bbb2215 100644 --- a/pages.ta/windows/cmd.md +++ b/pages.ta/windows/cmd.md @@ -1,36 +1,36 @@ # cmd > விண்டோஸ் கட்டளை மொழிபெயர்ப்பாளர். -> மேலும் தகவல்: . +> மேலும் விவரத்திற்கு: . -- கட்டளை மொழிபெயர்ப்பாளரின் புதிய நிகழ்வைத் தொடங்கவும்: +- ஊடாடக்கூடிய ஷெல் அமர்வைத் தொடங்கவும்: `cmd` -- குறிப்பிட்ட கட்டளையை இயக்கவும், பின்னர் வெளியேறவும்: +- குறிப்பிட்ட கட்டளையை இயக்கவும்: -`cmd /c "{{கட்டளை}}"` +`cmd /c {{echo வணக்கம் உலகம்}}` -- குறிப்பிட்ட கட்டளையை இயக்கவும், பின்னர் ஒரு ஊடாடும் ஷெல்லை உள்ளிடவும்: +- ஒரு குறிப்பிட்ட ஸ்கிரிப்டை இயக்கவும்: -`cmd /k "{{கட்டளை}}"` +`cmd {{ஸ்கிரிப்ட்.bat\பாதை}}` -- கட்டளை வெளியீட்டில் `echo` இன் பயன்பாட்டை முடக்கு: +- குறிப்பிட்ட கட்டளையை இயக்கவும், பின்னர் ஒரு ஊடாடும் ஷெல்லை உள்ளிடவும்: -`cmd /q` +`cmd /k {{echo வணக்கம் உலகம்}}` -- கட்டளை நீட்டிப்புகளை இயக்கவும் அல்லது முடக்கவும்: +- கட்டளை வெளியீட்டில் `echo` முடக்கப்பட்டிருக்கும் ஊடாடும் ஷெல் அமர்வைத் தொடங்கவும்: -`cmd /e:{{on|off}}` +`cmd /q` -- கோப்பு அல்லது கோப்பக தானியங்குநிரலை இயக்கவும் அல்லது முடக்கவும்: +- தாமதமான மாறி விரிவாக்கம் இயக்கப்பட்ட அல்லது முடக்கப்பட்ட ஒரு ஊடாடும் ஷெல் அமர்வைத் தொடங்கவும்: -`cmd /f:{{on|off}}` +`cmd /v:{{on|off}}` -- சூழல் மாறி விரிவாக்கத்தை இயக்கவும் அல்லது முடக்கவும்: +- கட்டளை நீட்டிப்புகள் இயக்கப்பட்ட அல்லது முடக்கப்பட்ட ஒரு ஊடாடும் ஷெல் அமர்வைத் தொடங்கவும்: -`cmd /v:{{on|off}}` +`cmd /e:{{on|off}}` -- யூனிகோட் குறியாக்கத்தைப் பயன்படுத்த வெளியீட்டை கட்டாயப்படுத்தவும்: +- யூனிகோட் குறியாக்கத்தைப் பயன்படுத்தி ஊடாடும் ஷெல் அமர்வைத் தொடங்கவும்: `cmd /u` diff --git a/pages.ta/windows/cmstp.md b/pages.ta/windows/cmstp.md new file mode 100644 index 00000000000000..2dc0fba00d3c80 --- /dev/null +++ b/pages.ta/windows/cmstp.md @@ -0,0 +1,36 @@ +# cmstp + +> இணைப்பு சேவை சுயவிவரங்களை நிர்வகிப்பதற்கான கட்டளை வரி கருவி. +> மேலும் விவரத்திற்கு: . + +- ஒரு குறிப்பிட்ட சுயவிவரத்தை நிறுவவும்: + +`cmstp "{{சுயவிவரம்\பாதை}}"` + +- டெஸ்க்டாப் குறுக்குவழியை உருவாக்காமல் நிறுவவும்: + +`cmstp /ns "{{சுயவிவரம்\பாதை}}"` + +- சார்புகளை சரிபார்க்காமல் நிறுவவும்: + +`cmstp /nf "{{சுயவிவரம்\பாதை}}"` + +- தற்போதைய பயனருக்கு மட்டும் நிறுவவும்: + +`cmstp /su "{{சுயவிவரம்\பாதை}}"` + +- அனைத்து பயனர்களுக்கும் நிறுவவும் (நிர்வாக சலுகைகள் தேவை): + +`cmstp /au "{{சுயவிவரம்\பாதை}}"` + +- எந்த அறிவுறுத்தலும் இல்லாமல் அமைதியாக நிறுவவும்: + +`cmstp /s "{{சுயவிவரம்\பாதை}}"` + +- குறிப்பிட்ட சுயவிவரத்தை நிறுவல் நீக்கவும்: + +`cmstp /u "{{சுயவிவரம்\பாதை}}"` + +- உறுதிப்படுத்தல் அறிவுறுத்தல் இல்லாமல் அமைதியாக நிறுவல் நீக்கவும்: + +`cmstp /u /s "{{சுயவிவரம்\பாதை}}"` diff --git a/pages.ta/windows/color.md b/pages.ta/windows/color.md new file mode 100644 index 00000000000000..0cc62da8f34244 --- /dev/null +++ b/pages.ta/windows/color.md @@ -0,0 +1,16 @@ +# color + +> கன்சோலின் முன்புறம் மற்றும் பின்னணி வண்ணங்களை அமைக்கவும். +> மேலும் விவரத்திற்கு: . + +- கன்சோல் வண்ணங்களை இயல்புநிலை மதிப்புகளுக்கு அமைக்கவும்: + +`color` + +- கிடைக்கக்கூடிய வண்ண மதிப்புகள் மற்றும் விரிவான தகவல்களை பட்டியலிடுங்கள்: + +`color /?` + +- ஹெக்ஸாடெசிமல் எண்களைப் பயன்படுத்தி (`1-9,a-f`) கன்சோலின் முன்புறம் மற்றும் பின்னணியை ஒரு குறிப்பிட்ட வண்ணத்திற்கு அமைக்கவும்: + +`color {{முன்புற_குறியீடு}}{{பின்னணி_குறியீடு}}` diff --git a/pages.ta/windows/comp.md b/pages.ta/windows/comp.md new file mode 100644 index 00000000000000..dc73933c1e7c6d --- /dev/null +++ b/pages.ta/windows/comp.md @@ -0,0 +1,37 @@ +# comp + +> இரண்டு கோப்புகள் அல்லது கோப்புகளின் தொகுப்புகளின் உள்ளடக்கங்களை ஒப்பிடுக. +> கோப்புகளின் தொகுப்புகளை ஒப்பிட, வைல்டு கார்டுகளைப் (*) பயன்படுத்தவும். +> மேலும் விவரத்திற்கு: . + +- கோப்புகளை ஊடாடும் வகையில் ஒப்பிடுக: + +`comp` + +- இரண்டு குறிப்பிட்ட கோப்புகளை ஒப்பிடுக: + +`comp {{கோப்பு_1\பாதை}} {{கோப்பு_2\பாதை}}` + +- இரண்டு செட் கோப்புகளை ஒப்பிடுக: + +`comp {{அடைவு_1\பாதை}}\* {{அடைவு_2\பாதை}}\*` + +- தசம வடிவத்தில் வேறுபாடுகளைக் காண்பி: + +`comp /d {{கோப்பு_1\பாதை}} {{கோப்பு_2\பாதை}}` + +- ASCII வடிவத்தில் வேறுபாடுகளைக் காண்பி: + +`comp /a {{கோப்பு_1\பாதை}} {{கோப்பு_2\பாதை}}` + +- வேறுபாடுகளுக்கான வரி எண்களைக் காண்பி: + +`comp /l {{கோப்பு_1\பாதை}} {{கோப்பு_2\பாதை}}` + +- கோப்புகளை கேஸ்-உணர்வின்றி ஒப்பிடுக: + +`comp /c {{கோப்பு_1\பாதை}} {{கோப்பு_2\பாதை}}` + +- ஒவ்வொரு கோப்பின் முதல் 5 வரிகளை மட்டும் ஒப்பிடுக: + +`comp /n=5 {{கோப்பு_1\பாதை}} {{கோப்பு_2\பாதை}}` diff --git a/pages.ta/windows/cpush.md b/pages.ta/windows/cpush.md new file mode 100644 index 00000000000000..42b7f4a05ba35a --- /dev/null +++ b/pages.ta/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> இக்கட்டளை `choco push` கட்டளையின் மற்றொருப் பெயர். + +- அசல் கட்டளைக்கான ஆவணங்களைப் பார்க்கவும்: + +`tldr choco push` diff --git a/pages.ta/windows/cuninst.md b/pages.ta/windows/cuninst.md new file mode 100644 index 00000000000000..593bb3440eecdf --- /dev/null +++ b/pages.ta/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> இக்கட்டளை `choco uninstall` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr choco uninstall` diff --git a/pages.ta/windows/curl.md b/pages.ta/windows/curl.md new file mode 100644 index 00000000000000..79c1cd40358cfc --- /dev/null +++ b/pages.ta/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> PowerShell இல், அசல் `curl` நிரல் () சரியாக நிறுவப்படாதபோது இந்தக் கட்டளை `Invoke-WebRequest` என்பதன் மாற்றுப்பெயராக இருக்கலாம். +> மேலும் விவரத்திற்கு: . + +- அசல் `curl` கட்டளைக்கான ஆவணங்களைக் காண்க: + +`tldr curl -p common` + +- PowerShell இன் `Invoke-WebRequest` கட்டளைக்கான ஆவணங்களைக் காண்க: + +`tldr invoke-webrequest` + +- அதன் பதிப்பு எண்ணை அச்சிட்டு `curl` சரியாக நிறுவப்பட்டுள்ளதா என்பதைச் சரிபார்க்கவும். இந்த கட்டளை பிழையாக மதிப்பிடப்பட்டால், PowerShell இந்த கட்டளையை `Invoke-WebRequest` உடன் மாற்றியிருக்கலாம்: + +`curl --version` diff --git a/pages.ta/windows/del.md b/pages.ta/windows/del.md new file mode 100644 index 00000000000000..e81e9af737e73d --- /dev/null +++ b/pages.ta/windows/del.md @@ -0,0 +1,37 @@ +# del + +> ஒன்று அல்லது அதற்கு மேற்பட்ட கோப்புகளை நீக்கவும். +> PowerShell இல், இந்த கட்டளை `Remove-Item` என்பதன் மாற்றுப் பெயராகும். இந்த ஆவணம் `del` இன் கட்டளை வரியில் (`cmd`) பதிப்பை அடிப்படையாகக் கொண்டது. +> மேலும் விவரத்திற்கு: . + +- சமமான PowerShell கட்டளையின் ஆவணங்களைக் காண்க: + +`tldr remove-item` + +- ஒன்று அல்லது அதற்கு மேற்பட்ட இடத்தால் பிரிக்கப்பட்ட கோப்புகள் அல்லது வடிவங்களை நீக்கவும்: + +`del {{கோப்பு_வடிவம்}}` + +- ஒவ்வொரு கோப்பையும் நீக்குவதற்கு முன் உறுதிப்படுத்தும்படி கேட்கவும்: + +`del {{கோப்பு_வடிவம்}} /p` + +- படிக்க மட்டுமேயான கோப்புகளை நீக்க கட்டாயப்படுத்துங்கள்: + +`del {{கோப்பு_வடிவம்}} /f` + +- எல்லா துணை அடைவுகளிலிருந்தும் கோப்பு(களை) மீண்டும் மீண்டும் நீக்கவும்: + +`del {{கோப்பு_வடிவம்}} /s` + +- உலகளாவிய வைல்டு கார்டின் அடிப்படையில் கோப்புகளை நீக்கும் போது கேட்க வேண்டாம்: + +`del {{கோப்பு_வடிவம்}} /q` + +- உதவி மற்றும் கிடைக்கக்கூடிய பண்புகளை பட்டியலிடு: + +`del /?` + +- குறிப்பிட்ட பண்புக்கூறுகளின் அடிப்படையில் கோப்புகளை நீக்கவும்: + +`del {{கோப்பு_வடிவம்}} /a {{பண்புக்கூறு}}` diff --git a/pages.ta/windows/dir.md b/pages.ta/windows/dir.md new file mode 100644 index 00000000000000..39bd6f50891777 --- /dev/null +++ b/pages.ta/windows/dir.md @@ -0,0 +1,24 @@ +# dir + +> அடைவு உள்ளடக்கங்களை பட்டியலிடுங்கள். +> மேலும் விவரத்திற்கு: . + +- தற்போதைய கோப்பகத்தின் உள்ளடக்கங்களைக் காட்டு: + +`dir` + +- கொடுக்கப்பட்ட கோப்பகத்தின் உள்ளடக்கங்களைக் காட்டு: + +`dir {{அடைவிற்குப்/பாதை}}` + +- மறைக்கப்பட்டவை உட்பட தற்போதைய கோப்பகத்தின் உள்ளடக்கங்களைக் காட்டு: + +`dir /a` + +- மறைக்கப்பட்டவை உட்பட கொடுக்கப்பட்ட கோப்பகத்தின் உள்ளடக்கங்களைக் காட்டு: + +`dir {{அடைவிற்குப்/பாதை}} /a` + +- கூடுதல் தகவல் இல்லாமல் கோப்பகங்கள் மற்றும் கோப்புகளின் பட்டியலைக் காட்டு: + +`dir /b` diff --git a/pages.ta/windows/diskpart.md b/pages.ta/windows/diskpart.md new file mode 100644 index 00000000000000..a051915d9d1e06 --- /dev/null +++ b/pages.ta/windows/diskpart.md @@ -0,0 +1,32 @@ +# diskpart + +> வட்டு, தொகுதி மற்றும் பகிர்வு மேலாளர். +> மேலும் விவரத்திற்கு: . + +- `diskpart` ஐ அதன் கட்டளை வரியை உள்ளிட நிர்வாக கட்டளை வரியில் தானாகவே இயக்கவும்: + +`diskpart` + +- அனைத்து வட்டுகளையும் பட்டியலிடுங்கள்: + +`list disk` + +- ஒரு தொகுதியைத் தேர்ந்தெடுக்கவும்: + +`select volume {{தொகுதி}}` + +- தேர்ந்தெடுக்கப்பட்ட தொகுதிக்கு ஒரு இயக்கி கடிதத்தை ஒதுக்கவும்: + +`assign letter {{கடிதம்}}` + +- ஒரு புதிய பகிர்வை உருவாக்கவும்: + +`create partition primary` + +- தேர்ந்தெடுக்கப்பட்ட தொகுதியை செயல்படுத்தவும்: + +`active` + +- வட்டு பகுதியிலிருந்து வெளியேறு: + +`exit` diff --git a/pages.ta/windows/doskey.md b/pages.ta/windows/doskey.md new file mode 100644 index 00000000000000..b3ee081823711d --- /dev/null +++ b/pages.ta/windows/doskey.md @@ -0,0 +1,32 @@ +# doskey + +> மேக்ரோக்கள், விண்டோஸ் கட்டளைகள் மற்றும் கட்டளை வரிகளை நிர்வகிக்கவும். +> மேலும் விவரத்திற்கு: . + +- கிடைக்கக்கூடிய மேக்ரோக்களை பட்டியலிடுங்கள்: + +`doskey /macros` + +- புதிய மேக்ரோவை உருவாக்கவும்: + +`doskey {{பெயர்}} = "{{கட்டளை}}"` + +- ஒரு குறிப்பிட்ட இயங்கக்கூடியவைக்கு ஒரு புதிய மேக்ரோவை உருவாக்கவும்: + +`doskey /exename={{இயங்கக்கூடியவை}} {{பெயர்}} = "{{கட்டளை}}"` + +- ஒரு மேக்ரோவை அகற்று: + +`doskey {{பெயர்}} =` + +- நினைவகத்தில் சேமிக்கப்பட்ட அனைத்து கட்டளைகளையும் காண்பி: + +`doskey /history` + +- பெயர்வுத்திறனுக்காக மேக்ரோக்களை ஒரு கோப்பில் சேமிக்கவும்: + +`doskey /macros > {{macinit}}` + +- ஒரு கோப்பிலிருந்து மேக்ரோக்களை ஏற்றவும்: + +`doskey /macrofile = {{macinit}}` diff --git a/pages.ta/windows/iwr.md b/pages.ta/windows/iwr.md new file mode 100644 index 00000000000000..8423c7d9408be9 --- /dev/null +++ b/pages.ta/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> இக்கட்டளை `invoke-webrequest` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr invoke-webrequest` diff --git a/pages.ta/windows/pwsh-where.md b/pages.ta/windows/pwsh-where.md new file mode 100644 index 00000000000000..18e4d28d866397 --- /dev/null +++ b/pages.ta/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> இக்கட்டளை `Where-Object` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr Where-Object` diff --git a/pages.ta/windows/rd.md b/pages.ta/windows/rd.md new file mode 100644 index 00000000000000..2eec2e8931d9cd --- /dev/null +++ b/pages.ta/windows/rd.md @@ -0,0 +1,11 @@ +# rd + +> இந்த கட்டளை, கட்டளை வரியில் `rmdir` மற்றும் PowerShell இல் `Remove-Item` என்பதன் மாற்றுப்பெயர். + +- அசல் கட்டளை வரியில் (Command Prompt) கட்டளைக்கான ஆவணங்களைக் காண்க: + +`tldr rmdir` + +- அசல் PowerShell கட்டளைக்கான ஆவணங்களைக் காண்க: + +`tldr remove-item` diff --git a/pages.ta/windows/rmdir.md b/pages.ta/windows/rmdir.md new file mode 100644 index 00000000000000..011bbac8edd25c --- /dev/null +++ b/pages.ta/windows/rmdir.md @@ -0,0 +1,21 @@ +# rmdir + +> ஒரு கோப்பகம் மற்றும் அதன் உள்ளடக்கங்களை அகற்றவும். +> PowerShell இல், இந்த கட்டளை `Remove-Item` என்பதன் மாற்றுப் பெயராகும். இந்த ஆவணம் `rmdir` இன் கட்டளை வரியில் (`cmd`) பதிப்பை அடிப்படையாகக் கொண்டது. +> மேலும் விவரத்திற்கு: . + +- சமமான PowerShell கட்டளையின் ஆவணங்களைக் காண்க: + +`tldr remove-item` + +- வெற்று கோப்பகத்தை அகற்றவும்: + +`rmdir {{அடைவிற்குப்/பாதை}}` + +- ஒரு கோப்பகத்தையும் அதன் உள்ளடக்கங்களையும் மீண்டும் மீண்டும் அகற்றவும்: + +`rmdir {{அடைவிற்குப்/பாதை}} /s` + +- மீண்டும் மீண்டும் கேட்காமல் ஒரு கோப்பகத்தையும் அதன் உள்ளடக்கங்களையும் அகற்றவும்: + +`rmdir {{அடைவிற்குப்/பாதை}} /s /q` diff --git a/pages.ta/windows/sls.md b/pages.ta/windows/sls.md new file mode 100644 index 00000000000000..040502d7b774fb --- /dev/null +++ b/pages.ta/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> இக்கட்டளை `Select-String` கட்டளையின் மற்றொருப் பெயர். + +- அக்கட்டளையின் விளக்கத்தைக் காண: + +`tldr select-string` diff --git a/pages.ta/windows/wget.md b/pages.ta/windows/wget.md new file mode 100644 index 00000000000000..0ed9c5649f32c7 --- /dev/null +++ b/pages.ta/windows/wget.md @@ -0,0 +1,16 @@ +# wget + +> PowerShell இல், அசல் `wget` நிரல் () சரியாக நிறுவப்படாதபோது இந்தக் கட்டளை `Invoke-WebRequest` என்பதன் மாற்றுப்பெயராக இருக்கலாம். +> மேலும் விவரத்திற்கு: . + +- அசல் `wget` கட்டளைக்கான ஆவணங்களைக் காண்க: + +`tldr wget -p common` + +- PowerShell இன் `Invoke-WebRequest` கட்டளைக்கான ஆவணங்களைக் காண்க: + +`tldr invoke-webrequest` + +- அதன் பதிப்பு எண்ணை அச்சிட்டு `wget` சரியாக நிறுவப்பட்டுள்ளதா என்பதைச் சரிபார்க்கவும். இந்த கட்டளை பிழையாக மதிப்பிடப்பட்டால், PowerShell இந்த கட்டளையை `Invoke-WebRequest` உடன் மாற்றியிருக்கலாம்: + +`wget --version` diff --git a/pages.ta/windows/winget.md b/pages.ta/windows/winget.md new file mode 100644 index 00000000000000..2116df869ec050 --- /dev/null +++ b/pages.ta/windows/winget.md @@ -0,0 +1,36 @@ +# winget + +> விண்டோஸ் தொகுப்பு மேலாளர் CLI. +> மேலும் விவரத்திற்கு: . + +- ஒரு தொகுப்பை நிறுவவும்: + +`winget install {{தொகுப்பு}}` + +- தொகுப்பை அகற்று (குறிப்பு: `uninstall` என்பதற்குப் பதிலாக `remove` என்பதும் பயன்படுத்தப்படலாம்): + +`winget uninstall {{தொகுப்பு}}` + +- ஒரு தொகுப்பு பற்றிய தகவலை காட்டு: + +`winget show {{தொகுப்பு}}` + +- ஒரு தொகுப்பை தேடுங்கள்: + +`winget search {{தொகுப்பு}}` + +- அனைத்து தொகுப்புகளையும் சமீபத்திய பதிப்புகளுக்கு மேம்படுத்தவும்: + +`winget upgrade --all` + +- `winget` மூலம் நிர்வகிக்கக்கூடிய நிறுவப்பட்ட அனைத்து தொகுப்புகளையும் பட்டியலிடுங்கள்: + +`winget list --source winget` + +- ஒரு கோப்பிலிருந்து தொகுப்புகளை இறக்குமதி செய்யவும் அல்லது நிறுவப்பட்ட தொகுப்புகளை ஒரு கோப்பிற்கு ஏற்றுமதி செய்யவும்: + +`winget {{import|export}} {{--import-file|--output}} {{கோப்பு\பாதை}}` + +- winget-pkgs களஞ்சியத்தில் PR ஐச் சமர்ப்பிக்கும் முன் மேனிஃபெஸ்ட்டைச் சரிபார்க்கவும்: + +`winget validate {{மேனிஃபெஸ்ட்\பாதை}}` diff --git a/pages.ta/windows/wsl-open.md b/pages.ta/windows/wsl-open.md new file mode 100644 index 00000000000000..7a32d4d1483724 --- /dev/null +++ b/pages.ta/windows/wsl-open.md @@ -0,0 +1,24 @@ +# wsl-open + +> பயனரின் இயல்புநிலை விண்டோஸ் GUI பயன்பாட்டில் லினக்ஸ்க்கான விண்டோஸ் துணை அமைப்பிலிருந்து ஒரு கோப்பு அல்லது URL ஐத் திறக்கவும். +> மேலும் விவரத்திற்கு: . + +- விண்டோஸ் எக்ஸ்ப்ளோரரில் தற்போதைய கோப்பகத்தைத் திறக்கவும்: + +`wsl-open {{.}}` + +- விண்டோஸில் பயனரின் இயல்புநிலை இணைய உலாவியில் URL ஐத் திறக்கவும்: + +`wsl-open {{https://example.com}}` + +- விண்டோஸில் பயனரின் இயல்புநிலை பயன்பாட்டில் ஒரு குறிப்பிட்ட கோப்பைத் திறக்கவும்: + +`wsl-open {{கோப்பு\பாதை}}` + +- ஷெல்லின் இணைய உலாவியாக `wsl-open` ஐ அமைக்கவும் (`wsl-open` உடன் இணைப்புகளைத் திறக்கவும்): + +`wsl-open -w` + +- உதவியைக் காட்டு: + +`wsl-open -h` diff --git a/pages.ta/windows/wsl.md b/pages.ta/windows/wsl.md new file mode 100644 index 00000000000000..47eba75d9e3dc7 --- /dev/null +++ b/pages.ta/windows/wsl.md @@ -0,0 +1,36 @@ +# wsl + +> லினக்ஸிற்கான விண்டோஸ் துணை அமைப்பை கட்டளை வரியிலிருந்து நிர்வகிக்கவும். +> மேலும் விவரத்திற்கு: . + +- லினக்ஸ் ஷெல்லைத் தொடங்கவும் (இயல்புநிலை விநியோகத்தில்): + +`wsl {{ஷெல்_கட்டளை}}` + +- ஷெல்லைப் பயன்படுத்தாமல் லினக்ஸ் கட்டளையை இயக்கவும்: + +`wsl --exec {{கட்டளை}} {{கட்டளை_வாதங்கள்}}` + +- குறிப்பிட்ட விநியோகத்தைக் குறிப்பிடவும்: + +`wsl --distribution {{விநியோகம்}} {{ஷெல்_கட்டளை}}` + +- கிடைக்கக்கூடிய விநியோகங்களின் பட்டியல்: + +`wsl --list` + +- விநியோகத்தை `.tar` கோப்பிற்கு ஏற்றுமதி செய்யவும்: + +`wsl --export {{விநியோகம்}} {{விநியோக_கோப்பு.tar\பாதை}}` + +- `.tar` கோப்பிலிருந்து விநியோகத்தை இறக்குமதி செய்: + +`wsl --import {{விநியோகம்}} {{நிறுவல்_இடம்\பாதை}} {{விநியோக_கோப்பு.tar\பாதை}}` + +- குறிப்பிட்ட விநியோகத்திற்கு பயன்படுத்தப்படும் `wsl` பதிப்பை மாற்றவும்: + +`wsl --set-version {{விநியோகம்}} {{பதிப்பு}}` + +- லினக்ஸிற்கான விண்டோஸ் துணை அமைப்பை மூடவும்: + +`wsl --shutdown` diff --git a/pages.th/common/calc.md b/pages.th/common/calc.md new file mode 100644 index 00000000000000..4b5e4692635f2c --- /dev/null +++ b/pages.th/common/calc.md @@ -0,0 +1,36 @@ +# calc + +> เครื่องคิดเลขแบบโต้ตอบในเทอร์มินัล +> ข้อมูลเพิ่มเติม: + +- คำนวณในแบบโต้ตอบ: + +`calc` + +- คำนวณในแบบไม่โต้ตอบ: + +`calc '{{85 * (36 / 4)}}'` + +- คำนวณโดยไม่มีการจัดรูปแบบเอาต์พุต: + +`calc -p '{{4/3 * pi() * 5^3}}'` + +- คำนวณแล้วเปลี่ยนเป็นโหมดโต้ตอบ: + +`calc -i '{{sqrt(2)}}'` + +- คำนวณในสิทธิ์เฉพาะ (0 ถึง 7, ค่าเริ่มต้นเป็น 7): + +`calc -m {{mode}}` + +- ดูข้อมูลเบื้องต้นเกี่ยวกับ `calc`: + +`calc help intro` + +- ดูภาพรวมของ `calc`: + +`calc help overview` + +- เปิดคู่มือ `calc`: + +`calc help` diff --git a/pages.th/common/clamav.md b/pages.th/common/clamav.md new file mode 100644 index 00000000000000..7696a63707bd02 --- /dev/null +++ b/pages.th/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> โปรแกรมต้านไวรัสแบบเปิดเผยซอร์สโค้ด +> ClamAV ไม่ใช่คำสั่ง แต่เป็นกลุ่มของคำสั่ง +> ข้อมูลเพิ่มเติม: + +- แสดงหน้า tldr สำหรับการแสกนไฟล์ด้วยโปรแกรมพื้นหลัง `clamd`: + +`tldr clamdscan` + +- แสดงหน้า tldr สำหรับการแสกนไฟล์โดยไม่ใช้โปรแกรมพื้นหลัง `clamd`: + +`tldr clamscan` + +- แสดงหน้า tldr สำหรับการอัพเดทฐานข้อมูลไวรัส: + +`tldr freshclam` diff --git a/pages.th/common/clamdscan.md b/pages.th/common/clamdscan.md new file mode 100644 index 00000000000000..530045d4120592 --- /dev/null +++ b/pages.th/common/clamdscan.md @@ -0,0 +1,36 @@ +# clamdscan + +> โปรแกรมแสกนหาไวรัสบนคอมมานด์ไลน์ โดยใช้โปรแกรมพื้นหลัง ClamAV +> ข้อมูลเพิ่มเติม: + +- แสกนข้อบกพร่องของไฟล์หรือไฟล์ในไดเรคทอรี: + +`clamdscan {{หนทาง/ไปยัง/ไฟล์_หรือ_ไดเรคทอรี่}}` + +- แสกนข้อมูลจากสตรีมอินพุทมาตรฐาน: + +`{{คำสั่ง}} | clamdscan -` + +- แสกนไดเรคทอรีปัจจุบันแล้วแสดงผลไฟล์ที่ตรวจพบความบกพร่อง: + +`clamdscan --infected` + +- ส่งผลการแสกนไปยังไฟล์ที่ระบุ: + +`clamdscan --log {{หนทาง/ไปยัง/ไฟล์ที่ระบุ}}` + +- ย้ายไฟล์ที่พบการติดไวรัสไปยังไดเรคทอรีที่ระบุ: + +`clamdscan --move {{หนทาง/ไปยัง/ไดเรคทอรีสำหรับการกักกัน}}` + +- ลบไฟล์ที่พบการติดไวรัส: + +`clamdscan --remove` + +- ใช้มัลติเธรดในการตรวจไดเรคทอรี: + +`clamdscan --multiscan` + +- ส่งตัวอธิบายไฟล์ไปยังโปรแกรมแสกนพื้นหลังแทนการส่งไฟล์ข้อมูล: + +`clamdscan --fdpass` diff --git a/pages.th/common/clamscan.md b/pages.th/common/clamscan.md new file mode 100644 index 00000000000000..ac0005a4fa0af2 --- /dev/null +++ b/pages.th/common/clamscan.md @@ -0,0 +1,36 @@ +# clamscan + +> โปรแกรมตรวจหาไวรัสบนคอมมานด์ไลน์ +> ข้อมูลเพิ่มเติม: + +- แสกนไฟล์หาช่องโหว่ทางความปลอดภัย: + +`clamscan {{หนทาง/ไปยัง/ไฟล์}}` + +- แสกนทุกไฟล์ภายใต้ไดเรคทอรีเพื่อหาช่องโหว่ทางความปลอดภัย: + +`clamscan -r {{หนทาง/ไปยัง/ไดเรคทอรี}}` + +- แสกนข้อมูลที่ส่งเข้ามายังอินพุทมาตรฐาน: + +`{{คำสั่ง}} | clamscan -` + +- เลือกไฟล์หรือไดเรคทอรีข้อมูลพื้นฐานของไวรัส: + +`clamscan --database {{หนทาง/ไปยัง/ไฟล์ข้อมูลพื้นฐาน_หรือ_ไดเรคทอรี}}` + +- ทำการแสกนบนไดเรคทอรีปัจจุบันแล้วแสดงข้อมูลของไฟล์ที่ติดไวัส: + +`clamscan --infected` + +- เขียนผลการแสกนไปยังไฟล์ที่ระบุ: + +`clamscan --log {{หนทาง/ไปยัง/ไฟล์ที่ระบุ}}` + +- ย้ายไฟล์ที่พบการติดไวรัสไปยังไดเรคทอรีที่ระบุ: + +`clamscan --move {{หนทาง/ไปยัง/ไดเรคทอรีสำหรับการกักกัน}}` + +- ลบไฟล์ที่พบการติดไวรัส: + +`clamscan --remove yes` diff --git a/pages.th/common/clang-cpp.md b/pages.th/common/clang-cpp.md new file mode 100644 index 00000000000000..c3221f0b088063 --- /dev/null +++ b/pages.th/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `clang++` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr clang++` diff --git a/pages.th/common/clojure.md b/pages.th/common/clojure.md new file mode 100644 index 00000000000000..fb6fa4a43a7f1a --- /dev/null +++ b/pages.th/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `clj` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr clj` diff --git a/pages.th/common/cola.md b/pages.th/common/cola.md new file mode 100644 index 00000000000000..8983526d5fd63c --- /dev/null +++ b/pages.th/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `git-cola` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr git-cola` diff --git a/pages.th/common/fossil-ci.md b/pages.th/common/fossil-ci.md new file mode 100644 index 00000000000000..d591714d2fa42d --- /dev/null +++ b/pages.th/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `fossil commit` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr fossil commit` diff --git a/pages.th/common/fossil-forget.md b/pages.th/common/fossil-forget.md new file mode 100644 index 00000000000000..f25a3636559f3e --- /dev/null +++ b/pages.th/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `fossil rm` +> ข้อมูลเพิ่มเติม: + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr fossil rm` diff --git a/pages.th/common/fossil-new.md b/pages.th/common/fossil-new.md new file mode 100644 index 00000000000000..e84061bcfb22fb --- /dev/null +++ b/pages.th/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `fossil init` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr fossil init` diff --git a/pages.th/common/fossil-rm.md b/pages.th/common/fossil-rm.md new file mode 100644 index 00000000000000..f42270007ec356 --- /dev/null +++ b/pages.th/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `fossil delete` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr fossil delete` diff --git a/pages.th/common/freshclam.md b/pages.th/common/freshclam.md new file mode 100644 index 00000000000000..fa95dc890a9fa9 --- /dev/null +++ b/pages.th/common/freshclam.md @@ -0,0 +1,8 @@ +# freshclam + +> อัพเดทฐานข้อมูลไวรัสที่อ้างอิงโดยโปรแกรมต้านไวรัส ClamAV +> ข้อมูลเพิ่มเติม: + +- อัพเดทฐานข้อมูลไวรัส: + +`freshclam` diff --git a/pages.th/common/gh-cs.md b/pages.th/common/gh-cs.md new file mode 100644 index 00000000000000..4912576fb45d2d --- /dev/null +++ b/pages.th/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `gh codespace` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr gh codespace` diff --git a/pages.th/common/gnmic-sub.md b/pages.th/common/gnmic-sub.md new file mode 100644 index 00000000000000..699f90ca9c0e69 --- /dev/null +++ b/pages.th/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `gnmic subscribe` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr gnmic subscribe` diff --git a/pages.th/common/google-chrome.md b/pages.th/common/google-chrome.md new file mode 100644 index 00000000000000..27fe6aaee33b48 --- /dev/null +++ b/pages.th/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `chromium` +> ข้อมูลเพิ่มเติม: + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr chromium` diff --git a/pages.th/common/hx.md b/pages.th/common/hx.md new file mode 100644 index 00000000000000..990c9f41338d0b --- /dev/null +++ b/pages.th/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `helix` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr helix` diff --git a/pages.th/common/kafkacat.md b/pages.th/common/kafkacat.md new file mode 100644 index 00000000000000..3590c3e74d2cfa --- /dev/null +++ b/pages.th/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `kcat` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr kcat` diff --git a/pages.th/common/kubectx.md b/pages.th/common/kubectx.md new file mode 100644 index 00000000000000..20439ec3197291 --- /dev/null +++ b/pages.th/common/kubectx.md @@ -0,0 +1,20 @@ +# kubectx + +> คำสั่งอรรถประโยชน์สำหรับสลับบริบทของคำสั่ง `kubectl` +> ข้อมูลเพิ่มเติม: + +- แสดงบริบททั้งหมด: + +`kubectx` + +- สลับบริบทที่กำลังใช้งาน: + +`kubectx {{ชื่อบริบท}}` + +- สลับไปบริบทที่ใช้งานก่อนหน้า: + +`kubectx -` + +- ลบบริบท: + +`kubectx -d {{ชื่อบริบท}}` diff --git a/pages.th/common/kubens.md b/pages.th/common/kubens.md new file mode 100644 index 00000000000000..2f32413847831d --- /dev/null +++ b/pages.th/common/kubens.md @@ -0,0 +1,16 @@ +# kubens + +> คำสั่งอรรถประโยชน์สำหรับสลับเนมสเปซของ Kubernetes +> ข้อมูลเพิ่มเติม: + +- แสดงเนมสเปซทั้งหมด: + +`kubens` + +- สลับเนมสเปซที่กำลังใช้งาน: + +`kubens {{ชื่อเนมสเปซ}}` + +- สลับไปเนมสเปซที่ใช้งานก่อนหน้า: + +`kubens -` diff --git a/pages.th/common/llvm-ar.md b/pages.th/common/llvm-ar.md new file mode 100644 index 00000000000000..4ed9dce1aeff66 --- /dev/null +++ b/pages.th/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ar` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ar` diff --git a/pages.th/common/llvm-g++.md b/pages.th/common/llvm-g++.md new file mode 100644 index 00000000000000..529b810e330941 --- /dev/null +++ b/pages.th/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `clang++` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr clang++` diff --git a/pages.th/common/llvm-gcc.md b/pages.th/common/llvm-gcc.md new file mode 100644 index 00000000000000..acf1851f1cd2bf --- /dev/null +++ b/pages.th/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `clang` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr clang` diff --git a/pages.th/common/llvm-nm.md b/pages.th/common/llvm-nm.md new file mode 100644 index 00000000000000..f9988317542a21 --- /dev/null +++ b/pages.th/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `nm` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr nm` diff --git a/pages.th/common/llvm-objdump.md b/pages.th/common/llvm-objdump.md new file mode 100644 index 00000000000000..a50104f5dd9693 --- /dev/null +++ b/pages.th/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `objdump` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr objdump` diff --git a/pages.th/common/llvm-strings.md b/pages.th/common/llvm-strings.md new file mode 100644 index 00000000000000..175410b74934c6 --- /dev/null +++ b/pages.th/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `strings` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr strings` diff --git a/pages.th/common/ls.md b/pages.th/common/ls.md new file mode 100644 index 00000000000000..4983abd1a2e280 --- /dev/null +++ b/pages.th/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> แสดงชื่อ ขนาด หรือข้อมูลเบื้องต้นของแต่ละไฟล์หรือโฟลเดอร์ +> ข้อมูลเพิ่มเติม: + +- แสดงชื่อไฟล์หรือโฟลเดอร์ หนึ่งชื่อต่อบรรทัด: + +`ls -1` + +- แสดงชื่อไฟล์หรือโฟลเดอร์ทั้งหมด รวมทั้งไฟล์ที่ถูกซ่อนอยู่: + +`ls {{[-a|--all]}}` + +- แสดงชื่อไฟล์หรือโฟลเดอร์ทั้งหมด โดยที่ชื่อโฟลเดอร์จะมี `/` ตามหลัง: + +`ls {{[-F|--classify]}}` + +- แสดงข้อมูลเบื้องต้นของไฟล์หรือโฟลเดอร์ (สิทธ์การเข้าถึง, ความเป็นเจ้าของ, ขนาด, และวันที่แก้ไขล่าสุด): + +`ls {{[-la|--all -l]}}` + +- แสดงข้อมูลเบื้องต้นของไฟล์หรือโฟลเดอร์ (สิทธ์การเข้าถึง, ความเป็นเจ้าของ, ขนาด, และวันที่แก้ไขล่าสุด โดยที่ขนาดจะแสดงผลในหน่วยที่มนุษย์เข้าใจ เช่น KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` + +- แสดงข้อมูลเบื้องต้นของไฟล์หรือโฟลเดอร์ (สิทธ์การเข้าถึง, ความเป็นเจ้าของ, ขนาด, และวันที่แก้ไขล่าสุด) โดยใช้ขนาดในการเรียงลำดับจากมากไปน้อย: + +`ls {{-lSR|-lS --recursive}}` + +- แสดงข้อมูลเบื้องต้นของไฟล์หรือโฟลเดอร์ (สิทธ์การเข้าถึง, ความเป็นเจ้าของ, ขนาด, และวันที่แก้ไขล่าสุด) โดยใช้วันที่แก้ไขล่าสุดในการเรียงลำดับจากอายุมากไปน้อย: + +`ls {{[-ltr|-lt --reverse]}}` + +- แสดงชื่อโฟลเดอร์: + +`ls {{[-d|--directory]}} */` diff --git a/pages.th/common/lzcat.md b/pages.th/common/lzcat.md new file mode 100644 index 00000000000000..852d89ae398dcc --- /dev/null +++ b/pages.th/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `xz` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr xz` diff --git a/pages.th/common/lzma.md b/pages.th/common/lzma.md new file mode 100644 index 00000000000000..eda40d017bc21c --- /dev/null +++ b/pages.th/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `xz` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr xz` diff --git a/pages.th/common/mscore.md b/pages.th/common/mscore.md new file mode 100644 index 00000000000000..78f21f7738ea8c --- /dev/null +++ b/pages.th/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `musescore` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr musescore` diff --git a/pages.th/common/n.md b/pages.th/common/n.md new file mode 100644 index 00000000000000..4c23210d548e46 --- /dev/null +++ b/pages.th/common/n.md @@ -0,0 +1,24 @@ +# n + +> เครื่องมือในการจัดการเวอร์ชั่นของ node +> ข้อมูลเพิ่มเติม: + +- ติดตั้ง node เวอร์ชั่นที่กำหนด ถ้าหากเวอร์ชั่นที่กำหนดถูกติดตั้งแล้ว เวอร์ชั่นดังกล่าวจะถูกเปิดใช้งาน: + +`n {{version}}` + +- แสดงรายชื่อเวอร์ชั่นของ node ที่ถูกติดตั้งไปแล้ว และจะเปิดใช้งานหนึ่งในนั้นเป็นการโต้ตอบ: + +`n` + +- ลบ node เวอร์ชั่นที่กำหนด: + +`n rm {{version}}` + +- รันไฟล์ที่กำหนด ด้วย node เวอร์ชั่นที่กำหนด: + +`n use {{version}} {{file.js}}` + +- แสดงแสดงชื่อของไดเรกทอรีแบบไบนารี่ของ node เวอร์ชั่นที่กำหนด: + +`n bin {{version}}` diff --git a/pages.th/common/nm-classic.md b/pages.th/common/nm-classic.md new file mode 100644 index 00000000000000..f4648f7a0a4e89 --- /dev/null +++ b/pages.th/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `nm` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr nm` diff --git a/pages.th/common/ntl.md b/pages.th/common/ntl.md new file mode 100644 index 00000000000000..c4ffe17601a8a2 --- /dev/null +++ b/pages.th/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `netlify` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr netlify` diff --git a/pages.th/common/pio-init.md b/pages.th/common/pio-init.md new file mode 100644 index 00000000000000..4d611ff92c2534 --- /dev/null +++ b/pages.th/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `pio project` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr pio project` diff --git a/pages.th/common/piodebuggdb.md b/pages.th/common/piodebuggdb.md new file mode 100644 index 00000000000000..ce95fa9bd4436b --- /dev/null +++ b/pages.th/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `pio debug` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr pio debug` diff --git a/pages.th/common/platformio.md b/pages.th/common/platformio.md new file mode 100644 index 00000000000000..203f2345d84be3 --- /dev/null +++ b/pages.th/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `pio` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr pio` diff --git a/pages.th/common/ptpython3.md b/pages.th/common/ptpython3.md new file mode 100644 index 00000000000000..e4052a3c359fd0 --- /dev/null +++ b/pages.th/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ptpython` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ptpython` diff --git a/pages.th/common/pwd.md b/pages.th/common/pwd.md new file mode 100644 index 00000000000000..99bd8284010c4a --- /dev/null +++ b/pages.th/common/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> แสดงชื่อของไดเรกทอรีที่ทำงานอยู่ +> ข้อมูลเพิ่มเติม: + +- แสดงชื่อของไดเรกทอรีที่ทำงานอยู่: + +`pwd` + +- แสดงชื่อของไดเรกทอรีที่ทำงานอยู่ โดยไม่รวม symlinks: + +`pwd {{[-P|--physical]}}` diff --git a/pages.th/common/python3.md b/pages.th/common/python3.md new file mode 100644 index 00000000000000..e8dca54296d232 --- /dev/null +++ b/pages.th/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `python` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr python` diff --git a/pages.th/common/r2.md b/pages.th/common/r2.md new file mode 100644 index 00000000000000..b1d2a26750dd96 --- /dev/null +++ b/pages.th/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `radare2` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr radare2` diff --git a/pages.th/common/rcat.md b/pages.th/common/rcat.md new file mode 100644 index 00000000000000..753c09ff627de5 --- /dev/null +++ b/pages.th/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `rc` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr rc` diff --git a/pages.th/common/tldr.md b/pages.th/common/tldr.md index aecb6f4536778a..0635b525f634e5 100644 --- a/pages.th/common/tldr.md +++ b/pages.th/common/tldr.md @@ -1,7 +1,7 @@ # tldr > แสดงตัวอย่างแบบง่ายสำหรับเครื่องมือบน command-line จากโปรเจคท์ tldr-pages. -> ดูเพิ่มเติม: . +> ข้อมูลเพิ่มเติม: - แสดงตัวอย่างการใช้งานคำสั่งที่ใช้บ่อย (บอกใบ้นิดนึง: นี่คือเหตุผลที่คุณสนใจใช้บริการของเราใช่ไหมล่ะ!): @@ -9,7 +9,7 @@ - แสดงหน้า tldr ของคำสั่ง tar สำหรับระบบปฏิบัติการ Linux: -`tldr -p {{linux}} {{tar}}` +`tldr {{[-p|--platform]}} {{linux}} {{tar}}` - ขอความช่วยเหลือการใช้งานคำสั่งย่อยของ Git: @@ -17,4 +17,4 @@ - ปรับปรุงข้อมูล tldr บนเครื่องของคุณให้ทันสมัย (ถ้าเครื่องของคุณรองรับการ caching): -`tldr -u` +`tldr {{[-u|--update]}}` diff --git a/pages.th/common/tldrl.md b/pages.th/common/tldrl.md new file mode 100644 index 00000000000000..5fb8d53724d498 --- /dev/null +++ b/pages.th/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tldr-lint` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr tldr-lint` diff --git a/pages.th/common/tlmgr-arch.md b/pages.th/common/tlmgr-arch.md new file mode 100644 index 00000000000000..4a9e137adadc04 --- /dev/null +++ b/pages.th/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tlmgr platform` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr tlmgr platform` diff --git a/pages.th/common/unlzma.md b/pages.th/common/unlzma.md new file mode 100644 index 00000000000000..72668087904792 --- /dev/null +++ b/pages.th/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `xz` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr xz` diff --git a/pages.th/common/unxz.md b/pages.th/common/unxz.md new file mode 100644 index 00000000000000..b071346f0154da --- /dev/null +++ b/pages.th/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `xz` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr xz` diff --git a/pages.th/common/vi.md b/pages.th/common/vi.md new file mode 100644 index 00000000000000..0ba40bb4d61db7 --- /dev/null +++ b/pages.th/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `vim` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr vim` diff --git a/pages.th/common/xzcat.md b/pages.th/common/xzcat.md new file mode 100644 index 00000000000000..2017e3e0ede2ad --- /dev/null +++ b/pages.th/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `xz` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr xz` diff --git a/pages.th/linux/ac.md b/pages.th/linux/ac.md new file mode 100644 index 00000000000000..9af5f034e73e74 --- /dev/null +++ b/pages.th/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> แสดงสถิติที่ผู้ใช้งานได้เชื่อมต่อเข้ามาในระบบเป็นเวลานานเท่าไหร่ +> ข้อมูลเพิ่มเติม: + +- แสดงสถิติเวลาที่ผู้ใช้ปัจจุบันได้เชื่อมต่อเข้ามาในระบบในหลักชั่วโมง: + +`ac` + +- แสดงสถิติเวลาที่ผู้ใช้ทุกคนได้เชื่อมต่อเข้ามาในระบบในหลักชั่วโมง แจกแจงตามผู้ใช้แต่ละคน: + +`ac {{[-p|--individual-totals]}}` + +- แสดงสถิติเวลาของผู้ใช้ที่ระบุไว้ได้เชื่อมต่อเข้ามาในระบบในหลักชั่วโมง: + +`ac {{[-p|--individual-totals]}} {{ชื่อผู้เข้าใช้}}` + +- แสดงสถิติว่าผู้ใช้ที่ระบุไว้ ได้เชื่อมต่อเข้ามาในรบบเป็นเวลากี่ชั่วโมงต่อวัน (พร้อมทั้งแสดงเวลาทั้งหมด): + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{ชื่อผู้เข้าใช้}}` + +- แสดงข้อมูลเพิ่มเติมต่างๆ: + +`ac --compatibility` diff --git a/pages.th/linux/alternatives.md b/pages.th/linux/alternatives.md new file mode 100644 index 00000000000000..f0454f89dd6e9b --- /dev/null +++ b/pages.th/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `update-alternatives` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr update-alternatives` diff --git a/pages.th/linux/apt-add-repository.md b/pages.th/linux/apt-add-repository.md new file mode 100644 index 00000000000000..db2eee536fac1f --- /dev/null +++ b/pages.th/linux/apt-add-repository.md @@ -0,0 +1,20 @@ +# apt-add-repository + +> ควบคุมและจัดการที่อยู่ของคลัง APT. +> ข้อมูลเพิ่มเติม: + +- เพิ่มที่หมายของคลัง APT: + +`apt-add-repository {{ที่อยู่จำเพาะของคลัง}}` + +- ลบคลัง APT: + +`apt-add-repository --remove {{ที่อยู่จำเพาะของคลัง}}` + +- อัพเดตข้อมูลแคชหลังจากเพิ่มคลัง APT: + +`apt-add-repository --update {{ที่อยู่จำเพาะของคลัง}}` + +- อนุญาตให้เข้าถึงซอรส์โค้ดของโปรแกรมในคลัง: + +`apt-add-repository --enable-source {{ที่อยู่จำเพาะของคลัง}}` diff --git a/pages.th/linux/batcat.md b/pages.th/linux/batcat.md new file mode 100644 index 00000000000000..932d2028694806 --- /dev/null +++ b/pages.th/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `bat` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr bat` diff --git a/pages.th/linux/cc.md b/pages.th/linux/cc.md new file mode 100644 index 00000000000000..f4185f7c735eba --- /dev/null +++ b/pages.th/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `gcc` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr gcc` diff --git a/pages.th/linux/ip-route-list.md b/pages.th/linux/ip-route-list.md new file mode 100644 index 00000000000000..e0bb46d7281601 --- /dev/null +++ b/pages.th/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ip route show` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ip route show` diff --git a/pages.th/linux/megadl.md b/pages.th/linux/megadl.md new file mode 100644 index 00000000000000..2758ad93b6da16 --- /dev/null +++ b/pages.th/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `megatools-dl` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr megatools-dl` diff --git a/pages.th/linux/ncal.md b/pages.th/linux/ncal.md new file mode 100644 index 00000000000000..5d27329db21dfc --- /dev/null +++ b/pages.th/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `cal` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr cal` diff --git a/pages.th/linux/ubuntu-bug.md b/pages.th/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..6474afa29450ba --- /dev/null +++ b/pages.th/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `apport-bug` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr apport-bug` diff --git a/pages.th/osx/aa.md b/pages.th/osx/aa.md new file mode 100644 index 00000000000000..a5f2c9e95a1de4 --- /dev/null +++ b/pages.th/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `yaa` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr yaa` diff --git a/pages.th/osx/afinfo.md b/pages.th/osx/afinfo.md new file mode 100644 index 00000000000000..2969799d4e2923 --- /dev/null +++ b/pages.th/osx/afinfo.md @@ -0,0 +1,29 @@ +# afinfo + +> โปรแกรมสำหรับแสดงข้อมูลเมตาของไฟล์เสียงบน OS X. +> คำสั่งที่ติดตั้งมาพร้อมกับ OS X. +> ข้อมูลเพิ่มเติม: + +- แสดงข้อมูลของไฟล์เสียงที่ส่งไป: + +`afinfo {{ทาง/ไป/ไฟล์}}` + +- แสดงข้อมูลโดยย่อของไฟล์เสียงในบรรทัดเดียว: + +`afinfo --brief {{ทาง/ไป/ไฟล์}}` + +- แสดงข้อมูลเมตาและเนื้อหาของ InfoDictionary ในไฟล์เสียง: + +`afinfo --info {{ทาง/ไป/ไฟล์}}` + +- แสดงข้อมูลในรูปแบบ XML: + +`afinfo --xml {{ทาง/ไป/ไฟล์}}` + +- แสดงคำเตือน (ถ้ามี) ของไฟล์เสียง: + +`afinfo --warnings {{ทาง/ไป/ไฟล์}}` + +- แสดงวิธีใช้งาน: + +`afinfo --help` diff --git a/pages.th/osx/afplay.md b/pages.th/osx/afplay.md new file mode 100644 index 00000000000000..7991c4ca708700 --- /dev/null +++ b/pages.th/osx/afplay.md @@ -0,0 +1,20 @@ +# afplay + +> เครื่องเล่นไฟล์เสียงผ่าน command-line. +> ข้อมูลเพิ่มเติม: + +- เล่นไฟล์เสียง (รอจนเล่นจบ): + +`afplay {{ทาง/ไป/ไฟล์}}` + +- เล่นไฟล์เสียงด้วยความเร็ว 2 เท่า: + +`afplay --rate {{2}} {{ทาง/ไป/ไฟล์}}` + +- เล่นไฟล์เสียงด้วยความเร็วครึ่งหนึ่ง: + +`afplay --rate {{0.5}} {{ทาง/ไป/ไฟล์}}` + +- เล่นตาม จำนวนวินาที ที่กำหนด จากจุดเริ่มแรกของไฟล์เสียง: + +`afplay --time {{จำนวนวินาที}} {{ทาง/ไป/ไฟล์}}` diff --git a/pages.th/osx/aiac.md b/pages.th/osx/aiac.md new file mode 100644 index 00000000000000..5d6ce58fbcd957 --- /dev/null +++ b/pages.th/osx/aiac.md @@ -0,0 +1,24 @@ +# aiac + +> ใช้ OpenAI ผลิตการกำหนดค่าของ IaC, เครื่องมือ , คิวรีสำหรับค้นหา และอื่นๆ. +> ข้อมูลเพิ่มเติม: + +- สร้าง Terraform สำหรับบัญชี Azure storage: + +`aiac get terraform {{for an azure storage account}}` + +- สร้าง Dockerfile สำหรับ nginx: + +`aiac get dockerfile {{for a secured nginx}}` + +- สร้าง GitHub Action ที่จะใช้ Terraform ร่วม: + +`aiac get github action {{that plans and applies terraform}}` + +- สร้างโค้ด Python สำหรับสแกนพอร์ตที่เปิดทั้งหมดในเครือข่ายของฉัน: + +`aiac get python {{code that scans all open ports in my network}}` + +- สร้างคิวรี MongoDB ที่รวมเอกสารทั้งหมดตามวันที่สร้าง: + +`aiac get mongo {{query that aggregates all documents by created date}}` diff --git a/pages.th/osx/airport.md b/pages.th/osx/airport.md new file mode 100644 index 00000000000000..3393b0b4165690 --- /dev/null +++ b/pages.th/osx/airport.md @@ -0,0 +1,20 @@ +# airport + +> เครื่องมือสำหรับตั้งค่าเครือข่ายไร้สาย (WLANs, Wi-Fi). +> ข้อมูลเพิ่มเติม: + +- แสดงสถานะเครือข่ายไร้สายปัจจุบัน: + +`airport --getinfo` + +- ตรวจจับทราฟฟิกไร้สายบนช่องสัญญาณ 1: + +`airport sniff {{1}}` + +- สแกนหาเครือข่ายไร้สายที่ใช้งานได้: + +`airport --scan` + +- ตัดการเชื่อมต่อจากเครือข่าย airport ปัจจุบัน: + +`sudo airport --disassociate` diff --git a/pages.th/osx/airportd.md b/pages.th/osx/airportd.md new file mode 100644 index 00000000000000..ef7f48a9d39ae3 --- /dev/null +++ b/pages.th/osx/airportd.md @@ -0,0 +1,9 @@ +# airportd + +> อินเทอร์เฟซจัดการเครือข่ายไร้สาย (WLANs, Wi-Fi). +> โปรแกรมนี้ทำงานในพื้นหลังในฐานะ daemon และไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่มต้น daemon: + +`airportd` diff --git a/pages.th/osx/apachectl.md b/pages.th/osx/apachectl.md new file mode 100644 index 00000000000000..033297187d3474 --- /dev/null +++ b/pages.th/osx/apachectl.md @@ -0,0 +1,16 @@ +# apachectl + +> อินเทอร์เฟซควบคุมสำหรับ Apache HTTP Server เพื่อ macOS. +> ข้อมูลเพิ่มเติม: + +- เริ่ม `org.apache.httpd` launchd job: + +`apachectl start` + +- หยุด launchd job: + +`apachectl stop` + +- รีสตาร์ท (หยุด, แล้วเริ่ม) launchd job ใหม่: + +`apachectl restart` diff --git a/pages.th/osx/applecamerad.md b/pages.th/osx/applecamerad.md new file mode 100644 index 00000000000000..9a05cd32d16899 --- /dev/null +++ b/pages.th/osx/applecamerad.md @@ -0,0 +1,9 @@ +# applecamerad + +> ตัวจัดการกล้อง. +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`applecamerad` diff --git a/pages.th/osx/appsleepd.md b/pages.th/osx/appsleepd.md new file mode 100644 index 00000000000000..405b65be1b0c52 --- /dev/null +++ b/pages.th/osx/appsleepd.md @@ -0,0 +1,9 @@ +# appsleepd + +> เริ่มการพักการทำงานของแอป. +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`appsleepd` diff --git a/pages.th/osx/arch.md b/pages.th/osx/arch.md new file mode 100644 index 00000000000000..9259b580ba86e9 --- /dev/null +++ b/pages.th/osx/arch.md @@ -0,0 +1,17 @@ +# arch + +> แสดงชื่อสถาปัตยกรรมของระบบ หรือรันคำสั่งในสถาปัตยกรรมที่ต่างออกไป. +> ดูเพิ่มเติม: `uname`. +> ข้อมูลเพิ่มเติม: + +- แสดงสถาปัตยกรรมของระบบ: + +`arch` + +- รันคำสั่งโดยใช้สถาปัตยกรรม x86_64: + +`arch -x86_64 "{{คำสั่ง}}"` + +- รันคำสั่งโดยใช้สถาปัตยกรรม arm64: + +`arch -arm64 "{{คำสั่ง}}"` diff --git a/pages.th/osx/archey.md b/pages.th/osx/archey.md new file mode 100644 index 00000000000000..0354e928fcd696 --- /dev/null +++ b/pages.th/osx/archey.md @@ -0,0 +1,20 @@ +# archey + +> แสดงข้อมูลระบบอย่างมีสไตล์. +> ข้อมูลเพิ่มเติม: + +- แสดงข้อมูลระบบ: + +`archey` + +- แสดงข้อมูลระบบแบบไร้สี: + +`archey --nocolor` + +- แสดงข้อมูลระบบโดยใช้ MacPorts แทน Homebrew: + +`archey --macports` + +- แสดงข้อมูลระบบโดยไม่ตรวจสอบ IP address: + +`archey --offline` diff --git a/pages.th/osx/as.md b/pages.th/osx/as.md new file mode 100644 index 00000000000000..4f028d5179d343 --- /dev/null +++ b/pages.th/osx/as.md @@ -0,0 +1,21 @@ +# as + +> แอสเซมเบลอร์ของ GNU ขนาดย่อม. +> ออกแบบมาเพื่อแปลงผลลัพธ์จาก `gcc` ให้เป็นไฟล์ที่ใช้กับ `ld`. +> ข้อมูลเพิ่มเติม: + +- แปลงไฟล์เป็นแอสเซมบลี โดยส่งออกไฟล์ลงใน `a.out`: + +`as {{ทาง/ไป/ไฟล์}}` + +- แปลงไฟล์และส่งออกเป็นชื่อไฟล์ที่กำหนด: + +`as {{ทาง/ไป/ไฟล์}} -o {{ทาง/ไป/ไฟล์ผลลัพธ์}}` + +- สร้างผลลัพธ์ให้เร็วขึ้น โดยไม่สนใจช่องว่าง(whitespace) และคอมเมนต์ (ควรใช้กับคอมไพเลอร์ที่น่าเชื่อถือเท่านั้น): + +`as -f {{ทาง/ไป/ไฟล์}}` + +- เพิ่มไดเรกทอรีที่ระบุเข้าไปในรายการค้นหาไฟล์ที่อ้างอิงโดยคำสั่ง .include ขณะประกอบไฟล์: + +`as -I {{ทาง/ไป/สารบบ}} {{ทาง/ไป/ไฟล์}}` diff --git a/pages.th/osx/asr.md b/pages.th/osx/asr.md new file mode 100644 index 00000000000000..7bae50baf616a9 --- /dev/null +++ b/pages.th/osx/asr.md @@ -0,0 +1,21 @@ +# asr + +> กู้คืน (คัดลอก) ดิสก์อิมเมจไปยังวอลุ่ม. +> ชื่อคำสั่งย่อมาจาก Apple Software Restore. +> ข้อมูลเพิ่มเติม: + +- กู้คืนอิมเมจดิสก์ไปยังวอลุ่มเป้าหมาย: + +`sudo asr restore --source {{อิมเมจไฟล์.dmg}} --target {{ทาง/ไป/วอลุมไฟล์}}` + +- ลบข้อมูลในวอลุ่มเป้าหมายก่อนการกู้คืน: + +`sudo asr restore --source {{อิมเมจไฟล์.dmg}} --target {{ทาง/ไป/วอลุมไฟล์}} --erase` + +- ข้ามขั้นตอนตรวจสอบหลังการกู้คืน: + +`sudo asr restore --source {{อิมเมจไฟล์.dmg}} --target {{ทาง/ไป/วอลุมไฟล์}} --noverify` + +- โคลนวอลุ่มโดยไม่ใช้อิมเมจดิสก์ตัวกลาง: + +`sudo asr restore --source {{ทาง/ไป/วอลุมไฟล์}} --target {{ทาง/ไป/วอลุมไฟล์}}` diff --git a/pages.th/osx/autofsd.md b/pages.th/osx/autofsd.md new file mode 100644 index 00000000000000..d88409b3b5703f --- /dev/null +++ b/pages.th/osx/autofsd.md @@ -0,0 +1,9 @@ +# autofsd + +> รันคำสั่ง `automount` เมื่อเริ่มระบบหรือมีการเปลี่ยนแปลงการตั้งค่าเครือข่ายเน็ต. +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`autofsd` diff --git a/pages.th/osx/automount.md b/pages.th/osx/automount.md new file mode 100644 index 00000000000000..86f1ab1fbd3dff --- /dev/null +++ b/pages.th/osx/automount.md @@ -0,0 +1,18 @@ +# automount + +> อ่านไฟล์ `/etc/auto_master` และทำการ mount `autofs` ที่จุดเชื่อมต่อที่กำหนดไว้เพื่อเรียกใช้งานการ mount แบบอัตโนมัติตามต้องการ. +> โดยทั่วไปใช้สำหรับเริ่มกระบวนการ automount ของระบบแบบแมนนวล. +> หมายเหตุ: อาจจะต้องใช้ `sudo` ในการรันหากคุณไม่มีสิทธิ์เพียงพอในการรัน. +> ข้อมูลเพิ่มเติม: + +- รัน automount โดยล้างแคชล่วงหน้า (`-c`) และแสดงข้อมูลอย่างละเอียด (`-v`) (ใช้บ่อยที่สุด): + +`automount -cv` + +- ยกเลิกการเชื่อมต่อโดยอัตโนมัติหลังไม่มีการใช้งาน 5 นาที (300 วินาที): + +`automount -t 300` + +- ยกเลิกการเชื่อมต่อทั้งหมดที่เคยถูก mount โดย automount (และใน / หรือที่กำหนดใน) `/etc/auto_master`: + +`automount -u` diff --git a/pages.th/osx/automountd.md b/pages.th/osx/automountd.md new file mode 100644 index 00000000000000..02d8c6522ac761 --- /dev/null +++ b/pages.th/osx/automountd.md @@ -0,0 +1,13 @@ +# automountd + +> daemon สำหรับการ mount/unmount อัตโนมัติของ `autofs` ที่ถูกเริ่มต้นโดย `launchd` เมื่อจำเป็น. +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`automountd` + +- บันทึกข้อมูลเพิ่มเติมลงใน `syslog`: + +`automountd -v` diff --git a/pages.th/osx/autoraise.md b/pages.th/osx/autoraise.md new file mode 100644 index 00000000000000..013f1f9d1a94b2 --- /dev/null +++ b/pages.th/osx/autoraise.md @@ -0,0 +1,8 @@ +# AutoRaise + +> ยกหน้าต่างขึ้นมาหรือโฟกัสหน้าต่าง (หรือทำทั้งสองอย่าง) โดยอัตโนมัติเมื่อเลื่อนเมาส์ไปวางเหนือหน้าต่างนั้น. +> ข้อมูลเพิ่มเติม: + +- รัน AutoRaise แบบเบื้องหลัง: + +`autoraise &` diff --git a/pages.th/osx/auvaltool.md b/pages.th/osx/auvaltool.md new file mode 100644 index 00000000000000..96b2d0b49f98cf --- /dev/null +++ b/pages.th/osx/auvaltool.md @@ -0,0 +1,13 @@ +# auvaltool + +> เครื่องมือสำหรับตรวจสอบและยืนยันความถูกต้องของ AudioUnit บน macOS. +> ใช้ในการทดสอบว่า AudioUnit แต่ละตัวทำงานถูกต้องตามมาตรฐานหรือไม่. +> ข้อมูลเพิ่มเติม: + +- แสดงรายการ AudioUnit ที่มีทั้งหมดทุกประเภท: + +`auvaltool -a` + +- แสดงรายการ AudioUnit ที่มีทั้งหมด พร้อมแสดงที่ตั้งไฟล์: + +`auvaltool -al` diff --git a/pages.th/osx/avbdeviced.md b/pages.th/osx/avbdeviced.md new file mode 100644 index 00000000000000..614f5ef0b4515a --- /dev/null +++ b/pages.th/osx/avbdeviced.md @@ -0,0 +1,9 @@ +# avbdeviced + +> บริการสำหรับจัดการอุปกรณ์ Audio Video Bridging (AVB). +> ไม่ควรเรียกใช้งานด้วยตนเอง. +> ข้อมูลเพิ่มเติม: + +- เริ่ม daemon: + +`avbdeviced` diff --git a/pages.th/osx/g[.md b/pages.th/osx/g[.md new file mode 100644 index 00000000000000..840ff2f8343432 --- /dev/null +++ b/pages.th/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `[` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr [` diff --git a/pages.th/osx/gb2sum.md b/pages.th/osx/gb2sum.md new file mode 100644 index 00000000000000..53ab875cbe9d40 --- /dev/null +++ b/pages.th/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `b2sum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr b2sum` diff --git a/pages.th/osx/gbase32.md b/pages.th/osx/gbase32.md new file mode 100644 index 00000000000000..78f97cf4325b52 --- /dev/null +++ b/pages.th/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `base32` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr base32` diff --git a/pages.th/osx/gbase64.md b/pages.th/osx/gbase64.md new file mode 100644 index 00000000000000..01374158ff405a --- /dev/null +++ b/pages.th/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `base64` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.th/osx/gbasename.md b/pages.th/osx/gbasename.md new file mode 100644 index 00000000000000..3b5da806534710 --- /dev/null +++ b/pages.th/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `basename` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr basename` diff --git a/pages.th/osx/gbasenc.md b/pages.th/osx/gbasenc.md new file mode 100644 index 00000000000000..ab16dac756231b --- /dev/null +++ b/pages.th/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `basenc` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr basenc` diff --git a/pages.th/osx/gcat.md b/pages.th/osx/gcat.md new file mode 100644 index 00000000000000..e86acb964b37e9 --- /dev/null +++ b/pages.th/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux cat` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.th/osx/gchcon.md b/pages.th/osx/gchcon.md new file mode 100644 index 00000000000000..22fdab0b3916ce --- /dev/null +++ b/pages.th/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux chcon` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.th/osx/gchgrp.md b/pages.th/osx/gchgrp.md new file mode 100644 index 00000000000000..98cbdf15a9bc11 --- /dev/null +++ b/pages.th/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `chgrp` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr chgrp` diff --git a/pages.th/osx/gchmod.md b/pages.th/osx/gchmod.md new file mode 100644 index 00000000000000..c939c1b08168c7 --- /dev/null +++ b/pages.th/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `chmod` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr chmod` diff --git a/pages.th/osx/gchown.md b/pages.th/osx/gchown.md new file mode 100644 index 00000000000000..905cc281b22a0f --- /dev/null +++ b/pages.th/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `chown` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr chown` diff --git a/pages.th/osx/gchroot.md b/pages.th/osx/gchroot.md new file mode 100644 index 00000000000000..16af01af2a0171 --- /dev/null +++ b/pages.th/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `chroot` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr chroot` diff --git a/pages.th/osx/gcksum.md b/pages.th/osx/gcksum.md new file mode 100644 index 00000000000000..7016a5619a1150 --- /dev/null +++ b/pages.th/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `cksum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr cksum` diff --git a/pages.th/osx/gcomm.md b/pages.th/osx/gcomm.md new file mode 100644 index 00000000000000..33b5e69cb38d2e --- /dev/null +++ b/pages.th/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `comm` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr comm` diff --git a/pages.th/osx/gcp.md b/pages.th/osx/gcp.md new file mode 100644 index 00000000000000..0e5cba9133d867 --- /dev/null +++ b/pages.th/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `cp` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr cp` diff --git a/pages.th/osx/gcsplit.md b/pages.th/osx/gcsplit.md new file mode 100644 index 00000000000000..055d17583ec6b2 --- /dev/null +++ b/pages.th/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux csplit` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.th/osx/gcut.md b/pages.th/osx/gcut.md new file mode 100644 index 00000000000000..15adfd5d4bfffb --- /dev/null +++ b/pages.th/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `cut` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.th/osx/gdate.md b/pages.th/osx/gdate.md new file mode 100644 index 00000000000000..e1ed8390501a42 --- /dev/null +++ b/pages.th/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `date` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.th/osx/gdd.md b/pages.th/osx/gdd.md new file mode 100644 index 00000000000000..0bfb2d670baef3 --- /dev/null +++ b/pages.th/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux dd` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.th/osx/gdf.md b/pages.th/osx/gdf.md new file mode 100644 index 00000000000000..0cda2109308b17 --- /dev/null +++ b/pages.th/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux df` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.th/osx/gdir.md b/pages.th/osx/gdir.md new file mode 100644 index 00000000000000..8ec43b5de18b6a --- /dev/null +++ b/pages.th/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux dir` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.th/osx/gdircolors.md b/pages.th/osx/gdircolors.md new file mode 100644 index 00000000000000..4fb8d3fa9d8b08 --- /dev/null +++ b/pages.th/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `dircolors` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr dircolors` diff --git a/pages.th/osx/gdirname.md b/pages.th/osx/gdirname.md new file mode 100644 index 00000000000000..925a8b69a2977a --- /dev/null +++ b/pages.th/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `dirname` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr dirname` diff --git a/pages.th/osx/gdnsdomainname.md b/pages.th/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..c8bc2a48321efb --- /dev/null +++ b/pages.th/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux dnsdomainname` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.th/osx/gecho.md b/pages.th/osx/gecho.md new file mode 100644 index 00000000000000..07338d0af1ff10 --- /dev/null +++ b/pages.th/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `echo` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr echo` diff --git a/pages.th/osx/ged.md b/pages.th/osx/ged.md new file mode 100644 index 00000000000000..eacf7d7221d453 --- /dev/null +++ b/pages.th/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ed` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ed` diff --git a/pages.th/osx/gegrep.md b/pages.th/osx/gegrep.md new file mode 100644 index 00000000000000..94a8250b70255b --- /dev/null +++ b/pages.th/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `egrep` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr egrep` diff --git a/pages.th/osx/genv.md b/pages.th/osx/genv.md new file mode 100644 index 00000000000000..0fa94fb248c96b --- /dev/null +++ b/pages.th/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `env` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr env` diff --git a/pages.th/osx/gexpand.md b/pages.th/osx/gexpand.md new file mode 100644 index 00000000000000..75a63a7c16f620 --- /dev/null +++ b/pages.th/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `expand` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr expand` diff --git a/pages.th/osx/gexpr.md b/pages.th/osx/gexpr.md new file mode 100644 index 00000000000000..7bb9525565f85c --- /dev/null +++ b/pages.th/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `expr` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr expr` diff --git a/pages.th/osx/gfactor.md b/pages.th/osx/gfactor.md new file mode 100644 index 00000000000000..2da666a477cba4 --- /dev/null +++ b/pages.th/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `factor` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr factor` diff --git a/pages.th/osx/gfalse.md b/pages.th/osx/gfalse.md new file mode 100644 index 00000000000000..3b1031522dfb0a --- /dev/null +++ b/pages.th/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `false` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr false` diff --git a/pages.th/osx/gfgrep.md b/pages.th/osx/gfgrep.md new file mode 100644 index 00000000000000..22ac78890da5d9 --- /dev/null +++ b/pages.th/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `fgrep` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr fgrep` diff --git a/pages.th/osx/gfind.md b/pages.th/osx/gfind.md new file mode 100644 index 00000000000000..10c495d3406623 --- /dev/null +++ b/pages.th/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `find` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr find` diff --git a/pages.th/osx/gfmt.md b/pages.th/osx/gfmt.md new file mode 100644 index 00000000000000..4cf1ab87ca010c --- /dev/null +++ b/pages.th/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `fmt` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr fmt` diff --git a/pages.th/osx/gfold.md b/pages.th/osx/gfold.md new file mode 100644 index 00000000000000..5053d3fd061834 --- /dev/null +++ b/pages.th/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux fold` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.th/osx/gftp.md b/pages.th/osx/gftp.md new file mode 100644 index 00000000000000..a73a9821c3c26f --- /dev/null +++ b/pages.th/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ftp` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ftp` diff --git a/pages.th/osx/ggrep.md b/pages.th/osx/ggrep.md new file mode 100644 index 00000000000000..06d07bd10a6f73 --- /dev/null +++ b/pages.th/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `grep` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr grep` diff --git a/pages.th/osx/ggroups.md b/pages.th/osx/ggroups.md new file mode 100644 index 00000000000000..d4ca554b25a427 --- /dev/null +++ b/pages.th/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `groups` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr groups` diff --git a/pages.th/osx/ghead.md b/pages.th/osx/ghead.md new file mode 100644 index 00000000000000..cf9d9a51d490e9 --- /dev/null +++ b/pages.th/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux head` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.th/osx/ghostid.md b/pages.th/osx/ghostid.md new file mode 100644 index 00000000000000..26f68e3f46cc4b --- /dev/null +++ b/pages.th/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `hostid` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr hostid` diff --git a/pages.th/osx/ghostname.md b/pages.th/osx/ghostname.md new file mode 100644 index 00000000000000..e615a184ba67de --- /dev/null +++ b/pages.th/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `hostname` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr hostname` diff --git a/pages.th/osx/gid.md b/pages.th/osx/gid.md new file mode 100644 index 00000000000000..6738c60c5bc986 --- /dev/null +++ b/pages.th/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `id` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr id` diff --git a/pages.th/osx/gifconfig.md b/pages.th/osx/gifconfig.md new file mode 100644 index 00000000000000..c87e58c50fc431 --- /dev/null +++ b/pages.th/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ifconfig` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ifconfig` diff --git a/pages.th/osx/gindent.md b/pages.th/osx/gindent.md new file mode 100644 index 00000000000000..d3a4390d4592a9 --- /dev/null +++ b/pages.th/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `indent` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.th/osx/ginstall.md b/pages.th/osx/ginstall.md new file mode 100644 index 00000000000000..e90b9dcbe64485 --- /dev/null +++ b/pages.th/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `install` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr install` diff --git a/pages.th/osx/gjoin.md b/pages.th/osx/gjoin.md new file mode 100644 index 00000000000000..5f102635108d1a --- /dev/null +++ b/pages.th/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `join` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr join` diff --git a/pages.th/osx/gkill.md b/pages.th/osx/gkill.md new file mode 100644 index 00000000000000..fd00539de23284 --- /dev/null +++ b/pages.th/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux kill` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.th/osx/glibtool.md b/pages.th/osx/glibtool.md new file mode 100644 index 00000000000000..81d89f6ecf075c --- /dev/null +++ b/pages.th/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux libtool` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.th/osx/glibtoolize.md b/pages.th/osx/glibtoolize.md new file mode 100644 index 00000000000000..5bb8b37bee8781 --- /dev/null +++ b/pages.th/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux libtoolize` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.th/osx/glink.md b/pages.th/osx/glink.md new file mode 100644 index 00000000000000..0f54969d1d7cce --- /dev/null +++ b/pages.th/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `link` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr link` diff --git a/pages.th/osx/gln.md b/pages.th/osx/gln.md new file mode 100644 index 00000000000000..85adfe11f8d221 --- /dev/null +++ b/pages.th/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ln` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ln` diff --git a/pages.th/osx/glocate.md b/pages.th/osx/glocate.md new file mode 100644 index 00000000000000..b137b54fa8aff8 --- /dev/null +++ b/pages.th/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux locate` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.th/osx/glogger.md b/pages.th/osx/glogger.md new file mode 100644 index 00000000000000..47256e6bc6b848 --- /dev/null +++ b/pages.th/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux logger` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.th/osx/glogname.md b/pages.th/osx/glogname.md new file mode 100644 index 00000000000000..be8e6c3702dd68 --- /dev/null +++ b/pages.th/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `logname` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr logname` diff --git a/pages.th/osx/gls.md b/pages.th/osx/gls.md new file mode 100644 index 00000000000000..8583fbe2f0af88 --- /dev/null +++ b/pages.th/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ls` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ls` diff --git a/pages.th/osx/gmake.md b/pages.th/osx/gmake.md new file mode 100644 index 00000000000000..bafa6e346b2139 --- /dev/null +++ b/pages.th/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `make` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr make` diff --git a/pages.th/osx/gmd5sum.md b/pages.th/osx/gmd5sum.md new file mode 100644 index 00000000000000..5546d986b4a3ea --- /dev/null +++ b/pages.th/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `md5sum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr md5sum` diff --git a/pages.th/osx/gmkdir.md b/pages.th/osx/gmkdir.md new file mode 100644 index 00000000000000..597c86fb674ecd --- /dev/null +++ b/pages.th/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `mkdir` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr mkdir` diff --git a/pages.th/osx/gmkfifo.md b/pages.th/osx/gmkfifo.md new file mode 100644 index 00000000000000..9230a374f5d8fe --- /dev/null +++ b/pages.th/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `mkfifo` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr mkfifo` diff --git a/pages.th/osx/gmknod.md b/pages.th/osx/gmknod.md new file mode 100644 index 00000000000000..a891c474f18ccf --- /dev/null +++ b/pages.th/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux mknod` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.th/osx/gmktemp.md b/pages.th/osx/gmktemp.md new file mode 100644 index 00000000000000..e5ad56062e2e3e --- /dev/null +++ b/pages.th/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux mktemp` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.th/osx/gmv.md b/pages.th/osx/gmv.md new file mode 100644 index 00000000000000..4e709abbd28d67 --- /dev/null +++ b/pages.th/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `mv` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr mv` diff --git a/pages.th/osx/gnice.md b/pages.th/osx/gnice.md new file mode 100644 index 00000000000000..1de2988f0af103 --- /dev/null +++ b/pages.th/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `nice` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr nice` diff --git a/pages.th/osx/gnl.md b/pages.th/osx/gnl.md new file mode 100644 index 00000000000000..9d3b2c61bdb4ce --- /dev/null +++ b/pages.th/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux nl` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.th/osx/gnohup.md b/pages.th/osx/gnohup.md new file mode 100644 index 00000000000000..3cab13d3f7ca27 --- /dev/null +++ b/pages.th/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `nohup` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr nohup` diff --git a/pages.th/osx/gnproc.md b/pages.th/osx/gnproc.md new file mode 100644 index 00000000000000..cc00c489f2b744 --- /dev/null +++ b/pages.th/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `nproc` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr nproc` diff --git a/pages.th/osx/gnumfmt.md b/pages.th/osx/gnumfmt.md new file mode 100644 index 00000000000000..0fe219d522e4c8 --- /dev/null +++ b/pages.th/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `numfmt` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr numfmt` diff --git a/pages.th/osx/god.md b/pages.th/osx/god.md new file mode 100644 index 00000000000000..cb31e3902924db --- /dev/null +++ b/pages.th/osx/god.md @@ -0,0 +1,7 @@ +# god + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `od` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr od` diff --git a/pages.th/osx/gpaste.md b/pages.th/osx/gpaste.md new file mode 100644 index 00000000000000..268b999401384b --- /dev/null +++ b/pages.th/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `paste` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr paste` diff --git a/pages.th/osx/gpathchk.md b/pages.th/osx/gpathchk.md new file mode 100644 index 00000000000000..5b6eba24fabd02 --- /dev/null +++ b/pages.th/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `pathchk` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr pathchk` diff --git a/pages.th/osx/gping.md b/pages.th/osx/gping.md new file mode 100644 index 00000000000000..38a14c25065372 --- /dev/null +++ b/pages.th/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ping` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.th/osx/gping6.md b/pages.th/osx/gping6.md new file mode 100644 index 00000000000000..3256048bd5c906 --- /dev/null +++ b/pages.th/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `ping6` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr ping6` diff --git a/pages.th/osx/gpinky.md b/pages.th/osx/gpinky.md new file mode 100644 index 00000000000000..24a874f4131ac9 --- /dev/null +++ b/pages.th/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `pinky` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr pinky` diff --git a/pages.th/osx/gpr.md b/pages.th/osx/gpr.md new file mode 100644 index 00000000000000..159d75888daa5c --- /dev/null +++ b/pages.th/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `pr` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr pr` diff --git a/pages.th/osx/gprintenv.md b/pages.th/osx/gprintenv.md new file mode 100644 index 00000000000000..48a18b874e0d14 --- /dev/null +++ b/pages.th/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `printenv` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr printenv` diff --git a/pages.th/osx/gprintf.md b/pages.th/osx/gprintf.md new file mode 100644 index 00000000000000..8a7fa2cc4ae5ab --- /dev/null +++ b/pages.th/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `printf` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr printf` diff --git a/pages.th/osx/gptx.md b/pages.th/osx/gptx.md new file mode 100644 index 00000000000000..bb68c557214d7c --- /dev/null +++ b/pages.th/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux ptx` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.th/osx/gpwd.md b/pages.th/osx/gpwd.md new file mode 100644 index 00000000000000..2dc856aee047e2 --- /dev/null +++ b/pages.th/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `pwd` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr pwd` diff --git a/pages.th/osx/grcp.md b/pages.th/osx/grcp.md new file mode 100644 index 00000000000000..88a0b0e06b9dc9 --- /dev/null +++ b/pages.th/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux rcp` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.th/osx/greadlink.md b/pages.th/osx/greadlink.md new file mode 100644 index 00000000000000..9ddced46bb0c1a --- /dev/null +++ b/pages.th/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `readlink` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr readlink` diff --git a/pages.th/osx/grealpath.md b/pages.th/osx/grealpath.md new file mode 100644 index 00000000000000..6ba7ce6ef73e34 --- /dev/null +++ b/pages.th/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `realpath` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr realpath` diff --git a/pages.th/osx/grexec.md b/pages.th/osx/grexec.md new file mode 100644 index 00000000000000..f8355e1f7c68ad --- /dev/null +++ b/pages.th/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux rexec` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.th/osx/grlogin.md b/pages.th/osx/grlogin.md new file mode 100644 index 00000000000000..bcc7e61bedab12 --- /dev/null +++ b/pages.th/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux rlogin` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.th/osx/grm.md b/pages.th/osx/grm.md new file mode 100644 index 00000000000000..db7915a29aa9c5 --- /dev/null +++ b/pages.th/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `rm` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr rm` diff --git a/pages.th/osx/grmdir.md b/pages.th/osx/grmdir.md new file mode 100644 index 00000000000000..5c8c142504dd1a --- /dev/null +++ b/pages.th/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `rmdir` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr rmdir` diff --git a/pages.th/osx/grsh.md b/pages.th/osx/grsh.md new file mode 100644 index 00000000000000..41ad3c5af6ada9 --- /dev/null +++ b/pages.th/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux rsh` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.th/osx/gruncon.md b/pages.th/osx/gruncon.md new file mode 100644 index 00000000000000..aec10e37dbbda0 --- /dev/null +++ b/pages.th/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux runcon` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.th/osx/gsed.md b/pages.th/osx/gsed.md new file mode 100644 index 00000000000000..159ddbe7718963 --- /dev/null +++ b/pages.th/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux sed` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.th/osx/gseq.md b/pages.th/osx/gseq.md new file mode 100644 index 00000000000000..dbf372c545c8f1 --- /dev/null +++ b/pages.th/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `seq` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr seq` diff --git a/pages.th/osx/gsha1sum.md b/pages.th/osx/gsha1sum.md new file mode 100644 index 00000000000000..03f5d506848842 --- /dev/null +++ b/pages.th/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `sha1sum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr sha1sum` diff --git a/pages.th/osx/gsha224sum.md b/pages.th/osx/gsha224sum.md new file mode 100644 index 00000000000000..fe54245d682fef --- /dev/null +++ b/pages.th/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `sha224sum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr sha224sum` diff --git a/pages.th/osx/gsha256sum.md b/pages.th/osx/gsha256sum.md new file mode 100644 index 00000000000000..85001bb89d0e34 --- /dev/null +++ b/pages.th/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `sha256sum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr sha256sum` diff --git a/pages.th/osx/gsha384sum.md b/pages.th/osx/gsha384sum.md new file mode 100644 index 00000000000000..1cec5e79a7eb1a --- /dev/null +++ b/pages.th/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `sha384sum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr sha384sum` diff --git a/pages.th/osx/gsha512sum.md b/pages.th/osx/gsha512sum.md new file mode 100644 index 00000000000000..b962ea27f4b04e --- /dev/null +++ b/pages.th/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `sha512sum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr sha512sum` diff --git a/pages.th/osx/gshred.md b/pages.th/osx/gshred.md new file mode 100644 index 00000000000000..1330bdb90a4ea5 --- /dev/null +++ b/pages.th/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `shred` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr shred` diff --git a/pages.th/osx/gshuf.md b/pages.th/osx/gshuf.md new file mode 100644 index 00000000000000..38c03dbbb3483c --- /dev/null +++ b/pages.th/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `shuf` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.th/osx/gsleep.md b/pages.th/osx/gsleep.md new file mode 100644 index 00000000000000..e26e10fda71e37 --- /dev/null +++ b/pages.th/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux sleep` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.th/osx/gsort.md b/pages.th/osx/gsort.md new file mode 100644 index 00000000000000..3f69dd57f3eda4 --- /dev/null +++ b/pages.th/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `sort` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr sort` diff --git a/pages.th/osx/gsplit.md b/pages.th/osx/gsplit.md new file mode 100644 index 00000000000000..ffe56ef5cda920 --- /dev/null +++ b/pages.th/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `split` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.th/osx/gstat.md b/pages.th/osx/gstat.md new file mode 100644 index 00000000000000..388c8e6d80bb31 --- /dev/null +++ b/pages.th/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `stat` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.th/osx/gstdbuf.md b/pages.th/osx/gstdbuf.md new file mode 100644 index 00000000000000..0c55cfc69994e2 --- /dev/null +++ b/pages.th/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `stdbuf` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr stdbuf` diff --git a/pages.th/osx/gstty.md b/pages.th/osx/gstty.md new file mode 100644 index 00000000000000..d32df910350082 --- /dev/null +++ b/pages.th/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `stty` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr stty` diff --git a/pages.th/osx/gsum.md b/pages.th/osx/gsum.md new file mode 100644 index 00000000000000..100594e6bc5aa0 --- /dev/null +++ b/pages.th/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `sum` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr sum` diff --git a/pages.th/osx/gsync.md b/pages.th/osx/gsync.md new file mode 100644 index 00000000000000..6aecf810e64437 --- /dev/null +++ b/pages.th/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `sync` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr sync` diff --git a/pages.th/osx/gtac.md b/pages.th/osx/gtac.md new file mode 100644 index 00000000000000..ec0fc9fa51bda6 --- /dev/null +++ b/pages.th/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tac` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr tac` diff --git a/pages.th/osx/gtail.md b/pages.th/osx/gtail.md new file mode 100644 index 00000000000000..c8b147549aa717 --- /dev/null +++ b/pages.th/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tail` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.th/osx/gtalk.md b/pages.th/osx/gtalk.md new file mode 100644 index 00000000000000..afcf1d51a64387 --- /dev/null +++ b/pages.th/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux talk` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.th/osx/gtar.md b/pages.th/osx/gtar.md new file mode 100644 index 00000000000000..ed95a733176e1e --- /dev/null +++ b/pages.th/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tar` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr tar` diff --git a/pages.th/osx/gtee.md b/pages.th/osx/gtee.md new file mode 100644 index 00000000000000..1f8db876108bf0 --- /dev/null +++ b/pages.th/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tee` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr tee` diff --git a/pages.th/osx/gtelnet.md b/pages.th/osx/gtelnet.md new file mode 100644 index 00000000000000..e7dcfb3831a838 --- /dev/null +++ b/pages.th/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `telnet` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr telnet` diff --git a/pages.th/osx/gtest.md b/pages.th/osx/gtest.md new file mode 100644 index 00000000000000..a7b4f24ef7466e --- /dev/null +++ b/pages.th/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `test` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr test` diff --git a/pages.th/osx/gtftp.md b/pages.th/osx/gtftp.md new file mode 100644 index 00000000000000..0976bc22424228 --- /dev/null +++ b/pages.th/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux tftp` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.th/osx/gtime.md b/pages.th/osx/gtime.md new file mode 100644 index 00000000000000..a2570a020c49ca --- /dev/null +++ b/pages.th/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `time` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr time` diff --git a/pages.th/osx/gtimeout.md b/pages.th/osx/gtimeout.md new file mode 100644 index 00000000000000..77d62b5a15bb36 --- /dev/null +++ b/pages.th/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `timeout` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr timeout` diff --git a/pages.th/osx/gtouch.md b/pages.th/osx/gtouch.md new file mode 100644 index 00000000000000..eff53ac25ceb78 --- /dev/null +++ b/pages.th/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `touch` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr touch` diff --git a/pages.th/osx/gtr.md b/pages.th/osx/gtr.md new file mode 100644 index 00000000000000..b25a52b8912898 --- /dev/null +++ b/pages.th/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tr` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr tr` diff --git a/pages.th/osx/gtraceroute.md b/pages.th/osx/gtraceroute.md new file mode 100644 index 00000000000000..2596c298576e12 --- /dev/null +++ b/pages.th/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `traceroute` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr traceroute` diff --git a/pages.th/osx/gtrue.md b/pages.th/osx/gtrue.md new file mode 100644 index 00000000000000..a9458e491acfcb --- /dev/null +++ b/pages.th/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `true` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr true` diff --git a/pages.th/osx/gtruncate.md b/pages.th/osx/gtruncate.md new file mode 100644 index 00000000000000..4b4e3fbee016d6 --- /dev/null +++ b/pages.th/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `truncate` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr truncate` diff --git a/pages.th/osx/gtsort.md b/pages.th/osx/gtsort.md new file mode 100644 index 00000000000000..39d65572801f74 --- /dev/null +++ b/pages.th/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tsort` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr tsort` diff --git a/pages.th/osx/gtty.md b/pages.th/osx/gtty.md new file mode 100644 index 00000000000000..3a0495c3313a49 --- /dev/null +++ b/pages.th/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `tty` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr tty` diff --git a/pages.th/osx/guname.md b/pages.th/osx/guname.md new file mode 100644 index 00000000000000..f1f22b37276aaa --- /dev/null +++ b/pages.th/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `uname` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.th/osx/gunexpand.md b/pages.th/osx/gunexpand.md new file mode 100644 index 00000000000000..8cfd6b92e1f89a --- /dev/null +++ b/pages.th/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `unexpand` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr unexpand` diff --git a/pages.th/osx/guniq.md b/pages.th/osx/guniq.md new file mode 100644 index 00000000000000..eb4307c6af01ad --- /dev/null +++ b/pages.th/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `uniq` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr uniq` diff --git a/pages.th/osx/gunits.md b/pages.th/osx/gunits.md new file mode 100644 index 00000000000000..875e4b0626ff23 --- /dev/null +++ b/pages.th/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `units` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr units` diff --git a/pages.th/osx/gunlink.md b/pages.th/osx/gunlink.md new file mode 100644 index 00000000000000..c0d7c6764f51d5 --- /dev/null +++ b/pages.th/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `unlink` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr unlink` diff --git a/pages.th/osx/gupdatedb.md b/pages.th/osx/gupdatedb.md new file mode 100644 index 00000000000000..041c38bddd0487 --- /dev/null +++ b/pages.th/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `-p linux updatedb` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.th/osx/guptime.md b/pages.th/osx/guptime.md new file mode 100644 index 00000000000000..ac22498f35513f --- /dev/null +++ b/pages.th/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `uptime` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.th/osx/gusers.md b/pages.th/osx/gusers.md new file mode 100644 index 00000000000000..a5ecf160d9c763 --- /dev/null +++ b/pages.th/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `users` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr users` diff --git a/pages.th/osx/gvdir.md b/pages.th/osx/gvdir.md new file mode 100644 index 00000000000000..b0b5d78df6f9e4 --- /dev/null +++ b/pages.th/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `vdir` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr vdir` diff --git a/pages.th/osx/gwc.md b/pages.th/osx/gwc.md new file mode 100644 index 00000000000000..cb25c330686871 --- /dev/null +++ b/pages.th/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `wc` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.th/osx/gwhich.md b/pages.th/osx/gwhich.md new file mode 100644 index 00000000000000..e812ccd8b958e5 --- /dev/null +++ b/pages.th/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `which` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr which` diff --git a/pages.th/osx/gwho.md b/pages.th/osx/gwho.md new file mode 100644 index 00000000000000..df589d046050d1 --- /dev/null +++ b/pages.th/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `who` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr who` diff --git a/pages.th/osx/gwhoami.md b/pages.th/osx/gwhoami.md new file mode 100644 index 00000000000000..2871340ac8bc1b --- /dev/null +++ b/pages.th/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `whoami` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr whoami` diff --git a/pages.th/osx/gwhois.md b/pages.th/osx/gwhois.md new file mode 100644 index 00000000000000..9dfe3b9a35343b --- /dev/null +++ b/pages.th/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `whois` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr whois` diff --git a/pages.th/osx/gxargs.md b/pages.th/osx/gxargs.md new file mode 100644 index 00000000000000..c84cbbb2ac3401 --- /dev/null +++ b/pages.th/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `xargs` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr xargs` diff --git a/pages.th/osx/gyes.md b/pages.th/osx/gyes.md new file mode 100644 index 00000000000000..9a194209a00d39 --- /dev/null +++ b/pages.th/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `yes` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr yes` diff --git a/pages.th/osx/pbcopy.md b/pages.th/osx/pbcopy.md new file mode 100644 index 00000000000000..bb3e2a5c0d7098 --- /dev/null +++ b/pages.th/osx/pbcopy.md @@ -0,0 +1,13 @@ +# pbcopy + +> คัดลอกข้อมูลจากอินพุตมาตรฐาน (`stdin`) ไปยังคลิปบอร์ด +> เทียบได้กับการกดปุ่ม `` บนแป้นพิมพ์ +> ข้อมูลเพิ่มเติม: + +- คัดลอกเนื้อหาในไฟล์ที่กำหนดไปยังคลิปบอร์ด: + +`pbcopy < {{ทาง/ไป/ไฟล์}}` + +- คัดลอกผลลัพธ์ของคำสั่งไปยังคลิปบอร์ด: + +`find . -type t -name "*.png" | pbcopy` diff --git a/pages.th/osx/pbpaste.md b/pages.th/osx/pbpaste.md new file mode 100644 index 00000000000000..f142f365aad1e6 --- /dev/null +++ b/pages.th/osx/pbpaste.md @@ -0,0 +1,13 @@ +# pbpaste + +> ส่งเนื้อหาของคลิปบอร์ดไปยังผลผลิตมาตรฐาน (`stdout`) +> เทียบได้กับการกดปุ่ม `` บนแป้นพิมพ์ +> ข้อมูลเพิ่มเติม: + +- เขียนเนื้อหาของคลิปบอร์ดไปยังไฟล์: + +`pbpaste > {{ทาง/ไป/ไฟล์}}` + +- นำเนื้อหาในคลิปบอร์ดไปใช้เป็นอินพุตของคำสั่ง: + +`pbpaste | grep foo` diff --git a/pages.th/windows/cd.md b/pages.th/windows/cd.md new file mode 100644 index 00000000000000..223b349a51cede --- /dev/null +++ b/pages.th/windows/cd.md @@ -0,0 +1,24 @@ +# cd + +> แสดงชื่อหรือเปลี่ยนไดเร็กทอรีการทำงานปัจจุบัน +> ข้อมูลเพิ่มเติม: + +- แสดงชื่อของไดเร็กทอรีปัจจุบัน: + +`cd` + +- ไปที่รูทของไดรฟ์ปัจจุบัน: + +`cd \` + +- ไปที่ไดเร็กทอรีในไดรฟ์เดียวกัน: + +`cd {{ทาง\ไป\สารบบ}}` + +- ไปที่พาเรนต์ของไดเร็กทอรีปัจจุบัน: + +`cd ..` + +- ไปที่ไดเร็กทอรีที่อยู่ต่างไดรฟ์: + +`cd {{ทาง\ไป\สารบบ}} /d` diff --git a/pages.th/windows/chkdsk.md b/pages.th/windows/chkdsk.md new file mode 100644 index 00000000000000..8d7dd596b1a431 --- /dev/null +++ b/pages.th/windows/chkdsk.md @@ -0,0 +1,20 @@ +# chkdsk + +> ความสมบูรณ์ของระบบไฟล์และข้อมูลเมตาของระบบไฟล์บนดิสก์โวลุ่มและแก้ไขข้อผิดพลาดของระบบ +> ข้อมูลเพิ่มเติม: + +- ระบุตัวอักษรไดรฟ์ (ตามด้วยเครื่องหมาย colon), mount point, หรือชื่อของไดรฟ์: + +`chkdsk {{ไดรฟ์}}` + +- แก้ไขข้อผิดพลาดของไดรฟ์ที่เลือก: + +`chkdsk {{ไดรฟ์}} /f` + +- ปิดการใช้งานไดรฟ์ที่เลือกก่อนการตรวจสอบ: + +`chkdsk {{ไดรฟ์}} /x` + +- เปลี่ยนขนาดของไฟล์ log เป็นไปตามขนาดที่ระบุ (เฉพาะ NTFS): + +`chkdsk /l{{ขนาด}}` diff --git a/pages.th/windows/chrome.md b/pages.th/windows/chrome.md new file mode 100644 index 00000000000000..76153f1a1978b1 --- /dev/null +++ b/pages.th/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `chromium` +> ข้อมูลเพิ่มเติม: + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr chromium` diff --git a/pages.th/windows/cinst.md b/pages.th/windows/cinst.md new file mode 100644 index 00000000000000..d45b5a9f2e25a4 --- /dev/null +++ b/pages.th/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `choco install` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr choco install` diff --git a/pages.th/windows/clist.md b/pages.th/windows/clist.md new file mode 100644 index 00000000000000..971cf651042076 --- /dev/null +++ b/pages.th/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `choco list` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr choco list` diff --git a/pages.th/windows/cls.md b/pages.th/windows/cls.md new file mode 100644 index 00000000000000..f69ac8cfc4e111 --- /dev/null +++ b/pages.th/windows/cls.md @@ -0,0 +1,8 @@ +# cls + +> ล้างตัวอักษรทั้งหมดที่อยู่บนหน้าต่าง +> ข้อมูลเพิ่มเติม: + +- ล้างตัวอักษรทั้งหมดบนหน้าจอ: + +`cls` diff --git a/pages.th/windows/cmd.md b/pages.th/windows/cmd.md new file mode 100644 index 00000000000000..fe6af877eb81be --- /dev/null +++ b/pages.th/windows/cmd.md @@ -0,0 +1,36 @@ +# cmd + +> ตัวแปลคำสั่งของ Windows +> ข้อมูลเพิ่มเติม: + +- เริ่มเซสชันเชลล์แบบโต้ตอบ: + +`cmd` + +- รันคำสั่งที่ระบุแล้วปิด ([c]ommand): + +`cmd /c {{echo Hello world}}` + +- ดำเนินการสคริปต์เฉพาะ: + +`cmd {{เส้นทาง\ไปยัง\สคริปต์}}` + +- ดำเนินการคำสั่งเฉพาะแล้วป้อนเชลล์แบบโต้ตอบ: + +`cmd /k {{echo Hello world}}` + +- เริ่มเซสชันเชลล์แบบโต้ตอบโดยที่ 'echo' ถูกปิดใช้งานในเอาต์พุตคำสั่ง: + +`cmd /q` + +- เริ่มเซสชันเชลล์แบบโต้ตอบโดยเปิดใช้งานหรือปิดใช้งานการขยาย [v]ariable ที่ล่าช้า: + +`cmd /v:{{on|off}}` + +- เริ่มเซสชันเชลล์แบบโต้ตอบด้วยคำสั่ง [e]xtensions ที่เปิดใช้งานหรือปิดใช้งาน: + +`cmd /e:{{on|off}}` + +- บังคับให้เอาต์พุตใช้การเข้ารหัส [u]nicode: + +`cmd /u` diff --git a/pages.th/windows/cpush.md b/pages.th/windows/cpush.md new file mode 100644 index 00000000000000..cad9f3b57c789a --- /dev/null +++ b/pages.th/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `choco push` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr choco push` diff --git a/pages.th/windows/cuninst.md b/pages.th/windows/cuninst.md new file mode 100644 index 00000000000000..882db26e7a8207 --- /dev/null +++ b/pages.th/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `choco uninstall` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr choco uninstall` diff --git a/pages.th/windows/dir.md b/pages.th/windows/dir.md new file mode 100644 index 00000000000000..094a05f221f362 --- /dev/null +++ b/pages.th/windows/dir.md @@ -0,0 +1,20 @@ +# dir + +> แสดงรายการเนื้อหาไดเรกทอรี +> ข้อมูลเพิ่มเติม: + +- แสดงเนื้อหาของไดเร็กทอรีปัจจุบัน: + +`dir` + +- แสดงเนื้อหาของไดเร็กทอรีปัจจุบัน: + +`dir {{ทาง\ไป\สารบบ}}` + +- แสดงเนื้อหาของไดเร็กทอรีปัจจุบัน, รวมถึงรายการที่ซ่อนอยู่: + +`dir /A` + +- แสดงเนื้อหาของไดเร็กทอรีที่กำหนด, รวมถึงรายการที่ซ่อนอยู่: + +`dir {{ทาง\ไป\สารบบ}} /A` diff --git a/pages.th/windows/explorer.md b/pages.th/windows/explorer.md new file mode 100644 index 00000000000000..274c9f1496317a --- /dev/null +++ b/pages.th/windows/explorer.md @@ -0,0 +1,16 @@ +# explorer + +> โปรแกรมจัดการไฟล์ของวินโดวส์. +> ข้อมูลเพิ่มเติม: + +- เปิดโปรแกรมจัดการไฟล์: + +`explorer` + +- เปิดโปรแกรมจัดการไฟล์ที่สารบบปัจุจุบัน: + +`explorer .` + +- เปิดโปรแกรมที่สารบบที่ระบุ: + +`explorer {{ทาง/ไป/สารบบ}}` diff --git a/pages.th/windows/iwr.md b/pages.th/windows/iwr.md new file mode 100644 index 00000000000000..af57be0c06e7a9 --- /dev/null +++ b/pages.th/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `invoke-webrequest` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr invoke-webrequest` diff --git a/pages.th/windows/pwsh-where.md b/pages.th/windows/pwsh-where.md new file mode 100644 index 00000000000000..79f0b00f7ae196 --- /dev/null +++ b/pages.th/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `Where-Object` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr Where-Object` diff --git a/pages.th/windows/rd.md b/pages.th/windows/rd.md new file mode 100644 index 00000000000000..feb6e0eae8e82b --- /dev/null +++ b/pages.th/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `rmdir` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr rmdir` diff --git a/pages.th/windows/sls.md b/pages.th/windows/sls.md new file mode 100644 index 00000000000000..5e05513c7838cb --- /dev/null +++ b/pages.th/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> คำสั่งนี้เป็นอีกชื่อหนึ่งของคำสั่ง `Select-String` + +- เรียกดูรายละเอียดสำหรับคำสั่งตัวเต็ม: + +`tldr select-string` diff --git a/pages.tr/android/am.md b/pages.tr/android/am.md new file mode 100644 index 00000000000000..6ffd00fedf4a7c --- /dev/null +++ b/pages.tr/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android aktivite yöneticisi. +> Daha fazla bilgi için: . + +- Belirtilmiş bir aktiviteyi başlat: + +`am start -n {{com.android.settings/.Settings}}` + +- Bir aktivite başlatıp veriyi ona aktar: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Belirtilmiş bir eylem ve kategoriyi karşılayan bir aktivite başlat: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Bir kastı URI'a çevir: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.tr/android/bugreport.md b/pages.tr/android/bugreport.md new file mode 100644 index 00000000000000..790f6084307be5 --- /dev/null +++ b/pages.tr/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Bir Android bug raporu göster. +> Bu komut yalnızca `adb shell` ile kullanılabilir. +> Daha fazla bilgi için: . + +- Bir Android cihazı için eksizsiz bug raporu göster: + +`bugreport` diff --git a/pages.tr/android/bugreportz.md b/pages.tr/android/bugreportz.md new file mode 100644 index 00000000000000..e8cb8d54f0db16 --- /dev/null +++ b/pages.tr/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> Ziplenmiş bir Android bug raporu oluştur. +> Bu komut yalnızca `adb shell` ile kullanılabilir. +> Daha fazla bilgi için: . + +- Bir Android cihazı için ziplenmiş şekilde eksizsiz bir bug raporu oluşturGenerate a complete zipped bug report of an Android device: + +`bugreportz` + +- Çalışan `bugreportz` işleminin durumunu göster: + +`bugreportz -p` + +- Yardım görüntüle: + +`bugreportz -h` + +- `bugreportz` sürümünü göster: + +`bugreportz -v` diff --git a/pages.tr/android/cmd.md b/pages.tr/android/cmd.md new file mode 100644 index 00000000000000..0c680512258bf6 --- /dev/null +++ b/pages.tr/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Android servis yöneticisi. +> Daha fazla bilgi için: . + +- Tüm çalışan servisleri sırala: + +`cmd -l` + +- Belirtilen servisi çağır: + +`cmd {{alarm}}` + +- Belirtilen argümanlar ile servis çağır: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.tr/android/dalvikvm.md b/pages.tr/android/dalvikvm.md new file mode 100644 index 00000000000000..2d4cd692bc19dd --- /dev/null +++ b/pages.tr/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Android Java sanal makinesi. +> Daha fazla bilgi için: . + +- Bir Java programı başlar: + +`dalvikvm -classpath {{örnek/dosya.jar}} {{sınıf_ismi}}` diff --git a/pages.tr/android/dumpsys.md b/pages.tr/android/dumpsys.md new file mode 100644 index 00000000000000..2a80905f95e4fc --- /dev/null +++ b/pages.tr/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Android sistem servisleri ile ilgili bilgi sağla. +> Bu komut yalnızca `adb shell` ile kullanılabilir. +> Daha fazla bilgi için: . + +- Tüm sistem servisleri için tanısal bir çıktı al: + +`dumpsys` + +- Belirtilen sistem servisi için tanısal bir çıktı al: + +`dumpsys {{servis}}` + +- `dumpsys` komutunun hakkında bilgi verebileceği tüm servisleri sırala: + +`dumpsys -l` + +- Bir servis için servise özel argümanları sırala: + +`dumpsys {{servis}} -h` + +- Tanı çıktısından belirtilen servisi çıkart: + +`dumpsys --skip {{servis}}` + +- Saniye bazında bir zaman aşımı süresi belirle (varsayılan 10 saniyedir): + +`dumpsys -t {{saniye}}` diff --git a/pages.tr/android/getprop.md b/pages.tr/android/getprop.md new file mode 100644 index 00000000000000..3f69542b91fbad --- /dev/null +++ b/pages.tr/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Android sistem özellikleri ile ilgili bilgi görüntüle. +> Daha fazla bilgi için: . + +- Android sistem özellikleri ile ilgili bilgi görüntüle: + +`getprop` + +- Belirtilen özellik ile ilgili bilgi görüntüle: + +`getprop {{prop}}` + +- SDK API seviyesini görüntüle: + +`getprop {{ro.build.version.sdk}}` + +- Android sürümünü görüntüle: + +`getprop {{ro.build.version.release}}` + +- Android cihaz modelini görüntüle: + +`getprop {{ro.vendor.product.model}}` + +- OEM kilit durumunu görüntüle: + +`getprop {{ro.oem_unlock_supported}}` + +- Android'in Wi-Fi kartının MAC adreslerini görüntüle: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.tr/android/input.md b/pages.tr/android/input.md new file mode 100644 index 00000000000000..c19c4bbe20786d --- /dev/null +++ b/pages.tr/android/input.md @@ -0,0 +1,25 @@ +# input + +> Olay kodlarını ve dokunmatik ekran mimiklerini bir Android cihazına yolla. +> Bu komut yalnızca `adb shell` ile kullanılabilir. +> Daha fazla bilgi için: . + +- Bir Android cihazına tek karakter için etkinlik kodu gönder: + +`input keyevent {{etkinlik_kodu}}` + +- Bir Android cihazına yazı gönder (`%s` boşlukları temsil eder): + +`input text "{{yazı}}"` + +- Bir Android cihazına tek dokunuş gönder: + +`input tap {{x_poz}} {{y_poz}}` + +- Bir Android cihazına kaydırma mimiği gönder: + +`input swipe {{x_başlangıç}} {{y_başlangıç}} {{x_son}} {{y_son}} {{ms_süre}}` + +- Bir Android cihazına kaydırma mimiği kullanarak uzun dokunuş gönder: + +`input swipe {{x_poz}} {{y_poz}} {{x_poz}} {{y_poz}} {{ms_süre}}` diff --git a/pages.tr/android/logcat.md b/pages.tr/android/logcat.md new file mode 100644 index 00000000000000..60d21c8204c5c5 --- /dev/null +++ b/pages.tr/android/logcat.md @@ -0,0 +1,16 @@ +# logcat + +> Sistem mesajlarının kaydını görüntüle. +> Daha fazla bilgi için: . + +- Sistem kaydını görüntüle: + +`logcat` + +- Sistem kayıtlarını bir dosyaya yaz: + +`logcat -f {{örnek/dosya}}` + +- Düzenli ifadeye uyan satırları görüntüle: + +`logcat --regex {{düzenli_ifade}}` diff --git a/pages.tr/android/pkg.md b/pages.tr/android/pkg.md new file mode 100644 index 00000000000000..9ce6431e3b7052 --- /dev/null +++ b/pages.tr/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Termux için paket yönetim aracı. +> Daha fazla bilgi için: . + +- İndirilmiş tüm paketleri yükselt: + +`pkg upgrade` + +- Belirtilen paketi indir: + +`pkg install {{paket}}` + +- Belirtilen paketi kaldır: + +`pkg uninstall {{paket}}` + +- Belirtilen paketi yeniden indir: + +`pkg reinstall {{paket}}` + +- Belirtilen paketi ara: + +`pkg search {{paket}}` diff --git a/pages.tr/android/pm.md b/pages.tr/android/pm.md new file mode 100644 index 00000000000000..91089e70ddf084 --- /dev/null +++ b/pages.tr/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Android cihazındaki uygulamalar ile ilgili bilgi göster. +> Daha fazla bilgi için: . + +- İndirilen tüm uygulamaların sırala: + +`pm list packages` + +- İndirilen tüm sistem uygulamalarını sırala: + +`pm list packages -s` + +- İndirilen tüm üçüncü el uygulamaları sırala: + +`pm list packages -3` + +- Belirtilen anahtar kelimelere uyan uygulamaları sırala: + +`pm list packages {{anahtar_kelimeler}}` + +- Belirtilen uygulamanın APK'sine giden yolu görüntüle: + +`pm path {{uygulama}}` diff --git a/pages.tr/android/screencap.md b/pages.tr/android/screencap.md new file mode 100644 index 00000000000000..8cb724afe83ea7 --- /dev/null +++ b/pages.tr/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Bir mobil ekranın ekran görüntüsünü al. +> Bu komut sadece `adb shell` üzerinden kullanılabilir. +> Daha fazla bilgi için: . + +- Bir ekran görüntüsü al: + +`screencap {{dosya/yolu}}` diff --git a/pages.tr/android/settings.md b/pages.tr/android/settings.md new file mode 100644 index 00000000000000..e35b322365742e --- /dev/null +++ b/pages.tr/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Android işletim sistemi ile ilgili bilgi al. +> Daha fazla bilgi için: . + +- `global` isim alanındaki ayarların sırasını görüntüle: + +`settings list {{global}}` + +- Belirtilen ayarın değerini al: + +`settings get {{global}} {{airplane_mode_on}}` + +- Bir ayarın değerini belirle: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Belirtilen ayarı sil: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.tr/android/wm.md b/pages.tr/android/wm.md new file mode 100644 index 00000000000000..d641901ad915e8 --- /dev/null +++ b/pages.tr/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Bir Android cihazının ekranı ile ilgili bilgi göster. +> Bu komut yalnızca `adb shell` ile kullanılabilir. +> Daha fazla bilgi için: . + +- Bir Android cihazının ekranının fiziksel boyutunu görüntüle: + +`wm size` + +- Bir Android cihazının ekranının fiziksel derinliğini görüntüle: + +`wm density` diff --git a/pages.tr/common/7z.md b/pages.tr/common/7z.md index e423bc6ecb15eb..25254349e1418d 100644 --- a/pages.tr/common/7z.md +++ b/pages.tr/common/7z.md @@ -1,7 +1,7 @@ # 7z > Yüksek sıkıştırma oranına sahip dosya sıkıştırıcısı. -> Daha fazla bilgi: . +> Daha fazla bilgi için: . - Dosya veya dizin arşivle: @@ -19,17 +19,13 @@ `7z x {{sikistirilmis_dosya.7z}} -o{{yoldan/çıktıya}}` -- Arşivi stdout'a aktar: +- Arşivi `stdout`'a aktar: `7z x {{sikistirilmis_dosya.7z}} -so` - Spesifik bir arşivleme türüyle arşivle: -`7z a -t{{zip|gzip|bzip2|tar}} {{sikistirilmis_dosya.7z}} {{yoldan/dosya_veya_dizine}}` - -- Kullanılabilir arşiv türlerini sırala: - -`7z i` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{sikistirilmis_dosya}} {{yoldan/dosya_veya_dizine}}` - Arşiv dosyasının içeriğini listele: diff --git a/pages.tr/common/airmon-ng.md b/pages.tr/common/airmon-ng.md new file mode 100644 index 00000000000000..04da495ee2a4bb --- /dev/null +++ b/pages.tr/common/airmon-ng.md @@ -0,0 +1,20 @@ +# airmon-ng + +> Kablosuz ağ cihazlarında izleme modunu etkinleştirin. +> Daha fazla bilgi için: . + +- Kablosuz cihazları ve durumlarını listeleyin: + +`sudo airmon-ng` + +- Belirli bir cihaz için izleme modunu açın: + +`sudo airmon-ng start {{wlan0}}` + +- Kablosuz cihazları kullanan rahatsız edici işlemleri sonlandırın: + +`sudo airmon-ng check kill` + +- Belirli bir ağ arabirimi için izleme modunu kapatın: + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.tr/common/alias.md b/pages.tr/common/alias.md new file mode 100644 index 00000000000000..aba22d4387718a --- /dev/null +++ b/pages.tr/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> Takma adlar/kısayollar (bir komut dizesi ile değiştirilen sözcükler) oluşturur. +> Kısayollar, kabuğun yapılandırma dosyasında (örneğin `~/.bashrc`) tanımlanmadığı sürece geçerli kabuk oturumuyla birlikte sona erer. +> Daha fazla bilgi için: . + +- Tüm kısayolları listele: + +`alias` + +- Genel bir kısayol oluştur: + +`alias {{kelime}}="{{komut}}"` + +- Bir kısayolun verildigi komutu göster: + +`alias {{kelime}}` + +- Bir kısayolu kaldır: + +`unalias {{kelime}}` + +- `rm`'yi interaktif bir komuta dönüştür: + +`alias {{rm}}="{{rm --interactive}}"` + +- `la`'yi `ls --all` için kısayol olarak oluştur: + +`alias {{la}}="{{ls --all}}"` diff --git a/pages.tr/common/anki.md b/pages.tr/common/anki.md new file mode 100644 index 00000000000000..571755e2a6c596 --- /dev/null +++ b/pages.tr/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> Güçlü ve akıllı bir aralıklı tekrar programı. +> Daha fazla bilgi için: . + +- Çalıştır: + +`anki` + +- Belirtilen bir profil ismi ile çalıştır: + +`anki -p {{profil_ismi}}` + +- Belirtilen bir dil ile çalıştır: + +`anki -l {{dil}}` + +- Belirtilen bir dizinden (konumdan) calıştır: + +`anki -b {{dizin/yolu}}` diff --git a/pages.tr/common/arch.md b/pages.tr/common/arch.md new file mode 100644 index 00000000000000..24020b7038a287 --- /dev/null +++ b/pages.tr/common/arch.md @@ -0,0 +1,9 @@ +# arch + +> Sistem mimarisinin ismini göster. +> Ayrıca bakınız: `uname`. +> Daha fazla bilgi için: . + +- Sistemin mimarisini göster: + +`arch` diff --git a/pages.tr/common/arp.md b/pages.tr/common/arp.md new file mode 100644 index 00000000000000..fb0cdfd3517693 --- /dev/null +++ b/pages.tr/common/arp.md @@ -0,0 +1,16 @@ +# arp + +> Sistemin ARP önbelleğini görüntüle ve manipüle et. +> Daha fazla bilgi için: . + +- Mevcut ARP tablosunu göster: + +`arp -a` + +- Belirli bir girdiyi sil: + +`arp -d {{adres}}` + +- ARP tablosunda bir girdi oluştur: + +`arp -s {{adres}} {{mac_adresi}}` diff --git a/pages.tr/common/atool.md b/pages.tr/common/atool.md new file mode 100644 index 00000000000000..43ad91356e1c5f --- /dev/null +++ b/pages.tr/common/atool.md @@ -0,0 +1,20 @@ +# atool + +> Çeşitli biçimlerdeki arşivleri yönetin. +> Daha fazla bilgi için: . + +- Bir zip arşivindeki dosyaları listele: + +`atool --list {{arşiv.zip/dosyasının/yolu}}` + +- Bir tar.gz arşivini yeni bir alt dizine (veya yalnızca bir dosya içeriyorsa geçerli dizine) çıkart: + +`atool --extract {{arşiv.tar.gz/dosyasının/yolu}}` + +- İki dosyaya sahip yeni bir 7zip arşivi oluştur: + +`atool --add {{arşiv.7z/dosyasının/yolu}} {{dosya1/yolu dosya2/yolu ...}}` + +- Geçerli dizindeki tüm zip ve rar arşivlerini çıkart: + +`atool --each --extract {{*.zip *.rar}}` diff --git a/pages.tr/common/awk.md b/pages.tr/common/awk.md new file mode 100644 index 00000000000000..d40fb763643247 --- /dev/null +++ b/pages.tr/common/awk.md @@ -0,0 +1,36 @@ +# awk + +> Dosyalar üzerinde çalışmak için çok yönlü bir programlama dili. +> Daha fazla bilgi için: . + +- Boşlukla ayrılmış bir dosyada beşinci sütunu (alan olarak da bilinir) yazdır: + +`awk '{print $5}' {{dosya/yolu/dosya}}` + +- Boşlukla ayrılmış bir dosyada "foo" içeren satırların ikinci sütununu yazdır: + +`awk '/{{foo}}/ {print $2}' {{dosya/yolu/dosya}}` + +- Alan ayırıcı olarak (boşluk yerine) virgül kullanarak dosyadaki her satırın son sütununu yazdır: + +`awk -F ',' '{print $NF}' {{dosya/yolu/dosya}}` + +- Bir dosyanın ilk sütunundaki değerleri topla ve toplamı yazdır: + +`awk '{s+=$1} END {print s}' {{dosya/yolu/dosya}}` + +- İlk satırdan başlayarak her üçüncü satırı yazdır: + +`awk 'NR%3==1' {{dosya/yolu/dosya}}` + +- Koşullara göre farklı değerler yazdır: + +`awk '{if ($1 == "foo") print "Tam eşleşme foo"; else if ($1 ~ "bar") print "Kısmi eşleşme çubuğu"; else print "Baz"}' {{dosya/yolu/dosya}}` + +- 10. sütun değerinin belirtilen değere eşit olduğu tüm satırları yazdır: + +`awk '($10 == value)'` + +- 10. sütun değeri min ile max arasında olan tüm satırları yazdır: + +`awk '($10 >= min_value && $10 <= max_value)'` diff --git a/pages.tr/common/base32.md b/pages.tr/common/base32.md new file mode 100644 index 00000000000000..59a8102b60256b --- /dev/null +++ b/pages.tr/common/base32.md @@ -0,0 +1,24 @@ +# base32 + +> Bir dosya veya standart veriyi Base32 formatında şifrele veya yalın veri çıktısı olarak deşifre et. +> Daha fazla bilgi için: . + +- Bir dosyayı şifrele: + +`base32 {{dosya/yolu}}` + +- Kodlanmış çıktıyı belirli bir genişlikte sar (`0` sarmayı devre dışı bırakır): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{dosya/yolu}}` + +- Bir dosyayı deşifre et: + +`base32 {{[-d|--decode]}} {{dosya/yolu}}` + +- `stdin`'den şifrele: + +`{{herhangibirkomut}} | base32` + +- `stdin`'den deşifre et: + +`{{herhangibirkomut}} | base32 {{[-d|--decode]}}` diff --git a/pages.tr/common/base64.md b/pages.tr/common/base64.md new file mode 100644 index 00000000000000..661e8a4f5d21a0 --- /dev/null +++ b/pages.tr/common/base64.md @@ -0,0 +1,24 @@ +# base64 + +> Bir dosya veya standart veriyi Base64 formatında şifrele veya yalın veri çıktısı olarak deşifre et. +> Daha fazla bilgi için: . + +- Bir dosyayı şifrele: + +`base64 {{dosya/yolu}}` + +- Kodlanmış çıktıyı belirli bir genişlikte sar (`0` sarmayı devre dışı bırakır): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{dosya/yolu}}` + +- Bir dosyayı deşifre et: + +`base64 {{[-d|--decode]}} {{dosya/yolu}}` + +- `stdin`'den şifrele: + +`{{herhangibirkomut}} | base64` + +- `stdin`'den deşifre et: + +`{{herhangibirkomut}} | base64 {{[-d|--decode]}}` diff --git a/pages.tr/common/bat.md b/pages.tr/common/bat.md new file mode 100644 index 00000000000000..0db3f00832b250 --- /dev/null +++ b/pages.tr/common/bat.md @@ -0,0 +1,29 @@ +# bat + +> Dosyaları yazdır ve birleştir. +> Sözdizimi vurgulama ve Git entegrasyonuna sahip bir `cat` klonu. +> Daha fazla bilgi için: . + +- Bir dosyanın içeriğini standart çıktıya yazdır: + +`bat {{dosya}}` + +- Birkaç dosyayı hedef dosyada birleştir: + +`bat {{dosya1}} {{dosya2}} > {{hedef_dosya}}` + +- Birkaç dosyayı hedef dosyaya ekle: + +`bat {{dosya1}} {{dosya2}} >> {{hedef_dosya}}` + +- Tüm çıktı satırlarını numaralandır: + +`bat {{[-n|--number]}} {{dosya}}` + +- Bir JSON dosyasının sözdizimini vurgula: + +`bat {{[-l|--language]}} json {{dosya.json}}` + +- Desteklenen tüm dilleri görüntüle: + +`bat {{[-L|--list-languages]}}` diff --git a/pages.tr/common/cat.md b/pages.tr/common/cat.md new file mode 100644 index 00000000000000..af859736a7982a --- /dev/null +++ b/pages.tr/common/cat.md @@ -0,0 +1,16 @@ +# cat + +> Dosyaları yazdır ve birleştir. +> Daha fazla bilgi için: . + +- Bir dosyanın içeriğini standart çıktıya yazdır: + +`cat {{dosya/yolu}}` + +- Birkaç dosyayı bir çıktı dosyasında birleştir: + +`cat {{dosya/yolu1 dosya/yolu2 ...}} > {{çıktı/dosyası/yolu}}` + +- Birkaç dosyayı bir çıktı dosyasına ekle: + +`cat {{dosya/yolu1 dosya/yolu2 ...}} >> {{çıktı/dosyası/yolu}}` diff --git a/pages.tr/common/chroot.md b/pages.tr/common/chroot.md index 7824fe9be07edc..4a58792a10b2ce 100644 --- a/pages.tr/common/chroot.md +++ b/pages.tr/common/chroot.md @@ -1,6 +1,7 @@ # chroot > Komut veya etkileşimli komut satırını özel kök diziniyle çalıştırır. +> Daha fazla bilgi için: . - Komutu yeni kök dizini olarak çalıştır: diff --git a/pages.tr/common/clang-cpp.md b/pages.tr/common/clang-cpp.md new file mode 100644 index 00000000000000..fef6fe1ae43fd0 --- /dev/null +++ b/pages.tr/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Bu komut `clang++` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr clang++` diff --git a/pages.tr/common/clojure.md b/pages.tr/common/clojure.md new file mode 100644 index 00000000000000..dbbaf4cf0ecb24 --- /dev/null +++ b/pages.tr/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Bu komut `clj` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr clj` diff --git a/pages.tr/common/cola.md b/pages.tr/common/cola.md new file mode 100644 index 00000000000000..61fb483a82c24d --- /dev/null +++ b/pages.tr/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Bu komut `git-cola` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr git-cola` diff --git a/pages.tr/common/command.md b/pages.tr/common/command.md new file mode 100644 index 00000000000000..698a502a692436 --- /dev/null +++ b/pages.tr/common/command.md @@ -0,0 +1,12 @@ +# command + +> Command, kabuğu bir programı herhangi bir fonksiyon ve gömülü özelliğe ve alias'a takılmadan çalıştırmaya zorlar. +> Daha fazla bilgi için: . + +- `ls` programını aynı isimde bir alias olsa dahi çalıştır: + +`command {{ls}}` + +- Alias'a atanan özel komutu veya çalıştırılabilir dosyanın yolunu göster: + +`command -v {{komut_ismi}}` diff --git a/pages.tr/common/cp.md b/pages.tr/common/cp.md new file mode 100644 index 00000000000000..90e99772eb9a24 --- /dev/null +++ b/pages.tr/common/cp.md @@ -0,0 +1,32 @@ +# cp + +> Dosyaları ve dizinleri kopyalayın. +> Daha fazla bilgi için: . + +- Bir dosyayı başka bir konuma kopyalayın: + +`cp {{dizin/yol/kaynak_dosya.ext}} {{dizin/yol/hedef_dosya.ext}}` + +- Dosya adını koruyarak bir dosyayı başka bir dizine kopyalayın: + +`cp {{dizin/yol/kaynak_dosya.ext}} {{dizin/yol/hedeflenen_ana_dizin}}` + +- Bir dizinin içeriğini yinelemeli olarak başka bir konuma kopyalayın (hedef varsa, dizin bunun içine kopyalanır): + +`cp -R {{dizin/yol/kaynak_dizin}} {{dizin/yol/hedef_dizin}}` + +- Bir dizini ayrıntılı modda yinelemeli olarak kopyalayın (dosyaları kopyalandıkça gösterir): + +`cp -vR {{dizin/yol/kaynak_dizin}} {{dizin/yol/hedef_dizin}}` + +- Etkileşimli modda metin dosyalarını başka bir konuma kopyalayın (üzerine yazmadan önce kullanıcıyı uyarır): + +`cp -i {{*.txt}} {{dizin/yol/hedef_dizin}}` + +- Kopyalamadan önce sembolik bağlantıları takip edin: + +`cp -L {{link}} {{dizin/yol/hedef_dizin}}` + +- İlk bağımsız değişkeni hedef dizin olarak kullanın ('xargs ... | cp -t ' için kullanışlıdır): + +`cp -t {{dizin/yol/hedef_dizin}} {{dizin/yol/dosya_veya_dizin1 dizin/yol/dosya_veya_dizin2 ...}}` diff --git a/pages.tr/common/date.md b/pages.tr/common/date.md new file mode 100644 index 00000000000000..cbdbcc0c9fba29 --- /dev/null +++ b/pages.tr/common/date.md @@ -0,0 +1,28 @@ +# date + +> Sistem tarihini görüntüleyin veya ayarlayın. +> Daha fazla bilgi için: . + +- Varsayılan yerel biçimi kullanarak geçerli tarihi görüntüleyin: + +`date +"%c"` + +- Geçerli tarihi UTC ve ISO 8601 formatında görüntüleyin: + +`date -u +"%Y-%m-%dT%H:%M:%S%Z"` + +- Geçerli tarihi bir Unix zaman damgası olarak görüntüleyin (Unix zamanından bu yana geçen saniyeler): + +`date +%s` + +- Varsayılan biçimi kullanarak belirli bir tarihi (Unix zaman damgası olarak) görüntüleyin: + +`date -d @1473305798` + +- Belirli bir tarihi Unix zaman damgası biçimine dönüştürün: + +`date -d "{{2018-09-01 00:00}}" +%s --utc` + +- RFC-3339 biçimini kullanarak geçerli tarihi görüntüleyin (`YYYY-AA-GG ss:dd:ss ZD`): + +`date --rfc-3339=s` diff --git a/pages.tr/common/diff.md b/pages.tr/common/diff.md new file mode 100644 index 00000000000000..e9e3aeb0fba3f1 --- /dev/null +++ b/pages.tr/common/diff.md @@ -0,0 +1,32 @@ +# diff + +> Dosyaları ve dizinleri karşılaştırın. +> Daha fazla bilgi için: . + +- Dosyaları karşılaştır (`eski_dosya`'yı `yeni_dosya`'ya dönüştürmek için yapılan değişiklikleri listeler): + +`diff {{eski_dosya}} {{yeni_dosya}}` + +- Boşlukları yok sayarak dosyaları karşılaştırın: + +`diff {{[-w|--ignore-all-space]}} {{eski_dosya}} {{yeni_dosya}}` + +- Farkları yan yana göstererek dosyaları karşılaştırın: + +`diff {{[-y|--side-by-side]}} {{eski_dosya}} {{yeni_dosya}}` + +- Farkları birleştirilmiş biçimde (`git diff` tarafından kullanıldığı gibi) göstererek dosyaları karşılaştırın: + +`diff {{[-u|--unified]}} {{eski_dosya}} {{yeni_dosya}}` + +- Dizinleri yinelemeli olarak karşılaştırın (farklı dosya/dizin adlarını ve dosyalarda yapılan değişiklikleri gösterir): + +`diff {{[-r|--recursive]}} {{eski_dizin}} {{yeni_dizin}}` + +- Dizinleri karşılaştırın, yalnızca farklı olan dosyaların adlarını gösterin: + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{eski_dizin}} {{yeni_dizin}}` + +- Git için iki metin dosyasının farklarından, var olmayan dosyaları ise boş olarak değerlendirerek bir yama dosyası oluşturun: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{eski_dosya}} {{yeni_dosya}} > {{fark.patch}}` diff --git a/pages.tr/common/dig.md b/pages.tr/common/dig.md new file mode 100644 index 00000000000000..faf714be6b6b36 --- /dev/null +++ b/pages.tr/common/dig.md @@ -0,0 +1,20 @@ +# dig + +> DNS sunucularına sorgulama yapmak için kullanılan bir komuttur. +> Daha fazla bilgi için: . + +- İlgili sunucu ile ilgili IP adresi sorgulaması yapılır: + +`dig +short {{example.com}}` + +- DNS sorgulaması için alternatif server kullanılır: + +`dig @{{1.1.1.1}} {{example.com}}` + +- Tersine DNS sorgulaması yapılır: + +`dig -x {{1.1.1.1}}` + +- Belli başlı DNS sunucuları ile ilgili kayıtları sorgular: + +`dig +short {{example.com}} {{A|MX|TXT|CNAME|NS}}` diff --git a/pages.tr/common/dirname.md b/pages.tr/common/dirname.md new file mode 100644 index 00000000000000..33783fd059f4ba --- /dev/null +++ b/pages.tr/common/dirname.md @@ -0,0 +1,16 @@ +# dirname + +> Belirtilen dosya veya yolun ana dizinini hesaplar. +> Daha fazla bilgi için: . + +- Belirtilen yolun ana dizinini hesapla: + +`dirname {{dosya_veya_dizine/giden/yol}}` + +- Birden çok yolun ana dizinini hesapla: + +`dirname {{dosya_veya_dizine/giden/yol_1}} {{dosya_veya_dizine/giden/yol_2}}` + +- Komut çıktısını yeni satır yerine NUL karakteri ile sınırlandırma (`xargs` yazılımı ile kullanırken işe yarar): + +`dirname {{[-z|--zero]}} {{dosya_veya_dizine/giden/yol_1}} {{dosya_veya_dizine/giden/yol_2}}` diff --git a/pages.tr/common/dirs.md b/pages.tr/common/dirs.md new file mode 100644 index 00000000000000..71063854792d93 --- /dev/null +++ b/pages.tr/common/dirs.md @@ -0,0 +1,21 @@ +# dirs + +> Dizin yığını görüntüler veya üzerinde oynama yapar. +> Dizin yığını, `pushd` ve `popd` komutlarıyla üzerinde oynama yapılabilen, son ziyaret edilen dizinleri gösteren bir listedir. +> Daha fazla bilgi için: . + +- Dizin yığınını her madde arasında boşluk olacak şekilde görüntüle: + +`dirs` + +- Dizin yığınını her satır başı tek madde olacak şekilde görüntüle: + +`dirs -p` + +- Dizin yığınında 0'dan başlamak üzere yalnızca nth girişini göster: + +`dirs +{{N}}` + +- Dizin yığınını temizle: + +`dirs -c` diff --git a/pages.tr/common/dirsearch.md b/pages.tr/common/dirsearch.md new file mode 100644 index 00000000000000..b5a49755d473e1 --- /dev/null +++ b/pages.tr/common/dirsearch.md @@ -0,0 +1,28 @@ +# dirsearch + +> Ağ yolu tarayıcı. +> Daha fazla bilgi için: . + +- Bir ağ sunucusunu yaygın eklentiler içeren yaygın yollar için tarayın: + +`dirsearch --url {{url}} --extensions-list` + +- Ağ sunucularını içeren bir listeyi `.php` eklentili yaygın yollar için tarayın: + +`dirsearch --url-list {{örnek/url-listesi.txt}} --extensions {{php}}` + +- Bir ağ sunucusunu yaygın eklentiler içeren belirtilen yollar için tarayın: + +`dirsearch --url {{url}} --extensions-list --wordlist {{path/to/url-yol-listesi.txt}}` + +- Bir ağ sunucusunu çerez kullanarak tarayın: + +`dirsearch --url {{url}} --extensions {{php}} --cookie {{cookie}}` + +- Bir ağ sunucusunu `HEAD` HTTP metodunu kullanarak tarayın: + +`dirsearch --url {{url}} --extensions {{php}} --http-method {{HEAD}}` + +- Bir ağ sunucusunu tarayın ve sonuçları bir `.json` dosyasına kaydedin: + +`dirsearch --url {{url}} --extensions {{php}} --json-report {{örnek/rapor_dosyası.json}}` diff --git a/pages.tr/common/docker-build.md b/pages.tr/common/docker-build.md index 1467cc6ddb53ae..7ef9948c20e1c2 100644 --- a/pages.tr/common/docker-build.md +++ b/pages.tr/common/docker-build.md @@ -1,27 +1,27 @@ # docker build > Bir Dockerfile'dan imge yaratın. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . -- Mevcut dizindeki Dockerfile'dan bir docker imgesi oluşturun: +- Mevcut dizindeki Dockerfile'dan bir Docker imgesi oluşturun: `docker build .` -- Belirtilen URL'deki Dockerfile'dan bir docker imgesi oluşturun: +- Belirtilen URL'deki Dockerfile'dan bir Docker imgesi oluşturun: `docker build {{ornekadres.com/ornek-dizin/ornek-docker-projesi}}` -- Bir docker imgesi oluşturun ve etiketleyin: +- Bir Docker imgesi oluşturun ve etiketleyin: -`docker build --tag {{isim:etiket}} .` +`docker build {{[-t|--tag]}} {{isim:etiket}} .` - İmge oluştururken çerez kullanımını etkisizleştirin: -`docker build --no-cache --tag {{isim:etiket}} .` +`docker build --no-cache {{[-t|--tag]}} {{isim:etiket}} .` -- Belirtilen Dockerfile ile bir docker imgesi oluşturun: +- Belirtilen Dockerfile ile bir Docker imgesi oluşturun: -`docker build --file {{Dockerfile}} .` +`docker build {{[-f|--file]}} {{Dockerfile}} .` - Kişiselleştirilmiş yapım-zaman değerleriyle oluşturun: diff --git a/pages.tr/common/docker-compose.md b/pages.tr/common/docker-compose.md index a61d758b96ef1b..fcf9ca04224c1e 100644 --- a/pages.tr/common/docker-compose.md +++ b/pages.tr/common/docker-compose.md @@ -1,36 +1,36 @@ # docker compose -> Çoklu konteynerli docker uygulamalarını çalıştırın ve yönetin. -> Daha fazla bilgi için: . +> Çoklu konteynerli Docker uygulamalarını çalıştırın ve yönetin. +> Daha fazla bilgi için: . - Tüm konteynerleri listele: -`docker-compose ps` +`docker compose ps` - Mevcut dizinde bir `docker-compose.yml` dosyası çalıştırarak arkaplandaki tüm konteynerleri çalıştırın ve başlatın: -`docker-compose up -d` +`docker compose up {{[-d|--detach]}}` - Tüm konteynerleri çalıştırın ve gerekiyorsa yeniden oluşturun: -`docker-compose up --build` +`docker compose up --build` - Tüm konteynerleri alternatif bir beste dosyasıyla başlatın: -`docker-compose --file {{yoldan/dosyaya}} up` +`docker compose {{[-p|--project-name]}} {{proje Adı}} {{[-f|--file]}} {{yoldan/dosyaya}} up` - Çalışan tüm konteynerleri durdurun: -`docker-compose stop` +`docker compose stop` - Tüm konteynerleri, ağları, imgeleri ve alanları durdurun ve silin: -`docker-compose down --rmi all --volumes` +`docker compose down --rmi all {{[-v|--volumes]}}` - Tüm konteynerler için logları takip edin: -`docker-compose logs --follow` +`docker compose logs {{[-f|--follow]}}` - Belirtilmiş bir konteyner için logları takip edin: -`docker-compose logs --follow {{konteyner_ismi}}` +`docker compose logs {{[-f|--follow]}} {{konteyner_ismi}}` diff --git a/pages.tr/common/docker-exec.md b/pages.tr/common/docker-exec.md new file mode 100644 index 00000000000000..f87279491fa93f --- /dev/null +++ b/pages.tr/common/docker-exec.md @@ -0,0 +1,28 @@ +# docker exec + +> Halihazırda çalışan bir Docker konteyneri üstünde komut çalıştır. +> Daha fazla bilgi için: . + +- Halihazırda çalışan bir konteynerin üstünde interaktif bir kabuk oturumunu çalıştır: + +`docker exec {{[-it|--interactive --tty]}} {{konteyner_ismi}} {{/bin/bash}}` + +- Halihazırda çalışan bir konteynerin üstüne arkaplanda çalışmak üzere (ayrılmış) bir komut çalıştır: + +`docker exec {{[-d|--detach]}} {{konteyner_ismi}} {{komut}}` + +- Belirtilen bir komutu üstünde çalıştırmak adına çalışan dizini seç: + +`docker exec {{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{örnek/dizin}} {{konteyner_ismi}} {{komut}}` + +- Varolan konteyner üstünde arkaplanda çalışmak üzere bir komut çalıştır ancak `stdin`'i açık tut: + +`docker exec {{[-i|--interactive]}} {{[-d|--detach]}} {{konteyner_ismi}} {{komut}}` + +- Çalışmakta olan bir Bash oturumu içinde bir çevre değişkeni belirle: + +`docker exec {{[-it|--interactive --tty]}} {{[-e|--env]}} {{değişken_ismi}}={{value}} {{konteyner_ismi}} {{/bin/bash}}` + +- Belirtilmiş bir kullanıcı olarak komut çalıştır: + +`docker exec {{[-u|--user]}} {{kullanıcı}} {{konteyner_ismi}} {{komut}}` diff --git a/pages.tr/common/docker-images.md b/pages.tr/common/docker-images.md new file mode 100644 index 00000000000000..2e56008c49794c --- /dev/null +++ b/pages.tr/common/docker-images.md @@ -0,0 +1,24 @@ +# docker images + +> Docker imgelerini yönet. +> Daha fazla bilgi için: . + +- Tüm Docker imgelerini listele: + +`docker images` + +- Orta düzeyler de dahil olmak üzere tüm Docker imgelerini sırala: + +`docker images {{[-a|--all]}}` + +- Çıktıyı sessiz modda (yalnızca sayısal ID'ler olarak) sırala: + +`docker images {{[-q|--quiet]}}` + +- Herhangi bir konteyner tarafından kullanılmayan tüm Docker imgelerini sırala: + +`docker images {{[-f|--filter]}} dangling=true` + +- İsminde belirtilen dizeleri taşıyan imgeleri sırala: + +`docker images "{{*isim*}}"` diff --git a/pages.tr/common/docker-inspect.md b/pages.tr/common/docker-inspect.md new file mode 100644 index 00000000000000..05c8e09cdb7c2c --- /dev/null +++ b/pages.tr/common/docker-inspect.md @@ -0,0 +1,32 @@ +# docker inspect + +> Docker objelerinde bulunan düşük seviye bilgiyi gösterir. +> Daha fazla bilgi için: . + +- Yardım içeriğini göster: + +`docker inspect` + +- Bir konteyner, imge veya hacim ile ilgili bilgiyi ismini veya ID'sini girerek görüntüle: + +`docker inspect {{konteyner|imge|ID}}` + +- Bir konteynerin IP adresini görüntüle: + +`docker inspect {{[-f|--format]}} '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{konteyner}}` + +- Konteynerin log dosyasının yolunu görüntüle: + +`docker inspect {{[-f|--format]}} '\{\{.LogPath\}\}' {{konteyner}}` + +- Konteynerin imge ismini görüntüle: + +`docker inspect {{[-f|--format]}} '\{\{.Config.Image\}\}' {{konteyner}}` + +- Konfigürasyon bilgisini JSON olarak görüntüle: + +`docker inspect {{[-f|--format]}} '\{\{json .Config\}\}' {{konteyner}}` + +- Tüm port limanlayıcıları görüntüle: + +`docker inspect {{[-f|--format]}} '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{konteyner}}` diff --git a/pages.tr/common/docker-logs.md b/pages.tr/common/docker-logs.md new file mode 100644 index 00000000000000..5511afdbd66f0d --- /dev/null +++ b/pages.tr/common/docker-logs.md @@ -0,0 +1,24 @@ +# docker logs + +> Konteyner kaydını yazdırır. +> Daha fazla bilgi için: . + +- Bir konteyner içindeki kayıtları yazdır: + +`docker logs {{konteyner_ismi}}` + +- Kayıtları yazdır ve izle: + +`docker logs {{[-f|--follow]}} {{konteyner_ismi}}` + +- Son 5 kaydı yazdır: + +`docker logs {{konteyner_ismi}} {{[-n|--tail]}} {{5}}` + +- Kayıtları yazdır ve zaman damgaları ile iliştir: + +`docker logs {{[-t|--timestamps]}} {{konteyner_ismi}}` + +- Belli bir konteyner çalışma zamanındaki (i.e. 23m, 10s, 2013-01-02T13:23:37) kayıtları yazdır: + +`docker logs {{konteyner_ismi}} --until {{zaman}}` diff --git a/pages.tr/common/docker-machine.md b/pages.tr/common/docker-machine.md new file mode 100644 index 00000000000000..9b6f449a6e6cf9 --- /dev/null +++ b/pages.tr/common/docker-machine.md @@ -0,0 +1,28 @@ +# docker-machine + +> Docker çalıştıran makineler oluştur ve onları yönet. +> Daha fazla bilgi için: . + +- Halihazırda çalışan Docker makinelerini sırala: + +`docker-machine ls` + +- Belirli bir isim ile Docker makinesi oluştur: + +`docker-machine create {{isim}}` + +- Bir makinenin durumunu öğren: + +`docker-machine status {{isim}}` + +- Bir makineyi başlat: + +`docker-machine start {{isim}}` + +- Bir makineyi durdur: + +`docker-machine stop {{isim}}` + +- Bir makine hakkındaki bilgileri incele: + +`docker-machine inspect {{isim}}` diff --git a/pages.tr/common/docker-network.md b/pages.tr/common/docker-network.md new file mode 100644 index 00000000000000..80fac27b028a2a --- /dev/null +++ b/pages.tr/common/docker-network.md @@ -0,0 +1,32 @@ +# docker network + +> Docker ağları oluştur ve yönet. +> Daha fazla bilgi için: . + +- docker daemon'daki tüm müsait ve düzenlenmiş ağları sırala: + +`docker network ls` + +- Kullanıcı tarafından belirtilmiş bir ağ oluştur: + +`docker network create {{[-d|--driver]}} {{driver_name}} {{ağ_ismi}}` + +- Boşluk ile ayrılmış bir ağ listesinin detaylı bilgisini görüntüle: + +`docker network inspect {{ağ_ismi}}` + +- Bir konteyneri isim veya ID kullanarak bir ağa bağla: + +`docker network connect {{ağ_ismi}} {{konteyner_ismi|ID}}` + +- Bir konteyneri bir ağdan çıkar: + +`docker network disconnect {{ağ_ismi}} {{konteyner_ismi|ID}}` + +- Tüm kullanılmayan (hiçbir konteyner tarafından belirtilmeyen) ağları sil: + +`docker network prune` + +- Kullanılmayan ağların boşluk ile ayrılmış bir listesini sil: + +`docker network rm {{ağ_ismi}}` diff --git a/pages.tr/common/docker-ps.md b/pages.tr/common/docker-ps.md new file mode 100644 index 00000000000000..fcdb12151e3ef5 --- /dev/null +++ b/pages.tr/common/docker-ps.md @@ -0,0 +1,36 @@ +# docker ps + +> Docker konteynerlerini sırala. +> Daha fazla bilgi için: . + +- Halihazırda çalışan Docker konteynerlerini listele: + +`docker ps` + +- Tüm (durmuş veya çalışan) Docker konteynerlerini listele: + +`docker ps {{[-a|--all]}}` + +- En son oluşturulan (durmuş veya çalışan) konteynerleri listele: + +`docker ps {{[-l|--latest]}}` + +- İsimlerinde belirtilen dizeleri içeren konteynerleri filtrele: + +`docker ps {{[-f|--filter]}} "name={{isim}}"` + +- Belirtilen imge ile akrabalık taşıyan konteynerleri filtrele: + +`docker ps {{[-f|--filter]}} "ancestor={{imge}}:{{tag}}"` + +- Konteynerleri çıkış durum koduna göre filtrele: + +`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{kod}}"` + +- Konteynerleri mevcut durumlarına (oluşturulma, çalışma, silinme, durma, çıkma ve ölme) göre sırala: + +`docker ps {{[-f|--filter]}} "status={{mevcut_durum}}"` + +- Belirtilmiş bir hacmi gömen veya belirtilmiş bir yola gömülmüş hacmi içeren konteynerleri filtrele: + +`docker ps {{[-f|--filter]}} "volume={{örnek/dizin}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.tr/common/docker-rmi.md b/pages.tr/common/docker-rmi.md new file mode 100644 index 00000000000000..c1984f8eb38a82 --- /dev/null +++ b/pages.tr/common/docker-rmi.md @@ -0,0 +1,20 @@ +# docker rmi + +> Bir veya daha fazla Docker imgesini sil. +> Daha fazla bilgi için: . + +- Yardım göster: + +`docker rmi` + +- Bir veya daha fazla imgeyi isimlerini belirterek sil: + +`docker rmi {{imge1 imge2 ...}}` + +- Bir imgeyi zorla sil: + +`docker rmi {{[-f|--force]}} {{imge}}` + +- Bir imgeyi etiketlenmemiş ana yollarını silmeden sil: + +`docker rmi --no-prune {{imge}}` diff --git a/pages.tr/common/docker-run.md b/pages.tr/common/docker-run.md new file mode 100644 index 00000000000000..827c3aeaf718f8 --- /dev/null +++ b/pages.tr/common/docker-run.md @@ -0,0 +1,28 @@ +# docker run + +> Yeni bir Docker konteynerinde bir komut çalıştır. +> Daha fazla bilgi için: . + +- Yeni bir konteynerde, etiketlenmiş bir imgeden komut çalıştır: + +`docker run {{imge:etiket}} {{komut}}` + +- Yeni bir konteynerde arkaplanda çalışacak şekilde komut çalıştır ve ID'sini göster: + +`docker run {{[-d|--detach]}} {{imge}} {{komut}}` + +- İnteraktif mod ve pseudo-TTY'deki bir açık-kapalı konteynerde komut çalıştır: + +`docker run --rm {{[-it|--interactive --tty]}} {{imge}} {{komut}}` + +- Yeni bir konteynerde geçebilmiş çevresel değişkenler ile komut çalıştır: + +`docker run {{[-e|--env]}} '{{değişken}}={{değer}}' {{[-e|--env]}} {{değişken}} {{imge}} {{komut}}` + +- Yeni bir konteynerde bağlama takılı hacimlerle komut çalıştır: + +`docker run {{[-v|--volume]}} {{örnek/host}}:{{örnek/konteyner}} {{imge}} {{komut}}` + +- Yayınlanmış portları içeren yeni bir konteynerde komut çalıştır: + +`docker run {{[-p|--publish]}} {{host_portu}}:{{konteyner_portu}} {{imge}} {{komut}}` diff --git a/pages.tr/common/docker-save.md b/pages.tr/common/docker-save.md new file mode 100644 index 00000000000000..66de999953eced --- /dev/null +++ b/pages.tr/common/docker-save.md @@ -0,0 +1,20 @@ +# docker save + +> Bir veya daha fazla Docker imgesini arşivlemek için dışa aktar. +> Daha fazla bilgi için: . + +- Bir imgeyi, `stdout`'u tar arşivine yönlendirerek kaydet: + +`docker save {{imge}}:{{etiket}} > {{örnek/dosya.tar}}` + +- Bir imgeyi, bir tar arşivine kaydet: + +`docker save {{[-o|--output]}} {{örnek/dosya.tar}} {{imge}}:{{etiket}}` + +- Bir imgenin tüm etiketlerini kaydet: + +`docker save {{[-o|--output]}} {{örnek/dosya.tar}} {{imge_ismi}}` + +- Bir imgenin belirli etiketlerini kaydetmek için elle seç: + +`docker save {{[-o|--output]}} {{örnek/dosya.tar}} {{imge_ismi:etiket1 imge_ismi:etiket2 ...}}` diff --git a/pages.tr/common/docker-secret.md b/pages.tr/common/docker-secret.md new file mode 100644 index 00000000000000..bf7978447dfb8a --- /dev/null +++ b/pages.tr/common/docker-secret.md @@ -0,0 +1,24 @@ +# docker secret + +> Docker swarm sırlarını yönet. +> Daha fazla bilgi için: . + +- `stdin`'den yeni bir sır yarat: + +`{{komut}} | docker secret create {{sır_ismi}} -` + +- Bir dosyadan yeni sır oluşturun: + +`docker secret create {{sır_ismi}} {{örnek/dosya}}` + +- Tüm sırları sırala: + +`docker secret ls` + +- Bir veya daha fazla sırra dair detaylı bilgiyi insan dostu bir formatta göster: + +`docker secret inspect --pretty {{sır_ismi1 sır_ismi2 ...}}` + +- Bir veya daha fazla sırrı sil: + +`docker secret rm {{sır_ismi1 sır_ismi2 ...}}` diff --git a/pages.tr/common/docker-service.md b/pages.tr/common/docker-service.md new file mode 100644 index 00000000000000..23efa2115786be --- /dev/null +++ b/pages.tr/common/docker-service.md @@ -0,0 +1,28 @@ +# docker service + +> Bir Docker daemon'unun üzerindeki servisleri yönet. +> Daha fazla bilgi için: . + +- Bir Docker daeomon'unun üzerindeki servisleri listele: + +`docker service ls` + +- Yeni bir servis yarat: + +`docker service create --name {{servis_ismi}} {{imge}}:{{etiket}}` + +- Boşluk ile ayrılmış bir servis listesinin detaylı bilgisini görüntüle: + +`docker service inspect {{servis_ismi|ID}}` + +- Boşluk ile ayrılmış bir servis listesinin görevlerini sırala: + +`docker service ps {{servis_ismi|ID}}` + +- Boşluk ile ayrılmış bir servis listesi için belirli bir replika miktarına yüksel: + +`docker service scale {{servis_ismi}}={{replika_miktarı}}` + +- Boşluk ile ayrılmış bir servis listesini sil: + +`docker service rm {{servis_ismi|ID}}` diff --git a/pages.tr/common/docker-start.md b/pages.tr/common/docker-start.md new file mode 100644 index 00000000000000..d8eb18e5b21df0 --- /dev/null +++ b/pages.tr/common/docker-start.md @@ -0,0 +1,20 @@ +# docker start + +> Bir veya daha fazla durmuş konteyneri başlar. +> Daha fazla bilgi için: . + +- Yardım göster: + +`docker start` + +- Bir Docker konteynerini başlat: + +`docker start {{konteyner}}` + +- Bir konteyneri, ona `stdout` ile `stderr`'i ekleyerek ve sinyaller göndererek başlat: + +`docker start {{[-a|--attach]}} {{konteyner}}` + +- Bir veya daha fazla boşlukla ayrılarak belirtilmiş konteynerleri başlar: + +`docker start {{konteyner1 konteyner2 ...}}` diff --git a/pages.tr/common/docker-stats.md b/pages.tr/common/docker-stats.md new file mode 100644 index 00000000000000..91cd21bb779c91 --- /dev/null +++ b/pages.tr/common/docker-stats.md @@ -0,0 +1,24 @@ +# docker stats + +> Konteynerler için kaynak kullanım istatistiklerinin canlı yayınını görüntüle. +> Daha fazla bilgi için: . + +- Çalışan tüm konteynerlerin aynak kullanım istatistiklerinin canlı yayınını görüntüle: + +`docker stats` + +- Boşluk ile ayrılmış bir listedeki konteynerlerin canlı yayınını görüntüle: + +`docker stats {{container_ismi}}` + +- Konteyner'in CPU kullanım yüzdesini göstermek için sütun formatını değiştir: + +`docker stats --format "{{.Name}}:\t{{.CPUPerc}}"` + +- Tüm (çalışan veya durmuş) konteynerler için istatistikleri görüntüle: + +`docker stats {{[-a|--all]}}` + +- İstatistikleri canlı yayınlamayı durdur ve yalnızca mevcut durumdaki istatistikleri görüntüle: + +`docker stats --no-stream` diff --git a/pages.tr/common/docker-swarm.md b/pages.tr/common/docker-swarm.md new file mode 100644 index 00000000000000..b106c5845c3975 --- /dev/null +++ b/pages.tr/common/docker-swarm.md @@ -0,0 +1,32 @@ +# docker swarm + +> Bir konteyner orkestrasyon aracı. +> Daha fazla bilgi için: . + +- Bir bataklık dizisi oluştur: + +`docker swarm init` + +- Bir yönetici veya işçiye takılmak için token göster: + +`docker swarm join-token {{işçi|yönetici}}` + +- Diziye yeni bir düğüm ekle: + +`docker swarm join --token {{token}} {{manager_node_url:2377}}` + +- Bir işçiyi bataklıktan sil (işçi düğümünün içinde çalıştır): + +`docker swarm leave` + +- Mevcut CA sertifikasını PEM formatında görüntüle: + +`docker swarm ca` + +- Mevcut CA sertifikasını döndür ve yeni sertifikayı görüntüle: + +`docker swarm ca --rotate` + +- Düğüm sertifikaları için geçerli periyodu değiştir: + +`docker swarm update --cert-expiry {{saat}}h{{dakika}}m{{saniye}}s` diff --git a/pages.tr/common/docker-system.md b/pages.tr/common/docker-system.md new file mode 100644 index 00000000000000..d4b4e368002c23 --- /dev/null +++ b/pages.tr/common/docker-system.md @@ -0,0 +1,36 @@ +# docker system + +> Docker verilerini yönet ve sistem bilgisi görüntüle. +> Daha fazla bilgi için: . + +- Yardım göster: + +`docker system` + +- Docker disk kullanımını göster: + +`docker system df` + +- Disk kullanımı üzerine detaylı bilgi göster: + +`docker system df {{[-v|--verbose]}}` + +- Kullanılmayan veriyi sil: + +`docker system prune` + +- Kullanılmayan ve geçmişte birden çok kez oluşturulan veriyi sil: + +`docker system prune --filter "until={{saat}}h{{dakika}}m"` + +- Docker deamon'dan tam-zamanlı eylemleri görüntüle: + +`docker system events` + +- Geçerli JSON satırları olarak yayınlanan konteynerleden tam-zamanlı eylemleri göster: + +`docker system events {{[-f|--filter]}} 'type=container' --format '{{json .}}'` + +- Sistem bilgisi göster: + +`docker system info` diff --git a/pages.tr/common/docker.md b/pages.tr/common/docker.md index 764afd5e9f04e4..c47e493025c338 100644 --- a/pages.tr/common/docker.md +++ b/pages.tr/common/docker.md @@ -1,15 +1,12 @@ # docker > Docker konteyner ve imgelerini yönetir. -> Daha fazla bilgi için: . +> `run` gibi bazı alt komutların kendi dökümantasyonu bulunmaktadır. +> Daha fazla bilgi için: . -- Şuan çalışan docker konteynerlerini listele: +- Tüm (çalışan veya duran) Docker konteynerlerini listele: -`docker ps` - -- Tüm (çalışan veya duran) docker konteynerlerini listele: - -`docker ps -a` +`docker ps {{[-a|--all]}}` - Bir imgeden özel bir isimle konteyner başlat: @@ -17,15 +14,15 @@ - Varolan bir konteyneri başlat veya durdur: -`docker {{baslat|durdur}} {{konteyner_ismi}}` +`docker {{start|stop}} {{konteyner_ismi}}` -- Bir docker kaydından imge çek: +- Bir Docker kaydından imge çek: `docker pull {{imge}}` - Halihazırda çalışan bir konteyner içinde komut istemcisi aç: -`docker exec -it {{konteyner_ismi}} {{sh}}` +`docker exec {{[-it|--interactive --tty]}} {{konteyner_ismi}} {{sh}}` - Durmuş bir konteyneri sil: @@ -33,4 +30,4 @@ - Bir konteynerin kaydını çek ve takip et: -`docker logs -f {{konteyner_ismi}}` +`docker logs {{[-f|--follow]}} {{konteyner_ismi}}` diff --git a/pages.tr/common/fossil-ci.md b/pages.tr/common/fossil-ci.md new file mode 100644 index 00000000000000..5ad1000c6bd613 --- /dev/null +++ b/pages.tr/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Bu komut `fossil commit` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr fossil commit` diff --git a/pages.tr/common/fossil-forget.md b/pages.tr/common/fossil-forget.md new file mode 100644 index 00000000000000..e1b9ba79ef4a88 --- /dev/null +++ b/pages.tr/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Bu komut `fossil rm` için bir takma addır. +> Daha fazla bilgi için: . + +- Asıl komutun belgelerini görüntüleyin: + +`tldr fossil rm` diff --git a/pages.tr/common/fossil-new.md b/pages.tr/common/fossil-new.md new file mode 100644 index 00000000000000..938b7b419d591b --- /dev/null +++ b/pages.tr/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Bu komut `fossil init` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr fossil init` diff --git a/pages.tr/common/fossil-rm.md b/pages.tr/common/fossil-rm.md new file mode 100644 index 00000000000000..5cce105a665696 --- /dev/null +++ b/pages.tr/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Bu komut `fossil delete` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr fossil delete` diff --git a/pages.tr/common/fzf.md b/pages.tr/common/fzf.md new file mode 100644 index 00000000000000..b59fd0944ee61e --- /dev/null +++ b/pages.tr/common/fzf.md @@ -0,0 +1,29 @@ +# fzf + +> Komut satırı belirsiz bulucu. +> Sk'ya benzer. +> Daha fazla bilgi için: . + +- Belirtilen dizindeki tüm dosyalarda FZF'yi başlat: + +`find {{dosya/yolu/dizin}} -type f | fzf` + +- Çalışan süreçler için FZF'yi başlat: + +`ps aux | fzf` + +- `` ile birden çok dosya seç ve bir dosyaya yaz: + +`find {{dosya/yolu/dizin}} -type f | fzf {{[-m|--multi]}} > {{dosya/yolu/dosya}}` + +- fzf'yi belirli bir sorgu ile başlat: + +`fzf {{[-q|--query]}} "{{sorgu}}"` + +- Core ile başlayan ve Go, RB veya PY ile biten girişlerde fzf'yi başlat: + +`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"` + +- PYC ile eşleşmeyen ve Travis'e tam olarak eşleşen girişlerde fzf'yi başlat: + +`fzf {{[-q|--query]}} "!pyc 'travis"` diff --git a/pages.tr/common/gh-cs.md b/pages.tr/common/gh-cs.md new file mode 100644 index 00000000000000..e9875a75d56dd6 --- /dev/null +++ b/pages.tr/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Bu komut `gh codespace` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr gh codespace` diff --git a/pages.tr/common/git-add.md b/pages.tr/common/git-add.md new file mode 100644 index 00000000000000..c0d787cfd92c83 --- /dev/null +++ b/pages.tr/common/git-add.md @@ -0,0 +1,32 @@ +# git add + +> Değiştirilmiş dosyaları indekse ekle. +> Daha fazla bilgi için: . + +- İndekse bir dosya ekle: + +`git add {{örnek/dosya}}` + +- Tüm (izlenen veya izlenmeyen) dosyaları ekle: + +`git add {{[-A|--all]}}` + +- Yalnızca izlenen dosyaları ekle: + +`git add {{[-u|--update]}}` + +- Yoksayılan dosyaları dahi ekle: + +`git add {{[-f|--force]}}` + +- Dosyaların parçalarını etkileşimli olarak sahnele: + +`git add {{[-p|--patch]}}` + +- Belirtilen dosyaların parçalarını etkileşimli olarak sahnele: + +`git add {{[-p|--patch]}} {{örnek/dosya}}` + +- Bir dosyayı etkileşimli olarak sahnele: + +`git add {{[-i|--interactive]}}` diff --git a/pages.tr/common/git-am.md b/pages.tr/common/git-am.md new file mode 100644 index 00000000000000..c7ebc8b47b4940 --- /dev/null +++ b/pages.tr/common/git-am.md @@ -0,0 +1,17 @@ +# git am + +> Yama dosyalarını uygula. E-posta ile commit alırken faydalıdır. +> Ayrıca yama dosyalarının üretilmesine yarayan `git format-patch` sayfasına bakılması önerilir. +> Daha fazla bilgi için: . + +- Bir yama dosyasını uygula: + +`git am {{örnek/yama.patch}}` + +- Yama dosyası uygulama işlemini durdur: + +`git am --abort` + +- Mümkün olacak kadar yama dosyasını uygula ve bu dosyaların uygulanamayan parçalarını bahsi geçen dosyaları reddetmek için kaydet: + +`git am --reject {{örnek/yama.patch}}` diff --git a/pages.tr/common/git-annex.md b/pages.tr/common/git-annex.md new file mode 100644 index 00000000000000..f8fe88e1df5c8d --- /dev/null +++ b/pages.tr/common/git-annex.md @@ -0,0 +1,28 @@ +# git annex + +> Git ile dosyaları, dosyaların içeriğine bakmadan yönet. +> Daha fazla bilgi için: . + +- Git annex ile bir depo başlat: + +`git annex init` + +- Bir dosya ekle: + +`git annex add {{örnek/dosya_veya_dizin}}` + +- Bir dosya veya dizinin şu anki durumunu göster: + +`git annex status {{örnek/dosya_veya_dizin}}` + +- Yerel bir depoyu, uzaktaki bir depo ile senkronize et: + +`git annex {{uzak_bağlantı}}` + +- Bir dosya veya dizin al: + +`git annex get {{örnek/dosya_veya_dizin}}` + +- Yardım görüntüle: + +`git annex help` diff --git a/pages.tr/common/git-annotate.md b/pages.tr/common/git-annotate.md new file mode 100644 index 00000000000000..f7fe4fa0633cbf --- /dev/null +++ b/pages.tr/common/git-annotate.md @@ -0,0 +1,14 @@ +# git annotate + +> Her satırdaki dosyanın yanında en son commit değeri ve yazarını göster. +> Ayrıca `git annotate` yerine tercih edilen `git blame` sayfasına bakılması önerilir. +> `git annotate`, git dışındaki sürüm kontrol sistemlerine aşina olanlar için sağlanmıştır. +> Daha fazla bilgi için: . + +- Bir dosyayı, her satırında son commit değeri ve yazarı bulunacak şekilde göster: + +`git annotate {{örnek/dosya}}` + +- Bir dosyayı, her satırında son commit değeri ve yazarının e-postası bulunacak şekilde göster: + +`git annotate {{[-e|--show-email]}} {{örnek/dosya}}` diff --git a/pages.tr/common/git-apply.md b/pages.tr/common/git-apply.md new file mode 100644 index 00000000000000..afc233258647c8 --- /dev/null +++ b/pages.tr/common/git-apply.md @@ -0,0 +1,28 @@ +# git apply + +> İndeks veya dosyalara yama uygula. +> Daha fazla bilgi için: . + +- Yamalanan dosyalarla ilgili mesajları yazdır: + +`git apply {{[-v|--verbose]}} {{örnek/dosya}}` + +- Yamalanan dosyaları indekse uygula ve ekle: + +`git apply --index {{örnek/dosya}}` + +- Uzak yama dosyası uygula: + +`curl {{[-L|--location]}} {{https://ornek.com/dosya.patch}} | git apply` + +- Çıktı için fark statistiği çıkar ve yamayı uygula: + +`git apply --stat --apply {{örnek/dosya}}` + +- Yamayı tersten uygula: + +`git apply {{[-R|--reverse]}} {{örnek/dosya}}` + +- Yama sonucunu çalışan ağacı değiştirmeden indekste sakla: + +`git apply --cache {{örnek/dosya}}` diff --git a/pages.tr/common/git-archive.md b/pages.tr/common/git-archive.md new file mode 100644 index 00000000000000..5819267eea2d78 --- /dev/null +++ b/pages.tr/common/git-archive.md @@ -0,0 +1,28 @@ +# git archive + +> İsimlendirilmiş bir ağaçtan dosyaların arşivini oluştur. +> Daha fazla bilgi için: . + +- Mevcut HEAD'deki içerik ile bir tar arşivi oluştur ve içeriği standart çıktı biçiminde göster: + +`git archive {{[-v|--verbose]}} HEAD` + +- Mevcut HEAD'deki içerik ile bir zip arşivi oluştur ve içeriği standart çıktı biçiminde göster: + +`git archive {{[-v|--verbose]}} --format zip HEAD` + +- Yukarıda yazan madde ile aynı şeyi yap, ama zip arşivini belirtilen dosya olarak yaz: + +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{örnek/arşiv/dosyası.zip}} HEAD` + +- Belirtilmiş bir daldaki son commitlerin içeriğinden bir tar arşivi oluştur: + +`git archive {{[-o|--output]}} {{örnek/arşiv/dosyası.tar}} {{dal_ismi}}` + +- Belirtilmiş bir dizindeki içeriklerden tar arşivi oluştur: + +`git archive {{[-o|--output]}} {{örnek/arşiv/dosyası.tar}} HEAD:{{örnek/dizin}}` + +- Bir takım dosyayı belirtilmiş bir dizinin içinde arşivlemek için başlarına yol ekle: + +`git archive {{[-o|--output]}} {{örnek/arşiv/dosyası.tar}} --prefix {{başlarına/yol/eklenecek/dosyalar}}/ HEAD` diff --git a/pages.tr/common/git-bisect.md b/pages.tr/common/git-bisect.md new file mode 100644 index 00000000000000..af4700f752c9e9 --- /dev/null +++ b/pages.tr/common/git-bisect.md @@ -0,0 +1,21 @@ +# git bisect + +> Bug taşıyan commit'i bulmak için ikili arama kullan. +> Git otomatik olarak commit çizelgesi içinde oradan oraya atlayarak yaramaz commit'i saptar. +> Daha fazla bilgi için: . + +- Buglı bilinen bir commit'i ve (genelde eski olan) iyi bir commit'i belirterek ikiye bölme işlemini başlat: + +`git bisect start {{kötü_commit}} {{iyi_commit}}` + +- `git bisect`'in seçtiği her commit'i, mevcut soruna sebep olup olmadıklarını test ettikten sonra "bad" (kötü) veya "good" (iyi) olarak işaretle: + +`git bisect {{good|bad}}` + +- `git bisect` sorunlu commit'i saptadıktan sonra, ikiye bölme işlemini bitir ve depoyu bahsi geçen commit'den önceki dala geçir: + +`git bisect reset` + +- İkiye bölme işlemi sırasında bir commit'i atla: + +`git bisect skip` diff --git a/pages.tr/common/git-blame.md b/pages.tr/common/git-blame.md new file mode 100644 index 00000000000000..477a53ccf2d856 --- /dev/null +++ b/pages.tr/common/git-blame.md @@ -0,0 +1,12 @@ +# git blame + +> Her satırdaki dosyanın yanında en son commit değeri ve yazarını göster. +> Daha fazla bilgi için: . + +- Bir dosyayı, her satırında son commit değeri ve yazarı bulunacak şekilde göster: + +`git blame {{örnek/dosya}}` + +- Bir dosyayı, her satırında son commit değeri ve yazarının e-postası bulunacak şekilde göster: + +`git blame {{[-e|--show-email]}} {{örnek/dosya}}` diff --git a/pages.tr/common/git-branch.md b/pages.tr/common/git-branch.md new file mode 100644 index 00000000000000..b754f39938c464 --- /dev/null +++ b/pages.tr/common/git-branch.md @@ -0,0 +1,32 @@ +# git branch + +> Dallar ile çalışmak için kullanılan ana Git komutu. +> Daha fazla bilgi için: . + +- Tüm dalları (yerel ve uzak bağlantıda olan) göster: + +`git branch {{[-a|--all]}}` + +- Mevcut dalın ismini göster: + +`git branch --show-current` + +- Mevcut commit'e dayanarak yeni bir dal oluştur: + +`git branch {{dal_ismi}}` + +- Belirtilen commit'e dayanarak yeni bir dal oluştur: + +`git branch {{dal_ismi}} {{commit_değeri}}` + +- Bir dalı yeniden adlandır: + +`git branch {{[-m|--move]}} {{eski_dal_ismi}} {{yeni_dal_ismi}}` + +- Yerel bir dalı sil: + +`git branch {{[-d|--delete]}} {{dal_ismi}}` + +- Uzaktaki bir dalı sil: + +`git push {{uzak_bağlantı}} {{[-d|--delete]}} {{uzak_dal_ismi}}` diff --git a/pages.tr/common/git-bugreport.md b/pages.tr/common/git-bugreport.md new file mode 100644 index 00000000000000..176149f9e47fd7 --- /dev/null +++ b/pages.tr/common/git-bugreport.md @@ -0,0 +1,16 @@ +# git bugreport + +> Sşstem ve kullanıcıdan hata ayıklama bilgisi çeker ve olası bir Git hatasının rapor edilmesi için bu bilgiyi oluşturduğu bir metin dosyasına kaydeder. +> Daha fazla bilgi için: . + +- Mevcut dizinde yeni bir hata rapor dosyası oluştur: + +`git bugreport` + +- Belirtilen dizinde yeni bir hata rapor dosyası oluştur: + +`git bugreport {{[-o|--output-directory]}} {{örnek/dizin}}` + +- `strftime` formatında belirtilmiş bir dosya adı ekiyle yeni bir rapor dosyası oluştur: + +`git bugreport {{[-s|--suffix]}} {{%m%d%y}}` diff --git a/pages.tr/common/git-bundle.md b/pages.tr/common/git-bundle.md new file mode 100644 index 00000000000000..78e578ecbe341d --- /dev/null +++ b/pages.tr/common/git-bundle.md @@ -0,0 +1,32 @@ +# git bundle + +> Cisim ve referansları bir arşive paketle. +> Daha fazla bilgi için: . + +- Belirtilmiş bir dalın tüm cisim ve referanslarını içeren bir paket dosyası oluştur: + +`git bundle create {{örnek/dosyas.bundle}} {{dal_ismi}}` + +- Tüm dallar için bir paket dosyası oluştur: + +`git bundle create {{örnek/dosyas.bundle}} --all` + +- Mevcut daldaki en son 5 commit için bir paket dosyası oluştur: + +`git bundle create {{örnek/dosya.bundle}} -5 {{HEAD}}` + +- Son 7 günü içeren bir paket dosyası oluştur: + +`git bundle create {{örnek/dosya.bundle}} --since=7.days {{HEAD}}` + +- Bir paket dosyasının geçerli olduğunu ve mevcut depoya uygulanabileceğini doğrula: + +`git bundle verify {{örnek/dosya.bundle}}` + +- Bir pakette bulunan referansları sırala: + +`git bundle unbundle {{örnek/dosya.bundle}}` + +- Belirtilen dalı paket dosyasından çıkarıp mevcut depoya koy: + +`git pull {{örnek/dosya.bundle}} {{dal_ismi}}` diff --git a/pages.tr/common/git-cat-file.md b/pages.tr/common/git-cat-file.md new file mode 100644 index 00000000000000..285b2d28efa08e --- /dev/null +++ b/pages.tr/common/git-cat-file.md @@ -0,0 +1,16 @@ +# git cat-file + +> Git depo cisimlerine dair içerik, tür ve boyut bilgisini sağla. +> Daha fazla bilgi için: . + +- HEAD commit'inin byte bazında boyutunu öğren: + +`git cat-file -s HEAD` + +- Belirtilen Git cisminin türünü (blob, ağaç, commit, etiket) öğren: + +`git cat-file -t {{8c442dc3}}` + +- Git objesinin içeriğini, türüne uygun olarak hoş şekilde yansıt: + +`git cat-file -p {{HEAD~2}}` diff --git a/pages.tr/common/git-check-attr.md b/pages.tr/common/git-check-attr.md new file mode 100644 index 00000000000000..440b090eca57f6 --- /dev/null +++ b/pages.tr/common/git-check-attr.md @@ -0,0 +1,20 @@ +# git check-attr + +> `gitattributes` içeriği görüntüleme aracı. +> Daha fazla bilgi için: . + +- Bir dosyadaki tüm atıfları kontrol et: + +`git check-attr --all {{örnek/dosya}}` + +- Bir dosyadaki belirtilmiş atıfın değerini kontrol et: + +`git check-attr {{atıf}} {{örnek/dosya}}` + +- Birden fazla dosyadaki belirtilmiş atıfın değerini kontrol et: + +`git check-attr --all {{örnek/dosya1 örnek/dosya2 ...}}` + +- Bir veya birden fazla dosyadaki belirtilmiş atıfın değerini kontrol et: + +`git check-attr {{atıf}} {{örnek/dosya1 örnek/dosya2 ...}}` diff --git a/pages.tr/common/git-check-ignore.md b/pages.tr/common/git-check-ignore.md new file mode 100644 index 00000000000000..cd8e82cf5a3b7d --- /dev/null +++ b/pages.tr/common/git-check-ignore.md @@ -0,0 +1,24 @@ +# git check-ignore + +> Git yoksayma / dışlama (".gitignore") dosyalarını analiz et. +> Daha fazla bilgi için: . + +- Bir dosya veya dizinin yoksayıldığı veya sayılmadığını kontrol et: + +`git check-ignore {{örnek/dosya_veya_dizin}}` + +- Birden fazla dosya veya dizinin yoksayıldığı veya sayılmadığını kontrol et: + +`git check-ignore {{örnek/dosya_veya_dizin1 örnek/dosya_veya_dizin2 ...}}` + +- Her bir satıra tekabül edecek şekilde `stdin`'den yolisimleri kullan: + +`git check-ignore --stdin < {{örnek/dosya_sırası}}` + +- İndeksi kontrol etme: + +`git check-ignore --no-index {{örnek/dosya_veya_dizin1 örnek/dosya_veya_dizin2 ...}}` + +- Her yol için eşleşen desene dair detayları dahil et: + +`git check-ignore {{[-v|--verbose]}} {{örnek/dosya_veya_dizin1 örnek/dosya_veya_dizin2 ...}}` diff --git a/pages.tr/common/git-check-mailmap.md b/pages.tr/common/git-check-mailmap.md new file mode 100644 index 00000000000000..10c66ef024e7f8 --- /dev/null +++ b/pages.tr/common/git-check-mailmap.md @@ -0,0 +1,8 @@ +# git check-mailmap + +> Bağlantıların kanonik isimleri ve e-posta adreslerini göster. +> Daha fazla bilgi için: . + +- Bir e-posta adresi ile eşleşen kanonik ismi bul: + +`git check-mailmap "<{{örnek@e-posta.com}}>"` diff --git a/pages.tr/common/git-check-ref-format.md b/pages.tr/common/git-check-ref-format.md new file mode 100644 index 00000000000000..218a46a12e4d01 --- /dev/null +++ b/pages.tr/common/git-check-ref-format.md @@ -0,0 +1,16 @@ +# git check-ref-format + +> Girilen referans isminin kabul edilebilir olup olmadığını kontrol eder, ve eğer kabul edilemezse sıfır olmayan bir çıktı verir. +> Daha fazla bilgi için: . + +- Belirtilen referans ismini biçimini kontrol et: + +`git check-ref-format {{refs/head/referans_ismi}}` + +- Son kontrol edilen dalın ismini göster: + +`git check-ref-format --branch @{-1}` + +- Bir referans ismi dosyasını normalleştir: + +`git check-ref-format --normalize {{refs/head/referans_ismi}}` diff --git a/pages.tr/common/git-checkout-index.md b/pages.tr/common/git-checkout-index.md new file mode 100644 index 00000000000000..2d65188b6e6098 --- /dev/null +++ b/pages.tr/common/git-checkout-index.md @@ -0,0 +1,20 @@ +# git checkout-index + +> Dosyaları indeksten çalışma ağacına kopyala. +> Daha fazla bilgi için: . + +- Son commit'den beri silinen dosyaları geri döndür: + +`git checkout-index --all` + +- Son commit'den beri silinen veya değiştirilen dosyaları geri döndür: + +`git checkout-index --all --force` + +- Son commit'den beri değiştirilen dosyaları geri döndür ancak silinenleri yoksay: + +`git checkout-index --all --force --no-create` + +- Tüm ağacın bir kopyasını belirtilen dizinde dışa aktar (sondaki eğik çizgi önemli): + +`git checkout-index --all --force --prefix={{dışa/aktarılacak/dizin/}}` diff --git a/pages.tr/common/git-checkout.md b/pages.tr/common/git-checkout.md new file mode 100644 index 00000000000000..3b76c768703ca7 --- /dev/null +++ b/pages.tr/common/git-checkout.md @@ -0,0 +1,36 @@ +# git checkout + +> Bulunulan dalı değiştir veya çalışma ağaçlarını onar. +> Daha fazla bilgi için: . + +- Yeni bir dal oluştur ve bu dala geç: + +`git checkout -b {{dal_ismi}}` + +- Belirtilen bir referansa (dal, uzak/dal, etiket gibi) dayanacak şekilde yeni bir dal oluştur ve bu dala geç: + +`git checkout -b {{dal_ismi}} {{referans}}` + +- Varolan yerel bir dala geç: + +`git checkout {{dal_ismi}}` + +- En son kontrol edilmiş olan dala geç: + +`git checkout -` + +- Uzak bağlantıdaki varolan bir dala geç: + +`git checkout {{[-t|--track]}} {{uzak_bağlantı_adresi}}/{{dal_ismi}}` + +- Mevcut dizindeki sahnelenmemiş tüm değişiklikleri ayır (geri alma benzeri bir komut için `git reset` komutu önerilir): + +`git checkout .` + +- Sahnelenmemiş değişiklikleri belirtilen dosyaya ayır: + +`git checkout {{dosya_ismi}}` + +- Mevcut dizindeki bir dosyayı, belirtilen dalda commit edilmiş sürümü ile değiştirin: + +`git checkout {{dal_ismi}} -- {{dosya_ismi}}` diff --git a/pages.tr/common/git-cherry-pick.md b/pages.tr/common/git-cherry-pick.md new file mode 100644 index 00000000000000..8f41558a260ebf --- /dev/null +++ b/pages.tr/common/git-cherry-pick.md @@ -0,0 +1,21 @@ +# git cherry-pick + +> Varolan commit'ler ile getirilen yenilikleri mevcut dala uygula. +> Değişiklikleri başka bir dala aktarmak için, önce `git checkout` komutu kullanılmalıdır. +> Daha fazla bilgi için: . + +- Mevcut dala bir commit uygula: + +`git cherry-pick {{commit_ismi}}` + +- Mevcut dala belirtilmiş aralıktaki kadar commit uygula (ayrıca `git rebase --onto` komutunun araştırılması önerilir): + +`git cherry-pick {{ilk_commit}}~..{{son_commit}}` + +- Mevcut dala birçok (ardışık olmayan) commit uygula: + +`git cherry-pick {{commit_1 commit_2 ...}}` + +- Bir commit'in değişikliklerini, herhangi bir yeni commit oluşturmadan çalışan dizine ekle: + +`git cherry-pick {{[-n|--no-commit]}} {{commit}}` diff --git a/pages.tr/common/git-cherry.md b/pages.tr/common/git-cherry.md new file mode 100644 index 00000000000000..e1859dc1fa8de0 --- /dev/null +++ b/pages.tr/common/git-cherry.md @@ -0,0 +1,16 @@ +# git cherry + +> Ana depoya aktarılması gereken commit'leri bul. +> Daha fazla bilgi için: . + +- Commit'leri (ve mesajlarını) ana akımda kendilerine tekabül eden commit'ler ile göster: + +`git cherry {{[-v|--verbose]}}` + +- Farklı bir ana akım ve konu dalı belirt: + +`git cherry {{origin}} {{topic}}` + +- Commit'leri verilen sınırlamalar ile sınırla: + +`git cherry {{origin}} {{topic}} {{base}}` diff --git a/pages.tr/common/git-clean.md b/pages.tr/common/git-clean.md new file mode 100644 index 00000000000000..658ce2fd156343 --- /dev/null +++ b/pages.tr/common/git-clean.md @@ -0,0 +1,28 @@ +# git clean + +> Takip edilmeyen dosyaları çalışma ağacından sil. +> Daha fazla bilgi için: . + +- Git tarafından takip edilmeyen dosyaları sil: + +`git clean` + +- Git tarafından takip edilmeyen dosyaları etkileşimli bir nizamda sil: + +`git clean {{[-i|--interactive]}}` + +- Hangi dosyaların silinmeye aday olduğunu onları silmeden göster: + +`git clean {{[-n|--dry-run]}}` + +- Git tarafından takip edilmeyen dosyaları zorla zil: + +`git clean {{[-f|--force]}}` + +- Git tarafından takip edilmeyen dizinleri zorla zil: + +`git clean {{[-f|--force]}} -d` + +- `.gitignore` ve `.git/info/exclude`'deki yoksayılan dosyalar dahiş olmak üzere takip edilmeyen dosyaları sil: + +`git clean -x` diff --git a/pages.tr/common/git-clone.md b/pages.tr/common/git-clone.md new file mode 100644 index 00000000000000..0bf5bb9e5421b1 --- /dev/null +++ b/pages.tr/common/git-clone.md @@ -0,0 +1,32 @@ +# git clone + +> Varolan bir dizini klonla. +> Daha fazla bilgi için: . + +- Varolan bir depoyu klonla: + +`git clone {{uzak_bağlantıdaki_depo}}` + +- Varolan bir depoyu velirtilen dizine klonla: + +`git clone {{uzak_bağlantıdaki_depo}} {{örnek/dizin}}` + +- Varolan bir depo ve onun alt modüllerini klonla: + +`git clone --recursive {{uzak_bağlantıdaki_depo}}` + +- Yerel bir depoyu klonla: + +`git clone -l {{örnek/yerel/depo}}` + +- Sessizce klonla: + +`git clone -q {{uzak_bağlantıdaki_depo}}` + +- Yalnızca en yeni 10 commit'i çekerek varolan bir depoyu klonla (zaman tasarrufu açısından yararlıdır): + +`git clone --depth 10 {{uzak_bağlantıdaki_depo}}` + +- Yalnızca belirtilen bir dalı çekerek varolan bir depoyu klonla: + +`git clone --branch {{isim}} --single-branch {{uzak_bağlantıdaki_depo}}` diff --git a/pages.tr/common/git-column.md b/pages.tr/common/git-column.md new file mode 100644 index 00000000000000..eb6ad69446645d --- /dev/null +++ b/pages.tr/common/git-column.md @@ -0,0 +1,16 @@ +# git column + +> Kolonlarda veri görüntüle. +> Daha fazla bilgi için: . + +- Standart çıktıyı çoklu kolonlar olarak biçimlendir: + +`ls | git column --mode={{column}}` + +- Standart çıktıyı maksimum `100` birim sütun genişliğinde biçimlendir: + +`ls | git column --mode=column --width={{100}}` + +- Standart çıktıyı maksimum `30` birimlik boşluğa sahip situnlar olacak şekilde biçimlendir: + +`ls | git column --mode=column --padding={{30}}` diff --git a/pages.tr/common/git-commit-graph.md b/pages.tr/common/git-commit-graph.md new file mode 100644 index 00000000000000..372556f960ba0c --- /dev/null +++ b/pages.tr/common/git-commit-graph.md @@ -0,0 +1,16 @@ +# git commit-graph + +> Git commit-graph dosyalarını yaz ve doğrula. +> Daha fazla bilgi için: . + +- Dizinin yerel `.git` dizinindeki paketlenmiş commit'ler için bir commit-grafik dosyası yaz: + +`git commit-graph write` + +- Erişilebilen tüm commitleri içeren bir commit-grafik dosyası yaz: + +`git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits` + +- `HEAD`'den erişilebilenlerin yanında mevcut commit-grafik dosyasındaki tüm commit'leri içeren bir commit-grafik dosyası oluştur: + +`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append` diff --git a/pages.tr/common/git-commit-tree.md b/pages.tr/common/git-commit-tree.md new file mode 100644 index 00000000000000..775330a3bd3fc7 --- /dev/null +++ b/pages.tr/common/git-commit-tree.md @@ -0,0 +1,21 @@ +# git commit-tree + +> Commit cisimleri oluşturmaya yarayan düşük seviyeli araç. +> Ayrıca `git commit` sayfasına bakılması önerilir. +> Daha fazla bilgi için: . + +- Belirtilen mesaj ile bir commit cismi oluştur: + +`git commit-tree {{ağaç}} -m "{{mesaj}}"` + +- Bir dosyadan mesaj okuyan bir commit cismi oluştur (`stdin` için `-` ekini kullan): + +`git commit-tree {{ağaç}} -F {{örnek/dosya}}` + +- GPG anahtarıyla imzalanmış bir commit cismi oluştur: + +`git commit-tree {{ağaç}} -m "{{mesaj}}" {{[-S|--gpg-sign]}}` + +- Belirtilen ana commit cismi ile bir commit cismi oluştur: + +`git commit-tree {{ağaç}} -m "{{mesaj}}" -p {{ana_commit_sha}}` diff --git a/pages.tr/common/git-commit.md b/pages.tr/common/git-commit.md new file mode 100644 index 00000000000000..116f0a3ab0bc1f --- /dev/null +++ b/pages.tr/common/git-commit.md @@ -0,0 +1,20 @@ +# git commit + +> Depoya dosya commit'le. +> Daha fazla bilgi için: . + +- Sahnelenmiş dosyaları belirtilen mesaj ile commit'le: + +`git commit {{[-m|--message]}} {{mesaj}}` + +- Değişiklikleri otomatik olarak sahnele ve mesaj ile commit'le: + +`git commit {{[-a|--all]}} {{[-m|--message]}} {{mesaj}}` + +- Değerini değiştirecek şekilde son commit'i yeni sahnelenmiş değişiklikleri ekleyerek güncelle: + +`git commit --amend` + +- Yalnızca belirtilmiş (halihazırda sahnelenmiş) dosyaları commit'le: + +`git commit {{örnek/dosya1 örnek/dosya2 ...}}` diff --git a/pages.tr/common/git-config.md b/pages.tr/common/git-config.md new file mode 100644 index 00000000000000..0488cfebe9a261 --- /dev/null +++ b/pages.tr/common/git-config.md @@ -0,0 +1,33 @@ +# git config + +> Git depoları için yazılan kişisel konfigürasyon seçeneklerini yönet. +> Bu konfigürasyonlar lokal (mevcut depo için) veya evrensel (mevcut kullanıcı için) olabilir. +> Daha fazla bilgi için: . + +- Yalnızca (mevcut depodaki `.git/config`'de saklanan) yerel konfigürasyon kayıtlarını sırala: + +`git config {{[-l|--list]}} --local` + +- Yalnızca (bilgisayardaki `~/.gitconfig`'de saklanan) evrensel konfigürasyon kayıtlarını sırala: + +`git config {{[-l|--list]}} --global` + +- Belirtilen bir konfigürasyon kaydının değerini öğren: + +`git config alias.unstage` + +- Belirtilen bir konfigürasyon kaydının evrensel değerini belirle: + +`git config --global alias.unstage "reset HEAD --"` + +- Evrensel bir konfigürasyon kaydını varsayılan değerine geri al: + +`git config --global --unset alias.unstage` + +- Mevcut depodaki Git konfigürasyonunu varsayılan metin düzenleyici ile düzenle: + +`git config {{[-e|--edit]}}` + +- Evrensel Git konfigürasyonunu varsayılan metin düzenleyici ile düzenle: + +`git config --global {{[-e|--edit]}}` diff --git a/pages.tr/common/git-count-objects.md b/pages.tr/common/git-count-objects.md new file mode 100644 index 00000000000000..012e91f953b437 --- /dev/null +++ b/pages.tr/common/git-count-objects.md @@ -0,0 +1,20 @@ +# git count-objects + +> Paketlenmemiş cisimlerin miktarını ve disk tüketimlerini hesapla. +> Daha fazla bilgi için: . + +- Tüm cisimleri say ve toplam disk tüketimlerini görüntüle: + +`git count-objects` + +- Tüm cisimleri say ve toplam disk tüketimlerini insanların okuyabileceği biçimde görüntüle: + +`git count-objects --human-readable` + +- Daha fazla ayrıntı görüntüle: + +`git count-objects --verbose` + +- Daha fazla ayrıntıyı insanların okuyabileceği biçimde görüntüle: + +`git count-objects --human-readable --verbose` diff --git a/pages.tr/common/git-credential.md b/pages.tr/common/git-credential.md new file mode 100644 index 00000000000000..e48bcd7f5057a1 --- /dev/null +++ b/pages.tr/common/git-credential.md @@ -0,0 +1,16 @@ +# git credential + +> Kullanıcı kimlik bilgilerini kurtar ve sakla. +> Daha fazla bilgi için: . + +- Kimlik bilgilerini, kullanıcı ismi ve parolayı konfigürasyon dosyası aracılığıyla kurtararak göster: + +`echo "{{url=http://örnek.com}}" | git credential fill` + +- Kimlik bilgilerini sonra kullanma amacıyla saklamak için bütün yapılandırılmış kimlik yardımcılarına gönder: + +`echo "{{url=http://örnek.com}}" | git credential approve` + +- Belirtilen kimlik bilgisini bütün yapılandırılmış kimlik yardımcılarından temizle: + +`echo "{{url=http://örnek.com}}" | git credential reject` diff --git a/pages.tr/common/git-describe.md b/pages.tr/common/git-describe.md new file mode 100644 index 00000000000000..7366f8f9b83d21 --- /dev/null +++ b/pages.tr/common/git-describe.md @@ -0,0 +1,24 @@ +# git describe + +> Bir nesneye varolan referans üzerinden insanlar tarafından okunabilecek biçimde olan bir isim ver. +> Daha fazla bilgi için: . + +- Mevcut commit için (en son eklenmiş etiket, ilave commit'lerin sayısı ve kısaltılmış commit değerini içeren) özel bir isim oluştur: + +`git describe` + +- Kısaltılmış commit değeri için 4 haneli bir isim oluştur: + +`git describe --abbrev={{4}}` + +- Etiket referans yolu ile bir isim oluştur: + +`git describe --all` + +- Bir Git etiketini açıkla: + +`git describe {{v1.0.0}}` + +- Belirtilen daldaki son commit için bir isim oluştur: + +`git describe {{dal_ismi}}` diff --git a/pages.tr/common/git-diff.md b/pages.tr/common/git-diff.md new file mode 100644 index 00000000000000..ca4d22c996f8c0 --- /dev/null +++ b/pages.tr/common/git-diff.md @@ -0,0 +1,36 @@ +# git diff + +> İzlenen dosyalara değişiklikleri göster. +> Daha fazla bilgi için: . + +- Sahnelenmemiş, commit'lenmemiş değişiklikleri göster: + +`git diff` + +- Sahnelenmiş olanlar da dahil olmak üzere tüm commit'lenmemiş değişiklikleri göster: + +`git diff HEAD` + +- Yalnızca sahnelenmiş (eklenmiş ancak commit'lenmemiş) değişiklikleri göster: + +`git diff --staged` + +- Belirtilen bir tarihten itibaren yapılmış tüm commit'lerdeki değişiklikleri göster: + +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` + +- Belirtilen bir commit'ten itibaren yalnızca üzerinde değişiklik yapılmış dosyaların ismini göster: + +`git diff --name-only {{commit}}` + +- Belirtilen bir commit'ten itibaren yapılmış dosya oluşturma, yeniden adlandırma ve mod değişim işlemlerini göster: + +`git diff --summary {{commit}}` + +- Tek bir dosyayı iki dal veya commit arasında karşılaştır: + +`git diff {{dal_1}}..{{dal_2}} {{örnek/dosya}}` + +- Mevcut daldaki farklı dosyaları başka bir daldakilerle karşılaştır: + +`git diff {{dal}}:{{örnek/dosya2}} {{örnek/dosya}}` diff --git a/pages.tr/common/git-difftool.md b/pages.tr/common/git-difftool.md new file mode 100644 index 00000000000000..5dde623752e269 --- /dev/null +++ b/pages.tr/common/git-difftool.md @@ -0,0 +1,20 @@ +# git difftool + +> Harici diff araçları kullanarak dosya değişimlerini göster. `git diff` ile aynı ayar ve argümanları destekler. +> Daha fazla bilgi için: . + +- Müsait diff araçlarını göster: + +`git difftool --tool-help` + +- Varsayılan diff aracını birleştirmeye ayarla: + +`git config --global diff.tool "{{meld}}"` + +- Varsayılan diff aracını sahnelenmiş değişiklikleri göstermek için kullan: + +`git difftool --staged` + +- Verilen commit'den itibaren yapılmış değişiklikleri göstermek için (opendiff) kullan: + +`git difftool --tool={{opendiff}} {{commit}}` diff --git a/pages.tr/common/git-fetch.md b/pages.tr/common/git-fetch.md new file mode 100644 index 00000000000000..5121107e57249d --- /dev/null +++ b/pages.tr/common/git-fetch.md @@ -0,0 +1,24 @@ +# git fetch + +> Uzak bir depodaki cisim ve referansları indir. +> Daha fazla bilgi için: . + +- (Eğer belirtildiyse) Uzaktaki varsayılan ana akım depodan son değişiklikleri çek: + +`git fetch` + +- Belirtilen uzak ana akım depodan yeni dalları çek: + +`git fetch {{uzak_bağlantı}}` + +- Uzaktaki tüm ana akım depolardaki son değişiklikleri çek: + +`git fetch --all` + +- Uzaktaki ana akım depodan etiketleri dahi çek: + +`git fetch {{[-t|--tags]}}` + +- Ana akım depodan silinmiş uzak dallara giden yerel referansları sil: + +`git fetch {{[-p|--prune]}}` diff --git a/pages.tr/common/git-flow.md b/pages.tr/common/git-flow.md new file mode 100644 index 00000000000000..9d54fa2dbcdc6d --- /dev/null +++ b/pages.tr/common/git-flow.md @@ -0,0 +1,24 @@ +# git flow + +> Üst seviye depo işlemleri için Git uzantı koleksiyonu. +> Daha fazla bilgi için: . + +- Varolan bir git deposu içinde başlat: + +`git flow init` + +- `develop` tabanlı bir özellik dalı üzerinde geliştirmeye başla: + +`git flow feature start {{özellik}}` + +- Özellik dalı üzerinde geliştirmeyi bitir, `develop` dalı ile birleştir ve dalı sil: + +`git flow feature finish {{özellik}}` + +- Özelliği uzak sunucuya yayınla: + +`git flow feature publish {{özellik}}` + +- Başka bir kullanıcı tarafından yayınlanan özelliği al: + +`git flow feature pull origin {{özellik}}` diff --git a/pages.tr/common/git-format-patch.md b/pages.tr/common/git-format-patch.md new file mode 100644 index 00000000000000..7ee7b35cab74eb --- /dev/null +++ b/pages.tr/common/git-format-patch.md @@ -0,0 +1,17 @@ +# git format-patch + +> `.patch` dosyaları oluştur. Commit'leri e-posta olarak gönderirken işe yarar. +> Ayrıca benzer bir komut olan `git am` sayfasına bakılması önerilir. +> Daha fazla bilgi için: . + +- Gönderilmemiş tüm commit'ler için otomatik olarak adlandırılan bir `.patch` dosyası oluştur: + +`git format-patch {{origin}}` + +- `stdout`'daki belirtilen 2 revizyon arasındaki tüm commit'ler için bir `.patch` dosyası oluştur: + +`git format-patch {{revizyon_1}}..{{revizyon_2}}` + +- Son 3 commit için bit `.patch` dosyası oluştur: + +`git format-patch -{{3}}` diff --git a/pages.tr/common/git-fsck.md b/pages.tr/common/git-fsck.md new file mode 100644 index 00000000000000..d1477495bb8c97 --- /dev/null +++ b/pages.tr/common/git-fsck.md @@ -0,0 +1,17 @@ +# git fsck + +> Git depo indeksindeki düğümlerin geçerliliğini ve bağlantılarını doğrula. +> Düzenleme yapılması tavsiye edilmez. Geçersiz düğümleri çözmek için `git gc` komutu önerilir. +> Daha fazla bilgi için: . + +- Mevcut depoyu kontrol et: + +`git fsck` + +- Bulunan tüm etiketleri sırala: + +`git fsck --tags` + +- Bulunan tüm kök düğümleri sırala: + +`git fsck --root` diff --git a/pages.tr/common/git-gc.md b/pages.tr/common/git-gc.md new file mode 100644 index 00000000000000..98eadb4e4b74b6 --- /dev/null +++ b/pages.tr/common/git-gc.md @@ -0,0 +1,24 @@ +# git gc + +> Gereksiz dosyaları silerek yerel depoyu optimize et. +> Daha fazla bilgi için: . + +- Depoyu optimize et: + +`git gc` + +- Agresifçe optimiize et (daha uzun sürer): + +`git gc --aggressive` + +- Gevşek objeleri kesme (varsayılan olarak keser): + +`git gc --no-prune` + +- Tüm çıktıları sessize al: + +`git gc --quiet` + +- Tam kullanım için yardım göster: + +`git gc --help` diff --git a/pages.tr/common/git-grep.md b/pages.tr/common/git-grep.md new file mode 100644 index 00000000000000..fdef69040e50b2 --- /dev/null +++ b/pages.tr/common/git-grep.md @@ -0,0 +1,25 @@ +# git-grep + +> Belirtilen söz dizisini bir deponun geçmişi dahil tüm dosyalarında ara. +> Sıradan `grep` komutundaki birçok ek bu komut için de aynen geçerlidir. +> Daha fazla bilgi için: . + +- İzlenen dosyalarda belirtilen söz dizisini ara: + +`git grep {{söz_dizisi}}` + +- İzlenen dosyalarda belirtilen desene uygun, belirtilen söz dizisini ara: + +`git grep {{söz_dizisi}} -- {{file_glob_pattern}}` + +- Alt modüller de dahil olmak üzere izlenen dosyalarda belirtilen söz dizisini ara: + +`git grep --recurse-submodules {{söz_dizisi}}` + +- Belirtilen depo geçmişinde belirtilen söz dizisini ara: + +`git grep {{söz_dizisi}} {{HEAD~2}}` + +- Belirtilen söz dizisini tüm dallarda ara: + +`git grep {{söz_dizisi}} $(git rev-list --all)` diff --git a/pages.tr/common/git-help.md b/pages.tr/common/git-help.md new file mode 100644 index 00000000000000..8b3f51c391a15f --- /dev/null +++ b/pages.tr/common/git-help.md @@ -0,0 +1,24 @@ +# git help + +> Git hakkında yardım bilgisi görüntüleme aracı. +> Daha fazla bilgi için: . + +- Belirtilmiş Git alt komutu hakkında yardım bilgisi göster: + +`git help {{komut_ismi}}` + +- Belirtilmiş Git alt komutu hakkında yardım bilgisini bir ağ tarayıcısında göster: + +`git help {{[-w|--web]}} {{komut_ismi}}` + +- Tüm mevcut Git alt komutlarını sırala: + +`git help {{[-a|--all]}}` + +- Mevcut rehberleri sırala: + +`git help {{[-g|--guides]}}` + +- Mümkün olan tüm konfigürasyon değişkenlerini sırala: + +`git help {{[-c|--config]}}` diff --git a/pages.tr/common/git-ignore.md b/pages.tr/common/git-ignore.md new file mode 100644 index 00000000000000..408bb8aebf1257 --- /dev/null +++ b/pages.tr/common/git-ignore.md @@ -0,0 +1,12 @@ +# git ignore + +> Önceden belirlenmiş şablonlarla .gitignore dosyaları oluştur. +> Daha fazla bilgi için: . + +- Mevzut şablonları sırala: + +`git ignore list` + +- Bir .gitignore şablonu oluştur: + +`git ignore {{nesne_a,nesne_b,nesne_n}}` diff --git a/pages.tr/common/git-imerge.md b/pages.tr/common/git-imerge.md new file mode 100644 index 00000000000000..72524a7a54a28b --- /dev/null +++ b/pages.tr/common/git-imerge.md @@ -0,0 +1,29 @@ +# git-imerge + +> İki git dalı arasında aşamalı olarak birleştirme veya taban değiştirme işlemlerini uygula. +> Dallar arasındaki uyuşmazlıklar özel commitler ile bölüşülerek uyuşmazlıkları çözmek kolaylaştırılır. +> Daha fazla bilgi için: . + +- imerge bazlı taban değiştirme işlemini başlat (işlemden önce tabanı değiştirilmek istenen dalı kontrol et): + +`git imerge rebase {{yerine_geçilecek_dal}}` + +- imerge bazlı birleştirme işlemini başlat (işlemden önce birleştirilmek istenen dalı kontrol et): + +`git imerge merge {{birleştirilecek_dal}}` + +- Devam eden birleştirme ve taban değiştirme işlemlerinin ASCII diagramını göster: + +`git imerge diagram` + +- Uyuşmazlıkları çözdükten sonra imerge işlemine devam et (önce `git add` komutu ile uyuşmayan dosyaları ekle): + +`git imerge continue --no-edit` + +- Tüm uyuşmazlıklar çözüldükten sonra imerge işlemini sonlandır: + +`git imerge finish` + +- imerge işlemini sonlandır ve belirtilen eski bir dala geri dön: + +`git-imerge remove && git checkout {{eski_dal}}` diff --git a/pages.tr/common/git-init.md b/pages.tr/common/git-init.md new file mode 100644 index 00000000000000..025fc8804949ec --- /dev/null +++ b/pages.tr/common/git-init.md @@ -0,0 +1,16 @@ +# git init + +> Yeni bir yerel Git deposu başlat. +> Daha fazla bilgi için: . + +- Yeni bir yerel depo başlat: + +`git init` + +- Bir depoyu nesne verileri için SHA256 formatı ile başlat (Git versiyonu 2.29 veya üstü olmalıdır): + +`git init --object-format {{sha256}}` + +- Yalın bir depo başlat: + +`git init --bare` diff --git a/pages.tr/common/git-instaweb.md b/pages.tr/common/git-instaweb.md new file mode 100644 index 00000000000000..00eb491dc3814a --- /dev/null +++ b/pages.tr/common/git-instaweb.md @@ -0,0 +1,32 @@ +# git instaweb + +> gitweb sunucusu başlatmak için yardımcı araç. +> Daha fazla bilgi için: . + +- Mevcut Git deposu için bir gitweb sunucusu başlat: + +`git instaweb --start` + +- Yalnızca yerel ağda başlat: + +`git instaweb --start --local` + +- Belirtilmiş bir port'da başlat: + +`git instaweb --start --port {{1234}}` + +- Belirtilmiş bir HTTP daemon'u kullan: + +`git instaweb --start --httpd {{lighttpd|apache2|mongoose|plackup|webrick}}` + +- Ayrıca bir ağ tarayıcısını otomatik olarak başlat: + +`git instaweb --start --browser` + +- Çalışan mevcut gitweb sunucusunu durdur: + +`git instaweb --stop` + +- Çalışan mevcut gitweb sunucusunu yeniden başlat: + +`git instaweb --restart` diff --git a/pages.tr/common/git-lfs.md b/pages.tr/common/git-lfs.md new file mode 100644 index 00000000000000..f95a9f3e95b83e --- /dev/null +++ b/pages.tr/common/git-lfs.md @@ -0,0 +1,36 @@ +# git lfs + +> Git depolarındaki büyük dosyalarla çalış. +> Daha fazla bilgi için: . + +- Git LFS'i başlat: + +`git lfs install` + +- Belirtilen topağa uygun dosyaları izle: + +`git lfs track '{{*.bin}}'` + +- Git LFS uç nokta URL'sini değiştir (LFS sunucusunun Git sunucusundan ayrı olması durumunda işlevseldir): + +`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_uç_nokta_url'si}}` + +- İzlenen kalıpları sırala: + +`git lfs track` + +- Commit'lenmiş izlenen dosyaları sırala: + +`git lfs ls-files` + +- Tğm Git LFS nesnelerini uzak sunucuya gönder (hatayla karşılaşma durumunda faydalıdır): + +`git lfs push --all {{uzak_depo_adresi}} {{dal_ismi}}` + +- Tüm Git LFS nesnelerini çek: + +`git lfs fetch` + +- Tüm Git LFS nesnelerini kontrol et: + +`git lfs checkout` diff --git a/pages.tr/common/git-log.md b/pages.tr/common/git-log.md new file mode 100644 index 00000000000000..a15fba823b83a5 --- /dev/null +++ b/pages.tr/common/git-log.md @@ -0,0 +1,36 @@ +# git log + +> Commit geçmişini göster. +> Daha fazla bilgi için: . + +- Mevcut olandan başlayarak mevcut çalışma ortamındaki git deposunun commit silsilesini ters kronolojik düzende göster: + +`git log` + +- Belirtilen dosya veya dizinin tarihini farklılıklarla beraber göster: + +`git log {{[-p|--patch]}} {{dosya/veya/dizin/konumu}}` + +- Her bir commit'de hangi dosya(lar)ın değiştiğinin önizlemesini göster: + +`git log --stat` + +- Mevcut daldaki commit'lerin mesajlarının ilk satırını içeren bir çizelge göster: + +`git log --oneline --graph` + +- Bir depodaki commit, etiket ve dalların tamamını içeren bir çizelge göster: + +`git log --oneline --decorate --all --graph` + +- Mesajları yalnızca belirtilen ifadeleri içeren commit'leri göster (büyük-küçük harfe duyarsız): + +`git log {{[-i|--regexp-ignore-case]}} --grep {{aranan_ifade}}` + +- Belirtilmiş yazardan gelen, belirtilen sayıda commit göster: + +`git log {{[-n|--max-count]}} {{sayı}} --author "{{yazar}}"` + +- İki tarih arasında yapılmış commit'leri göster: + +`git log --before "{{tarih}}" --after "{{tarih}}"` diff --git a/pages.tr/common/git-ls-files.md b/pages.tr/common/git-ls-files.md new file mode 100644 index 00000000000000..463049ab83694b --- /dev/null +++ b/pages.tr/common/git-ls-files.md @@ -0,0 +1,16 @@ +# git ls-files + +> İndex ve mevcut ağaçtaki dosyalar hakkında bilgi göster. +> Daha fazla bilgi için: . + +- Silinen dosyaları göster: + +`git ls-files --deleted` + +- Düzenlenen ve silinen dosyaları göster: + +`git ls-files --modified` + +- Yoksayılmış ve izlenmeyen dosyaları göster: + +`git ls-files --others` diff --git a/pages.tr/common/git-ls-remote.md b/pages.tr/common/git-ls-remote.md new file mode 100644 index 00000000000000..5acb2c9878b48d --- /dev/null +++ b/pages.tr/common/git-ls-remote.md @@ -0,0 +1,25 @@ +# git ls-remote + +> Çevrimiçi depolardaki isim ve URL bazlı referansları sıralamaya yarayan Git komutu. +> İsim veya URL girilmemişse, varsayılan dal veya çevrimiçi dalın kökeni kullanılır. +> Daha fazla bilgi için: . + +- Varsayılan çevrimiçi depodaki tüm referansları göster: + +`git ls-remote` + +- Varsayılan çevrimiçi depodaki yalnızca baş referanslarını göster: + +`git ls-remote --heads` + +- Varsayılan çevrimiçi depodaki yalnızca etiket referanslarını göster: + +`git ls-remote --tags` + +- Girilen isim veya URL'de bulunan çevrimiçi depodaki tüm referansları göster: + +`git ls-remote {{depo_adresi}}` + +- Bir çevrimiçi depodaki referansları belirtilen desene göre göster: + +`git ls-remote {{depo_ismi}} "{{desen}}"` diff --git a/pages.tr/common/git-ls-tree.md b/pages.tr/common/git-ls-tree.md new file mode 100644 index 00000000000000..af8ac20b4ea83a --- /dev/null +++ b/pages.tr/common/git-ls-tree.md @@ -0,0 +1,16 @@ +# git ls-tree + +> Bir ağaç nesnesinin içeriklerini sırala. +> Daha fazla bilgi için: . + +- Bir daldaki ağacın içeriklerini sırala: + +`git ls-tree {{dal_name}}` + +- Bir commit üstündeki ağacın içeriklerini alt ağaçlara ayırarak sırala: + +`git ls-tree -r {{commit_değeri}}` + +- Bir commit üstündeki ağacın yalnızca dosya isimlerini göster: + +`git ls-tree --name-only {{commit_değeri}}` diff --git a/pages.tr/common/git-merge.md b/pages.tr/common/git-merge.md new file mode 100644 index 00000000000000..216494a905f329 --- /dev/null +++ b/pages.tr/common/git-merge.md @@ -0,0 +1,20 @@ +# git merge + +> Dalları birleştir. +> Daha fazla bilgi için: . + +- Mevcut dal ile belirtilen dalı birleştir: + +`git merge {{dal_ismi}}` + +- Birleştirme mesajını düzenle: + +`git merge {{[-e|--edit]}} {{dal_ismi}}` + +- Bir dalı birleştir ve birleştirme commit'i oluştur: + +`git merge --no-ff {{dal_ismi}}` + +- Karışıklık durumlarına karşı birleştirme işlemini durdur: + +`git merge --abort` diff --git a/pages.tr/common/git-mergetool.md b/pages.tr/common/git-mergetool.md new file mode 100644 index 00000000000000..3b8a0eb916a831 --- /dev/null +++ b/pages.tr/common/git-mergetool.md @@ -0,0 +1,28 @@ +# git mergetool + +> Birleştirme sırasında yaşanan karışıklıkları çözmek için karışıklık çözücü araçları çalıştırır. +> Daha fazla bilgi için: . + +- Karışıklıkları çözmek için varsayılan birleştirme aracını başlat: + +`git mergetool` + +- Kullanılabilir birleştirme araçlarını sırala: + +`git mergetool --tool-help` + +- Belirtilen birleştirme aracını başlat: + +`git mergetool --tool {{araç_ismi}}` + +- Her birleştirme aracı çağrılışında harekete geçme: + +`git mergetool --no-prompt` + +- Özellikle grafiksel (GUI) birleştirme aracını kullan (merge.guitool değişkenine göz at): + +`git mergetool --gui` + +- Özellikle normal birleştirme aracını kullan (merge.guitool değişkenine göz at): + +`git mergetool --no-gui` diff --git a/pages.tr/common/git-mv.md b/pages.tr/common/git-mv.md new file mode 100644 index 00000000000000..3bb511dbcc8587 --- /dev/null +++ b/pages.tr/common/git-mv.md @@ -0,0 +1,16 @@ +# git mv + +> Dosyaları taşı veya yeniden adlandır ve Git indeksini güncelle. +> Daha fazla bilgi için: . + +- Depo içindeki dosyayı taşı ve bu hareketi sonraki commit'e ekle: + +`git mv {{dosya/konumu}} {{yeni/dosya/konumu}}` + +- Dosyayı yeniden adlandır ve yeniden adlandırma hareketini sonraki commit'e ekle: + +`git mv {{dosya_ismi}} {{yeni_dosya_ismi}}` + +- Eğer varsa belirtilen hedefteki dosyanın üstüne yaz: + +`git mv {{[-f|--force]}} {{dosya}} {{hedef}}` diff --git a/pages.tr/common/git-notes.md b/pages.tr/common/git-notes.md new file mode 100644 index 00000000000000..4458dafaa2b665 --- /dev/null +++ b/pages.tr/common/git-notes.md @@ -0,0 +1,36 @@ +# git notes + +> Nesne notları ekle veya incele. +> Daha fazla bilgi için: . + +- Tüm notları ve bağlı oldukları nesneleri sırala: + +`git notes list` + +- Belirtilen nesneye bağlanan tüm notları sırala (varsayılan HEAD'dedir): + +`git notes list [{{nesne}}]` + +- Belirtilen nesneye bağlanan tüm notları göster (varsayılan HEAD'dedir): + +`git notes show [{{nesne}}]` + +- Belirtilen nesneye bir not ekle (varsayılan metin editörü açılır): + +`git notes append {{nesne}}` + +- Mesajı belirterek belirtilen nesneye bir not ekle: + +`git notes append --message="{{messaj_yazısı}}"` + +- Varolan bir notu düzenle (varsayılan HEAD'dedir): + +`git notes edit [{{nesne}}]` + +- Bir notu bir nesneden öbürüne kopyala: + +`git notes copy {{kaynak_nesne}} {{hedef_nesne}}` + +- Belirtilen nesneye eklenen tüm notları sil: + +`git notes remove {{nesne}}` diff --git a/pages.tr/common/git-pr.md b/pages.tr/common/git-pr.md new file mode 100644 index 00000000000000..9cc3367fd8a1cd --- /dev/null +++ b/pages.tr/common/git-pr.md @@ -0,0 +1,20 @@ +# git pr + +> Github çekme isteklerini (pr) yerelde kontrol et. +> Daha fazla bilgi için: . + +- Belirtilen çekme isteğini kontrol et: + +`git pr {{pr_numarası}}` + +- Belirtilen dış bağlantıdan gelen bir çekme isteğini kontrol et: + +`git pr {{pr_numarası}} {{dış_bağlantı}}` + +- Belirtilen URL'den gelen çekme isteğini kontrol et: + +`git pr {{url}}` + +- Eski çekme isteği dallarını temizle: + +`git pr clean` diff --git a/pages.tr/common/git-prune.md b/pages.tr/common/git-prune.md new file mode 100644 index 00000000000000..305c2e7cd62ada --- /dev/null +++ b/pages.tr/common/git-prune.md @@ -0,0 +1,17 @@ +# git prune + +> Nesne veritabanından erişilemeyen tüm nesneleri budamaya yarayan git komutu. +> Bu komut genelde doğrudan kullanılmasa da Git gc tarafından bir iç komut olarak kullanılmaktadır. +> Daha fazla bilgi için: . + +- Git prune tarafından silinebilecek nesneleri onları silmeden raporla: + +`git prune {{[-n|--dry-run]}}` + +- Erişilemeyen nesneleri buda ve `stdout`'a budanan şeyleri görüntüle: + +`git prune {{[-v|--verbose]}}` + +- Erişilemeyen nesneleri budarken ilerlemeyi göster: + +`git prune --progress` diff --git a/pages.tr/common/git-pull.md b/pages.tr/common/git-pull.md new file mode 100644 index 00000000000000..fa6134a1bbaad0 --- /dev/null +++ b/pages.tr/common/git-pull.md @@ -0,0 +1,16 @@ +# git pull + +> Uzak bir depodan dal getir ve yerel depo ile birleştir. +> Daha fazla bilgi için: . + +- Varsayılan uzak depodan değişiklikleri indir ve birleştir: + +`git pull` + +- Varsayılan uzak depodan değişiklikleri indir ve ileri sarmayı kullan: + +`git pull {{[-r|--rebase]}}` + +- Belirtilen uzak depodan ve daldan değişiklikleri indir, ve sonra onları HEAD ile birleştir: + +`git pull {{uzak_bağlantı}} {{dal}}` diff --git a/pages.tr/common/git-push.md b/pages.tr/common/git-push.md new file mode 100644 index 00000000000000..8ec367a9a958fd --- /dev/null +++ b/pages.tr/common/git-push.md @@ -0,0 +1,32 @@ +# git push + +> Commit'leri uzak depoya yolla. +> Daha fazla bilgi için: . + +- Mevcut daldaki yerel değişiklikleri onun uzak eşine gönder: + +`git push` + +- Belirtilen daldaki yerel değişiklikleri onun uzak eşine gönder: + +`git push {{uzak_bağlantı}} {{yerel_dal}}` + +- Mevcut dalı bir uzak dal ismi ayarlayarak uzak depoda yayınla: + +`git push {{uzak_bağlantı}} {{[-u|--set-upstream]}} {{uzak_dal}}` + +- Yerel dallardaki tüm değişiklikleri onların belirtilen uzak depodaki uzak eşlerine gönder: + +`git push --all {{uzak_bağlantı}}` + +- Uzak depodaki bir dalı sil: + +`git push {{uzak_bağlantı}} {{[-d|--delete]}} {{uzak_dal}}` + +- Yerel eşi olmayan uzak dalları sil: + +`git push --prune {{uzak_bağlantı}}` + +- Daha yzak depoda olmayan etiketleri yayınla: + +`git push --tags` diff --git a/pages.tr/common/git-rebase.md b/pages.tr/common/git-rebase.md new file mode 100644 index 00000000000000..0ca294611a9d5c --- /dev/null +++ b/pages.tr/common/git-rebase.md @@ -0,0 +1,37 @@ +# git rebase + +> Bir daldan başka bir dalın üstüne commit'leri tekrar temeller. +> Sıklıkla bir dalı commit'leriyle beraber başka bir tabana "taşımak" için kullanılır. +> Daha fazla bilgi için: . + +- Mevcut dalı belirtilen öbür dal üzerine temelle: + +`git rebase {{yeni_taban_dal}}` + +- Commit'lerin sıralanması, çıkartılması, birleştirilmesi veya modifiye edilmesine izin vermek için tekrar temellemeyi etkileşimli olacak şekilde başlat: + +`git rebase {{[-i|--interactive]}} {{hedef_taban_dalı_veya_commit_değeri}}` + +- Bir birleştirme hatası tarafından durdurulan tekrar temelleme işlemini çekişen dosyaları düzenledikten sonra devam ettir: + +`git rebase --continue` + +- Birleştirme çatışmasından ötürü durdurulan tekrar temelleme işlemini çekişen commit'leri atlayarak devam ettir: + +`git rebase --skip` + +- Devam eden tekrar temelleme işlemini iptal et (örneğin birleştirmede çatışma yaşandığında): + +`git rebase --abort` + +- Mevcut dalın bir parçasını belirtilen eski tabandan yeni tabana taşı: + +`git rebase --onto {{yeni_taban}} {{eski_taban}}` + +- Son 3 commit'i etkileşimli olmayacak şekilde yeniden uygula: + +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` + +- Herhangi bir çatışmayı çalışan dal sürümünü kurtarmak üzere otomatik olarak çöz (`theirs` argümanı burada ters anlama sahip): + +`git rebase {{[-X|--strategy-option]}} theirs {{dal_ismi}}` diff --git a/pages.tr/common/git-reflog.md b/pages.tr/common/git-reflog.md new file mode 100644 index 00000000000000..8f2597ed1cc03e --- /dev/null +++ b/pages.tr/common/git-reflog.md @@ -0,0 +1,16 @@ +# git reflog + +> HEAD, dal ve etiketler gibi yerel referansların geçirdiği değişimlerin kaydını göster. +> Daha fazla bilgi için: . + +- HEAD için referans kaydını göster: + +`git reflog` + +- Belirtilen dal için referans kaydını göster: + +`git reflog {{dal_ismi}}` + +- Referans kaydında sadece son 5 değişimi göster: + +`git reflog {{[-n|--max-count]}} 5` diff --git a/pages.tr/common/git-remote.md b/pages.tr/common/git-remote.md new file mode 100644 index 00000000000000..9a54dc402523ce --- /dev/null +++ b/pages.tr/common/git-remote.md @@ -0,0 +1,28 @@ +# git remote + +> İzlenen depolar dizisini (uzak bağlantıları) yönet. +> Daha fazla bilgi için: . + +- Varolan uzak bağlantıların isim ve URL'leriyle bir listesini göster: + +`git remote {{[-v|--verbose]}}` + +- Uzak bağlantı ile ilgili bilgi göster: + +`git remote show {{uzak_bağlantı_ismi}}` + +- Uzak bağlantı ekle: + +`git remote add {{uzak_bağlantı_ismi}} {{uzak_bağlantı_url'si}}` + +- Uzak bağlantının URL'sini değiştir: + +`git remote set-url {{uzak_bağlantı_ismi}} {{yeni_url}}` + +- Uzak bağlantıyı sil: + +`git remote remove {{uzak_bağlantı_ismi}}` + +- Uzak bağlantıyı yeniden adlandır: + +`git remote rename {{eski_isim}} {{yeni_isim}}` diff --git a/pages.tr/common/git-repack.md b/pages.tr/common/git-repack.md new file mode 100644 index 00000000000000..4ce4376e5f3eca --- /dev/null +++ b/pages.tr/common/git-repack.md @@ -0,0 +1,12 @@ +# git repack + +> Bir Git deposundaki paketlenmemiş nesneleri paketle. +> Daha fazla bilgi için: . + +- Mevcut dizindeki paketlenmemiş nesneleri paketle: + +`git repack` + +- Paketlemeden sonra gereksiz nesneleri sil: + +`git repack -d` diff --git a/pages.tr/common/git-replace.md b/pages.tr/common/git-replace.md new file mode 100644 index 00000000000000..8c532f56c45aa8 --- /dev/null +++ b/pages.tr/common/git-replace.md @@ -0,0 +1,16 @@ +# git replace + +> Nesnelerin yerini değiştirmek için referans oluştur, sırala ve sil. +> Daha fazla bilgi için: . + +- Öbür commit'lere dokunmadan bir commit'in başka bir commit ile yerini değiştir: + +`git replace {{nesne}} {{yer_değiştirme}}` + +- Belirtilen nesnede varolan yer değiştirme referanslarını sil: + +`git replace --delete {{nesne}}` + +- Bir nesnenin içeriğini etkileşimli olarak düzenle: + +`git replace --edit {{nesne}}` diff --git a/pages.tr/common/git-request-pull.md b/pages.tr/common/git-request-pull.md new file mode 100644 index 00000000000000..333258c10dca81 --- /dev/null +++ b/pages.tr/common/git-request-pull.md @@ -0,0 +1,12 @@ +# git request-pull + +> Ana projeye yerelde yapılan değişiklikleri kendi ağacına çekmesini sormak için izin hazırla. +> Daha fazla bilgi için: . + +- v1.1 sürümü ve belirtilen dal arasındaki değişiklikleri özetleyen bir izin üret: + +`git request-pull {{v1.1}} {{https://ornek.com/proje}} {{dal_ismi}}` + +- `foo` dalındaki v0.1 sürümü ile yereldeki `bar` dalları arasındaki değişiklikleri özetleyen bir izin üret: + +`git request-pull {{v0.1}} {{https://ornek.com/proje}} {{foo:bar}}` diff --git a/pages.tr/common/git-reset.md b/pages.tr/common/git-reset.md new file mode 100644 index 00000000000000..f254c6a8f9c789 --- /dev/null +++ b/pages.tr/common/git-reset.md @@ -0,0 +1,33 @@ +# git reset + +> Mevcut Git HEAD'ini belirtilen duruma sıfırlayarak commit'leri veya değişiklikleri geri al. +> Eğer bir konum verildiye o konumdaki değişiklikler "geri alınır"; eğer bir commit değeri veya dal verildiyse o commit/dal "geri alınır". +> Daha fazla bilgi için: . + +- Her şeyi geri al: + +`git reset` + +- Belirtilen dosya(lar)ı geri al: + +`git reset {{dosya(ların)/konumu}}` + +- Bir dosyanın kısımlarını geri al: + +`git reset {{[-p|--patch]}} {{dosya/konumu}}` + +- Son commit'i, dosya sisteminde yapılan değişiklikleri geri almadan geri al: + +`git reset HEAD~` + +- Son iki commit'i onların indeks'e yaptığı değişiklikleri ekleyerek geri al: + +`git reset --soft HEAD~2` + +- Commit'lenmemiş değişiklikleri sahnelenip sahnelenmediklerine bakmaksızın iptal et (sadece sahnelenmemiş değişiklikleri iptal etmek için `git checkout` kullanılır): + +`git reset --hard` + +- Depoyu belirtilen commit'e o zamana kadar yapılan değişiklikleri iptal ederek sıfırla: + +`git reset --hard {{commit}}` diff --git a/pages.tr/common/git-restore.md b/pages.tr/common/git-restore.md new file mode 100644 index 00000000000000..753fabe7a63007 --- /dev/null +++ b/pages.tr/common/git-restore.md @@ -0,0 +1,33 @@ +# git restore + +> Çalışan ağaç dosyalarını onar. Git sürümü 2.23+ olmalıdır. +> `git checkout` ve `git reset` komutlarına da ayrıca bakılması tavsiye edilir. +> Daha fazla bilgi için: . + +- Sahnelenmemiş bir dosyayı mevcut commit'in sürümüne kavuştur: + +`git restore {{dosya/konumu}}` + +- Sahnelenmemiş bir dosyayı belirtilen commit'in sürümüne kavuştur: + +`git restore {{[-s|--source]}} {{commit}} {{dosya/konumu}}` + +- İzlenen dosyalardaki sahnelenmemiş tüm değişiklikleri iptal et: + +`git restore :/` + +- Bir dosyayı sahnelenmemiş hale getir: + +`git restore {{[-S|--staged]}} {{dosya/konumu}}` + +- Tüm dosyaları sahnelenmemiş hale getir: + +`git restore {{[-S|--staged]}} :/` + +- Dosyalara yapılan sahnelenmiş veya sahnelenmemiş tüm değişiklikleri iptal et: + +`git restore {{[-W|--worktree]}} {{[-S|--staged]}} :/` + +- Onarılacak dosya parçalarını etkileşimli olarak seç: + +`git restore {{[-p|--patch]}}` diff --git a/pages.tr/common/git-rev-list.md b/pages.tr/common/git-rev-list.md new file mode 100644 index 00000000000000..7ff0cde5f29636 --- /dev/null +++ b/pages.tr/common/git-rev-list.md @@ -0,0 +1,20 @@ +# git rev-list + +> Değişiklikleri (commit'leri) ters kronolojik sırada sırala. +> Daha fazla bilgi için: . + +- Mevcut daldaki tüm commit'leri sırala: + +`git rev-list {{HEAD}}` + +- Belirtilen daldaki belirtilen tarihten daha yakın olan commit'leri sırala: + +`git rev-list --since={{'2019-12-01 00:00:00'}} {{dal_ismi}}` + +- Belirtilen commit'deki tüm birleştirme commit'lerini sırala: + +`git rev-list --merges {{commit}}` + +- Belirtilen etiketten itibaren olan commit sayılarını çıkar: + +`git rev-list {{tag_name}}..HEAD --count` diff --git a/pages.tr/common/git-rev-parse.md b/pages.tr/common/git-rev-parse.md new file mode 100644 index 00000000000000..3fe7f2a2eb55c2 --- /dev/null +++ b/pages.tr/common/git-rev-parse.md @@ -0,0 +1,16 @@ +# git rev-parse + +> Belirtilen sürümler için metaveri görüntüle. +> Daha fazla bilgi için: . + +- Bir dalın commit verisini göster: + +`git rev-parse {{dal_ismi}}` + +- Mevcut dal ismini göster: + +`git rev-parse --abbrev-ref {{HEAD}}` + +- Kök dizinin mutlak konumunu göster: + +`git rev-parse --show-toplevel` diff --git a/pages.tr/common/git-revert.md b/pages.tr/common/git-revert.md new file mode 100644 index 00000000000000..5fde6d6d547c89 --- /dev/null +++ b/pages.tr/common/git-revert.md @@ -0,0 +1,20 @@ +# git revert + +> Öncekilerin etkilerini geri alan yeni bir commit oluştur. +> Daha fazla bilgi için: . + +- En son commit'leri geri al: + +`git revert {{@}}` + +- En son 5. commit'i geri al: + +`git revert HEAD~{{4}}` + +- Birden fazla commit'i geri al: + +`git revert {{dal_ismi~5..dal_ismi~2}}` + +- Yeni commit'ler oluşturma, yalnızca çalışan ağacı değiştir: + +`git revert -n {{0c01a9..9a1743}}` diff --git a/pages.tr/common/git-rm.md b/pages.tr/common/git-rm.md new file mode 100644 index 00000000000000..d51c5800bee8a4 --- /dev/null +++ b/pages.tr/common/git-rm.md @@ -0,0 +1,16 @@ +# git rm + +> Dosyaları dizin indeksinden ve yerel dosya sisteminden sil. +> Daha fazla bilgi için: . + +- Dosyayı dizin indeksinden ve dosya sisteminden sil: + +`git rm {{dosya}}` + +- Dizini sil: + +`git rm -r {{dizin}}` + +- Dizin indeksinden dosyayı sil lakin yerelde dosyaya dokunma: + +`git rm --cached {{dosya}}` diff --git a/pages.tr/common/git-send-email.md b/pages.tr/common/git-send-email.md new file mode 100644 index 00000000000000..99e12d267648fd --- /dev/null +++ b/pages.tr/common/git-send-email.md @@ -0,0 +1,25 @@ +# git send-email + +> Bir yama koleksiyonunu e-posta olarak gönder. +> Yamalar dosya, dizin veya sürüm listesi olarak tanımlanabilir. +> Daha fazla bilgi için: . + +- Mevcut dizindeki son commit'i gönder: + +`git send-email -1` + +- Belirtilen commit'i gönder: + +`git send-email -1 {{commit}}` + +- Mevcut dizindeki belirtilen sayı kadar (örneğin 10) commit'i gönder: + +`git send-email {{-10}}` + +- Gönderilecek yama serisi için bir giriş e-posta mesajı gönder: + +`git send-email -{{commits_sayı}} --compose` + +- Gönderilecek her bir yama için e-posta mesajını görüntüle ve düzenle: + +`git send-email -{{commits_sayı}} --annotate` diff --git a/pages.tr/common/git-shortlog.md b/pages.tr/common/git-shortlog.md new file mode 100644 index 00000000000000..cb56a839be3414 --- /dev/null +++ b/pages.tr/common/git-shortlog.md @@ -0,0 +1,28 @@ +# git shortlog + +> 'git log' çıktısını özetle. +> Daha fazla bilgi için: . + +- Yapılan tüm commit'lerin yazar ismiyle alfabetik olarak guruplanmış özetini göster: + +`git shortlog` + +- Yapılan tüm commit'lerin en çok commit yapan yazar ismi en üstte olacak şekilde özetini göster: + +`git shortlog {{-n|--numbered}}` + +- Yapılan tüm commit'lerin yazar bilgilerini (isim ve e-posta) gösterecek şekilde özetini göster: + +`git shortlog {{-c|--committer}}` + +- En son yapılan 5 commit'in özetini göster (sürüm aralığı belirt): + +`git shortlog HEAD~5..HEAD` + +- Mevcut daldaki tüm kullanıcıları, e-postalarını ve yaptıkları commit sayısını göster: + +`git shortlog {{-s|--summary}} {{-n|--numbered}} {{-e|--email}}` + +- Tüm dallardaki tüm kullanıcıları, e-postalarını ve yaptıkları commit sayısını göster: + +`git shortlog {{-s|--summary}} {{-n|--numbered}} {{-e|--email}} --all` diff --git a/pages.tr/common/git-show-branch.md b/pages.tr/common/git-show-branch.md new file mode 100644 index 00000000000000..aaca6be0708adb --- /dev/null +++ b/pages.tr/common/git-show-branch.md @@ -0,0 +1,36 @@ +# git show-branch + +> Dalları ve içerdikleri commit'leri göster. +> Daha fazla bilgi için: . + +- Bir daldaki son commit'lerin bir özetini göster: + +`git show-branch {{dal_ismi|referans|commit}}` + +- Çeşitli commit veya daldaki commit'lerin geçmişini karşılaştır: + +`git show-branch {{dal_ismi|referans|commit}}` + +- Tüm uzak takip dallarını karşılaştır: + +`git show-branch --remotes` + +- Hem yerel, hem de uzak takip dallarını karşılaştır: + +`git show-branch --all` + +- Tüm dallardaki son commit'leri sırala: + +`git show-branch --all --list` + +- Belirtilen dalı mevcut dal ile karşılaştır: + +`git show-branch --current {{commit|dal_ismi|referans}}` + +- Bağlı isim yerine commit ismini görüntüle: + +`git show-branch --sha1-name --current {{current|dal_ismi|referans}}` + +- Commit'lerin ortak atasından sonraki commit'leri belirtilen sayı kadar görüntüle: + +`git show-branch --more {{5}} {{commit|dal_ismi|referans}} {{commit|dal_ismi|referans}} {{...}}` diff --git a/pages.tr/common/git-show-ref.md b/pages.tr/common/git-show-ref.md new file mode 100644 index 00000000000000..ee88682aec4ade --- /dev/null +++ b/pages.tr/common/git-show-ref.md @@ -0,0 +1,20 @@ +# git show-ref + +> Referans sıralamak için git komutu. +> Daha fazla bilgi için: . + +- Depodaki tüm referansları göster: + +`git show-ref` + +- Yalnızca kafa referanslarını göster: + +`git show-ref --heads` + +- Yalnızca etiket referanslarını göster: + +`git show-ref --tags` + +- Belirtilen referansın varolduğunu doğrula: + +`git show-ref --verify {{referans/konumu}}` diff --git a/pages.tr/common/git-show.md b/pages.tr/common/git-show.md new file mode 100644 index 00000000000000..a39f5d689b2479 --- /dev/null +++ b/pages.tr/common/git-show.md @@ -0,0 +1,36 @@ +# git show + +> Çeşitli Git nesnelerini (commit'ler, etiketler vs.) görüntüle. +> Daha fazla bilgi için: . + +- Son commit'e dair bilgi (değer, mesaj, değişimler ve öbür metaveriler) göster: + +`git show` + +- Belirtilen commit'e dair bilgi göster: + +`git show {{commit}}` + +- Belirtilen etiket ile özleşen commit'e dair bilgi göster: + +`git show {{tag}}` + +- Dalın HEAD'indeki 3. commit'e dair bilgi göster: + +`git show {{dal}}~{{3}}` + +- Commit'in mesajını diff çıktısını önleyerek tek satırda göster: + +`git show --oneline -s {{commit}}` + +- Yalnızca değiştirilen dosyalarla ilgili istatistik (eklenen/silinen karakterler) göster: + +`git show --stat {{commit}}` + +- Yalnızca eklenen, yeniden adlandırılan veya silinen dosyaların listesini göster: + +`git show --summary {{commit}}` + +- Bir dosyanın belirtilen sürümdeki (örneğin dal, etiket veya commit) içeriğini göster: + +`git show {{sürüm}}:{{dosya/konumu}}` diff --git a/pages.tr/common/git-sizer.md b/pages.tr/common/git-sizer.md new file mode 100644 index 00000000000000..e490236cd3eea0 --- /dev/null +++ b/pages.tr/common/git-sizer.md @@ -0,0 +1,16 @@ +# git-sizer + +> Git depo boyut metriklerini hesaplar ve problem veya rahatsızlığa sebep olabilecek boyutlarda uyarı verir. +> Daha fazla bilgi için: . + +- 0'dan büyük önem içeren istatistikleri raporla: + +`git-sizer` + +- Tüm istatistikleri raporla: + +`git-sizer -v` + +- İlave seçenekleri gör: + +`git-sizer -h` diff --git a/pages.tr/common/git-stage.md b/pages.tr/common/git-stage.md new file mode 100644 index 00000000000000..5709eed237bfee --- /dev/null +++ b/pages.tr/common/git-stage.md @@ -0,0 +1,7 @@ +# git stage + +> Bu komut `git add` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr git add` diff --git a/pages.tr/common/git-stash.md b/pages.tr/common/git-stash.md new file mode 100644 index 00000000000000..29b669fa915dc2 --- /dev/null +++ b/pages.tr/common/git-stash.md @@ -0,0 +1,32 @@ +# git stash + +> Yerel Git düzenlemelerini geçici bir alanda sakla. +> Daha fazla bilgi için: . + +- Yeni (izlenmeyen) dosyalar hariç mevcut değişiklikleri sakla: + +`git stash push {{[-m|--message]}} {{keyfi_saklama_mesajı}}` + +- Yeni (izlenmeyen) dosyalar dahil mevcut değişiklikleri sakla: + +`git stash {{[-u|--include-untracked]}}` + +- Değiştirilen dosyaların parçalarını etkileşimli şekilde seçip sakla: + +`git stash {{[-p|--patch]}}` + +- Tüm saklananları göster (saklanan ismi, bağlı olduğu dal ve mesaj gösterilir): + +`git stash list` + +- Bir saklananı uygula (varsayılan son saklanandır ve stash@{0} olarak belirtilir): + +`git stash apply {{keyfi_saklanan_veya_commit_ismi}}` + +- Bir saklananı uygula (varsayılan stash@{0}), ve eğer uygulanması sıkıntı çıkarmıyorsa onu saklanan listesinden kaldır: + +`git stash pop {{keyfi_saklanan_ismi}}` + +- Tüm saklananları bırak: + +`git stash clear` diff --git a/pages.tr/common/git-status.md b/pages.tr/common/git-status.md new file mode 100644 index 00000000000000..e0f799497b8d9e --- /dev/null +++ b/pages.tr/common/git-status.md @@ -0,0 +1,21 @@ +# git status + +> Bir git deposundaki dosyalara yapılan değişiklikleri göster. +> Mevcut commit'e kıyasla değiştirilen, eklenen ve silinen dosyaları sıralar. +> Daha fazla bilgi için: . + +- Daha commit'e eklenmemiş değiştirilen dosyaları göster: + +`git status` + +- Çıktıyı özetlenmiş şekilde göster: + +`git status {{[-s|--short]}}` + +- Çıktıda izlenmeyen dosyaları gösterme: + +`git status {{[-uno|--untracked-files=no]}}` + +- Çıktıyı özetlenmiş şekilde dal bilgisiyle beraber göster: + +`git status {{[-sb|--short --branch]}}` diff --git a/pages.tr/common/git-stripspace.md b/pages.tr/common/git-stripspace.md new file mode 100644 index 00000000000000..7cc780c0fe3bbc --- /dev/null +++ b/pages.tr/common/git-stripspace.md @@ -0,0 +1,16 @@ +# git stripspace + +> Gereksiz boşlukları sil. +> Daha fazla bilgi için: . + +- Gereksiz boşlukları dosyadan kırp: + +`cat {{örnek/dosya}} | git stripspace` + +- Gereksiz boşlukları ve Git yorumlarını dosyadan kırp: + +`cat {{örnek/dosya}} | git stripspace --strip-comments` + +- Bir dosyadaki tüm satırları Git yorumlarına çevir: + +`git stripspace --comment-lines < {{örnek/dosya}}` diff --git a/pages.tr/common/git-submodule.md b/pages.tr/common/git-submodule.md new file mode 100644 index 00000000000000..273b4210811ff3 --- /dev/null +++ b/pages.tr/common/git-submodule.md @@ -0,0 +1,20 @@ +# git submodule + +> Alt modülleri incele, güncelle ve yönet. +> Daha fazla bilgi için: . + +- Deponun belirtilen alt modüllerini indir: + +`git submodule update --init --recursive` + +- Bir Git deposunu alt modül olarak ekle: + +`git submodule add {{depo_url'si}}` + +- Bir Git deposunu alt modül olarak belirtilen dizinde ekle: + +`git submodule add {{depo_url'si}} {{dizin/konumu}}` + +- Tüm alt modülleri son commit'lerine güncelle: + +`git submodule foreach git pull` diff --git a/pages.tr/common/git-subtree.md b/pages.tr/common/git-subtree.md new file mode 100644 index 00000000000000..8b84c68a8cd2c9 --- /dev/null +++ b/pages.tr/common/git-subtree.md @@ -0,0 +1,24 @@ +# git subtree + +> Proje bağımlılıklarını alt proje olarak yönetmeye yarayan bir araç. +> Daha fazla bilgi için: . + +- Bir Git deposunu alt ağaç olarak ekle: + +`git subtree add {{[-P|--prefix]}} {{dizin/konumu}} --squash {{depo_url'si}} {{dal_ismi}}` + +- Alt ağaç deposunu son commit'ine güncelle: + +`git subtree pull {{[-P|--prefix]}} {{dizin/konumu}} {{depo_url'si}} {{dal_ismi}}` + +- Son alt ağaca kadar olan değişiklikleri alt ağaca commit'le: + +`git subtree merge {{[-P|--prefix]}} {{dizin/konumu}} --squash {{depo_url'si}} {{dal_ismi}}` + +- Commit'leri bir alt ağaç deposuna yolla: + +`git subtree push {{[-P|--prefix]}} {{dizin/konumu}} {{depo_url'si}} {{dal_ismi}}` + +- Bir alt ağacın geçmişinden yeni bir proje geçmişi dışa aktar: + +`git subtree split {{[-P|--prefix]}} {{dizin/konumu}} {{depo_url'si}} {{[-b|--branch]}} {{dal_ismi}}` diff --git a/pages.tr/common/git-svn.md b/pages.tr/common/git-svn.md new file mode 100644 index 00000000000000..47f035addadcca --- /dev/null +++ b/pages.tr/common/git-svn.md @@ -0,0 +1,24 @@ +# git svn + +> Bir alt sürüm deposu ve Git arasında çift yönlü operasyon. +> Daha fazla bilgi için: . + +- Bit SVN deposunu klonla: + +`git svn clone {{https://ornek.com/altsürüm_deposu}} {{yerel_dizin}}` + +- Bir SVN deposunu belirtilen düzenleme numarasından başlayarak klonla: + +`git svn clone {{[-r|--revision]}} {{1234}}:HEAD {{https://svn.ornek.net/altsürüm/depo}} {{yerel_dizin}}` + +- Uzak SVN deposundan yerel klonu güncelle: + +`git svn rebase` + +- Git HEAD'i değiştirmeden uzak SVN deposundan güncellemeleri çek: + +`git svn fetch` + +- SVN deposuna geri commit'le: + +`git svn commit` diff --git a/pages.tr/common/git-switch.md b/pages.tr/common/git-switch.md new file mode 100644 index 00000000000000..a721890e00f446 --- /dev/null +++ b/pages.tr/common/git-switch.md @@ -0,0 +1,29 @@ +# git switch + +> Git dalları arasında geçiş yap. Gir sürümü 2.23+ olmalıdır. +> Ayrıca benzer işlev gören `git checkout` komutuna bakılması önerilir. +> Daha fazla bilgi için: . + +- Varolan bir dala geç: + +`git switch {{dal_ismi}}` + +- Yeni bir dal yarat ve ona geç: + +`git switch {{[-c|--create]}} {{dal_ismi}}` + +- Varolan commit üzerine yeni bir dal yarat ve ona geç: + +`git switch {{[-c|--create]}} {{dal_ismi}} {{commit}}` + +- Önceki dala geç: + +`git switch -` + +- Bir dala geç ve tüm alt modülleri uyum için güncelle: + +`git switch --recurse-submodules {{dal_ismi}}` + +- Bir dala geç ve mevcut dal ile commit'lenmeyen değişiklikleri bu dal ile birleştir: + +`git switch {{[-m|--merge]}} {{dal_ismi}}` diff --git a/pages.tr/common/git-tag.md b/pages.tr/common/git-tag.md new file mode 100644 index 00000000000000..59b5a91bdb2d4a --- /dev/null +++ b/pages.tr/common/git-tag.md @@ -0,0 +1,33 @@ +# git tag + +> Etiketleri oluştur, sırala, sil veya doğrula. +> Bir etiket, belirtilmiş bir commit'e bağlı statik bir referanstır. +> Daha fazla bilgi için: . + +- Tüm etiketleri sırala: + +`git tag` + +- Belirtilen isim ile mevcut commit'e bağlı bir etiket yarat: + +`git tag {{etiket_ismi}}` + +- Belirtilen isim ile belirtilen commit'e bağlı bir etiket yarat: + +`git tag {{etiket_ismi}} {{commit}}` + +- Belirtilen mesaja sahip açıklamalı bir etiket yarat: + +`git tag {{etiket_ismi}} {{[-m|--message]}} {{etiket_mesajı}}` + +- Belirtilen isimdeki etiketi sil: + +`git tag {{[-d|--delete]}} {{etiket_ismi}}` + +- Ana projeden güncellenmiş etiketleri al: + +`git fetch {{[-t|--tags]}}` + +- Belirtilen commit'i içeren/içermiş tüm etiketleri sırala: + +`git tag --contains {{commit}}` diff --git a/pages.tr/common/git-update-index.md b/pages.tr/common/git-update-index.md new file mode 100644 index 00000000000000..82453575ca7d1b --- /dev/null +++ b/pages.tr/common/git-update-index.md @@ -0,0 +1,8 @@ +# git update-index + +> İndeksi manipüle etmeye yarayan bir Git komutu. +> Daha fazla bilgi için: . + +- Düzenlenmiş bir dosya değiştirilmemiş gibi davran (`git status` bunu değişmiş gibi göstermeyecek): + +`git update-index --skip-worktree {{örnek/düzenlenen_dosya}}` diff --git a/pages.tr/common/git-update-ref.md b/pages.tr/common/git-update-ref.md new file mode 100644 index 00000000000000..72328128fbf329 --- /dev/null +++ b/pages.tr/common/git-update-ref.md @@ -0,0 +1,12 @@ +# git update-ref + +> Git referanslarını yaratmak, güncellemek ve silmeye yarayan bir Git komutu. +> Daha fazla bilgi için: . + +- Bir referansı sil (ilk commit'i hafifçe sıfırlamaya yarar): + +`git update-ref -d {{HEAD}}` + +- Referansı bir mesaj ile güncelle: + +`git update-ref -m {{mesaj}} {{HEAD}} {{4e95e05}}` diff --git a/pages.tr/common/git-var.md b/pages.tr/common/git-var.md new file mode 100644 index 00000000000000..9e87fff8545ac0 --- /dev/null +++ b/pages.tr/common/git-var.md @@ -0,0 +1,13 @@ +# git var + +> Bir Git mantıksal değişkeninin değerini yazdırır. +> Ayrıca bu komuttan daha çok tercih edilen `git config`'e bakılması önerilir. +> Daha fazla bilgi için: . + +- Yerel bir Git mantıksal değişkeninin değerini yazdır: + +`git var {{GIT_AUTHOR_IDENT|GIT_COMMITTER_IDENT|GIT_EDITOR|GIT_PAGER}}` + +- Tüm Git mantıksal değerlerini sırala: + +`git var -l` diff --git a/pages.tr/common/git-worktree.md b/pages.tr/common/git-worktree.md new file mode 100644 index 00000000000000..380ef8cea09858 --- /dev/null +++ b/pages.tr/common/git-worktree.md @@ -0,0 +1,20 @@ +# git worktree + +> Aynı depoya bağlı çoklu çalışan ağaçları yönet. +> Daha fazla bilgi için: . + +- Belirtilen dala sahip yeni bir dizin yarat: + +`git worktree add {{örnek/dizin}} {{dal}}` + +- Yeni bir dala sahip yeni bir dizin yarat: + +`git worktree add {{örnek/dizin}} -b {{yeni_dal}}` + +- Bu depoya bağlı tüm çalışan dizinleri sırala: + +`git worktree list` + +- Bir çalışma ağacını (çalışma ağacı dizinini sildikten sonra) kaldır: + +`git worktree prune` diff --git a/pages.tr/common/git.md b/pages.tr/common/git.md new file mode 100644 index 00000000000000..34fb123dcc6844 --- /dev/null +++ b/pages.tr/common/git.md @@ -0,0 +1,28 @@ +# git + +> Dağıtım sürüö kontrol sistemi. +> Daha fazla bilgi için: . + +- Bit Git alt komutunu çalıştır: + +`git {{alt_komut}}` + +- Bit Git alt komutunu belirtilen depoda çalıştır: + +`git -C {{örnek/depo}} {{alt_komut}}` + +- Bir Git alt komutunu belirtilen biçimlendirmeye uygun olarak çalıştır: + +`git -c '{{config.key}}={{değer}}' {{alt_komut}}` + +- Genel yardım sayfasını görüntüle: + +`git --help` + +- Bir Git alt komutu (`commit`, `log` gibi) için yardım sayfasını görüntüle: + +`git help {{alt_komut}}` + +- Git sürümünü kontrol et: + +`git --version` diff --git a/pages.tr/common/github-label-sync.md b/pages.tr/common/github-label-sync.md new file mode 100644 index 00000000000000..f4181617975c2e --- /dev/null +++ b/pages.tr/common/github-label-sync.md @@ -0,0 +1,24 @@ +# github-label-sync + +> GitHub etiketlerini senkronize etmeye yarayan komut satırı arayüzü. +> Daha fazla bilgi için: . + +- Yerel bir `labels.json` dosyası kullanarak etiketleri senkronize et: + +`github-label-sync --access-token {{token}} {{depo_ismi}}` + +- Belirli bir etiketlenen JSON dosyası kullanarak etiketleri senkronize et: + +`github-label-sync --access-token {{token}} --labels {{url|örnek/json_dosyası}} {{depo_ismi}}` + +- Programı etiketleri gerçekten senkronize etmeden çalıştır: + +`github-label-sync --access-token {{token}} --dry-run {{depo_ismi}}` + +- `labels.json` içinde olmayan etiketleri sakla: + +`github-label-sync --access-token {{token}} --allow-added-labels {{depo_ismi}}` + +- `GITHUB_ACCESS_TOKEN` ortam değişkenini kullanarak senkronize et: + +`github-label-sync {{depo_ismi}}` diff --git a/pages.tr/common/gitk.md b/pages.tr/common/gitk.md new file mode 100644 index 00000000000000..ada770b40c4d1d --- /dev/null +++ b/pages.tr/common/gitk.md @@ -0,0 +1,24 @@ +# gitk + +> Görsel Git depo tarayıcısı. +> Daha fazla bilgi için: . + +- Mevcut Git deposu için depo tarayıcısını göster: + +`gitk` + +- Belirtilmiş dosya veya dizin için depo tarayıcısını göster: + +`gitk {{path/to/file_or_directory}}` + +- 1 hafta önceden beri yapılan commit'leri göster: + +`gitk --since="{{1 week ago}}"` + +- 1/1/2016 tarihinden önceki commit'leri göster: + +`gitk --until="{{1/1/2016}}"` + +- Tüm dallarda en fazla 100 değişiklik göster: + +`gitk --max-count=100 --all` diff --git a/pages.tr/common/gitlab-ctl.md b/pages.tr/common/gitlab-ctl.md new file mode 100644 index 00000000000000..986dd37bfcb101 --- /dev/null +++ b/pages.tr/common/gitlab-ctl.md @@ -0,0 +1,28 @@ +# gitlab-ctl + +> Çok amaçlı GitLab yönetim CLI aracı. +> Daha fazla bilgi için: . + +- Tüm servislerin durumunu görüntüle: + +`sudo gitlab-ctl status` + +- Belirtilen servisin durumunu görüntüle: + +`sudo gitlab-ctl status {{nginx}}` + +- Tüm servisleri yeniden başlat: + +`sudo gitlab-ctl restart` + +- Belirtilen servisi yeniden başlat: + +`sudo gitlab-ctl restart {{nginx}}` + +- Tüm servislerin kaydını görüntüle ve `` basılana kadar okumaya devam et: + +`sudo gitlab-ctl tail` + +- Belirtilen servisin kaydını görüntüle: + +`sudo gitlab-ctl tail {{nginx}}` diff --git a/pages.tr/common/gitlab-runner.md b/pages.tr/common/gitlab-runner.md new file mode 100644 index 00000000000000..5c5142fa17de58 --- /dev/null +++ b/pages.tr/common/gitlab-runner.md @@ -0,0 +1,28 @@ +# gitlab-runner + +> GitLab koşucuları için CLI aracı. +> Daha fazla bilgi için: . + +- Bir koşucuyu kayıt ettir: + +`sudo gitlab-runner register --url {{https://gitlab.ornek.com}} --registration-token {{token}} --name {{isim}}` + +- Bir koşucuyu Docker çalıştırıcısıyla kayı ettir: + +`sudo gitlab-runner register --url {{https://gitlab.ornek.com}} --registration-token {{token}} --name {{isim}} --executor {{docker}}` + +- Bir koşucunun kaydını geri al: + +`sudo gitlab-runner unregister --name {{isim}}` + +- Koşucu servisinin durumunu görüntüle: + +`sudo gitlab-runner status` + +- Koşucu servisini yeniden başlat: + +`sudo gitlab-runner restart` + +- Kayıt edilen koşucuların GitLab'e bağlanabilme durumlarını kontrol et: + +`sudo gitlab-runner verify` diff --git a/pages.tr/common/gitlab.md b/pages.tr/common/gitlab.md new file mode 100644 index 00000000000000..2fdbb936c12f92 --- /dev/null +++ b/pages.tr/common/gitlab.md @@ -0,0 +1,21 @@ +# gitlab + +> GitLab API'si için Ruby sarıcı ve CLI aracı. +> `ctl` gibi bazı alt komutların kendi kullanım kılavuzları vardır. +> Daha fazla bilgi için: . + +- Yeni bir proje oluştur: + +`gitlab create_project {{proje_ismi}}` + +- Belirtilen commit ile ilgili bilgi al: + +`gitlab commit {{proje_ismi}} {{commit_değeri}}` + +- Bit CI pipeline'ındaki işler ile ilgili bilgi al: + +`gitlab pipeline_jobs {{proje_ismi}} {{pipeline_id'si}}` + +- Belirtilen CI işini başlat: + +`gitlab job_play {{proje_ismi}} {{iş_id'si}}` diff --git a/pages.tr/common/gitmoji.md b/pages.tr/common/gitmoji.md new file mode 100644 index 00000000000000..9d6a1be7736176 --- /dev/null +++ b/pages.tr/common/gitmoji.md @@ -0,0 +1,32 @@ +# gitmoji + +> Commit'lerde emoji kullanmak içni interaktif bir komut satırı aracı. +> Daha fazla bilgi için: . + +- Commit sihirbazını çalıştır: + +`gitmoji --commit` + +- Git hook'u başlat (bu sayede `git commit` çalıştırıldığı zaman `gitmoji` otomatik olarak çalıştırılabilir): + +`gitmoji --init` + +- Git hook'u sil: + +`gitmoji --remove` + +- Tüm kullanılabilir emojileri ve açıklamalarını sırala: + +`gitmoji --list` + +- Belirtilen kelime sırası için emoji sırası ara: + +`gitmoji --search {{kelime1}} {{kelime2}}` + +- Ana depodan emojileri güncelle: + +`gitmoji --update` + +- Genel tercihleri düzenle: + +`gitmoji --config` diff --git a/pages.tr/common/gitsome.md b/pages.tr/common/gitsome.md new file mode 100644 index 00000000000000..abe38b3a018b21 --- /dev/null +++ b/pages.tr/common/gitsome.md @@ -0,0 +1,29 @@ +# gitsome + +> GitHub için gh komutuyla erişilebilen terminal tabanlı arayüz. +> Ayrıca `git` komutları için menu tarzı otomatik tamamlanmış öneriler sunar. +> Daha fazla bilgi için: . + +- Otomatik tamamlamayı ve Git ile gh komutları için etkileşimli yardımı etkinleştirmek için gitsome kabuğuna gir: + +`gitsome` + +- Mevcut hesap ile GitHub entegrasyonunu ayarla: + +`gh configure` + +- Mevcut hesap için bildirimleri ( adresinde görülebildiği gibi) sırala: + +`gh notifications` + +- Mevcut hesabın yıldızlanan depolarını belirtilen filtre ile sırala: + +`gh starred "{{python 3}}"` + +- Belirtilen GitHub deposunun güncel etkileşimini görüntüle: + +`gh feed {{tldr-pages/tldr}}` + +- Belirtilen GitHub kullanıcısının güncel etkileşimini varsayılan sayfacı ile (örneğin `less`) göster: + +`gh feed {{torvalds}} -p` diff --git a/pages.tr/common/gnmic-sub.md b/pages.tr/common/gnmic-sub.md new file mode 100644 index 00000000000000..af69ec7b6e52d6 --- /dev/null +++ b/pages.tr/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Bu komut `gnmic subscribe` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr gnmic subscribe` diff --git a/pages.tr/common/go-bug.md b/pages.tr/common/go-bug.md new file mode 100644 index 00000000000000..10b0b4a5480937 --- /dev/null +++ b/pages.tr/common/go-bug.md @@ -0,0 +1,8 @@ +# go bug + +> Bug bildir. +> Daha fazla bilgi için: . + +- Bug bildirisini başlatmak için bir website aç: + +`go bug` diff --git a/pages.tr/common/go-build.md b/pages.tr/common/go-build.md new file mode 100644 index 00000000000000..3e28a05541b1e6 --- /dev/null +++ b/pages.tr/common/go-build.md @@ -0,0 +1,20 @@ +# go build + +> Go kaynaklarını derle. +> Daha fazla bilgi için: . + +- Bir 'package main' dosyasını derle (çıktı uzantısız bir dosya ismi olacak): + +`go build {{örnek/konum/main.go}}` + +- Çıktı dosya ismini belirterek derle: + +`go build -o {{örnek/konum/binary}} {{örnek/konum/kaynak.go}}` + +- Bir paket yarat: + +`go build -o {{örnek/konum/binary}} {{örnek/konum/paket}}` + +- Bir ana paketi veri yarış tanımlayıcısını etkinleştirerek çalıştırılabilir olarak derle: + +`go build -race -o {{örnek/konum/çalıştırılabilir}} {{örnek/konum/ana_paket}}` diff --git a/pages.tr/common/go-clean.md b/pages.tr/common/go-clean.md new file mode 100644 index 00000000000000..43e205feff56a2 --- /dev/null +++ b/pages.tr/common/go-clean.md @@ -0,0 +1,20 @@ +# go clean + +> Obje ve önbellek dosyalarını sil. +> Daha fazla bilgi için: . + +- Hiçbir şeyi silmeden silme komutlarını yazdır: + +`go clean -n` + +- Yapım önbelleğini sil:Delete the build cache: + +`go clean -cache` + +- Tüm önbelleğe alınan test sonuçlarını sil: + +`go clean -testcache` + +- Modül önbelleğni sil: + +`go clean -modcache` diff --git a/pages.tr/common/go-doc.md b/pages.tr/common/go-doc.md new file mode 100644 index 00000000000000..795188f219ae17 --- /dev/null +++ b/pages.tr/common/go-doc.md @@ -0,0 +1,24 @@ +# go doc + +> Bir paket veya sembolün dokümentasyonunu göster. +> Daha fazla bilgi için: . + +- Mevcut paket için dokümentasyonu göster: + +`go doc` + +- Paket dokümentasyonunu ve dışa aktarılmış sembolleri göster: + +`go doc {{encoding/json}}` + +- Sembollerin de dokümentasyonunu göster: + +`go doc -all {{encoding/json}}` + +- Kaynakları da göster: + +`go doc -all -src {{encoding/json}}` + +- Belirtilen sembolü göster: + +`go doc -all -src {{encoding/json.Number}}` diff --git a/pages.tr/common/go-env.md b/pages.tr/common/go-env.md new file mode 100644 index 00000000000000..247cbf3507c0a7 --- /dev/null +++ b/pages.tr/common/go-env.md @@ -0,0 +1,20 @@ +# go env + +> Go toolchain'in kullandığı ortam değişkenlerini yönet. +> Daha fazla bilgi için: . + +- Tüm ortam değişkenlerini göster: + +`go env` + +- Belirtilen ortam değişkenlerini göster: + +`go env {{GOPATH}}` + +- Bir değere ortam değişkeni ata: + +`go env -w {{GOBIN}}={{örnek/konum/dizin}}` + +- Ortam değişkeninin değerini sıfırla: + +`go env -u {{GOBIN}}` diff --git a/pages.tr/common/go-fix.md b/pages.tr/common/go-fix.md new file mode 100644 index 00000000000000..709efc74cb4112 --- /dev/null +++ b/pages.tr/common/go-fix.md @@ -0,0 +1,8 @@ +# go fix + +> Yeni API'ler kullanmak için paketleri güncelle. +> Daha fazla bilgi için: . + +- Paketleri yeni API'ler kullanmak için güncelle: + +`go fix {{paketler}}` diff --git a/pages.tr/common/go-fmt.md b/pages.tr/common/go-fmt.md new file mode 100644 index 00000000000000..c2cd3cdbb942c2 --- /dev/null +++ b/pages.tr/common/go-fmt.md @@ -0,0 +1,25 @@ +# go fmt + +> Go kaynak dosyalarını formatla. +> Değiştirilen dosya isimlerini yazdırır. +> Daha fazla bilgi için: . + +- Mevcut dizindeki Go kaynak dosyalarını formatla: + +`go fmt` + +- Belirtilen Go paketini içe aktarım yolunda formatla (`$GOPATH/src`): + +`go fmt {{örnek/konum/paket}}` + +- Paketi mevcut dizinde ve tüm öbür alt dizinlerde formatla (`...` ifadesine dikkat): + +`go fmt {{./...}}` + +- Hiçbir şeyi düzenlemeden format komutlarının ne yapacağını yazdır: + +`go fmt -n` + +- Komut çalışırken arkaplanda hangi komutların çalıştığını yazdır: + +`go fmt -x` diff --git a/pages.tr/common/go-generate.md b/pages.tr/common/go-generate.md new file mode 100644 index 00000000000000..cd3d0cfca35dcd --- /dev/null +++ b/pages.tr/common/go-generate.md @@ -0,0 +1,8 @@ +# go generate + +> Kaynak dosyaları içinde komut çalıştırarak Go dosyaları oluştur. +> Daha fazla bilgi için: . + +- Kaynak dosyaları içinde komut çalıştırarak Go dosyaları oluştur: + +`go generate` diff --git a/pages.tr/common/go-get.md b/pages.tr/common/go-get.md new file mode 100644 index 00000000000000..75ba14e35ab5ec --- /dev/null +++ b/pages.tr/common/go-get.md @@ -0,0 +1,16 @@ +# go get + +> Bir bağımlılık paketi ekle veya eski GOPATH modunda paket indir. +> Daha fazla bilgi için: . + +- `go.mod`'a modül modunda (module-mode) belirtilen bir paket ekle veya paketi GOPATH modunda indir: + +`go get {{ornek.com/pkg}}` + +- Paketi module-aware modunda belirtilen sürümde düzenle: + +`go get {{ornek.com/pkg}}@{{v1.2.3}}` + +- Belirtilen paketi sil: + +`go get {{ornek.com/pkg}}@{{none}}` diff --git a/pages.tr/common/go-install.md b/pages.tr/common/go-install.md new file mode 100644 index 00000000000000..80ed84dd87c3d0 --- /dev/null +++ b/pages.tr/common/go-install.md @@ -0,0 +1,20 @@ +# go install + +> İçe aktarım yollarıyla isimlendirilen paketleri derle ve indir. +> Daha fazla bilgi için: . + +- Mevcut paketi derle ve indir: + +`go install` + +- Belirtilen yerel paketi derle ve indir: + +`go install {{örnek/konum/paket}}` + +- Bir programın son sürümünü mevcut dizindeki `go.mod`'u yoksayarak indir: + +`go install {{golang.org/x/tools/gopls}}@{{latest}}` + +- Bir programın mevcut dizindeki `go.mod`'da belirtilen sürümünü indir: + +`go install {{golang.org/x/tools/gopls}}` diff --git a/pages.tr/common/go-list.md b/pages.tr/common/go-list.md new file mode 100644 index 00000000000000..68d2a21551dcb5 --- /dev/null +++ b/pages.tr/common/go-list.md @@ -0,0 +1,20 @@ +# go list + +> Paket ve modülleri sırala. +> Daha fazla bilgi için: . + +- Paketleri sırala: + +`go list ./...` + +- Standart paketleri sırala: + +`go list std` + +- Paketleri JSON formatında sırala: + +`go list -json time net/http` + +- Modül bağımlılıklarını ve erişilebilir güncellemeleri sırala: + +`go list -m -u all` diff --git a/pages.tr/common/go-mod.md b/pages.tr/common/go-mod.md new file mode 100644 index 00000000000000..de428ef113f96f --- /dev/null +++ b/pages.tr/common/go-mod.md @@ -0,0 +1,24 @@ +# go mod + +> Modül yönetimi. +> Daha fazla bilgi için: . + +- Mevcut dizinde yeni modül başlat: + +`go mod init {{modülİsmi}}` + +- Modülleri yerel önbelleğe yükle: + +`go mod download` + +- Kaybolan modülleri ekle ve kullanılmayanları sil: + +`go mod tidy` + +- Bağlılıkların beklenen içeriğe sahip olduklarını doğrula: + +`go mod verify` + +- Tüm bağlılıkların kaynaklarını satıcı dizine kopyala: + +`go mod vendor` diff --git a/pages.tr/common/go-run.md b/pages.tr/common/go-run.md new file mode 100644 index 00000000000000..39c18697a08ab1 --- /dev/null +++ b/pages.tr/common/go-run.md @@ -0,0 +1,12 @@ +# go run + +> Binary (ikili sayı değeri) kaydetmeden Go kodunu derle ve çalıştır. +> Daha fazla bilgi için: . + +- Bir Go dosyası çalıştır: + +`go run {{örnek/konum/dosya.go}}` + +- Ana bir Go paketi çalıştır: + +`go run {{örnek/konum/paket}}` diff --git a/pages.tr/common/go-test.md b/pages.tr/common/go-test.md new file mode 100644 index 00000000000000..5426423a72b995 --- /dev/null +++ b/pages.tr/common/go-test.md @@ -0,0 +1,28 @@ +# go test + +> Go paketlerini test et (dosyalar `_test.go` ifadesiyle bitmeli). +> Daha fazla bilgi için: . + +- Mevcut dizinde bulunan paketleri test et: + +`go test` + +- Mevcut dizindeki paketleri ayrıntılı şekilde test et: + +`go test -v` + +- Mevcut dizindeki ve tüm alt dizinlerdeki paketleri test et (`...` ifadesine dikkat): + +`go test -v ./...` + +- Mevcut dzindeki paketleri test et ve tüm kalite testlerini çalıştır: + +`go test -v -bench .` + +- Mevcut dizindeki paketleri test et ve 50 saniye içinde tüm kalite testlerini çalıştır: + +`go test -v -bench . -benchtime {{50s}}` + +- Paketleri kapsamlı bir analiz ile test et: + +`go test -cover` diff --git a/pages.tr/common/go-tool.md b/pages.tr/common/go-tool.md new file mode 100644 index 00000000000000..a4c596eaae95d1 --- /dev/null +++ b/pages.tr/common/go-tool.md @@ -0,0 +1,21 @@ +# go tool + +> Belirtilen bir Go aracını veya komutunu çalıştır. +> Bir Go komutunu tipik olarak hata ayıklamak için tek başına bir binary olarak çalıştır. +> Daha fazla bilgi için: . + +- Erişilebilir araçları sırala: + +`go tool` + +- Go bağ aracını çalıştır: + +`go tool link {{örnek/konum/main.o}}` + +- Çalıştırılacak komutu çalıştırmadan yazdır (`whereis`'e benzer): + +`go tool -n {{komut}} {{argümanları}}` + +- Belirtilen araç için resmi dokümentasyonu göster: + +`go tool {{komut}} --help` diff --git a/pages.tr/common/go-version.md b/pages.tr/common/go-version.md new file mode 100644 index 00000000000000..f38ac459cb2d5a --- /dev/null +++ b/pages.tr/common/go-version.md @@ -0,0 +1,12 @@ +# go version + +> Go sürümünü yazdır. +> Daha fazla bilgi için: . + +- Go sürümünü yazdır: + +`go version` + +- Belirtilen çalıştırılabilir dosyanın yapımı için kullanılan Go sürümünü yazdır: + +`go version {{örnek/konum/çalıştırılabilir_dosya}}` diff --git a/pages.tr/common/go-vet.md b/pages.tr/common/go-vet.md new file mode 100644 index 00000000000000..4ac0e0233811a3 --- /dev/null +++ b/pages.tr/common/go-vet.md @@ -0,0 +1,29 @@ +# go vet + +> Go kaynak kodunu kontrol et ve şüpheli yapıları bildir (örneğin Go kaynak dosyalarını tiftik et). +> Go vet komutu eğer sorun bulunduysa sıfır olmayan bir çıkış kodu yazdırır. Eğer herhangi bir sorun bulunmadıysa sıfır çıkış kodu yazdırılır. +> Daha fazla bilgi için: . + +- Mevcut dizindeki Go paketini kontrol et: + +`go vet` + +- Belirtilen yoldaki Go paketini kontrol et: + +`go vet {{örnek/dosya_veya_dizin}}` + +- Go vet ile çalıştırılabilecek erişilebilir kontrolleri sırala: + +`go tool vet help` + +- Belirtilen bir kontrol için detayları ve bayrakları göster: + +`go tool vet help {{kontrol_ismi}}` + +- Kontrolün sorun bulmasına sebep olan satırları artı N sayıda ek içeriği görüntüle: + +`go vet -c={{N}}` + +- Analiz ve hataları JSON formatında çıkart: + +`go vet -json` diff --git a/pages.tr/common/go.md b/pages.tr/common/go.md new file mode 100644 index 00000000000000..cff9ed3e06d0c8 --- /dev/null +++ b/pages.tr/common/go.md @@ -0,0 +1,33 @@ +# go + +> Go kaynak kodunu yönetmeye yarayan bir araç. +> `build` gibi bazı alt komutların kendı kullanım dokümentasyonları mevcut. +> Daha fazla bilgi için: . + +- İçe aktarım yolunda belirtilen şekilde bir paketi indir ve yükle: + +`go get {{paket_yolu}}` + +- Bir kaynak dosyasını derle ve çalıştır (bir `main` paketine sahip olmalı): + +`go run {{dosya}}.go` + +- Bir kaynak dosyasını belirtilen çalıştırılabilir dosyaya derle: + +`go build -o {{çalıştırılabilir}} {{dosya}}.go` + +- Mevcut dizinde bulunan paketi derle: + +`go build` + +- Mevcut paket için tüm test durumlarını çalıştır (bahsi geçen dosyalar `_test.go` ifadesi ile bitmeli): + +`go test` + +- Mevcut paketi derle ve indir: + +`go install` + +- Mevcut diizinde yeni bir modül başlat: + +`go mod init {{modül_ismi}}` diff --git a/pages.tr/common/google-chrome.md b/pages.tr/common/google-chrome.md new file mode 100644 index 00000000000000..8c8e54d14590de --- /dev/null +++ b/pages.tr/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Bu komut `chromium` için bir takma addır. +> Daha fazla bilgi için: . + +- Asıl komutun belgelerini görüntüleyin: + +`tldr chromium` diff --git a/pages.tr/common/grep.md b/pages.tr/common/grep.md new file mode 100644 index 00000000000000..845bfa19019b5c --- /dev/null +++ b/pages.tr/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Düzenli ifadeler (Regex) kullanarak dosyalardaki kalıpları bul. +> Daha fazla bilgi için: . + +- Bir dosya içinde kalıp ara: + +`grep "{{aranan_kalıp}}" {{dosya/yolu}}` + +- Tam bir dize ara (düzenli ifadeleri devre dışı bırakır): + +`grep {{[-F|--fixed-strings]}} "{{tam_dize}}" {{dosya/yolu}}` + +- Bir dizindeki tüm dosyalarda bir kalıbı tekrarlı olarak ara, eşleşmelerin satır numaralarını göster, binary dosyaları göz ardı et: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{aranan_kalıp}}" {{dosya/yolu}}` + +- Büyük/küçük harfe duyarsız modda genişletilmiş düzenli ifadeleri (`?`, `+`, `{}`, `()`, ve `|` destekler) kullan: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{aranan_kalıp}}" {{dosya/yolu}}` + +- Her eşleşmenin etrafında, öncesinde veya sonrasında 3 satır içerik yazdır: + +`grep {{--context|--before-context|--after-context}} 3 "{{aranan_kalıp}}" {{dosya/yolu}}` + +- Renkli çıktı ile her eşleşme için dosya adını ve satır numarasını yazdır: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{aranan_kalıp}}" {{dosya/yolu}}` + +- Bir kalıpla eşleşen satırları ara, yalnızca eşleşen metni yazdır: + +`grep {{[-o|--only-matching]}} "{{aranan_kalıp}}" {{dosya/yolu}}` + +- Bir kalıpla eşleşmeyen satırlar için `stdin`'de arama yap: + +`cat {{dosya/yolu}} | grep {{[-v|--invert-match]}} "{{aranan_kalıp}}"` diff --git a/pages.tr/common/hx.md b/pages.tr/common/hx.md new file mode 100644 index 00000000000000..91d563a6d006bf --- /dev/null +++ b/pages.tr/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Bu komut `helix` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr helix` diff --git a/pages.tr/common/kafkacat.md b/pages.tr/common/kafkacat.md new file mode 100644 index 00000000000000..f5fd6963ff296d --- /dev/null +++ b/pages.tr/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Bu komut `kcat` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr kcat` diff --git a/pages.tr/common/llvm-ar.md b/pages.tr/common/llvm-ar.md new file mode 100644 index 00000000000000..c67db370562727 --- /dev/null +++ b/pages.tr/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Bu komut `ar` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ar` diff --git a/pages.tr/common/llvm-g++.md b/pages.tr/common/llvm-g++.md new file mode 100644 index 00000000000000..e7d99077c36fea --- /dev/null +++ b/pages.tr/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Bu komut `clang++` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr clang++` diff --git a/pages.tr/common/llvm-gcc.md b/pages.tr/common/llvm-gcc.md new file mode 100644 index 00000000000000..cb35770808062a --- /dev/null +++ b/pages.tr/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Bu komut `clang` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr clang` diff --git a/pages.tr/common/llvm-nm.md b/pages.tr/common/llvm-nm.md new file mode 100644 index 00000000000000..0956c3b790c747 --- /dev/null +++ b/pages.tr/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Bu komut `nm` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr nm` diff --git a/pages.tr/common/llvm-objdump.md b/pages.tr/common/llvm-objdump.md new file mode 100644 index 00000000000000..db1d9143990a72 --- /dev/null +++ b/pages.tr/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Bu komut `objdump` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr objdump` diff --git a/pages.tr/common/llvm-strings.md b/pages.tr/common/llvm-strings.md new file mode 100644 index 00000000000000..9a78cc5f9d0b13 --- /dev/null +++ b/pages.tr/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Bu komut `strings` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr strings` diff --git a/pages.tr/common/lzcat.md b/pages.tr/common/lzcat.md new file mode 100644 index 00000000000000..781f7cc15f0c9a --- /dev/null +++ b/pages.tr/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Bu komut `xz` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr xz` diff --git a/pages.tr/common/lzma.md b/pages.tr/common/lzma.md new file mode 100644 index 00000000000000..39f9ede1d60dac --- /dev/null +++ b/pages.tr/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Bu komut `xz` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr xz` diff --git a/pages.tr/common/man.md b/pages.tr/common/man.md new file mode 100644 index 00000000000000..d563034c56befd --- /dev/null +++ b/pages.tr/common/man.md @@ -0,0 +1,24 @@ +# man + +> Kılavuz sayfalarını biçimlendir ve göster. +> Daha fazla bilgi için: . + +- Bir komut için man sayfasını görüntüle: + +`man {{komut}}` + +- Sayfanın 7. bölümündeki bir komut için man sayfasını görüntüle: + +`man {{7}} {{komut}}` + +- Mansayfaları için aratılan yolu göster: + +`man --path` + +- Mansayfasını göstermek yerine mansayfasının konumunu göster: + +`man -w {{komut}}` + +- Belirtilen ifadeyi içeren mansayfalarını ara: + +`man -k "{{aranan_ifade}}"` diff --git a/pages.tr/common/minetest.md b/pages.tr/common/minetest.md new file mode 100644 index 00000000000000..43a0c38915f564 --- /dev/null +++ b/pages.tr/common/minetest.md @@ -0,0 +1,21 @@ +# minetest + +> Çok oyunculu sınırsız dünyalı bloklu sandbox oyun motoru. +> Ayrıca `minetestserver` sayfasına bakılması önerilir. +> Daha fazla bilgi için: . + +- Minetest'i kullanıcı modunda başlat: + +`minetest` + +- Minetest'i belirtilen dünyayı host edecek şekilde sunucu modunda başlat: + +`minetest --server --world {{isim}}` + +- Belirtilmiş bir dosyaya geçmişi yaz: + +`minetest --logfile {{örnek/dosya}}` + +- Hataları yalnızca konsola yaz: + +`minetest --quiet` diff --git a/pages.tr/common/minetestserver.md b/pages.tr/common/minetestserver.md new file mode 100644 index 00000000000000..026c1fe94afe5e --- /dev/null +++ b/pages.tr/common/minetestserver.md @@ -0,0 +1,37 @@ +# minetestserver + +> Çok oyunculu sınırsız dünyalı bloklu sanbox sunucusu. +> Ayrıca `minetest` sayfasına bakılması önerilir. +> Daha fazla bilgi için: . + +- Sunucuyu başlar: + +`minetestserver` + +- Müsait dünyaları sırala: + +`minetestserver --world list` + +- Yüklenecek dünya ismini belirt: + +`minetestserver --world {{dunya_ismi}}` + +- Müsait oyun ID'lerini sırala: + +`minetestserver --gameid list` + +- Kullanılacak oyunu belirt: + +`minetestserver --gameid {{oyun_id'si}}` + +- Belirtilmiş bir port'u dinle: + +`minetestserver --port {{34567}}` + +- Başka bir veritabanı yazılımına göç et: + +`minetestserver --migrate {{sqlite3|leveldb|redis}}` + +- Sunucuyu başlattıktan sonra interaktif bir terminal aç: + +`minetestserver --terminal` diff --git a/pages.tr/common/mkdir.md b/pages.tr/common/mkdir.md new file mode 100644 index 00000000000000..3deca13b3f4522 --- /dev/null +++ b/pages.tr/common/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> Yeni bir dizin oluştur. +> Daha fazla bilgi için: . + +- Mevcut dizinde ya da verilen dizinde yeni bir dizin oluştur: + +`mkdir {{dizin}}` + +- Özyinelemeli şekilde dizin oluştur (iç içe klasörler oluşturmak için kullanışlıdır): + +`mkdir {{[-p|--parents]}} {{dizin/yolu1 dizin/yolu2 ...}}` diff --git a/pages.tr/common/mscore.md b/pages.tr/common/mscore.md new file mode 100644 index 00000000000000..59aadafe0a7eca --- /dev/null +++ b/pages.tr/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Bu komut `musescore` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr musescore` diff --git a/pages.tr/common/ng.md b/pages.tr/common/ng.md new file mode 100644 index 00000000000000..a5153422a6dd74 --- /dev/null +++ b/pages.tr/common/ng.md @@ -0,0 +1,36 @@ +# ng + +> Angular uygulamaları oluşturup yönetmek için bir Komut Satırı Arayüzü (CLI). +> Daha fazla bilgi için: . + +- Bir klasörün içinde yeni bir Angular uygulaması oluştur: + +`ng new {{proje_ismi}}` + +- Bir uygulamaya yeni bir komponent ekle: + +`ng generate component {{komponent_ismi}}` + +- Bir uygulamaya yeni bir sınıf ekle: + +`ng generate class {{sınıf_ismi}}` + +- Bir uygulamaya yeni bir direktif ekle: + +`ng generate directive {{direktif_ismi}}` + +- Uygulamayı çalıştır ve bir sunucu üzerinden yayınla: + +`ng serve` + +- Uygulamayı derle: + +`ng build` + +- Testleri çalıştır: + +`ng test` + +- Angular kurulumunun versiyonunu kontrol et: + +`ng version` diff --git a/pages.tr/common/nginx.md b/pages.tr/common/nginx.md new file mode 100644 index 00000000000000..bf6d5f72dd78f2 --- /dev/null +++ b/pages.tr/common/nginx.md @@ -0,0 +1,24 @@ +# nginx + +> Nginx web sunucusu. +> Daha fazla bilgi için: . + +- Varsayılan konfigürasyon dosyasıyla sunucuyu başlat: + +`nginx` + +- Özel bir konfigürasyon dosyasıyla sunucuyu başlat: + +`nginx -c {{konfigürasyon_dosyası}}` + +- Konfigürasyon dosyasındaki her göreceli dosya yolu için bir ön ek ile sunucuyu başlat: + +`nginx -c {{konfigürasyon_dosyası}} -p {{göreceli/dosya/yolu/ön/eki}}` + +- Çalışan sunucuyu etkilemeden konfigürasyon dosyasını test et: + +`nginx -t` + +- Aksamasız bir sinyal göndererek konfigürasyonu tekrar yükle: + +`nginx -s reload` diff --git a/pages.tr/common/nm-classic.md b/pages.tr/common/nm-classic.md new file mode 100644 index 00000000000000..48ef482d870481 --- /dev/null +++ b/pages.tr/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Bu komut `nm` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr nm` diff --git a/pages.tr/common/node.md b/pages.tr/common/node.md new file mode 100644 index 00000000000000..b9827bf7d4c4ad --- /dev/null +++ b/pages.tr/common/node.md @@ -0,0 +1,28 @@ +# node + +> Sunucu tarafı JavaScript platformu (Node.js). +> Daha fazla bilgi için: . + +- JavaScript dosyası çalıştır: + +`node {{dosya/yolu}}` + +- REPL (interactive shell) başlat: + +`node` + +- Bir içe aktarılan dosya değiştirildiği zaman belirtilen dosyayı yeniden başlat (Node.js sürüm 18.11+ gerektirir): + +`node --watch {{dosya/yolu}}` + +- JavaScript kodunu argüman olarak geçerek değerlendir: + +`node {{[-e|--eval]}} "{{kod}}"` + +- Sonucu değerlendir ve yazdır, Node.js bağımlılıklarının sürümlerini yazdırmak için kullanışlıdır: + +`node {{[-p|--print]}} "process.versions"` + +- Denetleyiciyi etkinleştirerek, kaynak kodu tamamen ayrıştırıldıktan sonra bir hata ayıklayıcı bağlanana kadar yürütmeyi duraklatır: + +`node --no-lazy --inspect-brk {{dosya/yolu}}` diff --git a/pages.tr/common/nodemon.md b/pages.tr/common/nodemon.md new file mode 100644 index 00000000000000..0ae1c8ee721259 --- /dev/null +++ b/pages.tr/common/nodemon.md @@ -0,0 +1,32 @@ +# nodemon + +> Dosyalar değiştirildiğinde Node uygulamasını yeniden başlatmak için dosyaları izler. +> Daha fazla bilgi için: . + +- Verilen dosyayı çalıştırır ve belirtilen dosyadaki değişiklikleri izler: + +`nodemon {{dosya/yolu/dosya.js}}` + +- Nodemon'u el ile yeniden başlatır (not: bu işlem için nodemon zaten aktif olmalıdır): + +`rs` + +- Belirli dosyaları göz ardı eder: + +`nodemon --ignore {{dosya/yolu/dosya_veya_dizin}}` + +- Node uygulamasına argümanlar geçirir: + +`nodemon {{dosya/yolu/dosya.js}} {{argümanlar}}` + +- Zaten Nodemon argümanları değillerse argümanları Node'un kendisine geçirir (örneğin: `--inspect`): + +`nodemon {{argümanlar}} {{dosya/yolu/dosya.js}}` + +- Node olmayan bir komut dosyasını çalıştırır: + +`nodemon --exec "{{komut}} {{seçenekler}}" {{dosya/yolu/komut}}` + +- Python kodunu çalıştırır: + +`nodemon --exec "python {{seçenekler}}" {{dosya/yolu/dosya.py}}` diff --git a/pages.tr/common/npm-install.md b/pages.tr/common/npm-install.md new file mode 100644 index 00000000000000..67c538a3b7d801 --- /dev/null +++ b/pages.tr/common/npm-install.md @@ -0,0 +1,20 @@ +# npm install + +> Node paketleri kurmayı sağlar. +> Daha fazla bilgi için: . + +- `package.json` dosyasında listelenen bağımlılıkları kurar: + +`npm install` + +- Bir paketin spesifik bir versiyonunu indirir ve `package.json` dosyasındaki bağımlılık listesine ekler: + +`npm install {{paket_adı}}@{{versiyon}}` + +- Paketin son sürümünü indirir ve `package.json` dosyasındaki geliştirme bağımlılık listesine ekler: + +`npm install {{paket_adı}} {{-D|--save-dev}}` + +- Paketin son sürümünü indirir ve global olarak kurar: + +`npm install {{-g|--global}} {{paket_adı}}` diff --git a/pages.tr/common/npm-run.md b/pages.tr/common/npm-run.md new file mode 100644 index 00000000000000..094746bcfe3dac --- /dev/null +++ b/pages.tr/common/npm-run.md @@ -0,0 +1,28 @@ +# npm run + +> Komut çalıştırır. +> Daha fazla bilgi için: . + +- Bir komut çalıştırır: + +`npm run {{komut_adı}}` + +- Komuta argüman gönderir: + +`npm run {{komut_adı}} -- {{argüman}} {{--seçenek}}` + +- `start` isimli komudu çalıştırır: + +`npm start` + +- `stop` isimli komudu çalıştırır: + +`npm stop` + +- `restart` isimli komudu çalıştırır: + +`npm restart` + +- `test` isimli komudu çalıştırır: + +`npm test` diff --git a/pages.tr/common/npm-start.md b/pages.tr/common/npm-start.md new file mode 100644 index 00000000000000..ff9fefe2d3c5f2 --- /dev/null +++ b/pages.tr/common/npm-start.md @@ -0,0 +1,7 @@ +# npm start + +> Bu komut `npm run start` komutunun bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüleyin: + +`tldr npm run` diff --git a/pages.tr/common/npx.md b/pages.tr/common/npx.md new file mode 100644 index 00000000000000..e87c9804cef691 --- /dev/null +++ b/pages.tr/common/npx.md @@ -0,0 +1,24 @@ +# npx + +> `npm` paketlerinden komutlar çalıştırır. +> Daha fazla bilgi için: . + +- Lokal veya uzaktaki bir `npm` paketinden komut çalıştırır: + +`npx {{komut}} {{argüman1 argüman2 ...}}` + +- Aynı isimde birden fazla komut varsa, paketi açıkça belirtmek mümkün: + +`npx --package {{paket}} {{komut}}` + +- Bir komut şu anki dizinde veya `node_modules/.bin` içinde varsa çalıştırır: + +`npx --no-install {{komut}} {{argüman1 argüman2 ...}}` + +- `npx`'in çıktısını gizleyerek belirli bir komutu çalıştırır: + +`npx --quiet {{komut}} {{argüman1 argüman2 ...}}` + +- Yardım görüntüle: + +`npx --help` diff --git a/pages.tr/common/ntl.md b/pages.tr/common/ntl.md new file mode 100644 index 00000000000000..6e3069640bebcb --- /dev/null +++ b/pages.tr/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Bu komut `netlify` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr netlify` diff --git a/pages.tr/common/pio-init.md b/pages.tr/common/pio-init.md new file mode 100644 index 00000000000000..d2b455fc8003ae --- /dev/null +++ b/pages.tr/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Bu komut `pio project` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pio project` diff --git a/pages.tr/common/piodebuggdb.md b/pages.tr/common/piodebuggdb.md new file mode 100644 index 00000000000000..5437e0cf47eb6c --- /dev/null +++ b/pages.tr/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Bu komut `pio debug` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pio debug` diff --git a/pages.tr/common/platformio.md b/pages.tr/common/platformio.md new file mode 100644 index 00000000000000..e809acb69d0032 --- /dev/null +++ b/pages.tr/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Bu komut `pio` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pio` diff --git a/pages.tr/common/ptpython3.md b/pages.tr/common/ptpython3.md new file mode 100644 index 00000000000000..cfe8123f32e9cd --- /dev/null +++ b/pages.tr/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Bu komut `ptpython` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ptpython` diff --git a/pages.tr/common/python3.md b/pages.tr/common/python3.md new file mode 100644 index 00000000000000..14bf60f960aa70 --- /dev/null +++ b/pages.tr/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Bu komut `python` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr python` diff --git a/pages.tr/common/r2.md b/pages.tr/common/r2.md new file mode 100644 index 00000000000000..b2a30e39ffdffe --- /dev/null +++ b/pages.tr/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Bu komut `radare2` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr radare2` diff --git a/pages.tr/common/rcat.md b/pages.tr/common/rcat.md new file mode 100644 index 00000000000000..c742983411b21b --- /dev/null +++ b/pages.tr/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Bu komut `rc` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr rc` diff --git a/pages.tr/common/rg.md b/pages.tr/common/rg.md new file mode 100644 index 00000000000000..101dd9a2795cf1 --- /dev/null +++ b/pages.tr/common/rg.md @@ -0,0 +1,37 @@ +# rg + +> Ripgrep, yinelemeli satır-odaklı bir CLI arama aracıdır. +> Grep'e daha hızlı bir alternatif olmayı hedefler. +> Daha fazla bilgi için: . + +- Normal bir ifade için geçerli dizini yinelemeli olarak ara: + +`rg {{normal_ifade}}` + +- Geçerli dizinde, gizli dosyalar ve ".gitignore" da listelenen dosyalar dahil olmak üzere normal ifadeleri yinelemeli olarak ara: + +`rg --no-ignore --hidden {{normal_ifade}}` + +- Normal ifadeyi yalnızca bir dizin alt kümesinde ara: + +`rg {{normal_ifade}} {{dizin_alt_kümesi}}` + +- Bir glob ile eşleşen dosyalarda normal bir ifade ara (örn: `README.*`): + +`rg {{normal_ifade}} --glob {{glob}}` + +- Normal bir ifadeyle eşleşen dosya adlarını ara: + +`rg --files | rg {{normal_ifade}}` + +- Yalnızca eşleşen dosyaları listele (diğer komutlara yönlendirirken kullanışlıdır): + +`rg --files-with-matches {{normal_ifade}}` + +- Verilen normal ifadeyle eşleşmeyen satırları göster: + +`rg --invert-match {{normal_ifade}}` + +- Bir değişmez dizi deseni için arama yap: + +`rg --fixed-strings -- {{dizi}}` diff --git a/pages.tr/common/tar.md b/pages.tr/common/tar.md new file mode 100644 index 00000000000000..124731427aea74 --- /dev/null +++ b/pages.tr/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> Arşivleme aracı. +> Dosyalar genellikle gzip veya bzip2 gibi bir sıkıştırma yöntemiyle birleştirilir. +> Daha fazla bilgi için: . + +- Bir arşiv oluştur ve dosyaya yaz: + +`tar cf {{hedef.tar}} {{dosya1 dosya2 ...}}` + +- Bir gzip arşivi oluştur ve dosyaya yaz: + +`tar czf {{hedef.tar.gz}} {{dosya1 dosya2 ...}}` + +- Göreceli yolları kullanarak bir gzip arşivi oluştur: + +`tar czf {{hedef.tar.gz}} {{[-C|--directory]}} {{dizin/yolu}} .` + +- Sıkıştırılmış bir arşiv dosyasını geçerli dizine ayrıntılı şekilde çıkar: + +`tar xvf {{kaynak.tar[.gz|.bz2|.xz]}}` + +- Sıkıştırılmış bir arşiv dosyasını hedef dizine çıkar: + +`tar xf {{kaynak.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{dizin}}` + +- Sıkıştırılmış bir arşiv oluştur ve sıkıştırma yöntemini seçmek için arşiv sonekini kullan: + +`tar caf {{hedef.tar.xz}} {{dosya1 dosya2 ...}}` + +- Bir tar arşivinin içeriğini ayrıntılı olarak listele: + +`tar tvf {{kaynak.tar}}` + +- Şablonla eşleşen dosyaları arşivden çıkar: + +`tar xf {{kaynak.tar}} --wildcards "{{*.html}}"` diff --git a/pages.tr/common/tldr-lint.md b/pages.tr/common/tldr-lint.md new file mode 100644 index 00000000000000..ef4e29b9c21bf5 --- /dev/null +++ b/pages.tr/common/tldr-lint.md @@ -0,0 +1,16 @@ +# tldr-lint + +> `tldr` sayfalarını gözden geçir ve biçimlendir. +> Daha fazla bilgi için: . + +- Tüm sayfaları gözden geçir: + +`tldr-lint {{sayfa_dizini}}` + +- Belirtilmiş bir sayfayı `stdout`'a biçimlendir: + +`tldr-lint --format {{page.md}}` + +- Bir konumdaki tüm sayfaları biçimlendir: + +`tldr-lint --format --in-place {{sayfa_dizini}}` diff --git a/pages.tr/common/tldr.md b/pages.tr/common/tldr.md new file mode 100644 index 00000000000000..9cf70ff52eadb4 --- /dev/null +++ b/pages.tr/common/tldr.md @@ -0,0 +1,20 @@ +# tldr + +> Komut satırı araçları için tldr-pages projesinden basit yardım sayfaları görüntüler. +> Daha fazla bilgi için: . + +- Bir komutun tipik kullanımını göster (ipucu: burayı görüntülemek için kullandığınız komutun aynısı!): + +`tldr {{komut}}` + +- Linux için tar tldr sayfasını göster: + +`tldr {{[-p|--platform]}} {{linux}} {{tar}}` + +- Bir Git alt komutu için yardım al: + +`tldr {{git-checkout}}` + +- (Eğer alıcı önbellek oluşumunu destekliyorsa) Yerel paketleri güncelle: + +`tldr {{[-u|--update]}}` diff --git a/pages.tr/common/tldrl.md b/pages.tr/common/tldrl.md new file mode 100644 index 00000000000000..c9b54dfbdaee42 --- /dev/null +++ b/pages.tr/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> `tldr-lint` komutunun aynısı. + +- Orijinal komut için yardım sayfasını göster: + +`tldr tldr-lint` diff --git a/pages.tr/common/tlmgr-arch.md b/pages.tr/common/tlmgr-arch.md new file mode 100644 index 00000000000000..46b42ba103fee5 --- /dev/null +++ b/pages.tr/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Bu komut `tlmgr platform` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr tlmgr platform` diff --git a/pages.tr/common/tree.md b/pages.tr/common/tree.md new file mode 100644 index 00000000000000..898f58bf3360ea --- /dev/null +++ b/pages.tr/common/tree.md @@ -0,0 +1,36 @@ +# tree + +> Mevcut dizinin içeriğini ağaç biçiminde göster. +> Daha fazla bilgi için: . + +- Dosya ve dizinleri `num` değeri kadar derinlikte göster (1 olması durumunda mevcut dizin gösterilir): + +`tree -L {{num}}` + +- Yalnızca dizinleri göster: + +`tree -d` + +- Renklendirme açık olacak şekilde gizli dosyaları dahi göster: + +`tree -a -C` + +- Ağacın satırlarını girintiler yerine tüm yolu belirterek göster: + +`tree -i -f` + +- Tüm dosyaların ve dizinlerin eklenerek artan boyutlarını, insanların okuyabileceği bir biçimde göster: + +`tree -s -h --du` + +- Ağaç hiyerarşisi içindeki dosyaları bir wildcard (glob) kalıbı kullanarak ve aranan özellikteki dosyalara sahip olmayan dizinleri yoksayarak göster: + +`tree -P '{{*.txt}}' --prune` + +- Ağaç hiyerarşisi içindeki dizinleri bir wildcard (glob) kalıbı kullanarak ve istenen dizine atalığı olmayan dizinleri yoksayarak göster: + +`tree -P {{dizin_ismi}} --matchdirs --prune` + +- Ağacı belirtilen dizinleri yoksayarak göster: + +`tree -I '{{dizin_ismi1|dizin_ismi2}}'` diff --git a/pages.tr/common/unlzma.md b/pages.tr/common/unlzma.md new file mode 100644 index 00000000000000..b79019b5dce0ee --- /dev/null +++ b/pages.tr/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Bu komut `xz` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr xz` diff --git a/pages.tr/common/unxz.md b/pages.tr/common/unxz.md new file mode 100644 index 00000000000000..8ef71af1682f28 --- /dev/null +++ b/pages.tr/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Bu komut `xz` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr xz` diff --git a/pages.tr/common/vi.md b/pages.tr/common/vi.md new file mode 100644 index 00000000000000..c0196322f76303 --- /dev/null +++ b/pages.tr/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Bu komut `vim` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr vim` diff --git a/pages.tr/common/xzcat.md b/pages.tr/common/xzcat.md new file mode 100644 index 00000000000000..e76c865f46498c --- /dev/null +++ b/pages.tr/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Bu komut `xz` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr xz` diff --git a/pages.tr/common/yes.md b/pages.tr/common/yes.md new file mode 100644 index 00000000000000..e90380feae3897 --- /dev/null +++ b/pages.tr/common/yes.md @@ -0,0 +1,17 @@ +# yes + +> Bir şeyi tekrar tekrar yazdır. +> Bu komut genelde yükleme işlemleri sırasında onay için yes yazmak için kullanılır (`apt-get` gibi). +> Daha fazla bilgi için: . + +- Tekrar tekrar "mesaj" yazdır: + +`yes {{mesaj}}` + +- Tekrar tekrar "y" yazdır: + +`yes` + +- `apt-get` komutu tarafından sorulan her şeyi kabul et: + +`yes | sudo apt-get install {{program}}` diff --git a/pages.tr/linux/a2disconf.md b/pages.tr/linux/a2disconf.md new file mode 100644 index 00000000000000..84a19964692e2c --- /dev/null +++ b/pages.tr/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Debian tabanlı işletim sistemlerinde Apache konfigürasyon dosyasını devre dışı bırak. +> Daha fazla bilgi için: . + +- Bir konfigürasyon dosyasını devre dışı bırak: + +`sudo a2disconf {{konfigürasyon_dosyası}}` + +- Bilgilendirici mesajı gösterme: + +`sudo a2disconf --quiet {{konfigürasyon_dosyası}}` diff --git a/pages.tr/linux/a2dismod.md b/pages.tr/linux/a2dismod.md new file mode 100644 index 00000000000000..95dfad043fb841 --- /dev/null +++ b/pages.tr/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Debian tabanlı işletim sistemlerinde bir Apache modülünü devre dışı bırak. +> Daha fazla bilgi için: . + +- Bir modülü devre dışı bırak: + +`sudo a2dismod {{modül}}` + +- Bilgilendirici mesajları gösterme: + +`sudo a2dismod --quiet {{module}}` diff --git a/pages.tr/linux/a2dissite.md b/pages.tr/linux/a2dissite.md new file mode 100644 index 00000000000000..26f446b088fcc3 --- /dev/null +++ b/pages.tr/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Debian tabanlı işletim sistemlerinde bir Apache sanal hostunu devre dışı bırak. +> Daha fazla bilgi için: . + +- Uzak hostu devre dışı bırak: + +`sudo a2dissite {{sanal_host}}` + +- Bilgilendirici mesajları gösterme: + +`sudo a2dissite --quiet {{sanal_host}}` diff --git a/pages.tr/linux/a2enconf.md b/pages.tr/linux/a2enconf.md new file mode 100644 index 00000000000000..07bbfc710708e5 --- /dev/null +++ b/pages.tr/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Debian tabanlı işletim sistemlerinde Apache konfigürasyon dosyasını etkinleştir. +> Daha fazla bilgi için: . + +- Bir konfigürasyon dosyasını etkinleştir: + +`sudo a2enconf {{konfigürasyon_dosyası}}` + +- Bilgilendirici mesajları gösterme: + +`sudo a2enconf --quiet {{konfigürasyon_dosyası}}` diff --git a/pages.tr/linux/a2enmod.md b/pages.tr/linux/a2enmod.md new file mode 100644 index 00000000000000..9bd868c703785a --- /dev/null +++ b/pages.tr/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Debian tabanlı işletim sistemlerinde Apache modülünü etkinleştir. +> Daha fazla bilgi için: . + +- Bir modülü etkinleştir: + +`sudo a2enmod {{modül}}` + +- Bilgilendirici mesajları gösterme: + +`sudo a2enmod --quiet {{modül}}` diff --git a/pages.tr/linux/a2ensite.md b/pages.tr/linux/a2ensite.md new file mode 100644 index 00000000000000..fd0d8e41bdd5cd --- /dev/null +++ b/pages.tr/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Debian tabanlı işletim sistemlerinde Apache sanal hostu etkinleştir. +> Daha fazla bilgi için: . + +- Bir sanal hostu etkinleştir: + +`sudo a2ensite {{sanal_host}}` + +- Bilgilendirici mesajları gösterme: + +`sudo a2ensite --quiet {{sanal_host}}` diff --git a/pages.tr/linux/a2query.md b/pages.tr/linux/a2query.md new file mode 100644 index 00000000000000..4578c57a3cadf9 --- /dev/null +++ b/pages.tr/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Apache ve Debian tabanlı işletim sistemlerinde çalışma süresi yapılandırmasını kurtar. +> Daha fazla bilgi için: . + +- Etkinleştirilmiş Apache modüllerini sırala: + +`sudo a2query -m` + +- Belirtilen modülün indirilip indirilmediğini kontrol et: + +`sudo a2query -m {{modül_ismi}}` + +- Etkinleştirilmiş sanal hostları sırala: + +`sudo a2query -s` + +- Mevcut etkinleştirilmiş Çoklu İşlem Modülü'nü görüntüle: + +`sudo a2query -M` + +- Apache sürümünü görüntüle: + +`sudo a2query -v` diff --git a/pages.tr/linux/adduser.md b/pages.tr/linux/adduser.md new file mode 100644 index 00000000000000..acda28dc8507d7 --- /dev/null +++ b/pages.tr/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> Kullanıcı ekleme yardımcısı +> Daha fazla bilgi için: . + +- Varsayılan ev diziniyle yeni bir kullanıcı oluşturun ve kullanıcının bir parola belirlemesini isteyin: + +`adduser {{kullanıcı_adı}}` + +- Ev dizini oluşturmadan yeni bir kullanıcı oluşturun: + +`adduser --no-create-home {{kullanıcı_adı}}` + +- Özel ev dizini yolunuzu kullanarak bir kullanıcı oluşturun: + +`adduser --home {{ev/dizini/yolu}} {{kullanıcı_adı}}` + +- Özel bir kabuğu giriş kabuğu olarak ayarlayarak bir kullanıcı oluşturun: + +`adduser --shell {{kabuk/yolu}} {{kullanıcı_adı}}` + +- Belirtilen gruba dahil olacak şekilde bir kullanıcı oluşturun: + +`adduser --ingroup {{grup}} {{kullanıcı_adı}}` diff --git a/pages.tr/linux/alternatives.md b/pages.tr/linux/alternatives.md new file mode 100644 index 00000000000000..9f397fb07c3cdb --- /dev/null +++ b/pages.tr/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Bu komut `update-alternatives` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr update-alternatives` diff --git a/pages.tr/linux/apt-get.md b/pages.tr/linux/apt-get.md index 89b7411a9218ea..0590c0e456c040 100644 --- a/pages.tr/linux/apt-get.md +++ b/pages.tr/linux/apt-get.md @@ -2,8 +2,9 @@ > Debian ve Ubuntu paket yönetim aracı. > Paket aramak için `apt-cache` komutunu kullanın. +> Daha fazla bilgi için: . -- Kullanılabilir paket ve versiyon listesini güncelleyin (diğer `apt-get` komutlarını çalıştırmadan önce kullanmanız önerilir) +- Kullanılabilir paket ve versiyon listesini güncelleyin (diğer `apt-get` komutlarını çalıştırmadan önce kullanmanız önerilir): `apt-get update` diff --git a/pages.tr/linux/apt.md b/pages.tr/linux/apt.md new file mode 100644 index 00000000000000..aa174e056ee3bd --- /dev/null +++ b/pages.tr/linux/apt.md @@ -0,0 +1,37 @@ +# apt + +> Debian tabanlı dağıtımlar için paket yönetim aracı. +> Ubuntu 16.04 ve sonraki sürümlerde interaktif kullanıldığında `apt-get` için önerilen değiştirme. +> Daha fazla bilgi için: . + +- Kullanılabilir paket ve versiyonların listesini yenile (Bu komutu diğer `apt` komutlarından önce kullanmanız önerilir): + +`sudo apt update` + +- Belirli bir paketi arayın: + +`apt search {{paket}}` + +- Bir paketin bilgilerini gösterin: + +`apt show {{paket}}` + +- Bir paket kurun veya mevcut en son sürüme güncelleyin: + +`sudo apt install {{paket}}` + +- Bir paketi kaldırın (bunun için "purge" kullanmak, yapılandırma dosyalarını da kaldırır): + +`sudo apt remove {{paket}}` + +- Kurulu tüm paketleri mevcut en yeni sürümlerine yükseltin: + +`sudo apt upgrade` + +- Tüm paketleri listeleyin: + +`apt list` + +- Kurulu paketleri listeleyin: + +`apt list {{[-i|--installed]}}` diff --git a/pages.tr/linux/aptitude.md b/pages.tr/linux/aptitude.md index f619f735a9c244..db35e651b497b9 100644 --- a/pages.tr/linux/aptitude.md +++ b/pages.tr/linux/aptitude.md @@ -1,6 +1,7 @@ # aptitude > Debian ve Ubuntu paket yönetim aracı. +> Daha fazla bilgi için: . - Kullanılabilir paket ve sürüm listesini senkronize et. Bu, herhangi bir aptitude komutunu uygulamadan önce çalıştırılmalıdır: diff --git a/pages.tr/linux/batcat.md b/pages.tr/linux/batcat.md new file mode 100644 index 00000000000000..874ea2c8f11d25 --- /dev/null +++ b/pages.tr/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Bu komut `bat` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr bat` diff --git a/pages.tr/linux/brightnessctl.md b/pages.tr/linux/brightnessctl.md new file mode 100644 index 00000000000000..c2df55ed905dc3 --- /dev/null +++ b/pages.tr/linux/brightnessctl.md @@ -0,0 +1,24 @@ +# brightnessctl + +> Linux işletim sistemlerinde cihaz parlaklığını okumak ve kontrol etmek için yardımcı program. +> Daha fazla bilgi için: . + +- Değiştirilebilir parlaklığa sahip cihazları listele: + +`brightnessctl {{[-l|--list]}}` + +- Ekran arka ışığının şu andaki seviyesini yazdır: + +`brightnessctl get` + +- Ekran parlaklığını belli bir aralık dahilinde belirli yüzdeye eşitle: + +`brightnessctl set {{50%}}` + +- Parlaklığı belirli bir seviyede artır: + +`brightnessctl set {{+10%}}` + +- Parlaklığı belirli bir seviyede düşür: + +`brightnessctl set {{10%-}}` diff --git a/pages.tr/linux/cc.md b/pages.tr/linux/cc.md new file mode 100644 index 00000000000000..381145bfec8bea --- /dev/null +++ b/pages.tr/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Bu komut `gcc` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr gcc` diff --git a/pages.tr/linux/dnf-builddep.md b/pages.tr/linux/dnf-builddep.md new file mode 100644 index 00000000000000..545ac6b7cf8835 --- /dev/null +++ b/pages.tr/linux/dnf-builddep.md @@ -0,0 +1,30 @@ +# dnf builddep + +> Belirli bir paketi derlemek için gerekli bağımlılıkları kurmak için kullanılır. +> Varsayılan olarak `dnf` ile gelmez, `dnf-plugins-core` ile desteklenir. +> Ayrıca bakınız: `dnf`. +> Daha fazla bilgi için: . + +- Belirli bir paket için bağımlılıkları kur: + +`dnf builddep {{yol/tanım.spec}}` + +- Belirli bir paket için bağımlılıkları kur, mevcut olmayanları yok say: + +`dnf builddep --skip-unavailable {{yol/tanım.spec}}` + +- RPM makrosunu belirli bir ifadeye ayarla: + +`dnf builddep {{[-D|--define]}} '{{ifade}}'` + +- `.spec` dosya yolu için bir argüman tanımla: + +`dnf builddep --spec {{argüman}}` + +- `.rpm` dosya yolu için bir argüman tanımla: + +`dnf builddep --srpm {{argüman}}` + +- Yardımı görüntüle: + +`dnf builddep --help-cmd` diff --git a/pages.tr/linux/dnf-changelog.md b/pages.tr/linux/dnf-changelog.md new file mode 100644 index 00000000000000..8b695c501ff40e --- /dev/null +++ b/pages.tr/linux/dnf-changelog.md @@ -0,0 +1,26 @@ +# dnf changelog + +> Belirli bir paketin değişiklik kayıtlarını görüntülemek için kullanılır. +> Varsayılan olarak `dnf` ile gelmez, `dnf-plugins-core` ile desteklenir. +> Ayrıca bakınız: `dnf`. +> Daha fazla bilgi için: . + +- Belirli bir paketin tüm değişiklik kayıtlarını görüntüle: + +`dnf changelog {{paket}}` + +- Belirli bir paketin, belirli bir tarihten sonraki tüm değişiklik kayıtlarını görüntüle: + +`dnf changelog --since {{tarih}} {{paket}}` + +- Belirli bir paketin son `n` değişiklik kaydını görüntüle: + +`dnf changelog --count {{sayi}} {{paket}}` + +- Yalnızca yükseltilebilir paketler için yeni öğeleri göster: + +`dnf changelog --upgrades {{paket}}` + +- Yardımı görüntüle: + +`dnf changelog --help-cmd` diff --git a/pages.tr/linux/dnf-config-manager.md b/pages.tr/linux/dnf-config-manager.md new file mode 100644 index 00000000000000..6dd99aa229bc0e --- /dev/null +++ b/pages.tr/linux/dnf-config-manager.md @@ -0,0 +1,30 @@ +# dnf config-manager + +> Fedora tabanlı sistemlerde DNF yapılandırma seçeneklerini ve depoları yönetmek için kullanılır. +> Varsayılan olarak `dnf` ile gelmez, `dnf-plugins-core` ile desteklenir. +> Ayrıca bakınız: `dnf`. +> Daha fazla bilgi için: . + +- Bir URL'den depo ekle (ve etkinleştir): + +`dnf config-manager --add-repo={{repository_url}}` + +- Mevcut yapılandırma değerlerini yazdır: + +`dnf config-manager --dump` + +- Belirli bir depoyu etkinleştir: + +`dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}` + +- Belirtilen depoları devre dışı bırak: + +`dnf config-manager {{[--disable|--set-disabled]}} {{repository_id1 repository_id2 ...}}` + +- Bir depo için yapılandırma seçeneği ayarla: + +`dnf config-manager --setopt={{option}}={{value}}` + +- Yardımı görüntüle: + +`dnf config-manager --help-cmd` diff --git a/pages.tr/linux/dnf-deplist.md b/pages.tr/linux/dnf-deplist.md new file mode 100644 index 00000000000000..d06953399b416e --- /dev/null +++ b/pages.tr/linux/dnf-deplist.md @@ -0,0 +1,7 @@ +# dnf deplist + +> Bu komut `dnf repoquery --deplist` için bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr dnf repoquery` diff --git a/pages.tr/linux/dnf-download.md b/pages.tr/linux/dnf-download.md new file mode 100644 index 00000000000000..17899ec763c843 --- /dev/null +++ b/pages.tr/linux/dnf-download.md @@ -0,0 +1,18 @@ +# dnf download + +> DNF depolarından RPM paketlerini indirir. +> Varsayılan olarak `dnf` ile gelmez, `dnf-plugins-core` ile desteklenir. +> Ayrıca bakınız: `dnf`. +> Daha fazla bilgi için: . + +- Bir paketin en son sürümünü mevcut dizine indir: + +`dnf download {{paket}}` + +- Bir paketi belirli bir dizine indir (dizin mevcut olmalıdır): + +`dnf download {{paket}} --destdir {{yol/dizin}}` + +- RPM paketinin indirilebileceği URL'yi yazdır: + +`dnf download --url {{paket}}` diff --git a/pages.tr/linux/dnf-group.md b/pages.tr/linux/dnf-group.md new file mode 100644 index 00000000000000..624acce5a47def --- /dev/null +++ b/pages.tr/linux/dnf-group.md @@ -0,0 +1,24 @@ +# dnf group + +> Fedora tabanlı sistemlerde paketlerin sanal koleksiyonlarını yönetmek için kullanılır. +> Daha fazla bilgi için: . + +- DNF gruplarını listele, kurulu ve kurulmamış durumları tabloda göster: + +`dnf {{[grp|group]}} list` + +- DNF grup bilgilerini göster, depo ve isteğe bağlı paketler dahil: + +`dnf {{[grp|group]}} info {{grup_adi}}` + +- DNF grubunu kur: + +`dnf {{[grp|group]}} install {{grup_adi}}` + +- DNF grubunu kaldır: + +`dnf {{[grp|group]}} remove {{grup_adi}}` + +- DNF grubunu yükselt: + +`dnf {{[grp|group]}} upgrade {{grup_adi}}` diff --git a/pages.tr/linux/dnf-install.md b/pages.tr/linux/dnf-install.md new file mode 100644 index 00000000000000..2784b3dffd3056 --- /dev/null +++ b/pages.tr/linux/dnf-install.md @@ -0,0 +1,24 @@ +# dnf install + +> Red Hat tabanlı dağıtımlarda paket kurmak için kullanılır. +> Daha fazla bilgi için: . + +- Paketleri ad ile kur: + +`sudo dnf {{[in|install]}} {{paket1 paket2 ...}}` + +- Yerel bir dosyadan paket kur: + +`sudo dnf {{[in|install]}} {{yol/dosya}}` + +- İnternetten bir paket kur: + +`sudo dnf {{[in|install]}} {{https://example.com/package.rpm}}` + +- Extra Packages for Enterprise Linux (EPEL) depolarını ekle: + +`sudo dnf {{[in|install]}} https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{10}}.noarch.rpm` + +- Remi'nin RPM deposunu ekle: + +`sudo dnf {{[in|install]}} https://rpms.remirepo.net/enterprise/remi-release-{{8}}.rpm` diff --git a/pages.tr/linux/dnf-module.md b/pages.tr/linux/dnf-module.md new file mode 100644 index 00000000000000..b4bcba6646a457 --- /dev/null +++ b/pages.tr/linux/dnf-module.md @@ -0,0 +1,20 @@ +# dnf module + +> Paket modülerliğini yönetmek için kullanılır. +> Daha fazla bilgi için: . + +- Modülerlik genel görünümünü göster: + +`dnf module list` + +- Belirli bir programın modülerliğini göster: + +`dnf module list {{paket_adi}}` + +- Bir paketi etkinleştirilecek şekilde ayarla: + +`sudo dnf module enable {{paket_adi}}:{{stream}}` + +- Belirli bir sürümü etkinleştir ve kur: + +`dnf module install {{paket_adi}}:{{stream}}` diff --git a/pages.tr/linux/dnf-repoquery.md b/pages.tr/linux/dnf-repoquery.md new file mode 100644 index 00000000000000..12e4f950027c42 --- /dev/null +++ b/pages.tr/linux/dnf-repoquery.md @@ -0,0 +1,8 @@ +# dnf repoquery + +> Paketler hakkında bilgi sorgulamak için kullanılır. +> Daha fazla bilgi için: . + +- Bir paketin bağımlılıklarını sorgulayın: + +`dnf {{[rq|repoquery]}} --deplist {{paket}}` diff --git a/pages.tr/linux/dnf.md b/pages.tr/linux/dnf.md new file mode 100644 index 00000000000000..3b784440a328a5 --- /dev/null +++ b/pages.tr/linux/dnf.md @@ -0,0 +1,38 @@ +# dnf + +> RHEL, Fedora ve CentOS için paket yönetim aracı (yum'un yerini alır). +> `group` ve `config-manager` gibi bazı alt komutların kendi kullanım dökümantasyonu vardır. +> Diğer paket yöneticilerindeki eşdeğer komutlar için bkz: . +> Daha fazla bilgi için: . + +- Kurulu paketleri mevcut en yeni sürümlere yükselt: + +`sudo dnf {{[up|upgrade]}}` + +- Paketleri anahtar kelimelerle ara: + +`dnf {{[se|search]}} {{anahtar_kelime1 anahtar_kelime2 ...}}` + +- Bir paket hakkında detaylı bilgi göster: + +`dnf {{[if|info]}} {{paket}}` + +- Yeni bir paket kur (`--assumeyes` ile tüm onayları otomatik kabul edebilirsin): + +`sudo dnf {{[in|install]}} {{paket1 paket2 ...}}` + +- Bir paketi kaldır: + +`sudo dnf {{[rm|remove]}} {{paket1 paket2 ...}}` + +- Kurulu paketleri listele: + +`dnf {{[ls|list]}} --installed` + +- Belirli bir komutu sağlayan paketleri bul: + +`dnf {{[wp|provides]}} {{komut}}` + +- Geçmiş tüm işlemleri görüntüle: + +`dnf {{[hist|history]}}` diff --git a/pages.tr/linux/dnf5-group.md b/pages.tr/linux/dnf5-group.md new file mode 100644 index 00000000000000..ee228182126fee --- /dev/null +++ b/pages.tr/linux/dnf5-group.md @@ -0,0 +1,8 @@ +# dnf5 group + +> Bu komut `dnf group` için bir takma addır. +> Not: Fedora 37 ile 40 (dahil) arasında, `dnf` DNF v4 çalıştırırken `dnf5` DNF v5 çalıştırır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr dnf group` diff --git a/pages.tr/linux/dnf5.md b/pages.tr/linux/dnf5.md new file mode 100644 index 00000000000000..cfb31560404479 --- /dev/null +++ b/pages.tr/linux/dnf5.md @@ -0,0 +1,38 @@ +# dnf5 + +> RHEL, Fedora ve CentOS için paket yönetim aracı (dnf'in yerini alır, dnf ise yum'un yerini almıştır). +> DNF5, DNF paket yöneticisinin C++ ile yeniden yazılmış halidir; daha iyi performans ve daha küçük boyut sunar. +> Diğer paket yöneticilerindeki eşdeğer komutlar için bkz: . +> Daha fazla bilgi için: . + +- Kurulu paketleri mevcut en yeni sürümlere yükselt: + +`sudo dnf5 upgrade` + +- Paketleri anahtar kelimelerle ara: + +`dnf5 search {{anahtar_kelime1 anahtar_kelime2 ...}}` + +- Bir paket hakkında detaylı bilgi göster: + +`dnf5 info {{paket}}` + +- Yeni paketler kur (Not: Tüm onayları otomatik kabul etmek için `-y` kullan): + +`sudo dnf5 install {{paket1 paket2 ...}}` + +- 1 Paketleri kaldır: + +`sudo dnf5 remove {{paket1 paket2 ...}}` + +- Kurulu paketleri listele: + +`dnf5 list --installed` + +- Belirli bir komutu sağlayan paketleri bul: + +`dnf5 provides {{komut}}` + +- Önbelleğe alınmış verileri kaldır veya geçersiz kıl: + +`sudo dnf5 clean all` diff --git a/pages.tr/linux/grub-install.md b/pages.tr/linux/grub-install.md new file mode 100644 index 00000000000000..df763b95be7e2b --- /dev/null +++ b/pages.tr/linux/grub-install.md @@ -0,0 +1,28 @@ +# grub-install + +> Bir cihaza GRUB kurun. +> Daha fazla bilgi için: . + +- Bir BIOS sisteme GRUB kurun: + +`sudo grub-install {{cihaz/yolu}}` + +- GRUB'u, bir BIOS sistemine belirtilen mimari ile kurun: + +`sudo grub-install --target {{i386-pc}} {{cihaz/yolu}}` + +- Bir UEFI sisteme GRUB kurun: + +`sudo grub-install --efi-directory {{efi/dizini/yolu}}` + +- GRUB'u, UEFI bir sisteme belirtilen mimari ve belirtilen önyükleme menü yazısı ile kurun: + +`sudo grub-install --target {{x86_64-efi}} --efi-directory {{efi/dizin/yolu}} --bootloader-id {{GRUB}}` + +- GRUB'u, yükleme öncesi özel modüller ile kurun: + +`sudo grub-install --target {{x86_64-efi}} --efi-directory {{efi/dizin/yolu}} --modules "{{part_gpt part_msdos}}"` + +- Yardımı görüntüleyin: + +`grub-install {{[-?|--help]}}` diff --git a/pages.tr/linux/grub-mkconfig.md b/pages.tr/linux/grub-mkconfig.md new file mode 100644 index 00000000000000..2951c4f5d613e1 --- /dev/null +++ b/pages.tr/linux/grub-mkconfig.md @@ -0,0 +1,16 @@ +# grub-mkconfig + +> GRUB yapılandırma dosyası oluşturun. +> Daha fazla bilgi için: . + +- Bir deneme çalıştırması yapın ve yapılandırmayı çıktı olarak yazdırın: + +`sudo grub-mkconfig` + +- Yapılandırma dosyası oluşturun: + +`sudo grub-mkconfig {{[-o|--output]}} {{/boot/grub/grub.cfg}}` + +- Yardımı görüntüleyin: + +`grub-mkconfig {{[-h|--help]}}` diff --git a/pages.tr/linux/grub-reboot.md b/pages.tr/linux/grub-reboot.md new file mode 100644 index 00000000000000..3cc486df17b87b --- /dev/null +++ b/pages.tr/linux/grub-reboot.md @@ -0,0 +1,12 @@ +# grub-reboot + +> GRUB için varsayılan önyükleme girişini ayarlayın, sadece sonraki önyükleme için. +> Daha fazla bilgi için: . + +- Bir sonraki önyükleme için önyükleme girişini bir giriş numarasına, isime veya bir tanımlayıcıya ayarlayın: + +`sudo grub-reboot {{giriş_numarası}}` + +- Bir sonraki önyükleme için alternatif önyükleme dizinin, önyükleme girişini bir giriş numarasına, isime veya bir tanımlayıcıya ayarlayın: + +`sudo grub-reboot --boot-directory /{{önyükleme/dizini/yolu}} {{giriş_numarası}}` diff --git a/pages.tr/linux/grub2-mkpasswd-pbkdf2.md b/pages.tr/linux/grub2-mkpasswd-pbkdf2.md new file mode 100644 index 00000000000000..39ac581b6d267f --- /dev/null +++ b/pages.tr/linux/grub2-mkpasswd-pbkdf2.md @@ -0,0 +1,8 @@ +# grub2-mkpasswd-pbkdf2 + +> GRUB için hashlenmiş parola oluşturun. +> Daha fazla bilgi için: . + +- GRUB2 için PBKDF2 kullanarak parola hash'i oluşturun ve çıktıya yazdırın: + +`sudo grub2-mkpasswd-pbkdf2 {{[-c|--iteration-count]}} {{pbkdf2_yenileme_sayısı}} {{[-s|--salt]}} {{salt_uzunluğu}}` diff --git a/pages.tr/linux/ip-address.md b/pages.tr/linux/ip-address.md new file mode 100644 index 00000000000000..56ac8707dc8767 --- /dev/null +++ b/pages.tr/linux/ip-address.md @@ -0,0 +1,28 @@ +# ip address + +> IP adresi yönetimi alt komutu. +> Daha fazla bilgi için: . + +- Ağ arayüzlerini ve ilişkili IP adreslerini listele: + +`ip {{[a|address]}}` + +- Yalnızca etkin ağ arayüzlerini gösterecek şekilde filtrele: + +`ip {{[a|address]}} {{[s|show]}} up` + +- Belirli bir ağ arayüzü hakkındaki bilgileri görüntüle: + +`ip {{[a|address]}} {{[s|show]}} {{eth0}}` + +- Bir ağ arayüzüne bir IP adresi ekle: + +`sudo ip {{[a|address]}} {{[a|add]}} {{ip_adresi}} dev {{eth0}}` + +- Bir ağ arayüzünden bir IP adresini kaldır: + +`sudo ip {{[a|address]}} {{[d|delete]}} {{ip_adresi}} dev {{eth0}}` + +- Belirli bir kapsamdaki tüm IP adreslerini bir ağ arayüzünden sil: + +`sudo ip {{[a|address]}} {{[f|flush]}} {{eth0}} scope {{global|host|link}}` diff --git a/pages.tr/linux/ip-link.md b/pages.tr/linux/ip-link.md new file mode 100644 index 00000000000000..2d582cbe35de5d --- /dev/null +++ b/pages.tr/linux/ip-link.md @@ -0,0 +1,28 @@ +# ip link + +> Ağ arayüzlerini yönet. +> Daha fazla bilgi için: . + +- Tüm ağ arayüzleriyle ilgili bilgileri göster: + +`ip {{[l|link]}}` + +- Belirli bir ağ arayüzüyle ilgili bilgileri göster: + +`ip {{[l|link]}} {{[sh|show]}} {{ethN}}` + +- Bir ağ arayüzünü etkinleştir veya devre dışı bırak: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{up|down}}` + +- Bir ağ arayüzüne anlamlı bir ad ver: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[al|alias]}} "{{LAN Arayüzü}}"` + +- Bir ağ arayüzünün MAC adresini değiştir: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[a|address]}} {{ff:ff:ff:ff:ff:ff}}` + +- Jumbo çerçeveleri kullanması için bir ağ arayüzünün MTU boyutunu değiştir: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} mtu {{9000}}` diff --git a/pages.tr/linux/ip-neighbour.md b/pages.tr/linux/ip-neighbour.md new file mode 100644 index 00000000000000..f0d7fdeba5d8eb --- /dev/null +++ b/pages.tr/linux/ip-neighbour.md @@ -0,0 +1,24 @@ +# ip neighbour + +> Komşu/ARP tablosu yönetimi IP alt komutu. +> Daha fazla bilgi için: . + +- Komşu/ARP tablosu girdilerini görüntüle: + +`ip {{[n|neighbour]}}` + +- `eth0` aygıtının komşu tablosundaki girdileri kaldır: + +`sudo ip {{[n|neighbour]}} {{[f|flush]}} dev {{eth0}}` + +- Bir komşu araması gerçekleştir ve bir komşu girdisi döndür: + +`ip {{[n|neighbour]}} {{[g|get]}} {{aranacak_ip}} dev {{eth0}}` + +- `eth0` arayüzüne komşu IP adresi için bir ARP girdisi ekle veya sil: + +`sudo ip {{[n|neighbour]}} {{add|delete}} {{ip_adresi}} lladdr {{mac_adresi}} dev {{eth0}} nud reachable` + +- `eth0` arayüzünde komşu IP adresi için bir ARP girdisini değiştir: + +`sudo ip {{[n|neighbour]}} {{change|replace}} {{ip_adresi}} lladdr {{yeni_mac_adresi}} dev {{eth0}}` diff --git a/pages.tr/linux/ip-route-list.md b/pages.tr/linux/ip-route-list.md new file mode 100644 index 00000000000000..5fa57a05c02029 --- /dev/null +++ b/pages.tr/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Bu komut `ip route show`.için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ip route show` diff --git a/pages.tr/linux/ip-route.md b/pages.tr/linux/ip-route.md new file mode 100644 index 00000000000000..ab3342ca10c91c --- /dev/null +++ b/pages.tr/linux/ip-route.md @@ -0,0 +1,32 @@ +# ip route + +> IP yönlendirme tablosu yönetimi alt komutu. +> Daha fazla bilgi için: . + +- Yönlendirme tablosunu görüntüle: + +`ip {{[r|route]}}` + +- Ağ geçidini kullanan öntanımlı bir yönlendirme ekle: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ağ_geçidi_ip_adresi}}` + +- `eth0` arayüzünü kullanan öntanımlı bir yönlendirme ekle: + +`sudo ip {{[r|route]}} {{[a|add]}} default dev {{eth0}}` + +- Statik bir yönlendirme ekle: + +`sudo ip {{[r|route]}} {{[a|add]}} {{hedef_ip_adresi}} via {{ağ_geçidi_ip_adresi}} dev {{eth0}}` + +- Statik bir yönlendirmeyi sil: + +`sudo ip {{[r|route]}} {{[d|delete]}} {{hedef_ip_adresi}} dev {{eth0}}` + +- Statik bir yönlendirmeyi değiştir: + +`sudo ip {{[r|route]}} {{change|replace}} {{hedef_ip_adresi}} via {{ağ_geçidi_ip_adresi}} dev {{eth0}}` + +- Bir IP adresine ulaşmak için çekirdek tarafından hangi yönlendirmenin kullanılacağını göster: + +`ip {{[r|route]}} {{[g|get]}} {{hedef_ip_adresi}}` diff --git a/pages.tr/linux/ip-rule.md b/pages.tr/linux/ip-rule.md new file mode 100644 index 00000000000000..e91f3b18cfdd8a --- /dev/null +++ b/pages.tr/linux/ip-rule.md @@ -0,0 +1,36 @@ +# ip rule + +> IP yönlendirme politikası veri tabanı yönetimi. +> Daha fazla bilgi için: . + +- Yönlendirme politikasını göster: + +`ip {{[ru|rule]}}` + +- Paket kaynak adreslerine dayalı yeni bir kural ekle: + +`sudo ip {{[ru|rule]}} {{[a|add]}} from {{192.168.178.2/32}}` + +- Paket hedef adreslerine dayalı yeni bir kural ekle: + +`sudo ip {{[ru|rule]}} {{[a|add]}} to {{192.168.178.2/32}}` + +- Paket kaynak adreslerine dayalı bir kuralı sil: + +`sudo ip {{[ru|rule]}} {{[d|delete]}} from {{192.168.178.2/32}}` + +- Paket hedef adreslerine dayalı bir kuralı sil: + +`sudo ip {{[ru|rule]}} {{[d|delete]}} to {{192.168.178.2/32}}` + +- Silinen tüm kuralları temizle: + +`sudo ip {{[ru|rule]}} {{[f|flush]}}` + +- Tüm kuralları bir dosyaya kaydet: + +`ip {{[ru|rule]}} {{[s|save]}} > {{ip_kuralları.dat/dosyasının/yolu}}` + +- Tüm kuralları bir dosyadan geri yükle: + +`sudo ip {{[ru|rule]}} {{[r|restore]}} < {{ip_kuralları.dat/dosyasının/yolu}}` diff --git a/pages.tr/linux/ip.md b/pages.tr/linux/ip.md new file mode 100644 index 00000000000000..e0b8dcd5e37cd1 --- /dev/null +++ b/pages.tr/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> Yönlendirmeyi, aygıtları, kural yönlendirmesini ve tünelleri görüntüle / değiştir. +> `address` gibi bazı alt komutların kendi kullanım belgeleri vardır. +> Daha fazla bilgi için: . + +- Arayüzlerin bilgilerini ayrıntılı bir şekilde listele: + +`ip {{[a|address]}}` + +- Arayüzlerin ağ katmanı bilgilerini kısa bir şekilde listele: + +`ip {{[-br a|-brief address]}}` + +- Arayüzlerin bağlantı katmanı bilgilerini kısa bir şekilde listele: + +`ip {{[-br l|-brief link]}}` + +- Yönlendirme tablosunu görüntüle: + +`ip {{[r|route]}}` + +- Komşuları (ARP tablosunu) göster: + +`ip {{[n|neighbour]}}` + +- Bir arayüzü etkinleştir/devre dışı bırak: + +`sudo ip {{[l|link]}} {{[s|set]}} {{arayüz}} {{up|down}}` + +- Bir arayüze IP adresi ekle/sil: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{maske}} dev {{arayüz}}` + +- Öntanımlı yönlendirme ekle: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{arayüz}}` diff --git a/pages.tr/linux/iptables.md b/pages.tr/linux/iptables.md new file mode 100644 index 00000000000000..24cd23942a0d0c --- /dev/null +++ b/pages.tr/linux/iptables.md @@ -0,0 +1,30 @@ +# iptables + +> Linux çekirdek IPv4 güvenlik duvarının; tablolarını, zincirlerini ve kurallarını yapılandırın. +> IPv6 trafiğini ayarlamak için `ip6tables` kullanın. +> Ayrıca bakınız: `iptables-save`, `iptables-restore`. +> Daha fazla bilgi için: . + +- Filtre tablosu için zincirleri, kuralları, paket/bayt sayaçlarını ve satır numaralarını görüntüleyin: + +`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}` + +- Zincir politikası kuralını ayarlayın: + +`sudo iptables {{[-P|--policy]}} {{zincir}} {{kural}}` + +- Verilen kuralı belirtilen IP için zincir politikasına uygulayın: + +`sudo iptables {{[-A|--append]}} {{zincir}} {{[-s|--source]}} {{ip}} {{[-j|--jump]}} {{kural}}` + +- Protokol ve portu dikkate alarak verilen IP için zincir politikasına kural ekle: + +`sudo iptables {{[-A|--append]}} {{zincir}} {{[-s|--source]}} {{ip}} {{[-p|--protocol]}} {{tcp|udp|icmp|...}} --dport {{port}} {{[-j|--jump]}} {{kural}}` + +- `192.168.0.0/24` alt ağından gelen tüm trafiği ana bilgisayarın açık IP adresine yönlendirmek için bir NAT kuralı ekleyin: + +`sudo iptables {{[-t|--table]}} {{nat}} {{[-A|--append]}} {{POSTROUTING}} {{[-s|--source]}} {{192.168.0.0/24}} {{[-j|--jump]}} {{MASQUERADE}}` + +- Zincir kuralını silin: + +`sudo iptables {{[-D|--delete]}} {{zincir}} {{kural_satır_numarası}}` diff --git a/pages.tr/linux/journalctl.md b/pages.tr/linux/journalctl.md new file mode 100644 index 00000000000000..2cb3ca6f45599c --- /dev/null +++ b/pages.tr/linux/journalctl.md @@ -0,0 +1,36 @@ +# journalctl + +> systemd günlüğünü sorgulayın. +> Daha fazla bilgi için: . + +- Kullanılan önyüklemeden 3 öncelik seviyesine sahip tüm mesajları(hataları) gösterin: + +`journalctl {{[-b|--boot]}} {{[-p|--priority]}} 3` + +- 2 günden eski olan günlük kayıtlarını silin: + +`journalctl --vacuum-time 2d` + +- Yeni mesajların sadece son 'n' satırlarını gösterin ve takip edin (geleneksel syslog için `tail -f` benzeri): + +`journalctl {{[-n|--lines]}} {{n}} {{[-f|--follow]}}` + +- Belirli bir birime ait tüm mesajları göster: + +`journalctl {{[-u|--unit]}} {{birim}}` + +- Belirli bir birimin son başlatılmasından bu yana tüm günlük kayıtlarını göster: + +`journalctl _SYSTEMD_INVOCATION_ID=$(systemctl show --value --property=InvocationID {{birim}})` + +- Belirli bir zaman aralığındaki mesajları filtrele (zaman damgası veya "dün" gibi yer tutucular): + +`journalctl {{[-S|--since]}} {{now|today|yesterday|tomorrow}} {{[-U|--until]}} "{{YYYY-MM-DD HH:MM:SS}}"` + +- Belirli bir işleme ait tüm mesajları göster: + +`journalctl _PID={{pid}}` + +- Çalıştırılabilir bir uygulama dosyasından gelen tüm mesajları gösterin: + +`journalctl {{çalıştırabilir/dosya/dizin/yolu}}` diff --git a/pages.tr/linux/lsusb.md b/pages.tr/linux/lsusb.md new file mode 100644 index 00000000000000..a42e05e6f7f910 --- /dev/null +++ b/pages.tr/linux/lsusb.md @@ -0,0 +1,24 @@ +# lsusb + +> USB girişleri ve girişlere bağlı olan cihazlar hakkında bilgi görüntüleyin. +> Daha fazla bilgi için: . + +- Mevcut tüm USB aygıtlarını listeleyin: + +`lsusb` + +- USB aygıtlarını ağaç hiyerarşisi görünümünde listeleyin: + +`lsusb {{[-t|--tree]}}` + +- USB aygıtları hakkında ayrıntılı bilgileri görüntüleyin: + +`lsusb {{[-v|--verbose]}}` + +- Bir USB aygıtı hakkında ayrıntılı bilgileri görüntüleyin: + +`lsusb {{[-v|--verbose]}} -s {{giriş}}:{{cihaz numarası}}` + +- Sadece belirli satıcı ve cihaz ID'sine sahip aygıtları listeleyin: + +`lsusb -d {{satıcı}}:{{cihaz}}` diff --git a/pages.tr/linux/lynis.md b/pages.tr/linux/lynis.md new file mode 100644 index 00000000000000..4b26e97f9c90d1 --- /dev/null +++ b/pages.tr/linux/lynis.md @@ -0,0 +1,16 @@ +# lynis + +> Sistem ve güvenlik denetim aracı. +> Daha fazla bilgi için: . + +- Kullandığınız Lynis sürümünün güncelliğini denetleyin: + +`sudo lynis update info` + +- Sistemde güvenliğinizi denetleyin: + +`sudo lynis audit system` + +- Belirtilen Dockerfile'ın güvenlik denetimini yapın: + +`sudo lynis audit dockerfile {{dockerfile/dizin/yolu}}` diff --git a/pages.tr/linux/megadl.md b/pages.tr/linux/megadl.md new file mode 100644 index 00000000000000..c61afa241d8c94 --- /dev/null +++ b/pages.tr/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Bu komut `megatools-dl` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr megatools-dl` diff --git a/pages.tr/linux/mount.md b/pages.tr/linux/mount.md new file mode 100644 index 00000000000000..dd3b30f6b80b8a --- /dev/null +++ b/pages.tr/linux/mount.md @@ -0,0 +1,36 @@ +# mount + +> Tek bir dizindeki tüm dosya sistemlerine erişin. +> Daha fazla bilgi için: . + +- Bağlı olan tüm dosya sistemlerini görüntüleyin: + +`mount` + +- Bir aygıtı bir dizine bağlayın: + +`mount {{aygıt_dosyası/yolu}} {{hedef_dizin/yolu}}` + +- Bir aygıtı dizine eğer o dizin yoksa oluşturarak bağlayın: + +`mount {{[-m|--mkdir]}} {{aygıt_dosyası/yolu}} {{hedef_dizin/yolu}}` + +- Bir aygıtı bir dizine özel kullanıcı için bağlayın: + +`mount {{[-o|--options]}} uid={{kullanıcı_id}},gid={{grup_id}} {{aygıt_dosyası/yolu}} {{hedef_dizin/yolu}}` + +- Bir CD-ROM aygıtını (dosya tipi ISO9660) `/cdrom`'a bağlayın (salt okunur): + +`mount {{[-t|--types]}} {{iso9660}} {{[-o|--options]}} ro {{/dev/cdrom}} {{/cdrom}}` + +- `/etc/fstab`'da tanımlanmış olan tüm dosya sistemlerini bağlayın: + +`mount {{[-a|--all]}}` + +- `/etc/fstab`'da bahsedilen özel bir dosya sistemini bağlayın (örneğin `/dev/sda1 /my_drive ext2 defaults 0 2`): + +`mount {{/my_drive}}` + +- Bir dizini başka bir dizine bağlayın: + +`mount {{[-B|--bind]}} {{eski_dizin/yolu}} {{yeni_dizin/yolu}}` diff --git a/pages.tr/linux/ncal.md b/pages.tr/linux/ncal.md new file mode 100644 index 00000000000000..76cfefe7fb7d56 --- /dev/null +++ b/pages.tr/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Bu komut `cal` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr cal` diff --git a/pages.tr/linux/ncat.md b/pages.tr/linux/ncat.md new file mode 100644 index 00000000000000..ce7f66d7a72df4 --- /dev/null +++ b/pages.tr/linux/ncat.md @@ -0,0 +1,29 @@ +# ncat + +> Bir ağ üzerinden veriyi okuyun, yazın, yeniden yönlendirin veya şifreleyin. +> `netcat`/`nc` adlı benzer bir yardımcı programın alternatifi. +> Daha fazla bilgi için: . + +- Belirtilen porttaki girdiyi dinle ve belirtilen dosyaya yaz: + +`ncat {{[-l|--listen]}} {{port}} > {{dosya/yolu}}` + +- Çoklu bağlantıları kabul et ve ncat'i bağlantılar kapandıktan sonra da açık tut: + +`ncat {{[-lk|--listen --keep-open]}} {{port}}` + +- Belirtilen dosyanın çıktısını al ve belirtilen bilgisayardaki belirtilen porta yaz: + +`ncat {{bilgisayar}} {{port}} < {{dosya/yolu}}` + +- Trafik içeriğinin tespit edilmesini önleyerek şifreli bir kanalda çoklu bağlantıları kabul edin: + +`ncat --ssl {{[-k|--keep-open]}} {{[-l|--listen]}} {{port}}` + +- Açık `ncat` bağlantısını SSL üzerinden bağlayın: + +`ncat --ssl {{bilgisayar}} {{port}}` + +- Belirli bir bağlantı noktasındaki porta zaman aşımıyla bağlanılabilirliği kontrol edin: + +`ncat {{[-w|--wait]}} {{saniye}} {{[-vz|--verbose -z]}} {{bilgisayar}} {{port}}` diff --git a/pages.tr/linux/nmcli-connection.md b/pages.tr/linux/nmcli-connection.md new file mode 100644 index 00000000000000..0f080744dcd75c --- /dev/null +++ b/pages.tr/linux/nmcli-connection.md @@ -0,0 +1,32 @@ +# nmcli connection + +> NetworkManager ile bağlantı yönetimi. +> Daha fazla bilgi için: . + +- Tüm NetworkManager bağlantılarını listele (ad, UUID, tür ve aygıtı gösterir): + +`nmcli connection` + +- UUID belirterek bağlantıyı etkinleştir: + +`nmcli connection up uuid {{uuid}}` + +- Bağlantıyı devre dışı bırak: + +`nmcli connection down uuid {{uuid}}` + +- IPv4 ve IPv6 otomatik olarak yapılandırılan bir bağlantı oluştur: + +`nmcli connection add ifname {{arayüz_adı}} type {{ethernet}} ipv4.method {{auto}} ipv6.method {{auto}}` + +- Statik bir yalnızca IPv6 bağlantısı oluştur: + +`nmcli connection add ifname {{arayüz_adı}} type {{ethernet}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}` + +- Statik bir yalnızca IPv4 bağlantısı oluştur: + +`nmcli connection add ifname {{arayüz_adı}} type {{ethernet}} ip4 {{10.0.0.7/8}} gw4 {{10.0.0.1}} ipv4.dns {{10.0.0.1}} ipv6.method {{ignore}}` + +- Bir OVPN dosyasından OpenVPN kullanan bir VPN bağlantısı oluştur: + +`nmcli connection import type {{openvpn}} file {{vpn_yapılandırması.ovpn/dosyasının/yolu}}` diff --git a/pages.tr/linux/nmcli-device.md b/pages.tr/linux/nmcli-device.md new file mode 100644 index 00000000000000..3bce9eb4ad42d2 --- /dev/null +++ b/pages.tr/linux/nmcli-device.md @@ -0,0 +1,20 @@ +# nmcli device + +> NetworkManager ile donanım aygıtı yönetimi. +> Daha fazla bilgi için: . + +- Tüm ağ arayüzlerinin durumlarını yazdır: + +`nmcli device status` + +- Kullanılabilir kablosuz erişim noktalarını yazdır: + +`nmcli device wifi` + +- Belirtilen ad ve parola ile kablosuz ağa bağlan: + +`nmcli --ask device wifi connect {{ssid}}` + +- Geçerli kablosuz ağ için parola ve QR kodunu yazdır: + +`nmcli device wifi show-password` diff --git a/pages.tr/linux/nmcli-monitor.md b/pages.tr/linux/nmcli-monitor.md new file mode 100644 index 00000000000000..2f4f0b9f5696fb --- /dev/null +++ b/pages.tr/linux/nmcli-monitor.md @@ -0,0 +1,8 @@ +# nmcli monitor + +> NetworkManager bağlantı durumundaki değişiklikleri izleyin. +> Daha fazla bilgi için: . + +- NetworkManager değişikliklerini izlemeye başla: + +`nmcli monitor` diff --git a/pages.tr/linux/nmcli.md b/pages.tr/linux/nmcli.md new file mode 100644 index 00000000000000..4ebf955b75869b --- /dev/null +++ b/pages.tr/linux/nmcli.md @@ -0,0 +1,21 @@ +# nmcli + +> NetworkManager'ı denetlemek için bir komut satırı aracı. +> `monitor` gibi bazı alt komutların kendi kullanım belgeleri vardır. +> Daha fazla bilgi için: . + +- Bir `nmcli` alt komutunu çalıştır: + +`nmcli {{agent|connection|device|general|help|monitor|networking|radio}} {{komut_seçenekleri}}` + +- Kullanılan NetworkManager sürümünü görüntüle: + +`nmcli --version` + +- Yardımı görüntüle: + +`nmcli --help` + +- Bir alt komut için yardımı görüntüle: + +`nmcli {{alt_komut}} --help` diff --git a/pages.tr/linux/nmtui.md b/pages.tr/linux/nmtui.md new file mode 100644 index 00000000000000..fac2e1ad220432 --- /dev/null +++ b/pages.tr/linux/nmtui.md @@ -0,0 +1,25 @@ +# nmtui + +> NetworkManager'ı denetlemek için metin tabanlı kullanıcı arayüzü. +> Gezinmek için ``, seçmek için `` tuşunu kullanın. +> Daha fazla bilgi için: . + +- Kullanıcı arayüzünü aç: + +`nmtui` + +- Etkinleştirme veya devre dışı bırakma seçeneğiyle birlikte kullanılabilir bağlantıların bir listesini göster: + +`nmtui connect` + +- Belirtilen ağa bağlan: + +`nmtui connect {{ad|uuid|aygıt|SSID}}` + +- Belirtilen ağı düzenle/ekle/sil: + +`nmtui edit {{ad|kimlik}}` + +- Sistem ana makine adını ayarla: + +`nmtui hostname` diff --git a/pages.tr/linux/pacman-d.md b/pages.tr/linux/pacman-d.md new file mode 100644 index 00000000000000..9f10a631c092a4 --- /dev/null +++ b/pages.tr/linux/pacman-d.md @@ -0,0 +1,7 @@ +# pacman -D + +> Bu komut `pacman --database` için bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr pacman database` diff --git a/pages.tr/linux/pacman-database.md b/pages.tr/linux/pacman-database.md new file mode 100644 index 00000000000000..2e39efc79c59e3 --- /dev/null +++ b/pages.tr/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Arch Linux paket veritabanında işlem yapmak için kullanılır. +> Kurulu paketlerin belirli özelliklerini değiştirir. +> Ayrıca bakınız: `pacman`. +> Daha fazla bilgi için: . + +- Bir paketi dolaylı olarak kurulu olarak işaretle: + +`sudo pacman -D --asdeps {{paket}}` + +- Bir paketi açıkça kurulu olarak işaretle: + +`sudo pacman -D --asexplicit {{paket}}` + +- Tüm paket bağımlılıklarının kurulu olduğunu kontrol et: + +`pacman -Dk` + +- Senkronizasyon veritabanını kontrol et ve indirilebilir paketlerin tüm belirtilen bağımlılıklarının mevcut olduğundan emin ol: + +`pacman -Dkk` + +- Sessiz modda kontrol et ve görüntüle (sadece hata mesajları gösterilir): + +`pacman -Dkq` + +- Yardımı görüntüle: + +`pacman -Dh` diff --git a/pages.tr/linux/pacman-deptest.md b/pages.tr/linux/pacman-deptest.md new file mode 100644 index 00000000000000..e28e06859301f7 --- /dev/null +++ b/pages.tr/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> Belirtilen her bağımlılığı kontrol eder ve sistemde henüz karşılanmamış bağımlılıkların bir listesini döndürür. +> Ayrıca bakınız: `pacman`. +> Daha fazla bilgi için: . + +- Kurulu olmayan bağımlılıkların paket adlarını yazdır: + +`pacman -T {{package1 package2 ...}}` + +- Kurulu paketin verilen minimum sürümü karşılayıp karşılamadığını kontrol et: + +`pacman -T "{{bash>=5}}"` + +- Bir paketin daha yeni bir sürümünün kurulu olup olmadığını kontrol et: + +`pacman -T "{{bash>5}}"` + +- Yardımı görüntüle: + +`pacman -Th` diff --git a/pages.tr/linux/pacman-f.md b/pages.tr/linux/pacman-f.md new file mode 100644 index 00000000000000..71996c80a74392 --- /dev/null +++ b/pages.tr/linux/pacman-f.md @@ -0,0 +1,7 @@ +# pacman -F + +> Bu komut `pacman --files` için bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr pacman files` diff --git a/pages.tr/linux/pacman-files.md b/pages.tr/linux/pacman-files.md new file mode 100644 index 00000000000000..be86aa47c3350e --- /dev/null +++ b/pages.tr/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Arch Linux paket yöneticisi aracı. +> Ayrıca bakınız: `pacman`, `pkgfile`. +> Daha fazla bilgi için: . + +- Paket veritabanını güncelle: + +`sudo pacman -Fy` + +- Belirli bir Dosya'ya sahip paketi bul: + +`pacman -F {{dosya_adi}}` + +- Belirli bir Dosya'ya sahip paketi, bir `rege[x]` kullanarak bul: + +`pacman -Fx '{{regex}}'` + +- Sadece paket adlarını listele: + +`pacman -Fq {{dosya_adi}}` + +- Belirli bir pakete ait Dosyaları \[l]istele: + +`pacman -Fl {{paket}}` + +- Yardımı görüntüle: + +`pacman -Fh` diff --git a/pages.tr/linux/pacman-key.md b/pages.tr/linux/pacman-key.md new file mode 100644 index 00000000000000..1e3c37e1a8ec33 --- /dev/null +++ b/pages.tr/linux/pacman-key.md @@ -0,0 +1,37 @@ +# pacman-key + +> pacman'ın anahtar zincirini yönetmek için kullanılan GnuPG sarmalayıcı betiği. +> Ayrıca bakınız: `pacman`. +> Daha fazla bilgi için: . + +- `pacman` anahtar zincirini başlat: + +`sudo pacman-key --init` + +- Varsayılan Arch Linux anahtarlarını ekle: + +`sudo pacman-key --populate` + +- Açık anahtar zincirindeki anahtarları listele: + +`pacman-key {{[-l|--list-keys]}}` + +- Belirtilen anahtarları ekle: + +`sudo pacman-key {{[-a|--add]}} {{yol/anahtar_dosyasi.gpg}}` + +- Bir anahtarı anahtar sunucusundan al: + +`sudo pacman-key {{[-r|--recv-keys]}} "{{uid|isim|email}}"` + +- Belirli bir anahtarın parmak izini yazdır: + +`pacman-key {{[-f|--finger]}} "{{uid|isim|email}}"` + +- İçe aktarılan anahtarı yerel olarak imzala: + +`sudo pacman-key --lsign-key "{{uid|isim|email}}"` + +- Belirli bir anahtarı kaldır: + +`sudo pacman-key {{[-d|--delete]}} "{{uid|isim|email}}"` diff --git a/pages.tr/linux/pacman-mirrors.md b/pages.tr/linux/pacman-mirrors.md new file mode 100644 index 00000000000000..fb82577b2cb02f --- /dev/null +++ b/pages.tr/linux/pacman-mirrors.md @@ -0,0 +1,26 @@ +# pacman-mirrors + +> Manjaro Linux için pacman aynalistesi oluşturucu. +> pacman-mirrors'ın çalıştırıldığı her vakit, E`sudo pacman -Syyu` komutu ile veritabanının senkronize edilmesi ve sistemin güncellenmesi gerekir. +> Ayrıca bakınız: `pacman`. +> Daha fazla bilgi için: . + +- Varsayılan ayarlar ile bir aynalistesi oluştur: + +`sudo pacman-mirrors --fasttrack` + +- Mevcut aynaların durumunu göster: + +`pacman-mirrors --status` + +- Mevcut dalı göster: + +`pacman-mirrors --get-branch` + +- Farklı bir dala geç: + +`sudo pacman-mirrors --api --set-branch {{stabil|instabil|test_ediliyor}}` + +- Sadece IP adresinin bulunduğu ülkenin aynalarını kullanarak bir aynalistesi oluştur: + +`sudo pacman-mirrors --geoip` diff --git a/pages.tr/linux/pacman-q.md b/pages.tr/linux/pacman-q.md new file mode 100644 index 00000000000000..209790431ecab2 --- /dev/null +++ b/pages.tr/linux/pacman-q.md @@ -0,0 +1,7 @@ +# pacman -Q + +> Bu komut `pacman --query` için bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr pacman query` diff --git a/pages.tr/linux/pacman-query.md b/pages.tr/linux/pacman-query.md new file mode 100644 index 00000000000000..03478ab1b78bec --- /dev/null +++ b/pages.tr/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Arch Linux paket yönetim aracı. +> Ayrıca bakınız: `pacman`. +> Daha fazla bilgi için: . + +- Yüklenmiş paket ve sürümleri sırala: + +`pacman --query` + +- Sadece özellikle indirilmiş paket ve sürümleri sırala: + +`pacman --query --explicit` + +- Hangi paketin belirtilen dosyaya sahip olduğunu bul: + +`pacman --query --owns {{dosya_ismi}}` + +- İndirilmiş bir pakete dair bilgiyi görüntüle: + +`pacman --query --info {{paket_ismi}}` + +- Bir paketin içerdiği dosyaları sırala: + +`pacman --query --list {{paket_ismi}}` + +- Yetim (başka bir pakete bağlılık olarak indirilmiş ancak herhangi bir paket tarafından gerektirilmeyen) paketleri sırala: + +`pacman --query --unrequired --deps --quiet` + +- Mevcut depolarda bulunmayan, indirilmiş paketleri sırala: + +`pacman --query --foreign` + +- Miadı dolmuş paketleri sırala: + +`pacman --query --upgrades` diff --git a/pages.tr/linux/pacman-r.md b/pages.tr/linux/pacman-r.md new file mode 100644 index 00000000000000..a81c1e1c47fa1f --- /dev/null +++ b/pages.tr/linux/pacman-r.md @@ -0,0 +1,7 @@ +# pacman -R + +> Bu komut `pacman --remove` için bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr pacman remove` diff --git a/pages.tr/linux/pacman-remove.md b/pages.tr/linux/pacman-remove.md new file mode 100644 index 00000000000000..ece917482e01b8 --- /dev/null +++ b/pages.tr/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Arch Linux paket yönetim aracı. +> Ayrıca bakınız: `pacman`. +> Daha fazla bilgi için: . + +- Bir paket ve bağlılıklarını sil: + +`sudo pacman --remove --recursive {{paket_ismi}}` + +- Bir paketi ve onun hem bağlılıklarını, hem de konfigürasyon dosyalarını sil: + +`sudo pacman --remove --recursive --nosave {{paket_ismi}}` + +- Bir paketi telkin olmaksızın sil: + +`sudo pacman --remove --noconfirm {{paket_ismi}}` + +- Yetim (başka bir pakete bağlılık olarak indirilmiş ancak herhangi bir paket tarafından gerektirilmeyen) paketleri sil: + +`sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)` + +- Bir paketi ve ona bağlı olan tüm öbür paketleri sil: + +`sudo pacman --remove --cascade {{paket_ismi}}` + +- (Bir paketin silinme durumunda) Etkilenecek paketleri (silmeden) listele: + +`pacman --remove --print {{paket_ismi}}` + +- Bu alt komut için yardım göster: + +`pacman --remove --help` diff --git a/pages.tr/linux/pacman-s.md b/pages.tr/linux/pacman-s.md new file mode 100644 index 00000000000000..82ebfb8ae611f9 --- /dev/null +++ b/pages.tr/linux/pacman-s.md @@ -0,0 +1,7 @@ +# pacman -S + +> Bu komut `pacman --sync` için bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr pacman sync` diff --git a/pages.tr/linux/pacman-sync.md b/pages.tr/linux/pacman-sync.md new file mode 100644 index 00000000000000..581a3cc454fbcc --- /dev/null +++ b/pages.tr/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Arch Linux paket yönetim aracı. +> Ayrıca bakınız: `pacman`. +> Daha fazla bilgi için: . + +- Yeni bir paket indir: + +`sudo pacman --sync {{paket_ismi}}` + +- Tüm paketleri senkronize et ve güncelle (bahsi geçen paketleri güncellemeden indirmek için `--downloadonly` eki gereklidir): + +`sudo pacman --sync --refresh --sysupgrade` + +- Tüm paketleri güncelle ve telkin olmaksızın yeni bir tane indir: + +`sudo pacman --sync --refresh --sysupgrade --noconfirm {{paket_ismi}}` + +- Paket veritabanını girilen ifade ile arat: + +`pacman --sync --search "{{arama_şablonu}}"` + +- Bir paket hakkında bilgi görüntüle: + +`pacman --sync --info {{paket_ismi}}` + +- Bir paket güncellemesi sırasında çakışan dosyaların üstüne yaz: + +`sudo pacman --sync --refresh --sysupgrade --overwrite {{örnek_dosya}}` + +- Tüm paketleri senkronize et ve güncelle, ancak belli bir paketi yoksay: + +`sudo pacman --sync --refresh --sysupgrade --ignore {{paket_ismi}}` + +- Kullanılmayan paket ve kullanılmamış depoları çerezlerden sil (tüm paketlerin çerezlerini temizlemek için `--clean` eki iki kez kullanılmalıdır): + +`sudo pacman --sync --clean` diff --git a/pages.tr/linux/pacman-t.md b/pages.tr/linux/pacman-t.md new file mode 100644 index 00000000000000..a9e8497a31e5f1 --- /dev/null +++ b/pages.tr/linux/pacman-t.md @@ -0,0 +1,7 @@ +# pacman -T + +> Bu komut `pacman --deptest` için bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr pacman deptest` diff --git a/pages.tr/linux/pacman-u.md b/pages.tr/linux/pacman-u.md new file mode 100644 index 00000000000000..659dc957f39f32 --- /dev/null +++ b/pages.tr/linux/pacman-u.md @@ -0,0 +1,7 @@ +# pacman -U + +> Bu komut `pacman --upgrade` için bir takma addır. + +- Asıl komutun dökümantasyonunu görüntüle: + +`tldr pacman upgrade` diff --git a/pages.tr/linux/pacman-upgrade.md b/pages.tr/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..d4ad539e58b9f1 --- /dev/null +++ b/pages.tr/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> Arch Linux paket yöneticisi aracı. +> Ayrıca bakınız: `pacman`. +> Daha fazla bilgi için: . + +- Dosyalardan bir veya daha fazla paket kur: + +`sudo pacman -U {{yol/paket1.pkg.tar.zst yol/paket2.pkg.tar.zst ...}}` + +- Paketi sorunsuz kur (onay istemeden): + +`sudo pacman -U --noconfirm {{yol/paket.pkg.tar.zst}}` + +- Paket kurulumu sırasında çakışan dosyaların üzerine yaz: + +`sudo pacman -U --overwrite {{yol/dosya}} {{yol/paket.pkg.tar.zst}}` + +- Paket kurulumunda bağımlılık sürüm kontrollerini atla: + +`sudo pacman -Ud {{yol/paket.pkg.tar.zst}}` + +- Yükseltme sırasında etkilenecek paketleri getir ve yazdır (paketleri kurmaz): + +`pacman -Up {{yol/paket.pkg.tar.zst}}` + +- Yardımı görüntüle: + +`pacman -Uh` diff --git a/pages.tr/linux/pacman.md b/pages.tr/linux/pacman.md new file mode 100644 index 00000000000000..68f3bee646dbb0 --- /dev/null +++ b/pages.tr/linux/pacman.md @@ -0,0 +1,37 @@ +# pacman + +> Arch Linux paket yönetim aracı. +> Ayrıca bakınız: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Daha fazla bilgi için: . + +- Tüm paketleri senkronize et ve güncelle: + +`sudo pacman -Syu` + +- Yeni bir paket indir: + +`sudo pacman -S {{paket_ismi}}` + +- Bir paket ve bağlılıklarını sil: + +`sudo pacman -Rs {{paket_ismi}}` + +- Paket veritabanında `regex` veya anahter kelime ile ara: + +`pacman -Ss "{{search_pattern}}"` + +- Belirli bir dosyayı içeren paketleri veritabanında ara: + +`pacman -F "{{file_name}}"` + +- Sadece özellikle belirtilen paket ve sürümleri sırala: + +`pacman -Qe` + +- Orphan paketleri listele (bağımlılık olarak kurulmuş ama aslında hiçbir paket tarafından gerekmeyenler): + +`pacman -Qtdq` + +- Paket çerezlerini boş alan açmak için temizle: + +`sudo pacman -Scc` diff --git a/pages.tr/linux/pacman4console.md b/pages.tr/linux/pacman4console.md new file mode 100644 index 00000000000000..43a8e41593f1f9 --- /dev/null +++ b/pages.tr/linux/pacman4console.md @@ -0,0 +1,20 @@ +# pacman4console + +> Orijinal Pacman'den ilham alan metin tabanlı bir konsol oyunu. +> Daha fazla bilgi için: . + +- Seviye 1'de bir oyuna başla: + +`pacman4console` + +- Belirli bir seviyede oyuna başla (dokuz resmi seviye vardır): + +`pacman4console --level={{seviye_numarasi}}` + +- pacman4console seviye editörünü başlat, belirli bir metin dosyasına kaydet: + +`pacman4consoleedit {{yol/seviye_dosyasi}}` + +- Özel bir seviyeyi oyna: + +`pacman4console --level={{yol/seviye_dosyasi}}` diff --git a/pages.tr/linux/picom.md b/pages.tr/linux/picom.md new file mode 100644 index 00000000000000..f2ca1a4445225c --- /dev/null +++ b/pages.tr/linux/picom.md @@ -0,0 +1,16 @@ +# picom + +> Xorg için bağımsız bir kompozitör. +> Daha fazla bilgi için: . + +- Bir oturum esnasında `picom`'u etkinleştirin: + +`picom &` + +- `picom`'u bir arkaplan işlemi olarak başlatın: + +`picom {{-b|--daemon]}}` + +- Özel yapılandırma dosyası kullanın: + +`picom --config {{yapılandırma_dosyası/yolu}}` diff --git a/pages.tr/linux/playerctl.md b/pages.tr/linux/playerctl.md new file mode 100644 index 00000000000000..901f43f99de38d --- /dev/null +++ b/pages.tr/linux/playerctl.md @@ -0,0 +1,32 @@ +# playerctl + +> Medya oynatıcılarını MPRIS aracılığıyla kumanda edin. +> Daha fazla bilgi için: . + +- Oynatmayı aç/kapat: + +`playerctl play-pause` + +- Bir sonraki medyaya geçin: + +`playerctl next` + +- Bir önceki medyaya geçin: + +`playerctl previous` + +- Tüm oynatıcıları listeleyin: + +`playerctl --list-all` + +- Belirtilen oynatıcıya komut verin: + +`playerctl --player {{oynatıcı_ismi}} {{play-pause|next|previous|...}}` + +- Tüm oynatıcılara komut verin: + +`playerctl --all-players {{play-pause|next|previous|...}}` + +- Mevcut medyanın meta verisini görüntüleyin: + +`playerctl metadata --format "{{Şuanda oynatılıyor: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"` diff --git a/pages.tr/linux/print.runmailcap.md b/pages.tr/linux/print.runmailcap.md new file mode 100644 index 00000000000000..c1b4a3dd7e3759 --- /dev/null +++ b/pages.tr/linux/print.runmailcap.md @@ -0,0 +1,13 @@ +# print + +> `run-mailcap` komutunun print özelliğinin öbür adı. +> Normalde `run-mailcap` komutu mime-tarzı/dosya işlemek için kullanılır. +> Daha fazla bilgi için: . + +- Bir dosyayı yazdır: + +`print {{dosya_ismi}}` + +- `run-mailcap` ile yazdır: + +`run-mailcap --action=print {{dosya_ismi}}` diff --git a/pages.tr/linux/pulseaudio.md b/pages.tr/linux/pulseaudio.md new file mode 100644 index 00000000000000..b41c289eb26e2a --- /dev/null +++ b/pages.tr/linux/pulseaudio.md @@ -0,0 +1,24 @@ +# pulseaudio + +> Ses sistem arkaplan uygulaması ve yöneticisi. +> Daha fazla bilgi için: . + +- Pulseaudio'nun çalışıp çalışmadığını kontrol et (sıfır olmayan çıktı, çalışmadığı anlamına gelir): + +`pulseaudio --check` + +- Pulseaudio'yu arkaplanda çalıştır: + +`pulseaudio --start` + +- Arkaplanda çalışan tüm PulseAudio uygulamalarını öldür: + +`pulseaudio {{[-k|--kill]}}` + +- Müsait modülleri sırala: + +`pulseaudio --dump-modules` + +- Belirtilen argümanlarla bir modülü mevcut çalışan arkaplan uygulamasına yükle: + +`pulseaudio {{[-L|--load]}} "{{modül_ismi}} {{argümanlar}}"` diff --git a/pages.tr/linux/pw-cat.md b/pages.tr/linux/pw-cat.md new file mode 100644 index 00000000000000..9832fcd0513728 --- /dev/null +++ b/pages.tr/linux/pw-cat.md @@ -0,0 +1,20 @@ +# pw-cat + +> Pipewire üzerinden ses dosyalarını çalın ve kaydedin. +> Daha fazla bilgi için: . + +- Varsayılan hedef üzerinden bir WAV dosyası oynat: + +`pw-cat {{[-p|--playback]}} {{örnek/konum/dosya.wav}}` + +- Örnek bir kaydı farklı bir ses seviyesinde kayda al: + +`pw-cat {{[-r|--record]}} --volume={{0.1}} {{örnek/konum/dosya.wav}}` + +- Örnek bir kaydı farklı bir örnek oran kullanarak kayda al: + +`pw-cat {{[-r|--record]}} --rate={{6000}} {{örnek/konum/dosya.wav}}` + +- Yardımı görüntüle: + +`pw-cat {{[-h|--help]}}` diff --git a/pages.tr/linux/pw-cli.md b/pages.tr/linux/pw-cli.md new file mode 100644 index 00000000000000..701095dbcbb6c9 --- /dev/null +++ b/pages.tr/linux/pw-cli.md @@ -0,0 +1,16 @@ +# pw-cli + +> Pipewire komut satır arayüzü. +> Daha fazla bilgi için: . + +- Tüm düğümleri (taban ve kaynakları) ID'leri ile birlikte yazdır: + +`pw-cli list-objects Node` + +- Belirtilen ID'ye sahip objeye dair bilgileri yazdır: + +`pw-cli info {{4}}` + +- Tüm objelerin bilgilerini yazdır: + +`pw-cli info all` diff --git a/pages.tr/linux/pw-link.md b/pages.tr/linux/pw-link.md new file mode 100644 index 00000000000000..dd0b78421dd0d8 --- /dev/null +++ b/pages.tr/linux/pw-link.md @@ -0,0 +1,20 @@ +# pw-link + +> PipeWire'daki portlar arası linkleri yönet. +> Daha fazla bilgi için: . + +- Tüm ses çıktı ve girdi portlarını sırala: + +`pw-link --output --input'` + +- Çıktı ve girdi portları arasında bir bağlantı yarat: + +`pw-link {{çıktı_port_ismi}} {{girdi_port_ismi}}` + +- Disconnect two ports: + +`pw-link {{[-d|--disconnect]}} {{çıktı_port_ismi}} {{girdi_port_ismi}}` + +- Yardım sayfası göster: + +`pw-link {{[-h|--help]}}` diff --git a/pages.tr/linux/pw-loopback.md b/pages.tr/linux/pw-loopback.md new file mode 100644 index 00000000000000..e94b041dc21f5c --- /dev/null +++ b/pages.tr/linux/pw-loopback.md @@ -0,0 +1,28 @@ +# pw-loopback + +> PipeWire'da geri döngü cihazları yaratma aracı. +> Daha fazla bilgi için: . + +- Varsayılan geri döngü davranışına sahip bir geri döngü cihazı yarat: + +`pw-loopback` + +- Hoparlörlere otomatik olarak bağlanan bir geri döngü cihazı yarat: + +`pw-loopback -m '{{[FL FR]}}' --capture-props='{{media.class=Audio/Sink}}'` + +- Mikrofona otomatik olarak bağlanan bir geri döngü cihazı yarat: + +`pw-loopback -m '{{[FL FR]}}' --playback-props='{{media.class=Audio/Source}}'` + +- Hiçbir şeye otomatik olarak bağlanmayan salak bir geri döngü cihazı yarat: + +`pw-loopback -m '{{[FL FR]}}' --capture-props='{{media.class=Audio/Sink}}' --playback-props='{{media.class=Audio/Source}}'` + +- Hoparlörlere otomatik olarak bağlanan ve taban-kaynak arasında sağ-sol kanalların yerini değiştiren bir geri döngü cihazı yarat: + +`pw-loopback --capture-props='{{media.class=Audio/Sink audio.position=[FL FR]}}' --playback-props='{{audio.position=[FR FL]}}'` + +- Mikrofona otomatik olarak bağlanan ve taban-kaynak arasında sağ-sol kanalların yerini değiştiren bir geri döngü cihazı yarat: + +`pw-loopback --capture-props='{{audio.position=[FR FL]}}' --playback-props='{{media.class=Audio/Source audio.position=[FL FR]}}'` diff --git a/pages.tr/linux/pw-play.md b/pages.tr/linux/pw-play.md new file mode 100644 index 00000000000000..ae72d8f73e46c9 --- /dev/null +++ b/pages.tr/linux/pw-play.md @@ -0,0 +1,7 @@ +# pw-play + +> Bu komut `pw-cat --playback` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pw-cat` diff --git a/pages.tr/linux/pw-record.md b/pages.tr/linux/pw-record.md new file mode 100644 index 00000000000000..b0ff77d2a7d226 --- /dev/null +++ b/pages.tr/linux/pw-record.md @@ -0,0 +1,7 @@ +# pw-record + +> Bu komut `pw-cat --record` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pw-cat` diff --git a/pages.tr/linux/pwdx.md b/pages.tr/linux/pwdx.md new file mode 100644 index 00000000000000..f98fdb01d7ce1d --- /dev/null +++ b/pages.tr/linux/pwdx.md @@ -0,0 +1,8 @@ +# pwdx + +> Bir işlemin çalışan dizinini yazdır. +> Daha fazla bilgi için: . + +- Bir işlemin mevcut çalışan dizinini yazdır: + +`pwdx {{işlem_id'si}}` diff --git a/pages.tr/linux/service.md b/pages.tr/linux/service.md new file mode 100644 index 00000000000000..8eb3a4fac0eb00 --- /dev/null +++ b/pages.tr/linux/service.md @@ -0,0 +1,21 @@ +# service + +> Başlatma betiklerini çalıştırarak hizmetleri/servisleri yönetin. +> Tam betik yolu atlanmalıdır (`/etc/init.d/` varsayılır). +> Daha fazla bilgi için: . + +- Tüm servisleri ve durumlarını görüntüleyin: + +`service --status-all` + +- Bir servisi Başlatın/Durdurun/Yeniden başlatın/Yeniden yükleyin (başlat/durdur her zaman mevcut olmalıdır): + +`service {{servis_adı}} {{start|stop|restart|reload}}` + +- Tam yeniden başlatma yapın (betiği başlat ve durdur seçenekleriyle iki kez çalıştırır): + +`service {{servis_adı}} --full-restart` + +- Servisin şuanki durumunu görüntüleyin: + +`service {{servis_adı}} status` diff --git a/pages.tr/linux/su.md b/pages.tr/linux/su.md new file mode 100644 index 00000000000000..fa3306c963b819 --- /dev/null +++ b/pages.tr/linux/su.md @@ -0,0 +1,20 @@ +# su + +> Kabuk ortamında başka bir kullanıcıya geçiş yapın. +> Daha fazla bilgi için: . + +- Süper kullanıcıya geçin (kök şifresi gerektirir): + +`su` + +- Belirli bir kullanıcıya geçin (kullanıcının şifresini gerektirir): + +`su {{kullanıcıadı}}` + +- Belirli bir kullanıcıya geçin ve tam oturum açma kabuğunu simüle edin: + +`su - {{kullanıcıadı}}` + +- Başka bir kullanıcı olarak bir komut çalıştırın: + +`su - {{kullanıcıadı}} {{[-c|--command]}} "{{komut}}"` diff --git a/pages.tr/linux/timedatectl.md b/pages.tr/linux/timedatectl.md new file mode 100644 index 00000000000000..01ea6cc3ecd9d4 --- /dev/null +++ b/pages.tr/linux/timedatectl.md @@ -0,0 +1,28 @@ +# timedatectl + +> Sistem tarih ve zamanını ayarlayın. +> Daha fazla bilgi için: . + +- Mevcut sistem saatini kontrol edin: + +`timedatectl` + +- Sistem yerel saatini doğrudan ayarlayın: + +`timedatectl set-time "{{yyyy-aa-gg SS:dd:ss}}"` + +- Ayarlanabilir zaman dilimlerini listeleyin: + +`timedatectl list-timezones` + +- Sistem zaman dilimini ayarlayın: + +`timedatectl set-timezone {{zaman dilimi}}` + +- Ağ Zaman Protokolü (NTP) eşlemesini aktifleştirin: + +`timedatectl set-ntp on` + +- Standart donanım zamanını yerel saatiniz olarak ayarlayın: + +`timedatectl set-local-rtc 1` diff --git a/pages.tr/linux/trash.md b/pages.tr/linux/trash.md new file mode 100644 index 00000000000000..f95454137cc5fd --- /dev/null +++ b/pages.tr/linux/trash.md @@ -0,0 +1,32 @@ +# trash + +> Çöp / geri dönüşüm kutusunu yönetmek için bir komut satırı arayüzü. +> Daha fazla bilgi için: . + +- Bir dosyayı sil (çöpe gönder): + +`trash {{örnek/dosya}}` + +- Çöpteki dosyaları göster: + +`trash-list` + +- Çöpteki dosyaları geri getir: + +`trash-restore` + +- Çöpü boşalt: + +`trash-empty` + +- Çöpü 10 gün öncesinden daha yeni atılan dosyalar hariç boşalt: + +`trash-empty 10` + +- Çöpte 'foo' ismini taşıyan tüm dosyaları sil: + +`trash-rm "foo"` + +- Belirtilen konumdaki tüm dosyaları sil: + +`trash-rm {{/detaylı/örnek/konum/dosya_veya_dizin}}` diff --git a/pages.tr/linux/ubuntu-bug.md b/pages.tr/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..03184baafb4d18 --- /dev/null +++ b/pages.tr/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Bu komut `apport-bug` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr apport-bug` diff --git a/pages.tr/linux/usermod.md b/pages.tr/linux/usermod.md new file mode 100644 index 00000000000000..42738b48f19a7e --- /dev/null +++ b/pages.tr/linux/usermod.md @@ -0,0 +1,37 @@ +# usermod + +> Bir kullanıcı hesabını düzenleyin +> Ayrıca bakınız: `users`, `useradd`, `userdel`. +> Daha fazla bilgi için: . + +- Kullanıcı adını değiştirin: + +`sudo usermod {{[-l|--login]}} {{yeni_kullanıcı_adı}} {{kullanıcı_adı}}` + +- Kullanıcı ID'sini değiştirin: + +`sudo usermod {{[-u|--uid]}} {{id}} {{kullanıcı_adı}}` + +- Kullanıcı kabuğunu değiştirin: + +`sudo usermod {{[-s|--shell]}} {{kabuk/yolu}} {{kullanıcı_adı}}` + +- Kullanıcıyı ek gruplara ekleyin (boşluk olmamasına dikkat edin): + +`sudo usermod {{[-aG|--append --groups]}} {{grup1,grup2,...}} {{kullanıcı_adı}}` + +- Bir gruptan belirtilen kullanıcıyı kaldırın: + +`sudo usermod {{[-rG --remove --groups]}} {{grup1,grup2,...}} {{kullanıcı_adı}}` + +- Kullanıcı ev dizinini değiştirin: + +`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{yeni_ev/dizin/yolu}} {{kullanıcı_adı}}` + +- Hesabı kilitleyin: + +`sudo usermod {{[-L|--lock]}} {{kullanıcı_adı}}` + +- Hesabın kilidini açın: + +`sudo usermod {{[-U|--unlock]}} {{kullanıcı_adı}}` diff --git a/pages.tr/linux/wl-copy.md b/pages.tr/linux/wl-copy.md new file mode 100644 index 00000000000000..29225783c5b119 --- /dev/null +++ b/pages.tr/linux/wl-copy.md @@ -0,0 +1,21 @@ +# wl-copy + +> Wayland için pano değiştirme aracı. +> Ayrıca bakın: `wl-paste`. +> Daha fazla bilgi için: . + +- Metni panoya kopyala: + +`wl-copy {{metin}}` + +- Komutun çıktısını panoya kopyala: + +`{{komut}} | wl-copy` + +- Yalnızca bir yapıştırma için kopyala ve ardından temizle: + +`wl-copy --paste-once` + +- Panoyu temizle: + +`wl-copy --clear` diff --git a/pages.tr/linux/wl-paste.md b/pages.tr/linux/wl-paste.md new file mode 100644 index 00000000000000..325a3cb98d3433 --- /dev/null +++ b/pages.tr/linux/wl-paste.md @@ -0,0 +1,17 @@ +# wl-paste + +> Wayland için panoda saklanan verilere erişim aracı. +> Ayrıca bakın: `wl-copy`. +> Daha fazla bilgi için: . + +- Panonun içeriğini yapıştır: + +`wl-paste` + +- Panonun içeriğini bir dosyaya yaz: + +`wl-paste > {{dosya/yolu}}` + +- Panonun içeriğini bir komuta aktar: + +`wl-paste | {{komut}}` diff --git a/pages.tr/linux/wpa_cli.md b/pages.tr/linux/wpa_cli.md new file mode 100644 index 00000000000000..f70eaa55442bcf --- /dev/null +++ b/pages.tr/linux/wpa_cli.md @@ -0,0 +1,28 @@ +# wpa_cli + +> Kablosuz LAN arayüzleri ekleyin ve yapılandırın. +> Daha fazla bilgi için: . + +- Kullanılabilir ağları tara: + +`wpa_cli scan` + +- Tarama sonuçlarını göster: + +`wpa_cli scan_results` + +- Ağ ekle: + +`wpa_cli add_network {{numara}}` + +- Bir ağın SSID değerini ayarla: + +`wpa_cli set_network {{numara}} ssid "{{SSID}}"` + +- Ağı etkinleştir: + +`wpa_cli enable_network {{numara}}` + +- Yapılandırmayı kaydet: + +`wpa_cli save_config` diff --git a/pages.tr/linux/wpa_passphrase.md b/pages.tr/linux/wpa_passphrase.md new file mode 100644 index 00000000000000..508db360131c91 --- /dev/null +++ b/pages.tr/linux/wpa_passphrase.md @@ -0,0 +1,12 @@ +# wpa_passphrase + +> Belirtilen SSID için bir ASCII paroladan bir WPA-PSK anahtarı oluşturun. +> Daha fazla bilgi için: . + +- Standart girişten parolayı okuyarak belirtilen SSID için WPA-PSK anahtarını hesapla ve görüntüle: + +`wpa_passphrase {{SSID}}` + +- Parolayı argüman olarak belirterek belirtilen SSID için WPA-PSK anahtarını hesapla ve görüntüle: + +`wpa_passphrase {{SSID}} {{parola}}` diff --git a/pages.tr/linux/xeyes.md b/pages.tr/linux/xeyes.md new file mode 100644 index 00000000000000..3e6a3ee0847f7c --- /dev/null +++ b/pages.tr/linux/xeyes.md @@ -0,0 +1,12 @@ +# xeyes + +> Ekranda fare imlecini takip eden bir çift göz göster. +> Daha fazla bilgi için: . + +- Xeyes'ı yerel makinenin varsayılan ekranında başlat: + +`xeyes` + +- Xeyes'ı uzak bir makinenin 0. görüntü ve 0. ekran koordinatlarında başlat: + +`xeyes -display {{uzak_makine}}:{{0}}.{{0}}` diff --git a/pages.tr/linux/xfce4-screenshooter.md b/pages.tr/linux/xfce4-screenshooter.md new file mode 100644 index 00000000000000..cc97ae6603b64c --- /dev/null +++ b/pages.tr/linux/xfce4-screenshooter.md @@ -0,0 +1,32 @@ +# xfce4-screenshooter + +> XFCE4 ekran görüntüsü aracı. +> Daha fazla bilgi için: . + +- Ekran görüntüsü alma grafik arayüzünü başlat: + +`xfce4-screenshooter` + +- Tüm ekranın ekran görüntüsünü al ve nasıl devam edileceğini belirlemek adına grafik arayüzünü başlat: + +`xfce4-screenshooter --fullscreen` + +- Tüm ekranın ekran görüntüsünü al ve görüntüyü belirtilen dizine kaydet: + +`xfce4-screenshooter --fullscreen --save {{örnek/dizin}}` + +- Ekran görüntüsünü çekmeden önce belli bir süre bekle: + +`xfce4-screenshooter --delay {{saniye_miktarı}}` + +- Ekranın (fare ile seçilecek) belli bir bölümünün görüntüsünü al: + +`xfce4-screenshooter --region` + +- Üzerinde bulunulan pencerenin görüntüsünü al ve panoya kopyala: + +`xfce4-screenshooter --window --clipboard` + +- Üzerinde bulunulan pencerenin görüntüsünü qal ve seçilen bir program ile aç: + +`xfce4-screenshooter --window --open {{gimp}}` diff --git a/pages.tr/linux/xfce4-terminal.md b/pages.tr/linux/xfce4-terminal.md new file mode 100644 index 00000000000000..a4f2e2c95d53e2 --- /dev/null +++ b/pages.tr/linux/xfce4-terminal.md @@ -0,0 +1,28 @@ +# xfce4-terminal + +> XFCE4 terminal öykünücüsü. +> Daha fazla bilgi için: . + +- Yeni bir terminal penceresi aç: + +`xfce4-terminal` + +- Başlangıç başlığı belirle: + +`xfce4-terminal --initial-title "{{başlangıç_başlığı}}"` + +- Mevcut terminal penceresinde yeni bir sekme aç: + +`xfce4-terminal --tab` + +- Yeni bir terminal penceresini belirlenen bir komutu çalıştırarak aç: + +`xfce4-terminal --command "{{argümanlı_komut}}"` + +- Çalıştırılan komutun çalışmayı kesme durumunda dahi terminali kapama: + +`xfce4-terminal --command "{{argümanlı_komut}}" --hold` + +- Her birinde farklı komut çalışacak birçok yeni sekme aç: + +`xfce4-terminal --tab --command "{{komut_a}}" --tab --command "{{komut_b}}"` diff --git a/pages.tr/linux/xrandr.md b/pages.tr/linux/xrandr.md new file mode 100644 index 00000000000000..0118d636111fff --- /dev/null +++ b/pages.tr/linux/xrandr.md @@ -0,0 +1,28 @@ +# xrandr + +> Bir ekran için boyut, yön ve/veya çıkış yansımasını ayarla. +> Daha fazla bilgi için: . + +- Sistemin mevcut durumunu göster (bilinen ekranlar, çözünürlükler, ...): + +`xrandr {{[-q|--query]}}` + +- Bağlantısı kesilmiş çıkışları devre dışı bırak ve bağlanmış olanları varsayılan ayarlar ile devreye sok: + +`xrandr --auto` + +- DisplayPort 1'in çözünürlük ve yenileme hızını 1920x1080, 60Hz olarak değiştir: + +`xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}` + +- HDMI2'nin çözünürlüğünü 1280x1024'e değiştirip, DP1'in sağına koy: + +`xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}` + +- VGA1 çıkışını devre dışı bırak: + +`xrandr --output {{VGA1}} --off` + +- LVDS1 için parlaklığı 50% yap: + +`xrandr --output {{LVDS1}} --brightness {{0.5}}` diff --git a/pages.tr/linux/xterm.md b/pages.tr/linux/xterm.md new file mode 100644 index 00000000000000..2fae48748d7d43 --- /dev/null +++ b/pages.tr/linux/xterm.md @@ -0,0 +1,24 @@ +# xterm + +> X Ekran Sistemi için terminal öykünücüsü. +> Daha fazla bilgi için: . + +- `Örnek` başlığına sahip bir terminal aç: + +`xterm -T {{Örnek}}` + +- Terminali tam ekran modunda aç: + +`xterm -fullscreen` + +- Terminali lacivert arkaplan ve sarı ön plan (font rengi) ile aç: + +`xterm -bg {{darkblue}} -fg {{yellow}}` + +- Terminali satır başına 100 karakter ve sütun başına 35 satır sığacak şekilde, x=200px y=20px koordinatlarında aç: + +`xterm -geometry {{100}}x{{35}}+{{200}}+{{20}}` + +- Terminali bir Serif fontu ve 20'ye eşit olan bir font büyüklüğü ile aç: + +`xterm -fa {{'Serif'}} -fs {{20}}` diff --git a/pages.tr/osx/aa.md b/pages.tr/osx/aa.md new file mode 100644 index 00000000000000..fe030f2bfb2142 --- /dev/null +++ b/pages.tr/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Bu komut `yaa` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr yaa` diff --git a/pages.tr/osx/g[.md b/pages.tr/osx/g[.md new file mode 100644 index 00000000000000..5807e70fa8ced2 --- /dev/null +++ b/pages.tr/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Bu komut `[` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr [` diff --git a/pages.tr/osx/gb2sum.md b/pages.tr/osx/gb2sum.md new file mode 100644 index 00000000000000..c510d13c9cfcb4 --- /dev/null +++ b/pages.tr/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Bu komut `b2sum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr b2sum` diff --git a/pages.tr/osx/gbase32.md b/pages.tr/osx/gbase32.md new file mode 100644 index 00000000000000..aae0cdc2a6b131 --- /dev/null +++ b/pages.tr/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Bu komut `base32` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr base32` diff --git a/pages.tr/osx/gbase64.md b/pages.tr/osx/gbase64.md new file mode 100644 index 00000000000000..f67350ce5e1d96 --- /dev/null +++ b/pages.tr/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Bu komut `base64` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.tr/osx/gbasename.md b/pages.tr/osx/gbasename.md new file mode 100644 index 00000000000000..a18e015ef85b34 --- /dev/null +++ b/pages.tr/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Bu komut `basename` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr basename` diff --git a/pages.tr/osx/gbasenc.md b/pages.tr/osx/gbasenc.md new file mode 100644 index 00000000000000..a700672b5c761a --- /dev/null +++ b/pages.tr/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Bu komut `basenc` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr basenc` diff --git a/pages.tr/osx/gcat.md b/pages.tr/osx/gcat.md new file mode 100644 index 00000000000000..067b7bc9be8d3e --- /dev/null +++ b/pages.tr/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Bu komut `-p linux cat` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.tr/osx/gchcon.md b/pages.tr/osx/gchcon.md new file mode 100644 index 00000000000000..aa6bf12a0a3414 --- /dev/null +++ b/pages.tr/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Bu komut `-p linux chcon` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.tr/osx/gchgrp.md b/pages.tr/osx/gchgrp.md new file mode 100644 index 00000000000000..6888ef6781f047 --- /dev/null +++ b/pages.tr/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Bu komut `chgrp` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr chgrp` diff --git a/pages.tr/osx/gchmod.md b/pages.tr/osx/gchmod.md new file mode 100644 index 00000000000000..9db1300a8150d5 --- /dev/null +++ b/pages.tr/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Bu komut `chmod` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr chmod` diff --git a/pages.tr/osx/gchown.md b/pages.tr/osx/gchown.md new file mode 100644 index 00000000000000..2124bbd1e71c17 --- /dev/null +++ b/pages.tr/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Bu komut `chown` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr chown` diff --git a/pages.tr/osx/gchroot.md b/pages.tr/osx/gchroot.md new file mode 100644 index 00000000000000..9a9ad778f1c9b8 --- /dev/null +++ b/pages.tr/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Bu komut `chroot` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr chroot` diff --git a/pages.tr/osx/gcksum.md b/pages.tr/osx/gcksum.md new file mode 100644 index 00000000000000..616ab71e556f3b --- /dev/null +++ b/pages.tr/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Bu komut `cksum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr cksum` diff --git a/pages.tr/osx/gcomm.md b/pages.tr/osx/gcomm.md new file mode 100644 index 00000000000000..393e691ae5f077 --- /dev/null +++ b/pages.tr/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Bu komut `comm` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr comm` diff --git a/pages.tr/osx/gcp.md b/pages.tr/osx/gcp.md new file mode 100644 index 00000000000000..6bf2607949d3d5 --- /dev/null +++ b/pages.tr/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Bu komut `cp` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr cp` diff --git a/pages.tr/osx/gcsplit.md b/pages.tr/osx/gcsplit.md new file mode 100644 index 00000000000000..dab7296d915e87 --- /dev/null +++ b/pages.tr/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Bu komut `-p linux csplit` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.tr/osx/gcut.md b/pages.tr/osx/gcut.md new file mode 100644 index 00000000000000..a75313f2aa0c9d --- /dev/null +++ b/pages.tr/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Bu komut `cut` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.tr/osx/gdate.md b/pages.tr/osx/gdate.md new file mode 100644 index 00000000000000..aa0b30264043b8 --- /dev/null +++ b/pages.tr/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Bu komut `date` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.tr/osx/gdd.md b/pages.tr/osx/gdd.md new file mode 100644 index 00000000000000..a9a4055015641f --- /dev/null +++ b/pages.tr/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Bu komut `-p linux dd` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.tr/osx/gdf.md b/pages.tr/osx/gdf.md new file mode 100644 index 00000000000000..cb7976783af1c3 --- /dev/null +++ b/pages.tr/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Bu komut `-p linux df` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.tr/osx/gdir.md b/pages.tr/osx/gdir.md new file mode 100644 index 00000000000000..09e9f916aa6503 --- /dev/null +++ b/pages.tr/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Bu komut `-p linux dir` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.tr/osx/gdircolors.md b/pages.tr/osx/gdircolors.md new file mode 100644 index 00000000000000..441832696bcde1 --- /dev/null +++ b/pages.tr/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Bu komut `dircolors` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr dircolors` diff --git a/pages.tr/osx/gdirname.md b/pages.tr/osx/gdirname.md new file mode 100644 index 00000000000000..66198821c4fe2a --- /dev/null +++ b/pages.tr/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Bu komut `dirname` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr dirname` diff --git a/pages.tr/osx/gdnsdomainname.md b/pages.tr/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..d61d30363ccd63 --- /dev/null +++ b/pages.tr/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Bu komut `-p linux dnsdomainname` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.tr/osx/gecho.md b/pages.tr/osx/gecho.md new file mode 100644 index 00000000000000..d96fde84d064fa --- /dev/null +++ b/pages.tr/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Bu komut `echo` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr echo` diff --git a/pages.tr/osx/ged.md b/pages.tr/osx/ged.md new file mode 100644 index 00000000000000..21618a4c5e310c --- /dev/null +++ b/pages.tr/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Bu komut `ed` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ed` diff --git a/pages.tr/osx/gegrep.md b/pages.tr/osx/gegrep.md new file mode 100644 index 00000000000000..1d1929a81237e7 --- /dev/null +++ b/pages.tr/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Bu komut `egrep` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr egrep` diff --git a/pages.tr/osx/genv.md b/pages.tr/osx/genv.md new file mode 100644 index 00000000000000..1d6ddd10cf5b3e --- /dev/null +++ b/pages.tr/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Bu komut `env` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr env` diff --git a/pages.tr/osx/gexpand.md b/pages.tr/osx/gexpand.md new file mode 100644 index 00000000000000..4d43cc72851c97 --- /dev/null +++ b/pages.tr/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Bu komut `expand` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr expand` diff --git a/pages.tr/osx/gexpr.md b/pages.tr/osx/gexpr.md new file mode 100644 index 00000000000000..9a14577d6ca6e8 --- /dev/null +++ b/pages.tr/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Bu komut `expr` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr expr` diff --git a/pages.tr/osx/gfactor.md b/pages.tr/osx/gfactor.md new file mode 100644 index 00000000000000..a0746850a0173d --- /dev/null +++ b/pages.tr/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Bu komut `factor` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr factor` diff --git a/pages.tr/osx/gfalse.md b/pages.tr/osx/gfalse.md new file mode 100644 index 00000000000000..c24625f58921a4 --- /dev/null +++ b/pages.tr/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Bu komut `false` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr false` diff --git a/pages.tr/osx/gfgrep.md b/pages.tr/osx/gfgrep.md new file mode 100644 index 00000000000000..dcb97075f97f70 --- /dev/null +++ b/pages.tr/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Bu komut `fgrep` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr fgrep` diff --git a/pages.tr/osx/gfind.md b/pages.tr/osx/gfind.md new file mode 100644 index 00000000000000..391e7a56167c05 --- /dev/null +++ b/pages.tr/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Bu komut `find` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr find` diff --git a/pages.tr/osx/gfmt.md b/pages.tr/osx/gfmt.md new file mode 100644 index 00000000000000..6f74f37af1293c --- /dev/null +++ b/pages.tr/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Bu komut `fmt` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr fmt` diff --git a/pages.tr/osx/gfold.md b/pages.tr/osx/gfold.md new file mode 100644 index 00000000000000..3a200712c0062b --- /dev/null +++ b/pages.tr/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Bu komut `-p linux fold` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.tr/osx/gftp.md b/pages.tr/osx/gftp.md new file mode 100644 index 00000000000000..128f92e3109eec --- /dev/null +++ b/pages.tr/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Bu komut `ftp` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ftp` diff --git a/pages.tr/osx/ggrep.md b/pages.tr/osx/ggrep.md new file mode 100644 index 00000000000000..e0cca591f0bdb0 --- /dev/null +++ b/pages.tr/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Bu komut `grep` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr grep` diff --git a/pages.tr/osx/ggroups.md b/pages.tr/osx/ggroups.md new file mode 100644 index 00000000000000..8ecbcc382490de --- /dev/null +++ b/pages.tr/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Bu komut `groups` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr groups` diff --git a/pages.tr/osx/ghead.md b/pages.tr/osx/ghead.md new file mode 100644 index 00000000000000..7c527a5d4c994f --- /dev/null +++ b/pages.tr/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Bu komut `-p linux head` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.tr/osx/ghostid.md b/pages.tr/osx/ghostid.md new file mode 100644 index 00000000000000..eed598eaafb2d1 --- /dev/null +++ b/pages.tr/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Bu komut `hostid` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr hostid` diff --git a/pages.tr/osx/ghostname.md b/pages.tr/osx/ghostname.md new file mode 100644 index 00000000000000..b8bbc320c9ac14 --- /dev/null +++ b/pages.tr/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Bu komut `hostname` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr hostname` diff --git a/pages.tr/osx/gid.md b/pages.tr/osx/gid.md new file mode 100644 index 00000000000000..0c32a7693d45e2 --- /dev/null +++ b/pages.tr/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Bu komut `id` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr id` diff --git a/pages.tr/osx/gifconfig.md b/pages.tr/osx/gifconfig.md new file mode 100644 index 00000000000000..3a34e8315fcb68 --- /dev/null +++ b/pages.tr/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Bu komut `ifconfig` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ifconfig` diff --git a/pages.tr/osx/gindent.md b/pages.tr/osx/gindent.md new file mode 100644 index 00000000000000..2f46897da51227 --- /dev/null +++ b/pages.tr/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Bu komut `indent` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.tr/osx/ginstall.md b/pages.tr/osx/ginstall.md new file mode 100644 index 00000000000000..7baa753ab5e32f --- /dev/null +++ b/pages.tr/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Bu komut `install` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr install` diff --git a/pages.tr/osx/gjoin.md b/pages.tr/osx/gjoin.md new file mode 100644 index 00000000000000..f32aa0062afa37 --- /dev/null +++ b/pages.tr/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Bu komut `join` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr join` diff --git a/pages.tr/osx/gkill.md b/pages.tr/osx/gkill.md new file mode 100644 index 00000000000000..89fca55eb31df8 --- /dev/null +++ b/pages.tr/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Bu komut `-p linux kill` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.tr/osx/glibtool.md b/pages.tr/osx/glibtool.md new file mode 100644 index 00000000000000..49e1627f661f49 --- /dev/null +++ b/pages.tr/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Bu komut `-p linux libtool` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.tr/osx/glibtoolize.md b/pages.tr/osx/glibtoolize.md new file mode 100644 index 00000000000000..12814a57dc981e --- /dev/null +++ b/pages.tr/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Bu komut `-p linux libtoolize` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.tr/osx/glink.md b/pages.tr/osx/glink.md new file mode 100644 index 00000000000000..5168dad16fd8d8 --- /dev/null +++ b/pages.tr/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Bu komut `link` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr link` diff --git a/pages.tr/osx/gln.md b/pages.tr/osx/gln.md new file mode 100644 index 00000000000000..ef7706e710f277 --- /dev/null +++ b/pages.tr/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Bu komut `ln` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ln` diff --git a/pages.tr/osx/glocate.md b/pages.tr/osx/glocate.md new file mode 100644 index 00000000000000..f8e4cb5522915f --- /dev/null +++ b/pages.tr/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Bu komut `-p linux locate` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.tr/osx/glogger.md b/pages.tr/osx/glogger.md new file mode 100644 index 00000000000000..2ce51471490212 --- /dev/null +++ b/pages.tr/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Bu komut `-p linux logger` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.tr/osx/glogname.md b/pages.tr/osx/glogname.md new file mode 100644 index 00000000000000..4bcabe54d6d64a --- /dev/null +++ b/pages.tr/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Bu komut `logname` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr logname` diff --git a/pages.tr/osx/gls.md b/pages.tr/osx/gls.md new file mode 100644 index 00000000000000..df6271c8b54cc1 --- /dev/null +++ b/pages.tr/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Bu komut `ls` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ls` diff --git a/pages.tr/osx/gmake.md b/pages.tr/osx/gmake.md new file mode 100644 index 00000000000000..016f4a6077db11 --- /dev/null +++ b/pages.tr/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Bu komut `make` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr make` diff --git a/pages.tr/osx/gmd5sum.md b/pages.tr/osx/gmd5sum.md new file mode 100644 index 00000000000000..2f4517ad836aca --- /dev/null +++ b/pages.tr/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Bu komut `md5sum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr md5sum` diff --git a/pages.tr/osx/gmkdir.md b/pages.tr/osx/gmkdir.md new file mode 100644 index 00000000000000..c438586dc248a6 --- /dev/null +++ b/pages.tr/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Bu komut `mkdir` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr mkdir` diff --git a/pages.tr/osx/gmkfifo.md b/pages.tr/osx/gmkfifo.md new file mode 100644 index 00000000000000..87ee329ca23bee --- /dev/null +++ b/pages.tr/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Bu komut `mkfifo` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr mkfifo` diff --git a/pages.tr/osx/gmknod.md b/pages.tr/osx/gmknod.md new file mode 100644 index 00000000000000..b489c139505c64 --- /dev/null +++ b/pages.tr/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Bu komut `-p linux mknod` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.tr/osx/gmktemp.md b/pages.tr/osx/gmktemp.md new file mode 100644 index 00000000000000..d4e13360845733 --- /dev/null +++ b/pages.tr/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Bu komut `-p linux mktemp` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.tr/osx/gmv.md b/pages.tr/osx/gmv.md new file mode 100644 index 00000000000000..390844736472c7 --- /dev/null +++ b/pages.tr/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Bu komut `mv` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr mv` diff --git a/pages.tr/osx/gnice.md b/pages.tr/osx/gnice.md new file mode 100644 index 00000000000000..a1073882ea2195 --- /dev/null +++ b/pages.tr/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Bu komut `nice` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr nice` diff --git a/pages.tr/osx/gnl.md b/pages.tr/osx/gnl.md new file mode 100644 index 00000000000000..49ff1f23493d29 --- /dev/null +++ b/pages.tr/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Bu komut `-p linux nl` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.tr/osx/gnohup.md b/pages.tr/osx/gnohup.md new file mode 100644 index 00000000000000..dfbe8943774f67 --- /dev/null +++ b/pages.tr/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Bu komut `nohup` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr nohup` diff --git a/pages.tr/osx/gnproc.md b/pages.tr/osx/gnproc.md new file mode 100644 index 00000000000000..fccd9e50cd1cd6 --- /dev/null +++ b/pages.tr/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Bu komut `nproc` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr nproc` diff --git a/pages.tr/osx/gnumfmt.md b/pages.tr/osx/gnumfmt.md new file mode 100644 index 00000000000000..48814024d6a7e7 --- /dev/null +++ b/pages.tr/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Bu komut `numfmt` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr numfmt` diff --git a/pages.tr/osx/god.md b/pages.tr/osx/god.md new file mode 100644 index 00000000000000..dce2eb5224d701 --- /dev/null +++ b/pages.tr/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Bu komut `od` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr od` diff --git a/pages.tr/osx/gpaste.md b/pages.tr/osx/gpaste.md new file mode 100644 index 00000000000000..57fada2e0025e4 --- /dev/null +++ b/pages.tr/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Bu komut `paste` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr paste` diff --git a/pages.tr/osx/gpathchk.md b/pages.tr/osx/gpathchk.md new file mode 100644 index 00000000000000..9f0db848aa4513 --- /dev/null +++ b/pages.tr/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Bu komut `pathchk` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pathchk` diff --git a/pages.tr/osx/gping.md b/pages.tr/osx/gping.md new file mode 100644 index 00000000000000..45b40c377df34e --- /dev/null +++ b/pages.tr/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Bu komut `ping` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.tr/osx/gping6.md b/pages.tr/osx/gping6.md new file mode 100644 index 00000000000000..6bd6e9baffddb6 --- /dev/null +++ b/pages.tr/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Bu komut `ping6` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr ping6` diff --git a/pages.tr/osx/gpinky.md b/pages.tr/osx/gpinky.md new file mode 100644 index 00000000000000..eb308ffad4234e --- /dev/null +++ b/pages.tr/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Bu komut `pinky` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pinky` diff --git a/pages.tr/osx/gpr.md b/pages.tr/osx/gpr.md new file mode 100644 index 00000000000000..f29eb43b87593a --- /dev/null +++ b/pages.tr/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Bu komut `pr` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pr` diff --git a/pages.tr/osx/gprintenv.md b/pages.tr/osx/gprintenv.md new file mode 100644 index 00000000000000..7fbcae65f01e4e --- /dev/null +++ b/pages.tr/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Bu komut `printenv` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr printenv` diff --git a/pages.tr/osx/gprintf.md b/pages.tr/osx/gprintf.md new file mode 100644 index 00000000000000..928bbebbe56a43 --- /dev/null +++ b/pages.tr/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Bu komut `printf` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr printf` diff --git a/pages.tr/osx/gptx.md b/pages.tr/osx/gptx.md new file mode 100644 index 00000000000000..b96084a37dd8b9 --- /dev/null +++ b/pages.tr/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Bu komut `-p linux ptx` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.tr/osx/gpwd.md b/pages.tr/osx/gpwd.md new file mode 100644 index 00000000000000..442cd47bbb4dd5 --- /dev/null +++ b/pages.tr/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Bu komut `pwd` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr pwd` diff --git a/pages.tr/osx/grcp.md b/pages.tr/osx/grcp.md new file mode 100644 index 00000000000000..c6c2713a880f7d --- /dev/null +++ b/pages.tr/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Bu komut `-p linux rcp` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.tr/osx/greadlink.md b/pages.tr/osx/greadlink.md new file mode 100644 index 00000000000000..06aa5a6ea50c04 --- /dev/null +++ b/pages.tr/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Bu komut `readlink` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr readlink` diff --git a/pages.tr/osx/grealpath.md b/pages.tr/osx/grealpath.md new file mode 100644 index 00000000000000..e31a2d0eb99cc7 --- /dev/null +++ b/pages.tr/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Bu komut `realpath` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr realpath` diff --git a/pages.tr/osx/grexec.md b/pages.tr/osx/grexec.md new file mode 100644 index 00000000000000..f2813f0746db7d --- /dev/null +++ b/pages.tr/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Bu komut `-p linux rexec` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.tr/osx/grlogin.md b/pages.tr/osx/grlogin.md new file mode 100644 index 00000000000000..6b425ef8be06d4 --- /dev/null +++ b/pages.tr/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Bu komut `-p linux rlogin` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.tr/osx/grm.md b/pages.tr/osx/grm.md new file mode 100644 index 00000000000000..0c50d6a8b3adfc --- /dev/null +++ b/pages.tr/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Bu komut `rm` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr rm` diff --git a/pages.tr/osx/grmdir.md b/pages.tr/osx/grmdir.md new file mode 100644 index 00000000000000..4a0347e12c7bec --- /dev/null +++ b/pages.tr/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Bu komut `rmdir` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr rmdir` diff --git a/pages.tr/osx/grsh.md b/pages.tr/osx/grsh.md new file mode 100644 index 00000000000000..7f38a059a30141 --- /dev/null +++ b/pages.tr/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Bu komut `-p linux rsh` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.tr/osx/gruncon.md b/pages.tr/osx/gruncon.md new file mode 100644 index 00000000000000..c5914671c69d29 --- /dev/null +++ b/pages.tr/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Bu komut `-p linux runcon` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.tr/osx/gsed.md b/pages.tr/osx/gsed.md new file mode 100644 index 00000000000000..3d010630997140 --- /dev/null +++ b/pages.tr/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Bu komut `-p linux sed` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.tr/osx/gseq.md b/pages.tr/osx/gseq.md new file mode 100644 index 00000000000000..4264d76ce91936 --- /dev/null +++ b/pages.tr/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Bu komut `seq` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr seq` diff --git a/pages.tr/osx/gsha1sum.md b/pages.tr/osx/gsha1sum.md new file mode 100644 index 00000000000000..7d868d60a75c39 --- /dev/null +++ b/pages.tr/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Bu komut `sha1sum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr sha1sum` diff --git a/pages.tr/osx/gsha224sum.md b/pages.tr/osx/gsha224sum.md new file mode 100644 index 00000000000000..83a19b482f6b6a --- /dev/null +++ b/pages.tr/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Bu komut `sha224sum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr sha224sum` diff --git a/pages.tr/osx/gsha256sum.md b/pages.tr/osx/gsha256sum.md new file mode 100644 index 00000000000000..d68b28090ddeff --- /dev/null +++ b/pages.tr/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Bu komut `sha256sum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr sha256sum` diff --git a/pages.tr/osx/gsha384sum.md b/pages.tr/osx/gsha384sum.md new file mode 100644 index 00000000000000..0d57dfa01f9f5f --- /dev/null +++ b/pages.tr/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Bu komut `sha384sum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr sha384sum` diff --git a/pages.tr/osx/gsha512sum.md b/pages.tr/osx/gsha512sum.md new file mode 100644 index 00000000000000..a263227207267d --- /dev/null +++ b/pages.tr/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Bu komut `sha512sum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr sha512sum` diff --git a/pages.tr/osx/gshred.md b/pages.tr/osx/gshred.md new file mode 100644 index 00000000000000..bcd225a45c5a5f --- /dev/null +++ b/pages.tr/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Bu komut `shred` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr shred` diff --git a/pages.tr/osx/gshuf.md b/pages.tr/osx/gshuf.md new file mode 100644 index 00000000000000..a2a8a3840df1c8 --- /dev/null +++ b/pages.tr/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Bu komut `shuf` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.tr/osx/gsleep.md b/pages.tr/osx/gsleep.md new file mode 100644 index 00000000000000..776970e51a1402 --- /dev/null +++ b/pages.tr/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Bu komut `-p linux sleep` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.tr/osx/gsort.md b/pages.tr/osx/gsort.md new file mode 100644 index 00000000000000..380501e6762fc3 --- /dev/null +++ b/pages.tr/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Bu komut `sort` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr sort` diff --git a/pages.tr/osx/gsplit.md b/pages.tr/osx/gsplit.md new file mode 100644 index 00000000000000..22f501e13a867f --- /dev/null +++ b/pages.tr/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Bu komut `split` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.tr/osx/gstat.md b/pages.tr/osx/gstat.md new file mode 100644 index 00000000000000..4097e8f6da6a82 --- /dev/null +++ b/pages.tr/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Bu komut `stat` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.tr/osx/gstdbuf.md b/pages.tr/osx/gstdbuf.md new file mode 100644 index 00000000000000..2e8170783f065a --- /dev/null +++ b/pages.tr/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Bu komut `stdbuf` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr stdbuf` diff --git a/pages.tr/osx/gstty.md b/pages.tr/osx/gstty.md new file mode 100644 index 00000000000000..04f673d255d244 --- /dev/null +++ b/pages.tr/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Bu komut `stty` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr stty` diff --git a/pages.tr/osx/gsum.md b/pages.tr/osx/gsum.md new file mode 100644 index 00000000000000..d6b98a2dcf0ecf --- /dev/null +++ b/pages.tr/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Bu komut `sum` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr sum` diff --git a/pages.tr/osx/gsync.md b/pages.tr/osx/gsync.md new file mode 100644 index 00000000000000..117ad24bab74ce --- /dev/null +++ b/pages.tr/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Bu komut `sync` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr sync` diff --git a/pages.tr/osx/gtac.md b/pages.tr/osx/gtac.md new file mode 100644 index 00000000000000..72f2e48e0e03af --- /dev/null +++ b/pages.tr/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Bu komut `tac` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr tac` diff --git a/pages.tr/osx/gtail.md b/pages.tr/osx/gtail.md new file mode 100644 index 00000000000000..4936c961397475 --- /dev/null +++ b/pages.tr/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Bu komut `tail` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.tr/osx/gtalk.md b/pages.tr/osx/gtalk.md new file mode 100644 index 00000000000000..53fd2b5e3c4773 --- /dev/null +++ b/pages.tr/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Bu komut `-p linux talk` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.tr/osx/gtar.md b/pages.tr/osx/gtar.md new file mode 100644 index 00000000000000..83af7c2369a0ef --- /dev/null +++ b/pages.tr/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Bu komut `tar` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr tar` diff --git a/pages.tr/osx/gtee.md b/pages.tr/osx/gtee.md new file mode 100644 index 00000000000000..b6dd708fe14322 --- /dev/null +++ b/pages.tr/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Bu komut `tee` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr tee` diff --git a/pages.tr/osx/gtelnet.md b/pages.tr/osx/gtelnet.md new file mode 100644 index 00000000000000..45a615ace4e94e --- /dev/null +++ b/pages.tr/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Bu komut `telnet` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr telnet` diff --git a/pages.tr/osx/gtest.md b/pages.tr/osx/gtest.md new file mode 100644 index 00000000000000..106adeb95c5a39 --- /dev/null +++ b/pages.tr/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Bu komut `test` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr test` diff --git a/pages.tr/osx/gtftp.md b/pages.tr/osx/gtftp.md new file mode 100644 index 00000000000000..fa1c6f72c3a883 --- /dev/null +++ b/pages.tr/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Bu komut `-p linux tftp` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.tr/osx/gtime.md b/pages.tr/osx/gtime.md new file mode 100644 index 00000000000000..236661b0c9817b --- /dev/null +++ b/pages.tr/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Bu komut `time` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr time` diff --git a/pages.tr/osx/gtimeout.md b/pages.tr/osx/gtimeout.md new file mode 100644 index 00000000000000..85e190b2154a68 --- /dev/null +++ b/pages.tr/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Bu komut `timeout` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr timeout` diff --git a/pages.tr/osx/gtouch.md b/pages.tr/osx/gtouch.md new file mode 100644 index 00000000000000..be87d336d3d264 --- /dev/null +++ b/pages.tr/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Bu komut `touch` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr touch` diff --git a/pages.tr/osx/gtr.md b/pages.tr/osx/gtr.md new file mode 100644 index 00000000000000..c7d94627361891 --- /dev/null +++ b/pages.tr/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Bu komut `tr` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr tr` diff --git a/pages.tr/osx/gtraceroute.md b/pages.tr/osx/gtraceroute.md new file mode 100644 index 00000000000000..9849650cfda86d --- /dev/null +++ b/pages.tr/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Bu komut `traceroute` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr traceroute` diff --git a/pages.tr/osx/gtrue.md b/pages.tr/osx/gtrue.md new file mode 100644 index 00000000000000..e3e67c99774087 --- /dev/null +++ b/pages.tr/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Bu komut `true` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr true` diff --git a/pages.tr/osx/gtruncate.md b/pages.tr/osx/gtruncate.md new file mode 100644 index 00000000000000..89583a10029248 --- /dev/null +++ b/pages.tr/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Bu komut `truncate` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr truncate` diff --git a/pages.tr/osx/gtsort.md b/pages.tr/osx/gtsort.md new file mode 100644 index 00000000000000..8a82fa5dc83d19 --- /dev/null +++ b/pages.tr/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Bu komut `tsort` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr tsort` diff --git a/pages.tr/osx/gtty.md b/pages.tr/osx/gtty.md new file mode 100644 index 00000000000000..03e40e0d5afc16 --- /dev/null +++ b/pages.tr/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Bu komut `tty` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr tty` diff --git a/pages.tr/osx/guname.md b/pages.tr/osx/guname.md new file mode 100644 index 00000000000000..4d4d5ed57af9cf --- /dev/null +++ b/pages.tr/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Bu komut `uname` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.tr/osx/gunexpand.md b/pages.tr/osx/gunexpand.md new file mode 100644 index 00000000000000..aeb7c057347f96 --- /dev/null +++ b/pages.tr/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Bu komut `unexpand` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr unexpand` diff --git a/pages.tr/osx/guniq.md b/pages.tr/osx/guniq.md new file mode 100644 index 00000000000000..f61fb6a31b3a44 --- /dev/null +++ b/pages.tr/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Bu komut `uniq` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr uniq` diff --git a/pages.tr/osx/gunits.md b/pages.tr/osx/gunits.md new file mode 100644 index 00000000000000..71ba8b1db73545 --- /dev/null +++ b/pages.tr/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Bu komut `units` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr units` diff --git a/pages.tr/osx/gunlink.md b/pages.tr/osx/gunlink.md new file mode 100644 index 00000000000000..59da4bb99bf7aa --- /dev/null +++ b/pages.tr/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Bu komut `unlink` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr unlink` diff --git a/pages.tr/osx/gupdatedb.md b/pages.tr/osx/gupdatedb.md new file mode 100644 index 00000000000000..6b5ad3c8eb93f8 --- /dev/null +++ b/pages.tr/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Bu komut `-p linux updatedb` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.tr/osx/guptime.md b/pages.tr/osx/guptime.md new file mode 100644 index 00000000000000..7d92387aa1d3e7 --- /dev/null +++ b/pages.tr/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Bu komut `uptime` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.tr/osx/gusers.md b/pages.tr/osx/gusers.md new file mode 100644 index 00000000000000..90b6eeac9eed3a --- /dev/null +++ b/pages.tr/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Bu komut `users` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr users` diff --git a/pages.tr/osx/gvdir.md b/pages.tr/osx/gvdir.md new file mode 100644 index 00000000000000..da28b912458311 --- /dev/null +++ b/pages.tr/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Bu komut `vdir` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr vdir` diff --git a/pages.tr/osx/gwc.md b/pages.tr/osx/gwc.md new file mode 100644 index 00000000000000..e818c93994fe8e --- /dev/null +++ b/pages.tr/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Bu komut `wc` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.tr/osx/gwhich.md b/pages.tr/osx/gwhich.md new file mode 100644 index 00000000000000..9ef154a291ef74 --- /dev/null +++ b/pages.tr/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Bu komut `which` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr which` diff --git a/pages.tr/osx/gwho.md b/pages.tr/osx/gwho.md new file mode 100644 index 00000000000000..32108217e530c7 --- /dev/null +++ b/pages.tr/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Bu komut `who` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr who` diff --git a/pages.tr/osx/gwhoami.md b/pages.tr/osx/gwhoami.md new file mode 100644 index 00000000000000..09c3b14962857a --- /dev/null +++ b/pages.tr/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Bu komut `whoami` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr whoami` diff --git a/pages.tr/osx/gwhois.md b/pages.tr/osx/gwhois.md new file mode 100644 index 00000000000000..97928d40d61252 --- /dev/null +++ b/pages.tr/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Bu komut `whois` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr whois` diff --git a/pages.tr/osx/gxargs.md b/pages.tr/osx/gxargs.md new file mode 100644 index 00000000000000..99de3afb511a94 --- /dev/null +++ b/pages.tr/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Bu komut `xargs` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr xargs` diff --git a/pages.tr/osx/gyes.md b/pages.tr/osx/gyes.md new file mode 100644 index 00000000000000..bf2fe1c4ee3190 --- /dev/null +++ b/pages.tr/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Bu komut `yes` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr yes` diff --git a/pages.tr/sunos/devfsadm.md b/pages.tr/sunos/devfsadm.md new file mode 100644 index 00000000000000..0293210fb5d75d --- /dev/null +++ b/pages.tr/sunos/devfsadm.md @@ -0,0 +1,16 @@ +# devfsadm + +> `/dev` için yönetim komutu. `/dev` ad alanına yönetir. +> Daha fazla bilgi için: . + +- Yeni disk ara: + +`devfsadm -c disk` + +- Sarkab /dev bağlantılarını temizle ve yeni bir cihaz ara: + +`devfsadm -C -v` + +- Komut çalıştırılacağı takdirde ne olacağını gör ancak herhangi bir düzenleme yapma: + +`devfsadm -C -v -n` diff --git a/pages.tr/sunos/dmesg.md b/pages.tr/sunos/dmesg.md new file mode 100644 index 00000000000000..3ea3830a5128e2 --- /dev/null +++ b/pages.tr/sunos/dmesg.md @@ -0,0 +1,16 @@ +# dmesg + +> Kernel mesajlarını görüntüle. +> Daha fazla bilgi için: . + +- Kernel mesajlarını görüntüle: + +`dmesg` + +- Sistemde ne kadar fiziksel hafıza kaldığını göster: + +`dmesg | grep -i memory` + +- Kernel mesajlarını terminal ekranına sığacak ve her satıra bir tane gelecek şekilde göster: + +`dmesg | less` diff --git a/pages.tr/sunos/prctl.md b/pages.tr/sunos/prctl.md new file mode 100644 index 00000000000000..43db241768d96b --- /dev/null +++ b/pages.tr/sunos/prctl.md @@ -0,0 +1,16 @@ +# prctl + +> Çalışan işlemlerin, görevlerin ve projelerin kaynak kontrollerini öğren veya belirle. +> Daha fazla bilgi için: . + +- Belirtilen işlemin limit ve izinlerini incele: + +`prctl {{PID}}` + +- İşlem limit ve izinlerini makineye dayanıklı fortmattaExamine process limits and permissions in machine parsable format: + +`prctl -P {{PID}}` + +- Çalışan işlem için belirtilen limiti öğren: + +`prctl -n process.max-file-descriptor {{PID}}` diff --git a/pages.tr/sunos/prstat.md b/pages.tr/sunos/prstat.md new file mode 100644 index 00000000000000..c6ea309da29f7e --- /dev/null +++ b/pages.tr/sunos/prstat.md @@ -0,0 +1,24 @@ +# prstat + +> Aktif işlem istatistiklerini bildir. +> Daha fazla bilgi için: . + +- CPU kullanımına ayrılan tüm işlem ve raporların istatiğini incele: + +`prstat` + +- Hafıza kullanımına ayrılan tüm işlem ve raporların istatistiğini incele: + +`prstat -s rss` + +- Her bir kullanıcı için toplam kullanım özetini bildir: + +`prstat -t` + +- Mikrodurum işlem hesap açıklama bilgisini bildir: + +`prstat -m` + +- Saniye başı en çok CPU kullanan 5 işlemin listesini yazdır: + +`prstat -c -n 5 -s cpu 1` diff --git a/pages.tr/sunos/snoop.md b/pages.tr/sunos/snoop.md new file mode 100644 index 00000000000000..a3fdfeb48d1ac2 --- /dev/null +++ b/pages.tr/sunos/snoop.md @@ -0,0 +1,25 @@ +# snoop + +> Ağ paketi inceleyici. +> SunOS'in tcpdump alternatifi. +> Daha fazla bilgi için: . + +- Belirtilen ağ arayüzünde paketleri yakala: + +`snoop -d {{e1000g0}}` + +- Yakalanan paketleri terminalde göstermek yerine bir dosyaya kaydet: + +`snoop -o {{dosyaismi}}` + +- Belirtilen dosyadan paketlerin ayrıntılı protokol katman özetini görüntüle: + +`snoop -V -i {{dosyaismi}}` + +- Host isminden gelen ağ paketlerini yakala ve belirtilen port'a git: + +`snoop to port {{port}} from host {{hostismi}}` + +- İki IP adresi arasında takas edilen ağ paketleriini yakala ve hex değerlerini göster: + +`snoop -x0 -p4 {{ip_addresi_1}} {{ip_addresi_2}}` diff --git a/pages.tr/sunos/svcadm.md b/pages.tr/sunos/svcadm.md new file mode 100644 index 00000000000000..05f3039af735db --- /dev/null +++ b/pages.tr/sunos/svcadm.md @@ -0,0 +1,24 @@ +# svcadm + +> Servisleri idare et. +> Daha fazla bilgi için: . + +- Servis veritabanındaki bir servisi etkinleştir: + +`svcadm enable {{servis_ismi}}` + +- Servisi devre dışı bırak: + +`svcadm disable {{servis_ismi}}` + +- Çalışan bir servisi yeniden başlat: + +`svcadm restart {{servis_ismi}}` + +- Servise yapulandırma dosyalarını yeniden okumasını emret: + +`svcadm refresh {{servis_ismi}}` + +- Bir servisi bakım durumundan çıkar ve başlamasını emret: + +`svcadm clear {{servis_ismi}}` diff --git a/pages.tr/sunos/svccfg.md b/pages.tr/sunos/svccfg.md new file mode 100644 index 00000000000000..53e9c4cb12b9ad --- /dev/null +++ b/pages.tr/sunos/svccfg.md @@ -0,0 +1,16 @@ +# svccfg + +> Servis yapılandırmalarını içe aktar, dışa aktar ve düzenle. +> Daha fazla bilgi için: . + +- Yapılandırma dosyasını değerlendir: + +`svccfg validate {{smf.xml}}` + +- Servis yapılandırma dosyalarını belirtilen dosyaya yazılacak şekilde dışa aktar: + +`svccfg export {{servisismi}} > {{smf.xml}}` + +- Dosyadan servis yapılandırmalarını içe aktar/güncelle: + +`svccfg import {{smf.xml}}` diff --git a/pages.tr/sunos/svcs.md b/pages.tr/sunos/svcs.md new file mode 100644 index 00000000000000..bd406b77ae5682 --- /dev/null +++ b/pages.tr/sunos/svcs.md @@ -0,0 +1,24 @@ +# svcs + +> Çalışan servislere dair bilgileri sırala. +> Daha fazla bilgi için: . + +- Tüm çalışan servisleri sırala: + +`svcs` + +- Çalışmayan servisleri sırala: + +`svcs -vx` + +- Belirtilen servise dair bilgileri sırala: + +`svcs apache` + +- Servis kayıt dosyasının yerini göster: + +`svcs -L apache` + +- Servis kayıt dosyasının sonunu görüntüle: + +`tail $(svcs -L apache)` diff --git a/pages.tr/sunos/truss.md b/pages.tr/sunos/truss.md new file mode 100644 index 00000000000000..1d2d332ad422d5 --- /dev/null +++ b/pages.tr/sunos/truss.md @@ -0,0 +1,25 @@ +# truss + +> İzleme sistem çağrıları için sorun giderme aracı. +> SunOS'in strace alternatifi. +> Daha fazla bilgi için: . + +- Bir programı tüm alt işlemleriyle beraber çalıştırarak başlat: + +`truss -f {{program}}` + +- Belirtilen işlemi onun PID değerini girerek izlemeye başla: + +`truss -p {{pid}}` + +- Bir programı argümanları ve çevresel değerlerini göstererek başlar: + +`truss -a -e {{program}}` + +- Her bir sistem çağrısı için zaman, çağrı ve hataları say ve program çıkışında bunların özetini bildir: + +`truss -c -p {{pid}}` + +- Bir işlemi onun çıktısını sistem çağrısıyla süzerek izle: + +`truss -p {{pid}} -t {{system_çağrısı_ismi}}` diff --git a/pages.tr/windows/chrome.md b/pages.tr/windows/chrome.md new file mode 100644 index 00000000000000..6cc7a8ff9dddad --- /dev/null +++ b/pages.tr/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Bu komut `chromium` için bir takma addır. +> Daha fazla bilgi için: . + +- Asıl komutun belgelerini görüntüleyin: + +`tldr chromium` diff --git a/pages.tr/windows/cinst.md b/pages.tr/windows/cinst.md new file mode 100644 index 00000000000000..9da724e12249a5 --- /dev/null +++ b/pages.tr/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Bu komut `choco install` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr choco install` diff --git a/pages.tr/windows/clist.md b/pages.tr/windows/clist.md new file mode 100644 index 00000000000000..8dd5c4581fe727 --- /dev/null +++ b/pages.tr/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Bu komut `choco list` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr choco list` diff --git a/pages.tr/windows/cpush.md b/pages.tr/windows/cpush.md new file mode 100644 index 00000000000000..7879c1e387e043 --- /dev/null +++ b/pages.tr/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Bu komut `choco push` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr choco push` diff --git a/pages.tr/windows/cuninst.md b/pages.tr/windows/cuninst.md new file mode 100644 index 00000000000000..f8f442752fbd31 --- /dev/null +++ b/pages.tr/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Bu komut `choco uninstall` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr choco uninstall` diff --git a/pages.tr/windows/iwr.md b/pages.tr/windows/iwr.md new file mode 100644 index 00000000000000..312569933e8e6b --- /dev/null +++ b/pages.tr/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Bu komut `invoke-webrequest` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr invoke-webrequest` diff --git a/pages.tr/windows/pwsh-where.md b/pages.tr/windows/pwsh-where.md new file mode 100644 index 00000000000000..cd66c794791ed8 --- /dev/null +++ b/pages.tr/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Bu komut `Where-Object` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr Where-Object` diff --git a/pages.tr/windows/rd.md b/pages.tr/windows/rd.md new file mode 100644 index 00000000000000..8c355a470e24b7 --- /dev/null +++ b/pages.tr/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> Bu komut `rmdir` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr rmdir` diff --git a/pages.tr/windows/sls.md b/pages.tr/windows/sls.md new file mode 100644 index 00000000000000..6b37461fae5966 --- /dev/null +++ b/pages.tr/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Bu komut `Select-String` için bir takma addır. + +- Asıl komutun belgelerini görüntüleyin: + +`tldr select-string` diff --git a/pages.uk/android/am.md b/pages.uk/android/am.md new file mode 100644 index 00000000000000..837fee112d6c9b --- /dev/null +++ b/pages.uk/android/am.md @@ -0,0 +1,20 @@ +# am + +> Менеджер активності Android. +> Більше інформації: . + +- Почати специфічну активність: + +`am start -n {{com.android.settings/.Settings}}` + +- Почати активність та передайте дані у неї: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Почати активність яка є специфічною дією та категорією: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Перетворити значення в посилання: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.uk/android/bugreport.md b/pages.uk/android/bugreport.md new file mode 100644 index 00000000000000..4b6f19730144d2 --- /dev/null +++ b/pages.uk/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Показати звіт багів в Android. +> Ця команда може бути виконана тільки за допомогою `adb shell`. +> Більше інформації: . + +- Показати повний звіт багів Android девайсу: + +`bugreport` diff --git a/pages.uk/android/bugreportz.md b/pages.uk/android/bugreportz.md new file mode 100644 index 00000000000000..0eb0cdd2e52565 --- /dev/null +++ b/pages.uk/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> Згенерувати зіпований звіт багів. +> Ця команда може бути виконана тільки за допомогою `adb shell`. +> Більше інформації: . + +- Згенерувати повний зіпований звіт багів Android девайсу: + +`bugreportz` + +- Вивести прогрес виконуваної `bugreportz` операції: + +`bugreportz -p` + +- Показати допомогу: + +`bugreportz -h` + +- Вивести версію `bugreportz`: + +`bugreportz -v` diff --git a/pages.uk/android/cmd.md b/pages.uk/android/cmd.md new file mode 100644 index 00000000000000..fa01d4a069d5c3 --- /dev/null +++ b/pages.uk/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Менеджер сервісів Android. +> Більше інформації: . + +- Вивести всі запущені девайси: + +`cmd -l` + +- Викликати конкретний сервіс: + +`cmd {{сервіс}}` + +- Викликати сервіс з заданими аргументами: + +`cmd {{сервіс}} {{аргумент1 аргумент2 ...}}` diff --git a/pages.uk/android/dalvikvm.md b/pages.uk/android/dalvikvm.md new file mode 100644 index 00000000000000..6a4e32adbf823e --- /dev/null +++ b/pages.uk/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Віртуальна машина Android Java. +> Більше інформації: . + +- Запустити конкретну Java програму: + +`dalvikvm -classpath {{шлях/до/файлу.jar}} {{ім'я_класу}}` diff --git a/pages.uk/android/dumpsys.md b/pages.uk/android/dumpsys.md new file mode 100644 index 00000000000000..3ccbe299098953 --- /dev/null +++ b/pages.uk/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Отримати інформацію про системні сервіси Android. +> Ця команда може бути виконана тільки за допомогою `adb shell`. +> Більше інформації: . + +- Отримати дані діагностики для всіх системних сервісів: + +`dumpsys` + +- Отримати дані діагностики для конкретного системного сервісу: + +`dumpsys {{сервіс}}` + +- Вивести усі сервіси `dumpsys`, про які може бути надана інформація: + +`dumpsys -l` + +- Вивести специфічні аргументи для сервісу: + +`dumpsys {{сервіс}} -h` + +- Виключити специфічний сервіс з виводу діагностики: + +`dumpsys --skip {{сервіс}}` + +- Визначити таймаут в секундах (стандартно 10 секунд): + +`dumpsys -t {{8}}` diff --git a/pages.uk/android/getprop.md b/pages.uk/android/getprop.md new file mode 100644 index 00000000000000..e33ed7f2d5dcf0 --- /dev/null +++ b/pages.uk/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Виводить інформацію про системні властивості Android. +> Більше інформації: . + +- Виводить інформацію про системні властивості Android: + +`getprop` + +- Виводить інформацію про специфічну системну властивість: + +`getprop {{властивість}}` + +- Виводить рівень SDK API: + +`getprop {{ro.build.version.sdk}}` + +- Виводить версію Android: + +`getprop {{ro.build.version.release}}` + +- Виводить модель девайсу Android: + +`getprop {{ro.vendor.product.model}}` + +- Виводить розблокований статус OEM: + +`getprop {{ro.oem_unlock_supported}}` + +- Виводить MAC адресу Wi-Fi карти Android: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.uk/android/input.md b/pages.uk/android/input.md new file mode 100644 index 00000000000000..b57f7cdfa09e76 --- /dev/null +++ b/pages.uk/android/input.md @@ -0,0 +1,25 @@ +# input + +> Відправляє коди подій чи жести на сенсорному екрані на Android девайс. +> Ця команда може бути виконана тільки за допомогою `adb shell`. +> Більше інформації: . + +- Відправити код події для одного знаку на Android девайс: + +`input keyevent {{код_події}}` + +- Відправити текст на Android девайс (`%s` визначає пробіли): + +`input text "{{текст}}"` + +- Відправити один дотик на Android девайс: + +`input tap {{позиція_x}} {{позиція_y}}` + +- Відправити жест проведення(свайп) на Android девайс: + +`input swipe {{x_старт}} {{y_старт}} {{х_кінець}} {{y_кінець}} {{тривалість_в_мс}}` + +- Відправити довге натискання на Android девайс, використовуючи жест проведення(свайп): + +`input swipe {{позиція_x}} {{позиція_y}} {{позиція_x}} {{позиція_y}} {{тривалість_в_мс}}` diff --git a/pages.uk/android/logcat.md b/pages.uk/android/logcat.md new file mode 100644 index 00000000000000..380670e47e8535 --- /dev/null +++ b/pages.uk/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Дамп журналу системних повідомлень, включаючи стек викликів, коли трапилась помилка, і інформаційні повідомлення, залоговані застосунками. +> Більше інформації: . + +- Вивести системні логи: + +`logcat` + +- Записати системні логи в файл: + +`logcat -f {{шлях/до/файлу}}` + +- Вивести рядки, які підпадають під регулярний вираз: + +`logcat --regex {{регулярний_вираз}}` + +- Вивести логи для специфічного процесу (PID): + +`logcat --pid {{pid}}` + +- Вивести логи для процесу специфічного пакету: + +`logcat --pid $(pidof -s {{пакет}})` diff --git a/pages.uk/android/pkg.md b/pages.uk/android/pkg.md new file mode 100644 index 00000000000000..046a180257870e --- /dev/null +++ b/pages.uk/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Утиліта менеджеру пакетів для Termux. +> Більше інформації: . + +- Оновити всі встановлені пакети: + +`pkg upgrade` + +- Встановити пакет: + +`pkg install {{пакет}}` + +- Видалити пакет: + +`pkg uninstall {{пакет}}` + +- Перевстановити пакет: + +`pkg reinstall {{пакет}}` + +- Пошук пакету: + +`pkg search {{пакет}}` diff --git a/pages.uk/android/pm.md b/pages.uk/android/pm.md new file mode 100644 index 00000000000000..455a6f767d85db --- /dev/null +++ b/pages.uk/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Вивести інформацію про застосунки на Android девайсі. +> Більше інформації: . + +- Вивести всі встановлені застосунки: + +`pm list packages` + +- Вивести всі встановлені системні застосунки: + +`pm list packages -s` + +- Вивести всі встановлені сторонні (3d-party) застосунки: + +`pm list packages -3` + +- Вивести застосунки, які підпадають під специфічні ключові слова: + +`pm list packages {{ключове_слово1 ключове_слово2 ...}}` + +- Вивести шлях до APK для специфічного застосунку: + +`pm path {{app}}` diff --git a/pages.uk/android/screencap.md b/pages.uk/android/screencap.md new file mode 100644 index 00000000000000..c132f4528f7c5e --- /dev/null +++ b/pages.uk/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Зробіть знімок мобільного екрану. +> Ця команда може бути виконана тільки за допомогою `adb shell`. +> Більше інформації: . + +- Зробіть знімок мобільного екрану: + +`screencap {{шлях/до/файлу}}` diff --git a/pages.uk/android/settings.md b/pages.uk/android/settings.md new file mode 100644 index 00000000000000..8345283587c6f9 --- /dev/null +++ b/pages.uk/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Отримайте інформацію про операційну систему Android. +> Більше інформації: . + +- Вивести список налаштувань в глобальному (`global`) просторі імен: + +`settings list {{global}}` + +- Отримайте значення конкретного налаштування: + +`settings get {{global}} {{airplane_mode_on}}` + +- Встановіть значення для налаштування: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Видаліть визначене налаштування: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.uk/android/wm.md b/pages.uk/android/wm.md new file mode 100644 index 00000000000000..379e4eef72db33 --- /dev/null +++ b/pages.uk/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Показати інформацію про екран Android девайсу. +> Ця команда може бути виконана тільки за допомогою `adb shell`. +> Більше інформації: . + +- Вивести фізичний розмір екрану Android девайсу: + +`wm size` + +- Вивести фізичну щільність екрану Android девайсу: + +`wm density` diff --git a/pages.uk/common/7z.md b/pages.uk/common/7z.md new file mode 100644 index 00000000000000..12922097f5bb09 --- /dev/null +++ b/pages.uk/common/7z.md @@ -0,0 +1,36 @@ +# 7z + +> Архіватор файлів з високим ступенем стиснення. +> Більше інформації: . + +- Додати ([a]dd) файл або каталог до нового або існуючого архіву: + +`7z a {{шлях/до/архіву.7z}} {{шлях/до/файлу_або_каталогу}}` + +- Зашифрувати існуючий архів (включаючи імена файлів): + +`7z a {{шлях/до/зашифрованого_архіву.7z}} -p{{пароль}} -mhe=on {{шлях/до/архіву.7z}}` + +- Розпакувати (e[x]tract) архів, зберігаючи оригінальну структуру каталогів: + +`7z x {{шлях/до/архіву.7z}}` + +- Розпакувати (e[x]tract) архів у певний каталог: + +`7z x {{шлях/до/архіву.7z}} -o{{шлях/до/каталогу}}` + +- Розпакувати (e[x]tract) архів у `stdout`: + +`7z x {{шлях/до/архіву.7z}} -so` + +- Архівувати ([a]rchive) за допомогою певного типу архіву: + +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{шлях/до/архіву}} {{шлях/до/файлу_або_каталогу}}` + +- Вивести ([l]ist) перелік вмісту архіву: + +`7z l {{шлях/до/архіву.7z}}` + +- Встановити рівень стиснення (вище означає більше стиснення, але повільніше): + +`7z a {{шлях/до/архіву.7z}} -mx={{0|1|3|5|7|9}} {{шлях/до/файлу_або_каталогу}}` diff --git a/pages.uk/common/7za.md b/pages.uk/common/7za.md new file mode 100644 index 00000000000000..f350d8e6ceeab2 --- /dev/null +++ b/pages.uk/common/7za.md @@ -0,0 +1,37 @@ +# 7za + +> Архіватор файлів з високим ступенем стиснення. +> Подібний до `7z`, за винятком того, що він підтримує менше типів файлів, але є кросплатформним. +> Більше інформації: . + +- Архівувати ([a]rchive) файл або каталог: + +`7za a {{шлях/до/архіву.7z}} {{шлях/до/файлу_або_каталогу}}` + +- Зашифрувати існуючий архів (включаючи імена файлів): + +`7za a {{шлях/до/зашифрованого_архіву.7z}} -p{{пароль}} -mhe={{on}} {{шлях/до/архіву.7z}}` + +- Розпакувати (e[x]tract) архів, зберігаючи оригінальну структуру каталогів: + +`7za x {{шлях/до/архіву.7z}}` + +- Розпакувати (e[x]tract) архів у певний каталог: + +`7za x {{шлях/до/архіву.7z}} -o{{шлях/до/каталогу}}` + +- Розпакувати (e[x]tract) архів у `stdout`: + +`7za x {{шлях/до/архіву.7z}} -so` + +- Архівувати ([a]rchive) за допомогою певного типу архіву: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{шлях/до/архіву.7z}} {{шлях/до/файлу_або_каталогу}}` + +- Вивести ([l]ist) перелік вмісту архіву: + +`7za l {{шлях/до/архіву.7z}}` + +- Встановити рівень стиснення (вище означає більше стиснення, але повільніше): + +`7za a {{шлях/до/архіву.7z}} -mx={{0|1|3|5|7|9}} {{шлях/до/файлу_або_каталогу}}` diff --git a/pages.uk/common/awk.md b/pages.uk/common/awk.md new file mode 100644 index 00000000000000..d43b3b68d98edb --- /dev/null +++ b/pages.uk/common/awk.md @@ -0,0 +1,36 @@ +# awk + +> Універсальна мова програмування для роботи з файлами. +> Більше інформації: . + +- Вивести п’ятий стовпець (він же поле) у файлі, розділеному пробілами: + +`awk '{print $5}' {{шлях/до/файлу}}` + +- Вивести другий стовпець рядків, що містять "foo", у файлі, розділеному пробілами: + +`awk '/{{foo}}/ {print $2}' {{шлях/до/файлу}}` + +- Вивести останній стовпець кожного рядка у файлі, використовуючи кому (замість пробілу) як роздільник полів: + +`awk -F ',' '{print $NF}' {{шлях/до/файлу}}` + +- Підсумувати значення в першому стовпці файлу та надрукувати підсумок: + +`awk '{s+=$1} END {print s}' {{шлях/до/файлу}}` + +- Вивести кожен третій рядок, починаючи з першого: + +`awk 'NR%3==1' {{шлях/до/файлу}}` + +- Вивести різні значення залежно від умов: + +`awk '{if ($1 == "foo") print "Точний збіг foo"; else if ($1 ~ "bar") print "Частковий збіг bar"; else print "Baz"}' {{шлях/до/файлу}}` + +- Вивести всі рядки, значення 10-го стовпця яких знаходиться між min і max: + +`awk '($10 >= {{min_value}} && $10 <= {{max_value}})'` + +- Вивести таблицю користувачів із UID >=1000 із заголовком і форматуванням, використовуючи двокрапку як роздільник («%-20s» означає: 20 символів рядка з вирівнюванням по лівому краю, «%6s» означає: 6 символів рядка з вирівнюванням по правому краю): + +`awk 'BEGIN {FS=":";printf "%-20s %6s %25s\n", "Name", "UID", "Shell"} $4 >= 1000 {printf "%-20s %6d %25s\n", $1, $4, $7}' /etc/passwd` diff --git a/pages.uk/common/clang-cpp.md b/pages.uk/common/clang-cpp.md new file mode 100644 index 00000000000000..36476bfdbb8160 --- /dev/null +++ b/pages.uk/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Ця команда є псевдонімом для `clang++`. + +- Дивись документацію для оригінальної команди: + +`tldr clang++` diff --git a/pages.uk/common/clojure.md b/pages.uk/common/clojure.md new file mode 100644 index 00000000000000..a7bc496b58808a --- /dev/null +++ b/pages.uk/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Ця команда є псевдонімом для `clj`. + +- Дивись документацію для оригінальної команди: + +`tldr clj` diff --git a/pages.uk/common/cola.md b/pages.uk/common/cola.md new file mode 100644 index 00000000000000..7f4a181c6961e4 --- /dev/null +++ b/pages.uk/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Ця команда є псевдонімом для `git-cola`. + +- Дивись документацію для оригінальної команди: + +`tldr git-cola` diff --git a/pages.uk/common/dog.md b/pages.uk/common/dog.md new file mode 100644 index 00000000000000..613e2bfb5966c4 --- /dev/null +++ b/pages.uk/common/dog.md @@ -0,0 +1,29 @@ +# dog + +> Утиліта пошуку DNS. +> Вона має кольоровий вихід, підтримує протоколи DNS-over-TLS і DNS-over-HTTPS та може видавати JSON. +> Більше інформації: . + +- Шукає IP-адреси пов'язані з іменем хоста (A records): + +`dog {{example.com}}` + +- Запитує тип записів MX, пов’язаних із заданим доменним ім’ям: + +`dog {{example.com}} MX` + +- Вкажіть конкретний DNS-сервер для запиту (наприклад, Cloudflare): + +`dog {{example.com}} MX @{{1.1.1.1}}` + +- Запит через TCP, а не UDP: + +`dog {{example.com}} MX @{{1.1.1.1}} {{[-T|--tcp]}}` + +- Запитує тип записів MX, пов’язаних із заданим доменним ім’ям через TCP, використовуючи явні аргументи: + +`dog {{[-q|--query]}} {{example.com}} {{[-t|--type]}} MX {{[-n|--nameserver]}} {{1.1.1.1}} {{[-T|--tcp]}}` + +- Шукає IP-адреси, пов’язані з іменем хоста (записи A), за допомогою DNS через HTTPS (DoH): + +`dog {{example.com}} {{[-H|--https]}} @{{https://cloudflare-dns.com/dns-query}}` diff --git a/pages.uk/common/dokku.md b/pages.uk/common/dokku.md new file mode 100644 index 00000000000000..fcaec019686d90 --- /dev/null +++ b/pages.uk/common/dokku.md @@ -0,0 +1,25 @@ +# dokku + +> Міні-Heroku на основі Docker (PaaS). +> Легко розгортає кілька програм на власному сервері різними мовами за допомогою однієї команди `git-push`. +> Більше інформації: . + +- Показати запущені програми: + +`dokku apps` + +- Створити програму: + +`dokku apps:create {{ім'я_програми}}` + +- Видалити програму: + +`dokku apps:destroy {{ім'я_програми}}` + +- Встановити плагін: + +`dokku plugin:install {{повний_url_на_репозиторій}}` + +- Зв'язати базу даних із програмою: + +`dokku {{db}}:link {{ім'я_бази_даних}} {{ім'я_програми}}` diff --git a/pages.uk/common/find.md b/pages.uk/common/find.md new file mode 100644 index 00000000000000..0e799503f57eb0 --- /dev/null +++ b/pages.uk/common/find.md @@ -0,0 +1,36 @@ +# find + +> Пошук файлів або каталогів в дереві каталогів, рекурсивно. +> Більше інформації: . + +- Знайти файли за розширенням: + +`find {{кореневий_шлях}} -name '{{*.ext}}'` + +- Знайти файли, що відповідають декільком шаблонам шляху/імен: + +`find {{кореневий_шлях}} -path '{{**/path/**/*.ext}}' -or -name '{{*шаблон*}}'` + +- Знайти каталоги, що відповідають заданому імені, у режимі без урахування регістру: + +`find {{кореневий_шлях}} -type d -iname '{{*lib*}}'` + +- Знайти файли, що відповідають заданому шаблону, за винятком певних шляхів: + +`find {{кореневий_шлях}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- Знайти файли, що відповідають заданому діапазону розмірів, обмеживши рекурсивну глибину до "1": + +`find {{кореневий_шлях}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- Виконати команду для кожного файлу (використовуйте `{}` в команді, щоб отримати доступ до імені файлу): + +`find {{кореневий_шлях}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- Знайти всі файли, змінені сьогодні, і передати результати одній команді як аргументи: + +`find {{кореневий_шлях}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` + +- Знайти порожні файли (0 байт) або каталоги та докладно видалити їх: + +`find {{кореневий_шлях}} -type {{f|d}} -empty -delete -print` diff --git a/pages.uk/common/fossil-ci.md b/pages.uk/common/fossil-ci.md new file mode 100644 index 00000000000000..bfdee7a3e16e04 --- /dev/null +++ b/pages.uk/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Ця команда є псевдонімом для `fossil commit`. + +- Дивись документацію для оригінальної команди: + +`tldr fossil commit` diff --git a/pages.uk/common/fossil-forget.md b/pages.uk/common/fossil-forget.md new file mode 100644 index 00000000000000..da9594f485f7be --- /dev/null +++ b/pages.uk/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Ця команда є псевдонімом для `fossil rm`. +> Більше інформації: . + +- Дивись документацію для оригінальної команди: + +`tldr fossil rm` diff --git a/pages.uk/common/fossil-new.md b/pages.uk/common/fossil-new.md new file mode 100644 index 00000000000000..7ebf2894bf8065 --- /dev/null +++ b/pages.uk/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Ця команда є псевдонімом для `fossil init`. + +- Дивись документацію для оригінальної команди: + +`tldr fossil init` diff --git a/pages.uk/common/fossil-rm.md b/pages.uk/common/fossil-rm.md new file mode 100644 index 00000000000000..7dd6536a34ce2b --- /dev/null +++ b/pages.uk/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Ця команда є псевдонімом для `fossil delete`. + +- Дивись документацію для оригінальної команди: + +`tldr fossil delete` diff --git a/pages.uk/common/gcloud-auth.md b/pages.uk/common/gcloud-auth.md new file mode 100644 index 00000000000000..3109cbdc07c6ac --- /dev/null +++ b/pages.uk/common/gcloud-auth.md @@ -0,0 +1,29 @@ +# gcloud auth + +> Видача та скасування авторизації для `gcloud` і керування обліковими даними. +> Дивіться також: `gcloud`. +> Більше інформації: . + +- Авторизувати доступ до Google Cloud для `gcloud` CLI за допомогою облікових даних користувача Google Cloud і встановити поточний обліковий запис як активний: + +`gcloud auth login` + +- Авторизувати доступ до Google Cloud, подібно до `gcloud auth login`, але за допомогою облікових даних сервісного облікового запису: + +`gcloud auth activate-service-account` + +- Керувати Application Default Credentials (ADC) для хмарних клієнтських бібліотек: + +`gcloud auth application-default` + +- Вивести список облікових записів Google Cloud, які зараз автентифіковані у вашій системі: + +`gcloud auth list` + +- Вивести токен (token) доступу поточного облікового запису: + +`gcloud auth print-access-token` + +- Видалити облікові дані доступу до облікового запису: + +`gcloud auth revoke` diff --git a/pages.uk/common/gcloud.md b/pages.uk/common/gcloud.md new file mode 100644 index 00000000000000..e394d01781de46 --- /dev/null +++ b/pages.uk/common/gcloud.md @@ -0,0 +1,37 @@ +# gcloud + +> Офіційний CLI інструмент для Google Cloud Platform. +> Примітка: підкоманди `gcloud` мають власну документацію щодо використання. +> Більше інформації: . + +- Вивести всі властивості в активній конфігурації: + +`gcloud config list` + +- Увійти в обліковий запис Google: + +`gcloud auth login` + +- Встановити активний проект: + +`gcloud config set project {{назва_проекту}}` + +- SSH в екземпляр віртуальної машини: + +`gcloud compute ssh {{користувач}}@{{екземпляр}}` + +- Вивести всі екземпляри Google Compute Engine у проекті (за замовчуванням виводяться екземпляри з усіх зон): + +`gcloud compute instances list` + +- Оновити файл kubeconfig відповідними обліковими даними, щоб вказати `kubectl` на певний кластер у Google Kubernetes Engine (GKE): + +`gcloud container clusters get-credentials {{назва_кластера}}` + +- Оновити усі компоненти `gcloud`: + +`gcloud components update` + +- Вивести довідки для заданої команди: + +`gcloud help {{команда}}` diff --git a/pages.uk/common/gh-cs.md b/pages.uk/common/gh-cs.md new file mode 100644 index 00000000000000..f8ed576834bce5 --- /dev/null +++ b/pages.uk/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Ця команда є псевдонімом для `gh codespace`. + +- Дивись документацію для оригінальної команди: + +`tldr gh codespace` diff --git a/pages.uk/common/gist.md b/pages.uk/common/gist.md new file mode 100644 index 00000000000000..eca3758bb54628 --- /dev/null +++ b/pages.uk/common/gist.md @@ -0,0 +1,32 @@ +# gist + +> Завантажує код у https://gist.github.com. +> Більше інформації: . + +- Увійти в gist на цьому комп'ютері: + +`gist --login` + +- Створити gist з будь-якої кількості текстових файлів: + +`gist {{ім'я_файлу.txt}} {{ім'я_файлу2.txt}}` + +- Створити приватний gist з описом: + +`gist --private --description "{{Змістовний опис}}" {{ім'я_файлу.txt}}` + +- Прочитати контент з `stdin` і створити gist з цього: + +`{{echo "привіт світ"}} | gist` + +- Перелічити свої публічні та приватні gist: + +`gist --list` + +- Перелічити всі публічні gist будь-якого користувача: + +`gist --list {{ім'я_користувача}}` + +- Оновити gist за допомогою ID з URL: + +`gist --update {{GIST_ID}} {{ім'я_файлу.txt}}` diff --git a/pages.uk/common/git-abort.md b/pages.uk/common/git-abort.md new file mode 100644 index 00000000000000..1ec2eb08346cc4 --- /dev/null +++ b/pages.uk/common/git-abort.md @@ -0,0 +1,9 @@ +# git abort + +> Перериває поточне перебазування(rebase), злиття(merge) або вибір(cherry-pick). +> Частина `git-extras`. +> Більше інформації: . + +- Перериває Git перебазування(rebase), злиття(merge) або вибір(cherry-pick): + +`git abort` diff --git a/pages.uk/common/git-add.md b/pages.uk/common/git-add.md new file mode 100644 index 00000000000000..946ad3cf220b6e --- /dev/null +++ b/pages.uk/common/git-add.md @@ -0,0 +1,32 @@ +# git add + +> Додає змінені файли до індексу. +> Більше інформації: . + +- Додає змінені файли до індексу: + +`git add {{шлях/до/файлу}}` + +- Додає усі файли (контрольовані та неконтрольовані): + +`git add {{[-A|--all]}}` + +- Додає тільки ті файли, що вже контрольовані: + +`git add {{[-u|--update]}}` + +- Додає й ті файли, що ігноруються: + +`git add {{[-f|--force]}}` + +- Інтерактивно індексує частини файлів: + +`git add {{[-p|--patch]}}` + +- Інтерактивно індексує частини вказаного файлу: + +`git add {{[-p|--patch]}} {{шлях/до/файлу}}` + +- Інтерактивно індексує файл: + +`git add {{[-i|--interactive]}}` diff --git a/pages.uk/common/git-annotate.md b/pages.uk/common/git-annotate.md new file mode 100644 index 00000000000000..0edb64431426be --- /dev/null +++ b/pages.uk/common/git-annotate.md @@ -0,0 +1,18 @@ +# git annotate + +> Показує хеш коміту і останнього автора на кожному рядку у файлі. +> Дивіться `git blame`, якій варто віддати перевагу над `git annotate`. +> `git annotate` призначена для тих, хто знайомий із іншими системами контролю версій. +> Більше інформації: . + +- Виводить файл з ім'ям автора та хешем коміту доданими поперед кожного рядку: + +`git annotate {{шлях/до/файлу}}` + +- Виводить файл з електронною поштою автора та хешем коміту доданими поперед кожного рядку: + +`git annotate {{[-e|--show-email]}} {{шлях/до/файлу}}` + +- Виводить лише рядки, які відповідають регулярному виразу: + +`git annotate -L :{{регулярний_вираз}} {{шлях/до/файлу}}` diff --git a/pages.uk/common/git-blame.md b/pages.uk/common/git-blame.md new file mode 100644 index 00000000000000..96175e07eab212 --- /dev/null +++ b/pages.uk/common/git-blame.md @@ -0,0 +1,20 @@ +# git blame + +> Показує хеш коміту та останнього автора на кожному рядку у файлі. +> Більше інформації: . + +- Виводить файл з ім'ям автора та хешем коміту на кожному рядку: + +`git blame {{шлях/до/файлу}}` + +- Виводить електронну пошту автора замість імені: + +`git blame {{[-e|--show-email]}} {{шлях/до/файлу}}` + +- Виводить файл з ім'ям автора та хешем коміту на кожному рядку у вказаному коміті: + +`git blame {{коміт}} {{шлях/до/файлу}}` + +- Виводить файл з ім'ям автора та хешем коміту на кожному рядку до вказаного коміту: + +`git blame {{коміт}}~ {{шлях/до/файлу}}` diff --git a/pages.uk/common/git-checkout-index.md b/pages.uk/common/git-checkout-index.md new file mode 100644 index 00000000000000..2b1ae3830c9a9a --- /dev/null +++ b/pages.uk/common/git-checkout-index.md @@ -0,0 +1,20 @@ +# git checkout-index + +> Копіює файли з індексу до робочої директорії. +> Більше інформації: . + +- Відновлює усі файли, що були видалені з часу останнього коміту: + +`git checkout-index --all` + +- Відновлює усі файли, що були видалені чи змінені з часу останнього коміту: + +`git checkout-index --all --force` + +- Відновлює усі файли, що були змінені з часу останнього коміту, ігноруючи файли, що були видалені: + +`git checkout-index --all --force --no-create` + +- Експортує копію робочої директорії, у стані останнього коміту, до вказаного каталогу (слеш наприкінці обов'язковий): + +`git checkout-index --all --force --prefix={{шлях/до/директорії_експорту/}}` diff --git a/pages.uk/common/git-checkout.md b/pages.uk/common/git-checkout.md new file mode 100644 index 00000000000000..d63daafe232a06 --- /dev/null +++ b/pages.uk/common/git-checkout.md @@ -0,0 +1,36 @@ +# git checkout + +> Перемикає на гілку чи шлях до робочої директорії. +> Більше інформації: . + +- Створює та перемикає на нову гілку: + +`git checkout -b {{назва_гілки}}` + +- Створює та перемикає на нову гілку спираючись на певне посилання (приклади посилань: гілка, віддалена/гілка, тег): + +`git checkout -b {{назва_гілки}} {{посилання}}` + +- Перемикає на локальну гілку, що вже існує: + +`git checkout {{назва_гілки}}` + +- Перемикає на попередню гілку: + +`git checkout -` + +- Перемикає на віддалену гілку, що вже існує: + +`git checkout {{[-t|--track]}} {{назва_віддаленого_сховища}}/{{назва_гілки}}` + +- Відкидає усі неіндексовані зміни у поточній директорії (дізнайтесь більше про команди, як скасування, ознайомившись із `git reset`): + +`git checkout .` + +- Скасовує неіндексовані зміну у файлі: + +`git checkout {{ім'я_файлу}}` + +- Замінює файл у поточній директорії на його версію, яку було закомічено до вказаної гілки: + +`git checkout {{назва_гілки}} -- {{ім'я_файлу}}` diff --git a/pages.uk/common/git-cherry-pick.md b/pages.uk/common/git-cherry-pick.md new file mode 100644 index 00000000000000..d605018bfd4491 --- /dev/null +++ b/pages.uk/common/git-cherry-pick.md @@ -0,0 +1,21 @@ +# git cherry-pick + +> Застосовує зміни, зроблені у наявних комітах, до поточної гілки. +> Для застосування змін до іншої гілки спершу виконайте `git checkout`, аби переключитися на бажану гілку. +> Більше інформації: . + +- Застосовує коміт до поточної гілки: + +`git cherry-pick {{коміт}}` + +- Застосовує проміжок комітів до поточної гілки (дивіться також `git rebase --onto`): + +`git cherry-pick {{початковий_коміт}}~..{{кінцевий_коміт}}` + +- Застосовує декілька (непослідовних) комітів до поточної гілки: + +`git cherry-pick {{коміт1 коміт2 ...}}` + +- Додає зміни з коміту до робочої директорії без створення коміту: + +`git cherry-pick {{[-n|--no-commit]}} {{коміт}}` diff --git a/pages.uk/common/git-cherry.md b/pages.uk/common/git-cherry.md new file mode 100644 index 00000000000000..1f82f5faef4852 --- /dev/null +++ b/pages.uk/common/git-cherry.md @@ -0,0 +1,16 @@ +# git cherry + +> Виявляє коміти, які ще не були застосовані до першоджерела. +> Більше інформації: . + +- Показує коміти (та їхні повідомлення) із відповідними комітами першоджерела: + +`git cherry {{[-v|--verbose]}}` + +- Визначає інші першоджерело та тематичну гілку: + +`git cherry {{origin}} {{topic}}` + +- Обмежує коміти до тих, що у наданих межах: + +`git cherry {{origin}} {{topic}} {{base}}` diff --git a/pages.uk/common/git-clone.md b/pages.uk/common/git-clone.md new file mode 100644 index 00000000000000..5f378e15945e41 --- /dev/null +++ b/pages.uk/common/git-clone.md @@ -0,0 +1,32 @@ +# git clone + +> Клонує репозиторій, що існує. +> Більше інформації: . + +- Клонує репозиторій, що існує, у задану директорію: + +`git clone {{шлях_до_віддаленого_репозиторію}} {{шлях/до/директорії}}` + +- Клонує репозиторій, що існує, та його підмодулі: + +`git clone --recursive {{шлях_до_віддаленого_репозиторію}}` + +- Клонує локальний репозиторій: + +`git clone --local {{шлях/до/локального/репозиторію}}` + +- Клонує тихо: + +`git clone --quiet {{шлях_до_віддаленого_репозиторію}}` + +- Клонує з репозиторію, що існує, тільки 10 останніх комітів з гілки по замовчанню (корисно для заощадження часу): + +`git clone --depth 10 {{шлях_до_віддаленого_репозиторію}}` + +- Клонує з репозиторію, що існує, тільки конкретну гілку: + +`git clone --branch {{ім'я}} --single-branch {{шлях_до_віддаленого_репозиторію}}` + +- Клонує репозиторій, що існує, використовуючи задану команду SSH: + +`git clone --config core.sshCommand="{{ssh -i шлях/до/приватного_ключа_ssh}}" {{шлях_до_віддаленого_репозиторію}}` diff --git a/pages.uk/common/git-commit-graph.md b/pages.uk/common/git-commit-graph.md new file mode 100644 index 00000000000000..f86533a45ed69d --- /dev/null +++ b/pages.uk/common/git-commit-graph.md @@ -0,0 +1,16 @@ +# git commit-graph + +> Записує та перевіряє файл графіку комітів Git. +> Більше інформації: . + +- Записує файл графіку комітів для спакованих комітів у локальній директорії `.git`: + +`git commit-graph write` + +- Записує файл графіку комітів, що містить набір усіх досяжних комітів: + +`git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits` + +- Записує файл графіку комітів, що містить усі коміти у поточному файлі графіку комітів разом з тими, до яких можна отримати доступ з `HEAD`: + +`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append` diff --git a/pages.uk/common/git-commit-tree.md b/pages.uk/common/git-commit-tree.md new file mode 100644 index 00000000000000..9ab2c066937807 --- /dev/null +++ b/pages.uk/common/git-commit-tree.md @@ -0,0 +1,21 @@ +# git commit-tree + +> Низькорівнева утиліта для створення об'єктів комітів. +> Дивись також: `git commit`. +> Більше інформації: . + +- Створює об'єкт коміту із певним повідомленням: + +`git commit-tree {{tree}} -m "{{повідомлення}}"` + +- Створює об'єкт коміту читаючи повідомлення з файлу (використовуй `-` для читання зі стандартного введення): + +`git commit-tree {{tree}} -F {{шлях/до/файлу}}` + +- Створює GPG-підписаний об'єкт коміту: + +`git commit-tree {{tree}} -m "{{повідомлення}}" {{[-S|--gpg-sign]}}` + +- Створює об'єкт коміту із певним батьківським об'єктом коміту: + +`git commit-tree {{tree}} -m "{{повідомлення}}" -p {{sha_батьківського_коміту}}` diff --git a/pages.uk/common/git-commit.md b/pages.uk/common/git-commit.md new file mode 100644 index 00000000000000..45c0f7a91a954b --- /dev/null +++ b/pages.uk/common/git-commit.md @@ -0,0 +1,28 @@ +# git commit + +> Комітить файли до репозиторію. +> Більше інформації: . + +- Комітить індексовані файли до репозиторію з повідомленням: + +`git commit {{[-m|--message]}} "{{повідомлення}}"` + +- Комітить індексовані файли з повідомленням, що прочитано у файлі: + +`git commit {{[-F|--file]}} {{шлях/до/файлу_з_повідомленням}}` + +- Автоматично індексує усі змінені файли і комітить їх з повідомленням: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{повідомлення}}"` + +- Оновлює останній коміт додаючи до нього щойно індексовані зміни, також змінює геш коміту: + +`git commit --amend` + +- Комітить тільки певні (вже індексовані) файли: + +`git commit {{шлях/до/файлу1 шлях/до/файлу2 ...}}` + +- Створює коміт, навіть якщо немає жодного індексованого файлу: + +`git commit {{[-m|--message]}} "{{повідомлення}}" --allow-empty` diff --git a/pages.uk/common/git-commits-since.md b/pages.uk/common/git-commits-since.md new file mode 100644 index 00000000000000..9705c106e412e1 --- /dev/null +++ b/pages.uk/common/git-commits-since.md @@ -0,0 +1,21 @@ +# git commits-since + +> Виводить коміти починаючи з певного періоду часу або дати. +> Частина `git-extras`. +> Більше інформації: . + +- Виводить коміти починаючи зі вчора: + +`git commits-since {{yesterday}}` + +- Виводить коміти починаючи з минулого тижня: + +`git commits-since {{last week}}` + +- Виводить коміти починаючи з минулого місяця: + +`git commits-since {{last month}}` + +- Виводить коміти починаючи зі вчора з 14:00: + +`git commits-since {{yesterday 2pm}}` diff --git a/pages.uk/common/git-config.md b/pages.uk/common/git-config.md new file mode 100644 index 00000000000000..227fc478a60fa4 --- /dev/null +++ b/pages.uk/common/git-config.md @@ -0,0 +1,33 @@ +# git config + +> Керує спеціальними параметрами конфігурації для репозиторію Git. +> Конфігурації можуть бути локальні (для поточного репозиторію) або глобальні (для поточного користувача). +> Більше інформації: . + +- Надає перелік лише локальних налаштувань (що зберігаються у `.git/config` поточного репозиторію): + +`git config {{[-l|--list]}} --local` + +- Надає перелік лише глобальних налаштувань (що зберігаються у `~/.gitconfig`): + +`git config {{[-l|--list]}} --global` + +- Отримує значення для наданого параметру конфігурації: + +`git config alias.unstage` + +- Встановлює глобальне значення для наданого параметру конфігурації: + +`git config --global alias.unstage "reset HEAD --"` + +- Повертає значення по замовчанню для наданого глобального параметру конфігурації: + +`git config --global --unset alias.unstage` + +- Відкриває для редагування файл конфігурацій поточного репозиторію у редакторі по замовчуванню: + +`git config {{[-e|--edit]}}` + +- Відкриває для редагування файл з глобальними конфігураціями у редакторі по замовчанню: + +`git config --global {{[-e|--edit]}}` diff --git a/pages.uk/common/git-fetch.md b/pages.uk/common/git-fetch.md new file mode 100644 index 00000000000000..2de8db81bc1c65 --- /dev/null +++ b/pages.uk/common/git-fetch.md @@ -0,0 +1,24 @@ +# git fetch + +> Завантажує об'єкти та посилання з віддаленого сховища. +> Більше інформації: . + +- Отримує останні зміни з віддаленого сховища за замовчуванням (якщо встановлено): + +`git fetch` + +- Отримує нові гілки з конкретного віддаленого сховища: + +`git fetch {{назва_сховища}}` + +- Отримує останні зміни з усіх віддалених сховищ: + +`git fetch --all` + +- Отримує, зокрема, й мітки з віддаленого сховища: + +`git fetch {{[-t|--tags]}}` + +- Видаляє локальні посилання на віддалені гілки, які були видалені з віддаленого сховища: + +`git fetch {{[-p|--prune]}}` diff --git a/pages.uk/common/git-merge.md b/pages.uk/common/git-merge.md new file mode 100644 index 00000000000000..75fc25d2a305eb --- /dev/null +++ b/pages.uk/common/git-merge.md @@ -0,0 +1,20 @@ +# git merge + +> Злиття гілок разом. +> Більше інформації: . + +- Злиття гілки з поточною гілкою: + +`git merge {{назва_гілки}}` + +- Редагує повідомлення при злитті гілок: + +`git merge {{[-e|--edit]}} {{назва_гілки}}` + +- Зливає гілки і створює комміт злиття: + +`git merge --no-ff {{назва_гілки}}` + +- Перериває злиття у випадку конфлікту: + +`git merge --abort` diff --git a/pages.uk/common/git-pull.md b/pages.uk/common/git-pull.md new file mode 100644 index 00000000000000..f7f67e9b57f435 --- /dev/null +++ b/pages.uk/common/git-pull.md @@ -0,0 +1,16 @@ +# git pull + +> Отримує дані з віддаленого репозиторію та зливає їх із локальним. +> Більше інформації: . + +- Завантажити зміни із типового віддаленого репозиторію та злити їх: + +`git pull` + +- Завантажити зміни із типового віддаленого репозиторію та злити їх, використовуючи перемотання: + +`git pull {{[-r|--rebase]}}` + +- Завантажити зміни із певної гілки вказаного віддаленого репозиторію, а потім злити їх у HEAD: + +`git pull {{назва_сховища}} {{назва_гілки}}` diff --git a/pages.uk/common/git-push.md b/pages.uk/common/git-push.md new file mode 100644 index 00000000000000..de01209a16889a --- /dev/null +++ b/pages.uk/common/git-push.md @@ -0,0 +1,36 @@ +# git push + +> Надсилає коміти до віддаленого репозиторію. +> Більше інформації: . + +- Надіслати локальні зміни у поточній гілці до її типового віддаленого відповідника: + +`git push` + +- Надіслати зміни із вказаної локальної гілки до її віддаленого відповідника: + +`git push {{назва_сховища}} {{локальна_гілка}}` + +- Надіслати зміни із вказаної локальної гілки до її віддаленого відповідника та встановити цю віддалену гілку як типову для дій надсилання і стягування: + +`git push {{[-u|--set-upstream]}} {{назва_сховища}} {{локальна_гілка}}` + +- Надіслати зміни із вказаної локальної гілки до вказаної віддаленої: + +`git push {{назва_сховища}} {{локальна_гілка}}:{{віддалена_гілка}}` + +- Надіслати зміни з усіх локальних гілок до їх відповідників у вказаному віддаленому репозиторії: + +`git push --all {{назва_сховища}}` + +- Видалити гілку у віддаленому репозиторії: + +`git push {{назва_сховища}} {{[-d|--delete]}} {{віддалена_гілка}}` + +- Видалити віддалену гілку, що не містить локального відповідника: + +`git push --prune {{назва_сховища}}` + +- Надіслати мітки, що відсутні у віддаленому репозиторії: + +`git push --tags` diff --git a/pages.uk/common/git-rebase.md b/pages.uk/common/git-rebase.md new file mode 100644 index 00000000000000..8055699489daa7 --- /dev/null +++ b/pages.uk/common/git-rebase.md @@ -0,0 +1,37 @@ +# git rebase + +> Повторно застосовує коміти з однієї гілки поверх іншої. +> Зазвичай використовується для дублювання комітів з однієї гілки до іншої, шляхом створення нових комітів у гілці призначення. +> Більше інформації: . + +- Перебазовує активну гілку поверх іншої, вказаної гілки: + +`git rebase {{нова_базова_гілка}}` + +- Розпочинає інтерактивне перебазування, яке дозволяє змінювати порядок, оминати, об'єднувати чи редагувати коміти: + +`git rebase {{[-i|--interactive]}} {{цільова_базова_гілка_або_хеш_коміту}}` + +- Продовжує перебазування перерване через збій злиття після виправлення конфліктних файлів: + +`git rebase --continue` + +- Продовжує перебазування призупинене через конфлікти при злитті, пропустивши конфліктний коміт: + +`git rebase --skip` + +- Перериває поточне перебазування (наприклад, якщо воно було перерване через конфлікт при злитті): + +`git rebase --abort` + +- Переносить частину поточної гілки поверх нової бази, використавши стару базу, як початок: + +`git rebase --onto {{нова_база}} {{стара_база}}` + +- Повторно застосовує останні 5 комітів, зупиняючись аби змінювати порядок, оминати, об'єднувати чи редагувати їх: + +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` + +- Автоматично вирішує будь-які конфлікти надавши перевагу робочій версії гілки (ключ `theirs` має обернене значення в цьому випадку): + +`git rebase {{[-X|--strategy-option]}} theirs {{назва_гілки}}` diff --git a/pages.uk/common/git-status.md b/pages.uk/common/git-status.md new file mode 100644 index 00000000000000..9767b9e0680fd3 --- /dev/null +++ b/pages.uk/common/git-status.md @@ -0,0 +1,21 @@ +# git status + +> Показує зміни до файлів у Git-репозиторії. +> Списки змінених, доданих та видалених файлів в порівнянні до поточного зареєстрованого коміту. +> Більше інформації: . + +- Показує змінені файли які ще не додані до коміту: + +`git status` + +- Виводить інформацію у стислому форматі: + +`git status {{[-s|--short]}}` + +- Виводить інформацію без неконтрольованих файлів: + +`git status {{[-uno|--untracked-files=no]}}` + +- Виводить інформацію у стислому форматі разом з інформацією про гілку: + +`git status {{[-sb|--short --branch]}}` diff --git a/pages.uk/common/git.md b/pages.uk/common/git.md new file mode 100644 index 00000000000000..c0537e8d1db1b9 --- /dev/null +++ b/pages.uk/common/git.md @@ -0,0 +1,29 @@ +# git + +> Розподілена система контролю версій. +> Деякі команди, як от `git commit`, мають свою власну документацію. +> Більше інформації: . + +- Виконує підкоманду Git: + +`git {{підкоманда}}` + +- Виконує підкоманду Git у довільному репозиторії, вказавши шлях до нього: + +`git -C {{шлях/до/репозиторію}} {{підкоманда}}` + +- Виконує команду Git із вказаними параметрами: + +`git -c '{{config.key}}={{значення}}' {{підкоманда}}` + +- Показує базову допомогу: + +`git --help` + +- Показує допомогу з певної підкоманди Git (наприклад, `commit`, `log` чи іншої): + +`git help {{підкоманда}}` + +- Перевіряє версію Git: + +`git --version` diff --git a/pages.uk/common/gnmic-sub.md b/pages.uk/common/gnmic-sub.md new file mode 100644 index 00000000000000..41eccbd4b94a7a --- /dev/null +++ b/pages.uk/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Ця команда є псевдонімом для `gnmic subscribe`. + +- Дивись документацію для оригінальної команди: + +`tldr gnmic subscribe` diff --git a/pages.uk/common/grep.md b/pages.uk/common/grep.md new file mode 100644 index 00000000000000..1430c5dc874889 --- /dev/null +++ b/pages.uk/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Пошук шаблонів у файлах за допомогою регулярних виразів. +> Більше інформації: . + +- Знайти шаблон у файлі: + +`grep "{{шаблон_пошуку}}" {{шлях/до/файлу}}` + +- Знайти точний рядок (відключає регулярні вирази): + +`grep {{[-F|--fixed-strings]}} "{{точний_рядок}}" {{шлях/до/файлу}}` + +- Знайти шаблон у всіх файлах рекурсивно в каталозі, виводячи номери рядків збігів, ігноруючи бінарні файли: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{шаблон_пошуку}}" {{шлях/до/каталогу}}` + +- Використовувати розширені регулярні вирази (підтримує `?`, `+`, `{}`, `()`, та `|`), у режимі без урахування регістру: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{шаблон_пошуку}}" {{шлях/до/файлу}}` + +- Вивести 3 рядки контексту навколо, до, або після кожного збігу: + +`grep {{--context|--before-context|--after-context}} 3 "{{шаблон_пошуку}}" {{шлях/до/файлу}}` + +- Вивести назву файлу та номер рядка для кожного збігу з кольоровим виводом: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{шаблон_пошуку}}" {{шлях/до/файлу}}` + +- Шукати рядкі, що відповідають шаблону, виводячи лише відповідний текст: + +`grep {{[-o|--only-matching]}} "{{шаблон_пошуку}}" {{шлях/до/файлу}}` + +- Знайти в `stdin` рядки, які не відповідають шаблону: + +`cat {{шлях/до/файлу}} | grep {{[-v|--invert-match]}} "{{шаблон_пошуку}}"` diff --git a/pages.uk/common/gsutil.md b/pages.uk/common/gsutil.md new file mode 100644 index 00000000000000..3f7ed66dfcc9fd --- /dev/null +++ b/pages.uk/common/gsutil.md @@ -0,0 +1,33 @@ +# gsutil + +> Доступ до Google Cloud Storage. +> Ви можете використовувати `gsutil` для виконання широкого діапазону завдань із керування контейнерами (buckets) та об’єктами. +> Більше інформації: . + +- Вивести всі контейнери (buckets) в проекті, до якого ви ввійшли: + +`gsutil ls` + +- Вивести об’єкти у контейнері (bucket): + +`gsutil ls -r 'gs://{{bucket_name}}/{{prefix}}**'` + +- Завантажити об'єкт із контейнера (bucket): + +`gsutil cp gs://{{bucket_name}}/{{ім'я_об'єкта}} {{шлях/де/зберегти_розташування}}` + +- Завантажити об’єкт у контейнер (bucket): + +`gsutil cp {{місцезнаходження_об'єкта}} gs://{{destination_bucket_name}}/` + +- Перейменувати або перемістіти об’єкти у контейнері (bucket): + +`gsutil mv gs://{{bucket_name}}/{{старе_ім'я_об'єкта}} gs://{{bucket_name}}/{{нове_ім'я_об'єкта}}` + +- Створити новий контейнер (bucket) в проекті, у який ви ввійшли: + +`gsutil mb gs://{{bucket_name}}` + +- Видалити контейнер (bucket) та видалити всі об’єкти в ньому: + +`gsutil rm -r gs://{{bucket_name}}` diff --git a/pages.uk/common/gzip.md b/pages.uk/common/gzip.md new file mode 100644 index 00000000000000..fd113469a499f7 --- /dev/null +++ b/pages.uk/common/gzip.md @@ -0,0 +1,32 @@ +# gzip + +> Утиліта архівування/розпакування файлів за допомогою стиснення `gzip` (LZ77). +> Більше інформації: . + +- Архівувати файл, замінивши його архівом `gzip`: + +`gzip {{шлях/до/файлу}}` + +- Розпакувати файл, замінивши його оригінальною нестисненою версією: + +`gzip {{[-d|--decompress]}} {{шлях/до/файлу.gz}}` + +- Архівувати файл, зберігаючи оригінальний файл: + +`gzip {{[-k|--keep]}} {{шлях/до/файлу}}` + +- Архівувати файл із зазначенням імені вихідного файлу: + +`gzip {{[-c|--stdout]}} {{шлях/до/файлу}} > {{шлях/до/архіву.gz}}` + +- Розпакувати архів `gzip` із зазначенням назви вихідного файлу: + +`gzip {{[-c|--stdout]}} {{[-d|--decompress]}} {{шлях/до/файлу.gz}} > {{шлях/до/розпакованого_файлу}}` + +- Встановити рівень стиснення. 1 — найшвидший (низьке стиснення), 9 — найповільніше (високе стиснення), 6 — за умовчанням: + +`gzip -{{1..9}} {{[-c|--stdout]}} {{шлях/до/файлу}} > {{шлях/до/архіву.gz}}` + +- Вивести назву та відсоток зменшення для кожного стисненого або розпакованого файлу: + +`gzip {{[-v|--verbose]}} {{[-d|--decompress]}} {{шлях/до/файлу.gz}}` diff --git a/pages.uk/common/help.md b/pages.uk/common/help.md new file mode 100644 index 00000000000000..8eab01fa6e5aa8 --- /dev/null +++ b/pages.uk/common/help.md @@ -0,0 +1,28 @@ +# help + +> Відображення інформації про вбудовані команди Bash. +> Більше інформації: . + +- Показати повний список вбудованих команд: + +`help` + +- Надрукувати інструкції щодо використання конструкції циклу `while`: + +`help while` + +- Надрукувати інструкції щодо використання конструкції циклу `for`: + +`help for` + +- Надрукуйте інструкції щодо використання `[[ ]]` для умовних команд: + +`help [[ ]]` + +- Надрукувати інструкцію щодо використання `(( ))` для обчислення математичних виразів: + +`help \( \)` + +- Надрукувати інструкції щодо використання команди `cd`: + +`help cd` diff --git a/pages.uk/common/llvm-ar.md b/pages.uk/common/llvm-ar.md new file mode 100644 index 00000000000000..024ee41db38143 --- /dev/null +++ b/pages.uk/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Ця команда є псевдонімом для `ar`. + +- Дивись документацію для оригінальної команди: + +`tldr ar` diff --git a/pages.uk/common/llvm-g++.md b/pages.uk/common/llvm-g++.md new file mode 100644 index 00000000000000..cf2fa86ecbe2ef --- /dev/null +++ b/pages.uk/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Ця команда є псевдонімом для `clang++`. + +- Дивись документацію для оригінальної команди: + +`tldr clang++` diff --git a/pages.uk/common/llvm-gcc.md b/pages.uk/common/llvm-gcc.md new file mode 100644 index 00000000000000..469c33b04923aa --- /dev/null +++ b/pages.uk/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Ця команда є псевдонімом для `clang`. + +- Дивись документацію для оригінальної команди: + +`tldr clang` diff --git a/pages.uk/common/llvm-nm.md b/pages.uk/common/llvm-nm.md new file mode 100644 index 00000000000000..a0474f2d4ad944 --- /dev/null +++ b/pages.uk/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Ця команда є псевдонімом для `nm`. + +- Дивись документацію для оригінальної команди: + +`tldr nm` diff --git a/pages.uk/common/llvm-objdump.md b/pages.uk/common/llvm-objdump.md new file mode 100644 index 00000000000000..b13bb4d9b7054a --- /dev/null +++ b/pages.uk/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Ця команда є псевдонімом для `objdump`. + +- Дивись документацію для оригінальної команди: + +`tldr objdump` diff --git a/pages.uk/common/llvm-strings.md b/pages.uk/common/llvm-strings.md new file mode 100644 index 00000000000000..a9fbc6a3d1112d --- /dev/null +++ b/pages.uk/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Ця команда є псевдонімом для `strings`. + +- Дивись документацію для оригінальної команди: + +`tldr strings` diff --git a/pages.uk/common/mscore.md b/pages.uk/common/mscore.md new file mode 100644 index 00000000000000..098a0fada549e6 --- /dev/null +++ b/pages.uk/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Ця команда є псевдонімом для `musescore`. + +- Дивись документацію для оригінальної команди: + +`tldr musescore` diff --git a/pages.uk/common/openssl.md b/pages.uk/common/openssl.md new file mode 100644 index 00000000000000..f25fe7a8c514f7 --- /dev/null +++ b/pages.uk/common/openssl.md @@ -0,0 +1,17 @@ +# openssl + +> Набір кріптографічних інструментів OpenSSL. +> Деякі підкоманди, такі як `openssl req` мають власну документацію щодо використання. +> Більше інформації: . + +- Вивести список доступних підкоманд: + +`openssl help` + +- Вивести параметри для певної команди: + +`openssl help {{x509}}` + +- Вивести версію OpenSSL: + +`openssl version` diff --git a/pages.uk/common/pio-init.md b/pages.uk/common/pio-init.md new file mode 100644 index 00000000000000..40816cad2ce90e --- /dev/null +++ b/pages.uk/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Ця команда є псевдонімом для `pio project`. + +- Дивись документацію для оригінальної команди: + +`tldr pio project` diff --git a/pages.uk/common/piodebuggdb.md b/pages.uk/common/piodebuggdb.md new file mode 100644 index 00000000000000..289fa7c88a1ea9 --- /dev/null +++ b/pages.uk/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Ця команда є псевдонімом для `pio debug`. + +- Дивись документацію для оригінальної команди: + +`tldr pio debug` diff --git a/pages.uk/common/platformio.md b/pages.uk/common/platformio.md new file mode 100644 index 00000000000000..205efe9a921731 --- /dev/null +++ b/pages.uk/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Ця команда є псевдонімом для `pio`. + +- Дивись документацію для оригінальної команди: + +`tldr pio` diff --git a/pages.uk/common/r2.md b/pages.uk/common/r2.md new file mode 100644 index 00000000000000..48c87953f26a15 --- /dev/null +++ b/pages.uk/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Ця команда є псевдонімом для `radare2`. + +- Дивись документацію для оригінальної команди: + +`tldr radare2` diff --git a/pages.uk/common/tar.md b/pages.uk/common/tar.md new file mode 100644 index 00000000000000..b3fa19ec0740f3 --- /dev/null +++ b/pages.uk/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> Утиліта архівування. +> Часто поєднується з методом стиснення, таким як `gzip` або `bzip2`. +> Більше інформації: . + +- Створити ([c]reate) архів і записати його у файл ([f]ile): + +`tar cf {{шлях/до/цілі.tar}} {{шлях/до/file1 шлях/до/file2 ...}}` + +- Створити ([c]reate) g[z]ipped архів і записати його у файл ([f]ile): + +`tar czf {{шлях/до/цілі.tar.gz}} {{шлях/до/file1 шлях/до/file2 ...}}` + +- Створити ([c]reate) g[z]ipped архів з каталогу, використовуючи відносні шляхи: + +`tar czf {{шлях/до/цілі.tar.gz}} {{[-C|--directory]}} {{шлях/до/каталогу}} .` + +- Розпакувати (e[x]tract) стиснутий файл ([f]ile) архіву у поточний каталог детально ([v]erbosely): + +`tar xvf {{шлях/до/джерела.tar[.gz|.bz2|.xz]}}` + +- Розпакувати (e[x]tract) стиснутий файл ([f]ile) архіву у певний каталог: + +`tar xf {{шлях/до/джерела.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{шлях/до/каталогу}}` + +- Створити ([c]reate) стиснутий архів і записати його у файл ([f]ile), використовуючи розширення файлу для автоматичного визначення програми стиснення: + +`tar caf {{шлях/до/цілі.tar.xz}} {{шлях/до/file1 шлях/до/file2 ...}}` + +- Вивести ([l]ist) перелік вмісту tar файлу ([f]ile) детально ([v]erbosely): + +`tar tvf {{шлях/до/джерела.tar}}` + +- Розпакувати (e[x]tract) файли, що відповідають шаблону, з файлу ([f]ile) архіву: + +`tar xf {{шлях/до/джерела.tar}} --wildcards "{{*.html}}"` diff --git a/pages.uk/common/tldr.md b/pages.uk/common/tldr.md new file mode 100644 index 00000000000000..fa37bb65de681e --- /dev/null +++ b/pages.uk/common/tldr.md @@ -0,0 +1,20 @@ +# tldr + +> Відображає прості сторінки допомоги для інструментів командного рядка з проекту tldr-pages. +> Більше інформації: . + +- Показує типове використання команди (підказка: це те, як ви потрапили сюди!): + +`tldr {{команда}}` + +- Показує tldr сторінку для команди `cd` на вказаній платформі: + +`tldr {{[-p|--platform]}} {{android|linux|osx|sunos|windows}} {{cd}}` + +- Показує tldr сторінку для підкоманди Git `git checkout`: + +`tldr {{git-checkout}}` + +- Оновлює локальні tldr сторінки (якщо клієнт підтримує кешування): + +`tldr {{[-u|--update]}}` diff --git a/pages.uk/common/tldrl.md b/pages.uk/common/tldrl.md new file mode 100644 index 00000000000000..ddb90429f259a8 --- /dev/null +++ b/pages.uk/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Ця команда є псевдонімом для `tldr-lint`. + +- Дивись документацію для оригінальної команди: + +`tldr tldr-lint` diff --git a/pages.uk/common/tlmgr-arch.md b/pages.uk/common/tlmgr-arch.md new file mode 100644 index 00000000000000..9a63a21fb8953d --- /dev/null +++ b/pages.uk/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Ця команда є псевдонімом для `tlmgr platform`. + +- Дивись документацію для оригінальної команди: + +`tldr tlmgr platform` diff --git a/pages.uk/common/unzip.md b/pages.uk/common/unzip.md new file mode 100644 index 00000000000000..60609c8f37800b --- /dev/null +++ b/pages.uk/common/unzip.md @@ -0,0 +1,29 @@ +# unzip + +> Утиліта розпакування файлів/каталогів з Zip архівів. +> Дивіться також: `zip`. +> Більше інформації: . + +- Розпакувати всі файли/каталоги з певних архівів у поточний каталог: + +`unzip {{шлях/до/архіву1.zip шлях/до/архіву2.zip ...}}` + +- Розпакувати файли/каталоги з архівів у певний шлях: + +`unzip {{шлях/до/архіву1.zip шлях/до/архіву2.zip ...}} -d {{шлях/до/виводу}}` + +- Розпакувати файли/каталоги з архівів у `stdout` разом із виводом імен файлів: + +`unzip -c {{шлях/до/архіву1.zip шлях/до/архіву2.zip ...}}` + +- Розпакувати архів, створений у Windows, який містить файли з назвами файлів, відмінними від ASCII (наприклад, китайськими чи японськими символами): + +`unzip -O {{gbk}} {{шлях/до/архіву1.zip шлях/до/архіву2.zip ...}}` + +- Вивести ([l]ist) перелік вмісту певного архіву, не розпаковуючи його: + +`unzip -l {{шлях/до/архіву.zip}}` + +- Розпакувати певний файл з архіву: + +`unzip -j {{шлях/до/архіву.zip}} {{шлях/до/файлу1_в_архіві шлях/до/файлу2_в_архіві ...}}` diff --git a/pages.uk/common/vi.md b/pages.uk/common/vi.md new file mode 100644 index 00000000000000..160bd63970b933 --- /dev/null +++ b/pages.uk/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Ця команда є псевдонімом для `vim`. + +- Дивись документацію для оригінальної команди: + +`tldr vim` diff --git a/pages.uk/common/vim.md b/pages.uk/common/vim.md new file mode 100644 index 00000000000000..ec41f71db1933e --- /dev/null +++ b/pages.uk/common/vim.md @@ -0,0 +1,37 @@ +# vim + +> Vim (Vi IMproved), консольний текстовий редактор, надає різні режими для різних маніпуляцій над текстом. +> Натиснувши `` потрапляємо в режим вставки (insert mode). `` повертає у нормальний режим (normal mode), який дозволяє користуватися командами Vim. +> Більше інформації: . + +- Відкрити файл: + +`vim {{шлях/до/файлу}}` + +- Відкрити файл на визначеноу рядку: + +`vim +{{номер_рядку}} {{шлях/до/файлу}}` + +- Подивитися допомогу Vim: + +`<:>help` + +- Зберегти і вийти: + +`{{|<:>x|<:>wq}}` + +- Анулювати (undo) останню операцію: + +`` + +- Знайти паттерн у файлі (натисніть ``/`` щоб перейти до наступного/попереднього збігу): + +`{{паттерн_для_пошуку}}` + +- Виконати регексп заміну в цілому файлі: + +`<:>%s/{{регексп_вираз}}/{{заміна}}/g` + +- Показати номери рядків: + +`<:>set nu` diff --git a/pages.uk/common/zip.md b/pages.uk/common/zip.md new file mode 100644 index 00000000000000..58cf120ba2bc29 --- /dev/null +++ b/pages.uk/common/zip.md @@ -0,0 +1,33 @@ +# zip + +> Утиліта архівування файлів в Zip-архів. +> Дивіться також: `unzip`. +> Більше інформації: . + +- Додати файли/каталоги до певного архіву рекурсивно ([r]ecursively): + +`zip {{[-r|--recurse-paths]}} {{шлях/до/архіву.zip}} {{шлях/до/файлу_або_каталогу1 шлях/до/файлу_або_каталогу2 ...}}` + +- Видалити файли/каталоги із певного архіву ([d]elete): + +`zip {{[-d|--delete]}} {{шлях/до/архіву.zip}} {{шлях/до/файлу_або_каталогу1 шлях/до/файлу_або_каталогу2 ...}}` + +- Архівувати файли/каталоги, окрім (e[x]cluding) зазначених: + +`zip {{[-r|--recurse-paths]}} {{шлях/до/архіву.zip}} {{шлях/до/файлу_або_каталогу1 шлях/до/файлу_або_каталогу2 ...}} {{[-x|--exclude]}} {{шлях/до/виключених_файлів_або_каталогів}}` + +- Архівувати файли/каталоги з певним рівнем стиснення (`0` - найнижчий, `9` - найвищий): + +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{шлях/до/архіву.zip}} {{шлях/до/файлу_або_каталогу1 шлях/до/файлу_або_каталогу2 ...}}` + +- Створити зашифрований ([e]ncrypted) архів із певним паролем (з’явиться запит на введення пароля): + +`zip {{[-re|--recurse-paths --encrypt]}} {{шлях/до/архіву.zip}} {{шлях/до/файлу_або_каталогу1 шлях/до/файлу_або_каталогу2 ...}}` + +- Архівувати файли/каталоги в архів з багатьох частин ([s]split) (наприклад, частини по 3 Гб): + +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{шлях/до/архіву.zip}} {{шлях/до/файлу_або_каталогу1 шлях/до/файлу_або_каталогу2 ...}}` + +- Print a specific archive contents Вивести перелік вмісту певного архіву: + +`zip {{[-sf|--split-size --freshen]}} {{шлях/до/архіву.zip}}` diff --git a/pages.uk/linux/adduser.md b/pages.uk/linux/adduser.md new file mode 100644 index 00000000000000..405ca7a4817dca --- /dev/null +++ b/pages.uk/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> Утиліта додавання користувачів. +> Більше інформації: . + +- Створити нового користувача з домашнім каталогом за замовчуванням і попросити користувача встановити пароль: + +`adduser {{юзернейм}}` + +- Створити нового користувача без домашнього каталогу: + +`adduser --no-create-home {{юзернейм}}` + +- Створити нового користувача з домашнім каталогом за вказаним шляхом: + +`adduser --home {{шлях/до/дому}} {{юзернейм}}` + +- Створити нового користувача з указаною оболонкою, встановленою як оболонка входу: + +`adduser --shell {{шлях/до/оболонки}} {{юзернейм}}` + +- Створити нового користувача, що належить до вказаної групи: + +`adduser --ingroup {{група}} {{юзернейм}}` diff --git a/pages.uk/linux/apt-add-repository.md b/pages.uk/linux/apt-add-repository.md new file mode 100644 index 00000000000000..84ee486d878013 --- /dev/null +++ b/pages.uk/linux/apt-add-repository.md @@ -0,0 +1,20 @@ +# apt-add-repository + +> Керує взаємодією з репозиторіями `apt`. +> Більше інформації: . + +- Додайте новий репозиторій `apt`: + +`apt-add-repository {{репозиторій}}` + +- Видалити репозиторій `apt`: + +`apt-add-repository --remove {{репозиторій}}` + +- Оновити кеш пакетів після додавання репозиторію: + +`apt-add-repository --update {{репозиторій}}` + +- Увімкнути вихідні пакети: + +`apt-add-repository --enable-source {{репозиторій}}` diff --git a/pages.uk/linux/apt-cache.md b/pages.uk/linux/apt-cache.md new file mode 100644 index 00000000000000..6dab1f3af1fcb1 --- /dev/null +++ b/pages.uk/linux/apt-cache.md @@ -0,0 +1,24 @@ +# apt-cache + +> Інструмент запиту пакетів Debian і Ubuntu. +> Більше інформації: . + +- Шукати пакет у ваших поточних джерелах: + +`apt-cache search {{запит}}` + +- Показати інформацію про пакет: + +`apt-cache show {{пакет}}` + +- Показати, чи встановлено та оновлено пакет: + +`apt-cache policy {{пакет}}` + +- Показати залежності для пакета: + +`apt-cache depends {{пакет}}` + +- Показати пакети, які залежать від конкретного пакета: + +`apt-cache rdepends {{пакет}}` diff --git a/pages.uk/linux/apt-file.md b/pages.uk/linux/apt-file.md new file mode 100644 index 00000000000000..7e270688cbcd45 --- /dev/null +++ b/pages.uk/linux/apt-file.md @@ -0,0 +1,20 @@ +# apt-file + +> Пошук файлів в пакетах `apt`, включно з тими, що ще не встановлені. +> Більше інформації: . + +- Оновити базу метаданих: + +`sudo apt update` + +- Пошук пакетів, які містять вказаний файл або шлях: + +`apt-file {{search|find}} {{частковий_шлях/до/файлу}}` + +- Список вмісту конкретного пакета: + +`apt-file {{show|list}} {{пакет}}` + +- Пошук пакетів, які відповідають `регулярному_виразу`: + +`apt-file {{search|find}} --regexp {{регулярний_вираз}}` diff --git a/pages.uk/linux/apt-get.md b/pages.uk/linux/apt-get.md new file mode 100644 index 00000000000000..50f7999af30c0c --- /dev/null +++ b/pages.uk/linux/apt-get.md @@ -0,0 +1,37 @@ +# apt-get + +> Утиліта керування пакетами Debian і Ubuntu. +> Шукати пакети за допомогою `apt-cache`. +> Більше інформації: . + +- Оновити список доступних пакетів і версій (рекомендується запускати це перед іншими командами `apt-get`): + +`apt-get update` + +- Встановити пакет або оновити його до останньої доступної версії: + +`apt-get install {{пакет}}` + +- Видалити пакет: + +`apt-get remove {{пакет}}` + +- Видалити пакет і файли його конфігурації: + +`apt-get purge {{пакет}}` + +- Оновити усі встановлені пакети до найновіших доступних версій: + +`apt-get upgrade` + +- Очистити локальний репозиторій - видалити файли пакетів (`.deb`) із перерваних завантажень, які більше не можна завантажити: + +`apt-get autoclean` + +- Видалити усі пакети, які більше не потрібні: + +`apt-get autoremove` + +- Оновити встановлені пакети (як `upgrade`), але видалити застарілі пакети та встановити додаткові, щоб відповідати новим залежностям: + +`apt-get dist-upgrade` diff --git a/pages.uk/linux/apt-key.md b/pages.uk/linux/apt-key.md new file mode 100644 index 00000000000000..9f6c3453840b17 --- /dev/null +++ b/pages.uk/linux/apt-key.md @@ -0,0 +1,25 @@ +# apt-key + +> Утиліта керування ключами для диспетчера пакетів APT в Debian та Ubuntu. +> Примітка: `apt-key` застарілий (за винятком використання `apt-key del` у сценаріях підтримки). +> Більше інформації: . + +- Список довірених ключів: + +`apt-key list` + +- Додати ключ до довіреного сховища ключів: + +`apt-key add {{public_key_file.asc}}` + +- Видалити ключ з довіреного сховища ключів: + +`apt-key del {{key_id}}` + +- Додайте віддалений ключ до надійного сховища ключів: + +`wget -qO - {{https://host.tld/filename.key}} | apt-key add -` + +- Додати ключ із сервера ключів лише з ідентифікатором ключа: + +`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{KEYID}}` diff --git a/pages.uk/linux/apt-moo.md b/pages.uk/linux/apt-moo.md new file mode 100644 index 00000000000000..b06fc8fa7d3f6e --- /dev/null +++ b/pages.uk/linux/apt-moo.md @@ -0,0 +1,8 @@ +# apt moo + +> Пасхалка від менеджеру пакетів `APT`. +> Більше інформації: . + +- Друкує пасхалку з коровою: + +`apt moo` diff --git a/pages.uk/linux/apt.md b/pages.uk/linux/apt.md new file mode 100644 index 00000000000000..064f51d1f758f0 --- /dev/null +++ b/pages.uk/linux/apt.md @@ -0,0 +1,38 @@ +# apt + +> Утиліта керування пакетами для дистрибутивів на основі Debian. +> Рекомендована заміна для `apt-get` при інтерактивному використанні в Ubuntu версії 16.04 і пізніших. +> Еквівалентні команди в інших менеджерах пакунків дивитися . +> Більше інформації: . + +- Оновити список доступних пакетів і версій (рекомендується запускати це перед іншими командами `apt`): + +`sudo apt update` + +- Шукати заданий пакет: + +`apt search {{пакет}}` + +- Відобразити інформацію про пакет: + +`apt show {{пакет}}` + +- Встановити пакет або оновити його до останньої доступної версії: + +`sudo apt install {{пакет}}` + +- Видалити пакет (використання `purge` натомість також видаляє його конфігураційні файли): + +`sudo apt remove {{пакет}}` + +- Оновити усі встановлені пакети до найновіших доступних версій: + +`sudo apt upgrade` + +- Відобразити список усіх пакетів: + +`apt list` + +- Відобразити список усіх встановлених пакетів: + +`apt list {{[-i|--installed]}}` diff --git a/pages.uk/linux/aptitude.md b/pages.uk/linux/aptitude.md new file mode 100644 index 00000000000000..19069e998e61a3 --- /dev/null +++ b/pages.uk/linux/aptitude.md @@ -0,0 +1,36 @@ +# aptitude + +> Утиліта керування пакетами Debian і Ubuntu. +> Більше інформації: . + +- Синхронізувати список доступних пакетів і версій. Це слід запустити спочатку, перш ніж запускати наступні команди aptitude: + +`aptitude update` + +- Встановити новий пакет і його залежності: + +`aptitude install {{пакет}}` + +- Шукати пакет: + +`aptitude search {{пакет}}` + +- Шукати встановлений пакет (`?installed` це термін пошуку aptitude): + +`aptitude search '?installed({{пакет}})'` + +- Видалити пакет і всі залежні від нього пакети: + +`aptitude remove {{пакет}}` + +- Оновити встановлені пакети до найновіших доступних версій: + +`aptitude upgrade` + +- Оновити встановлені пакети (як `aptitude upgrade`) включно з видаленням застарілих пакетів і встановленням додаткових, щоб відповідати новим залежностям пакетів: + +`aptitude full-upgrade` + +- Затримати встановлений пакет, щоб уникнути його автоматичного оновлення: + +`aptitude hold '?installed({{пакет}})'` diff --git a/pages.uk/linux/cat.md b/pages.uk/linux/cat.md new file mode 100644 index 00000000000000..e3048ed357d502 --- /dev/null +++ b/pages.uk/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> Зчитування та об'єднання файлів. +> Більше інформації: . + +- Вивести вміст файлу в `stdout`: + +`cat {{шлях/до/файлу}}` + +- Об’єднати кілька файлів у вихідний файл: + +`cat {{шлях/до/файлу1 шлях/до/файлу2 ...}} > {{шлях/до/вихідного_файлу}}` + +- Додайте кілька файлів до вихідного файлу: + +`cat {{шлях/до/файлу1 шлях/до/файлу2 ...}} >> {{шлях/до/вихідного_файлу}}` + +- Записати `stdin` у файл: + +`cat - > {{шлях/до/файлу}}` + +- Пронумерувати всі вихідні рядки: + +`cat {{[-n|--number]}} {{шлях/до/файлу}}` + +- Відобразити недруковані символи та пробіли (з префіксом `M-`, якщо не ASCII): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{шлях/до/файлу}}` diff --git a/pages.uk/linux/dmesg.md b/pages.uk/linux/dmesg.md new file mode 100644 index 00000000000000..5fff91b2eafc55 --- /dev/null +++ b/pages.uk/linux/dmesg.md @@ -0,0 +1,36 @@ +# dmesg + +> Відобразити повідомлення ядра в `stdout`. +> Більше інформації: . + +- Відобразити повідомлення ядра: + +`sudo dmesg` + +- Відобразити повідомлення про помилки ядра: + +`sudo dmesg {{[-l|--level]}} err` + +- Відобразити повідомлення ядра та продовжити читати нові, подібно до `tail -f` (доступно в ядрах 3.5.0 і новіших): + +`sudo dmesg {{[-w|--follow]}}` + +- Відобразити, скільки фізичної пам'яті доступно в цій системі: + +`sudo dmesg | grep {{[-i|--ignore-case]}} memory` + +- Відобразити повідомлення ядра по 1 сторінці за раз: + +`sudo dmesg | less` + +- Відобразити повідомлення ядра з міткою часу (доступно в ядрах 3.5.0 і новіших): + +`sudo dmesg {{[-T|--ctime]}}` + +- Відобразити повідомлення ядра у формі, зрозумілій людині (доступно в ядрах 3.5.0 і новіших): + +`sudo dmesg {{[-H|--human]}}` + +- Розфарбувати виведені дані (доступно в ядрах 3.5.0 і новіших): + +`sudo dmesg {{[-L|--color]}}` diff --git a/pages.uk/linux/dpkg-reconfigure.md b/pages.uk/linux/dpkg-reconfigure.md new file mode 100644 index 00000000000000..07ed79a24081d8 --- /dev/null +++ b/pages.uk/linux/dpkg-reconfigure.md @@ -0,0 +1,8 @@ +# dpkg-reconfigure + +> Змінює конфігурацію вже встановленого пакету. +> Більше інформації: . + +- Змінити конфігурацію одного або декількох пакетів: + +`dpkg-reconfigure {{пакунок1 пакунок2 ...}}` diff --git a/pages.uk/linux/ip-route-list.md b/pages.uk/linux/ip-route-list.md new file mode 100644 index 00000000000000..55fcb04b23627c --- /dev/null +++ b/pages.uk/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Ця команда є псевдонімом для `ip route show`. + +- Дивись документацію для оригінальної команди: + +`tldr ip route show` diff --git a/pages.uk/linux/journalctl.md b/pages.uk/linux/journalctl.md new file mode 100644 index 00000000000000..6a860bf6144905 --- /dev/null +++ b/pages.uk/linux/journalctl.md @@ -0,0 +1,32 @@ +# journalctl + +> Запити до журналу systemd. +> Більше інформації: . + +- Показати всі повідомлення з рівнем пріоритету 3 (помилки) від цього завантаження: + +`journalctl {{[-b|--boot]}} {{[-p|--priority]}} 3` + +- Видалити записи журналу, які старіші за 2 дні: + +`journalctl --vacuum-time 2d` + +- Слідкувати за новими повідомленнями (як `tail -f` для традиційного syslog): + +`journalctl {{[-f|--follow]}}` + +- Показати всі повідомлення за конкретним блоком: + +`journalctl {{[-u|--unit]}} {{блок}}` + +- Фільтрувати повідомлення в межах діапазону часу (мітка часу або покажчики місця заповнення, як-от «вчора»): + +`journalctl {{[-S|--since]}} {{now|today|yesterday|tomorrow}} {{[-U|--until]}} "{{YYYY-MM-DD HH:MM:SS}}"` + +- Показати всі повідомлення за певним процесом: + +`journalctl _PID={{pid}}` + +- Показати всі повідомлення за певним виконуваним файлом: + +`journalctl {{шлях/до/виконуваного_файлу}}` diff --git a/pages.uk/linux/locale.md b/pages.uk/linux/locale.md new file mode 100644 index 00000000000000..aef6939f7aba12 --- /dev/null +++ b/pages.uk/linux/locale.md @@ -0,0 +1,20 @@ +# locale + +> Отримайте інформацію, що стосується локалізації. +> Більше інформації: . + +- Список усіх глобальних змінних середовища, що описують локалізацію користувача: + +`locale` + +- Список всії наявних локалізацій: + +`locale {{[-a|--all-locales]}}` + +- Показати всі доступні локалізації та пов'язані метадані: + +`locale {{[-a|--all-locales]}} {{[-v|--verbose]}}` + +- Відображення поточного формату дати: + +`locale date_fmt` diff --git a/pages.uk/linux/lsblk.md b/pages.uk/linux/lsblk.md new file mode 100644 index 00000000000000..aebad4e2170225 --- /dev/null +++ b/pages.uk/linux/lsblk.md @@ -0,0 +1,36 @@ +# lsblk + +> Показує інформацію про пристрої. +> Більше інформації: . + +- Показати усі пристрої зберігання даних у деревоподібному форматі: + +`lsblk` + +- Також показати порожні пристрої: + +`lsblk {{[-a|--all]}}` + +- Показати стовпець SIZE у байтах, а не у форматі, зрозумілому людині: + +`lsblk {{[-b|--bytes]}}` + +- Вивести інформацію про файлові системи: + +`lsblk {{[-f|--fs]}}` + +- Використати символи ASCII для форматування дерева: + +`lsblk {{[-i|--ascii]}}` + +- Вивести інформацію про топологію блочного пристрою: + +`lsblk {{[-t|--topology]}}` + +- Виключити пристрої, указані в розділеному комами списку основних номерів пристроїв: + +`lsblk {{[-e|--exclude]}} {{1,7,...}}` + +- Вивести налаштований підсумок за допомогою розділеного комами списку стовпців: + +`lsblk {{[-o|--output]}} {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}` diff --git a/pages.uk/linux/nala.md b/pages.uk/linux/nala.md new file mode 100644 index 00000000000000..0ae8c9ab32df6c --- /dev/null +++ b/pages.uk/linux/nala.md @@ -0,0 +1,37 @@ +# nala + +> Утиліта керування пакетами з кращим форматуванням. +> Фронтенд для API `python-apt`. +> Більше інформації: . + +- Встановити пакет або оновити його до останньої версії: + +`sudo nala install {{пакет}}` + +- Видалити пакет: + +`sudo nala remove {{пакет}}` + +- Видалити пакет та його конфігураційні файли: + +`nala purge {{пакет}}` + +- Пошук назв пакетів і описів за допомогою слова, регулярного виразу (за замовчуванням) або glob: + +`nala search "{{паттерн}}"` + +- Оновити список доступних пакетів та оновити систему: + +`sudo nala upgrade` + +- Видалити усі невикористовувані пакети та залежності з вашої системи: + +`sudo nala autoremove` + +- Отримати швидші дзеркала, щоб покращити швидкість завантаження: + +`sudo nala fetch` + +- Показати історію всіх транзакцій: + +`nala history` diff --git a/pages.uk/linux/ncal.md b/pages.uk/linux/ncal.md new file mode 100644 index 00000000000000..4ce33ac6119991 --- /dev/null +++ b/pages.uk/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Ця команда є псевдонімом для `cal`. + +- Дивись документацію для оригінальної команди: + +`tldr cal` diff --git a/pages.uk/linux/pacman.md b/pages.uk/linux/pacman.md new file mode 100644 index 00000000000000..641d3e4f1af1a4 --- /dev/null +++ b/pages.uk/linux/pacman.md @@ -0,0 +1,38 @@ +# pacman + +> Утиліта для керування пакетами Arch Linux. +> Дивіться також: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Для еквівалентних команд в інших менеджерах пакетів дивіться . +> Більше інформації: . + +- Синхронізувати та оновити всі пакети: + +`sudo pacman -Syu` + +- Встановити новий пакет: + +`sudo pacman -S {{пакет}}` + +- Видалити пакет і його залежності: + +`sudo pacman -Rs {{пакет}}` + +- Шукати в базі даних пакети, що містять певний файл: + +`pacman -F "{{ім'я_файлу}}"` + +- Перелічити встановлені пакети та версії: + +`pacman -Q` + +- Перелічити лише явно встановлені пакети та версії: + +`pacman -Qe` + +- Перелічити безхазяйні пакети (встановлені як залежні, але фактично не потрібних для жодного пакета): + +`pacman -Qtdq` + +- Очистити весь кеш Pacman: + +`sudo pacman -Scc` diff --git a/pages.uk/linux/pamac.md b/pages.uk/linux/pamac.md new file mode 100644 index 00000000000000..b52f8cbd0aef06 --- /dev/null +++ b/pages.uk/linux/pamac.md @@ -0,0 +1,29 @@ +# pamac + +> Утиліта командного рядка для GUI менеджера пакетів pamac. +> Якщо ви не можете побачити пакети AUR, увімкніть його `/etc/pamac.conf` або в GUI. +> Більше інформації: . + +- Встановити новий пакет: + +`pamac install {{назва_пакета}}` + +- Видалити пакет і його непотрібні залежності (сироти): + +`pamac remove --orphans {{назва_пакета}}` + +- Шукати пакет в базі даних пакетів: + +`pamac search {{назва_пакета}}` + +- Перелічити встановлені пакети: + +`pamac list --installed` + +- Перевірити наявність оновлень пакетів: + +`pamac checkupdates` + +- Оновити всі пакети: + +`pamac upgrade` diff --git a/pages.uk/linux/parted.md b/pages.uk/linux/parted.md new file mode 100644 index 00000000000000..83e1cd7b600723 --- /dev/null +++ b/pages.uk/linux/parted.md @@ -0,0 +1,37 @@ +# parted + +> Програма для роботи з розділами. +> Дивіться також: `partprobe`. +> Більше інформації: . + +- Перелічити розділи на всіх блокових пристроях: + +`sudo parted --list` + +- Запустити інтерактивний режим із вибраним диском: + +`sudo parted {{/dev/sdX}}` + +- Створити нову таблицю розділів указаного типу міток: + +`sudo parted --script {{/dev/sdX}} mklabel {{aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun}}` + +- Показати інформацію про розділ в інтерактивному режимі: + +`print` + +- Вибрати диск в інтерактивному режимі: + +`select {{/dev/sdX}}` + +- Створити розділ на 16 ГБ із зазначеною файловою системою в інтерактивному режимі: + +`mkpart {{primary|logical|extended}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}` + +- Змінити розмір розділу в інтерактивному режимі: + +`resizepart {{/dev/sdXN}} {{кінцева_позиція_розділу}}` + +- Видалити розділ в інтерактивному режимі: + +`rm {{/dev/sdXN}}` diff --git a/pages.uk/linux/rpi-eeprom-update.md b/pages.uk/linux/rpi-eeprom-update.md new file mode 100644 index 00000000000000..d2bb95b4cb7d16 --- /dev/null +++ b/pages.uk/linux/rpi-eeprom-update.md @@ -0,0 +1,20 @@ +# rpi-eeprom-update + +> Оновити EEPROM та переглянути іншу інформацію про EEPROM. +> Більше інформації: . + +- Переглянути інформацію про поточний встановлений EEPROM raspberry pi: + +`sudo rpi-eeprom-update` + +- Оновити Raspberry Pi EEPROM: + +`sudo rpi-eeprom-update -a` + +- Скасувати незавершене оновлення: + +`sudo rpi-eeprom-update -r` + +- Показати довідку: + +`rpi-eeprom-update -h` diff --git a/pages.uk/linux/sleep.md b/pages.uk/linux/sleep.md new file mode 100644 index 00000000000000..bcbfce3cc6ae2f --- /dev/null +++ b/pages.uk/linux/sleep.md @@ -0,0 +1,20 @@ +# sleep + +> Затримка на певний час. +> Більше інформації: . + +- Затримка в секундах: + +`sleep {{секунди}}` + +- Затримка в хвилинах (також можна використовувати інші одиниці ([д]ень, [г]одина, [с]екунда, вічність): + +`sleep {{хвилини}}m` + +- Затримка на 1 день 3 години: + +`sleep 1d 3h` + +- Виконати певну команду через 20 хвилин затримки: + +`sleep 20m && {{command}}` diff --git a/pages.uk/linux/systemctl.md b/pages.uk/linux/systemctl.md new file mode 100644 index 00000000000000..b2e1001082185c --- /dev/null +++ b/pages.uk/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> Керуйте системою systemd і диспетчером служб. +> Більше інформації: . + +- Відобразити всі запущені служби: + +`systemctl status` + +- Відобразити список служб, які не запустилися через помилки: + +`systemctl --failed` + +- Запуск/зупинка/перезапуск/перезавантаження служби: + +`systemctl {{start|stop|restart|reload}} {{служба}}` + +- Показати статус служби: + +`systemctl status {{служба}}` + +- Увімкнути/вимкнути запуск служби під час завантаження: + +`systemctl {{enable|disable}} {{служба}}` + +- Маскування/розкриття служби, щоб запобігти ввімкненню та ручній активації: + +`systemctl {{mask|unmask}} {{служба}}` + +- Перезавантажити systemd, шукати нові або змінені пристрої: + +`systemctl daemon-reload` + +- Перевірити, чи ввімкнено службу до автозавантаження: + +`systemctl is-enabled {{служба}}` diff --git a/pages.uk/windows/cinst.md b/pages.uk/windows/cinst.md new file mode 100644 index 00000000000000..c02463c757d307 --- /dev/null +++ b/pages.uk/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Ця команда є псевдонімом для `choco install`. + +- Дивись документацію для оригінальної команди: + +`tldr choco install` diff --git a/pages.uk/windows/clist.md b/pages.uk/windows/clist.md new file mode 100644 index 00000000000000..f4ed77652b2100 --- /dev/null +++ b/pages.uk/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Ця команда є псевдонімом для `choco list`. + +- Дивись документацію для оригінальної команди: + +`tldr choco list` diff --git a/pages.uk/windows/cuninst.md b/pages.uk/windows/cuninst.md new file mode 100644 index 00000000000000..51ab54912eacfd --- /dev/null +++ b/pages.uk/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Ця команда є псевдонімом для `choco uninstall`. + +- Дивись документацію для оригінальної команди: + +`tldr choco uninstall` diff --git a/pages.uk/windows/iwr.md b/pages.uk/windows/iwr.md new file mode 100644 index 00000000000000..566cccbcc2024b --- /dev/null +++ b/pages.uk/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Ця команда є псевдонімом для `invoke-webrequest`. + +- Дивись документацію для оригінальної команди: + +`tldr invoke-webrequest` diff --git a/pages.uk/windows/pwsh-where.md b/pages.uk/windows/pwsh-where.md new file mode 100644 index 00000000000000..f5dd23282de782 --- /dev/null +++ b/pages.uk/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Ця команда є псевдонімом для `Where-Object`. + +- Дивись документацію для оригінальної команди: + +`tldr Where-Object` diff --git a/pages.uk/windows/sls.md b/pages.uk/windows/sls.md new file mode 100644 index 00000000000000..5ae3f639a45617 --- /dev/null +++ b/pages.uk/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Ця команда є псевдонімом для `Select-String`. + +- Дивись документацію для оригінальної команди: + +`tldr select-string` diff --git a/pages.uz/android/am.md b/pages.uz/android/am.md new file mode 100644 index 00000000000000..8389e6046e2eba --- /dev/null +++ b/pages.uz/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android faoliyat boshqaruvi. +> Ko'proq malumot: . + +- Anniq bir faoliyatni boshlash: + +`am start -n {{com.android.settings/.Settings}}` + +- Faoliyatni boshlash va unga malumot o'tkazish: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Biron harakat va kategoriyaga mos keluvchi faoliyatni boshlash: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Intentni URI ga o'zgartirish: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.uz/android/bugreport.md b/pages.uz/android/bugreport.md new file mode 100644 index 00000000000000..0e15afe5c2c008 --- /dev/null +++ b/pages.uz/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Android xatolik xisobotini ko'rsatish. +> Bu buyruq faqat `adb shell` orqali amalga oshiriladi. +> Ko'proq malumot: . + +- Android qurulmasida to'liq xatoliklar xabarini ko'rsatish: + +`bugreport` diff --git a/pages.uz/android/bugreportz.md b/pages.uz/android/bugreportz.md new file mode 100644 index 00000000000000..d354e75ea4c7cf --- /dev/null +++ b/pages.uz/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> Arxivlangan Android xatolik xisoboti. +> Bu buyruq faqat `adb shell` orqali amalga oshiriladi. +> Ko'proq malumot: . + +- Android qurulmasida to'liq arxivlangan xatoliklar xisobotini yaratish: + +`bugreportz` + +- Bajarilayotgan `bugreportz` jarayonni progresini ko'rsatish: + +`bugreportz -p` + +- Yordam ko'rsatish: + +`bugreportz -h` + +- Ni versiyasini ko'rsatish `bugreportz`: + +`bugreportz -v` diff --git a/pages.uz/android/cmd.md b/pages.uz/android/cmd.md new file mode 100644 index 00000000000000..5bf36884938c8e --- /dev/null +++ b/pages.uz/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Android xizmatlar boshqaruvchisi. +> Ko'proq malumot: . + +- Barcha bajarilayotgan xizmatlarni ko'rsatish: + +`cmd -l` + +- Biron xizmatni chaqirish: + +`cmd {{alarm}}` + +- Xizmatni argumentlar bilan ishlatish: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.uz/android/dalvikvm.md b/pages.uz/android/dalvikvm.md new file mode 100644 index 00000000000000..fc53862ccce534 --- /dev/null +++ b/pages.uz/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Android Java virtual mashinasi. +> Ko'proq malumot: . + +- Java dasturini ishga tushirish: + +`dalvikvm -classpath {{fayl/uchun/yo_l.jar}} {{klassnomi}}` diff --git a/pages.uz/android/dumpsys.md b/pages.uz/android/dumpsys.md new file mode 100644 index 00000000000000..c42d71ba70a42f --- /dev/null +++ b/pages.uz/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Android tizimi xizmatlari to'g'risida malumot berish. +> Bu buyruq faqatgina `adb shell` bilan ishlatiladi. +> Ko'proq malumot: . + +- Tizimning barcha xizmatlari haqida tahliliy malumot: + +`dumpsys` + +- Biron xizmat to'g'risida tahliliy malumot olish: + +`dumpsys {{service}}` + +- Buyrug'idagi barcha xizmatlarni chiqaradi `dumpsys`: + +`dumpsys -l` + +- Xizmatning argumentlarini chiqaradi: + +`dumpsys {{service}} -h` + +- Tahliliy malumotlar ro'yhatidan biron xizmatni qoldirish: + +`dumpsys --skip {{service}}` + +- Time out ni belgilash (sekundlarda): + +`dumpsys -t {{sekund}}` diff --git a/pages.zh/android/am.md b/pages.zh/android/am.md new file mode 100644 index 00000000000000..255603c234ab76 --- /dev/null +++ b/pages.zh/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android 活动管理器。 +> 更多信息:. + +- 启动一个指定的活动: + +`am start -n {{com.android.settings/.Settings}}` + +- 启动一个活动并将数据传递给它: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- 启动与特定操作和类别匹配的活动: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- 将意图转换为 URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.zh/android/bugreport.md b/pages.zh/android/bugreport.md new file mode 100644 index 00000000000000..5b761d8af404c7 --- /dev/null +++ b/pages.zh/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> 显示安卓的 Bug 报告。 +> 该命令只能通过 `adb shell` 使用。 +> 更多信息:. + +- 显示 Android 设备的完整错误报告: + +`bugreport` diff --git a/pages.zh/android/bugreportz.md b/pages.zh/android/bugreportz.md new file mode 100644 index 00000000000000..ab2af53829d341 --- /dev/null +++ b/pages.zh/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> 生成一个压缩的 Android 错误报告。 +> 此命令只能通过 `adb shell` 使用。 +> 更多信息:. + +- 生成一个完整的 Android 设备压缩错误报告: + +`bugreportz` + +- 显示正在运行的 `bugreportz` 操作的进度: + +`bugreportz -p` + +- 将 Android 错误报告的内容写入 `stdout`: + +`bugreportz -s` + +- 显示帮助: + +`bugreportz -h` + +- 显示版本: + +`bugreportz -v` diff --git a/pages.zh/android/cmd.md b/pages.zh/android/cmd.md new file mode 100644 index 00000000000000..d0f210c1b08948 --- /dev/null +++ b/pages.zh/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Android 服务管理器。 +> 更多信息:. + +- 列出所有正在运行的服务: + +`cmd -l` + +- 调用指定服务: + +`cmd {{alarm}}` + +- 调用服务同时传递参数: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.zh/android/dalvikvm.md b/pages.zh/android/dalvikvm.md new file mode 100644 index 00000000000000..cbea5fb293ef17 --- /dev/null +++ b/pages.zh/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Android Java 虚拟机。 +> 更多信息:. + +- 启动一个 Java 程序: + +`dalvikvm -classpath {{path/to/file.jar}} {{classname}}` diff --git a/pages.zh/android/dumpsys.md b/pages.zh/android/dumpsys.md new file mode 100644 index 00000000000000..d92b9f922a11a4 --- /dev/null +++ b/pages.zh/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> 提供关于 Android 系统服务的信息。 +> 此命令只能通过 `adb shell` 使用。 +> 更多信息:. + +- 获取所有系统服务的诊断输出: + +`dumpsys` + +- 获取指定系统服务的诊断输出: + +`dumpsys {{服务}}` + +- 列出 `dumpsys` 可以提供的所有服务信息: + +`dumpsys -l` + +- 列出服务的指定服务参数: + +`dumpsys {{服务}} -h` + +- 从诊断输出中排除指定服务: + +`dumpsys --skip {{服务}}` + +- 指定超时时间,以秒为单位(默认为 10s): + +`dumpsys -t {{秒数}}` diff --git a/pages.zh/android/getprop.md b/pages.zh/android/getprop.md new file mode 100644 index 00000000000000..4d793ec96be07a --- /dev/null +++ b/pages.zh/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> 显示关于 Android 系统属性的信息。 +> 更多信息:. + +- 显示关于 Android 系统属性的信息: + +`getprop` + +- 显示关于指定属性的信息: + +`getprop {{prop}}` + +- 显示 SDK API 级别: + +`getprop {{ro.build.version.sdk}}` + +- 显示 Android 版本: + +`getprop {{ro.build.version.release}}` + +- 显示 Android 设备型号: + +`getprop {{ro.vendor.product.model}}` + +- 显示 OEM 解锁状态: + +`getprop {{ro.oem_unlock_supported}}` + +- 显示 Android WiFi 卡的 MAC 地址: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.zh/android/input.md b/pages.zh/android/input.md new file mode 100644 index 00000000000000..67e9ac026924d1 --- /dev/null +++ b/pages.zh/android/input.md @@ -0,0 +1,25 @@ +# input + +> 将事件代码或触摸屏手势发送到 Android 设备。 +> 此命令只能通过 `adb shell` 使用。 +> 更多信息:. + +- 将单个字符的事件代码发送到 Android 设备: + +`input keyevent {{event_code}}` + +- 将文本发送到 Android 设备(`%s` 代表空格): + +`input text "{{text}}"` + +- 将轻触发送到 Android 设备: + +`input tap {{x_pos}} {{y_pos}}` + +- 将滑动手势发送到 Android 设备: + +`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duration_in_ms}}` + +- 使用滑动手势将长按发送到 Android 设备: + +`input swipe {{x_pos}} {{y_pos}} {{x_pos}} {{y_pos}} {{duration_in_ms}}` diff --git a/pages.zh/android/logcat.md b/pages.zh/android/logcat.md new file mode 100644 index 00000000000000..3ba1829e0a3364 --- /dev/null +++ b/pages.zh/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> 转储系统消息日志,包括发生错误时的堆栈跟踪信息,以及应用程序记录的信息消息。 +> 更多信息:. + +- 显示系统日志: + +`logcat` + +- 将系统日志写入文件([f]ile): + +`logcat -f {{路径/到/文件}}` + +- 显示与正则表达式匹配的日志行: + +`logcat --regex {{正则表达式}}` + +- 显示特定 PID 的日志: + +`logcat --pid {{pid}}` + +- 显示特定包的进程日志: + +`logcat --pid $(pidof -s {{包}})` diff --git a/pages.zh/android/pkg.md b/pages.zh/android/pkg.md new file mode 100644 index 00000000000000..837ef5dfc14bd4 --- /dev/null +++ b/pages.zh/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Termux 的包管理工具。 +> 更多信息:. + +- 升级所有已安装的包: + +`pkg upgrade` + +- 安装一个包: + +`pkg install {{包名}}` + +- 卸载一个包: + +`pkg uninstall {{包名}}` + +- 重新安装一个包: + +`pkg reinstall {{包名}}` + +- 搜索一个包: + +`pkg search {{包名}}` diff --git a/pages.zh/android/pm.md b/pages.zh/android/pm.md new file mode 100644 index 00000000000000..5f2c8e897321b4 --- /dev/null +++ b/pages.zh/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> 显示关于 Android 设备上的应用程序的信息。 +> 更多信息:. + +- 打印所有已安装应用程序的列表: + +`pm list packages` + +- 打印所有已安装的系统应用程序的列表: + +`pm list packages -s` + +- 打印所有已安装的第三方应用程序的列表: + +`pm list packages -3` + +- 打印与指定关键字匹配的应用程序列表: + +`pm list packages {{关键词}}` + +- 打印指定应用的 APK 的路径: + +`pm path {{应用名}}` diff --git a/pages.zh/android/screencap.md b/pages.zh/android/screencap.md new file mode 100644 index 00000000000000..976b0d27630de3 --- /dev/null +++ b/pages.zh/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> 捕获移动设备显示器的屏幕截图。 +> 此命令只能通过 `adb shell` 使用。 +> 更多信息:. + +- 捕获屏幕截图: + +`screencap {{路径/到/文件}}` diff --git a/pages.zh/android/settings.md b/pages.zh/android/settings.md new file mode 100644 index 00000000000000..1130e7cd9f0339 --- /dev/null +++ b/pages.zh/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> 获取关于 Android OS 的信息。 +> 更多信息:. + +- 在 `全局` 命名空间中显示环境变量列表: + +`settings list {{global}}` + +- 获取指定环境变量的值: + +`settings get {{global}} {{airplane_mode_on}}` + +- 设置指定环境变量的值: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- 删除指定环境变量: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.zh/android/wm.md b/pages.zh/android/wm.md new file mode 100644 index 00000000000000..61c00c276a7e16 --- /dev/null +++ b/pages.zh/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> 显示关于 Android 设备屏幕的信息。 +> 此命令只能通过 `adb shell` 使用。 +> 更多信息:. + +- 显示 Android 设备屏幕的物理尺寸: + +`wm size` + +- 显示 Android 设备屏幕的物理密度: + +`wm density` diff --git a/pages.zh/common/!.md b/pages.zh/common/!.md new file mode 100644 index 00000000000000..726c755f9a0baf --- /dev/null +++ b/pages.zh/common/!.md @@ -0,0 +1,36 @@ +# ! + +> Bash 内置命令,用于替换历史记录中找到的命令。 +> 更多信息:. + +- 使用`sudo`重新执行上一个命令: + +`sudo !!` + +- 通过在`history`中出现的`行号`来调取命令: + +`!{{行号}}` + +- 调取`history`中的倒数第`数字`条命令: + +`!-{{数字}}` + +- 调取以`字符串`开头的最近执行的命令: + +`!{{字符串}}` + +- 调取上一个命令的参数给`当前命令`: + +`{{当前命令}} !*` + +- 调取上一个命令的最后一个参数给`当前命令`: + +`{{当前命令}} !$` + +- 调取上一个命令,但不包含最后一个参数: + +`!:-` + +- 显示以特定字符串开头的最后一个命令,但不执行: + +`!{{字符串}}:p` diff --git a/pages.zh/common/$.md b/pages.zh/common/$.md new file mode 100644 index 00000000000000..293dd20ad426e2 --- /dev/null +++ b/pages.zh/common/$.md @@ -0,0 +1,32 @@ +# $ + +> 展开 Bash 变量。 +> 更多信息:. + +- 打印变量的值: + +`echo ${{变量名}}` + +- 打印上一个命令的退出状态: + +`echo $?` + +- 打印 0 到 32767 之间的随机数: + +`echo $RANDOM` + +- 打印其中一个提示字符串: + +`echo ${{PS0|PS1|PS2|PS3|PS4}}` + +- 运行 `命令` 并展开它的输出。与将 `命令` 括在反引号中相同: + +`$({{命令}})` + +- 列出当前上下文有多少个参数: + +`echo $#` + +- 打印 Bash 数组: + +`echo ${array[@]}` diff --git a/pages.zh/common/,.md b/pages.zh/common/,.md new file mode 100644 index 00000000000000..365f1ec3114547 --- /dev/null +++ b/pages.zh/common/,.md @@ -0,0 +1,16 @@ +# , + +> 无需安装即可运行命令。 +> 更多信息:. + +- 运行命令: + +`, {{命令 -带 -参数}}` + +- 将命令添加到子 shell 中: + +`, {{[-s|--shell]}} {{命令}}` + +- 清除缓存: + +`, {{[-e|--empty-cache]}}` diff --git a/pages.zh/common/2to3.md b/pages.zh/common/2to3.md new file mode 100644 index 00000000000000..9d90601838aa79 --- /dev/null +++ b/pages.zh/common/2to3.md @@ -0,0 +1,34 @@ +# 2to3 + +> 自动将 Python 2 代码转换成 Python 3. +> 自 3.11 起,该模块已被弃用,并自 3.13 起被移除。 +> 参考请见:. +> 更多信息:. + +- 显示将执行的变动但不执行(dry-run): + +`2to3 {{路径/到/文件.py}}` + +- 将 Python 2 文件转化为 Python 3: + +`2to3 --write {{路径/到/文件.py}}` + +- 将 Python 2 语言特性转化为 Python 3: + +`2to3 --write {{路径/到/文件.py}} --fix {{raw_input}} --fix {{print}}` + +- 除了某个语言特性外将所有其他的 Python 2 语言特性转化为 Python 3: + +`2to3 --write {{路径/到/文件.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- 列出 Python 2 所有可转化为 Python 3 的语言特性: + +`2to3 --list-fixes` + +- 将某一文件夹的所有 Python 2 文件转化为 Python 3: + +`2to3 --output-dir {{路径/到/Python 3 目录}} --write-unchanged-files --nobackups {{路径/到/Python 2 目录}}` + +- 使用多线程运行 2to3: + +`2to3 --processes {{4}} --output-dir {{路径/到/Python 3 目录}} --write --nobackups --no-diff {{路径/到/Python 2 目录}}` diff --git a/pages.zh/common/7z.md b/pages.zh/common/7z.md index a6e9a14f61bc6d..adabb9986ab874 100644 --- a/pages.zh/common/7z.md +++ b/pages.zh/common/7z.md @@ -1,31 +1,36 @@ # 7z -> 一个高压缩率的文件归档器. +> 一个高压缩率的文件归档器。 +> 更多信息:. -- 归档一个文件或文件夹: +- 归档一个文件或目录: -`7z a {{归档文件.7z}} {{文件路径}}` +`7z a {{归档文件.7z}} {{文件或目录}}` -- 对已存在的归档文件加密(包括头部): +- 对已存在的归档文件加密(包括文件名): `7z a {{加密文件.7z}} -p{{密码}} -mhe=on {{归档文件.7z}}` -- 提取一个已存在的 7z 文件,并保持原来的目录结构: +- 提取一个已存在的 7z 文件,并保持原来的目录结构: `7z x {{归档文件.7z}}` -- 提取一个归档文件到自定义的输出目录: +- 提取一个归档文件到指定的输出目录: -`7z x {{归档文件.7z}} -o{{输出路径}}` +`7z x {{归档文件.7z}} -o{{输出目录}}` -- 使用指定的类型来归档文件: +- 提取一个归档文件到标准输出: -`7z a -t {{zip|gzip|bzip2|tar|...}} {{归档文件.7z}} {{文件路径}}` +`7z x {{归档文件.7z}} -so` -- 列出可用的归档文件类型: +- 使用指定的类型来归档文件: -`7z i` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{归档文件}} {{文件或目录}}` -- 列出一个归档文件的内容: +- 列出一个归档文件的内容: `7z l {{归档文件.7z}}` + +- 设置压缩级别(数字越高表示压缩越多,但速度更慢): + +`7z a {{归档文件.7z}} -mx={{0|1|3|5|7|9}} {{文件或目录}}` diff --git a/pages.zh/common/7za.md b/pages.zh/common/7za.md index 96c192b565586b..55158f6c6bcee3 100644 --- a/pages.zh/common/7za.md +++ b/pages.zh/common/7za.md @@ -1,24 +1,37 @@ # 7za -> 一个高压缩率的文件归档器. -> `7z`的独立版本,支持的文档类型较少. +> 一个高压缩率的文件归档器。 +> 类似于 `7z`,支持的文档类型更少但跨平台。 +> 更多信息:. -- 归档一个文件或文件夹: +- 归档一个文件或目录: -`7za a {{归档文件.7z}} {{文件路径}}` +`7za a {{归档文件.7z}} {{文件或目录}}` -- 提取一个已存在的 7z 文件,并保持原来的目录结构: +- 加密一个已存在的归档文件(包括文件名): -`7za x {{归档文件文件}}` +`7za a {{加密文件.7z}} -p{{密码}} -mhe={{on}} {{归档文件.7z}}` -- 使用指定的类型来归档文件: +- 提取一个已存在的 7z 文件,并保持原来的目录结构: -`7za a -t{{zip|gzip|bzip2|tar|...}} {{归档文件}} {{文件路径}}` +`7za x {{归档文件.7z}}` -- 列出可用的归档文件类型: +- 提取一个归档文件到指定目录: -`7za i` +`7za x {{归档文件.7z}} -o{{输出目录}}` -- 列出一个归档文件的内容: +- 提取一个归档文件到标准输出: -`7za l {{归档文件}}` +`7za x {{归档文件.7z}} -so` + +- 使用指定的类型来归档文件: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{归档文件.7z}} {{文件或目录}}` + +- 列出一个归档文件的内容: + +`7za l {{归档文件.7z}}` + +- 设置压缩级别(数字越高表示压缩越多,但速度更慢): + +`7za a {{归档文件.7z}} -mx={{0|1|3|5|7|9}} {{文件或目录}}` diff --git a/pages.zh/common/7zr.md b/pages.zh/common/7zr.md index 7386c0cc596fbb..55ad44983e1dfa 100644 --- a/pages.zh/common/7zr.md +++ b/pages.zh/common/7zr.md @@ -1,16 +1,33 @@ # 7zr -> 一个高压缩率的文件归档器. -> `7z`的独立版本,只支持 .7z 文件. +> 一个高压缩率的文件归档器。 +> 类似于 `7z`,只支持 7z 文件。 +> 更多信息:. -- 归档一个文件或文件夹: +- 归档一个文件或目录: -`7zr a {{归档文件.7z}} {{文件路径}}` +`7zr a {{归档文件.7z}} {{文件或目录}}` -- 提取一个已存在的 7z 文件,并保持原来的目录结构: +- 加密一个已存在的归档文件(包括文件名): + +`7zr a {{加密文件.7z}} -p{{密码}} -mhe={{on}} {{归档文件.7z}}` + +- 提取一个已存在的 7z 文件,并保持原来的目录结构: `7zr x {{归档文件.7z}}` -- 列出一个归档文件的内容: +- 提取一个归档文件到指定的输出目录: + +`7zr x {{归档文件.7z}} -o{{输出目录}}` + +- 提取一个归档文件到标准输出: + +`7zr x {{归档文件.7z}} -so` + +- 列出一个归档文件的内容: `7zr l {{归档文件.7z}}` + +- 设置压缩级别(数字越高表示压缩越多,但速度更慢): + +`7zr a {{归档文件.7z}} -mx={{0|1|3|5|7|9}} {{文件或目录}}` diff --git a/pages.zh/common/[.md b/pages.zh/common/[.md new file mode 100644 index 00000000000000..3eb87a1cceafb7 --- /dev/null +++ b/pages.zh/common/[.md @@ -0,0 +1,33 @@ +# [ + +> 检查文件类型,比较数值。 +> 如果条件计算结果为真返回 0,如果计算结果为假返回 1。 +> 更多信息:. + +- 测试一个给定的变量是否等于/不等于指定的字符串: + +`[ "${{变量}}" {{=|!=}} "{{字符串}}" ]` + +- 测试一个给定的变量是否等于/不等于/大于/小于/大于等于/小于等于指定的数字: + +`[ "${{变量}}" -{{eq|ne|gt|lt|ge|le}} {{数字}} ]` + +- 测试指定的变量的值是否非空: + +`[ -n "${{变量}}" ]` + +- 测试指定变量的值是否为空: + +`[ -z "${{变量}}" ]` + +- 测试指定文件是否存在: + +`[ -f {{路径/到/文件}} ]` + +- 测试指定目录是否存在: + +`[ -d {{路径/到/目录}} ]` + +- 测试指定文件或目录是否存在: + +`[ -e {{路径/到/文件或目录}} ]` diff --git a/pages.zh/common/[[.md b/pages.zh/common/[[.md new file mode 100644 index 00000000000000..d0b1beb2b06b4d --- /dev/null +++ b/pages.zh/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> 检查文件类型,比较数值。 +> 如果条件计算结果为真返回 0,如果计算结果为假返回 1。 +> 更多信息:. + +- 测试一个给定的变量是否等于/不等于指定的字符串: + +`[[ ${{变量}} {{==|!=}} "{{字符串}}" ]]` + +- 测试一个给定的变量是否符合指定的通配符/正则表达式: + +`[[ ${{变量}} {{==|=~}} {{模式}} ]]` + +- 测试一个给定的变量是否等于/不等于/大于/小于/大于等于/小于等于指定的数字: + +`[[ ${{变量}} -{{eq|ne|gt|lt|ge|le}} {{数字}} ]]` + +- 测试指定的变量的值是否非空: + +`[[ -n ${{变量}} ]]` + +- 测试指定的变量的值是否为空: + +`[[ -z ${{变量}} ]]` + +- 测试指定文件是否存在: + +`[[ -f {{路径/到/文件}} ]]` + +- 测试指定目录是否存在: + +`[[ -d {{路径/到/目录}} ]]` + +- 测试指定文件或目录是否存在: + +`[[ -e {{路径/到/文件或目录}} ]]` diff --git a/pages.zh/common/^.md b/pages.zh/common/^.md new file mode 100644 index 00000000000000..0a2b5dd23bfc75 --- /dev/null +++ b/pages.zh/common/^.md @@ -0,0 +1,21 @@ +# ^ + +> Bash 内置命令,用于快速替换上一个命令中的字符串并运行结果。 +> 等效于 `!!:s^string1^string2`。 +> 更多信息:. + +- 运行上一个命令,将 `字符串 1` 替换为 `字符串 2`: + +`^{{字符串 1}}^{{字符串 2}}` + +- 从上一个命令中移除 `字符串 1`: + +`^{{字符串 1}}^` + +- 在上一个命令中将 `字符串 1` 替换为 `字符串 2`,并在其末尾添加 `字符串 3`: + +`^{{字符串 1}}^{{字符串 2}}^{{字符串 3}}` + +- 替换所有出现的 `字符串 1`: + +`^{{字符串 1}}^{{字符串 2}}^:&` diff --git a/pages.zh/common/a2ping.md b/pages.zh/common/a2ping.md new file mode 100644 index 00000000000000..b76ba436bd9cc9 --- /dev/null +++ b/pages.zh/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> 将图像转换为 EPS 或 PDF 文件。 +> 更多信息:. + +- 将图像转换为 PDF(注意:指定输出文件名是可选的): + +`a2ping {{图像文件}} {{输出PDF文件}}` + +- 使用指定的方法压缩文档: + +`a2ping --nocompress {{none|zip|best|flate}} {{文件}}` + +- 如果存在,则扫描 HiResBoundingBox(默认为是): + +`a2ping --nohires {{文件}}` + +- 允许页面内容位于原点的下方和左侧(默认为否): + +`a2ping --below {{文件}}` + +- 将额外的参数传递给 `gs`: + +`a2ping --gsextra {{参数}} {{文件}}` + +- 将额外的参数传递给外部程序(如 `pdftops`): + +`a2ping --extra {{参数}} {{文件}}` + +- 显示帮助信息: + +`a2ping -h` diff --git a/pages.zh/common/aapt.md b/pages.zh/common/aapt.md index 8bb30652d76a03..ddc011d4738f77 100644 --- a/pages.zh/common/aapt.md +++ b/pages.zh/common/aapt.md @@ -1,16 +1,17 @@ # aapt -> 安卓资源包工具(Android Asset Packaging Tools). -> 该工具可以查看,创建, 更新资源压缩包(zip, jar, apk)。 +> 安卓资源包工具(Android Asset Packaging Tools)。 +> 该工具可以查看,创建,更新资源压缩包(zip, jar, apk)。 +> 更多信息:. -- 列出资源压缩包里的内容: +- 列出资源压缩包里的内容: `aapt list {{路径/到/应用.apk}}` -- 查看APK包内指定的内容 (版本, 权限许可等): +- 查看 APK 包内指定的内容(版本,权限许可等): `aapt dump badging {{路径/到/应用.apk}}` -- 打包生成资源压缩包: +- 打包生成资源压缩包: `aapt package -F {{路径/到/应用.apk}} {{路径/到/目录}}` diff --git a/pages.zh/common/ab.md b/pages.zh/common/ab.md index b90d7d75eecfa7..14499502ff0cc2 100644 --- a/pages.zh/common/ab.md +++ b/pages.zh/common/ab.md @@ -1,19 +1,28 @@ # ab -> Apache 基准测试工具.最简单的压力测试工具. +> Apache 基准测试工具。 +> 更多信息:. -- 向目标 URL 执行 100 次 HTTP GET 请求: +- 向目标 URL 执行 100 次 HTTP GET 请求: -`ab -n {{100}} {{url}}` +`ab -n 100 {{url}}` -- 使用 10 个并发请求,同时向目标 URL 执行 100 次 HTTP GET 请求: +- 使用 10 个并发请求,同时向目标 URL 执行 100 次 HTTP GET 请求: -`ab -n {{100}} -c {{10}} {{url}}` +`ab -n 100 -c 10 {{url}}` -- 使用 keep alive: +- 使用来自文件的 JSON 负载对 URL 执行 100 个 HTTP POST 请求: + +`ab -n 100 -T {{application/json}} -p {{path/to/file.json}} {{url}}` + +- 使用 HTTP [K]eep Alive,即在一个 HTTP 会话中执行多个请求: `ab -k {{url}}` -- 为基准测试设置最大的测试时间(单位:秒): +- 为基准测试设置最大的测试时间(单位:秒): `ab -t {{60}} {{url}}` + +- 将结果写入到一个 CSV 文件中: + +`ab -e {{路径/到/文件.csv}}` diff --git a/pages.zh/common/abduco.md b/pages.zh/common/abduco.md index 85f516716b2f94..a051e21fa6b599 100644 --- a/pages.zh/common/abduco.md +++ b/pages.zh/common/abduco.md @@ -1,23 +1,24 @@ # abduco -> 终端会话管理器. +> 终端会话管理器。 +> 更多信息:. -- 列出会话: +- 列出会话: `abduco` -- 附加到一个会话,如果不存在则新建它: +- 附加到一个会话,如果不存在则新建它: `abduco -A {{会话名}} {{终端}}` -- 使用`dvtm`附加到一个会话,如果不存在则新建它: +- 使用`dvtm`附加到一个会话,如果不存在则新建它: `abduco -A {{会话名}}` -- 从一个会话中分离: +- 从一个会话中分离: -`Ctrl + \` +`` -- 以只读模式附加到一个会话: +- 以只读模式附加到一个会话: `abduco -Ar {{会话名}}` diff --git a/pages.zh/common/ac.md b/pages.zh/common/ac.md new file mode 100644 index 00000000000000..ee2166fe3660b4 --- /dev/null +++ b/pages.zh/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> 打印用户连接时间的统计数据。 +> 更多信息:. + +- 打印当前用户连接的时间,以小时为单位: + +`ac` + +- 打印用户连接的时间,以小时为单位: + +`ac -p` + +- 打印一个特定用户的连接时间,以小时为单位: + +`ac -p {{用户名}}` + +- 打印一个特定用户每天连接的时间,以小时为单位(包括总数): + +`ac -dp {{用户名}}` diff --git a/pages.zh/common/accelerate.md b/pages.zh/common/accelerate.md new file mode 100644 index 00000000000000..92588374ef585f --- /dev/null +++ b/pages.zh/common/accelerate.md @@ -0,0 +1,28 @@ +# accelerate + +> 一个使得可以在任何分布式配置中运行相同的 PyTorch 代码的库。 +> 更多信息:. + +- 打印环境信息: + +`accelerate env` + +- 交互式地创建配置文件: + +`accelerate config` + +- 打印使用不同数据类型运行 Hugging Face 模型的估计 GPU 内存成本: + +`accelerate estimate-memory {{名字/模型}}` + +- 测试一个 Accelerate 配置文件: + +`accelerate test --config_file {{路径/到/配置文件.yaml}}` + +- 使用 Accelerate 在 CPU 上运行一个模型: + +`accelerate launch {{路径/到/脚本.py}} {{--cpu}}` + +- 使用 Accelerate 在多 GPU 上运行一个模型,使用 2 台机器: + +`accelerate launch {{路径/到/脚本.py}} --multi_gpu --num_machines 2` diff --git a/pages.zh/common/ack.md b/pages.zh/common/ack.md index c4e342ed4e6735..ca76b31765ff09 100644 --- a/pages.zh/common/ack.md +++ b/pages.zh/common/ack.md @@ -1,19 +1,37 @@ # ack -> 一个类似 grep 的搜索工具,为程序员优化. +> 一个类似 grep 的搜索工具,为程序员优化。 +> 另见 `rg`,它要快得多。 +> 更多信息:. -- 寻找包含"小明"的文件: +- 在当前目录下递归地搜索包含一个字符串或正则表达式的文件: -`ack {{小明}}` +`ack "{{search_pattern}}"` -- 在给定文件类型中寻找包含"小明"的文件: +- 不区分大小写搜索: -`ack --ruby {{小明}}` +`ack {{[-i|--ignore-case]}} "{{search_pattern}}"` -- 计算匹配到"小明"的总次数: +- 搜索匹配模式的行,只打印匹配的文本,而不打印行的其他部分: -`ack -ch {{小明}}` +`ack {{[-o|--output '$&']}} "{{search_pattern}}"` -- 列出内容包含"小明"的文件的文件名,并显示在每个文件中匹配的次数: +- 限制搜索特定类型的文件: -`ack -cl {{小明}}` +`ack {{[-t|--type]}} {{ruby}} "{{search_pattern}}"` + +- 不在特定类型的文件中搜索: + +`ack {{[-t|--type]}} no{{ruby}} "{{search_pattern}}"` + +- 计算找到的匹配文件的总数: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{search_pattern}}"` + +- 只打印文件名和每个文件的匹配数: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{search_pattern}}"` + +- 列出所有可与 `--type` 一起使用的值: + +`ack --help-types` diff --git a/pages.zh/common/acme.sh-dns.md b/pages.zh/common/acme.sh-dns.md new file mode 100644 index 00000000000000..82bbcb8826b0e6 --- /dev/null +++ b/pages.zh/common/acme.sh-dns.md @@ -0,0 +1,24 @@ +# acme.sh --dns + +> 使用 DNS-01 挑战来签发 TLS 证书。 +> 更多信息:. + +- 使用自动 DNS API 模式签发证书: + +`acme.sh --issue --dns {{gnd_gd}} --domain {{example.com}}` + +- 使用自动 DNS API 模式签发通配符证书(用星号表示): + +`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}` + +- 使用 DNS 别名模式签发证书: + +`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{alias-for-example-validation.com}}` + +- 在添加 DNS 记录后,通过指定自定义的等待时间(秒),在禁用 Cloudflare / Google DNS 自动轮询的同时签发证书: + +`acme.sh --issue --dns {{dns_namecheap}} --domain {{example.com}} --dnssleep {{300}}` + +- 使用手动 DNS 模式签发证书: + +`acme.sh --issue --dns --domain {{example.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please` diff --git a/pages.zh/common/acme.sh.md b/pages.zh/common/acme.sh.md new file mode 100644 index 00000000000000..f4441372e85a0b --- /dev/null +++ b/pages.zh/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> 实现了 ACME 客户端协议的 shell 脚本,是 `certbot` 的替代品。 +> 另见 `acme.sh dns`。 +> 更多信息:. + +- 使用网站根目录模式签发证书: + +`acme.sh --issue --domain {{example.com}} --webroot {{/路径/到/网站根目录}}` + +- 使用独立模式和 80 端口为多个域名签发证书: + +`acme.sh --issue --standalone --domain {{example.com}} --domain {{www.example.com}}` + +- 使用独立 TLS 模式和 443 端口签发证书: + +`acme.sh --issue --alpn --domain {{example.com}}` + +- 使用运行中的 Nginx 的配置来签发证书: + +`acme.sh --issue --nginx --domain {{example.com}}` + +- 使用运行中的 Apache 的配置来签发证书: + +`acme.sh --issue --apache --domain {{example.com}}` + +- 使用自动 DNS API 模式签发一个通配符(\*)证书: + +`acme.sh --issue --dns {{dns_cf}} --domain {{*.example.com}}` + +- 将证书文件安装到指定位置(对自动更新证书很有用): + +`acme.sh --install-cert -d {{example.com}} --key-file {{/路径/到/example.com.key}} --fullchain-file {{/路径/到/example.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"` diff --git a/pages.zh/common/act.md b/pages.zh/common/act.md index dfd9d04aa96a52..7307d9ffa4f7b6 100644 --- a/pages.zh/common/act.md +++ b/pages.zh/common/act.md @@ -1,28 +1,32 @@ # act -> 使用Docker本地运行GitHub Actions -> 更多信息: . +> 使用 Docker 本地运行 GitHub Actions. +> 更多信息:. -- 列出可用的actions清单: +- 列出可用的 actions 清单: `act -l` -- 运行默认event: +- 运行默认 event: `act` -- 运行指定event: +- 运行指定 event: -`act {{事件类型}}` +`act {{event_type}}` -- 运行指定action: +- 运行指定 action: `act -a {{action_id}}` -- 非实际运行actions (也就是dry-run模式): +- 非实际运行 actions(也就是 dry-run 模式): `act -n` -- 展示详细记录: +- 展示详细记录: `act -v` + +- 运行指定 workflow: + +`act push -W {{workflow 的路径}}` diff --git a/pages.zh/common/acyclic.md b/pages.zh/common/acyclic.md new file mode 100644 index 00000000000000..2197791b69311a --- /dev/null +++ b/pages.zh/common/acyclic.md @@ -0,0 +1,17 @@ +# acyclic + +> 通过反转一些边来使有向图无环。 +> Graphviz 过滤器:`acyclic`、`bcomps`、`comps`、`edgepaint`、`gvcolor`、`gvpack`、`mingle`、`nop`、`sccmap`、`tred` 和 `unflatten`。 +> 更多信息:. + +- 通过反转一些边来使有向图无环: + +`acyclic {{路径/到/输入.gv}} > {{路径/到/输出.gv}}` + +- 打印出一个图是无环的、有环的还是无向的,不产生输出图: + +`acyclic -v -n {{路径/到/输入.gv}}` + +- 显示 `acyclic` 的帮助: + +`acyclic -?` diff --git a/pages.zh/common/adb-connect.md b/pages.zh/common/adb-connect.md new file mode 100644 index 00000000000000..cf08ebb5b74938 --- /dev/null +++ b/pages.zh/common/adb-connect.md @@ -0,0 +1,16 @@ +# adb connect + +> 通过无线连接到 Android 设备。 +> 更多信息:. + +- 与一个安卓设备配对(可在开发者选项中,找到地址和配对码): + +`adb pair {{ip_地址}}:{{端口}}` + +- 与一个安卓设备连接(端口与配对时存在差异): + +`adb connect {{ip_地址}}:{{端口}}` + +- 断开与设备的连接: + +`adb disconnect {{ip_地址}}:{{端口}}` diff --git a/pages.zh/common/adb-devices.md b/pages.zh/common/adb-devices.md new file mode 100644 index 00000000000000..035c65aeb40ea6 --- /dev/null +++ b/pages.zh/common/adb-devices.md @@ -0,0 +1,12 @@ +# adb devices + +> 列出已连接的 Android 设备。 +> 更多信息:. + +- 列出设备: + +`adb devices` + +- 列出设备及其系统信息: + +`adb devices -l` diff --git a/pages.zh/common/adb-disconnect.md b/pages.zh/common/adb-disconnect.md new file mode 100644 index 00000000000000..fd92c45f60daf9 --- /dev/null +++ b/pages.zh/common/adb-disconnect.md @@ -0,0 +1,7 @@ +# adb disconnect + +> 该命令已移动到 `adb connect`. + +- 查看 `adb disconnect` 的文档: + +`tldr adb connect` diff --git a/pages.zh/common/adb-forward.md b/pages.zh/common/adb-forward.md new file mode 100644 index 00000000000000..5e6e8a21550b6f --- /dev/null +++ b/pages.zh/common/adb-forward.md @@ -0,0 +1,20 @@ +# adb forward + +> 通过无线连接到一个 Android 设备。 +> 更多信息:. + +- 转发一个 TCP 端口: + +`adb forward tcp:{{本地_端口}} tcp:{{远程_端口}}` + +- 列出所有转发规则: + +`adb forward --list` + +- 移除转发规则: + +`adb forward --remove tcp:{{本地_端口}}` + +- 移除所有转发规则: + +`adb forward --remove-all` diff --git a/pages.zh/common/adb-install.md b/pages.zh/common/adb-install.md index 1fa44edb52c71f..b9cd4f4343cfd4 100644 --- a/pages.zh/common/adb-install.md +++ b/pages.zh/common/adb-install.md @@ -1,20 +1,28 @@ # adb install -> 安卓调试桥-Install: 将应用安装包推送到Android模拟器或已连接的安卓设备. -> 更多信息: . +> 安卓调试桥 -Install: 将应用安装包推送到 Android 模拟器或已连接的安卓设备。 +> 更多信息:. -- 向模拟器/设备推送安卓app: +- 向模拟器/设备推送安卓 app: `adb install {{路径/到/应用.apk}}` -- 重装app, 保持原有数据: +- 向特定的模拟器/设备推送安卓 app(覆盖 `$ANDROID_SERIAL`): + +`adb -s {{序列号}} install {{路径/到/应用.apk}}` + +- 重装 app, 保持原有数据: `adb install -r {{路径/到/应用.apk}}` -- 授予app manifest中列举的所有权限许可: +- 推送一个允许版本代码降级的安卓 app(仅适用于可调试的软件包): + +`adb install -d {{路径/到/应用.apk}}` + +- 授予 app manifest 中列举的所有权限许可: `adb install -g {{路径/到/应用.apk}}` -- 快速部署模式,仅更新APK更改过的部分: +- 快速部署模式,仅更新 APK 更改过的部分: `adb install --fastdeploy {{路径/到/应用.apk}}` diff --git a/pages.zh/common/adb-logcat.md b/pages.zh/common/adb-logcat.md new file mode 100644 index 00000000000000..0fe20413fb3874 --- /dev/null +++ b/pages.zh/common/adb-logcat.md @@ -0,0 +1,36 @@ +# adb logcat + +> 转储系统消息日志。 +> 更多信息:. + +- 显示系统日志: + +`adb logcat` + +- 显示符合正则表达式的行: + +`adb logcat -e {{正则表达式}}` + +- 显示特定优先级下(V:详细,D:调试,I:信息,W:警告,E:错误,F:严重错误,S:静默)标记的日志,过滤掉其他标记: + +`adb logcat {{标记}}:{{最低优先级}} *:S` + +- 在详细(V)模式下显示 React Native 应用程序的日志,静默(S)其他标记: + +`adb logcat ReactNative:V ReactNativeJS:V *:S` + +- 显示优先级为警告(W)及以上的所有标签的日志: + +`adb logcat *:W` + +- 显示特定 PID 的日志: + +`adb logcat --pid {{pid}}` + +- 显示某个特定软件包的进程日志: + +`adb logcat --pid $(adb shell pidof -s {{软件包}})` + +- 给日志着色(通常与过滤器一起使用): + +`adb logcat -v color` diff --git a/pages.zh/common/adb-pair.md b/pages.zh/common/adb-pair.md new file mode 100644 index 00000000000000..702ef1515a8906 --- /dev/null +++ b/pages.zh/common/adb-pair.md @@ -0,0 +1,7 @@ +# adb pair + +> 该命令已移动到 `adb connect`. + +- 查看 `adb pair` 的文档: + +`tldr adb connect` diff --git a/pages.zh/common/adb-reboot.md b/pages.zh/common/adb-reboot.md new file mode 100644 index 00000000000000..157417bf6bd74d --- /dev/null +++ b/pages.zh/common/adb-reboot.md @@ -0,0 +1,20 @@ +# adb reboot + +> 重启已连接的 Android 设备或模拟器。 +> 更多信息:. + +- 正常重启设备: + +`adb reboot` + +- 重启设备到引导加载程序模式: + +`adb reboot bootloader` + +- 重启设备到恢复模式: + +`adb reboot recovery` + +- 重启设备到 fastboot 模式: + +`adb reboot fastboot` diff --git a/pages.zh/common/adb-reverse.md b/pages.zh/common/adb-reverse.md index 4c9e9fb6dd6da9..6a1b6c5126c3f1 100644 --- a/pages.zh/common/adb-reverse.md +++ b/pages.zh/common/adb-reverse.md @@ -1,20 +1,20 @@ # adb reverse -> 安卓调试桥-反射: 反向映射安卓模拟器实例或者已连接的实体设备的套接字连接. -> 更多信息: . +> 安卓调试桥-反射: 反向映射安卓模拟器实例或者已连接的实体设备的套接字连接。 +> 更多信息:. -- 列出所有来自模拟器和设备的映射连接 +- 列出所有来自模拟器和设备的映射连接: -`adb reverse —list` +`adb reverse --list` -- 将TCP端口从安卓模拟器或设备中映射到localhost: +- 将 TCP 端口从安卓模拟器或设备中映射到 localhost: `adb reverse tcp:{{远程端口}} tcp:{{本地端口}}` -- 从安卓模拟器或设备移除一个反向socket连接: +- 从安卓模拟器或设备移除一个反向 socket 连接: `adb reverse --remove tcp:{{远程端口}}` -- 从安卓模拟器或设备移除所有反向socket连接: +- 从安卓模拟器或设备移除所有反向 socket 连接: `adb reverse --remove-all` diff --git a/pages.zh/common/adb-shell.md b/pages.zh/common/adb-shell.md index 1b565f331bb5a9..b851e03c0a3838 100644 --- a/pages.zh/common/adb-shell.md +++ b/pages.zh/common/adb-shell.md @@ -1,38 +1,36 @@ # adb shell > 安卓调试桥-Shell: 运行安卓模拟器或者连接设备上的远程终端命令。 -> 更多信息: . +> 更多信息:. -- 启动模拟器/设备上的远程终端: +- 启动模拟器/设备上的远程终端: `adb shell` -- 获取模拟器/设备全部属性: +- 获取模拟器/设备全部属性: `adb shell getprop` -- 查看进程列表 - -- 重置所有运行时权限为它们的默认值: +- 重置所有运行时权限为它们的默认值: `adb shell pm reset-permissions` -- 撤销一个应用的危险权限: +- 撤销一个应用的危险权限: `adb shell pm revoke {{包名}} {{权限}}` -- 触发一个键盘敲击事件: +- 触发一个键盘敲击事件: -`adb shell input keyevent {{键位码}}}` +`adb shell input keyevent {{键位码}}` -- 清除模拟器/设备上的数据: +- 清除模拟器/设备上的数据: `adb shell pm clear {{包名}}` -- 启动模拟器/设备上的一个行为: +- 启动模拟器/设备上的一个行为: `adb shell am start -n {{包名}}/{{活动名}}` -- 启动模拟器/设备上的首页活动: +- 启动模拟器/设备上的首页活动: `adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN` diff --git a/pages.zh/common/adb-uninstall.md b/pages.zh/common/adb-uninstall.md new file mode 100644 index 00000000000000..d63c288a2137f6 --- /dev/null +++ b/pages.zh/common/adb-uninstall.md @@ -0,0 +1,12 @@ +# adb uninstall + +> 卸载一个软件包。 +> 更多信息:. + +- 卸载一个软件包: + +`adb uninstall {{com.example.app}}` + +- 卸载软件包,但是保留用户数据: + +`adb uninstall -k {{com.example.app}}` diff --git a/pages.zh/common/adb.md b/pages.zh/common/adb.md index b9c003b21e48cf..c8864716ae0fa1 100644 --- a/pages.zh/common/adb.md +++ b/pages.zh/common/adb.md @@ -1,32 +1,37 @@ # adb -> 安卓调试桥:与 Android 模拟器或已连接的 Android 设备通信. -> 更多信息: . +> 安卓调试桥:与 Android 模拟器或已连接的 Android 设备通信。 +> 此命令也有关于其子命令的文件,例如:`shell`. +> 更多信息:. -- 检查 adb server 进程的是否在运行,并开启它: +- 检查 adb server 进程的是否在运行,并开启它: `adb start-server` -- 终止 adb server 进程: +- 终止 adb server 进程: `adb kill-server` -- 在目标模拟器 / 设备实例上开启一个远程 shell: +- 在目标模拟器 / 设备实例上开启一个远程 shell: `adb shell` -- 将 Android 应用程序推送到模拟器 / 设备 : +- 将 Android 应用程序推送到模拟器 / 设备: `adb install -r {{路径/到/应用.apk}}` -- 从目标设备上拷贝一个文件 / 目录到本地: +- 从目标设备上拷贝一个文件 / 目录到本地: -`adb pull {{路径/到/设备的文件或目录}} {{路径/到/本地上的目录}}` +`adb pull {{路径/到/设备的文件或目录}} {{路径/到/本地目录}}` -- 从本地拷贝一个文件 / 目录到目标设备: +- 从本地拷贝一个文件 / 目录到目标设备: -`adb push {{路径/到/本地文件或目录}} {{路径/到/设备上的目录}}` +`adb push {{路径/到/本地文件或目录}} {{路径/到/设备目录}}` -- 列出已连接的设备: +- 列出已连接的设备: `adb devices` + +- 当有多个设备连接时,指定目标设备执行命令: + +`adb -s {{设备_ID}} {{shell}}` diff --git a/pages.zh/common/adguardhome.md b/pages.zh/common/adguardhome.md index 858c8cd51fcb5e..374928e82a7cd4 100644 --- a/pages.zh/common/adguardhome.md +++ b/pages.zh/common/adguardhome.md @@ -1,32 +1,32 @@ # AdGuardHome -> 一款全网广告拦截与反跟踪软件. -> 更多信息: . +> 一款全网广告拦截与反跟踪软件。 +> 更多信息:. -- 运行 AdGuard Home: +- 运行 AdGuard Home: `AdGuardHome` -- 使用给定的配置文件运行 AdGuard Home: +- 使用给定的配置文件运行 AdGuard Home: `AdGuardHome --config {{给定的/配置文件.yaml}}` -- 设置存储数据的工作目录: +- 设置存储数据的工作目录: `AdGuardHome --work-dir {{工作目录/路径}}` -- 安装或卸载 AdGuard Home 的服务: +- 安装或卸载 AdGuard Home 的服务: `AdGuardHome --service {{install|uninstall}}` -- 启动 AdGuard Home 的服务: +- 启动 AdGuard Home 的服务: `AdGuardHome --service start` -- 刷新 AdGuard Home 服务的设置项: +- 刷新 AdGuard Home 服务的设置项: `AdGuardHome --service reload` -- 停止或重启 AdGuard Home 的服务: +- 停止或重启 AdGuard Home 的服务: `AdGuardHome --service {{stop|restart}}` diff --git a/pages.zh/common/adscript.md b/pages.zh/common/adscript.md new file mode 100644 index 00000000000000..1bed6caa324187 --- /dev/null +++ b/pages.zh/common/adscript.md @@ -0,0 +1,20 @@ +# adscript + +> 用于 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}}` diff --git a/pages.zh/common/afconvert.md b/pages.zh/common/afconvert.md new file mode 100644 index 00000000000000..ab8f4eac3249f8 --- /dev/null +++ b/pages.zh/common/afconvert.md @@ -0,0 +1,12 @@ +# afconvert + +> 在 AFF 和 raw 文件格式之间进行转换。 +> 更多信息:. + +- 使用一个特定的扩展名(默认:`aff`): + +`afconvert -a {{扩展名}} {{路径/到/输入文件}} {{路径/到/输出文件1 路径/到/输出文件2 ...}}` + +- 使用一个特定的压缩级别(默认:`7`): + +`afconvert -X{{0..7}} {{路径/到/输入文件}} {{路径/到/输出文件1 路径/到/输出文件2 ...}}` diff --git a/pages.zh/common/ag.md b/pages.zh/common/ag.md index 3bec30349f28dc..2c656512e29779 100644 --- a/pages.zh/common/ag.md +++ b/pages.zh/common/ag.md @@ -1,32 +1,32 @@ # ag -> The Silver Searcher. 类似 ack, 但是更快. -> 更多信息: . +> The Silver Searcher. 类似 `ack`, 但是更快。 +> 更多信息:. -- 寻找内容包含"小明"的文件,并列出所在的行数: +- 寻找内容包含"小明"的文件,并列出所在的行数: `ag {{小明}}` -- 在指定目录中寻找内容包含"foo"的文件: +- 在指定目录中寻找内容包含 "foo" 的文件: `ag {{小明}} {{指定的目录}}` -- 寻找内容包含"foo"的文件,但只列出文件名: +- 寻找内容包含 "foo" 的文件,但只列出文件名: `ag -l {{小明}}` -- 忽略大小写,寻找内容包含"ABC"的文件,并只输出匹配的内容,而非整行: +- 忽略大小写,寻找内容包含 "ABC" 的文件,并只输出匹配的内容,而非整行: `ag -i -o {{ABC}}` -- 在文件名包含"小红"的文件中寻找"小明": +- 在文件名包含"小红"的文件中寻找"小明": `ag {{小明}} -G {{小红}}` -- 使用正则表达式来匹配文件内容: +- 使用正则表达式来匹配文件内容: `ag '{{^ba(r|z)$}}'` -- 输出文件名包含"小明"的文件名: +- 输出文件名包含"小明"的文件名: `ag -g {{小明}}` diff --git a/pages.zh/common/agate.md b/pages.zh/common/agate.md new file mode 100644 index 00000000000000..3c036032b867ad --- /dev/null +++ b/pages.zh/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> 一个简单的 Gemini 网络协议的服务器。 +> 更多信息:. + +- 运行并生成一个私钥和证书: + +`agate --content {{路径/到/内容/}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{en-US}}` + +- 启动服务器: + +`agate {{路径/到/文件}}` + +- 显示帮助: + +`agate -h` diff --git a/pages.zh/common/age-keygen.md b/pages.zh/common/age-keygen.md new file mode 100644 index 00000000000000..714e73cf2a000a --- /dev/null +++ b/pages.zh/common/age-keygen.md @@ -0,0 +1,13 @@ +# age-keygen + +> 生成 `age` 密钥对。 +> 参见:`age` 用于加密/解密文件。 +> 更多信息:. + +- 生成密钥对,将其保存到未加密文件,并将公钥打印到标准输出: + +`age-keygen --output {{路径/到/文件}}` + +- 将身份转换为接收者,并将公钥打印到标准输出: + +`age-keygen -y {{路径/到/文件}}` diff --git a/pages.zh/common/age.md b/pages.zh/common/age.md new file mode 100644 index 00000000000000..2ceeefd4730c1d --- /dev/null +++ b/pages.zh/common/age.md @@ -0,0 +1,25 @@ +# age + +> 一个简单、现代、安全的文件加密工具。 +> 参见:`age-keygen` 用于生成密钥对。 +> 更多信息:. + +- 生成一个可以用密码短语(passphrase)解密的加密文件: + +`age --passphrase --output {{路径/到/已加密文件}} {{路径/到/未加密文件}}` + +- 用一个或多个公钥加密一个文件,这些公钥以字面形式输入: + +`age --recipient {{公钥}} --output {{路径/到/已加密文件}} {{路径/到/未加密文件}}` + +- 用收件人文件中指定的一个或多个公钥来加密一个文件: + +`age --recipients-file {{路径/到/收件人文件}} --output {{路径/到/已加密文件}} {{路径/到/未加密文件}}` + +- 用密码短语解密一个文件: + +`age --decrypt --output {{路径/到/已解密文件}} {{路径/到/已加密文件}}` + +- 用私钥文件解密一个文件: + +`age --decrypt --identity {{路径/到/私钥文件}} --output {{路径/到/已解密文件}} {{路径/到/已加密文件}}` diff --git a/pages.zh/common/aircrack-ng.md b/pages.zh/common/aircrack-ng.md new file mode 100644 index 00000000000000..6c9acfbd3da53b --- /dev/null +++ b/pages.zh/common/aircrack-ng.md @@ -0,0 +1,21 @@ +# aircrack-ng + +> 破解捕获数据包中握手阶段的 WEP 和 WPA/WPA2 密钥。 +> Aircrack-ng 网络软件套件的一部分。 +> 更多信息:. + +- 使用字典文件破解捕获文件中的密钥: + +`aircrack-ng -w {{路径/到/字典文件.txt}} {{路径/到/捕获文件.cap}}` + +- 使用多线程和字典文件破解捕获文件中的密钥: + +`aircrack-ng -p {{线程数}} -w {{路径/到/字典文件.txt}} {{路径/到/捕获文件.cap}}` + +- 使用字典文件和接入点的 ESSID 破解捕获文件中的密钥: + +`aircrack-ng -w {{路径/到/字典文件.txt}} -e {{essid}} {{路径/到/捕获文件.cap}}` + +- 使用字典文件和接入点的 MAC 地址破解捕获文件中的密钥: + +`aircrack-ng -w {{路径/到/字典文件.txt}} --bssid {{mac}} {{路径/到/捕获文件.cap}}` diff --git a/pages.zh/common/airdecap-ng.md b/pages.zh/common/airdecap-ng.md new file mode 100644 index 00000000000000..88a8219ea60133 --- /dev/null +++ b/pages.zh/common/airdecap-ng.md @@ -0,0 +1,25 @@ +# airdecap-ng + +> 解密 WEP、WPA 或 WPA2 加密的捕获文件。 +> 是 Aircrack-ng 网络软件套件的一部分。 +> 更多信息:. + +- 从开放网络捕获文件中移除无线头,并使用接入点的 MAC 地址进行过滤: + +`airdecap-ng -b {{ap_mac}} {{路径/到/捕获文件.cap}}` + +- 使用十六进制格式的密钥解密 WEP 加密的捕获文件: + +`airdecap-ng -w {{hex_key}} {{路径/到/捕获文件.cap}}` + +- 使用接入点的 ESSID 和密码解密 WPA/WPA2 加密的捕获文件: + +`airdecap-ng -e {{essid}} -p {{密码}} {{路径/到/捕获文件.cap}}` + +- 使用接入点的 ESSID 和密码解密 WPA/WPA2 加密的捕获文件,并保留头部信息: + +`airdecap-ng -l -e {{essid}} -p {{密码}} {{路径/到/捕获文件.cap}}` + +- 使用接入点的 MAC 地址进行过滤,并使用接入点的 ESSID 和密码解密 WPA/WPA2 加密的捕获文件: + +`airdecap-ng -b {{ap_mac}} -e {{essid}} -p {{密码}} {{路径/到/捕获文件.cap}}` diff --git a/pages.zh/common/aireplay-ng.md b/pages.zh/common/aireplay-ng.md new file mode 100644 index 00000000000000..111df719209db5 --- /dev/null +++ b/pages.zh/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> 向无线网络注入数据包。 +> `aircrack-ng` 的一部分。 +> 更多信息:. + +- 向指定的接入点(AP)MAC 地址、客户端 MAC 地址和接口发送指定数量的去关联(disassociate)数据包: + +`sudo aireplay-ng --deauth {{count}} --bssid {{ap_mac}} --dmac {{client_mac}} {{interface}}` diff --git a/pages.zh/common/airmon-ng.md b/pages.zh/common/airmon-ng.md new file mode 100644 index 00000000000000..e56da2d8296730 --- /dev/null +++ b/pages.zh/common/airmon-ng.md @@ -0,0 +1,21 @@ +# airmon-ng + +> 激活无线网络设备的监控模式。 +> 属于 `aircrack-ng` 套件的一部分。 +> 更多信息:. + +- 列出无线设备及其状态: + +`sudo airmon-ng` + +- 为一个特定的设备打开监控模式: + +`sudo airmon-ng start {{wlan0}}` + +- 关闭使用无线设备的干扰进程: + +`sudo airmon-ng check kill` + +- 关闭某个特定网络接口的监控模式: + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.zh/common/airodump-ng.md b/pages.zh/common/airodump-ng.md new file mode 100644 index 00000000000000..6bdc97d36091ea --- /dev/null +++ b/pages.zh/common/airodump-ng.md @@ -0,0 +1,21 @@ +# airodump-ng + +> 捕获数据包并显示有关无线网络的信息。 +> `aircrack-ng` 的一部分。 +> 更多信息:. + +- 捕获数据包并显示有关无线网络的信息: + +`sudo airodump-ng {{网络接口}}` + +- 捕获数据包并显示关于 5GHz 频段无线网络的信息: + +`sudo airodump-ng {{网络接口}} --band a` + +- 捕获数据包并显示关于 2.4GHz 和 5GHz 频段无线网络的信息: + +`sudo airodump-ng {{网络接口}} --band abg` + +- 捕获数据包并显示有关无线网络的信息,给定 MAC 地址和信道,并将输出保存到文件中: + +`sudo airodump-ng --channel {{信道}} --write {{路径/到/文件}} --bssid {{mac}} {{网络接口}}` diff --git a/pages.zh/common/airpaste.md b/pages.zh/common/airpaste.md index 6f06060ae159c8..75550f76697456 100644 --- a/pages.zh/common/airpaste.md +++ b/pages.zh/common/airpaste.md @@ -1,23 +1,24 @@ # airpaste -> 在同一网络下共享信息和文件. +> 在同一网络下共享信息和文件。 +> 更多信息:. -- 等待接收消息并显示接收到的信息: +- 等待接收消息并显示接收到的信息: `airpaste` -- 发送文本: +- 发送文本: `echo {{文本}} | airpaste` -- 发送文件: +- 发送文件: `airpaste < {{文件的路径}}` -- 接收文件: +- 接收文件: `airpaste > {{文件的路径}}` -- 创建 / 加入频道: +- 创建 / 加入频道: `airpaste {{频道名}}` diff --git a/pages.zh/common/airshare.md b/pages.zh/common/airshare.md new file mode 100644 index 00000000000000..6a299e2f6dc10c --- /dev/null +++ b/pages.zh/common/airshare.md @@ -0,0 +1,28 @@ +# airshare + +> 在本地网络中传输数据的工具。 +> 更多信息:. + +- 共享文件或目录: + +`airshare {{code}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 接收文件: + +`airshare {{code}}` + +- 主机接收服务器(使用此选项可以通过 Web 接口上传文件): + +`airshare --upload {{code}}` + +- 将文件或目录发送到接收服务器: + +`airshare --upload {{code}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 发送已复制到剪贴板的文件路径: + +`airshare --file-path {{code}}` + +- 接收文件并将其复制到剪贴板: + +`airshare --clip-receive {{code}}` diff --git a/pages.zh/common/ajson.md b/pages.zh/common/ajson.md new file mode 100644 index 00000000000000..4cb140329db307 --- /dev/null +++ b/pages.zh/common/ajson.md @@ -0,0 +1,20 @@ +# ajson + +> 对 JSON 对象执行 JSONPath 操作。 +> 更多信息:. + +- 从文件中读取 JSON 并执行指定的 JSONPath 表达式: + +`ajson '{{$..json[?(@.path)]}}' {{路径/到/文件.json}}` + +- 从标准输入中读取 JSON 并执行指定的 JSONPath 表达式: + +`cat {{路径/到/文件.json}} | ajson '{{$..json[?(@.path)]}}'` + +- 从 URL 中获取 JSON 并计算指定的 JSONPath 表达式: + +`ajson '{{avg($..price)}}' '{{https://example.com/api/}}'` + +- 读取一些简单的 JSON 并计算一个值: + +`echo '{{3}}' | ajson '{{2 * pi * $}}'` diff --git a/pages.zh/common/alacritty.md b/pages.zh/common/alacritty.md index 3434828554bb6f..1545d0b0210ae4 100644 --- a/pages.zh/common/alacritty.md +++ b/pages.zh/common/alacritty.md @@ -1,24 +1,32 @@ # alacritty -> 跨平台,GPU 加速的终端模拟器. -> 更多信息: . +> 跨平台、GPU 加速的终端模拟器。 +> 更多信息:. -- 打开一个新的 alacritty 窗口: +- 启动新的 Alacritty 进程并创建窗口: `alacritty` -- 运行在指定目录中: +- 启动 Alacritty 守护进程(不创建窗口): -`alacritty --working-directory {{路径}}` +`alacritty --daemon` -- 在新的 alacritty 窗口中运行命令: +- 使用已运行的 Alacritty 进程创建新窗口: + +`alacritty msg create-window` + +- 在指定目录启动 shell(也可配合 `alacritty msg create-window` 使用): + +`alacritty --working-directory {{路径/到/目录}}` + +- 执行([e]xecute)命令到新 Alacritty 窗口(也可配合 `alacritty msg create-window` 使用): `alacritty -e {{命令}}` -- 指定备用配置文件 (默认在 $XDG_CONFIG_HOME/alacritty/alacritty.yml): +- 使用替代配置文件(默认使用 `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): -`alacritty --config-file {{路径/config.yml}}` +`alacritty --config-file {{路径/到/配置.toml}}` -- 在启用实时配置重新加载的情况下运行(默认情况下也可以在 alacritty.yml 中启用): +- 启用实时配置重载运行(也可在 `alacritty.toml` 中默认启用): -`alacritty --live-config-reload --config-file {{路径/config.yml}}` +`alacritty --live-config-reload --config-file {{路径/到/配置.toml}}` diff --git a/pages.zh/common/alex.md b/pages.zh/common/alex.md new file mode 100644 index 00000000000000..fc34a2a749cf0c --- /dev/null +++ b/pages.zh/common/alex.md @@ -0,0 +1,20 @@ +# alex + +> 捕捉文本中的不敏感、不考虑他人的写作风格。它帮助您找出文本中的性别偏向、极端化、种族相关、宗教考虑不周等不平等表达。 +> 更多信息:. + +- 从标准输入分析文本: + +`echo {{His network looks good}} | alex --stdin` + +- 分析当前目录中的所有文件: + +`alex` + +- 分析特定文件: + +`alex {{路径/到/文件.md}}` + +- 分析除了 `示例文件.md` 之外的所有 Markdown 文件: + +`alex *.md !{{示例文件.md}}` diff --git a/pages.zh/common/alias.md b/pages.zh/common/alias.md index bfe3154a5d8410..a65d1faa69a9c6 100644 --- a/pages.zh/common/alias.md +++ b/pages.zh/common/alias.md @@ -1,28 +1,29 @@ # alias -> 创建别名 -- 用给定的字符串指代特定的命令. -> 别名只会在当前的 shell 会话中生效,除非它们在 shell 的配置文件中被定义,例如`~/.bashrc`. +> 创建别名——用给定的字符串指代特定的命令。 +> 别名只会在当前的 shell 会话中生效,除非它们在 shell 的配置文件中被定义,例如`~/.bashrc`。 +> 更多信息:. -- 创建一个通用的别名: +- 列出所有别名: + +`alias` + +- 创建一个通用的别名: `alias {{别名}}="{{命令}}"` -- 通过给定的别名查看它所指代的命令: +- 通过给定的别名查看它所指代的命令: `alias {{别名}}` -- 移除一个别名: +- 移除一个别名: `unalias {{别名}}` -- 列出所有的别名: - -`alias -p` - -- 将 rm 转换为交互式命令: +- 将 `rm` 转换为交互式命令: -`alias {{rm}}="{{rm -i}}"` +`alias {{rm}}="{{rm --interactive}}"` -- 创建别名`la`来指代`ls -a`: +- 创建别名 `la` 来指代 `ls --all`: -`alias {{la}}="{{ls -a}}"` +`alias {{la}}="{{ls --all}}"` diff --git a/pages.zh/common/amass.md b/pages.zh/common/amass.md new file mode 100644 index 00000000000000..9790e85f5a683d --- /dev/null +++ b/pages.zh/common/amass.md @@ -0,0 +1,21 @@ +# amass + +> 深度攻击面探测与资产发现工具。 +> 此命令也有关于其子命令的文件,例如:`intel`. +> 更多信息:. + +- 执行 Amass 子命令: + +`amass {{intel|enum}} {{options}}` + +- 展示帮助信息: + +`amass -help` + +- 展示子命令帮助信息: + +`amass {{intel|enum}} -help` + +- 查看 Amass 版本: + +`amass -version` diff --git a/pages.zh/common/androguard.md b/pages.zh/common/androguard.md index 7ee278460fe133..aaec024c2e8c6d 100644 --- a/pages.zh/common/androguard.md +++ b/pages.zh/common/androguard.md @@ -1,16 +1,16 @@ # androguard -> 使用python编写的一款针对安卓应用的逆向工程工具. -> 更多信息: . +> 使用 Python 编写的一款针对安卓应用的逆向工程工具。 +> 更多信息:. -- 展示Android manifest清单文件: +- 展示 Android manifest 清单文件: `androguard axml {{路径/至/应用.apk}}` -- 展示app元数据 (版本和app ID): +- 展示 app 元数据(版本和 app ID): `androguard apkid {{路径/至/应用.apk}}` -- 反编译Java代码: +- 反编译 Java 代码: `androguard decompile {{路径/至/应用.apk}} --output {{路径/至/目录}}` diff --git a/pages.zh/common/ani-cli.md b/pages.zh/common/ani-cli.md new file mode 100644 index 00000000000000..0486023c2cecc5 --- /dev/null +++ b/pages.zh/common/ani-cli.md @@ -0,0 +1,36 @@ +# ani-cli + +> 一个用于浏览和观看动漫的命令行工具。 +> 更多信息:. + +- 按名称搜索动漫: + +`ani-cli "{{动漫名称}}"` + +- 下载([d]ownload)剧集: + +`ani-cli -d "{{动漫名称}}"` + +- 下载([d]ownload)一个范围([r]ange)的剧集: + +`ani-cli -d -r "{{1 6}}" "{{动漫名称}}"` + +- 下载([d]ownload)整部动漫(所有剧集的范围): + +`ani-cli -d -r "1 -1" "{{动漫名称}}"` + +- 使用 [v]LC 播放器播放: + +`ani-cli -v "{{动漫名称}}"` + +- 观看特定([e]pisode)剧集: + +`ani-cli -e {{剧集序号}} "{{动漫名称}}"` + +- 从历史记录中([c]ontinue)继续观看动漫: + +`ani-cli -c` + +- 更新([U]pdate)`ani-cli`: + +`ani-cli -U` diff --git a/pages.zh/common/anki.md b/pages.zh/common/anki.md new file mode 100644 index 00000000000000..2a918f5dc563cd --- /dev/null +++ b/pages.zh/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> 强大、智能的记忆卡片软件。 +> 更多信息:. + +- 启动 `anki`: + +`anki` + +- 用一个特定的配置文件启动 `anki`: + +`anki -p {{配置文件名称}}` + +- 以特定语言启动 `anki`: + +`anki -l {{语言}}` + +- 从一个特定的目录而不是默认的(`~/Anki`)启动`anki`: + +`anki -b {{路径/到/目录}}` diff --git a/pages.zh/common/ansible-galaxy.md b/pages.zh/common/ansible-galaxy.md index 7525c65772f283..bbe744f9bdfa5d 100644 --- a/pages.zh/common/ansible-galaxy.md +++ b/pages.zh/common/ansible-galaxy.md @@ -1,24 +1,32 @@ # ansible-galaxy -> 创建和管理 Ansible 角色. -> 主页:. +> 执行与 Ansible 角色和集合相关的各种操作。 +> 更多信息:. -- 安装一个角色: +- 列出已安装的角色或集合: -`ansible-galaxy install {{用户名.角色名}}` +`ansible-galaxy {{role|collection}} list` -- 移除一个角色: +- 使用不同的详细等级搜索角色(`-v` 应该放在最后): -`ansible-galaxy remove {{用户名.角色名}}` +`ansible-galaxy role search {{关键字}} -v{{vvvvv}}` -- 列出已安装的角色: +- 安装或移除角色: -`ansible-galaxy list` +`ansible-galaxy role {{install|remove}} {{角色名称1 角色名称2 ...}}` -- 搜索一个指定的角色: +- 创建一个新角色: -`ansible-galaxy search {{角色名}}` +`ansible-galaxy role init {{角色名称}}` -- 创建一个新的角色: +- 获取关于角色的信息: -`ansible-galaxy init {{角色名}}` +`ansible-galaxy role info {{角色名称}}` + +- 安装或移除集合: + +`ansible-galaxy collection {{install|remove}} {{集合名称1 集合名称2 ...}}` + +- 显示关于角色或集合的帮助信息: + +`ansible-galaxy {{role|collection}} {{[-h|--help]}}` diff --git a/pages.zh/common/ansible-playbook.md b/pages.zh/common/ansible-playbook.md index 03f3510d059db1..8bf999013e4a81 100644 --- a/pages.zh/common/ansible-playbook.md +++ b/pages.zh/common/ansible-playbook.md @@ -1,20 +1,32 @@ # ansible-playbook -> 通过 SSH 协议在远程计算机上执行 playbook 中定义的任务. -> 主页:. +> 通过 SSH 协议在远程计算机上执行 playbook 中定义的任务。 +> 更多信息:. -- 执行 playbook 中的任务: +- 执行 playbook 中的任务: `ansible-playbook {{playbook}}` -- 在给定的主机清单文件中执行 playbook 中的命令: +- 使用自定义主机清单执行 playbook 中的任务: -`ansible-playbook {{playbook}} -i {{清单文件}}` +`ansible-playbook {{playbook}} {{[-i|--inventory]}} {{清单文件}}` -- 通过定义在命令行中额外的变量执行 playbook 中的任务: +- 使用通过命令行定义的额外变量执行 playbook 中的任务: -`ansible-playbook {{playbook}} -e "{{变量 1}}={{值 1}} {{变量 2}}={{值 2}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "{{变量1}}={{值1}} {{变量2}}={{值2}}"` -- 通过定义在一个 json 格式的文件中额外的变量执行 playbook 中的任务: +- 使用在 JSON 文件中定义的额外变量执行 playbook 中的任务: -`ansible-playbook {{playbook}} -e "@{{variables.json}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "@{{变量.json}}"` + +- 执行 playbook 中的指定标签的任务: + +`ansible-playbook {{playbook}} {{[-t|--tags|]}} {{标签1,标签2}}` + +- 从指定任务开始执行 playbook 中的任务: + +`ansible-playbook {{playbook}} --start-at {{任务名称}}` + +- 以不做任何更改(试执行)方式执行 playbook 中的任务: + +`ansible-playbook {{playbook}} {{[-C|--check|]}} {{[-D|--diff|]}}` diff --git a/pages.zh/common/ansible.md b/pages.zh/common/ansible.md index 5149f544516e20..bb2953b9ef97b8 100644 --- a/pages.zh/common/ansible.md +++ b/pages.zh/common/ansible.md @@ -1,29 +1,33 @@ # ansible -> 通过 SSH 协议远程管理计算机组. -> 使用 /etc/ansible/hosts 文件来添加组 / 主机. -> 主页:. +> 通过 SSH 协议远程管理计算机组。使用 `/etc/ansible/hosts` 文件来添加组 / 主机。 +> 此命令也有关于其子命令的文件,例如:`galaxy`. +> 更多信息:. -- 列出给定组下的所有主机: +- 列出给定组下的所有主机: `ansible {{组}} --list-hosts` -- 调用 ping 模块来 ping 一组主机: +- 调用 ping 模块来 ping 一组主机: -`ansible {{组}} -m ping` +`ansible {{组}} {{[-m|--module-name]}} ping` -- 通过调用安装模块来显示关于一组主机的信息: +- 通过调用安装模块来显示关于一组主机的信息: -`ansible {{组}} -m setup` +`ansible {{组}} {{[-m|--module-name]}} setup` -- 调用命令模块并使用给定的参数来对一组主机执行命令: +- 调用命令模块并使用给定的参数来对一组主机执行命令: -`ansible {{组}} -m command -a '{{命令}}'` +`ansible {{组}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{命令}}'` -- 以管理员权限执行一个命令: +- 以管理员权限执行一个命令: -`ansible {{组}} --become --ask-become-pass -m command -a '{{命令}}'` +`ansible {{组}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{命令}}'` -- 使用自定义的清单文件执行一个命令: +- 使用自定义的清单文件执行一个命令: -`ansible {{组}} -i {{清单文件}} -m command -a '{{命令}}'` +`ansible {{组}} {{[-i|--inventory]}} {{清单文件}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{命令}}'` + +- 列出清单中的组: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.zh/common/ansiweather.md b/pages.zh/common/ansiweather.md index 1194766ec863fe..e545e85857f45a 100644 --- a/pages.zh/common/ansiweather.md +++ b/pages.zh/common/ansiweather.md @@ -1,15 +1,16 @@ # ansiweather -> 一个 shell 脚本,用于在终端中显示当前的天气状况. +> 一个 shell 脚本,用于在终端中显示当前的天气状况。 +> 更多信息:. -- 使用公制单位显示 Rzeszow, Poland 接下来 5 天的天气预报: +- 使用公制单位显示 Rzeszow, Poland 接下来 5 天的天气预报: -`ansiweather -u {{metric}} -f {{5}} -l {{Rzeszow,PL}}` +`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}` -- 显示带符号和日光数据信息的天气预报: +- 显示带符号和日光数据信息的天气预报: -`ansiweather -s {{true}} -d {{true}}` +`ansiweather -F -s true -d true` -- 显示带风力等级和湿度信息的天气预报: +- 显示带风力等级和湿度信息的天气预报: -`ansiweather -w {{true}} -h {{true}}` +`ansiweather -w true -h true` diff --git a/pages.zh/common/ant.md b/pages.zh/common/ant.md new file mode 100644 index 00000000000000..77bbedd5a819e4 --- /dev/null +++ b/pages.zh/common/ant.md @@ -0,0 +1,25 @@ +# ant + +> Apache Ant。 +> 用于构建和管理基于 Java 的项目的工具。 +> 更多信息:. + +- 用默认的构建文件 `build.xml` 构建一个项目: + +`ant` + +- 使用 `build.xml` 以外的构建文件构建项目: + +`ant -f {{构建文件.xml}}` + +- 打印该项目可能的目标信息: + +`ant -p` + +- 打印调试信息: + +`ant -d` + +- 执行所有不依赖失败目标的目标: + +`ant -k` diff --git a/pages.zh/common/apg.md b/pages.zh/common/apg.md index 4e052569f91e9a..fcb8da0ea08ae3 100644 --- a/pages.zh/common/apg.md +++ b/pages.zh/common/apg.md @@ -1,23 +1,24 @@ # apg -> 生成任意复杂度的随机密码. +> 生成任意复杂度的随机密码。 +> 更多信息:. -- 生成随机密码 (默认密码长度为 8 位): +- 生成随机密码(默认密码长度为 8 位): `apg` -- 生成密码,包含至少 1 个符号 (S), 1 个数字 (N), 1 个大写字母 (C), 1 个小写字母 (L): +- 生成密码,包含至少 1 个符号 (S), 1 个数字 (N), 1 个大写字母 (C), 1 个小写字母 (L): `apg -M SNCL` -- 生成 16 个字符的密码: +- 生成 16 个字符的密码: `apg -m {{16}}` -- 生成最大长度为 16 位的密码: +- 生成最大长度为 16 位的密码: `apg -x {{16}}` -- 生成未出现在字典中的密码(必须提供字典文件) +- 生成未出现在字典中的密码(必须提供字典文件): -`apg -r {{字典文件}}` +`apg -r {{路径/到/字典文件}}` diff --git a/pages.zh/common/apktool.md b/pages.zh/common/apktool.md index 17b790c87ff7db..8a262668dd532a 100644 --- a/pages.zh/common/apktool.md +++ b/pages.zh/common/apktool.md @@ -1,16 +1,16 @@ # apktool -> APK文件反编译工具 -> 更多信息: . +> APK 文件反编译工具。 +> 更多信息:. -- 反编译: +- 反编译: `apktool d {{应用.apk}}` -- 将一个文件夹打包为apk文件: +- 将一个文件夹打包为 apk 文件: `apktool b {{路径/到/目录}}` -- 安装并存储框架: +- 安装并存储框架: `apktool if {{框架.apk}}` diff --git a/pages.zh/common/apm.md b/pages.zh/common/apm.md index a5e0e3284b5d46..dfa3536f1052ff 100644 --- a/pages.zh/common/apm.md +++ b/pages.zh/common/apm.md @@ -1,16 +1,17 @@ # apm -> Atom 编辑器的包管理工具. +> Atom 编辑器的包管理工具。 > 参见 `atom`. +> 更多信息:. -- 下载包:http://atom.io/packages 和主题 http://atom.io/themes: +- 下载包: 和主题 : `apm install {{包名}}` -- 移除包 / 主题: +- 移除包 / 主题: `apm remove {{包名}}` -- 升级包 / 主题: +- 升级包 / 主题: `apm upgrade {{包名}}` diff --git a/pages.zh/common/apropos.md b/pages.zh/common/apropos.md index 4c2d07ab8afc1c..a63cfaba8a99e8 100644 --- a/pages.zh/common/apropos.md +++ b/pages.zh/common/apropos.md @@ -1,11 +1,16 @@ # apropos -> 在 manpages 中搜索,例如查找一个新命令. +> 在 manpages 中搜索,例如查找一个新命令。 +> 更多信息:. -- 搜索关键字: +- 使用正则表达式搜索关键字: `apropos {{正则表达式}}` -- 搜索时不限制输出到终端宽度: +- 搜索时不限制输出到终端宽度: `apropos -l {{正则表达式}}` + +- 搜索与给定的所有表达式都匹配的页面: + +`apropos {{正则表达式_1}} -a {{正则表达式_2}} -a {{正则表达式_3}}` diff --git a/pages.zh/common/ar.md b/pages.zh/common/ar.md index 50e4aae0659f94..a270402de0de3a 100644 --- a/pages.zh/common/ar.md +++ b/pages.zh/common/ar.md @@ -1,23 +1,24 @@ # ar -> 创建,修改,提取库文件 (.a, .so, .o). +> 创建,修改,提取库文件(`.a`, `.so`, `.o`)。 +> 更多信息:. -- 从库文件中提取全部成员: +- 从库文件中提取全部成员: -`ar -x {{a 文件}}` +`ar x {{a 文件}}` -- 列出库文件中的成员: +- 列出库文件中的成员: -`ar -t {{a 文件}}` +`ar t {{a 文件}}` -- 替换或添加文件到库文件: +- 替换或添加文件到库文件: -`ar -r {{要被添加内容的 a 文件}} {{o 文件 1}} {{o 文件 2}} {{o 文件 3}}` +`ar r {{要被添加内容的 a 文件}} {{o 文件1 o 文件2 o 文件3 ...}}` -- 插入对象文件索引(相当于使用`ranlib`): +- 插入对象文件索引(相当于使用`ranlib`): -`ar -s {{a 文件}}` +`ar s {{a 文件}}` -- 使用文件和附带的目标文件索引创建存档: +- 使用文件和附带的目标文件索引创建存档: -`ar -rs {{a 文件}} {{o 文件 1}} {{o 文件 2}} {{o 文件 3}}` +`ar rs {{a 文件}} {{o 文件1 o 文件2 ...}}` diff --git a/pages.zh/common/arch.md b/pages.zh/common/arch.md index 9831c743a0bec4..a4c15daff689a6 100644 --- a/pages.zh/common/arch.md +++ b/pages.zh/common/arch.md @@ -1,8 +1,9 @@ # arch -> 展示系统架构的名称. +> 展示系统架构的名称。 > 另见`uname`. +> 更多信息:. -- 展示系统架构. +- 展示系统架构: `arch` diff --git a/pages.zh/common/arduino.md b/pages.zh/common/arduino.md new file mode 100644 index 00000000000000..c82873fb4a8bb1 --- /dev/null +++ b/pages.zh/common/arduino.md @@ -0,0 +1,36 @@ +# arduino + +> Arduino Studio - 为 Arduino 平台准备的集成开发环境。 +> 更多信息:. + +- 构建一个草稿: + +`arduino --verify {{路径/到/文件.ino}}` + +- 构建草稿,并上传至设备: + +`arduino --upload {{路径/到/文件.ino}}` + +- 构建草稿,并上传至带有一个 Atmega328p CPU 的 Arduino Nano(连接到端口 `/dev/ttyACM0`): + +`arduino --board {{arduino:avr:nano:cpu=atmega328p}} --port {{/dev/ttyACM0}} --upload {{路径/到/文件.ino}}` + +- 将首选项 `名称` 设定为特定 `值`: + +`arduino --pref {{名称}}={{值}}` + +- 构建草稿,将输出保存在输出文件夹,同时重复利用该文件夹中,在此之前已经输出的文件: + +`arduino --pref build.path={{路径/到/输出_文件夹}} --verify {{路径/到/文件.ino}}` + +- 保存任意(修改过的)首选项到 `preferences.txt`: + +`arduino --save-prefs` + +- 安装最新的 SAM 开发板: + +`arduino --install-boards "{{arduino:sam}}"` + +- 安装 Bridge 和 Servo 库: + +`arduino --install-library "{{Bridge:1.0.0,Servo:1.2.0}}"` diff --git a/pages.zh/common/aria2.md b/pages.zh/common/aria2.md index 76dab0ee8fe932..0a7a76e44fedab 100644 --- a/pages.zh/common/aria2.md +++ b/pages.zh/common/aria2.md @@ -1,33 +1,7 @@ # aria2 -> 一个轻量级多协议和多源命令行下载工具 -> 支持 HTTP, HTTPS, FTP, SFTP, BitTorrent and Metalink. -> 主页:. +> 这是 `aria2c` 命令的一个别名。 -- 下载一个网络资源: +- 原命令的文档在: -`aria2c {{http://example.org/myLinux.iso}}` - -- 从多个源处下载一个资源: - -`aria2c {{http://mirror1.org/myLinux.iso}} {{http://mirror2.org/myLinux.iso}}` - -- 使用两个连接下载资源: - -`aria2c -x{{2}} {{http://example.org/myLinux.iso}}` - -- 从 Metalink URI 中下载资源: - -`aria2c {{http://example.org/myLinux.metalink}}` - -- 从 BitTorrent URI 中下载资源: - -`aria2c {{http://example.org/myLinux.torrent}}` - -- 从 BitTorrent Magnet URI 中下载资源: - -`aria2c {{'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C'}}` - -- 从一个文件中下载资源: - -`aria2c -i {{uris.txt}}` +`tldr aria2c` diff --git a/pages.zh/common/aria2c.md b/pages.zh/common/aria2c.md index 5fa2a711de17ad..64442f9e8eedad 100644 --- a/pages.zh/common/aria2c.md +++ b/pages.zh/common/aria2c.md @@ -1,28 +1,37 @@ # aria2c -> 快速下载工具. -> 支持 HTTP(S), FTP, SFTP, BitTorrent, and Metalink. +> 快速下载工具。 +> 支持 HTTP(S)、FTP、SFTP、BitTorrent 和 Metalink。 +> 更多信息:. -- 下载一个 URI 到文件: +- 将特定 URI 下载到一个文件: -`aria2c {{url}}` +`aria2c "{{url}}"` -- 从多个源处下载一个资源: +- 从一个 URI 下载文件,并指定输出文件名: -`aria2c {{url_1}} {{url_2}}` +`aria2c --out {{路径/到/文件}} "{{url}}"` -- 通过保存在一个文件中的 URL 列表来下载资源: +- 并行下载多个不同的文件: -`aria2c -i {{文件名}}` +`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"` -- 使用多个连接下载资源: +- 从不同的镜像下载相同的文件,并验证已下载文件的校验和: -`aria2c -s {{连接数量}} {{url}}` +`aria2c --checksum {{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"` -- 通过带用户名密码验证的 FTP 协议下载资源: +- 下载文件中列出的 URI,并指定并行下载的数量: -`aria2c --ftp-user={{用户名}} --ftp-passwd={{密码}} {{url}}` +`aria2c --input-file {{路径/到/文件}} --max-concurrent-downloads {{下载数}}` -- 限制下载速度 (bytes/s): +- 使用多个连接进行下载: -`aria2c --max-download-limit={{速度}} {{url}}` +`aria2c --split {{连接数}} "{{url}}"` + +- 使用用户名和密码进行 FTP 下载: + +`aria2c --ftp-user {{用户名}} --ftp-passwd {{密码}} "{{url}}"` + +- 限制下载速度为字节/秒(bytes/s): + +`aria2c --max-download-limit {{速度}} "{{url}}"` diff --git a/pages.zh/common/arp-scan.md b/pages.zh/common/arp-scan.md new file mode 100644 index 00000000000000..5900a76cdb7c27 --- /dev/null +++ b/pages.zh/common/arp-scan.md @@ -0,0 +1,20 @@ +# arp-scan + +> 发送 ARP 数据包到特定主机(指定 IP 地址或主机名),来扫描本地网络。 +> 更多信息:. + +- 扫描当前本地网络: + +`arp-scan {{[-l|--localnet]}}` + +- 扫描带有自定义位掩码的 IP 网络: + +`arp-scan {{192.168.1.1}}/{{24}}` + +- 扫描自定义范围内的 IP 网络: + +`arp-scan {{127.0.0.0}}-{{127.0.0.31}}` + +- 扫描带有自定义子网掩码的 IP 网络: + +`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages.zh/common/arp.md b/pages.zh/common/arp.md index c7ea8c9c2c7f41..af37be030cc5d0 100644 --- a/pages.zh/common/arp.md +++ b/pages.zh/common/arp.md @@ -1,19 +1,16 @@ # arp -> 显示和操作系统的 ARP 缓存. +> 显示和操作系统的 ARP 缓存。 +> 更多信息:. -- 显示当前的 ARP 表: +- 显示当前的 ARP 表: `arp -a` -- 清除整个缓存: - -`sudo arp -a -d` - -- 删除特定条目: +- 删除特定条目: `arp -d {{地址}}` -- 创建指定条目: +- 创建指定条目: `arp -s {{地址}} {{MAC 地址}}` diff --git a/pages.zh/common/arthas-trace.md b/pages.zh/common/arthas-trace.md new file mode 100644 index 00000000000000..41f80314377aaf --- /dev/null +++ b/pages.zh/common/arthas-trace.md @@ -0,0 +1,21 @@ +# arthas-trace + +> 方法内部调用路径,并输出方法路径上的每个节点上耗时。 +> 另见 `arthas`, `arthas-watch`. +> 更多信息:. + +- 追踪方法调用链: + +`trace {{class-pattern}} {{method-pattern}}` + +- 追踪方法调用链,仅显示大于 10 毫秒的调用: + +`trace {{class-pattern}} {{method-pattern}} '#cost > {{10}}'` + +- 追踪多个类和方法的调用: + +`trace -E {{class-pattern1|class-patter2}} {{method-pattern1|method-pattern2|method-pattern3}}` + +- 仅显示大于 10 毫秒的调用链,观测 10 次: + +`trace {{class-pattern}} {{method-pattern}} '#cost > {{10}}' -n 5` diff --git a/pages.zh/common/arthas-watch.md b/pages.zh/common/arthas-watch.md new file mode 100644 index 00000000000000..09ddef6e5dacb8 --- /dev/null +++ b/pages.zh/common/arthas-watch.md @@ -0,0 +1,17 @@ +# arthas-watch + +> 函数执行数据观测。 +> 另见 `arthas`, `arthas-trace`. +> 更多信息:. + +- 在方法调用后观察,显示第一个参数和返回值,展开嵌套对象的 4 层: + +`watch {{class-pattern}} {{method-pattern}} {{'{ params[0],returnObj }'}} -x 4` + +- 在方法调用后观测,当第一个参数的值是 5 时,显示第二个参数和返回值,展开嵌套对象的 4 层: + +`watch {{class-pattern}} {{method-pattern}} {{'{ params[1],returnObj }'}} {{'"5".equals(params[0])'}} -x 4` + +- 在方法返回和异常后观测,显示第二个参数的 count 属性: + +`watch {{class-pattern}} {{method-pattern}} {{'{ params[1].count }'}} -e -s` diff --git a/pages.zh/common/arthas.md b/pages.zh/common/arthas.md new file mode 100644 index 00000000000000..694340bd6ee151 --- /dev/null +++ b/pages.zh/common/arthas.md @@ -0,0 +1,21 @@ +# arthas + +> Java 应用诊断利器。 +> 另见 `arthas-watch`, `arthas-trace`. +> 更多信息:. + +- 启动 arthas: + +`java -jar {{路径/到/arthas-boot.jar}}` + +- 重连 arthas (默认 3658 端口): + +`telnet localhost {{端口号}}` + +- 退出当前 arthas 客户端的连接,但不停止 arthas 服务: + +`exit|quit|logout|q` + +- 停止 arthas 服务,断开所有 arthas 客户端的连接: + +`stop` diff --git a/pages.zh/common/asar.md b/pages.zh/common/asar.md index f1ea0bce827499..8a886dc26dbf32 100644 --- a/pages.zh/common/asar.md +++ b/pages.zh/common/asar.md @@ -1,19 +1,20 @@ # asar -> Electron 平台的文件打包工具. +> Electron 平台的文件打包工具。 +> 更多信息:. -- 打包一个文件或目录: +- 打包一个文件或目录: `asar pack {{文件或目录路径}} {{输出的 asar 文件}}` -- 解压一个 asar 文件: +- 解压一个 asar 文件: `asar extract {{asar 文件}}` -- 从 asar 文件中解压指定的文件: +- 从 asar 文件中解压指定的文件: `asar extract-file {{asar 文件}} {{文件}}` -- 列出一个 asar 文件中的内容: +- 列出一个 asar 文件中的内容: `asar list {{asar 文件}}` diff --git a/pages.zh/common/asciinema.md b/pages.zh/common/asciinema.md index f579c9a264ec55..c7b98376cb2f1f 100644 --- a/pages.zh/common/asciinema.md +++ b/pages.zh/common/asciinema.md @@ -1,35 +1,33 @@ # asciinema -> 录制和播放终端会话,也可以把他们分享到 asciinema.org. +> 录制和回放终端会话,并可选分享到 。 +> 另见:`terminalizer`。 +> 更多信息:. -- 将本地安装的`asciinema`与 asciinema.org 账号关联: +- 将本地安装的 `asciinema` 与 asciinema.org 账号关联: `asciinema auth` -- 进行新的录制(完成后,将提示用户上传或在本地保存: +- 新建录制并保存到本地文件(按 `` 或输入 `exit` 结束): -`asciinema rec` +`asciinema rec {{路径/到/录制文件.cast}}` -- 进行新的录制,保存到本地的文件中: +- 从本地文件回放终端录制: -`asciinema rec {{文件路径}}.cast` +`asciinema play {{路径/到/录制文件.cast}}` -- 从本地文件中播放终端录屏: - -`asciinema play {{文件路径}}.cast` - -- 在 asciinema.org 中播放终端录屏: +- 回放托管在 的终端录制: `asciinema play https://asciinema.org/a/{{文件 ID}}` -- 进行新的录制,将闲置时间设置为最多 2.5 秒: +- 新建录制,限制空闲时间最多 2.5 秒: -`asciinema rec -i {{2.5}}` +`asciinema rec {{[-i|--idle-time-limit]}} 2.5` -- 打印本地保存的录像的完整输出: +- 打印本地保存录制的完整输出: -`asciinema cat {{文件路径}}.cast` +`asciinema cat {{路径/到/录制文件.cast}}` -- 从本地上传一个录屏到 asciinema.org: +- 上传本地保存的终端录制到 asciinema.org: -`asciinema upload {{文件路径}}.cast` +`asciinema upload {{路径/到/录制文件.cast}}` diff --git a/pages.zh/common/asdf.md b/pages.zh/common/asdf.md index 340e8a759fc784..a69f09e8ad7de4 100644 --- a/pages.zh/common/asdf.md +++ b/pages.zh/common/asdf.md @@ -1,28 +1,32 @@ # asdf -> 可扩展的包版本管理器,支持Nodejs,Ruby,Elixir,Erlang等. -> 更多信息: . +> 可扩展的包版本管理器,支持 Nodejs、Ruby、Elixir 和 Erlang 等。 +> 更多信息:. -- 可用插件清单: +- 可用插件清单: -`asdf plugin-list-all` +`asdf plugin list all` -- 安装插件: +- 安装插件: -`asdf plugin-add {{插件名}}` +`asdf plugin add {{插件名}}` -- 软件包的可用版本清单: +- 软件包的可用版本清单: -`asdf list-all {{软件包名}}` +`asdf list all {{软件包名}}` -- 安装指定版本的软件包: +- 安装指定版本的软件包: `asdf install {{软件包名}} {{版本}}` -- 设置软件包的全局安装版本: +- 设置软件包的全局安装版本: -`asdf global {{软件包名}} {{版本}}` +`asdf set -u {{软件包名}} {{版本}}` -- 设置软件包的本地版本: +- 设置软件包的本地版本: -`asdf local {{软件包名}} {{版本}}` +`asdf set {{软件包名}} {{版本}}` + +- 查看软件包当前使用的版本: + +`asdf current {{软件包名}}` diff --git a/pages.zh/common/aspell.md b/pages.zh/common/aspell.md new file mode 100644 index 00000000000000..9fcb18a254d88b --- /dev/null +++ b/pages.zh/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> 交互式拼写检查工具。 +> 更多信息:. + +- 为一个文件做拼写检查: + +`aspell check {{文件路径}}` + +- 列出来自标准输入的拼写错误单词: + +`cat {{文件}} | aspell list` + +- 列出可用的字典语言: + +`aspell dicts` + +- 指定不同的语言(取 ISO 639 语言代码的 2 个字母)来运行 `aspell`: + +`aspell --lang={{cs}}` + +- 列出来自标准输入的拼写错误单词,并且忽略个人单词列表中的单词: + +`cat {{文件}} | aspell --personal={{个人单词列表.pws}} list` diff --git a/pages.zh/common/at.md b/pages.zh/common/at.md new file mode 100644 index 00000000000000..559cd45b131187 --- /dev/null +++ b/pages.zh/common/at.md @@ -0,0 +1,29 @@ +# at + +> 在稍后时间执行命令。 +> 结果将被发送到用户的邮箱。 +> 更多信息:. + +- 交互式创建命令并在 5 分钟后执行(完成后按 ``): + +`at now + 5 minutes` + +- 交互式创建命令并在特定时间执行: + +`at {{小时:分钟}}` + +- 在今天 10:00 AM 从标准输入执行一个命令: + +`echo "{{命令}}" | at 1000` + +- 在下周二晚上 9:30 从指定文件执行命令: + +`at -f {{路径/到/文件}} 9:30 PM Tue` + +- 列出当前用户的所有待执行任务(等同于 `atq`): + +`at -l` + +- 查看指定任务: + +`at -c {{任务编号}}` diff --git a/pages.zh/common/atom.md b/pages.zh/common/atom.md index dc325841589253..100f031f75ad19 100644 --- a/pages.zh/common/atom.md +++ b/pages.zh/common/atom.md @@ -1,25 +1,30 @@ # atom -> 一个跨平台的,可插拔的文本编辑器. -> 由 `apm` 管理插件. +> 一个跨平台的可扩展文本编辑器。 +> 插件由 `apm` 管理。 +> 注意:Atom 已经停止更新并且不再积极维护。 > 更多信息:. -- 打开文件或目录: +- 打开文件或目录: -`atom {{path/to/file_or_directory}}` +`atom {{路径/到/文件或目录}}` -- 在新窗口中打开文件或目录: +- 在新窗口中打开文件或目录: -`atom -n {{path/to/file_or_directory}}` +`atom -n {{路径/到/文件或目录}}` -- 在已有窗口中打开文件或目录: +- 在已有窗口中打开文件或目录: -`atom --add {{path/to/file_or_directory}}` +`atom --add {{路径/到/文件或目录}}` -- 以安全模式启动 Atom (不加载额外插件): +- 以安全模式启动 Atom(不加载额外插件): `atom --safe` -- 在终端前台运行 Atom: +- 阻止 Atom 分叉到后台,保持 Atom 与终端连接: `atom --foreground` + +- 等待 Atom 窗口关闭后再返回(对于 Git 提交编辑器很有用): + +`atom --wait` diff --git a/pages.zh/common/atuin.md b/pages.zh/common/atuin.md new file mode 100644 index 00000000000000..c7fc78cb85a053 --- /dev/null +++ b/pages.zh/common/atuin.md @@ -0,0 +1,29 @@ +# atuin + +> 存储您的 shell 历史记录到可搜索的数据库。 +> 可选择在机器之间同步加密历史记录。 +> 更多信息:. + +- 安装 atuin 到您的 shell: + +`eval "$(atuin init {{bash|zsh|fish}})"` + +- 从 shell 默认历史记录文件导入: + +`atuin import auto` + +- 搜索 shell 历史记录中指定的命令: + +`atuin search {{命令}}` + +- 使用指定的用户名,邮箱和密码在默认同步服务器注册账号: + +`atuin register -u {{用户名}} -e {{邮箱}} -p {{密码}}` + +- 登录默认同步服务器: + +`atuin login -u {{用户名}} -p {{密码}}` + +- 与同步服务器同步历史记录: + +`atuin sync` diff --git a/pages.zh/common/autoflake.md b/pages.zh/common/autoflake.md index 3e16b57caefeee..17f14c9abab051 100644 --- a/pages.zh/common/autoflake.md +++ b/pages.zh/common/autoflake.md @@ -1,20 +1,20 @@ # autoflake -> 一个工具,用于检查python代码中未被使用的引入和变量. -> 更多信息: . +> 一个工具,用于检查 Python 代码中未被使用的引入和变量。 +> 更多信息:. -- 移除指定文件中未使用的变量,并展示diff: +- 移除指定文件中未使用的变量,并展示 diff: -`autoflake --remove-unused-variables {{文件.py}}` +`autoflake --remove-unused-variables {{路径/到/文件.py}}` -- 移除多个文件中未使用的引入,并展示diffs: +- 移除多个文件中未使用的引入,并展示 diffs: -`autoflake --remove-all-unused-imports {{文件1.py}} {{文件2.py}} {{文件3.py}}` +`autoflake --remove-all-unused-imports {{路径/到/文件1.py 路径/到/文件2.py ...}}` -- 移除未被使用的变量,并覆盖更新: +- 移除未被使用的变量,并覆盖更新: -`autoflake --remove-unused-variables --in-place {{文件.py}}` +`autoflake --remove-unused-variables --in-place {{路径/到/文件.py}}` -- 递归地移除指定文件夹下层所有文件中未使用的变量,并覆盖更新: +- 递归地移除指定文件夹下层所有文件中未使用的变量,并覆盖更新: `autoflake --remove-unused-variables --in-place --recursive {{路径/到/目录}}` diff --git a/pages.zh/common/autojump.md b/pages.zh/common/autojump.md index 4ecb92bf1a14b8..1fe6afc016a73e 100644 --- a/pages.zh/common/autojump.md +++ b/pages.zh/common/autojump.md @@ -1,25 +1,25 @@ # autojump -> 快速跳转,访问次数最多的文件夹优先. -> 使用j、jc、jo作为别名. -> 更多信息: . +> 快速跳转,访问次数最多的文件夹优先。 +> 使用 `j`、`jc`、和 `jo` 作为别名。 +> 更多信息:. -- 跳转到包含指定通配符的目录: +- 跳转到包含指定通配符的目录: `j {{通配符表达式}}` -- 跳转到包含指定通配符的目录的下一级: +- 跳转到包含指定通配符的目录的下一级: `jc {{通配符表达式}}` -- 使用系统文件管理器,打开指定的目录: +- 使用系统文件管理器,打开指定的目录: `jo {{通配符表达式}}` -- 从autojump数据库中删除不存在的目录: +- 从 autojump 数据库中删除不存在的目录: `j --purge` -- 展示autojump数据库数据: +- 展示 autojump 数据库数据: -`j -s` +`j {{[-s|--stat]}}` diff --git a/pages.zh/common/awk.md b/pages.zh/common/awk.md new file mode 100644 index 00000000000000..ec021fa4c70d39 --- /dev/null +++ b/pages.zh/common/awk.md @@ -0,0 +1,36 @@ +# awk + +> 一种用于文件处理的通用编程语言。 +> 更多信息:. + +- 以空格为分隔符,打印文件每行第五列(也称作字段): + +`awk '{print $5}' {{文件名}}` + +- 以空格为分隔符,打印文件包含“foo” 的所有行的第二列: + +`awk '/{{foo}}/ {print $2}' {{文件名}}` + +- 以逗号而不是空格作为分隔符,打印文件每行的最后一列: + +`awk -F ',' '{print $NF}' {{文件名}}` + +- 计算文件的第一列数值之和并打印: + +`awk '{s+=$1} END {print s}' {{文件名}}` + +- 从第一行开始,每三行打印一行: + +`awk 'NR%3==1' {{文件名}}` + +- 根据条件不同,打印不同内容: + +`awk '{if ($1 == "foo") print "Exact match foo"; else if ($1 ~ "bar") print "Partial match bar"; else print "Baz"}' {{文件名}}` + +- 打印第 10 列等于指定值的所有行: + +`awk '($10 == 指定值)'` + +- 打印第 10 列介于最小值和最大值之间的所有行: + +`awk '($10 >= 最小值 && $10 <= 最大值)'` diff --git a/pages.zh/common/axel.md b/pages.zh/common/axel.md index dc5ce8c722b8ce..c2e11c533cdf47 100644 --- a/pages.zh/common/axel.md +++ b/pages.zh/common/axel.md @@ -1,25 +1,25 @@ # axel -> 一款下载加速器. -> 支持HTTP, HTTPS, 和 FTP. -> 更多信息: . +> 一款下载加速器。 +> 支持 HTTP、HTTPS 和 FTP. +> 更多信息:. -- 链接下载: +- 链接下载: `axel {{超链接}}` -- 链接下载,指定文件名: +- 链接下载,指定文件名: `axel {{超链接}} -o {{文件名称}}` -- 多连接数下载: +- 多连接数下载: `axel -n {{连接数量}} {{超链接}}` -- 查询镜像: +- 查询镜像: -`axel -S {{镜像数量}}} {{超链接}}` +`axel -S {{镜像数量}} {{超链接}}` -- 限制下载速度 (字节bite每秒): +- 限制下载速度(字节 bite 每秒): `axel -s {{字节数}} {{超链接}}` diff --git a/pages.zh/common/babel.md b/pages.zh/common/babel.md index 673afec2aca6db..2b7c4087c0ab27 100644 --- a/pages.zh/common/babel.md +++ b/pages.zh/common/babel.md @@ -1,32 +1,36 @@ # babel -> 一款JavaScript的编译器,将下一代ES语法转换为兼容语法。 -> 更多信息: . +> 一款 JavaScript 的编译器,将下一代 ES 语法转换为兼容语法。 +> 更多信息:. -- 转编译指定文件到标准输出: +- 转编译指定文件到标准输出: `babel {{路径/到/文件}}` -- 转编译指定文件,输入为特定文件: +- 转编译指定文件,输入为特定文件: `babel {{路径/到/输入文件}} --out-file {{路径/到/输出文件}}` -- 监听文件变动触发转编译: +- 监听文件变动触发转编译: `babel {{路径/到/输入文件}} --watch` -- 转编译整个目录下的js文件: +- 转编译整个目录下的 js 文件: `babel {{路径/到/输入文件目录}}` -- 跳过指定目录下指定文件的编译(多文件使用英文逗号“,”分隔): +- 跳过指定目录下指定文件的编译(多文件使用英文逗号“,”分隔): `babel {{路径/到/输入文件目录}} --ignore {{被忽略文件}}` -- 转编译后,执行压缩: +- 转编译后,执行压缩: `babel {{路径/到/输入文件}} --minified` -- 使用预设值: +- 使用预设值: `babel {{路径/到/输入文件}} --presets {{预设项}}` + +- 输出所有可用的选项: + +`babel --help` diff --git a/pages.zh/common/banner.md b/pages.zh/common/banner.md index 6fa6e8ad7e136d..310b62233e5bf5 100644 --- a/pages.zh/common/banner.md +++ b/pages.zh/common/banner.md @@ -1,15 +1,16 @@ # banner -> 将给定参数输出为大型 ASCII 文字. +> 将给定参数输出为大型 ASCII 文字。 +> 更多信息:. -- 将文字信息打印为大横幅(引号是可选的): +- 将文字信息打印为大横幅(引号是可选的): `banner "{{Hello World}}"` -- 将文字信息打印为横幅,宽度为 50 个字: +- 将文字信息打印为横幅,宽度为 50 个字: -`banner -w {{50}} "{{Hello World}}"` +`banner -w 50 "{{Hello World}}"` -- 从 `stdin` 中读取文本: +- 从 `stdin` 中读取文本: `banner` diff --git a/pages.zh/common/base32.md b/pages.zh/common/base32.md index 48e933127cbcef..14257b4bb2d742 100644 --- a/pages.zh/common/base32.md +++ b/pages.zh/common/base32.md @@ -1,19 +1,24 @@ # base32 -> 将文件或标准输入编码到Base32或从Base32解码为标准输出。 +> 将文件或标准输入编码到 Base32 或从 Base32 解码为标准输出。 +> 更多信息:. -- 编码一个文件: +- 编码一个文件: -`base32 {{文件名}}` +`base32 {{路径/到/文件}}` -- 解码一个文件: +- 按特定宽度包装编码输出(“0”表示禁用包装): -`base32 -d {{文件名}}` +`base32 {{[-w|--wrap]}} {{0|76|...}} {{路径/到/文件}}` -- 从标准输入编码: +- 解码一个文件: + +`base32 {{[-d|--decode]}} {{路径/到/文件}}` + +- 从标准输入编码: `{{某指令}} | base32` -- 将标准输入解码: +- 将标准输入解码: -`{{某指令}} | base32 -d` +`{{某指令}} | base32 {{[-d|--decode]}}` diff --git a/pages.zh/common/base64.md b/pages.zh/common/base64.md index b076f2c33225d3..70c35dd631c966 100644 --- a/pages.zh/common/base64.md +++ b/pages.zh/common/base64.md @@ -1,19 +1,24 @@ # base64 -> 将文件或标准输入编码到Base64或从Base64解码为标准输出。 +> 将文件或标准输入编码到 Base64 或从 Base64 解码为标准输出。 +> 更多信息:. -- 编码一个文件: +- 编码一个文件: -`base64 {{文件名}}` +`base64 {{路径/到/文件}}` -- 解码一个文件: +- 按特定宽度包装编码输出(“0”表示禁用包装): -`base64 -d {{文件名}}` +`base64 {{[-w|--wrap]}} {{0|76|...}} {{路径/到/文件}}` -- 从标准输入编码: +- 解码一个文件: + +`base64 {{[-d|--decode]}} {{路径/到/文件}}` + +- 从标准输入编码: `{{某指令}} | base64` -- 将标准输入解码: +- 将标准输入解码: -`{{某指令}} | base64 -d` +`{{某指令}} | base64 {{[-d|--decode]}}` diff --git a/pages.zh/common/basename.md b/pages.zh/common/basename.md index 28a6ad39af6ae2..5bfb1bd262844d 100644 --- a/pages.zh/common/basename.md +++ b/pages.zh/common/basename.md @@ -1,15 +1,16 @@ # basename -> 移除一个路径的目录部分字符. +> 移除一个路径的目录部分字符。 +> 更多信息:. -- 仅显示文件名: +- 仅显示文件名: `basename {{路径/到/文件}}` -- 显示路径字符最右边表示目录的字符: +- 显示路径字符最右边表示目录的字符: `basename {{路径/到/目录/}}` -- 展示无后缀的文件名称: +- 展示无后缀的文件名称: `basename {{路径/到/文件}} {{后缀}}` diff --git a/pages.zh/common/bash.md b/pages.zh/common/bash.md index 67c53ad4570d01..799c63152a38ff 100644 --- a/pages.zh/common/bash.md +++ b/pages.zh/common/bash.md @@ -1,37 +1,37 @@ # bash -> Bourne-Again SHell. -> 兼容`sh`的命令行解释器. -> 更多信息: . +> Bourne-Again SHell,兼容 `sh` 的命令行解释器。 +> 此外请参阅:`zsh`,`histexpand`(历史展开)。 +> 更多信息:. -- 启动交互式 shell: +- 启动交互式 shell: `bash` -- 执行命令: +- 启动一个不加载启动配置的交互式的 shell 会话: -`bash -c "{{command}}"` +`bash --norc` -- 执行脚本文件: +- 执行命令: -`bash {{file.sh}}` +`bash -c "{{echo '已执行bash命令'}}"` -- 执行脚本文件,并将所有执行过的命令输出到终端: +- 执行脚本文件: -`bash -x {{file.sh}}` +`bash {{路径/到/脚本文件.sh}}` -- 执行脚本文件,并在第一个错误处终止: +- 执行脚本文件,并将所有执行过的命令输出到终端: -`bash -e {{file.sh}}` +`bash -x {{路径/到/脚本文件.sh}}` -- 从输入 (`stdin`) 读取命令: +- 执行脚本文件,并在第一个错误处终止: -`bash -s` +`bash -e {{路径/到/脚本文件.sh}}` -- 将跟随的所有选项原样传递到要执行的脚本文件(可与`-s`选项共用来将选项传递到来自输入的命令 / 脚本) +- 从 `stdin` 执行指定的命令: -`bash --` +`{{echo "echo '已执行bash命令'"}} | bash` -- 打印 bash 的版本信息 (使用`echo $BASH_VERSION`来获得纯粹的版本字符串): +- 启动一个限制的 shell 会话: -`bash --version` +`bash -r` diff --git a/pages.zh/common/bashmarks.md b/pages.zh/common/bashmarks.md index 0528d60c0f89c1..f20f5ef3fe4eaf 100644 --- a/pages.zh/common/bashmarks.md +++ b/pages.zh/common/bashmarks.md @@ -1,21 +1,21 @@ # bashmarks -> 使用一个字母的命令,保存或者跳转到常用的目录 -> 更多信息: . +> 使用一个字母的命令,保存或者跳转到常用的目录。 +> 更多信息:. -- 可访问书签清单: +- 可访问书签清单: `l` -- 保存当前目录到某书签里: +- 保存当前目录到某书签里: `s {{书签名}}` -- 跳转到指定书签 +- 跳转到指定书签: `g {{书签名}}` -- 打印书签目录内容 +- 打印书签目录内容: `p {{书签名}}` diff --git a/pages.zh/common/bat.md b/pages.zh/common/bat.md index 79a4e967dea268..d252875d51eb90 100644 --- a/pages.zh/common/bat.md +++ b/pages.zh/common/bat.md @@ -1,29 +1,37 @@ # bat -> 可以打印并且合并文件的命令. -> `cat`的复制品,外加无法高亮和git集成. -> 更多信息: . +> 可以打印并且合并文件的命令。 +> `cat` 的复制品,外加语法高亮和 Git 集成。 +> 更多信息:. -- 文件内容打印: +- 使用美化样式打印一个或多个文件的内容到 `stdout`: -`bat {{文件}}` +`bat {{路径/到/文件1 路径/到/文件2 ...}}` -- 多文件合并到目标文件: +- 将多个文件连接成一个目标文件: -`bat {{文件1}} {{文件2}} > {{目标文件}}` +`bat {{路径/到/文件1 路径/到/文件2 ...}} > {{路径/到/目标文件}}` -- 在指定文件后追加多个文件合并的内容: +- 移除修饰并禁用分页(`--style plain` 可以用 `-p` 代替,或用 `-pp` 组合两个选项): -`bat {{文件1}} {{文件2}} >> {{目标文件}}` +`bat --style plain --pager never {{路径/到/文件}}` -- 打印时,显示行号: +- 使用不同的背景颜色高亮显示特定行或一行范围: -`bat -n {{文件}}` +`bat {{[-H|--highlight-line]}} {{10|5:10|:10|10:|10:+5}} {{路径/到/文件}}` -- 高亮一个json文件: +- 显示不可打印字符,如空格、制表符或换行: -`bat --language json {{文件.json}}` +`bat {{[-A|--show-all]}} {{路径/到/文件}}` -- 受支持的语言清单: +- 在输出中只保留行号,移除所有其他修饰: -`bat --list-languages` +`bat {{[-n|--number]}} {{路径/到/文件}}` + +- 通过明确设置语言来语法高亮显示 JSON 文件: + +`bat {{[-l|--language]}} json {{路径/到/文件.json}}` + +- 显示所有支持的语言: + +`bat {{[-L|--list-languages]}}` diff --git a/pages.zh/common/bc.md b/pages.zh/common/bc.md new file mode 100644 index 00000000000000..633388c379db56 --- /dev/null +++ b/pages.zh/common/bc.md @@ -0,0 +1,33 @@ +# bc + +> 任意精度的计算器语言。 +> 请参阅:`dc`,`qalc`。 +> 更多信息:. + +- 启动交互式会话: + +`bc` + +- 启动交互式会话并启用标准数学库: + +`bc --interactive --mathlib` + +- 计算表达式: + +`echo '{{5 / 3}}' | bc` + +- 执行脚本: + +`bc {{路径/到/脚本.bc}}` + +- 使用指定的小数位数计算一个表达式: + +`echo 'scale = {{10}}; {{5 / 3}}' | bc` + +- 使用 `mathlib` 计算正弦/余弦/反正切/自然对数/指数函数: + +`echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib` + +- 执行一个内联的阶乘脚本: + +`echo "define factorial(n) { if (n <= 1) return 1; return n*factorial(n-1); }; factorial({{10}})" | bc` diff --git a/pages.zh/common/bcomps.md b/pages.zh/common/bcomps.md new file mode 100644 index 00000000000000..27aefe155aaed6 --- /dev/null +++ b/pages.zh/common/bcomps.md @@ -0,0 +1,21 @@ +# bcomps + +> 将图形分解为它们的双连通分量。 +> Graphviz 过滤器:`acyclic`、`bcomps`、`comps`、`edgepaint`、`gvcolor`、`gvpack`、`mingle`、`nop`、`sccmap`、`tred` 和 `unflatten`。 +> 更多信息:. + +- 将一个或多个图形分解为它们的双连通分量: + +`bcomps {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}} > {{路径/到/输出.gv}}` + +- 打印一个或多个图形中的块和切割顶点的数量: + +`bcomps -v -s {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}}` + +- 根据 `输出.gv` 将每个块和块切割顶点树写入多个有编号的文件中: + +`bcomps -x -o {{路径/到/输出.gv}} {{路径/到/输入1.gv 路径/到/输入2.gv ...}}` + +- 显示 `bcomps` 的帮助信息: + +`bcomps -?` diff --git a/pages.zh/common/behat.md b/pages.zh/common/behat.md index f155ec7456c3be..e4465f2eaa9742 100644 --- a/pages.zh/common/behat.md +++ b/pages.zh/common/behat.md @@ -1,28 +1,28 @@ # behat -> 基于Behaviour-Driven Development的自动化测试PHP框架 -> 更多信息: . +> 基于 Behaviour-Driven Development 的自动化测试 PHP 框架。 +> 更多信息:. -- 初始化一个PHP behat项目: +- 初始化一个 PHP behat 项目: `behat --init` -- 运行所有测试: +- 运行所有测试: `behat` -- 运行指定组所有的测试用例: +- 运行指定组所有的测试用例: -`behat --suite={{组名}}` +`behat --suite {{组名}}` -- 运行所有测试,指定输入格式: +- 运行所有测试,指定输入格式: `behat --format {{pretty|progress}}` -- 将测试结果输出到指定文件: +- 将测试结果输出到指定文件: `behat --out {{路径/到/文件}}` -- 展示测试组所在的目录清单: +- 展示测试组所在的目录清单: `behat --definitions` diff --git a/pages.zh/common/bg.md b/pages.zh/common/bg.md index 06a397e2a98efe..eb449113018aa6 100644 --- a/pages.zh/common/bg.md +++ b/pages.zh/common/bg.md @@ -1,11 +1,12 @@ # bg -> 恢复被挂起的任务 (如. 使用 `Ctrl + Z`), 使它们在后台运行. +> 恢复被挂起的任务(如. 使用 ``),使它们在后台运行。 +> 更多信息:. -- 恢复最近被挂起的任务,在后台运行: +- 恢复最近被挂起的任务,在后台运行: `bg` -- 恢复特定的任务 (使用 `jobs -l` 可以获取任务ID) 并在后台运行: +- 恢复特定的任务(使用 `jobs -l` 可以获取任务 ID)并在后台运行: `bg %{{job_id}}` diff --git a/pages.zh/common/binwalk.md b/pages.zh/common/binwalk.md new file mode 100644 index 00000000000000..6b2bd2c5d87bec --- /dev/null +++ b/pages.zh/common/binwalk.md @@ -0,0 +1,28 @@ +# binwalk + +> 固件分析工具。 +> 更多信息:. + +- 扫描一个二进制文件: + +`binwalk {{二进制文件}}` + +- 解压一个二进制文件并指定输出目录: + +`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{输出目录}} {{二进制文件}}` + +- 递归解压一个二进制文件并限制递归深度为 2: + +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{二进制文件}}` + +- 解压一个二进制文件并指定文件签名: + +`binwalk {{[-D|--dd]}} '{{png image:png}}' {{二进制文件}}` + +- 分析一个二进制文件的熵,用与文件相同的名字和 `.png` 后缀保存绘图: + +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{二进制文件}}` + +- 在单条命令中组合熵、签名和操作码分析: + +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{二进制文件}}` diff --git a/pages.zh/common/bmaptool.md b/pages.zh/common/bmaptool.md index 7b9a05762c3c3c..00bcf1098b6c13 100644 --- a/pages.zh/common/bmaptool.md +++ b/pages.zh/common/bmaptool.md @@ -1,20 +1,20 @@ # bmaptool -> 便捷地创建或复制块文件映射(被设计的比`cp`或`dd`更快). -> 更多信息: . +> 便捷地创建或复制块文件映射(被设计的比`cp`或`dd`更快)。 +> 更多信息:. -- 使用图片生成块图文件: +- 使用图片生成块图文件: -`bmaptool create -o {{blockmap格式文件.bmap}} {{图片文件}}` +`bmaptool create -o {{blockmap 格式文件.bmap}} {{图片文件}}` -- 复制图片到指定目录: +- 复制图片到指定目录: -`bmaptool copy --bmap {{blockmap格式文件}} {{图片文件}} {{/开发路径/sdb}}` +`bmaptool copy --bmap {{blockmap 格式文件}} {{图片文件}} {{/开发路径/sdb}}` -- 复制压缩后的图片到指定目录: +- 复制压缩后的图片到指定目录: -`bmaptool copy --bmap {{blockmap格式文件}} {{图片文件.gz}} {{/开发路径/sdb}}` +`bmaptool copy --bmap {{blockmap 格式文件}} {{图片文件.gz}} {{/开发路径/sdb}}` -- 复制图片的时候,不将图片转成块图: +- 复制图片的时候,不将图片转成块图: `bmaptool copy --nobmap {{图片文件}} {{/开发路径/sdb}}` diff --git a/pages.zh/common/bower.md b/pages.zh/common/bower.md index c79f2db807a7d8..998abb4ac1f61a 100644 --- a/pages.zh/common/bower.md +++ b/pages.zh/common/bower.md @@ -1,33 +1,33 @@ # bower -> 前端web开发的包管理优化工具。 -> 一个包可以是GitHub中user/repo的缩写,一个Git端口,一个URL链接或者一个已注册的包。 -> 更多信息: . +> 前端 web 开发的包管理优化工具。 +> 一个包可以是 GitHub 中 user/repo 的缩写,一个 Git 端口,一个 URL 链接或者一个已注册的包。 +> 更多信息:. -- 安装列在项目下 的bower.json文件中的依赖: +- 安装列在项目下 的 `bower.json` 文件中的依赖: `bower install` -- 安装一个或者多个依赖到bower_components目录: +- 安装一个或者多个依赖到 `bower_components` 目录: `bower install {{包名1}} {{包名2}}` -- 从本地的bower_components目录卸载依赖 +- 从本地的 `bower_components` 目录卸载依赖: `bower uninstall {{包名1}} {{包名2}}` -- 列出本地包和可能的更新项: +- 列出本地包和可能的更新项: `bower list` -- 显示bower指令的帮助信息: - -`bower help {{指令}}` - -- 创建你的项目的bower.json: +- 创建你的项目的 `bower.json`: `bower init` -- 安装时候指定依赖的版本号,并添加到bower.json: +- 安装时候指定依赖的版本号,并添加到 `bower.json`: `bower install {{local_name}}={{package}}#{{version}} --save` + +- 显示 bower 指令的帮助信息: + +`bower help {{指令}}` diff --git a/pages.zh/common/bpytop.md b/pages.zh/common/bpytop.md new file mode 100644 index 00000000000000..7c83e3f1e8a162 --- /dev/null +++ b/pages.zh/common/bpytop.md @@ -0,0 +1,29 @@ +# bpytop + +> 一个资源监视器,显示有关 CPU、内存、磁盘、网络和进程的信息。 +> `bashtop` 的 Python 版本。 +> 更多信息:. + +- 运行 bpytop: + +`bpytop` + +- 以最小模式启动,不显示内存和网络框: + +`bpytop -m` + +- 切换最小模式: + +`` + +- 搜索正在运行的程序或进程: + +`` + +- 修改设置: + +`` + +- 显示版本: + +`bpytop -v` diff --git a/pages.zh/common/brew-autoremove.md b/pages.zh/common/brew-autoremove.md new file mode 100644 index 00000000000000..bb786391f3dc8d --- /dev/null +++ b/pages.zh/common/brew-autoremove.md @@ -0,0 +1,12 @@ +# brew autoremove + +> 移除先前作为依赖安装的,当前未使用的软件包。 +> 更多信息:. + +- 移除所有未使用的软件包: + +`brew autoremove` + +- 输出将被移除的软件包(实际上并不会移除任何内容): + +`brew autoremove {{[-n|--dry-run]}}` diff --git a/pages.zh/common/brew-bundle.md b/pages.zh/common/brew-bundle.md new file mode 100644 index 00000000000000..e66baa6e88442e --- /dev/null +++ b/pages.zh/common/brew-bundle.md @@ -0,0 +1,28 @@ +# brew bundle + +> Homebrew,Homebrew Cask 和 Mac App Store的打包器。 +> 更多信息:. + +- 从当前路径下的 Brewfile 安装软件包: + +`brew bundle` + +- 从特定路径下的特定 Brewfile 安装软件包: + +`brew bundle --file {{路径/到/文件}}` + +- 基于所有安装的软件包,创建 Brewfile: + +`brew bundle dump` + +- 卸载所有 Brewfile 中未列出的软件包: + +`brew bundle cleanup --force` + +- 检查 Brewfile 中指定的包,是否需要安装或升级: + +`brew bundle check` + +- 列出 Brewfile 中的所有安装包条目: + +`brew bundle list --all` diff --git a/pages.zh/common/brew-install.md b/pages.zh/common/brew-install.md new file mode 100644 index 00000000000000..a9538fbd2fd3a2 --- /dev/null +++ b/pages.zh/common/brew-install.md @@ -0,0 +1,16 @@ +# brew install + +> 安装一个 Homebrew 软件包 (formula),或安装包 (cask). +> 更多信息:. + +- 安装软件包/安装包: + +`brew install {{软件包|安装包}}` + +- 从源码构建,并安装软件包(依赖仍然会以二进制文件的形式安装): + +`brew install {{[-s|--build-from-source]}} {{软件包}}` + +- 下载应用清单,输出将要安装的内容(但实际并不会安装任何包): + +`brew install {{[-n|--dry-run]}} {{软件包|安装包}}` diff --git a/pages.zh/common/brew-list.md b/pages.zh/common/brew-list.md new file mode 100644 index 00000000000000..2d4763a3f118da --- /dev/null +++ b/pages.zh/common/brew-list.md @@ -0,0 +1,28 @@ +# brew list + +> 列出已安装的软件包/安装包,或者它们所含的文件。 +> 更多信息:. + +- 列出所有安装的软件包和安装包: + +`brew list` + +- 列出属于已安装软件包的文件: + +`brew list {{软件包}}` + +- 列出安装包的所含文件: + +`brew list {{安装包}}` + +- 仅列出软件包: + +`brew list --formula` + +- 仅列出安装包: + +`brew list --cask` + +- 仅列出锁定的软件包: + +`brew list --pinned` diff --git a/pages.zh/common/brew.md b/pages.zh/common/brew.md new file mode 100644 index 00000000000000..f9580a5c91531f --- /dev/null +++ b/pages.zh/common/brew.md @@ -0,0 +1,37 @@ +# brew + +> Homebrew - 一个 macOS 和 Linux 的包管理器。 +> 此命令也有关于其子命令的文件,例如:`install`. +> 更多信息:. + +- 安装最新稳定版本的软件包或安装包: + +`brew install {{软件包}}` + +- 列出所有已安装的软件包和安装包: + +`brew list` + +- 升级已安装的软件包或安装包(如果未指定,则升级所有已安装的软件包或安装包): + +`brew upgrade {{软件包}}` + +- 从 Homebrew 源代码仓库中获取 Homebrew 和所有软件包及安装包的最新版本: + +`brew update` + +- 显示有更新版本可用的软件包和安装包: + +`brew outdated` + +- 搜索可用的软件包(即包)和安装包(即本地 macOS `.app` 包): + +`brew search {{软件包名称}}` + +- 显示有关软件包或安装包的信息(版本、安装路径、依赖项等): + +`brew info {{软件包}}` + +- 检查本地的 Homebrew 安装中的潜在问题: + +`brew doctor` diff --git a/pages.zh/common/browser-sync.md b/pages.zh/common/browser-sync.md index 97203f6aaa90da..eabed6d204fa30 100644 --- a/pages.zh/common/browser-sync.md +++ b/pages.zh/common/browser-sync.md @@ -1,20 +1,20 @@ # browser-sync -> 启动一个本地的服务,可以监听文件改动,刷新浏览器. -> 更多信息: . +> 启动一个本地的服务,可以监听文件改动,刷新浏览器。 +> 更多信息:. -- 将指定目录发成服务: +- 将指定目录发成服务: `browser-sync start --server {{路径/到/目录}} --files {{路径/到/目录}}` -- 启动当前目录服务,同时监听指定目录下css文件的变动 +- 启动当前目录服务,同时监听指定目录下 CSS 文件的变动: `browser-sync start --server --files '{{路径/到/目录/*.css}}'` -- 创建配置文件: +- 创建配置文件: `browser-sync init` -- 按指定配置文件中的配置启动服务: +- 按指定配置文件中的配置启动服务: `browser-sync start --config {{配置文件}}` diff --git a/pages.zh/common/btm.md b/pages.zh/common/btm.md index e45f493f24afed..cc4df577e8a4c7 100644 --- a/pages.zh/common/btm.md +++ b/pages.zh/common/btm.md @@ -1,25 +1,25 @@ # btm -> 命令行`top`的替代品. -> 比`top更轻便,支持跨平台、图表更丰富`. -> 更多信息: . +> 命令行`top`的替代品。 +> 比 `top` 更轻便,支持跨平台、图表更丰富。 +> 更多信息:. -- 展示默认布局 (cpu, 内存, 温度, 磁盘, 网络和 进程): +- 展示默认布局(cpu, 内存,温度,磁盘,网络和 进程): `btm` -- 开启基础模式,关闭图表和高亮(接近于 `top`): +- 开启基础模式,关闭图表和高亮(接近于 `top`): `btm --basic` -- 将图表中的小点换成大点: +- 将图表中的小点换成大点: `btm --dot_marker` -- 展示电池充电和健康状态: +- 展示电池充电和健康状态: `btm --battery` -- 设置图表刷新间隔和留存数据的时长: +- 设置图表刷新间隔和留存数据的时长: `btm --rate 250 --default_time_value 30000` diff --git a/pages.zh/common/btop.md b/pages.zh/common/btop.md new file mode 100644 index 00000000000000..8895bc3f8a9dbe --- /dev/null +++ b/pages.zh/common/btop.md @@ -0,0 +1,33 @@ +# btop + +> 显示有关 CPU、内存、磁盘、网络和进程的信息的资源监视器。 +> `bpytop` 的 C++ 版本。 +> 更多信息:. + +- 启动 `btop`: + +`btop` + +- 使用指定预设启动 `btop`: + +`btop {{[-p|--preset]}} {{0..9}}` + +- 使用 16 种颜色和 TTY 友好的图形符号在 TTY 模式下启动 `btop`: + +`btop {{[-t|--tty]}}` + +- 在 256 色模式而不是 24 位颜色模式下启动 `btop`: + +`btop {{[-l|--low-color]}}` + +- 设置更新速率为 500 毫秒: + +`btop {{[-u|--update]}} 500` + +- 退出 `btop`: + +`` + +- 显示帮助信息: + +`btop {{[-h|--help]}}` diff --git a/pages.zh/common/buku.md b/pages.zh/common/buku.md index 015e60eae2979b..7456b60a2a185a 100644 --- a/pages.zh/common/buku.md +++ b/pages.zh/common/buku.md @@ -1,24 +1,24 @@ # buku -> 命令行版本的书签管理器. -> 更多信息: . +> 命令行版本的书签管理器。 +> 更多信息:. -- 根据关键词和标签查找书签: +- 根据关键词和标签“隐私”查找书签: -`buku {{关键字}} --stag {{标签}}` +`buku {{关键词}} --stag {{隐私}}` -- 添加书签,并且打上标签: +- 添加书签,并且打上标签“搜索引擎”和“隐私”: -`buku --add {{https://example.com}} {{搜索引擎}}, {{标签}}` +`buku --add {{https://example.com}} {{搜索引擎}}, {{隐私}}` -- 删除一个书签: +- 删除一个书签: -`buku --delete {{书签id}}` +`buku --delete {{书签 id}}` -- 打开编辑器,修改书签: +- 打开编辑器,修改书签: -`buku --write {{书签id}}` +`buku --write {{书签 id}}` -- 将指定标签移除: +- 移除一个书签中的标签“搜索引擎”: -`buku --update {{书签id}} --tag {{-}} {{搜索引擎}}` +`buku --update {{书签 id}} --tag {{-}} {{搜索引擎}}` diff --git a/pages.zh/common/bun.md b/pages.zh/common/bun.md new file mode 100644 index 00000000000000..10ea4ca1ec2872 --- /dev/null +++ b/pages.zh/common/bun.md @@ -0,0 +1,37 @@ +# bun + +> JavaScript 运行时和工具箱。 +> 包含打包工具、测试运行器和包管理器。 +> 更多信息:. + +- 运行 JavaScript 文件或 `package.json` 脚本: + +`bun run {{path/to/file|script_name}}` + +- 运行单元测试: + +`bun test` + +- 下载并安装 `package.json` 中列为依赖项的包: + +`bun install` + +- 向 `package.json` 添加依赖: + +`bun add {{模块名称}}` + +- 从 `package.json` 删除依赖: + +`bun remove {{模块名称}}` + +- 在当前文件夹创建新的 Bun 项目: + +`bun init` + +- 启动 REPL(交互式 shell): + +`bun repl` + +- 升级 Bun 到最新版本: + +`bun upgrade` diff --git a/pages.zh/common/carbon-now.md b/pages.zh/common/carbon-now.md index b970e8eedf7419..baabf006bacac6 100644 --- a/pages.zh/common/carbon-now.md +++ b/pages.zh/common/carbon-now.md @@ -1,36 +1,36 @@ # carbon-now > 创建漂亮的代码图片。 -> 更多信息在 . +> 更多信息:. -- 使用默认设置从文件创建图片: +- 使用默认设置从文件创建图片: `carbon-now {{文件}}` -- 使用默认设置从剪贴板创建图片: +- 使用默认设置从剪贴板创建图片: `carbon-now --from-clipboard` -- 使用默认设置从标准输入创建图片: +- 使用默认设置从标准输入创建图片: `{{输入}} | carbon-now` -- 以交互方式创建图片以进行自定义设置,还可以选择保存预设: +- 以交互方式创建图片以进行自定义设置,还可以选择保存预设: `carbon-now -i {{文件}}` -- 从先前保存的预设创建图片: +- 从先前保存的预设创建图片: `carbon-now -p {{预设}} {{文件}}` -- 从指定的文本行开始: +- 从指定的文本行开始: `carbon-now -s {{行号}} {{文件}}` -- 结束于指定的文本行: +- 结束于指定的文本行: `carbon-now -e {{行号}} {{文件}}` -- 在浏览器中打开图片而不是保存: +- 在浏览器中打开图片而不是保存: `carbon-now --open {{文件}}` diff --git a/pages.zh/common/cargo-add.md b/pages.zh/common/cargo-add.md new file mode 100644 index 00000000000000..1591de386d2eef --- /dev/null +++ b/pages.zh/common/cargo-add.md @@ -0,0 +1,32 @@ +# cargo add + +> 向 Rust 项目的 `Cargo.toml` 文件添加依赖项。 +> 更多信息:. + +- 将最新版本的依赖项添加到当前项目: + +`cargo add {{依赖项}}` + +- 添加特定版本的依赖项: + +`cargo add {{依赖项}}@{{版本号}}` + +- 添加依赖项并启动一个或多个特定功能: + +`cargo add {{依赖项}} --features {{功能1}},{{功能2}}` + +- 添加一个可选的依赖项,然后将其作为包(crate)的一个功能暴露出来: + +`cargo add {{依赖项}} --optional` + +- 将本地包(crate)添加为依赖项: + +`cargo add --path {{path/to/directory}}` + +- 添加一个开发或构建依赖项: + +`cargo add {{依赖项}} --{{dev|build}}` + +- 添加一个禁用所有默认功能的依赖项: + +`cargo add {{依赖项}} --no-default-features` diff --git a/pages.zh/common/cargo-bench.md b/pages.zh/common/cargo-bench.md new file mode 100644 index 00000000000000..17e3fedb5df8d3 --- /dev/null +++ b/pages.zh/common/cargo-bench.md @@ -0,0 +1,36 @@ +# cargo bench + +> 编译并执行基准测试。 +> 更多信息:. + +- 执行包的所有基准测试: + +`cargo bench` + +- 在基准测试失败时不停止: + +`cargo bench --no-fail-fast` + +- 编译,但不运行基准测试: + +`cargo bench --no-run` + +- 对指定的基准进行基准测试: + +`cargo bench --bench {{基准测试名称}}` + +- 使用给定的配置文件进行基准测试 (默认为 `bench`): + +`cargo bench --profile {{配置文件}}` + +- 对所有示例目标进行基准测试: + +`cargo bench --examples` + +- 对所有二进制目标进行基准测试: + +`cargo bench --bins` + +- 对包的库(lib)进行基准测试: + +`cargo bench --lib` diff --git a/pages.zh/common/cargo-build.md b/pages.zh/common/cargo-build.md new file mode 100644 index 00000000000000..0b7000fad99f08 --- /dev/null +++ b/pages.zh/common/cargo-build.md @@ -0,0 +1,32 @@ +# cargo build + +> 编译本地包及其所有依赖项。 +> 更多信息:. + +- 在本地路径中构建由 `Cargo.toml` 清单文件定义的一个或多个包: + +`cargo {{[b|build]}}` + +- 以 release 模式构建,并进行优化: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- 要求 `Cargo.lock` 文件为最新版本: + +`cargo {{[b|build]}} --locked` + +- 构建工作区中的所有包: + +`cargo {{[b|build]}} --workspace` + +- 构建特定的包: + +`cargo {{[b|build]}} {{[-p|--package]}} {{包名}}` + +- 仅构建指定的二进制文件: + +`cargo {{[b|build]}} --bin {{名称}}` + +- 仅构建指定的测试目标: + +`cargo {{[b|build]}} --test {{测试名称}}` diff --git a/pages.zh/common/cargo-check.md b/pages.zh/common/cargo-check.md new file mode 100644 index 00000000000000..0467b21bf674b1 --- /dev/null +++ b/pages.zh/common/cargo-check.md @@ -0,0 +1,24 @@ +# cargo check + +> 检查本地软件包及其所有依赖包是否有错误。 +> 更多信息:. + +- 检查当前包: + +`cargo {{[c|check]}}` + +- 检查所有测试: + +`cargo {{[c|check]}} --tests` + +- 检查 `tests/integration_test1.rs` 中的集成测试: + +`cargo {{[c|check]}} --test {{integration_test1}}` + +- 使用 `feature1` 和 `feature2` 功能检查当前包: + +`cargo {{[c|check]}} {{[-F|--features]}} {{feature1,feature2}}` + +- 禁用默认功能后检测当前包: + +`cargo {{[c|check]}} --no-default-features` diff --git a/pages.zh/common/cargo-clean.md b/pages.zh/common/cargo-clean.md new file mode 100644 index 00000000000000..2f6554b8f71820 --- /dev/null +++ b/pages.zh/common/cargo-clean.md @@ -0,0 +1,20 @@ +# cargo clean + +> 删除 `target` 目录中生成的构建产物。 +> 更多信息:. + +- 删除整个 `target` 目录: + +`cargo clean` + +- 删除文档构建产物 (`target/doc` 目录): + +`cargo clean --doc` + +- 删除 release 模式的构建产物 (`target/release` 目录): + +`cargo clean --release` + +- 删除给定配置文件的目录中的构建产物(在本例中为 `target/debug`): + +`cargo clean --profile {{dev}}` diff --git a/pages.zh/common/cargo-clippy.md b/pages.zh/common/cargo-clippy.md new file mode 100644 index 00000000000000..2431b26e138a73 --- /dev/null +++ b/pages.zh/common/cargo-clippy.md @@ -0,0 +1,36 @@ +# cargo clippy + +> 一系列 lint 工具,用于捕获常见错误并改进 Rust 代码。 +> 更多信息:. + +- 对当前目录中的代码运行检查: + +`cargo clippy` + +- 要求 `Cargo.lock` 文件是最新的: + +`cargo clippy --locked` + +- 对工作区中的所有包进行检查: + +`cargo clippy --workspace` + +- 对某个包进行检查: + +`cargo clippy --package {{包名}}` + +- 运行特定 lint 组的检查(参见 ): + +`cargo clippy -- --warn clippy::{{lint组}}` + +- 将警告视为错误: + +`cargo clippy -- --deny warnings` + +- 运行检查并忽略警告: + +`cargo clippy -- --allow warnings` + +- 自动应用 Clippy 的建议: + +`cargo clippy --fix` diff --git a/pages.zh/common/cargo-doc.md b/pages.zh/common/cargo-doc.md new file mode 100644 index 00000000000000..dabb7e3b3c3904 --- /dev/null +++ b/pages.zh/common/cargo-doc.md @@ -0,0 +1,20 @@ +# cargo doc + +> 构建 Rust 包的文档。 +> 更多信息:. + +- 为当前项目及所有依赖项构建文档: + +`cargo {{[d|doc]}}` + +- 不为依赖项构建文档: + +`cargo {{[d|doc]}} --no-deps` + +- 构建并在浏览器中打开文档: + +`cargo {{[d|doc]}} --open` + +- 构建并查看特定包的文档: + +`cargo {{[d|doc]}} --open {{[-p|--package]}} {{包名}}` diff --git a/pages.zh/common/cargo-fetch.md b/pages.zh/common/cargo-fetch.md new file mode 100644 index 00000000000000..36f3ccac6b6500 --- /dev/null +++ b/pages.zh/common/cargo-fetch.md @@ -0,0 +1,12 @@ +# cargo fetch + +> 从网络获取包的依赖项。 +> 更多信息:. + +- 获取 `Cargo.lock` 中指定的依赖项 (对所有目标): + +`cargo fetch` + +- 为指定目标获取依赖项: + +`cargo fetch --target {{目标三元组}}` diff --git a/pages.zh/common/cargo-fix.md b/pages.zh/common/cargo-fix.md new file mode 100644 index 00000000000000..6418fea8885cd9 --- /dev/null +++ b/pages.zh/common/cargo-fix.md @@ -0,0 +1,28 @@ +# cargo fix + +> 自动修复 `rustc` 报告的 lint 警告。 +> 更多信息:. + +- 即使已经有编译器错误,也要修复代码: + +`cargo fix --broken-code` + +- 即使工作目录有更改,也要修复代码: + +`cargo fix --allow-dirty` + +- 将一个包迁移到下一个 Rust 版本: + +`cargo fix --edition` + +- 修复包的库: + +`cargo fix --lib` + +- 修复指定的集成测试: + +`cargo fix --test {{名称}}` + +- 修复工作区中的所有成员: + +`cargo fix --workspace` diff --git a/pages.zh/common/cargo-fmt.md b/pages.zh/common/cargo-fmt.md new file mode 100644 index 00000000000000..68da445e0832dc --- /dev/null +++ b/pages.zh/common/cargo-fmt.md @@ -0,0 +1,16 @@ +# cargo fmt + +> 在 Rust 项目中对所有源文件运行 `rustfmt`。 +> 更多信息:. + +- 格式化所有源文件: + +`cargo fmt` + +- 检查格式错误,不对文件进行写入操作: + +`cargo fmt --check` + +- 将参数传递给每个 rustfmt 调用: + +`cargo fmt -- {{rustfmt参数}}` diff --git a/pages.zh/common/cargo-generate-lockfile.md b/pages.zh/common/cargo-generate-lockfile.md new file mode 100644 index 00000000000000..2057c0f9545f63 --- /dev/null +++ b/pages.zh/common/cargo-generate-lockfile.md @@ -0,0 +1,9 @@ +# cargo generate-lockfile + +> 为当前包生成 Cargo.lock 文件。类似于 cargo update,但选项更少。 +> 如果锁定文件已经存在,它将使用每个包的最新版本重新构建。 +> 更多信息:. + +- 使用每个包的最新版本生成Cargo.lock文件: + +`cargo generate-lockfile` diff --git a/pages.zh/common/cargo-help.md b/pages.zh/common/cargo-help.md new file mode 100644 index 00000000000000..97cdac0f65e73b --- /dev/null +++ b/pages.zh/common/cargo-help.md @@ -0,0 +1,12 @@ +# cargo help + +> 显示有关 cargo 及其子命令的帮助信息。 +> 更多信息:. + +- 显示一般帮助: + +`cargo help` + +- 显示子命令的帮助信息: + +`cargo help {{子命令}}` diff --git a/pages.zh/common/cargo-init.md b/pages.zh/common/cargo-init.md new file mode 100644 index 00000000000000..5953919a5d6359 --- /dev/null +++ b/pages.zh/common/cargo-init.md @@ -0,0 +1,25 @@ +# cargo init + +> 创建一个新的 Cargo 包。 +> 相当于 `cargo new`,但是指定目录是可选的。 +> 更多信息:. + +- 在当前目录中初始化一个带有二进制目标的 Rust 项目: + +`cargo init` + +- 在指定目录中初始化一个带有二进制目标的 Rust 项目: + +`cargo init {{path/to/directory}}` + +- 在当前目录中初始化一个带有库目标的 Rust 项目: + +`cargo init --lib` + +- 在项目目录中初始化版本控制系统仓库 (默认为git): + +`cargo init --vcs {{git|hg|pijul|fossil|none}}` + +- 设置包名称 (默认为目录名称): + +`cargo init --name {{name}}` diff --git a/pages.zh/common/cargo-install.md b/pages.zh/common/cargo-install.md new file mode 100644 index 00000000000000..b5739f8ad71657 --- /dev/null +++ b/pages.zh/common/cargo-install.md @@ -0,0 +1,20 @@ +# cargo install + +> 构建并安装一个 Rust 二进制文件。 +> 更多信息:. + +- 从 安装一个包 (版本是可选的,默认为最新版本): + +`cargo install {{包名}}@{{版本号}}` + +- 从指定的 Git 仓库安装一个包: + +`cargo install --git {{仓库URL}}` + +- 从 Git 仓库安装时,根据指定的 branch/tag/commit 构建: + +`cargo install --git {{仓库URL}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}` + +- 列出所有已安装的包及其版本: + +`cargo install --list` diff --git a/pages.zh/common/cargo-locate-project.md b/pages.zh/common/cargo-locate-project.md new file mode 100644 index 00000000000000..4bdf3bac6aa7b0 --- /dev/null +++ b/pages.zh/common/cargo-locate-project.md @@ -0,0 +1,21 @@ +# cargo locate-project + +> 打印项目的 `Cargo.toml` 清单文件的完整路径。 +> 如果项目是工作区的一部分,则显示项目的清单文件,而不是工作区的清单文件。 +> 更多信息:. + +- 显示包含完整路径到 `Cargo.toml` 清单文件的 JSON 对象: + +`cargo locate-project` + +- 以指定格式显示项目路径: + +`cargo locate-project --message-format {{plain|json}}` + +- 显示位于工作区根目录而不是当前工作区成员的 `Cargo.toml` 清单文件: + +`cargo locate-project --workspace` + +- 显示特定目录中的 `Cargo.toml` 清单文件: + +`cargo locate-project --manifest-path {{path/to/Cargo.toml}}` diff --git a/pages.zh/common/cargo-login.md b/pages.zh/common/cargo-login.md new file mode 100644 index 00000000000000..4e7f2af6591162 --- /dev/null +++ b/pages.zh/common/cargo-login.md @@ -0,0 +1,13 @@ +# cargo login + +> 将 API 令牌保存到本地的凭据存储中。 +> 该令牌用于对包注册表进行身份验证。您可以使用 `cargo logout` 来删除它。 +> 更多信息:. + +- 将 API 令牌添加到本地凭据存储中 (位于 `$CARGO_HOME/credentials.toml`): + +`cargo login` + +- 使用指定的注册表 (注册表名称可以在配置中定义,默认为 ): + +`cargo login --registry {{名称}}` diff --git a/pages.zh/common/cargo-logout.md b/pages.zh/common/cargo-logout.md new file mode 100644 index 00000000000000..9452d4c31b4e1d --- /dev/null +++ b/pages.zh/common/cargo-logout.md @@ -0,0 +1,13 @@ +# cargo logout + +> 从本地注册表中删除 API 令牌。 +> 该令牌用于对包注册表进行身份验证。您可以使用 `cargo login` 将其添加回来。 +> 更多信息:. + +- 从本地凭据存储中 (位于 `$CARGO_HOME/credentials.toml`) 移除 API 令牌: + +`cargo logout` + +- 使用指定的注册表 (注册表名称可以在配置中定义,默认为 ): + +`cargo logout --registry {{名称}}` diff --git a/pages.zh/common/cargo-metadata.md b/pages.zh/common/cargo-metadata.md new file mode 100644 index 00000000000000..0f8609fa428ff6 --- /dev/null +++ b/pages.zh/common/cargo-metadata.md @@ -0,0 +1,21 @@ +# cargo metadata + +> 以 JSON 格式输出当前包的工作空间成员和已解析的依赖关系。 +> 注意:输出格式可能在未来的 Cargo 版本中发生变化。 +> 更多信息:. + +- 打印当前包的工作空间成员和已解析的依赖关系: + +`cargo metadata` + +- 仅打印工作空间成员,不获取依赖项: + +`cargo metadata --no-deps` + +- 根据指定版本打印特定格式的元数据: + +`cargo metadata --format-version {{版本号}}` + +- 打印带有 `resolve` 字段的元数据,仅包括给定目标三元组的依赖关系 (注意:`packages` 数组仍将包括所有目标的依赖关系): + +`cargo metadata --filter-platform {{目标三元组}}` diff --git a/pages.zh/common/cargo-new.md b/pages.zh/common/cargo-new.md new file mode 100644 index 00000000000000..fcfe9366028942 --- /dev/null +++ b/pages.zh/common/cargo-new.md @@ -0,0 +1,9 @@ +# cargo new + +> 创建一个新的 Cargo 包。 +> 相当于 `cargo init`,但是需要指定一个目录。 +> 更多信息:. + +- 使用二进制目标创建一个新的 Rust 项目: + +`cargo new {{path/to/directory}}` diff --git a/pages.zh/common/cargo-owner.md b/pages.zh/common/cargo-owner.md new file mode 100644 index 00000000000000..1994184e1541b9 --- /dev/null +++ b/pages.zh/common/cargo-owner.md @@ -0,0 +1,20 @@ +# cargo owner + +> 管理包在注册表上的所有者。 +> 更多信息:. + +- 邀请指定的用户或团队作为所有者: + +`cargo owner --add {{用户名|github:机构名称:团队名称}} {{包名}}` + +- 将指定的用户或团队从所有者中删除: + +`cargo owner --remove {{用户名|github:机构名称:团队名称}} {{包名}}` + +- 列出一个包的所有者: + +`cargo owner --list {{包名}}` + +- 使用指定的注册表 (注册表名称可以在配置中定义,默认为 ): + +`cargo owner --registry {{名称}}` diff --git a/pages.zh/common/cargo-package.md b/pages.zh/common/cargo-package.md new file mode 100644 index 00000000000000..336f7b519de8ec --- /dev/null +++ b/pages.zh/common/cargo-package.md @@ -0,0 +1,13 @@ +# cargo package + +> 将本地包装成一个可分发的 tarball 文件(`.crate` 文件)。 +> 类似于 `cargo publish --dry-run`,但具有更多选项。 +> 更多信息:. + +- 执行检查并创建一个 `.crate` 文件 (相当于 `cargo publish --dry-run`): + +`cargo package` + +- 显示将包含在tarball中的文件,而不实际创建它: + +`cargo package --list` diff --git a/pages.zh/common/cargo-pkgid.md b/pages.zh/common/cargo-pkgid.md new file mode 100644 index 00000000000000..27d92ca1c55760 --- /dev/null +++ b/pages.zh/common/cargo-pkgid.md @@ -0,0 +1,12 @@ +# cargo pkgid + +> 打印当前工作空间中包或依赖项的完全限定包 ID 指定符。 +> 更多信息:. + +- 打印当前项目的完全限定包规范: + +`cargo pkgid` + +- 打印指定包的完全限定包规范: + +`cargo pkgid {{部分包规范}}` diff --git a/pages.zh/common/cargo-publish.md b/pages.zh/common/cargo-publish.md new file mode 100644 index 00000000000000..c22e7494fac475 --- /dev/null +++ b/pages.zh/common/cargo-publish.md @@ -0,0 +1,17 @@ +# cargo publish + +> 将包上传到注册表。 +> 注意:在发布包之前,您必须使用 `cargo login` 添加身份验证令牌。 +> 更多信息:. + +- 执行检查,创建一个 `.crate` 文件并将其上传到注册表: + +`cargo publish` + +- 执行检查,创建一个 `.crate` 文件,但不上传它 (相当于 `cargo package`): + +`cargo publish --dry-run` + +- 使用指定的注册表 (注册表名称可以在配置中定义,默认为 ): + +`cargo publish --registry {{名称}}` diff --git a/pages.zh/common/cargo-remove.md b/pages.zh/common/cargo-remove.md new file mode 100644 index 00000000000000..11daef929ebe16 --- /dev/null +++ b/pages.zh/common/cargo-remove.md @@ -0,0 +1,16 @@ +# cargo remove + +> 从 Rust 项目的 `Cargo.toml` 清单中移除依赖关系。 +> 更多信息:. + +- 从当前项目中移除一个依赖项: + +`cargo remove {{依赖项}}` + +- 移除开发或构建依赖项: + +`cargo remove --{{dev|build}} {{依赖项}}` + +- 移除给定目标平台的依赖项: + +`cargo remove --target {{目标平台}} {{依赖项}}` diff --git a/pages.zh/common/cargo-report.md b/pages.zh/common/cargo-report.md new file mode 100644 index 00000000000000..4ef9fbc201d26d --- /dev/null +++ b/pages.zh/common/cargo-report.md @@ -0,0 +1,16 @@ +# cargo report + +> 显示各种类型的报告。 +> 更多信息:. + +- 显示一个报告: + +`cargo report {{future-incompatibilities|...}}` + +- 显示具有指定由 Cargo 生成的 id 的报告: + +`cargo report {{future-incompatibilities|...}} --id {{id}}` + +- 为指定的包显示报告: + +`cargo report {{future-incompatibilities|...}} --package {{package}}` diff --git a/pages.zh/common/cargo-run.md b/pages.zh/common/cargo-run.md new file mode 100644 index 00000000000000..c0f17e55e70c45 --- /dev/null +++ b/pages.zh/common/cargo-run.md @@ -0,0 +1,33 @@ +# cargo run + +> 运行当前的 Cargo 包。 +> 注意: 执行的二进制文件的工作目录将设置为当前工作目录。 +> 更多信息:. + +- 运行默认的二进制目标: + +`cargo {{[r|run]}}` + +- 运行指定的二进制文件: + +`cargo {{[r|run]}} --bin {{名称}}` + +- 运行指定的示例: + +`cargo {{[r|run]}} --example {{示例名}}` + +- 激活一系列以空格或逗号分隔的功能: + +`cargo {{[r|run]}} {{[-F|--features]}} "{{功能1 功能2 ...}}"` + +- 禁用默认功能: + +`cargo {{[r|run]}} --no-default-features` + +- 激活所有可用的功能: + +`cargo {{[r|run]}} --all-features` + +- 使用指定的配置文件运行: + +`cargo {{[r|run]}} --profile {{配置文件名称}}` diff --git a/pages.zh/common/cargo-rustc.md b/pages.zh/common/cargo-rustc.md new file mode 100644 index 00000000000000..f873df4856bfe8 --- /dev/null +++ b/pages.zh/common/cargo-rustc.md @@ -0,0 +1,37 @@ +# cargo rustc + +> 编译一个 Rust 包。类似于 `cargo build`,但您可以向编译器传递额外的选项。 +> 查看 `rustc --help` 获取所有可用选项。 +> 更多信息:. + +- 构建包并向 `rustc` 传递选项: + +`cargo rustc -- {{rustc_options}}` + +- 在 release 模式下构建构建,启用优化: + +`cargo rustc --release` + +- 使用针对当前 CPU 的特定架构优化编译: + +`cargo rustc --release -- -C target-cpu=native` + +- 使用速度优化编译: + +`cargo rustc -- -C opt-level {{1|2|3}}` + +- 使用 [s]ize 优化编译(`z` 也会关闭循环向量化): + +`cargo rustc -- -C opt-level {{s|z}}` + +- 检查您的包是否使用了不安全的代码: + +`cargo rustc --lib -- -D unsafe-code` + +- 构建特定的包: + +`cargo rustc --package {{package}}` + +- 仅构建指定的二进制文件: + +`cargo rustc --bin {{名称}}` diff --git a/pages.zh/common/cargo-rustdoc.md b/pages.zh/common/cargo-rustdoc.md new file mode 100644 index 00000000000000..8d96c5474c83b5 --- /dev/null +++ b/pages.zh/common/cargo-rustdoc.md @@ -0,0 +1,33 @@ +# cargo rustdoc + +> 构建 Rust 包的文档。 +> 类似于 `cargo doc`,但您可以向 `rustdoc` 传递选项。查看 `rustdoc --help` 获取所有可用选项。 +> 更多信息:. + +- 向 `rustdoc` 传递选项: + +`cargo rustdoc -- {{rustdoc_options}}` + +- 关于文档 lint 发出警告: + +`cargo rustdoc -- --warn rustdoc::{{lint_name}}` + +- 忽略文档 lint: + +`cargo rustdoc -- --allow rustdoc::{{lint_name}}` + +- 为包的库生成文档: + +`cargo rustdoc --lib` + +- 为指定的二进制文件生成文档: + +`cargo rustdoc --bin {{名称}}` + +- 为指定的示例生成文档: + +`cargo rustdoc --example {{名称}}` + +- 为指定的集成测试生成文档: + +`cargo rustdoc --test {{名称}}` diff --git a/pages.zh/common/cargo-search.md b/pages.zh/common/cargo-search.md new file mode 100644 index 00000000000000..05bb0e347eec65 --- /dev/null +++ b/pages.zh/common/cargo-search.md @@ -0,0 +1,13 @@ +# cargo search + +> 在 https://crates.io 上搜索包。 +> 显示包及其描述,以 TOML 格式显示,可复制到 `Cargo.toml` 中。 +> 更多信息:. + +- 搜索包: + +`cargo search {{查询词}}` + +- 显示 n 个结果 (默认为 10,最多为 100): + +`cargo search --limit {{n}} {{查询词}}` diff --git a/pages.zh/common/cargo-test.md b/pages.zh/common/cargo-test.md new file mode 100644 index 00000000000000..5557e805136541 --- /dev/null +++ b/pages.zh/common/cargo-test.md @@ -0,0 +1,28 @@ +# cargo test + +> 执行 Rust 包的单元测试和集成测试。 +> 更多信息:. + +- 仅运行包含特定字符串在其名称中的测试: + +`cargo {{[t|test]}} {{测试名称}}` + +- 设置并行运行测试用例的数量: + +`cargo {{[t|test]}} -- --test-threads {{数量}}` + +- 在 release 模式下测试构建,启用优化: + +`cargo {{[t|test]}} {{[-r|--release]}}` + +- 测试工作区中的所有包: + +`cargo {{[t|test]}} --workspace` + +- 为特定包运行测试: + +`cargo {{[t|test]}} {{[-p|--package]}} {{包名}}` + +- 运行测试时不隐藏测试执行的输出: + +`cargo {{[t|test]}} -- --nocapture` diff --git a/pages.zh/common/cargo-tree.md b/pages.zh/common/cargo-tree.md new file mode 100644 index 00000000000000..5c4783f09025c4 --- /dev/null +++ b/pages.zh/common/cargo-tree.md @@ -0,0 +1,25 @@ +# cargo tree + +> 显示依赖图的树形可视化。 +> 注意:在树中,标有 `(*)` 的包的依赖已在图的其他位置显示过,因此不会重复显示。 +> 更多信息:. + +- 显示当前项目的依赖树: + +`cargo tree` + +- 仅显示到指定深度的依赖 (例如,当 `n` 为 1 时,仅显示直接依赖): + +`cargo tree --depth {{n}}` + +- 在树中不显示给定的包(及其依赖): + +`cargo tree --prune {{package_spec}}` + +- 显示重复依赖的所有出现: + +`cargo tree --no-dedupe` + +- 仅显示 normal/build/dev 依赖: + +`cargo tree --edges {{normal|build|dev}}` diff --git a/pages.zh/common/cargo-uninstall.md b/pages.zh/common/cargo-uninstall.md new file mode 100644 index 00000000000000..4dc9eb1f7cd1f1 --- /dev/null +++ b/pages.zh/common/cargo-uninstall.md @@ -0,0 +1,8 @@ +# cargo uninstall + +> 移除使用 `cargo install` 安装的 Rust 二进制文件。 +> 更多信息:. + +- 移除一个已安装的二进制文件: + +`cargo uninstall {{package_spec}}` diff --git a/pages.zh/common/cargo-update.md b/pages.zh/common/cargo-update.md new file mode 100644 index 00000000000000..f92bfa13991750 --- /dev/null +++ b/pages.zh/common/cargo-update.md @@ -0,0 +1,20 @@ +# cargo update + +> 更新记录在 `Cargo.lock` 中的依赖关系。 +> 更多信息:. + +- 将 `Cargo.lock` 中的依赖项更新为可能的最新版本: + +`cargo update` + +- 显示将会更新的内容,但实际上不写入锁定文件: + +`cargo update --dry-run` + +- 仅更新指定的依赖项: + +`cargo update --package {{依赖项1}} --package {{依赖项2}} --package {{依赖项3}}` + +- 将特定依赖项设置为特定版本: + +`cargo update --package {{依赖项}} --precise {{1.2.3}}` diff --git a/pages.zh/common/cargo-vendor.md b/pages.zh/common/cargo-vendor.md new file mode 100644 index 00000000000000..48cfa6f430374c --- /dev/null +++ b/pages.zh/common/cargo-vendor.md @@ -0,0 +1,8 @@ +# cargo vendor + +> 将项目的所有依赖项存储到指定目录中(默认为 `vendor`)。 +> 更多信息:. + +- 将依赖项存储到指定目录,并配置在当前项目中使用这些存储的源代码: + +`cargo vendor {{path/to/directory}} > .cargo/config.toml` diff --git a/pages.zh/common/cargo-verify-project.md b/pages.zh/common/cargo-verify-project.md new file mode 100644 index 00000000000000..4e27b5df6545e0 --- /dev/null +++ b/pages.zh/common/cargo-verify-project.md @@ -0,0 +1,12 @@ +# cargo verify-project + +> 检查 `Cargo.toml` 文件清单的正确性,并将结果以 JSON 对象的形式打印出来。 +> 更多信息:. + +- 检查当前项目清单的正确性: + +`cargo verify-project` + +- 检查指定清单文件的正确性: + +`cargo verify-project --manifest-path {{path/to/Cargo.toml}}` diff --git a/pages.zh/common/cargo-version.md b/pages.zh/common/cargo-version.md new file mode 100644 index 00000000000000..4ac2d6037c41df --- /dev/null +++ b/pages.zh/common/cargo-version.md @@ -0,0 +1,12 @@ +# cargo version + +> 显示 `cargo` 版本信息。 +> 更多信息:. + +- 显示版本: + +`cargo version` + +- 显示额外的构建信息: + +`cargo version --verbose` diff --git a/pages.zh/common/cargo-yank.md b/pages.zh/common/cargo-yank.md new file mode 100644 index 00000000000000..225093bd32b2dd --- /dev/null +++ b/pages.zh/common/cargo-yank.md @@ -0,0 +1,17 @@ +# cargo yank + +> 从索引中移除发布的包。应该只在意外发布了一个严重错误的包时使用。 +> 注意:这不会删除任何数据。包在被撤回后仍然存在,只是阻止新项目使用它。 +> 更多信息:. + +- 撤回指定版本的包: + +`cargo yank {{包名}}@{{版本号}}` + +- 撤销撤回 (即允许再次下载): + +`cargo yank --undo {{包名}}@{{版本号}}` + +- 使用指定的注册表 (注册表名称可以在配置中定义 - 默认为 ): + +`cargo yank --registry {{名称}} {{包名}}@{{版本号}}` diff --git a/pages.zh/common/cargo.md b/pages.zh/common/cargo.md new file mode 100644 index 00000000000000..9674a1f24497db --- /dev/null +++ b/pages.zh/common/cargo.md @@ -0,0 +1,37 @@ +# cargo + +> 管理 Rust 项目及其模块依赖项(crates)。 +> 一些子命令,如 `build`,具有自己的用法文档。 +> 更多信息:. + +- 搜索包: + +`cargo search {{搜索关键词}}` + +- 下载二进制包(crate): + +`cargo install {{包名}}` + +- 列出已安装的二进制包(crate): + +`cargo install --list` + +- 在指定目录 (或默认情况下在当前工作目录) 中创建一个新的二进制或库 Rust项目: + +`cargo init --{{bin|lib}} {{path/to/directory}}` + +- 向当前目录的 `Cargo.toml` 添加一个依赖: + +`cargo add {{依赖项目}}` + +- 使用 release 模式在当前目录中构建 Rust 项目: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- 使用最新的编译器在当前目录中构建 Rust 项目 (需要 `rustup`): + +`cargo +nightly {{[b|build]}}` + +- 使用特定数量的线程构建 (默认为逻辑 CPU 的数量): + +`cargo {{[b|build]}} --jobs {{线程数}}` diff --git a/pages.zh/common/case.md b/pages.zh/common/case.md index 76323cfa3cfb78..af23d09c834865 100644 --- a/pages.zh/common/case.md +++ b/pages.zh/common/case.md @@ -1,11 +1,24 @@ # case -> case ... esac 与其他语言中的 switch ... case 语句类似,是一种多分枝选择结构. +> Bash 内置的多重条件语句结构。 +> 更多信息:. -- 通过字符串字面量判断执行分支: +- 通过字符串字面量判断执行分支: -`case {{入参变量}} in {{字符字面量1}} {{执行语句块1}} ;; {{字符字面量2}}) {{执行语句块2}} ;; *) {{默认执行语句块}} ;; esac` +`case {{$计数规则}} in {{字数}}) {{wc -w README}} ;; {{行数}}) {{wc -l README}} ;; esac` -- 搭配通配符进行匹配,判断执行分支: +- 使用 | 组合匹配模式,使用 * 作为默认匹配: -`case {{入参变量}} in {{通配符或者字符字面量}}) {{执行语句块1}} ; ;; {{通配符或者字符字面量}}) {{执行语句块1}}; ;; *) {{echo "what?"}}; ;; esac` +`case {{$计数规则}} in {{[wW]|字数}}) {{wc -w README}} ;; {{[lL]|行数}}) {{wc -l README}} ;; *) {{echo "无效输入"}} ;; esac` + +- 允许匹配多个模式: + +`case {{$动物}} in {{猫}}) echo "这是一只猫" ;;& {{猫|狗}}) echo "这是一只猫或狗" ;;& *) echo "其他动物" ;; esac` + +- 继续执行下一个模式的命令而不检查模式: + +`case {{$动物}} in {{猫}}) echo "这是一只猫" ;& {{狗}}) echo "这是一只狗或猫的匹配结果" ;& *) echo "其他动物" ;; esac` + +- 显示帮助: + +`help case` diff --git a/pages.zh/common/cat.md b/pages.zh/common/cat.md index 579e324eedc366..60de0063ab51ed 100644 --- a/pages.zh/common/cat.md +++ b/pages.zh/common/cat.md @@ -1,23 +1,24 @@ # cat -> 打印和拼接文件的工具. +> 打印和连接文件。 +> 更多信息:. -- 以标准输出,打印文件内容: +- 将文件内容打印到 `标准输出`: -`cat {{file}}` +`cat {{路径/到/文件}}` -- 多文件合并到目标文件: +- 将多个文件连接成一个输出文件: -`cat {{file1}} {{file2}} > {{target_file}}` +`cat {{路径/到/文件1 路径/到/文件2 ...}} > {{路径/到/输出文件}}` -- 多文件合并,并追加到目标文件: +- 将多个文件追加到一个输出文件中: -`cat {{file1}} {{file2}} >> {{target_file}}` +`cat {{路径/到/文件1 路径/到/文件2 ...}} >> {{路径/到/输出文件}}` -- 显示行号: +- 无缓冲地将文件内容复制到输出文件中: -`cat -n {{file}}` +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` -- 显示不可打印和空白的字符 (使用`M-` 前缀标记非ASCII字符): +- 将 `标准输入` 写入文件: -`cat -v -t -e {{file}}` +`cat - > {{路径/到/文件}}` diff --git a/pages.zh/common/ccomps.md b/pages.zh/common/ccomps.md new file mode 100644 index 00000000000000..6dac9c092a8a16 --- /dev/null +++ b/pages.zh/common/ccomps.md @@ -0,0 +1,21 @@ +# ccomps + +> 将图形分解为它们的连通分量。 +> Graphviz 过滤器:`acyclic`、`bcomps`、`comps`、`edgepaint`、`gvcolor`、`gvpack`、`mingle`、`nop`、`sccmap`、`tred` 和 `unflatten`。 +> 更多信息:. + +- 将一个或多个图形分解为它们的连通分量: + +`ccomps {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}} > {{路径/到/输出.gv}}` + +- 打印一个或多个图形中的节点、边和连通分量的数量: + +`ccomps -v -s {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}}` + +- 根据 `输出.gv` 将每个连通分量写入多个有编号的文件中: + +`ccomps -x -o {{路径/到/输出.gv}} {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}}` + +- 显示 `ccomps` 的帮助信息: + +`ccomps -?` diff --git a/pages.zh/common/cd.md b/pages.zh/common/cd.md index 5223c63745ac72..0cbfaff94e3db8 100644 --- a/pages.zh/common/cd.md +++ b/pages.zh/common/cd.md @@ -1,19 +1,28 @@ # cd -> 更改当前工作目录. +> 更改当前工作目录。 +> 更多信息:. -- 转到指定目录: +- 转到指定目录: -`cd {{路径}}` +`cd {{路径/到/目录}}` -- 转到当前用户的主(home)目录: +- 转到当前目录的父目录: + +`cd ..` + +- 转到当前用户的主(home)目录: `cd` -- 转到当前目录的父目录: +- 转到指定用户的主(home)目录: -`cd ..` +`cd ~{{用户名}}` -- 转到刚才选择的目录: +- 转到刚才选择的目录: `cd -` + +- 转到根目录: + +`cd /` diff --git a/pages.zh/common/chmod.md b/pages.zh/common/chmod.md new file mode 100644 index 00000000000000..1bc07b9ffa847a --- /dev/null +++ b/pages.zh/common/chmod.md @@ -0,0 +1,36 @@ +# chmod + +> 修改文件或目录的访问权限。 +> 更多信息:. + +- 授予所有者[u]执行[x]文件的权限: + +`chmod u+x {{文件}}` + +- 授予所有者[u]读[r]和写[w]文件或目录的权限: + +`chmod u+rw {{文件或目录}}` + +- 移除用户组[g]的文件执行[x]权限: + +`chmod g-x {{文件}}` + +- 授予所有用户[a]读[r]以及执行[x]文件的权限: + +`chmod a+rx {{文件}}` + +- 授予其他用户[o](不在所有者用户组)和用户组[g]同样的权限: + +`chmod o=g {{文件}}` + +- 移除其他用户[o]的所有权限: + +`chmod o= {{文件}}` + +- 递归授予用户组[g]和其他用户[o]目录下所有文件和子目录的写[w]权限: + +`chmod {{[-R|--recursive]}} g+w,o+w {{目录}}` + +- 递归授予所有用户[a]目录下文件的读[r]权限和子目录的执行[X]权限: + +`chmod {{[-R|--recursive]}} a+rX {{目录}}` diff --git a/pages.zh/common/chown.md b/pages.zh/common/chown.md new file mode 100644 index 00000000000000..34010ce131fa8e --- /dev/null +++ b/pages.zh/common/chown.md @@ -0,0 +1,28 @@ +# chown + +> 修改用户和用户组对文件或目录的所有权。 +> 更多信息:. + +- 修改文件或目录的所有者: + +`chown {{用户}} {{路径/到/文件或目录}}` + +- 修改文件或目录的所有者及所属组: + +`chown {{用户}}:{{用户组}} {{路径/到/文件或目录}}` + +- 将所有者用户和用户组都更改为 `user`: + +`chown {{user}}: {{路径/到/文件_或_目录}}` + +- 递归修改目录及其子目录和文件的所有者: + +`chown {{[-R|--recursive]}} {{用户}} {{路径/到/目录}}` + +- 修改符号链接的所有者: + +`chown {{[-h|--no-dereference]}} {{用户}} {{路径/到/符号链接}}` + +- 修改文件或目录的所有者与参考文件相同: + +`chown --reference {{路径/到/参考文件}} {{路径/到/文件或目录}}` diff --git a/pages.zh/common/chroot.md b/pages.zh/common/chroot.md new file mode 100644 index 00000000000000..a6282f310a1e8c --- /dev/null +++ b/pages.zh/common/chroot.md @@ -0,0 +1,12 @@ +# chroot + +> 使用指定的根目录运行命令或交互式 shell。 +> 更多信息:. + +- 以新的根目录,运行命令: + +`sudo chroot {{路径/到/新/根目录}} {{命令}}` + +- 使用指定的用户和组: + +`sudo chroot --userspec {{用户名或用户id:组名或组id}}` diff --git a/pages.zh/common/clang++.md b/pages.zh/common/clang++.md new file mode 100644 index 00000000000000..9a8a4c962287c0 --- /dev/null +++ b/pages.zh/common/clang++.md @@ -0,0 +1,37 @@ +# clang++ + +> 编译 C++ 源文件。 +> LLVM 项目的组件之一。 +> 更多信息:. + +- 将一组源文件编译为二进制文件: + +`clang++ {{源/文件/的路径1.cpp 源/文件/的路径2.cpp ...}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 打印所有错误和警告: + +`clang++ {{源/文件/的路径.cpp}} -Wall {{[-o|--output]}} {{可执行文件}}` + +- 打印普通警告和调试信息, 并在不影响调试的情况下优化: + +`clang++ {{源/文件/的路径.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 指定 C++ 语言标准: + +`clang++ {{源/文件/的路径.cpp}} -std={{c++20}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 包含与源文件不在同一路径下的库: + +`clang++ {{源/文件/的路径.cpp}} {{[-o|--output]}} {{可执行/文件/的路径}} -I{{头/文件/的目录}} -L{{库/的目录}} -l{{库的名字}}` + +- 将源文件编译为 LLVM 中间表示(IR): + +`clang++ {{[-S|--assemble]}} -emit-llvm {{源/文件/的路径.cpp}} {{[-o|--output]}} {{IR/的/路径.ll}}` + +- 优化编译后程序的性能: + +`clang++ {{源/文件/的路径.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 打印版本信息: + +`clang++ --version` diff --git a/pages.zh/common/clang-cpp.md b/pages.zh/common/clang-cpp.md new file mode 100644 index 00000000000000..271f69cd93c71f --- /dev/null +++ b/pages.zh/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> 这是 `clang++` 命令的一个别名。 + +- 原命令的文档在: + +`tldr clang++` diff --git a/pages.zh/common/clang.md b/pages.zh/common/clang.md new file mode 100644 index 00000000000000..444471dec074f1 --- /dev/null +++ b/pages.zh/common/clang.md @@ -0,0 +1,37 @@ +# clang + +> 编译 C,C++ 以及 Objective-C 源文件。可以无缝替代 GCC。 +> LLVM 项目的组件之一。 +> 更多信息:. + +- 将多个文件编译为可执行文件: + +`clang {{源/文件/的路径1.c 源/文件/的路径2.c ...}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 打印所有错误和警告: + +`clang {{源/文件/的路径.c}} -Wall {{[-o|--output]}} {{可执行文件}}` + +- 打印普通警告和调试信息, 并在不影响调试的情况下优化: + +`clang {{源/文件/的路径.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 包含与源文件不在同一路径下的库: + +`clang {{源/文件/的路径.c}} {{[-o|--output]}} {{可执行/文件/的路径}} -I{{头/文件/的目录}} -L{{库/的目录}} -l{{库的名字}}` + +- 将源文件编译为 LLVM 中间表示(IR): + +`clang {{[-S|--assemble]}} -emit-llvm {{源/文件/的路径.c}} {{[-o|--output]}} {{IR/的/路径.ll}}` + +- 将源文件编译成目标文件(.o)而不链接: + +`clang {{[-c|--compile]}} {{源/文件/的路径1.c 源/文件/的路径2.c...}}` + +- 优化编译后程序的性能: + +`clang {{源/文件/的路径.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 打印版本信息: + +`clang --version` diff --git a/pages.zh/common/clear.md b/pages.zh/common/clear.md index 1142cdc8ed2abc..15a8f856631339 100644 --- a/pages.zh/common/clear.md +++ b/pages.zh/common/clear.md @@ -1,19 +1,20 @@ # clear -> 清空终端的屏幕. +> 清空终端的屏幕。 +> 更多信息:. -- 清空屏幕(相当于在 Bash shell 中按 Control-L 键): +- 清空屏幕(相当于在 Bash shell 中按 `` 键): `clear` -- 清空屏幕但保留终端的回滚缓冲区: +- 清空屏幕但保留终端的回滚缓冲区: `clear -x` -- 指明要清空的终端类型(默认为环境变量 `TERM` 的值): +- 指明要清空的终端类型(默认为环境变量 `TERM` 的值): `clear -T {{type_of_terminal}}` -- 显示 `clear` 使用的 `ncurses` 版本: +- 显示 `clear` 使用的 `ncurses` 版本: `clear -V` diff --git a/pages.zh/common/clojure.md b/pages.zh/common/clojure.md new file mode 100644 index 00000000000000..e039e3de00922f --- /dev/null +++ b/pages.zh/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> 这是 `clj` 命令的一个别名。 + +- 原命令的文档在: + +`tldr clj` diff --git a/pages.zh/common/code.md b/pages.zh/common/code.md index 33860574c8bcfa..2c07ae18c16cf8 100644 --- a/pages.zh/common/code.md +++ b/pages.zh/common/code.md @@ -1,28 +1,36 @@ # code -> Visual Studio Code. -> 更多信息: . +> 跨平台且可扩展的代码编辑器。 +> 更多信息:. -- 打开 VS Code: +- 启动 Visual Studio Code: `code` -- 在 VS Code 中打开当前目录: +- 打开指定的文件或目录: -`code .` +`code {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` -- 在 VS Code 打开一个文件或目录: +- 比较两个指定的文件: -`code {{路径/文件或目录}}` +`code {{[-d|--diff]}} {{路径/到/文件1}} {{路径/到/文件2}}` -- 在当前打开的 VS Code 窗口中打开一个文件或目录: +- 在新窗口中打开指定的文件或目录: -`code --reuse-window {{路径/文件或目录}}` +`code {{[-n|--new-window]}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` -- 在 VS Code 中对比两个文件: +- 安装/卸载一个特定的插件: -`code -d {{文件1}} {{文件2}}` +`code --{{install|uninstall}}-extension {{插件作者.插件名}}` -- 用超级用户 (sudo) 权限打开 VS Code: +- 输出已安装的插件: -`sudo code {{路径/文件或目录}} --user-data-dir` +`code --list-extensions` + +- 输出已安装的插件及其版本: + +`code --list-extensions --show-versions` + +- 以超级用户(root)身份启动编辑器,同时将用户数据存储在指定目录中: + +`sudo code --user-data-dir {{路径/到/目录}}` diff --git a/pages.zh/common/cola.md b/pages.zh/common/cola.md new file mode 100644 index 00000000000000..e1a3cbf3f8e13f --- /dev/null +++ b/pages.zh/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> 这是 `git-cola` 命令的一个别名。 + +- 原命令的文档在: + +`tldr git-cola` diff --git a/pages.zh/common/command.md b/pages.zh/common/command.md new file mode 100644 index 00000000000000..1c26ce15f8300d --- /dev/null +++ b/pages.zh/common/command.md @@ -0,0 +1,12 @@ +# command + +> Command 强制当前 shell 执行指定程序,并忽略具有相同名称的任何函数、内置函数和别名。 +> 更多信息:. + +- 从字面上执行 `ls` 程序,即使存在 `ls` 别名: + +`command {{ls}}` + +- 显示指定命令的可执行程序路径或别名定义: + +`command -v {{命令名}}` diff --git a/pages.zh/common/compgen.md b/pages.zh/common/compgen.md new file mode 100644 index 00000000000000..65bfab0c1a4db0 --- /dev/null +++ b/pages.zh/common/compgen.md @@ -0,0 +1,36 @@ +# compgen + +> 用于在 bash 中自动完成的内置命令,按两次 `` 键即可调用该命令。 +> 更多信息:. + +- 显示所有可以执行的命令: + +`compgen -c` + +- 列出所有以指定字符串开头的可执行命令: + +`compgen -c {{字符串}}` + +- 列出所有别名: + +`compgen -a` + +- 列出所有可以运行的函数: + +`compgen -A function` + +- 列出所有 shell 的保留关键字: + +`compgen -k` + +- 查看以 'ls' 开头的所有可用命令和别名: + +`compgen -ac {{ls}}` + +- 列出系统中所有用户: + +`compgen -u` + +- 显示帮助信息: + +`compgen --help` diff --git a/pages.zh/common/cp.md b/pages.zh/common/cp.md new file mode 100644 index 00000000000000..e665b965e0c871 --- /dev/null +++ b/pages.zh/common/cp.md @@ -0,0 +1,36 @@ +# cp + +> 复制文件和目录。 +> 更多信息:. + +- 将文件复制到另一个位置: + +`cp {{路径/到/源_文件.ext}} {{路径/到/目标文件.ext}}` + +- 将文件复制到另一个文件夹,并保留原来的文件名: + +`cp {{路径/到/源文件.ext}} {{路径/到/目标的目录}}` + +- 以递归方式将文件夹内的内容复制到另一个位置(如果目标文件夹存在,则将此文件夹复制到目标文件夹中): + +`cp {{[-r|--recursive]}} {{路径/到/源目录}} {{路径/到/目标目录}}` + +- 以详细模式递归复制目录(在复制文件时显示文件信息): + +`cp {{[-vr|--verbose --recursive]}} {{路径/到/源目录}} {{路径/到/目标目录}}` + +- 一次将多个文件复制到一个目录: + +`cp {{[-t|--target-directory]}} {{路径/到/目标_目录}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 以交互方式将文本文件复制到另一个位置(覆盖之前会提示用户): + +`cp {{[-i|--interactive]}} {{*.txt}} {{路径/到/目标_目录}}` + +- 复制之前遵循符号链接: + +`cp {{[-L|--dereference]}} {{链接}} {{路径/到/目标_目录}}` + +- 使用第一个参数作为目标目录(对于 `xargs ... | cp -t <目标_目录>` 这样的命令非常有用): + +`cp {{[-t|--target-directory]}} {{路径/到/目标目录}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` diff --git a/pages.zh/common/cron.md b/pages.zh/common/cron.md new file mode 100644 index 00000000000000..4f134aa64033f1 --- /dev/null +++ b/pages.zh/common/cron.md @@ -0,0 +1,8 @@ +# cron + +> 一个系统任务计划程序,用于无人值守运行工作或任务。 +> 提交、修改或删除 `cron` 任务条目的命令,是 `crontab`. + +- 查看管理 `cron` 条目的文档: + +`tldr crontab` diff --git a/pages.zh/common/crontab.md b/pages.zh/common/crontab.md new file mode 100644 index 00000000000000..42e8b341157c88 --- /dev/null +++ b/pages.zh/common/crontab.md @@ -0,0 +1,36 @@ +# crontab + +> 为当前用户计划 cron 任务,按照时间间隔运行。 +> 更多信息:. + +- 编辑当前用户的 crontab 文件: + +`crontab -e` + +- 为特定用户修改 crontab 文件: + +`sudo crontab -e -u {{用户}}` + +- 用指定文件的内容,覆盖当前的 crontab 文件: + +`crontab {{路径/到/文件}}` + +- 查看当前用户,现存的 cron 任务列表: + +`crontab -l` + +- 移除当前用户的所有 cron 任务: + +`crontab -r` + +- 每天 10:00 运行任务的示例(* 表示任意值): + +`0 10 * * * {{要_运行的_命令}}` + +- 每 10 分钟运行命令的 crontab 任务条目示例: + +`*/10 * * * * {{要_运行的_命令}}` + +- 每周五的 02:30 运行指定脚本的 crontab 任务条目示例: + +`30 2 * * Fri /{{路径/到/脚本.sh}}` diff --git a/pages.zh/common/curl.md b/pages.zh/common/curl.md index 9cf270ac69cd93..cd88089bc4e9e0 100644 --- a/pages.zh/common/curl.md +++ b/pages.zh/common/curl.md @@ -1,37 +1,37 @@ # curl -> 向 / 从一个服务器传输数据. +> 向 / 从一个服务器传输数据。 > 支持大多数协议,包括 HTTP, FTP, 和 POP3. -> 更多信息:. +> 更多信息:. -- 将指定 URL 的内容下载到文件: +- 将指定 URL 的内容下载到文件: -`curl {{http://example.com}} -o {{文件名}}` +`curl {{http://example.com}} {{[-o|--output]}} {{文件名}}` -- 将文件从 URL 保存到由 URL 指示的文件名中: +- 将文件从 URL 保存到由 URL 指示的文件名中: -`curl -O {{http://example.com/filename}}` +`curl {{[-O|--remote-name]}} {{http://example.com/filename}}` -- 下载文件,跟随 [L] 重定向,并且自动 [C] 续传(恢复)前序文件传输: +- 下载文件,跟随 重定向,并且自动 续传(恢复)前序文件传输: -`curl -O -L -C - {{http://example.com/filename}}` +`curl {{[-f|--fail]}} {{[-O|--remote-name]}} {{[-L|--location]}} {{[-C|--continue-at]}} - {{http://example.com/filename}}` -- Send form-encoded data (POST request of type `application/x-www-form-urlencoded`): +- 发送表单编码数据(`application/x-www-form-urlencoded` 的 POST 请求): -`curl -d {{'name=bob'}} {{http://example.com/form}}` +`curl {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` -- 发送带有额外请求头,使用自定义请求方法的请求: +- 发送带有额外请求头,使用自定义请求方法的请求: -`curl -H {{'X-My-Header: 123'}} -X {{PUT}} {{http://example.com}}` +`curl {{[-H|--header]}} {{'X-My-Header: 123'}} {{[-X|--request]}} {{PUT}} {{http://example.com}}` -- 发送 JSON 格式的数据,并附加正确的 `Content-Type` 请求头: +- 发送 JSON 格式的数据,并附加正确的 `Content-Type` 请求头: -`curl -d {{'{"name":"bob"}'}} -H {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` +`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` -- 使用用户名和密码,授权访问服务器: +- 使用用户名和密码,授权访问服务器: -`curl -u myusername:mypassword {{http://example.com}}` +`curl {{[-u|--user]}} {{用户名}} {{http://example.com}}` -- 为指定资源使用客户端证书和密钥,并且跳过证书验证: +- 为指定资源使用客户端证书和密钥,并且跳过证书验证: -`curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://example.com}}` +`curl {{[-E|--cert]}} {{client.pem}} --key {{key.pem}} {{[-k|--insecure]}} {{https://example.com}}` diff --git a/pages.zh/common/cut.md b/pages.zh/common/cut.md new file mode 100644 index 00000000000000..a437e032a77e1d --- /dev/null +++ b/pages.zh/common/cut.md @@ -0,0 +1,20 @@ +# cut + +> 从标准输入或文件中剪切字段。 +> 更多信息:. + +- 打印每行的特定字符/或属性范围: + +`{{命令}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}` + +- 打印每行由指定分隔符分割的属性范围: + +`{{命令}} | cut {{[-d|--delimiter]}} "{{分隔符}}" {{[-f|--fields]}} {{1|1,10|1-10|1-|-10}}` + +- 打印文件每行的字符范围: + +`cut {{[-c|--characters]}} {{1|1,10|1-10|1-|-10}} {{路径/到/文件}}` + +- 打印以 `NUL` 结尾的行的特定字段(例如 `find . -print0`)而不是换行符: + +`{{命令}} | cut {{[-z|--zero-terminated]}} {{[-f|--fields]}} {{1}}` diff --git a/pages.zh/common/deno.md b/pages.zh/common/deno.md new file mode 100644 index 00000000000000..89eceba122fc77 --- /dev/null +++ b/pages.zh/common/deno.md @@ -0,0 +1,24 @@ +# deno + +> 一个安全的 JavaScript 和 TypeScript 运行时。 +> 更多信息:. + +- 运行 JavaScript 或 TypeScript 文件: + +`deno run {{路径/到/文件.ts}}` + +- 启动 REPL(交互式 shell): + +`deno` + +- 运行文件并启用网络访问: + +`deno run --allow-net {{路径/到/文件.ts}}` + +- 从 URL 运行文件: + +`deno run {{https://deno.land/std/examples/welcome.ts}}` + +- 从 URL 安装可执行脚本: + +`deno install {{https://deno.land/std/examples/colors.ts}}` diff --git a/pages.zh/common/df.md b/pages.zh/common/df.md new file mode 100644 index 00000000000000..d814eb6e43a144 --- /dev/null +++ b/pages.zh/common/df.md @@ -0,0 +1,20 @@ +# df + +> 显示文件系统磁盘空间使用情况的概览。 +> 更多信息:. + +- 以 512 字节为单位显示所有文件系统及其磁盘使用量: + +`df` + +- 显示包含指定文件或目录的文件系统及其磁盘使用情况: + +`df {{路径/到/文件或目录}}` + +- 写出空间数据时使用 1024 字节为单位: + +`df -k` + +- 以可移植的方式显示信息: + +`df -P` diff --git a/pages.zh/common/diff.md b/pages.zh/common/diff.md new file mode 100644 index 00000000000000..3074add06f0422 --- /dev/null +++ b/pages.zh/common/diff.md @@ -0,0 +1,36 @@ +# diff + +> 比较文件或目录。 +> 更多信息:. + +- 比较文件 (列出从`原文件`到`新文件`的修改): + +`diff {{原文件}} {{新文件}}` + +- 比较文件,忽视空白字符 + +`diff {{[-w|--ignore-all-space]}} {{原文件}} {{新文件}}` + +- 比较文件,并排展示文件差异: + +`diff {{[-y|--side-by-side]}} {{原文件}} {{新文件}}` + +- 比较文件,以统一形式展示不同区别 ( 形式同 `git diff`): + +`diff {{[-u|--unified]}} {{源文件}} {{新文件}}` + +- 递归地比较目录 (展示不同文件和目录的名字和差异): + +`diff {{[-r|--recursive]}} {{old_directory}} {{new_directory}}` + +- 比较目录(只展示不同文件的文件名): + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{old_directory}} {{new_directory}}` + +- 根据两个文本文件的差异,为 Git 创建补丁文件,不存在的文件会被视为空文件: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{原文件}} {{新文件}} > {{diff.patch}}` + +- 比较文件,打印彩色的输出,并尽可能找出最小的改变: + +`diff {{[-d|--minimal]}} --color=always {{原文件}} {{新文件}}` diff --git a/pages.zh/common/direnv.md b/pages.zh/common/direnv.md new file mode 100644 index 00000000000000..ecf1ded62afd23 --- /dev/null +++ b/pages.zh/common/direnv.md @@ -0,0 +1,24 @@ +# direnv + +> Shell 扩展为加载和卸载环境变量,具体取决于当前目录。 +> 更多信息:. + +- 授予 direnv 当前目录中加载 `.envrc`: + +`direnv allow {{.}}` + +- 撤销在当前目录加载 `.envrc` 的授权: + +`direnv deny {{.}}` + +- 使用默认编辑器编辑 `.envrc` 并在退出时重载环境: + +`direnv edit {{.}}` + +- 触发环境重载: + +`direnv reload` + +- 打印一些调试状态信息: + +`direnv status` diff --git a/pages.zh/common/distcc.md b/pages.zh/common/distcc.md new file mode 100644 index 00000000000000..c0a4fdea9359d4 --- /dev/null +++ b/pages.zh/common/distcc.md @@ -0,0 +1,28 @@ +# distcc + +> 与 `distccd` 搭配使用的分布式 C/C++/ObjC 编译客户端. +> 更多信息:. + +- 使用类似 `gcc` 的编译器编译源文件: + +`distcc {{gcc}} -c {{路径/到/源文件.c}} -o {{路径/到/输出文件.o}}` + +- 设置用于分布式编译的远程主机: + +`export DISTCC_HOSTS="localhost {{主机IP1 主机IP2 ...}}"` + +- 使用 `distcc` 和 `make` 并行编译项目: + +`make {{[-j|--jobs]}} {{并行任务数}} CC="distcc {{gcc}}"` + +- 显示当前配置的 `distcc` 主机列表: + +`distcc --show-hosts` + +- 显示帮助: + +`distcc --help` + +- 显示版本: + +`distcc --version` diff --git a/pages.zh/common/docker-build.md b/pages.zh/common/docker-build.md new file mode 100644 index 00000000000000..35de08d24ada3b --- /dev/null +++ b/pages.zh/common/docker-build.md @@ -0,0 +1,32 @@ +# docker build + +> 从 Dockerfile 打包镜像。 +> 更多信息:. + +- 使用当前目录下的 Dockerfile 打包一个 Docker 镜像: + +`docker build .` + +- 从指定 URL 的 Dockerfile 打包 Docker 镜像: + +`docker build {{github.com/creack/docker-firefox}}` + +- 打包一个 Docker 镜像并指定镜像的标签: + +`docker build {{[-t|--tag]}} {{name:tag}} .` + +- 打包一个没有上下文的 Docker 镜像: + +`docker build {{[-t|--tag]}} {{name:tag}} - < {{Dockerfile}}` + +- 打包镜像时不使用缓存: + +`docker build --no-cache {{[-t|--tag]}} {{name:tag}} .` + +- 使用指定的 Dockerfile 打包一个 Docker 镜像: + +`docker build {{[-f|--file]}} {{Dockerfile}} .` + +- 传入自定义变量用于打包: + +`docker build --build-arg {{HTTP_PROXY=http://10.20.30.2:1234}} --build-arg {{FTP_PROXY=http://40.50.60.5:4567}} .` diff --git a/pages.zh/common/docker-compose.md b/pages.zh/common/docker-compose.md new file mode 100644 index 00000000000000..3260cf1d33d446 --- /dev/null +++ b/pages.zh/common/docker-compose.md @@ -0,0 +1,36 @@ +# docker compose + +> 运行并管理多个 Docker 容器应用。 +> 更多信息:. + +- 列出所有正在运行的容器: + +`docker compose ps` + +- 根据当前目录下的 `docker-compose.yml` 文件,创建并后台启动所有的容器: + +`docker compose up {{[-d|--detach]}}` + +- 启动所有容器。如果必要,重新构建: + +`docker compose up --build` + +- 指定一个项目名称和特定 compose 文件,启动所有容器: + +`docker compose {{[-p|--project-name]}} {{项目_名称}} {{[-f|--file]}} {{路径/到/文件}} up` + +- 停止所有运行中的容器: + +`docker compose stop` + +- 停止,然后移除对应所有的容器、网络、镜像文件和文件卷: + +`docker compose down --rmi all {{[-v|--volumes]}}` + +- 跟踪所有容器的日志: + +`docker compose logs {{[-f|--follow]}}` + +- 跟踪特定容器的日志: + +`docker compose logs {{[-f|--follow]}} {{容器_名称}}` diff --git a/pages.zh/common/docker-exec.md b/pages.zh/common/docker-exec.md new file mode 100644 index 00000000000000..2989d8d6c7f58d --- /dev/null +++ b/pages.zh/common/docker-exec.md @@ -0,0 +1,28 @@ +# docker exec + +> 在一个正在运行的 Docker 容器内部,执行一个命令。 +> 更多信息:. + +- 在正在运行的容器内,启动交互式 shell 会话: + +`docker exec {{[-it|--interactive --tty]}} {{容器_名称}} {{/bin/bash}}` + +- 在一个运行的容器内部,后台(分离)执行一个命令: + +`docker exec {{[-d|--detach]}} {{容器_名称}} {{命令}}` + +- 指定要运行命令的运行目录: + +`docker exec {{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{路径/到/文件夹}} {{容器_名称}} {{命令}}` + +- 在现存容器内部,后台执行一个命令,但是保持 `stdin` 开启: + +`docker exec {{[-i|--interactive]}} {{[-d|--detach]}} {{容器_名称}} {{命令}}` + +- 在运行中容器的 Bash 内,设置环境变量: + +`docker exec {{[-it|--interactive --tty]}} {{[-e|--env]}} {{变量_名称}}={{值}} {{容器_名称}} {{/bin/bash}}` + +- 作为特定用户执行命令: + +`docker exec {{[-u|--user]}} {{用户名}} {{容器_名称}} {{命令}}` diff --git a/pages.zh/common/docker-image.md b/pages.zh/common/docker-image.md new file mode 100644 index 00000000000000..559c9444e701ba --- /dev/null +++ b/pages.zh/common/docker-image.md @@ -0,0 +1,25 @@ +# docker image + +> 管理 Docker 镜像。 +> 也请参阅:`docker build`, `docker import`, `docker pull`. +> 更多信息:. + +- 列出本地的 Docker 镜像: + +`docker image ls` + +- 删除未使用的 Docker 镜像: + +`docker image prune` + +- 删除全部的未使用镜像(而不仅仅是那些没有打上标签的镜像): + +`docker image prune {{[-a|--all]}}` + +- 展示本地 Docker 镜像的历史: + +`docker image history {{镜像}}` + +- 查看 `docker image rm` 的文档: + +`tldr docker rmi` diff --git a/pages.zh/common/docker-logs.md b/pages.zh/common/docker-logs.md new file mode 100644 index 00000000000000..d44a82fd4b0c90 --- /dev/null +++ b/pages.zh/common/docker-logs.md @@ -0,0 +1,24 @@ +# docker logs + +> 显示容器的日志。 +> 更多信息:. + +- 显示一个容器的日志: + +`docker logs {{容器_名称}}` + +- 显示历史日志,然后跟踪容器日志: + +`docker logs {{[-f|--follow]}} {{容器_名称}}` + +- 显示最后 5 行日志: + +`docker logs {{容器_名称}} {{[-n|--tail]}} {{5}}` + +- 显示带有时间戳的日志: + +`docker logs {{[-t|--timestamps]}} {{容器_名称}}` + +- 展示容器运行过程中,自某个时间点以来的日志(也就是,23m、10s、2013-01-02T13:23:37): + +`docker logs {{容器_名称}} --until {{时间点}}` diff --git a/pages.zh/common/docker-rm.md b/pages.zh/common/docker-rm.md new file mode 100644 index 00000000000000..d5a5791deea487 --- /dev/null +++ b/pages.zh/common/docker-rm.md @@ -0,0 +1,20 @@ +# docker rm + +> 移除容器。 +> 更多信息:. + +- 移除容器: + +`docker rm {{容器1 容器2 ...}}` + +- 强制移除容器: + +`docker rm {{[-f|--force]}} {{容器1 容器2 ...}}` + +- 移除容器以及其文件卷: + +`docker rm {{[-v|--volumes]}} {{容器}}` + +- 显示帮助信息: + +`docker rm {{[-h|--help]}}` diff --git a/pages.zh/common/docker-run.md b/pages.zh/common/docker-run.md new file mode 100644 index 00000000000000..06e7c508b5e3f2 --- /dev/null +++ b/pages.zh/common/docker-run.md @@ -0,0 +1,36 @@ +# docker run + +> 创建一个新的容器并运行命令。 +> 更多信息:. + +- 使用打上标签的 Docker 镜像的新容器中执行命令: + +`docker run {{镜像:标签}} {{命令}}` + +- 在后台运行新容器中的命令,并输出其容器ID: + +`docker run {{[-d|--detach]}} {{镜像}} {{命令}}` + +- 以交互模式和伪终端启动一个容器,并执行指定的命令: + +`docker run --rm {{[-it|--interactive --tty]}} {{镜像}} {{命令}}` + +- 在新容器中传入环境变量并运行指定命令: + +`docker run {{[-e|--env]}} '{{变量名}}={{变量值}}' {{[-e|--env]}} {{变量名=变量值}} {{镜像}} {{命令}}` + +- 在新容器中挂载目录卷并运行指定命令: + +`docker run {{[-v|--volume]}} {{宿主机路径}}:{{容器内路径}} {{镜像}} {{命令}}` + +- 在新容器中开放映射端口并运行指定命令: + +`docker run {{[-p|--publish]}} {{宿主机端口}}:{{容器内端口}} {{镜像}} {{命令}}` + +- 在新容器中覆盖镜像中 ENTRYPOINT 并运行指定命令: + +`docker run --entrypoint {{命令}} {{镜像}}` + +- 在新容器中设定使用需使用的网络并运行指定命令: + +`docker run --network {{网络}} {{镜像}}` diff --git a/pages.zh/common/docker.md b/pages.zh/common/docker.md new file mode 100644 index 00000000000000..255e4073932adc --- /dev/null +++ b/pages.zh/common/docker.md @@ -0,0 +1,37 @@ +# docker + +> 管理 Docker 容器和镜像。 +> 此命令也有关于其子命令的文件,例如:`run`. +> 更多信息:. + +- 列出所有 Docker 容器(包括停止的容器): + +`docker ps {{[-a|--all]}}` + +- 透过镜像启动容器,并为容器命名: + +`docker run --name {{容器名称}} {{镜像}}` + +- 启动或停止现有容器: + +`docker {{start|stop}} {{容器名称}}` + +- 从 Docker registry 中拉取镜像: + +`docker pull {{镜像}}` + +- 显示已下载的镜像清单: + +`docker images` + +- 从正在运行的容器内打开一个交互式 ([i]nteractive) 终端 ([t]ty) shell (`sh`): + +`docker exec {{[-it|--interactive --tty]}} {{容器名称}} {{sh}}` + +- 删除一个停止的容器: + +`docker rm {{容器名称}}` + +- 获取并查看容器的日志: + +`docker logs {{[-f|--follow]}} {{容器名称}}` diff --git a/pages.zh/common/du.md b/pages.zh/common/du.md new file mode 100644 index 00000000000000..f29f48321f9db9 --- /dev/null +++ b/pages.zh/common/du.md @@ -0,0 +1,32 @@ +# du + +> 磁盘使用率:估计和汇总文件和目录空间使用率。 +> 更多信息:. + +- 以给定单位(B/KiB/MiB)列出目录和所有子目录的大小: + +`du -{{b|k|m}} {{路径/到/目录}}` + +- 以可读形式列出目录和任何子目录的大小(即自动转换为的合适的单位): + +`du {{[-h|--human-readable]}} {{路径/到/目录}}` + +- 以可读单位显示目录大小: + +`du {{[-sh|--summarize --human-readable]}} {{路径/到/目录}}` + +- 列出目录以及其中所有文件和目录的可读大小: + +`du {{[-ah|--all --human-readable]}} {{路径/到/目录}}` + +- 列出目录和任何子目录的可读大小,最多可达 N 级: + +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{路径/到/目录}}` + +- 列出当前目录中所有 `.jpg` 文件的可读大小,并在最后显示累计总数: + +`du {{[-ch|--total --human-readable]}} {{./*.jpg}}` + +- 列出超过特定大小的所有文件和目录(包括隐藏的文件和目录)(对于查询实际占用空间很有用): + +`du {{[-ah|--all --human-readable]}} {{[-t|--threshold]}} {{1G|1024M|1048576K}} .[^.]* *` diff --git a/pages.zh/common/duf.md b/pages.zh/common/duf.md new file mode 100644 index 00000000000000..b12fc48e1d5af7 --- /dev/null +++ b/pages.zh/common/duf.md @@ -0,0 +1,32 @@ +# duf + +> 磁盘占用/空闲实用工具。 +> 更多信息:. + +- 列出可访问设备: + +`duf` + +- 列出所有(如伪文件系统,重复文件系统或不可访问的文件系统): + +`duf --all` + +- 只显示指定的设备或挂载点: + +`duf {{路径/到/文件夹1 路径/到/文件夹2 ...}}` + +- 根据指定条件排序输出: + +`duf --sort {{size|used|avail|usage}}` + +- 显示或隐藏指定文件系统: + +`duf --{{only-fs|hide-fs}} {{tmpfs|vfat|ext4|xfs}}` + +- 根据键排序输出: + +`duf --sort {{mountpoint|size|used|avail|usage|inodes|inodes_used|inodes_avail|inodes_usage|type|filesystem}}` + +- 更改主题(如果 `duf` 未能使用正确的主题): + +`duf --theme {{dark|light}}` diff --git a/pages.zh/common/echo.md b/pages.zh/common/echo.md index 2119863068c0a7..fd64bffdf2717a 100644 --- a/pages.zh/common/echo.md +++ b/pages.zh/common/echo.md @@ -1,12 +1,13 @@ # echo -> 输出给定参数. +> 输出给定参数。 +> 更多信息:. -- 输出文本信息. 注意: 引号是可选的: +- 输出文本信息. 注意: 引号是可选的: `echo "{{Hello World}}"` -- 输出带有环境变量的信息: +- 输出带有环境变量的信息: `echo "{{My path is $PATH}}"` @@ -14,10 +15,14 @@ `echo -n "{{Hello World}}"` -- 向文件添加信息: +- 向文件添加信息: `echo "{{Hello World}}" >> {{file.txt}}` -- 启用反斜杠转义的解释(特殊字符): +- 启用反斜杠转义的解释(特殊字符): `echo -e "{{Column 1\tColumn 2}}"` + +- 输出执行的上一条指令的退出状态(注:在 Windows 命令提示符和 PowerShell 中,对应的命令分别是 `echo %errorlevel%` 和 `$lastexitcode`): + +`echo $?` diff --git a/pages.zh/common/edgepaint.md b/pages.zh/common/edgepaint.md new file mode 100644 index 00000000000000..4e1203914b87c0 --- /dev/null +++ b/pages.zh/common/edgepaint.md @@ -0,0 +1,21 @@ +# edgepaint + +> 对图形布局的边缘进行着色,以澄清交叉边缘。 +> Graphviz 过滤器:`acyclic`、`bcomps`、`comps`、`edgepaint`、`gvcolor`、`gvpack`、`mingle`、`nop`、`sccmap`、`tred` 和 `unflatten`。 +> 更多信息:. + +- 对一个或多个已经有布局信息的图形布局的边缘进行着色,以澄清交叉边缘: + +`edgepaint {{路径/到/布局1.gv}} {{路径/到/布局2.gv ...}} > {{路径/到/输出.gv}}` + +- 使用颜色方案对边缘进行着色。(参见:): + +`edgepaint -color-scheme={{accent7}} {{路径/到/布局.gv}} > {{路径/到/输出.gv}}` + +- 对图形进行布局并对其边缘进行着色,然后将其转换为 PNG 图像: + +`dot {{路径/到/输入.gv}} | edgepaint | dot -T {{png}} > {{路径/到/输出.png}}` + +- 显示 `edgepaint` 的帮助信息: + +`edgepaint -?` diff --git a/pages.zh/common/eim.md b/pages.zh/common/eim.md new file mode 100644 index 00000000000000..e3ae894baa65b9 --- /dev/null +++ b/pages.zh/common/eim.md @@ -0,0 +1,36 @@ +# eim + +> 安装和管理 ESP-IDF. +> 更多信息:. + +- 在默认位置(Windows 上为 `C:\esp`,POSIX 系统上为 `~/.espressif`)安装默认(最新)的 ESP-IDF 版本: + +`eim install` + +- 非交互式安装特定 ESP-IDF 版本: + +`eim install {{[-i|--idf-versions]}} {{v5.3.2}}` + +- 运行交互式、指导性的安装向导: + +`eim wizard` + +- 安装特定版本到自定义路径,并强制进入交互模式(以提示选择): + +`eim install {{[-i|--idf-versions]}} {{v5.3.2}} {{[-p|--path]}} {{/opt/esp-idf}} {{[-n|--non-interactive]}} false` + +- 列出所有当前已安装的 ESP-IDF 版本: + +`eim list` + +- 移除一个特定已安装的 ESP-IDF 版本: + +`eim remove {{v5.3.2}}` + +- 使用 TOML 配置文件中定义的所有选项以无头模式安装: + +`eim install {{[-c|--config]}} {{path/to/config.toml}}` + +- 使用预先下载的归档文件进行离线安装: + +`eim install --use-local-archive {{path/to/archive.zst}}` diff --git a/pages.zh/common/espanso.md b/pages.zh/common/espanso.md new file mode 100644 index 00000000000000..577f5bda6915ea --- /dev/null +++ b/pages.zh/common/espanso.md @@ -0,0 +1,20 @@ +# espanso + +> 用 Rust 编写的跨平台文本扩展器。 +> 更多信息:. + +- 检查状态: + +`espanso status` + +- 编辑配置: + +`espanso edit config` + +- 从 hub 商店()安装一个软件包: + +`espanso install {{软件包的名字}}` + +- 重新启动(安装软件包后需要,在失败的情况下很有用): + +`espanso restart` diff --git a/pages.zh/common/etcd.md b/pages.zh/common/etcd.md new file mode 100644 index 00000000000000..78a444fafbe9d9 --- /dev/null +++ b/pages.zh/common/etcd.md @@ -0,0 +1,20 @@ +# etcd + +> 分布式,可靠的键值存储,用于分布式系统中存储最关键的数据。 +> 更多信息:. + +- 启动单节点 etcd 集群: + +`etcd` + +- 启动一个单节点 etcd 集群,在自定义 URL 上侦听客户端请求: + +`etcd --advertise-client-urls {{http://127.0.0.1:1234}} --listen-client-urls {{http://127.0.0.1:1234}}` + +- 使用自定义名称启动单节点 etcd 集群: + +`etcd --name {{my_etcd_cluster}}` + +- 启动单节点 etcd 集群,同时可以在这里看到大量监控指标 : + +`etcd --enable-pprof --metrics extensive` diff --git a/pages.zh/common/eval.md b/pages.zh/common/eval.md new file mode 100644 index 00000000000000..1f6261a563ef26 --- /dev/null +++ b/pages.zh/common/eval.md @@ -0,0 +1,12 @@ +# eval + +> 在当前 shell 中以单个命令的形式执行参数,并返回其结果。 +> 更多信息:. + +- 使用 'foo' 做为参数调用 `echo`: + +`eval "{{echo foo}}"` + +- 在当前 shell 程序中设置变量: + +`eval "{{foo=bar}}"` diff --git a/pages.zh/common/exit.md b/pages.zh/common/exit.md new file mode 100644 index 00000000000000..1957251a48a122 --- /dev/null +++ b/pages.zh/common/exit.md @@ -0,0 +1,12 @@ +# exit + +> 退出终端程序。 +> 更多信息:. + +- 使用最后执行命令的退出代码,退出终端程序: + +`exit` + +- 使用指定的退出代码,退出终端程序: + +`exit {{exit_code}}` diff --git a/pages.zh/common/export.md b/pages.zh/common/export.md new file mode 100644 index 00000000000000..097d1ca7b5f6e5 --- /dev/null +++ b/pages.zh/common/export.md @@ -0,0 +1,12 @@ +# export + +> 命令为当前 shell 中的子进程进行环境变量设置。 +> 更多信息:. + +- 设置环境变量: + +`export {{变量名}}={{值}}` + +- 向环境变量 `PATH` 追加一个路径名: + +`export PATH=$PATH:{{追加的 path 路径}}` diff --git a/pages.zh/common/fastapi.md b/pages.zh/common/fastapi.md new file mode 100644 index 00000000000000..ee424e5cbec7f7 --- /dev/null +++ b/pages.zh/common/fastapi.md @@ -0,0 +1,28 @@ +# fastapi + +> 运行 FastAPI 应用的命令行工具,底层使用 Uvicorn。 +> 更多信息:. + +- 使用自动重载运行 FastAPI 应用(用于开发): + +`fastapi run {{路径/文件.py}} --reload` + +- 在开发模式下运行应用: + +`fastapi dev {{路径/文件.py}}` + +- 指定运行的主机和端口: + +`fastapi run {{路径/文件.py}} --host {{主机地址}} --port {{端口}}` + +- 设置应用变量名(如果不是 `app`)或指定自定义应用目录: + +`fastapi run {{路径/文件.py}} --app-dir {{路径/到/应用}} --app {{自定义_app_名称}}` + +- 显示帮助信息: + +`fastapi --help` + +- 显示子命令的帮助信息: + +`fastapi {{子命令}} --help` diff --git a/pages.zh/common/fastboot.md b/pages.zh/common/fastboot.md new file mode 100644 index 00000000000000..77e9d9694e90c0 --- /dev/null +++ b/pages.zh/common/fastboot.md @@ -0,0 +1,32 @@ +# fastboot + +> 在引导加载程序模式下与连接的 Android 设备通信(在这里无法使用 ADB)。 +> 更多信息:. + +- 解锁引导加载程序: + +`fastboot oem unlock` + +- 回锁引导加载程序: + +`fastboot oem lock` + +- 从 fastboot 模式再次重启到 fastboot 模式: + +`fastboot reboot bootloader` + +- 刷入镜像: + +`fastboot flash {{路径/到/文件.img}}` + +- 刷入自定义恢复镜像: + +`fastboot flash recovery {{路径/到/文件.img}}` + +- 列出已连接的设备: + +`fastboot devices` + +- 列出设备所有信息: + +`fastboot getvar all` diff --git a/pages.zh/common/fc-cache.md b/pages.zh/common/fc-cache.md new file mode 100644 index 00000000000000..5ca2b038f4cb91 --- /dev/null +++ b/pages.zh/common/fc-cache.md @@ -0,0 +1,16 @@ +# fc-cache + +> 扫描字体目录,以便建立字体缓存文件。 +> 更多信息:. + +- 生成字体缓存文件: + +`fc-cache` + +- 强制重建所有字体缓存文件,而不检查缓存是否为最新版本: + +`fc-cache -f` + +- 删除字体缓存文件,然后生成新的字体缓存文件: + +`fc-cache -r` diff --git a/pages.zh/common/fc-list.md b/pages.zh/common/fc-list.md new file mode 100644 index 00000000000000..7577e82565a863 --- /dev/null +++ b/pages.zh/common/fc-list.md @@ -0,0 +1,24 @@ +# fc-list + +> 列出系统上安装的可用字体。 +> 更多信息:. + +- 返回系统中已安装字体的列表: + +`fc-list` + +- 返回具有给定名称的已安装字体的列表: + +`fc-list | grep '{{DejaVu Serif}}'` + +- 返回系统中已安装字体的数量: + +`fc-list | wc -l` + +- 返回支持指定语言(基于区域设置代码)的已安装字体列表: + +`fc-list :lang={{jp}}` + +- 返回包含指定 Unicode 码位字形的已安装字体列表: + +`fc-list :charset={{f303}}` diff --git a/pages.zh/common/fc.md b/pages.zh/common/fc.md new file mode 100644 index 00000000000000..f3e36bf06fd14d --- /dev/null +++ b/pages.zh/common/fc.md @@ -0,0 +1,32 @@ +# fc + +> 打开最近的命令进行编辑,然后运行它。 +> 更多信息:. + +- 在默认系统编辑器中打开最后一个命令,并在编辑后运行: + +`fc` + +- 指定一个编辑器打开: + +`fc -e {{'emacs'}}` + +- 从历史记录中列出最近的命令: + +`fc -l` + +- 以相反的顺序列出最近的命令: + +`fc -l -r` + +- 从历史记录中编辑并运行一个命令: + +`fc {{编号}}` + +- 编辑并运行指定区间内的命令: + +`fc '{{416}}' '{{420}}'` + +- 显示帮助: + +`fc --help` diff --git a/pages.zh/common/fd.md b/pages.zh/common/fd.md new file mode 100644 index 00000000000000..1cfe49fb9abe7a --- /dev/null +++ b/pages.zh/common/fd.md @@ -0,0 +1,29 @@ +# fd + +> `find` 的替代工具。 +> 旨在比 `find` 更快且更易于使用。 +> 更多信息:. + +- 递归查找当前目录中匹配特定模式的文件: + +`fd "{{字符串|正则表达式}}"` + +- 查找以特定字符串开头的文件: + +`fd "{{^字符串}}"` + +- 查找具有特定扩展名的文件: + +`fd --extension {{txt}}` + +- 在特定目录中查找文件: + +`fd "{{字符串|正则表达式}}" {{路径/到/目录}}` + +- 在搜索中包含被忽略和隐藏的文件: + +`fd --hidden --no-ignore "{{字符串|正则表达式}}"` + +- 对每个返回的搜索结果执行命令: + +`fd "{{字符串|正则表达式}}" --exec {{命令}}` diff --git a/pages.zh/common/feh.md b/pages.zh/common/feh.md new file mode 100644 index 00000000000000..3ddeed5d64ff0f --- /dev/null +++ b/pages.zh/common/feh.md @@ -0,0 +1,32 @@ +# feh + +> 轻量级图像查看工具。 +> 更多信息:. + +- 查看本地图像或使用 URL: + +`feh {{路径/到/图像}}` + +- 递归查看图像: + +`feh --recursive {{路径/到/图像}}` + +- 使用无边框窗口查看图像: + +`feh --borderless {{路径/到/图像}}` + +- 在浏览完最后一个图像之后退出: + +`feh --cycle-once {{路径/到/图像}}` + +- 设置幻灯片放映周期延迟时间(秒): + +`feh --slideshow-delay {{秒}} {{路径/到/图像}}` + +- 设置墙纸(居中、填充、最大化、缩放或平铺): + +`feh --bg-{{center|fill|max|scale|tile}} {{路径/到/图像}}` + +- 创建目录中所有图像的拼贴,并作为新图像输出: + +`feh --montage --thumb-height {{150}} --thumb-width {{150}} --index-info "{{%nn%wx%h}}" --output {{路径/到/拼贴图像.png}}` diff --git a/pages.zh/common/ffmpeg.md b/pages.zh/common/ffmpeg.md new file mode 100644 index 00000000000000..772eb059b7f00d --- /dev/null +++ b/pages.zh/common/ffmpeg.md @@ -0,0 +1,36 @@ +# ffmpeg + +> 视频转换工具。 +> 更多信息:. + +- 从视频中提取音频并保存为 MP3 格式: + +`ffmpeg -i {{路径/到/video.mp4}} -vn {{路径/到/sound.mp3}}` + +- 将 FLAC 文件转码为红皮书 CD 格式(44100kHz,16位): + +`ffmpeg -i {{路径/到/input_audio.flac}} -ar 44100 -sample_fmt s16 {{路径/到/output_audio.wav}}` + +- 将视频保存为 GIF,设置高度为 1000 像素,帧率为 15: + +`ffmpeg -i {{路径/到/video.mp4}} {{[-vf|-filter:v]}} 'scale=-1:{{1000}}' -r {{15}} {{路径/到/output.gif}}` + +- 将编号图像(如 `frame_1.jpg`、`frame_2.jpg` 等)合成为视频或 GIF: + +`ffmpeg -i {{路径/到/frame_%d.jpg}} -f image2 {{video.mpg | video.gif}}` + +- 从给定的开始时间 mm:ss 到结束时间 mm2:ss2 裁剪视频(省略 `-to` 参数表示裁剪至末尾): + +`ffmpeg -i {{路径/到/input_video.mp4}} -ss {{mm:ss}} -to {{mm2:ss2}} {{[-c|-codec]}} copy {{路径/到/output_video.mp4}}` + +- 将 AVI 视频转换为 MP4,AAC 音频码率为 128kbit,h264 视频使用 CRF 编码: + +`ffmpeg -i {{路径/到/input_video}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{路径/到/output_video}}.mp4` + +- 将 MKV 视频重新转换为 MP4,无需重新编码音频或视频流: + +`ffmpeg -i {{路径/到/input_video}}.mkv {{[-c|-codec]}} copy {{路径/到/output_video}}.mp4` + +- 将 MP4 视频转换为 VP9 编解码器。为获得最佳质量,请使用 CRF 值(建议范围为 15-35),并且 -b:v 必须为 0: + +`ffmpeg -i {{路径/到/input_video}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{线程数量}} {{路径/到/output_video}}.webm` diff --git a/pages.zh/common/ffsend.md b/pages.zh/common/ffsend.md new file mode 100644 index 00000000000000..a2cfead0381c4a --- /dev/null +++ b/pages.zh/common/ffsend.md @@ -0,0 +1,24 @@ +# ffsend + +> 轻松和安全地分享文件。 +> 更多信息:. + +- 上传文件: + +`ffsend upload {{路径/到/文件}}` + +- 下载文件: + +`ffsend download {{url}}` + +- 上传带有密码的文件: + +`ffsend upload {{路径/到/文件}} {{[-p|--password]}} {{密码}}` + +- 下载带有密码保护的文件: + +`ffsend download {{url}} {{[-p|--password]}} {{密码}}` + +- 上传文件并允许下载 4 次: + +`ffsend upload {{路径/到/文件}} {{[-d|--downloads]}} {{4}}` diff --git a/pages.zh/common/file.md b/pages.zh/common/file.md new file mode 100644 index 00000000000000..50fea8e04f440e --- /dev/null +++ b/pages.zh/common/file.md @@ -0,0 +1,24 @@ +# file + +> 确定文件类型。 +> 更多信息:. + +- 提供指定文件类型的描述,对于没有文件扩展名的文件可以正常工作: + +`file {{文件名}}` + +- 查看压缩文件并确定其中的文件类型: + +`file {{[-z|--uncompress]}} {{xxx.zip}}` + +- 允许文件与特殊文件或设备文件一起使用: + +`file {{[-s|--special-files]}} {{文件名}}` + +- 不要在第一个文件类型匹配时停止;继续执行直到文件结束: + +`file {{[-k|--keep-going]}} {{文件名}}` + +- 确定文件的 MIME 编码类型: + +`file {{[-i|--mime]}} {{文件名}}` diff --git a/pages.zh/common/find.md b/pages.zh/common/find.md new file mode 100644 index 00000000000000..50c0eafa9a8839 --- /dev/null +++ b/pages.zh/common/find.md @@ -0,0 +1,36 @@ +# find + +> 在指定目录树下递归查找文件或目录。 +> 更多信息:. + +- 通过扩展名查找文件: + +`find {{指定目录}} -name '{{*.ext}}'` + +- 查找匹配多个路径或名称模式的文件: + +`find {{指定目录}} -path '{{**/path/**/*.ext}}' -or -name '{{*pattern*}}'` + +- 查找匹配指定名称的目录,不区分大小写: + +`find {{指定目录}} -type d -iname '{{*lib*}}'` + +- 查找匹配指定模式的文件,排除特定路径: + +`find {{指定目录}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- 查找符合指定大小范围的文件,将递归深度限制为 "1": + +`find {{指定目录}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- 对每个文件运行命令(在命令中使用 `{}` 代表当前文件): + +`find {{指定目录}} -name '{{*.ext}}' -exec {{wc -l {} }}\;` + +- 查找最近 7 天修改的文件: + +`find {{指定目录}} -daystart -mtime -{{7}}` + +- 查找空(0 字节)的文件并删除: + +`find {{指定目录}} -type {{f}} -empty -delete` diff --git a/pages.zh/common/firefox.md b/pages.zh/common/firefox.md new file mode 100644 index 00000000000000..1434d216a08073 --- /dev/null +++ b/pages.zh/common/firefox.md @@ -0,0 +1,36 @@ +# firefox + +> 一个自由、开源的网络浏览器。 +> 更多信息:. + +- 启动 Firefox 并打开网页: + +`firefox {{https://www.duckduckgo.com}}` + +- 打开新窗口: + +`firefox --new-window {{https://www.duckduckgo.com}}` + +- 打开隐私(隐身)窗口: + +`firefox --private-window` + +- 使用默认搜索引擎搜索“wikipedia”: + +`firefox --search "{{wikipedia}}"` + +- 在安全模式中启动 Firefox, 所有扩展会被禁用: + +`firefox --safe-mode` + +- 在无头模式中截取网页截屏: + +`firefox --headless --screenshot {{路径/到/输出文件.png}} {{https://example.com/}}` + +- 使用特定的配置文件允许多个单独的 Firefox 实例同时运行: + +`firefox --profile {{路径/到/文件夹}} {{https://example.com/}}` + +- 设置 Firefox 为默认浏览器: + +`firefox --setDefaultBrowser` diff --git a/pages.zh/common/fish.md b/pages.zh/common/fish.md new file mode 100644 index 00000000000000..068efd2a6a507d --- /dev/null +++ b/pages.zh/common/fish.md @@ -0,0 +1,36 @@ +# fish + +> The Friendly Interactive SHell, 一个设计为用户友好的命令行解释器。 +> 更多信息:. + +- 启动交互式 shell 会话: + +`fish` + +- 启动不加载启动配置的交互式 shell 会话: + +`fish {{[-N|--no-config]}}` + +- 执行特定命令: + +`fish {{[-c|--command]}} "{{echo 'fish is executed'}}"` + +- 执行特定脚本: + +`fish {{路径/到/脚本.fish}}` + +- 检查特定脚本是否有语法错误: + +`fish {{[-N|--no-execute]}} {{路径/到/脚本.fish}}` + +- 从 `stdin` 执行特定命令: + +`{{echo "echo 'fish is executed'"}} | fish` + +- 在专用模式下启动交互式 shell 会话,其中 shell 不会访问旧历史记录或保存新历史记录: + +`fish {{[-P|--private]}}` + +- 定义并导出一个在 shell 重启后持续存在的环境变量(内置): + +`set {{[-U|--universal]}} {{[-x|--export]}} {{变量名}} {{变量值}}` diff --git a/pages.zh/common/fossil-ci.md b/pages.zh/common/fossil-ci.md new file mode 100644 index 00000000000000..adf79ff298759d --- /dev/null +++ b/pages.zh/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> 这是 `fossil commit`.命令的一个别名。 + +- 原命令的文档在: + +`tldr fossil commit` diff --git a/pages.zh/common/fossil-forget.md b/pages.zh/common/fossil-forget.md new file mode 100644 index 00000000000000..087c7e5c6ba0b3 --- /dev/null +++ b/pages.zh/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> 这是 `fossil rm` 命令的一个别名。 +> 更多信息:. + +- 原命令的文档在: + +`tldr fossil rm` diff --git a/pages.zh/common/fossil-new.md b/pages.zh/common/fossil-new.md new file mode 100644 index 00000000000000..f125f51c4a38ef --- /dev/null +++ b/pages.zh/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> 这是 `fossil init`.命令的一个别名。 + +- 原命令的文档在: + +`tldr fossil init` diff --git a/pages.zh/common/fossil-rm.md b/pages.zh/common/fossil-rm.md new file mode 100644 index 00000000000000..7a053c8c201bb9 --- /dev/null +++ b/pages.zh/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> 这是 `fossil delete` 命令的一个别名。 + +- 原命令的文档在: + +`tldr fossil delete` diff --git a/pages.zh/common/fzf.md b/pages.zh/common/fzf.md new file mode 100644 index 00000000000000..8934a1a1b5e466 --- /dev/null +++ b/pages.zh/common/fzf.md @@ -0,0 +1,29 @@ +# fzf + +> 命令行模糊查找器。 +> 类似于 `sk`. +> 更多信息:. + +- 对指定目录中的所有文件启动 `fzf`: + +`find {{路径/到/目录}} -type f | fzf` + +- 为正在运行的进程启动 `fzf`: + +`ps aux | fzf` + +- 使用 `` 选择多个文件并将结果写入文件: + +`find {{路径/到/目录}} -type f | fzf {{[-m|--multi]}} > {{路径/到/文件}}` + +- 使用指定查询词启动 `fzf`: + +`fzf {{[-q|--query]}} "{{查询词}}"` + +- 对以 core 开头、以 go, rb 或 py 结尾的条目启动 `fzf`: + +`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"` + +- 对不匹配 pyc 且完全匹配 travis 的条目启动 `fzf`: + +`fzf {{[-q|--query]}} "!pyc 'travis"` diff --git a/pages.zh/common/g++.md b/pages.zh/common/g++.md new file mode 100644 index 00000000000000..cf5c37a4780e5f --- /dev/null +++ b/pages.zh/common/g++.md @@ -0,0 +1,37 @@ +# g++ + +> 编译 C++ 源文件。 +> GCC (GNU Compiler Collection) 项目的组件之一。 +> 更多信息:. + +- 将一组源文件编译为二进制文件: + +`g++ {{源/文件/的路径1.cpp 源/文件/的路径2.cpp ...}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 打印所有错误和警告: + +`g++ {{源/文件/的路径.cpp}} -Wall {{[-o|--output]}} {{output_executable}}` + +- 打印普通警告和调试信息, 并在不影响调试的情况下优化: + +`g++ {{源/文件/的路径.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 指定 C++ 语言标准 (C++98/C++11/C++14/C++17): + +`g++ {{源/文件/的路径.cpp}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 包含与源文件不在同一路径下的库: + +`g++ {{源/文件/的路径.c}} {{[-o|--output]}} {{可执行/文件/的路径}} -I{{头/文件/的目录}} -L{{库/的目录}} -l{{库的名字}}` + +- 将多个源文件编译并链接为可执行文件: + +`g++ {{[-c|--compile]}} {{源/文件/的路径1.cpp 源/文件/的路径2.cpp ...}} && g++ {{[-o|--output]}} {{可执行/文件/的路径}} {{目标/文件/的路径1.o 目录/文件/的路径2.o ...}}` + +- 优化编译后程序的性能: + +`g++ {{源/文件/的路径.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 打印版本信息: + +`g++ --version` diff --git a/pages.zh/common/gcc.md b/pages.zh/common/gcc.md new file mode 100644 index 00000000000000..8d4be67e5fc474 --- /dev/null +++ b/pages.zh/common/gcc.md @@ -0,0 +1,37 @@ +# gcc + +> 预处理和编译 C 和 C++ 源文件,然后汇编并将他们链接起来。 +> GCC (GNU Compiler Collection) 项目的组件之一。 +> 更多信息:. + +- 将一组源文件编译为二进制文件: + +`gcc {{源/文件/的路径1.cpp 源/文件/的路径2.cpp ...}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 打印所有错误和警告: + +`gcc {{源/文件/的路径.cpp}} -Wall {{[-o|--output]}} {{output_executable}}` + +- 打印普通警告和调试信息, 并在不影响调试的情况下优化: + +`gcc {{源/文件/的路径.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 包含与源文件不在同一路径下的库: + +`gcc {{源/文件/的路径.c}} {{[-o|--output]}} {{可执行/文件/的路径}} -I{{头/文件/的目录}} -L{{库/的目录}} -l{{库的名字}}` + +- 将源文件编译为汇编指令: + +`gcc {{[-S|--assemble]}} {{源/文件/的路径}}` + +- 将源文件编译成目标文件(.o)而不链接: + +`gcc {{[-c|--compile]}} {{源/文件/的路径1.c 源/文件/的路径2.c...}}` + +- 优化编译后程序的性能: + +`gcc {{源/文件/的路径.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{可执行/文件/的路径}}` + +- 打印版本信息: + +`gcc --version` diff --git a/pages.zh/common/gendesk.md b/pages.zh/common/gendesk.md new file mode 100644 index 00000000000000..ab7a3c4eb93ca2 --- /dev/null +++ b/pages.zh/common/gendesk.md @@ -0,0 +1,16 @@ +# gendesk + +> 通过指定少量信息的命令来生成`.desktop`文件以及下载图标。 +> 更多信息:. + +- 创建一个名为`应用程序`的`.desktop`文件: + +`gendesk -n --name "{{应用程序}}" --exec "{{/路径/到/应用程序}}" --icon "{{/路径/到/图标.png}}" --comment "{{这是一个应用程序}}"` + +- 创建一个名为`应用程序`的`.desktop`文件, 不显示任何输出,如果存在则覆盖同名文件: + +`gendesk -q -f -n --name "{{应用程序}}" --exec "{{/路径/到/应用程序}}" --icon "{{/路径/到/图标.png}}" --comment "{{这是一个应用程序}}"` + +- 显示帮助信息: + +`gendesk -h` diff --git a/pages.zh/common/gh-cs.md b/pages.zh/common/gh-cs.md new file mode 100644 index 00000000000000..2976b3043c2d7b --- /dev/null +++ b/pages.zh/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> 这是 `gh codespace`.命令的一个别名。 + +- 原命令的文档在: + +`tldr gh codespace` diff --git a/pages.zh/common/gh-gist.md b/pages.zh/common/gh-gist.md index 3572aa00e3ac5b..0c1809f34364ac 100644 --- a/pages.zh/common/gh-gist.md +++ b/pages.zh/common/gh-gist.md @@ -1,24 +1,24 @@ # gh gist > 在命令行上使用 GitHub Gists. -> 更多信息: . +> 更多信息:. -- 从一个以空格分隔的文件列表中创建一个新的 Gist: +- 从一个以空格分隔的文件列表中创建一个新的 Gist: `gh gist create {{路径/文件}}` -- 创建一个带有描述的新 Gist: +- 创建一个带有描述的新 Gist: `gh gist create {{文件名}} --desc "{{描述}}"` -- 编辑一个 Gist: +- 编辑一个 Gist: `gh gist edit {{id_或_url}}` -- 列出当前登录用户所拥有的 Gist: +- 列出当前登录用户所拥有的 Gist: `gh gist list --limit {{int}}` -- 在默认浏览器中查看 Gist,且不渲染 Markdown: +- 在默认浏览器中查看 Gist,且不渲染 Markdown: `gh gist view {{id_或_url}} --web --raw` diff --git a/pages.zh/common/gh-repo.md b/pages.zh/common/gh-repo.md index 091f4985256c1d..143c95e93f19ab 100644 --- a/pages.zh/common/gh-repo.md +++ b/pages.zh/common/gh-repo.md @@ -1,20 +1,32 @@ # gh repo -> 在命令行上操作 GitHub 仓库. -> 更多信息: . +> 在命令行上操作 GitHub 仓库。 +> 更多信息:. -- 创建一个新的仓库(如果没有设置仓库名称,默认将为当前目录的名称): +- 创建一个新的仓库(如果没有设置仓库名称,默认将为当前目录的名称): `gh repo create {{名称}}` -- 克隆一个仓库: +- 克隆一个仓库: `gh repo clone {{拥有者}}/{{仓库}}` -- 复刻并克隆一个仓库: +- 复刻并克隆一个仓库: `gh repo fork {{拥有者}}/{{仓库}} --clone` -- 在网络浏览器中查看仓库: +- 在默认的网络浏览器中查看一个仓库: `gh repo view {{仓库}} --web` + +- 列出特定用户或组织拥有的仓库(如果未设置拥有者,默认拥有者将是当前登录用户): + +`gh repo list {{拥有者}}` + +- 仅列出非派生的仓库,并限制列出的仓库数量(默认:30): + +`gh repo list {{拥有者}} --source -L {{限制数量}}` + +- 列出具有特定主要编程语言的仓库: + +`gh repo list {{拥有者}} --language {{语言名称}}` diff --git a/pages.zh/common/git-add.md b/pages.zh/common/git-add.md new file mode 100644 index 00000000000000..fc0fabdd4de1ce --- /dev/null +++ b/pages.zh/common/git-add.md @@ -0,0 +1,36 @@ +# git add + +> 将更改的文件添加到索引(暂存区)。 +> 更多信息:. + +- 添加单个文件到索引: + +`git add {{路径/到/文件}}` + +- 添加所有文件(包括已跟踪的和未跟踪的): + +`git add {{[-A|--all]}}` + +- 从当前文件夹开始递归地添加所有文件: + +`git add .` + +- 只添加已跟踪的文件: + +`git add {{[-u|--update]}}` + +- 忽略的文件也添加: + +`git add {{[-f|--force]}}` + +- 交互式挑选部分修改并暂存: + +`git add {{[-p|--patch]}}` + +- 交互式挑选指定文件的部分修改并暂存: + +`git add {{[-p|--patch]}} {{路径/到/文件}}` + +- 在交互模式下暂存文件: + +`git add {{[-i|--interactive]}}` diff --git a/pages.zh/common/git-alias.md b/pages.zh/common/git-alias.md new file mode 100644 index 00000000000000..3f200d37fa6f2a --- /dev/null +++ b/pages.zh/common/git-alias.md @@ -0,0 +1,17 @@ +# git alias + +> 为 Git 命令创建快捷方式。 +> 属于 `git-extras`的一部分 +> 更多信息:. + +- 列出所有别名 + +`git alias` + +- 为命令创建一个别名 + +`git alias "{{别名}}" "{{命令}}"` + +- 搜索一个现有的别名 + +`git alias ^{{别名}}` diff --git a/pages.zh/common/git-am.md b/pages.zh/common/git-am.md new file mode 100644 index 00000000000000..629537eebe2e37 --- /dev/null +++ b/pages.zh/common/git-am.md @@ -0,0 +1,21 @@ +# git am + +> 应用补丁文件并创建提交。在通过电子邮件接收提交时非常有用。 +> 另请参阅 `git format-patch`,该命令可以生成补丁文件。 +> 更多信息:. + +- 应用本地补丁文件并提交更改: + +`git am {{路径/到/目录.patch}}` + +- 应用远程补丁文件并提交更改: + +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` + +- 中止应用补丁文件的过程: + +`git am --abort` + +- 尽可能应用补丁文件,将失败的代码块保存到拒绝文件中: + +`git am --reject {{路径/到/目录.patch}}` diff --git a/pages.zh/common/git-annex.md b/pages.zh/common/git-annex.md new file mode 100644 index 00000000000000..8bf00fd0aee7ed --- /dev/null +++ b/pages.zh/common/git-annex.md @@ -0,0 +1,29 @@ +# git annex + +> 用 Git 管理文件,但不将其内容提交到版本库中。 +> 当文件被附属时,其内容会被移至键值存储中,并创建一个指向该内容的符号链接。 +> 更多信息:. + +- 初始化一个带有 Git annex 的仓库: + +`git annex init` + +- 添加文件: + +`git annex add {{路径/到/文件或目录}}` + +- 显示文件或目录的当前状态: + +`git annex status {{路径/到/文件或目录}}` + +- 同步本地仓库与远程仓库: + +`git annex {{远程仓库名}}` + +- 获取文件或目录(从键值存储中恢复内容): + +`git annex get {{路径/到/文件或目录}}` + +- 显示帮助信息: + +`git annex help` diff --git a/pages.zh/common/git-annotate.md b/pages.zh/common/git-annotate.md new file mode 100644 index 00000000000000..3b01ef06301f24 --- /dev/null +++ b/pages.zh/common/git-annotate.md @@ -0,0 +1,18 @@ +# git annotate + +> 显示文件中每一行的提交哈希值和最后修改作者。 +> 参见 `git blame`(推荐优先使用该命令) +> 提供`git annotate` 主要是为了照顾熟悉其他版本控制系统的用户 +> 更多信息:. + +- 打印文件内容,并在每行前附加作者姓名和提交哈希值: + +`git annotate {{路径/到/文件}}` + +- 打印文件内容,并在每行前附加作者邮箱和提交哈希值: + +`git annotate {{[-e|--show-email]}} {{路径/到/文件}}` + +- 仅打印匹配正则表达式的行: + +`git annotate -L :{{正则表达式}} {{路径/到/文件}}` diff --git a/pages.zh/common/git-apply.md b/pages.zh/common/git-apply.md new file mode 100644 index 00000000000000..3ac4ed79a34085 --- /dev/null +++ b/pages.zh/common/git-apply.md @@ -0,0 +1,29 @@ +# git apply + +> 将补丁应用到文件和/或暂存区,但不创建提交。 +> 另请参阅 `git am`,该命令不仅能应用补丁还会创建提交。 +> 更多信息:. + +- 显示补丁文件的应用详情: + +`git apply {{[-v|--verbose]}} {{路径/到/文件}}` + +- 应用补丁并将修改添加到暂存区: + +`git apply --index {{路径/到/文件}}` + +- 应用远程补丁文件: + +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` + +- 应用远程补丁文件: + +`git apply --stat --apply {{路径/到/文件}}` + +- 反向应用补丁(撤销更改): + +`git apply {{[-R|--reverse]}} {{路径/到/文件}}` + +- 将补丁结果存入暂存区但不修改工作区: + +`git apply --cache {{路径/到/文件}}` diff --git a/pages.zh/common/git-archive-file.md b/pages.zh/common/git-archive-file.md new file mode 100644 index 00000000000000..5b291473447b3a --- /dev/null +++ b/pages.zh/common/git-archive-file.md @@ -0,0 +1,9 @@ +# git archive-file + +> 将当前 Git 分支的所有文件导出为 Zip 压缩包。 +> 属于 `git-extras`的一部分。 +> 更多信息:. + +- 将当前检出的提交打包成 Zip 压缩包: + +`git archive-file` diff --git a/pages.zh/common/git-archive.md b/pages.zh/common/git-archive.md new file mode 100644 index 00000000000000..dcbfd6edfe7171 --- /dev/null +++ b/pages.zh/common/git-archive.md @@ -0,0 +1,28 @@ +# git archive + +> 从代码树创建文件归档。 +> 更多信息:. + +- 从当前 HEAD 内容创建 tar 归档并输出到标准输出: + +`git archive {{[-v|--verbose]}} HEAD` + +- 使用 Zip 格式并显示详细进度: + +`git archive {{[-v|--verbose]}} --format zip HEAD` + +- 将 Zip 归档输出到指定文件: + +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{路径/到/文件.zip}} HEAD` + +- 从指定分支的最新提交内容创建 tar 归档: + +`git archive {{[-o|--output]}} {{路径/到/文件.tar}} {{指定分支}}` + +- 使用特定目录的内容创建归档: + +`git archive {{[-o|--output]}} {{路径/到/文件.tar}} HEAD:{{路径/到/目录}}` + +- 为归档中的每个文件添加前缀路径: + +`git archive {{[-o|--output]}} {{路径/到/文件.tar}} --prefix {{路径/到/前缀路径}}/ HEAD` diff --git a/pages.zh/common/git-authors.md b/pages.zh/common/git-authors.md new file mode 100644 index 00000000000000..4c81908af1d8df --- /dev/null +++ b/pages.zh/common/git-authors.md @@ -0,0 +1,17 @@ +# git authors + +> 生成 Git 仓库的提交者列表。 +> 属于 `git-extras`的一部分。 +> 更多信息:. + +- 将完整的提交者列表输出到标准输出,而不是写入到 `AUTHORS` 文件: + +`git authors {{[-l|--list]}}` + +- 将提交者列表追加到 `AUTHORS` 文件并用默认编辑器打开: + +`git authors` + +- 将提交者列表(不包含邮箱)追加到 `AUTHORS` 文件并用默认编辑器打开: + +`git authors --no-email` diff --git a/pages.zh/common/git-bisect.md b/pages.zh/common/git-bisect.md new file mode 100644 index 00000000000000..bd24fb7e63ff4c --- /dev/null +++ b/pages.zh/common/git-bisect.md @@ -0,0 +1,25 @@ +# git bisect + +> 使用二分查找定位引入错误的提交。 +> Git 会自动在提交历史中来回跳转,逐步缩小问题提交的范围。 +> 更多信息:. + +- 在已知有问题提交和已知正常提交(通常较旧)之间开始二分查找会话: + +`git bisect start {{问题提交}} {{正常提交}}` + +- 对 `git bisect` 自动选中的每个提交进行测试后,标记为"正常"或"有问题": + +`git bisect {{good|bad}}` + +- 当 `git bisect` 定位到问题提交后,结束二分查找会话并返回原分支: + +`git bisect reset` + +- 在二分查找过程中跳过某个提交(例如因其他问题导致测试失败的提交): + +`git bisect skip` + +- 显示当前二分查找的进度日志: + +`git bisect log` diff --git a/pages.zh/common/git-blame-someone-else.md b/pages.zh/common/git-blame-someone-else.md new file mode 100644 index 00000000000000..3b3161f32db7c7 --- /dev/null +++ b/pages.zh/common/git-blame-someone-else.md @@ -0,0 +1,8 @@ +# git blame-someone-else + +> 将你的糟糕代码归咎于其他人。 +> 更多信息:. + +- 更改提交的提交者和作者: + +`git blame-someone-else "{{作者 }}" {{提交}}` diff --git a/pages.zh/common/git-blame.md b/pages.zh/common/git-blame.md new file mode 100644 index 00000000000000..82a990d4723783 --- /dev/null +++ b/pages.zh/common/git-blame.md @@ -0,0 +1,28 @@ +# git blame + +> 显示文件每一行的最后修改者和提交哈希值。 +> 更多信息:. + +- 显示文件的每一行,包含作者名字和提交哈希值: + +`git blame {{路径/到/文件}}` + +- 显示文件的每一行,包含作者邮箱和提交哈希值: + +`git blame {{[-e|--show-email]}} {{路径/到/文件}}` + +- 显示文件在指定提交时的每一行,包含作者名字和提交哈希值: + +`git blame {{commit}} {{路径/到/文件}}` + +- 显示文件在指定提交之前的每一行,包含作者名字和提交哈希值: + +`git blame {{commit}}~ {{路径/到/文件}}` + +- 显示指定行范围内的作者名字和提交哈希值信息: + +`git blame -L {{start_line}},{{end_line}} {{路径/到/文件}}` + +- 忽略空白字符和行移动: + +`git blame -w -C -C -C {{路径/到/文件}}` diff --git a/pages.zh/common/git-branch.md b/pages.zh/common/git-branch.md new file mode 100644 index 00000000000000..7e73ab40179781 --- /dev/null +++ b/pages.zh/common/git-branch.md @@ -0,0 +1,36 @@ +# git branch + +> 管理分支。 +> 更多信息:. + +- 列出所有分支(包括本地的和远程的;当前分支以 `*` 突出表示): + +`git branch {{[-a|--all]}}` + +- 列出哪些分支在其历史中包含指定的提交记录: + +`git branch {{[-a|--all]}} --contains {{提交的哈希值}}` + +- 显示当前分支的名称: + +`git branch --show-current` + +- 基于当前提交创建新分支: + +`git branch {{分支名}}` + +- 基于指定提交创建新分支: + +`git branch {{分支名}} {{提交的哈希值}}` + +- 重命名分支(需先切换到其他分支): + +`git branch {{[-m|--move]}} {{旧分支名}} {{新分支名}}` + +- 删除本地分支(需先切换到其他分支): + +`git branch {{[-d|--delete]}} {{分支名}}` + +- 删除远程分支: + +`git push {{远程仓库名}} {{[-d|--delete]}} {{远程分支名}}` diff --git a/pages.zh/common/git-browse-ci.md b/pages.zh/common/git-browse-ci.md new file mode 100644 index 00000000000000..cdc3cf67769e36 --- /dev/null +++ b/pages.zh/common/git-browse-ci.md @@ -0,0 +1,13 @@ +# git browse-ci + +> 在默认浏览器中打开当前 `git` 代码库的 CI 网站。 +> 属于 `git-extras` 工具集的一部分。 +> 更多信息:. + +- 在默认浏览器中打开当前代码库的 CI 配置页面(基于上游网站): + +`git browse-ci` + +- 为指定远程仓库打开当前代码库的 CI 配置页面: + +`git browse-ci {{远程名称}}` diff --git a/pages.zh/common/git-browse.md b/pages.zh/common/git-browse.md new file mode 100644 index 00000000000000..1d5e1320c76397 --- /dev/null +++ b/pages.zh/common/git-browse.md @@ -0,0 +1,13 @@ +# git browse + +> 在默认浏览器中查看上游代码库 +> 属于 `git-extras` 工具集的一部分。 +> 更多信息:. + +- 在默认浏览器中打开第一个上游代码库: + +`git browse` + +- 在默认浏览器中打开指定的上游代码库: + +`git browse {{上游名称}}` diff --git a/pages.zh/common/git-brv.md b/pages.zh/common/git-brv.md new file mode 100644 index 00000000000000..494fcde9f4f28b --- /dev/null +++ b/pages.zh/common/git-brv.md @@ -0,0 +1,9 @@ +# git brv + +> 按最后提交日期排序显示分支列表。 +> 属于 `git-extras`的一部分。 +> 更多信息:. + +- 列出所有分支,显示日期、最新提交哈希和提交信息: + +`git brv` diff --git a/pages.zh/common/git-bug.md b/pages.zh/common/git-bug.md new file mode 100644 index 00000000000000..b6666530b45ffb --- /dev/null +++ b/pages.zh/common/git-bug.md @@ -0,0 +1,33 @@ +# git bug + +> 一个使用 Git 内部存储的分布式问题追踪器,不会在项目中添加额外文件。 +> 您可以像提交和分支一样,将问题提交到与他人交互的同一个 Git 远程仓库。 +> 更多信息:. + +- 创建新身份: + +`git bug user create` + +- 创建新问题: + +`git bug add` + +- 推送新问题条目到远程仓库: + +`git bug push` + +- 拉取更新: + +`git bug pull` + +- 列出已有问题: + +`git bug ls` + +- 使用查询条件筛选和排序问题: + +`git bug ls "{{状态}}:{{open}} {{排序}}:{{edit}}"` + +- 按文本内容搜索问题: + +`git bug ls "{{搜索查询}}" baz` diff --git a/pages.zh/common/git-bugreport.md b/pages.zh/common/git-bugreport.md new file mode 100644 index 00000000000000..698d2ebe546463 --- /dev/null +++ b/pages.zh/common/git-bugreport.md @@ -0,0 +1,16 @@ +# git bugreport + +> 收集系统和用户的调试信息,生成文本文件以帮助报告 Git 中的问题。 +> 更多信息:. + +- 在当前目录创建新的问题报告文件: + +`git bugreport` + +- 在指定目录创建新的问题报告文件(如目录不存在则自动创建): + +`git bugreport {{[-o|--output-directory]}} {{path/to/directory}}` + +- 使用指定格式的时间戳后缀创建问题报告文件( `strftime` 格式): + +`git bugreport {{[-s|--suffix]}} {{%m%d%y}}` diff --git a/pages.zh/common/git-bulk.md b/pages.zh/common/git-bulk.md new file mode 100644 index 00000000000000..bb7e45b8e6dfc9 --- /dev/null +++ b/pages.zh/common/git-bulk.md @@ -0,0 +1,37 @@ +# git bulk + +> 批量操作多个 Git 仓库。 +> 属于 `git-extras`的一部分。 +> 更多信息:. + +- 将当前目录注册为工作区: + +`git bulk --addcurrent {{工作区名称}}` + +- 注册一个工作区用于批量操作: + +`git bulk --addworkspace {{工作区名称}} {{到仓库的绝对路径}}` + +- 在指定目录克隆仓库并注册为工作区: + +`git bulk --addworkspace {{工作区名称}} {{仓库父目录的绝对路径}} --from {{远程仓库地址}}` + +- 从换行分隔的远程仓库列表克隆并注册为工作区: + +`git bulk --addworkspace {{工作区名称}} {{/路径/到/根/目录}} --from {{/路径/到/文件}}` + +- 列出所有已注册的工作区: + +`git bulk --listall` + +- 在当前工作区的所有仓库上执行 Git 命令: + +`git bulk {{命令}} {{命令参数}}` + +- 删除指定工作区: + +`git bulk --removeworkspace {{工作区名称}}` + +- 删除所有工作区: + +`git bulk --purge` diff --git a/pages.zh/common/git-bundle.md b/pages.zh/common/git-bundle.md new file mode 100644 index 00000000000000..5e9cfd9818acc8 --- /dev/null +++ b/pages.zh/common/git-bundle.md @@ -0,0 +1,36 @@ +# git bundle + +> 将对象和引用打包成归档文件。 +> 更多信息:. + +- 创建包含特定分支所有对象和引用的打包文件: + +`git bundle create {{路径/到/文件.bundle}} {{分支名}}` + +- 创建包含所有分支的打包文件: + +`git bundle create {{路径/到/文件.bundle}} --all` + +- 创建当前分支最近5次提交的打包文件: + +`git bundle create {{路径/到/文件.bundle}} -5 {{HEAD}}` + +- 创建最近7天提交的打包文件: + +`git bundle create {{路径/到/文件.bundle}} --since 7.days {{HEAD}}` + +- 验证打包文件是否有效且可应用到当前仓库: + +`git bundle verify {{路径/到/文件.bundle}}` + +- 显示打包文件中包含的引用列表: + +`git bundle unbundle {{路径/到/文件.bundle}}` + +- 从打包文件中解包特定分支到当前仓库: + +`git pull {{路径/到/文件.bundle}} {{分支名}}` + +- 从打包文件创建新仓库: + +`git clone {{路径/到/文件.bundle}}` diff --git a/pages.zh/common/git-cat-file.md b/pages.zh/common/git-cat-file.md new file mode 100644 index 00000000000000..b2324d0db1266c --- /dev/null +++ b/pages.zh/common/git-cat-file.md @@ -0,0 +1,16 @@ +# git cat-file + +> 查看 Git 仓库对象的内容或类型和大小信息。 +> 更多信息:. + +- 获取 HEAD 提交的字节大小: + +`git cat-file -s HEAD` + +- 获取指定 Git 对象的类型(blob、tree、commit、tag): + +`git cat-file -t {{8c442dc3}}` + +- 根据对象类型打印指定 Git 对象的内容: + +`git cat-file -p {{HEAD~2}}` diff --git a/pages.zh/common/git-changelog.md b/pages.zh/common/git-changelog.md new file mode 100644 index 00000000000000..4efaaa220979ab --- /dev/null +++ b/pages.zh/common/git-changelog.md @@ -0,0 +1,33 @@ +# git changelog + +> 从仓库提交和标签生成变更日志报告。 +> 属于 `git-extras` 的一部分。 +> 更多信息:. + +- 更新现有文件或创建新的 `History.md` 文件,包含自最新 Git 标签以来的提交信息: + +`git changelog` + +- 列出当前版本的提交: + +`git changelog {{[-l|--list]}}` + +- 列出从标签 `2.1.0` 到现在的提交范围 + +`git changelog {{[-l|--list]}} {{[-s|--start-tag]}} {{2.1.0}}` + +- 以美观格式列出标签 `0.5.0` 到 `1.0.0` 之间的提交: + +`git changelog {{[-s|--start-tag]}} {{0.5.0}} {{[-f|--final-tag]}} {{1.0.0}}` + +- 以美观格式列出提交 `0b97430` 到标签 `1.0.0` 之间的提交: + +`git changelog --start-commit {{0b97430}} {{[-f|--final-tag]}} {{1.0.0}}` + +- 指定 `CHANGELOG.md` 作为输出文件: + +`git changelog {{CHANGELOG.md}}` + +- 完全替换当前变更日志文件的内容: + +`git changelog {{[-p|--prune-old]}}` diff --git a/pages.zh/common/git-check-attr.md b/pages.zh/common/git-check-attr.md new file mode 100644 index 00000000000000..8fe05bd0e14480 --- /dev/null +++ b/pages.zh/common/git-check-attr.md @@ -0,0 +1,20 @@ +# git check-attr + +> 检查每个路径的文件属性状态(未指定/已设置/未设置)。 +> 更多信息:. + +- 检查文件的所有属性状态: + +`git check-attr --all {{路径/到/文件}}` + +- Check the value of a specific attribute on a file: + +`git check-attr {{属性}} {{路径/到/文件}}` + +- Check the values of all attributes on specific files: + +`git check-attr --all {{路径/到/文件1 路径/到/文件2 ...}}` + +- Check the value of a specific attribute on one or more files: + +`git check-attr {{属性}} {{路径/到/文件1 路径/到/文件2 ...}}` diff --git a/pages.zh/common/git-check-ignore.md b/pages.zh/common/git-check-ignore.md new file mode 100644 index 00000000000000..a54b3aef6fdbfa --- /dev/null +++ b/pages.zh/common/git-check-ignore.md @@ -0,0 +1,24 @@ +# git check-ignore + +> 分析和调试 Git 忽略规则(.gitignore 文件)。 +> 更多信息:. + +- 检查文件或目录是否被忽略: + +`git check-ignore {{路径/到/文件或目录}}` + +- 检查多个文件或目录是否被忽略: + +`git check-ignore {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 从标准输入读取路径列表(每行一个路径): + +`git check-ignore --stdin < {{路径/到/文件列表}}` + +- 不检查索引(用于调试为何某些路径被跟踪而非忽略): + +`git check-ignore --no-index {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 显示每个路径匹配的具体忽略规则: + +`git check-ignore {{[-v|--verbose]}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` diff --git a/pages.zh/common/git-check-mailmap.md b/pages.zh/common/git-check-mailmap.md new file mode 100644 index 00000000000000..79900f049ad00a --- /dev/null +++ b/pages.zh/common/git-check-mailmap.md @@ -0,0 +1,8 @@ +# git check-mailmap + +> 显示联系人的规范名称和电子邮件地址。 +> 更多信息:. + +- 查找与电子邮件地址关联的规范名称: + +`git check-mailmap "<{{邮箱@example.com}}>"` diff --git a/pages.zh/common/git-check-ref-format.md b/pages.zh/common/git-check-ref-format.md new file mode 100644 index 00000000000000..2f344d4276d7f3 --- /dev/null +++ b/pages.zh/common/git-check-ref-format.md @@ -0,0 +1,16 @@ +# git check-ref-format + +> 检查引用名称格式是否合法,不合法时返回非零状态码。 +> 更多信息:. + +- 检查指定引用名称的格式是否合法: + +`git check-ref-format {{refs/head/refname}}` + +- 打印最近检出的分支名称 + +`git check-ref-format --branch @{-1}` + +- 规范化引用名称格式: + +`git check-ref-format --normalize {{refs/head/refname}}` diff --git a/pages.zh/common/git-checkout-index.md b/pages.zh/common/git-checkout-index.md new file mode 100644 index 00000000000000..2dc0f0aa33f719 --- /dev/null +++ b/pages.zh/common/git-checkout-index.md @@ -0,0 +1,20 @@ +# git checkout-index + +> 将文件从暂存区复制到工作区。 +> 更多信息:. + +- 恢复自上次提交以来删除的所有文件: + +`git checkout-index --all` + +- 恢复自上次提交以来删除或修改的所有文件(强制覆盖): + +`git checkout-index --all --force` + +- 恢复自上次提交以来修改的文件(忽略已删除的文件): + +`git checkout-index --all --force --no-create` + +- 将最后一次提交的整个工作树导出到指定目录(注意结尾斜杠): + +`git checkout-index --all --force --prefix={{路径/到/导出目录/}}` diff --git a/pages.zh/common/git-checkout.md b/pages.zh/common/git-checkout.md new file mode 100644 index 00000000000000..7d0911b06b0d38 --- /dev/null +++ b/pages.zh/common/git-checkout.md @@ -0,0 +1,36 @@ +# git checkout + +> 切换分支或将文件检出到工作区。 +> 更多信息:. + +- 创建并切换到新分支: + +`git checkout -b {{分支名}}` + +- 基于指定引用(如分支、远程分支、标签等)创建并切换到新分支: + +`git checkout -b {{分支名}} {{引用}}` + +- 切换到已有的本地分支: + +`git checkout {{分支名}}` + +- 切换到上次检出的分支: + +`git checkout -` + +- 切换到已有的远程分支: + +`git checkout {{[-t|--track]}} {{远程名}}/{{分支名}}` + +- 丢弃当前目录下所有未暂存的更改(更多撤销操作见 `git reset`): + +`git checkout .` + +- 丢弃对指定文件的未暂存更改: + +`git checkout {{路径/到/文件}}` + +- 用指定分支中提交的版本覆盖当前工作区的文件: + +`git checkout {{分支名}} -- {{路径/到/文件}}` diff --git a/pages.zh/common/git-cherry-pick.md b/pages.zh/common/git-cherry-pick.md new file mode 100644 index 00000000000000..13b31db906584a --- /dev/null +++ b/pages.zh/common/git-cherry-pick.md @@ -0,0 +1,21 @@ +# git cherry-pick + +> 将现有提交的变更应用到当前分支。 +> 如需应用到其他分支,请先用 `git checkout` 切换到目标分支。 +> 更多信息:. + +- 将单个提交应用到当前分支: + +`git cherry-pick {{提交哈希}}` + +- 将连续多个提交应用到当前分支(也可参考 `git rebase --onto`): + +`git cherry-pick {{起始提交}}~..{{结束提交}}` + +- 将多个(非连续的)提交应用到当前分支: + +`git cherry-pick {{提交1 提交2 ...}}` + +- 将提交变更应用到工作区但不自动创建提交: + +`git cherry-pick {{[-n|--no-commit]}} {{提交哈希}}` diff --git a/pages.zh/common/git-cherry.md b/pages.zh/common/git-cherry.md new file mode 100644 index 00000000000000..73d7127a833e21 --- /dev/null +++ b/pages.zh/common/git-cherry.md @@ -0,0 +1,16 @@ +# git cherry + +> 查找尚未应用到上游分支的提交。 +> 更多信息:. + +- 显示已在上游分支有对应提交的提交(包含提交信息): + +`git cherry {{[-v|--verbose]}}` + +- 指定不同的上游分支和主题分支进行比较: + +`git cherry {{上游分支}} {{主题分支}}` + +- 限定比较范围到某个基准点之后的提交: + +`git cherry {{上游分支}} {{主题分支}} {{基准点}}` diff --git a/pages.zh/common/git-clean.md b/pages.zh/common/git-clean.md new file mode 100644 index 00000000000000..e042b155393b5b --- /dev/null +++ b/pages.zh/common/git-clean.md @@ -0,0 +1,28 @@ +# git clean + +> 从工作区删除未被 Git 跟踪的文件。 +> 更多信息:. + +- 删除未跟踪的文件: + +`git clean` + +- 交互式删除未跟踪的文件: + +`git clean {{[-i|--interactive]}}` + +- 显示将被删除的文件(模拟运行,不实际删除): + +`git clean {{[-n|--dry-run]}}` + +- 强制删除未跟踪的文件: + +`git clean {{[-f|--force]}}` + +- 强制删除未跟踪的目录: + +`git clean {{[-f|--force]}} -d` + +- 删除未跟踪的文件(包括被忽略的文件,在 `.gitignore` 和 `.git/info/exclude`的文件): + +`git clean -x` diff --git a/pages.zh/common/git-clear-soft.md b/pages.zh/common/git-clear-soft.md new file mode 100644 index 00000000000000..b5d7bee6f8c6dd --- /dev/null +++ b/pages.zh/common/git-clear-soft.md @@ -0,0 +1,9 @@ +# git clear-soft + +> 将 Git 工作目录清理至如同刚克隆时的状态(不包含 `.gitignore` 中的文件)。 +> 属于 `git-extras` 一部分。 +> 更多信息:. + +- 重置所有已跟踪文件并删除所有未跟踪文件: + +`git clear-soft` diff --git a/pages.zh/common/git-clear.md b/pages.zh/common/git-clear.md new file mode 100644 index 00000000000000..be2d16a85302da --- /dev/null +++ b/pages.zh/common/git-clear.md @@ -0,0 +1,9 @@ +# git clear + +> 将 Git 工作目录清理至如同刚克隆时的状态(包含 `.gitignore` 中的文件)。 +> 属于 `git-extras` 的一部分。 +> 更多信息:. + +- 重置所有已跟踪文件并删除所有未跟踪文件(包括 `.gitignore` 中的文件): + +`git clear` diff --git a/pages.zh/common/git-cliff.md b/pages.zh/common/git-cliff.md new file mode 100644 index 00000000000000..333275497d3be3 --- /dev/null +++ b/pages.zh/common/git-cliff.md @@ -0,0 +1,24 @@ +# git cliff + +> 高度可定制的变更日志生成工具。 +> 更多信息:. + +- 从 Git 仓库所有提交生成变更日志并保存到 `CHANGELOG.md` : + +`git cliff > {{CHANGELOG.md}}` + +- 从最新标签之后的提交生成变更日志并输出到标准输出: + +`git cliff {{[-l|--latest]}}` + +- 为当前标签对应的提交生成变更日志(需先使用 `git checkout` 检出到一个标签): + +`git cliff --current` + +- 为尚未打标签的提交生成变更日志: + +`git cliff {{[-u|--unreleased]}}` + +- 在当前目录生成默认配置文件 `cliff.toml` : + +`git cliff {{[-i|--init]}}` diff --git a/pages.zh/common/git-clone.md b/pages.zh/common/git-clone.md new file mode 100644 index 00000000000000..e3454694e7c572 --- /dev/null +++ b/pages.zh/common/git-clone.md @@ -0,0 +1,36 @@ +# git clone + +> 克隆现有的代码仓库。 +> 更多信息:. + +- 克隆一个现有的代码仓库到指定目录: + +`git clone {{远程代码库地址}} {{路径/到/目录}}` + +- 克隆一个现有的代码库和它的子模块: + +`git clone --recursive {{远程代码库地址}}` + +- 仅克隆现有代码仓库的 `.git` 目录: + +`git clone {{[-n|--no-checkout]}} {{远程_代码仓库_地址}}` + +- 克隆一个本地的代码库: + +`git clone {{[-l|--local]}} {{路径/到/本地/代码库名}}` + +- 静默克隆,不打印任何日志: + +`git clone {{[-q|--quiet]}} {{远程代码库地址}}` + +- 克隆一个现有的代码库,只获取默认分支上10个最新的提交(对节省时间很有用): + +`git clone --depth 10 {{远程代码库地址}}` + +- 克隆一个现有的、特定远程分支的代码库: + +`git clone {{[-b|--branch]}} {{分支名称}} --single-branch {{远程代码库地址}}` + +- 使用 SSH 命令克隆一个现有的代码库: + +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i 路径/到/ssh_私钥}}" {{远程代码库地址}}` diff --git a/pages.zh/common/git-coauthor.md b/pages.zh/common/git-coauthor.md new file mode 100644 index 00000000000000..1db755448ab30a --- /dev/null +++ b/pages.zh/common/git-coauthor.md @@ -0,0 +1,9 @@ +# git coauthor + +> 为最新提交添加共同作者(会重写 Git 历史,下次推送需使用 `--force` 选项)。 +> 属于 `git-extras`一部分。 +> 更多信息:. + +- 为最新提交添加共同作者: + +`git coauthor {{作者姓名}} {{作者邮箱}}` diff --git a/pages.zh/common/git-cola.md b/pages.zh/common/git-cola.md new file mode 100644 index 00000000000000..c38ad7bb440053 --- /dev/null +++ b/pages.zh/common/git-cola.md @@ -0,0 +1,24 @@ +# git cola + +> 功能强大且界面直观的 Git 图形化界面工具。 +> 更多信息:. + +- 启动图形界面: + +`git cola` + +- 以修订模式启动图形界面: + +`git cola --amend` + +- 提示选择 Git 仓库(默认为当前目录): + +`git cola --prompt` + +- 打开指定路径的 Git 仓库: + +`git cola --repo {{路径/到/git仓库}}` + +- 在状态组件中应用路径过滤器: + +`git cola --status-filter {{过滤器}}` diff --git a/pages.zh/common/git-column.md b/pages.zh/common/git-column.md new file mode 100644 index 00000000000000..9c99b7a1ff1807 --- /dev/null +++ b/pages.zh/common/git-column.md @@ -0,0 +1,16 @@ +# git column + +> 以列格式显示数据。 +> 更多信息:. + +- 将标准输入内容格式化为多列显示: + +`ls | git column --mode={{column}}` + +- 以最大宽度 `100` 的列格式显示标准输入内容: + +`ls | git column --mode=column --width={{100}}` + +- 以最大边距 `30` 的列格式显示标准输入内容: + +`ls | git column --mode=column --padding={{30}}` diff --git a/pages.zh/common/git-commit-graph.md b/pages.zh/common/git-commit-graph.md new file mode 100644 index 00000000000000..7e1603ff2e9c9c --- /dev/null +++ b/pages.zh/common/git-commit-graph.md @@ -0,0 +1,16 @@ +# git commit-graph + +> 生成和验证 Git 提交图文件。 +> 更多信息:. + +- 为仓库本地 `.git` 目录中的打包提交生成提交图文件: + +`git commit-graph write` + +- 生成包含所有可达提交的提交图文件: + +`git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits` + +- 生成包含当前提交图文件中所有提交以及从 `HEAD` 可达提交的提交图文件(追加模式): + +`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append` diff --git a/pages.zh/common/git-commit-tree.md b/pages.zh/common/git-commit-tree.md new file mode 100644 index 00000000000000..6a91f3846340c2 --- /dev/null +++ b/pages.zh/common/git-commit-tree.md @@ -0,0 +1,21 @@ +# git commit-tree + +> 用于创建提交对象的底层工具。 +> 参考: `git commit`. +> 更多信息:. + +- 创建带有指定提交信息的提交对象: + +`git commit-tree {{树对象哈希}} -m "{{提交信息}}"` + +- 从文件读取提交信息创建提交对象(使用 `-` 表示从标准输入读取): + +`git commit-tree {{树对象哈希}} -F {{路径/到/文件}}` + +- 创建 GPG 签名过的提交对象: + +`git commit-tree {{树对象哈希}} -m "{{提交信息}}" {{[-S|--gpg-sign]}}` + +- 创建指定父提交的提交对象: + +`git commit-tree {{树对象哈希}} -m "{{提交信息}}" -p {{父提交哈希}}` diff --git a/pages.zh/common/git-commit.md b/pages.zh/common/git-commit.md new file mode 100644 index 00000000000000..5fbd2a4096bb37 --- /dev/null +++ b/pages.zh/common/git-commit.md @@ -0,0 +1,32 @@ +# git commit + +> 将文件提交到仓库。 +> 更多信息:. + +- 将暂存的文件提交到仓库,附带提交说明信息: + +`git commit {{[-m|--message]}} "{{信息}}"` + +- 提交暂存的文件,并从指定文件中读取附带的提交信息: + +`git commit {{[-F|--file]}} {{路径/到/提交信息文件}}` + +- 自动暂存并提交所有修改过的和删除的文件,附带提交信息: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{信息}}"` + +- 提交暂存的文件,并使用指定的 GPG 密钥签名(若未指定参数则使用配置文件中的设定): + +`git commit {{[-S|--gpg-sign]}} {{密钥ID}} {{[-m|--message]}} "{{信息}}"` + +- 将当前暂存的更改追加到最近一次提交,并更新其哈希值: + +`git commit --amend` + +- 只提交指定的(已暂存的)文件: + +`git commit {{路径/到/文件1 路径/到/文件2 ...}}` + +- 即使没有暂存文件也创建提交: + +`git commit {{[-m|--message]}} "{{信息}}" --allow-empty` diff --git a/pages.zh/common/git-commits-since.md b/pages.zh/common/git-commits-since.md new file mode 100644 index 00000000000000..4a49c0b1e1974b --- /dev/null +++ b/pages.zh/common/git-commits-since.md @@ -0,0 +1,21 @@ +# git commits-since + +> 显示从指定时间点以来的提交记录。 +> 属于 `git-extras` 一部分。 +> 更多信息:. + +- 显示从昨天以来的所有提交: + +`git commits-since {{yesterday}}` + +- 显示从上周以来的所有提交: + +`git commits-since {{last week}}` + +- 显示从上个月以来的所有提交: + +`git commits-since {{last month}}` + +- 显示从昨天下午2点以来的所有提交: + +`git commits-since {{yesterday 2pm}}` diff --git a/pages.zh/common/git-config.md b/pages.zh/common/git-config.md new file mode 100644 index 00000000000000..f2949a648f5c97 --- /dev/null +++ b/pages.zh/common/git-config.md @@ -0,0 +1,37 @@ +# git config + +> 管理 Git 仓库的自定义设置项。 +> 这些设置可以分为局部设置(只对当前仓库生效)和全局设置(对当前用户生效)。 +> 更多信息:. + +- 列出局部设置项(存储在当前仓库的 `.git/config`): + +`git config {{[-l|--list]}} --local` + +- 列出全局配置项(存储在 `~/.gitconfig`): + +`git config {{[-l|--list]}} --global` + +- 列出系统配置项(存储在 `/etc/gitconfig`),并且展示文件的位置: + +`git config {{[-l|--list]}} --system --show-origin` + +- 获取某个配置项的值: + +`git config alias.unstage` + +- 设置某个全局配置项: + +`git config --global alias.unstage "reset HEAD --"` + +- 将某个全局配置项恢复为默认值: + +`git config --global --unset alias.unstage` + +- 使用默认编辑器修改本地设置: + +`git config {{[-e|--edit]}}` + +- 使用默认编辑器修改全局设置: + +`git config --global {{[-e|--edit]}}` diff --git a/pages.zh/common/git-contrib.md b/pages.zh/common/git-contrib.md new file mode 100644 index 00000000000000..7a86ca0e2ead18 --- /dev/null +++ b/pages.zh/common/git-contrib.md @@ -0,0 +1,9 @@ +# git contrib + +> 显示指定作者的提交记录。 +> 属于 `git-extras` 一部分。 +> 更多信息:. + +- 显示指定作者的所有提交哈希及对应提交信息: + +`git contrib {{作者名}}` diff --git a/pages.zh/common/git-count-objects.md b/pages.zh/common/git-count-objects.md new file mode 100644 index 00000000000000..f60101b48089df --- /dev/null +++ b/pages.zh/common/git-count-objects.md @@ -0,0 +1,20 @@ +# git count-objects + +> 统计未打包对象数量及其磁盘占用情况。 +> 更多信息:. + +- 统计所有对象并显示总磁盘使用量: + +`git count-objects` + +- 统计所有对象并以易读格式显示总磁盘使用量(如KB/MB): + +`git count-objects --human-readable` + +- 显示详细统计信息(包括对象类型细分): + +`git count-objects --verbose` + +- 以易读格式显示详细统计信息: + +`git count-objects --human-readable --verbose` diff --git a/pages.zh/common/git-count.md b/pages.zh/common/git-count.md new file mode 100644 index 00000000000000..40eb0379134878 --- /dev/null +++ b/pages.zh/common/git-count.md @@ -0,0 +1,13 @@ +# git count + +> 统计提交总数。 +> 属于 `git-extras` 的一部分。 +> 更多信息:. + +- 显示当前分支的提交总数: + +`git count` + +- 显示所有贡献者的提交数及总提交数(按作者统计): + +`git count --all` diff --git a/pages.zh/common/git-cp.md b/pages.zh/common/git-cp.md new file mode 100644 index 00000000000000..a82036fce02498 --- /dev/null +++ b/pages.zh/common/git-cp.md @@ -0,0 +1,13 @@ +# git cp + +> 复制 Git 仓库中的文件并保留历史记录。 +> 属于 `git-extras` 的一部分。 +> 更多信息:. + +- 在当前 Git 仓库下复制文件,保留在同一目录: + +`git cp {{原文件名}} {{新文件}}` + +- 复制文件到其他目录 + +`git cp {{路径/到/源文件}} {{路径/到/新文件}}` diff --git a/pages.zh/common/git-create-branch.md b/pages.zh/common/git-create-branch.md new file mode 100644 index 00000000000000..9342ddf59b536b --- /dev/null +++ b/pages.zh/common/git-create-branch.md @@ -0,0 +1,17 @@ +# git create-branch + +> 在 Git 仓库中创建分支。 +> 属于 `git-extras` 一部分。 +> 更多信息:. + +- ​​创建本地分支​​: + +`git create-branch {{分支名}}` + +- ​​创建本地分支并推送到 origin 远程​​: + +`git create-branch --remote {{分支名}}` + +- ​​创建本地分支并推送到 upstream 远程(常用于 fork 的工作流)​​: + +`git create-branch --remote upstream {{分支名}}` diff --git a/pages.zh/common/git-credential-cache.md b/pages.zh/common/git-credential-cache.md new file mode 100644 index 00000000000000..b2729c8afff640 --- /dev/null +++ b/pages.zh/common/git-credential-cache.md @@ -0,0 +1,8 @@ +# git credential-cache + +> Git 凭证缓存助手,用于在内存中临时存储密码。 +> 更多信息:. + +- Git 凭证缓存助手,用于在内存中临时存储密码。 + +`git config credential.helper 'cache --timeout={{秒数}}'` diff --git a/pages.zh/common/git-credential-store.md b/pages.zh/common/git-credential-store.md new file mode 100644 index 00000000000000..a4e2ee21e42556 --- /dev/null +++ b/pages.zh/common/git-credential-store.md @@ -0,0 +1,8 @@ +# git credential-store + +> Git 凭证存储助手,用于将密码存储在磁盘上。 +> 更多信息:. + +- ​​指定凭证存储文件路径​​: + +`git config credential.helper 'store --file={{路径/到/文件}}'` diff --git a/pages.zh/common/git-credential.md b/pages.zh/common/git-credential.md new file mode 100644 index 00000000000000..91e7b858c061e9 --- /dev/null +++ b/pages.zh/common/git-credential.md @@ -0,0 +1,16 @@ +# git credential + +> 用于管理和存储 Git 用户凭证(如用户名和密码)。 +> 更多信息:. + +- ​​获取凭证信息​​(从配置文件中读取用户名和密码): + +`echo "{{url=http://example.com}}" | git credential fill` + +- 存储凭证信息​​(保存到配置的凭证助手中): + +`echo "{{url=http://example.com}}" | git credential approve` + +- 删除凭证信息​​(从所有配置的凭证助手中清除): + +`echo "{{url=http://example.com}}" | git credential reject` diff --git a/pages.zh/common/git-diff.md b/pages.zh/common/git-diff.md new file mode 100644 index 00000000000000..a64ee9b545a8b3 --- /dev/null +++ b/pages.zh/common/git-diff.md @@ -0,0 +1,36 @@ +# git diff + +> 显示已跟踪文件的内容变更。 +> 更多信息:. + +- 显示未暂存的更改: + +`git diff` + +- 显示所有未提交的更改(包括已暂存的): + +`git diff HEAD` + +- 仅显示已暂存(添加过但未提交)的更改: + +`git diff --staged` + +- 显示过去某段时间内所有提交的变更(日期表达式如“1 week 2 days”或 ISO 日期): + +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` + +- 显示差异统计信息(如文件变更列表、直方图及总行数增删): + +`git diff --stat {{提交}}` + +- 输出自某次提交以来的文件创建、重命名及权限变更的摘要: + +`git diff --summary {{提交}}` + +- 比较两个分支或提交之间的单个文件: + +`git diff {{分支1}}..{{分支2}} {{路径/到/文件}}` + +- 将当前分支的某文件与其他分支的对应文件进行对比: + +`git diff {{分支}}:{{路径/到/文件2}} {{路径/到/文件}}` diff --git a/pages.zh/common/git-help.md b/pages.zh/common/git-help.md new file mode 100644 index 00000000000000..5af94aec7069ce --- /dev/null +++ b/pages.zh/common/git-help.md @@ -0,0 +1,24 @@ +# git help + +> 显示 Git 的帮助信息。 +> 更多信息:. + +- 显示指定 Git 子命令的帮助信息: + +`git help {{subcommand}}` + +- 在网络浏览器中显示指定 Git 子命令的帮助信息: + +`git help {{[-w|--web]}} {{subcommand}}` + +- 列出所有可用的 Git 子命令: + +`git help {{[-a|--all]}}` + +- 列出可用的指南: + +`git help {{[-g|--guides]}}` + +- 列出所有配置变量的名称: + +`git help {{[-c|--config]}}` diff --git a/pages.zh/common/git-init.md b/pages.zh/common/git-init.md new file mode 100644 index 00000000000000..20adf91082a18f --- /dev/null +++ b/pages.zh/common/git-init.md @@ -0,0 +1,20 @@ +# git init + +> 初始化新的本地 Git 仓库。 +> 更多信息:. + +- 初始化新的本地仓库: + +`git init` + +- 初始化仓库,并指定初始分支的名字(通常默认为 `master` 或 `main`): + +`git init {{[-b|--initial-branch]}} {{分支名}}` + +- 初始化仓库,使用 SHA256 算法生成对象哈希(需 Git 2.29+ 版本支持): + +`git init --object-format sha256` + +- 创建裸仓库,适合用作 SSH 远程仓库: + +`git init --bare` diff --git a/pages.zh/common/git-log.md b/pages.zh/common/git-log.md new file mode 100644 index 00000000000000..32d09ea39c0eb3 --- /dev/null +++ b/pages.zh/common/git-log.md @@ -0,0 +1,36 @@ +# git log + +> 查看提交历史。 +> 更多信息:. + +- 按时间先后顺序列出当前仓库所有的提交,最近的更新排在最上面: + +`git log` + +- 查看指定文件或指定目录的历史,包括每次提交所引入的差异: + +`git log {{[-p|--patch]}} {{路径/到/文件或目录}}` + +- 显示每次提交的文件修改统计信息: + +`git log --stat` + +- 在日志旁以 ASCII 图形显示当前分支提交历史,并只展示提交消息的第一行: + +`git log --oneline --graph` + +- 在日志旁以 ASCII 图形显示整个仓库的所有提交、标签、分支: + +`git log --oneline --decorate --all --graph` + +- 查看提交消息中包含特定字符串(大小写敏感)的提交: + +`git log {{[-i|--regexp-ignore-case]}} --grep {{字符串}}` + +- 查看特定作者的最近 N 条提交: + +`git log {{[-n|--max-count]}} {{数字}} --author "{{作者}}"` + +- 查看两个日期之间的提交(yyyy-mm-dd): + +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages.zh/common/git-merge.md b/pages.zh/common/git-merge.md new file mode 100644 index 00000000000000..3e840a6d73418c --- /dev/null +++ b/pages.zh/common/git-merge.md @@ -0,0 +1,24 @@ +# git merge + +> 合并分支。 +> 更多信息:. + +- 将指定分支合并到当前分支: + +`git merge {{分支名}}` + +- 编辑合并说明信息: + +`git merge {{[-e|--edit]}} {{分支名}}` + +- 合并分支,创建合并提交: + +`git merge --no-ff {{分支名}}` + +- 遇到冲突时中止合并: + +`git merge --abort` + +- 采用特定的策略进行合并: + +`git merge {{[-s|--strategy]}} {{策略}} {{[-X|--strategy-option]}} {{策略选项}} {{分支名}}` diff --git a/pages.zh/common/git-pull.md b/pages.zh/common/git-pull.md new file mode 100644 index 00000000000000..2226daa8efc15a --- /dev/null +++ b/pages.zh/common/git-pull.md @@ -0,0 +1,16 @@ +# git pull + +> 从远程仓库获取分支,并将其合并到本地仓库。 +> 更多信息:. + +- 从默认的远程仓库拉取代码并执行合并: + +`git pull` + +- 从默认的远程仓库拉取代码并采用变基策略实现合并(将你的本地提交“移植”到远程获取的分支上): + +`git pull {{[-r|--rebase]}}` + +- 从给定的远程仓库和分支中拉取代码,并合并到本地对应分支: + +`git pull {{远程仓库名}} {{分支名}}` diff --git a/pages.zh/common/git-push.md b/pages.zh/common/git-push.md new file mode 100644 index 00000000000000..df5a9eb1c0ec34 --- /dev/null +++ b/pages.zh/common/git-push.md @@ -0,0 +1,36 @@ +# git push + +> 推送提交到远程仓库。 +> 更多信息:. + +- 将当前分支的本地更改推送到其默认的远程对应分支: + +`git push` + +- 将指定本地分支的更改推送到其远程对应分支: + +`git push {{远程仓库名}} {{本地分支名}}` + +- 将指定本地分支的更改推送到其远程对应分支,并将该远程分支设为该本地分支 push/pull 的默认目标分支: + +`git push {{[-u|--set-upstream]}} {{远程仓库名}} {{本地分支名}}` + +- 将指定本地分支的更改推送到指定的远程分支: + +`git push {{远程仓库名}} {{本地分支名}}:{{远程分支名}}` + +- 将所有本地分支的更改推送到指定远程仓库中各个对应分支: + +`git push --all {{远程仓库名}}` + +- 删除远程仓库中的分支: + +`git push {{远程仓库名}} {{[-d|--delete]}} {{远程分支名}}` + +- 删除没有本地对应分支的远程分支: + +`git push --prune {{远程仓库名}}` + +- 推送本地的新标签到远程仓库: + +`git push --tags` diff --git a/pages.zh/common/git-rebase.md b/pages.zh/common/git-rebase.md new file mode 100644 index 00000000000000..87a5de0070299f --- /dev/null +++ b/pages.zh/common/git-rebase.md @@ -0,0 +1,37 @@ +# git rebase + +> 将 commits 从一个分支合并到另一个分支上。 +> 常用于跨分支的 commits 合并,在被合并分支的最头部构建新的 `commit`,表示合并完成。 +> 更多信息:. + +- 在另一个分支的头节点合并当前分支: + +`git rebase {{目标分支}}` + +- 启动交互式的合并任务,允许对提交的内容进行重新排序、省略、合并或修改: + +`git rebase {{[-i|--interactive]}} {{目标分支或 commit 的 hash}}` + +- 处理完冲突文件后,继续执行合并任务: + +`git rebase --continue` + +- 跳过冲突文件,继续执行合并任务: + +`git rebase --skip` + +- 终止正在执行中的合并任务(例如:对于正处于解决冲突中的任务,将其打断,恢复到合并前的状态): + +`git rebase --abort` + +- 将分支的部分 commits 生成新的 `commit`,移动到新分支的头节点: + +`git rebase --onto {{目标分支}} {{当前分支}}` + +- 启动交互式的合并任务,对最近提交的 5 个 commits 进行重新排序、省略、合并或修改: + +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` + +- 以当前分支优先的策略,自动处理分支间的冲突,执行合并: + +`git rebase {{[-X|--strategy-option]}} theirs {{分支名称}}` diff --git a/pages.zh/common/git-remote.md b/pages.zh/common/git-remote.md new file mode 100644 index 00000000000000..e647515c01cd54 --- /dev/null +++ b/pages.zh/common/git-remote.md @@ -0,0 +1,32 @@ +# git remote + +> 管理跟踪的远程仓库(remotes)。 +> 更多信息:. + +- 列出已经存在的远程仓库,包括它们的名字和 URL: + +`git remote {{[-v|--verbose]}}` + +- 查看某个远程仓库的信息: + +`git remote show {{远程仓库名字}}` + +- 添加远程仓库: + +`git remote add {{远程仓库名字}} {{远程仓库 URL}}` + +- 更改远程仓库地址链接(使用 `--add` 选项不会移除现有的 URL): + +`git remote set-url {{远程仓库名字}} {{新 URL}}` + +- 查看远程仓库的 URL: + +`git remote get-url {{远程仓库名字}}` + +- 移除远程仓库: + +`git remote remove {{远程仓库名字}}` + +- 重命名远程仓库: + +`git remote rename {{旧名字}} {{新名字}}` diff --git a/pages.zh/common/git-rename-branch.md b/pages.zh/common/git-rename-branch.md new file mode 100644 index 00000000000000..36c9afdfed8f7e --- /dev/null +++ b/pages.zh/common/git-rename-branch.md @@ -0,0 +1,13 @@ +# git rename-branch + +> 重新命名一个 Git 分支。 +> 属于 `git-extras` 的一部分。 +> 更多信息:. + +- 重新命名你目前所在的分支: + +`git rename-branch {{新的分支名称}}` + +- 重新命名一个特定的分支: + +`git rename-branch {{旧的分支名称}} {{新的分支名称}}` diff --git a/pages.zh/common/git-status.md b/pages.zh/common/git-status.md new file mode 100644 index 00000000000000..79d917bff558f5 --- /dev/null +++ b/pages.zh/common/git-status.md @@ -0,0 +1,33 @@ +# git status + +> 展示 Git 仓库中文件的变更情况。 +> 列出与当前检出提交相比有修改、新增和删除的文件。 +> 更多信息:. + +- 显示修改过但尚未暂存(以备提交)的文件: + +`git status` + +- 以简短形式输出: + +`git status {{[-s|--short]}}` + +- 显示暂存区与工作目录的详细变更信息: + +`git status {{[-vv|--verbose --verbose]}}` + +- 显示当前分支及其跟踪(上游)分支信息: + +`git status {{[-b|--branch]}}` + +- 以简短形式输出,同时包含分支信息: + +`git status {{[-sb|--short --branch]}}` + +- 显示当前贮藏区(stash)中的条目数量: + +`git status --show-stash` + +- 不显示未跟踪的文件: + +`git status {{[-uno|--untracked-files=no]}}` diff --git a/pages.zh/common/git-switch.md b/pages.zh/common/git-switch.md new file mode 100644 index 00000000000000..287e2e0cf36466 --- /dev/null +++ b/pages.zh/common/git-switch.md @@ -0,0 +1,29 @@ +# git switch + +> 切换 Git 分支。要求 Git 版本在 2.23 以上。 +> 另请参阅 `git checkout`。 +> 更多信息:. + +- 切换到一个已有的分支: + +`git switch {{分支名字}}` + +- 创建并切换到一个新分支: + +`git switch {{[-c|--create]}} {{分支名字}}` + +- 创建并切换到基于某个提交的新分支: + +`git switch {{[-c|--create]}} {{分支名字}} {{指定提交}}` + +- 切换到之前的分支: + +`git switch -` + +- 切换到一个分支,并更新所有匹配的子模块: + +`git switch --recurse-submodules {{分支名字}}` + +- 切换到一个分支,并和当前分支以及暂未提交的修改进行三方合并: + +`git switch {{[-m|--merge]}} {{分支名字}}` diff --git a/pages.zh/common/git.md b/pages.zh/common/git.md new file mode 100644 index 00000000000000..5d7e6377b76623 --- /dev/null +++ b/pages.zh/common/git.md @@ -0,0 +1,29 @@ +# git + +> 分布式版本控制系统。 +> 类似如 `commit`、`add`、`branch`、`checkout`、`push` 等子命令都有自己的使用文档,可以通过 `tldr git {{子命令}}` 的形式查阅。 +> 更多信息:. + +- 执行 git 的子命令: + +`git {{子命令}}` + +- 在自定义的 git 仓库根路径下执行子命令: + +`git -C {{仓库地址}} {{子命令}}` + +- 在给定参数条件下,执行 git 的子命令: + +`git -c '{{配置项}}={{值}}' {{子命令}}` + +- 显示帮助文档: + +`git --help` + +- 显示 git 子命令的详细帮助文档(如 `clone`, `add`, `push`, `log` 等子命令): + +`git help {{子命令}}` + +- 检查 git 的版本号: + +`git --version` diff --git a/pages.zh/common/glances.md b/pages.zh/common/glances.md new file mode 100644 index 00000000000000..e223254b4f2c58 --- /dev/null +++ b/pages.zh/common/glances.md @@ -0,0 +1,32 @@ +# glances + +> 一个跨平台的系统监控工具。 +> 更多信息:. + +- 在终端中运行 + +`glances` + +- 以网页服务器模式运行,在浏览器中查看结果: + +`glances {{[-w|--webserver]}}` + +- 以服务器模式启动,允许其他 glances 客户端连接以查看数据: + +`glances {{[-s|--server]}}` + +- 作为客户端连接到 glances 服务器: + +`glances {{[-c|--client]}} {{主机名}}` + +- 在(网页)服务器模式下启用密码保护: + +`glances {{[-s|--server]}} --password` + +- 退出Glances: + +`` + +- 显示帮助信息: + +`glances {{[-h|--help]}}` diff --git a/pages.zh/common/glow.md b/pages.zh/common/glow.md new file mode 100644 index 00000000000000..29ff7c5e9af92d --- /dev/null +++ b/pages.zh/common/glow.md @@ -0,0 +1,24 @@ +# glow + +> 在终端渲染 Markdown. +> 更多信息:. + +- 运行 glow 并选择文件查看: + +`glow` + +- 渲染 Markdown 文件到终端: + +`glow {{路径/到/文件}}` + +- 使用分页器查看 Markdown 文件: + +`glow -p {{路径/到/文件}}` + +- 从 URL 查看文件: + +`glow {{https://example.com/file.md}}` + +- 查看 GitHub 或 GitLab 的 README: + +`glow {{github.com/owner/repository}}` diff --git a/pages.zh/common/gnmic-sub.md b/pages.zh/common/gnmic-sub.md new file mode 100644 index 00000000000000..65670d0d1f5628 --- /dev/null +++ b/pages.zh/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> 这是 `gnmic subscribe` 命令的一个别名。 + +- 原命令的文档在: + +`tldr gnmic subscribe` diff --git a/pages.zh/common/go-bug.md b/pages.zh/common/go-bug.md new file mode 100644 index 00000000000000..b164ad2595b066 --- /dev/null +++ b/pages.zh/common/go-bug.md @@ -0,0 +1,8 @@ +# go bug + +> 报告一个错误。 +> 更多信息:. + +- 打开一个网页并开始报告错误: + +`go bug` diff --git a/pages.zh/common/go-build.md b/pages.zh/common/go-build.md new file mode 100644 index 00000000000000..0713fa5c5eff6d --- /dev/null +++ b/pages.zh/common/go-build.md @@ -0,0 +1,20 @@ +# go build + +> 编译 Go 源代码。 +> 更多信息:. + +- 编译 ‘package main’ 文件(输出为不带扩展名的文件名): + +`go build {{路径/到/main.go}}` + +- 编译并指定输出文件名: + +`go build -o {{路径/到/二进制文件}} {{路径/到/源文件.go}}` + +- 编译一个包: + +`go build -o {{路径/到/二进制文件}} {{路径/到/包}}` + +- 编译 main 包为可执行文件,并开启数据竞态检测: + +`go build -race -o {{路径/到/可执行文件}} {{路径/到/main/包}}` diff --git a/pages.zh/common/go-clean.md b/pages.zh/common/go-clean.md new file mode 100644 index 00000000000000..783816a3f5d287 --- /dev/null +++ b/pages.zh/common/go-clean.md @@ -0,0 +1,20 @@ +# go clean + +> 移除目标文件和缓存文件。 +> 更多信息:. + +- 只打印移除命令,而不会真正移除任何东西: + +`go clean -n` + +- 删除编译缓存: + +`go clean -cache` + +- 删除所有测试结果缓存: + +`go clean -testcache` + +- 删除模块缓存: + +`go clean -modcache` diff --git a/pages.zh/common/go-doc.md b/pages.zh/common/go-doc.md new file mode 100644 index 00000000000000..09aa2bde0de0ce --- /dev/null +++ b/pages.zh/common/go-doc.md @@ -0,0 +1,24 @@ +# go doc + +> 显示包或符号的文档。 +> 更多信息:. + +- 显示当前包的文档: + +`go doc` + +- 显示包文档及导出符号: + +`go doc {{encoding/json}}` + +- 同时显示符号的文档: + +`go doc -all {{encoding/json}}` + +- 同时显示源代码: + +`go doc -all -src {{encoding/json}}` + +- 显示指定的符号: + +`go doc -all -src {{encoding/json.Number}}` diff --git a/pages.zh/common/go-env.md b/pages.zh/common/go-env.md new file mode 100644 index 00000000000000..85a477c9a10bb9 --- /dev/null +++ b/pages.zh/common/go-env.md @@ -0,0 +1,20 @@ +# go env + +> 管理 Go 工具链使用的环境变量。 +> 更多信息:. + +- 显示所有环境变量: + +`go env` + +- 显示指定的环境变量: + +`go env {{GOPATH}}` + +- 设置某个环境变量为指定值: + +`go env -w {{GOBIN}}={{路径/到/目录}}` + +- 重置某个环境变量的值: + +`go env -u {{GOBIN}}` diff --git a/pages.zh/common/go.md b/pages.zh/common/go.md new file mode 100644 index 00000000000000..26b123bab4835f --- /dev/null +++ b/pages.zh/common/go.md @@ -0,0 +1,33 @@ +# go + +> 管理 Go 源代码的工具。 +> 此命令也有关于其子命令的文件,例如:`build`. +> 更多信息:. + +- 下载并安装由其路径指定的包: + +`go get {{路径/到/包}}` + +- 编译并运行一个源文件(它必须包含一个 `main` 包): + +`go run {{文件}}.go` + +- 将源文件编译为当前命名的可执行文件: + +`go build -o {{可执行文件}} {{文件}}.go` + +- 编译当前目录中的包: + +`go build` + +- 执行当前包中的所有测试用例(文件必须以 `_test.go` 结尾): + +`go test` + +- 编译并安装当前包: + +`go install` + +- 在当前目录下初始化一个新模块: + +`go mod init {{模块}}` diff --git a/pages.zh/common/gofmt.md b/pages.zh/common/gofmt.md new file mode 100644 index 00000000000000..8ffd46ee1b6fa1 --- /dev/null +++ b/pages.zh/common/gofmt.md @@ -0,0 +1,20 @@ +# gofmt + +> 格式化 Go 源代码。 +> 更多信息:. + +- 格式化文件并在控制台输出结果: + +`gofmt {{源代码.go}}` + +- 格式化文件并覆盖原文件: + +`gofmt -w {{源代码.go}}` + +- 格式化文件和简化代码并覆盖原文件: + +`gofmt -s -w {{源代码.go}}` + +- 打印所有(包括虚假的)错误: + +`gofmt -e {{源代码.go}}` diff --git a/pages.zh/common/google-chrome.md b/pages.zh/common/google-chrome.md new file mode 100644 index 00000000000000..9cfe4b100f63dc --- /dev/null +++ b/pages.zh/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> 这是 `chromium` 命令的一个别名。 +> 更多信息:. + +- 原命令的文档在: + +`tldr chromium` diff --git a/pages.zh/common/gpg-zip.md b/pages.zh/common/gpg-zip.md new file mode 100644 index 00000000000000..6cfbd90839ccf7 --- /dev/null +++ b/pages.zh/common/gpg-zip.md @@ -0,0 +1,16 @@ +# gpg-zip + +> 使用`GPG`加密存档中的文件和目录。 +> 更多信息:. + +- 使用密码将一个目录加密为`archive.gpg`: + +`gpg-zip --symmetric --output {{archive.gpg}} {{path/to/directory}}` + +- 将`archive.gpg`解密到同名目录中: + +`gpg-zip --decrypt {{path/to/archive.gpg}}` + +- 列出加密的`archive.gpg`的内容: + +`gpg-zip --list-archive {{path/to/archive.gpg}}` diff --git a/pages.zh/common/gpg.md b/pages.zh/common/gpg.md new file mode 100644 index 00000000000000..f912240db8c67c --- /dev/null +++ b/pages.zh/common/gpg.md @@ -0,0 +1,36 @@ +# gpg + +> GNU Privacy Guard. +> 更多信息:. + +- 交互地创建 GPG 公钥和私钥: + +`gpg {{[--full-gen-key|--full-generate-key]}}` + +- 不加密,仅对 `doc.txt` 进行签名(生成 `doc.txt.asc`,格式为 ASCII 码形式): + +`gpg --clearsign {{doc.txt}}` + +- 为接收者 alice@example.com 和 bob@example.com 签名并加密 `doc.txt`(生成 `doc.txt.gpg`): + +`gpg {{[-es|--encrypt --sign]}} {{[-r|--recipient]}} {{alice@example.com}} {{[-r|--recipient]}} {{bob@example.com}} {{doc.txt}}` + +- 只用密码加密 `doc.txt`(生成 `doc.txt.gpg`): + +`gpg {{[-c|--symmetric]}} {{doc.txt}}` + +- 解密 `doc.txt.gpg`(输出到标准输出): + +`gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}` + +- 导入一个公钥: + +`gpg --import {{public.gpg}}` + +- 导出 alice@example.com 的公钥(输出到标准输出): + +`gpg --export {{[-a|--armor]}} {{alice@example.com}}` + +- 导出 alice@example.com 的私钥(输出到标准输出): + +`gpg --export-secret-keys {{[-a|--armor]}} {{alice@example.com}}` diff --git a/pages.zh/common/gpgv.md b/pages.zh/common/gpgv.md new file mode 100644 index 00000000000000..cacb40820773ae --- /dev/null +++ b/pages.zh/common/gpgv.md @@ -0,0 +1,16 @@ +# gpgv + +> 验证 OpenPGP 签名。 +> 更多信息:. + +- 验证签名文件: + +`gpgv {{path/to/file}}` + +- 使用分离式签名验证已签名的文件: + +`gpgv {{path/to/signature}} {{path/to/file}}` + +- 在 keyrings 列表中添加一个文件(一个导出的钥匙也算作一个 keyring): + +`gpgv --keyring {{path/to/keyring_file}} {{path/to/signature}} {{path/to/file}}` diff --git a/pages.zh/common/grep.md b/pages.zh/common/grep.md new file mode 100644 index 00000000000000..ee73b15e46059b --- /dev/null +++ b/pages.zh/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> 使用正则表达式查找文件中的模式。 +> 更多信息:. + +- 在文件中查找模式: + +`grep "{{模式字符串}}" {{路径/到/文件}}` + +- 在文件中精确地查找字符串(禁用正则表达式): + +`grep {{[-F|--fixed-strings]}} "{{字符串}}" {{路径/到/文件}}` + +- 在指定目录下的所有文件中递归地查找模式,显示匹配的行号并忽略二进制文件: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{模式字符串}}" {{路径/到/目录}}` + +- 使用大小写不敏感的扩展正则表达式(支持 `?`、`+`、`{}`、`()`, 和 `|`): + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{模式字符串}}" {{路径/到/文件}}` + +- 在每个匹配前后、之前或之后打印 3 行上下文: + +`grep {{--context|--before-context|--after-context}} 3 "{{模式字符串}}" {{路径/到/文件}}` + +- 以带有颜色的方式,打印每个匹配的文件名和行号: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{模式字符串}}" {{路径/到/文件}}` + +- 只打印文件中与模式匹配的行: + +`grep {{[-o|--only-matching]}} "{{模式字符串}}" {{路径/到/文件}}` + +- 从 `stdin`(标准输入)中查找与模式不匹配的行: + +`cat {{路径/到/文件}} | grep {{[-v|--invert-match]}} "{{模式字符串}}"` diff --git a/pages.zh/common/gunicorn.md b/pages.zh/common/gunicorn.md new file mode 100644 index 00000000000000..8580f5febc3c68 --- /dev/null +++ b/pages.zh/common/gunicorn.md @@ -0,0 +1,28 @@ +# gunicorn + +> Python 的 WSGI HTTP 服务器。 +> 更多信息:. + +- 运行 Python web 应用程序: + +`gunicorn {{导入路径:应用程序}}` + +- 在 localhost 上监听 8080 端口: + +`gunicorn --bind {{localhost}}:{{8080}} {{导入路径:应用程序}}` + +- 启用实时自动加载: + +`gunicorn --reload {{导入路径:应用程序}}` + +- 使用 4 个工作进程处理请求: + +`gunicorn --workers {{4}} {{导入路径:应用程序}}` + +- 使用 4 个工作线程处理请求: + +`gunicorn --threads {{4}} {{导入路径:应用程序}}` + +- 通过 HTTPS 运行应用程序: + +`gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{导入路径:应用程序}}` diff --git a/pages.zh/common/gvcolor.md b/pages.zh/common/gvcolor.md new file mode 100644 index 00000000000000..62f2d13db576a6 --- /dev/null +++ b/pages.zh/common/gvcolor.md @@ -0,0 +1,17 @@ +# gvcolor + +> 用一系列颜色为有序有向图着色。 +> Graphviz 过滤器: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`。 +> 更多信息:. + +- 为一个或多个已被 `dot` 处理的有序有向图着色: + +`gvcolor {{路径/到/布局1.gv}} {{路径/到/布局2.gv ...}} > {{路径/到/输出.gv}}` + +- 对一个图进行布局和着色,然后将其转换为 PNG 图像: + +`dot {{路径/到/输入.gv}} | gvcolor | dot -T {{png}} > {{路径/到/输出.png}}` + +- 显示 `gvcolor` 的帮助信息: + +`gvcolor -?` diff --git a/pages.zh/common/gvpack.md b/pages.zh/common/gvpack.md new file mode 100644 index 00000000000000..4d19a5782039b0 --- /dev/null +++ b/pages.zh/common/gvpack.md @@ -0,0 +1,25 @@ +# gvpack + +> 将多个具有布局信息的图形布局组合在一起。 +> Graphviz 过滤器: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred` 和 `unflatten`。 +> 更多信息:. + +- 将多个具有布局信息的图形布局组合在一起: + +`gvpack {{路径/到/布局1.gv}} {{路径/到/布局2.gv ...}} > {{路径/到/输出.gv}}` + +- 在图形层面上将多个图形布局组合在一起,保持图形分开: + +`gvpack -g {{路径/到/布局1.gv}} {{路径/到/布局2.gv ...}} > {{路径/到/输出.gv}}` + +- 在节点层面上将多个图形布局组合在一起,忽略簇: + +`gvpack -n {{路径/到/布局1.gv}} {{路径/到/布局2.gv ...}} > {{路径/到/输出.gv}}` + +- 将多个图形布局组合在一起而不进行打包: + +`gvpack -u {{路径/到/布局1.gv}} {{路径/到/布局2.gv ...}} > {{路径/到/输出.gv}}` + +- 显示 `gvpack` 的帮助信息: + +`gvpack -?` diff --git a/pages.zh/common/gzip.md b/pages.zh/common/gzip.md new file mode 100644 index 00000000000000..6f5dfa27dfc9ca --- /dev/null +++ b/pages.zh/common/gzip.md @@ -0,0 +1,32 @@ +# gzip + +> 使用 `gzip` (LZ77) 压缩/解压文件。 +> 更多信息:. + +- 压缩文件,将其替换为 `gzip` 存档文件: + +`gzip {{路径/到/文件}}` + +- 解压缩文件,将其替换为原始未压缩版本: + +`gzip {{[-d|--decompress]}} {{路径/到/文件.gz}}` + +- 压缩文件,保留原始文件: + +`gzip {{[-k|--keep]}} {{路径/到/文件}}` + +- 压缩文件,指定输出文件名: + +`gzip {{[-c|--stdout]}} {{路径/到/文件}} > {{路径/到/压缩文件.gz}}` + +- 解压缩 `gzip` 存档,指定输出文件名: + +`gzip {{[-c|--stdout]}} {{[-d|--decompress]}} {{路径/到/文件.gz}} > {{路径/到/解压缩的文件名}}` + +- 指定压缩级别。 1 为最快(低压缩率),9 为最慢(高压缩率),默认值是 6: + +`gzip -{{1..9}} {{[-c|--stdout]}} {{路径/到/文件}} > {{路径/到/压缩文件.gz}}` + +- 显示压缩或解压后的每个文件的名称和压缩百分比: + +`gzip {{[-v|--verbose]}} {{[-d|--decompress]}} {{路径/到/文件.gz}}` diff --git a/pages.zh/common/hashcat.md b/pages.zh/common/hashcat.md new file mode 100644 index 00000000000000..7592153c3ad631 --- /dev/null +++ b/pages.zh/common/hashcat.md @@ -0,0 +1,36 @@ +# hashcat + +> 快速且先进的密码恢复工具。 +> 更多信息:. + +- 使用默认的 hashcat 掩码执行暴力破解攻击(模式 3): + +`hashcat --hash-type {{哈希类型id}} --attack-mode {{3}} {{哈希值}}` + +- 使用已知的 4 位数字模式执行暴力破解攻击(模式 3): + +`hashcat --hash-type {{哈希类型id}} --attack-mode {{3}} {{哈希值}} "{{?d?d?d?d}}"` + +- 使用最多 8 个可打印的 ASCII 字符执行暴力破解攻击(模式 3): + +`hashcat --hash-type {{哈希类型id}} --attack-mode {{3}} --increment {{哈希值}} "{{?a?a?a?a?a?a?a?a}}"` + +- 使用 Kali Linux 系统中的 RockYou 字典执行字典攻击(模式 0): + +`hashcat --hash-type {{哈希类型id}} --attack-mode {{0}} {{哈希值}} {{/usr/share/wordlists/rockyou.txt}}` + +- 使用经过常见密码变体规则变换的 RockYou 字典,执行字典攻击(模式 0): + +`hashcat --hash-type {{哈希类型id}} --attack-mode {{0}} --rules-file {{/usr/share/hashcat/rules/best64.rule}} {{哈希值}} {{/usr/share/wordlists/rockyou.txt}}` + +- 连接两个不同自定义字典的单词并执行组合攻击(模式 1): + +`hashcat --hash-type {{哈希类型id}} --attack-mode {{1}} {{哈希值}} {{/路径/到/字典.txt}} {{/路径/到/字典.txt}}` + +- 显示已经破解的哈希值的结果: + +`hashcat --show {{哈希值}}` + +- 显示所有示例哈希值: + +`hashcat --example-hashes` diff --git a/pages.zh/common/helix.md b/pages.zh/common/helix.md new file mode 100644 index 00000000000000..f6b2be3561b071 --- /dev/null +++ b/pages.zh/common/helix.md @@ -0,0 +1,37 @@ +# helix + +> Helix,一个后现代的文本编辑器,为不同类型的文本操作提供了几种模式。 +> 按 `` 进入插入模式。按 `` 进入正常模式,并且可以使用 Helix 命令。 +> 更多信息:. + +- 打开文件: + +`helix {{路径/到/文件}}` + +- 并排打开多个文件: + +`helix --vsplit {{路径/到/文件1 路径/到/文件2}}` + +- 显示 Helix 教程(也可以在 Helix 中按 `` 后输入 `<:>tutor` 访问): + +`helix --tutor` + +- 更改 Helix 主题: + +`<:>theme {{主题名称}}` + +- 保存并退出: + +`<:>wq` + +- 强制退出并不保存: + +`<:>q!` + +- 撤销上次操作: + +`` + +- 搜索文件中的关键字(按 ``/`` 前往下一个/上一个匹配): + +`{{搜索模式}}` diff --git a/pages.zh/common/heroku.md b/pages.zh/common/heroku.md index 41834c2fbf96c5..557050a16d258c 100644 --- a/pages.zh/common/heroku.md +++ b/pages.zh/common/heroku.md @@ -1,28 +1,28 @@ # heroku -> 从命令行创建和管理 Heroku 应用. -> 更多信息: . +> 从命令行创建和管理 Heroku 应用。 +> 更多信息:. -- 登录到你的 heroku 帐户: +- 登录到你的 heroku 帐户: `heroku login` -- 创建一个 heroku 应用: +- 创建一个 heroku 应用: `heroku create` -- 显示应用的日志: +- 显示应用的日志: `heroku logs --app {{app_name}}` -- 在 dyno(Heroku 虚拟机)中运行一次性进程: +- 在 dyno(Heroku 虚拟机)中运行一次性进程: `heroku run {{process_name}} --app {{app_name}}` -- 列出应用的 dyno(Heroku 虚拟机): +- 列出应用的 dyno(Heroku 虚拟机): `heroku ps --app {{app_name}}` -- 永久销毁应用: +- 永久销毁应用: `heroku destroy --app {{app_name}}` diff --git a/pages.zh/common/hexo.md b/pages.zh/common/hexo.md index 59b5ffa5e6084c..1951794f556b48 100644 --- a/pages.zh/common/hexo.md +++ b/pages.zh/common/hexo.md @@ -1,28 +1,28 @@ # hexo -> 快速、简洁且高效的博客框架. -> 更多信息: . +> 快速、简洁且高效的博客框架。 +> 更多信息:. -- 初始化一个网站: +- 初始化一个网站: `hexo init {{path/to/directory}}` -- 创建一篇新文章: +- 创建一篇新文章: `hexo new {{layout}} {{title}}` -- 构建静态文件: +- 构建静态文件: `hexo generate` -- 启动本地服务器: +- 启动本地服务器: `hexo server` -- 部署网站: +- 部署网站: `hexo deploy` -- 清理缓存文件 (`db.json`) 和生成的文件 (`public/`): +- 清理缓存文件(`db.json`)和生成的文件(`public/`): `hexo clean` diff --git a/pages.zh/common/hostname.md b/pages.zh/common/hostname.md new file mode 100644 index 00000000000000..94a61c25fa5892 --- /dev/null +++ b/pages.zh/common/hostname.md @@ -0,0 +1,20 @@ +# hostname + +> 显示或设置系统的主机名。 +> 更多信息:. + +- 显示本机的主机名: + +`hostname` + +- 显示主机名的网络地址: + +`hostname {{[-i|--ip-addresses]}}` + +- 显示 FQDN(完全限定域名): + +`hostname {{[-f|--fqdn]}}` + +- 设置本机主机名: + +`hostname {{新主机名}}` diff --git a/pages.zh/common/htop.md b/pages.zh/common/htop.md new file mode 100644 index 00000000000000..54305e3e66ba9d --- /dev/null +++ b/pages.zh/common/htop.md @@ -0,0 +1,36 @@ +# htop + +> 显示正在运行的进程的动态实时信息。`top` 的增强版。 +> 更多信息:. + +- 启动 `htop`: + +`htop` + +- 启动 `htop`, 显示指定用户拥有的进程: + +`htop {{[-u|--user]}} {{用户名}}` + +- 以树形视图显示进程的层级关系,展示父子进程之间的关系: + +`htop {{[-t|--tree]}}` + +- 使用指定的 `sort_item` 对进程排序(使用 `htop --sort help` 获取可用选项): + +`htop {{[-s|--sort]}} {{sort_item}}` + +- 以指定的更新间隔启动 `htop`, 以十分之一秒为单位(即 50 = 5 秒): + +`htop {{[-d|--delay]}} {{50}}` + +- 运行 `htop` 时查看交互式命令: + +`` + +- 切换到不同的标签: + +`` + +- 显示帮助: + +`htop {{[-h|--help]}}` diff --git a/pages.zh/common/hx.md b/pages.zh/common/hx.md new file mode 100644 index 00000000000000..21c25781ab44b6 --- /dev/null +++ b/pages.zh/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> 这是 `helix` 命令的一个别名。 + +- 原命令的文档在: + +`tldr helix` diff --git a/pages.zh/common/i3.md b/pages.zh/common/i3.md new file mode 100644 index 00000000000000..80b52ceefbe9bb --- /dev/null +++ b/pages.zh/common/i3.md @@ -0,0 +1,32 @@ +# i3 + +> 一款动态平铺窗口管理器。 +> 更多信息:. + +- 启动 i3(注意在此命令运行前,务必关闭其它先前存在的窗口管理器): + +`i3` + +- 打开新终端窗口: + +`` + +- 创建新工作区: + +`` + +- 切换到 `数字` 号工作区: + +`` + +- 水平布局打开新窗口: + +`` + +- 垂直布局打开新窗口: + +`` + +- 打开应用(在执行命令后输入应用名称): + +`` diff --git a/pages.zh/common/ifconfig.md b/pages.zh/common/ifconfig.md new file mode 100644 index 00000000000000..f9e546f2ead017 --- /dev/null +++ b/pages.zh/common/ifconfig.md @@ -0,0 +1,24 @@ +# ifconfig + +> 网络接口配置工具。 +> 更多信息:. + +- 查看某个网络接口的网络设置: + +`ifconfig {{接口名称}}` + +- 显示所有接口的详细信息,包括已禁用的接口: + +`ifconfig -a` + +- 禁用一个接口: + +`ifconfig {{接口名称}} down` + +- 启用一个接口: + +`ifconfig {{接口名称}} up` + +- 为一个接口分配 IP 地址: + +`ifconfig {{接口名称}} {{IP地址}}` diff --git a/pages.zh/common/imgcat.md b/pages.zh/common/imgcat.md new file mode 100644 index 00000000000000..afb2641fb20cd6 --- /dev/null +++ b/pages.zh/common/imgcat.md @@ -0,0 +1,9 @@ +# imgcat + +> 直接在命令行上显示图像的实用程序。 +> 需要兼容的终端软件,如 iTerm2. +> 更多信息:. + +- 在命令行上显示图像: + +`imgcat {{文件名}}` diff --git a/pages.zh/common/install.md b/pages.zh/common/install.md new file mode 100644 index 00000000000000..6aa28a1888065e --- /dev/null +++ b/pages.zh/common/install.md @@ -0,0 +1,29 @@ +# install + +> 复制文件并设置属性。 +> 将文件(通常是可执行文件)复制到系统位置,如 `/usr/local/bin`,并赋予它们适当的权限或所有权。 +> 更多信息:. + +- 复制文件到目标目录: + +`install {{路径/到/源文件1 路径/到/源文件2 ...}} {{路径/到/目标目录}}` + +- 复制文件到目标目录,并设置其所有权: + +`install --owner {{用户}} {{路径/到/源文件1 路径/到/源文件2 ...}} {{路径/到/目标目录}}` + +- 复制文件到目标目录,并设置其所属组: + +`install --group {{用户组}} {{路径/到/源文件1 路径/到/源文件2 ...}} {{路径/到/目标目录}}` + +- 复制文件到目标目录,并设置其权限: + +`install --mode {{+x}} {{路径/到/源文件1 路径/到/源文件2 ...}} {{路径/到/目标目录}}` + +- 复制文件到目标目录,保留访问时间和修改时间: + +`install --preserve-timestamps {{路径/到/源文件1 路径/到/源文件2 ...}} {{路径/到/目标目录}}` + +- 创建目标目录及其父目录,然后复制文件到目标目录: + +`install -D {{路径/到/源文件1 路径/到/源文件2 ...}} {{路径/到/目标目录}}` diff --git a/pages.zh/common/jadx.md b/pages.zh/common/jadx.md new file mode 100644 index 00000000000000..a5e5d3dca692e4 --- /dev/null +++ b/pages.zh/common/jadx.md @@ -0,0 +1,13 @@ +# jadx + +> Dex 到 Java 的反编译器。 +> 将 Android Dex 和 APK 文件生成 Java 源代码。 +> 更多信息:. + +- 将一个 Dex 文件反编译到一个目录中: + +`jadx {{路径/到/文件}}` + +- 将一个 Dex 文件反编译到一个特定目录中: + +`jadx --output-dir {{路径/到/目录}} {{路径/到/文件}}` diff --git a/pages.zh/common/jar.md b/pages.zh/common/jar.md new file mode 100644 index 00000000000000..e43891dcb5862f --- /dev/null +++ b/pages.zh/common/jar.md @@ -0,0 +1,20 @@ +# jar + +> Java 应用程序 / 类库打包程序。 +> 更多信息:. + +- 将当前目录中的所有文件递归归档到 `.jar` 文件中: + +`jar cf {{file.jar}} *` + +- 将 `.jar` / `.war` 文件解压缩到当前目录: + +`jar -xvf {{file.jar}}` + +- 列出 `.jar` / `.war` 文件内容: + +`jar tf {{path/to/file.jar}}` + +- 列出带有详细输出的 `.jar` / `.war` 文件内容: + +`jar tvf {{path/to/file.jar}}` diff --git a/pages.zh/common/jarsigner.md b/pages.zh/common/jarsigner.md new file mode 100644 index 00000000000000..603b3e7133fe0b --- /dev/null +++ b/pages.zh/common/jarsigner.md @@ -0,0 +1,16 @@ +# jarsigner + +> 签名并验证 Java 存档(JAR)文件。 +> 更多信息:. + +- 签名一个 `JAR` 文件: + +`jarsigner {{path/to/file.jar}} {{keystore_alias}}` + +- 使用特定算法对 `JAR` 文件进行签名: + +`jarsigner -sigalg {{algorithm}} {{path/to/file.jar}} {{keystore_alias}}` + +- 验证 `JAR` 文件的签名: + +`jarsigner -verify {{path/to/file.jar}}` diff --git a/pages.zh/common/java.md b/pages.zh/common/java.md index c0291c1042e677..6cd6417412b23e 100644 --- a/pages.zh/common/java.md +++ b/pages.zh/common/java.md @@ -1,24 +1,28 @@ # java -> Java 程序启动器. -> 更多信息: . +> Java 程序启动器。 +> 更多信息:. -- 通过提供类名称运行一个含有 main 函数的 java .class 程序: +- 通过提供类名称运行一个含有 main 函数的 java `.class` 程序: `java {{类名称}}` -- 运行一个 .jar 程序: +- 运行 Java 程序,并使用附加的第三方或用户定义类: + +`java -classpath {{路径/到/类1}}:{{路径/到/类2}}:. {{类名称}}` + +- 运行一个 `.jar` 程序: `java -jar {{文件名.jar}}` -- 运行一个 .jar 程序并且在端口5005等待调试器: +- 运行一个 `.jar` 程序并且在端口 5005 等待调试器: `java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{文件名.jar}}` -- 显示 JDK, JRE 和 HotSpot 的版本: +- 显示 JDK、JRE 和 HotSpot 的版本: `java -version` -- 显示详细的帮助: +- 显示帮助: `java -help` diff --git a/pages.zh/common/javac.md b/pages.zh/common/javac.md index 67bf8db9efb425..0f343a2c04f1d3 100644 --- a/pages.zh/common/javac.md +++ b/pages.zh/common/javac.md @@ -1,19 +1,20 @@ # javac -> Java 程序编译器. +> Java 程序编译器。 +> 更多信息:. -- 编译一个 .java 文件: +- 编译一个 `.java` 文件: `javac {{文件名.java}}` -- 编译多个 .java 文件: +- 编译多个 `.java` 文件: -`javac {{文件名1.java}} {{文件名2.java}} {{文件名3.java}}` +`javac {{文件名1.java 文件名2.java 文件名3.java ...}}` -- 编译当前目录内所有 .java 文件: +- 编译当前目录内所有 `.java` 文件: `javac {{*.java}}` -- 编译一个 .java 文件并将生成的 class 字节码文件放入一个指定目录: +- 编译一个 `.java` 文件并将生成的 class 字节码文件放入一个指定目录: -`javac -d {{输出目录}} {{文件名.java}}` +`javac -d {{路径/到/目录}} {{文件名.java}}` diff --git a/pages.zh/common/javadoc.md b/pages.zh/common/javadoc.md new file mode 100644 index 00000000000000..6b4b648e909b16 --- /dev/null +++ b/pages.zh/common/javadoc.md @@ -0,0 +1,16 @@ +# javadoc + +> 从源代码以 HTML 格式生成 Java API 文档。 +> 更多信息:. + +- 生成 Java 源代码的文档并将结果保存在文件夹中: + +`javadoc -d {{path/to/directory/}} {{path/to/java_source_code}}` + +- 生成指定编码的文档: + +`javadoc -docencoding {{UTF-8}} {{path/to/java_source_code}}` + +- 生成文档时,排除掉某些软件包: + +`javadoc -exclude {{package_list}} {{path/to/java_source_code}}` diff --git a/pages.zh/common/javap.md b/pages.zh/common/javap.md new file mode 100644 index 00000000000000..dcd577c7820d2c --- /dev/null +++ b/pages.zh/common/javap.md @@ -0,0 +1,20 @@ +# javap + +> 反汇编类文件并列出它们。 +> 更多信息:. + +- 反汇编并列出一个或多个 `.class` 文件: + +`javap {{路径/到/file1.class 路径/到/file2.class ...}}` + +- 反汇编并列出一个内置类文件: + +`javap java.{{包}}.{{类}}` + +- 显示帮助信息: + +`javap -help` + +- 显示版本信息: + +`javap -version` diff --git a/pages.zh/common/jbang.md b/pages.zh/common/jbang.md new file mode 100644 index 00000000000000..a0ddef3b6d8cdc --- /dev/null +++ b/pages.zh/common/jbang.md @@ -0,0 +1,37 @@ +# jbang + +> 简便地创建、编辑和运行仅包含源代码的自包含 Java 程序。 +> 此命令也有关于其子命令的文件,例如:`java`. +> 更多信息:. + +- 初始化一个简单的 Java 类: + +`jbang init {{路径/到/文件.java}}` + +- 初始化一个 Java 类(用于脚本编写): + +`jbang init --template={{cli}} {{路径/到/文件.java}}` + +- 使用 `jshell` 在 REPL 编辑器中探索和使用脚本及其任何依赖项: + +`jbang run --interactive` + +- 设置一个临时项目以在 IDE 中编辑脚本: + +`jbang edit --open={{codium|code|eclipse|idea|netbeans|gitpod}} {{路径/到/脚本.java}}` + +- 运行 Java 代码片段(Java 9 及以后版本): + +`{{echo 'Files.list(Paths.get("/etc")).forEach(System.out::println);'}} | jbang -` + +- 运行命令行应用程序: + +`jbang {{路径/到/文件.java}} {{命令}} {{参数1 参数2 ...}}` + +- 在用户的 `$PATH` 中安装一个脚本: + +`jbang app install --name {{命令名称}} {{路径/到/脚本.java}}` + +- 安装一个特定版本的 JDK 以与 `jbang` 一起使用: + +`jbang jdk install {{版本}}` diff --git a/pages.zh/common/jc.md b/pages.zh/common/jc.md new file mode 100644 index 00000000000000..9189998ac0f61b --- /dev/null +++ b/pages.zh/common/jc.md @@ -0,0 +1,20 @@ +# jc + +> 将多个命令的输出转换为 JSON。 +> 更多信息:. + +- 通过管道将命令输出转换为 JSON: + +`{{ifconfig}} | jc {{--ifconfig}}` + +- 通过魔术语法将命令输出转换为 JSON: + +`jc {{ifconfig}}` + +- 通过管道输出格式化的 JSON: + +`{{ifconfig}} | jc {{--ifconfig}} -p` + +- 通过魔术语法输出格式化的 JSON: + +`jc -p {{ifconfig}}` diff --git a/pages.zh/common/jcal.md b/pages.zh/common/jcal.md new file mode 100644 index 00000000000000..c83cce75187d7c --- /dev/null +++ b/pages.zh/common/jcal.md @@ -0,0 +1,20 @@ +# jcal + +> 以贾拉里历格式显示日历信息,并突出显示当前日期。 +> 更多信息:. + +- 显示当前月份的日历: + +`jcal` + +- 显示上个月、当前月份和下个月的日历: + +`jcal -3` + +- 显示特定年份(4 位数字) 的日历: + +`jcal {{年份}}` + +- 显示特定年份和月份的日历: + +`jcal {{年份}} {{月份}}` diff --git a/pages.zh/common/jdeps.md b/pages.zh/common/jdeps.md new file mode 100644 index 00000000000000..656c1a1546d446 --- /dev/null +++ b/pages.zh/common/jdeps.md @@ -0,0 +1,24 @@ +# jdeps + +> Java 类依赖分析器。 +> 更多信息:. + +- 分析 `.jar` 或 `.class` 文件的依赖关系: + +`jdeps {{路径/到/文件名.class}}` + +- 打印特定 `.jar` 文件的所有依赖关系摘要: + +`jdeps {{路径/到/文件名.jar}} -summary` + +- 打印 `.jar` 文件的所有类级依赖关系: + +`jdeps {{路径/到/文件名.jar}} -verbose` + +- 将分析结果输出为 DOT 文件到指定目录: + +`jdeps {{路径/到/文件名.jar}} -dotoutput {{路径/到/目录}}` + +- 显示帮助信息: + +`jdeps --help` diff --git a/pages.zh/common/jdupes.md b/pages.zh/common/jdupes.md new file mode 100644 index 00000000000000..22bc5be8f25d15 --- /dev/null +++ b/pages.zh/common/jdupes.md @@ -0,0 +1,28 @@ +# jdupes + +> 一个强大的重复文件查找器,并且是 fdupes 的一个增强分支。 +> 更多信息:. + +- 搜索单个目录: + +`jdupes {{路径/到/目录}}` + +- 搜索多个目录: + +`jdupes {{目录1}} {{目录2}}` + +- 递归地搜索所有目录: + +`jdupes --recurse {{路径/到/目录}}` + +- 递归地搜索目录,并让用户选择要保留的文件: + +`jdupes --delete --recurse {{路径/到/目录}}` + +- 搜索多个目录并跟随目录2下的子目录,而不是目录1: + +`jdupes {{目录1}} --recurse: {{目录2}}` + +- 搜索多个目录并在结果中保持目录顺序: + +`jdupes -O {{目录1}} {{目录2}} {{目录3}}` diff --git a/pages.zh/common/jekyll.md b/pages.zh/common/jekyll.md new file mode 100644 index 00000000000000..f5e28e0031d311 --- /dev/null +++ b/pages.zh/common/jekyll.md @@ -0,0 +1,24 @@ +# jekyll + +> 一个简单的、支持博客的静态网站生成器。 +> 更多信息:. + +- 生成一个将在 http://localhost:4000/ 上运行的开发服务器: + +`jekyll serve` + +- 启用增量再生成: + +`jekyll serve --incremental` + +- 启用详细输出: + +`jekyll serve --verbose` + +- 将当前目录生成到 `./_site` 中: + +`jekyll build` + +- 清理网站(移除网站输出和 `cache` 目录)而不进行构建: + +`jekyll clean` diff --git a/pages.zh/common/jello.md b/pages.zh/common/jello.md new file mode 100644 index 00000000000000..3a069f0d02d8ff --- /dev/null +++ b/pages.zh/common/jello.md @@ -0,0 +1,32 @@ +# jello + +> 一个使用 Python 语法的命令行 JSON 处理器。 +> 更多信息:. + +- 将 `stdin` 中的 JSON 或 JSON-Lines 数据进行美化打印到 `stdout`: + +`cat {{文件.json}} | jello` + +- 输出 `stdin` 中的 JSON 或 JSON Lines 数据的模式到 `stdout`(对 grep 有用): + +`cat {{文件.json}} | jello -s` + +- 输出 `stdin` 中数组的所有元素(或对象的所有值)为 JSON 或 JSON-Lines 数据到 `stdout`: + +`cat {{文件.json}} | jello -l` + +- 输出 `stdin` 中的 JSON 或 JSON-Lines 数据的第一个元素到 `stdout`: + +`cat {{文件.json}} | jello _[0]` + +- 输出 `stdin` 中 JSON 或 JSON-Lines 数据中每个元素的给定键的值到 `stdout`: + +`cat {{文件.json}} | jello '[i.{{键名}} for i in _]'` + +- 输出多个键的值作为新的 JSON 对象(假设输入 JSON 拥有键 `key_name1` 和 `key_name2`): + +`cat {{文件.json}} | jello '{"{{键1}}": _.{{键名1}}, "{{键名}}": _.{{键名2}}}'` + +- 输出给定键的值为字符串(并禁用 JSON 输出): + +`cat {{文件.json}} | jello -r '"{{一些文本}}: " + _.{{键名}}'` diff --git a/pages.zh/common/jenv.md b/pages.zh/common/jenv.md new file mode 100644 index 00000000000000..5c667d9ce2c991 --- /dev/null +++ b/pages.zh/common/jenv.md @@ -0,0 +1,28 @@ +# jenv + +> 管理”JAVA_HOME“环境变量的命令行工具。 +> 更多信息:. + +- 向 jEnv 添加一个 Java 版本: + +`jenv add {{Java Home 路径}}` + +- 显示当前使用的 JDK 版本: + +`jenv version` + +- 显示所有托管的 JDK: + +`jenv versions` + +- 设置全局JDK版本: + +`jenv global {{Java 版本}}` + +- 设置当前 shell 会话的 JDK 版本: + +`jenv shell {{Java 版本}}` + +- 启用 jEnv 插件: + +`jenv enable-plugin {{插件名称}}` diff --git a/pages.zh/common/jest.md b/pages.zh/common/jest.md new file mode 100644 index 00000000000000..6c7a882740618b --- /dev/null +++ b/pages.zh/common/jest.md @@ -0,0 +1,36 @@ +# jest + +> 一个零配置的 JavaScript 测试平台。 +> 更多信息:. + +- 运行所有可用的测试: + +`jest` + +- 从指定文件中运行测试套件: + +`jest {{路径/到/文件1 路径/到/文件2 ...}}` + +- 从当前目录和子目录中路径匹配给定正则表达式的文件运行测试套件: + +`jest {{正则表达式1}} {{正则表达式2}}` + +- 运行名称匹配给定正则表达式的测试: + +`jest --testNamePattern {{正则表达式}}` + +- 运行与给定源文件相关的测试套件: + +`jest --findRelatedTests {{路径/到/源文件.js}}` + +- 运行与所有未提交文件相关的测试套件: + +`jest --onlyChanged` + +- 监视文件更改并自动重新运行相关测试: + +`jest --watch` + +- 显示帮助信息: + +`jest --help` diff --git a/pages.zh/common/jetifier.md b/pages.zh/common/jetifier.md new file mode 100644 index 00000000000000..7862fda9b84604 --- /dev/null +++ b/pages.zh/common/jetifier.md @@ -0,0 +1,12 @@ +# jetifier + +> 一个以 npm 格式提供的 Jetifier AndroidX 迁移工具,适用于 react-native。 +> 更多信息:. + +- 将项目依赖迁移到 AndroidX 格式: + +`jetifier` + +- 将项目依赖从 AndroidX 格式迁移回来: + +`jetifier reverse` diff --git a/pages.zh/common/jf.md b/pages.zh/common/jf.md new file mode 100644 index 00000000000000..0450c7cbd6cefc --- /dev/null +++ b/pages.zh/common/jf.md @@ -0,0 +1,16 @@ +# jf + +> 与 JFrog 产品进行交互,比如 Artifactory、Xray、Distribution、Pipelines 和 Mission Control。 +> 更多信息:. + +- 添加一个新配置: + +`jf config add` + +- 显示当前配置: + +`jf config show` + +- 在给定的仓库和目录中搜索制品: + +`jf rt search --recursive {{仓库名称}}/{{路径}}/` diff --git a/pages.zh/common/jfrog.md b/pages.zh/common/jfrog.md new file mode 100644 index 00000000000000..80365549c730ec --- /dev/null +++ b/pages.zh/common/jfrog.md @@ -0,0 +1,7 @@ +# jfrog + +> 这是 `jf` 命令的一个别名。 + +- 查看原始命令的文档: + +`tldr jf` diff --git a/pages.zh/common/jhat.md b/pages.zh/common/jhat.md new file mode 100644 index 00000000000000..53951a4aa68134 --- /dev/null +++ b/pages.zh/common/jhat.md @@ -0,0 +1,16 @@ +# jhat + +> Java 堆分析工具。 +> 更多信息:. + +- 分析堆转储文件(来自 jmap),通过 HTTP 端口 7000 进行查看: + +`jhat {{路径/堆转储文件}}` + +- 分析堆转储文件,为 HTTP 服务指定备用端口: + +`jhat -p {{端口}} {{路径/堆转储文件}}` + +- 通过 jhat 分析转储文件,指定使用 8GB RAM(建议使用 2-4 倍的转储大小): + +`jhat -J-mx8G {{路径/堆转储文件}}` diff --git a/pages.zh/common/jhipster.md b/pages.zh/common/jhipster.md new file mode 100644 index 00000000000000..5b703537ff6c75 --- /dev/null +++ b/pages.zh/common/jhipster.md @@ -0,0 +1,36 @@ +# jhipster + +> 使用单体或微服务架构的 Web 应用程序生成器。 +> 更多信息:. + +- 生成一个简单的全栈项目(单体或微服务): + +`jhipster` + +- 生成一个简单的前端项目: + +`jhipster --skip-server` + +- 生成一个简单的后端项目: + +`jhipster --skip-client` + +- 将最新的 JHipster 更新应用到项目中: + +`jhipster upgrade` + +- 向已生成的项目添加一个新实体: + +`jhipster entity {{实体名称}}` + +- 导入一个 JDL 文件来配置您的应用程序(请参阅:): + +`jhipster import-jdl {{文件1.jh 文件2.jh ... n文件.jh}}` + +- 为您的应用程序生成一个 CI/CD 管道: + +`jhipster ci-cd` + +- 为您的应用程序生成 Kubernetes 配置: + +`jhipster kubernetes` diff --git a/pages.zh/common/jhsdb.md b/pages.zh/common/jhsdb.md new file mode 100644 index 00000000000000..ba0c50f37e2be3 --- /dev/null +++ b/pages.zh/common/jhsdb.md @@ -0,0 +1,20 @@ +# jhsdb + +> 附加到一个 Java 进程或启动一个事后调试器来分析崩溃的 Java 虚拟机的核心转储。 +> 更多信息:. + +- 打印 Java 进程的堆栈和锁信息: + +`jhsdb jstack --pid {{进程id}}` + +- 在交互式调试模式下打开一个核心转储: + +`jhsdb clhsdb --core {{路径/到/core_dump}} --exe {{路径/到/jdk/bin/java}}` + +- 启动远程调试服务器: + +`jhsdb debugd --pid {{进程id}} --serverid {{可选的唯一标识}}` + +- 在交互式调试模式下连接到一个进程: + +`jhsdb clhsdb --pid {{进程id}}` diff --git a/pages.zh/common/jigsaw.md b/pages.zh/common/jigsaw.md new file mode 100644 index 00000000000000..0e8cc608d6df3c --- /dev/null +++ b/pages.zh/common/jigsaw.md @@ -0,0 +1,28 @@ +# jigsaw + +> 基于 Laravel 的 PHP 静态网站生成器。 +> 更多信息:. + +- 初始化一个项目: + +`jigsaw init` + +- 使用一个初始模板初始化项目: + +`jigsaw init {{模板_名称}}` + +- 为开发环境构建网站: + +`jigsaw build` + +- 从 "build_local" 目录预览网站: + +`jigsaw serve` + +- 为生产环境构建网站: + +`jigsaw build production` + +- 从 "build_production" 目录预览网站: + +`jigsaw serve {{build_production}}` diff --git a/pages.zh/common/jmap.md b/pages.zh/common/jmap.md new file mode 100644 index 00000000000000..81828ad5135bad --- /dev/null +++ b/pages.zh/common/jmap.md @@ -0,0 +1,24 @@ +# jmap + +> Java 内存映射工具。 +> 更多信息:. + +- 打印 Java 进程的共享对象映射(类似 pmap 的输出): + +`jmap {{Java 进程号}}` + +- 打印堆摘要信息: + +`jmap -heap {{文件名.jar}} {{Java 进程号}}` + +- 按类型打印堆使用的直方图: + +`jmap -histo {{Java 进程号}}` + +- 将堆的内容转储到二进制文件中以使用 jhat 进行分析: + +`jmap -dump:format=b,file={{路径/到/文件}} {{Java 进程号}}` + +- 将堆中存活的对象转储到二进制文件中以使用 jhat 进行分析: + +`jmap -dump:live,format=b,file={{路径/到/文件}} {{Java 进程号}}` diff --git a/pages.zh/common/jmeter.md b/pages.zh/common/jmeter.md new file mode 100644 index 00000000000000..402bc1e35cb5eb --- /dev/null +++ b/pages.zh/common/jmeter.md @@ -0,0 +1,20 @@ +# jmeter + +> 开源的 Java 应用程序,旨在对功能行为进行负载测试并衡量性能。 +> 更多信息:. + +- 在非 GUI 模式下运行指定的测试计划: + +`jmeter --nongui --testfile {{路径/到/文件.jmx}}` + +- 在非 GUI 模式下使用指定的日志文件运行测试计划: + +`jmeter --nogui --testfile {{路径/到/文件.jmx}} --logfile {{路径/到/日志文件.jtl}}` + +- 在非 GUI 模式下使用指定代理运行测试计划: + +`jmeter --nongui --testfile {{路径/到/文件.jmx}} --proxyHost {{127.0.0.1}} --proxyPort {{8888}}` + +- 在非 GUI 模式下使用指定的 JMeter 属性运行测试计划: + +`jmeter --jmeterproperty {{键}}='{{值}}' --nongui --testfile {{路径/到/文件.jmx}}` diff --git a/pages.zh/common/jmtpfs.md b/pages.zh/common/jmtpfs.md new file mode 100644 index 00000000000000..07520e4b1f9f28 --- /dev/null +++ b/pages.zh/common/jmtpfs.md @@ -0,0 +1,24 @@ +# jmtpfs + +> 基于 FUSE 的文件系统,用于访问 MTP 设备。 +> 更多信息:. + +- 将一个 MTP 设备挂载到一个目录: + +`jmtpfs {{路径/到/目录}}` + +- 设置挂载选项: + +`jmtpfs -o {{allow_other,auto_unmount}} {{路径/到/目录}}` + +- 列出可用的 MTP 设备: + +`jmtpfs --listDevices` + +- 如果存在多个设备,挂载一个特定的设备: + +`jmtpfs -device={{总线_id}},{{设备_id}} {{路径/到/目录}}` + +- 卸载 MTP 设备: + +`fusermount -u {{路径/到/目录}}` diff --git a/pages.zh/common/jobs.md b/pages.zh/common/jobs.md new file mode 100644 index 00000000000000..8236543ecea52f --- /dev/null +++ b/pages.zh/common/jobs.md @@ -0,0 +1,20 @@ +# jobs + +> 显示当前会话中作业的状态。 +> 更多信息:. + +- 显示所有作业的状态: + +`jobs` + +- 显示特定作业的状态: + +`jobs %{{作业_id}}` + +- 显示所有作业的状态和进程 ID: + +`jobs -l` + +- 显示所有作业的进程 ID: + +`jobs -p` diff --git a/pages.zh/common/joe.md b/pages.zh/common/joe.md new file mode 100644 index 00000000000000..0c3436afe92243 --- /dev/null +++ b/pages.zh/common/joe.md @@ -0,0 +1,20 @@ +# joe + +> Joe 自己的文本编辑器。 +> 更多信息:. + +- 在 JOE 中打开一个新文件: + +`joe` + +- 打开一个指定文件: + +`joe {{路径/到/文件}}` + +- 打开一个指定文件,并将光标定位在指定的行: + +`joe +{{行号}} {{路径/到/文件}}` + +- 以只读模式打开一个指定文件: + +`joe -rdonly {{路径/到/文件}}` diff --git a/pages.zh/common/john.md b/pages.zh/common/john.md new file mode 100644 index 00000000000000..88e00684e80a6f --- /dev/null +++ b/pages.zh/common/john.md @@ -0,0 +1,36 @@ +# john + +> 密码破解工具。 +> 更多信息:. + +- 破解密码哈希: + +`john {{路径/到/hashes.txt}}` + +- 显示已破解的密码: + +`john --show {{路径/到/hashes.txt}}` + +- 按用户标识符从多个文件中显示用户的已破解密码: + +`john --show --users={{用户_IDs}} {{路径/到/hashes1.txt 路径/到/hashes2.txt ...}}` + +- 使用自定义的单词列表破解密码哈希: + +`john --wordlist={{路径/到/wordlist.txt}} {{路径/到/hashes.txt}}` + +- 列出可用的哈希格式: + +`john --list=formats` + +- 使用特定的哈希格式破解密码哈希: + +`john --format={{md5crypt}} {{路径/到/hashes.txt}}` + +- 启用单词变形规则破解密码哈希: + +`john --rules {{路径/到/hashes.txt}}` + +- 从状态文件恢复一个中断的破解会话,例如:`mycrack.rec`: + +`john --restore={{路径/到/mycrack.rec}}` diff --git a/pages.zh/common/join.md b/pages.zh/common/join.md new file mode 100644 index 00000000000000..cb82f44c16f12b --- /dev/null +++ b/pages.zh/common/join.md @@ -0,0 +1,24 @@ +# join + +> 在两个已排序的文件中根据一个公共字段合并行。 +> 更多信息:. + +- 根据第一个(默认)字段合并两个文件: + +`join {{路径/到/文件1}} {{路径/到/文件2}}` + +- 使用逗号(而不是空格)作为字段分隔符合并两个文件: + +`join -t {{','}} {{路径/到/文件1}} {{路径/到/文件2}}` + +- 将文件1的字段3与文件2的字段1合并: + +`join -1 {{3}} -2 {{1}} {{路径/到/文件1}} {{路径/到/文件2}}` + +- 为文件1中的每行未配对的行生成一行: + +`join -a {{1}} {{路径/到/文件1}} {{路径/到/文件2}}` + +- 从 `stdin` 合并一个文件: + +`cat {{路径/到/文件1}} | join - {{路径/到/文件2}}` diff --git a/pages.zh/common/josm.md b/pages.zh/common/josm.md new file mode 100644 index 00000000000000..f5d45e1e59071a --- /dev/null +++ b/pages.zh/common/josm.md @@ -0,0 +1,32 @@ +# josm + +> 可扩展的 OpenStreetMap 编辑器,适用于 Java 8+。 +> 更多信息:. + +- 启动 JOSM: + +`josm` + +- 在最大化模式下启动 JOSM: + +`josm --maximize` + +- 启动 JOSM 并设置特定的语言: + +`josm --language {{de}}` + +- 启动 JOSM 并将所有首选项重置为默认值: + +`josm --reset-preferences` + +- 启动 JOSM 并下载指定的边界框: + +`josm --download {{minlat,minlon,maxlat,maxlon}}` + +- 启动 JOSM 并以原始 GPS 格式下载指定的边界框: + +`josm --downloadgps {{minlat,minlon,maxlat,maxlon}}` + +- 启动 JOSM 并且不加载插件: + +`josm --skip-plugins` diff --git a/pages.zh/common/jp2a.md b/pages.zh/common/jp2a.md new file mode 100644 index 00000000000000..428ca2b298c04f --- /dev/null +++ b/pages.zh/common/jp2a.md @@ -0,0 +1,28 @@ +# jp2a + +> 将 JPEG 图像转换为 ASCII。 +> 更多信息:. + +- 从文件中读取 JPEG 图像并以 ASCII 显示: + +`jp2a {{路径/到/image.jpeg}}` + +- 从 URL 中读取 JPEG 图像并以 ASCII 显示: + +`jp2a {{www.example.com/image.jpeg}}` + +- 对 ASCII 输出进行着色: + +`jp2a --colors {{路径/到/image.jpeg}}` + +- 指定用于 ASCII 输出的字符: + +`jp2a --chars='{{..-ooxx@@}}' {{路径/到/image.jpeg}}` + +- 将 ASCII 输出写入一个文件: + +`jp2a --output={{路径/到/output_file.txt}} {{路径/到/image.jpeg}}` + +- 以 HTML 文件格式写入 ASCII 输出,适合在网页浏览器中查看: + +`jp2a --html --output={{路径/到/output_file.html}} {{路径/到/image.jpeg}}` diff --git a/pages.zh/common/jpegoptim.md b/pages.zh/common/jpegoptim.md new file mode 100644 index 00000000000000..589d3efead0f44 --- /dev/null +++ b/pages.zh/common/jpegoptim.md @@ -0,0 +1,20 @@ +# jpegoptim + +> 优化 JPEG 图像。 +> 更多信息:. + +- 优化一组 JPEG 图像,保留所有相关数据: + +`jpegoptim {{图像1.jpeg}} {{图像2.jpeg}} {{图像N.jpeg}}` + +- 优化 JPEG 图像,剥离所有非必要数据: + +`jpegoptim --strip-all {{图像1.jpeg}} {{图像2.jpeg}} {{图像N.jpeg}}` + +- 强制输出图像为渐进式: + +`jpegoptim --all-progressive {{图像1.jpeg}} {{图像2.jpeg}} {{图像N.jpeg}}` + +- 强制输出图像具有固定的最大文件大小: + +`jpegoptim --size={{250k}} {{图像1.jpeg}} {{图像2.jpeg}} {{图像N.jpeg}}` diff --git a/pages.zh/common/jpegtopnm.md b/pages.zh/common/jpegtopnm.md new file mode 100644 index 00000000000000..5b7559241f21ce --- /dev/null +++ b/pages.zh/common/jpegtopnm.md @@ -0,0 +1,12 @@ +# jpegtopnm + +> 将 JPEG/JFIF 文件转换为 PPM 或 PGM 格式。 +> 更多信息:. + +- 将 JPEG/JFIF 图像转换为 PPM 或 PGM 图像: + +`jpegtopnm {{路径/到/文件.jpg}} > {{路径/到/文件.pnm}}` + +- 显示版本信息: + +`jpegtopnm -version` diff --git a/pages.zh/common/jps.md b/pages.zh/common/jps.md new file mode 100644 index 00000000000000..df23171a775f53 --- /dev/null +++ b/pages.zh/common/jps.md @@ -0,0 +1,24 @@ +# jps + +> 显示当前用户的 JVM 进程状态。 +> 更多信息:. + +- 列出所有 JVM 进程: + +`jps` + +- 列出所有 JVM 进程,只打印进程号: + +`jps -q` + +- 显示传递给进程的参数: + +`jps -m` + +- 显示所有进程的完整软件包名称: + +`jps -l` + +- 显示传递给 JVM 的参数: + +`jps -v` diff --git a/pages.zh/common/jq.md b/pages.zh/common/jq.md new file mode 100644 index 00000000000000..3e26af0c311413 --- /dev/null +++ b/pages.zh/common/jq.md @@ -0,0 +1,36 @@ +# jq + +> 一个使用特定领域语言(DSL)的 JSON 处理器。 +> 更多信息:. + +- 使用 `jq` 二进制执行特定的表达式(打印出彩色和格式化的 JSON 输出): + +`jq '.' {{路径/到/文件.json}}` + +- 执行特定的脚本: + +`{{cat 路径/到/文件.json}} | jq --from-file {{路径/到/脚本.jq}}` + +- 传递特定的参数: + +`{{cat 路径/到/文件.json}} | jq {{--arg "name1" "value1" --arg "name2" "value2" ...}} '{{. + $ARGS.named}}'` + +- 通过来自多个文件的旧 JSON 对象创建新的 JSON 对象: + +`{{cat 路径/到/多个_json_文件_*.json}} | jq '{{{newKey1: .key1, newKey2: .key2.nestedKey, ...}}}'` + +- 打印特定的数组项: + +`{{cat 路径/到/文件.json}} | jq '{{.[索引1], .[索引2], ...}}'` + +- 打印所有数组/对象中的值: + +`{{cat 路径/到/文件.json}} | jq '.[]'` + +- 打印具有双条件过滤的数组对象: + +`{{cat 路径/到/文件.json}} | jq '.[] | select((.key1=="value1") and .key2=="value2")'` + +- 添加/移除特定的键: + +`{{cat 路径/到/文件.json}} | jq '. {{+|-}} {{{"key1": "value1", "key2": "value2", ...}}}'` diff --git a/pages.zh/common/jrnl.md b/pages.zh/common/jrnl.md new file mode 100644 index 00000000000000..653100085c5e85 --- /dev/null +++ b/pages.zh/common/jrnl.md @@ -0,0 +1,24 @@ +# jrnl + +> 一个简单的命令行日记应用程序。 +> 更多信息:. + +- 使用编辑器插入一个新条目: + +`jrnl` + +- 快速插入一个新条目: + +`jrnl {{today at 3am}}: {{标题}}. {{内容}}` + +- 查看最近的十条条目: + +`jrnl -n {{10}}` + +- 查看从去年开始到今年三月初所有发生的事情: + +`jrnl -from "{{last year}}" -until {{march}}` + +- 编辑所有用 "texas" 和 "history" 标签标记的条目: + +`jrnl {{@texas}} -and {{@history}} --edit` diff --git a/pages.zh/common/json5.md b/pages.zh/common/json5.md new file mode 100644 index 00000000000000..f74274e140f541 --- /dev/null +++ b/pages.zh/common/json5.md @@ -0,0 +1,28 @@ +# json5 + +> 将 JSON5 文件转换为 JSON。 +> 更多信息:. + +- 将 JSON5 `标准输入` 转换为 JSON 并输出到 `标准输出`: + +`echo {{输入}} | json5` + +- 将 JSON5 文件转换为 JSON 并输出到 `标准输出`: + +`json5 {{路径/到/输入文件.json5}}` + +- 将 JSON5 文件转换为指定的 JSON 文件: + +`json5 {{路径/到/输入文件.json5}} --out-file {{路径/到/输出文件.json}}` + +- 验证一个 JSON5 文件: + +`json5 {{路径/到/输入文件.json5}} --validate` + +- 指定缩进的空格数(或使用 "t" 表示制表符): + +`json5 --space {{缩进量}}` + +- 显示帮助: + +`json5 --help` diff --git a/pages.zh/common/jstack.md b/pages.zh/common/jstack.md new file mode 100644 index 00000000000000..d1e0b895179724 --- /dev/null +++ b/pages.zh/common/jstack.md @@ -0,0 +1,16 @@ +# jstack + +> Java 栈跟踪工具。 +> 更多信息:. + +- 打印 Java 进程中所有线程的 Java 栈跟踪: + +`jstack {{java_进程号}}` + +- 打印混合模式(Java/C++)的栈跟踪: + +`jstack -m {{java_进程号}}` + +- 打印来自 Java 核心转储的栈跟踪: + +`jstack {{/usr/bin/java}} {{文件.core}}` diff --git a/pages.zh/common/jtbl.md b/pages.zh/common/jtbl.md new file mode 100644 index 00000000000000..cd62b5ce007011 --- /dev/null +++ b/pages.zh/common/jtbl.md @@ -0,0 +1,20 @@ +# jtbl + +> 用于在终端中将 JSON 和 JSON Lines 数据打印为表格的工具。 +> 更多信息:. + +- 从 JSON 或 JSON Lines 输入中打印表格: + +`cat {{文件.json}} | jtbl` + +- 打印表格并指定用于换行的列宽: + +`cat {{文件.json}} | jtbl --cols={{宽度}}` + +- 打印表格并截断行而不是换行: + +`cat {{文件.json}} | jtbl -t` + +- 打印表格并不换行或截断行: + +`cat {{文件.json}} | jtbl -n` diff --git a/pages.zh/common/julia.md b/pages.zh/common/julia.md new file mode 100644 index 00000000000000..9881062717a6e7 --- /dev/null +++ b/pages.zh/common/julia.md @@ -0,0 +1,32 @@ +# julia + +> 一种用于技术计算的高层次、高性能动态编程语言。 +> 更多信息:. + +- 启动一个 REPL(交互式 shell): + +`julia` + +- 执行一个 Julia 程序并退出: + +`julia {{program.jl}}` + +- 执行一个带有参数的 Julia 程序: + +`julia {{program.jl}} {{参数}}` + +- 执行包含 Julia 代码的字符串: + +`julia -e '{{julia_代码}}'` + +- 执行一段 Julia 代码,并向其传递参数: + +`julia -e '{{for x in ARGS; println(x); end}}' {{参数}}` + +- 计算一个表达式并打印结果: + +`julia -E '{{(1 - cos(pi/4))/2}}'` + +- 以多线程模式启动 Julia,使用 N 个线程: + +`julia -t {{N}}` diff --git a/pages.zh/common/jupyter-lab.md b/pages.zh/common/jupyter-lab.md new file mode 100644 index 00000000000000..853a43eb333940 --- /dev/null +++ b/pages.zh/common/jupyter-lab.md @@ -0,0 +1,20 @@ +# jupyter lab + +> Jupyter 笔记本的交互式开发环境。 +> 更多信息:. + +- 启动 JupyterLab: + +`jupyter lab` + +- 打开一个特定的笔记本: + +`jupyter lab {{路径/到/笔记本.ipynb}}` + +- 在特定目录中启动 JupyterLab: + +`jupyter lab --notebook-dir {{路径/到/目录}}` + +- 在调试模式下启动 JupyterLab: + +`jupyter lab --debug` diff --git a/pages.zh/common/jupyter.md b/pages.zh/common/jupyter.md new file mode 100644 index 00000000000000..79b18c3f849846 --- /dev/null +++ b/pages.zh/common/jupyter.md @@ -0,0 +1,33 @@ +# jupyter + +> 用于创建和共享包含代码、可视化和笔记的文档的 Web 应用程序。 +> 主要用于数据分析、科学计算和机器学习。 +> 更多信息:. + +- 在当前目录下启动一个 Jupyter notebook 服务器: + +`jupyter notebook` + +- 打开一个特定的 Jupyter notebook: + +`jupyter notebook {{示例.ipynb}}` + +- 将特定 Jupyter notebook 导出为其他格式: + +`jupyter nbconvert --to {{html|markdown|pdf|script}} {{示例.ipynb}}` + +- 在指定端口启动服务器: + +`jupyter notebook --port {{端口}}` + +- 列出当前正在运行的 notebook 服务器: + +`jupyter notebook list` + +- 停止当前正在运行的服务器: + +`jupyter notebook stop` + +- 启动 JupyterLab(如果已安装)于当前目录: + +`jupyter lab` diff --git a/pages.zh/common/jupyterlab.md b/pages.zh/common/jupyterlab.md new file mode 100644 index 00000000000000..ec20f91d0f3a00 --- /dev/null +++ b/pages.zh/common/jupyterlab.md @@ -0,0 +1,7 @@ +# jupyterlab + +> 这是 `jupyter lab` 命令的一个别名。 + +- 查看原命令的文档: + +`tldr jupyter lab` diff --git a/pages.zh/common/jupytext.md b/pages.zh/common/jupytext.md new file mode 100644 index 00000000000000..8e165c2cd225e7 --- /dev/null +++ b/pages.zh/common/jupytext.md @@ -0,0 +1,28 @@ +# jupytext + +> 将 Jupyter 笔记本转换为纯文本文件,然后再转换回去。 +> 更多信息:. + +- 将笔记本转换为成对的 `.ipynb`/`.py` 笔记本: + +`jupytext --set-formats ipynb,py {{notebook.ipynb}}` + +- 将笔记本转换为 `.py` 文件: + +`jupytext --to py {{notebook.ipynb}}` + +- 将 `.py` 文件转换为没有输出的笔记本: + +`jupytext --to notebook {{notebook.py}}` + +- 将 `.md` 文件转换为笔记本并运行它: + +`jupytext --to notebook --execute {{notebook.md}}` + +- 更新笔记本中的输入单元格并保留输出和元数据: + +`jupytext --update --to notebook {{notebook.py}}` + +- 更新笔记本的所有配对表示: + +`jupytext --sync {{notebook.ipynb}}` diff --git a/pages.zh/common/just.1.md b/pages.zh/common/just.1.md new file mode 100644 index 00000000000000..bae7ac1aa3c57d --- /dev/null +++ b/pages.zh/common/just.1.md @@ -0,0 +1,24 @@ +# just + +> 保存并运行项目特定的命令。 +> 更多信息:. + +- 运行在 justfile 中指定的配方: + +`just {{配方}}` + +- 在项目根目录初始化新的 justfile: + +`just --init` + +- 在默认编辑器中编辑 justfile: + +`just -e` + +- 列出 justfile 中可用的配方: + +`just -l` + +- 打印 justfile: + +`just --dump` diff --git a/pages.zh/common/just.md b/pages.zh/common/just.md new file mode 100644 index 00000000000000..056e2fba84c226 --- /dev/null +++ b/pages.zh/common/just.md @@ -0,0 +1,11 @@ +# just + +> `just` 可以指代多个具有相同名称的命令。 + +- 查看命令运行器的文档: + +`tldr just.1` + +- 查看 V8 JavaScript 运行时的文档: + +`tldr just.js` diff --git a/pages.zh/common/jwt.md b/pages.zh/common/jwt.md new file mode 100644 index 00000000000000..04cc8df9fe2dc6 --- /dev/null +++ b/pages.zh/common/jwt.md @@ -0,0 +1,21 @@ +# jwt + +> 使用 JSON Web Tokens (JWTs) 进行操作。 +> 可用的加密算法包括 HS256、HS384、HS512、RS256、RS384、RS512、ES256、ES384。 +> 更多信息:. + +- 解码一个 JWT: + +`jwt decode {{jwt字符串}}` + +- 将 JWT 解码为 JSON 字符串: + +`jwt decode -j {{jwt字符串}}` + +- 将 JSON 字符串编码为 JWT: + +`jwt encode --alg {{HS256}} --secret {{1234567890}} '{{json字符串}}'` + +- 将键值对载荷编码为 JWT: + +`jwt encode --alg {{HS256}} --secret {{1234567890}} -P {{键=值}}` diff --git a/pages.zh/common/kafkacat.md b/pages.zh/common/kafkacat.md new file mode 100644 index 00000000000000..389f850cc5d13b --- /dev/null +++ b/pages.zh/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> 这是 `kcat` 命令的一个别名。 + +- 原命令的文档在: + +`tldr kcat` diff --git a/pages.zh/common/kill.md b/pages.zh/common/kill.md new file mode 100644 index 00000000000000..8e1d81fcf88642 --- /dev/null +++ b/pages.zh/common/kill.md @@ -0,0 +1,33 @@ +# kill + +> 向进程发送信号,通常用于停止进程。 +> 除了 SIGKILL 和 SIGSTOP,所有信号都可以被进程拦截,以便进行正常退出。 +> 更多信息:. + +- 使用默认的 SIGTERM(终止)信号来结束一个程序: + +`kill {{进程ID}}` + +- 列出可用的信号名称(使用时无需加 `SIG` 前缀): + +`kill -l` + +- 使用 SIGHUP(挂起)信号终止一个程序。许多守护进程接收到此信号后会重新加载而不是终止: + +`kill -{{1|HUP}} {{进程ID}}` + +- 使用 SIGINT(中断)信号终止一个程序。通常由用户按下 `` 发起: + +`kill -{{2|INT}} {{进程ID}}` + +- 向操作系统发送信号,立即终止一个程序(程序无机会捕获信号): + +`kill -{{9|KILL}} {{进程ID}}` + +- 向操作系统发送信号,暂停一个程序,直到收到 SIGCONT(继续)信号: + +`kill -{{17|STOP}} {{进程ID}}` + +- 向所有具有指定 GID(组ID)的进程发送 `SIGUSR1` 信号: + +`kill -{{SIGUSR1}} -{{组ID}}` diff --git a/pages.zh/common/killall.md b/pages.zh/common/killall.md new file mode 100644 index 00000000000000..747b20dce5b7ff --- /dev/null +++ b/pages.zh/common/killall.md @@ -0,0 +1,25 @@ +# killall + +> 根据进程名称向所有实例发送终止信号(必须是精确的进程名称)。 +> 除了 SIGKILL 和 SIGSTOP,所有信号都可以被进程拦截,从而实现正常退出。 +> 更多信息:. + +- 使用默认的 SIGTERM(终止)信号结束进程: + +`killall {{进程名称}}` + +- 列出可用的信号名称(使用时无需加 `SIG` 前缀): + +`killall -l` + +- 交互式地询问确认后再终止进程: + +`killall -i {{进程名称}}` + +- 使用 SIGINT(中断)信号终止进程,与按下 `` 发送的信号相同: + +`killall -INT {{进程名称}}` + +- 强制杀死一个进程: + +`killall -KILL {{进程名称}}` diff --git a/pages.zh/common/kitex.md b/pages.zh/common/kitex.md new file mode 100644 index 00000000000000..bf368acb285e1b --- /dev/null +++ b/pages.zh/common/kitex.md @@ -0,0 +1,21 @@ +# kitex + +> Kitex 是 Go RPC 框架 Kitex 框架提供的用于生成代码的一个命令行工具。 +> 目前,kitex 支持 thrift 和 protobuf 的 IDL,并支持生成一个服务端项目的骨架。 +> 更多信息:. + +- 生成客户端代码,项目在 `$GOPATH` 目录下: + +`kitex {{路径/到/IDL文件.thrift}}` + +- 生成客户端代码,项目不在 `$GOPATH` 目录下: + +`kitex -module {{github.com/xx-org/xx-name}} {{路径/到/IDL文件.thrift}}` + +- 根据 protobuf IDL 文件生成客户端代码: + +`kitex -type protobuf {{路径/到/IDL文件.proto}}` + +- 生成服务端代码: + +`kitex -service {{svc_name}} {{路径/到/IDL文件.thrift}}` diff --git a/pages.zh/common/less.md b/pages.zh/common/less.md new file mode 100644 index 00000000000000..614fae10ed68ea --- /dev/null +++ b/pages.zh/common/less.md @@ -0,0 +1,36 @@ +# less + +> 打开一个文件进行交互式阅读,允许滚动和搜索。 +> 更多信息:. + +- 打开一个文件: + +`less {{路径/到/文件}}` + +- 向下/向上翻页: + +`{{|}}` + +- 转到文件末尾/开头: + +`{{|}}` + +- 向前搜索字符串(按 ``/`` 转到下一个/上一个匹配项): + +`{{关键字}}` + +- 向后搜索字符串(按 ``/`` 转到下一个/上一个匹配项): + +`{{关键字}}` + +- 跟踪当前打开的文件的输出: + +`` + +- 在编辑器中打开当前文件: + +`` + +- 退出: + +`` diff --git a/pages.zh/common/llvm-ar.md b/pages.zh/common/llvm-ar.md new file mode 100644 index 00000000000000..0cceffd60bf173 --- /dev/null +++ b/pages.zh/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> 这是 `ar` 命令的一个别名。 + +- 原命令的文档在: + +`tldr ar` diff --git a/pages.zh/common/llvm-g++.md b/pages.zh/common/llvm-g++.md new file mode 100644 index 00000000000000..7c247bb37fce95 --- /dev/null +++ b/pages.zh/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> 这是 `clang++` 命令的一个别名。 + +- 原命令的文档在: + +`tldr clang++` diff --git a/pages.zh/common/llvm-gcc.md b/pages.zh/common/llvm-gcc.md new file mode 100644 index 00000000000000..956a019885e4e7 --- /dev/null +++ b/pages.zh/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> 这是 `clang` 命令的一个别名。 + +- 原命令的文档在: + +`tldr clang` diff --git a/pages.zh/common/llvm-nm.md b/pages.zh/common/llvm-nm.md new file mode 100644 index 00000000000000..0403cebe4770c0 --- /dev/null +++ b/pages.zh/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> 这是 `nm` 命令的一个别名。 + +- 原命令的文档在: + +`tldr nm` diff --git a/pages.zh/common/llvm-objdump.md b/pages.zh/common/llvm-objdump.md new file mode 100644 index 00000000000000..faec054d71cd56 --- /dev/null +++ b/pages.zh/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> 这是 `objdump` 命令的一个别名。 + +- 原命令的文档在: + +`tldr objdump` diff --git a/pages.zh/common/llvm-strings.md b/pages.zh/common/llvm-strings.md new file mode 100644 index 00000000000000..ae8204f6851f64 --- /dev/null +++ b/pages.zh/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> 这是 `strings` 命令的一个别名。 + +- 原命令的文档在: + +`tldr strings` diff --git a/pages.zh/common/ln.md b/pages.zh/common/ln.md new file mode 100644 index 00000000000000..9d89fe4f25ef6f --- /dev/null +++ b/pages.zh/common/ln.md @@ -0,0 +1,16 @@ +# ln + +> 创建指向文件和目录的链接。 +> 更多信息:. + +- 创建指向文件或目录的符号链接: + +`ln {{[-s|--symbolic]}} {{/路径/到/文件或目录}} {{路径/到/符号链接}}` + +- 覆盖现有的符号链接以指向其他文件: + +`ln {{[-sf|--symbolic --force]}} {{/路径/到/新文件}} {{路径/到/符号链接}}` + +- 创建文件的硬链接: + +`ln {{/路径/到/文件}} {{路径/到/硬链接}}` diff --git a/pages.zh/common/logger.md b/pages.zh/common/logger.md new file mode 100644 index 00000000000000..5ac997e27ec947 --- /dev/null +++ b/pages.zh/common/logger.md @@ -0,0 +1,8 @@ +# logger + +> 向系统日志增加记录。 +> 更多信息:. + +- 向系统日志增加记录: + +`logger {{消息内容}}` diff --git a/pages.zh/common/ls.md b/pages.zh/common/ls.md new file mode 100644 index 00000000000000..6c22b3e7e83794 --- /dev/null +++ b/pages.zh/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> 列出目录中的内容。 +> 更多信息:. + +- 列出目录中的文件,每个文件占一行: + +`ls -1` + +- 列出包含隐藏文件的所有文件: + +`ls {{[-a|--all]}}` + +- 列出所有文件,如果是目录,则在目录名后面加上「/」: + +`ls {{[-F|--classify]}}` + +- 列出包含隐藏文件的所有文件信息,包括权限,所有者,大小和修改日期: + +`ls {{[-la|--all -l]}}` + +- 列出所有文件信息,大小用人类可读的单位表示(KiB, MiB, GiB): + +`ls {{[-lh|-l --human-readable]}}` + +- 列出所有文件信息,按大小降序排序: + +`ls {{-lSR|-lS --recursive}}` + +- 列出所有文件信息,按修改日期从旧到新排序: + +`ls {{[-ltr|-lt --reverse]}}` + +- 只列出目录: + +`ls {{[-d|--directory]}} */` diff --git a/pages.zh/common/lsof.md b/pages.zh/common/lsof.md new file mode 100644 index 00000000000000..b2a793c676f24a --- /dev/null +++ b/pages.zh/common/lsof.md @@ -0,0 +1,37 @@ +# lsof + +> 列出打开的文件和相应的进程。 +> 注意:列出其他人打开的文件需要 root 权限(或 sudo)。 +> 更多信息:. + +- 查找打开了给定文件的进程: + +`lsof {{路径/到/文件}}` + +- 查找打开了本地互联网端口的进程: + +`lsof -i :{{端口}}` + +- 仅输出进程 ID (PID): + +`lsof -t {{路径/到/文件}}` + +- 列出给定用户打开的文件: + +`lsof -u {{用户名}}` + +- 列出给定命令或进程打开的文件: + +`lsof -c {{进程或命令的名称}}` + +- 列出特定进程打开的文件(给定其 PID): + +`lsof -p {{PID}}` + +- 列出目录中打开的文件: + +`lsof +D {{路径/到/目录}}` + +- 查找正在监听本地 IPv6 TCP 端口的进程,不转换网络或端口号: + +`lsof -i6TCP:{{端口}} -sTCP:LISTEN -n -P` diff --git a/pages.zh/common/lzcat.md b/pages.zh/common/lzcat.md new file mode 100644 index 00000000000000..00beb56b8c3e3d --- /dev/null +++ b/pages.zh/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> 这是 `xz` 命令的一个别名。 + +- 原命令的文档在: + +`tldr xz` diff --git a/pages.zh/common/lzma.md b/pages.zh/common/lzma.md new file mode 100644 index 00000000000000..5cad3b44499282 --- /dev/null +++ b/pages.zh/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> 这是 `xz` 命令的一个别名。 + +- 原命令的文档在: + +`tldr xz` diff --git a/pages.zh/common/magick-compare.md b/pages.zh/common/magick-compare.md new file mode 100644 index 00000000000000..4c3f37bfa98a13 --- /dev/null +++ b/pages.zh/common/magick-compare.md @@ -0,0 +1,13 @@ +# magick compare + +> 创建一个比较文件,可视化地标注出两个图片之间的差异。 +> 另见:`magick`。 +> 更多信息:. + +- 比较两个图片: + +`magick compare {{路径/到/图片1.png}} {{路径/到/图片2.png}} {{路径/到/比较图片.png}}` + +- 使用特定的算法比较两个图片: + +`magick compare -verbose -metric {{PSNR}} {{路径/到/图片1.png}} {{路径/到/图片2.png}} {{路径/到/比较图片.png}}` diff --git a/pages.zh/common/magick-convert.md b/pages.zh/common/magick-convert.md new file mode 100644 index 00000000000000..c6df74b13e03e2 --- /dev/null +++ b/pages.zh/common/magick-convert.md @@ -0,0 +1,37 @@ +# magick convert + +> 转换图片格式,创建,组合图片,调整图片尺寸等功能。 +> 注意:原命令 `convert` 在 ImageMagick 7 以上版本中已被替换为 `magick`。 +> 更多信息:. + +- 将 JPEG 图片转换为 PNG 图片: + +`magick convert {{路径/到/输入图片.jpg}} {{路径/到/输出图片.png}}` + +- 将图片调整至原图片尺寸的50%: + +`magick convert {{路径/到/输入图片.png}} -resize 50% {{路径/到/输出图片.png}}` + +- 在宽高都不超过 640x480 的限制下,保持图片的比例,将尺寸调整至最大: + +`magick convert {{路径/到/输入图片.png}} -resize 640x480 {{路径/到/输出图片.png}}` + +- 将图片调整至特定文件大小: + +`magick convert {{路径/到/输入图片.png}} -define jpeg:extent=512kb {{路径/到/输出图片.jpg}}` + +- 水平/竖直地排列图片: + +`magick convert -background none {{路径/到/图片1.png 路径/到/图片2.png ...}} {{-append|+append}} {{路径/到/输出图片.png}}` + +- 创建一个 GIF 动图,按 100ms 的间隔播放一系列图片: + +`magick convert {{路径/到/图片1.png 路径/到/图片2.png ...}} -delay {{10}} {{路径/到/GIF 动图.gif}}` + +- 创建一个纯红背景的空白图片: + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{路径/到/图片.png}}` + +- 通过若干不同尺寸的图片生成一个 favicon: + +`magick convert {{路径/到/图片1.png 路径/到/图片2.png ...}} {{路径/到/网站图标.icon}}` diff --git a/pages.zh/common/magick-identify.md b/pages.zh/common/magick-identify.md new file mode 100644 index 00000000000000..32bc65a764ece1 --- /dev/null +++ b/pages.zh/common/magick-identify.md @@ -0,0 +1,17 @@ +# magick identify + +> 输出图片文件的格式与属性。 +> 另见:`magick`。 +> 更多信息:. + +- 输出图片的格式以及一些基本属性: + +`magick identify {{路径/到/图片}}` + +- 输出图片的格式及其详细属性: + +`magick identify -verbose {{路径/到/图片}}` + +- 将当前目录下的所有 JPEG 图片的尺寸属性: + +`magick identify -format "{{%f,%w,%h\n}}" {{*.jpg}} > {{路径/到/文件列表.csv}}` diff --git a/pages.zh/common/magick-import.md b/pages.zh/common/magick-import.md new file mode 100644 index 00000000000000..b85573e1aca90b --- /dev/null +++ b/pages.zh/common/magick-import.md @@ -0,0 +1,17 @@ +# magick import + +> 捕获某些或全部 X server 屏幕上的内容,并保存至图片文件当中。 +> 另见:`magick`。 +> 更多信息:. + +- 捕获整个 X server 屏幕,保存为 PostScript 文件: + +`magick import -window root {{路径/到/输出文件.ps}}` + +- 捕获远程 X server 屏幕,保存为 PNG 图片: + +`magick import -window root -display {{remote_host}}:{{screen}}.{{display}} {{路径/到/输出文件.png}}` + +- 用 `xwininfo` 中列出的窗口 ID 对特定窗口进行捕获,保存为 JPEG 图片: + +`magick import -window {{窗口 ID}} {{路径/到/输出图片.jpg}}` diff --git a/pages.zh/common/magick-mogrify.md b/pages.zh/common/magick-mogrify.md new file mode 100644 index 00000000000000..a8587d52f3497e --- /dev/null +++ b/pages.zh/common/magick-mogrify.md @@ -0,0 +1,34 @@ +# magick mogrify + +> 对图片进行调整尺寸,裁剪旋转或添加效果等操作。 +> 修改直接作用于原文件。 +> 另见:`magick`。 +> 更多信息:. + +- 将当前目录下所有 JPEG 图片的尺寸都调整至原尺寸的 50%: + +`magick mogrify -resize {{50%}} {{*.jpg}}` + +- 将当前目录下所有以 DSC 开头的图片尺寸都调整至 800x600: + +`magick mogrify -resize {{800x600}} {{DSC*}}` + +- 将当前目录下所有 PNG 图片都转换为 JPEG 图片: + +`magick mogrify -format {{jpg}} {{*.png}}` + +- 将当前目录下所有图片文件的饱和度都减半: + +`magick mogrify -modulate {{100,50}} {{*}}` + +- 将当前目录下所有图片文件的亮度都加倍: + +`magick mogrify -modulate {{200}} {{*}}` + +- 通过降低图像品质,缩小当前目录下所有 GIF 动图的文件大小: + +`magick mogrify -layers 'optimize' -fuzz {{7%}} {{*.gif}}` + +- 查看帮助: + +`magick mogrify -help` diff --git a/pages.zh/common/magick-montage.md b/pages.zh/common/magick-montage.md new file mode 100644 index 00000000000000..e6253d4f1cb4eb --- /dev/null +++ b/pages.zh/common/magick-montage.md @@ -0,0 +1,25 @@ +# magick montage + +> 在可自定义的网格内平铺图片。 +> 另见:`magick`。 +> 更多信息:. + +- 平铺图片,尺寸大于格子的图片将会被自动缩小: + +`magick montage {{路径/到/图片1.jpg 路径/到/图片2.jpg ...}} {{路径/到/拼图图片.jpg}}` + +- 平铺图片,根据最大的图片来计算格子大小: + +`magick montage {{路径/到/图片1.jpg 路径/到/图片2.jpg ...}} -geometry {{+0+0}} {{路径/到/拼图图片.jpg}}` + +- 平铺图片,根据指定的格子大小调整图片尺寸: + +`magick montage {{路径/到/图片1.jpg 路径/到/图片2.jpg ...}} -geometry {{640x480+0+0}} {{路径/到/拼图图片.jpg}}` + +- 指定格子的行列数,如果图片数量超出格子数,则会输出复数张图片: + +`magick montage {{路径/到/图片1.jpg 路径/到/图片2.jpg ...}} -geometry {{+0+0}} -tile {{2x3}} {{montage_%d.jpg}}` + +- 平铺图片,裁剪图片以充满格子: + +`magick montage {{路径/到/图片1.jpg 路径/到/图片2.jpg ...}} -geometry {{+0+0}} -resize {{640x480^}} -gravity {{center}} -crop {{640x480+0+0}} {{路径/到/拼图图片.jpg}}` diff --git a/pages.zh/common/magick.md b/pages.zh/common/magick.md new file mode 100644 index 00000000000000..6242a31977477f --- /dev/null +++ b/pages.zh/common/magick.md @@ -0,0 +1,26 @@ +# magick + +> 创建,编辑,组合,转换不同格式的图片文件。 +> 这个工具在 ImageMagick 7 以上版本中代替了原 `convert` 命令,如需在 7+ 版本中使用原命令,请查看 `magick convert`。 +> 此命令也有关于其子命令的文件,例如:`mogrify`。 +> 更多信息:. + +- 转换图片格式: + +`magick {{路径/到/输入图片.png}} {{路径/到/输出图片.jpg}}` + +- 改变图片大小,生成新的副本: + +`magick {{路径/到/输入图片.jpg}} -resize {{100x100}} {{路径/到/输出图片.jpg}}` + +- 利用当前目录下的所有 JPEG 图片生成一个 GIF 动图: + +`magick {{*.jpg}} {{路径/到/GIF文件.gif}}` + +- 生成棋盘格图片: + +`magick -size {{640x480}} pattern:checkerboard {{路径/到/棋盘格图片.png}}` + +- 利用当前目录下的所有 JPEG 图片生成一个 PDF 文件: + +`magick {{*.jpg}} -adjoin {{路径/到/PDF文件.pdf}}` diff --git a/pages.zh/common/make.md b/pages.zh/common/make.md new file mode 100644 index 00000000000000..d22e4793a097a6 --- /dev/null +++ b/pages.zh/common/make.md @@ -0,0 +1,37 @@ +# make + +> Makefile 文件描述目标的任务运行器。 +> 通常用于控制源代码中可执行文件的编译。 +> 更多信息:. + +- 调用 Makefile 中指定的第一个目标(通常命名为 "all"): + +`make` + +- 调用指定目标: + +`make {{目标}}` + +- 调用一个指定的目标,一次并行执行 4 个作业: + +`make -j{{4}} {{目标}}` + +- 使用指定的 Makefile 文件: + +`make --file {{文件}}` + +- 从另一个目录执行 make : + +`make --directory {{文件夹}}` + +- 即使源文件未更改,也强制执行目标: + +`make --always-make {{目标}}` + +- 覆盖在 Makefile 中定义的环境变量: + +`make {{目标}} {{变量}}={{新值}}` + +- 通过环境变量覆盖 Makefile 中定义的变量: + +`make --environment-overrides {{目标}}` diff --git a/pages.zh/common/man.md b/pages.zh/common/man.md new file mode 100644 index 00000000000000..0eb0a5477ecfe2 --- /dev/null +++ b/pages.zh/common/man.md @@ -0,0 +1,36 @@ +# man + +> 展示手册分页 (manual page). +> 更多信息:. + +- 展示一条命令的使用手册分页: + +`man {{command}}` + +- 在浏览器中打开一条命令的使用手册分页 (`BROWSER` 环境变量可以替换 `=browser_name`): + +`man {{[-Hbrowser_name|--html=browser_name]}} {{command}}` + +- 从第七章节展示一条命令的使用手册分页: + +`man {{7}} {{command}}` + +- 列表展示一条命令的所有可用章节: + +`man {{[-f|--whatis]}} {{command}}` + +- 展示搜索手册分页的路径: + +`man {{[-w|--path]}}` + +- 展示使用手册分页的位置, 而不是手册分页本身: + +`man {{[-w|--where]}} {{command}}` + +- 使用特定的语言来展示使用手册分页: + +`man {{[-L|--locale]}} {{locale}} {{command}}` + +- 搜索包含搜索字符串的手册页: + +`man {{[-k|--apropos]}} "{{search_string}}"` diff --git a/pages.zh/common/manim.md b/pages.zh/common/manim.md new file mode 100644 index 00000000000000..819651eacc715a --- /dev/null +++ b/pages.zh/common/manim.md @@ -0,0 +1,32 @@ +# manim + +> 用于制作数学动画的视频引擎。 +> 更多信息:. + +- 使用默认设置渲染 Python 脚本中的场景: + +`manim {{路径/文件.py}} {{场景名称}}` + +- 实时预览渲染(渲染后自动打开视频): + +`manim {{[-pql|--preview --quality low]}} {{路径/文件.py}} {{场景名称}}` + +- 以高质量渲染(1080p 60帧): + +`manim {{[-pqh|--preview --quality high]}} {{路径/文件.py}} {{场景名称}}` + +- 指定自定义输出文件名: + +`manim {{[-o|--output_file]}} {{输出文件名}} {{路径/文件.py}} {{场景名称}}` + +- 使用指定分辨率和帧率进行渲染: + +`manim {{[-r|--resolution]}} {{1920,1080}} {{[-f|--fps]}} {{60}} {{路径/文件.py}} {{场景名称}}` + +- 列出文件中可用的场景而不进行渲染: + +`manim --list_scenes {{路径/文件.py}}` + +- 显示帮助信息: + +`manim --help` diff --git a/pages.zh/common/matlab.md b/pages.zh/common/matlab.md index 98d7b121e5e1ed..04a8e04f955e51 100644 --- a/pages.zh/common/matlab.md +++ b/pages.zh/common/matlab.md @@ -1,16 +1,16 @@ # matlab > MathWorks 制作的数值计算环境。 -> 更多信息: . +> 更多信息:. -- 在启动过程中,运行时不出现闪屏: +- 在启动过程中,运行时不出现闪屏: `matlab -nosplash` -- 执行 MATLAB 语句: +- 执行 MATLAB 语句: `matlab -r "{{matlab_语句}}"` -- 运行 MATLAB 脚本: +- 运行 MATLAB 脚本: `matlab -r "run({{路径/script.m}})"` diff --git a/pages.zh/common/md5sum.md b/pages.zh/common/md5sum.md index b856d2343070fb..d281dbd0134aea 100644 --- a/pages.zh/common/md5sum.md +++ b/pages.zh/common/md5sum.md @@ -1,15 +1,32 @@ # md5sum -> 计算 MD5 加密校验和. +> 计算 MD5 加密校验和。 +> 更多信息:. -- 计算文件的 MD5 校验和: +- 计算一个或多个文件的 MD5 校验和: -`md5sum {{filename1}}` +`md5sum {{路径/到/文件1 路径/到/文件2 ...}}` -- 计算多个文件的 MD5 校验和: +- 计算并将 MD5 校验和列表保存到一个文件中: -`md5sum {{filename1}} {{filename2}}` +`md5sum {{路径/到/文件1 路径/到/文件2 ...}} > {{路径/到/文件.md5}}` -- 读取 MD5SUM 的文件并验证所有文件是否具有匹配的校验和: +- 从 `stdin` 计算 MD5 校验和: -`md5sum -c {{filename.md5}}` +`{{命令}} | md5sum` + +- 读取包含 MD5 校验和和文件名的文件,并验证所有文件的校验和是否匹配: + +`md5sum --check {{路径/到/文件.md5}}` + +- 仅在文件丢失或验证失败时显示消息: + +`md5sum --check --quiet {{路径/到/文件.md5}}` + +- 仅在验证失败时显示消息,忽略丢失的文件: + +`md5sum --ignore-missing --check --quiet {{路径/到/文件.md5}}` + +- 检查已知文件的 MD5 校验和: + +`echo {{已知的文件的_md5_校验和}} {{路径/到/文件}} | md5sum --check` diff --git a/pages.zh/common/mingle.md b/pages.zh/common/mingle.md new file mode 100644 index 00000000000000..c69cbc90a61869 --- /dev/null +++ b/pages.zh/common/mingle.md @@ -0,0 +1,17 @@ +# mingle + +> 捆绑图形布局中的边缘。 +> Graphviz 过滤器:`acyclic`、`bcomps`、`comps`、`edgepaint`、`gvcolor`、`gvpack`、`mingle`、`nop`、`sccmap`、`tred` 和 `unflatten`。 +> 更多信息:. + +- 捆绑一个或多个已经有布局信息的图形布局的边缘: + +`mingle {{路径/到/布局1.gv}} {{路径/到/布局2.gv ...}} > {{路径/到/输出.gv}}` + +- 通过一个命令执行布局、捆绑和输出到图片: + +`dot {{路径/到/输入.gv}} | mingle | dot -T {{png}} > {{路径/到/输出.png}}` + +- 显示 `mingle` 的帮助信息: + +`mingle -?` diff --git a/pages.zh/common/mkdir.md b/pages.zh/common/mkdir.md new file mode 100644 index 00000000000000..09a7f0d3f132a3 --- /dev/null +++ b/pages.zh/common/mkdir.md @@ -0,0 +1,16 @@ +# mkdir + +> 创建目录并设置其权限。 +> 更多信息:. + +- 创建特定目录: + +`mkdir {{路径/到/目录1 路径/到/目录2 ...}}` + +- 根据需要创建特定目录及其父目录: + +`mkdir {{[-p|--parents]}} {{路径/到/目录1 路径/到/目录2 ...}}` + +- 创建具有特定权限的目录: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{路径/到/目录1 路径/到/目录2 ...}}` diff --git a/pages.zh/common/mkfile.md b/pages.zh/common/mkfile.md new file mode 100644 index 00000000000000..6300a722800759 --- /dev/null +++ b/pages.zh/common/mkfile.md @@ -0,0 +1,16 @@ +# mkfile + +> 创建一个或多个任意大小的空文件。 +> 更多信息:. + +- 创建一个 15 千字节的空文件: + +`mkfile -n {{15k}} {{文件名}}` + +- 创建给定大小和单位的文件(bytes, KB, MB, GB): + +`mkfile -n {{大小}}{{b|k|m|g}} {{文件名}}` + +- 创建两个 4 兆字节的文件: + +`mkfile -n {{4m}} {{文件名 1}} {{文件名 2}}` diff --git a/pages.zh/common/mongod.md b/pages.zh/common/mongod.md new file mode 100644 index 00000000000000..dfb9575ae3023f --- /dev/null +++ b/pages.zh/common/mongod.md @@ -0,0 +1,20 @@ +# mongod + +> MongoDB 数据库服务器。 +> 更多信息:. + +- 指定存储目录(默认:Linux 和 macOS 为 `/data/db`,Windows 为 `C:\data\db`): + +`mongod --dbpath {{路径/到/目录}}` + +- 指定配置文件: + +`mongod --config {{路径/到/文件}}` + +- 指定监听的端口(默认:27017): + +`mongod --port {{端口}}` + +- 指定数据库分析级别。0 为关闭,1 仅慢操作,2 所有(默认:0): + +`mongod --profile {{0|1|2}}` diff --git a/pages.zh/common/more.md b/pages.zh/common/more.md new file mode 100644 index 00000000000000..763ac972fc1513 --- /dev/null +++ b/pages.zh/common/more.md @@ -0,0 +1,29 @@ +# more + +> 交互式地显示文件,允许滚动和搜索。 +> 请参阅:`less`. +> 更多信息:. + +- 打开一个文件: + +`more {{路径/到/文件}}` + +- 打开一个文件,从特定行开始显示: + +`more +{{行号}} {{路径/到/文件}}` + +- 转到下一页: + +`<空格>` + +- 搜索一个字符串(按 `` 键跳转到下一个匹配): + +`{{字符串}}` + +- 退出: + +`` + +- 显示关于交互式命令的帮助: + +`` diff --git a/pages.zh/common/mpv.md b/pages.zh/common/mpv.md index 41b740b495f53c..55df730806dcce 100644 --- a/pages.zh/common/mpv.md +++ b/pages.zh/common/mpv.md @@ -1,32 +1,37 @@ # mpv -> 一个基于 MPlayer 的音频/视频播放器. -> 更多信息: . +> 一个基于 MPlayer 的音频/视频播放器。 +> 请参阅:`mplayer`, `vlc`。 +> 更多信息:. -- 播放一个音频或视频文件: +- 从 URL 或文件播放视频或音频: -`mpv {{文件名}}` +`mpv {{url|路径/到/文件}}` -- 往后/往前 跳跃5秒: +- 向后/向前跳跃 5 秒: -`LEFT RIGHT` +`{{|}}` -- 往后/往前 跳跃一分钟: +- 向后/向前跳跃 1 分钟: -`DOWN UP` +`{{|}}` -- 减少/增加 10% 播放速度: +- 减少/增加 10% 播放速度: -`[ ]` +`{{<[>|<]>}}` -- 以指定速度播放文件 (0.01 到 100, 默认是 1): +- 对当前帧截图(默认保存到 `./mpv-shotNNNN.jpg`): -`mpv --speed {{速度}} {{文件名}}` +`` -- 用 `mpv.conf` 中指定的一个用户配制播放文件: +- 以指定速度播放文件(0.01 到 100, 默认是 1): -`mpv --profile {{配制名称}} {{文件名}}` +`mpv --speed {{0.01..100}} {{路径/到/文件}}` -- 播放摄像头或其他设备的输出: +- 用 `mpv.conf` 中指定的一个用户配制播放文件: -`mpv /dev/{{video0}}` +`mpv --profile {{配置文件名称}} {{路径/到/文件}}` + +- 显示来自网络摄像头或其他视频输入设备的输出: + +`mpv {{/dev/video0}}` diff --git a/pages.zh/common/mscore.md b/pages.zh/common/mscore.md new file mode 100644 index 00000000000000..1e375141fc3b54 --- /dev/null +++ b/pages.zh/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> 这是 `musescore` 命令的一个别名。 + +- 原命令的文档在: + +`tldr musescore` diff --git a/pages.zh/common/mv.md b/pages.zh/common/mv.md new file mode 100644 index 00000000000000..b60897fdb7a7b7 --- /dev/null +++ b/pages.zh/common/mv.md @@ -0,0 +1,36 @@ +# mv + +> 移动或重命名文件或目录。 +> 更多信息:. + +- 重命名文件或目录,当目标不是一个已存在的目录时: + +`mv {{路径/到/源}} {{路径/到/目标}}` + +- 将文件或目录移动到已存在的目录中: + +`mv {{路径/到/源}} {{路径/到/已存在的目录}}` + +- 将多个文件移动到已存在的目录中,并保持文件名不变: + +`mv {{路径/到/源1 路径/到/源2 ...}} {{路径/到/已存在的目录}}` + +- 覆盖现有文件前无需确认: + +`mv {{[-f|--force]}} {{路径/到/源}} {{路径/到/目标}}` + +- 无论是否有文件权限,覆盖现有文件前均需要确认: + +`mv {{[-i|--interactive]}} {{路径/到/源}} {{路径/到/目标}}` + +- 不覆盖现有的目标文件: + +`mv {{[-n|--no-clobber]}} {{路径/到/源}} {{路径/到/目标}}` + +- 在详细模式下移动文件,移动后显示文件的信息: + +`mv {{[-v|--verbose]}} {{路径/到/源}} {{路径/到/目标}}` + +- 指定目标目录,以便使用外部工具来收集可移动的文件: + +`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv --target-directory {{路径/到/目标目录}}` diff --git a/pages.zh/common/mvn.md b/pages.zh/common/mvn.md new file mode 100644 index 00000000000000..5c8ec6b8b3ec4e --- /dev/null +++ b/pages.zh/common/mvn.md @@ -0,0 +1,36 @@ +# mvn + +> Apache Maven:构建和管理基于 Java 的项目。 +> 更多信息:. + +- 编译项目: + +`mvn compile` + +- 将编译后的代码打包成可分发格式,比如 `jar`: + +`mvn package` + +- 编译和打包,跳过单元测试: + +`mvn package -DskipTests` + +- 在本地 maven 存储库中安装构建的包(这也会调用 compile 和 package 命令): + +`mvn install` + +- 从目标目录中删除构建工件,通常用来清理之前的编译结果: + +`mvn clean` + +- 执行清理操作,然后进行编译打包: + +`mvn clean package` + +- 清理然后使用给定的构建配置文件打包代码: + +`mvn clean -P {{构建配置文件}} package` + +- 使用 main 方法运行一个类: + +`mvn exec:java -Dexec.mainClass="{{com.example.Main}}" -Dexec.args="{{参数1 参数2 ...}}"` diff --git a/pages.zh/common/mysql.md b/pages.zh/common/mysql.md new file mode 100644 index 00000000000000..a13b75ce2c18f9 --- /dev/null +++ b/pages.zh/common/mysql.md @@ -0,0 +1,32 @@ +# mysql + +> MySQL 命令行工具。 +> 更多信息:. + +- 连接数据库: + +`mysql {{数据库名}}` + +- 连接到数据库,系统将提示用户输入密码: + +`mysql {{[-u|--user]}} {{用户名}} {{[-p|--password]}} {{数据库名}}` + +- 连接到另一台主机上的数据库: + +`mysql {{[-h|--host]}} {{数据库地址}} {{数据库名}}` + +- 通过Unix套接字文件连接到数据库: + +`mysql {{[-S|--socket]}} {{路径/到/socket.sock}}` + +- 执行脚本文件中的SQL语句: + +`mysql {{[-e|--execute]}} "source {{脚本.sql}}" {{数据库名}}` + +- 从`mysqldump`创建的备份文件中恢复单个数据库(系统将提示用户输入密码): + +`mysql {{[-u|--user]}} {{用户名}} {{[-p|--password]}} {{数据库名}} < {{路径/到/备份文件.sql}}` + +- 从备份中恢复所有数据库(系统将提示用户输入密码): + +`mysql {{[-u|--user]}} {{用户名}} {{[-p|--password]}} < {{路径/到/备份文件.sql}}` diff --git a/pages.zh/common/n.md b/pages.zh/common/n.md new file mode 100644 index 00000000000000..165625d1256f65 --- /dev/null +++ b/pages.zh/common/n.md @@ -0,0 +1,24 @@ +# n + +> 用于管理多个 node 版本的工具。 +> 更多信息:. + +- 安装给定版本的 node。如果版本已经安装,它将被激活: + +`n {{版本}}` + +- 显示已安装的版本并以交互方式激活其中一个版本: + +`n` + +- 删除一个版本: + +`n rm {{版本}}` + +- 使用给定版本执行文件: + +`n use {{版本}} {{文件.js}}` + +- 输出指定版本的二进制: + +`n bin {{版本}}` diff --git a/pages.zh/common/nano.md b/pages.zh/common/nano.md new file mode 100644 index 00000000000000..09dbe79928ce7c --- /dev/null +++ b/pages.zh/common/nano.md @@ -0,0 +1,36 @@ +# nano + +> 命令行文本编辑器。一个功能更强的 `Pico` 克隆版。 +> 更多信息:. + +- 启动编辑器: + +`nano` + +- 启动编辑器且不使用配置文件: + +`nano {{[-I|--ignorercfiles]}}` + +- 打开指定文件,在关闭前一个文件后移动到下一个文件: + +`nano {{路径/到/文件1 路径/到/文件2 ...}}` + +- 打开文件并将光标定位到指定行和列: + +`nano +{{行号}},{{列号}} {{路径/到/文件}}` + +- 打开文件并启用软换行: + +`nano {{[-S|--softwrap]}} {{路径/到/文件}}` + +- 打开文件并使新行缩进对齐到上一行: + +`nano {{[-i|--autoindent]}} {{路径/到/文件}}` + +- 打开文件并在保存时创建备份文件(如 `路径/到/文件~`): + +`nano {{[-B|--backup]}} {{路径/到/文件}}` + +- 退出 nano: + +`` diff --git a/pages.zh/common/neofetch.md b/pages.zh/common/neofetch.md new file mode 100644 index 00000000000000..d1b1188ec6917a --- /dev/null +++ b/pages.zh/common/neofetch.md @@ -0,0 +1,20 @@ +# neofetch + +> 命令行系统信息工具,以美观的方式显示系统信息。 +> 更多信息:. + +- 显示系统信息: + +`neofetch` + +- 在输出中显示或隐藏指定的信息行,'信息名称'是配置文件中的函数名称,例如 memory: + +`neofetch --{{enable|disable}} {{信息名称}}` + +- 隐藏或显示操作系统架构信息: + +`neofetch --os_arch {{on|off}}` + +- 启用或禁用输出中的 CPU 品牌信息: + +`neofetch --cpu_brand {{on|off}}` diff --git a/pages.zh/common/netstat.md b/pages.zh/common/netstat.md new file mode 100644 index 00000000000000..a9b568c36ecda7 --- /dev/null +++ b/pages.zh/common/netstat.md @@ -0,0 +1,33 @@ +# netstat + +> 显示与网络相关的信息,如打开的连接、打开的套接字端口等。 +> 另见:`ss`。 +> 更多信息:. + +- 列出所有端口: + +`netstat --all` + +- 列出所有被监听端口: + +`netstat --listening` + +- 列出监听的 TCP 端口: + +`netstat --tcp` + +- 显示 PID 和程序名: + +`netstat --program` + +- 持续列出信息: + +`netstat --continuous` + +- 列出路由并且不解析 IP 到主机名: + +`netstat --route --numeric` + +- 列出正在监听的 TCP 和 UDP 端口(如果你是 root 用户,还会显示用户和进程): + +`netstat --listening --program --numeric --tcp --udp --extend` diff --git a/pages.zh/common/ninja.md b/pages.zh/common/ninja.md index 7fddf98fc140ef..9037cb5d532d39 100644 --- a/pages.zh/common/ninja.md +++ b/pages.zh/common/ninja.md @@ -1,20 +1,24 @@ # ninja -> 一个快速的构建系统. -> 更多信息: . +> 一个快速的构建系统。 +> 更多信息:. -- 在当前目录下构建: +- 在当前目录下构建: `ninja` -- 在指定的目录中构建一个程序: +- 在当前目录下构建,最多并行执行 4 个作业: + +`ninja -j {{4}}` + +- 在指定的目录中构建一个程序: `ninja -C {{路径}}` -- 查看 target(如 `install` 和 `uninstall`): +- 查看 target(如 `install` 和 `uninstall`): `ninja -t targets` -- 查看帮助: +- 查看帮助: `ninja -h` diff --git a/pages.zh/common/nload.md b/pages.zh/common/nload.md new file mode 100644 index 00000000000000..0b5a0971dacb5e --- /dev/null +++ b/pages.zh/common/nload.md @@ -0,0 +1,12 @@ +# nload + +> 在终端中可视化查看网络流量。 +> 更多信息:. + +- 查看所有网络接口的流量(使用``切换不同网口): + +`nload` + +- 查看指定网络接口的流量(使用``切换网口): + +`nload devices {{网口1}} {{网口2}}` diff --git a/pages.zh/common/nm-classic.md b/pages.zh/common/nm-classic.md new file mode 100644 index 00000000000000..d709b730ecfec3 --- /dev/null +++ b/pages.zh/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> 这是 `nm` 命令的一个别名。 + +- 原命令的文档在: + +`tldr nm` diff --git a/pages.zh/common/nmap.md b/pages.zh/common/nmap.md new file mode 100644 index 00000000000000..1d068aa15265ac --- /dev/null +++ b/pages.zh/common/nmap.md @@ -0,0 +1,37 @@ +# nmap + +> 网络探索工具和安全/端口扫描程序。 +> 某些功能(如 SYN 扫描)仅当以 root 权限运行 `nmap` 时才能激活。 +> 更多信息:. + +- 使用不同的详细([v]erbosity)级别扫描远程主机的前 1000 个端口: + +`nmap -v{{1|2|3}} {{ip或主机名}}` + +- 对整个子网或单个主机进行非常激进的 ping 扫描: + +`nmap -T5 -sn {{192.168.0.0/24|ip或主机名1,ip或主机名2,...}}` + +- 对来自文件的主机启用操作系统检测、版本检测、脚本扫描和路由跟踪: + +`sudo nmap -A -iL {{路径/到/文件.txt}}` + +- 扫描特定的端口列表(使用 `-p-` 扫描从 1 到 65535 的所有端口): + +`nmap -p {{端口1,端口2,...}} {{ip或主机名1,ip或主机名2,...}}` + +- 使用默认 NSE 脚本执行前 1000 个端口的服务和版本检测,将结果(`-oA`)写入输出文件: + +`nmap -sC -sV -oA {{top-1000-ports}} {{ip或主机名1,ip或主机名2,...}}` + +- 使用 `default and safe` NSE 脚本谨慎地扫描目标: + +`nmap --script "default and safe" {{ip或主机名1,ip或主机名2,...}}` + +- 使用所有可用的 `http-*` NSE 脚本扫描在标准端口 80 和 443 上运行的 Web 服务器: + +`nmap --script "http-*" {{ip或主机名1,ip或主机名2,...}} -p 80,443` + +- 尝试通过使用极慢扫描(`-T0`)、诱饵源地址(`-D`)、分段([f]ragmented)数据包、随机数据和其他方法来规避 IDS/IPS 检测: + +`sudo nmap -T0 -D {{诱饵ip1,诱饵ip2,...}} --source-port {{53}} -f --data-length {{16}} -Pn {{ip或主机名}}` diff --git a/pages.zh/common/node.md b/pages.zh/common/node.md index 5e33f0e67406ce..dcefc14b97cf4f 100644 --- a/pages.zh/common/node.md +++ b/pages.zh/common/node.md @@ -1,24 +1,28 @@ # node -> 服务器后端 JavaScript 平台 (Node.js). -> 更多信息: . +> 服务器后端 JavaScript 平台(Node.js)。 +> 更多信息:. -- 运行一个 JavaScript 文件: +- 运行一个 JavaScript 文件: -`node {{文件名}}` +`node {{路径/到/文件}}` -- 开始一个 REPL 交互式解释器: +- 开始一个 REPL 交互式解释器: `node` -- 执行输入的 JavaScript 代码: +- 执行指定的文件,当导入的文件发生变化时重启进程(需要 Node.js 18.11+ 版本): -`node -e "{{代码}}"` +`node --watch {{路径/到/文件}}` -- 执行输入的 JavaScript 代码并显示结果: +- 执行输入的 JavaScript 代码: -`node -p "{{代码}}"` +`node {{[-e|--eval]}} "{{代码}}"` -- 启动检查器并在程序源码解析完成后等待调试器连接: +- 执行输入的 JavaScript 代码并显示结果,用于打印 node 的依赖版本: -`node --no-lazy --inspect-brk {{文件名}}` +`node {{[-p|--print]}} "process.versions"` + +- 启动检查器并在程序源码解析完成后等待调试器连接: + +`node --no-lazy --inspect-brk {{路径/到/文件}}` diff --git a/pages.zh/common/nop.md b/pages.zh/common/nop.md new file mode 100644 index 00000000000000..9f1acf40403966 --- /dev/null +++ b/pages.zh/common/nop.md @@ -0,0 +1,17 @@ +# nop + +> 检查有效性并以规范的格式漂亮地打印图形。 +> Graphviz 过滤器:`acyclic`、`bcomps`、`comps`、`edgepaint`、`gvcolor`、`gvpack`、`mingle`、`nop`、`sccmap`、`tred` 和 `unflatten`。 +> 更多信息:. + +- 漂亮地打印一个或多个规范格式的图形: + +`nop {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}} > {{路径/到/输出.gv}}` + +- 检查一个或多个图形的有效性,不生成输出图形: + +`nop -p {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}}` + +- 显示 `nop` 的帮助信息: + +`nop -?` diff --git a/pages.zh/common/npm.md b/pages.zh/common/npm.md new file mode 100644 index 00000000000000..6f87d65e42fb54 --- /dev/null +++ b/pages.zh/common/npm.md @@ -0,0 +1,37 @@ +# npm + +> JavaScript 和 Node.js 包管理器。 +> 管理 Node.js 项目及其模块依赖项。 +> 更多信息:. + +- 使用默认值创建一个 `package.json` 文件(省略 `--yes` 以交互方式执行): + +`npm init {{[-y|--yes]}}` + +- 下载 `package.json` 中列出的所有依赖项包: + +`npm install` + +- 下载包的特定版本并将其添加到 `package.json` 中的依赖项列表中: + +`npm install {{包名}}@{{版本号}}` + +- 下载包的最新版本并将其添加到 `package.json` 中的开发依赖项列表中: + +`npm install {{包名}} {{[-D|--save-dev]}}` + +- 下载包的最新版本并全局安装: + +`npm install {{[-g|--global]}} {{包名}}` + +- 卸载包并将其从 `package.json` 中的依赖项列表中删除: + +`npm uninstall {{包名}}` + +- 列出所有本地安装的依赖项: + +`npm list` + +- 列出所有顶级全局安装的包: + +`npm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.zh/common/ntl.md b/pages.zh/common/ntl.md new file mode 100644 index 00000000000000..1a74616ead7f74 --- /dev/null +++ b/pages.zh/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> 这是 `netlify` 命令的一个别名。 + +- 原命令的文档在: + +`tldr netlify` diff --git a/pages.zh/common/nvim.md b/pages.zh/common/nvim.md new file mode 100644 index 00000000000000..d098682815ebd4 --- /dev/null +++ b/pages.zh/common/nvim.md @@ -0,0 +1,38 @@ +# nvim + +> Neovim,基于 Vim 的代码编辑器,使用多种不同的模式来修改文本。 +> 在普通模式(normal mode)下,按下 `` 键以进入插入模式(insert mode)。通过 `` 或 `` 返回普通模式。普通模式下不支持一般的文本输入。 +> 另见:`vim`,`vimtutor`,`vimdiff`。 +> 更多信息:. + +- 打开文件: + +`nvim {{path/to/file}}` + +- 进入文本编辑模式(insert mode): + +`` + +- 复制("yank")或剪切("delete")当前行(使用 `

` 粘贴): + +`{{|}}` + +- 进入普通模式并撤消上次操作: + +`` + +- 在当前文件中使用正则表达式搜索(使用 ``/`` 查看上一个/下一个搜索结果): + +`{{search_pattern}}` + +- 在当前文件中使用正则表达式进行全局替换: + +`<:>%s/{{regular_expression}}/{{replacement}}/g` + +- 进入普通模式,保存文件并退出: + +`{{|<:>x|<:>wq}}` + +- 退出并不保存更改 + +`<:>q!` diff --git a/pages.zh/common/oathtool.md b/pages.zh/common/oathtool.md new file mode 100644 index 00000000000000..c808ce4c4778db --- /dev/null +++ b/pages.zh/common/oathtool.md @@ -0,0 +1,16 @@ +# oathtool + +> OATH 一次性密码工具。 +> 更多信息:. + +- 生成 TOTP 令牌(行为类似于 Google Authenticator): + +`oathtool --totp --base32 "{{密码}}"` + +- 根据给定时间产生特定的 TOTP 令牌: + +`oathtool --totp --now "{{2004-02-29 16:21:42}}" --base32 "{{密码}}"` + +- 验证 TOTP 令牌: + +`oathtool --totp --base32 "{{密码}}" "{{令牌}}"` diff --git a/pages.zh/common/paste.md b/pages.zh/common/paste.md new file mode 100644 index 00000000000000..56f085b59ae2c6 --- /dev/null +++ b/pages.zh/common/paste.md @@ -0,0 +1,24 @@ +# paste + +> 合并文件行。 +> 更多信息:. + +- 将所有行合并为一行,使用 tab 作为分隔符: + +`paste -s {{路径/到/文件}}` + +- 使用指定的分隔符将所有行合并为一行: + +`paste -s -d {{分隔符}} {{路径/到/文件}}` + +- 并排合并两个文件,每个文件以 tab 分隔为单独的列: + +`paste {{路径/到/文件1}} {{路径/到/文件2}}` + +- 并排合并两个文件,每个文件以指定的分隔符分隔为单独的列: + +`paste -d {{分隔符}} {{路径/到/文件1}} {{路径/到/文件2}}` + +- 将两个文件中的所有行,交替合并: + +`paste -d '\n' {{路径/到/文件1}} {{路径/到/文件2}}` diff --git a/pages.zh/common/pdfgrep.md b/pages.zh/common/pdfgrep.md new file mode 100644 index 00000000000000..2d48097e339feb --- /dev/null +++ b/pages.zh/common/pdfgrep.md @@ -0,0 +1,24 @@ +# pdfgrep + +> 在 PDF 文件中搜索文本。 +> 更多信息:. + +- 在 PDF 中查找与关键词匹配的行: + +`pdfgrep {{关键词}} {{文件.pdf}}` + +- 包含每个匹配行的文件名和页码: + +`pdfgrep --with-filename --page-number {{关键词}} {{文件.pdf}}` + +- 对以 "foo" 开头关键词搜索,返回前 3 个匹配项,不区分大小写: + +`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{文件.pdf}}` + +- 在当前目录中扩展名为.pdf 的文件中递归查找关键词: + +`pdfgrep --recursive {{关键词}}` + +- 在与当前目录中特定文件名 "*book.pdf" 匹配的文件上递归查找关键词: + +`pdfgrep --recursive --include {{'*book.pdf'}} {{关键词}}` diff --git a/pages.zh/common/picocom.md b/pages.zh/common/picocom.md new file mode 100644 index 00000000000000..b4ea9bd8440cbb --- /dev/null +++ b/pages.zh/common/picocom.md @@ -0,0 +1,24 @@ +# picocom + +> 模拟串行端口的极简程序。 +> 更多信息:. + +- 使用默认波特率 9600 连接到串行控制台: + +`sudo picocom {{/dev/ttyXYZ}}` + +- 以指定波特率连接到串行控制台: + +`sudo picocom {{/dev/ttyXYZ}} {{[-b|--baud]}} {{波特率}}` + +- 映射特殊字符(例如:将 `LF` 映射为 `CRLF`): + +`sudo picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}` + +- 退出 picocom: + +`` + +- 显示帮助信息: + +`picocom {{[-h|--help]}}` diff --git a/pages.zh/common/ping.md b/pages.zh/common/ping.md new file mode 100644 index 00000000000000..04bb0411034423 --- /dev/null +++ b/pages.zh/common/ping.md @@ -0,0 +1,32 @@ +# ping + +> 向网络主机发送 ICMP (ECHO_REQUEST) 数据包。 +> 更多信息:. + +- Ping 主机: + +`ping {{主机地址}}` + +- 仅 Ping 主机特定次数: + +`ping -c {{次数}} {{主机地址}}` + +- Ping 主机,指定请求之间的间隔(以秒为单位)(默认为 1 秒): + +`ping -i {{间隔秒数}} {{主机地址}}` + +- Ping 主机而不尝试查找地址的符号名称: + +`ping -n {{主机地址}}` + +- Ping 主机并在收到数据包时响铃(如果您的终端支持): + +`ping -a {{主机地址}}` + +- 如果没有收到响应,也显示一条消息: + +`ping -O {{主机地址}}` + +- Ping 主机,指定 ping 次数、每个数据包的响应超时 (`-W`)和整个 ping 运行的总时间限制 (`-w`) : + +`ping -c {{次数}} -W {{响应超时秒数}} -w {{总的等待超时秒数}} {{主机地址}}` diff --git a/pages.zh/common/pio-init.md b/pages.zh/common/pio-init.md new file mode 100644 index 00000000000000..6c786804fe9400 --- /dev/null +++ b/pages.zh/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> 这是 `pio project` 命令的一个别名。 + +- 原命令的文档在: + +`tldr pio project` diff --git a/pages.zh/common/piodebuggdb.md b/pages.zh/common/piodebuggdb.md new file mode 100644 index 00000000000000..1209071a303845 --- /dev/null +++ b/pages.zh/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> 这是 `pio debug` 命令的一个别名。 + +- 原命令的文档在: + +`tldr pio debug` diff --git a/pages.zh/common/pip-install.md b/pages.zh/common/pip-install.md new file mode 100644 index 00000000000000..2dd8fda2c62c5b --- /dev/null +++ b/pages.zh/common/pip-install.md @@ -0,0 +1,24 @@ +# pip install + +> 用于安装 Python 包。 +> 更多信息:. + +- 安装包: + +`pip install {{包名}}` + +- 安装指定版本的包: + +`pip install {{包名}}=={{版本号}}` + +- 通过指定的依赖文件安装(通常文件名是 requirements.txt): + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` + +- 通过 URL 或源码存档文件安装(如 *.tar.gz 或 *.whl): + +`pip install {{[-f|--find-links]}} {{url|存档文件}}` + +- 在本地的项目路径下以开发模式(editable)安装(通常是读取 pyproject.toml 或 setup.py 文件): + +`pip install {{[-e|--editable]}} {{.}}` diff --git a/pages.zh/common/pip.md b/pages.zh/common/pip.md new file mode 100644 index 00000000000000..58d2ee9e03a75a --- /dev/null +++ b/pages.zh/common/pip.md @@ -0,0 +1,32 @@ +# pip + +> Python 主流的包安装管理工具。 +> 更多信息:. + +- 安装包(通过 `pip install` 查看更多安装示例): + +`pip install {{包名}}` + +- 安装包到用户目录而不是系统范围的默认位置: + +`pip install --user {{包名}}` + +- 升级包: + +`pip install {{[-U|--upgrade]}} {{包名}}` + +- 卸载包: + +`pip uninstall {{包名}}` + +- 将已安装的包以 Requirements 的格式保存文件中: + +`pip freeze > {{requirements.txt}}` + +- 查看包的详细信息: + +`pip show {{包名}}` + +- 通过依赖文件(如 requirements.txt)来进行安装: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` diff --git a/pages.zh/common/platformio.md b/pages.zh/common/platformio.md new file mode 100644 index 00000000000000..29b84bffe841f4 --- /dev/null +++ b/pages.zh/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> 这是 `pio` 命令的一个别名。 + +- 原命令的文档在: + +`tldr pio` diff --git a/pages.zh/common/pm2.md b/pages.zh/common/pm2.md new file mode 100644 index 00000000000000..3dc4569a9715df --- /dev/null +++ b/pages.zh/common/pm2.md @@ -0,0 +1,33 @@ +# pm2 + +> Node.js 的进程管理工具。 +> 用于日志管理、监控和配置进程。 +> 更多信息:. + +- 启动一个进程并指定名称,以便后续操作使用: + +`pm2 start {{app.js}} --name {{应用名称}}` + +- 列出所有进程: + +`pm2 list` + +- 监控所有进程: + +`pm2 monit` + +- 停止一个进程: + +`pm2 stop {{应用名称}}` + +- 重启一个进程: + +`pm2 restart {{应用名称}}` + +- 保存当前所有进程,便于稍后恢复: + +`pm2 save` + +- 恢复之前保存的进程: + +`pm2 resurrect` diff --git a/pages.zh/common/pnpm.md b/pages.zh/common/pnpm.md new file mode 100644 index 00000000000000..d2d1299ab799b3 --- /dev/null +++ b/pages.zh/common/pnpm.md @@ -0,0 +1,37 @@ +# pnpm + +> 快速、节省磁盘空间的 Node.js 包管理器。 +> 管理 Node.js 项目和其模块依赖。 +> 更多信息:. + +- 创建 `package.json` 文件: + +`pnpm init` + +- 下载 `package.json` 中列出的所有依赖包: + +`pnpm install` + +- 下载指定版本的包并添加至 `package.json` 的依赖列表: + +`pnpm add {{模块名}}@{{版本}}` + +- 下载包并添加至 `package.json` 的开发依赖列表: + +`pnpm add {{[-D|--save-dev]}} {{模块名}}` + +- 下载并全局安装包: + +`pnpm add {{[-g|--global]}} {{模块名}}` + +- 卸载包并将其从 `package.json` 的依赖列表删除: + +`pnpm remove {{模块名}}` + +- 打印本地安装的模块树: + +`pnpm list` + +- 列出顶级全局安装的模块: + +`pnpm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages.zh/common/popd.md b/pages.zh/common/popd.md new file mode 100644 index 00000000000000..ab7adbd3bcc91b --- /dev/null +++ b/pages.zh/common/popd.md @@ -0,0 +1,21 @@ +# popd + +> 通过 pushd shell 内置程序删除目录堆栈中的目录。 +> 另见 `pushd` 将目录放入堆栈和 `dirs` 显示目录堆栈内容。 +> 更多信息:. + +- 从堆栈中删除顶部目录,并用 `cd` 跳转到该目录: + +`popd` + +- 删除第 N 个目录(从零开始,以用 `dirs` 打印的列表左侧开始): + +`popd +N` + +- 删除第 N 个目录(从零开始,以用 `dirs` 打印的列表右侧开始): + +`popd -N` + +- 删除第 1 个目录(从零开始,以用 `dirs` 打印的列表左侧开始): + +`popd -n` diff --git a/pages.zh/common/powershell.md b/pages.zh/common/powershell.md new file mode 100644 index 00000000000000..9bc5aabfa77902 --- /dev/null +++ b/pages.zh/common/powershell.md @@ -0,0 +1,13 @@ +# powershell + +> 此命令可能会被误认为是 PowerShell 的跨平台版本(以前称为 PowerShell Core),后者使用 `pwsh` 而不是 `powershell`。 +> Windows 中原始的 `powershell` 命令仍然可用于使用传统的 Windows PowerShell 版本(5.1 及以下版本)。 +> 更多信息:. + +- 查看最新的跨平台版本 PowerShell(版本 6 及以上)的命令文档: + +`tldr pwsh` + +- 查看传统 Windows PowerShell(版本 5.1 及以下)的命令文档: + +`tldr powershell {{[-p|--platform]}} windows` diff --git a/pages.zh/common/print.md b/pages.zh/common/print.md new file mode 100644 index 00000000000000..f3bd7446825bae --- /dev/null +++ b/pages.zh/common/print.md @@ -0,0 +1,15 @@ +# print + +> `print` 可以引用具有相同名称的多个命令. + +- 查看 Zsh 内置命令的文档: + +`tldr print.zsh` + +- 查看 `run-mailcap` 的 `print` 别名的文档: + +`tldr --platform linux print.runmailcap` + +- 查看在 Windows 上打印文本文件的文档: + +`tldr --platform windows print.win` diff --git a/pages.zh/common/print.zsh.md b/pages.zh/common/print.zsh.md new file mode 100644 index 00000000000000..963273ffd7cb81 --- /dev/null +++ b/pages.zh/common/print.zsh.md @@ -0,0 +1,25 @@ +# print + +> Z Shell (`zsh`) 内置。打印参数,类似于 `echo`。 +> 另请参阅:`echo`、`printf`、`zsh`。 +> 更多信息:. + +- 打印输入: + +`print "文本1" "文本2"` + +- 以换行符分隔打印: + +`print -l "第一行" "第二行" "第三行"` + +- 不带尾随换行符打印: + +`print -n "文本"; print "文本2"` + +- 启用反斜杠转义: + +`print -e "第一行\n第二行"` + +- 按照 `printf` 所述打印参数(为了在 shell 之间实现更好的可移植性,请考虑改用 `printf` 命令): + +`print -f "%s 今年 %d 岁了。\n" "小明" 30` diff --git a/pages.zh/common/printenv.md b/pages.zh/common/printenv.md new file mode 100644 index 00000000000000..83a60975b1bb27 --- /dev/null +++ b/pages.zh/common/printenv.md @@ -0,0 +1,16 @@ +# printenv + +> 打印所有或环境变量的值。 +> 更多信息:. + +- 显示所有环境变量的键值对: + +`printenv` + +- 显示特定变量的值: + +`printenv {{HOME}}` + +- 显示变量的值并以 NUL 而不是换行符结尾: + +`printenv {{[-0|--null]}} {{HOME}}` diff --git a/pages.zh/common/printf.md b/pages.zh/common/printf.md new file mode 100644 index 00000000000000..aa4a6e56995d43 --- /dev/null +++ b/pages.zh/common/printf.md @@ -0,0 +1,28 @@ +# printf + +> 格式化并打印文本。 +> 更多信息:. + +- 打印文本消息: + +`printf "{{%s\n}}" "{{文本}}"` + +- 以粗体蓝色打印整数: + +`printf "{{\e[1;34m%.3d\e[0m\n}}" {{42}}` + +- 打印带有 Unicode 欧元符号的浮点数: + +`printf "{{\u20AC %.2f\n}}" {{123.4}}` + +- 打印由环境变量组成的文本消息: + +`printf "{{var1: %s\tvar2: %s\n}}" "{{$VAR1}}" "{{$VAR2}}"` + +- 将格式化消息存储在变量中(不适用于 Zsh): + +`printf -v {{变量名}} {{"这是 %s = %d年\n" "今" 2016}}` + +- 打印十六进制、八进制和科学计数法数字: + +`printf "{{hex=%x octal=%o scientific=%e}}" 0x{{FF}} 0{{377}} {{100000}}` diff --git a/pages.zh/common/protoc.md b/pages.zh/common/protoc.md new file mode 100644 index 00000000000000..69e37662d56af7 --- /dev/null +++ b/pages.zh/common/protoc.md @@ -0,0 +1,28 @@ +# protoc + +> 解析 Google Protobuf `.proto` 文件并生成指定语言的输出。 +> 更多信息:. + +- 从 `.proto` 文件生成 Python 代码: + +`protoc --python_out={{路径/到/输出目录}} {{输入文件.proto}}` + +- 从一个导入其他 `.proto` 文件的 `.proto` 文件生成 Java 代码: + +`protoc --java_out={{路径/到/输出目录}} --proto_path={{路径/到/导入搜索路径}} {{输入文件.proto}}` + +- 生成多种语言的代码: + +`protoc --csharp_out={{路径/到/c#_输出目录}} --js_out={{路径/到/js_输出目录}} {{输入文件.proto}}` + +- 从 `.proto` 文件将文本格式消息编码为协议消息: + +`protoc --encode={{类型名称}} {{输入文件.proto}} < {{消息.txt}}` + +- 从 `.proto` 文件将协议消息解码为文本格式: + +`protoc --decode={{类型名称}} {{输入文件.proto}} < {{消息.bin}}` + +- 将协议消息解码为原始标签/值对: + +`protoc --decode_raw < {{消息.bin}}` diff --git a/pages.zh/common/ps.md b/pages.zh/common/ps.md new file mode 100644 index 00000000000000..ec3c87c633893c --- /dev/null +++ b/pages.zh/common/ps.md @@ -0,0 +1,32 @@ +# ps + +> 提供正在运行的进程的信息。 +> 更多信息:. + +- 列出所有正在运行的进程: + +`ps aux` + +- 列出所有正在运行的进程,包括完整的命令字符串: + +`ps auxww` + +- 查找与字符串匹配的进程: + +`ps aux | grep {{字符串}}` + +- 以 extra full 格式列出当前用户的所有进程: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) -F` + +- 以树形方式列出当前用户的所有进程: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) f` + +- 获取一个进程的父进程 ID: + +`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{进程 ID}}` + +- 按内存使用量对进程进行排序: + +`ps --sort size` diff --git a/pages.zh/common/ptpython3.md b/pages.zh/common/ptpython3.md new file mode 100644 index 00000000000000..c5a78346fa8413 --- /dev/null +++ b/pages.zh/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> 这是 `ptpython` 命令的一个别名。 + +- 原命令的文档在: + +`tldr ptpython` diff --git a/pages.zh/common/pushd.md b/pages.zh/common/pushd.md new file mode 100644 index 00000000000000..a047fc6eb1fafc --- /dev/null +++ b/pages.zh/common/pushd.md @@ -0,0 +1,21 @@ +# pushd + +> 将目录放在堆栈上,以便以后访问。 +> 另见 `popd` 切换回原始目录和 `dirs` 显示目录堆栈内容。 +> 更多信息:. + +- 切换到目录并将其添加到堆栈上: + +`pushd {{路径/到/目录}}` + +- 切换堆栈上的第一个和第二个目录: + +`pushd` + +- 通过使第 5 个元素成为堆栈的顶部来旋转堆栈: + +`pushd +4` + +- 将堆栈向左旋转 4 次(当前目录通过替换第 5 个元素保持在顶部): + +`pushd -n +4` diff --git a/pages.zh/common/pwgen.md b/pages.zh/common/pwgen.md new file mode 100644 index 00000000000000..cf6e0499d954be --- /dev/null +++ b/pages.zh/common/pwgen.md @@ -0,0 +1,16 @@ +# pwgen + +> 生成可拼写发音的密码。 +> 更多信息:. + +- 生成指定长度的随机密码: + +`pwgen -y {{长度}}` + +- 生成安全、难以记忆的密码: + +`pwgen -s {{长度}}` + +- 生成至少包含一个大写字母的密码: + +`pwgen -c {{长度}}` diff --git a/pages.zh/common/pyenv.md b/pages.zh/common/pyenv.md new file mode 100644 index 00000000000000..4c6b670b0931ca --- /dev/null +++ b/pages.zh/common/pyenv.md @@ -0,0 +1,32 @@ +# pyenv + +> 在多个 Python 版本之间轻松切换。 +> 更多信息:. + +- 列出所有可用的命令: + +`pyenv commands` + +- 列出 `${PYENV_ROOT}/versions` 目录下的所有 Python 版本: + +`pyenv versions` + +- 列出所有可以从上游安装的 Python 版本: + +`pyenv install --list` + +- 在 `${PYENV_ROOT}/versions` 目录下安装一个 Python 版本: + +`pyenv install {{2.7.10}}` + +- 在 `${PYENV_ROOT}/versions` 目录下卸载一个 Python 版本: + +`pyenv uninstall {{2.7.10}}` + +- 设置在当前机器中全局使用的 Python 版本: + +`pyenv global {{2.7.10}}` + +- 设置在当前目录及其下所有目录中使用的 Python 版本: + +`pyenv local {{2.7.10}}` diff --git a/pages.zh/common/python.md b/pages.zh/common/python.md new file mode 100644 index 00000000000000..95211c1d8783c8 --- /dev/null +++ b/pages.zh/common/python.md @@ -0,0 +1,36 @@ +# python + +> Python 语言解释器。 +> 更多信息:. + +- 启动 REPL(交互式 shell): + +`python` + +- 执行特定 Python 文件: + +`python {{路径/到/文件.py}}` + +- 执行特定 Python 文件后进入 REPL: + +`python -i {{路径/到/文件.py}}` + +- 执行 Python 表达式: + +`python -c "{{表达式}}"` + +- 运行特定模块的脚本: + +`python -m {{模块}} {{参数}}` + +- 使用 `pip` 安装包: + +`python -m pip install {{包}}` + +- 互动调试 Python 脚本: + +`python -m pdb {{路径/到/文件.py}}` + +- 在当前目录中的端口 8000 上启动内置的 HTTP 服务器: + +`python -m http.server` diff --git a/pages.zh/common/python3.md b/pages.zh/common/python3.md new file mode 100644 index 00000000000000..71d0165e0606d5 --- /dev/null +++ b/pages.zh/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> 这是 `python` 命令的一个别名。 + +- 原命令的文档在: + +`tldr python` diff --git a/pages.zh/common/q.md b/pages.zh/common/q.md new file mode 100644 index 00000000000000..dc5d9aefd36b75 --- /dev/null +++ b/pages.zh/common/q.md @@ -0,0 +1,28 @@ +# q + +> 在 CSV 和 TSV 文件上执行类似 SQL 的查询。 +> 更多信息:. + +- 指定分隔符为 ',' 来查询 CSV 文件: + +`q -d',' "SELECT * from {{路径/到/文件}}"` + +- 查询 TSV 文件: + +`q -t "SELECT * from {{路径/到/文件}}"` + +- 查询带有表头行的文件: + +`q -d{{分隔符}} -H "SELECT * from {{路径/到/文件}}"` + +- 从 `stdin` 读取数据;查询中的 '-' 代表来自 `stdin` 的数据: + +`{{输出}} | q "select * from -"` + +- 在列 `c1` 上连接两个文件(在例子中别名为 `f1` 和 `f2`): + +`q "SELECT * FROM {{路径/到/文件1}} f1 JOIN {{路径/到/文件2}} f2 ON (f1.c1 = f2.c1)"` + +- 使用包含输出标题行的输出分隔符来格式化输出(注意:命令将根据输入文件标题或在查询中覆盖的列别名输出列名): + +`q -D{{分隔符}} -O "SELECT {{列}} as {{别名}} from {{路径/到/文件}}"` diff --git a/pages.zh/common/qalc.md b/pages.zh/common/qalc.md new file mode 100644 index 00000000000000..b6bd76a66e7e02 --- /dev/null +++ b/pages.zh/common/qalc.md @@ -0,0 +1,29 @@ +# qalc + +> 强大且易用的命令行计算器。 +> 请参阅:`bc`。 +> 更多信息:. + +- 以交互模式启动: + +`qalc {{--interactive}}` + +- 以简洁模式启动(仅输出结果): + +`qalc --terse` + +- 更新货币兑换率: + +`qalc --exrates` + +- 非交互地执行计算: + +`qalc {{66+99|2^4|6 feet to cm|1 bitcoin to USD|20 kmph to mph|...}}` + +- 列出所有支持的函数/前缀/单位/变量: + +`qalc --{{list-functions|list-prefixes|list-units|list-variables}}` + +- 从文件中执行命令: + +`qalc --file {{路径/到/文件}}` diff --git a/pages.zh/common/qc.md b/pages.zh/common/qc.md new file mode 100644 index 00000000000000..a9b68858c5bf28 --- /dev/null +++ b/pages.zh/common/qc.md @@ -0,0 +1,25 @@ +# qc + +> 管理和执行存储在 QOwnNotes 笔记中的命令片段。 +> 请参阅:`qownnotes`. +> 更多信息:. + +- 配置代码片段管理器,例如设置来自 QOwnNotes 的安全令牌: + +`qc configure` + +- 搜索并打印存储在 `Commands.md` 笔记中的命令片段以及所有标记为 `commands` 的笔记: + +`qc search` + +- 执行一个片段并在执行前显示命令: + +`qc exec --command` + +- 执行上一个片段并在执行前显示命令: + +`qc exec --command --last` + +- 在 QOwnNotes 中切换笔记文件夹: + +`qc switch` diff --git a/pages.zh/common/qcp.md b/pages.zh/common/qcp.md new file mode 100644 index 00000000000000..007125d114e90c --- /dev/null +++ b/pages.zh/common/qcp.md @@ -0,0 +1,16 @@ +# qcp + +> 使用默认文本编辑器复制文件,以定义文件名。 +> 更多信息:. + +- 复制单个文件(在编辑器中打开左侧为源文件名,右侧为目标文件名的界面): + +`qcp {{源文件}}` + +- 复制多个 JPEG 文件: + +`qcp {{*.jpg}}` + +- 复制文件,但在编辑器中交换源文件名和目标文件名的位置: + +`qcp --option swap {{*.jpg}}` diff --git a/pages.zh/common/qdbus.md b/pages.zh/common/qdbus.md new file mode 100644 index 00000000000000..31b68c02d019c7 --- /dev/null +++ b/pages.zh/common/qdbus.md @@ -0,0 +1,36 @@ +# qdbus + +> 进程间通信 (IPC) 和远程过程调用 (RPC) 机制,最初在 Linux 上开发。 +> 更多信息:. + +- 列出可用的服务名称: + +`qdbus` + +- 列出指定服务的对象路径: + +`qdbus {{服务名}}` + +- 列出指定对象可用的方法、信号和属性: + +`qdbus {{服务名}} {{路径/到/对象}}` + +- 执行指定方法,传递参数并显示返回值: + +`qdbus {{服务名}} {{路径/到/对象}} {{方法名}} {{参数1}} {{参数2}}` + +- 显示在 KDE Plasma 会话中的当前亮度值: + +`qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness}}` + +- 设置 KDE Plasma 会话中的特定亮度: + +`qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness}} {{5000}}` + +- 在 KDE Plasma 会话中调用音量增大快捷键: + +`qdbus {{org.kde.kglobalaccel}} {{/component/kmix}} {{invokeShortcut}} "{{increase_volume}}"` + +- 优雅地注销并然后选择不执行任何操作、重启或关机: + +`qdbus {{org.kde.Shutdown}} {{/Shutdown}} {{logout|logoutAndReboot|logoutAndShutdown}}` diff --git a/pages.zh/common/qemu-img.md b/pages.zh/common/qemu-img.md new file mode 100644 index 00000000000000..0d8df2865a7152 --- /dev/null +++ b/pages.zh/common/qemu-img.md @@ -0,0 +1,24 @@ +# qemu-img + +> 创建和操作 Quick Emulator 虚拟硬盘镜像。 +> 更多信息:. + +- 创建一个指定大小(以 GB 为单位)的磁盘镜像: + +`qemu-img create {{镜像名称.img}} {{gigabytes}}G` + +- 显示有关磁盘镜像的信息: + +`qemu-img info {{镜像名称.img}}` + +- 增加或减少镜像大小: + +`qemu-img resize {{镜像名称.img}} {{gigabytes}}G` + +- 导出指定磁盘镜像每个扇区的分配状态: + +`qemu-img map {{镜像名称.img}}` + +- 将 VMware 的 .vmdk 磁盘镜像转换为 KVM 的 .qcow2 磁盘镜像: + +`qemu-img convert -f {{vmdk}} -O {{qcow2}} {{路径/到/文件.vmdk}} {{路径/到/文件.qcow2}}` diff --git a/pages.zh/common/qmmp.md b/pages.zh/common/qmmp.md new file mode 100644 index 00000000000000..b425ac0fffa4cb --- /dev/null +++ b/pages.zh/common/qmmp.md @@ -0,0 +1,33 @@ +# qmmp + +> 具有类似于 Winamp 或 XMMS 界面的音频播放器。 +> 请参阅:`clementine`,`ncmpcpp`,`cmus`。 +> 更多信息:. + +- 启动 GUI: + +`qmmp` + +- 开始或停止当前播放的音频: + +`qmmp {{[-t|--play-pause]}}` + +- 向前或向后移动指定的秒数: + +`qmmp --seek-{{fwd|bwd}} {{秒数}}` + +- 播放下一个音频文件: + +`qmmp --next` + +- 播放上一个音频文件: + +`qmmp --previous` + +- 显示当前音量: + +`qmmp --volume-status` + +- 增加或减少当前播放音频的音量 5%: + +`qmmp --volume-{{inc|dec}}` diff --git a/pages.zh/common/qmv.md b/pages.zh/common/qmv.md new file mode 100644 index 00000000000000..9c3d64ac50ae88 --- /dev/null +++ b/pages.zh/common/qmv.md @@ -0,0 +1,28 @@ +# qmv + +> 使用默认文本编辑器定义文件名来移动文件和目录。 +> 更多信息:. + +- 移动单个文件(在编辑器中打开左侧为源文件名,右侧为目标文件名): + +`qmv {{源文件}}` + +- 移动多个 JPEG 文件: + +`qmv {{*.jpg}}` + +- 移动多个目录: + +`qmv {{[-d|--directory]}} {{路径/到/目录1 路径/到/目录2 路径/到/目录3 ...}}` + +- 移动目录中的所有文件和目录: + +`qmv {{[-R|--recursive]}} {{路径/到/目录}}` + +- 移动文件,但在编辑器中交换源文件名和目标文件名的位置: + +`qmv {{[-o|--option]}} swap {{*.jpg}}` + +- 重命名当前目录中的所有文件和文件夹,但在编辑器中仅显示目标文件名(可以将其视为一种简单模式): + +`qmv {{[-f|--format]}} do .` diff --git a/pages.zh/common/qoitopam.md b/pages.zh/common/qoitopam.md new file mode 100644 index 00000000000000..f61ad2d5ffa920 --- /dev/null +++ b/pages.zh/common/qoitopam.md @@ -0,0 +1,8 @@ +# qoitopam + +> 将 QOI 图像(Quite OK Image 格式)转换为 Netpbm。 +> 更多信息:. + +- 将 QOI 图像转换为 Netpbm: + +`qoitopam {{路径/到/文件.qoi}} > {{路径/到/文件.pnm}}` diff --git a/pages.zh/common/qownnotes.md b/pages.zh/common/qownnotes.md new file mode 100644 index 00000000000000..9f00d67abd9b8f --- /dev/null +++ b/pages.zh/common/qownnotes.md @@ -0,0 +1,22 @@ +# qownnotes + +> Markdown 笔记应用程序。 +> 可以选择与 Nextcloud 和 ownCloud 的笔记应用程序集成。 +> 请参阅:`qc`,用于管理命令代码片段。 +> 更多信息:. + +- 以便携模式运行: + +`QOwnNotes --portable` + +- 在 GitHub Markdown 中转储应用程序和环境的设置信息: + +`QOwnNotes --dump-settings` + +- 为设置和内部文件指定不同的上下文: + +`QOwnNotes --session {{test}}` + +- 应用程序启动后触发一个菜单操作: + +`QOwnNotes --action {{actionShow_Todo_List}}` diff --git a/pages.zh/common/qpdf.md b/pages.zh/common/qpdf.md new file mode 100644 index 00000000000000..bfd5c698942da9 --- /dev/null +++ b/pages.zh/common/qpdf.md @@ -0,0 +1,28 @@ +# qpdf + +> 多功能 PDF 转换软件。 +> 更多信息:. + +- 从一个 PDF 文件中提取第 1-3 页、第 5 页和第 6-10 页,然后另存为一个新文件: + +`qpdf --empty --pages {{路径/到/输入.pdf}} {{1-3,5,6-10}} -- {{路径/到/输出.pdf}}` + +- 合并(连接)多个 PDF 文件的所有页面,并将结果保存为一个新 PDF: + +`qpdf --empty --pages {{路径/到/文件1.pdf 文件2.pdf ...}} -- {{路径/到/输出.pdf}}` + +- 合并(连接)多个 PDF 文件中指定的页面,并将结果保存为一个新 PDF: + +`qpdf --empty --pages {{路径/到/文件1.pdf}} {{1,6-8}} {{路径/到/文件2.pdf}} {{3,4,5}} -- {{路径/到/输出.pdf}}` + +- 将每组 `n` 页写入一个单独的输出文件,使用给定的文件名模式: + +`qpdf --split-pages={{n}} {{路径/到/输入.pdf}} {{路径/到/输出_%d.pdf}}` + +- 旋转某些页面的 PDF 以给定角度: + +`qpdf --rotate={{90:2,4,6}} --rotate={{180:7-8}} {{路径/到/输入.pdf}} {{路径/到/输出.pdf}}` + +- 移除密码保护文件中的密码: + +`qpdf --password={{密码}} --decrypt {{路径/到/输入.pdf}} {{路径/到/输出.pdf}}` diff --git a/pages.zh/common/qr.md b/pages.zh/common/qr.md new file mode 100644 index 00000000000000..3be7911fe32abf --- /dev/null +++ b/pages.zh/common/qr.md @@ -0,0 +1,12 @@ +# qr + +> 在终端中使用 ANSI VT-100 转义代码生成二维码。 +> 更多信息:. + +- 生成一个二维码: + +`echo "{{数据}}" | qr` + +- 指定错误纠正等级(默认为 M): + +`echo "{{数据}}" | qr --error-correction={{L|M|Q|H}}` diff --git a/pages.zh/common/qrencode.md b/pages.zh/common/qrencode.md new file mode 100644 index 00000000000000..7d3f2d3492147a --- /dev/null +++ b/pages.zh/common/qrencode.md @@ -0,0 +1,20 @@ +# qrencode + +> 二维码生成器。支持 PNG 和 EPS 格式。 +> 更多信息:. + +- 将字符串转换为二维码并保存到输出文件: + +`qrencode -o {{路径/到/输出文件.png}} {{字符串}}` + +- 将输入文件转换为二维码并保存到输出文件: + +`qrencode -o {{路径/到/输出文件.png}} -r {{路径/到/输入文件}}` + +- 将字符串转换为二维码并在终端中打印: + +`qrencode -t ansiutf8 {{字符串}}` + +- 从管道输入转换为二维码并在终端中打印: + +`echo {{字符串}} | qrencode -t ansiutf8` diff --git a/pages.zh/common/qrttoppm.md b/pages.zh/common/qrttoppm.md new file mode 100644 index 00000000000000..536bb77b53c6eb --- /dev/null +++ b/pages.zh/common/qrttoppm.md @@ -0,0 +1,8 @@ +# qrttoppm + +> 将 QRT 光线追踪文件转换为 PPM 图像。 +> 更多信息:. + +- 将一个 QRT 文件转换为 PPM 图像: + +`qrttoppm {{路径/到/文件.qrt}} > {{路径/到/图像.ppm}}` diff --git a/pages.zh/common/qtcreator.md b/pages.zh/common/qtcreator.md new file mode 100644 index 00000000000000..38a13aa770e395 --- /dev/null +++ b/pages.zh/common/qtcreator.md @@ -0,0 +1,28 @@ +# qtcreator + +> 跨平台的 Qt 应用程序集成开发环境。 +> 更多信息:. + +- 启动 Qt Creator: + +`qtcreator` + +- 启动 Qt Creator 并恢复上次会话: + +`qtcreator -lastsession` + +- 启动 Qt Creator 并且不加载指定的插件: + +`qtcreator -noload {{指定插件}}` + +- 启动 Qt Creator 并且不加载任何插件: + +`qtcreator -noload {{all}}` + +- 在演示模式下启动 Qt Creator,并显示键盘快捷键的弹出提示: + +`qtcreator -presentationMode` + +- 启动 Qt Creator 并显示来自特定提交的差异: + +`qtcreator -git-show {{提交}}` diff --git a/pages.zh/common/quarkus.md b/pages.zh/common/quarkus.md new file mode 100644 index 00000000000000..1924d6fd99c049 --- /dev/null +++ b/pages.zh/common/quarkus.md @@ -0,0 +1,36 @@ +# quarkus + +> 创建 Quarkus 项目,管理扩展并执行基本的构建和开发任务。 +> 更多信息:. + +- 在一个新目录中创建一个新的应用程序项目: + +`quarkus create app {{项目名称}}` + +- 在实时编码模式下运行当前项目: + +`quarkus dev` + +- 运行应用程序: + +`quarkus run` + +- 在连续测试模式下运行当前项目: + +`quarkus test` + +- 向当前项目添加一个或多个扩展: + +`quarkus extension add {{扩展名1 扩展名2 ...}}` + +- 使用 Docker 构建容器镜像: + +`quarkus image build docker` + +- 将应用程序部署到 Kubernetes: + +`quarkus deploy kubernetes` + +- 更新项目: + +`quarkus update` diff --git a/pages.zh/common/quarto.md b/pages.zh/common/quarto.md new file mode 100644 index 00000000000000..5e07998cb26419 --- /dev/null +++ b/pages.zh/common/quarto.md @@ -0,0 +1,24 @@ +# quarto + +> 一个基于 Pandoc 的开源科学和技术出版系统。 +> 更多信息:. + +- 创建一个新项目: + +`quarto create-project {{路径/到/目录}} --type {{book|default|website}}` + +- 创建一个新的博客网站: + +`quarto create-project {{路径/到/目录}} --type {{website}} --template {{blog}}` + +- 将输入文件渲染为不同格式: + +`quarto render {{路径/到/文件.{{qmd|rmd|ipynb}}}} --to {{html|pdf|docx}}` + +- 渲染并预览文档或网站: + +`quarto preview {{路径/到/目录 | 路径/到/文件}}` + +- 发布文档或项目到 Quarto Pub、Github Pages、RStudio Connect 或 Netlify: + +`quarto publish {{quarto-pub|gh-pages|connect|netlify}}` diff --git a/pages.zh/common/quilt.md b/pages.zh/common/quilt.md new file mode 100644 index 00000000000000..b6b61c8bc5d69e --- /dev/null +++ b/pages.zh/common/quilt.md @@ -0,0 +1,28 @@ +# quilt + +> 管理一系列的补丁。 +> 更多信息:. + +- 从文件中导入一个已有补丁: + +`quilt import {{路径/到/文件名.patch}}` + +- 创建一个新补丁: + +`quilt new {{文件名.patch}}` + +- 将文件添加到当前补丁: + +`quilt add {{路径/到/文件}}` + +- 编辑文件后,用更改刷新当前补丁: + +`quilt refresh` + +- 应用系列文件中的所有补丁: + +`quilt push -a` + +- 移除所有已应用的补丁: + +`quilt pop -a` diff --git a/pages.zh/common/quota.md b/pages.zh/common/quota.md new file mode 100644 index 00000000000000..7587f575a83a37 --- /dev/null +++ b/pages.zh/common/quota.md @@ -0,0 +1,24 @@ +# quota + +> 显示用户的磁盘空间使用情况和分配限制。 +> 更多信息:. + +- 以人类可读的单位显示当前用户的磁盘配额: + +`quota -s` + +- 详细输出(同时显示未分配存储的文件系统上的配额): + +`quota -v` + +- 安静输出(仅显示使用超过配额的文件系统上的配额): + +`quota -q` + +- 打印当前用户所属组的配额: + +`quota -g` + +- 显示其他用户的磁盘配额: + +`sudo quota -u {{用户名}}` diff --git a/pages.zh/common/qutebrowser.md b/pages.zh/common/qutebrowser.md new file mode 100644 index 00000000000000..18acf63c69cb7c --- /dev/null +++ b/pages.zh/common/qutebrowser.md @@ -0,0 +1,24 @@ +# qutebrowser + +> 一个基于 PyQt5 的键盘驱动、类似 vim 的浏览器。 +> 更多信息:. + +- 使用指定存储目录打开 qutebrowser: + +`qutebrowser --basedir {{路径/到/目录}}` + +- 使用临时设置打开 qutebrowser 实例: + +`qutebrowser --set {{content.geolocation}} {{true|false}}` + +- 恢复一个 qutebrowser 实例的指定会话: + +`qutebrowser --restore {{会话名称}}` + +- 启动 qutebrowser,使用指定方式打开所有 URL: + +`qutebrowser --target {{auto|tab|tab-bg|tab-silent|tab-bg-silent|window|private-window}}` + +- 使用临时基础目录打开 qutebrowser,并以 JSON 格式将日志打印到 `stdout`: + +`qutebrowser --temp-basedir --json-logging` diff --git a/pages.zh/common/r2.md b/pages.zh/common/r2.md new file mode 100644 index 00000000000000..c774bc1d292998 --- /dev/null +++ b/pages.zh/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> 这是 `radare2` 命令的一个别名。 + +- 原命令的文档在: + +`tldr radare2` diff --git a/pages.zh/common/rcat.md b/pages.zh/common/rcat.md new file mode 100644 index 00000000000000..792c30ffdbd746 --- /dev/null +++ b/pages.zh/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> 这是 `rc` 命令的一个别名。 + +- 原命令的文档在: + +`tldr rc` diff --git a/pages.zh/common/read.md b/pages.zh/common/read.md new file mode 100644 index 00000000000000..77da529e9f940a --- /dev/null +++ b/pages.zh/common/read.md @@ -0,0 +1,36 @@ +# read + +> 从标准输入(或文件)读取一行并将单词分配给变量。 +> 更多信息:. + +- 读取键盘输入的数据赋值给变量: + +`read {{变量}}` + +- 将您输入的每一行存储为数组一个元素: + +`read -a {{数组}}` + +- 指定要读取的字符数,将数据赋值给变量: + +`read -n {{字符数}} {{变量}}` + +- 将多个数据依次赋值给多个变量: + +`read {{_ 变量1 _ 变量2}} <<< "{{The surname is Bond}}"` + +- 读取键盘输入的数据赋值给变量,不对\进行转义: + +`read -r {{变量}}` + +- 键盘输入前显示提示语: + +`read -p "{{提示语:}}" {{变量}}` + +- 静默模式(如果输入来自终端,则不回显字符)读取键盘输入的数据赋值给变量: + +`read -s {{变量}}` + +- 从标准输入读取每一行进行操作: + +`while read line; do {{echo|ls|rm|...}} "$line"; done < {{标准输入|路径/到/文件|...}}` diff --git a/pages.zh/common/rm.md b/pages.zh/common/rm.md new file mode 100644 index 00000000000000..9515009e4d4f15 --- /dev/null +++ b/pages.zh/common/rm.md @@ -0,0 +1,29 @@ +# rm + +> 删除文件或目录。 +> 另见:`rmdir`。 +> 更多信息:. + +- 删除指定文件: + +`rm {{路径/到/文件1 路径/到/文件2 ...}}` + +- 删除指定文件,忽略不存在的文件: + +`rm {{[-f|--force]}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 交互式地删除多个文件,每次删除前都会有提示: + +`rm {{[-i|--interactive]}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 删除文件并打印删除信息: + +`rm {{[-v|--verbose]}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 递归删除指定文件和目录: + +`rm {{[-r|--recursive]}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 删除空目录(这被认为是安全的方法): + +`rm {{[-d|--dir]}} {{路径/到/目录}}` diff --git a/pages.zh/common/rmdir.md b/pages.zh/common/rmdir.md new file mode 100644 index 00000000000000..725b02a9533901 --- /dev/null +++ b/pages.zh/common/rmdir.md @@ -0,0 +1,12 @@ +# rmdir + +> 删除一个目录。 +> 更多信息:. + +- 删除空目录,使用 `rm -r` 删除非空目录: + +`rmdir {{路径/到/目录}}` + +- 删除目标及其父目录(对嵌套的目录有用): + +`rmdir -p {{路径/到/目录}}` diff --git a/pages.zh/common/rsync.md b/pages.zh/common/rsync.md new file mode 100644 index 00000000000000..5d961035a6b04f --- /dev/null +++ b/pages.zh/common/rsync.md @@ -0,0 +1,37 @@ +# rsync + +> 一种快速,通用,远程(和本地)文件复制工具,默认使用 SSH。 +> 如果要指定远程路径,请使用 `user@host:path/to/file_or_directory`. +> 更多信息:. + +- 复制文件: + +`rsync {{路径/到/来源}} {{路径/到/目标}}` + +- 使用归档模式递归拷贝文件,并保留所有属性,不解析软链接: + +`rsync {{[-a|--archive]}} {{路径/到/来源}} {{路径/到/目标}}` + +- 将文件以归档模式并保留几乎所有属性进行传输,并以人类可读方式输出详细信息和进度条,中断时保留部分信息: + +`rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{路径/到/来源}} {{路径/到/目标}}` + +- 以递归模式传输文件: + +`rsync {{[-r|--recursive]}} {{路径/到/来源}} {{路径/到/目标}}` + +- 将目录下的所有内容(不包含该目录),以递归方式传输: + +`rsync {{[-r|--recursive]}} {{路径/到/来源/}} {{路径/到/目标}}` + +- 归档方式传输目录,保留几乎所有属性,解析软连接,并忽略已传输的文件: + +`rsync {{[-auL|--archive --update --copy-links]}} {{路径/到/来源}} {{路径/到/目标}}` + +- 传输目录到运行 `rsyncd` 的远端,并删除目标目录中源目录中不存在的文件: + +`rsync {{[-r|--recursive]}} --delete rsync://{{host}}:{{路径/到/来源}} {{路径/到/目标}}` + +- 指定本地和远程之间通信方式,使用指定端口,并显示进度条: + +`rsync {{[-e|--rsh]}} 'ssh -p {{端口}}' --info=progress2 {{host}}:{{路径/到/来源}} {{路径/到/目标}}` diff --git a/pages.zh/common/rubocop.md b/pages.zh/common/rubocop.md new file mode 100644 index 00000000000000..020842fbfb0932 --- /dev/null +++ b/pages.zh/common/rubocop.md @@ -0,0 +1,32 @@ +# rubocop + +> 格式化 Ruby 文件。 +> 更多信息:. + +- 检查当前目录中的所有文件(包括子目录): + +`rubocop` + +- 检查一个或多个指定文件或目录: + +`rubocop {{路径/到/文件1 路径/到/文件2 ...}}` + +- 将输出写入指定文件: + +`rubocop --out {{路径/到/文件}}` + +- 查看规则列表(格式化规则): + +`rubocop --show-cops` + +- 排除格式规则: + +`rubocop --except {{规则 1 规则 2 ...}}` + +- 只运行指定的规则: + +`rubocop --only {{规则 1 规则 2 ...}}` + +- 自动更正文件(实验): + +`rubocop --auto-correct` diff --git a/pages.zh/common/runit.md b/pages.zh/common/runit.md new file mode 100644 index 00000000000000..e76d7bfca661f0 --- /dev/null +++ b/pages.zh/common/runit.md @@ -0,0 +1,12 @@ +# runit + +> 三级初始化系统。 +> 更多信息:. + +- 启动 runit 的三阶段初始化方案: + +`runit` + +- 停止运行 runit: + +`kill --CONT {{runit 进程 id}}` diff --git a/pages.zh/common/runsv.md b/pages.zh/common/runsv.md new file mode 100644 index 00000000000000..1d9d06de9d4846 --- /dev/null +++ b/pages.zh/common/runsv.md @@ -0,0 +1,12 @@ +# runsv + +> 启动和管理 runit 服务。 +> 更多信息:. + +- 以当前用户身份启动 runit 服务: + +`runsv {{路径/到/服务目录}}` + +- 以 root 用户身份启动 runit 服务: + +`sudo runsv {{路径/到/服务目录}}` diff --git a/pages.zh/common/runsvchdir.md b/pages.zh/common/runsvchdir.md new file mode 100644 index 00000000000000..416bb31585678c --- /dev/null +++ b/pages.zh/common/runsvchdir.md @@ -0,0 +1,8 @@ +# runsvchdir + +> 更改默认使用的 `runsvdir` 目录。 +> 更多信息:. + +- 切换 `runsvdir` 目录: + +`sudo runsvchdir {{路径/到/目录}}` diff --git a/pages.zh/common/runsvdir.md b/pages.zh/common/runsvdir.md new file mode 100644 index 00000000000000..b7637610e245d2 --- /dev/null +++ b/pages.zh/common/runsvdir.md @@ -0,0 +1,16 @@ +# runsvdir + +> 运行整个目录下的服务。 +> 更多信息:. + +- 以当前用户身份启动和管理目录中的所有服务: + +`runsvdir {{路径/到/服务目录}}` + +- 以 root 用户身份启动和管理目录中的所有服务: + +`sudo runsvdir {{路径/到/服务目录}}` + +- 在单独会话中启动服务: + +`runsvdir -P {{路径/到/服务目录}}` diff --git a/pages.zh/common/rustfmt.md b/pages.zh/common/rustfmt.md index 157325fa57ec1f..46f6ecde3b6f12 100644 --- a/pages.zh/common/rustfmt.md +++ b/pages.zh/common/rustfmt.md @@ -1,16 +1,16 @@ # rustfmt -> 格式化 Rust 源代码的工具. -> 更多信息: . +> 格式化 Rust 源代码的工具。 +> 更多信息:. -- 格式化文件,就地覆盖原始文件: +- 格式化文件,就地覆盖原始文件: -`rustfmt {{source.rs}}` +`rustfmt {{路径/到/源文件.rs}}` -- 检查文件的格式并在控制台上显示所有更改: +- 检查文件的格式并在控制台上显示所有更改: -`rustfmt --check {{source.rs}}` +`rustfmt --check {{路径/到/源文件.rs}}` -- 格式化之前,备份所有修改过的文件(原始文件的扩展名为 `.bk`): +- 格式化之前,备份所有修改过的文件(原始文件的扩展名为 `.bk`): -`rustfmt --backup {{source.rs}}` +`rustfmt --backup {{路径/到/源文件.rs}}` diff --git a/pages.zh/common/sccmap.md b/pages.zh/common/sccmap.md new file mode 100644 index 00000000000000..17e7b54c786a25 --- /dev/null +++ b/pages.zh/common/sccmap.md @@ -0,0 +1,17 @@ +# sccmap + +> 提取有向图的强连通分量。 +> Graphviz 过滤器:`acyclic`、`bcomps`、`comps`、`edgepaint`、`gvcolor`、`gvpack`、`mingle`、`nop`、`sccmap`、`tred` 和 `unflatten`。 +> 更多信息:. + +- 从一个或多个有向图中提取强连通分量: + +`sccmap -S {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}} > {{路径/到/输出.gv}}` + +- 打印一个图形的统计信息,不生成输出图形: + +`sccmap -v -s {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}}` + +- 显示 `sccmap` 的帮助信息: + +`sccmap -?` diff --git a/pages.zh/common/scp.md b/pages.zh/common/scp.md new file mode 100644 index 00000000000000..bdf1c14144d1db --- /dev/null +++ b/pages.zh/common/scp.md @@ -0,0 +1,37 @@ +# scp + +> 安全的复制文件。 +> 使用 SSH 上的安全复制协议在主机之间复制文件。 +> 更多信息:. + +- 将本地文件复制到远程主机: + +`scp {{路径/到/本地文件}} {{远程主机地址}}:{{路径/到/远程文件}}` + +- 连接到远程主机时使用特定端口: + +`scp -P {{端口}} {{路径/到/本地文件}} {{远程主机地址}}:{{路径/到/远程文件}}` + +- 将文件从远程主机复制到本地目录: + +`scp {{远程主机地址}}:{{路径/到/远程文件}} {{路径/到/本地目录}}` + +- 递归地将目录内容从远程主机复制到本地目录: + +`scp -r {{远程主机地址}}:{{路径/到/远程目录}} {{路径/到/本地目录}}` + +- 通过本地主机在两个远程主机之间复制文件: + +`scp -3 {{主机地址1}}:{{路径/到/远程文件}} {{主机地址2}}:{{路径/到/远程目录}}` + +- 连接到远程主机时使用特定用户名: + +`scp {{路径/到/本地文件}} {{远程主机用户名}}@{{远程主机地址}}:{{路径/到/远程目录}}` + +- 使用特定 SSH 私钥与远程主机进行身份验证: + +`scp -i {{~/.ssh/私钥文件}} {{路径/到/本地文件}} {{远程主机地址}}:{{路径/到/远程文件}}` + +- 连接到远程主机时使用特定代理: + +`scp -J {{代理用户名}}@{{代理主机地址}} {{路径/到/本地文件}} {{远程主机地址}}:{{路径/到/远程文件}}` diff --git a/pages.zh/common/scrapy.md b/pages.zh/common/scrapy.md new file mode 100644 index 00000000000000..481ca1830ae3ee --- /dev/null +++ b/pages.zh/common/scrapy.md @@ -0,0 +1,32 @@ +# scrapy + +> Web 爬取框架。 +> 更多信息:. + +- 创建一个项目: + +`scrapy startproject {{项目名}}` + +- 创建一个爬虫(在项目目录下): + +`scrapy genspider {{爬虫名}} {{站点域名}}` + +- 编辑爬虫(在项目目录下): + +`scrapy edit {{爬虫名}}` + +- 运行爬虫(在项目目录下): + +`scrapy crawl {{爬虫名}}` + +- 抓取一个网页并将它的网页源码打印至标准输出: + +`scrapy fetch {{url}}` + +- 使用默认浏览器打开给定的 URL 来确认是否符合期望(为确保准确会禁用 JavaScript): + +`scrapy view {{url}}` + +- 通过给定的 URL 打开交互窗口,除此之外还支持 UNIX 风格的本地文件路径: + +`scrapy shell {{url}}` diff --git a/pages.zh/common/screen.md b/pages.zh/common/screen.md new file mode 100644 index 00000000000000..edd7166b992241 --- /dev/null +++ b/pages.zh/common/screen.md @@ -0,0 +1,37 @@ +# screen + +> 在远程服务器上保持会话打开。通过单个 SSH 连接管理多个窗口。 +> 类似工具请参阅 `tmux` 和 `zellij`。 +> 更多信息:. + +- 启动一个新的 screen 会话: + +`screen` + +- 启动一个指定名称的新 screen 会话: + +`screen -S {{会话名称}}` + +- 启动一个后台会话,指定会话名称并执行指定命令并将日志输出到 screenlog.x: + +`screen -dmLS {{会话名称}} {{命令}}` + +- 显示所有打开的 screen 会话: + +`screen -ls` + +- 重新连接到一个打开的 screen 会话: + +`screen -r {{会话名称}}` + +- 从当前 screen 会话中分离(先按 `Ctrl + A` 然后按 `D` 分离会话): + +`` + +- 关闭当前 screen 会话: + +`` + +- 关闭一个已经分离的 screen 会话: + +`screen -X -S {{会话名称}} quit` diff --git a/pages.zh/common/seq.md b/pages.zh/common/seq.md new file mode 100644 index 00000000000000..c832eae6a2f24c --- /dev/null +++ b/pages.zh/common/seq.md @@ -0,0 +1,20 @@ +# seq + +> 打印数字序列到标准输出。 +> 更多信息:. + +- 从 1 到 10 的序列: + +`seq 10` + +- 从 5 开始,3 为步长,不超过 20 的序列: + +`seq 5 3 20` + +- 从 5 开始,3 为步长,不超过 20 的序列,并用空格作为分隔符: + +`seq {{[-s|--separator]}} " " 5 3 20` + +- 从 5 开始,3 为步长,不超过 20 的序列,并格式化为 4 位宽度,不足 4 位,前面补 0: + +`seq {{[-f|--format]}} "%04g" 5 3 20` diff --git a/pages.zh/common/shasum.md b/pages.zh/common/shasum.md new file mode 100644 index 00000000000000..1057c3de040381 --- /dev/null +++ b/pages.zh/common/shasum.md @@ -0,0 +1,36 @@ +# shasum + +> 计算或检查加密 SHA 校验值。 +> 更多信息:. + +- 计算一个或多个文件的 SHA1 校验值: + +`shasum {{路径/到/文件1 路径/到/文件2 ...}}` + +- 使用指定算法计算一个或多个文件的 SHA 校验值: + +`shasum --algorithm {{1|224|256|384|512|512224|512256}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 从标准输入中获取并计算 SHA1 校验值: + +`{{命令}} | shasum` + +- 计算并保存 SHA256 校验值列表到文件: + +`shasum --algorithm 256 {{路径/到/文件1 路径/到/文件2 ...}} > {{路径/到/文件.sha256}}` + +- 读取包含 SHA 校验值和文件名的文件,并验证所有文件是否具有匹配的校验值(算法将被自动检测): + +`shasum {{[-c|--check]}} {{路径/到/文件}}` + +- 仅显示缺失文件或验证失败的消息: + +`shasum {{[-c|--check]}} --quiet {{路径/到/文件}}` + +- 仅显示验证失败的消息,忽略缺失的文件: + +`shasum --ignore-missing {{[-c|--check]}} --quiet {{路径/到/文件}}` + +- 检查文件的已知 SHA 校验值: + +`echo {{文件的已知 sha 校验值}} {{路径/到/文件}} | shasum {{[-c|--check]}}` diff --git a/pages.zh/common/sleep.md b/pages.zh/common/sleep.md new file mode 100644 index 00000000000000..1f9ca8ad4583d9 --- /dev/null +++ b/pages.zh/common/sleep.md @@ -0,0 +1,12 @@ +# sleep + +> 延迟指定的一段时间。 +> 更多信息:. + +- 按秒数延迟: + +`sleep {{seconds}}` + +- 在20秒延迟后执行指定命令: + +`sleep 20 && {{command}}` diff --git a/pages.zh/common/sort.md b/pages.zh/common/sort.md new file mode 100644 index 00000000000000..3a7dd3c0030294 --- /dev/null +++ b/pages.zh/common/sort.md @@ -0,0 +1,36 @@ +# sort + +> 对文本文件的行进行排序。 +> 更多信息:. + +- 以升序对文件进行排序: + +`sort {{路径/到/文件}}` + +- 以降序对文件进行排序: + +`sort {{[-r|--reverse]}} {{路径/到/文件}}` + +- 以不区分大小写的方式对文件进行排序: + +`sort {{-f|--ignore-case}} {{路径/到/文件}}` + +- 用数字而不是字母顺序对文件进行排序: + +`sort {{[-n|--numeric-sort]}} {{路径/到/文件}}` + +- 按每行的第 3 个字段对 `/etc/passwd` 进行数字排序,使用 “:” 作为字段分隔符: + +`sort {{[-t|--field-separator]}} {{:}} {{[-k|--key]}} {{3n}} {{/etc/passwd}}` + +- 对一个文件进行排序,只保留唯一的行: + +`sort {{[-u|--unique]}} {{路径/到/文件}}` + +- 对一个文件进行排序,将输出结果打印到指定的输出文件中(可以用来对一个文件进行原地排序): + +`sort {{[-o|--output]}} {{路径/到/文件}} {{路径/到/文件}}` + +- 对带有指数的数字进行排序: + +`sort {{[-g|--general-numeric-sort]}} {{路径/到/文件}}` diff --git a/pages.zh/common/spf.md b/pages.zh/common/spf.md new file mode 100644 index 00000000000000..367cbe81135882 --- /dev/null +++ b/pages.zh/common/spf.md @@ -0,0 +1,32 @@ +# spf + +> superfile – 现代终端文件管理器。 +> 更多信息:. + +- 使用指定路径启动 `spf`: + +`spf {{path/to/directory}}` + +- 使用多个路径启动 `spf`: + +`spf {{path/to/directory1 path/to/directory2 ...}}` + +- 修复快捷键设置,补全缺失的按键: + +`spf {{[--fh|--fix-hotkeys]}}` + +- 修复配置文件,补全缺失的项: + +`spf {{[--fch|--fix-config-file]}}` + +- 使用指定的配置文件与快捷键文件: + +`spf {{[-c|--config-file]}} {{path/to/config.toml}} {{[--hf|--hotkey-file]}} {{path/to/hotkey.toml}}` + +- 将第一个选中的文件路径写入该文件并退出: + +`spf {{[--cf|--chooser-file]}} {{tmp/chooser-result}}` + +- 显示内部配置和数据目录路径: + +`spf {{[pl|path-list]}}` diff --git a/pages.zh/common/ssh-add.md b/pages.zh/common/ssh-add.md new file mode 100644 index 00000000000000..5b2ea440e02b5a --- /dev/null +++ b/pages.zh/common/ssh-add.md @@ -0,0 +1,29 @@ +# ssh-add + +> 在 ssh 代理中管理加载的 ssh 密钥。 +> 需要确保 ssh 代理已启动并正在运行以加载其中的密钥。 +> 更多信息:. + +- 将 `~/.ssh` 中的默认 SSH 密钥添加到 SSH 代理: + +`ssh-add` + +- 向 ssh 代理添加指定密钥: + +`ssh-add {{路径/到/私钥文件}}` + +- 列出当前加载的密钥的指纹: + +`ssh-add -l` + +- 从 ssh 代理中删除密钥: + +`ssh-add -d {{路径/到/私钥文件}}` + +- 从 ssh 代理中删除所有当前已有的密钥: + +`ssh-add -D` + +- 向 ssh 代理和密钥链添加密钥: + +`ssh-add -K {{路径/到/私钥文件}}` diff --git a/pages.zh/common/ssh-copy-id.md b/pages.zh/common/ssh-copy-id.md new file mode 100644 index 00000000000000..970efb3ec10f29 --- /dev/null +++ b/pages.zh/common/ssh-copy-id.md @@ -0,0 +1,16 @@ +# ssh-copy-id + +> 在远程机器的 authorized_keys 中安装您的公钥。 +> 更多信息:. + +- 将您的密钥复制到远程主机: + +`ssh-copy-id {{用户名}}@{{远程主机}}` + +- 将给定的公钥文件复制到远程主机: + +`ssh-copy-id -i {{路径/到/公钥文件}} {{用户名}}@{{远程主机}}` + +- 将给定的公钥文件通过特定端口复制到远程主机: + +`ssh-copy-id -i {{路径/到/公钥文件}} -p {{端口}} {{用户名}}@{{远程主机}}` diff --git a/pages.zh/common/ssh.md b/pages.zh/common/ssh.md new file mode 100644 index 00000000000000..c5f8dd7a366aa7 --- /dev/null +++ b/pages.zh/common/ssh.md @@ -0,0 +1,37 @@ +# ssh + +> 安全 Shell 是一种用于安全登录远程系统的协议。 +> 它可用于在远程服务器上记录或执行命令。 +> 更多信息:. + +- 连接到远程服务器: + +`ssh {{用户名}}@{{远程主机地址}}` + +- 使用特定身份(私钥)连接到远程服务器: + +`ssh -i {{路径/到/私钥文件}} {{用户名}}@{{远程主机地址}}` + +- 使用指定端口号连接到远程服务器: + +`ssh {{用户名}}@{{远程主机地址}} -p {{端口号}}` + +- 在具有伪终端分配的远程服务器上运行命令,允许与远程命令进行交互: + +`ssh {{用户名}}@{{远程主机地址}} -t {{命令}} {{命令参数}}` + +- SSH 隧道:动态端口转发(`localhost:1080` 上的 SOCKS 代理): + +`ssh -D {{1080}} {{用户名}}@{{远程主机地址}}` + +- SSH 隧道:转发特定端口(`localhost:9999` 到 `example.org:80`)以及禁用伪终端分配和远程命令的执行: + +`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{用户名}}@{{远程主机地址}}` + +- SSH 转发:通过跳转主机连接到远程服务器(可以指定多个跳转,以逗号分隔): + +`ssh -J {{用户名}}@{{跳转主机地址}} {{用户名}}@{{远程主机地址}}` + +- 关闭挂起的会话: + +`<回车键><~><.>` diff --git a/pages.zh/common/sshuttle.md b/pages.zh/common/sshuttle.md new file mode 100644 index 00000000000000..a72763e3adcbc2 --- /dev/null +++ b/pages.zh/common/sshuttle.md @@ -0,0 +1,21 @@ +# sshuttle + +> 通过 SSH 连接传输流量的透明代理服务器。 +> 不需要在远程 SSH 服务器上进行任何特殊设置,但会提示在本地机器上获取 root 访问权限。 +> 更多信息:. + +- 通过远程 SSH 服务器转发所有 IPv4 TCP 流量: + +`sshuttle --remote={{用户名}}@{{服务器名}} {{0.0.0.0/0}}` + +- 同时将所有 DNS 流量转发到服务器的默认 DNS 解析器: + +`sshuttle --dns --remote={{用户名}}@{{服务器名}} {{0.0.0.0/0}}` + +- 转发所有流量,除了发往特定子网的流量: + +`sshuttle --remote={{用户名}}@{{服务器名}} {{0.0.0.0/0}} --exclude {{192.168.0.1/24}}` + +- 使用 tproxy 方法转发所有 IPv4 和 IPv6 流量: + +`sshuttle --method=tproxy --remote={{用户名}}@{{服务器名}} {{0.0.0.0/0}} {{::/0}} --exclude={{你本地 IP 地址}} --exclude={{SSH 服务器的 IP 地址}}` diff --git a/pages.zh/common/steam.md b/pages.zh/common/steam.md new file mode 100644 index 00000000000000..c98089f34f0161 --- /dev/null +++ b/pages.zh/common/steam.md @@ -0,0 +1,28 @@ +# steam + +> Valve 的电子游戏平台。 +> 更多信息:. + +- 启动 Steam 同时将调试信息输出到 `stdout`: + +`steam` + +- 启动 Steam 并启用内置调试控制台标签页: + +`steam -console` + +- 在运行的 Steam 实例中启用并打开控制台标签页: + +`steam steam://open/console` + +- 使用指定认证信息登录 Steam: + +`steam -login {{username}} {{password}}` + +- 以大屏幕模式启动 Steam: + +`steam -tenfoot` + +- 退出 Steam: + +`steam -shutdown` diff --git a/pages.zh/common/stty.md b/pages.zh/common/stty.md new file mode 100644 index 00000000000000..185f34453bf517 --- /dev/null +++ b/pages.zh/common/stty.md @@ -0,0 +1,32 @@ +# stty + +> 设置终端设备接口的选项。 +> 更多信息:. + +- 显示当前终端的所有设置: + +`stty {{[-a|--all]}}` + +- 设置行数或列数: + +`stty {{rows|cols}} {{数量}}` + +- 获取设备的实际传输速度: + +`stty {{[-F|--file]}} {{路径/到/设备文件}} speed` + +- 重置所有模式为当前终端的合理默认值: + +`stty sane` + +- 在原始模式和普通模式之间切换: + +`stty {{raw|cooked}}` + +- 关闭或开启字符回显: + +`stty {{-echo|echo}}` + +- 显示帮助信息: + +`stty --help` diff --git a/pages.zh/common/sv.md b/pages.zh/common/sv.md new file mode 100644 index 00000000000000..861f824d68742b --- /dev/null +++ b/pages.zh/common/sv.md @@ -0,0 +1,24 @@ +# sv + +> 控制一个正在运行的 runsv 服务。 +> 更多信息:. + +- 启动服务: + +`sudo sv up {{路径/到/服务目录}}` + +- 停止服务: + +`sudo sv down {{路径/到/服务目录}}` + +- 获取服务状态: + +`sudo sv status {{路径/到/服务目录}}` + +- 重载服务: + +`sudo sv reload {{路径/到/服务目录}}` + +- 启动服务,但仅当它未运行时启动,停止后不自动重启: + +`sudo sv once {{路径/到/服务目录}}` diff --git a/pages.zh/common/tail.md b/pages.zh/common/tail.md new file mode 100644 index 00000000000000..7bb48c1c07203d --- /dev/null +++ b/pages.zh/common/tail.md @@ -0,0 +1,29 @@ +# tail + +> 显示文件的最后一部分。 +> 另请参阅:`head`。 +> 更多信息:. + +- 显示文件中最后 n 行: + +`tail {{[-n|--lines]}} {{n}} {{路径/到/文件}}` + +- 从特定行号开始打印文件后续内容: + +`tail {{[-n|--lines]}} +{{行号}} {{路径/到/文件}}` + +- 从给定文件末尾打印特定字节数量的内容: + +`tail {{[-n|--lines]}} {{字节数}} {{路径/到/文件}}` + +- 打印给定文件的最后几行并保持读取直到 ``: + +`tail {{[-f|--follow]}} {{路径/到/文件}}` + +- 保持读取文件直到 ``,即使文件无法访问: + +`tail {{[-F|--retry --follow]}} {{路径/到/文件}}` + +- 显示文件中最后 n 行并每 t 秒刷新一次: + +`tail {{[-n|--lines]}} {{n}} {{[-s|--sleep-interval]}} {{t}} {{[-f|--follow]}} {{路径/到/文件}}` diff --git a/pages.zh/common/tar.md b/pages.zh/common/tar.md new file mode 100644 index 00000000000000..7e0243783c112f --- /dev/null +++ b/pages.zh/common/tar.md @@ -0,0 +1,37 @@ +# tar + +> 归档实用程序。 +> 通常与压缩方法结合使用,例如 `gzip` 或 `bzip2`. +> 更多信息:. + +- 创建存档并将其写入文件: + +`tar cf {{目标文件.tar}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 创建一个 gzip 压缩文件并将其写入文件: + +`tar czf {{目标文件.tar.gz}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 使用相对路径从目录创建一个 gzip 压缩文件: + +`tar czf {{目标文件.tar.gz}} {{[-C|--directory]}} {{路径/到/目录}} .` + +- 详细地将(压缩的)存档文件提取到当前目录中: + +`tar xvf {{源文件.tar[.gz|.bz2|.xz]}}` + +- 将(压缩的)存档文件解压缩到目标目录中: + +`tar xf {{源文件.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{目标目录}}` + +- 创建压缩存档并将其写入文件,使用文件扩展名自动确定压缩程序: + +`tar caf {{目标文件.tar.xz}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 详细列出 tar 文件的内容: + +`tar tvf {{源文件.tar}}` + +- 从存档文件中提取与模式匹配的文件: + +`tar xf {{源文件.tar}} --wildcards "{{*.html}}"` diff --git a/pages.zh/common/thunderbird.md b/pages.zh/common/thunderbird.md new file mode 100644 index 00000000000000..9ce392102dacdb --- /dev/null +++ b/pages.zh/common/thunderbird.md @@ -0,0 +1,16 @@ +# thunderbird + +> 电子邮件客户端和 RSS 阅读器。 +> 更多信息:. + +- 打开 Thunderbird: + +`thunderbird` + +- 使用特定用户配置文件: + +`thunderbird -P {{配置文件名称}}` + +- 使用特定用户配置文件夹: + +`thunderbird --profile {{路径/到/配置文件/文件夹}}` diff --git a/pages.zh/common/tldr.md b/pages.zh/common/tldr.md index 3587b439d4bf6b..db567077fe8725 100644 --- a/pages.zh/common/tldr.md +++ b/pages.zh/common/tldr.md @@ -1,20 +1,37 @@ # tldr -> 简化过的 man 帮助手册. -> 更多信息:. +> 显示来自 tldr-pages 项目的命令行工具的简单帮助页面。 +> 注意:`--language` 和 `--list` 选项并非客户端规范所必需,但大多数客户端都实现了它们。 +> 更多信息:. -- 获取一个命令的用例 (提示:这就是你怎么得到本信息的): +- 打印指定命令的 tldr 页面(提示:这就是你来到这里的方式!): -`tldr {{command}}` +`tldr {{命令}}` -- 展示 linux 下 tar 的 tldr 文档: +- 打印指定子命令的 tldr 页面: -`tldr -p {{linux}} {{tar}}` +`tldr {{命令}} {{子命令}}` -- 获取一个 Git 子命令的帮助: +- 用指定语言打印命令的 tldr 页面(如果没有,返回英语): -`tldr {{git checkout}}` +`tldr {{[-L|--language]}} {{语言代码}} {{命令}}` -- 更新本地页面 (如果客户端支持缓存): +- 打印指定平台的命令的 tldr 页面: -`tldr -u` +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{命令}}` + +- 更新 tldr 页面的本地缓存: + +`tldr {{[-u|--update]}}` + +- 列出当前平台和 `common` 的所有页面: + +`tldr {{[-l|--list]}}` + +- 列出某个命令的所有可用子命令页面: + +`tldr {{[-l|--list]}} | grep {{命令}} | column` + +- 打印随机命令的 tldr 页面: + +`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr` diff --git a/pages.zh/common/tldrl.md b/pages.zh/common/tldrl.md new file mode 100644 index 00000000000000..97f3b66dacec5b --- /dev/null +++ b/pages.zh/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> 这是 `tldr-lint` 命令的一个别名。 + +- 原命令的文档在: + +`tldr tldr-lint` diff --git a/pages.zh/common/tlmgr-arch.md b/pages.zh/common/tlmgr-arch.md new file mode 100644 index 00000000000000..ec254cf908631f --- /dev/null +++ b/pages.zh/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> 这是 `tlmgr platform` 命令的一个别名。 + +- 原命令的文档在: + +`tldr tlmgr platform` diff --git a/pages.zh/common/touch.md b/pages.zh/common/touch.md new file mode 100644 index 00000000000000..27379c00ae7f9a --- /dev/null +++ b/pages.zh/common/touch.md @@ -0,0 +1,20 @@ +# touch + +> 创建文件并设置访问/修改时间。 +> 更多信息:. + +- 创建指定的文件: + +`touch {{路径/到/文件1 路径/到/文件2 ...}}` + +- 将文件的访问(a)或修改时间(m)设置为当前时间,如果文件不存在则不创建(-c): + +`touch {{[-c|--no-create]}} -{{a|m}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 将文件时间(-t)设置为指定值,如果文件不存在则不创建(-c): + +`touch {{[-c|--no-create]}} -t {{YYYYMMDDHHMM.SS}} {{路径/到/文件1 路径/到/文件2 ...}}` + +- 将文件时间设置为另一文件(-r,即文件3)的时间,如果文件不存在则不创建(-c): + +`touch {{[-c|--no-create]}} {{[-r|--reference]}} {{路径/到/文件3}} {{路径/到/文件1 路径/到/文件2 ...}}` diff --git a/pages.zh/common/trap.md b/pages.zh/common/trap.md new file mode 100644 index 00000000000000..47dee1e7fe0c77 --- /dev/null +++ b/pages.zh/common/trap.md @@ -0,0 +1,17 @@ +# trap + +> 在接收到事件时执行命令。 +> 可用于对用户中断或其他操作执行清理。 +> 更多信息:. + +- 列出命令和预期事件的名称: + +`trap` + +- 在接收到信号时执行命令: + +`trap 'echo "捕获到信号 {{SIGHUP}}"' {{HUP}}` + +- 移除命令: + +`trap - {{HUP}} {{INT}}` diff --git a/pages.zh/common/tred.md b/pages.zh/common/tred.md new file mode 100644 index 00000000000000..1910cc1d37daa6 --- /dev/null +++ b/pages.zh/common/tred.md @@ -0,0 +1,13 @@ +# tred + +> 计算有向图的传递闭包约简。 +> Graphviz 过滤器:`acyclic`、`bcomps`、`comps`、`edgepaint`、`gvcolor`、`gvpack`、`mingle`、`nop`、`sccmap`、`tred` 和 `unflatten`。 +> 更多信息:. + +- 构建一个或多个有向图的传递闭包约简: + +`tred {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}} > {{路径/到/输出.gv}}` + +- 显示帮助信息: + +`tred -?` diff --git a/pages.zh/common/tree.md b/pages.zh/common/tree.md new file mode 100644 index 00000000000000..18488266f0aa50 --- /dev/null +++ b/pages.zh/common/tree.md @@ -0,0 +1,36 @@ +# tree + +> 以树的形式显示当前目录的内容。 +> 更多信息:. + +- 显示深度达到 “级数” 级的文件和目录(其中 1 表示当前目录): + +`tree -L {{级数}}` + +- 只显示目录: + +`tree -d` + +- 同时显示隐藏文件并开启彩色输出: + +`tree -a -C` + +- 打印没有缩进行的树,显示完整路径(使用`-N`不转义空格和特殊字符): + +`tree -i -f` + +- 以可读格式打印每个文件节点的大小,目录显示其累积大小(类似在`du`命令中所示): + +`tree -s -h --du` + +- 使用通配符(glob)模式在树层次结构中查找文件,并删除不包含匹配文件的目录: + +`tree -P '{{*.txt}}' --prune` + +- 在树层次结构中查找目录,删除不属于所需目录的目录: + +`tree -P {{文件夹名}} --matchdirs --prune` + +- 忽略指定目录显示树: + +`tree -I '{{目录名1|目录名2}}'` diff --git a/pages.zh/common/u3d.md b/pages.zh/common/u3d.md new file mode 100644 index 00000000000000..2d3bdfe79d669d --- /dev/null +++ b/pages.zh/common/u3d.md @@ -0,0 +1,24 @@ +# u3d + +> 一组用于与 Unity 进行交互的工具。 +> 更多信息:. + +- 使用正确的 Unity 版本打开当前目录中的项目: + +`u3d` + +- 列出已安装的 Unity 版本: + +`u3d list` + +- 列出可下载的 Unity 版本: + +`u3d available` + +- 下载并安装最新的稳定 Unity 版本: + +`u3d install latest_stable` + +- 下载并安装指定的 Unity 版本和编辑器包: + +`u3d install {{2021.2.0f1}} -p {{Unity,iOS,Android}}` diff --git a/pages.zh/common/ufraw-batch.md b/pages.zh/common/ufraw-batch.md new file mode 100644 index 00000000000000..a9e732caff4319 --- /dev/null +++ b/pages.zh/common/ufraw-batch.md @@ -0,0 +1,20 @@ +# ufraw-batch + +> 将来自相机的 RAW 文件转换为标准图像文件。 +> 更多信息:. + +- 简单地将 RAW 文件转换为 JPEG: + +`ufraw-batch --out-type=jpg {{(或多个)输入文件}}` + +- 简单地将 RAW 文件转换为 PNG: + +`ufraw-batch --out-type=png {{(或多个)输入文件}}` + +- 从 RAW 文件中提取预览图像: + +`ufraw-batch --embedded-image {{(或多个)输入文件}}` + +- 将文件保存为不超过给定的最大尺寸 MAX1 和 MAX2: + +`ufraw-batch --size=MAX1,MAX2 {{(或多个)输入文件}}` diff --git a/pages.zh/common/ugrep.md b/pages.zh/common/ugrep.md new file mode 100644 index 00000000000000..9844bd2e3ae117 --- /dev/null +++ b/pages.zh/common/ugrep.md @@ -0,0 +1,36 @@ +# ugrep + +> 超快速搜索工具,带有查询 TUI。 +> 更多信息:. + +- 启动查询 TUI,在当前目录中递归搜索文件(按 `` 获取帮助): + +`ugrep --query` + +- 在当前目录中递归搜索包含正则表达式搜索模式的文件: + +`ugrep "{{search_pattern}}"` + +- 在特定文件或特定目录中的所有文件中搜索,并显示匹配的行号: + +`ugrep --line-number "{{search_pattern}}" {{路径/到/文件或目录}}` + +- 递归搜索当前目录中的所有文件,并打印每个匹配文件的名称: + +`ugrep --files-with-matches "{{search_pattern}}"` + +- 模糊搜索文件,允许模式中多达 3 个额外、缺失或不匹配的字符: + +`ugrep --fuzzy={{3}} "{{search_pattern}}"` + +- 也递归搜索压缩文件、Zip 和 tar 存档: + +`ugrep --decompress "{{search_pattern}}"` + +- 仅搜索文件名匹配特定 glob 模式的文件: + +`ugrep --glob="{{glob_pattern}}" "{{search_pattern}}"` + +- 仅搜索 C++ 源文件(使用 `--file-type=list` 列出所有文件类型): + +`ugrep --file-type=cpp "{{search_pattern}}"` diff --git a/pages.zh/common/ulimit.md b/pages.zh/common/ulimit.md new file mode 100644 index 00000000000000..2031c2cd0bd29b --- /dev/null +++ b/pages.zh/common/ulimit.md @@ -0,0 +1,24 @@ +# ulimit + +> 获取和设置用户限制。 +> 更多信息:. + +- 获取所有用户限制的属性: + +`ulimit -a` + +- 获取同时打开文件数量的硬限制: + +`ulimit -H -n` + +- 获取同时打开文件数量的软限制: + +`ulimit -S -n` + +- 设置每个用户的最大进程限制: + +`ulimit -u 30` + +- 显示帮助信息: + +`help ulimit` diff --git a/pages.zh/common/umask.md b/pages.zh/common/umask.md new file mode 100644 index 00000000000000..61363eca5ffd5a --- /dev/null +++ b/pages.zh/common/umask.md @@ -0,0 +1,20 @@ +# umask + +> 管理用户为新创建文件设置的读/写/执行权限掩码(即被限制的权限)。 +> 更多信息:. + +- 显示当前掩码(八进制表示): + +`umask` + +- 以符号方式(人类可读格式)显示当前掩码: + +`umask -S` + +- 符号化更改掩码以允许所有用户的读取权限(掩码的其他部分保持不变): + +`umask {{a+r}}` + +- 设置掩码(使用八进制)以对文件的所有者不限制任何权限,对其他所有人限制所有权限: + +`umask {{077}}` diff --git a/pages.zh/common/umount.md b/pages.zh/common/umount.md new file mode 100644 index 00000000000000..10606d16119cf2 --- /dev/null +++ b/pages.zh/common/umount.md @@ -0,0 +1,17 @@ +# umount + +> 将文件系统与其挂载点解除链接,使其不再可访问。 +> 当文件系统正在使用时,无法卸载。 +> 更多信息:. + +- 卸载文件系统,通过传递挂载源的路径: + +`umount {{路径/到/设备文件}}` + +- 卸载文件系统,通过传递挂载目标的路径: + +`umount {{路径/到/挂载目录}}` + +- 卸载所有已挂载的文件系统(`proc` 文件系统除外): + +`umount -a` diff --git a/pages.zh/common/unalias.md b/pages.zh/common/unalias.md new file mode 100644 index 00000000000000..a757c1b41d4431 --- /dev/null +++ b/pages.zh/common/unalias.md @@ -0,0 +1,12 @@ +# unalias + +> 移除别名。 +> 更多信息:. + +- 移除一个别名: + +`unalias {{别名}}` + +- 移除所有别名: + +`unalias -a` diff --git a/pages.zh/common/uname.md b/pages.zh/common/uname.md index 054d3ddf154d5c..126d69aa1b9bfa 100644 --- a/pages.zh/common/uname.md +++ b/pages.zh/common/uname.md @@ -1,20 +1,37 @@ # uname > 输出关于当前机器和运行在该机器上的操作系统的详细信息。 -> 注意:如需了解操作系统的其他信息,请尝试使用 `lsb_release` 命令。 +> 另见 `lsb_release`。 +> 更多信息:. -- 打印硬件相关信息:机器和处理器: +- 打印内核名称: -`uname -mp` +`uname` -- 打印软件相关信息:操作系统、发行号和版本: +- 打印所有可用的系统信息: -`uname -srv` +`uname {{[-a|--all]}}` -- 打印系统的名称(主机名): +- 打印系统架构和处理器信息: -`uname -n` +`uname {{[-mp|--machine --processor]}}` -- 打印所有可用的系统信息(硬件、软件、名称): +- 打印内核名称、内核版本号和内核版本: -`uname -a` +`uname {{[-srv|--kernel-name --kernel-release --kernel-version]}}` + +- 打印系统主机名: + +`uname {{[-n|--nodename]}}` + +- 打印当前操作系统名称: + +`uname {{[-o|--operating-system]}}` + +- 打印当前网络节点主机名: + +`uname {{[-n|--nodename]}}` + +- 显示帮助信息: + +`uname --help` diff --git a/pages.zh/common/unar.md b/pages.zh/common/unar.md new file mode 100644 index 00000000000000..7ab4c4980c76d3 --- /dev/null +++ b/pages.zh/common/unar.md @@ -0,0 +1,24 @@ +# unar + +> 从归档文件中提取内容。 +> 更多信息:. + +- 提取一个归档文件到当前目录: + +`unar {{归档文件}}` + +- 提取一个归档文件到指定目录: + +`unar -o {{路径/到/目录}} {{归档文件}}` + +- 如果要提取的文件已经存在,则总是覆盖: + +`unar -f {{归档文件}}` + +- 如果要提取的文件已经存在,则总是重命名: + +`unar -r {{归档文件}}` + +- 如果要提取的文件已经存在,则总是跳过: + +`unar -s {{归档文件}}` diff --git a/pages.zh/common/unclutter.md b/pages.zh/common/unclutter.md new file mode 100644 index 00000000000000..fb81d36d83ec49 --- /dev/null +++ b/pages.zh/common/unclutter.md @@ -0,0 +1,8 @@ +# unclutter + +> 隐藏鼠标光标。 +> 更多信息:. + +- 在 3 秒后隐藏鼠标光标: + +`unclutter -idle {{3}}` diff --git a/pages.zh/common/uncrustify.md b/pages.zh/common/uncrustify.md new file mode 100644 index 00000000000000..0e2da03605c938 --- /dev/null +++ b/pages.zh/common/uncrustify.md @@ -0,0 +1,28 @@ +# uncrustify + +> C、C++、C#、D、Java 和 Pawn 源代码格式化工具。 +> 更多信息:. + +- 格式化单个文件: + +`uncrustify -f {{路径/到/文件.cpp}} -o {{路径/到/输出文件.cpp}}` + +- 从 `stdin` 读取文件名,在写回原始文件路径之前创建备份: + +`find . -name "*.cpp" | uncrustify -F - --replace` + +- 不进行备份(适用于文件已在版本控制下的情况): + +`find . -name "*.cpp" | uncrustify -F - --no-backup` + +- 使用自定义配置文件并将结果写入 `stdout`: + +`uncrustify -c {{路径/到/uncrustify.cfg}} -f {{路径/到/文件.cpp}}` + +- 显式设置配置变量的值: + +`uncrustify --set {{选项}}={{值}}` + +- 生成新的配置文件: + +`uncrustify --update-config -o {{路径/到/新配置文件.cfg}}` diff --git a/pages.zh/common/unexpand.md b/pages.zh/common/unexpand.md new file mode 100644 index 00000000000000..2f0f2848527ba1 --- /dev/null +++ b/pages.zh/common/unexpand.md @@ -0,0 +1,24 @@ +# unexpand + +> 将空格转换为制表符。 +> 更多信息:. + +- 将每个文件中的空格转换为制表符,并写入到 `stdout`: + +`unexpand {{路径/到/文件}}` + +- 将空格转换为制表符,从 `stdout` 读取: + +`unexpand` + +- 转换所有空格,而不仅仅是开头的空格: + +`unexpand -a {{路径/到/文件}}` + +- 仅转换开头的空格序列(覆盖 -a): + +`unexpand --first-only {{路径/到/文件}}` + +- 将制表符间隔设置为某个字符数,而不是 8(启用 -a): + +`unexpand -t {{数量}} {{路径/到/文件}}` diff --git a/pages.zh/common/unflatten.md b/pages.zh/common/unflatten.md new file mode 100644 index 00000000000000..ad0843f29552f6 --- /dev/null +++ b/pages.zh/common/unflatten.md @@ -0,0 +1,17 @@ +# unflatten + +> 调整有向图以改善布局的纵横比。 +> Graphviz 过滤器: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, 和 `unflatten`。 +> 更多信息:. + +- 调整一个或多个有向图以改善布局的纵横比: + +`unflatten {{路径/到/输入1.gv}} {{路径/到/输入2.gv ...}} > {{路径/到/输出.gv}}` + +- 将 `unflatten` 作为 `dot` 布局的预处理器以改善纵横比: + +`unflatten {{路径/到/输入.gv}} | dot -T {{png}} {{路径/到/输出.png}}` + +- 显示 `unflatten` 的帮助: + +`unflatten -?` diff --git a/pages.zh/common/unimatrix.md b/pages.zh/common/unimatrix.md new file mode 100644 index 00000000000000..a5a8db62944777 --- /dev/null +++ b/pages.zh/common/unimatrix.md @@ -0,0 +1,25 @@ +# unimatrix + +> 使用 Unicode 字符模拟《黑客帝国》的视觉效果。 +> 请参阅:`cmatrix`。 +> 更多信息:. + +- 模仿 `cmatrix` 的默认输出(无 Unicode,适用于 TTY): + +`unimatrix --no-bold --speed {{96}} --character-list {{o}}` + +- 无粗体字符,缓慢地显示,使用表情符号、数字和少量符号: + +`unimatrix --no-bold --speed {{50}} --character-list {{ens}}` + +- 更改字符的颜色: + +`unimatrix --color {{red|green|blue|white|...}}` + +- 使用字母代码选择字符集(可用字符集请参阅 `unimatrix --help`): + +`unimatrix --character-list {{character_sets}}` + +- 更改滚动速度: + +`unimatrix --speed {{number}}` diff --git a/pages.zh/common/uniq.md b/pages.zh/common/uniq.md new file mode 100644 index 00000000000000..af1d97ba45a1c9 --- /dev/null +++ b/pages.zh/common/uniq.md @@ -0,0 +1,25 @@ +# uniq + +> 输出输入或文件中的唯一行。 +> 因为它只检测相邻的重复行,所以需要先对它们进行排序。 +> 更多信息:. + +- 仅显示每行一次: + +`sort {{路径/到/文件}} | uniq` + +- 仅显示唯一的行: + +`sort {{路径/到/文件}} | uniq {{[-u|--unique]}}` + +- 仅显示重复的行: + +`sort {{路径/到/文件}} | uniq {{[-d|--repeated]}}` + +- 显示每行的出现次数及其内容: + +`sort {{路径/到/文件}} | uniq {{[-c|--count]}}` + +- 显示每行的出现次数,并按出现次数从高到低排序: + +`sort {{路径/到/文件}} | uniq {{[-c|--count]}} | sort {{[-nr|--numeric-sort --reverse]}}` diff --git a/pages.zh/common/unison.md b/pages.zh/common/unison.md new file mode 100644 index 00000000000000..fe1014a3dd7324 --- /dev/null +++ b/pages.zh/common/unison.md @@ -0,0 +1,20 @@ +# unison + +> 双向文件同步工具。 +> 更多信息:. + +- 同步两个目录(第一次同步这两个目录时会创建日志): + +`unison {{路径/到/目录1}} {{路径/到/目录2}}` + +- 自动接受(无冲突的)默认值: + +`unison {{路径/到/目录1}} {{路径/到/目录2}} -auto` + +- 使用模式忽略某些文件: + +`unison {{路径/到/目录1}} {{路径/到/目录2}} -ignore {{模式}}` + +- 查看文档: + +`unison -doc {{主题}}` diff --git a/pages.zh/common/units.md b/pages.zh/common/units.md new file mode 100644 index 00000000000000..68244a54bb56d6 --- /dev/null +++ b/pages.zh/common/units.md @@ -0,0 +1,32 @@ +# units + +> 提供两个度量单位之间的转换。 +> 更多信息:. + +- 以交互模式运行: + +`units` + +- 在交互模式下列出包含特定字符串的所有单位: + +`search {{字符串}}` + +- 显示两个简单单位之间的转换: + +`units {{quarts(夸脱)}} {{tablespoons(大汤匙)}}` + +- 单位与数量之间的转换: + +`units "{{15 pounds(磅)}}" {{kilograms(公斤)}}` + +- 显示两个复合单位之间的转换: + +`units "{{meters(米) / second(秒)}}" "{{inches(英寸) / hour(小时)}}"` + +- 显示具有不同维度的单位之间的转换: + +`units "{{acres(英亩)}}" "{{ft^2(平方英尺)}}"` + +- 显示字节乘数的转换: + +`units "{{15 megabytes(兆字节)}}" {{bytes(字节)}}` diff --git a/pages.zh/common/unlink.md b/pages.zh/common/unlink.md new file mode 100644 index 00000000000000..8199c58d98e18e --- /dev/null +++ b/pages.zh/common/unlink.md @@ -0,0 +1,9 @@ +# unlink + +> 从文件系统中删除对文件的链接。 +> 如果链接是文件的最后一个,文件内容将丢失。 +> 更多信息:. + +- 如果是最后一个链接,则删除指定的文件: + +`unlink {{路径/到/文件}}` diff --git a/pages.zh/common/unlzma.md b/pages.zh/common/unlzma.md new file mode 100644 index 00000000000000..c292b1aa3ae862 --- /dev/null +++ b/pages.zh/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> 这是 `xz` 命令的一个别名。 + +- 原命令的文档在: + +`tldr xz` diff --git a/pages.zh/common/unp.md b/pages.zh/common/unp.md new file mode 100644 index 00000000000000..bb6d753b07a6aa --- /dev/null +++ b/pages.zh/common/unp.md @@ -0,0 +1,13 @@ +# unp + +> 解压任意归档文件。 +> 需要安装相关的解压程序,例如 RAR 文件需要安装 `unrar`。 +> 更多信息:. + +- 解压一个归档文件: + +`unp {{路径/到/归档文件.zip}}` + +- 解压多个归档文件: + +`unp {{路径/到/归档文件1.tar.gz}} {{路径/到/归档文件2.rar}}` diff --git a/pages.zh/common/unrar.md b/pages.zh/common/unrar.md new file mode 100644 index 00000000000000..71ed242b8804cb --- /dev/null +++ b/pages.zh/common/unrar.md @@ -0,0 +1,24 @@ +# unrar + +> 提取 RAR 压缩档案。 +> 更多信息:. + +- 提取文件并保留原始目录结构: + +`unrar x {{路径/到/压缩包.rar}}` + +- 将文件提取到指定路径,并保留原始目录结构: + +`unrar x {{路径/到/压缩包.rar}} {{路径/到/解压目录}}` + +- 提取文件到当前目录,但不保留档案中的目录结构: + +`unrar e {{路径/到/压缩包.rar}}` + +- 测试档案内每个文件的完整性: + +`unrar t {{路径/到/压缩包.rar}}` + +- 列出档案内的文件并不解压: + +`unrar l {{路径/到/压缩包.rar}}` diff --git a/pages.zh/common/unset.md b/pages.zh/common/unset.md new file mode 100644 index 00000000000000..a76ceafe5f4d87 --- /dev/null +++ b/pages.zh/common/unset.md @@ -0,0 +1,16 @@ +# unset + +> 删除 Shell 变量或函数。 +> 更多信息:. + +- 删除变量 `foo`,如果该变量不存在则删除函数 `foo`: + +`unset {{foo}}` + +- 删除变量 foo 和 bar: + +`unset -v {{foo}} {{bar}}` + +- 删除函数 my_func: + +`unset -f {{my_func}}` diff --git a/pages.zh/common/unxz.md b/pages.zh/common/unxz.md new file mode 100644 index 00000000000000..f9b7a9724dc8c5 --- /dev/null +++ b/pages.zh/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> 这是 `xz` 命令的一个别名。 + +- 原命令的文档在: + +`tldr xz` diff --git a/pages.zh/common/unzip.md b/pages.zh/common/unzip.md new file mode 100644 index 00000000000000..cd7985baed3fde --- /dev/null +++ b/pages.zh/common/unzip.md @@ -0,0 +1,29 @@ +# unzip + +> 从 Zip 压缩包中提取文件或目录。 +> 参见:`zip`. +> 更多信息:. + +- 将指定压缩包中的所有文件和目录提取到当前目录下: + +`unzip {{路径/到/压缩文件1.zip 路径/到/压缩文件2.zip ...}}` + +- 将压缩包中的所有文件和目录提取到指定目录下: + +`unzip {{路径/到/压缩文件1.zip 路径/到/压缩文件2.zip ...}} -d {{路径/到/输出目录}}` + +- 从压缩包中提取文件或目录到 `stdout`(标准输出),并附带文件名: + +`unzip -c {{路径/到/压缩文件1.zip 路径/到/压缩文件2.zip ...}}` + +- 提取在 Windows 上创建的压缩包,其中包含非 ASCII(例如中文或日文字符)命名的文件: + +`unzip -O {{gbk}} {{路径/到/压缩文件1.zip 路径/到/压缩文件2.zip ...}}` + +- 在不进行解压缩的情况下,列出指定压缩包中的内容: + +`unzip -l {{路径/到/压缩文件.zip}}` + +- 从指定压缩包中提取特定文件: + +`unzip -j {{路径/到/压缩文件.zip}} {{路径/到/文件1 路径/到/文件2 ...}}` diff --git a/pages.zh/common/unzstd.md b/pages.zh/common/unzstd.md new file mode 100644 index 00000000000000..88589dc0873268 --- /dev/null +++ b/pages.zh/common/unzstd.md @@ -0,0 +1,7 @@ +# unzstd + +> 这是 `zstd --decompress` 命令的一个别名。 + +- 查看原命令的文档: + +`tldr zstd` diff --git a/pages.zh/common/updog.md b/pages.zh/common/updog.md new file mode 100644 index 00000000000000..1859e659c44e78 --- /dev/null +++ b/pages.zh/common/updog.md @@ -0,0 +1,25 @@ +# updog + +> Python {{SimpleHTTPServer}} 的替代方案。 +> 它允许通过 HTTP/S 上传和下载,可以设置临时 SSL 证书,并使用 HTTP 基本认证。 +> 更多信息:. + +- 为当前目录启动 HTTP 服务器: + +`updog` + +- 为指定目录启动 HTTP 服务器: + +`updog --directory {{/路径/到/目录}}` + +- 在指定端口上启动 HTTP 服务器: + +`updog --port {{端口}}` + +- 使用密码启动 HTTP 服务器(要登录,请将用户名留空,并在密码字段中输入密码): + +`updog --password {{密码}}` + +- 通过 SSL 启用传输加密: + +`updog --ssl` diff --git a/pages.zh/common/upt.md b/pages.zh/common/upt.md new file mode 100644 index 00000000000000..df2dd38bf6b328 --- /dev/null +++ b/pages.zh/common/upt.md @@ -0,0 +1,38 @@ +# upt + +> 统一的界面,用于管理各种操作系统上的软件包,例如 Windows、许多 Linux 发行版、macOS、FreeBSD,甚至 Haiku。 +> 它需要安装本机操作系统的软件包管理器。 +> 请参阅:`flatpak`、`brew`、`scoop`、`apt`、`dnf`. +> 更多信息:. + +- 更新可用软件包的列表: + +`upt update` + +- 搜索指定的软件包: + +`upt search {{搜索软件包关键词}}` + +- 显示某个软件包的信息: + +`upt info {{软件包}}` + +- 安装指定的软件包: + +`upt install {{软件包}}` + +- 移除指定的软件包: + +`upt {{remove|uninstall}} {{软件包}}` + +- 升级所有已安装的软件包: + +`upt upgrade` + +- 升级指定的软件包: + +`upt upgrade {{软件包}}` + +- 列出已安装的软件包: + +`upt list` diff --git a/pages.zh/common/uptime.md b/pages.zh/common/uptime.md new file mode 100644 index 00000000000000..90fca3c5d39ee1 --- /dev/null +++ b/pages.zh/common/uptime.md @@ -0,0 +1,20 @@ +# uptime + +> 告知当前系统运行多长时间和其他信息。 +> 更多信息:. + +- 打印当前时间,运行时间,登录用户数量和其他信息: + +`uptime` + +- 仅显示系统已启动的时间长度: + +`uptime {{[-p|--pretty]}}` + +- 打印系统启动的日期和时间: + +`uptime {{[-s|--since]}}` + +- 显示版本信息: + +`uptime {{[-V|--version]}}` diff --git a/pages.zh/common/upx.md b/pages.zh/common/upx.md new file mode 100644 index 00000000000000..30363457b7f434 --- /dev/null +++ b/pages.zh/common/upx.md @@ -0,0 +1,16 @@ +# upx + +> 压缩或解压可执行文件。 +> 更多信息:. + +- 压缩可执行文件: + +`upx {{路径/到/文件}}` + +- 解压可执行文件: + +`upx -d {{路径/到/文件}}` + +- 详细帮助: + +`upx --help` diff --git a/pages.zh/common/users.md b/pages.zh/common/users.md new file mode 100644 index 00000000000000..ff85d541ab90da --- /dev/null +++ b/pages.zh/common/users.md @@ -0,0 +1,13 @@ +# users + +> 显示已登录用户的列表。 +> 请参阅:`useradd`,`userdel`,`usermod`。 +> 更多信息:. + +- 输出已登录的用户名: + +`users` + +- 根据指定的文件输出已登录的用户名: + +`users {{/var/log/wmtp}}` diff --git a/pages.zh/common/usql.md b/pages.zh/common/usql.md new file mode 100644 index 00000000000000..8b7150956f6fb1 --- /dev/null +++ b/pages.zh/common/usql.md @@ -0,0 +1,32 @@ +# usql + +> 通用 SQL 数据库的命令行界面。 +> 更多信息:. + +- 连接到一个特定的数据库: + +`usql {{sqlserver|mysql|postgres|sqlite3|...}}://{{用户名}}:{{密码}}@{{主机}}:{{端口}}/{{数据库名}}` + +- 从文件中执行命令: + +`usql --file={{路径/到/文件.sql}}` + +- 执行一个特定的 SQL 命令: + +`usql --command="{{sql命令}}"` + +- 在 `usql` 提示符下运行一个 SQL 命令: + +`{{prompt}}=> {{sql命令}}` + +- 显示数据库架构: + +`{{prompt}}=> \d` + +- 将查询结果导出到一个特定文件: + +`{{prompt}}=> \g {{路径/到/结果文件}}` + +- 从 CSV 文件导入数据到一个特定表: + +`{{prompt}}=> \copy {{路径/到/data.csv}} {{表名}}` diff --git a/pages.zh/common/uudecode.md b/pages.zh/common/uudecode.md new file mode 100644 index 00000000000000..a90c5d40aeda72 --- /dev/null +++ b/pages.zh/common/uudecode.md @@ -0,0 +1,12 @@ +# uudecode + +> 解码被 `uuencode` 编码的文件。 +> 更多信息:. + +- 解码用 `uuencode` 编码的文件,并将结果打印到 `stdout`: + +`uudecode {{路径/到/编码文件}}` + +- 解码用 `uuencode` 编码的文件,并将结果写入到一个文件中: + +`uudecode -o {{路径/到/解码文件}} {{路径/到/编码文件}}` diff --git a/pages.zh/common/uuencode.md b/pages.zh/common/uuencode.md new file mode 100644 index 00000000000000..e345004e997b30 --- /dev/null +++ b/pages.zh/common/uuencode.md @@ -0,0 +1,16 @@ +# uuencode + +> 将二进制文件编码为 ASCII,以便通过仅支持简单 ASCII 编码的媒介传输。 +> 更多信息:. + +- 编码一个文件并将结果打印到 `stdout`: + +`uuencode {{路径/到/输入文件}} {{解码后文件名}}` + +- 编码一个文件并将结果写入到一个文件: + +`uuencode -o {{路径/到/输出文件}} {{路径/到/输入文件}} {{解码后文件名}}` + +- 使用 Base64 而不是默认的 uuencode 编码一个文件,并将结果写入到一个文件: + +`uuencode -m -o {{路径/到/输出文件}} {{路径/到/输入文件}} {{解码后文件名}}` diff --git a/pages.zh/common/uv-python.md b/pages.zh/common/uv-python.md new file mode 100644 index 00000000000000..a0e856efc12baf --- /dev/null +++ b/pages.zh/common/uv-python.md @@ -0,0 +1,28 @@ +# uv python + +> 管理 Python 版本和安装。 +> 更多信息:. + +- 列出所有可用的 Python 安装: + +`uv python list` + +- 安装某个版本的 Python: + +`uv python install {{版本}}` + +- 卸载某个版本的 Python: + +`uv python uninstall {{版本}}` + +- 搜索某个版本的 Python 安装: + +`uv python find {{版本}}` + +- 锁定当前项目使用特定版本的 Python: + +`uv python pin {{版本}}` + +- 显示 `uv` Python 安装目录: + +`uv python dir` diff --git a/pages.zh/common/uv-tool.md b/pages.zh/common/uv-tool.md new file mode 100644 index 00000000000000..ca0d0811b5c216 --- /dev/null +++ b/pages.zh/common/uv-tool.md @@ -0,0 +1,24 @@ +# uv tool + +> 安装和运行由 Python 软件包提供的命令。 +> 更多信息:. + +- 运行一个来自软件包的命令,而不安装它: + +`uv tool run {{命令}}` + +- 在系统范围内安装一个 Python 软件包: + +`uv tool install {{软件包}}` + +- 升级已安装的 Python 软件包: + +`uv tool upgrade {{软件包}}` + +- 卸载一个 Python 软件包: + +`uv tool uninstall {{软件包}}` + +- 列出系统范围内已安装的 Python 软件包: + +`uv tool list` diff --git a/pages.zh/common/uv.md b/pages.zh/common/uv.md new file mode 100644 index 00000000000000..f9c6c377820d39 --- /dev/null +++ b/pages.zh/common/uv.md @@ -0,0 +1,37 @@ +# uv + +> 一个快速的 Python 软件包和项目管理器。 +> 此命令也有关于其子命令的文件,例如:`tool` 和 `python`. +> 更多信息:. + +- 在当前目录中创建一个新的 Python 项目: + +`uv init` + +- 在具有指定名称的目录中创建一个新的 Python 项目: + +`uv init {{项目名称}}` + +- 向项目中添加一个新的软件包: + +`uv add {{软件包}}` + +- 从项目中移除一个软件包: + +`uv remove {{软件包}}` + +- 在项目的环境中运行一个脚本: + +`uv run {{路径/到/脚本.py}}` + +- 在项目的环境中运行一个命令: + +`uv run {{命令}}` + +- 从 `pyproject.toml` 更新项目的环境: + +`uv sync` + +- 为项目的依赖项创建一个锁定文件: + +`uv lock` diff --git a/pages.zh/common/uvicorn.md b/pages.zh/common/uvicorn.md new file mode 100644 index 00000000000000..a54617a4168579 --- /dev/null +++ b/pages.zh/common/uvicorn.md @@ -0,0 +1,24 @@ +# uvicorn + +> Python 的 ASGI HTTP 服务器,适用于异步项目。 +> 更多信息:. + +- 运行 Python Web 应用: + +`uvicorn {{导入路径:应用对象}}` + +- 在本地主机上监听端口 8080: + +`uvicorn --host {{localhost}} --port {{8080}} {{导入路径:应用对象}}` + +- 启用实时重新加载: + +`uvicorn --reload {{导入路径:应用对象}}` + +- 使用 4 个工作进程处理请求: + +`uvicorn --workers {{4}} {{导入路径:应用对象}}` + +- 通过 HTTPS 运行应用: + +`uvicorn --ssl-certfile {{cert.pem}} --ssl-keyfile {{key.pem}} {{导入路径:应用对象}}` diff --git a/pages.zh/common/vi.md b/pages.zh/common/vi.md new file mode 100644 index 00000000000000..37d467b2451e79 --- /dev/null +++ b/pages.zh/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> 这是 `vim` 命令的一个别名。 + +- 原命令的文档在: + +`tldr vim` diff --git a/pages.zh/common/view.md b/pages.zh/common/view.md index 0745b3f51c67b6..cda9f5bab11241 100644 --- a/pages.zh/common/view.md +++ b/pages.zh/common/view.md @@ -1,8 +1,9 @@ # view -> `vim` 的只读版本. +> `vim` 的只读版本。 > 等效于 `vim -R`. +> 更多信息:. -- 打开文件: +- 打开文件: `view {{file}}` diff --git a/pages.zh/common/vim.md b/pages.zh/common/vim.md index 74a5cc9306bf6a..7520bc8ca24101 100644 --- a/pages.zh/common/vim.md +++ b/pages.zh/common/vim.md @@ -1,38 +1,37 @@ # vim -> Vi IMproved, 一个程序员的文本编辑器,提供为不同类型的文档修改设计的多种模式 -> 在`vim`内使用任何命令时请确认未使用中文输入法,否则可能会出现奇怪的问题 -> 按下`i`来进入编辑模式,``回到标准模式 (不允许普通的字符输入) +> Vi IMproved,一个程序员的文本编辑器,提供为不同类型的文档修改设计的多种模式。 +> 按 `` 进入插入模式。`` 返回正常模式,正常模式允许使用 Vim 命令。 > 更多信息:. -- 打开文档: +- 打开文档: -`vim {{file}}` +`vim {{文件}}` -- 进入编辑模式 (插入模式): +- 打开文件的指定行数: -`i` +`vim +{{行数}} {{文件}}` -- 复制 ("yank") 或剪切 ("delete") 当前行 (使用`P`来粘贴): +- 查看 Vim 的使用说明: -`{{yy|dd}}` +`<:>help` -- 撤销上一个操作: +- 保存并退出: -`u` +`{{|<:>x|<:>wq}}` -- 在文件中搜寻 (按下 `n`/`N` 来在上一个 / 下一个结果中切换): +- 撤销上一个操作: -`/{{search_pattern}}` +`` -- 对整个文件使用正则表达式进行替换: +- 用特征(pattern)在文件中搜寻,按下 ``/`` 切换至上 / 下一个结果: -`:%s/{{pattern}}/{{replacement}}/g` +`{{特征}}` -- 保存 (写入) 文件,然后退出: +- 对整个文件使用正则表达式进行替换: -`:wq` +`<:>%s/{{正则表达式}}/{{替换字}}/g` -- 不保存退出: +- 显示行号: -`:q!` +`<:>set nu` diff --git a/pages.zh/common/virtualenv.md b/pages.zh/common/virtualenv.md index 97d4eab0d53189..3ade7dbe6d3945 100644 --- a/pages.zh/common/virtualenv.md +++ b/pages.zh/common/virtualenv.md @@ -1,24 +1,24 @@ # virtualenv -> 创建被隔离的的 Python 虚拟环境. -> 更多信息:. +> 创建被隔离的的 Python 虚拟环境。 +> 更多信息:. -- 创建新环境: +- 创建新环境: `virtualenv {{path/to/venv}}` -- 自定义提示符: +- 自定义提示符: `virtualenv --prompt={{prompt_prefix}} {{path/to/venv}}` -- 为虚拟环境使用不同的 Python 版本: +- 为虚拟环境使用不同的 Python 版本: `virtualenv --python={{path/to/pythonbin}} {{path/to/venv}}` -- 启动 (选择) 环境: +- 启动(选择)环境: `source {{path/to/venv}}/bin/activate` -- 停止环境: +- 停止环境: `deactivate` diff --git a/pages.zh/common/vlc.md b/pages.zh/common/vlc.md index 0a66acb2d9a4a7..4e2e404f089c03 100644 --- a/pages.zh/common/vlc.md +++ b/pages.zh/common/vlc.md @@ -1,24 +1,24 @@ # vlc -> 跨平台多媒体播放器. -> 更多信息: . +> 跨平台多媒体播放器。 +> 更多信息:. -- 播放一个文件: +- 播放一个文件: `vlc {{文件名}}` -- 全屏播放: +- 全屏播放: `vlc --fullscreen {{文件名}}` -- 静音播放: +- 静音播放: `vlc --no-audio {{文件名}}` -- 循环播放: +- 循环播放: `vlc --loop {{文件名}}` -- 播放网络连接: +- 播放网络连接: `vlc {{连接}}` diff --git a/pages.zh/common/vue.md b/pages.zh/common/vue.md index 1c1594c8327cdc..2618134eb28b88 100644 --- a/pages.zh/common/vue.md +++ b/pages.zh/common/vue.md @@ -1,18 +1,13 @@ -# vue-cli +# vue -> 用于初始化 Vue.js 项目的 CLI. -> 本帮助适用于旧的 `vue-cli@2` 和 `@vue/cli-init` 插件,新版 CLI 文档请参见更多信息 -> 官方模板包括:webpack, webpack-simple, browserify, browserify-simple, simple. -> 更多信息:. +> 适用于 Vue.js 项目的多用途命令行接口。 +> 此命令也有关于其子命令的文件,例如:`build`。 +> 更多信息:. -- 从模板创建新项目: +- 交互式地创建一个新的 Vue 项目: -`vue init {{template}} {{project_name}}` +`vue create {{项目名}}` -- 从本地模板创建新项目: +- 使用图形化界面创建一个新项目: -`vue init {{path/to/template_directory}} {{project_name}}` - -- 从 GitHub 上拉取模板并创建新项目: - -`vue init {{username}}/{{repo}} {{project_name}}` +`vue ui` diff --git a/pages.zh/common/w.md b/pages.zh/common/w.md index 87538e10211a40..6a4c4da9ef6ec2 100644 --- a/pages.zh/common/w.md +++ b/pages.zh/common/w.md @@ -1,12 +1,20 @@ # w -> 显示有哪些用户登录了本机以及他们当前的活动. -> 打印用户登录,TTY, 远程主机,登录时间,闲置时间,当前进程. +> 显示已登录用户及其进程信息。 +> 更多信息:. -- 获取已登录用户信息: +- 显示所有当前已登录用户的信息: `w` -- 无标题栏模式: +- 显示指定用户的信息: -`w -h` +`w {{用户名}}` + +- 显示已登录用户信息,但不显示标题行: + +`w {{[-h|--no-header]}}` + +- 显示信息时不包含登录时间、JCPU 和 PCPU 列: + +`w {{[-s|--short]}}` diff --git a/pages.zh/common/wc.md b/pages.zh/common/wc.md new file mode 100644 index 00000000000000..240a86e95afb38 --- /dev/null +++ b/pages.zh/common/wc.md @@ -0,0 +1,28 @@ +# wc + +> 计数行、单词或字节。 +> 更多信息:. + +- 计数文件中的行数: + +`wc {{[-l|--lines]}} {{路径/到/文件}}` + +- 计数文件中的单词数: + +`wc {{[-w|--words]}} {{路径/到/文件}}` + +- 计数文件中的字节数: + +`wc {{[-c|--bytes]}} {{路径/到/文件}}` + +- 计数文件中的字符数(考虑所有多字节的字符): + +`wc {{[-m|--chars]}} {{路径/到/文件}}` + +- 使用 `stdin`,按顺序计数行、单词和字节: + +`{{find .}} | wc` + +- 计算最长行的长度(字符数): + +`wc {{[-L|--max-line-length]}} {{路径/到/文件}}` diff --git a/pages.zh/common/wget.md b/pages.zh/common/wget.md index 72b379c6dd7de1..aed80b4263503c 100644 --- a/pages.zh/common/wget.md +++ b/pages.zh/common/wget.md @@ -1,37 +1,37 @@ # wget -> 从网络上下载文件. +> 从网络上下载文件。 > 支持 HTTP, HTTPS, 和 FTP. > 更多信息:. -- 将该 URL 的内容下载到文件中 (在这个例子中文件名为 "foo"): +- 将该 URL 的内容下载到文件中(在这个例子中文件名为 "foo"): `wget {{https://example.com/foo}}` -- 将该 URL 的内容下载到文件中 (在这个例子中文件名为 "bar"): +- 将该 URL 的内容下载到文件中(在这个例子中文件名为 "bar"): -`wget -O {{bar}} {{https://example.com/foo}}` +`wget {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}` -- 以每三秒一个请求的速度下载一个网页和其所有资源 (脚本,样式表,图片等等): +- 以每三秒一个请求的速度下载一个网页和其所有资源(脚本,样式表,图片等等): -`wget --page-requisites --convert-links --wait=3 {{https://example.com/somepage.html}}` +`wget {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{[-w|--wait]}} 3 {{https://example.com/somepage.html}}` -- 从一个目录中下载所有列出的文件和其所有子文件夹 (不下载内嵌网页): +- 从一个目录中下载所有列出的文件和其所有子文件夹(不下载内嵌网页): -`wget --mirror --no-parent {{https://example.com/somepath/}}` +`wget {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/somepath/}}` -- 限制下载速度和重试次数: +- 限制下载速度和重试次数: -`wget --limit-rate={{300k}} --tries={{100}} {{https://example.com/somepath/}}` +`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/somepath/}}` -- 使用基本授权来从 HTTP/FTP 服务器中下载文件: +- 使用基本授权来从 HTTP/FTP 服务器中下载文件: -`wget --user={{username}} --password={{password}} {{https://example.com}}` +`wget --user {{username}} --password {{password}} {{https://example.com}}` -- 继续一个未完成的下载任务: +- 继续一个未完成的下载任务: -`wget -c {{https://example.com}}` +`wget {{[-c|--continue]}} {{https://example.com}}` -- 将指定文件中所有列出的 URL 下载到一个目录中: +- 将指定文件中所有列出的 URL 下载到一个目录中: -`wget -P {{path/to/directory}} -i {{URLs.txt}}` +`wget {{[-P|--directory-prefix]}} {{path/to/directory}} {{[-i|--input-file]}} {{URLs.txt}}` diff --git a/pages.zh/common/where.md b/pages.zh/common/where.md index 5b9e1d994c4b0f..1ec10fdba629b5 100644 --- a/pages.zh/common/where.md +++ b/pages.zh/common/where.md @@ -1,8 +1,9 @@ # where -> 报告所有已知的命令入口. -> 它可以是一个在`PATH`中的可执行文件,一个别名,或者一个 shell 內建命令. +> 报告所有已知的命令入口。 +> 它可以是一个在`PATH`中的可执行文件,一个别名,或者一个 shell 內建命令。 +> 更多信息:. -- 报告所有已知命令入口: +- 报告所有已知命令入口: `where {{command}}` diff --git a/pages.zh/common/which.md b/pages.zh/common/which.md index 3c5be5e048071d..90d0fbf2dc5823 100644 --- a/pages.zh/common/which.md +++ b/pages.zh/common/which.md @@ -1,11 +1,12 @@ # which -> 在用户的`PATH`中寻找可执行文件的路径 +> 在用户的`PATH`中寻找可执行文件的路径。 +> 更多信息:. -- 在`PATH`中寻找可执行文件并打印第一个匹配的结果: +- 在`PATH`中寻找可执行文件并打印第一个匹配的结果: `which {{executable}}` -- 如果有多个匹配结果则打印所有结果: +- 如果有多个匹配结果则打印所有结果: -`which -a {{executable}}` +`which {{[-a|--all]}} {{executable}}` diff --git a/pages.zh/common/who.md b/pages.zh/common/who.md new file mode 100644 index 00000000000000..a375a96227b1d8 --- /dev/null +++ b/pages.zh/common/who.md @@ -0,0 +1,17 @@ +# who + +> 显示当前登录用户和相关信息(进程,启动时间)。 +> 参见: `whoami`。 +> 更多信息:. + +- 显示用户名,终端线路,和所有当前登录会话的时间: + +`who` + +- 显示所有可用信息: + +`who {{[-a|--all]}}` + +- 显示所有可用信息,包含表格首部名称: + +`who {{[-aH|--all --heading]}}` diff --git a/pages.zh/common/whoami.md b/pages.zh/common/whoami.md new file mode 100644 index 00000000000000..3434e10b61dcec --- /dev/null +++ b/pages.zh/common/whoami.md @@ -0,0 +1,12 @@ +# whoami + +> 打印当前有效用户 ID 的用户名。 +> 更多信息:. + +- 显示当前登录用户名: + +`whoami` + +- 修改用户 ID 后显示当前登录用户名: + +`sudo whoami` diff --git a/pages.zh/common/whois.md b/pages.zh/common/whois.md new file mode 100644 index 00000000000000..55f56d1158101f --- /dev/null +++ b/pages.zh/common/whois.md @@ -0,0 +1,16 @@ +# whois + +> WHOIS(RFC 3912)协议的命令行客户端。 +> 更多信息:. + +- 获取域名信息: + +`whois {{example.com}}` + +- 获取 IP 地址信息: + +`whois {{8.8.8.8}}` + +- 获取 IP 地址用于报告滥用的联系方式: + +`whois -b {{8.8.8.8}}` diff --git a/pages.zh/common/write.md b/pages.zh/common/write.md index 617ae9d47f0b6d..0873a2f3637206 100644 --- a/pages.zh/common/write.md +++ b/pages.zh/common/write.md @@ -1,16 +1,17 @@ # write -> 向某个终端上的特定用户的屏幕写入信息 (Ctrl-C 来停止写入). +> 向某个终端上的特定用户的屏幕写入信息(`` 来停止写入)。 > 使用 `who` 命令来获取所有活动用户的终端 id. 参见 `mesg`. +> 更多信息:. -- 向指定的终端 ID 上的指定用户写入信息: +- 向指定的终端 ID 上的指定用户写入信息: `write {{username}} {{terminal_id}}` -- 向终端 "/dev/tty/5" 上的用户 "testuser" 发送信息: +- 向终端 "/dev/tty/5" 上的用户 "testuser" 发送信息: `write {{testuser}} {{tty/5}}` -- 向伪终端 "/dev/pts/5" 上的用户 "jhondoe" 发送信息 : +- 向伪终端 "/dev/pts/5" 上的用户 "johndoe" 发送信息: -`write {{jhondoe}} {{pts/5}}` +`write {{johndoe}} {{pts/5}}` diff --git a/pages.zh/common/xkill.md b/pages.zh/common/xkill.md new file mode 100644 index 00000000000000..4596f022fdb4ab --- /dev/null +++ b/pages.zh/common/xkill.md @@ -0,0 +1,17 @@ +# xkill + +> 在图形会话中以交互方式终止窗口。 +> 另请参阅:`kill`、`killall`。 +> 更多信息:. + +- 按下鼠标左键时终止鼠标选择的窗口(按下任何其他鼠标按钮可取消): + +`xkill` + +- 按下任意鼠标按键时终止鼠标选择的窗口: + +`xkill -button any` + +- 终止具有特定 ID 的窗口(使用 `xwininfo` 获取有关窗口的信息): + +`xkill -id {{id}}` diff --git a/pages.zh/common/xz.md b/pages.zh/common/xz.md new file mode 100644 index 00000000000000..5d486888c24e7c --- /dev/null +++ b/pages.zh/common/xz.md @@ -0,0 +1,36 @@ +# xz + +> 解压缩 XZ 和 LZMA 文件。 +> 更多信息:. + +- 使用 xz 压缩文件: + +`xz {{路径/到/文件}}` + +- 解压 XZ 文件: + +`xz {{[-d|--decompress]}} {{路径/到/文件.xz}}` + +- 使用 lzma 压缩文件: + +`xz {{[-F|--format]}} lzma {{路径/到/文件}}` + +- 解压 LZMA 文件: + +`xz {{[-d|--decompress]}} {{[-F|--format]}} lzma {{路径/到/文件.lzma}}` + +- 解压文件并输出到 `stdout`(暗示 `--keep`): + +`xz {{[-d|--decompress]}} {{[-c|--stdout]}} {{路径/到/文件.xz}}` + +- 压缩文件但不删除原文件: + +`xz {{[-k|--keep]}} {{路径/到/文件}}` + +- 使用最快方式压缩文件: + +`xz -0 {{路径/到/文件}}` + +- 使用最好方式压缩文件: + +`xz -9 {{路径/到/文件}}` diff --git a/pages.zh/common/xzcat.md b/pages.zh/common/xzcat.md new file mode 100644 index 00000000000000..534be609153619 --- /dev/null +++ b/pages.zh/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> 这是 `xz` 命令的一个别名。 + +- 原命令的文档在: + +`tldr xz` diff --git a/pages.zh/common/ya.md b/pages.zh/common/ya.md new file mode 100644 index 00000000000000..fe3ae0e186e772 --- /dev/null +++ b/pages.zh/common/ya.md @@ -0,0 +1,28 @@ +# ya + +> 管理 Yazi 软件包和插件。 +> 更多信息:. + +- 添加一个软件包: + +`ya pack -a {{软件包}}` + +- 升级所有软件包: + +`ya pack -u` + +- 订阅来自所有远程实例的消息: + +`ya sub {{种类}}` + +- 向当前实例发布一个字符串内容的消息: + +`ya pub --str {{字符串消息}}` + +- 向当前实例发布一个 JSON 内容的消息: + +`ya pub --json {{json消息}}` + +- 向指定实例发布一个字符串内容的消息: + +`ya pub-to --str {{消息}} {{接收者}} {{种类}}` diff --git a/pages.zh/common/yacas.md b/pages.zh/common/yacas.md new file mode 100644 index 00000000000000..5c7c173bcdf0e0 --- /dev/null +++ b/pages.zh/common/yacas.md @@ -0,0 +1,28 @@ +# yacas + +> 另一个计算机代数系统。 +> 更多信息:. + +- 启动交互式的 `yacas` 会话: + +`yacas` + +- 在 `yacas` 会话中,执行一个语句: + +`{{Integrate(x)Cos(x)}};` + +- 在 `yacas` 会话中,显示一个示例: + +`{{Example()}};` + +- 从 `yacas` 会话中退出: + +`{{quit}}` + +- 执行一个或多个 `yacas` 脚本(没有终端或提示符),然后退出: + +`yacas -p -c {{路径/到/脚本1}} {{路径/到/脚本2}}` + +- 执行并打印一个语句的结果,然后退出: + +`echo "{{Echo( Deriv(x)Cos(1/x) );}}" | yacas -p -c /dev/stdin` diff --git a/pages.zh/common/yacc.md b/pages.zh/common/yacc.md new file mode 100644 index 00000000000000..6c198eb68061a7 --- /dev/null +++ b/pages.zh/common/yacc.md @@ -0,0 +1,17 @@ +# yacc + +> 使用形式语法规范文件生成一个 LALR 解析器(使用 C 语言)。 +> 请参阅:`bison`。 +> 更多信息:. + +- 创建一个包含 C 语言解析器代码的文件 `y.tab.c`,并编译语法文件以及所有值所需的常量声明。(只有在使用 `-d` 选项时,才会创建常量声明文件 `y.tab.h`): + +`yacc -d {{路径/到/grammar_file.y}}` + +- 编译一个包含解析器描述的语法文件,以及报告由于语法中的歧义导致的冲突: + +`yacc -d {{路径/到/grammar_file.y}} -v` + +- 编译一个语法文件,并用 `prefix` 代替 `y` 作为输出文件名前缀: + +`yacc -d {{路径/到/grammar_file.y}} -v -b {{前缀}}` diff --git a/pages.zh/common/yadm-alt.md b/pages.zh/common/yadm-alt.md new file mode 100644 index 00000000000000..adc9d6e57a00d6 --- /dev/null +++ b/pages.zh/common/yadm-alt.md @@ -0,0 +1,9 @@ +# yadm-alt + +> 为任何被管理的文件创建符号链接并处理模板。 +> 了解更多关于模板的信息:。 +> 更多信息:. + +- 手动在备用文件之间创建符号链接: + +`yadm alt` diff --git a/pages.zh/common/yadm-bootstrap.md b/pages.zh/common/yadm-bootstrap.md new file mode 100644 index 00000000000000..071abf44ab9704 --- /dev/null +++ b/pages.zh/common/yadm-bootstrap.md @@ -0,0 +1,9 @@ +# yadm-bootstrap + +> 执行 Yadm 的 bootstrap 文件。 +> 这个文件应创建在 `$HOME/.config/yadm/bootstrap`。 +> 更多信息:. + +- 执行 bootstrap 可执行文件: + +`yadm bootstrap` diff --git a/pages.zh/common/yadm-clone.md b/pages.zh/common/yadm-clone.md new file mode 100644 index 00000000000000..17f475a97af5aa --- /dev/null +++ b/pages.zh/common/yadm-clone.md @@ -0,0 +1,30 @@ +# yadm-clone + +> 功能就像 `git clone`。此外,你还可以传递额外的标志来配置你的仓库。 +> 如果仓库中有一个引导文件,将提示你执行它。 +> 请参阅:`git clone`。 +> 更多信息:. + +- 克隆一个已有的仓库: + +`yadm clone {{远程_仓库_位置}}` + +- 克隆一个已有的仓库,然后执行引导文件: + +`yadm clone {{远程_仓库_位置}} --bootstrap` + +- 克隆一个已有的仓库,并在克隆后不执行引导文件: + +`yadm clone {{远程_仓库_位置}} --no-bootstrap` + +- 更改 `yadm` 在克隆时使用的工作树: + +`yadm clone {{远程_仓库_位置}} --w {{工作树_文件}}` + +- 更改 `yadm` 用于获取文件的分支: + +`yadm clone {{远程_仓库_位置}} -b {{分支}}` + +- 覆盖一个已有仓库的本地分支: + +`yadm clone {{远程_仓库_位置}} -f` diff --git a/pages.zh/common/yadm-config.md b/pages.zh/common/yadm-config.md new file mode 100644 index 00000000000000..5c370372791636 --- /dev/null +++ b/pages.zh/common/yadm-config.md @@ -0,0 +1,20 @@ +# yadm-config + +> 传递选项给 `yadm` 的配置文件。更改由 `yadm` 管理的仓库的 `.config`。 +> 更多信息:. + +- 设置或更新 `yadm` 的 Git 配置: + +`yadm config {{键.内键}} {{值}}` + +- 从 `yadm` 的 Git 配置中获取一个值: + +`yadm config --get {{键}}` + +- 在 `yadm` 的 Git 配置中取消设置一个值: + +`yadm config --unset {{键}}` + +- 列出 `yadm` 的 Git 配置中的所有值: + +`yadm config --list` diff --git a/pages.zh/common/yadm-decrypt.md b/pages.zh/common/yadm-decrypt.md new file mode 100644 index 00000000000000..2f71e5ef75efdc --- /dev/null +++ b/pages.zh/common/yadm-decrypt.md @@ -0,0 +1,9 @@ +# yadm-decrypt + +> 解密由 `yadm` 加密的文件。 +> 激活此命令时,系统会提示你输入密码。 +> 更多信息:. + +- 解密文件: + +`yadm decrypt` diff --git a/pages.zh/common/yadm-encrypt.md b/pages.zh/common/yadm-encrypt.md new file mode 100644 index 00000000000000..876e356723b031 --- /dev/null +++ b/pages.zh/common/yadm-encrypt.md @@ -0,0 +1,13 @@ +# yadm-encrypt + +> 加密在指定的加密文件中列出的文件。 +> 文件被加密后将会存储在指定的归档文件夹中。 +> 更多信息:. + +- 加密在指定的加密文件中列出的文件: + +`yadm encrypt` + +- 创建加密所需的文件和文件夹: + +`touch {{路径/到/encrypt_file}} && mkdir {{路径/到/archive_folder}}` diff --git a/pages.zh/common/yadm-enter.md b/pages.zh/common/yadm-enter.md new file mode 100644 index 00000000000000..985763b860d6dc --- /dev/null +++ b/pages.zh/common/yadm-enter.md @@ -0,0 +1,13 @@ +# yadm-enter + +> 使用所有 Git 变量设置运行一个子 Shell。这个子 Shell 可以用于使用 Git 命令方便地与本地 `yadm` 仓库交互。 +> 如果你正在使用一个直接使用 Git 的工具,这可能会很有用。 +> 更多信息:. + +- 使用所有 Git 变量设置运行一个子 Shell: + +`yadm enter` + +- 退出子 Shell: + +`exit` diff --git a/pages.zh/common/yadm-git-crypt.md b/pages.zh/common/yadm-git-crypt.md new file mode 100644 index 00000000000000..0f3dee034a9872 --- /dev/null +++ b/pages.zh/common/yadm-git-crypt.md @@ -0,0 +1,21 @@ +# yadm git-crypt + +> Git Crypt 能够实现 Git 仓库中文件的透明加密和解密。 +> 请参阅:`git-crypt`。 +> 更多信息:. + +- 初始化仓库以使用 Git Crypt: + +`yadm git-crypt init` + +- 使用 GPG 共享仓库: + +`yadm git-crypt add-gpg-user {{用户_id}}` + +- 克隆包含加密文件的仓库后,解锁它们: + +`yadm git-crypt unlock` + +- 导出对称密钥: + +`yadm git-crypt export-key {{路径/到/密钥文件}}` diff --git a/pages.zh/common/yadm-gitconfig.md b/pages.zh/common/yadm-gitconfig.md new file mode 100644 index 00000000000000..6f097b5ad96c2f --- /dev/null +++ b/pages.zh/common/yadm-gitconfig.md @@ -0,0 +1,21 @@ +# yadm-gitconfig + +> 向 `git config` 传递选项。更改由 `yadm` 管理的仓库的 `.gitconfig`。 +> 请参阅:`git config`。 +> 更多信息:. + +- 更新或设置一个 Git 配置值: + +`yadm gitconfig {{键.内键}} {{值}}` + +- 从 `yadm` 的 Git 配置中获取一个值: + +`yadm gitconfig --get {{键}}` + +- 在 `yadm` 的 Git 配置中取消设置一个值: + +`yadm gitconfig --unset {{键}}` + +- 列出 `yadm` 的 Git 配置中的所有值: + +`yadm gitconfig --list` diff --git a/pages.zh/common/yadm-init.md b/pages.zh/common/yadm-init.md new file mode 100644 index 00000000000000..c9b462d4a9e9da --- /dev/null +++ b/pages.zh/common/yadm-init.md @@ -0,0 +1,17 @@ +# yadm-init + +> 初始化一个新的空的代码仓库用于跟踪点文件。 +> 该代码仓库存储在 `$HOME/.local/share/yadm/repo.git` 中。 +> 更多信息:. + +- 执行: + +`yadm init` + +- 覆盖工作树: + +`yadm init -w {{路径/到/工作树文件夹}}` + +- 覆盖已存在的代码仓库: + +`yadm init -f {{路径/到/本地代码仓库}}` diff --git a/pages.zh/common/yadm-introspect.md b/pages.zh/common/yadm-introspect.md new file mode 100644 index 00000000000000..923990b9e5940a --- /dev/null +++ b/pages.zh/common/yadm-introspect.md @@ -0,0 +1,21 @@ +# yadm-introspect + +> 查看由 `yadm` 管理的数据。 +> 内省的目的是支持命令行补全。 +> 更多信息:. + +- 输出命令: + +`yadm introspect commands` + +- 输出配置: + +`yadm introspect configs` + +- 为主 `yadm` 命令输出开关: + +`yadm introspect switches` + +- 输出仓库: + +`yadm introspect repo` diff --git a/pages.zh/common/yadm-list.md b/pages.zh/common/yadm-list.md new file mode 100644 index 00000000000000..80973ad0e7e81f --- /dev/null +++ b/pages.zh/common/yadm-list.md @@ -0,0 +1,12 @@ +# yadm-list + +> 打印由 `yadm` 管理的文件列表。 +> 更多信息:. + +- 打印当前目录中由 `yadm` 管理的文件列表: + +`yadm list` + +- 列出所有由 `yadm` 完全管理的文件: + +`yadm list -a` diff --git a/pages.zh/common/yadm-perms.md b/pages.zh/common/yadm-perms.md new file mode 100644 index 00000000000000..b5672ab2c21298 --- /dev/null +++ b/pages.zh/common/yadm-perms.md @@ -0,0 +1,9 @@ +# yadm-perms + +> 更新权限。 +> 通常不需要运行此命令,因为 `yadm` 默认会自动处理权限。这种自动行为可以通过将配置 `yadm.auto-perms` 设置为 `"false"` 来禁用。 +> 更多信息:. + +- 修改文件权限: + +`yadm perms` diff --git a/pages.zh/common/yadm-transcrypt.md b/pages.zh/common/yadm-transcrypt.md new file mode 100644 index 00000000000000..abf4fd9913fa05 --- /dev/null +++ b/pages.zh/common/yadm-transcrypt.md @@ -0,0 +1,26 @@ +# yadm-transcrypt + +> 如果已安装 `transcrypt`,此命令允许直接向 `transcrypt` 传递选项。 +> 环境配置为使用 yadm 仓库。 +> Transcrypt 使 Git 仓库中的文件能够透明地加密和解密。 +> 更多信息:. + +- 设置用于加密的对称加密算法: + +`yadm transcrypt --cipher={{加密算法}}` + +- 提供用来派生密钥的密码: + +`yadm transcrypt --password={{密码}}` + +- 假设所有回答为“是”并接受未指定选项的默认值: + +`yadm transcrypt --yes` + +- 显示当前仓库的加密算法和密码: + +`yadm transcrypt --display` + +- 使用新的凭证重新加密所有已加密的文件: + +`yadm transcrypt --rekey` diff --git a/pages.zh/common/yadm-upgrade.md b/pages.zh/common/yadm-upgrade.md new file mode 100644 index 00000000000000..cdca4c3b9a0623 --- /dev/null +++ b/pages.zh/common/yadm-upgrade.md @@ -0,0 +1,13 @@ +# yadm-upgrade + +> 将 `yadm` 升级到最新版本。 +> 升级将尝试将你的子模块反初始化并重新初始化。 +> 更多信息:. + +- 将 `yadm` 升级到最新版本: + +`yadm upgrade` + +- 强制升级,无论有无更改: + +`yadm upgrade -f` diff --git a/pages.zh/common/yadm.md b/pages.zh/common/yadm.md new file mode 100644 index 00000000000000..2e9646b10f35fd --- /dev/null +++ b/pages.zh/common/yadm.md @@ -0,0 +1,33 @@ +# yadm + +> 一个通过使用 `git` 来管理 dotfiles 的工具。 +> 此命令也有关于其子命令的文件,例如:`init`、`clone`、`push` 和 `pull`。 +> 更多信息:. + +- 覆盖 `yadm` 目录。`yadm` 会相对于此目录存储其配置: + +`yadm --yadm-dir` + +- 覆盖 `yadm` 数据目录:`yadm` 会相对于此目录存储其数据: + +`yadm --yadm-data` + +- 覆盖 `yadm` 仓库的位置: + +`yadm --yadm-repo` + +- 覆盖 `yadm` 配置文件的位置: + +`yadm --yadm-config` + +- 覆盖 `yadm` 加密配置的位置: + +`yadm --yadm-encrypt` + +- 覆盖 `yadm` 加密文件归档的位置: + +`yadm --yadm-archive` + +- 覆盖 `yadm` 引导程序的位置: + +`yadm --yadm-bootstrap` diff --git a/pages.zh/common/yank.md b/pages.zh/common/yank.md new file mode 100644 index 00000000000000..41b28dc4138cc6 --- /dev/null +++ b/pages.zh/common/yank.md @@ -0,0 +1,20 @@ +# yank + +> 从 `stdin` 读取输入并显示一个选择界面,该界面允许选择一个字段并将其复制到剪贴板。 +> 更多信息:. + +- 使用默认分隔符(\f, \n, \r, \s, \t): + +`{{sudo dmesg}} | yank` + +- 输入单行: + +`{{sudo dmesg}} | yank -l` + +- 使用特定分 `=` 隔符输入: + +`{{echo hello=world}} | yank -d {{=}}` + +- 只有与特定正则表达式匹配的内容才输入: + +`{{ps ux}} | yank -g "{{[0-9]+}}"` diff --git a/pages.zh/common/yapf.md b/pages.zh/common/yapf.md new file mode 100644 index 00000000000000..8b0510101756a8 --- /dev/null +++ b/pages.zh/common/yapf.md @@ -0,0 +1,16 @@ +# yapf + +> Python 风格指南检查器。 +> 更多信息:. + +- 显示将要进行的更改的差异,但不实际更改(试运行): + +`yapf --diff {{路径/到/文件}}` + +- 就地格式化文件,并显示更改的差异: + +`yapf --diff --in-place {{路径/到/文件}}` + +- 递归格式化目录中的所有 Python 文件,并发执行: + +`yapf --recursive --in-place --style {{pep8}} --parallel {{路径/到/目录}}` diff --git a/pages.zh/common/yard.md b/pages.zh/common/yard.md new file mode 100644 index 00000000000000..303c74a72af86e --- /dev/null +++ b/pages.zh/common/yard.md @@ -0,0 +1,16 @@ +# yard + +> Ruby 的文档工具。 +> 更多信息:. + +- 创建文档: + +`yard` + +- 创建文档并保存到一个文件中: + +`yard --one-file` + +- 列出所有未记录的对象: + +`yard stats --list-undoc` diff --git a/pages.zh/common/yarn-why.md b/pages.zh/common/yarn-why.md index 51613e18aac2cc..797e523d6e5643 100644 --- a/pages.zh/common/yarn-why.md +++ b/pages.zh/common/yarn-why.md @@ -1,8 +1,8 @@ # yarn-why -> 确认安装这个 Yarn 软件包的原因. -> 更多信息:. +> 确认安装这个 Yarn 软件包的原因。 +> 更多信息:. -- 打印安装这个 Yarn 软件包的原因: +- 打印安装这个 Yarn 软件包的原因: `yarn-why {{package_name}}` diff --git a/pages.zh/common/yarn.md b/pages.zh/common/yarn.md index 4a09839cd71599..657c913fca7547 100644 --- a/pages.zh/common/yarn.md +++ b/pages.zh/common/yarn.md @@ -1,28 +1,28 @@ # yarn -> JavaScript 和 Node.js package manager 的一个替代. -> 更多信息:. +> JavaScript 和 Node.js package manager 的一个替代。 +> 更多信息:. -- 全局安装一个模块: +- 全局安装一个模块: `yarn global add {{module_name}}` -- 安装 `package.json` 中指定的依赖 (`install` 命令是可选的 -- 你可以直接输入`yarn`): +- 安装 `package.json` 中指定的依赖(`install` 命令是可选的 -- 你可以直接输入`yarn`): `yarn install` -- 安装一个模块并将其写入 `package.json` 中的依赖项 (增加 `--dev` 来作为开发依赖写入): +- 安装一个模块并将其写入 `package.json` 中的依赖项(增加 `--dev` 来作为开发依赖写入): `yarn add {{module_name}}@{{version}}` -- 卸载一个模块并将其从 `package.json` 的依赖项中移除: +- 卸载一个模块并将其从 `package.json` 的依赖项中移除: `yarn remove {{module_name}}` -- 交互式地创建一个 `package.json` 文件: +- 交互式地创建一个 `package.json` 文件: `yarn init` -- 确认一个模块是否是一个依赖项并且列出依赖其的模块: +- 确认一个模块是否是一个依赖项并且列出依赖其的模块: `yarn why {{module_name}}` diff --git a/pages.zh/common/yazi.md b/pages.zh/common/yazi.md new file mode 100644 index 00000000000000..53a75be00c1043 --- /dev/null +++ b/pages.zh/common/yazi.md @@ -0,0 +1,21 @@ +# yazi + +> 用 Rust 编写的极速终端文件管理器。 +> 提供高效、用户友好且可定制的文件管理体验。 +> 更多信息:. + +- 从当前目录启动 Yazi: + +`yazi` + +- 打印调试信息: + +`yazi --debug` + +- 在退出时将当前工作目录写入文件: + +`yazi --cwd-file {{路径/到/cwd_文件}}` + +- 清除缓存目录: + +`yazi --clear-cache` diff --git a/pages.zh/common/ybacklight.md b/pages.zh/common/ybacklight.md new file mode 100644 index 00000000000000..16cd9f80ae44c8 --- /dev/null +++ b/pages.zh/common/ybacklight.md @@ -0,0 +1,20 @@ +# ybacklight + +> 管理屏幕背光亮度。请参阅:`xbacklight`。 +> 更多信息:. + +- 打印当前亮度和最大亮度,缩写并使用斜杠分隔: + +`ybacklight Sc/Sm` + +- 指定亮度: + +`ybacklight s{{420}}` + +- 增加 42 个大步的亮度(默认 4200): + +`ybacklight Si42` + +- 减少 300 的亮度: + +`ybacklight d300` diff --git a/pages.zh/common/ybmtopbm.md b/pages.zh/common/ybmtopbm.md new file mode 100644 index 00000000000000..857f595850f31a --- /dev/null +++ b/pages.zh/common/ybmtopbm.md @@ -0,0 +1,8 @@ +# ybmtopbm + +> 将 Bennet Yee “面部”文件转换为 PBM。 +> 更多信息:. + +- 将 YBM 图像文件转换为 PBM: + +`ybmtopbm {{路径/到/输入文件.ybm}} > {{路径/到/输出文件.pbm}}` diff --git a/pages.zh/common/yes.md b/pages.zh/common/yes.md new file mode 100644 index 00000000000000..b12f0c3879dd13 --- /dev/null +++ b/pages.zh/common/yes.md @@ -0,0 +1,21 @@ +# yes + +> 重复输出某些内容。 +> 此命令通常用于对安装命令(如 `apt-get`)每个提示回答是。 +> 更多信息:. + +- 重复输出“{{消息}}”: + +`yes {{消息}}` + +- 重复输出“y”: + +`yes` + +- 接受 `apt-get` 命令的所有提示: + +`yes | sudo apt-get install {{程序}}` + +- 重复输出一个换行符以始终接受提示的默认选项: + +`yes ''` diff --git a/pages.zh/common/yesod.md b/pages.zh/common/yesod.md new file mode 100644 index 00000000000000..c55da4dbbc636b --- /dev/null +++ b/pages.zh/common/yesod.md @@ -0,0 +1,25 @@ +# yesod + +> Yesod 是一个基于 Haskell 的网页框架的辅助工具。 +> 所有 Yesod 命令都通过 `stack` 项目管理器来调用。 +> 更多信息:. + +- 在 `my-project` 目录下创建一个以 SQLite 为后端的新样板网站: + +`stack new {{my-project}} {{yesod-sqlite}}` + +- 在一个 Yesod 样板网站中安装 Yesod CLI 工具: + +`stack build yesod-bin cabal-install --install-ghc` + +- 启动开发服务器: + +`stack exec -- yesod devel` + +- 处理具有更改的 Template Haskell 依赖项的文件: + +`stack exec -- yesod touch` + +- 使用 Keter(Yesod 的部署管理器)部署应用程序: + +`stack exec -- yesod keter` diff --git a/pages.zh/common/ykinfo.md b/pages.zh/common/ykinfo.md new file mode 100644 index 00000000000000..2b9b4a06d0826f --- /dev/null +++ b/pages.zh/common/ykinfo.md @@ -0,0 +1,16 @@ +# ykinfo + +> 从 YubiKey 获取基本信息。 +> 更多信息:. + +- 显示 YubiKey 的所有信息: + +`ykinfo -a` + +- 仅获取 YubiKey 的十进制序列号: + +`ykinfo -s -q` + +- 获取 YubiKey 的功能: + +`ykinfo -c` diff --git a/pages.zh/common/ykman-config.md b/pages.zh/common/ykman-config.md new file mode 100644 index 00000000000000..1290c2bcc44207 --- /dev/null +++ b/pages.zh/common/ykman-config.md @@ -0,0 +1,17 @@ +# ykman config + +> 启用或禁用 YubiKey 应用程序。 +> 注意:您可以使用 `ykman info` 查看当前已启用的应用程序。 +> 更多信息:. + +- 通过 USB 或 NFC 启用某个应用程序(`--enable` 可以多次使用以指定更多应用程序): + +`ykman config {{usb|nfc}} {{[-e|--enable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` + +- 通过 USB 或 NFC 禁用某个应用程序(`--disable` 可以多次使用以指定更多应用程序): + +`ykman config {{usb|nfc}} {{[-d|--disable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` + +- 禁用 NFC 上的所有应用程序: + +`ykman config nfc {{[-D|--disable-all]}}` diff --git a/pages.zh/common/ykman-fido.md b/pages.zh/common/ykman-fido.md new file mode 100644 index 00000000000000..170d8b8d890b1c --- /dev/null +++ b/pages.zh/common/ykman-fido.md @@ -0,0 +1,36 @@ +# ykman fido + +> 管理 YubiKey FIDO 应用程序。 +> 更多信息:. + +- 显示 FIDO2 应用程序的一般信息: + +`ykman fido info` + +- 更改 FIDO 密码: + +`ykman fido access change-pin` + +- 列出存储在 YubiKey 上的常驻凭证: + +`ykman fido credentials list` + +- 从 YubiKey 中删除一个常驻凭证: + +`ykman fido credentials delete {{ID}}` + +- 列出存储在 YubiKey 上的指纹(需要带有指纹传感器的密钥): + +`ykman fido fingerprints list` + +- 向 YubiKey 添加一个新指纹: + +`ykman fido fingerprints add {{名称}}` + +- 从 YubiKey 删除一个指纹: + +`ykman fido fingerprints delete {{名称}}` + +- 清除所有 FIDO 凭证(在超过密码重试次数之后需要执行此操作): + +`ykman fido reset` diff --git a/pages.zh/common/ykman-oath.md b/pages.zh/common/ykman-oath.md new file mode 100644 index 00000000000000..c2e2f87d4999d8 --- /dev/null +++ b/pages.zh/common/ykman-oath.md @@ -0,0 +1,37 @@ +# ykman oath + +> 管理 OATH YubiKey 应用程序。 +> `关键词` 可以是名称或发行者的一部分。 +> 更多信息:. + +- 显示有关 OATH 应用程序的一般信息: + +`ykman oath info` + +- 更改用于保护 OATH 账户的密码(添加 `--clear` 以移除密码): + +`ykman oath access change` + +- 添加一个新账户(`--issuer` 是可选的): + +`ykman oath accounts add {{[-i|--issuer]}} {{发行者}} {{名称}}` + +- 列出所有账户(及其发行者): + +`ykman oath accounts list` + +- 列出所有账户及其当前的 TOTP/HOTP 代码(可通过关键词过滤列表): + +`ykman oath accounts code {{关键词}}` + +- 重命名一个账户: + +`ykman oath accounts rename {{关键词}} {{发行者:名称|名称}}` + +- 删除一个账户: + +`ykman oath accounts delete {{关键词}}` + +- 删除所有账户并恢复出厂设置: + +`ykman oath reset` diff --git a/pages.zh/common/ykman-openpgp.md b/pages.zh/common/ykman-openpgp.md new file mode 100644 index 00000000000000..ef15d4bfbaeb1d --- /dev/null +++ b/pages.zh/common/ykman-openpgp.md @@ -0,0 +1,21 @@ +# ykman openpgp + +> 管理 OpenPGP YubiKey 应用程序。 +> 注意:你需要使用 `gpg --card-edit` 来进行某些设置。 +> 更多信息:. + +- 显示有关 OpenPGP 应用程序的一般信息: + +`ykman openpgp info` + +- 分别设置用户 PIN码、复位代码和管理 PIN码的重试次数: + +`ykman openpgp access set-retries {{3}} {{3}} {{3}}` + +- 更改用户 PIN码、复位代码或管理 PIN码: + +`ykman openpgp access change-{{pin|reset-code|admin-pin}}` + +- 将 OpenPGP 应用程序恢复出厂设置(在超过管理 PIN码 重试次数后需要这样做): + +`ykman openpgp reset` diff --git a/pages.zh/common/ykman.md b/pages.zh/common/ykman.md new file mode 100644 index 00000000000000..5500e57ce9d30f --- /dev/null +++ b/pages.zh/common/ykman.md @@ -0,0 +1,29 @@ +# ykman + +> YubiKey 管理器 - 配置 YubiKey。 +> 如果连接了多个 YubiKey,您必须在子命令之前添加 `--device serial_number`。 +> 更多信息:. + +- 显示 YubiKey 的一般信息(序列号、固件版本、功能等): + +`ykman info` + +- 列出已连接 YubiKey 的简短单行描述(包括序列号): + +`ykman list` + +- 查看关于启用和禁用应用程序的文档: + +`tldr ykman config` + +- 查看关于管理 FIDO 应用程序的文档: + +`tldr ykman fido` + +- 查看关于管理 OATH 应用程序的文档: + +`tldr ykman oath` + +- 查看关于管理 OpenPGP 应用程序的文档: + +`tldr ykman openpgp` diff --git a/pages.zh/common/yolo.md b/pages.zh/common/yolo.md new file mode 100644 index 00000000000000..ceb0bd7ef910f3 --- /dev/null +++ b/pages.zh/common/yolo.md @@ -0,0 +1,12 @@ +# yolo + +> YOLO 命令行界面让你可以简单地在不同的任务和版本上进行模型的训练、验证或推理。 +> 更多信息:. + +- 在当前工作目录中创建默认配置的副本: + +`yolo task=init` + +- 使用指定的配置文件训练目标检测、实例分割或分类模型: + +`yolo task={{detect|segment|classify}} mode=train cfg={{路径/到/config.yaml}}` diff --git a/pages.zh/common/you-get.md b/pages.zh/common/you-get.md new file mode 100644 index 00000000000000..2735caf38d01f3 --- /dev/null +++ b/pages.zh/common/you-get.md @@ -0,0 +1,25 @@ +# you-get + +> 从网络下载媒体内容(视频、音频、图像)。 +> 请参阅:`yt-dlp`,`youtube-viewer`,`instaloader`。 +> 更多信息:. + +- 打印网络上指定媒体的媒体信息: + +`you-get --info {{https://example.com/video?id=value}}` + +- 从指定 URL 下载媒体: + +`you-get {{https://example.com/video?id=value}}` + +- 在 Google 视频上搜索并下载: + +`you-get {{关键词}}` + +- 将媒体下载到指定位置: + +`you-get --output-dir {{路径/到/目录}} --output-filename {{文件名}} {{https://example.com/watch?v=value}}` + +- 使用代理下载媒体: + +`you-get --http-proxy {{代理服务器}} {{https://example.com/watch?v=value}}` diff --git a/pages.zh/common/youtube-dl.md b/pages.zh/common/youtube-dl.md new file mode 100644 index 00000000000000..5e71b147e4e62c --- /dev/null +++ b/pages.zh/common/youtube-dl.md @@ -0,0 +1,37 @@ +# youtube-dl + +> 从 YouTube 和其他网站下载视频。 +> 请参阅:`yt-dlp`,`ytfzf`,`you-get`。 +> 更多信息:. + +- 下载一个视频或播放列表: + +`youtube-dl '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` + +- 列出视频或播放列表的所有可用格式: + +`youtube-dl --list-formats '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` + +- 以特定质量下载视频或播放列表: + +`youtube-dl --format "{{best[height<=480]}}" '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` + +- 下载视频的音频并将其转换为 MP3: + +`youtube-dl -x --audio-format {{mp3}} '{{url}}'` + +- 下载最佳质量的音频和视频并合并它们: + +`youtube-dl -f bestvideo+bestaudio '{{url}}'` + +- 将视频下载为 MP4 文件并自定义文件名: + +`youtube-dl --format {{mp4}} -o "{{%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'` + +- 下载特定语言的字幕并与视频一起保存: + +`youtube-dl --sub-lang {{en}} --write-sub '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` + +- 下载一个播放列表并从中提取 MP3: + +`youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" '{{url_to_playlist}}'` diff --git a/pages.zh/common/youtube-viewer.md b/pages.zh/common/youtube-viewer.md new file mode 100644 index 00000000000000..1f4a20175098bd --- /dev/null +++ b/pages.zh/common/youtube-viewer.md @@ -0,0 +1,21 @@ +# youtube-viewer + +> 搜索并播放 YouTube 上的视频。 +> 请参阅:`you-get`,`ytfzf`,`yt-dlp`。 +> 更多信息:. + +- 搜索一个视频: + +`youtube-viewer {{搜索关键词}}` + +- 登录到你的 YouTube 账户: + +`youtube-viewer --login` + +- 在 VLC 中观看指定 URL 的视频: + +`youtube-viewer --player={{vlc}} {{https://youtube.com/watch?v=dQw4w9WgXcQ}}` + +- 显示一个搜索提示并以 720p 播放已选视频: + +`youtube-viewer -{{7}}` diff --git a/pages.zh/common/yq.md b/pages.zh/common/yq.md new file mode 100644 index 00000000000000..3c3a068b08915c --- /dev/null +++ b/pages.zh/common/yq.md @@ -0,0 +1,36 @@ +# yq + +> 一个轻量级且可移植的命令行 YAML 处理器。 +> 更多信息:. + +- 以漂亮打印格式输出 YAML 文件(v4+): + +`yq eval {{路径/到/file.yaml}}` + +- 以漂亮打印格式输出 YAML 文件(v3): + +`yq read {{路径/到/file.yaml}} --colors` + +- 输出仅包含数组的 YAML 文件中的第一个元素(v4+): + +`yq eval '.[0]' {{路径/到/file.yaml}}` + +- 输出仅包含数组的 YAML 文件中的第一个元素(v3): + +`yq read {{路径/到/file.yaml}} '[0]'` + +- 在文件中设置(或覆盖)键的值(v4+): + +`yq eval '.{{键}} = "{{值}}"' --inplace {{路径/到/file.yaml}}` + +- 在文件中设置(或覆盖)键的值(v3): + +`yq write --inplace {{路径/到/file.yaml}} '{{键}}' '{{值}}'` + +- 合并两个文件并打印到 `stdout`(v4+): + +`yq eval-all 'select(filename == "{{路径/到/file1.yaml}}") * select(filename == "{{路径/到/file2.yaml}}")' {{路径/到/file1.yaml}} {{路径/到/file2.yaml}}` + +- 合并两个文件并打印到 `stdout`(v3): + +`yq merge {{路径/到/file1.yaml}} {{路径/到/file2.yaml}} --colors` diff --git a/pages.zh/common/yt-dlp.md b/pages.zh/common/yt-dlp.md new file mode 100644 index 00000000000000..0154f2ae83de13 --- /dev/null +++ b/pages.zh/common/yt-dlp.md @@ -0,0 +1,38 @@ +# yt-dlp + +> 一个具有额外功能和修复的 youtube-dl 分支。 +> 从 YouTube 和其他网站下载视频。 +> 请参阅:`yt-dlp`,`ytfzf`。 +> 更多信息:. + +- 下载视频或播放列表(使用下面命令的默认选项): + +`yt-dlp "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 列出可下载的视频格式: + +`yt-dlp --list-formats "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 使用最佳 MP4 视频格式下载视频或播放列表(默认为 "bv\*+ba/b"): + +`yt-dlp --format "{{bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]}}" "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 从视频中提取音频(需要 ffmpeg 或 ffprobe): + +`yt-dlp --extract-audio "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 指定提取音频的格式和音质(0(最佳)到 10(最差),默认值为 5): + +`yt-dlp --extract-audio --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- 仅下载播放列表中的第二、第四、第五、第六和最后一项(第一项为 1,而非 0): + +`yt-dlp --playlist-items 2,4:6,-1 "{{https://youtube.com/playlist?list=PLbzoR-pLrL6pTJfLQ3UwtB-3V4fimdqnA}}"` + +- 下载 YouTube 频道/用户的所有播放列表,并将每个播放列表保存在单独的目录中: + +`yt-dlp -o "{{%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s}}" "{{https://www.youtube.com/user/TheLinuxFoundation/playlists}}"` + +- 下载 Udemy 课程,并将每章保存在单独的目录中: + +`yt-dlp -u {{用户}} -p {{密码}} -P "{{路径/到/目录}}" -o "{{%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s}}" "{{https://www.udemy.com/java-tutorial}}"` diff --git a/pages.zh/common/yuvsplittoppm.md b/pages.zh/common/yuvsplittoppm.md new file mode 100644 index 00000000000000..40d94566f80826 --- /dev/null +++ b/pages.zh/common/yuvsplittoppm.md @@ -0,0 +1,8 @@ +# yuvsplittoppm + +> 将三个抽样的 Abekas YUV 文件转换为一个 PPM 图像。 +> 更多信息:. + +- 从以基名开始的三个文件中读取 Akebas YUV 字节,将它们合并为一个单一的 PPM 图像,并将其存储到指定的输出文件中: + +`yuvsplittoppm {{基名}} {{宽度}} {{高度}} > {{路径/到/输出_文件.ppm}}` diff --git a/pages.zh/common/yuvtoppm.md b/pages.zh/common/yuvtoppm.md new file mode 100644 index 00000000000000..264cb9ed3c373a --- /dev/null +++ b/pages.zh/common/yuvtoppm.md @@ -0,0 +1,8 @@ +# yuvtoppm + +> 将 Abekas YUV 字节转换为 PPM 文件。 +> 更多信息:. + +- 从指定的输入文件读取 Akebas YUV 字节,转换成 PPM 图像,并存储在指定的输出文件中: + +`yuvtoppm {{宽度}} {{高度}} {{路径/到/输入_文件.yuv}} > {{路径/到/输出_文件.ppm}}` diff --git a/pages.zh/common/yuy2topam.md b/pages.zh/common/yuy2topam.md new file mode 100644 index 00000000000000..05ca09262190c8 --- /dev/null +++ b/pages.zh/common/yuy2topam.md @@ -0,0 +1,8 @@ +# yuy2topam + +> 将 YUY2 字节转换为 PAM。 +> 更多信息:. + +- 将 YUY2 字节转换为 PAM: + +`yuy2topam -width {{值}} -height {{值}} {{路径/到/文件.yuy2}} > {{路径/到/文件.pam}}` diff --git a/pages.zh/common/z.md b/pages.zh/common/z.md index 0dc926b5a5cd80..f64dbf16872012 100644 --- a/pages.zh/common/z.md +++ b/pages.zh/common/z.md @@ -1,28 +1,32 @@ # z -> 记录被使用次数最多的目录并允许在它们之间以字符串或正则表达式来进行匹配和跳转. +> 记录被使用次数最多的目录并允许在它们之间以字符串或正则表达式来进行匹配和跳转。 > 更多信息:. -- 跳转到一个名字带有 "foo" 的文件夹: +- 跳转到一个名字带有 "foo" 的文件夹: `z {{foo}}` -- 跳转到一个名字带有 "foo" 并且后面带有 "bar" 的文件夹(例:`fooesbar`): +- 跳转到一个名字带有 "foo" 并且后面带有 "bar" 的文件夹(例:`fooesbar`): `z {{foo}} {{bar}}` -- 跳转到名字带有 "foo" 并且拥有最高访问次数的文件夹: +- 跳转到名字带有 "foo" 并且拥有最高访问次数的文件夹: `z -r {{foo}}` -- 跳转到最近使用的名字带有 "foo" 的文件夹: +- 跳转到最近使用的名字带有 "foo" 的文件夹: `z -t {{foo}}` -- 列出在 `z` 的数据库中名字带有 "foo" 的文件夹: +- 列出在 `z` 的数据库中名字带有 "foo" 的文件夹: `z -l {{foo}}` -- 将当前文件夹从 `z`的数据库中移除: +- 将当前文件夹从 `z` 的数据库中移除: -`z -x .` +`z -x` + +- 限制匹配结果为当前目录的子目录: + +`z -c {{foo}}` diff --git a/pages.zh/common/zapier-analytics.md b/pages.zh/common/zapier-analytics.md new file mode 100644 index 00000000000000..ef2e4fbe746795 --- /dev/null +++ b/pages.zh/common/zapier-analytics.md @@ -0,0 +1,16 @@ +# zapier analytics + +> 显示收集的分析数据的状态。也可用于更改收集的内容。 +> 更多信息:. + +- 显示收集的分析数据的状态: + +`zapier analytics` + +- 更改收集信息的详细程度: + +`zapier analytics {{[-m|--mode]}} {{enabled|anonymous|disabled}}` + +- 显示额外的调试输出: + +`zapier analytics {{[-m|--mode]}} {{enabled|anonymous|disabled}} {{-d|--debug}}` diff --git a/pages.zh/common/zapier-build.md b/pages.zh/common/zapier-build.md new file mode 100644 index 00000000000000..37957dd354e8a2 --- /dev/null +++ b/pages.zh/common/zapier-build.md @@ -0,0 +1,16 @@ +# zapier build + +> 构建一个可推送的 Zapier 集成 `zip` 文件。 +> 更多信息:. + +- 创建一个构建: + +`zapier build` + +- 禁用智能文件包含(只会包含 `index.js` 所需的文件): + +`zapier build --disable-dependency-detection` + +- 显示额外的调试输出: + +`zapier build {{[-d|--debug]}}` diff --git a/pages.zh/common/zapier-convert.md b/pages.zh/common/zapier-convert.md new file mode 100644 index 00000000000000..1b4e6c7573bfb5 --- /dev/null +++ b/pages.zh/common/zapier-convert.md @@ -0,0 +1,16 @@ +# zapier convert + +> 将一个可视化构建器集成转换为 CLI 集成。 +> 更多信息:. + +- 转换一个可视化构建器集成: + +`zapier convert {{集成_id}} {{路径/到/目录}}` + +- 使用特定版本转换一个可视化构建器集成: + +`zapier convert {{集成_id}} {{路径/到/目录}} {{[-v|--version]}}={{版本}}` + +- 显示额外的调试输出: + +`zapier convert --debug` diff --git a/pages.zh/common/zapier-init.md b/pages.zh/common/zapier-init.md new file mode 100644 index 00000000000000..a4877742c54e57 --- /dev/null +++ b/pages.zh/common/zapier-init.md @@ -0,0 +1,16 @@ +# zapier init + +> 初始化一个新的 Zapier 集成。 +> 更多信息:. + +- 初始化一个新的 Zapier 集成: + +`zapier init {{路径/到/目录}}` + +- 使用特定模板初始化一个新的 Zapier 集成: + +`zapier init {{路径/到/目录}} {{[-t|--template]}} {{basic-auth|callback|custom-auth|digest-auth|dynamic-dropdown|files|minimal|oauth1-trello|oauth2|search-or-create|session-auth|typescript}}` + +- 显示额外的调试输出: + +`zapier init {{[-d|--debug]}}` diff --git a/pages.zh/common/zapier-push.md b/pages.zh/common/zapier-push.md new file mode 100644 index 00000000000000..9d0ef2a4e02c29 --- /dev/null +++ b/pages.zh/common/zapier-push.md @@ -0,0 +1,16 @@ +# zapier push + +> 构建并上传一个 Zapier 集成。 +> 更多信息:. + +- 向 Zapier 推送一个集成: + +`zapier push` + +- 禁用智能文件包含(将只包含 `index.js` 所需的文件): + +`zapier push --disable-dependency-detection` + +- 显示额外的调试输出: + +`zapier push {{[-d|--debug]}}` diff --git a/pages.zh/common/zapier-scaffold.md b/pages.zh/common/zapier-scaffold.md new file mode 100644 index 00000000000000..e5c271bbd31338 --- /dev/null +++ b/pages.zh/common/zapier-scaffold.md @@ -0,0 +1,24 @@ +# zapier scaffold + +> 添加一个起始 {触发器}、{创建}、{搜索} 或 {资源} 到一个集成。 +> 更多信息:. + +- 创建一个新的触发器、创建、搜索或资源: + +`zapier scaffold {{trigger|search|create|resource}} {{名称}}` + +- 为生成的文件指定一个自定义目标目录: + +`zapier scaffold {{trigger|search|create|resource}} {{名称}} {{[-d|--dest]}}={{路径/到/目录}}` + +- 在生成文件时覆盖已有文件: + +`zapier scaffold {{trigger|search|create|resource}} {{名称}} {{[-f|--force]}}` + +- 从生成的文件中排除注释: + +`zapier scaffold {{trigger|search|create|resource}} {{名称}} --no-help` + +- 显示额外的调试输出: + +`zapier scaffold {{[-d|--debug]}}` diff --git a/pages.zh/common/zapier.md b/pages.zh/common/zapier.md new file mode 100644 index 00000000000000..1f4fd20d4bf105 --- /dev/null +++ b/pages.zh/common/zapier.md @@ -0,0 +1,33 @@ +# zapier + +> 创建、自动化并管理 Zapier 集成。 +> 此命令也有关于其子命令的文件,例如:`build`,`init`,`scaffold`,`push`,`test`,等。 +> 更多信息:. + +- 连接到一个 Zapier 帐户: + +`zapier login` + +- 使用项目模板初始化一个新的 Zapier 集成: + +`zapier init {{路径/到/目录}}` + +- 向你的集成中添加一个初始的触发器、创建、搜索或资源: + +`zapier scaffold {{trigger|create|search|resource}} {{名称}}` + +- 测试一个集成: + +`zapier test` + +- 构建并上传一个集成到 Zapier: + +`zapier push` + +- 显示帮助: + +`zapier help` + +- 显示特定命令的帮助: + +`zapier help {{命令}}` diff --git a/pages.zh/common/zbarimg.md b/pages.zh/common/zbarimg.md new file mode 100644 index 00000000000000..8d2037f138991d --- /dev/null +++ b/pages.zh/common/zbarimg.md @@ -0,0 +1,8 @@ +# zbarimg + +> 扫描并解码图像文件中的条形码。 +> 更多信息:. + +- 处理一个图像文件: + +`zbarimg {{图像文件}}` diff --git a/pages.zh/common/zcat.md b/pages.zh/common/zcat.md new file mode 100644 index 00000000000000..a320305cbb1040 --- /dev/null +++ b/pages.zh/common/zcat.md @@ -0,0 +1,12 @@ +# zcat + +> 打印 `gzip` 压缩文件中的数据。 +> 更多信息:. + +- 将 `gzip` 压缩档案的解压缩内容打印到 `stdout`: + +`zcat {{文件.txt.gz}}` + +- 将 `gzip` 压缩档案的压缩详细信息打印到 `stdout`: + +`zcat -l {{文件.txt.gz}}` diff --git a/pages.zh/common/zcmp.md b/pages.zh/common/zcmp.md new file mode 100644 index 00000000000000..0d359f68011bec --- /dev/null +++ b/pages.zh/common/zcmp.md @@ -0,0 +1,12 @@ +# zcmp + +> 比较压缩文件。 +> 更多信息:. + +- 对两个通过 `gzip` 压缩的文件运行 `cmp` 命令: + +`zcmp {{路径/到/文件1.gz}} {{路径/到/文件2.gz}}` + +- 将一个文件与其 gzipped 版本进行比较(假设 `.gz` 已存在): + +`zcmp {{路径/到/文件}}` diff --git a/pages.zh/common/zdb.md b/pages.zh/common/zdb.md new file mode 100644 index 00000000000000..ec205129a1f292 --- /dev/null +++ b/pages.zh/common/zdb.md @@ -0,0 +1,16 @@ +# zdb + +> ZFS 调试器。 +> 更多信息:. + +- 显示所有已挂载 ZFS 存储池的详细配置: + +`zdb` + +- 显示特定 ZFS 存储池的详细配置: + +`zdb -C {{存储池名称}}` + +- 显示关于块的数量、大小和重复数据删除的统计信息: + +`zdb -b {{存储池名称}}` diff --git a/pages.zh/common/zdiff.md b/pages.zh/common/zdiff.md new file mode 100644 index 00000000000000..6b8845055e34dd --- /dev/null +++ b/pages.zh/common/zdiff.md @@ -0,0 +1,12 @@ +# zdiff + +> 对 `gzip` 压缩文件调用 `diff`。 +> 更多信息:. + +- 比较两个文件,必要时解压它们: + +`zdiff {{路径/到/文件1.gz}} {{路径/到/文件2.gz}}` + +- 将文件与同名的 `gzip` 压缩文件进行比较: + +`zdiff {{路径/到/文件}}` diff --git a/pages.zh/common/zeek.md b/pages.zh/common/zeek.md new file mode 100644 index 00000000000000..0e239402d628ee --- /dev/null +++ b/pages.zh/common/zeek.md @@ -0,0 +1,29 @@ +# zeek + +> 被动网络流量分析器。 +> 所有输出和日志文件将保存到当前工作目录。 +> 更多信息:. + +- 分析来自网络接口的实时流量: + +`sudo zeek --iface {{接口}}` + +- 分析来自网络接口的实时流量并加载自定义脚本: + +`sudo zeek --iface {{接口}} {{脚本1}} {{脚本2}}` + +- 分析来自网络接口的实时流量,不加载任何脚本: + +`sudo zeek --bare-mode --iface {{接口}}` + +- 分析来自网络接口的实时流量,应用 `tcpdump` 过滤器: + +`sudo zeek --filter {{路径/到/过滤器}} --iface {{接口}}` + +- 使用看门狗计时器分析来自网络接口的实时流量: + +`sudo zeek --watchdog --iface {{接口}}` + +- 分析来自 PCAP 文件的流量: + +`zeek --readfile {{路径/到/文件.trace}}` diff --git a/pages.zh/common/zegrep.md b/pages.zh/common/zegrep.md new file mode 100644 index 00000000000000..d96d5d251b7149 --- /dev/null +++ b/pages.zh/common/zegrep.md @@ -0,0 +1,28 @@ +# zegrep + +> 使用 `egrep` 在压缩文件中查找扩展正则表达式模式。 +> 更多信息:. + +- 在压缩文件中搜索扩展正则表达式(支持 `?`, `+`, `{}`, `()` 和 `|`),区分大小写: + +`zegrep "{{搜索模式}}" {{路径/到/文件}}` + +- 在压缩文件中搜索扩展正则表达式(支持 `?`, `+`, `{}`, `()` 和 `|`),忽略大小写: + +`zegrep --ignore-case "{{搜索模式}}" {{路径/到/文件}}` + +- 搜索不匹配模式的行: + +`zegrep --invert-match "{{搜索模式}}" {{路径/到/文件}}` + +- 打印每个匹配项的文件名和行号: + +`zegrep --with-filename --line-number "{{搜索模式}}" {{路径/到/文件}}` + +- 搜索匹配模式的行,仅打印匹配的文本: + +`zegrep --only-matching "{{搜索模式}}" {{路径/到/文件}}` + +- 在压缩文件中递归搜索文件中的模式: + +`zegrep --recursive "{{搜索模式}}" {{路径/到/文件}}` diff --git a/pages.zh/common/zeisstopnm.md b/pages.zh/common/zeisstopnm.md new file mode 100644 index 00000000000000..a268107c1b3bd3 --- /dev/null +++ b/pages.zh/common/zeisstopnm.md @@ -0,0 +1,12 @@ +# zeisstopnm + +> 将 Zeiss 共聚焦文件转换为 Netbpm 格式。 +> 更多信息:. + +- 将 Zeiss 共聚焦文件转换为 `.pgm` 或 `.ppm` 格式: + +`zeisstopnm {{路径/到/文件}}` + +- 将 Zeiss 共聚焦文件转换为 Netbpm 格式,并明确指定目标文件类型: + +`zeisstopnm -{{pgm|ppm}} {{路径/到/文件}}` diff --git a/pages.zh/common/zek.md b/pages.zh/common/zek.md new file mode 100644 index 00000000000000..ebbc89149769d5 --- /dev/null +++ b/pages.zh/common/zek.md @@ -0,0 +1,16 @@ +# zek + +> 从 XML 生成一个 Go 结构体。 +> 更多信息:. + +- 从 `stdin` 中给定的 XML 生成一个 Go 结构体,并将输出显示在 `stdout` 上: + +`cat {{路径/到/输入.xml}} | zek` + +- 从 `stdin` 中给定的 XML 生成一个 Go 结构体,并将输出发送到文件: + +`curl -s {{https://url/to/xml}} | zek -o {{路径/到/输出.go}}` + +- 从 `stdin` 中给定的 XML 生成一个示例 Go 程序,并将输出发送到文件: + +`cat {{路径/到/输入.xml}} | zek -p -o {{路径/到/输出.go}}` diff --git a/pages.zh/common/zellij.md b/pages.zh/common/zellij.md new file mode 100644 index 00000000000000..57f73aeddce578 --- /dev/null +++ b/pages.zh/common/zellij.md @@ -0,0 +1,25 @@ +# zellij + +> 带有内置功能的终端复用器。 +> 请参阅:`tmux` 和 `screen`。 +> 更多信息:. + +- 启动一个新的命名会话: + +`zellij --session {{名称}}` + +- 列出现有会话: + +`zellij list-sessions` + +- 附加到最近使用的会话: + +`zellij attach` + +- 打开一个新窗格(在 zellij 会话中): + +`` + +- 从当前会话分离(在 zellij 会话中): + +`` diff --git a/pages.zh/common/zfgrep.md b/pages.zh/common/zfgrep.md new file mode 100644 index 00000000000000..84dd44dc13e61a --- /dev/null +++ b/pages.zh/common/zfgrep.md @@ -0,0 +1,25 @@ +# zfgrep + +> 在可能压缩的文件中匹配固定字符串。 +> 相当于 `grep -F`,如果必要,将先解压输入。 +> 更多信息:. + +- 在文件中搜索一个确切的字符串: + +`zfgrep {{搜索字符串}} {{路径/到/文件}}` + +- 计算在文件中匹配给定字符串的行数: + +`zfgrep --count {{搜索字符串}} {{路径/到/文件}}` + +- 显示文件中匹配行的行号: + +`zfgrep --line-number {{搜索字符串}} {{路径/到/文件}}` + +- 显示所有不包含搜索字符串的行: + +`zfgrep --invert-match {{搜索字符串}} {{路径/到/文件}}` + +- 仅列出内容至少匹配搜索字符串一次的文件名: + +`zfgrep --files-with-matches {{搜索字符串}} {{路径/到/文件1 路径/到/文件2 ...}}` diff --git a/pages.zh/common/zfs.md b/pages.zh/common/zfs.md new file mode 100644 index 00000000000000..c5136a8bc45476 --- /dev/null +++ b/pages.zh/common/zfs.md @@ -0,0 +1,28 @@ +# zfs + +> 管理 ZFS 文件系统。 +> 更多信息:. + +- 列出所有可用的 ZFS 文件系统: + +`zfs list` + +- 创建一个新的 ZFS 文件系统: + +`zfs create {{存储池名称/文件系统名称}}` + +- 删除一个 ZFS 文件系统: + +`zfs destroy {{存储池名称/文件系统名称}}` + +- 创建一个 ZFS 文件系统的快照: + +`zfs snapshot {{存储池名称/文件系统名称}}@{{快照名称}}` + +- 在文件系统上启用压缩: + +`zfs set compression=on {{存储池名称/文件系统名称}}` + +- 更改文件系统的挂载点: + +`zfs set mountpoint={{/我的/挂载/路径}} {{存储池名称/文件系统名称}}` diff --git a/pages.zh/common/zgrep.md b/pages.zh/common/zgrep.md new file mode 100644 index 00000000000000..5bcc7c40c434ac --- /dev/null +++ b/pages.zh/common/zgrep.md @@ -0,0 +1,32 @@ +# zgrep + +> 在压缩文件中从文件中 grep 文本模式(等价于 `grep -Z`)。 +> 更多信息:. + +- 在压缩文件中 grep 一个模式(区分大小写): + +`zgrep {{模式}} {{路径/到/压缩/文件}}` + +- 在压缩文件中 grep 一个模式(不区分大小写): + +`zgrep -i {{模式}} {{路径/到/压缩/文件}}` + +- 输出包含匹配模式的行数: + +`zgrep -c {{模式}} {{路径/到/压缩/文件}}` + +- 显示不包含该模式的行(反转搜索功能): + +`zgrep -v {{模式}} {{路径/到/压缩/文件}}` + +- 在压缩文件中为多个模式执行 grep: + +`zgrep -e "{{模式_1}}" -e "{{模式_2}}" {{路径/到/压缩/文件}}` + +- 使用扩展的正则表达式(支持 `?`、`+`、`{}`、`()` 和 `|`): + +`zgrep -E {{正则表达式}} {{路径/到/文件}}` + +- 打印每个匹配项前后各 3 行的上下文([C]ontent)、[B]efore 或 [A]fter: + +`zgrep -{{C|B|A}} {{3}} {{模式}} {{路径/到/压缩/文件}}` diff --git a/pages.zh/common/zig.md b/pages.zh/common/zig.md new file mode 100644 index 00000000000000..351f64210d221e --- /dev/null +++ b/pages.zh/common/zig.md @@ -0,0 +1,36 @@ +# zig + +> Zig 编译器和工具链。 +> 更多信息:. + +- 编译当前目录下的项目: + +`zig build` + +- 编译并运行当前目录下的项目: + +`zig build run` + +- 初始化一个 `zig build` 应用程序: + +`zig init-exe` + +- 初始化一个 `zig build` 库: + +`zig init-lib` + +- 创建并运行一个测试构建: + +`zig test {{路径/到/文件.zig}}` + +- 将 Zig 源码重新格式化为规范格式: + +`zig fmt {{路径/到/文件.zig}}` + +- 将 Zig 用作 C 编译器: + +`zig cc {{路径/到/文件.c}}` + +- 将 Zig 用作 C++ 编译器: + +`zig c++ {{路径/到/文件.cpp}}` diff --git a/pages.zh/common/zint.md b/pages.zh/common/zint.md new file mode 100644 index 00000000000000..7bb2684b07f22a --- /dev/null +++ b/pages.zh/common/zint.md @@ -0,0 +1,16 @@ +# zint + +> 生成条形码和二维码。 +> 更多信息:. + +- 生成一个条形码并保存: + +`zint --data "{{UTF-8 数据}}" --output {{路径/到/文件}}` + +- 指定生成的编码类型: + +`zint --barcode {{编码类型}} --data "{{UTF-8 数据}}" --output {{路径/到/文件}}` + +- 列出所有支持的编码类型: + +`zint --types` diff --git a/pages.zh/common/zip.md b/pages.zh/common/zip.md new file mode 100644 index 00000000000000..00dc21e85258d7 --- /dev/null +++ b/pages.zh/common/zip.md @@ -0,0 +1,33 @@ +# zip + +> 将文件打包并压缩(存档)为 zip 文件。 +> 另见:`unzip`。 +> 更多信息:. + +- 将文件/目录添加到指定存档中: + +`zip {{[-r|--recurse-paths]}} {{路径/到/压缩文件.zip}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 从指定存档中删除文件/目录: + +`zip {{[-d|--delete]}} {{路径/到/压缩文件.zip}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 存档文件/目录,排除指定的文件/目录: + +`zip {{[-r|--recurse-paths]}} {{路径/到/压缩文件.zip}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}} {{[-x|--exclude]}} {{路径/到/排除的文件或目录}}` + +- 以指定的压缩级别存档文件/目录(`0` - 最低,`9` - 最高): + +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{路径/到/压缩文件.zip}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 创建一个加密的存档: + +`zip {{[-re|--recurse-paths --encrypt]}} {{路径/到/压缩文件.zip}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 将文件/目录存档为多段分割的 zip 存档(例如每部分 3 GB): + +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{路径/到/压缩文件.zip}} {{路径/到/文件或目录1 路径/到/文件或目录2 ...}}` + +- 打印指定存档的内容: + +`zip {{[-sf|--split-size --freshen]}} {{路径/到/压缩文件.zip}}` diff --git a/pages.zh/common/zip2john.md b/pages.zh/common/zip2john.md new file mode 100644 index 00000000000000..098db4431359f9 --- /dev/null +++ b/pages.zh/common/zip2john.md @@ -0,0 +1,17 @@ +# zip2john + +> 从 Zip 压缩文件中提取密码哈希,供 John the Ripper 密码破解程序使用。 +> 这是一个通常作为 John the Ripper 安装的一部分安装的实用工具。 +> 更多信息:. + +- 从一个压缩文件中提取密码哈希,列出压缩文件中的所有文件: + +`zip2john {{路径/到/文件.zip}}` + +- 仅使用特定压缩文件提取密码哈希: + +`zip2john -o {{路径/到/压缩_文件}} {{路径/到/文件.zip}}` + +- 从压缩文件中提取密码哈希到一个特定文件(供 John the Ripper 使用): + +`zip2john -o {{路径/到/压缩_文件}} {{路径/到/文件.zip}} > {{文件.hash}}` diff --git a/pages.zh/common/zipalign.md b/pages.zh/common/zipalign.md new file mode 100644 index 00000000000000..43422c4b4ab0b6 --- /dev/null +++ b/pages.zh/common/zipalign.md @@ -0,0 +1,13 @@ +# zipalign + +> Zip 文件对齐工具。 +> 是 Android 软件开发工具包构建工具的一部分。 +> 更多信息:. + +- 在 4 字节边界上对齐一个 Zip 文件的数据: + +`zipalign {{4}} {{路径/到/输入.zip}} {{路径/到/输出.zip}}` + +- 检查一个 Zip 文件是否在 4 字节边界上正确对齐,并以详细的方式显示结果: + +`zipalign -v -c {{4}} {{路径/到/输入.zip}}` diff --git a/pages.zh/common/zipcloak.md b/pages.zh/common/zipcloak.md new file mode 100644 index 00000000000000..7d7bad64fb5d5b --- /dev/null +++ b/pages.zh/common/zipcloak.md @@ -0,0 +1,16 @@ +# zipcloak + +> 加密 Zip 压缩档案内的内容。 +> 更多信息:. + +- 加密一个 Zip 压缩档案的内容: + +`zipcloak {{路径/到/压缩档案.zip}}` + +- [d]解密一个 Zip 压缩档案的内容: + +`zipcloak -d {{路径/到/压缩档案.zip}}` + +- [O]将加密内容输出到一个新的 Zip 压缩档案中: + +`zipcloak {{路径/到/压缩档案.zip}} -O {{路径/到/加密.zip}}` diff --git a/pages.zh/common/zipgrep.md b/pages.zh/common/zipgrep.md new file mode 100644 index 00000000000000..dcc83e2dff2d4a --- /dev/null +++ b/pages.zh/common/zipgrep.md @@ -0,0 +1,24 @@ +# zipgrep + +> 在 Zip 压缩档案中的文件中使用扩展正则表达式查找模式(支持 `?`、`+`、`{}`、`()` 和 `|`)。 +> 更多信息:. + +- 在 Zip 压缩档案中搜索一个模式: + +`zipgrep "{{搜索模式}}" {{路径/到/文件.zip}}` + +- 打印匹配的文件名和行号: + +`zipgrep -H -n "{{搜索模式}}" {{路径/到/文件.zip}}` + +- 搜索与模式不匹配的行: + +`zipgrep -v "{{搜索模式}}" {{路径/到/文件.zip}}` + +- 指定在 Zip 压缩档案中要搜索的文件: + +`zipgrep "{{搜索模式}}" {{路径/到/文件.zip}} {{要搜索的文件1}} {{要搜索的文件2}}` + +- 排除在 Zip 压缩档案中要搜索的文件: + +`zipgrep "{{搜索模式}}" {{路径/到/文件.zip}} -x {{要排除的文件1}} {{要排除的文件2}}` diff --git a/pages.zh/common/zipinfo.md b/pages.zh/common/zipinfo.md new file mode 100644 index 00000000000000..f2368eb4282dd3 --- /dev/null +++ b/pages.zh/common/zipinfo.md @@ -0,0 +1,12 @@ +# zipinfo + +> 列出 Zip 文件内容的详细信息。 +> 更多信息:. + +- 以长格式(权限、所有权、大小和修改日期)列出 Zip 文件中的所有文件: + +`zipinfo {{路径/到/压缩包.zip}}` + +- 列出 Zip 文件中的所有文件: + +`zipinfo -1 {{路径/到/压缩包.zip}}` diff --git a/pages.zh/common/zipnote.md b/pages.zh/common/zipnote.md new file mode 100644 index 00000000000000..166c2d300735fa --- /dev/null +++ b/pages.zh/common/zipnote.md @@ -0,0 +1,17 @@ +# zipnote + +> 查看、添加或编辑 Zip 压缩包的注释。 +> 文件在 Zip 压缩包中也可以被重命名。 +> 更多信息:. + +- 查看 Zip 压缩包中的注释: + +`zipnote {{路径/到/文件.zip}}` + +- 将 Zip 压缩包中的注释提取到一个文件: + +`zipnote {{路径/到/文件.zip}} > {{路径/到/文件.txt}}` + +- 从一个文件中添加/更新 Zip 压缩包中的注释: + +`zipnote -w {{路径/到/文件.zip}} < {{路径/到/文件.txt}}` diff --git a/pages.zh/common/zless.md b/pages.zh/common/zless.md new file mode 100644 index 00000000000000..e72b938bfce853 --- /dev/null +++ b/pages.zh/common/zless.md @@ -0,0 +1,8 @@ +# zless + +> 查看 `gzip` 和 `xz` 压缩文件。 +> 更多信息:. + +- 使用 `less` 分页查看一个 `gzip` 压缩文件: + +`zless {{文件.txt.gz}}` diff --git a/pages.zh/common/zlib-flate.md b/pages.zh/common/zlib-flate.md new file mode 100644 index 00000000000000..d7e8ba0ef7cb16 --- /dev/null +++ b/pages.zh/common/zlib-flate.md @@ -0,0 +1,17 @@ +# zlib-flate + +> 原始 zlib 压缩和解压缩程序。 +> `qpdf` 的一部分。 +> 更多信息:. + +- 压缩一个文件: + +`zlib-flate -compress < {{路径/到/输入_文件}} > {{路径/到/压缩.zlib}}` + +- 解压缩一个文件: + +`zlib-flate -uncompress < {{路径/到/压缩.zlib}} > {{路径/到/输出_文件}}` + +- 使用指定的压缩级别压缩文件。0=最快(最差),9=最慢(最佳): + +`zlib-flate -compress={{压缩级别}} < {{路径/到/输入_文件}} > {{路径/到/压缩.zlib}}` diff --git a/pages.zh/common/zm.md b/pages.zh/common/zm.md new file mode 100644 index 00000000000000..c3bf93e153d3ca --- /dev/null +++ b/pages.zh/common/zm.md @@ -0,0 +1,16 @@ +# zm + +> 一个管理报纸和博客文章的工具。 +> 更多信息:. + +- 创建一个新的草稿: + +`zm new` + +- 编辑草稿: + +`zm edit` + +- 发布草稿并使用 git 提交: + +`zm publish` diff --git a/pages.zh/common/zmore.md b/pages.zh/common/zmore.md new file mode 100644 index 00000000000000..9a46d2c10098cc --- /dev/null +++ b/pages.zh/common/zmore.md @@ -0,0 +1,24 @@ +# zmore + +> 使用 `more` 查看 `gzip` 压缩文件。 +> 更多信息:. + +- 打开一个压缩文件: + +`zmore {{路径/到/文件.txt.gz}}` + +- 显示文件的下一页: + +`` + +- 在文件中搜索一个模式(按 `` 跳转到下一个匹配项): + +`{{正则表达式}}` + +- 退出: + +`` + +- 显示交互式命令帮助: + +`` diff --git a/pages.zh/common/zmv.md b/pages.zh/common/zmv.md new file mode 100644 index 00000000000000..c0bed3bfa78044 --- /dev/null +++ b/pages.zh/common/zmv.md @@ -0,0 +1,21 @@ +# zmv + +> 移动或重命名符合指定扩展模式的文件。 +> 请参阅:`zcp` 和 `zln`。 +> 更多信息:. + +- 使用类似正则表达式的模式移动文件: + +`zmv '{{(*).log}}' '{{$1.txt}}'` + +- 预览移动结果,但不进行任何实际更改: + +`zmv -n '{{(*).log}}' '{{$1.txt}}'` + +- 交互式移动文件,在每次更改之前进行提示: + +`zmv -i '{{(*).log}}' '{{$1.txt}}'` + +- 在执行时详细打印每个操作: + +`zmv -v '{{(*).log}}' '{{$1.txt}}'` diff --git a/pages.zh/common/znew.md b/pages.zh/common/znew.md new file mode 100644 index 00000000000000..e32f088fb3ed94 --- /dev/null +++ b/pages.zh/common/znew.md @@ -0,0 +1,20 @@ +# znew + +> 将文件从 `.Z` 格式重新压缩为 gzip 格式。 +> 更多信息:. + +- 将文件从 `.Z` 格式重新压缩为 gzip 格式: + +`znew {{路径/到/文件1.Z}}` + +- 重新压缩多个文件,并显示每个文件所实现的压缩率%: + +`znew -v {{路径/到/文件1.Z 路径/到/文件2.Z ...}}` + +- 使用最慢的压缩方法重新压缩文件(以获得最佳压缩效果): + +`znew -9 {{路径/到/文件1.Z}}` + +- 重新压缩文件,如果 `.Z` 文件比 gzip 文件小,则保留 `.Z` 文件: + +`znew -K {{路径/到/文件1.Z}}` diff --git a/pages.zh/common/zola.md b/pages.zh/common/zola.md new file mode 100644 index 00000000000000..f9195e738eea8d --- /dev/null +++ b/pages.zh/common/zola.md @@ -0,0 +1,24 @@ +# zola + +> 一个静态站点生成器,一个二进制文件内包含所有功能。 +> 更多信息:. + +- 在指定目录下创建 Zola 使用的目录结构: + +`zola init {{我的站点}}` + +- 在删除 `public` 目录后构建整个站点: + +`zola build` + +- 将整个站点构建到另一个目录中: + +`zola build --output-dir {{路径/到/输出_目录/}}` + +- 使用本地服务器构建并服务站点(默认是 `127.0.0.1:1111`): + +`zola serve` + +- 构建所有页面,就像构建命令一样,但不将结果写入磁盘: + +`zola check` diff --git a/pages.zh/common/zopflipng.md b/pages.zh/common/zopflipng.md new file mode 100644 index 00000000000000..2c730ed651a8fc --- /dev/null +++ b/pages.zh/common/zopflipng.md @@ -0,0 +1,12 @@ +# zopflipng + +> PNG 压缩工具。 +> 更多信息:. + +- 优化一个 PNG 文件: + +`zopflipng {{输入.png}} {{输出.png}}` + +- 优化多个 PNG 文件并使用给定的前缀保存: + +`zopflipng --prefix={{前缀}} {{图像1.png}} {{图像2.png}} {{图像3.png}}` diff --git a/pages.zh/common/zotero.md b/pages.zh/common/zotero.md new file mode 100644 index 00000000000000..d1975e152642e6 --- /dev/null +++ b/pages.zh/common/zotero.md @@ -0,0 +1,20 @@ +# zotero + +> 管理你的参考书目。 +> 更多信息:. + +- 使用图形用户界面运行: + +`zotero` + +- 以无头模式运行: + +`zotero --headless` + +- 使用特定的用户配置运行: + +`zotero -P {{用户配置}}` + +- 运行迁移助手: + +`zotero --migration` diff --git a/pages.zh/common/zoxide.md b/pages.zh/common/zoxide.md new file mode 100644 index 00000000000000..924c1b236e2e4f --- /dev/null +++ b/pages.zh/common/zoxide.md @@ -0,0 +1,29 @@ +# zoxide + +> 记录最常使用的目录。 +> 使用一个排序算法来导航到最佳匹配。 +> 更多信息:. + +- 转到名称中包含 "foo" 的排名最高的目录: + +`zoxide query {{foo}}` + +- 转到名称中依次包含 "foo" 和 "bar" 的排名最高的目录: + +`zoxide query {{foo}} {{bar}}` + +- 启动一个交互式目录搜索(需要 `fzf`): + +`zoxide query --interactive` + +- 添加一个目录或提升其排名: + +`zoxide add {{路径/到/目录}}` + +- 从 `zoxide` 的数据库中移除一个目录: + +`zoxide remove {{路径/到/目录}}` + +- 为命令别名生成 shell 配置(`z`, `za`, `zi`, `zq`, `zr`): + +`zoxide init {{bash|fish|zsh}}` diff --git a/pages.zh/common/zpool.md b/pages.zh/common/zpool.md new file mode 100644 index 00000000000000..b9fdd27205367e --- /dev/null +++ b/pages.zh/common/zpool.md @@ -0,0 +1,36 @@ +# zpool + +> 管理 ZFS 池。 +> 更多信息:. + +- 显示所有 ZFS 池的配置和状态: + +`zpool status` + +- 检查 ZFS 池是否有错误(验证每个块的校验和)。非常消耗 CPU 和磁盘资源: + +`zpool scrub {{池名称}}` + +- 列出可导入的 ZFS 池: + +`zpool import` + +- 导入一个 ZFS 池: + +`zpool import {{池名称}}` + +- 导出一个 ZFS 池(卸载所有文件系统): + +`zpool export {{池名称}}` + +- 显示所有池操作的历史记录: + +`zpool history {{池名称}}` + +- 创建一个镜像池: + +`zpool create {{池名称}} mirror {{磁盘1}} {{磁盘2}} mirror {{磁盘3}} {{磁盘4}}` + +- 向 ZFS 池添加一个缓存(L2ARC)设备: + +`zpool add {{池名称}} cache {{缓存磁盘}}` diff --git a/pages.zh/common/zrun.md b/pages.zh/common/zrun.md new file mode 100644 index 00000000000000..eb117b77c218da --- /dev/null +++ b/pages.zh/common/zrun.md @@ -0,0 +1,8 @@ +# zrun + +> 透明地将压缩的参数文件解压缩并传递给某个命令。 +> 更多信息:. + +- 使用解压后的压缩参数文件运行指定命令: + +`zrun {{cat 路径/到/文件1.gz 路径/到/文件2.bz2 ...}}` diff --git a/pages.zh/common/zsh.md b/pages.zh/common/zsh.md index 71729cc7fd8cdf..9f70faa2ddffc1 100644 --- a/pages.zh/common/zsh.md +++ b/pages.zh/common/zsh.md @@ -1,21 +1,37 @@ # zsh -> Z SHell. -> 与 `bash` 和 `sh` 兼容的命令行解释器. -> 更多信息:. +> Z SHell,一个兼容 Bash 的命令行解释器。 +> 参见:`bash`,`histexpand`. +> 更多信息:. -- 启动交互式解释器: +- 启动交互式解释器: `zsh` -- 执行从参数传入的命令: +- 执行指定的命令: -`zsh -c {{command}}` +`zsh -c "{{echo Hello world}}"` -- 从文件执行命令 (脚本): +- 执行指定的脚本: -`zsh {{file}}` +`zsh {{路径/到/脚本.zsh}}` -- 从文件执行命令并将执行过的命令打印到终端: +- 不执行指定的脚本,只检查其语法错误: -`zsh -x {{file}}` +`zsh --no-exec {{路径/到/脚本.zsh}}` + +- 执行来自 `stdin` 的命令: + +`{{echo Hello world}} | zsh` + +- 执行指定的脚本,并打印出每一个将要执行的命令: + +`zsh --xtrace {{路径/到/脚本.zsh}}` + +- 启动详细模式的交互式解释器,会打印出每一个将要执行的命令: + +`zsh --verbose` + +- 在 `zsh` 里执行指定的命令,但禁用 glob 模式: + +`noglob {{命令}}` diff --git a/pages.zh/common/zstd.md b/pages.zh/common/zstd.md index 218c8d0a4dc8e6..792dbd57b14b7d 100644 --- a/pages.zh/common/zstd.md +++ b/pages.zh/common/zstd.md @@ -1,24 +1,24 @@ # zstd -> 使用 Zstandard 压缩来压缩 / 解压文件. +> 使用 Zstandard 压缩来压缩 / 解压文件。 > 更多信息:. -- 将一个文件压缩到一个 `.zst` 后缀的压缩文件中: +- 将一个文件压缩到一个 `.zst` 后缀的压缩文件中: `zstd {{file}}` -- 解压缩一个文件: +- 解压缩一个文件: -`zstd -d {{file}}.zst` +`zstd --decompress {{file.zst}}` -- 将文件解压缩到标准输出 (`stdout`): +- 将文件解压缩到标准输出(`stdout`): -`zstd -dc {{file}}.zst` +`zstd --decompress --stdout {{file.zst}}` -- 使用指定的压缩等级来压缩一个文件.0 = 最差,19 = 最好 (默认等级是 3): +- 使用指定的压缩等级来压缩一个文件.0 = 最差,19 = 最好(默认等级是 3): `zstd -{{level}} {{file}}` -- 使用更多内存 (解压或压缩时) 来得到更高的压缩比: +- 使用更多内存(解压或压缩时)来得到更高的压缩比: `zstd --ultra -{{level}} {{file}}` diff --git a/pages.zh/common/zstdcat.md b/pages.zh/common/zstdcat.md new file mode 100644 index 00000000000000..5224b673ba2b18 --- /dev/null +++ b/pages.zh/common/zstdcat.md @@ -0,0 +1,7 @@ +# zstdcat + +> 这是 `zstd --decompress --stdout` 命令的一个别名。 + +- 查看原始命令的文档: + +`tldr zstd` diff --git a/pages.zh/common/zstdless.md b/pages.zh/common/zstdless.md new file mode 100644 index 00000000000000..5a1668c1a84369 --- /dev/null +++ b/pages.zh/common/zstdless.md @@ -0,0 +1,9 @@ +# zstdless + +> 打开一个 `zstd` 压缩文件进行交互式阅读,允许滚动和搜索。 +> 请参阅:`zstd`,`less`。 +> 更多信息:. + +- 打开一个 `zstd` 压缩文件: + +`zstdless {{路径/到/文件.zst}}` diff --git a/pages.zh/common/zstdmt.md b/pages.zh/common/zstdmt.md new file mode 100644 index 00000000000000..51c469b6efb249 --- /dev/null +++ b/pages.zh/common/zstdmt.md @@ -0,0 +1,7 @@ +# zstdmt + +> 这是 `zstd --threads 0` 命令的一个别名(该命令将工作线程数设置为物理 CPU 核心数)。 + +- 查看原始命令的文档: + +`tldr zstd` diff --git a/pages.zh/common/zsteg.md b/pages.zh/common/zsteg.md new file mode 100644 index 00000000000000..bece705fae4fcb --- /dev/null +++ b/pages.zh/common/zsteg.md @@ -0,0 +1,29 @@ +# zsteg + +> 用于 PNG 和 BMP 文件格式的隐写术检测工具。 +> 它检测 LSB 隐写术、ZLIB 压缩数据、OpenStego、Camouflage 和包含 Eratosthenes 集的 LSB。 +> 更多信息:. + +- 检测 PNG 文件中的嵌入数据: + +`zsteg {{路径/到/image.png}}` + +- 使用所有已知方法检测 BMP 图像中的嵌入数据: + +`zsteg --all {{路径/到/image.bmp}}` + +- 检测 PNG 中的嵌入数据,以垂直方式遍历像素并优先使用 MSB: + +`zsteg --msb --order yx {{路径/到/image.png}}` + +- 在 BMP 图像中检测嵌入数据,指定要考虑的位: + +`zsteg --bits {{1,2,3|1-3}} {{路径/到/image.bmp}}` + +- 检测 PNG 文件中的嵌入数据,仅提取素数像素并反转位: + +`zsteg --prime --invert {{路径/到/image.png}}` + +- 检测 BMP 图像中的嵌入数据,指定要找到的字符串的最小长度和查找模式: + +`zsteg --min-str-len {{10}} --strings {{first|all|longest|none}} {{路径/到/image.bmp}}` diff --git a/pages.zh/linux/a2disconf.md b/pages.zh/linux/a2disconf.md index e00119d5597b98..05fe479e25997f 100644 --- a/pages.zh/linux/a2disconf.md +++ b/pages.zh/linux/a2disconf.md @@ -1,12 +1,12 @@ # a2disconf -> 在基于 Debian 的操作系统上禁用 Apache 配置文件. -> 更多信息: . +> 在基于 Debian 的操作系统上禁用 Apache 配置文件。 +> 更多信息:. -- 禁用配置文件: +- 禁用配置文件: `sudo a2disconf {{配置文件}}` -- 不显示信息性消息: +- 不显示信息性消息: `sudo a2disconf --quiet {{配置文件}}` diff --git a/pages.zh/linux/a2dismod.md b/pages.zh/linux/a2dismod.md new file mode 100644 index 00000000000000..823f8ae6feb69f --- /dev/null +++ b/pages.zh/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> 在基于 Debian 的操作系统上禁用 Apache 模块。 +> 更多信息:. + +- 禁用模块: + +`sudo a2dismod {{模块路径}}` + +- 不显示信息性消息: + +`sudo a2dismod --quiet {{模块路径}}` diff --git a/pages.zh/linux/a2dissite.md b/pages.zh/linux/a2dissite.md new file mode 100644 index 00000000000000..e23fe0f53b442c --- /dev/null +++ b/pages.zh/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> 在基于 Debian 的操作系统上禁用 Apache 虚拟主机。 +> 更多信息:. + +- 禁用虚拟主机: + +`sudo a2dissite {{虚拟主机名}}` + +- 不显示信息性消息: + +`sudo a2dissite --quiet {{虚拟主机名}}` diff --git a/pages.zh/linux/a2enconf.md b/pages.zh/linux/a2enconf.md new file mode 100644 index 00000000000000..73656b5d6dcd98 --- /dev/null +++ b/pages.zh/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> 在基于 Debian 的操作系统上启用 Apache 配置文件。 +> 更多信息:. + +- 启用配置文件: + +`sudo a2enconf {{配置文件}}` + +- 不显示信息性消息: + +`sudo a2enconf --quiet {{配置文件}}` diff --git a/pages.zh/linux/a2enmod.md b/pages.zh/linux/a2enmod.md new file mode 100644 index 00000000000000..d51dce6782e81a --- /dev/null +++ b/pages.zh/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> 在基于 Debian 的操作系统上启用 Apache 模块。 +> 更多信息:. + +- 启用模块: + +`sudo a2enmod {{模块名}}` + +- 不显示信息性消息: + +`sudo a2enmod --quiet {{模块名}}` diff --git a/pages.zh/linux/a2ensite.md b/pages.zh/linux/a2ensite.md new file mode 100644 index 00000000000000..9ae21dd5ff221b --- /dev/null +++ b/pages.zh/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> 在基于 Debian 的操作系统上启用 Apache 虚拟主机。 +> 更多信息:. + +- 启用虚拟主机: + +`sudo a2ensite {{虚拟主机名}}` + +- 不显示信息性消息: + +`sudo a2ensite --quiet {{虚拟主机名}}` diff --git a/pages.zh/linux/a2query.md b/pages.zh/linux/a2query.md new file mode 100644 index 00000000000000..2b1241155907a6 --- /dev/null +++ b/pages.zh/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> 在基于 Debian 的操作系统上查看 Apache 运行配置。 +> 更多信息:. + +- 列出启用的 Apache 模块: + +`sudo a2query -m` + +- 查看某个模块是否已安装: + +`sudo a2query -m {{模块名}}` + +- 列出已启用的虚拟主机: + +`sudo a2query -s` + +- 显示已启用的多进程模块: + +`sudo a2query -M` + +- 显示 Apache 版本: + +`sudo a2query -v` diff --git a/pages.zh/linux/abbr.md b/pages.zh/linux/abbr.md new file mode 100644 index 00000000000000..6baa018e5c7f1c --- /dev/null +++ b/pages.zh/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> 管理 fish shell 的缩写。 +> 用户定义的词在输入后会被较长的短语替换。 +> 更多信息:. + +- 添加一个新缩写: + +`abbr --add {{缩写名}} {{命令}} {{命令参数}}` + +- 重命名一个已有的缩写: + +`abbr --rename {{旧缩写名}} {{新缩写名}}` + +- 清除一个已有的缩写: + +`abbr --erase {{缩写名}}` + +- 用 SSH 导入另一台主机上定义的缩写: + +`ssh {{主机名}} abbr --show | source` diff --git a/pages.zh/linux/ac.md b/pages.zh/linux/ac.md new file mode 100644 index 00000000000000..96c6df1d5880b6 --- /dev/null +++ b/pages.zh/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> 打印用户连接时长数据。 +> 更多信息:. + +- 以小时为单位打印当前用户连接时间: + +`ac` + +- 以小时为单位打印所有用户连接时间: + +`ac {{[-p|--individual-totals]}}` + +- 以小时为单位打印特定用户连接时间: + +`ac {{[-p|--individual-totals]}} {{用户名}}` + +- 以小时为单位打印特定用户每天连接时间: + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{用户名}}` + +- 显示附加明细: + +`ac --compatibility` diff --git a/pages.zh/linux/acpi.md b/pages.zh/linux/acpi.md index a3dccaed374dcc..15b10b312df4bb 100644 --- a/pages.zh/linux/acpi.md +++ b/pages.zh/linux/acpi.md @@ -1,7 +1,7 @@ # acpi > 显示电池状态或热量信息。 -> 更多信息:. +> 更多信息:. - 显示电池信息: diff --git a/pages.zh/linux/add-apt-repository.md b/pages.zh/linux/add-apt-repository.md index 99102797ac68b7..17aa18e46bb18c 100644 --- a/pages.zh/linux/add-apt-repository.md +++ b/pages.zh/linux/add-apt-repository.md @@ -1,19 +1,20 @@ # add-apt-repository -> apt 仓库管理. +> apt 仓库管理。 +> 更多信息:. -- 添加一个新的 apt 仓库: +- 添加一个新的 APT 仓库: `add-apt-repository {{指定仓库}}` -- 移除一个 apt 仓库: +- 移除一个 APT 仓库: -`add-apt-repository --remove {{指定仓库}}` +`add-apt-repository {{[-r|--remove]}} {{指定仓库}}` -- 添加一个仓库并更新缓存: +- 添加一个仓库并更新缓存: `add-apt-repository --update {{指定仓库}}` -- 允许从指定仓库下载源码: +- 允许从指定仓库下载源码: -`add-apt-repository --enable-source {{指定仓库}}` +`add-apt-repository {{[-s|--enable-source]}} {{指定仓库}}` diff --git a/pages.zh/linux/addpart.md b/pages.zh/linux/addpart.md new file mode 100644 index 00000000000000..a773c5d024729c --- /dev/null +++ b/pages.zh/linux/addpart.md @@ -0,0 +1,9 @@ +# addpart + +> 将特定分区的存在告知 Linux 内核。 +> 这个命令是 `add partition` ioctl 的简单封装。 +> 更多信息:. + +- 将特定分区的存在告知 Linux 内核: + +`addpart {{设备名}} {{分区名}} {{起始点}} {{长度}}` diff --git a/pages.zh/linux/addr2line.md b/pages.zh/linux/addr2line.md new file mode 100644 index 00000000000000..18e5aca6ae47bb --- /dev/null +++ b/pages.zh/linux/addr2line.md @@ -0,0 +1,16 @@ +# addr2line + +> 将二进制文件地址转换成文件名和行数。 +> 更多信息:. + +- 显示可执行文件的指令地址对应源代码的文件名和行数: + +`addr2line --exe={{可执行文件路径}} {{地址}}` + +- 显示函数名、文件名和行数: + +`addr2line --exe={{可执行文件路径}} --functions {{地址}}` + +- 将 C++ 代码函数名符号重组: + +`addr2line --exe={{可执行文件地址}} --functions --demangle {{地址}}` diff --git a/pages.zh/linux/adduser.md b/pages.zh/linux/adduser.md index 91e6c0d134a77f..5a4e0cf763ce8e 100644 --- a/pages.zh/linux/adduser.md +++ b/pages.zh/linux/adduser.md @@ -1,23 +1,24 @@ # adduser -> 添加用户的工具. +> 添加用户的工具。 +> 更多信息:. -- 创建一个新用户,在默认路径创建 home 目录,并提示用户设置密码: +- 创建一个新用户,在默认路径创建 home 目录,并提示用户设置密码: `adduser {{用户名}}` -- 创建一个新用户,不生成 home 目录: +- 创建一个新用户,不生成 home 目录: `adduser --no-create-home {{用户名}}` -- 创建一个新用户,并在指定路径下创建 home 目录: +- 创建一个新用户,并在指定路径下创建 home 目录: `adduser --home {{home 路径}} {{用户名}}` -- 创建一个新用户,并指定登录 shell: +- 创建一个新用户,并指定登录 shell: `adduser --shell {{shell 路径}} {{用户名}}` -- 创建一个新用户,并指定其用户组: +- 创建一个新用户,并指定其用户组: `adduser --ingroup {{用户组}} {{用户名}}` diff --git a/pages.zh/linux/alpine.md b/pages.zh/linux/alpine.md index 8c227630642fd6..e2bcdc97c62d9b 100644 --- a/pages.zh/linux/alpine.md +++ b/pages.zh/linux/alpine.md @@ -1,16 +1,17 @@ # alpine -> 一个电子邮件客户端和 usenet 新闻组程序,具有 pico/nano 风格的界面 -> 通过 IMAP 支持大多数现代电子邮件服务 +> 一个电子邮件客户端和 usenet 新闻组程序,具有 pico/nano 风格的界面。 +> 通过 IMAP 支持大多数现代电子邮件服务。 +> 更多信息:. -- 正常打开 alpine: +- 正常打开 alpine: `alpine` -- 直接打开写信息界面,并指定电子邮件发送地址: +- 直接打开写信息界面,并指定电子邮件发送地址: `alpine {{邮箱地址}}` -- 退出 alpine: +- 退出 alpine: -`'q' 然后 'y'` +`` diff --git a/pages.zh/linux/alternatives.md b/pages.zh/linux/alternatives.md new file mode 100644 index 00000000000000..a0297b185173bc --- /dev/null +++ b/pages.zh/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> 这是 `update-alternatives` 命令的一个别名。 + +- 原命令的文档在: + +`tldr update-alternatives` diff --git a/pages.zh/linux/amixer.md b/pages.zh/linux/amixer.md new file mode 100644 index 00000000000000..150c1a92943165 --- /dev/null +++ b/pages.zh/linux/amixer.md @@ -0,0 +1,12 @@ +# amixer + +> ALSA 声卡驱动程序的混合器。 +> 更多信息:. + +- 增加 10% 的主音量: + +`amixer -D pulse sset Master {{10%+}}` + +- 降低 10% 的主音量: + +`amixer -D pulse sset Master {{10%-}}` diff --git a/pages.zh/linux/anbox.md b/pages.zh/linux/anbox.md new file mode 100644 index 00000000000000..27e52ed9accd2c --- /dev/null +++ b/pages.zh/linux/anbox.md @@ -0,0 +1,8 @@ +# anbox + +> 在任何 Linux 操作系统上运行安卓应用。 +> 更多信息:. + +- 在应用管理器中运行 Anbox: + +`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}` diff --git a/pages.zh/linux/apache2ctl.md b/pages.zh/linux/apache2ctl.md new file mode 100644 index 00000000000000..0161599f82c755 --- /dev/null +++ b/pages.zh/linux/apache2ctl.md @@ -0,0 +1,25 @@ +# apache2ctl + +> Apache HTTP web 服务器命令行管理工具。 +> 基于 Debian 的操作系统自带该命令,基于 RHEL 的查看 `httpd`。 +> 更多信息:. + +- 启动 Apache 守护进程。如果已运行则发送一个消息: + +`sudo apache2ctl start` + +- 关闭 Apache 守护进程: + +`sudo apache2ctl stop` + +- 重启 Apache 守护进程: + +`sudo apache2ctl restart` + +- 检查配置文件语法: + +`sudo apache2ctl -t` + +- 列出已加载模块: + +`sudo apache2ctl -M` diff --git a/pages.zh/linux/apk.md b/pages.zh/linux/apk.md index a4d9dfcd946186..8d33a65173950b 100644 --- a/pages.zh/linux/apk.md +++ b/pages.zh/linux/apk.md @@ -1,27 +1,28 @@ # apk -> Alpine linux 的包管理工具. +> Alpine Linux 的包管理工具。 +> 更多信息:. -- 从所有的远程仓库中更新仓库索引: +- 从所有的远程仓库中更新仓库索引: `apk update` -- 安装一个新软件包: +- 安装一个新软件包: `apk add {{软件包}}` -- 移除一个软件包: +- 移除一个软件包: `apk del {{软件包}}` -- 修复或更新软件包而不修改主依赖项: +- 修复或更新软件包而不修改主依赖项: `apk fix {{软件包}}` -- 通过关键字查找软件包: +- 通过关键字查找软件包: `apk search {{关键字}}` -- 获取指定软件包的相关信息: +- 获取指定软件包的相关信息: `apk info {{软件包}}` diff --git a/pages.zh/linux/aplay.md b/pages.zh/linux/aplay.md new file mode 100644 index 00000000000000..be3228ec83ee80 --- /dev/null +++ b/pages.zh/linux/aplay.md @@ -0,0 +1,16 @@ +# aplay + +> ALSA 声卡驱动程序的命令行声音播放器。 +> 更多信息:. + +- 播放一个文件(会自动根据文件格式确定采样率、位深等): + +`aplay {{文件路径}}` + +- 以 2500 Hz 播放指定文件的前 10 秒: + +`aplay --duration={{10}} --rate={{2500}} {{文件路径}}` + +- 以 22050 Hz,mono,8-bit,Mu-Law 和 `.au` 格式来播放指定原始文件: + +`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{文件路径}}` diff --git a/pages.zh/linux/apport-bug.md b/pages.zh/linux/apport-bug.md new file mode 100644 index 00000000000000..54d39589c82434 --- /dev/null +++ b/pages.zh/linux/apport-bug.md @@ -0,0 +1,20 @@ +# apport-bug + +> 在 Ubuntu 上提交错误报告。 +> 更多信息:. + +- 报告整个系统的错误: + +`apport-bug` + +- 报告某个软件包的错误: + +`apport-bug {{包名}}` + +- 报告某个可执行文件的错误: + +`apport-bug {{可执行文件路径}}` + +- 报告某个进程的错误: + +`apport-bug {{PID}}` diff --git a/pages.zh/linux/apt-add-repository.md b/pages.zh/linux/apt-add-repository.md new file mode 100644 index 00000000000000..673600ab35527c --- /dev/null +++ b/pages.zh/linux/apt-add-repository.md @@ -0,0 +1,20 @@ +# apt-add-repository + +> 管理 APT 仓库。 +> 更多信息:. + +- 添加一个 APT 仓库: + +`apt-add-repository {{repository_spec}}` + +- 移除一个 APT 仓库: + +`apt-add-repository --remove {{repository_spec}}` + +- 添加一个 APT 仓库之后更新包缓存: + +`apt-add-repository --update {{repository_spec}}` + +- 开启源码包: + +`apt-add-repository --enable-source {{repository_spec}}` diff --git a/pages.zh/linux/apt-cache.md b/pages.zh/linux/apt-cache.md index f3277fea1fa05f..58300f0ce6f95f 100644 --- a/pages.zh/linux/apt-cache.md +++ b/pages.zh/linux/apt-cache.md @@ -1,23 +1,24 @@ # apt-cache -> Debian 和 Ubuntu 的包查询工具. +> Debian 和 Ubuntu 的包查询工具。 +> 更多信息:. -- 在当前的软件源中查找一个软件包: +- 在当前的软件源中查找一个软件包: `apt-cache search {{软件包}}` -- 显示指定软件包的相关信息: +- 显示指定软件包的相关信息: `apt-cache show {{软件包}}` -- 查看一个软件包是否安装或是否为最新: +- 查看一个软件包是否安装或是否为最新: `apt-cache policy {{软件包}}` -- 显示一个软件包的依赖项: +- 显示一个软件包的依赖项: `apt-cache depends {{软件包}}` -- 列出依赖指定软件包的所有软件包: +- 列出依赖指定软件包的所有软件包: `apt-cache rdepends {{软件包}}` diff --git a/pages.zh/linux/apt-file.md b/pages.zh/linux/apt-file.md index e70a926da6fc7d..e76cf64be19476 100644 --- a/pages.zh/linux/apt-file.md +++ b/pages.zh/linux/apt-file.md @@ -1,15 +1,20 @@ # apt-file -> 在 apt 软件包中查找文件,其中也包括未安装的软件 +> 在 APT 软件包中查找文件,其中也包括未安装的软件。 +> 更多信息:. -- 更新元数据的数据库: +- 更新元数据的数据库: `sudo apt update` -- 查找包含指定文件或路径的软件包: +- 查找包含指定文件或路径的软件包: -`apt-file search {{文件名或路径}}` +`apt-file {{search|find}} {{文件路径}}` -- 列出指定包的内容: +- 列出指定包的内容: -`apt-file list {{软件包名}}` +`apt-file {{show|list}} {{软件包名}}` + +- 查找符合给定 `pattern` 中正则表达式的软件包: + +`apt-file {{search|find}} --regexp {{正则表达式}}` diff --git a/pages.zh/linux/apt-get.md b/pages.zh/linux/apt-get.md index a7ef87e8b42d73..9f18c9773e279b 100644 --- a/pages.zh/linux/apt-get.md +++ b/pages.zh/linux/apt-get.md @@ -1,28 +1,37 @@ # apt-get -> Debian 和 Ubuntu 的软件包管理工具. -> 使用`apt-cache`查找包. +> Debian 和 Ubuntu 的软件包管理工具。 +> 使用 `apt-cache` 查找包。 +> 更多信息:. -- 更新可用软件包及其版本列表(推荐在其他`apt-get`命令运行之前使用): +- 更新可用软件包及其版本列表(推荐在其他 `apt-get` 命令运行之前使用): `apt-get update` -- 安装一个软件包或更新到最新版本: +- 安装一个软件包或更新到最新版本: `apt-get install {{软件包}}` -- 移除一个软件包: +- 移除一个软件包: `apt-get remove {{软件包}}` -- 升级所有已安装软件包到最新版本: +- 移除一个软件包及其配置文件: + +`apt-get purge {{软件包}}` + +- 升级所有已安装软件包到最新版本: `apt-get upgrade` -- 移除所有不再需要的软件包: +- 清理本地仓库 - 移除下载中断后无法再继续下载的(`.deb`)包文件: + +`apt-get autoclean` + +- 移除所有不再需要的软件包: `apt-get autoremove` -- 升级已安装的软件包(类似于`upgrade`), 移除过时的软件包并安装额外的软件包以满足新的依赖: +- 升级已安装的软件包(类似于 `upgrade`),移除过时的软件包并安装额外的软件包以满足新的依赖: `apt-get dist-upgrade` diff --git a/pages.zh/linux/apt-key.md b/pages.zh/linux/apt-key.md index e130a2889b1d25..fb016ca4bccdbb 100644 --- a/pages.zh/linux/apt-key.md +++ b/pages.zh/linux/apt-key.md @@ -1,23 +1,24 @@ # apt-key -> Debian 和 Ubuntu 上的 APT 软件包管理器的密钥管理工具 +> Debian 和 Ubuntu 上的 APT 软件包管理器的密钥管理工具。 +> 更多信息:. -- 列出可信密钥: +- 列出可信密钥: `apt-key list` -- 向可信密钥库中添加一个密钥: +- 向可信密钥库中添加一个密钥: `apt-key add {{密钥文件.asc}}` -- 从可信密钥库中移除一个密钥: +- 从可信密钥库中移除一个密钥: `apt-key del {{密钥 id}}` -- 向可信密钥库中添加一个远程密钥: +- 向可信密钥库中添加一个远程密钥: `wget -qO - {{https://host.tld/filename.key}} | apt-key add -` -- 指定密钥 ID, 从密钥服务器中添加一个密钥: +- 指定密钥 ID, 从密钥服务器中添加一个密钥: `apt-key adv --keyserver {{pgp.mit.edu}} --recv {{密钥 id}}` diff --git a/pages.zh/linux/apt-mark.md b/pages.zh/linux/apt-mark.md index c6235da74c30b7..c70a08d130b47c 100644 --- a/pages.zh/linux/apt-mark.md +++ b/pages.zh/linux/apt-mark.md @@ -1,23 +1,24 @@ # apt-mark -> 修改已安装软件包状态的工具 +> 修改已安装软件包状态的工具。 +> 更多信息:. -- 将一个软件包标记为自动安装: +- 将一个软件包标记为自动安装: `sudo apt-mark auto {{软件包名}}` -- 将一个软件包保持在当前版本,防止对其更新: +- 将一个软件包保持在当前版本,防止对其更新: `sudo apt-mark hold {{软件包名}}` -- 允许对一个软件包更新: +- 允许对一个软件包更新: `sudo apt-mark unhold {{软件包名}}` -- 列出手动安装的软件包: +- 列出手动安装的软件包: `apt-mark showmanual` -- 列出保持当前版本而不更新的软件包: +- 列出保持当前版本而不更新的软件包: `apt-mark showhold` diff --git a/pages.zh/linux/apt.md b/pages.zh/linux/apt.md index 8e5a735e70ed4f..070f862e98344a 100644 --- a/pages.zh/linux/apt.md +++ b/pages.zh/linux/apt.md @@ -1,27 +1,37 @@ # apt -> 基于 Debian 的发行版上的软件包管理工具. +> 基于 Debian 的发行版上的软件包管理工具。 +> 在 Ubuntu 16.04 及之后版本推荐用它代替 `apt-get` 。 +> 更多信息:. -- 更新可用软件包及其版本列表(推荐在运行其他 apt 命令前首先运行该命令): +- 更新可用软件包及其版本列表(推荐在运行其他 APT 命令前首先运行该命令): `sudo apt update` -- 查找指定软件包: +- 查找指定软件包: `apt search {{软件包}}` -- 显示关于指定软件包的信息: +- 显示关于指定软件包的信息: `apt show {{软件包}}` -- 安装指定软件包或将指定软件包更新到最新版本: +- 安装指定软件包或将指定软件包更新到最新版本: `sudo apt install {{软件包}}` -- 移除指定软件包(使用`purge`可以同时移除其配置文件): +- 移除指定软件包(使用 `purge` 同时移除其配置文件): `sudo apt remove {{软件包}}` -- 将所有已安装软件包更新到最新可用版本: +- 将所有已安装软件包更新到最新可用版本: `sudo apt upgrade` + +- 列出所有软件包: + +`apt list` + +- 列出已安装的软件包: + +`apt list {{[-i|--installed]}}` diff --git a/pages.zh/linux/aptitude.md b/pages.zh/linux/aptitude.md index a25f0ee23d7c4e..b68afbdac4b9e2 100644 --- a/pages.zh/linux/aptitude.md +++ b/pages.zh/linux/aptitude.md @@ -1,27 +1,36 @@ # aptitude -> Debian 和 Ubuntu 上的软件包管理工具. +> Debian 和 Ubuntu 上的软件包管理工具。 +> 更多信息:. -- 同步可用软件包及其版本列表,在运行后续 aptitude 命令前,应该首先运行该命令: +- 同步可用软件包及其版本列表,在运行后续 aptitude 命令前,应该首先运行该命令: `aptitude update` -- 安装一个新的软件包及其依赖项: +- 安装一个新的软件包及其依赖: `aptitude install {{软件包}}` -- 查找软件包: +- 查找一个软件包: `aptitude search {{软件包}}` -- 移除一个软件包并移除所有依赖它的软件包: +- 查找一个已安装的软件包(`?installed` 是一个 aptitude 搜索项): + +`aptitude search '?installed({{软件包}})'` + +- 移除一个软件包并移除所有依赖它的软件包: `aptitude remove {{软件包}}` -- 更新已安装软件包到最新版本: +- 更新已安装软件包到最新版本: `aptitude upgrade` -- 更新已安装的软件包(类似于`aptitude upgrade`命令), 移除过时的软件包并安装额外的软件包以满足新的软件包依赖项: +- 更新已安装的软件包(类似于 `aptitude upgrade` 命令),移除过时的软件包并安装额外的软件包以满足新的软件包依赖项: `aptitude full-upgrade` + +- 锁定一个已安装的软件包以便阻止它自动升级: + +`aptitude hold '?installed({{软件包}})'` diff --git a/pages.zh/linux/arch-chroot.md b/pages.zh/linux/arch-chroot.md new file mode 100644 index 00000000000000..d8e116e9c37ae7 --- /dev/null +++ b/pages.zh/linux/arch-chroot.md @@ -0,0 +1,20 @@ +# arch-chroot + +> 辅助 Arch Linux 安装流程的更强 `chroot` 命令。 +> 更多信息:. + +- 在新的根目录下开启一个交互外壳程序(默认是 Bash): + +`arch-chroot {{新根目录}}` + +- 指定除当前用户外的其他用户来运行外壳程序: + +`arch-chroot -u {{用户名}} {{新根目录}}` + +- 在新的根目录下运行一个自定义命令(取代默认的 Bash): + +`arch-chroot {{新根目录}} {{命令}} {{命令参数}}` + +- 指定除默认的 Bash 以外的外壳程序(以下例子需要现在目标系统中先安装 `zsh`): + +`arch-chroot {{新根目录}} {{zsh}}` diff --git a/pages.zh/linux/arch.md b/pages.zh/linux/arch.md deleted file mode 100644 index 4d51da0acda447..00000000000000 --- a/pages.zh/linux/arch.md +++ /dev/null @@ -1,8 +0,0 @@ -# arch - -> 显示当前系统架构名称. -> 参阅`uname`. - -- 显示当前系统架构名称: - -`arch` diff --git a/pages.zh/linux/archey.md b/pages.zh/linux/archey.md old mode 100755 new mode 100644 index d18db7c8fee174..418807b4dbb07e --- a/pages.zh/linux/archey.md +++ b/pages.zh/linux/archey.md @@ -1,7 +1,8 @@ # archey -> 一个可以以新颖的方式显示系统信息的简单工具. +> 一个可以以新颖的方式显示系统信息的简单工具。 +> 更多信息:. -- 显示系统信息: +- 显示系统信息: `archey` diff --git a/pages.zh/linux/archinstall.md b/pages.zh/linux/archinstall.md new file mode 100644 index 00000000000000..34dcf2179d58e5 --- /dev/null +++ b/pages.zh/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> Arch Linux 引导安装程序。 +> 更多信息:. + +- 启动交互式的安装程序: + +`archinstall` + +- 启动一个预设的安装程序: + +`archinstall {{minimal|unattended}}` diff --git a/pages.zh/linux/archlinux-java.md b/pages.zh/linux/archlinux-java.md new file mode 100644 index 00000000000000..131a5ee609a65f --- /dev/null +++ b/pages.zh/linux/archlinux-java.md @@ -0,0 +1,24 @@ +# archlinux-java + +> 提供 Java 环境设置功能的一个帮助脚本。 +> 更多信息:. + +- 列出已安装的 Java 环境: + +`archlinux-java status` + +- 返回当前默认 Java 环境的简称: + +`archlinux-java get` + +- 设置默认的 Java 环境: + +`archlinux-java set {{java环境}}` + +- 取消默认的 Java 环境: + +`archlinux-java unset` + +- 自动设置默认的 Java 环境: + +`archlinux-java fix` diff --git a/pages.zh/linux/arecord.md b/pages.zh/linux/arecord.md new file mode 100644 index 00000000000000..4410cad4cdcf57 --- /dev/null +++ b/pages.zh/linux/arecord.md @@ -0,0 +1,28 @@ +# arecord + +> ALSA 声卡驱动的声音录制器。 +> 更多信息:. + +- 以 "CD" 质量录制一段声音(录制结束以 `` 停止): + +`arecord -vv --format=cd {{路径/文件名.wav}}` + +- 以 "CD" 质量录制 10 秒钟声音: + +`arecord -vv --format=cd --duration={{10}} {{路径/文件名.wav}}` + +- 录制一段声音并以 mp3 格式保存(录制结束以 `` 停止): + +`arecord -vv --format=cd --file-type raw | lame -r - {{路径/文件名.mp3}}` + +- 列出所有的声卡和数字音频设备: + +`arecord --list-devices` + +- 允许交互式界面(例如使用``或``播放或暂停): + +`arecord --interactive` + +- 通过录制 5 秒音频样本并回放来测试麦克风: + +`arecord -d 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav` diff --git a/pages.zh/linux/arithmetic.md b/pages.zh/linux/arithmetic.md new file mode 100644 index 00000000000000..b1c6b624aa63c9 --- /dev/null +++ b/pages.zh/linux/arithmetic.md @@ -0,0 +1,16 @@ +# arithmetic + +> 测试见到你的算术问题。 +> 更多信息:. + +- 开始算术测试: + +`arithmetic` + +- 指定一个或多个算术运算符来设计问题: + +`arithmetic -o {{+|-|x|/}}` + +- 指定范围。加法和乘法问题限定 0 到指定范围之间的数字,包含上区间。减法和除法问题限制结果和运算数字必须在 0 到指定范围之间: + +`arithmetic -r {{7}}` diff --git a/pages.zh/linux/ark.md b/pages.zh/linux/ark.md new file mode 100644 index 00000000000000..daaafb63a33648 --- /dev/null +++ b/pages.zh/linux/ark.md @@ -0,0 +1,16 @@ +# ark + +> KDE 归档工具。 +> 更多信息:. + +- 将存档解压缩到当前目录: + +`ark --batch {{路径/到/存档名}}` + +- 改变解压缩目录: + +`ark --batch --destination {{路径/到/目录}} {{路径/到/存档名}}` + +- 创建一个原本不存在的存档并向它添加文件: + +`ark --add-to {{路径/到/存档名}} {{路径/到/文件1 路径/到/文件2 ...}}` diff --git a/pages.zh/linux/arp-scan.md b/pages.zh/linux/arp-scan.md deleted file mode 100755 index dc4b62d18cfbb7..00000000000000 --- a/pages.zh/linux/arp-scan.md +++ /dev/null @@ -1,19 +0,0 @@ -# arp-scan - -> 发送 ARP 数据包到特定主机(指定 IP 地址或主机名),来扫描本地网络. - -- 扫描当前本地网络: - -`arp-scan --localnet` - -- 扫描带有自定义位掩码的 IP 网络: - -`arp-scan {{192.168.1.1}}/{{24}}` - -- 扫描自定义范围内的 IP 网络: - -`arp-scan {{127.0.0.0}}-{{127.0.0.31}}` - -- 扫描带有自定义子网掩码的 IP 网络: - -`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages.zh/linux/as.md b/pages.zh/linux/as.md old mode 100755 new mode 100644 index fd010f470b5a48..0d83de42d8a2d7 --- a/pages.zh/linux/as.md +++ b/pages.zh/linux/as.md @@ -1,20 +1,21 @@ # as -> 一个可移植的 GUN 汇编器. -> 主要用于汇编`gcc`的输出,以供链接器`ld`使用. +> 一个可移植的 GUN 汇编器。 +> 主要用于汇编`gcc`的输出,以供链接器`ld`使用。 +> 更多信息:. -- 汇编一个文件,输出为 a.out: +- 汇编一个文件,输出为 a.out: -`as {{文件.s}}` +`as {{路径/到/文件.s}}` -- 汇编文件,并指定输出文件: +- 汇编文件,并指定输出文件: -`as {{文件.s}} -o {{输出.o}}` +`as {{路径/到/文件.s}} -o {{路径/到/输出.o}}` -- 通过跳过空格和注释的预处理过程来更快的产生输出文件(只应该用于可信任的编译器的输出): +- 通过跳过空格和注释的预处理过程来更快的产生输出文件(只应该用于可信任的编译器的输出): -`as -f {{文件.s}}` +`as -f {{路径/到/文件.s}}` -- 将给定路径添加到目录列表,来搜索.include 指令指定的文件: +- 将给定路径添加到目录列表,来搜索.include 指令指定的文件: -`as -I {{目录路径}} {{文件.s}}` +`as -I {{目标文件夹}} {{路径/到/文件.s}}` diff --git a/pages.zh/linux/ascii.md b/pages.zh/linux/ascii.md new file mode 100644 index 00000000000000..deda670e45799c --- /dev/null +++ b/pages.zh/linux/ascii.md @@ -0,0 +1,36 @@ +# ascii + +> 显示 ASCII 字符的别名。 +> 更多信息:. + +- 显示一个 ASCII 字符的别名: + +`ascii {{a}}` + +- 以较短和脚本友好模式显示 ASCII 字符的别名: + +`ascii -t {{a}}` + +- 显示多个 ASCII 字符的别名: + +`ascii -s {{tldr}}` + +- 显示十进制 ASCII 字符表: + +`ascii -d` + +- 显示十六进制 ASCII 字符表: + +`ascii -x` + +- 显示八进制 ASCII 字符表: + +`ascii -o` + +- 显示二进制 ASCII 字符表: + +`ascii -b` + +- 显示选项总结和整个 ASCII 字符表: + +`ascii` diff --git a/pages.zh/linux/asciiart.md b/pages.zh/linux/asciiart.md index f0c7d290788269..fb637679f829ed 100644 --- a/pages.zh/linux/asciiart.md +++ b/pages.zh/linux/asciiart.md @@ -1,28 +1,28 @@ # asciiart > 将图像转换为 ASCII. -> 更多信息: . +> 更多信息:. -- 从文件中读取图像并以 ASCII 打印: +- 从文件中读取图像并以 ASCII 打印: -`asciiart {{路径/image.jpg}}` +`asciiart {{路径/到/图片.jpg}}` -- 从 URL 中读取图像并以 ASCII 打印: +- 从 URL 中读取图像并以 ASCII 打印: `asciiart {{www.example.com/image.jpg}}` -- 选择输出宽度 (默认为 100): +- 选择输出宽度(默认为 100): -`asciiart -width {{50}} {{路径/image.jpg}}` +`asciiart --width {{50}} {{路径/到/图片.jpg}}` -- 对 ASCII 输出进行着色: +- 对 ASCII 输出进行着色: -`asciiart --color {{路径/image.jpg}}` +`asciiart --color {{路径/到/图片.jpg}}` -- 选择输出格式 (默认格式为文本): +- 选择输出格式(默认格式为文本): -`asciiart --format {{text|html}} {{路径/image.jpg}}` +`asciiart --format {{text|html}} {{路径/到/图片.jpg}}` -- 反转字符映射: +- 反转字符映射: -`asciiart --invert-chars {{路径/image.jpg}}` +`asciiart --invert-chars {{路径/到/图片.jpg}}` diff --git a/pages.zh/linux/aspell.md b/pages.zh/linux/aspell.md deleted file mode 100755 index 383a1b85fd2927..00000000000000 --- a/pages.zh/linux/aspell.md +++ /dev/null @@ -1,23 +0,0 @@ -# aspell - -> 交互式拼写检查工具. - -- 为一个文件做拼写检查: - -`aspell check {{文件路径}}` - -- 列出来自标准输入的拼写错误单词: - -`cat {{文件}} | aspell list` - -- 列出可用的字典语言: - -`aspell dicts` - -- 指定不同的语言(取 ISO 639 语言代码的 2 个字母)来运行 aspell: - -`aspell --lang={{cs}}` - -- 列出来自标准输入的拼写错误单词,并且忽略个人单词列表中的单词: - -`cat {{文件}} | aspell --personal={{个人单词列表.pws}} {{列表}}` diff --git a/pages.zh/linux/asterisk.md b/pages.zh/linux/asterisk.md new file mode 100644 index 00000000000000..dcb91e79d8c6ba --- /dev/null +++ b/pages.zh/linux/asterisk.md @@ -0,0 +1,33 @@ +# asterisk + +> 电话和交换(手机)服务器。 +> 用于管理服务器自身和管理已经在运行的实例。 +> 更多信息:. + +- 重新连接一个正在运行的服务器,并打开 3 级的日志详细度: + +`asterisk -r -vvv` + +- 重新连接一个正在运行的服务器,执行一个命令,然后返回: + +`asterisk -r -x "{{命令}}"` + +- 显示 chan_SIP 客户端(手机): + +`asterisk -r -x "sip show peers"` + +- 显示激活的通话和频道: + +`asterisk -r -x "core show channels"` + +- 显示语音邮箱: + +`asterisk -r -x "voicemail show users"` + +- 终止一个频道: + +`asterisk -r -x "hangup request {{频道 ID}}"` + +- 重新载入 chan_SIP 设置: + +`asterisk -r -x "sip reload"` diff --git a/pages.zh/linux/at.md b/pages.zh/linux/at.md deleted file mode 100755 index f1f1ae687a6b2f..00000000000000 --- a/pages.zh/linux/at.md +++ /dev/null @@ -1,15 +0,0 @@ -# at - -> 在指定时间执行命令. - -- 打开`at`提示符创建一组新的定时命令,按`Ctrl + D`保存并退出: - -`at {{hh:mm:ss}}` - -- 运行命令并通过本地电子邮件程序(例如 sendmail) 发送运行结果: - -`at {{hh:mm:ss}} -m` - -- 在指定时间执行一个脚本: - -`at {{hh:mm:ss}} -f {{文件路径}}` diff --git a/pages.zh/linux/aura.md b/pages.zh/linux/aura.md new file mode 100644 index 00000000000000..1959c4c3b1cc21 --- /dev/null +++ b/pages.zh/linux/aura.md @@ -0,0 +1,36 @@ +# aura + +> Aura 包管理器:一个安全且支持多语言的 Arch Linux 和 AUR 的包管理器。 +> 更多信息:. + +- 从官方仓库和 AUR 检索包: + +`aura --aursync --both --search {{包名|正则}}` + +- 从 AUR 安装一个软件包: + +`aura --aursync {{包名}}` + +- 以详细模式升级所有的 AUR 包并移除所有的编译依赖: + +`aura --aursync --diff --sysupgrade --delmakedeps --unsuppress` + +- 从官方仓库安装一个软件包: + +`aura --sync {{包名}}` + +- 同步并更新官方仓库的所有软件包: + +`aura --sync --refresh --sysupgrade` + +- 使用包缓存降级一个软件包: + +`aura --downgrade {{包名}}` + +- 移除一个软件包及其依赖: + +`aura --remove --recursive --unneeded {{包名}}` + +- 移除孤儿包(作为依赖安装但现在不被任何包依赖): + +`aura --orphans --abandon` diff --git a/pages.zh/linux/auracle.md b/pages.zh/linux/auracle.md new file mode 100644 index 00000000000000..36d4961bc3df70 --- /dev/null +++ b/pages.zh/linux/auracle.md @@ -0,0 +1,20 @@ +# auracle + +> 用来和 Arch Linux 用户仓库交互的命令行工具,这个仓库通常被称作 AUR. +> 更多信息:. + +- 显示符合一个正则表达式的 AUR 包: + +`auracle search '{{regular_expression}}'` + +- 显示 AUR 包列表的包信息,包名以一个单独的空格分隔: + +`auracle info {{package1 package2 ...}}` + +- 显示 AUR 包列表的 `PKGBUILD` 文件(编译信息),包名以一个单独的空格分隔: + +`auracle show {{package1 package2 ...}}` + +- 显示已安装 AUR 包的更新: + +`auracle outdated` diff --git a/pages.zh/linux/aurman.md b/pages.zh/linux/aurman.md new file mode 100644 index 00000000000000..294a04bbc0a0e6 --- /dev/null +++ b/pages.zh/linux/aurman.md @@ -0,0 +1,37 @@ +# aurman + +> 用来构建和安装 AUR 包的 Arch Linux 实用工具。 +> 参见 `pacman`. +> 更多信息:. + +- 同步并更新所有包: + +`aurman --sync --refresh --sysupgrade` + +- 同步并更新所有包但不显示 `PKGBUILD` 文件的变动: + +`aurman --sync --refresh --sysupgrade --noedit` + +- 安装一个新包: + +`aurman --sync {{包名}}` + +- 安装一个新包但不显示 `PKGBUILD` 文件的变动: + +`aurman --sync --noedit {{包名}}` + +- 无确认提示安装一个新包: + +`aurman --sync --noedit --noconfirm {{包名}}` + +- 在官方仓库和 AUR 的包数据库中查找关键字: + +`aurman --sync --search {{关键字}}` + +- 移除一个包及其依赖: + +`aurman --remove --recursive --nosave {{包名}}` + +- 清除包缓存(用两次 `--clean` 参数清除所有包缓存): + +`aurman --sync --clean` diff --git a/pages.zh/linux/aurvote.md b/pages.zh/linux/aurvote.md new file mode 100644 index 00000000000000..3e1e00cccc9e91 --- /dev/null +++ b/pages.zh/linux/aurvote.md @@ -0,0 +1,25 @@ +# aurvote + +> 为 AUR 中的包投票。 +> 为了投票成功,文件 `~/.config/aurvote` 必须存在并包含你的 AUR 身份凭证。 +> 更多信息:. + +- 交互式创建包含你的 AUR 用户名和密码的 `~/.config/aurvote` 文件: + +`aurvote --configure` + +- 为一个或多个 AUR 包投票: + +`aurvote {{package1 package2 ...}}` + +- 为一个或多个 AUR 包取消投票: + +`aurvote --unvote {{package1 package2 ...}}` + +- 检查一个或多个 AUR 包是否已投票: + +`aurvote --check {{package1 package2 ...}}` + +- 查看 `aurvote` 的帮助信息: + +`aurvote --help` diff --git a/pages.zh/linux/authconfig.md b/pages.zh/linux/authconfig.md new file mode 100644 index 00000000000000..c5b0fa81c45eb9 --- /dev/null +++ b/pages.zh/linux/authconfig.md @@ -0,0 +1,36 @@ +# authconfig + +> 用于设置系统认证资源的命令行界面。 +> 更多信息:. + +- 显示当前的配置(或空运行): + +`authconfig --test` + +- 设置服务器使用另一种不同的密码散列算法: + +`authconfig --update --passalgo={{算法名}}` + +- 启用 LDAP 认证: + +`authconfig --update --enableldapauth` + +- 关闭 LDAP 认证: + +`authconfig --update --disableldapauth` + +- 开启网络信息服务(NIS): + +`authconfig --update --enablenis` + +- 开启 Kerberos: + +`authconfig --update --enablekrb5` + +- 开启 Winbind(活动目录)认证: + +`authconfig --update --enablewinbindauth` + +- 开启本地认证: + +`authconfig --update --enablelocauthorize` diff --git a/pages.zh/linux/autorandr.md b/pages.zh/linux/autorandr.md new file mode 100644 index 00000000000000..94265c0d8df99c --- /dev/null +++ b/pages.zh/linux/autorandr.md @@ -0,0 +1,20 @@ +# autorandr + +> 自动调节屏幕布局。 +> 更多信息:. + +- 保存当前屏幕布局: + +`autorandr -s {{配置文件名}}` + +- 显示保存的配置: + +`autorandr` + +- 切换设置: + +`autorandr -l {{配置文件名}}` + +- 设置默认设置: + +`autorandr -d {{配置文件名}}` diff --git a/pages.zh/linux/avahi-browse.md b/pages.zh/linux/avahi-browse.md new file mode 100644 index 00000000000000..9335e2229a3a95 --- /dev/null +++ b/pages.zh/linux/avahi-browse.md @@ -0,0 +1,17 @@ +# avahi-browse + +> 显示通过 mDNS/DNS-SD 暴露在本地网络的服务和主机。 +> Avahi 与苹果设备的 Bonjour(Zeroconf)兼容。 +> 更多信息:. + +- 列出本地网络中的所有服务和他们的地址与端口,忽略他们本地的地址和端口: + +`avahi-browse --all --resolve --ignore-local` + +- 列出所有的域名: + +`avahi-browse --browse-domains` + +- 只搜索一个特定的域名: + +`avahi-browse --all --domain={{domain}}` diff --git a/pages.zh/linux/balooctl.md b/pages.zh/linux/balooctl.md new file mode 100644 index 00000000000000..b0f83ead205fee --- /dev/null +++ b/pages.zh/linux/balooctl.md @@ -0,0 +1,36 @@ +# balooctl + +> KDE Plasma 的文件索引和搜索框架。 +> 更多信息:. + +- 显示索引器状态: + +`balooctl status` + +- 开启或关闭文件索引器: + +`balooctl {{enable|disable}}` + +- 清除索引数据库: + +`balooctl purge` + +- 挂起文件索引器: + +`balooctl suspend` + +- 恢复文件索引器: + +`balooctl resume` + +- 显示 Baloo 占用的磁盘空间大小: + +`balooctl indexSize` + +- 检查未索引的文件并索引它们: + +`balooctl check` + +- 显示帮助信息: + +`balooctl --help` diff --git a/pages.zh/linux/batcat.md b/pages.zh/linux/batcat.md new file mode 100644 index 00000000000000..925cf0fd2373b5 --- /dev/null +++ b/pages.zh/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> 这是 `bat` 命令的一个别名。 + +- 原命令的文档在: + +`tldr bat` diff --git a/pages.zh/linux/beep.md b/pages.zh/linux/beep.md new file mode 100644 index 00000000000000..5ef820daa06202 --- /dev/null +++ b/pages.zh/linux/beep.md @@ -0,0 +1,24 @@ +# beep + +> 让电脑扬声器发出哔哔声的实用程序。 +> 更多信息:. + +- 播放哔哔声: + +`beep` + +- 重复播放哔哔声: + +`beep -r {{重复次数}}` + +- 指定频率(Hz)和持续时间(毫秒)播放哔哔声: + +`beep -f {{频率}} -l {{持续时间}}` + +- 将每个新的频率和持续时间作为单独的哔哔声播放: + +`beep -f {{频率}} -l {{持续时间}} -n -f {{频率}} -l {{持续时间}}` + +- 播放 C 大调: + +`beep -f {{262}} -n -f {{294}} -n -f {{330}} -n -f {{349}} -n -f {{392}} -n -f {{440}} -n -f {{494}} -n -f {{523}}` diff --git a/pages.zh/linux/betterlockscreen.md b/pages.zh/linux/betterlockscreen.md new file mode 100644 index 00000000000000..be4b986cf3cf91 --- /dev/null +++ b/pages.zh/linux/betterlockscreen.md @@ -0,0 +1,20 @@ +# betterlockscreen + +> 简洁的锁屏程序。 +> 更多信息:. + +- 锁定屏幕: + +`betterlockscreen --lock` + +- 更换锁屏背景: + +`betterlockscreen -u {{图片.png}}` + +- 锁屏并显示一些自定义文本: + +`betterlockscreen -l pixel -t "{{自定义锁屏文本}}"` + +- 锁屏并自定义显示屏关闭超时秒数: + +`betterlockscreen --off {{5}} -l` diff --git a/pages.zh/linux/bitwise.md b/pages.zh/linux/bitwise.md new file mode 100644 index 00000000000000..11d8fa25deae35 --- /dev/null +++ b/pages.zh/linux/bitwise.md @@ -0,0 +1,20 @@ +# bitwise + +> 支持动态基数转换和位操作的多基数交互式计算器。 +> 更多信息:. + +- 使用交互模式运行: + +`bitwise` + +- 从十进制转换: + +`bitwise {{12345}}` + +- 从十六进制转换: + +`bitwise {{0x563d}}` + +- 转换 C 风格的计算: + +`bitwise "{{0x123 + 0x20 - 30 / 50}}"` diff --git a/pages.zh/linux/blkdiscard.md b/pages.zh/linux/blkdiscard.md new file mode 100644 index 00000000000000..3b59c8f82aae11 --- /dev/null +++ b/pages.zh/linux/blkdiscard.md @@ -0,0 +1,16 @@ +# blkdiscard + +> 丢弃存储设备上的设备扇区。对 SSD 有用。 +> 更多信息:. + +- 丢弃设备上的所有扇区,删除所有数据: + +`blkdiscard {{/dev/设备名}}` + +- 安全地丢弃设备上的所有块,删除所有数据: + +`blkdiscard --secure {{/dev/设备名}}` + +- 丢弃设备的前 100 MB: + +`blkdiscard --length {{100MB}} {{/dev/设备名}}` diff --git a/pages.zh/linux/blkid.md b/pages.zh/linux/blkid.md new file mode 100644 index 00000000000000..fff5dd3e13eb19 --- /dev/null +++ b/pages.zh/linux/blkid.md @@ -0,0 +1,12 @@ +# blkid + +> 列出所有已识别的分区及其通用唯一标识符 (UUID)。 +> 更多信息:. + +- 列出所有分区: + +`sudo blkid` + +- 列出表中的所有分区,包括当前挂载点: + +`sudo blkid -o list` diff --git a/pages.zh/linux/bluetoothctl.md b/pages.zh/linux/bluetoothctl.md new file mode 100644 index 00000000000000..cffd703d18fe3d --- /dev/null +++ b/pages.zh/linux/bluetoothctl.md @@ -0,0 +1,28 @@ +# bluetoothctl + +> 从命令行管理蓝牙设备。 +> 更多信息:. + +- 进入 bluetoothctl 外壳程序: + +`bluetoothctl` + +- 列出设备: + +`bluetoothctl -- devices` + +- 与一个设备配对: + +`bluetoothctl -- pair {{mac 地址}}` + +- 移除一个设备: + +`bluetoothctl -- remove {{mac 地址}}` + +- 连接一个已配对的设备: + +`bluetoothctl -- connect {{mac 地址}}` + +- 断开一个已配对的设备: + +`bluetoothctl -- disconnect {{mac 地址}}` diff --git a/pages.zh/linux/bluetoothd.md b/pages.zh/linux/bluetoothd.md new file mode 100644 index 00000000000000..28983baf571474 --- /dev/null +++ b/pages.zh/linux/bluetoothd.md @@ -0,0 +1,24 @@ +# bluetoothd + +> 管理蓝牙设备的守护进程。 +> 更多信息:. + +- 启动守护进程: + +`bluetoothd` + +- 启动守护进程,日志输出到标准输出: + +`bluetoothd --nodetach` + +- 指定一个配置文件启动守护进程(默认是 `/etc/bluetooth/main.conf`): + +`bluetoothd --configfile {{配置文件}}` + +- 启动守护进程并将详细信息输出到标准错误: + +`bluetoothd --debug` + +- 使用来自 bluetoothd 或插件源中特定文件启动守护进程并输出详细信息: + +`bluetoothd --debug={{文件一:文件二:...}}` diff --git a/pages.zh/linux/bmon.md b/pages.zh/linux/bmon.md new file mode 100644 index 00000000000000..bd98619bcc102e --- /dev/null +++ b/pages.zh/linux/bmon.md @@ -0,0 +1,20 @@ +# bmon + +> 监控带宽并捕获网络相关统计信息。 +> 更多信息:. + +- 显示所有接口的列表: + +`bmon -a` + +- 以每秒位数显示数据传输速率: + +`bmon -b` + +- 设置策略以定义显示哪些网络接口: + +`bmon -p {{interface_1,interface_2,interface_3}}` + +- 设置计算每个计数器速率的间隔(以秒为单位): + +`bmon -R {{2.0}}` diff --git a/pages.zh/linux/boltctl.md b/pages.zh/linux/boltctl.md new file mode 100644 index 00000000000000..93c6f82fc111d4 --- /dev/null +++ b/pages.zh/linux/boltctl.md @@ -0,0 +1,28 @@ +# boltctl + +> 控制雷电(thunderbolt)设备。 +> 更多信息:. + +- 列出已连接并授权的设备: + +`boltctl` + +- 列出已连接的设备,且包含未授权的设备: + +`boltctl list` + +- 临时授权一个设备: + +`boltctl authorize {{设备uuid}}` + +- 授权并记住一个设备: + +`boltctl enroll {{设备uuid}}` + +- 取消一个设备的授权: + +`boltctl forget {{设备uuid}}` + +- 显示一个设备的详细信息: + +`boltctl info {{设备uuid}}` diff --git a/pages.zh/linux/bootctl.md b/pages.zh/linux/bootctl.md new file mode 100644 index 00000000000000..4ce177a36a527b --- /dev/null +++ b/pages.zh/linux/bootctl.md @@ -0,0 +1,28 @@ +# bootctl + +> 控制EFI固件启动设置并管理启动加载器。 +> 更多信息:. + +- 显示系统固件和启动加载器的信息: + +`bootctl status` + +- 显示所有可用的启动加载器条目: + +`bootctl list` + +- 将系统固件设置为在下次启动时启动: + +`sudo bootctl reboot-to-firmware true` + +- 指定EFI系统分区(默认为`/efi/`,`/boot/`或`/boot/efi`): + +`bootctl --esp-path={{/path/to/efi_system_partition/}}` + +- 将`systemd-boot`安装到EFI系统分区: + +`sudo bootctl install` + +- 从EFI系统分区移除所有已安装的`systemd-boot`版本: + +`sudo bootctl remove` diff --git a/pages.zh/linux/bpftrace.md b/pages.zh/linux/bpftrace.md new file mode 100644 index 00000000000000..052d161a4bc36e --- /dev/null +++ b/pages.zh/linux/bpftrace.md @@ -0,0 +1,28 @@ +# bpftrace + +> Linux eBPF 的高级跟踪语言。 +> 更多信息:. + +- 列出所有可用的探针: + +`sudo bpftrace -l` + +- 运行单行程序(例如按程序进行系统调用计数): + +`sudo bpftrace -e '{{tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }}}'` + +- 从文件运行程序: + +`sudo bpftrace {{文件}}` + +- 通过 PID 跟踪程序: + +`sudo bpftrace -e '{{tracepoint:raw_syscalls:sys_enter /pid == 123/ { @[comm] = count(); }}}'` + +- 进行试运行并以 eBPF 格式显示输出: + +`sudo bpftrace -d -e '{{单行程序}}'` + +- 显示 版本: + +`bpftrace {{[-V|--version]}}` diff --git a/pages.zh/linux/brctl.md b/pages.zh/linux/brctl.md new file mode 100644 index 00000000000000..b4d7e3f271c5b2 --- /dev/null +++ b/pages.zh/linux/brctl.md @@ -0,0 +1,24 @@ +# brctl + +> 以太网桥管理。 +> 更多信息:. + +- 显示有关当前现有以太网网桥信息的列表: + +`sudo brctl show` + +- 创建新的以太网桥接接口: + +`sudo brctl add {{网桥名}}` + +- 删除一个已存在的以太网桥接接口: + +`sudo brctl del {{网桥名}}` + +- 向现有网桥添加接口: + +`sudo brctl addif {{网桥名}} {{接口名}}` + +- 从现有网桥中删除接口: + +`sudo brctl delif {{网桥名}} {{接口名}}` diff --git a/pages.zh/linux/brightnessctl.md b/pages.zh/linux/brightnessctl.md new file mode 100644 index 00000000000000..c452810f1e6e07 --- /dev/null +++ b/pages.zh/linux/brightnessctl.md @@ -0,0 +1,24 @@ +# brightnessctl + +> GUN/Linux 操作系统上用来读取和控制设备亮度的实用工具。 +> 更多信息:. + +- 列出亮度可变的设备: + +`brightnessctl --list` + +- 打印显示器当前亮度: + +`brightnessctl get` + +- 将显示器背光的亮度设置为指定的百分比: + +`brightnessctl set {{50%}}` + +- 按指定的增量增加亮度: + +`brightnessctl set {{+10%}}` + +- 将亮度降低指定的递减量: + +`brightnessctl set {{10%-}}` diff --git a/pages.zh/linux/btrfs-device.md b/pages.zh/linux/btrfs-device.md new file mode 100644 index 00000000000000..93ef9c27a2bc9d --- /dev/null +++ b/pages.zh/linux/btrfs-device.md @@ -0,0 +1,24 @@ +# btrfs device + +> 管理 btrfs 文件系统中的设备。 +> 更多信息:. + +- 将一个或多个设备添加到 btrfs 文件系统中: + +`sudo btrfs device add {{指向设备1的路径}} [{{指向设备2的路径}}] {{指向 btrfs 文件系统的路径}}` + +- 从 btrfs 文件系统中删除设备: + +`sudo btrfs device remove {{指向设备的路径|设备 ID}} [{{...}}]` + +- 显示错误统计: + +`sudo btrfs device stats {{指向 btrfs 文件系统的路径}}` + +- 扫描所有磁盘并将所有检测到的 btrfs 文件系统通知内核: + +`sudo btrfs device scan --all-devices` + +- 显示详细的每个磁盘的空间分配统计信息: + +`sudo btrfs device usage {{指向 btrfs 文件系统的路径}}` diff --git a/pages.zh/linux/btrfs-filesystem.md b/pages.zh/linux/btrfs-filesystem.md new file mode 100644 index 00000000000000..699f86b105c0b5 --- /dev/null +++ b/pages.zh/linux/btrfs-filesystem.md @@ -0,0 +1,28 @@ +# btrfs filesystem + +> 管理 btrfs 文件系统。 +> 更多信息:. + +- 显示文件系统使用情况(可以选择以 root 身份运行以显示详细信息): + +`btrfs filesystem usage {{指向挂载点的路径}}` + +- 显示各个设备的使用情况: + +`sudo btrfs filesystem show {{指向挂载点的路径}}` + +- 对 btrfs 文件系统上的单个文件进行碎片整理(避免在运行数据去重的同时运行): + +`sudo btrfs filesystem defragment -v {{指向文件的路径}}` + +- 递归对目录进行碎片整理(不跨越子卷边界): + +`sudo btrfs filesystem defragment -v -r {{指向目录的路径}}` + +- 强制将未写入的数据块同步到磁盘: + +`sudo btrfs filesystem sync {{指向挂载点的路径}}` + +- 递归总结目录中文件的磁盘使用情况: + +`sudo btrfs filesystem du --summarize {{指向目录的路径}}` diff --git a/pages.zh/linux/btrfs-scrub.md b/pages.zh/linux/btrfs-scrub.md new file mode 100644 index 00000000000000..b510526e0533a3 --- /dev/null +++ b/pages.zh/linux/btrfs-scrub.md @@ -0,0 +1,29 @@ +# btrfs scrub + +> 清理 btrfs 文件系统以验证数据完整性。 +> 建议每月运行一次 scrub. +> 更多信息:. + +- 开始 scrub: + +`sudo btrfs scrub start {{指向挂载点的路径}}` + +- 显示正在进行或上次完成的 scrub 的状态: + +`sudo btrfs scrub status {{指向挂载点的路径}}` + +- 取消正在进行的 scrub: + +`sudo btrfs scrub cancel {{指向挂载点的路径}}` + +- 恢复先前取消的 scrub: + +`sudo btrfs scrub resume {{指向挂载点的路径}}` + +- 开始擦洗,但要等到 scrub 完成后才能退出: + +`sudo btrfs scrub start -B {{指向挂载点的路径}}` + +- 在安静模式下启动 scrub(不打印错误或统计信息): + +`sudo btrfs scrub start -q {{指向挂载点的路径}}` diff --git a/pages.zh/linux/btrfs-subvolume.md b/pages.zh/linux/btrfs-subvolume.md new file mode 100644 index 00000000000000..83ac2fa51320ac --- /dev/null +++ b/pages.zh/linux/btrfs-subvolume.md @@ -0,0 +1,28 @@ +# btrfs subvolume + +> 管理 btrfs 子卷和快照。 +> 更多信息:. + +- 创建一个新的空子卷: + +`sudo btrfs subvolume create {{指向新子卷的路径}}` + +- 列出指定文件系统中的所有子卷和快照: + +`sudo btrfs subvolume list {{指向 btrfs 文件系统的路径}}` + +- 删除一个子卷: + +`sudo btrfs subvolume delete {{指向子卷的路径}}` + +- 创建现有子卷的只读快照: + +`sudo btrfs subvolume snapshot -r {{指向源子卷的路径}} {{指向目标的路径}}` + +- 创建现有子卷的读写快照: + +`sudo btrfs subvolume snapshot {{指向源子卷的路径}} {{指向目标的路径}}` + +- 显示有关子卷的详细信息: + +`sudo btrfs subvolume show {{指向子卷的路径}}` diff --git a/pages.zh/linux/btrfs.md b/pages.zh/linux/btrfs.md new file mode 100644 index 00000000000000..1aa48af234c144 --- /dev/null +++ b/pages.zh/linux/btrfs.md @@ -0,0 +1,25 @@ +# btrfs + +> 一种基于写时复制(COW)原理的 Linux 文件系统。 +> 此命令也有关于其子命令的文件,例如:`device`. +> 更多信息:. + +- 创建子卷: + +`sudo btrfs subvolume create {{指向子卷的路径}}` + +- 列出子卷: + +`sudo btrfs subvolume list {{指向挂载点的路径}}` + +- 显示空间使用情况信息: + +`sudo btrfs filesystem df {{指向挂载点的路径}}` + +- 启用配额(quota): + +`sudo btrfs quota enable {{指向子卷的路径}}` + +- 显示配额(quota): + +`sudo btrfs qgroup show {{指向子卷的路径}}` diff --git a/pages.zh/linux/cal.md b/pages.zh/linux/cal.md new file mode 100644 index 00000000000000..f24cf3d1870a75 --- /dev/null +++ b/pages.zh/linux/cal.md @@ -0,0 +1,24 @@ +# cal + +> 打印日历信息,高亮显示当前日期。 +> 更多信息:. + +- 显示当前月份的日历: + +`cal` + +- 显示上个月、当前月和下个月: + +`cal {{[-3|--three]}}` + +- 使用星期一作为一周的第一天: + +`cal {{[-m|--monday]}}` + +- 显示特定年份的日历(4位数字): + +`cal {{年份}}` + +- 显示特定月份和年份的日历: + +`cal {{月份}} {{年份}}` diff --git a/pages.zh/linux/cat.md b/pages.zh/linux/cat.md new file mode 100644 index 00000000000000..f72f91d9db05d9 --- /dev/null +++ b/pages.zh/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> 打印和连接文件。 +> 更多信息:. + +- 将文件内容打印到 `stdout`: + +`cat {{路径/到/文件}}` + +- 将多个文件连接到一个输出文件: + +`cat {{路径/到/文件1 路径/到/文件2 ...}} > {{路径/到/输出文件}}` + +- 将多个文件附加到输出文件: + +`cat {{路径/到/文件1 路径/到/文件2 ...}} >> {{路径/到/输出文件}}` + +- 将 `stdin` 写入文件: + +`cat - > {{路径/到/文件}}` + +- 显示带有行号的所有行: + +`cat {{[-n|--number]}} {{路径/到/文件}}` + +- 显示不可打印字符和空白字符(如果非 ASCII,则带有 `M-` 前缀): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{路径/到/文件}}` diff --git a/pages.zh/linux/cc.md b/pages.zh/linux/cc.md new file mode 100644 index 00000000000000..029f4241eab6f0 --- /dev/null +++ b/pages.zh/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> 这是 `gcc` 命令的一个别名。 + +- 原命令的文档在: + +`tldr gcc` diff --git a/pages.zh/linux/chage.md b/pages.zh/linux/chage.md new file mode 100644 index 00000000000000..01c4e1fbb52922 --- /dev/null +++ b/pages.zh/linux/chage.md @@ -0,0 +1,24 @@ +# chage + +> 更改用户账户和密码到期信息。 +> 更多信息:. + +- 列出用户的密码信息: + +`chage --list {{用户名}}` + +- 启用密码在 10 天内过期: + +`sudo chage --maxdays {{10}} {{用户名}}` + +- 关闭密码过期: + +`sudo chage --maxdays {{-1}} {{用户名}}` + +- 设置账户到期日期: + +`sudo chage --expiredate {{YYYY-MM-DD}} {{用户名}}` + +- 强制用户在下次登录时更改密码: + +`sudo chage --lastday {{0}} {{用户名}}` diff --git a/pages.zh/linux/cpuid.md b/pages.zh/linux/cpuid.md index 5165b67da1c7cf..18d66de5a01a0f 100644 --- a/pages.zh/linux/cpuid.md +++ b/pages.zh/linux/cpuid.md @@ -1,15 +1,16 @@ # cpuid -> 显示有关所有 CPU 的详细信息. +> 显示有关所有 CPU 的详细信息。 +> 更多信息:. -- 显示所有 CPU 的信息: +- 显示所有 CPU 的信息: `cpuid` -- 仅显示当前 CPU 的信息: +- 仅显示当前 CPU 的信息: -`cpuid -1` +`cpuid {{[-1|--one-cpu]}}` -- 显示原始十六进制信息,不进行解码: +- 显示原始十六进制信息,不进行解码: -`cpuid -r` +`cpuid {{[-r|--raw]}}` diff --git a/pages.zh/linux/cryptsetup-luksformat.md b/pages.zh/linux/cryptsetup-luksformat.md new file mode 100644 index 00000000000000..8a9f73d0bdb3da --- /dev/null +++ b/pages.zh/linux/cryptsetup-luksformat.md @@ -0,0 +1,17 @@ +# cryptsetup luksFormat + +> 初始化 LUKS 分区并使用口令或密钥文件初始化密钥槽位(0)。 +> 注意:此操作将覆写分区上的所有数据。 +> 更多信息:. + +- 使用口令初始化 LUKS 卷: + +`cryptsetup luksFormat {{/dev/sdXY}}` + +- 使用密钥文件初始化 LUKS 卷: + +`cryptsetup luksFormat {{/dev/sdXY}} {{路径/到/密钥文件}}` + +- 使用口令初始化 LUKS 卷并设置其标签: + +`cryptsetup luksFormat --label {{标签}} {{/dev/sdXY}}` diff --git a/pages.zh/linux/cryptsetup.md b/pages.zh/linux/cryptsetup.md new file mode 100644 index 00000000000000..2e6f34ac1cbe7f --- /dev/null +++ b/pages.zh/linux/cryptsetup.md @@ -0,0 +1,20 @@ +# cryptsetup + +> 管理普通 dm-crypt 和 LUKS(Linux 统一密钥设置)加密卷。 +> 更多信息:. + +- 初始化 LUKS 卷(覆盖分区上的所有数据): + +`cryptsetup luksFormat {{/dev/sda1}}` + +- 打开 LUKS 卷并在 `/dev/mapper/目标` 创建解密映射: + +`cryptsetup luksOpen {{/dev/sda1}} {{目标}}` + +- 删除已存在的映射: + +`cryptsetup luksClose {{目标}}` + +- 更改 LUKS 卷的口令: + +`cryptsetup luksChangeKey {{/dev/sda1}}` diff --git a/pages.zh/linux/debootstrap.md b/pages.zh/linux/debootstrap.md new file mode 100644 index 00000000000000..157b1c5bbe9909 --- /dev/null +++ b/pages.zh/linux/debootstrap.md @@ -0,0 +1,20 @@ +# debootstrap + +> 创建一个基本的 `Debian` 系统。 +> 更多信息:. + +- 在 `debian-root` 目录中创建一个 `Debian` 稳定分支系统: + +`sudo debootstrap stable {{path/to/debian-root/}} http://deb.debian.org/debian` + +- 使用本地镜像在 `focal-root` 目录中创建一个 `Ubuntu 20.04` 系统: + +`sudo debootstrap focal {{path/to/focal-root/}} {{file:///path/to/mirror/}}` + +- 切换到可引导系统: + +`sudo chroot {{path/to/root}}` + +- 列出可用的版本: + +`ls /usr/share/debootstrap/scripts/` diff --git a/pages.zh/linux/debuild.md b/pages.zh/linux/debuild.md new file mode 100644 index 00000000000000..84d6587e7b3912 --- /dev/null +++ b/pages.zh/linux/debuild.md @@ -0,0 +1,16 @@ +# debuild + +> 从源代码构建 `Debian` 软件包的工具。 +> 更多信息:. + +- 在当前目录中生成软件包: + +`debuild` + +- 仅构建二进制包: + +`debuild -b` + +- 生成软件包后,不运行 `lintian`(检查常见打包错误): + +`debuild --no-lintian` diff --git a/pages.zh/linux/df.md b/pages.zh/linux/df.md new file mode 100644 index 00000000000000..b7e50c2383e279 --- /dev/null +++ b/pages.zh/linux/df.md @@ -0,0 +1,28 @@ +# df + +> 显示文件系统磁盘空间使用情况的概览。 +> 更多信息:. + +- 显示磁盘使用情况: + +`df` + +- 以可读的形式显示磁盘使用情况: + +`df {{[-h|--human-readable]}}` + +- 显示给定文件或目录的磁盘使用情况: + +`df {{路径/到/文件或目录}}` + +- 包括空闲 inode 数量的统计信息: + +`df {{[-i|--inodes]}}` + +- 显示文件系统但排除指定的类型: + +`df {{[-x|--exclude-type]}} {{squashfs}} {{[-x|--exclude-type]}} {{tmpfs}}` + +- 显示文件系统类型: + +`df {{[-T|--print-type]}}` diff --git a/pages.zh/linux/diff3.md b/pages.zh/linux/diff3.md new file mode 100644 index 00000000000000..0b0b35574af94c --- /dev/null +++ b/pages.zh/linux/diff3.md @@ -0,0 +1,12 @@ +# diff3 + +> 逐行比较三个文件。 +> 更多信息:. + +- 比较文件: + +`diff3 {{路径/到/文件1}} {{路径/到/文件2}} {{路径/到/文件3}}` + +- 展示所有的变化,同时列出冲突: + +`diff3 --show-all {{路径/到/文件1}} {{路径/到/文件2}} {{路径/到/文件3}}` diff --git a/pages.zh/linux/dmenu.md b/pages.zh/linux/dmenu.md new file mode 100644 index 00000000000000..8bf30fc85ad9f9 --- /dev/null +++ b/pages.zh/linux/dmenu.md @@ -0,0 +1,25 @@ +# dmenu + +> 动态菜单。 +> 根据文本输入创建菜单,其中每一项都在新行中。 +> 更多信息:. + +- 显示 `ls` 命令输出的菜单: + +`{{ls}} | dmenu` + +- 显示包含自定义项目的菜单,并用新行(`\n`)分隔: + +`echo -e "{{red}}\n{{green}}\n{{blue}}" | dmenu` + +- 让用户在多个项目之间进行选择,然后将所选项目保存到文件中: + +`echo -e "{{red}}\n{{green}}\n{{blue}}" | dmenu > {{color.txt}}` + +- 在特定的监视器上启动 `dmenu`: + +`ls | dmenu -m {{1}}` + +- 在屏幕底部显示 `dmenu`: + +`ls | dmenu -b` diff --git a/pages.zh/linux/dmesg.md b/pages.zh/linux/dmesg.md new file mode 100644 index 00000000000000..fe96c89a996ae4 --- /dev/null +++ b/pages.zh/linux/dmesg.md @@ -0,0 +1,36 @@ +# dmesg + +> 显示或控制内核环形缓冲区。 +> 更多信息:. + +- 显示来自内核环形缓冲区的所有消息: + +`sudo dmesg` + +- 只显示严重错误级别的消息: + +`sudo dmesg {{[-l|--level]}} err` + +- 等待新消息。仅在具有可读性的系统上支持此功能,类似于 `tail -f`(从内核 3.5.0 版本开始): + +`sudo dmesg {{[-w|--follow]}}` + +- 显示此系统上有多少物理内存可用: + +`sudo dmesg | grep {{[-i|--ignore-case]}} memory` + +- 以分页方式显示内核缓冲区的所有消息: + +`sudo dmesg | less` + +- 打印人类可读的时间戳(从内核 3.5.0 版本开始): + +`sudo dmesg {{[-T|--ctime]}}` + +- 启用人类可读的输出: + +`sudo dmesg {{[-H|--human]}}` + +- 着色输出: + +`sudo dmesg {{[-L|--color]}}` diff --git a/pages.zh/linux/dmidecode.md b/pages.zh/linux/dmidecode.md new file mode 100644 index 00000000000000..5ef754d635e84d --- /dev/null +++ b/pages.zh/linux/dmidecode.md @@ -0,0 +1,29 @@ +# dmidecode + +> 以人类可读的格式显示 DMI(也称为 SMBIOS)表内容。 +> 需要 root 权限。 +> 更多信息:. + +- 显示所有 DMI 表内容: + +`sudo dmidecode` + +- 显示 BIOS 版本: + +`sudo dmidecode -s bios-version` + +- 显示系统的序列号: + +`sudo dmidecode -s system-serial-number` + +- 显示 BIOS 信息: + +`sudo dmidecode -t bios` + +- 显示 CPU 信息: + +`sudo dmidecode -t processor` + +- 显示内存信息: + +`sudo dmidecode -t memory` diff --git a/pages.zh/linux/dnf.md b/pages.zh/linux/dnf.md new file mode 100644 index 00000000000000..f32c58712324de --- /dev/null +++ b/pages.zh/linux/dnf.md @@ -0,0 +1,37 @@ +# dnf + +> RHEL, Fedora 和 CentOS 的软件包管理工具(yum 的替代品)。 +> 对于其他包管理器中的等效命令,请见 . +> 更多信息:. + +- 更新已安装的包到最新可用版本: + +`sudo dnf upgrade` + +- 通过关键词搜索包: + +`dnf search {{关键词1 关键词2 ...}}` + +- 显示软件包的描述: + +`dnf info {{包}}` + +- 安装软件包(使用 `-y` 自动确认所有提示): + +`sudo dnf install {{包1 包2 ...}}` + +- 删除软件包: + +`sudo dnf remove {{包1 包2 ...}}` + +- 列出已安装的包: + +`dnf list --installed` + +- 查找哪些包提供给定命令: + +`dnf provides {{命令}}` + +- 查看所有过去的操作: + +`dnf history` diff --git a/pages.zh/linux/dos2unix.md b/pages.zh/linux/dos2unix.md index e167c8e6b9bfda..216f4a4aa7a3f0 100644 --- a/pages.zh/linux/dos2unix.md +++ b/pages.zh/linux/dos2unix.md @@ -1,12 +1,13 @@ # dos2unix -> 将 DOS 样式的行尾更改为 Unix 样式. -> 用 CR 替换 CRLF. +> 将 DOS 样式的行尾更改为 Unix 样式。 +> 用 LF 替换 CRLF. +> 更多信息:. -- 更改文件的行尾: +- 更改文件的行尾: `dos2unix {{文件名}}` -- 使用 Unix 样式的行尾创建副本: +- 使用 Unix 样式的行尾创建副本: -`dos2unix -n {{文件名}} {{文件名}}` +`dos2unix {{[-n|--newfile]}} {{文件名}} {{文件名}}` diff --git a/pages.zh/linux/fc-cache.md b/pages.zh/linux/fc-cache.md deleted file mode 100644 index 9b8644a96e7ea4..00000000000000 --- a/pages.zh/linux/fc-cache.md +++ /dev/null @@ -1,15 +0,0 @@ -# fc-cache - -> 扫描字体目录,以便建立字体缓存文件。 - -- 生成字体缓存文件: - -`fc-cache` - -- 强制重建所有字体缓存文件,而不检查缓存是否为最新版本: - -`fc-cache -f` - -- 删除字体缓存文件,然后生成新的字体缓存文件: - -`fc-cache -r` diff --git a/pages.zh/linux/fc-list.md b/pages.zh/linux/fc-list.md deleted file mode 100644 index 1aca9f45a48bab..00000000000000 --- a/pages.zh/linux/fc-list.md +++ /dev/null @@ -1,15 +0,0 @@ -# fc-list - -> 列出系统上安装的可用字体。 - -- 返回系统中已安装字体的列表: - -`fc-list` - -- 返回具有给定名称的已安装字体的列表: - -`fc-list | grep '{{DejaVu Serif}}'` - -- 返回系统中已安装字体的数量: - -`fc-list | wc -l` diff --git a/pages.zh/linux/flameshot.md b/pages.zh/linux/flameshot.md index de01f0de0e2fbf..976b17297c0cfb 100644 --- a/pages.zh/linux/flameshot.md +++ b/pages.zh/linux/flameshot.md @@ -1,24 +1,37 @@ # flameshot -> 带有gui界面的Screenshot工具,支持基本的图像编辑,例如文本,形状,颜色和imgur. -> 更多信息: . +> 带有 GUI 界面的 Screenshot 工具。 +> 支持基本的图像编辑,例如文本,形状,颜色和 imgur。 +> 更多信息:. -- 在GUI模式下启动Flameshot: +- 全屏截图: -`flameshot launcher` +`flameshot full` -- 通过单击并拖动来截取屏幕截图: +- 交互式截图: `flameshot gui` -- 全屏截图: +- 截图并保存到特定的路径: -`flameshot full` +`flameshot gui --path {{路径/到/目录}}` + +- 简单模式下交互式截图: + +`flameshot launcher` + +- 指定屏幕截图: + +`flameshot screen --number {{2}}` + +- 截图并打印到标准输出: + +`flameshot gui --raw` -- 将保存屏幕快照的路径设置为: +- 截图并复制到剪切板: -`flameshot full --path {{path/to/directory}}` +`flameshot gui --clipboard` -- 将屏幕截图延迟N毫秒,然后输出到剪贴板: +- 延迟指定毫秒时间截图: -`flameshot full --delay {{2000}} --clipboard` +`flameshot full --delay {{5000}}` diff --git a/pages.zh/linux/flatpak.md b/pages.zh/linux/flatpak.md index 596851bdca4527..01e127bd6060b7 100644 --- a/pages.zh/linux/flatpak.md +++ b/pages.zh/linux/flatpak.md @@ -1,6 +1,7 @@ # flatpak > 构建、安装和运行 Flatpak 应用和运行时。 +> 更多信息:. - 运行已安装应用: @@ -22,6 +23,10 @@ `flatpak remote-add --if-not-exists {{远程源名}} {{远程源网址}}` -- 列出所有已配置的远程源: +- 移除一个已安装的应用程序: -`flatpak remote-list` +`flatpak remove {{应用名}}` + +- 显示一个已安装的应用程序的信息: + +`flatpak info {{应用名}}` diff --git a/pages.zh/linux/grub-install.md b/pages.zh/linux/grub-install.md new file mode 100644 index 00000000000000..8f685f009b6b15 --- /dev/null +++ b/pages.zh/linux/grub-install.md @@ -0,0 +1,16 @@ +# grub-install + +> 安装 GRUB 到设备。 +> 更多信息:. + +- 安装 GRUB 到基于 BIOS 的系统: + +`grub-install --target={{i386-pc}} {{/dev/sdX}}` + +- 安装 GRUB 到基于 UEFI 的系统: + +`grub-install --target={{x86_64-efi}} --efi-directory={{path/to/efi_directory}} --bootloader-id={{GRUB}}` + +- 安装预置指定模块的 GRUB: + +`grub-install --target={{x86_64-efi}} --efi-directory={{path/to/efi_directory}} --modules="{{part_gpt part_msdos}}"` diff --git a/pages.zh/linux/grub-mkconfig.md b/pages.zh/linux/grub-mkconfig.md new file mode 100644 index 00000000000000..2e4f9fde1d3f9a --- /dev/null +++ b/pages.zh/linux/grub-mkconfig.md @@ -0,0 +1,16 @@ +# grub-mkconfig + +> 生成GRUB配置文件。 +> 更多信息:. + +- 模拟运行并打印配置到标准输出: + +`sudo grub-mkconfig` + +- 生成配置文件: + +`sudo grub-mkconfig --output={{/boot/grub/grub.cfg}}` + +- 打印帮助页面: + +`grub-mkconfig --help` diff --git a/pages.zh/linux/head.md b/pages.zh/linux/head.md new file mode 100644 index 00000000000000..e192e259d58ffe --- /dev/null +++ b/pages.zh/linux/head.md @@ -0,0 +1,20 @@ +# head + +> 输出文件的开头部分的内容。 +> 更多信息:. + +- 输出文件的前几行: + +`head {{[-n|--lines]}} {{数目}} {{路径/到/文件}}` + +- 输出文件的前几个字节: + +`head {{[-c|--bytes]}} {{数目}} {{路径/到/文件}}` + +- 输出文件除最后几行之外的所有内容: + +`head {{[-n|--lines]}} -{{数目}} {{路径/到/文件}}` + +- 输出文件除最后几个字节之外的所有内容: + +`head {{[-c|--bytes]}} -{{数目}} {{路径/到/文件}}` diff --git a/pages.zh/linux/hexdump.md b/pages.zh/linux/hexdump.md new file mode 100644 index 00000000000000..6aa9db0fed1629 --- /dev/null +++ b/pages.zh/linux/hexdump.md @@ -0,0 +1,20 @@ +# hexdump + +> 一个 ASCII、十进制、十六进制、八进制转换查看工具。 +> 更多信息:. + +- 打印文件的十六进制表示形式,重复的行用 '*' 替代: + +`hexdump {{路径/到/文件}}` + +- 以十六进制显示输入偏移量,并在最后两列中显示其 ASCII 表示形式: + +`hexdump -C {{路径/到/文件}}` + +- 显示文件的十六进制表示,但只解释输入的指定字节数: + +`hexdump -C -n{{字节数}} {{路径/到/文件}}` + +- 不使用 '*' 替换重复的行: + +`hexdump --no-squeezing {{路径/到/文件}}` diff --git a/pages.zh/linux/i3.md b/pages.zh/linux/i3.md deleted file mode 100644 index f3a1a4e87069f8..00000000000000 --- a/pages.zh/linux/i3.md +++ /dev/null @@ -1,32 +0,0 @@ -# i3 - -> 一款动态平铺窗口管理器。 -> 更多信息:https://i3wm.org/docs/userguide.html>. - -- 启动 i3(注意在此命令运行前,务必关闭其它先前存在的窗口管理器): - -`i3` - -- 打开新终端窗口: - -`Super + Return` - -- 创建新工作区: - -`Super + Shift + {{数字键}}` - -- 切换到 {{数字}} 号工作区: - -`Super + {{数字键}}` - -- 水平布局打开新窗口: - -`Super + h` - -- 垂直布局打开新窗口: - -`Super + v` - -- 打开应用(在执行命令后输入应用名称): - -`Super + D` diff --git a/pages.zh/linux/iostat.md b/pages.zh/linux/iostat.md new file mode 100644 index 00000000000000..1b44d5c39f9bca --- /dev/null +++ b/pages.zh/linux/iostat.md @@ -0,0 +1,28 @@ +# iostat + +> 报告设备和分区的统计信息。 +> 更多信息:. + +- 显示系统启动以来的CPU和磁盘统计报告: + +`iostat` + +- 以MB为单位显示CPU和磁盘统计报告: + +`iostat -m` + +- 显示CPU统计信息: + +`iostat {{[-c|--compact]}}` + +- 显示包含磁盘名称(含LVM)的磁盘统计信息: + +`iostat -N` + +- 显示设备"sda"的扩展磁盘统计信息(包含磁盘名称): + +`iostat -xN {{sda}}` + +- 每2秒显示一次CPU和磁盘的增量统计报告: + +`iostat {{2}}` diff --git a/pages.zh/linux/ip-route-list.md b/pages.zh/linux/ip-route-list.md new file mode 100644 index 00000000000000..313ad0c9f5ceff --- /dev/null +++ b/pages.zh/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> 这是 `ip route show`.命令的一个别名。 + +- 原命令的文档在: + +`tldr ip route show` diff --git a/pages.zh/linux/ip.md b/pages.zh/linux/ip.md new file mode 100644 index 00000000000000..14bd5e3d35116f --- /dev/null +++ b/pages.zh/linux/ip.md @@ -0,0 +1,37 @@ +# ip + +> 显示/操作路由、设备、策略路由和隧道。 +> 一些子命令(例如 `address`)有自己的使用文档。 +> 更多信息:. + +- 列出带有详细信息的接口: + +`ip {{[a|address]}}` + +- 列出带有简要网络层信息的接口: + +`ip {{[-br a|-brief address]}}` + +- 列出带有简要链路层信息的接口: + +`ip {{[-br l|-brief link]}}` + +- 显示路由表: + +`ip {{[r|route]}}` + +- 显示邻居(ARP 表): + +`ip {{[n|neighbour]}}` + +- 使接口启动/关闭: + +`sudo ip {{[l|link]}} {{[s|set]}} {{interface}} {{up|down}}` + +- 向接口添加/删除 IP 地址: + +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface}}` + +- 添加默认路由: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface}}` diff --git a/pages.zh/linux/iptables.md b/pages.zh/linux/iptables.md index d164e4404bb42c..2f7682e9c1f25e 100644 --- a/pages.zh/linux/iptables.md +++ b/pages.zh/linux/iptables.md @@ -1,32 +1,29 @@ # iptables > 可用于配置 Linux 内核防火墙提供的过滤表、规则链和规则的程序。 -> 更多信息: . +> 使用 `ip6tables` 来设置 IPv6 流量规则。另见:`iptables-save`、`iptables-restore`。 +> 更多信息:. - 查看过滤表的规则链、规则以及数据包/字节计数器: -`sudo iptables -vnL` +`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}` - 设定规则链策略规则: -`sudo iptables -P {{规则链}} {{规则}}` +`sudo iptables {{[-P|--policy]}} {{规则链}} {{规则}}` - 追加规则到 IP 的规则链策略: -`sudo iptables -A {{规则链}} -s {{ip}} -j {{规则}}` +`sudo iptables {{[-A|--append]}} {{规则链}} {{[-s|--source]}} {{ip}} {{[-j|--jump]}} {{规则}}` - 追加规则到 IP 的规则链策略(考虑协议与端口): -`sudo iptables -A {{规则链}} -s {{ip}} -p {{协议}} --dport {{端口}} -j {{规则}}` +`sudo iptables {{[-A|--append]}} {{规则链}} {{[-s|--source]}} {{ip}} {{[-p|--protocol]}} {{协议}} --dport {{端口}} {{[-j|--jump]}} {{规则}}` -- 删除规则链中的规则: - -`sudo iptables -D {{规则链}} {{规则所在行号}}` +- 添加 NAT 规则,将来自 `192.168.0.0/24` 子网的所有流量转换为主机的公共 IP: -- 将指定过滤表的 iptables 配置保存到文件中: +`sudo iptables {{[-t|--table]}} {{nat}} {{[-A|--append]}} {{POSTROUTING}} {{[-s|--source]}} {{192.168.0.0/24}} {{[-j|--jump]}} {{MASQUERADE}}` -`sudo iptables-save -t {{过滤表名}} > {{iptables_文件路径}}` - -- 从文件中还原 iptables 配置: +- 删除规则链中的规则: -`sudo iptables-restore < {{iptables_文件路径}}` +`sudo iptables {{[-D|--delete]}} {{规则链}} {{规则所在行号}}` diff --git a/pages.zh/linux/iwctl.md b/pages.zh/linux/iwctl.md new file mode 100644 index 00000000000000..d46bf9e85c734f --- /dev/null +++ b/pages.zh/linux/iwctl.md @@ -0,0 +1,28 @@ +# iwctl + +> 控制 `iwd` 网络请求程序。 +> 更多信息:. + +- 启动交互模式,在此模式您可以直接输入命令并带有自动补全: + +`iwctl` + +- 显示您的 Wi-Fi 站点: + +`iwctl station list` + +- 开始寻找带有站点的网络: + +`iwctl station {{站点}} scan` + +- 显示站点发现的网络: + +`iwctl station {{站点}} get-networks` + +- 连接到带有站点的网络,如果需要凭证,则会询问: + +`iwctl station {{站点}} connect {{网络名称}}` + +- 显示帮助: + +`iwctl {{[-h|--help]}}` diff --git a/pages.zh/linux/konsole.md b/pages.zh/linux/konsole.md index 9716c7b53d3ff7..8ec9a94fcb0e53 100644 --- a/pages.zh/linux/konsole.md +++ b/pages.zh/linux/konsole.md @@ -1,24 +1,24 @@ # konsole -> Konsole: KDE 终端模拟器. -> 更多信息: . +> Konsole: KDE 终端模拟器。 +> 更多信息:. -- 在特定目录中打开一个新的 Konsole: +- 在特定目录中打开一个新的 Konsole: `konsole --workdir {{path/to/directory}}` -- 运行特定命令,退出窗口后不要关闭窗口: +- 运行特定命令,退出窗口后不要关闭窗口: `konsole --noclose -e {{命令}}` -- 打开新标签页: +- 打开新标签页: `konsole --new-tab` -- 在后台打开 Konsole 并在按下 Ctrl+Shift+F12 (默认) 时显示在最前面: +- 在后台打开 Konsole 并在按下 ``(默认)时显示在最前面: `konsole --background-mode` -- 使用紧急备冗配置文件打开 Konsole: +- 使用紧急备冗配置文件打开 Konsole: `konsole --fallback-profile` diff --git a/pages.zh/linux/line.md b/pages.zh/linux/line.md new file mode 100644 index 00000000000000..a9ee295c01ccb1 --- /dev/null +++ b/pages.zh/linux/line.md @@ -0,0 +1,8 @@ +# line + +> 读取单行输入。 +> 更多信息:. + +- 读取输入: + +`line` diff --git a/pages.zh/linux/logsave.md b/pages.zh/linux/logsave.md index bd1b9955099d3b..46dc2e83b38cde 100644 --- a/pages.zh/linux/logsave.md +++ b/pages.zh/linux/logsave.md @@ -1,20 +1,20 @@ # logsave -> 将一个命令的输出保存在日志文件中. -> 更多信息: . +> 将一个命令的输出保存在日志文件中。 +> 更多信息:. -- 使用指定的参数执行命令并将其输出保存到日志文件中: +- 使用指定的参数执行命令并将其输出保存到日志文件中: `logsave {{path/to/logfile}} {{command}}` -- 从标准输入中获取输入并将其保存在日志文件中: +- 从标准输入中获取输入并将其保存在日志文件中: `logsave {{logfile}} -` -- 将输出追加到日志文件,而不是替换其当前内容: +- 将输出追加到日志文件,而不是替换其当前内容: `logsave -a {{logfile}} {{command}}` -- 显示详细输出: +- 显示详细输出: `logsave -v {{logfile}} {{command}}` diff --git a/pages.zh/linux/lsattr.md b/pages.zh/linux/lsattr.md new file mode 100644 index 00000000000000..4d18e10f0277e1 --- /dev/null +++ b/pages.zh/linux/lsattr.md @@ -0,0 +1,24 @@ +# lsattr + +> 列出 Linux 系统下的文件属性。 +> 更多信息:. + +- 显示当前目录下文件的属性: + +`lsattr` + +- 列出指定路径下的文件属性: + +`lsattr {{path}}` + +- 递归列出当前目录及其子目录中所有文件属性: + +`lsattr -R` + +- 显示当前目录下所有文件的属性,包括隐藏文件: + +`lsattr -a` + +- 显示当前目录下的目录属性: + +`lsattr -d` diff --git a/pages.zh/linux/lsb_release.md b/pages.zh/linux/lsb_release.md new file mode 100644 index 00000000000000..da9766cbfafb73 --- /dev/null +++ b/pages.zh/linux/lsb_release.md @@ -0,0 +1,20 @@ +# lsb_release + +> 提供某些 LSB(Linux 标准库)和特定于发行版的信息。 +> 更多信息:. + +- 打印所有可用信息: + +`lsb_release -a` + +- 打印操作系统的描述(通常是全名): + +`lsb_release -d` + +- 仅打印操作系统名称 (ID),隐藏字段名称: + +`lsb_release -i -s` + +- 打印发行版的版本号和代号,隐藏字段名称: + +`lsb_release -rcs` diff --git a/pages.zh/linux/lsblk.md b/pages.zh/linux/lsblk.md new file mode 100644 index 00000000000000..723610a7b4e439 --- /dev/null +++ b/pages.zh/linux/lsblk.md @@ -0,0 +1,36 @@ +# lsblk + +> 列出设备信息。 +> 更多信息:. + +- 以树状格式列出所有存储设备: + +`lsblk` + +- 同时列出空设备: + +`lsblk {{[-a|--all]}}` + +- 以字节为单位而不是以人类可读的格式打印 SIZE 列: + +`lsblk {{[-b|--bytes]}}` + +- 输出文件系统信息: + +`lsblk {{[-f|--fs]}}` + +- 使用 ASCII 字符进行树形格式化: + +`lsblk {{[-i|--ascii]}}` + +- 输出块设备的拓扑结构: + +`lsblk {{[-t|--topology]}}` + +- 排除由逗号分隔的主要设备编号列表指定的设备: + +`lsblk {{[-e|--exclude]}} {{1,7,...}}` + +- 使用逗号分隔的列列表显示自定义摘要: + +`lsblk {{[-o|--output]}} {{名称,序列号,型号,传输方式,类型,大小,文件系统类型,挂载点,...}}` diff --git a/pages.zh/linux/lscpu.md b/pages.zh/linux/lscpu.md new file mode 100644 index 00000000000000..c59fd36318188a --- /dev/null +++ b/pages.zh/linux/lscpu.md @@ -0,0 +1,16 @@ +# lscpu + +> 显示 CPU 架构信息。 +> 更多信息:. + +- 显示所有 CPU 信息: + +`lscpu` + +- 以表格方式显示信息: + +`lscpu {{[-e|--extended]}}` + +- 仅显示表中离线 CPU 的信息: + +`lscpu {{[-e|--extended]}} {{[-c|--offline]}}` diff --git a/pages.zh/linux/lspci.md b/pages.zh/linux/lspci.md new file mode 100644 index 00000000000000..9d29bd9ce675b8 --- /dev/null +++ b/pages.zh/linux/lspci.md @@ -0,0 +1,24 @@ +# lspci + +> 列出所有 PCI 设备。 +> 更多信息:. + +- 显示设备的简要列表: + +`lspci` + +- 显示额外信息: + +`lspci -v` + +- 显示处理每个设备的驱动程序和模块: + +`lspci -k` + +- 显示特定设备: + +`lspci -s {{00:18.3}}` + +- 以可读形式转储信息: + +`lspci -vm` diff --git a/pages.zh/linux/lvs.md b/pages.zh/linux/lvs.md new file mode 100644 index 00000000000000..7a80eb89133a69 --- /dev/null +++ b/pages.zh/linux/lvs.md @@ -0,0 +1,33 @@ +# lvs + +> 显示逻辑卷信息。 +> 另见:`lvm`. +> 更多信息:. + +- 显示逻辑卷信息: + +`lvs` + +- 显示所有逻辑卷: + +`lvs -a` + +- 改变默认显示以显示更多细节: + +`lvs -v` + +- 只显示特定字段: + +`lvs -o {{域名 1}},{{域名 2}}` + +- 将字段附加到显示: + +`lvs -o +{{域名}}` + +- 抑制标题行: + +`lvs --noheadings` + +- 使用特殊分隔符分隔特定字段: + +`lvs --separator {{=}}` diff --git a/pages.zh/linux/mac2unix.md b/pages.zh/linux/mac2unix.md index 74a7d1b82bac0e..392783906f59c4 100644 --- a/pages.zh/linux/mac2unix.md +++ b/pages.zh/linux/mac2unix.md @@ -1,12 +1,13 @@ # mac2unix -> 将 macOS 样式的行尾更改为 Unix 样式. -> 用 CR 替换 LF. +> 将 macOS 样式的行尾更改为 Unix 样式。 +> 用 LF 替换 CR. +> 更多信息:. -- 更改文件的行尾: +- 更改文件的行尾: `mac2unix {{文件名}}` -- 使用 Unix 样式的行尾创建副本: +- 使用 Unix 样式的行尾创建副本: -`mac2unix -n {{文件名}} {{新文件名}}` +`mac2unix {{[-n|--newfile]}} {{文件名}} {{新文件名}}` diff --git a/pages.zh/linux/makepkg.md b/pages.zh/linux/makepkg.md new file mode 100644 index 00000000000000..8de553d643460e --- /dev/null +++ b/pages.zh/linux/makepkg.md @@ -0,0 +1,33 @@ +# makepkg + +> 创建 `pacman` 可用的软件包。 +> 默认使用当前工作目录中的 `PKGBUILD` 文件。 +> 更多信息:. + +- 构建软件包: + +`makepkg` + +- 构建软件包并使用 `pacman` 安装缺失的依赖关系: + +`makepkg {{[-s|--syncdeps]}}` + +- 构建软件包、安装缺失的依赖后将其安装到系统: + +`makepkg {{[-s|--syncdeps]}} {{[-i|--install]}}` + +- 构建软件包但不验证源文件的检验值: + +`makepkg --skipchecksums` + +- 编译后清理工作文件: + +`makepkg {{[-c|--clean]}}` + +- 下载源文件(如果不存在)并进行完整性检查: + +`makepkg --verifysource` + +- 生成 `SRCINFO` 并写入到 `.SRCINFO` 文件: + +`makepkg --printsrcinfo > .SRCINFO` diff --git a/pages.zh/linux/mbw.md b/pages.zh/linux/mbw.md new file mode 100644 index 00000000000000..a6a6836a0f4910 --- /dev/null +++ b/pages.zh/linux/mbw.md @@ -0,0 +1,24 @@ +# mbw + +> 内存带宽性能测试工具。 +> 更多信息:. + +- 以 512MB 大小运行 3 次内存带宽测试: + +`mbw -n 3 512` + +- 以 512MB 大小运行 3 次内存带宽测试,仅输出统计信息,不显示平均值: + +`mbw -n 3 -q -a 512` + +- 以 512MB 大小运行 3 次内存复制测试,仅输出统计信息: + +`mbw -n 3 -q -t{{0}} 512` + +- 用 1024字节 的块运行10次内存块复制测试,分配 8192MB 内存: + +`mbw -n 10 -q -t{{2}} -b 1024 8192` + +- 持续 2048MB 大小运行内存字符串复制测试,仅输出统计信息: + +`mbw -n 0 -t{{1}} -q 2048` diff --git a/pages.zh/linux/megadl.md b/pages.zh/linux/megadl.md new file mode 100644 index 00000000000000..697291c897994b --- /dev/null +++ b/pages.zh/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> 这是 `megatools-dl` 命令的一个别名。 + +- 原命令的文档在: + +`tldr megatools-dl` diff --git a/pages.zh/linux/minicom.md b/pages.zh/linux/minicom.md new file mode 100644 index 00000000000000..1ff0ef2bd08261 --- /dev/null +++ b/pages.zh/linux/minicom.md @@ -0,0 +1,16 @@ +# minicom + +> 与设备的串行接口进行通信。 +> 更多信息:. + +- 打开给定的串行端口: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyUSB0}}` + +- 以给定的波特率打开给定的串行端口: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyUSB0}} {{[-b|--baudrate]}} {{115200}}` + +- 在与给定串行端口通信前进入配置菜单: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyUSB0}} {{[-s|--setup]}}` diff --git a/pages.zh/linux/mkfs.btrfs.md b/pages.zh/linux/mkfs.btrfs.md new file mode 100644 index 00000000000000..e47121fd6e129b --- /dev/null +++ b/pages.zh/linux/mkfs.btrfs.md @@ -0,0 +1,17 @@ +# mkfs.btrfs + +> 创建一个 BTRFS 文件系统。 +> 默认情况下是 `raid1`,指定了数据块的两份拷贝分布在两个不同的设备上。 +> 更多信息:. + +- 在单个设备上创建一个 btrfs 文件系统: + +`sudo mkfs.btrfs --metadata single --data single {{/dev/sda}}` + +- 在多个设备上使用 raid1 创建一个 btrfs 文件系统: + +`sudo mkfs.btrfs --metadata raid1 --data raid1 {{/dev/sda}} {{/dev/sdb}} {{/dev/sdN}}` + +- 为文件系统设置一个标签(可选): + +`sudo mkfs.btrfs --label "{{label}}" {{/dev/sda}} [{{/dev/sdN}}]` diff --git a/pages.zh/linux/mkfs.cramfs.md b/pages.zh/linux/mkfs.cramfs.md new file mode 100644 index 00000000000000..dc1cc80db61637 --- /dev/null +++ b/pages.zh/linux/mkfs.cramfs.md @@ -0,0 +1,12 @@ +# mkfs.cramfs + +> 创建一个 ROM 文件系统,放置在分区内。 +> 更多信息:. + +- 在设备 b 的第 1 个分区内创建一个 ROM 文件系统(`sdb1`): + +`mkfs.cramfs {{/dev/sdb1}}` + +- 创建一个带有卷名的 ROM 文件系统: + +`mkfs.cramfs -n {{volume_name}} {{/dev/sdb1}}` diff --git a/pages.zh/linux/mkfs.exfat.md b/pages.zh/linux/mkfs.exfat.md new file mode 100644 index 00000000000000..befe10bf508d84 --- /dev/null +++ b/pages.zh/linux/mkfs.exfat.md @@ -0,0 +1,16 @@ +# mkfs.exfat + +> 在分区内创建一个 exFAT 文件系统。 +> 更多信息:. + +- 在设备 b 的分区 1 内创建一个 exFAT 文件系统(`sdb1`): + +`mkfs.exfat {{/dev/sdb1}}` + +- 创建一个带有卷名的文件系统: + +`mkfs.exfat -n {{volume_name}} {{/dev/sdb1}}` + +- 创建一个带有卷 ID 的文件系统: + +`mkfs.exfat -i {{volume_id}} {{/dev/sdb1}}` diff --git a/pages.zh/linux/mkfs.ext4.md b/pages.zh/linux/mkfs.ext4.md new file mode 100644 index 00000000000000..18a8cabbd17b7e --- /dev/null +++ b/pages.zh/linux/mkfs.ext4.md @@ -0,0 +1,12 @@ +# mkfs.ext4 + +> 在分区内创建一个 ext4 文件系统。 +> 更多信息:. + +- 在设备 b 的分区 1 内创建一个 ext4 文件系统(`sdb1`): + +`sudo mkfs.ext4 {{/dev/sdb1}}` + +- 创建一个带有卷标签的 ext4 文件系统: + +`sudo mkfs.ext4 -L {{volume_label}} {{/dev/sdb1}}` diff --git a/pages.zh/linux/mkfs.f2fs.md b/pages.zh/linux/mkfs.f2fs.md new file mode 100644 index 00000000000000..cc7a5690a81fd7 --- /dev/null +++ b/pages.zh/linux/mkfs.f2fs.md @@ -0,0 +1,12 @@ +# mkfs.f2fs + +> 在分区内创建一个 F2FS 文件系统。 +> 更多信息:. + +- 在设备 b 的第 1 个分区内创建一个 F2FS 文件系统(`sdb1`): + +`sudo mkfs.f2fs {{/dev/sdb1}}` + +- 创建一个带有卷标签的 F2FS 文件系统: + +`sudo mkfs.f2fs -l {{volume_label}} {{/dev/sdb1}}` diff --git a/pages.zh/linux/mkfs.fat.md b/pages.zh/linux/mkfs.fat.md new file mode 100644 index 00000000000000..b66de538bc0c2c --- /dev/null +++ b/pages.zh/linux/mkfs.fat.md @@ -0,0 +1,20 @@ +# mkfs.fat + +> 在分区内创建一个 MS-DOS 文件系统。 +> 更多信息:. + +- 在设备 b 的分区 1 内创建一个 FAT 文件系统(`sdb1`): + +`mkfs.fat {{/dev/sdb1}}` + +- 创建一个带有卷名的文件系统: + +`mkfs.fat -n {{volume_name}} {{/dev/sdb1}}` + +- 创建一个带有卷 ID 的文件系统: + +`mkfs.fat -i {{volume_id}} {{/dev/sdb1}}` + +- 使用 5 个而不是 2 个文件分配表: + +`mkfs.fat -f 5 {{/dev/sdb1}}` diff --git a/pages.zh/linux/mkfs.md b/pages.zh/linux/mkfs.md new file mode 100644 index 00000000000000..a1c31af369cad7 --- /dev/null +++ b/pages.zh/linux/mkfs.md @@ -0,0 +1,17 @@ +# mkfs + +> 在硬盘分区上建立一个 Linux 文件系统。 +> 该命令已被废弃,建议使用特定文件系统的 mkfs. 工具。 +> 更多信息:. + +- 在分区上建立一个 Linux ext2 文件系统: + +`mkfs {{path/to/partition}}` + +- 建立指定类型的文件系统: + +`mkfs -t {{ext4}} {{path/to/partition}}` + +- 建立指定类型的文件系统并检查坏块: + +`mkfs -c -t {{ntfs}} {{path/to/partition}}` diff --git a/pages.zh/linux/mkfs.minix.md b/pages.zh/linux/mkfs.minix.md new file mode 100644 index 00000000000000..1dab3970afe539 --- /dev/null +++ b/pages.zh/linux/mkfs.minix.md @@ -0,0 +1,8 @@ +# mkfs.minix + +> 在分区内创建一个 Minix 文件系统。 +> 更多信息:. + +- 在设备 b 的分区 1 内创建一个 Minix 文件系统(`sdb1`): + +`mkfs.minix {{/dev/sdb1}}` diff --git a/pages.zh/linux/mkfs.ntfs.md b/pages.zh/linux/mkfs.ntfs.md new file mode 100644 index 00000000000000..c9903bb15248ce --- /dev/null +++ b/pages.zh/linux/mkfs.ntfs.md @@ -0,0 +1,16 @@ +# mkfs.ntfs + +> 在分区内创建一个 NTFS 文件系统。 +> 更多信息:. + +- 在设备 b 的分区 1 内创建一个 NTFS 文件系统(`sdb1`): + +`mkfs.ntfs {{/dev/sdb1}}` + +- 创建一个带有卷标签的文件系统: + +`mkfs.ntfs -L {{volume_label}} {{/dev/sdb1}}` + +- 创建一个带有特定 UUID 的文件系统: + +`mkfs.ntfs -U {{UUID}} {{/dev/sdb1}}` diff --git a/pages.zh/linux/mknod.md b/pages.zh/linux/mknod.md new file mode 100644 index 00000000000000..d56fc3da0df5d9 --- /dev/null +++ b/pages.zh/linux/mknod.md @@ -0,0 +1,20 @@ +# mknod + +> 创建块或字符设备特殊文件。 +> 更多信息:. + +- 创建块设备: + +`sudo mknod {{路径/到/设备文件}} b {{主设备号}} {{次设备号}}` + +- 创建字符设备: + +`sudo mknod {{路径/到/设备文件}} c {{主设备号}} {{次设备号}}` + +- 创建先进先出(队列)设备: + +`sudo mknod {{路径/到/设备文件}} p` + +- 使用 SELinux 默认安全上下文创建设备文件: + +`sudo mknod {{[-Z |--context=]}}{{路径/到/设备文件}} {{类型}} {{主设备号}} {{次设备号}}` diff --git a/pages.zh/linux/more.md b/pages.zh/linux/more.md new file mode 100644 index 00000000000000..aa79f6bd2fe80c --- /dev/null +++ b/pages.zh/linux/more.md @@ -0,0 +1,29 @@ +# more + +> 以交互方式显示文件,允许滚动和搜索。 +> 另请参阅:`less`。 +> 更多信息:. + +- 打开文件: + +`more {{路径/到/文件}}` + +- 显示特定行: + +`more +{{行号}} {{路径/到/文件}}` + +- 转到下一页: + +`<空格键>` + +- 搜索字符串(按 `` 转到下一个匹配项): + +`{{关键字}}` + +- 退出: + +`` + +- 显示有关交互式命令的帮助: + +`` diff --git a/pages.zh/linux/ncal.md b/pages.zh/linux/ncal.md new file mode 100644 index 00000000000000..4d5b2aba1b2de5 --- /dev/null +++ b/pages.zh/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> 这是 `cal` 命令的一个别名。 + +- 原命令的文档在: + +`tldr cal` diff --git a/pages.zh/linux/openvpn3.md b/pages.zh/linux/openvpn3.md new file mode 100644 index 00000000000000..53b05269b1833d --- /dev/null +++ b/pages.zh/linux/openvpn3.md @@ -0,0 +1,24 @@ +# openvpn3 + +> OpenVPN 3 Linux 客户端。 +> 更多信息:. + +- 打开一个新的 VPN 会话: + +`openvpn3 session-start --config {{路径/到/config.conf}}` + +- 列出已建立的会话: + +`openvpn3 sessions-list` + +- 断开当前建立的以给定配置开始的会话: + +`openvpn3 session-manage --config {{路径/到/config.conf}} --disconnect` + +- 导入 VPN 配置: + +`openvpn3 config-import --config {{路径/到/config.conf}}` + +- 列出导入的配置: + +`openvpn3 configs-list` diff --git a/pages.zh/linux/pacman.md b/pages.zh/linux/pacman.md index e80ceefb57c82e..9d11cf060da502 100644 --- a/pages.zh/linux/pacman.md +++ b/pages.zh/linux/pacman.md @@ -1,23 +1,20 @@ # pacman > Arch Linux 的软件包管理器工具。 -> 更多信息: . +> 也可以看看:`pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> 更多信息:. - 同步并更新所有软件包: -`pacman -Syu` +`sudo pacman -Syu` - 安装一个新的软件包: -`pacman -S {{软件包}}` +`sudo pacman -S {{软件包}}` - 删除一个软件包及其依赖: -`pacman -Rs {{软件包}}` - -- 在软件包数据库中搜索正则表达式或关键字: - -`pacman -Ss "{{软件包}}"` +`sudo pacman -Rs {{软件包}}` - 列出已安装的软件包和版本: @@ -33,4 +30,4 @@ - 清空软件包缓存以释放空间: -`pacman -Scc` +`sudo pacman -Scc` diff --git a/pages.zh/linux/paru.md b/pages.zh/linux/paru.md new file mode 100644 index 00000000000000..20f49e5c9dbb00 --- /dev/null +++ b/pages.zh/linux/paru.md @@ -0,0 +1,28 @@ +# paru + +> 一个 AUR 助手和 pacman 包装。 +> 更多信息:. + +- 交互式搜索并安装软件包: + +`paru {{包名或关键字}}` + +- 同步和更新所有包: + +`paru` + +- 更新 AUR 包: + +`paru -Sua` + +- 获取包的信息: + +`paru -Si {{包}}` + +- 从 AUR 或 ABS 下载 `PKGBUILD` 和其他的包的源文件: + +`paru --getpkgbuild {{包}}` + +- 显示包的 `PKGBUILD` 文件: + +`paru --getpkgbuild --print {{包}}` diff --git a/pages.zh/linux/poweroff.md b/pages.zh/linux/poweroff.md index c9fae1ff5bdba5..c11f1921d21ebc 100644 --- a/pages.zh/linux/poweroff.md +++ b/pages.zh/linux/poweroff.md @@ -1,7 +1,24 @@ # poweroff -> 关闭系统. +> 关闭系统。 +> 更多信息:. -- 关闭系统电源: +- 关闭系统电源: -`sudo poweroff` +`poweroff` + +- 停止系统(等同于 `halt`): + +`poweroff --halt` + +- 重启系统(等同于 `reboot`): + +`poweroff --reboot` + +- 立即关机,不联系系统管理器: + +`poweroff {{[-f|--force]}}` + +- 仅写入 wtmp 关机日志条目而不关闭系统: + +`poweroff {{[-w|--wtmp-only]}}` diff --git a/pages.zh/linux/readelf.md b/pages.zh/linux/readelf.md new file mode 100644 index 00000000000000..f5ed432b4f4ad7 --- /dev/null +++ b/pages.zh/linux/readelf.md @@ -0,0 +1,20 @@ +# readelf + +> 显示 EFI 文件信息。 +> 更多信息:. + +- 显示 ELF 所有文件信息: + +`readelf -all {{path/to/binary}}` + +- 显示 ELF 文件的所有头信息: + +`readelf --headers {{path/to/binary}}` + +- 如果存在符号表项,则显示 ELF 文件内的符号表项: + +`readelf --symbols {{path/to/binary}}` + +- 显示 ELF 文件头信息: + +`readelf --file-header {{path/to/binary}}` diff --git a/pages.zh/linux/reboot.md b/pages.zh/linux/reboot.md index 9e2932e313a8a1..065575f2ef50cf 100644 --- a/pages.zh/linux/reboot.md +++ b/pages.zh/linux/reboot.md @@ -1,11 +1,24 @@ # reboot -> 重新启动系统. +> 重新启动系统。 +> 更多信息:. -- 立即重新启动: +- 重启系统: `reboot` -- 立即重启,而无需正常关闭: +- 关闭系统(等同于 `poweroff`): -`reboot -f` +`reboot {{[-p|--poweroff]}}` + +- 停止系统(终止所有进程并关闭 CPU,等同于 `halt`): + +`reboot --halt` + +- 立即重启,而无需正常关闭: + +`reboot {{[-f|--force]}}` + +- 仅写入 wtmp 关机日志条目而不重启系统: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages.zh/linux/sacctmgr.md b/pages.zh/linux/sacctmgr.md new file mode 100644 index 00000000000000..f7e22ed6def0e3 --- /dev/null +++ b/pages.zh/linux/sacctmgr.md @@ -0,0 +1,20 @@ +# sacctmgr + +> 查看、配置、管理 Slurm 账户。 +> 更多信息:. + +- 显示现有配置: + +`sacctmgr show configuration` + +- 向 Slurm 数据库添加集群: + +`sacctmgr add cluster {{集群名}}` + +- 向 Slurm 数据库添加账户: + +`sacctmgr add account {{账户名}} cluster={{账户所在集群}}` + +- 以指定格式显示用户、账户资源关联、集群、账户的详细信息: + +`sacctmgr show {{user|association|cluster|account}} format="Account%10" format="GrpTRES%30"` diff --git a/pages.zh/linux/sed.md b/pages.zh/linux/sed.md new file mode 100644 index 00000000000000..cc729b9f8cb40d --- /dev/null +++ b/pages.zh/linux/sed.md @@ -0,0 +1,33 @@ +# sed + +> 以脚本方式编辑文本。 +> 参见:`awk`, `ed`. +> 更多信息:. + +- 将所有输入行中出现的 `apple`(基本正则语法)替换为 `mango`(基本正则语法),并将结果打印到 `stdout`: + +`{{命令}} | sed 's/apple/mango/g'` + +- 将所有输入行中出现的 `apple`(扩展正则语法)替换为 `APPLE` (扩展正则语法),并将结果打印到 `stdout`: + +`{{命令}} | sed {{[-E|--regexp-extended]}} 's/(apple)/\U\1/g'` + +- 用 `mango`(基本正则语法)替换特定文件中出现的所有 `apple`(基本正则语法),并覆盖原文件: + +`sed {{[-i|--in-place]}} 's/apple/mango/g' {{路径/到/文件}}` + +- 执行特定的脚本,并将结果打印到 `stdout`: + +`{{命令}} | sed {{-f|--file}} {{路径/到/脚本.sed}}` + +- 打印第一行到 `stdout`: + +`{{命令}} | sed {{[-n|--quiet]}} '1p'` + +- 删除文件第一行: + +`sed {{[-i|--in-place]}} 1d {{路径/到/文件}}` + +- 插入新行到文件的第一行: + +`sed {{[-i|--in-place]}} '1i\your new line text\' {{路径/到/文件}}` diff --git a/pages.zh/linux/sleep.md b/pages.zh/linux/sleep.md new file mode 100644 index 00000000000000..55063d3261dc59 --- /dev/null +++ b/pages.zh/linux/sleep.md @@ -0,0 +1,20 @@ +# sleep + +> 延迟指定的一段时间。 +> 更多信息:. + +- 按秒数延迟: + +`sleep {{seconds}}` + +- 延迟 [m]分钟(其他元素 [d]天,[h]小时,[s]秒,[inf]无穷 也可以使用): + +`sleep {{minutes}}m` + +- 延迟 1 [d]天 3 [h]小时: + +`sleep 1d 3h` + +- 在 20 [m]分钟 延迟后执行指定命令: + +`sleep 20m && {{command}}` diff --git a/pages.zh/linux/systemctl.md b/pages.zh/linux/systemctl.md new file mode 100644 index 00000000000000..ae7be2289c469e --- /dev/null +++ b/pages.zh/linux/systemctl.md @@ -0,0 +1,36 @@ +# systemctl + +> 控制 systemd 系统和服务管理器。 +> 更多信息:. + +- 显示所有正在运行的服务: + +`systemctl status` + +- 列出失败的单元: + +`systemctl --failed` + +- 启动/停止/重启/重新加载/显示服务的状态: + +`systemctl {{start|stop|restart|reload|status}} {{单元}}` + +- 启用/禁用开机时启动的单元: + +`systemctl {{enable/disable}} {{单元}}` + +- 重新加载 systemd,扫描新的或更改的单元: + +`systemctl daemon-reload` + +- 检查单元是否激活/启用/失败: + +`systemctl {{is-active|is-enabled|is-failed}} {{单元}}` + +- 按运行/失败状态过滤列出所有服务/套接字/自动挂载单元: + +`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` + +- 显示单元文件的内容和绝对路径: + +`systemctl cat {{单元}}` diff --git a/pages.zh/linux/timedatectl.md b/pages.zh/linux/timedatectl.md new file mode 100644 index 00000000000000..2b02058a388f60 --- /dev/null +++ b/pages.zh/linux/timedatectl.md @@ -0,0 +1,28 @@ +# timedatectl + +> 控制系统时间和日期。 +> 更多信息:. + +- 检查当前系统时钟时间: + +`timedatectl` + +- 直接设置系统时钟的本地时间: + +`timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"` + +- 列出可用时区: + +`timedatectl list-timezones` + +- 设置系统时区: + +`timedatectl set-timezone {{时区}}` + +- 启用网络时间协议(NTP)同步: + +`timedatectl set-ntp on` + +- 将硬件时钟时间标准更改为本地时间: + +`timedatectl set-local-rtc 1` diff --git a/pages.zh/linux/tmt-run.md b/pages.zh/linux/tmt-run.md new file mode 100644 index 00000000000000..dd43650e64d47a --- /dev/null +++ b/pages.zh/linux/tmt-run.md @@ -0,0 +1,36 @@ +# tmt run + +> 执行测试步骤。默认情况下,所有测试步骤都被执行。 +> 更多信息:. + +- 在每一个计划中执行所有测试步骤: + +`tmt run` + +- 仅在发现步骤中显示将要执行的测试: + +`tmt run discover -v` + +- 运行所有测试步骤并调整测试环境配置步骤选项: + +`tmt run --all provision --how {{container}} --image {{fedora:rawhide}}` + +- 仅执行选定的计划和测试: + +`tmt run plan --name {{/plan/name}} test --name {{/test/name}}` + +- 在网页浏览器中显示上次运行的结果: + +`tmt run --last report --how {{html}} --open` + +- 在提供的上下文中运行测试: + +`tmt run --context {{key=value}} -c {{distro=fedora}}` + +- 以交互方式运行测试(在测试运行过程中调试测试代码): + +`tmt run --all execute --how {{tmt}} --interactive` + +- 使用干模式查看接下来将发生的动作,并将输出详实度设置为最高级: + +`tmt run --dry -vvv` diff --git a/pages.zh/linux/tmt-try.md b/pages.zh/linux/tmt-try.md new file mode 100644 index 00000000000000..389e796bf85c13 --- /dev/null +++ b/pages.zh/linux/tmt-try.md @@ -0,0 +1,36 @@ +# tmt try + +> 测试及环境快速上手。 +> 更多信息:. + +- 快速尝试默认的测试环境配置方法(当前工作目录中没有测试): + +`tmt try` + +- 在当前的工作目录中运行一个测试: + +`cd {{path/to/test}} && tmt try` + +- 使用特定的操作系统: + +`tmt try {{fedora-41}}` + +- 选择定制的镜像和测试环境配置方法: + +`tmt try {{fedora@container}}` + +- 根据定制的筛选条件选择测试: + +`tmt try --test {{feature}}` + +- 配置客户机并等待用户输入指令: + +`tmt try --ask` + +- 直接登录到客户机: + +`tmt try --login` + +- 显示帮助: + +`tmt try --help` diff --git a/pages.zh/linux/tmt.md b/pages.zh/linux/tmt.md new file mode 100644 index 00000000000000..07559f0e57150b --- /dev/null +++ b/pages.zh/linux/tmt.md @@ -0,0 +1,37 @@ +# tmt + +> 创建、运行和调试测试的测试管理工具。 +> 诸如`运行`、`尝试`等子命令,均有相应的用法文档。 +> 更多信息:. + +- 列举可用的测试、计划和用户故事: + +`tmt` + +- 初始化测试管理工具的文件/项目结构: + +`tmt init` + +- 基于模板和链接创建新的测试: + +`tmt test create --template {{beakerlib}} --link {{verifies:issue#1234}}` + +- 列出可用的测试、计划和用户故事: + +`tmt {{test|plan|story}} ls {{pattern}}` + +- 在给定的上下文中显示详细的测试元数据: + +`tmt --context {{arch=aarch64}} test show` + +- 根据说明书验证测试管理工具文件的有效性: + +`tmt lint` + +- 使用筛选条件: + +`tmt tests ls --filter {{tag:foo}} --filter {{tier:0}}` + +- 显示帮助: + +`tmt --help` diff --git a/pages.zh/linux/ubuntu-bug.md b/pages.zh/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..a2abb3726f4a9e --- /dev/null +++ b/pages.zh/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> 这是 `apport-bug` 命令的一个别名。 + +- 原命令的文档在: + +`tldr apport-bug` diff --git a/pages.zh/linux/ul.md b/pages.zh/linux/ul.md new file mode 100644 index 00000000000000..97a9bba70befae --- /dev/null +++ b/pages.zh/linux/ul.md @@ -0,0 +1,13 @@ +# ul + +> 执行文本的下划线。 +> 给定字符串中的每个字符必须单独加下划线。 +> 更多信息:. + +- 在适用的情况下用下划线显示文件的内容: + +`ul {{文件路径}}` + +- 用由破折号组成的下划线显示文件的内容 `-`: + +`ul -i {{文件路径}}` diff --git a/pages.zh/linux/unix2dos.md b/pages.zh/linux/unix2dos.md index 42691692ae811a..30bc8f57f379d1 100644 --- a/pages.zh/linux/unix2dos.md +++ b/pages.zh/linux/unix2dos.md @@ -1,12 +1,13 @@ # unix2dos -> 将 Unix 样式的行尾更改为 DOS 样式. -> 用 CRLF 替换 CR. +> 将 Unix 样式的行尾更改为 DOS 样式。 +> 用 CRLF 替换 LF. +> 更多信息:. -- 更改文件的行尾: +- 更改文件的行尾: `unix2dos {{文件名}}` -- 使用 DOS 样式的行尾创建副本: +- 使用 DOS 样式的行尾创建副本: -`unix2dos -n {{文件名}} {{新文件名}}` +`unix2dos {{[-n|--newfile]}} {{文件名}} {{新文件名}}` diff --git a/pages.zh/linux/unix2mac.md b/pages.zh/linux/unix2mac.md index c52fee02556b8d..bd732fc1a13ebc 100644 --- a/pages.zh/linux/unix2mac.md +++ b/pages.zh/linux/unix2mac.md @@ -1,12 +1,13 @@ # unix2mac -> 将 Unix 样式的行尾更改为 macOS 样式. -> 用 LF 替换 CR. +> 将 Unix 样式的行尾更改为 macOS 样式。 +> 用 CR 替换 LF. +> 更多信息:. -- 更改文件的行尾: +- 更改文件的行尾: `unix2mac {{文件名}}` -- 使用 macOS 样式的行尾创建副本: +- 使用 macOS 样式的行尾创建副本: -`unix2mac -n {{文件名}} {{新文件名}}` +`unix2mac {{[-n|--newfile]}} {{文件名}} {{新文件名}}` diff --git a/pages.zh/linux/wg.md b/pages.zh/linux/wg.md new file mode 100644 index 00000000000000..13c8eeafff3d7e --- /dev/null +++ b/pages.zh/linux/wg.md @@ -0,0 +1,24 @@ +# wg + +> 管理 WireGuard 接口配置。 +> 更多信息:. + +- 检查当前激活接口的状态: + +`sudo wg` + +- 生成新的私钥: + +`wg genkey` + +- 从私钥生成公钥: + +`wg pubkey < {{路径/到/私钥}} > {{路径/到/公钥}}` + +- 同时生成公钥和私钥: + +`wg genkey | tee {{路径/到/私钥}} | wg pubkey > {{路径/到/公钥}}` + +- 展示 WireGuard 接口的当前配置: + +`sudo wg showconf {{wg0}}` diff --git a/pages.zh/linux/xcowsay.md b/pages.zh/linux/xcowsay.md new file mode 100644 index 00000000000000..76d2c548dc984e --- /dev/null +++ b/pages.zh/linux/xcowsay.md @@ -0,0 +1,29 @@ +# xcowsay + +> 在您的 Linux 桌面上显示一头可爱的牛和指定的消息。 +> 牛的显示时间是固定的或则是根据文本大小计算得出的。 点击牛即马上关闭。 +> 更多信息:. + +- 显示一头说 “hello, world” 的牛: + +`xcowsay "{{hello, world}}"` + +- 显示一头牛和消息,该消息是另一个命令的输出: + +`ls | xcowsay` + +- 显示一头有指定 X 和 Y 坐标的牛: + +`xcowsay --at={{X}},{{Y}}` + +- 显示一头不同大小的牛: + +`xcowsay --cow-size={{small|med|large}}` + +- 显示思想泡泡而不是说话泡泡: + +`xcowsay --think` + +- 用指定的照片来代替默认的牛: + +`xcowsay --image={{路径/到/文件}}` diff --git a/pages.zh/linux/yaourt.md b/pages.zh/linux/yaourt.md index 863d97de505527..1b9c105e6ffbf7 100644 --- a/pages.zh/linux/yaourt.md +++ b/pages.zh/linux/yaourt.md @@ -1,6 +1,7 @@ # yaourt > Arch Linux 中用于从 Arch User Repository 中构建软件包的工具。 +> 更多信息:. - 同步并更新所有软件包(包括 AUR): @@ -18,6 +19,6 @@ `yaourt -Ss {{软件包}}` -- 列出已安装的软件包、版本和仓库(AUR 软件包将被列在 'local' 仓库下): +- 列出已安装的软件包、版本和仓库(AUR 软件包将被列在 'local' 仓库下): `yaourt -Q` diff --git a/pages.zh/linux/yay.md b/pages.zh/linux/yay.md index f81b262fe084eb..1b04287e80cc1f 100644 --- a/pages.zh/linux/yay.md +++ b/pages.zh/linux/yay.md @@ -2,6 +2,7 @@ > Yet Another Yogurt: 一个用于 Arch Linux 的工具,用于从 Arch User Repository 中构建和安装软件包。 > 另见 `pacman`。 +> 更多信息:. - 从仓库和 AUR 中交互式搜索和安装软件包: @@ -15,7 +16,7 @@ `yay -Sua` -- 从仓库和 AUR 中安装一个新的软件包。 +- 从仓库和 AUR 中安装一个新的软件包: `yay -S {{软件包}}` diff --git a/pages.zh/linux/zypper.md b/pages.zh/linux/zypper.md index d8cb93beaf8d72..aab167a9d4c8f2 100644 --- a/pages.zh/linux/zypper.md +++ b/pages.zh/linux/zypper.md @@ -1,6 +1,7 @@ # zypper > SUSE & openSUSE 的软件包管理工具。 +> 更多信息:. - 同步可用的软件包和版本列表: diff --git a/pages.zh/osx/GetFileInfo.md b/pages.zh/osx/GetFileInfo.md deleted file mode 100644 index 6af44d9158529e..00000000000000 --- a/pages.zh/osx/GetFileInfo.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFileInfo - -> 获取有关 HFS+ 目录中文件的信息. - -- 显示有关给定文件的信息: - -`GetFileInfo {{路径/文件名}}` - -- 显示给定文件的创建日期和时间: - -`GetFileInfo -d {{路径/文件名}}` - -- 显示给定文件的上次修改日期和时间: - -`GetFileInfo -m {{路径/文件名}}` - -- 显示给定文件的创建者: - -`GetFileInfo -c {{路径/文件名}}` diff --git a/pages.zh/osx/aa.md b/pages.zh/osx/aa.md new file mode 100644 index 00000000000000..dee2f422315ad6 --- /dev/null +++ b/pages.zh/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> 这是 `yaa` 命令的一个别名。 + +- 原命令的文档在: + +`tldr yaa` diff --git a/pages.zh/osx/afinfo.md b/pages.zh/osx/afinfo.md index c8282430c138d4..0ca2e1395de695 100644 --- a/pages.zh/osx/afinfo.md +++ b/pages.zh/osx/afinfo.md @@ -1,28 +1,29 @@ # afinfo -> 显示音频文件元数据 (Metadata) 详细信息 (OS X). -> OS X 自带命令. +> 显示音频文件元数据(Metadata)详细信息(OS X)。 +> OS X 自带命令。 +> 更多信息:. -- 显示给定音频文件的详细信息: +- 显示给定音频文件的详细信息: -`afinfo {{目标 / 路径 / 文件}}` +`afinfo {{路径/到/文件}}` -- 显示简化的音频文件信息 (单行): +- 显示简化的音频文件信息(单行): -`afinfo -b {{目标 / 路径 / 文件}}` +`afinfo --brief {{路径/到/文件}}` -- 显示音频文件的元数据信息以及其 InfoDictionary 词典: +- 显示音频文件的元数据信息以及其 InfoDictionary 词典: -`afinfo -i {{目标 / 路径 / 文件}}` +`afinfo --info {{路径/到/文件}}` -- 以 xml 格式显示音频文件信息: +- 以 xml 格式显示音频文件信息: -`afinfo -x {{目标 / 路径 / 文件}}` +`afinfo --xml {{路径/到/文件}}` -- 显示警告信息 (如存在): +- 显示警告信息(如存在): -`afinfo --warnings {{目标 / 路径 / 文件}}` +`afinfo --warnings {{路径/到/文件}}` -- 显示完整用法帮助: +- 显示完整用法帮助: -`afinfo -h` +`afinfo --help` diff --git a/pages.zh/osx/airport.md b/pages.zh/osx/airport.md index 80b7bbd8ba43fc..eda95abb7ce556 100644 --- a/pages.zh/osx/airport.md +++ b/pages.zh/osx/airport.md @@ -1,19 +1,20 @@ # airport -> 无线网络配置工具. +> 无线网络配置工具。 +> 更多信息:. -- 显示当前的无线状态信息: +- 显示当前的无线状态信息: -`airport -I` +`airport --getinfo` -- 在通道 1 上监察(嗅探)无线流量: +- 在通道 1 上监察(嗅探)无线流量: `airport sniff {{1}}` -- 扫描可用的无线网络: +- 扫描可用的无线网络: -`airport -s` +`airport --scan` -- 与当前的 Airport 网络脱离连接: +- 与当前的 Airport 网络脱离连接: -`sudo airport -z` +`sudo airport --disassociate` diff --git a/pages.zh/osx/apachectl.md b/pages.zh/osx/apachectl.md index e3460c837254cd..e41505b0f190fe 100644 --- a/pages.zh/osx/apachectl.md +++ b/pages.zh/osx/apachectl.md @@ -1,15 +1,16 @@ # apachectl -> 用于 macOS 的 Apache HTTP Server 控制接口(工具). +> 用于 macOS 的 Apache HTTP Server 控制接口(工具)。 +> 更多信息:. -- 启动 org.apache.httpd 服务: +- 启动 org.apache.httpd 服务: `apachectl start` -- 停止已启动的服务: +- 停止已启动的服务: `apachectl stop` -- 重新启动服务: +- 重新启动服务: `apachectl restart` diff --git a/pages.zh/osx/arch.md b/pages.zh/osx/arch.md new file mode 100644 index 00000000000000..353e24f74ee969 --- /dev/null +++ b/pages.zh/osx/arch.md @@ -0,0 +1,13 @@ +# arch + +> 显示系统架构的名称,或者在不同的架构下运行命令。 +> 另见: `uname`. +> 更多信息:. + +- 显示系统的架构: + +`arch` + +- 使用 x86_64 来运行一个命令: + +`arch -x86_64 {{命令}}` diff --git a/pages.zh/osx/archey.md b/pages.zh/osx/archey.md index ab41454e1926c6..a7ec30c715f169 100644 --- a/pages.zh/osx/archey.md +++ b/pages.zh/osx/archey.md @@ -1,19 +1,20 @@ # archey -> 漂亮地显示简单系统信息工具. +> 漂亮地显示简单系统信息工具。 +> 更多信息:. -- 显示系统信息(彩色的): +- 显示系统信息(彩色的): `archey` -- 显示系统信息(单色的): +- 显示系统信息(单色的): `archey --nocolor` -- 显示系统信息,使用 MacPorts(命令行软件安装管理工具 port) 来替代 Homebrew(另一种更常用的 mac 命令行软件安装管理工具): +- 显示系统信息,使用 MacPorts(命令行软件安装管理工具 port)来替代 Homebrew(另一种更常用的 mac 命令行软件安装管理工具): `archey --macports` -- 显示系统信息,但不进行 IP 地址获取和验证: +- 显示系统信息,但不进行 IP 地址获取和验证: `archey --offline` diff --git a/pages.zh/osx/as.md b/pages.zh/osx/as.md index 51a4b73da41eed..6eede9bb5b9719 100644 --- a/pages.zh/osx/as.md +++ b/pages.zh/osx/as.md @@ -1,20 +1,21 @@ # as -> 便携式 GNU 汇编程序. -> 主要用于汇编 `gcc` 的输出以供 `ld` 使用 +> 便携式 GNU 汇编程序。 +> 主要用于汇编 `gcc` 的输出以供 `ld` 使用。 +> 更多信息:. -- 汇编文件,将输出写入 a.out: +- 汇编文件,将输出写入 a.out: -`as {{文件.s}}` +`as {{路径/到/文件.s}}` -- 将输出汇编到给定文件: +- 将输出汇编到给定文件: -`as {{文件.s}} -o {{输出.o}}` +`as {{路径/到/文件.s}} -o {{路径/到/输出.o}}` -- 通过跳过空白和注释预处理来更快地生成输出.(应该只用于受信任的编译器): +- 通过跳过空白和注释预处理来更快地生成输出.(应该只用于受信任的编译器): -`as -f {{文件.s}}` +`as -f {{路径/到/文件.s}}` -- 在目录列表中包含一个给定路径,以搜索 .include 指令中指定的文件: +- 在目录列表中包含一个给定路径,以搜索 .include 指令中指定的文件: -`as -I {{目标文件夹}} {{文件.s}}` +`as -I {{目标文件夹}} {{路径/到/文件.s}}` diff --git a/pages.zh/osx/asr.md b/pages.zh/osx/asr.md index 692a0c47a7b3e9..1e96fe020157a3 100644 --- a/pages.zh/osx/asr.md +++ b/pages.zh/osx/asr.md @@ -1,20 +1,21 @@ # asr -> 将磁盘映像还原(复制)到卷上. -> 命令名称是 Apple Software Restore 的缩写. +> 将磁盘映像还原(复制)到卷上。 +> 命令名称是 Apple Software Restore 的缩写。 +> 更多信息:. -- 将磁盘映像复制到目标卷: +- 将磁盘映像复制到目标卷: -`sudo asr restore --source {{映像名}}.dmg --target {{卷路径}}` +`sudo asr restore --source {{映像名.dmg}} --target {{卷路径}}` -- 在复制之前擦除目标卷: +- 在复制之前擦除目标卷: -`sudo asr restore --source {{映像名}}.dmg --target {{卷路径}} --erase` +`sudo asr restore --source {{映像名.dmg}} --target {{卷路径}} --erase` -- 恢复后跳过验证步骤: +- 恢复后跳过验证步骤: -`sudo asr restore --source {{映像名}}.dmg --target {{卷路径}} --noverify` +`sudo asr restore --source {{映像名.dmg}} --target {{卷路径}} --noverify` -- 不使用中间磁盘映像直接复制卷中的数据: +- 不使用中间磁盘映像直接复制卷中的数据: `sudo asr restore --source {{卷路径}} --target {{复制卷路径}}` diff --git a/pages.zh/osx/base64.md b/pages.zh/osx/base64.md index 02800586ccdd3f..4b2188c2797699 100644 --- a/pages.zh/osx/base64.md +++ b/pages.zh/osx/base64.md @@ -1,19 +1,20 @@ # base64 -> 使用 Base64 来进行编码和解码. +> 使用 Base64 来进行编码和解码。 +> 更多信息:. -- 编码目标文件: +- 编码目标文件: -`base64 -i {{目标文件}}` +`base64 {{[-i|--input]}} {{目标文件}}` -- 解码目标文件: +- 解码目标文件: -`base64 -D -i {{base64 编码文件}}` +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{base64 编码文件}}` -- 通过标准输入管道进行解码: +- 通过标准输入管道进行解码: -`echo -n {{目标字符串}} | base64` +`echo -n "{{目标字符串}}" | base64` -- 解码标准输入管道内容: +- 解码标准输入管道内容: -`echo -n {{base64 字符串}} | base64 -D` +`echo -n {{base64 字符串}} | base64 {{[-d|--decode]}}` diff --git a/pages.zh/osx/brew-cask.md b/pages.zh/osx/brew-cask.md deleted file mode 100644 index 561b045db89541..00000000000000 --- a/pages.zh/osx/brew-cask.md +++ /dev/null @@ -1,35 +0,0 @@ -# brew cask - -> macOs 上的应用程序包管理工具. - -- 模糊搜索可用命令行工具和软件包: - -`brew search {{软件名}}` - -- 安装一个软件: - -`brew cask install {{软件名}}` - -- 列出全部已安装软件: - -`brew cask list` - -- 列出全部已安装的软件中,可以升级的: - -`brew cask outdated` - -- 将一个已安装的软件升级到最新的版本: - -`brew cask upgrade {{软件名}}` - -- 删除一个软件(仅通过 brew cask install 方式安装的): - -`brew cask uninstall {{软件名}}` - -- 卸载一个软件并删除相关的设置和文件: - -`brew cask zap {{软件名}}` - -- 显示指定软件的相关信息: - -`brew cask info {{软件名}}` diff --git a/pages.zh/osx/brew-mas.md b/pages.zh/osx/brew-mas.md deleted file mode 100644 index b339eca311d1e8..00000000000000 --- a/pages.zh/osx/brew-mas.md +++ /dev/null @@ -1,27 +0,0 @@ -# brew mas - -> Mas 是一个简单的 Mac App Store 命令行界面. - -- 按应用名称搜索 Mac App Store 并返回匹配的标识符: - -`mas search {{应用名}}` - -- 安装或更新以前购买的应用程序: - -`mas install {{应用名}} {{应用 ID}}` - -- 显示所有已安装的应用程序及其应用 ID: - -`mas list` - -- 列出等待更新的已安装应用: - -`mas outdated` - -- 升级所有可升级的应用: - -`mas upgrade` - -- 升级指定的应用: - -`mas upgrade {{应用 ID}}` diff --git a/pages.zh/osx/brew.md b/pages.zh/osx/brew.md deleted file mode 100644 index fae509d1fa1554..00000000000000 --- a/pages.zh/osx/brew.md +++ /dev/null @@ -1,39 +0,0 @@ -# brew - -> macOS 上的软件包管理工具. - -- 搜索可用的命令行和软件安装包: - -`brew search {{软件名}}` - -- 安装最新版本的命令行软件 (使用 `--devel` 可以指定安装更新的开发版): - -`brew install {{软件名}}` - -- 列出已(通过 brew) 安装的命令行工具: - -`brew list` - -- 升级已安装的命令行软件(如果未给出命令行软件名称,则升级所有已安装的软件): - -`brew upgrade {{软件名}}` - -- 从 GitHub 上升级 brew 和软件库到最新: - -`brew update` - -- 删除已安装软件的旧版本 (如果未给出软件名称,则处理所有已安装的软件 - 并不会影响到当前使用的已安装版本,可以理解为清一下缓存释放空间): - -`brew cleanup {{软件名}}` - -- 显示有关指定软件的信息(版本,安装路径,依赖关系等): - -`brew info {{软件名}}` - -- 检查本地 Homebrew 安装是否存在潜在问题,并给出一些解决建议: - -`brew doctor` - -- 启动通过 brew 安装的服务,如 nginx,mysql 等。启动后还会自动随开机启动,直到你选择 stop 停止.(缺点是如果发生错误,它也会返回成功,而不是报错): - -`brew services {{start|stop|restart}} {{软件名}}` diff --git a/pages.zh/osx/brightness.md b/pages.zh/osx/brightness.md index 745351f2210725..d3f81a3175a587 100644 --- a/pages.zh/osx/brightness.md +++ b/pages.zh/osx/brightness.md @@ -1,15 +1,16 @@ # brightness -> 获取或设置所有显示设备的亮度等级. +> 获取或设置所有显示设备的亮度等级。 +> 更多信息:. -- 显示当前亮度: +- 显示当前亮度: `brightness -l` -- 设置亮度到 100%:: +- 设置亮度到 100%:: `brightness {{1}}` -- 设置亮度到 50%:: +- 设置亮度到 50%:: `brightness {{0.5}}` diff --git a/pages.zh/osx/caffeinate.md b/pages.zh/osx/caffeinate.md index 7728c2b6f1c08b..ea42dec0bc851a 100644 --- a/pages.zh/osx/caffeinate.md +++ b/pages.zh/osx/caffeinate.md @@ -1,15 +1,16 @@ # caffeinate -> 防止 Mac 进入休眠模式. +> 防止 Mac 进入休眠模式。 +> 更多信息:. -- 防止进入休眠模式 , 1 小时内 (3600 秒): +- 防止进入休眠模式 , 1 小时内(3600 秒): `caffeinate -u -t {{3600}}` -- 在指定命令执行完前,禁止进入休眠: +- 在指定命令执行完前,禁止进入休眠: `caffeinate -s {{命令}}` -- 在你按 Ctrl-C 之前禁止进入休眠模式: +- 在你按 `` 之前禁止进入休眠模式: `caffeinate -i` diff --git a/pages.zh/osx/cal.md b/pages.zh/osx/cal.md index 5e19b18b533f9b..e0d2824e6f0997 100644 --- a/pages.zh/osx/cal.md +++ b/pages.zh/osx/cal.md @@ -1,31 +1,32 @@ # cal -> 打印日历信息. +> 打印日历信息。 +> 更多信息:. -- 打印本月日历: +- 显示本月日历: `cal` -- 显示上个月,当前月,下个月的日历: +- 显示上月、本月和下月的日历: `cal -3` -- 显示指定月份的日历(月份为 1-12 月): +- 显示指定月份的日历(月份为 1-12 月): `cal -m {{月}}` -- 显示全年日历: +- 显示本年日历: `cal -y` -- 显示指定某年的日历(年份为 4 个数字): +- 显示指定年份的日历(年份为 4 个数字): `cal {{年}}` -- 显示特定年和月的日历: +- 显示指定年月的日历: `cal {{月}} {{年}}` -- 显示指定年的复活节日期: +- 显示指定年份的复活节日期: `ncal -e {{年}}` diff --git a/pages.zh/osx/carthage.md b/pages.zh/osx/carthage.md index 0561f95e5e327b..edf883c59cafe0 100644 --- a/pages.zh/osx/carthage.md +++ b/pages.zh/osx/carthage.md @@ -1,23 +1,24 @@ # carthage -> Cocoa 应用程序的依赖性管理工具 +> Cocoa 应用程序的依赖性管理工具。 +> 更多信息:. -- 下载 Cartfile 中提到的所有依赖项的最新版本,并编译它们: +- 下载 Cartfile 中提到的所有依赖项的最新版本,并编译它们: `carthage update` -- 仅针对 IOS 平台,升级依赖文件 : +- 仅针对 IOS 平台,升级依赖文件: `carthage update --platform ios` -- 仅更新依赖,但不编译它们 : +- 仅更新依赖,但不编译它们: `carthage update --no-build` -- 下载并重新生成依赖项的当前版本(不更新它们): +- 下载并重新生成依赖项的当前版本(不更新它们): `carthage bootstrap` -- 重新编译特定依赖项 : +- 重新编译特定依赖项: `carthage build {{依赖包}}` diff --git a/pages.zh/osx/chflags.md b/pages.zh/osx/chflags.md index f49ed78d93fc74..512a664b4339d7 100644 --- a/pages.zh/osx/chflags.md +++ b/pages.zh/osx/chflags.md @@ -1,19 +1,20 @@ # chflags -> 更改文件或文件夹的标志. +> 更改文件或文件夹的标志。 +> 更多信息:. -- 给文件设置 hidden(隐藏) 标签: +- 给文件设置 hidden(隐藏)标签: `chflags {{hidden}} {{文件路径}}` -- 取消文件的 hidden 标签: +- 取消文件的 hidden 标签: `chflags {{hidden}} {{文件路径}}` -- 递归地给文件夹中每个文件设置 uchg 标志: +- 递归地给文件夹中每个文件设置 uchg 标志: `chflags -R {{uchg}} {{文件夹路径}}` -- 递归地撤销文件夹中每个文件设置的 uchg 标志: +- 递归地撤销文件夹中每个文件设置的 uchg 标志: `chflags -R {{nouchg}} {{文件夹路径}}` diff --git a/pages.zh/osx/codesign.md b/pages.zh/osx/codesign.md index c28404b5d2cd19..9ef5f2b7f78787 100644 --- a/pages.zh/osx/codesign.md +++ b/pages.zh/osx/codesign.md @@ -1,11 +1,12 @@ # codesign -> 为 macOS 的应用程序签名. +> 为 macOS 的应用程序签名。 +> 更多信息:. -- 用证书签名: +- 用证书签名: -`codesign -s "{{公司名称}}" {{路径 / 应用名.app}}` +`codesign --sign "{{公司名称}}" {{路径 / 应用名.app}}` -- 验证应用程序的签名: +- 验证应用程序的签名: -`codesign -v {{路径 / 应用名.app}}` +`codesign --verify {{路径 / 应用名.app}}` diff --git a/pages.zh/osx/command.md b/pages.zh/osx/command.md deleted file mode 100644 index 37faf65ec8156a..00000000000000 --- a/pages.zh/osx/command.md +++ /dev/null @@ -1,7 +0,0 @@ -# command - -> 命令强制 shell 执行命令程序,并忽略具有相同名称的任何函数、内置函数和别名(会忽略掉一切别名,执行命令本身). - -- 从字面上执行 ls 程序,即使存在 ls 别名: - -`command {{ls}}` diff --git a/pages.zh/osx/compgen.md b/pages.zh/osx/compgen.md deleted file mode 100644 index 608868bb67b960..00000000000000 --- a/pages.zh/osx/compgen.md +++ /dev/null @@ -1,23 +0,0 @@ -# compgen - -> 用于在 bash 中自动完成的内置命令,按两次 tab 键即可调用该命令. - -- 显示所有可以执行的命令: - -`compgen -c` - -- 列出所有别名: - -`compgen -a` - -- 列出所有可以运行的函数: - -`compgen -A function` - -- 列出所有 shell 的保留关键字: - -`compgen -k` - -- 查看以 'ls' 开头的所有可用命令和别名: - -`compgen -ac {{ls}}` diff --git a/pages.zh/osx/dark-mode.md b/pages.zh/osx/dark-mode.md new file mode 100644 index 00000000000000..86fd3087f50517 --- /dev/null +++ b/pages.zh/osx/dark-mode.md @@ -0,0 +1,20 @@ +# dark-mode + +> 从命令行控制 macOS 的深色模式。 +> 更多信息:. + +- 切换深色模式(如果目前是关闭的,就把它打开,如果目前是打开的,就把它关闭): + +`dark-mode` + +- 打开深色模式: + +`dark-mode on` + +- 关闭深色模式: + +`dark-mode off` + +- 检查深色模式是否开启: + +`dark-mode status` diff --git a/pages.zh/osx/date.md b/pages.zh/osx/date.md index f7f253eb46f733..edae9a96e543c9 100644 --- a/pages.zh/osx/date.md +++ b/pages.zh/osx/date.md @@ -1,19 +1,24 @@ # date -> 设置或显示系统日期. +> 设置或显示系统日期。 +> 更多信息:. -- 使用默认区域设置的格式显示当前日期 : +- 使用默认区域设置的格式显示当前日期: -`date +"%c"` +`date +%c` -- 以 UTC 和 ISO 8601 格式显示当前日期: +- 以 UTC 和 ISO 8601 格式显示当前日期: -`date -u +"%Y-%m-%dT%H:%M:%S%Z"` +`date -u +%Y-%m-%dT%H:%M:%SZ` -- 将当前日期显示为 unix 时间戳(自 1970-01-01 00:00:00 以来的秒数) +- 将当前日期显示为 unix 时间戳(自 1970-01-01 00:00:00 以来的秒数): `date +%s` -- 使用默认格式显示特定日期(格式化指定 UNIX 时间戳): +- 使用默认格式显示特定日期(格式化指定 UNIX 时间戳): -`date -r 1473305798` +`date -r {{1473305798}}` + +- 使用默认格式显示相对于当前日期的日期: + +`date -v {{+1d}} -v {{-20m}}` diff --git a/pages.zh/osx/dd.md b/pages.zh/osx/dd.md index 49a4a589fd7393..d1194baad04355 100644 --- a/pages.zh/osx/dd.md +++ b/pages.zh/osx/dd.md @@ -1,19 +1,20 @@ # dd -> 转换并复制文件. +> 转换并复制文件。 +> 更多信息:. -- 从 isohybrid 文件(如 archlinux-xxx.iso)制作可用于引导系统启动的 USB 驱动器. +- 从 isohybrid 文件(如 archlinux-xxx.iso)制作可用于引导系统启动的 USB 驱动器: -`dd if={{文件.iso}} of=/dev/{{usb 设备}}` +`dd if={{文件.iso}} of={{/dev/usb 设备}}` -- 将驱动器克隆到具有 4MB 块的另一个驱动器并忽略错误: +- 将驱动器克隆到具有 4MB 块的另一个驱动器并忽略错误: -`dd if=/dev/{{源设备}} of=/dev/{{目标设备}} bs=4m conv=noerror` +`dd bs=4m conv=noerror if={{/dev/源设备}} of={{/dev/目标设备}}` -- 使用内核随机驱动程序生成 100 个随机字节的文件: +- 使用内核随机驱动程序生成指定数量个随机字节的文件: -`dd if=/dev/urandom of={{目标驱动器,接收随机数据文件名}} bs=100 count=1` +`dd bs={{100}} count={{1}} if=/dev/urandom of={{目标驱动器,接收随机数据文件名}}` -- 对磁盘的写入性能进行基准测试: +- 对磁盘的写入性能进行基准测试: -`dd if=/dev/zero of={{1GB 的文件名}} bs=1024 count=1000000` +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{1GB 的文件名}}` diff --git a/pages.zh/osx/defaults.md b/pages.zh/osx/defaults.md index b8cde8919ef007..e48eb321af9b9e 100644 --- a/pages.zh/osx/defaults.md +++ b/pages.zh/osx/defaults.md @@ -1,23 +1,24 @@ # defaults -> 读取和写入 macOS 应用程序的用户配置. +> 读取和写入 macOS 应用程序的用户配置。 +> 更多信息:. -- 读取应用程序选项的系统默认值: +- 读取应用程序选项的系统默认值: `defaults read {{应用名}} {{选项}}` -- 读取应用程序选项的默认值: +- 读取应用程序选项的默认值: `defaults read -app {{应用名}} {{选项}}` -- 写入应用程序选项的默认值: +- 写入应用程序选项的默认值: `defaults write {{应用名}} {{选项}} {{- 类型}} {{值}}` -- 加速任务控制界面弹出动画 (时间设置为 0.1): +- 加速任务控制界面弹出动画(时间设置为 0.1): `defaults write com.apple.Dock expose-animation-duration -float 0.1` -- 删除应用程序的所有默认值: +- 删除应用程序的所有默认值: `defaults delete {{应用名}}` diff --git a/pages.zh/osx/diskutil.md b/pages.zh/osx/diskutil.md index 5677d8d3fe5381..e3142ebcc38344 100644 --- a/pages.zh/osx/diskutil.md +++ b/pages.zh/osx/diskutil.md @@ -1,19 +1,20 @@ # diskutil -> 用于管理本地磁盘和卷的实用程序. +> 用于管理本地磁盘和卷的实用程序。 +> 更多信息:. -- 列出所有当前可用的磁盘、分区和已装入的卷: +- 列出所有当前可用的磁盘、分区和已装入的卷: `diskutil list` -- 修复卷的文件系统数据结构: +- 修复卷的文件系统数据结构: `diskutil repairVolume {{目标卷文件}}` -- 卸载卷: +- 卸载卷: `diskutil unmountDisk {{目标卷文件}}` -- 弹出 CD/DVD (先卸载): +- 弹出 CD/DVD(先卸载): `diskutil eject {{/dev/ 光驱文件名}}` diff --git a/pages.zh/osx/ditto.md b/pages.zh/osx/ditto.md index a35be3a843226c..9184025291b1da 100644 --- a/pages.zh/osx/ditto.md +++ b/pages.zh/osx/ditto.md @@ -1,15 +1,16 @@ # ditto -> 复制文件和目录. +> 复制文件和目录。 +> 更多信息:. -- 用源目录的内容覆盖目标目录的内容: +- 用源目录的内容覆盖目标目录的内容: `ditto {{源文件路径}} {{目标文件路径}}` -- 为复制的每个文件打印一行到终端窗口: +- 为复制的每个文件打印一行到终端窗口: `ditto -V {{源文件路径}} {{目标文件路径}}` -- 复制给定的文件或目录,同时保留原始文件权限: +- 复制给定的文件或目录,同时保留原始文件权限: `ditto -rsrc {{源文件路径}} {{目标文件路径}}` diff --git a/pages.zh/osx/dmesg.md b/pages.zh/osx/dmesg.md index d8a3ea793a1c4e..0af61a9d23cd3e 100644 --- a/pages.zh/osx/dmesg.md +++ b/pages.zh/osx/dmesg.md @@ -1,15 +1,16 @@ # dmesg -> 将内核消息写入标准输出. +> 将内核消息写入标准输出。 +> 更多信息:. -- 显示内核消息: +- 显示内核消息: `dmesg` -- 显示此系统上有多少可用的物理内存: +- 显示此系统上有多少可用的物理内存: `dmesg | grep -i memory` -- 一次显示一页内核消息: +- 一次显示一页内核消息: `dmesg | less` diff --git a/pages.zh/osx/drutil.md b/pages.zh/osx/drutil.md index 48ae474969534b..7c1fdfa73e11bc 100644 --- a/pages.zh/osx/drutil.md +++ b/pages.zh/osx/drutil.md @@ -1,11 +1,12 @@ # drutil -> 与 DVD 刻录机交互. +> 与 DVD 刻录机交互。 +> 更多信息:. -- 从驱动器中弹出磁盘: +- 从驱动器中弹出磁盘: `drutil eject` -- 将目录作为 iso9660 文件系统刻录到 DVD 上。完成后不验证和弹出: +- 将目录作为 iso9660 文件系统刻录到 DVD 上。完成后不验证和弹出: `drutil burn -noverify -eject -iso9660` diff --git a/pages.zh/osx/du.md b/pages.zh/osx/du.md index 34379f65a123b0..75af966fa53fc9 100644 --- a/pages.zh/osx/du.md +++ b/pages.zh/osx/du.md @@ -1,27 +1,28 @@ # du -> 磁盘使用率:估计和汇总文件和目录空间使用率. +> 磁盘使用率:估计和汇总文件和目录空间使用率。 +> 更多信息:. -- 以给定单位(kb/mb/gb)列出目录和所有子目录的大小: +- 以给定单位(KiB/MiB/GiB)列出目录和所有子目录的大小: `du -{{k|m|g}} {{目标文件夹}}` -- 以可读形式列出目录和任何子目录的大小(即自动为转换为选择的适当单位 kb|mb|gb): +- 以可读形式列出目录和任何子目录的大小(即自动为转换为选择的适当单位 kb|mb|gb): `du -h {{目标文件夹}}` -- 以可读单位显示目录大小: +- 以可读单位显示目录大小: `du -sh {{目标文件夹}}` -- 列出目录以及其中所有文件和目录的可读大小: +- 列出目录以及其中所有文件和目录的可读大小: `du -ah {{目标文件夹}}` -- 列出一个目录和任何子目录的可读大小,最深可达 n 级: +- 列出一个目录和任何子目录的可读大小,最深可达 n 级: `du -h -d {{N}} {{目标文件夹}}` -- 列出当前目录子目录中所有.jpg 文件的可读大小,并在末尾显示累计总数: +- 列出当前目录子目录中所有.jpg 文件的可读大小,并在末尾显示累计总数: -`du -ch */*.jpg` +`du -ch {{*/*.jpg}}` diff --git a/pages.zh/osx/duti.md b/pages.zh/osx/duti.md index 603ddbdba3db2f..eca98af74e398c 100644 --- a/pages.zh/osx/duti.md +++ b/pages.zh/osx/duti.md @@ -1,27 +1,28 @@ # duti -> 在 MacOS 上为文档类型和网页设置默认打开的应用程序. +> 在 macOS 上为文档类型和网页设置默认打开的应用程序。 +> 更多信息:. -- 将 Safari 设置为 HTML 文档的默认打开程序: +- 将 Safari 设置为 HTML 文档的默认打开程序: `duti -s {{com.apple.Safari}} {{public.html}} all` -- 将 vlc 设置为扩展名为.m4v 的文件的默认查看器: +- 将 vlc 设置为扩展名为.m4v 的文件的默认查看器: `duti -s {{org.videolan.vlc}} {{m4v}} viewer` -- 将 Finder 设置为 ftp:// URL 访问的应用: +- 将 Finder 设置为 ftp:// URL 访问的应用: -`duti -s {{com.apple.Finder}} {{ftp}}` +`duti -s {{com.apple.Finder}} "{{ftp}}"` -- 显示有关给定扩展名的默认应用程序的信息: +- 显示有关给定扩展名的默认应用程序的信息: `duti -x {{ext}}` -- 显示给定的 UTI 对应默认的处理程序: +- 显示给定的 UTI 对应默认的处理程序: `duti -d {{uti}}` -- 显示给定 UTI 对应所有的处理程序: +- 显示给定 UTI 对应所有的处理程序: `duti -l {{uti}}` diff --git a/pages.zh/osx/eval.md b/pages.zh/osx/eval.md deleted file mode 100644 index f6cffd60bbcaa5..00000000000000 --- a/pages.zh/osx/eval.md +++ /dev/null @@ -1,11 +0,0 @@ -# eval - -> 在当前 shell 中以单个命令的形式执行参数,并返回其结果. - -- 使用 'foo' 做为参数调用 `echo`: - -`eval "{{echo foo}}"` - -- 在当前 shell 程序中设置变量: - -`eval "{{foo=bar}}"` diff --git a/pages.zh/osx/export.md b/pages.zh/osx/export.md deleted file mode 100644 index 7e25b85264160e..00000000000000 --- a/pages.zh/osx/export.md +++ /dev/null @@ -1,15 +0,0 @@ -# export - -> 命令为当前 shell 中的子进程进行环境变量设置. - -- 设置为新的环境变量: - -`export {{某变量名}}={{值}}` - -- 删除环境变量: - -`export -n {{某变量名}}` - -- 给 PATH 追加新的路径进去: - -`export PATH=$PATH:{{追加的 path 路径}}` diff --git a/pages.zh/osx/fc.md b/pages.zh/osx/fc.md deleted file mode 100644 index 354bae30eb3387..00000000000000 --- a/pages.zh/osx/fc.md +++ /dev/null @@ -1,15 +0,0 @@ -# fc - -> 打开最近的命令并编辑它. - -- 在系统默认编辑器中打开: - -`fc` - -- 指定要使用的的编辑器: - -`fc -e {{'emacs'}}` - -- 从历史记录中列出最近的命令: - -`fc -l` diff --git a/pages.zh/osx/feh.md b/pages.zh/osx/feh.md deleted file mode 100644 index 08ce708a1d0ac1..00000000000000 --- a/pages.zh/osx/feh.md +++ /dev/null @@ -1,27 +0,0 @@ -# feh - -> 轻量级图像查看工具. - -- 查看本地图像或使用 URL: - -`feh {{图片路径}}` - -- 递归查看图像: - -`feh --recursive {{图片路径}}` - -- 使用无边框窗口查看图像: - -`feh --borderless {{图片路径}}` - -- 在浏览完最后一个图像之后退出: - -`feh --cycle-once {{图片路径}}` - -- 设置幻灯片放映周期延迟时间(秒): - -`feh --slideshow-delay {{秒}} {{图片路径}}` - -- 设置墙纸(居中、填充、最大化、缩放或平铺): - -`feh --bg-{{center|fill|max|scale|tile}} {{图片路径}}` diff --git a/pages.zh/osx/file.md b/pages.zh/osx/file.md deleted file mode 100644 index 342667c04f50e8..00000000000000 --- a/pages.zh/osx/file.md +++ /dev/null @@ -1,23 +0,0 @@ -# file - -> 确定文件类型. - -- 提供指定文件类型的描述,对于没有文件扩展名的文件可以正常工作: - -`file {{文件名}}` - -- 查看压缩文件并确定其中的文件类型: - -`file -z {{xxx.zip}}` - -- 允许文件与特殊文件或设备文件一起使用: - -`file -s {{文件名}}` - -- 不要在第一个文件类型匹配时停止;继续执行直到文件结束: - -`file -k {{文件名}}` - -- 确定文件的 mime 编码类型: - -`file -I {{文件名}}` diff --git a/pages.zh/osx/fsck.md b/pages.zh/osx/fsck.md index 9b717e554b25c4..2171b99ea8234b 100644 --- a/pages.zh/osx/fsck.md +++ b/pages.zh/osx/fsck.md @@ -1,20 +1,21 @@ # fsck -> 检查或修复文件系统的完整性,运行命令时应卸载文件系统. -> 它是一个包装器,包含 `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat`, `fsck_udf` 作为可选. +> 检查或修复文件系统的完整性,运行命令时应卸载文件系统。 +> 它是一个包装器,包含 `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat`, `fsck_udf` 作为可选。 +> 更多信息:. -- 检查文件系统 /dev/sda,报告损坏的块: +- 检查文件系统 /dev/sda,报告损坏的块: `fsck {{/dev/sda}}` -- 仅当文件系统 /dev/sda 是干净的时才检查它,报告任何损坏的块并以交互方式让用户选择修复每个块: +- 仅当文件系统 /dev/sda 是干净的时才检查它,报告任何损坏的块并以交互方式让用户选择修复每个块: `fsck -f {{/dev/sda}}` -- 仅当文件系统 /dev/sda 干净时才检查它,报告任何损坏的块并自动修复它们: +- 仅当文件系统 /dev/sda 干净时才检查它,报告任何损坏的块并自动修复它们: `fsck -fy {{/dev/sda}}` -- 检查文件系统 /dev/sda, 报告是否已完全卸载: +- 检查文件系统 /dev/sda, 报告是否已完全卸载: `fsck -q {{/dev/sda}}` diff --git a/pages.zh/osx/g[.md b/pages.zh/osx/g[.md new file mode 100644 index 00000000000000..8ca510284dbb27 --- /dev/null +++ b/pages.zh/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> 这是 `[` 命令的一个别名。 + +- 原命令的文档在: + +`tldr [` diff --git a/pages.zh/osx/gb2sum.md b/pages.zh/osx/gb2sum.md new file mode 100644 index 00000000000000..314ba654a7d338 --- /dev/null +++ b/pages.zh/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> 这是 `b2sum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr b2sum` diff --git a/pages.zh/osx/gbase32.md b/pages.zh/osx/gbase32.md new file mode 100644 index 00000000000000..f522e0be21fbab --- /dev/null +++ b/pages.zh/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> 这是 `base32` 命令的一个别名。 + +- 原命令的文档在: + +`tldr base32` diff --git a/pages.zh/osx/gbase64.md b/pages.zh/osx/gbase64.md new file mode 100644 index 00000000000000..2657b0dd11d251 --- /dev/null +++ b/pages.zh/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> 这是 `base64` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.zh/osx/gbasename.md b/pages.zh/osx/gbasename.md new file mode 100644 index 00000000000000..11b6d82835805f --- /dev/null +++ b/pages.zh/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> 这是 `basename` 命令的一个别名。 + +- 原命令的文档在: + +`tldr basename` diff --git a/pages.zh/osx/gbasenc.md b/pages.zh/osx/gbasenc.md new file mode 100644 index 00000000000000..134036fa933878 --- /dev/null +++ b/pages.zh/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> 这是 `basenc` 命令的一个别名。 + +- 原命令的文档在: + +`tldr basenc` diff --git a/pages.zh/osx/gcat.md b/pages.zh/osx/gcat.md new file mode 100644 index 00000000000000..60f6ff64fd4fa7 --- /dev/null +++ b/pages.zh/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> 这是 `-p linux cat` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.zh/osx/gchcon.md b/pages.zh/osx/gchcon.md new file mode 100644 index 00000000000000..f2f098c3404cb3 --- /dev/null +++ b/pages.zh/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> 这是 `-p linux chcon` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.zh/osx/gchgrp.md b/pages.zh/osx/gchgrp.md new file mode 100644 index 00000000000000..60db2163dc230d --- /dev/null +++ b/pages.zh/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> 这是 `chgrp` 命令的一个别名。 + +- 原命令的文档在: + +`tldr chgrp` diff --git a/pages.zh/osx/gchmod.md b/pages.zh/osx/gchmod.md new file mode 100644 index 00000000000000..1e1cbaf45c0935 --- /dev/null +++ b/pages.zh/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> 这是 `chmod` 命令的一个别名。 + +- 原命令的文档在: + +`tldr chmod` diff --git a/pages.zh/osx/gchown.md b/pages.zh/osx/gchown.md new file mode 100644 index 00000000000000..ad362e5933876d --- /dev/null +++ b/pages.zh/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> 这是 `chown` 命令的一个别名。 + +- 原命令的文档在: + +`tldr chown` diff --git a/pages.zh/osx/gchroot.md b/pages.zh/osx/gchroot.md new file mode 100644 index 00000000000000..3d904a9bb1fd74 --- /dev/null +++ b/pages.zh/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> 这是 `chroot` 命令的一个别名。 + +- 原命令的文档在: + +`tldr chroot` diff --git a/pages.zh/osx/gcksum.md b/pages.zh/osx/gcksum.md new file mode 100644 index 00000000000000..1311f6aee9ef4e --- /dev/null +++ b/pages.zh/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> 这是 `cksum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr cksum` diff --git a/pages.zh/osx/gcomm.md b/pages.zh/osx/gcomm.md new file mode 100644 index 00000000000000..e357a571b9fa22 --- /dev/null +++ b/pages.zh/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> 这是 `comm` 命令的一个别名。 + +- 原命令的文档在: + +`tldr comm` diff --git a/pages.zh/osx/gcp.md b/pages.zh/osx/gcp.md new file mode 100644 index 00000000000000..7057969bd36718 --- /dev/null +++ b/pages.zh/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> 这是 `cp` 命令的一个别名。 + +- 原命令的文档在: + +`tldr cp` diff --git a/pages.zh/osx/gcsplit.md b/pages.zh/osx/gcsplit.md new file mode 100644 index 00000000000000..f86b6f7ac4ab92 --- /dev/null +++ b/pages.zh/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> 这是 `-p linux csplit` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.zh/osx/gcut.md b/pages.zh/osx/gcut.md new file mode 100644 index 00000000000000..7eaf6dd155aff2 --- /dev/null +++ b/pages.zh/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> 这是 `cut` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.zh/osx/gdate.md b/pages.zh/osx/gdate.md new file mode 100644 index 00000000000000..ac19ae9d737bf4 --- /dev/null +++ b/pages.zh/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> 这是 `date` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.zh/osx/gdd.md b/pages.zh/osx/gdd.md new file mode 100644 index 00000000000000..d09b6846a0857e --- /dev/null +++ b/pages.zh/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> 这是 `-p linux dd` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.zh/osx/gdf.md b/pages.zh/osx/gdf.md new file mode 100644 index 00000000000000..bfa0c97a70c32f --- /dev/null +++ b/pages.zh/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> 这是 `-p linux df` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.zh/osx/gdir.md b/pages.zh/osx/gdir.md new file mode 100644 index 00000000000000..d0be98f13f3aa5 --- /dev/null +++ b/pages.zh/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> 这是 `-p linux dir` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.zh/osx/gdircolors.md b/pages.zh/osx/gdircolors.md new file mode 100644 index 00000000000000..6d665e9c4849e3 --- /dev/null +++ b/pages.zh/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> 这是 `dircolors` 命令的一个别名。 + +- 原命令的文档在: + +`tldr dircolors` diff --git a/pages.zh/osx/gdirname.md b/pages.zh/osx/gdirname.md new file mode 100644 index 00000000000000..ee38a49b6f69d4 --- /dev/null +++ b/pages.zh/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> 这是 `dirname` 命令的一个别名。 + +- 原命令的文档在: + +`tldr dirname` diff --git a/pages.zh/osx/gdnsdomainname.md b/pages.zh/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..5e51e6a32dfe7f --- /dev/null +++ b/pages.zh/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> 这是 `-p linux dnsdomainname` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.zh/osx/gecho.md b/pages.zh/osx/gecho.md new file mode 100644 index 00000000000000..b605b27c9fc2df --- /dev/null +++ b/pages.zh/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> 这是 `echo` 命令的一个别名。 + +- 原命令的文档在: + +`tldr echo` diff --git a/pages.zh/osx/ged.md b/pages.zh/osx/ged.md new file mode 100644 index 00000000000000..7fbf1e2b8a8848 --- /dev/null +++ b/pages.zh/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> 这是 `ed` 命令的一个别名。 + +- 原命令的文档在: + +`tldr ed` diff --git a/pages.zh/osx/gegrep.md b/pages.zh/osx/gegrep.md new file mode 100644 index 00000000000000..eb2ce1a6216f94 --- /dev/null +++ b/pages.zh/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> 这是 `egrep` 命令的一个别名。 + +- 原命令的文档在: + +`tldr egrep` diff --git a/pages.zh/osx/genv.md b/pages.zh/osx/genv.md new file mode 100644 index 00000000000000..599fd07cfc3bce --- /dev/null +++ b/pages.zh/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> 这是 `env` 命令的一个别名。 + +- 原命令的文档在: + +`tldr env` diff --git a/pages.zh/osx/getfileinfo.md b/pages.zh/osx/getfileinfo.md new file mode 100644 index 00000000000000..62758312e6ca28 --- /dev/null +++ b/pages.zh/osx/getfileinfo.md @@ -0,0 +1,20 @@ +# GetFileInfo + +> 获取有关 HFS+ 目录中文件的信息。 +> 更多信息:. + +- 显示有关给定文件的信息: + +`GetFileInfo {{路径/文件名}}` + +- 显示给定文件的创建日期和时间: + +`GetFileInfo -d {{路径/文件名}}` + +- 显示给定文件的上次修改日期和时间: + +`GetFileInfo -m {{路径/文件名}}` + +- 显示给定文件的创建者: + +`GetFileInfo -c {{路径/文件名}}` diff --git a/pages.zh/osx/gexpand.md b/pages.zh/osx/gexpand.md new file mode 100644 index 00000000000000..89e4fd31b32e48 --- /dev/null +++ b/pages.zh/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> 这是 `expand` 命令的一个别名。 + +- 原命令的文档在: + +`tldr expand` diff --git a/pages.zh/osx/gexpr.md b/pages.zh/osx/gexpr.md new file mode 100644 index 00000000000000..d8af77c8a8d8c3 --- /dev/null +++ b/pages.zh/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> 这是 `expr` 命令的一个别名。 + +- 原命令的文档在: + +`tldr expr` diff --git a/pages.zh/osx/gfactor.md b/pages.zh/osx/gfactor.md new file mode 100644 index 00000000000000..86e811182a38bb --- /dev/null +++ b/pages.zh/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> 这是 `factor` 命令的一个别名。 + +- 原命令的文档在: + +`tldr factor` diff --git a/pages.zh/osx/gfalse.md b/pages.zh/osx/gfalse.md new file mode 100644 index 00000000000000..9374099e687573 --- /dev/null +++ b/pages.zh/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> 这是 `false` 命令的一个别名。 + +- 原命令的文档在: + +`tldr false` diff --git a/pages.zh/osx/gfgrep.md b/pages.zh/osx/gfgrep.md new file mode 100644 index 00000000000000..99f3d6bec6590e --- /dev/null +++ b/pages.zh/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> 这是 `fgrep` 命令的一个别名。 + +- 原命令的文档在: + +`tldr fgrep` diff --git a/pages.zh/osx/gfind.md b/pages.zh/osx/gfind.md new file mode 100644 index 00000000000000..3287f9047b7448 --- /dev/null +++ b/pages.zh/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> 这是 `find` 命令的一个别名。 + +- 原命令的文档在: + +`tldr find` diff --git a/pages.zh/osx/gfmt.md b/pages.zh/osx/gfmt.md new file mode 100644 index 00000000000000..7469de176a4616 --- /dev/null +++ b/pages.zh/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> 这是 `fmt` 命令的一个别名。 + +- 原命令的文档在: + +`tldr fmt` diff --git a/pages.zh/osx/gfold.md b/pages.zh/osx/gfold.md new file mode 100644 index 00000000000000..1e06fd2670a659 --- /dev/null +++ b/pages.zh/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> 这是 `-p linux fold` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.zh/osx/gftp.md b/pages.zh/osx/gftp.md new file mode 100644 index 00000000000000..de860fd552786a --- /dev/null +++ b/pages.zh/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> 这是 `ftp` 命令的一个别名。 + +- 原命令的文档在: + +`tldr ftp` diff --git a/pages.zh/osx/ggrep.md b/pages.zh/osx/ggrep.md new file mode 100644 index 00000000000000..1180646e6f2fab --- /dev/null +++ b/pages.zh/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> 这是 `grep` 命令的一个别名。 + +- 原命令的文档在: + +`tldr grep` diff --git a/pages.zh/osx/ggroups.md b/pages.zh/osx/ggroups.md new file mode 100644 index 00000000000000..6aec1827f3ab2b --- /dev/null +++ b/pages.zh/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> 这是 `groups` 命令的一个别名。 + +- 原命令的文档在: + +`tldr groups` diff --git a/pages.zh/osx/ghead.md b/pages.zh/osx/ghead.md new file mode 100644 index 00000000000000..ccfc6e7ea693a9 --- /dev/null +++ b/pages.zh/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> 这是 `-p linux head` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.zh/osx/ghostid.md b/pages.zh/osx/ghostid.md new file mode 100644 index 00000000000000..8843485f379c92 --- /dev/null +++ b/pages.zh/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> 这是 `hostid` 命令的一个别名。 + +- 原命令的文档在: + +`tldr hostid` diff --git a/pages.zh/osx/ghostname.md b/pages.zh/osx/ghostname.md new file mode 100644 index 00000000000000..081497914cea55 --- /dev/null +++ b/pages.zh/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> 这是 `hostname` 命令的一个别名。 + +- 原命令的文档在: + +`tldr hostname` diff --git a/pages.zh/osx/gid.md b/pages.zh/osx/gid.md new file mode 100644 index 00000000000000..c10f3e0793094c --- /dev/null +++ b/pages.zh/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> 这是 `id` 命令的一个别名。 + +- 原命令的文档在: + +`tldr id` diff --git a/pages.zh/osx/gifconfig.md b/pages.zh/osx/gifconfig.md new file mode 100644 index 00000000000000..67f7d34d3e37b5 --- /dev/null +++ b/pages.zh/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> 这是 `ifconfig` 命令的一个别名。 + +- 原命令的文档在: + +`tldr ifconfig` diff --git a/pages.zh/osx/gindent.md b/pages.zh/osx/gindent.md new file mode 100644 index 00000000000000..c196d7772a1a78 --- /dev/null +++ b/pages.zh/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> 这是 `indent` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.zh/osx/ginstall.md b/pages.zh/osx/ginstall.md new file mode 100644 index 00000000000000..b808c46314fa48 --- /dev/null +++ b/pages.zh/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> 这是 `install` 命令的一个别名。 + +- 原命令的文档在: + +`tldr install` diff --git a/pages.zh/osx/gjoin.md b/pages.zh/osx/gjoin.md new file mode 100644 index 00000000000000..54d4377ef1c32f --- /dev/null +++ b/pages.zh/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> 这是 `join` 命令的一个别名。 + +- 原命令的文档在: + +`tldr join` diff --git a/pages.zh/osx/gkill.md b/pages.zh/osx/gkill.md new file mode 100644 index 00000000000000..c0c88c3145785f --- /dev/null +++ b/pages.zh/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> 这是 `-p linux kill` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.zh/osx/glibtool.md b/pages.zh/osx/glibtool.md new file mode 100644 index 00000000000000..52ed038c575f68 --- /dev/null +++ b/pages.zh/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> 这是 `-p linux libtool` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.zh/osx/glibtoolize.md b/pages.zh/osx/glibtoolize.md new file mode 100644 index 00000000000000..0497fa1957763d --- /dev/null +++ b/pages.zh/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> 这是 `-p linux libtoolize` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.zh/osx/glink.md b/pages.zh/osx/glink.md new file mode 100644 index 00000000000000..cde79c05d6db66 --- /dev/null +++ b/pages.zh/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> 这是 `link` 命令的一个别名。 + +- 原命令的文档在: + +`tldr link` diff --git a/pages.zh/osx/gln.md b/pages.zh/osx/gln.md new file mode 100644 index 00000000000000..a9db879c611cf4 --- /dev/null +++ b/pages.zh/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> 这是 `ln` 命令的一个别名。 + +- 原命令的文档在: + +`tldr ln` diff --git a/pages.zh/osx/glocate.md b/pages.zh/osx/glocate.md new file mode 100644 index 00000000000000..051c2f6c741d84 --- /dev/null +++ b/pages.zh/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> 这是 `-p linux locate` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.zh/osx/glogger.md b/pages.zh/osx/glogger.md new file mode 100644 index 00000000000000..321f1b8aedd12f --- /dev/null +++ b/pages.zh/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> 这是 `-p linux logger` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.zh/osx/glogname.md b/pages.zh/osx/glogname.md new file mode 100644 index 00000000000000..a455ac757d9f88 --- /dev/null +++ b/pages.zh/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> 这是 `logname` 命令的一个别名。 + +- 原命令的文档在: + +`tldr logname` diff --git a/pages.zh/osx/gls.md b/pages.zh/osx/gls.md new file mode 100644 index 00000000000000..721c0b119c3168 --- /dev/null +++ b/pages.zh/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> 这是 `ls` 命令的一个别名。 + +- 原命令的文档在: + +`tldr ls` diff --git a/pages.zh/osx/gmake.md b/pages.zh/osx/gmake.md new file mode 100644 index 00000000000000..4b3c13875de075 --- /dev/null +++ b/pages.zh/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> 这是 `make` 命令的一个别名。 + +- 原命令的文档在: + +`tldr make` diff --git a/pages.zh/osx/gmd5sum.md b/pages.zh/osx/gmd5sum.md new file mode 100644 index 00000000000000..c14e3f758919f7 --- /dev/null +++ b/pages.zh/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> 这是 `md5sum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr md5sum` diff --git a/pages.zh/osx/gmkdir.md b/pages.zh/osx/gmkdir.md new file mode 100644 index 00000000000000..e2fdf302ad92ed --- /dev/null +++ b/pages.zh/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> 这是 `mkdir` 命令的一个别名。 + +- 原命令的文档在: + +`tldr mkdir` diff --git a/pages.zh/osx/gmkfifo.md b/pages.zh/osx/gmkfifo.md new file mode 100644 index 00000000000000..430b0cb8f37dc1 --- /dev/null +++ b/pages.zh/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> 这是 `mkfifo` 命令的一个别名。 + +- 原命令的文档在: + +`tldr mkfifo` diff --git a/pages.zh/osx/gmknod.md b/pages.zh/osx/gmknod.md new file mode 100644 index 00000000000000..7d96c31ff4cbbd --- /dev/null +++ b/pages.zh/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> 这是 `-p linux mknod` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.zh/osx/gmktemp.md b/pages.zh/osx/gmktemp.md new file mode 100644 index 00000000000000..a53d9328b9a113 --- /dev/null +++ b/pages.zh/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> 这是 `-p linux mktemp` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.zh/osx/gmv.md b/pages.zh/osx/gmv.md new file mode 100644 index 00000000000000..62868f2aaac603 --- /dev/null +++ b/pages.zh/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> 这是 `mv` 命令的一个别名。 + +- 原命令的文档在: + +`tldr mv` diff --git a/pages.zh/osx/gnice.md b/pages.zh/osx/gnice.md new file mode 100644 index 00000000000000..6a7f59c0181cef --- /dev/null +++ b/pages.zh/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> 这是 `nice` 命令的一个别名。 + +- 原命令的文档在: + +`tldr nice` diff --git a/pages.zh/osx/gnl.md b/pages.zh/osx/gnl.md new file mode 100644 index 00000000000000..13667d3a9dae9b --- /dev/null +++ b/pages.zh/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> 这是 `-p linux nl` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.zh/osx/gnohup.md b/pages.zh/osx/gnohup.md new file mode 100644 index 00000000000000..674b87c52d91eb --- /dev/null +++ b/pages.zh/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> 这是 `nohup` 命令的一个别名。 + +- 原命令的文档在: + +`tldr nohup` diff --git a/pages.zh/osx/gnproc.md b/pages.zh/osx/gnproc.md new file mode 100644 index 00000000000000..01526c8c7ea18c --- /dev/null +++ b/pages.zh/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> 这是 `nproc` 命令的一个别名。 + +- 原命令的文档在: + +`tldr nproc` diff --git a/pages.zh/osx/gnumfmt.md b/pages.zh/osx/gnumfmt.md new file mode 100644 index 00000000000000..35c94e3d824687 --- /dev/null +++ b/pages.zh/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> 这是 `numfmt` 命令的一个别名。 + +- 原命令的文档在: + +`tldr numfmt` diff --git a/pages.zh/osx/god.md b/pages.zh/osx/god.md new file mode 100644 index 00000000000000..74b0be3864547d --- /dev/null +++ b/pages.zh/osx/god.md @@ -0,0 +1,7 @@ +# god + +> 这是 `od` 命令的一个别名。 + +- 原命令的文档在: + +`tldr od` diff --git a/pages.zh/osx/gpaste.md b/pages.zh/osx/gpaste.md new file mode 100644 index 00000000000000..e70ce0f7918538 --- /dev/null +++ b/pages.zh/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> 这是 `paste` 命令的一个别名。 + +- 原命令的文档在: + +`tldr paste` diff --git a/pages.zh/osx/gpathchk.md b/pages.zh/osx/gpathchk.md new file mode 100644 index 00000000000000..883db50acac0b5 --- /dev/null +++ b/pages.zh/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> 这是 `pathchk` 命令的一个别名。 + +- 原命令的文档在: + +`tldr pathchk` diff --git a/pages.zh/osx/gping.md b/pages.zh/osx/gping.md new file mode 100644 index 00000000000000..c30e122703c233 --- /dev/null +++ b/pages.zh/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> 这是 `ping` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.zh/osx/gping6.md b/pages.zh/osx/gping6.md new file mode 100644 index 00000000000000..b8f1467dce2ed0 --- /dev/null +++ b/pages.zh/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> 这是 `ping6` 命令的一个别名。 + +- 原命令的文档在: + +`tldr ping6` diff --git a/pages.zh/osx/gpinky.md b/pages.zh/osx/gpinky.md new file mode 100644 index 00000000000000..b5547a025873f1 --- /dev/null +++ b/pages.zh/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> 这是 `pinky` 命令的一个别名。 + +- 原命令的文档在: + +`tldr pinky` diff --git a/pages.zh/osx/gpr.md b/pages.zh/osx/gpr.md new file mode 100644 index 00000000000000..e218f9c57f38b2 --- /dev/null +++ b/pages.zh/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> 这是 `pr` 命令的一个别名。 + +- 原命令的文档在: + +`tldr pr` diff --git a/pages.zh/osx/gprintenv.md b/pages.zh/osx/gprintenv.md new file mode 100644 index 00000000000000..0c6beeb1fe7784 --- /dev/null +++ b/pages.zh/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> 这是 `printenv` 命令的一个别名。 + +- 原命令的文档在: + +`tldr printenv` diff --git a/pages.zh/osx/gprintf.md b/pages.zh/osx/gprintf.md new file mode 100644 index 00000000000000..5e248a8f48b6be --- /dev/null +++ b/pages.zh/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> 这是 `printf` 命令的一个别名。 + +- 原命令的文档在: + +`tldr printf` diff --git a/pages.zh/osx/gptx.md b/pages.zh/osx/gptx.md new file mode 100644 index 00000000000000..5bf9b1cf539889 --- /dev/null +++ b/pages.zh/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> 这是 `-p linux ptx` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.zh/osx/gpwd.md b/pages.zh/osx/gpwd.md new file mode 100644 index 00000000000000..813b5b27f7b0b0 --- /dev/null +++ b/pages.zh/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> 这是 `pwd` 命令的一个别名。 + +- 原命令的文档在: + +`tldr pwd` diff --git a/pages.zh/osx/grcp.md b/pages.zh/osx/grcp.md new file mode 100644 index 00000000000000..b4ac98d88e3e75 --- /dev/null +++ b/pages.zh/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> 这是 `-p linux rcp` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.zh/osx/greadlink.md b/pages.zh/osx/greadlink.md new file mode 100644 index 00000000000000..03877f2606d051 --- /dev/null +++ b/pages.zh/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> 这是 `readlink` 命令的一个别名。 + +- 原命令的文档在: + +`tldr readlink` diff --git a/pages.zh/osx/grealpath.md b/pages.zh/osx/grealpath.md new file mode 100644 index 00000000000000..55eecf50c1e62b --- /dev/null +++ b/pages.zh/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> 这是 `realpath` 命令的一个别名。 + +- 原命令的文档在: + +`tldr realpath` diff --git a/pages.zh/osx/grexec.md b/pages.zh/osx/grexec.md new file mode 100644 index 00000000000000..ad0a78b7932578 --- /dev/null +++ b/pages.zh/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> 这是 `-p linux rexec` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.zh/osx/grlogin.md b/pages.zh/osx/grlogin.md new file mode 100644 index 00000000000000..7558ab698914d3 --- /dev/null +++ b/pages.zh/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> 这是 `-p linux rlogin` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.zh/osx/grm.md b/pages.zh/osx/grm.md new file mode 100644 index 00000000000000..a073ab00627770 --- /dev/null +++ b/pages.zh/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> 这是 `rm` 命令的一个别名。 + +- 原命令的文档在: + +`tldr rm` diff --git a/pages.zh/osx/grmdir.md b/pages.zh/osx/grmdir.md new file mode 100644 index 00000000000000..01ac4da573a7a7 --- /dev/null +++ b/pages.zh/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> 这是 `rmdir` 命令的一个别名。 + +- 原命令的文档在: + +`tldr rmdir` diff --git a/pages.zh/osx/grsh.md b/pages.zh/osx/grsh.md new file mode 100644 index 00000000000000..1eaf0213be97d4 --- /dev/null +++ b/pages.zh/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> 这是 `-p linux rsh` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.zh/osx/gruncon.md b/pages.zh/osx/gruncon.md new file mode 100644 index 00000000000000..dc865bac68f36a --- /dev/null +++ b/pages.zh/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> 这是 `-p linux runcon` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.zh/osx/gsed.md b/pages.zh/osx/gsed.md new file mode 100644 index 00000000000000..5f1c4a5bde5cba --- /dev/null +++ b/pages.zh/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> 这是 `-p linux sed` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.zh/osx/gseq.md b/pages.zh/osx/gseq.md new file mode 100644 index 00000000000000..7a040a7ebc79f8 --- /dev/null +++ b/pages.zh/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> 这是 `seq` 命令的一个别名。 + +- 原命令的文档在: + +`tldr seq` diff --git a/pages.zh/osx/gsha1sum.md b/pages.zh/osx/gsha1sum.md new file mode 100644 index 00000000000000..675c2dc3ac12d2 --- /dev/null +++ b/pages.zh/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> 这是 `sha1sum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr sha1sum` diff --git a/pages.zh/osx/gsha224sum.md b/pages.zh/osx/gsha224sum.md new file mode 100644 index 00000000000000..b1d3e52b7165ce --- /dev/null +++ b/pages.zh/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> 这是 `sha224sum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr sha224sum` diff --git a/pages.zh/osx/gsha256sum.md b/pages.zh/osx/gsha256sum.md new file mode 100644 index 00000000000000..0fbb7aea9cf7d0 --- /dev/null +++ b/pages.zh/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> 这是 `sha256sum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr sha256sum` diff --git a/pages.zh/osx/gsha384sum.md b/pages.zh/osx/gsha384sum.md new file mode 100644 index 00000000000000..6a4fc130490f0f --- /dev/null +++ b/pages.zh/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> 这是 `sha384sum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr sha384sum` diff --git a/pages.zh/osx/gsha512sum.md b/pages.zh/osx/gsha512sum.md new file mode 100644 index 00000000000000..56e4903459636c --- /dev/null +++ b/pages.zh/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> 这是 `sha512sum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr sha512sum` diff --git a/pages.zh/osx/gshred.md b/pages.zh/osx/gshred.md new file mode 100644 index 00000000000000..1c1290fdf89220 --- /dev/null +++ b/pages.zh/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> 这是 `shred` 命令的一个别名。 + +- 原命令的文档在: + +`tldr shred` diff --git a/pages.zh/osx/gshuf.md b/pages.zh/osx/gshuf.md new file mode 100644 index 00000000000000..f788de644feaf3 --- /dev/null +++ b/pages.zh/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> 这是 `shuf` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.zh/osx/gsleep.md b/pages.zh/osx/gsleep.md new file mode 100644 index 00000000000000..9cf2c099d345a4 --- /dev/null +++ b/pages.zh/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> 这是 `-p linux sleep` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.zh/osx/gsort.md b/pages.zh/osx/gsort.md new file mode 100644 index 00000000000000..6ccd86d1ff6310 --- /dev/null +++ b/pages.zh/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> 这是 `sort` 命令的一个别名。 + +- 原命令的文档在: + +`tldr sort` diff --git a/pages.zh/osx/gsplit.md b/pages.zh/osx/gsplit.md new file mode 100644 index 00000000000000..1d97aceb592b49 --- /dev/null +++ b/pages.zh/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> 这是 `split` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.zh/osx/gstat.md b/pages.zh/osx/gstat.md new file mode 100644 index 00000000000000..7c0c2d49a68daf --- /dev/null +++ b/pages.zh/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> 这是 `stat` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.zh/osx/gstdbuf.md b/pages.zh/osx/gstdbuf.md new file mode 100644 index 00000000000000..9e1568dc1615d4 --- /dev/null +++ b/pages.zh/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> 这是 `stdbuf` 命令的一个别名。 + +- 原命令的文档在: + +`tldr stdbuf` diff --git a/pages.zh/osx/gstty.md b/pages.zh/osx/gstty.md new file mode 100644 index 00000000000000..ce820381aac190 --- /dev/null +++ b/pages.zh/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> 这是 `stty` 命令的一个别名。 + +- 原命令的文档在: + +`tldr stty` diff --git a/pages.zh/osx/gsum.md b/pages.zh/osx/gsum.md new file mode 100644 index 00000000000000..e3366888ae5cf5 --- /dev/null +++ b/pages.zh/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> 这是 `sum` 命令的一个别名。 + +- 原命令的文档在: + +`tldr sum` diff --git a/pages.zh/osx/gsync.md b/pages.zh/osx/gsync.md new file mode 100644 index 00000000000000..1789d1249f5f86 --- /dev/null +++ b/pages.zh/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> 这是 `sync` 命令的一个别名。 + +- 原命令的文档在: + +`tldr sync` diff --git a/pages.zh/osx/gtac.md b/pages.zh/osx/gtac.md new file mode 100644 index 00000000000000..6322d603561b31 --- /dev/null +++ b/pages.zh/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> 这是 `tac` 命令的一个别名。 + +- 原命令的文档在: + +`tldr tac` diff --git a/pages.zh/osx/gtail.md b/pages.zh/osx/gtail.md new file mode 100644 index 00000000000000..b870d424195978 --- /dev/null +++ b/pages.zh/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> 这是 `tail` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.zh/osx/gtalk.md b/pages.zh/osx/gtalk.md new file mode 100644 index 00000000000000..05955eb3e75eb8 --- /dev/null +++ b/pages.zh/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> 这是 `-p linux talk` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.zh/osx/gtar.md b/pages.zh/osx/gtar.md new file mode 100644 index 00000000000000..f247d4925f2e06 --- /dev/null +++ b/pages.zh/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> 这是 `tar` 命令的一个别名。 + +- 原命令的文档在: + +`tldr tar` diff --git a/pages.zh/osx/gtee.md b/pages.zh/osx/gtee.md new file mode 100644 index 00000000000000..d73b5e174f9687 --- /dev/null +++ b/pages.zh/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> 这是 `tee` 命令的一个别名。 + +- 原命令的文档在: + +`tldr tee` diff --git a/pages.zh/osx/gtelnet.md b/pages.zh/osx/gtelnet.md new file mode 100644 index 00000000000000..598257ca16d541 --- /dev/null +++ b/pages.zh/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> 这是 `telnet` 命令的一个别名。 + +- 原命令的文档在: + +`tldr telnet` diff --git a/pages.zh/osx/gtest.md b/pages.zh/osx/gtest.md new file mode 100644 index 00000000000000..55c068205369c0 --- /dev/null +++ b/pages.zh/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> 这是 `test` 命令的一个别名。 + +- 原命令的文档在: + +`tldr test` diff --git a/pages.zh/osx/gtftp.md b/pages.zh/osx/gtftp.md new file mode 100644 index 00000000000000..9f068c848f0550 --- /dev/null +++ b/pages.zh/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> 这是 `-p linux tftp` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.zh/osx/gtime.md b/pages.zh/osx/gtime.md new file mode 100644 index 00000000000000..8ad6c343627fc6 --- /dev/null +++ b/pages.zh/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> 这是 `time` 命令的一个别名。 + +- 原命令的文档在: + +`tldr time` diff --git a/pages.zh/osx/gtimeout.md b/pages.zh/osx/gtimeout.md new file mode 100644 index 00000000000000..c5523ef2ef9cd3 --- /dev/null +++ b/pages.zh/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> 这是 `timeout` 命令的一个别名。 + +- 原命令的文档在: + +`tldr timeout` diff --git a/pages.zh/osx/gtouch.md b/pages.zh/osx/gtouch.md new file mode 100644 index 00000000000000..8d8e75ed3ae996 --- /dev/null +++ b/pages.zh/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> 这是 `touch` 命令的一个别名。 + +- 原命令的文档在: + +`tldr touch` diff --git a/pages.zh/osx/gtr.md b/pages.zh/osx/gtr.md new file mode 100644 index 00000000000000..22a30e4ded14ae --- /dev/null +++ b/pages.zh/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> 这是 `tr` 命令的一个别名。 + +- 原命令的文档在: + +`tldr tr` diff --git a/pages.zh/osx/gtraceroute.md b/pages.zh/osx/gtraceroute.md new file mode 100644 index 00000000000000..82a06b66268c8e --- /dev/null +++ b/pages.zh/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> 这是 `traceroute` 命令的一个别名。 + +- 原命令的文档在: + +`tldr traceroute` diff --git a/pages.zh/osx/gtrue.md b/pages.zh/osx/gtrue.md new file mode 100644 index 00000000000000..fdee4851441a23 --- /dev/null +++ b/pages.zh/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> 这是 `true` 命令的一个别名。 + +- 原命令的文档在: + +`tldr true` diff --git a/pages.zh/osx/gtruncate.md b/pages.zh/osx/gtruncate.md new file mode 100644 index 00000000000000..23893a22e5ce58 --- /dev/null +++ b/pages.zh/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> 这是 `truncate` 命令的一个别名。 + +- 原命令的文档在: + +`tldr truncate` diff --git a/pages.zh/osx/gtsort.md b/pages.zh/osx/gtsort.md new file mode 100644 index 00000000000000..916401b61c16fd --- /dev/null +++ b/pages.zh/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> 这是 `tsort` 命令的一个别名。 + +- 原命令的文档在: + +`tldr tsort` diff --git a/pages.zh/osx/gtty.md b/pages.zh/osx/gtty.md new file mode 100644 index 00000000000000..b89d2ce61e2fdd --- /dev/null +++ b/pages.zh/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> 这是 `tty` 命令的一个别名。 + +- 原命令的文档在: + +`tldr tty` diff --git a/pages.zh/osx/guname.md b/pages.zh/osx/guname.md new file mode 100644 index 00000000000000..2eb5fb1afce56c --- /dev/null +++ b/pages.zh/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> 这是 `uname` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.zh/osx/gunexpand.md b/pages.zh/osx/gunexpand.md new file mode 100644 index 00000000000000..e307da98d0e536 --- /dev/null +++ b/pages.zh/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> 这是 `unexpand` 命令的一个别名。 + +- 原命令的文档在: + +`tldr unexpand` diff --git a/pages.zh/osx/gunicorn.md b/pages.zh/osx/gunicorn.md deleted file mode 100644 index 5698603f31c46e..00000000000000 --- a/pages.zh/osx/gunicorn.md +++ /dev/null @@ -1,27 +0,0 @@ -# gunicorn - -> Python 的 WSGI http 服务器. - -- 运行 python web 应用程序: - -`gunicorn {{导入路径:应用程序}}` - -- 在 localhost 上监听 8080 端口: - -`gunicorn --bind {{localhost}}:{{8080}} {{导入路径:应用程序}}` - -- 启用实时自动加载: - -`gunicorn --reload {{导入路径:应用程序}}` - -- 使用 4 个工作进程处理请求: - -`gunicorn --workers {{4}} {{导入路径:应用程序}}` - -- 使用 4 个工作线程处理请求: - -`gunicorn --threads {{4}} {{导入路径:应用程序}}` - -- 通过 https 运行应用程序: - -`gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{导入路径:应用程序}}` diff --git a/pages.zh/osx/guniq.md b/pages.zh/osx/guniq.md new file mode 100644 index 00000000000000..ccde389d71f8a2 --- /dev/null +++ b/pages.zh/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> 这是 `uniq` 命令的一个别名。 + +- 原命令的文档在: + +`tldr uniq` diff --git a/pages.zh/osx/gunits.md b/pages.zh/osx/gunits.md new file mode 100644 index 00000000000000..7a68be6ebfdc89 --- /dev/null +++ b/pages.zh/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> 这是 `units` 命令的一个别名。 + +- 原命令的文档在: + +`tldr units` diff --git a/pages.zh/osx/gunlink.md b/pages.zh/osx/gunlink.md new file mode 100644 index 00000000000000..238cf0deab1990 --- /dev/null +++ b/pages.zh/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> 这是 `unlink` 命令的一个别名。 + +- 原命令的文档在: + +`tldr unlink` diff --git a/pages.zh/osx/gupdatedb.md b/pages.zh/osx/gupdatedb.md new file mode 100644 index 00000000000000..fb0bfb0a3ded8a --- /dev/null +++ b/pages.zh/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> 这是 `-p linux updatedb` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.zh/osx/guptime.md b/pages.zh/osx/guptime.md new file mode 100644 index 00000000000000..a14233ff5747e8 --- /dev/null +++ b/pages.zh/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> 这是 `uptime` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.zh/osx/gusers.md b/pages.zh/osx/gusers.md new file mode 100644 index 00000000000000..d75771c66b1ce5 --- /dev/null +++ b/pages.zh/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> 这是 `users` 命令的一个别名。 + +- 原命令的文档在: + +`tldr users` diff --git a/pages.zh/osx/gvdir.md b/pages.zh/osx/gvdir.md new file mode 100644 index 00000000000000..57b7e645e068a0 --- /dev/null +++ b/pages.zh/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> 这是 `vdir` 命令的一个别名。 + +- 原命令的文档在: + +`tldr vdir` diff --git a/pages.zh/osx/gwc.md b/pages.zh/osx/gwc.md new file mode 100644 index 00000000000000..99c25c4a0753c6 --- /dev/null +++ b/pages.zh/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> 这是 `wc` 命令的一个别名。 + +- 原命令的文档在: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.zh/osx/gwhich.md b/pages.zh/osx/gwhich.md new file mode 100644 index 00000000000000..277112e4bc1df6 --- /dev/null +++ b/pages.zh/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> 这是 `which` 命令的一个别名。 + +- 原命令的文档在: + +`tldr which` diff --git a/pages.zh/osx/gwho.md b/pages.zh/osx/gwho.md new file mode 100644 index 00000000000000..2cb2c04ab459ab --- /dev/null +++ b/pages.zh/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> 这是 `who` 命令的一个别名。 + +- 原命令的文档在: + +`tldr who` diff --git a/pages.zh/osx/gwhoami.md b/pages.zh/osx/gwhoami.md new file mode 100644 index 00000000000000..544299e1755f16 --- /dev/null +++ b/pages.zh/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> 这是 `whoami` 命令的一个别名。 + +- 原命令的文档在: + +`tldr whoami` diff --git a/pages.zh/osx/gwhois.md b/pages.zh/osx/gwhois.md new file mode 100644 index 00000000000000..c41ca2499a12ca --- /dev/null +++ b/pages.zh/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> 这是 `whois` 命令的一个别名。 + +- 原命令的文档在: + +`tldr whois` diff --git a/pages.zh/osx/gxargs.md b/pages.zh/osx/gxargs.md new file mode 100644 index 00000000000000..2c7cf7d063ff42 --- /dev/null +++ b/pages.zh/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> 这是 `xargs` 命令的一个别名。 + +- 原命令的文档在: + +`tldr xargs` diff --git a/pages.zh/osx/gyes.md b/pages.zh/osx/gyes.md new file mode 100644 index 00000000000000..287c23e1f9a196 --- /dev/null +++ b/pages.zh/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> 这是 `yes` 命令的一个别名。 + +- 原命令的文档在: + +`tldr yes` diff --git a/pages.zh/osx/head.md b/pages.zh/osx/head.md index 34d5d4d5010ebd..b1ef1563efb41f 100644 --- a/pages.zh/osx/head.md +++ b/pages.zh/osx/head.md @@ -1,11 +1,12 @@ # head -> 输出文件的开头部分. +> 输出文件的开头部分。 +> 更多信息:. -- 输出文件的前几行: +- 输出文件的前几行: `head -n {{行数}} {{文件名}}` -- 输出文件的前几个字节: +- 输出文件的前几个字节: `head -c {{字节数}} {{文件名}}` diff --git a/pages.zh/osx/hexdump.md b/pages.zh/osx/hexdump.md deleted file mode 100644 index 94289f07827fb1..00000000000000 --- a/pages.zh/osx/hexdump.md +++ /dev/null @@ -1,15 +0,0 @@ -# hexdump - -> 一个 ASCII、十进制、十六进制、八进制转换查看工具. - -- 打印文件的十六进制表示形式: - -`hexdump {{文件}}` - -- 以十六进制显示输入偏移量,并在最后两列中显示其 ASCII 表示形式: - -`hexdump -C {{文件}}` - -- 显示文件的十六进制表示,但只解释输入的 N 个字节: - -`hexdump -C -n{{字节数}} {{文件}}` diff --git a/pages.zh/osx/hostname.md b/pages.zh/osx/hostname.md deleted file mode 100644 index 66b571e8f0849c..00000000000000 --- a/pages.zh/osx/hostname.md +++ /dev/null @@ -1,11 +0,0 @@ -# hostname - -> 显示或设置系统的主机名. - -- 显示本机的主机名: - -`hostname` - -- 设置本机主机名: - -`hostname {{新主机名}}` diff --git a/pages.zh/osx/imgcat.md b/pages.zh/osx/imgcat.md deleted file mode 100644 index 3fcaf7df29c83d..00000000000000 --- a/pages.zh/osx/imgcat.md +++ /dev/null @@ -1,8 +0,0 @@ -# imgcat - -> 直接在命令行上显示图像的实用程序. -> 需要兼容的终端软件,如 ITerm2. - -- 在命令行上显示图像: - -`imgcat {{文件名}}` diff --git a/pages.zh/osx/iostat.md b/pages.zh/osx/iostat.md new file mode 100644 index 00000000000000..0a4f985acf4e0c --- /dev/null +++ b/pages.zh/osx/iostat.md @@ -0,0 +1,32 @@ +# iostat + +> 报告设备统计信息。 +> 更多信息:. + +- 显示设备统计快照(每传输千字节数、每秒传输次数、每秒兆字节数)、CPU统计(用户模式、系统模式和空闲模式的时间百分比)以及系统负载平均值(过去1、5和15分钟): + +`iostat` + +- 仅显示设备统计信息: + +`iostat -d` + +- 每2秒显示一次CPU和磁盘的增量统计报告: + +`iostat 2` + +- 无限期每秒显示第一个磁盘的统计信息: + +`iostat -w 1 disk0` + +- 每3秒显示一次第二个磁盘的统计信息,共显示10次: + +`iostat -w 3 -c 10 disk1` + +- 使用旧式iostat显示格式。显示每秒传输的扇区数、每秒传输次数、每次传输的平均毫秒数,以及默认显示格式的CPU统计和负载平均值: + +`iostat -o` + +- 显示设备总统计信息(KB/t:每次传输的千字节数,xfrs:总传输次数,MB:总传输兆字节数): + +`iostat -I` diff --git a/pages.zh/osx/ipconfig.md b/pages.zh/osx/ipconfig.md new file mode 100644 index 00000000000000..d9712e306b412b --- /dev/null +++ b/pages.zh/osx/ipconfig.md @@ -0,0 +1,12 @@ +# ipconfig + +> 查看和编辑网卡信息. +> 更多信息:. + +- 列出所有的网卡: + +`ipconfig getiflist` + +- 获取特定网卡的地址信息: + +`ipconfig getifaddr {{接口名称}}` diff --git a/pages.zh/osx/istats.md b/pages.zh/osx/istats.md new file mode 100644 index 00000000000000..e9e7bef47023ac --- /dev/null +++ b/pages.zh/osx/istats.md @@ -0,0 +1,20 @@ +# istats + +> 一个显示 CPU 温度、风扇速度和电池状态等统计数据的命令行工具。 +> 更多信息:. + +- 显示所有的统计数据: + +`istats` + +- 显示所有 CPU 的统计数据: + +`istats cpu` + +- 显示所有风扇的统计数据: + +`istats fan` + +- 扫描和打印温度: + +`istats scan` diff --git a/pages.zh/osx/launchctl.md b/pages.zh/osx/launchctl.md index 4ddb11d8c1a114..e53af6f393b985 100644 --- a/pages.zh/osx/launchctl.md +++ b/pages.zh/osx/launchctl.md @@ -1,32 +1,33 @@ # launchctl -> 用于启动守护程序(系统范围的服务)和启动代理程序(每个用户程序)的命令行界面,该界面指向苹果的`launchd` 管理工具. -> `launchd`加载放置在适当位置的基于 XML 的`*.plist`文件,并根据其定义的计划运行相应的命令. +> 用于启动守护程序(系统范围的服务)和启动代理程序(每个用户程序)的命令行界面,该界面指向苹果的`launchd` 管理工具。 +> `launchd`加载放置在适当位置的基于 XML 的`*.plist`文件,并根据其定义的计划运行相应的命令。 +> 更多信息:. -- 每当用户登录时,自动将 plist 文件加载到 `launchd` : +- 每当用户登录时,自动将 plist 文件加载到 `launchd`: `launchctl load ~/Library/LaunchAgents/{{我的脚本}}.plist` -- 激活需要 root 权限才能运行和 / 或在任何用户登录时都应加载的脚本(注意路径中不能有`~`): +- 激活需要 root 权限才能运行和 / 或在任何用户登录时都应加载的脚本(注意路径中不能有`~`): `sudo launchctl load /Library/LaunchAgents/{{root 脚本}}.plist` -- 激活一个系统范围的守护程序,以便在系统启动时加载(即使没有用户登录也会加载): +- 激活一个系统范围的守护程序,以便在系统启动时加载(即使没有用户登录也会加载): `sudo launchctl load /Library/LaunchDaemons/{{系统脚本}}.plist` -- 显示所有加载的代理 / 守护进程,如果它们指定的进程当前正在运行,则显示 pid,如果停止那么返回了它们上次运行的时间和退出代码: +- 显示所有加载的代理 / 守护进程,如果它们指定的进程当前正在运行,则显示 pid,如果停止那么返回了它们上次运行的时间和退出代码: `launchctl list` -- 卸载当前加载的脚本,例如进行更改(注意:重新启动和 / 或登录后,plist 文件将自动加载到`launchd`): +- 卸载当前加载的脚本,例如进行更改(注意:重新启动和 / 或登录后,plist 文件将自动加载到`launchd`): `launchctl unload ~/Library/LaunchAgents/{{我的脚本}}.plist` -- 手动运行一个已知的(已加载的)脚本 / 守护进程,即使它不是正确的时间(注意:此命令使用脚本的标签,而不是文件名): +- 手动运行一个已知的(已加载的)脚本 / 守护进程,即使它不是正确的时间(注意:此命令使用脚本的标签,而不是文件名): `launchctl start {{我的脚本}}` -- 手动终止与已知脚本 / 守护进程关联的进程(如果该进程正在运行): +- 手动终止与已知脚本 / 守护进程关联的进程(如果该进程正在运行): `launchctl stop {{我的脚本}}` diff --git a/pages.zh/osx/lldb.md b/pages.zh/osx/lldb.md index 595f441c6a2f34..8e8d3f78bbc78e 100644 --- a/pages.zh/osx/lldb.md +++ b/pages.zh/osx/lldb.md @@ -1,15 +1,16 @@ # lldb -> LLVM 低级调试器. +> LLVM 低级调试器。 +> 更多信息:. -- 调试可执行文件: +- 调试可执行文件: -`lldb {{可执行的命令}}` +`lldb "{{可执行的命令}}"` -- 将 `lldb` 附加到具有给定 PID 的正在运行的进程: +- 将 `lldb` 附加到具有给定 PID 的正在运行的进程: `lldb -p {{进程号 PID}}` -- 等待使用给定名称的进程启动,然后附加到该进程上: +- 等待使用给定名称的进程启动,然后附加到该进程上: -`lldb -w -n {{进程名}}` +`lldb -w -n "{{进程名}}"` diff --git a/pages.zh/osx/locate.md b/pages.zh/osx/locate.md index e69de29bb2d1d6..edeb65dfb5c5ed 100644 --- a/pages.zh/osx/locate.md +++ b/pages.zh/osx/locate.md @@ -0,0 +1,16 @@ +# locate + +> 快速查找文件名。 +> 更多信息:. + +- 在数据库中查找关键字。注意:数据库定期重新更新(通常每周或每天): + +`locate "{{关键字}}"` + +- 按文件名查找文件(不包含填充字符的模式被解释为 `*关键字*`): + +`locate */{{文件名}}` + +- 重新建立文件数据索引数据库。如果要查找最近添加的文件,则需要执行此操作: + +`sudo /usr/libexec/locate.updatedb` diff --git a/pages.zh/osx/logger.md b/pages.zh/osx/logger.md deleted file mode 100644 index d339b57fe343e1..00000000000000 --- a/pages.zh/osx/logger.md +++ /dev/null @@ -1,23 +0,0 @@ -# logger - -> 向系统日志增加记录 (/var/log/syslog). - -- 向系统日志增加记录: - -`logger {{消息内容}}` - -- 从 stdin 获取输入并记录到系统日志 syslog: - -`echo {{记录内容}} | logger` - -- 将输出发送到在给定端口上运行的远程系统日志服务器。默认端口为 514: - -`echo {{记录内容}} | logger -h {{服务器名}} -P {{端口}}` - -- 对记录的每一行使用特定的标签。默认值是登录用户的名: - -`echo {{记录内容}} | logger -t {{标签}}` - -- 以给定的错误等级记录消息。默认是 `user.notice`. 使用 `man logger` 查询所有可选等级: - -`echo {{记录内容}} | logger -p {{user.warning}}` diff --git a/pages.zh/osx/look.md b/pages.zh/osx/look.md index 02178528172e18..e389d49f7534e2 100644 --- a/pages.zh/osx/look.md +++ b/pages.zh/osx/look.md @@ -1,11 +1,12 @@ # look -> 查找已排序的文件行(注意,必须是已排序的文件). +> 查找已排序的文件行(注意,必须是已排序的文件)。 +> 更多信息:. -- 它开始寻找一个给定的前缀: +- 它开始寻找一个给定的前缀: `look {{前缀}} {{文件}}` -- 查找行,忽略大小写: +- 查找行,忽略大小写: -`look -f {{前缀}} {{文件}}` +`look {{[-f|--ignore-case]}} {{前缀}} {{文件}}` diff --git a/pages.zh/osx/m.md b/pages.zh/osx/m.md index ef387bb74550dd..a00827e1f4a534 100644 --- a/pages.zh/osx/m.md +++ b/pages.zh/osx/m.md @@ -1,23 +1,24 @@ # m -> macOS 上的瑞士军刀. +> macOS 上的瑞士军刀。 +> 更多信息:. -- 获取电池状态: +- 获取电池状态: `m battery status` -- 关闭蓝牙: +- 关闭蓝牙: `m bluetooth off` -- 列出可用于格式化的文件系统: +- 列出可用于格式化的文件系统: `m disk filesystems` -- 启用 Dock(桌面程序坞) 的自动隐藏功能: +- 启用 Dock(桌面程序坞)的自动隐藏功能: `m dock autohide YES` -- 禁用防火墙: +- 禁用防火墙: `m firewall disable` diff --git a/pages.zh/osx/mas.md b/pages.zh/osx/mas.md new file mode 100644 index 00000000000000..1f5c9c0dd13522 --- /dev/null +++ b/pages.zh/osx/mas.md @@ -0,0 +1,24 @@ +# mas + +> Mac 应用商店的命令行界面。 +> 更多信息:. + +- 首次登录 Mac 应用商店: + +`mas signin "{{user@example.com}}"` + +- 显示所有已安装的应用程序和它们的产品标识符: + +`mas list` + +- 搜索一个应用程序,在结果旁边显示价格: + +`mas search "{{应用程序}}" --price` + +- 安装或更新一个应用程序: + +`mas install {{产品标识符}}` + +- 安装所有待定的更新: + +`mas upgrade` diff --git a/pages.zh/osx/md5.md b/pages.zh/osx/md5.md index 8389a91bde39f6..ec609796fe55f1 100644 --- a/pages.zh/osx/md5.md +++ b/pages.zh/osx/md5.md @@ -1,19 +1,20 @@ # md5 -> 计算 MD5 加密和校验. +> 计算 MD5 加密和校验。 +> 更多信息:. -- 计算一个文件的 MD5 校验值: +- 计算一个文件的 MD5 校验值: -`md5 {{文件名}}` +`md5 {{路径/到/文件}}` -- 计算多个文件的 MD5 校验值: +- 计算多个文件的 MD5 校验值: -`md5 {{文件名 1}} {{文件名 2}}` +`md5 {{路径/到/文件1 路径/到/文件2 ...}}` -- 仅输出 MD5 校验值(无文件名): +- 仅输出 MD5 校验值(无文件名): -`md5 -q {{文件名}}` +`md5 -q {{路径/到/文件}}` -- 打印给定字符串的 MD5 校验值: +- 打印给定字符串的 MD5 校验值: -`md5 -s {{字符串}}` +`md5 -s "{{字符串}}"` diff --git a/pages.zh/osx/mdfind.md b/pages.zh/osx/mdfind.md index fdbbb34518f7dd..24a8160461bc18 100644 --- a/pages.zh/osx/mdfind.md +++ b/pages.zh/osx/mdfind.md @@ -1,15 +1,16 @@ # mdfind -> 列出与给定查询匹配的文件. +> 列出与给定查询匹配的文件。 +> 更多信息:. -- 按文件名查找文件: +- 按文件名查找文件: `mdfind -name {{文件}}` -- 按内容查找文件: +- 按内容查找文件: -`mdfind {{查找的字符串}}` +`mdfind "{{查找的字符串}}"` -- 在给定目录中查找包含字符串的文件: +- 在给定目录中查找包含字符串的文件: -`mdfind -onlyin {{目录}} {{字符串}}` +`mdfind -onlyin {{目录}} "{{字符串}}"` diff --git a/pages.zh/osx/mdutil.md b/pages.zh/osx/mdutil.md index 1e9bb747da1166..8d5bcded6ba50b 100644 --- a/pages.zh/osx/mdutil.md +++ b/pages.zh/osx/mdutil.md @@ -1,15 +1,16 @@ # mdutil -> 管理 Spotlight(聚焦搜索) 用于搜索的索引数据. +> 管理 Spotlight(聚焦搜索)用于搜索的索引数据。 +> 更多信息:. -- 显示指定卷 ('/') 的索引状态: +- 显示指定卷('/')的索引状态: `mdutil -s {{/}}` -- 打开 / 关闭给定卷的 Spotlight 索引: +- 打开 / 关闭给定卷的 Spotlight 索引: `mdutil -i {{on|off}} {{指定卷文件夹}}` -- 清除索引数据并重新建立索引: +- 清除索引数据并重新建立索引: `mdutil -E {{指定卷文件夹}}` diff --git a/pages.zh/osx/mkfile.md b/pages.zh/osx/mkfile.md deleted file mode 100644 index e59f26fb25e6cf..00000000000000 --- a/pages.zh/osx/mkfile.md +++ /dev/null @@ -1,15 +0,0 @@ -# mkfile - -> 创建一个或多个任意大小的空文件. - -- 创建一个 15 千字节的空文件: - -`mkfile -n {{15k}} {{文件名}}` - -- 创建给定大小和单位的文件 (bytes, KB, MB, GB): - -`mkfile -n {{大小}}{{b|k|m|g}} {{文件名}}` - -- 创建两个 4 兆字节的文件: - -`mkfile -n {{4m}} {{文件名 1}} {{文件名 2}}` diff --git a/pages.zh/osx/n.md b/pages.zh/osx/n.md deleted file mode 100644 index 088e463080f81b..00000000000000 --- a/pages.zh/osx/n.md +++ /dev/null @@ -1,23 +0,0 @@ -# n - -> 用于管理多个节点版本的工具. - -- 安装给定版本的节点。如果版本已经安装,它将被激活: - -`n {{版本}}` - -- 显示已安装的版本并以交互方式激活其中一个版本: - -`n` - -- 删除一个版本: - -`n rm {{版本}}` - -- 使用给定版本执行文件: - -`n use {{版本}} {{文件.js}}` - -- 输出指定版本的二进制: - -`n bin {{版本}}` diff --git a/pages.zh/osx/netstat.md b/pages.zh/osx/netstat.md deleted file mode 100644 index 9801964da2eda0..00000000000000 --- a/pages.zh/osx/netstat.md +++ /dev/null @@ -1,23 +0,0 @@ -# netstat - -> 显示与网络相关的信息,如打开的连接、打开的套接字端口等. - -- 列出所有端口: - -`netstat -a` - -- 列出所有被侦听端口: - -`netstat -l` - -- 列出侦听的 TCP 端口: - -`netstat -t` - -- 显示监听给定协议监听的 PID 和程序名: - -`netstat -p {{协议}}` - -- 打印路由表: - -`netstat -nr` diff --git a/pages.zh/osx/networksetup.md b/pages.zh/osx/networksetup.md index 0ac3a6a653cdb7..7bc0bf33ae9947 100644 --- a/pages.zh/osx/networksetup.md +++ b/pages.zh/osx/networksetup.md @@ -1,19 +1,20 @@ # networksetup -> 网络系统首选项配置工具. +> 网络系统首选项配置工具。 +> 更多信息:. -- 列出可用的网络服务源(以太网、Wi-Fi、蓝牙等): +- 列出可用的网络服务源(以太网、Wi-Fi、蓝牙等): `networksetup -listallnetworkservices` -- 显示特定网络设备的配置信息: +- 显示特定网络设备的配置信息: `networksetup -getinfo "{{Wi-Fi}}"` -- 获取当前连接的 Wi-Fi 网络名称(Wi-Fi 设备通常为 en0 或 en1): +- 获取当前连接的 Wi-Fi 网络名称(Wi-Fi 设备通常为 en0 或 en1): `networksetup -getairportnetwork {{en0}}` -- 连接到给定的 Wi-Fi 网络 Connect to a particular Wi-Fi network: +- 连接到给定的 Wi-Fi 网络 Connect to a particular Wi-Fi network: -`networksetup -setairportnetwork {{en0}} "{{无线网 SSID}}" {{密码}}` +`networksetup -setairportnetwork {{en0}} {{无线网 SSID}} {{密码}}` diff --git a/pages.zh/osx/oathtool.md b/pages.zh/osx/oathtool.md deleted file mode 100644 index 573ef940267739..00000000000000 --- a/pages.zh/osx/oathtool.md +++ /dev/null @@ -1,15 +0,0 @@ -# oathtool - -> OATH 一次性密码工具. - -- 生成 TOTP 令牌(行为类似于 Google Authenticator): - -`oathtool --totp --base32 {{密码}}` - -- 根据给定时间产生特定的 TOTP 令牌: - -`oathtool --totp --now {{2004-02-29 16:21:42}} --base32 {{密码}}` - -- 验证 TOTP 令牌: - -`oathtool --totp --base32 {{密码}} {{令牌}}` diff --git a/pages.zh/osx/open.md b/pages.zh/osx/open.md index bed58eda6be7b7..5535070dfc7ce2 100644 --- a/pages.zh/osx/open.md +++ b/pages.zh/osx/open.md @@ -1,27 +1,32 @@ # open -> 打开文件、目录和应用程序. +> 打开文件、目录和应用程序。 +> 更多信息:. -- 使用系统关联的应用程序打开文件: +- 使用系统关联的应用程序打开文件: -`open {{filename.extension}}` +`open {{文件名.扩展名}}` -- 运行图形化的 MacOS 应用程序: +- 运行图形化的 macOS 应用程序: -`open -a {{应用程序名}}` +`open -a "{{应用程序名}}"` -- 运行指定 包名 的图形化 MacOS 应用程序(请参阅`OSascript`命令,查询如何获取应用程序的 包名): +- 运行指定包标识符的图形化 macOS 应用程序(请参阅`OSascript`命令,查询如何获取应用程序的包标识符): -`open -b {{com.domain.application 应用程序包名}}` +`open -b {{com.domain.application}}` -- 在"访达 (finder)"中打开当前文件夹: +- 在"访达(finder)"中打开当前文件夹: `open .` -- 打开"访达 (finder)", 并且给出指定文件: +- 打开"访达(finder)", 并且给出指定文件: -`open -R {{文件路径}}` +`open -R {{路径/到/文件}}` -- 使用系统默认应用程序,打开当前目录中所有给定扩展名的文件: +- 使用系统默认应用程序,打开当前目录中所有给定扩展名的文件: -`open {{*.extension}}` +`open {{*.扩展名}}` + +- 通过包标识符打开应用程序的新实例: + +`open -n -b {{com.domain.application}}` diff --git a/pages.zh/osx/opensnoop.md b/pages.zh/osx/opensnoop.md index 354694fbc895c4..8a2638dcaa2e1d 100644 --- a/pages.zh/osx/opensnoop.md +++ b/pages.zh/osx/opensnoop.md @@ -1,19 +1,20 @@ # opensnoop -> 跟踪系统中打开的文件标识符. +> 跟踪系统中打开的文件标识符。 +> 更多信息:. -- 输出当前系统内被打开的所有文件: +- 输出当前系统内被打开的所有文件: `sudo opensnoop` -- 跟踪给定进程名,打开的所有文件: +- 跟踪给定进程名,打开的所有文件: -`sudo opensnoop -n {{进程名}}` +`sudo opensnoop -n "{{进程名}}"` -- 跟踪给定 PID(进程号), 打开的所有文件: +- 跟踪给定 PID(进程号),打开的所有文件: `sudo opensnoop -p {{PID 进程号}}` -- 跟踪打开了指定文件的继承: +- 跟踪打开了指定文件的继承: `sudo opensnoop -f {{路径 / 文件}}` diff --git a/pages.zh/osx/osascript.md b/pages.zh/osx/osascript.md index 44bbd6dd63b479..68be5ac9d990e6 100644 --- a/pages.zh/osx/osascript.md +++ b/pages.zh/osx/osascript.md @@ -1,27 +1,28 @@ # osascript -> 在命令行中运行指定的 AppleScript 或 JavaScript 脚本程序. +> 在命令行中运行指定的 AppleScript 或 JavaScript 脚本程序。 +> 更多信息:. -- 运行一个 AppleScript 命令: +- 运行一个 AppleScript 命令: `osascript -e '{{say "你好世界"}}'` -- 运行多条 AppleScript 命令: +- 运行多条 AppleScript 命令: `osascript -e '{{say "你好"}}' -e '{{say "世界"}}'` -- 运行一个已编译的脚本 (`*.scpt`), 包脚本 (`*.scptd`), 或明文的 (`*.applescript`) AppleScript 文件: +- 运行一个已编译的脚本(`*.scpt`),包脚本(`*.scptd`),或明文的(`*.applescript`)AppleScript 文件: `osascript {{目录 / 脚本文件.scpt}}` -- 获取应用程序的包名 (这个包名,可以用在命令 `open -b` 中): +- 获取应用程序的包名(这个包名,可以用在命令 `open -b` 中): `osascript -e 'id of app "{{应用程序名}}"'` -- 运行一个 JavaScript 命令: +- 运行一个 JavaScript 命令: -`osascript -l JavaScript -e '{{console.log("你好世界!");}}'` +`osascript -l JavaScript -e "{{console.log('你好世界!');}}"` -- 运行 JavaScript 文件: +- 运行 JavaScript 文件: `osascript -l JavaScript {{路径 / 文件名.js}}` diff --git a/pages.zh/osx/pbcopy.md b/pages.zh/osx/pbcopy.md index 0274bbc2d1c851..bd0c3955251d85 100644 --- a/pages.zh/osx/pbcopy.md +++ b/pages.zh/osx/pbcopy.md @@ -1,11 +1,13 @@ # pbcopy -> 将标准输出放入剪贴板(命令行里的 cmd + C). +> 将来自标准输入的数据放入剪贴板。 +> 相当于在键盘上按下 ``. +> 更多信息:. -- 将文件的内容放入剪贴板: +- 将文件的内容放入剪贴板: -`pbcopy < {{文件}}` +`pbcopy < {{路径/到/文件}}` -- 将命令的执行结果放入剪贴板: +- 将命令的执行结果放入剪贴板: `find . -type t -name "*.png" | pbcopy` diff --git a/pages.zh/osx/pbpaste.md b/pages.zh/osx/pbpaste.md index 5383d28eb102fe..58714df9398b70 100644 --- a/pages.zh/osx/pbpaste.md +++ b/pages.zh/osx/pbpaste.md @@ -1,11 +1,13 @@ # pbpaste -> 将剪贴板的内容发送到标准输出(命令行). +> 将剪贴板的内容发送到标准输出。 +> 相当于在键盘上按下 ``. +> 更多信息:. -- 将剪贴板的内容写入文件: +- 将剪贴板的内容写入文件: -`pbpaste > {{文件}}` +`pbpaste > {{路径/到/文件}}` -- 将剪贴板的内容用作命令的输入: +- 将剪贴板的内容用作命令的输入: `pbpaste | grep foo` diff --git a/pages.zh/osx/pdfgrep.md b/pages.zh/osx/pdfgrep.md deleted file mode 100644 index 55db1b66b1c48a..00000000000000 --- a/pages.zh/osx/pdfgrep.md +++ /dev/null @@ -1,23 +0,0 @@ -# pdfgrep - -> 在 PDF 文件中搜索文本. - -- 在 PDF 中查找与关键词匹配的行: - -`pdfgrep {{关键词}} {{文件.pdf}}` - -- 包含每个匹配行的文件名和页码: - -`pdfgrep --with-filename --page-number {{关键词}} {{文件.pdf}}` - -- 对以 "foo" 开头关键词搜索,返回前 3 个匹配项,不区分大小写: - -`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{文件.pdf}}` - -- 在当前目录中扩展名为.pdf 的文件中递归查找关键词: - -`pdfgrep --recursive {{关键词}}` - -- 在与当前目录中特定文件名 "*book.pdf" 匹配的文件上递归查找关键词: - -`pdfgrep --recursive --include {{'*book.pdf'}} {{关键词}}` diff --git a/pages.zh/osx/ping.md b/pages.zh/osx/ping.md index 365fceb8c8c9ca..64fc54b5cf64a4 100644 --- a/pages.zh/osx/ping.md +++ b/pages.zh/osx/ping.md @@ -1,27 +1,28 @@ # ping -> 向网络主机发送 ICMP 回显请求数据包. +> 向网络主机发送 ICMP 回显请求数据包。 +> 更多信息:. -- Ping 指定的主机: +- Ping 指定的主机: -`ping {{主机}}` +`ping "{{主机}}"` -- 对主机执行指定定次数的 ping 操作: +- 对主机执行指定定次数的 ping 操作: -`ping -c {{次数}} {{主机}}` +`ping -c {{次数}} "{{主机}}"` -- ping `主机` , 指定请求之间的间隔(以`秒`为单位)(默认为 1 秒): +- Ping 主机 , 指定请求之间的间隔(以秒为单位)(默认为 1 秒): -`ping -i {{秒}} {{主机}}` +`ping -i {{秒}} "{{主机}}"` -- Ping `主机`, 但不尝试查找地址的符号名: +- Ping 主机, 但不尝试查找地址的符号名: -`ping -n {{主机}}` +`ping -n "{{主机}}"` -- ping `主机` 并在收到数据包时响铃(如果您的终端支持): +- Ping 主机 并在收到数据包时响铃(如果您的终端支持): -`ping -a {{主机}}` +`ping -a "{{主机}}"` -- ping `主机` 并打印接收数据包的时间(此选项是 Apple 的附加项): +- Ping 主机 并打印接收数据包的时间(此选项是 Apple 的附加项): -`ping --apple-time {{主机}}` +`ping --apple-time "{{主机}}"` diff --git a/pages.zh/osx/pmset.md b/pages.zh/osx/pmset.md index ad9e6e4adceb15..69e7a108a5cff1 100644 --- a/pages.zh/osx/pmset.md +++ b/pages.zh/osx/pmset.md @@ -1,28 +1,33 @@ # pmset -> 配置 MacOS 电源管理设置,就像在系统首选项 > 节能程序中一样. -> 修改设置的命令必须以 `sudo` 开头. +> 配置 macOS 电源管理设置,就像在系统首选项 > 节能程序中一样。 +> 修改设置的命令必须以 `sudo` 开头。 +> 更多信息:. -- 显示当前电源管理设置: +- 显示当前电源管理设置: `pmset -g` -- 显示当前电源和电池电量: +- 显示当前电源和电池电量: `pmset -g batt` -- 当充电器通电时,将显示器设置为从不休眠: +- 立即让显示器进入休眠状态: + +`pmset displaysleepnow` + +- 当充电器通电时,将显示器设置为从不休眠: `sudo pmset -c displaysleep 0` -- 使用电池电源 15 分钟后将显示器设置为休眠: +- 使用电池电源 15 分钟后将显示器设置为休眠: `sudo pmset -b displaysleep 15` -- 安排计算机在每个工作日上午 9 点自动唤醒: +- 安排计算机在每个工作日上午 9 点自动唤醒: `sudo pmset repeat wake MTWRF 09:00:00` -- 还原为系统默认值: +- 还原为系统默认值: `sudo pmset -a displaysleep 10 disksleep 10 sleep 30 womp 1` diff --git a/pages.zh/osx/pod.md b/pages.zh/osx/pod.md index f91a06c5e42e29..33de49884ddaec 100644 --- a/pages.zh/osx/pod.md +++ b/pages.zh/osx/pod.md @@ -1,31 +1,32 @@ # pod -> Swift 和 Objective-C Cocoa 项目的依赖关系管理. +> Swift 和 Objective-C Cocoa 项目的依赖关系管理。 +> 更多信息:. -- 为当前项目初始化包含默认内容的 podfile: +- 为当前项目初始化包含默认内容的 podfile: `pod init` -- 下载并安装 pod 文件中定义的所有 pod(以前未安装): +- 下载并安装 pod 文件中定义的所有 pod(以前未安装): `pod install` -- 列出所有可用的 pod: +- 列出所有可用的 pod: `pod list` -- 显示过时的 pod(当前安装的 pod): +- 显示过时的 pod(当前安装的 pod): `pod outdated` -- 将当前安装的所有 pod 更新到其最新版本: +- 将当前安装的所有 pod 更新到其最新版本: `pod update` -- 将特定(以前安装的)pod 更新为其最新版本: +- 将特定(以前安装的)pod 更新为其最新版本: `pod update {{pod_名}}` -- 从 Xcode 项目中删除 CocoaPods: +- 从 Xcode 项目中删除 CocoaPods: `pod deintegrate {{xcode_项目}}` diff --git a/pages.zh/osx/popd.md b/pages.zh/osx/popd.md deleted file mode 100644 index 19709875b564ed..00000000000000 --- a/pages.zh/osx/popd.md +++ /dev/null @@ -1,15 +0,0 @@ -# popd - -> 通过 pushd shell 内置程序删除目录堆栈中的目录. - -- 从堆栈中删除顶部目录,并用 `cd` 跳转到该目录: - -`popd` - -- 删除第 n 个目录(从零开始,以用 `dirs` 打印的列表左侧开始): - -`popd +N` - -- 删除第 n 个目录(从零开始,以用 `dirs` 打印的列表右侧开始): - -`popd -N` diff --git a/pages.zh/osx/port.md b/pages.zh/osx/port.md index e9c527b7f9587b..e8eab5295fcf15 100644 --- a/pages.zh/osx/port.md +++ b/pages.zh/osx/port.md @@ -1,27 +1,28 @@ # port -> MacOS 包管理器软件(类似 brew). +> macOS 包管理器软件(类似 brew)。 +> 更多信息:. -- 搜索包: +- 搜索包: `port search {{搜索的包名}}` -- 安装软件包: +- 安装软件包: `sudo port install {{报名}}` -- 列出已安装的软件包: +- 列出已安装的软件包: `port installed` -- 更新 port 自身,并获取可用包的最新列表: +- 更新 port 自身,并获取可用包的最新列表: `sudo port selfupdate` -- 升级过时的软件包: +- 升级过时的软件包: `sudo port upgrade outdated` -- 删除已安装的软件包的旧版本: +- 删除已安装的软件包的旧版本: `sudo port uninstall inactive` diff --git a/pages.zh/osx/pushd.md b/pages.zh/osx/pushd.md deleted file mode 100644 index 7c1269c339af5a..00000000000000 --- a/pages.zh/osx/pushd.md +++ /dev/null @@ -1,16 +0,0 @@ -# pushd - -> 将目录放在堆栈上,以便以后访问. -> 另请参阅 `popd` 命令说明,以切换回原始目录. - -- 切换到目录并将其添加到堆栈上: - -`pushd {{directory}}` - -- 切换堆栈上的第一个和第二个目录: - -`pushd` - -- 通过使第 5 个元素成为堆栈的顶部来旋转堆栈: - -`pushd +4` diff --git a/pages.zh/osx/pwgen.md b/pages.zh/osx/pwgen.md deleted file mode 100644 index 51c82d69aede24..00000000000000 --- a/pages.zh/osx/pwgen.md +++ /dev/null @@ -1,15 +0,0 @@ -# pwgen - -> 生成可拼写发音的密码. - -- 生成指定长度的随机密码: - -`pwgen -y {{长度}}` - -- 生成安全、难以记忆的密码: - -`pwgen -s {{长度}}` - -- 生成至少包含一个大写字母的密码: - -`pwgen -c {{长度}}` diff --git a/pages.zh/osx/qlmanage.md b/pages.zh/osx/qlmanage.md index 6a23af79aeacfd..cfa1d83d420dda 100644 --- a/pages.zh/osx/qlmanage.md +++ b/pages.zh/osx/qlmanage.md @@ -1,15 +1,16 @@ # qlmanage -> QuickLook 服务器工具. +> QuickLook 服务器工具。 +> 更多信息:. -- 快速显示一个或多个文件: +- 快速显示一个或多个文件: -`qlmanage -p {{文件名}} {{文件名 2}}` +`qlmanage -p {{路径/到/文件1 路径/到/文件2 ...}}` -- 计算生成当前目录中所有 jpeg 文件的缩略图,300px 宽 png 格式,并将它们放在一个指定目录中: +- 计算生成当前目录中所有 JPEG 文件的缩略图,300px 宽 PNG 格式,并将它们放在一个指定目录中: `qlmanage {{*.jpg}} -t -s {{300}} {{指定目录}}` -- 重置快速查看: +- 重置快速查看: `qlmanage -r` diff --git a/pages.zh/osx/reboot.md b/pages.zh/osx/reboot.md index fd51abd6e9367c..2ea567f046b48a 100644 --- a/pages.zh/osx/reboot.md +++ b/pages.zh/osx/reboot.md @@ -1,11 +1,12 @@ # reboot -> 重启系统. +> 重启系统。 +> 更多信息:. -- 立刻重启: +- 立刻重启: `sudo reboot` -- 立即重启,而无需正常关机: +- 立即重启,而无需正常关机: `sudo reboot -q` diff --git a/pages.zh/osx/route.md b/pages.zh/osx/route.md index 69459afef96d9b..c954ba117fce72 100644 --- a/pages.zh/osx/route.md +++ b/pages.zh/osx/route.md @@ -1,28 +1,29 @@ # route -> 手动操作路由表. -> 需要 root 权限. +> 手动操作路由表。 +> 需要 root 权限。 +> 更多信息:. -- 通过网关向目标添加路由: +- 通过网关向目标添加路由: -`sudo route add {{路由 ip 地址}} {{网关地址}}` +`sudo route add "{{路由 ip 地址}}" "{{网关地址}}"` -- 通过网关向 子网 / 24 添加路由: +- 通过网关向 子网 / 24 添加路由: -`sudo route add {{子网 ip}}/24 {{网关地址}}` +`sudo route add "{{子网 ip}}/24" "{{网关地址}}"` -- 在测试模式下运行(不做任何操作,只打印): +- 在测试模式下运行(不做任何操作,只打印): -`sudo route -t add {{路由 ip 地址}}/24 {{网关地址}}` +`sudo route -t add "{{路由 ip 地址}}/24" "{{网关地址}}"` -- 删除所有路由: +- 删除所有路由: `sudo route flush` -- 删除特定路由: +- 删除特定路由: -`sudo route delete {{路由 ip 地址}}/24` +`sudo route delete "{{路由 ip 地址}}/24"` -- 查找并显示目标的路由(主机名或 IP 地址): +- 查找并显示目标的路由(主机名或 IP 地址): -`sudo route get {{目标}}` +`sudo route get "{{目标}}"` diff --git a/pages.zh/osx/rubocop.md b/pages.zh/osx/rubocop.md deleted file mode 100644 index c93a997a1610fe..00000000000000 --- a/pages.zh/osx/rubocop.md +++ /dev/null @@ -1,31 +0,0 @@ -# rubocop - -> 格式化 Ruby 文件. - -- 检查当前目录中的所有文件(包括子目录): - -`rubocop` - -- 检查一个或多个指定文件或目录: - -`rubocop {{目录 / 文件名}} {{目录 /}}` - -- 将输出写入指定文件: - -`rubocop --out {{目录 / 文件名}}` - -- 查看规则列表(格式化规则): - -`rubocop --show-cops` - -- 排除格式规则: - -`rubocop --except {{规则 1}} {{规则 2}}` - -- 只运行指定的规则: - -`rubocop --only {{规则 1}} {{规则 2}}` - -- 自动更正文件(实验): - -`rubocop --auto-correct` diff --git a/pages.zh/osx/runit.md b/pages.zh/osx/runit.md deleted file mode 100644 index c0cc176a03fdc1..00000000000000 --- a/pages.zh/osx/runit.md +++ /dev/null @@ -1,11 +0,0 @@ -# runit - -> 三级初始化系统. - -- 启动 runit 的三阶段初始化方案: - -`runit` - -- 停止运行 runit: - -`kill --CONT {{runit 进程 id}}` diff --git a/pages.zh/osx/runsv.md b/pages.zh/osx/runsv.md deleted file mode 100644 index 10cf0dad27da7b..00000000000000 --- a/pages.zh/osx/runsv.md +++ /dev/null @@ -1,11 +0,0 @@ -# runsv - -> 启动和管理 runit 服务. - -- 以当前用户身份启动 runit 服务: - -`runsv {{目录 / 服务文件}}` - -- 以 root 用户身份启动 runit 服务: - -`sudo runsv {{目录 / 服务文件}}` diff --git a/pages.zh/osx/runsvchdir.md b/pages.zh/osx/runsvchdir.md deleted file mode 100644 index 7c188a74f305ad..00000000000000 --- a/pages.zh/osx/runsvchdir.md +++ /dev/null @@ -1,7 +0,0 @@ -# runsvchdir - -> 更改默认使用的 `runsvdir` 目录 . - -- 切换 `runsvdir` 目录: - -`sudo runsvchdir {{指定 / 目录}}` diff --git a/pages.zh/osx/runsvdir.md b/pages.zh/osx/runsvdir.md deleted file mode 100644 index 23a3650c1c6f6f..00000000000000 --- a/pages.zh/osx/runsvdir.md +++ /dev/null @@ -1,15 +0,0 @@ -# runsvdir - -> 运行整个目录下的服务. - -- 以当前用户身份启动和管理目录中的所有服务: - -`runsvdir {{目录 / 服务文件}}` - -- 以 root 用户身份启动和管理目录中的所有服务: - -`sudo runsvdir {{目录 / 服务文件}}` - -- 在单独会话中启动服务: - -`runsvdir -P {{目录 / 服务文件}}` diff --git a/pages.zh/osx/say.md b/pages.zh/osx/say.md index 627ec437e85a6a..f6654d79e3d209 100644 --- a/pages.zh/osx/say.md +++ b/pages.zh/osx/say.md @@ -1,23 +1,28 @@ # say -> 将文本转换为语音. +> 将文本转换为语音。 +> 更多信息:. -- 大声说出一个句子: +- 大声说出一个句子: -`say "{{你好,世界!}}"` +`say "{{我喜欢骑脚踏车。}}"` -- 播放文本文件内容音频: +- 播放文本文件内容音频: -`say -f {{文件名.txt}}` +`say --input-file {{文件名.txt}}` -- 用自定义的语音和语音速率说出一个句子: +- 用自定义的语音和语音速率说出一个句子: -`say -v {{语音库名}} -r {{每分钟多少词}} "{{你好,我可以说中文.}}"` +`say --voice {{语音库名}} --rate {{每分钟多少词}} "{{戴夫,我很抱歉,我不能让你那么干。}}"` -- 列出可用的语音库: +- 列出可用的语音库(不同的语音用于不同的语言): -`say --voice="?"` +`say --voice "?"` -- 创建文本的音频文件: +- 用波兰语说一个句子: -`say -o {{文件名.aiff}} "{{你好,请将录音内容输出到文件.}}"` +`say --voice {{Zosia}} "{{Litwo, ojczyzno moja!}}"` + +- 创建文本的音频文件: + +`say --output-file {{文件名.aiff}} "{{献给疯狂的人们。}}"` diff --git a/pages.zh/osx/scutil.md b/pages.zh/osx/scutil.md index 4fd77d6a872ae5..6ebdb1d0f416bb 100644 --- a/pages.zh/osx/scutil.md +++ b/pages.zh/osx/scutil.md @@ -1,28 +1,29 @@ # scutil -> 管理系统配置参数. -> 设置配置时必须是 root 权限. +> 管理系统配置参数。 +> 设置配置时必须是 root 权限。 +> 更多信息:. -- 显示 DNS 配置: +- 显示 DNS 配置: `scutil --dns` -- 显示代理配置: +- 显示代理配置: `scutil --proxy` -- 获取计算机名称: +- 获取计算机名称: `scutil --get ComputerName` -- 设置计算机名称: +- 设置计算机名称: `sudo scutil --set ComputerName {{我的计算机名}}` -- 获取主机名 ( HostName ): +- 获取主机名(HostName): `scutil --get HostName` -- 设置主机名: +- 设置主机名: `scutil --set HostName {{hostname}}` diff --git a/pages.zh/osx/sed.md b/pages.zh/osx/sed.md index d17d148bcd0e6b..184df2d06abc27 100644 --- a/pages.zh/osx/sed.md +++ b/pages.zh/osx/sed.md @@ -1,31 +1,32 @@ # sed -> 以可用脚本的来批量编辑文本. +> 以可用脚本的来批量编辑文本。 +> 更多信息:. -- 替换文件中第一个出现的字符串,并打印结果: +- 替换文件中第一个出现的字符串,并打印结果: `sed 's/{{查找内容}}/{{替换内容}}/' {{文件名}}` -- 替换文件中所有符合正则表达式的部分: +- 替换文件中所有符合正则表达式的部分: `sed -E 's/{{正则表达式}}/{{替换内容}}/g' {{文件名}}` -- 替换文件中所有出现的字符串,覆盖文件(直接覆盖文件): +- 替换文件中所有出现的字符串,覆盖文件(直接覆盖文件): `sed --in-place='' 's/{{查找内容}}/{{替换内容}}/g' {{文件名}}` -- 仅替换与行模式(一种搜索条件)匹配的行内容: +- 仅替换与行模式(一种搜索条件)匹配的行内容: `sed '/{{行模式}}/s/{{查找内容}}/{{替换内容}}/' {{文件名}}` -- 只打印第 n 行到下一行之间的文本: +- 只打印第 n 行到下一行之间的文本: `sed -n '{{行号}},/^$/p' {{文件名}}` -- 将多个查找替换表达式应用于文件: +- 将多个查找替换表达式应用于文件: `sed -e 's/{{查找内容}}/{{替换内容}}/' -e 's/{{查找内容}}/{{替换内容}}/' {{文件名}}` -- 将分隔符 / 替换为查找或替换模式中没有用到的的任何其他字符,例如 # (用于查找或替换内容中使用了 / 的情况): +- 将分隔符 / 替换为查找或替换模式中没有用到的的任何其他字符,例如 #(用于查找或替换内容中使用了 / 的情况): `sed 's#{{查找内容}}#{{替换内容}}#' {{文件名}}` diff --git a/pages.zh/osx/shasum.md b/pages.zh/osx/shasum.md deleted file mode 100644 index d28332f67c71ba..00000000000000 --- a/pages.zh/osx/shasum.md +++ /dev/null @@ -1,23 +0,0 @@ -# shasum - -> 计算或检查加密 SHA 校验值. - -- 计算文件的 SHA1 校验值: - -`shasum {{文件名}}` - -- 计算文件的 SHA256 校验值: - -`shasum --algorithm 256 {{文件名}}` - -- 计算多个文件的 SHA512 校验值: - -`shasum --algorithm 512 {{文件名 1}} {{文件名 2}}` - -- 计算一个文件内列出的所有的目录文件的相对应的总数: - -`shasum --check {{列表文件}}` - -- 从标准输入中获取并计算 SHA1 校验值: - -`{{其他命令}} | shasum` diff --git a/pages.zh/osx/shuf.md b/pages.zh/osx/shuf.md index 673d920c6d1141..dc89d2ed386dc1 100644 --- a/pages.zh/osx/shuf.md +++ b/pages.zh/osx/shuf.md @@ -1,19 +1,20 @@ # shuf -> 生成随机排列. +> 生成随机排列。 +> 更多信息:. -- 随机化文件中的行顺序并输出结果: +- 随机化文件中的行顺序并输出结果: `shuf {{文件名}}` -- 只输出结果的前 5 条: +- 只输出结果的前 5 条: -`shuf -n {{5}} {{文件名}}` +`shuf --head-count=5 {{路径/到/文件}}` -- 将结果输出写入另一个文件: +- 将结果输出写入另一个文件: -`shuf {{文件名}} -o {{输出_文件名}}` +`shuf {{路径/到/输入文件}} --output {{路径/到/输出文件}}` -- 生成范围 (1-10) 内的随机数: +- 生成范围(1-10)内的随机数: -`shuf -i {{1-10}}` +`shuf --input-range=1-10` diff --git a/pages.zh/osx/shutdown.md b/pages.zh/osx/shutdown.md index 589d220511c5f1..441ab92c62e185 100644 --- a/pages.zh/osx/shutdown.md +++ b/pages.zh/osx/shutdown.md @@ -1,19 +1,28 @@ # shutdown -> 关闭并重新启动系统. +> 关闭并重新启动系统。 +> 更多信息:. -- 立即关机: +- 立即关机: `shutdown -h now` -- 立即休眠: +- 立即休眠: `shutdown -s now` -- 立即重启: +- 立即重启: `shutdown -r now` -- 倒计时 5 分钟重启: +- 倒计时 5 分钟重启: -`shutdown -r +{{5}}` +`shutdown -r "+{{5}}"` + +- 在下午 1:00(使用 24 小时时钟)关机: + +`shutdown -h {{1300}}` + +- 在 2042 年 5 月 10 日上午 11:30 重新启动(输入格式:年年月月日日时时分分): + +`shutdown -r {{4205101130}}` diff --git a/pages.zh/osx/sips.md b/pages.zh/osx/sips.md index af60f00f843479..e6e9f242992b29 100644 --- a/pages.zh/osx/sips.md +++ b/pages.zh/osx/sips.md @@ -1,28 +1,29 @@ # sips -> 苹果的处理文件脚本系统. -> 光栅 / 查询图像 和 颜色同步 ICC 配置文件. +> 苹果的处理文件脚本系统。 +> 光栅 / 查询图像 和 颜色同步 ICC 配置文件。 +> 更多信息:. -- S 指定一个输出目录,这样原始文件就不会被修改: +- S 指定一个输出目录,这样原始文件就不会被修改: `sips --out {{目标 / 文件夹 / 输出文件夹}}` -- 以指定的大小对图像重新采样,图像纵横比可能会更改: +- 以指定的大小对图像重新采样,图像纵横比可能会更改: -`sips -z {{1920}} {{300}} {{图片文件。扩展名}}` +`sips --resampleHeightWidth {{1920}} {{300}} {{图片文件。扩展名}}` -- 对图像重新取样,使高度和宽度不大于指定的大小(注意大写 Z): +- 对图像重新取样,使高度和宽度不大于指定的大小(注意大写 Z): -`sips -Z {{1920}} {{300}} {{图片文件。扩展名}}` +`sips --resampleHeightWidthMax {{1920}} {{300}} {{图片文件。扩展名}}` -- 对目录中的所有图像重新取样,以适应 960px 的宽度(保持纵横比): +- 对目录中的所有图像重新取样,以适应 960px 的宽度(保持纵横比): `sips --resampleWidth {{960}} {{目标 / 文件夹 / 所有图片文件}}` -- 将图像从 CMYK 转换为 RGB: +- 将图像从 CMYK 转换为 RGB: -`sips --matchTo '/System/Library/ColorSync/Profiles/Generic RGB Profile.icc' {{目标 / 文件夹 / 图片。扩展}} {{目标 / 文件夹 / 输出文件夹}}` +`sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{目标 / 文件夹 / 图片。扩展}} {{目标 / 文件夹 / 输出文件夹}}` -- 从图像中删除 ColorSync ICC 配置: +- 从图像中删除 ColorSync ICC 配置: -`sips -d profile --deleteColorManagementProperties {{目标 / 文件夹 / 图片。扩展}}` +`sips --deleteProperty profile --deleteColorManagementProperties {{目标 / 文件夹 / 图片。扩展}}` diff --git a/pages.zh/osx/softwareupdate.md b/pages.zh/osx/softwareupdate.md index 920983585d7f43..47a79e0285b9fa 100644 --- a/pages.zh/osx/softwareupdate.md +++ b/pages.zh/osx/softwareupdate.md @@ -1,19 +1,20 @@ # softwareupdate -> 通过命令行更新 MacOS 应用商店中应用程序的工具. +> 通过命令行更新 macOS 应用商店中应用程序的工具。 +> 更多信息:. -- 列出所有可用的更新: +- 列出所有可用的更新: -`softwareupdate -l` +`softwareupdate --list` -- 下载并安装所有更新: +- 下载并安装所有更新: -`softwareupdate -ia` +`softwareupdate --install --all` -- 下载并安装所有推荐的更新: +- 下载并安装所有推荐的更新: -`softwareupdate -ir` +`softwareupdate --install --recommended` -- 下载并安装特定的应用程序: +- 下载并安装特定的应用程序: -`softwareupdate -i {{更新应用程序名}}` +`softwareupdate --install {{更新应用程序名}}` diff --git a/pages.zh/osx/split.md b/pages.zh/osx/split.md index 88fd3711067846..0a699da56d92cf 100644 --- a/pages.zh/osx/split.md +++ b/pages.zh/osx/split.md @@ -1,15 +1,16 @@ # split -> 把一个文件拆分成几块. +> 把一个文件拆分成几块。 +> 更多信息:. -- 分割一个文件,每个分割部分有 10 行(除了最后一个): +- 分割一个文件,每个分割部分有 10 行(除了最后一个): -`split -l {{10}} {{文件名}}` +`split -l 10 {{路径/到/文件}}` -- 用正则表达式拆分文件。匹配行将是下一个输出文件的第一行: +- 用正则表达式拆分文件。匹配行将是下一个输出文件的第一行: -`split -p {{cat|^[dh]og}} {{文件名}}` +`split -p {{cat|^[dh]og}} {{路径/到/文件}}` -- 拆分一个文件,每个拆分中有 512 个字节(除了最后一个文件,使用 512K 表示 Kb,512M 表示 Mb): +- 拆分一个文件,每个拆分中有 512 个字节(除了最后一个文件,使用 512K 表示 Kb,512M 表示 Mb): -`split -b {{512}} {{文件名}}` +`split -b 512 {{路径/到/文件}}` diff --git a/pages.zh/osx/ssh-add.md b/pages.zh/osx/ssh-add.md deleted file mode 100644 index 07550020672315..00000000000000 --- a/pages.zh/osx/ssh-add.md +++ /dev/null @@ -1,28 +0,0 @@ -# ssh-add - -> 在 ssh 代理中管理加载的 ssh 密钥. -> 需要确保 ssh 代理已启动并正在运行以加载其中的密钥. - -- 将 "~/.ssh" 中的默认 ssh 密钥添加到 ssh 代理: - -`ssh-add` - -- 向 ssh 代理添加指定密钥: - -`ssh-add {{目录 / 私钥文件}}` - -- 列出当前加载的密钥的指纹: - -`ssh-add -l` - -- 从 ssh 代理中删除密钥: - -`ssh-add -d {{目录 / 私钥文件}}` - -- 从 ssh 代理中删除所有当前已有的密钥: - -`ssh-add -D` - -- 向 ssh 代理和密钥链添加密钥: - -`ssh-add -K {{目录 / 私钥文件}}` diff --git a/pages.zh/osx/sshuttle.md b/pages.zh/osx/sshuttle.md deleted file mode 100644 index b2eebe8fd3e398..00000000000000 --- a/pages.zh/osx/sshuttle.md +++ /dev/null @@ -1,16 +0,0 @@ -# sshuttle - -> 通过 ssh 连接传输流量的透明代理服务器. -> 不需要管理员或远程 ssh 服务器上的任何特殊设置. - -- 通过远程 ssh 服务器转发所有 IPv4 TCP 流量: - -`sshuttle --remote={{用户名}}@{{服务器名}} {{0.0.0.0/0}}` - -- 转发所有 IPv4 TCP 和 DNS 流量: - -`sshuttle --dns --remote={{用户名}}@{{服务器名}} {{0.0.0.0/0}}` - -- 使用 tproxy 方法转发所有 IPv4 和 IPv6 流量: - -`sudo sshuttle --method=tproxy --remote={{用户名}}@{{服务器名}} {{0.0.0.0/0}} {{::/0}} --exclude={{你本地 IP 地址}} --exclude={{SSH 服务器的 IP 地址}}` diff --git a/pages.zh/osx/stat.md b/pages.zh/osx/stat.md index 9909f061bdf3de..59b8de0bd248b5 100644 --- a/pages.zh/osx/stat.md +++ b/pages.zh/osx/stat.md @@ -1,23 +1,24 @@ # stat -> 显示文件状态. +> 显示文件状态。 +> 更多信息:. -- 显示文件属性,如大小、权限、创建和访问日期等: +- 显示文件属性,如大小、权限、创建和访问日期等: `stat {{文件}}` -- 与上面相同,但更详细(更类似于 Linux 的 `stat`): +- 与上面相同,但更详细(更类似于 Linux 的 `stat`): `stat -x {{文件}}` -- 只显示文件权限: +- 只显示文件权限: `stat -f %Mp%Lp {{文件}}` -- 显示文件的所有者和所属组: +- 显示文件的所有者和所属组: `stat -f "%Su %Sg" {{文件}}` -- 以字节为单位显示文件的大小: +- 以字节为单位显示文件的大小: `stat -f "%z %N" {{文件}}` diff --git a/pages.zh/osx/stty.md b/pages.zh/osx/stty.md deleted file mode 100644 index b0e5c8edc05020..00000000000000 --- a/pages.zh/osx/stty.md +++ /dev/null @@ -1,23 +0,0 @@ -# stty - -> 设置终端设备接口的选项. - -- 显示当前终端的所有设置: - -`stty -a` - -- 设置行数: - -`stty rows {{行数}}` - -- 设置列数: - -`stty cols {{列数}}` - -- 获取设备的实际传输速度: - -`stty -f {{目标 / 文件夹 / 驱动设备文件}} speed` - -- 将当前终端的所有模式重置为合理值: - -`stty sane` diff --git a/pages.zh/osx/sv.md b/pages.zh/osx/sv.md deleted file mode 100644 index ac35be4bfb5038..00000000000000 --- a/pages.zh/osx/sv.md +++ /dev/null @@ -1,15 +0,0 @@ -# sv - -> 控制正在运行的服务. - -- 启动服务: - -`sudo sv up {{目标目录 / 服务文件}}` - -- 停止服务: - -`sudo sv down {{目标目录 / 服务文件}}` - -- 获取服务状态: - -`sudo sv status {{目标目录 / 服务文件}}` diff --git a/pages.zh/osx/sw_vers.md b/pages.zh/osx/sw_vers.md index a76ee69f6f877a..eaa667aec3ad00 100644 --- a/pages.zh/osx/sw_vers.md +++ b/pages.zh/osx/sw_vers.md @@ -1,11 +1,16 @@ # sw_vers -> 打印 MacOS 软件版本信息. +> 打印 macOS 操作系统的版本信息。 +> 更多信息:. -- 打印 MacOS 版本: +- 打印所有可用信息(操作系统名称、版本号和构建版本): + +`sw_vers` + +- 只打印操作系统的版本号: `sw_vers -productVersion` -- 打印 MacOS 构建版本: +- 只打印构建版本的标识符: `sw_vers -buildVersion` diff --git a/pages.zh/osx/sysctl.md b/pages.zh/osx/sysctl.md index e5f203e710db46..a3fe7b8f0ffcaa 100644 --- a/pages.zh/osx/sysctl.md +++ b/pages.zh/osx/sysctl.md @@ -1,23 +1,24 @@ # sysctl -> 访问内核状态信息. +> 访问内核状态信息。 +> 更多信息:. -- 显示所有可用变量及其值: +- 显示所有可用变量及其值: `sysctl -a` -- 显示 Apple 型号标识符: +- 显示 Apple 型号标识符: `sysctl -n hw.model` -- 显示 CPU 模型: +- 显示 CPU 模型: `sysctl -n machdep.cpu.brand_string` -- 显示可用的 CPU 功能 (MMX, SSE, SSE2, SSE3, AES, 等): +- 显示可用的 CPU 功能(MMX, SSE, SSE2, SSE3, AES, 等): `sysctl -n machdep.cpu.features` -- 设置一个可更改的内核状态变量: +- 设置一个可更改的内核状态变量: `sysctl -w {{部分。可修改的变量}}={{值}}` diff --git a/pages.zh/osx/system_profiler.md b/pages.zh/osx/system_profiler.md index ad86347194e641..a5eb0cc312c756 100644 --- a/pages.zh/osx/system_profiler.md +++ b/pages.zh/osx/system_profiler.md @@ -1,15 +1,16 @@ # system_profiler -> 报告系统硬件和软件配置. +> 报告系统硬件和软件配置。 +> 更多信息:. -- 显示可由 System Profiler.app 打开的完整系统资源报告: +- 显示可由 System Profiler.app 打开的完整系统资源报告: `system_profiler -xml > MyReport.spx` -- 显示硬件概述(型号、CPU、内存、串行等): +- 显示硬件概述(型号、CPU、内存、串行等): `system_profiler SPHardwareDataType` -- 打印系统序列号: +- 打印系统序列号: `system_profiler SPHardwareDataType|grep "Serial Number (system)" |awk '{print $4}'` diff --git a/pages.zh/osx/systemsetup.md b/pages.zh/osx/systemsetup.md index dbac41ab431525..3f800290cae80e 100644 --- a/pages.zh/osx/systemsetup.md +++ b/pages.zh/osx/systemsetup.md @@ -1,23 +1,24 @@ # systemsetup -> 配置系统首选项计算机设置. +> 配置系统首选项计算机设置。 +> 更多信息:. -- 启用远程登录 (SSH): +- 启用远程登录(SSH): `systemsetup -setremotelogin on` -- 指定时区、NTP 服务器并启用网络时间: +- 指定时区、NTP 服务器并启用网络时间: -`systemsetup -settimezone {{美国 / 太平洋}} -setnetworktimeserver {{us.pool.ntp.org}} -setusingnetworktime on` +`systemsetup -settimezone "{{美国 / 太平洋}}" -setnetworktimeserver {{us.pool.ntp.org}} -setusingnetworktime on` -- 使机器从不休眠,并在电源故障或内核死机时自动重新启动: +- 使机器从不休眠,并在电源故障或内核死机时自动重新启动: `systemsetup -setsleep off -setrestartpowerfailure on -setrestartfreeze on` -- disks 选择启动: +- disks 选择启动: `systemsetup -liststartupdisks` -- 指定新的启动盘: +- 指定新的启动盘: `systemsetup -setstartupdisk {{路径}}` diff --git a/pages.zh/osx/textutil.md b/pages.zh/osx/textutil.md index 8fa3f49c31ecdc..6f8a4cba14b753 100644 --- a/pages.zh/osx/textutil.md +++ b/pages.zh/osx/textutil.md @@ -1,23 +1,24 @@ # textutil -> 用于操作各种格式的文本文件. +> 用于操作各种格式的文本文件。 +> 更多信息:. -- 显示有关 foo.rtf 的信息: +- 显示有关 `foo.rtf` 的信息: `textutil -info {{foo.rtf}}` -- 将 foo.rtf 转换为 foo.html: +- 将 `foo.rtf` 转换为 `foo.html`: `textutil -convert {{html}} {{foo.rtf}}` -- 将带格式的 rtf 文本转换为普通 txt 文本: +- 将带格式的 rtf 文本转换为普通 txt 文本: `textutil {{foo.rtf}} -convert {{txt}}` -- 将 foo.txt 转换为 foo.rtf, 字体使用 Times 字号 10: +- 将 `foo.txt` 转换为 `foo.rtf`, 字体使用 Times 字号 10: `textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}` -- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 index.html 写入,HTML 标题设置为"多个文件": +- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 `index.html` 写入,HTML 标题设置为"多个文件": `textutil -cat {{html}} -title "多个文件" -output {{index.html}} *.rtf` diff --git a/pages.zh/osx/top.md b/pages.zh/osx/top.md index 5728ea2a61c995..033793bde00f05 100644 --- a/pages.zh/osx/top.md +++ b/pages.zh/osx/top.md @@ -1,23 +1,24 @@ # top -> 显示运行进程的动态实时信息. +> 显示运行进程的动态实时信息。 +> 更多信息:. -- 执行 top 命令,界面中提供所有选项: +- 执行 top 命令,界面中提供所有选项: `top` -- 按内部内存大小排序进程(默认顺序 - 进程 ID): +- 按内部内存大小排序进程(默认顺序 - 进程 ID): `top -o mem` -- 首先按 CPU 启动顺序排序进程,然后按运行时间排序: +- 首先按 CPU 启动顺序排序进程,然后按运行时间排序: `top -o cpu -O time` -- 只显示给定用户拥有的进程: +- 只显示给定用户拥有的进程: `top -user {{用户名}}` -- 获取有关交互式命令的帮助(我测试并没看到这个功能): +- 获取有关交互式命令的帮助(我测试并没看到这个功能): -`?` +`` diff --git a/pages.zh/osx/trap.md b/pages.zh/osx/trap.md deleted file mode 100644 index 064aaabf7fdcc5..00000000000000 --- a/pages.zh/osx/trap.md +++ /dev/null @@ -1,20 +0,0 @@ -# trap - -> 在进程或操作系统接收到信号后自动执行命令. -> 可用于对用户中断或其他操作执行清理. - -- 列出设置 trap 的可用信号: - -`trap -l` - -- 列出当前 shell 程序的活动 trap 程序: - -`trap -p` - -- 设置 trap 以在检测到一个或多个信号时执行命令: - -`trap 'echo "检测到信号 {{SIGHUP}}"' {{SIGHUP}}` - -- 移除活动 trap: - -`trap - {{SIGHUP}} {{SIGINT}}` diff --git a/pages.zh/osx/tree.md b/pages.zh/osx/tree.md deleted file mode 100644 index c647baaeabb572..00000000000000 --- a/pages.zh/osx/tree.md +++ /dev/null @@ -1,31 +0,0 @@ -# tree - -> 以树的形式显示当前目录的内容. - -- 显示深度达到 “级数” 级的文件和目录(其中 1 表示当前目录): - -`tree -L {{级数}}` - -- 只显示目录: - -`tree -d` - -- 同时显示隐藏文件: - -`tree -a` - -- 打印没有缩进行的树,显示完整路径(使用`-N`不转义空格和特殊字符): - -`tree -i -f` - -- 以可读格式打印每个文件节点的大小,目录显示其累积大小(类似在`du`命令中所示): - -`tree -s -h --du` - -- 使用通配符(glob)模式在树层次结构中查找文件,并删除不包含匹配文件的目录: - -`tree -P '{{*.txt}}' --prune` - -- 在树层次结构中查找目录,删除不属于所需目录的目录: - -`tree -P {{文件夹名}} --matchdirs --prune` diff --git a/pages.zh/osx/uname.md b/pages.zh/osx/uname.md index dff966afc9e513..bf7aed8e5f4f9f 100644 --- a/pages.zh/osx/uname.md +++ b/pages.zh/osx/uname.md @@ -1,20 +1,25 @@ # uname -> 打印当前计算机及其上运行的操作系统的详细信息. -> 注意:有关操作系统的其他信息,请尝试使用 `sw-vers` 命令. +> 打印当前计算机及其上运行的操作系统的详细信息。 +> 注意:有关操作系统的其他信息,请尝试使用 `sw-vers` 命令。 +> 更多信息:. -- 打印硬件相关:架构信息和处理器: +- 打印内核名称: + +`uname` + +- 打印系统架构和处理器信息: `uname -mp` -- 打印软件相关信息:操作系统、版本号和版本: +- 打印内核名称、内核版本号和内核版本详细信息: `uname -srv` -- 打印系统的节点名称(主机名): +- 打印系统主机名: `uname -n` -- 打印所有可用的系统信息(硬件、软件、节点名): +- 打印所有可用的系统信息: `uname -a` diff --git a/pages.zh/osx/units.md b/pages.zh/osx/units.md deleted file mode 100644 index 1ffceda00c5159..00000000000000 --- a/pages.zh/osx/units.md +++ /dev/null @@ -1,27 +0,0 @@ -# units - -> 提供两个度量单位之间的转换. - -- 以交互模式运行: - -`units` - -- 显示两个简单单位之间的转换: - -`units {{quarts(夸脱)}} {{tablespoons(大汤匙)}}` - -- 单位与数量之间的转换: - -`units "{{15 pounds(磅)}}" {{kilograms(公斤)}}` - -- 显示两个复合单位之间的转换: - -`units "{{meters(米) / second(秒)}}" "{{inches(英尺) / hour(小时)}}"` - -- 显示具有不同维度的单位之间的转换: - -`units "{{acres(英亩)}}" "{{ft(英尺)^2(平方)}}"` - -- 显示字节乘数的转换: - -`units "{{15 megabytes(兆字节)}}" {{bytes(字节)}}` diff --git a/pages.zh/osx/uptime.md b/pages.zh/osx/uptime.md new file mode 100644 index 00000000000000..b29f0b9621f627 --- /dev/null +++ b/pages.zh/osx/uptime.md @@ -0,0 +1,8 @@ +# uptime + +> 告知当前系统运行多长时间和其他信息。 +> 更多信息:. + +- 打印当前时间,运行时间,登录用户数量和其他信息: + +`uptime` diff --git a/pages.zh/osx/w.md b/pages.zh/osx/w.md index 02c932a36f26d3..c332c4ff431489 100644 --- a/pages.zh/osx/w.md +++ b/pages.zh/osx/w.md @@ -1,16 +1,17 @@ # w -> 显示谁登录以及他们在做什么. -> 打印用户登录、tty、远程主机、登录时间、空闲时间、当前进程. +> 显示谁登录以及他们在做什么。 +> 打印用户登录、tty、远程主机、登录时间、空闲时间、当前进程。 +> 更多信息:. -- 显示登录用户信息: +- 显示登录用户信息: `w` -- 显示没有标题的登录用户信息: +- 显示没有标题的登录用户信息: `w -h` -- 显示有关已登录用户的信息,按其空闲时间排序: +- 显示有关已登录用户的信息,按其空闲时间排序: `w -i` diff --git a/pages.zh/osx/wacaw.md b/pages.zh/osx/wacaw.md index 297a522090e7d6..1006bc906f996b 100644 --- a/pages.zh/osx/wacaw.md +++ b/pages.zh/osx/wacaw.md @@ -1,23 +1,24 @@ # wacaw -> 一个用于 MacOS 的小命令行工具,允许您从连接的摄像头捕获静止图片和视频 +> 一个用于 macOS 的小命令行工具,允许您从连接的摄像头捕获静止图片和视频。 +> 更多信息:. -- 从网络摄像机拍照: +- 从网络摄像机拍照: `wacaw {{文件名}}` -- 录制视频: +- 录制视频: -`wacaw --video {{文件名}} -D {{录制多少秒}}` +`wacaw --video {{文件名}} --duration {{录制多少秒}}` -- 用自定义分辨率拍照: +- 用自定义分辨率拍照: -`wacaw -x {{宽}} -y {{高}} {{文件名}}` +`wacaw --width {{宽}} --height {{高}} {{文件名}}` -- 将刚拍摄的图像复制到剪贴板: +- 将刚拍摄的图像复制到剪贴板: `wacaw --to-clipboard` -- 可用设备列表: +- 可用设备列表: -`wacaw -L` +`wacaw --list-devices` diff --git a/pages.zh/osx/whereis.md b/pages.zh/osx/whereis.md deleted file mode 100644 index 1cae10f6120e62..00000000000000 --- a/pages.zh/osx/whereis.md +++ /dev/null @@ -1,19 +0,0 @@ -# whereis - -> 找到命令的二进制,源文件和手册文件. - -- 找到 `ssh` 命令的二进制、源文件和手册页: - -`whereis {{ssh}}` - -- 查找 `ls` 命令的二进制和手册页: - -`whereis -bm {{ls}}` - -- 找到 `gc` 的源文件和 `git` 的手册页: - -`whereis -s {{gcc}} -m {{git}}` - -- 仅在 /usr/bin/ 目录中查找 `gcc` 的二进制文件: - -`whereis -b -B {{/usr/bin/}} -f {{gcc}}` diff --git a/pages.zh/osx/wifi-password.md b/pages.zh/osx/wifi-password.md index 60a941ef6489ad..56c973f35618f6 100644 --- a/pages.zh/osx/wifi-password.md +++ b/pages.zh/osx/wifi-password.md @@ -1,16 +1,16 @@ # wifi-password -> 获取 wifi 的密码. -> 更多信息: . +> 获取 Wi-Fi 的密码。 +> 更多信息:. -- 获取你当前登录的 wifi 的密码: +- 获取你当前登录的 Wi-Fi 的密码: `wifi-password` -- 获取特定 SSID 的 wifi 的密码: +- 获取特定 SSID 的 Wi-Fi 的密码: `wifi-password {{ssid}}` -- 仅输出密码: +- 仅输出密码: `wifi-password -q` diff --git a/pages.zh/osx/xattr.md b/pages.zh/osx/xattr.md index 34c5c81ffe8d03..53778f11ecfb79 100644 --- a/pages.zh/osx/xattr.md +++ b/pages.zh/osx/xattr.md @@ -1,23 +1,24 @@ # xattr -> 用于扩展文件系统属性的实用程序. +> 用于扩展文件系统属性的实用程序。 +> 更多信息:. -- 列出 键:值 列表,显示指定文件的值扩展属性: +- 列出 键:值 列表,显示指定文件的值扩展属性: `xattr -l {{文件名}}` -- 为给定文件写入属性: +- 为给定文件写入属性: `xattr -w {{属性键名}} {{属性值}} {{文件名}}` -- 从给定文件中删除属性: +- 从给定文件中删除属性: `xattr -d {{com.apple.quarantine}} {{文件名}}` -- 从给定文件中删除所有扩展属性: +- 从给定文件中删除所有扩展属性: `xattr -c {{文件名}}` -- 递归删除给定目录中文件的属性: +- 递归删除给定目录中文件的属性: `xattr -rd {{属性键名}} {{目录}}` diff --git a/pages.zh/osx/xcodebuild.md b/pages.zh/osx/xcodebuild.md index d07f304e10073d..0619c9a897ba11 100644 --- a/pages.zh/osx/xcodebuild.md +++ b/pages.zh/osx/xcodebuild.md @@ -1,15 +1,16 @@ # xcodebuild -> 构建 Xcode 项目. +> 构建 Xcode 项目。 +> 更多信息:. -- 构建工作区: +- 构建工作区: `xcodebuild -workspace {{工作区名.工作区}} -scheme {{主题名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}` -- 构建项目: +- 构建项目: `xcodebuild -target {{目标名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}` -- 显示 SDK: +- 显示 SDK: `xcodebuild -showsdks` diff --git a/pages.zh/osx/xctool.md b/pages.zh/osx/xctool.md index 8120b2df2cd7b1..748c204344a4d0 100644 --- a/pages.zh/osx/xctool.md +++ b/pages.zh/osx/xctool.md @@ -1,15 +1,16 @@ # xctool -> 用于构建 Xcode 项目的工具. +> 用于构建 Xcode 项目的工具。 +> 更多信息:. -- 在没有任何工作区的情况下生成单个项目: +- 在没有任何工作区的情况下生成单个项目: `xctool -project {{你的项目.名称}} -scheme {{方案}} build` -- 构建属于工作区的项目: +- 构建属于工作区的项目: `xctool -workspace {{你的工作区.名字}} -scheme {{方案}} build` -- 清理、构建和执行所有测试: +- 清理、构建和执行所有测试: `xctool -workspace {{你的工作区.名字}} -scheme {{方案}} clean build test` diff --git a/pages.zh/osx/xed.md b/pages.zh/osx/xed.md index ef3e5733ab5b59..c12e3f683c6281 100644 --- a/pages.zh/osx/xed.md +++ b/pages.zh/osx/xed.md @@ -1,15 +1,16 @@ # xed -> 用 Xcode 打开要编辑的文件. +> 用 Xcode 打开要编辑的文件。 +> 更多信息:. -- 用 XCode 打开文件 : +- 用 Xcode 打开文件: `xed {{文件名}}` -- 在 Xcode 中打开文件,如果不存在则创建: +- 在 Xcode 中打开文件,如果不存在则创建: -`xed -c {{文件名}}` +`xed --create {{文件名}}` -- 在 Xcode 中打开一个文件并跳转到第 75 行: +- 在 Xcode 中打开一个文件并跳转到第 75 行: -`xed -l 75 {{文件名}}` +`xed --line 75 {{文件名}}` diff --git a/pages.zh/osx/xsltproc.md b/pages.zh/osx/xsltproc.md index 2cdb5a9633e80f..8700efe7015612 100644 --- a/pages.zh/osx/xsltproc.md +++ b/pages.zh/osx/xsltproc.md @@ -1,11 +1,12 @@ # xsltproc -> 用 XSLT 转换 XML 以生成输出(通常是 HTML 或 XML ). +> 用 XSLT 转换 XML 以生成输出(通常是 HTML 或 XML)。 +> 更多信息:. -- 使用特定的 XSLT 样式表转换 XML 文件: +- 使用特定的 XSLT 样式表转换 XML 文件: `xsltproc --output {{输出.html}} {{样式表.xslt}} {{xml 文件.xml}}` -- 将值传递给样式表中的参数: +- 将值传递给样式表中的参数: -`xsltproc --output {{输出.html}} --stringparam {{键名}} {{值}} {{样式表.xslt}} {{xml 文件.xml}}` +`xsltproc --output {{输出.html}} --stringparam "{{键名}}" "{{值}}" {{样式表.xslt}} {{xml 文件.xml}}` diff --git a/pages.zh/osx/yank.md b/pages.zh/osx/yank.md deleted file mode 100644 index 5cb7fc32559a33..00000000000000 --- a/pages.zh/osx/yank.md +++ /dev/null @@ -1,19 +0,0 @@ -# yank - -> 从 `stdin` 读取输入并显示一个选择界面,该界面允许选择一个字段并将其复制到剪贴板. - -- 使用默认分隔符 (\f, \n, \r, \s, \t): - -`{{sudo dmesg}} | yank` - -- 输入单行: - -`{{sudo dmesg}} | yank -l` - -- 使用特定分 `=` 隔符输入: - -`{{echo hello=world}} | yank -d {{=}}` - -- 只有与特定正则表达式匹配的内容才输入: - -`{{ps ux}} | yank -g "{{[0-9]+}}"` diff --git a/pages.zh/sunos/dmesg.md b/pages.zh/sunos/dmesg.md index c151558421b4a7..36df6a9c656aaf 100644 --- a/pages.zh/sunos/dmesg.md +++ b/pages.zh/sunos/dmesg.md @@ -1,15 +1,16 @@ # dmesg -> 将内核消息写入标准输出. +> 将内核消息写入标准输出。 +> 更多信息:. -- 显示内核消息: +- 显示内核消息: `dmesg` -- 显示此系统上可用的物理内存: +- 显示此系统上可用的物理内存: `dmesg | grep -i memory` -- 一次显示一页内核消息: +- 一次显示一页内核消息: `dmesg | less` diff --git a/pages.zh/sunos/sv.md b/pages.zh/sunos/sv.md deleted file mode 100644 index 113868eecb0a81..00000000000000 --- a/pages.zh/sunos/sv.md +++ /dev/null @@ -1,15 +0,0 @@ -# sv - -> 控制正在运行的 runsv 服务. - -- 启动服务: - -`sudo sv up {{路径/服务}` - -- 停止服务: - -`sudo sv down {{路径/服务}}` - -- 获取服务状态: - -`sudo sv status {{路径/服务}}` diff --git a/pages.zh/windows/assoc.md b/pages.zh/windows/assoc.md index 3d599ec912cde3..65966dc3066d37 100644 --- a/pages.zh/windows/assoc.md +++ b/pages.zh/windows/assoc.md @@ -1,15 +1,16 @@ # assoc -> 显示或修改文件扩展名关联. +> 显示或修改文件扩展名关联。 +> 更多信息:. -- 显示所有当前文件扩展名关联的列表: +- 显示所有当前文件扩展名关联的列表: `assoc` -- 显示指定扩展名的关联文件类型: +- 显示指定扩展名的关联文件类型: `assoc {{.txt}}` -- 将文件扩展名与特定的文件类型关联: +- 将文件扩展名与特定的文件类型关联: `assoc {{.txt}}={{txtfile}}` diff --git a/pages.zh/windows/attrib.md b/pages.zh/windows/attrib.md index 60bec0a5998311..2677250de8c21b 100644 --- a/pages.zh/windows/attrib.md +++ b/pages.zh/windows/attrib.md @@ -1,27 +1,8 @@ # attrib -> 显示或修改文件和目录的属性. +> 显示或修改文件和目录的属性。 +> 更多信息:. -- 显示当前目录下所有文件的属性: +- 显示当前目录下所有文件的属性: `attrib` - -- 显示当前目录和其子目录下所有文件的属性: - -`attrib /S` - -- 显示当前目录和其子目录下所有文件和目录的属性: - -`attrib /S /D` - -- 为一个文件增加只读属性: - -`attrib +R {{document.txt}}` - -- 删除一个文件的系统和隐藏属性: - -`attrib -S -H {{document.txt}}` - -- 为一个目录增加隐藏属性: - -`attrib +H {{目录的路径}}` diff --git a/pages.zh/windows/choco-feature.md b/pages.zh/windows/choco-feature.md index 5c7f320647e5c5..873f975ef117bd 100644 --- a/pages.zh/windows/choco-feature.md +++ b/pages.zh/windows/choco-feature.md @@ -1,15 +1,16 @@ # choco feature -> Chocolatey 的交互功能. +> Chocolatey 的交互功能。 +> 更多信息:. -- 显示可用的功能列表: +- 显示可用的功能列表: `choco feature list` -- 启用一个功能: +- 启用一个功能: `choco feature enable --name {{功能名称}}` -- 禁用一个功能: +- 禁用一个功能: `choco feature disable --name {{功能名称}}` diff --git a/pages.zh/windows/choco-info.md b/pages.zh/windows/choco-info.md index fdfdccd5c3345b..a64cf492e47210 100644 --- a/pages.zh/windows/choco-info.md +++ b/pages.zh/windows/choco-info.md @@ -1,19 +1,20 @@ # choco info -> 显示有关 Chocolatey 包的详细信息. +> 显示有关 Chocolatey 包的详细信息。 +> 更多信息:. -- 显示指定包的信息: +- 显示指定包的信息: `choco info {{包名}}` -- 显示一个本地已安装包的信息: +- 显示一个本地已安装包的信息: `choco info {{包名}} --local-only` -- 从一个自定义的源来获取包的信息: +- 从一个自定义的源来获取包的信息: `choco info {{包名}} --source {{源 URL|别名}}` -- 提供一个用户名和密码来进行验证: +- 提供一个用户名和密码来进行验证: `choco info {{包名}} --user {{用户名}} --password {{密码}}` diff --git a/pages.zh/windows/choco-install.md b/pages.zh/windows/choco-install.md index 90143c5ef221b4..c76e76b5a342f1 100644 --- a/pages.zh/windows/choco-install.md +++ b/pages.zh/windows/choco-install.md @@ -1,35 +1,36 @@ # choco install -> 使用 Chocolatey 下载一个或多个包. +> 使用 Chocolatey 下载一个或多个包。 +> 更多信息:. -- 安装一个或多个用空格分隔的软件包: +- 安装一个或多个用空格分隔的软件包: `choco install {{包名 包名 ..}}` -- 从一个自定义的配置文件中安装包: +- 从一个自定义的配置文件中安装包: `choco install {{配置文件的路径}}` -- 安装一个特定的"nuspec"或"nupkg"文件: +- 安装一个特定的 "nuspec" 或 "nupkg" 文件: `choco install {{文件的路径}}` -- 安装一个指定版本的包: +- 安装一个指定版本的包: `choco install {{包名}} --version {{版本号}}` -- 允许安装一个包的多个版本: +- 允许安装一个包的多个版本: `choco install {{包名}} --allow-multiple` -- 自动确认所有提示: +- 自动确认所有提示: `choco install {{包名}} --yes` -- 从自定义的源处获取包: +- 从自定义的源处获取包: `choco install {{包名}} --source {{源 URL|别名}}` -- 提供一个用户名和密码来进行验证: +- 提供一个用户名和密码来进行验证: `choco install {{包名}} --user {{用户名}} --password {{密码}}` diff --git a/pages.zh/windows/choco-list.md b/pages.zh/windows/choco-list.md index 694d851c7df24e..af5928321f8672 100644 --- a/pages.zh/windows/choco-list.md +++ b/pages.zh/windows/choco-list.md @@ -1,27 +1,28 @@ # choco list -> 使用 Chocolatey 显示包列表. +> 使用 Chocolatey 显示包列表。 +> 更多信息:. -- 列出所有可用的包: +- 列出所有可用的包: `choco list` -- 列出所有本地已安装的包: +- 列出所有本地已安装的包: `choco list --local-only` -- 显示包含本地程序的列表: +- 显示包含本地程序的列表: `choco list --include-programs` -- 只显示已批准的包: +- 只显示已批准的包: `choco list --approved-only` -- Specify a custom source to display packages from 指定一个源来显示包列表: +- Specify a custom source to display packages from 指定一个源来显示包列表: `choco list --source {{源 URL|别名}}` -- 提供一个用户名和密码来进行验证: +- 提供一个用户名和密码来进行验证: `choco list --user {{用户名}} --password {{密码}}` diff --git a/pages.zh/windows/choco-new.md b/pages.zh/windows/choco-new.md index a5411afcaa7abb..77454d9f051255 100644 --- a/pages.zh/windows/choco-new.md +++ b/pages.zh/windows/choco-new.md @@ -1,23 +1,24 @@ # choco new -> 使用 Chocolatey 生成新的包规范文件. +> 使用 Chocolatey 生成新的包规范文件。 +> 更多信息:. -- 创建一个新的包框架: +- 创建一个新的包框架: `choco new {{包名}}` -- 创建一个新的指定版本的包: +- 创建一个新的指定版本的包: `choco new {{包名}} --version {{版本号}}` -- 创建一个新的包并指定维护者的名字: +- 创建一个新的包并指定维护者的名字: `choco new {{包名}} --maintainer {{维护者名字}}` -- 在指定目录下创建新的包: +- 在指定目录下创建新的包: `choco new {{包名}} --output-directory {{指定的目录路径}}` -- 创建一个新的包并指定其 32 位版和 64 位版的安装 URL: +- 创建一个新的包并指定其 32 位版和 64 位版的安装 URL: `choco new {{package_name}} url="{{url}}" url64="{{url}}"` diff --git a/pages.zh/windows/choco-outdated.md b/pages.zh/windows/choco-outdated.md index e555d1ceff9b4b..ff9d4bc707c27c 100644 --- a/pages.zh/windows/choco-outdated.md +++ b/pages.zh/windows/choco-outdated.md @@ -1,19 +1,20 @@ # choco outdated -> 使用 Chocolatey 检查过时的包. +> 使用 Chocolatey 检查过时的包。 +> 更多信息:. -- 用表格的形式列出过时的包: +- 用表格的形式列出过时的包: `choco outdated` -- 忽略输出中的固定包: +- 忽略输出中的固定包: `choco outdated --ignore-pinned` -- 从自定义的源处检查过时的包: +- 从自定义的源处检查过时的包: `choco outdated --source {{源 URL|别名}}` -- 提供一个用户名和密码来进行验证: +- 提供一个用户名和密码来进行验证: `choco outdated --user {{用户名}} --password {{密码}}` diff --git a/pages.zh/windows/choco-pack.md b/pages.zh/windows/choco-pack.md index 4cc96711af037b..7ccaf15f9a0a9b 100644 --- a/pages.zh/windows/choco-pack.md +++ b/pages.zh/windows/choco-pack.md @@ -1,15 +1,16 @@ # choco pack -> 将 nuspec 打包到已编译的 nupkg. +> 将 nuspec 打包到已编译的 nupkg. +> 更多信息:. -- 将 nuspec 打包到已编译的 nupkg: +- 将 nuspec 打包到已编译的 nupkg: `choco pack {{nuspec 的路径}}` -- 将 nuspec 打包到已编译的 nupkg, 并指定生成的版本: +- 将 nuspec 打包到已编译的 nupkg, 并指定生成的版本: `choco pack {{nuspec 的路径}} --version {{版本号}}` -- 将 nuspec 打包到已编译的 nupkg, 并输出到指定的目录: +- 将 nuspec 打包到已编译的 nupkg, 并输出到指定的目录: `choco pack {{nuspec 的路径}} --output-directory {{输出目录的路径}}` diff --git a/pages.zh/windows/choco-pin.md b/pages.zh/windows/choco-pin.md index f9c56f9a4961f8..d01b8a4d612115 100644 --- a/pages.zh/windows/choco-pin.md +++ b/pages.zh/windows/choco-pin.md @@ -1,20 +1,21 @@ # choco pin -> 使用 Chocolatey 将一个包固定到指定的版本. -> 被固定版本的包会在更新时自动忽略. +> 使用 Chocolatey 将一个包固定到指定的版本。 +> 被固定版本的包会在更新时自动忽略。 +> 更多信息:. -- 显示被固定的包以及他们对应的版本号: +- 显示被固定的包以及他们对应的版本号: `choco pin list` -- 将一个包固定至当前版本: +- 将一个包固定至当前版本: `choco pin add --name {{包名}}` -- 将一个包固定直指定的版本: +- 将一个包固定直指定的版本: `choco pin add --name {{包名}} --version {{版本号}}` -- 移除指定包的固定状态: +- 移除指定包的固定状态: `choco pin remove --name {{包名}}` diff --git a/pages.zh/windows/choco-search.md b/pages.zh/windows/choco-search.md index 0fe072f193024f..f33ecf9f35b658 100644 --- a/pages.zh/windows/choco-search.md +++ b/pages.zh/windows/choco-search.md @@ -1,27 +1,28 @@ # choco search -> 使用 Chocolatey 搜索一个本地或远程的包. +> 使用 Chocolatey 搜索一个本地或远程的包。 +> 更多信息:. -- 搜索一个包: +- 搜索一个包: `choco search {{查询语句}}` -- 搜索一个本地的包: +- 搜索一个本地的包: `choco search {{查询语句}} --local-only` -- 只显示包含完全匹配的结果: +- 只显示包含完全匹配的结果: `choco search {{查询语句}} --exact` -- 自动确认所有提示: +- 自动确认所有提示: `choco search {{查询语句}} --yes` -- 从自定义的源处搜索包: +- 从自定义的源处搜索包: `choco search {{查询语句}} --source {{源 URL|别名}}` -- 提供一个用户名和密码来进行验证: +- 提供一个用户名和密码来进行验证: `choco search {{查询语句}} --user {{用户名}} --password {{密码}}` diff --git a/pages.zh/windows/choco-source.md b/pages.zh/windows/choco-source.md index a9dd661d674a1a..993b2d146677c5 100644 --- a/pages.zh/windows/choco-source.md +++ b/pages.zh/windows/choco-source.md @@ -1,31 +1,32 @@ # choco source -> 使用 Chocolatey 管理包的源. +> 使用 Chocolatey 管理包的源。 +> 更多信息:. -- 列出当前可用的源: +- 列出当前可用的源: `choco source list` -- 添加一个新的包源: +- 添加一个新的包源: `choco source add --name {{名称}} --source {{url}}` -- 添加包含凭据的新包源: +- 添加包含凭据的新包源: `choco source add --name {{名称}} --source {{url}} --user {{用户名}} --password {{密码}}` -- 使用客户端证书添加新的包源: +- 使用客户端证书添加新的包源: `choco source add --name {{名称}} --source {{url}} --cert {{证书的路径}}` -- 启用一个包源: +- 启用一个包源: `choco source enable --name {{名称}}` -- 禁用一个包源: +- 禁用一个包源: `choco source disable --name {{名称}}` -- 移除一个包源: +- 移除一个包源: `choco source remove --name {{名称}}` diff --git a/pages.zh/windows/choco-uninstall.md b/pages.zh/windows/choco-uninstall.md index 0bf5cc290a6f62..09c6c7daafd6b3 100644 --- a/pages.zh/windows/choco-uninstall.md +++ b/pages.zh/windows/choco-uninstall.md @@ -1,23 +1,24 @@ # choco uninstall -> 使用 Chocolatey 卸载一个或多个包. +> 使用 Chocolatey 卸载一个或多个包。 +> 更多信息:. -- 卸载一个或多个用空格分隔的软件包: +- 卸载一个或多个用空格分隔的软件包: `choco uninstall {{包名 『包名』 ..}}` -- 卸载一个指定版本的包: +- 卸载一个指定版本的包: `choco uninstall {{包名}} --version {{版本号}}` -- 自动确认所有提示: +- 自动确认所有提示: `choco uninstall {{包名}} --yes` -- 卸载时同时删除其所有的依赖: +- 卸载时同时删除其所有的依赖: `choco uninstall {{包名}} --remove-dependencies` -- 卸载全部包: +- 卸载全部包: `choco uninstall all` diff --git a/pages.zh/windows/choco-upgrade.md b/pages.zh/windows/choco-upgrade.md index bcbcf8117d3738..a7ad0d25eccb54 100644 --- a/pages.zh/windows/choco-upgrade.md +++ b/pages.zh/windows/choco-upgrade.md @@ -1,31 +1,32 @@ # choco upgrade -> 使用 Chocolatey 升级一个或多个包. +> 使用 Chocolatey 升级一个或多个包。 +> 更多信息:. -- 升级一个或多个用空格分隔的软件包: +- 升级一个或多个用空格分隔的软件包: `choco upgrade {{包名 包名 ..}}` -- 将一个包升级到指定版本: +- 将一个包升级到指定版本: `choco upgrade {{包名}} --version {{版本号}}` -- 升级全部包: +- 升级全部包: `choco upgrade all` -- 升级除指定的用逗号分隔的包之外的所有包: +- 升级除指定的用逗号分隔的包之外的所有包: `choco upgrade all --except "{{包名 , 包名 ..}}"` -- 自动确认所有提示: +- 自动确认所有提示: `choco upgrade {{包名}} --yes` -- 从自定义源处升级包: +- 从自定义源处升级包: `choco upgrade {{包名}} --source {{源 URL|别名}}` -- 提供一个用户名和密码来进行验证: +- 提供一个用户名和密码来进行验证: `choco upgrade {{包}} --user {{用户名}} --password {{密码}}` diff --git a/pages.zh/windows/choco.md b/pages.zh/windows/choco.md index 768543203e06c7..4ab15be4ab4a9b 100644 --- a/pages.zh/windows/choco.md +++ b/pages.zh/windows/choco.md @@ -1,20 +1,21 @@ # choco -> Chocolatey 包管理器的命令行界面. -> 参见 `choco install`, `choco upgrade` 和其他的页面来获取额外的信息. +> Chocolatey 包管理器的命令行界面。 +> 此命令也有关于其子命令的文件,例如:`install`. +> 更多信息:. -- 执行 Chocolatey 命令: +- 执行 Chocolatey 命令: `choco {{命令}}` -- 显示基本的帮助页面: +- 显示基本的帮助页面: `choco -?` -- 显示指定命令的帮助页面: +- 显示指定命令的帮助页面: `choco {{命令}} -?` -- 显示 Chocolatey 的版本: +- 显示 Chocolatey 的版本: `choco --version` diff --git a/pages.zh/windows/chrome.md b/pages.zh/windows/chrome.md new file mode 100644 index 00000000000000..880439337d65d7 --- /dev/null +++ b/pages.zh/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> 这是 `chromium` 命令的一个别名。 +> 更多信息:. + +- 原命令的文档在: + +`tldr chromium` diff --git a/pages.zh/windows/cinst.md b/pages.zh/windows/cinst.md new file mode 100644 index 00000000000000..8ba4ac555b1ca4 --- /dev/null +++ b/pages.zh/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> 这是 `choco install` 命令的一个别名。 + +- 原命令的文档在: + +`tldr choco install` diff --git a/pages.zh/windows/cipher.md b/pages.zh/windows/cipher.md index 3f546c6a071cf3..360a5e4cb251fa 100644 --- a/pages.zh/windows/cipher.md +++ b/pages.zh/windows/cipher.md @@ -1,15 +1,16 @@ # cipher -> 加密或解密 NTFS 驱动器上的文件. +> 加密或解密 NTFS 驱动器上的文件。 +> 更多信息:. -- 加密文件或目录: +- 加密文件或目录: `cipher /e:{{路径/文件或目录}}` -- 解密文件或目录: +- 解密文件或目录: `cipher /d:{{路径/文件或目录}}` -- 安全地删除文件或目录: +- 安全地删除文件或目录: `cipher /w:{{路径/文件或目录}}` diff --git a/pages.zh/windows/clip.md b/pages.zh/windows/clip.md index 63b10b9cdb6a58..eb19960a7bfccf 100644 --- a/pages.zh/windows/clip.md +++ b/pages.zh/windows/clip.md @@ -1,11 +1,12 @@ # clip -> 将输入的内容复制到 Windows 的剪贴板. +> 将输入的内容复制到 Windows 的剪贴板。 +> 更多信息:. -- 用管道将命令的输出内容复制到 Windows 剪贴板: +- 用管道将命令的输出内容复制到 Windows 剪贴板: `{{dir}} | clip` -- 将一个文件中的内容复制到 Windows 剪贴板: +- 将一个文件中的内容复制到 Windows 剪贴板: `clip < {{文件的路径}}` diff --git a/pages.zh/windows/clist.md b/pages.zh/windows/clist.md new file mode 100644 index 00000000000000..83bb101a587dab --- /dev/null +++ b/pages.zh/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> 这是 `choco list` 命令的一个别名。 + +- 原命令的文档在: + +`tldr choco list` diff --git a/pages.zh/windows/cls.md b/pages.zh/windows/cls.md index 0b37606cf81287..21c26f1098578e 100644 --- a/pages.zh/windows/cls.md +++ b/pages.zh/windows/cls.md @@ -1,7 +1,8 @@ # cls -> 清屏. +> 清屏。 +> 更多信息:. -- 清屏: +- 清屏: `cls` diff --git a/pages.zh/windows/cmd.md b/pages.zh/windows/cmd.md index a8d2c5df1da9c8..255cb49f22e964 100644 --- a/pages.zh/windows/cmd.md +++ b/pages.zh/windows/cmd.md @@ -1,35 +1,32 @@ # cmd -> Windows 命令解释器. +> Windows 命令解释器。 +> 更多信息:. -- 开启一个新的命令行实例: +- 开启一个新的命令行实例: `cmd` -- 运行指定的命令然后退出: +- 运行指定的命令然后退出: -`cmd /c "{{命令}}"` +`cmd /c {{echo 命令}}` -- 执行一个指定的命令,之后进入一个交互式 shell: +- 执行一个指定的命令,之后进入一个交互式 shell: -`cmd /k "{{命令}}"` +`cmd /k {{echo 命令}}` -- 不显示命令的输出结果: +- 不显示命令的输出结果: `cmd /q` -- 启用或禁用命令扩展: +- 启用或禁用环境变量扩展: -`cmd /e:{{on|off}}` - -- 启用或禁用文件和目录名的自动补全: - -`cmd /f:{{on|off}}` +`cmd /v:{{on|off}}` -- 启用或禁用环境变量扩展: +- 启用或禁用命令扩展: -`cmd /v:{{on|off}}` +`cmd /e:{{on|off}}` -- 强制输出内容使用 Unicode 编码: +- 强制输出内容使用 Unicode 编码: `cmd /u` diff --git a/pages.zh/windows/cmstp.md b/pages.zh/windows/cmstp.md index 7f4aebec45a4ba..fd1142be4dc5f2 100644 --- a/pages.zh/windows/cmstp.md +++ b/pages.zh/windows/cmstp.md @@ -1,35 +1,36 @@ # cmstp -> 用于管理连接服务配置文件的命令行工具. +> 用于管理连接服务配置文件的命令行工具。 +> 更多信息:. -- 安装指定的配置文件: +- 安装指定的配置文件: `cmstp "{{配置文件的路径}}"` -- 安装时不创建桌面快捷方式: +- 安装时不创建桌面快捷方式: `cmstp /ns "{{配置文件的路径}}"` -- 安装时不检查依赖: +- 安装时不检查依赖: `cmstp /nf "{{配置文件的路径}}"` -- 仅为当前用户安装: +- 仅为当前用户安装: `cmstp /su "{{配置文件的路径}}"` -- 为所有用户安装 (需要管理员权限): +- 为所有用户安装(需要管理员权限): `cmstp /au "{{配置文件的路径}}"` -- 静默安装: +- 静默安装: `cmstp /s "{{配置文件的路径}}"` -- 卸载一个指定的配置文件: +- 卸载一个指定的配置文件: `cmstp /u "{{配置文件的路径}}"` -- 静默删除: +- 静默删除: `cmstp /u /s "{{配置文件的路径}}"` diff --git a/pages.zh/windows/color.md b/pages.zh/windows/color.md index 5c9417c8f97369..bd6a6263a0af0f 100644 --- a/pages.zh/windows/color.md +++ b/pages.zh/windows/color.md @@ -1,15 +1,16 @@ # color -> 设置控制台的前景色和背景色. +> 设置控制台的前景色和背景色。 +> 更多信息:. -- 将控制台颜色恢复至默认值: +- 将控制台颜色恢复至默认值: `color` -- 列出可用的颜色值和详细信息: +- 列出可用的颜色值和详细信息: `color /?` -- 将控制台前景色和背景色设置为指定颜色: +- 将控制台前景色和背景色设置为指定颜色: `color {{前景色值}}{{背景色值}}` diff --git a/pages.zh/windows/comp.md b/pages.zh/windows/comp.md index b06934e642f2fd..eaa3e0357cd213 100644 --- a/pages.zh/windows/comp.md +++ b/pages.zh/windows/comp.md @@ -1,36 +1,37 @@ # comp -> 比较两个文件或文件集的内容. -> 使用通配符 (*) 来比较文件集. +> 比较两个文件或文件集的内容。 +> 使用通配符(*)来比较文件集。 +> 更多信息:. -- 交互式比较文件: +- 交互式比较文件: `comp` -- 比较两个指定的文件: +- 比较两个指定的文件: `comp {{文件 1 的路径}} {{文件 2 的路径}}` -- 比较两个文件集: +- 比较两个文件集: -`comp {{目录 1/*}} {{目录 2/*}}` +`comp {{路径\到\目录1}}\* {{路径\到\目录2}}\*` -- 以十进制格式显示差异: +- 以十进制格式显示差异: `comp /d {{文件 1 的路径}} {{文件 2 的路径}}` -- 以 ASCII 字符显示差异: +- 以 ASCII 字符显示差异: `comp /a {{文件 1 的路径}} {{文件 2 的路径}}` -- 显示不同的行数: +- 显示不同的行数: `comp /l {{文件 1 的路径}} {{文件 2 的路径}}` -- 比较文件时不区分大小写: +- 比较文件时不区分大小写: `comp /c {{文件 1 的路径}} {{文件 2 的路径}}` -- 只比较每个文件前 5 行的内容: +- 只比较每个文件前 5 行的内容: -`comp /n={{5}} {{文件 1 的路径}} {{文件 2 的路径}}` +`comp /n=5 {{文件 1 的路径}} {{文件 2 的路径}}` diff --git a/pages.zh/windows/cpush.md b/pages.zh/windows/cpush.md new file mode 100644 index 00000000000000..25084f96396f55 --- /dev/null +++ b/pages.zh/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> 这是 `choco push` 命令的一个别名。 + +- 原命令的文档在: + +`tldr choco push` diff --git a/pages.zh/windows/cuninst.md b/pages.zh/windows/cuninst.md new file mode 100644 index 00000000000000..6cc0e2fd81dc67 --- /dev/null +++ b/pages.zh/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> 这是 `choco uninstall` 命令的一个别名。 + +- 原命令的文档在: + +`tldr choco uninstall` diff --git a/pages.zh/windows/del.md b/pages.zh/windows/del.md index 0983449350f1b1..e95e3bd6ab04f7 100644 --- a/pages.zh/windows/del.md +++ b/pages.zh/windows/del.md @@ -1,31 +1,37 @@ # del -> 删除一个或多个文件. +> 删除一个或多个文件。 +> 在 PowerShell 中,此命令为 `Remove-Item` 的別名。本页的描述是基于命令提示符 (`cmd`) 中的 `del`。 +> 更多信息:. -- 删除一个或多个以空格分隔的文件: +- 查阅 PowerShell 的对应命令: -`del {{文件 文件 ..}}` +`tldr remove-item` -- 在删除每个文件之前提示确认: +- 删除一个或多个文件 (可使用通配符): + +`del {{文件1 文件2 ...}}` + +- 在删除每个文件之前提示确认: `del {{文件}} /p` -- 强制删除只读文件: +- 强制删除只读文件: `del {{文件}} /f` -- 递归删除所有子目录中的文件: +- 递归删除所有子目录中的文件: `del {{文件}} /s` -- 在基于全局通配符删除文件时不提示确认: +- 在基于全局通配符删除文件时不提示确认: `del {{文件}} /q` -- 显示帮助和所有的属性列表: +- 显示帮助和所有的属性列表: `del /?` -- 根据指定的属性删除文件: +- 根据指定的属性删除文件: `del {{文件}} /a {{属性}}` diff --git a/pages.zh/windows/dir.md b/pages.zh/windows/dir.md index 1afe8c1117ec4b..c9c593a0df0e85 100644 --- a/pages.zh/windows/dir.md +++ b/pages.zh/windows/dir.md @@ -1,19 +1,20 @@ # dir -> 列出目录的内容. +> 列出目录的内容。 +> 更多信息:. -- 显示当前目录的内容: +- 显示当前目录的内容: `dir` -- 显示指定目录的内容: +- 显示指定目录的内容: `dir {{目录的路径}}` -- 显示当前目录的内容,包括隐藏的文件: +- 显示当前目录的内容,包括隐藏的文件: `dir /A` -- 显示指定目录的内容,包括隐藏的文件: +- 显示指定目录的内容,包括隐藏的文件: `dir {{目录的路径}} /A` diff --git a/pages.zh/windows/doskey.md b/pages.zh/windows/doskey.md index e27df46472bdee..769237fbb24ff2 100644 --- a/pages.zh/windows/doskey.md +++ b/pages.zh/windows/doskey.md @@ -1,31 +1,32 @@ # doskey -> 管理宏,Windows 命令和命令行. +> 管理宏,Windows 命令和命令行。 +> 更多信息:. -- 列出可用的宏: +- 列出可用的宏: `doskey /macros` -- 创建一个新的宏: +- 创建一个新的宏: `doskey {{宏的名称}} = "{{命令}}"` -- 为指定可执行文件创建新的宏: +- 为指定可执行文件创建新的宏: `doskey /exename={{可执行文件名}} {{宏的名称}} = "{{命令}}"` -- 删除一个宏: +- 删除一个宏: `doskey {{宏的名称}} =` -- 列出所有储存在内存中的命令: +- 列出所有储存在内存中的命令: `doskey /history` -- 将宏保存到文件以便于移植: +- 将宏保存到文件以便于移植: `doskey /macros > {{保存宏的文件名}}` -- 从文件中加载宏: +- 从文件中加载宏: `doskey /macrofile = {{保存宏的文件名}}` diff --git a/pages.zh/windows/driverquery.md b/pages.zh/windows/driverquery.md index bce46129dc46eb..973cf5f156dad5 100644 --- a/pages.zh/windows/driverquery.md +++ b/pages.zh/windows/driverquery.md @@ -1,31 +1,32 @@ # driverquery -> 显示已安装设备驱动程序的信息. +> 显示已安装设备驱动程序的信息。 +> 更多信息:. -- 显示所有已安装设备驱动程序的列表: +- 显示所有已安装设备驱动程序的列表: `driverquery` -- 以指定格式显示驱动程序的列表: +- 以指定格式显示驱动程序的列表: `driverquery /fo {{table|list|csv}}` -- 显示带有列的驱动程序列表,以表明它们是否已签名: +- 显示带有列的驱动程序列表,以表明它们是否已签名: `driverquery /si` -- 排除输出列表中的标题: +- 排除输出列表中的标题: `driverquery /nh` -- 显示远程计算机的驱动程序列表: +- 显示远程计算机的驱动程序列表: `driverquery /s {{主机名}} /u {{用户名}} /p {{密码}}` -- 显示详细信息的驱动程序列表 +- 显示详细信息的驱动程序列表: `driverquery /v` -- 显示详细的使用信息: +- 显示详细的使用信息: `driverquery /?` diff --git a/pages.zh/windows/eventcreate.md b/pages.zh/windows/eventcreate.md index 7e4b2a1e73f7a3..bb3fe83bebf900 100644 --- a/pages.zh/windows/eventcreate.md +++ b/pages.zh/windows/eventcreate.md @@ -1,20 +1,21 @@ # eventcreate -> 在事件日志中创建自定义条目. -> 事件 ID 可以是 1 到 1000 之间的任意数值. +> 在事件日志中创建自定义条目。 +> 事件 ID 可以是 1 到 1000 之间的任意数值。 +> 更多信息:. -- 在日志中创建一个具有给定 id(1-1000)的新事件: +- 在日志中创建一个具有给定 id(1-1000)的新事件: `eventcreate /t {{success|error|warning|information}} /id {{id}} /d "{{消息}}"` -- 在特定事件日志中创建事件: +- 在特定事件日志中创建事件: `eventcreate /l {{日志名}} /t {{类型}} /id {{id}} /d "{{消息}}"` -- 为新创建的事件指定来源: +- 为新创建的事件指定来源: `eventcreate /so {{来源名}} /t {{类型}} /id {{id}} /d "{{消息}}"` -- 在远程计算机的事件日志中创建事件: +- 在远程计算机的事件日志中创建事件: `eventcreate /s {{主机名}} /u {{用户名}} /p {{密码}} /t {{类型}} /id {{id}} /d "{{消息}}"` diff --git a/pages.zh/windows/exit.md b/pages.zh/windows/exit.md index 9e4ea6855fbcb1..b59c456c573c79 100644 --- a/pages.zh/windows/exit.md +++ b/pages.zh/windows/exit.md @@ -1,15 +1,16 @@ # exit -> 退出当前的命令行实例或 bat 脚本. +> 退出当前的命令行实例或 bat 脚本。 +> 更多信息:. -- 退出当前的命令行实例: +- 退出当前的命令行实例: `exit` -- 退出当前的 bat 脚本: +- 退出当前的 [b]at 脚本: `exit /b` -- 使用一个指定的退出码退出: +- 使用一个指定的退出码退出: `exit {{退出码}}` diff --git a/pages.zh/windows/expand.md b/pages.zh/windows/expand.md index e6856c9d887480..ea41a3c4eb12f5 100644 --- a/pages.zh/windows/expand.md +++ b/pages.zh/windows/expand.md @@ -1,23 +1,24 @@ # expand -> 解压一个或多个 cab 文件. +> 解压一个或多个 cab 文件。 +> 更多信息:. -- 将单文件 cab 文件解压到指定目录: +- 将单文件 cab 文件解压到指定目录: `expand {{cab 文件路径}} {{指定的目录}}` -- 列出 cab 文件中的所有文件: +- 列出 cab 文件中的所有文件: `expand {{cab 文件路径}} {{指定的目录}} -d` -- 从 cab 文件中解压所有的文件: +- 从 cab 文件中解压所有的文件: `expand {{cab 文件路径}} {{指定的目录}} -f:*` -- 从 cab 文件中解压一个特定的文件: +- 从 cab 文件中解压一个特定的文件: `expand {{cab 文件路径}} {{指定的目录}} -f:{{文件名}}` -- 解压缩时忽略目录结构,并将它们添加到单个目录中: +- 解压缩时忽略目录结构,并将它们添加到单个目录中: `expand {{cab 文件路径}} {{指定的目录}} -i` diff --git a/pages.zh/windows/explorer.md b/pages.zh/windows/explorer.md index f9d68426dfd65d..5e4a3e57a78179 100644 --- a/pages.zh/windows/explorer.md +++ b/pages.zh/windows/explorer.md @@ -1,15 +1,16 @@ # explorer -> Windows 文件资源管理器. +> Windows 文件资源管理器。 +> 更多信息:. -- 打开 Windows 文件资源管理器: +- 打开 Windows 文件资源管理器: `explorer` -- 在当前目录打开 Windows 文件资源管理器: +- 在当前目录打开 Windows 文件资源管理器: `explorer .` -- 在指定目录打开 Windows 文件资源管理器: +- 在指定目录打开 Windows 文件资源管理器: `explorer {{path/to/directory}}` diff --git a/pages.zh/windows/fc.md b/pages.zh/windows/fc.md index b771935a7be82b..1ae408130ee9c7 100644 --- a/pages.zh/windows/fc.md +++ b/pages.zh/windows/fc.md @@ -1,32 +1,33 @@ # fc -> 比较两个文件或文件集之间的差异. -> 使用通配符 (*) 来比较文件集. +> 比较两个文件或文件集之间的差异。 +> 使用通配符(*)来比较文件集。 +> 更多信息:. -- 比较两个指定的文件: +- 比较两个指定的文件: `fc {{文件 1 的路径}} {{文件 2 的路径}}` -- 比较时不区分大小写: +- 比较时不区分大小写: `fc /c {{文件 1 的路径}} {{文件 2 的路径}}` -- 将文件作为 Unicode 文本来进行比较: +- 将文件作为 Unicode 文本来进行比较: `fc /u {{文件 1 的路径}} {{文件 2 的路径}}` -- 将文件作为 ASCII 文本来进行比较: +- 将文件作为 ASCII 文本来进行比较: `fc /l {{文件 1 的路径}} {{文件 2 的路径}}` -- 将文件作为二进制来比较: +- 将文件作为二进制来比较: `fc /b {{文件 1 的路径}} {{文件 2 的路径}}` -- 禁用制表符到空格的扩展: +- 禁用制表符到空格的扩展: `fc /t {{文件 1 的路径}} {{文件 2 的路径}}` -- 压缩空格(制表符和空格)进行比较: +- 压缩空格(制表符和空格)进行比较: `fc /w {{文件 1 的路径}} {{文件 2 的路径}}` diff --git a/pages.zh/windows/find.md b/pages.zh/windows/find.md index 94db4b54563086..3e9382b68a2fb3 100644 --- a/pages.zh/windows/find.md +++ b/pages.zh/windows/find.md @@ -1,19 +1,20 @@ # find -> 在一个或多个文件里查找指定字符串. +> 在一个或多个文件里查找指定字符串。 +> 更多信息:. -- 查找包含指定字符串的行: +- 查找包含指定字符串的行: -`find {{字符串}} {{文件或目录的路径}}` +`find "{{字符串}}" {{文件或目录的路径}}` -- 查找不包含指定字符串的行: +- 查找不包含指定字符串的行: -`find {{字符串}} {{文件或目录的路径}} /v` +`find "{{字符串}}" {{文件或目录的路径}} /v` -- 显示包含指定字符串的行的总数: +- 显示包含指定字符串的行的总数: -`find {{字符串}} {{文件或目录的路径}} /c` +`find "{{字符串}}" {{文件或目录的路径}} /c` -- 显示匹配的行的行数: +- 显示匹配的行的行数: -`find {{字符串}} {{文件或目录的路径}} /n` +`find "{{字符串}}" {{文件或目录的路径}} /n` diff --git a/pages.zh/windows/findstr.md b/pages.zh/windows/findstr.md index fe7b259dc81a24..ffe404144a0580 100644 --- a/pages.zh/windows/findstr.md +++ b/pages.zh/windows/findstr.md @@ -1,35 +1,32 @@ # findstr -> 在一个或多个文件中查找指定的文本. +> 在一个或多个文件中查找指定的文本。 +> 更多信息:. -- 在所有文件中查找以空格分隔的字符串: +- 在所有文件中查找以空格分隔的字符串: `findstr "{{查询语句 查询语句 ..}}" *` -- 以递归方式在所有文件中查找以空格分隔的字符串: +- 以递归方式在所有文件中查找以空格分隔的字符串: `findstr /s "{{查询语句 查询语句 ..}}" *` -- 查找时不区分大小写: +- 查找时不区分大小写: `findstr /i "{{查询语句}}" *"` -- 使用正则表达式搜索: +- 使用正则表达式搜索: `findstr /r "{{正则表达式}}" *` -- 在所有文本文件中查找文字字符串(包含空格): +- 在所有文本文件中查找文字字符串(包含空格): `findstr /c:"{{查询语句}}" *.txt` -- 只查找完全匹配的行: - -`findstr /x "{{查询语句}}" *` - -- 显示匹配的行的行数: +- 显示匹配的行的行数: `findstr /n "{{查询语句}}" *` -- 只显示匹配的文件名: +- 只显示匹配的文件名: `findstr /m "{{查询语句}}" *` diff --git a/pages.zh/windows/finger.md b/pages.zh/windows/finger.md index 2b6cfda1201ba6..eeb17c64648ba4 100644 --- a/pages.zh/windows/finger.md +++ b/pages.zh/windows/finger.md @@ -1,20 +1,21 @@ # finger -> 返回有关指定系统上的一个或多个用户的信息. -> 远程系统必须运行 Finger 服务. +> 返回有关指定系统上的一个或多个用户的信息。 +> 远程系统必须运行 Finger 服务。 +> 更多信息:. -- 显示有关特定用户的信息: +- 显示有关特定用户的信息: `finger {{用户名}}@{{主机名}}` -- 在指定的主机上显示所有用户的信息: +- 在指定的主机上显示所有用户的信息: `finger @{{主机名}}` -- 以更长的格式显示信息: +- 以更长的格式显示信息: `finger {{用户名}}@{{主机名}} -l` -- 显示帮助信息: +- 显示帮助信息: `finger /?` diff --git a/pages.zh/windows/fondue.md b/pages.zh/windows/fondue.md index 7e9c0f861be484..478d0676f4ac12 100644 --- a/pages.zh/windows/fondue.md +++ b/pages.zh/windows/fondue.md @@ -1,15 +1,16 @@ # fondue -> 可选 Windows 功能的命令行安装程序. +> 可选 Windows 功能的命令行安装程序。 +> 更多信息:. -- 启用一个指定的 Windows 功能: +- 启用一个指定的 Windows 功能: `fondue /enable-feature:{{功能}}` -- 向用户隐藏所有输出信息: +- 向用户隐藏所有输出信息: `fondue /enable-feature:{{功能}} /hide-ux:all` -- 为错误报告指定调用者进程名称: +- 为错误报告指定调用者进程名称: `fondue /enable-feature:{{功能}} /caller-name:{{名称}}` diff --git a/pages.zh/windows/forfiles.md b/pages.zh/windows/forfiles.md index b52e41ade27b26..03937001a9f5e1 100644 --- a/pages.zh/windows/forfiles.md +++ b/pages.zh/windows/forfiles.md @@ -1,27 +1,28 @@ # forfiles -> 选择一个或多个文件以执行指定的命令. +> 选择一个或多个文件以执行指定的命令。 +> 更多信息:. -- 在当前的目录中寻找文件: +- 在当前的目录中寻找文件: `forfiles` -- 在一个指定目录中寻找文件: +- 在一个指定目录中寻找文件: `forfiles /p {{目录的路径}}` -- 为每个文件执行指定的命令: +- 为每个文件执行指定的命令: `forfiles /c "{{命令}}"` -- 使用通配符来寻找指定的文件: +- 使用通配符来寻找指定的文件: `forfiles /m {{通配符}}` -- 递归寻找文件: +- 递归寻找文件: `forfiles /s` -- 搜索超过 5 天的文件: +- 搜索超过 5 天的文件: -`forfiles /d {{+5}}` +`forfiles /d +{{5}}` diff --git a/pages.zh/windows/ftp.md b/pages.zh/windows/ftp.md index 8ef07a95b846eb..dbd041d0999b8c 100644 --- a/pages.zh/windows/ftp.md +++ b/pages.zh/windows/ftp.md @@ -1,35 +1,36 @@ # ftp -> 在本地和远程 FTP 服务器之间交互式传输文件. +> 在本地和远程 FTP 服务器之间交互式传输文件。 +> 更多信息:. -- 交互式连接一个远程的 FTP 服务: +- 交互式连接一个远程的 FTP 服务: `ftp {{主机名}}` -- 匿名登录: +- 匿名登录: `ftp -A {{主机名}}` -- 初始连接时禁用自动登录: +- 初始连接时禁用自动登录: `ftp -n {{主机名}}` -- 运行包含 FTP 命令列表的文件: +- 运行包含 FTP 命令列表的文件: `ftp -s:{{文件的路径}} {{主机名}}` -- 下载多个文件 (通配符表达式): +- 下载多个文件(通配符表达式): `mget {{*.png}}` -- 上传多个文件 (通配符表达式): +- 上传多个文件(通配符表达式): `mput {{*.zip}}` -- 在远程服务器上删除多个文件: +- 在远程服务器上删除多个文件: `mdelete {{*.txt}}` -- 显示详细的帮助: +- 显示详细的帮助: `ftp --help` diff --git a/pages.zh/windows/ftype.md b/pages.zh/windows/ftype.md index bfdd6035536967..9ee2df5b083b0b 100644 --- a/pages.zh/windows/ftype.md +++ b/pages.zh/windows/ftype.md @@ -1,15 +1,16 @@ # ftype -> 显示或修改用于文件扩展名关联的文件类型. +> 显示或修改用于文件扩展名关联的文件类型。 +> 更多信息:. -- 显示所有文件类型的列表: +- 显示所有文件类型的列表: `ftype` -- 显示特定文件类型的关联程序: +- 显示特定文件类型的关联程序: `ftype {{文件类型}}` -- 设置特定文件类型的关联程序: +- 设置特定文件类型的关联程序: `ftype {{文件类型}}="{{可执行命令的路径}}"` diff --git a/pages.zh/windows/get-filehash.md b/pages.zh/windows/get-filehash.md new file mode 100644 index 00000000000000..c8ce2b9bedd9e1 --- /dev/null +++ b/pages.zh/windows/get-filehash.md @@ -0,0 +1,12 @@ +# Get-FileHash + +> 计算一个文件的 HASH 值。 +> 更多信息:. + +- 使用 SHA256 算法计算给定文件的哈希值: + +`Get-FileHash {{文件路径}}` + +- 使用指定的哈希算法计算给定文件的哈希值: + +`Get-FileHash {{文件路径}} -Algorithm {{SHA1|SHA384|SHA256|SHA512|MD5}}` diff --git a/pages.zh/windows/getmac.md b/pages.zh/windows/getmac.md index 6de529ada2bd42..f102da58d64367 100644 --- a/pages.zh/windows/getmac.md +++ b/pages.zh/windows/getmac.md @@ -1,27 +1,28 @@ # getmac -> 显示系统的 MAC 地址. +> 显示系统的 MAC 地址。 +> 更多信息:. -- 显示当前系统的 MAC 地址: +- 显示当前系统的 MAC 地址: `getmac` -- 以特定格式显示详细信息: +- 以特定格式显示详细信息: `getmac /fo {{table|list|csv}}` -- 排除输出列表中的标题: +- 排除输出列表中的标题: `getmac /nh` -- 显示一个远程主机的 MAC 地址: +- 显示一个远程主机的 MAC 地址: `getmac /s {{主机名}} /u {{用户名}} /p {{密码}}` -- 详细显示 MAC 地址信息: +- 详细显示 MAC 地址信息: `getmac /v` -- 显示详细的帮助信息: +- 显示详细的帮助信息: `getmac /?` diff --git a/pages.zh/windows/ipconfig.md b/pages.zh/windows/ipconfig.md index 638366b07831ad..23ee39d6565f44 100644 --- a/pages.zh/windows/ipconfig.md +++ b/pages.zh/windows/ipconfig.md @@ -1,23 +1,28 @@ # ipconfig -> 显示和管理 Windows 的网络配置. +> 显示和管理 Windows 的网络配置。 +> 更多信息:. -- 显示网络适配器列表: +- 显示网络适配器列表: `ipconfig` -- 显示网络适配器的详细列表: +- 显示网络适配器的详细列表: `ipconfig /all` -- 为一个网络适配器重新获取 IP 地址: +- 为一个网络适配器重新获取 IP 地址: `ipconfig /renew {{适配器}}` -- 为一个网络适配器释放 IP 地址: +- 为一个网络适配器释放 IP 地址: `ipconfig /release {{适配器}}` -- 清除所有 DNS 缓存: +- 显示所有本地 DNS 缓存: + +`ipconfig /displaydns` + +- 清除所有本地 DNS 缓存: `ipconfig /flushdns` diff --git a/pages.zh/windows/iscc.md b/pages.zh/windows/iscc.md index 57e1ea17d6aee5..973c320a50cd0f 100644 --- a/pages.zh/windows/iscc.md +++ b/pages.zh/windows/iscc.md @@ -1,16 +1,17 @@ # iscc -> Inno Setup 安装程序的编译器. -> 它将 Inno Setup 脚本编译为 Windows 安装程序可执行文件. +> Inno Setup 安装程序的编译器。 +> 它将 Inno Setup 脚本编译为 Windows 安装程序可执行文件。 +> 更多信息:. -- 编译一个 Inno Setup 脚本: +- 编译一个 Inno Setup 脚本: `iscc {{脚本路径.iss}}` -- 静默编译一个 Inno Setup 安装程序: +- 静默编译一个 Inno Setup 安装程序: `iscc /Q {{脚本路径.iss}}` -- 编译已签名的 Inno Setup 安装程序: +- 编译已签名的 Inno Setup 安装程序: `iscc /S={{名称}}={{命令}} {{脚本路径.iss}}` diff --git a/pages.zh/windows/iwr.md b/pages.zh/windows/iwr.md new file mode 100644 index 00000000000000..1ad3ec1056a8c7 --- /dev/null +++ b/pages.zh/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> 这是 `invoke-webrequest` 命令的一个别名。 + +- 原命令的文档在: + +`tldr invoke-webrequest` diff --git a/pages.zh/windows/logoff.md b/pages.zh/windows/logoff.md index e251fc6281835d..13d45fd078297e 100644 --- a/pages.zh/windows/logoff.md +++ b/pages.zh/windows/logoff.md @@ -1,15 +1,16 @@ # logoff -> 注销登录会话. +> 注销登录会话。 +> 更多信息:. -- 注销当前会话: +- 注销当前会话: `logoff` -- 通过名称和 id 注销会话: +- 通过名称和 ID 注销会话: `logoff {{会话名|会话 id}}` -- 在通过 RDP 连接的特定服务器上注销会话: +- 在通过 RDP 连接的特定服务器上注销会话: `logoff {{会话名|会话 id}} /server:{{服务器名}}` diff --git a/pages.zh/windows/mkdir.md b/pages.zh/windows/mkdir.md index 22009907a537b7..18bd4755818865 100644 --- a/pages.zh/windows/mkdir.md +++ b/pages.zh/windows/mkdir.md @@ -1,11 +1,12 @@ # mkdir -> 创建一个目录. +> 创建一个目录。 +> 更多信息:. -- 创建一个目录: +- 创建一个目录: `mkdir {{目录名}}` -- 递归创建目录及子目录: +- 递归创建目录及子目录: `mkdir {{子目录名}}` diff --git a/pages.zh/windows/mklink.md b/pages.zh/windows/mklink.md index f81758d00db914..294798c8f16513 100644 --- a/pages.zh/windows/mklink.md +++ b/pages.zh/windows/mklink.md @@ -1,19 +1,20 @@ # mklink -> 创建符号链接. +> 创建符号链接。 +> 更多信息:. -- 创建指向文件的符号链接: +- 创建指向文件的符号链接: `mklink {{链接文件的路径}} {{源文件路径}}` -- 创建指向目录的符号链接: +- 创建指向目录的符号链接: `mklink /d {{链接文件的路径}} {{源目录路径}}` -- 创建指向文件的硬链接: +- 创建指向文件的硬链接: `mklink /h {{链接文件的路径}} {{源目录路径}}` -- 创建目录链接: +- 创建目录链接: `mklink /j {{链接文件的路径}} {{源目录路径}}` diff --git a/pages.zh/windows/more.md b/pages.zh/windows/more.md index a5ca6bfff291ed..e9426fcf24732c 100644 --- a/pages.zh/windows/more.md +++ b/pages.zh/windows/more.md @@ -1,31 +1,32 @@ # more -> 分页显示标准输入或文件的输出. +> 分页显示标准输入或文件的输出。 +> 更多信息:. -- 分页显示标准输入的输出: +- 分页显示标准输入的输出: `{{echo test}} | more` -- 分页显示一个或多个文件的内容: +- 分页显示一个或多个文件的内容: `more {{文件的路径}}` -- 将制表符转换为指定的空格数: +- 将制表符转换为指定的空格数: -`more {{文件的路径} /t{{空格数}}` +`more {{文件的路径}} /t{{空格数}}` -- 显示内容前先清屏: +- 显示内容前先清屏: `more {{文件的路径}} /c` -- 从第 5 行开始显示输出: +- 从第 5 行开始显示输出: `more {{文件的路径}} +{{5}}` -- 启用扩展交互模式(请参阅使用帮助): +- 启用扩展交互模式(请参阅使用帮助): `more {{文件的路径}} /e` -- 显示全部帮助信息: +- 显示全部帮助信息: `more /?` diff --git a/pages.zh/windows/msg.md b/pages.zh/windows/msg.md index b5318f4fc50c96..ef6ef5c0e38b0c 100644 --- a/pages.zh/windows/msg.md +++ b/pages.zh/windows/msg.md @@ -1,23 +1,24 @@ # msg -> 向指定的用户或会话发送信息. +> 向指定的用户或会话发送信息。 +> 更多信息:. -- 向指定的用户或会话发送信息: +- 向指定的用户或会话发送信息: `msg {{用户名|会话名|会话 id}} {{信息}}` -- 从标准输入发送信息: +- 从标准输入发送信息: `echo "{{信息}}" | msg {{用户名|会话名|会话 id}}` -- 向指定的服务器发送消息: +- 向指定的服务器发送消息: `msg /server:{{服务器名称}} {{用户名|会话名|会话 id}}` -- 向当前计算机的所有用户发送消息: +- 向当前计算机的所有用户发送消息: `msg *` -- 设置发送消息的延迟: +- 设置发送消息的延迟: `msg /time:{{秒}}` diff --git a/pages.zh/windows/path.md b/pages.zh/windows/path.md index 12d755829491d4..74f3e29b52f2c7 100644 --- a/pages.zh/windows/path.md +++ b/pages.zh/windows/path.md @@ -1,19 +1,20 @@ # path -> 显示或设置可执行文件的搜索路径. +> 显示或设置可执行文件的搜索路径。 +> 更多信息:. -- 显示当前的路径: +- 显示当前的路径: `path` -- 将路径设置为一个或多个以分号分隔的目录: +- 将路径设置为一个或多个以分号分隔的目录: `path {{目录的路径 1[; 目录的路径 2]}}` -- 将新的目录添加到源路径后: +- 将新的目录添加到源路径后: `path {{目录的路径}};%path%` -- 将命令提示符设置为仅搜索当前目录中的可执行文件: +- 将命令提示符设置为仅搜索当前目录中的可执行文件: `path ;` diff --git a/pages.zh/windows/pathping.md b/pages.zh/windows/pathping.md index cf524ae51b5dbf..f970831f402eb0 100644 --- a/pages.zh/windows/pathping.md +++ b/pages.zh/windows/pathping.md @@ -1,35 +1,36 @@ # pathping -> 一种结合了`ping`和`tracert`功能的跟踪路由工具. +> 一种结合了`ping`和`tracert`功能的跟踪路由工具。 +> 更多信息:. -- Ping 并追踪主机的路由: +- Ping 并追踪主机的路由: `pathping {{主机名}}` -- 不要对主机名执行 IP 地址的反向查找: +- 不要对主机名执行 IP 地址的反向查找: `pathping {{主机名}} -n` -- 指定要搜索目标的最大跃点数(默认值为 30): +- 指定要搜索目标的最大跃点数(默认值为 30): `pathping {{主机名}} -h {{最大跃点数}}` -- 指定 ping 之间等待的毫秒数(默认值为 240): +- 指定 ping 之间等待的毫秒数(默认值为 240): `pathping {{主机名}} -p {{时间}}` -- 指定每跳的查询数(默认值为 100): +- 指定每跳的查询数(默认值为 100): `pathping {{主机名}} -q {{查询语句}}` -- 强制使用 IPV4: +- 强制使用 IPV4: `pathping {{主机名}} -4` -- 强制使用 IPV6: +- 强制使用 IPV6: `pathping {{主机名}} -6` -- 显示详细的使用帮助: +- 显示详细的使用帮助: `pathping /?` diff --git a/pages.zh/windows/popd.md b/pages.zh/windows/popd.md index a0c1d89efdea01..ee79fd15063bdb 100644 --- a/pages.zh/windows/popd.md +++ b/pages.zh/windows/popd.md @@ -1,7 +1,8 @@ # popd -> 将当前目录切换到`pushd`命令存储的目录. +> 将当前目录切换到`pushd`命令存储的目录。 +> 更多信息:. -- 切换到储存在栈顶的目录: +- 切换到储存在栈顶的目录: `popd` diff --git a/pages.zh/windows/powershell.md b/pages.zh/windows/powershell.md deleted file mode 100644 index d30f7eae71b3a4..00000000000000 --- a/pages.zh/windows/powershell.md +++ /dev/null @@ -1,32 +0,0 @@ -# powershell - -> 专为系统管理而设计的命令行 shell 和脚本语言. -> 更多信息: . - -- 在命令提示符窗口中启动 Windows PowerShell 会话: - -`powershell` - -- 加载一个特定的 PowerShell 控制台文件: - -`powershell -PSConsoleFile {{路径/file}}` - -- 用指定版本的 PowerShell 启动会话: - -`powershell -Version {{版本}}` - -- 防止运行启动命令后 shell 退出: - -`powershell -NoExit` - -- 描述发送到 PowerShell 的数据格式: - -`powershell -InputFormat {{Text|XML}}` - -- 设定 PowerShell 输出的格式: - -`powershell -OutputFormat {{Text|XML}}` - -- 显示帮助: - -`powershell -Help` diff --git a/pages.zh/windows/print.md b/pages.zh/windows/print.md deleted file mode 100644 index 244faad8322c40..00000000000000 --- a/pages.zh/windows/print.md +++ /dev/null @@ -1,11 +0,0 @@ -# print - -> 将文本文件打印到打印机. - -- 将文本文件打印到默认的打印机: - -`print {{文件的路径}}` - -- 将文本文件打印到指定的打印机: - -`print /d:{{打印机}} {{文件的路径}}` diff --git a/pages.zh/windows/print.win.md b/pages.zh/windows/print.win.md new file mode 100644 index 00000000000000..d0394009e89d67 --- /dev/null +++ b/pages.zh/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> 将文本文件打印到打印机。 +> 更多信息:. + +- 将文本文件打印到默认的打印机: + +`print {{文件的路径}}` + +- 将文本文件打印到指定的打印机: + +`print /d:{{打印机}} {{文件的路径}}` diff --git a/pages.zh/windows/pushd.md b/pages.zh/windows/pushd.md index 8b5269465c50a3..3d92420f51b6bf 100644 --- a/pages.zh/windows/pushd.md +++ b/pages.zh/windows/pushd.md @@ -1,8 +1,9 @@ # pushd -> 将目录储存在栈顶以便稍后访问. -> 参考`popd`命令来切换到原目录. +> 将目录储存在栈顶以便稍后访问。 +> 参考`popd`命令来切换到原目录。 +> 更多信息:. -- 切换目录并将它放至栈: +- 切换目录并将它放至栈: `pushd {{目录}}` diff --git a/pages.zh/windows/pwlauncher.md b/pages.zh/windows/pwlauncher.md index bef759bf556325..84abb21cf4d0bb 100644 --- a/pages.zh/windows/pwlauncher.md +++ b/pages.zh/windows/pwlauncher.md @@ -1,11 +1,12 @@ # pwlauncher -> 用于管理 Windows To Go 启动选项的命令行工具. +> 用于管理 Windows To Go 启动选项的命令行工具。 +> 更多信息:. -- 显示当前 Windows To Go 的状态: +- 显示当前 Windows To Go 的状态: `pwlauncher` -- 启用或禁用 Windows To Go 的启动选项: +- 启用或禁用 Windows To Go 的启动选项: `pwlauncher /{{enable|disable}}` diff --git a/pages.zh/windows/pwsh-where.md b/pages.zh/windows/pwsh-where.md new file mode 100644 index 00000000000000..400baf81c9d46b --- /dev/null +++ b/pages.zh/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> 这是 `Where-Object` 命令的一个别名。 + +- 原命令的文档在: + +`tldr Where-Object` diff --git a/pages.zh/windows/py.md b/pages.zh/windows/py.md new file mode 100644 index 00000000000000..2966291beb977f --- /dev/null +++ b/pages.zh/windows/py.md @@ -0,0 +1,21 @@ +# py + +> 用于 Windows 的 Python 启动器,可运行指定的 Python 版本。 +> 另见: `python`. +> 更多信息:. + +- 启动一个 REPL(交互式命令行),可以选择使用 `python` 支持的参数(如 `-c`、`-m` 等): + +`py {{python 参数}}` + +- 执行指定的 Python 文件: + +`py {{路径/到/文件.py}}` + +- 运行指定版本的 Python. 若缺少该版本且设置了 `PYLAUNCHER_ALLOW_INSTALL` 环境变量,则通过 Microsoft Store 或 Winget 自动安装: + +`py {{-2|-3.7|...}}` + +- 列出已安装的 Python 版本: + +`py --list` diff --git a/pages.zh/windows/rd.md b/pages.zh/windows/rd.md new file mode 100644 index 00000000000000..3c97ae2687104e --- /dev/null +++ b/pages.zh/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> 这是 `rmdir` 命令的一个别名。 + +- 原命令的文档在: + +`tldr rmdir` diff --git a/pages.zh/windows/rdpsign.md b/pages.zh/windows/rdpsign.md index ef45de0f47839f..c1434947ac8cab 100644 --- a/pages.zh/windows/rdpsign.md +++ b/pages.zh/windows/rdpsign.md @@ -1,23 +1,24 @@ # rdpsign -> 用于签名远程桌面协议(RDP)文件的工具. +> 用于签名远程桌面协议(RDP)文件的工具。 +> 更多信息:. -- 为一个 RDP 文件签名: +- 为一个 RDP 文件签名: `rdpsign {{文件路径.rdp}}` -- 使用一个指定的 sha256 哈希值为 RDP 文件签名: +- 使用一个指定的 sha256 哈希值为 RDP 文件签名: `rdpsign {{文件路径.rdp}} /sha265 {{哈希值}}` -- 启用静默输出: +- 启用静默输出: `rdpsign {{文件路径.rdp}} /q` -- 显示详细的信息、警告和状态: +- 显示详细的信息、警告和状态: `rdpsign {{文件路径.rdp}} /v` -- 在不更新文件的情况下将输出显示到标准输出来测试签名: +- 在不更新文件的情况下将输出显示到标准输出来测试签名: `rdpsign {{文件路径.rdp}} /l` diff --git a/pages.zh/windows/reg-add.md b/pages.zh/windows/reg-add.md index 29e15739a8acca..bbf439931061fe 100644 --- a/pages.zh/windows/reg-add.md +++ b/pages.zh/windows/reg-add.md @@ -1,23 +1,24 @@ # reg add -> 将新的键值添加到注册表中. +> 将新的键值添加到注册表中。 +> 更多信息:. -- 添加一个新的注册表键: +- 添加一个新的注册表键: `reg add {{键名}}` -- 在指定的键下添加新值: +- 在指定的键下添加新值: `reg add {{键名}} /v {{值}}` -- Add a new value with specific data: +- Add a new value with specific data: `reg add {{键名}} /d {{数据}}` -- 向具有特定数据类型的键添加新值: +- 向具有特定数据类型的键添加新值: `reg add {{键名}} /t {{类型}}` -- 在没有提示的情况下强制覆盖现有的注册表值: +- 在没有提示的情况下强制覆盖现有的注册表值: `reg add {{键名}} /f` diff --git a/pages.zh/windows/reg-compare.md b/pages.zh/windows/reg-compare.md index 246d93003518ef..9ea4828dbe1a20 100644 --- a/pages.zh/windows/reg-compare.md +++ b/pages.zh/windows/reg-compare.md @@ -1,23 +1,24 @@ # reg compare -> 比较注册表中的键和值. +> 比较注册表中的键和值。 +> 更多信息:. -- 比较两个键中的所有值: +- 比较两个键中的所有值: `reg compare {{第一个键名}} {{第二个键名}}` -- 比较两个键中指定的值: +- 比较两个键中指定的值: `reg compare {{第一个键名}} {{第二个键名}} /v {{值}}` -- 比较两个键中的所有子键和值: +- 比较两个键中的所有子键和值: `reg compare {{第一个键名}} {{第二个键名}} /s` -- 仅输出指定键之间匹配的结果: +- 仅输出指定键之间匹配的结果: `reg compare {{第一个键名}} {{第二个键名}} /os` -- 输出两个键之间的匹配和差异: +- 输出两个键之间的匹配和差异: `reg compare {{第一个键名}} {{第二个键名}} /oa` diff --git a/pages.zh/windows/reg-copy.md b/pages.zh/windows/reg-copy.md index 9520a542e2d085..90306453d135db 100644 --- a/pages.zh/windows/reg-copy.md +++ b/pages.zh/windows/reg-copy.md @@ -1,15 +1,16 @@ # reg copy -> 复制注册表中的键和值. +> 复制注册表中的键和值。 +> 更多信息:. -- 将注册表键复制到新的注册表位置: +- 将注册表键复制到新的注册表位置: `reg copy {{旧键名}} {{新键名}}` -- 递归将注册表键复制到新的注册表位置: +- 递归将注册表键复制到新的注册表位置: `reg copy {{旧键名}} {{新键名}} /s` -- 在没有提示的情况下强制复制注册表键: +- 在没有提示的情况下强制复制注册表键: `reg copy {{旧键名}} {{新键名}} /f` diff --git a/pages.zh/windows/reg-delete.md b/pages.zh/windows/reg-delete.md index aea8e3bd42ceac..d368800c7693eb 100644 --- a/pages.zh/windows/reg-delete.md +++ b/pages.zh/windows/reg-delete.md @@ -1,19 +1,20 @@ # reg delete -> 从注册表中删除键和值. +> 从注册表中删除键和值。 +> 更多信息:. -- 删除一个指定的键: +- 删除一个指定的键: `reg delete {{键名}}` -- 删除键中指定的值: +- 删除键中指定的值: `reg delete {{键名}} /v {{值}}` -- 递归删除指定键下所有的值: +- 递归删除指定键下所有的值: `reg delete {{键名}} /va` -- 在没有提示的情况下递归删除键中所有的值: +- 在没有提示的情况下递归删除键中所有的值: `reg delete {{键名}} /f /va` diff --git a/pages.zh/windows/reg-export.md b/pages.zh/windows/reg-export.md index ae3a12093bc1b5..75c18e6b98d0b8 100644 --- a/pages.zh/windows/reg-export.md +++ b/pages.zh/windows/reg-export.md @@ -1,11 +1,12 @@ # reg export -> 将指定的子键和值导出到文件中. +> 将指定的子键和值导出到文件中。 +> 更多信息:. -- 导出指定键下所有的子键和值: +- 导出指定键下所有的子键和值: `reg export {{键名}} {{导出文件的路径.reg}}` -- 在没有提示的情况下强制覆盖现有文件: +- 在没有提示的情况下强制覆盖现有文件: `reg export {{键名}} {{导出文件的路径.reg}} /y` diff --git a/pages.zh/windows/reg-flags.md b/pages.zh/windows/reg-flags.md deleted file mode 100644 index 354f0f693a0b86..00000000000000 --- a/pages.zh/windows/reg-flags.md +++ /dev/null @@ -1,19 +0,0 @@ -# reg flags - -> 显示或设置注册表键的标志. - -- 显示当前指定键的标志: - -`reg flags {{键名}} query` - -- 显示帮助和可用的标志类型: - -`reg flags /?` - -- 为特定键设置指定以空格分隔的标志,并取消设置未提及的标志: - -`reg flags {{键名}} set {{标志 1 标志 2 ..}}` - -- 为指定的键和其子键设置标志: - -`reg flags {{键名}} set {{标志}} /s` diff --git a/pages.zh/windows/reg-import.md b/pages.zh/windows/reg-import.md index d9328f39e9b3f6..d11ddfd01925cd 100644 --- a/pages.zh/windows/reg-import.md +++ b/pages.zh/windows/reg-import.md @@ -1,7 +1,8 @@ # reg import -> 从一个文件导入所有可用的键、子键和值. +> 从一个文件导入所有可用的键、子键和值。 +> 更多信息:. -- 从一个文件导入所有可用的键、子键和值: +- 从一个文件导入所有可用的键、子键和值: `reg import {{reg 文件的路径}}` diff --git a/pages.zh/windows/reg-load.md b/pages.zh/windows/reg-load.md index a1a8ad713418a6..14fd1357a82c1f 100644 --- a/pages.zh/windows/reg-load.md +++ b/pages.zh/windows/reg-load.md @@ -1,8 +1,9 @@ # reg load -> 将保存的子键加载到不同的子键中. +> 将保存的子键加载到不同的子键中。 > This is intended for troubleshooting and temporary keys. +> 更多信息:. -- 将备份文件加载到指定的键中: +- 将备份文件加载到指定的键中: `reg load {{键名}} {{文件的路径}}` diff --git a/pages.zh/windows/reg-query.md b/pages.zh/windows/reg-query.md index 050f5043dfd66b..f99de7eb0194ee 100644 --- a/pages.zh/windows/reg-query.md +++ b/pages.zh/windows/reg-query.md @@ -1,23 +1,24 @@ # reg query -> 显示注册表中键和子键的值. +> 显示注册表中键和子键的值。 +> 更多信息:. -- 显示一个键中的所有值: +- 显示一个键中的所有值: `reg query {{键名}}` -- 显示键中指定的值: +- 显示键中指定的值: `reg query {{键名}} /v {{值}}` -- 显示指定键和其子键中的所有的值: +- 显示指定键和其子键中的所有的值: `reg query {{键名}} /s` -- 搜索与特定模式匹配的键和值: +- 搜索与特定模式匹配的键和值: `reg query {{键名}} /f "{{查询语句}}"` -- 显示与指定数据类型匹配的键的值: +- 显示与指定数据类型匹配的键的值: `reg query {{键名}} /t {{类型}}` diff --git a/pages.zh/windows/reg-restore.md b/pages.zh/windows/reg-restore.md index bcc96d1ffe3ab0..805c20873116cd 100644 --- a/pages.zh/windows/reg-restore.md +++ b/pages.zh/windows/reg-restore.md @@ -1,8 +1,9 @@ # reg restore -> 从备份文件中恢复键和值. -> 参见 `reg-save` 来获取更多的信息. +> 从备份文件中恢复键和值。 +> 参见 `reg-save` 来获取更多的信息。 +> 更多信息:. -- 使用备份文件中的数据覆盖指定的键: +- 使用备份文件中的数据覆盖指定的键: `reg restore {{键名}} {{文件路径}}` diff --git a/pages.zh/windows/reg-save.md b/pages.zh/windows/reg-save.md index ec63fdd1ca44b6..3618e6aca6e939 100644 --- a/pages.zh/windows/reg-save.md +++ b/pages.zh/windows/reg-save.md @@ -1,11 +1,12 @@ # reg save -> 将注册表键、子键的所有值保存到一个文件中. +> 将注册表键、子键的所有值保存到一个文件中。 +> 更多信息:. -- 将注册表键、子键的所有值保存到一个文件中: +- 将注册表键、子键的所有值保存到一个文件中: `reg save {{键名}} {{文件的路径}}` -- 在没有提示的情况下强制覆盖现有文件: +- 在没有提示的情况下强制覆盖现有文件: `reg save {{键名}} {{文件的路径}} /y` diff --git a/pages.zh/windows/reg-unload.md b/pages.zh/windows/reg-unload.md index 115be50c06c029..8c9ddf2f486c8b 100644 --- a/pages.zh/windows/reg-unload.md +++ b/pages.zh/windows/reg-unload.md @@ -1,7 +1,8 @@ # reg unload -> 从使用`reg load`命令加载的注册表中删除数据. +> 从使用`reg load`命令加载的注册表中删除数据。 +> 更多信息:. -- 从使用`reg load`命令加载的注册表中删除数据: +- 从使用`reg load`命令加载的注册表中删除数据: `reg unload {{键名}}` diff --git a/pages.zh/windows/reg.md b/pages.zh/windows/reg.md index 0a794c7f72a01d..5c6e38e9054427 100644 --- a/pages.zh/windows/reg.md +++ b/pages.zh/windows/reg.md @@ -1,16 +1,17 @@ # reg -> 用于在 Windows 注册表中管理键及其值的命令行界面. -> 参见 `reg-query`, `reg-add` 和其他的页面来获取额外的信息. +> 用于在 Windows 注册表中管理键及其值的命令行界面。 +> 此命令也有关于其子命令的文件,例如:`add`. +> 更多信息:. -- 执行注册表命令: +- 执行注册表命令: `reg {{命令}}` -- 显示常规信息并列出所有可用命令: +- 显示常规信息并列出所有可用命令: `reg /?` -- 显示指定命令的帮助信息: +- 显示指定命令的帮助信息: `reg {{命令}} /?` diff --git a/pages.zh/windows/repair-bde.md b/pages.zh/windows/repair-bde.md index 23a870fe127674..53c64434e8a336 100644 --- a/pages.zh/windows/repair-bde.md +++ b/pages.zh/windows/repair-bde.md @@ -1,35 +1,36 @@ # repair-bde -> 尝试修复或解密损坏的 BitLocker 加密卷. +> 尝试修复或解密损坏的 BitLocker 加密卷。 +> 更多信息:. -- 尝试修复一个指定的卷: +- 尝试修复一个指定的卷: `repair-bde {{C:}}` -- 尝试修复指定的卷并输出到另一个卷: +- 尝试修复指定的卷并输出到另一个卷: `repair-bde {{C:}} {{D:}}` -- 尝试使用提供的恢复密钥文件修复指定的卷: +- 尝试使用提供的恢复密钥文件修复指定的卷: -`repair-bde {{C:}} -RecoveryKey {{bek 文件的路径}` +`repair-bde {{C:}} -RecoveryKey {{bek 文件的路径}}` -- 尝试使用提供的数字恢复密码修复指定的卷: +- 尝试使用提供的数字恢复密码修复指定的卷: `repair-bde {{C:}} -RecoveryPassword {{密码}}` -- 尝试使用提供的密码修复指定的卷: +- 尝试使用提供的密码修复指定的卷: `repair-bde {{C:}} -Password {{密码}}` -- 尝试使用提供的密钥包修复指定的卷: +- 尝试使用提供的密钥包修复指定的卷: `repair-bde {{C:}} -KeyPackage {{目录的路径}}` -- 将日志输出到指定的文件: +- 将日志输出到指定的文件: `repair-bde {{C:}} -LogFile {{文件的路径}}` -- 显示所有可用的选项: +- 显示所有可用的选项: `repair-bde /?` diff --git a/pages.zh/windows/rmdir.md b/pages.zh/windows/rmdir.md index a6191870bf0a56..b5474b8142c3ec 100644 --- a/pages.zh/windows/rmdir.md +++ b/pages.zh/windows/rmdir.md @@ -1,15 +1,21 @@ # rmdir -> 删除一个目录和其中的内容. +> 删除目录及其内容。 +> 在 PowerShell 中,此命令是 `Remove-Item` 的别名。此文档基于 `cmd` 版本的 `rmdir`。 +> 更多信息:. -- 删除一个空目录: +- 查看等效的 PowerShell 命令的文档: -`rmdir {{目录的路径}}` +`tldr remove-item` -- 递归删除一个目录及其中的内容: +- 删除一个空目录: -`rmdir {{目录的路径}} /s` +`rmdir {{路径\到\目录}}` -- 在没有提示的情况下递归删除目录及其内容: +- 递归删除目录及其内容: -`rmdir {{path/to/directory}} /s /q` +`rmdir {{路径\到\目录}} /s` + +- 递归删除目录及其内容,无需提示: + +`rmdir {{路径\到\目录}} /s /q` diff --git a/pages.zh/windows/scoop-bucket.md b/pages.zh/windows/scoop-bucket.md index c4693b6d144124..8e3e80368d1a95 100644 --- a/pages.zh/windows/scoop-bucket.md +++ b/pages.zh/windows/scoop-bucket.md @@ -2,24 +2,24 @@ > 管理 bucket: 包含描述 scoop 应如何安装应用程序的文件的 Git 存储库。 > 如果 Scoop 不知道 bucket 在哪里,则必须指定其存储库位置。 -> 更多信息: . +> 更多信息:. -- 列出所有正在使用的 bucket: +- 列出所有正在使用的 bucket: `scoop bucket list` -- 列出所有已知 bucket: +- 列出所有已知 bucket: `scoop bucket known` -- 按名称添加一个已知 bucket: +- 按名称添加一个已知 bucket: `scoop bucket add {{名称}}` -- 通过名称和 Git 存储库 URL 添加未知 bucket: +- 通过名称和 Git 存储库 URL 添加未知 bucket: `scoop bucket add {{名称}} {{https://example.com/repository.git}}` -- 按名称删除 bucket: +- 按名称删除 bucket: `scoop bucket rm {{名称}}` diff --git a/pages.zh/windows/scoop.md b/pages.zh/windows/scoop.md index ec886ebbb7b2fa..3ded6c66bff9ab 100644 --- a/pages.zh/windows/scoop.md +++ b/pages.zh/windows/scoop.md @@ -1,35 +1,32 @@ # scoop -> Windows 的命令行安装程序. +> Windows 的命令行安装程序。 +> 更多信息:. -- 安装一个包: +- 安装一个包: `scoop install {{包名}}` -- 删除一个包: +- 删除一个包: `scoop uninstall {{包名}}` -- 更新所有已安装的包: +- 更新所有已安装的包: -`scoop update *` +`scoop update --all` -- 列出所有已安装的包: +- 列出所有已安装的包: `scoop list` -- 显示一个包的信息: +- 显示一个包的信息: `scoop info {{包名}}` -- 搜索一个包: +- 搜索一个包: `scoop search {{包名}}` -- 列出所有已知的桶 (“桶”代表程序的仓库): +- 移除所有包的旧版本并清理下载缓存: -`scoop bucket known` - -- 通过别名或 Git 存储库 URL 添加存储桶: - -`scoop bucket add {{bucket}}` +`scoop cleanup --cache --all` diff --git a/pages.zh/windows/set.md b/pages.zh/windows/set.md index a10434d823e05b..8e2ed3dd6b56a5 100644 --- a/pages.zh/windows/set.md +++ b/pages.zh/windows/set.md @@ -1,19 +1,20 @@ # set -> 显示或设置当前命令行实例的环境变量. +> 显示或设置当前命令行实例的环境变量。 +> 更多信息:. -- 列出当前所有环境变量: +- 列出当前所有环境变量: `set` -- 为一个环境变量设置指定的值: +- 为一个环境变量设置指定的值: `set {{变量名}}={{值}}` -- 列出以指定字符串开头的环境变量: +- 列出以指定字符串开头的环境变量: `set {{变量名}}` -- 提示用户输入指定变量的值: +- 提示用户输入指定变量的值: `set /p {{变量名}}={{提示信息}}` diff --git a/pages.zh/windows/sfc.md b/pages.zh/windows/sfc.md index 105e3cebc0096f..cc15be8e2f5529 100644 --- a/pages.zh/windows/sfc.md +++ b/pages.zh/windows/sfc.md @@ -1,31 +1,32 @@ # sfc -> 扫描 Windows 系统文件的完整性. +> 扫描 Windows 系统文件的完整性。 +> 更多信息:. -- 显示命令的使用方法: +- 显示命令的使用方法: `sfc` -- 扫描所有的系统文件,如果可能的话,修复所有出现的问题: +- 扫描所有的系统文件,如果可能的话,修复所有出现的问题: `sfc /scannow` -- 扫描系统文件,但不修复出现的问题: +- 扫描系统文件,但不修复出现的问题: `sfc /verifyonly` -- 扫描指定的文件,如果可能的话,修复所有出现的问题: +- 扫描指定的文件,如果可能的话,修复所有出现的问题: `sfc /scanfile={{文件的路径}}` -- 扫描指定的文件,但不修复出现的问题: +- 扫描指定的文件,但不修复出现的问题: `sfc /verifyfile={{文件的路径}}` -- 当离线修复时,指定引导目录: +- 当离线修复时,指定引导目录: `sfc /offbootdir={{目录的路径}}` -- 当离线修复时,指定 Windows 目录: +- 当离线修复时,指定 Windows 目录: `sfc /offwindir={{文件的路径}}` diff --git a/pages.zh/windows/shutdown.md b/pages.zh/windows/shutdown.md index cd828b7c539ff8..e3495f0867e449 100644 --- a/pages.zh/windows/shutdown.md +++ b/pages.zh/windows/shutdown.md @@ -1,35 +1,36 @@ # shutdown -> 用于关闭,重新启动或注销计算机的工具. +> 用于关闭、重启或注销计算机的工具。 +> 更多信息:. -- 关闭当前的计算机: +- 关闭当前计算机: `shutdown /s` -- 重启当前的计算机: +- 强制关闭当前计算机的所有应用程序: -`shutdown /r` +`shutdown /s /f` -- 休眠当前的计算机: +- 立即重启当前计算机: + +`shutdown /r /t 0` + +- 休眠当前计算机: `shutdown /h` -- 注销当前的计算机: +- 注销当前计算机: `shutdown /l` -- 指定在关闭之前等待的时间(以秒为单位): +- 指定在关闭前等待的秒数: `shutdown /s /t {{秒}}` -- 指定一个关机的理由: - -`shutdown /s /c "{{理由}}"` - -- 在超时之前取消关机指令: +- 中止尚未超时的关机序列: `shutdown /a` -- 关闭远程的计算机: +- 关闭远程计算机: `shutdown /m {{\\ 主机名}}` diff --git a/pages.zh/windows/sigverif.md b/pages.zh/windows/sigverif.md deleted file mode 100644 index def5c3fe79f949..00000000000000 --- a/pages.zh/windows/sigverif.md +++ /dev/null @@ -1,7 +0,0 @@ -# sigverif - -> 用于检查系统文件的 GUI 签名验证工具. - -- 打开文件签名验证界面: - -`sigverif` diff --git a/pages.zh/windows/sls.md b/pages.zh/windows/sls.md new file mode 100644 index 00000000000000..aee8e37aca86b2 --- /dev/null +++ b/pages.zh/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> 这是 `Select-String` 命令的一个别名。 + +- 原命令的文档在: + +`tldr select-string` diff --git a/pages.zh/windows/subst.md b/pages.zh/windows/subst.md index 97eefab8c90aa2..0913349e1609cb 100644 --- a/pages.zh/windows/subst.md +++ b/pages.zh/windows/subst.md @@ -1,15 +1,16 @@ # subst -> 将路径与虚拟驱动器号关联. +> 将路径与虚拟驱动器号关联。 +> 更多信息:. -- 列出已激活的关联: +- 列出已激活的关联: `subst` -- 添加一个关联: +- 添加一个关联: `subst {{Z:}} {{C:\Python2.7}}` -- 删除一个关联: +- 删除一个关联: `subst {{Z:}} /d` diff --git a/pages.zh/windows/systeminfo.md b/pages.zh/windows/systeminfo.md index 4a0a21330d47f2..221506f0eef7a3 100644 --- a/pages.zh/windows/systeminfo.md +++ b/pages.zh/windows/systeminfo.md @@ -1,19 +1,20 @@ # systeminfo -> 显示本地或远程计算机的操作系统配置. +> 显示本地或远程计算机的操作系统配置。 +> 更多信息:. -- 显示本地计算机的操作系统配置: +- 显示本地计算机的操作系统配置: `systeminfo` -- 以指定的输出格式显示系统配置: +- 以指定的输出格式显示系统配置: `systeminfo /fo {{table|list|csv}}` -- 显示远程计算机的系统配置: +- 显示远程计算机的系统配置: `systeminfo /s {{远程主机名}} /u {{用户名}} /p {{密码}}` -- 显示详细的帮助信息: +- 显示详细的帮助信息: `systeminfo /?` diff --git a/pages.zh/windows/takeown.md b/pages.zh/windows/takeown.md index 69cf3fe752b91c..9ea776b628696c 100644 --- a/pages.zh/windows/takeown.md +++ b/pages.zh/windows/takeown.md @@ -1,20 +1,20 @@ # takeown -> 取得文件或目录的所有权. -> 更多信息: . +> 取得文件或目录的所有权。 +> 更多信息:. -- 取得指定文件的所有权: +- 取得指定文件的所有权: `takeown /f {{路径/文件}}` -- 取得指定目录的所有权: +- 取得指定目录的所有权: `takeown /d {{路径/目录}}` -- 取得指定目录和所有子目录的所有权: +- 取得指定目录和所有子目录的所有权: `takeown /r /d {{路径/目录}}` -- 将所有权更改为管理员组,而不是当前用户: +- 将所有权更改为管理员组,而不是当前用户: `takeown /a /f {{路径/文件}}` diff --git a/pages.zh/windows/taskkill.md b/pages.zh/windows/taskkill.md index f47bd09beb3410..2be89d59e5ebe9 100644 --- a/pages.zh/windows/taskkill.md +++ b/pages.zh/windows/taskkill.md @@ -1,27 +1,28 @@ # taskkill -> 按进程 id 或进程名终止进程. +> 按进程 ID 或进程名终止进程。 +> 更多信息:. -- 通过进程 id 终止进程: +- 通过进程 ID 终止进程: `taskkill /pid {{进程 id}}` -- 通过进程名终止进程: +- 通过进程名终止进程: `taskkill /im {{进程名}}` -- 强制终止一个指定的进程: +- 强制终止一个指定的进程: `taskkill /pid {{进程名}} /f` -- 终止一个进程及其子进程: +- 终止一个进程及其子进程: `taskkill /im {{进程名}} /t` -- 终止远程计算机上的进程: +- 终止远程计算机上的进程: `taskkill /pid {{进程 id}} /s {{远程主机名}}` -- 显示命令的帮助信息: +- 显示命令的帮助信息: `taskkill /?` diff --git a/pages.zh/windows/tasklist.md b/pages.zh/windows/tasklist.md index ab911f1255c736..6b7a4a37da3815 100644 --- a/pages.zh/windows/tasklist.md +++ b/pages.zh/windows/tasklist.md @@ -1,23 +1,24 @@ # tasklist -> 显示本地或远程计算机上当前正在运行的进程的列表. +> 显示本地或远程计算机上当前正在运行的进程的列表。 +> 更多信息:. -- 显示当前正在运行的进程: +- 显示当前正在运行的进程: `tasklist` -- 使用指定的格式显示当前进程列表: +- 使用指定的格式显示当前进程列表: `tasklist /fo {{table|list|csv}}` -- 已匹配的方式 (.exe, .dll) 显示当前运行的进程: +- 已匹配的方式(.exe, .dll)显示当前运行的进程: `tasklist /m {{匹配模式}}` -- 显示在远程计算机上运行的进程: +- 显示在远程计算机上运行的进程: `tasklist /s {{远程主机名}} /u {{用户名}} /p {{密码}}` -- 显示每个进程中的服务信息: +- 显示每个进程中的服务信息: `tasklist /svc` diff --git a/pages.zh/windows/title.md b/pages.zh/windows/title.md index 5ae715943ca931..a9e918601471e0 100644 --- a/pages.zh/windows/title.md +++ b/pages.zh/windows/title.md @@ -1,7 +1,8 @@ # title -> 设置命令提示符窗口的标题. +> 设置命令提示符窗口的标题。 +> 更多信息:. -- 设置当前的命令提示符窗口的标题: +- 设置当前的命令提示符窗口的标题: `title {{新标题}}` diff --git a/pages.zh/windows/tree.md b/pages.zh/windows/tree.md index bed5f949dc5c82..c582937a1ca82f 100644 --- a/pages.zh/windows/tree.md +++ b/pages.zh/windows/tree.md @@ -1,19 +1,20 @@ # tree -> 以目录树的形式显示指定目录的所有文件夹和文件. +> 以目录树的形式显示指定目录的所有文件夹和文件。 +> 更多信息:. -- 显示当前目录的目录树: +- 显示当前目录的目录树: `tree` -- 显示指定目录的目录树: +- 显示指定目录的目录树: `tree {{目录的路径}}` -- 显示目录中文件的目录树: +- 显示目录中文件的目录树: `tree {{目录的路径}} /f` -- 使用 ASCII 字符而不是扩展字符显示目录树: +- 使用 ASCII 字符而不是扩展字符显示目录树: `tree {{目录的路径}} /a` diff --git a/pages.zh/windows/type.md b/pages.zh/windows/type.md index d66e1d5f21ce65..e096275d6b3ddc 100644 --- a/pages.zh/windows/type.md +++ b/pages.zh/windows/type.md @@ -1,7 +1,8 @@ # type -> 显示文件的内容. +> 显示文件的内容。 +> 更多信息:. -- 显示特定文件的内容: +- 显示特定文件的内容: `type {{文件的路径}}` diff --git a/pages.zh/windows/tzutil.md b/pages.zh/windows/tzutil.md index 30c06169c5c8ff..7c05828743d8ac 100644 --- a/pages.zh/windows/tzutil.md +++ b/pages.zh/windows/tzutil.md @@ -1,15 +1,16 @@ # tzutil -> 用于显示或配置系统时区的工具. +> 用于显示或配置系统时区的工具。 +> 更多信息:. -- 获取当前的时区: +- 获取当前的时区: `tzutil /g` -- 显示可用的时区列表: +- 显示可用的时区列表: `tzutil /l` -- 将系统时区设置为特定值: +- 将系统时区设置为特定值: `tzutil /s {{时区 id}}` diff --git a/pages.zh/windows/units.md b/pages.zh/windows/units.md deleted file mode 100644 index 4f89ca5832842a..00000000000000 --- a/pages.zh/windows/units.md +++ /dev/null @@ -1,23 +0,0 @@ -# units - -> 提供两个度量单位之间的转换. - -- 以交互模式运行: - -`units` - -- 显示两个简单单位之间的转换: - -`units {{单位 1}} {{单位 2}}` - -- 在数量单位之间转换: - -`units {{15 pounds}} {{kilograms}}` - -- 显示两个复合单位之间的转换: - -`units "{{meters / second}}" "{{inches / hour}}"` - -- 显示具有不同尺寸的单位之间的转换: - -`units "{{acres}}" "{{ft^2}}"` diff --git a/pages.zh/windows/ver.md b/pages.zh/windows/ver.md index a3c290e645e9a7..e6f5679f97273c 100644 --- a/pages.zh/windows/ver.md +++ b/pages.zh/windows/ver.md @@ -1,7 +1,8 @@ # ver -> 显示当前 Windows 或 MS-DOS 的版本号. +> 显示当前 Windows 或 MS-DOS 的版本号。 +> 更多信息:. -- Display the current version number: +- Display the current version number: `ver` diff --git a/pages.zh/windows/vol.md b/pages.zh/windows/vol.md index 4c00069547c4ca..25690e7e2824e0 100644 --- a/pages.zh/windows/vol.md +++ b/pages.zh/windows/vol.md @@ -1,11 +1,12 @@ # vol -> 显示有关卷的信息. +> 显示有关卷的信息。 +> 更多信息:. -- 显示当前驱动器的标签和序列号: +- 显示当前驱动器的标签和序列号: `vol` -- 显示指定驱动器的标签和序列号: +- 显示指定驱动器的标签和序列号: `vol {{D:}}` diff --git a/pages.zh/windows/where.md b/pages.zh/windows/where.md index 4a1bf083511fca..b21fb4bb5f8cf9 100644 --- a/pages.zh/windows/where.md +++ b/pages.zh/windows/where.md @@ -1,20 +1,21 @@ # where -> 显示与搜索模式匹配的文件的位置. -> 在默认情况下,搜索是在当前目录和 PATH 环境变量指定的路径中执行的. +> 显示与搜索模式匹配的文件的位置。 +> 在默认情况下,搜索是在当前目录和 PATH 环境变量指定的路径中执行的。 +> 更多信息:. -- 显示匹配的文件的位置: +- 显示匹配的文件的位置: `where {{文件模式}}` -- 显示匹配的文件的位置、大小和日期: +- 显示匹配的文件的位置、大小和日期: `where /T {{文件模式}}` -- 在指定的路径下递归搜索要匹配的文件: +- 在指定的路径下递归搜索要匹配的文件: `where /R {{目录的路径}} {{文件模式}}` -- 只返回退出代码,不显示匹配文件列表: +- 只返回退出代码,不显示匹配文件列表: `where /Q {{文件模式}}` diff --git a/pages.zh/windows/whoami.md b/pages.zh/windows/whoami.md index 69abfa8080f992..f603780f644395 100644 --- a/pages.zh/windows/whoami.md +++ b/pages.zh/windows/whoami.md @@ -1,23 +1,28 @@ # whoami -> 显示有关当前用户的详细信息. +> 显示当前用户的详细信息。 +> 更多信息:. -- 显示当前用户的用户名: +- 显示当前用户的用户名: `whoami` -- 显示当前用户所属的组: +- 显示当前用户所属的组: `whoami /groups` -- 显示当前用户的权限: +- 显示当前用户的权限: `whoami /priv` -- 显示当前用户的用户主体名称 (UPN): +- 显示当前用户的用户主体名称(UPN): `whoami /upn` -- 显示当前用户的登录 id: +- 显示当前用户的登录 ID: `whoami /logonid` + +- 显示当前用户的所有信息: + +`whoami /all` diff --git a/pages.zh/windows/winget.md b/pages.zh/windows/winget.md index 43af9beefcd0f8..97ffa8479e51cb 100644 --- a/pages.zh/windows/winget.md +++ b/pages.zh/windows/winget.md @@ -1,16 +1,36 @@ # winget -> Windows 软件包管理器命令行工具. -> 更多信息: . +> Windows 软件包管理器命令行工具。 +> 更多信息:. -- 安装一个软件包: +- 安装一个包: -`winget install {{package}}` +`winget install {{包}}` -- 显示关于一个软件包的信息: +- 移除一个包(注意:`remove` 也可以用来代替 `uninstall`): -`winget show {{package}}` +`winget uninstall {{包}}` -- 查找一个软件包: +- 显示一个包的信息: -`winget search {{package}}` +`winget show {{包}}` + +- 搜索一个包: + +`winget search {{包}}` + +- 将所有包升级到最新版本: + +`winget upgrade --all` + +- 列出所有可以通过 `winget` 管理的已安装包: + +`winget list --source winget` + +- 从文件导入包,或将已安装的包导出到文件: + +`winget {{import|export}} {{--import-file|--output}} {{路径/到/文件}}` + +- 在提交合并到 winget-pkgs 仓库之前验证清单: + +`winget validate {{路径/到/清单}}` diff --git a/pages.zh/windows/wsl.md b/pages.zh/windows/wsl.md index 5b91f37d6cd9c8..26764e11d6bb1e 100644 --- a/pages.zh/windows/wsl.md +++ b/pages.zh/windows/wsl.md @@ -1,36 +1,36 @@ # wsl -> 从命令行管理适用于 Linux 的 Windows 子系统. -> 更多信息: . +> 从命令行管理适用于 Linux 的 Windows 子系统。 +> 更多信息:. -- 启动 Linux Shell(在默认发行版中): +- 启动 Linux Shell(在默认发行版中): `wsl {{shell_命令}}` -- 在不使用 Shell 的情况下运行 Linux 命令: +- 在不使用 Shell 的情况下运行 Linux 命令: `wsl --exec {{命令}} {{命令参数}}` -- 指定特定的发行版: +- 指定特定的发行版: `wsl --distribution {{发行版}} {{shell_命令}}` -- 列出所有可用发行版: +- 列出所有可用发行版: `wsl --list` -- 将发行版导出到 .tar 文件: +- 将发行版导出到 .tar 文件: `wsl --export {{发行版}} {{路径/distro_fs.tar}}` -- 从 .tar 文件导入发行版: +- 从 .tar 文件导入发行版: `wsl --import {{发行版}} {{路径/安装位置}} {{路径/distro_fs.tar}}` -- 更改指定发行版的版本: +- 更改指定发行版的版本: `wsl --set-version {{发行版}} {{版本}}` -- 关闭适用于 Linux 的 Windows 子系统: +- 关闭适用于 Linux 的 Windows 子系统: `wsl --shutdown` diff --git a/pages.zh/windows/xcopy.md b/pages.zh/windows/xcopy.md index 668874df51e649..f500ca080064bb 100644 --- a/pages.zh/windows/xcopy.md +++ b/pages.zh/windows/xcopy.md @@ -1,35 +1,36 @@ # xcopy -> 复制文件和目录树. +> 复制文件和目录树。 +> 更多信息:. -- 复制文件到指定的路径: +- 复制文件到指定的路径: `xcopy {{被复制的目录路径}} {{目标路径}}` -- 列出在复制前将要被复制的文件: +- 列出在复制前将要被复制的文件: `xcopy {{文件或目录的路径}} {{目标路径}} /p` -- 仅复制目录结构,不包括文件: +- 仅复制目录结构,不包括文件: `xcopy {{文件或目录的路径}} {{目标路径}} /t` -- 复制时包含空目录: +- 复制时包含空目录: `xcopy {{文件或目录的路径}} {{目标路径}} /e` -- 复制文件时保留 ACL 信息: +- 复制文件时保留 ACL 信息: `xcopy {{文件或目录的路径}} {{目标路径}} /o` -- 网络连接丢失时允许恢复: +- 网络连接丢失时允许恢复: `xcopy {{文件或目录的路径}} {{目标路径}} /z` -- 当文件存在于目标路径中时禁用提示 +- 当文件存在于目标路径中时禁用提示: `xcopy {{文件或目录的路径}} {{目标路径}} /y` -- 显示详细的使用帮助: +- 显示详细的使用帮助: `xcopy /?` diff --git a/pages.zh_TW/android/am.md b/pages.zh_TW/android/am.md new file mode 100644 index 00000000000000..c9420f13fabef9 --- /dev/null +++ b/pages.zh_TW/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android 活動管理器。 +> 更多資訊:. + +- 啟動一個指定的活動: + +`am start -n {{com.android.settings/.Settings}}` + +- 啟動一個活動並將資料傳遞給它: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- 啟動與特定操作和類別匹配的活動: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- 將意圖(intent)轉換為 URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.zh_TW/android/bugreport.md b/pages.zh_TW/android/bugreport.md new file mode 100644 index 00000000000000..406d0648a6a8a6 --- /dev/null +++ b/pages.zh_TW/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> 顯示安卓的 Bug 報告。 +> 該命令只能透過 `adb shell` 使用。 +> 更多資訊:. + +- 顯示 Android 裝置的完整錯誤報告: + +`bugreport` diff --git a/pages.zh_TW/android/bugreportz.md b/pages.zh_TW/android/bugreportz.md new file mode 100644 index 00000000000000..dc9953dfd233a6 --- /dev/null +++ b/pages.zh_TW/android/bugreportz.md @@ -0,0 +1,21 @@ +# bugreportz + +> 生成一個壓縮的 Android 錯誤報告。 +> 此命令只能透過 `adb shell` 使用。 +> 更多資訊:. + +- 生成一個完整的 Android 裝置壓縮錯誤報告: + +`bugreportz` + +- 顯示正在執行的 `bugreportz` 的作業進度: + +`bugreportz -p` + +- 顯示幫助資訊: + +`bugreportz -h` + +- 顯示 `bugreportz` 的版本: + +`bugreportz -v` diff --git a/pages.zh_TW/android/cmd.md b/pages.zh_TW/android/cmd.md new file mode 100644 index 00000000000000..03fcf3c384cbba --- /dev/null +++ b/pages.zh_TW/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Android 服務管理器。 +> 更多資訊:. + +- 列出所有正在執行的服務: + +`cmd -l` + +- 呼叫指定服務: + +`cmd {{alarm}}` + +- 呼叫服務同時傳遞參數: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.zh_TW/android/dalvikvm.md b/pages.zh_TW/android/dalvikvm.md new file mode 100644 index 00000000000000..e5905e9acb0b39 --- /dev/null +++ b/pages.zh_TW/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Android Java 虛擬機。 +> 更多資訊:. + +- 啟動一個 Java 程序: + +`dalvikvm -classpath {{檔案.jar}} {{類別名稱}}` diff --git a/pages.zh_TW/android/dumpsys.md b/pages.zh_TW/android/dumpsys.md new file mode 100644 index 00000000000000..73d661703d1836 --- /dev/null +++ b/pages.zh_TW/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> 提供關於 Android 系統服務的資訊。 +> 此命令只能透過 `adb shell` 使用。 +> 更多資訊:. + +- 獲取所有系統服務的診斷輸出: + +`dumpsys` + +- 獲取指定系統服務的診斷輸出: + +`dumpsys {{服務}}` + +- 列出 `dumpsys` 可以提供的所有服務資訊: + +`dumpsys -l` + +- 列出服務的指定服務引數: + +`dumpsys {{服務}} -h` + +- 從診斷輸出中排除指定服務: + +`dumpsys --skip {{服務}}` + +- 指定超時時間,以秒為單位(預設為 10 秒): + +`dumpsys -t {{秒數}}` diff --git a/pages.zh_TW/android/getprop.md b/pages.zh_TW/android/getprop.md new file mode 100644 index 00000000000000..56efe8666dbbee --- /dev/null +++ b/pages.zh_TW/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> 顯示關於 Android 系統屬性的資訊。 +> 更多資訊:. + +- 顯示關於 Android 系統屬性的資訊: + +`getprop` + +- 顯示關於指定屬性的資訊: + +`getprop {{屬性}}` + +- 顯示 SDK API 級別: + +`getprop {{ro.build.version.sdk}}` + +- 顯示 Android 版本: + +`getprop {{ro.build.version.release}}` + +- 顯示 Android 裝置型號: + +`getprop {{ro.vendor.product.model}}` + +- 顯示 OEM 解鎖狀態: + +`getprop {{ro.oem_unlock_supported}}` + +- 顯示 Android WiFi 卡的 MAC 地址: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.zh_TW/android/input.md b/pages.zh_TW/android/input.md new file mode 100644 index 00000000000000..ad286e06b62610 --- /dev/null +++ b/pages.zh_TW/android/input.md @@ -0,0 +1,25 @@ +# input + +> 將事件代碼或觸控螢幕手勢傳送到 Android 裝置。 +> 此命令只能透過 `adb shell` 使用。 +> 更多資訊:. + +- 將單個字元的事件代碼傳送到 Android 裝置: + +`input keyevent {{事件代碼}}` + +- 將文字傳送到 Android 裝置(`%s` 代表空格): + +`input text "{{文字}}"` + +- 將輕觸發送到 Android 裝置: + +`input tap {{x 值}} {{y 值}}` + +- 將滑動手勢傳送到 Android 裝置: + +`input swipe {{x 開始值}} {{y 開始值}} {{x 結束值}} {{y 結束值}} {{持續時間(微秒)}}` + +- 使用滑動手勢將長按傳送到 Android 裝置: + +`input swipe {{x 值}} {{y 值}} {{x 值}} {{y 值}} {{持續時間(微秒)}}` diff --git a/pages.zh_TW/android/logcat.md b/pages.zh_TW/android/logcat.md new file mode 100644 index 00000000000000..297ec5d12a8757 --- /dev/null +++ b/pages.zh_TW/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> 轉存系統訊息日誌,包括發生錯誤時的堆疊追蹤信息,以及應用程序記錄的信息消息。 +> 更多資訊:. + +- 顯示系統日誌: + +`logcat` + +- 將系統日誌寫入檔案([f]ile): + +`logcat -f {{路徑/到/檔案}}` + +- 顯示與正規表示式匹配的日誌列: + +`logcat --regex {{正規表示式}}` + +- 顯示特定 PID 的日誌: + +`logcat --pid {{pid}}` + +- 顯示特定套件的程序日誌: + +`logcat --pid $(pidof -s {{套件}})` diff --git a/pages.zh_TW/android/pm.md b/pages.zh_TW/android/pm.md new file mode 100644 index 00000000000000..419b3556f01f3d --- /dev/null +++ b/pages.zh_TW/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> 顯示關於 Android 裝置上的應用程式的資訊。 +> 更多資訊:. + +- 印出所有已安裝應用程式的列表: + +`pm list packages` + +- 印出所有已安裝的系統應用程式的列表: + +`pm list packages -s` + +- 印出所有已安裝的第三方應用程式的列表: + +`pm list packages -3` + +- 印出與指定關鍵字匹配的應用程式列表: + +`pm list packages {{關鍵詞}}` + +- 印出指定應用程式的 APK 的路徑: + +`pm path {{應用名}}` diff --git a/pages.zh_TW/android/settings.md b/pages.zh_TW/android/settings.md new file mode 100644 index 00000000000000..c725a7c71ccc27 --- /dev/null +++ b/pages.zh_TW/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> 獲取關於 Android OS 的資訊。 +> 更多資訊:. + +- 在 `global` 命名空間中顯示環境變數列表: + +`settings list {{global}}` + +- 獲取指定環境變數的值: + +`settings get {{global}} {{airplane_mode_on}}` + +- 設定指定環境變數的值: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- 刪除指定環境變數: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.zh_TW/android/wm.md b/pages.zh_TW/android/wm.md new file mode 100644 index 00000000000000..3b5ab502145e90 --- /dev/null +++ b/pages.zh_TW/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> 顯示關於 Android 裝置的螢幕的資訊。 +> 此命令只能透過 `adb shell` 使用。 +> 更多資訊:. + +- 顯示 Android 裝置的螢幕的物理尺寸: + +`wm size` + +- 顯示 Android 裝置的螢幕的物理密度: + +`wm density` diff --git a/pages.zh_TW/common/alias.md b/pages.zh_TW/common/alias.md new file mode 100644 index 00000000000000..dc094632d0db82 --- /dev/null +++ b/pages.zh_TW/common/alias.md @@ -0,0 +1,29 @@ +# alias + +> 建立快捷鍵名稱 -- 取代命令字串的單字。 +> 快捷鍵只會在現有的 shell 有效,除非在 shell 的設定檔中定義快捷鍵,例如:`~/.bashrc`. +> 更多資訊:. + +- 列出所有快捷鍵: + +`alias` + +- 建立快捷鍵: + +`alias {{快捷名稱}}="{{命令字串}}"` + +- 查看與給定名稱有關的快捷鍵: + +`alias {{快捷名稱}}` + +- 移除快捷鍵: + +`unalias {{快捷名稱}}` + +- 將 `rm` 變成互動式指令: + +`alias {{rm}}="{{rm --interactive}}"` + +- 建立 `la` 作為 `ls --all` 的捷徑: + +`alias {{la}}="{{ls --all}}"` diff --git a/pages.zh_TW/common/aws.md b/pages.zh_TW/common/aws.md new file mode 100644 index 00000000000000..4ddddbf7b25945 --- /dev/null +++ b/pages.zh_TW/common/aws.md @@ -0,0 +1,37 @@ +# aws + +> Amazon Web Services 官方的命令列介面工具。 +> 此命令也有關於其子命令的文件,例如:`s3`. +> 更多資訊:. + +- 設定 AWS 命令列: + +`aws configure wizard` + +- 使用 SSO 設定 AWS 命令​​列: + +`aws configure sso` + +- 取得呼叫者身分(用於排除權限問題): + +`aws sts get-caller-identity` + +- 列出某個區域中的 AWS Dynamodb 並以 YAML 輸出: + +`aws dynamodb list-tables --region {{區域}} --output yaml` + +- 使用自動提示來幫助執行命令,: + +`aws iam create-user --cli-auto-prompt` + +- 取得 AWS 互動式精靈: + +`aws dynamodb wizard {{精靈名稱}}` + +- 產生 JSON CLI 骨架(對於基礎設施即程式碼有用): + +`aws dynamodb update-table --generate-cli-skeleton` + +- 查看 AWS 指令​​的說明: + +`aws {{AWS指令}} help` diff --git a/pages.zh_TW/common/az-login.md b/pages.zh_TW/common/az-login.md new file mode 100644 index 00000000000000..cbf46a5724ba26 --- /dev/null +++ b/pages.zh_TW/common/az-login.md @@ -0,0 +1,25 @@ +# az login + +> 登入到 Azure。 +> `azure-cli` 的一部分(也稱為 `az`)。 +> 更多資訊:. + +- 以互動方式進行登入: + +`az login` + +- 使用客戶端密鑰登入服務主體: + +`az login --service-principal --username {{http://azure-cli-service-principal}} --password {{secret}} --tenant {{someone.onmicrosoft.com}}` + +- 使用客戶端憑證登入服務主體: + +`az login --service-principal --username {{http://azure-cli-service-principal}} --password {{路徑/到/憑證.pem}} --tenant {{someone.onmicrosoft.com}}` + +- 使用 VM 的系統指派身份登入: + +`az login --identity` + +- 使用 VM 的使用者分配身份登入: + +`az login --identity --username /subscriptions/{{subscription_id}}/resourcegroups/{{my_rg}}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{{my_id}}` diff --git a/pages.zh_TW/common/az-logout.md b/pages.zh_TW/common/az-logout.md new file mode 100644 index 00000000000000..da5d1e9e0d36c4 --- /dev/null +++ b/pages.zh_TW/common/az-logout.md @@ -0,0 +1,13 @@ +# az logout + +> 登出 Azure 訂閱。 +> `azure-cli` 的一部分(也稱為 `az`)。 +> 更多資訊:. + +- 登出當前帳號: + +`az logout` + +- 登出指定使用者: + +`az logout --username {{alias@somedomain.com}}` diff --git a/pages.zh_TW/common/az.md b/pages.zh_TW/common/az.md new file mode 100644 index 00000000000000..d1e5e553b3d1a6 --- /dev/null +++ b/pages.zh_TW/common/az.md @@ -0,0 +1,37 @@ +# az + +> Microsoft Azure 的官方客戶端工具。 +> 此命令也有關於其子命令的文件,例如:`login`. +> 更多資訊:. + +- 登入到 Azure: + +`az login` + +- 管理 Azure 訂閱資訊: + +`az account` + +- 列出所有 Azure 託管磁碟: + +`az disk list` + +- 列出所有 Azure 虛擬機: + +`az vm list` + +- 管理 Azure Kubernetes 服務: + +`az aks` + +- 管理 Azure 網路資源: + +`az network` + +- 以互動模式啟動: + +`az interactive` + +- 查看指令的說明: + +`az --help` diff --git a/pages.zh_TW/common/bash.md b/pages.zh_TW/common/bash.md new file mode 100644 index 00000000000000..d4abfe94519a24 --- /dev/null +++ b/pages.zh_TW/common/bash.md @@ -0,0 +1,33 @@ +# bash + +> Bourne-Again SHell. 一個與 `sh` 相容的命令列。 +> 參照 `histexpand` 以使用 history expansion 特性。 +> 更多資訊:. + +- 開啟互動式 shell: + +`bash` + +- 執行指令然後退出: + +`bash -c "{{指令}}"` + +- 執行腳本: + +`bash {{sh檔}}` + +- 執行腳本,每個指令執行之前先在命令列印出該指令: + +`bash -x {{sh檔}}` + +- 執行腳本,執行錯誤時,終止執行該腳本: + +`bash -e {{sh檔}}` + +- 從標準輸入 (`stdin`) 讀取並執行指令: + +`bash -s` + +- 在終端機印出 bash 的版本資訊 (`$BASH_VERSION` 只包含版本號): + +`bash --version` diff --git a/pages.zh_TW/common/brew.md b/pages.zh_TW/common/brew.md new file mode 100644 index 00000000000000..d274d25f10a232 --- /dev/null +++ b/pages.zh_TW/common/brew.md @@ -0,0 +1,36 @@ +# brew + +> Linux 和 macOS 的套件管理工具。 +> 更多資訊:. + +- 安裝最新穩定版的配方(formula)或木桶(cask): + +`brew install {{配方}}` + +- 列出所有已安裝的配方和木桶: + +`brew list` + +- 更新已安裝的配方或木桶(如果沒有指定,則更新所有已安裝的配方/木桶): + +`brew upgrade {{配方}}` + +- 從 Homebrew 源倉庫中獲取最新版本的 Homebrew 以及所有配方和木桶: + +`brew update` + +- 顯示有新版本的配方和木桶: + +`brew outdated` + +- 搜尋可用的配方(即套件)和木桶(即原生套件): + +`brew search {{套件名}}` + +- 顯示有關配方或木桶的資訊(版本、安裝路徑、相依套件等): + +`brew info {{配方}}` + +- 檢查本機 Homebrew 套件是否有潛在問題: + +`brew doctor` diff --git a/pages.zh_TW/common/cat.md b/pages.zh_TW/common/cat.md index 478dffcec015fb..3c7dda33207586 100644 --- a/pages.zh_TW/common/cat.md +++ b/pages.zh_TW/common/cat.md @@ -1,6 +1,7 @@ # cat > 連接檔案並印出檔案的內容。 +> 更多資訊:. - 將檔案的內容印在標準輸出: @@ -8,16 +9,8 @@ - 將多個檔案連接起來,輸出至目標檔案: -`cat {{檔案一}} {{檔案二}} > {{目標檔案}}` +`cat {{檔案一 檔案二 ...}} > {{目標檔案}}` - 將多個檔案連接起來,並將其內容加到目標檔案的結尾: -`cat {{檔案一}} {{檔案二}} >> {{目標檔案}}` - -- 印出檔案的內容並顯示行號: - -`cat -n {{檔案}}` - -- 印出檔案的內容,且將無法顯示的字元用特殊的方式顯示出來: - -`cat -v -t -e {{檔案}}` +`cat {{檔案一 檔案二 ...}} >> {{目標檔案}}` diff --git a/pages.zh_TW/common/cd.md b/pages.zh_TW/common/cd.md index 835449fcd13c43..369076d334b529 100644 --- a/pages.zh_TW/common/cd.md +++ b/pages.zh_TW/common/cd.md @@ -1,19 +1,28 @@ # cd -> 改變工作目錄。 +> 切換目前的工作目錄。 +> 更多資訊:. -- 前往指定目錄: +- 切換為指定目錄: `cd {{目錄/完整/路徑}}` -- 前往目前使用者的家目錄: +- 切換為目前目錄的上層目錄: + +`cd ..` + +- 切換為目前使用者的主目錄: `cd` -- 前往目前目錄的上層目錄: +- 切換為指定使用者的主目錄: -`cd ..` +`cd ~{{使用者名稱}}` -- 前往之前所在的目錄: +- 切換為之前所在的目錄: `cd -` + +- 切換為根目錄: + +`cd /` diff --git a/pages.zh_TW/common/chezmoi.md b/pages.zh_TW/common/chezmoi.md new file mode 100644 index 00000000000000..15836468658440 --- /dev/null +++ b/pages.zh_TW/common/chezmoi.md @@ -0,0 +1,32 @@ +# Chezmoi + +> 一個用 Go 語言寫的 dotfile 管理工具。 +> 更多資訊:. + +- 初始化 chezmoi: + +`chezmoi init` + +- 叫 chezmoi 管理一個 dotfile: + +`chezmoi add {{檔案/完整/路徑}}` + +- 編輯一個已管理的 dotfile: + +`chezmoi edit {{檔案/完整/路徑}}` + +- 檢視 chezmoi 所做的更動: + +`chezmoi diff` + +- 套用所做的更動: + +`chezmoi -v apply` + +- 用一個已存在的 git repository 來初始化 chezmoi: + +`chezmoi init {{https://example.com/path/to/repository.git}}` + +- 從遠端的 repository 獲取所做的更動: + +`chezmoi update` diff --git a/pages.zh_TW/common/chmod.md b/pages.zh_TW/common/chmod.md new file mode 100644 index 00000000000000..973b35894eb93c --- /dev/null +++ b/pages.zh_TW/common/chmod.md @@ -0,0 +1,37 @@ +# chmod + +> 修改文件或目錄的存取權限。 +> 使用者類型分為檔案所有者(u)、檔案所有者之群組(g)、以及其他使用者(o)。 +> 更多資訊:. + +- 給予文件所有者執行的權限: + +`chmod u+x {{檔案/完整/路徑}}` + +- 給予使用者讀寫權利: + +`chmod u+rw {{檔案/完整/路徑}}` + +- 移除群組執行權限: + +`chmod g-x {{檔案/完整/路徑}}` + +- 給予全部使用者讀與執行權限: + +`chmod a+rx {{檔案/完整/路徑}}` + +- 給予其他使用者(o)和檔案所有者之群組(g)一樣的權限: + +`chmod o=g {{檔案/完整/路徑}}` + +- 移除其他使用者(o)的全部權限: + +`chmod o= {{檔案/完整/路徑}}` + +- 改變目錄底下所有檔案以及目錄的權限,給予檔案所有者之群組寫的權限,以及其他使用者寫的權限: + +`chmod {{[-R|--recursive]}} g+w,o+w {{目標目錄}}` + +- 改變目錄底下所有檔案以及目錄的權限,給予全部使用者讀與對其底下檔案之執行權限: + +`chmod {{[-R|--recursive]}} a+rX {{目標目錄}}` diff --git a/pages.zh_TW/common/clang-cpp.md b/pages.zh_TW/common/clang-cpp.md new file mode 100644 index 00000000000000..fcf2a4c6c3cd95 --- /dev/null +++ b/pages.zh_TW/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> 這是 `clang++` 命令的一個別名。 + +- 原命令的文件在: + +`tldr clang++` diff --git a/pages.zh_TW/common/clojure.md b/pages.zh_TW/common/clojure.md new file mode 100644 index 00000000000000..94a42747f2078b --- /dev/null +++ b/pages.zh_TW/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> 這是 `clj` 命令的一個別名。 + +- 原命令的文件在: + +`tldr clj` diff --git a/pages.zh_TW/common/code.md b/pages.zh_TW/common/code.md new file mode 100644 index 00000000000000..a70ab1d4596088 --- /dev/null +++ b/pages.zh_TW/common/code.md @@ -0,0 +1,28 @@ +# code + +> Visual Studio Code. +> 更多資訊:. + +- 執行 VS Code: + +`code` + +- 在 VS Code 開啟當前目錄: + +`code .` + +- 在 VS Code 開啟檔案或目錄: + +`code {{檔案或目錄/完整/路徑}}` + +- 在目前開啟的 VS Code 視窗中開啟一個檔案或目錄: + +`code --reuse-window {{檔案或目錄/完整/路徑}}` + +- 在 VS Code 中比較兩個檔案: + +`code -d {{檔案一}} {{檔案二}}` + +- 用超級使用者 (sudo) 權限執行 VS Code: + +`sudo code {{檔案或目錄/完整/路徑}} --user-data-dir` diff --git a/pages.zh_TW/common/cola.md b/pages.zh_TW/common/cola.md new file mode 100644 index 00000000000000..71c3d520931e71 --- /dev/null +++ b/pages.zh_TW/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> 這是 `git-cola` 命令的一個別名。 + +- 原命令的文件在: + +`tldr git-cola` diff --git a/pages.zh_TW/common/cp.md b/pages.zh_TW/common/cp.md new file mode 100644 index 00000000000000..f3f5f69b278aba --- /dev/null +++ b/pages.zh_TW/common/cp.md @@ -0,0 +1,28 @@ +# cp + +> 複製檔案或整個目錄。 +> 更多資訊:. + +- 將檔案複製到另一個位置: + +`cp {{檔案一/完整/路徑}} {{檔案二/完整/路徑}}` + +- 將檔案複製到另一個目錄下,並保留原本的檔名: + +`cp {{檔案/完整/路徑}} {{目錄/完整/路徑}}` + +- 以遞迴方式將目錄一的內容複製到目錄二(如果目錄二存在,則目錄一複製為目錄二的子目錄): + +`cp -R {{目錄一/完整/路徑}} {{目錄二/完整/路徑}}` + +- 以詳細模式遞迴複製目錄(複製時逐一顯示檔案信息): + +`cp -vR {{目錄一/完整/路徑}} {{目錄二/完整/路徑}}` + +- 以互動模式將 txt 檔複製到另一個目錄下(在覆寫之前提示使用者): + +`cp -i {{*.txt}} {{目錄/完整/路徑}}` + +- 複製前遵循符號連結: + +`cp -L {{符號連結}} {{目錄/完整/路徑}}` diff --git a/pages.zh_TW/common/crontab.md b/pages.zh_TW/common/crontab.md new file mode 100644 index 00000000000000..de33a2a31281e2 --- /dev/null +++ b/pages.zh_TW/common/crontab.md @@ -0,0 +1,36 @@ +# crontab + +> 排程作業按時間間隔執行。 +> 更多資訊:. + +- 編輯目前使用者的排程文件: + +`crontab -e` + +- 編輯特定使用者的排程文件: + +`sudo crontab -e -u {{使用者名稱}}` + +- 用給定檔案的內容取代目前的排程文件: + +`crontab {{檔案/完整/路徑}}` + +- 查看目前使用者的排程: + +`crontab -l` + +- 刪除目前使用者的所有排程: + +`crontab -r` + +- 範例排程:每天於 10:00 時執行, `*` 表示任意值: + +`0 10 * * * {{執行命令}}` + +- 範例排程:每 10 分鐘執行一次命令: + +`*/10 * * * * {{執行命令}}` + +- 範例排程:每週五 02:30 執行sh檔: + +`30 2 * * Fri {{sh檔路徑}}` diff --git a/pages.zh_TW/common/curl.md b/pages.zh_TW/common/curl.md new file mode 100644 index 00000000000000..d56e05720d1a35 --- /dev/null +++ b/pages.zh_TW/common/curl.md @@ -0,0 +1,37 @@ +# curl + +> 向 / 從一個伺服器傳輸數據。 +> 支持大多數協議,包括 HTTP、FTP 和 POP3. +> 更多資訊:. + +- 將指定 URL 的內容下載到檔案: + +`curl {{http://example.com}} {{[-o|--output]}} {{檔案/完整/路徑}}` + +- 將檔案從 URL 保存到由 URL 指示的檔名: + +`curl {{[-O|--remote-name]}} {{http://example.com/filename}}` + +- 下載檔案,跟隨重新導向,並且自動續傳(恢復)前序檔案傳輸: + +`curl {{[-f|--fail]}} {{[-O|--remote-name]}} {{[-L|--location]}} {{[-C|--continue-at]}} - {{http://example.com/filename}}` + +- 發送表單編碼數據(`application/x-www-form-urlencoded` 的 POST 請求): + +`curl {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` + +- 發送帶有額外請求頭,使用自定義請求方法: + +`curl {{[-H|--header]}} {{'X-My-Header: 123'}} {{[-X|--request]}} {{PUT}} {{http://example.com}}` + +- 發送 JSON 格式的數據,並附加正確的 `Content-Type` 請求頭: + +`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` + +- 透過使用者名稱和密碼訪問伺服器: + +`curl {{[-u|--user]}} {{使用者名稱}} {{http://example.com}}` + +- 爲指定資源使用客戶端憑證和密鑰,並且跳過憑證驗證: + +`curl {{[-E|--cert]}} {{client.pem}} --key {{key.pem}} {{[-k|--insecure]}} {{https://example.com}}` diff --git a/pages.zh_TW/common/df.md b/pages.zh_TW/common/df.md new file mode 100644 index 00000000000000..3ab5b312241dc1 --- /dev/null +++ b/pages.zh_TW/common/df.md @@ -0,0 +1,24 @@ +# df + +> 概述檔案系統的磁碟空間的使用情況。 +> 更多資訊:. + +- 顯示所有檔案系統及磁碟使用情況: + +`df` + +- 以人類可讀的形式顯示所有檔案系統及磁碟使用情況: + +`df -h` + +- 顯示包含給定檔案或目錄的檔案系統及其磁碟的使用情況: + +`df {{檔案或目錄/完整/路徑}}` + +- 顯示未被使用的 inode 數量的統計資訊: + +`df -i` + +- 顯示檔案系統但排除指定類型: + +`df -x {{squashfs}} -x {{tmpfs}}` diff --git a/pages.zh_TW/common/diff.md b/pages.zh_TW/common/diff.md new file mode 100644 index 00000000000000..48dd12f9f1cd0a --- /dev/null +++ b/pages.zh_TW/common/diff.md @@ -0,0 +1,32 @@ +# diff + +> 比較兩個檔案或目錄間的差異。 +> 更多資訊:. + +- 比較兩檔案,列出 `舊檔案` 相異於 `新檔案` 而需更改之處,以讓兩者相同: + +`diff {{舊檔案}} {{新檔案}}` + +- 忽略空格下,比較兩檔案: + +`diff {{[-w|--ignore-all-space]}} {{舊檔案}} {{新檔案}}` + +- 比較兩檔案,並排顯示差異: + +`diff {{[-y|--side-by-side]}} {{舊檔案}} {{新檔案}}` + +- 比較兩檔案,並以統一格式 (unified format) 顯示差異(為 `git diff` 預設格式): + +`diff {{[-u|--unified]}} {{舊檔案}} {{新檔案}}` + +- 遞迴比較兩目錄,顯示相異的檔名或目錄名,與檔案內更動: + +`diff {{[-r|--recursive]}} {{舊目錄}} {{新目錄}}` + +- 比較兩目錄,只顯示相異檔案的檔名: + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{舊目錄}} {{新目錄}}` + +- 由兩個文字檔之間差異建立一個補丁 (patch) 檔給 Git,不存在的檔案視為空白文件: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{舊檔案}} {{新檔案}} > {{diff.patch}}` diff --git a/pages.zh_TW/common/docker-build.md b/pages.zh_TW/common/docker-build.md new file mode 100644 index 00000000000000..8d254914a74c06 --- /dev/null +++ b/pages.zh_TW/common/docker-build.md @@ -0,0 +1,32 @@ +# docker build + +> 從 Dockerfile 建立 Docker 映像檔 (Image)。 +> 更多資訊:. + +- 使用當前目錄的 Dockerfile 建立映像檔: + +`docker build .` + +- 從指定的網址下載 Dockerfile 來建立映像檔: + +`docker build {{github.com/creack/docker-firefox}}` + +- 建立 Docker 映像檔並加上標籤: + +`docker build {{[-t|--tag]}} {{名稱:標籤}} .` + +- 不使用建構上下文(Build Context)來建立映像檔: + +`docker build {{[-t|--tag]}} {{名稱:標籤}} - < {{Dockerfile}}` + +- 在建構映像檔時不使用快取: + +`docker build --no-cache {{[-t|--tag]}} {{名稱:標籤}} .` + +- 使用特定的 Dockerfile 來建構映像檔: + +`docker build {{[-f|--file]}} {{Dockerfile}} .` + +- 在建構時傳遞自訂的變數: + +`docker build --build-arg {{HTTP_PROXY=http://10.20.30.2:1234}} --build-arg {{FTP_PROXY=http://40.50.60.5:4567}} .` diff --git a/pages.zh_TW/common/docker.md b/pages.zh_TW/common/docker.md new file mode 100644 index 00000000000000..72bbd7eefa8750 --- /dev/null +++ b/pages.zh_TW/common/docker.md @@ -0,0 +1,37 @@ +# docker + +> 管理 Docker 容器和映像檔。 +> 此命令也有關於其子命令的文件,例如:`run`. +> 更多資訊:. + +- 列出所有 Docker 容器(包括停止的容器): + +`docker ps {{[-a|--all]}}` + +- 透過映像檔啟動容器,並為容器命名: + +`docker run --name {{容器名稱}} {{映像檔}}` + +- 啟動或停止現有容器: + +`docker {{start|stop}} {{容器名稱}}` + +- 從 Docker registry 中拉取映像檔: + +`docker pull {{映像檔}}` + +- 顯示已下載的映像檔清單: + +`docker images` + +- 從正在運行的容器內打開一個互動式 (interactive) 終端 shell (`sh`): + +`docker exec {{[-it|--interactive --tty]}} {{容器名稱}} {{sh}}` + +- 刪除一個停止的容器: + +`docker rm {{容器名稱}}` + +- 獲取並查看容器的日誌: + +`docker logs {{[-f|--follow]}} {{容器名稱}}` diff --git a/pages.zh_TW/common/dotnet.md b/pages.zh_TW/common/dotnet.md new file mode 100644 index 00000000000000..14f1cbf82d2897 --- /dev/null +++ b/pages.zh_TW/common/dotnet.md @@ -0,0 +1,21 @@ +# dotnet + +> 適用於 .NET Core 的跨平台 .NET 命令列工具。 +> 此命令也有關於其子命令的文件,例如:`build`. +> 更多資訊:. + +- 初始化一個新的 .NET 專案: + +`dotnet new {{模板名稱}}` + +- 還原 NuGet 套件: + +`dotnet restore` + +- 在當前目錄中構建並執行 .NET 項目: + +`dotnet run` + +- 運行 .NET 應用程式(只需要執行環境,其餘命令需要 .NET Core SDK): + +`dotnet {{路徑/到/應用程式.dll}}` diff --git a/pages.zh_TW/common/du.md b/pages.zh_TW/common/du.md new file mode 100644 index 00000000000000..783fd34721eff0 --- /dev/null +++ b/pages.zh_TW/common/du.md @@ -0,0 +1,28 @@ +# du + +> 硬碟使用量:估算每個檔案以及目錄所佔用的硬碟容量。 +> 更多資訊:. + +- 以給定單位(B/KiB/MiB)列出目錄和所有子目錄的大小: + +`du -{{b|k|m}} {{目錄路徑}}` + +- 以人類可讀形式(自動選擇單位)列出目錄和所有子目錄的大小: + +`du {{[-h|--human-readable]}} {{目錄路徑}}` + +- 以人類可讀形式(自動選擇單位)列出單一目錄大小: + +`du {{[-sh|--summarize --human-readable]}} {{目錄路徑}}` + +- 以人類可讀形式(自動選擇單位)列出目錄以及底下所有檔案大小: + +`du {{[-ah|--all --human-readable]}} {{目錄路徑}}` + +- 以人類可讀形式列出目錄和任何子目錄的大小,最多 N 層: + +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{目錄路徑}}` + +- 以人類可讀形式列出目前目錄子目錄中所有 `.jpg` 檔案的大小,並在最後顯示累積總數: + +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` diff --git a/pages.zh_TW/common/echo.md b/pages.zh_TW/common/echo.md index 98813152b91dc4..6bcb28e96a5110 100644 --- a/pages.zh_TW/common/echo.md +++ b/pages.zh_TW/common/echo.md @@ -1,6 +1,7 @@ # echo > 印出文字。 +> 更多資訊:. - 印出一行文字(如果文字中沒有連續的空格,可以不加引號): diff --git a/pages.zh_TW/common/fossil-ci.md b/pages.zh_TW/common/fossil-ci.md new file mode 100644 index 00000000000000..0b845102da0ec9 --- /dev/null +++ b/pages.zh_TW/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> 這是 `fossil commit`.命令的一個別名。 + +- 原命令的文件在: + +`tldr fossil commit` diff --git a/pages.zh_TW/common/fossil-forget.md b/pages.zh_TW/common/fossil-forget.md new file mode 100644 index 00000000000000..23035a60332e9b --- /dev/null +++ b/pages.zh_TW/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> 這是 `fossil rm` 命令的一個別名。 +> 更多資訊:. + +- 原命令的文件在: + +`tldr fossil rm` diff --git a/pages.zh_TW/common/fossil-new.md b/pages.zh_TW/common/fossil-new.md new file mode 100644 index 00000000000000..5ab73722d549b2 --- /dev/null +++ b/pages.zh_TW/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> 這是 `fossil init`.命令的一個別名。 + +- 原命令的文件在: + +`tldr fossil init` diff --git a/pages.zh_TW/common/fossil-rm.md b/pages.zh_TW/common/fossil-rm.md new file mode 100644 index 00000000000000..cabb476f2d0234 --- /dev/null +++ b/pages.zh_TW/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> 這是 `fossil delete` 命令的一個別名。 + +- 原命令的文件在: + +`tldr fossil delete` diff --git a/pages.zh_TW/common/gh-cs.md b/pages.zh_TW/common/gh-cs.md new file mode 100644 index 00000000000000..9537026ae7bec1 --- /dev/null +++ b/pages.zh_TW/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> 這是 `gh codespace`.命令的一個別名。 + +- 原命令的文件在: + +`tldr gh codespace` diff --git a/pages.zh_TW/common/gnmic-sub.md b/pages.zh_TW/common/gnmic-sub.md new file mode 100644 index 00000000000000..2880c5e1d614c8 --- /dev/null +++ b/pages.zh_TW/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> 這是 `gnmic subscribe` 命令的一個別名。 + +- 原命令的文件在: + +`tldr gnmic subscribe` diff --git a/pages.zh_TW/common/google-chrome.md b/pages.zh_TW/common/google-chrome.md new file mode 100644 index 00000000000000..9dbc6d85303717 --- /dev/null +++ b/pages.zh_TW/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> 這是 `chromium` 命令的一個別名。 +> 更多資訊:. + +- 原命令的文件在: + +`tldr chromium` diff --git a/pages.zh_TW/common/grep.md b/pages.zh_TW/common/grep.md new file mode 100644 index 00000000000000..c691bc00256bc6 --- /dev/null +++ b/pages.zh_TW/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> 使用正則表達式在文件中查找字符串。 +> 更多資訊:. + +- 在檔案中尋找字符: + +`grep "{{字符串}}" {{檔案/完整/路徑}}` + +- 搜索確切的字符串(禁用正則表達式): + +`grep {{[-F|--fixed-strings]}} "{{精確字符串}}" {{檔案/完整/路徑}}` + +- 在目錄中遞歸搜索模式,顯示匹配行的行號並忽略二進制文件: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{字符串}}" {{檔案/完整/路徑}}` + +- 使用擴展正則表達式(支持 `?`, `+`, `{}`, `()`, 和 `|`),並啟用不區分大小寫的模式: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{字符串}}" {{檔案/完整/路徑}}` + +- 打印每次匹配的上下文、之前或之後的 3 行: + +`grep {{--context|--before-context|--after-context}} 3 "{{字符串}}" {{檔案/完整/路徑}}` + +- 打印包含匹配結果的文件名和行號,並啟用彩色輸出: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{字符串}}" {{檔案/完整/路徑}}` + +- 搜索與模式匹配的行,僅打印匹配的文本: + +`grep {{[-o|--only-matching]}} "{{字符串}}" {{檔案/完整/路徑}}` + +- 在標準輸入中搜索不匹配模式的行: + +`cat {{檔案/完整/路徑}} | grep {{[-v|--invert-match]}} "{{字符串}}"` diff --git a/pages.zh_TW/common/hx.md b/pages.zh_TW/common/hx.md new file mode 100644 index 00000000000000..3f6e69bed03f76 --- /dev/null +++ b/pages.zh_TW/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> 這是 `helix` 命令的一個別名。 + +- 原命令的文件在: + +`tldr helix` diff --git a/pages.zh_TW/common/kafkacat.md b/pages.zh_TW/common/kafkacat.md new file mode 100644 index 00000000000000..2c97797949a4e3 --- /dev/null +++ b/pages.zh_TW/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> 這是 `kcat` 命令的一個別名。 + +- 原命令的文件在: + +`tldr kcat` diff --git a/pages.zh_TW/common/latex.md b/pages.zh_TW/common/latex.md new file mode 100644 index 00000000000000..78b9a76a1abb6d --- /dev/null +++ b/pages.zh_TW/common/latex.md @@ -0,0 +1,16 @@ +# latex + +> 從 LaTeX 原始檔編譯 DVI 文件。 +> 更多資訊:. + +- 編譯 DVI 文件: + +`latex {{tex 檔案}}` + +- 編譯 DVI 文件,指定輸出位置: + +`latex -output-directory={{輸出目錄位置}} {{tex 檔案}}` + +- 編譯 DVI 文件,出錯時退出: + +`latex -halt-on-error {{tex 檔案}}` diff --git a/pages.zh_TW/common/llvm-ar.md b/pages.zh_TW/common/llvm-ar.md new file mode 100644 index 00000000000000..62b42d44916cff --- /dev/null +++ b/pages.zh_TW/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> 這是 `ar` 命令的一個別名。 + +- 原命令的文件在: + +`tldr ar` diff --git a/pages.zh_TW/common/llvm-g++.md b/pages.zh_TW/common/llvm-g++.md new file mode 100644 index 00000000000000..e9de5737c2c02f --- /dev/null +++ b/pages.zh_TW/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> 這是 `clang++` 命令的一個別名。 + +- 原命令的文件在: + +`tldr clang++` diff --git a/pages.zh_TW/common/llvm-gcc.md b/pages.zh_TW/common/llvm-gcc.md new file mode 100644 index 00000000000000..e8a5b78f7f5472 --- /dev/null +++ b/pages.zh_TW/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> 這是 `clang` 命令的一個別名。 + +- 原命令的文件在: + +`tldr clang` diff --git a/pages.zh_TW/common/llvm-nm.md b/pages.zh_TW/common/llvm-nm.md new file mode 100644 index 00000000000000..7692bf7da35ed9 --- /dev/null +++ b/pages.zh_TW/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> 這是 `nm` 命令的一個別名。 + +- 原命令的文件在: + +`tldr nm` diff --git a/pages.zh_TW/common/llvm-objdump.md b/pages.zh_TW/common/llvm-objdump.md new file mode 100644 index 00000000000000..426aed341352df --- /dev/null +++ b/pages.zh_TW/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> 這是 `objdump` 命令的一個別名。 + +- 原命令的文件在: + +`tldr objdump` diff --git a/pages.zh_TW/common/llvm-strings.md b/pages.zh_TW/common/llvm-strings.md new file mode 100644 index 00000000000000..4e8be53ca5d77a --- /dev/null +++ b/pages.zh_TW/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> 這是 `strings` 命令的一個別名。 + +- 原命令的文件在: + +`tldr strings` diff --git a/pages.zh_TW/common/ls.md b/pages.zh_TW/common/ls.md index 6f64794ae944f6..6113eddfc82252 100644 --- a/pages.zh_TW/common/ls.md +++ b/pages.zh_TW/common/ls.md @@ -1,6 +1,7 @@ # ls > 列出目錄內容。 +> 更多資訊:. - 列出目錄中的檔案,其中每個檔案佔一行: @@ -8,24 +9,24 @@ - 列出包含隱藏檔案的所有檔案: -`ls -a` +`ls {{[-a|--all]}}` - 列出檔案,並依照檔案類型在檔案後面加上對應的符號(例如目錄會加上「/」): -`ls -F` +`ls {{[-F|--classify]}}` - 列出包含隱藏檔案的完整檔案列表(包括權限、擁有者、檔案大小與修改日期): -`ls -la` +`ls {{[-la|--all -l]}}` -- 列出完整檔案列表,其中檔案大小會用 K、M、G 表示: +- 列出完整檔案列表,其中檔案大小會用 KiB、MiB、GiB 表示: -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` - 列出完整檔案列表,並依檔案大小降序排序: -`ls -lS` +`ls {{-lSR|-lS --recursive}}` - 列出完整檔案列表,並依修改時間由舊到新排序: -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` diff --git a/pages.zh_TW/common/lzcat.md b/pages.zh_TW/common/lzcat.md new file mode 100644 index 00000000000000..7d088039510f0c --- /dev/null +++ b/pages.zh_TW/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> 這是 `xz` 命令的一個別名。 + +- 原命令的文件在: + +`tldr xz` diff --git a/pages.zh_TW/common/lzma.md b/pages.zh_TW/common/lzma.md new file mode 100644 index 00000000000000..d8e9798f6c4b2d --- /dev/null +++ b/pages.zh_TW/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> 這是 `xz` 命令的一個別名。 + +- 原命令的文件在: + +`tldr xz` diff --git a/pages.zh_TW/common/man.md b/pages.zh_TW/common/man.md new file mode 100644 index 00000000000000..a1a196aa556d67 --- /dev/null +++ b/pages.zh_TW/common/man.md @@ -0,0 +1,36 @@ +# man + +> 展示手冊分頁 (manual page). +> 更多資訊:. + +- 展示一條指令的使用手冊分頁: + +`man {{command}}` + +- 在瀏覽器中開啟一條指令的使用手冊分頁 (`BROWSER` 環境變數可以取代 `=browser_name`): + +`man {{[-Hbrowser_name|--html=browser_name]}} {{command}}` + +- 從第七章節展示一條指令的使用手冊分頁: + +`man {{7}} {{command}}` + +- 清單展示一條指令的所有可用章節: + +`man {{[-f|--whatis]}} {{command}}` + +- 展示搜尋手冊分頁的路徑: + +`man {{[-w|--path]}}` + +- 展示使用手冊分頁的位置, 而非手冊分頁本身: + +`man {{[-w|--where]}} {{command}}` + +- 使用特定的語言來展示使用手冊分頁: + +`man {{[-L|--locale]}} {{locale}} {{command}}` + +- 搜尋包含搜尋字串的手冊頁: + +`man {{[-k|--apropos]}} "{{search_string}}"` diff --git a/pages.zh_TW/common/mkdir.md b/pages.zh_TW/common/mkdir.md index 7a87053bd47244..f562fda028bed8 100644 --- a/pages.zh_TW/common/mkdir.md +++ b/pages.zh_TW/common/mkdir.md @@ -1,6 +1,7 @@ # mkdir > 建立目錄。 +> 更多資訊:. - 在目前所在目錄或指定路徑中建立新目錄: @@ -8,4 +9,8 @@ - 遞迴建立目錄,若上層目錄尚未被建立則會一併建立: -`mkdir -p {{目錄/完整/路徑}}` +`mkdir {{[-p|--parents]}} {{目錄/完整/路徑}}` + +- 使用指定的權限建立新目錄: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{目錄/完整/路徑}}` diff --git a/pages.zh_TW/common/mscore.md b/pages.zh_TW/common/mscore.md new file mode 100644 index 00000000000000..134b423a163153 --- /dev/null +++ b/pages.zh_TW/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> 這是 `musescore` 命令的一個別名。 + +- 原命令的文件在: + +`tldr musescore` diff --git a/pages.zh_TW/common/mv.md b/pages.zh_TW/common/mv.md new file mode 100644 index 00000000000000..3a07ddd5f85d0b --- /dev/null +++ b/pages.zh_TW/common/mv.md @@ -0,0 +1,28 @@ +# mv + +> 移動或重命名文件或目錄。 +> 更多資訊:. + +- 移動文件到任意位置: + +`mv {{路徑/到/來源}} {{路徑/到/目標}}` + +- 移動文件到其他目錄,並保持文件名不變: + +`mv {{路徑/到/來源1 路徑/到/來源2 ...}} {{路徑/到/目標目錄}}` + +- 覆蓋現有文件前無需確認: + +`mv {{[-f|--force]}} {{路徑/到/來源}} {{路徑/到/目標}}` + +- 無論是否有文件權限,覆蓋現有文件前均需要確認: + +`mv {{[-i|--interactive]}} {{路徑/到/來源}} {{路徑/到/目標}}` + +- 不要覆蓋現有的目標文件: + +`mv {{[-n|--no-clobber]}} {{路徑/到/來源}} {{路徑/到/目標}}` + +- 詳細模式,移動後顯示文件名: + +`mv {{[-v|--verbose]}} {{路徑/到/來源}} {{路徑/到/目標}}` diff --git a/pages.zh_TW/common/mysql.md b/pages.zh_TW/common/mysql.md new file mode 100644 index 00000000000000..5c4cc2cacc0da1 --- /dev/null +++ b/pages.zh_TW/common/mysql.md @@ -0,0 +1,32 @@ +# mysql + +> MySQL 命令列工具。 +> 更多資訊:. + +- 與資料庫連線: + +`mysql {{資料庫名稱}}` + +- 與資料庫連線,系統將提示使用者輸入密碼: + +`mysql {{[-u|--user]}} {{使用者名稱}} {{[-p|--password]}} {{資料庫名稱}}` + +- 連線到另一台主機上的資料庫: + +`mysql {{[-h|--host]}} {{資料庫主機}} {{資料庫名稱}}` + +- 透過 Unix 通訊端連接到資料庫: + +`mysql {{[-S|--socket]}} {{sock 檔路徑}}` + +- 執行腳本檔案(批次檔)中的 `SQL` 語句: + +`mysql {{[-e|--execute]}} "source {{sql 檔案}}" {{資料庫名稱}}` + +- 用 `mysqldump` 建立的備份還原資料庫(系統將提示使用者輸入密碼): + +`mysql {{[-u|--user]}} {{使用者名稱}} {{[-p|--password]}} {{資料庫名稱}} < {{sql 備份檔路徑}}` + +- 從備份中恢復所有資料庫(系統將提示使用者輸入密碼): + +`mysql {{[-u|--user]}} {{使用者名稱}} {{[-p|--password]}} < {{sql 備份檔路徑}}` diff --git a/pages.zh_TW/common/nm-classic.md b/pages.zh_TW/common/nm-classic.md new file mode 100644 index 00000000000000..e42787bf0def7c --- /dev/null +++ b/pages.zh_TW/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> 這是 `nm` 命令的一個別名。 + +- 原命令的文件在: + +`tldr nm` diff --git a/pages.zh_TW/common/nohup.md b/pages.zh_TW/common/nohup.md new file mode 100644 index 00000000000000..84bc5eb77a8bfe --- /dev/null +++ b/pages.zh_TW/common/nohup.md @@ -0,0 +1,20 @@ +# nohup + +> 當終端被關閉時允許程序繼續存在運作。 +> 更多資訊:. + +- 執行一個可以在終端機之外繼續執行的程序: + +`nohup {{程序指令}} {{參數1 參數2 ...}}` + +- 在背景啟動 `nohup`: + +`nohup {{程序指令}} {{參數1 參數2 ...}} &` + +- 執行可以在終端機之外繼續執行的的 `.sh` 檔: + +`nohup {{sh檔案}} &` + +- 執行一個程序並將其輸出寫入特定文件: + +`nohup {{程序指令}} {{參數1 參數2 ...}} > {{文件路徑}} &` diff --git a/pages.zh_TW/common/ntl.md b/pages.zh_TW/common/ntl.md new file mode 100644 index 00000000000000..37c9e3c8843867 --- /dev/null +++ b/pages.zh_TW/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> 這是 `netlify` 命令的一個別名。 + +- 原命令的文件在: + +`tldr netlify` diff --git a/pages.zh_TW/common/p10k.md b/pages.zh_TW/common/p10k.md new file mode 100644 index 00000000000000..17b145badba6dd --- /dev/null +++ b/pages.zh_TW/common/p10k.md @@ -0,0 +1,16 @@ +# p10k + +> 管理 powerlevel10k 的設定。 +> 更多資訊:. + +- 互動式設定 powerlevel10k: + +`p10k configure` + +- 重新載入 powerlevel10k: + +`p10k reload` + +- 顯示幫助頁面: + +`p10k help` diff --git a/pages.zh_TW/common/ping.md b/pages.zh_TW/common/ping.md new file mode 100644 index 00000000000000..9d75a9e565910e --- /dev/null +++ b/pages.zh_TW/common/ping.md @@ -0,0 +1,28 @@ +# ping + +> 向網路主機發送 ICMP ECHO_REQUEST 封包。 +> 更多資訊:. + +- Ping 主機: + +`ping {{主機}}` + +- 對主機執行特定次數的 ping 操作: + +`ping -c {{次數}} {{主機}}` + +- Ping 主機,指定發送間隔(以秒為單位)(預設為 1 秒): + +`ping -i {{秒數}} {{主機}}` + +- Ping 主機,只以數字形式輸出,不嘗試查找名稱: + +`ping -n {{主機}}` + +- Ping 主機並在收到封包時響鈴(如果您的終端支援): + +`ping -a {{主機}}` + +- 如果未收到回應,也會顯示訊息: + +`ping -O {{host}}` diff --git a/pages.zh_TW/common/pio-init.md b/pages.zh_TW/common/pio-init.md new file mode 100644 index 00000000000000..131130a63a2fc2 --- /dev/null +++ b/pages.zh_TW/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> 這是 `pio project` 命令的一個別名。 + +- 原命令的文件在: + +`tldr pio project` diff --git a/pages.zh_TW/common/piodebuggdb.md b/pages.zh_TW/common/piodebuggdb.md new file mode 100644 index 00000000000000..59727038041526 --- /dev/null +++ b/pages.zh_TW/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> 這是 `pio debug` 命令的一個別名。 + +- 原命令的文件在: + +`tldr pio debug` diff --git a/pages.zh_TW/common/platformio.md b/pages.zh_TW/common/platformio.md new file mode 100644 index 00000000000000..c2a26b84446cf0 --- /dev/null +++ b/pages.zh_TW/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> 這是 `pio` 命令的一個別名。 + +- 原命令的文件在: + +`tldr pio` diff --git a/pages.zh_TW/common/ptpython3.md b/pages.zh_TW/common/ptpython3.md new file mode 100644 index 00000000000000..a7063f86353083 --- /dev/null +++ b/pages.zh_TW/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> 這是 `ptpython` 命令的一個別名。 + +- 原命令的文件在: + +`tldr ptpython` diff --git a/pages.zh_TW/common/pwd.md b/pages.zh_TW/common/pwd.md index 9b1b515709a386..5efed7e3c52c63 100644 --- a/pages.zh_TW/common/pwd.md +++ b/pages.zh_TW/common/pwd.md @@ -1,6 +1,7 @@ # pwd > 印出目前目錄的名稱。 +> 更多資訊:. - 印出目前所在的目錄名稱: @@ -8,4 +9,4 @@ - 印出目前所在的目錄名稱,並將符號連結轉換為實體路徑: -`pwd -P` +`pwd {{[-P|--physical]}}` diff --git a/pages.zh_TW/common/python3.md b/pages.zh_TW/common/python3.md new file mode 100644 index 00000000000000..5d076df84401f2 --- /dev/null +++ b/pages.zh_TW/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> 這是 `python` 命令的一個別名。 + +- 原命令的文件在: + +`tldr python` diff --git a/pages.zh_TW/common/r2.md b/pages.zh_TW/common/r2.md new file mode 100644 index 00000000000000..67e7c92e7c08b7 --- /dev/null +++ b/pages.zh_TW/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> 這是 `radare2` 命令的一個別名。 + +- 原命令的文件在: + +`tldr radare2` diff --git a/pages.zh_TW/common/rcat.md b/pages.zh_TW/common/rcat.md new file mode 100644 index 00000000000000..0e5c1429866303 --- /dev/null +++ b/pages.zh_TW/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> 這是 `rc` 命令的一個別名。 + +- 原命令的文件在: + +`tldr rc` diff --git a/pages.zh_TW/common/rm.md b/pages.zh_TW/common/rm.md index 52e7316b20bdd6..465ea84bd948be 100644 --- a/pages.zh_TW/common/rm.md +++ b/pages.zh_TW/common/rm.md @@ -1,18 +1,11 @@ # rm > 移除檔案或目錄。 +> 更多資訊:. - 移除位於指定路徑的檔案: -`rm {{檔案一/完整/路徑}} {{檔案二/完整/路徑}}` - -- 遞迴移除目錄與其所有子目錄: - -`rm -r {{目錄/完整/路徑}}` - -- 強制移除目錄,且不會跳出任何確認資訊與錯誤訊息: - -`rm -rf {{目錄/完整/路徑}}` +`rm {{檔案一/完整/路徑 檔案二/完整/路徑 ...}}` - 移除檔案,且每次移除都會進行確認: @@ -21,3 +14,7 @@ - 移除目錄中的所有檔案,並顯示每個檔案的移除資訊: `rm -v {{目錄/完整/路徑/*}}` + +- 遞迴移除目錄與其所有子目錄: + +`rm -r {{目錄/完整/路徑}}` diff --git a/pages.zh_TW/common/rmdir.md b/pages.zh_TW/common/rmdir.md index ab99637a6c180d..933653bb85ead0 100644 --- a/pages.zh_TW/common/rmdir.md +++ b/pages.zh_TW/common/rmdir.md @@ -1,6 +1,7 @@ # rmdir > 移除目錄。 +> 更多資訊:. - 若為空目錄則移除目錄(如果目錄非空,可用 `rm -r` 移除目錄及其所包含的檔案): diff --git a/pages.zh_TW/common/spf.md b/pages.zh_TW/common/spf.md new file mode 100644 index 00000000000000..c5baf07bdcfa6e --- /dev/null +++ b/pages.zh_TW/common/spf.md @@ -0,0 +1,32 @@ +# spf + +> superfile – 現代的終端機檔案管理器。 +> 更多資訊:. + +- 使用指定路徑啟動 `spf`: + +`spf {{path/to/start}}` + +- 使用多個路徑啟動 `spf`: + +`spf {{path/to/directory1 /path/to/directory2 ...}}` + +- 修復快捷鍵設定,補上缺少的按鍵: + +`spf {{[--fh|--fix-hotkeys]}}` + +- 修復設定檔,補上缺少的項目: + +`spf {{[--fch|--fix-config-file]}}` + +- 使用指定的設定檔與快捷鍵檔案: + +`spf {{[-c|--config-file]}} {{path/to/config.toml}} {{[--hf|--hotkey-file]}} {{path/to/hotkey.toml}}` + +- 將第一個開啟的檔案路徑寫入該檔案並退出: + +`spf {{[--cf|--chooser-file]}} {{tmp/chooser-result}}` + +- 顯示內部設定與資料目錄路徑: + +`spf {{[pl|path-list]}}` diff --git a/pages.zh_TW/common/tldr.md b/pages.zh_TW/common/tldr.md index 8aed5b41d364a3..443beefcb5d6fa 100644 --- a/pages.zh_TW/common/tldr.md +++ b/pages.zh_TW/common/tldr.md @@ -1,7 +1,7 @@ # tldr > 由 tldr-pages 專案所提供的簡單版指令簡介。 -> 更多資訊:. +> 更多資訊:. - 顯示指令的常用用法: @@ -9,7 +9,7 @@ - 顯示 Linux 作業系統中 tar 指令的用法: -`tldr -p {{linux}} {{tar}}` +`tldr {{[-p|--platform]}} {{linux}} {{tar}}` - 顯示 Git 的子指令 checkout 的用法: diff --git a/pages.zh_TW/common/tldrl.md b/pages.zh_TW/common/tldrl.md new file mode 100644 index 00000000000000..38bc0924404d1d --- /dev/null +++ b/pages.zh_TW/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> 這是 `tldr-lint` 命令的一個別名。 + +- 原命令的文件在: + +`tldr tldr-lint` diff --git a/pages.zh_TW/common/tlmgr-arch.md b/pages.zh_TW/common/tlmgr-arch.md new file mode 100644 index 00000000000000..b387b706bc2ac2 --- /dev/null +++ b/pages.zh_TW/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> 這是 `tlmgr platform` 命令的一個別名。 + +- 原命令的文件在: + +`tldr tlmgr platform` diff --git a/pages.zh_TW/common/touch.md b/pages.zh_TW/common/touch.md index c50203fa1ddf16..3bd971549a98b7 100644 --- a/pages.zh_TW/common/touch.md +++ b/pages.zh_TW/common/touch.md @@ -1,6 +1,7 @@ # touch > 改變檔案的存取與修改時間。 +> 更多資訊:. - 建立新檔案,或更新現存檔案的存取與修改時間: @@ -12,4 +13,4 @@ - 以其中一個檔案的存取與修改時間為基準,設定另一個檔案的存取與修改時間: -`touch -r {{來源檔案名稱}} {{目標檔案名稱}}` +`touch {{[-r|--reference]}} {{來源檔案名稱}} {{目標檔案名稱}}` diff --git a/pages.zh_TW/common/unlzma.md b/pages.zh_TW/common/unlzma.md new file mode 100644 index 00000000000000..7693a3915f0624 --- /dev/null +++ b/pages.zh_TW/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> 這是 `xz` 命令的一個別名。 + +- 原命令的文件在: + +`tldr xz` diff --git a/pages.zh_TW/common/unxz.md b/pages.zh_TW/common/unxz.md new file mode 100644 index 00000000000000..8942c8161d7f77 --- /dev/null +++ b/pages.zh_TW/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> 這是 `xz` 命令的一個別名。 + +- 原命令的文件在: + +`tldr xz` diff --git a/pages.zh_TW/common/vi.md b/pages.zh_TW/common/vi.md new file mode 100644 index 00000000000000..342b98d8d58db2 --- /dev/null +++ b/pages.zh_TW/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> 這是 `vim` 命令的一個別名。 + +- 原命令的文件在: + +`tldr vim` diff --git a/pages.zh_TW/common/vim.md b/pages.zh_TW/common/vim.md new file mode 100644 index 00000000000000..8b34e8b0444a47 --- /dev/null +++ b/pages.zh_TW/common/vim.md @@ -0,0 +1,37 @@ +# vim + +> Vim (Vi IMproved), 是一個命令列文字編輯器,為不同類型的文字操作提供了多種模式。 +> 在正常模式下按下 `` 進入插入模式。按 `` 返回正常模式,可以使用 Vim 指令。 +> 更多資訊:. + +- 打開檔案: + +`vim {{檔案/完整/路徑}}` + +- 使用指定行數打開檔案: + +`vim +{{指定行數}} {{檔案/完整/路徑}}` + +- 查看 Vim 指令手冊: + +`<:>help` + +- 儲存並且離開: + +`{{|<:>x|<:>wq}}` + +- 進入正常模式並且復原上次操作: + +`` + +- 搜尋特定字詞: + +`{{欲搜尋字詞}}` + +- 使用正規表示式(RE)尋找並取代整份文件: + +`<:>%s/{{正規表示式}}/{{取代文字}}/g` + +- 顯示行數: + +`<:>set nu` diff --git a/pages.zh_TW/common/w.md b/pages.zh_TW/common/w.md new file mode 100644 index 00000000000000..26b4504bc6b6e9 --- /dev/null +++ b/pages.zh_TW/common/w.md @@ -0,0 +1,20 @@ +# w + +> 顯示目前的登錄者以及他們正在進行的動作。 +> 更多資訊:. + +- 顯示目前的登錄者的訊息: + +`w` + +- 顯示特定登錄者的訊息: + +`w {{使用者名稱}}` + +- 顯示目前的登錄者的訊息,並隱藏標題: + +`w --no-header` + +- 顯示 login、JCPU、PCPU 以外的資訊: + +`w --short` diff --git a/pages.zh_TW/common/xzcat.md b/pages.zh_TW/common/xzcat.md new file mode 100644 index 00000000000000..7fd7e97ad35a79 --- /dev/null +++ b/pages.zh_TW/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> 這是 `xz` 命令的一個別名。 + +- 原命令的文件在: + +`tldr xz` diff --git a/pages.zh_TW/linux/alternatives.md b/pages.zh_TW/linux/alternatives.md new file mode 100644 index 00000000000000..1d1d73daf024ab --- /dev/null +++ b/pages.zh_TW/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> 這是 `update-alternatives` 命令的一個別名。 + +- 原命令的文件在: + +`tldr update-alternatives` diff --git a/pages.zh_TW/linux/batcat.md b/pages.zh_TW/linux/batcat.md new file mode 100644 index 00000000000000..f1a9d7b9890e29 --- /dev/null +++ b/pages.zh_TW/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> 這是 `bat` 命令的一個別名。 + +- 原命令的文件在: + +`tldr bat` diff --git a/pages.zh_TW/linux/cc.md b/pages.zh_TW/linux/cc.md new file mode 100644 index 00000000000000..af3a49af03a431 --- /dev/null +++ b/pages.zh_TW/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> 這是 `gcc` 命令的一個別名。 + +- 原命令的文件在: + +`tldr gcc` diff --git a/pages.zh_TW/linux/ip-route-list.md b/pages.zh_TW/linux/ip-route-list.md new file mode 100644 index 00000000000000..8bf4a7c45b07d3 --- /dev/null +++ b/pages.zh_TW/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> 這是 `ip route show`.命令的一個別名。 + +- 原命令的文件在: + +`tldr ip route show` diff --git a/pages.zh_TW/linux/megadl.md b/pages.zh_TW/linux/megadl.md new file mode 100644 index 00000000000000..f5e2d318f48aad --- /dev/null +++ b/pages.zh_TW/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> 這是 `megatools-dl` 命令的一個別名。 + +- 原命令的文件在: + +`tldr megatools-dl` diff --git a/pages.zh_TW/linux/ncal.md b/pages.zh_TW/linux/ncal.md new file mode 100644 index 00000000000000..bc59f08ac13555 --- /dev/null +++ b/pages.zh_TW/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> 這是 `cal` 命令的一個別名。 + +- 原命令的文件在: + +`tldr cal` diff --git a/pages.zh_TW/linux/top.md b/pages.zh_TW/linux/top.md new file mode 100644 index 00000000000000..90ecce4cadb9dc --- /dev/null +++ b/pages.zh_TW/linux/top.md @@ -0,0 +1,32 @@ +# top + +> 即時顯示系統執行程序的資訊。 +> 更多資訊:. + +- 啟動 `top`: + +`top` + +- 不顯示閒置以及殭屍程序: + +`top {{[-i|--idle-toggle]}}` + +- 只顯示特定使用者之程序: + +`top {{[-u|--filter-only-euser]}} {{使用者名稱}}` + +- 依照指定領域排序: + +`top {{[-o|--sort-override]}} {{領域名稱}}` + +- 查看程序底下的所有執行緒: + +`top {{[-Hp|--threads-show --pid]}} {{程序 id}}` + +- 僅顯示特定名稱程序的 PID: + +`top {{[-p|--pid]}} $(pgrep {{[-d|--delimiter]}} ',' {{程序名稱}})` + +- 打開協助頁面: + +`` diff --git a/pages.zh_TW/linux/ubuntu-bug.md b/pages.zh_TW/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..5b0fe50faa0740 --- /dev/null +++ b/pages.zh_TW/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> 這是 `apport-bug` 命令的一個別名。 + +- 原命令的文件在: + +`tldr apport-bug` diff --git a/pages.zh_TW/osx/aa.md b/pages.zh_TW/osx/aa.md new file mode 100644 index 00000000000000..1f7bffa59a80d8 --- /dev/null +++ b/pages.zh_TW/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> 這是 `yaa` 命令的一個別名。 + +- 原命令的文件在: + +`tldr yaa` diff --git a/pages.zh_TW/osx/du.md b/pages.zh_TW/osx/du.md new file mode 100644 index 00000000000000..0987997503b9e4 --- /dev/null +++ b/pages.zh_TW/osx/du.md @@ -0,0 +1,28 @@ +# du + +> 硬碟使用量:估算每個檔案以及目錄所佔用的硬碟容量。 +> 更多資訊:. + +- 以給定單位(KiB/MiB/GiB)列出目錄和所有子目錄的大小: + +`du -{{k|m|g}} {{目錄路徑}}` + +- 以人類可讀形式(自動選擇單位)列出目錄和所有子目錄的大小: + +`du -h {{目錄路徑}}` + +- 以人類可讀形式(自動選擇單位)列出單一目錄大小: + +`du -sh {{目錄路徑}}` + +- 以人類可讀形式(自動選擇單位)列出目錄以及底下所有檔案大小: + +`du -ah {{目錄路徑}}` + +- 以人類可讀形式列出目錄和任何子目錄的大小,最多 N 層: + +`du -h -d {{N}} {{目錄路徑}}` + +- 以人類可讀形式列出目前目錄子目錄中所有 `.jpg` 檔案的大小,並在最後顯示累積總數: + +`du -ch {{*/*.jpg}}` diff --git a/pages.zh_TW/osx/g[.md b/pages.zh_TW/osx/g[.md new file mode 100644 index 00000000000000..44bd14ade547bb --- /dev/null +++ b/pages.zh_TW/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> 這是 `[` 命令的一個別名。 + +- 原命令的文件在: + +`tldr [` diff --git a/pages.zh_TW/osx/gb2sum.md b/pages.zh_TW/osx/gb2sum.md new file mode 100644 index 00000000000000..c12555b5ee4228 --- /dev/null +++ b/pages.zh_TW/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> 這是 `b2sum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr b2sum` diff --git a/pages.zh_TW/osx/gbase32.md b/pages.zh_TW/osx/gbase32.md new file mode 100644 index 00000000000000..94d5b01bdd9735 --- /dev/null +++ b/pages.zh_TW/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> 這是 `base32` 命令的一個別名。 + +- 原命令的文件在: + +`tldr base32` diff --git a/pages.zh_TW/osx/gbase64.md b/pages.zh_TW/osx/gbase64.md new file mode 100644 index 00000000000000..745d48cf5b43ab --- /dev/null +++ b/pages.zh_TW/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> 這是 `base64` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.zh_TW/osx/gbasename.md b/pages.zh_TW/osx/gbasename.md new file mode 100644 index 00000000000000..64e364a30e132b --- /dev/null +++ b/pages.zh_TW/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> 這是 `basename` 命令的一個別名。 + +- 原命令的文件在: + +`tldr basename` diff --git a/pages.zh_TW/osx/gbasenc.md b/pages.zh_TW/osx/gbasenc.md new file mode 100644 index 00000000000000..e11ab596e62402 --- /dev/null +++ b/pages.zh_TW/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> 這是 `basenc` 命令的一個別名。 + +- 原命令的文件在: + +`tldr basenc` diff --git a/pages.zh_TW/osx/gcat.md b/pages.zh_TW/osx/gcat.md new file mode 100644 index 00000000000000..ccad93531c124e --- /dev/null +++ b/pages.zh_TW/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> 這是 `-p linux cat` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.zh_TW/osx/gchcon.md b/pages.zh_TW/osx/gchcon.md new file mode 100644 index 00000000000000..9b836046af9fcb --- /dev/null +++ b/pages.zh_TW/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> 這是 `-p linux chcon` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.zh_TW/osx/gchgrp.md b/pages.zh_TW/osx/gchgrp.md new file mode 100644 index 00000000000000..e410c5cbb4b829 --- /dev/null +++ b/pages.zh_TW/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> 這是 `chgrp` 命令的一個別名。 + +- 原命令的文件在: + +`tldr chgrp` diff --git a/pages.zh_TW/osx/gchmod.md b/pages.zh_TW/osx/gchmod.md new file mode 100644 index 00000000000000..d5badd62c70b11 --- /dev/null +++ b/pages.zh_TW/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> 這是 `chmod` 命令的一個別名。 + +- 原命令的文件在: + +`tldr chmod` diff --git a/pages.zh_TW/osx/gchown.md b/pages.zh_TW/osx/gchown.md new file mode 100644 index 00000000000000..70e0e1ceff0a63 --- /dev/null +++ b/pages.zh_TW/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> 這是 `chown` 命令的一個別名。 + +- 原命令的文件在: + +`tldr chown` diff --git a/pages.zh_TW/osx/gchroot.md b/pages.zh_TW/osx/gchroot.md new file mode 100644 index 00000000000000..2b677e8a05119c --- /dev/null +++ b/pages.zh_TW/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> 這是 `chroot` 命令的一個別名。 + +- 原命令的文件在: + +`tldr chroot` diff --git a/pages.zh_TW/osx/gcksum.md b/pages.zh_TW/osx/gcksum.md new file mode 100644 index 00000000000000..c2572480e933a7 --- /dev/null +++ b/pages.zh_TW/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> 這是 `cksum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr cksum` diff --git a/pages.zh_TW/osx/gcomm.md b/pages.zh_TW/osx/gcomm.md new file mode 100644 index 00000000000000..bcde82de67eedf --- /dev/null +++ b/pages.zh_TW/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> 這是 `comm` 命令的一個別名。 + +- 原命令的文件在: + +`tldr comm` diff --git a/pages.zh_TW/osx/gcp.md b/pages.zh_TW/osx/gcp.md new file mode 100644 index 00000000000000..970534cd355f36 --- /dev/null +++ b/pages.zh_TW/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> 這是 `cp` 命令的一個別名。 + +- 原命令的文件在: + +`tldr cp` diff --git a/pages.zh_TW/osx/gcsplit.md b/pages.zh_TW/osx/gcsplit.md new file mode 100644 index 00000000000000..85ff8e8011fe53 --- /dev/null +++ b/pages.zh_TW/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> 這是 `-p linux csplit` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.zh_TW/osx/gcut.md b/pages.zh_TW/osx/gcut.md new file mode 100644 index 00000000000000..a2a62a14341f9d --- /dev/null +++ b/pages.zh_TW/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> 這是 `cut` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.zh_TW/osx/gdate.md b/pages.zh_TW/osx/gdate.md new file mode 100644 index 00000000000000..970a2a1d68ef62 --- /dev/null +++ b/pages.zh_TW/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> 這是 `date` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.zh_TW/osx/gdd.md b/pages.zh_TW/osx/gdd.md new file mode 100644 index 00000000000000..4278c9d4afda4c --- /dev/null +++ b/pages.zh_TW/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> 這是 `-p linux dd` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.zh_TW/osx/gdf.md b/pages.zh_TW/osx/gdf.md new file mode 100644 index 00000000000000..3b9699738e6ce3 --- /dev/null +++ b/pages.zh_TW/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> 這是 `-p linux df` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.zh_TW/osx/gdir.md b/pages.zh_TW/osx/gdir.md new file mode 100644 index 00000000000000..b2b9b73eca8354 --- /dev/null +++ b/pages.zh_TW/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> 這是 `-p linux dir` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.zh_TW/osx/gdircolors.md b/pages.zh_TW/osx/gdircolors.md new file mode 100644 index 00000000000000..7f7cfafff9f4c1 --- /dev/null +++ b/pages.zh_TW/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> 這是 `dircolors` 命令的一個別名。 + +- 原命令的文件在: + +`tldr dircolors` diff --git a/pages.zh_TW/osx/gdirname.md b/pages.zh_TW/osx/gdirname.md new file mode 100644 index 00000000000000..6f74d5ef13e64d --- /dev/null +++ b/pages.zh_TW/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> 這是 `dirname` 命令的一個別名。 + +- 原命令的文件在: + +`tldr dirname` diff --git a/pages.zh_TW/osx/gdnsdomainname.md b/pages.zh_TW/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..4b7b9a0beaf65e --- /dev/null +++ b/pages.zh_TW/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> 這是 `-p linux dnsdomainname` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.zh_TW/osx/gecho.md b/pages.zh_TW/osx/gecho.md new file mode 100644 index 00000000000000..f3e7da7aebec62 --- /dev/null +++ b/pages.zh_TW/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> 這是 `echo` 命令的一個別名。 + +- 原命令的文件在: + +`tldr echo` diff --git a/pages.zh_TW/osx/ged.md b/pages.zh_TW/osx/ged.md new file mode 100644 index 00000000000000..5b33c2e2ad312d --- /dev/null +++ b/pages.zh_TW/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> 這是 `ed` 命令的一個別名。 + +- 原命令的文件在: + +`tldr ed` diff --git a/pages.zh_TW/osx/gegrep.md b/pages.zh_TW/osx/gegrep.md new file mode 100644 index 00000000000000..28babeb3ecbb25 --- /dev/null +++ b/pages.zh_TW/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> 這是 `egrep` 命令的一個別名。 + +- 原命令的文件在: + +`tldr egrep` diff --git a/pages.zh_TW/osx/genv.md b/pages.zh_TW/osx/genv.md new file mode 100644 index 00000000000000..e7b9d699d58e6e --- /dev/null +++ b/pages.zh_TW/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> 這是 `env` 命令的一個別名。 + +- 原命令的文件在: + +`tldr env` diff --git a/pages.zh_TW/osx/gexpand.md b/pages.zh_TW/osx/gexpand.md new file mode 100644 index 00000000000000..2a09427c3cebc4 --- /dev/null +++ b/pages.zh_TW/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> 這是 `expand` 命令的一個別名。 + +- 原命令的文件在: + +`tldr expand` diff --git a/pages.zh_TW/osx/gexpr.md b/pages.zh_TW/osx/gexpr.md new file mode 100644 index 00000000000000..d6864451d4a18b --- /dev/null +++ b/pages.zh_TW/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> 這是 `expr` 命令的一個別名。 + +- 原命令的文件在: + +`tldr expr` diff --git a/pages.zh_TW/osx/gfactor.md b/pages.zh_TW/osx/gfactor.md new file mode 100644 index 00000000000000..1076eb52e8b23c --- /dev/null +++ b/pages.zh_TW/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> 這是 `factor` 命令的一個別名。 + +- 原命令的文件在: + +`tldr factor` diff --git a/pages.zh_TW/osx/gfalse.md b/pages.zh_TW/osx/gfalse.md new file mode 100644 index 00000000000000..2b48f0fc4fb039 --- /dev/null +++ b/pages.zh_TW/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> 這是 `false` 命令的一個別名。 + +- 原命令的文件在: + +`tldr false` diff --git a/pages.zh_TW/osx/gfgrep.md b/pages.zh_TW/osx/gfgrep.md new file mode 100644 index 00000000000000..c9a9bcbaa4119f --- /dev/null +++ b/pages.zh_TW/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> 這是 `fgrep` 命令的一個別名。 + +- 原命令的文件在: + +`tldr fgrep` diff --git a/pages.zh_TW/osx/gfind.md b/pages.zh_TW/osx/gfind.md new file mode 100644 index 00000000000000..2c0b907a1ac72e --- /dev/null +++ b/pages.zh_TW/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> 這是 `find` 命令的一個別名。 + +- 原命令的文件在: + +`tldr find` diff --git a/pages.zh_TW/osx/gfmt.md b/pages.zh_TW/osx/gfmt.md new file mode 100644 index 00000000000000..4c20d087a48e68 --- /dev/null +++ b/pages.zh_TW/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> 這是 `fmt` 命令的一個別名。 + +- 原命令的文件在: + +`tldr fmt` diff --git a/pages.zh_TW/osx/gfold.md b/pages.zh_TW/osx/gfold.md new file mode 100644 index 00000000000000..5c591a3b5ed475 --- /dev/null +++ b/pages.zh_TW/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> 這是 `-p linux fold` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.zh_TW/osx/gftp.md b/pages.zh_TW/osx/gftp.md new file mode 100644 index 00000000000000..78182c024d431f --- /dev/null +++ b/pages.zh_TW/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> 這是 `ftp` 命令的一個別名。 + +- 原命令的文件在: + +`tldr ftp` diff --git a/pages.zh_TW/osx/ggrep.md b/pages.zh_TW/osx/ggrep.md new file mode 100644 index 00000000000000..dd976c1e79dbf5 --- /dev/null +++ b/pages.zh_TW/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> 這是 `grep` 命令的一個別名。 + +- 原命令的文件在: + +`tldr grep` diff --git a/pages.zh_TW/osx/ggroups.md b/pages.zh_TW/osx/ggroups.md new file mode 100644 index 00000000000000..5a58c722e3a780 --- /dev/null +++ b/pages.zh_TW/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> 這是 `groups` 命令的一個別名。 + +- 原命令的文件在: + +`tldr groups` diff --git a/pages.zh_TW/osx/ghead.md b/pages.zh_TW/osx/ghead.md new file mode 100644 index 00000000000000..0d21cecfcea214 --- /dev/null +++ b/pages.zh_TW/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> 這是 `-p linux head` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.zh_TW/osx/ghostid.md b/pages.zh_TW/osx/ghostid.md new file mode 100644 index 00000000000000..ae81b2acc67b03 --- /dev/null +++ b/pages.zh_TW/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> 這是 `hostid` 命令的一個別名。 + +- 原命令的文件在: + +`tldr hostid` diff --git a/pages.zh_TW/osx/ghostname.md b/pages.zh_TW/osx/ghostname.md new file mode 100644 index 00000000000000..081dddf0923607 --- /dev/null +++ b/pages.zh_TW/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> 這是 `hostname` 命令的一個別名。 + +- 原命令的文件在: + +`tldr hostname` diff --git a/pages.zh_TW/osx/gid.md b/pages.zh_TW/osx/gid.md new file mode 100644 index 00000000000000..a3c2d0adac5a15 --- /dev/null +++ b/pages.zh_TW/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> 這是 `id` 命令的一個別名。 + +- 原命令的文件在: + +`tldr id` diff --git a/pages.zh_TW/osx/gifconfig.md b/pages.zh_TW/osx/gifconfig.md new file mode 100644 index 00000000000000..067e8ea3b61259 --- /dev/null +++ b/pages.zh_TW/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> 這是 `ifconfig` 命令的一個別名。 + +- 原命令的文件在: + +`tldr ifconfig` diff --git a/pages.zh_TW/osx/gindent.md b/pages.zh_TW/osx/gindent.md new file mode 100644 index 00000000000000..ceb6c38f35b2a3 --- /dev/null +++ b/pages.zh_TW/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> 這是 `indent` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.zh_TW/osx/ginstall.md b/pages.zh_TW/osx/ginstall.md new file mode 100644 index 00000000000000..38bc94e18a666f --- /dev/null +++ b/pages.zh_TW/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> 這是 `install` 命令的一個別名。 + +- 原命令的文件在: + +`tldr install` diff --git a/pages.zh_TW/osx/gjoin.md b/pages.zh_TW/osx/gjoin.md new file mode 100644 index 00000000000000..8543256a3e5e41 --- /dev/null +++ b/pages.zh_TW/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> 這是 `join` 命令的一個別名。 + +- 原命令的文件在: + +`tldr join` diff --git a/pages.zh_TW/osx/gkill.md b/pages.zh_TW/osx/gkill.md new file mode 100644 index 00000000000000..02c4573a2db34c --- /dev/null +++ b/pages.zh_TW/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> 這是 `-p linux kill` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.zh_TW/osx/glibtool.md b/pages.zh_TW/osx/glibtool.md new file mode 100644 index 00000000000000..08214f0462b108 --- /dev/null +++ b/pages.zh_TW/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> 這是 `-p linux libtool` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.zh_TW/osx/glibtoolize.md b/pages.zh_TW/osx/glibtoolize.md new file mode 100644 index 00000000000000..51692ab489842f --- /dev/null +++ b/pages.zh_TW/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> 這是 `-p linux libtoolize` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.zh_TW/osx/glink.md b/pages.zh_TW/osx/glink.md new file mode 100644 index 00000000000000..771a112e24611a --- /dev/null +++ b/pages.zh_TW/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> 這是 `link` 命令的一個別名。 + +- 原命令的文件在: + +`tldr link` diff --git a/pages.zh_TW/osx/gln.md b/pages.zh_TW/osx/gln.md new file mode 100644 index 00000000000000..580dce07e01626 --- /dev/null +++ b/pages.zh_TW/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> 這是 `ln` 命令的一個別名。 + +- 原命令的文件在: + +`tldr ln` diff --git a/pages.zh_TW/osx/glocate.md b/pages.zh_TW/osx/glocate.md new file mode 100644 index 00000000000000..86872e26a0822a --- /dev/null +++ b/pages.zh_TW/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> 這是 `-p linux locate` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.zh_TW/osx/glogger.md b/pages.zh_TW/osx/glogger.md new file mode 100644 index 00000000000000..e426a80e7f932d --- /dev/null +++ b/pages.zh_TW/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> 這是 `-p linux logger` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.zh_TW/osx/glogname.md b/pages.zh_TW/osx/glogname.md new file mode 100644 index 00000000000000..8c8335e7a13e7a --- /dev/null +++ b/pages.zh_TW/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> 這是 `logname` 命令的一個別名。 + +- 原命令的文件在: + +`tldr logname` diff --git a/pages.zh_TW/osx/gls.md b/pages.zh_TW/osx/gls.md new file mode 100644 index 00000000000000..5133603a6881cd --- /dev/null +++ b/pages.zh_TW/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> 這是 `ls` 命令的一個別名。 + +- 原命令的文件在: + +`tldr ls` diff --git a/pages.zh_TW/osx/gmake.md b/pages.zh_TW/osx/gmake.md new file mode 100644 index 00000000000000..0dd26b5cdfe1a5 --- /dev/null +++ b/pages.zh_TW/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> 這是 `make` 命令的一個別名。 + +- 原命令的文件在: + +`tldr make` diff --git a/pages.zh_TW/osx/gmd5sum.md b/pages.zh_TW/osx/gmd5sum.md new file mode 100644 index 00000000000000..4ec76a4cd11a07 --- /dev/null +++ b/pages.zh_TW/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> 這是 `md5sum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr md5sum` diff --git a/pages.zh_TW/osx/gmkdir.md b/pages.zh_TW/osx/gmkdir.md new file mode 100644 index 00000000000000..fa9176d4ed6faf --- /dev/null +++ b/pages.zh_TW/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> 這是 `mkdir` 命令的一個別名。 + +- 原命令的文件在: + +`tldr mkdir` diff --git a/pages.zh_TW/osx/gmkfifo.md b/pages.zh_TW/osx/gmkfifo.md new file mode 100644 index 00000000000000..1e03c45153bfde --- /dev/null +++ b/pages.zh_TW/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> 這是 `mkfifo` 命令的一個別名。 + +- 原命令的文件在: + +`tldr mkfifo` diff --git a/pages.zh_TW/osx/gmknod.md b/pages.zh_TW/osx/gmknod.md new file mode 100644 index 00000000000000..ffec6b9a7a4304 --- /dev/null +++ b/pages.zh_TW/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> 這是 `-p linux mknod` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.zh_TW/osx/gmktemp.md b/pages.zh_TW/osx/gmktemp.md new file mode 100644 index 00000000000000..f506501a687d46 --- /dev/null +++ b/pages.zh_TW/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> 這是 `-p linux mktemp` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.zh_TW/osx/gmv.md b/pages.zh_TW/osx/gmv.md new file mode 100644 index 00000000000000..6e731632cfc2f8 --- /dev/null +++ b/pages.zh_TW/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> 這是 `mv` 命令的一個別名。 + +- 原命令的文件在: + +`tldr mv` diff --git a/pages.zh_TW/osx/gnice.md b/pages.zh_TW/osx/gnice.md new file mode 100644 index 00000000000000..f981a955e35304 --- /dev/null +++ b/pages.zh_TW/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> 這是 `nice` 命令的一個別名。 + +- 原命令的文件在: + +`tldr nice` diff --git a/pages.zh_TW/osx/gnl.md b/pages.zh_TW/osx/gnl.md new file mode 100644 index 00000000000000..0442bb7559d614 --- /dev/null +++ b/pages.zh_TW/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> 這是 `-p linux nl` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.zh_TW/osx/gnohup.md b/pages.zh_TW/osx/gnohup.md new file mode 100644 index 00000000000000..945fb477843d11 --- /dev/null +++ b/pages.zh_TW/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> 這是 `nohup` 命令的一個別名。 + +- 原命令的文件在: + +`tldr nohup` diff --git a/pages.zh_TW/osx/gnproc.md b/pages.zh_TW/osx/gnproc.md new file mode 100644 index 00000000000000..2c226fa16a4089 --- /dev/null +++ b/pages.zh_TW/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> 這是 `nproc` 命令的一個別名。 + +- 原命令的文件在: + +`tldr nproc` diff --git a/pages.zh_TW/osx/gnumfmt.md b/pages.zh_TW/osx/gnumfmt.md new file mode 100644 index 00000000000000..60f16b19542d27 --- /dev/null +++ b/pages.zh_TW/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> 這是 `numfmt` 命令的一個別名。 + +- 原命令的文件在: + +`tldr numfmt` diff --git a/pages.zh_TW/osx/god.md b/pages.zh_TW/osx/god.md new file mode 100644 index 00000000000000..949f988941bce5 --- /dev/null +++ b/pages.zh_TW/osx/god.md @@ -0,0 +1,7 @@ +# god + +> 這是 `od` 命令的一個別名。 + +- 原命令的文件在: + +`tldr od` diff --git a/pages.zh_TW/osx/gpaste.md b/pages.zh_TW/osx/gpaste.md new file mode 100644 index 00000000000000..a8105d68172a35 --- /dev/null +++ b/pages.zh_TW/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> 這是 `paste` 命令的一個別名。 + +- 原命令的文件在: + +`tldr paste` diff --git a/pages.zh_TW/osx/gpathchk.md b/pages.zh_TW/osx/gpathchk.md new file mode 100644 index 00000000000000..a2f857143316b2 --- /dev/null +++ b/pages.zh_TW/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> 這是 `pathchk` 命令的一個別名。 + +- 原命令的文件在: + +`tldr pathchk` diff --git a/pages.zh_TW/osx/gping.md b/pages.zh_TW/osx/gping.md new file mode 100644 index 00000000000000..b4bbeb209493ae --- /dev/null +++ b/pages.zh_TW/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> 這是 `ping` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.zh_TW/osx/gping6.md b/pages.zh_TW/osx/gping6.md new file mode 100644 index 00000000000000..bc285d48519c6b --- /dev/null +++ b/pages.zh_TW/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> 這是 `ping6` 命令的一個別名。 + +- 原命令的文件在: + +`tldr ping6` diff --git a/pages.zh_TW/osx/gpinky.md b/pages.zh_TW/osx/gpinky.md new file mode 100644 index 00000000000000..1b51a53f3f3b41 --- /dev/null +++ b/pages.zh_TW/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> 這是 `pinky` 命令的一個別名。 + +- 原命令的文件在: + +`tldr pinky` diff --git a/pages.zh_TW/osx/gpr.md b/pages.zh_TW/osx/gpr.md new file mode 100644 index 00000000000000..c1dbf2b7e04038 --- /dev/null +++ b/pages.zh_TW/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> 這是 `pr` 命令的一個別名。 + +- 原命令的文件在: + +`tldr pr` diff --git a/pages.zh_TW/osx/gprintenv.md b/pages.zh_TW/osx/gprintenv.md new file mode 100644 index 00000000000000..495723430f02af --- /dev/null +++ b/pages.zh_TW/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> 這是 `printenv` 命令的一個別名。 + +- 原命令的文件在: + +`tldr printenv` diff --git a/pages.zh_TW/osx/gprintf.md b/pages.zh_TW/osx/gprintf.md new file mode 100644 index 00000000000000..64347746588ea9 --- /dev/null +++ b/pages.zh_TW/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> 這是 `printf` 命令的一個別名。 + +- 原命令的文件在: + +`tldr printf` diff --git a/pages.zh_TW/osx/gptx.md b/pages.zh_TW/osx/gptx.md new file mode 100644 index 00000000000000..2c9fc8538a8b67 --- /dev/null +++ b/pages.zh_TW/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> 這是 `-p linux ptx` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.zh_TW/osx/gpwd.md b/pages.zh_TW/osx/gpwd.md new file mode 100644 index 00000000000000..9329d20ce156b7 --- /dev/null +++ b/pages.zh_TW/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> 這是 `pwd` 命令的一個別名。 + +- 原命令的文件在: + +`tldr pwd` diff --git a/pages.zh_TW/osx/grcp.md b/pages.zh_TW/osx/grcp.md new file mode 100644 index 00000000000000..e3abb822187964 --- /dev/null +++ b/pages.zh_TW/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> 這是 `-p linux rcp` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.zh_TW/osx/greadlink.md b/pages.zh_TW/osx/greadlink.md new file mode 100644 index 00000000000000..ff1ac441e9b246 --- /dev/null +++ b/pages.zh_TW/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> 這是 `readlink` 命令的一個別名。 + +- 原命令的文件在: + +`tldr readlink` diff --git a/pages.zh_TW/osx/grealpath.md b/pages.zh_TW/osx/grealpath.md new file mode 100644 index 00000000000000..31119fa60d69fd --- /dev/null +++ b/pages.zh_TW/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> 這是 `realpath` 命令的一個別名。 + +- 原命令的文件在: + +`tldr realpath` diff --git a/pages.zh_TW/osx/grexec.md b/pages.zh_TW/osx/grexec.md new file mode 100644 index 00000000000000..97df72990c7ffb --- /dev/null +++ b/pages.zh_TW/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> 這是 `-p linux rexec` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.zh_TW/osx/grlogin.md b/pages.zh_TW/osx/grlogin.md new file mode 100644 index 00000000000000..f7baab33da4863 --- /dev/null +++ b/pages.zh_TW/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> 這是 `-p linux rlogin` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.zh_TW/osx/grm.md b/pages.zh_TW/osx/grm.md new file mode 100644 index 00000000000000..be5397e69b5b56 --- /dev/null +++ b/pages.zh_TW/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> 這是 `rm` 命令的一個別名。 + +- 原命令的文件在: + +`tldr rm` diff --git a/pages.zh_TW/osx/grmdir.md b/pages.zh_TW/osx/grmdir.md new file mode 100644 index 00000000000000..a5a2a423eae26b --- /dev/null +++ b/pages.zh_TW/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> 這是 `rmdir` 命令的一個別名。 + +- 原命令的文件在: + +`tldr rmdir` diff --git a/pages.zh_TW/osx/grsh.md b/pages.zh_TW/osx/grsh.md new file mode 100644 index 00000000000000..8b44bd8251549b --- /dev/null +++ b/pages.zh_TW/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> 這是 `-p linux rsh` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.zh_TW/osx/gruncon.md b/pages.zh_TW/osx/gruncon.md new file mode 100644 index 00000000000000..97a64b48f41e46 --- /dev/null +++ b/pages.zh_TW/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> 這是 `-p linux runcon` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.zh_TW/osx/gsed.md b/pages.zh_TW/osx/gsed.md new file mode 100644 index 00000000000000..d5cd01eaeec42a --- /dev/null +++ b/pages.zh_TW/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> 這是 `-p linux sed` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.zh_TW/osx/gseq.md b/pages.zh_TW/osx/gseq.md new file mode 100644 index 00000000000000..0fdaa2f03fafa1 --- /dev/null +++ b/pages.zh_TW/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> 這是 `seq` 命令的一個別名。 + +- 原命令的文件在: + +`tldr seq` diff --git a/pages.zh_TW/osx/gsha1sum.md b/pages.zh_TW/osx/gsha1sum.md new file mode 100644 index 00000000000000..d084372ab54282 --- /dev/null +++ b/pages.zh_TW/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> 這是 `sha1sum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr sha1sum` diff --git a/pages.zh_TW/osx/gsha224sum.md b/pages.zh_TW/osx/gsha224sum.md new file mode 100644 index 00000000000000..e3c55e922128f1 --- /dev/null +++ b/pages.zh_TW/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> 這是 `sha224sum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr sha224sum` diff --git a/pages.zh_TW/osx/gsha256sum.md b/pages.zh_TW/osx/gsha256sum.md new file mode 100644 index 00000000000000..d095660109f643 --- /dev/null +++ b/pages.zh_TW/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> 這是 `sha256sum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr sha256sum` diff --git a/pages.zh_TW/osx/gsha384sum.md b/pages.zh_TW/osx/gsha384sum.md new file mode 100644 index 00000000000000..e00e660adf626b --- /dev/null +++ b/pages.zh_TW/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> 這是 `sha384sum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr sha384sum` diff --git a/pages.zh_TW/osx/gsha512sum.md b/pages.zh_TW/osx/gsha512sum.md new file mode 100644 index 00000000000000..da56d50ac21e8b --- /dev/null +++ b/pages.zh_TW/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> 這是 `sha512sum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr sha512sum` diff --git a/pages.zh_TW/osx/gshred.md b/pages.zh_TW/osx/gshred.md new file mode 100644 index 00000000000000..b49bbff944c718 --- /dev/null +++ b/pages.zh_TW/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> 這是 `shred` 命令的一個別名。 + +- 原命令的文件在: + +`tldr shred` diff --git a/pages.zh_TW/osx/gshuf.md b/pages.zh_TW/osx/gshuf.md new file mode 100644 index 00000000000000..e3a7269866323f --- /dev/null +++ b/pages.zh_TW/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> 這是 `shuf` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.zh_TW/osx/gsleep.md b/pages.zh_TW/osx/gsleep.md new file mode 100644 index 00000000000000..d10c3a00c41885 --- /dev/null +++ b/pages.zh_TW/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> 這是 `-p linux sleep` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.zh_TW/osx/gsort.md b/pages.zh_TW/osx/gsort.md new file mode 100644 index 00000000000000..3c11091a537842 --- /dev/null +++ b/pages.zh_TW/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> 這是 `sort` 命令的一個別名。 + +- 原命令的文件在: + +`tldr sort` diff --git a/pages.zh_TW/osx/gsplit.md b/pages.zh_TW/osx/gsplit.md new file mode 100644 index 00000000000000..f5877ee162414e --- /dev/null +++ b/pages.zh_TW/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> 這是 `split` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.zh_TW/osx/gstat.md b/pages.zh_TW/osx/gstat.md new file mode 100644 index 00000000000000..6988a212e401af --- /dev/null +++ b/pages.zh_TW/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> 這是 `stat` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.zh_TW/osx/gstdbuf.md b/pages.zh_TW/osx/gstdbuf.md new file mode 100644 index 00000000000000..1c6f3523e36ee9 --- /dev/null +++ b/pages.zh_TW/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> 這是 `stdbuf` 命令的一個別名。 + +- 原命令的文件在: + +`tldr stdbuf` diff --git a/pages.zh_TW/osx/gstty.md b/pages.zh_TW/osx/gstty.md new file mode 100644 index 00000000000000..ef9bdd0341e4fa --- /dev/null +++ b/pages.zh_TW/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> 這是 `stty` 命令的一個別名。 + +- 原命令的文件在: + +`tldr stty` diff --git a/pages.zh_TW/osx/gsum.md b/pages.zh_TW/osx/gsum.md new file mode 100644 index 00000000000000..cce9aa16d78486 --- /dev/null +++ b/pages.zh_TW/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> 這是 `sum` 命令的一個別名。 + +- 原命令的文件在: + +`tldr sum` diff --git a/pages.zh_TW/osx/gsync.md b/pages.zh_TW/osx/gsync.md new file mode 100644 index 00000000000000..0b4b45f12fe700 --- /dev/null +++ b/pages.zh_TW/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> 這是 `sync` 命令的一個別名。 + +- 原命令的文件在: + +`tldr sync` diff --git a/pages.zh_TW/osx/gtac.md b/pages.zh_TW/osx/gtac.md new file mode 100644 index 00000000000000..9cbceb95c58f29 --- /dev/null +++ b/pages.zh_TW/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> 這是 `tac` 命令的一個別名。 + +- 原命令的文件在: + +`tldr tac` diff --git a/pages.zh_TW/osx/gtail.md b/pages.zh_TW/osx/gtail.md new file mode 100644 index 00000000000000..808d664c0228b6 --- /dev/null +++ b/pages.zh_TW/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> 這是 `tail` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.zh_TW/osx/gtalk.md b/pages.zh_TW/osx/gtalk.md new file mode 100644 index 00000000000000..a6bd0036efdfdc --- /dev/null +++ b/pages.zh_TW/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> 這是 `-p linux talk` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.zh_TW/osx/gtar.md b/pages.zh_TW/osx/gtar.md new file mode 100644 index 00000000000000..bc074c88438f2a --- /dev/null +++ b/pages.zh_TW/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> 這是 `tar` 命令的一個別名。 + +- 原命令的文件在: + +`tldr tar` diff --git a/pages.zh_TW/osx/gtee.md b/pages.zh_TW/osx/gtee.md new file mode 100644 index 00000000000000..78ebac42f327ac --- /dev/null +++ b/pages.zh_TW/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> 這是 `tee` 命令的一個別名。 + +- 原命令的文件在: + +`tldr tee` diff --git a/pages.zh_TW/osx/gtelnet.md b/pages.zh_TW/osx/gtelnet.md new file mode 100644 index 00000000000000..6c7cf80e067647 --- /dev/null +++ b/pages.zh_TW/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> 這是 `telnet` 命令的一個別名。 + +- 原命令的文件在: + +`tldr telnet` diff --git a/pages.zh_TW/osx/gtest.md b/pages.zh_TW/osx/gtest.md new file mode 100644 index 00000000000000..8dc2db39d862b8 --- /dev/null +++ b/pages.zh_TW/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> 這是 `test` 命令的一個別名。 + +- 原命令的文件在: + +`tldr test` diff --git a/pages.zh_TW/osx/gtftp.md b/pages.zh_TW/osx/gtftp.md new file mode 100644 index 00000000000000..fea8698dc83c7a --- /dev/null +++ b/pages.zh_TW/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> 這是 `-p linux tftp` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.zh_TW/osx/gtime.md b/pages.zh_TW/osx/gtime.md new file mode 100644 index 00000000000000..829666999c777f --- /dev/null +++ b/pages.zh_TW/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> 這是 `time` 命令的一個別名。 + +- 原命令的文件在: + +`tldr time` diff --git a/pages.zh_TW/osx/gtimeout.md b/pages.zh_TW/osx/gtimeout.md new file mode 100644 index 00000000000000..45b8eb3f21c082 --- /dev/null +++ b/pages.zh_TW/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> 這是 `timeout` 命令的一個別名。 + +- 原命令的文件在: + +`tldr timeout` diff --git a/pages.zh_TW/osx/gtouch.md b/pages.zh_TW/osx/gtouch.md new file mode 100644 index 00000000000000..f46382bcab403f --- /dev/null +++ b/pages.zh_TW/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> 這是 `touch` 命令的一個別名。 + +- 原命令的文件在: + +`tldr touch` diff --git a/pages.zh_TW/osx/gtr.md b/pages.zh_TW/osx/gtr.md new file mode 100644 index 00000000000000..6a9eea2eafe058 --- /dev/null +++ b/pages.zh_TW/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> 這是 `tr` 命令的一個別名。 + +- 原命令的文件在: + +`tldr tr` diff --git a/pages.zh_TW/osx/gtraceroute.md b/pages.zh_TW/osx/gtraceroute.md new file mode 100644 index 00000000000000..441deb258b92d0 --- /dev/null +++ b/pages.zh_TW/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> 這是 `traceroute` 命令的一個別名。 + +- 原命令的文件在: + +`tldr traceroute` diff --git a/pages.zh_TW/osx/gtrue.md b/pages.zh_TW/osx/gtrue.md new file mode 100644 index 00000000000000..f309902182cb95 --- /dev/null +++ b/pages.zh_TW/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> 這是 `true` 命令的一個別名。 + +- 原命令的文件在: + +`tldr true` diff --git a/pages.zh_TW/osx/gtruncate.md b/pages.zh_TW/osx/gtruncate.md new file mode 100644 index 00000000000000..2a12a05ace3600 --- /dev/null +++ b/pages.zh_TW/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> 這是 `truncate` 命令的一個別名。 + +- 原命令的文件在: + +`tldr truncate` diff --git a/pages.zh_TW/osx/gtsort.md b/pages.zh_TW/osx/gtsort.md new file mode 100644 index 00000000000000..d5c992fd6823b6 --- /dev/null +++ b/pages.zh_TW/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> 這是 `tsort` 命令的一個別名。 + +- 原命令的文件在: + +`tldr tsort` diff --git a/pages.zh_TW/osx/gtty.md b/pages.zh_TW/osx/gtty.md new file mode 100644 index 00000000000000..ccd613f1b938e5 --- /dev/null +++ b/pages.zh_TW/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> 這是 `tty` 命令的一個別名。 + +- 原命令的文件在: + +`tldr tty` diff --git a/pages.zh_TW/osx/guname.md b/pages.zh_TW/osx/guname.md new file mode 100644 index 00000000000000..be73bb8309b879 --- /dev/null +++ b/pages.zh_TW/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> 這是 `uname` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.zh_TW/osx/gunexpand.md b/pages.zh_TW/osx/gunexpand.md new file mode 100644 index 00000000000000..8a7bfbf6f191d3 --- /dev/null +++ b/pages.zh_TW/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> 這是 `unexpand` 命令的一個別名。 + +- 原命令的文件在: + +`tldr unexpand` diff --git a/pages.zh_TW/osx/guniq.md b/pages.zh_TW/osx/guniq.md new file mode 100644 index 00000000000000..c438845735e20d --- /dev/null +++ b/pages.zh_TW/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> 這是 `uniq` 命令的一個別名。 + +- 原命令的文件在: + +`tldr uniq` diff --git a/pages.zh_TW/osx/gunits.md b/pages.zh_TW/osx/gunits.md new file mode 100644 index 00000000000000..b32717673306f0 --- /dev/null +++ b/pages.zh_TW/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> 這是 `units` 命令的一個別名。 + +- 原命令的文件在: + +`tldr units` diff --git a/pages.zh_TW/osx/gunlink.md b/pages.zh_TW/osx/gunlink.md new file mode 100644 index 00000000000000..27d4e6513bb2ae --- /dev/null +++ b/pages.zh_TW/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> 這是 `unlink` 命令的一個別名。 + +- 原命令的文件在: + +`tldr unlink` diff --git a/pages.zh_TW/osx/gupdatedb.md b/pages.zh_TW/osx/gupdatedb.md new file mode 100644 index 00000000000000..7d74e93fe6c50f --- /dev/null +++ b/pages.zh_TW/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> 這是 `-p linux updatedb` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.zh_TW/osx/guptime.md b/pages.zh_TW/osx/guptime.md new file mode 100644 index 00000000000000..37f5a2e619dfd9 --- /dev/null +++ b/pages.zh_TW/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> 這是 `uptime` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.zh_TW/osx/gusers.md b/pages.zh_TW/osx/gusers.md new file mode 100644 index 00000000000000..5a84c06c13e5b1 --- /dev/null +++ b/pages.zh_TW/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> 這是 `users` 命令的一個別名。 + +- 原命令的文件在: + +`tldr users` diff --git a/pages.zh_TW/osx/gvdir.md b/pages.zh_TW/osx/gvdir.md new file mode 100644 index 00000000000000..04d7b94d0f1a59 --- /dev/null +++ b/pages.zh_TW/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> 這是 `vdir` 命令的一個別名。 + +- 原命令的文件在: + +`tldr vdir` diff --git a/pages.zh_TW/osx/gwc.md b/pages.zh_TW/osx/gwc.md new file mode 100644 index 00000000000000..fc47b877104f16 --- /dev/null +++ b/pages.zh_TW/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> 這是 `wc` 命令的一個別名。 + +- 原命令的文件在: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.zh_TW/osx/gwhich.md b/pages.zh_TW/osx/gwhich.md new file mode 100644 index 00000000000000..1170b07c141a47 --- /dev/null +++ b/pages.zh_TW/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> 這是 `which` 命令的一個別名。 + +- 原命令的文件在: + +`tldr which` diff --git a/pages.zh_TW/osx/gwho.md b/pages.zh_TW/osx/gwho.md new file mode 100644 index 00000000000000..8c9249698e2186 --- /dev/null +++ b/pages.zh_TW/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> 這是 `who` 命令的一個別名。 + +- 原命令的文件在: + +`tldr who` diff --git a/pages.zh_TW/osx/gwhoami.md b/pages.zh_TW/osx/gwhoami.md new file mode 100644 index 00000000000000..faf7829450975b --- /dev/null +++ b/pages.zh_TW/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> 這是 `whoami` 命令的一個別名。 + +- 原命令的文件在: + +`tldr whoami` diff --git a/pages.zh_TW/osx/gwhois.md b/pages.zh_TW/osx/gwhois.md new file mode 100644 index 00000000000000..4dceeded19abcf --- /dev/null +++ b/pages.zh_TW/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> 這是 `whois` 命令的一個別名。 + +- 原命令的文件在: + +`tldr whois` diff --git a/pages.zh_TW/osx/gxargs.md b/pages.zh_TW/osx/gxargs.md new file mode 100644 index 00000000000000..aee5c74c3b7d77 --- /dev/null +++ b/pages.zh_TW/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> 這是 `xargs` 命令的一個別名。 + +- 原命令的文件在: + +`tldr xargs` diff --git a/pages.zh_TW/osx/gyes.md b/pages.zh_TW/osx/gyes.md new file mode 100644 index 00000000000000..77f9013eddbc1f --- /dev/null +++ b/pages.zh_TW/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> 這是 `yes` 命令的一個別名。 + +- 原命令的文件在: + +`tldr yes` diff --git a/pages.zh_TW/osx/reboot.md b/pages.zh_TW/osx/reboot.md new file mode 100644 index 00000000000000..704c86980d4066 --- /dev/null +++ b/pages.zh_TW/osx/reboot.md @@ -0,0 +1,12 @@ +# reboot + +> 重啟系統。 +> 更多資訊:. + +- 立即重新啟動: + +`sudo reboot` + +- 立即強制重新啟動(應避免使用此選項): + +`sudo reboot -q` diff --git a/pages.zh_TW/windows/choco.md b/pages.zh_TW/windows/choco.md new file mode 100644 index 00000000000000..dcecb215f2815f --- /dev/null +++ b/pages.zh_TW/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> 「Chocolatey package manager」軟體套件管理器。 +> 執行命令由兩個單字「組合」成,例如 `choco install`,請參考使用文件。 +> 更多資訊:. + +- 執行「組合」命令: + +`choco {{命令}}` + +- 顯示 `choco` 幫助文件: + +`choco -?` + +- 顯示「組合」命令幫助文件: + +`choco {{命令}} -?` + +- 顯示 Chocolatey 版本: + +`choco --version` diff --git a/pages.zh_TW/windows/chrome.md b/pages.zh_TW/windows/chrome.md new file mode 100644 index 00000000000000..609cb52e6b9239 --- /dev/null +++ b/pages.zh_TW/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> 這是 `chromium` 命令的一個別名。 +> 更多資訊:. + +- 原命令的文件在: + +`tldr chromium` diff --git a/pages.zh_TW/windows/cinst.md b/pages.zh_TW/windows/cinst.md new file mode 100644 index 00000000000000..e5ba0638d0b42e --- /dev/null +++ b/pages.zh_TW/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> 這是 `choco install` 命令的一個別名。 + +- 原命令的文件在: + +`tldr choco install` diff --git a/pages.zh_TW/windows/clip.md b/pages.zh_TW/windows/clip.md new file mode 100644 index 00000000000000..6c2052b88a6ded --- /dev/null +++ b/pages.zh_TW/windows/clip.md @@ -0,0 +1,20 @@ +# clip + +> 將輸入的內容複製到 Windows 剪貼簿中。 +> 更多資訊:. + +- 使用管道將命令輸出的內容複製到 Windows 剪貼簿中: + +`{{dir}} | clip` + +- 將文件內容複製到 Windows 剪貼簿中: + +`clip < {{檔案/完整/路徑}}` + +- 將帶有換行符的內容複製到 Windows 剪貼簿中: + +`echo {{文字}} | clip` + +- 將不帶換行符的內容複製到 Windows 剪貼簿中: + +`echo | set /p="文字" | clip` diff --git a/pages.zh_TW/windows/clist.md b/pages.zh_TW/windows/clist.md new file mode 100644 index 00000000000000..c25489d4bb74b2 --- /dev/null +++ b/pages.zh_TW/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> 這是 `choco list` 命令的一個別名。 + +- 原命令的文件在: + +`tldr choco list` diff --git a/pages.zh_TW/windows/cls.md b/pages.zh_TW/windows/cls.md new file mode 100644 index 00000000000000..5fa64283a0f486 --- /dev/null +++ b/pages.zh_TW/windows/cls.md @@ -0,0 +1,8 @@ +# cls + +> 清除命令提示字元中的輸出文字。 +> 更多資訊:. + +- 清除輸出: + +`cls` diff --git a/pages.zh_TW/windows/cmd.md b/pages.zh_TW/windows/cmd.md new file mode 100644 index 00000000000000..44503b9da4d2c8 --- /dev/null +++ b/pages.zh_TW/windows/cmd.md @@ -0,0 +1,32 @@ +# cmd + +> Windows 命令解釋器。 +> 更多資訊:. + +- 開啟一個新的命令列執行個體: + +`cmd` + +- 執行指定的命令然後退出: + +`cmd /c {{命令}}` + +- 執行一個指定的命令,之後進入一個互動式 shell: + +`cmd /k {{命令}}` + +- 不顯示命令的輸出結果: + +`cmd /q` + +- 啟用或禁用環境變數擴展: + +`cmd /v:{{on|off}}` + +- 啟用或禁用命令擴展: + +`cmd /e:{{on|off}}` + +- 使用 Unicode 編碼強制輸出內容: + +`cmd /u` diff --git a/pages.zh_TW/windows/color.md b/pages.zh_TW/windows/color.md new file mode 100644 index 00000000000000..f07e1c50fea326 --- /dev/null +++ b/pages.zh_TW/windows/color.md @@ -0,0 +1,16 @@ +# color + +> 設定主控台前景和背景顏色。 +> 更多資訊:. + +- 將主控台顏色設置為預設值: + +`color` + +- 列出可用的顏色值和詳細資訊: + +`color /?` + +- 使用十六進制數字設定主控台前景色和背景色: + +`color {{前景色編碼}}{{背景色編碼}}` diff --git a/pages.zh_TW/windows/cpush.md b/pages.zh_TW/windows/cpush.md new file mode 100644 index 00000000000000..edf8757e6f8277 --- /dev/null +++ b/pages.zh_TW/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> 這是 `choco push` 命令的一個別名。 + +- 原命令的文件在: + +`tldr choco push` diff --git a/pages.zh_TW/windows/cuninst.md b/pages.zh_TW/windows/cuninst.md new file mode 100644 index 00000000000000..49d697a7515a0f --- /dev/null +++ b/pages.zh_TW/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> 這是 `choco uninstall` 命令的一個別名。 + +- 原命令的文件在: + +`tldr choco uninstall` diff --git a/pages.zh_TW/windows/del.md b/pages.zh_TW/windows/del.md new file mode 100644 index 00000000000000..fb8ce1ca44f856 --- /dev/null +++ b/pages.zh_TW/windows/del.md @@ -0,0 +1,37 @@ +# del + +> 刪除一個或多個檔案。 +> 在 PowerShell 中,此命令為 `Remove-Item` 的別名。本頁的描述是基於命令提示字元 (`cmd`) 中的 `del`。 +> 更多資訊:. + +- 查閱 PowerShell 的對應命令: + +`tldr remove-item` + +- 刪除一個或多個檔案 (可使用萬用字元): + +`del {{檔案1 檔案2 ...}}` + +- 在刪除每個檔案之前提示確認: + +`del {{檔案}} /p` + +- 強制刪除唯讀檔案: + +`del {{檔案}} /f` + +- 遞歸刪除所有子目錄中的檔案: + +`del {{檔案}} /s` + +- 在使用全域萬用字元刪除檔案時不做提示確認: + +`del {{檔案}} /q` + +- 顯示幫助訊息和列出所有可用屬性: + +`del /?` + +- 刪除符合指定屬性的檔案: + +`del {{檔案}} /a {{屬性}}` diff --git a/pages.zh_TW/windows/dir.md b/pages.zh_TW/windows/dir.md new file mode 100644 index 00000000000000..6eaabdbcd212b5 --- /dev/null +++ b/pages.zh_TW/windows/dir.md @@ -0,0 +1,20 @@ +# dir + +> 列出目錄的內容。 +> 更多資訊:. + +- 顯示當前目錄的內容: + +`dir` + +- 顯示指定目錄的內容: + +`dir {{目錄/完整/路徑}}` + +- 顯示當前目錄的內容,包括隱藏的文件: + +`dir /A` + +- 顯示指定目錄的內容,包括隱藏的文件: + +`dir {{目錄/完整/路徑}} /A` diff --git a/pages.zh_TW/windows/exit.md b/pages.zh_TW/windows/exit.md new file mode 100644 index 00000000000000..25ea58ae708fab --- /dev/null +++ b/pages.zh_TW/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> 退出當前的命令解釋器實例或批次檔。 +> 更多資訊:. + +- 退出當前的命令解釋器實例: + +`exit` + +- 退出當前的批次檔: + +`exit /b` + +- 使用一個指定的退出碼退出: + +`exit {{退出碼}}` diff --git a/pages.zh_TW/windows/explorer.md b/pages.zh_TW/windows/explorer.md new file mode 100644 index 00000000000000..b27bb9f9d32cfa --- /dev/null +++ b/pages.zh_TW/windows/explorer.md @@ -0,0 +1,16 @@ +# explorer + +> Windows 檔案總管。 +> 更多資訊:. + +- 打開 Windows 檔案總管: + +`explorer` + +- 在當前目錄打開 Windows 檔案總管: + +`explorer .` + +- 在指定目錄打開 Windows 檔案總管: + +`explorer {{目錄/完整/路徑}}` diff --git a/pages.zh_TW/windows/fc.md b/pages.zh_TW/windows/fc.md new file mode 100644 index 00000000000000..df2d8528cf52cc --- /dev/null +++ b/pages.zh_TW/windows/fc.md @@ -0,0 +1,33 @@ +# fc + +> 比較兩個檔案或一組檔案間的差異。 +> 以萬用字元 (*) 比較一組檔案。 +> 更多資訊:. + +- 比較兩個指定檔案: + +`fc {{檔案/完整/路徑1}} {{檔案/完整/路徑2}}` + +- 比較檔案且忽略大小寫差異: + +`fc /c {{檔案/完整/路徑1}} {{檔案/完整/路徑2}}` + +- 以 Unicode 文字檔方式比較檔案: + +`fc /u {{檔案/完整/路徑1}} {{檔案/完整/路徑2}}` + +- 以 ASCII 文字形式比較檔案: + +`fc /l {{檔案/完整/路徑1}} {{檔案/完整/路徑2}}` + +- 以二進位方式比較檔案: + +`fc /b {{檔案/完整/路徑1}} {{檔案/完整/路徑2}}` + +- 禁止將定位字元 (tab) 展開成空格: + +`fc /t {{檔案/完整/路徑1}} {{檔案/完整/路徑2}}` + +- 壓縮空白字元(定位字元與空格)後,再進行比較: + +`fc /w {{檔案/完整/路徑1}} {{檔案/完整/路徑2}}` diff --git a/pages.zh_TW/windows/find.md b/pages.zh_TW/windows/find.md new file mode 100644 index 00000000000000..7d2475f7308716 --- /dev/null +++ b/pages.zh_TW/windows/find.md @@ -0,0 +1,20 @@ +# find + +> 在一個或多個文件中查詢指定字串。 +> 更多資訊:. + +- 查詢包含指定字串的行: + +`find "{{字串}}" {{檔案或目錄\完整\路徑}}` + +- 查詢不包含指定字串的行: + +`find "{{字串}}" {{檔案或目錄\完整\路徑}} /v` + +- 顯示包含指定字串的行總數: + +`find "{{字串}}" {{檔案或目錄\完整\路徑}} /c` + +- 顯示符合的行號: + +`find "{{字串}}" {{檔案或目錄\完整\路徑}} /n` diff --git a/pages.zh_TW/windows/ipconfig.md b/pages.zh_TW/windows/ipconfig.md new file mode 100644 index 00000000000000..1e33981d66d810 --- /dev/null +++ b/pages.zh_TW/windows/ipconfig.md @@ -0,0 +1,24 @@ +# ipconfig + +> 顯示和管理 Windows 的網路設定值。 +> 更多資訊:. + +- 顯示網路介面卡列表: + +`ipconfig` + +- 顯示網路介面卡的詳細列表: + +`ipconfig /all` + +- 為一個網路介面卡重新獲取 IP 地址: + +`ipconfig /renew {{介面卡}}` + +- 為一個網路介面卡釋放 IP 地址: + +`ipconfig /release {{介面卡}}` + +- 清除所有 DNS 快取: + +`ipconfig /flushdns` diff --git a/pages.zh_TW/windows/iwr.md b/pages.zh_TW/windows/iwr.md new file mode 100644 index 00000000000000..c0875c0fd764b9 --- /dev/null +++ b/pages.zh_TW/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> 這是 `invoke-webrequest` 命令的一個別名。 + +- 原命令的文件在: + +`tldr invoke-webrequest` diff --git a/pages.zh_TW/windows/logoff.md b/pages.zh_TW/windows/logoff.md new file mode 100644 index 00000000000000..5c94ad4020ed11 --- /dev/null +++ b/pages.zh_TW/windows/logoff.md @@ -0,0 +1,16 @@ +# logoff + +> 終止登入的工作階段。 +> 更多資訊:. + +- 終止當前工作階段: + +`logoff` + +- 通過名稱和 ID 終止工作階段: + +`logoff {{工作階段名稱|工作階段 ID}}` + +- 終止通過 RDP 連接到指定伺服器的工作階段: + +`logoff {{工作階段名稱|工作階段 ID}} /server:{{伺服器}}` diff --git a/pages.zh_TW/windows/mkdir.md b/pages.zh_TW/windows/mkdir.md new file mode 100644 index 00000000000000..b4f69574bd16a7 --- /dev/null +++ b/pages.zh_TW/windows/mkdir.md @@ -0,0 +1,12 @@ +# mkdir + +> 建立一個資料夾。 +> 更多資訊:. + +- 建立一個資料夾: + +`mkdir {{資料夾名稱}}` + +- 遞迴建立資料夾及子資料夾: + +`mkdir {{資料夾/子資料夾名稱}}` diff --git a/pages.zh_TW/windows/more.md b/pages.zh_TW/windows/more.md new file mode 100644 index 00000000000000..cbdf96c4b678a6 --- /dev/null +++ b/pages.zh_TW/windows/more.md @@ -0,0 +1,32 @@ +# more + +> 分頁顯示標準輸入或文件的輸出。 +> 更多資訊:. + +- 分頁顯示標準輸入的輸出: + +`{{echo test}} | more` + +- 分頁顯示一個或多個文件的內容: + +`more {{檔案/完整/路徑}}` + +- 將製表符(tab)轉換為指定的空格數(space): + +`more {{檔案/完整/路徑}} /t{{空格數}}` + +- 顯示內容前先清除輸出: + +`more {{檔案/完整/路徑}} /c` + +- 從第 5 行開始顯示輸出: + +`more {{檔案/完整/路徑}} +{{5}}` + +- 啟用擴展交互模式(請參閱使用幫助): + +`more {{檔案/完整/路徑}} /e` + +- 顯示全部幫助資訊: + +`more /?` diff --git a/pages.zh_TW/windows/nvm.md b/pages.zh_TW/windows/nvm.md new file mode 100644 index 00000000000000..64e21913da1700 --- /dev/null +++ b/pages.zh_TW/windows/nvm.md @@ -0,0 +1,21 @@ +# nvm + +> 安裝、解除安裝,或切換不同 Node.js 版本。 +> 支援版本號如「12.8」或「v16.13.1」,以及像是「stable」、「system」等標籤。 +> 更多資訊:. + +- 安裝特定版本的 Node.js: + +`nvm install {{node 版本}}` + +- 設定系統預設使用的 Node.js 版本(必須以系統管理員身分執行): + +`nvm use {{node 版本}}` + +- 列出所有已安裝的 Node.js 版本,並標註當前系統使用的版本: + +`nvm list` + +- 解除安裝指定的 Node.js 版本: + +`nvm uninstall {{node 版本}}` diff --git a/pages.zh_TW/windows/path.md b/pages.zh_TW/windows/path.md new file mode 100644 index 00000000000000..a5d550893a1bbc --- /dev/null +++ b/pages.zh_TW/windows/path.md @@ -0,0 +1,20 @@ +# path + +> 顯示或設定可執行檔的搜尋路徑。 +> 更多資訊:. + +- 顯示當前的 PATH 環境變數的設定: + +`path` + +- 將路徑設定為一個或多個以分號分隔的路徑目錄: + +`path {{檔案/完整/路徑1 檔案/完整/路徑2 ...}}` + +- 將新的路徑目錄附加到到原始路徑: + +`path {{檔案/完整/路徑}};%path%` + +- 將命令提示字元設定為僅在當前目錄中搜尋可執行檔: + +`path ;` diff --git a/pages.zh_TW/windows/pwsh-where.md b/pages.zh_TW/windows/pwsh-where.md new file mode 100644 index 00000000000000..700ec3695f4bac --- /dev/null +++ b/pages.zh_TW/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> 這是 `Where-Object` 命令的一個別名。 + +- 原命令的文件在: + +`tldr Where-Object` diff --git a/pages.zh_TW/windows/rd.md b/pages.zh_TW/windows/rd.md new file mode 100644 index 00000000000000..cdd614c95f61fe --- /dev/null +++ b/pages.zh_TW/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> 這是 `rmdir` 命令的一個別名。 + +- 原命令的文件在: + +`tldr rmdir` diff --git a/pages.zh_TW/windows/rmdir.md b/pages.zh_TW/windows/rmdir.md new file mode 100644 index 00000000000000..292bf10d0bcdd8 --- /dev/null +++ b/pages.zh_TW/windows/rmdir.md @@ -0,0 +1,16 @@ +# rmdir + +> 刪除一個目錄和裡面的內容。 +> 更多資訊:. + +- 刪除一個空目錄: + +`rmdir {{目錄/完整/路徑}}` + +- 遞迴刪除一個目錄和裡面的內容: + +`rmdir {{目錄/完整/路徑}} /s` + +- 在沒有提示的情況下遞迴刪除目錄和裡面的內容: + +`rmdir {{目錄/完整/路徑}} /s /q` diff --git a/pages.zh_TW/windows/set.md b/pages.zh_TW/windows/set.md new file mode 100644 index 00000000000000..c1a69ff03a3ae0 --- /dev/null +++ b/pages.zh_TW/windows/set.md @@ -0,0 +1,20 @@ +# set + +> 顯示或設定當前 CMD 執行個體的環境變數。 +> 更多資訊:. + +- 列出當前所有環境變數: + +`set` + +- 為一個環境變數設定指定的值: + +`set {{變數名}}={{值}}` + +- 列出以指定字串開頭的環境變數: + +`set {{變數名}}` + +- 提示使用者輸入指定變數的值: + +`set /p {{變數名}}={{使用提示字串}}` diff --git a/pages.zh_TW/windows/sls.md b/pages.zh_TW/windows/sls.md new file mode 100644 index 00000000000000..216b8cda5736b6 --- /dev/null +++ b/pages.zh_TW/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> 這是 `Select-String` 命令的一個別名。 + +- 原命令的文件在: + +`tldr select-string` diff --git a/pages.zh_TW/windows/systeminfo.md b/pages.zh_TW/windows/systeminfo.md new file mode 100644 index 00000000000000..cc6f0d7c9c7994 --- /dev/null +++ b/pages.zh_TW/windows/systeminfo.md @@ -0,0 +1,20 @@ +# systeminfo + +> 顯示本機或遠端電腦的作業系統配置。 +> 更多資訊:. + +- 顯示本機的系統配置: + +`systeminfo` + +- 以指定的輸出格式顯示系統配置: + +`systeminfo /fo {{table|list|csv}}` + +- 顯示遠端電腦的系統配置: + +`systeminfo /s {{遠端名稱}} /u {{使用者名稱}} /p {{密碼}}` + +- 顯示詳細的使用資訊: + +`systeminfo /?` diff --git a/pages.zh_TW/windows/taskkill.md b/pages.zh_TW/windows/taskkill.md new file mode 100644 index 00000000000000..8f859fd7d6ad49 --- /dev/null +++ b/pages.zh_TW/windows/taskkill.md @@ -0,0 +1,28 @@ +# taskkill + +> 經由處理程序識別碼 (PID) 或映像名稱終止程序。 +> 更多資訊:. + +- 經由處理程序識別碼終止程序: + +`taskkill /pid {{處理程序識別碼}}` + +- 經由映像名稱終止程序: + +`taskkill /im {{映像名稱}}` + +- 強制終止特定程序: + +`taskkill /pid {{處理程序識別碼}} /f` + +- 終止程序與其子程序: + +`taskkill /im {{映像名稱}} /t` + +- 終止遠端電腦上的程序: + +`taskkill /pid {{處理程序識別碼}} /s {{遠端名稱}}` + +- 顯示此命令的使用資訊: + +`taskkill /?` diff --git a/pages.zh_TW/windows/title.md b/pages.zh_TW/windows/title.md new file mode 100644 index 00000000000000..5d1fd3b550fb8e --- /dev/null +++ b/pages.zh_TW/windows/title.md @@ -0,0 +1,8 @@ +# title + +> 設定命令提示字元視窗的標題。 +> 更多資訊:. + +- 設定當前命令提示字元的視窗標題: + +`title {{新標題}}` diff --git a/pages.zh_TW/windows/tree.md b/pages.zh_TW/windows/tree.md new file mode 100644 index 00000000000000..ab00fc575bd29c --- /dev/null +++ b/pages.zh_TW/windows/tree.md @@ -0,0 +1,20 @@ +# tree + +> 以樹狀結構的形式顯示指定目錄的所有資料夾和文件。 +> 更多資訊:. + +- 顯示當前目錄的樹狀結構: + +`tree` + +- 顯示指定目錄的樹狀結構: + +`tree {{目錄/完整/路徑}}` + +- 顯示目錄中文件的樹狀結構: + +`tree {{目錄/完整/路徑}} /f` + +- 使用 ASCII 字符而不是擴展字符顯示樹狀結構: + +`tree {{目錄/完整/路徑}} /a` diff --git a/pages.zh_TW/windows/type.md b/pages.zh_TW/windows/type.md new file mode 100644 index 00000000000000..2dc3f11297403f --- /dev/null +++ b/pages.zh_TW/windows/type.md @@ -0,0 +1,8 @@ +# type + +> 顯示文件的內容。 +> 更多資訊:. + +- 顯示指定文件的內容: + +`type {{檔案/完整/路徑}}` diff --git a/pages.zh_TW/windows/ver.md b/pages.zh_TW/windows/ver.md new file mode 100644 index 00000000000000..c485ca18d45c95 --- /dev/null +++ b/pages.zh_TW/windows/ver.md @@ -0,0 +1,8 @@ +# ver + +> 顯示當前 Windows 或 MS-DOS 的版本號。 +> 更多資訊:. + +- 顯示當前系統版本號: + +`ver` diff --git a/pages.zh_TW/windows/whoami.md b/pages.zh_TW/windows/whoami.md new file mode 100644 index 00000000000000..4cb09b4b5f401f --- /dev/null +++ b/pages.zh_TW/windows/whoami.md @@ -0,0 +1,24 @@ +# whoami + +> 顯示關於當前使用者的詳細資訊。 +> 更多資訊:. + +- 顯示當前使用者的名稱: + +`whoami` + +- 顯示當前使用者所屬的群組: + +`whoami /groups` + +- 顯示當前使用者的權限: + +`whoami /priv` + +- 顯示當前使用者的使用者主體名稱(UPN): + +`whoami /upn` + +- 顯示當前使用者的登錄 ID: + +`whoami /logonid` diff --git a/pages.zh_TW/windows/winget.md b/pages.zh_TW/windows/winget.md new file mode 100644 index 00000000000000..1684de87bb667f --- /dev/null +++ b/pages.zh_TW/windows/winget.md @@ -0,0 +1,36 @@ +# winget + +> Windows 套件管理員的命令列工具。 +> 更多資訊:. + +- 安裝一個套件: + +`winget install {{套件}}` + +- 刪除一個套件(註:可以用 `remove` 代替 `uninstall`): + +`winget uninstall {{package}}` + +- 顯示指定套件的相關資訊: + +`winget show {{套件}}` + +- 搜尋指定套件: + +`winget search {{套件}}` + +- 升級所有套件至最新版本: + +`winget upgrade --all` + +- 列出所有可由 `winget` 管理的已安裝套件: + +`winget list --source winget` + +- 從檔案匯入套件,或將已安裝的套件匯出至檔案: + +`winget {{import|export}} {{--import-file|--output}} {{檔案/完整/路徑}}` + +- 在提交 PR 到 winget-pkgs 存儲庫之前,請驗證 manifest 檔: + +`winget validate {{manifest檔案/完整/路徑}}` diff --git a/pages.zh_TW/windows/wsl.md b/pages.zh_TW/windows/wsl.md new file mode 100644 index 00000000000000..4cc45630d78279 --- /dev/null +++ b/pages.zh_TW/windows/wsl.md @@ -0,0 +1,36 @@ +# wsl + +> 透過命令行管理 Windows 子系統 Linux 版 (WSL)。 +> 更多資訊:. + +- 在預設發行版下,開啟 Linux shell: + +`wsl {{shell 命令}}` + +- 不使用 shell 執行 Linux 命令: + +`wsl --exec {{命令}} {{命令參數}}` + +- 指定發行版: + +`wsl --distribution {{發行版}} {{shell 命令}}` + +- 列出可用的發行版: + +`wsl --list` + +- 將發行版匯出至 `.tar` 檔: + +`wsl --export {{發行版}} {{檔案/完整/distro_fs.tar}}` + +- 從 `.tar` 檔匯入發行版: + +`wsl --import {{發行版}} {{檔案/完整/安裝位置}} {{檔案/完整/distro_fs.tar}}` + +- 變更執行特定發行版的 Windows 子系統 Linux 版本 + +`wsl --set-version {{發行版}} {{WSL 版本}}` + +- 終止執行 Windows 子系統 Linux 版 + +`wsl --shutdown` diff --git a/pages/android/am.md b/pages/android/am.md new file mode 100644 index 00000000000000..78d1ee24dcf06b --- /dev/null +++ b/pages/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android activity manager. +> More information: . + +- Start the activity with a specific component and package [n]ame: + +`am start -n {{com.android.settings/.Settings}}` + +- Start an intent [a]ction and pass [d]ata to it: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Start an activity matching a specific action and [c]ategory: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Convert an intent to a URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages/android/bugreport.md b/pages/android/bugreport.md new file mode 100644 index 00000000000000..60d22ba544a7cf --- /dev/null +++ b/pages/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Show an Android bug report. +> This command can only be used through `adb shell`. +> More information: . + +- Display a complete bug report of an Android device: + +`bugreport` diff --git a/pages/android/bugreportz.md b/pages/android/bugreportz.md new file mode 100644 index 00000000000000..fe94e4a776457c --- /dev/null +++ b/pages/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Generate a zipped Android bug report. +> This command can only be used through `adb shell`. +> More information: . + +- Generate a complete zipped bug report of an Android device: + +`bugreportz` + +- Show the progress of a running `bugreportz` operation: + +`bugreportz -p` + +- Write the content of an Android bug report to `stdout`: + +`bugreportz -s` + +- Display help: + +`bugreportz -h` + +- Display version: + +`bugreportz -v` diff --git a/pages/android/cmd.md b/pages/android/cmd.md new file mode 100644 index 00000000000000..b6775638c9a9db --- /dev/null +++ b/pages/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Android service manager. +> More information: . + +- [l]ist all running services: + +`cmd -l` + +- Call a specific service: + +`cmd {{service}}` + +- Call a service with specific arguments: + +`cmd {{service}} {{argument1 argument2 ...}}` diff --git a/pages/android/dalvikvm.md b/pages/android/dalvikvm.md new file mode 100644 index 00000000000000..3d3b507ecfa480 --- /dev/null +++ b/pages/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Android Java virtual machine. +> More information: . + +- Start a specific Java program: + +`dalvikvm -classpath {{path/to/file.jar}} {{classname}}` diff --git a/pages/android/dumpsys.md b/pages/android/dumpsys.md new file mode 100644 index 00000000000000..531ddc69845ac9 --- /dev/null +++ b/pages/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Get information about Android system services. +> This command can only be used through `adb shell`. +> More information: . + +- Get diagnostic output for all system services: + +`dumpsys` + +- Get diagnostic output for a specific system service: + +`dumpsys {{service}}` + +- List all services `dumpsys` can give information about: + +`dumpsys -l` + +- List service-specific arguments for a service: + +`dumpsys {{service}} -h` + +- Exclude a specific service from the diagnostic output: + +`dumpsys --skip {{service}}` + +- Specify a [t]imeout period in seconds (defaults to 10s): + +`dumpsys -t {{8}}` diff --git a/pages/android/getprop.md b/pages/android/getprop.md new file mode 100644 index 00000000000000..5a87b7ec7fde90 --- /dev/null +++ b/pages/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Show information about Android system properties. +> More information: . + +- Display information about Android system properties: + +`getprop` + +- Display information about a specific property: + +`getprop {{property}}` + +- Display the SDK API level: + +`getprop {{ro.build.version.sdk}}` + +- Display the Android version: + +`getprop {{ro.build.version.release}}` + +- Display the Android device model: + +`getprop {{ro.vendor.product.model}}` + +- Display the OEM unlock status: + +`getprop {{ro.oem_unlock_supported}}` + +- Display the MAC address of the Android's Wi-Fi card: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages/android/input.md b/pages/android/input.md new file mode 100644 index 00000000000000..74568ea7f096fa --- /dev/null +++ b/pages/android/input.md @@ -0,0 +1,25 @@ +# input + +> Send event codes or touchscreen gestures to an Android device. +> This command can only be used through `adb shell`. +> More information: . + +- Send an event code for a single character to an Android device: + +`input keyevent {{event_code}}` + +- Send a text to an Android device (`%s` represents spaces): + +`input text "{{text}}"` + +- Send a single tap to an Android device: + +`input tap {{x_position}} {{y_position}}` + +- Send a swipe gesture to an Android device: + +`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duration_in_ms}}` + +- Send a long press to an Android device using a swipe gesture: + +`input swipe {{x_position}} {{y_position}} {{x_position}} {{y_position}} {{duration_in_ms}}` diff --git a/pages/android/logcat.md b/pages/android/logcat.md new file mode 100644 index 00000000000000..9834b08cabe17f --- /dev/null +++ b/pages/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Dump a log of system messages, including stack traces when an error occurred, and information messages logged by applications. +> More information: . + +- Display system logs: + +`logcat` + +- Write system logs to a [f]ile: + +`logcat -f {{path/to/file}}` + +- Display lines that match a `regex`: + +`logcat --regex {{regex}}` + +- Display logs for a specific PID: + +`logcat --pid {{pid}}` + +- Display logs for the process of a specific package: + +`logcat --pid $(pidof -s {{package}})` diff --git a/pages/android/pkg.md b/pages/android/pkg.md new file mode 100644 index 00000000000000..d368958e158733 --- /dev/null +++ b/pages/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Package management utility for Termux. +> More information: . + +- Upgrade all installed packages: + +`pkg upgrade` + +- Install a package: + +`pkg install {{package}}` + +- Uninstall a package: + +`pkg uninstall {{package}}` + +- Reinstall a package: + +`pkg reinstall {{package}}` + +- Search for a package: + +`pkg search {{package}}` diff --git a/pages/android/pm.md b/pages/android/pm.md new file mode 100644 index 00000000000000..4e90afd9919a02 --- /dev/null +++ b/pages/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Display information about apps on an Android device. +> More information: . + +- List all installed apps: + +`pm list packages` + +- List all installed [s]ystem apps: + +`pm list packages -s` + +- List all installed [3]rd-party apps: + +`pm list packages -3` + +- List apps matching specific keywords: + +`pm list packages {{keyword1 keyword2 ...}}` + +- Display a path of the APK of a specific app: + +`pm path {{app}}` diff --git a/pages/android/screencap.md b/pages/android/screencap.md new file mode 100644 index 00000000000000..6533490d150a76 --- /dev/null +++ b/pages/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Take a screenshot of a mobile display. +> This command can only be used through `adb shell`. +> More information: . + +- Take a screenshot: + +`screencap {{path/to/file}}` diff --git a/pages/android/settings.md b/pages/android/settings.md new file mode 100644 index 00000000000000..10183e01cfdc50 --- /dev/null +++ b/pages/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Get information about the Android OS. +> More information: . + +- List the settings in the `global` namespace: + +`settings list {{global}}` + +- Get a value of a specific setting: + +`settings get {{global}} {{airplane_mode_on}}` + +- Set a specific value of a setting: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Delete a specific setting: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages/android/wm.md b/pages/android/wm.md new file mode 100644 index 00000000000000..2e88a653ec3219 --- /dev/null +++ b/pages/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Show information about the screen of an Android device. +> This command can only be used through `adb shell`. +> More information: . + +- Display the physical size of an Android device's screen: + +`wm size` + +- Display the physical density of an Android device's screen: + +`wm density` diff --git a/pages/cisco-ios/clock.md b/pages/cisco-ios/clock.md new file mode 100644 index 00000000000000..5b57862da18b36 --- /dev/null +++ b/pages/cisco-ios/clock.md @@ -0,0 +1,20 @@ +# clock + +> Set the system clock. +> More information: . + +- Enter privileged execution mode: + +`clock set {{23}}:{{59}}:{{59}} {{31}} {{april}} {{2000}}` + +- Auto negotiate with the far end of the link, defaulting to active-clock: + +`clock active prefer` + +- Auto negotiate with the far end of the link, defaulting to passive-clock: + +`clock passive prefer` + +- Show the current clock mode negotiated by the firmware: + +`clock show interfaces` diff --git a/pages/cisco-ios/configure.md b/pages/cisco-ios/configure.md new file mode 100644 index 00000000000000..68d89de10e5001 --- /dev/null +++ b/pages/cisco-ios/configure.md @@ -0,0 +1,16 @@ +# configure + +> Enter configuration mode. +> More information: . + +- Configure from the terminal: + +`{{[conf|configure]}} {{[t|terminal]}}` + +- Back out one level in configuration mode: + +`exit` + +- Exit out of configuration mode: + +`end` diff --git a/pages/cisco-ios/crypto.md b/pages/cisco-ios/crypto.md new file mode 100644 index 00000000000000..56f99752746f82 --- /dev/null +++ b/pages/cisco-ios/crypto.md @@ -0,0 +1,17 @@ +# crypto + +> Manage cryptography. +> Accessed in configuration mode. +> More information: . + +- Generate an `rsa` key: + +`crypto key generate rsa` + +- Define a modulus for a key: + +`crypto key generate rsa modulus {{1024}}` + +- Remove all keys: + +`crypto key zeroize` diff --git a/pages/cisco-ios/delete.md b/pages/cisco-ios/delete.md new file mode 100644 index 00000000000000..62d82ca7a48559 --- /dev/null +++ b/pages/cisco-ios/delete.md @@ -0,0 +1,8 @@ +# delete + +> Delete individual files. +> More information: . + +- Delete a file from flash memory: + +`delete {{vlan.dat}}` diff --git a/pages/cisco-ios/dir.md b/pages/cisco-ios/dir.md new file mode 100644 index 00000000000000..b43cd4d28edc93 --- /dev/null +++ b/pages/cisco-ios/dir.md @@ -0,0 +1,16 @@ +# dir + +> List files. +> More information: . + +- List files in the current working directory: + +`dir` + +- List files in a specific filesystem: + +`dir {{flash}}:` + +- List available filesystems: + +`dir ?` diff --git a/pages/cisco-ios/enable.md b/pages/cisco-ios/enable.md new file mode 100644 index 00000000000000..df7acb6850512d --- /dev/null +++ b/pages/cisco-ios/enable.md @@ -0,0 +1,8 @@ +# enable + +> Enter privileged execution mode. +> More information: . + +- Enter privileged execution mode: + +`enable` diff --git a/pages/cisco-ios/erase.md b/pages/cisco-ios/erase.md new file mode 100644 index 00000000000000..00b9a08635363d --- /dev/null +++ b/pages/cisco-ios/erase.md @@ -0,0 +1,12 @@ +# erase + +> Delete preset things. +> More information: . + +- Erase the startup configuration: + +`erase startup-config` + +- Erase a filesystem: + +`erase {{flash}}:` diff --git a/pages/cisco-ios/interface.md b/pages/cisco-ios/interface.md new file mode 100644 index 00000000000000..3a7724706a1e8e --- /dev/null +++ b/pages/cisco-ios/interface.md @@ -0,0 +1,13 @@ +# interface + +> Manage interfaces. +> Accessed in configuration mode. +> More information: . + +- Configure a VLAN: + +`interface vlan {{1}}` + +- Set an interface to be active or inactive (this is run inside the interface command): + +`{{no shutdown|shutdown}}` diff --git a/pages/cisco-ios/ip.md b/pages/cisco-ios/ip.md new file mode 100644 index 00000000000000..dd8be2a00106ce --- /dev/null +++ b/pages/cisco-ios/ip.md @@ -0,0 +1,21 @@ +# ip + +> Manage IP configurations. +> Accessed in configuration mode. +> More information: . + +- Set the SSH version: + +`ip ssh version {{2}}` + +- Set the address of the device (This is done under `interface command`): + +`ip address {{10.0.0.1}} {{255.255.255.0}}` + +- Set the address to be determined with DHCP (This is done under `interface command`): + +`ip address dhcp` + +- Define a domain name: + +`ip domain-name {{example.com}}` diff --git a/pages/cisco-ios/line.md b/pages/cisco-ios/line.md new file mode 100644 index 00000000000000..17364d8740c30f --- /dev/null +++ b/pages/cisco-ios/line.md @@ -0,0 +1,9 @@ +# line + +> Manage lines. +> Accessed in configuration mode. +> More information: . + +- Configure lines from 0 to 15: + +`line vty 0 15` diff --git a/pages/cisco-ios/login.md b/pages/cisco-ios/login.md new file mode 100644 index 00000000000000..75d410d986e036 --- /dev/null +++ b/pages/cisco-ios/login.md @@ -0,0 +1,9 @@ +# login + +> Manage console and virtual line authentication. +> Accessed in configuration mode under `line`. +> More information: . + +- Use local username and password for authentication: + +`login local` diff --git a/pages/cisco-ios/question-mark.md b/pages/cisco-ios/question-mark.md new file mode 100644 index 00000000000000..7e3fe4e7dae5c0 --- /dev/null +++ b/pages/cisco-ios/question-mark.md @@ -0,0 +1,16 @@ +# ? + +> Get context sensitive. +> More information: . + +- Get available commands: + +`?` + +- Get storages that are listable: + +`dir ?` + +- Show what IP information is viewable: + +`ip show ?` diff --git a/pages/cisco-ios/reload.md b/pages/cisco-ios/reload.md new file mode 100644 index 00000000000000..6a9e2ea48feacd --- /dev/null +++ b/pages/cisco-ios/reload.md @@ -0,0 +1,16 @@ +# reload + +> Control reboot behavior. +> More information: . + +- Reboot the system: + +`reload` + +- Reboot after `n` seconds: + +`reload in {{n}}` + +- Cancel pending reboots: + +`reload cancel` diff --git a/pages/cisco-ios/show.md b/pages/cisco-ios/show.md new file mode 100644 index 00000000000000..ce4f91c7c255f6 --- /dev/null +++ b/pages/cisco-ios/show.md @@ -0,0 +1,24 @@ +# show + +> Show various system information. +> More information: . + +- Show switch IP addresses: + +`{{[sh|show]}} ip interface brief` + +- Show specific interface configuration: + +`{{[sh|show]}} ip interface {{vlan1}}` + +- Show vlan configuration: + +`{{[sh|show]}} vlan` + +- Show currently running configuration: + +`{{[sh|show]}} running-config` + +- Show SSH configuration: + +`{{[sh|show]}} ip ssh` diff --git a/pages/cisco-ios/transport.md b/pages/cisco-ios/transport.md new file mode 100644 index 00000000000000..f1af735a49bd70 --- /dev/null +++ b/pages/cisco-ios/transport.md @@ -0,0 +1,13 @@ +# transport + +> Manage line transport protocols. +> Accessed in configuration mode under `line`. +> More information: . + +- Restrict line protocols to `ssh`: + +`transport input ssh` + +- Restrict line protocols to `telnet`: + +`transport input telnet` diff --git a/pages/cisco-ios/username.md b/pages/cisco-ios/username.md new file mode 100644 index 00000000000000..f0493775eabfea --- /dev/null +++ b/pages/cisco-ios/username.md @@ -0,0 +1,9 @@ +# username + +> Manage users. +> Accessed in configuration mode. +> More information: . + +- Set up an admin account: + +`username {{admin}} privilege 15 secret {{password}}` diff --git a/pages/cisco-ios/write.md b/pages/cisco-ios/write.md new file mode 100644 index 00000000000000..a5506bcb8ad2ef --- /dev/null +++ b/pages/cisco-ios/write.md @@ -0,0 +1,16 @@ +# write + +> Write data to memory. +> More information: . + +- Write current configuration to memory: + +`write memory` + +- Delete the configuration in memory: + +`write erase` + +- Display help: + +`write ?` diff --git a/pages/common/!.md b/pages/common/!.md new file mode 100644 index 00000000000000..271ba4eda5048e --- /dev/null +++ b/pages/common/!.md @@ -0,0 +1,36 @@ +# ! + +> Reuse and expand the shell history in `sh`, Bash, Zsh, `rbash` and `ksh`. +> More information: . + +- Substitute with the previous command and run it with `sudo`: + +`sudo !!` + +- Substitute with a command based on its line number found with `history`: + +`!{{number}}` + +- Substitute with a command that was used a specified number of lines back: + +`!-{{number}}` + +- Substitute with the most recent command that starts with a string: + +`!{{string}}` + +- Substitute with the arguments of the latest command: + +`{{command}} !*` + +- Substitute with the last argument of the latest command: + +`{{command}} !$` + +- Substitute with the last command but without the last argument: + +`!:-` + +- Print last command that starts with a string without executing it: + +`!{{string}}:p` diff --git a/pages/common/$.md b/pages/common/$.md new file mode 100644 index 00000000000000..b743c00334fdce --- /dev/null +++ b/pages/common/$.md @@ -0,0 +1,36 @@ +# $ + +> Expand a Bash variable. +> More information: . + +- Print a variable: + +`echo ${{VARIABLE}}` + +- Run variable contents as a command: + +`${{VARIABLE}}` + +- Print the exit status of the previous command: + +`echo $?` + +- Print a random number between 0 and 32767: + +`echo $RANDOM` + +- Print one of the prompt strings: + +`echo ${{PS0|PS1|PS2|PS3|PS4}}` + +- Expand with the output of `command` and run it. Same as enclosing `command` in backtics: + +`$({{command}})` + +- List how many arguments the current context has: + +`echo $#` + +- Print out a Bash array: + +`echo ${{{array_name[@]}}}` diff --git a/pages/common/%.md b/pages/common/%.md new file mode 100644 index 00000000000000..12036794045c9a --- /dev/null +++ b/pages/common/%.md @@ -0,0 +1,28 @@ +# % + +> Manage jobs. +> More information: . + +- Bring the current job to front: + +`%` + +- Bring the previous job to front: + +`%-` + +- Bring the job number `n` to front: + +`%{{n}}` + +- Bring a job whose command starts with `string` to front: + +`%{{string}}` + +- Bring a job whose command contains `string` to front: + +`%?{{string}}` + +- Resume a suspended job: + +`%{{1}} &` diff --git a/pages/common/,.md b/pages/common/,.md new file mode 100644 index 00000000000000..3d81b310823969 --- /dev/null +++ b/pages/common/,.md @@ -0,0 +1,16 @@ +# , + +> Run commands without installing them. +> More information: . + +- Run a command: + +`, {{command -with -flags}}` + +- Add a command to a child shell: + +`, {{[-s|--shell]}} {{command}}` + +- Clear the cache: + +`, {{[-e|--empty-cache]}}` diff --git a/pages/common/..md b/pages/common/..md new file mode 100644 index 00000000000000..5ac9812d54fee0 --- /dev/null +++ b/pages/common/..md @@ -0,0 +1,7 @@ +# . + +> This command is an alias of `source`. + +- View documentation for the original command: + +`tldr source` diff --git a/pages/common/2to3.md b/pages/common/2to3.md index d91f6f108de64d..2faa7a669d5266 100644 --- a/pages/common/2to3.md +++ b/pages/common/2to3.md @@ -1,9 +1,11 @@ # 2to3 -> Automated Python 2 to 3 code translation. -> More information: . +> Automated Python 2 to 3 code conversion. +> This module has been deprecated since 3.11 and has been removed since 3.13. +> For reference, see: . +> More information: . -- Display changes that would be performed: +- Display the changes that would be performed without performing them (dry-run): `2to3 {{path/to/file.py}}` @@ -11,18 +13,22 @@ `2to3 --write {{path/to/file.py}}` -- Convert a specified Python 2 feature to Python 3: +- Convert specific Python 2 language features to Python 3: -`2to3 --write {{file.py}} --fix={{raw_input}} --fix={{print}}` +`2to3 --write {{path/to/file.py}} --fix {{raw_input}} --fix {{print}}` -- Convert all features except *raw_input* the specified ones to Python 3: +- Convert all Python 2 language features except the specified ones to Python 3: -`2to3 --nofix={{raw_input}} --fix={{print}} example.py` +`2to3 --write {{path/to/file.py}} --nofix {{has_key}} --nofix {{isinstance}}` -- Display the list of available transformation features: +- List all available language features that can be converted from Python 2 to Python 3: `2to3 --list-fixes` -- Convert an entire directory: +- Convert all Python 2 files in a directory to Python 3: -`2to3 --output-dir={{path/to/code_python3_version}} --write-unchanged-files --nobackups {{path/to/code_python2_version}}` +`2to3 --output-dir {{path/to/python3_directory}} --write-unchanged-files --nobackups {{path/to/python2_directory}}` + +- Run 2to3 with multiple threads: + +`2to3 --processes {{4}} --output-dir {{path/to/python3_directory}} --write --nobackups --no-diff {{path/to/python2_directory}}` diff --git a/pages/common/7z.md b/pages/common/7z.md index 1e23fc92f1d789..7a6509042b8c9a 100644 --- a/pages/common/7z.md +++ b/pages/common/7z.md @@ -1,36 +1,36 @@ # 7z -> A file archiver with high compression ratio. -> More information: . +> File archiver with a high compression ratio. +> More information: . -- Archive a file or directory: +- [a]dd a file or directory to a new or existing archive: -`7z a {{archived.7z}} {{path/to/file_or_directory}}` +`7z a {{path/to/archive.7z}} {{path/to/file_or_directory}}` -- Encrypt an existing archive (including headers): +- Encrypt an existing archive (including filenames): -`7z a {{encrypted.7z}} -p{{password}} -mhe=on {{archived.7z}}` +`7z a {{path/to/encrypted.7z}} -p{{password}} -mhe=on {{path/to/archive.7z}}` -- Extract an existing 7z file with original directory structure: +- E[x]tract an archive preserving the original directory structure: -`7z x {{archived.7z}}` +`7z x {{path/to/archive.7z}}` -- Extract an archive with user-defined output path: +- E[x]tract an archive to a specific directory: -`7z x {{archived.7z}} -o{{path/to/output}}` +`7z x {{path/to/archive.7z}} -o{{path/to/output}}` -- Extract an archive to stdout: +- E[x]tract an archive to `stdout`: -`7z x {{archived.7z}} -so` +`7z x {{path/to/archive.7z}} -so` -- Archive using a specific archive type: +- [a]rchive using a specific archive type: -`7z a -t{{zip|gzip|bzip2|tar}} {{archived.7z}} {{path/to/file_or_directory}}` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{path/to/archive}} {{path/to/file_or_directory}}` -- List available archive types: +- [l]ist the contents of an archive: -`7z i` +`7z l {{path/to/archive.7z}}` -- List the contents of an archive file: +- Set the level of compression (higher means more compression, but slower): -`7z l {{archived.7z}}` +`7z a {{path/to/archive.7z}} -mx={{0|1|3|5|7|9}} {{path/to/file_or_directory}}` diff --git a/pages/common/7za.md b/pages/common/7za.md index d098488e38df1a..64cbcf942283f8 100644 --- a/pages/common/7za.md +++ b/pages/common/7za.md @@ -1,25 +1,37 @@ # 7za -> A file archiver with high compression ratio. -> A standalone version of `7z` with support for fewer archive types. -> More information: . +> File archiver with a high compression ratio. +> Similar to `7z` except that it supports fewer file types but is cross-platform. +> More information: . -- Archive a file or directory: +- [a]rchive a file or directory: -`7za a {{archived.7z}} {{path/to/file_or_directory}}` +`7za a {{path/to/archive.7z}} {{path/to/file_or_directory}}` -- Extract an existing 7z file with original directory structure: +- Encrypt an existing archive (including file names): -`7za x {{archived}}` +`7za a {{path/to/encrypted.7z}} -p{{password}} -mhe={{on}} {{path/to/archive.7z}}` -- Archive using a specific archive type: +- E[x]tract an archive preserving the original directory structure: -`7za a -t{{zip|gzip|bzip2|tar}} {{archived}} {{path/to/file_or_directory}}` +`7za x {{path/to/archive.7z}}` -- List available archive types: +- E[x]tract an archive to a specific directory: -`7za i` +`7za x {{path/to/archive.7z}} -o{{path/to/output}}` -- List the contents of an archive file: +- E[x]tract an archive to `stdout`: -`7za l {{archived}}` +`7za x {{path/to/archive.7z}} -so` + +- [a]rchive using a specific archive type: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{path/to/archive.7z}} {{path/to/file_or_directory}}` + +- [l]ist the contents of an archive: + +`7za l {{path/to/archive.7z}}` + +- Set the level of compression (higher means more compression, but slower): + +`7za a {{path/to/archive.7z}} -mx={{0|1|3|5|7|9}} {{path/to/file_or_directory}}` diff --git a/pages/common/7zr.md b/pages/common/7zr.md index 25393ba317f4d8..e09db78e166474 100644 --- a/pages/common/7zr.md +++ b/pages/common/7zr.md @@ -1,17 +1,33 @@ # 7zr -> A file archiver with high compression ratio. -> A standalone version of `7z` that only supports .7z files. -> More information: . +> File archiver with a high compression ratio. +> Similar to `7z` except that it only supports 7z files. +> More information: . -- Archive a file or directory: +- [a]rchive a file or directory: -`7zr a {{archived.7z}} {{path/to/file_or_directory}}` +`7zr a {{path/to/archive.7z}} {{path/to/file_or_directory}}` -- Extract an existing 7z file with original directory structure: +- Encrypt an existing archive (including file names): -`7zr x {{archived.7z}}` +`7zr a {{path/to/encrypted.7z}} -p{{password}} -mhe={{on}} {{path/to/archive.7z}}` -- List the contents of an archive file: +- E[x]tract an archive preserving the original directory structure: -`7zr l {{archived.7z}}` +`7zr x {{path/to/archive.7z}}` + +- E[x]tract an archive to a specific directory: + +`7zr x {{path/to/archive.7z}} -o{{path/to/output}}` + +- E[x]tract an archive to `stdout`: + +`7zr x {{path/to/archive.7z}} -so` + +- [l]ist the contents of an archive: + +`7zr l {{path/to/archive.7z}}` + +- Set the level of compression (higher means more compression, but slower): + +`7zr a {{path/to/archive.7z}} -mx={{0|1|3|5|7|9}} {{path/to/file_or_directory}}` diff --git a/pages/common/R.md b/pages/common/R.md deleted file mode 100644 index 0baa32f7d5e242..00000000000000 --- a/pages/common/R.md +++ /dev/null @@ -1,32 +0,0 @@ -# R - -> R language interpreter. -> More information: . - -- Start an R interactive shell (REPL): - -`R` - -- Check R version: - -`R --version` - -- Start R in vanilla mode (i.e. a blank session that doesn't save the workspace at the end): - -`R --vanilla` - -- Execute a file: - -`R -f {{path/to/file.R}}` - -- Execute an R expression and then exit: - -`R -e {{expr}}` - -- Run R with a debugger: - -`R -d {{debugger}}` - -- Check R packages from package sources: - -`R CMD check {{path/to/package_source}}` diff --git a/pages/common/[.md b/pages/common/[.md new file mode 100644 index 00000000000000..c65898d895634b --- /dev/null +++ b/pages/common/[.md @@ -0,0 +1,33 @@ +# [ + +> Check file types and compare values. +> Returns a status of 0 if the condition evaluates to true, 1 if it evaluates to false. +> More information: . + +- Test if a given variable is equal/not equal to the specified string: + +`[ "${{variable}}" {{=|!=}} "{{string}}" ]` + +- Test if a given variable is [eq]ual/[n]ot [e]qual/[g]reater [t]han/[l]ess [t]han/[g]reater than or [e]qual/[l]ess than or [e]qual to the specified number: + +`[ "${{variable}}" -{{eq|ne|gt|lt|ge|le}} {{integer}} ]` + +- Test if the specified variable has a [n]on-empty value: + +`[ -n "${{variable}}" ]` + +- Test if the specified variable has an empty value ([z]ero length): + +`[ -z "${{variable}}" ]` + +- Test if the specified [f]ile exists: + +`[ -f {{path/to/file}} ]` + +- Test if the specified [d]irectory exists: + +`[ -d {{path/to/directory}} ]` + +- Test if the specified file or directory [e]xists: + +`[ -e {{path/to/file_or_directory}} ]` diff --git a/pages/common/[[.md b/pages/common/[[.md new file mode 100644 index 00000000000000..a56a3928267a99 --- /dev/null +++ b/pages/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> Check file types and compare values. +> Returns a status of 0 if the condition evaluates to true, 1 if it evaluates to false. +> More information: . + +- Test if a given variable is equal/not equal to the specified string: + +`[[ ${{variable}} {{==|!=}} "{{string}}" ]]` + +- Test if a given string conforms the specified glob/`regex`: + +`[[ ${{variable}} {{==|=~}} {{pattern}} ]]` + +- Test if a given variable is [eq]ual/[n]ot [e]qual/[g]reater [t]han/[l]ess [t]han/[g]reater than or [e]qual/[l]ess than or [e]qual to the specified number: + +`[[ ${{variable}} -{{eq|ne|gt|lt|ge|le}} {{integer}} ]]` + +- Test if the specified variable has a [n]on-empty value: + +`[[ -n ${{variable}} ]]` + +- Test if the specified variable has an empty value ([z]ero length): + +`[[ -z ${{variable}} ]]` + +- Test if the specified [f]ile exists: + +`[[ -f {{path/to/file}} ]]` + +- Test if the specified [d]irectory exists: + +`[[ -d {{path/to/directory}} ]]` + +- Test if the specified file or directory [e]xists: + +`[[ -e {{path/to/file_or_directory}} ]]` diff --git a/pages/common/].md b/pages/common/].md new file mode 100644 index 00000000000000..3b120d01485ee7 --- /dev/null +++ b/pages/common/].md @@ -0,0 +1,7 @@ +# ] + +> This shell keyword is used to close out `[`. + +- View documentation for the `[` keyword: + +`tldr [` diff --git a/pages/common/]].md b/pages/common/]].md new file mode 100644 index 00000000000000..5a8af3bd2b0298 --- /dev/null +++ b/pages/common/]].md @@ -0,0 +1,7 @@ +# ]] + +> This shell keyword is used to close out `[[`. + +- View documentation for the `[[` keyword: + +`tldr [[` diff --git a/pages/common/^.md b/pages/common/^.md new file mode 100644 index 00000000000000..ce5b3d4916ac1b --- /dev/null +++ b/pages/common/^.md @@ -0,0 +1,25 @@ +# ^ + +> Bash builtin to quick substitute a string in the previous command and run the result. +> Equivalent to `!!:s^string1^string2`. +> More information: . + +- Run the previous command replacing `string1` with `string2`: + +`^{{string1}}^{{string2}}` + +- Remove `string1` from the previous command: + +`^{{string1}}^` + +- Replace `string1` with `string2` in the previous command and add `string3` to its end: + +`^{{string1}}^{{string2}}^{{string3}}` + +- Replace all occurrences of `string1`: + +`^{{string1}}^{{string2}}^:g&` + +- Print the substituted command without running it: + +`^{{string1}}^{{string2}}^:p` diff --git a/pages/common/a2ping.md b/pages/common/a2ping.md new file mode 100644 index 00000000000000..83379102ae1ab6 --- /dev/null +++ b/pages/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> Convert images into EPS or PDF files. +> More information: . + +- Convert an image to PDF (Note: Specifying an output filename is optional): + +`a2ping {{path/to/image.ext}} {{path/to/output.pdf}}` + +- Compress the document using the specified method: + +`a2ping --nocompress {{none|zip|best|flate}} {{path/to/file}}` + +- Scan HiResBoundingBox if present (defaults to yes): + +`a2ping --nohires {{path/to/file}}` + +- Allow page content below and left of the origin (defaults to no): + +`a2ping --below {{path/to/file}}` + +- Pass extra arguments to `gs`: + +`a2ping --gsextra {{arguments}} {{path/to/file}}` + +- Pass extra arguments to external program (i.e `pdftops`): + +`a2ping --extra {{arguments}} {{path/to/file}}` + +- Display help: + +`a2ping {{[-h|--help]}}` diff --git a/pages/common/aapt.md b/pages/common/aapt.md index 30790de1e9feb5..f0125eb28a4f86 100644 --- a/pages/common/aapt.md +++ b/pages/common/aapt.md @@ -1,7 +1,7 @@ # aapt -> Android Asset Packaging Tool. -> Compile and package an Android app's resources. +> Android Asset Packaging Tool: compile and package an Android app's resources. +> More information: . - List files contained in an APK archive: diff --git a/pages/common/ab.md b/pages/common/ab.md index 2770db66550463..3413042b83efb8 100644 --- a/pages/common/ab.md +++ b/pages/common/ab.md @@ -1,24 +1,28 @@ # ab -> Apache Benchmarking tool. The simplest tool to perform a load testing. -> More information: . +> Apache HTTP server benchmarking tool. +> More information: . - Execute 100 HTTP GET requests to a given URL: -`ab -n {{100}} {{url}}` +`ab -n 100 {{url}}` -- Execute 100 HTTP GET requests, processing up to 10 requests concurrently, to given URL: +- Execute 100 HTTP GET requests, in concurrent batches of 10, to a URL: -`ab -n {{100}} -c {{10}} {{url}}` +`ab -n 100 -c 10 {{url}}` -- Use keep alive: +- Execute 100 HTTP POST requests to a URL, using a JSON payload from a file: + +`ab -n 100 -T {{application/json}} -p {{path/to/file.json}} {{url}}` + +- Use HTTP [k]eep-Alive, i.e. perform multiple requests within one HTTP session: `ab -k {{url}}` -- Set the maximum number of seconds to spend for benchmarking: +- Set the maximum number of seconds ([t]imeout) to spend for benchmarking (30 by default): `ab -t {{60}} {{url}}` -- Execute 100 HTTP POST requests to a given URL, using a JSON payload from a file: +- Write the results to a CSV file: -`ab -n {{100}} -T {{application/json}} -p {{data.json}} {{url}}` +`ab -e {{path/to/file.csv}}` diff --git a/pages/common/abduco.md b/pages/common/abduco.md index 33c7ab8eb408e3..0724a2724435d6 100644 --- a/pages/common/abduco.md +++ b/pages/common/abduco.md @@ -1,24 +1,24 @@ # abduco > Terminal session manager. -> More information: . +> More information: . - List sessions: `abduco` -- Attach to a session, creating it if it doesn't exist: +- [A]ttach to a session, creating it if it doesn't exist: `abduco -A {{name}} {{bash}}` -- Attach to a session with `dvtm`, creating it if it doesn't exist: +- [A]ttach to a session with `dvtm`, creating it if it doesn't exist: `abduco -A {{name}}` - Detach from a session: -`Ctrl + \` +`` -- Attach to a session in read-only mode: +- [A]ttach to a session in [r]ead-only mode: `abduco -Ar {{name}}` diff --git a/pages/common/ac.md b/pages/common/ac.md new file mode 100644 index 00000000000000..e08103a35766e4 --- /dev/null +++ b/pages/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> Print statistics on how long users have been connected. +> More information: . + +- Print how long the current user has been connected in hours: + +`ac` + +- Print how long users have been connected in hours: + +`ac -p` + +- Print how long a particular user has been connected in hours: + +`ac -p {{username}}` + +- Print how long a particular user has been connected in hours per [d]ay (with total): + +`ac -dp {{username}}` diff --git a/pages/common/accelerate.md b/pages/common/accelerate.md new file mode 100644 index 00000000000000..623adb53db918e --- /dev/null +++ b/pages/common/accelerate.md @@ -0,0 +1,28 @@ +# accelerate + +> A library that enables the same PyTorch code to be run across any distributed configuration. +> More information: . + +- Print environment information: + +`accelerate env` + +- Interactively create a configuration file: + +`accelerate config` + +- Print the estimated GPU memory cost of running a Hugging Face model with different data types: + +`accelerate estimate-memory {{name/model}}` + +- Test an Accelerate configuration file: + +`accelerate test --config_file {{path/to/config.yaml}}` + +- Run a model on CPU with Accelerate: + +`accelerate launch {{path/to/script.py}} {{--cpu}}` + +- Run a model on multi-GPU with Accelerate, with 2 machines: + +`accelerate launch {{path/to/script.py}} --multi_gpu --num_machines 2` diff --git a/pages/common/ack.md b/pages/common/ack.md index 20e042259df96a..db86ac518a9dcb 100644 --- a/pages/common/ack.md +++ b/pages/common/ack.md @@ -1,32 +1,37 @@ # ack -> A search tool like grep, optimized for programmers. -> More information: . +> A search tool like `grep`, optimized for developers. +> See also: `rg`, which is much faster. +> More information: . -- Find files containing "foo": +- Search for files containing a string or `regex` in the current directory recursively: -`ack {{foo}}` +`ack "{{search_pattern}}"` -- Find files of a specific type: +- Search for a case-insensitive pattern: -`ack --ruby {{foo}}` +`ack {{[-i|--ignore-case]}} "{{search_pattern}}"` -- Count the total number of matches for the term "foo": +- Search for lines matching a pattern, printing only the matched text and not the rest of the line: -`ack -ch {{foo}}` +`ack {{[-o|--output '$&']}} "{{search_pattern}}"` -- Show the file names containing "foo" and number of matches in each file: +- Limit search to files of a specific type: -`ack -cl {{foo}}` +`ack {{[-t|--type]}} {{ruby}} "{{search_pattern}}"` -- Search a file for a specified string: +- Do not search in files of a specific type: -`ack bar "{{foo bar}}" {{path/to/file}}` +`ack {{[-t|--type]}} no{{ruby}} "{{search_pattern}}"` -- Search a file for the specified regex pattern: +- Count the total number of matches found: -`ack bar "{{[bB]ar \d+}}" {{path/to/file}}` +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{search_pattern}}"` -- List all valid types: +- Print the file names and the number of matches for each file only: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{search_pattern}}"` + +- List all the values that can be used with `--type`: `ack --help-types` diff --git a/pages/common/acme.sh-dns.md b/pages/common/acme.sh-dns.md new file mode 100644 index 00000000000000..db1efd3b26e1a1 --- /dev/null +++ b/pages/common/acme.sh-dns.md @@ -0,0 +1,24 @@ +# acme.sh --dns + +> Use a DNS-01 challenge to issue a TLS certificate. +> More information: . + +- Issue a certificate using an automatic DNS API mode: + +`acme.sh --issue --dns {{gnd_gd}} --domain {{example.com}}` + +- Issue a wildcard certificate (denoted by an asterisk) using an automatic DNS API mode: + +`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}` + +- Issue a certificate using a DNS alias mode: + +`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{alias-for-example-validation.com}}` + +- Issue a certificate while disabling automatic Cloudflare/Google DNS polling after the DNS record is added by specifying a custom wait time in seconds: + +`acme.sh --issue --dns {{dns_namecheap}} --domain {{example.com}} --dnssleep {{300}}` + +- Issue a certificate using a manual DNS mode: + +`acme.sh --issue --dns --domain {{example.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please` diff --git a/pages/common/acme.sh.md b/pages/common/acme.sh.md new file mode 100644 index 00000000000000..8c9c1ad552227a --- /dev/null +++ b/pages/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> Shell script implementing ACME client protocol, an alternative to `certbot`. +> See also: `acme.sh dns`. +> More information: . + +- Issue a certificate using webroot mode: + +`acme.sh --issue {{[-d|--domain]}} {{example.com}} {{[-w|--webroot]}} /{{path/to/webroot}}` + +- Issue a certificate for multiple domains using standalone mode using port 80: + +`acme.sh --issue --standalone {{[-d|--domain]}} {{example.com}} {{[-d|--domain]}} {{www.example.com}}` + +- Issue a certificate using standalone TLS mode using port 443: + +`acme.sh --issue --alpn {{[-d|--domain]}} {{example.com}}` + +- Issue a certificate using a working Nginx configuration: + +`acme.sh --issue --nginx {{[-d|--domain]}} {{example.com}}` + +- Issue a certificate using a working Apache configuration: + +`acme.sh --issue --apache {{[-d|--domain]}} {{example.com}}` + +- Issue a wildcard (\*) certificate using an automatic DNS API mode: + +`acme.sh --issue --dns {{dns_cf}} {{[-d|--domain]}} {{*.example.com}}` + +- Install certificate files into the specified locations (useful for automatic certificate renewal): + +`acme.sh {{[-i|--install-cert]}} {{[-d|--domain]}} {{example.com}} --key-file /{{path/to/example.com.key}} --fullchain-file /{{path/to/example.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"` diff --git a/pages/common/act.md b/pages/common/act.md index 7abcfef2305512..4e376e21a8b6cf 100644 --- a/pages/common/act.md +++ b/pages/common/act.md @@ -1,11 +1,11 @@ # act > Execute GitHub Actions locally using Docker. -> More information: . +> More information: . -- List the available actions: +- List the available jobs: -`act -l` +`act {{[-l|--list]}}` - Run the default event: @@ -15,14 +15,18 @@ `act {{event_type}}` -- Run a specific action: +- Run a specific job: -`act -a {{action_id}}` +`act {{[-j|--job]}} {{job_id}}` -- Do not actually run the actions (i.e. a dry run): +- Do [n]ot actually run the actions (i.e. a dry run): -`act -n` +`act {{[-n|--dryrun]}}` - Show verbose logs: -`act -v` +`act {{[-v|--verbose]}}` + +- Run a specific workflow with the push event: + +`act push {{[-W|--workflows]}} {{path/to/workflow}}` diff --git a/pages/common/acyclic.md b/pages/common/acyclic.md new file mode 100644 index 00000000000000..28b7a379347795 --- /dev/null +++ b/pages/common/acyclic.md @@ -0,0 +1,17 @@ +# acyclic + +> Make a directed graph acyclic by reversing some edges. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Make a directed graph acyclic by reversing some edges: + +`acyclic {{path/to/input.gv}} > {{path/to/output.gv}}` + +- Print if a graph is acyclic, has a cycle, or is undirected, producing no output graph: + +`acyclic -v -n {{path/to/input.gv}}` + +- Display help: + +`acyclic -?` diff --git a/pages/common/adb-connect.md b/pages/common/adb-connect.md new file mode 100644 index 00000000000000..87c701e72c3fea --- /dev/null +++ b/pages/common/adb-connect.md @@ -0,0 +1,16 @@ +# adb connect + +> Connect to an Android device wirelessly. +> More information: . + +- Pair with an Android device (address and pairing code can be found in developer options): + +`adb pair {{ip_address}}:{{port}}` + +- Connect to an Android device (port will be different from pairing): + +`adb connect {{ip_address}}:{{port}}` + +- Disconnect a device: + +`adb disconnect {{ip_address}}:{{port}}` diff --git a/pages/common/adb-devices.md b/pages/common/adb-devices.md new file mode 100644 index 00000000000000..cf2bb3651557db --- /dev/null +++ b/pages/common/adb-devices.md @@ -0,0 +1,12 @@ +# adb devices + +> List connected Android devices. +> More information: . + +- List devices: + +`adb devices` + +- List devices and their system info: + +`adb devices -l` diff --git a/pages/common/adb-disconnect.md b/pages/common/adb-disconnect.md new file mode 100644 index 00000000000000..b3f2c2831d0ca0 --- /dev/null +++ b/pages/common/adb-disconnect.md @@ -0,0 +1,7 @@ +# adb disconnect + +> This command has been moved to `adb connect`. + +- View documentation for `adb disconnect`: + +`tldr adb connect` diff --git a/pages/common/adb-forward.md b/pages/common/adb-forward.md new file mode 100644 index 00000000000000..b62f177245a02e --- /dev/null +++ b/pages/common/adb-forward.md @@ -0,0 +1,20 @@ +# adb forward + +> Connect to an Android device wirelessly. +> More information: . + +- Forward a TCP port: + +`adb forward tcp:{{local_port}} tcp:{{remote_port}}` + +- List all forwardings: + +`adb forward --list` + +- Remove a forwarding rule: + +`adb forward --remove tcp:{{local_port}}` + +- Remove all forwarding rules: + +`adb forward --remove-all` diff --git a/pages/common/adb-install.md b/pages/common/adb-install.md index 5c40da6190e7c2..bdd39fe90e77bc 100644 --- a/pages/common/adb-install.md +++ b/pages/common/adb-install.md @@ -1,17 +1,25 @@ # adb install -> Android Debug Bridge Install: Push packages to an Android emulator instance or connected Android devices. -> More information: . +> Push packages to a connected Android device or emulator. +> More information: . - Push an Android application to an emulator/device: `adb install {{path/to/file.apk}}` -- Reinstall an existing app, keeping its data: +- Push an Android application to a specific emulator/device (overrides `$ANDROID_SERIAL`): + +`adb -s {{serial_number}} install {{path/to/file.apk}}` + +- [r]einstall an existing app, keeping its data: `adb install -r {{path/to/file.apk}}` -- Grant all permissions listed in the app manifest: +- Push an Android application allowing version code [d]owngrade (debuggable packages only): + +`adb install -d {{path/to/file.apk}}` + +- [g]rant all permissions listed in the app manifest: `adb install -g {{path/to/file.apk}}` diff --git a/pages/common/adb-logcat.md b/pages/common/adb-logcat.md new file mode 100644 index 00000000000000..af0d97ceb07a0b --- /dev/null +++ b/pages/common/adb-logcat.md @@ -0,0 +1,36 @@ +# adb logcat + +> Dump a log of system messages. +> More information: . + +- Display system logs: + +`adb logcat` + +- Display lines that match a `reg[e]x`: + +`adb logcat -e {{regex}}` + +- Display logs for a tag in a specific mode ([V]erbose, [D]ebug, [I]nfo, [W]arning, [E]rror, [F]atal, [S]ilent), filtering other tags: + +`adb logcat {{tag}}:{{mode}} *:S` + +- Display logs for React Native applications in [V]erbose mode [S]ilencing other tags: + +`adb logcat ReactNative:V ReactNativeJS:V *:S` + +- Display logs for all tags with priority level [W]arning and higher: + +`adb logcat *:W` + +- Display logs for a specific PID: + +`adb logcat --pid {{pid}}` + +- Display logs for the process of a specific package: + +`adb logcat --pid $(adb shell pidof -s {{package}})` + +- Color the log (usually use with filters): + +`adb logcat -v color` diff --git a/pages/common/adb-pair.md b/pages/common/adb-pair.md new file mode 100644 index 00000000000000..a45a3efb1cae77 --- /dev/null +++ b/pages/common/adb-pair.md @@ -0,0 +1,7 @@ +# adb pair + +> This command has been moved to `adb connect`. + +- View documentation for `adb pair`: + +`tldr adb connect` diff --git a/pages/common/adb-reboot.md b/pages/common/adb-reboot.md new file mode 100644 index 00000000000000..821d9aba4f1d14 --- /dev/null +++ b/pages/common/adb-reboot.md @@ -0,0 +1,20 @@ +# adb reboot + +> Reboot a connected Android device or emulator. +> More information: . + +- Reboot the device normally: + +`adb reboot` + +- Reboot the device into bootloader mode: + +`adb reboot bootloader` + +- Reboot the device into recovery mode: + +`adb reboot recovery` + +- Reboot the device into fastboot mode: + +`adb reboot fastboot` diff --git a/pages/common/adb-reverse.md b/pages/common/adb-reverse.md index 8a2a70f3d9dbed..b10ec412ad8c4d 100644 --- a/pages/common/adb-reverse.md +++ b/pages/common/adb-reverse.md @@ -1,7 +1,7 @@ # adb reverse -> Android Debug Bridge Reverse: reverse socket connections from an Android emulator instance or connected Android devices. -> More information: . +> Reverse socket connections from a connected Android device or emulator. +> More information: . - List all reverse socket connections from emulators and devices: diff --git a/pages/common/adb-shell.md b/pages/common/adb-shell.md index b109da600b263b..905b67747129cd 100644 --- a/pages/common/adb-shell.md +++ b/pages/common/adb-shell.md @@ -1,9 +1,9 @@ # adb shell -> Android Debug Bridge Shell: Run remote shell commands on an Android emulator instance or connected Android devices. -> More information: . +> Run shell commands on a connected Android device or emulator. +> More information: . -- Start a remote interactive shell on the emulator/device: +- Start a remote interactive shell on the emulator or device: `adb shell` @@ -27,7 +27,7 @@ `adb shell pm clear {{package}}` -- Start an activity on emulator/device: +- Start an activity on emulator or device: `adb shell am start -n {{package}}/{{activity}}` diff --git a/pages/common/adb-uninstall.md b/pages/common/adb-uninstall.md new file mode 100644 index 00000000000000..5cf259c459dc08 --- /dev/null +++ b/pages/common/adb-uninstall.md @@ -0,0 +1,12 @@ +# adb uninstall + +> Uninstall a package. +> More information: . + +- Uninstall a package: + +`adb uninstall {{com.example.app}}` + +- Uninstall a package, but keep user data: + +`adb uninstall -k {{com.example.app}}` diff --git a/pages/common/adb.md b/pages/common/adb.md index 68f97d9281eaac..bb9f3b9ebdd11e 100644 --- a/pages/common/adb.md +++ b/pages/common/adb.md @@ -1,7 +1,8 @@ # adb > Android Debug Bridge: communicate with an Android emulator instance or connected Android devices. -> More information: . +> Some subcommands such as `shell` have their own usage documentation. +> More information: . - Check whether the adb server process is running and start it: @@ -27,6 +28,10 @@ `adb push {{path/to/local_file_or_directory}} {{path/to/device_destination_directory}}` -- Get a list of connected devices: +- List all connected devices: `adb devices` + +- Specify which device to send commands to if there are multiple devices: + +`adb -s {{device_ID}} {{shell}}` diff --git a/pages/common/adguardhome.md b/pages/common/adguardhome.md index 7bdd04b5ed25b0..3d197ea559f6c6 100644 --- a/pages/common/adguardhome.md +++ b/pages/common/adguardhome.md @@ -7,11 +7,11 @@ `AdGuardHome` -- Run AdGuard Home with a specific config: +- Specify a configuration file: `AdGuardHome --config {{path/to/AdGuardHome.yaml}}` -- Set the work directory for data to be stored in: +- Store the data in a specific work directory: `AdGuardHome --work-dir {{path/to/directory}}` diff --git a/pages/common/adscript.md b/pages/common/adscript.md new file mode 100644 index 00000000000000..f45f5aa5bc7893 --- /dev/null +++ b/pages/common/adscript.md @@ -0,0 +1,20 @@ +# adscript + +> Compiler for Adscript files. +> More information: . + +- Compile a file to an object file: + +`adscript --output {{path/to/file.o}} {{path/to/input_file.adscript}}` + +- Compile and link a file to a standalone executable: + +`adscript --executable --output {{path/to/file}} {{path/to/input_file.adscript}}` + +- Compile a file to LLVM IR instead of native machine code: + +`adscript --llvm-ir --output {{path/to/file.ll}} {{path/to/input_file.adscript}}` + +- Cross-compile a file to an object file for a foreign CPU architecture or operating system: + +`adscript --target-triple {{i386-linux-elf}} --output {{path/to/file.o}} {{path/to/input_file.adscript}}` diff --git a/pages/common/afconvert.md b/pages/common/afconvert.md new file mode 100644 index 00000000000000..d2b3ba8a9a82d6 --- /dev/null +++ b/pages/common/afconvert.md @@ -0,0 +1,12 @@ +# afconvert + +> Convert between AFF and raw file formats. +> More information: . + +- Use a specific extension (default: `aff`): + +`afconvert -a {{extension}} {{path/to/input_file}} {{path/to/output_file1 path/to/output_file2 ...}}` + +- Use a specific compression level (default: `7`): + +`afconvert -X{{0..7}} {{path/to/input_file}} {{path/to/output_file1 path/to/output_file2 ...}}` diff --git a/pages/common/ag.md b/pages/common/ag.md index 902dfecac6f71a..aa074de346a606 100644 --- a/pages/common/ag.md +++ b/pages/common/ag.md @@ -1,32 +1,32 @@ # ag -> The Silver Searcher. Like ack, but aims to be faster. -> More information: . +> The Silver Searcher. Like `ack`, but aims to be faster. +> More information: . - Find files containing "foo", and print the line matches in context: -`ag {{foo}}` +`ag foo` - Find files containing "foo" in a specific directory: -`ag {{foo}} {{path/to/directory}}` +`ag foo {{path/to/directory}}` - Find files containing "foo", but only list the filenames: -`ag -l {{foo}}` +`ag {{[-l|--files-with-matches]}} foo` - Find files containing "FOO" case-insensitively, and print only the match, rather than the whole line: -`ag -i -o {{FOO}}` +`ag {{[-i|--ignore-case]}} {{[-o|--only-matching]}} FOO` - Find "foo" in files with a name matching "bar": -`ag {{foo}} -G {{bar}}` +`ag foo {{[-G|--file-search-regex]}} bar` -- Find files whose contents match a regular expression: +- Find files whose contents match a `regex`: `ag '{{^ba(r|z)$}}'` - Find files with a name matching "foo": -`ag -g {{foo}}` +`ag {{[-g|--filename-pattern]}} foo` diff --git a/pages/common/agate.md b/pages/common/agate.md new file mode 100644 index 00000000000000..47286a71dc8f22 --- /dev/null +++ b/pages/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> A simple server for the Gemini network protocol. +> More information: . + +- Run and generate a private key and certificate: + +`agate --content {{path/to/content}}/ --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{en-US}}` + +- Run server: + +`agate {{path/to/file}}` + +- Display help: + +`agate {{[-h|--help]}}` diff --git a/pages/common/age-keygen.md b/pages/common/age-keygen.md new file mode 100644 index 00000000000000..5742b85220cc5c --- /dev/null +++ b/pages/common/age-keygen.md @@ -0,0 +1,13 @@ +# age-keygen + +> Generate `age` key pairs. +> See also: `age` for encrypting/decrypting files. +> More information: . + +- Generate a key pair, save it to an unencrypted file, and print the public key to `stdout`: + +`age-keygen {{[-o|--output]}} {{path/to/file}}` + +- Convert an identit[y] to a recipient and print the public key to `stdout`: + +`age-keygen -y {{path/to/file}}` diff --git a/pages/common/age.md b/pages/common/age.md new file mode 100644 index 00000000000000..460d013e5c9e37 --- /dev/null +++ b/pages/common/age.md @@ -0,0 +1,25 @@ +# age + +> A simple, modern and secure file encryption tool. +> See also: `age-keygen` for generating key pairs. +> More information: . + +- Generate an encrypted file that can be decrypted with a passphrase: + +`age --passphrase --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}` + +- Encrypt a file with one or more public keys entered as literals (repeat the `--recipient` flag to specify multiple public keys): + +`age --recipient {{public_key}} --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}` + +- Encrypt a file to one or more recipients with their public keys specified in a file (one per line): + +`age --recipients-file {{path/to/recipients_file}} --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}` + +- Decrypt a file with a passphrase: + +`age --decrypt --output {{path/to/decrypted_file}} {{path/to/encrypted_file}}` + +- Decrypt a file with a private key file: + +`age --decrypt --identity {{path/to/private_key_file}} --output {{path/to/decrypted_file}} {{path/to/encrypted_file}}` diff --git a/pages/common/agg.md b/pages/common/agg.md new file mode 100644 index 00000000000000..5c34557ce83906 --- /dev/null +++ b/pages/common/agg.md @@ -0,0 +1,20 @@ +# agg + +> Create a GIF from an `asciinema` terminal session recording. +> More information: . + +- Create a GIF: + +`agg {{path/to/demo.cast}} {{path/to/demo.gif}}` + +- Create a GIF that is 80 columns wide and 25 rows in height: + +`agg --cols 80 --rows 25 {{path/to/demo.cast}} {{path/to/demo.gif}}` + +- Create a GIF with a font size of 24 pixels: + +`agg --font-size 24 {{path/to/demo.cast}} {{path/to/demo.gif}}` + +- Display help: + +`agg {{[-h|--help]}}` diff --git a/pages/common/aider.md b/pages/common/aider.md new file mode 100644 index 00000000000000..a64ef8be317df7 --- /dev/null +++ b/pages/common/aider.md @@ -0,0 +1,28 @@ +# aider + +> Pair program with the LLM of your choice. +> More information: . + +- Start a new project or work with an existing code base: + +`aider --model {{model_name}} --api-key {{your_api_key}}` + +- Add new features or test cases to specific files: + +`aider {{path/to/file1 path/to/file2 ...}}` + +- Describe a bug and let `aider` fix it: + +`aider {{path/to/file}} --describe "{{bug_description}}"` + +- Refactor code in a specific file: + +`aider {{path/to/file}} --refactor` + +- Update documentation: + +`aider {{path/to/file}} --update-docs` + +- Display help: + +`aider --help` diff --git a/pages/common/aircrack-ng.md b/pages/common/aircrack-ng.md new file mode 100644 index 00000000000000..354ba5bea04c73 --- /dev/null +++ b/pages/common/aircrack-ng.md @@ -0,0 +1,21 @@ +# aircrack-ng + +> Crack WEP and WPA/WPA2 keys from handshake in captured packets. +> Part of Aircrack-ng network software suite. +> More information: . + +- Crack key from capture file using [w]ordlist: + +`aircrack-ng -w {{path/to/wordlist.txt}} {{path/to/capture.cap}}` + +- Crack key using multiple CPU threads from capture file using [w]ordlist: + +`aircrack-ng -p {{number}} -w {{path/to/wordlist.txt}} {{path/to/capture.cap}}` + +- Crack key from capture file using [w]ordlist and the access point's [e]ssid: + +`aircrack-ng -w {{path/to/wordlist.txt}} -e {{essid}} {{path/to/capture.cap}}` + +- Crack key from capture file using [w]ordlist and the access point's MAC address: + +`aircrack-ng -w {{path/to/wordlist.txt}} --bssid {{mac}} {{path/to/capture.cap}}` diff --git a/pages/common/airdecap-ng.md b/pages/common/airdecap-ng.md new file mode 100644 index 00000000000000..f3387e11f76554 --- /dev/null +++ b/pages/common/airdecap-ng.md @@ -0,0 +1,25 @@ +# airdecap-ng + +> Decrypt a WEP, WPA, or WPA2 encrypted capture file. +> Part of Aircrack-ng network software suite. +> More information: . + +- Remove wireless headers from an open network capture file and use the access point's MAC address to filter: + +`airdecap-ng -b {{ap_mac}} {{path/to/capture.cap}}` + +- Decrypt a [w]EP encrypted capture file using the key in hex format: + +`airdecap-ng -w {{hex_key}} {{path/to/capture.cap}}` + +- Decrypt a WPA/WPA2 encrypted capture file using the access point's [e]ssid and [p]assword: + +`airdecap-ng -e {{essid}} -p {{password}} {{path/to/capture.cap}}` + +- Decrypt a WPA/WPA2 encrypted capture file preserving the headers using the access point's [e]ssid and [p]assword: + +`airdecap-ng -l -e {{essid}} -p {{password}} {{path/to/capture.cap}}` + +- Decrypt a WPA/WPA2 encrypted capture file using the access point's [e]ssid and [p]assword and use its MAC address to filter: + +`airdecap-ng -b {{ap_mac}} -e {{essid}} -p {{password}} {{path/to/capture.cap}}` diff --git a/pages/common/aireplay-ng.md b/pages/common/aireplay-ng.md new file mode 100644 index 00000000000000..ee972ccf627426 --- /dev/null +++ b/pages/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> Inject packets into a wireless network. +> Part of `aircrack-ng`. +> More information: . + +- Send a specific number of disassociate packets given an access point's MAC address, a client's MAC address and an interface: + +`sudo aireplay-ng --deauth {{count}} --bssid {{ap_mac}} --dmac {{client_mac}} {{interface}}` diff --git a/pages/common/airmon-ng.md b/pages/common/airmon-ng.md index 6b3b1c5878fdcc..492ec04ca2c62c 100644 --- a/pages/common/airmon-ng.md +++ b/pages/common/airmon-ng.md @@ -1,6 +1,7 @@ # airmon-ng > Activate monitor mode on wireless network devices. +> Part of `aircrack-ng`. > More information: . - List wireless devices and their statuses: diff --git a/pages/common/airodump-ng.md b/pages/common/airodump-ng.md new file mode 100644 index 00000000000000..85656b32f90239 --- /dev/null +++ b/pages/common/airodump-ng.md @@ -0,0 +1,21 @@ +# airodump-ng + +> Capture packets and display information about wireless networks. +> Part of `aircrack-ng`. +> More information: . + +- Capture packets and display information about wireless network(s) on the 2.4GHz band: + +`sudo airodump-ng {{interface}}` + +- Capture packets and display information about wireless network(s) on the 5GHz band: + +`sudo airodump-ng {{interface}} --band a` + +- Capture packets and display information about wireless network(s) on both 2.4GHz and 5GHz bands: + +`sudo airodump-ng {{interface}} --band abg` + +- Capture packets and display information about a wireless network given the MAC address and channel, and save the output to a file: + +`sudo airodump-ng --channel {{channel}} --write {{path/to/file}} --bssid {{mac}} {{interface}}` diff --git a/pages/common/airpaste.md b/pages/common/airpaste.md index 00fc49b47461c4..eb94a6cbc19e09 100644 --- a/pages/common/airpaste.md +++ b/pages/common/airpaste.md @@ -1,8 +1,9 @@ # airpaste -> Share messages and files on the same network. +> Share messages and files on the same network using mDNS. +> More information: . -- Wait for message and display when received: +- Wait for a message and display it when received: `airpaste` @@ -10,14 +11,14 @@ `echo {{text}} | airpaste` -- Send file: +- Send a file: `airpaste < {{path/to/file}}` -- Receive file: +- Receive a file: `airpaste > {{path/to/file}}` -- Create/Join channel: +- Create or join a channel: `airpaste {{channel_name}}` diff --git a/pages/common/airshare.md b/pages/common/airshare.md new file mode 100644 index 00000000000000..ea9ded9502d9cf --- /dev/null +++ b/pages/common/airshare.md @@ -0,0 +1,28 @@ +# airshare + +> Transfer data between two machines in a local network. +> More information: . + +- Share files or directories: + +`airshare {{code}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Receive a file: + +`airshare {{code}}` + +- Host a receiving server (use this to be able to upload files using the web interface): + +`airshare --upload {{code}}` + +- Send files or directories to a receiving server: + +`airshare --upload {{code}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Send files whose paths have been copied to the clipboard: + +`airshare --file-path {{code}}` + +- Receive a file and copy it to the clipboard: + +`airshare --clip-receive {{code}}` diff --git a/pages/common/ajson.md b/pages/common/ajson.md index cf060c3203f171..9d70fc011d8e47 100644 --- a/pages/common/ajson.md +++ b/pages/common/ajson.md @@ -1,13 +1,13 @@ # ajson -> Executes JSONPath on JSON objects. +> Execute JSONPath on JSON objects. > More information: . - Read JSON from a file and execute a specified JSONPath expression: `ajson '{{$..json[?(@.path)]}}' {{path/to/file.json}}` -- Read JSON from stdin and execute a specified JSONPath expression: +- Read JSON from `stdin` and execute a specified JSONPath expression: `cat {{path/to/file.json}} | ajson '{{$..json[?(@.path)]}}'` diff --git a/pages/common/alacritty.md b/pages/common/alacritty.md index 788b16a5c00d77..94c7233dc78972 100644 --- a/pages/common/alacritty.md +++ b/pages/common/alacritty.md @@ -1,24 +1,28 @@ # alacritty > Cross-platform, GPU-accelerated terminal emulator. -> More information: . +> More information: . -- Open a new alacritty window: +- Start a new Alacritty process and create a window: `alacritty` -- Run in a specific directory: +- Start the Alacritty daemon (without creating a window): -`alacritty --working-directory {{path/to/directory}}` +`alacritty --daemon` + +- Create a new window using the already running Alacritty process: -- Run a command in a new alacritty window: +`alacritty msg create-window` -`alacritty -e {{command}}` +- Start the shell in a specific directory (also works with `alacritty msg create-window`): + +`alacritty --working-directory {{path/to/directory}}` -- Specify alternative configuration file (defaults to $XDG_CONFIG_HOME/alacritty/alacritty.yml): +- Execute a command in a new Alacritty window (also works with `alacritty msg create-window`): -`alacritty --config-file {{path/to/config.yml}}` +`alacritty {{[-e|--command]}} {{command}}` -- Run with live config reload enabled (can also be enabled by default in alacritty.yml): +- Use an alternative configuration file (defaults to `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): -`alacritty --live-config-reload --config-file {{path/to/config.yml}}` +`alacritty --config-file {{path/to/config.toml}}` diff --git a/pages/common/alex.md b/pages/common/alex.md index eadc8c5e0799be..c681fbd9a958b4 100644 --- a/pages/common/alex.md +++ b/pages/common/alex.md @@ -1,6 +1,6 @@ # alex -> A tool that catches insensitive, inconsiderate writing. +> Catch insensitive, inconsiderate writing. > It helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing in text. > More information: . @@ -14,7 +14,7 @@ - Analyze a specific file: -`alex {{textfile.md}}` +`alex {{path/to/file.md}}` - Analyze all Markdown files except `example.md`: diff --git a/pages/common/alias.md b/pages/common/alias.md index 32c9caec8a81f5..de95d7584445b2 100644 --- a/pages/common/alias.md +++ b/pages/common/alias.md @@ -1,7 +1,9 @@ # alias -> Creates aliases -- words that are replaced by a command string. -> Aliases expire with the current shell session, unless they're defined in the shell's configuration file, e.g. `~/.bashrc`. +> Create aliases - words that are replaced by a command string. +> Aliases expire with the current shell session unless defined in the shell's configuration file, e.g. `~/.bashrc` for Bash or `~/.zshrc` for Zsh. +> See also: `unalias`. +> More information: . - List all aliases: @@ -21,8 +23,8 @@ - Turn `rm` into an interactive command: -`alias {{rm}}="{{rm -i}}"` +`alias {{rm}}="{{rm --interactive}}"` -- Create `la` as a shortcut for `ls -a`: +- Create `la` as a shortcut for `ls --all`: -`alias {{la}}="{{ls -a}}"` +`alias {{la}}="{{ls --all}}"` diff --git a/pages/common/alr.md b/pages/common/alr.md new file mode 100644 index 00000000000000..6b78557d3aea53 --- /dev/null +++ b/pages/common/alr.md @@ -0,0 +1,21 @@ +# alr + +> Ada package manager. +> Manage Ada toolchains, dependencies, tools and libraries. +> More information: . + +- Create a binary or library project: + +`alr init {{--bin|--lib}} {{project_name}}` + +- Add a dependency to the project: + +`alr add {{crate}}` + +- Run the compiled binary (no need to do `build` before): + +`alr run` + +- Compile the project: + +`alr build {{--release|--development|--validation}}` diff --git a/pages/common/amass-db.md b/pages/common/amass-db.md deleted file mode 100644 index 73d278c9a68a2d..00000000000000 --- a/pages/common/amass-db.md +++ /dev/null @@ -1,20 +0,0 @@ -# amass db - -> Interact with an Amass database. -> More information: . - -- List all performed enumerations in the database: - -`amass db -dir {{path/to/database_directory}} -list` - -- Show results for a specified enumeration index and domain name: - -`amass db -dir {{path/to/database_directory}} -d {{domain_name}} -enum {{index_from_list}} -show` - -- List all found subdomains of a domain within an enumeration: - -`amass db -dir {{path/to/database_directory}} -d {{domain_name}} -enum {{index_from_list}} -names` - -- Show a summary of the found subdomains within an enumeration: - -`amass db -dir {{path/to/database_directory}} -d {{domain_name}} -enum {{index_from_list}} -summary` diff --git a/pages/common/amass-enum.md b/pages/common/amass-enum.md index 654cd6d9a1afb8..af850d0e479db8 100644 --- a/pages/common/amass-enum.md +++ b/pages/common/amass-enum.md @@ -1,17 +1,17 @@ # amass enum > Find subdomains of a domain. -> More information: . +> More information: . -- Passively find subdomains of a domain: +- Find (passively) subdomains of a [d]omain: -`amass enum -passive -d {{domain_name}}` +`amass enum -d {{domain_name}}` -- Find subdomains of a domain and actively verify them attempting to resolve the found subdomains: +- Find subdomains of a [d]omain and actively verify them attempting to resolve the found subdomains: `amass enum -active -d {{domain_name}} -p {{80,443,8080}}` -- Do a brute force search for subdomains: +- Do a brute force search for sub[d]omains: `amass enum -brute -d {{domain_name}}` @@ -19,6 +19,10 @@ `amass enum -o {{output_file}} -d {{domain_name}}` -- Save the results to a database: +- Save terminal output to a file and other detailed output to a directory: -`amass enum -o {{output_file}} -dir {{path/to/database_directory}}` +`amass enum -o {{output_file}} -dir {{path/to/directory}} -d {{domain_name}}` + +- List all available data sources: + +`amass enum -list` diff --git a/pages/common/amass-intel.md b/pages/common/amass-intel.md index 30535ee1b13179..f9ef04e6c16671 100644 --- a/pages/common/amass-intel.md +++ b/pages/common/amass-intel.md @@ -1,9 +1,9 @@ # amass intel > Collect open source intel on an organisation like root domains and ASNs. -> More information: . +> More information: . -- Find root domains in an IP address range: +- Find root domains in an IP [addr]ess range: `amass intel -addr {{192.168.0.1-254}}` @@ -11,11 +11,11 @@ `amass intel -active -addr {{192.168.0.1-254}}` -- Find root domains related to a domain: +- Find root domains related to a [d]omain: `amass intel -whois -d {{domain_name}}` -- Find ASNs belonging to an organisation: +- Find ASNs belonging to an [org]anisation: `amass intel -org {{organisation_name}}` @@ -26,3 +26,7 @@ - Save results to a text file: `amass intel -o {{output_file}} -whois -d {{domain_name}}` + +- List all available data sources: + +`amass intel -list` diff --git a/pages/common/amass-track.md b/pages/common/amass-track.md deleted file mode 100644 index 1243b4d4c931b0..00000000000000 --- a/pages/common/amass-track.md +++ /dev/null @@ -1,12 +0,0 @@ -# amass track - -> Track differences between enumerations of the same domain. -> More information: . - -- Show the difference between the last two enumerations of the specified domain: - -`amass track -dir {{path/to/database_directory}} -d {{domain_name}} -last 2` - -- Show the difference between a certain point in time and the last enumeration: - -`amass track -dir {{path/to/database_directory}} -d {{domain_name}} -since {{01/02 15:04:05 2006 MST}}` diff --git a/pages/common/amass-viz.md b/pages/common/amass-viz.md deleted file mode 100644 index c3dc7b9bf6c12f..00000000000000 --- a/pages/common/amass-viz.md +++ /dev/null @@ -1,24 +0,0 @@ -# amass viz - -> Visualize gathered information in a network graph. -> More information: . - -- Generate a D3.js visualization based on database data: - -`amass viz -d3 -dir {{path/to/database_directory}}` - -- Generate a DOT file based on database data: - -`amass viz -dot -dir {{path/to/database_directory}}` - -- Generate a Gephi Graph Exchange XML Format (GEXF) file based on database data: - -`amass viz -gexf -dir {{path/to/database_directory}}` - -- Generate a Graphistry JSON file based on database data: - -`amass viz -graphistry -dir {{path/to/database_directory}}` - -- Generate a Maltego CSV file based on database data: - -`amass viz -maltego -dir {{path/to/database_directory}}` diff --git a/pages/common/amass.md b/pages/common/amass.md index e12c8819b0cda2..cad417b1520377 100644 --- a/pages/common/amass.md +++ b/pages/common/amass.md @@ -1,20 +1,21 @@ # amass > In-depth Attack Surface Mapping and Asset Discovery tool. -> More information: . +> Some subcommands such as `intel` have their own usage documentation. +> More information: . -- Check the Amass version: +- Execute an Amass subcommand: -`amass -version` +`amass {{intel|enum}} {{options}}` -- Show general help: +- Display help: `amass -help` -- Show help on an Amass subcommand (like `intel`, `enum`, etc.): +- Display help on an Amass subcommand: -`amass -help {{subcommand}}` +`amass {{intel|enum}} -help` -- Execute an Amass subcommand: +- Display version: -`amass {{subcommand}}` +`amass -version` diff --git a/pages/common/androguard.md b/pages/common/androguard.md index f910081d41aee1..ce49a6d4cb743b 100644 --- a/pages/common/androguard.md +++ b/pages/common/androguard.md @@ -1,6 +1,6 @@ # androguard -> Reverse engineering tool for Android applications. Written in Python. +> Reverse engineer Android applications. Written in Python. > More information: . - Display Android app manifest: diff --git a/pages/common/ani-cli.md b/pages/common/ani-cli.md new file mode 100644 index 00000000000000..8ad298c454f351 --- /dev/null +++ b/pages/common/ani-cli.md @@ -0,0 +1,36 @@ +# ani-cli + +> A cli to browse and watch anime. +> More information: . + +- Search anime by name: + +`ani-cli "{{anime_name}}"` + +- Download an episode: + +`ani-cli {{[-d|--download]}} "{{anime_name}}"` + +- Download a range of episodes: + +`ani-cli {{[-d|--download]}} {{[-r|--range]}} "{{1 6}}" "{{anime_name}}"` + +- Download the entire series (a range of all episodes): + +`ani-cli {{[-d|--download]}} {{[-r|--range]}} "1 -1" "{{anime_name}}"` + +- Use VLC as the media player: + +`ani-cli {{[-v|-vlc]}} "{{anime_name}}"` + +- Watch a specific episode: + +`ani-cli {{[-e|--episode]}} {{episode_number}} "{{anime_name}}"` + +- Continue watching anime from history: + +`ani-cli {{[-c|--continue]}}` + +- Update `ani-cli`: + +`ani-cli {{[-U|--update]}}` diff --git a/pages/common/animdl.md b/pages/common/animdl.md new file mode 100644 index 00000000000000..8cb9e49bdf15c2 --- /dev/null +++ b/pages/common/animdl.md @@ -0,0 +1,37 @@ +# animdl + +> A highly efficient, powerful and fast anime scraper. +> See also: `ani-cli`. +> More information: . + +- Download a specific anime: + +`animdl download {{anime_title}}` + +- Download a specific anime by specifying an episode range: + +`animdl download {{anime_title}} {{[-r|--range]}} {{start_episode}}-{{end_episode}}` + +- Download a specific anime by specifying a download directory: + +`animdl download {{anime_title}} {{[-d|--download-dir]}} {{path/to/download_directory}}` + +- Grab the stream URL for a specific anime: + +`animdl grab {{anime_title}}` + +- Display the upcoming anime schedule for the next week: + +`animdl schedule` + +- Search a specific anime: + +`animdl search {{anime_title}}` + +- Stream a specific anime: + +`animdl stream {{anime_title}}` + +- Stream the latest episode of a specific anime: + +`animdl stream {{anime_title}} {{[-s|--special]}} latest` diff --git a/pages/common/anki.md b/pages/common/anki.md new file mode 100644 index 00000000000000..5fc2e9a3ba8e77 --- /dev/null +++ b/pages/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> Powerful, intelligent flashcard program. +> More information: . + +- Launch the GUI: + +`anki` + +- Use a specific [p]rofile: + +`anki -p {{profile_name}}` + +- Use a specific [l]anguage: + +`anki -l {{language}}` + +- Use a non-default directory (`~/Anki` for default): + +`anki -b {{path/to/directory}}` diff --git a/pages/common/ansible-doc.md b/pages/common/ansible-doc.md index e7ff4cff64bec9..2425f783032b66 100644 --- a/pages/common/ansible-doc.md +++ b/pages/common/ansible-doc.md @@ -6,11 +6,11 @@ - List available action plugins (modules): -`ansible-doc --list` +`ansible-doc {{[-l|--list]}}` - List available plugins of a specific type: -`ansible-doc --type {{plugin_type}} --list` +`ansible-doc {{[-t|--type]}} {{become|cache|callback|cliconf|connection|...}} {{[-l|--list]}}` - Show information about a specific action plugin (module): @@ -18,12 +18,12 @@ - Show information about a plugin with a specific type: -`ansible-doc --type {{plugin_type}} {{plugin_name}}` +`ansible-doc {{[-t|--type]}} {{become|cache|callback|cliconf|connection|...}} {{plugin_name}}` - Show the playbook snippet for action plugin (modules): -`ansible-doc --snippet {{plugin_name}}` +`ansible-doc {{[-s|--snippet]}} {{plugin_name}}` - Show information about an action plugin (module) as JSON: -`ansible-doc --json {{plugin_name}}` +`ansible-doc {{[-j|--json]}} {{plugin_name}}` diff --git a/pages/common/ansible-galaxy.md b/pages/common/ansible-galaxy.md index 5f422e3f96ccfd..1cba234a15a1ed 100644 --- a/pages/common/ansible-galaxy.md +++ b/pages/common/ansible-galaxy.md @@ -1,24 +1,32 @@ # ansible-galaxy -> Create and manage Ansible roles. +> Perform various Ansible Role and Collection related operations. > More information: . -- Install a role: +- List installed roles or collections: -`ansible-galaxy install {{username.role_name}}` +`ansible-galaxy {{role|collection}} list` -- Remove a role: +- Search for a role with various levels of verbosely (`-v` should be specified at the end): -`ansible-galaxy remove {{username.role_name}}` +`ansible-galaxy role search {{keyword}} -v{{vvvvv}}` -- List installed roles: +- Install or remove role(s): -`ansible-galaxy list` +`ansible-galaxy role {{install|remove}} {{role_name1 role_name2 ...}}` -- Search for a given role: +- Create a new role: -`ansible-galaxy search {{role_name}}` +`ansible-galaxy role init {{role_name}}` -- Create a new role: +- Get information about a role: + +`ansible-galaxy role info {{role_name}}` + +- Install or remove collection(s): + +`ansible-galaxy collection {{install|remove}} {{collection_name1 collection_name2 ...}}` + +- Display help about roles or collections: -`ansible-galaxy init {{role_name}}` +`ansible-galaxy {{role|collection}} {{[-h|--help]}}` diff --git a/pages/common/ansible-inventory.md b/pages/common/ansible-inventory.md new file mode 100644 index 00000000000000..9c9719ecf2a75f --- /dev/null +++ b/pages/common/ansible-inventory.md @@ -0,0 +1,21 @@ +# ansible-inventory + +> Display or dump an Ansible inventory. +> See also: `ansible`. +> More information: . + +- Display the default inventory: + +`ansible-inventory --list` + +- Display a custom inventory: + +`ansible-inventory --list {{[-i|--inventory-file]}} {{path/to/file_or_script_or_directory}}` + +- Display the default inventory in YAML: + +`ansible-inventory --list {{[-y|--yaml]}}` + +- Dump the default inventory to a file: + +`ansible-inventory --list --output {{path/to/file}}` diff --git a/pages/common/ansible-lint.md b/pages/common/ansible-lint.md new file mode 100644 index 00000000000000..e0c6a7e0bb187a --- /dev/null +++ b/pages/common/ansible-lint.md @@ -0,0 +1,24 @@ +# ansible-lint + +> Apply rules and follow best practices with your automation content. +> More information: . + +- Lint a specific playbook and a role directory: + +`ansible-lint {{path/to/playbook_file}} {{path/to/role_directory}}` + +- Lint a playbook while excluding specific rules: + +`ansible-lint {{[-x|--exclude-rules]}} {{rule1,rule2,...}} {{path/to/playbook_file}}` + +- Lint a playbook in offline mode and format output as PEP8: + +`ansible-lint {{[-o|--offline]}} {{[-p|--parseable]}} {{path/to/playbook_file}}` + +- Lint a playbook using a custom rules directory: + +`ansible-lint {{[-r|--rules]}} {{path/to/custom_rules_directory}} {{path/to/playbook_file}}` + +- Lint all Ansible content recursively in a given directory: + +`ansible-lint {{path/to/project_directory}}` diff --git a/pages/common/ansible-playbook.md b/pages/common/ansible-playbook.md index f8bdfb49b93674..e68e46f50becdd 100644 --- a/pages/common/ansible-playbook.md +++ b/pages/common/ansible-playbook.md @@ -9,20 +9,24 @@ - Run tasks in playbook with custom host inventory: -`ansible-playbook {{playbook}} -i {{inventory_file}}` +`ansible-playbook {{playbook}} {{[-i|--inventory]}} {{inventory_file}}` -- Run tasks in playbook with extra variables defined via the command line: +- Run tasks in playbook with extra variables defined via the command-line: -`ansible-playbook {{playbook}} -e "{{variable1}}={{value1}} {{variable2}}={{value2}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "{{variable1}}={{value1}} {{variable2}}={{value2}}"` -- Run tasks in playbook with extra variables defined in a json file: +- Run tasks in playbook with extra variables defined in a JSON file: -`ansible-playbook {{playbook}} -e "@{{variables.json}}"` +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "@{{variables.json}}"` - Run tasks in playbook for the given tags: -`ansible-playbook {{playbook}} --tags {{tag1,tag2}}` +`ansible-playbook {{playbook}} {{[-t|--tags]}} {{tag1,tag2}}` - Run tasks in a playbook starting at a specific task: `ansible-playbook {{playbook}} --start-at {{task_name}}` + +- Run tasks in a playbook without making any changes (dry-run): + +`ansible-playbook {{playbook}} {{[-C|--check]}} {{[-D|--diff]}}` diff --git a/pages/common/ansible-pull.md b/pages/common/ansible-pull.md index 822ecfeb1fa9af..716c7c4f69a3ec 100644 --- a/pages/common/ansible-pull.md +++ b/pages/common/ansible-pull.md @@ -5,16 +5,16 @@ - Pull a playbook from a VCS and execute a default local.yml playbook: -`ansible-pull -U {{repository_url}}` +`ansible-pull {{[-U|--url]}} {{repository_url}}` - Pull a playbook from a VCS and execute a specific playbook: -`ansible-pull -U {{repository_url}} {{playbook}}` +`ansible-pull {{[-U|--url]}} {{repository_url}} {{playbook}}` - Pull a playbook from a VCS at a specific branch and execute a specific playbook: -`ansible-pull -U {{repository_url}} -C {{branch}} {{playbook}}` +`ansible-pull {{[-U|--url]}} {{repository_url}} {{[-C|--checkout]}} {{branch}} {{playbook}}` - Pull a playbook from a VCS, specify hosts file and execute a specific playbook: -`ansible-pull -U {{repository_url}} -i {{hosts_file}} {{playbook}}` +`ansible-pull {{[-U|--url]}} {{repository_url}} {{[-i|--inventory-file]}} {{hosts_file}} {{playbook}}` diff --git a/pages/common/ansible-vault.md b/pages/common/ansible-vault.md index 66c242f58eb5b0..27573b5c526e20 100644 --- a/pages/common/ansible-vault.md +++ b/pages/common/ansible-vault.md @@ -1,6 +1,6 @@ # ansible-vault -> Encrypts & decrypts values, data structures and files within Ansible projects. +> Encrypt and decrypt values, data structures and files within Ansible projects. > More information: . - Create a new encrypted vault file with a prompt for a password: @@ -9,11 +9,11 @@ - Create a new encrypted vault file using a vault key file to encrypt it: -`ansible-vault create --vault-password-file={{password_file}} {{vault_file}}` +`ansible-vault create --vault-password-file {{password_file}} {{vault_file}}` - Encrypt an existing file using an optional password file: -`ansible-vault encrypt --vault-password-file={{password_file}} {{vault_file}}` +`ansible-vault encrypt --vault-password-file {{password_file}} {{vault_file}}` - Encrypt a string using Ansible's encrypted string format, displaying interactive prompts: @@ -21,8 +21,8 @@ - View an encrypted file, using a password file to decrypt: -`ansible-vault view --vault-password-file={{password_file}} {{vault_file}}` +`ansible-vault view --vault-password-file {{password_file}} {{vault_file}}` - Re-key already encrypted vault file with a new password file: -`ansible-vault rekey --vault-password-file={{old_password_file}} --new-vault-password-file={{new_password_file}} {{vault_file}}` +`ansible-vault rekey --vault-password-file {{old_password_file}} --new-vault-password-file {{new_password_file}} {{vault_file}}` diff --git a/pages/common/ansible.md b/pages/common/ansible.md index 2c223f1e7f2e5b..e73b31b2f7ac8b 100644 --- a/pages/common/ansible.md +++ b/pages/common/ansible.md @@ -1,8 +1,8 @@ # ansible -> Manage groups of computers remotely over SSH. -> Use the /etc/ansible/hosts file to add new groups/hosts. -> More information: . +> Manage groups of computers remotely over SSH. (use the `/etc/ansible/hosts` file to add new groups/hosts). +> Some subcommands such as `galaxy` have their own usage documentation. +> More information: . - List hosts belonging to a group: @@ -10,20 +10,24 @@ - Ping a group of hosts by invoking the ping module: -`ansible {{group}} -m ping` +`ansible {{group}} {{[-m|--module-name]}} ping` - Display facts about a group of hosts by invoking the setup module: -`ansible {{group}} -m setup` +`ansible {{group}} {{[-m|--module-name]}} setup` - Execute a command on a group of hosts by invoking command module with arguments: -`ansible {{group}} -m command -a '{{my_command}}'` +`ansible {{group}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{my_command}}'` - Execute a command with administrative privileges: -`ansible {{group}} --become --ask-become-pass -m command -a '{{my_command}}'` +`ansible {{group}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{my_command}}'` - Execute a command using a custom inventory file: -`ansible {{group}} -i {{inventory_file}} -m command -a '{{my_command}}'` +`ansible {{group}} {{[-i|--inventory]}} {{inventory_file}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{my_command}}'` + +- List the groups in an inventory: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages/common/ansiweather.md b/pages/common/ansiweather.md index 8ee946e4aaf1c9..4f30a15976da73 100644 --- a/pages/common/ansiweather.md +++ b/pages/common/ansiweather.md @@ -1,16 +1,16 @@ # ansiweather -> A shell script for displaying the current weather conditions in your terminal. +> Display the current weather conditions in your terminal. > More information: . -- Display a forecast using metric units for the next five days for Rzeszow, Poland: +- Display a [f]orecast using metric [u]nits for the next seven days for a specific [l]ocation: -`ansiweather -u {{metric}} -f {{5}} -l {{Rzeszow,PL}}` +`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}` -- Display a forecast showing symbols and daylight data for your current location: +- Display a [F]orecast for the next five days showing [s]ymbols and [d]aylight data for your current location: -`ansiweather -s {{true}} -d {{true}}` +`ansiweather -F -s true -d true` -- Display a forecast showing wind and humidity data for your current location: +- Display today's [w]ind and [h]umidity data for your current location: -`ansiweather -w {{true}} -h {{true}}` +`ansiweather -w true -h true` diff --git a/pages/common/ant.md b/pages/common/ant.md index 5f757ba5a679c6..ad9d0ac41c70d4 100644 --- a/pages/common/ant.md +++ b/pages/common/ant.md @@ -1,8 +1,7 @@ # ant -> Apache Ant. -> Tool for building and managing Java-based projects. -> More information: . +> Apache Ant: build and manage Java-based projects. +> More information: . - Build a project with default build file `build.xml`: @@ -10,16 +9,16 @@ - Build a project using build file other than `build.xml`: -`ant -f {{buildfile.xml}}` +`ant {{[-f|-buildfile]}} {{buildfile.xml}}` - Print information on possible targets for this project: -`ant -p` +`ant {{[-p|-projecthelp]}}` - Print debugging information: -`ant -d` +`ant {{[-d|-debug]}}` - Execute all targets that do not depend on fail target(s): -`ant -k` +`ant {{[-k|-keep-going]}}` diff --git a/pages/common/antibody.md b/pages/common/antibody.md new file mode 100644 index 00000000000000..a509c03423c2b0 --- /dev/null +++ b/pages/common/antibody.md @@ -0,0 +1,16 @@ +# antibody + +> "The fastest" shell plugin manager. +> More information: . + +- Bundle all plugins for static loading: + +`antibody < {{~/.zsh_plugins.txt}} bundle > {{~/.zsh_plugins.sh}}` + +- Update all bundles: + +`antibody update` + +- List all installed plugins: + +`antibody list` diff --git a/pages/common/anytopnm.md b/pages/common/anytopnm.md new file mode 100644 index 00000000000000..3f7aa25c154f2f --- /dev/null +++ b/pages/common/anytopnm.md @@ -0,0 +1,12 @@ +# anytopnm + +> Convert an arbitrary type of image file to common image formats. +> More information: . + +- Convert an input image to PBM, PGM, or PPM format irrespective of the input type: + +`anytopnm {{path/to/input}} > {{path/to/output.pnm}}` + +- Display version: + +`anytopnm {{[-v|-version]}}` diff --git a/pages/common/apg.md b/pages/common/apg.md index f9cd6205564f20..59902940ee4b64 100644 --- a/pages/common/apg.md +++ b/pages/common/apg.md @@ -1,6 +1,7 @@ # apg -> Creates arbitrarily complex random passwords. +> Create arbitrarily complex random passwords. +> More information: . - Create random passwords (default password length is 8): @@ -20,4 +21,4 @@ - Create a password that doesn't appear in a dictionary (the dictionary file has to be provided): -`apg -r {{dictionary_file}}` +`apg -r {{path/to/dictionary_file}}` diff --git a/pages/common/apkeep.md b/pages/common/apkeep.md new file mode 100644 index 00000000000000..6e7561d4772447 --- /dev/null +++ b/pages/common/apkeep.md @@ -0,0 +1,16 @@ +# apkeep + +> Download APK files from various sources. +> More information: . + +- Download an APK file to the specified directory: + +`apkeep --app {{com.example.application}} {{path/to/directory}}` + +- List all available versions for download: + +`apkeep --app {{com.example.application}} --list-versions {{path/to/directory}}` + +- Specify a store to download from: + +`apkeep --app {{com.example.application}} --download-source {{apk-pure|google-play|f-droid|huawei-app-gallery}} {{path/to/directory}}` diff --git a/pages/common/apkleaks.md b/pages/common/apkleaks.md new file mode 100644 index 00000000000000..b333736d2166fd --- /dev/null +++ b/pages/common/apkleaks.md @@ -0,0 +1,17 @@ +# apkleaks + +> Expose URIs, endpoints, and secrets from APK files. +> Note: APKLeaks utilizes the `jadx` disassembler to decompile APK files. +> More information: . + +- Scan an APK file for URIs, endpoints, and secrets: + +`apkleaks {{[-f|--file]}} {{path/to/file.apk}}` + +- Scan and save the output to a specific file: + +`apkleaks {{[-f|--file]}} {{path/to/file.apk}} {{[-o|--output]}} {{path/to/output.txt}}` + +- Pass `jadx` disassembler arguments: + +`apkleaks {{[-f|--file]}} {{path/to/file.apk}} {{[-a|--args]}} "{{--threads-count 5 --deobf}}"` diff --git a/pages/common/apktool.md b/pages/common/apktool.md index 77afb83f3dd4e2..908d2540582ca8 100644 --- a/pages/common/apktool.md +++ b/pages/common/apktool.md @@ -5,12 +5,12 @@ - Decode an APK file: -`apktool d {{file.apk}}` +`apktool d {{path/to/file.apk}}` - Build an APK file from a directory: `apktool b {{path/to/directory}}` -- Install and store frameworks: +- Install and store a framework: -`apktool if {{framework.apk}}` +`apktool if {{path/to/framework.apk}}` diff --git a/pages/common/apm.md b/pages/common/apm.md index dd2ac8484f0340..1b35576bea7c7c 100644 --- a/pages/common/apm.md +++ b/pages/common/apm.md @@ -1,17 +1,17 @@ # apm > Atom editor Package Manager. -> See `atom`. +> See also: `atom`. > More information: . -- Install packages from http://atom.io/packages and themes from http://atom.io/themes: +- Install a package from or a theme from : -`apm install {{package_name}}` +`apm install {{package}}` -- Remove packages/themes: +- Remove a package/theme: -`apm remove {{package_name}}` +`apm remove {{package}}` -- Upgrade packages/themes: +- Upgrade a package/theme: -`apm upgrade {{package_name}}` +`apm upgrade {{package}}` diff --git a/pages/common/apropos.md b/pages/common/apropos.md index 1ca20abe6d1ea5..c484d003c51353 100644 --- a/pages/common/apropos.md +++ b/pages/common/apropos.md @@ -1,15 +1,16 @@ # apropos -> Search in manpages, for example to find a new command. +> Search the manual pages for names and descriptions. +> More information: . -- Search for keyword: +- Search for a keyword using a `regex`: -`apropos {{regular_expression}}` +`apropos {{regex}}` -- Search without restricting output to terminal width: +- Search without restricting the output to the terminal width ([l]ong output): -`apropos -l {{regular_expression}}` +`apropos {{[-l|--long]}} {{regex}}` -- Search for pages that only contain all of the expressions given (AND search): +- Search for pages that match all the `regex` given: -`apropos {{regular_expression_1}} -a {{regular_expression_2}} -a {{regular_expression_3}` +`apropos {{regex_1}} {{[-a|--and]}} {{regex_2}} {{[-a|--and]}} {{regex_3}}` diff --git a/pages/common/ar.md b/pages/common/ar.md index 9066b7fe9aa0bb..522eaf3d9cbe7b 100644 --- a/pages/common/ar.md +++ b/pages/common/ar.md @@ -1,23 +1,25 @@ # ar -> Create, modify, and extract from archives (.a, .so, .o). +> Create, modify, and extract from Unix archives. Typically used for static libraries (`.a`) and Debian packages (`.deb`). +> See also: `tar`. +> More information: . -- Extract all members from an archive: +- E[x]tract all members from an archive: -`ar -x {{libfoo.a}}` +`ar x {{path/to/file.a}}` -- List the members of an archive: +- Lis[t] contents in a specific archive: -`ar -t {{libfoo.a}}` +`ar t {{path/to/file.ar}}` -- Replace or add files to an archive: +- [r]eplace or add specific files to an archive: -`ar -r {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}` +`ar r {{path/to/file.deb}} {{path/to/debian-binary path/to/control.tar.gz path/to/data.tar.xz ...}}` -- Insert an object file index (equivalent to using `ranlib`): +- In[s]ert an object file index (equivalent to using `ranlib`): -`ar -s {{libfoo.a}}` +`ar s {{path/to/file.a}}` -- Create an archive with files and an accompanying object file index: +- Create an archive with specific files and an accompanying object file index: -`ar -rs {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}` +`ar rs {{path/to/file.a}} {{path/to/file1.o path/to/file2.o ...}}` diff --git a/pages/common/arc.md b/pages/common/arc.md index 5a86732b39bba3..df3265fc3107f0 100644 --- a/pages/common/arc.md +++ b/pages/common/arc.md @@ -1,6 +1,6 @@ # arc -> Arcanist: A CLI for Phabricator. +> Arcanist: a CLI for Phabricator. > More information: . - Send the changes to Differential for review: diff --git a/pages/common/arch.md b/pages/common/arch.md index 4aa9c3f070dc08..f930fd68bab8b1 100644 --- a/pages/common/arch.md +++ b/pages/common/arch.md @@ -1,7 +1,8 @@ # arch > Display the name of the system architecture. -> See also `uname`. +> See also: `uname`. +> More information: . - Display the system's architecture: diff --git a/pages/common/archwiki-rs.md b/pages/common/archwiki-rs.md new file mode 100644 index 00000000000000..c5572a43c4be3a --- /dev/null +++ b/pages/common/archwiki-rs.md @@ -0,0 +1,20 @@ +# archwiki-rs + +> Read, search and download pages from the ArchWiki. +> More information: . + +- Read a page from the ArchWiki: + +`archwiki-rs read-page {{page_title}}` + +- Read a page from the ArchWiki in the specified format: + +`archwiki-rs read-page {{page_title}} --format {{plain-text|markdown|html}}` + +- Search the ArchWiki for pages containing the provided text: + +`archwiki-rs search "{{search_text}}" --text-search` + +- Download a local copy of all ArchWiki pages into a specific directory: + +`archwiki-rs local-wiki /{{path/to/local_wiki}} --format {{plain-text|markdown|html}}` diff --git a/pages/common/arduino-builder.md b/pages/common/arduino-builder.md new file mode 100644 index 00000000000000..d31e7d1e45d781 --- /dev/null +++ b/pages/common/arduino-builder.md @@ -0,0 +1,25 @@ +# arduino-builder + +> Compile arduino sketches. +> DEPRECATION WARNING: this tool is being phased out in favor of `arduino`. +> More information: . + +- Compile a sketch: + +`arduino-builder -compile {{path/to/sketch.ino}}` + +- Specify the debug level (default: 5): + +`arduino-builder -debug-level {{1..10}}` + +- Specify a custom build directory: + +`arduino-builder -build-path {{path/to/build_directory}}` + +- Use a build option file, instead of specifying `-hardware`, `-tools`, etc. manually every time: + +`arduino-builder -build-options-file {{path/to/build.options.json}}` + +- Enable verbose mode: + +`arduino-builder -verbose {{true}}` diff --git a/pages/common/arduino.md b/pages/common/arduino.md new file mode 100644 index 00000000000000..b71e5a3ed33f42 --- /dev/null +++ b/pages/common/arduino.md @@ -0,0 +1,36 @@ +# arduino + +> Arduino Studio - Integrated Development Environment for the Arduino platform. +> More information: . + +- Build a sketch: + +`arduino --verify {{path/to/file.ino}}` + +- Build and upload a sketch: + +`arduino --upload {{path/to/file.ino}}` + +- Build and upload a sketch to an Arduino Nano with an Atmega328p CPU, connected on port `/dev/ttyACM0`: + +`arduino --board {{arduino:avr:nano:cpu=atmega328p}} --port {{/dev/ttyACM0}} --upload {{path/to/file.ino}}` + +- Set the preference `name` to a given `value`: + +`arduino --pref {{name}}={{value}}` + +- Build a sketch, put the build results in the build directory, and reuse any previous build results in that directory: + +`arduino --pref build.path={{path/to/build_directory}} --verify {{path/to/file.ino}}` + +- Save any (changed) preferences to `preferences.txt`: + +`arduino --save-prefs` + +- Install the latest SAM board: + +`arduino --install-boards "{{arduino:sam}}"` + +- Install Bridge and Servo libraries: + +`arduino --install-library "{{Bridge:1.0.0,Servo:1.2.0}}"` diff --git a/pages/common/argocd-app.md b/pages/common/argocd-app.md new file mode 100644 index 00000000000000..75a3ee117d6a7a --- /dev/null +++ b/pages/common/argocd-app.md @@ -0,0 +1,36 @@ +# argocd app + +> Interface to manage applications by Argo CD. +> More information: . + +- List applications: + +`argocd app list --output {{json|yaml|wide}}` + +- Get application details: + +`argocd app get {{app_name}} --output {{json|yaml|wide}}` + +- Deploy application internally (to the same cluster that Argo CD is running in): + +`argocd app create {{app_name}} --repo {{git_repo_url}} --path {{path/to/repo}} --dest-server https://kubernetes.default.svc --dest-namespace {{ns}}` + +- Delete an application: + +`argocd app delete {{app_name}}` + +- Enable application auto-sync: + +`argocd app set {{app_name}} --sync-policy auto --auto-prune --self-heal` + +- Preview app synchronization without affecting cluster: + +`argocd app sync {{app_name}} --dry-run --prune` + +- Show application deployment history: + +`argocd app history {{app_name}} --output {{wide|id}}` + +- Rollback application to a previous deployed version by history ID (deleting unexpected resources): + +`argocd app rollback {{app_name}} {{history_id}} --prune` diff --git a/pages/common/argocd.md b/pages/common/argocd.md new file mode 100644 index 00000000000000..f62d0798179fee --- /dev/null +++ b/pages/common/argocd.md @@ -0,0 +1,13 @@ +# argocd + +> Interface to control an Argo CD server. +> Some subcommands such as `app` have their own usage documentation. +> More information: . + +- Login to Argo CD server: + +`argocd login --insecure --username {{user}} --password {{password}} {{argocd_server:port}}` + +- List applications: + +`argocd app list` diff --git a/pages/common/argon2.md b/pages/common/argon2.md new file mode 100644 index 00000000000000..b1f535bfd5d5d0 --- /dev/null +++ b/pages/common/argon2.md @@ -0,0 +1,20 @@ +# argon2 + +> Calculate Argon2 cryptographic hashes. +> More information: . + +- Calculate a hash with a password and a salt with the default parameters: + +`echo "{{password}}" | argon2 "{{salt_text}}"` + +- Calculate a hash with the specified algorithm: + +`echo "{{password}}" | argon2 "{{salt_text}}" -{{d|i|id}}` + +- Display the output hash without additional information: + +`echo "{{password}}" | argon2 "{{salt_text}}" -e` + +- Calculate a hash with given iteration [t]imes, [m]emory usage, and [p]arallelism parameters: + +`echo "{{password}}" | argon2 "{{salt_text}}" -t {{5}} -m {{20}} -p {{7}}` diff --git a/pages/common/argos-translate.md b/pages/common/argos-translate.md new file mode 100644 index 00000000000000..eba837157cbd66 --- /dev/null +++ b/pages/common/argos-translate.md @@ -0,0 +1,32 @@ +# argos-translate + +> An open-source offline translation library and CLI tool written in Python. +> More information: . + +- Install translation pairs for Spanish to English translation: + +`argospm install translate-es_en` + +- Translate some text from Spanish (`es`) to English (`en`) (Note: Only two letter language codes are supported): + +`argos-translate --from-lang es --to-lang en {{un texto corto}}` + +- Translate a text file from English to Hindi: + +`cat {{path/to/file.txt}} | argos-translate --from-lang en --to-lang hi` + +- List all installed translation pairs: + +`argospm list` + +- Show translation pairs from English that are available to be installed: + +`argospm search --from-lang en` + +- Update installed language package pairs: + +`argospm update` + +- Translate from `ar` to `ru` (Note: This requires the translation pairs `translate-ar_en` and `translate-en_ru` to be installed): + +`argos-translate --from-lang ar --to-lang ru {{صورة تساوي أكثر من ألف كلمة}}` diff --git a/pages/common/aria2.md b/pages/common/aria2.md index 0132a2f13abe28..d4136f79e4a72a 100644 --- a/pages/common/aria2.md +++ b/pages/common/aria2.md @@ -1,33 +1,7 @@ # aria2 -> A lightweight multi-protocol & multi-source command-line download utility. -> Supports HTTP, HTTPS, FTP, SFTP, BitTorrent and Metalink. -> More information: . +> This command is an alias of `aria2c`. -- Download a web resource: +- View documentation for the updated command: -`aria2c {{http://example.org/myLinux.iso}}` - -- Download a resource from multiple sources: - -`aria2c {{http://mirror1.org/myLinux.iso}} {{http://mirror2.org/myLinux.iso}}` - -- Download using 2 connections per host: - -`aria2c -x{{2}} {{http://example.org/myLinux.iso}}` - -- Download from a Metalink URI: - -`aria2c {{http://example.org/myLinux.metalink}}` - -- Download from a BitTorrent URI: - -`aria2c {{http://example.org/myLinux.torrent}}` - -- Download from a BitTorrent Magnet URI: - -`aria2c {{'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C'}}` - -- Download URIs from a file: - -`aria2c -i {{uris.txt}}` +`tldr aria2c` diff --git a/pages/common/aria2c.md b/pages/common/aria2c.md index 260fa88cb1725c..7f20130cac3ddd 100644 --- a/pages/common/aria2c.md +++ b/pages/common/aria2c.md @@ -4,30 +4,34 @@ > Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink. > More information: . -- Download a URI to a file: +- Download a specific URI to a file: -`aria2c {{url}}` +`aria2c "{{url}}"` -- Download the contents of an URL to a file: +- Download a file from a URI with a specific output name: -`aria2c -o {{filename}} {{url}}` +`aria2c --out {{path/to/file}} "{{url}}"` -- Download from multiple sources: +- Download multiple different files in parallel: -`aria2c {{url_1}} {{url_2}}` +`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"` -- Download the URIs listed in a file: +- Download the same file from different mirrors and verify the checksum of the downloaded file: -`aria2c -i {{filename}}` +`aria2c --checksum {{sha-256}}={{hash}} {{"url1" "url2" ...}}` + +- Download the URIs listed in a file with a specific number of parallel downloads: + +`aria2c --input-file {{path/to/file}} --max-concurrent-downloads {{number_of_downloads}}` - Download with multiple connections: -`aria2c -s {{connections_num}} {{url}}` +`aria2c --split {{number_of_connections}} "{{url}}"` - FTP download with username and password: -`aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}` +`aria2c --ftp-user {{username}} --ftp-passwd {{password}} "{{url}}"` - Limit download speed in bytes/s: -`aria2c --max-download-limit={{speed}} {{url}}` +`aria2c --max-download-limit {{speed}} "{{url}}"` diff --git a/pages/common/arp-scan.md b/pages/common/arp-scan.md new file mode 100644 index 00000000000000..5a22e7709f22cc --- /dev/null +++ b/pages/common/arp-scan.md @@ -0,0 +1,20 @@ +# arp-scan + +> Send ARP packets to hosts (specified as IP addresses or hostnames) to scan the local network. +> More information: . + +- Scan the current local network: + +`arp-scan {{[-l|--localnet]}}` + +- Scan an IP network with a custom bitmask: + +`arp-scan {{192.168.1.1}}/{{24}}` + +- Scan an IP network within a custom range: + +`arp-scan {{127.0.0.0}}-{{127.0.0.31}}` + +- Scan an IP network with a custom net mask: + +`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages/common/arp.md b/pages/common/arp.md index 7c6a70eac396dd..d40e9e560e97a9 100644 --- a/pages/common/arp.md +++ b/pages/common/arp.md @@ -1,19 +1,16 @@ # arp > Show and manipulate your system's ARP cache. +> More information: . -- Show current arp table: +- Show the current ARP table: `arp -a` -- Clear the entire cache: - -`sudo arp -a -d` - -- Delete a specific entry: +- [d]elete a specific entry: `arp -d {{address}}` -- Create an entry: +- [s]et up a new entry in the ARP table: `arp -s {{address}} {{mac_address}}` diff --git a/pages/common/arping.md b/pages/common/arping.md index ebbd2ffaacc065..3df0f391104d8e 100644 --- a/pages/common/arping.md +++ b/pages/common/arping.md @@ -2,7 +2,7 @@ > Discover and probe hosts in a network using the ARP protocol. > Useful for MAC address discovery. -> More information: . +> More information: . - Ping a host by ARP request packets: @@ -12,18 +12,18 @@ `arping -I {{interface}} {{host_ip}}` -- Ping a host and stop at the first reply: +- Ping a host and [f]inish after the first reply: `arping -f {{host_ip}}` -- Ping a host a specific number of times: +- Ping a host a specific number ([c]ount) of times: `arping -c {{count}} {{host_ip}}` -- Broadcast ARP request packets to update neighbours' ARP caches: +- Broadcast ARP request packets to update neighbours' ARP caches ([U]nsolicited ARP mode): `arping -U {{ip_to_broadcast}}` -- Detect duplicated IP addresses in the network by sending ARP requests with a 3 seconds timeout: +- [D]etect duplicated IP addresses in the network by sending ARP requests with a 3 second timeout: `arping -D -w {{3}} {{ip_to_check}}` diff --git a/pages/common/arthas-trace.md b/pages/common/arthas-trace.md new file mode 100644 index 00000000000000..9fb1dd5f27b3d4 --- /dev/null +++ b/pages/common/arthas-trace.md @@ -0,0 +1,21 @@ +# arthas-trace + +> Trace method invoke chain, and output the time cost for each node in the path. +> See also: `arthas`, `arthas-watch`. +> More information: . + +- Trace method invoke chain: + +`trace {{class-pattern}} {{method-pattern}}` + +- Trace method invoke chains and only display invoke information longer than 10 ms: + +`trace {{class-pattern}} {{method-pattern}} '#cost > {{10}}'` + +- Trace the invoke chain of multiple classes or multiple methods: + +`trace -E {{class-pattern1}}|{{class-patter2}} {{method-pattern1}}|{{method-pattern2}}|{{method-pattern3}}` + +- Track method invoke chains, only display invoke information that exceeds 10 ms, and exit after 5 times: + +`trace {{class-pattern}} {{method-pattern}} '#cost > {{10}}' -n 5` diff --git a/pages/common/arthas-watch.md b/pages/common/arthas-watch.md new file mode 100644 index 00000000000000..7ddf2c94472d12 --- /dev/null +++ b/pages/common/arthas-watch.md @@ -0,0 +1,17 @@ +# arthas-watch + +> Method invoke data observation. +> See also: `arthas`, `arthas-trace`. +> More information: . + +- Observe the first parameter and return value of method, and expand the nested attributes of the object to 4 levels: + +`watch {{class-pattern}} {{method-pattern}} {{'{ params[0],returnObj }'}} -x 4` + +- When the value of the first parameter of the method is 5, the second parameter and return value are output, and the object is expanded 4 layers: + +`watch {{class-pattern}} {{method-pattern}} {{'{ params[1],returnObj }'}} {{'"5".equals(params[0])'}} -x 4` + +- When the method returns or an exception occurs, observe the count property of the second parameter: + +`watch {{class-pattern}} {{method-pattern}} {{'{ params[1].count }'}} -e -s` diff --git a/pages/common/arthas.md b/pages/common/arthas.md new file mode 100644 index 00000000000000..cf31667b216ec4 --- /dev/null +++ b/pages/common/arthas.md @@ -0,0 +1,21 @@ +# arthas + +> Java diagnostic tool. +> See also: `arthas-watch`, `arthas-trace`. +> More information: . + +- Start Arthas: + +`java -jar {{path/to/arthas-boot.jar}}` + +- Reconnect Arthas (default port used by Arthas is 3658): + +`telnet localhost {{port_number}}` + +- Exit the current Arthas client without affecting other clients. equals `exit`、`logout`、`q` command: + +`{{exit|quit|logout|q}}` + +- Terminate the Arthas server, all the Arthas clients connecting to this server will be disconnected: + +`stop` diff --git a/pages/common/asar.md b/pages/common/asar.md index 9b6d00dc511525..3c332e9b64aabe 100644 --- a/pages/common/asar.md +++ b/pages/common/asar.md @@ -5,16 +5,16 @@ - Archive a file or directory: -`asar pack {{path/to/file_or_directory}} {{archived.asar}}` +`asar pack {{path/to/input_file_or_directory}} {{path/to/output_archive.asar}}` - Extract an archive: -`asar extract {{archived.asar}}` +`asar extract {{path/to/archive.asar}}` - Extract a specific file from an archive: -`asar extract-file {{archived.asar}} {{file}}` +`asar extract-file {{path/to/archive.asar}} {{file}}` - List the contents of an archive file: -`asar list {{archived.asar}}` +`asar list {{path/to/archive.asar}}` diff --git a/pages/common/ascii-image-converter.md b/pages/common/ascii-image-converter.md new file mode 100644 index 00000000000000..d93af271f0b3a7 --- /dev/null +++ b/pages/common/ascii-image-converter.md @@ -0,0 +1,28 @@ +# ascii-image-converter + +> Convert an image into ASCII. +> More information: . + +- Convert an image into ASCII: + +`ascii-image-converter {{path/to/image|URL}}` + +- Colorize the output: + +`ascii-image-converter {{[-C|--color]}} {{path/to/image|URL}}` + +- Create a tresholded image using braille (if the image is barely visible, try changing the terminal font): + +`ascii-image-converter {{[-b|--braille]}} {{path/to/image|URL}}` + +- Create a dithered image using braille (if the image is barely visible, try changing the terminal font): + +`ascii-image-converter {{[-b|--braille]}} --dither {{path/to/image|URL}}` + +- Display the image with negative colors: + +`ascii-image-converter {{[-Cn|--color --negative]}} {{path/to/image|URL}}` + +- Use a wider range of characters to display an image (may improve image accuracy): + +`ascii-image-converter {{[-c|--complex]}} {{path/to/image|URL}}` diff --git a/pages/common/asciidoctor.md b/pages/common/asciidoctor.md new file mode 100644 index 00000000000000..acb32a550db65c --- /dev/null +++ b/pages/common/asciidoctor.md @@ -0,0 +1,20 @@ +# asciidoctor + +> Convert AsciiDoc files to a publishable format. +> More information: . + +- Convert a specific `.adoc` file to HTML (the default output format): + +`asciidoctor {{path/to/file.adoc}}` + +- Convert a specific `.adoc` file to HTML and link a CSS stylesheet: + +`asciidoctor {{[-a|--attribute]}} stylesheet {{path/to/stylesheet.css}} {{path/to/file.adoc}}` + +- Convert a specific `.adoc` file to embeddable HTML, removing everything except the body: + +`asciidoctor {{[-e|--embedded]}} {{path/to/file.adoc}}` + +- Convert a specific `.adoc` file to a PDF using the `asciidoctor-pdf` library: + +`asciidoctor {{[-b|--backend]}} {{pdf}} {{[-r|--require ]}}{{asciidoctor-pdf}} {{path/to/file.adoc}}` diff --git a/pages/common/asciinema.md b/pages/common/asciinema.md index 7e3bc3cf3b2521..b1ae2fdc873667 100644 --- a/pages/common/asciinema.md +++ b/pages/common/asciinema.md @@ -1,36 +1,37 @@ # asciinema -> Record and replay terminal sessions, and optionally share them on asciinema.org. -> More information: . +> Record and replay terminal sessions, and optionally share them on . +> See also: `terminalizer`. +> More information: . - Associate the local install of `asciinema` with an asciinema.org account: -`asciinema auth` +`asciinema {{[a|auth]}}` -- Make a new recording (once finished, user will be prompted to upload it or save it locally): +- Make a new recording and save it to a local file (finish it with `` or type `exit`): -`asciinema rec` - -- Make a new recording and save it to a local file: - -`asciinema rec {{path/to/file}}.cast` +`asciinema {{[r|record]}} {{path/to/recording.cast}}` - Replay a terminal recording from a local file: -`asciinema play {{path/to/file}}.cast` +`asciinema {{[p|play]}} {{path/to/recording.cast}}` -- Replay a terminal recording hosted on asciinema.org: +- Replay a terminal recording hosted on : -`asciinema play https://asciinema.org/a/{{cast_id}}` +`asciinema {{[p|play]}} https://asciinema.org/a/{{cast_id}}` - Make a new recording, limiting any idle time to at most 2.5 seconds: -`asciinema rec -i {{2.5}}` +`asciinema {{[r|record]}} {{[-i|--idle-time-limit]}} 2.5` - Print the full output of a locally saved recording: -`asciinema cat {{path/to/file}}.cast` +`asciinema {{[ca|cat]}} {{path/to/recording.cast}}` - Upload a locally saved terminal session to asciinema.org: -`asciinema upload {{path/to/file}}.cast` +`asciinema {{[u|upload]}} {{path/to/recording.cast}}` + +- Stream the current terminal on a local webpage: + +`asciinema {{[st|stream]}} --local` diff --git a/pages/common/asciitopgm.md b/pages/common/asciitopgm.md new file mode 100644 index 00000000000000..5433a39b623ba3 --- /dev/null +++ b/pages/common/asciitopgm.md @@ -0,0 +1,12 @@ +# asciitopgm + +> Convert ASCII graphics into a PGM file. +> More information: . + +- Read ASCII data as input and produce a PGM image with pixel values that are an approximation of the "brightness" of the ASCII characters: + +`asciitopgm {{path/to/input_file}} > {{path/to/output_file.pgm}}` + +- Display version: + +`asciitopgm {{[-v|-version]}}` diff --git a/pages/common/asdf.md b/pages/common/asdf.md index 3c23716a14b84d..95f416aa7ac14b 100644 --- a/pages/common/asdf.md +++ b/pages/common/asdf.md @@ -1,19 +1,19 @@ # asdf -> Command line interface for managing versions of different packages. -> More information: . +> Manage versions of different packages. +> More information: . - List all available plugins: -`asdf plugin-list-all` +`asdf plugin list all` - Install a plugin: -`asdf plugin-add {{name}}` +`asdf plugin add {{name}}` - List all available versions for a package: -`asdf list-all {{name}}` +`asdf list all {{name}}` - Install a specific version of a package: @@ -21,8 +21,12 @@ - Set global version for a package: -`asdf global {{name}} {{version}}` +`asdf set -u {{name}} {{version}}` - Set local version for a package: -`asdf local {{name}} {{version}}` +`asdf set {{name}} {{version}}` + +- See the current version used for a package: + +`asdf current {{name}}` diff --git a/pages/common/asnmap.md b/pages/common/asnmap.md new file mode 100644 index 00000000000000..3a4a03ff33157d --- /dev/null +++ b/pages/common/asnmap.md @@ -0,0 +1,37 @@ +# asnmap + +> A Go CLI tool for mapping organization network ranges using ASN information. +> Note: An API key is required from ProjectDiscovery Cloud Platform for the tool to work. +> More information: . + +- Lookup CIDR ranges for an ASN: + +`asnmap {{[-a|-asn]}} {{AS5650}} -silent` + +- Lookup CIDR ranges for an IP address: + +`asnmap {{[-i|-ip]}} {{100.19.12.21}} -silent` + +- Lookup CIDR ranges for a domain: + +`asnmap {{[-d|-domain]}} {{example.com}} -silent` + +- Lookup CIDR ranges for an organization: + +`asnmap -org {{GOOGLE}} -silent` + +- Lookup CIDR ranges from a file of targets: + +`asnmap {{[-f|-file]}} {{targets.txt}} -silent` + +- Output results in JSON format: + +`asnmap {{[-d|-domain]}} {{facebook.com}} {{[-j|-json]}} -silent` + +- Output results in CSV format: + +`asnmap {{[-a|-asn]}} {{AS394161}} {{[-c|-csv]}} -silent` + +- Update asnmap to the latest version: + +`asnmap {{[-up|-update]}}` diff --git a/pages/common/aspell.md b/pages/common/aspell.md new file mode 100644 index 00000000000000..d07f3a4fdc69f7 --- /dev/null +++ b/pages/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> Interactive spell checker. +> More information: . + +- Spell check a single file: + +`aspell check {{path/to/file}}` + +- List misspelled words from `stdin`: + +`cat {{path/to/file}} | aspell list` + +- Show available dictionary languages: + +`aspell dicts` + +- Run `aspell` with a different language (takes two-letter ISO 639 language code): + +`aspell --lang {{cs}}` + +- List misspelled words from `stdin` and ignore words from personal word list: + +`cat {{path/to/file}} | aspell --personal {{personal-word-list.pws}} list` diff --git a/pages/common/assimp.md b/pages/common/assimp.md index c0f92246f5dbda..b16c5fd11d43ab 100644 --- a/pages/common/assimp.md +++ b/pages/common/assimp.md @@ -1,8 +1,8 @@ # assimp -> Command-line client for the Open Asset Import Library. +> Client for the Open Asset Import Library. > Supports loading of 40+ 3D file formats, and exporting to several popular 3D formats. -> More information: . +> More information: . - List all supported import formats: @@ -24,10 +24,10 @@ `assimp info {{path/to/file}}` -- List all supported subcommands ("verbs"): +- Display help: `assimp help` -- Get help on a specific subcommand (e.g. the parameters specific to it): +- Display help for a specific subcommand: `assimp {{subcommand}} --help` diff --git a/pages/common/astronomer.md b/pages/common/astronomer.md index 40d65ec94d1f37..0eb2cebc6c147f 100644 --- a/pages/common/astronomer.md +++ b/pages/common/astronomer.md @@ -1,6 +1,6 @@ # astronomer -> Tool that detects illegitimate stars from bot accounts on GitHub projects. +> Detect illegitimate stars from bot accounts on GitHub projects. > More information: . - Scan a repository: diff --git a/pages/common/astroterm.md b/pages/common/astroterm.md new file mode 100644 index 00000000000000..9520665207bdcd --- /dev/null +++ b/pages/common/astroterm.md @@ -0,0 +1,24 @@ +# astroterm + +> A terminal-based star map. +> More information: . + +- Display real-time positions of stars and planets based on your current location: + +`astroterm` + +- Display constellations, use colour, and render the simulation at the given frame rate: + +`astroterm {{[-C|--constellations]}} {{[-c|--color]}} {{[-f|--fps]}} {{60}}` + +- Use unicode characters instead of the basic ASCII characters, and only render stars brighter than the given magnitude: + +`astroterm {{[-u|--unicode]}} {{[-t|--threshold]}} {{2.0}}` + +- Use a given latitude, longitude and datetime: + +`astroterm {{[-a|--latitude]}} {{90.0}} {{[-o|--longitude]}} {{-180.0}} {{[-d|--datetime]}} {{2025-08-04T12:00:00}}` + +- Use the longitude and latitude of a given city, and set the speed of the simulation to a given factor: + +`astroterm {{[-i|--city]}} {{Singapore}} {{[-s|--speed]}} {{1000.0}}` diff --git a/pages/common/astyle.md b/pages/common/astyle.md index c85440c3004ad1..8f5f6a7207febb 100644 --- a/pages/common/astyle.md +++ b/pages/common/astyle.md @@ -2,13 +2,13 @@ > Source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages. > Upon running, a copy of the original file is created with an ".orig" appended to the original file name. -> More information: . +> More information: . - Apply the default style of 4 spaces per indent and no formatting changes: `astyle {{source_file}}` -- Apply the java style with attached braces: +- Apply the Java style with attached braces: `astyle --style=java {{path/to/file}}` diff --git a/pages/common/at.md b/pages/common/at.md index dfea15773587a0..2d2af801111b45 100644 --- a/pages/common/at.md +++ b/pages/common/at.md @@ -1,16 +1,29 @@ # at > Execute commands once at a later time. -> Service atd (or atrun) should be running for the actual executions. +> Results will be sent to the users mail. +> More information: . -- Execute commands from standard input in 5 minutes (press `Ctrl + D` when done): +- Create commands interactively and execute them in 5 minutes (press `` when done): `at now + 5 minutes` -- Execute a command from standard input at 10:00 AM today: +- Create commands interactively and execute them at a specific time: -`echo "{{./make_db_backup.sh}}" | at 1000` +`at {{hh:mm}}` + +- Execute a command from `stdin` at 10:00 AM today: + +`echo "{{command}}" | at 1000` - Execute commands from a given file next Tuesday: `at -f {{path/to/file}} 9:30 PM Tue` + +- List all queued jobs for the current user (same as `atq`): + +`at -l` + +- View a specied job: + +`at -c {{job_number}}` diff --git a/pages/common/atktopbm.md b/pages/common/atktopbm.md new file mode 100644 index 00000000000000..77301b7007fb78 --- /dev/null +++ b/pages/common/atktopbm.md @@ -0,0 +1,9 @@ +# atktopbm + +> Convert a Andrew Toolkit raster object to a PBM image. +> See also: `pbmtoatk`. +> More information: . + +- Convert a Andrew Toolkit raster object to a PBM image: + +`atktopbm {{path/to/image.atk}} > {{path/to/output.pbm}}` diff --git a/pages/common/atom.md b/pages/common/atom.md index bc92b0591d4660..42daa1260a40fb 100644 --- a/pages/common/atom.md +++ b/pages/common/atom.md @@ -2,13 +2,14 @@ > A cross-platform pluggable text editor. > Plugins are managed by `apm`. +> Note: Atom has been sunsetted and is no longer actively maintained. > More information: . - Open a file or directory: `atom {{path/to/file_or_directory}}` -- Open a file or directory in a new window: +- Open a file or directory in a [n]ew window: `atom -n {{path/to/file_or_directory}}` diff --git a/pages/common/atool.md b/pages/common/atool.md new file mode 100644 index 00000000000000..c97d80b6fd8557 --- /dev/null +++ b/pages/common/atool.md @@ -0,0 +1,37 @@ +# atool + +> A script for managing file archives of various types. +> `atool` uses external archiver programs but provides a consistent command-line interface for listing, extracting, creating, and managing archives. +> More information: . + +- List files in an archive: + +`atool {{[-l|--list]}} {{path/to/archive.zip}}` + +- Extract an archive (safely creates a subdirectory if needed): + +`atool {{[-x|--extract]}} {{archive.tar.gz}}` + +- Extract an archive to a specific directory: + +`atool {{[-X|--extract-to]}} {{path/to/output_directory}} {{archive.rar}}` + +- Display a specific file's content from an archive to standard output (like `cat`): + +`atool {{[-c|--cat]}} {{archive.tar}} {{path/to/file_in_archive.txt}}` + +- Create a new archive from specified files and/or directories: + +`atool {{[-a|--add]}} {{new_archive.zip}} {{path/to/file1 path/to/file2 ...}}` + +- List files in an archive and send the output through a pager: + +`atool {{[-l|--list]}} {{[-p|--pager]}} {{large_archive.tar.bz2}}` + +- Extract multiple archives at once (each to its own subdirectory if needed): + +`atool {{[-x|--extract]}} {{[-e|--each]}} {{archive1.zip}} {{archive2.tar.gz}} {{*.rar}}` + +- Repack an archive from one format to another (e.g., .tar.gz to .tar.7z): + +`atool {{[-r|--repack]}} {{old_archive.tar.gz}} {{new_archive.tar.7z}}` diff --git a/pages/common/atoum.md b/pages/common/atoum.md index 426b10dbe52d68..932e16f6eebc50 100644 --- a/pages/common/atoum.md +++ b/pages/common/atoum.md @@ -1,9 +1,9 @@ # atoum > A simple, modern and intuitive unit testing framework for PHP. -> More information: . +> More information: . -- Initialise a configuration file: +- Initialize a configuration file: `atoum --init` @@ -13,24 +13,24 @@ - Run tests using the specified configuration file: -`atoum -c {{path/to/file}}` +`atoum {{[-c|--configuration]}} {{path/to/file}}` - Run a specific test file: -`atoum -f {{path/to/file}}` +`atoum {{[-f|--files]}} {{path/to/file}}` - Run a specific directory of tests: -`atoum -d {{path/to/directory}}` +`atoum {{[-d|--directories]}} {{path/to/directory}}` - Run all tests under a specific namespace: -`atoum -ns {{namespace}}` +`atoum {{[-ns|--namespaces]}} {{namespace}}` - Run all tests with a specific tag: -`atoum -t {{tag}}` +`atoum {{[-t|--tags]}} {{tag}}` - Load a custom bootstrap file before running tests: -`atoum --bootstrap-file {{path/to/file}}` +`atoum {{[-bf|--bootstrap-file]}} {{path/to/file}}` diff --git a/pages/common/atq.md b/pages/common/atq.md index 4b993a44723b24..a8f88047e15daf 100644 --- a/pages/common/atq.md +++ b/pages/common/atq.md @@ -1,15 +1,16 @@ # atq > Show jobs scheduled by `at` or `batch` commands. +> More information: . - Show the current user's scheduled jobs: `atq` -- Show jobs from queue named 'a' (queues have single-character names): +- Show jobs from the 'a' [q]ueue (queues have single-character names): `atq -q {{a}}` -- Show jobs of all users (run as super user): +- Show jobs of all users (run as superuser): `sudo atq` diff --git a/pages/common/atrm.md b/pages/common/atrm.md index f874220c9041a2..9bf0a71f785cd0 100644 --- a/pages/common/atrm.md +++ b/pages/common/atrm.md @@ -2,6 +2,7 @@ > Remove jobs scheduled by `at` or `batch` commands. > To find job numbers use `atq`. +> More information: . - Remove job number 10: diff --git a/pages/common/atuin.md b/pages/common/atuin.md new file mode 100644 index 00000000000000..c3e2433e21dd04 --- /dev/null +++ b/pages/common/atuin.md @@ -0,0 +1,29 @@ +# atuin + +> Store your shell history in a searchable database. +> Optionally sync your encrypted history between machines. +> More information: . + +- Install atuin into your shell: + +`eval "$(atuin init {{bash|zsh|fish}})"` + +- Import history from the shell default history file: + +`atuin import auto` + +- Search shell history for a specific command: + +`atuin search {{command}}` + +- Register an account on the default sync server using the specified [u]sername, [e]mail and [p]assword: + +`atuin register -u {{username}} -e {{email}} -p {{password}}` + +- Login to the default sync server: + +`atuin login -u {{username}} -p {{password}}` + +- Sync history with the sync server: + +`atuin sync` diff --git a/pages/common/audacious.md b/pages/common/audacious.md new file mode 100644 index 00000000000000..08fbd1ac77998f --- /dev/null +++ b/pages/common/audacious.md @@ -0,0 +1,37 @@ +# audacious + +> An open-source audio player. Indirectly based on XMMS. +> See also: `audtool`, `clementine`, `mpc`, `ncmpcpp`. +> More information: . + +- Launch the GUI: + +`audacious` + +- Start a new instance and play an audio: + +`audacious --new-instance {{path/to/audio}}` + +- Enqueue a specific directory of audio files: + +`audacious --enqueue {{path/to/directory}}` + +- Start or stop playback: + +`audacious --play-pause` + +- Skip forwards ([fwd]) or backwards ([rew]) in the playlist: + +`audacious --{{fwd|rew}}` + +- Stop playback: + +`audacious --stop` + +- Start in CLI mode (headless): + +`audacious --headless` + +- Exit as soon as playback stops or there is nothing to playback: + +`audacious --quit-after-play` diff --git a/pages/common/auditd.md b/pages/common/auditd.md new file mode 100644 index 00000000000000..53a16c5440c4f3 --- /dev/null +++ b/pages/common/auditd.md @@ -0,0 +1,17 @@ +# auditd + +> This responds to requests from the audit utility and notifications from the kernel. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`auditd` + +- Start the daemon in debug mode: + +`auditd -d` + +- Start the daemon on-demand from launchd: + +`auditd -l` diff --git a/pages/common/audtool.md b/pages/common/audtool.md new file mode 100644 index 00000000000000..29b39451bae7b7 --- /dev/null +++ b/pages/common/audtool.md @@ -0,0 +1,37 @@ +# audtool + +> Control Audacious using commands. +> See also: `audacious`. +> More information: . + +- Play/pause audio playback: + +`audtool playback-playpause` + +- Print artist, album, and song name of currently playing song: + +`audtool current-song` + +- Set volume of audio playback: + +`audtool set-volume {{100}}` + +- Skip to the next song: + +`audtool playlist-advance` + +- Print the bitrate of the current song in kilobits: + +`audtool current-song-bitrate-kbps` + +- Open Audacious in full-screen if hidden: + +`audtool mainwin-show` + +- Display help: + +`audtool help` + +- Display settings: + +`audtool preferences-show` diff --git a/pages/common/autoconf.md b/pages/common/autoconf.md new file mode 100644 index 00000000000000..0f4c4f9380ccfd --- /dev/null +++ b/pages/common/autoconf.md @@ -0,0 +1,16 @@ +# autoconf + +> Generate configuration scripts to automatically configure software source code packages. +> More information: . + +- Generate a configuration script from `configure.ac` (if present) or `configure.in` and save this script to `configure`: + +`autoconf` + +- Generate a configuration script from the specified template; output to `stdout`: + +`autoconf {{template-file}}` + +- Generate a configuration script from the specified template (even if the input file has not changed) and write the output to a file: + +`autoconf {{[-f|--force]}} {{[-o|--output]}} {{outfile}} {{template-file}}` diff --git a/pages/common/autoflake.md b/pages/common/autoflake.md index 29c72f44dea63d..499a48c26ac365 100644 --- a/pages/common/autoflake.md +++ b/pages/common/autoflake.md @@ -1,19 +1,19 @@ # autoflake -> A tool to remove unused imports and variables from Python code. +> Remove unused imports and variables from Python code. > More information: . - Remove unused variables from a single file and display the diff: -`autoflake --remove-unused-variables {{file.py}}` +`autoflake --remove-unused-variables {{path/to/file.py}}` - Remove unused imports from multiple files and display the diffs: -`autoflake --remove-all-unused-imports {{file1.py}} {{file2.py}} {{file3.py}}` +`autoflake --remove-all-unused-imports {{path/to/file1.py path/to/file2.py ...}}` - Remove unused variables from a file, overwriting the file: -`autoflake --remove-unused-variables --in-place {{file.py}}` +`autoflake --remove-unused-variables --in-place {{path/to/file.py}}` - Remove unused variables recursively from all files in a directory, overwriting each file: diff --git a/pages/common/autojump.md b/pages/common/autojump.md index dcb1af9a22f2c3..7ac2704e3a7ac0 100644 --- a/pages/common/autojump.md +++ b/pages/common/autojump.md @@ -1,9 +1,14 @@ # autojump > Quickly jump among the directories you visit the most. -> Aliases like j or jc are provided for even less typing. +> Aliases like `j` or `jc` are provided for even less typing. +> See also: `bashmarks`. > More information: . +- Add the `autojump` aliases to your shell: + +`source /usr/share/autojump/autojump.{{bash|fish|zsh}}` + - Jump to a directory that contains the given pattern: `j {{pattern}}` @@ -16,10 +21,10 @@ `jo {{pattern}}` -- Remove non-existing directories from the autojump database: +- Remove non-existing directories from the `autojump` database: `j --purge` -- Show the entries in the autojump database: +- Show the entries in the `autojump` database: -`j -s` +`j {{[-s|--stat]}}` diff --git a/pages/common/autopep8.md b/pages/common/autopep8.md new file mode 100644 index 00000000000000..06a59ef930a375 --- /dev/null +++ b/pages/common/autopep8.md @@ -0,0 +1,20 @@ +# autopep8 + +> Format Python code according to the PEP 8 style guide. +> More information: . + +- Format a file to `stdout`, with a custom maximum line length: + +`autopep8 {{path/to/file.py}} --max-line-length {{length}}` + +- Format a file, displaying a diff of the changes: + +`autopep8 --diff {{path/to/file}}` + +- Format a file in-place and save the changes: + +`autopep8 --in-place {{path/to/file.py}}` + +- Recursively format all files in a directory in-place and save changes: + +`autopep8 --in-place --recursive {{path/to/directory}}` diff --git a/pages/common/autossh.md b/pages/common/autossh.md index cea2c13da821ce..2c7125d719eb4f 100644 --- a/pages/common/autossh.md +++ b/pages/common/autossh.md @@ -1,29 +1,29 @@ # autossh -> Runs, monitors and restarts SSH connections. -> Auto-reconnects to keep port forwarding tunnels up. Accepts all ssh flags. -> More information: . +> Run, monitor and restart SSH connections. +> Auto-reconnects to keep port forwarding tunnels up. Accepts all SSH flags. +> More information: . -- Open an SSH session, restarting when a monitoring port fails return data: +- Start an SSH session, restarting when the [M]onitoring port fails to return data: -`autossh -M {{monitor_port}} {{ssh_command}}` +`autossh -M {{monitor_port}} "{{ssh_command}}"` -- Open an SSH session which forwards a local port to a remote one, restarting if necessary: +- Forward a [L]ocal port to a remote one, restarting when necessary: `autossh -M {{monitor_port}} -L {{local_port}}:localhost:{{remote_port}} {{user}}@{{host}}` -- Fork before executing ssh (runs in the background) and don't open a remote shell: +- Fork `autossh` into the background before executing SSH and do [N]ot open a remote shell: -`autossh -f -M {{monitor_port}} -N {{ssh_command}}` +`autossh -f -M {{monitor_port}} -N "{{ssh_command}}"` -- Run autossh in the background, with no monitoring port, instead relying on SSH keep-alives every 10 seconds to detect failure: +- Run in the background, with no monitoring port, and instead send SSH keep-alive packets every 10 seconds to detect failure: -`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" {{ssh_command}}` +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" "{{ssh_command}}"` -- Run autossh in the background, with no monitoring port, no remote shell, exiting if the port forward fails: +- Run in the background, with no monitoring port and no remote shell, exiting if the port forward fails: `autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" -o ExitOnForwardFailure=yes -L {{local_port}}:localhost:{{remote_port}} {{user}}@{{host}}` -- Run autossh in the background with debug output logged to a file and ssh verbose output logged to a second file: +- Run in the background, logging `autossh` debug output and SSH verbose output to files: -`AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE={{log_file}} autossh -f -M {{monitor_port}} -v -E {{ssh_log_file}} {{ssh_command}}` +`AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE={{path/to/autossh_log_file.log}} autossh -f -M {{monitor_port}} -v -E {{path/to/ssh_log_file.log}} {{ssh_command}}` diff --git a/pages/common/avo.md b/pages/common/avo.md new file mode 100644 index 00000000000000..f432df25a28bc4 --- /dev/null +++ b/pages/common/avo.md @@ -0,0 +1,36 @@ +# avo + +> The official interface for Avo. +> More information: . + +- Initialize a workspace in the current directory: + +`avo init` + +- Log into the Avo platform: + +`avo login` + +- Switch to an existing Avo branch: + +`avo checkout {{branch_name}}` + +- Pull analytics wrappers for the current path: + +`avo pull` + +- Display the status of the Avo implementation: + +`avo status` + +- Resolve Git conflicts in Avo files: + +`avo conflict` + +- Open the current Avo workspace in the default web browser: + +`avo edit` + +- Display help for a subcommand: + +`avo {{subcommand}} --help` diff --git a/pages/common/avrdude.md b/pages/common/avrdude.md index 2e2ed5bb2edd56..953ca6f8c198cb 100644 --- a/pages/common/avrdude.md +++ b/pages/common/avrdude.md @@ -1,15 +1,15 @@ # avrdude > Driver program for Atmel AVR microcontrollers programming. -> More information: . +> More information: . -- Read AVR microcontroller: +- [r]ead the flash ROM of a AVR microcontroller with a specific [p]art ID: -`avrdude -p {{AVR_device}} -c {{programmer}} -U flash:r:{{file.hex}}:i` +`avrdude -p {{part_no}} -c {{programmer_id}} -U flash:r:{{file.hex}}:i` -- Write AVR microcontroller: +- [w]rite to the flash ROM AVR microcontroller: -`avrdude -p {{AVR_device}} -c {{programmer}} -U flash:w:{{file.hex}}` +`avrdude -p {{part_no}} -c {{programmer}} -U flash:w:{{file.hex}}` - List available AVR devices: diff --git a/pages/common/awk.md b/pages/common/awk.md index 36171167c5a571..1aabdb8743a5af 100644 --- a/pages/common/awk.md +++ b/pages/common/awk.md @@ -1,36 +1,38 @@ # awk > A versatile programming language for working on files. +> Note: Different implementations of AWK often make this a symlink of their binary. +> See also: `gawk`. > More information: . - Print the fifth column (a.k.a. field) in a space-separated file: -`awk '{print $5}' {{filename}}` +`awk '{print $5}' {{path/to/file}}` -- Print the second column of the lines containing "something" in a space-separated file: +- Print the second column of the lines containing "foo" in a space-separated file: -`awk '/{{something}}/ {print $2}' {{filename}}` +`awk '/{{foo}}/ {print $2}' {{path/to/file}}` - Print the last column of each line in a file, using a comma (instead of space) as a field separator: -`awk -F ',' '{print $NF}' {{filename}}` +`awk -F ',' '{print $NF}' {{path/to/file}}` - Sum the values in the first column of a file and print the total: -`awk '{s+=$1} END {print s}' {{filename}}` +`awk '{s+=$1} END {print s}' {{path/to/file}}` - Print every third line starting from the first line: -`awk 'NR%3==1' {{filename}}` +`awk 'NR%3==1' {{path/to/file}}` - Print different values based on conditions: -`awk '{if ($1 == "foo") print "Exact match foo"; else if ($1 ~ "bar") print "Partial match bar"; else print "Baz"}' {{filename}}` +`awk '{if ($1 == "foo") print "Exact match foo"; else if ($1 ~ "bar") print "Partial match bar"; else print "Baz"}' {{path/to/file}}` -- Print all lines where the 10th column value equals the specified value : +- Print all the lines which the 10th column value is between a min and a max: -`awk '($10 == value)'` +`awk '($10 >= {{min_value}} && $10 <= {{max_value}})'` -- Print all the lines which the 10th column value is between a min and a max : +- Print table of users with UID >=1000 with header and formatted output, using colon as separator (`%-20s` mean: 20 left-align string characters, `%6s` means: 6 right-align string characters): -`awk '($10 >= min_value && $10 <= max_value)'` +`awk 'BEGIN {FS=":";printf "%-20s %6s %25s\n", "Name", "UID", "Shell"} $4 >= 1000 {printf "%-20s %6d %25s\n", $1, $4, $7}' /etc/passwd` diff --git a/pages/common/aws-accessanalyzer.md b/pages/common/aws-accessanalyzer.md new file mode 100644 index 00000000000000..6415dca97f9b0d --- /dev/null +++ b/pages/common/aws-accessanalyzer.md @@ -0,0 +1,36 @@ +# aws accessanalyzer + +> Analyze and review resource policies to identify potential security risks. +> More information: . + +- Create a new Access Analyzer: + +`aws accessanalyzer create-analyzer --analyzer-name {{analyzer_name}} --type {{type}} --tags {{tags}}` + +- Delete an existing Access Analyzer: + +`aws accessanalyzer delete-analyzer --analyzer-arn {{analyzer_arn}}` + +- Get details of a specific Access Analyzer: + +`aws accessanalyzer get-analyzer --analyzer-arn {{analyzer_arn}}` + +- List all Access Analyzers: + +`aws accessanalyzer list-analyzers` + +- Update settings of an Access Analyzer: + +`aws accessanalyzer update-analyzer --analyzer-arn {{analyzer_arn}} --tags {{new_tags}}` + +- Create a new Access Analyzer archive rule: + +`aws accessanalyzer create-archive-rule --analyzer-arn {{analyzer_arn}} --rule-name {{rule_name}} --filter {{filter}}` + +- Delete an Access Analyzer archive rule: + +`aws accessanalyzer delete-archive-rule --analyzer-arn {{analyzer_arn}} --rule-name {{rule_name}}` + +- List all Access Analyzer archive rules: + +`aws accessanalyzer list-archive-rules --analyzer-arn {{analyzer_arn}}` diff --git a/pages/common/aws-acm-pca.md b/pages/common/aws-acm-pca.md new file mode 100644 index 00000000000000..8f372a27845347 --- /dev/null +++ b/pages/common/aws-acm-pca.md @@ -0,0 +1,36 @@ +# aws acm-pca + +> AWS Certificate Manager Private Certificate Authority. +> More information: . + +- Create a private certificate authority: + +`aws acm-pca create-certificate-authority --certificate-authority-configuration {{ca_config}} --idempotency-token {{token}} --permanent-deletion-time-in-days {{number}}` + +- Describe a private certificate authority: + +`aws acm-pca describe-certificate-authority --certificate-authority-arn {{ca_arn}}` + +- List private certificate authorities: + +`aws acm-pca list-certificate-authorities` + +- Update a certificate authority: + +`aws acm-pca update-certificate-authority --certificate-authority-arn {{ca_arn}} --certificate-authority-configuration {{ca_config}} --status {{status}}` + +- Delete a private certificate authority: + +`aws acm-pca delete-certificate-authority --certificate-authority-arn {{ca_arn}}` + +- Issue a certificate: + +`aws acm-pca issue-certificate --certificate-authority-arn {{ca_arn}} --certificate-signing-request {{cert_signing_request}} --signing-algorithm {{algorithm}} --validity {{validity}}` + +- Revoke a certificate: + +`aws acm-pca revoke-certificate --certificate-authority-arn {{ca_arn}} --certificate-serial {{serial}} --reason {{reason}}` + +- Get certificate details: + +`aws acm-pca get-certificate --certificate-authority-arn {{ca_arn}} --certificate-arn {{cert_arn}}` diff --git a/pages/common/aws-acm.md b/pages/common/aws-acm.md new file mode 100644 index 00000000000000..6f06d0b5acc52b --- /dev/null +++ b/pages/common/aws-acm.md @@ -0,0 +1,36 @@ +# aws acm + +> AWS Certificate Manager. +> More information: . + +- Import a certificate: + +`aws acm import-certificate --certificate-arn {{certificate_arn}} --certificate {{certificate}} --private-key {{private_key}} --certificate-chain {{certificate_chain}}` + +- List certificates: + +`aws acm list-certificates` + +- Describe a certificate: + +`aws acm describe-certificate --certificate-arn {{certificate_arn}}` + +- Request a certificate: + +`aws acm request-certificate --domain-name {{domain_name}} --validation-method {{validation_method}}` + +- Delete a certificate: + +`aws acm delete-certificate --certificate-arn {{certificate_arn}}` + +- List certificate validations: + +`aws acm list-certificates --certificate-statuses {{status}}` + +- Get certificate details: + +`aws acm get-certificate --certificate-arn {{certificate_arn}}` + +- Update certificate options: + +`aws acm update-certificate-options --certificate-arn {{certificate_arn}} --options {{options}}` diff --git a/pages/common/aws-amplify.md b/pages/common/aws-amplify.md new file mode 100644 index 00000000000000..389a9d381d9177 --- /dev/null +++ b/pages/common/aws-amplify.md @@ -0,0 +1,36 @@ +# aws amplify + +> Development platform for building secure, scalable mobile and web applications. +> More information: . + +- Create a new Amplify app: + +`aws amplify create-app --name {{app_name}} --description {{description}} --repository {{repo_url}} --platform {{platform}} --environment-variables {{env_vars}} --tags {{tags}}` + +- Delete an existing Amplify app: + +`aws amplify delete-app --app-id {{app_id}}` + +- Get details of a specific Amplify app: + +`aws amplify get-app --app-id {{app_id}}` + +- List all Amplify apps: + +`aws amplify list-apps` + +- Update settings of an Amplify app: + +`aws amplify update-app --app-id {{app_id}} --name {{new_name}} --description {{new_description}} --repository {{new_repo_url}} --environment-variables {{new_env_vars}} --tags {{new_tags}}` + +- Add a new backend environment to an Amplify app: + +`aws amplify create-backend-environment --app-id {{app_id}} --environment-name {{env_name}} --deployment-artifacts {{artifacts}}` + +- Remove a backend environment from an Amplify app: + +`aws amplify delete-backend-environment --app-id {{app_id}} --environment-name {{env_name}}` + +- List all backend environments in an Amplify app: + +`aws amplify list-backend-environments --app-id {{app_id}}` diff --git a/pages/common/aws-backup.md b/pages/common/aws-backup.md new file mode 100644 index 00000000000000..4679d6a406b2f3 --- /dev/null +++ b/pages/common/aws-backup.md @@ -0,0 +1,24 @@ +# aws backup + +> Unified backup service designed to protect Amazon Web Services services and their associated data. +> More information: . + +- Return BackupPlan details for a specific BackupPlanId: + +`aws backup get-backup-plan --backup-plan-id {{id}}` + +- Create a backup plan using a specific backup plan name and backup rules: + +`aws backup create-backup-plan --backup-plan {{plan}}` + +- Delete a specific backup plan: + +`aws backup delete-backup-plan --backup-plan-id {{id}}` + +- List all active backup plans for the current account: + +`aws backup list-backup-plans` + +- Display details about your report jobs: + +`aws backup list-report-jobs` diff --git a/pages/common/aws-batch.md b/pages/common/aws-batch.md new file mode 100644 index 00000000000000..20043e4a19d6ff --- /dev/null +++ b/pages/common/aws-batch.md @@ -0,0 +1,28 @@ +# aws batch + +> Run batch computing workloads through the AWS Batch service. +> More information: . + +- List running batch jobs: + +`aws batch list-jobs --job-queue {{queue_name}}` + +- Create compute environment: + +`aws batch create-compute-environment --compute-environment-name {{compute_environment_name}} --type {{type}}` + +- Create batch job queue: + +`aws batch create-job-queue --job-queue-name {{queue_name}} --priority {{priority}} --compute-environment-order {{compute_environment}}` + +- Submit job: + +`aws batch submit-job --job-name {{job_name}} --job-queue {{job_queue}} --job-definition {{job_definition}}` + +- Describe the list of batch jobs: + +`aws batch describe-jobs --jobs {{jobs}}` + +- Cancel job: + +`aws batch cancel-job --job-id {{job_id}} --reason {{reason}}` diff --git a/pages/common/aws-ce.md b/pages/common/aws-ce.md new file mode 100644 index 00000000000000..3eba7d6ee4289d --- /dev/null +++ b/pages/common/aws-ce.md @@ -0,0 +1,36 @@ +# aws ce + +> Run cost management operations through the AWS Cost Explorer service. +> More information: . + +- Create anomaly monitor: + +`aws ce create-anomaly-monitor --monitor {{monitor_name}} --monitor-type {{monitor_type}}` + +- Create anomaly subscription: + +`aws ce create-anomaly-subscription --subscription {{subscription_name}} --monitor-arn {{monitor_arn}} --subscribers {{subscribers}}` + +- Get anomalies: + +`aws ce get-anomalies --monitor-arn {{monitor_arn}} --start-time {{start_time}} --end-time {{end_time}}` + +- Get cost and usage: + +`aws ce get-cost-and-usage --time-period {{start_date}}/{{end_date}} --granularity {{granularity}} --metrics {{metrics}}` + +- Get cost forecast: + +`aws ce get-cost-forecast --time-period {{start_date}}/{{end_date}} --granularity {{granularity}} --metric {{metric}}` + +- Get reservation utilization: + +`aws ce get-reservation-utilization --time-period {{start_date}}/{{end_date}} --granularity {{granularity}}` + +- List cost category definitions: + +`aws ce list-cost-category-definitions` + +- Tag resource: + +`aws ce tag-resource --resource-arn {{resource_arn}} --tags {{tags}}` diff --git a/pages/common/aws-cloud9.md b/pages/common/aws-cloud9.md new file mode 100644 index 00000000000000..e7f70029ceb180 --- /dev/null +++ b/pages/common/aws-cloud9.md @@ -0,0 +1,32 @@ +# aws cloud9 + +> Manage Cloud9 - a collection of tools to code, build, run, test, debug, and release software in the cloud. +> More information: . + +- List all Cloud9 development environment identifiers: + +`aws cloud9 list-environments` + +- Create a Cloud9 development environment: + +`aws cloud9 create-environment-ec2 --name {{name}} --instance-type {{instance_type}}` + +- Display information about Cloud9 development environments: + +`aws cloud9 describe-environments --environment-ids {{environment_ids}}` + +- Add an environment member to a Cloud9 development environment: + +`aws cloud9 create-environment-membership --environment-id {{environment_id}} --user-arn {{user_arn}} --permissions {{permissions}}` + +- Display status information for a Cloud9 development environment: + +`aws cloud9 describe-environment-status --environment-id {{environment_id}}` + +- Delete a Cloud9 environment: + +`aws cloud9 delete-environment --environment-id {{environment_id}}` + +- Delete an environment member from a development environment: + +`aws cloud9 delete-environment-membership --environment-id {{environment_id}} --user-arn {{user_arn}}` diff --git a/pages/common/aws-cloudformation.md b/pages/common/aws-cloudformation.md new file mode 100644 index 00000000000000..38f5b9bc83674d --- /dev/null +++ b/pages/common/aws-cloudformation.md @@ -0,0 +1,32 @@ +# aws cloudformation + +> Model, provision, and manage AWS and third-party resources by treating infrastructure as code. +> More information: . + +- Create a stack from a template file: + +`aws cloudformation create-stack --stack-name {{stack-name}} --region {{region}} --template-body {{file://path/to/file.yml}} --profile {{profile}}` + +- Delete a stack: + +`aws cloudformation delete-stack --stack-name {{stack-name}} --profile {{profile}}` + +- List all stacks: + +`aws cloudformation list-stacks --profile {{profile}}` + +- List all running stacks: + +`aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE --profile {{profile}}` + +- Check the status of a stack: + +`aws cloudformation describe-stacks --stack-name {{stack-id}} --profile {{profile}}` + +- Initiate drift detection for a stack: + +`aws cloudformation detect-stack-drift --stack-name {{stack-id}} --profile {{profile}}` + +- Check the drift status output of a stack using 'StackDriftDetectionId' from the previous command output: + +`aws cloudformation describe-stack-resource-drifts --stack-name {{stack-drift-detection-id}} --profile {{profile}}` diff --git a/pages/common/aws-cloudwatch.md b/pages/common/aws-cloudwatch.md new file mode 100644 index 00000000000000..fc4681e361ad7f --- /dev/null +++ b/pages/common/aws-cloudwatch.md @@ -0,0 +1,32 @@ +# aws cloudwatch + +> Monitor AWS resources to gain system-wide visibility into resource utilization, application performance, and operational health. +> More information: . + +- List dashboards for your account: + +`aws cloudwatch list-dashboards` + +- Display details for the specified dashboard: + +`aws cloudwatch get-dashboard --dashboard-name {{dashboard_name}}` + +- List metrics: + +`aws cloudwatch list-metrics` + +- List alarms: + +`aws cloudwatch describe-alarms` + +- Create or update an alarm and associate it with a metric: + +`aws cloudwatch put-metric-alarm --alarm-name {{alarm_name}} --evaluation-periods {{evaluation_periods}} --comparison-operator {{comparison_operator}}` + +- Delete the specified alarms: + +`aws cloudwatch delete-alarms --alarm_names {{alarm_names}}` + +- Delete the specified dashboards: + +`aws cloudwatch delete-dashboards --dashboard-names {{dashboard_names}}` diff --git a/pages/common/aws-codeartifact.md b/pages/common/aws-codeartifact.md new file mode 100644 index 00000000000000..391a438b5077b7 --- /dev/null +++ b/pages/common/aws-codeartifact.md @@ -0,0 +1,25 @@ +# aws codeartifact + +> Manage CodeArtifact repositories, domains, packages, package versions and assets. +> CodeArtifact is an artifact repository compatible with popular package managers and build tools like Maven, Gradle, npm, Yarn, Twine, pip, NuGet, and SwiftPM. +> More information: . + +- List available domains for your AWS account: + +`aws codeartifact list-domains` + +- Generate credentials for a specific package manager: + +`aws codeartifact login --tool {{npm|pip|twine}} --domain {{your_domain}} --repository {{repository_name}}` + +- Get the endpoint URL of a CodeArtifact repository: + +`aws codeartifact get-repository-endpoint --domain {{your_domain}} --repository {{repository_name}} --format {{npm|pypi|maven|nuget|generic}}` + +- Display help: + +`aws codeartifact help` + +- Display help for a specific subcommand: + +`aws codeartifact {{subcommand}} help` diff --git a/pages/common/aws-codecommit.md b/pages/common/aws-codecommit.md new file mode 100644 index 00000000000000..5b2f611213d46b --- /dev/null +++ b/pages/common/aws-codecommit.md @@ -0,0 +1,12 @@ +# aws codecommit + +> A managed source control service that hosts private Git repositories. +> More information: . + +- Display help: + +`aws codecommit help` + +- Display help for a specific command: + +`aws codecommit {{command}} help` diff --git a/pages/common/aws-cognito-idp.md b/pages/common/aws-cognito-idp.md new file mode 100644 index 00000000000000..5cc55ececce1dc --- /dev/null +++ b/pages/common/aws-cognito-idp.md @@ -0,0 +1,28 @@ +# aws cognito-idp + +> Configure an Amazon Cognito user pool and its users and groups and authenticate them. +> More information: . + +- Create a new Cognito user pool: + +`aws cognito-idp create-user-pool --pool-name {{name}}` + +- List all user pools: + +`aws cognito-idp list-user-pools --max-results {{10}}` + +- Delete a specific user pool: + +`aws cognito-idp delete-user-pool --user-pool-id {{user_pool_id}}` + +- Create a user in a specific pool: + +`aws cognito-idp admin-create-user --username {{username}} --user-pool-id {{user_pool_id}}` + +- List the users of a specific pool: + +`aws cognito-idp list-users --user-pool-id {{user_pool_id}}` + +- Delete a user from a specific pool: + +`aws cognito-idp admin-delete-user --username {{username}} --user-pool-id {{user_pool_id}}` diff --git a/pages/common/aws-configure.md b/pages/common/aws-configure.md new file mode 100644 index 00000000000000..1e1f4e1b834643 --- /dev/null +++ b/pages/common/aws-configure.md @@ -0,0 +1,36 @@ +# aws configure + +> Manage configuration for the AWS CLI. +> More information: . + +- Configure AWS CLI interactively (creates a new configuration or updates the default): + +`aws configure` + +- Configure a named profile for AWS CLI interactively (creates a new profile or updates an existing one): + +`aws configure --profile {{profile_name}}` + +- Display the value from a specific configuration variable: + +`aws configure get {{name}}` + +- Display the value for a configuration variable in a specific profile: + +`aws configure get {{name}} --profile {{profile_name}}` + +- Set the value of a specific configuration variable: + +`aws configure set {{name}} {{value}}` + +- Set the value of a configuration variable in a specific profile: + +`aws configure set {{name}} {{value}} --profile {{profile_name}}` + +- List the configuration entries: + +`aws configure list` + +- List the configuration entries for a specific profile: + +`aws configure list --profile {{profile_name}}` diff --git a/pages/common/aws-cur.md b/pages/common/aws-cur.md new file mode 100644 index 00000000000000..a6a2fccb49affc --- /dev/null +++ b/pages/common/aws-cur.md @@ -0,0 +1,16 @@ +# aws cur + +> Create, query, and delete AWS usage report definitions. +> More information: . + +- Create an AWS cost and usage report definition from a JSON file: + +`aws cur put-report-definition --report-definition file://{{path/to/report_definition.json}}` + +- List usage report definitions defined for the logged in account: + +`aws cur describe-report-definitions` + +- Delete a usage report definition: + +`aws cur --region {{aws_region}} delete-report-definition --report-name {{report}}` diff --git a/pages/common/aws-dynamodb.md b/pages/common/aws-dynamodb.md new file mode 100644 index 00000000000000..c7b866cccfd0ea --- /dev/null +++ b/pages/common/aws-dynamodb.md @@ -0,0 +1,36 @@ +# aws dynamodb + +> Manipulate an AWS Dynamodb database, a fast NoSQL database with predictable performance and seamless scalability. +> More information: . + +- Create a table: + +`aws dynamodb create-table --table-name {{table_name}} --attribute-definitions {{AttributeName=S,AttributeType=S}} --key-schema {{AttributeName=S,KeyType=HASH}} --provisioned-throughput {{ReadCapacityUnits=5,WriteCapacityUnits=5}}` + +- List all tables in the DynamoDB: + +`aws dynamodb list-tables` + +- Get details about a specific table: + +`aws dynamodb describe-table --table-name {{table_name}}` + +- Add an item to a table: + +`aws dynamodb put-item --table-name {{table_name}} --item '{{{"AttributeName": {"S": "value"}}}}'` + +- Retrieve an item from a table: + +`aws dynamodb get-item --table-name {{table_name}} --key '{{{"ID": {"N": "1"}}}}'` + +- Update an item in the table: + +`aws dynamodb update-item --table-name {{table_name}} --key '{{{"ID": {"N": "1"}}}}' --update-expression "{{SET Name = :n}}" --expression-attribute-values '{{{":n": {"S": "Jane"}}}}'` + +- Scan items in the table: + +`aws dynamodb scan --table-name {{table_name}}` + +- Delete an item from the table: + +`aws dynamodb delete-item --table-name {{table_name}} --key '{{{"ID": {"N": "1"}}}}'` diff --git a/pages/common/aws-ec2.md b/pages/common/aws-ec2.md index ad1cf83674c67e..f5cb63f5e8b2d2 100644 --- a/pages/common/aws-ec2.md +++ b/pages/common/aws-ec2.md @@ -1,17 +1,9 @@ # aws ec2 -> CLI for AWS EC2. -> Provides secure and resizable computing capacity in the AWS cloud to enable faster development and deployment of applications. +> Manage AWS EC2 instances and volumes. +> AWS EC2 provides secure and resizable computing capacity in the AWS cloud for faster development and deployment of applications. > More information: . -- Show list of all available EC2 commands: - -`aws ec2 help` - -- Show help for specific EC2 subcommand: - -`aws ec2 {{subcommand}} help` - - Display information about a specific instance: `aws ec2 describe-instances --instance-ids {{instance_id}}` @@ -35,3 +27,11 @@ - List available AMIs (Amazon Machine Images): `aws ec2 describe-images` + +- Show list of all available EC2 commands: + +`aws ec2 help` + +- Display help for specific EC2 subcommand: + +`aws ec2 {{subcommand}} help` diff --git a/pages/common/aws-ecr.md b/pages/common/aws-ecr.md new file mode 100644 index 00000000000000..6d1c854bdab6f8 --- /dev/null +++ b/pages/common/aws-ecr.md @@ -0,0 +1,36 @@ +# aws ecr + +> Push, pull, and manage container images. +> More information: . + +- Authenticate Docker with the default registry (username is AWS): + +`aws ecr get-login-password --region {{region}} | {{docker login}} --username AWS --password-stdin {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com` + +- Create a repository: + +`aws ecr create-repository --repository-name {{repository}} --image-scanning-configuration scanOnPush={{true|false}} --region {{region}}` + +- Tag a local image for ECR: + +`docker tag {{container_name}}:{{tag}} {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{container_name}}:{{tag}}` + +- Push an image to a repository: + +`docker push {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{container_name}}:{{tag}}` + +- Pull an image from a repository: + +`docker pull {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{container_name}}:{{tag}}` + +- Delete an image from a repository: + +`aws ecr batch-delete-image --repository-name {{repository}} --image-ids imageTag={{latest}}` + +- Delete a repository: + +`aws ecr delete-repository --repository-name {{repository}} --force` + +- List images within a repository: + +`aws ecr list-images --repository-name {{repository}}` diff --git a/pages/common/aws-eks.md b/pages/common/aws-eks.md new file mode 100644 index 00000000000000..b54aa15e179c49 --- /dev/null +++ b/pages/common/aws-eks.md @@ -0,0 +1,33 @@ +# aws eks + +> Manage Amazon Elastic Kubernetes Service (EKS) addons, clusters, and node groups. +> Amazon EKS is a service for easily running Kubernetes on AWS. +> More information: . + +- Create an EKS Cluster: + +`aws eks create-cluster --name {{cluster_name}} --role-arn {{eks_service_role_arn}} --resources-vpc-config subnetIds={{subnet_ids}},securityGroupIds={{security_group_ids}}` + +- Update kubeconfig to connect to the EKS Cluster: + +`aws eks update-kubeconfig --name {{cluster_name}}` + +- List available EKS clusters: + +`aws eks list-clusters` + +- Describe EKS cluster details: + +`aws eks describe-cluster --name {{cluster_name}}` + +- Delete an EKS Cluster: + +`aws eks delete-cluster --name {{cluster_name}}` + +- List nodegroups in an EKS cluster: + +`aws eks list-nodegroups --cluster-name {{cluster_name}}` + +- Describe nodegroup details: + +`aws eks describe-nodegroup --cluster-name {{cluster_name}} --nodegroup-name {{nodegroup_name}}` diff --git a/pages/common/aws-glue.md b/pages/common/aws-glue.md index ad01e84aca4af8..ea16204a7e1d6e 100644 --- a/pages/common/aws-glue.md +++ b/pages/common/aws-glue.md @@ -1,8 +1,8 @@ # aws glue > CLI for AWS Glue. -> Defines the public endpoint for the AWS Glue service. -> More information: . +> Define the public endpoint for the AWS Glue service. +> More information: . - List jobs: diff --git a/pages/common/aws-google-auth.md b/pages/common/aws-google-auth.md index 17698ad8e9992d..65897310665d89 100644 --- a/pages/common/aws-google-auth.md +++ b/pages/common/aws-google-auth.md @@ -1,20 +1,20 @@ # aws-google-auth -> Command line tool to acquire AWS temporary (STS) credentials using Google Apps as a federated (Single Sign-On) provider. +> Acquire AWS temporary (STS) credentials using Google Apps as a federated (Single Sign-On) provider. > More information: . -- Login with Google SSO using the IDP and SP identifiers and set the credentials duration to one hour: +- Log in with Google SSO using the specified username IDP and SP identifiers and set the credentials duration to one hour: -`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}` +`aws-google-auth {{[-u|--username]}} {{example@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}}` -- Login [a]sking which role to use (in case of several available SAML roles): +- Log in asking which role to use (in case of several available SAML roles): -`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a` +`aws-google-auth {{[-u|--username]}} {{example@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}} {{[-a|--ask-role]}}` - Resolve aliases for AWS accounts: -`aws-google-auth -u {{example@example.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases` +`aws-google-auth {{[-u|--username]}} {{example@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}} {{[-a|--ask-role]}} --resolve-aliases` -- Show help information: +- Display help: -`aws-google-auth -h` +`aws-google-auth {{[-h|--help]}}` diff --git a/pages/common/aws-help.md b/pages/common/aws-help.md new file mode 100644 index 00000000000000..18e11edd134aa8 --- /dev/null +++ b/pages/common/aws-help.md @@ -0,0 +1,16 @@ +# aws help + +> Display help information about the AWS CLI. +> More information: . + +- Display help: + +`aws help` + +- List all available topics: + +`aws help topics` + +- Display help about a specific topic: + +`aws help {{topic_name}}` diff --git a/pages/common/aws-history.md b/pages/common/aws-history.md new file mode 100644 index 00000000000000..121899cce87411 --- /dev/null +++ b/pages/common/aws-history.md @@ -0,0 +1,12 @@ +# aws history + +> Print the command-line history for AWS CLI commands (the record of history of AWS CLI commands must be enabled). +> More information: . + +- List commands history with command IDs: + +`aws history list` + +- Display events related to a specific command given a command ID: + +`aws history show {{command_id}}` diff --git a/pages/common/aws-iam.md b/pages/common/aws-iam.md index 53246cfc21dcc3..f01303df4e302e 100644 --- a/pages/common/aws-iam.md +++ b/pages/common/aws-iam.md @@ -1,12 +1,8 @@ # aws iam -> CLI for AWS IAM. +> Interact with Identity and Access Management (IAM), a web service for securely controlling access to AWS services. > More information: . -- Show `aws iam` help page (including all available iam commands): - -`aws iam help` - - List users: `aws iam list-users` @@ -34,3 +30,7 @@ - List access keys for a specific user: `aws iam list-access-keys --user-name {{user_name}}` + +- Display help: + +`aws iam help` diff --git a/pages/common/aws-kafka.md b/pages/common/aws-kafka.md new file mode 100644 index 00000000000000..11e8b9e2548c13 --- /dev/null +++ b/pages/common/aws-kafka.md @@ -0,0 +1,37 @@ +# aws kafka + +> Manage an Amazon MSK (Managed Streaming for Apache Kafka) cluster. +> See also: `aws`. +> More information: . + +- Create a new MSK cluster: + +`aws kafka create-cluster --cluster-name {{cluster_name}} --broker-node-group-info instanceType={{instance_type}},clientSubnets={{subnet_id1 subnet_id2 ...}} --kafka-version {{version}} --number-of-broker-nodes {{number}}` + +- Describe a MSK cluster: + +`aws kafka describe-cluster --cluster-arn {{cluster_arn}}` + +- List all MSK clusters in the current region: + +`aws kafka list-clusters` + +- Create a new MSK configuration: + +`aws kafka create-configuration --name {{configuration_name}} --server-properties file://{{path/to/configuration_file.txt}}` + +- Describe a MSK configuration: + +`aws kafka describe-configuration --arn {{configuration_arn}}` + +- List all MSK configurations in the current region: + +`aws kafka list-configurations` + +- Update the MSK cluster configuration: + +`aws kafka update-cluster-configuration --cluster-arn {{cluster_arn}} --configuration-info arn={{configuration_arn}},revision={{configuration_revision}}` + +- Delete the MSK cluster: + +`aws kafka delete-cluster --cluster-arn {{cluster_arn}}` diff --git a/pages/common/aws-kendra.md b/pages/common/aws-kendra.md new file mode 100644 index 00000000000000..d43b4496aa8925 --- /dev/null +++ b/pages/common/aws-kendra.md @@ -0,0 +1,28 @@ +# aws kendra + +> CLI for AWS Kendra. +> More information: . + +- Create an index: + +`aws kendra create-index --name {{name}} --role-arn {{role_arn}}` + +- List indexes: + +`aws kendra list-indexes` + +- Describe an index: + +`aws kendra describe-index --id {{index_id}}` + +- List data sources: + +`aws kendra list-data-sources` + +- Describe a data source: + +`aws kendra describe-data-source --id {{data_source_id}}` + +- List search queries: + +`aws kendra list-query-suggestions --index-id {{index_id}} --query-text {{query_text}}` diff --git a/pages/common/aws-kinesis.md b/pages/common/aws-kinesis.md index 19fe3d07ffbde8..d28d502c45c159 100644 --- a/pages/common/aws-kinesis.md +++ b/pages/common/aws-kinesis.md @@ -1,6 +1,6 @@ # aws kinesis -> Official AWS CLI for Amazon Kinesis streaming data services. +> Interact with the Amazon Kinesis Data Streams, a service that scales elastically for real-time processing of streaming big data. > More information: . - Show all streams in the account: diff --git a/pages/common/aws-lambda.md b/pages/common/aws-lambda.md index 882af60299511c..f6ab69cdd73d7c 100644 --- a/pages/common/aws-lambda.md +++ b/pages/common/aws-lambda.md @@ -1,15 +1,15 @@ # aws lambda -> CLI for AWS lambda. -> More information: . +> Use AWS Lambda, a compute service for running code without provisioning or managing servers. +> More information: . - Run a function: -`aws lambda invoke --function-name {{name}} {{path/to/response}}.json` +`aws lambda invoke --function-name {{name}} {{path/to/response.json}}` - Run a function with an input payload in JSON format: -`aws lambda invoke --function-name {{name}} --payload {{json}} {{path/to/response}}.json` +`aws lambda invoke --function-name {{name}} --payload {{json}} {{path/to/response.json}}` - List functions: diff --git a/pages/common/aws-lightsail.md b/pages/common/aws-lightsail.md new file mode 100644 index 00000000000000..37b33c4d5339bf --- /dev/null +++ b/pages/common/aws-lightsail.md @@ -0,0 +1,32 @@ +# aws lightsail + +> Manage Amazon Lightsail resources. +> More information: . + +- List all virtual private servers, or instances: + +`aws lightsail get-instances` + +- List all bundles (instance plans): + +`aws lightsail list-bundles` + +- List all available instance images, or blueprints: + +`aws lightsail list-blueprints` + +- Create an instance: + +`aws lightsail create-instances --instance-names {{name}} --availability-zone {{region}} --bundle-id {{nano_2_0}} --blueprint-id {{blueprint_id}}` + +- Print the state of a specific instance: + +`aws lightsail get-instance-state --instance-name {{name}}` + +- Stop a specific instance: + +`aws lightsail stop-instance --instance-name {{name}}` + +- Delete a specific instance: + +`aws lightsail delete-instance --instance-name {{name}}` diff --git a/pages/common/aws-pricing.md b/pages/common/aws-pricing.md new file mode 100644 index 00000000000000..c14e026161619c --- /dev/null +++ b/pages/common/aws-pricing.md @@ -0,0 +1,24 @@ +# aws pricing + +> Query services, products, and pricing information from Amazon Web Services. +> More information: . + +- List service codes of a specific region: + +`aws pricing describe-services --region {{us-east-1}}` + +- List attributes for a given service code in a specific region: + +`aws pricing describe-services --service-code {{AmazonEC2}} --region {{us-east-1}}` + +- Print pricing information for a service code in a specific region: + +`aws pricing get-products --service-code {{AmazonEC2}} --region {{us-east-1}}` + +- List values for a specific attribute for a service code in a specific region: + +`aws pricing get-attribute-values --service-code {{AmazonEC2}} --attribute-name {{instanceType}} --region {{us-east-1}}` + +- Print pricing information for a service code using filters for instance type and location: + +`aws pricing get-products --service-code {{AmazonEC2}} --filters "{{Type=TERM_MATCH,Field=instanceType,Value=m5.xlarge}}" "{{Type=TERM_MATCH,Field=location,Value=US East (N. Virginia)}}" --region {{us-east-1}}` diff --git a/pages/common/aws-quicksight.md b/pages/common/aws-quicksight.md index f8a9f92d3da948..34a30be1ea5364 100644 --- a/pages/common/aws-quicksight.md +++ b/pages/common/aws-quicksight.md @@ -1,8 +1,7 @@ # aws quicksight -> CLI for AWS QuickSight. -> Access QuickSight entities. -> More information: . +> Create, delete, list, search and update AWS QuickSight entities. +> More information: . - List datasets: diff --git a/pages/common/aws-rds.md b/pages/common/aws-rds.md new file mode 100644 index 00000000000000..381e41a5e4ec79 --- /dev/null +++ b/pages/common/aws-rds.md @@ -0,0 +1,36 @@ +# aws rds + +> Use AWS Relational Database Service, a web service for setting up, operating and scaling relational databases. +> More information: . + +- Display help for a specific RDS subcommand: + +`aws rds {{subcommand}} help` + +- Stop instance: + +`aws rds stop-db-instance --db-instance-identifier {{instance_identifier}}` + +- Start instance: + +`aws rds start-db-instance --db-instance-identifier {{instance_identifier}}` + +- Modify an RDS instance: + +`aws rds modify-db-instance --db-instance-identifier {{instance_identifier}} {{parameters}} --apply-immediately` + +- Apply updates to an RDS instance: + +`aws rds apply-pending-maintenance-action --resource-identifier {{database_arn}} --apply-action {{system-update}} --opt-in-type {{immediate}}` + +- Change an instance identifier: + +`aws rds modify-db-instance --db-instance-identifier {{old_instance_identifier}} --new-db-instance-identifier {{new_instance_identifier}}` + +- Reboot an instance: + +`aws rds reboot-db-instance --db-instance-identifier {{instance_identifier}}` + +- Delete an instance: + +`aws rds delete-db-instance --db-instance-identifier {{instance_identifier}} --final-db-snapshot-identifier {{snapshot_identifier}} --delete-automated-backups` diff --git a/pages/common/aws-route53.md b/pages/common/aws-route53.md new file mode 100644 index 00000000000000..7e734d353a19e9 --- /dev/null +++ b/pages/common/aws-route53.md @@ -0,0 +1,24 @@ +# aws route53 + +> CLI for AWS Route53 - Route 53 is a highly available and scalable Domain Name System (DNS) web service. +> More information: . + +- List all hosted zones, private and public: + +`aws route53 list-hosted-zones` + +- Show all records in a zone: + +`aws route53 list-resource-record-sets --hosted-zone-id {{zone_id}}` + +- Create a new, public zone using a request identifier to retry the operation safely: + +`aws route53 create-hosted-zone --name {{name}} --caller-reference {{request_identifier}}` + +- Delete a zone (if the zone has non-defaults SOA and NS records the command will fail): + +`aws route53 delete-hosted-zone --id {{zone_id}}` + +- Test DNS resolving by Amazon servers of a given zone: + +`aws route53 test-dns-answer --hosted-zone-id {{zone_id}} --record-name {{name}} --record-type {{type}}` diff --git a/pages/common/aws-s3-cp.md b/pages/common/aws-s3-cp.md new file mode 100644 index 00000000000000..dbeadcb38d7e4a --- /dev/null +++ b/pages/common/aws-s3-cp.md @@ -0,0 +1,24 @@ +# aws s3 cp + +> Copy local files or S3 objects to another location locally or in S3. +> More information: . + +- Copy a file from local to a specific bucket: + +`aws s3 cp {{path/to/file}} s3://{{bucket_name}}/{{path/to/remote_file}}` + +- Copy a specific S3 object into another bucket: + +`aws s3 cp s3://{{bucket_name1}}/{{path/to/file}} s3://{{bucket_name2}}/{{path/to/target}}` + +- Copy a specific S3 object into another bucket keeping the original name: + +`aws s3 cp s3://{{bucket_name1}}/{{path/to/file}} s3://{{bucket_name2}}` + +- Copy S3 objects to a local directory recursively: + +`aws s3 cp s3://{{bucket_name}} . --recursive` + +- Display help: + +`aws s3 cp help` diff --git a/pages/common/aws-s3-ls.md b/pages/common/aws-s3-ls.md new file mode 100644 index 00000000000000..44de2e5043994f --- /dev/null +++ b/pages/common/aws-s3-ls.md @@ -0,0 +1,28 @@ +# aws s3 ls + +> List AWS S3 buckets, folders (prefixes), and files (objects). +> More information: . + +- List all buckets: + +`aws s3 ls` + +- List files and folders in the root of a bucket (`s3://` is optional): + +`aws s3 ls s3://{{bucket_name}}` + +- List files and folders directly inside a directory: + +`aws s3 ls {{bucket_name}}/{{path/to/directory}}/` + +- List all files in a bucket: + +`aws s3 ls --recursive {{bucket_name}}` + +- List all files in a path with a given prefix: + +`aws s3 ls --recursive {{bucket_name}}/{{path/to/directory}}/{{prefix}}` + +- Display help: + +`aws s3 ls help` diff --git a/pages/common/aws-s3-mb.md b/pages/common/aws-s3-mb.md new file mode 100644 index 00000000000000..d00170e9f48de4 --- /dev/null +++ b/pages/common/aws-s3-mb.md @@ -0,0 +1,16 @@ +# aws s3 mb + +> Create S3 buckets. +> More information: . + +- Create an S3 bucket: + +`aws s3 mb s3://{{bucket_name}}` + +- Create an S3 bucket in a specific region: + +`aws s3 mb s3://{{bucket_name}} --region {{region}}` + +- Display help: + +`aws s3 mb help` diff --git a/pages/common/aws-s3-mv.md b/pages/common/aws-s3-mv.md new file mode 100644 index 00000000000000..b3ecf2e5befd37 --- /dev/null +++ b/pages/common/aws-s3-mv.md @@ -0,0 +1,20 @@ +# aws s3 mv + +> Move local files or S3 objects to another location locally or in S3. +> More information: . + +- Move a file from local to a specified bucket: + +`aws s3 mv {{path/to/local_file}} s3://{{bucket_name}}/{{path/to/remote_file}}` + +- Move a specific S3 object into another bucket: + +`aws s3 mv s3://{{bucket_name1}}/{{path/to/file}} s3://{{bucket_name2}}/{{path/to/target}}` + +- Move a specific S3 object into another bucket keeping the original name: + +`aws s3 mv s3://{{bucket_name1}}/{{path/to/file}} s3://{{bucket_name2}}` + +- Display help: + +`aws s3 mv help` diff --git a/pages/common/aws-s3-presign.md b/pages/common/aws-s3-presign.md new file mode 100644 index 00000000000000..99089fb9e90b58 --- /dev/null +++ b/pages/common/aws-s3-presign.md @@ -0,0 +1,16 @@ +# aws s3 presign + +> Generate pre-signed URLs for Amazon S3 objects. +> More information: . + +- Generate a pre-signed URL for a specific S3 object that is valid for one hour: + +`aws s3 presign s3://{{bucket_name}}/{{path/to/file}}` + +- Generate a pre-signed URL valid for a specific lifetime: + +`aws s3 presign s3://{{bucket_name}}/{{path/to/file}} --expires-in {{duration_in_seconds}}` + +- Display help: + +`aws s3 presign help` diff --git a/pages/common/aws-s3-rb.md b/pages/common/aws-s3-rb.md new file mode 100644 index 00000000000000..518258fc98066c --- /dev/null +++ b/pages/common/aws-s3-rb.md @@ -0,0 +1,12 @@ +# aws s3 rb + +> Delete an empty S3 bucket. +> More information: . + +- Delete an empty S3 bucket: + +`aws s3 rb s3://{{bucket_name}}` + +- Force delete an S3 bucket and its non-versioned objects (will crash if versioned objects are present): + +`aws s3 rb s3://{{bucket_name}} --force` diff --git a/pages/common/aws-s3-rm.md b/pages/common/aws-s3-rm.md new file mode 100644 index 00000000000000..56506ea9cae0a8 --- /dev/null +++ b/pages/common/aws-s3-rm.md @@ -0,0 +1,24 @@ +# aws s3 rm + +> Delete S3 objects. +> More information: . + +- Delete a specific S3 object: + +`aws s3 rm s3://{{bucket_name}}/{{path/to/file}}` + +- Preview the deletion of a specific S3 object without deleting it (dry-run): + +`aws s3 rm s3://{{bucket_name}}/{{path/to/file}} --dryrun` + +- Delete an object from a specific S3 access point: + +`aws s3 rm s3://arn:aws:s3:{{region}}:{{account_id}}:{{access_point}}/{{access_point_name}}/{{object_key}}` + +- Remove all objects from a bucket (empty the bucket): + +`aws s3 rm s3://{{bucket_name}} --recursive` + +- Display help: + +`aws s3 rm help` diff --git a/pages/common/aws-s3-sync.md b/pages/common/aws-s3-sync.md new file mode 100644 index 00000000000000..39f9ca5159153d --- /dev/null +++ b/pages/common/aws-s3-sync.md @@ -0,0 +1,36 @@ +# aws s3 sync + +> Recursively sync files and directories between your local system and an S3 bucket, or between S3 buckets. +> More information: . + +- Sync files in a directory from local to a bucket: + +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}/{{path/to/remote_location}}` + +- Sync files in a directory from a bucket to local: + +`aws s3 sync s3://{{bucket_name}}/{{path/to/remote_location}} {{path/to/directory}}` + +- Sync objects between two buckets: + +`aws s3 sync s3://{{bucket_source_name}}/{{path/to/remote_location}} s3://{{bucket_target_name}}/{{path/to/remote_location}}` + +- Sync local files to S3 while excluding specific files or directories: + +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}/{{path/to/remote_location}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*` + +- Sync objects between buckets and delete destination files not in source: + +`aws s3 sync s3://{{bucket_source_name}}/{{path/to/remote_location}} s3://{{bucket_target_name}}/{{path/to/remote_location}} --delete` + +- Sync to S3 with advanced options (set ACL and storage class): + +`aws s3 sync {{path/to/local_directory}} s3://{{bucket_name}}/{{path/to/remote_location}} --acl {{private|public-read}} --storage-class {{STANDARD_IA|GLACIER}}` + +- Sync files to S3 and skip unchanged ones (compare size and modification time): + +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}/{{path/to/remote_location}} --size-only` + +- Display help: + +`aws s3 sync help` diff --git a/pages/common/aws-s3-website.md b/pages/common/aws-s3-website.md new file mode 100644 index 00000000000000..feba333c19aed1 --- /dev/null +++ b/pages/common/aws-s3-website.md @@ -0,0 +1,13 @@ +# aws s3 website + +> Set the website configuration for a bucket. +> See also: `aws s3`. +> More information: . + +- Configure a bucket as a static website: + +`aws s3 website {{s3://bucket-name}} --index-document {{index.html}}` + +- Configure an error page for the website: + +`aws s3 website {{s3://bucket-name}} --index-document {{index.html}} --error-document {{error.html}}` diff --git a/pages/common/aws-s3.md b/pages/common/aws-s3.md index a924ec8059bffb..e7ebe3cdc57907 100644 --- a/pages/common/aws-s3.md +++ b/pages/common/aws-s3.md @@ -1,23 +1,24 @@ # aws s3 > CLI for AWS S3 - provides storage through web services interfaces. -> More information: . +> Some subcommands such as `cp` have their own usage documentation. +> More information: . - Show files in a bucket: `aws s3 ls {{bucket_name}}` -- Sync files and directories from local to bucket: +- Sync files in a directory from local to bucket: -`aws s3 sync {{path/to/files}} s3://{{bucket_name}}` +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}` - Sync files and directories from bucket to local: `aws s3 sync s3://{{bucket_name}} {{path/to/target}}` -- Sync files and directories with exclusions: +- Sync files in a directory with exclusions: -`aws s3 sync {{path/to/files}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*` +`aws s3 sync {{path/to/directory}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*` - Remove file from bucket: diff --git a/pages/common/aws-s3api.md b/pages/common/aws-s3api.md new file mode 100644 index 00000000000000..3f32c0a65aac32 --- /dev/null +++ b/pages/common/aws-s3api.md @@ -0,0 +1,36 @@ +# aws s3api + +> Create and delete Amazon S3 buckets and edit bucket properties. +> More information: . + +- Create bucket in a specific region: + +`aws s3api create-bucket --bucket {{bucket_name}} --region {{region}} --create-bucket-configuration LocationConstraint={{region}}` + +- Delete a bucket: + +`aws s3api delete-bucket --bucket {{bucket_name}}` + +- List buckets: + +`aws s3api list-buckets` + +- List the objects inside of a bucket and only show each object's key and size: + +`aws s3api list-objects --bucket {{bucket_name}} --query '{{Contents[].{Key: Key, Size: Size}}}'` + +- Add an object to a bucket: + +`aws s3api put-object --bucket {{bucket_name}} --key {{object_key}} --body {{path/to/file}}` + +- Download object from a bucket (The output file is always the last argument): + +`aws s3api get-object --bucket {{bucket_name}} --key {{object_key}} {{path/to/output_file}}` + +- Apply an Amazon S3 bucket policy to a specified bucket: + +`aws s3api put-bucket-policy --bucket {{bucket_name}} --policy file://{{path/to/bucket_policy.json}}` + +- Download the Amazon S3 bucket policy from a specified bucket: + +`aws s3api get-bucket-policy --bucket {{bucket_name}} --query Policy --output {{json|table|text|yaml|yaml-stream}} > {{path/to/bucket_policy}}` diff --git a/pages/common/aws-secretsmanager.md b/pages/common/aws-secretsmanager.md new file mode 100644 index 00000000000000..5cb2ebb3321b3a --- /dev/null +++ b/pages/common/aws-secretsmanager.md @@ -0,0 +1,36 @@ +# aws secretsmanager + +> Store, manage, and retrieve secrets. +> More information: . + +- Show secrets stored by the secrets manager in the current account: + +`aws secretsmanager list-secrets` + +- List all secrets but only show the secret names and ARNs (easy to view): + +`aws secretsmanager list-secrets --query 'SecretList[*].{Name: Name, ARN: ARN}'` + +- Create a secret: + +`aws secretsmanager create-secret --name {{name}} --description "{{secret_description}}" --secret-string '{{secret}}'` + +- Delete a secret (append `--force-delete-without-recovery` to delete immediately without any recovery period): + +`aws secretsmanager delete-secret --secret-id {{name|arn}}` + +- View details of a secret except for secret text: + +`aws secretsmanager describe-secret --secret-id {{name|arn}}` + +- Retrieve the value of a secret (to get the latest version of the secret omit `--version-stage`): + +`aws secretsmanager get-secret-value --secret-id {{name|arn}} --version-stage {{version_of_secret}}` + +- Rotate the secret immediately using a Lambda function: + +`aws secretsmanager rotate-secret --secret-id {{name|arn}} --rotation-lambda-arn {{arn_of_lambda_function}}` + +- Rotate the secret automatically every 30 days using a Lambda function: + +`aws secretsmanager rotate-secret --secret-id {{name|arn}} --rotation-lambda-arn {{arn_of_lambda_function}} --rotation-rules AutomaticallyAfterDays={{30}}` diff --git a/pages/common/aws-ses.md b/pages/common/aws-ses.md new file mode 100644 index 00000000000000..d28457a7d72207 --- /dev/null +++ b/pages/common/aws-ses.md @@ -0,0 +1,37 @@ +# aws ses + +> CLI for AWS Simple Email Service. +> High-scale inbound and outbound cloud email service. +> More information: . + +- Create a new receipt rule set: + +`aws ses create-receipt-rule-set --rule-set-name {{rule_set_name}} --generate-cli-skeleton` + +- Describe the active receipt rule set: + +`aws ses describe-active-receipt-rule-set --generate-cli-skeletion` + +- Describe a specific receipt rule: + +`aws ses describe-receipt-rule --rule-set-name {{rule_set_name}} --rule-name {{rule_name}} --generate-cli-skeleton` + +- List all receipt rule sets: + +`aws ses list-receipt-rule-sets --starting-token {{token_string}} --max-items {{integer}} --generate-cli-skeleton` + +- Delete a specific receipt rule set (the currently active rule set cannot be deleted): + +`aws ses delete-receipt-rule-set --rule-set-name {{rule_set_name}} --generate-cli-skeleton` + +- Delete a specific receipt rule: + +`aws ses delete-receipt-rule --rule-set-name {{rule_set_name}} --rule-name {{rule_name}} --generate-cli-skeleton` + +- Send an email: + +`aws ses send-email --from {{from_address}} --destination "ToAddresses={{addresses}}" --message "Subject={Data={{subject_text}},Charset=utf8},Body={Text={Data={{body_text}},Charset=utf8},Html={Data={{message_body_containing_html}},Charset=utf8}}"` + +- Display help for a specific SES subcommand: + +`aws ses {{subcommand}} help` diff --git a/pages/common/aws-sns.md b/pages/common/aws-sns.md new file mode 100644 index 00000000000000..f64c8dc1fe9b48 --- /dev/null +++ b/pages/common/aws-sns.md @@ -0,0 +1,36 @@ +# aws sns + +> Create topics and subscriptions, send and receive messages, and monitor events and logs for the Amazon Simple Notification Service. +> More information: . + +- List all objects of a specific type: + +`aws sns list-{{origination-numbers|phone-numbers-opted-out|platform-applications|sms-sandbox-phone-numbers|subscriptions|topics}}` + +- Create a topic with a specific name and show its Amazon Resource Name (ARN): + +`aws sns create-topic --name {{name}}` + +- Subscribe an email address to the topic with a specific ARN and show the subscription ARN: + +`aws sns subscribe --topic-arn {{topic_ARN}} --protocol email --notification-endpoint {{email}}` + +- Publish a message to a specific topic or phone number and show the message ID: + +`aws sns publish {{--topic-arn "arn:aws:sns:us-west-2:123456789012:topic-name"||--phone-number +1-555-555-0100}} --message file://{{path/to/file}}` + +- Delete the subscription with a specific ARN from its topic: + +`aws sns unsubscribe --subscription-arn {{subscription_ARN}}` + +- Create a platform endpoint: + +`aws sns create-platform-endpoint --platform-application-arn {{platform_application_ARN}} --token {{token}}` + +- Add a statement to a topic's access control policy: + +`aws sns add-permission --topic-arn {{topic_ARN}} --label {{topic_label}} --aws-account-id {{account_id}} --action-name {{AddPermission|CreatePlatformApplication|DeleteEndpoint|GetDataProtectionPolicy|GetEndpointAttributes|Subscribe|...}}` + +- Add a tag to the topic with a specific ARN: + +`aws sns tag-resource --resource-arn {{topic_ARN}} --tags {{Key=tag1_key Key=tag2_key,Value=tag2_value ...}}` diff --git a/pages/common/aws-sqs.md b/pages/common/aws-sqs.md new file mode 100644 index 00000000000000..f27e79e4886bbe --- /dev/null +++ b/pages/common/aws-sqs.md @@ -0,0 +1,36 @@ +# aws sqs + +> Create, delete, and send messages to queues for the AWS SQS service. +> More information: . + +- List all availables queues: + +`aws sqs list-queues` + +- Display the URL of a specific queue: + +`aws sqs get-queue-url --queue-name {{queue_name}}` + +- Create a queue with specific attributes from a file in JSON format: + +`aws sqs create-queue --queue-name {{queue_name}} --attributes {{file://path/to/attributes_file.json}}` + +- Send a specific message to a queue: + +`aws sqs send-message --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}} --message-body "{{message_body}}" --delay-seconds {{delay}} --message-attributes {{file://path/to/attributes_file.json}}` + +- Delete the specified message from a queue: + +`aws sqs delete-message --queue-url {{https://queue_url}} --receipt-handle {{receipt_handle}}` + +- Delete a specific queue: + +`aws sqs delete-queue --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}}` + +- Delete all messages from the specified queue: + +`aws sqs purge-queue --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}}` + +- Enable a specific AWS account to send messages to queue: + +`aws sqs add-permission --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}} --label {{permission_name}} --aws-account-ids {{account_id}} --actions SendMessage` diff --git a/pages/common/aws-sso.md b/pages/common/aws-sso.md new file mode 100644 index 00000000000000..ff1765b7b17130 --- /dev/null +++ b/pages/common/aws-sso.md @@ -0,0 +1,24 @@ +# aws sso + +> Manage access to AWS resources using Single Sign-On (SSO) credentials. +> More information: . + +- Start SSO session and refresh access tokens. Requires setup using `aws configure sso`: + +`aws sso login` + +- End SSO session and clear cached access tokens: + +`aws sso logout` + +- List all AWS accounts accessible to the user: + +`aws sso list-accounts` + +- List all roles accessible to the user for a given AWS account: + +`aws sso list-account-roles --account-id {{account}} --access-token {{token}}` + +- Retrieve short-term credentials for a specific account: + +`aws get-role-credentials --account-id {{account}} --role-name {{role}} --access-token {{token}}` diff --git a/pages/common/aws-sts.md b/pages/common/aws-sts.md new file mode 100644 index 00000000000000..6fed36b4e1faeb --- /dev/null +++ b/pages/common/aws-sts.md @@ -0,0 +1,12 @@ +# aws sts + +> Security Token Service (STS) allows to request temporary credentials for (IAM) users or federated users. +> More information: . + +- Get temporary security credentials to access specific AWS resources: + +`aws sts assume-role --role-arn {{aws_role_arn}}` + +- Get an IAM user or role whose credentials are used to call the operation: + +`aws sts get-caller-identity` diff --git a/pages/common/aws-workmail.md b/pages/common/aws-workmail.md new file mode 100644 index 00000000000000..9a28ffe5c575cb --- /dev/null +++ b/pages/common/aws-workmail.md @@ -0,0 +1,36 @@ +# aws workmail + +> Manage Amazon WorkMail. +> More information: . + +- List all WorkMail organizations: + +`aws workmail list-organizations` + +- List all users of a specific organization: + +`aws workmail list-users --organization-id {{organization_id}}` + +- Create a WorkMail user in a specific organization: + +`aws workmail create-user --name {{username}} --display-name {{name}} --password {{password}} --organization-id {{organization_id}}` + +- Register and enable a group/user to WorkMail: + +`aws workmail register-to-work-mail --entity-id {{entity_id}} --email {{email}} --organization-id {{organization_id}}` + +- Create a WorkMail group in a specific organization: + +`aws workmail create-group --name {{group_name}} --organization-id {{organization_id}}` + +- Associate a member to a specific group: + +`aws workmail associate-member-to-group --group-id {{group_id}} --member-id {{member_id}} --organization-id {{organization_id}}` + +- Deregister and disable a user/group from WorkMail: + +`aws workmail deregister-from-work-mail --entity-id {{entity_id}} --organization-id {{organization_id}}` + +- Delete a user from an organization: + +`aws workmail delete-user --user-id {{user_id}} --organization-id {{organization_id}}` diff --git a/pages/common/aws.md b/pages/common/aws.md index b0b2decc39c3ac..11230e88323e93 100644 --- a/pages/common/aws.md +++ b/pages/common/aws.md @@ -1,26 +1,22 @@ # aws > The official CLI tool for Amazon Web Services. -> Wizard, SSO, Resource Autocompletion, and YAML options are v2 only. +> Some subcommands such as `s3` have their own usage documentation. > More information: . -- Configure the AWS Command Line: +- Configure the AWS Command-line: `aws configure wizard` -- Configure the AWS Command Line using SSO: +- Configure the AWS Command-line using SSO: `aws configure sso` -- See help text for the AWS command: - -`aws {{command}} help` - - Get the caller identity (used to troubleshoot permissions): `aws sts get-caller-identity` -- List AWS resources in a region and output in yaml: +- List AWS resources in a region and output in YAML: `aws dynamodb list-tables --region {{us-east-1}} --output yaml` @@ -35,3 +31,7 @@ - Generate a JSON CLI Skeleton (useful for infrastructure as code): `aws dynamodb update-table --generate-cli-skeleton` + +- Display help for a specific command: + +`aws {{command}} help` diff --git a/pages/common/awslogs.md b/pages/common/awslogs.md index 183547cd1ce82e..db7406aad475cd 100644 --- a/pages/common/awslogs.md +++ b/pages/common/awslogs.md @@ -1,6 +1,6 @@ # awslogs -> Queries groups, streams and events from Amazon Cloudwatch logs. +> Queries groups, streams and events from Amazon CloudWatch logs. > More information: . - List log groups: @@ -13,11 +13,11 @@ - Get logs for any streams in the specified group between 1 and 2 hours ago: -`awslogs get {{/var/log/syslog}} --start='{{2h ago}}' --end='{{1h ago}}'` +`awslogs get {{/var/log/syslog}} {{[-s|--start]}} '{{2h ago}}' {{[-e|--end]}} '{{1h ago}}'` -- Get logs that match a specific Cloudwatch Logs Filter pattern: +- Get logs that match a specific CloudWatch Logs Filter pattern: -`awslogs get {{/aws/lambda/my_lambda_group}} --filter-pattern='{{ERROR}}'` +`awslogs get {{/aws/lambda/my_lambda_group}} --filter-pattern '{{ERROR}}'` - Watch logs for any streams in the specified group: diff --git a/pages/common/axel.md b/pages/common/axel.md index e919fa2982128a..9aadb7322f98b7 100644 --- a/pages/common/axel.md +++ b/pages/common/axel.md @@ -2,24 +2,24 @@ > Download accelerator. > Supports HTTP, HTTPS, and FTP. -> More information: . +> More information: . - Download a URL to a file: `axel {{url}}` -- Download and specify filename: +- Download and specify an output file: -`axel {{url}} -o {{filename}}` +`axel {{url}} {{[-o|--output]}} {{path/to/file}}` -- Download with multiple connections: +- Download with a specific number connections: -`axel -n {{connections_num}} {{url}}` +`axel {{[-n|--num-connections]}} {{connections_num}} {{url}}` - Search for mirrors: -`axel -S {{mirrors_num}} {{url}}` +`axel {{[-S|--search]}} {{mirrors_num}} {{url}}` - Limit download speed (bytes per second): -`axel -s {{speed}} {{url}}` +`axel {{[-s|--max-speed]}} {{speed}} {{url}}` diff --git a/pages/common/az-account.md b/pages/common/az-account.md new file mode 100644 index 00000000000000..3faff647303d41 --- /dev/null +++ b/pages/common/az-account.md @@ -0,0 +1,25 @@ +# az account + +> Manage Azure subscription information. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- List all subscriptions for the logged in account: + +`az account list` + +- Set a `subscription` to be the currently active subscription: + +`az account set {{[-s|--subscription]}} {{subscription_id}}` + +- List supported regions for the currently active subscription: + +`az account list-locations` + +- Print an access token to be used with `MS Graph API`: + +`az account get-access-token --resource-type {{ms-graph}}` + +- Print details of the currently active subscription in a specific format: + +`az account show {{[-o|--output]}} {{json|tsv|table|yaml}}` diff --git a/pages/common/az-acr.md b/pages/common/az-acr.md new file mode 100644 index 00000000000000..bd981930730b36 --- /dev/null +++ b/pages/common/az-acr.md @@ -0,0 +1,37 @@ +# az acr + +> Manage private registries with Azure Container Registries. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a managed container registry: + +`az acr create {{[-n|--name]}} {{registry_name}} {{[-g|--resource-group]}} {{resource_group}} --sku {{sku}}` + +- Login to a registry: + +`az acr login {{[-n|--name]}} {{registry_name}}` + +- Tag a local image for ACR: + +`docker tag {{image_name}} {{registry_name}}.azurecr.io/{{image_name}}:{{tag}}` + +- Push an image to a registry: + +`docker push {{registry_name}}.azurecr.io/{{image_name}}:{{tag}}` + +- Pull an image from a registry: + +`docker pull {{registry_name}}.azurecr.io/{{image_name}}:{{tag}}` + +- Delete an image from a registry: + +`az acr repository delete {{[-n|--name]}} {{registry_name}} --repository {{image_name}}:{{tag}}` + +- Delete a managed container registry: + +`az acr delete {{[-n|--name]}} {{registry_name}} {{[-g|--resource-group]}} {{resource_group}} {{[-y|--yes]}}` + +- List images within a registry: + +`az acr repository list {{[-n|--name]}} {{registry_name}} --output table` diff --git a/pages/common/az-advisor.md b/pages/common/az-advisor.md new file mode 100644 index 00000000000000..6acc7130015408 --- /dev/null +++ b/pages/common/az-advisor.md @@ -0,0 +1,25 @@ +# az advisor + +> Manage Azure subscription information. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- List Azure Advisor configuration for the entire subscription: + +`az advisor configuration list` + +- Show Azure Advisor configuration for the given subscription or resource group: + +`az advisor configuration show {{[-g|--resource-group]}} {{resource_group}}` + +- List Azure Advisor recommendations: + +`az advisor recommendation list` + +- Enable Azure Advisor recommendations: + +`az advisor recommendation enable {{[-g|--resource-group]}} {{resource_group}}` + +- Disable Azure Advisor recommendations: + +`az advisor recommendation disable {{[-g|--resource-group]}} {{resource_group}}` diff --git a/pages/common/az-aks.md b/pages/common/az-aks.md new file mode 100644 index 00000000000000..ed999c6cd4b26b --- /dev/null +++ b/pages/common/az-aks.md @@ -0,0 +1,25 @@ +# az aks + +> Manage Azure Kubernetes Service (AKS) clusters. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- List AKS clusters: + +`az aks list {{[-g|--resource-group]}} {{resource_group}}` + +- Create a new AKS cluster: + +`az aks create {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}} {{[-c|--node-count]}} {{count}} --node-vm-size {{size}}` + +- Delete an AKS cluster: + +`az aks delete {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}}` + +- Get the access credentials for an AKS cluster: + +`az aks get-credentials {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}}` + +- Get the upgrade versions available for an AKS cluster: + +`az aks get-upgrades {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}}` diff --git a/pages/common/az-apim.md b/pages/common/az-apim.md new file mode 100644 index 00000000000000..11c41acd78e786 --- /dev/null +++ b/pages/common/az-apim.md @@ -0,0 +1,25 @@ +# az apim + +> Manage Azure API Management services. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- List API Management services within a resource group: + +`az apim list {{[-g|--resource-group]}} {{resource_group}}` + +- Create an API Management service instance: + +`az apim create {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}} --publisher-email {{email}} --publisher-name {{name}}` + +- Delete an API Management service: + +`az apim delete {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Show details of an API Management service instance: + +`az apim show {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Update an API Management service instance: + +`az apim update {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` diff --git a/pages/common/az-appconfig.md b/pages/common/az-appconfig.md new file mode 100644 index 00000000000000..6fb82e8abcf495 --- /dev/null +++ b/pages/common/az-appconfig.md @@ -0,0 +1,29 @@ +# az appconfig + +> Manage App configurations on Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create an App Configuration: + +`az appconfig create {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{group_name}} {{[-l|--location]}} {{location}}` + +- Delete a specific App Configuration: + +`az appconfig delete {{[-g|--resource-group]}} {{rg_name}} {{[-n|--name]}} {{appconfig_name}}` + +- List all App Configurations under the current subscription: + +`az appconfig list` + +- List all App Configurations under a specific resource group: + +`az appconfig list {{[-g|--resource-group]}} {{rg_name}}` + +- Show properties of an App Configuration: + +`az appconfig show {{[-n|--name]}} {{appconfig_name}}` + +- Update a specific App Configuration: + +`az appconfig update {{[-g|--resource-group]}} {{rg_name}} {{[-n|--name]}} {{appconfig_name}}` diff --git a/pages/common/az-bicep.md b/pages/common/az-bicep.md new file mode 100644 index 00000000000000..ca69ec116e2ae4 --- /dev/null +++ b/pages/common/az-bicep.md @@ -0,0 +1,33 @@ +# az bicep + +> Bicep CLI command group. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Install Bicep CLI: + +`az bicep install` + +- Build a Bicep file: + +`az bicep build {{[-f|--file]}} {{path/to/file.bicep}}` + +- Attempt to decompile an ARM template file to a Bicep file: + +`az bicep decompile {{[-f|--file]}} {{path/to/template_file.json}}` + +- Upgrade Bicep CLI to the latest version: + +`az bicep upgrade` + +- Display the installed version of Bicep CLI: + +`az bicep version` + +- List all available versions of Bicep CLI: + +`az bicep list-versions` + +- Uninstall Bicep CLI: + +`az bicep uninstall` diff --git a/pages/common/az-config.md b/pages/common/az-config.md new file mode 100644 index 00000000000000..5de090cba7787f --- /dev/null +++ b/pages/common/az-config.md @@ -0,0 +1,21 @@ +# az config + +> Manage Azure CLI configuration. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Print all configurations: + +`az config get` + +- Print configurations for a specific section: + +`az config get {{section_name}}` + +- Set a configuration: + +`az config set {{configuration_name}}={{value}}` + +- Unset a configuration: + +`az config unset {{configuration_name}}` diff --git a/pages/common/az-container.md b/pages/common/az-container.md new file mode 100644 index 00000000000000..cd95a10d540aa0 --- /dev/null +++ b/pages/common/az-container.md @@ -0,0 +1,33 @@ +# az container + +> Manage Azure Container Instances. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a container in a container group: + +`az container create {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}} --image {{image_name}} {{[-os|--os-type]}} {{windows|linux}} --cpu {{number_of_CPU_cores}} --memory {{memory_in_GB}}` + +- Execute a command from within a running container of a container group: + +`az container exec {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{container_group_name}} --exec-command "{{command}}"` + +- Examine the logs of a container in a container group: + +`az container logs {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Get the details of a container group: + +`az container show {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Start all containers in a container group: + +`az container start {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Stop all containers in a container group: + +`az container stop {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Delete a container group: + +`az container delete {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` diff --git a/pages/common/az-devops.md b/pages/common/az-devops.md new file mode 100644 index 00000000000000..a4d5791690e94a --- /dev/null +++ b/pages/common/az-devops.md @@ -0,0 +1,25 @@ +# az devops + +> Manage Azure DevOps organizations. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Set the Personal Access Token (PAT) to login to a particular organization: + +`az devops login {{[--org|--organization]}} {{organization_url}}` + +- Open a project in the browser: + +`az devops project show {{[-p|--project]}} {{project_name}} --open` + +- List members of a specific team working on a particular project: + +`az devops team list-member {{[-p|--project]}} {{project_name}} --team {{team_name}}` + +- Check the Azure DevOps CLI current configuration: + +`az devops configure {{[-l|--list]}}` + +- Configure the Azure DevOps CLI behavior by setting a default project and a default organization: + +`az devops configure {{[-d|--defaults]}} project={{project_name}} organization={{organization_url}}` diff --git a/pages/common/az-disk.md b/pages/common/az-disk.md new file mode 100644 index 00000000000000..c2dbb07ca8f287 --- /dev/null +++ b/pages/common/az-disk.md @@ -0,0 +1,25 @@ +# az disk + +> Manage Azure Managed Disks. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a managed disk: + +`az disk create {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{disk_name}} {{[-z|--size-gb]}}{{size_in_gb}}` + +- List managed disks in a resource group: + +`az disk list {{[-g|--resource-group]}} {{resource_group}}` + +- Delete a managed disk: + +`az disk delete {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{disk_name}}` + +- Grant read or write access to a managed disk (for export): + +`az disk grant-access {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{disk_name}} {{[--access|--access-level]}} {{Read|Write}} --duration-in-seconds {{seconds}}` + +- Update disk size: + +`az disk update {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{disk_name}} {{[-z|--size-gb]}} {{new_size_in_gb}}` diff --git a/pages/common/az-feedback.md b/pages/common/az-feedback.md new file mode 100644 index 00000000000000..2e469dfc470e80 --- /dev/null +++ b/pages/common/az-feedback.md @@ -0,0 +1,9 @@ +# az feedback + +> Send feedback to the Azure CLI Team. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Send feedback to the Azure CLI Team: + +`az feedback` diff --git a/pages/common/az-group.md b/pages/common/az-group.md new file mode 100644 index 00000000000000..0ae091a4705fd9 --- /dev/null +++ b/pages/common/az-group.md @@ -0,0 +1,21 @@ +# az group + +> Manage resource groups and template deployments. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a new resource group: + +`az group create {{[-n|--name]}} {{name}} {{[-l|--location]}} {{location}}` + +- Check if a resource group exists: + +`az group exists {{[-n|--name]}} {{name}}` + +- Delete a resource group: + +`az group delete {{[-n|--name]}} {{name}}` + +- Wait until a condition of the resource group is met: + +`az group wait {{[-n|--name]}} {{name}} --{{created|deleted|exists|updated}}` diff --git a/pages/common/az-image.md b/pages/common/az-image.md new file mode 100644 index 00000000000000..d01278ac067e48 --- /dev/null +++ b/pages/common/az-image.md @@ -0,0 +1,25 @@ +# az image + +> Manage custom Virtual Machine Images in Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- List the custom images under a resource group: + +`az image list {{[-g|--resource-group]}} {{resource_group}}` + +- Create a custom image from managed disks or snapshots: + +`az image create {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}} --os-type {{windows|linux}} --source {{os_disk_source}}` + +- Delete a custom image: + +`az image delete {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Show details of a custom image: + +`az image show {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Update custom images: + +`az image update {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}} --set {{property=value}}` diff --git a/pages/common/az-lock.md b/pages/common/az-lock.md new file mode 100644 index 00000000000000..5ce3a1b2639a88 --- /dev/null +++ b/pages/common/az-lock.md @@ -0,0 +1,29 @@ +# az lock + +> Manage Azure locks. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a read-only subscription level lock: + +`az lock create {{[-n|--name]}} {{lock_name}} {{[-t|--lock-type]}} ReadOnly` + +- Create a read-only resource group level lock: + +`az lock create {{[-n|--name]}} {{lock_name}} {{[-g|--resource-group]}} {{group_name}} {{[-t|--lock-type]}} ReadOnly` + +- Delete a subscription level lock: + +`az lock delete {{[-n|--name]}} {{lock_name}}` + +- Delete a resource group level lock: + +`az lock delete {{[-n|--name]}} {{lock_name}} {{[-g|--resource-group]}} {{group_name}}` + +- List out all locks on the subscription level: + +`az lock list` + +- Show a subscription level lock with a specific name: + +`az lock show {{[-n|--name]}} {{lock_name}}` diff --git a/pages/common/az-logicapp.md b/pages/common/az-logicapp.md new file mode 100644 index 00000000000000..379cbc4cb2ecfc --- /dev/null +++ b/pages/common/az-logicapp.md @@ -0,0 +1,29 @@ +# az logicapp + +> Manage Logic Apps in Azure Cloud Services. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a logic app: + +`az logicapp create {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}} {{[-s|--storage-account]}} {{storage_account}}` + +- Delete a logic app: + +`az logicapp delete {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- List logic apps: + +`az logicapp list {{[-g|--resource-group]}} {{resource_group}}` + +- Restart a logic app: + +`az logicapp restart {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Start a logic app: + +`az logicapp start {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Stop a logic app: + +`az logicapp stop {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` diff --git a/pages/common/az-login.md b/pages/common/az-login.md new file mode 100644 index 00000000000000..161dc32fee10bb --- /dev/null +++ b/pages/common/az-login.md @@ -0,0 +1,25 @@ +# az login + +> Log in to Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Log in interactively: + +`az login` + +- Log in with a service principal using a client secret: + +`az login --service-principal {{[-u|--username]}} {{http://azure-cli-service-principal}} {{[-p|--password]}} {{secret}} --tenant {{someone.onmicrosoft.com}}` + +- Log in with a service principal using a client certificate: + +`az login --service-principal {{[-u|--username]}} {{http://azure-cli-service-principal}} {{[-p|--password]}} {{path/to/cert.pem}} {{[-t|--tenant]}} {{someone.onmicrosoft.com}}` + +- Log in using a VM's system assigned identity: + +`az login {{[-i|--identity]}}` + +- Log in using a VM's user assigned identity: + +`az login {{[-i|--identity]}} {{[-u|--username]}} /subscriptions/{{subscription_id}}/resourcegroups/{{my_rg}}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{{my_id}}` diff --git a/pages/common/az-logout.md b/pages/common/az-logout.md new file mode 100644 index 00000000000000..24f8133131765c --- /dev/null +++ b/pages/common/az-logout.md @@ -0,0 +1,13 @@ +# az logout + +> Log out from an Azure subscription. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Log out from the active account: + +`az logout` + +- Log out a specific username: + +`az logout --username {{alias@somedomain.com}}` diff --git a/pages/common/az-network.md b/pages/common/az-network.md new file mode 100644 index 00000000000000..6cbc28158d2cf4 --- /dev/null +++ b/pages/common/az-network.md @@ -0,0 +1,21 @@ +# az network + +> Manage Azure Network resources. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- List network resources in a region that are used against a subscription quota: + +`az network list-usages` + +- List all virtual networks in a subscription: + +`az network vnet list` + +- Create a virtual network: + +`az network vnet create --address-prefixes {{10.0.0.0/16}} {{[-n|--name]}} {{vnet}} {{[-g|--resource-group]}} {{group_name}} --submet-name {{subnet}} --subnet-prefixes {{10.0.0.0/24}}` + +- Enable accelerated networking for a network interface card: + +`az network nic update --accelerated-networking true {{[-n|--name]}} {{nic}} {{[-g|--resource-group]}} {{resource_group}}` diff --git a/pages/common/az-pipelines.md b/pages/common/az-pipelines.md new file mode 100644 index 00000000000000..26a609f65d9e4c --- /dev/null +++ b/pages/common/az-pipelines.md @@ -0,0 +1,33 @@ +# az pipelines + +> Manage Azure Pipelines resources. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a new Azure Pipeline (YAML based): + +`az pipelines create {{[--org|--organization]}} {{organization_url}} {{[-p|--project]}} {{project_name}} --name {{pipeline_name}} --description {{description}} --repository {{repository_name}} --branch {{branch_name}}` + +- Delete a specific pipeline: + +`az pipelines delete {{[--org|--organization]}} {{organization_url}} {{[-p|--project]}} {{project_name}} --id {{pipeline_id}}` + +- List pipelines: + +`az pipelines list {{[--org|--organization]}} {{organization_url}} {{[-p|--project]}} {{project_name}}` + +- Enqueue a specific pipeline to run: + +`az pipelines run {{[--org|--organization]}} {{organization_url}} {{[-p|--project]}} {{project_name}} --name {{pipeline_name}}` + +- Get the details of a specific pipeline: + +`az pipelines show {{[--org|--organization]}} {{organization_url}} {{[-p|--project]}} {{project_name}} --name {{pipeline_name}}` + +- Update a specific pipeline: + +`az pipelines update {{[--org|--organization]}} {{organization_url}} {{[-p|--project]}} {{project_name}} --name {{pipeline_name}} --new-name {{pipeline_new_name}} --new-folder-path {{user1/production_pipelines}}` + +- List all agents in a pool: + +`az pipelines agent list {{[--org|--organization]}} {{organization_url}} --pool-id {{agent_pool}}` diff --git a/pages/common/az-provider.md b/pages/common/az-provider.md new file mode 100644 index 00000000000000..5f34cd5d744a26 --- /dev/null +++ b/pages/common/az-provider.md @@ -0,0 +1,25 @@ +# az provider + +> Manage resource providers. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Register a provider: + +`az provider register {{[-n|--namespace]}} {{Microsoft.PolicyInsights}}` + +- Unregister a provider: + +`az provider unregister {{[-n|--namespace]}} {{Microsoft.Automation}}` + +- List all providers for a subscription: + +`az provider list` + +- Show information about a specific provider: + +`az provider show {{[-n|--namespace]}} {{Microsoft.Storage}}` + +- List all resource types for a specific provider: + +`az provider list --query "[?namespace=='{{Microsoft.Network}}'].resourceTypes[].resourceType"` diff --git a/pages/common/az-quantum.md b/pages/common/az-quantum.md new file mode 100644 index 00000000000000..ab63e4f89cb291 --- /dev/null +++ b/pages/common/az-quantum.md @@ -0,0 +1,36 @@ +# az quantum + +> Manage Azure Quantum workspaces and submit quantum jobs to providers (preview, requires quantum extension). +> More information: . + +- Create a new Azure Quantum workspace: + +`az quantum workspace create {{[-g|--resource-group]}} {{ResourceGroup}} {{[-l|--location]}} {{Location}} {{[-w|--workspace-name]}} {{Workspace}} {{[-a|--storage-account]}} {{MyStorageAccountName}}` + +- List all Azure Quantum workspaces: + +`az quantum workspace list` + +- Set a default Azure Quantum workspace: + +`az quantum workspace set {{[-g|--resource-group]}} {{ResourceGroup}} {{[-w|--workspace-name]}} {{Workspace}}` + +- Submit a QIR quantum job to a target: + +`az quantum job submit {{[-g|--resource-group]}} {{ResourceGroup}} {{[-w|--workspace-name]}} {{Workspace}} {{[-l|--location]}} {{Location}} {{[-t|--target-id]}} {{Id}} --job-name {{Job}} --job-input-file {{QirBitcode.bc}} --job-input-format {{qir.v1}}` + +- List all jobs in a Quantum Workspace: + +`az quantum job list {{[-g|--resource-group]}} {{ResourceGroup}} {{[-l|--location]}} {{Location}} {{[-w|--workspace-name]}} {{Workspace}}` + +- Get the output of a quantum job: + +`az quantum job output {{[-g|--resource-group]}} {{ResourceGroup}} {{[-w|--workspace-name]}} {{Workspace}} --job-id {{Job}}` + +- List available provider offerings in a location: + +`az quantum offerings list {{[-l|--location]}} {{Location}}` + +- Set a default target for job submissions: + +`az quantum target set {{[-t|--target-id]}} {{Id}}` diff --git a/pages/common/az-redis.md b/pages/common/az-redis.md new file mode 100644 index 00000000000000..e2a1dcc46ee1e4 --- /dev/null +++ b/pages/common/az-redis.md @@ -0,0 +1,21 @@ +# az redis + +> Manage Redis caches. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a new Redis cache instance: + +`az redis create --location {{location}} {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}} --sku {{Basic|Premium|Standard}} --vm-size {{c0|c1|c2|c3|c4|c5|c6|p1|p2|p3|p4|p5}}` + +- Update a Redis cache: + +`az redis update {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}} --sku {{Basic|Premium|Standard}} --vm-size {{c0|c1|c2|c3|c4|c5|c6|p1|p2|p3|p4|p5}}` + +- Export data stored in a Redis cache: + +`az redis export --container {{container}} --file-format {{file-format}} {{[-n|--name]}} {{name}} --prefix {{prefix}} {{[-g|--resource-group]}} {{resource_group}}` + +- Delete a Redis cache: + +`az redis delete {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}} {{[-y|--yes]}}` diff --git a/pages/common/az-repos.md b/pages/common/az-repos.md new file mode 100644 index 00000000000000..67e744c5c39980 --- /dev/null +++ b/pages/common/az-repos.md @@ -0,0 +1,21 @@ +# az repos + +> Manage Azure DevOps repos. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- List all repos in a specific project: + +`az repos list {{[-p|--project]}} {{project_name}}` + +- Add policy on a specific branch of a specific repository to restrict basic merge: + +`az repos policy merge-strategy create --repository-id {{repository_id_in_repos_list}} --branch {{branch_name}} --blocking --enabled --allow-no-fast-forward false --allow-rebase true --allow-rebase-merge true --allow-squash true` + +- Add build validation on a specific repository, using an existing build pipeline, to be triggered automatically on source update: + +`az repos policy build create --repository-id {{repository_id}} --build-definition-id {{build_pipeline_id}} --branch main --blocking --enabled --queue-on-source-update-only true --display-name {{name}} --valid-duration {{minutes}}` + +- List all active Pull Requests on a specific repository within a specific project: + +`az repos pr list {{[-p|--project]}} {{project_name}} {{[-r|--repository]}} {{repository_name}} --status active` diff --git a/pages/common/az-serial-console.md b/pages/common/az-serial-console.md new file mode 100644 index 00000000000000..a65e8ea6eb9085 --- /dev/null +++ b/pages/common/az-serial-console.md @@ -0,0 +1,13 @@ +# az serial-console + +> Connect to the serial console of a Virtual Machine. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Connect to a serial console: + +`az serial-console connect {{[-g|--resource-group]}} {{Resource_Group_Name}} {{[-n|--name]}} {{Virtual_Machine_Name}}` + +- Terminate the connection: + +`` diff --git a/pages/common/az-sshkey.md b/pages/common/az-sshkey.md new file mode 100644 index 00000000000000..042415135f0e71 --- /dev/null +++ b/pages/common/az-sshkey.md @@ -0,0 +1,21 @@ +# az sshkey + +> Manage SSH public keys with virtual machines. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a new SSH key: + +`az sshkey create --name {{name}} {{[-g|--resource-group]}} {{resource_group}}` + +- Upload an existing SSH key: + +`az sshkey create --name {{name}} {{[-g|--resource-group]}} {{resource_group}} --public-key "{{@path/to/key.pub}}"` + +- List all SSH public keys: + +`az sshkey list` + +- Show information about an SSH public key: + +`az sshkey show --name {{name}} {{[-g|--resource-group]}} {{resource_group}}` diff --git a/pages/common/az-storage-account.md b/pages/common/az-storage-account.md new file mode 100644 index 00000000000000..4335384181476a --- /dev/null +++ b/pages/common/az-storage-account.md @@ -0,0 +1,21 @@ +# az storage account + +> Manage storage accounts in Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create an storage account: + +`az storage account create {{[-n|--name]}} {{storage_account_name}} {{[-g|--resource-group]}} {{azure_resource_group}} --location {{azure_location}} --sku {{storage_account_sku}}` + +- Generate a shared access signature for a specific storage account: + +`az storage account generate-sas --account-name {{storage_account_name}} {{[-n|--name]}} {{account_name}} --permissions {{sas_permissions}} --expiry {{expiry_date}} --services {{storage_services}} --resource-types {{resource_types}}` + +- List storage accounts: + +`az storage account list {{[-g|--resource-group]}} {{azure_resource_group}}` + +- Delete a specific storage account: + +`az storage account delete {{[-n|--name]}} {{storage_account_name}} {{[-g|--resource-group]}} {{azure_resource_group}}` diff --git a/pages/common/az-storage-blob.md b/pages/common/az-storage-blob.md new file mode 100644 index 00000000000000..c277e00b79b06e --- /dev/null +++ b/pages/common/az-storage-blob.md @@ -0,0 +1,25 @@ +# az storage blob + +> Manage blob storage containers and objects in Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Download a blob to a file path specifying a source container: + +`az storage blob download --account-name {{storage_account_name}} --account-key {{storage_account_key}} {{[-c|--container-name]}} {{container_name}} {{[-n|--name]}} {{path/to/blob}} {{[-f|--file]}} {{path/to/local_file}}` + +- Download blobs from a blob container recursively: + +`az storage blob download-batch --account-name {{storage_account_name}} --account-key {{storage_account_key}} {{[-s|--source]}} {{container_name}} {{[-d|--destination]}} {{path/to/remote}} --pattern {{filename_regex}} {{[-d|--destination]}} {{path/to/destination}}` + +- Upload a local file to blob storage: + +`az storage blob upload --account-name {{storage_account_name}} --account-key {{storage_account_key}} {{[-c|--container-name]}} {{container_name}} {{[-n|--name]}} {{path/to/blob}} {{[-f|--file]}} {{path/to/local_file}}` + +- Delete a blob object: + +`az storage blob delete --account-name {{storage_account_name}} --account-key {{storage_account_key}} {{[-c|--container-name]}} {{container_name}} {{[-n|--name]}} {{path/to/blob}}` + +- Generate a shared access signature for a blob: + +`az storage blob generate-sas --account-name {{storage_account_name}} --account-key {{storage_account_key}} {{[-c|--container-name]}} {{container_name}} {{[-n|--name]}} {{path/to/blob}} --permissions {{permission_set}} --expiry {{Y-m-d'T'H:M'Z'}} --https-only` diff --git a/pages/common/az-storage-container.md b/pages/common/az-storage-container.md new file mode 100644 index 00000000000000..8354b83793112d --- /dev/null +++ b/pages/common/az-storage-container.md @@ -0,0 +1,21 @@ +# az storage container + +> Manage blob storage containers in Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a container in a storage account: + +`az storage container create --account-name {{storage_account_name}} {{[-n|--name]}} {{container_name}} --public-access {{access_level}} --fail-on-exist` + +- Generate a shared access signature for the container: + +`az storage container generate-sas --account-name {{storage_account_name}} {{[-n|--name]}} {{container_name}} --permissions {{sas_permissions}} --expiry {{expiry_date}} --https-only` + +- List containers in a storage account: + +`az storage container list --account-name {{storage_account_name}} --prefix {{filter_prefix}}` + +- Mark the specified container for deletion: + +`az storage container delete --account-name {{storage_account_name}} {{[-n|--name]}} {{container_name}} --fail-not-exist` diff --git a/pages/common/az-storage-entity.md b/pages/common/az-storage-entity.md new file mode 100644 index 00000000000000..2e9491a7e63f7e --- /dev/null +++ b/pages/common/az-storage-entity.md @@ -0,0 +1,25 @@ +# az storage entity + +> Manage Azure Table storage entities. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Insert an entity into a table: + +`az storage entity insert {{[-e|--entity]}} {{space_separated_key_value_pairs}} {{[-t|--table-name]}} {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}` + +- Delete an existing entity from a table: + +`az storage entity delete --partition-key {{partition_key}} --row-key {{row_key}} {{[-t|--table-name]}} {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}` + +- Update an existing entity by merging its properties: + +`az storage entity merge {{[-e|--entity]}} {{space_separated_key_value_pairs}} {{[-t|--table-name]}} {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}` + +- List entities which satisfy a query: + +`az storage entity query --filter {{query_filter}} {{[-t|--table-name]}} {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}` + +- Get an entity from the specified table: + +`az storage entity show --partition-key {{partition_key}} --row-key {{row_key}} {{[-t|--table-name]}} {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}` diff --git a/pages/common/az-storage-queue.md b/pages/common/az-storage-queue.md new file mode 100644 index 00000000000000..60e8055cff98a4 --- /dev/null +++ b/pages/common/az-storage-queue.md @@ -0,0 +1,21 @@ +# az storage queue + +> Manage storage queues in Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a queue: + +`az storage queue create --account-name {{storage_account_name}} {{[-n|--name]}} {{queue_name}} --metadata {{queue_metadata}}` + +- Generate a shared access signature for the queue: + +`az storage queue generate-sas --account-name {{storage_account_name}} {{[-n|--name]}} {{queue_name}} --permissions {{queue_permissions}} --expiry {{expiry_date}} --https-only` + +- List queues in a storage account: + +`az storage queue list --prefix {{filter_prefix}} --account-name {{storage_account_name}}` + +- Delete the specified queue and any messages it contains: + +`az storage queue delete --account-name {{storage_account_name}} {{[-n|--name]}} {{queue_name}} --fail-not-exist` diff --git a/pages/common/az-storage-table.md b/pages/common/az-storage-table.md new file mode 100644 index 00000000000000..afc4eb1e294cc5 --- /dev/null +++ b/pages/common/az-storage-table.md @@ -0,0 +1,21 @@ +# az storage table + +> Manage NoSQL key-value storage in Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a new table in the storage account: + +`az storage table create --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --fail-on-exist` + +- Generate a shared access signature for the table: + +`az storage table generate-sas --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --permissions {{sas_permissions}} --expiry {{expiry_date}} --https-only` + +- List tables in a storage account: + +`az storage table list --account-name {{storage_account_name}}` + +- Delete the specified table and any data it contains: + +`az storage table delete --account-name {{storage_account_name}} {{[-n|--name]}} {{table_name}} --fail-not-exist` diff --git a/pages/common/az-storage.md b/pages/common/az-storage.md new file mode 100644 index 00000000000000..24281755ecd4d0 --- /dev/null +++ b/pages/common/az-storage.md @@ -0,0 +1,25 @@ +# az storage + +> Manage Azure Cloud Storage resources. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a storage account specifying a location: + +`az storage account create {{[-g|--resource-group]}} {{group_name}} {{[-n|--name]}} {{account_name}} {{[-l|--location]}} {{location}} --sku {{account_sku}}` + +- List all storage accounts in a resource group: + +`az storage account list {{[-g|--resource-group]}} {{group_name}}` + +- List the access keys for a storage account: + +`az storage account keys list {{[-g|--resource-group]}} {{group_name}} {{[-n|--name]}} {{account_name}}` + +- Delete a storage account: + +`az storage account delete {{[-g|--resource-group]}} {{group_name}} {{[-n|--name]}} {{account_name}}` + +- Update the minimum tls version setting for a storage account: + +`az storage account update --min-tls-version {{TLS1_0|TLS1_1|TLS1_2}} {{[-g|--resource-group]}} {{group_name}} {{[-n|--name]}} {{account_name}}` diff --git a/pages/common/az-tag.md b/pages/common/az-tag.md new file mode 100644 index 00000000000000..95176fd05d395f --- /dev/null +++ b/pages/common/az-tag.md @@ -0,0 +1,25 @@ +# az tag + +> Manage tags on a resource. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Create a tag value: + +`az tag add-value {{[-n|--name]}} {{tag_name}} --value {{tag_value}}` + +- Create a tag in the subscription: + +`az tag create {{[-n|--name]}} {{tag_name}}` + +- Delete a tag from the subscription: + +`az tag delete {{[-n|--name]}} {{tag_name}}` + +- List all tags on a subscription: + +`az tag list --resource-id /subscriptions/{{subscription_id}}` + +- Delete a tag value for a specific tag name: + +`az tag remove-value {{[-n|--name]}} {{tag_name}} --value {{tag_value}}` diff --git a/pages/common/az-term.md b/pages/common/az-term.md new file mode 100644 index 00000000000000..30df8299b2ac0f --- /dev/null +++ b/pages/common/az-term.md @@ -0,0 +1,13 @@ +# az term + +> Manage marketplace agreement with marketplaceordering. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Print marketplace terms: + +`az term show --product "{{product_identifier}}" --plan "{{plan_identifier}}" --publisher "{{publisher_identifier}}"` + +- Accept marketplace terms: + +`az term accept --product "{{product_identifier}}" --plan "{{plan_identifier}}" --publisher "{{publisher_identifier}}"` diff --git a/pages/common/az-upgrade.md b/pages/common/az-upgrade.md new file mode 100644 index 00000000000000..bdbfff02dff33c --- /dev/null +++ b/pages/common/az-upgrade.md @@ -0,0 +1,17 @@ +# az upgrade + +> Upgrade Azure CLI and Extensions. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Upgrade Azure CLI: + +`az upgrade` + +- Upgrade Azure CLI and Extensions: + +`az upgrade --all` + +- Upgrade Azure CLI and Extensions without prompting for confirmation: + +`az upgrade --all {{[-y|--yes]}}` diff --git a/pages/common/az-version.md b/pages/common/az-version.md new file mode 100644 index 00000000000000..843e54715d24b1 --- /dev/null +++ b/pages/common/az-version.md @@ -0,0 +1,13 @@ +# az version + +> Shows the current version of Azure CLI modules and extensions. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Show the current version of Azure CLI modules and extensions in JSON format: + +`az version` + +- Show the current version of Azure CLI modules and extensions in a given format: + +`az version {{[-o|--output]}} {{json|table|tsv}}` diff --git a/pages/common/az-vm.md b/pages/common/az-vm.md new file mode 100644 index 00000000000000..c2917ded277d6e --- /dev/null +++ b/pages/common/az-vm.md @@ -0,0 +1,33 @@ +# az vm + +> Manage virtual machines in Azure. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Display a table of available Virtual Machines: + +`az vm list --output table` + +- Create a virtual machine using the default Ubuntu image and generate SSH keys: + +`az vm create {{[-g|--resource-group]}} {{rg}} {{[-n|--name]}} {{vm_name}} --image {{UbuntuLTS}} --admin-user {{azureuser}} --generate-ssh-keys` + +- Stop a Virtual Machine: + +`az vm stop {{[-g|--resource-group]}} {{rg}} {{[-n|--name]}} {{vm_name}}` + +- Deallocate a Virtual Machine: + +`az vm deallocate {{[-g|--resource-group]}} {{rg}} {{[-n|--name]}} {{vm_name}}` + +- Start a Virtual Machine: + +`az vm start {{[-g|--resource-group]}} {{rg}} {{[-n|--name]}} {{vm_name}}` + +- Restart a Virtual Machine: + +`az vm restart {{[-g|--resource-group]}} {{rg}} {{[-n|--name]}} {{vm_name}}` + +- List VM images available in the Azure Marketplace: + +`az vm image list` diff --git a/pages/common/az-webapp.md b/pages/common/az-webapp.md new file mode 100644 index 00000000000000..497d7b02fdf057 --- /dev/null +++ b/pages/common/az-webapp.md @@ -0,0 +1,21 @@ +# az webapp + +> Manage Web Applications hosted in Azure Cloud Services. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- List available runtimes for a web application: + +`az webapp list-runtimes {{[-os|--os-type]}} {{windows|linux}}` + +- Create a web application: + +`az webapp up {{[-n|--name]}} {{name}} {{[-l|--location]}} {{location}} {{[-r|--runtime]}} {{runtime}}` + +- List all web applications: + +`az webapp list` + +- Delete a specific web application: + +`az webapp delete {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}` diff --git a/pages/common/az.md b/pages/common/az.md index 479fc4152591c1..6f5a6e0ce32382 100644 --- a/pages/common/az.md +++ b/pages/common/az.md @@ -1,7 +1,8 @@ # az > The official CLI tool for Microsoft Azure. -> More information: . +> Some subcommands such as `login` have their own usage documentation. +> More information: . - Log in to Azure: @@ -26,3 +27,11 @@ - Manage Azure Network resources: `az network` + +- Start in interactive mode: + +`az interactive` + +- Display help: + +`az --help` diff --git a/pages/common/azure-cli.md b/pages/common/azure-cli.md new file mode 100644 index 00000000000000..23486575abe514 --- /dev/null +++ b/pages/common/azure-cli.md @@ -0,0 +1,7 @@ +# azure-cli + +> This command is an alias of `az`. + +- View documentation for the original command: + +`tldr az` diff --git a/pages/common/azurite.md b/pages/common/azurite.md new file mode 100644 index 00000000000000..37b7231ef12ed5 --- /dev/null +++ b/pages/common/azurite.md @@ -0,0 +1,24 @@ +# azurite + +> Azure Storage API compatible server (emulator) in local environment. +> More information: . + +- Use an existing location as workspace path: + +`azurite {{[-l|--location]}} {{path/to/directory}}` + +- Disable access log displayed in console: + +`azurite {{[-s|--silent]}}` + +- Enable debug log by providing a file path as log destination: + +`azurite {{[-d|--debug]}} {{path/to/debug.log}}` + +- Customize the listening address of Blob/Queue/Table service: + +`azurite {{--blobHost|--queueHost|--tableHost}} {{0.0.0.0}}` + +- Customize the listening port of Blob/Queue/Table service: + +`azurite {{--blobPort|--queuePort|--tablePort}} {{8888}}` diff --git a/pages/common/b2.md b/pages/common/b2.md new file mode 100644 index 00000000000000..afedf9f7da791d --- /dev/null +++ b/pages/common/b2.md @@ -0,0 +1,36 @@ +# b2 + +> Access all features of Backblaze B2 Cloud Storage easily. +> More information: . + +- Access your account: + +`b2 authorize_account {{key_id}}` + +- List the existing buckets in your account: + +`b2 list_buckets` + +- Create a bucket, provide the bucket name, and access type (e.g. allPublic or allPrivate): + +`b2 create_bucket {{bucket_name}} {{allPublic|allPrivate}}` + +- Upload a file. Choose a file, bucket, and a folder: + +`b2 upload_file {{bucket_name}} {{path/to/file}} {{folder_name}}` + +- Upload a source directory to a Backblaze B2 bucket destination: + +`b2 sync {{path/to/source_file}} {{bucket_name}}` + +- Copy a file from one bucket to another bucket: + +`b2 copy-file-by-id {{path/to/source_file_id}} {{destination_bucket_name}} {{path/to/b2_file}}` + +- Show the files in your bucket: + +`b2 ls {{bucket_name}}` + +- Remove a "folder" or a set of files matching a pattern: + +`b2 rm {{path/to/folder|pattern}}` diff --git a/pages/common/b2sum.md b/pages/common/b2sum.md index 9b0520cb5d191d..7fe7ed467ae34a 100644 --- a/pages/common/b2sum.md +++ b/pages/common/b2sum.md @@ -1,20 +1,32 @@ # b2sum > Calculate BLAKE2 cryptographic checksums. -> More information: . +> More information: . -- Calculate the BLAKE2 checksum for a file: +- Calculate the BLAKE2 checksum for one or more files: -`b2sum {{filename1}}` +`b2sum {{path/to/file1 path/to/file2 ...}}` -- Calculate BLAKE2 checksums for multiple files: +- Calculate and save the list of BLAKE2 checksums to a file: -`b2sum {{filename1}} {{filename2}}` +`b2sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b2}}` -- Read a file of BLAKE2 sums and filenames and verify all files have matching checksums: +- Calculate a BLAKE2 checksum from `stdin`: -`b2sum -c {{filename.b2}}` +`{{command}} | b2sum` -- Calculate the BLAKE2 checksum from `stdin`: +- Read a file of BLAKE2 checksums and filenames and verify all files have matching checksums: -`{{somecommand}} | b2sum` +`b2sum {{[-c|--check]}} {{path/to/file.b2}}` + +- Only show a message for missing files or when verification fails: + +`b2sum {{[-c|--check]}} --quiet {{path/to/file.b2}}` + +- Only show a message when verification fails, ignoring missing files: + +`b2sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.b2}}` + +- Check a known BLAKE2 checksum of a file: + +`echo {{known_blake2_checksum_of_the_file}} {{path/to/file}} | b2sum {{[-c|--check]}}` diff --git a/pages/common/b3sum.md b/pages/common/b3sum.md new file mode 100644 index 00000000000000..5f0ade422e0c1b --- /dev/null +++ b/pages/common/b3sum.md @@ -0,0 +1,28 @@ +# b3sum + +> Calculate BLAKE3 cryptographic checksums. +> More information: . + +- Calculate the BLAKE3 checksum for one or more files: + +`b3sum {{path/to/file1 path/to/file2 ...}}` + +- Calculate and save the list of BLAKE3 checksums to a file: + +`b3sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b3}}` + +- Calculate a BLAKE3 checksum from `stdin`: + +`{{command}} | b3sum` + +- Read a file of BLAKE3 checksums and filenames and verify all files have matching checksums: + +`b3sum {{[-c|--check]}} {{path/to/file.b3}}` + +- Only show a message for missing files or when verification fails: + +`b3sum {{[-c|--check]}} --quiet {{path/to/file.b3}}` + +- Check a known BLAKE3 checksum of a file: + +`echo {{known_blake3_checksum_of_the_file}} {{path/to/file}} | b3sum {{[-c|--check]}}` diff --git a/pages/common/babel.md b/pages/common/babel.md index e86bf5ca821c56..9fadc3323bb4ce 100644 --- a/pages/common/babel.md +++ b/pages/common/babel.md @@ -1,7 +1,7 @@ # babel > A transpiler which converts code from JavaScript ES6/ES7 syntax to ES5 syntax. -> More information: . +> More information: . - Transpile a specified input file and output to `stdout`: @@ -21,7 +21,7 @@ - Ignore specified comma-separated files in a directory: -`babel {{path/to/input_directory}} --ignore {{ignored_files}}` +`babel {{path/to/input_directory}} --ignore {{ignored_file1,ignored_file2,...}}` - Transpile and output as minified JavaScript: @@ -29,8 +29,8 @@ - Choose a set of presets for output formatting: -`babel {{path/to/input_file}} --presets {{presets}}` +`babel {{path/to/input_file}} --presets {{preset1,preset2,...}}` -- Output all available options: +- Display help: `babel --help` diff --git a/pages/common/babeld.md b/pages/common/babeld.md new file mode 100644 index 00000000000000..3c5bd7827612dd --- /dev/null +++ b/pages/common/babeld.md @@ -0,0 +1,20 @@ +# babeld + +> Routing daemon for Babel which uses firewall-style filters. +> More information: . + +- Start the daemon with one or more [c]onfiguration files (read in order): + +`babeld -c {{path/to/ports.conf}} -c {{path/to/filters.conf}} -c {{path/to/interfaces.conf}}` + +- [D]eamonize after startup: + +`babeld -D` + +- Specify a [C]onfiguration command: + +`babeld -C {{'redistribute metric 256'}}` + +- Specify on which interfaces to operate: + +`babeld {{eth0}} {{eth1}} {{wlan0}}` diff --git a/pages/common/bacon.md b/pages/common/bacon.md new file mode 100644 index 00000000000000..28323f6c6b4159 --- /dev/null +++ b/pages/common/bacon.md @@ -0,0 +1,28 @@ +# bacon + +> A background code checker for Rust. +> More information: . + +- Run `cargo check` whenever a change is detected in the current directory: + +`bacon` + +- Run `cargo test` whenever a change is detected in the given directory: + +`bacon test {{path/to/directory}}` + +- Run `cargo check` against all targets whenever a change is detected in the current directory: + +`bacon check-all` + +- Run a specific job whenever a change is detected in the current directory: + +`bacon {{run|test|clippy|doc|...}}` + +- List all currently available jobs: + +`bacon --list-jobs` + +- Initialize a `bacon.toml` configuration file in the current directory: + +`bacon --init` diff --git a/pages/common/badblocks.md b/pages/common/badblocks.md index 3c421fc1a71868..8f4b1e664528cf 100644 --- a/pages/common/badblocks.md +++ b/pages/common/badblocks.md @@ -1,28 +1,29 @@ # badblocks > Search a device for bad blocks. -> Some usages of badblocks can cause destructive actions, such as erasing all the data on a disk, including the partition table. +> Some usages of badblocks can cause destructive actions, such as erasing all data on a disk, including the partition table. +> More information: . - Search a disk for bad blocks by using a non-destructive read-only test: `sudo badblocks {{/dev/sdX}}` -- Search an unmounted disk for bad blocks with a non-destructive read-write test: +- Search an unmounted disk for bad blocks with a [n]on-destructive read-write test: `sudo badblocks -n {{/dev/sdX}}` -- Search an unmounted disk for bad blocks with a destructive write test: +- Search an unmounted disk for bad blocks with a destructive [w]rite test: `sudo badblocks -w {{/dev/sdX}}` -- Search an unmounted disk for bad blocks with a destructive write test and show verbose status: +- Use the destructive [w]rite test and [s]how [v]erbose progress: `sudo badblocks -svw {{/dev/sdX}}` -- Search an unmounted disk in destructive mode and output found blocks to a file: +- In destructive mode, [o]utput found blocks to a file: `sudo badblocks -o {{path/to/file}} -w {{/dev/sdX}}` -- Search an unmounted disk in destructive mode with improved speed using 4K block size and 64K block count: +- Use the destructive mode with improved speed using 4K [b]lock size and 64K block [c]ount: `sudo badblocks -w -b {{4096}} -c {{65536}} {{/dev/sdX}}` diff --git a/pages/common/balena.md b/pages/common/balena.md index 0a2bb9a1dc3862..b9b3a0a154aa2b 100644 --- a/pages/common/balena.md +++ b/pages/common/balena.md @@ -1,9 +1,9 @@ # balena -> Interact with the balenaCloud, openBalena and the balena API from the command line. +> Interact with the balenaCloud, openBalena and the balena API. > More information: . -- Login to the balenaCloud account: +- Log in to the balenaCloud account: `balena login` diff --git a/pages/common/bandwhich.md b/pages/common/bandwhich.md new file mode 100644 index 00000000000000..663cdb57dc25c9 --- /dev/null +++ b/pages/common/bandwhich.md @@ -0,0 +1,24 @@ +# bandwhich + +> Display the current network utilization by process, connection or remote IP/hostname. +> More information: . + +- Show the remote addresses table only: + +`bandwhich {{[-a|--addresses]}}` + +- Show DNS queries: + +`bandwhich {{[-s|--show-dns]}}` + +- Show total (cumulative) usage: + +`bandwhich {{[-t|--total-utilization]}}` + +- Show the network utilization for a specific network interface: + +`bandwhich {{[-i|--interface]}} {{eth0}}` + +- Show DNS queries with a given DNS server: + +`bandwhich {{[-s|--show-dns]}} {{[-d|--dns-server]}} {{dns_server_ip}}` diff --git a/pages/common/banner.md b/pages/common/banner.md index 1647398f4656b1..7588bd06aebd19 100644 --- a/pages/common/banner.md +++ b/pages/common/banner.md @@ -1,14 +1,15 @@ # banner -> Print the given argument as a large ASCII art. +> Print the argument as a large ASCII art. +> More information: . - Print the text message as a large banner (quotes are optional): `banner "{{Hello World}}"` -- Print the text message as a banner with a width of 50 characters: +- Use a banner width of 50 characters: -`banner -w {{50}} "{{Hello World}}"` +`banner {{[-w|--width]}} 50 "{{Hello World}}"` - Read text from `stdin`: diff --git a/pages/common/base32.md b/pages/common/base32.md index 049d2730bbb74f..c647bb928f40e1 100644 --- a/pages/common/base32.md +++ b/pages/common/base32.md @@ -1,19 +1,24 @@ # base32 -> Encode or decode file or standard input to/from Base32, to standard output. +> Encode or decode file or `stdin` to/from Base32, to `stdout`. +> More information: . - Encode a file: -`base32 {{filename}}` +`base32 {{path/to/file}}` + +- Wrap encoded output at a specific width (`0` disables wrapping): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{path/to/file}}` - Decode a file: -`base32 -d {{filename}}` +`base32 {{[-d|--decode]}} {{path/to/file}}` - Encode from `stdin`: -`{{somecommand}} | base32` +`{{command}} | base32` - Decode from `stdin`: -`{{somecommand}} | base32 -d` +`{{command}} | base32 {{[-d|--decode]}}` diff --git a/pages/common/base64.md b/pages/common/base64.md index 2d1d654fe91dc2..d1666ad81233ed 100644 --- a/pages/common/base64.md +++ b/pages/common/base64.md @@ -1,19 +1,24 @@ # base64 -> Encode or decode file or standard input to/from Base64, to standard output. +> Encode or decode file or `stdin` to/from base64, to `stdout`. +> More information: . - Encode a file: -`base64 {{filename}}` +`base64 {{path/to/file}}` + +- Wrap encoded output at a specific width (`0` disables wrapping): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{path/to/file}}` - Decode a file: -`base64 -d {{filename}}` +`base64 {{[-d|--decode]}} {{path/to/file}}` - Encode from `stdin`: -`{{somecommand}} | base64` +`{{command}} | base64` - Decode from `stdin`: -`{{somecommand}} | base64 -d` +`{{command}} | base64 {{[-d|--decode]}}` diff --git a/pages/common/basename.md b/pages/common/basename.md index bc12f49bb42d38..9c5edde36b2201 100644 --- a/pages/common/basename.md +++ b/pages/common/basename.md @@ -1,6 +1,7 @@ # basename > Remove leading directory portions from a path. +> More information: . - Show only the file name from a path: @@ -8,7 +9,7 @@ - Show only the rightmost directory name from a path: -`basename {{path/to/directory/}}` +`basename {{path/to/directory}}` - Show only the file name from a path, with a suffix removed: diff --git a/pages/common/basenc.md b/pages/common/basenc.md new file mode 100644 index 00000000000000..f7d7de4d0fc111 --- /dev/null +++ b/pages/common/basenc.md @@ -0,0 +1,20 @@ +# basenc + +> Encode or decode file or `stdin` using a specified encoding, to `stdout`. +> More information: . + +- Encode a file with base64 encoding: + +`basenc --base64 {{path/to/file}}` + +- Decode a file with base64 encoding: + +`basenc {{[-d|--decode]}} --base64 {{path/to/file}}` + +- Encode from `stdin` with base32 encoding with 42 columns: + +`{{command}} | basenc --base32 {{[-w|--wrap]}} 42` + +- Encode from `stdin` with base32 encoding: + +`{{command}} | basenc --base32` diff --git a/pages/common/bash-it.md b/pages/common/bash-it.md new file mode 100644 index 00000000000000..0bd9cada0d0a72 --- /dev/null +++ b/pages/common/bash-it.md @@ -0,0 +1,32 @@ +# bash-it + +> A collection of community contributed Bash commands and scripts for Bash 3.2+. +> More information: . + +- Update Bash-it to the latest stable/development version: + +`bash-it update {{stable|dev}}` + +- Reload Bash profile (set `BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE` to non-empty value for an automatic reload): + +`bash-it reload` + +- Restart Bash: + +`bash-it restart` + +- Reload Bash profile with enabled error and warning logging: + +`bash-it doctor` + +- Reload Bash profile with enabled error/warning/entire logging: + +`bash-it doctor {{errors|warnings|all}}` + +- Search for Bash-it aliases/plugins/completions: + +`bash-it search {{alias|plugin|completion}}` + +- Search for Bash-it aliases/plugins/completions and enable/disable all found items: + +`bash-it search --{{enable|disable}} {{alias|plugin|completion}}` diff --git a/pages/common/bash.md b/pages/common/bash.md index 34afac70443727..dd5e7548604780 100644 --- a/pages/common/bash.md +++ b/pages/common/bash.md @@ -1,33 +1,37 @@ # bash -> Bourne-Again SHell. -> `sh`-compatible command line interpreter. -> More information: . +> Bourne-Again SHell, an `sh`-compatible command-line interpreter. +> See also: `zsh`, `histexpand` (history expansion). +> More information: . -- Start interactive shell: +- Start an interactive shell session: `bash` -- Execute a command: +- Start an interactive shell session without loading startup configs: -`bash -c "{{command}}"` +`bash --norc` -- Run commands from a file: +- Execute specific [c]ommands: -`bash {{file.sh}}` +`bash -c "{{echo 'bash is executed'}}"` -- Run commands from a file, logging all commands executed to the terminal: +- Execute a specific script: -`bash -x {{file.sh}}` +`bash {{path/to/script.sh}}` -- Run commands from a file, stopping at the first error: +- E[x]ecute a specific script, printing each command before executing it: -`bash -e {{file.sh}}` +`bash -x {{path/to/script.sh}}` -- Run commands from `stdin`: +- Execute a specific script and stop at the first [e]rror: -`bash -s` +`bash -e {{path/to/script.sh}}` -- Print the version information of bash (use `echo $BASH_VERSION` to show just the version without license information): +- Execute specific commands from `stdin`: -`bash --version` +`{{echo "echo 'bash is executed'"}} | bash` + +- Start a [r]estricted shell session: + +`bash -r` diff --git a/pages/common/bashmarks.md b/pages/common/bashmarks.md index ca16fde0afef58..f6450a67583041 100644 --- a/pages/common/bashmarks.md +++ b/pages/common/bashmarks.md @@ -1,8 +1,13 @@ # bashmarks > Save and jump to commonly used directories using 1 character commands. +> See also: `autojump`. > More information: . +- Add the bashmark aliases to your shell: + +`source /usr/share/bashmarks/bashmarks.sh` + - List available bookmarks: `l` diff --git a/pages/common/bastet.md b/pages/common/bastet.md index 94f0d07792fb03..df22586bdbbb79 100644 --- a/pages/common/bastet.md +++ b/pages/common/bastet.md @@ -3,30 +3,30 @@ > Clone of the game Tetris in the terminal. > More information: . -- Start a tetris game: +- Start a Tetris game: `bastet` - Navigate the piece horizontally: -`{{Left|Right}} arrow key` +`{{|}}` - Rotate the piece clockwise or counterclockwise: -`{{Spacebar|Up arrow key}}` +`{{|}}` - Soft drop the piece: -`Down arrow key` +`` - Hard drop the piece: -`Enter` +`` - Pause the game: -`p` +`

` - Quit the game: -`Ctrl + C` +`` diff --git a/pages/common/bat.md b/pages/common/bat.md index 549078b5f42b1e..8e9479b0df93d5 100644 --- a/pages/common/bat.md +++ b/pages/common/bat.md @@ -4,26 +4,34 @@ > A `cat` clone with syntax highlighting and Git integration. > More information: . -- Print the contents of a file to the standard output: +- Pretty print the contents of one or more files to `stdout`: -`bat {{file}}` +`bat {{path/to/file1 path/to/file2 ...}}` - Concatenate several files into the target file: -`bat {{file1}} {{file2}} > {{target_file}}` +`bat {{path/to/file1 path/to/file2 ...}} > {{path/to/target_file}}` -- Append several files into the target file: +- Remove decorations and disable paging (`--style plain` can be replaced with `-p`, or both options with `-pp`): -`bat {{file1}} {{file2}} >> {{target_file}}` +`bat --style plain --pager never {{path/to/file}}` -- Number all output lines: +- Highlight a specific line or a range of lines with a different background color: -`bat -n {{file}}` +`bat {{[-H|--highlight-line]}} {{10|5:10|:10|10:|10:+5}} {{path/to/file}}` -- Syntax highlight a json file: +- Show non-printable characters like space, tab or newline: -`bat --language json {{file.json}}` +`bat {{[-A|--show-all]}} {{path/to/file}}` + +- Remove all decorations except line numbers in the output: + +`bat {{[-n|--number]}} {{path/to/file}}` + +- Syntax highlight a JSON file by explicitly setting the language: + +`bat {{[-l|--language]}} json {{path/to/file.json}}` - Display all supported languages: -`bat --list-languages` +`bat {{[-L|--list-languages]}}` diff --git a/pages/common/batch.md b/pages/common/batch.md index f054ddfd23c95a..3f9e09144b9c64 100644 --- a/pages/common/batch.md +++ b/pages/common/batch.md @@ -1,16 +1,14 @@ # batch > Execute commands at a later time when the system load levels permit. -> Service atd (or atrun) should be running for the actual executions. +> Results will be sent to the user's mail. +> See also: `at`, `atq`, `atrm` `mail`. +> More information: . -- Execute commands from standard input (press `Ctrl + D` when done): +- Execute commands from `stdin` (press `` when done): `batch` -- Execute a command from standard input: +- Execute a command from `stdin`: `echo "{{./make_db_backup.sh}}" | batch` - -- Execute commands from a given file: - -`batch -f {{path/to/file}}` diff --git a/pages/common/bats.md b/pages/common/bats.md new file mode 100644 index 00000000000000..fb4264fc12e4f9 --- /dev/null +++ b/pages/common/bats.md @@ -0,0 +1,28 @@ +# bats + +> Bash Automated Testing System: a TAP () compliant testing framework for Bash. +> More information: . + +- Run a BATS test script and output results in the TAP (Test Anything Protocol) format: + +`bats {{[-t|--tap]}} {{path/to/test.bats}}` + +- Count test cases of a test script without running any tests: + +`bats {{[-c|--count]}} {{path/to/test.bats}}` + +- Run BATS test cases recursively (files with a `.bats` extension): + +`bats {{[-r|--recursive]}} {{path/to/directory}}` + +- Output results in a specific format: + +`bats {{[-F|--formatter]}} {{pretty|tap|tap13|junit}} {{path/to/test.bats}}` + +- Add timing information to tests: + +`bats {{[-T|--timing]}} {{path/to/test.bats}}` + +- Run specific number of jobs in parallel (requires GNU `parallel` to be installed): + +`bats {{[-j|--jobs]}} {{number}} {{path/to/test.bats}}` diff --git a/pages/common/bazel.md b/pages/common/bazel.md new file mode 100644 index 00000000000000..193f937d52a512 --- /dev/null +++ b/pages/common/bazel.md @@ -0,0 +1,28 @@ +# bazel + +> Open-source build and test tool similar to Make, Maven, and Gradle. +> More information: . + +- Build the specified target in the workspace: + +`bazel build {{target}}` + +- Remove output files and stop the server if running: + +`bazel clean` + +- Stop the bazel server: + +`bazel shutdown` + +- Display runtime info about the bazel server: + +`bazel info` + +- Display help: + +`bazel help` + +- Display version: + +`bazel version` diff --git a/pages/common/bb.md b/pages/common/bb.md new file mode 100644 index 00000000000000..21d9a14f8923be --- /dev/null +++ b/pages/common/bb.md @@ -0,0 +1,20 @@ +# bb + +> Native Clojure interpreter for scripting. +> More information: . + +- Evaluate an expression: + +`bb {{[-e|--eval]}} "(+ 1 2 3)"` + +- Evaluate a script file: + +`bb {{[-f|--file]}} {{path/to/script.clj}}` + +- Bind [i]nput to a sequence of lines from `stdin`: + +`printf "first\nsecond" | bb -i "(map clojure.string/capitalize *input*)"` + +- Bind [I]nput to a sequence of EDN (Extensible Data Notation) values from `stdin`: + +`echo "{:key 'val}" | bb -I "(:key (first *input*))"` diff --git a/pages/common/bc.md b/pages/common/bc.md index 96758a0ba8d02d..e6ad5927fdfd61 100644 --- a/pages/common/bc.md +++ b/pages/common/bc.md @@ -1,19 +1,33 @@ # bc -> Calculator. +> An arbitrary precision calculator language. +> See also: `dc`, `qalc`. +> More information: . -- Run calculator in interactive mode using the standard math library: +- Start an interactive session: -`bc -l` +`bc` -- Calculate the result of an expression: +- Start an interactive session with the standard math library enabled: -`bc <<< "(1 + 2) * 2 ^ 2"` +`bc {{[-i|--interactive]}} {{[-l|--mathlib]}}` -- Calculate expression and force number of decimal places to 10: +- Calculate an expression: -`bc <<< "scale=10; 5 / 3"` +`echo '{{5 / 3}}' | bc` -- Calculate expression with sine and cosine using mathlib: +- Execute a script: -`bc -l <<< "s(1) + c(1)"` +`bc {{path/to/script.bc}}` + +- Calculate an expression with the specified scale: + +`echo 'scale = {{10}}; {{5 / 3}}' | bc` + +- Calculate a sine/cosine/arctangent/natural logarithm/exponential function using `mathlib`: + +`echo '{{s|c|a|l|e}}({{1}})' | bc {{[-l|--mathlib]}}` + +- Execute an inline factorial script: + +`echo "define factorial(n) { if (n <= 1) return 1; return n*factorial(n-1); }; factorial({{10}})" | bc` diff --git a/pages/common/bcomps.md b/pages/common/bcomps.md new file mode 100644 index 00000000000000..6c42fc53c0f1a9 --- /dev/null +++ b/pages/common/bcomps.md @@ -0,0 +1,21 @@ +# bcomps + +> Decompose graphs into their biconnected components. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Decompose one or more graphs into their biconnected components: + +`bcomps {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}` + +- Print the number of blocks and cutvertices in one or more graphs: + +`bcomps -v -s {{path/to/input1.gv path/to/input2.gv ...}}` + +- Write each block and block-cutvertex tree to multiple numbered filenames based on `output.gv`: + +`bcomps -x -o {{path/to/output.gv}} {{path/to/input1.gv path/to/input2.gv ...}}` + +- Display help: + +`bcomps -?` diff --git a/pages/common/bdfr.md b/pages/common/bdfr.md new file mode 100644 index 00000000000000..e4adfc883bf759 --- /dev/null +++ b/pages/common/bdfr.md @@ -0,0 +1,28 @@ +# bdfr + +> Bulk downloader for Reddit. +> More information: . + +- Download videos/images from the specified links to URL or ID's of posts: + +`bdfr download {{path/to/output_directory}} {{[-l|--link]}} {{post_url}}` + +- Download the maximum possible number (roughly 1000) of videos/images from a specified user: + +`bdfr download {{path/to/output_directory}} {{[-u|--user]}} {{reddit_user}} --submitted` + +- Download submission data (text, upvotes, comments, etc.) limited to 10 submissions for each subreddit (30 total): + +`bdfr archive {{path/to/output_directory}} {{[-s|--subreddit]}} '{{Python, all, mindustry}}' {{[-L|--limit]}} 10` + +- Download videos/images from the subreddit r/Python sorted by top (default is hot) using time filter all, limited to 10 submissions: + +`bdfr download {{path/to/output_directory}} {{[-s|--subreddit]}} Python {{[-S|--sort]}} top {{[-t|--time]}} all {{[-L|--limit]}} 10` + +- Download the maximum possible number of both submission data and videos/images from subreddit r/Python skipping over submissions with mp4 or gif file extensions and creating hard links for duplicate files: + +`bdfr clone {{path/to/output_directory}} {{[-s|--subreddit]}} Python --skip mp4 --skip gif --make-hard-links` + +- Download saved posts of the authenticated user, naming each file according to a specified format. Avoid downloading duplicates and posts already present in the output directory: + +`bdfr download {{path/to/output_directory}} {{[-u|--user]}} me --saved --authenticate --file-scheme '{{ {POSTID}_{TITLE}_{UPVOTES} }}' --no-dupes --search-existing` diff --git a/pages/common/beanstalkd.md b/pages/common/beanstalkd.md index c120987822d046..45c71410436ab1 100644 --- a/pages/common/beanstalkd.md +++ b/pages/common/beanstalkd.md @@ -1,13 +1,13 @@ # beanstalkd > A simple and generic work-queue server. -> More information: . +> More information: . -- Start beanstalkd, listening on port 11300: +- Start the server, listening on port 11300: `beanstalkd` -- Start beanstalkd listening on a custom port and address: +- Listen on a specific [p]ort and address: `beanstalkd -l {{ip_address}} -p {{port_number}}` diff --git a/pages/common/bear.md b/pages/common/bear.md new file mode 100644 index 00000000000000..d3edc9bbbbe70d --- /dev/null +++ b/pages/common/bear.md @@ -0,0 +1,24 @@ +# bear + +> A tool to generate compilation databases for `clang` tooling. +> More information: . + +- Generate `compile_commands.json` by running a build command: + +`bear -- {{make}}` + +- Generate compilation database with a custom output file name: + +`bear --output {{path/to/compile_commands.json}} -- {{make}}` + +- Append results to an existing `compile_commands.json` file: + +`bear --append -- {{make}}` + +- Run in verbose mode to get detailed output: + +`bear --verbose -- {{make}}` + +- Force `bear` to use the preload method for command interception: + +`bear --force-preload -- {{make}}` diff --git a/pages/common/bedtools.md b/pages/common/bedtools.md index 332fc3d4b25243..934416a5f4241b 100644 --- a/pages/common/bedtools.md +++ b/pages/common/bedtools.md @@ -2,28 +2,28 @@ > A swiss-army knife of tools for genomic-analysis tasks. > Used to intersect, group, convert and count data in BAM, BED, GFF/GTF, VCF format. -> More information: . +> More information: . -- Intersect two files with respect to the sequences' strand and save the result to {{path/to/output_file}}: +- Intersect file [a] and file(s) [b] regarding the sequences' [s]trand and save the result to a specific file: -`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -s > {{path/to/output_file}}` +`bedtools intersect -a {{path/to/file_A}} -b {{path/to/file_B1 path/to/file_B2 ...}} -s > {{path/to/output_file}}` -- Intersect two files with a left outer join, i.e. report each feature from {{file_1}} and NULL if no overlap with {{file_2}}: +- Intersect two files with a [l]eft [o]uter [j]oin, i.e. report each feature from `file1` and NULL if no overlap with `file2`: -`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -lof > {{path/to/output_file}}` +`bedtools intersect -a {{path/to/file1}} -b {{path/to/file2}} -loj > {{path/to/output_file}}` - Using more efficient algorithm to intersect two pre-sorted files: -`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -sorted > {{path/to/output_file}}` +`bedtools intersect -a {{path/to/file1}} -b {{path/to/file2}} -sorted > {{path/to/output_file}}` -- Group file {{path/to/file}} based on the first three and the fifth column and summarize the sixth column by summing it up: +- [g]roup a file based on the first three and the fifth [c]olumn and apply the sum [o]peration on the sixth column: `bedtools groupby -i {{path/to/file}} -c 1-3,5 -g 6 -o sum` -- Convert bam-formatted file to a bed-formatted one: +- Convert bam-formatted [i]nput file to a bed-formatted one: -`bedtools bamtobed -i {{path/to/file}}.bam > {{path/to/file}}.bed` +`bedtools bamtobed -i {{path/to/file.bam}} > {{path/to/file.bed}}` -- Find for all features in {{file_1}}.bed the closest one in {{file_2}}.bed and write their distance in an extra column (input files must be sorted): +- Find for all features in `file1.bed` the closest one in `file2.bed` and write their [d]istance in an extra column (input files must be sorted): -`bedtools closest -a {{path/to/file_1}}.bed -b {{path/to/file_2}}.bed -d` +`bedtools closest -a {{path/to/file1.bed}} -b {{path/to/file2.bed}} -d` diff --git a/pages/common/behat.md b/pages/common/behat.md index 14d88b17e0f217..79aaba653114f0 100644 --- a/pages/common/behat.md +++ b/pages/common/behat.md @@ -1,9 +1,9 @@ # behat > A PHP framework for Behaviour-Driven Development. -> More information: . +> More information: . -- Initialise a new Behat project: +- Initialize a new Behat project: `behat --init` @@ -13,7 +13,7 @@ - Run all tests from the specified suite: -`behat --suite={{suite_name}}` +`behat --suite {{suite_name}}` - Run tests with a specific output formatter: @@ -23,6 +23,6 @@ `behat --out {{path/to/file}}` -- Display a list of definitions in your test suites: +- List the definitions in your test suites: `behat --definitions` diff --git a/pages/common/betty.md b/pages/common/betty.md new file mode 100644 index 00000000000000..9cb5f22d8864db --- /dev/null +++ b/pages/common/betty.md @@ -0,0 +1,36 @@ +# betty + +> Use natural language to execute commands. +> More information: . + +- Ask Betty something: + +`betty {{what time is it}}` + +- Download a file: + +`betty download {{https://example.com/file.ext}} to {{path/to/output_file.ext}}` + +- Compress a file or directory to one of the support archive formats: + +`betty {{zip}} {{path/to/file_or_directory}}` + +- Extract an archive into the current directory: + +`betty {{unzip}} {{archive.tar.gz}}` + +- Extract an archive into a specific directory: + +`betty unarchive {{archive.tar.gz}} to {{path/to/directory}}` + +- Play Spotify: + +`betty play {{Spotify}}` + +- Drive Betty to madness: + +`betty go crazy` + +- Display version: + +`betty version` diff --git a/pages/common/bfg.md b/pages/common/bfg.md new file mode 100644 index 00000000000000..992a6db72bc378 --- /dev/null +++ b/pages/common/bfg.md @@ -0,0 +1,13 @@ +# bfg + +> Remove large files or passwords from Git history like git-filter-branch. +> Note: If your repository is connected to a remote, you will need to force push to it. +> More information: . + +- Remove a file with sensitive data but leave the latest commit untouched: + +`bfg --delete-files {{file_with_sensitive_data}}` + +- Remove all text mentioned in the specified file wherever it can be found in the repository's history: + +`bfg --replace-text {{path/to/file.txt}}` diff --git a/pages/common/bfs.md b/pages/common/bfs.md new file mode 100644 index 00000000000000..7b97ed4da3f86f --- /dev/null +++ b/pages/common/bfs.md @@ -0,0 +1,36 @@ +# bfs + +> Breadth-first search for your files. +> More information: . + +- Find files by extension: + +`bfs {{root_path}} -name '{{*.ext}}'` + +- Find files matching multiple path/name patterns: + +`bfs {{root_path}} -path '{{**/path/**/*.ext}}' -or -name '{{*pattern*}}'` + +- Find directories matching a given name, in case-insensitive mode: + +`bfs {{root_path}} -type d -iname '{{*lib*}}'` + +- Find files matching a given pattern, excluding specific paths: + +`bfs {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` + +- Find files matching a given size range, limiting the recursive depth to "1": + +`bfs {{root_path}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- Run a command for each file (use `{}` within the command to access the filename): + +`bfs {{root_path}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- Find all files modified today and pass the results to a single command as arguments: + +`bfs {{root_path}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` + +- Find empty files (0 byte) or directories and delete them verbosely: + +`bfs {{root_path}} -type {{f|d}} -empty -delete -print` diff --git a/pages/common/bg.md b/pages/common/bg.md index 2d34d48c152ed1..dc6c2ea65ce7f7 100644 --- a/pages/common/bg.md +++ b/pages/common/bg.md @@ -1,11 +1,13 @@ # bg -> Resumes jobs that have been suspended (e.g. using `Ctrl + Z`), and keeps them running in the background. +> Resume suspended jobs (e.g. using ``), and keeps them running in the background. +> See also: `jobs`, `fg`, `disown`. +> More information: . -- Resume most recently suspended job and run it in the background: +- Resume the most recently suspended job and run it in the background: `bg` -- Resume a specific job (use `jobs -l` to get its ID) and run it in the background: +- Resume a specific job and run it in the background (run `jobs` to find the job number): -`bg %{{job_id}}` +`bg %{{job_number}}` diff --git a/pages/common/bgpgrep.md b/pages/common/bgpgrep.md new file mode 100644 index 00000000000000..6b9883d3e07165 --- /dev/null +++ b/pages/common/bgpgrep.md @@ -0,0 +1,29 @@ +# bgpgrep + +> Filter and print BGP data within MRT dumps. +> Can read files compressed with `gzip`, `bzip2` and `xz`. +> More information: . + +- List all routes: + +`bgpgrep {{master6.mrt}}` + +- List routes received from a specific peer, determined by the peer's AS number: + +`bgpgrep {{master4.mrt}} -peer {{64498}}` + +- List routes received from a specific peer, determined by the peer's IP address: + +`bgpgrep {{master4.mrt.bz2}} -peer {{2001:db8:dead:cafe:acd::19e}}` + +- List routes which have certain ASNs in their AS path: + +`bgpgrep {{master6.mrt.bz2}} -aspath '{{64498 64510}}'` + +- List routes that lead to a specific address: + +`bgpgrep {{master6.mrt.bz2}} -supernet '{{2001:db8:dead:cafe:aef::5}}'` + +- List routes that have communities from a specific AS: + +`bgpgrep {{master4.mrt}} -communities \( '{{64497}}:*' \)` diff --git a/pages/common/biff.md b/pages/common/biff.md new file mode 100644 index 00000000000000..350323788cad51 --- /dev/null +++ b/pages/common/biff.md @@ -0,0 +1,36 @@ +# biff + +> A simple utility for doing datetime arithmetic, parsing and formatting. +> More information: . + +- Print the current time in a format of your choosing: + +`biff time fmt {{[-f|--format]}} rfc3339 now` + +- Print multiple relative times in one command: + +`biff time fmt {{[-f|--format]}} '%c' now -1d 'next sat' 'last monday' '9pm last mon'` + +- Print the current time in another time zone, and round it the nearest 15 minute increment: + +`biff time in Asia/Bangkok now | biff time round {{[-i|--increment]}} 15 {{[-s|--smallest]}} minute` + +- Convert a time between two different time zone: + +`TZ='Japan' biff time in America/New_York 02:30` + +- Print a past or future time relative to current time: + +`biff time add {{-1d|1d|1w|-1m|1y|...}} now` + +- Add a complex duration to the current time: + +`biff time add '1 week, 12 hours ago' now` + +- Find the duration since a date in the past and round it to the desired precision: + +`biff span since 2025-01-20T12:00 {{[-l|--largest]}} year` + +- Find timestamps in a log file and reformat them into your local time in place: + +`biff tag lines /tmp/access.log | biff time in system | biff time fmt {{[-f|--format]}} '%c' | head {{[-n|--lines]}} 3 | biff untag {{[-s|--substitute]}}` diff --git a/pages/common/bind.md b/pages/common/bind.md new file mode 100644 index 00000000000000..2ad896be22498f --- /dev/null +++ b/pages/common/bind.md @@ -0,0 +1,24 @@ +# bind + +> Bash builtin to manage bash hotkeys and variables. +> More information: . + +- List all bound commands and their hotkeys: + +`bind {{-p|-P}}` + +- Query a command for its hotkey: + +`bind -q {{command}}` + +- Bind a key: + +`bind -x '"{{key_sequence}}":{{command}}'` + +- List user defined bindings: + +`bind -X` + +- Display help: + +`help bind` diff --git a/pages/common/bindkey.md b/pages/common/bindkey.md new file mode 100644 index 00000000000000..d5987e3b08c580 --- /dev/null +++ b/pages/common/bindkey.md @@ -0,0 +1,20 @@ +# bindkey + +> Add keybindings to Z-Shell. +> More information: . + +- Bind a hotkey to a specific command: + +`bindkey "{{^k}}" {{kill-line}}` + +- Bind a hotkey to a specific key [s]equence: + +`bindkey -s '^o' 'cd ..\n'` + +- [l]ist keymaps: + +`bindkey -l` + +- View the hotkey in a key[M]ap: + +`bindkey -M main` diff --git a/pages/common/bing-rewards.md b/pages/common/bing-rewards.md new file mode 100644 index 00000000000000..e4d4bed4a92a89 --- /dev/null +++ b/pages/common/bing-rewards.md @@ -0,0 +1,24 @@ +# bing-rewards + +> Automate daily Bing Rewards points. +> More information: . + +- Complete both desktop and mobile searches: + +`bing-rewards` + +- Run 10 searches with mobile user-agent: + +`bing-rewards {{[-m|--mobile]}} {{[-c|--count]}} 10` + +- Complete mobile and desktop searches using specified Chrome profile "Profile 1": + +`bing-rewards --profile "Profile 1"` + +- Run searches sequentially across multiple Chrome profiles: + +`bing-rewards --profile "Default" "Profile 1" "Profile 2"` + +- Display help: + +`bing-rewards {{[-h|--help]}}` diff --git a/pages/common/binwalk.md b/pages/common/binwalk.md new file mode 100644 index 00000000000000..f6def0355c77bc --- /dev/null +++ b/pages/common/binwalk.md @@ -0,0 +1,28 @@ +# binwalk + +> Firmware Analysis Tool. +> More information: . + +- Scan a binary file: + +`binwalk {{path/to/binary}}` + +- Extract files from a binary, specifying the output directory: + +`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{output_directory}} {{path/to/binary}}` + +- Recursively extract files from a binary limiting the recursion depth to 2: + +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{path/to/binary}}` + +- Extract files from a binary with the specified file signature: + +`binwalk {{[-D|--dd]}} '{{png image:png}}' {{path/to/binary}}` + +- Analyze the entropy of a binary, saving the plot with the same name as the binary and `.png` extension appended: + +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{path/to/binary}}` + +- Combine entropy, signature and opcodes analysis in a single command: + +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{path/to/binary}}` diff --git a/pages/common/bioradtopgm.md b/pages/common/bioradtopgm.md new file mode 100644 index 00000000000000..ede1caf2d6af34 --- /dev/null +++ b/pages/common/bioradtopgm.md @@ -0,0 +1,16 @@ +# bioradtopgm + +> Convert a Biorad confocal file into a PGM file. +> More information: . + +- Read a Biorad confocal file and store the n'th image contained in it to as a PGM file: + +`bioradtopgm -{{n}} {{path/to/file.pic}} > {{path/to/file.pgm}}` + +- Read a Biorad confocal file and print the number of images it contains: + +`bioradtopgm {{path/to/file.pic}}` + +- Display version: + +`bioradtopgm {{[-v|-version]}}` diff --git a/pages/common/bird.md b/pages/common/bird.md new file mode 100644 index 00000000000000..d2ebc65a956939 --- /dev/null +++ b/pages/common/bird.md @@ -0,0 +1,13 @@ +# bird + +> BIRD Internet Routing Daemon. +> Routing daemon with support for BGP, OSPF, Babel and others. +> More information: . + +- Start Bird with a specific configuration file: + +`bird -c {{path/to/bird.conf}}` + +- Start Bird as a specific user and group: + +`bird -u {{username}} -g {{group}}` diff --git a/pages/common/birdc.md b/pages/common/birdc.md new file mode 100644 index 00000000000000..886e8a826cd23f --- /dev/null +++ b/pages/common/birdc.md @@ -0,0 +1,37 @@ +# birdc + +> BIRD remote control. +> Retrieve information like routes from bird and perform configurations during runtime. +> More information: . + +- Open the remote control console: + +`birdc` + +- Reload the configuration without restarting BIRD: + +`birdc configure` + +- Show the current status of BIRD: + +`birdc show status` + +- Show all configured protocols: + +`birdc show protocols` + +- Show all details about a protocol: + +`birdc show protocols {{upstream1}} all` + +- Show all routes that contain a specific AS number: + +`birdc "show route where bgp_path ~ [{{4242120045}}]"` + +- Show all best routes: + +`birdc show route primary` + +- Show all details of all routes from a given prefix: + +`birdc show route for {{fd00:/8}} all` diff --git a/pages/common/bison.md b/pages/common/bison.md index e0e8798f5be4e6..21dcca6b1ca680 100644 --- a/pages/common/bison.md +++ b/pages/common/bison.md @@ -1,20 +1,20 @@ # bison > GNU parser generator. -> More information: . +> More information: . - Compile a bison definition file: `bison {{path/to/file.y}}` -- Compile in debug mode, which causes the resulting parser to write additional information to the standard output: +- Compile in debug mode, which causes the resulting parser to write additional information to `stdout`: -`bison --debug {{path/to/file.y}}` +`bison {{[-t|--debug]}} {{path/to/file.y}}` - Specify the output filename: -`bison --output {{path/to/output.c}} {{path/to/file.y}}` +`bison {{[-o|--output]}} {{path/to/output.c}} {{path/to/file.y}}` - Be verbose when compiling: -`bison --verbose` +`bison {{[-v|--verbose]}}` diff --git a/pages/common/bitcoin-cli.md b/pages/common/bitcoin-cli.md index d8566090b48eab..0ad266e583fe33 100644 --- a/pages/common/bitcoin-cli.md +++ b/pages/common/bitcoin-cli.md @@ -1,6 +1,6 @@ # bitcoin-cli -> Command-line client to interact with the Bitcoin daemon via RPC calls. +> Client to interact with the Bitcoin Core daemon via RPC calls. > Uses the configuration defined in `bitcoin.conf`. > More information: . @@ -23,3 +23,15 @@ - Export the wallet information to a text file: `bitcoin-cli dumpwallet "{{path/to/file}}"` + +- Get blockchain information: + +`bitcoin-cli getblockchaininfo` + +- Get network information: + +`bitcoin-cli getnetworkinfo` + +- Stop the Bitcoin Core daemon: + +`bitcoin-cli stop` diff --git a/pages/common/bitcoind.md b/pages/common/bitcoind.md new file mode 100644 index 00000000000000..530ffff28e8f7b --- /dev/null +++ b/pages/common/bitcoind.md @@ -0,0 +1,21 @@ +# bitcoind + +> Bitcoin Core daemon. +> Uses the configuration defined in `bitcoin.conf`. +> More information: . + +- Start the Bitcoin Core daemon (in the foreground): + +`bitcoind` + +- Start the Bitcoin Core daemon in the background (use `bitcoin-cli stop` to stop): + +`bitcoind -daemon` + +- Start the Bitcoin Core daemon on a specific network: + +`bitcoind -chain={{main|test|signet|regtest}}` + +- Start the Bitcoin Core daemon using specific configuration file and data directory: + +`bitcoind -conf={{path/to/bitcoin.conf}} -datadir={{path/to/directory}}` diff --git a/pages/common/black.md b/pages/common/black.md index 17469017e50028..042fc97b2081de 100644 --- a/pages/common/black.md +++ b/pages/common/black.md @@ -1,7 +1,7 @@ # black -> A Python auto code formatter. -> More information: . +> Format Python code automatically. +> More information: . - Auto-format a file or entire directory: @@ -9,16 +9,20 @@ - Format the code passed in as a string: -`black -c {{path/to/file_or_directory}}` +`black {{[-c|--code]}} "{{code}}"` -- Output a diff for each file on stdout: +- Show whether a file or a directory would have changes made to them if they were to be formatted: + +`black --check {{path/to/file_or_directory}}` + +- Show changes that would be made to a file or a directory without performing them (dry-run): `black --diff {{path/to/file_or_directory}}` -- Return the status without writing the files back: +- Auto-format a file or directory, emitting exclusively error messages to `stderr`: -`black --check {{path/to/file_or_directory}}` +`black {{[-q|--quiet]}} {{path/to/file_or_directory}}` -- Auto-format a file or directory emitting exclusively error messages to stderr: +- Auto-format a file or directory without replacing single quotes with double quotes (adoption helper, avoid using this for new projects): -`black --quiet {{path/to/file_or_directory}}` +`black {{[-S|--skip-string-normalization]}} {{path/to/file_or_directory}}` diff --git a/pages/common/blackfire.md b/pages/common/blackfire.md index 6ad612cc25a936..c0e2d769fe04e8 100644 --- a/pages/common/blackfire.md +++ b/pages/common/blackfire.md @@ -1,9 +1,9 @@ # blackfire -> A command line profiling tool for PHP. +> Monitor, profile and test a PHP application. > More information: . -- Initialise and configure the Blackfire client: +- Initialize and configure the Blackfire client: `blackfire config` @@ -21,7 +21,7 @@ - Run the profiler and collect 10 samples: -`blackfire --samples={{10}} run {{php path/to/file.php}}` +`blackfire --samples 10 run {{php path/to/file.php}}` - Run the profiler and output results as JSON: diff --git a/pages/common/blahaj.md b/pages/common/blahaj.md new file mode 100644 index 00000000000000..5312f4a1fe3c95 --- /dev/null +++ b/pages/common/blahaj.md @@ -0,0 +1,28 @@ +# blahaj + +> A lolcat-like output colorizer that also prints flags and colorful sharks. +> More information: . + +- Get a list of possible flags/colors: + +`blahaj --flags` + +- Print a shark (blahaj) with default trans colors: + +`blahaj {{[-s|--shark]}}` + +- Print a random flag with a 2x size multiplier: + +`blahaj {{[-f|--flag]}} {{[-r|--random]}} {{[-m|--multiplier]}} 2` + +- Print the result of a text-producing command with lesbian colors: + +`{{cowsay "Hello, world"}} | blahaj {{[-c|--colors]}} lesbian` + +- Print text and color by individual character: + +`echo "{{Hello, world}}" | blahaj {{[-i|--individual]}}` + +- Print contents of a text document, coloring the background instead of text, by word: + +`blahaj {{[-w|--words]}} {{[-b|--background]}} {{path/to/file}}` diff --git a/pages/common/blender.md b/pages/common/blender.md index f85186113d4537..82fda099f6eefc 100644 --- a/pages/common/blender.md +++ b/pages/common/blender.md @@ -2,32 +2,32 @@ > Command-line interface to the Blender 3D computer graphics application. > Arguments are executed in the order they are given. -> More information: . +> More information: . - Render all frames of an animation in the background, without loading the UI (output is saved to `/tmp`): -`blender -b {{filename}}.blend -a` +`blender {{[-b|--background]}} {{path/to/file.blend}} {{[-a|--render-anim]}}` - Render an animation using a specific image naming pattern, in a path relative (`//`) to the .blend file: -`blender -b {{filename}}.blend -o //{{render/frame_###.png}} -a` +`blender {{[-b|--background]}} {{path/to/file.blend}} {{[-o|--render-output]}} //{{render/frame_###.png}} {{[-a|--render-anim]}}` - Render the 10th frame of an animation as a single image, saved to an existing directory (absolute path): -`blender -b {{filename}}.blend -o {{/path/to/output_directory}} -f {{10}}` +`blender {{[-b|--background]}} {{path/to/file.blend}} {{[-o|--render-output]}} /{{path/to/output_directory}} {{[-f|--render-frame]}} {{10}}` - Render the second last frame in an animation as a JPEG image, saved to an existing directory (relative path): -`blender -b {{filename}}.blend -o //{{output_directory}} -F {{JPEG}} -f {{-2}}` +`blender {{[-b|--background]}} {{path/to/file.blend}} {{[-o|--render-output]}} //{{output_directory}} {{[-f|--render-frame]}} {{JPEG}} {{[-f|--render-frame]}} {{-2}}` - Render the animation of a specific scene, starting at frame 10 and ending at frame 500: -`blender -b {{filename}}.blend -S {{scene_name}} -s {{10}} -e {{500}} -a` +`blender {{[-b|--background]}} {{path/to/file.blend}} {{[-S|--scene]}} {{scene_name}} {{[-s|--frame-start]}} {{10}} {{[-e|--frame-end]}} {{500}} {{[-a|--render-anim]}}` - Render an animation at a specific resolution, by passing a Python expression: -`blender -b {{filename}}.blend --python-expr '{{import bpy; bpy.data.scenes[0].render.resolution_percentage = 25}}' -a` +`blender {{[-b|--background]}} {{path/to/file.blend}} --python-expr '{{import bpy; bpy.data.scenes[0].render.resolution_percentage = 25}}' {{[-a|--render-anim]}}` -- Start an interactive Blender session in the terminal with a python console (do `import bpy` after starting): +- Start an interactive Blender session in the terminal with a Python console (do `import bpy` after starting): -`blender -b --python-console` +`blender {{[-b|--background]}} --python-console` diff --git a/pages/common/blockout2.md b/pages/common/blockout2.md index 8de98071b29608..1dfc2ab595813c 100644 --- a/pages/common/blockout2.md +++ b/pages/common/blockout2.md @@ -1,7 +1,7 @@ # blockout2 > Tetris like game in 3D. -> More information: . +> More information: . - Start a new game: @@ -9,16 +9,16 @@ - Navigate the current piece on a 2D plane: -`{{Up|Down|Left|Right}} arrow key` +`{{|||}}` - Rotate the piece on its axis: -`{{Q|W|E|A|S|D}}` +`{{|||||}}` - Hard drop the current piece: -`Spacebar` +`` - Pause/unpause the game: -`p` +`

` diff --git a/pages/common/bloodhound-python.md b/pages/common/bloodhound-python.md new file mode 100644 index 00000000000000..926036375c0fe9 --- /dev/null +++ b/pages/common/bloodhound-python.md @@ -0,0 +1,24 @@ +# bloodhound-python + +> A Python ingestor for BloodHound, used to enumerate Active Directory relationships. +> More information: . + +- Collect all data using default collection methods (includes groups, sessions, and trusts): + +`bloodhound-python --username {{username}} --password {{password}} --domain {{domain}}` + +- Collect data using Kerberos authentication without requiring a plaintext password: + +`bloodhound-python --collectionmethod {{All}} --kerberos --domain {{domain}}` + +- Authenticate using NTLM hashes instead of a password: + +`bloodhound-python --collectionmethod {{All}} --username {{username}} --hashes {{LM:NTLM}} --domain {{domain}}` + +- Specify a custom name server for DNS queries: + +`bloodhound-python --collectionmethod {{All}} --username {{username}} --password {{password}} --domain {{domain}} --nameserver {{nameserver}}` + +- Save the output files as a compressed ZIP archive: + +`bloodhound-python --collectionmethod {{All}} --username {{username}} --password {{password}} --domain {{domain}} --zip` diff --git a/pages/common/bmaptool.md b/pages/common/bmaptool.md index 2f0347b15ea200..20acc6283386be 100644 --- a/pages/common/bmaptool.md +++ b/pages/common/bmaptool.md @@ -1,11 +1,11 @@ # bmaptool > Create or copy block maps intelligently (designed to be faster than `cp` or `dd`). -> More information: . +> More information: . -- Create a blockmap from image file: +- Output a blockmap file from image file: -`bmaptool create -o {{blockmap.bmap}} {{source.img}}` +`bmaptool create {{[-o|--output]}} {{blockmap.bmap}} {{source.img}}` - Copy an image file into sdb: diff --git a/pages/common/bmptopnm.md b/pages/common/bmptopnm.md new file mode 100644 index 00000000000000..70aaa86f70f65a --- /dev/null +++ b/pages/common/bmptopnm.md @@ -0,0 +1,16 @@ +# bmptopnm + +> Convert a BMP file into a PBM, PGM, or PNM image. +> More information: . + +- Generate the PBM, PGM, or PNM image as output, for Windows or OS/2 BMP file as input: + +`bmptopnm {{path/to/file.bmp}}` + +- Report contents of the BMP header to `stderr`: + +`bmptopnm {{[-verb|-verbose]}} {{path/to/file.bmp}}` + +- Display version: + +`bmptopnm {{[-v|-version]}}` diff --git a/pages/common/bmptoppm.md b/pages/common/bmptoppm.md new file mode 100644 index 00000000000000..7a9160bf342c5e --- /dev/null +++ b/pages/common/bmptoppm.md @@ -0,0 +1,8 @@ +# bmptoppm + +> This command has been superseded by `bmptopnm`. +> More information: . + +- View documentation for the current command: + +`tldr bmptopnm` diff --git a/pages/common/bob.md b/pages/common/bob.md new file mode 100644 index 00000000000000..ec461bfa520bf6 --- /dev/null +++ b/pages/common/bob.md @@ -0,0 +1,24 @@ +# bob + +> Manage and switch between Neovim versions. +> More information: . + +- Install and switch to the specified version of Neovim: + +`bob use {{nightly|stable|latest|version_string|commit_hash}}` + +- List installed and currently used versions of Neovim: + +`bob list` + +- Uninstall the specified version of Neovim: + +`bob uninstall {{nightly|stable|latest|version_string|commit_hash}}` + +- Uninstall Neovim and erase any changes `bob` has made: + +`bob erase` + +- Roll back to a previous nightly version: + +`bob rollback` diff --git a/pages/common/boot.md b/pages/common/boot.md index ecc6175c4e68bc..15baf94dbfee00 100644 --- a/pages/common/boot.md +++ b/pages/common/boot.md @@ -7,14 +7,10 @@ `boot repl` -- Build a single "uberjar": +- Build a single `uberjar`: `boot jar` -- Learn about a command: - -`boot cljs --help` - - Generate scaffolding for a new project based on a template: `boot --dependencies boot/new new --template {{template_name}} --name {{project_name}}` @@ -26,3 +22,7 @@ - Build for production (if using the boot/new template): `boot prod` + +- Display help for a specific task: + +`boot {{task}} --help` diff --git a/pages/common/borg.md b/pages/common/borg.md index e6ef5a425f1a0c..54eae49c49ea26 100644 --- a/pages/common/borg.md +++ b/pages/common/borg.md @@ -1,10 +1,10 @@ # borg > Deduplicating backup tool. -> Creates local or remote backups that are mountable as filesystems. +> Create local or remote backups that are mountable as filesystems. > More information: . -- Initialise a (local) repository: +- Initialize a (local) repository: `borg init {{path/to/repo_directory}}` @@ -16,7 +16,7 @@ `borg list {{path/to/repo_directory}}` -- Extract a specific directory from the "Monday" archive in a remote repository, excluding all *.ext files: +- Extract a specific directory from the "Monday" archive in a remote repository, excluding all `*.ext` files: `borg extract {{user}}@{{host}}:{{path/to/repo_directory}}::{{Monday}} {{path/to/target_directory}} --exclude '{{*.ext}}'` diff --git a/pages/common/bosh.md b/pages/common/bosh.md index 945c1fea6782a7..ce7ce3b70adafb 100644 --- a/pages/common/bosh.md +++ b/pages/common/bosh.md @@ -1,36 +1,36 @@ # bosh -> Command line tool to deploy and manage the bosh director. +> Deploy and manage the BOSH director. > More information: . -- Create local alias for director: +- Create local alias for director in a specific environment: -`bosh alias-env {{environment_name}} -e {{ip_address|url}} --ca-cert {{ca_certificate}}` +`bosh alias-env {{environment_name}} {{[-e|--environment]}} {{ip_address|URL}} --ca-cert {{ca_certificate}}` - List environments: `bosh environments` -- Login to the director: +- Log in to the director: -`bosh login -e {{environment}} ` +`bosh login {{[-e|--environment]}} {{environment}}` - List deployments: -`bosh -e {{environment}} deployments` +`bosh {{[-e|--environment]}} {{environment}} deployments` -- List environment virtual machines: +- List environment virtual machines in a deployment: -`bosh -e {{environment}} vms -d {{deployment}}` +`bosh {{[-e|--environment]}} {{environment}} vms {{[-d|--deployment]}} {{deployment}}` -- Ssh into virtual machine: +- SSH into virtual machine: -`bosh -e {{environment}} ssh {{virtual_machine}} -d {{deployment}}` +`bosh {{[-e|--environment]}} {{environment}} ssh {{virtual_machine}} {{[-d|--deployment]}} {{deployment}}` - Upload stemcell: -`bosh -e {{environment}} upload-stemcell {{stemcell_file|url}}` +`bosh {{[-e|--environment]}} {{environment}} upload-stemcell {{stemcell_file|url}}` - Show current cloud config: -`bosh -e {{environment}} cloud-config` +`bosh {{[-e|--environment]}} {{environment}} cloud-config` diff --git a/pages/common/bower.md b/pages/common/bower.md index efe485ea8dfbde..f4abefab3c5d09 100644 --- a/pages/common/bower.md +++ b/pages/common/bower.md @@ -2,7 +2,7 @@ > A package manager optimized for front-end web development. > A package can be a GitHub user/repo shorthand, a Git endpoint, a URL or a registered package. -> More information: . +> More information: . - Install a project's dependencies, listed in its bower.json: @@ -20,14 +20,14 @@ `bower list` -- Display help information about a bower command: - -`bower help {{command}}` - -- Create a bower.json file for your package: +- Create a `bower.json` file for your package: `bower init` -- Install a specific dependency version, and add it to bower.json: +- Install a specific dependency version, and add it to `bower.json`: `bower install {{local_name}}={{package}}#{{version}} --save` + +- Display help for a specific command: + +`bower help {{command}}` diff --git a/pages/common/box.md b/pages/common/box.md index 4b9a71f7fb454a..1d8c7f2fb5957b 100644 --- a/pages/common/box.md +++ b/pages/common/box.md @@ -7,9 +7,9 @@ `box compile` -- Compile a new Phar file using a specific config file: +- Compile a new Phar file using a specific configuration file: -`box compile -c {{path/to/config}}` +`box compile {{[-c|--config]}} {{path/to/config}}` - Display information about the PHAR PHP extension: @@ -19,7 +19,7 @@ `box info {{path/to/phar_file}}` -- Validate the first found config file in the working directory: +- Validate the first found configuration file in the working directory: `box validate` @@ -27,6 +27,6 @@ `box verify {{path/to/phar_file}}` -- Display all available commands and options: +- Display help: `box help` diff --git a/pages/common/boxes.md b/pages/common/boxes.md new file mode 100644 index 00000000000000..fd0e83e75ada0e --- /dev/null +++ b/pages/common/boxes.md @@ -0,0 +1,32 @@ +# boxes + +> Draw, remove, and repair ASCII art boxes. +> More information: . + +- Draw a box around a string: + +`echo "{{string}}" | boxes` + +- Remove a box from a string: + +`echo "{{string}}" | boxes {{[-r|--remove]}}` + +- Specify the box design: + +`echo "{{string}}" | boxes {{[-d|--design]}} {{parchment}}` + +- Specify the box size (in columns by lines): + +`echo "{{string}}" | boxes {{[-s|--size]}} {{10}}x{{5}}` + +- Align the box text [h]orizonally (at [l]eft, [c]enter or [r]ight): + +`echo "{{string}}" | boxes {{[-a|--align]}} h{{l|c|r}}` + +- Align the box text [v]ertically (at [t]op, [c]enter or [b]ottom): + +`echo "{{string}}" | boxes {{[-a|--align]}} v{{t|c|b}}` + +- [j]ustify the box text (at [l]eft, [c]enter or [r]ight): + +`echo "{{string}}" | boxes {{[-a|--align]}} j{{l|c|r}}{{vt}}` diff --git a/pages/common/boxxy.md b/pages/common/boxxy.md new file mode 100644 index 00000000000000..10918e4c69596d --- /dev/null +++ b/pages/common/boxxy.md @@ -0,0 +1,28 @@ +# boxxy + +> Redirect file locations for programs that don't respect the XDG standards. +> More information: . + +- Run a program with file redirections defined in `~/.config/boxxy/boxxy.yaml`: + +`boxxy {{program}}` + +- Scan your home directory for rule suggestions: + +`boxxy scan` + +- Trace what files a program touches and save a report in `boxxy-report.txt` in the current directory: + +`boxxy {{[-t|--trace]}} {{program}}` + +- Pass a redirection rule directly on the terminal: + +`boxxy {{[-r|--rule]}} {{path/to/file_or_directory}}:{{path/to/redirection}}:{{file|directory}} {{program}}` + +- View the config file: + +`boxxy config` + +- Display help: + +`boxxy -h` diff --git a/pages/common/bpkg.md b/pages/common/bpkg.md new file mode 100644 index 00000000000000..9004424e8af436 --- /dev/null +++ b/pages/common/bpkg.md @@ -0,0 +1,28 @@ +# bpkg + +> A package manager for Bash scripts. +> More information: . + +- Update the local index: + +`bpkg update` + +- Install a package globally: + +`bpkg install --global {{package}}` + +- Install a package in a subdirectory of the current directory: + +`bpkg install {{package}}` + +- Install a specific version of a package globally: + +`bpkg install {{package}}@{{version}} -g` + +- Show details about a specific package: + +`bpkg show {{package}}` + +- Run a command, optionally specifying its arguments: + +`bpkg run {{command}} {{argument1 argument2 ...}}` diff --git a/pages/common/bpython.md b/pages/common/bpython.md new file mode 100644 index 00000000000000..4a2e94bfe8c2ae --- /dev/null +++ b/pages/common/bpython.md @@ -0,0 +1,21 @@ +# bpython + +> A fancy interface to the Python interpreter. +> Provides syntax highlighting and many other nice-to-haves in REPL mode. +> More information: . + +- Start a REPL (interactive shell): + +`bpython` + +- Execute a specific Python file: + +`bpython {{path/to/file.py}}` + +- Execute a specific Python file and start a REPL: + +`bpython {{[-i|--interactive]}} {{path/to/file.py}}` + +- Use the specified configuration file instead of the default configuration: + +`bpython --config {{path/to/file.conf}}` diff --git a/pages/common/bpytop.md b/pages/common/bpytop.md new file mode 100644 index 00000000000000..d9b5cbb868c058 --- /dev/null +++ b/pages/common/bpytop.md @@ -0,0 +1,29 @@ +# bpytop + +> A resource monitor that shows information about the CPU, memory, disks, network and processes. +> A Python version of `bashtop`. +> More information: . + +- Start `bpytop`: + +`bpytop` + +- Start in minimal mode without memory and networking boxes: + +`bpytop -m` + +- Toggle minimal mode: + +`` + +- Search for running programs or processes: + +`` + +- Change settings: + +`` + +- Display version: + +`bpytop -v` diff --git a/pages/common/bq.md b/pages/common/bq.md new file mode 100644 index 00000000000000..5a620e09361704 --- /dev/null +++ b/pages/common/bq.md @@ -0,0 +1,32 @@ +# bq + +> A Python-based tool for BigQuery, Google Cloud's fully managed and completely serverless enterprise data warehouse. +> More information: . + +- Run query against a BigQuery table using standard SQL, add `--dry_run` flag to estimate the number of bytes read by the query: + +`bq query --nouse_legacy_sql 'SELECT COUNT(*) FROM {{DATASET_NAME}}.{{TABLE_NAME}}'` + +- Run a parameterized query: + +`bq query --use_legacy_sql=false --parameter='ts_value:TIMESTAMP:2016-12-07 08:00:00' 'SELECT TIMESTAMP_ADD(@ts_value, INTERVAL 1 HOUR)'` + +- Create a new dataset or table in the US location: + +`bq mk --location=US {{dataset_name}}.{{table_name}}` + +- List all datasets in a project: + +`bq ls --filter labels.{{key}}:{{value}} --max_results {{integer}} --format=prettyjson --project_id {{project_id}}` + +- Batch load data from a specific file in formats such as CSV, JSON, Parquet, and Avro to a table: + +`bq load --location {{location}} --source_format {{CSV|JSON|PARQUET|AVRO}} {{dataset}}.{{table}} {{path_to_source}}` + +- Copy one table to another: + +`bq cp {{dataset}}.{{OLD_TABLE}} {{dataset}}.{{new_table}}` + +- Display help: + +`bq help` diff --git a/pages/common/brave.md b/pages/common/brave.md new file mode 100644 index 00000000000000..72e6fd1262285e --- /dev/null +++ b/pages/common/brave.md @@ -0,0 +1,8 @@ +# brave + +> This command is an alias of `chromium`. +> More information: . + +- View documentation for the original command: + +`tldr chromium` diff --git a/pages/common/break.md b/pages/common/break.md new file mode 100644 index 00000000000000..7c506709270ff0 --- /dev/null +++ b/pages/common/break.md @@ -0,0 +1,12 @@ +# break + +> Break out of a `for`, `while`, `until` or `select` loop. +> More information: . + +- Break out of a single loop: + +`while :; do break; done` + +- Break out of nested loops: + +`while :; do while :; do break 2; done; done` diff --git a/pages/common/brew-autoremove.md b/pages/common/brew-autoremove.md new file mode 100644 index 00000000000000..a07f296a86b889 --- /dev/null +++ b/pages/common/brew-autoremove.md @@ -0,0 +1,12 @@ +# brew autoremove + +> Remove unused formulae previously installed as dependencies. +> More information: . + +- Remove all unused formulae: + +`brew autoremove` + +- Print what would be removed, but don't actually remove anything: + +`brew autoremove {{[-n|--dry-run]}}` diff --git a/pages/common/brew-bundle.md b/pages/common/brew-bundle.md new file mode 100644 index 00000000000000..43539a74225060 --- /dev/null +++ b/pages/common/brew-bundle.md @@ -0,0 +1,28 @@ +# brew bundle + +> Bundler for Homebrew, Homebrew Cask and the Mac App Store. +> More information: . + +- Install packages from a Brewfile at the current path: + +`brew bundle` + +- Install packages from a specific Brewfile at a specific path: + +`brew bundle --file {{path/to/file}}` + +- Create a Brewfile from all installed packages: + +`brew bundle dump` + +- Uninstall all formulae not listed in the Brewfile: + +`brew bundle cleanup --force` + +- Check if there is anything to install or upgrade in the Brewfile: + +`brew bundle check` + +- List all entries in the Brewfile: + +`brew bundle list --all` diff --git a/pages/common/brew-install.md b/pages/common/brew-install.md new file mode 100644 index 00000000000000..450dacf70380b5 --- /dev/null +++ b/pages/common/brew-install.md @@ -0,0 +1,16 @@ +# brew install + +> Install a Homebrew formula or cask. +> More information: . + +- Install a formula/cask: + +`brew install {{formula|cask}}` + +- Build and install a formula from source (dependencies will still be installed from bottles): + +`brew install {{[-s|--build-from-source]}} {{formula}}` + +- Download the manifest, print what would be installed but don't actually install anything: + +`brew install {{[-n|--dry-run]}} {{formula|cask}}` diff --git a/pages/common/brew-list.md b/pages/common/brew-list.md new file mode 100644 index 00000000000000..b239b897747007 --- /dev/null +++ b/pages/common/brew-list.md @@ -0,0 +1,28 @@ +# brew list + +> List installed formulae/casks or their files. +> More information: . + +- List all installed formulae and casks: + +`brew {{[ls|list]}}` + +- List files belonging to an installed formula: + +`brew {{[ls|list]}} {{formula}}` + +- List artifacts of a cask: + +`brew {{[ls|list]}} {{cask}}` + +- List only formulae: + +`brew {{[ls|list]}} --formula` + +- List only casks: + +`brew {{[ls|list]}} --cask` + +- List only pinned formulae: + +`brew {{[ls|list]}} --pinned` diff --git a/pages/common/brew-outdated.md b/pages/common/brew-outdated.md new file mode 100644 index 00000000000000..88749f64859c4e --- /dev/null +++ b/pages/common/brew-outdated.md @@ -0,0 +1,17 @@ +# brew outdated + +> List outdated casks and formulae. +> To upgrade everything, use `brew upgrade`. +> More information: . + +- List all outdated casks and formulae: + +`brew outdated` + +- List only outdated formulae: + +`brew outdated --formula` + +- List only outdated casks: + +`brew outdated --cask` diff --git a/pages/common/brew-remove.md b/pages/common/brew-remove.md new file mode 100644 index 00000000000000..12971af4c17cb2 --- /dev/null +++ b/pages/common/brew-remove.md @@ -0,0 +1,7 @@ +# brew remove + +> This command is an alias of `brew uninstall`. + +- View documentation for the original command: + +`tldr brew uninstall` diff --git a/pages/common/brew-rm.md b/pages/common/brew-rm.md new file mode 100644 index 00000000000000..8d712d41a5e416 --- /dev/null +++ b/pages/common/brew-rm.md @@ -0,0 +1,7 @@ +# brew rm + +> This command is an alias of `brew uninstall`. + +- View documentation for the original command: + +`tldr brew uninstall` diff --git a/pages/common/brew-search.md b/pages/common/brew-search.md new file mode 100644 index 00000000000000..e425407f6490b1 --- /dev/null +++ b/pages/common/brew-search.md @@ -0,0 +1,24 @@ +# brew search + +> Search for casks and formulae. +> More information: . + +- Search for casks and formulae using a keyword: + +`brew search {{keyword}}` + +- Search for casks and formulae using a `regex`: + +`brew search /{{regex}}/` + +- Enable searching through descriptions: + +`brew search --desc {{keyword}}` + +- Only search for formulae: + +`brew search --formula {{keyword}}` + +- Only search for casks: + +`brew search --cask {{keyword}}` diff --git a/pages/common/brew-services.md b/pages/common/brew-services.md new file mode 100644 index 00000000000000..43394d7c97a78c --- /dev/null +++ b/pages/common/brew-services.md @@ -0,0 +1,28 @@ +# brew services + +> Manage background services with `launchctl` on macOS or `systemctl` on Linux. +> More information: . + +- List all managed services for the current user: + +`brew services` + +- List more information about all managed services: + +`brew services info --all` + +- Start a service immediately and register it to launch at login (or boot): + +`brew services start {{formula}}` + +- Stop the service immediately and unregister it from launching at login (or boot): + +`brew services stop {{formula}}` + +- Stop (if necessary) and start the service immediately and register it to launch at login (or boot): + +`brew services restart {{formula}}` + +- Remove all unused services: + +`brew services cleanup` diff --git a/pages/common/brew-uninstall.md b/pages/common/brew-uninstall.md new file mode 100644 index 00000000000000..e2f5b74fa4d782 --- /dev/null +++ b/pages/common/brew-uninstall.md @@ -0,0 +1,13 @@ +# brew uninstall + +> Uninstall a Homebrew formula/cask. +> Use `brew autoremove` to remove unused dependencies afterwards. +> More information: . + +- Uninstall a formula/cask: + +`brew {{[rm|uninstall]}} {{formula|cask}}` + +- Uninstall a cask and remove all associated files: + +`brew {{[rm|uninstall]}} --zap {{cask}}` diff --git a/pages/common/brew-update.md b/pages/common/brew-update.md new file mode 100644 index 00000000000000..900cabbeb2518b --- /dev/null +++ b/pages/common/brew-update.md @@ -0,0 +1,9 @@ +# brew update + +> Fetch the newest version of Homebrew and all formulae from GitHub using `git` and perform any necessary migrations. +> To upgrade all installed formulae, use `brew upgrade`. +> More information: . + +- Fetch the newest version of Homebrew and all formulae: + +`brew {{[up|update]}}` diff --git a/pages/common/brew-upgrade.md b/pages/common/brew-upgrade.md new file mode 100644 index 00000000000000..b39599bad851da --- /dev/null +++ b/pages/common/brew-upgrade.md @@ -0,0 +1,16 @@ +# brew upgrade + +> Upgrade outdated formulae and casks. +> More information: . + +- Upgrade all outdated casks and formulae: + +`brew upgrade` + +- Upgrade a specific formula/cask: + +`brew upgrade {{formula|cask}}` + +- Print what would be upgraded, but don't actually upgrade anything: + +`brew upgrade {{[-n|--dry-run]}}` diff --git a/pages/common/brew.md b/pages/common/brew.md new file mode 100644 index 00000000000000..795c0fe81cecf4 --- /dev/null +++ b/pages/common/brew.md @@ -0,0 +1,37 @@ +# brew + +> Homebrew - a package manager for macOS and Linux. +> Some subcommands such as `install` have their own usage documentation. +> More information: . + +- Install the latest stable version of a formula or cask: + +`brew install {{formula|cask}}` + +- List all installed formulae and casks: + +`brew list` + +- Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded): + +`brew upgrade {{formula|cask}}` + +- Fetch the newest version of Homebrew and of all formulae and casks from the Homebrew source repository: + +`brew update` + +- Show formulae and casks that have a more recent version available: + +`brew outdated` + +- Search for available formulae (i.e. packages) and casks (i.e. native macOS `.app` packages): + +`brew search {{text}}` + +- Display information about a formula or a cask (version, installation path, dependencies, etc.): + +`brew info {{formula|cask}}` + +- Check the local Homebrew installation for potential problems: + +`brew doctor` diff --git a/pages/common/brittany.md b/pages/common/brittany.md new file mode 100644 index 00000000000000..ef7f952001020c --- /dev/null +++ b/pages/common/brittany.md @@ -0,0 +1,24 @@ +# brittany + +> Pretty-print Haskell source files. +> More information: . + +- Format a Haskell source file and print the result to `stdout`: + +`brittany {{path/to/file.hs}}` + +- Format all Haskell source files in the current directory in-place: + +`brittany --write-mode=inplace {{*.hs}}` + +- Check whether a Haskell source file needs changes and indicate the result through the programme's exit code: + +`brittany --check-mode {{path/to/file.hs}}` + +- Format a Haskell source file using the specified amount of spaces per indentation level and line length: + +`brittany --indent {{4}} --columns {{100}} {{path/to/file.hs}}` + +- Format a Haskell source file according to the style defined in the specified configuration file: + +`brittany --config-file {{path/to/config.yaml}} {{path/to/file.hs}}` diff --git a/pages/common/brotli.md b/pages/common/brotli.md index 7edada2bd534b9..307e41ddd667ff 100644 --- a/pages/common/brotli.md +++ b/pages/common/brotli.md @@ -1,24 +1,24 @@ -# Brotli +# brotli -> Compress/uncompress files with brotli compression. -> More information: . +> Compress/uncompress files with Brotli compression. +> More information: . - Compress a file, creating a compressed version next to the file: -`brotli {{file.ext}}` +`brotli {{path/to/file}}` - Decompress a file, creating an uncompressed version next to the file: -`brotli -d {{file.ext}}.br` +`brotli {{[-d|--decompress]}} {{path/to/file.br}}` - Compress a file specifying the output filename: -`brotli {{file.ext}} -o {{compressed_file.ext.br}}` +`brotli {{path/to/file}} {{[-o|--output]}} {{path/to/compressed_output_file.br}}` -- Decompress a brotli file specifying the output filename: +- Decompress a Brotli file specifying the output filename: -`brotli -d {{compressed_file.ext.br}} -o {{file.ext}}` +`brotli {{[-d|--decompress]}} {{path/to/compressed_file.br}} {{[-o|--output]}} {{path/to/output_file}}` -- Specify the compression level. 1=Fastest (Worst), 11=Slowest (Best): +- Specify the compression quality (1=fastest (worst), 11=slowest (best)): -`brotli -q {{11}} {{file.ext}} -o {{compressed_file.ext.br}}` +`brotli {{[-q|--quality]}} {{11}} {{path/to/file}} {{[-o|--output]}} {{path/to/compressed_output_file.br}}` diff --git a/pages/common/browser-sync.md b/pages/common/browser-sync.md index cd3bcff0499e63..3f470f4416e14a 100644 --- a/pages/common/browser-sync.md +++ b/pages/common/browser-sync.md @@ -1,13 +1,13 @@ # browser-sync -> Starts local web server that updates browser on file changes. +> A local web server that updates browser on file changes. > More information: . - Start a server from a specific directory: `browser-sync start --server {{path/to/directory}} --files {{path/to/directory}}` -- Start a server from local directory, watching all css files in some directory: +- Start a server from local directory, watching all CSS files in a directory: `browser-sync start --server --files '{{path/to/directory/*.css}}'` @@ -15,6 +15,6 @@ `browser-sync init` -- Start browser-sync from config file: +- Start Browsersync from configuration file: `browser-sync start --config {{config_file}}` diff --git a/pages/common/browsh.md b/pages/common/browsh.md new file mode 100644 index 00000000000000..2c356db7e4d725 --- /dev/null +++ b/pages/common/browsh.md @@ -0,0 +1,24 @@ +# browsh + +> View webpages on the terminal using a Firefox backend. +> More information: . + +- Start browsh: + +`browsh` + +- Start browsh in a specific webpage: + +`browsh --startup-url {{URL}}` + +- Focus URL bar: + +`` + +- Exit browsh: + +`` + +- Display help: + +`browsh {{[-h|--help]}}` diff --git a/pages/common/bru.md b/pages/common/bru.md new file mode 100644 index 00000000000000..799fe5c1f4b554 --- /dev/null +++ b/pages/common/bru.md @@ -0,0 +1,28 @@ +# bru + +> CLI for Bruno, an Opensource IDE for exploring and testing APIs. +> More information: . + +- Run all request files from the current directory: + +`bru run` + +- Run a single request from the current directory by specifying its filename: + +`bru run {{file.bru}}` + +- Run requests using an environment: + +`bru run --env {{environment_name}}` + +- Run requests using an environment with a variable: + +`bru run --env {{environment_name}} --env-var {{variable_name}}={{variable_value}}` + +- Run request and collect the results in an output file: + +`bru run --output {{path/to/output.json}}` + +- Display help: + +`bru run --help` diff --git a/pages/common/brushtopbm.md b/pages/common/brushtopbm.md new file mode 100644 index 00000000000000..909fab31c9e2ea --- /dev/null +++ b/pages/common/brushtopbm.md @@ -0,0 +1,12 @@ +# brushtopbm + +> Convert a Xerox doodle brush file into a PBM image. +> More information: . + +- Generate a PBM file as output for a Xerox doodle brush file as input: + +`brushtopbm {{path/to/file.brush}}` + +- Display version: + +`brushtopbm {{[-v|-version]}}` diff --git a/pages/common/bshell.md b/pages/common/bshell.md new file mode 100644 index 00000000000000..f5c95f755f2868 --- /dev/null +++ b/pages/common/bshell.md @@ -0,0 +1,21 @@ +# bshell + +> A GUI for browsing for SSH/VNC servers on the local network. +> See also: `bssh`, `bvnc`. +> More information: . + +- Browse for both SSH and VNC servers: + +`bshell` + +- Browse for SSH servers only: + +`bshell --ssh` + +- Browse for VNC servers only: + +`bshell --vnc` + +- Browse for both SSH and VNC servers in a specified domain: + +`bshell --domain {{domain}}` diff --git a/pages/common/bssh.md b/pages/common/bssh.md new file mode 100644 index 00000000000000..d86af9abb3ef73 --- /dev/null +++ b/pages/common/bssh.md @@ -0,0 +1,21 @@ +# bssh + +> A GUI tool for browsing for SSH/VNC servers on the local network. +> See also: `bvnc`, `bshell`. +> More information: . + +- Browse for SSH servers: + +`bssh` + +- Browse for VNC servers: + +`bssh --vnc` + +- Browse for both SSH and VNC servers: + +`bssh --shell` + +- Browse for SSH servers in a specified domain: + +`bssh --domain {{domain}}` diff --git a/pages/common/btm.md b/pages/common/btm.md index 43d13b8faa604c..f5551efbc24bb6 100644 --- a/pages/common/btm.md +++ b/pages/common/btm.md @@ -1,20 +1,21 @@ # btm -> An alternative to `top`. -> Aims to be lightweight, cross-platform and more graphical than `top`. -> More information: . +> Display system information about the CPU, memory, disks, network and processes. +> An enhanced alternative to `top`. +> See also: `btop`, `glances`, `atop`, `htop`, `top`. +> More information: . -- Show the default layout (cpu, memory, temperatures, disk, network, and processes): +- Show the default layout (CPU, memory, temperatures, disk, network, and processes): `btm` - Enable basic mode, removing charts and condensing data (similar to `top`): -`btm --basic` +`btm {{[-b|--basic]}}` - Use big dots instead of small ones in charts: -`btm --dot_marker` +`btm {{[-m|--dot_marker]}}` - Show also battery charge and health status: @@ -22,4 +23,4 @@ - Refresh every 250 milliseconds and show the last 30 seconds in the charts: -`btm --rate 250 --default_time_value 30000` +`btm {{[-r|--rate]}} 250 {{[-t|--default_time_value]}} 30000` diff --git a/pages/common/btop.md b/pages/common/btop.md new file mode 100644 index 00000000000000..3721d3b8c1b2ae --- /dev/null +++ b/pages/common/btop.md @@ -0,0 +1,34 @@ +# btop + +> A resource monitor that shows information about the CPU, memory, disks, network and processes. +> A C++ version of `bpytop`. +> See also: `btm`, `glances`, `atop`, `htop`, `top`. +> More information: . + +- Start `btop`: + +`btop` + +- Start `btop` with the specified settings preset: + +`btop {{[-p|--preset]}} {{0..9}}` + +- Start `btop` in TTY mode using 16 colors and TTY-friendly graph symbols: + +`btop {{[-t|--tty]}}` + +- Start `btop` in 256-color mode instead of 24-bit color mode: + +`btop {{[-l|--low-color]}}` + +- Set the update rate to 500 milliseconds: + +`btop {{[-u|--update]}} 500` + +- Exit `btop`: + +`` + +- Display help: + +`btop {{[-h|--help]}}` diff --git a/pages/common/builtin.md b/pages/common/builtin.md new file mode 100644 index 00000000000000..b16e40eda4a385 --- /dev/null +++ b/pages/common/builtin.md @@ -0,0 +1,8 @@ +# builtin + +> Execute shell builtins. +> More information: . + +- Run a shell builtin: + +`builtin {{command}}` diff --git a/pages/common/buku.md b/pages/common/buku.md index 22f2eed2360413..75a55ee1482e57 100644 --- a/pages/common/buku.md +++ b/pages/common/buku.md @@ -1,24 +1,24 @@ # buku -> Command-line browser-independent bookmark manager. -> More information: . +> Browser-independent bookmark manager. +> More information: . - Display all bookmarks matching "keyword" and with "privacy" tag: -`buku {{keyword}} --stag {{privacy}}` +`buku {{keyword}} {{[-t|--stag]}} {{privacy}}` - Add bookmark with tags "search engine" and "privacy": -`buku --add {{https://example.com}} {{search engine}}, {{privacy}}` +`buku {{[-a|--add]}} {{https://example.com}} {{search engine}}, {{privacy}}` - Delete a bookmark: -`buku --delete {{bookmark_id}}` +`buku {{[-d|--delete]}} {{bookmark_id}}` - Open editor to edit a bookmark: -`buku --write {{bookmark_id}}` +`buku {{[-w|--write]}} {{bookmark_id}}` - Remove "search engine" tag from a bookmark: -`buku --update {{bookmark_id}} --tag {{-}} {{search engine}}` +`buku {{[-u|--update]}} {{bookmark_id}} --tag - {{search engine}}` diff --git a/pages/common/bun.md b/pages/common/bun.md new file mode 100644 index 00000000000000..405d02b7785c58 --- /dev/null +++ b/pages/common/bun.md @@ -0,0 +1,37 @@ +# bun + +> JavaScript runtime and toolkit. +> Includes a bundler, a test runner, and a package manager. +> More information: . + +- Run a JavaScript file or a `package.json` script: + +`bun run {{path/to/file|script_name}}` + +- Run unit tests: + +`bun test` + +- Download and install all the packages listed as dependencies in `package.json`: + +`bun install` + +- Add a dependency to `package.json`: + +`bun add {{module_name}}` + +- Remove a dependency from `package.json`: + +`bun remove {{module_name}}` + +- Create a new Bun project in the current directory: + +`bun init` + +- Start a REPL (interactive shell): + +`bun repl` + +- Upgrade Bun to the latest version: + +`bun upgrade` diff --git a/pages/common/bundle.md b/pages/common/bundle.md index 79203f725f1987..557f6a00815fb0 100644 --- a/pages/common/bundle.md +++ b/pages/common/bundle.md @@ -17,13 +17,13 @@ - Update one or more specific gem(s) defined in the `Gemfile`: -`bundle update {{gemname}} {{gemname}}` +`bundle update {{gem_name1}} {{gem_name2}}` - Update one or more specific gems(s) defined in the `Gemfile` but only to the next patch version: -`bundle update --patch {{gemname}} {{gemname}}` +`bundle update --patch {{gem_name1}} {{gem_name2}}` -- Update update all gems within the given group in the `Gemfile`: +- Update all gems within the given group in the `Gemfile`: `bundle update --group {{development}}` @@ -33,4 +33,4 @@ - Create a new gem skeleton: -`bundle gem {{gemname}}` +`bundle gem {{gem_name}}` diff --git a/pages/common/bundler.md b/pages/common/bundler.md new file mode 100644 index 00000000000000..1f31e0f611971a --- /dev/null +++ b/pages/common/bundler.md @@ -0,0 +1,9 @@ +# bundler + +> Dependency manager for the Ruby programming language. +> `bundler` is a common name for the command `bundle`, but not a command itself. +> More information: . + +- View documentation for the original command: + +`tldr bundle` diff --git a/pages/common/bundletool-dump.md b/pages/common/bundletool-dump.md new file mode 100644 index 00000000000000..4c331834f97596 --- /dev/null +++ b/pages/common/bundletool-dump.md @@ -0,0 +1,32 @@ +# bundletool dump + +> Manipulate Android Application Bundles. +> More information: . + +- Display the `AndroidManifest.xml` of the base module: + +`bundletool dump manifest --bundle {{path/to/bundle.aab}}` + +- Display a specific value from the `AndroidManifest.xml` using XPath: + +`bundletool dump manifest --bundle {{path/to/bundle.aab}} --xpath {{/manifest/@android:versionCode}}` + +- Display the `AndroidManifest.xml` of a specific module: + +`bundletool dump manifest --bundle {{path/to/bundle.aab}} --module {{name}}` + +- Display all the resources in the application bundle: + +`bundletool dump resources --bundle {{path/to/bundle.aab}}` + +- Display the configuration for a specific resource: + +`bundletool dump resources --bundle {{path/to/bundle.aab}} --resource {{type/name}}` + +- Display the configuration and values for a specific resource using the ID: + +`bundletool dump resources --bundle {{path/to/bundle.aab}} --resource {{0x7f0e013a}} --values` + +- Display the contents of the bundle configuration file: + +`bundletool dump config --bundle {{path/to/bundle.aab}}` diff --git a/pages/common/bundletool-validate.md b/pages/common/bundletool-validate.md new file mode 100644 index 00000000000000..52e7e7d09a66bf --- /dev/null +++ b/pages/common/bundletool-validate.md @@ -0,0 +1,8 @@ +# bundletool validate + +> Manipulate Android Application Bundles. +> More information: . + +- Verify a bundle and display detailed information about it: + +`bundletool validate --bundle {{path/to/bundle.aab}}` diff --git a/pages/common/bundletool.md b/pages/common/bundletool.md new file mode 100644 index 00000000000000..cddb1cfd9dc646 --- /dev/null +++ b/pages/common/bundletool.md @@ -0,0 +1,37 @@ +# bundletool + +> Manipulate Android Application Bundles. +> Some subcommands such as `validate` have their own usage documentation. +> More information: . + +- Display help for a subcommand: + +`bundletool help {{subcommand}}` + +- Generate APKs from an application bundle (prompts for keystore password): + +`bundletool build-apks --bundle {{path/to/bundle.aab}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} --output {{path/to/file.apks}}` + +- Generate APKs from an application bundle giving the keystore password: + +`bundletool build-apks --bundle {{path/to/bundle.aab}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} --ks-pass {{pass:the_password}} --output {{path/to/file.apks}}` + +- Generate APKs including only one single APK for universal usage: + +`bundletool build-apks --bundle {{path/to/bundle.aab}} --mode {{universal}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} --output {{path/to/file.apks}}` + +- Install the right combination of APKs to an emulator or device: + +`bundletool install-apks --apks {{path/to/file.apks}}` + +- Estimate the download size of an application: + +`bundletool get-size total --apks {{path/to/file.apks}}` + +- Generate a device specification JSON file for an emulator or device: + +`bundletool get-device-spec --output {{path/to/file.json}}` + +- Verify a bundle and display detailed information about it: + +`bundletool validate --bundle {{path/to/bundle.aab}}` diff --git a/pages/common/bunzip2.md b/pages/common/bunzip2.md new file mode 100644 index 00000000000000..aeee683ae375fd --- /dev/null +++ b/pages/common/bunzip2.md @@ -0,0 +1,7 @@ +# bunzip2 + +> This command is an alias of `bzip2 --decompress`. + +- View documentation for the original command: + +`tldr bzip2` diff --git a/pages/common/bup.md b/pages/common/bup.md index 0505e76674547f..49fa624e8f6a4d 100644 --- a/pages/common/bup.md +++ b/pages/common/bup.md @@ -1,24 +1,24 @@ # bup > Backup system based on the Git packfile format, providing incremental saves and global deduplication. -> More information: . +> More information: . -- Initialize a backup repository in the specified local directory: +- Initialize a backup repository in a given local directory: -`bup -d {{path/to/repository}} init` +`bup {{[-d|--bup-dir]}} {{path/to/repository}} init` - Prepare a given directory before taking a backup: -`bup -d {{path/to/repository}} index {{path/to/directory}}` +`bup {{[-d|--bup-dir]}} {{path/to/repository}} index {{path/to/directory}}` -- Backup a directory to the repository: +- Backup a directory to the repository specifying its name: -`bup -d {{path/to/repository}} save -n {{backup_name}} {{path/to/directory}}` +`bup {{[-d|--bup-dir]}} {{path/to/repository}} save {{[-n|--name]}} {{backup_name}} {{path/to/directory}}` - Show the backup snapshots currently stored in the repository: -`bup -d {{path/to/repository}} ls` +`bup {{[-d|--bup-dir]}} {{path/to/repository}} ls` - Restore a specific backup snapshot to a target directory: -`bup -d {{path/to/repository}} restore -C {{path/to/target_directory}} {{backup_name}}` +`bup {{[-d|--bup-dir]}} {{path/to/repository}} restore {{[-C|--outdir]}} {{path/to/target_directory}} {{backup_name}}` diff --git a/pages/common/busybox.md b/pages/common/busybox.md new file mode 100644 index 00000000000000..1caaa90f56c121 --- /dev/null +++ b/pages/common/busybox.md @@ -0,0 +1,14 @@ +# busybox + +> A collection of small system utilities in a single executable. +> Executing `busybox` via a symlink is equivalent to running `busybox symlink_name`. +> Linux distributions that use BusyBox will usually provide symlinks for all programs. +> More information: . + +- Execute a BusyBox function: + +`busybox {{ls|rm|mkdir|cat|...}} {{args}}` + +- Display help and a list of functions: + +`busybox --help` diff --git a/pages/common/buzzphrase.md b/pages/common/buzzphrase.md index fe570b62cfb27d..1ccca4654b77ed 100644 --- a/pages/common/buzzphrase.md +++ b/pages/common/buzzphrase.md @@ -1,16 +1,16 @@ # buzzphrase -> Node.js command line tool to output a random buzzphrase. +> Output a random buzzphrase. Written in Node.js. > More information: . - Generate a string of three random phrases containing an adjective, a past tense verb and a plural noun: `buzzphrase` -- Output a phrase formatted as [i]mperative verb + past tense [v]erb + [a]djective + plural [N]oun: +- Print a phrase formatted as [i]mperative verb + past tense [v]erb + [a]djective + plural [N]oun: `buzzphrase {{'{i} {v} {a} {N}'}}` -- Output 4 phrases formatted as present participle [V]erb + [a]djective + singular [n]oun + [f]inal: +- Print `k` phrases formatted as present participle [V]erb + [a]djective + singular [n]oun + [f]inal: -`buzzphrase {{4 '{V} {a} {n} {f}'}}` +`buzzphrase {{k}} {{'{V} {a} {n} {f}'}}` diff --git a/pages/common/bvnc.md b/pages/common/bvnc.md new file mode 100644 index 00000000000000..582ebe783dc658 --- /dev/null +++ b/pages/common/bvnc.md @@ -0,0 +1,21 @@ +# bvnc + +> A GUI tool for browsing for SSH/VNC servers on the local network. +> See also: `bssh`, `bshell`. +> More information: . + +- Browse for VNC servers: + +`bvnc` + +- Browse for SSH servers: + +`bvnc --ssh` + +- Browse for both VNC and SSH servers: + +`bvnc --shell` + +- Browse for VNC servers in a specified domain: + +`bvnc --domain {{domain}}` diff --git a/pages/common/bw.md b/pages/common/bw.md index cab376d30afe38..d4c1f0213b39fe 100644 --- a/pages/common/bw.md +++ b/pages/common/bw.md @@ -1,6 +1,6 @@ # bw -> A CLI to access and manage a Bitwarden vault. +> Access and manage a Bitwarden vault. > More information: . - Log in to a Bitwarden user account: diff --git a/pages/common/byobu.md b/pages/common/byobu.md new file mode 100644 index 00000000000000..8a7859874b464f --- /dev/null +++ b/pages/common/byobu.md @@ -0,0 +1,33 @@ +# byobu + +> Window manager and terminal multiplexer. +> See also: `tmux`, `screen`. +> More information: . + +- Start a new session: + +`byobu` + +- Configuration and help: + +`byobu-config` + +- Select tmux (default) or screen backend: + +`byobu-select-backend` + +- Enable automatic startup after login into text console: + +`byobu-enable` + +- Disable automatic startup after login into text console: + +`byobu-disable` + +- Detach from `byobu`: + +`` + +- Kill a window: + +`` diff --git a/pages/common/bzcat.md b/pages/common/bzcat.md new file mode 100644 index 00000000000000..f0c00502a786ca --- /dev/null +++ b/pages/common/bzcat.md @@ -0,0 +1,7 @@ +# bzcat + +> This command is an alias of `bzip2 --decompress --stdout`. + +- View documentation for the original command: + +`tldr bzip2` diff --git a/pages/common/bzegrep.md b/pages/common/bzegrep.md new file mode 100644 index 00000000000000..3fb9260b9aac40 --- /dev/null +++ b/pages/common/bzegrep.md @@ -0,0 +1,28 @@ +# bzegrep + +> Find extended `regex` patterns in `bzip2` compressed files using `egrep`. +> More information: . + +- Search for extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-sensitive): + +`bzegrep "{{search_pattern}}" {{path/to/file}}` + +- Search for extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-insensitive): + +`bzegrep {{[-i|--ignore-case]}} "{{search_pattern}}" {{path/to/file}}` + +- Search for lines that do not match a pattern: + +`bzegrep {{[-v|--invert-match]}} "{{search_pattern}}" {{path/to/file}}` + +- Print file name and line number for each match: + +`bzegrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file}}` + +- Search for lines matching a pattern, printing only the matched text: + +`bzegrep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` + +- Recursively search files in a bzip2 compressed tar archive for a pattern: + +`bzegrep {{[-r|--recursive]}} "{{search_pattern}}" {{path/to/file}}` diff --git a/pages/common/bzfgrep.md b/pages/common/bzfgrep.md new file mode 100644 index 00000000000000..a258a16a7fb83f --- /dev/null +++ b/pages/common/bzfgrep.md @@ -0,0 +1,28 @@ +# bzfgrep + +> Find any fixed strings separated by new lines in `bzip2` compressed files using `fgrep`. +> More information: . + +- Search for lines matching the list of search strings separated by new lines in a compressed file (case-sensitive): + +`bzfgrep "{{search_string}}" {{path/to/file}}` + +- Search for lines matching the list of search strings separated by new lines in a compressed file (case-insensitive): + +`bzfgrep {{[-i|--ignore-case]}} "{{search_string}}" {{path/to/file}}` + +- Search for lines that do not match the list of search strings separated by new lines in a compressed file: + +`bzfgrep {{[-v|--invert-match]}} "{{search_string}}" {{path/to/file}}` + +- Print file name and line number for each match: + +`bzfgrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_string}}" {{path/to/file}}` + +- Search for lines matching a pattern, printing only the matched text: + +`bzfgrep {{[-o|--only-matching]}} "{{search_string}}" {{path/to/file}}` + +- Recursively search files in a bzip2 compressed tar archive for the given list of strings: + +`bzfgrep {{[-r|--recursive]}} "{{search_string}}" {{path/to/file}}` diff --git a/pages/common/bzgrep.md b/pages/common/bzgrep.md new file mode 100644 index 00000000000000..5da1ef450a941d --- /dev/null +++ b/pages/common/bzgrep.md @@ -0,0 +1,32 @@ +# bzgrep + +> Find patterns in `bzip2` compressed files using `grep`. +> More information: . + +- Search for a pattern within a compressed file: + +`bzgrep "{{search_pattern}}" {{path/to/file}}` + +- Use extended `regex` (supports `?`, `+`, `{}`, `()` and `|`), in case-insensitive mode: + +`bzgrep {{[-E|--extended-regexp]}} {{[-i|--ignore-case]}} "{{search_pattern}}" {{path/to/file}}` + +- Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match: + +`bzgrep --{{context|before-context|after-context}} {{3}} "{{search_pattern}}" {{path/to/file}}` + +- Print file name and line number for each match: + +`bzgrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file}}` + +- Search for lines matching a pattern, printing only the matched text: + +`bzgrep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` + +- Recursively search files in a bzip2 compressed tar archive for a pattern: + +`bzgrep {{[-r|--recursive]}} "{{search_pattern}}" {{path/to/tar/file}}` + +- Search `stdin` for lines that do not match a pattern: + +`cat {{path/to/bz/compressed/file}} | bzgrep {{[-v|--invert-match]}} "{{search_pattern}}"` diff --git a/pages/common/bzip2.md b/pages/common/bzip2.md index cd07a3c72da439..c2b594ba7365c3 100644 --- a/pages/common/bzip2.md +++ b/pages/common/bzip2.md @@ -1,7 +1,8 @@ # bzip2 > A block-sorting file compressor. -> More information: . +> See also: `bzcat`, `bunzip2`, `bzip2recover`. +> More information: . - Compress a file: @@ -9,8 +10,24 @@ - Decompress a file: -`bzip2 -d {{path/to/compressed_file.bz2}}` +`bzip2 {{[-d|--decompress]}} {{path/to/compressed_file.bz2}}` -- Decompress a file to standard output: +- Decompress a file to `stdout`: -`bzip2 -dc {{path/to/compressed_file.bz2}}` +`bzip2 {{[-dc|--decompress --stdout]}} {{path/to/compressed_file.bz2}}` + +- Test the integrity of each file inside the archive file: + +`bzip2 {{[-t|--test]}} {{path/to/compressed_file.bz2}}` + +- Show the compression ratio for each file processed with detailed information: + +`bzip2 {{[-v|--verbose]}} {{path/to/compressed_files.bz2}}` + +- Decompress a file overwriting existing files: + +`bzip2 {{[-f|--force]}} {{path/to/compressed_file.bz2}}` + +- Display help: + +`bzip2 {{[-h|--help]}}` diff --git a/pages/common/bzip2recover.md b/pages/common/bzip2recover.md new file mode 100644 index 00000000000000..c6079ae02a4d3f --- /dev/null +++ b/pages/common/bzip2recover.md @@ -0,0 +1,9 @@ +# bzip2recover + +> Attempt to recover data from a damaged `.bz2` file. +> See also: `bzip2`. +> More information: . + +- Recover all intact blocks from a damaged `.bz2` file: + +`bzip2recover {{damaged_file.bz2}}` diff --git a/pages/common/bzip3.md b/pages/common/bzip3.md new file mode 100644 index 00000000000000..c435ab2c1caa2a --- /dev/null +++ b/pages/common/bzip3.md @@ -0,0 +1,32 @@ +# bzip3 + +> An efficient statistical file compressor. +> More information: . + +- Compress a file: + +`bzip3 {{path/to/file_to_compress}}` + +- Decompress a file: + +`bzip3 {{[-d|--decode]}} {{path/to/compressed_file.bz3}}` + +- Decompress a file to `stdout`: + +`bzip3 {{[-dc|--decode --stdout]}} {{path/to/compressed_file.bz3}}` + +- Test the integrity of each file inside the archive file: + +`bzip3 {{[-t|--test]}} {{path/to/compressed_file.bz3}}` + +- Show the compression ratio for each file processed with detailed information: + +`bzip3 {{[-v|--verbose]}} {{path/to/compressed_files.bz3}}` + +- Decompress a file overwriting existing files: + +`bzip3 {{[-d|--decode]}} {{[-f|--force]}} {{path/to/compressed_file.bz3}}` + +- Display help: + +`bzip3 {{[-h|--help]}}` diff --git a/pages/common/c99.md b/pages/common/c99.md index 8108939ad84193..86d8c444442a24 100644 --- a/pages/common/c99.md +++ b/pages/common/c99.md @@ -1,12 +1,13 @@ # c99 -> Compiles C programs according to the ISO C standard. +> Compile C programs according to the ISO C standard. +> More information: . - Compile source file(s) and create an executable: `c99 {{file.c}}` -- Compile source file(s) and create an executable with a custom name: +- Compile source file(s) and specify the executable [o]utput filename: `c99 -o {{executable_name}} {{file.c}}` diff --git a/pages/common/cabal.md b/pages/common/cabal.md index cdce2c21489a47..2ef0978f820797 100644 --- a/pages/common/cabal.md +++ b/pages/common/cabal.md @@ -1,8 +1,8 @@ # cabal -> Command line interface to the Haskell package infrastructure (Cabal). +> Interface to the Haskell package infrastructure (Cabal). > Manage Haskell projects and Cabal packages from the Hackage package repository. -> More information: . +> More information: . - Search and list packages from Hackage: @@ -10,11 +10,11 @@ - Show information about a package: -`cabal info {{package_name}}` +`cabal info {{package}}` - Download and install a package: -`cabal install {{package_name}}` +`cabal install {{package}}` - Create a new Haskell project in the current directory: diff --git a/pages/common/cadaver.md b/pages/common/cadaver.md new file mode 100644 index 00000000000000..62da170f7e2002 --- /dev/null +++ b/pages/common/cadaver.md @@ -0,0 +1,16 @@ +# cadaver + +> WebDAV client for Unix. +> More information: . + +- Connect to the server , open the root collection: + +`cadaver {{http://dav.example.com/}}` + +- Connect to a server using a specific port and open the collection `/foo/bar/`: + +`cadaver {{http://dav.example.com:8022/foo/bar/}}` + +- Connect to a server using SSL: + +`cadaver {{https://davs.example.com/}}` diff --git a/pages/common/caddy.md b/pages/common/caddy.md new file mode 100644 index 00000000000000..0298dd943883f1 --- /dev/null +++ b/pages/common/caddy.md @@ -0,0 +1,28 @@ +# caddy + +> An enterprise-ready open source web server with automatic HTTPS, written in Go. +> More information: . + +- Start Caddy in the foreground: + +`caddy run` + +- Start Caddy with the specified Caddyfile: + +`caddy run --config {{path/to/Caddyfile}}` + +- Start Caddy in the background: + +`caddy start` + +- Stop a background Caddy process: + +`caddy stop` + +- Run a simple file server on the specified port with a browsable interface: + +`caddy file-server --listen :{{8000}} --browse` + +- Run a reverse proxy server: + +`caddy reverse-proxy --from :{{80}} --to localhost:{{8000}}` diff --git a/pages/common/cake.md b/pages/common/cake.md index e135c993845a3c..63311f2588d888 100644 --- a/pages/common/cake.md +++ b/pages/common/cake.md @@ -1,13 +1,13 @@ # cake -> The command line processor for the CakePHP framework. +> The processor for the CakePHP framework. > More information: . - Display basic information about the current app and available commands: `cake` -- Display a list of available routes: +- List available routes: `cake routes` @@ -31,6 +31,6 @@ `cake server` -- Start a REPL interactive shell instance: +- Start a REPL (interactive shell): `cake console` diff --git a/pages/common/cal.md b/pages/common/cal.md new file mode 100644 index 00000000000000..6bcf8e45bf31b8 --- /dev/null +++ b/pages/common/cal.md @@ -0,0 +1,17 @@ +# cal + +> Display a calendar with the current day highlighted. +> See also: `gcal`. +> More information: . + +- Display a calendar for the current month: + +`cal` + +- Display a calendar for a specific year: + +`cal {{year}}` + +- Display a calendar for a specific month and year: + +`cal {{month}} {{year}}` diff --git a/pages/common/calc.md b/pages/common/calc.md new file mode 100644 index 00000000000000..7d7c9636d22b28 --- /dev/null +++ b/pages/common/calc.md @@ -0,0 +1,36 @@ +# calc + +> An interactive arbitrary-precision calculator in the terminal. +> More information: . + +- Start `calc` in interactive mode: + +`calc` + +- Perform a calculation in non-interactive mode: + +`calc '{{85 * (36 / 4)}}'` + +- Don't format the output (for use with [p]ipes): + +`calc -p '{{4/3 * pi() * 5^3}}'` + +- Perform a calculation and then switch to [i]nteractive mode: + +`calc -i '{{sqrt(2)}}'` + +- Start `calc` in a specific permission [m]ode (0 to 7, defaults to 7): + +`calc -m {{mode}}` + +- View an introduction to `calc`: + +`calc help intro` + +- View an overview of `calc`: + +`calc help overview` + +- Open the `calc` manual: + +`calc help` diff --git a/pages/common/calendar.md b/pages/common/calendar.md index d4b0e9cc24d03e..82a11ecb9cf517 100644 --- a/pages/common/calendar.md +++ b/pages/common/calendar.md @@ -1,6 +1,7 @@ # calendar > Display upcoming events from a calendar file. +> More information: . - Show events for today and tomorrow (or the weekend on Friday) from the default calendar: diff --git a/pages/common/calibre-server.md b/pages/common/calibre-server.md index 6fa458927aad7a..4f5a007623db0b 100644 --- a/pages/common/calibre-server.md +++ b/pages/common/calibre-server.md @@ -1,15 +1,15 @@ # calibre-server -> A server application that can be used to distribute ebooks over a network. -> Ebooks must be imported into the library using the GUI or calibredb before. -> Part of the Calibre ebook library. +> A server application to distribute e-books over a network. +> Note: E-books must already be imported into the library using the GUI or the `calibredb` CLI. +> Part of the Calibre e-book library. > More information: . -- Start a server to distribute ebooks. Access at http://localhost:8080: +- Start a server to distribute e-books. Access at : `calibre-server` -- Start server on different port. Access at http://localhost:port: +- Start server on different port. Access at : `calibre-server --port {{port}}` diff --git a/pages/common/calibredb.md b/pages/common/calibredb.md index 5528a65542443b..afbe241c9abd9e 100644 --- a/pages/common/calibredb.md +++ b/pages/common/calibredb.md @@ -1,29 +1,29 @@ # calibredb -> Tool to manipulate the your ebook database. -> Part of the Calibre ebook library. +> Manipulate an e-book database. +> Part of the Calibre e-book library. > More information: . -- List ebooks in the library with additional information: +- List e-books in the library with additional information: `calibredb list` -- Search for ebooks displaying additional information: +- Search for e-books displaying additional information: `calibredb list --search {{search_term}}` -- Search for just ids of ebooks: +- Search for just ids of e-books: `calibredb search {{search_term}}` -- Add one or more ebooks to the library: +- Add one or more e-books to the library: -`calibredb add {{file1 file2 …}}` +`calibredb add {{path/to/file1 path/to/file2 ...}}` -- Recursively add all ebooks under a directory to the library: +- Recursively add all e-books under a directory to the library: -`calibredb add -r {{path/to/directory}}` +`calibredb add {{[-r|--recurse]}} {{path/to/directory}}` -- Remove one or more ebooks from the library. You need ebook-ids (see above): +- Remove one or more e-books from the library. You need the e-book IDs (see above): -`calibredb remove {{id1 id2 …}}` +`calibredb remove {{id1 id2 ...}}` diff --git a/pages/common/caller.md b/pages/common/caller.md new file mode 100644 index 00000000000000..15936eee9f10f8 --- /dev/null +++ b/pages/common/caller.md @@ -0,0 +1,16 @@ +# caller + +> Print function context. +> More information: . + +- Print the line and filename where the current function was called: + +`caller` + +- Print the line, function and filename where the current function was called: + +`caller 0` + +- Print the line, the function name and the filename of a function call `n` frames back: + +`caller {{n}}` diff --git a/pages/common/calligraflow.md b/pages/common/calligraflow.md new file mode 100644 index 00000000000000..8acfeed5d1f413 --- /dev/null +++ b/pages/common/calligraflow.md @@ -0,0 +1,17 @@ +# calligraflow + +> Calligra's flowchart and diagram application. +> See also: `calligrastage`, `calligrawords`, `calligrasheets`. +> More information: . + +- Launch the flowchart and diagram application: + +`calligraflow` + +- Open a specific file: + +`calligraflow {{path/to/file}}` + +- Display help or version: + +`calligraflow --{{help|version}}` diff --git a/pages/common/calligrasheets.md b/pages/common/calligrasheets.md new file mode 100644 index 00000000000000..52ca7b795ba135 --- /dev/null +++ b/pages/common/calligrasheets.md @@ -0,0 +1,17 @@ +# calligrasheets + +> Calligra's spreadsheet application. +> See also: `calligraflow`, `calligrastage`, `calligrawords`. +> More information: . + +- Launch the spreadsheet application: + +`calligrasheets` + +- Open a specific spreadsheet: + +`calligrasheets {{path/to/spreadsheet}}` + +- Display help or version: + +`calligrasheets --{{help|version}}` diff --git a/pages/common/calligrastage.md b/pages/common/calligrastage.md new file mode 100644 index 00000000000000..caf8007d47f4bd --- /dev/null +++ b/pages/common/calligrastage.md @@ -0,0 +1,17 @@ +# calligrastage + +> Calligra's presentation application. +> See also: `calligraflow`, `calligrawords`, `calligrasheets`. +> More information: . + +- Launch the presentation application: + +`calligrastage` + +- Open a specific presentation: + +`calligrastage {{path/to/presentation}}` + +- Display help or version: + +`calligrastage --{{help|version}}` diff --git a/pages/common/calligrawords.md b/pages/common/calligrawords.md new file mode 100644 index 00000000000000..36c7339c0f1b9c --- /dev/null +++ b/pages/common/calligrawords.md @@ -0,0 +1,17 @@ +# calligrawords + +> Calligra's word processor application. +> See also: `calligraflow`, `calligrastage`, `calligrasheets`. +> More information: . + +- Launch the word processor application: + +`calligrawords` + +- Open a specific document: + +`calligrawords {{path/to/document}}` + +- Display help or version: + +`calligrawords --{{help|version}}` diff --git a/pages/common/cancel.md b/pages/common/cancel.md new file mode 100644 index 00000000000000..4aa277198d158d --- /dev/null +++ b/pages/common/cancel.md @@ -0,0 +1,33 @@ +# cancel + +> Cancel print jobs. +> See also: `lp`, `lpmove`, `lpstat`. +> More information: . + +- Cancel the current job of the default printer (set with `lpoptions -d printer_name`): + +`cancel` + +- Cancel the jobs of the default printer owned by a specific [u]ser: + +`cancel -u {{username}}` + +- Cancel the current job of a specific printer: + +`cancel {{printer}}` + +- Cancel a specific job from a specific printer: + +`cancel {{printer}}-{{job_id}}` + +- Cancel [a]ll jobs of all printers: + +`cancel -a` + +- Cancel [a]ll jobs of a specific printer: + +`cancel -a {{printer}}` + +- Cancel the current job of a specific server and then delete ([x]) job data files: + +`cancel -h {{server}} -x` diff --git a/pages/common/carbon-now.md b/pages/common/carbon-now.md index a275e65b48939b..583a184155efe0 100644 --- a/pages/common/carbon-now.md +++ b/pages/common/carbon-now.md @@ -5,32 +5,32 @@ - Create an image from a file using default settings: -`carbon-now {{file}}` +`carbon-now {{path/to/file}}` - Create an image from a text in clipboard using default settings: `carbon-now --from-clipboard` -- Create an image from standard input using default settings: +- Create an image from `stdin` using default settings and copy to the clipboard: -`{{input}} | carbon-now` +`{{input}} | carbon-now --to-clipboard` - Create images interactively for custom settings and optionally save a preset: -`carbon-now -i {{file}}` +`carbon-now {{[-i|--interactive]}} {{path/to/file}}` -- Create images from previously saved preset: +- Create images from a previously saved preset: -`carbon-now -p {{preset}} {{file}}` +`carbon-now {{[-p|--preset]}} {{preset}} {{path/to/file}}` - Start at a specified line of text: -`carbon-now -s {{line}} {{file}}` +`carbon-now {{[-s|--start]}} {{line}} {{path/to/file}}` - End at a specific line of text: -`carbon-now -e {{line}} {{file}}` +`carbon-now {{[-e|--end]}} {{line}} {{path/to/file}}` - Open image in a browser instead of saving: -`carbon-now --open {{file}}` +`carbon-now --open {{path/to/file}}` diff --git a/pages/common/carbonyl.md b/pages/common/carbonyl.md new file mode 100644 index 00000000000000..17370d4cc34789 --- /dev/null +++ b/pages/common/carbonyl.md @@ -0,0 +1,20 @@ +# carbonyl + +> View webpages on the terminal using a Chromium backend. +> More information: . + +- Open an `about:blank` page: + +`carbonyl` + +- Open a webpage: + +`carbonyl {{https://example.com}}` + +- Exit carbonyl: + +`` + +- Display help: + +`carbonyl {{[-h|--help]}}` diff --git a/pages/common/cargo-add.md b/pages/common/cargo-add.md new file mode 100644 index 00000000000000..0bce2b8188d571 --- /dev/null +++ b/pages/common/cargo-add.md @@ -0,0 +1,32 @@ +# cargo add + +> Add dependencies to a Rust project's `Cargo.toml` manifest. +> More information: . + +- Add the latest version of a dependency to the current project: + +`cargo add {{dependency}}` + +- Add a specific version of a dependency: + +`cargo add {{dependency}}@{{version}}` + +- Add a dependency and enable one or more specific features: + +`cargo add {{dependency}} {{[-F|--features]}} {{feature_1}},{{feature_2}}` + +- Add an optional dependency, which then gets exposed as a feature of the crate: + +`cargo add {{dependency}} --optional` + +- Add a local crate as a dependency: + +`cargo add --path {{path/to/crate_directory}}` + +- Add a development or build dependency: + +`cargo add {{dependency}} --{{dev|build}}` + +- Add a dependency with all default features disabled: + +`cargo add {{dependency}} --no-default-features` diff --git a/pages/common/cargo-bench.md b/pages/common/cargo-bench.md new file mode 100644 index 00000000000000..50f8cb7fe6f609 --- /dev/null +++ b/pages/common/cargo-bench.md @@ -0,0 +1,36 @@ +# cargo bench + +> Compile and execute benchmarks. +> More information: . + +- Execute all benchmarks of a package: + +`cargo bench` + +- Don't stop when a benchmark fails: + +`cargo bench --no-fail-fast` + +- Compile, but don't run benchmarks: + +`cargo bench --no-run` + +- Benchmark the specified benchmark: + +`cargo bench --bench {{benchmark}}` + +- Benchmark with the given profile (default: `bench`): + +`cargo bench --profile {{profile}}` + +- Benchmark all example targets: + +`cargo bench --examples` + +- Benchmark all binary targets: + +`cargo bench --bins` + +- Benchmark the package's library: + +`cargo bench --lib` diff --git a/pages/common/cargo-binstall.md b/pages/common/cargo-binstall.md new file mode 100644 index 00000000000000..19c5f84921e11a --- /dev/null +++ b/pages/common/cargo-binstall.md @@ -0,0 +1,17 @@ +# cargo binstall + +> Install Rust binaries from CI artifacts. +> Falls back to `cargo install` (from source code) if there are no binaries available. +> More information: . + +- Install a package from : + +`cargo binstall {{package}}` + +- Install a specific version of a package (latest by default): + +`cargo binstall {{package}}@{{version}}` + +- Install a package and disable confirmation prompts: + +`cargo binstall {{[-y|--no-confirm]}} {{package}}` diff --git a/pages/common/cargo-build.md b/pages/common/cargo-build.md index b1f65a09c31f13..89722c3d440385 100644 --- a/pages/common/cargo-build.md +++ b/pages/common/cargo-build.md @@ -5,28 +5,28 @@ - Build the package or packages defined by the `Cargo.toml` manifest file in the local path: -`cargo build` +`cargo {{[b|build]}}` - Build artifacts in release mode, with optimizations: -`cargo build --release` +`cargo {{[b|build]}} {{[-r|--release]}}` - Require that `Cargo.lock` is up to date: -`cargo build --locked` +`cargo {{[b|build]}} --locked` - Build all packages in the workspace: -`cargo build --workspace` +`cargo {{[b|build]}} --workspace` - Build a specific package: -`cargo build --package {{package}}` +`cargo {{[b|build]}} {{[-p|--package]}} {{package}}` - Build only the specified binary: -`cargo build --bin {{name}}` +`cargo {{[b|build]}} --bin {{name}}` - Build only the specified test target: -`cargo build --test {{testname}}` +`cargo {{[b|build]}} --test {{test_name}}` diff --git a/pages/common/cargo-check.md b/pages/common/cargo-check.md new file mode 100644 index 00000000000000..d12d00c4696b27 --- /dev/null +++ b/pages/common/cargo-check.md @@ -0,0 +1,24 @@ +# cargo check + +> Check a local package and all of its dependencies for errors. +> More information: . + +- Check the current package: + +`cargo {{[c|check]}}` + +- Check all tests: + +`cargo {{[c|check]}} --tests` + +- Check the integration tests in `tests/integration_test1.rs`: + +`cargo {{[c|check]}} --test {{integration_test1}}` + +- Check the current package with the features `feature1` and `feature2`: + +`cargo {{[c|check]}} {{[-F|--features]}} {{feature1,feature2}}` + +- Check the current package with default features disabled: + +`cargo {{[c|check]}} --no-default-features` diff --git a/pages/common/cargo-clean.md b/pages/common/cargo-clean.md new file mode 100644 index 00000000000000..6b8af25fe4010c --- /dev/null +++ b/pages/common/cargo-clean.md @@ -0,0 +1,20 @@ +# cargo clean + +> Remove generated artifacts in the `target` directory. +> More information: . + +- Remove the entire `target` directory: + +`cargo clean` + +- Remove documentation artifacts (the `target/doc` directory): + +`cargo clean --doc` + +- Remove release artifacts (the `target/release` directory): + +`cargo clean {{[-r|--release]}}` + +- Remove artifacts in the directory of the given profile (in this case, `target/debug`): + +`cargo clean --profile {{dev}}` diff --git a/pages/common/cargo-clippy.md b/pages/common/cargo-clippy.md index c37b0f6a9070f4..13948b8997bdf8 100644 --- a/pages/common/cargo-clippy.md +++ b/pages/common/cargo-clippy.md @@ -19,14 +19,18 @@ `cargo clippy --package {{package}}` +- Run checks for a lint group (see ): + +`cargo clippy -- {{[-W|--warn]}} clippy::{{lint_group}}` + - Treat warnings as errors: -`RUSTFLAGS="-Dwarnings" cargo clippy -- -D warnings` +`cargo clippy -- {{[-D|--deny]}} warnings` - Run checks and ignore warnings: -`cargo clippy -- -A warnings` +`cargo clippy -- {{[-A|--allow]}} warnings` -- Apply Clippy suggestion automatically (experimental and only supported on the nightly channel): +- Apply Clippy suggestions automatically: -`cargo clippy --fix -Z unstable-options` +`cargo clippy --fix` diff --git a/pages/common/cargo-deb.md b/pages/common/cargo-deb.md new file mode 100644 index 00000000000000..1ba1b42741cacb --- /dev/null +++ b/pages/common/cargo-deb.md @@ -0,0 +1,24 @@ +# cargo deb + +> Create Debian packages from Cargo projects. +> More information: . + +- Create a Debian package from a project: + +`cargo deb` + +- Write the `.deb` file to the specified file or directory: + +`cargo deb {{[-o|--output]}} {{path/to/file_or_directory}}` + +- Compile for the specified Rust target triple: + +`cargo deb --target {{x86_64-unknown-linux-gnu}}` + +- Select which package to use in a Cargo workspace: + +`cargo deb {{[-p|--package]}} {{package_name}}` + +- Immediately install the created package: + +`cargo deb --install` diff --git a/pages/common/cargo-doc.md b/pages/common/cargo-doc.md index 99e2443527b451..8a603bb396fa47 100644 --- a/pages/common/cargo-doc.md +++ b/pages/common/cargo-doc.md @@ -1,20 +1,20 @@ # cargo doc -> Build and view Rust package documentation offline. +> Build the documentation of Rust packages. > More information: . -- Build and view the default package documentation in the browser: +- Build the documentation for the current project and all dependencies: -`cargo doc --open` +`cargo {{[d|doc]}}` -- Build documentation without accessing the network: +- Do not build documentation for dependencies: -`cargo doc --offline` +`cargo {{[d|doc]}} --no-deps` -- View a particular package's documentation: +- Build and open the documentation in a browser: -`cargo doc --open --package {{package}}` +`cargo {{[d|doc]}} --open` -- View a particular package's documentation offline: +- Build and view the documentation of a particular package: -`cargo doc --open --offline --package {{package}}` +`cargo {{[d|doc]}} --open {{[-p|--package]}} {{package}}` diff --git a/pages/common/cargo-fetch.md b/pages/common/cargo-fetch.md new file mode 100644 index 00000000000000..fd77020613cd98 --- /dev/null +++ b/pages/common/cargo-fetch.md @@ -0,0 +1,12 @@ +# cargo fetch + +> Fetch dependencies of a package from the network. +> More information: . + +- Fetch dependencies specified in `Cargo.lock` (for all targets): + +`cargo fetch` + +- Fetch dependencies for the specified target: + +`cargo fetch --target {{target_triple}}` diff --git a/pages/common/cargo-fix.md b/pages/common/cargo-fix.md new file mode 100644 index 00000000000000..d260aa68ef33a0 --- /dev/null +++ b/pages/common/cargo-fix.md @@ -0,0 +1,28 @@ +# cargo fix + +> Automatically fix lint warnings reported by `rustc`. +> More information: . + +- Fix code even if it already has compiler errors: + +`cargo fix --broken-code` + +- Fix code even if the working directory has changes: + +`cargo fix --allow-dirty` + +- Migrate a package to the next Rust edition: + +`cargo fix --edition` + +- Fix the package's library: + +`cargo fix --lib` + +- Fix the specified integration test: + +`cargo fix --test {{name}}` + +- Fix all members in the workspace: + +`cargo fix --workspace` diff --git a/pages/common/cargo-fmt.md b/pages/common/cargo-fmt.md new file mode 100644 index 00000000000000..478eb126890fd8 --- /dev/null +++ b/pages/common/cargo-fmt.md @@ -0,0 +1,16 @@ +# cargo fmt + +> Run `rustfmt` on all source files in a Rust project. +> More information: . + +- Format all source files: + +`cargo fmt` + +- Check for formatting errors without writing to the files: + +`cargo fmt --check` + +- Pass arguments to each `rustfmt` call: + +`cargo fmt -- {{rustfmt_args}}` diff --git a/pages/common/cargo-generate-lockfile.md b/pages/common/cargo-generate-lockfile.md new file mode 100644 index 00000000000000..2f6c8b456cabc4 --- /dev/null +++ b/pages/common/cargo-generate-lockfile.md @@ -0,0 +1,9 @@ +# cargo generate-lockfile + +> Generate the `Cargo.lock` file for the current package. Similar to `cargo update`, but has less options. +> If the lockfile already exists it will be rebuilt with latest version of every package. +> More information: . + +- Generate a `Cargo.lock` file with the latest version of every package: + +`cargo generate-lockfile` diff --git a/pages/common/cargo-help.md b/pages/common/cargo-help.md new file mode 100644 index 00000000000000..43bb7872b1c907 --- /dev/null +++ b/pages/common/cargo-help.md @@ -0,0 +1,12 @@ +# cargo help + +> Display help on `cargo` and its subcommands. +> More information: . + +- Display general help: + +`cargo help` + +- Display help for a subcommand: + +`cargo help {{subcommand}}` diff --git a/pages/common/cargo-info.md b/pages/common/cargo-info.md new file mode 100644 index 00000000000000..f7fc65fc242914 --- /dev/null +++ b/pages/common/cargo-info.md @@ -0,0 +1,16 @@ +# cargo info + +> Display information about a Rust package. +> More information: . + +- Display information about a package on : + +`cargo info {{package}}` + +- Display information about a specific version of a package: + +`cargo info {{package}}@{{version}}` + +- Display additional information about a package: + +`cargo info {{[-v|--verbose]}} {{package}}` diff --git a/pages/common/cargo-init.md b/pages/common/cargo-init.md new file mode 100644 index 00000000000000..d829d2ec6e8431 --- /dev/null +++ b/pages/common/cargo-init.md @@ -0,0 +1,25 @@ +# cargo init + +> Create a new Cargo package. +> Equivalent of `cargo new`, but specifying a directory is optional. +> More information: . + +- Initialize a Rust project with a binary target in the current directory: + +`cargo init` + +- Initialize a Rust project with a binary target in the specified directory: + +`cargo init {{path/to/directory}}` + +- Initialize a Rust project with a library target in the current directory: + +`cargo init --lib` + +- Initialize a version control system repository in the project directory (default: `git`): + +`cargo init --vcs {{git|hg|pijul|fossil|none}}` + +- Set the package name (default: directory name): + +`cargo init --name {{name}}` diff --git a/pages/common/cargo-install.md b/pages/common/cargo-install.md new file mode 100644 index 00000000000000..4f0d32102f2821 --- /dev/null +++ b/pages/common/cargo-install.md @@ -0,0 +1,24 @@ +# cargo install + +> Build and install a Rust binary. +> More information: . + +- Install a package from (the version is optional - latest by default): + +`cargo install {{package}}@{{version}}` + +- Install a package from the specified Git repository: + +`cargo install --git {{repo_url}}` + +- Build from the specified branch/tag/commit when installing from a Git repository: + +`cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}` + +- Install a package from a local directory: + +`cargo install --path {{path/to/package}}` + +- List all installed packages and their versions: + +`cargo install --list` diff --git a/pages/common/cargo-locate-project.md b/pages/common/cargo-locate-project.md new file mode 100644 index 00000000000000..1daf1a3fa3d5bf --- /dev/null +++ b/pages/common/cargo-locate-project.md @@ -0,0 +1,21 @@ +# cargo locate-project + +> Print the full path to the `Cargo.toml` manifest of a project. +> If the project is part of a workspace, the manifest of the project is shown, rather than that of the workspace. +> More information: . + +- Display the JSON object with full path to the `Cargo.toml` manifest: + +`cargo locate-project` + +- Display the project path in the specified format: + +`cargo locate-project --message-format {{plain|json}}` + +- Display the `Cargo.toml` manifest located at the root of the workspace as opposed to the current workspace member: + +`cargo locate-project --workspace` + +- Display the `Cargo.toml` manifest of a specific directory: + +`cargo locate-project --manifest-path {{path/to/Cargo.toml}}` diff --git a/pages/common/cargo-login.md b/pages/common/cargo-login.md new file mode 100644 index 00000000000000..2674bfb1a3aace --- /dev/null +++ b/pages/common/cargo-login.md @@ -0,0 +1,13 @@ +# cargo login + +> Save an API token from the registry locally. +> The token is used to authenticate to a package registry. You can remove it using `cargo logout`. +> More information: . + +- Add an API token to the local credential storage (located in `$CARGO_HOME/credentials.toml`): + +`cargo login` + +- Use the specified registry (registry names can be defined in the configuration - the default is ): + +`cargo login --registry {{name}}` diff --git a/pages/common/cargo-logout.md b/pages/common/cargo-logout.md new file mode 100644 index 00000000000000..6f6f270447d6d0 --- /dev/null +++ b/pages/common/cargo-logout.md @@ -0,0 +1,13 @@ +# cargo logout + +> Remove an API token from the registry locally. +> The token is used to authenticate to a package registry. You can add it back using `cargo login`. +> More information: . + +- Remove an API token from the local credential storage (located in `$CARGO_HOME/credentials.toml`): + +`cargo logout` + +- Use the specified registry (registry names can be defined in the configuration - the default is ): + +`cargo logout --registry {{name}}` diff --git a/pages/common/cargo-metadata.md b/pages/common/cargo-metadata.md new file mode 100644 index 00000000000000..185300ba9f136b --- /dev/null +++ b/pages/common/cargo-metadata.md @@ -0,0 +1,21 @@ +# cargo metadata + +> Output the workspace members and resolved dependencies of current package as JSON. +> Note: The output format is subject to change in future versions of Cargo. +> More information: . + +- Print the workspace members and resolved dependencies of the current package: + +`cargo metadata` + +- Print only the workspace members and do not fetch dependencies: + +`cargo metadata --no-deps` + +- Print metadata in a specific format based on the specified version: + +`cargo metadata --format-version {{version}}` + +- Print metadata with the `resolve` field including dependencies only for the given target triple (Note: The `packages` array will still include the dependencies for all targets): + +`cargo metadata --filter-platform {{target_triple}}` diff --git a/pages/common/cargo-msrv.md b/pages/common/cargo-msrv.md new file mode 100644 index 00000000000000..4afcbc6d079e43 --- /dev/null +++ b/pages/common/cargo-msrv.md @@ -0,0 +1,24 @@ +# cargo msrv + +> Manage the Minimum Supported Rust Version (MSRV) of a project. +> More information: . + +- Display the MSRVs of dependencies (as specified in their `Cargo.toml`): + +`cargo msrv list` + +- Find the MSRV of the project by trying to compile it with various toolchains: + +`cargo msrv find` + +- Show the MSRV of the project as specified in `Cargo.toml`: + +`cargo msrv show` + +- Set the MSRV in `Cargo.toml` to a given Rust version: + +`cargo msrv set {{version}}` + +- Verify whether the MSRV is satisfiable by compiling the project using the specified version of Rust: + +`cargo msrv verify` diff --git a/pages/common/cargo-new.md b/pages/common/cargo-new.md new file mode 100644 index 00000000000000..688e56d202acbe --- /dev/null +++ b/pages/common/cargo-new.md @@ -0,0 +1,9 @@ +# cargo new + +> Create a new Cargo package. +> Equivalent of `cargo init`, but specifying a directory is required. +> More information: . + +- Create a new Rust project with a binary target: + +`cargo new {{path/to/directory}}` diff --git a/pages/common/cargo-owner.md b/pages/common/cargo-owner.md new file mode 100644 index 00000000000000..81869281616cfc --- /dev/null +++ b/pages/common/cargo-owner.md @@ -0,0 +1,20 @@ +# cargo owner + +> Manage the owners of a crate on the registry. +> More information: . + +- Invite the given user or team as an owner: + +`cargo owner {{[-a|--add]}} {{username|github:org_name:team_name}} {{crate}}` + +- Remove the given user or team as an owner: + +`cargo owner {{[-r|--remove]}} {{username|github:org_name:team_name}} {{crate}}` + +- List owners of a crate: + +`cargo owner {{[-l|--list]}} {{crate}}` + +- Use the specified registry (registry names can be defined in the configuration - the default is ): + +`cargo owner --registry {{name}}` diff --git a/pages/common/cargo-package.md b/pages/common/cargo-package.md new file mode 100644 index 00000000000000..8ca02a9e8284c0 --- /dev/null +++ b/pages/common/cargo-package.md @@ -0,0 +1,13 @@ +# cargo package + +> Assemble a local package into a distributable tarball (a `.crate` file). +> Similar to `cargo publish --dry-run`, but has more options. +> More information: . + +- Perform checks and create a `.crate` file (equivalent of `cargo publish --dry-run`): + +`cargo package` + +- Display what files would be included in the tarball without actually creating it: + +`cargo package {{[-l|--list]}}` diff --git a/pages/common/cargo-pkgid.md b/pages/common/cargo-pkgid.md new file mode 100644 index 00000000000000..1ac0e96066ee9d --- /dev/null +++ b/pages/common/cargo-pkgid.md @@ -0,0 +1,12 @@ +# cargo pkgid + +> Print the fully qualified package ID specifier for a package or dependency in the current workspace. +> More information: . + +- Print the fully qualified package specification for the current project: + +`cargo pkgid` + +- Print the fully qualified package specification for the specified package: + +`cargo pkgid {{partial_pkgspec}}` diff --git a/pages/common/cargo-publish.md b/pages/common/cargo-publish.md new file mode 100644 index 00000000000000..c0b61979b93a94 --- /dev/null +++ b/pages/common/cargo-publish.md @@ -0,0 +1,17 @@ +# cargo publish + +> Upload a package to a registry. +> Note: You have to add an authentication token using `cargo login` before publishing a package. +> More information: . + +- Perform checks, create a `.crate` file and upload it to the registry: + +`cargo publish` + +- Perform checks, create a `.crate` file but don't upload it (equivalent of `cargo package`): + +`cargo publish {{[-n|--dry-run]}}` + +- Use the specified registry (registry names can be defined in the configuration - the default is ): + +`cargo publish --registry {{name}}` diff --git a/pages/common/cargo-remove.md b/pages/common/cargo-remove.md new file mode 100644 index 00000000000000..52ef503b899f13 --- /dev/null +++ b/pages/common/cargo-remove.md @@ -0,0 +1,16 @@ +# cargo remove + +> Remove dependencies from a Rust project's `Cargo.toml` manifest. +> More information: . + +- Remove a dependency from the current project: + +`cargo remove {{dependency}}` + +- Remove a development or build dependency: + +`cargo remove --{{dev|build}} {{dependency}}` + +- Remove a dependency of the given target platform: + +`cargo remove --target {{target}} {{dependency}}` diff --git a/pages/common/cargo-report.md b/pages/common/cargo-report.md new file mode 100644 index 00000000000000..30c33c0eef5046 --- /dev/null +++ b/pages/common/cargo-report.md @@ -0,0 +1,16 @@ +# cargo report + +> Display various kinds of reports. +> More information: . + +- Display a report of crates which will eventually stop compiling: + +`cargo report future-incompatibilities` + +- Display a report with the specified Cargo-generated ID: + +`cargo report future-incompatibilities --id {{id}}` + +- Display a report for the specified package: + +`cargo report future-incompatibilities {{[-p|--package]}} {{package}}` diff --git a/pages/common/cargo-run.md b/pages/common/cargo-run.md new file mode 100644 index 00000000000000..cbaa8839652fed --- /dev/null +++ b/pages/common/cargo-run.md @@ -0,0 +1,33 @@ +# cargo run + +> Run the current Cargo package. +> Note: The working directory of the executed binary will be set to the current working directory. +> More information: . + +- Run the default binary target: + +`cargo {{[r|run]}}` + +- Run the specified binary: + +`cargo {{[r|run]}} --bin {{name}}` + +- Run the specified example: + +`cargo {{[r|run]}} --example {{name}}` + +- Activate a space or comma separated list of features: + +`cargo {{[r|run]}} {{[-F|--features]}} "{{feature1 feature2 ...}}"` + +- Disable the default features: + +`cargo {{[r|run]}} --no-default-features` + +- Activate all available features: + +`cargo {{[r|run]}} --all-features` + +- Run with the given profile: + +`cargo {{[r|run]}} --profile {{name}}` diff --git a/pages/common/cargo-rustc.md b/pages/common/cargo-rustc.md index 21f65bb896ddd0..62181d1b290782 100644 --- a/pages/common/cargo-rustc.md +++ b/pages/common/cargo-rustc.md @@ -1,25 +1,26 @@ # cargo rustc -> Compile a Rust package, and pass extra options to the compiler. +> Compile a Rust package. Similar to `cargo build`, but you can pass extra options to the compiler. +> See `rustc --help` for all available options. > More information: . -- Build the package or packages defined by the `Cargo.toml` manifest file in the current working directory: +- Build the package and pass options to `rustc`: -`cargo rustc` +`cargo rustc -- {{rustc_options}}` - Build artifacts in release mode, with optimizations: -`cargo rustc --release` +`cargo rustc {{[-r|--release]}}` - Compile with architecture-specific optimizations for the current CPU: -`cargo rustc --release -- -C target-cpu=native` +`cargo rustc {{[-r|--release]}} -- -C target-cpu=native` -- Compile with speed optimization: +- Compile with speed optimizations: `cargo rustc -- -C opt-level {{1|2|3}}` -- Compile with [s]ize optimization (`z` also turns off loop vectorization): +- Compile with [s]ize optimizations (`z` also turns off loop vectorization): `cargo rustc -- -C opt-level {{s|z}}` @@ -29,8 +30,8 @@ - Build a specific package: -`cargo rustc --package {{package}}` +`cargo rustc {{[-p|--package]}} {{package}}` - Build only the specified binary: -`cargo --bin {{name}}` +`cargo rustc --bin {{name}}` diff --git a/pages/common/cargo-rustdoc.md b/pages/common/cargo-rustdoc.md new file mode 100644 index 00000000000000..72e4e3787f3388 --- /dev/null +++ b/pages/common/cargo-rustdoc.md @@ -0,0 +1,33 @@ +# cargo rustdoc + +> Build the documentation of Rust packages. +> Similar to `cargo doc`, but you can pass options to `rustdoc`. See `rustdoc --help` for all available options. +> More information: . + +- Pass options to `rustdoc`: + +`cargo rustdoc -- {{rustdoc_options}}` + +- Warn about a documentation lint: + +`cargo rustdoc -- --warn rustdoc::{{lint_name}}` + +- Ignore a documentation lint: + +`cargo rustdoc -- --allow rustdoc::{{lint_name}}` + +- Document the package's library: + +`cargo rustdoc --lib` + +- Document the specified binary: + +`cargo rustdoc --bin {{name}}` + +- Document the specified example: + +`cargo rustdoc --example {{name}}` + +- Document the specified integration test: + +`cargo rustdoc --test {{name}}` diff --git a/pages/common/cargo-search.md b/pages/common/cargo-search.md new file mode 100644 index 00000000000000..1316f6f9993c60 --- /dev/null +++ b/pages/common/cargo-search.md @@ -0,0 +1,13 @@ +# cargo search + +> Search for packages on . +> The crates are displayed along with descriptions in TOML format suitable for copying into `Cargo.toml`. +> More information: . + +- Search for packages: + +`cargo search {{query}}` + +- Show `n` results (default: 10, max: 100): + +`cargo search --limit {{n}} {{query}}` diff --git a/pages/common/cargo-test.md b/pages/common/cargo-test.md index 813237e31579f6..9c422c8b77bc31 100644 --- a/pages/common/cargo-test.md +++ b/pages/common/cargo-test.md @@ -5,24 +5,24 @@ - Only run tests containing a specific string in their names: -`cargo test {{testname}}` +`cargo {{[t|test]}} {{test_name}}` - Set the number of simultaneous running test cases: -`cargo test -- --test-threads={{count}}` - -- Require that `Cargo.lock` is up to date: - -`cargo test --locked` +`cargo {{[t|test]}} -- --test-threads {{count}}` - Test artifacts in release mode, with optimizations: -`cargo test --release` +`cargo {{[t|test]}} {{[-r|--release]}}` - Test all packages in the workspace: -`cargo test --workspace` +`cargo {{[t|test]}} --workspace` + +- Run tests for a specific package: + +`cargo {{[t|test]}} {{[-p|--package]}} {{package}}` -- Run tests for a package: +- Run tests without hiding output from test executions: -`cargo test --package {{package}}` +`cargo {{[t|test]}} -- --nocapture` diff --git a/pages/common/cargo-tree.md b/pages/common/cargo-tree.md new file mode 100644 index 00000000000000..a240512ceb90be --- /dev/null +++ b/pages/common/cargo-tree.md @@ -0,0 +1,25 @@ +# cargo tree + +> Display a tree visualization of a dependency graph. +> Note: In the tree, dependencies of packages marked with `(*)` have already been shown elsewhere in the graph, and so are not repeated. +> More information: . + +- Show a dependency tree of the current project: + +`cargo tree` + +- Only show dependencies up to the specified depth (e.g. when `n` is 1, display only direct dependencies): + +`cargo tree --depth {{n}}` + +- Do not display the given package (and its dependencies) in the tree: + +`cargo tree --prune {{package_spec}}` + +- Show all occurrences of repeated dependencies: + +`cargo tree --no-dedupe` + +- Only show normal/build/development dependencies: + +`cargo tree {{[-e|--edges]}} {{normal|build|dev}}` diff --git a/pages/common/cargo-uninstall.md b/pages/common/cargo-uninstall.md new file mode 100644 index 00000000000000..f075540069d0e4 --- /dev/null +++ b/pages/common/cargo-uninstall.md @@ -0,0 +1,8 @@ +# cargo uninstall + +> Remove a Rust binary installed globally using `cargo install`. +> More information: . + +- Remove an installed binary: + +`cargo uninstall {{package_spec}}` diff --git a/pages/common/cargo-update.md b/pages/common/cargo-update.md new file mode 100644 index 00000000000000..11ec2ab48b9d25 --- /dev/null +++ b/pages/common/cargo-update.md @@ -0,0 +1,20 @@ +# cargo update + +> Update dependencies as recorded in `Cargo.lock`. +> More information: . + +- Update dependencies in `Cargo.lock` to the latest possible version: + +`cargo update` + +- Display what would be updated, but don't actually write the lockfile: + +`cargo update {{[-n|--dry-run]}}` + +- Update only the specified dependencies: + +`cargo update --package {{dependency1}} --package {{dependency2}} --package {{dependency3}}` + +- Set a specific dependency to a specific version: + +`cargo update --package {{dependency}} --precise {{1.2.3}}` diff --git a/pages/common/cargo-vendor.md b/pages/common/cargo-vendor.md new file mode 100644 index 00000000000000..c81ec03d8bc968 --- /dev/null +++ b/pages/common/cargo-vendor.md @@ -0,0 +1,8 @@ +# cargo vendor + +> Vendor all dependencies of a project into the specified directory (default: `vendor`). +> More information: . + +- Vendor dependencies and configure `cargo` to use the vendored sources in the current project: + +`cargo vendor {{path/to/directory}} > .cargo/config.toml` diff --git a/pages/common/cargo-verify-project.md b/pages/common/cargo-verify-project.md new file mode 100644 index 00000000000000..2cde16c3eeb41a --- /dev/null +++ b/pages/common/cargo-verify-project.md @@ -0,0 +1,13 @@ +# cargo verify-project + +> Check the correctness of the `Cargo.toml` manifest and print the result as a JSON object. +> Note: this command is deprecated and may be removed in the future. +> More information: . + +- Check the correctness of the current project's manifest: + +`cargo verify-project` + +- Check the correctness of the specified manifest file: + +`cargo verify-project --manifest-path {{path/to/Cargo.toml}}` diff --git a/pages/common/cargo-version.md b/pages/common/cargo-version.md new file mode 100644 index 00000000000000..fa0ac70494675b --- /dev/null +++ b/pages/common/cargo-version.md @@ -0,0 +1,12 @@ +# cargo version + +> Display `cargo` version information. +> More information: . + +- Display version: + +`cargo version` + +- Display additional build information: + +`cargo version {{[-v|--verbose]}}` diff --git a/pages/common/cargo-yank.md b/pages/common/cargo-yank.md new file mode 100644 index 00000000000000..85801fddbbde68 --- /dev/null +++ b/pages/common/cargo-yank.md @@ -0,0 +1,17 @@ +# cargo yank + +> Remove a pushed crate from the index. This should only be used when you accidentally release a significantly broken crate. +> Note: This does not remove any data. The crate is still present after a yank - this just prevents new projects from using it. +> More information: . + +- Yank the specified version of a crate: + +`cargo yank {{crate}}@{{version}}` + +- Undo a yank (i.e. allow downloading it again): + +`cargo yank --undo {{crate}}@{{version}}` + +- Use the specified registry (registry names can be defined in the configuration - the default is ): + +`cargo yank --registry {{name}} {{crate}}@{{version}}` diff --git a/pages/common/cargo.md b/pages/common/cargo.md index e06dde8041f7d5..300e2db0294dd0 100644 --- a/pages/common/cargo.md +++ b/pages/common/cargo.md @@ -1,33 +1,37 @@ # cargo -> Rust package manager. > Manage Rust projects and their module dependencies (crates). -> More information: . +> Some subcommands such as `build` have their own usage documentation. +> More information: . - Search for crates: `cargo search {{search_string}}` -- Install a crate: +- Install a binary crate: `cargo install {{crate_name}}` -- List installed crates: +- List installed binary crates: `cargo install --list` -- Create a new binary or library Rust project in the current directory: +- Create a new binary or library Rust project in the specified directory (or the current working directory by default): -`cargo init --{{bin|lib}}` +`cargo init --{{bin|lib}} {{path/to/directory}}` -- Create a new binary or library Rust project in the specified directory: +- Add a dependency to `Cargo.toml` in the current directory: -`cargo new {{path/to/directory}} --{{bin|lib}}` +`cargo add {{dependency}}` -- Build the Rust project in the current directory: +- Build the Rust project in the current directory using the release profile: -`cargo build` +`cargo {{[b|build]}} {{[-r|--release]}}` -- Build using a specific number of threads (default is the number of CPU cores): +- Build the Rust project in the current directory using the nightly compiler (requires `rustup`): -`cargo build -j {{jobs}}` +`cargo +nightly {{[b|build]}}` + +- Build using a specific number of threads (default is the number of logical CPUs): + +`cargo {{[b|build]}} --jobs {{number_of_threads}}` diff --git a/pages/common/cariddi.md b/pages/common/cariddi.md new file mode 100644 index 00000000000000..72ed9657016826 --- /dev/null +++ b/pages/common/cariddi.md @@ -0,0 +1,28 @@ +# cariddi + +> Crawl URLs and scan for endpoints, secrets, api keys, file extensions, tokens, and more from a list of domains. +> More information: . + +- Hunt for secrets using custom `regex`es and output results in JSON: + +`cat {{path/to/urls.txt}} | cariddi -s -sf {{path/to/custom_secrets.txt}} -json` + +- Hunt for juicy endpoints with high concurrency and timeout with plain output results: + +`cat {{path/to/urls.txt}} | cariddi -e -c {{250}} -t {{15}} -plain` + +- Crawl with debug mode and store HTTP responses and output results in `txt` file: + +`cat {{path/to/urls.txt}} | cariddi -debug -sr -ot {{path/to/debug_output.txt}}` + +- Perform an intensive crawl with a proxy and random user agent and output results in `html` file: + +`cat {{path/to/urls.txt}} | cariddi -intensive -proxy {{http://127.0.0.1:8080}} -rua -oh {{path/to/intensive_crawl.html}}` + +- Hunt for errors and useful information with a custom delay and use `.cariddi_cache` folder as cache: + +`cat {{path/to/urls.txt}} | cariddi -err -info -d {{3}} -cache` + +- Show example uses: + +`cariddi -examples` diff --git a/pages/common/carp.md b/pages/common/carp.md new file mode 100644 index 00000000000000..d20cf42c5d8f1a --- /dev/null +++ b/pages/common/carp.md @@ -0,0 +1,28 @@ +# carp + +> REPL and build tool for Carp. +> More information: . + +- Start a REPL (interactive shell): + +`carp` + +- Start a REPL with a custom prompt: + +`carp --prompt "{{> }}"` + +- Build a `carp` file: + +`carp -b {{path/to/file.carp}}` + +- Build and run a file: + +`carp -x {{path/to/file.carp}}` + +- Build a file with optimizations enabled: + +`carp -b --optimize {{path/to/file.carp}}` + +- Transpile a file to C code: + +`carp --generate-only {{path/to/file.carp}}` diff --git a/pages/common/case.md b/pages/common/case.md index 9949758582d893..75d6aa677a19be 100644 --- a/pages/common/case.md +++ b/pages/common/case.md @@ -1,11 +1,24 @@ # case -> Branch based on the value of an expression. +> Bash builtin construct for creating multi-choice conditional statements. +> More information: . - Match a variable against string literals to decide which command to run: -`case {{$tocount}} in {{words}}) {{wc -w README}}; ;; {{lines}}) {{wc -l README}}; ;; esac` +`case {{$COUNTRULE}} in {{words}}) {{wc --words README}} ;; {{lines}}) {{wc --lines README}} ;; esac` - Combine patterns with |, use * as a fallback pattern: -`case {{$tocount}} in {{[wW]|words}}) {{wc -w README}}; ;; {{[lL]|lines}}) {{wc -l README}}; ;; *) {{echo "what?"}}; ;; esac` +`case {{$COUNTRULE}} in {{[wW]|words}}) {{wc --words README}} ;; {{[lL]|lines}}) {{wc --lines README}} ;; *) {{echo "what?"}} ;; esac` + +- Allow matching multiple patterns: + +`case {{$ANIMAL}} in {{cat}}) {{echo "It's a cat"}} ;;& {{cat|dog}}) {{echo "It's a cat or a dog"}} ;;& *) {{echo "Fallback"}} ;; esac` + +- Continue to the next pattern's commands without checking the pattern: + +`case {{$ANIMAL}} in {{cat}}) echo {{"It's a cat"}} ;& {{dog}}) {{echo "It's either a dog or cat fell through"}} ;& *) {{echo "Fallback"}} ;; esac` + +- Display help: + +`help case` diff --git a/pages/common/cat.md b/pages/common/cat.md index 249997af8dd55e..eeb695df602790 100644 --- a/pages/common/cat.md +++ b/pages/common/cat.md @@ -1,23 +1,24 @@ # cat > Print and concatenate files. +> More information: . -- Print the contents of a file to the standard output: +- Print the contents of a file to `stdout`: -`cat {{file}}` +`cat {{path/to/file}}` -- Concatenate several files into the target file: +- Concatenate several files into an output file: -`cat {{file1}} {{file2}} > {{target_file}}` +`cat {{path/to/file1 path/to/file2 ...}} > {{path/to/output_file}}` -- Append several files into the target file: +- Append several files to an output file: -`cat {{file1}} {{file2}} >> {{target_file}}` +`cat {{path/to/file1 path/to/file2 ...}} >> {{path/to/output_file}}` -- Number all output lines: +- Copy the contents of a file into an output file without buffering: -`cat -n {{file}}` +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` -- Display non-printable and whitespace characters (with `M-` prefix if non-ASCII): +- Write `stdin` to a file: -`cat -v -t -e {{file}}` +`cat - > {{path/to/file}}` diff --git a/pages/common/catimg.md b/pages/common/catimg.md new file mode 100644 index 00000000000000..6b5048c4b535db --- /dev/null +++ b/pages/common/catimg.md @@ -0,0 +1,21 @@ +# catimg + +> Image printing in the terminal. +> See also: `pixterm`, `chafa`. +> More information: . + +- Print a JPEG, PNG, or GIF to the terminal: + +`catimg {{path/to/file}}` + +- Double the [r]esolution of an image: + +`catimg -r 2 {{path/to/file}}` + +- Disable 24-bit color for better [t]erminal support: + +`catimg -t {{path/to/file}}` + +- Specify a custom [w]idth or [H]eight: + +`catimg {{-w|-H}} {{40}} {{path/to/file}}` diff --git a/pages/common/cava.md b/pages/common/cava.md new file mode 100644 index 00000000000000..b21286f234602d --- /dev/null +++ b/pages/common/cava.md @@ -0,0 +1,36 @@ +# cava + +> Cross-platform audio visualizer. +> More information: . + +- Start the visualizer: + +`cava` + +- Use the specified configuration file: + +`cava -p {{path/to/file}}` + +- Increase/Decrease sensitivity: + +`{{|}}` + +- Increase/Decrease the number of bars: + +`{{|}}` + +- Reload the configuration file (this resets the number of bars and sensitivity): + +`` + +- Reload colors from the configuration file: + +`` + +- Cycle the foreground/background color: + +`{{|}}` + +- Quit: + +`` diff --git a/pages/common/cavif.md b/pages/common/cavif.md new file mode 100644 index 00000000000000..5a121efe4d7048 --- /dev/null +++ b/pages/common/cavif.md @@ -0,0 +1,21 @@ +# cavif + +> Convert PNG/JPEG images to AVIF. Written in Rust. +> See also: `convert`. +> More information: . + +- Convert a JPEG file to AVIF, saving it to `file.avif`: + +`cavif {{path/to/image.jpg}}` + +- Adjust the image quality and convert a PNG file to AVIF: + +`cavif --quality {{1..100}} {{path/to/image.png}}` + +- Specify the output location: + +`cavif {{path/to/image.jpg}} --output {{path/to/output.avif}}` + +- Overwrite the destination file if it already exists: + +`cavif --overwrite {{path/to/image.jpg}}` diff --git a/pages/common/cb.md b/pages/common/cb.md new file mode 100644 index 00000000000000..f8b48e88e93f69 --- /dev/null +++ b/pages/common/cb.md @@ -0,0 +1,36 @@ +# cb + +> Cut, copy, and paste anything in the terminal. +> More information: . + +- Show all clipboards: + +`cb` + +- Copy a file to the clipboard: + +`cb copy {{path/to/file}}` + +- Copy some text to the clipboard: + +`cb copy "{{Some example text}}"` + +- Copy piped data to the clipboard: + +`echo "{{Some example text}}" | cb` + +- Paste clipboard content: + +`cb paste` + +- Pipe out clipboard content: + +`cb | cat` + +- Show clipboard history: + +`cb history` + +- Show clipboard information: + +`cb info` diff --git a/pages/common/cbonsai.md b/pages/common/cbonsai.md new file mode 100644 index 00000000000000..c7d33522754e3c --- /dev/null +++ b/pages/common/cbonsai.md @@ -0,0 +1,36 @@ +# cbonsai + +> A beautifully random bonsai tree generator. +> More information: . + +- Generate a bonsai in live mode: + +`cbonsai {{[-l|--live]}}` + +- Generate a bonsai in infinite mode: + +`cbonsai {{[-i|--infinite]}}` + +- Set the growth factor of the tree (default: 32): + +`cbonsai {{[-L|--life]}} {{0..200}}` + +- Set the branching factor of the tree (default: 5): + +`cbonsai {{[-M|--multiplier]}} {{0..20}}` + +- Run in screensaver mode (equivalent to `--live --infinite` but any keypress exits): + +`cbonsai {{[-S|--screensaver]}}` + +- Append a message to the bonsai: + +`cbonsai {{[-m|--message]}} "{{message}}"` + +- Display extra information about the bonsai: + +`cbonsai {{[-v|--verbose]}}` + +- Display help: + +`cbonsai {{[-h|--help]}}` diff --git a/pages/common/cbt.md b/pages/common/cbt.md new file mode 100644 index 00000000000000..c5665e51cf641d --- /dev/null +++ b/pages/common/cbt.md @@ -0,0 +1,28 @@ +# cbt + +> Utility for reading data from Google Cloud's Bigtable. +> More information: . + +- List tables in the current project: + +`cbt ls` + +- Print count of rows in a specific table in the current project: + +`cbt count "{{table_name}}"` + +- Display a single row from a specific table with only 1 (most recent) cell revision per column in the current project: + +`cbt lookup "{{table_name}}" "{{row_key}}" cells-per-column={{1}}` + +- Display a single row with only specific column(s) (omit qualifier to return entire family) in the current project: + +`cbt lookup "{{table_name}}" "{{row_key}}" columns="{{family1:qualifier1,family2:qualifier2,...}}"` + +- Search up to 5 rows in the current project by a specific `regex` pattern and print them: + +`cbt read "{{table_name}}" regex="{{row_key_pattern}}" count={{5}}` + +- Read a specific range of rows and print only returned row keys in the current project: + +`cbt read {{table_name}} start={{start_row_key}} end={{end_row_key}} keys-only=true` diff --git a/pages/common/ccache.md b/pages/common/ccache.md new file mode 100644 index 00000000000000..ae5984027b40f4 --- /dev/null +++ b/pages/common/ccache.md @@ -0,0 +1,21 @@ +# ccache + +> C/C++ compiler cache. +> Note: Packages usually provide symlinks for compilers in `/usr/lib/ccache/bin`. Prepend this directory to `$PATH` to automatically use `ccache` for them. +> More information: . + +- Show current cache statistics: + +`ccache {{[-s|--show-stats]}}` + +- Clear all cache: + +`ccache {{[-C|--clear]}}` + +- Reset statistics (but not cache itself): + +`ccache {{[-z|--zero-stats]}}` + +- Compile C code and cache compiled output (to use `ccache` on all `gcc` invocations, see the note above): + +`ccache gcc {{path/to/file.c}}` diff --git a/pages/common/ccomps.md b/pages/common/ccomps.md new file mode 100644 index 00000000000000..0a1acc7623a0d8 --- /dev/null +++ b/pages/common/ccomps.md @@ -0,0 +1,21 @@ +# ccomps + +> Decompose graphs into their connected components. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Decompose one or more graphs into their connected components: + +`ccomps {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}` + +- Print the number of nodes, edges, and connected components in one or more graphs: + +`ccomps -v -s {{path/to/input1.gv path/to/input2.gv ...}}` + +- Write each connected component to numbered filenames based on `output.gv`: + +`ccomps -x -o {{path/to/output.gv}} {{path/to/input1.gv path/to/input2.gv ...}}` + +- Display help: + +`ccomps -?` diff --git a/pages/common/cd.md b/pages/common/cd.md index d8f37e28ee35f9..178cdca52794bb 100644 --- a/pages/common/cd.md +++ b/pages/common/cd.md @@ -1,19 +1,28 @@ # cd > Change the current working directory. +> More information: . -- Go to the given directory: +- Go to the specified directory: `cd {{path/to/directory}}` -- Go to home directory of current user: +- Go up to the parent of the current directory: + +`cd ..` + +- Go to the home directory of the current user: `cd` -- Go up to the parent of the current directory: +- Go to the home directory of the specified user: -`cd ..` +`cd ~{{username}}` - Go to the previously chosen directory: `cd -` + +- Go to the root directory: + +`cd /` diff --git a/pages/common/cdecl.md b/pages/common/cdecl.md new file mode 100644 index 00000000000000..6a40421aab57d9 --- /dev/null +++ b/pages/common/cdecl.md @@ -0,0 +1,20 @@ +# cdecl + +> Compose and decode C and C++ type declarations. +> More information: . + +- Compose English phrase into C declaration, and create [c]ompilable output (include `;` and `{}`): + +`cdecl -c {{phrase}}` + +- Explain C declaration in English: + +`cdecl explain {{C_declaration}}` + +- Cast a variable to another type: + +`cdecl cast {{variable_name}} to {{type}}` + +- Run in [i]nteractive mode: + +`cdecl -i` diff --git a/pages/common/cdk.md b/pages/common/cdk.md index 64790c387f331d..b89dde60855679 100644 --- a/pages/common/cdk.md +++ b/pages/common/cdk.md @@ -11,13 +11,13 @@ `cdk synth {{stack_name}}` -- Deploy a space-separated list of stacks: +- Deploy one or more stacks: -`cdk deploy {{stack_name}}` +`cdk deploy {{stack_name1 stack_name2 ...}}` -- Destroy a space-separated list of stacks: +- Destroy one or more stacks: -`cdk destroy {{stack_name}}` +`cdk destroy {{stack_name1 stack_name2 ...}}` - Compare the specified stack with the deployed stack or a local CloudFormation template: @@ -25,8 +25,8 @@ - Create a new CDK project in the current directory for a specified language: -`cdk init -l {{language_name}}` +`cdk init {{[-l|--language]}} {{language}}` - Open the CDK API reference in your browser: -`cdk doc` +`cdk docs` diff --git a/pages/common/certutil.md b/pages/common/certutil.md new file mode 100644 index 00000000000000..504f4527e7886b --- /dev/null +++ b/pages/common/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> Manage keys and certificates in both NSS databases and other NSS tokens. +> More information: . + +- Create a [N]ew certificate database in the current [d]irectory: + +`certutil -N -d .` + +- List all certificates in a database: + +`certutil -L -d .` + +- List all private [K]eys in a database specifying the password [f]ile: + +`certutil -K -d . -f {{path/to/password_file.txt}}` + +- [A]dd the signed certificate to the requesters database specifying a [n]ickname, [t]rust attributes and an [i]nput CRT file: + +`certutil -A -n "{{server_certificate}}" -t ",," -i {{path/to/file.crt}} -d .` + +- Add subject alternative names to a given [c]ertificate with a specific key size ([g]): + +`certutil -S -f {{path/to/password_file.txt}} -d . -t ",," -c "{{server_certificate}}" -n "{{server_name}}" -g {{2048}} -s "CN={{common_name}},O={{organization}}"` diff --git a/pages/common/cf.md b/pages/common/cf.md index e2395732a9ec42..7298a82429e257 100644 --- a/pages/common/cf.md +++ b/pages/common/cf.md @@ -1,7 +1,11 @@ # cf -> Command line tool to manage apps and services on Cloud Foundry. -> More information: . +> Manage apps and services on Cloud Foundry. +> More information: . + +- Log in to the Cloud Foundry API: + +`cf login -a {{api_url}}` - Push an app using the default settings: diff --git a/pages/common/cfssl.md b/pages/common/cfssl.md new file mode 100644 index 00000000000000..16c092f8c37e57 --- /dev/null +++ b/pages/common/cfssl.md @@ -0,0 +1,21 @@ +# cfssl + +> Cloudflare's PKI and TLS toolkit. +> See also: `openssl`. +> More information: . + +- Show certificate information of a host: + +`cfssl certinfo -domain {{www.google.com}}` + +- Decode certificate information from a file: + +`cfssl certinfo -cert {{path/to/certificate.pem}}` + +- Scan host(s) for SSL/TLS issues: + +`cfssl scan {{host1 host2 ...}}` + +- Display help for a subcommand: + +`cfssl {{genkey|gencsr|certinfo|sign|gencrl|ocspdump|ocsprefresh|ocspsign|ocspserve|scan|bundle|crl|print-defaults|revoke|gencert|serve|version|selfsign|info}} -h` diff --git a/pages/common/chafa.md b/pages/common/chafa.md new file mode 100644 index 00000000000000..c8825fff5e4554 --- /dev/null +++ b/pages/common/chafa.md @@ -0,0 +1,25 @@ +# chafa + +> Image printing in the terminal. +> See also: `catimg`, `pixterm`. +> More information: . + +- Render an image directly in the terminal: + +`chafa {{path/to/file}}` + +- Render an image with 24-bit color: + +`chafa {{[-c|--colors]}} full {{path/to/file}}` + +- Improve image rendering with small color palettes using dithering: + +`chafa {{[-c|--colors]}} 16 --dither ordered {{path/to/file}}` + +- Render an image, making it appear pixelated: + +`chafa --symbols vhalf {{path/to/file}}` + +- Render a monochrome image with only braille characters: + +`chafa {{[-c|--colors]}} none --symbols braille {{path/to/file}}` diff --git a/pages/common/chainctl.md b/pages/common/chainctl.md new file mode 100644 index 00000000000000..b0a297bc1b7e38 --- /dev/null +++ b/pages/common/chainctl.md @@ -0,0 +1,36 @@ +# chainctl + +> The official CLI for Chainguard. +> More information: . + +- Authenticate to the Chainguard Platform: + +`chainctl auth login` + +- Logout from the Chainguard Platform: + +`chainctl auth logout` + +- Update to the latest version: + +`chainctl update` + +- List images available to your account: + +`chainctl images list` + +- List image repositories available to your account: + +`chainctl images repos list` + +- Examine the history of an image tag in chainctl (e.g., image=python tag=3): + +`chainctl images history {{image}}:{{tag}}` + +- List package version data from repositories available to your account (e.g., package_name=go): + +`chainctl packages versions list {{package_name}}` + +- Display version: + +`chainctl version` diff --git a/pages/common/charm.md b/pages/common/charm.md new file mode 100644 index 00000000000000..d6009aeaa4b87e --- /dev/null +++ b/pages/common/charm.md @@ -0,0 +1,32 @@ +# charm + +> Set of tools that makes adding a backend to your terminal-based applications, without worrying about user accounts, data storage and encryption. +> More information: . + +- Backup your Charm account keys: + +`charm backup-keys` + +- Backup Charm account keys to a specific location: + +`charm backup-keys {{[-o|--output]}} {{path/to/output_file.tar}}` + +- Import previously backed up Charm account keys: + +`charm import-keys "{{charm-keys-backup.tar}}"` + +- Find where your `cloud.charm.sh` folder resides on your machine: + +`charm where` + +- Start your Charm server: + +`charm serve` + +- Print linked SSH keys: + +`charm keys` + +- Print your Charm ID: + +`charm id` diff --git a/pages/common/chars.md b/pages/common/chars.md index 0d5b8e9a0fde5a..1420acc13d51ad 100644 --- a/pages/common/chars.md +++ b/pages/common/chars.md @@ -1,7 +1,7 @@ # chars > Display names and codes for various ASCII and Unicode characters and code points. -> More information: . +> More information: . - Look up a character by its value: diff --git a/pages/common/chatgpt.md b/pages/common/chatgpt.md new file mode 100644 index 00000000000000..8fa209773ef651 --- /dev/null +++ b/pages/common/chatgpt.md @@ -0,0 +1,28 @@ +# chatgpt + +> Shell script to use OpenAI's ChatGPT and DALL-E from the terminal. +> More information: . + +- Start in chat mode: + +`chatgpt` + +- Give a prompt to answer to: + +`chatgpt {{[-p|--prompt]}} "{{What is the regex to match an email address?}}"` + +- Start in chat mode using a specific model (default is `gpt-3.5-turbo`): + +`chatgpt {{[-m|--model]}} {{gpt-4}}` + +- Start in chat mode with an initial prompt: + +`chatgpt {{[-i|--init-prompt]}} "{{You are Rick, from Rick and Morty. Respond to questions using his mannerism and include insulting jokes.}}"` + +- Pipe the result of a command to `chatgpt` as a prompt: + +`echo "{{How to view running processes on Ubuntu?}}" | chatgpt` + +- Generate an image using DALL-E: + +`chatgpt {{[-p|--prompt]}} "{{image: A white cat}}"` diff --git a/pages/common/chcon.md b/pages/common/chcon.md deleted file mode 100644 index 8037a54c971490..00000000000000 --- a/pages/common/chcon.md +++ /dev/null @@ -1,31 +0,0 @@ -# chcon - -> Change SELinux security context of a file or files/directories. - -- View security context of a file: - -`ls -lZ {{path/to/file}}` - -- Change the security context of a target file, using a reference file: - -`chcon --reference={{reference_file}} {{target_file}}` - -- Change the full SELinux security context of a file: - -`chcon {{user}}:{{role}}:{{type}}:{{range/level}} {{filename}}` - -- Change only the user part of SELinux security context: - -`chcon -u {{user}} {{filename}}` - -- Change only the role part of SELinux security context: - -`chcon -r {{role}} {{filename}}` - -- Change only the type part of SELinux security context: - -`chcon -t {{type}} {{filename}}` - -- Change only the range/level part of SELinux security context: - -`chcon -l {{range/level}} {{filename}}` diff --git a/pages/common/cheat.md b/pages/common/cheat.md index 20945022df8423..fe3d9592ebe3fe 100644 --- a/pages/common/cheat.md +++ b/pages/common/cheat.md @@ -1,6 +1,6 @@ # cheat -> Create and view interactive cheat sheets on the command-line. +> Create and view interactive cheat sheets. > More information: . - Show example usage of a command: @@ -9,16 +9,16 @@ - Edit the cheat sheet for a command: -`cheat -e {{command}}` +`cheat {{[-e|--edit]}} {{command}}` - List the available cheat sheets: -`cheat -l` +`cheat {{[-l|--list]}}` - Search available the cheat sheets for a specified command name: -`cheat -s {{command}}` +`cheat {{[-s|--search]}} {{command}}` -- Get the current cheat version: +- Display version: -`cheat -v` +`cheat {{[-v|--version]}}` diff --git a/pages/common/cheatshh.md b/pages/common/cheatshh.md new file mode 100644 index 00000000000000..4a96d70d67bc0b --- /dev/null +++ b/pages/common/cheatshh.md @@ -0,0 +1,33 @@ +# cheatshh + +> CLI cheatsheet with customized descriptions, tldr and groups, to look into for your reference. +> Press `` to a command to copy it to your clipboard and exit. +> More information: . + +- Add a new command to the cheatshheet: + +`cheatshh {{[-a|--add]}}` + +- Edit an existing command's description or group in the cheatshheet: + +`cheatshh {{[-ec|--edit-command]}}` + +- Delete an existing command from the cheatshheet: + +`cheatshh {{[-dc|--delete-command]}}` + +- Create a new group: + +`cheatshh {{[-g|--group]}}` + +- Edit an existing group's name or description in the cheatsheet: + +`cheatshh {{[-eg|--edit-group]}}` + +- Delete an existing group and it's sub commands from commands.json file: + +`cheatshh {{[-dg|--delete-group]}}` + +- Display man pages after tldr in the preview: + +`cheatshh {{[-m|--man]}}` diff --git a/pages/common/checkov.md b/pages/common/checkov.md new file mode 100644 index 00000000000000..1b1833cc388f1b --- /dev/null +++ b/pages/common/checkov.md @@ -0,0 +1,17 @@ +# checkov + +> Checkov is a static code analysis tool for Infrastructure as Code (IaC). +> It is also a software composition analysis (SCA) tool for images and open source packages. +> More information: . + +- Scan a directory containing IaC (Terraform, Cloudformation, ARM, Ansible, Bicep, Dockerfile, etc): + +`checkov --directory {{path/to/directory}}` + +- Scan an IaC file, omitting code blocks in the output: + +`checkov --compact --file {{path/to/file}}` + +- List all checks for all IaC types: + +`checkov --list` diff --git a/pages/common/checksec.md b/pages/common/checksec.md new file mode 100644 index 00000000000000..c4ec98235bb041 --- /dev/null +++ b/pages/common/checksec.md @@ -0,0 +1,20 @@ +# checksec + +> Check security properties of executables. +> More information: . + +- List security properties of an executable binary file: + +`checksec --file={{path/to/binary}}` + +- List security properties recursively of all executable files in a directory: + +`checksec --dir={{path/to/directory}}` + +- List security properties of a process: + +`checksec --proc={{pid}}` + +- List security properties of the running kernel: + +`checksec --kernel` diff --git a/pages/common/chezmoi.md b/pages/common/chezmoi.md index a99d9af5c75e6e..4d77b290f35cd7 100644 --- a/pages/common/chezmoi.md +++ b/pages/common/chezmoi.md @@ -1,21 +1,30 @@ -# Chezmoi +# chezmoi > A multi-machine dotfile manager, written in Go. +> See also: `stow`, `tuckr`, `vcsh`, `homeshick`. > More information: . -- Initialize chezmoi on your machine: +- Setup up `chezmoi`, creating a Git repository in `~/.local/share/chezmoi`: `chezmoi init` -- Tell chezmoi to manage a dotfile: +- Set up `chezmoi` from existing dotfiles of a Git repository: -`chezmoi add {{path/to/file}}` +`chezmoi init {{repository_url}}` + +- Start tracking one or more dotfiles: + +`chezmoi add {{path/to/dotfile1 path/to/dotfile2 ...}}` + +- Update repository with local changes: + +`chezmoi re-add {{path/to/dotfile1 path/to/dotfile2 ...}}` - Edit the source state of a tracked dotfile: -`chezmoi edit {{path/to/file}}` +`chezmoi edit {{path/to/dotfile_or_symlink}}` -- See changes chezmoi would make: +- See pending changes: `chezmoi diff` @@ -23,10 +32,6 @@ `chezmoi -v apply` -- Set chezmoi up on another machine by downloading existing dotfiles from a Git repository: - -`chezmoi init {{https://example.com/path/to/repository.git}}` - -- Fetch the latest changes from a remote repository: +- Pull changes from a remote repository and apply them: `chezmoi update` diff --git a/pages/common/chgrp.md b/pages/common/chgrp.md index b06dec73dc0a60..1af25cc593db8f 100644 --- a/pages/common/chgrp.md +++ b/pages/common/chgrp.md @@ -1,6 +1,7 @@ # chgrp > Change group ownership of files and directories. +> More information: . - Change the owner group of a file/directory: @@ -8,12 +9,12 @@ - Recursively change the owner group of a directory and its contents: -`chgrp -R {{group}} {{path/to/directory}}` +`chgrp {{[-R|--recursive]}} {{group}} {{path/to/directory}}` - Change the owner group of a symbolic link: -`chgrp -h {{group}} {{path/to/symlink}}` +`chgrp {{[-h|--no-dereference]}} {{group}} {{path/to/symlink}}` - Change the owner group of a file/directory to match a reference file: -`chgrp --reference={{path/to/reference_file}} {{path/to/file_or_directory}}` +`chgrp --reference {{path/to/reference_file}} {{path/to/file_or_directory}}` diff --git a/pages/common/chisel.md b/pages/common/chisel.md index d941e823d2e25e..c1fafd4b2cf594 100644 --- a/pages/common/chisel.md +++ b/pages/common/chisel.md @@ -1,6 +1,7 @@ # chisel -> Create TCP tunnels. Includes both client and server. +> Create TCP/UDP tunnels, transported over HTTP, secured via SSH. +> Includes both client and server in the same `chisel` executable. > More information: . - Run a Chisel server: @@ -9,7 +10,7 @@ - Run a Chisel server listening to a specific port: -`chisel server -p {{server_port}}` +`chisel server {{[-p|--port]}} {{server_port}}` - Run a chisel server that accepts authenticated connections using username and password: @@ -26,3 +27,11 @@ - Connect to a Chisel server using username and password authentication: `chisel client --auth {{username}}:{{password}} {{server_ip}}:{{server_port}} {{local_port}}:{{remote_server}}:{{remote_port}}` + +- Initialize a Chisel server in reverse mode on a specific port, also enabling SOCKS5 proxy (on port 1080) functionality: + +`chisel server {{[-p|--port]}} {{server_port}} --reverse --socks5` + +- Connect to a Chisel server at specific IP and port, creating a reverse tunnel mapped to a local SOCKS proxy: + +`chisel client {{server_ip}}:{{server_port}} R:socks` diff --git a/pages/common/chkfont.md b/pages/common/chkfont.md new file mode 100644 index 00000000000000..b862ce5d91860e --- /dev/null +++ b/pages/common/chkfont.md @@ -0,0 +1,13 @@ +# chkfont + +> Verify the format of a FIGlet font file (`.flf`). +> See also: `figlet`, `figlist`, `showfigfonts`. +> More information: . + +- Check a font file for formatting errors: + +`chkfont {{path/to/font.flf}}` + +- Check all `.flf` font files in a directory: + +`chkfont {{path/to/fonts}}/*.flf` diff --git a/pages/common/chkrootkit.md b/pages/common/chkrootkit.md new file mode 100644 index 00000000000000..085527097e4d21 --- /dev/null +++ b/pages/common/chkrootkit.md @@ -0,0 +1,36 @@ +# chkrootkit + +> Scan system for rootkits. +> More information: . + +- Enable [q]uiet mode and suppress normal test results: + +`chkrootkit -q` + +- Enable e[x]pert mode and produce additional outputs: + +`chkrootkit -x` + +- Enable [d]ebug mode to show all output: + +`chkrootkit -d` + +- Specify [e]xcluded files for some tests: + +`chkrootkit -e "{{path/to/file}}"` + +- Specify a directory as the [r]oot for testing (e.g. mounted `ext` drives): + +`chkrootkit -r {{path/to/directory}}` + +- Ignore [n]fs-mounted directories: + +`chkrootkit -n` + +- Invoke [T]ests and ignore specific filesystem types: + +`chkrootkit -T {{filesystemtype}}` + +- Generate [l]ist of available tests: + +`chkrootkit -l` diff --git a/pages/common/chmod.md b/pages/common/chmod.md index 400229f8990f31..ef775d77726f9b 100644 --- a/pages/common/chmod.md +++ b/pages/common/chmod.md @@ -1,31 +1,36 @@ # chmod > Change the access permissions of a file or directory. +> More information: . - Give the [u]ser who owns a file the right to e[x]ecute it: -`chmod u+x {{file}}` +`chmod u+x {{path/to/file}}` - Give the [u]ser rights to [r]ead and [w]rite to a file/directory: -`chmod u+rw {{file_or_directory}}` +`chmod u+rw {{path/to/file_or_directory}}` - Remove e[x]ecutable rights from the [g]roup: -`chmod g-x {{file}}` +`chmod g-x {{path/to/file}}` - Give [a]ll users rights to [r]ead and e[x]ecute: -`chmod a+rx {{file}}` +`chmod a+rx {{path/to/file}}` - Give [o]thers (not in the file owner's group) the same rights as the [g]roup: -`chmod o=g {{file}}` +`chmod o=g {{path/to/file}}` - Remove all rights from [o]thers: -`chmod o= {{file}}` +`chmod o= {{path/to/file}}` - Change permissions recursively giving [g]roup and [o]thers the ability to [w]rite: -`chmod -R g+w,o+w {{directory}}` +`chmod {{[-R|--recursive]}} g+w,o+w {{path/to/directory}}` + +- Recursively give [a]ll users [r]ead permissions to files and e[X]ecute permissions to sub-directories within a directory: + +`chmod {{[-R|--recursive]}} a+rX {{path/to/directory}}` diff --git a/pages/common/choose.md b/pages/common/choose.md new file mode 100644 index 00000000000000..51ae0a3beac348 --- /dev/null +++ b/pages/common/choose.md @@ -0,0 +1,36 @@ +# choose + +> A human-friendly and fast alternative to cut and (sometimes) awk. +> More information: . + +- Print the 5th item from a line (starting from 0): + +`choose {{4}}` + +- Print the first, 3rd, and 5th item from a line, where items are separated by ':' instead of whitespace: + +`choose {{[-f|--field-separator]}} '{{:}}' {{0}} {{2}} {{4}}` + +- Print everything from the 2nd to 5th item on the line, including the 5th: + +`choose {{1}}:{{4}}` + +- Print everything from the 2nd to 5th item on the line, excluding the 5th: + +`choose {{[-x|--exclusive]}} {{1}}:{{4}}` + +- Print the beginning of the line to the 3rd item: + +`choose :{{2}}` + +- Print all items from the beginning of the line until the 3rd item (exclusive): + +`choose {{[-x|--exclusive]}} :{{2}}` + +- Print all items from the 3rd to the end of the line: + +`choose {{2}}:` + +- Print the last item from a line: + +`choose {{-1}}` diff --git a/pages/common/chown.md b/pages/common/chown.md index 3e7314397a9f50..351cc67c728750 100644 --- a/pages/common/chown.md +++ b/pages/common/chown.md @@ -1,6 +1,7 @@ # chown > Change user and group ownership of files and directories. +> More information: . - Change the owner user of a file/directory: @@ -10,14 +11,18 @@ `chown {{user}}:{{group}} {{path/to/file_or_directory}}` +- Change the owner user and group to both have the name `user`: + +`chown {{user}}: {{path/to/file_or_directory}}` + - Recursively change the owner of a directory and its contents: -`chown -R {{user}} {{path/to/directory}}` +`chown {{[-R|--recursive]}} {{user}} {{path/to/directory}}` - Change the owner of a symbolic link: -`chown -h {{user}} {{path/to/symlink}}` +`chown {{[-h|--no-dereference]}} {{user}} {{path/to/symlink}}` - Change the owner of a file/directory to match a reference file: -`chown --reference={{path/to/reference_file}} {{path/to/file_or_directory}}` +`chown --reference {{path/to/reference_file}} {{path/to/file_or_directory}}` diff --git a/pages/common/chroma.md b/pages/common/chroma.md index 827eb11b8a88b5..0d22f1ae66eb22 100644 --- a/pages/common/chroma.md +++ b/pages/common/chroma.md @@ -1,16 +1,21 @@ # chroma -> Chroma is a general-purpose syntax highlighting library and corresponding command, for Go. +> A general-purpose syntax highlighter. +> The `--lexer` option is usually unnecessary, as it will be automatically determined based on the file extension. > More information: . -- Highlight a source file with python lexer and output to terminal: +- Highlight source code from a file with the Python lexer and output to `stdout`: -`chroma --lexer="{{python}}" {{source_file}}` +`chroma --lexer {{python}} {{path/to/source_file.py}}` -- Highlight a source file with Go lexer and output to a HTML file: +- Highlight source code from a file with the Go lexer and output to an HTML file: -`chroma --lexer="{{go}}" --formatter="{{html}}" {{source_file}} > {{html_file}}` +`chroma --lexer {{go}} --formatter {{html}} {{path/to/source_file.go}} > {{path/to/target_file.html}}` -- Highlight a source file with C++ lexer and output to an SVG image, using the Monokai style: +- Highlight source code from `stdin` with the C++ lexer and output to an SVG file, using the Monokai style: -`chroma --lexer="{{c++}}" --formatter="{{svg}}" --syle="{{monokai}}" {{source_file}} > {{svg_file}}` +`{{command}} | chroma --lexer {{c++}} --formatter {{svg}} --style {{monokai}} > {{path/to/target_file.svg}}` + +- List available lexers, styles and formatters: + +`chroma --list` diff --git a/pages/common/chromium.md b/pages/common/chromium.md index 7647337d1f8e6f..02d8a5e0d74ab9 100644 --- a/pages/common/chromium.md +++ b/pages/common/chromium.md @@ -1,15 +1,12 @@ # chromium -> Open-source web browser from Google. -> More information: . +> Open-source web browser principally developed and maintained by Google. +> Note: You may need to replace the `chromium` command with your desired web browser, such as `brave`, `google-chrome`, `opera`, or `vivaldi`. +> More information: . -- Open a file: +- Open a specific URL or file: -`chromium {{path/to/file.html}}` - -- Open an URL: - -`chromium {{example.com}}` +`chromium {{https://example.com|path/to/file.html}}` - Open in incognito mode: @@ -19,10 +16,22 @@ `chromium --new-window {{example.com}}` -- Open in app mode (without toolbars, URL bar, buttons, etc.): +- Open in application mode (without toolbars, URL bar, buttons, etc.): -`chromium --app='{{https://example.com}}'` +`chromium --app={{https://example.com}}` - Use a proxy server: `chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Open with a custom profile directory: + +`chromium --user-data-dir={{path/to/directory}}` + +- Open without CORS validation (useful to test an API): + +`chromium --user-data-dir={{path/to/directory}} --disable-web-security` + +- Open with a DevTools window for each tab opened: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages/common/chronic.md b/pages/common/chronic.md new file mode 100644 index 00000000000000..3bbadf52e3e1ad --- /dev/null +++ b/pages/common/chronic.md @@ -0,0 +1,16 @@ +# chronic + +> Display `stdout` and `stderr` of a command if and only if it fails. +> More information: . + +- Display `stdout` and `stderr` of the specified command if and only if it produces a non-zero exit code or crashes: + +`chronic {{command}} {{option1 option2 ...}}` + +- Display `stdout` and `stderr` of the specified command if and only if it produces a non-empty `stderr`: + +`chronic -e {{command}} {{option1 option2 ...}}` + +- Enable [v]erbose mode: + +`chronic -v {{command}} {{option1 option2 ...}}` diff --git a/pages/common/chronyc.md b/pages/common/chronyc.md new file mode 100644 index 00000000000000..61a5a7b8055b84 --- /dev/null +++ b/pages/common/chronyc.md @@ -0,0 +1,28 @@ +# chronyc + +> Query the Chrony NTP daemon. +> More information: . + +- Start `chronyc` in interactive mode: + +`chronyc` + +- Display tracking stats for the Chrony daemon: + +`chronyc tracking` + +- Print the time sources that Chrony is currently using: + +`chronyc sources` + +- Display stats for sources currently used by chrony daemon as a time source: + +`chronyc sourcestats` + +- Step the system clock immediately, bypassing any slewing: + +`chronyc makestep` + +- Display verbose information about each NTP source: + +`chronyc ntpdata` diff --git a/pages/common/chroot.md b/pages/common/chroot.md index 7055c1d71ddaa2..990e11e7479d80 100644 --- a/pages/common/chroot.md +++ b/pages/common/chroot.md @@ -1,11 +1,12 @@ # chroot > Run command or interactive shell with special root directory. +> More information: . - Run command as new root directory: -`chroot {{path/to/new/root}} {{command}}` +`sudo chroot {{path/to/new/root}} {{command}}` -- Specify user and group (ID or name) to use: +- Use a specific user and group: -`chroot --userspec={{user:group}}` +`sudo chroot --userspec {{username_or_id:group_name_or_id}}` diff --git a/pages/common/chsh.md b/pages/common/chsh.md deleted file mode 100644 index 6627cfb8cbb1ca..00000000000000 --- a/pages/common/chsh.md +++ /dev/null @@ -1,7 +0,0 @@ -# chsh - -> Change user's login shell. - -- Change shell: - -`chsh -s {{path/to/shell_binary}} {{username}}` diff --git a/pages/common/cidr.md b/pages/common/cidr.md new file mode 100644 index 00000000000000..aad56f3b5d346e --- /dev/null +++ b/pages/common/cidr.md @@ -0,0 +1,24 @@ +# cidr + +> Simplifies IPv4/IPv6 CIDR network prefix management with counting, overlap checking, explanation, and subdivision. +> More information: . + +- Explain a CIDR range: + +`cidr explain {{10.0.0.0/16}}` + +- Check whether an address belongs to a CIDR range: + +`cidr contains {{10.0.0.0/16}} {{10.0.14.5}}` + +- Get a count of all addresses in a CIDR range: + +`cidr count {{10.0.0.0/16}}` + +- Check whether two CIDR ranges overlap: + +`cidr overlaps {{10.0.0.0/16}} {{10.0.14.0/22}}` + +- Divide a CIDR range into a specific number of networks: + +`cidr divide {{10.0.0.0/16}} {{9}}` diff --git a/pages/common/circo.md b/pages/common/circo.md new file mode 100644 index 00000000000000..17b132d799d0f1 --- /dev/null +++ b/pages/common/circo.md @@ -0,0 +1,25 @@ +# circo + +> Render an image of a `circular` network graph from a `graphviz` file. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> More information: . + +- Render a PNG image with a filename based on the input filename and output format (uppercase -O): + +`circo -T {{png}} -O {{path/to/input.gv}}` + +- Render a SVG image with the specified output filename (lowercase -o): + +`circo -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}` + +- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format: + +`circo -T {{format}} -O {{path/to/input.gv}}` + +- Render a GIF image using `stdin` and `stdout`: + +`echo "{{digraph {this -> that} }}" | circo -T {{gif}} > {{path/to/image.gif}}` + +- Display help: + +`circo -?` diff --git a/pages/common/circup.md b/pages/common/circup.md new file mode 100644 index 00000000000000..70775c567aea76 --- /dev/null +++ b/pages/common/circup.md @@ -0,0 +1,24 @@ +# circup + +> The CircuitPython library updater. +> More information: . + +- Interactively update modules on a device: + +`circup update` + +- Install a new library: + +`circup install {{library_name}}` + +- Search for a library: + +`circup show {{partial_name}}` + +- List all libraries on a connected device in `requirements.txt` format: + +`circup freeze` + +- Save all libraries on a connected device in `requirements.txt` in current directory: + +`circup freeze {{[-r|--requirement]}}` diff --git a/pages/common/cjxl.md b/pages/common/cjxl.md new file mode 100644 index 00000000000000..1db026bdfb6a64 --- /dev/null +++ b/pages/common/cjxl.md @@ -0,0 +1,17 @@ +# cjxl + +> Compress images to JPEG XL. +> Accepted input extensions are PNG, APNG, GIF, JPEG, EXR, PPM, PFM, PAM, PGX, and JXL. +> More information: . + +- Convert an image to JPEG XL: + +`cjxl {{path/to/image.ext}} {{path/to/output.jxl}}` + +- Set quality to lossless and maximize compression of the resulting image: + +`cjxl --distance 0 --effort 9 {{path/to/image.ext}} {{path/to/output.jxl}}` + +- Display an extremely detailed help page: + +`cjxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}` diff --git a/pages/common/cksum.md b/pages/common/cksum.md index d8a3d160043cfc..40f00d0ffd6ad2 100644 --- a/pages/common/cksum.md +++ b/pages/common/cksum.md @@ -1,8 +1,9 @@ # cksum -> Calculates CRC checksums and byte counts of a file. -> Note, on old UNIX systems the CRC implementation may differ. +> Calculate CRC checksums and byte counts of a file. +> Note: On old UNIX systems the CRC implementation may differ. +> More information: . -- Display a 32 bit checksum, size in bytes and filename: +- Display a 32-bit checksum, size in bytes and filename: -`cksum {{filename}}` +`cksum {{path/to/file}}` diff --git a/pages/common/clamav.md b/pages/common/clamav.md new file mode 100644 index 00000000000000..9bda3d1d318931 --- /dev/null +++ b/pages/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> Open-source anti-virus program. +> ClamAV isn't a command, but a set of commands. +> More information: . + +- View documentation for scanning files using the `clamd` daemon: + +`tldr clamdscan` + +- View documentation for scanning files without the `clamd` daemon running: + +`tldr clamscan` + +- View documentation for updating the virus definitions: + +`tldr freshclam` diff --git a/pages/common/clamdscan.md b/pages/common/clamdscan.md new file mode 100644 index 00000000000000..49da6c6086a8f8 --- /dev/null +++ b/pages/common/clamdscan.md @@ -0,0 +1,36 @@ +# clamdscan + +> Scan for viruses using the ClamAV Daemon. +> More information: . + +- Scan a file or directory for vulnerabilities: + +`clamdscan {{path/to/file_or_directory}}` + +- Scan data from `stdin`: + +`{{command}} | clamdscan -` + +- Scan the current directory and output only infected files: + +`clamdscan --infected` + +- Print the scan report to a log file: + +`clamdscan --log {{path/to/log_file}}` + +- Move infected files to a specific directory: + +`clamdscan --move {{path/to/quarantine_directory}}` + +- Remove infected files: + +`clamdscan --remove` + +- Use multiple threads to scan a directory: + +`clamdscan --multiscan` + +- Pass the file descriptor instead of streaming the file to the daemon: + +`clamdscan --fdpass` diff --git a/pages/common/clamscan.md b/pages/common/clamscan.md index 1d203e9e1dc085..dc6ebfab86181b 100644 --- a/pages/common/clamscan.md +++ b/pages/common/clamscan.md @@ -1,7 +1,7 @@ # clamscan -> A command line virus scanner. -> More information: . +> A virus scanner. +> More information: . - Scan a file for vulnerabilities: @@ -9,7 +9,7 @@ - Scan all files recursively in a specific directory: -`clamscan -r {{path/to/directory}}` +`clamscan {{[-r|--recursive]}} {{path/to/directory}}` - Scan data from `stdin`: @@ -17,15 +17,15 @@ - Specify a virus database file or directory of files: -`clamscan --database {{path/to/database_file_or_directory}}` +`clamscan {{[-d|--database]}} {{path/to/database_file_or_directory}}` - Scan the current directory and output only infected files: -`clamscan --infected` +`clamscan {{[-i|--infected]}}` -- Output the scan report to a log file: +- Print the scan report to a log file: -`clamscan --log {{path/to/log_file}}` +`clamscan {{[-l|--log]}} {{path/to/log_file}}` - Move infected files to a specific directory: diff --git a/pages/common/clang++.md b/pages/common/clang++.md new file mode 100644 index 00000000000000..6e73f6c2502524 --- /dev/null +++ b/pages/common/clang++.md @@ -0,0 +1,37 @@ +# clang++ + +> Compile C++ source files. +> Part of LLVM. +> More information: . + +- Compile a set of source code files into an executable binary: + +`clang++ {{path/to/source1.cpp path/to/source2.cpp ...}} {{[-o|--output]}} {{path/to/output_executable}}` + +- Activate output of all errors and warnings: + +`clang++ {{path/to/source.cpp}} -Wall {{[-o|--output]}} {{output_executable}}` + +- Show common warnings, debug symbols in output, and optimize without affecting debugging: + +`clang++ {{path/to/source.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{path/to/output_executable}}` + +- Choose a language standard to compile for: + +`clang++ {{path/to/source.cpp}} -std={{c++20}} {{[-o|--output]}} {{path/to/output_executable}}` + +- Include libraries located at a different path than the source file: + +`clang++ {{path/to/source.cpp}} {{[-o|--output]}} {{path/to/output_executable}} -I{{path/to/header_path}} -L{{path/to/library_path}} -l{{path/to/library_name}}` + +- Compile source code into LLVM Intermediate Representation (IR): + +`clang++ {{[-S|--assemble]}} -emit-llvm {{path/to/source.cpp}} {{[-o|--output]}} {{path/to/output.ll}}` + +- Optimize the compiled program for performance: + +`clang++ {{path/to/source.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{path/to/output_executable}}` + +- Display version: + +`clang++ --version` diff --git a/pages/common/clang-check.md b/pages/common/clang-check.md new file mode 100644 index 00000000000000..3767741d725cd1 --- /dev/null +++ b/pages/common/clang-check.md @@ -0,0 +1,21 @@ +# clang-check + +> Check basic errors and work with Clang's Abstract Syntax Tree (AST). +> Part of Clang's LibTooling and is useful for debugging and analyzing C/C++ code. +> More information: . + +- Run default checks on a source file: + +`clang-check {{path/to/file.cpp}} --` + +- Dump the Abstract Syntax Tree for debugging: + +`clang-check {{path/to/file.cpp}} -ast-dump --` + +- Filter AST by Name: + +`clang-check {{path/to/file.cpp}} -ast-dump -ast-dump-filter FunctionName` + +- Pretty-Print AST: + +`clang-check {{path/to/file.cpp}} -ast-print --` diff --git a/pages/common/clang-cpp.md b/pages/common/clang-cpp.md new file mode 100644 index 00000000000000..8cf0f9203df48a --- /dev/null +++ b/pages/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> This command is an alias of `clang++`. + +- View documentation for the original command: + +`tldr clang++` diff --git a/pages/common/clang-format.md b/pages/common/clang-format.md index dc1510b6d68d47..e955c869bb29e8 100644 --- a/pages/common/clang-format.md +++ b/pages/common/clang-format.md @@ -1,6 +1,6 @@ # clang-format -> Tool to auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code. +> Auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code. > More information: . - Format a file and print the result to `stdout`: @@ -13,7 +13,7 @@ - Format a file using a predefined coding style: -`clang-format --style={{LLVM|Google|Chromium|Mozilla|WebKit}} {{path/to/file}}` +`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} {{path/to/file}}` - Format a file using the `.clang-format` file in one of the parent directories of the source file: @@ -21,4 +21,4 @@ - Generate a custom `.clang-format` file: -`clang-format --style={{LLVM|Google|Chromium|Mozilla|WebKit}} --dump-config > {{.clang-format}}` +`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} --dump-config > {{.clang-format}}` diff --git a/pages/common/clang-tidy.md b/pages/common/clang-tidy.md new file mode 100644 index 00000000000000..8655d677587151 --- /dev/null +++ b/pages/common/clang-tidy.md @@ -0,0 +1,20 @@ +# clang-tidy + +> An LLVM-based C/C++ linter to find style violations, bugs and security flaws through static analysis. +> More information: . + +- Run default checks on a source file: + +`clang-tidy {{path/to/file.cpp}}` + +- Don't run any checks other than the `cppcoreguidelines` checks on a file: + +`clang-tidy {{path/to/file.cpp}} -checks={{-*,cppcoreguidelines-*}}` + +- List all available checks: + +`clang-tidy -checks={{*}} -list-checks` + +- Specify defines and includes as compilation options (after `--`): + +`clang-tidy {{path/to/file.cpp}} -- -I{{my_project/include}} -D{{definitions}}` diff --git a/pages/common/clang.md b/pages/common/clang.md index 0a139371d509b1..ad847a09ae79a7 100644 --- a/pages/common/clang.md +++ b/pages/common/clang.md @@ -1,20 +1,37 @@ # clang -> Compiler for C, C++, and Objective-C source files. Can be used as a drop-in replacement for GCC. +> Compile C, C++, and Objective-C source files. Can be used as a drop-in replacement for GCC. +> Part of LLVM. > More information: . -- Compile a source code file into an executable binary: +- Compile multiple source files into an executable: -`clang {{input_source.c}} -o {{output_executable}}` +`clang {{path/to/source1.c path/to/source2.c ...}} {{[-o|--output]}} {{path/to/output_executable}}` - Activate output of all errors and warnings: -`clang {{input_source.c}} -Wall -o {{output_executable}}` +`clang {{path/to/source.c}} -Wall {{[-o|--output]}} {{output_executable}}` -- Include libraries located at a different path than the source file: +- Show common warnings, debug symbols in output, and optimize without affecting debugging: -`clang {{input_source.c}} -o {{output_executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}` +`clang {{path/to/source.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{path/to/output_executable}}` + +- Include libraries from a different path: + +`clang {{path/to/source.c}} {{[-o|--output]}} {{path/to/output_executable}} -I{{path/to/header}} -L{{path/to/library}} -l{{library_name}}` - Compile source code into LLVM Intermediate Representation (IR): -`clang -S -emit-llvm {{file.c}} -o {{file.ll}}` +`clang {{[-S|--assemble]}} -emit-llvm {{path/to/source.c}} {{[-o|--output]}} {{path/to/output.ll}}` + +- Compile source code into an object file without linking: + +`clang {{[-c|--compile]}} {{path/to/source.c}}` + +- Optimize the compiled program for performance: + +`clang {{path/to/source.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{path/to/output_executable}}` + +- Display version: + +`clang --version` diff --git a/pages/common/clangd.md b/pages/common/clangd.md new file mode 100644 index 00000000000000..9b4bc31b467a97 --- /dev/null +++ b/pages/common/clangd.md @@ -0,0 +1,17 @@ +# clangd + +> Language server that provides IDE-like features to editors. +> It should be used via an editor plugin rather than invoked directly. +> More information: . + +- Display available options: + +`clangd --help` + +- List of available options: + +`clangd --help-list` + +- Display version: + +`clangd --version` diff --git a/pages/common/claude.md b/pages/common/claude.md new file mode 100644 index 00000000000000..5c5e9e48b8bc34 --- /dev/null +++ b/pages/common/claude.md @@ -0,0 +1,24 @@ +# claude + +> An agent-based coding tool that understands your code base and helps you code faster through natural language commands. +> More information: . + +- Execute with prompt: + +`claude prompt` + +- Update `claude`: + +`claude update` + +- Get the list of specified MCP servers: + +`claude mcp list` + +- Create commit with command: + +`claude commit` + +- Get the list of configurations: + +`claude config list` diff --git a/pages/common/clear.md b/pages/common/clear.md index fb7c1daaef13b7..7572098841bdfc 100644 --- a/pages/common/clear.md +++ b/pages/common/clear.md @@ -1,12 +1,13 @@ # clear > Clears the screen of the terminal. +> More information: . -- Clear the screen (equivalent to pressing Control-L in Bash shell): +- Clear the screen: `clear` -- Clear the screen but keep the terminal's scrollback buffer: +- Clear the screen but keep the terminal's scrollback buffer (equivalent to pressing `` in Bash): `clear -x` @@ -14,6 +15,6 @@ `clear -T {{type_of_terminal}}` -- Show the version of `ncurses` used by `clear`: +- Display the version of `ncurses` used by `clear`: `clear -V` diff --git a/pages/common/clementine.md b/pages/common/clementine.md index 1a91012b89a661..e7650fedbef278 100644 --- a/pages/common/clementine.md +++ b/pages/common/clementine.md @@ -1,36 +1,37 @@ # clementine > A modern music player and library organizer. -> More information: . +> See also: `audacious`, `qmmp`, `cmus`, `mpv`. +> More information: . -- Open Clementine: +- Start the GUI or bring it to front: `clementine` -- Start playing a music file: +- Start playing music: -`clementine {{url/or/path/to/file.ext}}` +`clementine {{url|path/to/music.ext}}` - Toggle between pausing and playing: -`clementine --play-pause` +`clementine {{[-t|--play-pause]}}` - Stop playback: -`clementine --stop` +`clementine {{[-s|--stop]}}` -- Skip to the next track: +- Skip to the next or previous track: -`clementine --next` +`clementine --{{next|previous}}` -- Skip to the previous track: +- Create a new playlist with one or more music files or URLs: -`clementine --previous` +`clementine {{[-c|--create]}} {{url1 url2 ...|path/to/music1.ext path/to/music2.ext ...}}` - Load a playlist file: -`clementine --load {{path/to/playlist.ext}}` +`clementine {{[-l|--load]}} {{path/to/playlist.ext}}` -- Play the 5th track in the currently loaded playlist: +- Play a specific track in the currently loaded playlist: -`clementine --play-track {{5}}` +`clementine {{[-k|--play-track]}} {{5}}` diff --git a/pages/common/cli53.md b/pages/common/cli53.md new file mode 100644 index 00000000000000..74ab1f930375cd --- /dev/null +++ b/pages/common/cli53.md @@ -0,0 +1,36 @@ +# cli53 + +> Command line tool for Amazon Route 53. +> More information: . + +- List domains: + +`cli53 list` + +- Create a domain: + +`cli53 create {{example.com}} --comment "{{comment}}"` + +- Export a bind zone file to `stdout`: + +`cli53 export {{example.com}}` + +- Create a `www` subdomain pointing to a relative record in the same zone: + +`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 CNAME lb'}}` + +- Create a `www` subdomain pointing to an external address (must end with a dot): + +`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 CNAME lb.example.com.'}}` + +- Create a `www` subdomain pointing to an IP address: + +`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 A 150.130.110.1'}}` + +- Replace a `www` subdomain pointing to a different IP: + +`cli53 {{[rc|rrcreate]}} --replace {{'www 300 A 150.130.110.2'}}` + +- Delete a record A: + +`cli53 {{[rd|rrdelete]}} {{example.com}} {{www}} {{A}}` diff --git a/pages/common/clido.md b/pages/common/clido.md new file mode 100644 index 00000000000000..19acdf6d3c667d --- /dev/null +++ b/pages/common/clido.md @@ -0,0 +1,36 @@ +# clido + +> Save-state TODO app for the terminal. +> More information: . + +- Create a list: + +`clido --new {{name}}` + +- Load a list: + +`clido --load {{name}}` + +- Delete a list: + +`clido --remove {{name}}` + +- List all lists: + +`clido --lists` + +- Toggle autowrite: + +`clido toggle-autowrite` + +- Open a list in a text editor: + +`clido edit {{text_editor}}` + +- Display help: + +`clido -h` + +- Display version: + +`clido -v` diff --git a/pages/common/clifm.md b/pages/common/clifm.md new file mode 100644 index 00000000000000..67ba3f203ef099 --- /dev/null +++ b/pages/common/clifm.md @@ -0,0 +1,37 @@ +# clifm + +> The command-line file manager. +> See also: `vifm`, `ranger`, `mc`, `nautilus`. +> More information: . + +- Start CliFM: + +`clifm` + +- Open the file or directory whose ELN (entry list number) is 12: + +`12` + +- Create a new file and a new directory: + +`file dir/` + +- Search for PDF files in the current directory: + +`*.pdf` + +- Select all PNG files in the current directory: + +` *.png` + +- Remove the previously selected files (use `` to send the files to the recycle bin instead): + +`sel` + +- Display help: + +`` + +- Exit CliFM: + +`` diff --git a/pages/common/clip-view.md b/pages/common/clip-view.md new file mode 100644 index 00000000000000..941c4108772a16 --- /dev/null +++ b/pages/common/clip-view.md @@ -0,0 +1,33 @@ +# clip-view + +> Command Line Interface Pages render. +> Render for a TlDr-like project with much a more extensive syntax and several render modes. +> More information: . + +- Render specific local pages: + +`clip-view {{path/to/page1.clip path/to/page2.clip ...}}` + +- Render specific remote pages: + +`clip-view {{page_name1 page_name2 ...}}` + +- Render pages by a specific render: + +`clip-view --render {{tldr|tldr-colorful|docopt|docopt-colorful}} {{page_name1 page_name2 ...}}` + +- Render pages with a specific color theme: + +`clip-view --theme {{path/to/local_theme.yaml|remote_theme_name}} {{page_name1 page_name2 ...}}` + +- Clear a page or theme cache: + +`clip-view --clear-{{page|theme}}-cache` + +- Display help: + +`clip-view --help` + +- Display version: + +`clip-view --version` diff --git a/pages/common/clj.md b/pages/common/clj.md index 051b176ff2f189..eeaa1de9393ddc 100644 --- a/pages/common/clj.md +++ b/pages/common/clj.md @@ -1,10 +1,10 @@ # clj -> Clojure tool to start a REPL or invoke a specific function with data. +> Clojure tool to start a REPL or invoke a function with data. > All options can be defined in a `deps.edn` file. > More information: . -- Start a REPL: +- Start a REPL (interactive shell): `clj` @@ -14,16 +14,16 @@ - Run the main function of a specified namespace: -`clj -M -m {{namespace}} {{args}}` +`clj -M {{[-m|--main]}} {{namespace}} {{args}}` -- Prepare a project by resolving dependencies, downloading libraries, and making / caching classpaths: +- Prepare a project by resolving dependencies, downloading libraries, and making/caching classpaths: `clj -P` - Start an nREPL server with the CIDER middleware: -`clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactive` +`clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"}}}' {{[-m|--main]}} nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactive` - Start a REPL for ClojureScript and open a web browser: -`clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.758"}}}' --main cljs.main --repl` +`clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.758"}}}' {{[-m|--main]}} cljs.main {{[-r|--repl]}}` diff --git a/pages/common/cloc.md b/pages/common/cloc.md index f1f7b058ccc62f..fca37106f719ed 100644 --- a/pages/common/cloc.md +++ b/pages/common/cloc.md @@ -1,24 +1,20 @@ # cloc -> Count, and compute differences of, lines of source code and comments. -> More information: . +> Count lines of code. +> More information: . - Count all the lines of code in a directory: `cloc {{path/to/directory}}` -- Count all the lines of code in a directory, displaying a progress bar during the counting process: - -`cloc --progress=1 {{path/to/directory}}` - - Compare 2 directory structures and count the differences between them: -`cloc --diff {{path/to/directory/one}} {{path/to/directory/two}}` +`cloc --diff {{path/to/directory1}} {{path/to/directory2}}` -- Ignore files that are ignored by VCS, such as files specified in .gitignore: +- Ignore files that are ignored by VCS, such as files specified in `.gitignore`: `cloc --vcs git {{path/to/directory}}` -- Count all the lines of code in a directory, displaying the results for each file instead of each language: +- Display the results for each file instead of each language: `cloc --by-file {{path/to/directory}}` diff --git a/pages/common/clockwork-cli.md b/pages/common/clockwork-cli.md index a2099da70910f6..075c5d8c4ad334 100644 --- a/pages/common/clockwork-cli.md +++ b/pages/common/clockwork-cli.md @@ -1,6 +1,6 @@ # clockwork-cli -> A command line interface for the Clockwork PHP debugging framework. +> Interface for the Clockwork PHP debugging framework. > More information: . - Monitor Clockwork logs for the current project: @@ -13,4 +13,4 @@ - Monitor Clockwork logs for multiple projects: -`clockwork-cli {{path/to/directory1 path/to/directory2 …}}` +`clockwork-cli {{path/to/directory1 path/to/directory2 ...}}` diff --git a/pages/common/clojure.md b/pages/common/clojure.md new file mode 100644 index 00000000000000..abab34d0429ed5 --- /dev/null +++ b/pages/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> This command is an alias of `clj`. + +- View documentation for the original command: + +`tldr clj` diff --git a/pages/common/cloudflared.md b/pages/common/cloudflared.md index a5c5d1e7e37dcf..22a8c0b70b9200 100644 --- a/pages/common/cloudflared.md +++ b/pages/common/cloudflared.md @@ -1,12 +1,16 @@ # cloudflared -> Command line tool to create a persistent connection to the Cloudflare network. +> Create a persistent connection to the Cloudflare network. > More information: . - Authenticate and associate the connection to a domain in the Cloudflare account: `cloudflared tunnel login` +- Create a tunnel with a specific name: + +`cloudflared tunnel create {{name}}` + - Establish a tunnel to a host in Cloudflare from the local server: `cloudflared tunnel --hostname {{hostname}} localhost:{{port_number}}` diff --git a/pages/common/clusterdb.md b/pages/common/clusterdb.md new file mode 100644 index 00000000000000..5494688060b582 --- /dev/null +++ b/pages/common/clusterdb.md @@ -0,0 +1,16 @@ +# clusterdb + +> Cluster (reorganize) a PostgreSQL database. +> More information: . + +- Cluster a specific database: + +`clusterdb {{database_name}}` + +- Cluster all databases: + +`clusterdb {{[-a|--all]}}` + +- Cluster a specific table in a database: + +`clusterdb {{[-t|--table]}} {{table_name}} {{database_name}}` diff --git a/pages/common/cmake.md b/pages/common/cmake.md index 73d8bc626d5a9f..4ec7c117713c48 100644 --- a/pages/common/cmake.md +++ b/pages/common/cmake.md @@ -1,13 +1,36 @@ # cmake -> Cross-platform build system generator. -> It generates Makefiles, Visual Studio projects or others, depending on the target system. +> Cross-platform build automation system, that generates recipes for native build systems. > More information: . -- Generate a Makefile and use it to compile a project in the same directory as the source: +- Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory: -`cmake && make` +`cmake {{path/to/project_directory}}` -- Generate a Makefile and use it to compile a project in a separate "build" directory (out-of-source build): +- Use a generated recipe in a given directory to build artifacts: -`cmake -H. -B {{build}} && make -C {{build}}` +`cmake --build {{path/to/build_directory}}` + +- Install the build artifacts into `/usr/local/` and strip debugging symbols: + +`cmake --install {{path/to/build_directory}} --strip` + +- Generate a build recipe, with build type set to `Release` with CMake variable: + +`cmake {{path/to/project_directory}} -D CMAKE_BUILD_TYPE=Release` + +- Generate a build recipe using `generator_name` as the underlying build system: + +`cmake -G {{generator_name}} {{path/to/project_directory}}` + +- Install the build artifacts using a custom prefix for paths: + +`cmake --install {{path/to/build_directory}} --strip --prefix {{path/to/directory}}` + +- Run a custom build target: + +`cmake --build {{path/to/build_directory}} {{[-t|--target]}} {{target_name}}` + +- Display help: + +`cmake {{[-h|--help]}}` diff --git a/pages/common/cmark.md b/pages/common/cmark.md index 27368a565399a0..cc56aae9e936d2 100644 --- a/pages/common/cmark.md +++ b/pages/common/cmark.md @@ -1,13 +1,13 @@ # cmark -> Converts CommonMark Markdown formatted text to other formats. +> Convert CommonMark Markdown formatted text to other formats. > More information: . -- Render a Commonmark Markdown file to HTML: +- Render a CommonMark Markdown file to HTML: `cmark --to html {{filename.md}}` -- Convert data from standard input to latex: +- Convert data from `stdin` to LaTeX: `cmark --to latex` @@ -15,6 +15,6 @@ `cmark --smart --to html {{filename.md}}` -- Validate utf8 characters: +- Validate UTF-8 characters: `cmark --validate-utf8 {{filename.md}}` diff --git a/pages/common/cmatrix.md b/pages/common/cmatrix.md index bce9bd3716bc2b..989022e63af0d0 100644 --- a/pages/common/cmatrix.md +++ b/pages/common/cmatrix.md @@ -1,20 +1,24 @@ # cmatrix > Shows a scrolling Matrix like screen in the terminal. -> More information: . +> More information: . -- Enable asynchronous scrolling: +- Enable [a]synchronous scrolling: `cmatrix -a` -- Display red text: +- Change the text [C]olor (green by default): `cmatrix -C {{red}}` -- Enable rainbow mode: +- Enable [r]ainbow mode: `cmatrix -r` -- Set screen update delay to 2 centiseconds: +- Use a screen [u]pdate delay of 100 centiseconds (1 second): -`cmatrix -u {{2}}` +`cmatrix -u 100` + +- Use [s]creensaver mode where the first keystroke exits: + +`cmatrix -s` diff --git a/pages/common/cmctl.md b/pages/common/cmctl.md new file mode 100644 index 00000000000000..02ae387ef80dd7 --- /dev/null +++ b/pages/common/cmctl.md @@ -0,0 +1,21 @@ +# cmctl + +> Manage cert-manager resources inside your cluster. +> Check cert signing status, approve/deny requests, and issue new certificate requests. +> More information: . + +- Check if the cert-manager API is ready: + +`cmctl check api` + +- Check the status of a certificate: + +`cmctl status certificate {{cert_name}}` + +- Create a new certificate request based on an existing certificate: + +`cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}}` + +- Create a new certificate request, fetch the signed certificate, and set a maximum wait time: + +`cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}} --fetch-certificate --timeout {{20m}}` diff --git a/pages/common/cmd-wrapped.md b/pages/common/cmd-wrapped.md new file mode 100644 index 00000000000000..2bc45f2c9bd3ac --- /dev/null +++ b/pages/common/cmd-wrapped.md @@ -0,0 +1,24 @@ +# cmd-wrapped + +> View shell history statistics. +> More information: . + +- Fetch current statistics: + +`cmd-wrapped` + +- Fetch statistics from a specific year: + +`cmd-wrapped {{year}}` + +- Specify a shell: + +`cmd-wrapped {{[-s|--shell]}} {{shell}}` + +- Display help: + +`cmd-wrapped {{[-h|--help]}}` + +- Display version: + +`cmd-wrapped {{[-V|--version]}}` diff --git a/pages/common/cmp.md b/pages/common/cmp.md index 9f392cb94e30d8..db15fdea740cc5 100644 --- a/pages/common/cmp.md +++ b/pages/common/cmp.md @@ -1,11 +1,20 @@ # cmp -> Compare two files. +> Compare two files byte by byte. +> More information: . -- Find the byte number and line number of the first difference between the files: +- Output char and line number of the first difference between two files: -`cmp {{file1}} {{file2}}` +`cmp {{path/to/file1}} {{path/to/file2}}` -- Find the byte number and differing bytes of every difference: +- Output info of the first difference: char, line number, bytes, and values: -`cmp -l {{file1}} {{file2}}` +`cmp {{[-b|--print-bytes]}} {{path/to/file1}} {{path/to/file2}}` + +- Output the byte numbers and values of every difference: + +`cmp {{[-l|--verbose]}} {{path/to/file1}} {{path/to/file2}}` + +- Compare files but output nothing, yield only the exit status: + +`cmp {{[-s|--quiet]}} {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/cmuwmtopbm.md b/pages/common/cmuwmtopbm.md new file mode 100644 index 00000000000000..9f63629251d818 --- /dev/null +++ b/pages/common/cmuwmtopbm.md @@ -0,0 +1,9 @@ +# cmuwmtopbm + +> Convert a CMU window manager bitmap to a PBM image. +> See also: `pbmtocmuwm`. +> More information: . + +- Convert a CMU window manager bitmap to a PBM image: + +`cmuwmtopbm {{path/to/image.pbm}} > {{path/to/output.bmp}}` diff --git a/pages/common/code.md b/pages/common/code.md index 129252f929c6f4..26b5aea11cb359 100644 --- a/pages/common/code.md +++ b/pages/common/code.md @@ -1,28 +1,36 @@ # code -> Visual Studio Code. -> More information: . +> Cross platform and extensible code editor. +> More information: . -- Open VS Code: +- Start Visual Studio Code: `code` -- Open the current directory in VS Code: +- Open specific files/directories: -`code .` +`code {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` -- Open a file or directory in VS Code: +- Compare two specific files: -`code {{path/to/file_or_directory}}` +`code {{[-d|--diff]}} {{path/to/file1}} {{path/to/file2}}` -- Open a file or directory in the currently open VS Code window: +- Open specific files/directories in a new window: -`code --reuse-window {{path/to/file_or_directory}}` +`code {{[-n|--new-window]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` -- Compare two files in VS Code: +- Install/uninstall a specific extension: -`code -d {{file1}} {{file2}}` +`code --{{install|uninstall}}-extension {{publisher.extension}}` -- Open VS Code with super user (sudo) permissions: +- Display diagnostic and process information about the running code window: -`sudo code {{path/to/file_or_directory}} --user-data-dir` +`code {{[-s|--status]}}` + +- Print installed extensions with their versions: + +`code --list-extensions --show-versions` + +- Start the editor as a superuser (root) while storing user data in a specific directory: + +`sudo code --user-data-dir {{path/to/directory}}` diff --git a/pages/common/codecrafters.md b/pages/common/codecrafters.md new file mode 100644 index 00000000000000..847a88a96af5fa --- /dev/null +++ b/pages/common/codecrafters.md @@ -0,0 +1,20 @@ +# codecrafters + +> Practice writing complex software. +> More information: . + +- Run tests without committing changes: + +`codecrafters test` + +- Run tests for all previous stages and the current stage without committing changes: + +`codecrafters test --previous` + +- Commit changes and submit, to move to the next stage: + +`codecrafters submit` + +- Update language version: + +`codecrafters update-buildpack` diff --git a/pages/common/codespell.md b/pages/common/codespell.md new file mode 100644 index 00000000000000..1b1f8e865e2555 --- /dev/null +++ b/pages/common/codespell.md @@ -0,0 +1,36 @@ +# codespell + +> Spellchecker for source code. +> More information: . + +- Check for typos in all text files in the current directory, recursively: + +`codespell` + +- Correct all typos found in-place: + +`codespell --write-changes` + +- Skip files with names that match the specified pattern (accepts a comma-separated list of patterns using wildcards): + +`codespell --skip "{{pattern}}"` + +- Use a custom dictionary file when checking (`--dictionary` can be used multiple times): + +`codespell --dictionary {{path/to/file.txt}}` + +- Do not check words that are listed in the specified file: + +`codespell --ignore-words {{path/to/file.txt}}` + +- Do not check the specified words: + +`codespell --ignore-words-list {{ignored_word1,ignored_word2,...}}` + +- Print 3 lines of context around, before or after each match: + +`codespell --{{context|before-context|after-context}} {{3}}` + +- Check file names for typos, in addition to file contents: + +`codespell --check-filenames` diff --git a/pages/common/codex.md b/pages/common/codex.md new file mode 100644 index 00000000000000..3f84279581a776 --- /dev/null +++ b/pages/common/codex.md @@ -0,0 +1,33 @@ +# codex + +> Natural language code assistant for the terminal, powered by OpenAI. +> Reads and edits files in your current directory to fulfill requests. +> More information: . + +- Start an interactive Codex session in the current directory: + +`codex` + +- Run a single Codex command using a prompt: + +`codex "{{your prompt}}"` + +- Run a prompt with automatic approval of all file edits and commands: + +`codex {{[-a|--approval-mode]}} full-auto "{{your prompt}}"` + +- Use a specific provider and model: + +`codex --provider {{provider_name}} {{[-m|--model]}} {{model_name}} "{{your prompt}}"` + +- Load the entire repository as context (experimental): + +`codex --full-context "{{your prompt}}"` + +- Show the resource usage for the current session (run this command inside a session): + +`/cost` + +- Display help: + +`codex --help` diff --git a/pages/common/coffee.md b/pages/common/coffee.md index 94ee1b0e77b890..eca2d3d7205f26 100644 --- a/pages/common/coffee.md +++ b/pages/common/coffee.md @@ -1,6 +1,6 @@ # coffee -> Executes CoffeeScript scripts or compiles them into JavaScript. +> Execute CoffeeScript scripts or compiles them into JavaScript. > More information: . - Run a script: @@ -15,7 +15,7 @@ `coffee --compile {{path/to/file.coffee}} --output {{path/to/file.js}}` -- Run interactive REPL: +- Start a REPL (interactive shell): `coffee --interactive` diff --git a/pages/common/cola.md b/pages/common/cola.md new file mode 100644 index 00000000000000..68fc41522faf0a --- /dev/null +++ b/pages/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> This command is an alias of `git-cola`. + +- View documentation for the original command: + +`tldr git-cola` diff --git a/pages/common/colima.md b/pages/common/colima.md new file mode 100644 index 00000000000000..ffafaea9c11af6 --- /dev/null +++ b/pages/common/colima.md @@ -0,0 +1,36 @@ +# colima + +> Container runtimes for macOS and Linux with minimal setup. +> More information: . + +- Start the daemon in the background: + +`colima start` + +- Create a configuration file and use it: + +`colima start --edit` + +- Start and setup containerd (install `nerdctl` to use containerd via `nerdctl`): + +`colima start --runtime containerd` + +- Start with Kubernetes (`kubectl` is required): + +`colima start --kubernetes` + +- Customize CPU count, RAM memory and disk space (in GiB): + +`colima start --cpu {{number}} --memory {{memory}} --disk {{storage_space}}` + +- Use Docker via Colima (Docker is required): + +`colima start` + +- List containers with their information and status: + +`colima list` + +- Show runtime status: + +`colima status` diff --git a/pages/common/colon.md b/pages/common/colon.md new file mode 100644 index 00000000000000..7009c919cff41b --- /dev/null +++ b/pages/common/colon.md @@ -0,0 +1,12 @@ +# : + +> Returns a successful exit status code of 0. +> More information: . + +- Return a successful exit code: + +`:` + +- Make a command always exit with 0: + +`{{command}} || :` diff --git a/pages/common/colordiff.md b/pages/common/colordiff.md index cf5e3eb41f5d73..419db5e9918af8 100644 --- a/pages/common/colordiff.md +++ b/pages/common/colordiff.md @@ -1,7 +1,7 @@ # colordiff -> A tool to colorize diff output. -> The Perl script colordiff is a wrapper for `diff` and produces the same output but with pretty syntax highlighting. Colour schemes can be customized. +> A wrapper around `diff` that produces the same output but with pretty syntax highlighting. +> Color schemes can be customized. > More information: . - Compare files: @@ -20,6 +20,6 @@ `colordiff -s {{file1}} {{file2}}` -- Ignore white spaces: +- Ignore whitespace: `colordiff -w {{file1}} {{file2}}` diff --git a/pages/common/colorls.md b/pages/common/colorls.md new file mode 100644 index 00000000000000..30f1845d818650 --- /dev/null +++ b/pages/common/colorls.md @@ -0,0 +1,20 @@ +# colorls + +> Beautify `ls` command output, with color and font-awesome icons. Available as a Ruby gem. +> More information: . + +- List files one per line: + +`colorls -1` + +- List all files, including hidden files: + +`colorls --all` + +- Long format list (permissions, ownership, size, and modification date) of all files: + +`colorls --long --all` + +- Only list directories: + +`colorls --dirs` diff --git a/pages/common/colorpicker.md b/pages/common/colorpicker.md new file mode 100644 index 00000000000000..726ea6409f53f1 --- /dev/null +++ b/pages/common/colorpicker.md @@ -0,0 +1,25 @@ +# colorpicker + +> A minimalist X11 colorpicker. +> Any mouse gesture except `` will exit the program. +> More information: . + +- Launch colorpicker and print the hexadecimal and RGB value of each clicked pixel to `stdout`: + +`colorpicker` + +- Only print the color of one clicked pixel and then exit: + +`colorpicker --one-shot` + +- Print the color of each clicked pixel and quit when a key is pressed: + +`colorpicker --quit-on-keypress` + +- Only print the RGB value: + +`colorpicker --rgb` + +- Only print the hexadecimal value: + +`colorpicker --hex` diff --git a/pages/common/column.md b/pages/common/column.md deleted file mode 100644 index 6cb8139c73257b..00000000000000 --- a/pages/common/column.md +++ /dev/null @@ -1,20 +0,0 @@ -# column - -> Format standard input or file into multiple columns. -> Rows are filled before columns; default separator is whitespace. - -- Format output for a 30 characters wide display: - -`printf "header1 header2\nbar foo\n" | column -c {{30}}` - -- Split columns automatically and auto-align in a tabular format: - -`printf "header1 header2\nbar foo\n" | column -t` - -- Specify column delimiter character for the -t option (e.g. "," for csv); default is whitespace: - -`printf "header1,header2\nbar,foo\n" | column -t -s{{,}}` - -- Fill columns before filling rows: - -`printf "header1\nbar\nfoobar\n" | column -c {{30}} -x` diff --git a/pages/common/combine.md b/pages/common/combine.md new file mode 100644 index 00000000000000..34e28ca6ac7dca --- /dev/null +++ b/pages/common/combine.md @@ -0,0 +1,22 @@ +# combine + +> Perform set operations on lines of two files. +> The order of the output lines is determined by the order of the lines in the first file. +> See also: `diff`. +> More information: . + +- Output lines that are in both specified files: + +`combine {{path/to/file1}} and {{path/to/file2}}` + +- Output lines that are in the first but not in the second file: + +`combine {{path/to/file1}} not {{path/to/file2}}` + +- Output lines that in are in either of the specified files: + +`combine {{path/to/file1}} or {{path/to/file2}}` + +- Output lines that are in exactly one of the specified files: + +`combine {{path/to/file1}} xor {{path/to/file2}}` diff --git a/pages/common/comby.md b/pages/common/comby.md new file mode 100644 index 00000000000000..0d214ecd3e3c89 --- /dev/null +++ b/pages/common/comby.md @@ -0,0 +1,20 @@ +# comby + +> Tool for structural code search and replace that supports many languages. +> More information: . + +- Match and rewrite templates, and print changes: + +`comby '{{assert_eq!(:[a], :[b])}}' '{{assert_eq!(:[b], :[a])}}' {{.rs}}` + +- Match and rewrite with rewrite properties: + +`comby '{{assert_eq!(:[a], :[b])}}' '{{assert_eq!(:[b].Capitalize, :[a])}}' {{.rs}}` + +- Match and rewrite in-place: + +`comby -in-place '{{match_pattern}}' '{{rewrite_pattern}}'` + +- Only perform matching and print matches: + +`comby -match-only '{{match_pattern}}' ""` diff --git a/pages/common/comm.md b/pages/common/comm.md index b7333e9377e666..6f4f9f7a3626a9 100644 --- a/pages/common/comm.md +++ b/pages/common/comm.md @@ -1,6 +1,7 @@ # comm > Select or reject lines common to two files. Both files must be sorted. +> More information: . - Produce three tab-separated columns: lines only in first file, lines only in second file and common lines: diff --git a/pages/common/comma.md b/pages/common/comma.md new file mode 100644 index 00000000000000..ac081dc6e3129a --- /dev/null +++ b/pages/common/comma.md @@ -0,0 +1,7 @@ +# comma + +> This command is an alias of `,`. + +- View documentation for the original command: + +`tldr ,` diff --git a/pages/common/command.md b/pages/common/command.md index d2bf9af48c0a77..c89a202e7246d3 100644 --- a/pages/common/command.md +++ b/pages/common/command.md @@ -1,11 +1,16 @@ # command > Command forces the shell to execute the program and ignore any functions, builtins and aliases with the same name. +> More information: . -- Execute the ls program literally, even if an ls alias exists: +- Execute the `ls` program literally, even if an `ls` alias exists: `command {{ls}}` +- Find and execute a command using a default `$PATH` (`/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc`) that guarantees to find all standard utilities: + +`command -p {{command_name}}` + - Display the path to the executable or the alias definition of a specific command: `command -v {{command_name}}` diff --git a/pages/common/compare.md b/pages/common/compare.md index c9367b06653c6b..8c11516d592c85 100644 --- a/pages/common/compare.md +++ b/pages/common/compare.md @@ -1,12 +1,7 @@ # compare -> View the difference between 2 images. -> More information: . +> This command is an alias of `magick compare`. -- Compare 2 images: +- View documentation for the original command: -`compare {{image1.png}} {{image2.png}} {{diff.png}}` - -- Compare 2 images using a custom metric: - -`compare -verbose -metric {{PSNR}} {{image1.png}} {{image2.png}} {{diff.png}}` +`tldr magick compare` diff --git a/pages/common/compgen.md b/pages/common/compgen.md new file mode 100644 index 00000000000000..88f7b6aab8ca1a --- /dev/null +++ b/pages/common/compgen.md @@ -0,0 +1,38 @@ +# compgen + +> Bash built-in command for generating possible completion matches in Bash. +> Usually used within custom completion functions. +> See also: `complete`, `compopt`. +> More information: . + +- List all shell built-ins, aliases, functions and executables that you could run: + +`compgen -c` + +- List all commands that you could run that start with a specified string and save results to `COMPREPLY`: + +`compgen -V COMPREPLY -c {{str}}` + +- Match against a wordlist: + +`compgen -W "{{apple orange banana}}" {{a}}` + +- List all aliases: + +`compgen -a` + +- List all functions that you could run: + +`compgen -A function` + +- Show shell reserved keywords: + +`compgen -k` + +- See all available commands/aliases starting with 'ls': + +`compgen -ac {{ls}}` + +- List all users on the system: + +`compgen -u` diff --git a/pages/common/complete.md b/pages/common/complete.md index 2dce89ed3c450a..a289c8707dfbd6 100644 --- a/pages/common/complete.md +++ b/pages/common/complete.md @@ -1,15 +1,30 @@ # complete -> Provides argument autocompletion to shell commands. +> Get and set argument autocompletion rules of shell commands in Bash. +> The specified completions will be invoked when `` is pressed in Bash. +> See also: `compgen`, `compopt`. +> More information: . -- Apply a function that performs autocompletion to a command: +- Set arguments of a command to autocomplete through a function (completion response is sent in `COMPREPLY` variable): `complete -F {{function}} {{command}}` -- Apply a command that performs autocompletion to another command: +- Set arguments of a command to autocomplete through another command (`$1` is the command, `$2` is the argument the cursor is on, and `$3` is the argument preceding the cursor): `complete -C {{autocomplete_command}} {{command}}` +- Set arguments of a command to autocomplete to shell builtins: + +`complete -b {{command}}` + - Apply autocompletion without appending a space to the completed word: `complete -o nospace -F {{function}} {{command}}` + +- List all loaded complete specifications: + +`complete -p` + +- List loaded complete specifications for a command: + +`complete -p {{command}}` diff --git a/pages/common/compopt.md b/pages/common/compopt.md new file mode 100644 index 00000000000000..5365ceef34f01b --- /dev/null +++ b/pages/common/compopt.md @@ -0,0 +1,22 @@ +# compopt + +> Print or change the completion options for a command. +> `-o` means enabled and `+o` means disabled. +> See also: `compgen`, `complete`. +> More information: . + +- Print the completion options for given command: + +`compopt {{command}}` + +- Enable or disable a completion option of a command: + +`compopt {{-o|+o}} {{option1}} {{-o|+o}} {{option2}} {{command}}` + +- Print the options for the currently executing completion: + +`compopt` + +- Enable or disable a completion option of a command: + +`compopt {{-o|+o}} {{option1}} {{-o|+o}} {{option2}}` diff --git a/pages/common/composer-audit.md b/pages/common/composer-audit.md new file mode 100644 index 00000000000000..1678f255f9c149 --- /dev/null +++ b/pages/common/composer-audit.md @@ -0,0 +1,25 @@ +# composer audit + +> Analyze a PHP project's dependencies to detect known security vulnerabilities and list affected packages. +> See also: `composer`. +> More information: . + +- Check for security vulnerabilities in your current project: + +`composer audit` + +- Omit dev dependencies in the audit: + +`composer audit --no-dev` + +- Filter vulnerabilities by output format: + +`composer audit --format {{table|plain|json|summary}}` + +- Output audit results to a file in JSON format: + +`composer audit --format json > audit_report.json` + +- Verify whether a specific package in your project is affected by security issues: + +`composer audit {{vendor}}/{{package}}` diff --git a/pages/common/composer-require-checker.md b/pages/common/composer-require-checker.md new file mode 100644 index 00000000000000..d0c5eeb6bcf6cf --- /dev/null +++ b/pages/common/composer-require-checker.md @@ -0,0 +1,12 @@ +# composer-require-checker + +> Analyze Composer dependencies for soft dependencies. +> More information: . + +- Analyze a Composer JSON file: + +`composer-require-checker check {{path/to/composer.json}}` + +- Analyze a Composer JSON file with a specific configuration: + +`composer-require-checker check --config-file {{path/to/config.json}} {{path/to/composer.json}}` diff --git a/pages/common/composer.md b/pages/common/composer.md index 40850ffa128e01..4017cab44028eb 100644 --- a/pages/common/composer.md +++ b/pages/common/composer.md @@ -1,35 +1,35 @@ # composer > A package-based dependency manager for PHP projects. -> More information: . +> More information: . - Interactively create a `composer.json` file: `composer init` -- Add a package as a dependency for this project, adding it to `composer.json`: +- Add a package as a dependency for this project, adding an entry to `composer.json`: -`composer require {{user/package_name}}` +`composer require {{user/package}}` - Install all the dependencies in this project's `composer.json` and create `composer.lock`: `composer install` -- Uninstall a package from this project, removing it as a dependency from `composer.json`: +- Uninstall a package from this project, removing it as a dependency from `composer.json` and `composer.lock`: -`composer remove {{user/package_name}}` +`composer remove {{user/package}}` -- Update all the dependencies in this project's `composer.json` and note versions in `composer.lock` file: +- Update all the dependencies in this project's `composer.json` and note new versions in `composer.lock` file: `composer update` -- Update composer lock only after updating `composer.json` manually: +- Update only `composer.lock` after updating `composer.json` manually: `composer update --lock` - Learn more about why a dependency can't be installed: -`composer why-not {{user/package_name}}` +`composer why-not {{user/package}}` - Update composer to its latest version: diff --git a/pages/common/conan-frogarian.md b/pages/common/conan-frogarian.md deleted file mode 100644 index 5041569411cb84..00000000000000 --- a/pages/common/conan-frogarian.md +++ /dev/null @@ -1,8 +0,0 @@ -# conan frogarian - -> Displays the conan frogarian. -> More information: . - -- Display the conan frogarian: - -`conan frogarian` diff --git a/pages/common/conan.md b/pages/common/conan.md index ed5f36f783f7b3..6e488789924369 100644 --- a/pages/common/conan.md +++ b/pages/common/conan.md @@ -1,13 +1,14 @@ # conan -> The open source, decentralized and multi-platform package manager to create and share all your native binaries. -> More information: . +> The open source, decentralized and cross-platform package manager to create and share all your native binaries. +> Some subcommands such as `frogarian` have their own usage documentation. +> More information: . -- Install packages based on conanfile.txt: +- Install packages based on `conanfile.txt`: `conan install {{.}}` -- Install packages and create configuation files for a specific generator: +- Install packages and create configuration files for a specific generator: `conan install -g {{generator}}` @@ -25,4 +26,4 @@ - List remotes: -`conan remote --list` +`conan remote list` diff --git a/pages/common/conda-activate.md b/pages/common/conda-activate.md new file mode 100644 index 00000000000000..38a6d91743440b --- /dev/null +++ b/pages/common/conda-activate.md @@ -0,0 +1,25 @@ +# conda activate + +> Activate a conda environment. +> See also: `conda deactivate` to deactivate a conda environment. +> More information: . + +- Activate an existing environment named `myenv`: + +`conda activate myenv` + +- Activate an existing environment located at custom path: + +`conda activate {{path/to/myenv}}` + +- Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible: + +`conda activate --stack myenv` + +- Start a clean environment `myenv` without stacking it making previous environment libraries/commands/variables not accessible: + +`conda activate --no-stack myenv` + +- Display help: + +`conda activate {{[-h|--help]}}` diff --git a/pages/common/conda-clean.md b/pages/common/conda-clean.md new file mode 100644 index 00000000000000..e520ba63f8edac --- /dev/null +++ b/pages/common/conda-clean.md @@ -0,0 +1,28 @@ +# conda clean + +> Delete temporary or unused files: index cache, lock files, unused cache packages, tarballs, and log files. +> More information: . + +- Delete all temporary or unused files verbosely and say yes to all confirmations: + +`conda clean {{[-avy|--all --verbose --yes]}}` + +- Delete only index cache, tarballs, and log files: + +`conda clean {{[-itl|--index-cache --tarballs --logfiles]}}` + +- Delete only temporary [c]ache files that could not be deleted earlier due to being in use: + +`conda clean {{[-c|--tempfiles]}} {{path/to/tempfiles}}` + +- Delete only unused packages. Might delete packages installed with softlinks: + +`conda clean {{[-p|--packages]}}` + +- Force delete all writable packages. More broad than the `--all` option. Will delete packages installed with softlinks: + +`conda clean {{[-f|--force-pkgs-dirs]}}` + +- Display help: + +`conda clean {{[-h|--help]}}` diff --git a/pages/common/conda-compare.md b/pages/common/conda-compare.md new file mode 100644 index 00000000000000..256188ec893abb --- /dev/null +++ b/pages/common/conda-compare.md @@ -0,0 +1,20 @@ +# conda compare + +> Compare packages between conda environments. +> More information: . + +- Compare packages in the current directory to packages from the file `file.yml`: + +`conda compare file.yml` + +- Compare packages in environment named `myenv` to packages from the file `file.yml`: + +`conda compare {{[-n|--name]}} myenv {{path/to/file.yml}}` + +- Compare packages in environment `myenv` at custom path (i.e. prefix) to packages from the file `file.yml`: + +`conda compare {{[-p|--prefix]}} {{path/to/myenv}} {{path/to/file.yml}}` + +- Display help: + +`conda create {{[-h|--help]}}` diff --git a/pages/common/conda-create.md b/pages/common/conda-create.md new file mode 100644 index 00000000000000..5d1831ff1dd2f2 --- /dev/null +++ b/pages/common/conda-create.md @@ -0,0 +1,24 @@ +# conda create + +> Create new conda environments. +> More information: . + +- Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations: + +`conda create {{[-ny|--name --yes]}} {{py39}} python={{3.9}} "{{numpy>=1.11 scipy}}"` + +- Create a new environment named `myenv` and install packages listed in files: + +`conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}` + +- Create a new environment named `myenv` at custom path (i.e. prefix): + +`conda create {{[-p|--prefix]}} {{path/to/myenv}}` + +- Make exact copy of an environment named `py39`: + +`conda create --clone py39 {{[-n|--name]}} {{py39-copy}}` + +- Display help: + +`conda create {{[-h|--help]}}` diff --git a/pages/common/conda-deactivate.md b/pages/common/conda-deactivate.md new file mode 100644 index 00000000000000..91ef2b7b39add3 --- /dev/null +++ b/pages/common/conda-deactivate.md @@ -0,0 +1,8 @@ +# conda deactivate + +> Deactivate a conda environment. +> More information: . + +- Deactivate a conda environment: + +`conda deactivate` diff --git a/pages/common/conda-doctor.md b/pages/common/conda-doctor.md new file mode 100644 index 00000000000000..2312232e4afc48 --- /dev/null +++ b/pages/common/conda-doctor.md @@ -0,0 +1,20 @@ +# conda doctor + +> Display a health report for your environment. +> More information: . + +- View report for the currently active environment: + +`conda doctor` + +- Specify an environment by name: + +`conda doctor {{[-n|--name]}} {{environment_name}}` + +- Specify an environment by its path: + +`conda doctor {{[-p|--prefix]}} {{path/to/environment}}` + +- Enable verbose output (Note: the `-v` flag can be repeated to increase verbosity): + +`conda doctor {{[-v|--verbose]}}` diff --git a/pages/common/conda-env.md b/pages/common/conda-env.md new file mode 100644 index 00000000000000..37337df22d4d3b --- /dev/null +++ b/pages/common/conda-env.md @@ -0,0 +1,32 @@ +# conda env + +> Manage conda environments. +> More information: . + +- Create an environment from an environment file (YAML, TXT, etc.): + +`conda env create {{[-f|--file]}} {{path/to/file}}` + +- Delete an environment and everything in it: + +`conda env remove {{[-n|--name]}} {{environment_name}}` + +- Update an environment based on an environment file: + +`conda env update {{[-f|--file]}} {{path/to/file}} --prune` + +- List all environments: + +`conda env list` + +- View environment details: + +`conda env export` + +- List environment variables: + +`conda env config vars list` + +- Set environment variables: + +`conda env config vars set {{my_var}}={{value}}` diff --git a/pages/common/conda-info.md b/pages/common/conda-info.md new file mode 100644 index 00000000000000..0ed415b8934617 --- /dev/null +++ b/pages/common/conda-info.md @@ -0,0 +1,24 @@ +# conda info + +> Display details about the conda installation. +> More information: . + +- Show all information: + +`conda info {{[-a|--all]}}` + +- Display base environment path: + +`conda info --base` + +- List all conda environments: + +`conda info {{[-e|--envs]}}` + +- List environment variables: + +`conda info {{[-s|--system]}}` + +- Display list of channels with tokens exposed: + +`conda info --unsafe-channels` diff --git a/pages/common/conda-install.md b/pages/common/conda-install.md new file mode 100644 index 00000000000000..ea56999c6df457 --- /dev/null +++ b/pages/common/conda-install.md @@ -0,0 +1,32 @@ +# conda install + +> Install packages into an existing conda environment. +> More information: . + +- Install one or more package into the currently active conda environment: + +`conda install {{package1 package2 ...}}` + +- Install a single package into the currently active conda environment using channel conda-forge: + +`conda install {{[-c|--channel]}} conda-forge {{package}}` + +- Install a single package into the currently active conda environment using channel conda-forge and ignoring other channels: + +`conda install {{[-c|--channel]}} conda-forge --override-channels {{package}}` + +- Install a specific version of a package: + +`conda install {{package}}={{version}}` + +- Install a package into a specific environment: + +`conda install {{[-n|--name]}} {{environment}} {{package}}` + +- Update a package in the current environment: + +`conda install --upgrade {{package}}` + +- Install a package and agree to the transactions without prompting: + +`conda install {{[-y|--yes]}} {{package}}` diff --git a/pages/common/conda-list.md b/pages/common/conda-list.md new file mode 100644 index 00000000000000..ff9ec1b82f87c3 --- /dev/null +++ b/pages/common/conda-list.md @@ -0,0 +1,24 @@ +# conda list + +> List installed packages in a conda environment. +> More information: . + +- List all packages in the current environment: + +`conda list` + +- List packages in the named environment: + +`conda list {{[-n|--name]}} {{environment}}` + +- List packages installed in a given path: + +`conda list {{[-p|--prefix]}} {{path/to/environment}}` + +- Filter installed packages using `regex`: + +`conda list {{regex}}` + +- Save packages for future use: + +`conda list {{[-e|--export]}} > {{path/to/package-list.txt}}` diff --git a/pages/common/conda-remove.md b/pages/common/conda-remove.md new file mode 100644 index 00000000000000..130d7107994f28 --- /dev/null +++ b/pages/common/conda-remove.md @@ -0,0 +1,20 @@ +# conda remove + +> Remove packages from a conda environment. +> More information: . + +- Remove `scipy` from the currently active environment: + +`conda remove scipy` + +- Remove a list of packages from the specified environment: + +`conda remove {{[-n|--name]}} {{environment_name}} {{package1 package2 ...}}` + +- Remove all packages and the environment itself: + +`conda remove {{[-n|--name]}} {{environment_name}} --all` + +- Remove all packages, but keep the environment: + +`conda remove {{[-n|--name]}} {{environment_name}} --all --keep-env` diff --git a/pages/common/conda-rename.md b/pages/common/conda-rename.md new file mode 100644 index 00000000000000..4e205afd5ef75f --- /dev/null +++ b/pages/common/conda-rename.md @@ -0,0 +1,13 @@ +# conda rename + +> Rename an existing conda environment. +> The base environment and the currently-active environment cannot be renamed. +> More information: . + +- Rename an environment via its name: + +`conda rename {{[-n|--name]}} {{current_name}} {{new_name}}` + +- Rename an environment via its full path (i.e. prefix): + +`conda rename {{[-p|--prefix]}} {{path/to/env}} {{new_name}}` diff --git a/pages/common/conda-repoquery.md b/pages/common/conda-repoquery.md new file mode 100644 index 00000000000000..c73d6bdb4a5c9c --- /dev/null +++ b/pages/common/conda-repoquery.md @@ -0,0 +1,16 @@ +# conda repoquery + +> Advanced search for packages in a conda repository. +> More information: . + +- Show available versions of the specified package: + +`conda repoquery search {{package}}` + +- Show dependencies of the specified package: + +`conda repoquery depends {{package}}` + +- Show packages that depend on the specified package: + +`conda repoquery whoneeds {{package}}` diff --git a/pages/common/conda-run.md b/pages/common/conda-run.md new file mode 100644 index 00000000000000..b3b6dee97936e4 --- /dev/null +++ b/pages/common/conda-run.md @@ -0,0 +1,16 @@ +# conda run + +> Run an executable command in a conda environment. +> More information: . + +- Run a command in the currently active environment: + +`conda run {{command}}` + +- Target an environment by name: + +`conda run {{[-n|--name]}} {{environment_name}} {{command}}` + +- Target an environment by its path (i.e. prefix): + +`conda run {{[-p|--path]}} {{path/to/env}} {{command}}` diff --git a/pages/common/conda.md b/pages/common/conda.md index 61886fa93ae853..d123079f0ac43f 100644 --- a/pages/common/conda.md +++ b/pages/common/conda.md @@ -1,27 +1,28 @@ # conda > Package, dependency and environment management for any programming language. -> More information: . +> Some subcommands such as `create` have their own usage documentation. +> More information: . - Create a new environment, installing named packages into it: -`conda create --name {{environment_name}} {{python=2.7 matplotlib}}` +`conda create {{[-n|--name]}} {{environment_name}} {{python=3.9 matplotlib}}` - List all environments: -`conda info --envs` +`conda info {{[-e|--envs]}}` -- Load or unload an environment: +- Activate an environment: -`conda {{activate|deactivate}} {{environment_name}}` +`conda activate {{environment_name}}` -- Delete an environment (remove all packages): +- Deactivate an environment: -`conda remove --name {{environment_name}} --all` +`conda deactivate` -- Search conda channels for a package by name: +- Delete an environment (remove all packages): -`conda search {{package_name}}` +`conda remove {{[-n|--name]}} {{environment_name}} --all` - Install packages into the current environment: @@ -33,4 +34,4 @@ - Delete unused packages and caches: -`conda clean --all` +`conda clean {{[-a|--all]}}` diff --git a/pages/common/consul-kv.md b/pages/common/consul-kv.md index e017de4cf951a9..a8c4eaf0aa4b85 100644 --- a/pages/common/consul-kv.md +++ b/pages/common/consul-kv.md @@ -1,4 +1,4 @@ -# consul-kv +# consul kv > Distributed key-value store with health checking and service discovery. > More information: . diff --git a/pages/common/consul.md b/pages/common/consul.md index 41c0e7dee1ed2d..88fcd216638a86 100644 --- a/pages/common/consul.md +++ b/pages/common/consul.md @@ -1,16 +1,17 @@ # consul > Distributed key-value store with health checking and service discovery. -> More information: . +> Some subcommands such as `kv` have their own usage documentation. +> More information: . -- Check the Consul version: +- Display help: -`consul --version` +`consul --help` -- Show general help: +- Display help for a subcommand: -`consul --help` +`consul {{subcommand}} --help` -- Show help for a sub-command: +- Display version: -`consul {{sub-command}} --help` +`consul --version` diff --git a/pages/common/continue.md b/pages/common/continue.md new file mode 100644 index 00000000000000..46faca8baa444f --- /dev/null +++ b/pages/common/continue.md @@ -0,0 +1,12 @@ +# continue + +> Skip to the next iteration of a `for`, `while`, `until` or `select` loop. +> More information: . + +- Skip to the next iteration: + +`while :; do continue; {{echo "This will never be reached"}}; done` + +- Skip to the next iteration from within a nested loop: + +`for i in {{{1..3}}}; do {{echo $i}}; while :; do continue 2; done; done` diff --git a/pages/common/convert.md b/pages/common/convert.md index 0590f11fca6a9d..ae1d72b3a34be4 100644 --- a/pages/common/convert.md +++ b/pages/common/convert.md @@ -1,32 +1,9 @@ # convert -> Imagemagick image conversion tool. -> More information: . +> This command is an alias of `magick convert`. +> Note: This alias is deprecated since ImageMagick 7. It has been replaced by `magick`. +> Use `magick convert` if you need to use the old tool in versions 7+. -- Convert an image from JPG to PNG: +- View documentation for the original command: -`convert {{image.jpg}} {{image.png}}` - -- Scale an image 50% its original size: - -`convert {{image.png}} -resize 50% {{image2.png}}` - -- Scale an image keeping the original aspect ratio to a maximum dimension of 640x480: - -`convert {{image.png}} -resize 640x480 {{image2.png}}` - -- Horizontally append images: - -`convert {{image1.png}} {{image2.png}} {{image3.png}} +append {{image123.png}}` - -- Vertically append images: - -`convert {{image1.png}} {{image2.png}} {{image3.png}} -append {{image123.png}}` - -- Create a gif from a series of images with 100ms delay between them: - -`convert {{image1.png}} {{image2.png}} {{image3.png}} -delay {{10}} {{animation.gif}}` - -- Create an image with nothing but a solid background: - -`convert -size {{800x600}} "xc:{{#ff0000}}" {{image.png}}` +`tldr magick convert` diff --git a/pages/common/copr-cli.md b/pages/common/copr-cli.md new file mode 100644 index 00000000000000..786f5cb8936147 --- /dev/null +++ b/pages/common/copr-cli.md @@ -0,0 +1,20 @@ +# copr-cli + +> Interface with Fedora-Projects copr instance for building RPMs and publishing them. +> More information: . + +- Show user logged in to copr: + +`copr-cli whoami` + +- Build a local spec file on copr: + +`copr-cli build {{repository}} {{path/to/spec_file}}` + +- Check status of builds: + +`copr-cli list-builds {{repository}}` + +- Trigger a copr build of a spec-file from public (Git) repository: + +`copr-cli buildscm {{repository}} --clone-url {{https://git.example.org/repo}} --spec {{spec_file_name}}` diff --git a/pages/common/copr.md b/pages/common/copr.md new file mode 100644 index 00000000000000..82df2fbea8f0f6 --- /dev/null +++ b/pages/common/copr.md @@ -0,0 +1,7 @@ +# copr + +> This command is an alias of `copr-cli`. + +- View documentation for the original command: + +`tldr copr-cli` diff --git a/pages/common/coproc.md b/pages/common/coproc.md new file mode 100644 index 00000000000000..967a1ffdc93d61 --- /dev/null +++ b/pages/common/coproc.md @@ -0,0 +1,32 @@ +# coproc + +> Bash builtin for creating interactive asynchronous subshells. +> More information: . + +- Run a subshell asynchronously: + +`coproc { {{command1; command2; ...}}; }` + +- Create a coprocess with a specific name: + +`coproc {{name}} { {{command1; command2; ...}}; }` + +- Write to a specific coprocess `stdin`: + +`echo "{{input}}" >&"${{{name[1]}}}"` + +- Read from a specific coprocess `stdout`: + +`read {{variable}} <&"${{{name[0]}}}"` + +- Create a coprocess which repeatedly reads `stdin` and runs some commands on the input: + +`coproc {{name}} { while read {{line}}; do {{command1; command2; ...}}; done }` + +- Create a coprocess which repeatedly reads `stdin`, runs a pipeline on the input, and writes the output to `stdout`: + +`coproc {{name}} { while read {{line}}; do {{echo "$line"}} | {{command1 | command2 | ...}} | cat /dev/fd/0; done }` + +- Create and use a coprocess running `bc`: + +`coproc BC { bc --mathlib; }; echo "1/3" >&"${BC[1]}"; read output <&"${BC[0]}"; echo "$output"` diff --git a/pages/common/copyq.md b/pages/common/copyq.md index 8c81dbb589c82c..7d4fcf8c1c6a82 100644 --- a/pages/common/copyq.md +++ b/pages/common/copyq.md @@ -1,7 +1,7 @@ # copyq > Clipboard manager with advanced features. -> More information: . +> More information: . - Launch CopyQ to store clipboard history: @@ -25,8 +25,8 @@ - Copy a file's contents into the clipboard: -`copyq copy < {{file.txt}}` +`copyq < {{path/to/file.txt}} copy` - Copy a JPEG image into the clipboard: -`copyq copy image/jpeg < {{image.jpg}}` +`copyq < {{path/to/image.jpg}} copy image/jpeg` diff --git a/pages/common/cordova.md b/pages/common/cordova.md index dec33d36cfa32b..f83b0d63f23a50 100644 --- a/pages/common/cordova.md +++ b/pages/common/cordova.md @@ -3,26 +3,26 @@ > Mobile apps with HTML, CSS & JS. > More information: . -- Create a cordova project: +- Create a Cordova project: -`cordova create {{path}} {{package_name}} {{project_name}}` +`cordova create {{path/to/directory}} {{package}} {{project_name}}` - Display the current workspace status: `cordova info` -- Add a cordova platform: +- Add a Cordova platform: `cordova platform add {{platform}}` -- Remove a cordova platform: +- Remove a Cordova platform: `cordova platform remove {{platform}}` -- Add a cordova plugin: +- Add a Cordova plugin: `cordova plugin add {{pluginid}}` -- Remove a cordova plugin: +- Remove a Cordova plugin: `cordova plugin remove {{pluginid}}` diff --git a/pages/common/core-validate-commit.md b/pages/common/core-validate-commit.md new file mode 100644 index 00000000000000..43ae720e56c5ca --- /dev/null +++ b/pages/common/core-validate-commit.md @@ -0,0 +1,32 @@ +# core-validate-commit + +> Validate commit messages for Node.js core. +> More information: . + +- Validate the current commit: + +`core-validate-commit` + +- Validate a specific commit: + +`core-validate-commit {{commit_hash}}` + +- Validate a range of commits: + +`git rev-list {{commit_hash}}..HEAD | xargs core-validate-commit` + +- List all validation rules: + +`core-validate-commit {{[-l|--list]}}` + +- List all valid Node.js subsystems: + +`core-validate-commit {{[-ls|--list-subsystem]}}` + +- Validate the current commit formatting the output in tap format: + +`core-validate-commit {{[-t|--tap]}}` + +- Display help: + +`core-validate-commit {{[-h|--help]}}` diff --git a/pages/common/corepack.md b/pages/common/corepack.md new file mode 100644 index 00000000000000..3b4508a94bd8e5 --- /dev/null +++ b/pages/common/corepack.md @@ -0,0 +1,36 @@ +# corepack + +> Zero-runtime-dependency package acting as bridge between Node projects and their package managers. +> More information: . + +- Add the Corepack shims to the Node.js installation directory to make them available as global commands: + +`corepack enable` + +- Add the Corepack shims to a specific directory: + +`corepack enable --install-directory {{path/to/directory}}` + +- Remove the Corepack shims from the Node.js installation directory: + +`corepack disable` + +- Prepare a specific package manager: + +`corepack prepare {{package_manager}}@{{version}} --activate` + +- Prepare the package manager configured for the project in the current path: + +`corepack prepare` + +- Use a package manager without installing it as a global command: + +`corepack {{npm|pnpm|yarn}} {{package_manager_arguments}}` + +- Install a package manager from the specified archive: + +`corepack hydrate {{path/to/corepack.tgz}}` + +- Display help for a subcommand: + +`corepack {{subcommand}} --help` diff --git a/pages/common/coreutils.md b/pages/common/coreutils.md new file mode 100644 index 00000000000000..1417201b2a357a --- /dev/null +++ b/pages/common/coreutils.md @@ -0,0 +1,17 @@ +# coreutils + +> Uutils coreutils is a cross-platform reimplementation of the GNU coreutils in Rust Language. +> Uutils includes a multi-call binary from which the utils can be invoked. This reduces the binary size of the binary and can be useful for portability. +> More information: . + +- Run a utility with arguments: + +`coreutils {{util}} {{util_options}}` + +- List files in [l]ong format: + +`coreutils ls -l` + +- Display help for `ls`: + +`coreutils ls --help` diff --git a/pages/common/cosign.md b/pages/common/cosign.md new file mode 100644 index 00000000000000..83acb4ea9c6750 --- /dev/null +++ b/pages/common/cosign.md @@ -0,0 +1,36 @@ +# cosign + +> Container Signing, Verification and Storage in an OCI registry. +> More information: . + +- Generate a key-pair: + +`cosign generate-key-pair` + +- Sign a container and store the signature in the registry: + +`cosign sign -key {{cosign.key}} {{image}}` + +- Sign a container image with a key pair stored in a Kubernetes secret: + +`cosign sign -key k8s://{{namespace}}/{{key}} {{image}}` + +- Sign a blob with a local key pair file: + +`cosign sign-blob --key {{cosign.key}} {{path/to/file}}` + +- Verify a container against a public key: + +`cosign verify -key {{cosign.pub}} {{image}}` + +- Verify images with a public key in a Dockerfile: + +`cosign dockerfile verify -key {{cosign.pub}} {{path/to/Dockerfile}}` + +- Verify an image with a public key stored in a Kubernetes secret: + +`cosign verify -key k8s://{{namespace}}/{{key}} {{image}}` + +- Copy a container image and its signatures: + +`cosign copy {{example.com/src:latest}} {{example.com/dest:latest}}` diff --git a/pages/common/cotton.md b/pages/common/cotton.md index 16c383101ff708..f20380eade6b01 100644 --- a/pages/common/cotton.md +++ b/pages/common/cotton.md @@ -3,14 +3,14 @@ > Markdown test specification runner. > More information: . -- Use a specific base url: +- Use a specific base URL: -`cotton -u {{base_url}} {{file}}.md` +`cotton -u {{base_url}} {{path/to/file.md}}` - Disable certificate verification (insecure mode): -`cotton -u {{base_url}} -i {{file}}.md` +`cotton -u {{base_url}} -i {{path/to/file.md}}` - Stop running when a test fails: -`cotton -u {{base_url}} -s {{file}}.md` +`cotton -u {{base_url}} -s {{path/to/file.md}}` diff --git a/pages/common/couchdb.md b/pages/common/couchdb.md index 474859c5f48548..fd8ee8bb134299 100644 --- a/pages/common/couchdb.md +++ b/pages/common/couchdb.md @@ -1,17 +1,17 @@ # couchdb -> Command line interface for Apache CouchDB database server. +> Command-line interface for Apache CouchDB database server. > More information: . -- Start couchdb: +- Start CouchDB: `couchdb` -- Start couchdb interactive shell: +- Start CouchDB interactive shell: `couchdb -i` -- Start couchdb as a background process: +- Start CouchDB as a background process: `couchdb -b` diff --git a/pages/common/cowsay.md b/pages/common/cowsay.md index dd3599158f8ad6..c8f86d694af7ef 100644 --- a/pages/common/cowsay.md +++ b/pages/common/cowsay.md @@ -1,24 +1,28 @@ # cowsay -> Generate an ASCII character (by default a cow) saying or thinking something. -> More information: . +> Print ASCII art (by default a cow) saying or thinking something. +> More information: . -- Print an ASCII cow saying "Hello world!": +- Print an ASCII cow saying "hello, world": -`cowsay "Hello world!"` +`cowsay "{{hello, world}}"` -- Use text from standard input for the balloon: +- Print an ASCII cow saying text from `stdin`: -`echo "Hello!" | cowsay` +`echo "{{hello, world}}" | cowsay` -- List all available characters: +- List all available art types: `cowsay -l` -- Print an ASCII dragon saying "Hello!": +- Print the specified ASCII art saying "hello, world": -`cowsay -f dragon "Hello!"` +`cowsay -f {{art}} "{{hello, world}}"` -- Print a stoned thinking ASCII cow: +- Print a dead thinking ASCII cow: -`cowthink -s "I'm just a cow, not a great thinker ..."` +`cowthink -d "{{I'm just a cow, not a great thinker...}}"` + +- Print an ASCII cow with custom eyes saying "hello, world": + +`cowsay -e {{characters}} "{{hello, world}}"` diff --git a/pages/common/cp.md b/pages/common/cp.md index 6dba3ad43ace3c..c2c8f0f8322599 100644 --- a/pages/common/cp.md +++ b/pages/common/cp.md @@ -1,6 +1,7 @@ # cp > Copy files and directories. +> More information: . - Copy a file to another location: @@ -12,16 +13,24 @@ - Recursively copy a directory's contents to another location (if the destination exists, the directory is copied inside it): -`cp -R {{path/to/source_directory}} {{path/to/target_directory}}` +`cp {{[-r|--recursive]}} {{path/to/source_directory}} {{path/to/target_directory}}` - Copy a directory recursively, in verbose mode (shows files as they are copied): -`cp -vR {{path/to/source_directory}} {{path/to/target_directory}}` +`cp {{[-vr|--verbose --recursive]}} {{path/to/source_directory}} {{path/to/target_directory}}` -- Copy text files to another location, in interactive mode (prompts user before overwriting): +- Copy multiple files at once to a directory: -`cp -i {{*.txt}} {{path/to/target_directory}}` +`cp {{[-t|--target-directory]}} {{path/to/destination_directory}} {{path/to/file1 path/to/file2 ...}}` -- Dereference symbolic links before copying: +- Copy all files with a specific extension to another location, in interactive mode (prompts user before overwriting): -`cp -L {{link}} {{path/to/target_directory}}` +`cp {{[-i|--interactive]}} {{*.ext}} {{path/to/target_directory}}` + +- Follow symbolic links before copying: + +`cp {{[-L|--dereference]}} {{link}} {{path/to/target_directory}}` + +- Use the full path of source files, creating any missing intermediate directories when copying: + +`cp --parents {{source/path/to/file}} {{path/to/target_file}}` diff --git a/pages/common/cpan.md b/pages/common/cpan.md new file mode 100644 index 00000000000000..7afb047395bf2a --- /dev/null +++ b/pages/common/cpan.md @@ -0,0 +1,20 @@ +# cpan + +> Query, download and build perl modules from CPAN sites. +> More information: . + +- Install a module (`-i` is optional): + +`cpan {{-i}} {{module_name}}` + +- Force install a module (`-i` is not optional): + +`cpan -fi {{module_name}}` + +- Upgrade all installed modules: + +`cpan -u` + +- Recompile modules: + +`cpan -r` diff --git a/pages/common/cpdf.md b/pages/common/cpdf.md index d9d65683b85c69..5cc8b8ae1091f5 100644 --- a/pages/common/cpdf.md +++ b/pages/common/cpdf.md @@ -1,6 +1,6 @@ # cpdf -> CLI to manipulate existing PDF files in a variety of ways. +> Manipulate PDF files. > More information: . - Select pages 1, 2, 3 and 6 from a source document and write those to a destination document: @@ -15,7 +15,7 @@ `cpdf -list-bookmarks {{path/to/document.pdf}}` -- Split a document into ten-page chunks, writing them to chunk001.pdf, chunk002.pdf, etc: +- Split a document into ten-page chunks, writing them to `chunk001.pdf`, `chunk002.pdf`, etc: `cpdf -split {{path/to/document.pdf}} -o {{path/to/chunk%%%.pdf}} -chunk {{10}}` diff --git a/pages/common/cpio.md b/pages/common/cpio.md index 910cfdad5efb1c..b9c7dad81cdce5 100644 --- a/pages/common/cpio.md +++ b/pages/common/cpio.md @@ -1,17 +1,17 @@ # cpio -> Copies files in and out of archives. +> Copy files in and out of archives. > Supports the following archive formats: cpio's custom binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar. -> More information: . +> More information: . -- Take a list of file names from standard input and add them [o]nto an archive in cpio's binary format: +- Take a list of file names from `stdin` and add them onto an archive (copy-[o]ut) in cpio's binary forma: -`echo "{{file1}} {{file2}} {{file3}}" | cpio -o > {{archive.cpio}}` +`echo "{{path/to/file1 path/to/file2 ...}}" | cpio {{[-o|--create]}} > {{archive.cpio}}` -- Copy all files and directories in a directory and add them [o]nto an archive, in [v]erbose mode: +- Copy all files and directories in a directory and add them onto an archive (copy-[o]ut), in verbose mode: -`find {{path/to/directory}} | cpio -ov > {{archive.cpio}}` +`find {{path/to/directory}} | cpio {{[-ov|--create --verbose]}} > {{archive.cpio}}` -- P[i]ck all files from an archive, generating [d]irectories where needed, in [v]erbose mode: +- Pick all files from an archive (copy-[i]n), generating directories where needed, in verbose mode: -`cpio -idv < {{archive.cpio}}` +`cpio {{[-idv|--extract --make-directories --verbose]}} < {{archive.cpio}}` diff --git a/pages/common/cppcheck.md b/pages/common/cppcheck.md index 5f4e308e81ea58..8a7998907fc605 100644 --- a/pages/common/cppcheck.md +++ b/pages/common/cppcheck.md @@ -2,7 +2,7 @@ > A static analysis tool for C/C++ code. > Instead of syntax errors, it focuses on the types of bugs that compilers normally do not detect. -> More information: . +> More information: . - Recursively check the current directory, showing progress on the screen and logging error messages to a file: @@ -10,11 +10,11 @@ - Recursively check a given directory, and don't print progress messages: -`cppcheck --quiet {{path/to/directory}}` +`cppcheck {{[-q|--quiet]}} {{path/to/directory}}` - Check a given file, specifying which tests to perform (by default only errors are shown): -`cppcheck --enable={{error|warning|style|performance|portability|information|all}} {{path/to/file.cpp}}` +`cppcheck --enable {{error|warning|style|performance|portability|information|all}} {{path/to/file.cpp}}` - List available tests: @@ -22,7 +22,7 @@ - Check a given file, ignoring specific tests: -`cppcheck --suppress={{test_id1}} --suppress={{test_id2}} {{path/to/file.cpp}}` +`cppcheck --suppress {{test_id1}} --suppress {{test_id2}} {{path/to/file.cpp}}` - Check the current directory, providing paths for include files located outside it (e.g. external libraries): @@ -30,4 +30,4 @@ - Check a Microsoft Visual Studio project (`*.vcxproj`) or solution (`*.sln`): -`cppcheck --project={{path/to/project.sln}}` +`cppcheck --project {{path/to/project.sln}}` diff --git a/pages/common/cppclean.md b/pages/common/cppclean.md index 550370ef3a3dcd..cc1309d9b1e97b 100644 --- a/pages/common/cppclean.md +++ b/pages/common/cppclean.md @@ -7,14 +7,14 @@ `cppclean {{path/to/project}}` -- Run on a project where the headers are in the "inc1/" and "inc2/" directories: +- Run on a project where the headers are in the `inc1/` and `inc2/` directories: -`cppclean {{path/to/project}} --include-path={{inc1}} --include-path={{inc2}}` +`cppclean {{path/to/project}} --include-path {{inc1}} --include-path {{inc2}}` -- Run on a specific file "main.cpp": +- Run on a specific file `main.cpp`: `cppclean {{main.cpp}}` - Run on the current directory, excluding the "build" directory: -`cppclean {{.}} --exclude={{build}}` +`cppclean {{.}} --exclude {{build}}` diff --git a/pages/common/crackle.md b/pages/common/crackle.md new file mode 100644 index 00000000000000..8b0ec0e622848c --- /dev/null +++ b/pages/common/crackle.md @@ -0,0 +1,16 @@ +# crackle + +> Crack and decrypt Bluetooth Low Energy (BLE) encryption. +> More information: . + +- Check whether the recorded BLE communications contain the packets necessary for recovering temporary keys (TKs): + +`crackle -i {{path/to/input.pcap}}` + +- Use brute force to recover the TK of the recorded pairing events and use it to decrypt all subsequent communications: + +`crackle -i {{path/to/input.pcap}} -o {{path/to/decrypted.pcap}}` + +- Use the specified long-term key (LTK) to decrypt the recorded communication: + +`crackle -i {{path/to/input.pcap}} -o {{path/to/decrypted.pcap}} -l {{81b06facd90fe7a6e9bbd9cee59736a7}}` diff --git a/pages/common/cradle-elastic.md b/pages/common/cradle-elastic.md index f6458a084c12e9..4c9b7e980f14aa 100644 --- a/pages/common/cradle-elastic.md +++ b/pages/common/cradle-elastic.md @@ -1,28 +1,28 @@ # cradle elastic -> Manage the ElasticSearch instances for a Cradle instance. +> Manage the Elasticsearch instances for a Cradle instance. > More information: . -- Truncate the ElasticSearch index: +- Truncate the Elasticsearch index: `cradle elastic flush` -- Truncate the ElasticSearch index for a specific package: +- Truncate the Elasticsearch index for a specific package: -`cradle elastic flush {{package_name}}` +`cradle elastic flush {{package}}` -- Submit the ElasticSearch schema: +- Submit the Elasticsearch schema: `cradle elastic map` -- Submit the ElasticSearch schema for a specific package: +- Submit the Elasticsearch schema for a specific package: -`cradle elastic map {{package_name}}` +`cradle elastic map {{package}}` -- Populate the ElasticSearch indices for all packages: +- Populate the Elasticsearch indices for all packages: `cradle elastic populate` -- Populate the ElasticSearch indices for a specific package: +- Populate the Elasticsearch indices for a specific package: -`cradle elastic populate {{package_name}}` +`cradle elastic populate {{package}}` diff --git a/pages/common/cradle-install.md b/pages/common/cradle-install.md index 811ff4fcd036b7..42a85d83e0540a 100644 --- a/pages/common/cradle-install.md +++ b/pages/common/cradle-install.md @@ -1,6 +1,6 @@ # cradle install -> Installs the Cradle PHP framework components. +> Install the Cradle PHP framework components. > More information: . - Install Cradle's components (User will be prompted for further details): @@ -9,7 +9,7 @@ - Forcefully overwrite files: -`cradle install --force` +`cradle install {{[-f|--force]}}` - Skip running SQL migrations: diff --git a/pages/common/cradle-sql.md b/pages/common/cradle-sql.md index d534d33193e62d..726abbd98ed92e 100644 --- a/pages/common/cradle-sql.md +++ b/pages/common/cradle-sql.md @@ -9,7 +9,7 @@ - Rebuild the database schema for a specific package: -`cradle sql build {{package_name}}` +`cradle sql build {{package}}` - Empty the entire database: @@ -17,7 +17,7 @@ - Empty the database tables for a specific package: -`cradle sql flush {{package_name}}` +`cradle sql flush {{package}}` - Populate the tables for all packages: @@ -25,4 +25,4 @@ - Populate the tables for a specific package: -`cradle sql populate {{package_name}}` +`cradle sql populate {{package}}` diff --git a/pages/common/cradle.md b/pages/common/cradle.md index dd6a921171d9c2..a0f0e599450897 100644 --- a/pages/common/cradle.md +++ b/pages/common/cradle.md @@ -1,21 +1,21 @@ # cradle > The Cradle PHP framework. -> See `cradle-install`, `cradle-deploy` and other pages for additional information. +> Some subcommands such as `install` have their own usage documentation. > More information: . - Connect to a server: `cradle connect {{server_name}}` -- Display general help: +- Execute a Cradle command: + +`cradle {{command}}` + +- Display help: `cradle help` - Display help for a specific command: `cradle {{command}} help` - -- Execute a Cradle command: - -`cradle {{command}}` diff --git a/pages/common/crane-append.md b/pages/common/crane-append.md new file mode 100644 index 00000000000000..34f890c052d9be --- /dev/null +++ b/pages/common/crane-append.md @@ -0,0 +1,33 @@ +# crane append + +> Push an image based on an (optional) base image. +> Appends layers containing the contents of the provided tarballs. +> More information: . + +- Push image based on a base image: + +`crane append {{[-b|--base]}} {{image_name}}` + +- Push image with appended layer from tarball: + +`crane append {{[-f|--new_layer]}} {{layer_name1 layer_name2 ...}}` + +- Push image with appended layer with new tag: + +`crane append {{[-t|--new_tag]}} {{tag_name}}` + +- Push resulting image to new tarball: + +`crane append {{[-o|--output]}} {{path/to/tarball}}` + +- Use empty base image of type OCI media instead of Docker: + +`crane append --oci-empty-base` + +- Annotate resulting image as being based on the base image: + +`crane append --set-base-image-annotations` + +- Display help: + +`crane append {{[-h|--help]}}` diff --git a/pages/common/crane-auth.md b/pages/common/crane-auth.md new file mode 100644 index 00000000000000..2217280305d121 --- /dev/null +++ b/pages/common/crane-auth.md @@ -0,0 +1,28 @@ +# crane auth + +> Log in or access credentials. +> More information: . + +- Execute `crane auth` subcommand: + +`crane auth {{subcommand}}` + +- Implement credential helper: + +`crane auth get {{registry_address}} {{[-h|--help]}}` + +- Log in to a registry: + +`crane auth login {{registry_address}} {{[-h|--help]}} {{[-p|--password]}} {{password}} {{-password-stdin}} {{[-u|--username]}} {{username}}` + +- Log out of a registry: + +`crane auth logout {{registry_address}} {{[-h|--help]}}` + +- Retrieve a token for a remote repository: + +`crane auth token {{registry_address}} {{[-H|--header]}} {{[-h|--help]}} {{[-m|--mount]}} {{scope1 scope2 ...}} --push` + +- Display help: + +`crane auth {{[-h|--help]}}` diff --git a/pages/common/crane-blob.md b/pages/common/crane-blob.md new file mode 100644 index 00000000000000..a0f801153163ec --- /dev/null +++ b/pages/common/crane-blob.md @@ -0,0 +1,12 @@ +# crane blob + +> Read a blob from a registry. +> More information: . + +- Read the blob from a registry: + +`crane blob {{blob_identifier}}` + +- Display help: + +`crane blob {{[-h|--help]}}` diff --git a/pages/common/crane-catalog.md b/pages/common/crane-catalog.md new file mode 100644 index 00000000000000..18fd5eac36f080 --- /dev/null +++ b/pages/common/crane-catalog.md @@ -0,0 +1,16 @@ +# crane catalog + +> List the repositories in a registry. +> More information: . + +- List the repositories in a registry: + +`crane catalog {{registry_address}}` + +- Print the full image reference: + +`crane catalog {{registry_address}} --full-ref` + +- Display help: + +`crane catalog {{[-h|--help]}}` diff --git a/pages/common/crane-config.md b/pages/common/crane-config.md new file mode 100644 index 00000000000000..93ef4075044449 --- /dev/null +++ b/pages/common/crane-config.md @@ -0,0 +1,12 @@ +# crane config + +> Get the configuration of an image. +> More information: . + +- Get the configuration of an image: + +`crane config {{image_name}}` + +- Display help: + +`crane config {{[-h|--help]}}` diff --git a/pages/common/crane-copy.md b/pages/common/crane-copy.md new file mode 100644 index 00000000000000..91fc9bb93da85b --- /dev/null +++ b/pages/common/crane-copy.md @@ -0,0 +1,24 @@ +# crane copy + +> Efficiently copy a remote image from source to target while retaining the digest value. +> More information: . + +- Copy an image from source to target: + +`crane copy {{source}} {{target}}` + +- Copy all tags: + +`crane copy {{source}} {{target}} {{[-a|--all-tags]}}` + +- Set the maximum number of concurrent copies, defaults to GOMAXPROCS: + +`crane copy {{source}} {{target}} {{[-j|--jobs]}} {{int}}` + +- Avoid overwriting existing tags in target: + +`crane copy {{source}} {{target}} {{[-n|--no-clobber]}}` + +- Display help: + +`crane copy {{[-h|--help]}}` diff --git a/pages/common/crane-cp.md b/pages/common/crane-cp.md new file mode 100644 index 00000000000000..64ee2e9a115755 --- /dev/null +++ b/pages/common/crane-cp.md @@ -0,0 +1,7 @@ +# crane cp + +> This command is an alias of `crane copy`. + +- View documentation for the original command: + +`tldr crane copy` diff --git a/pages/common/crane-delete.md b/pages/common/crane-delete.md new file mode 100644 index 00000000000000..fa3f35af529241 --- /dev/null +++ b/pages/common/crane-delete.md @@ -0,0 +1,12 @@ +# crane delete + +> Delete an image reference from its registry. +> More information: . + +- Delete an image reference from its registry: + +`crane delete {{image_name}}` + +- Display help: + +`crane delete {{[-h|--help]}}` diff --git a/pages/common/crane-digest.md b/pages/common/crane-digest.md new file mode 100644 index 00000000000000..ccb0f6ca88b23e --- /dev/null +++ b/pages/common/crane-digest.md @@ -0,0 +1,20 @@ +# crane digest + +> Get the digest of an image. +> More information: . + +- Get the digest of an image: + +`crane digest {{image_name}}` + +- Print the full image reference by digest: + +`crane digest {{image_name}} --full-ref` + +- Specify path to tarball containing the image: + +`crane digest {{image_name}} --tarball {{path/to/tarball}}` + +- Display help: + +`crane digest {{[-h|--help]}}` diff --git a/pages/common/crane-export.md b/pages/common/crane-export.md new file mode 100644 index 00000000000000..0be8b5810bfd03 --- /dev/null +++ b/pages/common/crane-export.md @@ -0,0 +1,16 @@ +# crane export + +> Export filesystem of a container image as a tarball. +> More information: . + +- Write tarball to `stdout`: + +`crane export {{image_name}} -` + +- Write tarball to file: + +`crane export {{image_name}} {{path/to/tarball}}` + +- Read image from `stdin`: + +`crane export - {{path/to/file}}` diff --git a/pages/common/crane-flatten.md b/pages/common/crane-flatten.md new file mode 100644 index 00000000000000..3a15fbbe486c12 --- /dev/null +++ b/pages/common/crane-flatten.md @@ -0,0 +1,17 @@ +# crane flatten + +> Flatten an image's layers into a single layer. +> Pushes digest to original image repository if no tags are specified. +> More information: . + +- Flatten an image: + +`crane flatten` + +- Apply new tag to flattened image: + +`crane flatten {{[-t|--tag]}} {{tag_name}}` + +- Display help: + +`crane flatten {{[-h|--help]}}` diff --git a/pages/common/crane-index-append.md b/pages/common/crane-index-append.md new file mode 100644 index 00000000000000..7d8b52a9645309 --- /dev/null +++ b/pages/common/crane-index-append.md @@ -0,0 +1,30 @@ +# crane index append + +> Append manifest to a remote index. +> This sub-command pushes an index based on an (optional) base index, with appended manifests. +> The platform for appended manifests is inferred from the configuration file or omitted if that is infeasible. +> More information: . + +- Append manifest to a remote index: + +`crane index append` + +- Reference to manifests to append to the base index: + +`crane index append {{[-m|--manifest]}} {{manifest_name1 manifest_name2 ...}}` + +- Tag to apply to resulting image: + +`crane index append {{[-t|--tag]}} {{tag_name}}` + +- Empty base index will have Docker media types instead of OCI: + +`crane index append --docker-empty-base` + +- Append each of its children rather than the index itself (defaults true): + +`crane index append --flatten` + +- Display help: + +`crane index append {{[-h|--help]}}` diff --git a/pages/common/crane-index-filter.md b/pages/common/crane-index-filter.md new file mode 100644 index 00000000000000..d1f888b7a2bcf4 --- /dev/null +++ b/pages/common/crane-index-filter.md @@ -0,0 +1,20 @@ +# crane index filter + +> Modifies a remote index by filtering based on platform. +> More information: . + +- Modify remote index: + +`crane index filter` + +- Specify the platform(s) to keep from base in the form `os/arch/variant:osversion,platform`: + +`crane index filter --platform {{platform1 platform2 ...}}` + +- Tag to apply to resulting image: + +`crane index filter {{[-t|--tags]}} {{tag_name}}` + +- Display help: + +`crane index filter {{[-h|--help]}}` diff --git a/pages/common/crane-index.md b/pages/common/crane-index.md new file mode 100644 index 00000000000000..afcae29eee2228 --- /dev/null +++ b/pages/common/crane-index.md @@ -0,0 +1,17 @@ +# crane index + +> Modify an image index. +> The subcommands `append` and `filter` have their own usage documentation. +> More information: . + +- Modify an image index: + +`crane index` + +- Modify an image index with subcommand: + +`crane index {{subcommand}}` + +- Display help: + +`crane index {{[-h|--help]}}` diff --git a/pages/common/crane-ls.md b/pages/common/crane-ls.md new file mode 100644 index 00000000000000..67413f5de17a40 --- /dev/null +++ b/pages/common/crane-ls.md @@ -0,0 +1,20 @@ +# crane ls + +> List the tags in a repository. +> More information: . + +- List the tags: + +`crane ls {{repository}}` + +- Print the full image reference: + +`crane ls {{repository}} --full-ref` + +- Omit digest tags: + +`crane ls {{[-o|--omit-digest-tags]}}` + +- Display help: + +`crane ls {{[-h|--help]}}` diff --git a/pages/common/crane-manifest.md b/pages/common/crane-manifest.md new file mode 100644 index 00000000000000..b1e03cb4fca2bf --- /dev/null +++ b/pages/common/crane-manifest.md @@ -0,0 +1,12 @@ +# crane manifest + +> Get the manifest of an image. +> More information: . + +- Get the manifest: + +`crane manifest {{image_name}}` + +- Display help: + +`crane manifest {{[-h|--help]}}` diff --git a/pages/common/crane-mutate.md b/pages/common/crane-mutate.md new file mode 100644 index 00000000000000..3f89b4d76f3abc --- /dev/null +++ b/pages/common/crane-mutate.md @@ -0,0 +1,37 @@ +# crane mutate + +> Modify image labels and annotations. +> The container must be pushed to a registry, and the manifest is updated there. +> More information: . + +- New annotations to set (default []): + +`crane mutate {{[-a|--annotation]}}/{{[-l|--label]}} {{annotation/label}}` + +- Path to tarball/command/entrypoint/environment variable/exposed-ports to append to image: + +`crane mutate {{--append}}/{{--cmd}}/{{--entrypoint}}/{{[-e|--env]}}/{{--exposed-ports}} {{var1 var2 ...}}` + +- Path to new tarball of resulting image: + +`crane mutate {{[-o|--output]}} {{path/to/tarball}}` + +- Repository in the form `os/arch/variant:osversion,platform` to push mutated image: + +`crane mutate --set-platform {{platform_name}}` + +- New tag reference to apply to mutated image: + +`crane mutate {{[-t|--tag]}} {{tag_name}}` + +- New user to set: + +`crane mutate {{[-u|--user]}} {{username}}` + +- New working dir to set: + +`crane mutate {{[-w|--workdir]}} {{path/to/work_directory}}` + +- Display help: + +`crane mutate {{[-h|--help]}}` diff --git a/pages/common/crane-pull.md b/pages/common/crane-pull.md new file mode 100644 index 00000000000000..adde06c0cc6849 --- /dev/null +++ b/pages/common/crane-pull.md @@ -0,0 +1,24 @@ +# crane pull + +> Pull remote images by reference and store their contents locally. +> More information: . + +- Pull remote image: + +`crane pull {{image_name}} {{path/to/tarball}}` + +- Preserve image reference used to pull as an annotation when used with --format=oci: + +`crane pull {{image_name}} {{path/to/tarball}} --annotate-ref` + +- Path to cache image layers: + +`crane pull {{image_name}} {{path/to/tarball}} {{[-c|--cache_path]}} {{path/to/cache}}` + +- Format in which to save images (default 'tarball'): + +`crane pull {{image_name}} {{path/to/tarball}} {{-format}} {{format_name}}` + +- Display help: + +`crane pull {{[-h|--help]}}` diff --git a/pages/common/crane-push.md b/pages/common/crane-push.md new file mode 100644 index 00000000000000..a8d4edf19d6e92 --- /dev/null +++ b/pages/common/crane-push.md @@ -0,0 +1,20 @@ +# crane push + +> Push local image contents to a remote registry. +> More information: . + +- Push local image to remote registry: + +`crane push {{path/to/tarball}} {{image_name}}` + +- Path to file with list of published image references: + +`crane push {{path/to/tarball}} {{image_name}} --image-refs {{path/to/file}}` + +- Push a collection of images as a single index (required if path has multiple images): + +`crane push {{path/to/tarball}} {{image_name}} --index` + +- Display help: + +`crane push {{[-h|--help]}}` diff --git a/pages/common/crane-rebase.md b/pages/common/crane-rebase.md new file mode 100644 index 00000000000000..bb9754724919b7 --- /dev/null +++ b/pages/common/crane-rebase.md @@ -0,0 +1,24 @@ +# crane rebase + +> Rebase an image onto a new base image. +> More information: . + +- Rebase image: + +`crane rebase` + +- New base image to insert: + +`crane rebase --new_base {{image_name}}` + +- Old base image to remove: + +`crane rebase --old_base {{image_name}}` + +- Tag to apply to rebased image: + +`crane rebase {{[-t|--tag]}} {{tag_name}}` + +- Display help: + +`crane rebase {{[-h|--help]}}` diff --git a/pages/common/crane-registry.md b/pages/common/crane-registry.md new file mode 100644 index 00000000000000..571453fa0e69cd --- /dev/null +++ b/pages/common/crane-registry.md @@ -0,0 +1,25 @@ +# crane registry + +> This command serves a registry implementation on an automatically chosen port (:0), $PORT or --address. +> The command blocks while the server accepts pushes and pulls and contents are can be stored in memory, and disk. +> More information: . + +- Serve a registry implementation: + +`crane registry serve` + +- Address to listen on: + +`crane registry serve --address {{address_name}}` + +- Path to a directory where blobs will be stored: + +`crane registry serve --disk {{path/to/store_directory}}` + +- Display help for `crane registry`: + +`crane registry {{[-h|--help]}}` + +- Display help for `crane registry serve`: + +`crane registry serve {{[-h|--help]}}` diff --git a/pages/common/crane-tag.md b/pages/common/crane-tag.md new file mode 100644 index 00000000000000..e143337f5ae3c3 --- /dev/null +++ b/pages/common/crane-tag.md @@ -0,0 +1,13 @@ +# crane tag + +> Efficiently tag a remote image without downloading it, which differs from the `copy` command. +> It skips the layer existence checks because we know the manifest already exists making it slightly faster. +> More information: . + +- Tag remote image: + +`crane tag {{image_name}} {{tag_name}}` + +- Display help: + +`crane tag {{[-h|--help]}}` diff --git a/pages/common/crane-validate.md b/pages/common/crane-validate.md new file mode 100644 index 00000000000000..9f53335273b625 --- /dev/null +++ b/pages/common/crane-validate.md @@ -0,0 +1,24 @@ +# crane validate + +> Validate that an image is well-formed. +> More information: . + +- Validate an image: + +`crane validate` + +- Skip downloading/digesting layers: + +`crane validate --fast` + +- Name of remote image to validate: + +`crane validate --remote {{image_name}}` + +- Path to tarball to validate: + +`crane validate --tarball {{path/to/tarball}}` + +- Display help: + +`crane validate {{[-h|--help]}}` diff --git a/pages/common/crane-version.md b/pages/common/crane-version.md new file mode 100644 index 00000000000000..005073dea63cb1 --- /dev/null +++ b/pages/common/crane-version.md @@ -0,0 +1,13 @@ +# crane version + +> Print the version of a binary. +> The version string is completely dependent on how the binary was built, so you should not depend on the version format. It may change without notice. +> More information: . + +- Display version: + +`crane version` + +- Display help: + +`crane version {{[-h|--help]}}` diff --git a/pages/common/crane.md b/pages/common/crane.md new file mode 100644 index 00000000000000..32cc60d0223123 --- /dev/null +++ b/pages/common/crane.md @@ -0,0 +1,37 @@ +# crane + +> Container images managing tool. +> Some subcommands such as `pull`, `push`, `copy`, etc. have their own usage documentation. +> More information: . + +- Log in to a registry: + +`crane auth login {{registry}} {{[-u|--username]}} {{user}} {{[-p|--password]}} {{password}}` + +- List the repos in a registry: + +`crane catalog {{registry}} --full-ref` + +- List the tags in a repository: + +`crane ls {{repository}} {{[-o|--omit-digest-tags]}}` + +- Pull remote images by reference and store their contents locally: + +`crane pull {{image}} {{tarball}}` + +- Push local image contents to a remote registry: + +`crane push {{path/to/directory_or_tarball}} {{image}}` + +- Efficiently tag a remote image: + +`crane tag {{image}} {{tag}}` + +- Efficiently copy a remote image from `src` to `dst` while retaining the digest value: + +`crane copy src dst {{[-a|--all-tags]}}` + +- Delete an image reference from its registry: + +`crane delete {{image}}` diff --git a/pages/common/createdb.md b/pages/common/createdb.md new file mode 100644 index 00000000000000..f1a20cf5f0f07b --- /dev/null +++ b/pages/common/createdb.md @@ -0,0 +1,16 @@ +# createdb + +> Create a PostgreSQL database. +> More information: . + +- Create a database owned by the current user: + +`createdb {{database_name}}` + +- Create a database owned by a specific user with a description: + +`createdb {{[-O|--owner]}} {{username}} {{database_name}} '{{description}}'` + +- Create a database from a template: + +`createdb {{[-T|--template]}} {{template_name}} {{database_name}}` diff --git a/pages/common/createuser.md b/pages/common/createuser.md new file mode 100644 index 00000000000000..137a96c14b333c --- /dev/null +++ b/pages/common/createuser.md @@ -0,0 +1,24 @@ +# createuser + +> Create a PostgreSQL user (role). +> More information: . + +- Create a user interactively: + +`createuser --interactive {{username}}` + +- Create a user with no special rights: + +`createuser {{username}}` + +- Create a superuser: + +`createuser {{[-s|--superuser]}} {{username}}` + +- Create a user allowed to create databases, manage roles, and prompt for a password: + +`createuser {{[-d|--createdb]}} {{[-r|--createrole]}} {{[-P|--pwprompt]}} {{username}}` + +- Create a user without the ability to create databases or manage roles: + +`createuser {{[-D|--no-createdb]}} {{[-R|--no-createrole]}} {{username}}` diff --git a/pages/common/crictl.md b/pages/common/crictl.md new file mode 100644 index 00000000000000..3825fe528f894c --- /dev/null +++ b/pages/common/crictl.md @@ -0,0 +1,36 @@ +# crictl + +> Manage CRI-compatible container runtimes. +> More information: . + +- List all kubernetes pods (Ready and NotReady): + +`crictl pods` + +- List all containers (Running and Exited): + +`crictl ps {{[-a|--all]}}` + +- List all images: + +`crictl images` + +- Print information about specific containers: + +`crictl inspect {{container_id1 container_id2 ...}}` + +- Open a specific shell inside a running container: + +`crictl exec {{[-it|--interactive --tty]}} {{container_id}} {{sh}}` + +- Pull a specific image from a registry: + +`crictl pull {{image:tag}}` + +- Print and follow logs of a specific container: + +`crictl logs {{[-f|--follow]}} {{container_id}}` + +- Remove one or more images: + +`crictl rmi {{image_id1 image_id2 ...}}` diff --git a/pages/common/croc.md b/pages/common/croc.md index 8ee77c7d44332f..f5729f82812de2 100644 --- a/pages/common/croc.md +++ b/pages/common/croc.md @@ -9,7 +9,7 @@ - Send a file or directory with a specific passphrase: -`croc send --code {{passphrase}} {{path/to/file_or_directory}}` +`croc send {{[-c|--code]}} {{passphrase}} {{path/to/file_or_directory}}` - Receive a file or directory on receiving machine: diff --git a/pages/common/cron.md b/pages/common/cron.md new file mode 100644 index 00000000000000..f160e624fddbb4 --- /dev/null +++ b/pages/common/cron.md @@ -0,0 +1,8 @@ +# cron + +> A system scheduler for running jobs or tasks unattended. +> The command to submit, edit or delete entries to `cron` is called `crontab`. + +- View documentation for managing `cron` entries: + +`tldr crontab` diff --git a/pages/common/cronic.md b/pages/common/cronic.md index 0cfdabbb332367..64a17bbffb9259 100644 --- a/pages/common/cronic.md +++ b/pages/common/cronic.md @@ -1,7 +1,7 @@ # cronic > Bash script for wrapping cron jobs to prevent excess email sending. -> More information: . +> More information: . - Call a command and display its output if it returns a non-zero exit code: diff --git a/pages/common/crontab.md b/pages/common/crontab.md index 04f377c320844d..5f58f8d1e8fa44 100644 --- a/pages/common/crontab.md +++ b/pages/common/crontab.md @@ -1,7 +1,7 @@ # crontab > Schedule cron jobs to run on a time interval for the current user. -> Job definition format: "(min) (hour) (day_of_month) (month) (day_of_week) command_to_execute". +> More information: . - Edit the crontab file for the current user: @@ -27,10 +27,10 @@ `0 10 * * * {{command_to_execute}}` -- Sample job which runs every minute on the 3rd of April: +- Sample crontab entry, which runs a command every 10 minutes: -`* * 3 Apr * {{command_to_execute}}` +`*/10 * * * * {{command_to_execute}}` -- Sample job which runs a certain script at 02:30 every Friday: +- Sample crontab entry, which runs a certain script at 02:30 every Friday: -`30 2 * * Fri {{/absolute/path/to/script.sh}}` +`30 2 * * Fri /{{path/to/script.sh}}` diff --git a/pages/common/crunch.md b/pages/common/crunch.md index c1d9e4989db5e6..d167afaf194a48 100644 --- a/pages/common/crunch.md +++ b/pages/common/crunch.md @@ -1,7 +1,7 @@ # crunch > Wordlist generator. -> More information: . +> More information: . - Output a list of words of length 1 to 3 with only lowercase characters: diff --git a/pages/common/crush.md b/pages/common/crush.md new file mode 100644 index 00000000000000..16bbf3bf1b914f --- /dev/null +++ b/pages/common/crush.md @@ -0,0 +1,29 @@ +# crush + +> AI-powered terminal assistant for software development tasks. +> Provides interactive chat interface with AI capabilities, code analysis, and LSP integration. +> More information: . + +- Start interactive mode: + +`crush` + +- Run with debug logging: + +`crush {{[-d|--debug]}}` + +- Run with debug logging in a specific directory: + +`crush {{[-d|--debug]}} {{[-c|--cwd]}} {{path/to/project}}` + +- Run a single non-interactive prompt: + +`crush run "{{Explain the use of context in Go}}"` + +- Run in dangerous mode (auto-accept all permissions): + +`crush {{[-y|--yolo]}}` + +- Display version: + +`crush {{[-v|--version]}}` diff --git a/pages/common/cryfs.md b/pages/common/cryfs.md index 024f30ce669b66..46e892ffe829f7 100644 --- a/pages/common/cryfs.md +++ b/pages/common/cryfs.md @@ -1,11 +1,11 @@ # cryfs > A cryptographic filesystem for the cloud. -> More information: . +> More information: . - Mount an encrypted filesystem. The initialization wizard will be started on the first execution: -`cryfs {{path/to/cipher_dir}} {{path/to/mount_point}}` +`cryfs {{path/to/cipher_directory}} {{path/to/mount_point}}` - Unmount an encrypted filesystem: @@ -13,8 +13,8 @@ - Automatically unmount after ten minutes of inactivity: -`cryfs --unmount-idle {{10}} {{path/to/cipher_dir}} {{path/to/mount_point}}` +`cryfs --unmount-idle {{10}} {{path/to/cipher_directory}} {{path/to/mount_point}}` -- Show a list of supported ciphers: +- List supported ciphers: `cryfs --show-ciphers` diff --git a/pages/common/crystal.md b/pages/common/crystal.md index 637a20a160798d..844ef142ff65e6 100644 --- a/pages/common/crystal.md +++ b/pages/common/crystal.md @@ -1,6 +1,6 @@ # crystal -> Tool for managing Crystal source code. +> Manage Crystal source code. > More information: . - Run a Crystal file: @@ -11,6 +11,18 @@ `crystal build {{path/to/file.cr}}` +- Read Crystal source code from the command-line or `stdin`, and execute it: + +`crystal eval '{{code}}'` + +- Generate API documentation from inline docstrings in Crystal files: + +`crystal docs` + +- Compile and run a Crystal specification suite: + +`crystal spec` + - Start a local interactive server for testing the language: `crystal play` @@ -19,6 +31,6 @@ `crystal init app {{application_name}}` -- Display all help options: +- Display help: `crystal help` diff --git a/pages/common/cs-complete-dep.md b/pages/common/cs-complete-dep.md new file mode 100644 index 00000000000000..aaeb847e5e52e6 --- /dev/null +++ b/pages/common/cs-complete-dep.md @@ -0,0 +1,20 @@ +# cs complete-dep + +> Search for libraries without doing it directly on the web. +> More information: . + +- Print which artifacts are published under a specific Maven group identifier: + +`cs complete-dep {{group_id}}` + +- List published library versions under a specific Maven group identifier and an artifact one: + +`cs complete-dep {{group_id}}:{{artifact_id}}` + +- Print which artifacts are pubblished under a given Maven groupId searching in the ivy2local: + +`cs complete-dep {{group_id}} --repository ivy2local` + +- List published artifacts under a Maven group identifier searching in a specific repository and credentials: + +`cs complete-dep {{group_id}}:{{artifact_id}} --repository {{repository_url}} --credentials {{user}}:{{password}}` diff --git a/pages/common/cs-fetch.md b/pages/common/cs-fetch.md new file mode 100644 index 00000000000000..1ee5f34d35df89 --- /dev/null +++ b/pages/common/cs-fetch.md @@ -0,0 +1,28 @@ +# cs fetch + +> Fetch fetches the JARs of dependencies. +> More information: . + +- Fetch a specific version of a jar: + +`cs fetch {{group_id}}:{{artifact_id}}:{{artifact_version}}` + +- Fetch a package and evaluate the classpath corresponding to the selected package in an env var: + +`CP="$(cs fetch --classpath org.scalameta::scalafmt-cli:latest.release)"` + +- Fetch a source of a specific jar: + +`cs fetch --sources {{group_id}}:{{artifact_id}}:{{artifact_version}}` + +- Fetch the javadoc jars: + +`cs fetch --javadoc {{group_id}}:{{artifact_id}}:{{artifact_version}}` + +- Fetch dependency with javadoc jars and source jars: + +`cs fetch --default={{true}} --sources --javadoc {{group_id}}:{{artifact_id}}:{{artifact_version}}` + +- Fetch jars coming from dependency files: + +`cs fetch {{--dependency-file path/to/file1 --dependency-file path/to/file2 ...}}` diff --git a/pages/common/cs-install.md b/pages/common/cs-install.md new file mode 100644 index 00000000000000..a3b7fd6f76ebb2 --- /dev/null +++ b/pages/common/cs-install.md @@ -0,0 +1,36 @@ +# cs install + +> Install an application in the installation directory onfigured when installing `cs` (to enable the binary to be loaded add to your `.bash_profile` the `$ eval "$(cs install --env)"` command). +> More information: . + +- Install a specific application: + +`cs install {{application_name}}` + +- Install a specific version of an application: + +`cs install {{application_name}}:{{application_version}}` + +- Search an application by a specific name: + +`cs search {{application_partial_name}}` + +- Update a specific application if available: + +`cs update {{application_name}}` + +- Update all the installed applications: + +`cs update` + +- Uninstall a specific application: + +`cs uninstall {{application_name}}` + +- List all installed applications: + +`cs list` + +- Pass specific Java options to an installed application: + +`{{application_name}} {{-Jjava_option_name1=value1 -Jjava_option_name2=value2 ...}}` diff --git a/pages/common/cs-java.md b/pages/common/cs-java.md new file mode 100644 index 00000000000000..3fccae374d62e6 --- /dev/null +++ b/pages/common/cs-java.md @@ -0,0 +1,32 @@ +# cs java + +> The `java` and `java-home` commands fetch and install JVMs. The `java` command runs them too. +> More information: . + +- Display Java version by using coursier: + +`cs java -version` + +- Call a specific Java version with custom properties using coursier: + +`cs java --jvm {{jvm_name}}:{{jvm_version}} -Xmx32m -X{{another_jvm_opt}} -jar {{path/to/jar_name.jar}}` + +- List all the available JVM in the coursier default index: + +`cs java --available` + +- List all the installed JVM in the system with his own location: + +`cs java --installed` + +- Set a specific JVM as one-off default for the shell instance: + +`cs java --jvm {{jvm_name}}:{{jvm_version}} --env` + +- Revert the changes for the default JVM settings: + +`eval "$(cs java --disable)"` + +- Set a specific JVM as default for the whole system: + +`cs java --jvm {{jvm_name}}:{{jvm_version}} --setup` diff --git a/pages/common/cs-launch.md b/pages/common/cs-launch.md new file mode 100644 index 00000000000000..cd229f8e2bead1 --- /dev/null +++ b/pages/common/cs-launch.md @@ -0,0 +1,20 @@ +# cs launch + +> Launch an application from the name directly from Maven dependencies without the need of installing it. +> More information: . + +- Launch a specific application with arguments: + +`cs launch {{application_name}} -- {{argument1 argument2 ...}}` + +- Launch a specific application version with arguments: + +`cs launch {{application_name}}:{{application_version}} -- {{argument1 argument2 ...}}` + +- Launch a specific version of an application specifying which is the main file: + +`cs launch {{group_id}}:{{artifact_id}}:{{artifact_version}} --main-class {{path/to/main_class_file}}` + +- Launch an application with specific Java options and JVM memory ones: + +`cs launch --java-opt {{-Doption_name1:option_value1 -Doption_name2:option_value2 ...}} --java-opt {{-Xjvm_option1 -Xjvm_option2 ...}} {{application_name}}` diff --git a/pages/common/cs-resolve.md b/pages/common/cs-resolve.md new file mode 100644 index 00000000000000..f48d1805e876ab --- /dev/null +++ b/pages/common/cs-resolve.md @@ -0,0 +1,28 @@ +# cs resolve + +> Resolve lists the transitive dependencies of other dependencies. +> More information: . + +- Resolve lists of transitive dependencies of two dependencies: + +`cs resolve {{group_id1}}:{{artifact_id1}}:{{artifact_version1}} {{group_id2}}:{{artifact_id2}}:{{artifact_version2}}` + +- Resolve lists of transitive dependencies of a package by the dependency tree: + +`cs resolve --tree {{group_id}}:{{artifact_id}}:{{artifact_version}}` + +- Resolve dependency tree in a reverse order (from a dependency to its dependencies): + +`cs resolve --reverse-tree {{group_id}}:{{artifact_id}}:{{artifact_version}}` + +- Print all the libraries that depends on a specific library: + +`cs resolve {{group_id}}:{{artifact_id}}:{{artifact_version}} --what-depends-on {{searched_group_id}}:{{searched_artifact_id}}` + +- Print all the libraries that depends on a specific library version: + +`cs resolve {{group_id}}:{{artifact_id}}:{{artifact_version}} --what-depends-on {{searched_group_id}}:{{searched_artifact_id}}{{searched_artifact_version}}` + +- Print eventual conflicts between a set of packages: + +`cs resolve --conflicts {{group_id1:artifact_id1:artifact_version1 group_id2:artifact_id2:artifact_version2 ...}}` diff --git a/pages/common/cs.md b/pages/common/cs.md new file mode 100644 index 00000000000000..059779d30353ca --- /dev/null +++ b/pages/common/cs.md @@ -0,0 +1,30 @@ +# cs + +> Application and artifact manager for the Scala language. +> Installs Scala applications and sets up a Scala development environment. +> Some subcommands such as `install`, `launch`, `java`, `fetch`, `resolve`, `complete-dep`, etc. have their own usage documentation. +> More information: . + +- List installed applications: + +`cs list` + +- Install a specific application: + +`cs install {{application_name}}` + +- Uninstall a specific application: + +`cs uninstall {{application_name}}` + +- Setup machine for the Scala development: + +`cs setup` + +- Update all the installed applications: + +`cs update` + +- Display version: + +`cs version` diff --git a/pages/common/csc.md b/pages/common/csc.md index e648a18e2f1dd9..c9ab6f8b6e2d56 100644 --- a/pages/common/csc.md +++ b/pages/common/csc.md @@ -1,7 +1,7 @@ # csc > The Microsoft C# Compiler. -> More information: . +> More information: . - Compile one or more C# files to a CIL executable: @@ -9,9 +9,9 @@ - Specify the output filename: -`csc /out:{{path/to/filename}} {{path/to/input_file.cs}}` +`csc /out:{{path/to/file}} {{path/to/input_file.cs}}` -- Compile into a '.dll' library instead of an executable: +- Compile into a `.dll` library instead of an executable: `csc /target:library {{path/to/input_file.cs}}` diff --git a/pages/common/csh.md b/pages/common/csh.md new file mode 100644 index 00000000000000..186bb3adf238c1 --- /dev/null +++ b/pages/common/csh.md @@ -0,0 +1,21 @@ +# csh + +> The shell (command interpreter) with C-like syntax. +> See also: `tcsh`. +> More information: . + +- Start an interactive shell session: + +`csh` + +- Start an interactive shell session without loading startup configs: + +`csh -f` + +- Execute specific [c]ommands: + +`csh -c "{{echo 'csh is executed'}}"` + +- Execute a specific script: + +`csh {{path/to/script.csh}}` diff --git a/pages/common/csslint.md b/pages/common/csslint.md index 6255ef3540a8ab..e58f940639c3b7 100644 --- a/pages/common/csslint.md +++ b/pages/common/csslint.md @@ -1,6 +1,6 @@ # csslint -> A linter for CSS code. +> Lint CSS code. > More information: . - Lint a single CSS file: @@ -9,20 +9,20 @@ - Lint multiple CSS files: -`csslint {{file1.css}} {{file2.css}} {{file3.css}}` +`csslint {{file1.css file2.css ...}}` - List all possible style rules: `csslint --list-rules` -- Specify certain rules as errors (which result in a non-zero exit code): +- Treat certain rules as errors (which results in a non-zero exit code): `csslint --errors={{errors,universal-selector,imports}} {{file.css}}` -- Specify certain rules as warnings: +- Treat certain rules as warnings: `csslint --warnings={{box-sizing,selector-max,floats}} {{file.css}}` -- Specify certain rules to completely ignore: +- Ignore specific rules: `csslint --ignore={{ids,rules-count,shorthand}} {{file.css}}` diff --git a/pages/common/csv-diff.md b/pages/common/csv-diff.md new file mode 100644 index 00000000000000..02629da7178d51 --- /dev/null +++ b/pages/common/csv-diff.md @@ -0,0 +1,16 @@ +# csv-diff + +> View differences between two CSV, TSV or JSON files. +> More information: . + +- Display a human-readable summary of differences between files using a specific column as a unique identifier: + +`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}}` + +- Display a human-readable summary of differences between files that includes unchanged values in rows with at least one change: + +`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}} --show-unchanged` + +- Display a summary of differences between files in JSON format using a specific column as a unique identifier: + +`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}} --json` diff --git a/pages/common/csv2tsv.md b/pages/common/csv2tsv.md new file mode 100644 index 00000000000000..61a4210500dd88 --- /dev/null +++ b/pages/common/csv2tsv.md @@ -0,0 +1,16 @@ +# csv2tsv + +> Convert CSV (comma-separated) text to TSV (tab-separated) format. +> More information: . + +- Convert from CSV to TSV: + +`csv2tsv {{path/to/input_csv1 path/to/input_csv2 ...}} > {{path/to/output_tsv}}` + +- Convert field delimiter separated CSV to TSV: + +`csv2tsv -c'{{field_delimiter}}' {{path/to/input_csv}}` + +- Convert semicolon separated CSV to TSV: + +`csv2tsv -c';' {{path/to/input_csv}}` diff --git a/pages/common/csvclean.md b/pages/common/csvclean.md index fb28394665c721..e48382c38fda66 100644 --- a/pages/common/csvclean.md +++ b/pages/common/csvclean.md @@ -1,6 +1,6 @@ # csvclean -> Finds and cleans common syntax errors in CSV files. +> Find and clean common syntax errors in CSV files. > Included in csvkit. > More information: . diff --git a/pages/common/csvcut.md b/pages/common/csvcut.md index 5b948f66d70b7e..214bb92820a65d 100644 --- a/pages/common/csvcut.md +++ b/pages/common/csvcut.md @@ -6,16 +6,16 @@ - Print indices and names of all columns: -`csvcut -n {{data.csv}}` +`csvcut {{[-n|--names]}} {{data.csv}}` - Extract the first and third columns: -`csvcut -c {{1,3}} {{data.csv}}` +`csvcut {{[-c|--columns]}} {{1,3}} {{data.csv}}` -- Extract all columns **except** the fourth one: +- Extract all columns except the fourth one: -`csvcut -C {{4}} {{data.csv}}` +`csvcut {{[-C|--not-columns]}} {{4}} {{data.csv}}` - Extract the columns named "id" and "first name" (in that order): -`csvcut -c {{id,"first name"}} {{data.csv}}` +`csvcut {{[-c|--columns]}} {{id,"first name"}} {{data.csv}}` diff --git a/pages/common/csvformat.md b/pages/common/csvformat.md index eccb556823f9c4..c5fe5bae5000b5 100644 --- a/pages/common/csvformat.md +++ b/pages/common/csvformat.md @@ -6,20 +6,20 @@ - Convert to a tab-delimited file (TSV): -`csvformat -T {{data.csv}}` +`csvformat {{[-T|--out-tabs]}} {{data.csv}}` - Convert delimiters to a custom character: -`csvformat -D "{{custom_character}}" {{data.csv}}` +`csvformat {{[-D|--out-delimiter]}} "{{custom_character}}" {{data.csv}}` - Convert line endings to carriage return (^M) + line feed: -`csvformat -M "{{\r\n}}" {{data.csv}}` +`csvformat {{[-M|--out-lineterminator]}} "{{\r\n}}" {{data.csv}}` - Minimize use of quote characters: -`csvformat -U 0 {{data.csv}}` +`csvformat {{[-U|--out-quoting]}} 0 {{data.csv}}` - Maximize use of quote characters: -`csvformat -U 1 {{data.csv}}` +`csvformat {{[-U|--out-quoting]}} 1 {{data.csv}}` diff --git a/pages/common/csvgrep.md b/pages/common/csvgrep.md index a898b497198870..370b2066153364 100644 --- a/pages/common/csvgrep.md +++ b/pages/common/csvgrep.md @@ -6,12 +6,12 @@ - Find rows that have a certain string in column 1: -`csvgrep -c {{1}} -m {{string_to_match}} {{data.csv}}` +`csvgrep {{[-c|--columns]}} {{1}} {{[-m|--match]}} {{string_to_match}} {{data.csv}}` -- Find rows in which columns 3 or 4 match a certain regex pattern: +- Find rows in which columns 3 or 4 match a certain `regex`: -`csvgrep -c {{3,4}} -r {{regex_pattern}} {{data.csv}}` +`csvgrep {{[-c|--columns]}} {{3,4}} {{[-r|--regex]}} {{regex}} {{data.csv}}` - Find rows in which the "name" column does NOT include the string "John Doe": -`csvgrep -i -c {{name}} -m "{{John Doe}}" {{data.csv}}` +`csvgrep {{[-i|--invert-match]}} {{[-c|--columns]}} {{name}} {{[-m|--match]}} "{{John Doe}}" {{data.csv}}` diff --git a/pages/common/csvkit.md b/pages/common/csvkit.md deleted file mode 100644 index 7217715c01c4c5..00000000000000 --- a/pages/common/csvkit.md +++ /dev/null @@ -1,21 +0,0 @@ -# csvkit - -> Manipulation toolkit for CSV files. -> See the individual commands: `csvclean`, `csvcut`, `csvformat`, `csvgrep`, `csvlook`, `csvpy`, `csvsort`, `csvstat`. -> More information: . - -- Run a command on a CSV file with a custom delimiter: - -`{{cmd}} -d {{delimiter}} {{filename.csv}}` - -- Run a command on a CSV file with a tab as a delimiter (overrides -d): - -`{{cmd}} -t {{filename.csv}}` - -- Run a command on a CSV file with a custom quote character: - -`{{cmd}} -q {{quote_char}} {{filename.csv}}` - -- Run a command on a CSV file with no header row: - -`{{cmd}} -H {{filename.csv}}` diff --git a/pages/common/csvpy.md b/pages/common/csvpy.md index d7eca39002fd6a..1eafd110790da8 100644 --- a/pages/common/csvpy.md +++ b/pages/common/csvpy.md @@ -1,6 +1,6 @@ # csvpy -> Loads a CSV file into a Python shell. +> Load a CSV file into a Python shell. > Included in csvkit. > More information: . diff --git a/pages/common/csvsort.md b/pages/common/csvsort.md index 10392985aa5955..ff6b38c2d02716 100644 --- a/pages/common/csvsort.md +++ b/pages/common/csvsort.md @@ -1,21 +1,21 @@ # csvsort -> Sorts CSV files. +> Sort CSV files. > Included in csvkit. > More information: . - Sort a CSV file by column 9: -`csvsort -c {{9}} {{data.csv}}` +`csvsort {{[-c|--columns]}} {{9}} {{data.csv}}` - Sort a CSV file by the "name" column in descending order: -`csvsort -r -c {{name}} {{data.csv}}` +`csvsort {{[-r|--reverse]}} {{[-c|--columns]}} {{name}} {{data.csv}}` - Sort a CSV file by column 2, then by column 4: -`csvsort -c {{2,4}} {{data.csv}}` +`csvsort {{[-c|--columns]}} {{2,4}} {{data.csv}}` - Sort a CSV file without inferring data types: -`csvsort --no-inference -c {{columns}} {{data.csv}}` +`csvsort {{[-I|--no-inference]}} {{[-c|--columns]}} {{columns}} {{data.csv}}` diff --git a/pages/common/csvstat.md b/pages/common/csvstat.md index 09a6fe27e5d874..b716862580c45f 100644 --- a/pages/common/csvstat.md +++ b/pages/common/csvstat.md @@ -10,7 +10,7 @@ - Show all stats for columns 2 and 4: -`csvstat -c {{2,4}} {{data.csv}}` +`csvstat {{[-c|--columns]}} {{2,4}} {{data.csv}}` - Show sums for all columns: @@ -18,8 +18,8 @@ - Show the max value length for column 3: -`csvstat -c {{3}} --len {{data.csv}}` +`csvstat {{[-c|--columns]}} {{3}} --len {{data.csv}}` - Show the number of unique values in the "name" column: -`csvstat -c {{name}} --unique {{data.csv}}` +`csvstat {{[-c|--columns]}} {{name}} --unique {{data.csv}}` diff --git a/pages/common/csvtool.md b/pages/common/csvtool.md index bba9069c9a4570..05f02d978999a3 100644 --- a/pages/common/csvtool.md +++ b/pages/common/csvtool.md @@ -5,20 +5,20 @@ - Extract the second column from a CSV file: -`csvtool --column {{2}} {{path/to/file.csv}}` +`csvtool {{[-c|--column]}} {{2}} {{path/to/file.csv}}` - Extract the second and fourth columns from a CSV file: -`csvtool --column {{2,4}} {{path/to/file.csv}}` +`csvtool {{[-c|--column]}} {{2,4}} {{path/to/file.csv}}` - Extract lines from a CSV file where the second column exactly matches 'Foo': -`csvtool --column {{2}} --search '{{^Foo$}}' {{path/to/file.csv}}` +`csvtool {{[-c|--column]}} {{2}} {{[-s|--search]}} '{{^Foo$}}' {{path/to/file.csv}}` - Extract lines from a CSV file where the second column starts with 'Bar': -`csvtool --column {{2}} --search '{{^Bar}}' {{path/to/file.csv}}` +`csvtool {{[-c|--column]}} {{2}} {{[-s|--search]}} '{{^Bar}}' {{path/to/file.csv}}` - Find lines in a CSV file where the second column ends with 'Baz' and then extract the third and sixth columns: -`csvtool --column {{2}} --search '{{Baz$}}' {{path/to/file.csv}} | csvtool --no-header --column {{3,6}}` +`csvtool {{[-c|--column]}} {{2}} {{[-s|--search]}} '{{Baz$}}' {{path/to/file.csv}} | csvtool {{[-e|--no-header]}} {{[-c|--column]}} {{3,6}}` diff --git a/pages/common/ctags.md b/pages/common/ctags.md index 08029d65edcfd1..4bc32c1d0e3846 100644 --- a/pages/common/ctags.md +++ b/pages/common/ctags.md @@ -1,7 +1,7 @@ # ctags -> Generates an index (or tag) file of language objects found in source files for many popular programming languages. -> More information: . +> Generate an index (or tag) file of language objects found in source files for many popular programming languages. +> More information: . - Generate tags for a single file, and output them to a file named "tags" in the current directory, overwriting the file if it exists: @@ -9,8 +9,12 @@ - Generate tags for all files in the current directory, and output them to a specific file, overwriting the file if it exists: -`ctags -f {{filename}} *` +`ctags -f {{path/to/file}} *` - Generate tags for all files in the current directory and all subdirectories: `ctags --recurse` + +- Generate tags for a single file, and output them with start line number and end line number in JSON format: + +`ctags --fields=+ne --output-format=json {{path/to/file}}` diff --git a/pages/common/ctest.md b/pages/common/ctest.md index 7cfc73e5709ef7..9577651e8b1dc1 100644 --- a/pages/common/ctest.md +++ b/pages/common/ctest.md @@ -3,14 +3,14 @@ > CMake test driver program. > More information: . -- Run all tests defined in the CMake project, executing 4 jobs at a time in parallel: +- Run all tests defined in the CMake project, executing 4 [j]obs at a time in parallel: -`ctest -j{{4}} --output-on-failure` +`ctest {{[-j|--parallel]}} {{4}} --output-on-failure` -- Show a list of available tests: +- List available tests: -`ctest -N` +`ctest {{[-N|--show-only]}}` -- Run a single test based on its name, or filter on a regular expression: +- Run a single test based on its name, or filter on a `regex`: -`ctest --output-on-failure -R '^{{test_name}}$'` +`ctest --output-on-failure {{[-R|--tests-regex]}} '^{{test_name}}$'` diff --git a/pages/common/cups-config.md b/pages/common/cups-config.md new file mode 100644 index 00000000000000..0013bee2765dde --- /dev/null +++ b/pages/common/cups-config.md @@ -0,0 +1,24 @@ +# cups-config + +> Show technical information about your CUPS print server installation. +> More information: . + +- Show where CUPS is currently installed: + +`cups-config --serverbin` + +- Show the location of CUPS' configuration directory: + +`cups-config --serverroot` + +- Show the location of CUPS' data directory: + +`cups-config --datadir` + +- Display help: + +`cups-config --help` + +- Display CUPS version: + +`cups-config --version` diff --git a/pages/common/cups.md b/pages/common/cups.md new file mode 100644 index 00000000000000..b4a4611edb0607 --- /dev/null +++ b/pages/common/cups.md @@ -0,0 +1,25 @@ +# CUPS + +> Open source printing system. +> CUPS isn't a single command, but a set of commands. +> More information: . + +- View documentation for running the CUPS daemon: + +`tldr cupsd` + +- View documentation for managing printers: + +`tldr lpadmin` + +- View documentation for printing files: + +`tldr lp` + +- View documentation for checking status information about the current classes, jobs, and printers: + +`tldr lpstat` + +- View documentation for cancelling print jobs: + +`tldr lprm` diff --git a/pages/common/cupsaccept.md b/pages/common/cupsaccept.md new file mode 100644 index 00000000000000..063b84a33c1f9c --- /dev/null +++ b/pages/common/cupsaccept.md @@ -0,0 +1,14 @@ +# cupsaccept + +> Accept jobs sent to destinations. +> Note: Destination is referred as a printer or a class of printers. +> See also: `cupsreject`, `cupsenable`, `cupsdisable`, `lpstat`. +> More information: . + +- Accept print jobs to the specified destinations: + +`cupsaccept {{destination1 destination2 ...}}` + +- Specify a different server: + +`cupsaccept -h {{server}} {{destination1 destination2 ...}}` diff --git a/pages/common/cupsctl.md b/pages/common/cupsctl.md new file mode 100644 index 00000000000000..dec24ef75e136e --- /dev/null +++ b/pages/common/cupsctl.md @@ -0,0 +1,28 @@ +# cupsctl + +> Update or query a server's `cupsd.conf`. +> More information: . + +- Display the current configuration values: + +`cupsctl` + +- Display the configuration values of a specific server: + +`cupsctl -h {{server[:port]}}` + +- Enable encryption on the connection to the scheduler: + +`cupsctl -E` + +- Enable or disable debug logging to the `error_log` file: + +`cupsctl {{--debug-logging|--no-debug-logging}}` + +- Enable or disable remote administration: + +`cupsctl {{--remote-admin|--no-remote-admin}}` + +- Parse the current debug logging state: + +`cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'` diff --git a/pages/common/cupsd.md b/pages/common/cupsd.md new file mode 100644 index 00000000000000..e2b14c4148cb97 --- /dev/null +++ b/pages/common/cupsd.md @@ -0,0 +1,36 @@ +# cupsd + +> Server daemon for the CUPS print server. +> More information: . + +- Start `cupsd` in the background, aka. as a daemon: + +`cupsd` + +- Start `cupsd` on the [f]oreground: + +`cupsd -f` + +- [l]aunch `cupsd` on-demand (commonly used by `launchd` or `systemd`): + +`cupsd -l` + +- Start `cupsd` using the specified [`c`]`upsd.conf` configuration file: + +`cupsd -c {{path/to/cupsd.conf}}` + +- Start `cupsd` using the specified `cups-file`[`s`]`.conf` configuration file: + +`cupsd -s {{path/to/cups-files.conf}}` + +- [t]est the [`c`]`upsd.conf` configuration file for errors: + +`cupsd -t -c {{path/to/cupsd.conf}}` + +- [t]est the `cups-file`[`s`]`.conf` configuration file for errors: + +`cupsd -t -s {{path/to/cups-files.conf}}` + +- Display help: + +`cupsd -h` diff --git a/pages/common/cupsdisable.md b/pages/common/cupsdisable.md new file mode 100644 index 00000000000000..649a1e6057afba --- /dev/null +++ b/pages/common/cupsdisable.md @@ -0,0 +1,14 @@ +# cupsdisable + +> Stop printers and classes. +> Note: Destination is referred as a printer or a class of printers. +> See also: `cupsenable`, `cupsaccept`, `cupsreject`, `lpstat`. +> More information: . + +- Stop one or more destination(s): + +`cupsdisable {{destination1 destination2 ...}}` + +- Cancel all jobs of the specified destination(s): + +`cupsdisable -c {{destination1 destination2 ...}}` diff --git a/pages/common/cupsenable.md b/pages/common/cupsenable.md new file mode 100644 index 00000000000000..f0dbf91bdf4b2d --- /dev/null +++ b/pages/common/cupsenable.md @@ -0,0 +1,18 @@ +# cupsenable + +> Start printers and classes. +> Note: Destination is referred as a printer or a class of printers. +> See also: `cupsdisable`, `cupsaccept`, `cupsreject`, `lpstat`. +> More information: . + +- Start one or more destination(s): + +`cupsenable {{destination1 destination2 ...}}` + +- Resume printing of pending jobs of a destination (use after `cupsdisable` with `--hold`): + +`cupsenable --release {{destination}}` + +- Cancel all jobs of the specified destination(s): + +`cupsenable -c {{destination1 destination2 ...}}` diff --git a/pages/common/cupsreject.md b/pages/common/cupsreject.md new file mode 100644 index 00000000000000..952115ca35708f --- /dev/null +++ b/pages/common/cupsreject.md @@ -0,0 +1,18 @@ +# cupsreject + +> Reject jobs sent to printers. +> Note: Destination is referred as a printer or a class of printers. +> See also: `cupsaccept`, `cupsenable`, `cupsdisable`, `lpstat`. +> More information: . + +- Reject print jobs to the specified destinations: + +`cupsreject {{destination1 destination2 ...}}` + +- Specify a different server: + +`cupsreject -h {{server}} {{destination1 destination2 ...}}` + +- Specify a reason string ("Reason Unknown" by default): + +`cupsreject -r {{reason}} {{destination1 destination2 ...}}` diff --git a/pages/common/cupstestppd.md b/pages/common/cupstestppd.md new file mode 100644 index 00000000000000..1405a2bfedfed4 --- /dev/null +++ b/pages/common/cupstestppd.md @@ -0,0 +1,19 @@ +# cupstestppd + +> Test conformance of PPD files to the version 4.3 of the specification. +> Error codes (1, 2, 3 and 4, respectively): bad CLI arguments, unable to open file, unskippable format errors and non-conformance with PPD specification. +> Note: This command is deprecated. +> See also: `lpadmin`. +> More information: . + +- Test the conformance of one or more files in quiet mode: + +`cupstestppd -q {{path/to/file1.ppd path/to/file2.ppd ...}}` + +- Get the PPD file from `stdin`, showing detailed conformance testing results: + +`cupstestppd -v - < {{path/to/file.ppd}}` + +- Test all PPD files under the current directory, printing the names of each file that does not conform: + +`find . -name \*.ppd \! -execdir cupstestppd -q '{}' \; -print` diff --git a/pages/common/curl.md b/pages/common/curl.md index 32244f3995739f..7188a9b328a095 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -1,37 +1,38 @@ # curl > Transfers data from or to a server. -> Supports most protocols, including HTTP, FTP, and POP3. -> More information: . +> Supports most protocols, including HTTP, HTTPS, FTP, SCP, etc. +> See also: `wget`. +> More information: . -- Download the contents of an URL to a file: +- Make an HTTP GET request and dump the contents in `stdout`: -`curl {{http://example.com}} -o {{filename}}` +`curl {{https://example.com}}` -- Download a file, saving the output under the filename indicated by the URL: +- Make an HTTP GET request, follow any `3xx` redirects, and dump the reply headers and contents to `stdout`: -`curl -O {{http://example.com/filename}}` +`curl {{[-L|--location]}} {{[-D|--dump-header]}} - {{https://example.com}}` -- Download a file, following [L]ocation redirects, and automatically [C]ontinuing (resuming) a previous file transfer: +- Download a file, saving the output under the filename indicated by the URL: -`curl -O -L -C - {{http://example.com/filename}}` +`curl {{[-O|--remote-name]}} {{https://example.com/filename.zip}}` -- Send form-encoded data (POST request of type `application/x-www-form-urlencoded`). Use `-d @file_name` or `-d @'-'` to read from STDIN: +- Send form-encoded data (POST request of type `application/x-www-form-urlencoded`). Use `--data @file_name` or `--data @'-'` to read from `stdin`: -`curl -d {{'name=bob'}} {{http://example.com/form}}` +`curl {{[-X|--request]}} POST {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` -- Send a request with an extra header, using a custom HTTP method: +- Send a request with an extra header, using a custom HTTP method and over a proxy (such as BurpSuite), ignoring insecure self-signed certificates: -`curl -H {{'X-My-Header: 123'}} -X {{PUT}} {{http://example.com}}` +`curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} {{'Authorization: Bearer token'}} {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}` -- Send data in JSON format, specifying the appropriate content-type header: +- Send data in JSON format, specifying the appropriate Content-Type header: -`curl -d {{'{"name":"bob"}'}} -H {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` +`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` -- Pass a user name and password for server authentication: +- Pass client certificate and private key for the request, skipping certificate validation: -`curl -u myusername:mypassword {{http://example.com}}` +`curl {{[-E|--cert]}} {{client.pem}} --key {{key.pem}} {{[-k|--insecure]}} {{https://example.com}}` -- Pass client certificate and key for a resource, skipping certificate validation: +- Resolve a hostname to a custom IP address, with verbose output (similar to editing the `/etc/hosts` file for custom DNS resolution): -`curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://example.com}}` +`curl {{[-v|--verbose]}} --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}` diff --git a/pages/common/cut.md b/pages/common/cut.md index b5a7256e9202e8..9afc23d7ce527e 100644 --- a/pages/common/cut.md +++ b/pages/common/cut.md @@ -1,27 +1,20 @@ # cut > Cut out fields from `stdin` or files. +> More information: . -- Cut out the first sixteen characters of each line of `stdin`: +- Print a specific [c]haracter/[f]ield range of each line: -`cut -c {{1-16}}` +`{{command}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}` -- Cut out the first sixteen characters of each line of the given files: +- Print a field range of each line with a specific delimiter: -`cut -c {{1-16}} {{file}}` +`{{command}} | cut {{[-d|--delimiter]}} "{{delimiter}}" {{[-f|--fields]}} {{1|1,10|1-10|1-|-10}}` -- Cut out everything from the 3rd character to the end of each line: +- Print a character range of each line of the specific file: -`cut -c {{3-}}` +`cut {{[-c|--characters]}} {{1}} {{path/to/file}}` -- Cut out the fifth field of each line, using a colon as a field delimiter (default delimiter is tab): +- Print specific fields of `NUL` terminated lines (e.g. as in `find . -print0`) instead of newlines: -`cut -d'{{:}}' -f{{5}}` - -- Cut out the 2nd and 10th fields of each line, using a semicolon as a delimiter: - -`cut -d'{{;}}' -f{{2,10}}` - -- Cut out the fields 3 through to the end of each line, using a space as a delimiter: - -`cut -d'{{ }}' -f{{3-}}` +`{{command}} | cut {{[-z|--zero-terminated]}} {{[-f|--fields]}} {{1}}` diff --git a/pages/common/cvs.md b/pages/common/cvs.md new file mode 100644 index 00000000000000..462195728dd7c4 --- /dev/null +++ b/pages/common/cvs.md @@ -0,0 +1,32 @@ +# cvs + +> Concurrent Versions System, a revision control system. +> More information: . + +- Create a new repository (requires the `CVSROOT` environment variable to be set externally): + +`cvs -d {{path/to/repository}} init` + +- Add a project to the repository: + +`cvs import -m "{{message}}" {{project_name}} {{version}} {{vendor}}` + +- Checkout a project: + +`cvs checkout {{project_name}}` + +- Show changes made to files: + +`cvs diff {{path/to/file}}` + +- Add a file: + +`cvs add {{path/to/file}}` + +- Commit a file: + +`cvs commit -m "{{message}}" {{path/to/file}}` + +- Update the working directory from the remote repository: + +`cvs update` diff --git a/pages/common/cwebp.md b/pages/common/cwebp.md new file mode 100644 index 00000000000000..112f528279bdd7 --- /dev/null +++ b/pages/common/cwebp.md @@ -0,0 +1,24 @@ +# cwebp + +> Compress an image file to a WebP file. +> More information: . + +- Compress a WebP file with default settings (q = 75) to the [o]utput file: + +`cwebp {{path/to/image_file}} -o {{path/to/output.webp}}` + +- Compress a WebP file with the best [q]uality and largest file size: + +`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -q {{100}}` + +- Compress a WebP file with the worst [q]uality and smallest file size: + +`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -q {{0}}` + +- Compress a WebP file and apply resize to image: + +`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -resize {{width}} {{height}}` + +- Compress a WebP file and drop alpha channel information: + +`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -noalpha` diff --git a/pages/common/cypher-shell.md b/pages/common/cypher-shell.md new file mode 100644 index 00000000000000..5d5bf5ba71894f --- /dev/null +++ b/pages/common/cypher-shell.md @@ -0,0 +1,33 @@ +# cypher-shell + +> Open an interactive session and run Cypher queries against a Neo4j instance. +> See also: `neo4j-admin`, `mysql`. +> More information: . + +- Connect to a local instance on the default port (`neo4j://localhost:7687`): + +`cypher-shell` + +- Connect to a remote instance: + +`cypher-shell --address neo4j://{{host}}:{{port}}` + +- Connect and supply security credentials: + +`cypher-shell --username {{username}} --password {{password}}` + +- Connect to a specific database: + +`cypher-shell --database {{database_name}}` + +- Execute Cypher statements in a file and close: + +`cypher-shell --file {{path/to/file.cypher}}` + +- Enable logging to a file: + +`cypher-shell --log {{path/to/file.log}}` + +- Display help: + +`cypher-shell --help` diff --git a/pages/common/czkawka-cli.md b/pages/common/czkawka-cli.md new file mode 100644 index 00000000000000..57d337e9646ef4 --- /dev/null +++ b/pages/common/czkawka-cli.md @@ -0,0 +1,12 @@ +# czkawka-cli + +> Command-line version of `czkawka` a multi-functional app to find duplicates, empty folders, similar images and much more. +> More information: . + +- List duplicate or similar files in specific directories: + +`czkawka-cli {{dup|image}} --directories {{path/to/directory1 path/to/directory2 ...}}` + +- Find duplicate files in specific directories and delete them (default: `NONE`): + +`czkawka-cli dup --directories {{path/to/directory1 path/to/directory2 ...}} --delete-method {{AEN|AEO|ON|OO|HARD|NONE}}` diff --git a/pages/common/d2.md b/pages/common/d2.md new file mode 100644 index 00000000000000..7e0b73c725916a --- /dev/null +++ b/pages/common/d2.md @@ -0,0 +1,29 @@ +# d2 + +> A modern diagram scripting language that turns text to diagrams. +> Note: The output file supports SVG and PNG file formats. +> More information: . + +- Compile and render a D2 source file into an output file: + +`d2 {{path/to/input_file.d2}} {{path/to/output_file.ext}}` + +- Watch live changes made to a D2 source file in the default web browser: + +`d2 {{[-w|--watch]}} {{path/to/input_file.d2}} {{path/to/output_file.ext}}` + +- Format a D2 source file: + +`d2 fmt {{path/to/input_file.d2}}` + +- List available themes: + +`d2 themes` + +- Use a different theme for the output file (list available themes first to get the desired `theme_id`): + +`d2 {{[-t|--theme]}} {{theme_id}} {{path/to/input_file.d2}} {{path/to/output_file.ext}}` + +- Make rendered diagrams look like hand sketches: + +`d2 {{[-s|--sketch]}} true {{path/to/input_file.d2}} {{path/to/output_file.ext}}` diff --git a/pages/common/d8.md b/pages/common/d8.md new file mode 100644 index 00000000000000..752bf3abf74863 --- /dev/null +++ b/pages/common/d8.md @@ -0,0 +1,16 @@ +# d8 + +> Developer shell for the V8 JavaScript engine. +> More information: . + +- Start a REPL (interactive shell): + +`d8` + +- Run a JavaScript file: + +`d8 {{path/to/file.js}}` + +- Evaluate a JavaScript expression: + +`d8 -e "{{code}}"` diff --git a/pages/common/dalfox.md b/pages/common/dalfox.md new file mode 100644 index 00000000000000..3fa121291564b9 --- /dev/null +++ b/pages/common/dalfox.md @@ -0,0 +1,16 @@ +# dalfox + +> A powerful open-source XSS scanner focused on automation. +> More information: . + +- Scan a single URL for XSS vulnerabilities: + +`dalfox url {{http://example.com}}` + +- Scan a URL using a header for authentication: + +`dalfox url {{http://example.com}} {{[-H|--header]}} {{'X-My-Header: 123'}}` + +- Scan a list of URLs from a file: + +`dalfox file {{path/to/file}}` diff --git a/pages/common/daps.md b/pages/common/daps.md new file mode 100644 index 00000000000000..18cbd9cf88c588 --- /dev/null +++ b/pages/common/daps.md @@ -0,0 +1,24 @@ +# daps + +> An open source program for transforming DocBook XML into output formats such as HTML or PDF. +> More information: . + +- Check if a DocBook XML file is valid: + +`daps {{[-d|--docconfig]}} {{path/to/file.xml}} validate` + +- Convert a DocBook XML file into PDF: + +`daps {{[-d|--docconfig]}} {{path/to/file.xml}} pdf` + +- Convert a DocBook XML file into a single HTML file: + +`daps {{[-d|--docconfig]}} {{path/to/file.xml}} html --single` + +- Display help: + +`daps {{[-h|--help]}}` + +- Display version: + +`daps --version` diff --git a/pages/common/darkhttpd.md b/pages/common/darkhttpd.md index ee3593f0e9b03a..e378bcc5261f22 100644 --- a/pages/common/darkhttpd.md +++ b/pages/common/darkhttpd.md @@ -1,7 +1,7 @@ # darkhttpd > Darkhttpd web server. -> More information: . +> More information: . - Start server serving the specified document root: diff --git a/pages/common/dart.md b/pages/common/dart.md new file mode 100644 index 00000000000000..05f1214422e660 --- /dev/null +++ b/pages/common/dart.md @@ -0,0 +1,32 @@ +# dart + +> Manage Dart projects. +> More information: . + +- Initialize a new Dart project in a directory of the same name: + +`dart create {{project_name}}` + +- Run a Dart file: + +`dart run {{path/to/file.dart}}` + +- Download dependencies for the current project: + +`dart pub get` + +- Run unit tests for the current project: + +`dart test` + +- Update an outdated project's dependencies to support null-safety: + +`dart pub upgrade --null-safety` + +- Compile a Dart file to a native binary: + +`dart compile exe {{path/to/file.dart}}` + +- Apply automated fixes to the current project: + +`dart fix --apply` diff --git a/pages/common/dash.md b/pages/common/dash.md new file mode 100644 index 00000000000000..21ef84f7f7571c --- /dev/null +++ b/pages/common/dash.md @@ -0,0 +1,32 @@ +# dash + +> Debian Almquist Shell, a modern, POSIX-compliant implementation of `sh` (not Bash-compatible). +> More information: . + +- Start an interactive shell session: + +`dash` + +- Execute specific [c]ommands: + +`dash -c "{{echo 'dash is executed'}}"` + +- Execute a specific script: + +`dash {{path/to/script.sh}}` + +- Check a specific script for syntax errors: + +`dash -n {{path/to/script.sh}}` + +- Execute a specific script while printing each command before executing it: + +`dash -x {{path/to/script.sh}}` + +- Execute a specific script and stop at the first [e]rror: + +`dash -e {{path/to/script.sh}}` + +- Execute specific commands from `stdin`: + +`{{echo "echo 'dash is executed'"}} | dash` diff --git a/pages/common/datashader_cli.md b/pages/common/datashader_cli.md new file mode 100644 index 00000000000000..cbf4568f1b1f5e --- /dev/null +++ b/pages/common/datashader_cli.md @@ -0,0 +1,16 @@ +# datashader_cli + +> Quick visualization of large datasets using CLI based on datashader. +> More information: . + +- Create a shaded scatter plot of points and save it to a PNG file and set the background color: + +`datashader_cli points {{path/to/input.parquet}} --x {{pickup_x}} --y {{pickup_y}} {{path/to/output.png}} --background {{black|white|#rrggbb}}` + +- Visualize the geospatial data (supports Geoparquet, shapefile, geojson, geopackage, etc.): + +`datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo true` + +- Use matplotlib to render the image: + +`datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo {{true}} --matplotlib true` diff --git a/pages/common/date.md b/pages/common/date.md index fdffe04c0f2046..44d9aa47650187 100644 --- a/pages/common/date.md +++ b/pages/common/date.md @@ -1,27 +1,36 @@ # date > Set or display the system date. +> More information: . - Display the current date using the default locale's format: -`date +"%c"` +`date +%c` -- Display the current date in UTC and ISO 8601 format: +- Display the current date in UTC, using the ISO 8601 format: -`date -u +"%Y-%m-%dT%H:%M:%S%Z"` +`date {{[-u|--utc]}} +%Y-%m-%dT%H:%M:%S%Z` - Display the current date as a Unix timestamp (seconds since the Unix epoch): `date +%s` -- Display a specific date (represented as a Unix timestamp) using the default format: +- Convert a date specified as a Unix timestamp to the default format: -`date -d @1473305798` +`date {{[-d|--date]}} @{{1473305798}}` -- Convert a specific date to the Unix timestamp format: +- Convert a given date to the Unix timestamp format: -`date -d "{{2018-09-01 00:00}}" +%s --utc` +`date {{[-d|--date]}} "{{2018-09-01 00:00}}" +%s {{[-u|--utc]}}` - Display the current date using the RFC-3339 format (`YYYY-MM-DD hh:mm:ss TZ`): -`date --rfc-3339=s` +`date --rfc-3339 s` + +- Set the current date using the format `MMDDhhmmYYYY.ss` (`YYYY` and `.ss` are optional): + +`date {{093023592021.59}}` + +- Display the current ISO week number: + +`date +%V` diff --git a/pages/common/dbeaver.md b/pages/common/dbeaver.md new file mode 100644 index 00000000000000..3abf2e89b39965 --- /dev/null +++ b/pages/common/dbeaver.md @@ -0,0 +1,32 @@ +# dbeaver + +> A GUI SQL client supporting many databases. +> More information: . + +- Open DBeaver: + +`dbeaver` + +- Open DBeaver connecting to a specific database: + +`dbeaver {{[-con|--connect]}} {{database}}` + +- Force the creation of a new instance: + +`dbeaver --newInstance` + +- Stop the running instance: + +`dbeaver --quit` + +- Close all tabs within DBeaver: + +`dbeaver --closeTabs` + +- Bring DBeaver to the top of applications: + +`dbeaver --bringToFront` + +- Display help: + +`dbeaver --help` diff --git a/pages/common/dbt.md b/pages/common/dbt.md new file mode 100644 index 00000000000000..e1bae244ed3c4f --- /dev/null +++ b/pages/common/dbt.md @@ -0,0 +1,32 @@ +# dbt + +> A tool to model transformations in data warehouses. +> More information: . + +- Debug the dbt project and the connection to the database: + +`dbt debug` + +- Run all models of the project: + +`dbt run` + +- Run all tests of `example_model`: + +`dbt test --select example_model` + +- Build (load seeds, run models, snapshots, and tests associated with) `example_model` and its downstream dependents: + +`dbt build --select example_model+` + +- Build all models, except the ones with the tag `not_now`: + +`dbt build --exclude "tag:not_now"` + +- Build all models with tags `one` and `two`: + +`dbt build --select "tag:one,tag:two"` + +- Build all models with tags `one` or `two`: + +`dbt build --select "tag:one tag:two"` diff --git a/pages/common/dbx.md b/pages/common/dbx.md new file mode 100644 index 00000000000000..6c7170028a19ce --- /dev/null +++ b/pages/common/dbx.md @@ -0,0 +1,21 @@ +# dbx + +> Interact with the Databricks platform. +> Note: This tool has been retired and it is recommended to use Databricks Asset Bundles instead. +> More information: . + +- Create a new `dbx` project in the current working directory: + +`dbx configure --profile {{DEFAULT}}` + +- Sync local files from the specified path to DBFS and watch for changes: + +`dbx sync dbfs --source {{path/to/directory}} --dest {{path/to/remote_directory}}` + +- Deploy the specified workflow to artifact storage: + +`dbx deploy {{workflow_name}}` + +- Launch the specified workflow after deploying it: + +`dbx launch {{workflow_name}}` diff --git a/pages/common/dc.md b/pages/common/dc.md index b54fc14da892d7..5585dd1e2b4d0a 100644 --- a/pages/common/dc.md +++ b/pages/common/dc.md @@ -1,23 +1,29 @@ # dc > An arbitrary precision calculator. Uses reverse polish notation (RPN). +> See also: `bc`, `qalc`. +> More information: . -- Run calculator in interactive mode: +- Start an interactive session: `dc` -- Execute dc script in file: +- Execute a script: -`dc -f {{file}}` +`dc {{path/to/script.dc}}` -- Calculate 4 times 5 [4 5 *], subtract 17 [17 -], and [p]rint the output (using echo): +- Calculate an expression with the specified scale: -`echo "4 5 * 17 - p"| dc` +`dc {{[-e|--expression]}} '{{10}} k {{5 3 /}} p'` -- Set number of decimal places to 7 [7 k], calculate 5 divided by -3 [5 _3 /] and [p]rint (using dc -e): +- Calculate 4 times 5 (4 5 *), subtract 17 (17 -), and [p]rint the output: -`dc -e "7 k 5 _3 / p"` +`dc {{[-e|--expression]}} '4 5 * 17 - p'` -- Calculate the golden ratio, phi: Set number of decimal places to 100 [100 k], square root of 5 [5 v] plus 1 [1 +], divided by 2 [2 /], and [p]rint result: +- Specify the number of decimal places to 7 (7 k), calculate 5 divided by -3 (5 _3 /) and [p]rint: -`dc -e "100 k 5 v 1 + 2 / p"` +`dc {{[-e|--expression]}} '7 k 5 _3 / p'` + +- Calculate the golden ratio, phi: set number of decimal places to 100 (100 k), square root of 5 (5 v) plus 1 (1 +), divided by 2 (2 /), and [p]rint result: + +`dc {{[-e|--expression]}} '100 k 5 v 1 + 2 / p'` diff --git a/pages/common/dcfldd.md b/pages/common/dcfldd.md index 2c89d15c61e077..c0354532477ef4 100644 --- a/pages/common/dcfldd.md +++ b/pages/common/dcfldd.md @@ -1,12 +1,12 @@ # dcfldd > Enhanced version of dd for forensics and security. -> More information: . +> More information: . - Copy a disk to a raw image file and hash the image using SHA256: -`dcfldd if=/dev/{{disk_device}} of={{file.img}} hash=sha256 hashlog={{file.hash}}` +`dcfldd if={{/dev/disk_device}} of={{file.img}} hash=sha256 hashlog={{file.hash}}` -- Copy a disk to a raw image file, hashing each 1GB chunk: +- Copy a disk to a raw image file, hashing each 1 GB chunk: -`dcfldd if=/dev/{{disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}` +`dcfldd if={{/dev/disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}` diff --git a/pages/common/dcgmi.md b/pages/common/dcgmi.md new file mode 100644 index 00000000000000..9511289375de0a --- /dev/null +++ b/pages/common/dcgmi.md @@ -0,0 +1,24 @@ +# dcgmi + +> Manage and monitor NVIDIA Data Center GPUs. +> More information: . + +- Display information on all available GPUs and processes using them: + +`dcgmi discovery {{[-l|--list]}}` + +- List created groups: + +`dcgmi group {{[-l|--list]}}` + +- Display current usage statistics for device 0: + +`dcgmi dmon {{[-e|--field-id]}}{{1001,1002,1003,1004,1005}}` + +- Display help: + +`dcgmi {{[-h|--help]}}` + +- Display help for a subcommand: + +`dcgmi {{subcommand}} {{[-h|--help]}}` diff --git a/pages/common/dcode.md b/pages/common/dcode.md new file mode 100644 index 00000000000000..cfa09c144b39da --- /dev/null +++ b/pages/common/dcode.md @@ -0,0 +1,21 @@ +# dcode + +> Recursively detect and decode strings, supporting hex, decimal, binary, base64, URL, FromChar encodings, Caesar ciphers, and MD5, SHA1, and SHA2 hashes. +> Warning: uses 3rd-party web services for MD5, SHA1 and SHA2 hash lookups. For sensitive data, use `-s` to avoid these services. +> More information: . + +- Recursively detect and decode a string: + +`dcode "{{NjM3YTQyNzQ1YTQ0NGUzMg==}}"` + +- Rotate a string by the specified offset: + +`dcode -rot {{11}} "{{spwwz hzcwo}}"` + +- Rotate a string by all 26 possible offsets: + +`dcode -rot {{all}} "{{bpgkta xh qtiitg iwpc sr}}"` + +- Reverse a string: + +`dcode -rev "{{hello world}}"` diff --git a/pages/common/dd.md b/pages/common/dd.md index 6ac1cd826a1025..0c6b4f622f5d04 100644 --- a/pages/common/dd.md +++ b/pages/common/dd.md @@ -1,23 +1,24 @@ # dd > Convert and copy a file. +> More information: . -- Make a bootable usb drive from an isohybrid file (such like archlinux-xxx.iso) and show the progress: +- Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`) and show the progress: -`dd if={{file.iso}} of=/dev/{{usb_drive}} status=progress` +`dd if={{path/to/file.iso}} of={{/dev/usb_drive}} status=progress` -- Clone a drive to another drive with 4MB block, ignore error and show progress: +- Clone a drive to another drive with 4 MiB block size and flush writes before the command terminates: -`dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4M conv=noerror status=progress` +`dd bs=4194304 conv=fsync if={{/dev/source_drive}} of={{/dev/dest_drive}}` -- Generate a file of 100 random bytes by using kernel random driver: +- Generate a file with a specific number of random bytes by using kernel random driver: -`dd if=/dev/urandom of={{random_file}} bs=100 count=1` +`dd bs={{100}} count={{1}} if=/dev/urandom of={{path/to/random_file}}` -- Benchmark the write performance of a disk: +- Benchmark the sequential write performance of a disk: -`dd if=/dev/zero of={{file_1GB}} bs=1024 count=1000000` +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{path/to/file_1GB}}` -- Check progress of an ongoing dd operation (Run this command from another shell): +- Create a system backup, save it into an IMG file (can be restored later by swapping `if` and `of`), and show the progress: -`kill -USR1 $(pgrep ^dd)` +`dd if={{/dev/drive_device}} of={{path/to/file.img}} status=progress` diff --git a/pages/common/ddev.md b/pages/common/ddev.md new file mode 100644 index 00000000000000..231c5afba4c2c9 --- /dev/null +++ b/pages/common/ddev.md @@ -0,0 +1,32 @@ +# ddev + +> Container based local development tool for PHP environments. +> More information: . + +- Start up a project: + +`ddev start` + +- Configure a project's type and docroot: + +`ddev config` + +- Follow the log trail: + +`ddev logs {{[-f|--follow]}}` + +- Run composer within the container: + +`ddev composer` + +- Install a specific Node.js version: + +`ddev nvm install {{version}}` + +- Export a database: + +`ddev export-db {{[-f|--file]}} {{/tmp/db.sql.gz}}` + +- Run a specific command within a container: + +`ddev exec {{echo 1}}` diff --git a/pages/common/ddgr.md b/pages/common/ddgr.md new file mode 100644 index 00000000000000..c92f8c8211dee1 --- /dev/null +++ b/pages/common/ddgr.md @@ -0,0 +1,36 @@ +# ddgr + +> Search DuckDuckGo (HTML version) from the terminal. +> More information: . + +- Start in interactive mode: + +`ddgr` + +- Search DuckDuckGo for a keyword: + +`ddgr {{keyword}}` + +- Limit the number of search results to `n`: + +`ddgr {{[-n|--num]}} {{n}} {{keyword}}` + +- Display the complete URL in search results: + +`ddgr {{[-x|--expand]}} {{keyword}}` + +- Search DuckDuckGo for a keyword and open the first result in the browser: + +`ddgr !w {{keyword}}` + +- Perform a website-specific search: + +`ddgr {{[-w|--site]}} {{site}} {{keyword}}` + +- Search for a specific file type: + +`ddgr {{keyword}} filetype:{{filetype}}` + +- Display help in interactive mode: + +`` diff --git a/pages/common/decaffeinate.md b/pages/common/decaffeinate.md index 39ccba791c3caa..9db036fdaed0f2 100644 --- a/pages/common/decaffeinate.md +++ b/pages/common/decaffeinate.md @@ -11,7 +11,7 @@ `decaffeinate --use-cs2 {{path/to/file.coffee}}` -- Convert require and module.exports to import and export: +- Convert require and `module.exports` to import and export: `decaffeinate --use-js-modules {{path/to/file.coffee}}` diff --git a/pages/common/declare.md b/pages/common/declare.md new file mode 100644 index 00000000000000..73099d75dd491b --- /dev/null +++ b/pages/common/declare.md @@ -0,0 +1,36 @@ +# declare + +> Declare variables and give them attributes. +> More information: . + +- Declare a string variable with the specified value: + +`declare {{variable}}="{{value}}"` + +- Declare an integer variable with the specified value: + +`declare -i {{variable}}="{{value}}"` + +- Declare an array variable with the specified value: + +`declare -a {{variable}}=({{item_a item_b item_c}})` + +- Declare an associative array variable with the specified value: + +`declare -A {{variable}}=({{[key_a]=item_a [key_b]=item_b [key_c]=item_c}})` + +- Declare a readonly string variable with the specified value: + +`declare -r {{variable}}="{{value}}"` + +- Declare a global variable within a function with the specified value: + +`declare -g {{variable}}="{{value}}"` + +- Print a function definition: + +`declare -f {{function_name}}` + +- Print a variable definition: + +`declare -p {{variable_name}}` diff --git a/pages/common/deemix.md b/pages/common/deemix.md index 0b75efdd37fd59..38a9111258699d 100644 --- a/pages/common/deemix.md +++ b/pages/common/deemix.md @@ -1,14 +1,14 @@ # deemix > A barebone deezer downloader library built from the ashes of Deezloader Remix. -> It can be used as a standalone CLI app or implemented in an UI using the API. -> More information: . +> It can be used as a standalone CLI app or implemented in a UI using the API. +> More information: . - Download a track or playlist: `deemix {{https://www.deezer.com/us/track/00000000}}` -- Download track / playlist at a specific bitrate: +- Download track/playlist at a specific bitrate: `deemix --bitrate {{FLAC|MP3}} {{url}}` @@ -16,6 +16,6 @@ `deemix --bitrate {{bitrate}} --path {{path}} {{url}}` -- Create a portable deemix config in the current directory: +- Create a portable deemix configuration file in the current directory: `deemix --portable --bitrate {{bitrate}} --path {{path}} {{url}}` diff --git a/pages/common/delta.md b/pages/common/delta.md index 34474862d341a5..2f8c9d0bfba8f9 100644 --- a/pages/common/delta.md +++ b/pages/common/delta.md @@ -1,7 +1,7 @@ # delta > A viewer for Git and diff output. -> More information: . +> More information: . - Compare files or directories: @@ -9,11 +9,11 @@ - Compare files or directories, showing the line numbers: -`delta --line-numbers {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}` +`delta {{[-n|--line-numbers]}} {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}` - Compare files or directories, showing the differences side by side: -`delta --side-by-side {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}` +`delta {{[-s|--side-by-side]}} {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}` - Compare files or directories, ignoring any Git configuration settings: diff --git a/pages/common/deluge-console.md b/pages/common/deluge-console.md index d425beb17c1db3..5fb8a59b5b8224 100644 --- a/pages/common/deluge-console.md +++ b/pages/common/deluge-console.md @@ -1,7 +1,7 @@ # deluge-console > An interactive interface for the Deluge BitTorrent client. -> More information: . +> More information: . - Start the interactive console interface: diff --git a/pages/common/deluge.md b/pages/common/deluge.md index 10a1cc94b854d5..59e681208ca0cc 100644 --- a/pages/common/deluge.md +++ b/pages/common/deluge.md @@ -1,7 +1,7 @@ # deluge -> A command line BitTorrent client. -> More information: . +> A BitTorrent client. +> More information: . - Download a torrent: @@ -9,7 +9,7 @@ - Download a torrent using a specific configuration file: -`deluge -c {{path/to/configuration_file}} {{url|magnet|path/to/file}}` +`deluge {{[-c|--config]}} {{path/to/configuration_file}} {{url|magnet|path/to/file}}` - Download a torrent and launch the specified user interface: @@ -17,4 +17,4 @@ - Download a torrent and output the log to a file: -`deluge -l {{path/to/log_file}} {{url|magnet|path/to/file}}` +`deluge {{[-l|--logfile]}} {{path/to/log_file}} {{url|magnet|path/to/file}}` diff --git a/pages/common/deluged.md b/pages/common/deluged.md index 5475e9ef35db61..5d7f660f00192f 100644 --- a/pages/common/deluged.md +++ b/pages/common/deluged.md @@ -1,7 +1,7 @@ # deluged > A daemon process for the Deluge BitTorrent client. -> More information: . +> More information: . - Start the Deluge daemon: @@ -9,12 +9,12 @@ - Start the Deluge daemon on a specific port: -`deluged -p {{port}}` +`deluged {{[-p|--port]}} {{port}}` - Start the Deluge daemon using a specific configuration file: -`deluged -c {{path/to/configuration_file}}` +`deluged {{[-c|--config]}} {{path/to/configuration_file}}` - Start the Deluge daemon and output the log to a file: -`deluged -l {{path/to/log_file}}` +`deluged {{[-l|--logfile]}} {{path/to/log_file}}` diff --git a/pages/common/deluser.md b/pages/common/deluser.md deleted file mode 100644 index c9d67235fb9c7f..00000000000000 --- a/pages/common/deluser.md +++ /dev/null @@ -1,15 +0,0 @@ -# deluser - -> Remove a user account or remove a user from a group. - -- Remove a user: - -`deluser {{name}}` - -- Remove a user along with their home directory and mail spool: - -`deluser -r {{name}}` - -- Remove a user from a group: - -`deluser {{name}} {{group}}` diff --git a/pages/common/deno.md b/pages/common/deno.md index 6541658690ca32..3f15f68e9614ff 100644 --- a/pages/common/deno.md +++ b/pages/common/deno.md @@ -1,24 +1,37 @@ # deno -> A secure runtime for JavaScript and TypeScript. -> More information: . +> A secure runtime for JavaScript, TypeScript, and WebAssembly. +> Includes dependency management using `npm` or `jsr`, and tooling like bench, bundle, doc, and coverage. +> More information: . -- Run a JavaScript or TypeScript file: +- Start a REPL (interactive shell, also known as Read-Eval-Print Loop): -`deno {{path/to/file.ts}}` +`deno` -- Start a REPL (interactive shell): +- Start a new project named sample and test it: -`deno` +`deno init sample && cd sample && deno test` + +- Run a file securely. It will ask (if needed) to allow net, read, etc: + +`deno run {{path/to/file.ts}}` + +- Run a file with explicit permissions or allow all (only if you trust the source): + +`deno run {{[--allow-env|--allow-net|--allow-write|--allow-all]}} {{jsr:@deno/deployctl}}` + +- List and run tasks from `deno.json` or scripts from `package.json`: + +`deno task` -- Run a file with network access enabled: +- Install dependencies listed in `deno.json` or `package.json` (also lock files): -`deno --allow-net {{path/to/file.ts}}` +`deno install` -- Run a file from a URL: +- Check types, format, and lint (fix if possible): -`deno {{https://deno.land/std/examples/welcome.ts}}` +`deno check && deno fmt && deno lint --fix` -- Install an executable script from a URL: +- Compile the script, imported dependencies, and runtime into a self contained executable: -`deno install --allow-net --allow-read {{file_server}} {{https://deno.land/std/http/file_server.ts}}` +`deno compile {{path/to/file.ts}}` diff --git a/pages/common/dep.md b/pages/common/dep.md index e272f1364a2990..d4df17396d14fd 100644 --- a/pages/common/dep.md +++ b/pages/common/dep.md @@ -1,10 +1,10 @@ # dep -> A CLI tool for deployment of PHP applications. +> Deploy PHP applications. > Note: The Go command `dep` with the same name is deprecated and archived. > More information: . -- Interactively initialize deployer in the local path (use a framework template with `--template={{template}}`): +- Interactively initialize deployer in the local path (use a framework template with `--template=template`): `dep init` @@ -16,7 +16,7 @@ `dep rollback` -- Connect to a remote host via ssh: +- Connect to a remote host via SSH: `dep ssh {{hostname}}` diff --git a/pages/common/detox.md b/pages/common/detox.md index e2995992bf0b80..f796482c35faf1 100644 --- a/pages/common/detox.md +++ b/pages/common/detox.md @@ -2,16 +2,16 @@ > Renames files to make them easier to work with. > It removes spaces and other such annoyances like duplicate underline characters. -> More information: . +> More information: . - Remove spaces and other undesirable characters from a file's name: -`detox {{file}}` +`detox {{path/to/file}}` -- Show how detox would rename all of the files in a directory tree: +- Show how detox would rename all the files in a directory tree: -`detox --dry-run -r {{directory}}` +`detox {{[-n|--dry-run]}} -r {{path/to/directory}}` - Remove spaces and other undesirable characters from all files in a directory tree: -`detox -r {{directory}}` +`detox -r {{path/to/directory}}` diff --git a/pages/common/devcontainer.md b/pages/common/devcontainer.md new file mode 100644 index 00000000000000..fd2fe635ae286d --- /dev/null +++ b/pages/common/devcontainer.md @@ -0,0 +1,28 @@ +# devcontainer + +> Use a Docker container as a development environment. +> More information: . + +- Create and run a Dev Container: + +`devcontainer up` + +- Apply a Dev Container Template to a workspace: + +`devcontainer templates apply {{[-t|--template-id]}} {{template_id}} {{[-a|--template-args]}} {{template_args}} {{[-w|--workspace-folder]}} {{path/to/workspace}}` + +- Execute a command on a running Dev Container in the current workspace: + +`devcontainer exec {{command}}` + +- Build a Dev Container image from `devcontainer.json`: + +`devcontainer build {{path/to/workspace}}` + +- Open a Dev Container in VS Code (the path is optional): + +`devcontainer open {{path/to/workspace}}` + +- Read and print the configuration of a Dev Container from `devcontainer.json`: + +`devcontainer read-configuration` diff --git a/pages/common/devenv.md b/pages/common/devenv.md new file mode 100644 index 00000000000000..0a46a1bb4da369 --- /dev/null +++ b/pages/common/devenv.md @@ -0,0 +1,28 @@ +# devenv + +> Fast, Declarative, Reproducible and Composable Developer Environments using Nix. +> More information: . + +- Initialize the environment: + +`devenv init` + +- Enter the Development Environment with relaxed hermeticity (state of being airtight): + +`devenv shell --impure` + +- Get detailed information about the current environment: + +`devenv info --verbose` + +- Start processes with `devenv`: + +`devenv up --config {{path/to/file}}` + +- Clean the environment variables and re-enter the shell in offline mode: + +`devenv --clean --offline` + +- Delete the previous shell generations: + +`devenv gc` diff --git a/pages/common/devpod.md b/pages/common/devpod.md new file mode 100644 index 00000000000000..f953080239e43a --- /dev/null +++ b/pages/common/devpod.md @@ -0,0 +1,32 @@ +# devpod + +> Launch reproducible development environments using Docker, Kubernetes, or SSH. +> More information: . + +- Add a provider such as Docker or Kubernetes: + +`devpod provider add {{provider_name}}` + +- List all available providers: + +`devpod provider list-available` + +- Start a workspace from a GitHub repository with a specific IDE: + +`devpod up {{github.com/user/repo}} {{[-i|--ide]}} {{vscode}}` + +- Start a workspace from a local directory: + +`devpod up {{path/to/project}}` + +- Recreate an existing workspace: + +`devpod up {{workspace_name}} {{[-r|--recreate]}}` + +- Reset a workspace to a clean state: + +`devpod up {{workspace_name}} {{[-x|--reset]}}` + +- Add a custom provider from a GitHub repository: + +`devpod provider add {{org/provider-repo}}` diff --git a/pages/common/devspace.md b/pages/common/devspace.md new file mode 100644 index 00000000000000..609a5606eda5ea --- /dev/null +++ b/pages/common/devspace.md @@ -0,0 +1,36 @@ +# devspace + +> Develop, deploy, and debug applications inside Kubernetes. +> More information: . + +- Initialize a new DevSpace project in the current directory: + +`devspace init` + +- Start development mode with port forwarding, file synchronization, and terminal access: + +`devspace dev` + +- Start development mode in a specific namespace: + +`devspace dev {{[-n|--namespace]}} {{namespace}}` + +- Deploy the project to Kubernetes: + +`devspace deploy` + +- Deploy the project with a specific profile: + +`devspace deploy {{[-p|--profile]}} {{profile-name}}` + +- Build all defined images: + +`devspace build` + +- Follow logs from a pod: + +`devspace logs {{[-f|--follow]}}` + +- Open the DevSpace UI in the browser: + +`devspace ui` diff --git a/pages/common/dexdump.md b/pages/common/dexdump.md index 1c966dbf44b94a..98d9adc7aeb0d8 100644 --- a/pages/common/dexdump.md +++ b/pages/common/dexdump.md @@ -1,7 +1,7 @@ # dexdump > Display information about Android DEX files. -> More information: . +> More information: . - Extract classes and methods from an APK file: diff --git a/pages/common/dexter.md b/pages/common/dexter.md index b424f0021ee001..42cd076afefa73 100644 --- a/pages/common/dexter.md +++ b/pages/common/dexter.md @@ -1,12 +1,12 @@ # dexter -> Tool for authenticating the kubectl users with OpenId Connect. +> Authenticate the `kubectl` users with OpenId Connect. > More information: . - Create and authenticate a user with Google OIDC: -`dexter auth -i {{client_id}} -s {{client_secret}}` +`dexter auth {{[-i|--client-id]}} {{client_id}} {{[-s|--client-secret]}} {{client_secret}}` -- Override the default kube config location: +- Override the default kube configuration file location: -`dexter auth -i {{client_id}} -s {{client_secret}} --kube-config {{sample/config}}` +`dexter auth {{[-i|--client-id]}} {{client_id}} {{[-s|--client-secret]}} {{client_secret}} {{[-k|--kube-config]}} {{sample/config}}` diff --git a/pages/common/df.md b/pages/common/df.md index f7a6ae31ab5408..1ff012e4d941e9 100644 --- a/pages/common/df.md +++ b/pages/common/df.md @@ -1,23 +1,20 @@ # df -> Gives an overview of the filesystem disk space usage. +> Display an overview of the filesystem disk space usage. +> More information: . -- Display all filesystems and their disk usage: +- Display all filesystems and their disk usage (using 512-byte units): `df` -- Display all filesystems and their disk usage in human readable form: - -`df -h` - -- Display the filesystem and its disk usage containing the given file or directory: +- Display the filesystem containing the specified file or directory: `df {{path/to/file_or_directory}}` -- Display statistics on the number of free inodes: +- Use [k]ibibyte (1024 byte) units when showing size figures: -`df -i` +`df -k` -- Display filesystems but exclude the specified type: +- Display information in a portable way: -`df -x {{squashfs}} -x {{tmpfs}}` +`df -P` diff --git a/pages/common/dfc.md b/pages/common/dfc.md index 8ed9c9dd007bb9..08ffcfbf72c6be 100644 --- a/pages/common/dfc.md +++ b/pages/common/dfc.md @@ -1,9 +1,9 @@ # dfc -> Gives an overview of the filesystem disk space usage with colours and graphs. -> More information: . +> Get an overview of the filesystem disk space usage with colors and graphs. +> More information: . -- Display filesystems and their disk usage in human readable form with colours and graphs: +- Display filesystems and their disk usage in human-readable form with colors and graphs: `dfc` @@ -11,7 +11,7 @@ `dfc -a` -- Display filesystems without colour: +- Display filesystems without color: `dfc -c never` diff --git a/pages/common/dhclient.md b/pages/common/dhclient.md index 28bbadada065a7..a1f3b639eb931b 100644 --- a/pages/common/dhclient.md +++ b/pages/common/dhclient.md @@ -1,6 +1,7 @@ # dhclient > DHCP client. +> More information: . - Get an IP address for the `eth0` interface: diff --git a/pages/common/dhcpig.md b/pages/common/dhcpig.md new file mode 100644 index 00000000000000..f30c8b10c220af --- /dev/null +++ b/pages/common/dhcpig.md @@ -0,0 +1,33 @@ +# dhcpig + +> Initiates an advanced DHCP exhaustion attack and stress test. +> DHCPig needs to be run with root privileges. +> More information: . + +- Exhaust all of the available DHCP addresses using the specified interface: + +`sudo ./pig.py {{eth0}}` + +- Exhaust IPv6 addresses using eth1 interface: + +`sudo ./pig.py {{[-6|--ipv6]}} {{eth1}}` + +- Send fuzzed/malformed data packets using the interface: + +`sudo ./pig.py {{[-f|--fuzz]}} {{eth1}}` + +- Enable color output: + +`sudo ./pig.py {{[-c|--color]}} {{eth1}}` + +- Enable minimal verbosity and color output: + +`sudo ./pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 1 {{eth1}}` + +- Use a debug verbosity of 100 and scan network of neighboring devices using ARP packets: + +`sudo ./pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 100 {{[-n|--neighbors-scan-arp]}} {{eth1}}` + +- Enable printing lease information, attempt to scan and release all neighbor IP addresses: + +`sudo ./pig.py {{[-n|--neighbors-scan-arp]}} {{[-r|--neighbors-attack-release]}} {{[-o|--show-options]}} {{eth1}}` diff --git a/pages/common/dhcpwn.md b/pages/common/dhcpwn.md index 8a42b927df4244..04148b700c1707 100644 --- a/pages/common/dhcpwn.md +++ b/pages/common/dhcpwn.md @@ -5,8 +5,8 @@ - Flood the network with IP requests: -`dhcpwn --interface {{network_interface}} flood --count {{number_of_requests}}` +`dhcpwn {{[-i|--interface]}} {{network_interface}} flood {{[-c|--count]}} {{number_of_requests}}` - Sniff local DHCP traffic: -`dhcpwn --interface {{network_interface}} sniff` +`dhcpwn {{[-i|--interface]}} {{network_interface}} sniff` diff --git a/pages/common/dict.md b/pages/common/dict.md new file mode 100644 index 00000000000000..bc4b9233021949 --- /dev/null +++ b/pages/common/dict.md @@ -0,0 +1,24 @@ +# dict + +> Command line dictionary using the DICT protocol. +> More information: . + +- List available databases: + +`dict {{[-D|--dbs]}}` + +- Get information about a database: + +`dict {{[-i|--info]}} {{database_name}}` + +- Look up a word in a specific database: + +`dict {{[-d|--database]}} {{database_name}} {{word}}` + +- Look up a word in all available databases: + +`dict {{word}}` + +- Show information about the DICT server: + +`dict {{[-I|--serverinfo]}}` diff --git a/pages/common/diff-pdf.md b/pages/common/diff-pdf.md new file mode 100644 index 00000000000000..735ff96becd664 --- /dev/null +++ b/pages/common/diff-pdf.md @@ -0,0 +1,16 @@ +# diff-pdf + +> Compare two PDFs. +> More information: . + +- Compare PDFs, indicating changes using return codes (`0` = no difference, `1` = PDFs differ): + +`diff-pdf {{path/to/a.pdf}} {{path/to/b.pdf}}` + +- Compare PDFs, outputting a PDF with visually highlighted differences: + +`diff-pdf --output-diff={{path/to/diff.pdf}} {{path/to/a.pdf}} {{path/to/b.pdf}}` + +- Compare PDFs, viewing differences in a simple GUI: + +`diff-pdf --view {{path/to/a.pdf}} {{path/to/b.pdf}}` diff --git a/pages/common/diff.md b/pages/common/diff.md index 6ac5815e87aafe..fc7cb7231f0405 100644 --- a/pages/common/diff.md +++ b/pages/common/diff.md @@ -1,6 +1,7 @@ # diff > Compare files and directories. +> More information: . - Compare files (lists changes to turn `old_file` into `new_file`): @@ -8,20 +9,28 @@ - Compare files, ignoring white spaces: -`diff -w {{old_file}} {{new_file}}` +`diff {{[-w|--ignore-all-space]}} {{old_file}} {{new_file}}` - Compare files, showing the differences side by side: -`diff -y {{old_file}} {{new_file}}` +`diff {{[-y|--side-by-side]}} {{old_file}} {{new_file}}` - Compare files, showing the differences in unified format (as used by `git diff`): -`diff -u {{old_file}} {{new_file}}` +`diff {{[-u|--unified]}} {{old_file}} {{new_file}}` - Compare directories recursively (shows names for differing files/directories as well as changes made to files): -`diff -r {{old_directory}} {{new_directory}}` +`diff {{[-r|--recursive]}} {{old_directory}} {{new_directory}}` - Compare directories, only showing the names of files that differ: -`diff -rq {{old_directory}} {{new_directory}}` +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{old_directory}} {{new_directory}}` + +- Create a patch file for Git from the differences of two text files, treating nonexistent files as empty: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{old_file}} {{new_file}} > {{diff.patch}}` + +- Compare files, showing output in color and try hard to find smaller set of changes: + +`diff {{[-d|--minimal]}} --color=always {{old_file}} {{new_file}}` diff --git a/pages/common/diffoscope.md b/pages/common/diffoscope.md index d607df84584c69..fdbc7c31aed2e3 100644 --- a/pages/common/diffoscope.md +++ b/pages/common/diffoscope.md @@ -11,7 +11,7 @@ `diffoscope --no-progress {{path/to/file1}} {{path/to/file2}}` -- Compare two files and write a HTML-report to a file (use `-` for `stdout`): +- Compare two files and write an HTML-report to a file (use `-` for `stdout`): `diffoscope --html {{path/to/outfile|-}} {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/diffstat.md b/pages/common/diffstat.md index 65ee4db4bfb020..6575d057785c00 100644 --- a/pages/common/diffstat.md +++ b/pages/common/diffstat.md @@ -1,11 +1,12 @@ # diffstat > Create a histogram from the output of the `diff` command. +> More information: . - Display changes in a histogram: -`diff {{file1}} {{file2}} | diffstat` +`diff {{path/to/file1}} {{path/to/file2}} | diffstat` - Display inserted, deleted and modified changes as a table: -`diff {{file1}} {{file2}} | diffstat -t` +`diff {{path/to/file1}} {{path/to/file2}} | diffstat -t` diff --git a/pages/common/difft.md b/pages/common/difft.md new file mode 100644 index 00000000000000..968467f343ff3b --- /dev/null +++ b/pages/common/difft.md @@ -0,0 +1,33 @@ +# difft + +> Compare files or directories based on the syntax of the programming language. +> See also: `delta`, `diff`. +> More information: . + +- Compare two files or directories: + +`difft {{path/to/file_or_directory1}} {{path/to/file_or_directory2}}` + +- Only report the presence of differences between the files: + +`difft --check-only {{path/to/file1}} {{path/to/file2}}` + +- Specify the display mode (default is `side-by-side`): + +`difft --display {{side-by-side|side-by-side-show-both|inline|json}} {{path/to/file1}} {{path/to/file2}}` + +- Ignore comments when comparing: + +`difft --ignore-comments {{path/to/file1}} {{path/to/file2}}` + +- Enable/Disable syntax highlighting of source code (default is `on`): + +`difft --syntax-highlight {{on|off}} {{path/to/file1}} {{path/to/file2}}` + +- Do not output anything at all if there are no differences between files: + +`difft --skip-unchanged {{path/to/file_or_directory1}} {{path/to/file_or_directory2}}` + +- Print all programming languages supported by the tool, along with their extensions: + +`difft --list-languages` diff --git a/pages/common/dig.md b/pages/common/dig.md index ba5cadf95f5492..572089c5ccffa1 100644 --- a/pages/common/dig.md +++ b/pages/common/dig.md @@ -1,22 +1,23 @@ # dig -> DNS Lookup utility. +> DNS lookup utility. +> More information: . - Lookup the IP(s) associated with a hostname (A records): `dig +short {{example.com}}` -- Lookup the mail server(s) associated with a given domain name (MX record): +- Get a detailed answer for a given domain (A records): -`dig +short {{example.com}} MX` +`dig +noall +answer {{example.com}}` -- Get all types of records for a given domain name: +- Query a specific DNS record type associated with a given domain name: -`dig {{example.com}} ANY` +`dig +short {{example.com}} {{A|MX|TXT|CNAME|NS}}` -- Specify an alternate DNS server to query: +- Specify an alternate DNS server to query and optionally use DNS over TLS (DoT): -`dig @{{8.8.8.8}} {{example.com}}` +`dig {{+tls}} @{{1.1.1.1|8.8.8.8|9.9.9.9|...}} {{example.com}}` - Perform a reverse DNS lookup on an IP address (PTR record): @@ -29,3 +30,7 @@ - Perform iterative queries and display the entire trace path to resolve a domain name: `dig +trace {{example.com}}` + +- Query a DNS server over a non-standard [p]ort using the TCP protocol: + +`dig +tcp -p {{port}} @{{dns_server_ip}} {{example.com}}` diff --git a/pages/common/dillo.md b/pages/common/dillo.md new file mode 100644 index 00000000000000..7a0e34f14fe165 --- /dev/null +++ b/pages/common/dillo.md @@ -0,0 +1,32 @@ +# dillo + +> A lightweight web browser intended for slow computers. +> More information: . + +- Launch Dillo: + +`dillo` + +- Launch Dillo with a specific window size and screen location: + +`dillo {{[-g|--geometry]}} {{width}}x{{height}}+{{x_position}}+{{y_position}}` + +- Launch Dillo and open a specific URL: + +`dillo {{duckduckgo.com}}` + +- Launch Dillo and open a file or directory: + +`dillo {{path/to/file_or_directory}}` + +- Launch Dillo in full-screen mode: + +`dillo {{[-f|--fullwindow]}}` + +- Display version: + +`dillo {{[-v|--version]}}` + +- Display help: + +`dillo {{[-h|--help]}}` diff --git a/pages/common/dircolors.md b/pages/common/dircolors.md index 2f48d073c8f54e..bdbad6d1a23504 100644 --- a/pages/common/dircolors.md +++ b/pages/common/dircolors.md @@ -1,23 +1,28 @@ # dircolors > Output commands to set the LS_COLOR environment variable and style `ls`, `dir`, etc. +> More information: . - Output commands to set LS_COLOR using default colors: `dircolors` +- Display each filetype with the color they would appear in `ls`: + +`dircolors --print-ls-colors` + - Output commands to set LS_COLOR using colors from a file: -`dircolors {{file}}` +`dircolors {{path/to/file}}` - Output commands for Bourne shell: -`dircolors --bourne-shell` +`dircolors {{[-b|--bourne-shell]}}` - Output commands for C shell: -`dircolors --c-shell` +`dircolors {{[-c|--c-shell]}}` - View the default colors for file types and extensions: -`dircolors --print-data` +`dircolors {{[-p|--print-database]}}` diff --git a/pages/common/direnv.md b/pages/common/direnv.md index dc03c25687dcce..78ccb1c0390c5d 100644 --- a/pages/common/direnv.md +++ b/pages/common/direnv.md @@ -3,17 +3,17 @@ > Shell extension to load and unload environment variables depending on the current directory. > More information: . -- Grant direnv permission to load the specified .envrc: +- Grant direnv permission to load the `.envrc` present in the current directory: -`direnv allow` +`direnv allow {{.}}` -- Revoke the authorization of a given .envrc: +- Revoke the authorization to load the `.envrc` present in the current directory: -`direnv deny` +`direnv deny {{.}}` - Edit the `.envrc` file in the default text editor and reload the environment on exit: -`direnv edit .` +`direnv edit {{.}}` - Trigger a reload of the environment: diff --git a/pages/common/dirname.md b/pages/common/dirname.md index 7aaa75fd61002d..cea79665a1a25a 100644 --- a/pages/common/dirname.md +++ b/pages/common/dirname.md @@ -1,6 +1,7 @@ # dirname -> Calculates the parent directory of a given file or directory path. +> Calculates the parent directory of a file or directory path. +> More information: . - Calculate the parent directory of a given path: @@ -8,8 +9,8 @@ - Calculate the parent directory of multiple paths: -`dirname {{path/to/file_a}} {{path/to/directory_b}}` +`dirname {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` - Delimit output with a NUL character instead of a newline (useful when combining with `xargs`): -`dirname --zero {{path/to/directory_a}} {{path/to/file_b}}` +`dirname {{[-z|--zero]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` diff --git a/pages/common/dirs.md b/pages/common/dirs.md index b2ca5a52b4379c..a750d1b64addb0 100644 --- a/pages/common/dirs.md +++ b/pages/common/dirs.md @@ -1,7 +1,9 @@ # dirs -> Displays or manipulates the directory stack. +> Display or manipulate the directory stack. > The directory stack is a list of recently visited directories that can be manipulated with the `pushd` and `popd` commands. +> See also: `pushd`, `popd`. +> More information: . - Display the directory stack with a space between each entry: @@ -11,9 +13,21 @@ `dirs -p` -- Display only the nth entry in the directory stack, starting at 0: +- Display a numbered list of entries in the directory stack: -`dirs +{{N}}` +`dirs -v` + +- Display the directory stack without the tilde-prefix (`~`): + +`dirs -l` + +- Display only the `n`th entry in the directory stack, starting at 0 (Bash only): + +`dirs +{{n}}` + +- Display only the `n`th entry in the directory stack from the last, starting at 0 (Bash only): + +`dirs -{{n}}` - Clear the directory stack: diff --git a/pages/common/dirsearch.md b/pages/common/dirsearch.md index 1911f6c90e8a48..06b14078b5099b 100644 --- a/pages/common/dirsearch.md +++ b/pages/common/dirsearch.md @@ -5,24 +5,24 @@ - Scan a web server for common paths with common extensions: -`dirsearch --url {{url}} --extensions-list` +`dirsearch {{[-u|--url]}} {{url}} --extensions-list` -- Scan a list of web servers for common paths with the `.php` extension: +- Scan a list of web servers for common paths with given file extensions: -`dirsearch --url-list {{path/to/url-list.txt}} --extensions {{php}}` +`dirsearch {{[-l|--url-list]}} {{path/to/url-list.txt}} {{[-e|--extensions]}} {{php,jsp,aspx,...}}` - Scan a web server for user-defined paths with common extensions: -`dirsearch --url {{url}} --extensions-list --wordlist {{path/to/url-paths.txt}}` +`dirsearch {{[-u|--url]}} {{url}} --extensions-list {{[-w|--wordlists]}} {{path/to/url-paths1.txt,path/to/url-paths2.txt,...}}` - Scan a web server using a cookie: -`dirsearch --url {{url}} --extensions {{php}} --cookie {{cookie}}` +`dirsearch {{[-u|--url]}} {{url}} {{[-e|--extensions]}} {{php}} --cookie {{cookie}}` - Scan a web server using the `HEAD` HTTP method: -`dirsearch --url {{url}} --extensions {{php}} --http-method {{HEAD}}` +`dirsearch {{[-u|--url]}} {{url}} {{[-e|--extensions]}} {{php}} {{[-m|--http-method]}} {{HEAD}}` - Scan a web server, saving the results to a `.json` file: -`dirsearch --url {{url}} --extensions {{php}} --json-report {{path/to/report.json}}` +`dirsearch {{[-u|--url]}} {{url}} {{[-e|--extensions]}} {{php}} --json-report {{path/to/report.json}}` diff --git a/pages/common/diskonaut.md b/pages/common/diskonaut.md new file mode 100644 index 00000000000000..abb6524f709182 --- /dev/null +++ b/pages/common/diskonaut.md @@ -0,0 +1,20 @@ +# diskonaut + +> Terminal disk space navigator, written in Rust. +> More information: . + +- Start `diskonaut` in the current directory: + +`diskonaut` + +- Start `diskonaut` in a specific directory: + +`diskonaut {{path/to/directory}}` + +- Show file sizes rather than their block usage on the disk: + +`diskonaut --apparent-size {{path/to/directory}}` + +- Disable deletion confirmation: + +`diskonaut --disable-delete-confirmation` diff --git a/pages/common/disown.md b/pages/common/disown.md new file mode 100644 index 00000000000000..2ba617030989bb --- /dev/null +++ b/pages/common/disown.md @@ -0,0 +1,21 @@ +# disown + +> Allow sub-processes to live beyond the shell that they are attached to. +> See also: `jobs` for finding job numbers. +> More information: . + +- Disown the current job: + +`disown` + +- Disown a specific job (run `jobs` to find the job number): + +`disown %{{job_number}}` + +- Disown all jobs (Bash only): + +`disown -a` + +- Keep job (do not disown it), but mark it so that no future SIGHUP is received on shell exit (Bash only): + +`disown -h %{{job_number}}` diff --git a/pages/common/distcc.md b/pages/common/distcc.md new file mode 100644 index 00000000000000..230fcd41471a04 --- /dev/null +++ b/pages/common/distcc.md @@ -0,0 +1,28 @@ +# distcc + +> Distributed C/C++/ObjC compilation client that works with `distccd`. +> More information: . + +- Compile a source file using a compiler like `gcc`: + +`distcc {{gcc}} -c {{path/to/source.c}} -o {{path/to/output.o}}` + +- Set remote hosts to distribute compilation: + +`export DISTCC_HOSTS="localhost {{ip1 ip2 ...}}"` + +- Compile a project with `make` using `distcc`: + +`make {{[-j|--jobs]}} {{parallel_jobs}} CC="distcc {{gcc}}"` + +- Show the list of current `distcc` hosts: + +`distcc --show-hosts` + +- Display help: + +`distcc --help` + +- Display version: + +`distcc --version` diff --git a/pages/common/distccd.md b/pages/common/distccd.md new file mode 100644 index 00000000000000..6b993fe2f31e52 --- /dev/null +++ b/pages/common/distccd.md @@ -0,0 +1,24 @@ +# distccd + +> Server daemon for the distcc distributed compiler. +> More information: . + +- Start a daemon with the default settings: + +`distccd --daemon` + +- Start a daemon, accepting connections from IPv4 private network ranges: + +`distccd --daemon --allow-private` + +- Start a daemon, accepting connections from a specific network address or address range: + +`distccd --daemon {{[-a|--allow]}} {{ip_address|network_prefix}}` + +- Start a daemon with a lowered priority that can run a maximum of 4 tasks at a time: + +`distccd --daemon {{[-j|--jobs]}} {{4}} {{[-N|--nice]}} {{5}}` + +- Start a daemon and register it via mDNS/DNS-SD (Zeroconf): + +`distccd --daemon --zeroconf` diff --git a/pages/common/dive.md b/pages/common/dive.md index 9f54b973389728..3414564a9c16e9 100644 --- a/pages/common/dive.md +++ b/pages/common/dive.md @@ -1,6 +1,6 @@ # dive -> A tool for exploring a Docker image, layer contents, and discovering ways to shrink it. +> Explore a Docker image, layer contents, and discover ways to shrink it. > More information: . - Analyze a Docker image: diff --git a/pages/common/django-admin.md b/pages/common/django-admin.md index 761b754c0b86c2..6f5a06f02b1804 100644 --- a/pages/common/django-admin.md +++ b/pages/common/django-admin.md @@ -1,9 +1,9 @@ # django-admin -> Django’s utility for administrative tasks. -> More information: . +> Django's utility for administrative tasks. +> More information: . -- Create a new django project: +- Create a new Django project: `django-admin startproject {{project_name}}` @@ -11,10 +11,10 @@ `django-admin startapp {{app_name}}` -- Check the current version of Django: +- Display help for a specific command: -`django-admin --version` +`django-admin help {{command}}` -- Display more information for the given command: +- Display version: -`django-admin help {{command}}` +`django-admin --version` diff --git a/pages/common/djxl.md b/pages/common/djxl.md new file mode 100644 index 00000000000000..8a8284935199a2 --- /dev/null +++ b/pages/common/djxl.md @@ -0,0 +1,13 @@ +# djxl + +> Decompress JPEG XL images. +> Accepted output extensions are PNG, APNG, JPEG, EXR, PGM, PPM, PNM, PFM, PAM, EXIF, XMP and JUMBF. +> More information: . + +- Decompress a JPEG XL image to another format: + +`djxl {{path/to/image.jxl}} {{path/to/output.ext}}` + +- Display an extremely detailed help page: + +`djxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}` diff --git a/pages/common/dlv.md b/pages/common/dlv.md new file mode 100644 index 00000000000000..e10af08f1ad68a --- /dev/null +++ b/pages/common/dlv.md @@ -0,0 +1,28 @@ +# dlv + +> Debugger for the Go programming language. +> More information: . + +- Compile and begin debugging the main package in the current directory (by default, with no arguments): + +`dlv debug` + +- Compile and begin debugging a specific package: + +`dlv debug {{package}} {{arguments}}` + +- Compile a test binary and begin debugging the compiled program: + +`dlv test` + +- Connect to a headless debug server: + +`dlv connect {{ip_address}}` + +- Attach to a running process and begin debugging: + +`dlv attach {{pid}}` + +- Compile and begin tracing a program: + +`dlv trace {{package}} --regexp '{{regex}}'` diff --git a/pages/common/dmd.md b/pages/common/dmd.md new file mode 100644 index 00000000000000..dc15f2e9dab65c --- /dev/null +++ b/pages/common/dmd.md @@ -0,0 +1,24 @@ +# dmd + +> Official D compiler. +> More information: . + +- Build a D source file: + +`dmd {{path/to/source.d}}` + +- Generate code for all template instantiations: + +`dmd -allinst` + +- Control bounds checking: + +`dmd -boundscheck={{on|safeonly|off}}` + +- List information on all available checks: + +`dmd -check={{h|help|?}}` + +- Turn on colored console output: + +`dmd -color` diff --git a/pages/common/dmypy.md b/pages/common/dmypy.md new file mode 100644 index 00000000000000..717a78e543f515 --- /dev/null +++ b/pages/common/dmypy.md @@ -0,0 +1,21 @@ +# dmypy + +> Type check Python code, running `mypy` as a daemon for better speed. +> See also: `mypy` for more options to use with check and run. +> More information: . + +- Type check a file, and start the daemon if it is not running: + +`dmypy check -- {{path/to/file.py}}` + +- Start the daemon: + +`dmypy start` + +- Type check a file (requires the daemon to be running): + +`dmypy run -- {{path/to/file.py}}` + +- Stop the daemon: + +`dmypy stop` diff --git a/pages/common/dnsmasq.md b/pages/common/dnsmasq.md new file mode 100644 index 00000000000000..252795d2afae93 --- /dev/null +++ b/pages/common/dnsmasq.md @@ -0,0 +1,28 @@ +# dnsmasq + +> Lightweight DNS, DHCP, TFTP, and PXE server. +> More information: . + +- Start dnsmasq with default configuration: + +`dnsmasq` + +- Run dnsmasq in the foreground (for debugging): + +`dnsmasq --no-daemon` + +- Specify a custom configuration file: + +`dnsmasq --conf-file={{path/to/config.conf}}` + +- Enable verbose logging: + +`dnsmasq --log-queries --log-facility=-` + +- Set a DHCP range and lease time: + +`dnsmasq --dhcp-range={{192.168.0.50,192.168.0.150,12h}}` + +- Print dnsmasq version: + +`dnsmasq --version` diff --git a/pages/common/dnswalk.md b/pages/common/dnswalk.md new file mode 100644 index 00000000000000..f7d3495bec6a42 --- /dev/null +++ b/pages/common/dnswalk.md @@ -0,0 +1,37 @@ +# dnswalk + +> DNS debugger. +> "Walk" across zones and validate database consistency and best practices. +> More information: . + +- Debug a DNS pathway for a Fully Qualified Domain Name (FQDN): + +`dnswalk {{domain}}.` + +- Process sub-domains [r]ecursively: + +`dnswalk -r {{domain}}.` + +- Only perform a `dnswalk` if the zone has been [m]odified since the last run: + +`dnswalk -m {{domain}}.` + +- Print [d]ebugging and status information to `stderr` instead of `stdout`: + +`dnswalk -d {{domain}}.` + +- Suppress the check for [i]nvalid characters in the domain name: + +`dnswalk -i {{domain}}.` + +- Enable duplicate A record warnings: + +`dnswalk -a {{domain}}.` + +- Enable "[F]ascist checking" to compare the A record PTR name with the forward name and report mismatches: + +`dnswalk -F {{domain}}.` + +- Enable "[l]ame delegation" to test whether the listed host is returning authoritative answers: + +`dnswalk -l {{domain}}.` diff --git a/pages/common/dnsx.md b/pages/common/dnsx.md new file mode 100644 index 00000000000000..0370f18790bf41 --- /dev/null +++ b/pages/common/dnsx.md @@ -0,0 +1,38 @@ +# dnsx + +> A fast and multi-purpose DNS toolkit to run multiple DNS queries. +> Note: Input to `dnsx` needs to be passed through `stdin` (pipe `|`) in some cases. +> See also: `dig`, `dog`, `dnstracer`. +> More information: . + +- Query the A record of a (sub)domain and show [re]sponse received: + +`echo {{example.com}} | dnsx -a {{[-re|-resp]}}` + +- Query all the DNS records (A, AAAA, CNAME, NS, TXT, SRV, PTR, MX, SOA, AXFR, CAA): + +`dnsx -recon {{[-re|-resp]}} <<< {{example.com}}` + +- Query a specific type of DNS record: + +`echo {{example.com}} | dnsx {{[-re|-resp]}} -{{a|aaaa|cname|ns|txt|srv|ptr|mx|soa|any|axfr|caa}}` + +- Output response only (do not show the queried domain or subdomain): + +`echo {{example.com}} | dnsx {{[-ro|-resp-only]}}` + +- Display raw response of a query, specifying resolvers to use and retry attempts for failures: + +`echo {{example.com}} | dnsx -{{debug|raw}} {{[-r|-resolver]}} {{1.1.1.1,8.8.8.8,...}} -retry {{number}}` + +- Brute force DNS records using a placeholder: + +`dnsx {{[-d|-domain]}} {{FUZZ.example.com}} {{[-w|-wordlist]}} {{path/to/wordlist.txt}} {{[-re|-resp]}}` + +- Brute force DNS records from a list of domains and wordlists, appending output to a file with no color codes: + +`dnsx {{[-d|-domain]}} {{path/to/domain.txt}} {{[-w|-wordlist]}} {{path/to/wordlist.txt}} {{[-re|-resp]}} {{[-o|-output]}} {{path/to/output.txt}} {{[-nc|-no-color]}}` + +- Extract `CNAME` records for the given list of subdomains, with rate limiting DNS queries per second: + +`subfinder -silent {{[-d|-domain]}} {{example.com}} | dnsx -cname {{[-re|-resp]}} {{[-rl|-rate-limit]}} {{number}}` diff --git a/pages/common/do.md b/pages/common/do.md new file mode 100644 index 00000000000000..8e8a5367922ca2 --- /dev/null +++ b/pages/common/do.md @@ -0,0 +1,19 @@ +# do + +> This shell keyword is used with `for`, `while`, `select`, and `until` to mark the start of a loop. + +- View documentation for the `for` keyword: + +`tldr for` + +- View documentation for the `while` keyword: + +`tldr while` + +- View documentation for the `select` keyword: + +`tldr select` + +- View documentation for the `until` keyword: + +`tldr until` diff --git a/pages/common/doas.md b/pages/common/doas.md index ba20b7ee81fd5f..ea19234d3d7851 100644 --- a/pages/common/doas.md +++ b/pages/common/doas.md @@ -1,6 +1,6 @@ # doas -> Executes a command as another user. +> Execute a command as another user. > More information: . - Run a command as root: @@ -15,9 +15,9 @@ `doas -s` -- Parse a config file and check if the execution of a command as another user is allowed: +- Parse a configuration file and check if the execution of a command as another user is allowed: -`doas -C {{config_file}} {{command}}` +`doas -C {{path/to/config_file}} {{command}}` - Make `doas` request a password even after it was supplied earlier: diff --git a/pages/common/dockdiver.md b/pages/common/dockdiver.md new file mode 100644 index 00000000000000..bdf6d30d3157f8 --- /dev/null +++ b/pages/common/dockdiver.md @@ -0,0 +1,28 @@ +# dockdiver + +> A tool for interacting with Docker registries, including listing and dumping repositories. +> More information: . + +- List all repositories in a Docker registry: + +`dockdiver -url {{https://example.com}} -list` + +- Dump a specific repository to the default output directory (docker_dump): + +`dockdiver -url {{https://example.com}} -dump {{repository_name}}` + +- Dump all repositories with basic authentication: + +`dockdiver -url {{https://example.com}} -dump-all -username {{username}} -password {{password}}` + +- Dump a repository with a rate limit and a custom port (the default port is `5000`): + +`dockdiver -url {{https://example.com}} -dump {{repository_name}} -port {{port}} -rate {{requests_per_second}} -dir {{path/to/output_directory}}` + +- Dump all repositories with bearer token for authorization: + +`dockdiver -url {{https://example.com}} -dump-all -bearer {{bearer_token}}` + +- Add custom headers as JSON (e.g., '{"X-Custom": "Value"}'): + +`dockdiver -url {{https://example.com}} -list -headers {{'{"X-Custom": "Value"}'}}` diff --git a/pages/common/docker-build.md b/pages/common/docker-build.md index 0b542e984f7ec4..372f7788ee0495 100644 --- a/pages/common/docker-build.md +++ b/pages/common/docker-build.md @@ -1,27 +1,31 @@ # docker build > Build an image from a Dockerfile. -> More information: . +> More information: . -- Build a docker image using the Dockerfile in the current directory: +- Build a Docker image using the Dockerfile in the current directory: `docker build .` -- Build a docker image from a Dockerfile at a specified URL: +- Build a Docker image from a Dockerfile at a specified URL: `docker build {{github.com/creack/docker-firefox}}` -- Build a docker image and tag it: +- Build a Docker image and tag it: -`docker build --tag {{name:tag}} .` +`docker build {{[-t|--tag]}} {{name:tag}} .` + +- Build a Docker image with no build context: + +`docker build {{[-t|--tag]}} {{name:tag}} - < {{Dockerfile}}` - Do not use the cache when building the image: -`docker build --no-cache --tag {{name:tag}} .` +`docker build --no-cache {{[-t|--tag]}} {{name:tag}} .` -- Build a docker image using a specific Dockerfile: +- Build a Docker image using a specific Dockerfile: -`docker build --file {{Dockerfile}} .` +`docker build {{[-f|--file]}} {{Dockerfile}} .` - Build with custom build-time variables: diff --git a/pages/common/docker-commit.md b/pages/common/docker-commit.md new file mode 100644 index 00000000000000..ba8ab65d67bbe9 --- /dev/null +++ b/pages/common/docker-commit.md @@ -0,0 +1,32 @@ +# docker commit + +> Create a new image from a container's changes. +> More information: . + +- Create an image from a specific container: + +`docker commit {{container}} {{image}}:{{tag}}` + +- Apply a `CMD` Dockerfile instruction to the created image: + +`docker commit {{[-c|--change]}} "CMD {{command}}" {{container}} {{image}}:{{tag}}` + +- Apply an `ENV` Dockerfile instruction to the created image: + +`docker commit {{[-c|--change]}} "ENV {{name}}={{value}}" {{container}} {{image}}:{{tag}}` + +- Create an image with a specific author in the metadata: + +`docker commit {{[-a|--author]}} "{{author}}" {{container}} {{image}}:{{tag}}` + +- Create an image with a specific comment in the metadata: + +`docker commit {{[-m|--message]}} "{{comment}}" {{container}} {{image}}:{{tag}}` + +- Create an image without pausing the container during commit: + +`docker commit {{[-p|--pause]}} {{false}} {{container}} {{image}}:{{tag}}` + +- Display help: + +`docker commit --help` diff --git a/pages/common/docker-compose.md b/pages/common/docker-compose.md index 57fed04a8a0596..6a6db646258ad0 100644 --- a/pages/common/docker-compose.md +++ b/pages/common/docker-compose.md @@ -1,36 +1,36 @@ -# docker-compose +# docker compose -> Run and manage multi container docker applications. -> More information: . +> Run and manage multi container Docker applications. +> More information: . - List all running containers: -`docker-compose ps` +`docker compose ps` - Create and start all containers in the background using a `docker-compose.yml` file from the current directory: -`docker-compose up -d` +`docker compose up {{[-d|--detach]}}` - Start all containers, rebuild if necessary: -`docker-compose up --build` +`docker compose up --build` -- Start all containers using an alternate compose file: +- Start all containers by specifying a project name and using an alternate compose file: -`docker-compose --file {{path/to/file}} up` +`docker compose {{[-p|--project-name]}} {{project_name}} {{[-f|--file]}} {{path/to/file}} up` - Stop all running containers: -`docker-compose stop` +`docker compose stop` - Stop and remove all containers, networks, images, and volumes: -`docker-compose down --rmi all --volumes` +`docker compose down --rmi all {{[-v|--volumes]}}` - Follow logs for all containers: -`docker-compose logs --follow` +`docker compose logs {{[-f|--follow]}}` - Follow logs for a specific container: -`docker-compose logs --follow {{container_name}}` +`docker compose logs {{[-f|--follow]}} {{container_name}}` diff --git a/pages/common/docker-container-diff.md b/pages/common/docker-container-diff.md new file mode 100644 index 00000000000000..4deb3b01220e33 --- /dev/null +++ b/pages/common/docker-container-diff.md @@ -0,0 +1,7 @@ +# docker container diff + +> This command is an alias of `docker diff`. + +- View documentation for the original command: + +`tldr docker diff` diff --git a/pages/common/docker-container-remove.md b/pages/common/docker-container-remove.md new file mode 100644 index 00000000000000..05e64a1c67156d --- /dev/null +++ b/pages/common/docker-container-remove.md @@ -0,0 +1,7 @@ +# docker container remove + +> This command is an alias of `docker rm`. + +- View documentation for the original command: + +`tldr docker rm` diff --git a/pages/common/docker-container-rename.md b/pages/common/docker-container-rename.md new file mode 100644 index 00000000000000..4ea6645a98e473 --- /dev/null +++ b/pages/common/docker-container-rename.md @@ -0,0 +1,7 @@ +# docker container rename + +> This command is an alias of `docker rename`. + +- View documentation for the original command: + +`tldr docker rename` diff --git a/pages/common/docker-container-rm.md b/pages/common/docker-container-rm.md new file mode 100644 index 00000000000000..5215bda2f10323 --- /dev/null +++ b/pages/common/docker-container-rm.md @@ -0,0 +1,7 @@ +# docker container rm + +> This command is an alias of `docker rm`. + +- View documentation for the original command: + +`tldr docker rm` diff --git a/pages/common/docker-container-top.md b/pages/common/docker-container-top.md new file mode 100644 index 00000000000000..a5b170bb0cf012 --- /dev/null +++ b/pages/common/docker-container-top.md @@ -0,0 +1,7 @@ +# docker container top + +> This command is an alias of `docker top`. + +- View documentation for the original command: + +`tldr docker top` diff --git a/pages/common/docker-container.md b/pages/common/docker-container.md index 4c5bedc26b7c25..b936bfd997b10d 100644 --- a/pages/common/docker-container.md +++ b/pages/common/docker-container.md @@ -1,7 +1,7 @@ # docker container > Manage Docker containers. -> More information: . +> More information: . - List currently running Docker containers: diff --git a/pages/common/docker-context.md b/pages/common/docker-context.md new file mode 100644 index 00000000000000..60ca757bcce725 --- /dev/null +++ b/pages/common/docker-context.md @@ -0,0 +1,20 @@ +# docker context + +> Switch between contexts to manage multiple Docker environments. +> More information: . + +- Create a context using a specific Docker endpoint: + +`docker context create {{my_context}} --docker "host={{tcp://remote-host:2375}}"` + +- Create a context based on the `DOCKER_HOST` environment variable: + +`docker context create {{my_context}}` + +- Switch to a context: + +`docker context use {{my_context}}` + +- List all contexts: + +`docker context ls` diff --git a/pages/common/docker-cp.md b/pages/common/docker-cp.md new file mode 100644 index 00000000000000..80c28d791d8cf7 --- /dev/null +++ b/pages/common/docker-cp.md @@ -0,0 +1,16 @@ +# docker cp + +> Copy files or directories between host and container filesystems. +> More information: . + +- Copy a file or directory from the host to a container: + +`docker cp {{path/to/file_or_directory_on_host}} {{container_name}}:{{path/to/file_or_directory_in_container}}` + +- Copy a file or directory from a container to the host: + +`docker cp {{container_name}}:{{path/to/file_or_directory_in_container}} {{path/to/file_or_directory_on_host}}` + +- Copy a file or directory from the host to a container, following symlinks (copies the symlinked files directly, not the symlinks themselves): + +`docker cp {{[-L|--follow-link]}} {{path/to/symlink_on_host}} {{container_name}}:{{path/to/file_or_directory_in_container}}` diff --git a/pages/common/docker-diff.md b/pages/common/docker-diff.md new file mode 100644 index 00000000000000..8916da67d2d5df --- /dev/null +++ b/pages/common/docker-diff.md @@ -0,0 +1,12 @@ +# docker diff + +> Inspect changes to files or directories on a container's filesystem. +> More information: . + +- Inspect the changes to a container since it was created: + +`docker diff {{container}}` + +- Display help: + +`docker diff --help` diff --git a/pages/common/docker-exec.md b/pages/common/docker-exec.md index 6bcb61b24069a4..06353a03760072 100644 --- a/pages/common/docker-exec.md +++ b/pages/common/docker-exec.md @@ -1,28 +1,28 @@ # docker exec > Execute a command on an already running Docker container. -> More information: . +> More information: . - Enter an interactive shell session on an already-running container: -`docker exec --interactive --tty {{container_name}} {{/bin/bash}}` +`docker exec {{[-it|--interactive --tty]}} {{container_name}} {{/bin/bash}}` - Run a command in the background (detached) on a running container: -`docker exec --detach {{container_name}} {{command}}` +`docker exec {{[-d|--detach]}} {{container_name}} {{command}}` - Select the working directory for a given command to execute into: -`docker exec --interactive -tty --workdir {{path/to/directory}} {{container_name}} {{command}}` +`docker exec {{[-it|--interactive --tty]}} {{[-w|--workdir]}} {{path/to/directory}} {{container_name}} {{command}}` - Run a command in background on existing container but keep `stdin` open: -`docker exec --interactive --detach {{container_name}} {{command}}` +`docker exec {{[-i|--interactive]}} {{[-d|--detach]}} {{container_name}} {{command}}` -- Set an environment variable in a running bash session: +- Set an environment variable in a running Bash session: -`docker exec --interactive --tty --env {{variable_name}}={{value}} {{container_name}} {{/bin/bash}}` +`docker exec {{[-it|--interactive --tty]}} {{[-e|--env]}} {{variable_name}}={{value}} {{container_name}} {{/bin/bash}}` - Run a command as a specific user: -`docker exec --user {{user}} {{container_name}} {{command}}` +`docker exec {{[-u|--user]}} {{user}} {{container_name}} {{command}}` diff --git a/pages/common/docker-image.md b/pages/common/docker-image.md new file mode 100644 index 00000000000000..a1585c63ca9fd6 --- /dev/null +++ b/pages/common/docker-image.md @@ -0,0 +1,25 @@ +# docker image + +> Manage Docker images. +> See also: `docker build`, `docker import`, `docker pull`. +> More information: . + +- List local Docker images: + +`docker image ls` + +- Delete unused local Docker images: + +`docker image prune` + +- Delete all unused images (not just those without a tag): + +`docker image prune {{[-a|--all]}}` + +- Show the history of a local Docker image: + +`docker image history {{image}}` + +- View documentation for `docker image rm`: + +`tldr docker rmi` diff --git a/pages/common/docker-images.md b/pages/common/docker-images.md index 1d9046ccc93596..1fefc0ed5781cc 100644 --- a/pages/common/docker-images.md +++ b/pages/common/docker-images.md @@ -1,7 +1,7 @@ # docker images > Manage Docker images. -> More information: . +> More information: . - List all Docker images: @@ -9,16 +9,20 @@ - List all Docker images including intermediates: -`docker images --all` +`docker images {{[-a|--all]}}` - List the output in quiet mode (only numeric IDs): -`docker images --quiet` +`docker images {{[-q|--quiet]}}` - List all Docker images not used by any container: -`docker images --filter dangling=true` +`docker images {{[-f|--filter]}} dangling=true` - List images that contain a substring in their name: `docker images "{{*name*}}"` + +- Sort images by size: + +`docker images --format "\{\{.ID\}\}\t\{\{.Size\}\}\t\{\{.Repository\}\}:\{\{.Tag\}\}" | sort {{[-k|--key]}} 2 {{[-h|--human-numeric-sort]}}` diff --git a/pages/common/docker-inspect.md b/pages/common/docker-inspect.md index d347da5a71e2ce..2c313bb9515271 100644 --- a/pages/common/docker-inspect.md +++ b/pages/common/docker-inspect.md @@ -1,9 +1,9 @@ # docker inspect > Return low-level information on Docker objects. -> More information: . +> More information: . -- Show help: +- Display help: `docker inspect` @@ -13,20 +13,20 @@ - Display a container's IP address: -`docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' {{container}}` +`docker inspect {{[-f|--format]}} '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{container}}` - Display the path to the container's log file: -`docker inspect --format='{{.LogPath}}' {{container}}` +`docker inspect {{[-f|--format]}} '\{\{.LogPath\}\}' {{container}}` - Display the image name of the container: -`docker inspect --format='{{.Config.Image}}' {{container}}` +`docker inspect {{[-f|--format]}} '\{\{.Config.Image\}\}' {{container}}` - Display the configuration information as JSON: -`docker inspect --format='{{json .Config}}' {{container}}` +`docker inspect {{[-f|--format]}} '\{\{json .Config\}\}' {{container}}` - Display all port bindings: -`docker inspect --format='{{range $p, $conf := .NetworkSettings.Ports}} {{$p}} -> {{(index $conf 0).HostPort}} {{end}}' {{container}}` +`docker inspect {{[-f|--format]}} '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{container}}` diff --git a/pages/common/docker-load.md b/pages/common/docker-load.md new file mode 100644 index 00000000000000..3dcedf9bc3d947 --- /dev/null +++ b/pages/common/docker-load.md @@ -0,0 +1,16 @@ +# docker load + +> Load Docker images from files or `stdin`. +> More information: . + +- Load a Docker image from `stdin`: + +`docker load < {{path/to/image_file.tar}}` + +- Load a Docker image from a specific file: + +`docker load {{[-i|--input]}} {{path/to/image_file.tar}}` + +- Load a Docker image from a specific file in quiet mode: + +`docker load {{[-q|--quiet]}} {{[-i|--input]}} {{path/to/image_file.tar}}` diff --git a/pages/common/docker-login.md b/pages/common/docker-login.md new file mode 100644 index 00000000000000..2d93c860c76c82 --- /dev/null +++ b/pages/common/docker-login.md @@ -0,0 +1,20 @@ +# docker login + +> Log into a Docker registry. +> More information: . + +- Interactively log into a registry: + +`docker login` + +- Log into a registry with a specific username (user will be prompted for a password): + +`docker login {{[-u|--username]}} {{username}}` + +- Log into a registry with username and password: + +`docker login {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} {{server}}` + +- Log into a registry with password from `stdin`: + +`echo "{{password}}" | docker login {{[-u|--username]}} {{username}} --password-stdin` diff --git a/pages/common/docker-logs.md b/pages/common/docker-logs.md index 31cb2e6b3eae78..c5871dd798f95c 100644 --- a/pages/common/docker-logs.md +++ b/pages/common/docker-logs.md @@ -1,7 +1,7 @@ # docker logs > Print container logs. -> More information: . +> More information: . - Print logs from a container: @@ -9,15 +9,15 @@ - Print logs and follow them: -`docker logs -f {{container_name}}` +`docker logs {{[-f|--follow]}} {{container_name}}` - Print last 5 lines: -`docker logs {{container_name}} --tail {{5}}` +`docker logs {{container_name}} {{[-n|--tail]}} {{5}}` - Print logs and append them with timestamps: -`docker logs -t {{container_name}}` +`docker logs {{[-t|--timestamps]}} {{container_name}}` - Print logs from a certain point in time of container execution (i.e. 23m, 10s, 2013-01-02T13:23:37): diff --git a/pages/common/docker-machine.md b/pages/common/docker-machine.md index c7bd20f83324bb..4d75974f9491d4 100644 --- a/pages/common/docker-machine.md +++ b/pages/common/docker-machine.md @@ -1,13 +1,13 @@ # docker-machine > Create and manage machines running Docker. -> More information: . +> More information: . -- List currently running docker machines: +- List currently running Docker machines: `docker-machine ls` -- Create a new docker machine with specific name: +- Create a new Docker machine with specific name: `docker-machine create {{name}}` diff --git a/pages/common/docker-network.md b/pages/common/docker-network.md index 38be8d6869ebaa..c3c1b82f56f2d7 100644 --- a/pages/common/docker-network.md +++ b/pages/common/docker-network.md @@ -1,19 +1,19 @@ # docker network -> Create and manage docker networks. -> More information: . +> Create and manage Docker networks. +> More information: . -- List all available and configured networks on docker daemon: +- List all available and configured networks on Docker daemon: `docker network ls` -- Create a user defined network: +- Create a user-defined network: -`docker network create --driver {{driver_name}} {{network_name}}` +`docker network create {{[-d|--driver]}} {{driver_name}} {{network_name}}` -- Display detailed information of a space-separated list of networks: +- Display detailed information about one or more networks: -`docker network inspect {{network_name}}` +`docker network inspect {{network_name1 network_name2 ...}}` - Connect a container to a network using a name or ID: @@ -27,6 +27,6 @@ `docker network prune` -- Remove a space-separated list of unused networks: +- Remove one or more unused networks: -`docker network rm {{network_name}}` +`docker network rm {{network_name1 network_name2 ...}}` diff --git a/pages/common/docker-node.md b/pages/common/docker-node.md new file mode 100644 index 00000000000000..daedd61dff0460 --- /dev/null +++ b/pages/common/docker-node.md @@ -0,0 +1,32 @@ +# docker node + +> Manage Docker Swarm nodes. +> More information: . + +- List nodes in the swarm: + +`docker node ls` + +- List tasks running on one or more nodes, defaults to the current node: + +`docker node ps {{node1 node2 node3 ...}}` + +- Display detailed information on one or more nodes: + +`docker node inspect {{node1 node2 node3 ...}}` + +- Promote one or more nodes to manager in the swarm: + +`docker node promote {{node1 node2 node3 ...}}` + +- Demote one or more nodes from manager in the swarm: + +`docker node demote {{node1 node2 node3 ...}}` + +- Remove one or more nodes from the swarm: + +`docker node rm {{node1 node2 node3 ...}}` + +- Update metadata about a node, such as its availability, labels, or roles: + +`docker node update --{{availability|role|label-add|...}} {{active|worker|foo|...}} {{node1}}` diff --git a/pages/common/docker-ps.md b/pages/common/docker-ps.md index 9e629e1f9d2508..bb1d1fd20475b6 100644 --- a/pages/common/docker-ps.md +++ b/pages/common/docker-ps.md @@ -1,36 +1,36 @@ # docker ps > List Docker containers. -> More information: . +> More information: . -- List currently running docker containers: +- List currently running Docker containers: `docker ps` -- List all docker containers (running and stopped): +- List all Docker containers (running and stopped): -`docker ps --all` +`docker ps {{[-a|--all]}}` - Show the latest created container (includes all states): -`docker ps --latest` +`docker ps {{[-l|--latest]}}` - Filter containers that contain a substring in their name: -`docker ps --filter="name={{name}}"` +`docker ps {{[-f|--filter]}} "name={{name}}"` - Filter containers that share a given image as an ancestor: -`docker ps --filter "ancestor={{image}}:{{tag}}"` +`docker ps {{[-f|--filter]}} "ancestor={{image}}:{{tag}}"` - Filter containers by exit status code: -`docker ps --all --filter="exited={{code}}"` +`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{code}}"` - Filter containers by status (created, running, removing, paused, exited and dead): -`docker ps --filter="status={{status}}"` +`docker ps {{[-f|--filter]}} "status={{status}}"` - Filter containers that mount a specific volume or have a volume mounted in a specific path: -`docker ps --filter="volume={{path/to/directory}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` +`docker ps {{[-f|--filter]}} "volume={{path/to/directory}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages/common/docker-pull.md b/pages/common/docker-pull.md new file mode 100644 index 00000000000000..be4d94f4029a1a --- /dev/null +++ b/pages/common/docker-pull.md @@ -0,0 +1,24 @@ +# docker pull + +> Download Docker images from a registry. +> More information: . + +- Download a specific Docker image: + +`docker pull {{image}}:{{tag}}` + +- Download a specific Docker image in quiet mode: + +`docker pull {{[-q|--quiet]}} {{image}}:{{tag}}` + +- Download all tags of a specific Docker image: + +`docker pull {{[-a|--all-tags]}} {{image}}` + +- Download a Docker images for a specific platform, e.g. linux/amd64: + +`docker pull --platform {{linux/amd64}} {{image}}:{{tag}}` + +- Display help: + +`docker pull {{[-h|--help]}}` diff --git a/pages/common/docker-rename.md b/pages/common/docker-rename.md new file mode 100644 index 00000000000000..219e60204baa46 --- /dev/null +++ b/pages/common/docker-rename.md @@ -0,0 +1,12 @@ +# docker rename + +> Rename a container. +> More information: . + +- Rename a container: + +`docker rename {{container}} {{new_name}}` + +- Display help: + +`docker rename --help` diff --git a/pages/common/docker-rm.md b/pages/common/docker-rm.md new file mode 100644 index 00000000000000..f3d434c9cb0762 --- /dev/null +++ b/pages/common/docker-rm.md @@ -0,0 +1,20 @@ +# docker rm + +> Remove containers. +> More information: . + +- Remove containers: + +`docker rm {{container1 container2 ...}}` + +- Force remove a container: + +`docker rm {{[-f|--force]}} {{container1 container2 ...}}` + +- Remove a container and its volumes: + +`docker rm {{[-v|--volumes]}} {{container}}` + +- Display help: + +`docker rm {{[-h|--help]}}` diff --git a/pages/common/docker-rmi.md b/pages/common/docker-rmi.md index 56a01ab9e77c74..4f380950e84785 100644 --- a/pages/common/docker-rmi.md +++ b/pages/common/docker-rmi.md @@ -1,9 +1,9 @@ # docker rmi -> Remove one or more Docker images. -> More information: . +> Remove Docker images. +> More information: . -- Show help: +- Display help: `docker rmi` @@ -13,7 +13,7 @@ - Force remove an image: -`docker rmi --force {{image}}` +`docker rmi {{[-f|--force]}} {{image}}` - Remove an image without deleting untagged parents: diff --git a/pages/common/docker-run.md b/pages/common/docker-run.md index c50b5c02f02f00..920fd641c94984 100644 --- a/pages/common/docker-run.md +++ b/pages/common/docker-run.md @@ -1,7 +1,7 @@ # docker run > Run a command in a new Docker container. -> More information: . +> More information: . - Run command in a new container from a tagged image: @@ -9,20 +9,28 @@ - Run command in a new container in background and display its ID: -`docker run -d {{image}} {{command}}` +`docker run {{[-d|--detach]}} {{image}} {{command}}` - Run command in a one-off container in interactive mode and pseudo-TTY: -`docker run --rm -it {{image}} {{command}}` +`docker run --rm {{[-it|--interactive --tty]}} {{image}} {{command}}` - Run command in a new container with passed environment variables: -`docker run -e '{{variable}}={{value}}' -e {{variable}} {{image}} {{command}}` +`docker run {{[-e|--env]}} '{{variable}}={{value}}' {{[-e|--env]}} {{variable}} {{image}} {{command}}` - Run command in a new container with bind mounted volumes: -`docker run -v {{path/to/host_path}}:{{path/to/container_path}} {{image}} {{command}}` +`docker run {{[-v|--volume]}} /{{path/to/host_path}}:/{{path/to/container_path}} {{image}} {{command}}` - Run command in a new container with published ports: -`docker run -p {{host_port}}:{{container_port}} {{image}} {{command}}` +`docker run {{[-p|--publish]}} {{host_port}}:{{container_port}} {{image}} {{command}}` + +- Run command in a new container overwriting the entrypoint of the image: + +`docker run --entrypoint {{command}} {{image}}` + +- Run command in a new container connecting it to a network: + +`docker run --network {{network}} {{image}}` diff --git a/pages/common/docker-save.md b/pages/common/docker-save.md index d6bd9df2983582..dd9330fbc5edb5 100644 --- a/pages/common/docker-save.md +++ b/pages/common/docker-save.md @@ -1,7 +1,7 @@ # docker save -> Export one or more docker images to archive. -> More information: . +> Export Docker images to archive. +> More information: . - Save an image by redirecting `stdout` to a tar archive: @@ -9,12 +9,12 @@ - Save an image to a tar archive: -`docker save --output {{path/to/file.tar}} {{image}}:{{tag}}` +`docker save {{[-o|--output]}} {{path/to/file.tar}} {{image}}:{{tag}}` - Save all tags of the image: -`docker save --output {{path/to/file.tar}} {{image_name}}` +`docker save {{[-o|--output]}} {{path/to/file.tar}} {{image_name}}` - Cherry-pick particular tags of an image to save: -`docker save --output {{path/to/file.tar}} {{image_name:tag1 image_name:tag2 ...}}` +`docker save {{[-o|--output]}} {{path/to/file.tar}} {{image_name:tag1 image_name:tag2 ...}}` diff --git a/pages/common/docker-search.md b/pages/common/docker-search.md new file mode 100644 index 00000000000000..39e7df66140c8a --- /dev/null +++ b/pages/common/docker-search.md @@ -0,0 +1,28 @@ +# docker search + +> Search for Docker images on Docker Hub. +> More information: . + +- Search for Docker images by name or keyword: + +`docker search {{keyword}}` + +- Search for images and only show official ones: + +`docker search {{[-f|--filter]}} is-official=true {{keyword}}` + +- Search for images and only show automated builds: + +`docker search {{[-f|--filter]}} is-automated=true {{keyword}}` + +- Search for images with a minimum number of stars: + +`docker search {{[-f|--filter]}} stars={{number}} {{keyword}}` + +- Limit the number of results: + +`docker search --limit {{number}} {{keyword}}` + +- Customize the output format: + +`docker search {{[-f|--format]}} "{{.Name}}: {{.Description}}" {{keyword}}` diff --git a/pages/common/docker-secret.md b/pages/common/docker-secret.md index efb42249b4095a..abb3e8f9950694 100644 --- a/pages/common/docker-secret.md +++ b/pages/common/docker-secret.md @@ -1,9 +1,9 @@ # docker secret > Manage Docker swarm secrets. -> More information: . +> More information: . -- Create a new secret from stdin: +- Create a new secret from `stdin`: `{{command}} | docker secret create {{secret_name}} -` diff --git a/pages/common/docker-service.md b/pages/common/docker-service.md index 02e8826c9c922d..9a13f18b741a56 100644 --- a/pages/common/docker-service.md +++ b/pages/common/docker-service.md @@ -1,9 +1,9 @@ # docker service -> Manage the services on a docker daemon. -> More information: . +> Manage the services on a Docker daemon. +> More information: . -- List the services on a docker daemon: +- List the services on a Docker daemon: `docker service ls` @@ -11,18 +11,18 @@ `docker service create --name {{service_name}} {{image}}:{{tag}}` -- Display detailed information of a space-separated list of services: +- Display detailed information about one or more services: -`docker service inspect {{service_name|ID}}` +`docker service inspect {{service_name_or_ID1 service_name_or_ID2}}` -- List the tasks of a space-separated list of services: +- List the tasks of one or more services: -`docker service ps {{service_name|ID}}` +`docker service ps {{service_name_or_ID1 service_name_or_ID2 ...}}` - Scale to a specific number of replicas for a space-separated list of services: `docker service scale {{service_name}}={{count_of_replicas}}` -- Remove a space-separated list of services: +- Remove one or more services: -`docker service rm {{service_name|ID}}` +`docker service rm {{service_name_or_ID1 service_name_or_ID2}}` diff --git a/pages/common/docker-slim.md b/pages/common/docker-slim.md new file mode 100644 index 00000000000000..fd43c3da6cfe23 --- /dev/null +++ b/pages/common/docker-slim.md @@ -0,0 +1,24 @@ +# docker-slim + +> Analyze and optimize Docker images. +> More information: . + +- Start DockerSlim on interactive mode: + +`docker-slim` + +- Analyze Docker layers from a specific image: + +`docker-slim xray --target {{image:tag}}` + +- Lint a Dockerfile: + +`docker-slim lint --target {{path/to/Dockerfile}}` + +- Analyze and generate an optimized Docker image: + +`docker-slim build {{image:tag}}` + +- Display help for a subcommand: + +`docker-slim {{subcommand}} --help` diff --git a/pages/common/docker-start.md b/pages/common/docker-start.md index 73e177299d9f02..d9a12bc94abe0f 100644 --- a/pages/common/docker-start.md +++ b/pages/common/docker-start.md @@ -1,20 +1,20 @@ # docker start -> Start one or more stopped containers. -> More information: . +> Start stopped containers. +> More information: . -- Show help: +- Display help: -`docker start` +`docker start --help` -- Start a docker container: +- Start a Docker container: `docker start {{container}}` - Start a container, attaching `stdout` and `stderr` and forwarding signals: -`docker start --attach {{container}}` +`docker start {{[-a|--attach]}} {{container}}` -- Start one or more space-separated containers: +- Start one or more containers: -`docker start {{container(s)}}` +`docker start {{container1 container2 ...}}` diff --git a/pages/common/docker-stats.md b/pages/common/docker-stats.md index 3738535e9f4508..e884cdc1076387 100644 --- a/pages/common/docker-stats.md +++ b/pages/common/docker-stats.md @@ -1,23 +1,23 @@ # docker stats > Display a live stream of resource usage statistics for containers. -> More information: . +> More information: . - Display a live stream for the statistics of all running containers: `docker stats` -- Display a live stream of statistics for a space-separated list of containers: +- Display a live stream of statistics for one or more containers: -`docker stats {{container_name}}` +`docker stats {{container1 container2 ...}}` -- Change the columns format to display container's cpu usage percentage: +- Change the columns format to display container's CPU usage percentage: `docker stats --format "{{.Name}}:\t{{.CPUPerc}}"` - Display statistics for all containers (both running and stopped): -`docker stats --all` +`docker stats {{[-a|--all]}}` - Disable streaming stats and only pull the current stats: diff --git a/pages/common/docker-system.md b/pages/common/docker-system.md index e62cbf4dcc7ecd..fe4f79b60821c1 100644 --- a/pages/common/docker-system.md +++ b/pages/common/docker-system.md @@ -1,27 +1,27 @@ # docker system > Manage Docker data and display system-wide information. -> More information: . +> More information: . -- Show help: +- Display help: `docker system` -- Show docker disk usage: +- Show Docker disk usage: `docker system df` - Show detailed information on disk usage: -`docker system df --verbose` +`docker system df {{[-v|--verbose]}}` -- Remove unused data: +- Remove unused data (append `--volumes` to remove unused volumes as well): `docker system prune` - Remove unused data created more than a specified amount of time in the past: -`docker system prune --filter="until={{hours}}h{{minutes}}m"` +`docker system prune --filter "until={{hours}}h{{minutes}}m"` - Display real-time events from the Docker daemon: @@ -29,7 +29,7 @@ - Display real-time events from containers streamed as valid JSON Lines: -`docker system events --filter 'type=container' --format '{{json .}}'` +`docker system events {{[-f|--filter]}} 'type=container' --format '{{json .}}'` - Display system-wide information: diff --git a/pages/common/docker-tag.md b/pages/common/docker-tag.md new file mode 100644 index 00000000000000..36587020b6dcb4 --- /dev/null +++ b/pages/common/docker-tag.md @@ -0,0 +1,16 @@ +# docker tag + +> Assign tags to existing Docker images. +> More information: . + +- Assign a name and tag to a specific image ID: + +`docker tag {{id}} {{name}}:{{tag}}` + +- Assign a tag to a specific image: + +`docker tag {{image}}:{{current_tag}} {{image}}:{{new_tag}}` + +- Display help: + +`docker tag` diff --git a/pages/common/docker-top.md b/pages/common/docker-top.md new file mode 100644 index 00000000000000..b8d8df1f506f6b --- /dev/null +++ b/pages/common/docker-top.md @@ -0,0 +1,12 @@ +# docker top + +> Display the running processes of a container. +> More information: . + +- Display the running processes of a container: + +`docker top {{container}}` + +- Display help: + +`docker top --help` diff --git a/pages/common/docker-update.md b/pages/common/docker-update.md new file mode 100644 index 00000000000000..ce147ff40611d3 --- /dev/null +++ b/pages/common/docker-update.md @@ -0,0 +1,29 @@ +# docker update + +> Update configuration of Docker containers. +> This command is not supported for Windows containers. +> More information: . + +- Update restart policy to apply when a specific container exits: + +`docker update --restart={{always|no|on-failure|unless-stopped}} {{container_name}}` + +- Update the policy to restart up to three times a specific container when it exits with non-zero exit status: + +`docker update --restart=on-failure:3 {{container_name}}` + +- Update the number of CPUs available to a specific container: + +`docker update --cpus {{count}} {{container_name}}` + +- Update the memory limit in [M]egabytes for a specific container: + +`docker update {{[-m|--memory]}} {{limit}}M {{container_name}}` + +- Update the maximum number of process IDs allowed inside a specific container (use `-1` for unlimited): + +`docker update --pids-limit {{count}} {{container_name}}` + +- Update the amount of memory in [M]egabytes a specific container can swap to disk (use `-1` for unlimited): + +`docker update --memory-swap {{limit}}M {{container_name}}` diff --git a/pages/common/docker-volume.md b/pages/common/docker-volume.md new file mode 100644 index 00000000000000..2f2662295b1920 --- /dev/null +++ b/pages/common/docker-volume.md @@ -0,0 +1,36 @@ +# docker volume + +> Manage Docker volumes. +> More information: . + +- Create a volume: + +`docker volume create {{volume_name}}` + +- Create a volume with a specific label: + +`docker volume create --label {{label}} {{volume_name}}` + +- Create a `tmpfs` volume a size of 100 MiB and an uid of 1000: + +`docker volume create {{[-o|--opt]}} {{type}}={{tmpfs}} {{[-o|--opt]}} {{device}}={{tmpfs}} {{[-o|--opt]}} {{o}}={{size=100m,uid=1000}} {{volume_name}}` + +- List all volumes: + +`docker volume ls` + +- Remove a volume: + +`docker volume rm {{volume_name}}` + +- Display information about a volume: + +`docker volume inspect {{volume_name}}` + +- Remove all unused local volumes: + +`docker volume prune` + +- Display help for a subcommand: + +`docker volume {{subcommand}} --help` diff --git a/pages/common/docker.md b/pages/common/docker.md index 4b87c36c32ff86..f59a0dc2d9eaba 100644 --- a/pages/common/docker.md +++ b/pages/common/docker.md @@ -1,15 +1,12 @@ # docker > Manage Docker containers and images. -> More information: . +> Some subcommands such as `run` have their own usage documentation. +> More information: . -- List currently running docker containers: +- List all Docker containers (running and stopped): -`docker ps` - -- List all docker containers (running and stopped): - -`docker ps -a` +`docker ps {{[-a|--all]}}` - Start a container from an image, with a custom name: @@ -19,18 +16,22 @@ `docker {{start|stop}} {{container_name}}` -- Pull an image from a docker registry: +- Pull an image from a Docker registry: `docker pull {{image}}` -- Open a shell inside of an already running container: +- Display the list of already downloaded images: + +`docker images` + +- Open an interactive tty with Bourne shell (`sh`) inside a running container: -`docker exec -it {{container_name}} {{sh}}` +`docker exec {{[-it|--interactive --tty]}} {{container_name}} {{sh}}` -- Remove a stopped container: +- Remove stopped containers: -`docker rm {{container_name}}` +`docker rm {{container1 container2 ...}}` - Fetch and follow the logs of a container: -`docker logs -f {{container_name}}` +`docker logs {{[-f|--follow]}} {{container_name}}` diff --git a/pages/common/docsify.md b/pages/common/docsify.md new file mode 100644 index 00000000000000..1e82802fb4bcc4 --- /dev/null +++ b/pages/common/docsify.md @@ -0,0 +1,24 @@ +# docsify + +> Initialize and serve markdown documentation. +> More information: . + +- Initialize a new documentation in the current directory: + +`docsify init` + +- Initialize a new documentation in the specified directory: + +`docsify init {{path/to/directory}}` + +- Serve local documentation on `localhost:3000` with live reload: + +`docsify serve {{path/to/directory}}` + +- Serve local documentation on `localhost` at the specified port: + +`docsify serve --port {{80}} {{path/to/directory}}` + +- Generate a sidebar markdown file in the specified directory: + +`docsify generate {{path/to/directory}}` diff --git a/pages/common/doctl-account.md b/pages/common/doctl-account.md new file mode 100644 index 00000000000000..b95ad9b1c36efc --- /dev/null +++ b/pages/common/doctl-account.md @@ -0,0 +1,16 @@ +# doctl account + +> Retrieve information about Digital Ocean accounts. +> More information: . + +- Display account info: + +`doctl account {{[g|get]}}` + +- Show the hourly API limit, progress towards it, and when the rate limit resets: + +`doctl account {{[rl|ratelimit]}}` + +- Display help: + +`doctl account {{[-h|--help]}}` diff --git a/pages/common/doctl-apps.md b/pages/common/doctl-apps.md new file mode 100644 index 00000000000000..be8e472a6bf088 --- /dev/null +++ b/pages/common/doctl-apps.md @@ -0,0 +1,36 @@ +# doctl apps + +> Manage DigitalOcean apps. +> More information: . + +- Create an app: + +`doctl {{[a|apps]}} {{[c|create]}}` + +- Create a deployment for a specific app: + +`doctl {{[a|apps]}} {{[cd|create-deployment]}} {{app_id}}` + +- Delete an app interactively: + +`doctl {{[a|apps]}} {{[d|delete]}} {{app_id}}` + +- Get an app: + +`doctl {{[a|apps]}} {{[g|get]}}` + +- List all apps: + +`doctl {{[a|apps]}} {{[ls|list]}}` + +- List all deployments from a specific app: + +`doctl {{[a|apps]}} {{[lsd|list-deployments]}} {{app_id}}` + +- Get logs from a specific app: + +`doctl {{[a|apps]}} {{[l|logs]}} {{app_id}}` + +- Update a specific app with a given app spec: + +`doctl {{[a|apps]}} {{[u|update]}} {{app_id}} --spec {{path/to/spec.yml}}` diff --git a/pages/common/doctl-auth.md b/pages/common/doctl-auth.md new file mode 100644 index 00000000000000..1ba1b19873bb84 --- /dev/null +++ b/pages/common/doctl-auth.md @@ -0,0 +1,24 @@ +# doctl auth + +> Authenticate `doctl` with API tokens. +> More information: . + +- Open a prompt to enter an API token and label its context: + +`doctl auth init --context {{token_label}}` + +- List authentication contexts (API tokens): + +`doctl auth {{[ls|list]}}` + +- Switch contexts (API tokens): + +`doctl auth switch --context {{token_label}}` + +- Remove a stored authentication context (API token): + +`doctl auth remove --context {{token_label}}` + +- Show available commands: + +`doctl auth {{[-h|--help]}}` diff --git a/pages/common/doctl-balance.md b/pages/common/doctl-balance.md new file mode 100644 index 00000000000000..30ae0f6f57a266 --- /dev/null +++ b/pages/common/doctl-balance.md @@ -0,0 +1,16 @@ +# doctl balance + +> Show the balance of a Digital Ocean account. +> More information: . + +- Get balance of the account associated with the current context: + +`doctl balance {{[g|get]}}` + +- Get the balance of an account associated with an access token: + +`doctl balance {{[g|get]}} {{[-t|--access-token]}} {{access_token}}` + +- Get the balance of an account associated with a specified context: + +`doctl balance {{[g|get]}} --context` diff --git a/pages/common/doctl-compute-droplet.md b/pages/common/doctl-compute-droplet.md new file mode 100644 index 00000000000000..5df8e7a81bc6cd --- /dev/null +++ b/pages/common/doctl-compute-droplet.md @@ -0,0 +1,16 @@ +# doctl compute droplet + +> List, create, and delete virtual machines which are called droplets. +> More information: . + +- Create a droplet: + +`doctl compute {{[d|droplet]}} {{[c|create]}} --region {{region}} --image {{os_image}} --size {{vps_type}} {{droplet_name}}` + +- Delete a droplet: + +`doctl compute {{[d|droplet]}} {{[d|delete]}} {{droplet_id|droplet_name}}` + +- List droplets: + +`doctl compute {{[d|droplet]}} {{[ls|list]}}` diff --git a/pages/common/doctl-databases-db.md b/pages/common/doctl-databases-db.md new file mode 100644 index 00000000000000..47bfab7ae15cc0 --- /dev/null +++ b/pages/common/doctl-databases-db.md @@ -0,0 +1,24 @@ +# doctl databases db + +> Manage databases that are served by a database cluster. +> More information: . + +- Run a `doctl databases db` command with an access token: + +`doctl {{[d|databases]}} db {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Retrieve the name of the given database hosted in the given database cluster: + +`doctl {{[d|databases]}} db {{[g|get]}} {{database_id}} {{database_name}}` + +- List existing databases hosted within a given database cluster: + +`doctl {{[d|databases]}} db {{[ls|list]}} {{database_id}}` + +- Create a database with the given name in the given database cluster: + +`doctl {{[d|databases]}} db {{[c|create]}} {{database_id}} {{database_name}}` + +- Delete the database with the given name in the given database cluster: + +`doctl {{[d|databases]}} db {{[rm|delete]}} {{database_id}} {{database_name}}` diff --git a/pages/common/doctl-databases-firewalls.md b/pages/common/doctl-databases-firewalls.md new file mode 100644 index 00000000000000..87031c8d4e7a92 --- /dev/null +++ b/pages/common/doctl-databases-firewalls.md @@ -0,0 +1,20 @@ +# doctl databases firewalls + +> Manage firewalls for database clusters. +> More information: . + +- Run a `doctl databases firewalls` command with an access token: + +`doctl {{[d|databases]}} {{[fw|firewalls]}} {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Retrieve a list of firewall rules for a given database: + +`doctl {{[d|databases]}} {{[fw|firewalls]}} {{[ls|list]}}` + +- Add a database firewall rule to a given database: + +`doctl {{[d|databases]}} {{[fw|firewalls]}} {{[a|append]}} {{database_id}} --rule {{droplet|k8s|ip_addr|tag|app}}:{{value}}` + +- Remove a firewall rule for a given database: + +`doctl {{[d|databases]}} {{[fw|firewalls]}} {{[rm|remove]}} {{database_id}} {{rule_uuid}}` diff --git a/pages/common/doctl-databases-maintenance-window.md b/pages/common/doctl-databases-maintenance-window.md new file mode 100644 index 00000000000000..417e8ab6be439b --- /dev/null +++ b/pages/common/doctl-databases-maintenance-window.md @@ -0,0 +1,16 @@ +# doctl databases maintenance-window + +> Schedule, and check the schedule of, maintenance windows for your databases. +> More information: . + +- Run a `doctl databases maintenance-window` command with an access token: + +`doctl {{[d|databases]}} {{[mw|maintenance-window]}} {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Retrieve details about a database cluster's maintenance windows: + +`doctl {{[d|databases]}} {{[mw|maintenance-window]}} {{[g|get]}} {{database_id}}` + +- Update the maintenance window for a database cluster: + +`doctl {{[d|databases]}} {{[mw|maintenance-window]}} {{[u|update]}} {{database_id}} --day {{day_of_the_week}} --hour {{hour_in_24_hours_format}}` diff --git a/pages/common/doctl-databases-options.md b/pages/common/doctl-databases-options.md new file mode 100644 index 00000000000000..bf185e8b30e7b2 --- /dev/null +++ b/pages/common/doctl-databases-options.md @@ -0,0 +1,24 @@ +# doctl databases options + +> Enable the navigation of available options under each database engine. +> More information: . + +- Run a `doctl databases options` command with an access token: + +`doctl {{[d|databases]}} {{[o|options]}} {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Retrieve a list of the available database engines: + +`doctl {{[d|databases]}} {{[o|options]}} {{[eng|engines]}}` + +- Retrieve a list of the available regions for a given database engine: + +`doctl {{[d|databases]}} {{[o|options]}} {{[r|regions]}} --engine {{pg|mysql|redis|mongodb}}` + +- Retrieve a list of the available slugs for a given database engine: + +`doctl {{[d|databases]}} {{[o|options]}} {{[s|slugs]}} --engine {{pg|mysql|redis|mongodb}}` + +- Retrieve a list of the available versions for a given database engine: + +`doctl {{[d|databases]}} {{[o|options]}} {{[v|versions]}} --engine {{pg|mysql|redis|mongodb}}` diff --git a/pages/common/doctl-databases-pool.md b/pages/common/doctl-databases-pool.md new file mode 100644 index 00000000000000..232c6db16ed11b --- /dev/null +++ b/pages/common/doctl-databases-pool.md @@ -0,0 +1,24 @@ +# doctl databases pool + +> Manage connection pools for your database cluster. +> More information: . + +- Run a `doctl databases pool` command with an access token: + +`doctl {{[d|databases]}} {{[p|pool]}} {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Retrieve information about a database connection pool: + +`doctl {{[d|databases]}} {{[p|pool]}} {{[g|get]}} {{database_id}} {{pool_name}}` + +- List connection pools for a database cluster: + +`doctl {{[d|databases]}} {{[p|pool]}} {{[ls|list]}} {{database_id}}` + +- Create a connection pool for a database: + +`doctl {{[d|databases]}} {{[p|pool]}} {{[c|create]}} {{database_id}} {{pool_name}} --db {{new_pool_name}} --size {{pool_size}}` + +- Delete a connection pool for a database: + +`doctl {{[d|databases]}} {{[p|pool]}} {{[c|create]}} {{database_id}} {{pool_name}}` diff --git a/pages/common/doctl-databases-replica.md b/pages/common/doctl-databases-replica.md new file mode 100644 index 00000000000000..dafaecefa69965 --- /dev/null +++ b/pages/common/doctl-databases-replica.md @@ -0,0 +1,24 @@ +# doctl databases replica + +> Manage read-only replicas associated with a database cluster. +> More information: . + +- Run a `doctl databases replica` command with an access token: + +`doctl {{[d|databases]}} {{[p|pool]}} {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Retrieve information about a read-only database replica: + +`doctl {{[d|databases]}} {{[r|replica]}} {{[g|get]}} {{database_id}} {{replica_name}}` + +- Retrieve list of read-only database replicas: + +`doctl {{[d|databases]}} {{[r|replica]}} {{[ls|list]}} {{database_id}}` + +- Create a read-only database replica: + +`doctl {{[d|databases]}} {{[r|replica]}} {{[c|create]}} {{database_id}} {{replica_name}}` + +- Delete a read-only database replica: + +`doctl {{[d|databases]}} {{[r|replica]}} {{[rm|delete]}} {{database_id}} {{replica_name}}` diff --git a/pages/common/doctl-databases-sql-mode.md b/pages/common/doctl-databases-sql-mode.md new file mode 100644 index 00000000000000..90530ccb99168f --- /dev/null +++ b/pages/common/doctl-databases-sql-mode.md @@ -0,0 +1,16 @@ +# doctl databases sql-mode + +> View and configure a MySQL database cluster's global SQL modes. +> More information: . + +- Run a `doctl databases sql-mode` command with an access token: + +`doctl {{[d|databases]}} {{[sm|sql-mode]}} {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Get a MySQL database cluster's SQL modes: + +`doctl {{[d|databases]}} {{[sm|sql-mode]}} {{[g|get]}} {{database_id}}` + +- Overwrite a MySQL database cluster's SQL modes to the specified modes: + +`doctl {{[d|databases]}} {{[sm|sql-mode]}} {{[s|set]}} {{database_id}} {{sql_mode_1 sql_mode_2 ...}}` diff --git a/pages/common/doctl-databases-user.md b/pages/common/doctl-databases-user.md new file mode 100644 index 00000000000000..159b53b1ea278b --- /dev/null +++ b/pages/common/doctl-databases-user.md @@ -0,0 +1,32 @@ +# doctl databases user + +> View details for, and create, database users. +> More information: . + +- Run a `doctl databases user` command with an access token: + +`doctl {{[d|databases]}} {{[u|user]}} {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Retrieve details about a database user: + +`doctl {{[d|databases]}} {{[u|user]}} {{[g|get]}} {{database_id}} {{user_name}}` + +- Retrieve a list of database users for a given database: + +`doctl {{[d|databases]}} {{[u|user]}} {{[ls|list]}} {{database_id}}` + +- Reset the auth password for a given user: + +`doctl {{[d|databases]}} {{[u|user]}} {{[rs|reset]}} {{database id}} {{user_name}}` + +- Reset the MySQL auth plugn for a given user: + +`doctl {{[d|databases]}} {{[u|user]}} {{[rs|reset]}} {{database_id}} {{user_name}} {{caching_sha2_password|mysql_native_password}}` + +- Create a user in the given database with a given username: + +`doctl {{[d|databases]}} {{[u|user]}} {{[c|create]}} {{database_id}} {{user_name}}` + +- Delete a user from the given database with the given username: + +`doctl {{[d|databases]}} {{[u|user]}} {{[rm|delete]}} {{database_id}} {{user_name}}` diff --git a/pages/common/doctl-databases.md b/pages/common/doctl-databases.md new file mode 100644 index 00000000000000..675d98d963ea21 --- /dev/null +++ b/pages/common/doctl-databases.md @@ -0,0 +1,24 @@ +# doctl databases + +> Manage your MySQL, Redis, PostgreSQL, and MongoDB database services. +> More information: . + +- Run a `doctl databases` command with an access token: + +`doctl {{[d|databases]}} {{command}} {{[-t|--access-token]}} {{access_token}}` + +- Get details for a database cluster: + +`doctl {{[d|databases]}} {{[g|get]}}` + +- List your database clusters: + +`doctl {{[d|databases]}} {{[ls|list]}}` + +- Create a database cluster: + +`doctl {{[d|databases]}} {{[c|create]}} {{database_name}}` + +- Delete a cluster: + +`doctl {{[d|databases]}} {{[rm|delete]}} {{database_id}}` diff --git a/pages/common/doctl-kubernetes-cluster.md b/pages/common/doctl-kubernetes-cluster.md new file mode 100644 index 00000000000000..97516a63b76133 --- /dev/null +++ b/pages/common/doctl-kubernetes-cluster.md @@ -0,0 +1,28 @@ +# doctl kubernetes cluster + +> Manage Kubernetes clusters and view configuration options relating to clusters. +> More information: . + +- Create a Kubernetes cluster: + +`doctl {{[k|kubernetes]}} {{[c|cluster]}} {{[c|create]}} --count {{3}} --region {{nyc1}} --size {{s-1vcpu-2gb}} --version {{latest}} {{cluster_name}}` + +- List all Kubernetes clusters: + +`doctl {{[k|kubernetes]}} {{[c|cluster]}} {{[ls|list]}}` + +- Fetch and save the kubeconfig: + +`doctl {{[k|kubernetes]}} {{[c|cluster]}} {{[cfg|kubeconfig]}} {{[s|save]}} {{cluster_name}}` + +- Check for available upgrades: + +`doctl {{[k|kubernetes]}} {{[c|cluster]}} {{[gu|get-upgrades]}} {{cluster_name}}` + +- Upgrade a cluster to a new Kubernetes version: + +`doctl {{[k|kubernetes]}} {{[c|cluster]}} upgrade {{cluster_name}}` + +- Delete a cluster: + +`doctl {{[k|kubernetes]}} {{[c|cluster]}} {{[d|delete]}} {{cluster_name}}` diff --git a/pages/common/doctl-kubernetes-options.md b/pages/common/doctl-kubernetes-options.md new file mode 100644 index 00000000000000..42b1d529db2cb8 --- /dev/null +++ b/pages/common/doctl-kubernetes-options.md @@ -0,0 +1,16 @@ +# doctl kubernetes options + +> Get values available for use with `doctl`'s Kubernetes commands. +> More information: . + +- List regions that support Kubernetes clusters: + +`doctl {{[k|kubernetes]}} {{[o|options]}} {{[r|regions]}}` + +- List machine sizes that can be used in a Kubernetes cluster: + +`doctl {{[k|kubernetes]}} {{[o|options]}} {{[s|sizes]}}` + +- List Kubernetes versions that can be used with DigitalOcean clusters: + +`doctl {{[k|kubernetes]}} {{[o|options]}} {{[v|versions]}}` diff --git a/pages/common/doctl-serverless.md b/pages/common/doctl-serverless.md new file mode 100644 index 00000000000000..ed80927e6504d7 --- /dev/null +++ b/pages/common/doctl-serverless.md @@ -0,0 +1,20 @@ +# doctl serverless + +> Manage serverless functions. +> More information: . + +- Connect local serverless support to a functions namespace: + +`doctl {{[sls|serverless]}} connect` + +- Deploy a functions project to your functions namespace: + +`doctl {{[sls|serverless]}} deploy` + +- Obtain metadata of a functions project: + +`doctl {{[sls|serverless]}} get-metadata` + +- Provide information about serverless support: + +`doctl {{[sls|serverless]}} status` diff --git a/pages/common/doctum.md b/pages/common/doctum.md new file mode 100644 index 00000000000000..7afd9862e0a268 --- /dev/null +++ b/pages/common/doctum.md @@ -0,0 +1,24 @@ +# doctum + +> Generate documentation for a PHP API. +> More information: . + +- Parse a project: + +`doctum parse` + +- Render a project: + +`doctum render` + +- Parse then render a project: + +`doctum update` + +- Parse and render only a specific version of a project: + +`doctum update --only-version={{version}}` + +- Parse and render a project using a specific configuration: + +`doctum update {{path/to/config.php}}` diff --git a/pages/common/dog.md b/pages/common/dog.md new file mode 100644 index 00000000000000..0e4dd9193b6d6d --- /dev/null +++ b/pages/common/dog.md @@ -0,0 +1,29 @@ +# dog + +> DNS lookup utility. +> It has colorful output, supports DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON. +> More information: . + +- Lookup the IP(s) associated with a hostname (A records): + +`dog {{example.com}}` + +- Query the MX records type associated with a given domain name: + +`dog {{example.com}} MX` + +- Specify a specific DNS server to query (e.g. Cloudflare): + +`dog {{example.com}} MX @{{1.1.1.1}}` + +- Query over TCP rather than UDP: + +`dog {{example.com}} MX @{{1.1.1.1}} {{[-T|--tcp]}}` + +- Query the MX records type associated with a given domain name over TCP using explicit arguments: + +`dog {{[-q|--query]}} {{example.com}} {{[-t|--type]}} MX {{[-n|--nameserver]}} {{1.1.1.1}} {{[-T|--tcp]}}` + +- Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH): + +`dog {{example.com}} {{[-H|--https]}} @{{https://cloudflare-dns.com/dns-query}}` diff --git a/pages/common/doggo.md b/pages/common/doggo.md new file mode 100644 index 00000000000000..7a6b305dba3ed3 --- /dev/null +++ b/pages/common/doggo.md @@ -0,0 +1,25 @@ +# doggo + +> DNS client for Humans. +> Written in Golang. +> More information: . + +- Perform a simple DNS lookup: + +`doggo {{example.com}}` + +- Query MX records using a specific nameserver: + +`doggo MX {{codeberg.org}} @{{1.1.1.2}}` + +- Use DNS over HTTPS: + +`doggo {{example.com}} @{{https://dns.quad9.net/dns-query}}` + +- Output in the JSON format: + +`doggo {{example.com}} {{[-J|--json]}} | jq '{{.responses[0].answers[].address}}'` + +- Perform a reverse DNS lookup: + +`doggo {{[-x|--reverse]}} {{8.8.4.4}} --short` diff --git a/pages/common/dokku.md b/pages/common/dokku.md index eac2bc44b0a897..caf23ed0761873 100644 --- a/pages/common/dokku.md +++ b/pages/common/dokku.md @@ -2,7 +2,7 @@ > Docker powered mini-Heroku (PaaS). > Easily deploy multiple apps to your server in different languages using a single `git-push` command. -> More information: . +> More information: . - List running apps: diff --git a/pages/common/dolt-add.md b/pages/common/dolt-add.md new file mode 100644 index 00000000000000..4759f62ea86fce --- /dev/null +++ b/pages/common/dolt-add.md @@ -0,0 +1,12 @@ +# dolt add + +> Add the contents of a table to the list of Dolt staged tables. +> More information: . + +- Add a table to the list of staged tables (stage a table): + +`dolt add {{table}}` + +- Stage all tables: + +`dolt add {{[-A|--all]}}` diff --git a/pages/common/dolt-blame.md b/pages/common/dolt-blame.md new file mode 100644 index 00000000000000..2185c427760e29 --- /dev/null +++ b/pages/common/dolt-blame.md @@ -0,0 +1,16 @@ +# dolt blame + +> Display commit information for each row of a Dolt table. +> More information: . + +- Display the latest commit for each row of a table: + +`dolt blame {{table}}` + +- Display the latest commits for each row of a table when the specified commit was made: + +`dolt blame {{commit}} {{table}}` + +- Display help: + +`dolt blame --help` diff --git a/pages/common/dolt-branch.md b/pages/common/dolt-branch.md new file mode 100644 index 00000000000000..932efd7e74b787 --- /dev/null +++ b/pages/common/dolt-branch.md @@ -0,0 +1,36 @@ +# dolt branch + +> Manage Dolt branches. +> More information: . + +- List local branches (current branch is highlighted by `*`): + +`dolt branch` + +- List all local and remote branches: + +`dolt branch {{[-A|--all]}}` + +- Create a new branch based on the current branch: + +`dolt branch {{branch_name}}` + +- Create a new branch with the specified commit as the latest: + +`dolt branch {{branch_name}} {{commit}}` + +- Rename a branch: + +`dolt branch {{[-m|--move]}} {{branch_name1}} {{branch_name2}}` + +- Duplicate a branch: + +`dolt branch {{[-c|--copy]}} {{branch_name1}} {{branch_name2}}` + +- Delete a branch: + +`dolt branch {{[-d|--delete]}} {{branch_name}}` + +- Display the name of the current branch: + +`dolt branch --show-current` diff --git a/pages/common/dolt-checkout.md b/pages/common/dolt-checkout.md new file mode 100644 index 00000000000000..ab7dd670729296 --- /dev/null +++ b/pages/common/dolt-checkout.md @@ -0,0 +1,20 @@ +# dolt checkout + +> Checkout the work tree or tables to a branch or commit. +> More information: . + +- Switch to a branch: + +`dolt checkout {{branch_name}}` + +- Revert unstaged changes to a table: + +`dolt checkout {{table}}` + +- Create new branch and switch to it: + +`dolt checkout -b {{branch_name}}` + +- Create new branch based on a specified commit and switch to it: + +`dolt checkout -b {{branch_name}} {{commit}}` diff --git a/pages/common/dolt-clone.md b/pages/common/dolt-clone.md new file mode 100644 index 00000000000000..f05c9e986e3cba --- /dev/null +++ b/pages/common/dolt-clone.md @@ -0,0 +1,32 @@ +# dolt clone + +> Clone a repository into a new directory. +> More information: . + +- Clone an existing repository into a specific directory (defaults to the repository name): + +`dolt clone {{repository_url}} {{path/to/directory}}` + +- Clone an existing repository and add a specific remote (defaults to origin): + +`dolt clone --remote {{remote_name}} {{repository_url}}` + +- Clone an existing repository only fetching a specific branch (defaults to all branches): + +`dolt clone {{[-b|--branch]}} {{branch_name}} {{repository_url}}` + +- Clone a repository, using an AWS region (uses the profile's default region if none is provided): + +`dolt clone --aws-region {{region_name}} {{repository_url}}` + +- Clone a repository, using an AWS credentials file: + +`dolt clone --aws-creds-file {{credentials_file}} {{repository_url}}` + +- Clone a repository, using an AWS credentials profile (uses the default profile if none is provided): + +`dolt clone --aws-creds-profile {{profile_name}} {{repository_url}}` + +- Clone a repository, using an AWS credentials type: + +`dolt clone --aws-creds-type {{credentials_type}} {{repository_url}}` diff --git a/pages/common/dolt-commit.md b/pages/common/dolt-commit.md new file mode 100644 index 00000000000000..82de5354de0d0b --- /dev/null +++ b/pages/common/dolt-commit.md @@ -0,0 +1,32 @@ +# dolt commit + +> Commit staged changes to tables. +> More information: . + +- Commit all staged changes, opening the editor specified by `$EDITOR` to enter the commit message: + +`dolt commit` + +- Commit all staged changes with the specified message: + +`dolt commit {{[-m|--message]}} "{{commit_message}}"` + +- Stage all unstaged changes to tables before committing: + +`dolt commit {{[-a|--all]}}` + +- Use the specified ISO 8601 commit date (defaults to current date and time): + +`dolt commit --date "{{2021-12-31T00:00:00}}"` + +- Use the specified author for the commit: + +`dolt commit --author "{{author_name}} <{{author_email}}>"` + +- Allow creating an empty commit, with no changes: + +`dolt commit --allow-empty` + +- Ignore foreign key warnings: + +`dolt commit {{[-f|--force]}}` diff --git a/pages/common/dolt-config.md b/pages/common/dolt-config.md new file mode 100644 index 00000000000000..3164021ddda712 --- /dev/null +++ b/pages/common/dolt-config.md @@ -0,0 +1,28 @@ +# dolt config + +> Read and write local (per repository) and global (per user) Dolt configuration variables. +> More information: . + +- List all local and global configuration options and their values: + +`dolt config --list` + +- Display the value of a local or global configuration variable: + +`dolt config --get {{name}}` + +- Modify the value of a local configuration variable, creating it if it doesn't exist: + +`dolt config --add {{name}} {{value}}` + +- Modify the value of a global configuration variable, creating it if it doesn't exist: + +`dolt config --global --add {{name}} {{value}}` + +- Delete a local configuration variable: + +`dolt config --unset {{name}}` + +- Delete a global configuration variable: + +`dolt config --global --unset {{name}}` diff --git a/pages/common/dolt-fetch.md b/pages/common/dolt-fetch.md new file mode 100644 index 00000000000000..b9b644929c7048 --- /dev/null +++ b/pages/common/dolt-fetch.md @@ -0,0 +1,16 @@ +# dolt fetch + +> Download objects and refs from another repository. +> More information: . + +- Fetch the latest changes from the default remote upstream repository (origin): + +`dolt fetch` + +- Fetch latest changes from a specific remote upstream repository: + +`dolt fetch {{remote_name}}` + +- Update branches with the current state of the remote, overwriting any conflicting history: + +`dolt fetch -f` diff --git a/pages/common/dolt-gc.md b/pages/common/dolt-gc.md new file mode 100644 index 00000000000000..2835863c2cc53a --- /dev/null +++ b/pages/common/dolt-gc.md @@ -0,0 +1,12 @@ +# dolt gc + +> Search the repository for data that are no longer referenced and no longer needed. +> More information: . + +- Clean up unreferenced data from the repository: + +`dolt gc` + +- Initiate a faster but less thorough garbage collection process: + +`dolt gc {{[-s|--shallow]}}` diff --git a/pages/common/dolt-init.md b/pages/common/dolt-init.md new file mode 100644 index 00000000000000..8a53a0c58005e6 --- /dev/null +++ b/pages/common/dolt-init.md @@ -0,0 +1,12 @@ +# dolt init + +> Create an empty Dolt data repository. +> More information: . + +- Initialize a new Dolt data repository in the current directory: + +`dolt init` + +- Initialize a new Dolt data repository creating a commit with the specified metadata: + +`dolt init --name "{{name}}" --email "{{email}}" --date "{{2021-12-31T00:00:00}}" {{[-b|--initial-branch]}} "{{branch_name}}"` diff --git a/pages/common/dolt-merge.md b/pages/common/dolt-merge.md new file mode 100644 index 00000000000000..cd1e6f3c9a637a --- /dev/null +++ b/pages/common/dolt-merge.md @@ -0,0 +1,24 @@ +# dolt merge + +> Join two or more development histories together. +> More information: . + +- Incorporate changes from the named commits into the current branch: + +`dolt merge {{branch_name}}` + +- Incorporate changes from the named commits into the current branch without updating the commit history: + +`dolt merge --squash {{branch_name}}` + +- Merge a branch and create a merge commit even when the merge resolves as a fast-forward: + +`dolt merge --no-ff {{branch_name}}` + +- Merge a branch and create a merge commit with a specific commit message: + +`dolt merge --no-ff {{[-m|--message]}} "{{message}}" {{branch_name}}` + +- Abort the current conflict resolution process: + +`dolt merge --abort` diff --git a/pages/common/dolt-sql.md b/pages/common/dolt-sql.md new file mode 100644 index 00000000000000..1f7891371a8698 --- /dev/null +++ b/pages/common/dolt-sql.md @@ -0,0 +1,12 @@ +# dolt sql + +> Run an SQL query. Multiple SQL statements must be separated by semicolons. +> More information: . + +- Run a single query: + +`dolt sql {{[-q|--query]}} "{{INSERT INTO t values (1, 3);}}"` + +- List all saved queries: + +`dolt sql {{[-l|--list-saved]}}` diff --git a/pages/common/dolt-status.md b/pages/common/dolt-status.md new file mode 100644 index 00000000000000..adfecf22bb2c9b --- /dev/null +++ b/pages/common/dolt-status.md @@ -0,0 +1,8 @@ +# dolt status + +> Display the status of the database session. +> More information: . + +- Display the status: + +`dolt status` diff --git a/pages/common/dolt-version.md b/pages/common/dolt-version.md new file mode 100644 index 00000000000000..a7df647a014068 --- /dev/null +++ b/pages/common/dolt-version.md @@ -0,0 +1,8 @@ +# dolt version + +> Display the current dolt CLI version. +> More information: . + +- Display version: + +`dolt version` diff --git a/pages/common/dolt.md b/pages/common/dolt.md new file mode 100644 index 00000000000000..74192b36f25cd6 --- /dev/null +++ b/pages/common/dolt.md @@ -0,0 +1,13 @@ +# dolt + +> An SQL database that you can fork, clone, branch, merge, push and pull just like a Git repository. +> Some subcommands such as `commit` have their own usage documentation. +> More information: . + +- Execute a `dolt` subcommand: + +`dolt {{subcommand}}` + +- List available subcommands: + +`dolt help` diff --git a/pages/common/done.md b/pages/common/done.md new file mode 100644 index 00000000000000..278030e900e7b4 --- /dev/null +++ b/pages/common/done.md @@ -0,0 +1,19 @@ +# done + +> This shell keyword is used with `for`, `while`, `select`, and `until` to mark the end of a loop. + +- View documentation for the `for` keyword: + +`tldr for` + +- View documentation for the `while` keyword: + +`tldr while` + +- View documentation for the `select` keyword: + +`tldr select` + +- View documentation for the `until` keyword: + +`tldr until` diff --git a/pages/common/doppler-projects.md b/pages/common/doppler-projects.md new file mode 100644 index 00000000000000..a11a30280b18b5 --- /dev/null +++ b/pages/common/doppler-projects.md @@ -0,0 +1,24 @@ +# doppler projects + +> Manage Doppler Projects. +> More information: . + +- Get all projects: + +`doppler projects` + +- Get info for a project: + +`doppler projects get {{name|project_id}}` + +- Create a project: + +`doppler projects create {{name}}` + +- Update a project's name and description: + +`doppler projects update {{name|project_id}} --name "{{new_name}}" --description "{{new_description}}"` + +- Delete a project: + +`doppler projects delete {{name|project_id}}` diff --git a/pages/common/doppler-run.md b/pages/common/doppler-run.md new file mode 100644 index 00000000000000..f79cc2a2268d20 --- /dev/null +++ b/pages/common/doppler-run.md @@ -0,0 +1,24 @@ +# doppler run + +> Run a command with Doppler secrets injected into the environment. +> More information: . + +- Run a command: + +`doppler run --command {{command}}` + +- Run multiple commands: + +`doppler run --command {{command1 && command2}}` + +- Run a script: + +`doppler run {{path/to/command.sh}}` + +- Run command with specified project and config: + +`doppler run -p {{project_name}} -c {{config_name}} -- {{command}}` + +- Automatically restart process when secrets change: + +`doppler run --watch {{command}}` diff --git a/pages/common/doppler-secrets.md b/pages/common/doppler-secrets.md new file mode 100644 index 00000000000000..b1c985b016c35d --- /dev/null +++ b/pages/common/doppler-secrets.md @@ -0,0 +1,24 @@ +# doppler secrets + +> Manage your Doppler project's secrets. +> More information: . + +- Get all secrets: + +`doppler secrets` + +- Get value(s) of one or more secrets: + +`doppler secrets get {{secrets}}` + +- Upload a secrets file: + +`doppler secrets upload {{path/to/file.env}}` + +- Delete value(s) of one or more secrets: + +`doppler secrets delete {{secrets}}` + +- Download secrets as `.env`: + +`doppler secrets download --format=env --no-file > {{path/to/.env}}` diff --git a/pages/common/doppler.md b/pages/common/doppler.md new file mode 100644 index 00000000000000..3d4ff45f52d532 --- /dev/null +++ b/pages/common/doppler.md @@ -0,0 +1,29 @@ +# doppler + +> Manage environment variables across different environments using Doppler. +> Some subcommands such as `run` and `secrets` have their own usage documentation. +> More information: . + +- Setup Doppler CLI in the current directory: + +`doppler setup` + +- Setup Doppler project and configuration in current directory: + +`doppler setup` + +- Run a command with secrets injected into the environment: + +`doppler run --command {{command}}` + +- View your project list: + +`doppler projects` + +- View your secrets for current project: + +`doppler secrets` + +- Open Doppler dashboard in browser: + +`doppler open` diff --git a/pages/common/dosbox.md b/pages/common/dosbox.md new file mode 100644 index 00000000000000..4d2cb11ab7a308 --- /dev/null +++ b/pages/common/dosbox.md @@ -0,0 +1,24 @@ +# dosbox + +> MS-DOS emulator to run legacy DOS applications and games. +> More information: . + +- Start DOSBox with default settings: + +`dosbox` + +- Run a DOS executable located at a specific path: + +`dosbox {{path/to/executable.exe}}` + +- Mount a folder as C: and run an executable: + +`dosbox {{path/to/executable.exe}} -c "MOUNT C {{path/to/folder}}"` + +- Start DOSBox in fullscreen mode: + +`dosbox -fullscreen` + +- Exit DOSBox automatically after running a program: + +`dosbox {{path/to/executable.exe}} -exit` diff --git a/pages/common/dot.md b/pages/common/dot.md index 89329588dfb8d1..c914ae1d2fc974 100644 --- a/pages/common/dot.md +++ b/pages/common/dot.md @@ -1,11 +1,25 @@ # dot -> A command-line tool to produce layered drawings of directed graphs. +> Render an image of a `linear directed` network graph from a `graphviz` file. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> More information: . -- Render an image file and determine output filename based on input filename and selected format: +- Render a PNG image with a filename based on the input filename and output format (uppercase -O): -`dot -Tpng -O {{path/to/file.dot}}` +`dot -T {{png}} -O {{path/to/input.gv}}` -- Create an SVG from DOT file: +- Render a SVG image with the specified output filename (lowercase -o): -`dot -Tsvg -o {{path/to/out_file.svg}} {{path/to/file.dot}}` +`dot -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}` + +- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format: + +`dot -T {{format}} -O {{path/to/input.gv}}` + +- Render a GIF image using `stdin` and `stdout`: + +`echo "{{digraph {this -> that} }}" | dot -T {{gif}} > {{path/to/image.gif}}` + +- Display help: + +`dot -?` diff --git a/pages/common/dotenvx.md b/pages/common/dotenvx.md new file mode 100644 index 00000000000000..cbc195aba4de3e --- /dev/null +++ b/pages/common/dotenvx.md @@ -0,0 +1,32 @@ +# dotenvx + +> A better `dotenv`, from the creator of `dotenv`. +> More information: . + +- Run a command with environment variables from a `.env` file: + +`dotenvx run -- {{command}}` + +- Run a command with environment variables from a specific `.env` file: + +`dotenvx run -f {{path/to/file.env}} -- {{command}}` + +- Set an environment variable with encryption: + +`dotenvx set {{key}} {{value}}` + +- Set an environment variable without encryption: + +`dotenvx set {{key}} {{value}} --plain` + +- Return environment variables defined in a `.env` file: + +`dotenvx get` + +- Return the value of an environment variable defined in a `.env` file: + +`dotenvx get {{key}}` + +- Return all environment variables from `.env` files and OS: + +`dotenvx get --all` diff --git a/pages/common/dotnet-add-package.md b/pages/common/dotnet-add-package.md new file mode 100644 index 00000000000000..309f1a9eba1d21 --- /dev/null +++ b/pages/common/dotnet-add-package.md @@ -0,0 +1,28 @@ +# dotnet add package + +> Add or update a .NET package reference in a project file. +> More information: . + +- Add a package to the project in the current directory: + +`dotnet add package {{package}}` + +- Add a package to a specific project: + +`dotnet add {{path/to/file.csproj}} package {{package}}` + +- Add a specific version of a package to the project: + +`dotnet add package {{package}} {{[-v|--version]}} {{1.0.0}}` + +- Add a package using a specific NuGet source: + +`dotnet add package {{package}} {{[-s|--source]}} {{https://api.nuget.org/v3/index.json}}` + +- Add a package only when targeting a specific framework: + +`dotnet add package {{package}} {{[-f|--framework]}} {{net7.0}}` + +- Add and specify the directory where to restore packages (`~/.nuget/packages` by default): + +`dotnet add package {{package}} --package-directory {{path/to/directory}}` diff --git a/pages/common/dotnet-add-reference.md b/pages/common/dotnet-add-reference.md new file mode 100644 index 00000000000000..2f64f023d4bc60 --- /dev/null +++ b/pages/common/dotnet-add-reference.md @@ -0,0 +1,20 @@ +# dotnet add reference + +> Add .NET project-to-project references. +> More information: . + +- Add a reference to the project in the current directory: + +`dotnet add reference {{path/to/reference.csproj}}` + +- Add multiple references to the project in the current directory: + +`dotnet add reference {{path/to/reference1.csproj path/to/reference2.csproj ...}}` + +- Add a reference to the specific project: + +`dotnet add {{path/to/project.csproj}} reference {{path/to/reference.csproj}}` + +- Add multiple references to the specific project: + +`dotnet add {{path/to/project.csproj}} reference {{path/to/reference1.csproj path/to/reference2.csproj ...}}` diff --git a/pages/common/dotnet-build.md b/pages/common/dotnet-build.md index ab5bec479c724a..a7df22723816f9 100644 --- a/pages/common/dotnet-build.md +++ b/pages/common/dotnet-build.md @@ -1,7 +1,7 @@ # dotnet build > Builds a .NET application and its dependencies. -> More information: . +> More information: . - Compile the project or solution in the current directory: @@ -13,7 +13,7 @@ - Compile in release mode: -`dotnet build --configuration {{Release}}` +`dotnet build {{[-c|--configuration]}} {{Release}}` - Compile without restoring dependencies: @@ -21,12 +21,12 @@ - Compile with a specific verbosity level: -`dotnet build --verbosity {{quiet|minimal|normal|detailed|diagnostic}}` +`dotnet build {{[-v|--verbosity]}} {{quiet|minimal|normal|detailed|diagnostic}}` - Compile for a specific runtime: -`dotnet build --runtime {{runtime_identifier}}` +`dotnet build {{[-r|--runtime]}} {{runtime_identifier}}` - Specify the output directory: -`dotnet build --output {{path/to/directory}}` +`dotnet build {{[-o|--output]}} {{path/to/directory}}` diff --git a/pages/common/dotnet-ef.md b/pages/common/dotnet-ef.md new file mode 100644 index 00000000000000..7b4fd6165ab39a --- /dev/null +++ b/pages/common/dotnet-ef.md @@ -0,0 +1,36 @@ +# dotnet ef + +> Perform design-time development tasks for Entity Framework Core. +> More information: . + +- Update the database to a specified migration: + +`dotnet ef database update {{migration}}` + +- Drop the database: + +`dotnet ef database drop` + +- List available `DbContext` types: + +`dotnet ef dbcontext list` + +- Generate code for a `DbContext` and entity types for a database: + +`dotnet ef dbcontext scaffold {{connection_string}} {{provider}}` + +- Add a new migration: + +`dotnet ef migrations add {{name}}` + +- Remove the last migration, rolling back the code changes that were done for the latest migration: + +`dotnet ef migrations remove` + +- List available migrations: + +`dotnet ef migrations list` + +- Generate an SQL script from migrations range: + +`dotnet ef migrations script {{from_migration}} {{to_migration}}` diff --git a/pages/common/dotnet-publish.md b/pages/common/dotnet-publish.md index 52604f1e95eb32..3236ec28d27b79 100644 --- a/pages/common/dotnet-publish.md +++ b/pages/common/dotnet-publish.md @@ -1,23 +1,23 @@ # dotnet publish > Publish a .NET application and its dependencies to a directory for deployment to a hosting system. -> More information: . +> More information: . - Compile a .NET project in release mode: -`dotnet publish --configuration Release {{path/to/project_file}}` +`dotnet publish {{[-c|--configuration]}} Release {{path/to/project_file}}` - Publish the .NET Core runtime with your application for the specified runtime: -`dotnet publish --self-contained true --runtime {{runtime_identifier}} {{path/to/project_file}}` +`dotnet publish {{[-sc|--self-contained]}} true {{[-r|--runtime]}} {{runtime_identifier}} {{path/to/project_file}}` - Package the application into a platform-specific single-file executable: -`dotnet publish --runtime {{runtime_identifier}} -p:PublishSingleFile=true {{path/to/project_file}}` +`dotnet publish {{[-r|--runtime]}} {{runtime_identifier}} -p:PublishSingleFile=true {{path/to/project_file}}` - Trim unused libraries to reduce the deployment size of an application: -`dotnet publish --self-contained true --runtime {{runtime_identifier}} -p:PublishTrimmed=true {{path/to/project_file}}` +`dotnet publish {{[-sc|--self-contained]}} true {{[-r|--runtime]}} {{runtime_identifier}} -p:PublishTrimmed=true {{path/to/project_file}}` - Compile a .NET project without restoring dependencies: @@ -25,4 +25,4 @@ - Specify the output directory: -`dotnet publish --output {{path/to/directory}} {{path/to/project_file}}` +`dotnet publish {{[-o|--output]}} {{path/to/directory}} {{path/to/project_file}}` diff --git a/pages/common/dotnet-restore.md b/pages/common/dotnet-restore.md index 4f8bc6b5152be1..08be0a3b0fbdcd 100644 --- a/pages/common/dotnet-restore.md +++ b/pages/common/dotnet-restore.md @@ -1,7 +1,7 @@ # dotnet restore > Restores the dependencies and tools of a .NET project. -> More information: . +> More information: . - Restore dependencies for a .NET project or solution in the current directory: @@ -25,4 +25,4 @@ - Restore dependencies with a specific verbosity level: -`dotnet restore --verbosity {{quiet|minimal|normal|detailed|diagnostic}}` +`dotnet restore {{[-v|--verbosity]}} {{quiet|minimal|normal|detailed|diagnostic}}` diff --git a/pages/common/dotnet-run.md b/pages/common/dotnet-run.md new file mode 100644 index 00000000000000..439b3ccce889ea --- /dev/null +++ b/pages/common/dotnet-run.md @@ -0,0 +1,24 @@ +# dotnet run + +> Run a .NET application without explicit compile or launch commands. +> More information: . + +- Run the project in the current directory: + +`dotnet run` + +- Run a specific project: + +`dotnet run --project {{path/to/file.csproj}}` + +- Run the project with specific arguments: + +`dotnet run -- {{arg1=foo arg2=bar ...}}` + +- Run the project using a target framework moniker: + +`dotnet run {{[-f|--framework]}} {{net7.0}}` + +- Specify architecture and OS, available since .NET 6 (Don't use `--runtime` with these options): + +`dotnet run {{[-a|--arch]}} {{x86|x64|arm|arm64}} --os {{win|win7|osx|linux|ios|android}}` diff --git a/pages/common/dotnet-test.md b/pages/common/dotnet-test.md new file mode 100644 index 00000000000000..21aa4e3757f96f --- /dev/null +++ b/pages/common/dotnet-test.md @@ -0,0 +1,17 @@ +# dotnet test + +> Execute tests for a .NET application. +> Note: View for supported filter expressions. +> More information: . + +- Execute tests for a .NET project/solution in the current directory: + +`dotnet test` + +- Execute tests for a .NET project/solution in a specific location: + +`dotnet test {{path/to/project_or_solution}}` + +- Execute tests matching the given filter expression: + +`dotnet test --filter {{Name~TestMethod1}}` diff --git a/pages/common/dotnet-tool.md b/pages/common/dotnet-tool.md new file mode 100644 index 00000000000000..fed2108c115bbd --- /dev/null +++ b/pages/common/dotnet-tool.md @@ -0,0 +1,32 @@ +# dotnet tool + +> Manage .NET tools and search published tools in NuGet. +> More information: . + +- Install a global tool (don't use `--global` for local tools): + +`dotnet tool install {{[-g|--global]}} {{dotnetsay}}` + +- Install tools defined in the local tool manifest: + +`dotnet tool restore` + +- Update a specific global tool (don't use `--global` for local tools): + +`dotnet tool update {{[-g|--global]}} {{tool_name}}` + +- Uninstall a global tool (don't use `--global` for local tools): + +`dotnet tool uninstall {{[-g|--global]}} {{tool_name}}` + +- List installed global tools (don't use `--global` for local tools): + +`dotnet tool list {{[-g|--global]}}` + +- Search tools in NuGet: + +`dotnet tool search {{search_term}}` + +- Display help: + +`dotnet tool {{[-h|--help]}}` diff --git a/pages/common/dotnet.md b/pages/common/dotnet.md index d2f1bf5f4ca02b..0592caa8fe4e81 100644 --- a/pages/common/dotnet.md +++ b/pages/common/dotnet.md @@ -1,13 +1,14 @@ # dotnet -> Cross platform .NET command line tools for .NET Core. -> More information: . +> Cross platform .NET tools for .NET Core. +> Some subcommands such as `build` have their own usage documentation. +> More information: . - Initialize a new .NET project: `dotnet new {{template_short_name}}` -- Restore nuget packages: +- Restore NuGet packages: `dotnet restore` diff --git a/pages/common/doxygen.md b/pages/common/doxygen.md index c9c586cc557b20..b296e9e8741fc8 100644 --- a/pages/common/doxygen.md +++ b/pages/common/doxygen.md @@ -1,9 +1,13 @@ # doxygen > A documentation system for various programming languages. -> More information: . +> More information: . -- Generate a default template configuration file "Doxyfile": +- Generate documentation, using `Doxyfile` as configuration file if it exists: + +`doxygen` + +- Generate a default template configuration file `Doxyfile`: `doxygen -g` diff --git a/pages/common/drill.md b/pages/common/drill.md index 0d320c23f4fe41..7ed4ea4fe5d6ca 100644 --- a/pages/common/drill.md +++ b/pages/common/drill.md @@ -1,6 +1,7 @@ # drill > Perform various DNS queries. +> More information: . - Lookup the IP(s) associated with a hostname (A records): diff --git a/pages/common/dropdb.md b/pages/common/dropdb.md new file mode 100644 index 00000000000000..8671e1d7e4030a --- /dev/null +++ b/pages/common/dropdb.md @@ -0,0 +1,37 @@ +# dropdb + +> Remove a PostgreSQL database. +> A simple wrapper around the SQL command `DROP DATABASE`. +> More information: . + +- Destroy a database: + +`dropdb {{database_name}}` + +- Request a verification prompt before any destructive actions: + +`dropdb {{[-i|--interactive]}} {{database_name}}` + +- Connect with a specific username and destroy a database: + +`dropdb {{[-U|--username]}} {{username}} {{database_name}}` + +- Force a password prompt before connecting to the database: + +`dropdb {{[-W|--password]}} {{database_name}}` + +- Suppress a password prompt before connecting to the database: + +`dropdb {{[-w|--no-password]}} {{database_name}}` + +- Specify the server host name: + +`dropdb {{[-h|--host]}} {{host}} {{database_name}}` + +- Specify the server port: + +`dropdb {{[-p|--port]}} {{port}} {{database_name}}` + +- Attempt to terminate existing connections before destroying the database: + +`dropdb {{[-f|--force]}} {{database_name}}` diff --git a/pages/common/dropuser.md b/pages/common/dropuser.md new file mode 100644 index 00000000000000..00d5d76a760cd5 --- /dev/null +++ b/pages/common/dropuser.md @@ -0,0 +1,24 @@ +# dropuser + +> Remove an existing PostgreSQL user (role). +> More information: . + +- Prompt for confirmation and the username before user removal: + +`dropuser {{[-i|--interactive]}}` + +- Remove user instantly: + +`dropuser {{username}}` + +- No error if the user to be removed doesn't exist: + +`dropuser --if-exists {{username}}` + +- Remove a user on the server with address 127.0.0.1 on port 4321: + +`dropuser {{[-h|--host]}} 127.0.0.1 {{[-p|--port]}} 4321 {{username}}` + +- Remove a user on the server with address 127.0.0.1 on port 4321 as user "admin" : + +`dropuser {{[-U|--username]}} admin {{[-h|--host]}} 127.0.0.1 {{[-p|--port]}} 4321 {{username}}` diff --git a/pages/common/drupal-check.md b/pages/common/drupal-check.md index 9cc1dde9e5636b..2a964460eb4013 100644 --- a/pages/common/drupal-check.md +++ b/pages/common/drupal-check.md @@ -1,7 +1,7 @@ # drupal-check > Check Drupal PHP code for deprecations. -> More information: . +> More information: . - Check the code in a specific directory for deprecations: @@ -9,7 +9,7 @@ - Check the code excluding a comma-separated list of directories: -`drupal-check --exclude-dir {{path/to/excluded_directory}},{{path/to/excluded_files/*.php}} {{path/to/directory}}` +`drupal-check {{[-e|--exclude-dir]}} {{path/to/excluded_directory}},{{path/to/excluded_files/*.php}} {{path/to/directory}}` - Don't show a progress bar: @@ -17,4 +17,4 @@ - Perform static analysis to detect bad coding practices: -`drupal-check --analysis {{path/to/directory}}` +`drupal-check {{[-a|--analysis]}} {{path/to/directory}}` diff --git a/pages/common/drupal.md b/pages/common/drupal.md index 7a39aa8a99af5e..f4d455bcc4bb39 100644 --- a/pages/common/drupal.md +++ b/pages/common/drupal.md @@ -1,7 +1,7 @@ # drupal -> CLI for Drupal. -> Generates boilerplate code, interacts with and debugs Drupal projects. +> Generate boilerplate code, interact with and debug Drupal projects. +> Some subcommands such as `check` have their own usage documentation. > More information: . - Install a module: diff --git a/pages/common/drush.md b/pages/common/drush.md index 2365444f37e50f..8a5233cb7789f4 100644 --- a/pages/common/drush.md +++ b/pages/common/drush.md @@ -1,7 +1,7 @@ # drush -> A command-line shell and scripting interface for Drupal. -> More information: . +> Shell and scripting interface for Drupal. +> More information: . - Enable module "foo": diff --git a/pages/common/dtc.md b/pages/common/dtc.md new file mode 100644 index 00000000000000..ca214ad5a850ac --- /dev/null +++ b/pages/common/dtc.md @@ -0,0 +1,20 @@ +# dtc + +> The Device Tree Compiler, a tool for recompiling device trees between formats. +> More information: . + +- Compile a device tree source `.dts` file into a binary device tree blob `.dtb` file: + +`dtc -I dts -O dtb -o {{path/to/output_file.dtb}} {{path/to/input_file.dts}}` + +- Compile a device tree source `.dts` file into a binary device tree blob overlay `.dtbo` file: + +`dtc -@ -I dts -O dtb -o {{path/to/output_file.dtbo}} {{path/to/input_file.dts}}` + +- Decompile a device tree blob `.dtb` file into a readable device tree source `.dts` file: + +`dtc -I dtb -O dts -o {{path/to/output_file.dts}} {{path/to/input_file.dtb}}` + +- Decompile the current device tree from the system into a readable device tree source `.dts` file: + +`dtc -I fs -O dts /proc/device-tree` diff --git a/pages/common/dtrx.md b/pages/common/dtrx.md new file mode 100644 index 00000000000000..d2c63a28a59ae3 --- /dev/null +++ b/pages/common/dtrx.md @@ -0,0 +1,16 @@ +# dtrx + +> "Do The Right eXtraction" - extract any archive into new directory by guessing the tool from extension. +> More information: . + +- Extract archive, guessing the extraction tool from extension: + +`dtrx {{path/to/file}}` + +- Extract archive, overwrite any existing target output: + +`dtrx --overwrite {{path/to/file}}` + +- Extract archive, put everything into current directory: + +`dtrx --flat {{path/to/file}}` diff --git a/pages/common/du.md b/pages/common/du.md index 43da7b768b15c9..b438c9df273691 100644 --- a/pages/common/du.md +++ b/pages/common/du.md @@ -1,27 +1,32 @@ # du > Disk usage: estimate and summarize file and directory space usage. +> More information: . -- List the sizes of a directory and any subdirectories, in the given unit (B/KB/MB): +- List the sizes of a directory and any subdirectories, in the given unit (B/KiB/MiB): `du -{{b|k|m}} {{path/to/directory}}` - List the sizes of a directory and any subdirectories, in human-readable form (i.e. auto-selecting the appropriate unit for each size): -`du -h {{path/to/directory}}` +`du {{[-h|--human-readable]}} {{path/to/directory}}` -- Show the size of a single directory, in human readable units: +- Show the size of a single directory, in human-readable units: -`du -sh {{path/to/directory}}` +`du {{[-sh|--summarize --human-readable]}} {{path/to/directory}}` - List the human-readable sizes of a directory and of all the files and directories within it: -`du -ah {{path/to/directory}}` +`du {{[-ah|--all --human-readable]}} {{path/to/directory}}` - List the human-readable sizes of a directory and any subdirectories, up to N levels deep: -`du -h --max-depth=N {{path/to/directory}}` +`du {{[-h|--human-readable]}} {{[-d|--max-depth]}} N {{path/to/directory}}` -- List the human-readable size of all .jpg files in subdirectories of the current directory, and show a cumulative total at the end: +- List the human-readable size of all `.jpg` files in current directory, and show a cumulative total at the end: -`du -ch */*.jpg` +`du {{[-ch|--total --human-readable]}} {{./*.jpg}}` + +- List all files and directories (including hidden ones) above a certain threshold size (useful for investigating what is actually taking up the space): + +`du {{[-ah|--all --human-readable]}} {{[-t|--threshold]}} {{1G|1024M|1048576K}} .[^.]* *` diff --git a/pages/common/dua.md b/pages/common/dua.md index c369b5e6bf689e..f1c378046a5f88 100644 --- a/pages/common/dua.md +++ b/pages/common/dua.md @@ -1,6 +1,6 @@ # dua -> Dua (Disk Usage Analyzer) is a tool to conveniently learn about the usage of disk space of a given directory. +> Dua (Disk Usage Analyzer): get the disk space usage of a directory. > More information: . - Analyze specific directory: @@ -27,6 +27,6 @@ `dua --format {{metric|binary|bytes|GB|GiB|MB|MiB}}` -- Set the number of threads to be used: +- Use a specific number of threads (defaults to the process number of threads): `dua --threads {{count}}` diff --git a/pages/common/dub.md b/pages/common/dub.md new file mode 100644 index 00000000000000..2a95d14c0bca36 --- /dev/null +++ b/pages/common/dub.md @@ -0,0 +1,28 @@ +# dub + +> Package manager for D packages. +> More information: . + +- Interactively create a new D project: + +`dub init {{project_name}}` + +- Non-interactively create a new D project: + +`dub init {{project_name}} {{[-n|--non-interactive]}}` + +- Build and run a D project: + +`dub` + +- Install dependencies specified in a D project's `dub.json` or `dub.sdl` file: + +`dub fetch` + +- Update the dependencies in a D project: + +`dub upgrade` + +- Display help: + +`dub {{[-h|--help]}}` diff --git a/pages/common/duc.md b/pages/common/duc.md new file mode 100644 index 00000000000000..8f8258ad11f77a --- /dev/null +++ b/pages/common/duc.md @@ -0,0 +1,29 @@ +# duc + +> A collection of tools for indexing, inspecting, and visualizing disk usage. +> Duc maintains a database of accumulated sizes of directories of the file system, allowing queries in this database, or creating fancy graphs to show where data is. +> More information: . + +- Index the `/usr` directory, writing to the default database location `~/.duc.db`: + +`duc index {{/usr}}` + +- List all files and directories under `/usr/local`, showing relative file sizes in a graph: + +`duc ls {{[-Fg|--classify --graph]}} {{/usr/local}}` + +- List all files and directories under `/usr/local` using treeview recursively: + +`duc ls {{[-Fg|--classify --graph]}} {{[-R|--recursive]}} {{/usr/local}}` + +- Start the graphical interface to explore the file system using sunburst graphs: + +`duc gui {{/usr}}` + +- Run the ncurses console interface to explore the file system: + +`duc ui {{/usr}}` + +- Dump database info: + +`duc info` diff --git a/pages/common/duckdb.md b/pages/common/duckdb.md new file mode 100644 index 00000000000000..dfb31dc55ff0dc --- /dev/null +++ b/pages/common/duckdb.md @@ -0,0 +1,36 @@ +# duckdb + +> Client for DuckDB, an in-process analytical SQL engine. +> More information: . + +- Start an interactive shell with a transient in-memory database: + +`duckdb` + +- Start an interactive shell on a database file. If the file does not exist, a new database is created: + +`duckdb {{path/to/dbfile}}` + +- Query a CSV, JSON, or Parquet file using SQL: + +`duckdb -c "{{SELECT * FROM 'data_source.[csv|csv.gz|json|json.gz|parquet]'}}"` + +- Directly query a CSV, JSON, or Parquet file using the `file` view: + +`duckdb {{data_source.[csv|csv.gz|json|json.gz|parquet]}} -c "{{ SELECT * FROM file }}"` + +- Run an SQL script: + +`duckdb -f {{path/to/script.sql}}` + +- Run query on database file and keep the interactive shell open: + +`duckdb {{path/to/dbfile}} -cmd "{{SELECT DISTINCT * FROM tbl}}"` + +- Read CSV from `stdin` and write CSV to `stdout`: + +`cat {{path/to/source.csv}} | duckdb -c "{{COPY (FROM read_csv('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)}}"` + +- Start the DuckDB UI, a web interface with notebooks: + +`duckdb -ui` diff --git a/pages/common/duf.md b/pages/common/duf.md new file mode 100644 index 00000000000000..5e2479cbabf46b --- /dev/null +++ b/pages/common/duf.md @@ -0,0 +1,32 @@ +# duf + +> Disk Usage/Free Utility. +> More information: . + +- List accessible devices: + +`duf` + +- List everything (such as pseudo, duplicate or inaccessible file systems): + +`duf --all` + +- Only show specified devices or mount points: + +`duf {{path/to/directory1 path/to/directory2 ...}}` + +- Sort the output by a specified criteria: + +`duf --sort {{size|used|avail|usage}}` + +- Show or hide specific filesystems: + +`duf --{{only-fs|hide-fs}} {{tmpfs|vfat|ext4|xfs}}` + +- Sort the output by key: + +`duf --sort {{mountpoint|size|used|avail|usage|inodes|inodes_used|inodes_avail|inodes_usage|type|filesystem}}` + +- Change the theme (if `duf` fails to use the right theme): + +`duf --theme {{dark|light}}` diff --git a/pages/common/dumpcap.md b/pages/common/dumpcap.md new file mode 100644 index 00000000000000..99be5c825e25a0 --- /dev/null +++ b/pages/common/dumpcap.md @@ -0,0 +1,20 @@ +# dumpcap + +> A network traffic dump tool. +> More information: . + +- Display available interfaces: + +`dumpcap {{[-D|--list-interfaces]}}` + +- Capture packets on a specific interface: + +`dumpcap {{[-i|--interface]}} {{1}}` + +- Capture packets to a specific location: + +`dumpcap {{[-i|--interface]}} {{1}} -w {{path/to/output_file.pcapng}}` + +- Write to a ring buffer with a specific max file limit of a specific size: + +`dumpcap {{[-i|--interface]}} {{1}} -w {{path/to/output_file.pcapng}} {{[-b|--ring-buffer]}} filesize:{{500000}} {{[-b|--ring-buffer]}} files:{{10}}` diff --git a/pages/common/dune.md b/pages/common/dune.md new file mode 100644 index 00000000000000..25b89c696edb2f --- /dev/null +++ b/pages/common/dune.md @@ -0,0 +1,20 @@ +# dune + +> A build system for OCaml programs. +> More information: . + +- Build all targets: + +`dune build` + +- Clean up the workspace: + +`dune clean` + +- Run all tests: + +`dune runtest` + +- Start the utop REPL with compiled modules automatically loaded into it, to remove the need to load them by hand: + +`dune utop` diff --git a/pages/common/dunst.md b/pages/common/dunst.md new file mode 100644 index 00000000000000..e0a6bf0635f1e4 --- /dev/null +++ b/pages/common/dunst.md @@ -0,0 +1,21 @@ +# dunst + +> A lightweight and customizable notification daemon for X11 and Wayland. +> If not started manually, D-Bus will automatically start `dunst` when a notification is sent. +> More information: . + +- Start `dunst`: + +`dunst` + +- Display a notification on startup: + +`dunst -startup_notification` + +- Print incoming notifications to `stdout`: + +`dunst -print` + +- Use the specified configuration file (default: `$XDG_CONFIG_HOME/dunst/dunstrc`): + +`dunst {{[-conf|-config]}} {{path/to/file}}` diff --git a/pages/common/dunstctl.md b/pages/common/dunstctl.md new file mode 100644 index 00000000000000..efc1150ae5dbe6 --- /dev/null +++ b/pages/common/dunstctl.md @@ -0,0 +1,28 @@ +# dunstctl + +> Control the `dunst` notification daemon. +> More information: . + +- Pause/Unpause/Toggle desktop notifications: + +`dunstctl set-paused {{true|false|toggle}}` + +- Close all notifications: + +`dunstctl close-all` + +- Delete all notifications from history: + +`dunstctl history-clear` + +- Display the latest notification from history: + +`dunstctl history-pop` + +- Reload the configuration file: + +`dunstctl reload` + +- Display help: + +`dunstctl {{[-h|--help]}}` diff --git a/pages/common/dunstify.md b/pages/common/dunstify.md new file mode 100644 index 00000000000000..965e33ee819675 --- /dev/null +++ b/pages/common/dunstify.md @@ -0,0 +1,21 @@ +# dunstify + +> A notification tool that is an extension of `notify-send`, but has more features based around `dunst`. +> Accepts all options of `notify-send`. +> More information: . + +- Show a notification with a given title and message: + +`dunstify "{{Title}}" "{{Message}}"` + +- Show a notification with the specified urgency: + +`dunstify "{{Title}}" "{{Message}}" {{[-u|--urgency]}} {{low|normal|critical}}` + +- Specify a message ID (overwrites any previous messages with the same ID): + +`dunstify "{{Title}}" "{{Message}}" {{[-r|--replace]}} {{123}}` + +- Display help: + +`dunstify {{[-?|--help]}}` diff --git a/pages/common/duplicacy.md b/pages/common/duplicacy.md new file mode 100644 index 00000000000000..97fc811633b0a5 --- /dev/null +++ b/pages/common/duplicacy.md @@ -0,0 +1,36 @@ +# duplicacy + +> A lock-free deduplication cloud backup tool. +> More information: . + +- Use current directory as the repository, initialize a SFTP storage and encrypt the storage with a password: + +`duplicacy init {{[-e|-encrypt]}} {{snapshot_id}} {{sftp://user@192.168.2.100/path/to/storage/}}` + +- Save a snapshot of the repository to the default storage: + +`duplicacy backup` + +- List snapshots of current repository: + +`duplicacy list` + +- Restore the repository to a previously saved snapshot: + +`duplicacy restore -r {{revision}}` + +- Check the integrity of snapshots: + +`duplicacy check` + +- Add another storage to be used for the existing repository: + +`duplicacy add {{storage_name}} {{snapshot_id}} {{storage_url}}` + +- Prune a specific revision of snapshot: + +`duplicacy prune -r {{revision}}` + +- Prune revisions, keeping one revision every `n` days for all revisions older than `m` days: + +`duplicacy prune -keep {{n:m}}` diff --git a/pages/common/duplicity.md b/pages/common/duplicity.md index 0dfde760116c25..84e2508d7d543e 100644 --- a/pages/common/duplicity.md +++ b/pages/common/duplicity.md @@ -1,8 +1,9 @@ # duplicity -> Creates incremental, compressed, encrypted and versioned backups. +> Create incremental, compressed, encrypted and versioned backups. > Can also upload the backups to a variety of backend services. -> More information: . +> It is worth mentioning that depending on the version, some options may not be available (e.g. `--gio` in 2.0.0). +> More information: . - Backup a directory via FTPS to a remote machine, encrypting it with a password: @@ -10,20 +11,20 @@ - Backup a directory to Amazon S3, doing a full backup every month: -`duplicity --full-if-older-than {{1M}} --use-new-style s3://{{bucket_name[/prefix]}}` +`duplicity --full-if-older-than {{1M}} s3://{{bucket_name[/prefix]}}` - Delete versions older than 1 year from a backup stored on a WebDAV share: -`FTP_PASSWORD={{webdav_login_password}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://user@hostname[:port]/some_dir}}` +`FTP_PASSWORD={{webdav_login_password}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://user@hostname[:port]/some_directory}}` - List the available backups: `duplicity collection-status "file://{{absolute/path/to/backup/directory}}"` -- List the files in a backup stored on a remote machine, via ssh: +- List the files in a backup stored on a remote machine, via SSH: -`duplicity list-current-files --time {{YYYY-MM-DD}} scp://{{user@hostname}}/path/to/backup/dir` +`duplicity list-current-files {{[-t|--time]}} {{YYYY-MM-DD}} scp://{{user@hostname}}/{{path/to/backup_directory}}` - Restore a subdirectory from a GnuPG-encrypted local backup to a given location: -`PASSPHRASE={{gpg_key_password}} duplicity restore --encrypt-key {{gpg_key_id}} --file-to-restore {{relative/path/restoredirectory}} file://{{absolute/path/to/backup/directory}} {{path/to/directory/to/restore/to}}` +`PASSPHRASE={{gpg_key_password}} duplicity restore --encrypt-key {{gpg_key_id}} --path-to-restore {{relative/path/restoredirectory}} file://{{absolute/path/to/backup/directory}} {{path/to/directory/to/restore/to}}` diff --git a/pages/common/dust.md b/pages/common/dust.md index ebf41ceea3daa6..354e4de53117e0 100644 --- a/pages/common/dust.md +++ b/pages/common/dust.md @@ -1,32 +1,33 @@ # dust -> Dust gives an instant overview of which directories are using disk space. -> More information: . +> Give an instant overview of which directories are using disk space. +> See also: `du`, `ncdu`. +> More information: . - Display information for the current directory: `dust` -- Display information for a space-separated list of directories: +- Display information about one or more directories: -`dust {{path/to/directory1}} {{path/to/directory2}}` +`dust {{path/to/directory1 path/to/directory2 ...}}` - Display 30 directories (defaults to 21): -`dust --number-of-lines {{30}}` +`dust {{[-n|--number-of-lines]}} 30` - Display information for the current directory, up to 3 levels deep: -`dust --depth {{3}}` +`dust {{[-d|--depth]}} 3` -- Display the biggest directories at the top in descending order: +- Display the largest directories at the top in descending order: -`dust --reverse` +`dust {{[-r|--reverse]}}` -- Ignore all files and directories with a specific name: +- Ignore a file or directory: -`dust --ignore-directory {{file_or_directory_name}}` +`dust {{[-X|--ignore-directory]}} {{path/to/file_or_directory}}` - Do not display percent bars and percentages: -`dust --no-percent-bars` +`dust {{[-b|--no-percent-bars]}}` diff --git a/pages/common/dvc-checkout.md b/pages/common/dvc-checkout.md index 22d7299e8e10b3..625bc39d0a858f 100644 --- a/pages/common/dvc-checkout.md +++ b/pages/common/dvc-checkout.md @@ -7,7 +7,7 @@ `dvc checkout` -- Checkout to latest version of a specified target: +- Checkout the latest version of a specified target: `dvc checkout {{target}}` diff --git a/pages/common/dvc-commit.md b/pages/common/dvc-commit.md index c96d55b3053069..8fbe9e6aa17a9c 100644 --- a/pages/common/dvc-commit.md +++ b/pages/common/dvc-commit.md @@ -13,4 +13,4 @@ - Recursively commit all DVC-tracked files in a directory: -`dvc commit --recursive {{path/to/directory}}` +`dvc commit {{[-R|--recursive]}} {{path/to/directory}}` diff --git a/pages/common/dvc-config.md b/pages/common/dvc-config.md index 19a5ed5a787877..03937650c4e9be 100644 --- a/pages/common/dvc-config.md +++ b/pages/common/dvc-config.md @@ -14,20 +14,20 @@ - Unset the project's default remote: -`dvc config --unset core.remote` +`dvc config {{[-u|--unset]}} core.remote` -- Get the config value for a specified key for the current project: +- Get the configuration value for a specified key for the current project: `dvc config {{key}}` -- Set the config value for a key on a project level: +- Set the configuration value for a key on a project level: `dvc config {{key}} {{value}}` -- Unset a project level config value for a given key: +- Unset a project level configuration value for a given key: -`dvc config --unset {{key}}` +`dvc config {{[-u|--unset]}} {{key}}` -- Set a local, global, or system level config value: +- Set a local, global, or system level configuration value: -`dvc config --local/global/system {{key}} {{value}}` +`dvc config --{{local|global|system}} {{key}} {{value}}` diff --git a/pages/common/dvc-destroy.md b/pages/common/dvc-destroy.md index f098c01f759d91..1615dc776b396c 100644 --- a/pages/common/dvc-destroy.md +++ b/pages/common/dvc-destroy.md @@ -9,4 +9,4 @@ - Force destroy the current project: -`dvc destroy --force` +`dvc destroy {{[-f|--force]}}` diff --git a/pages/common/dvc-diff.md b/pages/common/dvc-diff.md index 54048f4b5b0802..eee9a648320de9 100644 --- a/pages/common/dvc-diff.md +++ b/pages/common/dvc-diff.md @@ -9,7 +9,7 @@ - Compare the changes in DVC tracked files from 1 Git commit to another: -`dvc diff {{revision_b}} {{revision_a}}` +`dvc diff {{revision1}} {{revision2}}` - Compare DVC tracked files, along with their latest hash: diff --git a/pages/common/dvc-fetch.md b/pages/common/dvc-fetch.md index bdf74ac6044e09..524c544bb25f98 100644 --- a/pages/common/dvc-fetch.md +++ b/pages/common/dvc-fetch.md @@ -9,7 +9,7 @@ - Fetch changes from a specific remote upstream repository: -`dvc fetch --remote {{remote_name}}` +`dvc fetch {{[-r|--remote]}} {{remote_name}}` - Fetch the latest changes for a specific target/s: @@ -17,8 +17,8 @@ - Fetch changes for all branch and tags: -`dvc fetch --all-branches --all-tags` +`dvc fetch {{[-a|--all-branches]}} {{[-T|--all-tags]}}` - Fetch changes for all commits: -`dvc fetch --all-commits` +`dvc fetch {{[-A|--all-commits]}}` diff --git a/pages/common/dvc-freeze.md b/pages/common/dvc-freeze.md index d29658dc3e55c8..a6868db8ac7f5e 100644 --- a/pages/common/dvc-freeze.md +++ b/pages/common/dvc-freeze.md @@ -2,9 +2,9 @@ > Freeze stages in the DVC pipeline. > This prevents DVC from tracking changes in stage dependencies and re-execution until unfreeze. -> See also `dvs unfreeze`. +> See also: `dvs unfreeze`. > More information: . -- Freeze 1 or more specified stages: +- Freeze one or more specified stages: -`dvc freeze {{stage_name_a}} [{{stage_name_b}} ...]` +`dvc freeze {{stage_name1 stage_name2 ...}}` diff --git a/pages/common/dvc-gc.md b/pages/common/dvc-gc.md index e520842ce9d67d..f3886429715eaa 100644 --- a/pages/common/dvc-gc.md +++ b/pages/common/dvc-gc.md @@ -5,16 +5,16 @@ - Garbage collect from the cache, keeping only versions referenced by the current workspace: -`dvc gc --workspace` +`dvc gc {{[-w|--workspace]}}` - Garbage collect from the cache, keeping only versions referenced by branch, tags, and commits: -`dvc gc --all-branches --all-tags --all-commits` +`dvc gc {{[-a|--all-branches]}} {{[-T|--all-tags]}} {{[-a|--all-commits]}}` - Garbage collect from the cache, including the default cloud remote storage (if set): -`dvc gc --all-commits --cloud` +`dvc gc {{[-a|--all-commits]}} {{[-c|--cloud]}}` - Garbage collect from the cache, including a specific cloud remote storage: -`dvc gc --all-commits --cloud --remote {{remote_name}}` +`dvc gc {{[-a|--all-commits]}} {{[-c|--cloud]}} {{[-r|--remote]}} {{remote_name}}` diff --git a/pages/common/dvc-init.md b/pages/common/dvc-init.md index daef9641179301..22f064df2e47ca 100644 --- a/pages/common/dvc-init.md +++ b/pages/common/dvc-init.md @@ -13,4 +13,4 @@ - Initialize DVC in a subdirectory: -`cd {{path/to/subdir}} && dvc init --sudir` +`cd {{path/to/subdirectory}} && dvc init --sudir` diff --git a/pages/common/dvc-unfreeze.md b/pages/common/dvc-unfreeze.md index 575a9900de7c80..6ff2d1a78e8b1f 100644 --- a/pages/common/dvc-unfreeze.md +++ b/pages/common/dvc-unfreeze.md @@ -2,9 +2,9 @@ > Unfreeze stages in the DVC pipeline. > This allows DVC to start tracking changes in stage dependencies again after they were frozen. -> See also `dvc freeze`. +> See also: `dvc freeze`. > More information: . -- Unfreeze 1 or more specified stages: +- Unfreeze one or more specified stages: -`dvc unfreeze {{stage_name_a}} [{{stage_name_b}} ...]` +`dvc unfreeze {{stage_name1 stage_name2 ...}}` diff --git a/pages/common/dvc.md b/pages/common/dvc.md index 0ddedd8f1c0cf6..82ed726234b26e 100644 --- a/pages/common/dvc.md +++ b/pages/common/dvc.md @@ -1,20 +1,21 @@ # dvc > Data Version Control: like `git` for data. -> More information: . +> Some subcommands such as `commit` have their own usage documentation. +> More information: . -- Check the DVC version: +- Execute a DVC subcommand: -`dvc --version` +`dvc {{subcommand}}` -- Display general help: +- Display help: -`dvc --help` +`dvc {{[-h|--help]}}` - Display help about a specific subcommand: -`dvc {{subcommand}} --help` +`dvc {{subcommand}} {{[-h|--help]}}` -- Execute a DVC subcommand: +- Display version: -`dvc {{subcommand}}` +`dvc --version` diff --git a/pages/common/dwebp.md b/pages/common/dwebp.md new file mode 100644 index 00000000000000..0dd93302876057 --- /dev/null +++ b/pages/common/dwebp.md @@ -0,0 +1,29 @@ +# dwebp + +> `dwebp` decompresses WebP files into PNG, PAM, PPM or PGM images. +> Animated WebP files are not supported. +> More information: . + +- Convert a WebP file into a PNG file: + +`dwebp {{path/to/input.webp}} -o {{path/to/output.png}}` + +- Convert a WebP file into a specific filetype: + +`dwebp {{path/to/input.webp}} -bmp|-tiff|-pam|-ppm|-pgm|-yuv -o {{path/to/output}}` + +- Convert a WebP file, using multi-threading if possible: + +`dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -mt` + +- Convert a WebP file, but also crop and scale at the same time: + +`dwebp {{input.webp}} -o {{output.png}} -crop {{x_pos}} {{y_pos}} {{width}} {{height}} -scale {{width}} {{height}}` + +- Convert a WebP file and flip the output: + +`dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -flip` + +- Convert a WebP file and don't use in-loop filtering to speed up the decoding process: + +`dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -nofilter` diff --git a/pages/common/ebook-convert.md b/pages/common/ebook-convert.md index 7e0900f96ddcce..ecaeb2214b6d0f 100644 --- a/pages/common/ebook-convert.md +++ b/pages/common/ebook-convert.md @@ -1,13 +1,13 @@ # ebook-convert -> Can be used to convert ebooks between common formats, e.g., pdf, epub and mobi. -> Part of the Calibre ebook library tool. +> Can be used to convert e-books between common formats, e.g. PDF, EPUB and MOBI. +> Part of the Calibre e-book library tool. > More information: . -- Convert an ebook into another format: +- Convert an e-book into another format: -`ebook-convert {{source}} {{destination}}` +`ebook-convert {{path/to/input_file}} {{output_file}}` -- Convert Markdown or HTML to ebook with TOC, title and author: +- Convert Markdown or HTML to e-book with TOC, title and author: -`ebook-convert {{source}} {{destination}} --level1-toc="//h:h1" --level2-toc="//h:h2" --level3-toc="//h:h3" --title={{title}} --authors={{author}}` +`ebook-convert {{path/to/input_file}} {{output_file}} --level1-toc="//h:h1" --level2-toc="//h:h2" --level3-toc="//h:h3" --title={{title}} --authors={{author}}` diff --git a/pages/common/echo.md b/pages/common/echo.md index a758600a71b8d4..b630b2c0afe4d1 100644 --- a/pages/common/echo.md +++ b/pages/common/echo.md @@ -1,8 +1,10 @@ # echo > Print given arguments. +> See also: `printf`. +> More information: . -- Print a text message. Note: quotes are optional: +- Print a text message. Note: Quotes are optional: `echo "{{Hello World}}"` @@ -21,3 +23,7 @@ - Enable interpretation of backslash escapes (special characters): `echo -e "{{Column 1\tColumn 2}}"` + +- Print the exit status of the last executed command (Note: In Windows Command Prompt and PowerShell the equivalent commands are `echo %errorlevel%` and `$lastexitcode` respectively): + +`echo $?` diff --git a/pages/common/ect.md b/pages/common/ect.md index ff77d9ed6a8f7e..57c1c110388de9 100644 --- a/pages/common/ect.md +++ b/pages/common/ect.md @@ -1,16 +1,25 @@ # ect -> Efficient Compression Tool (or ECT) is a C++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files. +> Efficient Compression Tool. +> File optimizer written in C++. It supports PNG, JPEG, gzip and Zip files. > More information: . - Compress a file: -`ect {{filename.png}}` +`ect {{path/to/file.png}}` -- Compress a file with the highest compression level and multithreading: +- Compress a file with specified compression level and multithreading (1=Fastest (Worst), 9=Slowest (Best), default is 3): -`ect -9 --mt-deflate {{filename.png}}` +`ect -{{9}} --mt-deflate {{path/to/file.zip}}` -- Compress all the files in a directory recursively, keeping the original modification time: +- Compress all files in a directory recursively: -`ect -keep -recurse {{directory}}` +`ect -recurse {{path/to/directory}}` + +- Compress a file, keeping the original modification time: + +`ect -keep {{path/to/file.png}}` + +- Compress a file, stripping metadata: + +`ect -strip {{path/to/file.png}}` diff --git a/pages/common/ed.md b/pages/common/ed.md index f5c14ac9b4eee4..122897b3c31f9a 100644 --- a/pages/common/ed.md +++ b/pages/common/ed.md @@ -1,35 +1,37 @@ # ed > The original Unix text editor. +> See also: `awk`, `sed`. +> More information: . -- Start ed, editing an empty document (which can be saved as a new file in the current directory): +- Start an interactive editor session with an empty document: `ed` -- Start ed, editing an empty document, with `:` as a command prompt indicator: +- Start an interactive editor session with an empty document and a specific prompt: -`ed -p :` +`ed {{[-p|--prompt]}} '{{> }}'` -- Start ed editing an existing file (this shows the byte count of the loaded file): +- Start an interactive editor session with user-friendly errors: -`ed -p : {{path/to/file}}` +`ed {{[-v|--verbose]}}` -- Toggle the printing of error explanations. (By default, explanations are not printed and only a `?` appears): +- Start an interactive editor session with an empty document and without diagnostics, byte counts and '!' prompt: -`H` +`ed {{[-q|--quiet]}} {{[-s|--script]}}` -- Add text to the current document. Mark completion by entering a period by itself in a new line: +- Start an interactive editor session without exit status change when command fails: -`a{{text_to_insert}}.` +`ed {{[-l|--loose-exit-status]}}` -- Print the entire document (`,` is a shortcut to the range `1,$` which covers the start to the end of the document): +- Edit a specific file (this shows the byte count of the loaded file): -`,p` +`ed {{path/to/file}}` -- Write the current document to a new file (the filename can be omitted if `ed` was called with an existing file): +- Replace a string with a specific replacement for all lines: -`w {{filename}}` +`,s/{{regex}}/{{replacement}}/g` -- Quit ed: +- Exit `ed`: -`q` +`q` diff --git a/pages/common/edgepaint.md b/pages/common/edgepaint.md new file mode 100644 index 00000000000000..9e306eef248223 --- /dev/null +++ b/pages/common/edgepaint.md @@ -0,0 +1,21 @@ +# edgepaint + +> Colorize edges of a graph layout to clarify crossing edges. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Colorize edges of one or more graph layouts (that already have layout information) to clarify crossing edges: + +`edgepaint {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}` + +- Colorize edges using a color scheme. (See ): + +`edgepaint -color-scheme={{accent7}} {{path/to/layout.gv}} > {{path/to/output.gv}}` + +- Lay out a graph and colorize its edges, then convert to a PNG image: + +`dot {{path/to/input.gv}} | edgepaint | dot -T {{png}} > {{path/to/output.png}}` + +- Display help: + +`edgepaint -?` diff --git a/pages/common/eget.md b/pages/common/eget.md new file mode 100644 index 00000000000000..91a58011f82380 --- /dev/null +++ b/pages/common/eget.md @@ -0,0 +1,32 @@ +# eget + +> Easily install prebuilt binaries from GitHub. +> More information: . + +- Download a prebuilt binary for the current system from a repository on GitHub: + +`eget {{zyedidia/micro}}` + +- Download from a URL: + +`eget {{https://go.dev/dl/go1.17.5.linux-amd64.tar.gz}}` + +- Specify the location to place the downloaded files: + +`eget {{zyedidia/micro}} --to={{path/to/directory}}` + +- Specify a Git tag instead of using the latest version: + +`eget {{zyedidia/micro}} --tag={{v2.0.10}}` + +- Install the latest pre-release instead of the latest stable version: + +`eget {{zyedidia/micro}} --pre-release` + +- Only download the asset, skipping extraction: + +`eget {{zyedidia/micro}} --download-only` + +- Only download if there is a newer release then the currently downloaded version: + +`eget {{zyedidia/micro}} --upgrade-only` diff --git a/pages/common/egrep.md b/pages/common/egrep.md new file mode 100644 index 00000000000000..dc4a8c674c39fa --- /dev/null +++ b/pages/common/egrep.md @@ -0,0 +1,28 @@ +# egrep + +> Find patterns in files using extended `regex` (supports `?`, `+`, `{}`, `()`, and `|`). +> More information: . + +- Search for a pattern within a file: + +`egrep "{{search_pattern}}" {{path/to/file}}` + +- Search for a pattern within multiple files: + +`egrep "{{search_pattern}}" {{path/to/file1 path/to/file2 ...}}` + +- Search `stdin` for a pattern: + +`cat {{path/to/file}} | egrep {{search_pattern}}` + +- Print file name and line number for each match: + +`egrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file}}` + +- Search for a pattern in all files recursively in a directory, ignoring binary files: + +`egrep {{[-r|--recursive]}} --binary-files={{without-match}} "{{search_pattern}}" {{path/to/directory}}` + +- Search for lines that do not match a pattern: + +`egrep {{[-v|--invert-match]}} "{{search_pattern}}" {{path/to/file}}` diff --git a/pages/common/eim.md b/pages/common/eim.md new file mode 100644 index 00000000000000..38c9ab8a6f24a0 --- /dev/null +++ b/pages/common/eim.md @@ -0,0 +1,36 @@ +# eim + +> Install and manage ESP-IDF. +> More information: . + +- Install the default (latest) ESP-IDF version in the default location (`C:\esp` on Windows and `~/.espressif` on POSIX systems): + +`eim install` + +- Install a specific ESP-IDF version: + +`eim install {{[-i|--idf-versions]}} {{v5.3.2}}` + +- Run the interactive, guided installation wizard: + +`eim wizard` + +- Install a specific version to a custom path, forcing interactive mode (to prompt for choices): + +`eim install {{[-i|--idf-versions]}} {{v5.3.2}} {{[-p|--path]}} {{/opt/esp-idf}} {{[-n|--non-interactive]}} false` + +- List all currently installed ESP-IDF versions: + +`eim list` + +- Remove a specific installed ESP-IDF version: + +`eim remove {{v5.3.2}}` + +- Install in headless mode using all options defined in a TOML configuration file: + +`eim install {{[-c|--config]}} {{path/to/config.toml}}` + +- Install offline using a pre-downloaded archive file: + +`eim install --use-local-archive {{path/to/archive.zst}}` diff --git a/pages/common/eksctl.md b/pages/common/eksctl.md new file mode 100644 index 00000000000000..1cfb31383caa1d --- /dev/null +++ b/pages/common/eksctl.md @@ -0,0 +1,36 @@ +# eksctl + +> The official CLI for Amazon EKS. +> More information: . + +- Create a basic cluster: + +`eksctl create cluster` + +- List the details about a cluster or all of the clusters: + +`eksctl get cluster --name={{name}} --region={{region}}` + +- Create a cluster passing all configuration information in a file: + +`eksctl create cluster --config-file={{path/to/file}}` + +- Create a cluster using a configuration file and skip creating nodegroups until later: + +`eksctl create cluster --config-file= --without-nodegroup` + +- Delete a cluster: + +`eksctl delete cluster --name={{name}} --region={{region}}` + +- Create cluster and write cluster credentials to a file other than the default: + +`eksctl create cluster --name={{name}} --nodes={{4}} --kubeconfig={{path/to/config.yaml}}` + +- Create a cluster and prevent storing cluster credentials locally: + +`eksctl create cluster --name={{name}} --nodes={{4}} --write-kubeconfig=false` + +- Create a cluster and let `eksctl` manage cluster credentials under the `~/.kube/eksctl/clusters` directory: + +`eksctl create cluster --name={{name}} --nodes={{4}} --auto-kubeconfig` diff --git a/pages/common/elasticsearch-certutil.md b/pages/common/elasticsearch-certutil.md new file mode 100644 index 00000000000000..a60958da1fc4fa --- /dev/null +++ b/pages/common/elasticsearch-certutil.md @@ -0,0 +1,36 @@ +# elasticsearch-certutil + +> Generate and manage SSL certificates for Elasticsearch security. +> More information: . + +- Generate a new Certificate Authority (CA) with default options: + +`elasticsearch-certutil ca` + +- Generate a new certificate using the built-in CA: + +`elasticsearch-certutil cert` + +- Generate certificates non-interactively and output PEM files: + +`elasticsearch-certutil cert {{[-s|--silent]}} --pem` + +- Generate HTTP certificates with the built-in CA: + +`elasticsearch-certutil http` + +- Generate transport certificates non-interactively: + +`elasticsearch-certutil transport {{[-s|--silent]}}` + +- Generate a certificate signing request (CSR): + +`elasticsearch-certutil csr` + +- Generate encrypted keystore passwords: + +`elasticsearch-certutil password` + +- Generate a keystore password with a specified value: + +`elasticsearch-certutil password --pass {{password}}` diff --git a/pages/common/elasticsearch-create-enrollment-token.md b/pages/common/elasticsearch-create-enrollment-token.md new file mode 100644 index 00000000000000..c52df27b23aa91 --- /dev/null +++ b/pages/common/elasticsearch-create-enrollment-token.md @@ -0,0 +1,24 @@ +# elasticsearch-create-enrollment-token + +> Create enrollment tokens for Elasticsearch nodes and Kibana instances. +> More information: . + +- Create an enrollment token for adding a new Elasticsearch node: + +`elasticsearch-create-enrollment-token {{[-s|--scope]}} node` + +- Create an enrollment token for adding a new Kibana instance: + +`elasticsearch-create-enrollment-token {{[-s|--scope]}} kibana` + +- Create an enrollment token and display verbose output: + +`elasticsearch-create-enrollment-token {{[-s|--scope]}} node --verbose` + +- Create an enrollment token for a Kibana instance with a custom Elasticsearch URL: + +`elasticsearch-create-enrollment-token {{[-s|--scope]}} kibana --url "{{IP}}"` + +- Display help: + +`elasticsearch-create-enrollment-token {{[-h|--help]}}` diff --git a/pages/common/elasticsearch-croneval.md b/pages/common/elasticsearch-croneval.md new file mode 100644 index 00000000000000..34b631cc1c551e --- /dev/null +++ b/pages/common/elasticsearch-croneval.md @@ -0,0 +1,24 @@ +# elasticsearch-croneval + +> Validates and evaluates a `cron` expression. This command helps verify that `cron` expressions are valid for use with Elasticsearch and produce the expected results. +> More information: . + +- Evaluate a `cron` expression and display the next 10 trigger times (default behavior): + +`elasticsearch-croneval "{{cron_expression}}"` + +- Evaluate a `cron` expression and display a specific number of future trigger times: + +`elasticsearch-croneval "{{cron_expression}}" {{[-c|--count]}} {{integer}}` + +- Display detailed information (including stack trace) for an invalid `cron` expression: + +`elasticsearch-croneval "{{invalid_cron_expression}}" {{[-d|--detail]}}` + +- Display minimal output (silent mode): + +`elasticsearch-croneval "{{cron_expression}}" {{[-s|--silent]}}` + +- Display verbose output: + +`elasticsearch-croneval "{{cron_expression}}" {{[-v|--verbose]}}` diff --git a/pages/common/elasticsearch-keystore.md b/pages/common/elasticsearch-keystore.md new file mode 100644 index 00000000000000..646dc4c4fee590 --- /dev/null +++ b/pages/common/elasticsearch-keystore.md @@ -0,0 +1,36 @@ +# elasticsearch-keystore + +> Manage secure settings (e.g., passwords, tokens, and credentials) used by Elasticsearch. +> More information: . + +- Create a new keystore (not password-protected): + +`elasticsearch-keystore create` + +- Create a new password-protected keystore: + +`elasticsearch-keystore create -p` + +- Add a setting interactively: + +`elasticsearch-keystore add {{setting_name}}` + +- Add a setting from standard input: + +`echo "{{setting_value}}" | elasticsearch-keystore add --stdin {{setting_name}}` + +- Remove a setting from the keystore: + +`elasticsearch-keystore remove {{setting_name}}` + +- Change the keystore password: + +`elasticsearch-keystore passwd` + +- List all settings stored in the keystore: + +`elasticsearch-keystore list` + +- Upgrade the keystore format (after an Elasticsearch upgrade): + +`elasticsearch-keystore upgrade` diff --git a/pages/common/elasticsearch-node.md b/pages/common/elasticsearch-node.md new file mode 100644 index 00000000000000..c3c9bfe8b49f89 --- /dev/null +++ b/pages/common/elasticsearch-node.md @@ -0,0 +1,28 @@ +# elasticsearch-node + +> Manage low-level Elasticsearch node operations such as shutdown, repurpose, or viewing info. +> More information: . + +- Display information about the current node: + +`elasticsearch-node info` + +- Prepare the node for a full cluster restart (e.g., after upgrading): + +`elasticsearch-node unsafe-bootstrap` + +- Repurpose a node for a different role (e.g., from master to data node): + +`elasticsearch-node repurpose` + +- List the roles assigned to the node: + +`elasticsearch-node roles` + +- Show the installed JVM version, Elasticsearch home path, and other diagnostic information: + +`elasticsearch-node diagnostics` + +- Display help: + +`elasticsearch-node {{[-h|--help]}}` diff --git a/pages/common/elasticsearch-reset-password.md b/pages/common/elasticsearch-reset-password.md new file mode 100644 index 00000000000000..e82dee6ebffd24 --- /dev/null +++ b/pages/common/elasticsearch-reset-password.md @@ -0,0 +1,16 @@ +# elasticsearch-reset-password + +> Reset the passwords of users in the native realm and built-in users. +> More information: . + +- Reset the password of the user to an auto-generated value and print it in the console: + +`elasticsearch-reset-password {{[-u|--username]}} {{user}}` + +- Prompt interactively to reset the password for a native user: + +`elasticsearch-reset-password {{[-u|--username]}} {{user}} {{[-i|--interactive]}}` + +- Interactively reset the password for a user at a specified Elasticsearch node URL: + +`elasticsearch-reset-password --url {{host}}:{{port}} {{[-u|--username]}} {{user}} {{[-i|--interactive]}}` diff --git a/pages/common/elasticsearch-saml-metadata.md b/pages/common/elasticsearch-saml-metadata.md new file mode 100644 index 00000000000000..195895e88fb3a1 --- /dev/null +++ b/pages/common/elasticsearch-saml-metadata.md @@ -0,0 +1,16 @@ +# elasticsearch-saml-metadata + +> Generate SAML Service Provider metadata for configuring a SAML Identity Provider. +> More information: . + +- Generate SAML metadata for a specific realm and print it to `stdout`: + +`elasticsearch-saml-metadata --realm {{realm_name}}` + +- Generate SAML metadata and write it to a specific file: + +`elasticsearch-saml-metadata --realm {{realm_name}} --out {{path/to/file.xml}}` + +- Display help: + +`elasticsearch-saml-metadata {{[-h|--help]}}` diff --git a/pages/common/elasticsearch-syskeygen.md b/pages/common/elasticsearch-syskeygen.md new file mode 100644 index 00000000000000..68b28005458ba4 --- /dev/null +++ b/pages/common/elasticsearch-syskeygen.md @@ -0,0 +1,8 @@ +# elasticsearch-syskeygen + +> Create a system key file in the Elasticsearch configuration directory. +> More information: . + +- Generate the `system_key` file in the default `$ES_HOME/config` directory: + +`elasticsearch-syskeygen` diff --git a/pages/common/elasticsearch-users.md b/pages/common/elasticsearch-users.md new file mode 100644 index 00000000000000..eafe5b0436f5b4 --- /dev/null +++ b/pages/common/elasticsearch-users.md @@ -0,0 +1,24 @@ +# elasticsearch-users + +> Manage native realm users in Elasticsearch, including creating, updating, and deleting users. +> More information: . + +- Add a new user interactively (prompts for password): + +`elasticsearch-users useradd {{username}}` + +- Add a new user and specify roles: + +`elasticsearch-users useradd {{username}} -r {{role1,role2}}` + +- Change the password for an existing user: + +`elasticsearch-users passwd {{username}}` + +- Delete a user: + +`elasticsearch-users userdel {{username}}` + +- List all users in the native realm: + +`elasticsearch-users list` diff --git a/pages/common/electron-packager.md b/pages/common/electron-packager.md index 8d54425345cf36..47bf8798298330 100644 --- a/pages/common/electron-packager.md +++ b/pages/common/electron-packager.md @@ -1,6 +1,6 @@ # electron-packager -> A tool used to build Electron app executables for Windows, Linux and MacOS. +> Build Electron app executables for Windows, Linux and macOS. > Requires a valid package.json in the application directory. > More information: . @@ -16,6 +16,6 @@ `electron-packager "{{path/to/app}}" "{{app_name}}" --platform="{{linux}}" --arch="{{x64}}"` -- Package an application for ARM MacOS: +- Package an application for ARM macOS: `electron-packager "{{path/to/app}}" "{{app_name}}" --platform="{{darwin}}" --arch="{{arm64}}"` diff --git a/pages/common/electrum.md b/pages/common/electrum.md index 0803a90d1fb955..be5adf1758f897 100644 --- a/pages/common/electrum.md +++ b/pages/common/electrum.md @@ -5,15 +5,15 @@ - Create a new wallet: -`electrum -w {{new_wallet.dat}} create` +`electrum {{[-w|--wallet]}} {{path/to/new_wallet.dat}} create` - Restore an existing wallet from seed offline: -`electrum -w {{recovery_wallet.dat}} restore -o` +`electrum {{[-w|--wallet]}} {{path/to/recovery_wallet.dat}} restore {{[-o|--offline]}}` - Create a signed transaction offline: -`electrum mktx {{recipient}} {{amount}} -f 0.0000001 -F {{from}} -o` +`electrum mktx {{recipient}} {{amount}} {{[-f|--fee]}} 0.0000001 {{[-F|--from-addr]}} {{from}} {{[-o|--offline]}}` - Display all wallet receiving addresses: @@ -29,4 +29,4 @@ - Connect only to a specific electrum-server instance: -`electrum -p socks5:{{127.0.0.1}}:9050 -s {{56ckl5obj37gypcu.onion}}:50001:t -1` +`electrum {{[-p|--proxy]}} socks5:{{127.0.0.1}}:9050 {{[-s|--server]}} {{56ckl5obj37gypcu.onion}}:50001:t {{[-1|--oneserver]}}` diff --git a/pages/common/elif.md b/pages/common/elif.md new file mode 100644 index 00000000000000..f5b85ff2512206 --- /dev/null +++ b/pages/common/elif.md @@ -0,0 +1,7 @@ +# elif + +> This shell keyword is used in combination with `if` and `else` to define a code branch. + +- View documentation for `if` command: + +`tldr if` diff --git a/pages/common/elinks.md b/pages/common/elinks.md index aaefc281e111bf..3e6fbdcde466b9 100644 --- a/pages/common/elinks.md +++ b/pages/common/elinks.md @@ -1,15 +1,15 @@ # elinks -> A text based browser similar to lynx. -> More information: . +> A text based browser similar to `lynx`. +> More information: . -- Start elinks: +- Start ELinks: `elinks` - Quit elinks: -`Ctrl + C` +`` - Dump output of webpage to console, colorizing the text with ANSI control codes: diff --git a/pages/common/elixir.md b/pages/common/elixir.md index 354a7579cef074..2bb68fd732f53e 100644 --- a/pages/common/elixir.md +++ b/pages/common/elixir.md @@ -9,4 +9,4 @@ - Evaluate Elixir code by passing it as an argument: -`elixir -e "{{code}}"` +`elixir {{[-e|--eval]}} "{{code}}"` diff --git a/pages/common/elm.md b/pages/common/elm.md index ea6025b89d673b..ab0f9d21fe9d2b 100644 --- a/pages/common/elm.md +++ b/pages/common/elm.md @@ -11,11 +11,11 @@ `elm repl` -- Compile an Elm file, output the result to an index.html file: +- Compile an Elm file, output the result to an `index.html` file: `elm make {{source}}` -- Compile an Elm file, output the result to a Javascript file: +- Compile an Elm file, output the result to a JavaScript file: `elm make {{source}} --output={{destination}}.js` @@ -23,6 +23,6 @@ `elm reactor` -- Install Elm package from https://package.elm-lang.org: +- Install Elm package from : `elm install {{author}}/{{package}}` diff --git a/pages/common/else.md b/pages/common/else.md new file mode 100644 index 00000000000000..532948f26d2e33 --- /dev/null +++ b/pages/common/else.md @@ -0,0 +1,7 @@ +# else + +> This shell keyword is used in combination with `if` and `elif` to define a code branch if no other branch was valid. + +- View documentation for the `if` keyword: + +`tldr if` diff --git a/pages/common/elvish.md b/pages/common/elvish.md new file mode 100644 index 00000000000000..5c323604d1ad4b --- /dev/null +++ b/pages/common/elvish.md @@ -0,0 +1,17 @@ +# elvish + +> Expressive programming language and a versatile interactive shell. +> See also: `nu`. +> More information: . + +- Start an interactive shell session: + +`elvish` + +- Execute specific [c]ommands: + +`elvish -c "{{echo 'elvish is executed'}}"` + +- Execute a specific script: + +`elvish {{path/to/script.elv}}` diff --git a/pages/common/emacs.md b/pages/common/emacs.md index a9895ea73de994..c4ebeea62d6f6b 100644 --- a/pages/common/emacs.md +++ b/pages/common/emacs.md @@ -1,24 +1,37 @@ # emacs > The extensible, customizable, self-documenting, real-time display editor. +> See also: `emacsclient`. > More information: . -- Start in console mode (without X window): +- Start Emacs and open a file: -`emacs -nw` +`emacs {{path/to/file}}` -- Open a file: +- Open a file at a specified line number: -`emacs {{path/to/file}}` +`emacs +{{line_number}} {{path/to/file}}` -- Save a file: +- Run an Emacs Lisp file as a script: -`Ctrl + X, Ctrl + S` +`emacs --script {{path/to/file.el}}` -- Quit: +- Start Emacs in console mode (without an X window): -`Ctrl + X, Ctrl + C` +`emacs {{[-nw|--no-window-system]}}` -- Open a file at a specified line number: +- Start an Emacs server in the background (accessible via `emacsclient`): -`emacs +{{line_number}} {{path/to/file}}` +`emacs --daemon` + +- Stop a running Emacs server and all its instances, asking for confirmation on unsaved files: + +`emacsclient --eval '(save-buffers-kill-emacs)'` + +- Save a file in Emacs: + +`` + +- Quit Emacs: + +`` diff --git a/pages/common/emacsclient.md b/pages/common/emacsclient.md index c6e7c9ba6d01a9..755da7dc86a918 100644 --- a/pages/common/emacsclient.md +++ b/pages/common/emacsclient.md @@ -1,24 +1,29 @@ # emacsclient -> Open files in an existing emacs server. -> More information: . +> Open files in an existing Emacs server. +> See also: `emacs`. +> More information: . -- Open files in an existing Emacs server (using GUI if available): +- Open a file in an existing Emacs server (using GUI if available): -`emacsclient {{filename}}` +`emacsclient {{path/to/file}}` -- Open file in console mode (without X window): +- Open a file in console mode (without an X window): -`emacsclient -nw {{filename}}` +`emacsclient {{[-nw|--no-window-system]}} {{path/to/file}}` -- Open a file in an existing emacs frame and return immediately: +- Open a file in a new Emacs window: -`emacsclient -n {{filename}}` +`emacsclient {{[-c|--create-frame]}} {{path/to/file}}` -- Open file in a new emacs frame: +- Evaluate a command, printing the output to `stdout`, and then quit: -`emacsclient -c {{filename}}` +`emacsclient {{[-e|--eval]}} '({{command}})'` -- Eval command in a new emacs frame: +- Specify an alternative editor in case no Emacs server is running: -`emacsclient -c -e '({{command}})'` +`emacsclient {{[-a|--alternate-editor]}} {{editor}} {{path/to/file}}` + +- Stop a running Emacs server and all its instances, asking for confirmation on unsaved files: + +`emacsclient {{[-e|--eval]}} '(save-buffers-kill-emacs)'` diff --git a/pages/common/ember.md b/pages/common/ember.md index 93dc7fef0104ab..ab157da0f0372f 100644 --- a/pages/common/ember.md +++ b/pages/common/ember.md @@ -1,8 +1,7 @@ # ember -> The Ember.js command line utility. -> Used for creating and maintaining Ember.js applications. -> More information: . +> Ember CLI: create and manage Ember.js applications. +> More information: . - Create a new Ember application: diff --git a/pages/common/emulator.md b/pages/common/emulator.md index 6c840742764210..0d00e2488019ac 100644 --- a/pages/common/emulator.md +++ b/pages/common/emulator.md @@ -1,12 +1,8 @@ # emulator -> Manager Android emulators from the command line. +> Manage Android emulators. > More information: . -- Display the help: - -`emulator -help` - - Start an Android emulator device: `emulator -avd {{name}}` @@ -34,3 +30,7 @@ - Start an emulator with a given SD card partition image file: `emulator -avd {{name}} -sdcard {{path/to/sdcard.img}}` + +- Display help: + +`emulator -help` diff --git a/pages/common/enable.md b/pages/common/enable.md new file mode 100644 index 00000000000000..da89578ad29643 --- /dev/null +++ b/pages/common/enable.md @@ -0,0 +1,12 @@ +# enable + +> Enable and disable shell builtins. +> More information: . + +- Print the list of builtins: + +`enable` + +- Disable a builtin (works in Bash only): + +`enable -n {{command}}` diff --git a/pages/common/enca.md b/pages/common/enca.md index 84d764c5713b72..c79f5168780e82 100644 --- a/pages/common/enca.md +++ b/pages/common/enca.md @@ -5,16 +5,16 @@ - Detect file(s) encoding according to the system's locale: -`enca {{file1 file2 ...}}` +`enca {{path/to/file1 path/to/file2 ...}}` - Detect file(s) encoding specifying a language in the POSIX/C locale format (e.g. zh_CN, en_US): -`enca -L {{language}} {{file1 file2 ...}}` +`enca {{[-L|--language]}} {{language}} {{path/to/file1 path/to/file2 ...}}` - Convert file(s) to a specific encoding: -`enca -L {{language}} -x {{to_encoding}} {{file1 file2 ...}}` +`enca {{[-L|--language]}} {{language}} {{[-x|--convert-to]}} {{to_encoding}} {{path/to/file1 path/to/file2 ...}}` - Create a copy of an existing file using a different encoding: -`enca -L {{language}} -x {{to_encoding}} < {{original_file}} > {{new_file}}` +`enca < {{original_file}} {{[-L|--language]}} {{language}} {{[-x|--convert-to]}} {{to_encoding}} > {{new_file}}` diff --git a/pages/common/encfs.md b/pages/common/encfs.md new file mode 100644 index 00000000000000..94603aa90a1fd9 --- /dev/null +++ b/pages/common/encfs.md @@ -0,0 +1,21 @@ +# encfs + +> Mount or create encrypted virtual filesystems. +> See also: `fusermount` which can unmount filesystems mounted by this command. +> More information: . + +- Initialize or mount an encrypted filesystem: + +`encfs /{{path/to/cipher_directory}} /{{path/to/mount_point}}` + +- Initialize an encrypted filesystem with standard settings: + +`encfs --standard /{{path/to/cipher_directory}} /{{path/to/mount_point}}` + +- Run encfs in the foreground instead of spawning a daemon: + +`encfs -f /{{path/to/cipher_directory}} /{{path/to/mount_point}}` + +- Mount an encrypted snapshot of a plain directory: + +`encfs --reverse {{path/to/plain_directory}} {{path/to/cipher_directory}}` diff --git a/pages/common/enscript.md b/pages/common/enscript.md index 8beb391178d9c8..3e7cee95eb0060 100644 --- a/pages/common/enscript.md +++ b/pages/common/enscript.md @@ -1,19 +1,19 @@ # enscript > Convert text files to PostScript, HTML, RTF, ANSI, and overstrikes. -> More information: . +> More information: . - Generate a PostScript file from a text file: -`enscript {{path/to/input_file}} --output={{path/to/output_file}}` +`enscript {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}` - Generate a file in a different language than PostScript: -`enscript {{path/to/input_file}} --language={{html|rtf|...}} --output={{path/to/output_file}}` +`enscript {{path/to/input_file}} {{[-w|--language]}} {{html|rtf|...}} {{[-o|--output]}} {{path/to/output_file}}` - Generate a PostScript file with a landscape layout, splitting the page into columns (maximum 9): -`enscript {{path/to/input_file}} --columns={{num}} --landscape --output={{path/to/output_file}}` +`enscript {{path/to/input_file}} --columns {{num}} {{[-r|--landscape]}} {{[-o|--output]}} {{path/to/output_file}}` - Display available syntax highlighting languages and file formats: @@ -21,4 +21,4 @@ - Generate a PostScript file with syntax highlighting and color for a specified language: -`enscript {{path/to/input_file}} --color=1 --highlight={{language}} --output={{path/to/output_file}}` +`enscript {{path/to/input_file}} --color 1 {{[-E|--highlight]}} {{language}} {{[-o|--output]}} {{path/to/output_file}}` diff --git a/pages/common/entr.md b/pages/common/entr.md index d86d84475c9591..56ee9ab09b9ff4 100644 --- a/pages/common/entr.md +++ b/pages/common/entr.md @@ -1,10 +1,11 @@ # entr > Run arbitrary commands when files change. +> More information: . - Rebuild with `make` if any file in any subdirectory changes: -`{{ag -l}} | entr {{make}}` +`{{ag --files-with-matches}} | entr {{make}}` - Rebuild and test with `make` if any `.c` source files in the current directory change: @@ -17,3 +18,15 @@ - Run a command with the changed file (`/_`) as an argument: `{{ls *.sql}} | entr {{psql -f}} /_` + +- [c]lear the screen and run a query after the SQL script is updated: + +`{{echo my.sql}} | entr -cp {{psql -f}} /_` + +- Rebuild the project if source files change, limiting output to the first few lines: + +`{{find src/}} | entr -s {{'make | sed 10q'}}` + +- Launch and auto-[r]eload a Node.js server: + +`{{ls *.js}} | entr -r {{node app.js}}` diff --git a/pages/common/env.md b/pages/common/env.md index 5f6dd1c7ddc9b3..5f3a3eb2d281d7 100644 --- a/pages/common/env.md +++ b/pages/common/env.md @@ -1,6 +1,7 @@ # env > Show the environment or run a program in a modified environment. +> More information: . - Show the environment: @@ -12,16 +13,20 @@ - Clear the environment and run a program: -`env -i {{program}}` +`env {{[-i|--ignore-environment]}} {{program}}` - Remove variable from the environment and run a program: -`env -u {{variable}} {{program}}` +`env {{[-u|--unset]}} {{variable}} {{program}}` - Set a variable and run a program: `env {{variable}}={{value}} {{program}}` -- Set multiple variables and run a program: +- Set one or more variables and run a program: -`env {{variable1}}={{value}} {{variable2}}={{value}} {{variable3}}={{value}} {{program}}` +`env {{variable1=value variable2=value variable3=value ...}} {{program}}` + +- Run a program under a different name: + +`env {{[-a|--argv0]}} {{custom_name}} {{program}}` diff --git a/pages/common/envoy.md b/pages/common/envoy.md index ebff22fe73c045..f7256027b98283 100644 --- a/pages/common/envoy.md +++ b/pages/common/envoy.md @@ -3,7 +3,7 @@ > A PHP-based task manager for Laravel remote servers. > More information: . -- Initialise a configuration file: +- Initialize a configuration file: `envoy init {{host_name}}` @@ -19,7 +19,7 @@ `envoy run --continue {{task_name}}` -- Dump a task as a bash script for inspection: +- Dump a task as a Bash script for inspection: `envoy run --pretend {{task_name}}` diff --git a/pages/common/envsubst.md b/pages/common/envsubst.md index fa214f01d0f71e..de93f4eae75981 100644 --- a/pages/common/envsubst.md +++ b/pages/common/envsubst.md @@ -2,6 +2,7 @@ > Substitutes environment variables with their value in shell format strings. > Variables to be replaced should be in either `${var}` or `$var` format. +> More information: . - Replace environment variables in `stdin` and output to `stdout`: @@ -17,4 +18,4 @@ - Replace environment variables in an input file from a space-separated list: -`envsubst '{{$USER $SHELL $HOME}}' < {{path/to/input_file}}` +`envsubst < {{path/to/input_file}} '{{$USER $SHELL $HOME}}'` diff --git a/pages/common/eol.md b/pages/common/eol.md new file mode 100644 index 00000000000000..cc8840cfc7e6d1 --- /dev/null +++ b/pages/common/eol.md @@ -0,0 +1,28 @@ +# eol + +> Show end-of-life dates (EoLs) for a number of products. +> More information: . + +- List all available products: + +`eol` + +- Get EoLs of one or more products: + +`eol {{product1 product2 ...}}` + +- Open the product webpage: + +`eol {{product}} --web` + +- Get EoLs of a one or more products in a specific format: + +`eol {{product1 product2 ...}} --format {{html|json|md|markdown|pretty|rst|csv|tsv|yaml}}` + +- Get EoLs of one or more products as a single markdown file: + +`eol {{product1 product2 ...}} --format {{markdown}} > {{eol_report.md}}` + +- Display help: + +`eol --help` diff --git a/pages/common/eqn.md b/pages/common/eqn.md new file mode 100644 index 00000000000000..f86b8dcecdcc30 --- /dev/null +++ b/pages/common/eqn.md @@ -0,0 +1,13 @@ +# eqn + +> Equation preprocessor for the groff (GNU Troff) document formatting system. +> See also: `troff`, `groff`. +> More information: . + +- Process input with equations, saving the output for future typesetting with groff to PostScript: + +`eqn {{path/to/input.eqn}} > {{path/to/output.roff}}` + +- Typeset an input file with equations to PDF using the [me] macro package: + +`eqn -T {{pdf}} {{path/to/input.eqn}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}` diff --git a/pages/common/erl.md b/pages/common/erl.md index 76961250d1d9a0..072d72a7ac6d73 100644 --- a/pages/common/erl.md +++ b/pages/common/erl.md @@ -5,7 +5,7 @@ - Compile and run sequential Erlang program as a common script and then exit: -`erlc {{files}} && erl -noshell '{{mymodule:myfunction(arguments)}}, init:stop().'` +`erlc {{path/to/file1 path/to/file2 ...}} && erl -noshell '{{mymodule:myfunction(arguments)}}, init:stop().'` - Connect to a running Erlang node: @@ -13,4 +13,4 @@ - Tell the Erlang shell to load modules from a directory: -`erl -pa {{directory_with_beam_files}}` +`erl -pa {{path/to/directory_with_beam_files}}` diff --git a/pages/common/ern.md b/pages/common/ern.md new file mode 100644 index 00000000000000..535bf513083650 --- /dev/null +++ b/pages/common/ern.md @@ -0,0 +1,32 @@ +# ern + +> Electrode Native platform client. +> More information: . + +- Create a new `ern` application (`MiniApp`): + +`ern create-miniapp {{application_name}}` + +- Run one or more `MiniApps` in the iOS/Android Runner application: + +`ern run-{{ios|android}}` + +- Create an Electrode Native container: + +`ern create-container --miniapps /{{path/to/miniapp_directory}} --platform {{ios|android}}` + +- Publish an Electrode Native container to a local Maven repository: + +`ern publish-container --publisher {{maven}} --platform {{android}} --extra {{'{"groupId":"com.walmart.ern","artifactId":"quickstart"}'}}` + +- Transform an iOS container into a pre-compiled binary framework: + +`ern transform-container --platform {{ios}} --transformer {{xcframework}}` + +- List all installed versions of Electrode Native: + +`ern platform versions` + +- Set a logging level: + +`ern platform config set logLevel {{trace|debug}}` diff --git a/pages/common/errno.md b/pages/common/errno.md new file mode 100644 index 00000000000000..3e319eb98cd727 --- /dev/null +++ b/pages/common/errno.md @@ -0,0 +1,20 @@ +# errno + +> Look up errno names and descriptions. +> More information: . + +- Lookup errno description by name or code: + +`errno {{name|code}}` + +- List all errno names, codes, and descriptions: + +`errno {{[-l|--list]}}` + +- Search for code whose description contains all of the given text: + +`errno {{[-s|--search]}} {{text}}` + +- Search for code whose description contains all of the given text (all locales): + +`errno {{[-S|--search-all-locales]}} {{text}}` diff --git a/pages/common/esac.md b/pages/common/esac.md new file mode 100644 index 00000000000000..f542c8567de60d --- /dev/null +++ b/pages/common/esac.md @@ -0,0 +1,7 @@ +# esac + +> This shell keyword is used to end a `case` statement. + +- View documentation for the `case` keyword: + +`tldr case` diff --git a/pages/common/esbuild.md b/pages/common/esbuild.md new file mode 100644 index 00000000000000..9fb7fc23542036 --- /dev/null +++ b/pages/common/esbuild.md @@ -0,0 +1,36 @@ +# esbuild + +> JavaScript bundler and minifier built for speed. +> More information: . + +- Bundle a JavaScript application and print to `stdout`: + +`esbuild --bundle {{path/to/file.js}}` + +- Bundle a JSX application from `stdin`: + +`esbuild --bundle --outfile={{path/to/out.js}} < {{path/to/file.jsx}}` + +- Bundle and minify a JSX application with source maps in `production` mode: + +`esbuild --bundle --define:{{process.env.NODE_ENV=\"production\"}} --minify --sourcemap {{path/to/file.js}}` + +- Bundle a JSX application for a comma-separated list of browsers: + +`esbuild --bundle --minify --sourcemap --target={{chrome58,firefox57,safari11,edge16}} {{path/to/file.jsx}}` + +- Bundle a JavaScript application for a specific node version: + +`esbuild --bundle --platform={{node}} --target={{node12}} {{path/to/file.js}}` + +- Bundle a JavaScript application enabling JSX syntax in `.js` files: + +`esbuild --bundle app.js --loader:{{.js=jsx}} {{path/to/file.js}}` + +- Bundle and serve a JavaScript application on an HTTP server: + +`esbuild --bundle --serve={{port}} --outfile={{index.js}} {{path/to/file.js}}` + +- Bundle a list of files to an output directory: + +`esbuild --bundle --outdir={{path/to/output_directory}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/escp2topbm.md b/pages/common/escp2topbm.md new file mode 100644 index 00000000000000..113e734aeb9230 --- /dev/null +++ b/pages/common/escp2topbm.md @@ -0,0 +1,9 @@ +# escp2topbm + +> Convert a PBM image to a ESC/P2 printer file. +> See also: `pbmtoescp2`. +> More information: . + +- Convert a ESC/P2 printer file to a PBM image: + +`escp2topbm {{path/to/image.escp2}} > {{path/to/output.pbm}}` diff --git a/pages/common/eslint.md b/pages/common/eslint.md index e11577957e3024..6aa4d564a6f5d4 100644 --- a/pages/common/eslint.md +++ b/pages/common/eslint.md @@ -3,18 +3,18 @@ > A pluggable linting utility for JavaScript and JSX. > More information: . -- Create eslint config: +- Create the ESLint configuration file: `eslint --init` -- Lint on a given set of files: +- Lint one or more files: -`eslint {{filename}}.js {{filename1}}.js` +`eslint {{path/to/file1.js path/to/file2.js ...}}` - Fix lint issues: `eslint --fix` -- Lint with config: +- Lint using the specified configuration file: -`eslint -c {{path/to/config_file}} {{app/src}}` +`eslint {{[-c|--config]}} {{path/to/config_file}} {{path/to/file1.js path/to/file2.js ...}}` diff --git a/pages/common/espanso.md b/pages/common/espanso.md new file mode 100644 index 00000000000000..36bfcbd971b6a7 --- /dev/null +++ b/pages/common/espanso.md @@ -0,0 +1,20 @@ +# espanso + +> Cross-platform Text Expander written in Rust. +> More information: . + +- Check status: + +`espanso status` + +- Edit the configuration: + +`espanso edit config` + +- Install a package from the hub store (): + +`espanso install {{package}}` + +- Restart (required after installing a package, useful in case of failure): + +`espanso restart` diff --git a/pages/common/espeak.md b/pages/common/espeak.md index d67c6519bc8e7a..633c087cee52c0 100644 --- a/pages/common/espeak.md +++ b/pages/common/espeak.md @@ -1,7 +1,7 @@ # espeak -> Uses text-to-speech to speak through the default sound device. -> More information: . +> Use text-to-speech to speak through the default sound device. +> More information: . - Speak a phrase aloud: @@ -9,7 +9,7 @@ - Speak a file aloud: -`espeak -f {{filename}}` +`espeak -f {{path/to/file}}` - Save output to a WAV audio file, rather than speaking it directly: diff --git a/pages/common/esptool.py.md b/pages/common/esptool.py.md new file mode 100644 index 00000000000000..e419f96c0c6f3e --- /dev/null +++ b/pages/common/esptool.py.md @@ -0,0 +1,12 @@ +# esptool.py + +> Bootloader utility for Espressif chips (e.g. ESP8266). +> More information: . + +- Flash a firmware file to an ESP chip with a given port and baud rate: + +`sudo esptool.py --port {{port}} --baud {{baud_rate}} write_flash 0x0 {{path/to/firmware.bin}}` + +- Clear the flash of an ESP chip: + +`sudo esptool.py --port {{port}} --baud {{baud_rate}} erase_flash` diff --git a/pages/common/etcd.md b/pages/common/etcd.md index 29fe2a77ebe0ac..03385ca3d9427e 100644 --- a/pages/common/etcd.md +++ b/pages/common/etcd.md @@ -7,7 +7,7 @@ `etcd` -- Start a single-node etcd cluster, listening for client requests on a custom url: +- Start a single-node etcd cluster, listening for client requests on a custom URL: `etcd --advertise-client-urls {{http://127.0.0.1:1234}} --listen-client-urls {{http://127.0.0.1:1234}}` @@ -15,6 +15,6 @@ `etcd --name {{my_etcd_cluster}}` -- Start a single-node etcd cluster with extensive metrics available at http://localhost:2379/debug/pprof/: +- Start a single-node etcd cluster with extensive metrics available at : `etcd --enable-pprof --metrics extensive` diff --git a/pages/common/etcdctl.md b/pages/common/etcdctl.md index 5021ee6fb16ef4..dcc7f42d4b5f42 100644 --- a/pages/common/etcdctl.md +++ b/pages/common/etcdctl.md @@ -1,7 +1,6 @@ # etcdctl -> CLI interface for interacting with `etcd`, a highly-available key-value pair store. -> Etcd stores data in hierarchically organized directories, as in a standard filesystem. +> Interact with `etcd`, a highly-available key-value pair store. > More information: . - Display the value associated with a specified key: diff --git a/pages/common/eval.md b/pages/common/eval.md new file mode 100644 index 00000000000000..69731011cef969 --- /dev/null +++ b/pages/common/eval.md @@ -0,0 +1,12 @@ +# eval + +> Execute arguments as a single command in the current shell and return its result. +> More information: . + +- Call `echo` with the "foo" argument: + +`eval "{{echo foo}}"` + +- Set a variable in the current shell: + +`eval "{{foo=bar}}"` diff --git a/pages/common/evil-winrm.md b/pages/common/evil-winrm.md index 1207f79d8f471d..b03cc153b5d9a3 100644 --- a/pages/common/evil-winrm.md +++ b/pages/common/evil-winrm.md @@ -6,25 +6,25 @@ - Connect to a host: -`evil-winrm --ip {{ip}} --user {{user}} --password {{password}}` +`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{password}}` -- Connect to a host, passing the password hash: +- Connect to a host using pass-the-hash authentication instead of a password: -`evil-winrm --ip {{ip}} --user {{user}} --hash {{nt_hash}}` +`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-H|--hash]}} {{nt_hash}}` -- Connect to a host, specifying directories for scripts and executables: +- Connect to a host, specifying directories for PowerShell scripts and executables: -`evil-winrm --ip {{ip}} --user {{user}} --password {{password}} --scripts {{path/to/scripts}} --executables {{path/to/executables}}` +`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{password}} {{[-s|--scripts]}} {{path/to/scripts}} {{[-e|--executables]}} {{path/to/executables}}` - Connect to a host, using SSL: -`evil-winrm --ip {{ip}} --user {{user}} --password {{password}} --ssl --pub-key {{path/to/pubkey}} --priv-key {{path/to/privkey}}` +`evil-winrm {{[-i|--ip]}} {{ip}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{password}} {{[-S|--ssl]}} {{[-c|--pub-key]}} {{path/to/pubkey}} {{[-k|--priv-key]}} {{path/to/privkey}}` - Upload a file to the host: `PS > upload {{path/to/local/file}} {{path/to/remote/file}}` -- Get a list of loaded PowerShell functions: +- List all loaded PowerShell functions: `PS > menu` diff --git a/pages/common/ex.md b/pages/common/ex.md new file mode 100644 index 00000000000000..4e7f33351939ba --- /dev/null +++ b/pages/common/ex.md @@ -0,0 +1,33 @@ +# ex + +> Text editor. +> See also: `vim`. +> More information: . + +- Open a file: + +`ex {{path/to/file}}` + +- Save and Quit: + +`wq` + +- Undo the last operation: + +`undo` + +- Search for a pattern in the file: + +`/{{search_pattern}}` + +- Perform a `regex` substitution in the whole file: + +`%s/{{regex}}/{{replacement}}/g` + +- Insert text: + +`i{{text}}` + +- Switch to Vim: + +`visual` diff --git a/pages/common/exa.md b/pages/common/exa.md index 088e6888dfad27..ed278b5dacd42f 100644 --- a/pages/common/exa.md +++ b/pages/common/exa.md @@ -1,28 +1,36 @@ # exa > A modern replacement for `ls` (List directory contents). -> More information: . +> More information: . - List files one per line: -`exa --oneline` +`exa {{[-1|--oneline]}}` - List all files, including hidden files: -`exa --all` +`exa {{[-a|--all]}}` - Long format list (permissions, ownership, size and modification date) of all files: -`exa --long --all` +`exa {{[-l|--long]}} {{[-a|--all]}}` - List files with the largest at the top: -`exa --reverse --sort={{size}}` +`exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` - Display a tree of files, three levels deep: -`exa --long --tree --level={{3}}` +`exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}` - List files sorted by modification date (oldest first): -`exa --long --sort={{modified}}` +`exa {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` + +- List files with their headers, icons, and Git statuses: + +`exa {{[-l|--long]}} {{[-h|--header]}} --icons --git` + +- Don't list files mentioned in `.gitignore`: + +`exa --git-ignore` diff --git a/pages/common/exec.md b/pages/common/exec.md index e30816b84639db..c8434135fbb114 100644 --- a/pages/common/exec.md +++ b/pages/common/exec.md @@ -1,19 +1,8 @@ # exec -> Replace the current process with another process. +> Execute a command without creating a child process. +> More information: . -- Replace with the specified command using the current environment variables: +- Execute a specific command using the current environment variables: `exec {{command -with -flags}}` - -- Replace with the specified command, clearing environment variables: - -`exec -c {{command -with -flags}}` - -- Replace with the specified command and login using the default shell: - -`exec -l {{command -with -flags}}` - -- Replace with the specified command and change the process name: - -`exec -a {{process_name}} {{command -with -flags}}` diff --git a/pages/common/exenv.md b/pages/common/exenv.md index 1bda5e6f7a2247..6446c09f57319a 100644 --- a/pages/common/exenv.md +++ b/pages/common/exenv.md @@ -1,7 +1,7 @@ # exenv -> A tool to easily install Elixir versions and manage application environments. -> More information: . +> Easily install Elixir versions and manage application environments. +> More information: . - Display a list of installed versions: diff --git a/pages/common/exercism.md b/pages/common/exercism.md new file mode 100644 index 00000000000000..e172548daab0ca --- /dev/null +++ b/pages/common/exercism.md @@ -0,0 +1,24 @@ +# exercism + +> Download coding exercises in any language and submit your solutions. +> More information: . + +- Configure exercism following instructions for the API token: + +`exercism configure` + +- Download `hello-world` for any programming language into exercism workspace: + +`exercism download --track {{programming_language}} --exercise hello-world` + +- Open an exercise directory on the website: + +`exercism open {{path/to/directory}}` + +- Test your solution. It will also tell you if you are missing tools for the programming language: + +`exercism test {{path/to/directory}}` + +- Submit your solution. You can share from the website or ask a community mentor for help: + +`exercism submit {{path/to/directory}}` diff --git a/pages/common/exfatlabel.md b/pages/common/exfatlabel.md new file mode 100644 index 00000000000000..38f84bc17311cb --- /dev/null +++ b/pages/common/exfatlabel.md @@ -0,0 +1,12 @@ +# exfatlabel + +> Get or set an exFAT filesystem label. +> More information: . + +- Display the current filesystem label: + +`exfatlabel {{/dev/sda}}` + +- Set the filesystem label: + +`exfatlabel {{/dev/sda}} {{new_label}}` diff --git a/pages/common/exiftool.md b/pages/common/exiftool.md index 81f39113555ab5..75f9a1a8947cd8 100644 --- a/pages/common/exiftool.md +++ b/pages/common/exiftool.md @@ -3,9 +3,21 @@ > Read and write meta information in files. > More information: . +- Print the EXIF metadata for a given file: + +`exiftool {{path/to/file}}` + - Remove all EXIF metadata from the given files: -`exiftool -All= {{file1 file2 ...}}` +`exiftool -All= {{path/to/file1 path/to/file2 ...}}` + +- Remove GPS EXIF metadata from given image files: + +`exiftool "-gps*=" {{path/to/image1 path/to/image2 ...}}` + +- Remove all EXIF metadata from the given image files, then re-add metadata for color and orientation: + +`exiftool -All= -tagsfromfile @ -colorspacetags -orientation {{path/to/image1 path/to/image2 ...}}` - Move the date at which all photos in a directory were taken 1 hour forward: @@ -13,7 +25,7 @@ - Move the date at which all JPEG photos in the current directory were taken 1 day and 2 hours backward: -`exiftool "-AllDates-=0:0:1 2:0:0" -ext jpg` +`exiftool "-AllDates-=0:0:1 2:0:0" {{[-ext|-extension]}} jpg` - Only change the `DateTimeOriginal` field subtracting 1.5 hours, without keeping backups: @@ -21,4 +33,4 @@ - Recursively rename all JPEG photos in a directory based on the `DateTimeOriginal` field: -`exiftool '-filename Exit the shell. +> More information: . -- Exit the shell with the exit code of the last command executed: +- Exit with the exit status of the most recently executed command: `exit` -- Exit the shell with the specified exit code: +- Exit with a specific exit status: `exit {{exit_code}}` diff --git a/pages/common/exiv2.md b/pages/common/exiv2.md index 6bf7be33c62acb..29c65ec46804b3 100644 --- a/pages/common/exiv2.md +++ b/pages/common/exiv2.md @@ -9,20 +9,20 @@ - Print all metadata (Exif, IPTC, XMP) with interpreted values: -`exiv2 -P kt {{path/to/file}}` +`exiv2 {{[-P|-Print]}} kt {{path/to/file}}` - Print all metadata with raw values: -`exiv2 -P kv {{path/to/file}}` +`exiv2 {{[-P|-Print]}} kv {{path/to/file}}` - Delete all metadata from an image: -`exiv2 -d a {{path/to/file}}` +`exiv2 {{[-d|--delete]}} a {{path/to/file}}` - Delete all metadata, preserving the file timestamp: -`exiv2 -d a -k {{path/to/file}}` +`exiv2 {{[-d|--delete]}} a {{[-k|--keep]}} {{path/to/file}}` - Rename the file, prepending the date and time from metadata (not from the file timestamp): -`exiv2 -r {{'%Y%m%d_%H%M%S_:basename:'}} {{path/to/file}}` +`exiv2 {{[-r|--rename]}} {{'%Y%m%d_%H%M%S_:basename:'}} {{path/to/file}}` diff --git a/pages/common/exo-compute-block-storage.md b/pages/common/exo-compute-block-storage.md new file mode 100644 index 00000000000000..b93dd99fa713c5 --- /dev/null +++ b/pages/common/exo-compute-block-storage.md @@ -0,0 +1,32 @@ +# exo compute block-storage + +> Manage the Exoscale Block Storage service. +> More information: . + +- Create a 20GB Block Storage Volume: + +`exo compute block-storage create {{volume_name}} --size 20 {{[-z|--zone]}} {{zone}}` + +- List Block Storage Volumes: + +`exo compute block-storage list` + +- Attach a Block Storage Volume to a Compute instance: + +`exo compute block-storage attach {{volume_name|id}} {{instance_name|id}} {{[-z|--zone]}} {{zone}}` + +- Forcefully detach a Block Storage Volume (does not require confirmation): + +`exo compute block-storage detach {{volume_name|id}} {{[-z|--zone]}} {{zone}} {{[-f|--force]}}` + +- Create a snapshot of a Block Storage Volume: + +`exo compute block-storage snapshot create {{volume_name|id}} --name {{snapshot_name}} {{[-z|--zone]}} {{zone}}` + +- Create a Block Storage Volume from a snapshot: + +`exo compute block-storage create {{volume_name}} --snapshot {{snapshot_name|id}} {{[-z|--zone]}} {{zone}}` + +- Update an existing Block Storage Volume with a new name and a new volume size of 30GB: + +`exo compute block-storage update {{volume_name|id}} --size 30 --name {{new_name}}` diff --git a/pages/common/exo-compute-instance.md b/pages/common/exo-compute-instance.md new file mode 100644 index 00000000000000..748e817e871ea4 --- /dev/null +++ b/pages/common/exo-compute-instance.md @@ -0,0 +1,36 @@ +# exo compute instance + +> Manage Exoscale Compute instances. +> More information: . + +- Create a Debian based Compute instance with a disk size of 10GB: + +`exo compute instance create --disk-size 10 {{instance_name}} {{[-z|--zone]}} {{zone}} --template '{{Linux Debian 12 (Bookworm) 64-bit}}'` + +- Log into a Compute instance via SSH: + +`exo compute instance ssh {{instance_name|id}}` + +- List all of the Compute instances: + +`exo compute instance list` + +- Add an instance to a Security Group: + +`exo compute instance security-group add {{instance_name|id}} {{security_group_name|id}}` + +- Scale the size of a Compute instance: + +`exo compute instance scale {{instance_name|id}} {{instance_type}}` + +- Create a snapshot of a Compute instance: + +`exo compute instance snapshot create {{instance_name|id}}` + +- Revert a Compute instance to a snapshot (the data written after the snapshot has been created will be lost): + +`exo compute instance snapshot revert {{snapshot_id}} {{instance_name|id}}` + +- Resize the disk size of a Compute instance to 20GB: + +`exo compute instance resize-disk {{instance_name|id}} 20` diff --git a/pages/common/exo-compute-sks.md b/pages/common/exo-compute-sks.md new file mode 100644 index 00000000000000..2f457edfc228dc --- /dev/null +++ b/pages/common/exo-compute-sks.md @@ -0,0 +1,36 @@ +# exo compute sks + +> Manage the Exoscale Scalable Kubernetes Service (SKS). +> More information: . + +- List the supported SKS cluster versions: + +`exo compute sks versions` + +- Create a new SKS cluster: + +`exo compute sks create {{cluster_name}} {{[-z|--zone]}} {{zone}}` + +- List all SKS clusters: + +`exo compute sks list` + +- Generate a Kubernetes kubeconfig file for an SKS cluster that expires in 1800 seconds: + +`exo compute sks kubeconfig {{cluster_name|id}} {{user}} --ttl 1800 {{[-z|--zone]}} {{zone}}` + +- Create and add a Nodepool containing 3 nodes to an SKS cluster: + +`exo compute sks nodepool add {{cluster_name|id}} {{nodepool_name}} --size 3 {{[-z|--zone]}} {{zone}}` + +- Remove a Nodepool from an SKS cluster: + +`exo compute sks nodepool delete {{cluster_name|id}} {{nodepool_name|id}}` + +- Evict a Node from a Nodepool in an SKS cluster: + +`exo compute sks nodepool evict {{cluster_name|id}} {{nodepool_name|id}} {{node_name|id}}` + +- Enable the Exoscale CSI driver for an existing SKS cluster: + +`exo compute sks update {{cluster_name|id}} --enable-csi-addon {{[-z|--zone]}} {{zone}}` diff --git a/pages/common/exo-compute.md b/pages/common/exo-compute.md new file mode 100644 index 00000000000000..5af35c40069d77 --- /dev/null +++ b/pages/common/exo-compute.md @@ -0,0 +1,33 @@ +# exo compute + +> Manage Exoscale Compute resources. +> Some subcommands such as `instance` have their own documentation. +> More information: . + +- Quickly create an Exoscale Compute resource (e.g., instance, Security Group, SKS cluster,...): + +`exo compute {{resource_type}} create {{resource_name}}` + +- List Exoscale Compute instance types: + +`exo compute instance-type list` + +- Register a new SSH key that can be used to access Compute instances: + +`exo compute ssh-key register {{key_name}} {{public_key_file}}` + +- Create a Compute instance with an ssh-key deployed on it: + +`exo compute instance create {{instance_name}} {{ssh_key_name}}` + +- Register a new Compute instance template based on a Snapshot of a Compute instance (useful when you want to quickly create a replica of a Compute instance): + +`exo compute instance template register {{template_name}} --from-snapshot {{snapshot_id}}` + +- Add a new rule to an existing Security Group: + +`exo compute security-group rule add {{security_group_name|id}} --description '{{Allow SSH access}}' --flow {{ingress}} --port {{22}} --network {{0.0.0.0/0}}` + +- Manage the services of an existing Network Load Balancer: + +`exo compute load-balancer service add {{load_balancer_name|id}} {{service_name}} --port {{service_port}}` diff --git a/pages/common/exo-dbaas.md b/pages/common/exo-dbaas.md new file mode 100644 index 00000000000000..ae684632502c75 --- /dev/null +++ b/pages/common/exo-dbaas.md @@ -0,0 +1,28 @@ +# exo dbaas + +> Manage Exoscale DBaaS. +> More information: . + +- List available Database Service types: + +`exo dbaas type list` + +- List available plans for a Database Service type: + +`exo dbaas type show {{database_service_type}} --plans` + +- Create a new Database Service (an IP filter must be specified in order to access the service): + +`exo dbaas create {{database_service_type}} {{database_service_type_plan}} {{database_service_name}} --{{database_service_type}}-ip-filter {{1.2.3.4/32}}` + +- Show the connection URI for a Database Service: + +`exo dbaas show {{database_service_name}} --uri` + +- Set a specified maintenance time and day of the week for a Database Service: + +`exo dbaas update {{database_service_name}} --maintenance-dow {{day_of_the_week}} --maintenance-time {{HH:MM:SS}}` + +- Get help for a specific Database Service type: + +`exo dbaas {{subcommand}} --help-{{database_service_type}}` diff --git a/pages/common/exo-iam.md b/pages/common/exo-iam.md new file mode 100644 index 00000000000000..cd80dd6551f1ad --- /dev/null +++ b/pages/common/exo-iam.md @@ -0,0 +1,24 @@ +# exo iam + +> Manage the Exoscale IAM service. +> More information: . + +- List all of the IAM roles: + +`exo iam role list` + +- Create a new API key: + +`exo iam api-key create {{api_key_name}} {{iam_role_name}}` + +- Create a new IAM role: + +`cat {{path/to/policy.json}} | exo iam role create {{iam_role_name}} --editable --policy -` + +- Show the policy of an existing IAM role: + +`exo iam role show {{iam_role_name}} --policy {{[-O|--output-format]}} {{json}} | jq .` + +- Update the default Organization policy (the default Organization policy will be applied to all of the API keys within the Organization): + +`cat {{path/to/policy.json}} | exo iam org-policy update -` diff --git a/pages/common/exo-storage.md b/pages/common/exo-storage.md new file mode 100644 index 00000000000000..ac8b4e59669ae1 --- /dev/null +++ b/pages/common/exo-storage.md @@ -0,0 +1,24 @@ +# exo storage + +> Manage the Exoscale Simple Object Storage (SOS) service. +> More information: . + +- Create a new SOS bucket: + +`exo storage mb {{bucket_name}}` + +- Upload a file to a bucket: + +`exo storage put {{path/to/file}} {{bucket_name}}/{{prefix/}}` + +- List the objects within a bucket: + +`exo storage ls {{bucket_name}}` + +- Simulate the download of an object from a bucket: + +`exo storage get {{bucket_name}}/{{object_key}} {{local_path}} --dry-run` + +- Manage the metadata of an object: + +`exo storage metadata add {{bucket_name}}/{{object_key}} {{key=value}}` diff --git a/pages/common/exo.md b/pages/common/exo.md new file mode 100644 index 00000000000000..8905357131aa74 --- /dev/null +++ b/pages/common/exo.md @@ -0,0 +1,29 @@ +# exo + +> Manage the Exoscale services. +> Some subcommands such as `exo compute` have their own usage documentation. +> More information: . + +- Configure the exo command-line: + +`exo config` + +- Generate the exo autocompletion script for a specified shell: + +`exo completion {{zsh}}` + +- List all of the available zones and output them as json: + +`exo zone {{[-O|--output-format]}} {{json}}` + +- Quietly create a Compute instance in a specific zone (disables the non-essential command output): + +`exo compute instance create {{instance_name}} --zone {{zone}} {{[-Q|--quiet]}}` + +- List just the name of all of the buckets in the Organization: + +`exo storage list {{[-O|--output-template]}} '\{\{ .Name \}\}` + +- Display help for a specific sub-command: + +`exo {{iam}} {{[-h|--help]}}` diff --git a/pages/common/expand.md b/pages/common/expand.md index dee682a8058227..c3595c2e5cb636 100644 --- a/pages/common/expand.md +++ b/pages/common/expand.md @@ -1,23 +1,24 @@ # expand > Convert tabs to spaces. +> More information: . -- Convert tabs in each file to spaces, writing to standard output: +- Convert tabs in each file to spaces, writing to `stdout`: -`expand {{file}}` +`expand {{path/to/file}}` -- Convert tabs to spaces, reading from standard input: +- Convert tabs to spaces, reading from `stdin`: `expand` - Do not convert tabs after non blanks: -`expand -i {{file}}` +`expand {{[-i|--initial]}} {{path/to/file}}` - Have tabs a certain number of characters apart, not 8: -`expand -t={{number}} {{file}}` +`expand {{[-t|--tabs]}} {{number}} {{path/to/file}}` - Use a comma separated list of explicit tab positions: -`expand -t={{1,4,6}}` +`expand {{[-t|--tabs]}} {{1,4,6}}` diff --git a/pages/common/export.md b/pages/common/export.md new file mode 100644 index 00000000000000..33cd5ffe448cd4 --- /dev/null +++ b/pages/common/export.md @@ -0,0 +1,12 @@ +# export + +> Export shell variables to child processes. +> More information: . + +- Set an environment variable: + +`export {{VARIABLE}}={{value}}` + +- Append a pathname to the environment variable `PATH`: + +`export PATH=$PATH:{{path/to/append}}` diff --git a/pages/common/expose.md b/pages/common/expose.md index 4b76779398fc5d..f5189e86948405 100644 --- a/pages/common/expose.md +++ b/pages/common/expose.md @@ -15,7 +15,7 @@ `expose --subdomain={{subdomain}}` -- Share a local url: +- Share a local URL: `expose share {{url}}` diff --git a/pages/common/expr.md b/pages/common/expr.md index 14912e9ee8bd02..80d635cf094e9f 100644 --- a/pages/common/expr.md +++ b/pages/common/expr.md @@ -1,23 +1,32 @@ # expr > Evaluate expressions and manipulate strings. +> More information: . -- Get string length: +- Get the length of a specific string: -`expr length {{string}}` +`expr length "{{string}}"` -- Evaluate logical or math expression with an operator ('+', '-', '*', '&', '|', etc.). Special symbols should be escaped: +- Get the substring of a string with a specific length: -`expr {{first_argument}} {{operator}} {{second_argument}}` +`expr substr "{{string}}" {{from}} {{length}}` -- Get position of the first character in 'string' that matches 'substring': +- Match a specific substring against an anchored pattern: -`echo $(expr index {{string}} {{substring}})` +`expr match "{{string}}" '{{pattern}}'` -- Extract part of the string: +- Get the first char position from a specific set in a string: -`echo $(expr substr {{string}} {{position_to_start}} {{number_of_characters}}` +`expr index "{{string}}" "{{chars}}"` -- Extract part of the string which matches a regular expression: +- Calculate a specific mathematic expression: -`echo $(expr {{string}} : '\({{regular_expression}}\)')` +`expr {{expression1}} {{+|-|*|/|%}} {{expression2}}` + +- Get the first expression if its value is non-zero and not null otherwise get the second one: + +`expr {{expression1}} \| {{expression2}}` + +- Get the first expression if both expressions are non-zero and not null otherwise get zero: + +`expr {{expression1}} \& {{expression2}}` diff --git a/pages/common/exrex.md b/pages/common/exrex.md new file mode 100644 index 00000000000000..cc99be8dae5dcc --- /dev/null +++ b/pages/common/exrex.md @@ -0,0 +1,37 @@ +# exrex + +> Generate all/random matching strings for a `regex`. +> It can also simplify `regex`es. +> More information: . + +- Generate all possible strings that match a `regex`: + +`exrex '{{regex}}'` + +- Generate a random string that matches a `regex`: + +`exrex {{[-r|--random]}} '{{regex}}'` + +- Generate at most 100 strings that match a `regex`: + +`exrex {{[-m|--max-number]}} {{100}} '{{regex}}'` + +- Generate all possible strings that match a `regex`, joined by a custom delimiter string: + +`exrex {{[-d|--delimiter]}} "{{, }}" '{{regex}}'` + +- Print count of all possible strings that match a `regex`: + +`exrex {{[-c|--count]}} '{{regex}}'` + +- Simplify a `regex`: + +`exrex {{[-s|--simplify]}} '{{ab|ac}}'` + +- Print eyes: + +`exrex '{{[oO0](_)[oO0]}}'` + +- Print a boat: + +`exrex '{{( {20}(\| *\\|-{22}|\|)|\.={50}| ( ){0,5}\\\.| {12}~{39})}}'` diff --git a/pages/common/eyuvtoppm.md b/pages/common/eyuvtoppm.md new file mode 100644 index 00000000000000..b2d75144a07f9b --- /dev/null +++ b/pages/common/eyuvtoppm.md @@ -0,0 +1,8 @@ +# eyuvtoppm + +> Convert a Berkeley YUV file to PPM. +> More information: . + +- Read a Berkeley YUV file from the specified input file, convert it to a PPM image and store it in the specified output file: + +`eyuvtoppm --width {{width}} --height {{height}} {{path/to/input_file.eyuv}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/eza.md b/pages/common/eza.md new file mode 100644 index 00000000000000..b8c37802d05636 --- /dev/null +++ b/pages/common/eza.md @@ -0,0 +1,36 @@ +# eza + +> Modern, maintained replacement for `ls`, built on `exa`. +> More information: . + +- List files one per line: + +`eza {{[-1|--oneline]}}` + +- List all files, including hidden files: + +`eza {{[-a|--all]}}` + +- Long format list (permissions, ownership, size and modification date) of all files: + +`eza {{[-al|--all --long]}}` + +- List files with the largest at the top: + +`eza {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` + +- Display a tree of files, three levels deep: + +`eza {{[-lT|--long --tree]}} {{[-L|--level]}} {{3}}` + +- List files sorted by modification date (oldest first): + +`eza {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` + +- List files with their headers, icons, and Git statuses: + +`eza {{[-lh|--long --header]}} --icons --git` + +- Don't list files mentioned in `.gitignore`: + +`eza --git-ignore` diff --git a/pages/common/f3fix.md b/pages/common/f3fix.md index 24fb9e1e9f187c..fb7a165a61ead3 100644 --- a/pages/common/f3fix.md +++ b/pages/common/f3fix.md @@ -1,8 +1,8 @@ # f3fix > Edit the partition table of a fake flash drive. -> See also `f3probe`, `f3write`, `f3read`. -> More information: . +> See also: `f3probe`, `f3write`, `f3read`. +> More information: . - Fill a fake flash drive with a single partition that matches its real capacity: diff --git a/pages/common/f3probe.md b/pages/common/f3probe.md index eee4c3c67236f0..1436a7acc57e2a 100644 --- a/pages/common/f3probe.md +++ b/pages/common/f3probe.md @@ -1,7 +1,7 @@ # f3probe > Probe a block device (e.g. a flash drive or a microSD card) for counterfeit flash memory. -> See also `f3read`, `f3write`, `f3fix`. +> See also: `f3read`, `f3write`, `f3fix`. > More information: . - Probe a block device: diff --git a/pages/common/f3read.md b/pages/common/f3read.md index fe08be31210aa5..88f5daf4520461 100644 --- a/pages/common/f3read.md +++ b/pages/common/f3read.md @@ -1,8 +1,8 @@ # f3read > Validate .h2w files to test the real capacity of the drive. -> See also `f3write`, `f3probe`, `f3fix`. -> More information: . +> See also: `f3write`, `f3probe`, `f3fix`. +> More information: . - Validate a device by checking the files in a given directory: diff --git a/pages/common/f3write.md b/pages/common/f3write.md index d22c69f6b57bd4..f7240893afeebc 100644 --- a/pages/common/f3write.md +++ b/pages/common/f3write.md @@ -1,8 +1,8 @@ # f3write > Fill a drive out with .h2w files to test its real capacity. -> See also `f3read`, `f3probe`, `f3fix`. -> More information: . +> See also: `f3read`, `f3probe`, `f3fix`. +> More information: . - Write test files to a given directory, filling the drive: diff --git a/pages/common/fabric.md b/pages/common/fabric.md new file mode 100644 index 00000000000000..e24e8d3319d83e --- /dev/null +++ b/pages/common/fabric.md @@ -0,0 +1,37 @@ +# fabric + +> An open-source framework for augmenting humans using AI. +> Provides a modular framework for solving specific problems using a crowdsourced set of AI prompts. +> More information: . + +- Run the setup to configure fabric: + +`fabric {{[-S|--setup]}}` + +- List all available patterns: + +`fabric {{[-l|--listpatterns]}}` + +- Run a pattern with input from a file: + +`fabric {{[-p|--pattern]}} {{pattern_name}} < {{path/to/input_file}}` + +- Run a pattern on a YouTube video URL: + +`fabric {{[-y|--youtube]}} "{{https://www.youtube.com/watch?v=video_id}}" {{[-p|--pattern]}} {{pattern_name}}` + +- Chain patterns together by piping output from one to another: + +`fabric {{[-p|--pattern]}} {{pattern1}} | fabric {{[-p|--pattern]}} {{pattern2}}` + +- Run a custom user-defined pattern: + +`fabric {{[-p|--pattern]}} {{custom_pattern_name}}` + +- Run a pattern and save the output to a file: + +`fabric {{[-p|--pattern]}} {{pattern_name}} {{[-o|--output]}} {{path/to/output_file}}` + +- Run a pattern with the specified variables: + +`fabric {{[-p|--pattern]}} {{pattern_name}} {{[-v|--variable]}} "{{variable_name}}:{{value}}"` diff --git a/pages/common/factor.md b/pages/common/factor.md index 05d651ea9cfb02..98220979f779c6 100644 --- a/pages/common/factor.md +++ b/pages/common/factor.md @@ -1,6 +1,7 @@ # factor -> Prints the prime factorization of a number. +> Print the prime factorization of a number. +> More information: . - Display the prime-factorization of a number: diff --git a/pages/common/fakedata.md b/pages/common/fakedata.md new file mode 100644 index 00000000000000..256e323ec9da09 --- /dev/null +++ b/pages/common/fakedata.md @@ -0,0 +1,24 @@ +# fakedata + +> Generate fake data using a large variety of generators. +> More information: . + +- List all valid generators: + +`fakedata --generators` + +- Generate data using one or more generators: + +`fakedata {{generator1}} {{generator2}}` + +- Generate data with a specific output format: + +`fakedata {{[-f|--format]}} {{csv|tab|sql}} {{generator}}` + +- Generate a given number of data items (defaults to 10): + +`fakedata {{[-l|--limit]}} {{n}} {{generator}}` + +- Generate data using a custom output template (the first letter of generator names must be capitalized): + +`echo "{{\{\{Generator\}\}}}" | fakedata` diff --git a/pages/common/faker.md b/pages/common/faker.md new file mode 100644 index 00000000000000..9810021a26e9b4 --- /dev/null +++ b/pages/common/faker.md @@ -0,0 +1,28 @@ +# faker + +> A Python library and a tool to generate fake data. +> More information: . + +- Show all fake data providers along with examples: + +`faker` + +- Generate fake data of a specific type: + +`faker {{name|address|passport_full|credit_card_full|phone_number|email|company|date_time|user_name|password|job|...}}` + +- Generate a number of fake addresses from a specific country (use `localectl list-locales | cut --delimiter . --fields 1` to get list of locales): + +`faker {{[-r|--repeat]}} {{number}} {{[-l|--lang]}} {{de_DE|de_CH|...}} address` + +- Generate a number of cities in a specific country and output them to a file (use `localectl list-locales | cut --delimiter . --fields 1` to get list of locales): + +`faker {{[-r|--repeat]}} {{number}} {{[-l|--lang]}} {{en_AU|en_US|...}} city -o {{path/to/file.txt}}` + +- Generate a number of random HTTP user-agents showing verbose output: + +`faker {{[-r|--repeat]}} {{number}} {{[-v|--verbose]}} user_agent` + +- Generate a number of domain names and separate each using a specific separator: + +`faker {{[-r|--repeat]}} {{number}} {{[-s|--sep]}} '{{,}}' domain_name` diff --git a/pages/common/false.md b/pages/common/false.md index 8ec51fd834b7e8..9b28001c7496ef 100644 --- a/pages/common/false.md +++ b/pages/common/false.md @@ -1,7 +1,8 @@ # false -> Returns an exit code of 1. +> Returns a non-zero exit code. +> More information: . -- Return an exit code of 1: +- Return a non-zero exit code: `false` diff --git a/pages/common/fast.md b/pages/common/fast.md new file mode 100644 index 00000000000000..eaa89b2faba037 --- /dev/null +++ b/pages/common/fast.md @@ -0,0 +1,20 @@ +# fast + +> Test your download and upload speed using fast.com. +> More information: . + +- Measure the current download speed: + +`fast` + +- Measure the current upload speed in addition to download speed: + +`fast {{[-u|--upload]}}` + +- Display results on a single line to reduce spacing: + +`fast --single-line` + +- Display complete results - download/upload speeds, latency, and ISP info: + +`fast --verbose` diff --git a/pages/common/fastapi.md b/pages/common/fastapi.md new file mode 100644 index 00000000000000..0d234a16dbfc66 --- /dev/null +++ b/pages/common/fastapi.md @@ -0,0 +1,28 @@ +# fastapi + +> Run FastAPI apps which uses Uvicorn under the hood. +> More information: . + +- Run a FastAPI app with automatic reload (for development): + +`fastapi run {{path/to/file.py}} --reload` + +- Serve your app in both development mode: + +`fastapi dev {{path/to/file.py}}` + +- Specify the host and port to run on: + +`fastapi run {{path/to/file.py}} --host {{host_address}} --port {{port}}` + +- Set the app variable name (if not `app`) or specify a custom app directory: + +`fastapi run {{path/to/file.py}} --app-dir {{path/to/app}} --app {{custom_app_name}}` + +- Display help: + +`fastapi --help` + +- Display help for a subcommand: + +`fastapi {{subcommand}} --help` diff --git a/pages/common/fastboot.md b/pages/common/fastboot.md index 082b5bfbfaeaab..2f61d175349d27 100644 --- a/pages/common/fastboot.md +++ b/pages/common/fastboot.md @@ -1,7 +1,7 @@ # fastboot -> Communicate with connected Android devices when in bootloader mode (the one place `adb` doesn't work). -> More information: . +> Communicate with connected Android devices when in bootloader mode (the one place ADB doesn't work). +> More information: . - Unlock the bootloader: @@ -17,13 +17,13 @@ - Flash a given image: -`fastboot flash {{file.zip}}` +`fastboot flash {{path/to/file.img}}` - Flash a custom recovery image: -`fastboot flash recovery {{file.img}}` +`fastboot flash recovery {{path/to/file.img}}` -- Display connected devices: +- List connected devices: `fastboot devices` diff --git a/pages/common/fastd.md b/pages/common/fastd.md new file mode 100644 index 00000000000000..8dbf11aec58918 --- /dev/null +++ b/pages/common/fastd.md @@ -0,0 +1,30 @@ +# fastd + +> VPN daemon. +> Works on Layer 2 or Layer 3, supports different encryption methods, used by Freifunk. +> See also: `ivpn`, `mozillavpn`, `mullvad`, `warp-cli`. +> More information: . + +- Start `fastd` with a specific configuration file: + +`fastd {{[-c|--config]}} {{path/to/fastd.conf}}` + +- Start a Layer 3 VPN with an MTU of 1400, loading the rest of the configuration parameters from a file: + +`fastd {{[-m|--mode]}} {{tap}} {{[-M|--mtu]}} {{1400}} {{[-c|--config]}} {{path/to/fastd.conf}}` + +- Validate a configuration file: + +`fastd --verify-config {{[-c|--config]}} {{path/to/fastd.conf}}` + +- Generate a new keypair: + +`fastd --generate-key` + +- Show the public key to a private key in a configuration file: + +`fastd --show-key {{[-c|--config]}} {{path/to/fastd.conf}}` + +- Display version: + +`fastd {{[-v|--version]}}` diff --git a/pages/common/fastfetch.md b/pages/common/fastfetch.md new file mode 100644 index 00000000000000..b63ace2c97d7ec --- /dev/null +++ b/pages/common/fastfetch.md @@ -0,0 +1,32 @@ +# fastfetch + +> Display information about your operating system, software and hardware. +> More information: . + +- Display system information: + +`fastfetch` + +- Display full system information with all the modules enabled: + +`fastfetch {{[-c|--config]}} all` + +- Load a custom configuration file: + +`fastfetch {{[-c|--config]}} {{path/to/config_file}}` + +- Fetch a specific structure: + +`fastfetch {{[-s|--structure]}} {{os:kernel:de:cpu:gpu}}` + +- Use a specific logo: + +`fastfetch {{[-l|--logo]}} {{logo}}` + +- Display system information without a logo: + +`fastfetch {{[-l|--logo]}} none` + +- Use a specific color for the keys and title: + +`fastfetch --color {{blue}}` diff --git a/pages/common/fastlane.md b/pages/common/fastlane.md index 4eda3f4f2ee9f6..41bded99326400 100644 --- a/pages/common/fastlane.md +++ b/pages/common/fastlane.md @@ -1,6 +1,6 @@ # fastlane -> Build and release mobile applications from the command-line. +> Build and release mobile applications. > More information: . - Build and sign the iOS application in the current directory: diff --git a/pages/common/fastmod.md b/pages/common/fastmod.md new file mode 100644 index 00000000000000..7405aced033b39 --- /dev/null +++ b/pages/common/fastmod.md @@ -0,0 +1,29 @@ +# fastmod + +> A fast partial replacement for the codemod tool, replace and replace all in the whole codebase. +> Regexes are matched by Rust regex crate. +> More information: . + +- Replace a `regex` in all files of the current directory, ignoring files on .ignore and .gitignore: + +`fastmod {{regex}} {{replacement}}` + +- Replace a `regex` in case-insensitive mode in specific files or directories: + +`fastmod --ignore-case {{regex}} {{replacement}} -- {{path/to/file path/to/directory ...}}` + +- Replace a `regex` in a specific directory in files filtered with a case-insensitive glob pattern: + +`fastmod {{regex}} {{replacement}} --dir {{path/to/directory}} --iglob {{'**/*.{js,json}'}}` + +- Replace for an exact string in `.js` or JSON files: + +`fastmod --fixed-strings {{exact_string}} {{replacement}} --extensions {{json,js}}` + +- Replace for an exact string without prompt for a confirmation (disables `regex`): + +`fastmod --accept-all --fixed-strings {{exact_string}} {{replacement}}` + +- Replace for an exact string without prompt for a confirmation, printing changed files: + +`fastmod --accept-all --print-changed-files --fixed-strings {{exact_string}} {{replacement}}` diff --git a/pages/common/fc-cache.md b/pages/common/fc-cache.md new file mode 100644 index 00000000000000..51dba8ee17f491 --- /dev/null +++ b/pages/common/fc-cache.md @@ -0,0 +1,32 @@ +# fc-cache + +> Scan font directories to build font cache files. +> More information: . + +- Generate font cache files: + +`fc-cache` + +- Generate font cache files verbosely: + +`fc-cache {{[-v|--verbose]}}` + +- Force a rebuild of all font cache files, without checking if cache is up-to-date: + +`fc-cache {{[-f|--force]}}` + +- Erase font cache files, then generate new font cache files: + +`fc-cache {{[-r|--really-force]}}` + +- Scan a specific directory: + +`fc-cache {{path/to/directory}}` + +- Scan system-wide directories, skipping the user's home directory: + +`fc-cache {{[-s|--system-only]}}` + +- Display version: + +`fc-cache {{[-V|--version]}}` diff --git a/pages/common/fc-list.md b/pages/common/fc-list.md new file mode 100644 index 00000000000000..f1d2fac370deae --- /dev/null +++ b/pages/common/fc-list.md @@ -0,0 +1,24 @@ +# fc-list + +> List available fonts installed on the system. +> More information: . + +- Return a list of installed fonts: + +`fc-list` + +- Return a list of installed fonts with given name: + +`fc-list | grep '{{DejaVu Serif}}'` + +- Return the number of installed fonts: + +`fc-list | wc {{[-l|--lines]}}` + +- Return a list of installed fonts that support the language based on its locale code: + +`fc-list :lang={{jp}}` + +- Return a list of installed fonts that contain the glyph specified by its Unicode code-point: + +`fc-list :charset={{f303}}` diff --git a/pages/common/fc-match.md b/pages/common/fc-match.md new file mode 100644 index 00000000000000..e637eaf9e652b5 --- /dev/null +++ b/pages/common/fc-match.md @@ -0,0 +1,8 @@ +# fc-match + +> Match available fonts. +> More information: . + +- Return a sorted list of best matching fonts: + +`fc-match {{[-s|--sort]}} '{{DejaVu Serif}}'` diff --git a/pages/common/fc-pattern.md b/pages/common/fc-pattern.md new file mode 100644 index 00000000000000..3327da24c809d5 --- /dev/null +++ b/pages/common/fc-pattern.md @@ -0,0 +1,12 @@ +# fc-pattern + +> Shows information about a font matching a pattern. +> More information: . + +- Display default information about a font: + +`fc-pattern {{[-d|--default]}} '{{DejaVu Serif}}'` + +- Display configuration information about a font: + +`fc-pattern {{[-c|--config]}} '{{DejaVu Serif}}'` diff --git a/pages/common/fc.md b/pages/common/fc.md new file mode 100644 index 00000000000000..de5cf5c80c0b6f --- /dev/null +++ b/pages/common/fc.md @@ -0,0 +1,32 @@ +# fc + +> Open the most recent command for editing and then run it. +> More information: . + +- Open the last command in the default system editor and run it after editing: + +`fc` + +- Specify an editor to open with: + +`fc -e {{'emacs'}}` + +- List recent commands from history: + +`fc -l` + +- List recent commands in reverse order: + +`fc -l -r` + +- Edit and run a command from history: + +`fc {{number}}` + +- Edit commands in a given interval and run them: + +`fc '{{416}}' '{{420}}'` + +- Display help: + +`fc --help` diff --git a/pages/common/fclones.md b/pages/common/fclones.md new file mode 100644 index 00000000000000..93e3cb9b336db4 --- /dev/null +++ b/pages/common/fclones.md @@ -0,0 +1,32 @@ +# fclones + +> Efficient duplicate file finder and remover. +> More information: . + +- Search for duplicate files in the current directory: + +`fclones group .` + +- Search multiple directories for duplicate files and cache the results: + +`fclones group --cache {{path/to/directory1 path/to/directory2}}` + +- Search only the specified directory for duplicate files, skipping subdirectories and save the results into a file: + +`fclones group {{path/to/directory}} --depth 1 > {{path/to/file.txt}}` + +- Move the duplicate files in a TXT file to a different directory: + +`fclones move {{path/to/target_directory}} < {{path/to/file.txt}}` + +- Perform a dry run for soft links in a TXT file without actually linking: + +`fclones link --soft < {{path/to/file.txt}} --dry-run 2 > /dev/null` + +- Delete the newest duplicates from the current directory without storing them in a file: + +`fclones group . | fclones remove --priority newest` + +- Preprocess JPEG files in the current directory by using an external command to strip their EXIF data before matching for duplicates: + +`fclones group . --name '*.jpg' -i --transform 'exiv2 -d a $IN' --in-place` diff --git a/pages/common/fd.md b/pages/common/fd.md index 00073c05eff8b9..a2106b7a8395f2 100644 --- a/pages/common/fd.md +++ b/pages/common/fd.md @@ -2,28 +2,28 @@ > An alternative to `find`. > Aims to be faster and easier to use than `find`. -> More information: . +> More information: . -- Recursively find files matching the given pattern in the current directory: +- Recursively find files matching a specific pattern in the current directory: -`fd {{pattern}}` +`fd "{{string|regex}}"` -- Find files that begin with "foo": +- Find files that begin with a specific string: -`fd {{'^foo'}}` +`fd "{{^string}}"` - Find files with a specific extension: -`fd --extension {{txt}}` +`fd {{[-e|--extension]}} {{txt}}` - Find files in a specific directory: -`fd {{pattern}} {{path/to/directory}}` +`fd "{{string|regex}}" {{path/to/directory}}` - Include ignored and hidden files in the search: -`fd --hidden --no-ignore {{pattern}}` +`fd {{[-H|--hidden]}} {{[-I|--no-ignore]}} "{{string|regex}}"` - Execute a command on each search result returned: -`fd {{pattern}} --exec {{command}}` +`fd "{{string|regex}}" {{[-x|--exec]}} {{command}}` diff --git a/pages/common/fdp.md b/pages/common/fdp.md new file mode 100644 index 00000000000000..9330636f720fe1 --- /dev/null +++ b/pages/common/fdp.md @@ -0,0 +1,25 @@ +# fdp + +> Render an image of a `force-directed` network graph from a `graphviz` file. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> More information: . + +- Render a PNG image with a filename based on the input filename and output format (uppercase -O): + +`fdp -T png -O {{path/to/input.gv}}` + +- Render a SVG image with the specified output filename (lowercase -o): + +`fdp -T svg -o {{path/to/image.svg}} {{path/to/input.gv}}` + +- Render the output in a specific format: + +`fdp -T {{ps|pdf|svg|fig|png|gif|jpg|json|dot}} -O {{path/to/input.gv}}` + +- Render a `gif` image using `stdin` and `stdout`: + +`echo "{{digraph {this -> that} }}" | fdp -T gif > {{path/to/image.gif}}` + +- Display help: + +`fdp -?` diff --git a/pages/common/fdroid.md b/pages/common/fdroid.md index 5a1cc107a791fa..b4d4a135052aca 100644 --- a/pages/common/fdroid.md +++ b/pages/common/fdroid.md @@ -1,8 +1,8 @@ # fdroid > F-Droid build tool. -> F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. -> More information: . +> F-Droid is an installable catalog of FOSS (Free and Open Source Software) applications for the Android platform. +> More information: . - Build a specific app: diff --git a/pages/common/fdroidcl.md b/pages/common/fdroidcl.md index 9666a2fe5645c8..c196902df41b34 100644 --- a/pages/common/fdroidcl.md +++ b/pages/common/fdroidcl.md @@ -1,17 +1,17 @@ # fdroidcl -> F-Droid CLI client. +> Manage F-Droid apps of devices connected via ADB. > More information: . - Fetch the F-Droid index: `fdroidcl update` -- Display info about an app: +- Display information about an app: `fdroidcl show {{app_id}}` -- Download an APK file: +- Download the APK file of an app: `fdroidcl download {{app_id}}` @@ -22,3 +22,11 @@ - Install an app on a connected device: `fdroidcl install {{app_id}}` + +- Add a repository: + +`fdroidcl repo add {{repo_name}} {{url}}` + +- Remove, enable or disable a repository: + +`fdroidcl repo {{remove|enable|disable}} {{repo_name}}` diff --git a/pages/common/fdupes.md b/pages/common/fdupes.md index ef831a17591023..c989af0c490f72 100644 --- a/pages/common/fdupes.md +++ b/pages/common/fdupes.md @@ -1,20 +1,32 @@ # fdupes -> Finds duplicate files in a given set of directories. +> Finds duplicate files in a set of directories. > More information: . - Search a single directory: -`fdupes {{directory}}` +`fdupes {{path/to/directory}}` - Search multiple directories: `fdupes {{directory1}} {{directory2}}` -- Search all directories recursively: +- Search a directory recursively: -`fdupes -r {{directory}}` +`fdupes {{[-r|--recurse]}} {{path/to/directory}}` - Search multiple directories, one recursively: -`fdupes {{directory1}} -R {{directory2}}` +`fdupes {{path/to/irectory1}} {{[-R|--recurse:]}} {{path/to/directory2}}` + +- Search recursively, considering hardlinks as duplicates: + +`fdupes {{[-rH|--recurse --hardlinks]}} {{path/to/directory}}` + +- Search recursively for duplicates and display interactive prompt to pick which ones to keep, deleting the others: + +`fdupes {{[-rd|--recurse --delete]}} {{path/to/directory}}` + +- Search recursively and delete duplicates without prompting: + +`fdupes {{[-rdN|--recurse --delete --noprompt]}} {{path/to/directory}}` diff --git a/pages/common/feh.md b/pages/common/feh.md new file mode 100644 index 00000000000000..b55d790ef5a330 --- /dev/null +++ b/pages/common/feh.md @@ -0,0 +1,36 @@ +# feh + +> Lightweight image viewing utility. +> More information: . + +- View images locally or using a URL: + +`feh {{path/to/images}}` + +- View images recursively: + +`feh {{[-r|--recursive]}} {{path/to/images}}` + +- View images and display the file name at the top-left of the images: + +`feh {{[-d|--draw-filename]}} {{path/to/images}}` + +- View images without window borders: + +`feh {{[-x|--borderless]}} {{path/to/images}}` + +- Set the behavior when reaching the beginning or end of the image list: + +`feh --on-last-slide {{hold|quit|resume}} {{path/to/images}}` + +- Use a specific slideshow cycle delay: + +`feh {{[-D|--slideshow-delay]}} {{seconds}} {{path/to/images}}` + +- Use a specific wallpaper mode (centered, filled, maximized, scaled or tiled): + +`feh --bg-{{center|fill|max|scale|tile}} {{path/to/image}}` + +- Create a montage of all images within a directory, outputting as a new image: + +`feh {{[-m|--montage]}} {{[-E|--thumb-height]}} {{150}} {{[-y|--thumb-width]}} {{150}} --index-info "{{%nn%wx%h}}" {{[-o|--output]}} {{path/to/montage_image.png}}` diff --git a/pages/common/feroxbuster.md b/pages/common/feroxbuster.md new file mode 100644 index 00000000000000..1c2a65658f46c1 --- /dev/null +++ b/pages/common/feroxbuster.md @@ -0,0 +1,21 @@ +# feroxbuster + +> Simple, fast, recursive content discovery tool written in Rust. +> Used to brute-force hidden paths on web servers and more. +> More information: . + +- Discover specific directories and files that match in the wordlist with extensions and 100 threads and a random user-agent: + +`feroxbuster --url "{{https://example.com}}" --wordlist {{path/to/file}} --threads {{100}} --extensions "{{php,txt}}" --random-agent` + +- Enumerate directories without recursion through a specific proxy: + +`feroxbuster --url "{{https://example.com}}" --wordlist {{path/to/file}} --no-recursion --proxy "{{http://127.0.0.1:8080}}"` + +- Find links in webpages: + +`feroxbuster --url "{{https://example.com}}" --extract-links` + +- Filter by a specific status code and a number of chars: + +`feroxbuster --url "{{https://example.com}}" --filter-status {{301}} --filter-size {{4092}}` diff --git a/pages/common/ffe.md b/pages/common/ffe.md new file mode 100644 index 00000000000000..b9acc1bbe872ac --- /dev/null +++ b/pages/common/ffe.md @@ -0,0 +1,29 @@ +# ffe + +> Extract fields from a flat database file and write to another format. +> A configuration file is required to interpret the input and format the output. +> More information: . + +- Display all input data using the specified data configuration: + +`ffe {{[-c|--configuration]}} {{path/to/config.ffe}} {{path/to/input}}` + +- Convert an input file to an output file in a new format: + +`ffe --output={{path/to/output}} {{[-c|--configuration]}} {{path/to/config.ffe}} {{path/to/input}}` + +- Select input structure and print format from definitions in `~/.fferc` configuration file: + +`ffe {{[-s|--structure]}} {{structure}} {{[-p|--print]}} {{format}} {{path/to/input}}` + +- Write only the selected fields: + +`ffe {{[-f|--field-list]}} "{{FirstName,LastName,Age}}" {{[-c|--configuration]}} {{path/to/config.ffe}} {{path/to/input}}` + +- Write only the records that match an expression: + +`ffe {{[-e|--expression]}} "{{LastName=Smith}}" {{[-c|--configuration]}} {{path/to/config.ffe}} {{path/to/input}}` + +- Display help: + +`ffe {{[-?|--help]}}` diff --git a/pages/common/ffmpeg.md b/pages/common/ffmpeg.md index dd5af10267e611..c856bafbf8e260 100644 --- a/pages/common/ffmpeg.md +++ b/pages/common/ffmpeg.md @@ -1,36 +1,36 @@ # ffmpeg > Video conversion tool. -> More information: . +> More information: . - Extract the sound from a video and save it as MP3: -`ffmpeg -i {{video.mp4}} -vn {{sound}}.mp3` +`ffmpeg -i {{path/to/video.mp4}} -vn {{path/to/sound.mp3}}` -- Convert frames from a video or GIF into individual numbered images: +- Transcode a FLAC file to Red Book CD format (44100kHz, 16bit): -`ffmpeg -i {{video.mpg|video.gif}} {{frame_%d.png}}` +`ffmpeg -i {{path/to/input_audio.flac}} -ar 44100 -sample_fmt s16 {{path/to/output_audio.wav}}` -- Combine numbered images (frame_1.jpg, frame_2.jpg, etc) into a video or GIF: +- Save a video as GIF, scaling the height to 1000px and setting framerate to 15: -`ffmpeg -i {{frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` +`ffmpeg -i {{path/to/video.mp4}} {{[-vf|-filter:v]}} 'scale=-1:{{1000}}' -r {{15}} {{path/to/output.gif}}` -- Quickly extract a single frame from a video at time mm:ss and save it as a 128x128 resolution image: +- Combine numbered images (`frame_1.jpg`, `frame_2.jpg`, etc) into a video or GIF: -`ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -frames 1 -s {{128x128}} -f image2 {{image.png}}` +`ffmpeg -i {{path/to/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` - Trim a video from a given start time mm:ss to an end time mm2:ss2 (omit the -to flag to trim till the end): -`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{video.mp4}} -codec copy {{output.mp4}}` +`ffmpeg -i {{path/to/input_video.mp4}} -ss {{mm:ss}} -to {{mm2:ss2}} {{[-c|-codec]}} copy {{path/to/output_video.mp4}}` - Convert AVI video to MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23: -`ffmpeg -i {{input_video}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{output_video}}.mp4` +`ffmpeg -i {{path/to/input_video}}.avi {{[-c|-codec]}}:a aac -b:a 128k {{[-c|-codec]}}:v libx264 -crf 23 {{path/to/output_video}}.mp4` - Remux MKV video to MP4 without re-encoding audio or video streams: -`ffmpeg -i {{input_video}}.mkv -codec copy {{output_video}}.mp4` +`ffmpeg -i {{path/to/input_video}}.mkv {{[-c|-codec]}} copy {{path/to/output_video}}.mp4` -- Convert MP4 video to VP9 codec. For the best quality, use a CRF value (recommended range 15-35) and -b:video MUST be 0: +- Convert MP4 video to VP9 codec. For the best quality, use a CRF value (recommended range 15-35) and -b:v MUST be 0: -`ffmpeg -i {{input_video}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{number_of_threads}} {{output_video}}.webm` +`ffmpeg -i {{path/to/input_video}}.mp4 {{[-c|-codec]}}:v libvpx-vp9 -crf {{30}} -b:v 0 {{[-c|-codec]}}:a libopus -vbr on -threads {{number_of_threads}} {{path/to/output_video}}.webm` diff --git a/pages/common/ffplay.md b/pages/common/ffplay.md new file mode 100644 index 00000000000000..8e42ba169ddbf8 --- /dev/null +++ b/pages/common/ffplay.md @@ -0,0 +1,24 @@ +# ffplay + +> A simple and portable media player using the FFmpeg libraries and the SDL library. +> More information: . + +- Play a media file: + +`ffplay {{path/to/file}}` + +- Play audio from a media file without a GUI: + +`ffplay -nodisp {{path/to/file}}` + +- Play media passed by `ffmpeg` through `stdin`: + +`ffmpeg -i {{path/to/file}} -c {{copy}} -f {{media_format}} - | ffplay -` + +- Play a video and show motion vectors in real time: + +`ffplay -flags2 +export_mvs -vf codecview=mv=pf+bf+bb {{path/to/file}}` + +- Show only video keyframes: + +`ffplay -vf select="{{eq(pict_type\,PICT_TYPE_I)}}" {{path/to/file}}` diff --git a/pages/common/ffprobe.md b/pages/common/ffprobe.md index 8c9c17a1b38616..bb76bb7960d3dd 100644 --- a/pages/common/ffprobe.md +++ b/pages/common/ffprobe.md @@ -5,20 +5,20 @@ - Display all available stream info for a media file: -`ffprobe -v error -show_entries {{input.mp4}}` +`ffprobe {{[-v|-loglevel]}} error -show_streams {{input.mp4}}` - Display media duration: -`ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}` +`ffprobe {{[-v|-loglevel]}} error -show_entries format=duration {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}` - Display the frame rate of a video: -`ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}` +`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream=avg_frame_rate {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}` - Display the width or height of a video: -`ffprobe -v error -select_streams v:0 -show_entries stream={{width|height}} -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}` +`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream={{width|height}} {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}` - Display the average bit rate of a video: -`ffprobe -v error -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}` +`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream=bit_rate {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}` diff --git a/pages/common/ffsend.md b/pages/common/ffsend.md index aba71dc1e9dedd..eb55361064a471 100644 --- a/pages/common/ffsend.md +++ b/pages/common/ffsend.md @@ -1,11 +1,11 @@ # ffsend -> Easily and securely share files from command line. +> Easily and securely share files. > More information: . - Upload a file: -`ffsend upload {{file}}` +`ffsend upload {{path/to/file}}` - Download a file: @@ -13,12 +13,12 @@ - Upload a file with password: -`ffsend upload {{file}} -p {{password}}` +`ffsend upload {{path/to/file}} {{[-p|--password]}} {{password}}` - Download a file protected by password: -`ffsend download {{file}} -p {{password}}` +`ffsend download {{url}} {{[-p|--password]}} {{password}}` - Upload a file and allow 4 downloads: -`ffsend upload {{file}} -d {{4}}` +`ffsend upload {{path/to/file}} {{[-d|--downloads]}} {{4}}` diff --git a/pages/common/ffuf.md b/pages/common/ffuf.md new file mode 100644 index 00000000000000..f45ce99f30ddef --- /dev/null +++ b/pages/common/ffuf.md @@ -0,0 +1,33 @@ +# ffuf + +> A fast web fuzzer written in Go. +> The `FUZZ` keyword is used as a placeholder. `ffuf` will try to hit the URL by replacing the word `FUZZ` with every word in the wordlist. +> More information: . + +- Enumerate directories using [c]olored output and a [w]ordlist specifying a target [u]RL: + +`ffuf -c -w {{path/to/wordlist.txt}} -u {{http://example.com/FUZZ}}` + +- Enumerate webservers of subdomains by changing the position of the keyword: + +`ffuf -w {{path/to/subdomains.txt}} -u {{http://FUZZ.example.com}}` + +- Fuzz with specified [t]hreads (default: 40) and pro[x]ying the traffic and save [o]utput to a file: + +`ffuf -o -w {{path/to/wordlist.txt}} -u {{http://example.com/FUZZ}} -t {{500}} -x {{http://127.0.0.1:8080}}` + +- Fuzz a specific [H]eader ("Name: Value") and [m]atch HTTP status [c]odes: + +`ffuf -w {{path/to/wordlist.txt}} -u {{http://example.com}} -H "{{Host: FUZZ}}" -mc {{200}}` + +- Fuzz with specified HTTP method and [d]ata, while [f]iltering out comma separated status [c]odes: + +`ffuf -w {{path/to/postdata.txt}} -X {{POST}} -d "{{username=admin\&password=FUZZ}}" -u {{http://example.com/login.php}} -fc {{401,403}}` + +- Fuzz multiple positions with multiple wordlists using different modes: + +`ffuf -w {{path/to/keys:KEY}} -w {{path/to/values:VALUE}} -mode {{pitchfork|clusterbomb}} -u {{http://example.com/id?KEY=VALUE}}` + +- Proxy requests through a HTTP MITM pro[x]y (such as Burp Suite or `mitmproxy`): + +`ffuf -w {{path/to/wordlist}} -x {{http://127.0.0.1:8080}} -u {{http://example.com/FUZZ}}` diff --git a/pages/common/fg.md b/pages/common/fg.md index 5610abff5d74b4..ab586c75892e99 100644 --- a/pages/common/fg.md +++ b/pages/common/fg.md @@ -1,11 +1,13 @@ # fg > Run jobs in foreground. +> See also: `jobs`, `bg`, `disown`. +> More information: . -- Bring most recently suspended background job to foreground: +- Bring most recently suspended or running background job to foreground: `fg` -- Bring a specific job to foreground: +- Bring a specific job to foreground (run `jobs` to find the job number): -`fg %{{job_id}}` +`fg %{{job_number}}` diff --git a/pages/common/fgrep.md b/pages/common/fgrep.md index 7d33e48f94a349..baaff9b7f4b1f3 100644 --- a/pages/common/fgrep.md +++ b/pages/common/fgrep.md @@ -1,28 +1,29 @@ # fgrep -> Matches patterns in files. -> Supports simple patterns and regular expressions. +> Matches fixed strings in files. +> Equivalent to `grep -F`. +> More information: . - Search for an exact string in a file: `fgrep {{search_string}} {{path/to/file}}` -- Search only lines that match entirely in files: +- Search only lines that match entirely in one or more files: -`fgrep -x {{path/to/file1}} {{path/to/file2}}` +`fgrep {{[-x|--line-regexp]}} {{search_string}} {{path/to/file1 path/to/file2 ...}}` - Count the number of lines that match the given string in a file: -`fgrep -c {{search_string}} {{path/to/file}}` +`fgrep {{[-c|--count]}} {{search_string}} {{path/to/file}}` - Show the line number in the file along with the line matched: -`fgrep -n {{search_string}} {{path/to/file}}` +`fgrep {{[-n|--line-number]}} {{search_string}} {{path/to/file}}` -- Display all lines except those that contain the given regular expression: +- Display all lines except those that contain the search string: -`fgrep -v {{^regex$}} {{path/to/file}}` +`fgrep {{[-v|--invert-match]}} {{search_string}} {{path/to/file}}` -- Display filenames whose content matches the regular expression at least once: +- Display filenames whose content matches the search string at least once: -`fgrep -l {{^regex$}} {{path/to/file1}} {{path/to/file2}}` +`fgrep {{[-l|--files-with-matches]}} {{search_string}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/fi.md b/pages/common/fi.md new file mode 100644 index 00000000000000..b99d98c4443261 --- /dev/null +++ b/pages/common/fi.md @@ -0,0 +1,7 @@ +# fi + +> This shell keyword is used to end an `if` statement. + +- View documentation for the `if` keyword: + +`tldr if` diff --git a/pages/common/fiascotopnm.md b/pages/common/fiascotopnm.md new file mode 100644 index 00000000000000..f3739791bde0b7 --- /dev/null +++ b/pages/common/fiascotopnm.md @@ -0,0 +1,24 @@ +# fiascotopnm + +> Convert a compressed FIASCO file to a PNM image. +> More information: . + +- Convert a compressed FIASCO file to a PNM file or in the case of video streams multiple PNM files: + +`fiascotopnm {{path/to/file.fiasco}} {{[-o|--output]}} {{output_file_basename}}` + +- Use fast decompression, resulting in a slightly decreased quality of the output file(s): + +`fiascotopnm {{[-z|--fast]}} {{path/to/file.fiasco}} {{[-o|--output]}} {{output_file_basename}}` + +- Load the options to be used from the specified configuration file: + +`fiascotopnm {{[-f|--config]}} {{path/to/fiascorc}} {{path/to/file.fiasco}} {{[-o|--output]}} {{output_file_basename}}` + +- Magnify the decompressed image(s) by a factor of 2^n: + +`fiascotopnm {{[-m|--magnify]}} {{n}} {{path/to/file.fiasco}} {{[-o|--output]}} {{output_file_basename}}` + +- Smooth the decompressed image by the specified amount: + +`fiascotopnm {{[-s|--smoothing]}} {{n}} {{path/to/file.fiasco}} {{[-o|--output]}} {{output_file_basename}}` diff --git a/pages/common/figlet.md b/pages/common/figlet.md index fb2ab033a678cb..0c65166ce9cabf 100644 --- a/pages/common/figlet.md +++ b/pages/common/figlet.md @@ -1,19 +1,33 @@ # figlet > Generate ASCII banners from user input. +> See also: `showfigfonts`. +> More information: . - Generate by directly inputting text: `figlet {{input_text}}` -- Use a custom font file: +- Use a custom [f]ont file: -`figlet {{input_text}} -f {{font_filename}}` +`figlet -f {{path/to/font_file.flf}} {{input_text}}` -- Pipe command output through figlet: +- Use a [f]ont from the default font directory (the extension can be omitted): + +`figlet -f {{font_filename}} {{input_text}}` + +- Pipe command output through FIGlet: `{{command}} | figlet` -- Show available figlet fonts: +- Show available FIGlet fonts: `showfigfonts {{optional_string_to_display}}` + +- Use the full width of the [t]erminal and [c]enter the input text: + +`figlet -t -c {{input_text}}` + +- Display all characters at full [W]idth to avoid overlapping: + +`figlet -W {{input_text}}` diff --git a/pages/common/figlist.md b/pages/common/figlist.md new file mode 100644 index 00000000000000..f579a0c10e5462 --- /dev/null +++ b/pages/common/figlist.md @@ -0,0 +1,21 @@ +# figlist + +> List the figlet fonts and control files. +> See also: `figlet`, `showfigfonts`, `chkfont`. +> More information: . + +- List all available fonts using the default font directory: + +`figlist` + +- List fonts from a custom directory: + +`figlist -d {{path/to/directory}}` + +- Search for a font by keyword: + +`figlist -d {{path/to/directory}} | grep {{keyword}}` + +- Count the total number of available fonts in a specified directory: + +`figlist -d {{path/to/directory}} | wc {{[-l|--lines]}}` diff --git a/pages/common/file-rename.md b/pages/common/file-rename.md new file mode 100644 index 00000000000000..c813f8d07c33db --- /dev/null +++ b/pages/common/file-rename.md @@ -0,0 +1,7 @@ +# file-rename + +> This command is an alias of `rename`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages/common/file.md b/pages/common/file.md new file mode 100644 index 00000000000000..4ba388c2d5431a --- /dev/null +++ b/pages/common/file.md @@ -0,0 +1,24 @@ +# file + +> Determine file type. +> More information: . + +- Give a description of the type of the specified file: + +`file {{path/to/file}}` + +- Look inside a zipped file and determine the file type(s) inside: + +`file {{[-z|--uncompress]}} {{path/to/file.zip}}` + +- Allow `file` to work with special or device files: + +`file {{[-s|--special-files]}} {{path/to/file}}` + +- Don't stop at first file type match; keep going until the end of the file: + +`file {{[-k|--keep-going]}} {{path/to/file}}` + +- Determine the MIME encoding type of a file: + +`file {{[-i|--mime]}} {{path/to/file}}` diff --git a/pages/common/filebrowser.md b/pages/common/filebrowser.md new file mode 100644 index 00000000000000..def0759bc604ce --- /dev/null +++ b/pages/common/filebrowser.md @@ -0,0 +1,36 @@ +# filebrowser + +> Simple HTTP web server to manage files and directories. +> More information: . + +- Start a new server instance serving the current directory: + +`filebrowser` + +- Start a new server instance serving a specific root directory: + +`filebrowser {{[-r|--root]}} {{path/to/directory}}` + +- Start an instance with different host address (defaults to `127.0.0.1`) and port (defaults to `8080`): + +`filebrowser {{[-a|--address]}} {{host}} {{[-p|--port]}} {{port}} {{[-r|--root]}} {{path/to/directory}}` + +- Start an instance with a specified configuration file, storing the application database in a specific location (defaults to `filebrowser.db` on the current directory): + +`filebrowser {{[-c|--config]}} {{path/to/file}} {{[-d|--database]}} {{path/to/database.db}} {{[-r|--root]}} {{path/to/directory}}` + +- Set up a different default first-time account username and password (both default to `admin`) when setting up a new instance: + +`filebrowser --username {{username}} --password {{password}} {{[-r|--root]}} {{path/to/directory}}` + +- Set up the maximum amount of image processors used when generating thumbnails (defaults to `4`): + +`filebrowser --img-processors {{4}} {{[-r|--root]}} {{path/to/directory}}` + +- Disable image thumbnails as well as the Command Runner feature, limiting access for hosted script files from being executed inside the app: + +`filebrowser --disable-exec --disable-thumbnails {{[-r|--root]}} {{path/to/directory}}` + +- Disable resizing of image previews as well as detecting file types by reading their headers: + +`filebrowser --disable-preview-resize --disable-type-detection-by-header {{[-r|--root]}} {{path/to/directory}}` diff --git a/pages/common/filecheck.md b/pages/common/filecheck.md new file mode 100644 index 00000000000000..104a3cecdbf430 --- /dev/null +++ b/pages/common/filecheck.md @@ -0,0 +1,25 @@ +# FileCheck + +> Flexible pattern matching file verifier. +> It is typically used from LLVM regression tests and forms a part of a `lit` test. +> More information: . + +- Match `input_file` content with pattern file `check_file`: + +`FileCheck --input-file={{path/to/input_file}} {{path/to/check_file}}` + +- Match input from the `stdin` with pattern file `check_file`: + +`echo "{{some_text}}" | FileCheck {{path/to/check_file}}` + +- Match with the specified custom check `prefix` (Note: The default prefix is `CHECK`): + +`echo "{{some_text}}" | FileCheck --check-prefix={{prefix}} {{path/to/check_file}}` + +- Print good directive pattern matches: + +`echo "{{some_text}}" | FileCheck -v {{path/to/check_file}}` + +- Input `llvm_code.ll` into llvm-as, then pipe the output into FileCheck to match: + +`llvm-as {{path/to/llvm_code.ll}} | FileCheck {{path/to/check_file}}` diff --git a/pages/common/filen.md b/pages/common/filen.md new file mode 100644 index 00000000000000..8d2d4ac5539b84 --- /dev/null +++ b/pages/common/filen.md @@ -0,0 +1,36 @@ +# filen + +> Interface with Filen, an end-to-end encrypted cloud storage service. +> More information: . + +- Enter interactive mode: + +`filen` + +- Upload a local file to a specific remote folder: + +`filen upload {{path/to/local_file}} {{remote_folder_id}}` + +- Download a file or folder using its remote ID: + +`filen download {{remote_id}} {{path/to/local_destination}}` + +- List files and folders inside a remote folder: + +`filen ls {{remote_folder}}` + +- Delete a remote file or folder (move it to trash): + +`filen rm {{remote_id}}` + +- Restore a trashed item: + +`filen trash restore {{remote_id}}` + +- Synchronize a local folder with a remote folder (two-way sync): + +`filen sync {{path/to/local_folder}}:/{{remote_folder}} --continuous` + +- Download changes from the cloud to a local folder (one-way sync): + +`filen sync {{path/to/local_folder}}:ctl:/{{remote_folder}}` diff --git a/pages/common/fin.md b/pages/common/fin.md index 7be5682c95572d..6005b01650d300 100644 --- a/pages/common/fin.md +++ b/pages/common/fin.md @@ -1,6 +1,6 @@ # fin -> Docksal command line utility. +> Docksal utility. > More information: . - Start the project in the current directory: @@ -21,4 +21,4 @@ - Display logs of a specific container and follow the log: -`fin logs -f {{container_name}}` +`fin logs {{[-f|--follow]}} {{container_name}}` diff --git a/pages/common/find.md b/pages/common/find.md index e4135d525e217e..55d46f39c5a1a7 100644 --- a/pages/common/find.md +++ b/pages/common/find.md @@ -1,35 +1,36 @@ # find -> Find files or directories under the given directory tree, recursively. +> Find files or directories under a directory tree, recursively. +> More information: . - Find files by extension: `find {{root_path}} -name '{{*.ext}}'` -- Find files by matching multiple patterns: +- Find files matching multiple path/name patterns: -`find {{root_path}} -name '{{*pattern_1*}}' -or -name '{{*pattern_2*}}'` +`find {{root_path}} -path '{{*/path/*/*.ext}}' -or -name '{{*pattern*}}'` - Find directories matching a given name, in case-insensitive mode: `find {{root_path}} -type d -iname '{{*lib*}}'` -- Find files matching a path pattern: - -`find {{root_path}} -path '{{**/lib/**/*.ext}}'` - - Find files matching a given pattern, excluding specific paths: `find {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'` -- Find files matching a given size range: +- Find files matching a given size range, limiting the recursive depth to "1": -`find {{root_path}} -size {{+500k}} -size {{-10M}}` +`find {{root_path}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` - Run a command for each file (use `{}` within the command to access the filename): -`find {{root_path}} -name '{{*.ext}}' -exec {{wc -l {} }}\;` +`find {{root_path}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- Find all files modified today and pass the results to a single command as arguments: + +`find {{root_path}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` -- Find files modified in the last 7 days, and delete them: +- Search for either empty files or directories and delete them verbosely: -`find {{root_path}} -mtime {{-7}} -delete` +`find {{root_path}} -type {{f|d}} -empty -delete -print` diff --git a/pages/common/finger.md b/pages/common/finger.md index 18eb7d00e3db90..12279498ecd35e 100644 --- a/pages/common/finger.md +++ b/pages/common/finger.md @@ -1,6 +1,7 @@ # finger > User information lookup program. +> More information: . - Display information about currently logged in users: @@ -14,7 +15,7 @@ `finger -s` -- Produce multi-line output format displaying same information as `-s` as well as user's home directory, home phone number, login shell, mail status, etc.: +- Produce multiline output format displaying same information as `-s` as well as user's home directory, home phone number, login shell, mail status, etc.: `finger -l` diff --git a/pages/common/fio.md b/pages/common/fio.md new file mode 100644 index 00000000000000..fd063de03815ef --- /dev/null +++ b/pages/common/fio.md @@ -0,0 +1,24 @@ +# fio + +> Flexible I/O tester: do an I/O action spawning multiple threads or processes. +> More information: . + +- Test random reads: + +`fio --filename={{path/to/file}} --direct=1 --rw=randread --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1 --readonly` + +- Test sequential reads: + +`fio --filename={{path/to/file}} --direct=1 --rw=read --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1 --readonly` + +- Test random read/write: + +`fio --filename={{path/to/file}} --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1` + +- Test with parameters from a job file: + +`fio {{path/to/job_file}}` + +- Convert a specific job file to command-line options: + +`fio --showcmd {{path/to/job_file}}` diff --git a/pages/common/firebase.md b/pages/common/firebase.md index c7ee0a117d93b1..86c61b05cb88aa 100644 --- a/pages/common/firebase.md +++ b/pages/common/firebase.md @@ -1,25 +1,28 @@ # firebase -> Firebase Command Line Interface (CLI) Tools. -> Used to test, manage, and deploy your Firebase project from the command line. +> Test, manage, and deploy Firebase projects. > More information: . -- Login: +- Log in to : `firebase login` -- Display the help: +- List existing Firebase projects: -`firebase help` +`firebase projects:list` -- List existing firebase projects: +- Start an interactive wizard to create a Firebase project in the current directory: -`firebase project:list` +`firebase init` -- Setup a firebase in the current directory: +- Deploy code and assets to the current Firebase project: -`firebase init {{options}} {{feature}}` +`firebase deploy` -- Deploy code and assets to the project in the current directory: +- Start a local server to statically host the current Firebase project's assets: -`firebase deploy` +`firebase serve` + +- Start an interactive wizard to open one of many links of the current Firebase project in the default web browser: + +`firebase open` diff --git a/pages/common/firefox.md b/pages/common/firefox.md index 37eeb8124fada5..9eaa2dae32098d 100644 --- a/pages/common/firefox.md +++ b/pages/common/firefox.md @@ -1,7 +1,7 @@ # firefox > A free and open source web browser. -> More information: . +> More information: . - Launch Firefox and open a web page: diff --git a/pages/common/fish.md b/pages/common/fish.md index 5e27268e1ed71e..8ff58996858e3b 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -1,29 +1,36 @@ # fish -> The Friendly Interactive SHell. -> A command-line interpreter designed to be user friendly. -> More information: . +> The Friendly Interactive SHell, a command-line interpreter designed to be user friendly. +> More information: . -- Start interactive shell: +- Start an interactive shell session: `fish` -- Execute a command: +- Start an interactive shell session without loading startup configs: -`fish -c "{{command}}"` +`fish {{[-N|--no-config]}}` -- Run commands from a file: +- Execute specific commands: -`fish {{file.fish}}` +`fish {{[-c|--command]}} "{{echo 'fish is executed'}}"` -- Check a file for syntax errors: +- Execute a specific script: -`fish --no-execute {{file.fish}}` +`fish {{path/to/script.fish}}` -- Display version information and exit: +- Check a specific script for syntax errors: -`fish --version` +`fish {{[-N|--no-execute]}} {{path/to/script.fish}}` -- Set and export environmental variables that persist across restarts: +- Execute specific commands from `stdin`: -`set -Ux {{variable_name}} {{variable_value}}` +`{{echo "echo 'fish is executed'"}} | fish` + +- Start an interactive shell session in private mode, where the shell does not access old history or save new history: + +`fish {{[-P|--private]}}` + +- Define and export an environmental variable that persists across shell restarts (builtin): + +`set {{[-U|--universal]}} {{[-x|--export]}} {{variable_name}} {{variable_value}}` diff --git a/pages/common/fisher.md b/pages/common/fisher.md index 866862a09427f7..5060f8f3cd246e 100644 --- a/pages/common/fisher.md +++ b/pages/common/fisher.md @@ -12,7 +12,7 @@ `fisher {{gist_url}}` -- Edit 'fishfile' by hand with your favorite editor and install multiple plugins: +- Edit 'fishfile' manually with your favorite editor and install multiple plugins: `{{editor}} ~/.config/fish/fishfile; fisher` diff --git a/pages/common/fitstopnm.md b/pages/common/fitstopnm.md new file mode 100644 index 00000000000000..f9a555854ba8a8 --- /dev/null +++ b/pages/common/fitstopnm.md @@ -0,0 +1,13 @@ +# fitstopnm + +> Convert a Flexible Image Transport System (FITS) file to a PNM image. +> See also: `pamtofits`. +> More information: . + +- Convert a FITS file to a PNM image: + +`fitstopnm {{path/to/file.fits}} > {{path/to/output.pnm}}` + +- Convert the image on the specified position of the third axis in the FITS file: + +`fitstopnm {{[-i|-image]}} {{z_position}} {{path/to/file.fits}} > {{path/to/output.pnm}}` diff --git a/pages/common/fkill.md b/pages/common/fkill.md index cb3ce520841567..9bebad58d9d1ab 100644 --- a/pages/common/fkill.md +++ b/pages/common/fkill.md @@ -7,6 +7,6 @@ `fkill` -- Kill the process by pid, name or port: +- Kill the process by PID, name or port: `fkill {{pid|name|:port}}` diff --git a/pages/common/flac.md b/pages/common/flac.md index ac61e3d2ab0a0c..75ba1249d3c562 100644 --- a/pages/common/flac.md +++ b/pages/common/flac.md @@ -1,20 +1,20 @@ # flac -> Encodes, decodes and tests flac files. +> Encodes, decodes and tests FLAC files. > More information: . -- Encode a wav file to flac (this will create a flac file in the same location as the wav file): +- Encode a WAV file to FLAC (this will create a FLAC file in the same location as the WAV file): `flac {{path/to/file.wav}}` -- Encode a wav file to flac, specifying the output file: +- Encode a WAV file to FLAC, specifying the output file: -`flac -o {{path/to/output.flac}} {{path/to/file.wav}}` +`flac {{[-o|--output-name]}} {{path/to/output.flac}} {{path/to/file.wav}}` -- Decode a flac file to wav, specifying the output file: +- Decode a FLAC file to WAV, specifying the output file: -`flac -d -o {{path/to/output.wav}} {{path/to/file.flac}}` +`flac {{[-d|--decode]}} {{[-o|--output-name]}} {{path/to/output.wav}} {{path/to/file.flac}}` -- Test a flac file for the correct encoding: +- Test a FLAC file for the correct encoding: -`flac -t {{path/to/file.flac}}` +`flac {{[-t|--test]}} {{path/to/file.flac}}` diff --git a/pages/common/flake8.md b/pages/common/flake8.md new file mode 100644 index 00000000000000..ccfae3c1c74160 --- /dev/null +++ b/pages/common/flake8.md @@ -0,0 +1,20 @@ +# flake8 + +> Check the style and quality of Python code. +> More information: . + +- Lint a file or directory recursively: + +`flake8 {{path/to/file_or_directory}}` + +- Lint a file or directory recursively and show the line on which each error occurred: + +`flake8 --show-source {{path/to/file_or_directory}}` + +- Lint a file or directory recursively and ignore a list of rules. (All available rules can be found at ): + +`flake8 --ignore {{rule1,rule2,...}} {{path/to/file_or_directory}}` + +- Lint a file or directory recursively but exclude files matching the given globs or substrings: + +`flake8 --exclude {{substring1,glob2}} {{path/to/file_or_directory}}` diff --git a/pages/common/flarectl.md b/pages/common/flarectl.md new file mode 100644 index 00000000000000..142898ae8b3f36 --- /dev/null +++ b/pages/common/flarectl.md @@ -0,0 +1,24 @@ +# flarectl + +> Official CLI for Cloudflare. +> More information: . + +- Block a specific IP: + +`flarectl firewall rules create --zone="{{example.com}}" --value="{{8.8.8.8}}" --mode="{{block}}" --notes="{{Block bad actor}}"` + +- Add a DNS record: + +`flarectl dns create --zone="{{example.com}}" --name="{{app}}" --type="{{CNAME}}" --content="{{myapp.herokuapp.com}}" --proxy` + +- List all Cloudflare IPv4/IPv6 ranges: + +`flarectl ips --ip-type {{ipv4|ipv6|all}}` + +- Create many new Cloudflare zones automatically with names from `domains.txt`: + +`for domain in $(cat {{domains.txt}}); do flarectl zone info --zone=$domain; done` + +- List all firewall rules: + +`flarectl firewall rules list` diff --git a/pages/common/flask-unsign.md b/pages/common/flask-unsign.md new file mode 100644 index 00000000000000..c0438bf9cb0735 --- /dev/null +++ b/pages/common/flask-unsign.md @@ -0,0 +1,32 @@ +# flask-unsign + +> A tool to brute-force, decode and craft `Flask` session cookies. +> More information: . + +- Decode a Flask session cookie: + +`flask-unsign {{[-d|--decode]}} {{[-c|--cookie]}} {{cookie}}` + +- Decode a session cookie fetched from a URL which returns a `Set-Cookie` header: + +`flask-unsign {{[-d|--decode]}} --server {{URL}}` + +- Brute-force a secret key using the default flask-unsign-wordlist (requires `flask-unsign-wordlist`): + +`flask-unsign {{[-u|--unsign]}} {{[-c|--cookie]}} {{cookie}}` + +- Brute-force a secret key with a custom wordlist (use `--no-literal-eval` for unquoted entries): + +`flask-unsign {{[-u|--unsign]}} {{[-c|--cookie]}} {{cookie}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` + +- Sign a new session cookie with a secret key: + +`flask-unsign {{[-s|--sign]}} {{[-c|--cookie]}} {{"{'logged_in': False}"}} {{[-S|--secret]}} {{secret}}` + +- Sign a session cookie using legacy timestamp (useful for old versions): + +`flask-unsign {{[-s|--sign]}} {{[-c|--cookie]}} {{"{'logged_in': False}"}} {{[-S|--secret]}} {{secret}} {{[-l|--legacy]}}` + +- Brute-force a session cookie with custom threads and no literal evaluation: + +`flask-unsign {{[-u|--unsign]}} {{[-c|--cookie]}} {{cookie}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} {{[-t|--threads]}} {{threads}} {{[-nE|--no-literal-eval]}}` diff --git a/pages/common/flask.md b/pages/common/flask.md index e6e60f24a1b93d..21e1e4b07bdc72 100644 --- a/pages/common/flask.md +++ b/pages/common/flask.md @@ -1,7 +1,7 @@ # flask > A general utility script for Flask applications. Loads the application defined in the `FLASK_APP` environment variable. -> More information: . +> More information: . - Run a development server: diff --git a/pages/common/flex.md b/pages/common/flex.md deleted file mode 100644 index b48a18274b1812..00000000000000 --- a/pages/common/flex.md +++ /dev/null @@ -1,16 +0,0 @@ -# flex - -> Lexical analyser generator. Based on `lex`. -> Given the specification for a lexical analyser, generates C code implementing it. - -- Generate an analyser from a flex file: - -`flex {{analyser.l}}` - -- Specify the output file: - -`flex --outfile {{analyser.c}} {{analyser.l}}` - -- Compile a C file generated by flex: - -`cc {{path/to/lex.yy.c}} --output {{executable}}` diff --git a/pages/common/flexget.md b/pages/common/flexget.md new file mode 100644 index 00000000000000..c882bea47fc6c2 --- /dev/null +++ b/pages/common/flexget.md @@ -0,0 +1,20 @@ +# flexget + +> A multipurpose automation tool for content like torrents, nzbs, podcasts, comics, series, movies, etc. +> More information: . + +- Run all Flexget tasks now: + +`flexget execute --now` + +- Start the Flexget daemon and daemonize its process: + +`flexget daemon start --daemonize` + +- List all series recorded in Flexget: + +`flexget series list` + +- Run a task from a configuration file: + +`flexget -c {{path/to/config.yml}} execute --task {{task_name}}` diff --git a/pages/common/flips.md b/pages/common/flips.md new file mode 100644 index 00000000000000..7cbd92f9f84a9e --- /dev/null +++ b/pages/common/flips.md @@ -0,0 +1,16 @@ +# flips + +> Create and apply patches for IPS and BPS files. +> More information: . + +- Start Flips to create and apply patches interactively: + +`flips` + +- Apply a patch and create a new ROM file: + +`flips --apply {{patch.bps}} {{rom.smc}} {{hack.smc}}` + +- Create a patch from two ROMs: + +`flips --create {{rom.smc}} {{hack.smc}} {{patch.bps}}` diff --git a/pages/common/flite.md b/pages/common/flite.md new file mode 100644 index 00000000000000..13bb549d79f808 --- /dev/null +++ b/pages/common/flite.md @@ -0,0 +1,28 @@ +# flite + +> Speech synthesis engine. +> More information: . + +- List all available voices: + +`flite -lv` + +- Convert a text string to speech: + +`flite -t "{{string}}"` + +- Convert the contents of a file to speech: + +`flite -f {{path/to/file.txt}}` + +- Use the specified voice: + +`flite -voice {{file://path/to/filename.flitevox|url}}` + +- Store output into a wav file: + +`flite -voice {{file://path/to/filename.flitevox|url}} -f {{path/to/file.txt}} -o {{output.wav}}` + +- Display version: + +`flite --version` diff --git a/pages/common/flow.md b/pages/common/flow.md index 3c4caf41f5de12..1ec8ce783bd571 100644 --- a/pages/common/flow.md +++ b/pages/common/flow.md @@ -1,7 +1,7 @@ # flow > A static type checker for JavaScript. -> More information: . +> More information: . - Run a flow check: diff --git a/pages/common/flox.md b/pages/common/flox.md new file mode 100644 index 00000000000000..d06650d912c931 --- /dev/null +++ b/pages/common/flox.md @@ -0,0 +1,36 @@ +# flox + +> Easy to use Nix package and environment manager. +> More information: . + +- Create a new environment in the current directory: + +`flox init` + +- Enter an environment, or create one if it doesn't exist: + +`flox activate` + +- Search for packages in the FloxHub catalog: + +`flox search {{package}}` + +- Install a package into the current environment: + +`flox {{[i|install]}} {{package}}` + +- Uninstall a package from the current environment: + +`flox uninstall {{package}}` + +- View a list of all packages installed in the current environment: + +`flox {{[l|list]}}` + +- Push a local environment to FloxHub to share with others: + +`flox push` + +- Pull a shared environment from FloxHub: + +`flox pull {{environment_name}}` diff --git a/pages/common/fls.md b/pages/common/fls.md index 8fcf91b7a9c38d..90b20375bdf4d0 100644 --- a/pages/common/fls.md +++ b/pages/common/fls.md @@ -7,10 +7,10 @@ `fls -r -m {{C:}} {{/dev/loop1p1}}` -- Analyse a single partition, providing the sector offset at which the filesystem starts in the image: +- Analyze a single partition, providing the sector offset at which the filesystem starts in the image: `fls -r -m {{C:}} -o {{sector}} {{path/to/image_file}}` -- Analyse a single partition, providing the timezone of the original system: +- Analyze a single partition, providing the timezone of the original system: `fls -r -m {{C:}} -z {{timezone}} {{/dev/loop1p1}}` diff --git a/pages/common/flutter-pub.md b/pages/common/flutter-pub.md new file mode 100644 index 00000000000000..7b2ce6bc3faa85 --- /dev/null +++ b/pages/common/flutter-pub.md @@ -0,0 +1,22 @@ +# flutter pub + +> Flutter's package manager. +> Note: Packages are available on . +> See also: `flutter`. +> More information: . + +- Download/Update all packages specified in `pubspec.yaml`: + +`flutter pub get` + +- Add a package dependency to an app: + +`flutter pub add {{package1 package2 ...}}` + +- Remove a package dependency from an app: + +`flutter pub remove {{package1 package2 ...}}` + +- Upgrade to the highest version of a package that is allowed by `pubspec.yaml`: + +`flutter pub upgrade {{package}}` diff --git a/pages/common/flutter.md b/pages/common/flutter.md index f8fc0b32a57f95..41dc7a7c837922 100644 --- a/pages/common/flutter.md +++ b/pages/common/flutter.md @@ -1,11 +1,12 @@ # flutter > Google's free, open source, and cross-platform mobile app SDK. +> Some subcommands such as `pub` have their own usage documentation. > More information: . -- Display help about a specific command: +- Initialize a new Flutter project in a directory of the same name: -`flutter help {{command}}` +`flutter create {{project_name}}` - Check if all external tools are correctly installed: @@ -19,10 +20,6 @@ `flutter run -d all` -- Download all packages specified in `pubspec.yaml`: - -`flutter pub get` - - Run tests in a terminal from the root of the project: `flutter test {{test/example_test.dart}}` @@ -30,3 +27,11 @@ - Build a release APK targeting most modern smartphones: `flutter build apk --target-platform {{android-arm}},{{android-arm64}}` + +- Delete the `build` and `.dart_tool` directories: + +`flutter clean` + +- Display help about a specific command: + +`flutter help {{command}}` diff --git a/pages/common/flutterfire.md b/pages/common/flutterfire.md new file mode 100644 index 00000000000000..3e26082bb62b40 --- /dev/null +++ b/pages/common/flutterfire.md @@ -0,0 +1,17 @@ +# flutterfire + +> Configure a Firebase project for your Flutter app. +> Note: Requires Firebase CLI and FlutterFire CLI to be installed. +> More information: . + +- Initialize and configure Firebase for your current Flutter app: + +`flutterfire configure` + +- Specify platforms (iOS, Android, web) to support: + +`flutterfire configure --platforms {{ios,android,...}}` + +- Use a specific Firebase project: + +`flutterfire configure --project {{project_id}}` diff --git a/pages/common/fluxctl.md b/pages/common/fluxctl.md new file mode 100644 index 00000000000000..4a60f07cb64c04 --- /dev/null +++ b/pages/common/fluxctl.md @@ -0,0 +1,20 @@ +# fluxctl + +> Tool for Flux v1. +> More information: . + +- List workloads currently running in the cluster on specific namespace: + +`fluxctl --k8s-fwd-ns={{namespace}} list-workloads` + +- Show deployed and available images: + +`fluxctl list-images` + +- Synchronize the cluster with the Git repository: + +`fluxctl sync` + +- Turn on automatic deployment for a workload: + +`fluxctl automate` diff --git a/pages/common/fly.md b/pages/common/fly.md index 95db7f88e3dda1..08d47f705f8c92 100644 --- a/pages/common/fly.md +++ b/pages/common/fly.md @@ -1,11 +1,11 @@ # fly -> Command line tool for concourse-ci. +> Tool for concourse-ci. > More information: . - Authenticate with and save concourse target: -`fly --target {{target_name}} login --team-name {{team_name}} -c {{https://ci.example.com}}` +`fly {{[-t|--target]}} {{target_name}} login {{[-n|--team-name]}} {{team_name}} {{[-c|--concourse-url]}} {{https://ci.example.com}}` - List targets: @@ -13,24 +13,24 @@ - List pipelines: -`fly -t {{target_name}} pipelines` +`fly {{[-t|--target]}} {{target_name}} pipelines` - Upload or update a pipeline: -`fly -t {{target_name}} set-pipeline --config {{pipeline.yml}} --pipeline {{pipeline_name}}` +`fly {{[-t|--target]}} {{target_name}} set-pipeline {{[-c|--config]}} {{pipeline.yml}} {{[-p|--pipeline]}} {{pipeline_name}}` - Unpause pipeline: -`fly -t {{target_name}} unpause-pipeline --pipeline {{pipeline_name}}` +`fly {{[-t|--target]}} {{target_name}} unpause-pipeline {{[-p|--pipeline]}} {{pipeline_name}}` - Show pipeline configuration: -`fly -t {{target_name}} get-pipeline --pipeline {{pipeline_name}}` +`fly {{[-t|--target]}} {{target_name}} get-pipeline {{[-p|--pipeline]}} {{pipeline_name}}` - Update local copy of fly: -`fly -t {{target_name}} sync` +`fly {{[-t|--target]}} {{target_name}} sync` - Destroy pipeline: -`fly -t {{target_name}} destroy-pipeline --pipeline {{pipeline_name}}` +`fly {{[-t|--target]}} {{target_name}} destroy-pipeline {{[-p|--pipeline]}} {{pipeline_name}}` diff --git a/pages/common/flyctl.md b/pages/common/flyctl.md new file mode 100644 index 00000000000000..7e46a8517ec1c1 --- /dev/null +++ b/pages/common/flyctl.md @@ -0,0 +1,36 @@ +# flyctl + +> Tool for flyctl.io. +> More information: . + +- Sign into a Fly account: + +`flyctl auth login` + +- Launch an application from a specific Dockerfile (the default path is the current working directory): + +`flyctl launch --dockerfile {{path/to/dockerfile}}` + +- Open the current deployed application in the default web browser: + +`flyctl open` + +- Deploy the Fly applications from a specific Dockerfile: + +`flyctl deploy --dockerfile {{path/to/dockerfile}}` + +- Open the Fly Web UI for the current application in a web browser: + +`flyctl dashboard` + +- List all applications in the logged-in Fly account: + +`flyctl apps list` + +- View the status of a specific running application: + +`flyctl status --app {{app_name}}` + +- Display version information: + +`flyctl version` diff --git a/pages/common/fmt.md b/pages/common/fmt.md index 0e9e1b00aa092e..aea3f6795f39d5 100644 --- a/pages/common/fmt.md +++ b/pages/common/fmt.md @@ -1,6 +1,7 @@ # fmt -> Reformat a text file by joining its paragraphs and limiting the line width to given number of characters (75 by default). +> Reformat a text file by joining its paragraphs and limiting the line width to a number of characters (75 by default). +> More information: . - Reformat a file: @@ -8,12 +9,12 @@ - Reformat a file producing output lines of (at most) `n` characters: -`fmt -w {{n}} {{path/to/file}}` +`fmt {{[-w|--width]}} {{n}} {{path/to/file}}` - Reformat a file without joining lines shorter than the given width together: -`fmt -s {{path/to/file}}` +`fmt {{[-s|--split-only]}} {{path/to/file}}` - Reformat a file with uniform spacing (1 space between words and 2 spaces between paragraphs): -`fmt -u {{path/to/file}}` +`fmt {{[-u|--uniform-spacing]}} {{path/to/file}}` diff --git a/pages/common/fnm.md b/pages/common/fnm.md index 439974224665e3..72d863671a3e51 100644 --- a/pages/common/fnm.md +++ b/pages/common/fnm.md @@ -10,7 +10,7 @@ - List all available Node.js versions and highlight the default one: -`fnm ls` +`fnm list` - Use a specific version of Node.js in the current shell: diff --git a/pages/common/fold.md b/pages/common/fold.md index 74af0493ea0e5f..402f6aaa6df1eb 100644 --- a/pages/common/fold.md +++ b/pages/common/fold.md @@ -1,15 +1,16 @@ # fold -> Wraps each line in an input file to fit a specified width and prints it to the standard output. +> Wrap each line in an input file to fit a specified width and print it to `stdout`. +> More information: . - Wrap each line to default width (80 characters): -`fold {{file}}` +`fold {{path/to/file}}` - Wrap each line to width "30": -`fold -w30 {{file}}` +`fold -w30 {{path/to/file}}` - Wrap each line to width "5" and break the line at spaces (puts each space separated word in a new line, words with length > 5 are wrapped): -`fold -w5 -s {{file}}` +`fold -w5 -s {{path/to/file}}` diff --git a/pages/common/for.md b/pages/common/for.md index 81523ec48d41a3..7dec2192468fad 100644 --- a/pages/common/for.md +++ b/pages/common/for.md @@ -1,11 +1,28 @@ # for -> Shell loop over parameters. +> Perform a command several times. +> More information: . -- Perform a command with different arguments: +- Iterate through command line arguments: -`for argument in 1 2 3; do {{command $argument}}; done` +`for {{variable}}; do {{echo $variable}}; done` -- Perform a command in every directory: +- Execute the given commands for each of the specified items: -`for d in *; do (cd $d; {{command}}); done` +`for {{variable}} in {{item1 item2 ...}}; do {{echo "Loop is executed"}}; done` + +- Iterate over a given range of numbers: + +`for {{variable}} in {{{from..to..step}}}; do {{echo "Loop is executed"}}; done` + +- Iterate over a given list of files: + +`for {{variable}} in {{path/to/file1 path/to/file2 ...}}; do {{echo "Loop is executed"}}; done` + +- Iterate over a given list of directories: + +`for {{variable}} in {{path/to/directory1/ path/to/directory2/ ...}}; do {{echo "Loop is executed"}}; done` + +- Perform a given command in every directory: + +`for {{variable}} in */; do (cd "${{variable}}" || continue; {{echo "Loop is executed"}}) done` diff --git a/pages/common/forever.md b/pages/common/forever.md index e85d6c2ed6c646..afe68ff1192522 100644 --- a/pages/common/forever.md +++ b/pages/common/forever.md @@ -1,7 +1,7 @@ # forever > Server-side JavaScript application that makes sure Node.js applications run indefinitely (restarts after exit). -> More information: . +> More information: . - Start running a file forever (as a daemon): diff --git a/pages/common/fortune.md b/pages/common/fortune.md index 5ede85fa780798..bb97e3f005befd 100644 --- a/pages/common/fortune.md +++ b/pages/common/fortune.md @@ -1,6 +1,7 @@ # fortune > Print a random quotation (fortune-cookie style). +> More information: . - Print a quotation: @@ -24,4 +25,4 @@ - Print a quotation from one of the database files listed by `fortune -f`: -`fortune {{filename}}` +`fortune {{path/to/file}}` diff --git a/pages/common/fossa.md b/pages/common/fossa.md index fbb8d5962a4919..0aec8b54299ac4 100644 --- a/pages/common/fossa.md +++ b/pages/common/fossa.md @@ -1,7 +1,7 @@ # fossa > CLI for the Fossa service - Generate realtime license audits, vulnerability scans and reports about dependencies licenses. -> More information: . +> More information: . - Initialize a `.fossa.yml` configuration file: diff --git a/pages/common/fossil-add.md b/pages/common/fossil-add.md new file mode 100644 index 00000000000000..345a3edb9d9637 --- /dev/null +++ b/pages/common/fossil-add.md @@ -0,0 +1,12 @@ +# fossil add + +> Put files or directories under Fossil version control. +> More information: . + +- Put a file or directory under version control, so it will be in the current checkout: + +`fossil add {{path/to/file_or_directory}}` + +- Remove all added files from the current checkout: + +`fossil add --reset` diff --git a/pages/common/fossil-ci.md b/pages/common/fossil-ci.md new file mode 100644 index 00000000000000..5bbc3acca5ad43 --- /dev/null +++ b/pages/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> This command is an alias of `fossil commit`. + +- View documentation for the original command: + +`tldr fossil commit` diff --git a/pages/common/fossil-commit.md b/pages/common/fossil-commit.md new file mode 100644 index 00000000000000..8eaddcd7d075fe --- /dev/null +++ b/pages/common/fossil-commit.md @@ -0,0 +1,20 @@ +# fossil commit + +> Commit files to a Fossil repository. +> More information: . + +- Create a new version containing all the changes in the current checkout; user will be prompted for a comment: + +`fossil {{[ci|commit]}}` + +- Create a new version containing all the changes in the current checkout, using the specified [m]essage: + +`fossil {{[ci|commit]}} {{[-m|--comment]}} "{{comment}}"` + +- Create a new version containing all the changes in the current checkout with a comment read from a specific file: + +`fossil {{[ci|commit]}} {{[-M|--message-file]}} {{path/to/commit_message_file}}` + +- Create a new version containing changes from the specified files; user will be prompted for a comment: + +`fossil {{[ci|commit]}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/fossil-delete.md b/pages/common/fossil-delete.md new file mode 100644 index 00000000000000..d786c7089059c9 --- /dev/null +++ b/pages/common/fossil-delete.md @@ -0,0 +1,17 @@ +# fossil delete + +> Remove files or directories from Fossil version control. +> See also: `fossil forget`. +> More information: . + +- Remove a file or directory from Fossil version control: + +`fossil {{[rm|delete]}} {{path/to/file_or_directory}}` + +- Remove a file or directory from Fossil version control, and also delete it from the disk: + +`fossil {{[rm|delete]}} --hard {{path/to/file_or_directory}}` + +- Re-add all previously removed and uncommitted files to Fossil version control: + +`fossil {{[rm|delete]}} --reset` diff --git a/pages/common/fossil-forget.md b/pages/common/fossil-forget.md new file mode 100644 index 00000000000000..50955ccfebb877 --- /dev/null +++ b/pages/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> This command is an alias of `fossil rm`, with the exception that it never removes files from the disk. +> More information: . + +- View documentation for the original command: + +`tldr fossil rm` diff --git a/pages/common/fossil-init.md b/pages/common/fossil-init.md new file mode 100644 index 00000000000000..a18b201aba45c5 --- /dev/null +++ b/pages/common/fossil-init.md @@ -0,0 +1,9 @@ +# fossil init + +> Initialize a new repository for a project. +> See also: `fossil clone`. +> More information: . + +- Create a new repository in a named file: + +`fossil init {{path/to/file}}` diff --git a/pages/common/fossil-new.md b/pages/common/fossil-new.md new file mode 100644 index 00000000000000..a4e238ba1855a4 --- /dev/null +++ b/pages/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> This command is an alias of `fossil init`. + +- View documentation for the original command: + +`tldr fossil init` diff --git a/pages/common/fossil-rm.md b/pages/common/fossil-rm.md new file mode 100644 index 00000000000000..61d9fdd8e47d0b --- /dev/null +++ b/pages/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> This command is an alias of `fossil delete`. + +- View documentation for the original command: + +`tldr fossil delete` diff --git a/pages/common/fossil.md b/pages/common/fossil.md new file mode 100644 index 00000000000000..8af6d7a3205eeb --- /dev/null +++ b/pages/common/fossil.md @@ -0,0 +1,21 @@ +# fossil + +> Distributed version control system. +> Some subcommands such as `commit` have their own usage documentation. +> More information: . + +- Execute a Fossil subcommand: + +`fossil {{subcommand}}` + +- Display help: + +`fossil help` + +- Display help for a specific subcommand (like `add`, `commit`, etc.): + +`fossil help {{subcommand}}` + +- Display version: + +`fossil version` diff --git a/pages/common/fping.md b/pages/common/fping.md index 48dbcd169c2166..82a368598b40ad 100644 --- a/pages/common/fping.md +++ b/pages/common/fping.md @@ -3,14 +3,18 @@ > A more powerful ping which can ping multiple hosts. > More information: . +- List the status of all hosts within a range: + +`fping {{192.168.1.{1..254}}}` + - List alive hosts within a subnet generated from a netmask: -`fping -a -g 192.168.1.0/24` +`fping {{[-a|--alive]}} {{[-g|--generate]}} {{192.168.1.0/24}}` -- List alive hosts within a subnet generated from an IP range: +- List alive hosts within a subnet generated from an IP range and prune per-probe results: -`fping -a -g 192.168.1.1 192.168.1.254` +`fping {{[-q|--quiet]}} {{[-a|--alive]}} {{[-g|--generate]}} {{192.168.1.1}} {{192.168.1.254}}` - List unreachable hosts within a subnet generated from a netmask: -`fping -u -g 192.168.1.0/24` +`fping {{[-u|--unreach]}} {{[-g|--generate]}} {{192.168.1.0/24}}` diff --git a/pages/common/fpsync.md b/pages/common/fpsync.md new file mode 100644 index 00000000000000..6e94f91a401a8a --- /dev/null +++ b/pages/common/fpsync.md @@ -0,0 +1,28 @@ +# fpsync + +> Execute several synchronization processes locally or on several remote workers through SSH. +> More information: . + +- Recursively synchronize a directory to another location: + +`fpsync -v /{{path/to/source}}/ /{{path/to/destination}}/` + +- Recursively synchronize a directory with the final pass (It enables rsync's `--delete` option with each synchronization job): + +`fpsync -v -E /{{path/to/source}}/ /{{path/to/destination}}/` + +- Recursively synchronize a directory to a destination using 8 concurrent synchronization jobs: + +`fpsync -v -n 8 -E /{{path/to/source}}/ /{{path/to/destination}}/` + +- Recursively synchronize a directory to a destination using 8 concurrent synchronization jobs spread over two remote workers (machine1 and machine2): + +`fpsync -v -n 8 -E -w login@machine1 -w login@machine2 -d /{{path/to/shared/directory}} /{{path/to/source}}/ /{{path/to/destination}}/` + +- Recursively synchronize a directory to a destination using 4 local workers, each one transferring at most 1000 files and 100 MB per synchronization job: + +`fpsync -v -n 4 -f 1000 -s $((100 * 1024 * 1024)) /{{path/to/source}}/ /{{path/to/destination}}/` + +- Recursively synchronize any directories but exclude specific `.snapshot*` files (Note: Options and values must be separated by a pipe character): + +`fpsync -v -O "-x|.snapshot*" /{{path/to/source}}/ /{{path/to/destination}}/` diff --git a/pages/common/freeramdisk.md b/pages/common/freeramdisk.md new file mode 100644 index 00000000000000..83da913c6adb3d --- /dev/null +++ b/pages/common/freeramdisk.md @@ -0,0 +1,9 @@ +# freeramdisk + +> Free memory used by `loadlin` ramdisk on legacy systems. +> Largely deprecated by `umount`, `losetup`, and `tmpfs`. +> More information: . + +- Free `loadlin` ramdisk memory: + +`sudo freeramdisk` diff --git a/pages/common/freshclam.md b/pages/common/freshclam.md new file mode 100644 index 00000000000000..3fd5b09e602f45 --- /dev/null +++ b/pages/common/freshclam.md @@ -0,0 +1,8 @@ +# freshclam + +> Update virus definitions for ClamAV antivirus program. +> More information: . + +- Update virus definitions: + +`freshclam` diff --git a/pages/common/from.md b/pages/common/from.md index 95c25d6fcfa099..4212eaa874c19b 100644 --- a/pages/common/from.md +++ b/pages/common/from.md @@ -1,6 +1,6 @@ # from -> Prints mail header lines from the current user's mailbox. +> Print mail header lines from the current user's mailbox. > More information: . - List mail: diff --git a/pages/common/frp.md b/pages/common/frp.md new file mode 100644 index 00000000000000..8d721293a55f70 --- /dev/null +++ b/pages/common/frp.md @@ -0,0 +1,12 @@ +# frp + +> Fast Reverse Proxy: quickly set up network tunnels to expose certain services to the Internet or other external networks. +> More information: . + +- View documentation for `frpc`, the `frp` client component: + +`tldr frpc` + +- View documentation for `frps`, the `frp` server component: + +`tldr frps` diff --git a/pages/common/frpc.md b/pages/common/frpc.md new file mode 100644 index 00000000000000..7b1c57a9f1548b --- /dev/null +++ b/pages/common/frpc.md @@ -0,0 +1,29 @@ +# frpc + +> Connect to a `frps` server to start proxying connections on the current host. +> Part of `frp`. +> More information: . + +- Start the service, using the default configuration file (assumed to be `frps.ini` in the current directory): + +`frpc` + +- Start the service, using the newer TOML configuration file (`frps.toml` instead of `frps.ini`) in the current directory: + +`frpc {{[-c|--config]}} ./frps.toml` + +- Start the service, using a specific configuration file: + +`frpc {{[-c|--config]}} {{path/to/file}}` + +- Check if the configuration file is valid: + +`frpc verify {{[-c|--config]}} {{path/to/file}}` + +- Print autocompletion setup script for Bash, fish, PowerShell, or Zsh: + +`frpc completion {{bash|fish|powershell|zsh}}` + +- Display version: + +`frpc {{[-v|--version]}}` diff --git a/pages/common/frps.md b/pages/common/frps.md new file mode 100644 index 00000000000000..b2cbb59c70699b --- /dev/null +++ b/pages/common/frps.md @@ -0,0 +1,29 @@ +# frps + +> Quickly set up a reverse proxy service. +> Part of `frp`. +> More information: . + +- Start the service, using the default configuration file (assumed to be `frps.ini` in the current directory): + +`frps` + +- Start the service, using the newer TOML configuration file (`frps.toml` instead of `frps.ini`) in the current directory: + +`frps {{[-c|--config]}} ./frps.toml` + +- Start the service, using a specified configuration file: + +`frps {{[-c|--config]}} {{path/to/file}}` + +- Check if the configuration file is valid: + +`frps verify {{[-c|--config]}} {{path/to/file}}` + +- Print autocompletion setup script for Bash, fish, PowerShell, or Zsh: + +`frps completion {{bash|fish|powershell|zsh}}` + +- Display version: + +`frps {{[-v|--version]}}` diff --git a/pages/common/fselect.md b/pages/common/fselect.md index cbdfa8b1b1b542..bd3d19af1a7dfc 100644 --- a/pages/common/fselect.md +++ b/pages/common/fselect.md @@ -3,7 +3,7 @@ > Find files with SQL-like queries. > More information: . -- Select full path and size from temporary or config files in a given directory: +- Select full path and size from temporary or configuration files in a given directory: `fselect size, path from {{path/to/directory}} where name = {{'*.cfg'}} or name = {{'*.tmp'}}` diff --git a/pages/common/fstopgm.md b/pages/common/fstopgm.md new file mode 100644 index 00000000000000..05e3a8a538bae0 --- /dev/null +++ b/pages/common/fstopgm.md @@ -0,0 +1,9 @@ +# fstopgm + +> Convert a Usenix FaceSaver file into a PGM image. +> See also: `pgmtofs`. +> More information: . + +- Convert the specified Usenix FaceSaver file into a PGM image: + +`fstopgm {{path/to/input.fs}} > {{path/to/output.pgm}}` diff --git a/pages/common/fswatch.md b/pages/common/fswatch.md index 69c8ab9f7eafc7..2f5749d532e797 100644 --- a/pages/common/fswatch.md +++ b/pages/common/fswatch.md @@ -3,18 +3,18 @@ > A cross-platform file change monitor. > More information: . -- Run a bash command on file creation, update or deletion: +- Run a Bash command on file creation, update or deletion: -`fswatch {{path/to/file}} | xargs -n 1 {{bash_command}}` +`fswatch {{path/to/file}} | xargs {{[-n|--max-args]}} 1 {{bash_command}}` - Watch one or more files and/or directories: -`fswatch {{path/to/file}} {{path/to/directory}} {{path/to/another_directory/**/*.js}} | xargs -n 1 {{bash_command}}` +`fswatch {{path/to/file}} {{path/to/directory}} {{path/to/another_directory/**/*.js}} | xargs {{[-n|--max-args]}} 1 {{bash_command}}` - Print the absolute paths of the changed files: -`fswatch {{path/to/directory}} | xargs -n 1 -I {} echo {}` +`fswatch {{path/to/directory}} | xargs {{[-n|--max-args]}} 1 -I _ echo _` -- Filter by event type, eg. Updated, Deleted or Created: +- Filter by event type: -`fswatch --event {{Updated}} {{path/to/directory}} | xargs -n 1 {{bash_command}}` +`fswatch --event {{Updated|Removed|Created|...}} {{path/to/directory}} | xargs {{[-n|--max-args]}} 1 {{bash_command}}` diff --git a/pages/common/fswebcam.md b/pages/common/fswebcam.md index 0a07e592cd9b07..0f3d6542f4982e 100644 --- a/pages/common/fswebcam.md +++ b/pages/common/fswebcam.md @@ -9,11 +9,11 @@ - Take a picture with custom resolution: -`fswebcam -r {{width}}x{{height}} {{filename}}` +`fswebcam {{[-r|--resolution]}} {{width}}x{{height}} {{filename}}` -- Take a picture from selected device(Default is /dev/video0): +- Take a picture from selected device(Default is `/dev/video0`): -`fswebcam -d {{device}} {{filename}}` +`fswebcam {{[-d|--device]}} {{device}} {{filename}}` - Take a picture with timestamp(timestamp string is formatted by strftime): diff --git a/pages/common/ftp.md b/pages/common/ftp.md index b1594000999993..25f0f0996d8f71 100644 --- a/pages/common/ftp.md +++ b/pages/common/ftp.md @@ -1,11 +1,16 @@ # ftp > Tools to interact with a server via File Transfer Protocol. +> More information: . - Connect to an FTP server: `ftp {{ftp.example.com}}` +- Connect to an FTP server specifying its IP address and port: + +`ftp {{ip_address}} {{port}}` + - Switch to binary transfer mode (graphics, compressed files, etc): `binary` diff --git a/pages/common/fuck.md b/pages/common/fuck.md index e6bd3bc87fb59d..45e105dcc7b60a 100644 --- a/pages/common/fuck.md +++ b/pages/common/fuck.md @@ -10,3 +10,7 @@ - Try to match a rule for the previous command: `fuck` + +- Confirm the first choice immediately (correct argument depends on level of annoyance): + +`fuck --{{yes|yeah|hard}}` diff --git a/pages/common/func.md b/pages/common/func.md index f2c30361813d29..4ef006fe628303 100644 --- a/pages/common/func.md +++ b/pages/common/func.md @@ -1,8 +1,8 @@ # func -> Azure Functions Core Tools: Develop and test Azure Functions locally. +> Azure Functions Core Tools: develop and test Azure Functions locally. > Local functions can connect to live Azure services, and can deploy a function app to an Azure subscription. -> More information: . +> More information: . - Create a new functions project: diff --git a/pages/common/function.md b/pages/common/function.md new file mode 100644 index 00000000000000..f0a7a126c87709 --- /dev/null +++ b/pages/common/function.md @@ -0,0 +1,20 @@ +# function + +> Define a function. +> More information: . + +- Define a function with the specified name: + +`function {{func_name}} { {{echo "Function contents here"}}; }` + +- Run a function named `func_name`: + +`func_name` + +- Define a function without the `function` keyword: + +`{{func_name}}() { {{echo "Function contents here"}}; }` + +- Display help: + +`help function` diff --git a/pages/common/funzip.md b/pages/common/funzip.md new file mode 100644 index 00000000000000..e73e3be4de8f66 --- /dev/null +++ b/pages/common/funzip.md @@ -0,0 +1,16 @@ +# funzip + +> Print the content of the first (non-directory) member in an archive without extraction. +> More information: . + +- Print the content of the first member in a Zip archive: + +`funzip {{path/to/archive.zip}}` + +- Print the content in a gzip archive: + +`funzip {{path/to/archive.gz}}` + +- Decrypt a Zip or gzip archive and print the content: + +`funzip -password {{password}} {{path/to/archive}}` diff --git a/pages/common/fusermount.md b/pages/common/fusermount.md new file mode 100644 index 00000000000000..8ba0fbb9525ae1 --- /dev/null +++ b/pages/common/fusermount.md @@ -0,0 +1,16 @@ +# fusermount + +> Mount and unmount FUSE filesystems. +> More information: . + +- Unmount a FUSE filesystem: + +`fusermount -u {{path/to/mount_point}}` + +- Unmount a FUSE filesystem as soon as it becomes unused: + +`fusermount -z {{path/to/mount_point}}` + +- Display version: + +`fusermount --version` diff --git a/pages/common/fvm.md b/pages/common/fvm.md new file mode 100644 index 00000000000000..51b8d7772414cc --- /dev/null +++ b/pages/common/fvm.md @@ -0,0 +1,32 @@ +# fvm + +> Flutter version manager. +> More information: . + +- Install a version of the Flutter SDK. Use without `version` for project settings: + +`fvm install {{version}}` + +- Set a specific version of Flutter SDK in a project: + +`fvm use {{version}} {{options}}` + +- Set a global version of the Flutter SDK: + +`fvm global {{version}}` + +- Delete the FVM cache: + +`fvm destroy` + +- Remove a specific version of the Flutter SDK: + +`fvm remove {{version}}` + +- List all installed versions of the Flutter SDK: + +`fvm list` + +- List all releases of the Flutter SDK: + +`fvm releases` diff --git a/pages/common/fzf.md b/pages/common/fzf.md index 483437807232c3..591e3faf8d1ff6 100644 --- a/pages/common/fzf.md +++ b/pages/common/fzf.md @@ -1,28 +1,29 @@ # fzf -> Command line fuzzy finder. -> More information: . +> Fuzzy finder. +> Similar to `sk`. +> More information: . -- Start finder on all files from arbitrary locations: +- Start `fzf` on all files in the specified directory: -`find {{path/to/search}} -type f | fzf` +`find {{path/to/directory}} -type f | fzf` -- Start finder on running processes: +- Start `fzf` for running processes: `ps aux | fzf` -- Select multiple files with `Shift + Tab` and write to a file: +- Select multiple files with `` and write to a file: -`find {{path/to/search_files}} -type f | fzf -m > {{filename}}` +`find {{path/to/directory}} -type f | fzf {{[-m|--multi]}} > {{path/to/file}}` -- Start finder with a given query: +- Start `fzf` with a specified query: -`fzf -q "{{query}}"` +`fzf {{[-q|--query]}} "{{query}}"` -- Start finder on entries that start with core and end with either go, rb, or py: +- Start `fzf` on entries that start with `core` and end with either `go`, `rb`, or `py`: -`fzf -q "^core go$ | rb$ | py$"` +`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"` -- Start finder on entries that not match pyc and match exactly travis: +- Start `fzf` on entries that do not match `pyc` and contain `travis`: -`fzf -q "!pyc 'travis"` +`fzf {{[-q|--query]}} '!pyc travis'` diff --git a/pages/common/g++.md b/pages/common/g++.md index 54d8f8a139af1a..a54dca64b2efc7 100644 --- a/pages/common/g++.md +++ b/pages/common/g++.md @@ -1,21 +1,37 @@ -# gplusplus +# g++ -> Compiles C++ source files. +> Compile C++ source files. > Part of GCC (GNU Compiler Collection). -> More information: . +> More information: . - Compile a source code file into an executable binary: -`g++ {{source.cpp}} -o {{output_executable}}` +`g++ {{path/to/source1.cpp path/to/source2.cpp ...}} {{[-o|--output]}} {{path/to/output_executable}}` -- Display (almost) all errors and warnings: +- Activate output of all errors and warnings: -`g++ {{source.cpp}} -Wall -o {{output_executable}}` +`g++ {{path/to/source.cpp}} -Wall {{[-o|--output]}} {{path/to/output_executable}}` -- Choose a language standard to compile for(C++98/C++11/C++14/C++17): +- Show common warnings, debug symbols in output, and optimize without affecting debugging: -`g++ {{source.cpp}} -std={{language_standard}} -o {{output_executable}}` +`g++ {{path/to/source.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{path/to/output_executable}}` + +- Choose a language standard to compile for (C++98/C++11/C++14/C++17): + +`g++ {{path/to/source.cpp}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{path/to/output_executable}}` - Include libraries located at a different path than the source file: -`g++ {{source.cpp}} -o {{output_executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}` +`g++ {{path/to/source.cpp}} {{[-o|--output]}} {{path/to/output_executable}} -I{{path/to/header}} -L{{path/to/library}} -l{{library_name}}` + +- Compile and link multiple source code files into an executable binary: + +`g++ {{[-c|--compile]}} {{path/to/source1.cpp path/to/source2.cpp ...}} && g++ {{[-o|--output]}} {{path/to/output_executable}} {{path/to/source1.o path/to/source2.o ...}}` + +- Optimize the compiled program for performance: + +`g++ {{path/to/source.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{path/to/output_executable}}` + +- Display version: + +`g++ --version` diff --git a/pages/common/gacutil.md b/pages/common/gacutil.md new file mode 100644 index 00000000000000..8048a14a050db6 --- /dev/null +++ b/pages/common/gacutil.md @@ -0,0 +1,16 @@ +# gacutil + +> Global Assembly Cache (CAG) management utility. +> More information: . + +- Install the specified assembly into GAC: + +`gacutil -i {{path/to/assembly.dll}}` + +- Uninstall the specified assembly from GAC: + +`gacutil -i {{assembly_display_name}}` + +- Print the content of GAC: + +`gacutil -l` diff --git a/pages/common/gallery-dl.md b/pages/common/gallery-dl.md new file mode 100644 index 00000000000000..0e3ffdf8a073e0 --- /dev/null +++ b/pages/common/gallery-dl.md @@ -0,0 +1,24 @@ +# gallery-dl + +> Download image galleries and collections from several image hosting sites. +> More information: . + +- Download images from the specified URL: + +`gallery-dl "{{url}}"` + +- Save images to a specific directory: + +`gallery-dl --destination {{path/to/directory}} "{{url}}"` + +- Retrieve pre-existing cookies from your web browser (useful for sites that require login): + +`gallery-dl --cookies-from-browser {{browser}} "{{url}}"` + +- Get the direct URL of an image from a site supporting authentication with username and password: + +`gallery-dl --get-urls --username {{username}} --password {{password}} "{{url}}"` + +- Filter manga chapters by chapter number and language: + +`gallery-dl --chapter-filter "{{10 <= chapter < 20}}" --option "lang={{language_code}}" "{{url}}"` diff --git a/pages/common/gammastep.md b/pages/common/gammastep.md new file mode 100644 index 00000000000000..8ee29535312e12 --- /dev/null +++ b/pages/common/gammastep.md @@ -0,0 +1,28 @@ +# gammastep + +> Adjust the screen's color temperature according to the time of day. +> More information: . + +- Turn on Gammastep with a specific [t]emperature during the day (e.g. 5700k) and at night (e.g. 3600k): + +`gammastep -t {{5700}}:{{3600}}` + +- Turn on Gammastep with a manually specified custom [l]ocation: + +`gammastep -l {{latitude}}:{{longitude}}` + +- Turn on Gammastep with a specific screen [b]rightness during the day (e.g. 70%) and at night (e.g. 40%), with minimum brightness 10% and maximum brightness 100%: + +`gammastep -b {{0.7}}:{{0.4}}` + +- Turn on Gammastep with custom [g]amma levels (between 0 and 1): + +`gammastep -g {{red}}:{{green}}:{{blue}}` + +- Turn on Gammastep with a c[O]nstant unchanging color temperature: + +`gammastep -O {{temperature}}` + +- Reset temperature adjustments applied by Gammastep: + +`gammastep -x` diff --git a/pages/common/ganache-cli.md b/pages/common/ganache-cli.md new file mode 100644 index 00000000000000..d0ec985d372675 --- /dev/null +++ b/pages/common/ganache-cli.md @@ -0,0 +1,32 @@ +# ganache-cli + +> Command-line version of Ganache, your personal blockchain for Ethereum development. +> More information: . + +- Run Ganache: + +`ganache-cli` + +- Run Ganache with a specific number of accounts: + +`ganache-cli --accounts={{number_of_accounts}}` + +- Run Ganache and lock available accounts by default: + +`ganache-cli --secure` + +- Run Ganache server and unlock specific accounts: + +`ganache-cli --secure --unlock "{{account_private_key1}}" --unlock "{{account_private_key2}}"` + +- Run Ganache with a specific account and balance: + +`ganache-cli --account="{{account_private_key}},{{account_balance}}"` + +- Run Ganache with accounts with a default balance: + +`ganache-cli --defaultBalanceEther={{default_balance}}` + +- Run Ganache and log all requests to `stdout`: + +`ganache-cli --verbose` diff --git a/pages/common/gatsby.md b/pages/common/gatsby.md index a0e03405bdc412..691a61241ef3fe 100644 --- a/pages/common/gatsby.md +++ b/pages/common/gatsby.md @@ -1,7 +1,7 @@ # gatsby > Static site generator for React. -> More information: . +> More information: . - Create a new site: diff --git a/pages/common/gau.md b/pages/common/gau.md new file mode 100644 index 00000000000000..f284f39e59c1ad --- /dev/null +++ b/pages/common/gau.md @@ -0,0 +1,32 @@ +# gau + +> Get All URLs: fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl for any domains. +> More information: . + +- Fetch all URLs of a domain from AlienVault's Open Threat Exchange, the Wayback Machine, Common Crawl, and URLScan: + +`gau {{example.com}}` + +- Fetch URLs of multiple domains: + +`gau {{domain1 domain2 ...}}` + +- Fetch all URLs of several domains from an input file, running multiple threads: + +`gau --threads {{4}} < {{path/to/domains.txt}}` + +- Write [o]utput results to a file: + +`gau {{example.com}} --o {{path/to/found_urls.txt}}` + +- Search for URLs from only one specific provider: + +`gau --providers {{wayback|commoncrawl|otx|urlscan}} {{example.com}}` + +- Search for URLs from multiple providers: + +`gau --providers {{wayback,otx,...}} {{example.com}}` + +- Search for URLs within specific date range: + +`gau --from {{YYYYMM}} --to {{YYYYMM}} {{example.com}}` diff --git a/pages/common/gawk.md b/pages/common/gawk.md new file mode 100644 index 00000000000000..aad1e467aa20c3 --- /dev/null +++ b/pages/common/gawk.md @@ -0,0 +1,37 @@ +# gawk + +> GNU version of awk, a versatile programming language for working on files. +> See also: `awk`. +> More information: . + +- Print the fifth column (a.k.a. field) in a space-separated file: + +`gawk '{print $5}' {{path/to/file}}` + +- Print the second column of the lines containing "foo" in a space-separated file: + +`gawk '/{{foo}}/ {print $2}' {{path/to/file}}` + +- Print the last column of each line in a file, using a comma (instead of space) as a field separator: + +`gawk {{[-F|--field-separator]}} ',' '{print $NF}' {{path/to/file}}` + +- Sum the values in the first column of a file and print the total: + +`gawk '{s+=$1} END {print s}' {{path/to/file}}` + +- Print every third line starting from the first line: + +`gawk 'NR%3==1' {{path/to/file}}` + +- Print different values based on conditions: + +`gawk '{if ($1 == "foo") print "Exact match foo"; else if ($1 ~ "bar") print "Partial match bar"; else print "Baz"}' {{path/to/file}}` + +- Print all the lines which the 10th column value is between a min and a max: + +`gawk '($10 >= {{min_value}} && $10 <= {{max_value}})'` + +- Print table of users with UID >=1000 with header and formatted output, using colon as separator (`%-20s` mean: 20 left-align string characters, `%6s` means: 6 right-align string characters): + +`gawk 'BEGIN {FS=":";printf "%-20s %6s %25s\n", "Name", "UID", "Shell"} $4 >= 1000 {printf "%-20s %6d %25s\n", $1, $4, $7}' /etc/passwd` diff --git a/pages/common/gc.md b/pages/common/gc.md new file mode 100644 index 00000000000000..3cd444840bd09d --- /dev/null +++ b/pages/common/gc.md @@ -0,0 +1,24 @@ +# gc + +> Count nodes, edges, connected components, or clusters in Graphviz `.dot` files. +> More information: . + +- Count nodes and edges in a file: + +`gc {{path/to/file.dot}}` + +- Count only [n]odes: + +`gc -n {{path/to/file.dot}}` + +- Count only [e]dges: + +`gc -e {{path/to/file.dot}}` + +- Count [c]onnected components: + +`gc -c {{path/to/file.dot}}` + +- Display help: + +`gc -?` diff --git a/pages/common/gcal.md b/pages/common/gcal.md index 26ab674c9a3529..5de5aec47fff9a 100644 --- a/pages/common/gcal.md +++ b/pages/common/gcal.md @@ -1,7 +1,7 @@ # gcal -> Displays calendar. -> More information: . +> Display calendar. +> More information: . - Display calendar for the current month: @@ -9,7 +9,7 @@ - Display calendar for the month of February of the year 2010: -`gcal {{2}} {{2010}}` +`gcal 2 2010` - Provide calendar sheet with week numbers: @@ -17,7 +17,7 @@ - Change starting day of week to 1st day of the week (Monday): -`gcal --starting-day={{1}}` +`gcal --starting-day=1` - Display the previous, current and next month surrounding today: diff --git a/pages/common/gcalcli.md b/pages/common/gcalcli.md index ba789f747fd58d..a9bc20f4d12c41 100644 --- a/pages/common/gcalcli.md +++ b/pages/common/gcalcli.md @@ -1,6 +1,6 @@ # gcalcli -> Command line tool to interact with Google Calendar. +> Interact with Google Calendar. > Requests Google API authorization upon first launch. > More information: . diff --git a/pages/common/gcc.md b/pages/common/gcc.md index 238b9d46e4cd37..86d0f5a48c197d 100644 --- a/pages/common/gcc.md +++ b/pages/common/gcc.md @@ -1,24 +1,37 @@ # gcc > Preprocess and compile C and C++ source files, then assemble and link them together. -> More information: . +> Part of GCC (GNU Compiler Collection). +> More information: . -- Compile multiple source files into executable: +- Compile multiple source files into an executable: -`gcc {{source1.c}} {{source2.c}} -o {{executable}}` +`gcc {{path/to/source1.c path/to/source2.c ...}} {{[-o|--output]}} {{path/to/output_executable}}` -- Allow warnings, debug symbols in output: +- Activate output of all errors and warnings: -`gcc {{source.c}} -Wall -Og -o {{executable}}` +`gcc {{path/to/source.c}} -Wall {{[-o|--output]}} {{output_executable}}` + +- Show common warnings, debug symbols in output, and optimize without affecting debugging: + +`gcc {{path/to/source.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{path/to/output_executable}}` - Include libraries from a different path: -`gcc {{source.c}} -o {{executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}` +`gcc {{path/to/source.c}} {{[-o|--output]}} {{path/to/output_executable}} -I{{path/to/header}} -L{{path/to/library}} -l{{library_name}}` - Compile source code into Assembler instructions: -`gcc -S {{source.c}}` +`gcc {{[-S|--assemble]}} {{path/to/source.c}}` + +- Compile source code into an object file without linking: + +`gcc {{[-c|--compile]}} {{path/to/source.c}}` + +- Optimize the compiled program for performance: + +`gcc {{path/to/source.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{path/to/output_executable}}` -- Compile source code without linking: +- Display version: -`gcc -c {{source.c}}` +`gcc --version` diff --git a/pages/common/gcloud-app.md b/pages/common/gcloud-app.md new file mode 100644 index 00000000000000..53901ed02068e7 --- /dev/null +++ b/pages/common/gcloud-app.md @@ -0,0 +1,25 @@ +# gcloud app + +> Build scalable applications on a managed serverless platform. +> See also: `gcloud`. +> More information: . + +- Deploy an app's code and configuration to the App Engine server: + +`gcloud app deploy {{deployables}}` + +- List all versions of all services deployed to the App Engine server: + +`gcloud app versions list` + +- Open the current app in a web browser: + +`gcloud app browse` + +- Create an App Engine app within the current project: + +`gcloud app create` + +- Display the latest App Engine app logs: + +`gcloud app logs read` diff --git a/pages/common/gcloud-auth.md b/pages/common/gcloud-auth.md new file mode 100644 index 00000000000000..9fe6f7231e6541 --- /dev/null +++ b/pages/common/gcloud-auth.md @@ -0,0 +1,29 @@ +# gcloud auth + +> Grant and revoke authorization to `gcloud` and manage credentials. +> See also: `gcloud`. +> More information: . + +- Authorize Google Cloud access for the `gcloud` CLI with Google Cloud user credentials and set the current account as active: + +`gcloud auth login` + +- Authorize Google Cloud access similar to `gcloud auth login` but with service account credentials: + +`gcloud auth activate-service-account` + +- Manage Application Default Credentials (ADC) for Cloud Client Libraries: + +`gcloud auth application-default` + +- Display a list of Google Cloud accounts currently authenticated on your system: + +`gcloud auth list` + +- Display the current account's access token: + +`gcloud auth print-access-token` + +- Remove access credentials for an account: + +`gcloud auth revoke` diff --git a/pages/common/gcloud-components-install.md b/pages/common/gcloud-components-install.md new file mode 100644 index 00000000000000..ed92480bafc979 --- /dev/null +++ b/pages/common/gcloud-components-install.md @@ -0,0 +1,21 @@ +# gcloud components install + +> Install components of the Google Cloud CLI, along with their dependencies. +> Installs components at the current version of the Google Cloud CLI without upgrading the existing installation. +> More information: . + +- View available components for installation: + +`gcloud components list` + +- Install one or more components (installs any dependencies as well): + +`gcloud components install {{component_id1 component_id2 ...}}` + +- Check the current version of Google Cloud CLI: + +`gcloud version` + +- Update Google Cloud CLI to the latest version: + +`gcloud components update` diff --git a/pages/common/gcloud-components-update.md b/pages/common/gcloud-components-update.md new file mode 100644 index 00000000000000..f83588c8b193b9 --- /dev/null +++ b/pages/common/gcloud-components-update.md @@ -0,0 +1,17 @@ +# gcloud components update + +> Update all your installed Google Cloud CLI components to the latest version. +> See also: `gcloud`. +> More information: . + +- Update all components to the latest version: + +`gcloud components update` + +- Update all components to a specific version: + +`gcloud components update --version={{1.2.3}}` + +- Update components without confirmation (useful for automation scripts): + +`gcloud components update --quiet` diff --git a/pages/common/gcloud-compute.md b/pages/common/gcloud-compute.md new file mode 100644 index 00000000000000..d2f6773991dd31 --- /dev/null +++ b/pages/common/gcloud-compute.md @@ -0,0 +1,37 @@ +# gcloud compute + +> Create, run, and manage VMs on Google Cloud infrastructure. +> See also: `gcloud`. +> More information: . + +- List Compute Engine zones: + +`gcloud compute zones list` + +- Create a VM instance: + +`gcloud compute instances create {{instance_name}}` + +- Display a VM instance's details: + +`gcloud compute instances describe {{instance_name}}` + +- List all VM instances in a project: + +`gcloud compute instances list` + +- Create a snapshot of a persistent disk: + +`gcloud compute disks snapshot {{disk_name}} --snapshot-names {{snapshot_name}}` + +- Display a snapshot's details: + +`gcloud compute snapshots describe {{snapshot_name}}` + +- Delete a snapshot: + +`gcloud compute snapshots delete {{snapshot_name}}` + +- Connect to a VM instance using SSH: + +`gcloud compute ssh {{instance_name}}` diff --git a/pages/common/gcloud-config-set.md b/pages/common/gcloud-config-set.md new file mode 100644 index 00000000000000..d5c7161b76d99c --- /dev/null +++ b/pages/common/gcloud-config-set.md @@ -0,0 +1,33 @@ +# gcloud config set + +> Set a property in the Google Cloud CLI configuration. +> Properties control various aspects of Google Cloud CLI behavior. +> More information: . + +- Set the project property in the core section: + +`gcloud config set project {{project_id}}` + +- Set the compute zone for future operations: + +`gcloud config set compute/zone {{zone_name}}` + +- Disable prompting to make gcloud suitable for scripting: + +`gcloud config set disable_prompts true` + +- View the list of properties currently in use: + +`gcloud config list` + +- Unset a previously set property: + +`gcloud config unset {{property_name}}` + +- Create a new configuration profile: + +`gcloud config configurations create {{configuration_name}}` + +- Switch between different configuration profiles: + +`gcloud config configurations activate {{configuration_name}}` diff --git a/pages/common/gcloud-config.md b/pages/common/gcloud-config.md new file mode 100644 index 00000000000000..88db7ab05d77b1 --- /dev/null +++ b/pages/common/gcloud-config.md @@ -0,0 +1,29 @@ +# gcloud config + +> Manage different configurations of `gcloud`. +> See also: `gcloud`. +> More information: . + +- Define a property (like compute/zone) for the current configuration: + +`gcloud config set {{property}} {{value}}` + +- Fetch the value of a `gcloud` property: + +`gcloud config get {{property}}` + +- Display all the properties for the current configuration: + +`gcloud config list` + +- Create a new configuration with a given name: + +`gcloud config configurations create {{configuration_name}}` + +- Display a list of all available configurations: + +`gcloud config configurations list` + +- Switch to an existing configuration with a given name: + +`gcloud config configurations activate {{configuration_name}}` diff --git a/pages/common/gcloud-container.md b/pages/common/gcloud-container.md new file mode 100644 index 00000000000000..3b418af0c6a79a --- /dev/null +++ b/pages/common/gcloud-container.md @@ -0,0 +1,29 @@ +# gcloud container + +> Manage containerized applications on Kubernetes and clusters. +> See also: `gcloud`. +> More information: . + +- Register `gcloud` as a Docker credential helper: + +`gcloud auth configure-docker` + +- Create a cluster to run GKE containers: + +`gcloud container clusters create {{cluster_name}}` + +- List clusters for running GKE containers: + +`gcloud container clusters list` + +- Update kubeconfig to get `kubectl` to use a GKE cluster: + +`gcloud container clusters get-credentials {{cluster_name}}` + +- List tag and digest metadata for a container image: + +`gcloud container images list-tags {{image}}` + +- Describe an existing cluster for running containers: + +`gcloud container clusters describe {{cluster_name}}` diff --git a/pages/common/gcloud-feedback.md b/pages/common/gcloud-feedback.md new file mode 100644 index 00000000000000..60c17c1c8e8a42 --- /dev/null +++ b/pages/common/gcloud-feedback.md @@ -0,0 +1,13 @@ +# gcloud feedback + +> Provide feedback to the Google Cloud team. +> See also: `gcloud`. +> More information: . + +- Provide feedback to the `gcloud` team: + +`gcloud feedback` + +- Provide feedback to the `gcloud` team and attach a log file: + +`gcloud feedback --log-file {{log_file}}` diff --git a/pages/common/gcloud-help.md b/pages/common/gcloud-help.md new file mode 100644 index 00000000000000..2ba93837adb601 --- /dev/null +++ b/pages/common/gcloud-help.md @@ -0,0 +1,9 @@ +# gcloud help + +> Display help and reference information for `gcloud`. +> See also: `gcloud topic` for supplementary help topics not directly associated with individual commands. +> More information: . + +- Search the `gcloud` CLI reference documents for specific terms: + +`gcloud help` diff --git a/pages/common/gcloud-iam.md b/pages/common/gcloud-iam.md new file mode 100644 index 00000000000000..3d8c339ec2f5aa --- /dev/null +++ b/pages/common/gcloud-iam.md @@ -0,0 +1,29 @@ +# gcloud iam + +> Configure Identity and Access Management (IAM) preferences and service accounts. +> See also: `gcloud`. +> More information: . + +- List IAM grantable roles for a resource: + +`gcloud iam list-grantable-roles {{resource}}` + +- Create a custom role for a organization or project: + +`gcloud iam roles create {{role_name}} --{{organization|project}} {{organization|project_id}} --file {{path/to/role.yaml}}` + +- Create a service account for a project: + +`gcloud iam service-accounts create {{name}}` + +- Add an IAM policy binding to a service account: + +`gcloud iam service-accounts add-iam-policy-binding {{service_account_email}} --member {{member}} --role {{role}}` + +- Replace existing IAM policy binding: + +`gcloud iam service-accounts set-iam-policy {{service_account_email}} {{policy_file}}` + +- List a service account's keys: + +`gcloud iam service-accounts keys list --iam-account {{service_account_email}}` diff --git a/pages/common/gcloud-info.md b/pages/common/gcloud-info.md new file mode 100644 index 00000000000000..b50c642e2f1d00 --- /dev/null +++ b/pages/common/gcloud-info.md @@ -0,0 +1,16 @@ +# gcloud info + +> Display information about the current `gcloud` environment. +> More information: . + +- Display `gcloud` environment information: + +`gcloud info` + +- Check network connectivity and hidden properties: + +`gcloud info --run-diagnostics` + +- Print the contents of the most recent log file: + +`gcloud info --show-log` diff --git a/pages/common/gcloud-init.md b/pages/common/gcloud-init.md new file mode 100644 index 00000000000000..69a6266c8f68ea --- /dev/null +++ b/pages/common/gcloud-init.md @@ -0,0 +1,16 @@ +# gcloud init + +> Launch an interactive workflow to setup `gcloud` or reinitialize configurations. +> More information: . + +- Launch a "Getting Started" workflow: + +`gcloud init` + +- Launch a workflow without diagnostics: + +`gcloud init --skip-diagnostics` + +- Use the console for authentication: + +`gcloud init --console-only` diff --git a/pages/common/gcloud-kms-decrypt.md b/pages/common/gcloud-kms-decrypt.md new file mode 100644 index 00000000000000..ac2896449e73ae --- /dev/null +++ b/pages/common/gcloud-kms-decrypt.md @@ -0,0 +1,13 @@ +# gcloud kms decrypt + +> Decrypt a ciphertext file using a Cloud KMS key. +> See also: `gcloud`. +> More information: . + +- Decrypt a file using a specified key, key ring, and location: + +`gcloud kms decrypt --key={{key_name}} --keyring={{keyring_name}} --location={{global}} --ciphertext-file={{path/to/ciphertext}} --plaintext-file={{path/to/plaintext}}` + +- Decrypt a file with additional authenticated data (AAD) and write the decrypted plaintext to `stdout`: + +`gcloud kms decrypt --key={{key_name}} --keyring={{keyring_name}} --location={{global}} --additional-authenticated-data-file={{path/to/file.aad}} --ciphertext-file={{path/to/ciphertext}} --plaintext-file=-` diff --git a/pages/common/gcloud-logging-logs-list.md b/pages/common/gcloud-logging-logs-list.md new file mode 100644 index 00000000000000..28735bcac5525d --- /dev/null +++ b/pages/common/gcloud-logging-logs-list.md @@ -0,0 +1,38 @@ +# gcloud logging logs list + +> List logs in a Google Cloud project. +> Useful for identifying available logs for monitoring and analysis. +> See also: `gcloud`. +> More information: . + +- List all logs in the current project: + +`gcloud logging logs list` + +- List all logs for a specific log bucket and location: + +`gcloud logging logs list --bucket={{bucket_id}} --location={{location}}` + +- List all logs for a specific view in a log bucket: + +`gcloud logging logs list --bucket={{bucket_id}} --location={{location}} --view={{view_id}}` + +- List logs with a filter expression: + +`gcloud logging logs list --filter="{{expression}}"` + +- List a specified number of logs: + +`gcloud logging logs list --limit={{number}}` + +- List logs sorted by a specific field in ascending or descending order (`~` for descending): + +`gcloud logging logs list --sort-by="{{field_name}}"` + +- List logs sorted by multiple fields: + +`gcloud logging logs list --sort-by="{{field1}},~{{field2}}"` + +- List logs with verbose output, showing additional details: + +`gcloud logging logs list --verbosity=debug` diff --git a/pages/common/gcloud-projects.md b/pages/common/gcloud-projects.md new file mode 100644 index 00000000000000..e734dfb55a1495 --- /dev/null +++ b/pages/common/gcloud-projects.md @@ -0,0 +1,25 @@ +# gcloud projects + +> Manage project access policies in Google Cloud. +> See also: `gcloud`. +> More information: . + +- Create a new project: + +`gcloud projects create {{project_id|project_number}}` + +- List all active projects: + +`gcloud projects list` + +- Display metadata for a project: + +`gcloud projects describe {{project_id}}` + +- Delete a project: + +`gcloud projects delete {{project_id|project_number}}` + +- Add an IAM policy binding to a specified project: + +`gcloud projects add-iam-policy-binding {{project_id}} --member {{principal}} --role {{role}}` diff --git a/pages/common/gcloud-sql-backups-describe.md b/pages/common/gcloud-sql-backups-describe.md new file mode 100644 index 00000000000000..686853e59325d1 --- /dev/null +++ b/pages/common/gcloud-sql-backups-describe.md @@ -0,0 +1,9 @@ +# gcloud sql backups describe + +> Retrieve information about a backup. +> See also: `gcloud`. +> More information: . + +- Retrieve information about a backup: + +`gcloud sql backups describe {{backup_id}} --instance={{instance_id}}` diff --git a/pages/common/gcloud-sql-export-sql.md b/pages/common/gcloud-sql-export-sql.md new file mode 100644 index 00000000000000..85cdf56e50fdb8 --- /dev/null +++ b/pages/common/gcloud-sql-export-sql.md @@ -0,0 +1,30 @@ +# gcloud sql export sql + +> Export data from a Cloud SQL instance to an SQL file in Google Cloud Storage. +> Useful for creating backups or migrating data. +> See also: `gcloud`. +> More information: . + +- Export data from a specific Cloud SQL instance to a Google Cloud Storage bucket as an SQL dump file: + +`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}}` + +- Export data asynchronously, returning immediately without waiting for the operation to complete: + +`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}} --async` + +- Export data from specific databases within the Cloud SQL instance: + +`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}} --database={{database1,database2,...}}` + +- Export specific tables from a specified database within the Cloud SQL instance: + +`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}} --database={{database}} --table={{table1,table2,...}}` + +- Export data while offloading the operation to a temporary instance to reduce strain on the source instance: + +`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}} --offload` + +- Export data and compress the output with `gzip`: + +`gcloud sql export sql {{instance}} gs://{{bucket_name}}/{{file_name}}.gz` diff --git a/pages/common/gcloud-topic.md b/pages/common/gcloud-topic.md new file mode 100644 index 00000000000000..cfa95d021acfd5 --- /dev/null +++ b/pages/common/gcloud-topic.md @@ -0,0 +1,13 @@ +# gcloud topic + +> Display supplementary help for topics not directly associated with individual commands. +> See also: `gcloud help` for general help. +> More information: . + +- View supplementary help material for non-command topics like accessibility, filtering, and formatting: + +`gcloud topic {{topic_name}}` + +- List all available topics: + +`gcloud topic --help` diff --git a/pages/common/gcloud-version.md b/pages/common/gcloud-version.md new file mode 100644 index 00000000000000..13bf5e471161da --- /dev/null +++ b/pages/common/gcloud-version.md @@ -0,0 +1,12 @@ +# gcloud-version + +> Print version information for Google Cloud CLI components. +> More information: . + +- Display version information for all installed components, along with available updates to them: + +`gcloud version` + +- Display help: + +`gcloud version --help` diff --git a/pages/common/gcloud.md b/pages/common/gcloud.md index 51421d47230e66..e6910aec8f53cd 100644 --- a/pages/common/gcloud.md +++ b/pages/common/gcloud.md @@ -1,13 +1,14 @@ # gcloud > The official CLI tool for Google Cloud Platform. +> Note: `gcloud` subcommands have their own usage documentation. > More information: . - List all properties in one's active configuration: `gcloud config list` -- Login to Google account: +- Login to a Google account: `gcloud auth login` @@ -17,20 +18,20 @@ - SSH into a virtual machine instance: -`gcloud compute ssh {{user}}@{{instance}} ` +`gcloud compute ssh {{user}}@{{instance}}` -- Display all Google Compute Engine instances in a project. Instances from all zones are listed by default: +- Display all Google Compute Engine instances in a project (by default instances from all zones are listed): `gcloud compute instances list` -- Update a kubeconfig file with the appropriate credentials to point kubectl to a specific cluster in Google Kubernetes Engine: +- Update a kubeconfig file with the appropriate credentials to point `kubectl` to a specific cluster in Google Kubernetes Engine (GKE): `gcloud container clusters get-credentials {{cluster_name}}` -- Update all gcloud CLI components: +- Update all `gcloud` components: `gcloud components update` -- Show help for a given command: +- Display help for a given command: `gcloud help {{command}}` diff --git a/pages/common/gcpdiag.md b/pages/common/gcpdiag.md new file mode 100644 index 00000000000000..78ff03c67b4072 --- /dev/null +++ b/pages/common/gcpdiag.md @@ -0,0 +1,25 @@ +# gcpdiag + +> Google Cloud Platform troubleshooting and diagnostics tool. +> Run in a Docker container or in GCP Cloudshell. +> More information: . + +- Run `gcpdiag` on your project, returning all rules: + +`gcpdiag lint --project={{gcp_project_id}}` + +- Hide rules that are ok: + +`gcpdiag lint --project={{gcp_project_id}} --hide-ok` + +- Authenticate using a service account private key file: + +`gcpdiag lint --project={{gcp_project_id}} --auth-key {{path/to/private_key}}` + +- Search logs and metrics from a number of days back (default: 3 days): + +`gcpdiag lint --project={{gcp_project_id}} --within-days {{number}}` + +- Display help: + +`gcpdiag lint --help` diff --git a/pages/common/gcrane-copy.md b/pages/common/gcrane-copy.md new file mode 100644 index 00000000000000..79cf316be4f396 --- /dev/null +++ b/pages/common/gcrane-copy.md @@ -0,0 +1,20 @@ +# gcrane copy + +> Efficiently copy a remote image from source to target while retaining the digest value. +> More information: . + +- Copy an image from source to target: + +`gcrane {{[cp|copy]}} {{source}} {{target}}` + +- Set the maximum number of concurrent copies, defaults to 20: + +`gcrane copy {{source}} {{target}} {{[-j|--jobs]}} {{nr_of_copies}}` + +- Whether to recurse through repositories: + +`gcrane copy {{source}} {{target}} {{[-r|--recursive]}}` + +- Display help: + +`gcrane copy {{[-h|--help]}}` diff --git a/pages/common/gcrane-gc.md b/pages/common/gcrane-gc.md new file mode 100644 index 00000000000000..e145a6bfeda725 --- /dev/null +++ b/pages/common/gcrane-gc.md @@ -0,0 +1,18 @@ +# gcrane gc + +> List images that are not tagged. +> Will calculate images that can be garbage-collected. +> This can be composed with `gcrane delete` to actually garbage collect them. +> More information: . + +- List untagged images: + +`gcrane gc {{repository}}` + +- Whether to recurse through repositories: + +`gcrane gc {{repository}} {{[-r|--recursive]}}` + +- Display help: + +`gcrane gc {{[-h|--help]}}` diff --git a/pages/common/gcrane-help.md b/pages/common/gcrane-help.md new file mode 100644 index 00000000000000..edb7fe4342863a --- /dev/null +++ b/pages/common/gcrane-help.md @@ -0,0 +1,12 @@ +# gcrane help + +> Help provides help for any command in the application. +> More information: . + +- Display help for a subcommand: + +`gcrane help {{command}}` + +- Display help: + +`gcrane help {{[-h|--help]}}` diff --git a/pages/common/gcrane-ls.md b/pages/common/gcrane-ls.md new file mode 100644 index 00000000000000..d471d43e985c55 --- /dev/null +++ b/pages/common/gcrane-ls.md @@ -0,0 +1,21 @@ +# gcrane ls + +> List the tags in a repository. +> More complex form than `crane ls`, which allows for listing tags, manifest and sub-repositories. +> More information: . + +- List the tags: + +`gcrane ls {{repository}}` + +- Format response from the registry as JSON: + +`gcrane ls {{repository}} --json` + +- Whether to recurse through repositories: + +`gcrane ls {{repository}} {{[-r|--recursive]}}` + +- Display help: + +`gcrane ls {{[-h|--help]}}` diff --git a/pages/common/gcrane.md b/pages/common/gcrane.md new file mode 100644 index 00000000000000..2753fc46642235 --- /dev/null +++ b/pages/common/gcrane.md @@ -0,0 +1,35 @@ +# gcrane + +> Container images managing tool. +> This tool implements a superset of the `crane` commands, with additional commands that are specific to Google Container Registry (`gcr.io`). +> Some subcommands such as `append`, `auth`, `copy`, etc. have their own usage documentation which can be found under `crane`. +> Some subcommands such as `completion`, `gc`, `help` are specific to gcrane and have their own usage documentation. +> More information: . + +- Login to a registry: + +`gcrane auth login {{registry}} {{[-u|--username]}} {{user}} {{[-p|--password]}} {{password}}` + +- List tags, manifests, and sub-repostiories: + +`gcrane ls {{registry}}/{{project_id}}` + +- Copy images from one registry to another: + +`gcrane cp {{[-r|--recursive]}} {{source_registry}}/{{project_id}}/{{repository}} {{target_registry}}/{{project_id}}/{{repository}}` + +- Print images that can be garbage collected: + +`gcrane gc {{registry}}/{{project_id}}/{{repository}}` + +- Delete images that can be garbage collected: + +`gcrane gc {{registry}}/{{project_id}}/{{repository}} | xargs {{[-n|--max-args]}} 1 gcrane delete` + +- List a specific registry with specific ID: + +`gcrane ls {{gcr.io}}/{{my-project-id}}` + +- Migrate all images from US registry to EU registry: + +`gcrane cp {{[-r|--recursive]}} {{gcr.io}}/{{my-project-id}}/{{repository}} {{eu.gcr.io}}/{{my-project-id}}/{{repository}}` diff --git a/pages/common/gdal2tiles.py.md b/pages/common/gdal2tiles.py.md new file mode 100644 index 00000000000000..dc87c333633a08 --- /dev/null +++ b/pages/common/gdal2tiles.py.md @@ -0,0 +1,12 @@ +# gdal2tiles.py + +> Generate TMS or XYZ tiles for a raster dataset. +> More information: . + +- Generate TMS tiles for the zoom levels 2 to 5 of a raster dataset: + +`gdal2tiles.py --zoom 2-5 {{path/to/input.tif}} {{path/to/output_directory}}` + +- Generate XYZ tiles for the zoom levels 2 to 5 of a raster dataset: + +`gdal2tiles.py --zoom 2-5 --xyz {{path/to/input.tif}} {{path/to/output_directory}}` diff --git a/pages/common/gdal_contour.md b/pages/common/gdal_contour.md new file mode 100644 index 00000000000000..d197cd755982e1 --- /dev/null +++ b/pages/common/gdal_contour.md @@ -0,0 +1,12 @@ +# gdal_contour + +> Create contour lines and polygons from a digital elevation model. +> More information: . + +- Create a vector dataset with contour lines spread over an 100-meter [i]nterval while [a]ttributing the elevation property as "ele": + +`gdal_contour -a {{ele}} -i {{100.0}} {{path/to/input.tif}} {{path/to/output.gpkg}}` + +- Create a vector dataset with [p]olygons spread over an 100-meter [i]nterval: + +`gdal_contour -i {{100.0}} -p {{path/to/input.tif}} {{path/to/output.gpkg}}` diff --git a/pages/common/gdal_translate.md b/pages/common/gdal_translate.md new file mode 100644 index 00000000000000..3625614238d32e --- /dev/null +++ b/pages/common/gdal_translate.md @@ -0,0 +1,20 @@ +# gdal_translate + +> Convert raster data between different formats. +> More information: . + +- Convert a raster dataset to JPEG format: + +`gdal_translate -of {{JPEG}} {{path/to/input.tif}} {{path/to/output.jpeg}}` + +- Assign a projection to a raster dataset: + +`gdal_translate -a_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}` + +- Reduce the size of a raster dataset to a specific fraction: + +`gdal_translate -outsize {{40%}} {{40%}} {{path/to/input.tif}} {{path/to/output.tif}}` + +- Convert a GeoTiff to a Cloud Optimized GeoTiff: + +`gdal_translate {{path/to/input.tif}} {{path/to/output.tif}} -of COG -co COMPRESS=LZW` diff --git a/pages/common/gdaladdo.md b/pages/common/gdaladdo.md new file mode 100644 index 00000000000000..4aa281c247f4c9 --- /dev/null +++ b/pages/common/gdaladdo.md @@ -0,0 +1,8 @@ +# gdaladdo + +> Build overview images of raster datasets. +> More information: . + +- Build overview images of a raster dataset using the "average" [r]esampling method: + +`gdaladdo -r average {{path/to/input.tif}}` diff --git a/pages/common/gdalbuildvrt.md b/pages/common/gdalbuildvrt.md index afdadcf6f17260..3f6589d01f220f 100644 --- a/pages/common/gdalbuildvrt.md +++ b/pages/common/gdalbuildvrt.md @@ -11,10 +11,10 @@ `gdalbuildvrt -input_file_list {{path/to/list.txt}} {{path/to/output.vrt}}` -- Make a RGB virtual mosaic from 3 single-band input files: +- Make an RGB virtual mosaic from 3 single-band input files: -`gdalbuildvrt -separate {{path/to/rgb.vrt}} {{path/to/red.tif}] {{path/to/green.tif}} {{path/to/blue.tif}}` +`gdalbuildvrt -separate {{path/to/rgb.vrt}} {{path/to/red.tif}} {{path/to/green.tif}} {{path/to/blue.tif}}` -- Make a virtual mosaic with blue background colour (RGB: 0 0 255): +- Make a virtual mosaic with blue background color (RGB: 0 0 255): `gdalbuildvrt -hidenodata -vrtnodata "{{0 0 255}}" {{path/to/output.vrt}} {{path/to/input_directory/*.tif}}` diff --git a/pages/common/gdaldem.md b/pages/common/gdaldem.md new file mode 100644 index 00000000000000..f4016b660d886e --- /dev/null +++ b/pages/common/gdaldem.md @@ -0,0 +1,16 @@ +# gdaldem + +> Analyze and visualize digital elevation models (DEM). +> More information: . + +- Compute the hillshade of a DEM: + +`gdaldem hillshade {{path/to/input.tif}} {{path/to/output.tif}}` + +- Compute the slope of a DEM: + +`gdaldem slope {{path/to/input.tif}} {{path/to/output.tif}}` + +- Compute the aspect of a DEM: + +`gdaldem aspect {{path/to/input.tif}} {{path/to/output.tif}}` diff --git a/pages/common/gdalinfo.md b/pages/common/gdalinfo.md new file mode 100644 index 00000000000000..3b014b2e2dd6df --- /dev/null +++ b/pages/common/gdalinfo.md @@ -0,0 +1,28 @@ +# gdalinfo + +> List various information about a GDAL supported raster dataset. +> More information: . + +- List all supported raster formats: + +`gdalinfo --formats` + +- List information about a specific raster dataset: + +`gdalinfo {{path/to/input.tif}}` + +- List information about a specific raster dataset in JSON format: + +`gdalinfo -json {{path/to/input.tif}}` + +- Show histogram values of a specific raster dataset: + +`gdalinfo -hist {{path/to/input.tif}}` + +- List information about a Web Map Service (WMS): + +`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}}` + +- List information about a specific dataset of a Web Map Service (WMS): + +`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}} -sd {{4}}` diff --git a/pages/common/gdalwarp.md b/pages/common/gdalwarp.md new file mode 100644 index 00000000000000..0558214ca1d2ea --- /dev/null +++ b/pages/common/gdalwarp.md @@ -0,0 +1,16 @@ +# gdalwarp + +> Image reprojection and warping utility. +> More information: . + +- Reproject a raster dataset: + +`gdalwarp -t_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}` + +- Crop a raster dataset by using specific coordinates: + +`gdalwarp -te {{min_x}} {{min_y}} {{max_x}} {{max_y}} -te_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}` + +- Crop a raster dataset using a vector layer: + +`gdalwarp -cutline {{path/to/area_to_cut.geojson}} -crop_to_cutline {{path/to/input.tif}} {{path/to/output.tif}}` diff --git a/pages/common/gdb.md b/pages/common/gdb.md index eb3f96656115f3..e12bfb604a42fb 100644 --- a/pages/common/gdb.md +++ b/pages/common/gdb.md @@ -1,24 +1,28 @@ # gdb > The GNU Debugger. -> More information: . +> More information: . - Debug an executable: -`gdb {{executable}}` +`gdb {{path/to/executable}}` -- Attach a process to gdb: +- Attach a process to `gdb`: -`gdb -p {{procID}}` +`gdb {{[-p|--pid]}} {{procID}}` - Debug with a core file: -`gdb -c {{core}} {{executable}}` +`gdb {{[-c|--core]}} {{path/to/core}} {{path/to/executable}}` - Execute given GDB commands upon start: -`gdb -ex "{{commands}}" {{executable}}` +`gdb {{[-ex|--eval-command]}} "{{commands}}" {{path/to/executable}}` -- Start gdb and pass arguments to the executable: +- Start `gdb` and pass arguments to the executable: -`gdb --args {{executable}} {{argument1}} {{argument2}}` +`gdb --args {{path/to/executable}} {{argument1 argument2 ...}}` + +- Skip `debuginfod` and pagination prompts and then print the backtrace: + +`gdb {{[-c|--core]}} {{path/to/core}} {{path/to/executable}} -iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt` diff --git a/pages/common/gdc.md b/pages/common/gdc.md new file mode 100644 index 00000000000000..806945fa0d1605 --- /dev/null +++ b/pages/common/gdc.md @@ -0,0 +1,24 @@ +# gdc + +> D compiler using GCC as a backend. +> More information: . + +- Create an executable: + +`gdc {{path/to/source.d}} -o {{path/to/output_executable}}` + +- Print information about module dependencies: + +`gdc -fdeps` + +- Generate Ddoc documentation: + +`gdc -fdoc` + +- Generate D interface files: + +`gdc -fintfc` + +- Do not link the standard GCC libraries in the compilation: + +`gdc -nostdlib` diff --git a/pages/common/gdm-binary.md b/pages/common/gdm-binary.md new file mode 100644 index 00000000000000..ae5438ac438624 --- /dev/null +++ b/pages/common/gdm-binary.md @@ -0,0 +1,7 @@ +# gdm-binary + +> This command is an alias of `gdm`. + +- View documentation for the original command: + +`tldr gdm` diff --git a/pages/common/gdm-restart.md b/pages/common/gdm-restart.md new file mode 100644 index 00000000000000..b5898d8b7b25f6 --- /dev/null +++ b/pages/common/gdm-restart.md @@ -0,0 +1,9 @@ +# gdm-restart + +> Restart the GNOME Display Manager (GDM) daemon. +> See also: `gdm`, `gdm-binary`, `gdmsetup`, `gdm-stop`, `gdm-safe-restart`. +> More information: . + +- Restart the GNOME Display Manager application: + +`gdm-restart` diff --git a/pages/common/gdm-safe-restart.md b/pages/common/gdm-safe-restart.md new file mode 100644 index 00000000000000..8dac6d52c1e74f --- /dev/null +++ b/pages/common/gdm-safe-restart.md @@ -0,0 +1,9 @@ +# gdm-safe-restart + +> Restart the GNOME Display Manager (GDM) only when all users have logged out. +> See also: `gdm`, `gdm-binary`, `gdmsetup`, `gdm-stop`, `gdm-restart`. +> More information: . + +- Restart the GNOME Display Manager application when all users have logged out: + +`gdm-safe-restart` diff --git a/pages/common/gdm-stop.md b/pages/common/gdm-stop.md new file mode 100644 index 00000000000000..c976186ae97488 --- /dev/null +++ b/pages/common/gdm-stop.md @@ -0,0 +1,9 @@ +# gdm-stop + +> Immediately stop running the GNOME Display Manager (GDM). +> See also: `gdm`, `gdm-binary`, `gdmsetup`, `gdm-restart`, `gdm-safe-restart`. +> More information: . + +- Stop the GNOME Display Manager application: + +`gdm-stop` diff --git a/pages/common/gdm.md b/pages/common/gdm.md new file mode 100644 index 00000000000000..a83d35fd9113b9 --- /dev/null +++ b/pages/common/gdm.md @@ -0,0 +1,29 @@ +# gdm + +> The GNOME Display Manager (GDM) is a replacement for the X Display Manager (XDM). +> See also: `gdm-binary`, `gdmsetup`, `gdm-stop`, `gdm-restart`, `gdm-safe-restart`. +> More information: . + +- Run the GNOME Display Manager application: + +`gdm` + +- Prevent `gdm` from being run as a daemon background process: + +`gdm --nodaemon` + +- Disable `gdm` management of local console X servers for headless or remote environments: + +`gdm --no-console` + +- Prevent sanitizing environment variables that start with `LD_`: + +`gdm --preserve-ld-vars` + +- Display help: + +`gdm --help` + +- Display version: + +`gdm --version` diff --git a/pages/common/gdmsetup.md b/pages/common/gdmsetup.md new file mode 100644 index 00000000000000..af1eab6da26d65 --- /dev/null +++ b/pages/common/gdmsetup.md @@ -0,0 +1,10 @@ +# gdmsetup + +> Launch a GUI for configuring the GNOME Display Manager (GDM). +> Results in edited files in either `/etc/X11/gdm/gdm.conf` or `/etc/gdm/gdm.conf` depending on distribution and environment. +> See also: `gdm`, `gdm-binary`, `gdm-stop`, `gdm-restart`, `gdm-safe-restart`. +> More information: . + +- Run the GNOME Display Manager GUI configuration application: + +`gdmsetup` diff --git a/pages/common/gdown.md b/pages/common/gdown.md new file mode 100644 index 00000000000000..93b843b8b953ea --- /dev/null +++ b/pages/common/gdown.md @@ -0,0 +1,24 @@ +# gdown + +> Download files from Google Drive and other URLs. +> More information: . + +- Download a file from a URL: + +`gdown {{url}}` + +- Download using a file ID: + +`gdown {{file_id}}` + +- Download with fuzzy file ID extraction (also works with links): + +`gdown --fuzzy {{url}}` + +- Download a folder using its ID or the full URL: + +`gdown {{folder_id|url}} {{[-O|--output]}} {{path/to/output_directory}} --folder` + +- Download a tar archive, write it to `stdout` and extract it: + +`gdown {{tar_url}} {{[-O|--output]}} - {{[-q|--quiet]}} | tar xvf -` diff --git a/pages/common/gdrive.md b/pages/common/gdrive.md index 6c18b1a024fc7a..c58e6d30743049 100644 --- a/pages/common/gdrive.md +++ b/pages/common/gdrive.md @@ -1,21 +1,21 @@ # gdrive -> Command line tool to interact with Google Drive. -> Folder/file id can be obtained from the Google Drive folder or id url. +> Interact with Google Drive. +> Folder/file ID can be obtained from the Google Drive folder or ID URL. > More information: . -- Upload a local path to the parent folder with the specified id: +- Upload a local path to the parent folder with the specified ID: -`gdrive upload -p {{id}} {{path/to/file_or_folder}}` +`gdrive upload {{[-p|--parent]}} {{id}} {{path/to/file_or_folder}}` -- Download file or directory by id to current directory: +- Download file or directory by ID to current directory: `gdrive download {{id}}` -- Download to a given local path by its id: +- Download to a given local path by its ID: `gdrive download --path {{path/to/folder}} {{id}}` -- Create a new revision of an id using a given file or folder: +- Create a new revision of an ID using a given file or folder: `gdrive update {{id}} {{path/to/file_or_folder}}` diff --git a/pages/common/gdu.md b/pages/common/gdu.md new file mode 100644 index 00000000000000..bda0cb4311b4af --- /dev/null +++ b/pages/common/gdu.md @@ -0,0 +1,36 @@ +# gdu + +> Disk usage analyzer with console interface. +> More information: . + +- Interactively show the disk usage of the current directory: + +`gdu` + +- Interactively show the disk usage of a given directory: + +`gdu {{path/to/directory}}` + +- Interactively show the disk usage of all mounted disks: + +`gdu --show-disks` + +- Interactively show the disk usage of the current directory but ignore some sub-directories: + +`gdu --ignore-dirs {{path/to/directory1,path/to/directory2,...}}` + +- Ignore paths by `regex`: + +`gdu --ignore-dirs-pattern '{{.*[abc]+}}'` + +- Ignore hidden directories: + +`gdu --no-hidden` + +- Only print the result, do not enter interactive mode: + +`gdu --non-interactive {{path/to/directory}}` + +- Do not show the progress in non-interactive mode (useful in scripts): + +`gdu --no-progress {{path/to/directory}}` diff --git a/pages/common/gem.md b/pages/common/gem.md index 05cbf0d607066b..dd6437ce8c11b2 100644 --- a/pages/common/gem.md +++ b/pages/common/gem.md @@ -1,27 +1,27 @@ # gem -> Interact with the package manager for the Ruby programming language. -> More information: . +> A package manager for the Ruby programming language. +> More information: . - Search for remote gem(s) and show all available versions: -`gem search {{regexp}} --all` +`gem search {{regex}} {{[-a|--all]}}` -- Install latest version of a gem: +- Install the latest version of a gem: -`gem install {{gemname}}` +`gem install {{gem_name}}` -- Install specific version of a gem: +- Install a specific version of a gem: -`gem install {{gemname}} --version {{1.0.0}}` +`gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}` - Install the latest matching (SemVer) version of a gem: -`gem install {{gemname}} --version '~> {{1.0}}'` +`gem install {{gem_name}} {{[-v|--version]}} '~> {{1.0}}'` - Update a gem: -`gem update {{gemname}}` +`gem update {{gem_name}}` - List all local gems: @@ -29,8 +29,8 @@ - Uninstall a gem: -`gem uninstall {{gemname}}` +`gem uninstall {{gem_name}}` -- Uninstall specific version of a gem: +- Uninstall a specific version of a gem: -`gem uninstall {{gemname}} --version {{1.0.0}}` +`gem uninstall {{gem_name}} {{[-v|--version]}} {{1.0.0}}` diff --git a/pages/common/gemini.md b/pages/common/gemini.md new file mode 100644 index 00000000000000..708930ea5640ca --- /dev/null +++ b/pages/common/gemini.md @@ -0,0 +1,32 @@ +# gemini + +> Launch an interactive prompt with Gemini AI. +> More information: . + +- Start a REPL session to chat interactively: + +`gemini` + +- Send the output of another command to Gemini and exit immediately: + +`{{echo "Summarize the history of Rome"}} | gemini {{[-p|--prompt]}}` + +- Override the default model (default: gemini-2.5-pro): + +`gemini {{[-m|--model]}} {{gemini-2.5-flash}}` + +- Run inside a sandbox container: + +`gemini {{[-s|--sandbox]}}` + +- Execute a prompt then stay in interactive mode: + +`gemini {{[-i|--prompt-interactive]}} "{{Give me an example of recursion in Python}}"` + +- Include all files in context: + +`gemini {{[-a|--all-files]}}` + +- Show memory usage in status bar: + +`gemini --show-memory-usage` diff --git a/pages/common/gemtopbm.md b/pages/common/gemtopbm.md new file mode 100644 index 00000000000000..3637d6429fee52 --- /dev/null +++ b/pages/common/gemtopbm.md @@ -0,0 +1,8 @@ +# gemtopbm + +> This command has been superseded by `gemtopnm`. +> More information: . + +- View documentation for the current command: + +`tldr gemtopnm` diff --git a/pages/common/gemtopnm.md b/pages/common/gemtopnm.md new file mode 100644 index 00000000000000..3e5892ff43da7a --- /dev/null +++ b/pages/common/gemtopnm.md @@ -0,0 +1,16 @@ +# gemtopnm + +> Convert a GEM image file into a PNM image. +> More information: . + +- Convert a GEM image file to a PNM image: + +`gemtopnm {{path/to/file.img}} > {{path/to/output.pnm}}` + +- Describe the contents of the specified GEM image: + +`gemtopnm {{[-d|-debug]}} {{path/to/file.img}}` + +- Display version: + +`gemtopnm -version` diff --git a/pages/common/gendesk.md b/pages/common/gendesk.md new file mode 100644 index 00000000000000..548778e5ece0db --- /dev/null +++ b/pages/common/gendesk.md @@ -0,0 +1,16 @@ +# gendesk + +> Specifies the command to generate a `.desktop` file and a download icon with minimal information. +> More information: . + +- Create a `.desktop` file named `app`: + +`gendesk -n --name "{{app}}" --exec "/{{path/to/app}}" --icon "/{{path/to/icon.png}}" --comment "{{This is application}}"` + +- Create a `.desktop` file named `app`, do not display any output, and overwrite it if it exists: + +`gendesk -q -f -n --name "{{app}}" --exec "/{{path/to/app}}" --icon "/{{path/to/icon.png}}" --comment "{{This is application}}"` + +- Display help: + +`gendesk {{[-h|--help]}}` diff --git a/pages/common/get-nodeinstalllocation.md b/pages/common/get-nodeinstalllocation.md new file mode 100644 index 00000000000000..6de6277a0be401 --- /dev/null +++ b/pages/common/get-nodeinstalllocation.md @@ -0,0 +1,9 @@ +# Get-NodeInstallLocation + +> Get the current Node.js installation directory for `ps-nvm`. +> Part of `ps-nvm` and can only be run under PowerShell. +> More information: . + +- Get the current Node.js installation directory: + +`Get-NodeInstallLocation` diff --git a/pages/common/get-nodeversions.md b/pages/common/get-nodeversions.md new file mode 100644 index 00000000000000..51559f29ae96ae --- /dev/null +++ b/pages/common/get-nodeversions.md @@ -0,0 +1,17 @@ +# Get-NodeVersions + +> List installed and available Node.js versions for `ps-nvm`. +> Part of `ps-nvm` and can only be run under PowerShell. +> More information: . + +- List all installed Node.js versions: + +`Get-NodeVersions` + +- List all available Node.js versions: + +`Get-NodeVersions -Remote` + +- List all available Node.js 20.x versions: + +`Get-NodeVersions -Remote -Filter ">=20.0.0 <21.0.0"` diff --git a/pages/common/get_iplayer.md b/pages/common/get_iplayer.md new file mode 100644 index 00000000000000..ccc1e5332112d8 --- /dev/null +++ b/pages/common/get_iplayer.md @@ -0,0 +1,28 @@ +# get_iplayer + +> Indexing tool and personal video recorder for BBC iPlayer and BBC Sounds. +> More information: . + +- Search programmes by name: + +`get_iplayer "{{program_name}}"` + +- Record programme by results of search: + +`get_iplayer "{{program_name}}" {{[-g|--get]}}` + +- Record programme by URL from the BBC iPlayer website: + +`get_iplayer "https://www.bbc.co.uk/iplayer/episode/{{program_PID}}/{{name-of-show-episode-number-episode-title}}"` + +- Download subtitles for a programme by results of search: + +`get_iplayer "{{program_name}}" --subtitles-only` + +- Search for a programme, record it and download subtitles: + +`get_iplayer "{{program_name}}" {{[-g|--get]}} --subtitles` + +- Display help: + +`get_iplayer {{[-h|--help]}}` diff --git a/pages/common/getadusers.py.md b/pages/common/getadusers.py.md new file mode 100644 index 00000000000000..01c353389052f4 --- /dev/null +++ b/pages/common/getadusers.py.md @@ -0,0 +1,21 @@ +# GetADUsers.py + +> Retrieve a list of users from Active Directory, including attributes like last logon timestamp and email. +> Part of the Impacket suite. +> More information: . + +- Enumerate all Active Directory users and their attributes: + +`GetADUsers.py -all -dc-ip {{domain_controller_ip}} {{domain}}/{{username}}:{{password}}` + +- Retrieve information only for a specific user: + +`GetADUsers.py -user {{user}} -dc-ip {{domain_controller_ip}} {{domain}}/{{username}}:{{password}}` + +- Extract user details using pass-the-hash authentication: + +`GetADUsers.py -all -dc-ip {{domain_controller_ip}} -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}` + +- Save output to a file: + +`GetADUsers.py -all -dc-ip {{domain_controller_ip}} {{domain}}/{{username}}:{{password}} > {{path/to/output.txt}}` diff --git a/pages/common/getarch.py.md b/pages/common/getarch.py.md new file mode 100644 index 00000000000000..2b217af5f7bb0a --- /dev/null +++ b/pages/common/getarch.py.md @@ -0,0 +1,21 @@ +# getArch.py + +> Determine the OS architecture (x86 or x64) of a remote Windows system. +> Part of the Impacket suite. +> More information: . + +- Check the architecture of a single target system: + +`getArch.py -target {{target}}` + +- Check the architecture of multiple targets from a file (one per line): + +`getArch.py -targets {{path/to/targets_file}}` + +- Set a custom socket timeout (default is 2 seconds): + +`getArch.py -target {{target}} -timeout {{seconds}}` + +- Enable debug mode for detailed output: + +`getArch.py -target {{target}} -debug` diff --git a/pages/common/geth.md b/pages/common/geth.md index 92e68020a1c920..5f6791770fc42b 100644 --- a/pages/common/geth.md +++ b/pages/common/geth.md @@ -1,7 +1,7 @@ # geth -> The go-ethereum command line interface. -> More information: . +> The go-ethereum command-line interface. +> More information: . - Connect to the main Ethereum network and automatically download the full node: diff --git a/pages/common/getnpusers.py.md b/pages/common/getnpusers.py.md new file mode 100644 index 00000000000000..d31f70ce3403f7 --- /dev/null +++ b/pages/common/getnpusers.py.md @@ -0,0 +1,25 @@ +# GetNPUsers.py + +> Enumerate Active Directory accounts with Kerberos pre-authentication disabled, which may be susceptible to AS-REP roasting attacks. +> Part of the Impacket suite. +> More information: . + +- Enumerate users with Kerberos pre-authentication disabled (default anonymous enumeration): + +`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -no-pass` + +- Perform AS-REP roasting and dump crackable hashes for offline cracking: + +`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -no-pass -request` + +- Authenticate with valid credentials (if anonymous binding is disabled): + +`GetNPUsers.py {{domain}}/{{username}}:{{password}} -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}}` + +- Use pass-the-hash authentication instead of a password: + +`GetNPUsers.py {{domain}}/{{username}} -hashes {{LM_Hash}}:{{NT_Hash}} -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}}` + +- Save the output to a file for further analysis: + +`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -request > {{path/to/output.txt}}` diff --git a/pages/common/getopts.md b/pages/common/getopts.md new file mode 100644 index 00000000000000..fc055c0e3f7fec --- /dev/null +++ b/pages/common/getopts.md @@ -0,0 +1,29 @@ +# getopts + +> Parse shell options from arguments. +> This command does not support longform options and thus using `getopt` is recommended instead. +> More information: . + +- Check if an option is the first set option in the current context: + +`getopts {{x}} {{opt}}; echo ${{opt}}` + +- Check if an option is set in a string (specified option must be the first element of the string): + +`getopts {{x}} {{opt}} "{{string text}}"; echo ${{opt}}` + +- Set an option to require an argument and print them: + +`getopts {{x}}: {{opt}}; echo ${{opt}} $OPTARG` + +- Check for multiple options: + +`while getopts {{xyz}} {{opt}}; do case ${{opt}} in x) {{echo x is set}};; y) {{echo y is set}};; z) {{echo z is set}};; esac; done` + +- Set `getopts` to silent mode and handle option errors: + +`while getopts :{{x:}} {{opt}}; do case ${{opt}} in x) ;; :) {{echo "Argument required"}};; ?) {{echo "Invalid argument"}} esac;; done` + +- Reset `getopts`: + +`OPTIND=1` diff --git a/pages/common/gettext.md b/pages/common/gettext.md new file mode 100644 index 00000000000000..f05ed9e182a161 --- /dev/null +++ b/pages/common/gettext.md @@ -0,0 +1,18 @@ +# gettext + +> Translates a string using stored translations in a compiled `.mo` file. +> Translations are stored in `/usr/share/locale//LC_MESSAGES/` with `domain` being the filename without its extension. +> See also: `msgfmt`, `msgunfmt`. +> More information: . + +- Get the translation of a string as specified in the domain file (falls back to given `msgid` if no translation exists): + +`LANGUAGE={{locale}} gettext {{[-d|--domain]}} {{domain}} "{{msgid}}"` + +- Display help: + +`gettext {{[-h|--help]}}` + +- Display gettext version: + +`gettext {{[-V|--version]}}` diff --git a/pages/common/getuserspns.py.md b/pages/common/getuserspns.py.md new file mode 100644 index 00000000000000..713ae7486b7fa2 --- /dev/null +++ b/pages/common/getuserspns.py.md @@ -0,0 +1,25 @@ +# GetUserSPNs.py + +> Retrieve Service Principal Names (SPNs) associated with Active Directory user accounts. +> Part of the Impacket suite. +> More information: . + +- Enumerate user accounts with an SPN and request their Kerberos TGS tickets: + +`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}}` + +- Use pass-the-hash authentication: + +`GetUserSPNs.py {{domain}}/{{username}} -hashes {{LM_Hash}}:{{NT_Hash}} -dc-ip {{domain_controller_ip}}` + +- Save the output to a file: + +`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}} -outputfile {{path/to/output_file}}` + +- Request only TGS tickets: + +`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}} -request` + +- Request only TGS tickets using pass-the-hash authentication: + +`GetUserSPNs.py {{domain}}/{{username}} -dc-ip {{domain_controller_ip}} -hashes {{LM_Hash}}:{{NT_Hash}} -request` diff --git a/pages/common/gfortran.md b/pages/common/gfortran.md new file mode 100644 index 00000000000000..18e63a8abeba39 --- /dev/null +++ b/pages/common/gfortran.md @@ -0,0 +1,24 @@ +# gfortran + +> Preprocess and compile Fortran source files, then assemble and link them together. +> More information: . + +- Compile multiple source files into an executable: + +`gfortran {{path/to/source1.f90 path/to/source2.f90 ...}} -o {{path/to/output_executable}}` + +- Show common warnings, debug symbols in output, and optimize without affecting debugging: + +`gfortran {{path/to/source.f90}} -Wall -g -Og -o {{path/to/output_executable}}` + +- Include libraries from a different path: + +`gfortran {{path/to/source.f90}} -o {{path/to/output_executable}} -I{{path/to/mod_and_include}} -L{{path/to/library}} -l{{library_name}}` + +- Compile source code into Assembler instructions: + +`gfortran -S {{path/to/source.f90}}` + +- Compile source code into an object file without linking: + +`gfortran -c {{path/to/source.f90}}` diff --git a/pages/common/gh-agent-task.md b/pages/common/gh-agent-task.md new file mode 100644 index 00000000000000..4fd867fb6e8bfb --- /dev/null +++ b/pages/common/gh-agent-task.md @@ -0,0 +1,24 @@ +# gh agent-task + +> Manage GitHub agent tasks. +> More information: . + +- List the most recent agent tasks: + +`gh {{[agent|agent-task]}} list` + +- Create a new agent task for the current repository: + +`gh {{[agent|agent-task]}} create "{{Improve the performance of the data processing pipeline}}"` + +- Create a new agent task from a file: + +`gh {{[agent|agent-task]}} create {{[-F|--from-file]}} {{path/to/file}}` + +- View details about a specific agent task: + +`gh {{[agent|agent-task]}} view {{session_id|pr_number|url|branch}}` + +- Show the log of a specific agent task: + +`gh {{[agent|agent-task]}} view --log {{session_id|pr_number|url|branch}}` diff --git a/pages/common/gh-agent.md b/pages/common/gh-agent.md new file mode 100644 index 00000000000000..02f59fde0ad1f7 --- /dev/null +++ b/pages/common/gh-agent.md @@ -0,0 +1,7 @@ +# gh agent + +> This command is an alias of `gh agent-task`. + +- View documentation for the original command: + +`tldr gh agent-task` diff --git a/pages/common/gh-alias.md b/pages/common/gh-alias.md index a13e7d30de5a3b..6e8c22e0646530 100644 --- a/pages/common/gh-alias.md +++ b/pages/common/gh-alias.md @@ -1,15 +1,11 @@ # gh alias -> Manage GitHub CLI command aliases from the command line. +> Manage GitHub CLI command aliases. > More information: . -- Display the subcommand help: - -`gh alias` - -- List all of the aliases `gh` is configured to use: +- List all the aliases `gh` is configured to use: -`gh alias list` +`gh alias {{[ls|list]}}` - Create a `gh` subcommand alias: @@ -17,8 +13,12 @@ - Set a shell command as a `gh` subcommand: -`gh alias set --shell {{alias_name}} {{command}}` +`gh alias set {{[-s|--shell]}} {{alias_name}} {{command}}` - Delete a command shortcut: `gh alias delete {{alias_name}}` + +- Display the subcommand help: + +`gh alias` diff --git a/pages/common/gh-api.md b/pages/common/gh-api.md index 1326d737f3e2e2..1aebb42c67dfb6 100644 --- a/pages/common/gh-api.md +++ b/pages/common/gh-api.md @@ -1,31 +1,27 @@ # gh api -> Makes authenticated HTTP requests to the GitHub API and prints the response. +> Make authenticated HTTP requests to the GitHub API and print the response. > More information: . -- Display the subcommand help: - -`gh api --help` - - Display the releases for the current repository in JSON format: `gh api repos/:owner/:repo/releases` - Create a reaction for a specific issue: -`gh api --header {{Accept:application/vnd.github.squirrel-girl-preview+json}} --raw-field '{{content=+1}}' {{repos/:owner/:repo/issues/123/reactions}}` +`gh api {{[-H|--header]}} {{Accept:application/vnd.github.squirrel-girl-preview+json}} {{[-f|--raw-field]}} '{{content=+1}}' {{repos/:owner/:repo/issues/123/reactions}}` - Display the result of a GraphQL query in JSON format: -`gh api graphql --field {{name=':repo'}} --raw-field '{{query}}'` +`gh api graphql {{[-f|--field]}} {{name=':repo'}} {{[-f|--raw-field]}} '{{query}}'` - Send a request using a custom HTTP method: -`gh api --method {{POST}} {{endpoint}}` +`gh api {{[-X|--method]}} {{POST}} {{endpoint}}` - Include the HTTP response headers in the output: -`gh api --include {{endpoint}}` +`gh api {{[-i|--include]}} {{endpoint}}` - Do not print the response body: @@ -34,3 +30,7 @@ - Send a request to a specific GitHub Enterprise Server: `gh api --hostname {{github.example.com}} {{endpoint}}` + +- Display the subcommand help: + +`gh api --help` diff --git a/pages/common/gh-auth.md b/pages/common/gh-auth.md index 282fb701076122..41698e93eccad0 100644 --- a/pages/common/gh-auth.md +++ b/pages/common/gh-auth.md @@ -1,13 +1,13 @@ # gh auth -> Authenticate with a GitHub host from the command line. +> Authenticate with a GitHub host. > More information: . -- Login with interactive prompt: +- Log in with interactive prompt: `gh auth login` -- Login with a token from standard input (created in https://github.com/settings/tokens): +- Log in with a token from `stdin` (created in ): `echo {{your_token}} | gh auth login --with-token` @@ -19,6 +19,14 @@ `gh auth logout` -- Login with a specific GitHub Enterprise Server: +- Log in with a specific GitHub Enterprise Server: -`gh auth login --hostname {{github.example.com}}` +`gh auth login {{[-h|--hostname]}} {{github.example.com}}` + +- Refresh the session to ensure authentication credentials have the correct minimum scopes (removes additional scopes requested previously): + +`gh auth refresh` + +- Expand the permission scopes: + +`gh auth refresh {{[-s|--scopes]}} {{repo,admin:repo_hook,admin:org,admin:public_key,admin:org_hook,...}}` diff --git a/pages/common/gh-browse.md b/pages/common/gh-browse.md new file mode 100644 index 00000000000000..69cefd360f6202 --- /dev/null +++ b/pages/common/gh-browse.md @@ -0,0 +1,36 @@ +# gh browse + +> Open a GitHub repository in the browser or print the URL. +> More information: . + +- Open the homepage of the current repository in the default web browser: + +`gh browse` + +- Open the homepage of a specific repository in the default web browser: + +`gh browse {{owner}}/{{repository}}` + +- Open the settings page of the current repository in the default web browser: + +`gh browse {{[-s|--settings]}}` + +- Open the wiki of the current repository in the default web browser: + +`gh browse {{[-w|--wiki]}}` + +- Open a specific issue or pull request in the web browser: + +`gh browse {{issue_number|pull_request_number}}` + +- Open a specific branch in the web browser: + +`gh browse {{[-b|--branch]}} {{branch_name}}` + +- Open a specific file or directory of the current repository in the web browser: + +`gh browse {{path/to/file_or_directory}}` + +- Print the destination URL without open the web browser: + +`gh browse {{[-n|--no-browser]}}` diff --git a/pages/common/gh-cache.md b/pages/common/gh-cache.md new file mode 100644 index 00000000000000..410580fcb6c99b --- /dev/null +++ b/pages/common/gh-cache.md @@ -0,0 +1,36 @@ +# gh cache + +> Manage GitHub Actions caches. +> More information: . + +- List caches for the current repository: + +`gh cache {{[ls|list]}}` + +- List caches for a specific repository: + +`gh cache {{[ls|list]}} {{[-R|--repo]}} {{owner}}/{{repository}}` + +- List caches with a specific cache key prefix: + +`gh cache {{[ls|list]}} {{[-k|--key]}} {{key_prefix}}` + +- List caches for a specific branch: + +`gh cache {{[ls|list]}} {{[-r|--ref]}} refs/heads/{{branch_name}}` + +- List caches sorted by least recently accessed: + +`gh cache {{[ls|list]}} {{[-S|--sort]}} last_accessed_at {{[-O|--order]}} asc` + +- Delete a cache by id: + +`gh cache delete {{cache_id}}` + +- Delete a cache by key: + +`gh cache delete {{cache_key}}` + +- Delete all caches: + +`gh cache delete {{[-a|--all]}}` diff --git a/pages/common/gh-codespace.md b/pages/common/gh-codespace.md new file mode 100644 index 00000000000000..4c29279a18ca53 --- /dev/null +++ b/pages/common/gh-codespace.md @@ -0,0 +1,36 @@ +# gh codespace + +> Connect and manage your codespaces in GitHub. +> More information: . + +- Create a codespace in GitHub interactively: + +`gh {{[cs|codespace]}} create` + +- List all available codespaces: + +`gh {{[cs|codespace]}} {{[ls|list]}}` + +- Connect to a codespace via SSH interactively: + +`gh {{[cs|codespace]}} ssh` + +- Transfer a specific file to a codespace interactively: + +`gh {{[cs|codespace]}} cp {{path/to/source_file}} remote:{{path/to/remote_file}}` + +- List the ports of a codespace interactively: + +`gh {{[cs|codespace]}} ports` + +- Display the logs from a codespace interactively: + +`gh {{[cs|codespace]}} logs` + +- Delete a codespace interactively: + +`gh {{[cs|codespace]}} delete` + +- Display help for a subcommand: + +`gh {{[cs|codespace]}} {{code|cp|create|delete|edit|...}} {{[-h|--help]}}` diff --git a/pages/common/gh-completion.md b/pages/common/gh-completion.md index 2c9234c72e03b4..098e24444f1bc4 100644 --- a/pages/common/gh-completion.md +++ b/pages/common/gh-completion.md @@ -3,18 +3,18 @@ > Generate shell completion scripts for GitHub CLI commands. > More information: . -- Display the subcommand help: - -`gh completion` - - Print a completion script: -`gh completion --shell {{bash|zsh|fish|powershell}}` +`gh completion {{[-s|--shell]}} {{bash|zsh|fish|powershell}}` - Append the `gh` completion script to `~/.bashrc`: -`gh completion --shell {{bash}} >> {{~/.bashrc}}` +`gh completion {{[-s|--shell]}} bash >> ~/.bashrc` - Append the `gh` completion script to `~/.zshrc`: -`gh completion --shell {{zsh}} >> {{~/.zshrc}}` +`gh completion {{[-s|--shell]}} zsh >> ~/.zshrc` + +- Display the subcommand help: + +`gh completion` diff --git a/pages/common/gh-config.md b/pages/common/gh-config.md index 8d6e696d2d7b1b..8ad7d444fcdbd2 100644 --- a/pages/common/gh-config.md +++ b/pages/common/gh-config.md @@ -1,6 +1,6 @@ # gh config -> Change configuration for GitHub cli. +> Change configuration for GitHub CLI. > More information: . - Display what Git protocol is being used: @@ -9,7 +9,11 @@ - Set protocol to SSH: -`gh config set git_protocol {{ssh}}` +`gh config set git_protocol ssh` + +- Use `delta` in side-by-side mode as the default pager for all `gh` commands: + +`gh config set pager 'delta --side-by-side'` - Set text editor to Vim: @@ -17,7 +21,7 @@ - Reset to default text editor: -`gh config set editor {{""}}` +`gh config set editor ""` - Disable interactive prompts: diff --git a/pages/common/gh-copilot.md b/pages/common/gh-copilot.md new file mode 100644 index 00000000000000..87ea25490ad7e0 --- /dev/null +++ b/pages/common/gh-copilot.md @@ -0,0 +1,28 @@ +# gh copilot + +> Interact with GitHub Copilot. +> More information: . + +- Suggest a command, given a description: + +`gh copilot suggest "{{Install git}}"` + +- Suggest a Git command: + +`gh copilot suggest {{[-t|--target]}} git "{{Undo the most recent local commits}}"` + +- Explain a command: + +`gh copilot explain "{{traceroute example.com}}"` + +- Generate shell-specific aliases for Bash: + +`echo 'eval "$(gh copilot alias -- bash)"' >> ~/.bashrc` + +- Generate shell-specific aliases for Zsh: + +`echo 'eval "$(gh copilot alias -- zsh)"' >> ~/.zshrc` + +- Configure options: + +`gh copilot config` diff --git a/pages/common/gh-cs.md b/pages/common/gh-cs.md new file mode 100644 index 00000000000000..0f44a821e92520 --- /dev/null +++ b/pages/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> This command is an alias of `gh codespace`. + +- View documentation for the original command: + +`tldr gh codespace` diff --git a/pages/common/gh-extension.md b/pages/common/gh-extension.md new file mode 100644 index 00000000000000..92ead118328489 --- /dev/null +++ b/pages/common/gh-extension.md @@ -0,0 +1,36 @@ +# gh extension + +> Manage extensions for the GitHub CLI. +> More information: . + +- Initialize a new GitHub CLI extension project in a directory of the same name: + +`gh {{[ext|extension]}} create {{extension_name}}` + +- Install an extension from a GitHub repository: + +`gh {{[ext|extension]}} install {{owner}}/{{repository}}` + +- List installed extensions: + +`gh {{[ext|extension]}} {{[ls|list]}}` + +- Upgrade a specific extension: + +`gh {{[ext|extension]}} upgrade {{extension_name}}` + +- Upgrade all extensions: + +`gh {{[ext|extension]}} upgrade --all` + +- List installed extensions: + +`gh {{[ext|extension]}} {{[ls|list]}}` + +- Remove an extension: + +`gh {{[ext|extension]}} remove {{extension_name}}` + +- Display help about a subcommand: + +`gh {{[ext|extension]}} {{subcommand}} {{[-h|--help]}}` diff --git a/pages/common/gh-formatting.md b/pages/common/gh-formatting.md new file mode 100644 index 00000000000000..7b1fb969969648 --- /dev/null +++ b/pages/common/gh-formatting.md @@ -0,0 +1,8 @@ +# gh formatting + +> Formatting options for JSON data exported from gh GitHub CLI command. +> More information: . + +- Display help about formatting JSON output from `gh` using `jq`: + +`gh formatting` diff --git a/pages/common/gh-gist.md b/pages/common/gh-gist.md index 66841b989fdce6..98e7ed718341b9 100644 --- a/pages/common/gh-gist.md +++ b/pages/common/gh-gist.md @@ -1,24 +1,24 @@ # gh gist -> Work with GitHub Gists on the command line. +> Work with GitHub Gists. > More information: . -- Create a new Gist from a space-separated list of files: +- Create a new Gist from one or more files: -`gh gist create {{path/to/files}}` +`gh gist {{[new|create]}} {{path/to/file1 path/to/file2 ...}}` -- Create a new Gist with a description: +- Create a new Gist with a specific [desc]ription: -`gh gist create {{filename}} --desc "{{description}}"` +`gh gist {{[new|create]}} {{path/to/file1 path/to/file2 ...}} {{[-d|--desc]}} "{{description}}"` - Edit a Gist: -`gh gist edit {{id_or_url}}` +`gh gist edit {{id|url}}` -- List Gists owned by the currently logged in user: +- List up to 42 Gists owned by the currently logged in user: -`gh gist list --limit {{int}}` +`gh gist {{[ls|list]}} {{[-L|--limit]}} 42` - View a Gist in the default browser without rendering Markdown: -`gh gist view {{id_or_url}} --web --raw` +`gh gist view {{id|url}} {{[-w|--web]}} {{[-r|--raw]}}` diff --git a/pages/common/gh-gpg-key.md b/pages/common/gh-gpg-key.md new file mode 100644 index 00000000000000..1ffa10a4da6be3 --- /dev/null +++ b/pages/common/gh-gpg-key.md @@ -0,0 +1,21 @@ +# gh gpg-key + +> Manage GPG keys registered with the authorized GitHub account. +> See also: `gpg`. +> More information: . + +- List GPG keys in the authorized GitHub account: + +`gh gpg-key {{[ls|list]}}` + +- Add a GPG key to the authorized GitHub account by specifying the key file: + +`gh gpg-key add {{path/to/key_file}}` + +- Add a GPG key to the authorized GitHub account by specifying the key ID: + +`gpg {{[-a|--armor]}} --export {{key_id}} | gh gpg-key add -` + +- Delete a GPG key from the authorized GitHub account: + +`gh gpg-key delete {{key_id}}` diff --git a/pages/common/gh-help.md b/pages/common/gh-help.md index 1c46e351c8791b..477b34115bcf14 100644 --- a/pages/common/gh-help.md +++ b/pages/common/gh-help.md @@ -9,7 +9,7 @@ - Display help for the `gh help` subcommand: -`gh help --help` +`gh help {{[-h|--help]}}` - Display help about environment variables that can be used with `gh`: @@ -19,6 +19,14 @@ `gh help reference` +- Display help about formatting JSON output from `gh` using `jq`: + +`gh help formatting` + +- Display help about using `gh` with MinTTY: + +`gh help mintty` + - Display help for a subcommand: `gh help {{subcommand}}` diff --git a/pages/common/gh-issue-create.md b/pages/common/gh-issue-create.md new file mode 100644 index 00000000000000..7634598dbd90cf --- /dev/null +++ b/pages/common/gh-issue-create.md @@ -0,0 +1,32 @@ +# gh issue create + +> Create GitHub issues on a repository. +> More information: . + +- Create a new issue against the current repository interactively: + +`gh issue {{[new|create]}}` + +- Create a new issue with the `bug` label interactively: + +`gh issue {{[new|create]}} {{[-l|--label]}} "bug"` + +- Create a new issue interactively and assign it to the specified users: + +`gh issue {{[new|create]}} {{[-a|--assignee]}} {{user1,user2,...}}` + +- Create a new issue with a title, body and assign it to the current user: + +`gh issue {{[new|create]}} {{[-t|--title]}} "{{title}}" {{[-b|--body]}} "{{body}}" {{[-a|--assignee]}} "@me"` + +- Create a new issue interactively, reading the body text from a file: + +`gh issue {{[new|create]}} {{[-F|--body-file]}} {{path/to/file}}` + +- Create a new issue in the default web browser: + +`gh issue {{[new|create]}} {{[-w|--web]}}` + +- Display help: + +`gh issue {{[new|create]}} {{[-h|--help]}}` diff --git a/pages/common/gh-issue.md b/pages/common/gh-issue.md index df0388423f4f92..fa410a297059bd 100644 --- a/pages/common/gh-issue.md +++ b/pages/common/gh-issue.md @@ -1,28 +1,32 @@ # gh issue -> Manage GitHub issues from the command line. +> Manage GitHub issues. > More information: . -- Print out the issue: +- Display a specific issue: `gh issue view {{issue_number}}` -- Create a new issue in the web browser: +- Display a specific issue in the default web browser: -`gh issue create --web` +`gh issue view {{issue_number}} {{[-w|--web]}}` + +- Create a new issue in the default web browser: + +`gh issue {{[new|create]}} {{[-w|--web]}}` - List the last 10 issues with the `bug` label: -`gh issue list --limit {{10}} --label "{{bug}}"` +`gh issue {{[ls|list]}} {{[-L|--limit]}} 10 {{[-l|--label]}} "bug"` - List closed issues made by a specific user: -`gh issue list --state closed --author {{username}}` +`gh issue {{[ls|list]}} {{[-s|--state]}} closed {{[-A|--author]}} {{username}}` - Display the status of issues relevant to the user, in a specific repository: -`gh issue status --repo {{owner}}/{{repository}}` +`gh issue status {{[-R|--repo]}} {{owner}}/{{repository}}` -- Reopen an issue: +- Reopen a specific issue: `gh issue reopen {{issue_number}}` diff --git a/pages/common/gh-label.md b/pages/common/gh-label.md new file mode 100644 index 00000000000000..d5a3f5a8fb392e --- /dev/null +++ b/pages/common/gh-label.md @@ -0,0 +1,32 @@ +# gh label + +> Work with GitHub labels. +> More information: . + +- List labels for the repository in the current directory: + +`gh label {{[ls|list]}}` + +- View labels for the repository in the current directory in the default web browser: + +`gh label {{[ls|list]}} {{[-w|--web]}}` + +- Create a label with a specific name, description and color in hexadecimal format for the repository in the current directory: + +`gh label create {{name}} {{[-d|--description]}} "{{description}}" {{[-c|--color]}} {{color_hex}}` + +- Delete a label for the repository in the current directory, prompting for confirmation: + +`gh label delete {{name}}` + +- Update the name and description for a specific label for the repository in the current directory: + +`gh label edit {{name}} {{[-n|--name]}} {{new_name}} {{[-d|--description]}} "{{description}}"` + +- Clone labels from a specific repository into the repository in the current directory: + +`gh label clone {{owner}}/{{repository}}` + +- Display help for a subcommand: + +`gh label {{subcommand}} {{[-h|--help]}}` diff --git a/pages/common/gh-mintty.md b/pages/common/gh-mintty.md new file mode 100644 index 00000000000000..3aac6ca7dd88c9 --- /dev/null +++ b/pages/common/gh-mintty.md @@ -0,0 +1,8 @@ +# gh mintty + +> Display help about MinTTY integration for the GitHub CLI command. +> More information: . + +- Display help about using `gh` with MinTTY: + +`gh mintty` diff --git a/pages/common/gh-org.md b/pages/common/gh-org.md new file mode 100644 index 00000000000000..4749d2790bec6b --- /dev/null +++ b/pages/common/gh-org.md @@ -0,0 +1,16 @@ +# gh org + +> Work with GitHub organizations. +> More information: . + +- List organizations for the authenticated user: + +`gh org {{[ls|list]}}` + +- List a certain amount of organizations (defaults to 30): + +`gh org {{[ls|list]}} {{[-L|--limit]}} {{100}}` + +- Display help: + +`gh org --help` diff --git a/pages/common/gh-pr-comment.md b/pages/common/gh-pr-comment.md new file mode 100644 index 00000000000000..8fd89464f060d9 --- /dev/null +++ b/pages/common/gh-pr-comment.md @@ -0,0 +1,20 @@ +# gh pr comment + +> Add a comment to a GitHub pull request. +> More information: . + +- Comment on the pull request of the current branch: + +`gh pr comment {{[-b|--body]}} "{{LGTM}}"` + +- Comment on a specific pull request: + +`gh pr comment {{123}} {{[-b|--body]}} "{{Thanks!}}"` + +- Comment from a file: + +`gh pr comment {{123}} {{[-F|--body-file]}} {{path/to/file.txt}}` + +- Open the editor to write a multi-line comment: + +`gh pr comment {{123}}` diff --git a/pages/common/gh-pr-create.md b/pages/common/gh-pr-create.md new file mode 100644 index 00000000000000..c3a56e61a837b8 --- /dev/null +++ b/pages/common/gh-pr-create.md @@ -0,0 +1,24 @@ +# gh pr create + +> Manage GitHub pull requests. +> More information: . + +- Interactively create a pull request: + +`gh pr {{[new|create]}}` + +- Create a pull request, determining the title and description from the commit messages of the current branch: + +`gh pr {{[new|create]}} {{[-f|--fill]}}` + +- Create a draft pull request: + +`gh pr {{[new|create]}} {{[-d|--draft]}}` + +- Create a pull request specifying the base branch, title, and description: + +`gh pr {{[new|create]}} {{[-B|--base]}} {{base_branch}} {{[-t|--title]}} "{{title}}" {{[-b|--body]}} "{{body}}"` + +- Start opening a pull request in the default web browser: + +`gh pr {{[new|create]}} {{[-w|--web]}}` diff --git a/pages/common/gh-pr-merge.md b/pages/common/gh-pr-merge.md new file mode 100644 index 00000000000000..9be6ead07fa3e1 --- /dev/null +++ b/pages/common/gh-pr-merge.md @@ -0,0 +1,32 @@ +# gh pr merge + +> Merge GitHub pull requests. +> More information: . + +- Merge the pull request associated with the current branch interactively: + +`gh pr merge` + +- Merge the specified pull request, interactively: + +`gh pr merge {{pr_number}}` + +- Merge the pull request, removing the branch on both the local and the remote: + +`gh pr merge {{[-d|--delete-branch]}}` + +- Merge the current pull request with the specified merge strategy: + +`gh pr merge --{{merge|squash|rebase}}` + +- Merge the current pull request with the specified merge strategy and commit message: + +`gh pr merge --{{merge|squash|rebase}} {{[-t|--subject]}} {{commit_message}}` + +- Squash the current pull request into one commit with the message body and merge: + +`gh pr merge {{[-s|--squash]}} {{[-b|--body]}} "{{commit_message_body}}"` + +- Display help: + +`gh pr merge {{[-h|--help]}}` diff --git a/pages/common/gh-pr-view.md b/pages/common/gh-pr-view.md new file mode 100644 index 00000000000000..bfb2f4d43a9a15 --- /dev/null +++ b/pages/common/gh-pr-view.md @@ -0,0 +1,20 @@ +# gh pr view + +> View details of a GitHub pull request. +> More information: . + +- View the pull request associated with the current branch: + +`gh pr view` + +- View a specific pull request: + +`gh pr view {{123}}` + +- Open the pull request in the default web browser: + +`gh pr view {{[-w|--web]}}` + +- Show comments in the terminal: + +`gh pr view {{123}} {{[-c|--comments]}}` diff --git a/pages/common/gh-pr.md b/pages/common/gh-pr.md index 371ad9628159eb..e5ed2af0d44e0d 100644 --- a/pages/common/gh-pr.md +++ b/pages/common/gh-pr.md @@ -1,24 +1,37 @@ # gh pr -> Manage GitHub pull requests from the command line. +> Manage GitHub pull requests. +> Some subcommands such as `create` have their own usage documentation. > More information: . - Create a pull request: -`gh pr create` +`gh pr {{[new|create]}}` -- Check out a pull request locally: +- Check out a specific pull request locally: -`gh pr checkout {{pr_number}}` +`gh {{[co|pr checkout]}} {{pr_number|url|branch}}` -- View the changes made in the PR: +- View the changes made in the pull request for the current branch: `gh pr diff` -- Approve the pull request of the current branch: +- Approve the pull request for the current branch: -`gh pr review --approve` +`gh pr review {{[-a|--approve]}}` -- Merge the pull request associated with the current branch, removing the branch on both the local and the remote: +- Merge the pull request associated with the current branch interactively: `gh pr merge` + +- Edit a pull request interactively: + +`gh pr edit` + +- Edit the base branch of a pull request: + +`gh pr edit {{[-B|--base]}} {{branch_name}}` + +- Check the status of the current repository's pull requests: + +`gh pr status` diff --git a/pages/common/gh-preview.md b/pages/common/gh-preview.md new file mode 100644 index 00000000000000..f987944c699ad4 --- /dev/null +++ b/pages/common/gh-preview.md @@ -0,0 +1,9 @@ +# gh preview + +> Preview GitHub CLI programs for testing and development purposes. +> These commands are unstable and may change at any time. +> More information: . + +- Run a specific preview command: + +`gh preview {{command}}` diff --git a/pages/common/gh-project.md b/pages/common/gh-project.md new file mode 100644 index 00000000000000..20d90ffe61c471 --- /dev/null +++ b/pages/common/gh-project.md @@ -0,0 +1,32 @@ +# gh project + +> Work with GitHub Projects. +> More information: . + +- List projects owned by the currently authenticated user: + +`gh project {{[ls|list]}}` + +- List projects owned by a specific user or organization: + +`gh project {{[ls|list]}} --owner {{owner}}` + +- View a project by number: + +`gh project view {{number}} --owner {{owner}}` + +- Create a new project: + +`gh project create --owner {{owner}} --title {{project_title}}` + +- Add an item (issue or pull request) to a project: + +`gh project item-add {{number}} --owner {{owner}} --url {{issue_or_pr_url}}` + +- List items in a project: + +`gh project item-list {{number}} --owner {{owner}}` + +- Close a project: + +`gh project close {{number}} --owner {{owner}}` diff --git a/pages/common/gh-release.md b/pages/common/gh-release.md index c876a88bdd911f..2e04e5c1d75a3d 100644 --- a/pages/common/gh-release.md +++ b/pages/common/gh-release.md @@ -1,11 +1,11 @@ # gh release -> Manage GitHub releases from the command line. +> Manage GitHub releases. > More information: . - List releases in a GitHub repository, limited to 30 items: -`gh release list` +`gh release {{[ls|list]}}` - Display information about a specific release: @@ -13,7 +13,7 @@ - Create a new release: -`gh release create {{tag}}` +`gh release {{[new|create]}} {{tag}}` - Delete a specific release: @@ -25,4 +25,4 @@ - Upload assets to a specific release: -`gh release upload {{tag}} {{path/to/file1}} {{path/to/file2}}` +`gh release upload {{tag}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/gh-repo-create.md b/pages/common/gh-repo-create.md new file mode 100644 index 00000000000000..d5654dcb7e9c09 --- /dev/null +++ b/pages/common/gh-repo-create.md @@ -0,0 +1,24 @@ +# gh repo create + +> Create a new GitHub repository. +> More information: . + +- Create a new repository interactively: + +`gh repo {{[new|create]}}` + +- Create a new repository with a specified name and description: + +`gh repo {{[new|create]}} {{repo_name}} {{[-d|--description]}} "{{repo_description}}"` + +- Create a private repository from the current directory: + +`gh repo {{[new|create]}} {{[-s|--source]}} . --private` + +- Clone the new repository locally after creation: + +`gh repo {{[new|create]}} {{repo_name}} {{[-c|--clone]}}` + +- Push the current directory to a new GitHub repository: + +`gh repo {{[new|create]}} {{[-s|--source]}} . --public` diff --git a/pages/common/gh-repo.md b/pages/common/gh-repo.md index fd5d2efbff7b26..f39768acc8dfc6 100644 --- a/pages/common/gh-repo.md +++ b/pages/common/gh-repo.md @@ -1,11 +1,11 @@ # gh repo -> Work with GitHub repositories on the command line. +> Work with GitHub repositories. > More information: . - Create a new repository (if the repository name is not set, the default name will be the name of the current directory): -`gh repo create {{name}}` +`gh repo {{[new|create]}} {{name}}` - Clone a repository: @@ -15,6 +15,18 @@ `gh repo fork {{owner}}/{{repository}} --clone` -- View a repository in the web browser: +- View a repository in the default web browser: -`gh repo view {{repository}} --web` +`gh repo view {{repository}} {{[-w|--web]}}` + +- List repositories owned by a specific user or organization (if the owner is not set, the default owner will be the currently logged in user): + +`gh repo {{[ls|list]}} {{owner}}` + +- List only non-forks repositories and limit the number of repositories to list (default: 30): + +`gh repo {{[ls|list]}} {{owner}} --source {{[-L|--limit]}} {{limit}}` + +- List repositories with a specific primary coding language: + +`gh repo {{[ls|list]}} {{owner}} {{[-l|--language]}} {{language_name}}` diff --git a/pages/common/gh-run.md b/pages/common/gh-run.md new file mode 100644 index 00000000000000..19abafd527e1b1 --- /dev/null +++ b/pages/common/gh-run.md @@ -0,0 +1,36 @@ +# gh run + +> View, run and watch recent GitHub Actions workflow runs. +> More information: . + +- Interactively select a run to see information about the jobs: + +`gh run view` + +- Display information about a specific run: + +`gh run view {{workflow_run_number}}` + +- Display information about the steps of a job: + +`gh run view {{[-j|--job]}} {{job_number}}` + +- Display the log of a job: + +`gh run view {{[-j|--job]}} {{job_number}} --log` + +- Check a specific workflow and exit with a non-zero status if the run failed: + +`gh run view {{workflow_run_number}} --exit-status && {{echo "run pending or passed"}}` + +- Interactively select an active run and wait until it's done: + +`gh run watch` + +- Display the jobs for a run and wait until it's done: + +`gh run watch {{workflow_run_number}}` + +- Re-run a specific workflow: + +`gh run rerun {{workflow_run_number}}` diff --git a/pages/common/gh-screensaver.md b/pages/common/gh-screensaver.md new file mode 100644 index 00000000000000..57b71fafbc7dd4 --- /dev/null +++ b/pages/common/gh-screensaver.md @@ -0,0 +1,25 @@ +# gh screensaver + +> Extension for GitHub CLI that runs animated terminal screensavers. +> See also: `gh extension`. +> More information: . + +- Run a random screensaver: + +`gh screensaver` + +- Run a specific screensaver: + +`gh screensaver {{[-s|--saver]}} {{fireworks|life|marquee|pipes|pollock|starfield}}` + +- Run the "marquee" screensaver with a specific text and font: + +`gh screensaver {{[-s|--saver]}} marquee -- --message="{{message}}" --font={{font_name}}` + +- Run the "starfield" screensaver with a specific density and speed: + +`gh screensaver {{[-s|--saver]}} starfield -- --density {{500}} --speed {{10}}` + +- List available screensavers: + +`gh screensaver {{[-l|--list]}}` diff --git a/pages/common/gh-search.md b/pages/common/gh-search.md new file mode 100644 index 00000000000000..350146c5e4db4a --- /dev/null +++ b/pages/common/gh-search.md @@ -0,0 +1,36 @@ +# gh search + +> Search across all of GitHub. +> More information: . + +- Search for code containing specific keywords: + +`gh search code {{keyword1 keyword2 ...}}` + +- Search for issues with a specific phrase: + +`gh search issues "{{search_phrase}}"` + +- Search commits by a specific author: + +`gh search commits --author {{username}}` + +- Search pull requests assigned to yourself that are still open: + +`gh search prs --assignee @me --state open` + +- Search repositories in an organization by topic: + +`gh search repos --owner {{org_name}} --topic {{topic_name}}` + +- Search issues without a certain label (Unix-like systems): + +`gh search issues -- "{{search_query}} -label:{{label_name}}"` + +- Search issues without a certain label (PowerShell): + +`gh --% search issues -- "{{search_query}} -label:{{label_name}}"` + +- Open the search query in the web browser: + +`gh search {{subcommand}} {{[-w|--web]}} {{query}}` diff --git a/pages/common/gh-secret-set.md b/pages/common/gh-secret-set.md new file mode 100644 index 00000000000000..ade60997fc36e0 --- /dev/null +++ b/pages/common/gh-secret-set.md @@ -0,0 +1,24 @@ +# gh secret set + +> Create or update GitHub secrets. +> More information: . + +- Set a secret for the current repository (user will be prompted for the value): + +`gh secret set {{name}}` + +- Set a secret from a file for the current repository: + +`gh secret set {{name}} < {{path/to/file}}` + +- Set a secret for a specific repository: + +`gh secret set {{name}} {{[-b|--body]}} {{value}} {{[-R|--repo]}} {{owner}}/{{repository}}` + +- Set an organization secret for specific repositories: + +`gh secret set {{name}} {{[-o|--org]}} {{organization}} {{[-r|--repos]}} "{{repository1,repository2,...}}"` + +- Set an organization secret with a specific visibility: + +`gh secret set {{name}} {{[-o|--org]}} {{organization}} {{[-v|--visibility]}} {{all|private|selected}}` diff --git a/pages/common/gh-secret.md b/pages/common/gh-secret.md index 9e9cacdd50eaba..81f75e3d135164 100644 --- a/pages/common/gh-secret.md +++ b/pages/common/gh-secret.md @@ -1,31 +1,31 @@ # gh secret -> Manage GitHub secrets from the command line. +> Manage GitHub secrets. > More information: . - List secret keys for the current repository: -`gh secret list` +`gh secret {{[ls|list]}}` - List secret keys for a specific organization: -`gh secret list --org {{organization}}` +`gh secret {{[ls|list]}} {{[-o|--org]}} {{organization}}` - List secret keys for a specific repository: -`gh secret list --repo {{owner}}/{{repository}}` +`gh secret {{[ls|list]}} {{[-R|--repo]}} {{owner}}/{{repository}}` -- Set a secret from a file for the current repository: +- Set a secret for the current repository (user will be prompted for the value): -`gh secret set {{name}} < {{path/to/file}}` +`gh secret set {{name}}` -- Set a secret for a specific repository: +- Set a secret from a file for the current repository: -`gh secret set {{name}} --body {{value}} --repo {{owner}}/{{repository}}` +`gh secret set {{name}} < {{path/to/file}}` - Set an organization secret for specific repositories: -`gh secret set {{name}} --org {{organization}} --repos {{repository1,repository2}}` +`gh secret set {{name}} {{[-o|--org]}} {{organization}} {{[-r|--repos]}} {{repository1,repository2}}` - Remove a secret for the current repository: @@ -33,4 +33,4 @@ - Remove a secret for a specific organization: -`gh secret remove {{name}} --org {{organization}}` +`gh secret remove {{name}} {{[-o|--org]}} {{organization}}` diff --git a/pages/common/gh-skyline.md b/pages/common/gh-skyline.md new file mode 100644 index 00000000000000..dc1e910ef3ce85 --- /dev/null +++ b/pages/common/gh-skyline.md @@ -0,0 +1,37 @@ +# gh skyline + +> Generate a 3D model of your GitHub contribution history. +> By default, it will create a `{username}-{year}-github-skyline.stl` file in the current directory. +> More information: . + +- Generate a skyline STL file for the current year and authenticated user: + +`gh skyline` + +- Generate a skyline for a specific user and year: + +`gh skyline {{[-u|--user]}} {{username}} {{[-y|--year]}} {{year}}` + +- Generate a skyline for a range of years: + +`gh skyline {{[-u|--user]}} {{username}} {{[-y|--year]}} {{first_year}}-{{last_year}}` + +- Generate a full skyline (from the user's join year to the current year): + +`gh skyline {{[-u|--user]}} {{username}} {{[-f|--full]}}` + +- Enable debug logging: + +`gh skyline {{[-d|--debug]}}` + +- Generate a skyline and specify the output file path: + +`gh skyline {{[-o|--output]}} {{path/to/output_file.stl}}` + +- Open the GitHub profile for a specific user: + +`gh skyline {{[-u|--user]}} {{username}} {{[-w|--web]}}` + +- Display help: + +`gh skyline {{[-h|--help]}}` diff --git a/pages/common/gh-ssh-key.md b/pages/common/gh-ssh-key.md new file mode 100644 index 00000000000000..1aff96d4da6252 --- /dev/null +++ b/pages/common/gh-ssh-key.md @@ -0,0 +1,20 @@ +# gh ssh-key + +> Manage GitHub SSH keys. +> More information: . + +- List SSH keys for the currently authenticated user: + +`gh ssh-key {{[ls|list]}}` + +- Add an SSH key to the currently authenticated user's account: + +`gh ssh-key add {{path/to/key.pub}}` + +- Add an SSH key to the currently authenticated user's account with a specific title: + +`gh ssh-key add {{[-t|--title]}} {{title}} {{path/to/key.pub}}` + +- Display help: + +`gh ssh-key` diff --git a/pages/common/gh-status.md b/pages/common/gh-status.md new file mode 100644 index 00000000000000..6ca31b71fb4261 --- /dev/null +++ b/pages/common/gh-status.md @@ -0,0 +1,16 @@ +# gh status + +> Check the status of subscribed repositories on GitHub. +> More information: . + +- Print information about all repositories you're subscribed to (issues, pull requests, reviews, mentions, activity, etc.): + +`gh status` + +- Exclude certain repositories: + +`gh status {{[-e|--exclude]}} {{repositories}}` + +- Print status of repositories belonging to an organization: + +`gh status {{[-o|--org]}} {{organization}}` diff --git a/pages/common/gh-variable.md b/pages/common/gh-variable.md new file mode 100644 index 00000000000000..933a3857b1f769 --- /dev/null +++ b/pages/common/gh-variable.md @@ -0,0 +1,36 @@ +# gh variable + +> Manage GitHub Actions and Dependabot variables. +> More information: . + +- List variables for the current repository: + +`gh variable {{[ls|list]}}` + +- List variables for a specific organization: + +`gh variable {{[ls|list]}} {{[-o|--org]}} {{organization}}` + +- Get a variable for the current repository: + +`gh variable get {{name}}` + +- Set a variable for the current repository (user will be prompted for the value): + +`gh variable set {{name}}` + +- Set a variable for a deployment environment in the current repository: + +`gh variable set {{name}} {{[-e|--env]}} {{environment_name}}` + +- Set an organization variable visible to all repositories: + +`gh variable set {{name}} {{[-o|--org]}} {{organization}} {{[-v|--visibility]}} all` + +- Set multiple variables from a dotenv file: + +`gh variable set {{[-f|--env-file]}} {{path/to/file.env}}` + +- Delete a variable for the current repository: + +`gh variable delete {{name}}` diff --git a/pages/common/gh-workflow.md b/pages/common/gh-workflow.md new file mode 100644 index 00000000000000..e028323948445f --- /dev/null +++ b/pages/common/gh-workflow.md @@ -0,0 +1,36 @@ +# gh workflow + +> List, view, and run GitHub Actions workflows. +> More information: . + +- Interactively select a workflow to view the latest jobs for: + +`gh workflow view` + +- View a specific workflow in the default browser: + +`gh workflow view {{id|workflow_name|filename.yml}} {{[-w|--web]}}` + +- Display the YAML definition of a specific workflow: + +`gh workflow view {{id|workflow_name|filename.yml}} {{[-y|--yaml]}}` + +- Display the YAML definition for a specific Git branch or tag: + +`gh workflow view {{id|workflow_name|filename.yml}} {{[-r|--ref]}} {{branch|tag_name}} {{[-y|--yaml]}}` + +- List workflow files (use `--all` to include disabled workflows): + +`gh workflow {{[ls|list]}}` + +- Run a manual workflow with parameters: + +`gh workflow run {{id|workflow_name|filename.yml}} {{--raw-field param1=value1 --raw-field param2=value2 ...}}` + +- Run a manual workflow using a specific branch or tag with JSON parameters from `stdin`: + +`echo '{{{"param1": "value1", "param2": "value2", ...}}}' | gh workflow run {{id|workflow_name|filename.yml}} {{[-r|--ref]}} {{branch|tag_name}}` + +- Enable or disable a specific workflow: + +`gh workflow {{enable|disable}} {{id|workflow_name|filename.yml}}` diff --git a/pages/common/gh.md b/pages/common/gh.md index 22b5cbc3942e68..5040ff9c322e4f 100644 --- a/pages/common/gh.md +++ b/pages/common/gh.md @@ -1,7 +1,8 @@ # gh -> Work seamlessly with GitHub from the command line. -> More information: . +> Work seamlessly with GitHub. +> Some subcommands such as `config` have their own usage documentation. +> More information: . - Clone a GitHub repository locally: @@ -9,27 +10,27 @@ - Create a new issue: -`gh issue create` +`gh issue {{[new|create]}}` - View and filter the open issues of the current repository: -`gh issue list` +`gh issue {{[ls|list]}}` -- View an issue in the browser: +- View an issue in the default web browser: -`gh issue view --web {{issue_number}}` +`gh issue view {{[-w|--web]}} {{issue_number|url}}` - Create a pull request: -`gh pr create` +`gh pr {{[new|create]}}` -- View a pull request in the browser: +- View a pull request in the default web browser: -`gh pr view --web {{pr_number}}` +`gh pr view {{[-w|--web]}} {{pr_number|url|branch}}` -- Locally check out the branch of a pull request, given its number: +- Check out a specific pull request locally: -`gh pr checkout {{pr_number}}` +`gh {{[co|pr checkout]}} {{pr_number|url|branch}}` - Check the status of a repository's pull requests: diff --git a/pages/common/ghc.md b/pages/common/ghc.md index c2bd1b8fb8e197..d87cf650afdc53 100644 --- a/pages/common/ghc.md +++ b/pages/common/ghc.md @@ -2,7 +2,7 @@ > The Glasgow Haskell Compiler. > Compiles and links Haskell source files. -> More information: . +> More information: . - Find and compile all modules in the current directory: @@ -10,17 +10,17 @@ - Compile a single file: -`ghc {{file.hs}}` +`ghc {{path/to/file.hs}}` - Compile using extra optimization: -`ghc -O {{file.hs}}` +`ghc -O {{path/to/file.hs}}` - Stop compilation after generating object files (.o): -`ghc -c {{file.hs}}` +`ghc -c {{path/to/file.hs}}` -- Run Haskell interactive interpreter (REPL): +- Start a REPL (interactive shell): `ghci` diff --git a/pages/common/ghci.md b/pages/common/ghci.md index 613811932c7858..ec57d674cbb48f 100644 --- a/pages/common/ghci.md +++ b/pages/common/ghci.md @@ -21,4 +21,4 @@ - Start a REPL with a colon-separated list of directories for finding source files: -`ghci -i{{path/to/directory1}}:{{path/to/directory2}}` +`ghci -i{{path/to/directory1:path/to/directory2:...}}` diff --git a/pages/common/ghcid.md b/pages/common/ghcid.md new file mode 100644 index 00000000000000..9a43109cba1ae7 --- /dev/null +++ b/pages/common/ghcid.md @@ -0,0 +1,29 @@ +# ghcid + +> Simple and efficient CLI IDE for Haskell that reloads code on file changes. +> Continuously displays compile errors, warnings, and test results. +> More information: . + +- Start `ghcid` and monitor a Haskell file for changes: + +`ghcid {{path/to/Main.hs}}` + +- Start `ghcid` with a specific command, such as loading a Stack or Cabal project: + +`ghcid --command "{{stack ghci Main.hs}}"` + +- Run an action (default `main`) on each file save: + +`ghcid --run={{action}} {{path/to/Main.hs}}` + +- Set maximum height and width (default to console height and width): + +`ghcid --height={{height}} --width={{width}} {{path/to/Main.hs}}` + +- Write full GHC compiler output to a file: + +`ghcid --outputfile={{path/to/output_file.txt}} {{path/to/Main.hs}}` + +- Execute REPL commands (eg. `-- $> 1+1`) on each file save: + +`ghcid --allow-eval {{path/to/Main.hs}}` diff --git a/pages/common/ghcup.md b/pages/common/ghcup.md index 05c4a1e33b0d2b..063ce3e190cb45 100644 --- a/pages/common/ghcup.md +++ b/pages/common/ghcup.md @@ -8,7 +8,7 @@ `ghcup tui` -- List available GHC/cabal versions: +- List available GHC/Cabal versions: `ghcup list` @@ -20,7 +20,7 @@ `ghcup install ghc {{version}}` -- Set the currently "active" GHC version: +- Activate a specific GHC version: `ghcup set ghc {{version}}` diff --git a/pages/common/ghdl.md b/pages/common/ghdl.md index 14d6aa53b8452b..53ff3734176134 100644 --- a/pages/common/ghdl.md +++ b/pages/common/ghdl.md @@ -1,13 +1,13 @@ # ghdl > Open-source simulator for the VHDL language. -> More information: . +> More information: . - Analyze a VHDL source file and produce an object file: `ghdl -a {{filename.vhdl}}` -- Elaborate a design (where `{{design}}` is the name of a configuration unit, entity unit or architecture unit): +- Elaborate a design (where `design` is the name of a configuration unit, entity unit or architecture unit): `ghdl -e {{design}}` @@ -23,6 +23,6 @@ `ghdl -s {{filename.vhdl}}` -- Display the help page: +- Display help: `ghdl --help` diff --git a/pages/common/ghost.md b/pages/common/ghost.md index 3c38d22cc795e3..025bff8d42098f 100644 --- a/pages/common/ghost.md +++ b/pages/common/ghost.md @@ -15,7 +15,7 @@ `ghost restart` -- Check the system for any potential hiccups when on install or update of Ghost: +- Check the system for any potential hiccups while installing or updating Ghost: `ghost doctor` diff --git a/pages/common/ghostty.md b/pages/common/ghostty.md new file mode 100644 index 00000000000000..53102185419b63 --- /dev/null +++ b/pages/common/ghostty.md @@ -0,0 +1,29 @@ +# ghostty + +> A fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. +> Note: All options from the configuration file can also be used on the command-line (using `--option=argument`). +> More information: . + +- Open a new Ghostty window (not supported on macOS): + +`ghostty` + +- Run a specific command in a new Ghostty window (not supported on macOS): + +`ghostty -e {{command}}` + +- List all default and configured keybindings: + +`ghostty +list-keybinds` + +- List all actions (i.e. what can be triggered via keybindings): + +`ghostty +list-actions` + +- Browse an interactive list of themes: + +`ghostty +list-themes` + +- Print the default configuration (including comments): + +`ghostty +show-config --default --docs` diff --git a/pages/common/ghq.md b/pages/common/ghq.md new file mode 100644 index 00000000000000..dc8aae9352b80e --- /dev/null +++ b/pages/common/ghq.md @@ -0,0 +1,36 @@ +# ghq + +> Manage remote repository clones organized by hostname and path. +> More information: . + +- Clone a repository under the `ghq` root directory (default is `~/ghq`): + +`ghq get {{repository_url}}` + +- Clone a repository from a user/project format (defaults to GitHub): + +`ghq get {{user}}/{{project}}` + +- Clone a repository and `cd` into it: + +`ghq get {{repository_url}} --look` + +- Clone a repository via SSH: + +`ghq get {{user}}/{{project}} -p` + +- Update an existing repository to the latest version: + +`ghq get {{repository_url}} -u` + +- List all locally cloned repositories: + +`ghq list` + +- List locally cloned repositories with full paths: + +`ghq list --full-path` + +- Remove a locally cloned repository: + +`ghq rm {{user}}/{{project}}` diff --git a/pages/common/gifdiff.md b/pages/common/gifdiff.md new file mode 100644 index 00000000000000..0c5d2f4446f1aa --- /dev/null +++ b/pages/common/gifdiff.md @@ -0,0 +1,13 @@ +# gifdiff + +> Compare two GIFs for identical visual appearance. +> See also: `gifsicle`. +> More information: . + +- Check how GIFs differ: + +`gifdiff {{path/to/first.gif}} {{path/to/second.gif}}` + +- Check if GIFs differ: + +`gifdiff --brief {{path/to/first.gif}} {{path/to/second.gif}}` diff --git a/pages/common/gifsicle.md b/pages/common/gifsicle.md index d810d1afa1a81f..6aafdea24ec2db 100644 --- a/pages/common/gifsicle.md +++ b/pages/common/gifsicle.md @@ -1,20 +1,32 @@ # gifsicle -> Create GIFs. +> Create, edit, manipulate, and get information about GIF files. > More information: . -- Optimise a GIF: +- Optimize a GIF as a new file: -`gifsicle --batch --optimize=3 {{amin.gif}}` +`gifsicle {{path/to/input.gif}} {{[-O|--optimize=]}}3 {{[-o|--output]}} {{path/to/output.gif}}` -- Make a GIF animation with gifsicle: +- Use batch mode (modify each given file in place) and unoptimize a GIF: -`gifsicle --delay={{10}} --loop *.gif > {{anim.gif}}` +`gifsicle {{[-b|--batch]}} {{path/to/input.gif}} {{[-U|--unoptimize]}}` -- Extract frames from an animation: +- Extract a frame from a GIF: -`gifsicle {{anim.gif}} '#0' > {{firstframe.gif}}` +`gifsicle {{path/to/input.gif}} '#{{0}}' > {{path/to/first_frame.gif}}` -- You can also edit animations by replacing, deleting, or inserting frames: +- Make a GIF animation from selected GIFs: -`gifsicle -b {{anim.gif}} --replace '#0' {{new.gif}}` +`gifsicle {{*.gif}} {{[-d|--delay]}} {{10}} {{[-l|--loop]}} > {{path/to/output.gif}}` + +- Reduce file size using lossy compression: + +`gifsicle {{[-b|--batch]}} {{path/to/input.gif}} {{[-O|--optimize=]}}3 --lossy={{100}} {{[-k|--colors]}} {{16}} {{[-f|--dither]}}` + +- Delete the first 10 frames and all frames after frame 20 from a GIF: + +`gifsicle {{[-b|--batch]}} {{path/to/input.gif}} --delete '#{{0-9}}' '#{{20-}}'` + +- Modify all frames by cropping them to a rectangle, changing their scale, flipping them, and rotating them: + +`gifsicle {{[-b|--batch]}} --crop {{starting_x}},{{starting_y}}+{{rect_width}}x{{rect_height}} --scale {{0.25}} --flip-horizontal --rotate-{{90|180|270}} {{path/to/input.gif}}` diff --git a/pages/common/giftopnm.md b/pages/common/giftopnm.md new file mode 100644 index 00000000000000..c529d61cc2fad7 --- /dev/null +++ b/pages/common/giftopnm.md @@ -0,0 +1,12 @@ +# giftopnm + +> Convert a GIF file into a PNM image. +> More information: . + +- Convert a GIF image to a Netpbm image pixel-for-pixel: + +`giftopnm {{path/to/input.gif}} > {{path/to/output.pnm}}` + +- Display version: + +`giftopnm {{[-v|-version]}}` diff --git a/pages/common/gimp.md b/pages/common/gimp.md new file mode 100644 index 00000000000000..028bd650048e38 --- /dev/null +++ b/pages/common/gimp.md @@ -0,0 +1,29 @@ +# gimp + +> GNU image manipulation program. +> See also: `krita`. +> More information: . + +- Start GIMP: + +`gimp` + +- Open specific files: + +`gimp {{path/to/image1 path/to/image2 ...}}` + +- Open specific files in a new window: + +`gimp --new-instance {{path/to/image1 path/to/image2 ...}}` + +- Start without a splash screen: + +`gimp --no-splash` + +- Print errors and warnings to the console instead of showing them in a dialog box: + +`gimp --console-messages` + +- Enable debugging signal handlers: + +`gimp --debug-handlers` diff --git a/pages/common/gist.md b/pages/common/gist.md index fb073fed6eb59a..4a517bcf375cfd 100644 --- a/pages/common/gist.md +++ b/pages/common/gist.md @@ -1,9 +1,9 @@ # gist -> Upload code to https://gist.github.com. +> Upload code to . > More information: . -- Login in gist on this computer: +- Log in to gist on this computer: `gist --login` @@ -13,7 +13,7 @@ - Create a private gist with a description: -`gist -p -d "{{A meaningful description}}" {{file.txt}} ` +`gist --private --description "{{A meaningful description}}" {{file.txt}}` - Read contents from `stdin` and create a gist from it: @@ -21,12 +21,12 @@ - List your public and private gists: -`gist -l` +`gist --list` -- List all gists for the currently logged in user: +- List all public gists for any user: -`gist -l {{username}}` +`gist --list {{username}}` -- Use the id from the gist URL to modify or include a file: +- Update a gist using the ID from URL: -`gist -u {{GIST_ID}} {{file.txt}}` +`gist --update {{GIST_ID}} {{file.txt}}` diff --git a/pages/common/git-abort.md b/pages/common/git-abort.md new file mode 100644 index 00000000000000..136a68e7be6fdf --- /dev/null +++ b/pages/common/git-abort.md @@ -0,0 +1,9 @@ +# git abort + +> Abort an ongoing rebase, merge, or cherry-pick. +> Part of `git-extras`. +> More information: . + +- Abort a Git rebase, merge, or cherry-pick: + +`git abort` diff --git a/pages/common/git-add.md b/pages/common/git-add.md index 910d0c6a210e01..8ebd90c8ae1c3a 100644 --- a/pages/common/git-add.md +++ b/pages/common/git-add.md @@ -9,24 +9,28 @@ - Add all files (tracked and untracked): -`git add -A` +`git add {{[-A|--all]}}` + +- Add all files recursively starting from the current folder: + +`git add .` - Only add already tracked files: -`git add -u` +`git add {{[-u|--update]}}` - Also add ignored files: -`git add -f` +`git add {{[-f|--force]}}` - Interactively stage parts of files: -`git add -p` +`git add {{[-p|--patch]}}` - Interactively stage parts of a given file: -`git add -p {{path/to/file}}` +`git add {{[-p|--patch]}} {{path/to/file}}` - Interactively stage a file: -`git add -i` +`git add {{[-i|--interactive]}}` diff --git a/pages/common/git-alias.md b/pages/common/git-alias.md new file mode 100644 index 00000000000000..cbdd005c2b410e --- /dev/null +++ b/pages/common/git-alias.md @@ -0,0 +1,17 @@ +# git alias + +> Create shortcuts for Git commands. +> Part of `git-extras`. +> More information: . + +- List all aliases: + +`git alias` + +- Create a new alias: + +`git alias "{{name}}" "{{command}}"` + +- Search for an existing alias: + +`git alias ^{{name}}` diff --git a/pages/common/git-am.md b/pages/common/git-am.md index 4b170737a266b3..fb0ec5e5da5cd6 100644 --- a/pages/common/git-am.md +++ b/pages/common/git-am.md @@ -1,13 +1,17 @@ # git am -> Apply patch files. Useful when receiving commits via email. -> See also `git format-patch`, which can generate patch files. +> Apply patch files and create a commit. Useful when receiving commits via email. +> See also: `git format-patch` which can generate patch files. > More information: . -- Apply a patch file: +- Apply and commit changes following a local patch file: `git am {{path/to/file.patch}}` +- Apply and commit changes following a remote patch file: + +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` + - Abort the process of applying a patch file: `git am --abort` diff --git a/pages/common/git-annex.md b/pages/common/git-annex.md index 05bebcb4f0c094..692827f420e947 100644 --- a/pages/common/git-annex.md +++ b/pages/common/git-annex.md @@ -2,11 +2,7 @@ > Manage files with Git, without checking their contents in. > When a file is annexed, its content is moved into a key-value store, and a symlink is made that points to the content. -> More information: . - -- Help: - -`git annex help` +> More information: . - Initialize a repo with Git annex: @@ -27,3 +23,7 @@ - Get a file or directory: `git annex get {{path/to/file_or_directory}}` + +- Display help: + +`git annex help` diff --git a/pages/common/git-annotate.md b/pages/common/git-annotate.md index 9ad786ea60fd21..372b8943f7f7fe 100644 --- a/pages/common/git-annotate.md +++ b/pages/common/git-annotate.md @@ -11,4 +11,8 @@ - Print a file with the author email and commit hash prepended to each line: -`git annotate -e {{path/to/file}}` +`git annotate {{[-e|--show-email]}} {{path/to/file}}` + +- Print only rows that match a `regex`: + +`git annotate -L :{{regexp}} {{path/to/file}}` diff --git a/pages/common/git-apply.md b/pages/common/git-apply.md index 5b5757916c3768..338ff09f6bf0d3 100644 --- a/pages/common/git-apply.md +++ b/pages/common/git-apply.md @@ -1,11 +1,12 @@ # git apply -> Apply a patch to files and/or to the index. +> Apply a patch to files and/or to the index without creating a commit. +> See also: `git am` which applies a patch and also creates a commit. > More information: . - Print messages about the patched files: -`git apply --verbose {{path/to/file}}` +`git apply {{[-v|--verbose]}} {{path/to/file}}` - Apply and add the patched files to the index: @@ -13,7 +14,7 @@ - Apply a remote patch file: -`curl {{https://example.com/file.patch}} | git apply` +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` - Output diffstat for the input and apply the patch: @@ -21,7 +22,7 @@ - Apply the patch in reverse: -`git apply --reverse {{path/to/file}}` +`git apply {{[-R|--reverse]}} {{path/to/file}}` - Store the patch result in the index without modifying the working tree: diff --git a/pages/common/git-archive-file.md b/pages/common/git-archive-file.md new file mode 100644 index 00000000000000..a0e60b2582e73b --- /dev/null +++ b/pages/common/git-archive-file.md @@ -0,0 +1,9 @@ +# git archive-file + +> Export all the files of the current Git branch into a Zip archive. +> Part of `git-extras`. +> More information: . + +- Pack the currently checked out commit into a Zip archive: + +`git archive-file` diff --git a/pages/common/git-archive.md b/pages/common/git-archive.md index 84eb2a390b888d..0bd07e5b8ba5ff 100644 --- a/pages/common/git-archive.md +++ b/pages/common/git-archive.md @@ -1,28 +1,28 @@ # git archive -> Create an archive of files from a named tree. +> Create an archive of files from a tree. > More information: . -- Create a tar archive from the contents of the current HEAD and print it to standard output: +- Create a tar archive from the contents of the current HEAD and print it to `stdout`: -`git archive --verbose HEAD` +`git archive {{[-v|--verbose]}} HEAD` -- Create a zip archive from the current HEAD and print it to standard output: +- Use the Zip format and report progress verbosely: -`git archive --verbose --format=zip HEAD` +`git archive {{[-v|--verbose]}} --format zip HEAD` -- Same as above, but write the zip archive to file: +- Output the Zip archive to a specific file: -`git archive --verbose --output={{path/to/file.zip}} HEAD` +`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{path/to/file.zip}} HEAD` -- Create a tar archive from the contents of the latest commit on a specific branch: +- Create a tar archive from the contents of the latest commit of a specific branch: -`git archive --output={{path/to/file.tar}} {{branch_name}}` +`git archive {{[-o|--output]}} {{path/to/file.tar}} {{branch_name}}` -- Create a tar archive from the contents of a specific directory: +- Use the contents of a specific directory: -`git archive --output={{path/to/file.tar}} HEAD:{{path/to/directory}}` +`git archive {{[-o|--output]}} {{path/to/file.tar}} HEAD:{{path/to/directory}}` - Prepend a path to each file to archive it inside a specific directory: -`git archive --output={{path/to/file.tar}} --prefix={{path/to/prepend}}/ HEAD` +`git archive {{[-o|--output]}} {{path/to/file.tar}} --prefix {{path/to/prepend}}/ HEAD` diff --git a/pages/common/git-authors.md b/pages/common/git-authors.md new file mode 100644 index 00000000000000..146d001c4aa8fe --- /dev/null +++ b/pages/common/git-authors.md @@ -0,0 +1,17 @@ +# git authors + +> Generate a list of committers of a Git repository. +> Part of `git-extras`. +> More information: . + +- Print a full list of committers to `stdout` instead of to the `AUTHORS` file: + +`git authors {{[-l|--list]}}` + +- Append the list of committers to the `AUTHORS` file and open it in the default editor: + +`git authors` + +- Append the list of committers, excluding emails, to the `AUTHORS` file and open it in the default editor: + +`git authors --no-email` diff --git a/pages/common/git-bisect.md b/pages/common/git-bisect.md index 774cb39d18e279..d71391f4d8392f 100644 --- a/pages/common/git-bisect.md +++ b/pages/common/git-bisect.md @@ -12,10 +12,14 @@ `git bisect {{good|bad}}` -- After `git bisect` pinpoints the faulty commit, end the bisect session and return to the previous branch: +- End the bisect session and return to the previous branch: `git bisect reset` - Skip a commit during a bisect (e.g. one that fails the tests due to a different issue): `git bisect skip` + +- Display a log of what has been done so far: + +`git bisect log` diff --git a/pages/common/git-blame-someone-else.md b/pages/common/git-blame-someone-else.md new file mode 100644 index 00000000000000..5bbc669838a46a --- /dev/null +++ b/pages/common/git-blame-someone-else.md @@ -0,0 +1,8 @@ +# git blame-someone-else + +> Blame someone else for your bad code. +> More information: . + +- Change the committer and author of a commit: + +`git blame-someone-else "{{author }}" {{commit}}` diff --git a/pages/common/git-blame.md b/pages/common/git-blame.md index dede3cf5915417..d4ba46e50303ae 100644 --- a/pages/common/git-blame.md +++ b/pages/common/git-blame.md @@ -5,8 +5,28 @@ - Print file with author name and commit hash on each line: -`git blame {{file}}` +`git blame {{path/to/file}}` - Print file with author email and commit hash on each line: -`git blame -e {{file}}` +`git blame {{[-e|--show-email]}} {{path/to/file}}` + +- Print file with author name and commit hash on each line at a specific commit: + +`git blame {{commit}} {{path/to/file}}` + +- Print file with author name and commit hash on each line before a specific commit: + +`git blame {{commit}}~ {{path/to/file}}` + +- Jump to the parent of a specific commit and track a specific text and 10 of its following lines: + +`git blame -L '/{{text}}/',+10 {{a82812aa}}^ {{path/to/file}}` + +- Print author name and commit hash information for a specific line range: + +`git blame -L {{start_line}},{{end_line}} {{path/to/file}}` + +- Ignore whitespaces and line moves: + +`git blame -w -C -C -C {{path/to/file}}` diff --git a/pages/common/git-branch.md b/pages/common/git-branch.md index dc8da7c90e30f3..8beb7a95e5654f 100644 --- a/pages/common/git-branch.md +++ b/pages/common/git-branch.md @@ -3,13 +3,13 @@ > Main Git command for working with branches. > More information: . -- List local branches. The current branch is highlighted by `*`: +- List all branches (local and remote; the current branch is highlighted by `*`): -`git branch` +`git branch {{[-a|--all]}}` -- List all branches (local and remote): +- List which branches include a specific Git commit in their history: -`git branch -a` +`git branch {{[-a|--all]}} --contains {{commit_hash}}` - Show the name of the current branch: @@ -23,14 +23,14 @@ `git branch {{branch_name}} {{commit_hash}}` -- Rename a branch (must not have it checked out to do this): +- Rename a branch (you must switch to a different branch before doing this): -`git branch -m {{old_branch_name}} {{new_branch_name}}` +`git branch {{[-m|--move]}} {{old_branch_name}} {{new_branch_name}}` -- Delete a local branch (must not have it checked out to do this): +- Delete a local branch (you must switch to a different branch before doing this): -`git branch -d {{branch_name}}` +`git branch {{[-d|--delete]}} {{branch_name}}` - Delete a remote branch: -`git push {{remote_name}} --delete {{remote_branch_name}}` +`git push {{remote_name}} {{[-d|--delete]}} {{remote_branch_name}}` diff --git a/pages/common/git-browse-ci.md b/pages/common/git-browse-ci.md new file mode 100644 index 00000000000000..fe45965b098ee8 --- /dev/null +++ b/pages/common/git-browse-ci.md @@ -0,0 +1,13 @@ +# git browse-ci + +> Open the current `git` repository's CI website in the default web browser. +> Part of `git-extras`. +> More information: . + +- Open the current repository's CI configuration on its upstream website: + +`git browse-ci` + +- Open the current repository's CI configuration on its upstream website for a specific remote: + +`git browse-ci {{remote}}` diff --git a/pages/common/git-browse.md b/pages/common/git-browse.md new file mode 100644 index 00000000000000..a9ecd4d2103f3d --- /dev/null +++ b/pages/common/git-browse.md @@ -0,0 +1,13 @@ +# git browse + +> View an upstream repository in the default browser. +> Part of `git-extras`. +> More information: . + +- Open the first upstream in the default browser: + +`git browse` + +- Open a specific upstream in the default browser: + +`git browse {{upstream}}` diff --git a/pages/common/git-brv.md b/pages/common/git-brv.md new file mode 100644 index 00000000000000..0f58e431159995 --- /dev/null +++ b/pages/common/git-brv.md @@ -0,0 +1,9 @@ +# git brv + +> Print a list of branches, sorted by last commit date. +> Part of `git-extras`. +> More information: . + +- List each branch showing date, latest commit hash and message: + +`git brv` diff --git a/pages/common/git-bug.md b/pages/common/git-bug.md new file mode 100644 index 00000000000000..3ba1ca980cb565 --- /dev/null +++ b/pages/common/git-bug.md @@ -0,0 +1,33 @@ +# git bug + +> A distributed bug tracker that uses Git's internal storage, so no files are added in your project. +> You may submit your problems to the same Git remote you use to interact with others, much like commits and branches. +> More information: . + +- Create a new identity: + +`git bug user create` + +- Create a new bug: + +`git bug add` + +- Push a new bug entry to a remote: + +`git bug push` + +- Pull for updates: + +`git bug pull` + +- List existing bugs: + +`git bug ls` + +- Filter and sort bugs using a query: + +`git bug ls "{{status}}:{{open}} {{sort}}:{{edit}}"` + +- Search for bugs by text content: + +`git bug ls "{{search_query}}" baz` diff --git a/pages/common/git-bugreport.md b/pages/common/git-bugreport.md index 52da161ae866f8..4882e65a32220c 100644 --- a/pages/common/git-bugreport.md +++ b/pages/common/git-bugreport.md @@ -1,15 +1,16 @@ # git bugreport > Captures debug information from the system and user, generating a text file to aid in the reporting of a bug in Git. +> More information: . -- Create a new bugreport file in the current directory: +- Create a new bug report file in the current directory: `git bugreport` -- Create a new bugreport file in the specified directory, creating it if it does not exist: +- Create a new bug report file in the specified directory, creating it if it does not exist: -`git bugreport --output-directory {{path/to/directory}}` +`git bugreport {{[-o|--output-directory]}} {{path/to/directory}}` -- Create a new bugreport file with the specified filename suffix in `strftime` format: +- Create a new bug report file with the specified filename suffix in `strftime` format: -`git bugreport --suffix {{%m%d%y}}` +`git bugreport {{[-s|--suffix]}} {{%m%d%y}}` diff --git a/pages/common/git-bulk.md b/pages/common/git-bulk.md new file mode 100644 index 00000000000000..250f93a9d98091 --- /dev/null +++ b/pages/common/git-bulk.md @@ -0,0 +1,37 @@ +# git bulk + +> Execute operations on multiple Git repositories. +> Part of `git-extras`. +> More information: . + +- Register the current directory as a workspace: + +`git bulk --addcurrent {{workspace_name}}` + +- Register a workspace for bulk operations: + +`git bulk --addworkspace {{workspace_name}} /{{path/to/repository}}` + +- Clone a repository inside a specific directory, then register the repository as a workspace: + +`git bulk --addworkspace {{workspace_name}} /{{path/to/parent_directory}} --from {{remote_repository_location}}` + +- Clone repositories from a newline-separated list of remote locations, then register them as workspaces: + +`git bulk --addworkspace {{workspace_name}} /{{path/to/root/directory}} --from /{{path/to/file}}` + +- List all registered workspaces: + +`git bulk --listall` + +- Run a Git command on the repositories of the current workspace: + +`git bulk {{command}} {{command_arguments}}` + +- Remove a specific workspace: + +`git bulk --removeworkspace {{workspace_name}}` + +- Remove all workspaces: + +`git bulk --purge` diff --git a/pages/common/git-bundle.md b/pages/common/git-bundle.md index 577bf8852fbfea..0d3a041a234163 100644 --- a/pages/common/git-bundle.md +++ b/pages/common/git-bundle.md @@ -13,20 +13,24 @@ - Create a bundle file of the last 5 commits of the current branch: -`git bundle create {{path/to/file.bundle}} -{{5}} {{HEAD}}` +`git bundle create {{path/to/file.bundle}} -5 {{HEAD}}` - Create a bundle file of the latest 7 days: -`git bundle create {{path/to/file.bundle}} --since={{7.days}} {{HEAD}}` +`git bundle create {{path/to/file.bundle}} --since 7.days {{HEAD}}` - Verify that a bundle file is valid and can be applied to the current repository: `git bundle verify {{path/to/file.bundle}}` -- Print to the standard output the list of references contained in a bundle: +- Print to `stdout` the list of references contained in a bundle: `git bundle unbundle {{path/to/file.bundle}}` - Unbundle a specific branch from a bundle file into the current repository: `git pull {{path/to/file.bundle}} {{branch_name}}` + +- Create a new repository from a bundle: + +`git clone {{path/to/file.bundle}}` diff --git a/pages/common/git-changelog.md b/pages/common/git-changelog.md new file mode 100644 index 00000000000000..9cb0ddefefbf23 --- /dev/null +++ b/pages/common/git-changelog.md @@ -0,0 +1,33 @@ +# git changelog + +> Generate a changelog report from repository commits and tags. +> Part of `git-extras`. +> More information: . + +- Update existing file or create a new `History.md` file with the commit messages since the latest Git tag: + +`git changelog` + +- List commits from the current version: + +`git changelog {{[-l|--list]}}` + +- List a range of commits from the tag named `2.1.0` to now: + +`git changelog {{[-l|--list]}} {{[-s|--start-tag]}} {{2.1.0}}` + +- List pretty formatted range of commits between the tag `0.5.0` and the tag `1.0.0`: + +`git changelog {{[-s|--start-tag]}} {{0.5.0}} {{[-f|--final-tag]}} {{1.0.0}}` + +- List pretty formatted range of commits between the commit `0b97430` and the tag `1.0.0`: + +`git changelog --start-commit {{0b97430}} {{[-f|--final-tag]}} {{1.0.0}}` + +- Specify `CHANGELOG.md` as the output file: + +`git changelog {{CHANGELOG.md}}` + +- Replace contents of current changelog file entirely: + +`git changelog {{[-p|--prune-old]}}` diff --git a/pages/common/git-check-attr.md b/pages/common/git-check-attr.md index d43f4687049a87..64f26987b0800c 100644 --- a/pages/common/git-check-attr.md +++ b/pages/common/git-check-attr.md @@ -5,16 +5,16 @@ - Check the values of all attributes on a file: -`git check-attr --all {{path/to/file}}` +`git check-attr {{[-a|--all]}} {{path/to/file}}` - Check the value of a specific attribute on a file: `git check-attr {{attribute}} {{path/to/file}}` -- Check the value of a specific attribute on files: +- Check the values of all attributes on specific files: -`git check-attr --all {{path/to/file1}} {{path/to/file2}}` +`git check-attr {{[-a|--all]}} {{path/to/file1 path/to/file2 ...}}` - Check the value of a specific attribute on one or more files: -`git check-attr {{attribute}} {{path/to/file1}} {{path/to/file2}}` +`git check-attr {{attribute}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/git-check-ignore.md b/pages/common/git-check-ignore.md index 351854c970221d..0b1c9df8116f70 100644 --- a/pages/common/git-check-ignore.md +++ b/pages/common/git-check-ignore.md @@ -1,6 +1,6 @@ # git check-ignore -> Analyse and debug Git ignore / exclude (".gitignore") files. +> Analyze and debug Git ignore/exclude (".gitignore") files. > More information: . - Check whether a file or directory is ignored: @@ -9,7 +9,7 @@ - Check whether multiple files or directories are ignored: -`git check-ignore {{path/to/file}} {{path/to/directory}}` +`git check-ignore {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` - Use pathnames, one per line, from `stdin`: @@ -17,8 +17,8 @@ - Do not check the index (used to debug why paths were tracked and not ignored): -`git check-ignore --no-index {{path/to/files_or_directories}}` +`git check-ignore --no-index {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` - Include details about the matching pattern for each path: -`git check-ignore --verbose {{path/to/files_or_directories}}` +`git check-ignore {{[-v|--verbose]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` diff --git a/pages/common/git-check-ref-format.md b/pages/common/git-check-ref-format.md index 7c1b6052e52ba6..aa2a85e2f861bb 100644 --- a/pages/common/git-check-ref-format.md +++ b/pages/common/git-check-ref-format.md @@ -1,9 +1,9 @@ # git check-ref-format -> Checks if a given refname is acceptable, and exits with a non-zero status if it is not. +> Check if a reference name is acceptable, and exit with a non-zero status if it is not. > More information: . -- Check the format of the specified refname: +- Check the format of the specified reference name: `git check-ref-format {{refs/head/refname}}` diff --git a/pages/common/git-checkout-index.md b/pages/common/git-checkout-index.md index c1e448b923bca5..fae4dce640814c 100644 --- a/pages/common/git-checkout-index.md +++ b/pages/common/git-checkout-index.md @@ -5,16 +5,16 @@ - Restore any files deleted since the last commit: -`git checkout-index --all` +`git checkout-index {{[-a|--all]}}` - Restore any files deleted or changed since the last commit: -`git checkout-index --all --force` +`git checkout-index {{[-a|--all]}} {{[-f|--force]}}` - Restore any files changed since the last commit, ignoring any files that were deleted: -`git checkout-index --all --force --no-create` +`git checkout-index {{[-a|--all]}} {{[-f|--force]}} {{[-n|--no-create]}}` - Export a copy of the entire tree at the last commit to the specified directory (the trailing slash is important): -`git checkout-index --all --force --prefix={{path/to/export_directory/}}` +`git checkout-index {{[-a|--all]}} {{[-f|--force]}} --prefix {{path/to/export_directory}}/` diff --git a/pages/common/git-checkout.md b/pages/common/git-checkout.md index ec4417032adae4..35f6a8147d7b9c 100644 --- a/pages/common/git-checkout.md +++ b/pages/common/git-checkout.md @@ -21,7 +21,7 @@ - Switch to an existing remote branch: -`git checkout --track {{remote_name}}/{{branch_name}}` +`git checkout {{[-t|--track]}} {{remote_name}}/{{branch_name}}` - Discard all unstaged changes in the current directory (see `git reset` for more undo-like commands): @@ -29,8 +29,8 @@ - Discard unstaged changes to a given file: -`git checkout {{filename}}` +`git checkout {{path/to/file}}` - Replace a file in the current directory with the version of it committed in a given branch: -`git checkout {{branch_name}} -- {{filename}}` +`git checkout {{branch_name}} -- {{path/to/file}}` diff --git a/pages/common/git-cherry-pick.md b/pages/common/git-cherry-pick.md index 88e8a82231f827..658e83eda2c2ad 100644 --- a/pages/common/git-cherry-pick.md +++ b/pages/common/git-cherry-pick.md @@ -8,14 +8,14 @@ `git cherry-pick {{commit}}` -- Apply a range of commits to the current branch (see also `git rebase --onto`): +- Apply a range of commits to the current branch (see also: `git rebase --onto`): `git cherry-pick {{start_commit}}~..{{end_commit}}` - Apply multiple (non-sequential) commits to the current branch: -`git cherry-pick {{commit_1}} {{commit_2}}` +`git cherry-pick {{commit1 commit2 ...}}` - Add the changes of a commit to the working directory, without creating a commit: -`git cherry-pick -n {{commit}}` +`git cherry-pick {{[-n|--no-commit]}} {{commit}}` diff --git a/pages/common/git-cherry.md b/pages/common/git-cherry.md index 3c851a09b2ef92..f2e9310798e262 100644 --- a/pages/common/git-cherry.md +++ b/pages/common/git-cherry.md @@ -5,7 +5,7 @@ - Show commits (and their messages) with equivalent commits upstream: -`git cherry -v` +`git cherry {{[-v|--verbose]}}` - Specify a different upstream and topic branch: diff --git a/pages/common/git-clean.md b/pages/common/git-clean.md index 241bbb5814ac40..22d6772cf2ae38 100644 --- a/pages/common/git-clean.md +++ b/pages/common/git-clean.md @@ -1,28 +1,28 @@ # git clean -> Remove untracked files from the working tree. +> Remove files not tracked by Git from the working tree. > More information: . -- Delete files that are not tracked by Git: +- Delete untracked files: `git clean` -- Interactively delete files that are not tracked by Git: +- Interactively delete untracked files: -`git clean -i` +`git clean {{[-i|--interactive]}}` -- Show what files would be deleted without actually deleting them: +- Show which files would be deleted without actually deleting them: -`git clean --dry-run` +`git clean {{[-n|--dry-run]}}` -- Forcefully delete files that are not tracked by Git: +- Forcefully delete untracked files: -`git clean -f` +`git clean {{[-f|--force]}}` -- Forcefully delete directories that are not tracked by Git: +- Forcefully delete untracked [d]irectories: -`git clean -fd` +`git clean {{[-f|--force]}} -d` -- Delete untracked files, including ignored files in `.gitignore` and `.git/info/exclude`: +- Delete untracked files, including e[x]cluded files (files ignored in `.gitignore` and `.git/info/exclude`): `git clean -x` diff --git a/pages/common/git-clear-soft.md b/pages/common/git-clear-soft.md new file mode 100644 index 00000000000000..38f0f49f3b97a1 --- /dev/null +++ b/pages/common/git-clear-soft.md @@ -0,0 +1,9 @@ +# git clear-soft + +> Clear a Git working directory as if it was freshly cloned with the current branch excluding files in `.gitignore`. +> Part of `git-extras`. +> More information: . + +- Reset all tracked files and delete all untracked files: + +`git clear-soft` diff --git a/pages/common/git-clear.md b/pages/common/git-clear.md new file mode 100644 index 00000000000000..35c5cf2eab4506 --- /dev/null +++ b/pages/common/git-clear.md @@ -0,0 +1,9 @@ +# git clear + +> Clear a Git working directory as if it was freshly cloned with the current branch including files in `.gitignore`. +> Part of `git-extras`. +> More information: . + +- Reset all tracked files and delete all untracked files even if they are included in the `.gitignore`: + +`git clear` diff --git a/pages/common/git-cliff.md b/pages/common/git-cliff.md new file mode 100644 index 00000000000000..18ddae87d24daa --- /dev/null +++ b/pages/common/git-cliff.md @@ -0,0 +1,24 @@ +# git cliff + +> A highly customizable changelog generator. +> More information: . + +- Generate a changelog from all commits in a Git repository and save it to `CHANGELOG.md`: + +`git cliff > {{CHANGELOG.md}}` + +- Generate a changelog from commits starting from the latest tag and print it to `stdout`: + +`git cliff {{[-l|--latest]}}` + +- Generate a changelog from commits that belong to the current tag (use `git checkout` on a tag before this): + +`git cliff --current` + +- Generate a changelog from commits that do not belong to a tag: + +`git cliff {{[-u|--unreleased]}}` + +- Write the default config file to `cliff.toml` in the current directory: + +`git cliff {{[-i|--init]}}` diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index a3dad1915139d2..b92d89a628a027 100644 --- a/pages/common/git-clone.md +++ b/pages/common/git-clone.md @@ -3,11 +3,7 @@ > Clone an existing repository. > More information: . -- Clone an existing repository: - -`git clone {{remote_repository_location}}` - -- Clone an existing repository into a specific directory: +- Clone an existing repository into a new directory (the default directory is the repository name): `git clone {{remote_repository_location}} {{path/to/directory}}` @@ -15,18 +11,26 @@ `git clone --recursive {{remote_repository_location}}` +- Clone only the `.git` directory of an existing repository: + +`git clone {{[-n|--no-checkout]}} {{remote_repository_location}}` + - Clone a local repository: -`git clone -l {{path/to/local/repository}}` +`git clone {{[-l|--local]}} {{path/to/local_repository}}` - Clone quietly: -`git clone -q {{remote_repository_location}}` +`git clone {{[-q|--quiet]}} {{remote_repository_location}}` - Clone an existing repository only fetching the 10 most recent commits on the default branch (useful to save time): -`git clone --depth {{10}} {{remote_repository_location}}` +`git clone --depth 10 {{remote_repository_location}}` - Clone an existing repository only fetching a specific branch: -`git clone --branch {{name}} --single-branch {{remote_repository_location}}` +`git clone {{[-b|--branch]}} {{name}} --single-branch {{remote_repository_location}}` + +- Clone an existing repository using a specific SSH command: + +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i path/to/private_ssh_key}}" {{remote_repository_location}}` diff --git a/pages/common/git-coauthor.md b/pages/common/git-coauthor.md new file mode 100644 index 00000000000000..940d2cfe480fa2 --- /dev/null +++ b/pages/common/git-coauthor.md @@ -0,0 +1,9 @@ +# git coauthor + +> Add another author to the latest commit. Since this command rewrites the Git history, `--force` will be needed when pushing next time. +> Part of `git-extras`. +> More information: . + +- Insert an additional author to the last Git commit: + +`git coauthor {{name}} {{name@example.com}}` diff --git a/pages/common/git-cola.md b/pages/common/git-cola.md new file mode 100644 index 00000000000000..07323de62b2c8d --- /dev/null +++ b/pages/common/git-cola.md @@ -0,0 +1,24 @@ +# git cola + +> A powerful Git GUI with a slick and intuitive user interface. +> More information: . + +- Start the GUI: + +`git cola` + +- Start the GUI in amend mode: + +`git cola --amend` + +- Prompt for a Git repository. Defaults to the current directory: + +`git cola --prompt` + +- Open the Git repository at mentioned path: + +`git cola {{[-r|--repo]}} {{path/to/git-repository}}` + +- Apply the path filter to the status widget: + +`git cola {{[-s|--status-filter]}} {{filter}}` diff --git a/pages/common/git-column.md b/pages/common/git-column.md index 8c2aedccdd3081..eca34b36125076 100644 --- a/pages/common/git-column.md +++ b/pages/common/git-column.md @@ -3,14 +3,14 @@ > Display data in columns. > More information: . -- Format the standard input as multiple columns: +- Format `stdin` as multiple columns: `ls | git column --mode={{column}}` -- Format the standard input as multiple columns with a maximum width of `100`: +- Format `stdin` as multiple columns with a maximum width of `100`: `ls | git column --mode=column --width={{100}}` -- Format the standard input as multiple columns with a maximum padding of `30`: +- Format `stdin` as multiple columns with a maximum padding of `30`: `ls | git column --mode=column --padding={{30}}` diff --git a/pages/common/git-commit-graph.md b/pages/common/git-commit-graph.md index ebaeb66b35dec0..d18726e21a5d94 100644 --- a/pages/common/git-commit-graph.md +++ b/pages/common/git-commit-graph.md @@ -9,7 +9,7 @@ - Write a commit-graph file containing all reachable commits: -`git show-ref --hash | git commit-graph write --stdin-commits` +`git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits` - Write a commit-graph file containing all commits in the current commit-graph file along with those reachable from `HEAD`: diff --git a/pages/common/git-commit-tree.md b/pages/common/git-commit-tree.md index 4d174596f91349..0ae6b6a553d401 100644 --- a/pages/common/git-commit-tree.md +++ b/pages/common/git-commit-tree.md @@ -14,7 +14,7 @@ - Create a GPG-signed commit object: -`git commit-tree {{tree}} -m "{{message}}" --gpg-sign` +`git commit-tree {{tree}} -m "{{message}}" {{[-S|--gpg-sign]}}` - Create a commit object with the specified parent commit object: diff --git a/pages/common/git-commit.md b/pages/common/git-commit.md index a2736f7c0ef749..9842100f702e15 100644 --- a/pages/common/git-commit.md +++ b/pages/common/git-commit.md @@ -5,11 +5,19 @@ - Commit staged files to the repository with a message: -`git commit -m {{message}}` +`git commit {{[-m|--message]}} "{{message}}"` -- Auto stage all modified files and commit with a message: +- Commit staged files with a message read from a file: -`git commit -a -m {{message}}` +`git commit {{[-F|--file]}} {{path/to/commit_message_file}}` + +- Auto stage all modified and deleted files and commit with a message: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{message}}"` + +- Commit staged files and sign them with the specified GPG key (or the one defined in the configuration file if no argument is specified): + +`git commit {{[-S|--gpg-sign]}} {{key_id}} {{[-m|--message]}} "{{message}}"` - Update the last commit by adding the currently staged changes, changing the commit's hash: @@ -17,4 +25,8 @@ - Commit only specific (already staged) files: -`git commit {{path/to/my/file1}} {{path/to/my/file2}}` +`git commit {{path/to/file1 path/to/file2 ...}}` + +- Create a commit, even if there are no staged files: + +`git commit {{[-m|--message]}} "{{message}}" --allow-empty` diff --git a/pages/common/git-commits-since.md b/pages/common/git-commits-since.md new file mode 100644 index 00000000000000..252b77a544e515 --- /dev/null +++ b/pages/common/git-commits-since.md @@ -0,0 +1,21 @@ +# git commits-since + +> Display commits since a time or date. +> Part of `git-extras`. +> More information: . + +- Display commits since yesterday: + +`git commits-since {{yesterday}}` + +- Display commits since last week: + +`git commits-since {{last week}}` + +- Display commits since last month: + +`git commits-since {{last month}}` + +- Display commits since yesterday 2pm: + +`git commits-since {{yesterday 2pm}}` diff --git a/pages/common/git-config.md b/pages/common/git-config.md index 297851bd164361..6c0776b09a4b2f 100644 --- a/pages/common/git-config.md +++ b/pages/common/git-config.md @@ -4,34 +4,34 @@ > These configurations can be local (for the current repository) or global (for the current user). > More information: . -- List only local configuration entries (stored in `.git/config` in the current repository): +- Globally set your name or email (this information is required to commit to a repository and will be included in all commits): -`git config --list --local` +`git config --global {{user.name|user.email}} "{{Your Name|email@example.com}}"` -- List only global configuration entries (stored in `~/.gitconfig`): +- List local, global or system configuration entries and show their file location: -`git config --list --global` +`git config {{[-l|--list]}} --{{local|global|system}} --show-origin` -- List all configuration entries that have been defined either locally or globally: +- Set the global value of a given configuration entry (in this case an alias): -`git config --list` +`git config --global {{alias.unstage}} "reset HEAD --"` - Get the value of a given configuration entry: -`git config alias.unstage` +`git config {{alias.unstage}}` -- Set the global value of a given configuration entry: +- Use an alias: -`git config --global alias.unstage "reset HEAD --"` +`git {{unstage}}` - Revert a global configuration entry to its default value: -`git config --global --unset alias.unstage` +`git config --global --unset {{alias.unstage}}` -- Edit the Git configuration for the current repository in the default editor: +- Edit the local Git configuration (`.git/config`) in the default editor: -`git config --edit` +`git config {{[-e|--edit]}}` -- Edit the global Git configuration in the default editor: +- Edit the global Git configuration (`~/.gitconfig` by default or `$XDG_CONFIG_HOME/git/config` if such a file exists) in the default editor: -`git config --global --edit` +`git config --global {{[-e|--edit]}}` diff --git a/pages/common/git-contrib.md b/pages/common/git-contrib.md new file mode 100644 index 00000000000000..439c9d6f2881aa --- /dev/null +++ b/pages/common/git-contrib.md @@ -0,0 +1,9 @@ +# git contrib + +> Display commits from an author. +> Part of `git-extras`. +> More information: . + +- Display all commit hashes and their corresponding commit messages from a specific author: + +`git contrib {{author}}` diff --git a/pages/common/git-count-objects.md b/pages/common/git-count-objects.md index 9045e564209c07..606016893c4106 100644 --- a/pages/common/git-count-objects.md +++ b/pages/common/git-count-objects.md @@ -7,14 +7,14 @@ `git count-objects` -- Display a count of all objects and their total disk usage, displaying sizes in human readable units: +- Display a count of all objects and their total disk usage, displaying sizes in human-readable units: -`git count-objects --human-readable` +`git count-objects {{[-H|--human-readable]}}` - Display more verbose information: -`git count-objects --verbose` +`git count-objects {{[-v|--verbose]}}` -- Display more verbose information, displaying sizes in human readable units: +- Display more verbose information, displaying sizes in human-readable units: -`git count-objects --human-readable --verbose` +`git count-objects {{[-H|--human-readable]}} {{[-v|--verbose]}}` diff --git a/pages/common/git-count.md b/pages/common/git-count.md new file mode 100644 index 00000000000000..6bae40b7a3e182 --- /dev/null +++ b/pages/common/git-count.md @@ -0,0 +1,13 @@ +# git count + +> Print the total number of commits. +> Part of `git-extras`. +> More information: . + +- Print the total number of commits: + +`git count` + +- Print the number of commits per contributor and the total number of commits: + +`git count --all` diff --git a/pages/common/git-cp.md b/pages/common/git-cp.md new file mode 100644 index 00000000000000..1e5102ace30474 --- /dev/null +++ b/pages/common/git-cp.md @@ -0,0 +1,13 @@ +# git cp + +> Copy an existing file to a new location, preserving history. +> Part of `git-extras`. +> More information: . + +- Copy an existing file in a Git repo, staying in the same directory: + +`git cp {{file}} {{new_file}}` + +- Copy an existing file in a Git repo and place it elsewhere: + +`git cp {{path/to/file}} {{path/to/new_file}}` diff --git a/pages/common/git-create-branch.md b/pages/common/git-create-branch.md new file mode 100644 index 00000000000000..4e67112085f859 --- /dev/null +++ b/pages/common/git-create-branch.md @@ -0,0 +1,17 @@ +# git create-branch + +> Create a Git branch in a repository. +> Part of `git-extras`. +> More information: . + +- Create a local branch: + +`git create-branch {{branch_name}}` + +- Create a branch locally and on origin: + +`git create-branch {{[-r|--remote]}} {{branch_name}}` + +- Create a branch locally and on upstream (through forks): + +`git create-branch {{[-r|--remote]}} upstream {{branch_name}}` diff --git a/pages/common/git-credential-cache.md b/pages/common/git-credential-cache.md new file mode 100644 index 00000000000000..21ab0e095b9744 --- /dev/null +++ b/pages/common/git-credential-cache.md @@ -0,0 +1,8 @@ +# git credential-cache + +> Git helper to temporarily store passwords in memory. +> More information: . + +- Store Git credentials for a specific amount of time: + +`git config credential.helper 'cache --timeout={{time_in_seconds}}'` diff --git a/pages/common/git-credential-store.md b/pages/common/git-credential-store.md new file mode 100644 index 00000000000000..88f0430ce98583 --- /dev/null +++ b/pages/common/git-credential-store.md @@ -0,0 +1,8 @@ +# git credential-store + +> Git helper to store passwords on disk. +> More information: . + +- Store Git credentials in a specific file: + +`git config credential.helper 'store --file={{path/to/file}}'` diff --git a/pages/common/git-cvsexportcommit.md b/pages/common/git-cvsexportcommit.md new file mode 100644 index 00000000000000..3bbdf04d169f04 --- /dev/null +++ b/pages/common/git-cvsexportcommit.md @@ -0,0 +1,8 @@ +# git cvsexportcommit + +> Export a single `Git` commit to a CVS checkout. +> More information: . + +- Merge a specific patch into CVS: + +`git cvsexportcommit -v -c -w {{path/to/project_cvs_checkout}} {{commit_sha1}}` diff --git a/pages/common/git-daemon.md b/pages/common/git-daemon.md new file mode 100644 index 00000000000000..263587127effc5 --- /dev/null +++ b/pages/common/git-daemon.md @@ -0,0 +1,16 @@ +# git daemon + +> A really simple server for Git repositories. +> More information: . + +- Launch a Git daemon with a whitelisted set of directories: + +`git daemon --export-all {{path/to/directory1 path/to/directory2 ...}}` + +- Launch a Git daemon with a specific base directory and allow pulling from all sub-directories that look like Git repositories: + +`git daemon --base-path={{path/to/directory}} --export-all --reuseaddr` + +- Launch a Git daemon for the specified directory, verbosely printing log messages and allowing Git clients to write to it: + +`git daemon {{path/to/directory}} --enable=receive-pack --informative-errors --verbose` diff --git a/pages/common/git-delete-branch.md b/pages/common/git-delete-branch.md new file mode 100644 index 00000000000000..424764f78fb1a8 --- /dev/null +++ b/pages/common/git-delete-branch.md @@ -0,0 +1,9 @@ +# git delete-branch + +> Delete local and remote Git branches. +> Part of `git-extras`. If deleting the checked out branch, only the remote branch will be deleted. +> More information: . + +- Delete one or more local and remote Git branches: + +`git delete-branch {{branch_name1 branch_name2 ...}}` diff --git a/pages/common/git-delete-merged-branches.md b/pages/common/git-delete-merged-branches.md new file mode 100644 index 00000000000000..dc2ae9b7dcb82c --- /dev/null +++ b/pages/common/git-delete-merged-branches.md @@ -0,0 +1,9 @@ +# git delete-merged-branches + +> Delete branches that are listed in `git branch --merged` excluding master. +> Part of `git-extras`. +> More information: . + +- Delete merged branches: + +`git delete-merged-branches` diff --git a/pages/common/git-delete-squashed-branches.md b/pages/common/git-delete-squashed-branches.md new file mode 100644 index 00000000000000..983dadc882ba7d --- /dev/null +++ b/pages/common/git-delete-squashed-branches.md @@ -0,0 +1,13 @@ +# git delete-squashed-branches + +> Delete branches that have been "squashed-merged" into a specified branch and checkout. If no branch is specified, default to the currently checked out branch. +> Part of `git-extras`. +> More information: . + +- Delete all branches that were "squash-merged" into the current checked out branch: + +`git delete-squashed-branches` + +- Delete all branches that were "squash-merged" into a specific branch: + +`git delete-squashed-branches {{branch_name}}` diff --git a/pages/common/git-delete-submodule.md b/pages/common/git-delete-submodule.md new file mode 100644 index 00000000000000..26115c5bd3b695 --- /dev/null +++ b/pages/common/git-delete-submodule.md @@ -0,0 +1,9 @@ +# git delete-submodule + +> Delete a submodule from a `git` repository. +> Part of `git-extras`. +> More information: . + +- Delete a specific submodule: + +`git delete-submodule {{path/to/submodule}}` diff --git a/pages/common/git-delete-tag.md b/pages/common/git-delete-tag.md new file mode 100644 index 00000000000000..ba0798103340fb --- /dev/null +++ b/pages/common/git-delete-tag.md @@ -0,0 +1,9 @@ +# git delete-tag + +> Delete existing local and remote tags. +> Part of `git-extras`. +> More information: . + +- Delete a tag: + +`git delete-tag {{tag_version}}` diff --git a/pages/common/git-delta.md b/pages/common/git-delta.md new file mode 100644 index 00000000000000..8209631620fbd7 --- /dev/null +++ b/pages/common/git-delta.md @@ -0,0 +1,13 @@ +# git delta + +> List files that differ from another branch. +> Part of `git-extras`. +> More information: . + +- List files from the current checked out branch that differ from the `main` branch: + +`git delta {{main}}` + +- List files from a specific branch that differ from another specific branch: + +`git delta {{branch_1}} {{branch_2}}` diff --git a/pages/common/git-describe.md b/pages/common/git-describe.md index 2eeae9288b3390..a5fa3f0983aa8f 100644 --- a/pages/common/git-describe.md +++ b/pages/common/git-describe.md @@ -1,6 +1,6 @@ # git describe -> Give an object a human readable name based on an available ref. +> Give an object a human-readable name based on an available ref. > More information: . - Create a unique name for the current commit (the name contains the most recent annotated tag, the number of additional commits, and the abbreviated commit hash): diff --git a/pages/common/git-diff-files.md b/pages/common/git-diff-files.md new file mode 100644 index 00000000000000..bd2e1a0faf42e4 --- /dev/null +++ b/pages/common/git-diff-files.md @@ -0,0 +1,20 @@ +# git diff-files + +> Compare files using their sha1 hashes and modes. +> More information: . + +- Compare all changed files: + +`git diff-files` + +- Compare only specified files: + +`git diff-files {{path/to/file}}` + +- Show only the names of changed files: + +`git diff-files --name-only` + +- Output a summary of extended header information: + +`git diff-files --summary` diff --git a/pages/common/git-diff-index.md b/pages/common/git-diff-index.md new file mode 100644 index 00000000000000..d3ec78c16d32e9 --- /dev/null +++ b/pages/common/git-diff-index.md @@ -0,0 +1,20 @@ +# git diff-index + +> Compare the working directory with a commit or tree object. +> More information: . + +- Compare the working directory with a specific commit: + +`git diff-index {{commit}}` + +- Compare a specific file or directory in working directory with a commit: + +`git diff-index {{commit}} {{path/to/file_or_directory}}` + +- Compare the working directory with the index (staging area) to check for staged changes: + +`git diff-index --cached {{commit}}` + +- Suppress output and return an exit status to check for differences: + +`git diff-index --quiet {{commit}}` diff --git a/pages/common/git-diff-tree.md b/pages/common/git-diff-tree.md new file mode 100644 index 00000000000000..9b080acc78e408 --- /dev/null +++ b/pages/common/git-diff-tree.md @@ -0,0 +1,20 @@ +# git diff-tree + +> Compares the content and mode of blobs found via two tree objects. +> More information: . + +- Compare two tree objects: + +`git diff-tree {{tree-ish1}} {{tree-ish2}}` + +- Show changes between two specific commits: + +`git diff-tree -r {{commit1}} {{commit2}}` + +- Display changes in patch format: + +`git diff-tree {{[-p|--patch]}} {{tree-ish1}} {{tree-ish2}}` + +- Filter changes by a specific path: + +`git diff-tree {{tree-ish1}} {{tree-ish2}} -- {{path/to/file_or_directory}}` diff --git a/pages/common/git-diff.md b/pages/common/git-diff.md index 5b8593222e49f0..ea74f6158d27cc 100644 --- a/pages/common/git-diff.md +++ b/pages/common/git-diff.md @@ -3,7 +3,7 @@ > Show changes to tracked files. > More information: . -- Show unstaged, uncommitted changes: +- Show unstaged changes: `git diff` @@ -17,11 +17,11 @@ - Show changes from all commits since a given date/time (a date expression, e.g. "1 week 2 days" or an ISO date): -`git diff 'HEAD@{3 months|weeks|days|hours|seconds ago}'` +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` -- Show only names of changed files since a given commit: +- Show diff statistics, like files changed, histogram, and total line insertions/deletions: -`git diff --name-only {{commit}}` +`git diff --stat {{commit}}` - Output a summary of file creations, renames and mode changes since a given commit: @@ -29,8 +29,8 @@ - Compare a single file between two branches or commits: -`git diff {{branch_1}}..{{branch_2}} [--] {{path/to/file}}` +`git diff {{branch_1}}..{{branch_2}} {{path/to/file}}` -- Compare different files from the current branch to other branch: +- Compare different files from the current branch to another branch: -`git diff {{branch}}:{{path/to/file2}} {{path/to/file}}` +`git diff {{other_branch}}:{{path/to/file2}} {{path/to/file1}}` diff --git a/pages/common/git-difftool.md b/pages/common/git-difftool.md index 81ea169c583188..e0eb3736ec0d3c 100644 --- a/pages/common/git-difftool.md +++ b/pages/common/git-difftool.md @@ -1,6 +1,7 @@ # git difftool -> Show file changes using external diff tools. Accepts the same options and arguments as Git diff. +> Show file changes using external diff tools. Accepts the same options and arguments as `git diff`. +> See also: `git diff`. > More information: . - List available diff tools: @@ -17,4 +18,4 @@ - Use a specific tool (opendiff) to show changes since a given commit: -`git difftool --tool={{opendiff}} {{commit}}` +`git difftool {{[-t|--tool]}} {{opendiff}} {{commit}}` diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md new file mode 100644 index 00000000000000..1f29e5b8045d5e --- /dev/null +++ b/pages/common/git-effort.md @@ -0,0 +1,29 @@ +# git effort + +> Display how much activity a file has had, showing commits per file and "active days" i.e. total number of days that contributed to the file. +> Part of `git-extras`. +> More information: . + +- Display each file in the repository, showing commits and active days: + +`git effort` + +- Display files modified by a specific number of commits or more, showing commits and active days: + +`git effort --above {{5}}` + +- Display files modified by a specific author, showing commits and active days: + +`git effort -- --author="{{username}}"` + +- Display files modified since a specific time/date, showing commits and active days: + +`git effort -- --since="{{last month}}"` + +- Display only the specified files or directories, showing commits and active days: + +`git effort {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Display all files in a specific directory, showing commits and active days: + +`git effort {{path/to/directory/*}}` diff --git a/pages/common/git-extras.md b/pages/common/git-extras.md new file mode 100644 index 00000000000000..26c01e04cc1dc4 --- /dev/null +++ b/pages/common/git-extras.md @@ -0,0 +1,16 @@ +# git extras + +> Git extension pack. +> More information: . + +- Install or upgrade `git-extras` commands: + +`git extras update` + +- Display help: + +`git extras {{[-h|--help]}}` + +- Display version: + +`git extras {{[-v|--version]}}` diff --git a/pages/common/git-fame.md b/pages/common/git-fame.md new file mode 100644 index 00000000000000..d7517117de2a22 --- /dev/null +++ b/pages/common/git-fame.md @@ -0,0 +1,36 @@ +# git fame + +> Pretty-print Git repository contributions. +> More information: . + +- Calculate contributions for the current Git repository: + +`git fame` + +- Exclude files/directories that match the specified `regex`: + +`git fame --excl "{{regex}}"` + +- Calculate contributions made after the specified date: + +`git fame --since "{{3 weeks ago|2021-05-13}}"` + +- Display contributions in the specified format: + +`git fame --format {{pipe|yaml|json|csv|tsv}}` + +- Display contributions per file extension: + +`git fame {{[-t|--bytype]}}` + +- Ignore whitespace changes: + +`git fame {{[-w|--ignore-whitespace]}}` + +- Detect inter-file line moves and copies: + +`git fame -C` + +- Detect intra-file line moves and copies: + +`git fame -M` diff --git a/pages/common/git-fast-export.md b/pages/common/git-fast-export.md new file mode 100644 index 00000000000000..6eccd1d8b6b521 --- /dev/null +++ b/pages/common/git-fast-export.md @@ -0,0 +1,24 @@ +# git fast-export + +> Export the contents and history of a Git repository in a streamable, plain-text format. +> More information: . + +- Export the entire Git repository history to `stdout`: + +`git fast-export --all` + +- Export the entire repository to a file: + +`git fast-export --all > {{path/to/file}}` + +- Export a specific branch only: + +`git fast-export {{main}}` + +- Export with `progress` statements every `n` objects (for showing progress during `git fast-import`): + +`git fast-export --progress {{n}} --all > {{path/to/file}}` + +- Export only a specific subdirectory's history: + +`git fast-export --all -- {{path/to/directory}} > {{path/to/file}}` diff --git a/pages/common/git-feature.md b/pages/common/git-feature.md new file mode 100644 index 00000000000000..c10b60598af4e6 --- /dev/null +++ b/pages/common/git-feature.md @@ -0,0 +1,21 @@ +# git feature + +> Create or merge feature branches. +> Feature branches obey the format feature/name. +> More information: . + +- Create and switch to a new feature branch: + +`git feature {{feature_branch}}` + +- Merge a feature branch into the current branch creating a merge commit: + +`git feature finish {{feature_branch}}` + +- Merge a feature branch into the current branch squashing the changes into one commit: + +`git feature finish --squash {{feature_branch}}` + +- Send changes from a specific feature branch to its remote counterpart: + +`git feature {{feature_branch}} {{[-r|--remote]}} {{remote_name}}` diff --git a/pages/common/git-fetch.md b/pages/common/git-fetch.md index 1ec53eb0a1d744..49e5cdf6e46acc 100644 --- a/pages/common/git-fetch.md +++ b/pages/common/git-fetch.md @@ -17,8 +17,12 @@ - Also fetch tags from the remote upstream repository: -`git fetch --tags` +`git fetch {{[-t|--tags]}}` - Delete local references to remote branches that have been deleted upstream: -`git fetch --prune` +`git fetch {{[-p|--prune]}}` + +- Deepen current shallow branch by 2 commits: + +`git fetch --deepen 2` diff --git a/pages/common/git-filter-repo.md b/pages/common/git-filter-repo.md new file mode 100644 index 00000000000000..8c24259dec80fb --- /dev/null +++ b/pages/common/git-filter-repo.md @@ -0,0 +1,21 @@ +# git filter-repo + +> A versatile tool for rewriting Git history. +> See also: `bfg`. +> More information: . + +- Replace a sensitive string in all files: + +`git filter-repo --replace-text <(echo '{{find}}==>{{replacement}}')` + +- Extract a single folder, keeping history: + +`git filter-repo --path {{path/to/folder}}` + +- Remove a single folder, keeping history: + +`git filter-repo --path {{path/to/folder}} --invert-paths` + +- Move everything from sub-folder one level up: + +`git filter-repo --path-rename {{path/to/folder/:}}` diff --git a/pages/common/git-for-each-ref.md b/pages/common/git-for-each-ref.md new file mode 100644 index 00000000000000..0279e9d0936366 --- /dev/null +++ b/pages/common/git-for-each-ref.md @@ -0,0 +1,36 @@ +# git for-each-ref + +> List and optionally format references (branches, tags) in a Git repository. +> More information: . + +- List all refs (branches and tags): + +`git for-each-ref` + +- List only branches: + +`git for-each-ref refs/heads/` + +- List only tags: + +`git for-each-ref refs/tags/` + +- Show branches merged into HEAD: + +`git for-each-ref --merged HEAD refs/heads/` + +- List short names of all refs: + +`git for-each-ref --format "%(refname:short)"` + +- Sort refs by committer date (most recent first): + +`git for-each-ref --sort -committerdate` + +- Sort refs by committer date (oldest first): + +`git for-each-ref --sort committerdate` + +- Limit output to a specified number of refs: + +`git for-each-ref --count {{count}}` diff --git a/pages/common/git-for-each-repo.md b/pages/common/git-for-each-repo.md new file mode 100644 index 00000000000000..f32a02b26bfd45 --- /dev/null +++ b/pages/common/git-for-each-repo.md @@ -0,0 +1,13 @@ +# git for-each-repo + +> Run a Git command on a list of repositories. +> Note: This command is experimental and may change. +> More information: . + +- Run maintenance on each of a list of repositories stored in the `maintenance.repo` user configuration variable: + +`git for-each-repo --config maintenance.repo {{maintenance run}}` + +- Run `git pull` on each repository listed in a global configuration variable: + +`git for-each-repo --config {{global_configuration_variable}} {{pull}}` diff --git a/pages/common/git-force-clone.md b/pages/common/git-force-clone.md new file mode 100644 index 00000000000000..39aeea319a6960 --- /dev/null +++ b/pages/common/git-force-clone.md @@ -0,0 +1,17 @@ +# git force-clone + +> Get the basic functionality of `git clone`, but if the destination Git repository already exists it will force-reset it to resemble a clone of the remote. +> Part of `git-extras`. +> More information: . + +- Clone a Git repository into a new directory: + +`git force-clone {{remote_repository_location}} {{path/to/directory}}` + +- Clone a Git repository into a new directory, checking out an specific branch: + +`git force-clone {{[-b|--branch]}} {{branch_name}} {{remote_repository_location}} {{path/to/directory}}` + +- Clone a Git repository into an existing directory of a Git repository, performing a force-reset to resemble it to the remote and checking out an specific branch: + +`git force-clone {{[-b|--branch]}} {{branch_name}} {{remote_repository_location}} {{path/to/directory}}` diff --git a/pages/common/git-fork.md b/pages/common/git-fork.md new file mode 100644 index 00000000000000..d9b15f57c7b388 --- /dev/null +++ b/pages/common/git-fork.md @@ -0,0 +1,13 @@ +# git fork + +> Fork a GitHub repo. Like `git clone` but forks first. +> Part of `git-extras`. +> More information: . + +- Fork and clone a GitHub repository by its URL: + +`git fork {{https://github.com/tldr-pages/tldr}}` + +- Fork and clone a GitHub repository by its slug: + +`git fork {{tldr-pages/tldr}}` diff --git a/pages/common/git-format-patch.md b/pages/common/git-format-patch.md index f0e59dfd7310aa..6bef27a320e714 100644 --- a/pages/common/git-format-patch.md +++ b/pages/common/git-format-patch.md @@ -1,17 +1,17 @@ # git format-patch > Prepare .patch files. Useful when emailing commits elsewhere. -> See also `git am`, which can apply generated .patch files. +> See also: `git am` which can apply generated .patch files. > More information: . -- Create an auto-named .patch file for all the unpushed commits: +- Create an auto-named `.patch` file for all the unpushed commits: `git format-patch {{origin}}` -- Write a .patch file for all the commits between 2 revisions to `stdout`: +- Write a `.patch` file for all the commits between 2 revisions to `stdout`: `git format-patch {{revision_1}}..{{revision_2}}` -- Write a .patch file for the 3 latest commits: +- Write a `.patch` file for the `n` latest commits: -`git format-patch -{{3}}` +`git format-patch -{{n}}` diff --git a/pages/common/git-fresh-branch.md b/pages/common/git-fresh-branch.md new file mode 100644 index 00000000000000..30491abd3d192e --- /dev/null +++ b/pages/common/git-fresh-branch.md @@ -0,0 +1,9 @@ +# git fresh-branch + +> Create an empty local branch. +> Part of `git-extras`. +> More information: . + +- Create an empty local branch: + +`git fresh-branch {{branch_name}}` diff --git a/pages/common/git-fsck.md b/pages/common/git-fsck.md index 170399258fb694..78b7b80be8a178 100644 --- a/pages/common/git-fsck.md +++ b/pages/common/git-fsck.md @@ -1,7 +1,8 @@ # git fsck > Verify the validity and connectivity of nodes in a Git repository index. -> Does not make any modifications. See `git gc` for cleaning up dangling blobs. +> Does not make any modifications. +> See also: `git gc` for cleaning up dangling blobs. > More information: . - Check the current repository: @@ -15,3 +16,11 @@ - List all root nodes found: `git fsck --root` + +- Show all unreachable and dangling objects, ignore reflogs, and perform a full integrity check: + +`git fsck --dangling --no-reflogs --unreachable --full` + +- Check connectivity only (skip object integrity verification): + +`git fsck --connectivity-only` diff --git a/pages/common/git-gc.md b/pages/common/git-gc.md index 998c5dc7f1c8f1..55e195560318ab 100644 --- a/pages/common/git-gc.md +++ b/pages/common/git-gc.md @@ -19,6 +19,6 @@ `git gc --quiet` -- View full usage: +- Display help: `git gc --help` diff --git a/pages/common/git-gh-pages.md b/pages/common/git-gh-pages.md new file mode 100644 index 00000000000000..024ef37c074aaf --- /dev/null +++ b/pages/common/git-gh-pages.md @@ -0,0 +1,9 @@ +# git gh-pages + +> Create a new branch inside the current repository called `gh-pages`. +> Part of `git-extras`. +> More information: . + +- Create the GitHub pages branch inside the repository in the current directory: + +`git gh-pages` diff --git a/pages/common/git-graft.md b/pages/common/git-graft.md new file mode 100644 index 00000000000000..f9fa71f9b1c770 --- /dev/null +++ b/pages/common/git-graft.md @@ -0,0 +1,9 @@ +# git graft + +> Merge commits from a branch into another branch and delete the source branch. +> Part of `git-extras`. +> More information: . + +- Merge all commits not present on the target branch from the source branch to target branch, and delete the source branch: + +`git graft {{source_branch}} {{target_branch}}` diff --git a/pages/common/git-grep.md b/pages/common/git-grep.md index 9db6487d1a0c4d..574b31ad34c5bc 100644 --- a/pages/common/git-grep.md +++ b/pages/common/git-grep.md @@ -1,4 +1,4 @@ -# git-grep +# git grep > Find strings inside files anywhere in a repository's history. > Accepts a lot of the same flags as regular `grep`. diff --git a/pages/common/git-gui.md b/pages/common/git-gui.md new file mode 100644 index 00000000000000..a50ceb25972650 --- /dev/null +++ b/pages/common/git-gui.md @@ -0,0 +1,37 @@ +# git gui + +> A GUI for Git to manage branches, commits, and remotes, and perform local merges. +> See also: `git-cola`, `gitk`. +> More information: . + +- Launch the GUI: + +`git gui` + +- Show a specific file with author name and commit hash on each line: + +`git gui blame {{path/to/file}}` + +- Open `git gui blame` in a specific revision: + +`git gui blame {{revision}} {{path/to/file}}` + +- Open `git gui blame` and scroll the view to center on a specific line: + +`git gui blame --line={{line}} {{path/to/file}}` + +- Open a window to make one commit and return to the shell when it is complete: + +`git gui citool` + +- Open `git gui citool` in the "Amend Last Commit" mode: + +`git gui citool --amend` + +- Open `git gui citool` in a read-only mode: + +`git gui citool --nocommit` + +- Show a browser for the tree of a specific branch, opening the blame tool when clicking on the files: + +`git gui browser maint` diff --git a/pages/common/git-guilt.md b/pages/common/git-guilt.md new file mode 100644 index 00000000000000..25b47f319188ff --- /dev/null +++ b/pages/common/git-guilt.md @@ -0,0 +1,29 @@ +# git guilt + +> Show total blame count for files with unstaged changes or calculate the change in blame between two revisions. +> Part of `git-extras`. +> More information: . + +- Show total blame count: + +`git guilt` + +- Calculate the change in blame between two revisions: + +`git guilt {{first_revision}} {{last_revision}}` + +- Show author emails instead of names: + +`git guilt {{[-e|--email]}}` + +- Ignore whitespace only changes when attributing blame: + +`git guilt {{[-w|--ignore-whitespace]}}` + +- Find blame delta over the last three weeks: + +`git guilt 'git log --until "3 weeks ago" --format "%H" {{[-n|--max-count]}} 1'` + +- Find blame delta over the last three weeks (git 1.8.5+): + +`git guilt @{3.weeks.ago}` diff --git a/pages/common/git-hash-object.md b/pages/common/git-hash-object.md new file mode 100644 index 00000000000000..7b8ecf10387bdf --- /dev/null +++ b/pages/common/git-hash-object.md @@ -0,0 +1,20 @@ +# git hash-object + +> Computes the unique hash key of content and optionally creates an object with specified type. +> More information: . + +- Compute the object ID without storing it: + +`git hash-object {{path/to/file}}` + +- Compute the object ID and store it in the Git database: + +`git hash-object -w {{path/to/file}}` + +- Compute the object ID specifying the object type: + +`git hash-object -t {{blob|commit|tag|tree}} {{path/to/file}}` + +- Compute the object ID from `stdin`: + +`cat {{path/to/file}} | git hash-object --stdin` diff --git a/pages/common/git-help.md b/pages/common/git-help.md index 7d056cd21a311b..0db7776d6dfd75 100644 --- a/pages/common/git-help.md +++ b/pages/common/git-help.md @@ -9,16 +9,16 @@ - Display help about a specific Git subcommand in a web browser: -`git help --web {{subcommand}}` +`git help {{[-w|--web]}} {{subcommand}}` - Display a list of all available Git subcommands: -`git help --all` +`git help {{[-a|--all]}}` - List the available guides: -`git help --guide` +`git help {{[-g|--guides]}}` - List all possible configuration variables: -`git help --config` +`git help {{[-c|--config]}}` diff --git a/pages/common/git-ignore-io.md b/pages/common/git-ignore-io.md new file mode 100644 index 00000000000000..8930e9fc4a5b5e --- /dev/null +++ b/pages/common/git-ignore-io.md @@ -0,0 +1,12 @@ +# git ignore-io + +> Generate .gitignore files from predefined templates. +> More information: . + +- List available templates: + +`git ignore-io list` + +- Generate a .gitignore template: + +`git ignore-io {{item_a,item_b,...}}` diff --git a/pages/common/git-ignore.md b/pages/common/git-ignore.md index 2c6d8a186604ee..a6491846ccc38b 100644 --- a/pages/common/git-ignore.md +++ b/pages/common/git-ignore.md @@ -1,12 +1,22 @@ # git ignore -> Generate .gitignore files from predefined templates. -> More information: . +> Show/update `.gitignore` files. +> Part of `git-extras`. +> See also: `git ignore-io`. +> More information: . -- List available templates: +- Show the content of all global and local `.gitignore` files: -`git ignore list` +`git ignore` -- Generate a .gitignore template: +- Ignore file(s) privately, updating `.git/info/exclude` file: -`git ignore {{item_a,item_b,item_n}}` +`git ignore {{file_pattern}} {{[-p|--private]}}` + +- Ignore file(s) locally, updating local `.gitignore` file: + +`git ignore {{file_pattern}}` + +- Ignore file(s) globally, updating global `.gitignore` file: + +`git ignore {{file_pattern}} {{[-g|--global]}}` diff --git a/pages/common/git-imerge.md b/pages/common/git-imerge.md index a5dc65feac515a..f28e50c91d4f48 100644 --- a/pages/common/git-imerge.md +++ b/pages/common/git-imerge.md @@ -1,4 +1,4 @@ -# git-imerge +# git imerge > Perform a merge or rebase between two Git branches incrementally. > Conflicts between branches are tracked down to pairs of individual commits, to simplify conflict resolution. @@ -26,4 +26,4 @@ - Abort imerge operation, and return to the previous branch: -`git-imerge remove && git checkout {{previous_branch}}` +`git imerge remove && git checkout {{previous_branch}}` diff --git a/pages/common/git-info.md b/pages/common/git-info.md new file mode 100644 index 00000000000000..b80a61f2ee8653 --- /dev/null +++ b/pages/common/git-info.md @@ -0,0 +1,13 @@ +# git info + +> Display Git repository information. +> Part of `git-extras`. +> More information: . + +- Display remote locations, remote and local branches, most recent commit data and `.git/config` settings: + +`git info` + +- Display remote locations, remote and local branches and most recent commit data: + +`git info --no-config` diff --git a/pages/common/git-init.md b/pages/common/git-init.md index f829dad366abcc..658be1e746ace0 100644 --- a/pages/common/git-init.md +++ b/pages/common/git-init.md @@ -1,16 +1,20 @@ # git init -> Initializes a new local Git repository. +> Initialize a new local Git repository. > More information: . - Initialize a new local repository: `git init` +- Initialize a repository with the specified name for the initial branch: + +`git init {{[-b|--initial-branch]}} {{branch_name}}` + - Initialize a repository using SHA256 for object hashes (requires Git version 2.29+): -`git init --object-format={{sha256}}` +`git init --object-format sha256` -- Initialize a barebones repository, suitable for use as a remote over ssh: +- Initialize a barebones repository, suitable for use as a remote over SSH: `git init --bare` diff --git a/pages/common/git-instaweb.md b/pages/common/git-instaweb.md index eecd628560a1c7..54e9b4f0a7e399 100644 --- a/pages/common/git-instaweb.md +++ b/pages/common/git-instaweb.md @@ -1,32 +1,32 @@ # git instaweb -> Helper to launch a gitweb server. +> Helper to launch a GitWeb server. > More information: . -- Launch a gitweb server for the current Git repository: +- Launch a GitWeb server for the current Git repository: `git instaweb --start` - Listen only on localhost: -`git instaweb --start --local` +`git instaweb --start {{[-l|--local]}}` - Listen on a specific port: -`git instaweb --start --port {{1234}}` +`git instaweb --start {{[-p|--port]}} {{1234}}` -- Use a specified http daemon: +- Use a specified HTTP daemon: -`git instaweb --start --httpd {{lighttpd|apache2|mongoose|plackup|webrick}}` +`git instaweb --start {{[-d|--httpd]}} {{lighttpd|apache2|mongoose|plackup|webrick}}` - Also auto-launch a web browser: -`git instaweb --start --browser` +`git instaweb --start {{[-b|--browser]}}` -- Stop the currently running gitweb server: +- Stop the currently running GitWeb server: `git instaweb --stop` -- Restart the currently running gitweb server: +- Restart the currently running GitWeb server: `git instaweb --restart` diff --git a/pages/common/git-lfs.md b/pages/common/git-lfs.md index b9664725923cb7..c1bb0f2cf4780b 100644 --- a/pages/common/git-lfs.md +++ b/pages/common/git-lfs.md @@ -1,9 +1,9 @@ # git lfs > Work with large files in Git repositories. -> More information: . +> More information: . -- Initialise Git LFS: +- Initialize Git LFS: `git lfs install` @@ -13,7 +13,7 @@ - Change the Git LFS endpoint URL (useful if the LFS server is separate from the Git server): -`git config -f .lfsconfig lfs.url {{lfs_endpoint_url}}` +`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}` - List tracked patterns: @@ -31,6 +31,6 @@ `git lfs fetch` -- Checkout all Git LFS objects: +- Replace pointer files with actual Git LFS objects: `git lfs checkout` diff --git a/pages/common/git-local-commits.md b/pages/common/git-local-commits.md new file mode 100644 index 00000000000000..1a7525a474a48f --- /dev/null +++ b/pages/common/git-local-commits.md @@ -0,0 +1,9 @@ +# git local-commits + +> Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to `git log`. +> Part of `git-extras`. +> More information: . + +- Show commits that haven't been pushed: + +`git local-commits` diff --git a/pages/common/git-lock.md b/pages/common/git-lock.md new file mode 100644 index 00000000000000..72bd4b9ad2b8c3 --- /dev/null +++ b/pages/common/git-lock.md @@ -0,0 +1,10 @@ +# git lock + +> Lock a file in a Git repository from being modified by a commit. +> Part of `git-extras`. +> See also: `git-unlock`. +> More information: . + +- Disable the ability to commit changes of a local file: + +`git lock {{path/to/file}}` diff --git a/pages/common/git-locked.md b/pages/common/git-locked.md new file mode 100644 index 00000000000000..d02e0ac4508592 --- /dev/null +++ b/pages/common/git-locked.md @@ -0,0 +1,9 @@ +# git locked + +> List locked files in a Git repository. +> Part of `git-extras`. +> More information: . + +- List all local locked files: + +`git locked` diff --git a/pages/common/git-log.md b/pages/common/git-log.md index 4f0604ae1dad41..915bbbe4157afd 100644 --- a/pages/common/git-log.md +++ b/pages/common/git-log.md @@ -9,7 +9,7 @@ - Show the history of a particular file or directory, including differences: -`git log -p {{path/to/file_or_directory}}` +`git log {{[-p|--patch]}} {{path/to/file_or_directory}}` - Show an overview of which file(s) changed in each commit: @@ -23,14 +23,14 @@ `git log --oneline --decorate --all --graph` -- Show only commits whose messages include a given string (case-insensitively): +- Show only commits with messages that include a specific string, ignoring case: -`git log -i --grep {{search_string}}` +`git log {{[-i|--regexp-ignore-case]}} --grep {{search_string}}` -- Show the last N commits from a certain author: +- Show the last N number of commits from a certain author: -`git log -n {{number}} --author={{author}}` +`git log {{[-n|--max-count]}} {{number}} --author "{{author}}"` -- Show commits between two dates: +- Show commits between two dates (yyyy-mm-dd): -`git log --before={{date}} --after={{date}}` +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages/common/git-ls-files.md b/pages/common/git-ls-files.md index 08e85eb2c53fe7..1d6ca2076000ba 100644 --- a/pages/common/git-ls-files.md +++ b/pages/common/git-ls-files.md @@ -5,12 +5,16 @@ - Show deleted files: -`git ls-files --deleted` +`git ls-files {{[-d|--deleted]}}` - Show modified and deleted files: -`git ls-files --modified` +`git ls-files {{[-m|--modified]}}` - Show ignored and untracked files: -`git ls-files --others` +`git ls-files {{[-o|--others]}}` + +- Show untracked files, not ignored: + +`git ls-files {{[-o|--others]}} --exclude-standard` diff --git a/pages/common/git-ls-remote.md b/pages/common/git-ls-remote.md index dfadfc47b4ac27..3e611ab730a2f3 100644 --- a/pages/common/git-ls-remote.md +++ b/pages/common/git-ls-remote.md @@ -14,9 +14,9 @@ - Show only tags references in the default remote repository: -`git ls-remote --tags` +`git ls-remote {{[-t|--tags]}}` -- Show all references from a remote repository based on name or url: +- Show all references from a remote repository based on name or URL: `git ls-remote {{repository_url}}` diff --git a/pages/common/git-ls-tree.md b/pages/common/git-ls-tree.md index ba67e6878b6112..6d4a0eb08f0403 100644 --- a/pages/common/git-ls-tree.md +++ b/pages/common/git-ls-tree.md @@ -14,3 +14,7 @@ - List only the filenames of the tree on a commit: `git ls-tree --name-only {{commit_hash}}` + +- Print the filenames of the current branch head in a tree structure (Note: `tree --fromfile` is not supported on Windows): + +`git ls-tree -r --name-only HEAD | tree --fromfile` diff --git a/pages/common/git-magic.md b/pages/common/git-magic.md new file mode 100644 index 00000000000000..de5e664ca2c687 --- /dev/null +++ b/pages/common/git-magic.md @@ -0,0 +1,29 @@ +# git magic + +> Automate add, commit, and push routines. +> Part of `git-extras`. +> More information: . + +- Commit changes with a generated message: + +`git magic` + +- [a]dd untracked files and commit changes with a generated message: + +`git magic -a` + +- Commit changes with a custom [m]essage: + +`git magic -m "{{custom_commit_message}}"` + +- [e]dit the commit [m]essage before committing: + +`git magic -em "{{custom_commit_message}}"` + +- Commit changes and [p]ush to remote: + +`git magic -p` + +- Commit changes with a [f]orce [p]ush to remote: + +`git magic -fp` diff --git a/pages/common/git-mailinfo.md b/pages/common/git-mailinfo.md new file mode 100644 index 00000000000000..89329b18572d75 --- /dev/null +++ b/pages/common/git-mailinfo.md @@ -0,0 +1,16 @@ +# git mailinfo + +> Extract patch and authorship information from a single email message. +> More information: . + +- Extract the patch and author data from an email message: + +`git mailinfo {{message|patch}}` + +- Extract but remove leading and trailing whitespace: + +`git mailinfo -k {{message|patch}}` + +- Remove everything from the body before a scissors line (e.g. "-->* --") and retrieve the message or patch: + +`git mailinfo --scissors {{message|patch}}` diff --git a/pages/common/git-maintenance.md b/pages/common/git-maintenance.md new file mode 100644 index 00000000000000..182470ecd0576c --- /dev/null +++ b/pages/common/git-maintenance.md @@ -0,0 +1,24 @@ +# git maintenance + +> Run tasks to optimize Git repository data. +> More information: . + +- Register the current repository in the user's list of repositories to daily have maintenance run: + +`git maintenance register` + +- Schedule maintenance tasks to run on the current repository every hour: + +`git maintenance start` + +- Halt the background maintenance schedule for the current repository: + +`git maintenance stop` + +- Remove the current repository from the user's maintenance repository list: + +`git maintenance unregister` + +- Run a specific maintenance task on the current repository: + +`git maintenance run --task {{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}` diff --git a/pages/common/git-merge-base.md b/pages/common/git-merge-base.md new file mode 100644 index 00000000000000..0621f4945b8d9e --- /dev/null +++ b/pages/common/git-merge-base.md @@ -0,0 +1,16 @@ +# git merge-base + +> Find a common ancestor of two commits. +> More information: . + +- Print the best common ancestor of two commits: + +`git merge-base {{commit_1}} {{commit_2}}` + +- Print all best common ancestors of two commits: + +`git merge-base {{[-a|--all]}} {{commit_1}} {{commit_2}}` + +- Check if a commit is an ancestor of a specific commit: + +`git merge-base --is-ancestor {{ancestor_commit}} {{commit}}` diff --git a/pages/common/git-merge-into.md b/pages/common/git-merge-into.md new file mode 100644 index 00000000000000..94e5d96bca6e51 --- /dev/null +++ b/pages/common/git-merge-into.md @@ -0,0 +1,13 @@ +# git merge-into + +> Merge one branch into another branch. +> Part of `git-extras`. +> More information: . + +- Merge a source branch into a specific destination branch: + +`git merge-into {{source_branch}} {{destination_branch}}` + +- Merge current branch into a specific destination branch: + +`git merge-into {{destination_branch}}` diff --git a/pages/common/git-merge-repo.md b/pages/common/git-merge-repo.md new file mode 100644 index 00000000000000..5476f94a8f1b38 --- /dev/null +++ b/pages/common/git-merge-repo.md @@ -0,0 +1,13 @@ +# git merge-repo + +> Merge two repository histories. +> Part of `git-extras`. +> More information: . + +- Merge a repository's branch into the current repository's directory: + +`git merge-repo {{path/to/repo}} {{branch_name}} {{path/to/directory}}` + +- Merge a remote repository's branch into the current repository's directory, not preserving history: + +`git merge-repo {{path/to/remote_repo}} {{branch_name}} .` diff --git a/pages/common/git-merge.md b/pages/common/git-merge.md index fc0356d7726a5a..4873e499123533 100644 --- a/pages/common/git-merge.md +++ b/pages/common/git-merge.md @@ -9,7 +9,7 @@ - Edit the merge message: -`git merge -e {{branch_name}}` +`git merge {{[-e|--edit]}} {{branch_name}}` - Merge a branch and create a merge commit: @@ -18,3 +18,7 @@ - Abort a merge in case of conflicts: `git merge --abort` + +- Merge using a specific strategy: + +`git merge {{[-s|--strategy]}} {{strategy}} {{[-X|--strategy-option]}} {{strategy_option}} {{branch_name}}` diff --git a/pages/common/git-mergetool.md b/pages/common/git-mergetool.md index a3386993a1a3a3..966f69fa262b76 100644 --- a/pages/common/git-mergetool.md +++ b/pages/common/git-mergetool.md @@ -13,16 +13,16 @@ - Launch the merge tool identified by a name: -`git mergetool --tool {{tool_name}}` +`git mergetool {{[-t|--tool]}} {{tool_name}}` - Don't prompt before each invocation of the merge tool: -`git mergetool --no-prompt` +`git mergetool {{[-y|--no-prompt]}}` -- Explicitly use the GUI merge tool (see the `merge.guitool` config variable): +- Explicitly use the GUI merge tool (see the `merge.guitool` configuration variable): -`git mergetool --gui` +`git mergetool {{[-g|--gui]}}` -- Explicitly use the regular merge tool (see the `merge.tool` config variable): +- Explicitly use the regular merge tool (see the `merge.tool` configuration variable): `git mergetool --no-gui` diff --git a/pages/common/git-missing.md b/pages/common/git-missing.md new file mode 100644 index 00000000000000..d0abbbeb4c0df1 --- /dev/null +++ b/pages/common/git-missing.md @@ -0,0 +1,13 @@ +# git missing + +> Show commits which aren't shared between two branches. +> Part of `git-extras`. +> More information: . + +- Show commits which aren't shared between the currently checked-out branch and another branch: + +`git missing {{branch}}` + +- Show commits which aren't shared between two branches: + +`git missing {{branch_1}} {{branch_2}}` diff --git a/pages/common/git-mktree.md b/pages/common/git-mktree.md new file mode 100644 index 00000000000000..b8459ba4889230 --- /dev/null +++ b/pages/common/git-mktree.md @@ -0,0 +1,24 @@ +# git mktree + +> Build a tree object using `ls-tree` formatted text. +> More information: . + +- Build a tree object and verify that each tree entry's hash identifies an existing object: + +`git mktree` + +- Allow missing objects: + +`git mktree --missing` + +- Read the NUL ([z]ero character) terminated output of the tree object (`ls-tree -z`): + +`git mktree -z` + +- Allow the creation of multiple tree objects: + +`git mktree --batch` + +- Sort and build a tree from `stdin` (non-recursive `git ls-tree` output format is required): + +`git mktree < {{path/to/tree.txt}}` diff --git a/pages/common/git-mr.md b/pages/common/git-mr.md new file mode 100644 index 00000000000000..00e95f2d9eb3cb --- /dev/null +++ b/pages/common/git-mr.md @@ -0,0 +1,21 @@ +# git mr + +> Check out GitLab merge requests locally. +> Part of `git-extras`. +> More information: . + +- Check out a specific merge request: + +`git mr {{mr_number}}` + +- Check out a merge request from a specific remote: + +`git mr {{mr_number}} {{remote}}` + +- Checkout a merge request from its URL: + +`git mr {{url}}` + +- Clean up old merge request branches: + +`git mr clean` diff --git a/pages/common/git-mv.md b/pages/common/git-mv.md index 746b5816b6f7e6..63a6f4f11c117d 100644 --- a/pages/common/git-mv.md +++ b/pages/common/git-mv.md @@ -3,14 +3,14 @@ > Move or rename files and update the Git index. > More information: . -- Move file inside the repo and add the movement to the next commit: +- Move a file inside the repo and add the movement to the next commit: -`git mv {{path/to/file}} {{new/path/to/file}}` +`git mv {{path/to/file}} {{path/to/destination}}` -- Rename file and add renaming to the next commit: +- Rename a file or directory and add the renaming to the next commit: -`git mv {{filename}} {{new_filename}}` +`git mv {{path/to/file_or_directory}} {{path/to/destination}}` -- Overwrite the file in the target path if it exists: +- Overwrite the file or directory in the target path if it exists: -`git mv --force {{file}} {{target}}` +`git mv {{[-f|--force]}} {{path/to/file_or_directory}} {{path/to/destination}}` diff --git a/pages/common/git-name-rev.md b/pages/common/git-name-rev.md new file mode 100644 index 00000000000000..07e954a0696958 --- /dev/null +++ b/pages/common/git-name-rev.md @@ -0,0 +1,36 @@ +# git name-rev + +> Describe a commit using existing ref names. +> More information: . + +- Show the name for HEAD: + +`git name-rev HEAD` + +- Show only the name: + +`git name-rev --name-only HEAD` + +- Enumerate all matching ref names: + +`git name-rev --all` + +- Use only tags to name the commit: + +`git name-rev --tags HEAD` + +- Exit with a non-zero status code instead of printing `undefined` for unknown commits: + +`git name-rev --no-undefined {{commit-ish}}` + +- Show names for multiple commits: + +`git name-rev HEAD~1 HEAD~2 main` + +- Restrict names to branch refs: + +`git name-rev --refs refs/heads/ {{commit-ish}}` + +- Read commit IDs from `stdin`: + +`echo "{{commit-ish}}" | git name-rev --annotate-stdin` diff --git a/pages/common/git-obliterate.md b/pages/common/git-obliterate.md new file mode 100644 index 00000000000000..0d783a98d1d590 --- /dev/null +++ b/pages/common/git-obliterate.md @@ -0,0 +1,13 @@ +# git obliterate + +> Delete files and erase their history from a Git repository. +> Part of `git-extras`. +> More information: . + +- Erase the existence of specific files: + +`git obliterate {{file_1 file_2 ...}}` + +- Erase the existence of specific files between 2 commits: + +`git obliterate {{file_1 file_2 ...}} -- {{commit_hash_1}}..{{commit_hash_2}}` diff --git a/pages/common/git-paste.md b/pages/common/git-paste.md new file mode 100644 index 00000000000000..46ecb0384c6a98 --- /dev/null +++ b/pages/common/git-paste.md @@ -0,0 +1,13 @@ +# git paste + +> Send commits to a pastebin site using `pastebinit`. +> Part of `git-extras`. +> More information: . + +- Send the patches between the current branch and its upstream to a pastebin using `pastebinit`: + +`git paste` + +- Pass options to `git format-patch` in order to select a different set of commits (`@^` selects the parent of HEAD, and so the currently checked out commit is sent): + +`git paste {{@^}}` diff --git a/pages/common/git-pr.md b/pages/common/git-pr.md index f507b6aebf79fa..8f45eb129cd04d 100644 --- a/pages/common/git-pr.md +++ b/pages/common/git-pr.md @@ -1,13 +1,14 @@ # git pr > Check out GitHub pull requests locally. +> Part of `git-extras`. > More information: . - Check out a specific pull request: `git pr {{pr_number}}` -- Check out a pull request for a specific remote: +- Check out a pull request from a specific remote: `git pr {{pr_number}} {{remote}}` diff --git a/pages/common/git-prune.md b/pages/common/git-prune.md index 34450cc2f4bc66..855e3292e84744 100644 --- a/pages/common/git-prune.md +++ b/pages/common/git-prune.md @@ -6,11 +6,11 @@ - Report what would be removed by Git prune without removing it: -`git prune --dry-run` +`git prune {{[-n|--dry-run]}}` - Prune unreachable objects and display what has been pruned to `stdout`: -`git prune --verbose` +`git prune {{[-v|--verbose]}}` - Prune unreachable objects while showing progress: diff --git a/pages/common/git-psykorebase.md b/pages/common/git-psykorebase.md new file mode 100644 index 00000000000000..3eaca166f8933f --- /dev/null +++ b/pages/common/git-psykorebase.md @@ -0,0 +1,17 @@ +# git psykorebase + +> Rebase a branch on top of another using a merge commit and only one conflict handling. +> Part of `git-extras`. +> More information: . + +- Rebase the current branch on top of another using a merge commit and only one conflict handling: + +`git psykorebase {{upstream_branch}}` + +- Continue after conflicts have been handled: + +`git psykorebase --continue` + +- Specify the branch to rebase: + +`git psykorebase {{upstream_branch}} {{target_branch}}` diff --git a/pages/common/git-pull-request.md b/pages/common/git-pull-request.md new file mode 100644 index 00000000000000..bb8fca075ab7ac --- /dev/null +++ b/pages/common/git-pull-request.md @@ -0,0 +1,9 @@ +# git pull-request + +> Create a pull request for a project on GitHub. +> Part of `git-extras`. +> More information: . + +- Create a pull request for a project on GitHub: + +`git pull-request {{target_branch}}` diff --git a/pages/common/git-pull.md b/pages/common/git-pull.md index 63b63cce5fa3f7..cddd025c5b1c81 100644 --- a/pages/common/git-pull.md +++ b/pages/common/git-pull.md @@ -7,9 +7,9 @@ `git pull` -- Download changes from default remote repository and use fast forward: +- Download changes from default remote repository and use fast-forward: -`git pull --rebase` +`git pull {{[-r|--rebase]}}` - Download changes from given remote repository and branch, then merge them into HEAD: diff --git a/pages/common/git-push.md b/pages/common/git-push.md index 5c99c4dc4bd3e9..0500167f4a88c0 100644 --- a/pages/common/git-push.md +++ b/pages/common/git-push.md @@ -3,17 +3,21 @@ > Push commits to a remote repository. > More information: . -- Send local changes in the current branch to its remote counterpart: +- Send local changes in the current branch to its default remote counterpart: `git push` -- Send local changes in a given branch to its remote counterpart: +- Send changes from a specific local branch to its remote counterpart: `git push {{remote_name}} {{local_branch}}` -- Publish the current branch to a remote repository, setting the remote branch name: +- Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one: -`git push {{remote_name}} -u {{remote_branch}}` +`git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}` + +- Send changes from a specific local branch to a specific remote branch: + +`git push {{remote_name}} {{local_branch}}:{{remote_branch}}` - Send changes on all local branches to their counterparts in a given remote repository: @@ -21,7 +25,7 @@ - Delete a branch in a remote repository: -`git push {{remote_name}} --delete {{remote_branch}}` +`git push {{remote_name}} {{[-d|--delete]}} {{remote_branch}}` - Remove remote branches that don't have a local counterpart: diff --git a/pages/common/git-range-diff.md b/pages/common/git-range-diff.md new file mode 100644 index 00000000000000..0a28e9e9eefe49 --- /dev/null +++ b/pages/common/git-range-diff.md @@ -0,0 +1,16 @@ +# git range-diff + +> Compare two commit ranges (e.g. two versions of a branch). +> More information: . + +- Diff the changes of two individual commits: + +`git range-diff {{commit_1}}^! {{commit_2}}^!` + +- Diff the changes of ours and theirs from their common ancestor, e.g. after an interactive rebase: + +`git range-diff {{theirs}}...{{ours}}` + +- Diff the changes of two commit ranges, e.g. to check whether conflicts have been resolved appropriately when rebasing commits from `base1` to `base2`: + +`git range-diff {{base1}}..{{rev1}} {{base2}}..{{rev2}}` diff --git a/pages/common/git-reauthor.md b/pages/common/git-reauthor.md new file mode 100644 index 00000000000000..e388b6c80643af --- /dev/null +++ b/pages/common/git-reauthor.md @@ -0,0 +1,17 @@ +# git reauthor + +> Change details about an author identity. Since this command rewrites the Git history, `--force` will be needed when pushing next time. +> Part of `git-extras`. +> More information: . + +- Change an author's email and name across the whole Git repository: + +`git reauthor {{[-o|--old-email]}} {{old@example.com}} {{[-e|--correct-email]}} {{new@example.com}} {{[-n|--correct-name]}} "{{name}}"` + +- Change the email and name to the ones defined in the Git config: + +`git reauthor {{[-o|--old-email]}} {{old@example.com}} {{[-c|--use-config]}}` + +- Change the email and name of all commits, regardless of their original author: + +`git reauthor {{[-a|--all]}} {{[-e|--correct-email]}} {{name@example.com}} {{[-n|--correct-name]}} {{name}}` diff --git a/pages/common/git-rebase-patch.md b/pages/common/git-rebase-patch.md new file mode 100644 index 00000000000000..0b72f6aa41d85b --- /dev/null +++ b/pages/common/git-rebase-patch.md @@ -0,0 +1,9 @@ +# git rebase-patch + +> Find the commit the patch applies to and do a rebase. +> Part of `git-extras`. +> More information: . + +- Find the commit the patch applies to and do a rebase: + +`git rebase-patch {{patch_file}}` diff --git a/pages/common/git-rebase.md b/pages/common/git-rebase.md index 8b7d396c377f56..6ad1ac9b2dff4f 100644 --- a/pages/common/git-rebase.md +++ b/pages/common/git-rebase.md @@ -10,7 +10,7 @@ - Start an interactive rebase, which allows the commits to be reordered, omitted, combined or modified: -`git rebase -i {{target_base_branch_or_commit_hash}}` +`git rebase {{[-i|--interactive]}} {{target_base_branch_or_commit_hash}}` - Continue a rebase that was interrupted by a merge failure, after editing conflicting files: @@ -30,8 +30,8 @@ - Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined or modified: -`git rebase -i {{HEAD~5}}` +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` - Auto-resolve any conflicts by favoring the working branch version (`theirs` keyword has reversed meaning in this case): -`git rebase -X theirs {{branch_name}}` +`git rebase {{[-X|--strategy-option]}} theirs {{branch_name}}` diff --git a/pages/common/git-reflog.md b/pages/common/git-reflog.md index e3d9867dad1cc2..4add1fc30d0765 100644 --- a/pages/common/git-reflog.md +++ b/pages/common/git-reflog.md @@ -13,4 +13,4 @@ - Show only the 5 latest entries in the reflog: -`git reflog -n {{5}}` +`git reflog {{[-n|--max-count]}} 5` diff --git a/pages/common/git-release.md b/pages/common/git-release.md new file mode 100644 index 00000000000000..ad0ca02825ebd2 --- /dev/null +++ b/pages/common/git-release.md @@ -0,0 +1,17 @@ +# git release + +> Create a Git tag for a release. +> Part of `git-extras`. +> More information: . + +- Create and push a release: + +`git release {{tag_name}}` + +- Create and push a signed release: + +`git release {{tag_name}} -s` + +- Create and push a release with a message: + +`git release {{tag_name}} -m "{{message}}"` diff --git a/pages/common/git-remote.md b/pages/common/git-remote.md index 9fb98aa91a8f8f..3c5a61c6732d9c 100644 --- a/pages/common/git-remote.md +++ b/pages/common/git-remote.md @@ -3,9 +3,9 @@ > Manage set of tracked repositories ("remotes"). > More information: . -- Show a list of existing remotes, their names and URL: +- List existing remotes with their names and URLs: -`git remote -v` +`git remote {{[-v|--verbose]}}` - Show information about a remote: @@ -19,6 +19,10 @@ `git remote set-url {{remote_name}} {{new_url}}` +- Show the URL of a remote: + +`git remote get-url {{remote_name}}` + - Remove a remote: `git remote remove {{remote_name}}` diff --git a/pages/common/git-rename-branch.md b/pages/common/git-rename-branch.md new file mode 100644 index 00000000000000..748f60095351bb --- /dev/null +++ b/pages/common/git-rename-branch.md @@ -0,0 +1,13 @@ +# git rename-branch + +> Rename a Git branch. +> Part of `git-extras`. +> More information: . + +- Rename the branch you are currently on: + +`git rename-branch {{new_branch_name}}` + +- Rename a specific branch: + +`git rename-branch {{old_branch_name}} {{new_branch_name}}` diff --git a/pages/common/git-rename-remote.md b/pages/common/git-rename-remote.md new file mode 100644 index 00000000000000..a2da404359adfb --- /dev/null +++ b/pages/common/git-rename-remote.md @@ -0,0 +1,9 @@ +# git rename-remote + +> Change remote for pulling and pushing. +> Part of `git-extras`. +> More information: . + +- Change the upstream remote to origin: + +`git rename-remote {{upstream}} {{origin}}` diff --git a/pages/common/git-rename-tag.md b/pages/common/git-rename-tag.md new file mode 100644 index 00000000000000..5494821bb472f9 --- /dev/null +++ b/pages/common/git-rename-tag.md @@ -0,0 +1,9 @@ +# git rename-tag + +> Rename a Git tag. +> Part of `git-extras`. +> More information: . + +- Rename an existing Git tag locally and remotely: + +`git rename-tag {{old_tag_name}} {{new_tag_name}}` diff --git a/pages/common/git-repl.md b/pages/common/git-repl.md new file mode 100644 index 00000000000000..83c5aaec6f80c4 --- /dev/null +++ b/pages/common/git-repl.md @@ -0,0 +1,21 @@ +# git repl + +> Git REPL (read-evaluate-print-loop) - an interactive Git shell. +> Part of `git-extras`. +> More information: . + +- Start an interactive Git shell: + +`git repl` + +- Run a Git command while in the interactive Git shell: + +`{{git_subcommand}} {{command_arguments}}` + +- Run an external (non-Git) command while in the interactive Git shell: + +`!{{command}} {{command_arguments}}` + +- Exit the interactive Git shell (or press ``): + +`exit` diff --git a/pages/common/git-replace.md b/pages/common/git-replace.md index 34749127e6ac7f..20f83ec222f309 100644 --- a/pages/common/git-replace.md +++ b/pages/common/git-replace.md @@ -9,8 +9,8 @@ - Delete existing replace refs for the given objects: -`git replace --delete {{object}}` +`git replace {{[-d|--delete]}} {{object}}` -- Edit an object’s content interactively: +- Edit an object's content interactively: `git replace --edit {{object}}` diff --git a/pages/common/git-reset-file.md b/pages/common/git-reset-file.md new file mode 100644 index 00000000000000..7cb4d0fe3d4ab2 --- /dev/null +++ b/pages/common/git-reset-file.md @@ -0,0 +1,13 @@ +# git reset-file + +> Revert a file to HEAD or a commit. +> Part of `git-extras`. +> More information: . + +- Reset a file to HEAD: + +`git reset-file {{path/to/file}}` + +- Reset a file to a specific commit: + +`git reset-file {{path/to/file}} {{commit_hash}}` diff --git a/pages/common/git-reset.md b/pages/common/git-reset.md index e240a0e33bb690..e28f9e61646ea3 100644 --- a/pages/common/git-reset.md +++ b/pages/common/git-reset.md @@ -10,11 +10,11 @@ - Unstage specific file(s): -`git reset {{path/to/file(s)}}` +`git reset {{path/to/file1 path/to/file2 ...}}` -- Unstage portions of a file: +- Interactively unstage portions of a file: -`git reset -p {{path/to/file}}` +`git reset {{[-p|--patch]}} {{path/to/file}}` - Undo the last commit, keeping its changes (and any further uncommitted changes) in the filesystem: diff --git a/pages/common/git-restore.md b/pages/common/git-restore.md index 05375c5e1ad639..687baebf527bd6 100644 --- a/pages/common/git-restore.md +++ b/pages/common/git-restore.md @@ -1,16 +1,16 @@ # git restore > Restore working tree files. Requires Git version 2.23+. -> See also `git checkout` and `git reset`. +> See also: `git checkout`, `git reset`. > More information: . -- Restore an unstaged file to the version of the current commit (HEAD): +- Restore an unstaged file to the staged version: `git restore {{path/to/file}}` - Restore an unstaged file to the version of a specific commit: -`git restore --source {{commit}} {{path/to/file}}` +`git restore {{[-s|--source]}} {{commit}} {{path/to/file}}` - Discard all unstaged changes to tracked files: @@ -18,16 +18,16 @@ - Unstage a file: -`git restore --staged {{path/to/file}}` +`git restore {{[-S|--staged]}} {{path/to/file}}` - Unstage all files: -`git restore --staged :/` +`git restore {{[-S|--staged]}} :/` - Discard all changes to files, both staged and unstaged: -`git restore --worktree --staged :/` +`git restore {{[-W|--worktree]}} {{[-S|--staged]}} :/` - Interactively select sections of files to restore: -`git restore --patch` +`git restore {{[-p|--patch]}}` diff --git a/pages/common/git-rev-list.md b/pages/common/git-rev-list.md index fbb7a59262a94e..56e9e9277eb003 100644 --- a/pages/common/git-rev-list.md +++ b/pages/common/git-rev-list.md @@ -7,10 +7,18 @@ `git rev-list {{HEAD}}` +- Print the latest commit that changed (add/edit/remove) a specific file on the current branch: + +`git rev-list {{[-n|--max-count]}} 1 HEAD -- {{path/to/file}}` + - List commits more recent than a specific date, on a specific branch: -`git rev-list --since={{'2019-12-01 00:00:00'}} {{branch_name}}` +`git rev-list --since "{{2019-12-01 00:00:00}}" {{branch_name}}` - List all merge commits on a specific commit: `git rev-list --merges {{commit}}` + +- Print the number of commits since a specific tag: + +`git rev-list {{tag_name}}..HEAD --count` diff --git a/pages/common/git-rev-parse.md b/pages/common/git-rev-parse.md index 6956fb98efe48f..46c2ee6a6933d8 100644 --- a/pages/common/git-rev-parse.md +++ b/pages/common/git-rev-parse.md @@ -1,6 +1,6 @@ # git rev-parse -> Display metadata related to specific revisions. +> Display metadata related to revisions. > More information: . - Get the commit hash of a branch: diff --git a/pages/common/git-revert.md b/pages/common/git-revert.md index 5e1fd786e63a6f..f7f23ac63ba5b1 100644 --- a/pages/common/git-revert.md +++ b/pages/common/git-revert.md @@ -5,16 +5,24 @@ - Revert the most recent commit: -`git revert {{@}}` +`git revert {{HEAD}}` - Revert the 5th last commit: `git revert HEAD~{{4}}` +- Revert a specific commit: + +`git revert {{0c01a9}}` + - Revert multiple commits: `git revert {{branch_name~5..branch_name~2}}` - Don't create new commits, just change the working tree: -`git revert -n {{0c01a9..9a1743}}` +`git revert {{[-n|--no-commit]}} {{0c01a9..9a1743}}` + +- Cancel a Git revert after a merge conflict: + +`git revert --abort` diff --git a/pages/common/git-rm.md b/pages/common/git-rm.md index 8bcf501107d171..a546c0017f10c9 100644 --- a/pages/common/git-rm.md +++ b/pages/common/git-rm.md @@ -5,12 +5,12 @@ - Remove file from repository index and filesystem: -`git rm {{file}}` +`git rm {{path/to/file}}` - Remove directory: -`git rm -r {{directory}}` +`git rm -r {{path/to/directory}}` - Remove file from repository index but keep it untouched locally: -`git rm --cached {{file}}` +`git rm --cached {{path/to/file}}` diff --git a/pages/common/git-root.md b/pages/common/git-root.md new file mode 100644 index 00000000000000..fef9d0e122aa30 --- /dev/null +++ b/pages/common/git-root.md @@ -0,0 +1,13 @@ +# git root + +> Print the root directory of the current Git repository. +> Part of `git-extras`. +> More information: . + +- Print the absolute path of the current Git repository: + +`git root` + +- Print the current working directory relative to the root of the current Git repository: + +`git root {{[-r|--relative]}}` diff --git a/pages/common/git-rscp.md b/pages/common/git-rscp.md new file mode 100644 index 00000000000000..ab9a9ea8dc2629 --- /dev/null +++ b/pages/common/git-rscp.md @@ -0,0 +1,13 @@ +# git rscp + +> Reverse `git scp` - copy files from the working directory of a remote repository to the current working tree. +> Part of `git-extras`. +> More information: . + +- Copy specific files from a remote: + +`git rscp {{remote_name}} {{path/to/file1 path/to/file2 ...}}` + +- Copy a specific directory from a remote: + +`git rscp {{remote_name}} {{path/to/directory}}` diff --git a/pages/common/git-scp.md b/pages/common/git-scp.md new file mode 100644 index 00000000000000..657b9abc2c95a5 --- /dev/null +++ b/pages/common/git-scp.md @@ -0,0 +1,25 @@ +# git scp + +> Copy files from the current working tree to the working directory of a remote repository. +> Part of `git-extras`. Uses `rsync` to transfer files. +> More information: . + +- Copy unstaged files to a specific remote: + +`git scp {{remote_name}}` + +- Copy staged and unstaged files to a remote: + +`git scp {{remote_name}} HEAD` + +- Copy files that has been changed in the last commit and any staged or unstaged files to a remote: + +`git scp {{remote_name}} HEAD~1` + +- Copy specific files to a remote: + +`git scp {{remote_name}} {{path/to/file1 path/to/file2 ...}}` + +- Copy a specific directory to a remote: + +`git scp {{remote_name}} {{path/to/directory}}` diff --git a/pages/common/git-secret.md b/pages/common/git-secret.md new file mode 100644 index 00000000000000..a63547f1ddea51 --- /dev/null +++ b/pages/common/git-secret.md @@ -0,0 +1,36 @@ +# git secret + +> Stores private data inside a Git repository. Written in Bash. +> More information: . + +- Initialize `git-secret` in a local repository: + +`git secret init` + +- Grant access to the current Git user's email: + +`git secret tell -m` + +- Grant access by email: + +`git secret tell {{email}}` + +- Revoke access by email: + +`git secret killperson {{email}}` + +- List emails with access to secrets: + +`git secret whoknows` + +- Register a secret file: + +`git secret add {{path/to/file}}` + +- Encrypt secrets: + +`git secret hide` + +- Decrypt secret files: + +`git secret reveal` diff --git a/pages/common/git-sed.md b/pages/common/git-sed.md new file mode 100644 index 00000000000000..2a3b42fda85e89 --- /dev/null +++ b/pages/common/git-sed.md @@ -0,0 +1,21 @@ +# git sed + +> Replace patterns in git-controlled files using sed. +> Part of `git-extras`. +> More information: . + +- Replace the specified text in the current repository: + +`git sed '{{find_text}}' '{{replace_text}}'` + +- Replace the specified text and then commit the resulting changes with a standard commit message: + +`git sed -c '{{find_text}}' '{{replace_text}}'` + +- Replace the specified text, using `regex`: + +`git sed -f g '{{find_text}}' '{{replace_text}}'` + +- Replace a specific text in all files under a given directory: + +`git sed '{{find_text}}' '{{replace_text}}' -- {{path/to/directory}}` diff --git a/pages/common/git-send-email.md b/pages/common/git-send-email.md index d550b506df9903..9777d425ef561f 100644 --- a/pages/common/git-send-email.md +++ b/pages/common/git-send-email.md @@ -4,7 +4,7 @@ > Patches can be specified as files, directions, or a revision list. > More information: . -- Send the last commit in the current branch: +- Send the last commit in the current branch interactively: `git send-email -1` diff --git a/pages/common/git-setup.md b/pages/common/git-setup.md new file mode 100644 index 00000000000000..6ebf7e5bfd9a56 --- /dev/null +++ b/pages/common/git-setup.md @@ -0,0 +1,13 @@ +# git setup + +> Create a Git repository in a directory and commit all files. +> Part of `git-extras`. +> More information: . + +- Create a Git repository in the current directory and commit all files: + +`git setup` + +- Create a Git repository in a specific directory and commit all files: + +`git setup {{path/to/directory}}` diff --git a/pages/common/git-shortlog.md b/pages/common/git-shortlog.md index 2774f3348e9e06..06273ffae898ae 100644 --- a/pages/common/git-shortlog.md +++ b/pages/common/git-shortlog.md @@ -9,20 +9,20 @@ - View a summary of all the commits made, sorted by the number of commits made: -`git shortlog -n` +`git shortlog {{[-n|--numbered]}}` - View a summary of all the commits made, grouped by the committer identities (name and email): -`git shortlog -c` +`git shortlog {{[-c|--committer]}}` - View a summary of the last 5 commits (i.e. specify a revision range): -`git shortlog HEAD~{{5}}..HEAD` +`git shortlog HEAD~5..HEAD` - View all users, emails and the number of commits in the current branch: -`git shortlog -sne` +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}` - View all users, emails and the number of commits in all branches: -`git shortlog -sne --all` +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}} --all` diff --git a/pages/common/git-show-branch.md b/pages/common/git-show-branch.md index 706c81ca3aa516..dc6c3967fa3e5e 100644 --- a/pages/common/git-show-branch.md +++ b/pages/common/git-show-branch.md @@ -9,19 +9,19 @@ - Compare commits in the history of multiple commits or branches: -`git show-branch {{branch_name|ref|commit}}` +`git show-branch {{branch_name1|ref1|commit1 branch_name2|ref2|commit2 ...}}` - Compare all remote tracking branches: -`git show-branch --remotes` +`git show-branch {{[-r|--remotes]}}` - Compare both local and remote tracking branches: -`git show-branch --all` +`git show-branch {{[-a|--all]}}` - List the latest commits in all branches: -`git show-branch --all --list` +`git show-branch {{[-a|--all]}} --list` - Compare a given branch with the current branch: @@ -31,6 +31,6 @@ `git show-branch --sha1-name --current {{current|branch_name|ref}}` -- Keep going a given number of commits past the common ancester: +- Keep going a given number of commits past the common ancestor: -`git show-branch --more {{5}} {{commit|branch_name|ref}} {{commit|branch_name|ref}} {{...}}` +`git show-branch --more {{5}} {{branch_name1|ref1|commit1 branch_name2|ref2|commit2 ...}}` diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md new file mode 100644 index 00000000000000..69ea6652b0b159 --- /dev/null +++ b/pages/common/git-show-index.md @@ -0,0 +1,12 @@ +# git show-index + +> Show the packed archive index of a Git repository. +> More information: . + +- Read an IDX file for a Git packfile and dump its contents to `stdout`: + +`git show-index {{path/to/file.idx}}` + +- Specify the hash algorithm for the index file (experimental): + +`git show-index --object-format {{sha1|sha256}} {{path/to/file}}` diff --git a/pages/common/git-show-merged-branches.md b/pages/common/git-show-merged-branches.md new file mode 100644 index 00000000000000..1d63ea6a4d7d1a --- /dev/null +++ b/pages/common/git-show-merged-branches.md @@ -0,0 +1,8 @@ +# git show-merged-branches + +> Print all branches which are merged into the current head. +> More information: . + +- Print all branches which are merged into the current head: + +`git show-merged-branches` diff --git a/pages/common/git-show-ref.md b/pages/common/git-show-ref.md index a50bda49f8b671..88c68774532508 100644 --- a/pages/common/git-show-ref.md +++ b/pages/common/git-show-ref.md @@ -9,7 +9,7 @@ - Show only heads references: -`git show-ref --heads` +`git show-ref --branches` - Show only tags references: diff --git a/pages/common/git-show-tree.md b/pages/common/git-show-tree.md new file mode 100644 index 00000000000000..19ded6a288c7bb --- /dev/null +++ b/pages/common/git-show-tree.md @@ -0,0 +1,9 @@ +# git show-tree + +> Show a decorated tree graph with all branches of a Git repository, showing annotations. +> Part of `git-extras`. +> More information: . + +- Show a decorated tree graph for all branches annotated with tags and branch names: + +`git show-tree` diff --git a/pages/common/git-show-unmerged-branches.md b/pages/common/git-show-unmerged-branches.md new file mode 100644 index 00000000000000..6396e38155c2ed --- /dev/null +++ b/pages/common/git-show-unmerged-branches.md @@ -0,0 +1,8 @@ +# git show-unmerged-branches + +> Print all branches which are not merged into the current HEAD. +> More information: . + +- Print all branches which are not merged into the current HEAD: + +`git show-unmerged-branches` diff --git a/pages/common/git-show.md b/pages/common/git-show.md index 4282e5a314a38c..33ef14ecd30663 100644 --- a/pages/common/git-show.md +++ b/pages/common/git-show.md @@ -7,13 +7,13 @@ `git show` -- Show information about a given commit: +- Show information about a specific commit, tag, or branch (such as `HEAD` for the latest commit): -`git show {{commit}}` +`git show {{commit|tag|branch}}` -- Show information about the commit associated with a given tag: +- Show only the list of added, renamed or deleted files: -`git show {{tag}}` +`git show --summary {{commit}}` - Show information about the 3rd commit from the HEAD of a branch: @@ -21,15 +21,15 @@ - Show a commit's message in a single line, suppressing the diff output: -`git show --oneline -s {{commit}}` +`git show --oneline {{[-s|--no-patch]}} {{commit}}` - Show only statistics (added/removed characters) about the changed files: `git show --stat {{commit}}` -- Show only the list of added, renamed or deleted files: +- Show a simplified list of all files changed in a commit (modified, added, and deleted): -`git show --summary {{commit}}` +`git show --name-only {{commit}}` - Show the contents of a file as it was at a given revision (e.g. branch, tag or commit): diff --git a/pages/common/git-sizer.md b/pages/common/git-sizer.md index eb3c704679fb67..6ca8a90ceff29b 100644 --- a/pages/common/git-sizer.md +++ b/pages/common/git-sizer.md @@ -1,16 +1,16 @@ -# git sizer +# git-sizer > Computes various Git repository size metrics and alerts you to any that might cause problems or inconvenience. > More information: . - Report only statistics that have a level of concern greater than 0: -`git sizer` +`git-sizer` - Report all statistics: -`git sizer -v` +`git-sizer -v` - See additional options: -`git sizer -h` +`git-sizer -h` diff --git a/pages/common/git-sparse-checkout.md b/pages/common/git-sparse-checkout.md new file mode 100644 index 00000000000000..393c2a4e1f08ba --- /dev/null +++ b/pages/common/git-sparse-checkout.md @@ -0,0 +1,20 @@ +# git sparse-checkout + +> Check out only part of a repository's files instead of cloning or checking out everything. +> More information: . + +- Enable sparse checkout: + +`git sparse-checkout init` + +- Disable sparse-checkout and restore full repository: + +`git sparse-checkout disable` + +- Specify which directories (or files) to include: + +`git sparse-checkout set {{path/to/directory}}` + +- Add more paths later: + +`git sparse-checkout add {{path/to/directory}}` diff --git a/pages/common/git-squash.md b/pages/common/git-squash.md new file mode 100644 index 00000000000000..88e48b036add30 --- /dev/null +++ b/pages/common/git-squash.md @@ -0,0 +1,21 @@ +# git squash + +> Squash multiple commits into a single commit. +> Part of `git-extras`. +> More information: . + +- Merge all commits from a specific branch into the current branch as a single commit: + +`git squash {{source_branch}}` + +- Squash all commits starting with a specific commit on the current branch: + +`git squash {{commit}}` + +- Squash the `n` latest commits and commit with a message: + +`git squash HEAD~{{n}} "{{message}}"` + +- Squash the `n` latest commits and commit concatenating all individual messages: + +`git squash --squash-msg HEAD~{{n}}` diff --git a/pages/common/git-stage.md b/pages/common/git-stage.md index 9f3e301861c8b0..1b4e71f4884f60 100644 --- a/pages/common/git-stage.md +++ b/pages/common/git-stage.md @@ -1,33 +1,7 @@ # git stage -> Add file contents to the staging area. -> Synonym of `git add`. -> More information: . +> This command is an alias of `git add`. -- Add a file to the index: +- View documentation for the original command: -`git stage {{path/to/file}}` - -- Add all files (tracked and untracked): - -`git stage -A` - -- Only add already tracked files: - -`git stage -u` - -- Also add ignored files: - -`git stage -f` - -- Interactively stage parts of files: - -`git stage -p` - -- Interactively stage parts of a given file: - -`git stage -p {{path/to/file}}` - -- Interactively stage a file: - -`git stage -i` +`tldr git add` diff --git a/pages/common/git-stamp.md b/pages/common/git-stamp.md new file mode 100644 index 00000000000000..f806d4ed5fa02b --- /dev/null +++ b/pages/common/git-stamp.md @@ -0,0 +1,17 @@ +# git stamp + +> Stamp the last commit message, with the possibility to reference the issues numbers from your bug tracker or link to its review page. +> Part of `git-extras`. +> More information: . + +- Stamp the last commit message referencing it with the issue number from your bug tracker: + +`git stamp {{issue_number}}` + +- Stamp the last commit message linking it to its review page: + +`git stamp {{Review https://example.org/path/to/review}}` + +- Stamp the last commit message replacing previous issues with a new one: + +`git stamp {{[-r|--replace]}} {{issue_number}}` diff --git a/pages/common/git-standup.md b/pages/common/git-standup.md new file mode 100644 index 00000000000000..02f882908410fb --- /dev/null +++ b/pages/common/git-standup.md @@ -0,0 +1,21 @@ +# git standup + +> See commits from a specified user. +> Part of `git-extras`. +> More information: . + +- Show a given author's commits from the last 10 days: + +`git standup -a {{name|email}} -d {{10}}` + +- Show a given author's commits from the last 10 days and whether they are GPG signed: + +`git standup -a {{name|email}} -d {{10}} -g` + +- Show all the commits from all contributors for the last 10 days: + +`git standup -a all -d {{10}}` + +- Display help: + +`git standup -h` diff --git a/pages/common/git-stash.md b/pages/common/git-stash.md index 0ba7bcbd2d4fce..39aadb0d62aeda 100644 --- a/pages/common/git-stash.md +++ b/pages/common/git-stash.md @@ -3,33 +3,33 @@ > Stash local Git changes in a temporary area. > More information: . -- Stash current changes, except new (untracked) files: +- Stash current changes with a message, except new (untracked) files: -`git stash [push -m {{optional_stash_message}}]` +`git stash push {{[-m|--message]}} {{stash_message}}` -- Stash current changes, including new (untracked) files: +- Stash current changes, including new untracked files: -`git stash -u` +`git stash {{[-u|--include-untracked]}}` - Interactively select parts of changed files for stashing: -`git stash -p` +`git stash {{[-p|--patch]}}` - List all stashes (shows stash name, related branch and message): `git stash list` -- Apply a stash (default is the latest, named stash@{0}): +- Show the changes as a patch between the stash (default is `stash@{0}`) and the commit back when stash entry was first created: -`git stash apply {{optional_stash_name_or_commit}}` +`git stash show {{[-p|--patch]}} {{stash@{0}}}` -- Apply a stash (default is stash@{0}), and remove it from the stash list if applying doesn't cause conflicts: +- Apply a stash (default is the latest, named `stash@{0}`): -`git stash pop {{optional_stash_name}}` +`git stash apply {{optional_stash_name_or_commit}}` -- Drop a stash (default is stash@{0}): +- Drop or apply a stash (default is `stash@{0}`) and remove it from the stash list if applying doesn't cause conflicts: -`git stash drop {{optional_stash_name}}` +`git stash pop {{optional_stash_name}}` - Drop all stashes: diff --git a/pages/common/git-status.md b/pages/common/git-status.md index d243b6645f85dd..bef967a46b2d3a 100644 --- a/pages/common/git-status.md +++ b/pages/common/git-status.md @@ -1,21 +1,33 @@ # git status > Show the changes to files in a Git repository. -> Lists changed, added and deleted files compared to the currently checked-out commit. +> List changed, added and deleted files compared to the currently checked-out commit. > More information: . - Show changed files which are not yet added for commit: `git status` -- Give output in [s]hort format: +- Give output in short format: -`git status -s` +`git status {{[-s|--short]}}` -- Don't show untracked files in the output: +- Show verbose information on changes in both the staging area and working directory: + +`git status {{[-vv|--verbose --verbose]}}` + +- Show the branch and tracking info: + +`git status {{[-b|--branch]}}` -`git status --untracked-files=no` +- Show output in short format along with branch info: -- Show output in [s]hort format along with [b]ranch info: +`git status {{[-sb|--short --branch]}}` + +- Show the number of entries currently stashed away: + +`git status --show-stash` + +- Don't show untracked files in the output: -`git status -sb` +`git status {{[-uno|--untracked-files=no]}}` diff --git a/pages/common/git-stripspace.md b/pages/common/git-stripspace.md index 3ca7aa82f29fc8..4a1530e8043f3c 100644 --- a/pages/common/git-stripspace.md +++ b/pages/common/git-stripspace.md @@ -1,6 +1,6 @@ # git stripspace -> Read text (e.g. commit messages, notes, tags, and branch descriptions) from the standard input and clean it into the manner used by Git. +> Read text (e.g. commit messages, notes, tags, and branch descriptions) from `stdin` and clean it into the manner used by Git. > More information: . - Trim whitespace from a file: @@ -9,8 +9,8 @@ - Trim whitespace and Git comments from a file: -`cat {{path/to/file}} | git stripspace --strip-comments` +`cat {{path/to/file}} | git stripspace {{[-s|--strip-comments]}}` - Convert all lines in a file into Git comments: -`git stripspace --comment-lines < {{path/to/file}}` +`git stripspace {{[-c|--comment-lines]}} < {{path/to/file}}` diff --git a/pages/common/git-submodule.md b/pages/common/git-submodule.md index 111237887e6075..353e3c4e5c320b 100644 --- a/pages/common/git-submodule.md +++ b/pages/common/git-submodule.md @@ -17,4 +17,4 @@ - Update every submodule to its latest commit: -`git submodule foreach git pull` +`git submodule update --init --recursive --remote` diff --git a/pages/common/git-subtree.md b/pages/common/git-subtree.md index a41cf64d95cdd5..596108c3015702 100644 --- a/pages/common/git-subtree.md +++ b/pages/common/git-subtree.md @@ -1,24 +1,24 @@ # git subtree -> Tool to manage project dependencies as subprojects. -> More information: . +> Merge subtrees together or split repository into subtrees. +> More information: . -- Add a Git repository as a subtree: +- Add a Git repository as a subtree and squash the commits together: -`git subtree add --prefix={{path/to/directory/}} --squash {{repository_url}} {{branch_name}}` +`git subtree add {{[-P|--prefix]}} {{path/to/directory}} --squash {{repository_url}} {{branch_name}}` - Update subtree repository to its latest commit: -`git subtree pull --prefix={{path/to/directory/}} {{repository_url}} {{branch_name}}` +`git subtree pull {{[-P|--prefix]}} {{path/to/directory}} {{repository_url}} {{branch_name}}` - Merge recent changes up to the latest subtree commit into the subtree: -`git subtree merge --prefix={{path/to/directory/}} --squash {{repository_url}} {{branch_name}}` +`git subtree merge {{[-P|--prefix]}} {{path/to/directory}} --squash {{repository_url}} {{branch_name}}` - Push commits to a subtree repository: -`git subtree push --prefix={{path/to/directory/}} {{repository_url}} {{branch_name}}` +`git subtree push {{[-P|--prefix]}} {{path/to/directory}} {{repository_url}} {{branch_name}}` - Extract a new project history from the history of a subtree: -`git subtree split --prefix={{path/to/directory/}} {{repository_url}} -b {{branch_name}}` +`git subtree split {{[-P|--prefix]}} {{path/to/directory}} {{repository_url}} {{[-b|--branch]}} {{branch_name}}` diff --git a/pages/common/git-summary.md b/pages/common/git-summary.md new file mode 100644 index 00000000000000..45474d99a7c6db --- /dev/null +++ b/pages/common/git-summary.md @@ -0,0 +1,21 @@ +# git summary + +> Display information about a Git repository. +> Part of `git-extras`. +> More information: . + +- Display data about a Git repository: + +`git summary` + +- Display data about a Git repository since a commit-ish: + +`git summary {{commit|branch_name|tag_name}}` + +- Display data about a Git repository, merging committers using different emails into 1 statistic for each author: + +`git summary --dedup-by-email` + +- Display data about a Git repository, showing the number of lines modified by each contributor: + +`git summary --line` diff --git a/pages/common/git-svn.md b/pages/common/git-svn.md index bbd4a59372d13d..9391ddb85db87a 100644 --- a/pages/common/git-svn.md +++ b/pages/common/git-svn.md @@ -5,11 +5,11 @@ - Clone an SVN repository: -`git svn clone {{https://example.com/subversion_repo}} {{local_dir}}` +`git svn clone {{https://example.com/subversion_repo}} {{local_directory}}` -- Clone a SVN repository starting at a given revision number: +- Clone an SVN repository starting at a given revision number: -`git svn clone -r{{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}` +`git svn clone {{[-r|--revision]}} {{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_directory}}` - Update local clone from the remote SVN repository: @@ -21,4 +21,4 @@ - Commit back to the SVN repository: -`git svn dcommit` +`git svn commit` diff --git a/pages/common/git-switch.md b/pages/common/git-switch.md index 40b1c31ab22e78..61151a79f1d826 100644 --- a/pages/common/git-switch.md +++ b/pages/common/git-switch.md @@ -1,7 +1,7 @@ # git switch > Switch between Git branches. Requires Git version 2.23+. -> See also `git checkout`. +> See also: `git checkout`. > More information: . - Switch to an existing branch: @@ -10,11 +10,11 @@ - Create a new branch and switch to it: -`git switch --create {{branch_name}}` +`git switch {{[-c|--create]}} {{branch_name}}` - Create a new branch based on an existing commit and switch to it: -`git switch --create {{branch_name}} {{commit}}` +`git switch {{[-c|--create]}} {{branch_name}} {{commit}}` - Switch to the previous branch: @@ -26,4 +26,8 @@ - Switch to a branch and automatically merge the current branch and any uncommitted changes into it: -`git switch --merge {{branch_name}}` +`git switch {{[-m|--merge]}} {{branch_name}}` + +- Switch to a tag: + +`git switch {{[-d|--detach]}} {{tag}}` diff --git a/pages/common/git-symbolic-ref.md b/pages/common/git-symbolic-ref.md new file mode 100644 index 00000000000000..10b778c0df86a5 --- /dev/null +++ b/pages/common/git-symbolic-ref.md @@ -0,0 +1,24 @@ +# git symbolic-ref + +> Read, change, or delete files that store references. +> More information: . + +- Store a reference by a name: + +`git symbolic-ref refs/{{name}} {{ref}}` + +- Store a reference by name, including a message with a reason for the update: + +`git symbolic-ref -m "{{message}}" refs/{{name}} refs/heads/{{branch_name}}` + +- Read a reference by name: + +`git symbolic-ref refs/{{name}}` + +- Delete a reference by name: + +`git symbolic-ref {{[-d|--delete]}} refs/{{name}}` + +- For scripting, hide errors with `--quiet` and use `--short` to simplify ("refs/heads/X" prints as "X"): + +`git symbolic-ref {{[-q|--quiet]}} --short refs/{{name}}` diff --git a/pages/common/git-sync.md b/pages/common/git-sync.md new file mode 100644 index 00000000000000..46600d194adc7c --- /dev/null +++ b/pages/common/git-sync.md @@ -0,0 +1,17 @@ +# git sync + +> Sync local branches with remote branches. +> Part of `git-extras`. +> More information: . + +- Sync the current local branch with its remote branch: + +`git sync` + +- Sync the current local branch with the remote main branch: + +`git sync origin main` + +- Sync without cleaning untracked files: + +`git sync {{[-s|--soft]}} {{remote_name}} {{branch_name}}` diff --git a/pages/common/git-tag.md b/pages/common/git-tag.md index 0149359cdf9f23..b59e965f798857 100644 --- a/pages/common/git-tag.md +++ b/pages/common/git-tag.md @@ -1,7 +1,7 @@ # git tag > Create, list, delete or verify tags. -> A tag is a static reference to a specific commit. +> A tag is a static reference to a commit. > More information: . - List all tags: @@ -18,16 +18,20 @@ - Create an annotated tag with the given message: -`git tag {{tag_name}} -m {{tag_message}}` +`git tag {{tag_name}} {{[-m|--message]}} {{tag_message}}` - Delete the tag with the given name: -`git tag -d {{tag_name}}` +`git tag {{[-d|--delete]}} {{tag_name}}` -- Get updated tags from upstream: +- Get updated tags from remote: -`git fetch --tags` +`git fetch {{[-t|--tags]}}` -- List all tags whose ancestors include a given commit: +- Push a tag to remote: + +`git push origin tag {{tag_name}}` + +- List all tags which contain a given commit (HEAD if not specified): `git tag --contains {{commit}}` diff --git a/pages/common/git-touch.md b/pages/common/git-touch.md new file mode 100644 index 00000000000000..b19cfdf4b7ff79 --- /dev/null +++ b/pages/common/git-touch.md @@ -0,0 +1,9 @@ +# git touch + +> Create new files and add them to the index. +> Part of `git-extras`. +> More information: . + +- Create new files and add them to the index: + +`git touch {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/git-undo.md b/pages/common/git-undo.md new file mode 100644 index 00000000000000..9a6900277dd813 --- /dev/null +++ b/pages/common/git-undo.md @@ -0,0 +1,13 @@ +# git undo + +> Undo recent commits. +> Part of `git-extras`. +> More information: . + +- Remove the most recent commit: + +`git undo` + +- Remove a specific number of the most recent commits: + +`git undo {{3}}` diff --git a/pages/common/git-unlock.md b/pages/common/git-unlock.md new file mode 100644 index 00000000000000..e4d2493ba1b7a6 --- /dev/null +++ b/pages/common/git-unlock.md @@ -0,0 +1,10 @@ +# git unlock + +> Unlock a file in a Git repository so it can be modified by a commit. +> Part of `git-extras`. +> See also: `git lock`. +> More information: . + +- Enable the ability to commit changes of a previously-locked local file: + +`git unlock {{path/to/file}}` diff --git a/pages/common/git-unpack-file.md b/pages/common/git-unpack-file.md new file mode 100644 index 00000000000000..04936c5d576ebe --- /dev/null +++ b/pages/common/git-unpack-file.md @@ -0,0 +1,8 @@ +# git unpack-file + +> Create a temporary file with a blob's contents. +> More information: . + +- Create a file holding the contents of the blob specified by its ID then print the name of the temporary file: + +`git unpack-file {{blob_id}}` diff --git a/pages/common/git-utimes.md b/pages/common/git-utimes.md new file mode 100644 index 00000000000000..b94f07219c842e --- /dev/null +++ b/pages/common/git-utimes.md @@ -0,0 +1,13 @@ +# git utimes + +> Change files modification time to their last commit date. Does not touch files that are in the working tree or index. +> Part of `git-extras`. +> More information: . + +- Change all files modification time to their last commit date: + +`git utimes` + +- Change files modification time that are newer than their last commit date, preserving original modification time of files that were committed from the local repository: + +`git utimes --newer` diff --git a/pages/common/git-var.md b/pages/common/git-var.md index 1b234177158a42..a915b0c9ea1d10 100644 --- a/pages/common/git-var.md +++ b/pages/common/git-var.md @@ -1,6 +1,6 @@ # git var -> Prints a Git logical variable's value. +> Print a Git logical variable's value. > See `git config`, which is preferred over `git var`. > More information: . diff --git a/pages/common/git-verify-commit.md b/pages/common/git-verify-commit.md new file mode 100644 index 00000000000000..6bdf9c490280dd --- /dev/null +++ b/pages/common/git-verify-commit.md @@ -0,0 +1,17 @@ +# git verify-commit + +> Check for GPG verification of commits. +> If no commits are verified, nothing will be printed, regardless of options specified. +> More information: . + +- Check commits for a GPG signature: + +`git verify-commit {{commit_hash1 optional_commit_hash2 ...}}` + +- Check commits for a GPG signature and show details of each commit: + +`git verify-commit {{commit_hash1 optional_commit_hash2 ...}} {{[-v|--verbose]}}` + +- Check commits for a GPG signature and print the raw details: + +`git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --raw` diff --git a/pages/common/git-verify-pack.md b/pages/common/git-verify-pack.md new file mode 100644 index 00000000000000..648228502f7bca --- /dev/null +++ b/pages/common/git-verify-pack.md @@ -0,0 +1,16 @@ +# git verify-pack + +> Verify packed Git archive files. +> More information: . + +- Verify a packed Git archive file: + +`git verify-pack {{path/to/pack-file}}` + +- Verify a packed Git archive file and show verbose details: + +`git verify-pack {{[-v|--verbose]}} {{path/to/pack-file}}` + +- Verify a packed Git archive file and only display the statistics: + +`git verify-pack {{[-s|--stat-only]}} {{path/to/pack-file}}` diff --git a/pages/common/git-verify-tag.md b/pages/common/git-verify-tag.md new file mode 100644 index 00000000000000..2b37f79c4c108c --- /dev/null +++ b/pages/common/git-verify-tag.md @@ -0,0 +1,17 @@ +# git verify-tag + +> Check for GPG verification of tags. +> If a tag wasn't signed, an error will occur. +> More information: . + +- Check tags for a GPG signature: + +`git verify-tag {{tag1 optional_tag2 ...}}` + +- Check tags for a GPG signature and show details for each tag: + +`git verify-tag {{tag1 optional_tag2 ...}} {{[-v|--verbose]}}` + +- Check tags for a GPG signature and print the raw details: + +`git verify-tag {{tag1 optional_tag2 ...}} --raw` diff --git a/pages/common/git-whatchanged.md b/pages/common/git-whatchanged.md new file mode 100644 index 00000000000000..bf3b45cf622629 --- /dev/null +++ b/pages/common/git-whatchanged.md @@ -0,0 +1,17 @@ +# git whatchanged + +> Show what has changed with recent commits or files. +> See also: `git log`. +> More information: . + +- Display logs and changes for recent commits: + +`git whatchanged` + +- Display logs and changes for recent commits within the specified time frame: + +`git whatchanged --since "{{2 hours ago}}"` + +- Display logs and changes for recent commits for specific files or directories: + +`git whatchanged {{path/to/file_or_directory}}` diff --git a/pages/common/git-write-tree.md b/pages/common/git-write-tree.md new file mode 100644 index 00000000000000..1cc5d5a17ea463 --- /dev/null +++ b/pages/common/git-write-tree.md @@ -0,0 +1,16 @@ +# git write-tree + +> Low level utility to create a tree object from the current index. +> More information: . + +- Create a tree object from the current index: + +`git write-tree` + +- Create a tree object without checking whether objects referenced by the directory exist in the object database: + +`git write-tree --missing-ok` + +- Create a tree object that represents a subdirectory (used to write the tree object for a subproject in the named subdirectory): + +`git write-tree --prefix {{subdirectory}}/` diff --git a/pages/common/git.md b/pages/common/git.md index ddaffb94b6bcb8..6804a0ac62f348 100644 --- a/pages/common/git.md +++ b/pages/common/git.md @@ -1,28 +1,37 @@ # git > Distributed version control system. -> More information: . +> Some subcommands such as `commit`, `add`, `branch`, `switch`, `push`, etc. have their own usage documentation. +> More information: . -- Check the Git version: +- Create an empty Git repository: -`git --version` +`git init` -- Show general help: +- Clone a remote Git repository from the internet: -`git --help` +`git clone {{https://example.com/repo.git}}` -- Show help on a Git subcommand (like `commit`, `log`, etc.): +- View the status of the local repository: -`git help {{subcommand}}` +`git status` -- Execute a Git subcommand: +- Stage all changes for a commit: -`git {{subcommand}}` +`git add {{[-A|--all]}}` -- Execute a Git subcommand on a custom repository root path: +- Commit changes to version history: -`git -C {{path/to/repo}} {{subcommand}}` +`git commit {{[-m|--message]}} {{message_text}}` -- Execute a Git subcommand with a given configuration set: +- Push local commits to a remote repository: -`git -c '{{config.key}}={{value}}' {{subcommand}}` +`git push` + +- Pull any changes made to a remote: + +`git pull` + +- Reset everything the way it was in the latest commit: + +`git reset --hard; git clean {{[-f|--force]}}` diff --git a/pages/common/gitea.md b/pages/common/gitea.md new file mode 100644 index 00000000000000..b707273e79c63c --- /dev/null +++ b/pages/common/gitea.md @@ -0,0 +1,29 @@ +# gitea + +> Administer Gitea, a lightweight Git hosting server. +> Requires a configured `app.ini` file or environment variables. +> More information: . + +- Run the Gitea web server using the default configuration: + +`gitea web` + +- Create the necessary database schema and tables: + +`gitea migrate` + +- Run administrative subcommands for user management or authentication management: + +`gitea admin {{user list}}` + +- Display help for a specific subcommand: + +`gitea {{admin}} --help` + +- Display help: + +`gitea help` + +- Display version: + +`gitea --version` diff --git a/pages/common/github-label-sync.md b/pages/common/github-label-sync.md index 3203f8d8ec825d..cc6567908de739 100644 --- a/pages/common/github-label-sync.md +++ b/pages/common/github-label-sync.md @@ -1,17 +1,17 @@ # github-label-sync -> A command line interface for synchronising GitHub labels. -> More information: . +> Synchronize GitHub labels. +> More information: . -- Synchronise labels using a local `labels.json` file: +- Synchronize labels using a local `labels.json` file: `github-label-sync --access-token {{token}} {{repository_name}}` -- Synchronise labels using a specific labels JSON file: +- Synchronize labels using a specific labels JSON file: `github-label-sync --access-token {{token}} --labels {{url|path/to/json_file}} {{repository_name}}` -- Perform a dry run instead of actually synchronising labels: +- Perform a dry run instead of actually synchronizing labels: `github-label-sync --access-token {{token}} --dry-run {{repository_name}}` @@ -19,6 +19,6 @@ `github-label-sync --access-token {{token}} --allow-added-labels {{repository_name}}` -- Synchronise using the `GITHUB_ACCESS_TOKEN` environment variable: +- Synchronize using the `GITHUB_ACCESS_TOKEN` environment variable: `github-label-sync {{repository_name}}` diff --git a/pages/common/gitk.md b/pages/common/gitk.md index c0e6264f8080be..c64568f6094ff1 100644 --- a/pages/common/gitk.md +++ b/pages/common/gitk.md @@ -1,6 +1,7 @@ # gitk -> A graphical Git repository browser. +> Browse Git repositories graphically. +> See also: `git-gui`, `git-cola`, `tig`. > More information: . - Show the repository browser for the current Git repository: @@ -21,4 +22,4 @@ - Show at most 100 changes in all branches: -` gitk --max-count={{100}} --all` +`gitk --max-count=100 --all` diff --git a/pages/common/gitlab-ctl.md b/pages/common/gitlab-ctl.md index 00043fdd217d14..aa77c0ed8d3cc3 100644 --- a/pages/common/gitlab-ctl.md +++ b/pages/common/gitlab-ctl.md @@ -1,6 +1,6 @@ # gitlab-ctl -> CLI tool for managing the GitLab omnibus. +> Manage the GitLab omnibus. > More information: . - Display the status of every service: @@ -19,10 +19,18 @@ `sudo gitlab-ctl restart {{nginx}}` -- Display the logs of every service and keep reading until `Ctrl + C` is pressed: +- Display the logs of every service and keep reading until `` is pressed: `sudo gitlab-ctl tail` - Display the logs of a specific service: `sudo gitlab-ctl tail {{nginx}}` + +- Send the SIGKILL signal to specific service: + +`sudo gitlab-ctl kill {{nginx}}` + +- Reconfigure the application: + +`sudo gitlab-ctl reconfigure` diff --git a/pages/common/gitlab-runner.md b/pages/common/gitlab-runner.md index 5005faf71b0554..bd198b4b3649b1 100644 --- a/pages/common/gitlab-runner.md +++ b/pages/common/gitlab-runner.md @@ -1,6 +1,6 @@ # gitlab-runner -> CLI tool for managing GitLab runners. +> Manage GitLab runners. > More information: . - Register a runner: diff --git a/pages/common/gitlab.md b/pages/common/gitlab.md index 1843720bb45179..9ecdc6f81efd33 100644 --- a/pages/common/gitlab.md +++ b/pages/common/gitlab.md @@ -1,6 +1,7 @@ # gitlab -> Ruby wrapper and CLI for the GitLab API. +> Ruby wrapper for the GitLab API. +> Some subcommands such as `ctl` have their own usage documentation. > More information: . - Create a new project: diff --git a/pages/common/gitleaks.md b/pages/common/gitleaks.md new file mode 100644 index 00000000000000..e8f619eb0cbf8e --- /dev/null +++ b/pages/common/gitleaks.md @@ -0,0 +1,32 @@ +# gitleaks + +> Detect secrets and API keys leaked in Git repositories. +> More information: . + +- Scan a remote repository: + +`gitleaks detect --repo-url {{https://github.com/username/repository.git}}` + +- Scan a local directory: + +`gitleaks detect --source {{path/to/repository}}` + +- Output scan results to a JSON file: + +`gitleaks detect --source {{path/to/repository}} --report {{path/to/report.json}}` + +- Use a custom rules file: + +`gitleaks detect --source {{path/to/repository}} --config-path {{path/to/config.toml}}` + +- Start scanning from a specific commit: + +`gitleaks detect --source {{path/to/repository}} --log-opts {{--since=commit_id}}` + +- Scan uncommitted changes before a commit: + +`gitleaks protect --staged` + +- Display verbose output indicating which parts were identified as leaks during the scan: + +`gitleaks protect --staged --verbose` diff --git a/pages/common/gitlint.md b/pages/common/gitlint.md new file mode 100644 index 00000000000000..e3cfe7bf1a4dad --- /dev/null +++ b/pages/common/gitlint.md @@ -0,0 +1,28 @@ +# gitlint + +> Git commit message linter checks your commit messages for style. +> More information: . + +- Check the last commit message: + +`gitlint` + +- The range of commits to lint: + +`gitlint --commits {{single_refspec_argument}}` + +- Path to a directory or Python module with extra user-defined rules: + +`gitlint --extra-path {{path/to/directory}}` + +- Start a specific CI job: + +`gitlint --target {{path/to/target_directory}}` + +- Path to a file containing a commit-msg: + +`gitlint --msg-filename {{path/to/file}}` + +- Read staged commit meta-info from the local repository: + +`gitlint --staged` diff --git a/pages/common/gitmoji.md b/pages/common/gitmoji.md new file mode 100644 index 00000000000000..c4a2982ba5df68 --- /dev/null +++ b/pages/common/gitmoji.md @@ -0,0 +1,32 @@ +# gitmoji + +> Interactively insert emojis on commits. +> More information: . + +- Start the commit wizard: + +`gitmoji --commit` + +- Initialize the Git hook (so `gitmoji` will be run every time `git commit` is run): + +`gitmoji --init` + +- Remove the Git hook: + +`gitmoji --remove` + +- List all available emojis and their descriptions: + +`gitmoji --list` + +- Search emoji list for a list of keywords: + +`gitmoji --search {{keyword1}} {{keyword2}}` + +- Update cached list of emojis from main repository: + +`gitmoji --update` + +- Configure global preferences: + +`gitmoji --config` diff --git a/pages/common/gitsome.md b/pages/common/gitsome.md index bec712673d96e4..261cbaaf59370f 100644 --- a/pages/common/gitsome.md +++ b/pages/common/gitsome.md @@ -12,7 +12,7 @@ `gh configure` -- List notifications for the current account (as would be seen in https://github.com/notifications): +- List notifications for the current account (as would be seen in ): `gh notifications` diff --git a/pages/common/gitstats.md b/pages/common/gitstats.md new file mode 100644 index 00000000000000..2cc436d2f00afc --- /dev/null +++ b/pages/common/gitstats.md @@ -0,0 +1,12 @@ +# gitstats + +> Git repository statistics generator. +> More information: . + +- Generate statistics for a local repository: + +`gitstats {{path/to/git_repo/.git}} {{path/to/output_folder}}` + +- View generated statistics in a web browser on Windows (PowerShell)/macOS/Linux: + +`{{Invoke-Item|open|xdg-open}} {{path/to/output_folder/index.html}}` diff --git a/pages/common/gitui.md b/pages/common/gitui.md new file mode 100644 index 00000000000000..1b09dca0ae300d --- /dev/null +++ b/pages/common/gitui.md @@ -0,0 +1,37 @@ +# gitui + +> A lightweight keyboard-only TUI for Git. +> See also: `tig`, `git-gui`. +> More information: . + +- Specify the color theme (defaults to `theme.ron`): + +`gitui --theme {{theme}}` + +- Store logging output into a cache directory: + +`gitui --logging` + +- Use notify-based file system watcher instead of tick-based update: + +`gitui --watcher` + +- Generate a bug report: + +`gitui --bugreport` + +- Use a specific Git directory: + +`gitui --directory {{path/to/directory}}` + +- Use a specific working directory: + +`gitui --workdir {{path/to/directory}}` + +- Display help: + +`gitui --help` + +- Display version: + +`gitui --version` diff --git a/pages/common/gitwatch.md b/pages/common/gitwatch.md new file mode 100644 index 00000000000000..efe8eb9b02115c --- /dev/null +++ b/pages/common/gitwatch.md @@ -0,0 +1,16 @@ +# gitwatch + +> Automatically commit file or directory changes to a Git repository. +> More information: . + +- Automatically commit any changes made to a file or directory: + +`gitwatch {{path/to/file_or_directory}}` + +- Automatically commit changes and push them to a remote repository: + +`gitwatch -r {{remote_name}} {{path/to/file_or_directory}}` + +- Automatically commit changes and push them to a specific branch of a remote repository: + +`gitwatch -r {{remote_name}} -b {{branch_name}} {{path/to/file_or_directory}}` diff --git a/pages/common/gixy.md b/pages/common/gixy.md index 50f50d3e459f99..84c6bdb9f6dcbc 100644 --- a/pages/common/gixy.md +++ b/pages/common/gixy.md @@ -3,7 +3,7 @@ > Analyze nginx configuration files. > More information: . -- Analyze nginx configuration (default path: /etc/nginx/nginx.conf): +- Analyze nginx configuration (default path: `/etc/nginx/nginx.conf`): `gixy` diff --git a/pages/common/glab-alias.md b/pages/common/glab-alias.md new file mode 100644 index 00000000000000..55335aa88e7a27 --- /dev/null +++ b/pages/common/glab-alias.md @@ -0,0 +1,24 @@ +# glab alias + +> Manage GitLab CLI command aliases. +> More information: . + +- List all the aliases `glab` is configured to use: + +`glab alias list` + +- Create a `glab` subcommand alias: + +`glab alias set {{mrv}} '{{mr view}}'` + +- Set a shell command as a `glab` subcommand: + +`glab alias set {{[-s|--shell]}} {{alias_name}} {{command}}` + +- Delete a command shortcut: + +`glab alias delete {{alias_name}}` + +- Display the subcommand help: + +`glab alias` diff --git a/pages/common/glab-auth.md b/pages/common/glab-auth.md new file mode 100644 index 00000000000000..49868144850a70 --- /dev/null +++ b/pages/common/glab-auth.md @@ -0,0 +1,20 @@ +# glab auth + +> Authenticate with a GitLab host. +> More information: . + +- Log in with interactive prompt: + +`glab auth login` + +- Log in with a token: + +`glab auth login {{[-t|--token]}} {{token}}` + +- Check authentication status: + +`glab auth status` + +- Log in to a specific GitLab instance: + +`glab auth login {{[-h|--hostname]}} {{gitlab.example.com}}` diff --git a/pages/common/glab-issue.md b/pages/common/glab-issue.md new file mode 100644 index 00000000000000..11dba8fd0907ee --- /dev/null +++ b/pages/common/glab-issue.md @@ -0,0 +1,28 @@ +# glab issue + +> Manage GitLab issues. +> More information: . + +- Display a specific issue: + +`glab issue view {{issue_number}}` + +- Display a specific issue in the default web browser: + +`glab issue view {{issue_number}} {{[-w|--web]}}` + +- Create a new issue in the default web browser: + +`glab issue create --web` + +- List the last 10 issues with the `bug` label: + +`glab issue list {{[-P|--per-page]}} {{10}} {{[-l|--label]}} "{{bug}}"` + +- List closed issues made by a specific user: + +`glab issue list {{[-c|--closed]}} --author {{username}}` + +- Reopen a specific issue: + +`glab issue reopen {{issue_number}}` diff --git a/pages/common/glab-mr-create.md b/pages/common/glab-mr-create.md new file mode 100644 index 00000000000000..e3453915c058b9 --- /dev/null +++ b/pages/common/glab-mr-create.md @@ -0,0 +1,24 @@ +# glab mr create + +> Manage GitLab merge requests. +> More information: . + +- Interactively create a merge request: + +`glab mr create` + +- Create a merge request, determining the title and description from the commit messages of the current branch: + +`glab mr create {{[-f|--fill]}}` + +- Create a draft merge request: + +`glab mr create --draft` + +- Create a merge request specifying the target branch, title, and description: + +`glab mr create {{[-b|--target-branch]}} {{target_branch}} {{[-t|--title]}} "{{title}}" {{[-d|--description]}} "{{description}}"` + +- Start opening a merge request in the default web browser: + +`glab mr create {{[-w|--web]}}` diff --git a/pages/common/glab-mr-merge.md b/pages/common/glab-mr-merge.md new file mode 100644 index 00000000000000..163b6ca8abe4cf --- /dev/null +++ b/pages/common/glab-mr-merge.md @@ -0,0 +1,24 @@ +# glab mr merge + +> Merge GitLab merge requests. +> More information: . + +- Merge the merge request associated with the current branch interactively: + +`glab mr merge` + +- Merge the specified merge request, interactively: + +`glab mr merge {{mr_number}}` + +- Merge the merge request, removing the branch on both the local and the remote: + +`glab mr merge {{[-d|--remove-source-branch]}}` + +- Squash the current merge request into one commit with the message body and merge: + +`glab mr merge {{[-s|--squash]}} {{[-m|--message]}} "{{commit_message_body}}"` + +- Display help: + +`glab mr merge --help` diff --git a/pages/common/glab-mr.md b/pages/common/glab-mr.md new file mode 100644 index 00000000000000..66da9cd03e9284 --- /dev/null +++ b/pages/common/glab-mr.md @@ -0,0 +1,33 @@ +# glab mr + +> Manage GitLab merge requests. +> Some subcommands such as `create` have their own usage documentation. +> More information: . + +- Create a merge request: + +`glab mr create` + +- Check out a specific merge request locally: + +`glab mr checkout {{mr_number}}` + +- View the changes made in the merge request: + +`glab mr diff` + +- Approve the merge request for the current branch: + +`glab mr approve` + +- Merge the merge request associated with the current branch interactively: + +`glab mr merge` + +- Edit a merge request interactively: + +`glab mr update` + +- Edit the target branch of a merge request: + +`glab mr update --target-branch {{branch_name}}` diff --git a/pages/common/glab-pipeline.md b/pages/common/glab-pipeline.md new file mode 100644 index 00000000000000..abd5e39314f8dc --- /dev/null +++ b/pages/common/glab-pipeline.md @@ -0,0 +1,24 @@ +# glab pipeline + +> List, view, and run GitLab CI/CD pipelines. +> More information: . + +- View a running pipeline on the current branch: + +`glab pipeline status` + +- View a running pipeline on a specific branch: + +`glab pipeline status --branch {{branch_name}}` + +- Get the list of pipelines: + +`glab pipeline list` + +- Run a manual pipeline on the current branch: + +`glab pipeline run` + +- Run a manual pipeline on a specific branch: + +`glab pipeline run --branch {{branch_name}}` diff --git a/pages/common/glab-release.md b/pages/common/glab-release.md new file mode 100644 index 00000000000000..06e493122cfefd --- /dev/null +++ b/pages/common/glab-release.md @@ -0,0 +1,28 @@ +# glab release + +> Manage GitLab releases. +> More information: . + +- List releases in a Gitlab repository, limited to 30 items: + +`glab release list` + +- Display information about a specific release: + +`glab release view {{tag}}` + +- Create a new release: + +`glab release create {{tag}}` + +- Delete a specific release: + +`glab release delete {{tag}}` + +- Download assets from a specific release: + +`glab release download {{tag}}` + +- Upload assets to a specific release: + +`glab release upload {{tag}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/glab-repo.md b/pages/common/glab-repo.md new file mode 100644 index 00000000000000..e668fc91b9aecf --- /dev/null +++ b/pages/common/glab-repo.md @@ -0,0 +1,24 @@ +# glab repo + +> Work with GitLab repositories. +> More information: . + +- Create a new repository (if the repository name is not set, the default name will be the name of the current directory): + +`glab repo create {{name}}` + +- Clone a repository: + +`glab repo clone {{owner}}/{{repository}}` + +- Fork and clone a repository: + +`glab repo fork {{owner}}/{{repository}} {{[-c|--clone]}}` + +- View a repository in the default web browser: + +`glab repo view {{owner}}/{{repository}} {{[-w|--web]}}` + +- Search some repositories in the GitLab instance: + +`glab repo search {{[-s|--search]}} {{search_string}}` diff --git a/pages/common/glab.md b/pages/common/glab.md index 4e4957a2f69488..e939658168a21e 100644 --- a/pages/common/glab.md +++ b/pages/common/glab.md @@ -1,28 +1,33 @@ # glab -> GitLab CLI tool to help working with GitLab from the command line. -> More information: . +> Work seamlessly with GitLab. +> Some subcommands such as `config` have their own usage documentation. +> More information: . -- Create a merge request: - -`glab mr create` +- Clone a GitLab repository locally: -- List merge requests: - -`glab mr list` +`glab repo clone {{owner}}/{{repository}}` - Create a new issue: `glab issue create` -- View and filter the current repository's open issues: +- View and filter the open issues of the current repository: `glab issue list` -- List pipelines: +- View an issue in the default browser: + +`glab issue view {{[-w|--web]}} {{issue_number}}` + +- Create a merge request: + +`glab mr create` + +- View a pull request in the default web browser: -`glab pipeline list` +`glab mr view {{[-w|--web]}} {{pr_number}}` -- Clone a repository into a specific directory: +- Check out a specific pull request locally: -`glab repo clone {{user}}/{{repository}} {{directory}}` +`glab mr checkout {{pr_number}}` diff --git a/pages/common/gladtex.md b/pages/common/gladtex.md new file mode 100644 index 00000000000000..81ec404802f27b --- /dev/null +++ b/pages/common/gladtex.md @@ -0,0 +1,33 @@ +# gladtex + +> A LaTeX formula preprocessor for HTML files. +> It converts LaTeX formulas to images. +> More information: . + +- Convert to HTML: + +`gladtex {{path/to/input.htex}}` + +- Save the converted file to a specific location: + +`gladtex {{path/to/input.htex}} -o {{path/to/output.html}}` + +- Save the generated images to a specific [d]irectory: + +`gladtex {{path/to/input.htex}} -d {{path/to/image_output_directory}}` + +- Set image [r]esolution (in dpi, default is 100): + +`gladtex {{path/to/input.htex}} -r {{resolution}}` + +- [k]eep LaTeX files after conversion: + +`gladtex {{path/to/input.htex}} -k` + +- Set [b]ackground and [f]oreground color of the images: + +`gladtex {{path/to/input.htex}} -b {{background_color}} -f {{foreground_color}}` + +- Convert Markdown to HTML using `pandoc` and `gladtex`: + +`pandoc -s -t html --gladtex {{path/to/input.md}} | gladtex -o {{path/to/output.html}}` diff --git a/pages/common/glances.md b/pages/common/glances.md index 6e3a1d910b2917..673d5bdc432953 100644 --- a/pages/common/glances.md +++ b/pages/common/glances.md @@ -1,6 +1,7 @@ # glances > A cross-platform system monitoring tool. +> See also: `htop`, `atop`, `top`, `btm`, `btop`. > More information: . - Run in terminal: @@ -9,16 +10,24 @@ - Run in web server mode to show results in browser: -`glances -w` +`glances {{[-w|--webserver]}}` - Run in server mode to allow connections from other Glances clients: -`glances -s` +`glances {{[-s|--server]}}` - Connect to a Glances server: -`glances -c {{hostname}}` +`glances {{[-c|--client]}} {{hostname}}` - Require a password in (web) server mode: -`glances -s --password` +`glances {{[-s|--server]}} --password` + +- Exit Glances: + +`` + +- Display help: + +`glances {{[-h|--help]}}` diff --git a/pages/common/gleam.md b/pages/common/gleam.md new file mode 100644 index 00000000000000..872fa81f0b7b63 --- /dev/null +++ b/pages/common/gleam.md @@ -0,0 +1,36 @@ +# gleam + +> The compiler, build tool, package manager and code formatter for Gleam, "a friendly language for building type-safe systems that scale!". +> More information: . + +- Create a new gleam project: + +`gleam new {{project_name}}` + +- Build and run a gleam project: + +`gleam run` + +- Build the project: + +`gleam build` + +- Run a project for a particular platform and runtime: + +`gleam run --target {{platform}} --runtime {{runtime}}` + +- Add a hex dependency to your project: + +`gleam add {{dependency_name}}` + +- Run project tests: + +`gleam test` + +- Format source code: + +`gleam format` + +- Type check the project: + +`gleam check` diff --git a/pages/common/glib-compile-resources.md b/pages/common/glib-compile-resources.md index 582417927eddaf..88e963ea7077d3 100644 --- a/pages/common/glib-compile-resources.md +++ b/pages/common/glib-compile-resources.md @@ -2,19 +2,20 @@ > Compiles resource files (e.g. images) into a binary resource bundle. > These may be linked into GTK applications using the GResource API. +> More information: . -- Compile resources referenced in "file.gresource.xml" to a .gresource binary: +- Compile resources referenced in `file.gresource.xml` to a .gresource binary: `glib-compile-resources {{file.gresource.xml}}` -- Compile resources referenced in "file.gresource.xml" to a C source file: +- Compile resources referenced in `file.gresource.xml` to a C source file: `glib-compile-resources --generate-source {{file.gresource.xml}}` -- Compile resources in "file.gresource.xml" to a chosen target file, with .c, .h or .gresource extension: +- Compile resources in `file.gresource.xml` to a chosen target file, with `.c`, `.h` or `.gresource` extension: `glib-compile-resources --generate --target={{file.ext}} {{file.gresource.xml}}` -- Print a list of resource files referenced in "file.gresource.xml": +- Print a list of resource files referenced in `file.gresource.xml`: `glib-compile-resources --generate-dependencies {{file.gresource.xml}}` diff --git a/pages/common/glow.md b/pages/common/glow.md index b488f6f6bef13e..8648dc30a712e3 100644 --- a/pages/common/glow.md +++ b/pages/common/glow.md @@ -13,7 +13,7 @@ - View a Markdown file using a paginator: -`glow -p {{path/to/file}}` +`glow {{[-p|--pager]}} {{path/to/file}}` - View a file from a URL: diff --git a/pages/common/gml2gv.md b/pages/common/gml2gv.md new file mode 100644 index 00000000000000..f6230737aadfa9 --- /dev/null +++ b/pages/common/gml2gv.md @@ -0,0 +1,17 @@ +# gml2gv + +> Convert a graph from `gml` to `gv` format. +> Converters: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> More information: . + +- Convert a graph from `gml` to `gv` format: + +`gml2gv -o {{output.gv}} {{input.gml}}` + +- Convert a graph using `stdin` and `stdout`: + +`cat {{input.gml}} | gml2gv > {{output.gv}}` + +- Display help: + +`gml2gv -?` diff --git a/pages/common/gmssl.md b/pages/common/gmssl.md new file mode 100644 index 00000000000000..9a439bab5a603a --- /dev/null +++ b/pages/common/gmssl.md @@ -0,0 +1,36 @@ +# gmssl + +> GmSSL is a crypto toolkit supporting SM1, SM2, SM3, SM4, SM9, and ZUC/ZUC256. +> More information: . + +- Generate an SM3 hash for a file: + +`gmssl sm3 {{path/to/file}}` + +- Encrypt a file using the SM4 cipher: + +`gmssl sms4 -e -in {{path/to/file}} -out {{path/to/file.sms4}}` + +- Decrypt a file using the SM4 cipher: + +`gmssl sms4 -d -in {{path/to/file.sms4}}` + +- Generate an SM2 private key: + +`gmssl sm2 -genkey -out {{path/to/file.pem}}` + +- Generate an SM2 public key from an existing private key: + +`gmssl sm2 -pubout -in {{path/to/file.pem}} -out {{path/to/file.pem.pub}}` + +- Encrypt a file using the ZUC cipher: + +`gmssl zuc -e -in {{path/to/file}} -out {{path/to/file.zuc}}` + +- Decrypt a file using the ZUC cipher: + +`gmssl zuc -d -in {{path/to/file.zuc}}` + +- Display version: + +`gmssl version` diff --git a/pages/common/gnatmake.md b/pages/common/gnatmake.md new file mode 100644 index 00000000000000..6136c1496264b4 --- /dev/null +++ b/pages/common/gnatmake.md @@ -0,0 +1,16 @@ +# gnatmake + +> A low-level build tool for Ada programs (part of the GNAT toolchain). +> More information: . + +- Compile an executable: + +`gnatmake {{source_file1.adb source_file2.adb ...}}` + +- Set a custom executable name: + +`gnatmake -o {{executable_name}} {{source_file.adb}}` + +- [f]orce recompilation: + +`gnatmake -f {{source_file.adb}}` diff --git a/pages/common/gnatprep.md b/pages/common/gnatprep.md new file mode 100644 index 00000000000000..3ad475390c42fa --- /dev/null +++ b/pages/common/gnatprep.md @@ -0,0 +1,12 @@ +# gnatprep + +> Preprocessor for Ada source code files (part of the GNAT toolchain). +> More information: . + +- Use symbol definitions from a file: + +`gnatprep {{source_file}} {{target_file}} {{definitions_file}}` + +- Specify symbol values in the command-line: + +`gnatprep -D{{name}}={{value}} {{source_file}} {{target_file}}` diff --git a/pages/common/gnmic-get.md b/pages/common/gnmic-get.md new file mode 100644 index 00000000000000..f9a1927190577b --- /dev/null +++ b/pages/common/gnmic-get.md @@ -0,0 +1,20 @@ +# gnmic get + +> Get a snapshot of a gnmi network device operation data. +> More information: . + +- Get a snapshot of the device state at a specific path: + +`gnmic {{[-a|--address]}} {{ip:port}} get --path {{path}}` + +- Query the device state at multiple paths: + +`gnmic {{[-a|--address]}} {{ip:port}} get --path {{path/to/file_or_directory1}} --path {{path/to/file_or_directory2}}` + +- Query the device state at multiple paths with a common prefix: + +`gnmic {{[-a|--address]}} {{ip:port}} get --prefix {{prefix}} --path {{path/to/file_or_directory1}} --path {{path/to/file_or_directory2}}` + +- Query the device state and specify response encoding (json_ietf): + +`gnmic {{[-a|--address]}} {{ip:port}} get --path {{path}} {{[-e|--encoding]}} json_ietf` diff --git a/pages/common/gnmic-set.md b/pages/common/gnmic-set.md new file mode 100644 index 00000000000000..7ee1cbe8480c93 --- /dev/null +++ b/pages/common/gnmic-set.md @@ -0,0 +1,20 @@ +# gnmic set + +> Modify gnmi network device configuration. +> More information: . + +- Update the value of a path: + +`gnmic {{[-a|--address]}} {{ip:port}} set --update-path {{path/to/directory}} --update-value {{value}}` + +- Update the value of a path to match the contents of a JSON file: + +`gnmic {{[-a|--address]}} {{ip:port}} set --update-path {{path/to/directory}} --update-file {{path/to/file}}` + +- Replace the value of a path to match the contents of a JSON file: + +`gnmic {{[-a|--address]}} {{ip:port}} set --replace-path {{path/to/directory}} --replace-file {{path/to/file}}` + +- Delete the node at a given path: + +`gnmic {{[-a|--address]}} {{ip:port}} set --delete {{path/to/directory}}` diff --git a/pages/common/gnmic-sub.md b/pages/common/gnmic-sub.md new file mode 100644 index 00000000000000..a9bf9001967592 --- /dev/null +++ b/pages/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> This command is an alias of `gnmic subscribe`. + +- View documentation for the original command: + +`tldr gnmic subscribe` diff --git a/pages/common/gnmic-subscribe.md b/pages/common/gnmic-subscribe.md new file mode 100644 index 00000000000000..6b7374d2630e16 --- /dev/null +++ b/pages/common/gnmic-subscribe.md @@ -0,0 +1,24 @@ +# gnmic subscribe + +> Subscribe to a gnmic network device state updates. +> More information: . + +- Subscribe to target state updates under the subtree of a specific path: + +`gnmic {{[-a|--address]}} {{ip:port}} subscribe --path {{path}}` + +- Subscribe to a target with a sample interval of 30s (default is 10s): + +`gnmic {{[-a|--address]}} {{ip:port}} subscribe --path {{path}} --sample-interval 30s` + +- Subscribe to a target with sample interval and updates only on change: + +`gnmic {{[-a|--address]}} {{ip:port}} subscribe --path {{path}} --stream-mode on-change --heartbeat-interval {{1m}}` + +- Subscribe to a target for only one update: + +`gnmic {{[-a|--address]}} {{ip:port}} subscribe --path {{path}} --mode once` + +- Subscribe to a target and specify response encoding (json_ietf): + +`gnmic {{[-a|--address]}} {{ip:port}} subscribe --path {{path}} {{[-e|--encoding]}} json_ietf` diff --git a/pages/common/gnmic.md b/pages/common/gnmic.md new file mode 100644 index 00000000000000..b7bb8512c33099 --- /dev/null +++ b/pages/common/gnmic.md @@ -0,0 +1,25 @@ +# gnmic + +> A gNMI client. +> Manage gNMI network device configuration and view operational data. +> More information: . + +- Request device capabilities: + +`gnmic {{[-a|--address]}} {{ip:port}} capabilities` + +- Provide a username and password to fetch device capabilities: + +`gnmic {{[-a|--address]}} {{ip:port}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} capabilities` + +- Get a snapshot of the device state at a specific path: + +`gnmic {{[-a|--address]}} {{ip:port}} get --path {{path}}` + +- Update device state at a specific path: + +`gnmic {{[-a|--address]}} {{ip:port}} set --update-path {{path}} --update-value {{value}}` + +- Subscribe to target state updates under the subtree at a specific path: + +`gnmic {{[-a|--address]}} {{ip:port}} subscribe --path {{path}}` diff --git a/pages/common/gnomon.md b/pages/common/gnomon.md index 54d96d77119fa2..7d35a4a8b55e09 100644 --- a/pages/common/gnomon.md +++ b/pages/common/gnomon.md @@ -3,7 +3,7 @@ > Utility to annotate console logging statements with timestamps and find slow processes. > More information: . -- Use UNIX (or DOS) pipes to pipe the `stdout` of any command through gnomon: +- Use UNIX (or DOS) pipes to pipe `stdout` of any command through gnomon: `{{npm test}} | gnomon` @@ -15,10 +15,10 @@ `{{npm test}} | gnomon --type=absolute` -- Set a high threshold of 0.5 seconds for the elapsed time; exceeding which the timestamp will be colored bright red: +- Use a high threshold of 0.5 seconds, exceeding which the timestamp will be colored bright red: -`{{npm test}} | gnomon --high {{0.5}}` +`{{npm test}} | gnomon --high 0.5` -- Set a medium threshold of 0.2 seconds (Timestamp will be colored bright yellow): +- Use a medium threshold of 0.2 seconds, exceeding which the timestamp will be colored bright yellow: `{{npm test}} | gnomon --medium {{0.2}}` diff --git a/pages/common/gnucash-cli.md b/pages/common/gnucash-cli.md new file mode 100644 index 00000000000000..8fba8481dcea08 --- /dev/null +++ b/pages/common/gnucash-cli.md @@ -0,0 +1,12 @@ +# gnucash-cli + +> A command-line version of GnuCash. +> More information: . + +- Get quotes for currencies and stocks specified in a file and print them: + +`gnucash-cli {{[-Q|--quotes]}} get {{path/to/file.gnucash}}` + +- Generate a financial report of a specific type, specified by `--name`: + +`gnucash-cli --report run --name "{{Balance Sheet}}" {{path/to/file.gnucash}}` diff --git a/pages/common/gnucash.md b/pages/common/gnucash.md new file mode 100644 index 00000000000000..98995d89116a20 --- /dev/null +++ b/pages/common/gnucash.md @@ -0,0 +1,16 @@ +# gnucash + +> Personal and small-business financial-accounting software. +> More information: . + +- Launch GnuCash and load the previously opened file: + +`gnucash` + +- Launch GnuCash and load the specified file: + +`gnucash {{path/to/file.gnucash}}` + +- Launch GnuCash and load an empty file: + +`gnucash --nofile` diff --git a/pages/common/gnuplot.md b/pages/common/gnuplot.md index 0f21ad88b31771..40a7a5c5a5303b 100644 --- a/pages/common/gnuplot.md +++ b/pages/common/gnuplot.md @@ -1,7 +1,7 @@ # gnuplot > A graph plotter that outputs in several formats. -> More information: . +> More information: . - Start the interactive graph plotting shell: @@ -13,8 +13,8 @@ - Set the output format by executing a command before loading the definition file: -`gnuplot -e "{{set output "path/to/filename.png" size 1024,768}}" {{path/to/definition.plt}}` +`gnuplot -e "{{set output "path/to/file.png" size 1024,768}}" {{path/to/definition.plt}}` - Persist the graph plot preview window after gnuplot exits: -`gnuplot --persist {{path/to/definition.plt}}` +`gnuplot {{[-p|--persist]}} {{path/to/definition.plt}}` diff --git a/pages/common/go-bug.md b/pages/common/go-bug.md index 768259bce8bcb7..8d189d0fccfcec 100644 --- a/pages/common/go-bug.md +++ b/pages/common/go-bug.md @@ -1,7 +1,7 @@ # go bug > Report a bug. -> More information: . +> More information: . - Open a web page to start a bug report: diff --git a/pages/common/go-build.md b/pages/common/go-build.md index c0e8c6d78f5f95..334109eda8579f 100644 --- a/pages/common/go-build.md +++ b/pages/common/go-build.md @@ -1,9 +1,9 @@ # go build > Compile Go sources. -> More information: . +> More information: . -- Compile a file: +- Compile a 'package main' file (output will be the filename without extension): `go build {{path/to/main.go}}` @@ -15,6 +15,6 @@ `go build -o {{path/to/binary}} {{path/to/package}}` -- Compile a main package into an executable, with data race detection: +- Compile a main package into an executable, enabling data race detection: `go build -race -o {{path/to/executable}} {{path/to/main/package}}` diff --git a/pages/common/go-clean.md b/pages/common/go-clean.md index 803c8211520bca..eab56de4700680 100644 --- a/pages/common/go-clean.md +++ b/pages/common/go-clean.md @@ -1,7 +1,7 @@ # go clean > Remove object files and cached files. -> More information: . +> More information: . - Print the remove commands instead of actually removing anything: diff --git a/pages/common/go-doc.md b/pages/common/go-doc.md index d21a8458738b27..1a0d9dea5fec06 100644 --- a/pages/common/go-doc.md +++ b/pages/common/go-doc.md @@ -1,9 +1,9 @@ # go doc -> Show documentation for a package or symbol. -> More information: . +> View documentation for a package or symbol. +> More information: . -- Show documentation for the current package: +- View documentation for the current package: `go doc` diff --git a/pages/common/go-env.md b/pages/common/go-env.md index 2820bdd4e35313..41e1471df85607 100644 --- a/pages/common/go-env.md +++ b/pages/common/go-env.md @@ -1,7 +1,7 @@ # go env > Manage environment variables used by the Go toolchain. -> More information: . +> More information: . - Show all environment variables: diff --git a/pages/common/go-fix.md b/pages/common/go-fix.md index fcef7e85721997..c712c813c4f676 100644 --- a/pages/common/go-fix.md +++ b/pages/common/go-fix.md @@ -1,7 +1,7 @@ # go fix > Update packages to use new APIs. -> More information: . +> More information: . - Update packages to use new APIs: diff --git a/pages/common/go-fmt.md b/pages/common/go-fmt.md new file mode 100644 index 00000000000000..b78ec7328e09f8 --- /dev/null +++ b/pages/common/go-fmt.md @@ -0,0 +1,24 @@ +# go fmt + +> Format Go source files, printing the changed filenames. +> More information: . + +- Format Go source files in the current directory: + +`go fmt` + +- Format a specific Go package in your import path (`$GOPATH/src`): + +`go fmt {{path/to/package}}` + +- Format the package in the current directory and all subdirectories (note the `...`): + +`go fmt {{./...}}` + +- Print what format commands would've been run, without modifying anything: + +`go fmt -n` + +- Print which format commands are run as they are run: + +`go fmt -x` diff --git a/pages/common/go-generate.md b/pages/common/go-generate.md index 8a1f3b746d59fb..a902a2a6a63e63 100644 --- a/pages/common/go-generate.md +++ b/pages/common/go-generate.md @@ -1,7 +1,7 @@ # go generate > Generate Go files by running commands within source files. -> More information: . +> More information: . - Generate Go files by running commands within source files: diff --git a/pages/common/go-get.md b/pages/common/go-get.md new file mode 100644 index 00000000000000..1ce19fbcae72d5 --- /dev/null +++ b/pages/common/go-get.md @@ -0,0 +1,16 @@ +# go get + +> Add a dependency package, or download packages in legacy GOPATH mode. +> More information: . + +- Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode: + +`go get {{example.com/pkg}}` + +- Modify the package with a given version in module-aware mode: + +`go get {{example.com/pkg}}@{{v1.2.3}}` + +- Remove a specified package: + +`go get {{example.com/pkg}}@{{none}}` diff --git a/pages/common/go-install.md b/pages/common/go-install.md new file mode 100644 index 00000000000000..981a1f41080d9f --- /dev/null +++ b/pages/common/go-install.md @@ -0,0 +1,20 @@ +# go install + +> Compile and install packages named by the import paths. +> More information: . + +- Compile and install the current package: + +`go install` + +- Compile and install a specific local package: + +`go install {{path/to/package}}` + +- Install the latest version of a program, ignoring `go.mod` in the current directory: + +`go install {{golang.org/x/tools/gopls}}@{{latest}}` + +- Install a program at the version selected by `go.mod` in the current directory: + +`go install {{golang.org/x/tools/gopls}}` diff --git a/pages/common/go-list.md b/pages/common/go-list.md index 5441ccf8caacd6..313fea2cdecaf0 100644 --- a/pages/common/go-list.md +++ b/pages/common/go-list.md @@ -1,7 +1,7 @@ # go list > List packages or modules. -> More information: . +> More information: . - List packages: @@ -11,7 +11,7 @@ `go list std` -- List packages in json format: +- List packages in JSON format: `go list -json time net/http` diff --git a/pages/common/go-mod.md b/pages/common/go-mod.md index 0d180486401e03..2ae8e9c2ac0533 100644 --- a/pages/common/go-mod.md +++ b/pages/common/go-mod.md @@ -1,7 +1,7 @@ # go mod > Module maintenance. -> More information: . +> More information: . - Initialize new module in current directory: diff --git a/pages/common/go-run.md b/pages/common/go-run.md new file mode 100644 index 00000000000000..50db0ffee27ed5 --- /dev/null +++ b/pages/common/go-run.md @@ -0,0 +1,12 @@ +# go run + +> Compile and run Go code without saving a binary. +> More information: . + +- Run a Go file: + +`go run {{path/to/file.go}}` + +- Run a main Go package: + +`go run {{path/to/package}}` diff --git a/pages/common/go-test.md b/pages/common/go-test.md new file mode 100644 index 00000000000000..f3399aa4b57210 --- /dev/null +++ b/pages/common/go-test.md @@ -0,0 +1,28 @@ +# go test + +> Tests Go packages (files have to end with `_test.go`). +> More information: . + +- Test the package found in the current directory: + +`go test` + +- [v]erbosely test the package in the current directory: + +`go test -v` + +- Test the packages in the current directory and all subdirectories (note the `...`): + +`go test -v ./...` + +- Test the package in the current directory and run all benchmarks: + +`go test -v -bench .` + +- Test the package in the current directory and run all benchmarks for 50 seconds: + +`go test -v -bench . -benchtime {{50s}}` + +- Test the package with coverage analysis: + +`go test -cover` diff --git a/pages/common/go-tool.md b/pages/common/go-tool.md new file mode 100644 index 00000000000000..c23795ade27213 --- /dev/null +++ b/pages/common/go-tool.md @@ -0,0 +1,25 @@ +# go tool + +> Run a Go tool or command. +> Execute a Go command as a stand-alone binary, typically for debugging. +> More information: . + +- List available tools: + +`go tool` + +- Run the go link tool: + +`go tool link {{path/to/main.o}}` + +- Print the command that would be executed, but do not execute it (similar to `whereis`): + +`go tool -n {{command}} {{arguments}}` + +- View documentation for a specified tool: + +`go tool {{command}} --help` + +- List all available cross-compilation targets: + +`go tool dist list` diff --git a/pages/common/go-version.md b/pages/common/go-version.md index 1ed64f493ac98a..1fe9ccfd63081d 100644 --- a/pages/common/go-version.md +++ b/pages/common/go-version.md @@ -1,12 +1,12 @@ # go version -> Print Go version. -> More information: . +> Display Go version. +> More information: . -- Print Go version: +- Display version: `go version` -- Print the Go version used to build the named executable file: +- Display the Go version used to build a specific executable file: `go version {{path/to/executable}}` diff --git a/pages/common/go-vet.md b/pages/common/go-vet.md new file mode 100644 index 00000000000000..a5cd5d616625df --- /dev/null +++ b/pages/common/go-vet.md @@ -0,0 +1,29 @@ +# go vet + +> Check Go source code and report suspicious constructs (e.g. lint your Go source files). +> Go vet returns a non-zero exit code if problems are found; returns a zero exit code if no problems are found. +> More information: . + +- Check the Go package in the current directory: + +`go vet` + +- Check the Go package in the specified path: + +`go vet {{path/to/file_or_directory}}` + +- List available checks that can be run with go vet: + +`go tool vet help` + +- View details and flags for a particular check: + +`go tool vet help {{check_name}}` + +- Display offending lines plus `n` lines of surrounding context: + +`go vet -c={{n}}` + +- Output analysis and errors in JSON format: + +`go vet -json` diff --git a/pages/common/go.md b/pages/common/go.md index 95afd305b9995a..200124e464bcb9 100644 --- a/pages/common/go.md +++ b/pages/common/go.md @@ -1,7 +1,8 @@ # go -> Tool for managing go source code. -> More information: . +> Manage Go source code. +> Some subcommands such as `build` have their own usage documentation. +> More information: . - Download and install a package, specified by its import path: diff --git a/pages/common/gobuster.md b/pages/common/gobuster.md new file mode 100644 index 00000000000000..70f91ad901881e --- /dev/null +++ b/pages/common/gobuster.md @@ -0,0 +1,28 @@ +# gobuster + +> Brute-forces hidden paths on web servers and more. +> More information: . + +- Discover directories and files that match in the wordlist: + +`gobuster dir {{[-u|--url]}} {{https://example.com/}} {{[-w|--wordlist]}} {{path/to/file}}` + +- Discover subdomains: + +`gobuster dns {{[-d|--domain]}} {{example.com}} {{[-w|--wordlist]}} {{path/to/file}}` + +- Discover Amazon S3 buckets: + +`gobuster s3 {{[-w|--wordlist]}} {{path/to/file}}` + +- Discover other virtual hosts on the server: + +`gobuster vhost {{[-u|--url]}} {{https://example.com/}} {{[-w|--wordlist]}} {{path/to/file}}` + +- Fuzz the value of a parameter: + +`gobuster fuzz {{[-u|--url]}} {{https://example.com/?parameter=FUZZ}} {{[-w|--wordlist]}} {{path/to/file}}` + +- Fuzz the name of a parameter: + +`gobuster fuzz {{[-u|--url]}} {{https://example.com/?FUZZ=value}} {{[-w|--wordlist]}} {{path/to/file}}` diff --git a/pages/common/gocr.md b/pages/common/gocr.md new file mode 100644 index 00000000000000..0f612d2ea820fb --- /dev/null +++ b/pages/common/gocr.md @@ -0,0 +1,17 @@ +# gocr + +> Optical Character Recognition tool. +> Recognize characters using its engine, and prompt the user for unknown patterns to store them in a database. +> More information: . + +- Recognize characters in the [i]nput image and [o]utput it in the given file. Put the database ([p]) in `path/to/db_directory` (verify that the folder exists or DB usage will silently be skipped). [m]ode 130 means create + use + extend database: + +`gocr -m 130 -p {{path/to/db_directory}} -i {{path/to/input_image.png}} -o {{path/to/output_file.txt}}` + +- Recognize characters and assume all [C]haracters are numbers: + +`gocr -m 130 -p {{path/to/db_directory}} -i {{path/to/input_image.png}} -o {{path/to/output_file.txt}} -C "{{0..9}}"` + +- Recognize characters with a cert[a]inty of 100% (characters have a higher chance to be treated as unknown): + +`gocr -m 130 -p {{path/to/db_directory}} -i {{path/to/input_image.png}} -o {{path/to/output_file.txt}} -a 100` diff --git a/pages/common/gocryptfs.md b/pages/common/gocryptfs.md index 6d3a81c1a17798..54bd9e0ba7bf5a 100644 --- a/pages/common/gocryptfs.md +++ b/pages/common/gocryptfs.md @@ -1,24 +1,24 @@ # gocryptfs > Encrypted overlay filesystem written in Go. -> More information: . +> More information: . - Initialize an encrypted filesystem: -`gocryptfs -init {{path/to/cipher_dir}}` +`gocryptfs -init {{path/to/cipher_directory}}` - Mount an encrypted filesystem: -`gocryptfs {{path/to/cipher_dir}} {{path/to/mount_point}}` +`gocryptfs {{path/to/cipher_directory}} {{path/to/mount_point}}` - Mount with the explicit master key instead of password: -`gocryptfs --masterkey {{path/to/cipher_dir}} {{path/to/mount_point}}` +`gocryptfs --masterkey {{path/to/cipher_directory}} {{path/to/mount_point}}` - Change the password: -`gocryptfs --passwd {{path/to/cipher_dir}}` +`gocryptfs --passwd {{path/to/cipher_directory}}` - Make an encrypted snapshot of a plain directory: -`gocryptfs --reverse {{path/to/plain_dir}} {{path/to/cipher_dir}}` +`gocryptfs --reverse {{path/to/plain_directory}} {{path/to/cipher_directory}}` diff --git a/pages/common/godoc.md b/pages/common/godoc.md index 61361365f5cc34..195d9eb341051c 100644 --- a/pages/common/godoc.md +++ b/pages/common/godoc.md @@ -1,9 +1,9 @@ # godoc -> Show documentation for go packages. -> More information: . +> View documentation for go packages. +> More information: . -- Display help for package "fmt": +- Display help for a specific package: `godoc {{fmt}}` @@ -11,7 +11,7 @@ `godoc {{fmt}} {{Printf}}` -- Serve documentation as a web server on port "6060": +- Serve documentation as a web server on port 6060: `godoc -http=:{{6060}}` diff --git a/pages/common/godot.md b/pages/common/godot.md index 85d918cb80c005..c7896f3915a1ca 100644 --- a/pages/common/godot.md +++ b/pages/common/godot.md @@ -1,7 +1,7 @@ # godot > An open source 2D and 3D game engine. -> More information: . +> More information: . - Run a project if the current directory contains a `project.godot` file, otherwise open the project manager: @@ -9,16 +9,16 @@ - Edit a project (the current directory must contain a `project.godot` file): -`godot -e` +`godot {{[-e|--editor]}}` - Open the project manager even if the current directory contains a `project.godot` file: -`godot -p` +`godot {{[-p|--project-manager]}}` -- Export a project for a given export preset (the preset must be defined in the project): +- Export a project for release using a given export preset (the preset must be defined in the project): -`godot --export {{preset}} {{output_path}}` +`godot --export-release {{preset}} {{output_path}}` - Execute a standalone GDScript file (the script must inherit from `SceneTree` or `MainLoop`): -`godot -s {{script.gd}}` +`godot {{[-s|--script]}} {{script.gd}}` diff --git a/pages/common/goenv.md b/pages/common/goenv.md new file mode 100644 index 00000000000000..190eb6576b919b --- /dev/null +++ b/pages/common/goenv.md @@ -0,0 +1,33 @@ +# goenv + +> Install, uninstall or switch between Golang versions. +> Supports version numbers like "1.16.15" or "1.22.8" etc. +> More information: . + +- List all available goenv commands: + +`goenv commands` + +- Install a specific version of Golang: + +`goenv install {{go_version}}` + +- Use a specific version of Golang in the current project: + +`goenv local {{go_version}}` + +- Set the default Golang version: + +`goenv global {{go_version}}` + +- List all available Golang versions and highlight the default one: + +`goenv versions` + +- Uninstall a given Go version: + +`goenv uninstall {{go_version}}` + +- Run an executable with the selected Go version: + +`goenv exec go run {{go_version}}` diff --git a/pages/common/gofmt.md b/pages/common/gofmt.md index 05d3bc86a78a60..a33685e4797651 100644 --- a/pages/common/gofmt.md +++ b/pages/common/gofmt.md @@ -1,7 +1,7 @@ # gofmt -> Tool for formatting Go source code. -> More information: . +> Format Go source code. +> More information: . - Format a file and display the result to the console: diff --git a/pages/common/goimports.md b/pages/common/goimports.md index 966d5b0783a1d6..ce3bbe894500be 100644 --- a/pages/common/goimports.md +++ b/pages/common/goimports.md @@ -1,20 +1,20 @@ # goimports > Updates Go import lines, adding missing ones and removing unreferenced ones. -> More information: . +> More information: . - Display the completed import source file: -`goimports {{file}}.go` +`goimports {{path/to/file.go}}` -- Write the result back to the source file instead of the standard output: +- Write the result back to the source file instead of `stdout`: -`goimports -w {{file}}.go` +`goimports -w {{path/to/file.go}}` - Display diffs and write the result back to the source file: -`goimports -w -d {{file}}.go` +`goimports -w -d {{path/to/file.go}}` - Set the import prefix string after 3rd-party packages (comma-separated list): -`goimports -local {{path/to/package}} {{file}}.go` +`goimports -local {{path/to/package1,path/to/package2,...}} {{path/to/file.go}}` diff --git a/pages/common/golangci-lint.md b/pages/common/golangci-lint.md new file mode 100644 index 00000000000000..a93bec65b9206d --- /dev/null +++ b/pages/common/golangci-lint.md @@ -0,0 +1,16 @@ +# golangci-lint + +> Parallelized, smart and fast Go linters runner that integrates with all major IDEs and supports YAML configuration. +> More information: . + +- Run linters in the current folder: + +`golangci-lint run` + +- List enabled and disabled linters (Note: Disabled linters are shown last, do not mistake them for enabled ones): + +`golangci-lint linters` + +- Enable a specific linter for this run: + +`golangci-lint run {{[-E|--enable]}} {{linter}}` diff --git a/pages/common/gomi.md b/pages/common/gomi.md new file mode 100644 index 00000000000000..3f4efa7936ed1c --- /dev/null +++ b/pages/common/gomi.md @@ -0,0 +1,21 @@ +# gomi + +> Manage the trashcan. +> See also: `trash`, `rm`. +> More information: . + +- Safely delete specific files or folders: + +`gomi {{path/to/file1 path/to/file2 path/to/folder1 path/to/folder2 ...}}` + +- Open an interactive menu to restore one or more files: + +`gomi {{[-b|--restore]}}` + +- Remove files that have been in the trashcan longer than the specified time ([d]ay, [w]eek, [m]onth, [y]ear): + +`gomi --prune {{1d|1w|1m|1y|...}}` + +- Remove orphaned `.trashinfo` files: + +`gomi --prune {{orphans}}` diff --git a/pages/common/google-chrome.md b/pages/common/google-chrome.md new file mode 100644 index 00000000000000..bf45ec7b8afa3f --- /dev/null +++ b/pages/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> This command is an alias of `chromium`. +> More information: . + +- View documentation for the original command: + +`tldr chromium` diff --git a/pages/common/googler.md b/pages/common/googler.md index edb408e0b0f075..5eef5ca2a1b106 100644 --- a/pages/common/googler.md +++ b/pages/common/googler.md @@ -1,6 +1,6 @@ # googler -> Search Google from command line. +> Search Google from the command-line. > More information: . - Search Google for a keyword: @@ -9,19 +9,19 @@ - Search Google and open the first result in web browser: -`googler -j {{keyword}}` +`googler {{[-j|--first]}} {{keyword}}` -- Show N search results (default 10): +- Show `n` search results (default: 10): -`googler -n {{N}} {{keyword}}` +`googler {{[-n|--count]}} {{n}} {{keyword}}` - Disable automatic spelling correction: -`googler -x {{keyword}}` +`googler {{[-x|--exact]}} {{keyword}}` - Search one site for a keyword: -`googler -w {{site}} {{keyword}}` +`googler {{[-w|--site]}} {{site}} {{keyword}}` - Show Google search result in JSON format: @@ -29,8 +29,8 @@ - Perform in-place self-upgrade: -`googler -u` +`googler {{[-u|--upgrade]}}` -- For more help in interactive mode: +- Display help in interactive mode: -`?` +`` diff --git a/pages/common/gopass.md b/pages/common/gopass.md index f5db18968baa65..0f2e63f34a1f24 100644 --- a/pages/common/gopass.md +++ b/pages/common/gopass.md @@ -3,7 +3,7 @@ > Standard Unix Password Manager for Teams. Written in Go. > More information: . -- Initialise the configuration settings: +- Initialize the configuration settings: `gopass init` diff --git a/pages/common/gops.md b/pages/common/gops.md index d6f4c26408e97b..60cf1b4c0f3219 100644 --- a/pages/common/gops.md +++ b/pages/common/gops.md @@ -1,6 +1,6 @@ # gops -> CLI tool which lists and diagnoses Go processes currently running on your system. +> List and diagnose Go processes currently running on your system. > More information: . - Print all go processes running locally: diff --git a/pages/common/goreload.md b/pages/common/goreload.md index 5452844cc7bb80..ff5e4536039ff9 100644 --- a/pages/common/goreload.md +++ b/pages/common/goreload.md @@ -3,13 +3,13 @@ > Live reload utility for Go programs. > More information: . -- Set the name of the binary file to watch (defaults to ".goreload"): +- Watch a binary file (defaults to `.goreload`): -`goreload -b {{path/to/binary}} {{file}}.go` +`goreload {{[-b|--bin]}} {{path/to/binary}} {{path/to/file.go}}` -- Set a custom log prefix (defaults to "goreload"): +- Set a custom log prefix (defaults to `goreload`): -`goreload --logPrefix {{prefix}} {{file}}.go` +`goreload --logPrefix {{prefix}} {{path/to/file.go}}` - Reload whenever any file changes: diff --git a/pages/common/gotelemetry.md b/pages/common/gotelemetry.md new file mode 100644 index 00000000000000..e92e7a35a1d947 --- /dev/null +++ b/pages/common/gotelemetry.md @@ -0,0 +1,24 @@ +# gotelemetry + +> Manage Go telemetry data and settings. +> More information: . + +- Enable telemetry uploading: + +`gotelemetry on` + +- Disable telemetry uploading: + +`gotelemetry off` + +- Run a Web Viewer for local telemetry data: + +`gotelemetry view` + +- Print the current telemetry environment: + +`gotelemetry env` + +- Display help for a specific subcommand: + +`gotelemetry help {{subcommand}}` diff --git a/pages/common/gotty.md b/pages/common/gotty.md index 9c686865adecf0..92a93cff8eb215 100644 --- a/pages/common/gotty.md +++ b/pages/common/gotty.md @@ -9,8 +9,8 @@ - Share with write permission: -`gotty -w {{shell}}` +`gotty {{[-w|--permit-write]}} {{shell}}` - Share with credential (Basic Auth): -`gotty -w -c {{username}}:{{password}} {{shell}}` +`gotty {{[-w|--permit-write]}} {{[-c|--credential]}} {{username}}:{{password}} {{shell}}` diff --git a/pages/common/gouldtoppm.md b/pages/common/gouldtoppm.md new file mode 100644 index 00000000000000..fbb0cbc4bced2d --- /dev/null +++ b/pages/common/gouldtoppm.md @@ -0,0 +1,8 @@ +# gouldtoppm + +> Convert a Gould scanner file to a PPM image. +> More information: . + +- Convert a Gould scanner file to a PPM image: + +`gouldtoppm {{path/to/file.gould}} > {{path/to/output.ppm}}` diff --git a/pages/common/gource.md b/pages/common/gource.md index 763c0861a5d749..cd8f09bdf2f46e 100644 --- a/pages/common/gource.md +++ b/pages/common/gource.md @@ -12,18 +12,26 @@ `gource -{{width}}x{{height}}` -- Set a custom time scale for the animation: +- Specify how long each day should be in the animation (this combines with -c, if provided): -`gource -c {{time_scale_multiplier}}` +`gource {{[-s|--seconds-per-day]}} {{seconds}}` -- Set how long each day should be in the animation (this combines with -c, if provided): +- Use fullscreen mode and a custom background color: -`gource -s {{seconds}}` +`gource {{[-f|--fullscreen ]}} {{[-b|--background-colour]}} {{hex_color_code}}` -- Set fullscreen mode and a custom background color: +- Specify the animation title: -`gource -f -b {{hex_color_code}}` +`gource --title {{title}}` -- Set a title for the animation: +- Pause the animation: -`gource --title {{title}}` +`` + +- Adjust simulation speed: + +`<{{+|-}}>` + +- Display help: + +`gource {{[-h|--help]}}` diff --git a/pages/common/gow.md b/pages/common/gow.md new file mode 100644 index 00000000000000..6c53a140bda211 --- /dev/null +++ b/pages/common/gow.md @@ -0,0 +1,24 @@ +# gow + +> Watches Go files and restarts the app on changes. +> More information: . + +- Start and watch the current directory: + +`gow run .` + +- Start the application with the specified arguments: + +`gow run . {{argument1 argument2 ...}}` + +- Watch subdirectories in verbose mode: + +`gow -v -w={{path/to/directory1,path/to/directory2,...}} run .` + +- Watch the specified file extensions: + +`gow -e={{go,html}} run .` + +- Display help: + +`gow -h` diff --git a/pages/common/gox.md b/pages/common/gox.md index a003a79daedc76..4027256b065c32 100644 --- a/pages/common/gox.md +++ b/pages/common/gox.md @@ -1,6 +1,6 @@ # gox -> A tool for cross-compiling Go programs. +> Cross-compile Go programs. > More information: . - Compile Go program in the current directory for all operating systems and architecture combinations: diff --git a/pages/common/gpg-card.md b/pages/common/gpg-card.md new file mode 100644 index 00000000000000..76a33349549ab6 --- /dev/null +++ b/pages/common/gpg-card.md @@ -0,0 +1,37 @@ +# gpg-card + +> Administrate OpenPGP and PIV smart cards. +> Similar to `gpg --card-edit`. +> More information: . + +- Start in interactive mode: + +`gpg-card` + +- Invoke one or more commands non-interactively: + +`gpg-card {{command1}} -- {{command2}} -- {{command3}}` + +- Show information about a smart card: + +`gpg-card list` + +- Retrieve the public key using the URL stored on an OpenPGP card: + +`gpg-card fetch` + +- Set the URL used by the `fetch` command: + +`gpg-card url` + +- Change or unblock PINs (uses the default action for the card in non-interactive mode): + +`gpg-card passwd` + +- Toggle the forcesig flag of an OpenPGP card (i.e. require entering the user PIN for signing): + +`gpg-card forcesig` + +- Factory reset a smart card (i.e. delete all data and reset PINs): + +`gpg-card factory-reset` diff --git a/pages/common/gpg-tui.md b/pages/common/gpg-tui.md new file mode 100644 index 00000000000000..d5a0538f980c21 --- /dev/null +++ b/pages/common/gpg-tui.md @@ -0,0 +1,36 @@ +# gpg-tui + +> Terminal user interface for GNU Privacy Guard. +> More information: . + +- Start `gpg-tui`: + +`gpg-tui` + +- Start `gpg-tui` with color and ASCII armored output: + +`gpg-tui --style {{colored}} --armor` + +- Quit `gpg-tui`: + +`` + +- Interactively generate a new key: + +`` + +- Export the selected key: + +`` + +- Set the detail level for the selected key: + +`<1>|<2>|<3>` + +- Refresh `gpg-tui`: + +`` + +- Display help in `gpg-tui`: + +`` diff --git a/pages/common/gpg-zip.md b/pages/common/gpg-zip.md index 4a024bc02c0a2e..c55d9321a55f5e 100644 --- a/pages/common/gpg-zip.md +++ b/pages/common/gpg-zip.md @@ -1,15 +1,16 @@ # gpg-zip > Encrypt files and directories in an archive using GPG. +> More information: . -- Encrypt a directory into archive.gpg using a passphrase: +- Encrypt a directory into `archive.gpg` using a passphrase: -`gpg-zip --symmetric --output {{archive.gpg}} {{path/to/directory}}` +`gpg-zip {{[-c|--symmetric]}} {{[-o|--output]}} {{archive.gpg}} {{path/to/directory}}` -- Decrypt archive.gpg into a directory of the same name: +- Decrypt `archive.gpg` into a directory of the same name: -`gpg-zip --decrypt {{path/to/archive.gpg}}` +`gpg-zip {{[-d|--decrypt]}} {{path/to/archive.gpg}}` -- List the contents of the encrypted archive.gpg: +- List the contents of the encrypted `archive.gpg`: `gpg-zip --list-archive {{path/to/archive.gpg}}` diff --git a/pages/common/gpg.md b/pages/common/gpg.md index 0d857ad491bc6c..5c890aef5add01 100644 --- a/pages/common/gpg.md +++ b/pages/common/gpg.md @@ -1,33 +1,36 @@ # gpg -> GNU Privacy Guard. -> See `gpg2` for GNU Privacy Guard 2. -> More information: . +> GNU Privacy Guard, an OpenPGP encryption and signing tool. +> More information: . -- Sign doc.txt without encryption (writes output to doc.txt.asc): +- Create a GPG public and private key interactively: + +`gpg {{[--full-gen-key|--full-generate-key]}}` + +- List all keys from the public keyring: + +`gpg {{[-k|--list-keys]}}` + +- Sign `doc.txt` without encryption (writes output to `doc.txt.asc`): `gpg --clearsign {{doc.txt}}` -- Encrypt doc.txt for alice@example.com (output to doc.txt.gpg): +- Encrypt and sign `doc.txt` for `alice@example.com` and `bob@example.com` (output to `doc.txt.gpg`): -`gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}}` +`gpg {{[-es|--encrypt --sign]}} {{[-r|--recipient]}} {{alice@example.com}} {{[-r|--recipient]}} {{bob@example.com}} {{doc.txt}}` -- Encrypt doc.txt with only a passphrase (output to doc.txt.gpg): +- Encrypt `doc.txt` with only a passphrase (output to `doc.txt.gpg`): -`gpg --symmetric {{doc.txt}}` +`gpg {{[-c|--symmetric]}} {{doc.txt}}` -- Decrypt doc.txt.gpg (output to `stdout`): +- Decrypt `doc.txt.gpg` (output to `stdout`): -`gpg --decrypt {{doc.txt.gpg}}` +`gpg {{[-d|--decrypt]}} {{doc.txt.gpg}}` - Import a public key: `gpg --import {{public.gpg}}` -- Export public key for alice@example.com (output to `stdout`): - -`gpg --export --armor {{alice@example.com}}` - -- Export private key for alice@example.com (output to `stdout`): +- Export the public/private key for `alice@example.com` (output to `stdout`): -`gpg --export-secret-keys --armor {{alice@example.com}}` +`gpg {{--export|--export-secret-keys}} {{[-a|--armor]}} {{alice@example.com}}` diff --git a/pages/common/gpg2.md b/pages/common/gpg2.md index 1ff99ab7d292d2..2a962af1d745ab 100644 --- a/pages/common/gpg2.md +++ b/pages/common/gpg2.md @@ -1,33 +1,7 @@ # gpg2 -> GNU Privacy Guard 2. -> See `gpg` for GNU Privacy Guard 1. -> More information: . +> This command is an alias of `gpg`. -- List imported keys: +- View documentation for the original command: -`gpg2 --list-keys` - -- Encrypt a specified file for a specified recipient, writing the output to a new file with `.gpg` appended: - -`gpg2 --encrypt --recipient {{alice@example.com}} {{path/to/doc.txt}}` - -- Encrypt a specified file with only a passphrase, writing the output to a new file with `.gpg` appended: - -`gpg2 --symmetric {{path/to/doc.txt}}` - -- Decrypt a specified file, writing the result to the standard output: - -`gpg2 --decrypt {{path/to/doc.txt.gpg}}` - -- Import a public key: - -`gpg2 --import {{path/to/public_key.gpg}}` - -- Export the public key of a specified email address to the standard output: - -`gpg2 --export --armor {{alice@example.com}}` - -- Export the private key with a specified email address to the standard output: - -`gpg2 --export-secret-keys --armor {{alice@example.com}}` +`tldr gpg` diff --git a/pages/common/gpgconf.md b/pages/common/gpgconf.md new file mode 100644 index 00000000000000..60489cc33315e7 --- /dev/null +++ b/pages/common/gpgconf.md @@ -0,0 +1,24 @@ +# gpgconf + +> Modify .gnupg home directories. +> More information: . + +- List all components: + +`gpgconf --list-components` + +- List the directories used by gpgconf: + +`gpgconf {{[-L|--list-dirs]}}` + +- List all options of a component: + +`gpgconf --list-options {{component}}` + +- List programs and test whether they are runnable: + +`gpgconf --check-programs` + +- Reload a component: + +`gpgconf --reload {{component}}` diff --git a/pages/common/gprbuild.md b/pages/common/gprbuild.md new file mode 100644 index 00000000000000..19db321f9457c1 --- /dev/null +++ b/pages/common/gprbuild.md @@ -0,0 +1,20 @@ +# gprbuild + +> A high-level build tool for projects written in Ada and other languages (C/C++/Fortran). +> More information: . + +- Build a project (assuming only one `*.gpr` file exists in the current directory): + +`gprbuild` + +- Build a specific [P]roject file: + +`gprbuild -P {{project_name}}` + +- Clean up the build workspace: + +`gprclean` + +- Install compiled binaries: + +`gprinstall --prefix {{path/to/installation_directory}}` diff --git a/pages/common/gprof.md b/pages/common/gprof.md new file mode 100644 index 00000000000000..96e82cc0c0db7a --- /dev/null +++ b/pages/common/gprof.md @@ -0,0 +1,25 @@ +# gprof + +> Performance analysis tool for many programming languages. +> It profiles the function executions of a program. +> More information: . + +- Compile binary to default `a.out` with gprof information and run it to get `gmon.out`: + +`gcc {{[-p|-pg]}} {{program.c}} && ./a.out` + +- Run gprof on default `a.out` and `gmon.out` to obtain profile output: + +`gprof` + +- Run gprof on a named binary: + +`gprof {{path/to/binary}} {{path/to/gmon.out}}` + +- Suppress profile field's description: + +`gprof {{[-b|--brief]}}` + +- Display routines that have zero usage: + +`gprof {{[-bz|--brief --display-unused-functions]}}` diff --git a/pages/common/gradle.md b/pages/common/gradle.md index c598ef3a804420..d4fa12b10b9c6c 100644 --- a/pages/common/gradle.md +++ b/pages/common/gradle.md @@ -1,6 +1,6 @@ # gradle -> Gradle is an open source build automation system. +> An open source build automation system. > More information: . - Compile a package: @@ -9,9 +9,9 @@ - Exclude test task: -`gradle build -x {{test}}` +`gradle build {{[-x|--exclude-task]}} {{test}}` -- Run in offline mode to prevent gradle from accessing the network during builds: +- Run in offline mode to prevent Gradle from accessing the network during builds: `gradle build --offline` @@ -19,6 +19,14 @@ `gradle clean` -- Compile and Release package: +- Build an Android Package (APK) in release mode: `gradle assembleRelease` + +- List the main tasks: + +`gradle tasks` + +- List all the tasks: + +`gradle tasks --all` diff --git a/pages/common/grafana-cli.md b/pages/common/grafana-cli.md new file mode 100644 index 00000000000000..633b8647ba09c5 --- /dev/null +++ b/pages/common/grafana-cli.md @@ -0,0 +1,12 @@ +# grafana-cli + +> A small executable that is bundled with Grafana serve. +> More information: . + +- Install, update, or remove specific plugins: + +`grafana-cli plugins {{install|update|remove}} {{plugin_id1 plugin_id2 ...}}` + +- List all installed plugins: + +`grafana-cli plugins ls` diff --git a/pages/common/grap.md b/pages/common/grap.md new file mode 100644 index 00000000000000..4f2a3f4dd0bab2 --- /dev/null +++ b/pages/common/grap.md @@ -0,0 +1,13 @@ +# grap + +> A charting preprocessor for the groff (GNU Troff) document formatting system. +> See also: `pic`, `groff`. +> More information: . + +- Process a `grap` file and save the output file for future processing with `pic` and `groff`: + +`grap {{path/to/input.grap}} > {{path/to/output.pic}}` + +- Typeset a `grap` file to PDF using the [me] macro package, saving the output to a file: + +`grap {{path/to/input.grap}} | pic -T {{pdf}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}` diff --git a/pages/common/graphml2gv.md b/pages/common/graphml2gv.md new file mode 100644 index 00000000000000..d0b7143cb293ec --- /dev/null +++ b/pages/common/graphml2gv.md @@ -0,0 +1,17 @@ +# graphml2gv + +> Convert a graph from `graphml` to `gv` format. +> Converters: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> More information: . + +- Convert a graph from `gml` to `gv` format: + +`graphml2gv -o {{output.gv}} {{input.gml}}` + +- Convert a graph using `stdin` and `stdout`: + +`cat {{input.gml}} | graphml2gv > {{output.gv}}` + +- Display help: + +`graphml2gv -?` diff --git a/pages/common/greater-than.md b/pages/common/greater-than.md new file mode 100644 index 00000000000000..1c0552559d0cd7 --- /dev/null +++ b/pages/common/greater-than.md @@ -0,0 +1,36 @@ +# > + +> Redirect output. +> More information: . + +- Redirect `stdout` to a file: + +`{{command}} > {{path/to/file}}` + +- Append to a file: + +`{{command}} >> {{path/to/file}}` + +- Redirect both `stdout` and `stderr` to a file: + +`{{command}} &> {{path/to/file}}` + +- Redirect `stderr` to `/dev/null` to keep the terminal output clean: + +`{{command}} 2> /dev/null` + +- Clear the file contents or create a new empty file: + +`> {{path/to/file}}` + +- Redirect `stderr` to `stdout` for piping them together: + +`{{command1}} 2>&1 | {{command2}}` + +- Open a persistent file descriptor: + +`exec {{3}}>{{path/to/file}}` + +- Write to a custom file descriptor: + +`{{echo text}} >&{{3}}` diff --git a/pages/common/grep.md b/pages/common/grep.md index 53955b70a421cc..a284f39e8a162d 100644 --- a/pages/common/grep.md +++ b/pages/common/grep.md @@ -1,36 +1,36 @@ # grep -> Matches patterns in input text. -> Supports simple patterns and regular expressions. +> Find patterns in files using `regex`es. +> More information: . - Search for a pattern within a file: -`grep {{search_pattern}} {{path/to/file}}` +`grep "{{search_pattern}}" {{path/to/file}}` -- Search for an exact string: +- Search for an exact string (disables `regex`es): -`grep -F {{exact_string}} {{path/to/file}}` +`grep {{[-F|--fixed-strings]}} "{{exact_string}}" {{path/to/file}}` -- Search for a pattern [R]ecursively in the current directory, showing matching line [n]umbers, [I]gnoring non-text files: +- Search for a pattern in all files recursively in a directory, showing line numbers of matches, ignoring binary files: -`grep -RIn {{search_pattern}} .` +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{search_pattern}}" {{path/to/directory}}` -- Use extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`), in case-insensitive mode: +- Use extended `regex`es (supports `?`, `+`, `{}`, `()`, and `|`), in case-insensitive mode: -`grep -Ei {{search_pattern}} {{path/to/file}}` +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{search_pattern}}" {{path/to/file}}` -- Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match: +- Print 3 lines of [C]ontext around, [B]efore or [A]fter each match: -`grep -{{C|B|A}} 3 {{search_pattern}} {{path/to/file}}` +`grep {{--context|--before-context|--after-context}} 3 "{{search_pattern}}" {{path/to/file}}` -- Print file name with the corresponding line number for each match: +- Print file name and line number for each match with color output: -`grep -Hn {{search_pattern}} {{path/to/file}}` +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{search_pattern}}" {{path/to/file}}` -- Use the standard input instead of a file: +- Search for lines matching a pattern, printing only the matched text: -`cat {{path/to/file}} | grep {{search_pattern}}` +`grep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` -- Invert match for excluding specific strings: +- Search `stdin` for lines that do not match a pattern: -`grep -v {{search_pattern}}` +`cat {{path/to/file}} | grep {{[-v|--invert-match]}} "{{search_pattern}}"` diff --git a/pages/common/grex.md b/pages/common/grex.md index aa0d1c0f034094..ae868a7f018f0c 100644 --- a/pages/common/grex.md +++ b/pages/common/grex.md @@ -1,28 +1,28 @@ # grex -> Simple command line tool to generate regular expressions. +> Generate `regex`s. > More information: . -- Generate a simple regular expression: +- Generate a simple `regex`: -` grex {{space_separated_strings}}` +`grex {{space_separated_strings}}` -- Generate a case-insensitive regex: +- Generate a case-insensitive `regex`: -`grex -i {{space_separated_strings}}` +`grex {{[-i|--ignore-case]}} {{space_separated_strings}}` - Replace digits with '\d': -`grex -d {{space_separated_strings}}` +`grex {{[-d|--digits]}} {{space_separated_strings}}` -- Replace unicode word character with '\w': +- Replace Unicode word character with '\w': -`grex -w {{space_separated_strings}}` +`grex {{[-w|--words]}} {{space_separated_strings}}` - Replace spaces with '\s': -`grex -s {{space_separated_strings}}` +`grex {{[-s|--spaces]}} {{space_separated_strings}}` - Add {min, max} quantifier representation for repeating sub-strings: -`grex -r {{space_separated_strings}}` +`grex {{[-r|--repetitions]}} {{space_separated_strings}}` diff --git a/pages/common/grip.md b/pages/common/grip.md new file mode 100644 index 00000000000000..f046e2197fe23e --- /dev/null +++ b/pages/common/grip.md @@ -0,0 +1,20 @@ +# grip + +> Preview GitHub-flavoured Markdown files locally. +> More information: . + +- Start the server and serve the rendered `README` file of a current directory: + +`grip` + +- Start the server and serve a specific Markdown file: + +`grip {{path/to/file.md}}` + +- Start the server and open the `README` file of the current directory in the browser: + +`grip {{[-b|--browser]}}` + +- Start the server in the specified port and serve the rendered `README` file of the current directory: + +`grip {{port}}` diff --git a/pages/common/groff.md b/pages/common/groff.md index 62857301a949ef..70e89047941596 100644 --- a/pages/common/groff.md +++ b/pages/common/groff.md @@ -1,25 +1,24 @@ # groff -> Typesetting program that reads plain text mixed with formatting commands and produces formatted output. -> It is the GNU replacement for the `troff` and `nroff` Unix commands for text formatting. -> More information: . +> GNU replacement for the `troff` and `nroff` typesetting utilities. +> More information: . -- Render a man page as plain text, and display the result: +- Format output for a PostScript printer, saving the output to a file: -`groff -man -T utf8 {{manpage.1}}` +`groff {{path/to/input.roff}} > {{path/to/output.ps}}` - Render a man page using the ASCII output device, and display it using a pager: -`groff -man -T ascii {{manpage.1}} | less` +`groff -man -T ascii {{path/to/manpage.1}} | less --RAW-CONTROL-CHARS` - Render a man page into an HTML file: -`groff -man -T html {{manpage.1}} > {{page.html}}` +`groff -man -T html {{path/to/manpage.1}} > {{path/to/manpage.html}}` -- Process a roff file using the `tbl` and `pic` preprocessors, and the `me` macro set: +- Typeset a roff file containing [t]ables and [p]ictures, using the [me] macro set, to PDF, saving the output: -`groff -t -p -me -T utf8 {{foo.me}}` +`groff {{-t}} {{-p}} -{{me}} -T {{pdf}} {{path/to/input.me}} > {{path/to/output.pdf}}` - Run a `groff` command with preprocessor and macro options guessed by the `grog` utility: -`eval "$(grog -T utf8 {{foo.me}})"` +`eval "$(grog -T utf8 {{path/to/input.me}})"` diff --git a/pages/common/gron.md b/pages/common/gron.md new file mode 100644 index 00000000000000..0c045796935ddb --- /dev/null +++ b/pages/common/gron.md @@ -0,0 +1,32 @@ +# gron + +> Transform `JSON` into individual assignments for easier management. +> More information: . + +- Process `JSON` file into individual assignments: + +`gron {{path/to/file|url}}` + +- Don't sort output data: + +`gron --no-sort {{path/to/file|url}}` + +- Disable certificate validation: + +`gron {{[-k|--insecure]}} {{url}}` + +- Display values of `gron` assignments: + +`gron {{[-v|--values]}} {{path/to/file|url}}` + +- Turn assignments converted with `gron` back into `JSON`: + +`gron {{[-u|--ungron]}} {{path/to/file|url}}` + +- Process individual lines of input as separate `JSON` objects: + +`gron {{[-s|--stream]}} {{path/to/file|url}}` + +- Represent processed data as a `JSON` stream: + +`gron {{[-j|--json]}} {{path/to/file|url}}` diff --git a/pages/common/groups.md b/pages/common/groups.md index e570409872e622..47492585e55312 100644 --- a/pages/common/groups.md +++ b/pages/common/groups.md @@ -1,15 +1,13 @@ # groups > Print group memberships for a user. +> See also: `groupadd`, `groupdel`, `groupmod`. +> More information: . - Print group memberships for the current user: `groups` -- Print group memberships for a specific user: - -`groups {{username}}` - - Print group memberships for a list of users: -`groups {{username1}} {{username2}} {{username3}}` +`groups {{username1 username2 ...}}` diff --git a/pages/common/grpcurl.md b/pages/common/grpcurl.md index f9e73827c923e1..ef71a31306f802 100644 --- a/pages/common/grpcurl.md +++ b/pages/common/grpcurl.md @@ -1,6 +1,7 @@ # grpcurl -> Like cURL, but for gRPC: CLI tool for interacting with gRPC servers. +> Interact with gRPC servers. +> Like `curl`, but for gRPC. > More information: . - Send an empty request: diff --git a/pages/common/grumphp.md b/pages/common/grumphp.md index 1bf720575edd9c..cdd9d4bb341fe6 100644 --- a/pages/common/grumphp.md +++ b/pages/common/grumphp.md @@ -1,7 +1,7 @@ # grumphp > A PHP Composer plugin that enables source code quality checks. -> More information: . +> More information: . - Register the Git hooks: diff --git a/pages/common/grunt.md b/pages/common/grunt.md index 92dd1a30f0b8da..8b5567d1b82257 100644 --- a/pages/common/grunt.md +++ b/pages/common/grunt.md @@ -7,9 +7,9 @@ `grunt` -- Run one or more specific space-separated task(s): +- Run one or more tasks: -`grunt {{task_name}}` +`grunt {{task1 task2 ...}}` - Specify an alternative configuration file: @@ -27,6 +27,6 @@ `grunt --no-write` -- List all available options: +- Display help: `grunt --help` diff --git a/pages/common/gst-device-monitor-1.0.md b/pages/common/gst-device-monitor-1.0.md new file mode 100644 index 00000000000000..2796277777cbf8 --- /dev/null +++ b/pages/common/gst-device-monitor-1.0.md @@ -0,0 +1,16 @@ +# gst-device-monitor-1.0 + +> List devices detected by GStreamer. +> More information: . + +- List all current devices: + +`gst-device-monitor-1.0` + +- List all current devices and monitor for any changes: + +`gst-device-monitor-1.0 {{[-f|--follow]}}` + +- List devices of a specific type: + +`gst-device-monitor-1.0 {{Audio|Video}}/{{Source|Sink}}` diff --git a/pages/common/gst-discoverer-1.0.md b/pages/common/gst-discoverer-1.0.md new file mode 100644 index 00000000000000..910775637ff5fe --- /dev/null +++ b/pages/common/gst-discoverer-1.0.md @@ -0,0 +1,8 @@ +# gst-discoverer-1.0 + +> Display file metadata and stream information. +> More information: . + +- Print file metadata: + +`gst-discoverer-1.0 {{path/to/file}}` diff --git a/pages/common/gst-inspect-1.0.md b/pages/common/gst-inspect-1.0.md new file mode 100644 index 00000000000000..e1d657001bb8f3 --- /dev/null +++ b/pages/common/gst-inspect-1.0.md @@ -0,0 +1,36 @@ +# gst-inspect-1.0 + +> Print information on GStreamer plugins. +> More information: . + +- Print information on a plugin: + +`gst-inspect-1.0 {{plugin}}` + +- List hardware transcoding capabilities of your device: + +`gst-inspect-1.0 {{vaapi|nvcodec|...}}` + +- List available container plugins: + +`gst-inspect-1.0 {{matroska|avi|ogg|isomp4|...}}` + +- List available audio codecs: + +`gst-inspect-1.0 {{opus|vorbis|flac|...}}` + +- List GStreamer core elements: + +`gst-inspect-1.0 coreelements` + +- List plugins that utilize graphics APIs: + +`gst-inspect-1.0 {{vulkan|opengl|...}}` + +- List available image codecs: + +`gst-inspect-1.0 {{png|jpeg|...}}` + +- List all available plugins: + +`gst-inspect-1.0` diff --git a/pages/common/gst-launch-1.0.md b/pages/common/gst-launch-1.0.md new file mode 100644 index 00000000000000..24e3b9f2ad3694 --- /dev/null +++ b/pages/common/gst-launch-1.0.md @@ -0,0 +1,37 @@ +# gst-launch-1.0 + +> Build and run a GStreamer pipeline. +> See also: `gst-inspect-1.0`. +> More information: . + +- Play test video in a window: + +`gst-launch-1.0 videotestsrc ! autovideosink` + +- Play test audio: + +`gst-launch-1.0 audiotestsrc ! autoaudiosink` + +- Play a media file in a window: + +`gst-launch-1.0 playbin uri={{protocol}}://{{host}}/{{path/to/file}}` + +- Re-encode a media file: + +`gst-launch-1.0 filesrc location={{path/to/file}} ! {{file_type}}demux ! {{codec_type}}dec ! {{codec_type}}enc ! {{file_type}}mux ! filesink location={{path/to/file}}` + +- Stream a file to an RTSP server: + +`gst-launch-1.0 filesrc location={{path/to/file}} ! rtspclientsink location=rtsp://{{host_IP}}/{{path/to/file}}` + +- Force an End Of Stream event if the pipeline is shut down with `` for containers that require finalization such as `mp4`: + +`gst-launch-1.0 {{[-e|--eos-on-shutdown]}} videotestsrc ! x264enc ! mp4mux ! filesink location={{path/to/file.mp4}}` + +- Multiplex together test video and test audio into a file: + +`gst-launch-1.0 {{[-e|--eos-on-shutdown]}} videotestsrc ! x264enc ! {{element_name}}. audiotestsrc ! opusenc ! {{element_name}}. matroskamux name={{element_name}} ! filesink location={{path/to/file.mkv}}` + +- Dump a pipeline into a `.dot` file which can then be rendered with tools like `dot`: + +`GST_DEBUG_DUMP_DOT_DIR={{path/to/directory}} gst-launch-1.0 {{pipeline}}` diff --git a/pages/common/gsutil.md b/pages/common/gsutil.md new file mode 100644 index 00000000000000..043f6d09dfda82 --- /dev/null +++ b/pages/common/gsutil.md @@ -0,0 +1,33 @@ +# gsutil + +> Access Google Cloud Storage. +> You can use `gsutil` to do a wide range of bucket and object management tasks. +> More information: . + +- List all buckets in a project you are logged into: + +`gsutil ls` + +- List the objects in a bucket: + +`gsutil ls -r 'gs://{{bucket_name}}/{{prefix}}**'` + +- Download an object from a bucket: + +`gsutil cp gs://{{bucket_name}}/{{object_name}} {{path/to/save_location}}` + +- Upload an object to a bucket: + +`gsutil cp {{object_location}} gs://{{destination_bucket_name}}/` + +- Rename or move objects in a bucket: + +`gsutil mv gs://{{bucket_name}}/{{old_object_name}} gs://{{bucket_name}}/{{new_object_name}}` + +- Create a new bucket in the project you are logged into: + +`gsutil mb gs://{{bucket_name}}` + +- Delete a bucket and remove all the objects in it: + +`gsutil rm -r gs://{{bucket_name}}` diff --git a/pages/common/gt.md b/pages/common/gt.md new file mode 100644 index 00000000000000..854119dc370177 --- /dev/null +++ b/pages/common/gt.md @@ -0,0 +1,36 @@ +# gt + +> Create and manage sequences of dependent code changes (stacks) for Git and GitHub. +> More information: . + +- Initialize `gt` for the repository in the current directory: + +`gt init` + +- Create a new branch stacked on top of the current branch and commit staged changes: + +`gt create {{branch_name}}` + +- Create a new commit and fix upstack branches: + +`gt modify -cam {{commit_message}}` + +- Force push all branches in the current stack to GitHub and create or update PRs: + +`gt stack submit` + +- Checkout different branch (prompts interactive mode when branch name is omitted): + +`gt co {{branch_name}}` + +- Sync stack with remote version (also deletes merged branches): + +`gt sync` + +- Log all tracked stacks: + +`gt log short` + +- Display help for a specified subcommand: + +`gt {{subcommand}} --help` diff --git a/pages/common/gtop.md b/pages/common/gtop.md index 1ce4032a0cdc03..53c0b1e35d6655 100644 --- a/pages/common/gtop.md +++ b/pages/common/gtop.md @@ -9,8 +9,8 @@ - Sort by CPU usage: -`c` +`` - Sort by memory usage: -`m` +`` diff --git a/pages/common/guacd.md b/pages/common/guacd.md index 2d0ed6090c8f81..d7fd9bc94b7dc8 100644 --- a/pages/common/guacd.md +++ b/pages/common/guacd.md @@ -2,7 +2,7 @@ > Apache Guacamole proxy daemon. > Support loader for client plugins to interface between the Guacamole protocol and any arbitrary remote desktop protocol (e.g. RDP, VNC, Other). -> More information: . +> More information: . - Bind to a specific port on localhost: diff --git a/pages/common/guetzli.md b/pages/common/guetzli.md index 4c85f873d5c74c..fe2162110ba88d 100644 --- a/pages/common/guetzli.md +++ b/pages/common/guetzli.md @@ -7,10 +7,10 @@ `guetzli {{input.jpg}} {{output.jpg}}` -- Create compressed JPEG image from PNG image: +- Create a compressed JPEG from a PNG: `guetzli {{input.png}} {{output.jpg}}` -- Compress a JPEG image with desired visual quality (84-100): +- Compress a JPEG with the desired visual quality (84-100): `guetzli --quality {{quality_value}} {{input.jpg}} {{output.jpg}}` diff --git a/pages/common/guile.md b/pages/common/guile.md index e471b062dd092c..b31bee240896d6 100644 --- a/pages/common/guile.md +++ b/pages/common/guile.md @@ -1,9 +1,9 @@ # guile > Guile Scheme interpreter. -> More information: . +> More information: . -- Start the Guile Scheme REPL: +- Start a REPL (interactive shell): `guile` diff --git a/pages/common/gulp.md b/pages/common/gulp.md index 0bd57e2d256bb0..18ee2eaa170ab8 100644 --- a/pages/common/gulp.md +++ b/pages/common/gulp.md @@ -1,7 +1,7 @@ # gulp > JavaScript task runner and streaming build system. -> Tasks are defined within gulpfile.js at the project root. +> Tasks are defined within `gulpfile.js` at the project root. > More information: . - Run the default task: @@ -11,3 +11,7 @@ - Run individual tasks: `gulp {{task}} {{othertask}}` + +- Print the task dependency tree for the loaded gulpfile: + +`gulp --tasks` diff --git a/pages/common/gum.md b/pages/common/gum.md new file mode 100644 index 00000000000000..c05b275e0c9e02 --- /dev/null +++ b/pages/common/gum.md @@ -0,0 +1,29 @@ +# gum + +> Make glamorous shell scripts. +> See also: `whiptail`, `dialog`. +> More information: . + +- Interactively pick a specific option to print to `stdout`: + +`gum choose {{"option1" "option2" "..."}}` + +- Open an interactive prompt for the user to input a string with a specific placeholder: + +`gum input --placeholder "{{value}}"` + +- Open an interactive confirmation prompt and exit with either `<0>` or `<1>`: + +`gum confirm "{{Continue?}}" --default=false --affirmative "{{Yes}}" --negative "{{No}}" {{&& echo "Yes selected" || echo "No selected"}}` + +- Show a spinner while a command is taking place with text alongside: + +`gum spin {{[-s|--spinner]}} {{dot|line|minidot|jump|pulse|points|globe|moon|monkey|meter|hamburger}} --title "{{loading...}}" {{command}}` + +- Format text to include emojis: + +`gum format {{[-t|--type]}} {{emoji}} "{{:smile: :heart: hello}}"` + +- Interactively prompt for multi-line text and write the input to a file: + +`gum write > {{path/to/file}}` diff --git a/pages/common/gunicorn.md b/pages/common/gunicorn.md index 443f9d9171d149..2e1566fd5e39a3 100644 --- a/pages/common/gunicorn.md +++ b/pages/common/gunicorn.md @@ -1,7 +1,7 @@ # gunicorn > Python WSGI HTTP Server. -> More information: . +> More information: . - Run Python web app: @@ -9,7 +9,7 @@ - Listen on port 8080 on localhost: -`gunicorn --bind {{localhost}}:{{8080}} {{import.path:app_object}}` +`gunicorn {{[-b|--bind]}} {{localhost}}:{{8080}} {{import.path:app_object}}` - Turn on live reload: @@ -17,7 +17,7 @@ - Use 4 worker processes for handling requests: -`gunicorn --workers {{4}} {{import.path:app_object}}` +`gunicorn {{[-w|--workers]}} {{4}} {{import.path:app_object}}` - Use 4 worker threads for handling requests: diff --git a/pages/common/gunzip.md b/pages/common/gunzip.md index 94fa8b600fb56e..233ad8b8d35f72 100644 --- a/pages/common/gunzip.md +++ b/pages/common/gunzip.md @@ -1,6 +1,7 @@ # gunzip -> Extract file(s) from a gzip (.gz) archive. +> Extract files from a `gzip` (`.gz`) archive. +> More information: . - Extract a file from an archive, replacing the original file if it exists: @@ -8,8 +9,16 @@ - Extract a file to a target destination: -`gunzip -c {{archive.tar.gz}} > {{archive.tar}}` +`gunzip {{[-c|--stdout]}} {{archive.tar.gz}} > {{archive.tar}}` + +- Extract a file and keep the archive file: + +`gunzip {{[-k|--keep]}} {{archive.tar.gz}}` - List the contents of a compressed file: -`gunzip -l {{file.txt.gz}}` +`gunzip {{[-l|--list]}} {{file.txt.gz}}` + +- Decompress an archive from `stdin`: + +`cat {{path/to/archive.gz}} | gunzip` diff --git a/pages/common/gv2gml.md b/pages/common/gv2gml.md new file mode 100644 index 00000000000000..47ccaac71b1bf1 --- /dev/null +++ b/pages/common/gv2gml.md @@ -0,0 +1,17 @@ +# gv2gml + +> Convert a graph from `gv` to `gml` format. +> Converters: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> More information: . + +- Convert a graph from `gv` to `gml` format: + +`gv2gml -o {{output.gml}} {{input.gv}}` + +- Convert a graph using `stdin` and `stdout`: + +`cat {{input.gv}} | gv2gml > {{output.gml}}` + +- Display help: + +`gv2gml -?` diff --git a/pages/common/gv2gxl.md b/pages/common/gv2gxl.md new file mode 100644 index 00000000000000..4a11a2c86d3c68 --- /dev/null +++ b/pages/common/gv2gxl.md @@ -0,0 +1,17 @@ +# gv2gxl + +> Convert a graph from `gv` to `gxl` format. +> Converters: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> More information: . + +- Convert a graph from `gv` to `gxl` format: + +`gv2gxl -o {{output.gxl}} {{input.gv}}` + +- Convert a graph using `stdin` and `stdout`: + +`cat {{input.gv}} | gv2gxl > {{output.gxl}}` + +- Display help: + +`gv2gxl -?` diff --git a/pages/common/gvcolor.md b/pages/common/gvcolor.md new file mode 100644 index 00000000000000..63aa1c7835f0ce --- /dev/null +++ b/pages/common/gvcolor.md @@ -0,0 +1,17 @@ +# gvcolor + +> Colorize a ranked digraph with a range of colors. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Colorize one or more ranked digraph (that were already processed by `dot`): + +`gvcolor {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}` + +- Lay out a graph and colorize it, then convert to a PNG image: + +`dot {{path/to/input.gv}} | gvcolor | dot -T {{png}} > {{path/to/output.png}}` + +- Display help: + +`gvcolor -?` diff --git a/pages/common/gvim.md b/pages/common/gvim.md new file mode 100644 index 00000000000000..441e5ae71bc7bd --- /dev/null +++ b/pages/common/gvim.md @@ -0,0 +1,13 @@ +# gvim + +> A Graphical User Interface version of Vim (Vi IMproved), a command-line text editor. +> See also: `vimdiff`, `vimtutor`, `nvim`, `vim`. +> More information: . + +- Open `gvim`: + +`gvim` + +- Open a specific file: + +`gvim {{path/to/file}}` diff --git a/pages/common/gvpack.md b/pages/common/gvpack.md new file mode 100644 index 00000000000000..d08104211c7e18 --- /dev/null +++ b/pages/common/gvpack.md @@ -0,0 +1,25 @@ +# gvpack + +> Combine several graph layouts (that already have layout information). +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Combine several graph layouts (that already have layout information): + +`gvpack {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}` + +- Combine several graph layouts at the graph level, keeping graphs separate: + +`gvpack -g {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}` + +- Combine several graph layouts at the node level, ignoring clusters: + +`gvpack -n {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}` + +- Combine several graph layouts without packing: + +`gvpack -u {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}` + +- Display help: + +`gvpack -?` diff --git a/pages/common/gxl2gv.md b/pages/common/gxl2gv.md new file mode 100644 index 00000000000000..8bfde52b4697cf --- /dev/null +++ b/pages/common/gxl2gv.md @@ -0,0 +1,17 @@ +# gxl2gv + +> Convert a graph from `gxl` to `gv` format. +> Converters: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> More information: . + +- Convert a graph from `gxl` to `gv` format: + +`gxl2gv -o {{output.gv}} {{input.gxl}}` + +- Convert a graph using `stdin` and `stdout`: + +`cat {{input.gxl}} | gxl2gv > {{output.gv}}` + +- Display help: + +`gxl2gv -?` diff --git a/pages/common/gyb.md b/pages/common/gyb.md new file mode 100644 index 00000000000000..901ea11334ff26 --- /dev/null +++ b/pages/common/gyb.md @@ -0,0 +1,20 @@ +# gyb + +> Locally back up Gmail messages using Gmail's API over HTTPS. +> More information: . + +- Estimate the number and the size of all emails on your Gmail account: + +`gyb --email {{email@gmail.com}} --action estimate` + +- Backup a Gmail account to a specific directory: + +`gyb --email {{email@gmail.com}} --action backup --local-folder {{path/to/directory}}` + +- Backup only important or starred emails from a Gmail account to the default local folder: + +`gyb --email {{email@gmail.com}} --search "{{is:important OR is:starred}}"` + +- Restore from a local folder to a Gmail account: + +`gyb --email {{email@gmail.com}} --action restore --local-folder {{path/to/directory}}` diff --git a/pages/common/gzip.md b/pages/common/gzip.md index c1ea321d236530..d291f6c791b8c8 100644 --- a/pages/common/gzip.md +++ b/pages/common/gzip.md @@ -1,23 +1,32 @@ # gzip -> Compress/uncompress files with gzip compression (LZ77). +> Compress/uncompress files with `gzip` compression (LZ77). +> More information: . -- Compress a file, replacing it with a gzipped compressed version: +- Compress a file, replacing it with a `gzip` archive: -`gzip {{file.ext}}` +`gzip {{path/to/file}}` - Decompress a file, replacing it with the original uncompressed version: -`gzip -d {{file.ext}}.gz` +`gzip {{[-d|--decompress]}} {{path/to/file.gz}}` -- Compress a file specifying the output filename: +- Compress a file, keeping the original file: -`gzip -c {{file.ext}} > {{compressed_file.ext.gz}}` +`gzip {{[-k|--keep]}} {{path/to/file}}` -- Decompress a gzipped file specifying the output filename: +- Compress a file, specifying the output filename: -`gzip -c -d {{file.ext}}.gz > {{uncompressed_file.ext}}` +`gzip {{[-c|--stdout]}} {{path/to/file}} > {{path/to/compressed_file.gz}}` -- Specify the compression level. 1=Fastest (Worst), 9=Slowest (Best), Default level is 6: +- Decompress a `gzip` archive specifying the output filename: -`gzip -9 -c {{file.ext}} > {{compressed_file.ext.gz}}` +`gzip {{[-cd|--stdout --decompress]}} {{path/to/file.gz}} > {{path/to/uncompressed_file}}` + +- Specify the compression level. 1 is the fastest (low compression), 9 is the slowest (high compression), 6 is the default: + +`gzip -{{1..9}} {{[-c|--stdout]}} {{path/to/file}} > {{path/to/compressed_file.gz}}` + +- Display the name and reduction percentage for each file compressed or decompressed: + +`gzip {{[-vd|--verbose --decompress]}} {{path/to/file.gz}}` diff --git a/pages/common/hadolint.md b/pages/common/hadolint.md index 5da854ce1e9599..2508dc7399932d 100644 --- a/pages/common/hadolint.md +++ b/pages/common/hadolint.md @@ -21,4 +21,4 @@ - Lint multiple Dockerfiles using specific trusted registries: -`hadolint --trusted-registry {{docker.io}} --trusted-registry {{example.com}}:{{5000}} {{path/to/Dockerfile}} {{path/to/another/Dockerfile}}` +`hadolint --trusted-registry {{docker.io}} --trusted-registry {{example.com}}:{{5000}} {{path/to/Dockerfile1 path/to/Dockerfile2 ...}}` diff --git a/pages/common/hakyll-init.md b/pages/common/hakyll-init.md new file mode 100644 index 00000000000000..a859120ebaffd2 --- /dev/null +++ b/pages/common/hakyll-init.md @@ -0,0 +1,12 @@ +# hakyll-init + +> Generate a new Hakyll sample blog. +> More information: . + +- Generate a new Hakyll sample blog: + +`hakyll-init {{path/to/directory}}` + +- Display help: + +`hakyll-init --help` diff --git a/pages/common/handbrakecli.md b/pages/common/handbrakecli.md index 5cc5c7803e8ef6..c95be204808075 100644 --- a/pages/common/handbrakecli.md +++ b/pages/common/handbrakecli.md @@ -1,20 +1,28 @@ # handbrakecli -> Command-line interface to the HandBrake video conversion tool. -> More information: . +> Command-line interface to the HandBrake video conversion and DVD ripping tool. +> More information: . - Convert a video file to MKV (AAC 160kbit audio and x264 CRF20 video): -`handbrakecli -i {{input.avi}} -o {{output.mkv}} -e x264 -q 20 -B 160` +`handbrakecli {{[-i|--input]}} {{input.avi}} {{[-o|--output]}} {{output.mkv}} {{[-e|--encoder]}} x264 {{[-q|--quality]}} 20 {{[-B|--ab]}} 160` - Resize a video file to 320x240: -`handbrakecli -i {{input.mp4}} -o {{output.mp4} -w 320 -l 240` +`handbrakecli {{[-i|--input]}} {{input.mp4}} {{[-o|--output]}} {{output.mp4}} {{[-w|--width]}} 320 {{[-l|--height]}} 240` - List available presets: -`handbrakecli --preset-list` +`handbrakecli {{[-z|--preset-list]}}` - Convert an AVI video to MP4 using the Android preset: -`handbrakecli --preset="Android" -i {{input.ext}} -o {{output.mp4}}` +`handbrakecli {{[-Z|--preset]}} "Android" {{[-i|--input]}} {{input.ext}} {{[-o|--output]}} {{output.mp4}}` + +- Print the content of a DVD, getting the CSS keys in the process: + +`handbrakecli {{[-i|--input]}} {{/dev/sr0}} {{[-t|--title]}} 0` + +- Rip the first track of a DVD in the specified device. Audiotracks and subtitle languages are specified as lists: + +`handbrakecli {{[-i|--input]}} {{/dev/sr0}} {{[-t|--title]}} 1 {{[-o|--output]}} {{out.mkv}} {{[-f|--format]}} av_mkv {{[-e|--encoder]}} x264 {{[-s|--subtitle]}} {{1,4,5}} {{[-a|--audio]}} {{1,2}} {{[-E|--aencoder]}} copy {{[-q|--quality]}} {{23}}` diff --git a/pages/common/hangups.md b/pages/common/hangups.md index 360d506bc5799c..7a40fcaa5efe2d 100644 --- a/pages/common/hangups.md +++ b/pages/common/hangups.md @@ -1,13 +1,13 @@ # hangups -> Third party command line client for Google Hangouts. +> Third party client for Google Hangouts. > More information: . -- Start hangups: +- Start `hangups`: `hangups` -- View troubeshooting information and help: +- Display troubleshooting information and help: `hangups -h` diff --git a/pages/common/hardhat.md b/pages/common/hardhat.md new file mode 100644 index 00000000000000..7d90e8aa9d283a --- /dev/null +++ b/pages/common/hardhat.md @@ -0,0 +1,36 @@ +# hardhat + +> A development environment for Ethereum software. +> More information: . + +- List available subcommands (or create a new project if no configuration exists): + +`hardhat` + +- Compile the current project and build all artifacts: + +`hardhat compile` + +- Run a user-defined script after compiling the project: + +`hardhat run {{path/to/script.js}}` + +- Run Mocha tests: + +`hardhat test` + +- Run all given test files: + +`hardhat test {{path/to/file1.js path/to/file2.js ...}}` + +- Start a local Ethereum JSON-RPC node for development: + +`hardhat node` + +- Start a local Ethereum JSON-RPC node with a specific hostname and port: + +`hardhat node --hostname {{hostname}} --port {{port}}` + +- Clean the cache and all artifacts: + +`hardhat clean` diff --git a/pages/common/hash.md b/pages/common/hash.md new file mode 100644 index 00000000000000..ce31c4d83cf499 --- /dev/null +++ b/pages/common/hash.md @@ -0,0 +1,24 @@ +# hash + +> View cached executable locations. +> More information: . + +- View cached command locations for the current shell: + +`hash` + +- Clear the hash table: + +`hash -r` + +- Delete a specific command from the hash table: + +`hash -d {{command}}` + +- Print the full path of `command`: + +`hash -t {{command}}` + +- Display help: + +`hash --help` diff --git a/pages/common/hashcat.md b/pages/common/hashcat.md new file mode 100644 index 00000000000000..1fda41bf5b8b28 --- /dev/null +++ b/pages/common/hashcat.md @@ -0,0 +1,36 @@ +# hashcat + +> Fast and advanced password recovery tool. +> More information: . + +- Perform a brute-force attack (mode 3) with the default hashcat mask: + +`hashcat --hash-type {{hash_type_id}} --attack-mode {{3}} {{hash_value}}` + +- Perform a brute-force attack (mode 3) with a known pattern of 4 digits: + +`hashcat --hash-type {{hash_type_id}} --attack-mode {{3}} {{hash_value}} "{{?d?d?d?d}}"` + +- Perform a brute-force attack (mode 3) using at most 8 of all printable ASCII characters: + +`hashcat --hash-type {{hash_type_id}} --attack-mode {{3}} --increment {{hash_value}} "{{?a?a?a?a?a?a?a?a}}"` + +- Perform a dictionary attack (mode 0) using the RockYou wordlist of a Kali Linux box: + +`hashcat --hash-type {{hash_type_id}} --attack-mode {{0}} {{hash_value}} {{/usr/share/wordlists/rockyou.txt}}` + +- Perform a rule-based dictionary attack (mode 0) using the RockYou wordlist mutated with common password variations: + +`hashcat --hash-type {{hash_type_id}} --attack-mode {{0}} --rules-file {{/usr/share/hashcat/rules/best64.rule}} {{hash_value}} {{/usr/share/wordlists/rockyou.txt}}` + +- Perform a combination attack (mode 1) using the concatenation of words from two different custom dictionaries: + +`hashcat --hash-type {{hash_type_id}} --attack-mode {{1}} {{hash_value}} /{{path/to/dictionary1.txt}} /{{path/to/dictionary2.txt}}` + +- Show result of an already cracked hash: + +`hashcat --show {{hash_value}}` + +- Show all example hashes: + +`hashcat --example-hashes` diff --git a/pages/common/hashid.md b/pages/common/hashid.md new file mode 100644 index 00000000000000..2ee5511eef684c --- /dev/null +++ b/pages/common/hashid.md @@ -0,0 +1,28 @@ +# hashid + +> Python3 program that identifies data and password hashes. +> More information: . + +- Identify hashes from `stdin` (through typing, copying and pasting, or piping the hash into the program): + +`hashid` + +- Identify one or more hashes: + +`hashid {{hash1 hash2 ...}}` + +- Identify hashes on a file (one hash per line): + +`hashid {{path/to/hashes.txt}}` + +- Show all possible hash types (including salted hashes): + +`hashid --extended {{hash}}` + +- Show `hashcat`'s mode number and `john`'s format string of the hash types: + +`hashid --mode --john {{hash}}` + +- Save output to a file instead of printing to `stdout`: + +`hashid --outfile {{path/to/output.txt}} {{hash}}` diff --git a/pages/common/hatch.md b/pages/common/hatch.md new file mode 100644 index 00000000000000..2c857f71743214 --- /dev/null +++ b/pages/common/hatch.md @@ -0,0 +1,29 @@ +# hatch + +> Modern, extensible Python project manager. +> See also: `poetry`. +> More information: . + +- Create a new Hatch project: + +`hatch new {{project_name}}` + +- Initialize Hatch for an existing project: + +`hatch new --init` + +- Build a Hatch project: + +`hatch build` + +- Remove build artifacts: + +`hatch clean` + +- Create a default environment with dependencies defined in the `pyproject.toml` file: + +`hatch env create` + +- Show environment dependencies as a table: + +`hatch dep show table` diff --git a/pages/common/haxelib.md b/pages/common/haxelib.md index 3d7809e8852f80..3bd7628a0e0020 100644 --- a/pages/common/haxelib.md +++ b/pages/common/haxelib.md @@ -1,7 +1,7 @@ # haxelib > Haxe Library Manager. -> More information: . +> More information: . - Search for a Haxe library: @@ -11,6 +11,10 @@ `haxelib install {{libname}}` +- Install a specific version of a Haxe library: + +`haxelib install {{libname}} {{version}}` + - Upgrade all installed Haxe libraries: `haxelib upgrade` @@ -18,3 +22,11 @@ - Install the development version of a library from a Git repository: `haxelib git {{libname}} {{git_url}}` + +- Uninstall a Haxe library: + +`haxelib remove {{libname}}` + +- Print a tree of locally installed Haxe libraries: + +`haxelib list` diff --git a/pages/common/hcloud.md b/pages/common/hcloud.md new file mode 100644 index 00000000000000..e63c47083eec2e --- /dev/null +++ b/pages/common/hcloud.md @@ -0,0 +1,16 @@ +# hcloud + +> Show how to use the CLI for Hetzner Cloud. +> More information: . + +- Show available commands and flags: + +`hcloud` + +- Display help: + +`hcloud -h` + +- Show available commands and flags for `hcloud` contexts: + +`hcloud context` diff --git a/pages/common/hd.md b/pages/common/hd.md new file mode 100644 index 00000000000000..368438735bfed9 --- /dev/null +++ b/pages/common/hd.md @@ -0,0 +1,7 @@ +# hd + +> This command is an alias of `hexdump`. + +- View documentation for the original command: + +`tldr hexdump` diff --git a/pages/common/head.md b/pages/common/head.md index e0351ae70a987b..0ecfe271e47161 100644 --- a/pages/common/head.md +++ b/pages/common/head.md @@ -1,19 +1,8 @@ # head > Output the first part of files. +> More information: . - Output the first few lines of a file: -`head -n {{count_of_lines}} {{filename}}` - -- Output the first few bytes of a file: - -`head -c {{size_in_bytes}} {{filename}}` - -- Output everything but the last few lines of a file: - -`head -n -{{count_of_lines}} {{filename}}` - -- Output everything but the last few bytes of a file: - -`head -c -{{size_in_bytes}} {{filename}}` +`head -n {{count}} {{path/to/file}}` diff --git a/pages/common/helix.md b/pages/common/helix.md new file mode 100644 index 00000000000000..5e1918305d46b4 --- /dev/null +++ b/pages/common/helix.md @@ -0,0 +1,37 @@ +# helix + +> Helix, A post-modern text editor, provides several modes for different kinds of text manipulation. +> Pressing `` enters insert mode. `` enters normal mode, which enables the use of Helix commands. +> More information: . + +- Open a file: + +`helix {{path/to/file}}` + +- Open files and show them one next each other: + +`helix --vsplit {{path/to/file1 path/to/file2}}` + +- Show the tutorial to learn Helix (or access it within Helix by pressing `` and typing `<:>tutor`): + +`helix --tutor` + +- Change the Helix theme: + +`<:>theme {{theme_name}}` + +- Save and Quit: + +`<:>wq` + +- Force-quit without saving: + +`<:>q!` + +- Undo the last operation: + +`` + +- Search for a pattern in the file (press ``/`` to go to next/previous match): + +`{{search_pattern}}` diff --git a/pages/common/hello.md b/pages/common/hello.md new file mode 100644 index 00000000000000..03a1dea41d628c --- /dev/null +++ b/pages/common/hello.md @@ -0,0 +1,16 @@ +# hello + +> Print "Hello, world!", "hello, world" or a customizable text. +> More information: . + +- Print "Hello, world!": + +`hello` + +- Print "hello, world", the traditional type: + +`hello {{[-t|--traditional]}}` + +- Print a text message: + +`hello {{[-g|--greeting]}} "{{greeting_text}}"` diff --git a/pages/common/helm-install.md b/pages/common/helm-install.md new file mode 100644 index 00000000000000..e68a263a9857f4 --- /dev/null +++ b/pages/common/helm-install.md @@ -0,0 +1,32 @@ +# helm install + +> Install a helm chart. +> More information: . + +- Install a helm chart: + +`helm install {{name}} {{repository_name}}/{{chart_name}}` + +- Install a helm chart from an unpacked chart directory: + +`helm install {{name}} {{path/to/source_directory}}` + +- Install a helm chart from a URL: + +`helm install {{package_name}} {{https://example.com/charts/packagename-1.2.3.tgz}}` + +- Install a helm chart and generate a name: + +`helm install {{repository_name}}/{{chart_name}} {{[-g|--generate-name]}}` + +- Perform a dry run: + +`helm install {{name}} {{repository_name}}/{{chart_name}} --dry-run` + +- Install a helm chart with custom values: + +`helm install {{name}} {{repository_name}}/{{chart_name}} --set {{parameter1}}={{value1}},{{parameter2}}={{value2}}` + +- Install a helm chart passing a custom values file: + +`helm install {{name}} {{repository_name}}/{{chart_name}} {{[-f|--values]}} {{path/to/values.yaml}}` diff --git a/pages/common/helm.md b/pages/common/helm.md index 04ad70ee4ba393..625da5c2f80d1e 100644 --- a/pages/common/helm.md +++ b/pages/common/helm.md @@ -1,7 +1,8 @@ # helm -> Helm is a package manager for Kubernetes. -> More information: . +> A package manager for Kubernetes. +> Some subcommands such as `install` have their own usage documentation. +> More information: . - Create a helm chart: @@ -9,23 +10,23 @@ - Add a new helm repository: -`helm repo add {{repo_name}}` +`helm repo add {{repository_name}}` - List helm repositories: -`helm repo list` +`helm repo {{[ls|list]}}` - Update helm repositories: -`helm repo update` +`helm repo {{[up|update]}}` - Delete a helm repository: -`helm repo remove {{repo_name}}` +`helm repo {{[rm|remove]}} {{repository_name}}` - Install a helm chart: -`helm install {{repo_name}}/{{chart_name}}` +`helm install {{name}} {{repository_name}}/{{chart_name}}` - Download helm chart as a tar archive: @@ -33,4 +34,4 @@ - Update helm dependencies: -`helm dependency update` +`helm {{[dep|dependency]}} {{[up|update]}}` diff --git a/pages/common/help.md b/pages/common/help.md new file mode 100644 index 00000000000000..a4fc489c3055d7 --- /dev/null +++ b/pages/common/help.md @@ -0,0 +1,28 @@ +# help + +> Display information about Bash builtin commands. +> More information: . + +- Display the full list of builtin commands: + +`help` + +- Print instructions on how to use the `while` loop construct: + +`help while` + +- Print instructions on how to use the `for` loop construct: + +`help for` + +- Print instructions on how to use `[[ ]]` for conditional commands: + +`help [[ ]]` + +- Print instruction on how to use `(( ))` to evaluate arithmetic expressions: + +`help \( \)` + +- Print instructions on how to use the `cd` command: + +`help cd` diff --git a/pages/common/help2man.md b/pages/common/help2man.md index 0c136c46a6530b..8f57f836023fce 100644 --- a/pages/common/help2man.md +++ b/pages/common/help2man.md @@ -1,7 +1,7 @@ # help2man > Produce simple man pages from an executable's `--help` and `--version` output. -> More information: . +> More information: . - Generate a man page for an executable: @@ -9,16 +9,16 @@ - Specify the "name" paragraph in the man page: -`help2man {{executable}} --name {{name}}` +`help2man {{executable}} {{[-n|--name]}} {{name}}` - Specify the section for the man page (defaults to 1): -`help2man {{executable}} --section {{section}}` +`help2man {{executable}} {{[-s|--section]}} {{section}}` - Output to a file instead of `stdout`: -`help2man {{executable}} --output {{path/to/file}}` +`help2man {{executable}} {{[-o|--output]}} {{path/to/file}}` -- Display detailed help: +- Display help: `help2man --help` diff --git a/pages/common/heroku.md b/pages/common/heroku.md index e639c63176d399..94ea393d32fc9a 100644 --- a/pages/common/heroku.md +++ b/pages/common/heroku.md @@ -1,13 +1,13 @@ # heroku -> Create and manage Heroku apps from the command line. -> More information: . +> Create and manage Heroku apps. +> More information: . -- Login to your heroku account: +- Log in to your Heroku account: `heroku login` -- Create a heroku app: +- Create a Heroku app: `heroku create` diff --git a/pages/common/hexdump.md b/pages/common/hexdump.md new file mode 100644 index 00000000000000..254e6a6d8acee3 --- /dev/null +++ b/pages/common/hexdump.md @@ -0,0 +1,26 @@ +# hexdump + +> Display file contents in hexadecimal, decimal, octal, or ASCII. +> Useful for inspecting dump file, binary data, or debug output. +> See also: `hexyl`, `od`, `xxd`. +> More information: . + +- Print the hexadecimal representation of a file, replacing duplicate lines by `*`: + +`hexdump {{path/to/file}}` + +- Display the input offset in hexadecimal and its ASCII representation in two columns: + +`hexdump -C {{path/to/file}}` + +- Display the hexadecimal representation of a file, but interpret only a specific number of bytes of the input: + +`hexdump -C -n {{number_of_bytes}} {{path/to/file}}` + +- Verbose - no suppression by `*` on duplicate lines: + +`hexdump -v {{path/to/file}}` + +- Format output using printf-like format string: + +`hexdump -e '{{element_format .. end_format}}' {{path/to/file}}` diff --git a/pages/common/hexedit.md b/pages/common/hexedit.md new file mode 100644 index 00000000000000..a1ad959af5e474 --- /dev/null +++ b/pages/common/hexedit.md @@ -0,0 +1,20 @@ +# hexedit + +> File editor for hexadecimal and ASCII content. +> More information: . + +- Open file: + +`hexedit {{path/to/file}}` + +- Display file with sectors: + +`hexedit {{[-s|--sector]}} {{path/to/file}}` + +- Maximize file display: + +`hexedit {{[-m|--maximize]}} {{path/to/file}}` + +- Display help: + +`hexedit {{[-h|--help]}}` diff --git a/pages/common/hexo.md b/pages/common/hexo.md index 521f316720bb48..1d2a29761ae823 100644 --- a/pages/common/hexo.md +++ b/pages/common/hexo.md @@ -1,7 +1,7 @@ # hexo > A fast, simple & powerful blog framework. -> More information: . +> More information: . - Initialize a website: diff --git a/pages/common/hexyl.md b/pages/common/hexyl.md index 6fe0f83208161f..654a56654696f7 100644 --- a/pages/common/hexyl.md +++ b/pages/common/hexyl.md @@ -1,6 +1,7 @@ # hexyl > A simple hex viewer for the terminal. Uses colored output to distinguish different categories of bytes. +> See also: `od`, `xxd`, `hexdump`. > More information: . - Print the hexadecimal representation of a file: @@ -9,12 +10,4 @@ - Print the hexadecimal representation of the first n bytes of a file: -`hexyl -n {{n}} {{path/to/file}}` - -- Print bytes 512 through 1024 of a file: - -`hexyl -r {{512}}:{{1024}} {{path/to/file}}` - -- Print 512 bytes starting at the 1024th byte: - -`hexyl -r {{1024}}:+{{512}} {{path/to/file}}` +`hexyl {{[-n|--length]}} {{n}} {{path/to/file}}` diff --git a/pages/common/hg-add.md b/pages/common/hg-add.md index 9de6377b344c5d..e9c9521a1c9433 100644 --- a/pages/common/hg-add.md +++ b/pages/common/hg-add.md @@ -1,7 +1,7 @@ # hg add > Adds specified files to the staging area for the next commit in Mercurial. -> More information: . +> More information: . - Add files or directories to the staging area: @@ -9,16 +9,16 @@ - Add all unstaged files matching a specified pattern: -`hg add --include {{pattern}}` +`hg add {{[-I|--include]}} {{pattern}}` - Add all unstaged files, excluding those that match a specified pattern: -`hg add --exclude {{pattern}}` +`hg add {{[-X|--exclude]}} {{pattern}}` - Recursively add sub-repositories: -`hg add --subrepos` +`hg add {{[-S|--subrepos]}}` - Perform a test-run without performing any actions: -`hg add --dry-run` +`hg add {{[-n|--dry-run]}}` diff --git a/pages/common/hg-branch.md b/pages/common/hg-branch.md index b18669362dc32f..dbd27cd60a3e1f 100644 --- a/pages/common/hg-branch.md +++ b/pages/common/hg-branch.md @@ -1,7 +1,7 @@ # hg branch > Create or show a branch name. -> More information: . +> More information: . - Show the name of the currently active branch: diff --git a/pages/common/hg-clone.md b/pages/common/hg-clone.md index 2168d304da7269..d5f2539b86a9eb 100644 --- a/pages/common/hg-clone.md +++ b/pages/common/hg-clone.md @@ -1,7 +1,7 @@ # hg clone > Create a copy of an existing repository in a new directory. -> More information: . +> More information: . - Clone a repository to a specified directory: @@ -9,16 +9,16 @@ - Clone a repository to the head of a specific branch, ignoring later commits: -`hg clone --branch {{branch}} {{remote_repository_source}}` +`hg clone {{[-b|--branch]}} {{branch}} {{remote_repository_source}}` -- Clone a repository with only the ".hg" directory, without checking out files: +- Clone a repository with only the `.hg` directory, without checking out files: -`hg clone --noupdate {{remote_repository_source}}` +`hg clone {{[-U|--noupdate]}} {{remote_repository_source}}` - Clone a repository to a specific revision, tag or branch, keeping the entire history: -`hg clone --updaterev {{revision}} {{remote_repository_source}}` +`hg clone {{[-u|--updaterev]}} {{revision}} {{remote_repository_source}}` - Clone a repository up to a specific revision without any newer history: -`hg clone --rev {{revision}} {{remote_repository_source}}` +`hg clone {{[-r|--rev]}} {{revision}} {{remote_repository_source}}` diff --git a/pages/common/hg-commit.md b/pages/common/hg-commit.md index 9b727e8d353bda..9defcb2e52d9a9 100644 --- a/pages/common/hg-commit.md +++ b/pages/common/hg-commit.md @@ -1,7 +1,7 @@ # hg commit > Commit all staged or specified files to the repository. -> More information: . +> More information: . - Commit staged files to the repository: @@ -13,16 +13,16 @@ - Commit with a specific message: -`hg commit --message {{message}}` +`hg commit {{[-m|--message]}} {{message}}` - Commit all files matching a specified pattern: -`hg commit --include {{pattern}}` +`hg commit {{[-I|--include]}} {{pattern}}` - Commit all files, excluding those that match a specified pattern: -`hg commit --exclude {{pattern}}` +`hg commit {{[-X|--exclude]}} {{pattern}}` - Commit using the interactive mode: -`hg commit --interactive` +`hg commit {{[-i|--interactive]}}` diff --git a/pages/common/hg-init.md b/pages/common/hg-init.md index beb7c2658bf009..245e878bb93d18 100644 --- a/pages/common/hg-init.md +++ b/pages/common/hg-init.md @@ -1,12 +1,12 @@ # hg init > Create a new repository in the specified directory. -> More information: . +> More information: . -- Initialise a new repository in the current directory: +- Initialize a new repository in the current directory: `hg init` -- Initialise a new repository in the specified directory: +- Initialize a new repository in the specified directory: `hg init {{path/to/directory}}` diff --git a/pages/common/hg-log.md b/pages/common/hg-log.md index 9e3875ecb2bb66..81b1ee6b63cf32 100644 --- a/pages/common/hg-log.md +++ b/pages/common/hg-log.md @@ -1,7 +1,7 @@ # hg log > Display the revision history of the repository. -> More information: . +> More information: . - Display the entire revision history of the repository: @@ -9,28 +9,28 @@ - Display the revision history with an ASCII graph: -`hg log --graph` +`hg log {{[-G|--graph]}}` - Display the revision history with file names matching a specified pattern: -`hg log --include {{pattern}}` +`hg log {{[-I|--include]}} {{pattern}}` - Display the revision history, excluding file names that match a specified pattern: -`hg log --exclude {{pattern}}` +`hg log {{[-X|--exclude]}} {{pattern}}` - Display the log information for a specific revision: -`hg log --rev {{revision}}` +`hg log {{[-r|--rev]}} {{revision}}` - Display the revision history for a specific branch: -`hg log --branch {{branch}}` +`hg log {{[-b|--branch]}} {{branch}}` - Display the revision history for a specific date: -`hg log --date {{date}}` +`hg log {{[-d|--date]}} {{date}}` - Display revisions committed by a specific user: -`hg log --user {{user}}` +`hg log {{[-u|--user]}} {{user}}` diff --git a/pages/common/hg-pull.md b/pages/common/hg-pull.md index 762c4826940dd1..ee198377a7d5d5 100644 --- a/pages/common/hg-pull.md +++ b/pages/common/hg-pull.md @@ -1,7 +1,7 @@ # hg pull > Pull changes from a specified repository to the local repository. -> More information: . +> More information: . - Pull from the "default" source path: @@ -13,20 +13,20 @@ - Update the local repository to the head of the remote: -`hg pull --update` +`hg pull {{[-u|--update]}}` - Pull changes even when the remote repository is unrelated: -`hg pull --force` +`hg pull {{[-f|--force]}}` - Specify a specific revision changeset to pull up to: -`hg pull --rev {{revision}}` +`hg pull {{[-r|--rev]}} {{revision}}` - Specify a specific branch to pull: -`hg pull --branch {{branch}}` +`hg pull {{[-b|--branch]}} {{branch}}` - Specify a specific bookmark to pull: -`hg pull --bookmark {{bookmark}}` +`hg pull {{[-B|--bookmark]}} {{bookmark}}` diff --git a/pages/common/hg-push.md b/pages/common/hg-push.md index 4296da65ef66fb..d9320b43ec561d 100644 --- a/pages/common/hg-push.md +++ b/pages/common/hg-push.md @@ -1,7 +1,7 @@ # hg push > Push changes from the local repository to a specified destination. -> More information: . +> More information: . - Push changes to the "default" remote path: @@ -17,12 +17,12 @@ - Specify a specific revision changeset to push: -`hg push --rev {{revision}}` +`hg push {{[-r|--rev]}} {{revision}}` - Specify a specific branch to push: -`hg push --branch {{branch}}` +`hg push {{[-b|--branch]}} {{branch}}` - Specify a specific bookmark to push: -`hg push --bookmark {{bookmark}}` +`hg push {{[-B|--bookmark]}} {{bookmark}}` diff --git a/pages/common/hg-remove.md b/pages/common/hg-remove.md index 032f233612eaa4..a88785073f7c20 100644 --- a/pages/common/hg-remove.md +++ b/pages/common/hg-remove.md @@ -1,7 +1,7 @@ # hg remove > Remove specified files from the staging area. -> More information: . +> More information: . - Remove files or directories from the staging area: @@ -9,16 +9,16 @@ - Remove all staged files matching a specified pattern: -`hg remove --include {{pattern}}` +`hg remove {{[-I|--include]}} {{pattern}}` - Remove all staged files, excluding those that match a specified pattern: -`hg remove --exclude {{pattern}}` +`hg remove {{[-X|--exclude]}} {{pattern}}` - Recursively remove sub-repositories: -`hg remove --subrepos` +`hg remove {{[-S|--subrepos]}}` - Remove files from the repository that have been physically removed: -`hg remove --after` +`hg remove {{[-A|--after]}}` diff --git a/pages/common/hg-root.md b/pages/common/hg-root.md index f47fbea8f97993..69521fca19ba25 100644 --- a/pages/common/hg-root.md +++ b/pages/common/hg-root.md @@ -1,7 +1,7 @@ # hg root > Display the root location of a Hg repository. -> More information: . +> More information: . - Display the root location of the current repository: diff --git a/pages/common/hg-serve.md b/pages/common/hg-serve.md index 40020c52f94aab..623d8f6b4c27e6 100644 --- a/pages/common/hg-serve.md +++ b/pages/common/hg-serve.md @@ -1,7 +1,7 @@ # hg serve > Start a standalone Mercurial web server for browsing repositories. -> More information: . +> More information: . - Start a web server instance: @@ -9,15 +9,15 @@ - Start a web server instance on the specified port: -`hg serve --port {{port}}` +`hg serve {{[-p|--port]}} {{port}}` - Start a web server instance on the specified listening address: -`hg serve --address {{address}}` +`hg serve {{[-a|--address]}} {{address}}` - Start a web server instance with a specific identifier: -`hg serve --name {{name}}` +`hg serve {{[-n|--name]}} {{name}}` - Start a web server instance using the specified theme (see the templates directory): diff --git a/pages/common/hg-status.md b/pages/common/hg-status.md index a5e6373c7fe654..79a0da3d7671e4 100644 --- a/pages/common/hg-status.md +++ b/pages/common/hg-status.md @@ -1,7 +1,7 @@ # hg status > Show files that have changed in the working directory. -> More information: . +> More information: . - Display the status of changed files: @@ -9,19 +9,19 @@ - Display only modified files: -`hg status --modified` +`hg status {{[-m|--modified]}}` - Display only added files: -`hg status --added` +`hg status {{[-a|--added]}}` - Display only removed files: -`hg status --removed` +`hg status {{[-r|--removed]}}` - Display only deleted (but tracked) files: -`hg status --deleted` +`hg status {{[-d|--deleted]}}` - Display changes in the working directory compared to a specified changeset: @@ -29,8 +29,8 @@ - Display only files matching a specified glob pattern: -`hg status --include {{pattern}}` +`hg status {{[-I|--include]}} {{pattern}}` - Display files, excluding those that match a specified glob pattern: -`hg status --exclude {{pattern}}` +`hg status {{[-X|--exclude]}} {{pattern}}` diff --git a/pages/common/hg-update.md b/pages/common/hg-update.md index e0a4e9823c7e22..1361cfe9f9b71b 100644 --- a/pages/common/hg-update.md +++ b/pages/common/hg-update.md @@ -1,7 +1,7 @@ # hg update > Update the working directory to a specified changeset. -> More information: . +> More information: . - Update to the tip of the current branch: @@ -9,12 +9,12 @@ - Update to the specified revision: -`hg update --rev {{revision}}` +`hg update {{[-r|--rev]}} {{revision}}` - Update and discard uncommitted changes: -`hg update --clean` +`hg update {{[-C|--clean]}}` - Update to the last commit matching a specified date: -`hg update --date {{dd-mm-yyyy}}` +`hg update {{[-d|--date]}} {{dd-mm-yyyy}}` diff --git a/pages/common/hg.md b/pages/common/hg.md index 6aae7c5920ac6e..f4909103ff8de6 100644 --- a/pages/common/hg.md +++ b/pages/common/hg.md @@ -1,21 +1,37 @@ # hg -> A command line interface for Mercurial, a distributed source control management system. -> See `hg-add`, `hg-commit` and other pages for additional information. -> More information: . +> Mercurial - a distributed source control management system. +> Some subcommands such as `commit` have their own usage documentation. +> More information: . -- Execute Mercurial command: +- Create an empty Mercurial repository: -`hg {{command}}` +`hg init` -- Call general help: +- Clone a remote Mercurial repository from the internet: -`hg help` +`hg clone {{https://example.com/repo}}` -- Call help on a command: +- View the status of a local repository: -`hg help {{command}}` +`hg status` -- Check the Mercurial version: +- Add all new files to the next commit: -`hg --version` +`hg add` + +- Commit changes to version history: + +`hg commit {{[-m|--message]}} {{message_text}}` + +- Push local changes to a remote repository: + +`hg push` + +- Pull any changes made to a remote: + +`hg pull` + +- Reset everything the way it was in the latest commit: + +`hg update {{[-C|--clean]}}; hg purge` diff --git a/pages/common/highlight.md b/pages/common/highlight.md new file mode 100644 index 00000000000000..496f04f396ca27 --- /dev/null +++ b/pages/common/highlight.md @@ -0,0 +1,24 @@ +# highlight + +> Outputs syntax-highlighted source code to a variety of formats. +> More information: . + +- Produce a complete HTML document from a source code file: + +`highlight {{[-o|--out-format]}} {{html}} {{[-s|--style]}} {{theme_name}} {{[-S|--syntax]}} {{language}} {{path/to/source_code}}` + +- Produce an HTML fragment, suitable for inclusion in a larger document: + +`highlight {{[-o|--out-format]}} {{html}} {{[-f|--fragment]}} {{[-S|--syntax]}} {{language}} {{source_file}}` + +- Inline the CSS styling in every tag: + +`highlight {{[-o|--out-format]}} {{html}} --inline-css {{[-S|--syntax]}} {{language}} {{source_file}}` + +- List all supported languages, themes, or plugins: + +`highlight --list-scripts {{langs|themes|plugins}}` + +- Print a CSS stylesheet for a theme: + +`highlight {{[-o|--out-format]}} {{html}} --print-style {{[-s|--style]}} {{theme_name}} {{[-S|--syntax]}} {{language}} --stdout` diff --git a/pages/common/hipstopgm.md b/pages/common/hipstopgm.md new file mode 100644 index 00000000000000..c70d17c3c33c95 --- /dev/null +++ b/pages/common/hipstopgm.md @@ -0,0 +1,17 @@ +# hipstopgm + +> Read a HIPS file as input and return a PGM image as output. +> If the HIPS file contains more than one frame in sequence, `hipstopgm` will concatenate all the frames vertically. +> More information: . + +- Convert a HIPS file into a PGM image: + +`hipstopgm {{path/to/file.hips}}` + +- Suppress all informational messages: + +`hipstopgm {{[-q|-quiet]}}` + +- Display version: + +`hipstopgm {{[-v|-version]}}` diff --git a/pages/common/history.md b/pages/common/history.md index 7fd4a743ec92d8..bdff8033effff7 100644 --- a/pages/common/history.md +++ b/pages/common/history.md @@ -1,23 +1,32 @@ # history -> Command Line history. +> Manage command-line history. +> More information: . - Display the commands history list with line numbers: `history` -- Display the last 20 commands: +- Display the last 20 commands (in Zsh it displays all commands starting from the 20th): -`history {{20}}` +`history 20` -- Clear the commands history list (only for current `bash` shell): +- Display history with timestamps in different formats (only available in Zsh): + +`history -{{d|f|i|E}}` + +- [c]lear the commands history list: `history -c` -- Overwrite history file with history of current `bash` shell (often combined with `history -c` to purge history): +- Over[w]rite history file with history of current Bash shell (often combined with `history -c` to purge history): `history -w` -- Delete the history entry at the specified offset: +- [d]elete the history entry at the specified offset: `history -d {{offset}}` + +- Add a command to history without running it: + +`history -s {{command}}` diff --git a/pages/common/hive.md b/pages/common/hive.md index 805edcbab69a32..7d180f548180b0 100644 --- a/pages/common/hive.md +++ b/pages/common/hive.md @@ -13,7 +13,7 @@ - Run a HiveQL file with a variable substitution: -`hive --define {{key}}={{value}} -f {{path/to/file.sql}}` +`hive {{[-d|--define]}} {{key}}={{value}} -f {{path/to/file.sql}}` - Run a HiveQL with HiveConfig (e.g. `mapred.reduce.tasks=32`): diff --git a/pages/common/hledger-accounts.md b/pages/common/hledger-accounts.md new file mode 100644 index 00000000000000..91ab998846be68 --- /dev/null +++ b/pages/common/hledger-accounts.md @@ -0,0 +1,32 @@ +# hledger accounts + +> List account names. +> More information: . + +- Show all accounts used or declared in the default journal file: + +`hledger {{[acc|accounts]}}` + +- Show accounts used by transactions: + +`hledger {{[acc|accounts]}} {{[-u|--used]}}` + +- Show accounts declared with account directives: + +`hledger {{[acc|accounts]}} {{[-d|--declared]}}` + +- Add new account directives, for accounts used but not declared, to the journal: + +`hledger {{[acc|accounts]}} --undeclared --directives >> {{2024-accounts.journal}}` + +- Show accounts with `asset` in their name, and their declared/inferred types: + +`hledger {{[acc|accounts]}} asset --types` + +- Show accounts of the `Asset` type: + +`hledger {{[acc|accounts]}} type:A` + +- Show the first two levels of the accounts hierarchy: + +`hledger {{[acc|accounts]}} {{[-t|--tree]}} {{[-2|--depth 2]}}` diff --git a/pages/common/hledger-add.md b/pages/common/hledger-add.md new file mode 100644 index 00000000000000..afb9bd71420b65 --- /dev/null +++ b/pages/common/hledger-add.md @@ -0,0 +1,24 @@ +# hledger add + +> Record new transactions with interactive prompting in the console. +> More information: . + +- Record new transactions, saving to the default journal file: + +`hledger add` + +- Add transactions to `2024.journal`, but also load `2023.journal` for completions: + +`hledger add {{[-f|--file]}} {{path/to/2024.journal}} {{[-f|--file]}} {{path/to/2023.journal}}` + +- Provide answers for the first four prompts: + +`hledger add {{today}} '{{best buy}}' {{expenses:supplies}} '{{$20}}'` + +- Show `add`'s options and documentation with `$PAGER`: + +`hledger add {{[-h|--help]}}` + +- Show `add`'s documentation with `info` or `man` if available: + +`hledger help add` diff --git a/pages/common/hledger-aregister.md b/pages/common/hledger-aregister.md new file mode 100644 index 00000000000000..72dd88c6628070 --- /dev/null +++ b/pages/common/hledger-aregister.md @@ -0,0 +1,20 @@ +# hledger aregister + +> Show the transactions and running balances in one account, with each transaction on one line. +> More information: . + +- Show transactions and running balance in the `assets:bank:checking` account: + +`hledger {{[areg|aregister]}} assets:bank:checking` + +- Show transactions and running balance in the first account named `*savings*`: + +`hledger {{[areg|aregister]}} savings` + +- Show the checking account's cleared transactions, with a specified width: + +`hledger {{[areg|aregister]}} checking {{[-C|--cleared]}} {{[-w|--width]}} {{120}}` + +- Show the checking register, including transactions from forecast rules: + +`hledger {{[areg|aregister]}} checking --forecast` diff --git a/pages/common/hledger-balance.md b/pages/common/hledger-balance.md new file mode 100644 index 00000000000000..16f42b2f25e8d1 --- /dev/null +++ b/pages/common/hledger-balance.md @@ -0,0 +1,37 @@ +# hledger balance + +> A flexible, general purpose "summing" report that shows accounts with some kind of numeric data. +> This can be balance changes per period, end balances, budget performance, unrealised capital gains, etc. +> More information: . + +- Show the balance change in all accounts from all postings over all time: + +`hledger {{[bal|balance]}}` + +- Show the balance change in accounts named `*expenses*`, as a tree, summarising the top two levels only: + +`hledger {{[bal|balance]}} {{expenses}} {{[-t|--tree]}} {{[-2|--depth 2]}}` + +- Show expenses each month, and their totals and averages, sorted by total; and their monthly budget goals: + +`hledger {{[bal|balance]}} {{expenses}} {{[-M|--monthly]}} {{[-T|--row-total]}} {{[-A|--average]}} {{[-S|--sort-amount]}} --budget` + +- Similar to the above, matching accounts by `Expense` type, as a two level tree without squashing boring accounts: + +`hledger {{[bal|balance]}} type:{{X}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} --budget {{[-t|--tree]}} {{[-2|--depth 2]}} --no-elide` + +- Show end balances (including from postings before the start date), quarterly in 2024, in accounts named `*assets*` or `*liabilities*`: + +`hledger {{[bal|balance]}} {{[-H|--historical]}} {{[-p|--period]}} '{{quarterly in 2024}}' {{assets}} {{liabilities}}` + +- Similar to the above, also show zero balances, sort by total and summarise to three levels: + +`hledger {{[bal|balance]}} {{[-HQ|--historical --quarterly]}} date:{{2024}} type:{{AL}} {{[-ES|--empty --sort-amount]}} {{[-3|--depth 3]}}` + +- Show investment assets' market [V]alue in base currency at the end of each quarter: + +`hledger {{[bal|balance]}} {{[-HVQ|--historical --market --quarterly]}} {{assets:investments}}` + +- Show unrealised capital gains/losses from market price changes in each quarter, for non-cryptocurrency investment assets: + +`hledger {{[bal|balance]}} --gain {{[-Q|--quarterly]}} {{assets:investments}} not:{{cryptocurrency}}` diff --git a/pages/common/hledger-balancesheet.md b/pages/common/hledger-balancesheet.md new file mode 100644 index 00000000000000..5153e961d29744 --- /dev/null +++ b/pages/common/hledger-balancesheet.md @@ -0,0 +1,33 @@ +# hledger balancesheet + +> Show the end balances in asset and liability accounts. +> Amounts are shown with normal positive sign, as in conventional financial statements. +> More information: . + +- Show the current balances in `Asset` and `Liability` accounts, excluding zeros: + +`hledger {{[bs|balancesheet]}}` + +- Show just the liquid assets (`Cash` account type): + +`hledger {{[bs|balancesheet]}} type:C` + +- Include accounts with zero balances, and show the account hierarchy: + +`hledger {{[bs|balancesheet]}} {{[-E|--empty]}} {{[-t|--tree]}}` + +- Show the balances at the end of each month: + +`hledger {{[bs|balancesheet]}} {{[-M|--monthly]}}` + +- Show the balances' market value in home currency at the end of each month: + +`hledger {{[bs|balancesheet]}} {{[-M|--monthly]}} {{[-V|--market]}}` + +- Show quarterly balances, with just the top two levels of account hierarchy: + +`hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}}` + +- Same as above above, and generate HTML output in `bs.html`: + +`hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} bs.html` diff --git a/pages/common/hledger-import.md b/pages/common/hledger-import.md new file mode 100644 index 00000000000000..ab161d963ec565 --- /dev/null +++ b/pages/common/hledger-import.md @@ -0,0 +1,28 @@ +# hledger import + +> Import new transactions from one or more data files to the main journal. +> More information: . + +- Import new transactions from `bank.csv`, using `bank.csv.rules` to convert: + +`hledger import {{path/to/bank.csv}}` + +- Show what would be imported from these two files, without doing anything: + +`hledger import {{path/to/bank1.csv}} {{path/to/bank2.csv}} --dry-run` + +- Import new transactions from all CSV files, using the same rules for all: + +`hledger import --rules-file {{common.rules}} *.csv` + +- Show conversion errors or results while editing `bank.csv.rules`: + +`watchexec -- hledger {{[-f|--file]}} {{path/to/bank.csv}} print` + +- Mark `bank.csv`'s current data as seen, as if already imported: + +`hledger import --catchup {{path/to/bank.csv}}` + +- Mark `bank.csv` as all new, as if not yet imported: + +`rm {{[-f|--force]}} .latest.bank.csv` diff --git a/pages/common/hledger-incomestatement.md b/pages/common/hledger-incomestatement.md new file mode 100644 index 00000000000000..d82541762e55a0 --- /dev/null +++ b/pages/common/hledger-incomestatement.md @@ -0,0 +1,21 @@ +# hledger incomestatement + +> Show revenue inflows and expense outflows during the report period. +> Amounts are shown with normal positive sign, as in conventional financial statements. +> More information: . + +- Show revenues and expenses (changes in `Revenue` and `Expense` accounts): + +`hledger {{[is|incomestatement]}}` + +- Show revenues and expenses each month: + +`hledger {{[is|incomestatement]}} {{[-M|--monthly]}}` + +- Show monthly revenues/expenses/totals, largest first, summarised to 2 levels: + +`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}}` + +- Same as above, and generate HTML output in `is.html`: + +`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} is.html` diff --git a/pages/common/hledger-print.md b/pages/common/hledger-print.md new file mode 100644 index 00000000000000..c16d11421d99b6 --- /dev/null +++ b/pages/common/hledger-print.md @@ -0,0 +1,32 @@ +# hledger print + +> Show full journal entries, representing transactions. +> More information: . + +- Show all transactions in the default journal file: + +`hledger print` + +- Show transactions, with any implied amounts or costs made explicit: + +`hledger print {{[-x|--explicit]}} --infer-costs` + +- Show transactions from two specified files, with amounts converted to cost: + +`hledger print {{[-f|--file]}} {{path/to/2023.journal}} {{[-f|--file]}} {{path/to/2024.journal}} {{[-B|--cost]}}` + +- Show `$` transactions in `*food*` but not `*groceries*` accounts this month: + +`hledger print cur:\\$ food not:groceries date:thismonth` + +- Show transactions of amount 50 or more, with `whole foods` in their description: + +`hledger print amt:'>50' desc:'whole foods'` + +- Show cleared transactions, with `EUR` amounts rounded and with decimal commas: + +`hledger print {{[-C|--cleared]}} --commodity '1000, EUR' --round hard` + +- Write transactions from `foo.journal` as a CSV file: + +`hledger print {{[-f|--file]}} {{path/to/foo.journal}} {{[-o|--output-file]}} {{path/to/output_file.csv}}` diff --git a/pages/common/hledger-ui.md b/pages/common/hledger-ui.md new file mode 100644 index 00000000000000..017b162493f8b7 --- /dev/null +++ b/pages/common/hledger-ui.md @@ -0,0 +1,32 @@ +# hledger-ui + +> A terminal interface (TUI) for `hledger`, a robust, friendly plain text accounting app. +> More information: . + +- Start in the main menu screen, reading from the default journal file: + +`hledger-ui` + +- Start with a different color theme: + +`hledger-ui --theme {{terminal|greenterm|dark}}` + +- Start in the balance sheet accounts screen, showing hierarchy down to level 3: + +`hledger-ui --bs {{[-t|--tree]}} {{[-3|--depth 3]}}` + +- Start in this account's screen, showing cleared transactions, and reload on change: + +`hledger-ui --register {{assets:bank:checking}} {{[-C|--cleared]}} {{[-w|--watch]}}` + +- Read two journal files, and show amounts as current value when known: + +`hledger-ui {{[-f|--file]}} {{path/to/2024.journal}} {{[-f|--file]}} {{path/to/2024-prices.journal}} --value now` + +- Show the manual in Info format, if possible: + +`hledger-ui --info` + +- Display help: + +`hledger-ui {{[-h|--help]}}` diff --git a/pages/common/hledger-web.md b/pages/common/hledger-web.md new file mode 100644 index 00000000000000..9b0e349b8c5eee --- /dev/null +++ b/pages/common/hledger-web.md @@ -0,0 +1,32 @@ +# hledger-web + +> A web interface and API for `hledger`, a robust, friendly plain text accounting app. +> More information: . + +- Start the web app, and a browser if possible, for local viewing and adding only: + +`hledger-web` + +- As above but with a specified file, and allow editing of existing data: + +`hledger-web {{[-f|--file]}} {{path/to/file.journal}} --allow edit` + +- Start just the web app, and accept incoming connections to the specified host and port: + +`hledger-web --serve --host {{my.host.name}} --port 8000` + +- Start just the web app's JSON API, and allow only read access: + +`hledger-web --serve-api --host {{my.host.name}} --allow view` + +- Show amounts converted to current market value in your base currency when known: + +`hledger-web --value now --infer-market-prices` + +- Show the manual in Info format if possible: + +`hledger-web --info` + +- Display help: + +`hledger-web {{[-h|--help]}}` diff --git a/pages/common/hledger.md b/pages/common/hledger.md new file mode 100644 index 00000000000000..d484dcc62f5d94 --- /dev/null +++ b/pages/common/hledger.md @@ -0,0 +1,37 @@ +# hledger + +> A robust, friendly plain text accounting app. +> See also: `hledger-ui` for TUI, `hledger-web` for web interface. +> More information: . + +- Record new transactions interactively, saving to the default journal file: + +`hledger add` + +- Import new transactions from `bank.csv`, using `bank.csv.rules` to convert: + +`hledger import {{path/to/bank.csv}}` + +- Print all transactions, reading from multiple specified journal files: + +`hledger print {{[-f|--file]}} {{path/to/prices-2024.journal}} {{[-f|--file]}} {{path/to/prices-2023.journal}}` + +- Show all accounts, as a hierarchy, and their types: + +`hledger accounts {{[-t|--tree]}} --types` + +- Show asset and liability account balances, including zeros, hierarchically: + +`hledger {{[bs|balancesheet]}} {{[-E|--empty]}} {{[-t|--tree]}} --no-elide` + +- Show monthly incomes/expenses/totals, largest first, summarised to 2 levels: + +`hledger {{[is|incomestatement]}} {{[-M|--monthly]}} {{[-T|--row-total]}} {{[-A|--average]}} --sort {{[-2|--depth 2]}}` + +- Show the `assets:bank:checking` account's transactions and running balance: + +`hledger {{[areg|aregister]}} assets:bank:checking` + +- Show the amount spent on food from the `assets:cash` account: + +`hledger print assets:cash | hledger {{[-f|--file]}} - {{[-I|--ignore-assertions]}} aregister expenses:food` diff --git a/pages/common/hn.md b/pages/common/hn.md index ec59d86f71c164..cab995ab602991 100644 --- a/pages/common/hn.md +++ b/pages/common/hn.md @@ -1,7 +1,7 @@ # hn > Command-line interface for Hacker News. -> More information: . +> More information: . - View stories on Hacker News: @@ -9,11 +9,11 @@ - View _number_ of stories on Hacker News: -`hn --limit {{number}}` +`hn {{[-l|--limit]}} {{number}}` - View stories on Hacker News, and keep the list open after selecting a link: -`hn --keep-open` +`hn {{[-k|--keep-open]}}` - View stories on Hacker News sorted by submission date: diff --git a/pages/common/holehe.md b/pages/common/holehe.md new file mode 100644 index 00000000000000..3bfcb5c6c303c6 --- /dev/null +++ b/pages/common/holehe.md @@ -0,0 +1,12 @@ +# holehe + +> Check if an email is attached to an account on sites like Twitter, Instagram, Imgur and over 120 others. +> More information: . + +- Show status across all supported websites for the specified email address: + +`holehe {{username@example.org}}` + +- Show status for only sites where the specified email address is in use: + +`holehe {{username@example.org}} --only-used` diff --git a/pages/common/home-manager.md b/pages/common/home-manager.md index 47d51e7b4f387b..251a4d0d3cc948 100644 --- a/pages/common/home-manager.md +++ b/pages/common/home-manager.md @@ -1,12 +1,24 @@ # home-manager -> Manage a user environment using Nix. -> More information: . +> Manage a per-user environment using Nix, allowing declarative configuration of the user's home. +> More information: . -- Activate the configuration defined in `~/.config/nixpkgs/home.nix`: +- Build the configuration defined in `~/.config/nixpkgs/home.nix` without applying it: `home-manager build` -- Activate the configuration and switch to it: +- Build and apply (switch to) the new configuration: `home-manager switch` + +- Roll back to a previous configuration generation: + +`home-manager rollback` + +- List all existing configuration generations: + +`home-manager generations` + +- When using flakes, run any operation that requires nix to run (build, switch, news) by passing the path to the flake: + +`home-manager {{command}} --flake {{path/to/flake}}` diff --git a/pages/common/host.md b/pages/common/host.md index ecd88fc2f47a3b..44ff93e9c119f8 100644 --- a/pages/common/host.md +++ b/pages/common/host.md @@ -1,12 +1,13 @@ # host > Lookup Domain Name Server. +> More information: . - Lookup A, AAAA, and MX records of a domain: `host {{domain}}` -- Lookup a field (CNAME, TXT,...) of a domain: +- Lookup a field (CNAME, TXT, ...) of a domain: `host -t {{field}} {{domain}}` diff --git a/pages/common/hostapd.md b/pages/common/hostapd.md index f7c3d4fbe64921..a3bbe7113a3870 100644 --- a/pages/common/hostapd.md +++ b/pages/common/hostapd.md @@ -1,7 +1,7 @@ # hostapd > Start an access point using a wireless interface. -> More information: . +> More information: . - Start an access point: diff --git a/pages/common/hostess.md b/pages/common/hostess.md index 1a7187c317b701..e7c70d251e6646 100644 --- a/pages/common/hostess.md +++ b/pages/common/hostess.md @@ -1,9 +1,9 @@ # hostess -> An idempotent command-line utility for managing your /etc/hosts file. +> Manage the `/etc/hosts` file. > More information: . -- List domains, target ips and on/off status: +- List domains, target IP addresses and on/off status: `hostess list` @@ -15,6 +15,6 @@ `hostess del {{local.example.com}}` -- Disable a domain (but don't remove it completely): +- Disable a domain (but don't remove it): `hostess off {{local.example.com}}` diff --git a/pages/common/hostid.md b/pages/common/hostid.md index 9aff83b58e5715..322cb58d6f6ece 100644 --- a/pages/common/hostid.md +++ b/pages/common/hostid.md @@ -1,6 +1,7 @@ # hostid -> Prints the numeric identifier for the current host (not necessarily the IP address). +> Print the numeric identifier for the current host (not necessarily the IP address). +> More information: . - Display the numeric identifier for the current host in hexadecimal: diff --git a/pages/common/hostname.md b/pages/common/hostname.md new file mode 100644 index 00000000000000..7d32e1c90e3b01 --- /dev/null +++ b/pages/common/hostname.md @@ -0,0 +1,20 @@ +# hostname + +> Show or set the system's host name. +> More information: . + +- Show current host name: + +`hostname` + +- Show the network address of the host name: + +`hostname {{[-i|--ip-address]}}` + +- Show the FQDN (Fully Qualified Domain Name): + +`hostname {{[-f|--fqdn]}}` + +- Set current host name: + +`hostname {{new_hostname}}` diff --git a/pages/common/hping.md b/pages/common/hping.md index a171899d43cee1..a87e70fb7cc375 100644 --- a/pages/common/hping.md +++ b/pages/common/hping.md @@ -1,25 +1,7 @@ # hping -> Command-line oriented TCP/IP packet assembler and analyzer. -> Inspired by the `ping` command. -> More information: . +> This command is an alias of `hping3`. -- Ping localhost over TCP: +- View documentation for the original command: -`hping3 {{localhost}}` - -- Ping an IP address over TCP on a specific port: - -`hping3 -p {{80}} -S {{192.168.1.1}}` - -- Ping an IP address over UDP on port 80: - -`hping3 --udp -p {{80}} -S {{192.168.1.1}}` - -- Scan a set of TCP ports on a specific IP address: - -`hping3 --scan {{80,3000,9000}} -S {{192.168.1.1}}` - -- Perform a charge test on port 80: - -`hping3 --flood -p {{80}} -S {{192.168.1.1}}` +`tldr hping3` diff --git a/pages/common/hping3.md b/pages/common/hping3.md new file mode 100644 index 00000000000000..4c66d76493b3e4 --- /dev/null +++ b/pages/common/hping3.md @@ -0,0 +1,33 @@ +# hping3 + +> Advanced ping utility which supports protocols such TCP, UDP, and raw IP. +> Best run with elevated privileges. +> More information: . + +- Ping a destination with 4 ICMP ping requests: + +`hping3 --icmp --count {{4}} {{ip_or_hostname}}` + +- Ping an IP address over UDP on port 80: + +`hping3 --udp --destport {{80}} --syn {{ip_or_hostname}}` + +- Scan TCP port 80, scanning from the specific local source port 5090: + +`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_or_hostname}}` + +- Traceroute using a TCP scan to a specific destination port: + +`hping3 --traceroute --verbose --syn --destport {{80}} {{ip_or_hostname}}` + +- Scan a set of TCP ports on a specific IP address: + +`hping3 --scan {{80,3000,9000}} --syn {{ip_or_hostname}}` + +- Perform a TCP ACK scan to check if a given host is alive: + +`hping3 --count {{2}} --verbose --destport {{80}} --ack {{ip_or_hostname}}` + +- Perform a charge test on port 80: + +`hping3 --flood --destport {{80}} --syn {{ip_or_hostname}}` diff --git a/pages/common/hr.md b/pages/common/hr.md index 52e5fedd19272d..1474700b29976c 100644 --- a/pages/common/hr.md +++ b/pages/common/hr.md @@ -1,6 +1,7 @@ # hr > Print a horizontal rule in the terminal. +> More information: . - Print a horizontal rule: @@ -12,4 +13,4 @@ - Print a multiline horizontal rule: -`hr {{string_a}} {{string_b}} {{string_c}}` +`hr {{string1 string2 ...}}` diff --git a/pages/common/hsd-cli.md b/pages/common/hsd-cli.md index 9cb73abce6314b..8eb793d846dc92 100644 --- a/pages/common/hsd-cli.md +++ b/pages/common/hsd-cli.md @@ -1,6 +1,6 @@ # hsd-cli -> The command line REST tool for the Handshake blockchain. +> The REST tool for the Handshake blockchain. > More information: . - Retrieve information about the current server: diff --git a/pages/common/hsw-cli.md b/pages/common/hsw-cli.md index 7898f022e2d9fd..209ddccb9174fe 100644 --- a/pages/common/hsw-cli.md +++ b/pages/common/hsw-cli.md @@ -1,7 +1,7 @@ # hsw-cli -> The command line REST tool for the Handshake wallet. -> More information: . +> The REST tool for the Handshake wallet. +> More information: . - Unlock the current wallet (timeout in seconds): diff --git a/pages/common/html5validator.md b/pages/common/html5validator.md index 5e718fb1b02d04..be0c5d66dd4574 100644 --- a/pages/common/html5validator.md +++ b/pages/common/html5validator.md @@ -1,6 +1,6 @@ # html5validator -> A command line tool for testing HTML5 validity. +> Validate HTML5. > More information: . - Validate a specific file: diff --git a/pages/common/htmlq.md b/pages/common/htmlq.md new file mode 100644 index 00000000000000..ca56e697917bb2 --- /dev/null +++ b/pages/common/htmlq.md @@ -0,0 +1,24 @@ +# htmlq + +> Use CSS selectors to extract content from HTML files. +> More information: . + +- Return all elements of class `card`: + +`cat {{path/to/file.html}} | htmlq '.card'` + +- Get the text content of the first paragraph: + +`cat {{path/to/file.html}} | htmlq --text 'p:first-of-type'` + +- Find all the links in a page: + +`cat {{path/to/file.html}} | htmlq --attribute href 'a'` + +- Remove all images and SVGs from a page: + +`cat {{path/to/file.html}} | htmlq --remove-nodes 'img' --remove-nodes 'svg'` + +- Pretty print and write the output to a file: + +`htmlq --pretty --filename {{path/to/input.html}} --output {{path/to/output.html}}` diff --git a/pages/common/htop.md b/pages/common/htop.md index a4da2b15d930c2..8100c14acb2708 100644 --- a/pages/common/htop.md +++ b/pages/common/htop.md @@ -1,19 +1,38 @@ # htop -> Display dynamic real-time information about running processes. An enhanced version of `top`. +> Display dynamic real-time information about running processes. +> An enhanced version of `top`. +> See also: `top`, `atop`, `glances`, `btop`, `btm`. +> More information: . -- Start htop: +- Start `htop`: `htop` -- Start htop displaying only processes owned by given user: +- Start `htop` displaying processes owned by a specific user: -`htop -u {{username}}` +`htop {{[-u|--user]}} {{username}}` -- Sort processes by a column (use `--sort-key help` for a column list): +- Display processes hierarchically in a tree view to show the parent-child relationships: -`htop -s {{column_name}}` +`htop {{[-t|--tree]}}` -- Get help about interactive commands: +- Sort processes by a specified `sort_item` (use `htop --sort help` for available options): -`?` +`htop {{[-s|--sort]}} {{sort_item}}` + +- Start `htop` with the specified delay between updates, in tenths of a second (i.e. 50 = 5 seconds): + +`htop {{[-d|--delay]}} {{50}}` + +- Disable all system and process changing features: + +`htop --readonly` + +- See interactive commands while running htop: + +`{{|}}` + +- Switch to a different tab: + +`` diff --git a/pages/common/http-server-upload.md b/pages/common/http-server-upload.md new file mode 100644 index 00000000000000..222d6297f23900 --- /dev/null +++ b/pages/common/http-server-upload.md @@ -0,0 +1,28 @@ +# http-server-upload + +> Zero-configuration HTTP server which provides a lightweight interface to upload files. +> More information: . + +- Start an HTTP server on the default port to upload files to the current directory: + +`http-server-upload` + +- Start an HTTP server with the specified maximum allowed file size for uploads in MiB (defaults to 200 MiB): + +`MAX_FILE_SIZE={{size_in_megabytes}} http-server-upload` + +- Start an HTTP server on a specific port to upload files to the current directory: + +`PORT={{port}} http-server-upload` + +- Start an HTTP server, storing the uploaded files in a specific directory: + +`UPLOAD_DIR={{path/to/directory}} http-server-upload` + +- Start an HTTP server using a specific directory to temporarily store files during the upload process: + +`UPLOAD_TMP_DIR={{path/to/directory}} http-server-upload` + +- Start an HTTP server accepting uploads with a specific token field in the HTTP post: + +`TOKEN={{secret}} http-server-upload` diff --git a/pages/common/http-server.md b/pages/common/http-server.md new file mode 100644 index 00000000000000..d486e931ef5eb2 --- /dev/null +++ b/pages/common/http-server.md @@ -0,0 +1,36 @@ +# http-server + +> Simple static HTTP server to serve static files. +> More information: . + +- Start an HTTP server listening on the default port to serve the current directory: + +`http-server` + +- Start an HTTP server on a specific port to serve a specific directory: + +`http-server {{path/to/directory}} {{[-p|--port]}} {{port}}` + +- Start an HTTP server using basic authentication: + +`http-server --username {{username}} --password {{password}}` + +- Start an HTTP server with directory listings disabled: + +`http-server -d {{false}}` + +- Start an HTTPS server on the default port using the specified certificate: + +`http-server {{[-S|--ssl]}} {{[-C|--cert]}} {{path/to/cert.pem}} {{[-K|--key]}} {{path/to/key.pem}}` + +- Start an HTTP server and include the client's IP address in the output logging: + +`http-server --log-ip` + +- Start an HTTP server with CORS enabled by including the `Access-Control-Allow-Origin: *` header in all responses: + +`http-server --cors` + +- Start an HTTP server with logging disabled: + +`http-server {{[-s|--silent]}}` diff --git a/pages/common/http.md b/pages/common/http.md index 3adbf30e51b003..4e4a53d2716998 100644 --- a/pages/common/http.md +++ b/pages/common/http.md @@ -1,32 +1,36 @@ # http -> HTTPie: HTTP client, aims to be easier to use than cURL. -> More information: . +> HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs and HTTP servers. +> More information: . -- Download a URL to a file: +- Make a simple GET request (shows response headers and content): -`http -d {{example.org}}` +`http {{https://example.com}}` -- Send form-encoded data: +- Print specific parts of the content (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata): -`http -f {{example.org}} {{name='bob'}} {{profile_picture@'bob.png'}}` +`http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}` -- Send JSON object: +- Specify the HTTP method when sending a request and use a proxy to intercept the request: -`http {{example.org}} {{name='bob'}}` +`http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}` -- Specify an HTTP method: +- Follow any `3xx` redirects and specify additional headers in a request: -`http {{HEAD}} {{example.org}}` +`http {{[-F|--follow]}} {{https://example.com}} {{'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'}}` -- Include an extra header: +- Authenticate to a server using different authentication methods: -`http {{example.org}} {{X-MyHeader:123}}` +`http {{[-a|--auth]}} {{username:password|token}} {{[-A|--auth-type]}} {{basic|digest|bearer}} {{GET|POST|...}} {{https://example.com/auth}}` -- Pass a user name and password for server authentication: +- Construct a request but do not send it (similar to a dry-run): -`http -a {{username:password}} {{example.org}}` +`http --offline {{GET|DELETE|...}} {{https://example.com}}` -- Specify raw request body via `stdin`: +- Use named sessions for persistent custom headers, auth credentials and cookies: -`cat {{data.txt}} | http PUT {{example.org}}` +`http --session {{session_name|path/to/session.json}} {{[-a|--auth]}} {{username}}:{{password}} {{https://example.com/auth}} {{API-KEY:xxx}}` + +- Upload a file to a form (the example below assumes that the form field is ``): + +`http {{[-f|--form]}} {{POST}} {{https://example.com/upload}} {{cv@path/to/file}}` diff --git a/pages/common/httpflow.md b/pages/common/httpflow.md index 23fa626f593255..44765634f05ef2 100644 --- a/pages/common/httpflow.md +++ b/pages/common/httpflow.md @@ -1,6 +1,6 @@ # httpflow -> A command line utility to capture and dump HTTP streams. +> A utility to capture and dump HTTP streams. > More information: . - Capture traffic on all interfaces: @@ -11,11 +11,11 @@ `httpflow {{host httpbin.org or host baidu.com}}` -- Use a regexp to filter requests by urls: +- Use a `regex` to filter requests by URLs: `httpflow -u '{{regex}}'` -- Read packets from pcap format binary file: +- Read packets from PCAP format binary file: `httpflow -r {{out.cap}}` diff --git a/pages/common/httpie.md b/pages/common/httpie.md new file mode 100644 index 00000000000000..87dd07e31ea5e4 --- /dev/null +++ b/pages/common/httpie.md @@ -0,0 +1,17 @@ +# httpie + +> Management interface for HTTPie. +> See also: `http`, the tool itself. +> More information: . + +- Check updates for `http`: + +`httpie cli check-updates` + +- List installed `http` plugins: + +`httpie cli plugins list` + +- Install/upgrade/uninstall plugins: + +`httpie cli plugins {{install|upgrade|uninstall}} {{plugin_name}}` diff --git a/pages/common/httping.md b/pages/common/httping.md index 90b73b67cd606b..7cdc3b67664665 100644 --- a/pages/common/httping.md +++ b/pages/common/httping.md @@ -1,9 +1,9 @@ # httping > Measure the latency and throughput of a web server. -> More information: . +> More information: . -- Ping the specified url: +- Ping the specified URL: `httping -g {{url}}` diff --git a/pages/common/httprobe.md b/pages/common/httprobe.md index f5429e110added..53992cd62ee6c4 100644 --- a/pages/common/httprobe.md +++ b/pages/common/httprobe.md @@ -15,6 +15,6 @@ `cat {{input_file}} | httprobe -p {{https:2222}}` -- Output all available options: +- Display help: `httprobe --help` diff --git a/pages/common/httpry.md b/pages/common/httpry.md index 23a6c66bfddd95..0b1c6a25a679bc 100644 --- a/pages/common/httpry.md +++ b/pages/common/httpry.md @@ -2,13 +2,13 @@ > A lightweight packet sniffer for displaying and logging HTTP traffic. > It can be run in real-time displaying the traffic as it is parsed, or as a daemon process that logs to an output file. -> More information: . +> More information: . - Save output to a file: `httpry -o {{path/to/file.log}}` -- Listen on a specific interface and save output to a binary pcap format file: +- Listen on a specific interface and save output to a binary PCAP format file: `httpry {{eth0}} -b {{path/to/file.pcap}}` diff --git a/pages/common/https.md b/pages/common/https.md new file mode 100644 index 00000000000000..e195d51bb9e961 --- /dev/null +++ b/pages/common/https.md @@ -0,0 +1,7 @@ +# https + +> This command is an alias of `http`. + +- View documentation for the original command: + +`tldr http` diff --git a/pages/common/httpx.md b/pages/common/httpx.md new file mode 100644 index 00000000000000..1a6e33c97ff041 --- /dev/null +++ b/pages/common/httpx.md @@ -0,0 +1,37 @@ +# httpx + +> A fast and multi-purpose HTTP toolkit written in Go to run multiple probes at once. +> Note: Not to be confused with the unrelated Python's HTTPX which has the same command name. +> More information: . + +- Run a probe against a [u]RL, host, IP Address or subnet (CIDR notation) showing probe status: + +`httpx -probe {{[-u|-target]}} {{url|host|ipaddress|subnet_with_cidr}}` + +- Run a probe against multiple hosts showing status code with input from `subfinder`: + +`subfinder {{[-d|-domain]}} {{example.com}} | httpx {{[-sc|-status-code]}}` + +- Run a rate limited probe against a list of hosts from a file showing technology detected and response time: + +`httpx {{[-rl|-rate-limit]}} {{150}} {{[-l|-list]}} {{path/to/newline_separated_hosts_list}} {{[-td|-tech-detect]}} {{[-rt|-response-time]}}` + +- Run a probe against a [u]RL showing its webpage title, CDN/WAF in use, and page content hash: + +`httpx {{[-u|-target]}} {{url}} -title -cdn -hash {{sha256}}` + +- Run a probe against a list of hosts with custom defined ports and timeout after certain seconds: + +`httpx -probe {{[-u|-target]}} {{host1,host2,...}} {{[-p|-ports]}} http:{{80,8000-8080}},https:{{443,8443}} -timeout {{10}}` + +- Run a probe against a list of hosts filtering out codes of certain responses: + +`httpx {{[-u|-target]}} {{host1,host2,...}} {{[-fc|-filter-code]}} {{400,401,404}}` + +- Run a probe against a list of hosts matching codes of certain responses: + +`httpx {{[-u|-target]}} {{host1,host2,...}} {{[-mc|-match-code]}} {{200,301,304}}` + +- Run a probe against a URL saving screenshots of certain paths, with screenshot timeouts (assets are saved in `./output`): + +`httpx {{[-u|-target]}} {{https://www.github.com}} -path {{/tldr-pages/tldr,/projectdiscovery/httpx}} {{[-ss|-screenshot]}} {{[-st|-screenshot-timeout]}} {{10}}` diff --git a/pages/common/hub-branch.md b/pages/common/hub-branch.md new file mode 100644 index 00000000000000..c1296949df0352 --- /dev/null +++ b/pages/common/hub-branch.md @@ -0,0 +1,12 @@ +# hub branch + +> Create a branch or show current branch. +> See also: `git branch`. + +- Show the name of the currently active branch: + +`hub branch` + +- Create a new branch: + +`hub branch {{branch_name}}` diff --git a/pages/common/hub-browse.md b/pages/common/hub-browse.md new file mode 100644 index 00000000000000..a4efb1f365af61 --- /dev/null +++ b/pages/common/hub-browse.md @@ -0,0 +1,16 @@ +# hub browse + +> Open a GitHub repository in the browser or print the URL. +> More information: . + +- Open the homepage of the current repository in the default web browser: + +`hub browse` + +- Open the homepage of a specific repository in the default web browser: + +`hub browse {{owner}}/{{repository}}` + +- Open the subpage of a specific repository in the default web browser, subpage can be "wiki", "commits", "issues", or other (default: "tree"): + +`hub browse {{owner}}/{{repository}} {{subpage}}` diff --git a/pages/common/hub-ci-status.md b/pages/common/hub-ci-status.md new file mode 100644 index 00000000000000..56792496f87a96 --- /dev/null +++ b/pages/common/hub-ci-status.md @@ -0,0 +1,12 @@ +# hub ci-status + +> Display status of GitHub checks. +> More information: . + +- Check the CI status for this branch: + +`hub ci-status {{[-v|--verbose]}}` + +- Display status of GitHub checks for a commit: + +`hub ci-status {{[-v|--verbose]}} {{commit_SHA}}` diff --git a/pages/common/hub-clone.md b/pages/common/hub-clone.md new file mode 100644 index 00000000000000..81c48e9634e8ed --- /dev/null +++ b/pages/common/hub-clone.md @@ -0,0 +1,8 @@ +# hub clone + +> Clone an existing repository. +> More information: . + +- Clone an existing repository to current directory (If run into authentication problem, try full SSH path): + +`hub clone {{remote_repository_location}}` diff --git a/pages/common/hub-create.md b/pages/common/hub-create.md new file mode 100644 index 00000000000000..8d8fa5b389034b --- /dev/null +++ b/pages/common/hub-create.md @@ -0,0 +1,12 @@ +# hub create + +> Create a new repository on GitHub. +> More information: . + +- Upload the current (local-only) repository to your GitHub account as public: + +`hub create` + +- Create a private repository and open the new repository in a web browser: + +`hub create {{[-p|--private]}} {{[-o|--browse]}}` diff --git a/pages/common/hub-delete.md b/pages/common/hub-delete.md new file mode 100644 index 00000000000000..26da0e17038ad0 --- /dev/null +++ b/pages/common/hub-delete.md @@ -0,0 +1,8 @@ +# hub delete + +> Delete an existing repository on GitHub. +> More information: . + +- Delete personal repo on GitHub: + +`hub delete {{repo}}` diff --git a/pages/common/hub-fork.md b/pages/common/hub-fork.md new file mode 100644 index 00000000000000..ef7b7f925b2410 --- /dev/null +++ b/pages/common/hub-fork.md @@ -0,0 +1,16 @@ +# hub fork + +> Fork a GitHub repo. Like `git fork` from `git-extras`. +> More information: . + +- Fork a GitHub repository by its slug: + +`hub fork {{tldr-pages/tldr}}` + +- Fork a GitHub repository by its URL: + +`hub fork {{https://github.com/tldr-pages/tldr}}` + +- Fork current GitHub repository, set remote name to origin: + +`hub fork --remote-name {{origin}}` diff --git a/pages/common/hub-init.md b/pages/common/hub-init.md new file mode 100644 index 00000000000000..9279e3dccb8412 --- /dev/null +++ b/pages/common/hub-init.md @@ -0,0 +1,8 @@ +# hub init + +> Initializes a new local Git repository. +> More information: . + +- Initialize a new local repository: + +`hub init` diff --git a/pages/common/hub-issue.md b/pages/common/hub-issue.md new file mode 100644 index 00000000000000..a883fe83027f01 --- /dev/null +++ b/pages/common/hub-issue.md @@ -0,0 +1,16 @@ +# hub issue + +> Manage Github issues. +> More information: . + +- List the last 10 issues with the `bug` label: + +`hub issue list {{[-L|--limit]}} {{10}} {{[-l|--labels]}} "{{bug}}"` + +- Display a specific issue: + +`hub issue show {{issue_number}}` + +- List 10 closed issues assigneed to a specific user: + +`hub issue {{[-s|--state]}} {{closed}} {{[-a|--assignee]}} {{username}} --limit {{10}}` diff --git a/pages/common/hub.md b/pages/common/hub.md index bc4f012cc52ab2..99bc6b5df0caf2 100644 --- a/pages/common/hub.md +++ b/pages/common/hub.md @@ -2,13 +2,9 @@ > A wrapper for Git that adds commands for working with GitHub-based projects. > If set up as instructed by `hub alias`, one can use `git` to run `hub` commands. -> More information: . +> More information: . -- Clone a repository you own, using just the repository name rather than the full URL: - -`hub clone {{repo_name}}` - -- Clone another user's repository, using their GitHub username and the repository name: +- Clone a repository using its slug (owners can omit the username): `hub clone {{username}}/{{repo_name}}` @@ -31,3 +27,7 @@ - Upload the current (local-only) repository to your GitHub account: `hub create` + +- Fetch Git objects from upstream and update local branches: + +`hub sync` diff --git a/pages/common/huggingface-cli.md b/pages/common/huggingface-cli.md new file mode 100644 index 00000000000000..cbda4972f4bc35 --- /dev/null +++ b/pages/common/huggingface-cli.md @@ -0,0 +1,37 @@ +# huggingface-cli + +> Interact with Hugging Face Hub. +> Login, manage local cache, download or upload files. +> More information: . + +- Login to Hugging Face Hub: + +`huggingface-cli login` + +- Display the name of the logged in user: + +`huggingface-cli whoami` + +- Log out: + +`huggingface-cli logout` + +- Print information about the environment: + +`huggingface-cli env` + +- Download files from an repository and print out the path (omit filenames to download entire repository): + +`huggingface-cli download --repo-type {{repo_type}} {{repo_id}} {{filename1 filename2 ...}}` + +- Upload an entire folder or a file to Hugging Face: + +`huggingface-cli upload --repo-type {{repo_type}} {{repo_id}} {{path/to/local_file_or_directory}} {{path/to/repo_file_or_directory}}` + +- Scan cache to see downloaded repositories and their disk usage: + +`huggingface-cli scan-cache` + +- Delete the cache interactively: + +`huggingface-cli delete-cache` diff --git a/pages/common/hugo-server.md b/pages/common/hugo-server.md new file mode 100644 index 00000000000000..e93964228fe395 --- /dev/null +++ b/pages/common/hugo-server.md @@ -0,0 +1,24 @@ +# hugo server + +> Build and serve a site with Hugo's built-in webserver. +> More information: . + +- Build and serve a site: + +`hugo server` + +- Build and serve a site on a specified port number: + +`hugo server {{[-p|--port]}} {{port_number}}` + +- Build and serve a site while minifying supported output formats (HTML, XML, etc.): + +`hugo server --minify` + +- Build and serve a site in the production environment with full re-renders while minifying supported formats: + +`hugo server {{[-e|--environment]}} {{production}} --disableFastRender --minify` + +- Display help: + +`hugo server {{[-h|--help]}}` diff --git a/pages/common/hugo.md b/pages/common/hugo.md index b2c24d22008a6d..6edb6906ab02b4 100644 --- a/pages/common/hugo.md +++ b/pages/common/hugo.md @@ -1,19 +1,20 @@ # hugo > Template-based static site generator. Uses modules, components, and themes. -> More information: . +> Some subcommands such as `server` have their own usage documentation. +> More information: . - Create a new Hugo site: `hugo new site {{path/to/site}}` -- Create a new Hugo theme (themes may also be downloaded from https://themes.gohugo.io/): +- Create a new Hugo theme (themes may also be downloaded from ): `hugo new theme {{theme_name}}` - Create a new page: -`hugo new {{section_name}}/{{filename}}` +`hugo new {{section_name}}/{{page_name}}` - Build a site to the `./public/` directory: @@ -21,11 +22,15 @@ - Build a site including pages that are marked as a "draft": -`hugo --buildDrafts` +`hugo {{[-D|--buildDrafts]}}` + +- Build a site on your local IP: + +`hugo server --bind {{local_ip}} {{[-b|--baseURL]}} {{http://local_ip}}` - Build a site to a given directory: -`hugo --destination {{path/to/destination}}` +`hugo {{[-d|--destination]}} {{path/to/destination}}` - Build a site, start up a webserver to serve it, and automatically reload when pages are edited: diff --git a/pages/common/hunspell.md b/pages/common/hunspell.md index e6d9cec5133713..21551668efe29b 100644 --- a/pages/common/hunspell.md +++ b/pages/common/hunspell.md @@ -1,7 +1,7 @@ # hunspell > Check spelling. -> More information: . +> More information: . - Check the spelling of a file: diff --git a/pages/common/husky.md b/pages/common/husky.md new file mode 100644 index 00000000000000..c3d93d105ce101 --- /dev/null +++ b/pages/common/husky.md @@ -0,0 +1,28 @@ +# husky + +> Native Git hooks made easy. +> More information: . + +- Install Husky in the current directory: + +`husky install` + +- Install Husky into a specific directory: + +`husky install {{path/to/directory}}` + +- Set a specific command as a `pre-push` hook for Git: + +`husky set {{.husky/pre-push}} "{{command}} {{command_arguments}}"` + +- Add a specific command to the current `pre-commit` hook: + +`husky add {{.husky/pre-commit}} "{{command}} {{command_arguments}}"` + +- Uninstall Husky hooks from the current directory: + +`husky uninstall` + +- Display help: + +`husky` diff --git a/pages/common/hut.md b/pages/common/hut.md new file mode 100644 index 00000000000000..db99614fc49b0b --- /dev/null +++ b/pages/common/hut.md @@ -0,0 +1,28 @@ +# hut + +> A CLI tool for sourcehut. +> More information: . + +- Initialize `hut`'s configuration file (this will prompt for an OAuth2 access token, which is required to use `hut`): + +`hut init` + +- List Git/Mercurial repositories: + +`hut {{git|hg}} list` + +- Create a public Git/Mercurial repository: + +`hut {{git|hg}} create {{name}}` + +- List jobs on : + +`hut builds list` + +- Show the status of a job: + +`hut builds show {{job_id}}` + +- SSH into a job container: + +`hut ssh {{job_id}}` diff --git a/pages/common/hx.md b/pages/common/hx.md new file mode 100644 index 00000000000000..08d7a8a08bfab4 --- /dev/null +++ b/pages/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> This command is an alias of `helix`. + +- View documentation for the original command: + +`tldr helix` diff --git a/pages/common/hydra.md b/pages/common/hydra.md index c7217f0a2e24c3..7977b2155e77e9 100644 --- a/pages/common/hydra.md +++ b/pages/common/hydra.md @@ -2,7 +2,7 @@ > Online password guessing tool. > Protocols supported include FTP, HTTP(S), SMTP, SNMP, XMPP, SSH, and more. -> More information: . +> More information: . - Start Hydra's wizard: @@ -12,9 +12,9 @@ `hydra -l {{username}} -P {{path/to/wordlist.txt}} {{host_ip}} {{ssh}}` -- Guess Telnet credentials using a list of usernames and a single password, specifying a non-standard port and IPv6: +- Guess HTTPS webform credentials using two specific lists of usernames and passwords ("https_post_request" can be like "username=^USER^&password=^PASS^"): -`hydra -L {{path/to/usernames.txt}} -p {{password}} -s {{port}} -6 {{host_ip}} {{telnet}}` +`hydra -L {{path/to/usernames.txt}} -P {{path/to/wordlist.txt}} {{host_ip}} {{https-post-form}} "{{url_without_host}}:{{https_post_request}}:{{login_failed_string}}"` - Guess FTP credentials using usernames and passwords lists, specifying the number of threads: diff --git a/pages/common/hyperfine.md b/pages/common/hyperfine.md index 50e14eb03eb04a..047d9a4e0b6508 100644 --- a/pages/common/hyperfine.md +++ b/pages/common/hyperfine.md @@ -1,6 +1,6 @@ # hyperfine -> A command-line benchmarking tool. +> A benchmarking tool. > More information: . - Run a basic benchmark, performing at least 10 runs: @@ -13,16 +13,16 @@ - Change minimum number of benchmarking runs: -`hyperfine --min-runs {{7}} '{{make}}'` +`hyperfine {{[-m|--min-runs]}} {{7}} '{{make}}'` - Perform benchmark with warmup: -`hyperfine --warmup {{5}} '{{make}}'` +`hyperfine {{[-w|--warmup]}} {{5}} '{{make}}'` - Run a command before each benchmark run (to clear caches, etc.): -`hyperfine --prepare '{{make clean}}' '{{make}}'` +`hyperfine {{[-p|--prepare]}} '{{make clean}}' '{{make}}'` - Run a benchmark where a single parameter changes for each run: -`hyperfine --prepare '{{make clean}}' --parameter-scan {{num_threads}} {{1}} {{10}} '{{make -j {num_threads}}}'` +`hyperfine {{[-p|--prepare]}} '{{make clean}}' {{[-P|--parameter-scan]}} {{num_threads}} {{1}} {{10}} '{{make --jobs {num_threads}}}'` diff --git a/pages/common/i3-msg.md b/pages/common/i3-msg.md new file mode 100644 index 00000000000000..7d008da8077743 --- /dev/null +++ b/pages/common/i3-msg.md @@ -0,0 +1,17 @@ +# i3-msg + +> Send messages to a running instance of i3 using IPC. +> See for available commands. +> More information: . + +- Run an i3 command: + +`i3-msg {{command}}` + +- Print a list of workspaces in JSON: + +`i3-msg -t get_workspaces` + +- Print a layout tree of all open windows, containers, outputs, and workspaces in JSON: + +`i3-msg -t get_tree` diff --git a/pages/common/i3-nagbar.md b/pages/common/i3-nagbar.md new file mode 100644 index 00000000000000..793ed04b30afe7 --- /dev/null +++ b/pages/common/i3-nagbar.md @@ -0,0 +1,28 @@ +# i3-nagbar + +> Display an error/warning in a bar on top of a screen. +> More information: . + +- Display an error: + +`i3-nagbar {{[-m|--message]}} "{{error message}}"` + +- Display a warning: + +`i3-nagbar {{[-t|--type]}} warning {{[-m|--message]}} "{{warning message}}"` + +- Use the specified font: + +`i3-nagbar {{[-f|--font]}} "{{pango:monospace bold 9}}" {{[-m|--message]}} "{{error message}}"` + +- Create a button and run a command in a terminal on click: + +`i3-nagbar {{[-b|--button]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"` + +- Create a button and run a command on click: + +`i3-nagbar {{[-B|--button-no-terminal]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"` + +- Always open `i3-nagbar` on the primary monitor (default: focused monitor): + +`i3-nagbar {{[-pm|--primary --message]}} "{{error message}}"` diff --git a/pages/common/i3.md b/pages/common/i3.md new file mode 100644 index 00000000000000..6f1f17fdfef018 --- /dev/null +++ b/pages/common/i3.md @@ -0,0 +1,32 @@ +# i3 + +> A tiling window manager for X11. +> More information: . + +- Start `i3` (Note that a pre-existing window manager must not be open when this command is run): + +`i3` + +- Open a new terminal window: + +`` + +- Move the focused window to a workspace: + +`` + +- Switch to a workspace: + +`` + +- Split the next window horizontally: + +`` + +- Split the next window vertically: + +`` + +- Open an application launcher: + +`` diff --git a/pages/common/i3lock.md b/pages/common/i3lock.md new file mode 100644 index 00000000000000..44871f6d09ee56 --- /dev/null +++ b/pages/common/i3lock.md @@ -0,0 +1,32 @@ +# i3lock + +> Simple screen locker built for the i3 window manager. +> More information: . + +- Lock the screen showing a white background: + +`i3lock` + +- Lock the screen with a simple color background (rrggbb format): + +`i3lock {{[-c|--color]}} {{0000ff}}` + +- Lock the screen to a PNG background: + +`i3lock {{[-i|--image]}} {{path/to/file.png}}` + +- Lock the screen and disable the unlock indicator (removes feedback on keypress): + +`i3lock {{[-u|--no-unlock-indicator]}}` + +- Lock the screen and don't hide the mouse pointer: + +`i3lock {{[-p|--pointer]}} {{default}}` + +- Lock the screen to a PNG background tiled over all monitors: + +`i3lock {{[-i|--image]}} {{path/to/file.png}} {{[-t|--tiling]}}` + +- Lock the screen and show the number of failed login attempts: + +`i3lock {{[-f|--show-failed-attempts]}}` diff --git a/pages/common/ia.md b/pages/common/ia.md new file mode 100644 index 00000000000000..12a5b3a87be1a6 --- /dev/null +++ b/pages/common/ia.md @@ -0,0 +1,24 @@ +# ia + +> Tool to interact with `archive.org`. +> More information: . + +- Configure `ia` with API keys (some functions won't work without this step): + +`ia configure` + +- Upload one or more items to `archive.org`: + +`ia upload {{identifier}} {{path/to/file}} --metadata="{{mediatype:data}}" --metadata="{{title:example}}"` + +- Download one or more items from `archive.org`: + +`ia download {{item}}` + +- Delete one or more items from `archive.org`: + +`ia delete {{identifier}} {{file}}` + +- Search on `archive.org`, returning results as JSON: + +`ia search '{{subject:"subject" collection:collection}}'` diff --git a/pages/common/ibmcloud-api.md b/pages/common/ibmcloud-api.md new file mode 100644 index 00000000000000..ce6a183ae63770 --- /dev/null +++ b/pages/common/ibmcloud-api.md @@ -0,0 +1,28 @@ +# ibmcloud api + +> Set or view the IBM Cloud API endpoint. +> More information: . + +- View the current API endpoint: + +`ibmcloud api` + +- Set the API endpoint to `cloud.ibm.com`: + +`ibmcloud api cloud.ibm.com` + +- Set a private API endpoint: + +`ibmcloud api private.cloud.ibm.com` + +- Use a VPC connection for a private endpoint: + +`ibmcloud api private.cloud.ibm.com --vpc` + +- Bypass SSL validation of HTTP requests: + +`ibmcloud api https://cloud.ibm.com --skip-ssl-validation` + +- Remove the API endpoint setting: + +`ibmcloud api --unset` diff --git a/pages/common/ibmcloud-config.md b/pages/common/ibmcloud-config.md new file mode 100644 index 00000000000000..49e51d836bee0f --- /dev/null +++ b/pages/common/ibmcloud-config.md @@ -0,0 +1,28 @@ +# ibmcloud config + +> Modify or read out values in the IBM Cloud CLI configuration. +> More information: . + +- Set HTTP request timeout to 30 seconds: + +`ibmcloud config --http-timeout 30` + +- Enable trace output for HTTP requests: + +`ibmcloud config --trace true` + +- Trace HTTP requests to a specific file: + +`ibmcloud config --trace {{path/to/trace_file}}` + +- Disable color output: + +`ibmcloud config --color false` + +- Set the locale to a specific language: + +`ibmcloud config --locale {{zh_Hans}}` + +- Enable automatic SSO one-time passcode acceptance: + +`ibmcloud config --sso-otp auto` diff --git a/pages/common/ibmcloud-cr.md b/pages/common/ibmcloud-cr.md new file mode 100644 index 00000000000000..d8cfc6af084400 --- /dev/null +++ b/pages/common/ibmcloud-cr.md @@ -0,0 +1,28 @@ +# ibmcloud cr + +> Manage IBM Cloud Container Registry content and configuration. +> More information: . + +- Set target region for IBM Cloud Container Registry: + +`ibmcloud cr region-set` + +- List images available: + +`ibmcloud cr {{[images|image-list]}}` + +- Inspect an image data: + +`ibmcloud cr image-inspect {{image}}` + +- Run vulnerability assessment on an image: + +`ibmcloud cr {{[va|vulnerability-assessment]}} {{image}}` + +- Log the local Docker or Podman client in to IBM Cloud Container Registry: + +`ibmcloud cr login` + +- List all actions available under this command: + +`ibmcloud cr help` diff --git a/pages/common/ibmcloud-iam.md b/pages/common/ibmcloud-iam.md new file mode 100644 index 00000000000000..d7831b89a10fb7 --- /dev/null +++ b/pages/common/ibmcloud-iam.md @@ -0,0 +1,20 @@ +# ibmcloud iam + +> Manage identities and access to resources. +> More information: . + +- List service IDs in an account: + +`ibmcloud iam service-ids` + +- List all API keys for a service ID: + +`ibmcloud iam service-api-keys {{service_id}}` + +- Create an API key for a service ID with a description and without confirmation: + +`ibmcloud iam service-api-key-create {{api_key_name}} {{service_id}} {{[-d|--description]}} {{description}} {{[-f|--force]}}` + +- List all actions available under this command: + +`ibmcloud iam help` diff --git a/pages/common/ibmcloud-ks.md b/pages/common/ibmcloud-ks.md new file mode 100644 index 00000000000000..b204a0274ce65d --- /dev/null +++ b/pages/common/ibmcloud-ks.md @@ -0,0 +1,24 @@ +# ibmcloud ks + +> Manage Kubernetes and OpenShift clusters in IBM Cloud. +> More information: . + +- View the details of a cluster: + +`ibmcloud ks cluster get {{[-c|--cluster]}} {{cluster_id}}` + +- View the rotation status of Cluster Authority certificates for a cluster: + +`ibmcloud ks cluster ca status {{[-c|--cluster]}} {{cluster_id}}` + +- View worker pools of a cluster: + +`ibmcloud ks worker-pool ls {{[-c|--cluster]}} {{cluster_id}}` + +- Delete a worker node and replace it with a new one in the same worker pool: + +`ibmcloud ks worker replace {{[-c|--cluster]}} {{cluster_id}} {{[-w|--worker]}} {{worker_id}}` + +- List all actions available under this command: + +`ibmcloud ks help` diff --git a/pages/common/ibmcloud-login.md b/pages/common/ibmcloud-login.md new file mode 100644 index 00000000000000..28d724b66b3395 --- /dev/null +++ b/pages/common/ibmcloud-login.md @@ -0,0 +1,28 @@ +# ibmcloud login + +> Log in to the IBM Cloud. +> More information: . + +- Log in by using an interactive prompt: + +`ibmcloud login` + +- Log in to a specific API endpoint (default is `cloud.ibm.com`): + +`ibmcloud login -a {{api_endpoint}}` + +- Log in by providing username, password and the targeted region as parameters: + +`ibmcloud login -u {{username}} -p {{password}} -r {{us-south}}` + +- Log in with an API key, passing it as an argument: + +`ibmcloud login --apikey {{api_key_string}}` + +- Log in with an API key, passing it as a file: + +`ibmcloud login --apikey @{{path/to/api_key_file}}` + +- Log in with a federated ID (single sign-on): + +`ibmcloud login --sso` diff --git a/pages/common/ibmcloud-logout.md b/pages/common/ibmcloud-logout.md new file mode 100644 index 00000000000000..bbf853ff2fea3c --- /dev/null +++ b/pages/common/ibmcloud-logout.md @@ -0,0 +1,8 @@ +# ibmcloud logout + +> Log out of the IBM Cloud CLI. +> More information: . + +- Log out of the current session: + +`ibmcloud logout` diff --git a/pages/common/ibmcloud-regions.md b/pages/common/ibmcloud-regions.md new file mode 100644 index 00000000000000..b78362424f2949 --- /dev/null +++ b/pages/common/ibmcloud-regions.md @@ -0,0 +1,8 @@ +# ibmcloud regions + +> List all available regions on IBM Cloud. +> More information: . + +- View information for all regions: + +`ibmcloud regions` diff --git a/pages/common/ibmcloud-target.md b/pages/common/ibmcloud-target.md new file mode 100644 index 00000000000000..bee8f6246d4539 --- /dev/null +++ b/pages/common/ibmcloud-target.md @@ -0,0 +1,28 @@ +# ibmcloud target + +> Set or view the target account, region, or resource group. +> More information: . + +- View the current target account and region: + +`ibmcloud target` + +- Set the target account: + +`ibmcloud target -c {{account_id}}` + +- Switch to a specific region: + +`ibmcloud target -r {{region_name}}` + +- Set the target resource group: + +`ibmcloud target -g {{resource_group_name}}` + +- Clear the targeted region: + +`ibmcloud target --unset-region` + +- Clear the targeted resource group: + +`ibmcloud target --unset-resource-group` diff --git a/pages/common/ibmcloud.md b/pages/common/ibmcloud.md new file mode 100644 index 00000000000000..1fb23655ba4de4 --- /dev/null +++ b/pages/common/ibmcloud.md @@ -0,0 +1,24 @@ +# ibmcloud + +> A tool for managing IBM Cloud apps and services. +> More information: . + +- Update `ibmcloud` to the latest version: + +`ibmcloud update` + +- List all available IBM Cloud regions: + +`ibmcloud regions` + +- Display help: + +`ibmcloud help` + +- Display help for a subcommand: + +`ibmcloud help {{subcommand}}` + +- Display version: + +`ibmcloud version` diff --git a/pages/common/ic.md b/pages/common/ic.md new file mode 100644 index 00000000000000..24bda764a70e24 --- /dev/null +++ b/pages/common/ic.md @@ -0,0 +1,7 @@ +# ic + +> This command is an alias of `ibmcloud`. + +- View documentation for the original command: + +`tldr ibmcloud` diff --git a/pages/common/ical.md b/pages/common/ical.md new file mode 100644 index 00000000000000..9a774b42bfddb9 --- /dev/null +++ b/pages/common/ical.md @@ -0,0 +1,16 @@ +# ical + +> View Hirji/Islamic and Gregorian calendars and convert their dates. +> More information: . + +- Display the current month's calendar: + +`ical` + +- Convert a Gregorian date to a Hijri date: + +`ical --gregorian {{yyyymmdd}}` + +- Convert a Hirji date to a Gregorian date: + +`ical --hijri {{yyyymmdd}}` diff --git a/pages/common/icontopbm.md b/pages/common/icontopbm.md new file mode 100644 index 00000000000000..54d079f3259054 --- /dev/null +++ b/pages/common/icontopbm.md @@ -0,0 +1,8 @@ +# icontopbm + +> This command has been superseded by `sunicontopnm`. +> More information: . + +- View documentation for the current command: + +`tldr sunicontopnm` diff --git a/pages/common/iconv.md b/pages/common/iconv.md index 25a75e64157b7f..565463ef39da57 100644 --- a/pages/common/iconv.md +++ b/pages/common/iconv.md @@ -1,15 +1,16 @@ # iconv -> Converts text from one encoding to another. +> Convert text from one encoding to another. +> More information: . - Convert file to a specific encoding, and print to `stdout`: -`iconv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}` +`iconv {{[-f|--from-code]}} {{from_encoding}} {{[-t|--to-code]}} {{to_encoding}} {{input_file}}` - Convert file to the current locale's encoding, and output to a file: -`iconv -f {{from_encoding}} {{input_file}} > {{output_file}}` +`iconv {{[-f|--from-code]}} {{from_encoding}} {{input_file}} > {{output_file}}` - List supported encodings: -`iconv -l` +`iconv {{[-l|--list]}}` diff --git a/pages/common/id.md b/pages/common/id.md index ac11b317f0a701..553c19f8fcba63 100644 --- a/pages/common/id.md +++ b/pages/common/id.md @@ -1,19 +1,28 @@ # id > Display current user and group identity. +> More information: . -- Display current user's id (UID), group id (GID) and groups to which they belong: +- Display current user's ID (UID), group ID (GID) and groups to which they belong: `id` +- Display the current user identity: + +`id {{[-un|--user --name]}}` + - Display the current user identity as a number: -`id -u` +`id {{[-u|--user]}}` + +- Display the current primary group identity: + +`id {{[-gn|--group --name]}}` -- Display the current group identity as a number: +- Display the current primary group identity as a number: -`id -g` +`id {{[-g|--group]}}` -- Display an arbitrary user's id (UID), group id (GID) and groups to which they belong: +- Display an arbitrary user's ID (UID), group ID (GID) and groups to which they belong: `id {{username}}` diff --git a/pages/common/id3tag.md b/pages/common/id3tag.md index 7494dc75ba8540..40817787c6fb86 100644 --- a/pages/common/id3tag.md +++ b/pages/common/id3tag.md @@ -1,15 +1,16 @@ # id3tag -> Tool for reading, writing, and manipulating ID3v1 and ID3v2 tags of MP3 files. +> Read, write, and manipulate ID3v1 and ID3v2 tags of MP3 files. +> More information: . -- Set artist and title tag of an MP3 file: +- Set artist and song title tag of an MP3 file: -`id3tag --artist={{artist}} --title={{title}} {{path/to/file.mp3}}` +`id3tag --artist {{artist}} --song {{song_title}} {{path/to/file.mp3}}` - Set album title of all MP3 files in the current directory: -`id3tag --album={{album}} {{*.mp3}}` +`id3tag --album {{album}} {{*.mp3}}` -- Get more help: +- Display help: `id3tag --help` diff --git a/pages/common/idea.md b/pages/common/idea.md new file mode 100644 index 00000000000000..38bbe1ab5c8578 --- /dev/null +++ b/pages/common/idea.md @@ -0,0 +1,24 @@ +# idea + +> JetBrains Java and Kotlin IDE. +> More information: . + +- Open the current directory in IntelliJ IDEA: + +`idea {{path/to/directory}}` + +- Open a specific file or directory in IntelliJ IDEA: + +`idea {{path/to/file_or_directory}}` + +- Open the diff viewer to compare up to 3 files: + +`idea diff {{path/to/file1 path/to/file2 path/to/optional_file3}}` + +- Open the merge dialog to perform a two-way file merge: + +`idea merge {{path/to/file1}} {{path/to/file2}} {{path/to/output}}` + +- Run code inspections on a project: + +`idea inspect {{path/to/project_directory}} {{path/to/inspection_profile}} {{path/to/output}}` diff --git a/pages/common/identify.md b/pages/common/identify.md index 6bb2a12ae5743f..96e24b4ebeef5f 100644 --- a/pages/common/identify.md +++ b/pages/common/identify.md @@ -1,8 +1,7 @@ # identify -> Command line utility of Image Magick project to describe the format and characteristics of one or more image files. -> More information: . +> This command is an alias of `magick identify`. -- Collect dimensions of all jpeg files under current directory: +- View documentation for the original command: -`identify -format "%f,%w,%h\n" *.{{jpg}} > {{filelist.csv}}` +`tldr magick identify` diff --git a/pages/common/idevice_id.md b/pages/common/idevice_id.md new file mode 100644 index 00000000000000..86726b748fa264 --- /dev/null +++ b/pages/common/idevice_id.md @@ -0,0 +1,12 @@ +# idevice_id + +> List attached iOS devices or print the device name of a given device. +> More information: . + +- List the UDIDs of all attached devices: + +`idevice_id --list` + +- List the UDIDs of all devices available via the network: + +`idevice_id --network` diff --git a/pages/common/idevicebackup.md b/pages/common/idevicebackup.md new file mode 100644 index 00000000000000..bb583daf9cbcc7 --- /dev/null +++ b/pages/common/idevicebackup.md @@ -0,0 +1,13 @@ +# idevicebackup + +> Create or restore backups for iOS devices. +> Note: This tool is outdated. Please see `idevicebackup2`. +> More information: . + +- Create a backup of the device in the specified directory: + +`idevicebackup backup {{path/to/directory}}` + +- Restore a backup from the specified directory: + +`idevicebackup restore {{path/to/directory}}` diff --git a/pages/common/idevicebackup2.md b/pages/common/idevicebackup2.md new file mode 100644 index 00000000000000..97bf27666eda8c --- /dev/null +++ b/pages/common/idevicebackup2.md @@ -0,0 +1,20 @@ +# idevicebackup2 + +> Create or restore backups for devices running iOS 4 or later. +> More information: . + +- Create a backup of the device in the specified directory: + +`idevicebackup2 backup {{path/to/directory}}` + +- Restore a backup from the specified directory: + +`idevicebackup2 restore {{path/to/directory}}` + +- Enable encryption for backups: + +`idevicebackup2 encryption on {{password}}` + +- List the files in the last completed backup: + +`idevicebackup2 list` diff --git a/pages/common/idevicecrashreport.md b/pages/common/idevicecrashreport.md new file mode 100644 index 00000000000000..4476731017c3a0 --- /dev/null +++ b/pages/common/idevicecrashreport.md @@ -0,0 +1,16 @@ +# idevicecrashreport + +> Retrieve crash reports from an iOS device. +> More information: . + +- Retrieve crash reports and move them to a specified directory: + +`idevicecrashreport {{path/to/directory}}` + +- Retrieve crash reports without removing them from the device: + +`idevicecrashreport --keep {{path/to/directory}}` + +- Extract crash reports into separate `.crash` files: + +`idevicecrashreport --extract {{path/to/directory}}` diff --git a/pages/common/idevicedate.md b/pages/common/idevicedate.md new file mode 100644 index 00000000000000..f64366ad3bc6f9 --- /dev/null +++ b/pages/common/idevicedate.md @@ -0,0 +1,16 @@ +# idevicedate + +> Display the current date or set it on an iOS device. +> More information: . + +- Display the current date and time: + +`idevicedate` + +- Set the date and time on the device to the system time: + +`idevicedate --sync` + +- Set the date and time to a specific timestamp: + +`idevicedate --set {{timestamp}}` diff --git a/pages/common/idevicediagnostics.md b/pages/common/idevicediagnostics.md new file mode 100644 index 00000000000000..24910d8c667f3b --- /dev/null +++ b/pages/common/idevicediagnostics.md @@ -0,0 +1,16 @@ +# idevicediagnostics + +> Interact with the diagnostics interface of an iOS device. +> More information: . + +- Print diagnostics information: + +`idevicediagnostics diagnostics` + +- Print mobilegestalt key values: + +`idevicediagnostics mobilegestalt {{key1}} {{key2}}` + +- Shutdown, restart or sleep the device: + +`idevicediagnostics {{shutdown|restart|sleep}}` diff --git a/pages/common/ideviceimagemounter.md b/pages/common/ideviceimagemounter.md new file mode 100644 index 00000000000000..478dc0e32b37bc --- /dev/null +++ b/pages/common/ideviceimagemounter.md @@ -0,0 +1,12 @@ +# ideviceimagemounter + +> Mount disk images on an iOS device. +> More information: . + +- Mount a disk image on the connected device: + +`ideviceimagemounter {{path/to/image_file}} {{path/to/signature_file}}` + +- List currently mounted disk images: + +`ideviceimagemounter --list` diff --git a/pages/common/ideviceinfo.md b/pages/common/ideviceinfo.md new file mode 100644 index 00000000000000..250c80799d68c1 --- /dev/null +++ b/pages/common/ideviceinfo.md @@ -0,0 +1,12 @@ +# ideviceinfo + +> Show information about the first connected iOS device. +> More information: . + +- Display detailed information about the connected device: + +`ideviceinfo` + +- Show information about a specific device by UDID: + +`ideviceinfo --udid {{device_udid}}` diff --git a/pages/common/idevicename.md b/pages/common/idevicename.md new file mode 100644 index 00000000000000..b96afe65032744 --- /dev/null +++ b/pages/common/idevicename.md @@ -0,0 +1,12 @@ +# idevicename + +> Display the device name or set it to a new name. +> More information: . + +- Display the current device name: + +`idevicename` + +- Set a new device name: + +`idevicename {{new_name}}` diff --git a/pages/common/idevicepair.md b/pages/common/idevicepair.md new file mode 100644 index 00000000000000..2cd19e224e2ef6 --- /dev/null +++ b/pages/common/idevicepair.md @@ -0,0 +1,12 @@ +# idevicepair + +> Manage host pairings with iOS devices. +> More information: . + +- Pair a device with the host: + +`idevicepair pair` + +- List devices paired with the host: + +`idevicepair list` diff --git a/pages/common/idevicescreenshot.md b/pages/common/idevicescreenshot.md new file mode 100644 index 00000000000000..206380bbda6528 --- /dev/null +++ b/pages/common/idevicescreenshot.md @@ -0,0 +1,12 @@ +# idevicescreenshot + +> Get a screenshot from the connected iOS device. +> More information: . + +- Save a screenshot with the default file name as a TIFF image: + +`idevicescreenshot` + +- Save a screenshot with a specific file name: + +`idevicescreenshot {{path/to/file.tiff}}` diff --git a/pages/common/idevicesetlocation.md b/pages/common/idevicesetlocation.md new file mode 100644 index 00000000000000..1ca60b8819c8a6 --- /dev/null +++ b/pages/common/idevicesetlocation.md @@ -0,0 +1,12 @@ +# idevicesetlocation + +> Simulate a location on an iOS device. +> More information: . + +- Set a specific latitude and longitude: + +`idevicesetlocation {{latitude}} {{longitude}}` + +- Reset the simulated location: + +`idevicesetlocation reset` diff --git a/pages/common/idevicesyslog.md b/pages/common/idevicesyslog.md new file mode 100644 index 00000000000000..f1bad0eb909511 --- /dev/null +++ b/pages/common/idevicesyslog.md @@ -0,0 +1,12 @@ +# idevicesyslog + +> Relay syslog messages from a connected iOS device. +> More information: . + +- Relay syslog messages from the connected device: + +`idevicesyslog` + +- Suppress kernel messages and print everything else: + +`idevicesyslog --no-kernel` diff --git a/pages/common/idnits.md b/pages/common/idnits.md new file mode 100644 index 00000000000000..b6e53897568487 --- /dev/null +++ b/pages/common/idnits.md @@ -0,0 +1,25 @@ +# idnits + +> Check internet-drafts for submission nits. +> Looks for violations of Section 2.1 and 2.2 of the requirements listed on . +> More information: . + +- Check a file for nits: + +`idnits {{path/to/file.txt}}` + +- Count nits without displaying them: + +`idnits --nitcount {{path/to/file.txt}}` + +- Show extra information about offending lines: + +`idnits --verbose {{path/to/file.txt}}` + +- Expect the specified year in the boilerplate instead of the current year: + +`idnits --year {{2021}} {{path/to/file.txt}}` + +- Assume the document is of the specified status: + +`idnits --doctype {{standard|informational|experimental|bcp|ps|ds}} {{path/to/file.txt}}` diff --git a/pages/common/iex.md b/pages/common/iex.md index 87845f6a9e1e29..3bb5a150c94a4a 100644 --- a/pages/common/iex.md +++ b/pages/common/iex.md @@ -1,7 +1,7 @@ # iex > IEx is the interactive shell for Elixir. -> More information: . +> More information: . - Start an interactive session: diff --git a/pages/common/if.md b/pages/common/if.md index 1844404df9bb6b..a3415389807baa 100644 --- a/pages/common/if.md +++ b/pages/common/if.md @@ -1,27 +1,37 @@ # if -> Simple shell conditional. +> Performs conditional processing in shell scripts. +> See also: `test`, `[`. +> More information: . -- Echo a different thing depending on a command's success: +- Execute the specified commands if the condition command's exit status is zero: -`{{command}} && echo "success" || echo "failure"` +`if {{condition_command}}; then {{echo "Condition is true"}}; fi` -- Full if syntax: +- Execute the specified commands if the condition command's exit status is not zero: -`if {{condition}}; then echo "true"; else echo "false"; fi` +`if ! {{condition_command}}; then {{echo "Condition is true"}}; fi` -- List available if conditions: +- Execute the first specified commands if the condition command's exit status is zero otherwise execute the second specified commands: -`help test` +`if {{condition_command}}; then {{echo "Condition is true"}}; else {{echo "Condition is false"}}; fi` -- Test if a given variable is empty: +- Check whether a [f]ile exists: -`if [[ -z $GIT_BRANCH ]]; then echo "true"; else echo "false"; fi` +`if [[ -f {{path/to/file}} ]]; then {{echo "Condition is true"}}; fi` -- Test if a file exists: +- Check whether a [d]irectory exists: -`if [[ -e {{filename}} ]]; then echo "true"; else echo "false"; fi` +`if [[ -d {{path/to/directory}} ]]; then {{echo "Condition is true"}}; fi` -- If directory not exists: +- Check whether a file or directory [e]xists: -`if [[ ! -d {{path/to/directory}} ]]; then echo "true"; else echo "false"; fi` +`if [[ -e {{path/to/file_or_directory}} ]]; then {{echo "Condition is true"}}; fi` + +- Check whether a variable is defined: + +`if [[ -n "${{variable}}" ]]; then {{echo "Condition is true"}}; fi` + +- List all possible conditions (`test` is an alias to `[`; both are commonly used with `if`): + +`man test` diff --git a/pages/common/ifconfig.md b/pages/common/ifconfig.md index 365522845747a3..ac17ff7e7f6458 100644 --- a/pages/common/ifconfig.md +++ b/pages/common/ifconfig.md @@ -1,23 +1,24 @@ # ifconfig > Network Interface Configurator. +> More information: . -- View network settings of an ethernet adapter: +- View network settings of an interface: -`ifconfig eth0` +`ifconfig {{interface_name}}` - Display details of all interfaces, including disabled interfaces: `ifconfig -a` -- Disable eth0 interface: +- Disable an interface: -`ifconfig eth0 down` +`ifconfig {{interface_name}} down` -- Enable eth0 interface: +- Enable an interface: -`ifconfig eth0 up` +`ifconfig {{interface_name}} up` -- Assign IP address to eth0 interface: +- Assign an IP address to an interface: -`ifconfig eth0 {{ip_address}}` +`ifconfig {{interface_name}} {{ip_address}}` diff --git a/pages/common/ifdata.md b/pages/common/ifdata.md new file mode 100644 index 00000000000000..f018c22666b500 --- /dev/null +++ b/pages/common/ifdata.md @@ -0,0 +1,24 @@ +# ifdata + +> Display information about a network interface. +> More information: . + +- Display the whole configuration of the specified interface: + +`ifdata -p {{eth0}}` + +- Indicate the [e]xistence of the specified interface via the exit code: + +`ifdata -e {{eth0}}` + +- Display the IPv4 [a]dress and the [n]etmask of the specified interface: + +`ifdata -pa -pn {{eth0}}` + +- Display the [N]etwork adress, the [b]roadcast adress, and the MTU of the specified interface: + +`ifdata -pN -pb -pm {{eth0}}` + +- Display help: + +`ifdata` diff --git a/pages/common/ifne.md b/pages/common/ifne.md new file mode 100644 index 00000000000000..5ce3b42162d8f4 --- /dev/null +++ b/pages/common/ifne.md @@ -0,0 +1,12 @@ +# ifne + +> Run a command depending on the emptyness of `stdin`. +> More information: . + +- Run the specified command if and only if `stdin` is not empty: + +`ifne {{command options ...}}` + +- Run the specified command if and only if `stdin` is empty, otherwise pass `stdin` to `stdout`: + +`ifne -n {{command options ...}}` diff --git a/pages/common/ifs.md b/pages/common/ifs.md new file mode 100644 index 00000000000000..01b3fb8f77584a --- /dev/null +++ b/pages/common/ifs.md @@ -0,0 +1,21 @@ +# IFS + +> IFS (Internal Field Separator) is a special environment variable that defines the delimiter used for word splitting in Unix shells. +> The default value of IFS is a space, tab, and newline. The three characters serve as delimiters. +> More information: . + +- View the current IFS value: + +`echo "$IFS"` + +- Change the IFS value: + +`IFS="{{:}}"` + +- Reset IFS to default: + +`IFS=$' \t\n'` + +- Temporarily change the IFS value in a subshell: + +`(IFS="{{:}}"; echo "{{one:two:three}}")` diff --git a/pages/common/ignite.md b/pages/common/ignite.md index 722d836bd9e20b..73fdb30478b7e0 100644 --- a/pages/common/ignite.md +++ b/pages/common/ignite.md @@ -9,7 +9,7 @@ - Generate file from a plugin: -`ignite generate {{plugin_name}} {{filename}}` +`ignite generate {{plugin_name}} {{path/to/file}}` - Add an Ignite plugin to the project: diff --git a/pages/common/ilbmtoppm.md b/pages/common/ilbmtoppm.md new file mode 100644 index 00000000000000..a39d64854a4e47 --- /dev/null +++ b/pages/common/ilbmtoppm.md @@ -0,0 +1,20 @@ +# ilbmtoppm + +> Convert an ILBM file to a PPM image. +> More information: . + +- Convert an ILBM file to a PPM image: + +`ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}` + +- Use the specified color to "show through" where the image is transparent: + +`ilbmtoppm {{[-t|-transparent]}} {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}` + +- Ignore the chunk with the specified chunk ID: + +`ilbmtoppm {{[-ig|-ignore]}} {{chunkID}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}` + +- Store the input's transparency information to the specified PBM file: + +`ilbmtoppm {{[-m|-maskfile]}} {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}` diff --git a/pages/common/imapsync.md b/pages/common/imapsync.md index e70b70ab8f0b59..6088cb5116212a 100644 --- a/pages/common/imapsync.md +++ b/pages/common/imapsync.md @@ -1,8 +1,8 @@ # imapsync -> Email IMAP tool for syncing, copying and migrating email mailboxes between two imap servers, one way, and without duplicates. +> Email IMAP tool for syncing, copying and migrating email mailboxes between two IMAP servers, one way, and without duplicates. > More information: . -- Synchronize imap account between host1 and host2: +- Synchronize IMAP account between host1 and host2: `imapsync --host1 {{host1}} --user1 {{user1}} --password1 {{secret1}} --host2 {{host2}} --user2 {{user2}} --password2 {{secret2}}` diff --git a/pages/common/img2pdf.md b/pages/common/img2pdf.md new file mode 100644 index 00000000000000..c69dc1762d0fd5 --- /dev/null +++ b/pages/common/img2pdf.md @@ -0,0 +1,25 @@ +# img2pdf + +> Losslessly convert raster images to a PDF file. +> Some supported image formats are: GIF, JPEG, JPEG2000, PNG, GIF and TIFF. +> More information: . + +- Convert one or more images to a single PDF, each image being on its own page: + +`img2pdf {{path/to/image1.ext path/to/image2.ext ...}} --output {{path/to/file.pdf}}` + +- Convert only the first frame of a multi-frame image to PDF: + +`img2pdf {{path/to/file.gif}} --first-frame-only --output {{path/to/file.pdf}}` + +- Auto orient the image, use a specific page size in landscape mode, and set a border of specific sizes horizontally and vertically: + +`img2pdf {{path/to/image.ext}} --auto-orient --pagesize {{A4^T}} --border {{2cm}}:{{5.1cm}} --output {{path/to/file.pdf}}` + +- Shrink only larger images to a rectangle of specified dimensions inside a page with a specific size: + +`img2pdf {{path/to/image.ext}} --pagesize {{30cm}}x{{20cm}} --imgsize {{10cm}}x{{15cm}} --fit {{shrink}} --output {{path/to/file.pdf}}` + +- Convert an image to PDF, and specify metadata for the resulting file: + +`img2pdf {{path/to/image.ext}} --title {{title}} --author {{author}} --creationdate {{1970-01-31}} --keywords {{keyword1 keyword2}} --subject {{subject}} --output {{path/to/file.pdf}}` diff --git a/pages/common/img2sixel.md b/pages/common/img2sixel.md new file mode 100644 index 00000000000000..00203c9199ccea --- /dev/null +++ b/pages/common/img2sixel.md @@ -0,0 +1,12 @@ +# img2sixel + +> Convert images to the Sixel format for displaying in a terminal. +> More information: . + +- Display an image in the terminal: + +`img2sixel {{path/to/image}}` + +- Resize the image to the specified width and height before displaying it: + +`img2sixel {{[-w|--width]}} {{number}} {{[-h|--height]}} {{number}} {{path/to/image}}` diff --git a/pages/common/imgcat.md b/pages/common/imgcat.md new file mode 100644 index 00000000000000..15cf203dc5f8cb --- /dev/null +++ b/pages/common/imgcat.md @@ -0,0 +1,9 @@ +# imgcat + +> Display images on the command-line. +> Requires a compatible terminal such as iTerm2. +> More information: . + +- Display an image on the command-line: + +`imgcat {{path/to/file}}` diff --git a/pages/common/imgtoppm.md b/pages/common/imgtoppm.md new file mode 100644 index 00000000000000..ece4d18a90e343 --- /dev/null +++ b/pages/common/imgtoppm.md @@ -0,0 +1,12 @@ +# imgtoppm + +> Convert various image file formats to the PPM (Portable Pixmap) format. +> More information: . + +- Convert an input image to PPM format: + +`imgtoppm {{path/to/input}} > {{path/to/output.ppm}}` + +- Display version: + +`imgtoppm {{[-v|-version]}}` diff --git a/pages/common/immich-go.md b/pages/common/immich-go.md new file mode 100644 index 00000000000000..71130edf8cd205 --- /dev/null +++ b/pages/common/immich-go.md @@ -0,0 +1,25 @@ +# immich-go + +> Immich-Go is an open-source tool designed to streamline uploading large photo collections to your self-hosted Immich server. +> See also: `immich-cli`. +> More information: . + +- Upload a Google Photos takeout file to Immich server: + +`immich-go -server={{server_url}} -key={{server_key}} upload {{path/to/takeout_file.zip}}` + +- Import photos captured on June 2019, while auto-generating albums: + +`immich-go -server={{server_url}} -key={{server_key}} upload -create-albums -google-photos -date={{2019-06}} {{path/to/takeout_file.zip}}` + +- Upload a takeout file using server and key from a configuration file: + +`immich-go -use-configuration={{~/.immich-go/immich-go.json}} upload {{path/to/takeout_file.zip}}` + +- Examine Immich server content, remove less quality images, and preserve albums: + +`immich-go -server={{server_url}} -key={{server_key}} duplicate -yes` + +- Delete all albums created with the pattern "YYYY-MM-DD": + +`immich-go -server={{server_url}} -key={{server_key}} tool album delete {{\d{4}-\d{2}-\d{2}}}` diff --git a/pages/common/immich.md b/pages/common/immich.md new file mode 100644 index 00000000000000..b556fe083d95a8 --- /dev/null +++ b/pages/common/immich.md @@ -0,0 +1,29 @@ +# immich + +> Immich command-line interface (CLI) that allows you to perform certain actions. +> See also: `immich-go`. +> More information: . + +- Authenticate to Immich server: + +`immich login {{server_url/api}} {{server_key}}` + +- Upload some image files: + +`immich upload {{file1.jpg file2.jpg ...}}` + +- Upload a directory including subdirectories: + +`immich upload --recursive {{path/to/directory}}` + +- Create an album based on a directory: + +`immich upload --album-name "{{My summer holiday}}" --recursive {{path/to/directory}}` + +- Skip assets matching a glob pattern: + +`immich upload --ignore {{**/Raw/** **/*.tif}} --recursive {{path/to/directory}}` + +- Include hidden files: + +`immich upload --include-hidden --recursive {{path/to/directory}}` diff --git a/pages/common/impacket-getadusers.md b/pages/common/impacket-getadusers.md new file mode 100644 index 00000000000000..afe1efc9fef076 --- /dev/null +++ b/pages/common/impacket-getadusers.md @@ -0,0 +1,7 @@ +# impacket-GetADUsers + +> This command is an alias of `GetADUsers.py`. + +- View documentation for the original command: + +`tldr GetADUsers.py` diff --git a/pages/common/impacket-getarch.md b/pages/common/impacket-getarch.md new file mode 100644 index 00000000000000..c8ebd9f1543e45 --- /dev/null +++ b/pages/common/impacket-getarch.md @@ -0,0 +1,7 @@ +# impacket-getArch + +> This command is an alias of `getArch.py`. + +- View documentation for the original command: + +`tldr getArch.py` diff --git a/pages/common/impacket-getnpusers.md b/pages/common/impacket-getnpusers.md new file mode 100644 index 00000000000000..1ea96eb6fff4a9 --- /dev/null +++ b/pages/common/impacket-getnpusers.md @@ -0,0 +1,7 @@ +# impacket-GetNPUsers + +> This command is an alias of `GetNPUsers.py`. + +- View documentation for the original command: + +`tldr GetNPUsers.py` diff --git a/pages/common/impacket-getuserspns.md b/pages/common/impacket-getuserspns.md new file mode 100644 index 00000000000000..af95e2dc8b92ad --- /dev/null +++ b/pages/common/impacket-getuserspns.md @@ -0,0 +1,7 @@ +# impacket-GetUserSPNs + +> This command is an alias of `GetUserSPNs.py`. + +- View documentation for the original command: + +`tldr GetUserSPNs.py` diff --git a/pages/common/impacket-mqtt_check.md b/pages/common/impacket-mqtt_check.md new file mode 100644 index 00000000000000..3734c7488bb7de --- /dev/null +++ b/pages/common/impacket-mqtt_check.md @@ -0,0 +1,7 @@ +# impacket-mqtt_check + +> This command is an alias of `mqtt_check.py`. + +- View documentation for the original command: + +`tldr mqtt_check.py` diff --git a/pages/common/impacket-mssqlclient.md b/pages/common/impacket-mssqlclient.md new file mode 100644 index 00000000000000..b66a65440c13c2 --- /dev/null +++ b/pages/common/impacket-mssqlclient.md @@ -0,0 +1,7 @@ +# impacket-mssqlclient + +> This command is an alias of `mssqlclient.py`. + +- View documentation for the original command: + +`tldr mssqlclient.py` diff --git a/pages/common/impacket-ntfs-read.md b/pages/common/impacket-ntfs-read.md new file mode 100644 index 00000000000000..32c2485a84da72 --- /dev/null +++ b/pages/common/impacket-ntfs-read.md @@ -0,0 +1,7 @@ +# impacket-ntfs-read + +> This command is an alias of `ntfs-read.py`. + +- View documentation for the original command: + +`tldr ntfs-read.py` diff --git a/pages/common/impacket-ping.md b/pages/common/impacket-ping.md new file mode 100644 index 00000000000000..eb2a487bb266eb --- /dev/null +++ b/pages/common/impacket-ping.md @@ -0,0 +1,7 @@ +# impacket-ping + +> This command is an alias of `ping.py`. + +- View documentation for the original command: + +`tldr ping.py` diff --git a/pages/common/impacket-ping6.md b/pages/common/impacket-ping6.md new file mode 100644 index 00000000000000..352d9a27634688 --- /dev/null +++ b/pages/common/impacket-ping6.md @@ -0,0 +1,7 @@ +# impacket-ping6 + +> This command is an alias of `ping6.py`. + +- View documentation for the original command: + +`tldr ping6.py` diff --git a/pages/common/impacket-psexec.md b/pages/common/impacket-psexec.md new file mode 100644 index 00000000000000..47abbd81583852 --- /dev/null +++ b/pages/common/impacket-psexec.md @@ -0,0 +1,7 @@ +# impacket-psexec + +> This command is an alias of `psexec.py`. + +- View documentation for the original command: + +`tldr psexec.py` diff --git a/pages/common/impacket-rpcdump.md b/pages/common/impacket-rpcdump.md new file mode 100644 index 00000000000000..1a575615680f81 --- /dev/null +++ b/pages/common/impacket-rpcdump.md @@ -0,0 +1,7 @@ +# impacket-rpcdump + +> This command is an alias of `rpcdump.py`. + +- View documentation for the original command: + +`tldr rpcdump.py` diff --git a/pages/common/impacket-rpcmap.md b/pages/common/impacket-rpcmap.md new file mode 100644 index 00000000000000..17e23023b06439 --- /dev/null +++ b/pages/common/impacket-rpcmap.md @@ -0,0 +1,7 @@ +# impacket-rpcmap + +> This command is an alias of `rpcmap.py`. + +- View documentation for the original command: + +`tldr rpcmap.py` diff --git a/pages/common/impacket-sambapipe.md b/pages/common/impacket-sambapipe.md new file mode 100644 index 00000000000000..b57fbde4822b24 --- /dev/null +++ b/pages/common/impacket-sambapipe.md @@ -0,0 +1,7 @@ +# impacket-sambaPipe + +> This command is an alias of `sambaPipe.py`. + +- View documentation for the original command: + +`tldr sambaPipe.py` diff --git a/pages/common/impacket-secretsdump.md b/pages/common/impacket-secretsdump.md new file mode 100644 index 00000000000000..c784a3e76714d0 --- /dev/null +++ b/pages/common/impacket-secretsdump.md @@ -0,0 +1,7 @@ +# impacket-secretsdump + +> This command is an alias of `secretsdump.py`. + +- View documentation for the original command: + +`tldr secretsdump.py` diff --git a/pages/common/impacket-smbclient.md b/pages/common/impacket-smbclient.md new file mode 100644 index 00000000000000..9138143c6344bf --- /dev/null +++ b/pages/common/impacket-smbclient.md @@ -0,0 +1,7 @@ +# impacket-smbclient + +> This command is an alias of `smbclient.py`. + +- View documentation for the original command: + +`tldr smbclient.py` diff --git a/pages/common/impacket-smbserver.md b/pages/common/impacket-smbserver.md new file mode 100644 index 00000000000000..84b4b3dabd3cec --- /dev/null +++ b/pages/common/impacket-smbserver.md @@ -0,0 +1,7 @@ +# impacket-smbserver + +> This command is an alias of `smbserver.py`. + +- View documentation for the original command: + +`tldr smbserver.py` diff --git a/pages/common/impacket-sniff.md b/pages/common/impacket-sniff.md new file mode 100644 index 00000000000000..9c0e16386b224d --- /dev/null +++ b/pages/common/impacket-sniff.md @@ -0,0 +1,7 @@ +# impacket-sniff + +> This command is an alias of `sniff.py`. + +- View documentation for the original command: + +`tldr sniff.py` diff --git a/pages/common/impacket-sniffer.md b/pages/common/impacket-sniffer.md new file mode 100644 index 00000000000000..5cea3c561a4fbe --- /dev/null +++ b/pages/common/impacket-sniffer.md @@ -0,0 +1,7 @@ +# impacket-sniffer + +> This command is an alias of `sniffer.py`. + +- View documentation for the original command: + +`tldr sniffer.py` diff --git a/pages/common/import.md b/pages/common/import.md index a59c41e95faee3..6522149bac13f2 100644 --- a/pages/common/import.md +++ b/pages/common/import.md @@ -1,16 +1,7 @@ # import -> Capture some or all of an X server screen, and save the image to a file. -> Part of the ImageMagick library. +> This command is an alias of `magick import`. -- Capture the entire X server screen in the PostScript image format: +- View documentation for the original command: -`import -window root {{output.postscript}}` - -- Capture contents of a remote X server screen in the PNG image format: - -`import -window root -display {{remote_host}}:{screen}.{display} {{output.png}}` - -- Capture a specific window, given its ID as displayed by `xwininfo`, into the JPEG format: - -`import -window {{window_id}} {{output.jpg}}` +`tldr magick import` diff --git a/pages/common/in-toto-record.md b/pages/common/in-toto-record.md new file mode 100644 index 00000000000000..00631fae1ed4bc --- /dev/null +++ b/pages/common/in-toto-record.md @@ -0,0 +1,12 @@ +# in-toto-record + +> Create a signed link metadata file to provide evidence for supply chain steps. +> More information: . + +- Start the record (creates a preliminary link file): + +`in-toto-record start {{[-n|--step-name]}} {{path/to/edit_file1 path/to/edit_file2 ...}} -k {{path/to/key_file}} {{[-m|--materials]}} {{.}}` + +- Stop the record (expects a preliminary link file): + +`in-toto-record stop {{[-n|--step-name]}} {{path/to/edit_file1 path/to/edit_file2 ...}} -k {{path/to/key_file}} {{[-p|--products]}} {{.}}` diff --git a/pages/common/in-toto-run.md b/pages/common/in-toto-run.md new file mode 100644 index 00000000000000..1216382d0186b8 --- /dev/null +++ b/pages/common/in-toto-run.md @@ -0,0 +1,20 @@ +# in-toto-run + +> Generating link metadata while carrying out a supply chain step. +> More information: . + +- Tag a Git repo and signing the resulting link file: + +`in-toto-run {{[-n|--step-name]}} {{tag}} {{[-p|--products]}} {{.}} -k {{key_file}} -- {{git tag v1.0}}` + +- Create a tarball, storing files as materials and the tarball as product: + +`in-toto-run {{[-n|--step-name]}} {{package}} {{[-m|--materials]}} {{project}} {{[-p|--products]}} {{project.tar.gz}} -- {{tar czf project.tar.gz project}}` + +- Generate signed attestations for review work: + +`in-toto-run {{[-n|--step-name]}} {{review}} -k {{key_file}} {{[-m|--materials]}} {{document.pdf}} {{[-x|--no-command]}}` + +- Scan the image using Trivy and generate link file: + +`in-toto-run {{[-n|--step-name]}} {{scan}} -k {{key_file}} {{[-p|--products]}} {{report.json}} -- {{/bin/sh -c "trivy --output report.json --format json "}}` diff --git a/pages/common/in-toto-sign.md b/pages/common/in-toto-sign.md new file mode 100644 index 00000000000000..f8dc860aabcc7f --- /dev/null +++ b/pages/common/in-toto-sign.md @@ -0,0 +1,24 @@ +# in-toto-sign + +> Sign in-toto link or layout metadata or verify their signatures. +> More information: . + +- Sign 'unsigned.layout' with two keys and write it to 'root.layout': + +`in-toto-sign {{[-f|--file]}} {{unsigned.layout}} {{[-k|--keep]}} {{priv_key1}} {{priv_key2}} {{[-o|--output]}} {{root.layout}}` + +- Replace signature in link file and write to default filename: + +`in-toto-sign {{[-f|--file]}} {{package.2f89b927.link}} {{[-k|--keep]}} {{priv_key}}` + +- Verify a layout signed with 3 keys: + +`in-toto-sign {{[-f|--file]}} {{root.layout}} {{[-k|--keep]}} {{pub_key0}} {{pub_key1}} {{pub_key2}} --verify` + +- Sign a layout with the default GPG key in default GPG keyring: + +`in-toto-sign {{[-f|--file]}} {{root.layout}} {{[-g|--gpg]}}` + +- Verify a layout with a GPG key identified by keyid '...439F3C2': + +`in-toto-sign {{[-f|--file]}} {{root.layout}} --verify {{[-g|--gpg]}} {{...439F3C2}}` diff --git a/pages/common/in.md b/pages/common/in.md new file mode 100644 index 00000000000000..3f450bbe29c262 --- /dev/null +++ b/pages/common/in.md @@ -0,0 +1,7 @@ +# in + +> This shell keyword is used with `for` to separate the iterator and items to iterate. + +- View documentation for the `for` keyword: + +`tldr for` diff --git a/pages/common/in2csv.md b/pages/common/in2csv.md index 651de92941762f..f4ec0eb67cbde1 100644 --- a/pages/common/in2csv.md +++ b/pages/common/in2csv.md @@ -1,6 +1,6 @@ # in2csv -> Converts various tabular data formats into CSV. +> Convert various tabular data formats to CSV. > Included in csvkit. > More information: . @@ -18,4 +18,4 @@ - Pipe a JSON file to in2csv: -`cat {{data.json}} | in2csv -f json > {{data.csv}}` +`cat {{data.json}} | in2csv {{[-f|--format]}} json > {{data.csv}}` diff --git a/pages/common/incus.md b/pages/common/incus.md new file mode 100644 index 00000000000000..d1de31ce55bbeb --- /dev/null +++ b/pages/common/incus.md @@ -0,0 +1,36 @@ +# incus + +> Modern, secure and powerful system container and virtual machine manager. +> More information: . + +- List all containers and virtual machines (both running and stopped): + +`incus list` + +- Create a container from an image, with a custom name: + +`incus create {{image}} {{container_name}}` + +- Start or stop an existing container: + +`incus {{start|stop}} {{container_name}}` + +- Open a shell inside an already running container: + +`incus shell {{container_name}}` + +- Remove a stopped container: + +`incus delete {{container_name}}` + +- Pull an image from an image repository (remote) to local: + +`incus copy {{remote}}:{{image}} local:{{custom_image_name}}` + +- List all available images in the official `images:` remote: + +`incus image list images:` + +- List all images already downloaded to the `local:` remote: + +`incus image list local:` diff --git a/pages/common/indent.md b/pages/common/indent.md index 175476a06a100a..e082265810fdc1 100644 --- a/pages/common/indent.md +++ b/pages/common/indent.md @@ -1,16 +1,16 @@ # indent > Change the appearance of a C/C++ program by inserting or deleting whitespace. -> More information: . +> More information: . - Format C/C++ source according to the Linux style guide, automatically back up the original files, and replace with the indented versions: -`indent --linux-style {{path/to/source.c}} {{path/to/another_source.c}}` +`indent {{[-linux|--linux-style]}} {{path/to/source.c}} {{path/to/another_source.c}}` - Format C/C++ source according to the GNU style, saving the indented version to a different file: -`indent --gnu-style {{path/to/source.c}} -o {{path/to/indented_source.c}}` +`indent {{[-gnu|--gnu-style]}} {{path/to/source.c}} -o {{path/to/indented_source.c}}` -- Format C/C++ source according to the style of Kernigan & Ritchie (K&R), no tabs, 3 spaces per indent, and wrap lines at 120 characters: +- Format C/C++ source according to the style of Kernighan & Ritchie (K&R), no tabs, 3 spaces per indent, and wrap lines at 120 characters: -`indent --k-and-r-style --indent-level3 --no-tabs --line-length120 {{path/to/source.c}} -o {{path/to/indented_source.c}}` +`indent {{[-kr|--k-and-r-style]}} {{[-il|--indent-level]}}3 {{[-nut|--no-tabs]}} {{[-l|--line-length]}}120 {{path/to/source.c}} -o {{path/to/indented_source.c}}` diff --git a/pages/common/infection.md b/pages/common/infection.md index d5f96d5ccc9bcd..7ca2bde8d4fbe7 100644 --- a/pages/common/infection.md +++ b/pages/common/infection.md @@ -3,7 +3,7 @@ > A mutation testing framework for PHP. > More information: . -- Analyse code using the configuration file (or create one if it does not exist): +- Analyze code using the configuration file (or create one if it does not exist): `infection` @@ -19,7 +19,7 @@ `infection --min-covered-msi {{percentage}}` -- Use a specific test framework (defaults to phpunit): +- Use a specific test framework (defaults to PHPUnit): `infection --test-framework {{phpunit|phpspec}}` diff --git a/pages/common/influx.md b/pages/common/influx.md index d7309038ca6fce..ff1ba014f0596d 100644 --- a/pages/common/influx.md +++ b/pages/common/influx.md @@ -1,7 +1,7 @@ # influx -> InfluxDB command-line client. -> More information: . +> InfluxDB v1 client. +> More information: . - Connect to an InfluxDB running on localhost with no credentials: diff --git a/pages/common/info.md b/pages/common/info.md index 7770b49e210e2b..ed6ace11ea5604 100644 --- a/pages/common/info.md +++ b/pages/common/info.md @@ -1,7 +1,7 @@ # info -> Reads documentation stored in the info format. -> More information: . +> Read documentation stored in the info format. +> More information: . - Start reading top-level directory menu: diff --git a/pages/common/initdb.md b/pages/common/initdb.md index b325421b1c4e00..96809b21d19cff 100644 --- a/pages/common/initdb.md +++ b/pages/common/initdb.md @@ -1,8 +1,8 @@ # initdb -> Create a PostgreSQL database on disk. -> More information: . +> Create a PostgreSQL database cluster on disk. +> More information: . -- Create a database at /usr/local/var/postgres: +- Create a database cluster at `/usr/local/var/postgres`: -`initdb -D /usr/local/var/postgres` +`initdb {{[-D|--pgdata]}} /usr/local/var/postgres` diff --git a/pages/common/inkmake.md b/pages/common/inkmake.md new file mode 100644 index 00000000000000..e094b6173e9c46 --- /dev/null +++ b/pages/common/inkmake.md @@ -0,0 +1,24 @@ +# inkmake + +> GNU Makefile-style SVG exporting using Inkscape's backend. +> More information: . + +- Export an SVG file executing the specified Inkfile: + +`inkmake {{path/to/Inkfile}}` + +- Execute an Inkfile and show detailed information: + +`inkmake --verbose {{path/to/Inkfile}}` + +- Execute an Inkfile, specifying SVG input file(s) and an output file: + +`inkmake --svg {{path/to/file.svg}} --out {{path/to/output_image}} {{path/to/Inkfile}}` + +- Use a custom Inkscape binary as the backend: + +`inkmake --inkscape {{/Applications/Inkscape.app/Contents/Resources/bin/inkscape}} {{path/to/Inkfile}}` + +- Display help: + +`inkmake --help` diff --git a/pages/common/inkscape.md b/pages/common/inkscape.md index bdbe8014984346..ced6a714a186fe 100644 --- a/pages/common/inkscape.md +++ b/pages/common/inkscape.md @@ -6,28 +6,28 @@ - Open an SVG file in the Inkscape GUI: -`inkscape {{filename.svg}}` +`inkscape {{path/to/file.svg}}` - Export an SVG file into a bitmap with the default format (PNG) and the default resolution (96 DPI): -`inkscape {{filename.svg}} -o {{filename.png}}` +`inkscape {{path/to/file.svg}} {{[-o|--export-filename]}} {{path/to/file.png}}` - Export an SVG file into a bitmap of 600x400 pixels (aspect ratio distortion may occur): -`inkscape {{filename.svg}} -o {{filename.png}} -w {{600}} -h {{400}}` +`inkscape {{path/to/file.svg}} {{[-o|--export-filename]}} {{path/to/file.png}} {{[-w|--export-width]}} 600 {{[-h|--export-height]}} 400` - Export the drawing (bounding box of all objects) of an SVG file into a bitmap: -`inkscape {{filename.svg}} -o {{filename.png}} -D` +`inkscape {{path/to/file.svg}} {{[-o|--export-filename]}} {{path/to/file.png}} {{[-D|--export-area-drawing]}}` - Export a single object, given its ID, into a bitmap: -`inkscape {{filename.svg}} -i {{id}} -o {{object.png}}` +`inkscape {{path/to/file.svg}} {{[-i|--export-id]}} {{id}} {{[-o|--export-filename]}} {{object.png}}` - Export an SVG document to PDF, converting all texts to paths: -`inkscape {{filename.svg}} -o {{filename.pdf}} --export-text-to-path` +`inkscape {{path/to/file.svg}} {{[-o|--export-filename]}} {{path/to/file.pdf}} {{[-T|--export-text-to-path]}}` - Duplicate the object with id="path123", rotate the duplicate 90 degrees, save the file, and quit Inkscape: -`inkscape {{filename.svg}} --select=path123 --verb="{{EditDuplicate;ObjectRotate90;FileSave;FileQuit}}"` +`inkscape {{path/to/file.svg}} --select=path123 --verb="{{EditDuplicate;ObjectRotate90;FileSave;FileQuit}}"` diff --git a/pages/common/inkview.md b/pages/common/inkview.md index 5efeae898be017..769e24414526f1 100644 --- a/pages/common/inkview.md +++ b/pages/common/inkview.md @@ -2,12 +2,12 @@ > Inkscape graphical SVG previewer. > Also functions as a slideshow viewer. -> More information: . +> More information: . - Preview an SVG: `inkview {{path/to/file.svg}}` -- Preview multiple SVGs (use arrow keys to navigate): +- Preview multiple SVGs (use `` to navigate): -`inkview {{path/to/file_a.svg}} {{path/to/file_b.svg}} {{path/to/file_c.svg}}` +`inkview {{path/to/file1.svg path/to/file2.svg ...}}` diff --git a/pages/common/install-nodeversion.md b/pages/common/install-nodeversion.md new file mode 100644 index 00000000000000..115b55d91bf558 --- /dev/null +++ b/pages/common/install-nodeversion.md @@ -0,0 +1,25 @@ +# Install-NodeVersion + +> Install Node.js runtime versions for `ps-nvm`. +> This command is part of `ps-nvm` and can only be run under PowerShell. +> More information: . + +- Install a specific Node.js version: + +`Install-NodeVersion {{node_version}}` + +- Install multiple Node.js versions: + +`Install-NodeVersion {{node_version1 , node_version2 , ...}}` + +- Install latest available version of Node.js 20: + +`Install-NodeVersion ^20` + +- Install the x86 (x86 32-bit) / x64 (x86 64-bit) / arm64 (ARM 64-bit) version of Node.js: + +`Install-NodeVersion {{node_version}} -Architecture {{x86|x64|arm64}}` + +- Use a HTTP proxy to download Node.js: + +`Install-NodeVersion {{node-version}} -Proxy {{http://example.com}}` diff --git a/pages/common/install-tl.md b/pages/common/install-tl.md new file mode 100644 index 00000000000000..33f552eaa1fdb6 --- /dev/null +++ b/pages/common/install-tl.md @@ -0,0 +1,28 @@ +# install-tl + +> TeX Live cross-platform installer. +> More information: . + +- Start the text-based installer (default on Unix systems): + +`install-tl -no-gui` + +- Start the GUI installer (default on macOS and Windows, requires Tcl/Tk): + +`install-tl -gui` + +- Install TeX Live as defined in a specific profile file: + +`install-tl -profile {{path/to/texlive.profile}}` + +- Start the installer with the settings from a specific profile file: + +`install-tl -init-from-file {{path/to/texlive.profile}}` + +- Start the installer for installation on a portable device, like a USB stick: + +`install-tl -portable` + +- Display help: + +`install-tl -help` diff --git a/pages/common/install.md b/pages/common/install.md index 0059a913d3b1a0..bada5693c6367b 100644 --- a/pages/common/install.md +++ b/pages/common/install.md @@ -2,23 +2,28 @@ > Copy files and set attributes. > Copy files (often executable) to a system location like `/usr/local/bin`, give them the appropriate permissions/ownership. +> More information: . -- Copy files to destination: +- Copy files to the destination: -`install {{path/to/source}} {{path/to/destination}}` +`install {{path/to/source_file1 path/to/source_file2 ...}} {{path/to/destination}}` -- Copy files to destination, setting their ownership: +- Copy files to the destination, setting their ownership: -`install -o {{user}} {{path/to/source}} {{path/to/destination}}` +`install {{[-o|--owner]}} {{user}} {{path/to/source_file1 path/to/source_file2 ...}} {{path/to/destination}}` -- Copy files to destination, setting their group ownership: +- Copy files to the destination, setting their group ownership: -`install -g {{user}} {{path/to/source}} {{path/to/destination}}` +`install {{[-g|--group]}} {{user}} {{path/to/source_file1 path/to/source_file2 ...}} {{path/to/destination}}` -- Copy files to destination, setting their `mode`: +- Copy files to the destination, setting their `mode`: -`install -m {{+x}} {{path/to/source}} {{path/to/destination}}` +`install {{[-m|--mode]}} {{+x}} {{path/to/source_file1 path/to/source_file2 ...}} {{path/to/destination}}` -- Copy files and apply access/modification times of source to destination: +- Copy files and apply access/modification times of source to the destination: -`install -p {{path/to/source}} {{path/to/destination}}` +`install {{[-p|--preserve-timestamps]}} {{path/to/source_file1 path/to/source_file2 ...}} {{path/to/destination}}` + +- Copy files and create the directories at the destination if they don't exist: + +`install -D {{path/to/source_file1 path/to/source_file2 ...}} {{path/to/destination}}` diff --git a/pages/common/interdiff.md b/pages/common/interdiff.md index 66e6944845aba7..f812cf1d85d054 100644 --- a/pages/common/interdiff.md +++ b/pages/common/interdiff.md @@ -1,7 +1,7 @@ # interdiff > Show differences between two diff files. -> More information: . +> More information: . - Compare diff files: @@ -9,4 +9,4 @@ - Compare diff files, ignoring whitespace: -`interdiff -w {{old_file}} {{new_file}}` +`interdiff {{[-w|--ignore-all-space]}} {{old_file}} {{new_file}}` diff --git a/pages/common/ionic.md b/pages/common/ionic.md index 7a0bf992969425..19200dd0a5bdda 100644 --- a/pages/common/ionic.md +++ b/pages/common/ionic.md @@ -15,14 +15,14 @@ `ionic g {{page}}` -- Show versions of ionic, cordova, environment, etc.: - -`ionic info` - -- Run app on an android/ios device: +- Run app on an Android/iOS device: `ionic cordova run {{android|ios}} --device` -- Check the health of a ionic app: +- Check the health of an Ionic app: `ionic doctor {{check}}` + +- Display versions of Ionic, Cordova, environment, etc.: + +`ionic info` diff --git a/pages/common/ionice.md b/pages/common/ionice.md deleted file mode 100644 index 2b0115a03de3ec..00000000000000 --- a/pages/common/ionice.md +++ /dev/null @@ -1,17 +0,0 @@ -# ionice - -> Get or set program I/O scheduling class and priority. -> Scheduling classes: 1 (realtime), 2 (best-effort), 3 (idle). -> Priority levels: 0 (the highest) - 7 (the lowest). - -- Set I/O scheduling class of a running process: - -`ionice -c {{scheduling_class}} -p {{pid}}` - -- Run a command with custom I/O scheduling class and priority: - -`ionice -c {{scheduling_class}} -n {{priority}} {{command}}` - -- Print the I/O scheduling class and priority of a running process: - -`ionice -p {{pid}}` diff --git a/pages/common/ioping.md b/pages/common/ioping.md index 50799fe0f1a9d5..2ddda8095d5ef6 100644 --- a/pages/common/ioping.md +++ b/pages/common/ioping.md @@ -9,12 +9,12 @@ - Measure latency on /tmp using 10 requests of 1 megabyte each: -`ioping -c 10 -s 1M /tmp` +`ioping {{[-c|-count]}} 10 {{[-s|-size]}} 1M /tmp` - Measure disk seek rate on `/dev/sdX`: -`ioping -R {{/dev/sdX}}` +`ioping {{[-R|-rapid]}} {{/dev/sdX}}` - Measure disk sequential speed on `/dev/sdX`: -`ioping -RL {{/dev/sdX}}` +`ioping {{[-RL|-rapid -linear]}} {{/dev/sdX}}` diff --git a/pages/common/iotop.md b/pages/common/iotop.md index b62a61cf7cba9c..5876005e9ed115 100644 --- a/pages/common/iotop.md +++ b/pages/common/iotop.md @@ -1,32 +1,32 @@ # iotop > Display a table of current I/O usage by processes or threads. -> More information: . +> More information: . - Start top-like I/O monitor: -`iotop` +`sudo iotop` - Show only processes or threads actually doing I/O: -`iotop -o` +`sudo iotop {{[-o|--only]}}` - Show I/O usage in non-interactive mode: -`iotop -b` +`sudo iotop {{[-b|--batch]}}` -- Show only I/O usage of processes(Default is to show all threads): +- Show only I/O usage of processes (default is to show all threads): -`iotop -P` +`sudo iotop {{[-P|--processes]}}` - Show I/O usage of given PID(s): -`iotop -p {{PID}}` +`sudo iotop {{[-p|--pid]}} {{PID}}` - Show I/O usage of a given user: -`iotop -u {{user}}` +`sudo iotop {{[-u|--user]}} {{user}}` - Show accumulated I/O instead of bandwidth: -`iotop -a` +`sudo iotop {{[-a|--accumulated]}}` diff --git a/pages/common/ipaggcreate.md b/pages/common/ipaggcreate.md new file mode 100644 index 00000000000000..1c7eb99ff5c981 --- /dev/null +++ b/pages/common/ipaggcreate.md @@ -0,0 +1,16 @@ +# ipaggcreate + +> Produce aggregate statistics of TCP/IP dumps. +> More information: . + +- Count the number of packets sent from each source address appearing in a PCAP file: + +`ipaggcreate --src {{path/to/file.pcap}}` + +- Group and count packets read from a network interface by IP packet length: + +`ipaggcreate --interface {{eth0}} --length` + +- Count the number of bytes sent between each address pair appearing in a PCAP file: + +`ipaggcreate --address-pairs --bytes {{path/to/file.pcap}}` diff --git a/pages/common/ipaggmanip.md b/pages/common/ipaggmanip.md new file mode 100644 index 00000000000000..d447781d215638 --- /dev/null +++ b/pages/common/ipaggmanip.md @@ -0,0 +1,16 @@ +# ipaggmanip + +> Manipulate aggregate statistics produced by `ipaggcreate`. +> More information: . + +- Combine labels equal in their high-order bits: + +`ipaggmanip {{[-p|--prefix]}} {{16}} {{path/to/file}}` + +- Remove labels with a count smaller than a given number of bytes and output a random sample of such labels: + +`ipaggmanip --cut-smaller {{100}} --cull-labels {{5}} {{path/to/file}}` + +- Replace each label's count with 1 if it is non-zero: + +`ipaggmanip {{[-P|--posterize]}} {{path/to/file}}` diff --git a/pages/common/ipcalc.md b/pages/common/ipcalc.md new file mode 100644 index 00000000000000..2306b53bb33ecf --- /dev/null +++ b/pages/common/ipcalc.md @@ -0,0 +1,28 @@ +# ipcalc + +> Calculate IP information (subnet, broadcast, host range) from an IP address and netmask. +> More information: . + +- Display network info for an IP address: + +`ipcalc {{192.168.0.1}}` + +- Display network info using CIDR notation: + +`ipcalc {{192.168.0.1}}/{{24}}` + +- Display network info using a dotted decimal netmask: + +`ipcalc {{192.168.0.1}} {{255.255.255.0}}` + +- Suppress bitwise output: + +`ipcalc {{[-b|--nobinary]}} {{192.168.0.1}}` + +- Split a network into specified sized blocks: + +`ipcalc {{[-s|--split]}} {{size1 size2 size3 ...}} {{192.168.0.1}}` + +- Display version: + +`ipcalc {{[-v|--version]}}` diff --git a/pages/common/ipcs.md b/pages/common/ipcs.md index d35fa4a1676866..b025cd711a3752 100644 --- a/pages/common/ipcs.md +++ b/pages/common/ipcs.md @@ -1,11 +1,32 @@ # ipcs -> Display information about resources used in IPC (Inter-process Communication). +> Show information about the usage of XSI IPC facilities: shared memory segments, message queues, and semaphore arrays. +> More information: . -- Specific information about the Message Queue which has the id 32768: +- Show information about all the IPC: -`ipcs -qi 32768` +`ipcs -a` -- General information about all the IPC: +- Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets: -`ipcs -a` +`ipcs {{-m|-q|-s}}` + +- Show information on maximum allowable size in [b]ytes: + +`ipcs -b` + +- Show [c]reator's user name and group name for all IPC facilities: + +`ipcs -c` + +- Show the [p]ID of the last operators for all IPC facilities: + +`ipcs -p` + +- Show access [t]imes for all IPC facilities: + +`ipcs -t` + +- Show [o]utstanding usage for active message queues, and shared memory segments: + +`ipcs -o` diff --git a/pages/common/iperf.md b/pages/common/iperf.md index c38ca9ddc5c57f..bac454c5acc871 100644 --- a/pages/common/iperf.md +++ b/pages/common/iperf.md @@ -5,24 +5,24 @@ - Run on server: -`iperf -s` +`iperf {{[-s|--server]}}` - Run on server using UDP mode and set server port to listen on 5001: -`iperf -u -s -p {{5001}}` +`iperf {{[-u|--udp]}} {{[-s|--server]}} {{[-p|--port]}} {{5001}}` - Run on client: -`iperf -c {{server_address}}` +`iperf {{[-c|--client]}} {{server_address}}` - Run on client every 2 seconds: -`iperf -c {{server_address}} -i {{2}}` +`iperf {{[-c|--client]}} {{server_address}} {{[-i|--interval]}} {{2}}` - Run on client with 5 parallel threads: -`iperf -c {{server_address}} -P {{5}}` +`iperf {{[-c|--client]}} {{server_address}} {{[-P|--parallel]}} {{5}}` - Run on client using UDP mode: -`iperf -u -c {{server_address}} -p {{5001}}` +`iperf {{[-u|--udp]}} {{[-c|--client]}} {{server_address}} {{[-p|--port]}} {{5001}}` diff --git a/pages/common/iperf3.md b/pages/common/iperf3.md index fd08fa98fd24f3..2a4e21d4e85d62 100644 --- a/pages/common/iperf3.md +++ b/pages/common/iperf3.md @@ -5,20 +5,20 @@ - Run iperf3 as a server: -`iperf3 -s` +`iperf3 {{[-s|--server]}}` - Run an iperf3 server on a specific port: -`iperf3 -s -p {{port}}` +`iperf3 {{[-s|--server]}} {{[-p|--port]}} {{port}}` - Start bandwidth test: -`iperf3 -c {{server}}` +`iperf3 {{[-c|--client]}} {{server}}` - Run iperf3 in multiple parallel streams: -`iperf3 -c {{server}} -P {{streams}}` +`iperf3 {{[-c|--client]}} {{server}} {{[-P|--parallel]}} {{streams}}` - Reverse direction of the test. Server sends data to the client: -`iperf3 -c {{server}} -R` +`iperf3 {{[-c|--client]}} {{server}} {{[-R|--reverse]}}` diff --git a/pages/common/ipfs.md b/pages/common/ipfs.md index d3bd83ae588847..9c763970793aae 100644 --- a/pages/common/ipfs.md +++ b/pages/common/ipfs.md @@ -6,15 +6,15 @@ - Add a file from local to the filesystem, pin it and print the relative hash: -`ipfs add {{filename}}` +`ipfs add {{path/to/file}}` - Add a directory and its files recursively from local to the filesystem and print the relative hash: -`ipfs add -r {{directory}}` +`ipfs add -r {{path/to/directory}}` - Save a remote file and give it a name but not pin it: -`ipfs get {{hash}} -o {{filename}}` +`ipfs get {{hash}} -o {{path/to/file}}` - Pin a remote file locally: diff --git a/pages/common/ipmitool.md b/pages/common/ipmitool.md new file mode 100644 index 00000000000000..d15ee8057ca11f --- /dev/null +++ b/pages/common/ipmitool.md @@ -0,0 +1,12 @@ +# ipmitool + +> Interface with the Intelligent Platform Management Interface (IPMI). +> More information: . + +- Open IPMI shell on the local hardware: + +`sudo ipmitool shell` + +- Open IPMI shell on a remote host: + +`ipmitool -H {{ip_address}} -U {{user_name}} shell` diff --git a/pages/common/ippeveprinter.md b/pages/common/ippeveprinter.md new file mode 100644 index 00000000000000..b2988c3a408a83 --- /dev/null +++ b/pages/common/ippeveprinter.md @@ -0,0 +1,29 @@ +# ippeveprinter + +> A simple IPP Everywhere printer server. +> See also: `ippeveps`, `ippevepcl`. +> More information: . + +- Run the server with a specific service name: + +`ippeveprinter "{{service_name}}"` + +- Load printer attributes from a PPD file: + +`ippeveprinter -P {{path/to/file.ppd}} "{{service_name}}"` + +- Run the `file` command whenever a job is sent to the server: + +`ippeveprinter -c {{/usr/bin/file}} "{{service_name}}"` + +- Specify the directory that will hold the print files (by default, a directory under the user's temporary directory): + +`ippeveprinter -d {{spool_directory}} "{{service_name}}"` + +- Keep the print documents in the spool directory rather than deleting them: + +`ippeveprinter -k "{{service_name}}"` + +- Specify the printer speed in pages/minute unit (10 by default): + +`ippeveprinter -s {{speed}} "{{service_name}}"` diff --git a/pages/common/ippeveps.md b/pages/common/ippeveps.md new file mode 100644 index 00000000000000..96749190278b0c --- /dev/null +++ b/pages/common/ippeveps.md @@ -0,0 +1,14 @@ +# ippeveps + +> Print to Adobe PostScript printers. +> Supports PDF, PostScript, JPEG, PWG Raster or Apple Raster files. +> See also: `ippevepcl`, `ippeveprinter`. +> More information: . + +- Print a file to `stdout` (status and progress messages are sent to `stderr`): + +`ippeveps {{path/to/file}}` + +- Print a file from `stdin` to `stdout`: + +`{{wget --output-document - https://example.com/file}} | ippeveps` diff --git a/pages/common/ippfind.md b/pages/common/ippfind.md new file mode 100644 index 00000000000000..c5d39771ca38a7 --- /dev/null +++ b/pages/common/ippfind.md @@ -0,0 +1,21 @@ +# ippfind + +> Find services registered with a DNS server or available through local devices. +> See also: `ipptool`, `ippeveprinter`. +> More information: . + +- List IPP printers registered on the network with their status: + +`ippfind {{[-l|--ls]}}` + +- Send a specific PostScript document to every PostScript printer on the network: + +`ippfind --txt-pdl application/postscript {{[-x|--exec]}} ipptool -f {{path/to/document.ps}} '{}' print-job.test \;` + +- Send a PostScript test document to every PostScript printer on the network: + +`ippfind --txt-pdl application/postscript {{[-x|--exec]}} ipptool -f onepage-letter.ps '{}' print-job.test \;` + +- Send a PostScript test document to every PostScript printer on the network, whose name matches a `regex`: + +`ippfind --txt-pdl application/postscript {{[-h|--host]}} {{regex}} {{[-x|--exec]}} ipptool -f onepage-letter.ps '{}' print-job.test \;` diff --git a/pages/common/ipptool.md b/pages/common/ipptool.md new file mode 100644 index 00000000000000..7b610c19dd8425 --- /dev/null +++ b/pages/common/ipptool.md @@ -0,0 +1,17 @@ +# ipptool + +> Issue IPP requests and receive printer's/server's responses. +> See also: `ippfind`, `ippeveprinter`. +> More information: . + +- Get all attributes and their values supported by a printer: + +`ipptool ipp://{{printer_uri}} get-completed-jobs.test` + +- Get the list of completed jobs of a printer: + +`ipptool ipp://{{printer_uri}} get-completed-jobs.test` + +- Send an email notification when a printer changes: + +`ipptool -d recipient=mailto:{{email}} ipp://{{printer_uri}} create-printer-subscription.test` diff --git a/pages/common/iproxy.md b/pages/common/iproxy.md new file mode 100644 index 00000000000000..e25190d29a4c2d --- /dev/null +++ b/pages/common/iproxy.md @@ -0,0 +1,20 @@ +# iproxy + +> A proxy that binds local TCP ports to be forwarded to the specified ports on a usbmux device. +> More information: . + +- Bind a local TCP port and forward it to a port on the connected USB device: + +`iproxy {{local_port}}:{{device_port}}` + +- Bind multiple local TCP ports and forward them to the respective ports on the connected USB device: + +`iproxy {{local_port1}}:{{device_port1}} {{local_port2}}:{{device_port2}}` + +- Bind a local port and forward it to a specific device by UDID: + +`iproxy --udid {{device_udid}} {{local_port}}:{{device_port}}` + +- Bind a local port and forward it to a network-connected device with WiFi sync enabled: + +`iproxy --network {{local_port}}:{{device_port}}` diff --git a/pages/common/ipscan.md b/pages/common/ipscan.md new file mode 100644 index 00000000000000..b464919f70d490 --- /dev/null +++ b/pages/common/ipscan.md @@ -0,0 +1,29 @@ +# ipscan + +> A fast network scanner designed to be simple to use. +> Also known as Angry IP Scanner. +> More information: . + +- Scan a specific IP address: + +`ipscan {{192.168.0.1}}` + +- Scan a range of IP addresses: + +`ipscan {{192.168.0.1-254}}` + +- Scan a range of IP addresses and save the results to a file: + +`ipscan {{192.168.0.1-254}} -o {{path/to/output.txt}}` + +- Scan IPs with a specific set of ports: + +`ipscan {{192.168.0.1-254}} -p {{80,443,22}}` + +- Scan with a delay between requests to avoid network congestion: + +`ipscan {{192.168.0.1-254}} -d {{200}}` + +- Display help: + +`ipscan --help` diff --git a/pages/common/ipsumdump.md b/pages/common/ipsumdump.md new file mode 100644 index 00000000000000..0bdba9e3156e40 --- /dev/null +++ b/pages/common/ipsumdump.md @@ -0,0 +1,16 @@ +# ipsumdump + +> Summarise TCP/IP dumps into a human and machine readable ASCII format. +> More information: . + +- Print the source and destination IP addresses of all packets in a PCAP file: + +`ipsumdump --src --dst {{path/to/file.pcap}}` + +- Print the timestamps, source address, source port, destination address, destination port and protocol of all packets read from a given network interface: + +`ipsumdump --interface {{eth0}} -tsSdDp` + +- Print the anonymised source address, anonymised destination address, and IP packet length of all packets in a PCAP file: + +`ipsumdump --src --dst --length --anonymize {{path/to/file.pcap}}` diff --git a/pages/common/ipython.md b/pages/common/ipython.md index b310e7b80b133c..48d0f15787ad99 100644 --- a/pages/common/ipython.md +++ b/pages/common/ipython.md @@ -1,9 +1,9 @@ -# IPython +# ipython > A Python shell with automatic history, dynamic object introspection, easier configuration, command completion, access to the system shell and more. -> More information: . +> More information: . -- Start an interactive IPython session: +- Start a REPL (interactive shell): `ipython` diff --git a/pages/common/irb.md b/pages/common/irb.md new file mode 100644 index 00000000000000..3b8d9d21e0cb07 --- /dev/null +++ b/pages/common/irb.md @@ -0,0 +1,9 @@ +# irb + +> Interactive Ruby shell. +> Evaluate Ruby code read from `stdin`. +> More information: . + +- Start the interactive shell: + +`irb` diff --git a/pages/common/irssi.md b/pages/common/irssi.md index c50d8f732bdc8f..44696bc0a2b2c3 100644 --- a/pages/common/irssi.md +++ b/pages/common/irssi.md @@ -3,17 +3,17 @@ > Text based IRC client. > More information: . -- Open irssi and connect to a server with a nickname: +- Open Irssi and connect to a server with a nickname: -`irssi -n {{nickname}} -c {{irc.example.com}}` +`irssi {{[-n|--nick]}} {{nickname}} {{[-c|--connect]}} {{irc.example.com}}` -- Open irssi and connect with a specific server on a given port: +- Open Irssi and connect with a specific server on a given port: -`irssi -c {{irc.example.com}} -p {{port}}` +`irssi {{[-c|--connect]}} {{irc.example.com}} {{[-p|--port]}} {{port}}` -- View the help: +- Display help: -`irssi --help` +`irssi {{[-?|--help]}}` - Join a channel: diff --git a/pages/common/isisdl.md b/pages/common/isisdl.md new file mode 100644 index 00000000000000..2d76179b5ca77d --- /dev/null +++ b/pages/common/isisdl.md @@ -0,0 +1,28 @@ +# isisdl + +> A downloading utility for ISIS of TU-Berlin. Download all your files and videos from ISIS. +> More information: . + +- Start the synchronization process: + +`isisdl` + +- Limit the download rate to 20 MiB/s and download with 5 threads: + +`isisdl --download-rate {{20}} --max-num-threads {{5}}` + +- Run the initialization configuration wizard: + +`isisdl --init` + +- Run the additional configuration wizard: + +`isisdl --config` + +- Initiate a full synchronization of the database and compute the checksum of every file: + +`isisdl --sync` + +- Start ffmpeg to compress downloaded videos: + +`isisdl --compress` diff --git a/pages/common/ispell.md b/pages/common/ispell.md new file mode 100644 index 00000000000000..b8fedefc4dfb97 --- /dev/null +++ b/pages/common/ispell.md @@ -0,0 +1,16 @@ +# ispell + +> Interactive spell checking. +> More information: . + +- Start an interactive session: + +`ispell` + +- Check for typos in the specified file and interactively apply suggestions: + +`ispell {{path/to/file}}` + +- Display version: + +`ispell -v` diff --git a/pages/common/isutf8.md b/pages/common/isutf8.md new file mode 100644 index 00000000000000..906aacc7b630de --- /dev/null +++ b/pages/common/isutf8.md @@ -0,0 +1,24 @@ +# isutf8 + +> Check whether text files contain valid UTF-8. +> More information: . + +- Check whether the specified files contain valid UTF-8: + +`isutf8 {{path/to/file1 path/to/file2 ...}}` + +- Print errors using multiple lines: + +`isutf8 {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}` + +- Do not print anything to `stdout`, indicate the result merely with the exit code: + +`isutf8 {{[-q|--quiet]}} {{path/to/file1 path/to/file2 ...}}` + +- Only print the names of the files containing invalid UTF-8: + +`isutf8 {{[-l|--list]}} {{path/to/file1 path/to/file2 ...}}` + +- Same as `--list` but inverted, i.e., only print the names of the files containing valid UTF-8: + +`isutf8 {{[-i|--invert]}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/iverilog.md b/pages/common/iverilog.md index d470768a29520b..fa48967c142c41 100644 --- a/pages/common/iverilog.md +++ b/pages/common/iverilog.md @@ -1,24 +1,24 @@ # iverilog -> Preprocesses and compiles Verilog HDL (IEEE-1364) code, into executable programs for simulation. -> More information: . +> Preprocesses and compiles Verilog HDL (IEEE-1364) code into executable programs for simulation. +> More information: . - Compile a source file into an executable: -`iverilog {{source.v}} -o {{executable}}` +`iverilog {{path/to/source.v}} -o {{path/to/executable}}` -- Also display all warnings: +- Compile a source file into an executable while displaying all warnings: -`iverilog {{source.v}} -Wall -o {{executable}}` +`iverilog {{path/to/source.v}} -Wall -o {{path/to/executable}}` - Compile and run explicitly using the VVP runtime: -`iverilog -o {{executable}} -tvvp {{source.v}}` +`iverilog -o {{path/to/executable}} -tvvp {{path/to/source.v}}` - Compile using Verilog library files from a different path: -`iverilog {{source.v}} -o {{executable}} -I{{path/to/library_directory}}` +`iverilog {{path/to/source.v}} -o {{path/to/executable}} -I{{path/to/library_directory}}` - Preprocess Verilog code without compiling: -`iverilog -E {{source.v}}` +`iverilog -E {{path/to/source.v}}` diff --git a/pages/common/ivpn.md b/pages/common/ivpn.md new file mode 100644 index 00000000000000..f5f1e9e9ca1099 --- /dev/null +++ b/pages/common/ivpn.md @@ -0,0 +1,13 @@ +# ivpn + +> Interface for the IVPN client. +> See also: `fastd`, `mozillavpn`, `mullvad`, `warp-cli`. +> More information: . + +- Print the current state of IVPN, including the connection and firewall status: + +`ivpn status` + +- List available servers to connect to: + +`ivpn servers` diff --git a/pages/common/j.md b/pages/common/j.md new file mode 100644 index 00000000000000..bf7eba1bb11737 --- /dev/null +++ b/pages/common/j.md @@ -0,0 +1,7 @@ +# j + +> This command is an alias of `autojump`. + +- View documentation for the original command: + +`tldr autojump` diff --git a/pages/common/jadx.md b/pages/common/jadx.md new file mode 100644 index 00000000000000..2485107bdf1f04 --- /dev/null +++ b/pages/common/jadx.md @@ -0,0 +1,13 @@ +# jadx + +> Dex to Java decompiler. +> Produces Java source code from Android Dex and APK files. +> More information: . + +- Decompile a Dex file into a directory: + +`jadx {{path/to/file}}` + +- Decompile a Dex file into a specific directory: + +`jadx {{[-d|--output-dir]}} {{path/to/directory}} {{path/to/file}}` diff --git a/pages/common/jar.md b/pages/common/jar.md index 55804756534cf5..36434c0c13210d 100644 --- a/pages/common/jar.md +++ b/pages/common/jar.md @@ -1,6 +1,6 @@ # jar -> Java Applications/Libraries Packager. +> Java applications/libraries packager. > More information: . - Recursively archive all files in the current directory into a .jar file: diff --git a/pages/common/jarsigner.md b/pages/common/jarsigner.md index ac9143ee260a87..b0ab5c1652be21 100644 --- a/pages/common/jarsigner.md +++ b/pages/common/jarsigner.md @@ -1,7 +1,7 @@ # jarsigner -> Sign and verify Java Archive (JAR) files. -> More information: . +> Sign and verify Java archive (JAR) files. +> More information: . - Sign a JAR file: diff --git a/pages/common/java.md b/pages/common/java.md index bc5004f4351d85..51632931a06ee3 100644 --- a/pages/common/java.md +++ b/pages/common/java.md @@ -1,17 +1,21 @@ # java -> Java Application Launcher. -> More information: . +> Java application launcher. +> More information: . -- Execute a java .class file that contains a main method by using just the class name: +- Execute a Java `.class` file that contains a main method by using just the class name: `java {{classname}}` -- Execute a .jar program: +- Execute a Java program and use additional third-party or user-defined classes: + +`java -classpath {{path/to/classes1}}:{{path/to/classes2}}:. {{classname}}` + +- Execute a `.jar` program: `java -jar {{filename.jar}}` -- Execute a .jar program with debug waiting to connect on port 5005: +- Execute a `.jar` program with debug waiting to connect on port 5005: `java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{filename.jar}}` @@ -19,6 +23,6 @@ `java -version` -- Display usage information for the java command: +- Display help: `java -help` diff --git a/pages/common/javac.md b/pages/common/javac.md index 5d04e04dd34275..863229fc8135f8 100644 --- a/pages/common/javac.md +++ b/pages/common/javac.md @@ -1,19 +1,20 @@ # javac -> Java Application Compiler. +> Java application compiler. +> More information: . -- Compile a .java file: +- Compile a `.java` file: -`javac {{file.java}}` +`javac {{path/to/file.java}}` -- Compile several .java files: +- Compile several `.java` files: -`javac {{file1.java}} {{file2.java}} {{file3.java}}` +`javac {{path/to/file1.java path/to/file2.java ...}}` -- Compile all .java files in current directory: +- Compile all `.java` files in current directory: `javac {{*.java}}` -- Compile a .java file and place the resulting class file in a specific directory: +- Compile a `.java` file and place the resulting class file in a specific directory: -`javac -d {{path/to/some/directory}} {{file.java}}` +`javac -d {{path/to/directory}} {{path/to/file.java}}` diff --git a/pages/common/javadoc.md b/pages/common/javadoc.md index 7dff29c9fe4e1a..7dbb3e9981fcce 100644 --- a/pages/common/javadoc.md +++ b/pages/common/javadoc.md @@ -1,11 +1,11 @@ # javadoc > Generate Java API documentation in HTML format from source code. -> More information: . +> More information: . - Generate documentation for Java source code and save the result in a directory: -`javadoc -d {{path/to/directory/}} {{path/to/java_source_code}}` +`javadoc -d {{path/to/directory}}/ {{path/to/java_source_code}}` - Generate documentation with a specific encoding: diff --git a/pages/common/javap.md b/pages/common/javap.md new file mode 100644 index 00000000000000..c269114ba1d810 --- /dev/null +++ b/pages/common/javap.md @@ -0,0 +1,20 @@ +# javap + +> Disassemble class files and list them. +> More information: . + +- Disassemble and list one or more `.class` files: + +`javap {{path/to/file1.class path/to/file2.class ...}}` + +- Disassemble and list a built-in class file: + +`javap java.{{package}}.{{class}}` + +- Display help: + +`javap -help` + +- Display version: + +`javap -version` diff --git a/pages/common/jbang.md b/pages/common/jbang.md new file mode 100644 index 00000000000000..fdfedbccddcc8b --- /dev/null +++ b/pages/common/jbang.md @@ -0,0 +1,37 @@ +# jbang + +> Easily create, edit and run self-contained source-only Java programs. +> See also: `java`. +> More information: . + +- Initialize a simple Java class: + +`jbang init {{path/to/file.java}}` + +- Initialize a Java class (useful for scripting): + +`jbang init --template={{cli}} {{path/to/file.java}}` + +- Use `jshell` to explore and use a script and any dependencies in a REPL editor: + +`jbang run --interactive` + +- Setup a temporary project to edit a script in an IDE: + +`jbang edit --open={{codium|code|eclipse|idea|netbeans|gitpod}} {{path/to/script.java}}` + +- Run a Java code snippet (Java 9 and later): + +`{{echo 'Files.list(Paths.get("/etc")).forEach(System.out::println);'}} | jbang -` + +- Run command-line application: + +`jbang {{path/to/file.java}} {{command}} {{arg1 arg2 ...}}` + +- Install a script on the user's `$PATH`: + +`jbang app install --name {{command_name}} {{path/to/script.java}}` + +- Install a specific version of JDK to be used with `jbang`: + +`jbang jdk install {{version}}` diff --git a/pages/common/jc.json.md b/pages/common/jc.json.md new file mode 100644 index 00000000000000..92c9aca58e5f93 --- /dev/null +++ b/pages/common/jc.json.md @@ -0,0 +1,20 @@ +# jc + +> Convert the output of multiple commands to JSON. +> More information: . + +- Convert command output to JSON via pipe: + +`{{ifconfig}} | jc {{--ifconfig}}` + +- Convert command output to JSON via magic syntax: + +`jc {{ifconfig}}` + +- Output pretty JSON via pipe: + +`{{ifconfig}} | jc {{--ifconfig}} {{[-p|--pretty]}}` + +- Output pretty JSON via magic syntax: + +`jc {{[-p|--pretty]}} {{ifconfig}}` diff --git a/pages/common/jc.md b/pages/common/jc.md index f8bc34ba1560f3..11f186c7ec72c6 100644 --- a/pages/common/jc.md +++ b/pages/common/jc.md @@ -1,20 +1,11 @@ # jc -> A utility to convert the output of multiple commands to JSON. -> More information: . +> `jc` can refer to multiple commands with the same name. -- Convert command output to JSON via pipe: +- View documentation for the `JSON` serializer: -`{{ifconfig}} | jc {{--ifconfig}}` +`tldr jc.json` -- Convert command output to JSON via magic syntax: +- View documentation for the `autojump` alias: -`jc {{ifconfig}}` - -- Output pretty JSON via pipe: - -`{{ifconfig}} | jc {{--ifconfig}} -p` - -- Output pretty JSON via magic syntax: - -`jc -p {{ifconfig}}` +`tldr autojump` diff --git a/pages/common/jcal.md b/pages/common/jcal.md index 491def535d2235..b78d308fb96a18 100644 --- a/pages/common/jcal.md +++ b/pages/common/jcal.md @@ -1,7 +1,7 @@ # jcal > Display calendar information in the Jalali format, with the current day highlighted. -> More information: . +> More information: . - Display a calendar for the current month: diff --git a/pages/common/jco.md b/pages/common/jco.md new file mode 100644 index 00000000000000..cd9579d3fdd86a --- /dev/null +++ b/pages/common/jco.md @@ -0,0 +1,7 @@ +# jco + +> This command is an alias of `autojump`. + +- View documentation for the original command: + +`tldr autojump` diff --git a/pages/common/jdeps.md b/pages/common/jdeps.md new file mode 100644 index 00000000000000..ee6b0e156634b4 --- /dev/null +++ b/pages/common/jdeps.md @@ -0,0 +1,24 @@ +# jdeps + +> Java class dependency analyzer. +> More information: . + +- Analyze the dependencies of a `.jar` or `.class` file: + +`jdeps {{path/to/file.class}}` + +- Print a summary of all dependencies of a specific `.jar` file: + +`jdeps {{path/to/file.jar}} -summary` + +- Print all class-level dependencies of a `.jar` file: + +`jdeps {{path/to/file.jar}} -verbose` + +- Output the results of the analysis in a DOT file into a specific directory: + +`jdeps {{path/to/file.jar}} -dotoutput {{path/to/directory}}` + +- Display help: + +`jdeps --help` diff --git a/pages/common/jdupes.md b/pages/common/jdupes.md index d15fe5fc5cedac..9b896e36e06a84 100644 --- a/pages/common/jdupes.md +++ b/pages/common/jdupes.md @@ -1,28 +1,28 @@ # jdupes -> A powerful duplicate file finder and an enhanced fork of fdupes. -> More information: . +> A powerful duplicate file finder and an enhanced fork of `fdupes`. +> More information: . - Search a single directory: -`jdupes {{directory}}` +`jdupes {{path/to/directory}}` - Search multiple directories: -`jdupes {{directory1}} {{directory2}}` +`jdupes {{directory1 directory2 ...}}` - Search all directories recursively: -`jdupes --recurse {{directory}}` +`jdupes {{[-r|--recurse]}} {{path/to/directory}}` - Search directory recursively and let user choose files to preserve: -`jdupes --delete --recurse {{directory}}` +`jdupes {{[-d|--delete]}} {{[-r|--recurse]}} {{path/to/directory}}` - Search multiple directories and follow subdirectores under directory2, not directory1: -`jdupes {{directory1}} --recurse: {{directory2}}` +`jdupes {{directory1}} {{[-R|--recurse:]}} {{directory2}}` - Search multiple directories and keep the directory order in result: -`jdupes -O {{directory1}} {{directory2}} {{directory3}}` +`jdupes {{[-O|--param-order]}} {{directory1 directory2 directory3 ...}}` diff --git a/pages/common/jekyll.md b/pages/common/jekyll.md index 92b0908b6273ac..03aec0fc532254 100644 --- a/pages/common/jekyll.md +++ b/pages/common/jekyll.md @@ -1,7 +1,7 @@ # jekyll > A simple, blog-aware, static site generator. -> More information: . +> More information: . - Generate a development server that will run at http://localhost:4000/: diff --git a/pages/common/jello.md b/pages/common/jello.md new file mode 100644 index 00000000000000..d8146106231081 --- /dev/null +++ b/pages/common/jello.md @@ -0,0 +1,32 @@ +# jello + +> A JSON processor using Python syntax. +> More information: . + +- Pretty-print JSON or JSON-Lines data from `stdin` to `stdout`: + +`cat {{file.json}} | jello` + +- Output a schema of JSON or JSON Lines data from `stdin` to `stdout` (useful for grep): + +`cat {{file.json}} | jello -s` + +- Output all elements from arrays (or all the values from objects) in JSON or JSON-Lines data from `stdin` to `stdout`: + +`cat {{file.json}} | jello -l` + +- Output the first element in JSON or JSON-Lines data from `stdin` to `stdout`: + +`cat {{file.json}} | jello _[0]` + +- Output the value of a given key of each element in JSON or JSON-Lines data from `stdin` to `stdout`: + +`cat {{file.json}} | jello '[i.{{key_name}} for i in _]'` + +- Output the value of multiple keys as a new JSON object (assuming the input JSON has the keys `key_name1` and `key_name2`): + +`cat {{file.json}} | jello '{{{"key1": _.key_name1, "key2": _.key_name2, ...}}}'` + +- Output the value of a given key to a string (and disable JSON output): + +`cat {{file.json}} | jello -r '"{{some text}}: " + _.{{key_name}}'` diff --git a/pages/common/jenv.md b/pages/common/jenv.md index 8b1db06490ffaf..ecd026adac067e 100644 --- a/pages/common/jenv.md +++ b/pages/common/jenv.md @@ -1,9 +1,9 @@ # jenv -> Command line tool to manage the "JAVA_HOME" environment variable. -> More information: . +> Manage the "JAVA_HOME" environment variable. +> More information: . -- Add a java version to jEnv: +- Add a Java version to jEnv: `jenv add {{path/to/jdk_home}}` diff --git a/pages/common/jest.md b/pages/common/jest.md index 943f0f035db52a..1f733f4320b44d 100644 --- a/pages/common/jest.md +++ b/pages/common/jest.md @@ -7,13 +7,17 @@ `jest` -- Run the test suites from files whose paths match the given regex patterns: +- Run the test suites from the given files: -`jest {{test_file1}} {{path/to/test_file2.js}}` +`jest {{path/to/file1 path/to/file2 ...}}` -- Run the tests whose names match the given regex pattern: +- Run the test suites from files within the current and subdirectories, whose paths match the given `regex`: -`jest --testNamePattern {{spec_name}}` +`jest {{regex1}} {{regex2}}` + +- Run the tests whose names match the given `regex`: + +`jest --testNamePattern {{regex}}` - Run test suites related to a given source file: @@ -27,6 +31,6 @@ `jest --watch` -- Show help: +- Display help: `jest --help` diff --git a/pages/common/jetifier.md b/pages/common/jetifier.md new file mode 100644 index 00000000000000..3de930773dc466 --- /dev/null +++ b/pages/common/jetifier.md @@ -0,0 +1,12 @@ +# jetifier + +> Jetifier AndroidX transition tool in npm format, with a react-native compatible style. +> More information: . + +- Migrate project dependencies to the AndroidX format: + +`jetifier` + +- Migrate project dependencies from the AndroidX format: + +`jetifier reverse` diff --git a/pages/common/jf.md b/pages/common/jf.md new file mode 100644 index 00000000000000..bb2d9e81c3e55c --- /dev/null +++ b/pages/common/jf.md @@ -0,0 +1,16 @@ +# jf + +> Interact with JFrog products like Artifactory, Xray, Distribution, Pipelines and Mission Control. +> More information: . + +- Add a new configuration: + +`jf config add` + +- Show the current configuration: + +`jf config show` + +- Search for artifacts within the given repository and directory: + +`jf rt search --recursive {{repostiory_name}}/{{path}}/` diff --git a/pages/common/jfrog.md b/pages/common/jfrog.md new file mode 100644 index 00000000000000..fc5e324a18c760 --- /dev/null +++ b/pages/common/jfrog.md @@ -0,0 +1,7 @@ +# jfrog + +> This command is an alias of `jf`. + +- View documentation for the original command: + +`tldr jf` diff --git a/pages/common/jhat.md b/pages/common/jhat.md index 4cc4c71960fa3b..872567b1dc90cc 100644 --- a/pages/common/jhat.md +++ b/pages/common/jhat.md @@ -1,15 +1,16 @@ # jhat -> Java Heap Analysis Tool. +> Java heap analysis tool. +> More information: . -- Analyze a heap dump (from jmap), view via http on port 7000: +- Analyze a heap dump (from `jmap`), view via HTTP on port 7000: `jhat {{dump_file.bin}}` -- Analyze a heap dump, specifying an alternate port for the http server: +- Analyze a heap dump, specifying an alternate port for the HTTP server: -`jhat -p {{port}} {{dump_file.bin}}` +`jhat {{[-p|-port]}} {{port}} {{dump_file.bin}}` -- Analyze a dump letting jhat use up to 8GB RAM (2-4x dump size recommended): +- Analyze a dump letting `jhat` use up to 8 GB RAM (2-4x dump size recommended): `jhat -J-mx8G {{dump_file.bin}}` diff --git a/pages/common/jhipster.md b/pages/common/jhipster.md index 0513d3925f1fd4..57c814c4b0fd90 100644 --- a/pages/common/jhipster.md +++ b/pages/common/jhipster.md @@ -1,7 +1,7 @@ # jhipster > Web application generator using either monolithic or microservices architecture. -> More information: . +> More information: . - Generate a simple full-stack project (monolithic or microservices): @@ -23,9 +23,9 @@ `jhipster entity {{entity_name}}` -- Import a JDL file to configure your application (see: https://start.jhipster.tech/jdl-studio/): +- Import a JDL file to configure your application (see: ): -`jhipster import-jdl {{first_file.jh second_file.jh ... n_file.jh}}` +`jhipster import-jdl {{file1.jh file2.jh ...}}` - Generate a CI/CD pipeline for your application: diff --git a/pages/common/jhsdb.md b/pages/common/jhsdb.md new file mode 100644 index 00000000000000..8f5f984f98953a --- /dev/null +++ b/pages/common/jhsdb.md @@ -0,0 +1,20 @@ +# jhsdb + +> Attach to a Java process or launch a postmortem debugger to analyze the core dump from a crashed Java Virtual Machine. +> More information: . + +- Print stack and locks information of a Java process: + +`jhsdb jstack --pid {{pid}}` + +- Open a core dump in interactive debug mode: + +`jhsdb clhsdb --core {{path/to/core_dump}} --exe {{path/to/jdk/bin/java}}` + +- Start a remote debug server: + +`jhsdb debugd --pid {{pid}} --serverid {{optional_unique_id}}` + +- Connect to a process in interactive debug mode: + +`jhsdb clhsdb --pid {{pid}}` diff --git a/pages/common/jigsaw.md b/pages/common/jigsaw.md index c98329e231078d..0c704f055852aa 100644 --- a/pages/common/jigsaw.md +++ b/pages/common/jigsaw.md @@ -3,11 +3,11 @@ > A Laravel-based static site builder for PHP. > More information: . -- Initialise a project: +- Initialize a project: `jigsaw init` -- Initialise a project using a starter template: +- Initialize a project using a starter template: `jigsaw init {{template_name}}` diff --git a/pages/common/jira.md b/pages/common/jira.md new file mode 100644 index 00000000000000..c5a87f90a138b3 --- /dev/null +++ b/pages/common/jira.md @@ -0,0 +1,16 @@ +# jira + +> Interface (third party) for interacting with Jira. +> More information: . + +- List recent issues: + +`jira issue list` + +- List issues from the current sprint, assigned to me: + +`jira sprint list --current -a$(jira me)` + +- Create a new issue, optionally set a parent issue: + +`jira issue create --parent {{parent}}` diff --git a/pages/common/jj-abandon.md b/pages/common/jj-abandon.md new file mode 100644 index 00000000000000..2b59b7c9d91497 --- /dev/null +++ b/pages/common/jj-abandon.md @@ -0,0 +1,17 @@ +# jj abandon + +> Abandon a revision, rebasing descendants onto its parent(s). +> Abandoning a revision removes its associated change ID. +> More information: . + +- Abandon revisions specified by given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.): + +`jj abandon {{revsets}}` + +- Abandon revisions, without deleting their bookmarks and moving them to the parent revisions instead: + +`jj abandon --retain-bookmarks {{revsets}}` + +- Abandon revisions, without modifying the contents of their children: + +`jj abandon --restore-descendants {{revsets}}` diff --git a/pages/common/jj-absorb.md b/pages/common/jj-absorb.md new file mode 100644 index 00000000000000..337b6ee02ec181 --- /dev/null +++ b/pages/common/jj-absorb.md @@ -0,0 +1,13 @@ +# jj absorb + +> Split changes in the source revision and move each change to the closest mutable ancestor where the corresponding lines were modified last. +> Changes that have zero or multiple matching regions in ancestral revisions won't be moved. +> More information: . + +- Move all eligible and unambiguous changes from a revision to other revisions automatically: + +`jj absorb {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revsets}}` + +- Move only changes in given files from a revision to other revisions: + +`jj absorb {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revsets}} {{filesets}}` diff --git a/pages/common/jj-bookmark.md b/pages/common/jj-bookmark.md new file mode 100644 index 00000000000000..36731870b4bb9c --- /dev/null +++ b/pages/common/jj-bookmark.md @@ -0,0 +1,29 @@ +# jj bookmark + +> Manage bookmarks in a `jj` repository. +> When using a Git backend, bookmarks correspond to Git branches. +> More information: . + +- Create a new bookmark at the given revision: + +`jj {{[b|bookmark]}} {{[c|create]}} {{[-r|--revision]}} {{revision}} {{name}}` + +- List all existing bookmarks and their targets: + +`jj {{[b|bookmark]}} {{[l|list]}}` + +- Move an existing bookmark to another revision: + +`jj {{[b|bookmark]}} {{[m|move]}} {{[-t|--to]}} {{revision}} {{name}}` + +- Track given remote bookmarks: + +`jj {{[b|bookmark]}} {{[t|track]}} {{name}}@{{remote}}` + +- Delete a bookmark, and propagate the deletion to remotes on the next push: + +`jj {{[b|bookmark]}} {{[d|delete]}} {{name}}` + +- Forget a bookmark locally, without marking its deletion to be pushed: + +`jj {{[b|bookmark]}} {{[f|forget]}} {{name}}` diff --git a/pages/common/jj-commit.md b/pages/common/jj-commit.md new file mode 100644 index 00000000000000..d71a3c8dfbd91a --- /dev/null +++ b/pages/common/jj-commit.md @@ -0,0 +1,16 @@ +# jj commit + +> Update the description and create a new change on top. +> More information: . + +- Open editor to write the commit message and then create a new empty commit on top: + +`jj commit` + +- Commit with the given message: + +`jj commit {{[-m|--message]}} "{{message}}"` + +- Interactively choose which changes to include: + +`jj commit {{[-i|--interactive]}}` diff --git a/pages/common/jj-describe.md b/pages/common/jj-describe.md new file mode 100644 index 00000000000000..a89d61135d7f22 --- /dev/null +++ b/pages/common/jj-describe.md @@ -0,0 +1,16 @@ +# jj describe + +> Update the change description or other metadata. +> More information: . + +- Update the description of the current change: + +`jj {{[desc|describe]}}` + +- Update the description of given revsets: + +`jj {{[desc|describe]}} {{revsets}}` + +- Update the description to the given message: + +`jj {{[desc|describe]}} {{[-m|--message]}} {{message}}` diff --git a/pages/common/jj-diff.md b/pages/common/jj-diff.md new file mode 100644 index 00000000000000..f11d167f166b52 --- /dev/null +++ b/pages/common/jj-diff.md @@ -0,0 +1,24 @@ +# jj diff + +> Compare file contents between two revisions. +> More information: . + +- Show changes of current revision: + +`jj diff` + +- Show changes of given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.): + +`jj diff {{[-r|--revisions]}} {{revsets}}` + +- Show changes from given revision to given revision: + +`jj diff {{[-f|--from]}} {{from_revset}} {{[-t|--to]}} {{to_revset}}` + +- Show diff statistics: + +`jj diff --stat` + +- Show a Git-format diff: + +`jj diff --git` diff --git a/pages/common/jj-edit.md b/pages/common/jj-edit.md new file mode 100644 index 00000000000000..00fc9842dce404 --- /dev/null +++ b/pages/common/jj-edit.md @@ -0,0 +1,9 @@ +# jj edit + +> Set the specified revision as the working-copy revision. +> Note: It is generally recommended to instead use `jj new` and `jj squash`. +> More information: . + +- Set the given revision as the working copy: + +`jj edit {{revset}}` diff --git a/pages/common/jj-evolog.md b/pages/common/jj-evolog.md new file mode 100644 index 00000000000000..c5d50b78089c58 --- /dev/null +++ b/pages/common/jj-evolog.md @@ -0,0 +1,16 @@ +# jj evolog + +> Show how a change has evolved over time, listing the previous commits it has pointed to. +> More information: . + +- Show how a revision has evolved over time: + +`jj evolog {{[-r|--revisions]}} {{revsets}}` + +- Show diff statistics in the evolution log: + +`jj evolog {{[-r|--revisions]}} {{revsets}} --stat` + +- Show summary of each change in the evolution log: + +`jj evolog {{[-r|--revisions]}} {{revsets}} {{[-s|--summary]}}` diff --git a/pages/common/jj-git-clone.md b/pages/common/jj-git-clone.md new file mode 100644 index 00000000000000..d81360128ee6bf --- /dev/null +++ b/pages/common/jj-git-clone.md @@ -0,0 +1,21 @@ +# jj git clone + +> Create a new repo backed by a clone of a Git repo. +> Note: Unless `--colocate` is used, it is not a valid Git repository and `git` commands can't be used on it. +> More information: . + +- Create a new repo backed by a clone of a Git repo into a new directory (the default directory is the repository name): + +`jj git clone {{source}} {{path/to/directory}}` + +- Create a clone and use the given name for newly created remote: + +`jj git clone --remote {{remote_name}} {{source}}` + +- Clone a Git repo, only fetching the 10 most recent commits: + +`jj git clone --depth {{10}} {{source}}` + +- Clone colocating the Jujutsu repo with the Git repo (allowing the use of both `jj` and `git` commands in the same directory): + +`jj git clone --colocate {{source}}` diff --git a/pages/common/jj-git-fetch.md b/pages/common/jj-git-fetch.md new file mode 100644 index 00000000000000..accd0011723013 --- /dev/null +++ b/pages/common/jj-git-fetch.md @@ -0,0 +1,20 @@ +# jj git fetch + +> Fetch from a Git remote, downloading objects and refs from the remote repository. +> More information: . + +- Fetch the latest changes from the default remote repository: + +`jj git fetch` + +- Fetch the latest changes from a given remote repository: + +`jj git fetch --remote {{remote}}` + +- Fetch the latest changes only from given branches: + +`jj git fetch {{[-b|--branch]}} {{branch}}` + +- Fetch the latest changes from all remotes: + +`jj git fetch --all-remote` diff --git a/pages/common/jj-git-init.md b/pages/common/jj-git-init.md new file mode 100644 index 00000000000000..01a45a5894dfd7 --- /dev/null +++ b/pages/common/jj-git-init.md @@ -0,0 +1,21 @@ +# jj git init + +> Create a new Git backed Jujutsu repo. +> Note: Unless `--colocate` is used, it is not a valid Git repository and `git` commands can't be used on it. +> More information: . + +- Create a new Git backed repo in the current directory: + +`jj git init` + +- Create a new Git backed repo in the given directory: + +`jj git init {{path/to/directory}}` + +- Initialize the Jujutsu repository as a valid Git repository (allowing the use of both `jj` and `git` commands in the same directory): + +`jj git init --colocate` + +- Initialize the Jujutsu repository backed by an existing Git repository: + +`jj git init --git-repo {{git_repo}}` diff --git a/pages/common/jj-git-push.md b/pages/common/jj-git-push.md new file mode 100644 index 00000000000000..520553eb1497ca --- /dev/null +++ b/pages/common/jj-git-push.md @@ -0,0 +1,32 @@ +# jj git push + +> Push to a Git remote. +> More information: . + +- Push a bookmark to the given remote (defaults to `git.push` setting): + +`jj git push {{[-b|--bookmark]}} {{bookmark}} --remote {{remote}}` + +- Push a new bookmark: + +`jj git push {{[-b|--bookmark]}} {{bookmark}} {{[-N|--allow-new]}}` + +- Push all tracked bookmarks: + +`jj git push --tracked` + +- Push all bookmarks (including new bookmarks): + +`jj git push --all` + +- Push all bookmarks pointing to given revisions: + +`jj git push {{[-r|--revisions]}} {{revset}}` + +- Push changes/commits by creating new bookmarks (Name format is as per `templates.git_push_bookmark` setting, defaults to `"push-" ++ change_id.short()`): + +`jj git push {{[-c|--change]}} {{revset}}` + +- Push a revision with the given name: + +`jj git push --named {{name}}={{revision}}` diff --git a/pages/common/jj-git-remote.md b/pages/common/jj-git-remote.md new file mode 100644 index 00000000000000..4c15e20ef85083 --- /dev/null +++ b/pages/common/jj-git-remote.md @@ -0,0 +1,24 @@ +# jj git remote + +> Manage Git remotes. +> More information: . + +- List all Git remotes: + +`jj git remote list` + +- Add a Git remote: + +`jj git remote add {{remote}} {{url}}` + +- Change the URL of a Git remote: + +`jj git remote set-url {{remote}} {{url}}` + +- Remove a Git remote: + +`jj git remote remove {{remote}}` + +- Rename a Git remote: + +`jj git remote rename {{old_name}} {{new_name}}` diff --git a/pages/common/jj-git.md b/pages/common/jj-git.md new file mode 100644 index 00000000000000..6459d08a9cee4c --- /dev/null +++ b/pages/common/jj-git.md @@ -0,0 +1,24 @@ +# jj git + +> Run Git-related commands for a `jj` repository. +> More information: . + +- Create a new Git backed repository: + +`jj git init` + +- Create a new repository backed by a clone of a Git repository: + +`jj git clone {{source}}` + +- Fetch from a Git remote: + +`jj git fetch` + +- Push all tracked bookmarks to Git remote: + +`jj git push` + +- Push given bookmark to Git remote: + +`jj git push {{[-b|--bookmark]}} {{bookmark}}` diff --git a/pages/common/jj-log.md b/pages/common/jj-log.md new file mode 100644 index 00000000000000..00466411ad2271 --- /dev/null +++ b/pages/common/jj-log.md @@ -0,0 +1,16 @@ +# jj log + +> Show revision history as a graph. +> More information: . + +- Show revision history as a graph: + +`jj log` + +- Show only given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.): + +`jj log {{[-r|--revisions]}} {{revsets}}` + +- Show log with a particular template for each line (e.g. 5 characters of commit hash and author): + +`jj log {{[-T|--template]}} 'commit_id.shortest(5) ++ " " ++ author'` diff --git a/pages/common/jj-new.md b/pages/common/jj-new.md new file mode 100644 index 00000000000000..5b761dd43f8c92 --- /dev/null +++ b/pages/common/jj-new.md @@ -0,0 +1,20 @@ +# jj new + +> Create a new empty change. +> More information: . + +- Create a new empty change on top of current revision: + +`jj new` + +- Create a new empty change on top of specific revision: + +`jj new {{revision}}` + +- Create a new merge change on top of multiple revisions: + +`jj new {{revset1 revset2 ...}}` + +- Create a new empty change before and after specified revisions: + +`jj new {{[-B|--insert-before]}} {{revsets}} {{[-A|--insert-after]}} {{revsets}}` diff --git a/pages/common/jj-operation.md b/pages/common/jj-operation.md new file mode 100644 index 00000000000000..f4bb5ab9f703f2 --- /dev/null +++ b/pages/common/jj-operation.md @@ -0,0 +1,28 @@ +# jj operation + +> Work with the operation log of a `jj` repository. +> More information: . + +- Show operation log: + +`jj {{[op|operation]}} log` + +- Undo the last operation: + +`jj {{[op|operation]}} undo` + +- Undo a given operation: + +`jj {{[op|operation]}} undo {{operation}}` + +- Restore the repository to its state at a given operation: + +`jj {{[op|operation]}} restore {{operation}}` + +- Show changes to the repository in an operation: + +`jj {{[op|operation]}} show {{operation}}` + +- Show stat, summary and patch of modifications of an operation: + +`jj {{[op|operation]}} show {{--stat}} {{[-s|--summary]}} {{[-p|--patch]}} {{operation}}` diff --git a/pages/common/jj-parallelize.md b/pages/common/jj-parallelize.md new file mode 100644 index 00000000000000..cb5ea7c59818af --- /dev/null +++ b/pages/common/jj-parallelize.md @@ -0,0 +1,8 @@ +# jj parallelize + +> Parallelize revisions by making them siblings. +> More information: . + +- Parallelize given revisions: + +`jj parallelize {{revsets}}` diff --git a/pages/common/jj-rebase.md b/pages/common/jj-rebase.md new file mode 100644 index 00000000000000..15931564849526 --- /dev/null +++ b/pages/common/jj-rebase.md @@ -0,0 +1,20 @@ +# jj rebase + +> Move revisions to different parent(s). +> More information: . + +- Move given revisions to a different parent(s): + +`jj rebase {{[-r|--revisions]}} {{revset}} {{[-d|--destination]}} {{revset}}` + +- Move given revisions and all their descendants: + +`jj rebase {{[-s|--source]}} {{revset}} {{[-d|--destination]}} {{revset}}` + +- Move all revisions in the branch containing given revisions: + +`jj rebase {{[-b|--branch]}} {{revset}} {{[-d|--destination]}} {{revset}}` + +- Move revisions to before and/or after other revisions: + +`jj rebase {{[-r|--revisions]}} {{revset}} {{[-B|--insert-before]}} {{revset}} {{[-A|--insert-after]}} {{revset}}` diff --git a/pages/common/jj-resolve.md b/pages/common/jj-resolve.md new file mode 100644 index 00000000000000..c7fea250076baf --- /dev/null +++ b/pages/common/jj-resolve.md @@ -0,0 +1,28 @@ +# jj resolve + +> Resolve conflicted files with an external merge tool. +> More information: . + +- Resolve all conflicts: + +`jj resolve` + +- List all conflicts: + +`jj resolve {{[-l|--list]}}` + +- Resolve conflicts in a given revision: + +`jj resolve {{[-r|--revision]}} {{revset}}` + +- Resolve conflicts in given files: + +`jj resolve {{file1 file2 ...}}` + +- Resolve accepting the incoming versions: + +`jj resolve --tool :theirs` + +- Resolve accepting the outgoing versions: + +`jj resolve --tool :ours` diff --git a/pages/common/jj-restore.md b/pages/common/jj-restore.md new file mode 100644 index 00000000000000..9fdcb6dba2c470 --- /dev/null +++ b/pages/common/jj-restore.md @@ -0,0 +1,16 @@ +# jj restore + +> Restore files from another revision. +> More information: . + +- Restore files from a revision into another revision: + +`jj restore {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revset}} {{filesets}}` + +- Undo the changes in a revision as compared to the merge of its parents: + +`jj restore {{[-c|--changes-in]}} {{revset}} {{filesets}}` + +- Interactively choose what parts to restore: + +`jj restore {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revset}} {{[-i|--interactive]}}` diff --git a/pages/common/jj-revert.md b/pages/common/jj-revert.md new file mode 100644 index 00000000000000..b3e72e8f8a8c81 --- /dev/null +++ b/pages/common/jj-revert.md @@ -0,0 +1,16 @@ +# jj revert + +> Apply the reverse of the given revision(s). +> More information: . + +- Apply the reverse of the revisions specified by the given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.): + +`jj revert {{[-r|--revisions]}} {{revsets}}` + +- Apply the reverse on top of specified revisions: + +`jj revert {{[-r|--revisions]}} {{revsets}} {{[-d|--destination]}} {{revsets}}` + +- Apply the reverse before and/or after specified revisions: + +`jj revert {{[-r|--revisions]}} {{revsets}} {{[-B|--insert-before]}} {{revsets}} {{[-A|--insert-after]}} {{revsets}}` diff --git a/pages/common/jj-show.md b/pages/common/jj-show.md new file mode 100644 index 00000000000000..21b24e97bae6a6 --- /dev/null +++ b/pages/common/jj-show.md @@ -0,0 +1,16 @@ +# jj show + +> Show commit description and changes in a revision. +> More information: . + +- Show commit description and changes in a revision: + +`jj show {{revset}}` + +- Show a summary of changes in a revision: + +`jj show {{[-s|--summary]}} {{revset}}` + +- Show a histogram of changes in a revision: + +`jj show --stat {{revset}}` diff --git a/pages/common/jj-simplify-parents.md b/pages/common/jj-simplify-parents.md new file mode 100644 index 00000000000000..abb8173139db05 --- /dev/null +++ b/pages/common/jj-simplify-parents.md @@ -0,0 +1,13 @@ +# jj simplify-parents + +> Simplify parent edges for the specified revision(s). +> For example, "A -> B -> C | A -> C" gets simplified to "A -> B -> C". +> More information: . + +- Simplify parent edges of given revisions: + +`jj simplify-parents {{[-r|--revisions]}} {{revsets}}` + +- Simplify parent edges of given revisions and trees of their descendants: + +`jj simplify-parents {{[-s|--source]}} {{revsets}}` diff --git a/pages/common/jj-split.md b/pages/common/jj-split.md new file mode 100644 index 00000000000000..25b0b3a71cd67a --- /dev/null +++ b/pages/common/jj-split.md @@ -0,0 +1,24 @@ +# jj split + +> Split a revision in two. +> More information: . + +- Split the given revision into two interactively, putting the second revision on top of it: + +`jj split {{[-r|--revision]}} {{revision}}` + +- Split out matching files from the given revision: + +`jj split {{[-r|--revision]}} {{revision}} {{fileset}}` + +- Split the given revision, putting the second revision on top of given destination(s): + +`jj split {{[-r|--revision]}} {{revision}} {{[-d|--destination]}} {{revset}}` + +- Split the given revision, putting the second revision before and/or after other revision(s): + +`jj split {{[-r|--revision]}} {{revision}} {{[-B|--insert-before]}} {{revset}} {{[-A|--insert-after]}} {{revset}}` + +- Split the given revision into two parallel revisions: + +`jj split {{[-r|--revision]}} {{revision}} {{[-p|--parallel]}}` diff --git a/pages/common/jj-squash.md b/pages/common/jj-squash.md new file mode 100644 index 00000000000000..b9bc59a5d9a12a --- /dev/null +++ b/pages/common/jj-squash.md @@ -0,0 +1,20 @@ +# jj squash + +> Move changes from a revision into another revision. +> More information: . + +- Move all changes from current revision to its parent: + +`jj squash` + +- Move all changes from given revision to its parent: + +`jj squash {{[-r|--revision]}} {{revset}}` + +- Move all changes from given revision(s) to given other revision: + +`jj squash {{[-f|--from]}} {{revsets}} {{[-t|--into]}} {{revset}}` + +- Interactively choose which parts to squash: + +`jj squash {{[-i|--interactive]}}` diff --git a/pages/common/jj-status.md b/pages/common/jj-status.md new file mode 100644 index 00000000000000..736253021f49dd --- /dev/null +++ b/pages/common/jj-status.md @@ -0,0 +1,9 @@ +# jj status + +> Show high-level repository status. +> This includes the working copy commit and its parents, and a summary of the changes in the working copy and any existing conflicts in the working copy. +> More information: . + +- Show high-level status of the repository: + +`jj {{[st|status]}}` diff --git a/pages/common/jj.md b/pages/common/jj.md new file mode 100644 index 00000000000000..dc752900f14480 --- /dev/null +++ b/pages/common/jj.md @@ -0,0 +1,37 @@ +# jj + +> Jujutsu, a version control system. +> Some subcommands such as `log`, `desc`, `new`, `git`, etc. have their own usage documentation. +> More information: . + +- Update description of the revisions specified by given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.): + +`jj {{[desc|describe]}} {{[-m|--message]}} "{{message}}" {{[-r|--revision]}} {{revsets}}` + +- Create a new commit/revision on top of a given revision: + +`jj new {{revset}}` + +- Create a new merge commit on top of multiple revisions: + +`jj new {{revset1 revset2 ...}}` + +- Update the working copy to point to a revision: + +`jj edit {{revset}}` + +- Undo the previous command (which may itself have been `undo`): + +`jj undo` + +- Execute a jj subcommand without snapshotting the working copy: + +`jj --ignore-working-copy {{subcommand}}` + +- Execute a jj subcommand at an operation: + +`jj {{[--at-op|--at-operation]}} {{operation}} {{subcommand}}` + +- Display help for a specific subcommand (like `new`, `commit`, `desc`, etc.): + +`jj help {{subcommand}}` diff --git a/pages/common/jmap.md b/pages/common/jmap.md index b6d819cc0338fe..df2b6cb029ff88 100644 --- a/pages/common/jmap.md +++ b/pages/common/jmap.md @@ -1,8 +1,9 @@ # jmap -> Java Memory Map Tool. +> Java memory map tool. +> More information: . -- Print shared object mappings for a java process (output like pmap): +- Print shared object mappings for a Java process (output like pmap): `jmap {{java_pid}}` @@ -16,4 +17,8 @@ - Dump contents of the heap into a binary file for analysis with jhat: -`jmap -dump:format=b,file={{filename}} {{java_pid}}` +`jmap -dump:format=b,file={{path/to/file}} {{java_pid}}` + +- Dump live objects of the heap into a binary file for analysis with jhat: + +`jmap -dump:live,format=b,file={{path/to/file}} {{java_pid}}` diff --git a/pages/common/jmeter.md b/pages/common/jmeter.md new file mode 100644 index 00000000000000..d9bffdf0de9cf9 --- /dev/null +++ b/pages/common/jmeter.md @@ -0,0 +1,20 @@ +# jmeter + +> Open source Java application designed for load testing functional behavior and measure performance. +> More information: . + +- Run a specific test plan in nongui mode: + +`jmeter --nongui --testfile {{path/to/file.jmx}}` + +- Run a test plan in nongui mode using a specific log file: + +`jmeter --nogui --testfile {{path/to/file.jmx}} --logfile {{path/to/logfile.jtl}}` + +- Run a test plan in nongui mode using a specific proxy: + +`jmeter --nongui --testfile {{path/to/file.jmx}} --proxyHost {{127.0.0.1}} --proxyPort {{8888}}` + +- Run a test plan in nongui mode using a specific JMeter property: + +`jmeter --jmeterproperty {{key}}='{{value}}' --nongui --testfile {{path/to/file.jmx}}` diff --git a/pages/common/jmtpfs.md b/pages/common/jmtpfs.md new file mode 100644 index 00000000000000..5955779fbf19f9 --- /dev/null +++ b/pages/common/jmtpfs.md @@ -0,0 +1,24 @@ +# jmtpfs + +> FUSE-based filesystem for accessing MTP devices. +> More information: . + +- Mount an MTP device to a directory: + +`jmtpfs {{path/to/directory}}` + +- Set mount options: + +`jmtpfs -o {{allow_other,auto_unmount}} {{path/to/directory}}` + +- List available MTP devices: + +`jmtpfs {{[-l|--listDevices]}}` + +- If multiple devices are present, mount a specific device: + +`jmtpfs -device={{bus_id}},{{device_id}} {{path/to/directory}}` + +- Unmount MTP device: + +`fusermount -u {{path/to/directory}}` diff --git a/pages/common/jo.md b/pages/common/jo.md new file mode 100644 index 00000000000000..b101e477ce2c10 --- /dev/null +++ b/pages/common/jo.md @@ -0,0 +1,7 @@ +# jo + +> This command is an alias of `autojump`. + +- View documentation for the original command: + +`tldr autojump` diff --git a/pages/common/jobs.md b/pages/common/jobs.md index d7a037558c0f12..ac41ee56e16c68 100644 --- a/pages/common/jobs.md +++ b/pages/common/jobs.md @@ -1,6 +1,7 @@ # jobs > Display status of jobs in the current session. +> More information: . - Show status of all jobs: diff --git a/pages/common/joe.md b/pages/common/joe.md new file mode 100644 index 00000000000000..dbe789b0b6b8d2 --- /dev/null +++ b/pages/common/joe.md @@ -0,0 +1,20 @@ +# joe + +> Joe's own text editor. +> More information: . + +- Open a new file in JOE: + +`joe` + +- Open a specific file: + +`joe {{path/to/file}}` + +- Open a specific file, positioning the cursor at the specified line: + +`joe +{{line}} {{path/to/file}}` + +- Open a specific file in read-only mode: + +`joe -rdonly {{path/to/file}}` diff --git a/pages/common/john.md b/pages/common/john.md index 433a43bf8e439f..b60d9332f0e50f 100644 --- a/pages/common/john.md +++ b/pages/common/john.md @@ -13,7 +13,7 @@ - Display users' cracked passwords by user identifier from multiple files: -`john --show --users={{user_ids}} {{path/to/hashes*}} {{path/to/other/hashes*}}` +`john --show --users={{user_ids}} {{path/to/hashes1.txt path/to/hashes2.txt ...}}` - Crack password hashes, using a custom wordlist: diff --git a/pages/common/join.md b/pages/common/join.md index 3e686d1988a4f6..66f7d3184f8127 100644 --- a/pages/common/join.md +++ b/pages/common/join.md @@ -1,19 +1,24 @@ # join > Join lines of two sorted files on a common field. +> More information: . - Join two files on the first (default) field: -`join {{file1}} {{file2}}` +`join {{path/to/file1}} {{path/to/file2}}` - Join two files using a comma (instead of a space) as the field separator: -`join -t {{','}} {{file1}} {{file2}}` +`join -t {{','}} {{path/to/file1}} {{path/to/file2}}` - Join field3 of file1 with field1 of file2: -`join -1 {{3}} -2 {{1}} {{file1}} {{file2}}` +`join -1 {{3}} -2 {{1}} {{path/to/file1}} {{path/to/file2}}` - Produce a line for each unpairable line for file1: -`join -a {{1}} {{file1}} {{file2}}` +`join -a {{1}} {{path/to/file1}} {{path/to/file2}}` + +- Join a file from `stdin`: + +`cat {{path/to/file1}} | join - {{path/to/file2}}` diff --git a/pages/common/josm.md b/pages/common/josm.md new file mode 100644 index 00000000000000..4ae3e2afcabe58 --- /dev/null +++ b/pages/common/josm.md @@ -0,0 +1,32 @@ +# josm + +> Extensible OpenStreetMap editor for Java 8+. +> More information: . + +- Launch JOSM: + +`josm` + +- Launch JOSM in maximized mode: + +`josm --maximize` + +- Launch JOSM and set a specific language: + +`josm --language {{de}}` + +- Launch JOSM and reset all preferences to their default values: + +`josm --reset-preferences` + +- Launch JOSM and download a specific bounding box: + +`josm --download {{minlat,minlon,maxlat,maxlon}}` + +- Launch JOSM and download a specific bounding box as raw GPS: + +`josm --downloadgps {{minlat,minlon,maxlat,maxlon}}` + +- Launch JOSM without plugins: + +`josm --skip-plugins` diff --git a/pages/common/jp2a.md b/pages/common/jp2a.md index 76a037fd75ecf9..215c077ab98c7f 100644 --- a/pages/common/jp2a.md +++ b/pages/common/jp2a.md @@ -1,7 +1,7 @@ # jp2a > Convert JPEG images to ASCII. -> More information: . +> More information: . - Read JPEG image from a file and print in ASCII: diff --git a/pages/common/jpegoptim.md b/pages/common/jpegoptim.md index 5673d327de78e4..4ccc2796d01051 100644 --- a/pages/common/jpegoptim.md +++ b/pages/common/jpegoptim.md @@ -1,20 +1,20 @@ # jpegoptim > Optimise JPEG images. -> More information: . +> More information: . - Optimise a set of JPEG images, retaining all associated data: -`jpegoptim {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}` +`jpegoptim {{image1.jpeg image2.jpeg image3.jpeg ...}}` - Optimise JPEG images, stripping all non-essential data: -`jpegoptim --strip-all {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}` +`jpegoptim {{[-s|--strip-all]}} {{image1.jpeg image2.jpeg image3.jpeg ...}}` - Force the output images to be progressive: -`jpegoptim --all-progressive {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}` +`jpegoptim --all-progressive {{image1.jpeg image2.jpeg image3.jpeg ...}}` - Force the output images to have a fixed maximum filesize: -`jpegoptim --size={{250k}} {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}` +`jpegoptim {{[-S|--size]}} {{250k}} {{image1.jpeg image2.jpeg image3.jpeg ...}}` diff --git a/pages/common/jpegtopnm.md b/pages/common/jpegtopnm.md new file mode 100644 index 00000000000000..8f7fa30f5603f2 --- /dev/null +++ b/pages/common/jpegtopnm.md @@ -0,0 +1,12 @@ +# jpegtopnm + +> Convert a JPEG/JFIF file to the PPM or PGM format. +> More information: . + +- Convert JPEG/JFIF image to a PPM or PGM image: + +`jpegtopnm {{path/to/file.jpg}} > {{path/to/file.pnm}}` + +- Display version: + +`jpegtopnm {{[-v|-version]}}` diff --git a/pages/common/jps.md b/pages/common/jps.md index 82a91c29c3fe27..5cab8ccd7ba3ca 100644 --- a/pages/common/jps.md +++ b/pages/common/jps.md @@ -1,6 +1,7 @@ # jps -> Show JVM Process Status of current user. +> Show JVM process status of current user. +> More information: . - List all JVM processes: diff --git a/pages/common/jq.md b/pages/common/jq.md index 4ff0ebac2c89ec..1b5d6fac272f04 100644 --- a/pages/common/jq.md +++ b/pages/common/jq.md @@ -1,36 +1,36 @@ # jq -> A command-line JSON processor that uses a domain-specific language. -> More information: . +> A JSON processor that uses a domain-specific language (DSL). +> More information: . -- Output a JSON file, in pretty-print format: +- Execute a specific expression only using the `jq` binary (print a colored and formatted JSON output): -`jq . {{file.json}}` +`jq '.' {{path/to/file.json}}` -- Output all elements from arrays (or all the values from objects) in a JSON file: +- Execute a specific script: -`jq '.[]' {{file.json}}` +`{{cat path/to/file.json}} | jq {{[-f|--from-file]}} {{path/to/script.jq}}` -- Read JSON objects from a file into an array, and output it (inverse of `jq .[]`): +- Pass specific arguments: -`jq --slurp . {{file.json}}` +`{{cat path/to/file.json}} | jq {{--arg "name1" "value1" --arg "name2" "value2" ...}} '{{. + $ARGS.named}}'` -- Output the first element in a JSON file: +- Create new JSON object via old JSON objects from multiple files: -`jq '.[0]' {{file.json}}` +`{{cat path/to/multiple_json_file_*.json}} | jq '{{{newKey1: .key1, newKey2: .key2.nestedKey, ...}}}'` -- Output the value of a given key of each element in a JSON text from `stdin`: +- Print specific array items: -`cat {{file.json}} | jq 'map(.{{key_name}})'` +`{{cat path/to/file.json}} | jq '{{.[index1], .[index2], ...}}'` -- Output the value of multiple keys as a new JSON object (assuming the input JSON has the keys `key_name` and `other_key_name`): +- Print all array/object values: -`cat {{file.json}} | jq '{{{my_new_key}}: .{{key_name}}, {{my_other_key}}: .{{other_key_name}}}'` +`{{cat path/to/file.json}} | jq '.[]'` -- Combine multiple filters: +- Print objects with 2-condition filter in array: -`cat {{file.json}} | jq 'unique | sort | reverse'` +`{{cat path/to/file.json}} | jq '.[] | select((.key1=="value1") and .key2=="value2")'` -- Output the value of a given key to a string (and disable JSON output): +- Add/remove specific keys: -`cat {{file.json}} | jq --raw-output '"some text: \(.{{key_name}})"'` +`{{cat path/to/file.json}} | jq '. {{+|-}} {{{"key1": "value1", "key2": "value2", ...}}}'` diff --git a/pages/common/jrnl.md b/pages/common/jrnl.md index 07bb4d5c008d6c..8f76fbcc8b71e5 100644 --- a/pages/common/jrnl.md +++ b/pages/common/jrnl.md @@ -1,7 +1,7 @@ # jrnl -> A simple journal application for your command line. -> More information: . +> A simple journal application. +> More information: . - Insert a new entry with your editor: diff --git a/pages/common/json5.md b/pages/common/json5.md index 170f0fd50659fd..c2e31382fd9a21 100644 --- a/pages/common/json5.md +++ b/pages/common/json5.md @@ -1,9 +1,9 @@ # json5 -> A command-line tool for converting JSON5 files to JSON. +> Convert JSON5 files to JSON. > More information: . -- Convert JSON5 stdin to JSON `stdout`: +- Convert JSON5 `stdin` to JSON `stdout`: `echo {{input}} | json5` @@ -23,6 +23,6 @@ `json5 --space {{indent_amount}}` -- View available options: +- Display help: `json5 --help` diff --git a/pages/common/jstack.md b/pages/common/jstack.md index 93687df2ff4ff0..44b4ea3a8453e5 100644 --- a/pages/common/jstack.md +++ b/pages/common/jstack.md @@ -1,15 +1,16 @@ # jstack -> Java Stack Trace Tool. +> Java stack trace tool. +> More information: . -- Print java stack traces for all threads in a java process: +- Print Java stack traces for all threads in a Java process: `jstack {{java_pid}}` -- Print mixed mode (java/c++) stack traces for all threads in a java process: +- Print mixed mode (Java/C++) stack traces for all threads in a Java process: `jstack -m {{java_pid}}` -- Print stack traces from java core dump: +- Print stack traces from Java core dump: `jstack {{/usr/bin/java}} {{file.core}}` diff --git a/pages/common/jtbl.md b/pages/common/jtbl.md new file mode 100644 index 00000000000000..345f8514ada5e3 --- /dev/null +++ b/pages/common/jtbl.md @@ -0,0 +1,20 @@ +# jtbl + +> Utility to print JSON and JSON Lines data as a table in the terminal. +> More information: . + +- Print a table from JSON or JSON Lines input: + +`cat {{file.json}} | jtbl` + +- Print a table and specify the column width for wrapping: + +`cat {{file.json}} | jtbl --cols={{width}}` + +- Print a table and truncate rows instead of wrapping: + +`cat {{file.json}} | jtbl {{[-t|--truncate]}}` + +- Print a table and don't wrap or truncate rows: + +`cat {{file.json}} | jtbl {{[-n|--no-wrap]}}` diff --git a/pages/common/julia.md b/pages/common/julia.md index 0f8311a6fc37ad..35c4428fc49976 100644 --- a/pages/common/julia.md +++ b/pages/common/julia.md @@ -3,7 +3,7 @@ > A high-level, high-performance dynamic programming language for technical computing. > More information: . -- Start a Julia REPL session: +- Start a REPL (interactive shell): `julia` @@ -17,16 +17,16 @@ - Evaluate a string containing Julia code: -`julia -e '{{julia_code}}'` +`julia {{[-e|--eval]}} '{{julia_code}}'` - Evaluate a string of Julia code, passing arguments to it: -`julia -e '{{for x in ARGS; println(x); end}}' {{arguments}}` +`julia {{[-e|--eval]}} '{{for x in ARGS; println(x); end}}' {{arguments}}` - Evaluate an expression and print the result: -`julia -E '{{(1 - cos(pi/4))/2}}'` +`julia {{[-E|--print]}} '{{(1 - cos(pi/4))/2}}'` -- Start Julia in parallel mode, using N worker processes: +- Start Julia in multithreaded mode, using `n` threads: -`julia -p {{N}}` +`julia {{[-t|--threads]}} {{n}}` diff --git a/pages/common/jupyter-lab.md b/pages/common/jupyter-lab.md new file mode 100644 index 00000000000000..7ce9ded40a1916 --- /dev/null +++ b/pages/common/jupyter-lab.md @@ -0,0 +1,20 @@ +# jupyter lab + +> Interactive development environment for Jupyter notebooks. +> More information: . + +- Start JupyterLab: + +`jupyter lab` + +- Open a specific notebook: + +`jupyter lab {{path/to/notebook.ipynb}}` + +- Start JupyterLab in a specific directory: + +`jupyter lab --notebook-dir {{path/to/directory}}` + +- Start JupyterLab in debug mode: + +`jupyter lab --debug` diff --git a/pages/common/jupyter.md b/pages/common/jupyter.md index 917af510642dc4..cd0e2a03629c44 100644 --- a/pages/common/jupyter.md +++ b/pages/common/jupyter.md @@ -2,7 +2,7 @@ > Web application to create and share documents that contain code, visualizations and notes. > Primarily used for data analysis, scientific computing and machine learning. -> More information: . +> More information: . - Start a Jupyter notebook server in the current directory: @@ -18,7 +18,7 @@ - Start a server on a specific port: -`jupyter notebook --port={{port}}` +`jupyter notebook --port {{port}}` - List currently running notebook servers: diff --git a/pages/common/jupyterlab.md b/pages/common/jupyterlab.md new file mode 100644 index 00000000000000..3050207d1cda18 --- /dev/null +++ b/pages/common/jupyterlab.md @@ -0,0 +1,7 @@ +# jupyterlab + +> This command is an alias of `jupyter lab`. + +- View documentation for the original command: + +`tldr jupyter lab` diff --git a/pages/common/jupytext.md b/pages/common/jupytext.md index c7fb2cb8aec2ef..4189276dc30e84 100644 --- a/pages/common/jupytext.md +++ b/pages/common/jupytext.md @@ -1,7 +1,7 @@ # jupytext -> Tool to convert Jupyter notebooks to plain text documents, and back again. -> More information: . +> Convert Jupyter notebooks to plain text documents, and back again. +> More information: . - Turn a notebook into a paired `.ipynb`/`.py` notebook: diff --git a/pages/common/just.1.md b/pages/common/just.1.md new file mode 100644 index 00000000000000..85bbc3e9775ed3 --- /dev/null +++ b/pages/common/just.1.md @@ -0,0 +1,24 @@ +# just + +> Save and run project-specific commands. +> More information: . + +- Run a recipe specified in the justfile: + +`just {{recipe}}` + +- Initialize new justfile in project root: + +`just --init` + +- Edit justfile in the default editor: + +`just {{[-e|--edit]}}` + +- List available recipes in the justfile: + +`just {{[-l|--list]}}` + +- Print justfile: + +`just --dump` diff --git a/pages/common/just.md b/pages/common/just.md new file mode 100644 index 00000000000000..0f61087689c10d --- /dev/null +++ b/pages/common/just.md @@ -0,0 +1,11 @@ +# just + +> `just` can refer to multiple commands with the same name. + +- View documentation for the command runner: + +`tldr just.1` + +- View documentation for the V8 JavaScript runtime: + +`tldr just.js` diff --git a/pages/common/jwt.md b/pages/common/jwt.md index ac5cbc9002c801..f6db21ce73e5c9 100644 --- a/pages/common/jwt.md +++ b/pages/common/jwt.md @@ -1,6 +1,6 @@ # jwt -> A command line tool to work with JSON Web Tokens (JWTs). +> Work with JSON Web Tokens (JWTs). > Encryption algorithms available are HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384. > More information: . @@ -10,12 +10,12 @@ - Decode a JWT as a JSON string: -`jwt decode -j {{jwt_string}}` +`jwt decode {{[-j|--json]}} {{jwt_string}}` - Encode a JSON string to a JWT: -`jwt encode --alg {{HS256}} --secret {{1234567890}} '{{json_string}}'` +`jwt encode {{[-A|--alg]}} {{HS256}} {{[-S|--secret]}} {{1234567890}} '{{json_string}}'` - Encode key pair payload to JWT: -`jwt encode --alg {{HS256}} --secret {{1234567890}} -P key=value` +`jwt encode {{[-A|--alg]}} {{HS256}} {{[-S|--secret]}} {{1234567890}} {{[-P|--payload]}} {{key=value}}` diff --git a/pages/common/k3d.md b/pages/common/k3d.md new file mode 100644 index 00000000000000..e7b0ea04f69193 --- /dev/null +++ b/pages/common/k3d.md @@ -0,0 +1,24 @@ +# k3d + +> A wrapper to easily create k3s clusters inside Docker. +> More information: . + +- Create a cluster: + +`k3d cluster create {{cluster_name}}` + +- Delete a cluster: + +`k3d cluster delete {{cluster_name}}` + +- Create a new containerized k3s node: + +`k3d node create {{node_name}}` + +- Import an image from Docker into a k3d cluster: + +`k3d image import {{image_name}} --cluster {{cluster_name}}` + +- Create a new registry: + +`k3d registry create {{registry_name}}` diff --git a/pages/common/k3s.md b/pages/common/k3s.md new file mode 100644 index 00000000000000..283c6ba8d9eca4 --- /dev/null +++ b/pages/common/k3s.md @@ -0,0 +1,24 @@ +# k3s + +> Install and manage lightweight Kubernetes clusters. +> More information: . + +- Run the embedded `kubectl` command: + +`k3s kubectl get nodes` + +- Take an etcd snapshot of the cluster: + +`k3s etcd-snapshot save` + +- Rotate the CA certificate: + +`k3s certificate rotate-ca` + +- Manage bootstrap tokens: + +`k3s token list` + +- Uninstall K3s and remove all components: + +`k3s-uninstall.sh` diff --git a/pages/common/k6.md b/pages/common/k6.md index f89959555fa3d0..0d5c4a5cc5ba1e 100644 --- a/pages/common/k6.md +++ b/pages/common/k6.md @@ -9,25 +9,25 @@ - Run load test locally with a given number of virtual users and duration: -`k6 run --vus {{10}} --duration {{30s}} {{script.js}}` +`k6 run {{[-u|--vus]}} {{10}} {{[-d|--duration]}} {{30s}} {{script.js}}` - Run load test locally with a given environment variable: -`k6 run -e {{HOSTNAME=example.com}} {{script.js}}` +`k6 run {{[-e|--env]}} {{HOSTNAME=example.com}} {{script.js}}` - Run load test locally using InfluxDB to store results: -`k6 run --out influxdb={{http://localhost:8086/k6db}} {{script.js}}` +`k6 run {{[-o|--out]}} influxdb={{http://localhost:8086/k6db}} {{script.js}}` - Run load test locally and discard response bodies (significantly faster): `k6 run --discard-response-bodies {{script.js}}` -- Run load test locally using the base javascript compatibility mode (significantly faster): +- Run load test locally using the base JavaScript compatibility mode (significantly faster): `k6 run --compatibility-mode=base {{script.js}}` -- Login to cloud service using secret token: +- Log in to cloud service using secret token: `k6 login cloud --token {{secret}}` diff --git a/pages/common/k8s-unused-secret-detector.md b/pages/common/k8s-unused-secret-detector.md index b0cb7e35327b07..6ad2a5194b2008 100644 --- a/pages/common/k8s-unused-secret-detector.md +++ b/pages/common/k8s-unused-secret-detector.md @@ -1,6 +1,6 @@ # k8s-unused-secret-detector -> Command line interface tool for detecting unused Kubernetes secrets. +> Detect unused Kubernetes secrets. > More information: . - Detect unused secrets: @@ -9,8 +9,8 @@ - Detect unused secrets in a specific namespace: -`k8s-unused-secret-detector -n {{namespace}}` +`k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}}` - Delete unused secrets in a specific namespace: -`k8s-unused-secret-detector -n {{namespace}} | kubectl delete secret -n {{namespace}}` +`k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}} | kubectl delete secret {{[-n|--namespace]}} {{namespace}}` diff --git a/pages/common/k8sec.md b/pages/common/k8sec.md index f991757058ef3f..860ddea6b85f4d 100644 --- a/pages/common/k8sec.md +++ b/pages/common/k8sec.md @@ -1,6 +1,6 @@ # k8sec -> Command line interface tool to manage Kubernetes secrets. +> Manage Kubernetes secrets. > More information: . - List all secrets: @@ -25,8 +25,8 @@ - Load secrets from a file: -`k8sec load -f {{path/to/file}} {{secret_name}}` +`k8sec load {{[-f|--filename]}} {{path/to/file}} {{secret_name}}` - Dump secrets to a file: -`k8sec dump -f {{path/to/file}} {{secret_name}}` +`k8sec dump {{[-f|--filename]}} {{path/to/file}} {{secret_name}}` diff --git a/pages/common/k9s.md b/pages/common/k9s.md new file mode 100644 index 00000000000000..0aac9e8e1a43c4 --- /dev/null +++ b/pages/common/k9s.md @@ -0,0 +1,20 @@ +# k9s + +> View and manage Kubernetes clusters. +> More information: . + +- Manage a cluster using a kubeconfig context: + +`k9s --context {{kubeconfig_context_name}}` + +- Manage a cluster in read-only mode (disabling all commands that may cause modifications): + +`k9s --readonly --cluster {{cluster_name}}` + +- Manage a cluster using a given kubernetes namespace: + +`k9s {{[-n|--namespace]}} {{kubernetes_namespace}} --cluster {{cluster_name}}` + +- Manage a cluster launching k9s in the pod view and enable debug logging: + +`k9s {{[-c|--command]}} {{pod}} {{[-l|--logLevel]}} debug --cluster {{cluster_name}}` diff --git a/pages/common/kafkacat.md b/pages/common/kafkacat.md index 91361c481f1432..45907bcf1f09cd 100644 --- a/pages/common/kafkacat.md +++ b/pages/common/kafkacat.md @@ -1,36 +1,7 @@ # kafkacat -> Apache Kafka producer and consumer tool. -> More information: . +> This command is an alias of `kcat`. -- Consume messages starting with the newest offset: +- View documentation for the original command: -`kafkacat -C -t {{topic}} -b {{brokers}}` - -- Consume messages starting with the oldest offset and exit after the last message is received: - -`kafkacat -C -t {{topic}} -b {{brokers}} -o beginning -e` - -- Consume messages as a Kafka consumer group: - -`kafkacat -G {{group_id}} {{topic}} -b {{brokers}}` - -- Publish message by reading from `stdin`: - -` echo {{message}} | kafkacat -P -t {{topic}} -b {{brokers}}` - -- Publish messages by reading from a file: - -`kafkacat -P -t {{topic}} -b {{brokers}} {{path/to/file}}` - -- List metadata for all topics and brokers: - -`kafkacat -L -b {{brokers}}` - -- List metadata for a specific topic: - -`kafkacat -L -t {{topic}} -b {{brokers}}` - -- Get offset for a topic/partition for a specific point in time: - -`kafkacat -Q -t {{topic}}:{{partition}}:{{unix_timestamp}} -b {{brokers}}` +`tldr kcat` diff --git a/pages/common/kaggle.md b/pages/common/kaggle.md index 17707e96b51b2e..2fd184f125f29e 100644 --- a/pages/common/kaggle.md +++ b/pages/common/kaggle.md @@ -9,4 +9,4 @@ - Download a specific file from a competition dataset: -`kaggle competitions download {{competition}} -f {{filename}}` +`kaggle competitions download {{competition}} {{[-f|--file]}} {{filename}}` diff --git a/pages/common/kahlan.md b/pages/common/kahlan.md index 237e78d32f9fc1..97b30a185f40f5 100644 --- a/pages/common/kahlan.md +++ b/pages/common/kahlan.md @@ -1,7 +1,7 @@ # kahlan > A unit and Behaviour Driven Development test framework for PHP. -> More information: . +> More information: . - Run all specifications in the "spec" directory: diff --git a/pages/common/kak.md b/pages/common/kak.md index 70f3b7d0693152..f048eb84c452bc 100644 --- a/pages/common/kak.md +++ b/pages/common/kak.md @@ -10,17 +10,17 @@ - Enter insert mode from normal mode, to write text into the file: -`i` +`` - Escape insert mode, to go back to normal mode: -`` +`` - Replace all instances of "foo" in the current file with "bar": -`%s{{foo}}c{{bar}}` +`%s{{foo}}c{{bar}}` -- Un-select all secondary selections, and keep only the main one: +- Unselect all secondary selections, and keep only the main one: `` @@ -30,8 +30,8 @@ - Insert the contents of a file: -`!cat {{path/to/file}}` +`cat {{path/to/file}}` - Save the current file: -`:w` +`<:>w` diff --git a/pages/common/katana.md b/pages/common/katana.md new file mode 100644 index 00000000000000..2fba18488b8ac6 --- /dev/null +++ b/pages/common/katana.md @@ -0,0 +1,25 @@ +# katana + +> A fast crawler focused on execution in automation pipelines offering both headless and non-headless crawling. +> See also: `gau`, `scrapy`, `waymore`. +> More information: . + +- Crawl a list of URLs: + +`katana -list {{https://example.com,https://google.com,...}}` + +- Crawl a [u]RL using headless mode using Chromium: + +`katana -u {{https://example.com}} {{[-hl|-headless]}}` + +- Pass requests through a proxy (http/socks5) and use custom headers from a file: + +`katana -proxy {{http://127.0.0.1:8080}} {{[-H|-headers]}} {{path/to/headers.txt}} -u {{https://example.com}}` + +- Specify the crawling strategy, depth of subdirectories to crawl, and rate limiting (requests per second): + +`katana {{[-s|-strategy]}} {{depth-first|breadth-first}} {{[-d|-depth]}} {{value}} {{[-rl|-rate-limit]}} {{value}} -u {{https://example.com}}` + +- Find subdomains using `subfinder`, crawl each for a maximum number of seconds, and write results to an output file: + +`subfinder {{[-dL|-list]}} {{path/to/domains.txt}} | katana {{[-ct|-crawl-duration]}} {{value}} {{[-o|-output]}} {{path/to/output.txt}}` diff --git a/pages/common/kate.md b/pages/common/kate.md new file mode 100644 index 00000000000000..013e1451203be0 --- /dev/null +++ b/pages/common/kate.md @@ -0,0 +1,32 @@ +# kate + +> KDE's advanced text editor. +> More information: . + +- Open specific files: + +`kate {{path/to/file1 path/to/file2 ...}}` + +- Open specific remote files: + +`kate {{https://example.com/path/to/file1 https://example.com/path/to/file2 ...}}` + +- Create a new editor instance even if one is already open: + +`kate {{[-n|--new]}}` + +- Open a file with the cursor at the specific line: + +`kate {{[-l|--line]}} {{line_number}} {{path/to/file}}` + +- Open a file with the cursor at the specific line and column: + +`kate {{[-l|--line]}} {{line_number}} {{[-c|--column]}} {{column_number}} {{path/to/file}}` + +- Create a file from `stdin`: + +`cat {{path/to/file}} | kate {{[-i|--stdin]}}` + +- Display help: + +`kate {{[-h|--help]}}` diff --git a/pages/common/kcadm.sh.md b/pages/common/kcadm.sh.md new file mode 100644 index 00000000000000..7bb9e10ffa6625 --- /dev/null +++ b/pages/common/kcadm.sh.md @@ -0,0 +1,20 @@ +# kcadm.sh + +> Perform administration tasks. +> More information: . + +- Start an authenticated session: + +`kcadm.sh config credentials --server {{host}} --realm {{realm_name}} --user {{username}} --password {{password}}` + +- Create a user: + +`kcadm.sh create users -s username={{username}} -r {{realm_name}}` + +- List all realms: + +`kcadm.sh get realms` + +- Update a realm with JSON config: + +`kcadm.sh update realms/{{realm_name}} -f {{path/to/file.json}}` diff --git a/pages/common/kcat.md b/pages/common/kcat.md new file mode 100644 index 00000000000000..b90b1ddd2295f8 --- /dev/null +++ b/pages/common/kcat.md @@ -0,0 +1,36 @@ +# kcat + +> Apache Kafka producer and consumer tool. +> More information: . + +- Consume messages starting with the newest offset: + +`kcat -C -t {{topic}} -b {{brokers}}` + +- Consume messages starting with the oldest offset and exit after the last message is received: + +`kcat -C -t {{topic}} -b {{brokers}} -o beginning -e` + +- Consume messages as a Kafka consumer group: + +`kcat -G {{group_id}} {{topic}} -b {{brokers}}` + +- Publish message by reading from `stdin`: + +`echo {{message}} | kcat -P -t {{topic}} -b {{brokers}}` + +- Publish messages by reading from a file: + +`kcat -P -t {{topic}} -b {{brokers}} {{path/to/file}}` + +- List metadata for all topics and brokers: + +`kcat -L -b {{brokers}}` + +- List metadata for a specific topic: + +`kcat -L -t {{topic}} -b {{brokers}}` + +- Get offset for a topic/partition for a specific point in time: + +`kcat -Q -t {{topic}}:{{partition}}:{{unix_timestamp}} -b {{brokers}}` diff --git a/pages/common/kdash.md b/pages/common/kdash.md new file mode 100644 index 00000000000000..2693e2fc795ee9 --- /dev/null +++ b/pages/common/kdash.md @@ -0,0 +1,20 @@ +# kdash + +> A simple terminal dashboard for Kubernetes. +> Mode information: . + +- Show dashboard: + +`kdash` + +- Show dashboard in debug mode and write logs to a file in the current directory: + +`kdash {{[-d|--debug]}}` + +- Set the tick rate: + +`kdash {{[-t|--tick-rate]}} {{100}}` + +- Set the polling rate (must be a multiple of the tick rate): + +`kdash {{[-t|--tick-rate]}} {{200}} {{[-p|--poll-rate]}} {{400}}` diff --git a/pages/common/kdeconnect-cli.md b/pages/common/kdeconnect-cli.md new file mode 100644 index 00000000000000..8c87acd894b873 --- /dev/null +++ b/pages/common/kdeconnect-cli.md @@ -0,0 +1,36 @@ +# kdeconnect-cli + +> Use KDE Connect for sharing files or text to a device, ringing it, unlocking it, and much more. +> More information: . + +- List all devices: + +`kdeconnect-cli --list-devices` + +- List available (paired and reachable) devices: + +`kdeconnect-cli --list-available` + +- Request pairing with a specific device, specifying its ID: + +`kdeconnect-cli --pair --device {{device_id}}` + +- Ring a device, specifying its name: + +`kdeconnect-cli --ring --name "{{device_name}}"` + +- Share an URL or file with a paired device, specifying its ID: + +`kdeconnect-cli --share {{url|path/to/file}} --device {{device_id}}` + +- Send an SMS with an optional attachment to a specific number: + +`kdeconnect-cli --name "{{device_name}}" --send-sms "{{message}}" --destination {{phone_number}} --attachment {{path/to/file}}` + +- Unlock a specific device: + +`kdeconnect-cli --name "{{device_name}}" --unlock` + +- Simulate a key press on a specific device: + +`kdeconnect-cli --name "{{device_name}}" --send-keys {{key}}` diff --git a/pages/common/kdenlive.md b/pages/common/kdenlive.md new file mode 100644 index 00000000000000..99e6d2398f50b4 --- /dev/null +++ b/pages/common/kdenlive.md @@ -0,0 +1,28 @@ +# kdenlive + +> KDE's non-linear video editor. +> More information: . + +- Start the video editor: + +`kdenlive` + +- Open a specific file: + +`kdenlive {{path/to/file.kdenlive}}` + +- Use a specific path for an MLT environment: + +`kdenlive --mlt-path {{path/to/directory}}` + +- Use a specific log level for an MLT environment: + +`kdenlive --mlt-log {{verbose|debug}}` + +- Display help: + +`kdenlive --help` + +- Display version: + +`kdenlive --version` diff --git a/pages/common/kdig.md b/pages/common/kdig.md new file mode 100644 index 00000000000000..ce611b23d83461 --- /dev/null +++ b/pages/common/kdig.md @@ -0,0 +1,24 @@ +# kdig + +> Advanced DNS lookup utility. +> More information: . + +- Lookup the IP(s) associated with a hostname (A records): + +`kdig {{example.com}}` + +- Specify a specific DNS server to query (e.g. Google DNS): + +`kdig {{example.com}} @{{8.8.8.8}}` + +- Query a specific DNS record type associated with a given domain name: + +`kdig {{example.com}} {{A|AAAA|NS|SOA|DNSKEY|ANY}}` + +- Lookup the IP(s) associated with a hostname (A records) using DNS over TLS (DoT): + +`kdig -d @{{8.8.8.8}} +tls-ca +tls-host={{dns.google}} {{example.com}}` + +- Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH): + +`kdig -d @{{1.1.1.1}} +https +tls-hostname={{1dot1dot1dot1.cloudflare-dns.com}} {{example.com}}` diff --git a/pages/common/keep-header.md b/pages/common/keep-header.md new file mode 100644 index 00000000000000..cc5076919a60df --- /dev/null +++ b/pages/common/keep-header.md @@ -0,0 +1,20 @@ +# keep-header + +> Keep first line untouched by a command, passing it directly to `stdout`. +> More information: . + +- Sort a file and keep the first line at the top: + +`keep-header {{path/to/file}} -- sort` + +- Output first line directly to `stdout`, passing the remainder of the file through the specified command: + +`keep-header {{path/to/file}} -- {{command}}` + +- Read from `stdin`, sorting all except the first line: + +`cat {{path/to/file}} | keep-header -- {{command}}` + +- Grep a file, keeping the first line regardless of the search pattern: + +`keep-header {{path/to/file}} -- grep {{pattern}}` diff --git a/pages/common/keepass2.md b/pages/common/keepass2.md index 82f64dddacb4c1..99c8b54053670d 100644 --- a/pages/common/keepass2.md +++ b/pages/common/keepass2.md @@ -3,7 +3,7 @@ > A light-weight password manager. > More information: . -- Start KeePass 2, opening the most recently-opened password database: +- Start KeePass 2, opening the most recently opened password database: `keepass2` diff --git a/pages/common/keepassxc-cli.md b/pages/common/keepassxc-cli.md new file mode 100644 index 00000000000000..1b5e839629cafa --- /dev/null +++ b/pages/common/keepassxc-cli.md @@ -0,0 +1,36 @@ +# keepassxc-cli + +> Interface for KeePassXC. +> More information: . + +- Search entries: + +`keepassxc-cli search {{path/to/database_file}} {{name}}` + +- List the contents of a folder: + +`keepassxc-cli ls {{path/to/database_file}} {{path/to/directory}}` + +- Add an entry with an auto-generated password: + +`keepassxc-cli add {{[-g|--generate]}} {{path/to/database_file}} {{entry_name}}` + +- Delete an entry: + +`keepassxc-cli rm {{path/to/database_file}} {{entry_name}}` + +- Copy an entry's password to the clipboard: + +`keepassxc-cli clip {{path/to/database_file}} {{entry_name}}` + +- Copy a TOTP code to the clipboard: + +`keepassxc-cli clip {{[-t|--totp]}} {{path/to/database_file}} {{entry_name}}` + +- Generate a passphrase with 7 words: + +`keepassxc-cli diceware {{[-W|--words]}} 7` + +- Generate a password with 16 printable ASCII characters: + +`keepassxc-cli generate {{[-lUns|--lower --upper --numeric --special]}} {{[-L|--length]}} 16` diff --git a/pages/common/kerl.md b/pages/common/kerl.md new file mode 100644 index 00000000000000..d3ad43328b3584 --- /dev/null +++ b/pages/common/kerl.md @@ -0,0 +1,24 @@ +# kerl + +> Build and install Erlang/OTP instances with ease. +> More information: . + +- Build and install an Erlang/OTP version in a directory: + +`kerl build-install {{28.0}} {{28.0}} {{path/to/installation_directory}}/{{28.0}}` + +- Activate an Erlang/OTP installation: + +`. {{path/to/installation}}/activate` + +- Deactivate the current Erlang/OTP installation: + +`kerl_deactivate` + +- List all available Erlang/OTP releases: + +`kerl list releases` + +- List installed Erlang/OTP builds: + +`kerl list installations` diff --git a/pages/common/keybase.md b/pages/common/keybase.md index e4bf4cab5fbcfd..091905a1045020 100644 --- a/pages/common/keybase.md +++ b/pages/common/keybase.md @@ -1,7 +1,7 @@ # keybase > Key directory that maps social media identities to encryption keys in a publicly auditable manner. -> More information: . +> More information: . - Follow another user: @@ -13,19 +13,19 @@ - Sign a file: -`keybase sign --infile {{input_file}} --outfile {{output_file}}` +`keybase sign {{[-i|--infile]}} {{input_file}} {{[-o|--outfile]}} {{output_file}}` - Verify a signed file: -`keybase verify --infile {{input_file}} --outfile {{output_file}}` +`keybase verify {{[-i|--infile]}} {{input_file}} {{[-o|--outfile]}} {{output_file}}` - Encrypt a file: -`keybase encrypt --infile {{input_file}} --outfile {{output_file}} {{receiver}}` +`keybase encrypt {{[-i|--infile]}} {{input_file}} {{[-o|--outfile]}} {{output_file}} {{receiver}}` - Decrypt a file: -`keybase decrypt --infile {{input_file}} --outfile {{output_file}}` +`keybase decrypt {{[-i|--infile]}} {{input_file}} {{[-o|--outfile]}} {{output_file}}` - Revoke current device, log out, and delete local data: diff --git a/pages/common/keychain.md b/pages/common/keychain.md new file mode 100644 index 00000000000000..477b6f433a4407 --- /dev/null +++ b/pages/common/keychain.md @@ -0,0 +1,24 @@ +# keychain + +> Re-use ssh-agent and/or gpg-agent between logins. +> More information: . + +- Check for a running ssh-agent, and start one if needed: + +`keychain` + +- Also check for gpg-agent: + +`keychain --agents "{{gpg,ssh}}"` + +- List signatures of all active keys: + +`keychain --list` + +- List fingerprints of all active keys: + +`keychain --list-fp` + +- Add a timeout for identities added to the agent, in minutes: + +`keychain --timeout {{minutes}}` diff --git a/pages/common/keytool.md b/pages/common/keytool.md new file mode 100644 index 00000000000000..6b8e3085387a77 --- /dev/null +++ b/pages/common/keytool.md @@ -0,0 +1,16 @@ +# keytool + +> A certificate management utility included with Java. +> More information: . + +- Create a keystore: + +`keytool -genkeypair -v -keystore {{path/to/file.keystore}} -alias {{key_name}}` + +- Change a keystore password: + +`keytool -storepasswd -keystore {{path/to/file.keystore}}` + +- Change a key's password inside a specific keystore: + +`keytool -keypasswd -alias {{key_name}} -keystore {{path/to/file.keystore}}` diff --git a/pages/common/khal.md b/pages/common/khal.md index 050b5adcb92857..b064e11064b69c 100644 --- a/pages/common/khal.md +++ b/pages/common/khal.md @@ -1,9 +1,9 @@ # khal -> A text-based calendar and scheduling application for the command line. +> A text-based calendar and scheduling application. > More information: . -- Start khal on interactive mode: +- Start Khal on interactive mode: `ikhal` diff --git a/pages/common/kill.md b/pages/common/kill.md index 8a8fcb39ef55b9..d3007f70742dbd 100644 --- a/pages/common/kill.md +++ b/pages/common/kill.md @@ -2,6 +2,7 @@ > Sends a signal to a process, usually related to stopping the process. > All signals except for SIGKILL and SIGSTOP can be intercepted by the process to perform a clean exit. +> More information: . - Terminate a program using the default SIGTERM (terminate) signal: @@ -11,15 +12,11 @@ `kill -l` -- Terminate a background job: - -`kill %{{job_id}}` - - Terminate a program using the SIGHUP (hang up) signal. Many daemons will reload instead of terminating: `kill -{{1|HUP}} {{process_id}}` -- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing `Ctrl + C`: +- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing ``: `kill -{{2|INT}} {{process_id}}` diff --git a/pages/common/killall.md b/pages/common/killall.md index 359efab900258c..3ad22afbd202f2 100644 --- a/pages/common/killall.md +++ b/pages/common/killall.md @@ -2,6 +2,7 @@ > Send kill signal to all instances of a process by name (must be exact name). > All signals except SIGKILL and SIGSTOP can be intercepted by the process, allowing a clean exit. +> More information: . - Terminate a process using the default SIGTERM (terminate) signal: @@ -9,13 +10,13 @@ - List available signal names (to be used without the 'SIG' prefix): -`killall --list` +`killall {{[-l|--list]}}` - Interactively ask for confirmation before termination: -`killall -i {{process_name}}` +`killall {{[-i|--interactive]}} {{process_name}}` -- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `Ctrl + C`: +- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing ``: `killall -INT {{process_name}}` diff --git a/pages/common/kind.md b/pages/common/kind.md index d0c9e04f36edc3..b73e4d94509eb5 100644 --- a/pages/common/kind.md +++ b/pages/common/kind.md @@ -1,6 +1,6 @@ # kind -> Tool for running local Kubernetes clusters using Docker container "nodes". +> Run local Kubernetes clusters using Docker container "nodes". > Designed for testing Kubernetes itself, but may be used for local development or continuous integration. > More information: . diff --git a/pages/common/kinit.md b/pages/common/kinit.md new file mode 100644 index 00000000000000..f9d73564a421bd --- /dev/null +++ b/pages/common/kinit.md @@ -0,0 +1,29 @@ +# kinit + +> Authenticate a principal with a Kerberos server to gain and cache a ticket. +> Note: A Kerberos principal can be either a user, service, or application. +> More information: . + +- Authenticate a user and obtain a ticket-granting ticket: + +`kinit {{username}}` + +- Renew a ticket-granting ticket: + +`kinit -R` + +- Specify a lifetime for the ticket: + +`kinit -l {{5h}}` + +- Specify a total renewable lifetime for the ticket: + +`kinit -r {{1w}}` + +- Specify a different principal name to authenticate as: + +`kinit -p {{principal@REALM}}` + +- Specify a different keytab file to authenticate with: + +`kinit -t {{path/to/keytab}}` diff --git a/pages/common/kismet.md b/pages/common/kismet.md new file mode 100644 index 00000000000000..61f68872857973 --- /dev/null +++ b/pages/common/kismet.md @@ -0,0 +1,36 @@ +# kismet + +> A wireless network and device detector, sniffer, wardriving tool, and WIDS (wireless intrusion detection) framework. +> More information: . + +- Capture packets from a specific wireless interface: + +`sudo kismet -c {{wlan0}}` + +- Monitor multiple channels on a wireless interface: + +`sudo kismet -c {{wlan0,wlan1}} -m` + +- Capture packets and save them to a specific directory: + +`sudo kismet -c {{wlan0}} -d {{path/to/output}}` + +- Start Kismet with a specific configuration file: + +`sudo kismet -c {{wlan0}} {{[-f|--config-file]}} {{path/to/config.conf}}` + +- Monitor and log data to an SQLite database: + +`sudo kismet -c {{wlan0}} --log-to-db` + +- Monitor using a specific data source: + +`sudo kismet -c {{wlan0}} --data-source={{rtl433}}` + +- Enable alerts for specific events: + +`sudo kismet -c {{wlan0}} --enable-alert={{new_ap}}` + +- Display detailed information about a specific AP's packets: + +`sudo kismet -c {{wlan0}} --info {{BSSID}}` diff --git a/pages/common/kite.md b/pages/common/kite.md new file mode 100644 index 00000000000000..772ea5d253a99a --- /dev/null +++ b/pages/common/kite.md @@ -0,0 +1,7 @@ +# kite + +> This command is an alias of `kiterunner`. + +- View documentation for the original command: + +`tldr kiterunner` diff --git a/pages/common/kiterunner-brute.md b/pages/common/kiterunner-brute.md new file mode 100644 index 00000000000000..d9895028a6132e --- /dev/null +++ b/pages/common/kiterunner-brute.md @@ -0,0 +1,37 @@ +# kiterunner brute + +> A contextual web scanner for bruteforcing API paths and web endpoints using wordlists. +> The `brute` subcommand targets one or multiple hosts. +> More information: . + +- Bruteforce a target with an Assetnote wordlist (e.g., first 20,000 API routes): + +`kiterunner brute {{https://example.com}} {{[-A|--assetnote-wordlist]}} {{apiroutes-210328:20000}}` + +- Bruteforce a target with a custom wordlist: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` + +- Bruteforce using a dirsearch-style wordlist with extension substitution: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{path/to/dirsearch.txt}} {{[-D|--dirsearch-compat]}} {{[-e|--extensions]}} {{json,txt}}` + +- Bruteforce with specific file extensions appended and output in JSON format: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} {{[-e|--extensions]}} {{aspx,ashx}} {{[-o|--output]}} {{json}}` + +- Bruteforce a list of targets from a file with custom concurrency settings for performance: + +`kiterunner brute {{path/to/targets.txt}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} {{[-x|--max-connection-per-host]}} {{5}} {{[-j|--max-parallel-hosts]}} {{100}}` + +- Bruteforce and ignore specific content length responses: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} --ignore-length {{100-105}}` + +- Bruteforce with custom HTTP headers: + +`kiterunner brute {{https://example.com}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} {{[-H|--header]}} "{{Authorization: Bearer token}}"` + +- Bruteforce a list of targets from a file with fail status code filtering: + +`kiterunner brute {{path/to/targets.txt}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} --fail-status-codes {{400,401,404}}` diff --git a/pages/common/kiterunner-kb.md b/pages/common/kiterunner-kb.md new file mode 100644 index 00000000000000..4584f845ef90c6 --- /dev/null +++ b/pages/common/kiterunner-kb.md @@ -0,0 +1,37 @@ +# kiterunner kb + +> A contextual web scanner for manipulating kitebuilder schemas used in API and web endpoint discovery. +> The `kb` subcommand handles schema compilation, conversion, parsing, and request replay. +> More information: . + +- Compile a kitebuilder schema from JSON to a kite file: + +`kiterunner kb compile {{path/to/wordlist.json}} {{path/to/wordlist.kite}}` + +- Convert a kite file to a text wordlist: + +`kiterunner kb convert {{path/to/wordlist.kite}} {{path/to/wordlist.txt}}` + +- Convert a text wordlist to a kite file: + +`kiterunner kb convert {{path/to/wordlist.txt}} {{path/to/wordlist.kite}}` + +- Convert a kite file to a JSON schema: + +`kiterunner kb convert {{path/to/wordlist.kite}} {{path/to/wordlist.json}}` + +- Parse a kitebuilder schema and output prettified JSON data: + +`kiterunner kb parse {{path/to/wordlist.json}} {{[-o|--output]}} {{json}}` + +- Parse a kite file and output prettified text data: + +`kiterunner kb parse {{path/to/wordlist.kite}} {{[-o|--output]}} {{text}}` + +- Replay a specific request from a kitebuilder schema output: + +`kiterunner kb replay {{[-w|--kitebuilder-list]}} {{path/to/wordlist.kite}} "{{request_output}}"` + +- Replay a request through a proxy for inspection: + +`kiterunner kb replay {{[-w|--kitebuilder-list]}} {{path/to/wordlist.kite}} {{[-p|--proxy]}} {{http://localhost:8080}} "{{request_output}}"` diff --git a/pages/common/kiterunner-scan.md b/pages/common/kiterunner-scan.md new file mode 100644 index 00000000000000..18b84b7c681696 --- /dev/null +++ b/pages/common/kiterunner-scan.md @@ -0,0 +1,37 @@ +# kiterunner scan + +> A contextual web scanner for concurrently scanning API paths and web endpoints using kitebuilder wordlists. +> The `scan` subcommand targets one or multiple hosts with structured API requests. +> More information: . + +- Scan a target with an Assetnote wordlist (e.g., first 5000 API routes): + +`kiterunner scan {{https://example.com}} {{[-A|--assetnote-wordlist]}} {{apiroutes-210228:5000}}` + +- Scan a target with a kitebuilder wordlist: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{path/to/wordlist.kite}}` + +- Scan multiple hosts from a file with a kitebuilder wordlist: + +`kiterunner scan {{path/to/hosts.txt}} {{[-w|--kitebuilder-list]}} {{path/to/wordlist.kite}}` + +- Scan with an Assetnote wordlist and JSON output: + +`kiterunner scan {{https://example.com}} {{[-A|--assetnote-wordlist]}} {{apiroutes-210228:5000}} -o {{json}}` + +- Scan with custom concurrency settings for performance: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{path/to/wordlist.kite}} {{[-x|--max-connection-per-host]}} {{5}} {{[-j|--max-parallel-hosts]}} {{100}}` + +- Scan with a wordlist as a normal wordlist, disabling depth scanning: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{path/to/rafter.txt}} {{[-d|--preflight-depth]}} {{0}}` + +- Scan with custom headers and ignore specific content length responses: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{path/to/wordlist.kite}} {{[-H|--header]}} "{{Authorization: Bearer token}}" --ignore-length {{100-105}}` + +- Perform a full kitebuilder scan without phase scanning: + +`kiterunner scan {{https://example.com}} {{[-w|--kitebuilder-list]}} {{path/to/wordlist.kite}} --kitebuilder-full-scan` diff --git a/pages/common/kiterunner-wordlist.md b/pages/common/kiterunner-wordlist.md new file mode 100644 index 00000000000000..967eab3253c46f --- /dev/null +++ b/pages/common/kiterunner-wordlist.md @@ -0,0 +1,33 @@ +# kiterunner wordlist + +> A contextual web scanner for managing wordlists used in API and web endpoint discovery. +> The `wordlist` subcommand handles listing and saving wordlists in `~/.cache/kiterunner`. +> More information: . + +- List all cached and available Assetnote wordlists: + +`kiterunner wordlist list` + +- List wordlists with JSON output: + +`kiterunner wordlist list {{[-o|--output]}} {{json}}` + +- List wordlists with verbose debug output: + +`kiterunner wordlist list {{[-v|--verbose]}} {{debug}}` + +- Save a specific Assetnote wordlist by alias: + +`kiterunner wordlist save {{apiroutes-210328}}` + +- Save a specific Assetnote wordlist by full filename: + +`kiterunner wordlist save {{path/to/httparchive_apiroutes_2024_05_28.txt}}` + +- Save multiple wordlists by alias: + +`kiterunner wordlist save {{apiroutes-210328,aspx-210328}}` + +- Save a wordlist with quiet mode to suppress output: + +`kiterunner wordlist save {{apiroutes-210328}} {{[-q|--quiet]}}` diff --git a/pages/common/kiterunner.md b/pages/common/kiterunner.md new file mode 100644 index 00000000000000..aef224f25fa30b --- /dev/null +++ b/pages/common/kiterunner.md @@ -0,0 +1,20 @@ +# kiterunner + +> A contextual web scanner for discovering API paths and web endpoints using wordlists and kitebuilder schemas. +> More information: . + +- View documentation for bruteforcing API paths and web endpoints: + +`tldr kiterunner brute` + +- View documentation for concurrently scanning hosts with kitebuilder wordlists: + +`tldr kiterunner scan` + +- View documentation for manipulating kitebuilder schemas: + +`tldr kiterunner kb` + +- View documentation for managing cached and remote wordlists: + +`tldr kiterunner wordlist` diff --git a/pages/common/kitex.md b/pages/common/kitex.md new file mode 100644 index 00000000000000..c6854642fef8f7 --- /dev/null +++ b/pages/common/kitex.md @@ -0,0 +1,21 @@ +# kitex + +> Code generation tool provided by the Go RPC framework Kitex. +> Kitex accepts both thrift and protobuf IDLs, and supports generating a skeleton of a server side project. +> More information: . + +- Generate client codes when a project is in `$GOPATH`: + +`kitex {{path/to/IDL_file.thrift}}` + +- Generate client codes when a project is not in `$GOPATH`: + +`kitex -module {{github.com/xx-org/xx-name}} {{path/to/IDL_file.thrift}}` + +- Generate client codes with protobuf IDL: + +`kitex -type protobuf {{path/to/IDL_file.proto}}` + +- Generate server codes: + +`kitex -service {{svc_name}} {{path/to/IDL_file.thrift}}` diff --git a/pages/common/kitty.md b/pages/common/kitty.md new file mode 100644 index 00000000000000..fac95e2537511b --- /dev/null +++ b/pages/common/kitty.md @@ -0,0 +1,24 @@ +# kitty + +> A fast, feature-rich, GPU based terminal emulator. +> More information: . + +- Open a new terminal: + +`kitty` + +- Open a terminal with the specified title for the window: + +`kitty --title "{{title}}"` + +- Start the theme-chooser builtin: + +`kitty +kitten themes` + +- Display an image in the terminal: + +`kitty +kitten icat {{path/to/image}}` + +- Copy the contents of `stdin` to the clipboard: + +`echo {{example}} | kitty +kitten clipboard` diff --git a/pages/common/kiwi-ng.md b/pages/common/kiwi-ng.md new file mode 100644 index 00000000000000..6d48af944e7cf4 --- /dev/null +++ b/pages/common/kiwi-ng.md @@ -0,0 +1,20 @@ +# kiwi-ng + +> An OS image and appliance builder. +> More information: . + +- Build an appliance: + +`kiwi-ng system build --description={{path/to/directory}} --target-dir={{path/to/directory}}` + +- Show build result of built appliance: + +`kiwi-ng result list --target-dir={{path/to/directory}}` + +- Display help: + +`kiwi-ng help` + +- Display version: + +`kiwi-ng -v` diff --git a/pages/common/knife.md b/pages/common/knife.md index 62d58e485505e7..c59044dfeed187 100644 --- a/pages/common/knife.md +++ b/pages/common/knife.md @@ -1,6 +1,6 @@ # knife -> CLI for interacting with a Chef server from a local Chef repo. +> Interact with a Chef server from a local Chef repo. > More information: . - Bootstrap a new node: diff --git a/pages/common/knotc.md b/pages/common/knotc.md new file mode 100644 index 00000000000000..7c8b025b158cd6 --- /dev/null +++ b/pages/common/knotc.md @@ -0,0 +1,24 @@ +# knotc + +> Control knot DNS server. +> More information: . + +- Start editing a zone: + +`knotc zone-begin {{zone}}` + +- Set an A record with TTL of 3600: + +`knotc zone-set {{zone}} {{subdomain}} 3600 A {{ip_address}}` + +- Finish editing the zone: + +`knotc zone-commit {{zone}}` + +- Get the current zone data: + +`knotc zone-read {{zone}}` + +- Get the current server configuration: + +`knotc conf-read server` diff --git a/pages/common/kodi-send.md b/pages/common/kodi-send.md new file mode 100644 index 00000000000000..3698ef2bf55a3e --- /dev/null +++ b/pages/common/kodi-send.md @@ -0,0 +1,16 @@ +# kodi-send + +> Send actions to Kodi. +> More information: . + +- Quit Kodi: + +`kodi-send {{[-a|--action]}} Quit` + +- Reboot the system: + +`kodi-send {{[-a|--action]}} Reboot` + +- Send an action to a remote host: + +`kodi-send --host {{192.168.0.1}} --port {{9777}} {{[-a|--action]}} {{Quit}}` diff --git a/pages/common/komac.md b/pages/common/komac.md new file mode 100644 index 00000000000000..bbfab6ed34bbbc --- /dev/null +++ b/pages/common/komac.md @@ -0,0 +1,36 @@ +# komac + +> Create WinGet manifests for the `winget-pkgs` repository. +> More information: . + +- Create a new package from scratch: + +`komac new {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe}}` + +- Update an existing package with a new version: + +`komac update {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe}}` + +- Update a package with multiple URLs and automatically submit: + +`komac update {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe https://example.com/app.msi ...}} {{[-s|--submit]}}` + +- Remove a version from winget-pkgs: + +`komac remove {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}}` + +- List all versions for a package: + +`komac {{[list|list-versions]}} {{Package.Identifier}}` + +- Sync your fork of winget-pkgs with the upstream repository: + +`komac {{[sync|sync-fork]}}` + +- Update the stored GitHub token: + +`komac token {{[add|update]}} {{[-t|--token]}} {{your_github_token}}` + +- Generate shell autocompletion script: + +`komac {{[complete|autocomplete]}} {{bash|elvish|fish|powershell|zsh}}` diff --git a/pages/common/kompose.md b/pages/common/kompose.md index 8e9997db909225..7e5cd685d7bec1 100644 --- a/pages/common/kompose.md +++ b/pages/common/kompose.md @@ -1,16 +1,16 @@ # kompose -> A tool to convert docker-compose applications to Kubernetes. +> Convert docker-compose applications to Kubernetes. > More information: . - Deploy a dockerized application to Kubernetes: -`kompose up -f {{docker-compose.yml}}` +`kompose up {{[-f|--file]}} {{docker-compose.yml}}` - Delete instantiated services/deployments from Kubernetes: -`kompose down -f {{docker-compose.yml}}` +`kompose down {{[-f|--file]}} {{docker-compose.yml}}` - Convert a docker-compose file into Kubernetes resources file: -`kompose convert -f {{docker-compose.yml}}` +`kompose convert {{[-f|--file]}} {{docker-compose.yml}}` diff --git a/pages/common/kool.md b/pages/common/kool.md new file mode 100644 index 00000000000000..6943dc9b06164d --- /dev/null +++ b/pages/common/kool.md @@ -0,0 +1,28 @@ +# kool + +> Build software development environments. +> More information: . + +- Create a project using a specific preset: + +`kool create {{preset}} {{project_name}}` + +- Run a specific script defined in the `kool.yml` file in the current directory: + +`kool run {{script}}` + +- Start/stop services in the current directory: + +`kool {{start|stop}}` + +- Display status of the services in the current directory: + +`kool status` + +- Update to the latest version: + +`kool self-update` + +- Print the completion script for the specified shell: + +`kool completion {{bash|fish|powershell|zsh}}` diff --git a/pages/common/kopia.md b/pages/common/kopia.md new file mode 100644 index 00000000000000..6fcb6e3d089172 --- /dev/null +++ b/pages/common/kopia.md @@ -0,0 +1,37 @@ +# kopia + +> Fast, secure open-source backup tool. +> Supports encryption, compression, deduplication, and incremental snapshots. +> More information: . + +- Create a repository in the local filesystem: + +`kopia repository create filesystem --path {{path/to/local_repository}}` + +- Create a repository on Amazon S3: + +`kopia repository create s3 --bucket {{bucket_name}} --access-key {{AWS_access_key_id}} --secret-access-key {{AWS_secret_access_key}}` + +- Connect to a repository: + +`kopia repository connect {{repository_type}} --path {{path/to/repository}}` + +- Create a snapshot of a directory: + +`kopia snapshot create {{path/to/directory}}` + +- List snapshots: + +`kopia snapshot list` + +- Restore a snapshot to a specific directory: + +`kopia snapshot restore {{snapshot_id}} {{path/to/target_directory}}` + +- Create a new policy: + +`kopia policy set --global --keep-latest {{number_of_snapshots_to_keep}} --compression {{compression_algorithm}}` + +- Ignore a specific file or folder from backups: + +`kopia policy set --global --add-ignore {{path/to/file_or_folder}}` diff --git a/pages/common/kops.md b/pages/common/kops.md index ae71353685f3b5..4e2aa978c6c7ba 100644 --- a/pages/common/kops.md +++ b/pages/common/kops.md @@ -1,24 +1,28 @@ # kops -> Create, destroy, upgrade and maintain Kubernetes clusters from the command line. +> Create, destroy, upgrade and maintain Kubernetes clusters. > More information: . - Create a cluster from the configuration specification: -`kops create cluster -f {{cluster_name.yaml}}` +`kops create cluster {{[-f|--filename]}} {{cluster_name.yaml}}` -- Create a new ssh public key: +- Create a new SSH public key: -`kops create secret sshpublickey {{key_name}} -i {{~/.ssh/id_rsa.pub}}` +`kops create sshpublickey {{key_name}} {{[-i|--ssh-public-key]}} {{~/.ssh/id_rsa.pub}}` -- Export the cluster configurations into the ~/.kube/config file: +- Export the cluster configuration to the `~/.kube/config` file: `kops export kubecfg {{cluster_name}}` -- Get the cluster configuration as yaml: +- Get the cluster configuration as YAML: -`kops get cluster {{cluster_name}} -o yaml` +`kops get cluster {{cluster_name}} {{[-o|--output]}} yaml` - Delete a cluster: -`kops delete cluster {{cluster_name}} --yes` +`kops delete cluster {{cluster_name}} {{[-y|--yes]}}` + +- Validate a cluster: + +`kops validate cluster {{cluster_name}} --wait {{wait_time_until_ready}} --count {{num_required_validations}}` diff --git a/pages/common/kosmorro.md b/pages/common/kosmorro.md index 769e90e0deb2cf..f21e0a582e01e6 100644 --- a/pages/common/kosmorro.md +++ b/pages/common/kosmorro.md @@ -1,7 +1,7 @@ # kosmorro -> Compute the ephemerides and the events for a given date, at a given position on Earth. -> More information: . +> Compute the ephemerides and the events for a date at a position on Earth. +> More information: . - Get ephemerides for Paris, France: @@ -15,6 +15,6 @@ `kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --date={{2020-06-09}}` -- Generate a PDF (note: TeXLive must be installed): +- Generate a PDF (Note: TeXLive must be installed): `kosmorro --format={{pdf}} --output={{path/to/file.pdf}}` diff --git a/pages/common/kotlin.md b/pages/common/kotlin.md index 1ba92b357bce0e..a1160eba07236e 100644 --- a/pages/common/kotlin.md +++ b/pages/common/kotlin.md @@ -1,6 +1,6 @@ # kotlin -> Kotlin Application Launcher. +> Kotlin application launcher. > More information: . - Run a jar file: diff --git a/pages/common/kotlinc.md b/pages/common/kotlinc.md new file mode 100644 index 00000000000000..96f705bd58e491 --- /dev/null +++ b/pages/common/kotlinc.md @@ -0,0 +1,24 @@ +# kotlinc + +> Kotlin compiler. +> More information: . + +- Start a REPL (interactive shell): + +`kotlinc` + +- Compile a Kotlin file: + +`kotlinc {{path/to/file.kt}}` + +- Compile several Kotlin files: + +`kotlinc {{path/to/file1.kt path/to/file2.kt ...}}` + +- Execute a specific Kotlin Script file: + +`kotlinc -script {{path/to/file.kts}}` + +- Compile a Kotlin file into a self contained jar file with the Kotlin runtime library included: + +`kotlinc {{path/to/file.kt}} -include-runtime -d {{path/to/file.jar}}` diff --git a/pages/common/kr.md b/pages/common/kr.md new file mode 100644 index 00000000000000..3437cde4865abc --- /dev/null +++ b/pages/common/kr.md @@ -0,0 +1,7 @@ +# kr + +> This command is an alias of `kiterunner`. + +- View documentation for the original command: + +`tldr kiterunner` diff --git a/pages/common/krita.md b/pages/common/krita.md new file mode 100644 index 00000000000000..f13cf5a4a8406d --- /dev/null +++ b/pages/common/krita.md @@ -0,0 +1,25 @@ +# krita + +> A sketching and painting program designed for digital artists. +> See also: `gimp`. +> More information: . + +- Start Krita: + +`krita` + +- Open specific files: + +`krita {{path/to/image1 path/to/image2 ...}}` + +- Start without a splash screen: + +`krita --nosplash` + +- Start with a specific workspace: + +`krita --workspace {{Animation}}` + +- Start in fullscreen mode: + +`krita --fullscreen` diff --git a/pages/common/krunvm.md b/pages/common/krunvm.md new file mode 100644 index 00000000000000..a77d79ec9a4067 --- /dev/null +++ b/pages/common/krunvm.md @@ -0,0 +1,24 @@ +# krunvm + +> Create MicroVMs from OCI images. +> More information: . + +- Create MicroVM based on Fedora: + +`krunvm create {{docker.io/fedora}} --cpus {{number_of_vcpus}} --mem {{memory_in_megabytes}} --name "{{name}}"` + +- Start a specific image: + +`krunvm start "{{image_name}}"` + +- List images: + +`krunvm list` + +- Change a specific image: + +`krunvm changevm --cpus {{number_of_vcpus}} --mem {{memory_in_megabytes}} --name "{{new_vm_name}}" "{{current_vm_name}}"` + +- Delete a specific image: + +`krunvm delete "{{image_name}}"` diff --git a/pages/common/ksh.md b/pages/common/ksh.md index 22c7de2477bb61..6d9912b39df893 100644 --- a/pages/common/ksh.md +++ b/pages/common/ksh.md @@ -1,21 +1,25 @@ # ksh -> Korn Shell. -> `bash` and `sh`-compatible command line interpreter. -> More information: . +> Korn Shell, a Bash-compatible command-line interpreter. +> See also: `!`, `^`. +> More information: . -- Start interactive command line interpreter: +- Start an interactive shell session: `ksh` -- Execute a command: +- Execute specific [c]ommands: -`ksh -c {{command}}` +`ksh -c "{{echo 'ksh is executed'}}"` -- Run commands from a file: +- Execute a specific script: -`ksh {{file}}` +`ksh {{path/to/script.ksh}}` -- Run commands from a file and print them as they are executed: +- Check a specific script for syntax errors without executing it: -`ksh -x {{file}}` +`ksh -n {{path/to/script.ksh}}` + +- Execute a specific script, printing each command in the script before executing it: + +`ksh -x {{path/to/script.ksh}}` diff --git a/pages/common/kube-capacity.md b/pages/common/kube-capacity.md index d710a58f20d204..779732afb10acd 100644 --- a/pages/common/kube-capacity.md +++ b/pages/common/kube-capacity.md @@ -1,17 +1,17 @@ # kube-capacity -> A simple CLI that provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster. +> Provide an overview of resource requests, limits, and utilization in a Kubernetes cluster. > Combine the best parts of `kubectl top` and `kubectl describe` into a CLI focused on cluster resources. > More information: . -- Output a list of nodes with the total CPU and Memory resource requests and limits: +- List nodes including the total CPU and Memory resource requests and limits: `kube-capacity` - Include pods: -`kube-capacity -p` +`kube-capacity {{[-p|--pods]}}` - Include utilization: -`kube-capacity -u` +`kube-capacity {{[-u|--util]}}` diff --git a/pages/common/kube-fzf.md b/pages/common/kube-fzf.md index d18346636c91b1..9f217c852a2723 100644 --- a/pages/common/kube-fzf.md +++ b/pages/common/kube-fzf.md @@ -1,7 +1,7 @@ # kube-fzf -> Shell commands for command line fuzzy searching of Kubernetes Pods. -> See also `kubectl` for related commands. +> Shell commands for command-line fuzzy searching of Kubernetes Pods. +> See also: `kubectl` for related commands. > More information: . - Get pod details (from current namespace): diff --git a/pages/common/kubeadm.md b/pages/common/kubeadm.md index a8daa00db5fdda..615e1c4a2ef8e7 100644 --- a/pages/common/kubeadm.md +++ b/pages/common/kubeadm.md @@ -1,9 +1,9 @@ # kubeadm -> Command line interface for creating and managing Kubernetes clusters. +> Interface for creating and managing Kubernetes clusters. > More information: . -- Create a Kubernetes master node: +- Create a Kubernetes control plane: `kubeadm init` diff --git a/pages/common/kubectl-annotate.md b/pages/common/kubectl-annotate.md new file mode 100644 index 00000000000000..276e2438bd2062 --- /dev/null +++ b/pages/common/kubectl-annotate.md @@ -0,0 +1,24 @@ +# kubectl annotate + +> Annotates Kubernetes resources. +> More information: . + +- Annotate a pod: + +`kubectl annotate {{[po|pods]}} {{pod_name}} {{key}}={{value}}` + +- Update a pod annotation by overwriting the existing value: + +`kubectl annotate {{[po|pods]}} {{pod_name}} {{key}}={{value}} --overwrite` + +- Annotate all pods in a namespace with a specific label selector: + +`kubectl annotate {{[po|pods]}} {{key}}={{value}} {{[-l|--selector]}} {{label_key}}={{label_value}}` + +- List all annotations a pod has: + +`kubectl annotate {{[po|pods]}} {{pod_name}} --list` + +- Remove the annotation from a pod: + +`kubectl annotate {{[po|pods]}} {{pod_name}} {{key}}-` diff --git a/pages/common/kubectl-api-resources.md b/pages/common/kubectl-api-resources.md new file mode 100644 index 00000000000000..39ed9ce2234090 --- /dev/null +++ b/pages/common/kubectl-api-resources.md @@ -0,0 +1,28 @@ +# kubectl api-resources + +> Print the supported API resources on the server. +> More information: . + +- Print the supported API resources: + +`kubectl api-resources` + +- Print the supported API resources with more information: + +`kubectl api-resources {{[-o|--output]}} wide` + +- Print the supported API resources sorted by a column: + +`kubectl api-resources --sort-by {{name}}` + +- Print the supported namespaced resources: + +`kubectl api-resources --namespaced` + +- Print the supported non-namespaced resources: + +`kubectl api-resources --namespaced=false` + +- Print the supported API resources with a specific API group: + +`kubectl api-resources --api-group {{api_group}}` diff --git a/pages/common/kubectl-api-versions.md b/pages/common/kubectl-api-versions.md new file mode 100644 index 00000000000000..cd4ef7a2e51e05 --- /dev/null +++ b/pages/common/kubectl-api-versions.md @@ -0,0 +1,8 @@ +# kubectl api-versions + +> Print the supported API versions on the server, in the form of "group/version". +> More information: . + +- Print the supported API versions on the server, in the form of "group/version": + +`kubectl api-versions` diff --git a/pages/common/kubectl-apply.md b/pages/common/kubectl-apply.md new file mode 100644 index 00000000000000..b9dc355a882bfc --- /dev/null +++ b/pages/common/kubectl-apply.md @@ -0,0 +1,29 @@ +# kubectl apply + +> Manage applications through files defining Kubernetes resources. +> Create and update resources in a cluster. +> More information: . + +- Apply a configuration to a resource by file name: + +`kubectl apply {{[-f|--filename]}} {{path/to/file}}` + +- Apply a configuration to a resource from `kustomization.yaml` in a directory: + +`kubectl apply {{[-k|--kustomize]}} {{path/to/directory}}` + +- Apply a configuration to a resource by `stdin`: + +`{{cat pod.json}} | kubectl apply {{[-f|--filename]}} -` + +- Edit the latest last-applied-configuration annotations of resources from the default editor: + +`kubectl apply edit-last-applied {{[-f|--filename]}} {{path/to/file}}` + +- Set the latest last-applied-configuration annotations by setting it to match the contents of a file: + +`kubectl apply set-last-applied {{[-f|--filename]}} {{path/to/file}}` + +- View the latest last-applied-configuration annotations by type/name or file: + +`kubectl apply view-last-applied {{[-f|--filename]}} {{path/to/file}}` diff --git a/pages/common/kubectl-auth.md b/pages/common/kubectl-auth.md new file mode 100644 index 00000000000000..d7485dd680fdb4 --- /dev/null +++ b/pages/common/kubectl-auth.md @@ -0,0 +1,20 @@ +# kubectl auth + +> Inspect access permissions in a Kubernetes cluster. +> More information: . + +- Check if the current user can perform all actions on all resources in a specific namespace: + +`kubectl auth can-i '*' '*' {{[-n|--namespace]}} {{namespace}}` + +- Check if the current user can perform a specific verb on a specific resource: + +`kubectl auth can-i {{verb}} {{resource}} {{[-n|--namespace]}} {{namespace}}` + +- Check if a specific user or service account can perform an action on a resource: + +`kubectl auth can-i {{verb}} {{resource}} {{[-n|--namespace]}} {{namespace}} --as {{user_or_sa}}` + +- List all actions the current user is allowed to perform in a namespace: + +`kubectl auth can-i --list {{[-n|--namespace]}} {{namespace}}` diff --git a/pages/common/kubectl-autoscale.md b/pages/common/kubectl-autoscale.md new file mode 100644 index 00000000000000..00cd3f2cfab735 --- /dev/null +++ b/pages/common/kubectl-autoscale.md @@ -0,0 +1,12 @@ +# kubectl autoscale + +> Create an autoscaler to intelligently scale pod count based on kubernetes cluster demands. +> More information: . + +- Auto scale a deployment with no target CPU utilization specified: + +`kubectl autoscale {{[deploy|deployment]}} {{deployment_name}} --min {{min_replicas}} --max {{max_replicas}}` + +- Auto scale a deployment with target CPU utilization: + +`kubectl autoscale {{[deploy|deployment]}} {{deployment_name}} --max {{max_replicas}} --cpu-percent {{target_cpu}}` diff --git a/pages/common/kubectl-config.md b/pages/common/kubectl-config.md new file mode 100644 index 00000000000000..a5e3abd31be26c --- /dev/null +++ b/pages/common/kubectl-config.md @@ -0,0 +1,34 @@ +# kubectl config + +> Manage Kubernetes configuration (kubeconfig) files for accessing clusters via `kubectl` or the Kubernetes API. +> By default, the Kubernetes will get its configuration from `${HOME}/.kube/config`. +> See also: `kubectx`, `kubens`. +> More information: . + +- Get all contexts in the default kubeconfig file: + +`kubectl config get-contexts` + +- Get all clusters/contexts/users in a custom kubeconfig file: + +`kubectl config {{get-clusters|get-contexts|get-users}} --kubeconfig {{path/to/kubeconfig.yaml}}` + +- Get the current context: + +`kubectl config current-context` + +- Set the default namespace of the current context: + +`kubectl config set-context --current --namespace {{namespace}}` + +- Switch to another context: + +`kubectl config {{use|use-context}} {{context_name}}` + +- Delete clusters/contexts/users: + +`kubectl config {{delete-cluster|delete-context|delete-user}} {{cluster|context|user}}` + +- Permanently add custom kubeconfig files: + +`export KUBECONFIG="{{$HOME.kube/config:path/to/custom/kubeconfig.yaml}}" kubectl config get-contexts` diff --git a/pages/common/kubectl-create.md b/pages/common/kubectl-create.md new file mode 100644 index 00000000000000..516537f6e6fc6a --- /dev/null +++ b/pages/common/kubectl-create.md @@ -0,0 +1,28 @@ +# kubectl create + +> Create a resource from a file or from `stdin`. +> More information: . + +- Create a resource using the resource definition file: + +`kubectl create {{[-f|--filename]}} {{path/to/file.yml}}` + +- Create a resource from `stdin`: + +`kubectl create {{[-f|--filename]}} -` + +- Create a deployment: + +`kubectl create {{[deploy|deployment]}} {{deployment_name}} --image {{image}}` + +- Create a deployment with replicas: + +`kubectl create {{[deploy|deployment]}} {{deployment_name}} --image {{image}} --replicas {{number_of_replicas}}` + +- Create a service: + +`kubectl create {{[svc|service]}} {{service_type}} {{service_name}} --tcp {{port}}:{{target_port}}` + +- Create a namespace: + +`kubectl create {{[ns|namespace]}} {{namespace_name}}` diff --git a/pages/common/kubectl-delete.md b/pages/common/kubectl-delete.md new file mode 100644 index 00000000000000..cd8ee7f76d0ce4 --- /dev/null +++ b/pages/common/kubectl-delete.md @@ -0,0 +1,32 @@ +# kubectl delete + +> Delete Kubernetes resources. +> More information: . + +- Delete a specific pod: + +`kubectl delete {{[po|pods]}} {{pod_name}}` + +- Delete a specific deployment: + +`kubectl delete {{[deploy|deployments]}} {{deployment_name}}` + +- Delete a specific node: + +`kubectl delete {{[no|nodes]}} {{node_name}}` + +- Delete all pods in a specified namespace: + +`kubectl delete {{[po|pods]}} --all {{[-n|--namespace]}} {{namespace}}` + +- Delete all deployments and services in a specified namespace: + +`kubectl delete {{[deploy|deployments]}},{{[svc|services]}} --all {{[-n|--namespace]}} {{namespace}}` + +- Delete all nodes: + +`kubectl delete {{[no|nodes]}} --all` + +- Delete resources defined in a YAML manifest: + +`kubectl delete {{[-f|--filename]}} {{path/to/manifest.yaml}}` diff --git a/pages/common/kubectl-describe.md b/pages/common/kubectl-describe.md index cf344fd912dcac..4143623674f014 100644 --- a/pages/common/kubectl-describe.md +++ b/pages/common/kubectl-describe.md @@ -1,24 +1,24 @@ # kubectl describe -> Show details of Kubernetes objects and resources. -> More information: . +> Show details of Kubernetes resources. +> More information: . - Show details of pods in a namespace: -`kubectl describe pods -n {{namespace}}` +`kubectl describe {{[po|pods]}} {{[-n|--namespace]}} {{namespace}}` - Show details of nodes in a namespace: -`kubectl describe nodes -n {{namespace}}` +`kubectl describe {{[no|nodes]}} {{[-n|--namespace]}} {{namespace}}` - Show the details of a specific pod in a namespace: -`kubectl describe pods {{pod_name}} -n {{namespace}}` +`kubectl describe {{[po|pods]}} {{pod_name}} {{[-n|--namespace]}} {{namespace}}` - Show the details of a specific node in a namespace: -`kubectl describe nodes {{node_name}} -n {{namespace}}` +`kubectl describe {{[no|nodes]}} {{node_name}} {{[-n|--namespace]}} {{namespace}}` -- Show details of Kubernetes objects defined in a YAML manifest: +- Show details of Kubernetes objects defined in a YAML manifest file: -`kubectl describe -f {{path/to/manifest}}.yaml` +`kubectl describe {{[-f|--filename]}} {{path/to/manifest.yaml}}` diff --git a/pages/common/kubectl-diff.md b/pages/common/kubectl-diff.md new file mode 100644 index 00000000000000..dc0472ac3d1a27 --- /dev/null +++ b/pages/common/kubectl-diff.md @@ -0,0 +1,8 @@ +# kubectl diff + +> Check differences between live resources and files. +> More information: . + +- View differences between the live resource and file definition: + +`kubectl diff {{[-f|--filename]}} {{path/to/filename}}` diff --git a/pages/common/kubectl-edit.md b/pages/common/kubectl-edit.md new file mode 100644 index 00000000000000..0368f0c5afbd38 --- /dev/null +++ b/pages/common/kubectl-edit.md @@ -0,0 +1,28 @@ +# kubectl edit + +> Edit Kubernetes resources. +> More information: . + +- Edit a pod in the default namespace: + +`kubectl edit {{[po|pods]}}/{{pod_name}}` + +- Edit a deployment in the default namespace: + +`kubectl edit {{[deploy|deployment]}}/{{deployment_name}}` + +- Edit a service in the default namespace: + +`kubectl edit {{[svc|service]}}/{{service_name}}` + +- Edit all entries of a given resource in a given namespace: + +`kubectl edit {{resource}} {{[-n|--namespace]}} {{namespace}}` + +- Edit a resource using a specific editor: + +`KUBE_EDITOR={{nano}} kubectl edit {{resource}}/{{resource_name}}` + +- Edit a resource in JSON format: + +`kubectl edit {{resource}}/{{resource_name}} {{[-o|--output]}} json` diff --git a/pages/common/kubectl-exec.md b/pages/common/kubectl-exec.md new file mode 100644 index 00000000000000..349bc81fb5eb39 --- /dev/null +++ b/pages/common/kubectl-exec.md @@ -0,0 +1,8 @@ +# kubectl exec + +> Execute a command in a container. +> More information: . + +- Open Bash in a pod, using the first container by default: + +`kubectl exec {{pod_name}} {{[-it|--stdin --tty]}} -- bash` diff --git a/pages/common/kubectl-expose.md b/pages/common/kubectl-expose.md new file mode 100644 index 00000000000000..7e43f60e23ed2c --- /dev/null +++ b/pages/common/kubectl-expose.md @@ -0,0 +1,16 @@ +# kubectl expose + +> Expose a resource as a new Kubernetes service. +> More information: . + +- Create a service for a resource, which will be served from container port to node port: + +`kubectl expose {{resource_type}} {{resource_name}} --port {{node_port}} --target-port {{container_port}}` + +- Create a service for a resource identified by a file: + +`kubectl expose {{[-f|--filename]}} {{path/to/file.yml}} --port {{node_port}} --target-port {{container_port}}` + +- Create a service with a name, to serve to a node port which will be same for container port: + +`kubectl expose {{resource_type}} {{resource_name}} --port {{node_port}} --name {{service_name}}` diff --git a/pages/common/kubectl-get.md b/pages/common/kubectl-get.md index 60308e933d1b77..253b092d216525 100644 --- a/pages/common/kubectl-get.md +++ b/pages/common/kubectl-get.md @@ -1,28 +1,36 @@ # kubectl get > Get Kubernetes objects and resources. -> More information: . +> More information: . - Get all namespaces in the current cluster: -`kubectl get namespaces` +`kubectl get {{[ns|namespaces]}}` - Get nodes in a specified namespace: -`kubectl get nodes -n {{namespace}}` +`kubectl get {{[no|nodes]}} {{[-n|--namespace]}} {{namespace}}` - Get pods in a specified namespace: -`kubectl get pods -n {{namespace}}` +`kubectl get {{[po|pods]}} {{[-n|--namespace]}} {{namespace}}` - Get deployments in a specified namespace: -`kubectl get deployments -n {{namespace}}` +`kubectl get {{[deploy|deployments]}} {{[-n|--namespace]}} {{namespace}}` - Get services in a specified namespace: -`kubectl get services -n {{namespace}}` +`kubectl get {{[svc|services]}} {{[-n|--namespace]}} {{namespace}}` -- Get Kubernetes objects defined in a YAML manifest: +- Get other resources: -`kubectl get -f {{path/to/manifest}}.yaml` +`kubectl get {{persistentvolumeclaims|secret|...}}` + +- Get all resources in all namespaces: + +`kubectl get all {{[-A|--all-namespaces]}}` + +- Get Kubernetes objects defined in a YAML manifest file: + +`kubectl get {{[-f|--filename]}} {{path/to/manifest.yaml}}` diff --git a/pages/common/kubectl-label.md b/pages/common/kubectl-label.md new file mode 100644 index 00000000000000..6237256e7b54b4 --- /dev/null +++ b/pages/common/kubectl-label.md @@ -0,0 +1,24 @@ +# kubectl label + +> Label Kubernetes resources. +> More information: . + +- Label a pod: + +`kubectl label {{[po|pods]}} {{pod_name}} {{key}}={{value}}` + +- Update a pod label by overwriting the existing value: + +`kubectl label {{[po|pods]}} {{pod_name}} {{key}}={{value}} --overwrite` + +- Label all pods in the namespace: + +`kubectl label {{[po|pods]}} {{key}}={{value}} --all` + +- Label a pod identified by the pod definition file: + +`kubectl label {{[-f|--filename]}} {{pod_definition_file}} {{key}}={{value}}` + +- Remove the label from a pod: + +`kubectl label {{[po|pods]}} {{pod_name}} {{key}}-` diff --git a/pages/common/kubectl-logs.md b/pages/common/kubectl-logs.md new file mode 100644 index 00000000000000..42dfadc50defbd --- /dev/null +++ b/pages/common/kubectl-logs.md @@ -0,0 +1,32 @@ +# kubectl logs + +> Show logs for containers in a pod. +> More information: . + +- Show logs for a single-container pod: + +`kubectl logs {{pod_name}}` + +- Show logs for a specified container in a pod: + +`kubectl logs {{[-c|--container]}} {{container_name}} {{pod_name}}` + +- Show logs for all containers in a pod: + +`kubectl logs --all-containers={{true}} {{pod_name}}` + +- Stream pod logs: + +`kubectl logs {{[-f|--follow]}} {{pod_name}}` + +- Show pod logs newer than a relative time like `10s`, `5m`, or `1h`: + +`kubectl logs --since {{relative_time}} {{pod_name}}` + +- Show the 10 most recent logs in a pod: + +`kubectl logs --tail {{10}} {{pod_name}}` + +- Show all pod logs for a given deployment: + +`kubectl logs {{[deploy|deployment]}}/{{deployment_name}}` diff --git a/pages/common/kubectl-patch.md b/pages/common/kubectl-patch.md new file mode 100644 index 00000000000000..b2776ef733766b --- /dev/null +++ b/pages/common/kubectl-patch.md @@ -0,0 +1,20 @@ +# kubectl patch + +> Patch Kubernetes resources with new values. +> More information: . + +- Partially patch a secret using a strategic merge JSON patch to remove the finalizer: + +`kubectl patch secrets {{secret_name}} {{[-p|--patch]}} '{"metadata":{"finalizers": []\}\}' --type merge` + +- Partially patch a secret using a strategic merge YAML patch to remove the finalizer: + +`kubectl patch secrets {{secret_name}} {{[-p|--patch]}} $'metadata:\n finalizers: []' --type merge` + +- Partially patch a pod's container using a JSON patch with positional arrays: + +`kubectl patch {{[po|pods]}} {{pod_name}} --type 'json' {{[-p|--patch]}} '[{"op": "replace", "path": "/spec/containers/0/image", "value":"{{new_image_value}}"}]'` + +- Update a deployment's replicas through the scale subresource using a strategic merge JSON patch: + +`kubectl patch {{[deploy|deployments]}} {{deployment_name}} --subresource 'scale' --type 'merge' {{[-p|--patch]}} '{"spec":{"replicas":{{number_of_replicas}}\}\}'` diff --git a/pages/common/kubectl-port-forward.md b/pages/common/kubectl-port-forward.md new file mode 100644 index 00000000000000..eebff78af41b88 --- /dev/null +++ b/pages/common/kubectl-port-forward.md @@ -0,0 +1,28 @@ +# kubectl port-forward + +> Forward one or more local ports to a pod. +> More information: . + +- Forward local ports 5000 and 6000 to the pod ports 5000 and 6000: + +`kubectl port-forward {{[po|pods]}}/{{pod_name}} 5000 6000` + +- Forward a random local port to the pod port 5000: + +`kubectl port-forward {{[po|pods]}}/{{pod_name}} :5000` + +- Forward local ports 5000 and 6000 to the deployment ports 5000 and 6000: + +`kubectl port-forward {{[deploy|deployment]}}/{{deployment_name}} 5000 6000` + +- Forward local port 8443 to the service port named https: + +`kubectl port-forward {{[svc|service]}}/{{service_name}} 8443:https` + +- Forward port 8888 on all addresses to the pod port 5000: + +`kubectl port-forward {{[po|pods]}}/{{pod_name}} 8888:5000 --address 0.0.0.0` + +- Forward port 8888 on localhost and selected IP to the pod port 5000: + +`kubectl port-forward {{[po|pods]}}/{{pod_name}} 8888:5000 --address localhost,{{10.19.21.23}}` diff --git a/pages/common/kubectl-replace.md b/pages/common/kubectl-replace.md new file mode 100644 index 00000000000000..97935cc261fd94 --- /dev/null +++ b/pages/common/kubectl-replace.md @@ -0,0 +1,16 @@ +# kubectl replace + +> Replace a resource by file or `stdin`. +> More information: . + +- Replace the resource using the resource definition file: + +`kubectl replace {{[-f|--filename]}} {{path/to/file.yml}}` + +- Replace the resource using the input passed into `stdin`: + +`kubectl replace {{[-f|--filename]}} -` + +- Force replace, delete and then re-create the resource: + +`kubectl replace {{[-f|--filename]}} {{path/to/file.yml}} --force` diff --git a/pages/common/kubectl-rollout.md b/pages/common/kubectl-rollout.md new file mode 100644 index 00000000000000..5e5cbb941873f6 --- /dev/null +++ b/pages/common/kubectl-rollout.md @@ -0,0 +1,20 @@ +# kubectl rollout + +> Manage the rollout of a Kubernetes resource (deployments, daemonsets, and statefulsets). +> More information: . + +- Start a rolling restart of a resource: + +`kubectl rollout restart {{resource_type}}/{{resource_name}}` + +- Watch the rolling update status of a resource: + +`kubectl rollout status {{resource_type}}/{{resource_name}}` + +- Roll back a resource to the previous revision: + +`kubectl rollout undo {{resource_type}}/{{resource_name}}` + +- View the rollout history of a resource: + +`kubectl rollout history {{resource_type}}/{{resource_name}}` diff --git a/pages/common/kubectl-run.md b/pages/common/kubectl-run.md new file mode 100644 index 00000000000000..e7d59e42aac67e --- /dev/null +++ b/pages/common/kubectl-run.md @@ -0,0 +1,24 @@ +# kubectl run + +> Run pods in Kubernetes. Specifies pod generator to avoid deprecation error in some K8S versions. +> More information: . + +- Run an nginx pod and expose port 80: + +`kubectl run {{nginx-dev}} --image nginx --port 80` + +- Run an nginx pod, setting the TEST_VAR environment variable: + +`kubectl run {{nginx-dev}} --image nginx --env "{{TEST_VAR}}={{testing}}"` + +- Show API calls that would be made to create an nginx container: + +`kubectl run {{nginx-dev}} --image nginx --dry-run={{none|server|client}}` + +- Run an Ubuntu pod interactively, never restart it, and remove it when it exits: + +`kubectl run {{temp-ubuntu}} --image ubuntu:22.04 --restart Never --rm -- /bin/bash` + +- Run an Ubuntu pod, overriding the default command with echo, and specifying custom arguments: + +`kubectl run {{temp-ubuntu}} --image ubuntu:22.04 --command -- echo {{argument1 argument2 ...}}` diff --git a/pages/common/kubectl-scale.md b/pages/common/kubectl-scale.md new file mode 100644 index 00000000000000..310a1c53ffc43d --- /dev/null +++ b/pages/common/kubectl-scale.md @@ -0,0 +1,16 @@ +# kubectl scale + +> Set a new size for a deployment, replica set, replication controller, or stateful set. +> More information: . + +- Scale a replica set: + +`kubectl scale --replicas {{replicas_count}} rs/{{replica_name}}` + +- Scale a resource identified by a file: + +`kubectl scale --replicas {{replicas_count}} {{[-f|--filename]}} {{path/to/file.yml}}` + +- Scale a deployment based on current number of replicas: + +`kubectl scale --replicas {{replicas_count}} --current-replicas {{current_replicas}} {{[deploy|deployment]}}/{{deployment_name}}` diff --git a/pages/common/kubectl-taint.md b/pages/common/kubectl-taint.md new file mode 100644 index 00000000000000..3a870b5ef005db --- /dev/null +++ b/pages/common/kubectl-taint.md @@ -0,0 +1,16 @@ +# kubectl taint + +> Update the taints on nodes. +> More information: . + +- Apply taint to a node: + +`kubectl taint {{[no|nodes]}} {{node_name}} {{label_key}}={{label_value}}:{{effect}}` + +- Remove taint from a node: + +`kubectl taint {{[no|nodes]}} {{node_name}} {{label_key}}:{{effect}}-` + +- Remove all taints from a node: + +`kubectl taint {{[no|nodes]}} {{node_name}} {{label_key}}-` diff --git a/pages/common/kubectl-top.md b/pages/common/kubectl-top.md new file mode 100644 index 00000000000000..ccb3a3adb1a573 --- /dev/null +++ b/pages/common/kubectl-top.md @@ -0,0 +1,32 @@ +# kubectl top + +> See the resource consumption for nodes or pods. +> More information: . + +- Get the resource consumption of all nodes: + +`kubectl top {{[no|nodes]}}` + +- Get resource consumption of a specific node: + +`kubectl top {{[no|nodes]}} {{node_name}}` + +- Get resource consumption of all pods: + +`kubectl top {{[po|pods]}}` + +- Get resource consumption of a specific pod: + +`kubectl top {{[po|pods]}} {{pod_name}}` + +- Get resource consumption of all pods in a namespace: + +`kubectl top {{[po|pods]}} {{[-n|--namespace]}} {{namespace_name}}` + +- Get resource consumption of all containers in a pod: + +`kubectl top {{[po|pods]}} --containers` + +- Get resource consumption of all pods with the specified label: + +`kubectl top {{[po|pods]}} {{[-l|--selector]}} {{key=value}}` diff --git a/pages/common/kubectl-version.md b/pages/common/kubectl-version.md new file mode 100644 index 00000000000000..8af5177639ccaa --- /dev/null +++ b/pages/common/kubectl-version.md @@ -0,0 +1,20 @@ +# kubectl version + +> Print the client and server version information for the current context. +> More information: . + +- Print the client and server version information for the current context: + +`kubectl version` + +- Print the client version only for the current context: + +`kubectl version --client` + +- Output the client and server version information for the current context in JSON: + +`kubectl version {{[-o|--output]}} json` + +- Output the client and server version information for the current context in YAML: + +`kubectl version {{[-o|--output]}} yaml` diff --git a/pages/common/kubectl-wait.md b/pages/common/kubectl-wait.md new file mode 100644 index 00000000000000..87b012b2ffc8ab --- /dev/null +++ b/pages/common/kubectl-wait.md @@ -0,0 +1,20 @@ +# kubectl wait + +> Wait for resource(s) to reach a certain state. +> More information: . + +- Wait for a deployment to become available: + +`kubectl wait --for=condition=available deployment/{{deployment_name}}` + +- Wait for all pods with a certain [l]abel to be ready: + +`kubectl wait --for=condition=ready pod {{[-l|--selector]}} {{label_key}}={{label_value}}` + +- Wait for a pod to be deleted: + +`kubectl wait --for=delete pod {{pod_name}}` + +- Wait for a job to complete, within 120 seconds (if the condition isn't met on time, the exit status will be unsuccessful): + +`kubectl wait --for=condition=complete job/{{job_name}} --timeout 120s` diff --git a/pages/common/kubectl.md b/pages/common/kubectl.md index 2f5aa6846203e4..a45d2b16ade035 100644 --- a/pages/common/kubectl.md +++ b/pages/common/kubectl.md @@ -1,12 +1,12 @@ # kubectl -> Command line interface for running commands against Kubernetes clusters. -> See also `kubectl describe` and other pages for additional information. +> Run commands against Kubernetes clusters. +> Some subcommands such as `run` have their own usage documentation. > More information: . - List information about a resource with more details: -`kubectl get {{pod|service|deployment|ingress|...}} -o wide` +`kubectl get {{pod|service|deployment|ingress|...}} {{[-o|--output]}} wide` - Update specified pod with the label 'unhealthy' and the value 'true': @@ -18,7 +18,7 @@ - Display resource (CPU/Memory/Storage) usage of nodes or pods: -`kubectl top {{pod|node}}` +`kubectl top {{pods|node}}` - Print the address of the master and cluster services: diff --git a/pages/common/kubectx.md b/pages/common/kubectx.md index 1298aa63681d45..1a77f3adb98446 100644 --- a/pages/common/kubectx.md +++ b/pages/common/kubectx.md @@ -1,7 +1,7 @@ # kubectx > Utility to manage and switch between `kubectl` contexts. -> More information: . +> More information: . - List the contexts: @@ -15,6 +15,14 @@ `kubectx -` +- Rename a named context: + +`kubectx {{alias}}={{name}}` + +- Show the current named context: + +`kubectx {{[-c|--current]}}` + - Delete a named context: `kubectx -d {{name}}` diff --git a/pages/common/kubens.md b/pages/common/kubens.md index 057a07b8474b82..cefd7d74dbd5bf 100644 --- a/pages/common/kubens.md +++ b/pages/common/kubens.md @@ -1,7 +1,7 @@ # kubens > Utility to switch between Kubernetes namespaces. -> More information: . +> More information: . - List the namespaces: diff --git a/pages/common/kubeseal.md b/pages/common/kubeseal.md new file mode 100644 index 00000000000000..463e47b67f7123 --- /dev/null +++ b/pages/common/kubeseal.md @@ -0,0 +1,38 @@ +# kubeseal + +> Client-side utility for encrypting Kubernetes secrets using the Bitnami Sealed Secrets controller. +> Creates SealedSecret resources that can be safely stored in version control. +> Requires a controller running in the cluster (e.g., installed via `kubectl apply -f controller.yaml`). +> More information: . + +- Encrypt a Kubernetes secret from a YAML file into a SealedSecret (default JSON output): + +`kubeseal < {{secret.yaml}} > {{sealedsecret.json}}` + +- Encrypt a secret, outputting it in YAML or JSON format, using a bearer token for API authentication: + +`kubeseal < {{secret.yaml}} {{[-o|--format]}} {{yaml|json}} --token {{my-bearer-token}} > {{sealedsecret.yaml}}` + +- Seal a secret using a specific controller namespace of sealed-secrets controller and name: + +`kubeseal < {{secret.yaml}} --controller-namespace {{controller-namespace}} --controller-name {{controller-name}} > {{sealedsecret.yaml}}` + +- Encrypt a raw secret value from a file with a specified name and scope: + +`kubeseal --raw --from-file {{path/to/secret.txt}} --name {{my-secret}} --scope {{strict|namespace-wide|cluster-wide}} > {{sealedsecret.yaml}}` + +- Fetch the controller's public certificate for offline sealing with basic auth: + +`kubeseal --fetch-cert --username {{username}} --password {{password}} > {{cert.pem}}` + +- Seal a secret offline using a fetched certificate: + +`kubeseal < {{secret.yaml}} --cert {{cert.pem}} > {{sealedsecret.yaml}}` + +- Merge a secret into an existing SealedSecret file in-place: + +`kubeseal < {{secret.yaml}} --merge-into {{sealedsecret.yaml}}` + +- Validate a SealedSecret without applying it: + +`kubeseal < {{sealedsecret.yaml}} --validate` diff --git a/pages/common/kubetail.md b/pages/common/kubetail.md index b163e6afa3781f..de4747b166adc5 100644 --- a/pages/common/kubetail.md +++ b/pages/common/kubetail.md @@ -9,11 +9,11 @@ - Tail only a specific container from multiple pods: -`kubetail {{my_app}} -c {{my_container}}` +`kubetail {{my_app}} {{[-c|--container]}} {{my_container}}` - To tail multiple containers from multiple pods: -`kubetail {{my_app}} -c {{my_container_1}} -c {{my_container_2}}` +`kubetail {{my_app}} {{[-c|--container]}} {{my_container_1}} {{[-c|--container]}} {{my_container_2}}` - To tail multiple applications at the same time separate them by comma: diff --git a/pages/common/kubie.md b/pages/common/kubie.md new file mode 100644 index 00000000000000..09a2aecb6a32e5 --- /dev/null +++ b/pages/common/kubie.md @@ -0,0 +1,28 @@ +# kubie + +> Utility to switch between `kubectl` contexts and namespaces. +> More information: . + +- Display a selectable menu of contexts: + +`kubie ctx` + +- Switch current shell to the given context: + +`kubie ctx {{context}}` + +- Switch current shell to the given namespace: + +`kubie ns {{namespace}}` + +- Switch current shell to the given context and namespace: + +`kubie ctx {{context}} -n {{namespace}}` + +- Execute a command in the given context and namespace, without spawning a shell: + +`kubie exec {{context}} {{namespace}} {{command}}` + +- Check the Kubernetes configuration files for issues: + +`kubie lint` diff --git a/pages/common/kustomize.md b/pages/common/kustomize.md index 2818f490303d6a..2b91f258bd0ea4 100644 --- a/pages/common/kustomize.md +++ b/pages/common/kustomize.md @@ -1,20 +1,20 @@ # kustomize -> Kustomize is a tool to easily deploy resources for Kubernetes. +> Easily deploy resources for Kubernetes. > More information: . -- Create kustomization file with resources and namespace: +- Create a kustomization file with resources and namespace: `kustomize create --resources {{deployment.yaml,service.yaml}} --namespace {{staging}}` -- Build kustomization file and deploy it with `kubectl`: +- Build a kustomization file and deploy it with `kubectl`: -`kustomize build . | kubectl apply -f -` +`kustomize build . | kubectl apply {{[-f|--filename]}} -` - Set an image in the kustomization file: `kustomize edit set image {{busybox=alpine:3.6}}` -- Search for kubernetes resources in the current directory to be added to the kustomization file: +- Search for Kubernetes resources in the current directory to be added to the kustomization file: `kustomize create --autodetect` diff --git a/pages/common/l2ping.md b/pages/common/l2ping.md new file mode 100644 index 00000000000000..2bd5fc695d494c --- /dev/null +++ b/pages/common/l2ping.md @@ -0,0 +1,32 @@ +# l2ping + +> Send an L2CAP echo request and receive an answer. +> More information: . + +- Ping a Bluetooth device: + +`sudo l2ping {{mac_address}}` + +- Reverse ping a Bluetooth device: + +`sudo l2ping -r {{mac_address}}` + +- Ping a Bluetooth device from a specified interface: + +`sudo l2ping -i {{hci0}} {{mac_address}}` + +- Ping Bluetooth device with a specified sized data package: + +`sudo l2ping -s {{byte_count}} {{mac_address}}` + +- Ping flood a Bluetooth device: + +`sudo l2ping -f {{mac_address}}` + +- Ping a Bluetooth device a specified amount of times: + +`sudo l2ping -c {{amount}} {{mac_address}}` + +- Ping a Bluetooth device with a specified delay between requests: + +`sudo l2ping -d {{seconds}} {{mac_address}}` diff --git a/pages/common/lambo-new.md b/pages/common/lambo-new.md index 92e0cf606ca1ff..bf19aeb4abea98 100644 --- a/pages/common/lambo-new.md +++ b/pages/common/lambo-new.md @@ -19,7 +19,7 @@ `lambo new --{{vue|bootstrap|react}} {{app_name}}` -- Install npm dependencies after the project has been created: +- Install `npm` dependencies after the project has been created: `lambo new --node {{app_name}}` diff --git a/pages/common/lambo.md b/pages/common/lambo.md index 1c556d680d2fdc..b18493911efe34 100644 --- a/pages/common/lambo.md +++ b/pages/common/lambo.md @@ -1,8 +1,8 @@ # lambo > A super-powered `laravel new` for Laravel and Valet. -> See also `lambo new` for additional command flags. -> More information: . +> See also: `lambo new` for additional command flags. +> More information: . - Create a new Laravel application: @@ -14,7 +14,7 @@ - Open the configuration in a specific editor: -`lambo edit-config --editor="{{path/to/editor}}"` +`lambo edit-config {{[-e|--editor]}} "{{path/to/editor}}"` - Open the configuration file that is run after new applications have been scaffolded: diff --git a/pages/common/lame.md b/pages/common/lame.md new file mode 100644 index 00000000000000..9abdb068e6cc14 --- /dev/null +++ b/pages/common/lame.md @@ -0,0 +1,16 @@ +# lame + +> Encode WAV to MP3 files. +> More information: . + +- Encode an audio file to MP3 using CBR 320 kbit/second: + +`lame -b 320 {{path/to/file}}.wav {{path/to/output}}.mp3` + +- Encode an audio file to MP3 using the V0 preset: + +`lame -V 0 {{path/to/file}}.wav {{path/to/output}}.mp3` + +- Encode an audio file to AAC: + +`lame {{path/to/file}}.wav {{path/to/output}}.aac` diff --git a/pages/common/lando.md b/pages/common/lando.md new file mode 100644 index 00000000000000..6315bb52a7a08a --- /dev/null +++ b/pages/common/lando.md @@ -0,0 +1,36 @@ +# lando + +> Local development environment and DevOps tool built on Docker. +> More information: . + +- Initialize code for use with `lando`: + +`lando init` + +- Print information about your app: + +`lando info` + +- Start your app: + +`lando start` + +- Stop your app: + +`lando stop` + +- Restart your app: + +`lando restart` + +- Rebuild your app from scratch, preserving data: + +`lando rebuild` + +- Display logs for your app: + +`lando logs` + +- Destroy your app: + +`lando destroy` diff --git a/pages/common/laravel-zero.md b/pages/common/laravel-zero.md index 38da76dd09f963..ea12f738ae0317 100644 --- a/pages/common/laravel-zero.md +++ b/pages/common/laravel-zero.md @@ -1,6 +1,6 @@ # laravel-zero -> A command line installer for the Laravel Zero framework. +> An installer for the Laravel Zero framework. > More information: . - Create a new Laravel Zero application: diff --git a/pages/common/laravel.md b/pages/common/laravel.md index 6629c26c91d993..201421ae1ec8d3 100644 --- a/pages/common/laravel.md +++ b/pages/common/laravel.md @@ -1,7 +1,7 @@ # laravel -> A command line installer for the Laravel framework. -> More information: . +> Installer for the Laravel framework. +> More information: . - Create a new Laravel application: diff --git a/pages/common/last.md b/pages/common/last.md deleted file mode 100644 index 03c413b24545d1..00000000000000 --- a/pages/common/last.md +++ /dev/null @@ -1,27 +0,0 @@ -# last - -> View the last logged in users. - -- View last logins, their duration and other information as read from /var/log/wtmp: - -`last` - -- Specify how many of the last logins to show: - -`last -n {{login_count}}` - -- Print the full date and time for entries and then display the hostname column last to prevent truncation: - -`last -F -a` - -- View all logins by a specific user and show the ip address instead of the hostname: - -`last {{username}} -i` - -- View all recorded reboots (i.e., the last logins of the pseudo user "reboot"): - -`last reboot` - -- View all recorded shutdowns (i.e., the last logins of the pseudo user "shutdown"): - -`last shutdown` diff --git a/pages/common/lastcomm.md b/pages/common/lastcomm.md new file mode 100644 index 00000000000000..f3a1ae1aef4390 --- /dev/null +++ b/pages/common/lastcomm.md @@ -0,0 +1,20 @@ +# lastcomm + +> Show last commands executed. +> More information: . + +- Print information about all the commands in the acct (record file): + +`lastcomm` + +- Display commands executed by a given user: + +`lastcomm --user {{user}}` + +- Display information about a given command executed on the system: + +`lastcomm --command {{command}}` + +- Display information about commands executed on a given terminal: + +`lastcomm --tty {{terminal_name}}` diff --git a/pages/common/latex.md b/pages/common/latex.md new file mode 100644 index 00000000000000..2dd256f4915e51 --- /dev/null +++ b/pages/common/latex.md @@ -0,0 +1,16 @@ +# latex + +> Compile a DVI document from LaTeX source files. +> More information: . + +- Compile a DVI document: + +`latex {{source.tex}}` + +- Compile a DVI document, specifying an output directory: + +`latex -output-directory={{path/to/directory}} {{source.tex}}` + +- Compile a DVI document, exiting on each error: + +`latex -halt-on-error {{source.tex}}` diff --git a/pages/common/latexdiff.md b/pages/common/latexdiff.md new file mode 100644 index 00000000000000..5068722aacc276 --- /dev/null +++ b/pages/common/latexdiff.md @@ -0,0 +1,16 @@ +# latexdiff + +> Determine differences between two LaTeX files. +> More information: . + +- Determine changes between different versions of a LaTeX file (the resulting LaTeX file can be compiled to show differences underlined): + +`latexdiff {{old.tex}} {{new.tex}} > {{diff.tex}}` + +- Determine changes between different versions of a LaTeX file by highlighting differences in boldface: + +`latexdiff --type=BOLD {{old.tex}} {{new.tex}} > {{diff.tex}}` + +- Determine changes between different versions of a LaTeX file, and display minor changes in equations with both added and deleted graphics: + +`latexdiff --math-markup=fine --graphics-markup=both {{old.tex}} {{new.tex}} > {{diff.tex}}` diff --git a/pages/common/latexmk.md b/pages/common/latexmk.md index c99e00b02effa4..e6f76864ed86ef 100644 --- a/pages/common/latexmk.md +++ b/pages/common/latexmk.md @@ -4,26 +4,30 @@ > Automatically does multiple runs when needed. > More information: . -- Compile a dvi (DeVice Independent file) document from every source: +- Compile a DVI (Device Independent file) document from every source: `latexmk` -- Compile a dvi document from a specific source file: +- Compile a DVI document from a specific source file: -`latexmk {{source.tex}}` +`latexmk {{path/to/source.tex}}` -- Compile a pdf document: +- Compile a PDF document: -`latexmk -pdf {{source.tex}}` +`latexmk -pdf {{path/to/source.tex}}` + +- Open the document in a viewer and continuously update it whenever source files change: + +`latexmk -pvc {{path/to/source.tex}}` - Force the generation of a document even if there are errors: -`latexmk -f {{source.tex}}` +`latexmk -f {{path/to/source.tex}}` -- Clean up temporary tex files created for a specific tex file: +- Clean up temporary TEX files created for a specific TEX file: -`latexmk -c {{source.tex}}` +`latexmk -c {{path/to/source.tex}}` -- Clean up all temporary tex files in the current directory: +- Clean up all temporary TEX files in the current directory: `latexmk -c` diff --git a/pages/common/latexpand.md b/pages/common/latexpand.md new file mode 100644 index 00000000000000..f1f343b5bfaf13 --- /dev/null +++ b/pages/common/latexpand.md @@ -0,0 +1,24 @@ +# latexpand + +> Simplify LaTeX source files by removing comments and resolving `\include`s, `\input`s, etc. +> More information: . + +- Simplify the specified source file and save the result to the specified output file: + +`latexpand {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}` + +- Do not remove comments: + +`latexpand --keep-comments {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}` + +- Do not expand `\include`s, `\input`s etc.: + +`latexpand --keep-includes {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}` + +- Expand `\usepackage`s as far as the corresponding STY files can be found: + +`latexpand --expand-usepackage {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}` + +- Inline the specified BBL file: + +`latexpand --expand-bbl {{path/to/bibliography.bbl}} {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}` diff --git a/pages/common/laydown.md b/pages/common/laydown.md new file mode 100644 index 00000000000000..08b938300a3bb5 --- /dev/null +++ b/pages/common/laydown.md @@ -0,0 +1,24 @@ +# laydown + +> Command line application to prepare for Daily Standup. +> More information: . + +- Add an item to DID section: + +`laydown did {{item}}` + +- Add an item to DOING section: + +`laydown doing {{item}}` + +- Clear all items: + +`laydown clear` + +- Use an editor to edit current data: + +`laydown edit` + +- Archive and clear current data: + +`laydown archive` diff --git a/pages/common/lazydocker.md b/pages/common/lazydocker.md new file mode 100644 index 00000000000000..ad8aca8745bfad --- /dev/null +++ b/pages/common/lazydocker.md @@ -0,0 +1,28 @@ +# lazydocker + +> A terminal UI for managing Docker containers, images, volumes, and more. +> More information: . + +- Open Lazydocker: + +`lazydocker` + +- Display the current default configuration: + +`lazydocker --config` + +- Run Lazydocker in debug mode: + +`lazydocker --debug` + +- Specify an alternate Docker Compose file: + +`lazydocker --file {{path/to/docker-compose.yml}}` + +- Display help: + +`lazydocker --help` + +- Display version: + +`lazydocker --version` diff --git a/pages/common/lazygit.md b/pages/common/lazygit.md new file mode 100644 index 00000000000000..19aa47ee2d9992 --- /dev/null +++ b/pages/common/lazygit.md @@ -0,0 +1,32 @@ +# lazygit + +> A simple terminal UI for Git commands, providing an intuitive interface for managing repositories. +> More information: . + +- Open Lazygit in the current repository: + +`lazygit` + +- Open Lazygit for a specific Git repository: + +`lazygit --path {{path/to/repository}}` + +- Start Lazygit with focus on a specific panel: + +`lazygit {{status|branch|log|stash|...}}` + +- Print the default Lazygit configuration: + +`lazygit --config` + +- Tail the Lazygit logs (useful with debug mode in another terminal): + +`lazygit --logs` + +- Run Lazygit in debug mode: + +`lazygit --debug` + +- Print the configuration directory: + +`lazygit --print-config-dir` diff --git a/pages/common/lb.md b/pages/common/lb.md new file mode 100644 index 00000000000000..7f3879bb83824b --- /dev/null +++ b/pages/common/lb.md @@ -0,0 +1,29 @@ +# lb + +> Manage a blog contained in the current directory. +> Drafts and posts to operate on are selected interactively when running the commands. +> More information: . + +- Make a new draft: + +`lb new` + +- Edit a draft: + +`lb edit` + +- Delete a draft: + +`lb trash` + +- Publish a draft: + +`lb publish` + +- Delete a published post: + +`lb delete` + +- Unpublish a published post to edit it as a draft again: + +`lb revise` diff --git a/pages/common/lckdo.md b/pages/common/lckdo.md new file mode 100644 index 00000000000000..17692e57d066fb --- /dev/null +++ b/pages/common/lckdo.md @@ -0,0 +1,8 @@ +# lckdo + +> This command is deprecated and has been superseded by `flock`. +> More information: . + +- View documentation for the recommended replacement: + +`tldr flock` diff --git a/pages/common/ld.md b/pages/common/ld.md new file mode 100644 index 00000000000000..1e3a3b639a5a20 --- /dev/null +++ b/pages/common/ld.md @@ -0,0 +1,16 @@ +# ld + +> Link object files together. +> More information: . + +- Link a specific object file with no dependencies into an executable: + +`ld {{path/to/file.o}} {{[-o|--output]}} {{path/to/output_executable}}` + +- Link two object files together: + +`ld {{path/to/file1.o}} {{path/to/file2.o}} {{[-o|--output]}} {{path/to/output_executable}}` + +- Dynamically link an x86_64 program to glibc (file paths change depending on the system): + +`ld {{[-o|--output]}} {{path/to/output_executable}} {{[-I|--dynamic-linker]}} /lib/ld-linux-x86-64.so.2 /lib/crt1.o /lib/crti.o -lc {{path/to/file.o}} /lib/crtn.o` diff --git a/pages/common/ldapsearch.md b/pages/common/ldapsearch.md index 28b88a8a326269..b5feda442dbf51 100644 --- a/pages/common/ldapsearch.md +++ b/pages/common/ldapsearch.md @@ -1,35 +1,36 @@ # ldapsearch -> CLI utility for querying an LDAP directory. +> Query an LDAP directory. +> More information: . - Query an LDAP server for all items that are a member of the given group and return the object's displayName value: -`ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_ou}} '{{memberOf=group1}}' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' displayName` - Query an LDAP server with a no-newline password file for all items that are a member of the given group and return the object's displayName value: -`ldapsearch -D '{{admin_DN}}' -y '{{password_file}}' -h {{ldap_host}} -b {{base_ou}} '{{memberOf=group1}}' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-u|--keyStorePasswordFile]}} '{{password_file}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' displayName` - Return 5 items that match the given filter: -`ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_ou}} '{{memberOf=group1}}' -z 5 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 5 displayName` - Wait up to 7 seconds for a response: -`ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_ou}} '{{memberOf=group1}}' -l 7 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 7 displayName` - Invert the filter: -`ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_ou}} '(!(memberOf={{group1}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '(!(memberOf={{group1}}))' displayName` - Return all items that are part of multiple groups, returning the display name for each item: -`ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` - Return all items that are members of at least 1 of the specified groups: -`ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` - Combine multiple boolean logic filters: -`ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName` diff --git a/pages/common/ldc.md b/pages/common/ldc.md new file mode 100644 index 00000000000000..1b820e95002f1c --- /dev/null +++ b/pages/common/ldc.md @@ -0,0 +1,24 @@ +# ldc + +> D compiler using LLVM as a backend. +> More information: . + +- Compile a source code file into an executable binary: + +`ldc2 {{path/to/source.d}} -of={{path/to/output_executable}}` + +- Compile the source code file without linking: + +`ldc2 -c {{path/to/source.d}}` + +- Select the target architecture and OS: + +`ldc -mtriple={{architecture_OS}} -c {{path/to/source.d}}` + +- Display help: + +`ldc2 -h` + +- Display complete help: + +`ldc2 -help-hidden` diff --git a/pages/common/leaftoppm.md b/pages/common/leaftoppm.md new file mode 100644 index 00000000000000..9d0976042da105 --- /dev/null +++ b/pages/common/leaftoppm.md @@ -0,0 +1,12 @@ +# leaftoppm + +> Convert an Interleaf image to a PPM image. +> More information: . + +- Generate a PPM image file as output for an Interleaf image file as input: + +`leaftoppm {{path/to/file.pl}}` + +- Display version: + +`leaftoppm {{[-v|-version]}}` diff --git a/pages/common/leave.md b/pages/common/leave.md index 101db80ca721cb..d38823837b3d68 100644 --- a/pages/common/leave.md +++ b/pages/common/leave.md @@ -1,13 +1,14 @@ # leave -> Remind when it's time to leave. +> Set a reminder for when it's time to leave. > To remove reminders use `kill $(pidof leave)`. +> More information: . - Set a reminder at a given time: `leave {{time_to_leave}}` -- Remind to leave at noon: +- Set a reminder to leave at noon: `leave {{1200}}` @@ -15,6 +16,6 @@ `leave +{{amount_of_time}}` -- Remind to leave in 4 hours and 4 minutes: +- Set a reminder to leave in 4 hours and 4 minutes: `leave +{{0404}}` diff --git a/pages/common/lebab.md b/pages/common/lebab.md index 9203985ca6d278..1d76b9d0da7ea2 100644 --- a/pages/common/lebab.md +++ b/pages/common/lebab.md @@ -4,13 +4,9 @@ > Transformations must be provided for all examples. > More information: . -- Display a list of the available transformations: - -`lebab --help` - - Transpile using one or more comma-separated transformations: -`lebab --transform {{transformation}}` +`lebab --transform {{transformation1,transformation2,...}}` - Transpile a file to `stdout`: @@ -23,3 +19,7 @@ - Replace all `.js` files in-place in the specified directory, glob or file: `lebab --replace {{directory|glob|file}}` + +- Display help: + +`lebab --help` diff --git a/pages/common/ledger.md b/pages/common/ledger.md new file mode 100644 index 00000000000000..46b624c690c133 --- /dev/null +++ b/pages/common/ledger.md @@ -0,0 +1,24 @@ +# ledger + +> A powerful, double-entry accounting system. +> More information: . + +- Print a balance report showing totals: + +`ledger balance --file {{path/to/ledger.journal}}` + +- List all postings in Expenses ordered by amount: + +`ledger register {{expenses}} --sorted {{amount}}` + +- Print total Expenses other than Drinks and Food: + +`ledger balance {{Expenses}} and not ({{Drinks}} or {{Food}})` + +- Print a budget report: + +`ledger budget` + +- Print summary information about all the postings: + +`ledger stats` diff --git a/pages/common/lein.md b/pages/common/lein.md index d01b94e20d8299..c37af77c59e022 100644 --- a/pages/common/lein.md +++ b/pages/common/lein.md @@ -1,6 +1,6 @@ # lein -> Manage clojure projects with declarative configuration. +> Manage Clojure projects with declarative configuration. > More information: . - Generate scaffolding for a new project based on a template: @@ -11,7 +11,7 @@ `lein repl` -- Run the project's "-main" function with optional args: +- Run the project's `-main` function with optional args: `lein run {{args}}` diff --git a/pages/common/lerna.md b/pages/common/lerna.md new file mode 100644 index 00000000000000..f511b499564ffe --- /dev/null +++ b/pages/common/lerna.md @@ -0,0 +1,24 @@ +# lerna + +> Manage JavaScript projects with multiple packages. +> More information: . + +- Initialize project files (`lerna.json`, `package.json`, `.git`, etc.): + +`lerna init` + +- Install all external dependencies of each package and symlink together local dependencies: + +`lerna bootstrap` + +- Run a specific script for every package that contains it in its `package.json`: + +`lerna run {{script}}` + +- Execute an arbitrary shell command in every package: + +`lerna exec -- {{ls}}` + +- Publish all packages that have changed since the last release: + +`lerna publish` diff --git a/pages/common/less-than-more-than.md b/pages/common/less-than-more-than.md new file mode 100644 index 00000000000000..f3651ceb5a7909 --- /dev/null +++ b/pages/common/less-than-more-than.md @@ -0,0 +1,16 @@ +# <> + +> Open a file descriptor for read and write. +> More information: . + +- Open a file in a file descriptor for read an write: + +`exec {{3}}<>{{path/to/file}}` + +- Open a file descriptor to a remote connection: + +`exec {{3}}<>/dev/{{tcp}}/{{remote_host}}/{{port_number}}` + +- Close a file descriptor: + +`exec {{3}}<>-` diff --git a/pages/common/less-than.md b/pages/common/less-than.md new file mode 100644 index 00000000000000..09c070a47dd580 --- /dev/null +++ b/pages/common/less-than.md @@ -0,0 +1,36 @@ +# < + +> Redirect data to `stdin`. +> More information: . + +- Redirect a file to `stdin` (achieves the same effect as `cat file.txt |`): + +`{{command}} < {{path/to/file.txt}}` + +- Create a here document and pass that into `stdin` (requires a multiline command): + +`{{command}} << {{EOF}} {{multiline_text}} {{EOF}}` + +- Create a here string and pass that into `stdin` (achieves the same effect as `echo string |`): + +`{{command}} <<< {{string}}` + +- Process data from a file and write the output to another file: + +`{{command}} < {{path/to/file.txt}} > {{path/to/file2.txt}}` + +- Write a here document into a file: + +`cat << {{EOF}} > {{path/to/file.txt}} {{multiline_data}} {{EOF}}` + +- Disregard leading tabs (good for scripts with indentation but does not work for spaces): + +`cat <<- {{EOF}} > {{path/to/file.txt}} {{multiline_data}} {{EOF}}` + +- Pass command output to a program as a file descriptor: + +`diff <({{command1}}) <({{command2}})` + +- Open a persistent file descriptor: + +`exec {{3}}<{{path/to/file}}` diff --git a/pages/common/less.md b/pages/common/less.md index ea360192578abb..0313d58a53ce67 100644 --- a/pages/common/less.md +++ b/pages/common/less.md @@ -1,35 +1,36 @@ # less > Open a file for interactive reading, allowing scrolling and search. +> More information: . - Open a file: `less {{source_file}}` -- Page down / up: +- Page down/up: -` (down), b (up)` +`{{|}}` -- Go to end / start of file: +- Go to end/start of file: -`G (end), g (start)` +`{{|}}` -- Forward search for a string (press `n`/`N` to go to next/previous match): +- Forward search for a string (press ``/`` to go to next/previous match): -`/{{something}}` +`{{something}}` -- Backward search for a string (press `n`/`N` to go to next/previous match): +- Backward search for a string (press ``/`` to go to next/previous match): -`?{{something}}` +`{{something}}` - Follow the output of the currently opened file: -`F` +`` - Open the current file in an editor: -`v` +`` - Exit: -`q` +`` diff --git a/pages/common/let.md b/pages/common/let.md new file mode 100644 index 00000000000000..7a64ca98fd2c04 --- /dev/null +++ b/pages/common/let.md @@ -0,0 +1,21 @@ +# let + +> Evaluate arithmetic expressions in shell. +> Supports variables, operators, and conditional expressions. +> More information: . + +- Evaluate a simple arithmetic expression: + +`let "{{result = a + b}}"` + +- Use post-increment and assignment in an expression: + +`let "{{x++}}"` + +- Use conditional operator in an expression: + +`let "{{result = (x > 10) ? x : 0}}"` + +- Display help: + +`let --help` diff --git a/pages/common/lex.md b/pages/common/lex.md index 7b5d95c8480faf..c737f839024a8f 100644 --- a/pages/common/lex.md +++ b/pages/common/lex.md @@ -1,16 +1,18 @@ # lex -> Lexical analyser generator. -> Given the specification for a lexical analyser, generates C code implementing it. +> Lexical analyzer generator. +> Given the specification for a lexical analyzer, generates C code implementing it. +> Note: On most major OSes, this command is an alias for `flex`. +> More information: . -- Generate an analyser from a Lex file: +- Generate an analyzer from a Lex file, storing it to the file `lex.yy.c`: -`lex {{analyser.l}}` +`lex {{analyzer.l}}` - Specify the output file: -`lex {{analyser.l}} --outfile {{analyser.c}}` +`lex -t {{analyzer.l}} > {{analyzer.c}}` - Compile a C file generated by Lex: -`cc {{path/to/lex.yy.c}} --output {{executable}}` +`c99 {{path/to/lex.yy.c}} -o {{executable}}` diff --git a/pages/common/libreoffice.md b/pages/common/libreoffice.md new file mode 100644 index 00000000000000..676018904d32d6 --- /dev/null +++ b/pages/common/libreoffice.md @@ -0,0 +1,7 @@ +# libreoffice + +> This command is an alias of `soffice`. + +- View documentation for the original command: + +`tldr soffice` diff --git a/pages/common/license.md b/pages/common/license.md index f09775586cff32..ff05148934e08d 100644 --- a/pages/common/license.md +++ b/pages/common/license.md @@ -9,7 +9,7 @@ - Generate a license and save it to a file: -`license -o {{filename}} {{license_name}}` +`license -o {{path/to/file}} {{license_name}}` - List all available licenses: diff --git a/pages/common/licensor.md b/pages/common/licensor.md new file mode 100644 index 00000000000000..6135e6cfe60d98 --- /dev/null +++ b/pages/common/licensor.md @@ -0,0 +1,28 @@ +# licensor + +> Write licenses to `stdout`. +> More information: . + +- Write the MIT license to a file named `LICENSE`: + +`licensor {{MIT}} > {{LICENSE}}` + +- Write the MIT license with a placeholder copyright notice to a file named `LICENSE`: + +`licensor {{[-p|--keep-placeholder]}} {{MIT}} > {{LICENSE}}` + +- Specify a copyright holder named Bobby Tables: + +`licensor {{MIT}} "{{Bobby Tables}}" > {{LICENSE}}` + +- Specify license exceptions with a WITH expression: + +`licensor "{{Apache-2.0 WITH LLVM-exception}}" > {{LICENSE}}` + +- List all available licenses: + +`licensor {{[-l|--licenses]}}` + +- List all available exceptions: + +`licensor {{[-e|--exceptions]}}` diff --git a/pages/common/lighthouse.md b/pages/common/lighthouse.md new file mode 100644 index 00000000000000..71b4adad14649d --- /dev/null +++ b/pages/common/lighthouse.md @@ -0,0 +1,36 @@ +# lighthouse + +> Analyzes web applications and web pages, collecting modern performance metrics and insights on developer best practices. +> More information: . + +- Generate an HTML report for a specific website and save it to a file in the current directory: + +`lighthouse {{https://example.com}}` + +- Generate a JSON report and print it: + +`lighthouse --output {{json}} {{https://example.com}}` + +- Generate a JSON report and save it to a specific file: + +`lighthouse --output {{json}} --output-path {{path/to/file.json}} {{https://example.com}}` + +- Generate a report using the browser in headless mode without logging to `stdout`: + +`lighthouse --quiet --chrome-flags="{{--headless}}" {{https://example.com}}` + +- Generate a report, using the HTTP header key/value pairs in the specified JSON file for all requests: + +`lighthouse --extra-headers={{path/to/file.json}} {{https://example.com}}` + +- Generate a report for specific categories only: + +`lighthouse --only-categories={{performance,accessibility,best-practices,seo,pwa}} {{https://example.com}}` + +- Generate a report with device emulation and all throttling disabled: + +`lighthouse --screenEmulation.disabled --throttling-method={{provided}} --no-emulatedUserAgent {{https://example.com}}` + +- Display help: + +`lighthouse --help` diff --git a/pages/common/lilypond.md b/pages/common/lilypond.md index 1a07ac1da8d044..276911d4aa0bf8 100644 --- a/pages/common/lilypond.md +++ b/pages/common/lilypond.md @@ -1,7 +1,8 @@ # lilypond > Typeset music and/or produce MIDI from file. -> More information: . +> See also: `musescore`. +> More information: . - Compile a lilypond file into a PDF: @@ -9,16 +10,16 @@ - Compile into the specified format: -`lilypond --formats={{format_dump}} {{path/to/file}}` +`lilypond {{[-f|--format]}} {{format_dump}} {{path/to/file}}` - Compile the specified file, suppressing progress updates: -`lilypond -s {{path/to/file}}` +`lilypond {{[-s|--silent]}} {{path/to/file}}` - Compile the specified file, and also specify the output filename: -`lilypond --output={{path/to/output_file}} {{path/to/input_file}}` +`lilypond {{[-o|--output]}} {{path/to/output_file}} {{path/to/input_file}}` -- Show the current version of lilypond: +- Display version: -`lilypond --version` +`lilypond {{[-v|--version]}}` diff --git a/pages/common/lima.md b/pages/common/lima.md new file mode 100644 index 00000000000000..0f74aa4f9d9da9 --- /dev/null +++ b/pages/common/lima.md @@ -0,0 +1,8 @@ +# lima + +> This command is an alias of `limactl shell` for the default VM instance. +> You can also set the `$LIMA_INSTANCE` environment variable to work on a different instance. + +- View documentation for the original command: + +`tldr limactl` diff --git a/pages/common/limactl.md b/pages/common/limactl.md new file mode 100644 index 00000000000000..0b048af47500b9 --- /dev/null +++ b/pages/common/limactl.md @@ -0,0 +1,33 @@ +# limactl + +> Virtual machine manager for Linux guests, with multiple VM templates available. +> Can be used to run containers on macOS, but also for generic virtual machine use cases on macOS and Linux hosts. +> More information: . + +- List VMs: + +`limactl list` + +- Create a VM using the default settings and optionally provide a name and/or a template (see `limactl create --list-templates` for available templates): + +`limactl create --name {{vm_name}} template://{{debian|fedora|ubuntu|...}}` + +- Start a VM (this might install some dependencies in it and take a few minutes): + +`limactl start {{vm_name}}` + +- Open a remote shell inside a VM: + +`limactl shell {{vm_name}}` + +- Run a command inside a VM: + +`limactl shell {{vm_name}} {{command}}` + +- Stop/shutdown a VM: + +`limactl stop {{vm_name}}` + +- Delete a VM: + +`limactl remove {{vm_name}}` diff --git a/pages/common/link.md b/pages/common/link.md index f57667a6a357b1..7baa0fe7ad69fc 100644 --- a/pages/common/link.md +++ b/pages/common/link.md @@ -2,6 +2,7 @@ > Create a hard link to an existing file. > For more options, see the `ln` command. +> More information: . - Create a hard link from a new file to an existing file: diff --git a/pages/common/linkchecker.md b/pages/common/linkchecker.md index 731b183746c06c..7b9ef8eef71fd8 100644 --- a/pages/common/linkchecker.md +++ b/pages/common/linkchecker.md @@ -1,9 +1,9 @@ # linkchecker -> Command line client to check HTML documents and websites for broken links. -> More information: . +> Client to check HTML documents and websites for broken links. +> More information: . -- Find broken links on https://example.com/: +- Find broken links on : `linkchecker {{https://example.com/}}` @@ -11,7 +11,7 @@ `linkchecker --check-extern {{https://example.com/}}` -- Ignore URLs that match a specific regex: +- Ignore URLs that match a specific `regex`: `linkchecker --ignore-url {{regex}} {{https://example.com/}}` diff --git a/pages/common/linode-cli-account.md b/pages/common/linode-cli-account.md new file mode 100644 index 00000000000000..950e591a456501 --- /dev/null +++ b/pages/common/linode-cli-account.md @@ -0,0 +1,21 @@ +# linode-cli account + +> Manage Linode accounts. +> See also: `linode-cli`. +> More information: . + +- View account: + +`linode-cli account view` + +- View account settings: + +`linode-cli account settings` + +- Make a payment: + +`linode-cli account payment-create --cvv {{cvv}} --usd {{amount_in_dollars}}` + +- View account notifications: + +`linode-cli account notifications-list` diff --git a/pages/common/linode-cli-domains.md b/pages/common/linode-cli-domains.md new file mode 100644 index 00000000000000..e4426c6c946481 --- /dev/null +++ b/pages/common/linode-cli-domains.md @@ -0,0 +1,37 @@ +# linode-cli domains + +> Manage Linode Domains and DNS configuration. +> See also: `linode-cli`. +> More information: . + +- List all managed domains: + +`linode-cli domains list` + +- Create a new managed domain: + +`linode-cli domains create --domain {{domain_name}} --type {{master|slave}} --soa-email {{email}}` + +- View details of a specific domain: + +`linode-cli domains view {{domain_id}}` + +- Delete a managed domain: + +`linode-cli domains delete {{domain_id}}` + +- List records for a specific domain: + +`linode-cli domains records-list {{domain_id}}` + +- Add a DNS record to a domain: + +`linode-cli domains records-create {{domain_id}} --type {{A|AAAA|CNAME|MX|...}} --name {{subdomain}} --target {{target_value}}` + +- Update a DNS record for a domain: + +`linode-cli domains records-update {{domain_id}} {{record_id}} --target {{new_target_value}}` + +- Delete a DNS record from a domain: + +`linode-cli domains records-delete {{domain_id}} {{record_id}}` diff --git a/pages/common/linode-cli-events.md b/pages/common/linode-cli-events.md new file mode 100644 index 00000000000000..b2da20499f3069 --- /dev/null +++ b/pages/common/linode-cli-events.md @@ -0,0 +1,17 @@ +# linode-cli events + +> Manage Linode events. +> See also: `linode-cli`. +> More information: . + +- List the events on your account: + +`linode-cli events list` + +- View details about a specific event: + +`linode-cli events view {{event_id}}` + +- Mark an event as read: + +`linode-cli events mark-read {{event_id}}` diff --git a/pages/common/linode-cli-linodes.md b/pages/common/linode-cli-linodes.md new file mode 100644 index 00000000000000..0d35d238667286 --- /dev/null +++ b/pages/common/linode-cli-linodes.md @@ -0,0 +1,37 @@ +# linode-cli linodes + +> Manage Linode instances. +> See also: `linode-cli`. +> More information: . + +- List all Linodes: + +`linode-cli linodes list` + +- Create a new Linode: + +`linode-cli linodes create --type {{linode_type}} --region {{region}} --image {{image_id}}` + +- View details of a specific Linode: + +`linode-cli linodes view {{linode_id}}` + +- Update settings for a Linode: + +`linode-cli linodes update {{linode_id}} --label {{new_label}}` + +- Delete a Linode: + +`linode-cli linodes delete {{linode_id}}` + +- Perform a power management operation on a Linode: + +`linode-cli linodes {{boot|reboot|shutdown}} {{linode_id}}` + +- List available backups for a Linode: + +`linode-cli linodes backups-list {{linode_id}}` + +- Restore a backup to a Linode: + +`linode-cli linodes backups-restore {{linode_id}} --backup-id {{backup_id}}` diff --git a/pages/common/linode-cli-lke.md b/pages/common/linode-cli-lke.md new file mode 100644 index 00000000000000..5fa11bfcd6e301 --- /dev/null +++ b/pages/common/linode-cli-lke.md @@ -0,0 +1,25 @@ +# linode-cli lke + +> Manage Linode Kubernetes Engine (LKE) clusters. +> See also: `linode-cli`. +> More information: . + +- List all LKE clusters: + +`linode-cli lke clusters list` + +- Create a new LKE cluster: + +`linode-cli lke clusters create --region {{region}} --type {{type}} --node-type {{node_type}} --nodes-count {{count}}` + +- View details of a specific LKE cluster: + +`linode-cli lke clusters view {{cluster_id}}` + +- Update an existing LKE cluster: + +`linode-cli lke clusters update {{cluster_id}} --node-type {{new_node_type}}` + +- Delete an LKE cluster: + +`linode-cli lke clusters delete {{cluster_id}}` diff --git a/pages/common/linode-cli-nodebalancers.md b/pages/common/linode-cli-nodebalancers.md new file mode 100644 index 00000000000000..f0ce9d2e5b3b2e --- /dev/null +++ b/pages/common/linode-cli-nodebalancers.md @@ -0,0 +1,33 @@ +# linode-cli nodebalancers + +> Manage Linode NodeBalancers. +> See also: `linode-cli`. +> More information: . + +- List all NodeBalancers: + +`linode-cli nodebalancers list` + +- Create a new NodeBalancer: + +`linode-cli nodebalancers create --region {{region}}` + +- View details of a specific NodeBalancer: + +`linode-cli nodebalancers view {{nodebalancer_id}}` + +- Update an existing NodeBalancer: + +`linode-cli nodebalancers update {{nodebalancer_id}} --label {{new_label}}` + +- Delete a NodeBalancer: + +`linode-cli nodebalancers delete {{nodebalancer_id}}` + +- List configurations for a NodeBalancer: + +`linode-cli nodebalancers configs list {{nodebalancer_id}}` + +- Add a new configuration to a NodeBalancer: + +`linode-cli nodebalancers configs create {{nodebalancer_id}} --port {{port}} --protocol {{protocol}}` diff --git a/pages/common/linode-cli-object-storage.md b/pages/common/linode-cli-object-storage.md new file mode 100644 index 00000000000000..00bb50db6cf6bc --- /dev/null +++ b/pages/common/linode-cli-object-storage.md @@ -0,0 +1,33 @@ +# linode-cli object-storage + +> Manage Linode Object Storage. +> See also: `linode-cli`. +> More information: . + +- List all Object Storage buckets: + +`linode-cli object-storage buckets list` + +- Create a new Object Storage bucket: + +`linode-cli object-storage buckets create --cluster {{cluster_id}} --label {{bucket_label}}` + +- Delete an Object Storage bucket: + +`linode-cli object-storage buckets delete {{cluster_id}} {{bucket_label}}` + +- List Object Storage cluster regions: + +`linode-cli object-storage clusters list` + +- List access keys for Object Storage: + +`linode-cli object-storage keys list` + +- Create a new access key for Object Storage: + +`linode-cli object-storage keys create --label {{label}}` + +- Revoke an access key for Object Storage: + +`linode-cli object-storage keys revoke {{access_key_id}}` diff --git a/pages/common/linode-cli-tickets.md b/pages/common/linode-cli-tickets.md new file mode 100644 index 00000000000000..c7816b43ab62f5 --- /dev/null +++ b/pages/common/linode-cli-tickets.md @@ -0,0 +1,21 @@ +# linode-cli tickets + +> Manage Linode Support Tickets. +> See also: `linode-cli`. +> More information: . + +- List your Support Tickets: + +`linode-cli tickets list` + +- Open a new Ticket: + +`linode-cli tickets create --summary "{{Summary or quick title for the Ticket}}" --description "{{Detailed description of the issue}}"` + +- List replies to a Ticket: + +`linode-cli tickets replies {{ticket_id}}` + +- Reply to a specific Ticket: + +`linode-cli tickets reply {{ticket_id}} --description "{{The content of your reply}}"` diff --git a/pages/common/linode-cli-volumes.md b/pages/common/linode-cli-volumes.md new file mode 100644 index 00000000000000..385f4e5cc96069 --- /dev/null +++ b/pages/common/linode-cli-volumes.md @@ -0,0 +1,29 @@ +# linode-cli volumes + +> Manage Linode Volumes. +> See also: `linode-cli`. +> More information: . + +- List current Volumes: + +`linode-cli volumes list` + +- Create a new Volume and attach it to a specific Linode: + +`linode-cli volumes create --label {{volume_label}} --size {{size_in_GB}} --linode-id {{linode_id}}` + +- Attach a Volume to a specific Linode: + +`linode-cli volumes attach {{volume_id}} --linode-id {{linode_id}}` + +- Detach a Volume from a Linode: + +`linode-cli volumes detach {{volume_id}}` + +- Resize a Volume (Note: Size can only be increased): + +`linode-cli volumes resize {{volume_id}} --size {{new_size_in_GB}}` + +- Delete a Volume: + +`linode-cli volumes delete {{volume_id}}` diff --git a/pages/common/linode-cli.md b/pages/common/linode-cli.md new file mode 100644 index 00000000000000..a12a33916eedf7 --- /dev/null +++ b/pages/common/linode-cli.md @@ -0,0 +1,37 @@ +# linode-cli + +> Manage Linode cloud services. +> Some subcommands such as `events` have their own usage documentation. +> More information: . + +- List all Linodes: + +`linode-cli linodes list` + +- View documentation for managing Linode accounts: + +`tldr linode-cli account` + +- View documentation for managing Linodes: + +`tldr linode-cli linodes` + +- View documentation for managing Linode Kubernetes Engine (LKE) clusters: + +`tldr linode-cli lke` + +- View documentation for managing NodeBalancers: + +`tldr linode-cli nodebalancers` + +- View documentation for managing Object Storage: + +`tldr linode-cli object-storage` + +- View documentation for managing domains and DNS configuration: + +`tldr linode-cli domains` + +- View documentation for managing Linode Volumes: + +`tldr linode-cli volumes` diff --git a/pages/common/liquidctl.md b/pages/common/liquidctl.md new file mode 100644 index 00000000000000..12b99d1ab1f420 --- /dev/null +++ b/pages/common/liquidctl.md @@ -0,0 +1,20 @@ +# liquidctl + +> Control liquid coolers. +> More information: . + +- List available devices: + +`liquidctl list` + +- Initialize all supported devices: + +`sudo liquidctl initialize all` + +- Print the status of available liquid coolers: + +`liquidctl status` + +- Match a string in product name to pick a device and set its fan speed to 0% at 20°C, 50% at 50°C and 100% at 70°C: + +`liquidctl --match {{string}} set fan speed {{20 0 50 50 70 100}}` diff --git a/pages/common/lispmtopgm.md b/pages/common/lispmtopgm.md new file mode 100644 index 00000000000000..47c5c2fdf6cf45 --- /dev/null +++ b/pages/common/lispmtopgm.md @@ -0,0 +1,9 @@ +# lispmtopgm + +> Convert a Lisp Machine bitmap into a PGM image. +> See also: `pgmtolispm`. +> More information: . + +- Convert the specified Lisp Machine bitmap file into a PGM image: + +`lispmtopgm {{path/to/input.lispm}} > {{path/to/output.pgm}}` diff --git a/pages/common/lit.md b/pages/common/lit.md new file mode 100644 index 00000000000000..a9933ab6b5e07c --- /dev/null +++ b/pages/common/lit.md @@ -0,0 +1,21 @@ +# lit + +> LLVM integrated tester for executing LLVM and Clang style test suites, summarizing results. +> Part of LLVM. +> More information: . + +- Run a specified test case: + +`lit {{path/to/test_file.test}}` + +- Run all test cases in a specified directory: + +`lit {{path/to/test_suite}}` + +- Run all test cases and check the wall time for each cases, then report to summary output: + +`lit {{path/to/test_suite}} --time-tests` + +- Run individual tests with Valgrind (memory check and memory leak test): + +`lit {{path/to/test_file.test}} --vg --vg-leak --vg-args={{args_to_valgrind}}` diff --git a/pages/common/live-server.md b/pages/common/live-server.md index cef7b9d9137bce..a4161ecf0772fc 100644 --- a/pages/common/live-server.md +++ b/pages/common/live-server.md @@ -1,9 +1,9 @@ # live-server -> A simple development http server with live reload capability. -> More information: . +> A simple development HTTP server with live reload capability. +> More information: . -- Serve an index.html file and reload on changes: +- Serve an `index.html` file and reload on changes: `live-server` diff --git a/pages/common/llc.md b/pages/common/llc.md new file mode 100644 index 00000000000000..666cd672c347ef --- /dev/null +++ b/pages/common/llc.md @@ -0,0 +1,20 @@ +# llc + +> Compiles LLVM Intermediate Representation or bitcode to target-specific assembly language. +> More information: . + +- Compile a bitcode or IR file to an assembly file with the same base name: + +`llc {{path/to/file.ll}}` + +- Enable all optimizations: + +`llc -O3 {{path/to/input.ll}}` + +- Output assembly to a specific file: + +`llc --output {{path/to/output.s}}` + +- Emit fully relocatable, position independent code: + +`llc -relocation-model=pic {{path/to/input.ll}}` diff --git a/pages/common/lldb.md b/pages/common/lldb.md new file mode 100644 index 00000000000000..8795ddce4c2997 --- /dev/null +++ b/pages/common/lldb.md @@ -0,0 +1,16 @@ +# lldb + +> The LLVM Low-Level Debugger. +> More information: . + +- Debug an executable: + +`lldb {{executable}}` + +- Attach `lldb` to a running process with a given PID: + +`lldb -p {{pid}}` + +- Wait for a new process to launch with a given name, and attach to it: + +`lldb -w -n {{process_name}}` diff --git a/pages/common/lli.md b/pages/common/lli.md new file mode 100644 index 00000000000000..5dff1c40df26df --- /dev/null +++ b/pages/common/lli.md @@ -0,0 +1,20 @@ +# lli + +> Directly execute programs from LLVM bitcode. +> More information: . + +- Execute a bitcode or IR file: + +`lli {{path/to/file.ll}}` + +- Execute with command-line arguments: + +`lli {{path/to/file.ll}} {{argument1 argument2 ...}}` + +- Enable all optimizations: + +`lli -O3 {{path/to/file.ll}}` + +- Load a dynamic library before linking: + +`lli --dlopen={{path/to/library.dll}} {{path/to/file.ll}}` diff --git a/pages/common/llm.md b/pages/common/llm.md new file mode 100644 index 00000000000000..43f877e5458d5b --- /dev/null +++ b/pages/common/llm.md @@ -0,0 +1,32 @@ +# llm + +> Interact with Large Language Models (LLMs) via remote APIs and models that can be installed and run on your machine. +> More information: . + +- Set up an OpenAI API Key: + +`llm keys set openai` + +- Run a prompt: + +`llm "{{Ten fun names for a pet pelican}}"` + +- Run a system prompt against a file: + +`cat {{path/to/file.py}} | llm {{[-s|--system]}} "{{Explain this code}}"` + +- Install packages from PyPI into the same environment as LLM: + +`llm install {{package1 package2 ...}}` + +- Download and run a prompt against a model: + +`llm {{[-m|--model]}} {{orca-mini-3b-gguf2-q4_0}} "{{What is the capital of France?}}"` + +- Create a system prompt and save it with a template name: + +`llm {{[-s|--system]}} '{{You are a sentient cheesecake}}' --save {{sentient_cheesecake}}` + +- Have an interactive chat with a specific model using a specific template: + +`llm chat {{[-m|--model]}} {{chatgpt}} {{[-t|--template]}} {{sentient_cheesecake}}` diff --git a/pages/common/llvd.md b/pages/common/llvd.md new file mode 100644 index 00000000000000..cafffba18fcc05 --- /dev/null +++ b/pages/common/llvd.md @@ -0,0 +1,20 @@ +# llvd + +> Linkedin Learning Video Downloader. +> More information: . + +- Download a course using cookie-based authentication: + +`llvd {{[-c|--course]}} {{course-slug}} --cookies` + +- Download a course at a specific resolution: + +`llvd {{[-c|--course]}} {{course-slug}} {{[-r|--resolution]}} 720` + +- Download a course with captions (subtitles): + +`llvd {{[-c|--course]}} {{course-slug}} {{[-ca|--caption]}}` + +- Download a course path with throttling between 10 to 30 seconds: + +`llvd {{[-p|--path]}} {{path-slug}} {{[-t|--throttle]}} {{10,30}} --cookies` diff --git a/pages/common/llvm-ar.md b/pages/common/llvm-ar.md new file mode 100644 index 00000000000000..3febbb180cc119 --- /dev/null +++ b/pages/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> This command is an alias of `ar`. + +- View documentation for the original command: + +`tldr ar` diff --git a/pages/common/llvm-as.md b/pages/common/llvm-as.md new file mode 100644 index 00000000000000..1b621a3528fd79 --- /dev/null +++ b/pages/common/llvm-as.md @@ -0,0 +1,16 @@ +# llvm-as + +> LLVM Intermediate Representation (`.ll`) to Bitcode (`.bc`) assembler. +> More information: . + +- Assemble an IR file: + +`llvm-as -o {{path/to/out.bc}} {{path/to/source.ll}}` + +- Assemble an IR file and include a module hash in the produced Bitcode file: + +`llvm-as --module-hash -o {{path/to/out.bc}} {{path/to/source.ll}}` + +- Read an IR file from `stdin` and assemble it: + +`cat {{path/to/source.ll}} | llvm-as -o {{path/to/out.bc}}` diff --git a/pages/common/llvm-bcanalyzer.md b/pages/common/llvm-bcanalyzer.md new file mode 100644 index 00000000000000..11427ca6798ea0 --- /dev/null +++ b/pages/common/llvm-bcanalyzer.md @@ -0,0 +1,16 @@ +# llvm-bcanalyzer + +> LLVM Bitcode (`.bc`) analyzer. +> More information: . + +- Print statistics about a Bitcode file: + +`llvm-bcanalyzer {{path/to/file.bc}}` + +- Print an SGML representation and statistics about a Bitcode file: + +`llvm-bcanalyzer -dump {{path/to/file.bc}}` + +- Read a Bitcode file from `stdin` and analyze it: + +`cat {{path/to/file.bc}} | llvm-bcanalyzer` diff --git a/pages/common/llvm-cat.md b/pages/common/llvm-cat.md new file mode 100644 index 00000000000000..7ebd1dfb63e3b6 --- /dev/null +++ b/pages/common/llvm-cat.md @@ -0,0 +1,8 @@ +# llvm-cat + +> Concatenate LLVM Bitcode (`.bc`) files. +> More information: . + +- Concatenate Bitcode files: + +`llvm-cat {{path/to/file1.bc}} {{path/to/file2.bc}} -o {{path/to/out.bc}}` diff --git a/pages/common/llvm-config.md b/pages/common/llvm-config.md new file mode 100644 index 00000000000000..53593e6cc1fb8a --- /dev/null +++ b/pages/common/llvm-config.md @@ -0,0 +1,17 @@ +# llvm-config + +> Get various configuration information needed to compile programs which use LLVM. +> Typically called from build systems, like in Makefiles or configure scripts. +> More information: . + +- Compile and link an LLVM based program: + +`clang++ $(llvm-config --cxxflags --ldflags --libs) --output {{path/to/output_executable}} {{path/to/source.cc}}` + +- Print the `PREFIX` of your LLVM installation: + +`llvm-config --prefix` + +- Print all targets supported by your LLVM build: + +`llvm-config --targets-built` diff --git a/pages/common/llvm-dis.md b/pages/common/llvm-dis.md new file mode 100644 index 00000000000000..6a995914aeb909 --- /dev/null +++ b/pages/common/llvm-dis.md @@ -0,0 +1,16 @@ +# llvm-dis + +> Convert LLVM bitcode files into human-readable LLVM Intermediate Representation (IR). +> More information: . + +- Convert a bitcode file as LLVM IR and write the result to `stdout`: + +`llvm-dis {{path/to/input.bc}} -o -` + +- Convert a bitcode file to an LLVM IR file with the same filename: + +`llvm-dis {{path/to/file.bc}}` + +- Convert a bitcode file to LLVM IR, writing the result to the specified file: + +`llvm-dis {{path/to/input.bc}} -o {{path/to/output.ll}}` diff --git a/pages/common/llvm-g++.md b/pages/common/llvm-g++.md new file mode 100644 index 00000000000000..8668811bcbb4c0 --- /dev/null +++ b/pages/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> This command is an alias of `clang++`. + +- View documentation for the original command: + +`tldr clang++` diff --git a/pages/common/llvm-gcc.md b/pages/common/llvm-gcc.md new file mode 100644 index 00000000000000..ebce9da9cb3a15 --- /dev/null +++ b/pages/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> This command is an alias of `clang`. + +- View documentation for the original command: + +`tldr clang` diff --git a/pages/common/llvm-mc.md b/pages/common/llvm-mc.md new file mode 100644 index 00000000000000..633557afb4fb9e --- /dev/null +++ b/pages/common/llvm-mc.md @@ -0,0 +1,25 @@ +# llvm-mc + +> LLVM Machine Code Playground. It provides a set of tools for working with LLVM machine code. +> Part of LLVM. +> More information: . + +- Assemble assembly code file into object file with machine code: + +`llvm-mc --filetype=obj -o {{path/to/output.o}} {{path/to/input.s}}` + +- Disassemble object file with machine code into assembly code file: + +`llvm-mc --disassemble -o {{path/to/output.s}} {{path/to/input.o}}` + +- Compile LLVM bit code file into assembly code: + +`llvm-mc -o {{path/to/output.s}} {{path/to/input.bc}}` + +- Assemble assembly code from standard input stream and show encoding to standard output stream: + +`echo "{{addl %eax, %ebx}}" | llvm-mc -show-encoding -show-inst` + +- Disassemble machine code from standard input stream for specified triple: + +`echo "{{0xCD 0x21}}" | llvm-mc --disassemble -triple={{target_name}}` diff --git a/pages/common/llvm-nm.md b/pages/common/llvm-nm.md new file mode 100644 index 00000000000000..9bbf75969c5a47 --- /dev/null +++ b/pages/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> This command is an alias of `nm`. + +- View documentation for the original command: + +`tldr nm` diff --git a/pages/common/llvm-objdump.md b/pages/common/llvm-objdump.md new file mode 100644 index 00000000000000..bd8fdb81ee8e53 --- /dev/null +++ b/pages/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> This command is an alias of `objdump`. + +- View documentation for the original command: + +`tldr objdump` diff --git a/pages/common/llvm-strings.md b/pages/common/llvm-strings.md new file mode 100644 index 00000000000000..2cece0af97c2b0 --- /dev/null +++ b/pages/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> This command is an alias of `strings`. + +- View documentation for the original command: + +`tldr strings` diff --git a/pages/common/lmms.md b/pages/common/lmms.md index 14026b3d371fd2..f016a0189e6400 100644 --- a/pages/common/lmms.md +++ b/pages/common/lmms.md @@ -1,7 +1,8 @@ # lmms -> Free, open source, multiplatform digital audio workstation. +> Free, open source, cross-platform digital audio workstation. > Render a `.mmp` or `.mmpz` project file, dump a `.mmpz` as XML, or start the GUI. +> See also: `mixxx`. > More information: . - Start the GUI: diff --git a/pages/common/ln.md b/pages/common/ln.md index 10e509323c332d..1f38d603982f2b 100644 --- a/pages/common/ln.md +++ b/pages/common/ln.md @@ -1,15 +1,16 @@ # ln -> Creates links to files and directories. +> Create links to files and directories. +> More information: . - Create a symbolic link to a file or directory: -`ln -s {{path/to/file_or_directory}} {{path/to/symlink}}` +`ln {{[-s|--symbolic]}} /{{path/to/file_or_directory}} {{path/to/symlink}}` - Overwrite an existing symbolic link to point to a different file: -`ln -sf {{path/to/new_file}} {{path/to/symlink}}` +`ln {{[-sf|--symbolic --force]}} /{{path/to/new_file}} {{path/to/symlink}}` - Create a hard link to a file: -`ln {{path/to/file}} {{path/to/hardlink}}` +`ln /{{path/to/file}} {{path/to/hardlink}}` diff --git a/pages/common/loadtest.md b/pages/common/loadtest.md new file mode 100644 index 00000000000000..f0dbf7916b4fff --- /dev/null +++ b/pages/common/loadtest.md @@ -0,0 +1,16 @@ +# loadtest + +> Run a load test on the selected HTTP or WebSockets URL. +> More information: . + +- Run with concurrent users and a specified amount of requests per second: + +`loadtest {{[-c|--concurrency]}} {{10}} {{[--rps|--requestsPerSecond]}} {{200}} {{https://example.com}}` + +- Run with a custom HTTP header: + +`loadtest --headers "{{accept:text/plain;text-html}}" {{https://example.com}}` + +- Run with a specific HTTP method: + +`loadtest {{[-m|--method]}} {{GET}} {{https://example.com}}` diff --git a/pages/common/loc.md b/pages/common/loc.md index ddecac5a3d52f9..654cf075020d3c 100644 --- a/pages/common/loc.md +++ b/pages/common/loc.md @@ -1,6 +1,6 @@ # loc -> Tool written in Rust that counts lines of code. +> Count lines of code. Written in Rust. > More information: . - Print lines of code in the current directory: @@ -17,4 +17,4 @@ - Print lines of code without .gitignore (etc.) files (e.g. two -u flags will additionally count hidden files and dirs): -`loc -u` +`loc {{[-u|--unrestricted]}}` diff --git a/pages/common/local.md b/pages/common/local.md new file mode 100644 index 00000000000000..4f15c413f84b5f --- /dev/null +++ b/pages/common/local.md @@ -0,0 +1,29 @@ +# local + +> Declare local variables and give them attributes. +> See also: `declare`, `export`. +> More information: . + +- Declare a string variable with the specified value: + +`local {{variable}}="{{value}}"` + +- Declare an integer variable with the specified value: + +`local -i {{variable}}="{{value}}"` + +- Declare an array variable with the specified value: + +`local {{variable}}=({{item_a item_b item_c}})` + +- Declare an associative array variable with the specified value: + +`local -A {{variable}}=({{[key_a]=item_a [key_b]=item_b [key_c]=item_c}})` + +- Declare a readonly variable with the specified value: + +`local -r {{variable}}="{{value}}"` + +- Display help: + +`local --help` diff --git a/pages/common/locust.md b/pages/common/locust.md index 0be82af7986743..0860db682f68ed 100644 --- a/pages/common/locust.md +++ b/pages/common/locust.md @@ -15,14 +15,14 @@ `locust --no-web --clients={{100}} --hatch-rate={{1}} --host={{http://example.com}}` -- Start locust in master mode: +- Start Locust in master mode: `locust --master --host={{http://example.com}}` -- Connect locust slave to master: +- Connect Locust slave to master: `locust --slave --host={{http://example.com}}` -- Connect locust slave to master on a different machine: +- Connect Locust slave to master on a different machine: `locust --slave --master-host={{master_hostname}} --host={{http://example.com}}` diff --git a/pages/common/loft.md b/pages/common/loft.md new file mode 100644 index 00000000000000..1ff754698d36bd --- /dev/null +++ b/pages/common/loft.md @@ -0,0 +1,36 @@ +# loft + +> Install and manage multi-tenant Kubernetes environments using virtual clusters. +> More information: . + +- Install or upgrade Loft in the current Kubernetes cluster: + +`loft start` + +- Authenticate to a remote Loft instance: + +`loft login {{https://loft.example.com}}` + +- Create a virtual cluster with a specific space and cluster: + +`loft create vcluster {{vcluster_name}} {{[-s|--space]}} {{space_name}} {{[-c|--cluster]}} {{cluster_name}}` + +- List all virtual clusters: + +`loft list vclusters` + +- Switch context to a specific virtual cluster: + +`loft use vcluster {{vcluster_name}}` + +- Delete a virtual cluster: + +`loft delete vcluster {{vcluster_name}}` + +- Show the current Loft username: + +`loft vars username` + +- Uninstall Loft from the cluster: + +`loft uninstall` diff --git a/pages/common/logger.md b/pages/common/logger.md new file mode 100644 index 00000000000000..8b58963caad795 --- /dev/null +++ b/pages/common/logger.md @@ -0,0 +1,8 @@ +# logger + +> Add messages to syslog. +> More information: . + +- Log a message to syslog: + +`logger {{message}}` diff --git a/pages/common/logname.md b/pages/common/logname.md index 64a0f6b1c2e70e..9e4e730029bf92 100644 --- a/pages/common/logname.md +++ b/pages/common/logname.md @@ -1,6 +1,7 @@ # logname > Shows the user's login name. +> More information: . - Display the currently logged in user's name: diff --git a/pages/common/logout.md b/pages/common/logout.md new file mode 100644 index 00000000000000..4b45c84bc36ac3 --- /dev/null +++ b/pages/common/logout.md @@ -0,0 +1,12 @@ +# logout + +> Exit a login shell. +> More information: . + +- Exit a login shell: + +`logout` + +- Exit a login shell and specify a return value: + +`logout {{exit_code}}` diff --git a/pages/common/logstash.md b/pages/common/logstash.md index ebd210af56bc41..fa2649c550237c 100644 --- a/pages/common/logstash.md +++ b/pages/common/logstash.md @@ -1,17 +1,17 @@ # logstash -> An ETL (extract, transform and load) tool. -> Commonly used to load data from various sources, like databases and log files, into elasticsearch. +> An Elasticsearch ETL (extract, transform and load) tool. +> Commonly used to load data from various sources (such as databases and log files) into Elasticsearch. > More information: . -- Check validity of a logstash configuration: +- Check validity of a Logstash configuration: `logstash --configtest --config {{logstash_config.conf}}` -- Run logstash using configuration: +- Run Logstash using configuration: `sudo logstash --config {{logstash_config.conf}}` -- Run logstash with the most basic inline configuration string: +- Run Logstash with the most basic inline configuration string: `sudo logstash -e 'input {} filter {} output {}'` diff --git a/pages/common/lolcat.md b/pages/common/lolcat.md index 9a858e41b11a0b..b8cb30d86b8f95 100644 --- a/pages/common/lolcat.md +++ b/pages/common/lolcat.md @@ -13,8 +13,8 @@ - Print a file to the console with animated rainbow colors: -`lolcat -a {{path/to/file}}` +`lolcat {{[-a|--animate]}} {{path/to/file}}` - Print a file to the console with 24-bit (truecolor) rainbow colors: -`lolcat -t {{path/to/file}}` +`lolcat {{[-t|--truecolor]}} {{path/to/file}}` diff --git a/pages/common/look.md b/pages/common/look.md new file mode 100644 index 00000000000000..d5d2b8d7395db7 --- /dev/null +++ b/pages/common/look.md @@ -0,0 +1,22 @@ +# look + +> Display lines beginning with a prefix in a sorted file. +> Note: The lines in the file must be sorted. +> See also: `grep`, `sort`. +> More information: . + +- Search for lines beginning with a specific prefix in a specific file: + +`look {{prefix}} {{path/to/file}}` + +- Case-insensitively search only on alphanumeric characters: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{path/to/file}}` + +- Specify a string termination character (space by default): + +`look {{[-t|--terminate]}} {{,}}` + +- Search in `/usr/share/dict/words` (`--alphanum` and `--ignore-case` are assumed): + +`look {{prefix}}` diff --git a/pages/common/lorem.md b/pages/common/lorem.md index 1e9527e342a4d5..05306c15932105 100644 --- a/pages/common/lorem.md +++ b/pages/common/lorem.md @@ -1,6 +1,7 @@ # lorem -> Create more or less random lorem ipsum text. +> Create some random Latin looking placeholder text. +> More information: . - Print the specified number of words: @@ -14,6 +15,6 @@ `lorem -s {{5}} --raven` -- Print 40 random characters from Boccacio's Decameron: +- Print 40 random characters from Boccaccio's Decameron: `lorem --randomize -c {{40}} --decamerone` diff --git a/pages/common/lp.md b/pages/common/lp.md index 137f2a4880f1c3..5d48727a04c7e3 100644 --- a/pages/common/lp.md +++ b/pages/common/lp.md @@ -1,6 +1,7 @@ # lp > Print files. +> More information: . - Print the output of a command to the default printer (see `lpstat` command): @@ -8,19 +9,19 @@ - Print a file to the default printer: -`lp {{path/to/filename}}` +`lp {{path/to/file}}` - Print a file to a named printer (see `lpstat` command): -`lp -d {{printer_name}} {{path/to/filename}}` +`lp -d {{printer_name}} {{path/to/file}}` -- Print N copies of file to default printer (replace N with desired number of copies): +- Print `n` copies of a file to the default printer: -`lp -n {{N}} {{path/to/filename}}` +`lp -n {{n}} {{path/to/file}}` - Print only certain pages to the default printer (print pages 1, 3-5, and 16): -`lp -P 1,3-5,16 {{path/to/filename}}` +`lp -P 1,3-5,16 {{path/to/file}}` - Resume printing a job: diff --git a/pages/common/lpadmin.md b/pages/common/lpadmin.md new file mode 100644 index 00000000000000..91c5fd4a35d8e0 --- /dev/null +++ b/pages/common/lpadmin.md @@ -0,0 +1,21 @@ +# lpadmin + +> Configure CUPS printers and classes. +> See also: `lpoptions`. +> More information: . + +- Set the default printer: + +`lpadmin -d {{printer}}` + +- Delete a specific printer or class: + +`lpadmin -x {{printer|class}}` + +- Add a printer to a class: + +`lpadmin -p {{printer}} -c {{class}}` + +- Remove a printer from a class: + +`lpadmin -p {{printer}} -r {{class}}` diff --git a/pages/common/lpass.md b/pages/common/lpass.md index f21af28158856d..788aeeefdf836f 100644 --- a/pages/common/lpass.md +++ b/pages/common/lpass.md @@ -1,9 +1,9 @@ # lpass -> Command line interface for the LastPass password manager. -> More information: . +> Interface for the LastPass password manager. +> More information: . -- Login to your LastPass account, by entering your master password when prompted: +- Log in to your LastPass account, by entering your master password when prompted: `lpass login {{username}}` @@ -15,7 +15,7 @@ `lpass ls` -- Generate a new password for "gmail.com" with identifier "myinbox" and add to LastPass: +- Generate a new password for gmail.com with the identifier `myinbox` and add to LastPass: `lpass generate --username {{username}} --url {{gmail.com}} {{myinbox}} {{password_length}}` diff --git a/pages/common/lpinfo.md b/pages/common/lpinfo.md new file mode 100644 index 00000000000000..c39bee841ea399 --- /dev/null +++ b/pages/common/lpinfo.md @@ -0,0 +1,16 @@ +# lpinfo + +> List connected printers and installed drivers for the CUPS print server. +> More information: . + +- List all the currently connected printers: + +`lpinfo -v` + +- List all the currently installed printer drivers: + +`lpinfo -m` + +- Search installed printer drivers by make and model: + +`lpinfo --make-and-model "{{printer_model}}" -m` diff --git a/pages/common/lpmove.md b/pages/common/lpmove.md new file mode 100644 index 00000000000000..fa5aa31a21c3e2 --- /dev/null +++ b/pages/common/lpmove.md @@ -0,0 +1,21 @@ +# lpmove + +> Move a job or all jobs to another printer. +> See also: `cancel`, `lp`, `lpr`, `lprm`. +> More information: . + +- Move a specific job to `new_printer`: + +`lpmove {{job_id}} {{new_printer}}` + +- Move a job from `old_printer` to `new_printer`: + +`lpmove {{old_printer}}-{{job_id}} {{new_printer}}` + +- Move all jobs from `old_printer` to `new_printer`: + +`lpmove {{old_printer}} {{new_printer}}` + +- Move a specific job to `new_printer` on a specific server: + +`lpmove -h {{server}} {{job_id}} {{new_printer}}` diff --git a/pages/common/lpoptions.md b/pages/common/lpoptions.md new file mode 100644 index 00000000000000..4c0ce4efcbfc9a --- /dev/null +++ b/pages/common/lpoptions.md @@ -0,0 +1,21 @@ +# lpoptions + +> Display or set printer options and defaults. +> See also: `lpadmin`. +> More information: . + +- Set the default printer: + +`lpoptions -d {{printer}}/{{instance}}` + +- List printer-specific options of a specific printer: + +`lpoptions -d {{printer}} -l` + +- Set a new option on a specific printer: + +`lpoptions -d {{printer}} -o {{option}}` + +- Remove the options of a specific printer: + +`lpoptions -d {{printer}} -x` diff --git a/pages/common/lpq.md b/pages/common/lpq.md new file mode 100644 index 00000000000000..005feab71c4821 --- /dev/null +++ b/pages/common/lpq.md @@ -0,0 +1,24 @@ +# lpq + +> Show printer queue status. +> More information: . + +- Show the queued jobs of the default destination: + +`lpq` + +- Show the queued jobs of all printers enforcing encryption: + +`lpq -a -E` + +- Show the queued jobs in a long format: + +`lpq -l` + +- Show the queued jobs of a specific printer or class: + +`lpq -P {{destination}}/{{instance}}` + +- Show the queued jobs once every n seconds until the queue is empty: + +`lpq +{{interval}}` diff --git a/pages/common/lpr.md b/pages/common/lpr.md index 4aa47fe81480cc..f623ccbdd59c10 100644 --- a/pages/common/lpr.md +++ b/pages/common/lpr.md @@ -1,8 +1,8 @@ # lpr -> CUPS tool for printing files. -> See also `lpstat` and `lpadmin` for listing and configuring printers. -> More information: . +> Print files. +> See also: `lpstat`, `lpadmin`. +> More information: . - Print a file to the default printer: @@ -16,13 +16,13 @@ `lpr -P {{printer}} {{path/to/file}}` -- Print either a single page (e.g. 2) or a range of pages (e.g. 2–16): +- Print either a single page (e.g. 2) or a range of pages (e.g. 2-16): `lpr -o page-ranges={{2|2-16}} {{path/to/file}}` -- Print double sided either in portrait (long) or in landscape (short): +- Print double-sided either in portrait (long) or in landscape (short): -`lpr -o sides={{two_sided_long_edge|two_sided_short_edge}} {{path/to/file}}` +`lpr -o sides={{two-sided-long-edge|two-sided-short-edge}} {{path/to/file}}` - Set page size (more options may be available depending on setup): diff --git a/pages/common/lprm.md b/pages/common/lprm.md new file mode 100644 index 00000000000000..1177dbd88051cf --- /dev/null +++ b/pages/common/lprm.md @@ -0,0 +1,29 @@ +# lprm + +> Cancel queued print jobs of a server. +> See also: `lpq`. +> More information: . + +- Cancel current job on the default printer: + +`lprm` + +- Cancel a job of a specific server: + +`lprm -h {{server}} {{job_id}}` + +- Cancel a job of a specific server in a specific port: + +`lprm -h {{server}}:{{port}} {{job_id}}` + +- Cancel multiple jobs with a encrypted connection to the server: + +`lprm -E {{job_id1 job_id2 ...}}` + +- Cancel all jobs: + +`lprm -` + +- Cancel the current job of a specific printer or class: + +`lprm -P {{destination}}/{{instance}}` diff --git a/pages/common/lpstat.md b/pages/common/lpstat.md index d0983b625fa4f4..c6d2de20cb588d 100644 --- a/pages/common/lpstat.md +++ b/pages/common/lpstat.md @@ -1,6 +1,7 @@ # lpstat > Show status information about printers. +> More information: . - List printers present on the machine and whether they are enabled for printing: @@ -14,6 +15,6 @@ `lpstat -t` -- Show a list of print jobs queued by the specified user: +- List print jobs queued by a specific user: `lpstat -u {{user}}` diff --git a/pages/common/ls.md b/pages/common/ls.md index f979ac84644be0..5b950d6ee6f073 100644 --- a/pages/common/ls.md +++ b/pages/common/ls.md @@ -1,6 +1,7 @@ # ls > List directory contents. +> More information: . - List files one per line: @@ -8,24 +9,28 @@ - List all files, including hidden files: -`ls -a` +`ls {{[-a|--all]}}` -- List all files, with trailing `/` added to directory names: +- List files with a trailing symbol to indicate file type (directory/, symbolic_link@, executable*, ...): -`ls -F` +`ls {{[-F|--classify]}}` -- Long format list (permissions, ownership, size and modification date) of all files: +- List all files in [l]ong format (permissions, ownership, size, and modification date): -`ls -la` +`ls {{[-la|-l --all]}}` -- Long format list with size displayed using human readable units (KB, MB, GB): +- List files in [l]ong format with size displayed using human-readable units (KiB, MiB, GiB): -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` -- Long format list sorted by size (descending): +- List files in [l]ong format, sorted by [S]ize (descending) recursively: -`ls -lS` +`ls {{[-lSR|-lS --recursive]}}` -- Long format list of all files, sorted by modification date (oldest first): +- List files in [l]ong format, sorted by [t]ime the file was modified and in reverse order (oldest first): -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` + +- Only list directories: + +`ls {{[-d|--directory]}} */` diff --git a/pages/common/lsar.md b/pages/common/lsar.md new file mode 100644 index 00000000000000..1d5b981e854d0a --- /dev/null +++ b/pages/common/lsar.md @@ -0,0 +1,29 @@ +# lsar + +> List an archive file's contents. +> See also: `unar`, `ar`. +> More information: . + +- List an archive file's contents: + +`lsar {{path/to/archive}}` + +- List a password protected archive file's contents: + +`lsar {{path/to/archive}} {{[-p|--password]}} {{password}}` + +- Print all available information about each file in the archive (it's very long): + +`lsar {{[-L|--verylong]}} {{path/to/archive}}` + +- Test the integrity of the files in the archive (if possible): + +`lsar {{[-t|--test]}} {{path/to/archive}}` + +- List the archive file's contents in JSON format: + +`lsar {{[-j|--json]}} {{path/to/archive}}` + +- Display help: + +`lsar {{[-h|--help]}}` diff --git a/pages/common/lsd.md b/pages/common/lsd.md new file mode 100644 index 00000000000000..65f46e88e857d3 --- /dev/null +++ b/pages/common/lsd.md @@ -0,0 +1,37 @@ +# lsd + +> List directory contents. +> The next generation `ls` command, written in Rust. +> More information: . + +- List files and directories, one per line: + +`lsd {{[-1|--oneline]}}` + +- List all files and directories, including hidden ones, in the current directory: + +`lsd {{[-a|--all]}}` + +- List files and directories with trailing `/` added to directory names: + +`lsd {{[-F|--classify]}}` + +- List all files and directories in long format (permissions, ownership, size in human-readable format, and modification date): + +`lsd {{[-lha|--long --human-readable --all]}}` + +- List files and directories in long format, sorted by size (descending): + +`lsd {{[-lS|--long --sizesort]}}` + +- List files and directories in long format, sorted by modification date (oldest first): + +`lsd {{[-ltr|--long --timesort --reverse]}}` + +- Only list directories: + +`lsd {{[-d|--directory-only]}} {{*/}}` + +- Recursively list all directories in a tree format: + +`lsd --tree {{[-d|--directory-only]}}` diff --git a/pages/common/lsix.md b/pages/common/lsix.md new file mode 100644 index 00000000000000..7e9f315d35a6d3 --- /dev/null +++ b/pages/common/lsix.md @@ -0,0 +1,17 @@ +# lsix + +> List and display images in sixel format on the terminal. +> See also: `img2sixel`. +> More information: . + +- List images in the current directory: + +`lsix` + +- List images in a specific directory: + +`lsix {{path/to/directory}}` + +- Display an image on the terminal: + +`lsix {{path/to/image}}` diff --git a/pages/common/lsof.md b/pages/common/lsof.md index 0eb10cf7f4acb2..c279fecb01c38d 100644 --- a/pages/common/lsof.md +++ b/pages/common/lsof.md @@ -1,7 +1,8 @@ # lsof -> Lists open files and the corresponding processes. -> Note: Root privileges (or sudo) is required to list files opened by others. +> List open files and the corresponding processes. +> Note: Root privileges are required to list files opened by others. +> More information: . - Find the processes that have a given file open: @@ -31,6 +32,6 @@ `lsof +D {{path/to/directory}}` -- Find the process that is listening on a local TCP port: +- Find the process that is listening on a local IPv6 TCP port and don't convert network or port numbers: -`lsof -iTCP:{{port}} -sTCP:LISTEN` +`lsof -i6TCP:{{port}} -sTCP:LISTEN -n -P` diff --git a/pages/common/lspath.md b/pages/common/lspath.md new file mode 100644 index 00000000000000..71abeff1606f7d --- /dev/null +++ b/pages/common/lspath.md @@ -0,0 +1,12 @@ +# lspath + +> List the contents of the `PATH` environment variable, with optional paging. +> More information: . + +- Print the contents of the system `PATH` variable, with one element per line: + +`lspath` + +- Print the current contents of the system `PATH` variable, with one element per line, with the output paged: + +`lspath --page` diff --git a/pages/common/lstopo.md b/pages/common/lstopo.md new file mode 100644 index 00000000000000..423456445e12d6 --- /dev/null +++ b/pages/common/lstopo.md @@ -0,0 +1,24 @@ +# lstopo + +> Show the hardware topology of the system. +> More information: . + +- Show the summarized system topology in a graphical window (or print to console if no graphical display is available): + +`lstopo` + +- Show the full system topology without summarizations: + +`lstopo --no-factorize` + +- Show the summarized system topology with only physical indices (i.e. as seen by the OS): + +`lstopo {{[-p|--physical]}}` + +- Write the full system topology to a file in the specified format: + +`lstopo --no-factorize {{[--of|--output-format]}} {{console|ascii|tex|fig|svg|pdf|ps|png|xml}} {{path/to/file}}` + +- Output in monochrome or greyscale: + +`lstopo --palette {{none|grey}}` diff --git a/pages/common/lsyncd.md b/pages/common/lsyncd.md new file mode 100644 index 00000000000000..428e7fa52007fe --- /dev/null +++ b/pages/common/lsyncd.md @@ -0,0 +1,13 @@ +# lsyncd + +> Watch files and directories and run `rsync` when they change. +> It is often used to keep two directories on separate systems in sync, ensuring that changes made in one directory are immediately mirrored to the other. +> More information: . + +- Watch the source for changes and run `rsync` to synchronize files to the destination on every change: + +`lsyncd -rsync {{path/to/source}} {{host::share_name}}` + +- Use SSH instead of `rsyncd` shares: + +`lsyncd -rsyncssh {{path/to/source}} {{host}} {{path/to/destination}}` diff --git a/pages/common/lt.md b/pages/common/lt.md index c25b607c78e3c4..bfafc4299b0a48 100644 --- a/pages/common/lt.md +++ b/pages/common/lt.md @@ -5,20 +5,20 @@ - Start tunnel from a specific port: -`lt --port {{8000}}` +`lt {{[-p|--port]}} {{8000}}` - Specify the upstream server doing the forwarding: -`lt --port {{8000}} --host {{host}}` +`lt {{[-p|--port]}} {{8000}} {{[-h|--host]}} {{host}}` - Request a specific subdomain: -`lt --port {{8000}} --subdomain {{subdomain}}` +`lt {{[-p|--port]}} {{8000}} {{[-s|--subdomain]}} {{subdomain}}` - Print basic request info: -`lt --port {{8000}} --print-requests` +`lt {{[-p|--port]}} {{8000}} --print-requests` - Open the tunnel URL in the default web browser: -`lt --port {{8000}} --open` +`lt {{[-p|--port]}} {{8000}} {{[-o|--open]}}` diff --git a/pages/common/lua.md b/pages/common/lua.md index e3001e060cb606..cad39898d17425 100644 --- a/pages/common/lua.md +++ b/pages/common/lua.md @@ -1,7 +1,7 @@ # lua > A powerful, light-weight embeddable programming language. -> More information: . +> More information: . - Start an interactive Lua shell: @@ -9,8 +9,8 @@ - Execute a Lua script: -`lua {{script_name.lua}} {{--optional-argument}}` +`lua {{path/to/script.lua}} {{--optional-argument}}` - Execute a Lua expression: -`lua -e '{{print( "Hello World" )}}` +`lua -e '{{print("Hello World")}}'` diff --git a/pages/common/luac.md b/pages/common/luac.md index 7772262f3c03b6..14d56238412c9c 100644 --- a/pages/common/luac.md +++ b/pages/common/luac.md @@ -1,7 +1,7 @@ # luac > Lua bytecode compiler. -> More information: . +> More information: . - Compile a Lua source file to Lua bytecode: diff --git a/pages/common/luajit.md b/pages/common/luajit.md new file mode 100644 index 00000000000000..8c3f33ddf30089 --- /dev/null +++ b/pages/common/luajit.md @@ -0,0 +1,17 @@ +# luajit + +> A just-in-time compiler (JIT) for the Lua programming language. +> See also: `lua`. +> More information: . + +- Start an interactive Lua shell: + +`luajit` + +- Execute a Lua script: + +`luajit {{path/to/script.lua}} {{--optional-argument}}` + +- Execute a Lua expression: + +`luajit -e '{{print("Hello World")}}'` diff --git a/pages/common/lualatex.md b/pages/common/lualatex.md new file mode 100644 index 00000000000000..e26d2dc77a02c2 --- /dev/null +++ b/pages/common/lualatex.md @@ -0,0 +1,20 @@ +# lualatex + +> An extended version of TeX using Lua to compile. +> More information: . + +- Start `texlua` to act as a Lua interpreter: + +`lualatex` + +- Compile a Tex file to PDF: + +`lualatex {{path/to/file.tex}}` + +- Compile a Tex file without error interruption: + +`lualatex -interaction nonstopmode {{path/to/file.tex}}` + +- Compile a Tex file with a specific output file name: + +`lualatex -jobname={{filename}} {{path/to/file.tex}}` diff --git a/pages/common/ludusavi.md b/pages/common/ludusavi.md new file mode 100644 index 00000000000000..ccee950eea7d01 --- /dev/null +++ b/pages/common/ludusavi.md @@ -0,0 +1,24 @@ +# ludusavi + +> Backup video game save data. +> More information: . + +- Backup games: + +`ludusavi backup --path {{path/to/backup}}` + +- Restore games: + +`ludusavi restore --path {{path/to/backup}} {{"game1" "game2" ...}}` + +- List backups: + +`ludusavi backups --path {{path/to/backup}}` + +- Wrap launcher game: + +`ludusavi wrap --gui --infer {{heroic|lutris|steam}} -- {{game_launch_commands}}` + +- Wrap standalone game: + +`ludusavi wrap --gui --name {{name}} -- {{game_launch_commands}}` diff --git a/pages/common/lumen.md b/pages/common/lumen.md index 5a5186bb5d9093..4c199fcdd5e7a2 100644 --- a/pages/common/lumen.md +++ b/pages/common/lumen.md @@ -1,6 +1,6 @@ # lumen -> A command line installer for the Lumen micro-framework. +> An installer for the Lumen micro-framework. > More information: . - Create a new Lumen application: diff --git a/pages/common/lwp-request.md b/pages/common/lwp-request.md index 3e0dc8dc041b54..d1d5922a3ad9ae 100644 --- a/pages/common/lwp-request.md +++ b/pages/common/lwp-request.md @@ -1,6 +1,6 @@ # lwp-request -> Simple command-line HTTP client. +> Simple HTTP client. > Built with libwww-perl. > More information: . diff --git a/pages/common/lychee.md b/pages/common/lychee.md new file mode 100644 index 00000000000000..529a0cb6cdbb2a --- /dev/null +++ b/pages/common/lychee.md @@ -0,0 +1,24 @@ +# lychee + +> Find broken URLs. +> More information: . + +- Scan a website for broken links: + +`lychee {{https://example.com}}` + +- Display a breakdown of error types: + +`lychee --format detailed {{https://example.com}}` + +- Limit the amount of connections to prevent DDOS protection: + +`lychee --max-concurrency {{5}} {{links.txt}}` + +- Check files in a directory structure for any broken URLs: + +`grep {{[-r|--recursive]}} "{{pattern}}" | lychee -` + +- Display help: + +`lychee --help` diff --git a/pages/common/lynx.md b/pages/common/lynx.md index ba915726f99c84..d3c45741c6d590 100644 --- a/pages/common/lynx.md +++ b/pages/common/lynx.md @@ -25,12 +25,12 @@ - Navigate forwards and backwards through the links on a page: -`Up arrow key, Down arrow key` +`{{|}}` - Go back to the previously displayed page: -`Left arrow key or u` +`{{|}}` - Exit: -`q then y` +`` diff --git a/pages/common/lz4.md b/pages/common/lz4.md index bf25352048f650..07164a098f051e 100644 --- a/pages/common/lz4.md +++ b/pages/common/lz4.md @@ -5,15 +5,15 @@ - Compress a file: -`lz4 {{file}}` +`lz4 {{path/to/file}}` - Decompress a file: -`lz4 -d {{file.lz4}}` +`lz4 {{[-d|--decompress]}} {{file.lz4}}` - Decompress a file and write to `stdout`: -`lz4 -dc {{file.lz4}}` +`lz4 {{[-dc|--decompress --stdout]}} {{file.lz4}}` - Package and compress a directory and its contents: @@ -21,8 +21,8 @@ - Decompress and unpack a directory and its contents: -`lz4 -d {{dir.tar.lz4}} | tar -xv` +`lz4 {{[-dc|--decompress --stdout]}} {{dir.tar.lz4}} | tar -xv` - Compress a file using the best compression: -`lz4 -9 {{file}}` +`lz4 {{[-12|--best]}} {{path/to/file}}` diff --git a/pages/common/lzcat.md b/pages/common/lzcat.md new file mode 100644 index 00000000000000..d1302fc9fe26d7 --- /dev/null +++ b/pages/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> This command is an alias of `xz --format=lzma --decompress --stdout`. + +- View documentation for the original command: + +`tldr xz` diff --git a/pages/common/lzcmp.md b/pages/common/lzcmp.md new file mode 100644 index 00000000000000..d6d948a40da4b8 --- /dev/null +++ b/pages/common/lzcmp.md @@ -0,0 +1,7 @@ +# lzcmp + +> This command is an alias of `xzcmp`. + +- View documentation for the original command: + +`tldr xzcmp` diff --git a/pages/common/lzegrep.md b/pages/common/lzegrep.md new file mode 100644 index 00000000000000..4110d47c330979 --- /dev/null +++ b/pages/common/lzegrep.md @@ -0,0 +1,8 @@ +# lzegrep + +> This command is an alias of `xzgrep --extended-regexp`. +> See also: `egrep`. + +- View documentation for the original command: + +`tldr xzgrep` diff --git a/pages/common/lzfgrep.md b/pages/common/lzfgrep.md new file mode 100644 index 00000000000000..c33ceb576f40b0 --- /dev/null +++ b/pages/common/lzfgrep.md @@ -0,0 +1,8 @@ +# lzfgrep + +> This command is an alias of `xzgrep --fixed-strings`. +> See also: `fgrep`. + +- View documentation for the original command: + +`tldr xzgrep` diff --git a/pages/common/lzgrep.md b/pages/common/lzgrep.md new file mode 100644 index 00000000000000..2476088d8ebeb9 --- /dev/null +++ b/pages/common/lzgrep.md @@ -0,0 +1,7 @@ +# lzgrep + +> This command is an alias of `xzgrep`. + +- View documentation for the original command: + +`tldr xzgrep` diff --git a/pages/common/lzip.md b/pages/common/lzip.md new file mode 100644 index 00000000000000..5b88feca036c5c --- /dev/null +++ b/pages/common/lzip.md @@ -0,0 +1,37 @@ +# lzip + +> A lossless data compressor with a user interface similar to `gzip` or `bzip2`. +> Lzip uses a simplified form of the "Lempel-Ziv-Markovchain-Algorithm" (LZMA) stream format and provides 3-factor integrity checking to maximize interoperability and optimize safety. +> More information: . + +- Archive a file, replacing it with with a compressed version: + +`lzip {{path/to/file}}` + +- Archive a file, keeping the input file: + +`lzip {{[-k|--keep]}} {{path/to/file}}` + +- Archive a file with the best compression (level=9): + +`lzip {{[-k|--keep]}} {{path/to/file}} --best` + +- Archive a file at the fastest speed (level=0): + +`lzip {{[-k|--keep]}} {{path/to/file}} --fast` + +- Test the integrity of compressed file: + +`lzip {{[-t|--test]}} {{path/to/archive.lz}}` + +- Decompress a file, replacing it with the original uncompressed version: + +`lzip {{[-d|--decompress]}} {{path/to/archive.lz}}` + +- Decompress a file, keeping the archive: + +`lzip {{[-d|--decompress]}} {{[-k|--keep]}} {{path/to/archive.lz}}` + +- List files which are in an archive and show compression stats: + +`lzip {{[-l|--list]}} {{path/to/archive.lz}}` diff --git a/pages/common/lzless.md b/pages/common/lzless.md new file mode 100644 index 00000000000000..21adf53fd9daa7 --- /dev/null +++ b/pages/common/lzless.md @@ -0,0 +1,7 @@ +# lzless + +> This command is an alias of `xzless`. + +- View documentation for the original command: + +`tldr xzless` diff --git a/pages/common/lzma.md b/pages/common/lzma.md new file mode 100644 index 00000000000000..ce5ff804cbf92f --- /dev/null +++ b/pages/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> This command is an alias of `xz --format=lzma`. + +- View documentation for the original command: + +`tldr xz` diff --git a/pages/common/lzmore.md b/pages/common/lzmore.md new file mode 100644 index 00000000000000..42a2aedbffd160 --- /dev/null +++ b/pages/common/lzmore.md @@ -0,0 +1,7 @@ +# lzmore + +> This command is an alias of `xzmore`. + +- View documentation for the original command: + +`tldr xzmore` diff --git a/pages/common/lzop.md b/pages/common/lzop.md index aaa0f37a8402c0..0b4955182c076d 100644 --- a/pages/common/lzop.md +++ b/pages/common/lzop.md @@ -1,16 +1,24 @@ # lzop > Compress or decompress files with LZO compression. -> More information: . +> More information: . -- Compress a file into a new file with the .lzo suffix: +- Compress a file into a new file with the `.lzo` suffix: -`lzop {{file}}` +`lzop {{path/to/file}}` - Decompress a file: -`lzop -d {{file}}.lzo` +`lzop {{[-d|--decompress]}} {{path/to/file.lzo}}` - Compress a file, while specifying the compression level. 0 = Worst, 9 = Best (Default level is 3): -`lzop -{{level}} {{file}}` +`lzop -{{level}} {{path/to/file}}` + +- Compress a file with the best compression level: + +`lzop {{[-9|--best]}} {{path/to/file}}` + +- Compress a file with the fastest compression level: + +`lzop {{[-1|--fast]}} {{path/to/file}}` diff --git a/pages/common/m4.md b/pages/common/m4.md index 9d8c1b314ba729..04d3994b1c64c8 100644 --- a/pages/common/m4.md +++ b/pages/common/m4.md @@ -1,7 +1,7 @@ # m4 > Macro processor. -> More information: . +> More information: . - Process macros in a file: @@ -9,4 +9,4 @@ - Define a macro before processing files: -`m4 -D{{macro_name}}={{macro_value}} {{path/to/file}}` +`m4 {{[-D|--define]}} {{macro_name}}={{macro_value}} {{path/to/file}}` diff --git a/pages/common/m4b-tool.md b/pages/common/m4b-tool.md new file mode 100644 index 00000000000000..4166ca6617ddb8 --- /dev/null +++ b/pages/common/m4b-tool.md @@ -0,0 +1,12 @@ +# m4b-tool + +> Merge, split, and manipulate audiobook files with chapters. +> More information: . + +- Create an audiobook with the audio files in the input directory: + +`m4b-tool merge {{path/to/input_directory}} --output-file={{path/to/merged.m4b}}` + +- Make chapters using the input files' names: + +`m4b-tool merge {{path/to/input_directory}} --output-file={{path/to/merged.m4b}} --use-filenames-as-chapters` diff --git a/pages/common/macchina.md b/pages/common/macchina.md new file mode 100644 index 00000000000000..22cd74a873cf08 --- /dev/null +++ b/pages/common/macchina.md @@ -0,0 +1,24 @@ +# macchina + +> Display information about your computer. +> More information: . + +- List out system information, with either default settings or those specified in your configuration file: + +`macchina` + +- Specify a custom configuration file path: + +`macchina --config {{path/to/configuration_file}}` + +- List system information, but lengthen uptime, shell and kernel output: + +`macchina --long-uptime --long-shell --long-kernel` + +- Check for any errors/system failures encountered when trying to fetch system information: + +`macchina --doctor` + +- List original artists of all the ASCII art: + +`macchina --ascii-artists` diff --git a/pages/common/macptopbm.md b/pages/common/macptopbm.md new file mode 100644 index 00000000000000..cd70d7815ce3ef --- /dev/null +++ b/pages/common/macptopbm.md @@ -0,0 +1,21 @@ +# macptopbm + +> Read a MacPaint file as input and produce a PBM image as output. +> See also: `pbmtomacp`. +> More information: . + +- Convert a MacPaint file into a PGM image: + +`macptopbm {{path/to/file.macp}} > {{path/to/output.pbm}}` + +- Skip over `n` bytes when reading the file: + +`macptopbm {{[-e|-extraskip]}} {{n}} > {{path/to/output.pbm}}` + +- Suppress all informational messages: + +`macptopbm {{[-q|-quiet]}} > {{path/to/output.pbm}}` + +- Display version: + +`macptopbm {{[-v|-version]}}` diff --git a/pages/common/maestral.md b/pages/common/maestral.md new file mode 100644 index 00000000000000..c0c7ebae6e52af --- /dev/null +++ b/pages/common/maestral.md @@ -0,0 +1,24 @@ +# maestral + +> A lightweight Dropbox client for macOS and Linux. +> More information: . + +- Start the GUI: + +`maestral gui` + +- Print current status of Maestral: + +`maestral status` + +- Pause syncing: + +`maestral pause` + +- Resume syncing: + +`maestral resume` + +- Print sync status of a specific file or folder: + +`maestral filestatus {{path/to/file_or_directory}}` diff --git a/pages/common/magento.md b/pages/common/magento.md index 02dd6297e7a9e2..7f7af39295b2c3 100644 --- a/pages/common/magento.md +++ b/pages/common/magento.md @@ -1,15 +1,15 @@ # magento -> A CLI for managing the Magento PHP framework. -> More information: . +> Manage the Magento PHP framework. +> More information: . -- Enable one or more space-separated modules: +- Enable one or more modules: -`magento module:enable {{module(s)}}` +`magento module:enable {{module1 module2 ...}}` -- Disable one or more space-separated modules: +- Disable one or more modules: -`magento module:disable {{module(s)}}` +`magento module:disable {{module1 module2 ...}}` - Update the database after enabling modules: diff --git a/pages/common/magick-compare.md b/pages/common/magick-compare.md new file mode 100644 index 00000000000000..2b8f22238f6f09 --- /dev/null +++ b/pages/common/magick-compare.md @@ -0,0 +1,13 @@ +# magick compare + +> Create a comparison image to visually annotate the difference between two images. +> See also: `magick`. +> More information: . + +- Compare two images: + +`magick compare {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}` + +- Compare two images using the specified metric: + +`magick compare -verbose -metric {{PSNR}} {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}` diff --git a/pages/common/magick-convert.md b/pages/common/magick-convert.md new file mode 100644 index 00000000000000..d6c697e9a0ec1f --- /dev/null +++ b/pages/common/magick-convert.md @@ -0,0 +1,37 @@ +# magick convert + +> Convert between image formats, scale, join, and create images, and much more. +> Note: This tool (previously `convert`) has been replaced by `magick` in ImageMagick 7+. +> More information: . + +- Convert an image from JPEG to PNG: + +`magick convert {{path/to/input_image.jpg}} {{path/to/output_image.png}}` + +- Scale an image to 50% of its original size: + +`magick convert {{path/to/input_image.png}} -resize 50% {{path/to/output_image.png}}` + +- Scale an image keeping the original aspect ratio to a maximum dimension of 640x480: + +`magick convert {{path/to/input_image.png}} -resize 640x480 {{path/to/output_image.png}}` + +- Scale an image to have a specified file size: + +`magick convert {{path/to/input_image.png}} -define jpeg:extent=512kb {{path/to/output_image.jpg}}` + +- Vertically/horizontally append images and have the empty space be transparent: + +`magick convert -background none {{path/to/image1.png path/to/image2.png ...}} {{-append|+append}} {{path/to/output_image.png}}` + +- Create a GIF from a series of images with 100ms delay between them: + +`magick convert {{path/to/image1.png path/to/image2.png ...}} -delay {{10}} {{path/to/animation.gif}}` + +- Create an image with nothing but a solid red background: + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{path/to/image.png}}` + +- Create a favicon from several images of different sizes: + +`magick convert {{path/to/image1.png path/to/image2.png ...}} {{path/to/favicon.ico}}` diff --git a/pages/common/magick-identify.md b/pages/common/magick-identify.md new file mode 100644 index 00000000000000..f9cd7aadc4246d --- /dev/null +++ b/pages/common/magick-identify.md @@ -0,0 +1,17 @@ +# magick identify + +> Describe the format and characteristics of image files. +> See also: `magick`. +> More information: . + +- Describe the format and basic characteristics of an image: + +`magick identify {{path/to/image}}` + +- Describe the format and verbose characteristics of an image: + +`magick identify -verbose {{path/to/image}}` + +- Collect dimensions of all JPEG files in the current directory and save them into a CSV file: + +`magick identify -format "{{%f,%w,%h\n}}" {{*.jpg}} > {{path/to/filelist.csv}}` diff --git a/pages/common/magick-import.md b/pages/common/magick-import.md new file mode 100644 index 00000000000000..6ad245c1de2900 --- /dev/null +++ b/pages/common/magick-import.md @@ -0,0 +1,17 @@ +# magick import + +> Capture some or all of an X server screen and save the image to a file. +> See also: `magick`. +> More information: . + +- Capture the entire X server screen into a PostScript file: + +`magick import -window root {{path/to/output.ps}}` + +- Capture contents of a remote X server screen into a PNG image: + +`magick import -window root -display {{remote_host}}:{{screen}}.{{display}} {{path/to/output.png}}` + +- Capture a specific window given its ID as displayed by `xwininfo` into a JPEG image: + +`magick import -window {{window_id}} {{path/to/output.jpg}}` diff --git a/pages/common/magick-mogrify.md b/pages/common/magick-mogrify.md new file mode 100644 index 00000000000000..197595acc0b701 --- /dev/null +++ b/pages/common/magick-mogrify.md @@ -0,0 +1,34 @@ +# magick mogrify + +> Perform operations on multiple images, such as resizing, cropping, flipping, and adding effects. +> Changes are applied directly to the original file. +> See also: `magick`. +> More information: . + +- Resize all JPEG images in the directory to 50% of their initial size: + +`magick mogrify -resize {{50%}} {{*.jpg}}` + +- Resize all images starting with `DSC` to 800x600: + +`magick mogrify -resize {{800x600}} {{DSC*}}` + +- Convert all PNGs in the directory to JPEG: + +`magick mogrify -format {{jpg}} {{*.png}}` + +- Halve the saturation of all image files in the current directory: + +`magick mogrify -modulate {{100,50}} {{*}}` + +- Double the brightness of all image files in the current directory: + +`magick mogrify -modulate {{200}} {{*}}` + +- Reduce file sizes of all GIF images in the current directory by reducing quality: + +`magick mogrify -layers 'optimize' -fuzz {{7%}} {{*.gif}}` + +- Display help: + +`magick mogrify -help` diff --git a/pages/common/magick-montage.md b/pages/common/magick-montage.md new file mode 100644 index 00000000000000..9941a63dabd305 --- /dev/null +++ b/pages/common/magick-montage.md @@ -0,0 +1,25 @@ +# magick montage + +> Tile images into a customizable grid. +> See also: `magick`. +> More information: . + +- Tile images into a grid, automatically resizing images larger than the grid cell size: + +`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} {{path/to/montage.jpg}}` + +- Tile images into a grid, automatically calculating the grid cell size from the largest image: + +`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} {{path/to/montage.jpg}}` + +- Specify the grid cell size and resize images to fit it before tiling: + +`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{640x480+0+0}} {{path/to/montage.jpg}}` + +- Limit the number of rows and columns in the grid, causing input images to overflow into multiple output montages: + +`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} -tile {{2x3}} {{montage_%d.jpg}}` + +- Resize and crop images to fill their grid cells before tiling: + +`magick montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} -resize {{640x480^}} -gravity {{center}} -crop {{640x480+0+0}} {{path/to/montage.jpg}}` diff --git a/pages/common/magick.md b/pages/common/magick.md index 06702e0728fe0a..c4951e70ca6a1a 100644 --- a/pages/common/magick.md +++ b/pages/common/magick.md @@ -1,25 +1,30 @@ # magick -> Create, edit, compose, or convert bitmap images. -> ImageMagick version 7+. See `convert` for versions 6 and below. -> More information: . +> Create, edit, compose, or convert between image formats. +> This tool replaces `convert` in ImageMagick 7+. See `magick convert` to use the old tool in versions 7+. +> Some subcommands, such as `mogrify` have their own usage documentation. +> More information: . -- Convert file type: +- Convert between image formats: -`magick {{image.png}} {{image.jpg}}` +`magick {{path/to/input_image.png}} {{path/to/output_image.jpg}}` - Resize an image, making a new copy: -`magick convert -resize {{100x100}} {{image.jpg}} {{image.jpg}}` +`magick {{path/to/input_image.jpg}} -resize {{100x100}} {{path/to/output_image.jpg}}` -- Create a GIF using images: +- Resize an image by a percentage: -`magick {{*.jpg}} {{images.gif}}` +`magick {{path/to/input_image.png}} -resize {{50}}% {{path/to/output_image.png}}` -- Create checkerboard pattern: +- Create a GIF out of all JPEG images in the current directory: -`magick -size {{640x480}} pattern:checkerboard {{checkerboard.png}}` +`magick {{*.jpg}} {{path/to/images.gif}}` -- Convert images to individual PDF pages: +- Create a checkerboard pattern: -`magick {{*.jpg}} +adjoin {{page-%d.pdf}}` +`magick -size {{640x480}} pattern:checkerboard {{path/to/checkerboard.png}}` + +- Create a PDF file out of all JPEG images in the current directory: + +`magick {{*.jpg}} -adjoin {{path/to/file.pdf}}` diff --git a/pages/common/mail.md b/pages/common/mail.md index 18ab72c8935456..5ae0a671c9c32d 100644 --- a/pages/common/mail.md +++ b/pages/common/mail.md @@ -1,16 +1,25 @@ # mail -> The command operates on the user's mailbox if no argument is given. -> To send an email the message body is built from standard input. +> Operate on the user's mailbox. +> To send an email the message body is built from `stdin`. +> More information: . -- Send a typed email message. The command line below continues after pressing Enter key. Input CC email-id (optional) press Enter key. Input message text (can be multi-line). Press "Ctrl-D" key to complete the message text: +- Open an interactive prompt to check personal mail: -`mail --subject="{{subject line}}" {{to_user@example.com}}` +`mail` + +- Send a typed email message with optional CC. The command-line below continues after pressing ``. Input message text (can be multiline). Press `` to complete the message text: + +`mail --subject "{{subject line}}" {{to_user@example.com}} --cc "{{cc_email_address}}"` - Send an email that contains file content: -`mail --subject="{{$HOSTNAME filename.txt}}" {{to_user@example.com}} < {{path/to/filename.txt}}` +`mail < {{path/to/file.txt}} --subject "{{$HOSTNAME filename.txt}}" {{to_user@example.com}}` + +- Send a `tar.gz` file as an attachment: + +`tar cvzf - {{path/to/directory1 path/to/directory2}} | uuencode {{data.tar.gz}} | mail --subject "{{subject_line}}" {{to_user@example.com}}` -- Send a tar.gz file as an attachment: +- Display help: -`tar cvzf - {{path/to/directory1 path/to/directory2}} | uuencode {{data.tar.gz}} | mail --subject="{{subject_line}}" {{to_user@example.com}}` +`mail {{[-h|--help]}}` diff --git a/pages/common/mailsy.md b/pages/common/mailsy.md new file mode 100644 index 00000000000000..bb10e077e181ad --- /dev/null +++ b/pages/common/mailsy.md @@ -0,0 +1,20 @@ +# mailsy + +> Quickly generate a disposable email using `mail.tm` API. +> More information: . + +- Create an email address: + +`mailsy g` + +- Fetch emails (press `` to open email in browser): + +`mailsy m` + +- Show details about the account: + +`mailsy me` + +- Dispose the email address: + +`mailsy d` diff --git a/pages/common/mailx.md b/pages/common/mailx.md index fe9b4b07c0d4d2..483799b23857ad 100644 --- a/pages/common/mailx.md +++ b/pages/common/mailx.md @@ -1,27 +1,28 @@ # mailx > Send and receive mail. +> More information: . -- Send mail (the content should be typed after the command, and ended with `Ctrl+D`): +- Send mail (the content should be typed after the command, and ended with ``): -`mailx -s "{{subject}}" {{to_addr}}` +`mailx {{[-s|--subject]}} "{{subject}}" {{to_addr}}` - Send mail with content passed from another command: -`echo "{{content}}" | mailx -s "{{subject}}" {{to_addr}}` +`echo "{{content}}" | mailx {{[-s|--subject]}} "{{subject}}" {{to_addr}}` - Send mail with content read from a file: -`mailx -s "{{subject}}" {{to_addr}} < {{content.txt}}` +`mailx < {{content.txt}} {{[-s|--subject]}} "{{subject}}" {{to_addr}}` - Send mail to a recipient and CC to another address: -`mailx -s "{{subject}}" -c {{cc_addr}} {{to_addr}}` +`mailx {{[-s|--subject]}} "{{subject}}" {{[-c|--cc]}} {{cc_addr}} {{to_addr}}` - Send mail specifying the sender address: -`mailx -s "{{subject}}" -r {{from_addr}} {{to_addr}}` +`mailx {{[-s|--subject]}} "{{subject}}" {{[-r|--from-address]}} {{from_addr}} {{to_addr}}` - Send mail with an attachment: -`mailx -a {{file}} -s "{{subject}}" {{to_addr}}` +`mailx {{[-a|--attach]}} {{path/to/file}} {{[-s|--subject]}} "{{subject}}" {{to_addr}}` diff --git a/pages/common/make.md b/pages/common/make.md index 12a4b73fd05ffd..810ff2588312f5 100644 --- a/pages/common/make.md +++ b/pages/common/make.md @@ -14,20 +14,24 @@ - Call a specific target, executing 4 jobs at a time in parallel: -`make -j{{4}} {{target}}` +`make {{[-j|--jobs]}} 4 {{target}}` - Use a specific Makefile: -`make --file {{file}}` +`make {{[-f|--file]}} {{path/to/file}}` - Execute make from another directory: -`make --directory {{directory}}` +`make {{[-C|--directory]}} {{path/to/directory}}` - Force making of a target, even if source files are unchanged: -`make --always-make {{target}}` +`make {{[-B|--always-make]}} {{target}}` + +- Override a variable defined in the Makefile: + +`make {{target}} {{variable}}={{new_value}}` - Override variables defined in the Makefile by the environment: -`make --environment-overrides {{target}}` +`make {{[-e|--environment-overrides]}} {{target}}` diff --git a/pages/common/makebuildserver.md b/pages/common/makebuildserver.md index 8b782656e463ba..024a12481e8dc2 100644 --- a/pages/common/makebuildserver.md +++ b/pages/common/makebuildserver.md @@ -9,4 +9,4 @@ - Force creating a fresh virtual machine: -`makebuildserver --clean` +`makebuildserver {{[-c|--clean]}}` diff --git a/pages/common/makensis.md b/pages/common/makensis.md index 3301e70b7f1163..437812215a1a9e 100644 --- a/pages/common/makensis.md +++ b/pages/common/makensis.md @@ -12,6 +12,6 @@ `makensis -WX {{path/to/file.nsi}}` -- Print help for a specific command: +- Display help for a specific command: `makensis -CMDHELP {{command}}` diff --git a/pages/common/makepasswd.md b/pages/common/makepasswd.md index 00c7c2d4d8ae80..d056861592b183 100644 --- a/pages/common/makepasswd.md +++ b/pages/common/makepasswd.md @@ -1,7 +1,7 @@ # makepasswd > Generate and encrypt passwords. -> More information: . +> More information: . - Generate a random password (8 to 10 characters long, containing letters and numbers): diff --git a/pages/common/mamba-repoquery.md b/pages/common/mamba-repoquery.md new file mode 100644 index 00000000000000..fea91cedd38554 --- /dev/null +++ b/pages/common/mamba-repoquery.md @@ -0,0 +1,20 @@ +# mamba repoquery + +> Efficiently query conda and mamba package repositories and package dependencies. +> More information: . + +- Search for all available versions of a particular package: + +`mamba repoquery search {{package}}` + +- Search for all packages satisfying specific constraints: + +`mamba repoquery search "{{sphinx<5}}"` + +- List the dependencies of a package installed in the currently activated environment, in a tree format: + +`mamba repoquery depends {{[-t|--tree]}} {{scipy}}` + +- Print packages in the current environment that require a particular package to be installed (i.e. inverse of `depends`): + +`mamba repoquery whoneeds {{ipython}}` diff --git a/pages/common/mamba.md b/pages/common/mamba.md new file mode 100644 index 00000000000000..1c73333bd98416 --- /dev/null +++ b/pages/common/mamba.md @@ -0,0 +1,37 @@ +# mamba + +> Fast, cross-platform package manager, intended as a drop-in replacement for conda. +> Some subcommands such as `repoquery` have their own usage documentation. +> More information: . + +- Create a new environment, installing the specified packages into it: + +`mamba create {{[-n|--name]}} {{environment_name}} {{python=3.10 matplotlib}}` + +- Install packages into the current environment, specifying the package channel: + +`mamba install {{[-c|--channel]}} {{conda-forge}} {{python=3.6 numpy}}` + +- Update all packages in the current environment: + +`mamba update {{[-a|--all]}}` + +- Search for a specific package across repositories: + +`mamba repoquery search {{numpy}}` + +- List all environments: + +`mamba info {{[-e|--envs]}}` + +- Remove unused packages and tarballs from the cache: + +`mamba clean {{[-pt|--packages --tarballs]}}` + +- Activate an environment: + +`mamba activate {{environment_name}}` + +- List all installed packages in the currently activated environment: + +`mamba list` diff --git a/pages/common/man.md b/pages/common/man.md index 77c4b479073132..b84623a1f29d86 100644 --- a/pages/common/man.md +++ b/pages/common/man.md @@ -1,23 +1,36 @@ # man > Format and display manual pages. +> More information: . - Display the man page for a command: `man {{command}}` +- Open the man page for a command in a browser (`BROWSER` environment variable can replace `=browser_name`): + +`man {{[-H|--html=]}}{{browser_name}} {{command}}` + - Display the man page for a command from section 7: -`man {{command}}.{{7}}` +`man 7 {{command}}` + +- List all available sections for a command: + +`man {{[-f|--whatis]}} {{command}}` - Display the path searched for manpages: -`man --path` +`man {{[-w|--path]}}` - Display the location of a manpage rather than the manpage itself: -`man -w {{command}}` +`man {{[-w|--where]}} {{command}}` + +- Display the man page using a specific locale: + +`man {{[-L|--locale]}} {{locale}} {{command}}` - Search for manpages containing a search string: -`man -k "{{search_string}}"` +`man {{[-k|--apropos]}} "{{search_string}}"` diff --git a/pages/common/manim.md b/pages/common/manim.md new file mode 100644 index 00000000000000..a82680d9e55a51 --- /dev/null +++ b/pages/common/manim.md @@ -0,0 +1,32 @@ +# manim + +> Animation engine for explanatory math videos. +> More information: . + +- Render a scene from a Python script using the default settings: + +`manim {{path/to/file.py}} {{SceneName}}` + +- Render with live preview (auto-opens the video file after rendering): + +`manim {{[-pql|--preview --quality low]}} {{path/to/file.py}} {{SceneName}}` + +- Render at high quality (1080p 60fps): + +`manim {{[-pqh|--preview --quality high]}} {{path/to/file.py}} {{SceneName}}` + +- Specify a custom output file name: + +`manim {{[-o|--output_file]}} {{output_file_name}} {{path/to/file.py}} {{SceneName}}` + +- Render using a specific resolution and frame rate: + +`manim {{[-r|--resolution]}} {{1920,1080}} {{[-f|--fps]}} {{60}} {{path/to/file.py}} {{SceneName}}` + +- List available scenes in a file without rendering: + +`manim --list_scenes {{path/to/file.py}}` + +- Display help: + +`manim --help` diff --git a/pages/common/mapfile.md b/pages/common/mapfile.md new file mode 100644 index 00000000000000..04df65d8eea18d --- /dev/null +++ b/pages/common/mapfile.md @@ -0,0 +1,7 @@ +# mapfile + +> This command is an alias of `readarray`. + +- View documentation for the original command: + +`tldr readarray` diff --git a/pages/common/mariadb-install-db.md b/pages/common/mariadb-install-db.md new file mode 100644 index 00000000000000..a7813f3b061d46 --- /dev/null +++ b/pages/common/mariadb-install-db.md @@ -0,0 +1,12 @@ +# mariadb-install-db + +> Initialize a MariaDB database. +> More information: . + +- Initialize a database: + +`sudo mariadb-install-db --user {{user}} --basedir {{/usr}} --datadir {{/var/lib/mysql}}` + +- Display help: + +`mariadb-install-db --help` diff --git a/pages/common/mariadb.md b/pages/common/mariadb.md new file mode 100644 index 00000000000000..f6d533e952602c --- /dev/null +++ b/pages/common/mariadb.md @@ -0,0 +1,36 @@ +# mariadb + +> The mariadb client tool. +> More information: . + +- Connect to a specific MariaDB database: + +`mariadb {{db_name}}` + +- Connect to a specific MariaDB database using username and password: + +`mariadb --user {{user_name}} --password {{your_password}} {{db_name}}` + +- Show warnings after every statement in interactive and batch mode: + +`mariadb --show-warning` + +- Display less verbose outputs (can be used multiple times to produce less output): + +`mariadb {{-s|-ss|-sss|--silent}}` + +- Execute SQL statements from a script file: + +`mariadb {{db_name}} < {{path/to/script.sql}} > {{path/to/output.tab}}` + +- Check memory and open file usage at exit: + +`mariadb --debug-check` + +- Connect using a socket file for local connections: + +`mariadb {{[-S|--socket]}} {{path/to/socket_name}}` + +- Display help: + +`mariadb {{[-?|--help]}}` diff --git a/pages/common/marimo.md b/pages/common/marimo.md new file mode 100644 index 00000000000000..6b38bfa2c1c379 --- /dev/null +++ b/pages/common/marimo.md @@ -0,0 +1,29 @@ +# marimo + +> A reactive Python notebook environment. +> Combines features of Jupyter, Streamlit, and other notebook tools with reactive execution. +> More information: . + +- Create or edit notebooks by starting a marimo server: + +`marimo edit` + +- Start a marimo server on a specific port without launching a browser: + +`marimo edit {{[-p|--port]}} {{port_number}} --headless` + +- Edit a specific notebook: + +`marimo edit {{path/to/notebook.py}}` + +- Run a marimo notebook as an app in read-only mode: + +`marimo run {{path/to/notebook.py}}` + +- Start an interactive tutorial to learn marimo: + +`marimo tutorial {{intro|components|dataflow|io}}` + +- View command-specific help: + +`marimo {{edit|run|tutorial|config|new|...}} --help` diff --git a/pages/common/markdown2pdf.md b/pages/common/markdown2pdf.md new file mode 100644 index 00000000000000..d094a84d3ea012 --- /dev/null +++ b/pages/common/markdown2pdf.md @@ -0,0 +1,20 @@ +# markdown2pdf + +> Convert markdown to PDF. +> More information: . + +- Convert a Markdown file to a PDF: + +`markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}}` + +- Convert a Markdown file to a PDF with a specific path: + +`markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}} {{[-o|--output]}} {{path/to/output_file.pdf}}` + +- Convert Markdown content provided as a string: + +`markdown2pdf {{[-s|--string]}} {{markdown_text}} {{[-o|--output]}} {{path/to/output_file.pdf}}` + +- Convert from URL (this will convert a Markdown file at that URL to a local PDF file): + +`markdown2pdf {{[-u|--url]}} {{URL}} {{[-o|--output]}} {{path/to/output_file.pdf}}` diff --git a/pages/common/masscan.md b/pages/common/masscan.md new file mode 100644 index 00000000000000..c3135bb41b5f64 --- /dev/null +++ b/pages/common/masscan.md @@ -0,0 +1,37 @@ +# masscan + +> A very fast network scanner. +> Works best with elevated privileges. For help with Nmap compatibility, run `masscan --nmap`. +> More information: . + +- Scan an IP or network subnet for port 80: + +`masscan {{ip_address|network_prefix}} {{[-p|--ports]}} {{80}}` + +- Scan a class B subnet for the top 100 ports at 100,000 packets per second: + +`masscan {{10.0.0.0/16}} --top-ports {{100}} --rate {{100000}}` + +- Scan a class B subnet avoiding ranges from a specific exclude file: + +`masscan {{10.0.0.0/16}} --top-ports {{100}} --excludefile {{path/to/file}}` + +- Scan a class B subnet with Nmap-like version detection (banner grabbing): + +`masscan {{10.0.0.0/16}} {{[-p|--ports]}} {{22,80}} --banners --rate {{100000}}` + +- Scan the Internet for web servers running on port 80 and 443: + +`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{80,443}} --rate {{10000000}}` + +- Scan the Internet for DNS servers running on UDP port 53: + +`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{U:53}} --rate {{10000000}}` + +- Scan the Internet for a specific port range and export to a file: + +`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{0-65535}} --output-format {{binary|grepable|json|list|xml}} --output-filename {{path/to/file}}` + +- Read binary scan results from a file and output to `stdout`: + +`masscan --readscan {{path/to/file}}` diff --git a/pages/common/mat2.md b/pages/common/mat2.md index dd75dc3b5598bd..e67c2a3d40f4fe 100644 --- a/pages/common/mat2.md +++ b/pages/common/mat2.md @@ -22,3 +22,7 @@ - Partially remove metadata from a file: `mat2 --lightweight {{path/to/file}}` + +- Remove metadata from a file in place, without creating a backup: + +`mat2 --inplace {{path/to/file}}` diff --git a/pages/common/mate-dictionary.md b/pages/common/mate-dictionary.md new file mode 100644 index 00000000000000..9169d23e0d07c7 --- /dev/null +++ b/pages/common/mate-dictionary.md @@ -0,0 +1,12 @@ +# mate-dictionary + +> Look up words on dictionaries. +> More information: . + +- Print a specific word definition: + +`mate-dictionary --no-window --look-up '{{word}}'` + +- Show similar words for a specific one in a new window: + +`mate-dictionary --match '{{word}}'` diff --git a/pages/common/matlab.md b/pages/common/matlab.md index 16e3db647a10b0..2ad43ab0c9ed96 100644 --- a/pages/common/matlab.md +++ b/pages/common/matlab.md @@ -1,7 +1,7 @@ # matlab > Numerical computation environment by MathWorks. -> More information: . +> More information: . - Run without splash screen during startup: diff --git a/pages/common/maza.md b/pages/common/maza.md new file mode 100644 index 00000000000000..f088d04add79d8 --- /dev/null +++ b/pages/common/maza.md @@ -0,0 +1,20 @@ +# maza + +> Local ad blocker. Like Pi-hole but local and using the operating system. +> More information: . + +- Update the Maza database: + +`maza update` + +- Start Maza: + +`sudo maza start` + +- Stop Maza: + +`sudo maza stop` + +- Show the status of Maza: + +`maza status` diff --git a/pages/common/mc.cli.md b/pages/common/mc.cli.md new file mode 100644 index 00000000000000..d56a413f715ec7 --- /dev/null +++ b/pages/common/mc.cli.md @@ -0,0 +1,17 @@ +# mc + +> MinIO Client for object storage and filesystems. +> May be named `mc` or `mcli` on some systems. +> More information: . + +- Add connection to a S3 server: + +`mc alias set {{local}} {{http://localhost:9000}} {{access_key}} {{secret_key}}` + +- Create a bucket: + +`mc mb {{local/bucket_name}}` + +- List buckets and their content recursively: + +`mc ls {{local}} --recursive` diff --git a/pages/common/mc.fm.md b/pages/common/mc.fm.md new file mode 100644 index 00000000000000..aea9de01572950 --- /dev/null +++ b/pages/common/mc.fm.md @@ -0,0 +1,14 @@ +# mc + +> Midnight Commander, a TUI file manager. +> Navigate the directory structure using the ``, the mouse or by typing the commands into the terminal. +> See also: `ranger`, `clifm`, `vifm`, `nautilus`. +> More information: . + +- Start Midnight Commander: + +`mc` + +- Start Midnight Commander in black and white: + +`mc {{[-b|--nocolor]}}` diff --git a/pages/common/mc.md b/pages/common/mc.md index 408626bf5b177d..980ebbab3bc4ba 100644 --- a/pages/common/mc.md +++ b/pages/common/mc.md @@ -1,13 +1,11 @@ # mc -> Midnight Commander, a terminal based file manager. -> Navigate the directory structure using the arrow keys, the mouse or by typing the commands into the terminal. -> More information: . +> `mc` can refer to multiple commands with the same name. -- Start `mc`: +- View documentation for MinIO client: -`mc` +`tldr mc.cli` -- Start `mc` in black and white: +- View documentation for Midnight Commander: -`mc -b` +`tldr mc.fm` diff --git a/pages/common/mcfly.md b/pages/common/mcfly.md new file mode 100644 index 00000000000000..87400c77aeeec5 --- /dev/null +++ b/pages/common/mcfly.md @@ -0,0 +1,29 @@ +# mcfly + +> A smart command history search and management tool. +> Replaces your default shell history search (``) with an intelligent search engine providing context and relevance to the commands. +> More information: . + +- Print the mcfly integration code for the specified shell: + +`mcfly init {{bash|fish|zsh}}` + +- Search the history for a command, with 20 results: + +`mcfly search --results {{20}} "{{search_terms}}"` + +- Add a new command to the history: + +`mcfly add "{{command}}"` + +- Record that a directory has moved and transfer the historical records from the old path to the new one: + +`mcfly move "{{path/to/old_directory}}" "{{path/to/new_directory}}"` + +- Train the suggestion engine (developer tool): + +`mcfly train` + +- Display help for a specific subcommand: + +`mcfly help {{subcommand}}` diff --git a/pages/common/mcli.md b/pages/common/mcli.md new file mode 100644 index 00000000000000..35166c2326c05c --- /dev/null +++ b/pages/common/mcli.md @@ -0,0 +1,7 @@ +# mcli + +> This command is an alias of `mc` (MinIO client). + +- View documentation for the original command: + +`tldr mc.cli` diff --git a/pages/common/mcs.md b/pages/common/mcs.md new file mode 100644 index 00000000000000..32fc82c6a4cfac --- /dev/null +++ b/pages/common/mcs.md @@ -0,0 +1,16 @@ +# mcs + +> Mono C# Compiler. +> More information: . + +- Compile the specified files: + +`mcs {{path/to/input_file1.cs path/to/input_file2.cs ...}}` + +- Specify the output program name: + +`mcs -out:{{path/to/file.exe}} {{path/to/input_file1.cs path/to/input_file2.cs ...}}` + +- Specify the output program type: + +`mcs -target:{{exe|winexe|library|module}} {{path/to/input_file1.cs path/to/input_file2.cs ...}}` diff --git a/pages/common/md-to-clip.md b/pages/common/md-to-clip.md new file mode 100644 index 00000000000000..641c71d5be7ca8 --- /dev/null +++ b/pages/common/md-to-clip.md @@ -0,0 +1,29 @@ +# md-to-clip + +> Convert tldr-pages to Command Line Interface Pages. +> See also: `clip-view`. +> More information: . + +- Convert tldr-pages files and save into the same directories: + +`md-to-clip {{path/to/page1.md path/to/page2.md ...}}` + +- Convert tldr-pages files and save into a specific directory: + +`md-to-clip --output-directory {{path/to/directory}} {{path/to/page1.md path/to/page2.md ...}}` + +- Convert a tldr-page file to `stdout`: + +`md-to-clip --no-file-save <(echo '{{page-content}}')` + +- Convert tldr-pages files while recognizing additional placeholders from a specific config: + +`md-to-clip --special-placeholder-config {{path/to/config.yaml}} {{path/to/page1.md path/to/page2.md ...}}` + +- Display help: + +`md-to-clip --help` + +- Display version: + +`md-to-clip --version` diff --git a/pages/common/md5sum.md b/pages/common/md5sum.md index b11154f81156b6..b0a8aef0e7836b 100644 --- a/pages/common/md5sum.md +++ b/pages/common/md5sum.md @@ -1,19 +1,32 @@ # md5sum > Calculate MD5 cryptographic checksums. +> More information: . -- Calculate the MD5 checksum for a file: +- Calculate the MD5 checksum for one or more files: -`md5sum {{filename1}}` +`md5sum {{path/to/file1 path/to/file2 ...}}` -- Calculate MD5 checksums for multiple files: +- Calculate and save the list of MD5 checksums to a file: -`md5sum {{filename1}} {{filename2}}` +`md5sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.md5}}` -- Read a file of MD5SUMs and verify all files have matching checksums: +- Calculate an MD5 checksum from `stdin`: -`md5sum -c {{filename.md5}}` +`{{command}} | md5sum` -- Calculate a MD5 checksum from the standard input: +- Read a file of MD5 checksums and filenames and verify all files have matching checksums: -`echo "{{text}}" | md5sum` +`md5sum {{[-c|--check]}} {{path/to/file.md5}}` + +- Only show a message for missing files or when verification fails: + +`md5sum {{[-c|--check]}} --quiet {{path/to/file.md5}}` + +- Only show a message when verification fails, ignoring missing files: + +`md5sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.md5}}` + +- Check a known MD5 checksum of a file: + +`echo {{known_md5_checksum_of_the_file}} {{path/to/file}} | md5sum {{[-c|--check]}}` diff --git a/pages/common/mdatopbm.md b/pages/common/mdatopbm.md new file mode 100644 index 00000000000000..ec571ee6df5907 --- /dev/null +++ b/pages/common/mdatopbm.md @@ -0,0 +1,17 @@ +# mdatopbm + +> Convert a Microdesign MDA file to a PBM image. +> See also: `pbmtomda`. +> More information: . + +- Convert a MDA file to a PBM image: + +`mdatopbm {{path/to/image.mda}} > {{path/to/output.pbm}}` + +- Invert the colors in the input image: + +`mdatopbm -i {{path/to/image.mda}} > {{path/to/output.pbm}}` + +- Double the input image's height: + +`mdatopbm -d {{path/to/image.mda}} > {{path/to/output.pbm}}` diff --git a/pages/common/mdk4.md b/pages/common/mdk4.md new file mode 100644 index 00000000000000..4bf906f4fcca85 --- /dev/null +++ b/pages/common/mdk4.md @@ -0,0 +1,18 @@ +# mdk4 + +> A proof-of-concept tool to exploit common IEEE 802.11 protocol weaknesses. +> Note: Exercise extreme caution as this tool can disrupt WiFi networks and disconnect nearby users. +> See also: `airodump-ng`, `airmon-ng`. +> More information: . + +- Flood access points with beacon frames to create fake networks (set interface to monitor mode with `sudo airmon-ng start ` if needed): + +`sudo mdk4 {{wifi_interface}} b -f {{path/to/beacons.txt}}` + +- Perform deauthentication attack against all clients on all BSSIDs: + +`sudo mdk4 {{wifi_interface}} d` + +- Perform deauthentication attack on a specific BSSID (list BSSIDs using `sudo airodump-ng `): + +`sudo mdk4 {{wifi_interface}} d -B {{BSSID}}` diff --git a/pages/common/mdp.md b/pages/common/mdp.md index 08826f0cb3da8b..ece30793f61308 100644 --- a/pages/common/mdp.md +++ b/pages/common/mdp.md @@ -1,7 +1,7 @@ # mdp -> A command-line based tool to make presentations from Markdown files. -> More information: . +> Make presentations from Markdown files. +> More information: . - Launch a presentation in the terminal from a Markdown file: @@ -9,12 +9,12 @@ - Disable fading transitions: -`mdp --nofade {{presentation.md}}` +`mdp {{[-f|--nofade]}} {{presentation.md}}` - Invert font colors to use in terminals with light background: -`mdp --invert {{presentation.md}}` +`mdp {{[-i|--invert]}} {{presentation.md}}` - Disable transparency in transparent terminals: -`mdp --notrans {{presentation.md}}` +`mdp {{[-t|--notrans]}} {{presentation.md}}` diff --git a/pages/common/mediainfo.md b/pages/common/mediainfo.md index d0d478b682c101..55a555f9301612 100644 --- a/pages/common/mediainfo.md +++ b/pages/common/mediainfo.md @@ -11,6 +11,6 @@ `mediainfo --Logfile={{out.txt}} {{file}}` -- Display the list of metadata attributes that can be extracted: +- List metadata attributes that can be extracted: `mediainfo --Info-Parameters` diff --git a/pages/common/medusa.md b/pages/common/medusa.md new file mode 100644 index 00000000000000..38f9492c7d9213 --- /dev/null +++ b/pages/common/medusa.md @@ -0,0 +1,28 @@ +# medusa + +> A modular and parallel login brute-forcer for a variety of protocols. +> More information: . + +- List all installed modules: + +`medusa -d` + +- Show usage example of a specific module (use `medusa -d` for listing all installed modules): + +`medusa -M {{ssh|http|web-form|postgres|ftp|mysql|...}} -q` + +- Execute brute force against an FTP server using a file containing usernames and a file containing passwords: + +`medusa -M ftp -h host -U {{path/to/username_file}} -P {{path/to/password_file}}` + +- Execute a login attempt against an HTTP server using the username, password and user-agent specified: + +`medusa -M HTTP -h host -u {{username}} -p {{password}} -m USER-AGENT:"{{Agent}}"` + +- Execute a brute force against a MySQL server using a file containing usernames and a hash: + +`medusa -M mysql -h host -U {{path/to/username_file}} -p {{hash}} -m PASS:HASH` + +- Execute a brute force against a list of SMB servers using a username and a pwdump file: + +`medusa -M smbnt -H {{path/to/hosts_file}} -C {{path/to/pwdump_file}} -u {{username}} -m PASS:HASH` diff --git a/pages/common/meld.md b/pages/common/meld.md index 26ad9b2b817f2b..b58f1b336d5729 100644 --- a/pages/common/meld.md +++ b/pages/common/meld.md @@ -1,9 +1,9 @@ # meld > Graphical diffing and merging tool. -> More information: . +> More information: . -- Start meld: +- Start `meld`: `meld` diff --git a/pages/common/mesg.md b/pages/common/mesg.md index d3ac4d47a8c584..8ff34a4526d672 100644 --- a/pages/common/mesg.md +++ b/pages/common/mesg.md @@ -1,16 +1,17 @@ # mesg -> Check or set a terminal's ability to receive messages from other users, usually from the write command. -> See also `write`. +> Check or set a terminal's ability to receive messages from other users, usually from the `write` command. +> See also: `write`, `talk`. +> More information: . - Check terminal's openness to write messages: `mesg` -- Disable receiving messages from the write command: +- Disallow receiving messages from the write command: `mesg n` -- Enable receiving messages from the write command: +- Allow receiving messages from the write command: `mesg y` diff --git a/pages/common/meshlabserver.md b/pages/common/meshlabserver.md index 4307b22534353b..ead488e0c741db 100644 --- a/pages/common/meshlabserver.md +++ b/pages/common/meshlabserver.md @@ -1,6 +1,7 @@ # meshlabserver -> Command line interface for the MeshLab 3D mesh processing software. +> Interface for the MeshLab 3D mesh processing software. +> More information: . - Convert an STL file to an OBJ file: @@ -12,7 +13,7 @@ - Dump a list of all the available processing filters into a file: -`meshlabserver -d {{filename}}` +`meshlabserver -d {{path/to/file}}` - Process a 3D file using a filter script created in the MeshLab GUI (Filters > Show current filter script > Save Script): diff --git a/pages/common/meshnamed.md b/pages/common/meshnamed.md new file mode 100644 index 00000000000000..17e139dd2d0a73 --- /dev/null +++ b/pages/common/meshnamed.md @@ -0,0 +1,16 @@ +# meshnamed + +> Distributed naming system for IPv6 mesh networks. +> More information: . + +- Start a local meshname DNS server: + +`meshnamed` + +- Convert an IPv6 address into a meshname: + +`meshnamed -getname {{200:6fc8:9220:f400:5cc2:305a:4ac6:967e}}` + +- Convert a meshname to an IPv6 address: + +`meshnamed -getip {{aiag7sesed2aaxgcgbnevruwpy}}` diff --git a/pages/common/meson.md b/pages/common/meson.md index 09bf62ae4e2d8a..99bd5cfc69ccba 100644 --- a/pages/common/meson.md +++ b/pages/common/meson.md @@ -1,24 +1,28 @@ # meson -> SCons-like build system that uses python as a front-end language and Ninja as a building backend. -> More information: . +> SCons-like build system that uses Python as a front-end language and Ninja as a building backend. +> More information: . -- Generate a c project with a given name and version: +- Generate a C project with a given name and version: -`meson init --language={{c}} --name={{myproject}} --version={{0.1}}` +`meson init {{[-l|--language]}} c {{[-n|--name]}} {{myproject}} --version {{0.1}}` -- Configure builddir with default values: +- Configure the `builddir` with default values: -`meson setup {{build_dir}}` +`meson setup {{build_directory}}` - Build the project: -`meson compile -C {{path/to/build_dir}}` +`meson compile -C {{path/to/build_directory}}` -- Show the help: +- Run all tests in the project: -`meson --help` +`meson test` -- Show version info: +- Display help: -`meson --version` +`meson {{[-h|--help]}}` + +- Display version: + +`meson {{[-v|--version]}}` diff --git a/pages/common/meteor.md b/pages/common/meteor.md index 15727ce0c02d68..51a225135c15c6 100644 --- a/pages/common/meteor.md +++ b/pages/common/meteor.md @@ -1,6 +1,6 @@ # meteor -> Full-stack javascript platform for building web applications. +> Full-stack JavaScript platform for building web applications. > More information: . - Run a meteor project from its root directory in development mode: @@ -17,11 +17,11 @@ - Add a package to the project: -`meteor add {{package_name}}` +`meteor add {{package}}` - Remove a package from the project: -`meteor remove {{package_name}}` +`meteor remove {{package}}` - Create a production build of the project as a tarball under the given directory: diff --git a/pages/common/mg.md b/pages/common/mg.md new file mode 100644 index 00000000000000..4b4b6d408489a8 --- /dev/null +++ b/pages/common/mg.md @@ -0,0 +1,20 @@ +# mg + +> A small, fast, and portable text editor based on `emacs`. +> More information: . + +- Open a file for editing: + +`mg {{path/to/file}}` + +- Open a file at a specified line number: + +`mg +{{line_number}} {{path/to/file}}` + +- Open files in a read-only mode: + +`mg -R {{path/to/file1 path/to/file2 ...}}` + +- Disable `~` backup files while editing: + +`mg -n {{path/to/file}}` diff --git a/pages/common/mgrtopbm.md b/pages/common/mgrtopbm.md new file mode 100644 index 00000000000000..c234867b55f342 --- /dev/null +++ b/pages/common/mgrtopbm.md @@ -0,0 +1,9 @@ +# mgrtopbm + +> Convert a MGR bitmap into a PBM file. +> See also: `pbmtomgr`. +> More information: . + +- Convert a MGR bitmap into a PBM file: + +`mgrtopbm {{path/to/image.mgr}} > {{path/to/output.pbm}}` diff --git a/pages/common/mh_copyright.md b/pages/common/mh_copyright.md new file mode 100644 index 00000000000000..4ff910b46210ee --- /dev/null +++ b/pages/common/mh_copyright.md @@ -0,0 +1,12 @@ +# mh_copyright + +> Adjust copyright headers for MATLAB or Octave code. +> More information: . + +- Update the year (range) to include the current year for the specified files: + +`mh_copyright --primary-entity="{{entity}}" --update-year {{path/to/file_or_directory1.m path/to/file_or_director2.m ...}}` + +- Update the year (range) to include the current year for all files: + +`mh_copyright --primary-entity="{{entity}}" --update-year` diff --git a/pages/common/mh_lint.md b/pages/common/mh_lint.md new file mode 100644 index 00000000000000..34152b31fab06d --- /dev/null +++ b/pages/common/mh_lint.md @@ -0,0 +1,21 @@ +# mh_lint + +> Attempt to find bugs in MATLAB or Octave code. +> Please note that this tool is neither sound nor complete. +> More information: . + +- Check the current directory: + +`mh_lint` + +- Check a specific directory recursively: + +`mh_lint {{path/to/directory}}` + +- Check a MATLAB file: + +`mh_lint {{path/to/file.m}}` + +- Check an Octave file: + +`mh_lint --octave {{path/to/file.m}}` diff --git a/pages/common/mh_metric.md b/pages/common/mh_metric.md new file mode 100644 index 00000000000000..529cab800f14c1 --- /dev/null +++ b/pages/common/mh_metric.md @@ -0,0 +1,24 @@ +# mh_metric + +> Calculate and enforce code metrics for MATLAB or Octave code. +> More information: . + +- Print the code metrics for the specified files: + +`mh_metric {{path/to/file1.m path/to/file2.m ...}}` + +- Print the code metrics for the specified Octave files: + +`mh_metric --octave {{path/to/file1.m path/to/file2.m ...}}` + +- Print the code metrics for the specified directory recursively: + +`mh_metric {{path/to/directory}}` + +- Print the code metrics for the current directory: + +`mh_metric` + +- Print the code metrics report in HTML or JSON format: + +`mh_metric --{{html|json}} {{path/to/output_file}}` diff --git a/pages/common/micro.md b/pages/common/micro.md index 3f3710f0de4974..137ebcc799a41d 100644 --- a/pages/common/micro.md +++ b/pages/common/micro.md @@ -1,29 +1,33 @@ # micro -> Micro is a modern and intuitive terminal-based text editor. +> A modern and intuitive terminal-based text editor. > You can use your keyboard, but also your mouse to navigate and/or select text. > More information: . - Open a file: -`micro {{file}}` +`micro {{path/to/file}}` + +- Save a file: + +`` - Cut the entire line: -`Ctrl + K` +`` -- Search for a pattern in the file (press `Ctrl + N`/`Ctrl + P` to go to next/previous match): +- Search for a pattern in the file (press ``/`` to go to next/previous match): -`Ctrl + F "{{pattern}}" ` +`{{pattern}}` - Execute a command: -`Ctrl + E {{command}} ` +`{{command}}` - Perform a substitution in the whole file: -`Ctrl + E replaceall "{{pattern}}" "{{replacement}}" ` +`replaceall "{{pattern}}" "{{replacement}}"` - Quit: -`Ctrl + Q` +`` diff --git a/pages/common/micromamba.md b/pages/common/micromamba.md new file mode 100644 index 00000000000000..a14496a7c9607a --- /dev/null +++ b/pages/common/micromamba.md @@ -0,0 +1,37 @@ +# micromamba + +> A fast, minimal, standalone package and environment manager for `conda` packages. +> Drop-in replacement for `conda`, ideal for CI, Docker, and lightweight setups. +> More information: . + +- Create a new environment at a specific path, installing named packages into it: + +`micromamba create {{[-p|--prefix]}} /{{path/to/env}} {{python=3.11 numpy}}` + +- Activate an environment by name or path: + +`micromamba activate {{[-p|--prefix]}} /{{path/to/env}}` + +- Run a command inside an environment without activating it in the shell: + +`micromamba run {{[-p|--prefix]}} /{{path/to/env}} {{pytest tests/}}` + +- Install packages into the currently active environment: + +`micromamba install {{scipy pandas}}` + +- List all installed packages in the current environment: + +`micromamba list` + +- Search for packages in channels or current environment: + +`micromamba search {{package_name}}` + +- Query tree-like dependencies of a package: + +`micromamba repoquery depends {{[-t|--tree]}} {{package_name}}` + +- Show information about the current `micromamba` setup: + +`micromamba info` diff --git a/pages/common/microsoft-edge.md b/pages/common/microsoft-edge.md new file mode 100644 index 00000000000000..f292c908a7c9f3 --- /dev/null +++ b/pages/common/microsoft-edge.md @@ -0,0 +1,38 @@ +# microsoft-edge + +> Modern web browser developed by Microsoft based on the Chromium web browser developed by Google. +> This command is available instead as `msedge` for Windows. +> Note: Additional command arguments from `chromium` may also be usable to control Microsoft Edge. +> More information: . + +- Open a specific URL or file: + +`microsoft-edge {{https://example.com|path/to/file.html}}` + +- Open in InPrivate mode: + +`microsoft-edge --inprivate {{example.com}}` + +- Open in a new window: + +`microsoft-edge --new-window {{example.com}}` + +- Open in application mode (without toolbars, URL bar, buttons, etc.): + +`microsoft-edge --app={{https://example.com}}` + +- Use a proxy server: + +`microsoft-edge --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Open with a custom profile directory: + +`microsoft-edge --user-data-dir={{path/to/directory}}` + +- Open without CORS validation (useful to test an API): + +`microsoft-edge --user-data-dir={{path/to/directory}} --disable-web-security` + +- Open with a DevTools window for each tab opened: + +`microsoft-edge --auto-open-devtools-for-tabs` diff --git a/pages/common/mid3v2.md b/pages/common/mid3v2.md new file mode 100644 index 00000000000000..6fe8cbe18bd9dc --- /dev/null +++ b/pages/common/mid3v2.md @@ -0,0 +1,33 @@ +# mid3v2 + +> Edit audio tags. +> See also: `id3v2`. +> More information: . + +- List all supported ID3v2.3 or ID3v2.4 frames and their meanings: + +`mid3v2 --list-frames {{path/to/file1.mp3 path/to/file2.mp3 ...}}` + +- List all supported ID3v1 numeric genres: + +`mid3v2 --list-genres {{path/to/file1.mp3 path/to/file2.mp3 ...}}` + +- List all tags in specific files: + +`mid3v2 --list {{path/to/file1.mp3 path/to/file2.mp3 ...}}` + +- Set specific artist, album, or song information: + +`mid3v2 {{--artist|--album|--song}}={{string}} {{path/to/file1.mp3 path/to/file2.mp3 ...}}` + +- Set specific picture information: + +`mid3v2 --picture={{filename:description:image_type:mime_type}} {{path/to/file1.mp3 path/to/file2.mp3 ...}}` + +- Set specific year information: + +`mid3v2 --year={{YYYY}} {{path/to/file1.mp3 path/to/file2.mp3 ...}}` + +- Set specific date information: + +`mid3v2 --date={{YYYY-MM-DD}} {{path/to/file1.mp3 path/to/file2.mp3 ...}}` diff --git a/pages/common/middleman.md b/pages/common/middleman.md index 19d7572a0a5eee..9da735ee8b82c3 100644 --- a/pages/common/middleman.md +++ b/pages/common/middleman.md @@ -1,7 +1,7 @@ # middleman > Static site generator written in Ruby. -> More information: . +> More information: . - Create a new Middleman project: diff --git a/pages/common/minecraft.md b/pages/common/minecraft.md new file mode 100644 index 00000000000000..23de9fe092149b --- /dev/null +++ b/pages/common/minecraft.md @@ -0,0 +1,20 @@ +# Minecraft + +> Run a headless Minecraft server. +> More information: . + +- Start a Minecraft server and generate a world if it doesn't exist: + +`java -jar {{path/to/server.jar}} --nogui` + +- Set the minimum and maximum amount of memory a server is allowed to have (Note: Setting them the same prevents lag caused by heap scaling): + +`java -Xms{{1024M}} -Xmx{{2048M}} -jar {{path/to/server.jar}} --nogui` + +- Start a server with a GUI: + +`java -jar {{path/to/server.jar}}` + +- Shut the server down: + +`stop` diff --git a/pages/common/minetest.md b/pages/common/minetest.md index 64aa1451661241..4c0d3a29e34439 100644 --- a/pages/common/minetest.md +++ b/pages/common/minetest.md @@ -1,16 +1,16 @@ # minetest > Multiplayer infinite-world block sandbox. -> See also `minetestserver`, the server-only binary. -> More information: . +> See also: `minetestserver`, the server-only binary. +> More information: . -- Start minetest in client mode: +- Start Minetest in client mode: `minetest` -- Start minetest in server mode: +- Start Minetest in server mode by hosting a specific world: -`minetest --server` +`minetest --server --world {{name}}` - Write logs to a specific file: diff --git a/pages/common/minetestserver.md b/pages/common/minetestserver.md index b9b11381da26cd..82f878c8eb820c 100644 --- a/pages/common/minetestserver.md +++ b/pages/common/minetestserver.md @@ -1,8 +1,8 @@ # minetestserver > Multiplayer infinite-world block sandbox server. -> See also `minetest`, the graphical client. -> More information: . +> See also: `minetest`, the graphical client. +> More information: . - Start the server: @@ -12,7 +12,7 @@ `minetestserver --world list` -- Specify the world name to load: +- Load the specified world: `minetestserver --world {{world_name}}` @@ -20,7 +20,7 @@ `minetestserver --gameid list` -- Specify a game to use: +- Use the specified game: `minetestserver --gameid {{game_id}}` diff --git a/pages/common/mingle.md b/pages/common/mingle.md new file mode 100644 index 00000000000000..bac4c09641bf81 --- /dev/null +++ b/pages/common/mingle.md @@ -0,0 +1,17 @@ +# mingle + +> Bundle the edges of a graph layout. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Bundle the edges of one or more graph layouts (that already have layout information): + +`mingle {{path/to/layout1.gv path/to/layout2.gv ...}} > {{path/to/output.gv}}` + +- Perform layout, bundling, and output to a picture with one command: + +`dot {{path/to/input.gv}} | mingle | dot -T {{png}} > {{path/to/output.png}}` + +- Display help: + +`mingle -?` diff --git a/pages/common/minidlna.md b/pages/common/minidlna.md new file mode 100644 index 00000000000000..66d037d3235f32 --- /dev/null +++ b/pages/common/minidlna.md @@ -0,0 +1,38 @@ +# minidlna + +> ReadyMedia (formerly MiniDLNA) is a lightweight media server compatible with DLNA/UPnP-AV clients. +> Used to stream media to smart TVs, consoles, and other DLNA-compatible devices. +> Configuration is typically done via the `minidlna.conf` file. +> More information: . + +- Start the MiniDLNA daemon using the default configuration at `/etc/minidlna.conf`: + +`minidlna` + +- Start MiniDLNA with a specific configuration file: + +`minidlna -f {{path/to/minidlna.conf}}` + +- Force a database rescan on startup: + +`minidlna -R` + +- Run MiniDLNA in the foreground (useful for debugging): + +`minidlna -d` + +- Enable verbose debug output: + +`minidlna -d -v` + +- Specify a custom media directory (overrides config): + +`minidlna -m {{path/to/media}}` + +- Specify a custom database directory: + +`minidlna -P {{path/to/pidfile}}` + +- Specify a custom log file path: + +`minidlna -l {{path/to/logfil.log}}` diff --git a/pages/common/minifab.md b/pages/common/minifab.md index 25b114d5ebc243..09a61e1c192bf8 100644 --- a/pages/common/minifab.md +++ b/pages/common/minifab.md @@ -1,23 +1,23 @@ # minifab -> Utility tool that automates the setup and deployment of Hyperledger Fabric networks. +> Automate the setup and deployment of Hyperledger Fabric networks. > More information: . - Bring up the default Hyperledger Fabric network: -`minifab up -i {{minifab_version}}` +`minifab up {{[-i|--fabric-release]}} {{minifab_version}}` -- Bring down the Hyperldger Fabric network: +- Bring down the Hyperledger Fabric network: `minifab down` - Install chaincode onto a specified channel: -`minifab install -n {{chaincode_name}}` +`minifab install {{[-n|--chaincode-name]}} {{chaincode_name}}` - Install a specific chaincode version onto a channel: -`minifab install -n {{chaincode_name}} -v {{chaincode_version}}` +`minifab install {{[-n|--chaincode-name]}} {{chaincode_name}} {{[-v|--chaincode-version]}} {{chaincode_version}}` - Initialize the chaincode after installation/upgrade: @@ -25,7 +25,7 @@ - Invoke a chaincode method with the specified arguments: -`minifab invoke -n {{chaincode_name}} -p '"{{method_name}}", "{{arg0}}", "{{arg1}}", ...'` +`minifab invoke {{[-n|--chaincode-name]}} {{chaincode_name}} {{[-p|--chaincode-parameters]}} '"{{method_name}}", {{"argument1", "argument2", ...}}'` - Make a query on the ledger: @@ -33,4 +33,4 @@ - Quickly run an application: -`minifab apprun -l {{app_programming_langauge}}` +`minifab apprun {{[-l|--chaincode-language]}} {{app_programming_language}}` diff --git a/pages/common/minikube-start.md b/pages/common/minikube-start.md new file mode 100644 index 00000000000000..c583df787aba81 --- /dev/null +++ b/pages/common/minikube-start.md @@ -0,0 +1,24 @@ +# minikube start + +> Start `minikube` with different configurations. +> More information: . + +- Start `minikube` with a specific Kubernetes version: + +`minikube start --kubernetes-version {{v1.24.0}}` + +- Start `minikube` with specific resource allocations (e.g., memory and CPU): + +`minikube start --memory {{2048}} --cpus {{2}}` + +- Start `minikube` with a specific driver (e.g., VirtualBox): + +`minikube start --driver {{virtualbox}}` + +- Start `minikube` in the background (headless mode): + +`minikube start --background` + +- Start `minikube` with custom add-ons (e.g., the metrics server): + +`minikube start --addons {{metrics-server}}` diff --git a/pages/common/minikube.md b/pages/common/minikube.md index 57a160d44fef5b..ed24fbb36f9ee2 100644 --- a/pages/common/minikube.md +++ b/pages/common/minikube.md @@ -1,7 +1,7 @@ # minikube -> Tool to run Kubernetes locally. -> More information: . +> Run Kubernetes locally. +> More information: . - Start the cluster: @@ -11,11 +11,11 @@ `minikube ip` -- Access a service named my_service exposed via a node port and get the url: +- Access a service named my_service exposed via a node port and get the URL: `minikube service {{my_service}} --url` -- Open kubernetes dashboard in a browser: +- Open the Kubernetes dashboard in a browser: `minikube dashboard` @@ -26,3 +26,7 @@ - Delete the cluster: `minikube delete` + +- Connect to LoadBalancer services: + +`minikube tunnel` diff --git a/pages/common/minio-client.md b/pages/common/minio-client.md new file mode 100644 index 00000000000000..f410ac3cb0fdf7 --- /dev/null +++ b/pages/common/minio-client.md @@ -0,0 +1,7 @@ +# minio-client + +> This command is an alias of `mc` (MinIO client). + +- View documentation for the original command: + +`tldr mc.cli` diff --git a/pages/common/miniserve.md b/pages/common/miniserve.md new file mode 100644 index 00000000000000..c9f441edb2a399 --- /dev/null +++ b/pages/common/miniserve.md @@ -0,0 +1,16 @@ +# miniserve + +> Simple HTTP file server. +> More information: . + +- Serve a directory: + +`miniserve {{path/to/directory}}` + +- Serve a single file: + +`miniserve {{path/to/file}}` + +- Serve a directory using HTTP basic authentication: + +`miniserve --auth {{username}}:{{password}} {{path/to/directory}}` diff --git a/pages/common/minisign.md b/pages/common/minisign.md new file mode 100644 index 00000000000000..1491c9ec6f8604 --- /dev/null +++ b/pages/common/minisign.md @@ -0,0 +1,24 @@ +# minisign + +> A dead simple tool to sign files and verify signatures. +> More information: . + +- Generate a new keypair at the default location: + +`minisign -G` + +- Sign a file: + +`minisign -Sm {{path/to/file}}` + +- Sign a file, adding a trusted (signed) and an untrusted (unsigned) comment in the signature: + +`minisign -Sm {{path/to/file}} -c "{{Untrusted comment}}" -t "{{Trusted comment}}"` + +- Verify a file and the trusted comments in its signature using the specified public key file: + +`minisign -Vm {{path/to/file}} -p {{path/to/publickey.pub}}` + +- Verify a file and the trusted comments in its signature, specifying a public key as a Base64 encoded literal: + +`minisign -Vm {{path/to/file}} -P "{{public_key_base64}}"` diff --git a/pages/common/mise.md b/pages/common/mise.md new file mode 100644 index 00000000000000..37d44d108ddba1 --- /dev/null +++ b/pages/common/mise.md @@ -0,0 +1,36 @@ +# mise + +> Manage language runtimes like Node.js, Python, Ruby, Go, Java, etc and various tools. +> More information: . + +- List all available plugins: + +`mise plugins list-all` + +- Install a plugin: + +`mise plugins add {{name}}` + +- List runtime versions available for install: + +`mise ls-remote {{name}}` + +- Install a specific version of a package: + +`mise install {{name}}@{{version}}` + +- Set global version for a package: + +`mise use --global {{name}}@{{version}}` + +- Set local version for a package: + +`mise use {{name}}@{{version}}` + +- Set environment variable in configuration: + +`mise set {{variable}}={{value}}` + +- Pass plugin options: + +`mise use {{name}}\[{{option1}}={{option1_value}},{{option2}}={{option2_value}}\]@{{version}}` diff --git a/pages/common/mispipe.md b/pages/common/mispipe.md new file mode 100644 index 00000000000000..645cf9132dbd9a --- /dev/null +++ b/pages/common/mispipe.md @@ -0,0 +1,8 @@ +# mispipe + +> Pipe two commands and return the exit status of the first command. +> More information: . + +- Pipe two commands and return the exit status of the first command: + +`mispipe {{command1}} {{command2}}` diff --git a/pages/common/mitmdump.md b/pages/common/mitmdump.md index c254030380c48a..ebc3c791d319e1 100644 --- a/pages/common/mitmdump.md +++ b/pages/common/mitmdump.md @@ -2,16 +2,20 @@ > View, record, and programmatically transform HTTP traffic. > The command-line counterpart to mitmproxy. -> More information: . +> More information: . - Start a proxy and save all output to a file: -`mitmdump -w {{filename}}` +`mitmdump {{[-w|--wfile]}} {{path/to/file}}` - Filter a saved traffic file to just POST requests: -`mitmdump -nr {{input_filename}} -w {{output_filename}} "{{~m post}}"` +`mitmdump {{[-nr|--no-server --read-flows]}} {{input_filename}} {{[-w|--wfile]}} {{output_filename}} "{{~m post}}"` - Replay a saved traffic file: -`mitmdump -nc {{filename}}` +`mitmdump {{[-nc|--no-server --client-replay]}} {{path/to/file}}` + +- Intercept DNS traffic (starts an intercepting DNS server on 127.0.0.1:53): + +`sudo mitmdump {{[-m|--mode]}} dns` diff --git a/pages/common/mitmproxy.md b/pages/common/mitmproxy.md index 51e1f48b56aac9..ed4162e9b329a0 100644 --- a/pages/common/mitmproxy.md +++ b/pages/common/mitmproxy.md @@ -1,12 +1,37 @@ # mitmproxy > An interactive man-in-the-middle HTTP proxy. -> More information: . +> See also: `mitmweb`, `mitmdump`. +> More information: . -- Start mitmproxy with default settings: +- Start `mitmproxy` with default settings (will listen on port `8080`): `mitmproxy` -- Start mitmproxy bound to custom address and port: +- Start `mitmproxy` bound to a custom address and port: -`mitmproxy -b {{ip_address}} -p {{port}}` +`mitmproxy --listen-host {{ip_address}} {{[-p|--listen-port]}} {{port}}` + +- Start `mitmproxy` using a script to process traffic: + +`mitmproxy {{[-s|--scripts]}} {{path/to/script.py}}` + +- Export the logs with SSL/TLS master keys to external programs (wireshark, etc.): + +`SSLKEYLOGFILE="{{path/to/file}}" mitmproxy` + +- Specify mode of operation of the proxy server (`regular` is the default): + +`mitmproxy {{[-m|--mode]}} {{regular|transparent|socks5|...}}` + +- Set the console layout: + +`mitmproxy --console-layout {{horizontal|single|vertical}}` + +- Save all proxied traffic to a file for later analysis: + +`mitmproxy {{[-w|--save-stream-file]}} {{path/to/dump.mitm}}` + +- Replay a previously saved HTTP flow file: + +`mitmproxy {{[-nr|--no-server --rfile]}} {{path/to/dump.mitm}}` diff --git a/pages/common/mitmweb.md b/pages/common/mitmweb.md new file mode 100644 index 00000000000000..689058edb2b05d --- /dev/null +++ b/pages/common/mitmweb.md @@ -0,0 +1,17 @@ +# mitmweb + +> A web-based interactive man-in-the-middle HTTP proxy. +> See also: `mitmproxy`. +> More information: . + +- Start `mitmweb` with default settings: + +`mitmweb` + +- Start `mitmweb` bound to a custom address and port: + +`mitmweb --listen-host {{ip_address}} --listen-port {{port}}` + +- Start `mitmweb` using a script to process traffic: + +`mitmweb --scripts {{path/to/script.py}}` diff --git a/pages/common/mix.md b/pages/common/mix.md index 6f181cc92675ff..cafade1a7f3106 100644 --- a/pages/common/mix.md +++ b/pages/common/mix.md @@ -1,6 +1,6 @@ # mix -> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more. +> Build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more. > More information: . - Execute a particular file: @@ -19,6 +19,6 @@ `mix test` -- List all mix commands: +- Display help: `mix help` diff --git a/pages/common/mixxx.md b/pages/common/mixxx.md index 97759d477d205e..086e4f050f691b 100644 --- a/pages/common/mixxx.md +++ b/pages/common/mixxx.md @@ -1,6 +1,7 @@ # mixxx > Free and open source cross-platform DJ software. +> See also: `lmms`. > More information: . - Start the Mixxx GUI in fullscreen: @@ -15,7 +16,7 @@ `mixxx --debugAssertBreak --developer --loglevel trace` -- Start mixxx using the specified settings file: +- Start Mixxx using the specified settings file: `mixxx --resourcePath {{mixxx/res/controllers}} --settingsPath {{path/to/settings-file}}` @@ -23,6 +24,6 @@ `mixxx --controllerDebug --resourcePath {{path/to/mapping-directory}}` -- Show command line help: +- Display help: `mixxx --help` diff --git a/pages/common/mk.md b/pages/common/mk.md new file mode 100644 index 00000000000000..7b207c4a3db308 --- /dev/null +++ b/pages/common/mk.md @@ -0,0 +1,29 @@ +# mk + +> Task runner for targets described in Mkfile. +> Mostly used to control the compilation of an executable from source code. +> More information: . + +- Call the first target specified in the Mkfile (usually named "all"): + +`mk` + +- Call a specific target: + +`mk {{target}}` + +- Call a specific target, executing 4 jobs at a time in parallel: + +`NPROC=4 mk {{target}}` + +- Force mking of a target, even if source files are unchanged: + +`mk -w{{target}} {{target}}` + +- Assume all targets to be out of date. Thus, update `target` and all of its dependencies: + +`mk -a {{target}}` + +- Keep going as far as possible on error: + +`mk -k` diff --git a/pages/common/mkcert.md b/pages/common/mkcert.md index a5a5bc85667ed0..437346093c54c3 100644 --- a/pages/common/mkcert.md +++ b/pages/common/mkcert.md @@ -1,6 +1,6 @@ # mkcert -> Tool for making locally-trusted development certificates. +> Make locally-trusted development certificates. > More information: . - Install the local CA in the system trust store: diff --git a/pages/common/mkdir.md b/pages/common/mkdir.md index 1dd55fdb1631dd..8d3a3d597665d5 100644 --- a/pages/common/mkdir.md +++ b/pages/common/mkdir.md @@ -1,11 +1,20 @@ # mkdir -> Creates a directory. +> Create directories and set their permissions. +> More information: . -- Create a directory in current directory or given path: +- Create specific directories: -`mkdir {{directory}}` +`mkdir {{path/to/directory1 path/to/directory2 ...}}` -- Create directories recursively (useful for creating nested dirs): +- Create specific directories and their parents if needed: -`mkdir -p {{path/to/directory}}` +`mkdir {{[-p|--parents]}} {{path/to/directory1 path/to/directory2 ...}}` + +- Create directories with specific permissions: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{path/to/directory1 path/to/directory2 ...}}` + +- Create multiple nested directories recursively: + +`mkdir {{[-p|--parents]}} {{path/to/{a,b}/{x,y,z}/{h,i,j}}}` diff --git a/pages/common/mkdocs.md b/pages/common/mkdocs.md new file mode 100644 index 00000000000000..2aa9921d293893 --- /dev/null +++ b/pages/common/mkdocs.md @@ -0,0 +1,20 @@ +# mkdocs + +> Project documentation with Markdown. +> More information: . + +- Create a new mkdocs project: + +`mkdocs new {{project_name}}` + +- Serve the project in the current directory using the mkdocs dev-server: + +`mkdocs serve` + +- Build the documentation in the current directory: + +`mkdocs build` + +- Deploy the documentation in the current directory to GitHub pages: + +`mkdocs gh-deploy` diff --git a/pages/common/mkfifo.md b/pages/common/mkfifo.md index 55c3042d51eb4d..ae22d0171a5c5d 100644 --- a/pages/common/mkfifo.md +++ b/pages/common/mkfifo.md @@ -1,7 +1,20 @@ # mkfifo -> Makes FIFOs (named pipes). +> Make FIFOs (named pipes). +> More information: . - Create a named pipe at a given path: `mkfifo {{path/to/pipe}}` + +- Send data through a named pipe and send the command to the background: + +`echo "{{Hello World}}" > {{path/to/pipe}} &` + +- Receive data through a named pipe: + +`cat {{path/to/pipe}}` + +- Share your terminal session in real-time: + +`mkfifo {{path/to/pipe}}; script {{[-f|--flush]}} {{path/to/pipe}}` diff --git a/pages/common/mkfile.md b/pages/common/mkfile.md new file mode 100644 index 00000000000000..ee0fb9a0d5376e --- /dev/null +++ b/pages/common/mkfile.md @@ -0,0 +1,16 @@ +# mkfile + +> Create empty files of any size. +> More information: . + +- Create an empty file of 15 kilobytes: + +`mkfile -n {{15k}} {{path/to/file}}` + +- Create a file of a given size and unit (bytes, KB, MB, GB): + +`mkfile -n {{size}}{{b|k|m|g}} {{path/to/file}}` + +- Create two files of 4 megabytes each: + +`mkfile -n {{4m}} {{first_filename}} {{second_filename}}` diff --git a/pages/common/mktemp.md b/pages/common/mktemp.md index 9fad894feb7b85..46c57d90ba2156 100644 --- a/pages/common/mktemp.md +++ b/pages/common/mktemp.md @@ -1,16 +1,24 @@ # mktemp > Create a temporary file or directory. -> More information: . +> More information: . -- Create an empty temporary file and return the absolute path to it: +- Create an empty temporary file and print its absolute path: `mktemp` -- Create a temporary directory and return the absolute path to it: +- Use a custom directory if `$TMPDIR` is not set (the default is platform-dependent, but usually `/tmp`): -`mktemp -d` +`mktemp -p /{{path/to/temporary_directory}}` + +- Use a custom path template (`X`s are replaced with random alphanumeric characters): + +`mktemp {{/tmp/example.XXXXXXXX}}` -- Create a temporary file with a specified suffix: +- Use a custom file name template: -`mktemp --suffix "{{.txt}}"` +`mktemp -t {{example.XXXXXXXX}}` + +- Create an empty temporary directory and print its absolute path: + +`mktemp -d` diff --git a/pages/common/mktorrent.md b/pages/common/mktorrent.md index 04d6fbfbc822f0..2729b8efcce212 100644 --- a/pages/common/mktorrent.md +++ b/pages/common/mktorrent.md @@ -1,24 +1,24 @@ # mktorrent -> A CLI utility to create BitTorrent metainfo files. +> Create BitTorrent metainfo files. > More information: . - Create a torrent with 2^21 KB as the piece size: -`mktorrent -a {{tracker_announce_url}} -l {{21}} -o {{path/to/example.torrent}} {{path/to/file_or_directory}}` +`mktorrent {{[-a|--announce]}} {{tracker_announce_url}} {{[-l|--piece-length]}} {{21}} {{[-o|--output]}} {{path/to/example.torrent}} {{path/to/file_or_directory}}` - Create a private torrent with a 2^21 KB piece size: -`mktorrent -p -a {{tracker_announce_url}} -l {{21}} -o {{path/to/example.torrent}} {{path/to/file_or_directory}}` +`mktorrent {{[-p|--private]}} {{[-a|--announce]}} {{tracker_announce_url}} {{[-l|--piece-length]}} {{21}} {{[-o|--output]}} {{path/to/example.torrent}} {{path/to/file_or_directory}}` - Create a torrent with a comment: -`mktorrent -c "{{comment}}" -a {{tracker_announce_url}} -l {{21}} -o {{path/to/example.torrent}} {{path/to/file_or_directory}}` +`mktorrent {{[-c|--comment]}} "{{comment}}" {{[-a|--announce]}} {{tracker_announce_url}} {{[-l|--piece-length]}} {{21}} {{[-o|--output]}} {{path/to/example.torrent}} {{path/to/file_or_directory}}` - Create a torrent with multiple trackers: -`mktorrent -a {{tracker_announce_url,tracker_announce_url_2}} -l {{21}} -o {{path/to/example.torrent}} {{path/to/file_or_directory}}` +`mktorrent {{[-a|--announce]}} {{tracker_announce_url,tracker_announce_url_2}} {{[-l|--piece-length]}} {{21}} {{[-o|--output]}} {{path/to/example.torrent}} {{path/to/file_or_directory}}` - Create a torrent with web seed URLs: -`mktorrent -a {{tracker_announce_url}} -w {{web_seed_url}} -l {{21}} -o {{path/to/example.torrent}} {{path/to/file_or_directory}}` +`mktorrent {{[-a|--announce]}} {{tracker_announce_url}} -w {{web_seed_url}} {{[-l|--piece-length]}} {{21}} {{[-o|--output]}} {{path/to/example.torrent}} {{path/to/file_or_directory}}` diff --git a/pages/common/mkvmerge.md b/pages/common/mkvmerge.md new file mode 100644 index 00000000000000..68ed03e8a0806d --- /dev/null +++ b/pages/common/mkvmerge.md @@ -0,0 +1,20 @@ +# mkvmerge + +> Merge and extract multimedia streams. +> More information: . + +- Display information about a Matroska file: + +`mkvmerge --identify {{path/to/file.mkv}}` + +- Extract the audio from track 1 of a specific file: + +`mkvextract tracks {{path/to/file.mkv}} {{1}}:{{path/to/output.webm}}` + +- Extract the subtitle from track 3 of a specific file: + +`mkvextract tracks {{path/to/file.mkv}} {{3}}:{{path/to/subs.srt}}` + +- Add a subtitle track to a file: + +`mkvmerge --output {{path/to/output.mkv}} {{path/to/file.mkv}} {{path/to/subs.srt}}` diff --git a/pages/common/mlr.md b/pages/common/mlr.md index 30a35db9085876..d2202f3da82780 100644 --- a/pages/common/mlr.md +++ b/pages/common/mlr.md @@ -1,7 +1,7 @@ # mlr > Miller is like `awk`, `sed`, `cut`, `join`, and `sort` for name-indexed data such as CSV, TSV, and tabular JSON. -> More information: . +> More information: . - Pretty-print a CSV file in a tabular format: @@ -27,6 +27,6 @@ `echo '{"hello":"world", "foo":"bar"}' | mlr --ijson --ojson --jvstack cat` -- Filter lines of a compressed CSV file treating numbers as strings: +- Filter lines of a compressed CSV file treating numbers as [S]trings: -`mlr --prepipe 'gunzip' --csv filter -S '${{fieldName}} =~ "{{regexp}}"' {{example.csv.gz}}` +`mlr --prepipe 'gunzip' {{[-c|--csv]}} filter {{[-S|--infer-none]}} '${{fieldName}} =~ "{{regex}}"' {{example.csv.gz}}` diff --git a/pages/common/mm2gv.md b/pages/common/mm2gv.md new file mode 100644 index 00000000000000..981680fab91206 --- /dev/null +++ b/pages/common/mm2gv.md @@ -0,0 +1,17 @@ +# mm2gv + +> Convert a graph from Matrix Market `mm` format to `gv` format. +> Converters: `gml2gv`, `gv2gml`, `gv2gxl`, `gxl2gv`, `graphml2gv` & `mm2gv`. +> More information: . + +- Convert a graph from `mm` to `gv` format: + +`mm2gv -o {{output.gv}} {{input.mm}}` + +- Convert a graph using `stdin` and `stdout`: + +`cat {{input.mm}} | mm2gv > {{output.gv}}` + +- Display help: + +`mm2gv -?` diff --git a/pages/common/mmdc.md b/pages/common/mmdc.md index 2570629fb37c35..da9ef1de8f1bcd 100644 --- a/pages/common/mmdc.md +++ b/pages/common/mmdc.md @@ -6,12 +6,12 @@ - Convert a file to the specified format (automatically determined from the file extension): -`mmdc --input {{input.mmd}} --output {{output.svg}}` +`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}}` - Specify the theme of the chart: -`mmdc --input {{input.mmd}} --output {{output.svg}} --theme {{forest|dark|neutral|default}}` +`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}} {{[-t|--theme]}} {{forest|dark|neutral|default}}` - Specify the background color of the chart (e.g. `lime`, `"#D8064F"`, or `transparent`): -`mmdc --input {{input.mmd}} --output {{output.svg}} --backgroundColor {{color}}` +`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}} {{[-b|--backgroundColor]}} {{color}}` diff --git a/pages/common/mmv.md b/pages/common/mmv.md index aef1c25bc4a469..624ca2cfb538be 100644 --- a/pages/common/mmv.md +++ b/pages/common/mmv.md @@ -1,18 +1,19 @@ # mmv > Move and rename files in bulk. +> More information: . - Rename all files with a certain extension to a different extension: `mmv "*{{.old_extension}}" "#1{{.new_extension}}"` -- Copy report6part4.txt to ./french/rapport6partie4.txt along with all similarly named files: +- Copy `report6part4.txt` to `./french/rapport6partie4.txt` along with all similarly named files: -`mmv -c "{{report*part*.txt}}" "{{./french/rapport#1partie#2.txt}}"` +`mmv {{[-c|--copy]}} "{{report*part*.txt}}" "{{./french/rapport#1partie#2.txt}}"` -- Append all .txt files into one file: +- Append all `.txt` files into one file: -`mmv -a "{{*.txt}}" "{{all.txt}}"` +`mmv {{[-a|--append]}} "{{*.txt}}" "{{all.txt}}"` - Convert dates in filenames from "M-D-Y" format to "D-M-Y" format: diff --git a/pages/common/mocha.md b/pages/common/mocha.md index f7962a082b00bd..c7978140127a55 100644 --- a/pages/common/mocha.md +++ b/pages/common/mocha.md @@ -1,6 +1,6 @@ # mocha -> Execute Mocha JavaScript test runner. +> A feature-rich JavaScript test framework. > More information: . - Run tests with default configuration or as configured in `mocha.opts`: @@ -11,9 +11,9 @@ `mocha {{directory/with/tests}}` -- Run tests that match a specific grep pattern: +- Run tests that match a specific `grep` pattern: -`mocha --grep {{^regex$}}` +`mocha --grep {{regex}}` - Run tests on changes to JavaScript files in the current directory and once initially: diff --git a/pages/common/mods.md b/pages/common/mods.md new file mode 100644 index 00000000000000..41f0dae1066c01 --- /dev/null +++ b/pages/common/mods.md @@ -0,0 +1,32 @@ +# mods + +> AI for the command-line, built for pipelines. +> More information: . + +- Ask a generic question: + +`mods "{{write me a poem about platypuses}}"` + +- Open settings in your `$EDITOR`: + +`mods --settings` + +- Ask for comments on your code, in markdown format: + +`mods < {{path/to/file}} --format "{{what are your thoughts on improving this code?}}"` + +- Ask for help with your documentation, in markdown format: + +`mods < {{README.md}} --format "{{write a new section to this readme for a feature that sends you a free rabbit if you hit r}}"` + +- Organize your videos, in markdown format: + +`ls {{path/to/videos}} | mods --format "{{organize these by decade and summarize}}"` + +- Read through raw HTML and summarize the contents, in markdown format: + +`curl "{{https://api.open-meteo.com/v1/forecast?latitude=29.00&longitude=-90.00¤t_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m}}" | mods --format "{{summarize this weather data for a human}}"` + +- Display help: + +`mods --help` diff --git a/pages/common/modutil.md b/pages/common/modutil.md new file mode 100644 index 00000000000000..0984bbdb7b7da9 --- /dev/null +++ b/pages/common/modutil.md @@ -0,0 +1,12 @@ +# modutil + +> Manage PKCS #11 module information within the NSS security module database. +> More information: . + +- Add a PKCS #11 module to a NSS database (e.g. a Firefox profile: `$HOME/.mozilla/firefox/default-release`): + +`modutil -dbdir sql:{{path/to/nss_database_directory}} -add "{{module_label}}" -libfile {{path/to/pkcs11_mod.so}}` + +- List PKCS #11 modules in a NSS database: + +`modutil -dbdir sql:{{path/to/nss_database_directory}} -list` diff --git a/pages/common/moe.md b/pages/common/moe.md new file mode 100644 index 00000000000000..1b0d7fa3ce160b --- /dev/null +++ b/pages/common/moe.md @@ -0,0 +1,24 @@ +# moe + +> A WYSIWYG text editor for ISO-8859-15 encoded text. +> More information: . + +- Open moe and create a backup file (file~) when saving edits: + +`moe {{path/to/file}}` + +- Open a file as read-only: + +`moe {{[-o|--read-only]}} {{path/to/file}}` + +- Edit a file without creating backups: + +`moe {{[-B|--no-backup]}} {{path/to/file}}` + +- Edit a file ignoring case in searches: + +`moe {{[-i|--ignore-case]}} {{path/to/file}}` + +- Save and Quit: + +`` diff --git a/pages/common/mogrify.md b/pages/common/mogrify.md index 732a784e3df0bc..b06b416227f2f7 100644 --- a/pages/common/mogrify.md +++ b/pages/common/mogrify.md @@ -1,25 +1,7 @@ # mogrify -> Perform operations on multiple images, such as resizing, cropping, flipping, and adding effects. -> Changes are applied directly to the original file. -> More information: . +> This command is an alias of `magick mogrify`. -- Resize all JPEG images in the directory to 50% of their initial size: +- View documentation for the original command: -`mogrify -resize {{50%}} {{*.jpg}}` - -- Resize all images starting with "DSC" to 800x600: - -`mogrify -resize {{800x600}} {{DSC*}}` - -- Convert all PNG images in the directory to JPEG: - -`mogrify -format {{jpg}} {{*.png}}` - -- Halve the saturation of all image files in the current directory: - -`mogrify -modulate {{100,50}} {{*}}` - -- Double the brightness of all image files in the current directory: - -`mogrify -modulate {{200}} {{*}}` +`tldr magick mogrify` diff --git a/pages/common/molecule.md b/pages/common/molecule.md index 1738398f03ecb3..a0442c1f5ada15 100644 --- a/pages/common/molecule.md +++ b/pages/common/molecule.md @@ -1,9 +1,9 @@ # molecule -> Molecule helps testing ansible roles. +> Molecule helps testing Ansible roles. > More information: . -- Create a new ansible role: +- Create a new Ansible role: `molecule init role --role-name {{role_name}}` @@ -19,6 +19,10 @@ `molecule converge` -- Login into the instance: +- List scenarios of the instance: + +`molecule matrix converge` + +- Log in into the instance: `molecule login` diff --git a/pages/common/mongo.md b/pages/common/mongo.md index d98548ec228a7e..d1287a34c03d11 100644 --- a/pages/common/mongo.md +++ b/pages/common/mongo.md @@ -1,20 +1,21 @@ # mongo -> MongoDB interactive shell client. +> The legacy MongoDB shell. See `mongosh` for the new shell. +> Note: All connection options can be replaced with one string: `mongodb://user@host:port/db_name?authSource=authdb_name`. > More information: . -- Connect to a database: +- Connect to a local database on the default port (`mongodb://localhost:27017`): -`mongo {{database}}` +`mongo` -- Connect to a database running on a given host on a given port: +- Connect to a database: -`mongo --host {{host}} --port {{port}} {{database}}` +`mongo --host {{host}} --port {{port}} {{db_name}}` -- Connect to a database with a given username; user will be prompted for password: +- Authenticate using the specified username on the specified database (you will be prompted for a password): -`mongo --username {{username}} {{database}} --password` +`mongo --host {{host}} --port {{port}} --username {{username}} --authenticationDatabase {{authdb_name}} {{db_name}}` -- Evaluate a javascript expression on the database: +- Evaluate a JavaScript expression on a database: -`mongo --eval '{{JSON.stringify(db.foo.findOne())}}' {{database}}` +`mongo --eval '{{JSON.stringify(db.foo.findOne())}}' {{db_name}}` diff --git a/pages/common/mongod.md b/pages/common/mongod.md index 462da59ba5a290..76b4a6bfb736e3 100644 --- a/pages/common/mongod.md +++ b/pages/common/mongod.md @@ -3,14 +3,18 @@ > The MongoDB database server. > More information: . -- Specify a config file: +- Specify the storage directory (default: `/data/db` on Linux and macOS, `C:\data\db` on Windows): -`mongod --config {{filename}}` +`mongod --dbpath {{path/to/directory}}` -- Specify the port to listen on: +- Specify a configuration file: + +`mongod --config {{path/to/file}}` + +- Specify the port to listen on (default: 27017): `mongod --port {{port}}` -- Specify database profiling level. 0 is off, 1 is only slow operations, 2 is all: +- Specify the database profiling level. 0 is off, 1 is only slow operations, 2 is all (default: 0): `mongod --profile {{0|1|2}}` diff --git a/pages/common/mongodump.md b/pages/common/mongodump.md index c8cc184f36919d..7ae3a96f688b66 100644 --- a/pages/common/mongodump.md +++ b/pages/common/mongodump.md @@ -1,7 +1,7 @@ # mongodump > Utility to export the contents of a MongoDB instance. -> More information: . +> More information: . - Create a dump of all databases (this will place the files inside a directory called "dump"): @@ -9,20 +9,24 @@ - Specify an output location for the dump: -`mongodump --out {{path/to/directory}}` +`mongodump {{[-o|--out]}} {{path/to/directory}}` - Create a dump of a given database: -`mongodump --db {{database_name}}` +`mongodump {{[-d|--db]}} {{database_name}}` - Create a dump of a given collection within a given database: -`mongodump --collection {{collection_name}} --db {{database_name}}` +`mongodump {{[-c|--collection]}} {{collection_name}} {{[-d|--db]}} {{database_name}}` - Connect to a given host running on a given port, and create a dump: -`mongodump --host {{host}} --port {{port}}` +`mongodump {{[-h|--host]}} {{host}} --port {{port}}` - Create a dump of a given database with a given username; user will be prompted for password: -`mongodump --username {{username}} {{database}} --password` +`mongodump {{[-u|--username]}} {{username}} {{database}} {{[-p|--password]}}` + +- Create a dump from a specific instance; host, user, password and database will be defined in the connection string: + +`mongodump --uri {{connection_string}}` diff --git a/pages/common/mongoexport.md b/pages/common/mongoexport.md new file mode 100644 index 00000000000000..d3ab448fe8e5e0 --- /dev/null +++ b/pages/common/mongoexport.md @@ -0,0 +1,32 @@ +# mongoexport + +> Produce exports of data stored in a MongoDB instance formatted as JSON or CSV. +> More information: . + +- Export a collection to `stdout`, formatted as JSON: + +`mongoexport --uri={{connection_string}} --collection={{collection_name}}` + +- Export the documents in the specified collection that match a query to a JSON file: + +`mongoexport --db={{database_name}} --collection={{collection_name}} --query="{{query_object}}" --out={{path/to/file.json}}` + +- Export documents as a JSON array instead of one object per line: + +`mongoexport --collection={{collection_name}} --jsonArray` + +- Export documents to a CSV file: + +`mongoexport --collection={{collection_name}} --type={{csv}} --fields="{{field1,field2,...}}" --out={{path/to/file.csv}}` + +- Export documents that match the query in the specified file to a CSV file, omitting the list of field names on the first line: + +`mongoexport --collection={{collection_name}} --type={{csv}} --fields="{{field1,field2,...}}" --queryFile={{path/to/file}} --noHeaderLine --out={{path/to/file.csv}}` + +- Export documents to `stdout`, formatted as human-readable JSON: + +`mongoexport --uri={{mongodb_uri}} --collection={{collection_name}} --pretty` + +- Display help: + +`mongoexport --help` diff --git a/pages/common/mongoimport.md b/pages/common/mongoimport.md new file mode 100644 index 00000000000000..273a5d35d176ce --- /dev/null +++ b/pages/common/mongoimport.md @@ -0,0 +1,28 @@ +# mongoimport + +> Imports content from a JSON, CSV, or TSV file into a MongoDB database. +> More information: . + +- Import a JSON file into a specific collection: + +`mongoimport --file {{path/to/file.json}} --uri {{mongodb_uri}} {{[-c|--collection]}} {{collection_name}}` + +- Import a CSV file, using the first line of the file to determine field names: + +`mongoimport --type {{csv}} --file {{path/to/file.csv}} {{[-d|--db]}} {{database_name}} {{[-c|--collection]}} {{collection_name}}` + +- Import a JSON array, using each element as a separate document: + +`mongoimport --jsonArray --file {{path/to/file.json}}` + +- Import a JSON file using a specific mode and a query to match existing documents: + +`mongoimport --file {{path/to/file.json}} --mode {{delete|merge|upsert}} --upsertFields "{{field1,field2,...}}"` + +- Import a CSV file, reading field names from a separate CSV file and ignoring fields with empty values: + +`mongoimport --type {{csv}} --file {{path/to/file.csv}} --fieldFile {{path/to/field_file.csv}} --ignoreBlanks` + +- Display help: + +`mongoimport --help` diff --git a/pages/common/mongorestore.md b/pages/common/mongorestore.md index ffc79803d3abad..c5355f7105559f 100644 --- a/pages/common/mongorestore.md +++ b/pages/common/mongorestore.md @@ -1,20 +1,20 @@ # mongorestore > Utility to import a collection or database from a binary dump into a MongoDB instance. -> More information: . +> More information: . -- Import a bson data dump from a directory to a MongoDB database: +- Import a BSON data dump from a directory to a MongoDB database: `mongorestore --db {{database_name}} {{path/to/directory}}` -- Import a bson data dump from a directory to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password): +- Import a BSON data dump from a directory to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password): `mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/directory}} --password` -- Import a collection from a bson file to a MongoDB database: +- Import a collection from a BSON file to a MongoDB database: `mongorestore --db {{database_name}} {{path/to/file}}` -- Import a collection from a bson file to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password): +- Import a collection from a BSON file to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password): `mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/file}} --password` diff --git a/pages/common/mongosh.md b/pages/common/mongosh.md new file mode 100644 index 00000000000000..fa1c1a3b01d4f1 --- /dev/null +++ b/pages/common/mongosh.md @@ -0,0 +1,21 @@ +# mongosh + +> A new shell for MongoDB, replacement for `mongo`. +> Note: All connection options can be replaced with one string: `mongodb://user@host:port/db_name?authSource=authdb_name`. +> More information: . + +- Connect to a local database on the default port (`mongodb://localhost:27017`): + +`mongosh` + +- Connect to a database: + +`mongosh --host {{host}} --port {{port}} {{db_name}}` + +- Authenticate using the specified username on the specified database (you will be prompted for a password): + +`mongosh --host {{host}} --port {{port}} --username {{username}} --authenticationDatabase {{authdb_name}} {{db_name}}` + +- Evaluate a JavaScript expression on a database: + +`mongosh --eval '{{JSON.stringify(db.foo.findOne())}}' {{db_name}}` diff --git a/pages/common/monodevelop.md b/pages/common/monodevelop.md index c841013f46837e..24251b27e03f01 100644 --- a/pages/common/monodevelop.md +++ b/pages/common/monodevelop.md @@ -1,9 +1,9 @@ # monodevelop > Cross platform IDE for C#, F# and more. -> More information: . +> More information: . -- Start Monodevelop: +- Start MonoDevelop: `monodevelop` @@ -19,7 +19,7 @@ `monodevelop --new-window` -- Disable redirection of `stdout` and stderr to a log file: +- Disable redirection of `stdout` and `stderr` to a log file: `monodevelop --no-redirect` diff --git a/pages/common/monodis.md b/pages/common/monodis.md index e27b64a38cf525..00a4e7e20fdad8 100644 --- a/pages/common/monodis.md +++ b/pages/common/monodis.md @@ -23,7 +23,7 @@ `monodis --method {{path/to/assembly.exe}}` -- Show a list of resources embedded within an assembly: +- List resources embedded within an assembly: `monodis --manifest {{path/to/assembly.dll}}` diff --git a/pages/common/monolith.md b/pages/common/monolith.md new file mode 100644 index 00000000000000..ca7d5a95968c4b --- /dev/null +++ b/pages/common/monolith.md @@ -0,0 +1,36 @@ +# monolith + +> Save a web page as a single HTML file. +> More information: . + +- Save a webpage as a single HTML file: + +`monolith {{url}}` + +- Save a webpage as a single HTML file, excluding audio: + +`monolith {{url}} {{[-a|--no-audio]}}` + +- Save a webpage as a single HTML file, excluding CSS: + +`monolith {{url}} {{[-c|--no-css]}}` + +- Save a webpage as a single HTML file, excluding images: + +`monolith {{url}} {{[-i|--no-images]}}` + +- Save a webpage as a single HTML file, excluding videos: + +`monolith {{url}} {{[-v|--no-video]}}` + +- Save a webpage as a single HTML file, excluding JavaScript: + +`monolith {{url}} {{[-j|--no-js]}}` + +- Save a webpage as a single HTML file, accepting invalid TLS certificates: + +`monolith {{url}} {{[-k|--insecure]}}` + +- Save a webpage as a single HTML file, specifying a specific output file: + +`monolith {{url}} {{[-o|--output]}} {{path/to/file.html}}` diff --git a/pages/common/monop.md b/pages/common/monop.md index e0b0ccec127b49..eda23868d0e6ac 100644 --- a/pages/common/monop.md +++ b/pages/common/monop.md @@ -1,6 +1,7 @@ # monop > Finds and displays signatures of Types and methods inside .NET assemblies. +> More information: . - Show the structure of a Type built-in of the .NET Framework: @@ -16,15 +17,15 @@ - Only show members defined in the specified Type: -`monop -r:{{path/to/assembly.dll}} --only-declared {{Namespace.Path.To.Type}}` +`monop -r:{{path/to/assembly.dll}} {{[-d|--declared-only]}} {{Namespace.Path.To.Type}}` - Show private members: -`monop -r:{{path/to/assembly.dll}} --private {{Namespace.Path.To.Type}}` +`monop -r:{{path/to/assembly.dll}} {{[-p|--private]}} {{Namespace.Path.To.Type}}` - Hide obsolete members: -`monop -r:{{path/to/assembly.dll}} --filter-obsolete {{Namespace.Path.To.Type}}` +`monop -r:{{path/to/assembly.dll}} {{[-f|--filter-obsolete]}} {{Namespace.Path.To.Type}}` - List the other assemblies that a specified assembly references: diff --git a/pages/common/montage.md b/pages/common/montage.md index 2c9064aa1ca6bb..12bd082e820078 100644 --- a/pages/common/montage.md +++ b/pages/common/montage.md @@ -1,25 +1,7 @@ # montage -> Imagemagick image montage tool. -> Tiles images into a customisable grid. -> More information: . +> This command is an alias of `magick montage`. -- Tile images into a grid, automatically resizing images larger than the grid cell size: +- View documentation for the original command: -`montage {{image1.png}} {{image2.jpg}} {{imageN.png}} montage.jpg` - -- Tile images into a grid, automatically calculating the grid cell size from the largest image: - -`montage {{image1.png}} {{image2.jpg}} {{imageN.png}} -geometry +0+0 montage.jpg` - -- Set the grid cell size and resize images to fit it before tiling: - -`montage {{image1.png}} {{image2.jpg}} {{imageN.png}} -geometry 640x480+0+0 montage.jpg` - -- Limit the number of rows and columns in the grid, causing input images to overflow into multiple output montages: - -`montage {{image1.png}} {{image2.jpg}} {{imageN.png}} -geometry +0+0 -tile 2x3 montage_%d.jpg` - -- Resize and crop images to completely fill their grid cells before tiling: - -`montage {{image1.png}} {{image2.jpg}} {{imageN.png}} -geometry +0+0 -resize 640x480^ -gravity center -crop 640x480+0+0 montage.jpg` +`tldr magick montage` diff --git a/pages/common/more.md b/pages/common/more.md index 1ea8a9a6770a64..5f7325101be848 100644 --- a/pages/common/more.md +++ b/pages/common/more.md @@ -1,19 +1,29 @@ # more -> Open a file for interactive reading, allowing scrolling and search (in forward direction only). +> Interactively display a file, allowing scrolling and searching. +> See also: `less`. +> More information: . - Open a file: -`more {{source_file}}` +`more {{path/to/file}}` -- Page down: +- Display a specific line: + +`more +{{line_number}} {{path/to/file}}` + +- Go to the next page: `` -- Search for a string (press `n` to go to the next match): +- Search for a string (press `` to go to the next match): -`/{{something}}` +`{{something}}` - Exit: -`q` +`` + +- Display help about interactive commands: + +`` diff --git a/pages/common/moreutils.md b/pages/common/moreutils.md new file mode 100644 index 00000000000000..faa1206fffea25 --- /dev/null +++ b/pages/common/moreutils.md @@ -0,0 +1,13 @@ +# moreutils + +> A collection of UNIX tools. +> Note: `moreutils` isn't a command, but a set of commands. +> More information: . + +- View documentation for pages related to standard streams: + +`tldr {{ifne|mispipe|pee|sponge|vipe|vidir}}` + +- View documentation for other pages: + +`tldr {{combine|errno|ifdata|isutt8|lckdo|parallel|zrun}}` diff --git a/pages/common/mosh.md b/pages/common/mosh.md index 759f235d4974ed..3c67025be4f741 100644 --- a/pages/common/mosh.md +++ b/pages/common/mosh.md @@ -2,7 +2,7 @@ > Mobile Shell (`mosh`) is a robust and responsive replacement for SSH. > `mosh` persists connections to remote servers while roaming between networks. -> More information: . +> More information: . - Connect to a remote server: @@ -20,10 +20,10 @@ `mosh {{remote_host}} -- {{command -with -flags}}` -- Select Mosh UDP port (useful when `{{remote_host}}` is behind a NAT): +- Select Mosh UDP port (useful when `remote_host` is behind a NAT): `mosh -p {{124}} {{username}}@{{remote_host}}` - Usage when `mosh-server` binary is outside standard path: -`mosh --server={{path/to/bin/}}mosh-server {{remote_host}}` +`mosh --server={{path/to/mosh-server}} {{remote_host}}` diff --git a/pages/common/mosquitto.md b/pages/common/mosquitto.md index d2c690b2062e8b..6e6300e5391981 100644 --- a/pages/common/mosquitto.md +++ b/pages/common/mosquitto.md @@ -1,20 +1,20 @@ # mosquitto > An MQTT broker. -> More information: . +> More information: . -- Start mosquitto: +- Start Mosquitto: `mosquitto` - Specify a configuration file to use: -`mosquitto --config-file {{path/to/file.conf}}` +`mosquitto {{[-c|--config-file]}} {{path/to/file.conf}}` - Listen on a specific port: -`mosquitto --port {{8883}}` +`mosquitto {{[-p|--port]}} {{8883}}` - Daemonize by forking into the background: -`mosquitto --daemon` +`mosquitto {{[-d|--daemon]}}` diff --git a/pages/common/mosquitto_passwd.md b/pages/common/mosquitto_passwd.md index 48b17dc1496e3f..8c6ed8a86280db 100644 --- a/pages/common/mosquitto_passwd.md +++ b/pages/common/mosquitto_passwd.md @@ -1,7 +1,7 @@ # mosquitto_passwd > Manage password files for mosquitto. -> See also `mosquitto`, the MQTT server that this manages. +> See also: `mosquitto`, the MQTT server that this manages. > More information: . - Add a new user to a password file (will prompt to enter the password): diff --git a/pages/common/mosquitto_pub.md b/pages/common/mosquitto_pub.md index cde30e4c3d2b10..01dcfc806c4a89 100644 --- a/pages/common/mosquitto_pub.md +++ b/pages/common/mosquitto_pub.md @@ -5,24 +5,24 @@ - Publish a temperature value of 32 on the topic `sensors/temperature` to 192.168.1.1 (defaults to `localhost`) with Quality of Service (`QoS`) set to 1: -`mosquitto_pub -h {{192.168.1.1}} -t {{sensors/temperature}} -m {{32}} -q {{1}}` +`mosquitto_pub {{[-h|--host]}} {{192.168.1.1}} {{[-t|--topic]}} {{sensors/temperature}} {{[-m|--message]}} {{32}} {{[-q|--qos]}} {{1}}` - Publish timestamp and temperature data on the topic `sensors/temperature` to a remote host on a non-standard port: -`mosquitto_pub -h {{192.168.1.1}} -p {{1885}} -t {{sensors/temperature}} -m "{{1266193804 32}}"` +`mosquitto_pub {{[-h|--host]}} {{192.168.1.1}} {{[-p|--port]}} {{1885}} {{[-t|--topic]}} {{sensors/temperature}} {{[-m|--message]}} "{{1266193804 32}}"` - Publish light switch status and retain the message on the topic `switches/kitchen_lights/status` to a remote host because there may be a long period of time between light switch events: -`mosquitto_pub -r -h "{{iot.eclipse.org}}" -t {{switches/kitchen_lights/status}} -m "{{on}}"` +`mosquitto_pub {{[-r|--retain]}} {{[-h|--host]}} "{{iot.eclipse.org}}" {{[-t|--topic]}} {{switches/kitchen_lights/status}} {{[-m|--message]}} "{{on}}"` - Send the contents of a file (`data.txt`) as a message and publish it to `sensors/temperature` topic: -`mosquitto_pub -t {{sensors/temperature}} -f {{data.txt}}` +`mosquitto_pub {{[-t|--topic]}} {{sensors/temperature}} {{[-f|--file]}} {{data.txt}}` - Send the contents of a file (`data.txt`), by reading from `stdin` and send the entire input as a message and publish it to `sensors/temperature` topic: -`mosquitto_pub -t {{sensors/temperature}} -s < {{data.txt}}` +`mosquitto_pub {{[-t|--topic]}} {{sensors/temperature}} {{[-s|--stdin-file]}} < {{data.txt}}` - Read newline delimited data from `stdin` as a message and publish it to `sensors/temperature` topic: -`{{echo data.txt}} | mosquitto_pub -t {{sensors/temperature}} -l` +`{{echo data.txt}} | mosquitto_pub {{[-t|--topic]}} {{sensors/temperature}} {{[-l|--stdin-line]}}` diff --git a/pages/common/mosquitto_sub.md b/pages/common/mosquitto_sub.md index e2e0878667f081..75e457e04f0127 100644 --- a/pages/common/mosquitto_sub.md +++ b/pages/common/mosquitto_sub.md @@ -3,14 +3,14 @@ > A simple MQTT version 3.1.1 client that will subscribe to topics and print the messages that it receives. > More information: . -- Subscribe to the topic `sensors/temperature` information with Quality of Service (`QoS`) set to 1. (The default hostname is `localhost` and port `1883`): +- Subscribe to the topic `sensors/temperature` information with Quality of Service (`QoS`) set to 1. (The default hostname is `localhost` and port 1883): -`mosquitto_sub -t {{sensors/temperature}} -q {{1}}` +`mosquitto_sub {{[-t|--topic]}} {{sensors/temperature}} {{[-q|--qos]}} {{1}}` -- Subscribe to all broker status messages publishing on `iot.eclipse.org` port `1885` and print published messages verbosely: +- Subscribe to all broker status messages publishing on `iot.eclipse.org` port 1885 and print published messages verbosely: -`mosquitto_sub -v -h "iot.eclipse.org" -p 1885 -t {{\$SYS/#}}` +`mosquitto_sub {{[-v|--verbose]}} {{[-h|--host]}} "iot.eclipse.org" {{[-p|--port]}} 1885 {{[-t|--topic]}} {{\$SYS/#}}` - Subscribe to multiple topics matching a given pattern. (+ takes any metric name): -`mosquitto_sub -t {{sensors/machines/+/temperature/+}}` +`mosquitto_sub {{[-t|--topic]}} {{sensors/machines/+/temperature/+}}` diff --git a/pages/common/most.md b/pages/common/most.md index 539049129ae5df..b9251c3be5153c 100644 --- a/pages/common/most.md +++ b/pages/common/most.md @@ -1,6 +1,7 @@ # most > Open one or several files for interactive reading, allowing scrolling and search. +> More information: . - Open a file: @@ -8,28 +9,28 @@ - Open several files: -`most {{path/to/file1}} {{path/to/file2}}` +`most {{path/to/file1 path/to/file2 ...}}` - Open a file at the first occurrence of "string": -`most {{file}} +/{{string}}` +`most {{path/to/file}} +/{{string}}` - Move through opened files: -`:O n` +`<:>{{|}}` - Jump to the 100th line: -`{{100}}j` +`{{100}}` - Edit current file: -`e` +`` - Split the current window in half: -` o` +`` - Exit: -`Q` +`` diff --git a/pages/common/mount.md b/pages/common/mount.md deleted file mode 100644 index ad9a712792db31..00000000000000 --- a/pages/common/mount.md +++ /dev/null @@ -1,27 +0,0 @@ -# mount - -> Provides access to an entire filesystem in one directory. - -- Show all mounted filesystems: - -`mount` - -- Mount a device to a directory: - -`mount -t {{filesystem_type}} {{path/to/device_file}} {{path/to/target_directory}}` - -- Mount a CD-ROM device (with the filetype ISO9660) to /cdrom (readonly): - -`mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}` - -- Mount all the filesystem defined in /etc/fstab: - -`mount -a` - -- Mount a specific filesystem described in /etc/fstab (e.g. "/dev/sda1 /my_drive ext2 defaults 0 2"): - -`mount {{/my_drive}}` - -- Mount a directory to another directory: - -`mount --bind {{path/to/old_dir}} {{path/to/new_dir}}` diff --git a/pages/common/mozillavpn.md b/pages/common/mozillavpn.md new file mode 100644 index 00000000000000..c401048a2218ce --- /dev/null +++ b/pages/common/mozillavpn.md @@ -0,0 +1,37 @@ +# mozillavpn + +> A Virtual Private Network from the makers of Firefox. +> See also: `fastd`, `ivpn`, `mullvad`, `warp-cli`. +> More information: . + +- Log in with an interactive prompt: + +`mozillavpn login` + +- Connect to Mozilla VPN: + +`mozillavpn activate` + +- Display the connection status: + +`mozillavpn status` + +- List available servers: + +`mozillavpn servers` + +- Select a specific server: + +`mozillavpn select {{server_name}}` + +- Disconnect from Mozilla VPN: + +`mozillavpn deactivate` + +- Log out: + +`mozillavpn logout` + +- Display help for a subcommand: + +`mozillavpn {{subcommand}} --help` diff --git a/pages/common/mp3info.md b/pages/common/mp3info.md new file mode 100644 index 00000000000000..72dcfdd1c02b7b --- /dev/null +++ b/pages/common/mp3info.md @@ -0,0 +1,28 @@ +# mp3info + +> Viewer/editor for ID3v1 (but not ID3v2) tags of MP3 files. +> More information: . + +- Show all ID3v1 tags of a specific MP3 file: + +`mp3info {{path/to/file.mp3}}` + +- Edit ID3v1 tags [i]nteractively: + +`mp3info -i {{path/to/file.mp3}}` + +- Set values for ID3v1 tags in a specific MP3 file ([a]rtist, [t]itle, a[l]bum, [y]ear, and [c]omment): + +`mp3info -a "{{artist_name}}" -t "{{song_title}}" -l "{{album_title}}" -y {{year}} -c "{{comment_text}}" {{path/to/file.mp3}}` + +- Set the [n]umber of the track in the album for a specific MP3 file: + +`mp3info -n {{track_number}} {{path/to/file.mp3}}` + +- [G]et a list of valid genres and their numeric codes: + +`mp3info -G` + +- Set the music [g]enre for a specific MP3 file: + +`mp3info -g {{genre_number}} {{path/to/file.mp3}}` diff --git a/pages/common/mp4box.md b/pages/common/mp4box.md index f790f499c17f09..c410b2618f78d6 100644 --- a/pages/common/mp4box.md +++ b/pages/common/mp4box.md @@ -1,11 +1,11 @@ # mp4box -> MPEG-4 Systems Toolbox - Muxes streams into MP4 container. +> MPEG-4 Systems Toolbox: muxe streams into MP4 container. > More information: . - Display information about an existing MP4 file: -`mp4box -info {{filename}}` +`mp4box -info {{path/to/file}}` - Add an SRT subtitle file into an MP4 file: @@ -13,4 +13,4 @@ - Combine audio from one file and video from another: -`mp4box -add {{input1.mp4}}#audio -add {{input2.mp4}}#video {{output.mp4}` +`mp4box -add {{input1.mp4}}#audio -add {{input2.mp4}}#video {{output.mp4}}` diff --git a/pages/common/mpc.md b/pages/common/mpc.md index b361c92db3584f..3fda3ac50d17ff 100644 --- a/pages/common/mpc.md +++ b/pages/common/mpc.md @@ -1,8 +1,8 @@ # mpc -> Music Player Client. -> Program for controlling the Music Player Daemon (MPD). -> More information: . +> Music Player Client: control the Music Player Daemon (MPD). +> See also: `mpd`, `ncmpcpp`, `cmus`. +> More information: . - Toggle play/pause: @@ -16,14 +16,14 @@ `mpc status` -- Play next song: +- Play the next song: `mpc next` -- Play previous song: +- Play the previous song: `mpc prev` -- Forward or rewind the currently playing song: +- Seek `n` seconds forward (`+`) or backward (`-`): -`mpc [+-]{{seconds}}` +`mpc {{+n|-n}}` diff --git a/pages/common/mpd.md b/pages/common/mpd.md new file mode 100644 index 00000000000000..58d0afb4e91609 --- /dev/null +++ b/pages/common/mpd.md @@ -0,0 +1,21 @@ +# mpd + +> Music Player Daemon. +> See also: `mpc`, `ncmpcpp`. +> More information: . + +- Start MPD: + +`mpd` + +- Start MPD but don't read from the configuration file: + +`mpd --no-config` + +- Start MPD and don't detach it from the console: + +`mpd --no-daemon` + +- Kill the currently running MPD session: + +`mpd --kill` diff --git a/pages/common/mpg321.md b/pages/common/mpg321.md index 424dc6a49de96a..48cd0d1c7a06aa 100644 --- a/pages/common/mpg321.md +++ b/pages/common/mpg321.md @@ -2,11 +2,11 @@ > High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. > Mpg321 was written (sometime in 1999) to be a drop-in replacement for the (previously) non-free mpg123 player. -> More information: . +> More information: . -- Play an audio source exactly N times (N=0 means forever): +- Play an audio source exactly `n` times (0 means forever): -`mpg321 -l {{N}} {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` +`mpg321 {{[-l|--loop]}} {{n}} {{path/to/file_a|URL path/to/file_b|URL ...}}` - Play a directory recursively: @@ -14,16 +14,16 @@ - Enable Basic Keys ( `*` or `/` - Increase or decrease volume, `n` - Skip song, `m` - Mute/unmute.) while playing: -`mpg321 -K {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` +`mpg321 -K {{path/to/file_a|URL path/to/file_b|URL ...}}` - Play files randomly until interrupted: -`mpg321 -Z {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` +`mpg321 {{[-Z|--random]}} {{path/to/file_a|URL path/to/file_b|URL ...}}` - Shuffle the files before playing them once: -`mpg321 -z {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` +`mpg321 {{[-z|--shuffle]}} {{path/to/file_a|URL path/to/file_b|URL ...}}` - Play all files in the current directory and subdirectories, randomly (until interrupted), with Basic Keys enabled: -`mpg321 -B -Z -K .` +`mpg321 -B {{[-Z|--random]}} -K .` diff --git a/pages/common/mpic++.md b/pages/common/mpic++.md new file mode 100644 index 00000000000000..cffd73e8a2842c --- /dev/null +++ b/pages/common/mpic++.md @@ -0,0 +1,13 @@ +# mpic++ + +> Open MPI wrapper compiler for C++. +> See also: `mpirun`. +> More information: . + +- Compile an Open MPI program: + +`mpic++ {{path/to/source_file}}` + +- Show all the wrapper-supplied flags: + +`mpic++ --showme` diff --git a/pages/common/mpicc.md b/pages/common/mpicc.md new file mode 100644 index 00000000000000..b7801d723df4eb --- /dev/null +++ b/pages/common/mpicc.md @@ -0,0 +1,16 @@ +# mpicc + +> Open MPI C wrapper compiler. +> More information: . + +- Compile a source code file into an object file: + +`mpicc -c {{path/to/file.c}}` + +- Link an object file and make an executable: + +`mpicc -o {{executable}} {{path/to/object_file.o}}` + +- Compile and link source code in a single command: + +`mpicc -o {{executable}} {{path/to/file.c}}` diff --git a/pages/common/mpicxx.md b/pages/common/mpicxx.md new file mode 100644 index 00000000000000..d0a01ce8a86cb8 --- /dev/null +++ b/pages/common/mpicxx.md @@ -0,0 +1,7 @@ +# mpicxx + +> This command is an alias of `mpic++`. + +- View documentation for the original command: + +`tldr mpic++` diff --git a/pages/common/mpiexec.md b/pages/common/mpiexec.md new file mode 100644 index 00000000000000..79c67e8678e19b --- /dev/null +++ b/pages/common/mpiexec.md @@ -0,0 +1,7 @@ +# mpiexec + +> This command is an alias of `mpirun`. + +- View documentation for the original command: + +`tldr mpirun` diff --git a/pages/common/mpijavac.md b/pages/common/mpijavac.md new file mode 100644 index 00000000000000..be1441d8c4de27 --- /dev/null +++ b/pages/common/mpijavac.md @@ -0,0 +1,25 @@ +# mpijavac + +> Open MPI compiler wrapper for Java. +> See also: `mpirun`. +> More information: . + +- Compile a Java source file: + +`mpijavac {{path/to/source_file.java}}` + +- Pass application-specific classpaths to compiler: + +`mpijavac -cp {{path/to/my/app.jar}} {{path/to/source_file.java}}` + +- Show the flags necessary to build MPI Java applications: + +`mpijavac --showme` + +- Show the flags necessary to compile MPI Java applications: + +`mpijavac --showme:compile` + +- Show full invoked Java compiler command line: + +`mpijavac {{path/to/source_file.java}} --showme` diff --git a/pages/common/mpirun.md b/pages/common/mpirun.md new file mode 100644 index 00000000000000..20e03bc6801a44 --- /dev/null +++ b/pages/common/mpirun.md @@ -0,0 +1,17 @@ +# mpirun + +> Execute serial and parallel jobs in Open MPI. +> See also: `mpic++`. +> More information: . + +- Execute an Open MPI program: + +`mpirun {{path/to/executable}}` + +- Execute an Open MPI program with `n` parallel processes: + +`mpirun -n {{n}} {{path/to/executable}}` + +- Allow more processes than available physical cores: + +`mpirun -oversubscribe {{path/to/executable}}` diff --git a/pages/common/mplayer.md b/pages/common/mplayer.md new file mode 100644 index 00000000000000..a82cbc42606cd2 --- /dev/null +++ b/pages/common/mplayer.md @@ -0,0 +1,28 @@ +# mplayer + +> Cross-platform multimedia player. +> More information: . + +- Play the specified file or URL: + +`mplayer {{path/to/file|url}}` + +- Play multiple files: + +`mplayer {{path/to/file1 path/to/file2 ...}}` + +- Play a specific file repeatedly: + +`mplayer -loop {{0}} {{path/to/file}}` + +- Pause playback: + +`` + +- Quit mplayer: + +`` + +- Seek backward or forward 10 seconds: + +`{{|}}` diff --git a/pages/common/mpremote.md b/pages/common/mpremote.md new file mode 100644 index 00000000000000..a62af2f826dc6f --- /dev/null +++ b/pages/common/mpremote.md @@ -0,0 +1,24 @@ +# mpremote + +> Remotely control MicroPython devices. +> More information: . + +- List all connected MicroPython devices: + +`mpremote connect list` + +- Open an interactive REPL session with a connected device: + +`mpremote connect {{device}}` + +- Run a local script on a connected device: + +`mpremote run {{path/to/script.py}}` + +- Mount a local directory to the device: + +`mpremote mount {{path/to/directory}}` + +- Install a mip package on the device: + +`mpremote mip install {{package}}` diff --git a/pages/common/mpv.md b/pages/common/mpv.md index 8943e5bf8e5e20..ff45d33f61255f 100644 --- a/pages/common/mpv.md +++ b/pages/common/mpv.md @@ -1,36 +1,37 @@ # mpv > A audio/video player based on MPlayer. -> More information: . +> See also: `mplayer`, `vlc`. +> More information: . -- Play a video or audio file: +- Play a video or audio from a URL or file: -`mpv {{file}}` - -- Play a video or audio file from an URL: - -`mpv '{{https://www.youtube.com/watch?v=dQw4w9WgXcQ}}'` +`mpv {{url|path/to/file}}` - Jump backward/forward 5 seconds: -`LEFT RIGHT` +`{{|}}` - Jump backward/forward 1 minute: -`DOWN UP` +`{{|}}` -- Decrease or increase playback speed by 10 %: +- Decrease or increase playback speed by 10%: -`[ ]` +`{{<[>|<]>}}` -- Play a file at a specified speed (0.01 to 100, default 1): +- Add subtitles from a file: -`mpv --speed {{speed}} {{file}}` +`mpv --sub-file={{path/to/file}}` -- Play a file using a profile defined in the `mpv.conf` file: +- Take a screenshot of the current frame (saved to `./mpv-shotNNNN.jpg` by default): -`mpv --profile {{profile_name}} {{file}}` +`` -- Display the output of webcam or other video input device: +- Play a file at a specified speed (1 by default): + +`mpv --speed {{0.01..100}} {{path/to/file}}` + +- Play a file using a profile defined in the `mpv.conf` file: -`mpv /dev/{{video0}}` +`mpv --profile {{profile_name}} {{path/to/file}}` diff --git a/pages/common/mqtt_check.py.md b/pages/common/mqtt_check.py.md new file mode 100644 index 00000000000000..156c7d92e997b2 --- /dev/null +++ b/pages/common/mqtt_check.py.md @@ -0,0 +1,29 @@ +# mqtt_check.py + +> Simple utility for testing and validating MQTT login credentials. +> Part of the Impacket suite. +> More information: . + +- Check MQTT login credentials for a target (MQTT broker's hostname): + +`mqtt_check.py {{domain}}/{{username}}:{{password}}@{{targetName}}` + +- Specify a custom client ID for authentication: + +`mqtt_check.py -client-id {{client_id}} {{domain}}/{{username}}:{{password}}@{{targetName}}` + +- Enable SSL for the connection: + +`mqtt_check.py -ssl {{domain}}/{{username}}:{{password}}@{{targetName}}` + +- Connect to a specific port (default is 1883): + +`mqtt_check.py -port {{port}} {{domain}}/{{username}}:{{password}}@{{targetName}}` + +- Enable debug output: + +`mqtt_check.py -debug {{domain}}/{{username}}:{{password}}@{{targetName}}` + +- Display help: + +`mqtt_check.py --help` diff --git a/pages/common/mr.md b/pages/common/mr.md index fcd175cf330501..679f224adc72d5 100644 --- a/pages/common/mr.md +++ b/pages/common/mr.md @@ -1,6 +1,6 @@ # mr -> Myrepos manages all your version control repositories at once. +> Manage all of your version control repositories at once. > More information: . - Register a repository: @@ -9,7 +9,7 @@ - Update repositories in 5 concurrent jobs: -`mr -j{{5}} update` +`mr {{[-j|--jobs]}} {{5}} update` - Print the status of all repositories: diff --git a/pages/common/msbuild.md b/pages/common/msbuild.md index b7bfc1b2532ed2..996d51f78b82bd 100644 --- a/pages/common/msbuild.md +++ b/pages/common/msbuild.md @@ -1,7 +1,7 @@ # msbuild > The Microsoft build tool for Visual Studio project solutions. -> More information: . +> More information: . - Build the first project file in the current directory: @@ -11,15 +11,15 @@ `msbuild {{path/to/project_file}}` -- Set one or more semicolon-separated targets to build: +- Specify one or more semicolon-separated targets to build: `msbuild {{path/to/project_file}} /target:{{targets}}` -- Set one or more semicolon-separated properties: +- Specify one or more semicolon-separated properties: `msbuild {{path/to/project_file}} /property:{{name=value}}` -- Set the build tools version to use: +- Specify the build tools version to use: `msbuild {{path/to/project_file}} /toolsversion:{{version}}` @@ -27,6 +27,6 @@ `msbuild {{path/to/project_file}} /detailedsummary` -- Display detailed help information: +- Display help: `msbuild /help` diff --git a/pages/common/mscore.md b/pages/common/mscore.md new file mode 100644 index 00000000000000..cb2bde6b7868ca --- /dev/null +++ b/pages/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> This command is an alias of `musescore`. + +- View documentation for the original command: + +`tldr musescore` diff --git a/pages/common/msedge.md b/pages/common/msedge.md new file mode 100644 index 00000000000000..64fb6e3b5ab361 --- /dev/null +++ b/pages/common/msedge.md @@ -0,0 +1,12 @@ +# msedge + +> The Microsoft Edge command-line utility is available as `msedge` on Windows and `microsoft-edge` for other platforms. +> More information: . + +- View the documentation for Microsoft Edge for Windows: + +`tldr {{[-p|--platform]}} windows msedge` + +- View the documentation for Microsoft Edge for other platforms: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages/common/msfconsole.md b/pages/common/msfconsole.md new file mode 100644 index 00000000000000..5b9b99880c247b --- /dev/null +++ b/pages/common/msfconsole.md @@ -0,0 +1,28 @@ +# msfconsole + +> Console for the Metasploit Framework. +> More information: . + +- Launch the console: + +`msfconsole` + +- Launch the console quietly without any banner: + +`msfconsole {{[-q|--quiet]}}` + +- Do not enable database support: + +`msfconsole {{[-n|--no-database]}}` + +- Execute console commands (Note: Use `;` for passing multiple commands): + +`msfconsole {{[-x|--execute-command]}} "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"` + +- Display help: + +`msfconsole {{[-h|--help]}}` + +- Display version: + +`msfconsole {{[-v|--version]}}` diff --git a/pages/common/msfvenom.md b/pages/common/msfvenom.md index e6f298a281f256..50da838656d9c7 100644 --- a/pages/common/msfvenom.md +++ b/pages/common/msfvenom.md @@ -1,24 +1,28 @@ # msfvenom > Manually generate payloads for metasploit. -> More information: . +> More information: . - List payloads: -`msfvenom -l payloads` +`msfvenom {{[-l|--list]}} payloads` - List formats: -`msfvenom -l formats` +`msfvenom {{[-l|--list]}} formats` - Show payload options: -`msfvenom -p {{payload}} --list-options` +`msfvenom {{[-p|--payload]}} {{payload}} --list-options` - Create an ELF binary with a reverse TCP handler: -`msfvenom -p linux/x64/meterpreter/reverse_tcp LHOST={{local_ip}} LPORT={{local_port}} -f elf > {{path/to/binary}}` +`msfvenom {{[-p|--payload]}} linux/x64/meterpreter/reverse_tcp LHOST={{local_ip}} LPORT={{local_port}} {{[-f|--format]}} elf {{[-o|--out]}} {{path/to/binary}}` - Create an EXE binary with a reverse TCP handler: -`msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST={{local_ip}} LPORT={{local_port}} -f exe > {{path/to/binary.exe}}` +`msfvenom {{[-p|--payload]}} windows/x64/meterpreter/reverse_tcp LHOST={{local_ip}} LPORT={{local_port}} {{[-f|--format]}} exe {{[-o|--out]}} {{path/to/binary.exe}}` + +- Create a raw Bash with a reverse TCP handler: + +`msfvenom {{[-p|--payload]}} cmd/unix/reverse_bash LHOST={{local_ip}} LPORT={{local_port}} {{[-f|--format]}} raw` diff --git a/pages/common/msgcat.md b/pages/common/msgcat.md new file mode 100644 index 00000000000000..67eb3c8a1d6d64 --- /dev/null +++ b/pages/common/msgcat.md @@ -0,0 +1,29 @@ +# msgcat + +> Concatenate and merge multiple `.po` translation files. +> Useful in software localization pipelines to combine message catalogs with filtering options. +> More information: . + +- Combine multiple `.po` files into one: + +`msgcat {{file1.po file2.po ...}} {{[-o|--output-file]}} {{combined.po}}` + +- Combine input files listed in a text file: + +`msgcat {{[-f|--files-from]}} {{path/to/file_list.txt}} {{[-o|--output-file]}} {{combined.po}}` + +- Set the output encoding (e.g. UTF-8): + +`msgcat {{[-t|--to-code]}} {{UTF-8}} {{input.po}} {{[-o|--output-file]}} {{output.po}}` + +- Output only unique messages (appearing in one file only): + +`msgcat {{[-u|--unique]}} {{file1.po file2.po ...}} {{[-o|--output-file]}} {{unique.po}}` + +- Use the first available translation for duplicate entries: + +`msgcat --use-first {{file1.po file2.po ...}} {{[-o|--output-file]}} {{output.po}}` + +- Display help: + +`msgcat {{[-h|--help]}}` diff --git a/pages/common/msgfmt.md b/pages/common/msgfmt.md new file mode 100644 index 00000000000000..96dc20f615ee5a --- /dev/null +++ b/pages/common/msgfmt.md @@ -0,0 +1,16 @@ +# msgfmt + +> Compile message catalog to binary format. +> More information: . + +- Compile a file to `messages.mo`: + +`msgfmt {{file.po}}` + +- Convert a `.po` file to a `.mo` file: + +`msgfmt {{path/to/file.po}} {{[-o|--output-file]}} {{path/to/file.mo}}` + +- Display help: + +`msgfmt {{[-h|--help]}}` diff --git a/pages/common/msginit.md b/pages/common/msginit.md new file mode 100644 index 00000000000000..3f1419ad15c647 --- /dev/null +++ b/pages/common/msginit.md @@ -0,0 +1,16 @@ +# msginit + +> Generate language specific translation files based on Portable Object Templates. +> More information: . + +- Generate Portable Object files in system locale from `messages.pot`: + +`msginit` + +- Define locale to generate from a specific template: + +`msginit {{[-l|--locale]}} {{locale}} {{[-i|--input]}} {{path/to/messages.pot}}` + +- Display help: + +`msginit {{[-h|--help]}}` diff --git a/pages/common/msgmerge.md b/pages/common/msgmerge.md new file mode 100644 index 00000000000000..37e53c24202a2a --- /dev/null +++ b/pages/common/msgmerge.md @@ -0,0 +1,12 @@ +# msgmerge + +> Update an existing translation file from a new template. +> More information: . + +- Update a translation file: + +`msgmerge {{[-U|--update]}} {{path/to/file.po}} {{path/to/messages.pot}}` + +- Display help: + +`msgmerge {{[-h|--help]}}` diff --git a/pages/common/msgunfmt.md b/pages/common/msgunfmt.md new file mode 100644 index 00000000000000..7fc56061de3025 --- /dev/null +++ b/pages/common/msgunfmt.md @@ -0,0 +1,12 @@ +# msgunfmt + +> Decompile message catalog from the binary format. +> More information: . + +- Output conversion: + +`msgunfmt {{path/to/file.mo}}` + +- Convert a `.mo` file to a `.po` file: + +`msgunfmt {{path/to/file.mo}} > {{path/to/file.po}}` diff --git a/pages/common/msmtp.md b/pages/common/msmtp.md index b9eda22f762c76..354cf910888520 100644 --- a/pages/common/msmtp.md +++ b/pages/common/msmtp.md @@ -1,7 +1,7 @@ # msmtp > An SMTP client. -> It reads text from standard input and sends it to an SMTP server. +> It reads text from `stdin` and sends it to an SMTP server. > More information: . - Send an email using the default account configured in `~/.msmtprc`: diff --git a/pages/common/mssqlclient.py.md b/pages/common/mssqlclient.py.md new file mode 100644 index 00000000000000..3a9f859a3cb141 --- /dev/null +++ b/pages/common/mssqlclient.py.md @@ -0,0 +1,37 @@ +# mssqlclient.py + +> Connect to Microsoft SQL Server instances and execute queries. +> Part of the Impacket suite. +> More information: . + +- Connect to an MSSQL server using Windows authentication: + +`mssqlclient.py -windows-auth {{domain}}/{{username}}:{{password}}@{{target}}` + +- Connect using SQL server authentication: + +`mssqlclient.py {{username}}:{{password}}@{{target}}` + +- Connect using pass-the-hash authentication: + +`mssqlclient.py {{domain}}/{{username}}@{{target}} -hashes {{LM_Hash}}:{{NT_Hash}}` + +- Connect using Kerberos authentication (requires valid tickets): + +`mssqlclient.py -k {{domain}}/{{username}}@{{target}}` + +- Execute a specific SQL command upon connection: + +`mssqlclient.py {{username}}:{{password}}@{{target}} -query "{{SELECT user_name();}}"` + +- Execute multiple SQL commands from a file: + +`mssqlclient.py {{username}}:{{password}}@{{target}} -file {{path/to/sql_file.sql}}` + +- Connect to a specific database instance (default is `None`): + +`mssqlclient.py {{username}}:{{password}}@{{target}} -db {{database_name}}` + +- Display SQL queries before execution: + +`mssqlclient.py {{username}}:{{password}}@{{target}} -show` diff --git a/pages/common/mtm.md b/pages/common/mtm.md new file mode 100644 index 00000000000000..87c394b2ebf4c5 --- /dev/null +++ b/pages/common/mtm.md @@ -0,0 +1,33 @@ +# mtm + +> Minimal terminal multiplexer. +> See also: `tmux`, `screen`. +> More information: . + +- Start the program with default command chord (``): + +`mtm` + +- Use `` as the command chord: + +`mtm -c {{q}}` + +- Split and stack horizontally: + +`` + +- Split and stack vertically: + +`` + +- View scrollback buffer: + +`` + +- Switch terminals: + +`` + +- Close current terminal: + +`` diff --git a/pages/common/mtr.md b/pages/common/mtr.md index 7fc34dcfeba9b3..99c743e6244e01 100644 --- a/pages/common/mtr.md +++ b/pages/common/mtr.md @@ -1,24 +1,32 @@ # mtr > Matt's Traceroute: combined traceroute and ping tool. -> More information: . +> More information: . - Traceroute to a host and continuously ping all intermediary hops: -`mtr {{host}}` +`mtr {{example.com}}` - Disable IP address and host name mapping: -`mtr -n {{host}}` +`mtr {{[-n|--no-dns]}} {{example.com}}` - Generate output after pinging each hop 10 times: -`mtr -w {{host}}` +`mtr {{[-w|--report-wide]}} {{example.com}}` - Force IP IPv4 or IPV6: -`mtr -4 {{host}}` +`mtr -4 {{example.com}}` - Wait for a given time (in seconds) before sending another packet to the same hop: -`mtr -i {{seconds}} {{host}}` +`mtr {{[-i|--interval]}} {{10}} {{example.com}}` + +- Display the Autonomous System Number (ASN) for each hop: + +`mtr {{[-z|--aslookup]}} {{example.com}}` + +- Display both IP address and reverse DNS name: + +`mtr {{[-b|--show-ips]}} {{example.com}}` diff --git a/pages/common/mtvtoppm.md b/pages/common/mtvtoppm.md new file mode 100644 index 00000000000000..0868a00db7473c --- /dev/null +++ b/pages/common/mtvtoppm.md @@ -0,0 +1,8 @@ +# mtvtoppm + +> Convert an MTV or PRT ray tracer file to a PPM image. +> More information: . + +- Convert an MTV or PRT ray tracer file to a PPM image: + +`mtvtoppm {{path/to/file.mtv}} > {{path/to/output.ppm}}` diff --git a/pages/common/mu.md b/pages/common/mu.md new file mode 100644 index 00000000000000..e5a0e09e918852 --- /dev/null +++ b/pages/common/mu.md @@ -0,0 +1,32 @@ +# mu + +> Index and search emails from a local Maildir. +> More information: . + +- Initialize the email database, optionally specifying the Maildir directory and email addresses: + +`mu init --maildir={{path/to/directory}} --my-address={{name@example.com}}` + +- Index new emails: + +`mu index` + +- Find messages using a specific keyword (in message body, subject, sender, ...): + +`mu find {{keyword}}` + +- Find messages to Alice with subject `jellyfish` containing the words `apples` or `oranges`: + +`mu find to:{{alice}} subject:{{jellyfish}} {{apples}} OR {{oranges}}` + +- Find unread messages about words starting with `soc` (the `*` only works at the end of the search term) in the Sent Items folder: + +`mu find 'subject:{{soc}}*' flag:{{unread}} maildir:'/{{Sent Items}}'` + +- Find messages from Sam with attached images, between 2 KiB and 2 MiB, written in 2021: + +`mu find 'mime:{{image/*}} size:{{2k..2m}} date:{{20210101..20211231}} from:{{sam}}` + +- List contacts with `Bob` in either name or email address: + +`mu cfind {{Bob}}` diff --git a/pages/common/mullvad.md b/pages/common/mullvad.md new file mode 100644 index 00000000000000..28c64bcd5a47a4 --- /dev/null +++ b/pages/common/mullvad.md @@ -0,0 +1,33 @@ +# mullvad + +> CLI client for Mullvad VPN. +> See also: `fastd`, `ivpn`, `mozillavpn`, `warp-cli`. +> More information: . + +- Link your Mullvad account with the specified account number: + +`mullvad account set {{account_number}}` + +- Enable LAN access while VPN is on: + +`mullvad lan set allow` + +- Select a server in a specific city: + +`mullvad relay set location {{se}} {{mma}}` + +- Select a specific server: + +`mullvad relay set location {{se-mma-wg-001}}` + +- Establish the VPN tunnel: + +`mullvad connect` + +- Check status of VPN tunnel: + +`mullvad status` + +- Check the account expiration date and obtain the device name: + +`mullvad account get` diff --git a/pages/common/multipass.md b/pages/common/multipass.md index c06fd1175ead42..8284b027006d9d 100644 --- a/pages/common/multipass.md +++ b/pages/common/multipass.md @@ -1,7 +1,7 @@ # multipass -> CLI to manage Ubuntu virtual machines using native hypervisors. -> More information: . +> Manage Ubuntu virtual machines using native hypervisors. +> More information: . - List the aliases that can be used to launch an instance: @@ -9,7 +9,7 @@ - Launch a new instance, set its name and use a cloud-init configuration file: -`multipass launch -n {{instance_name}} --cloud-init {{configuration_file}}` +`multipass launch {{[-n|--name]}} {{instance_name}} --cloud-init {{configuration_file}}` - List all the created instances and some of their properties: diff --git a/pages/common/multitail.md b/pages/common/multitail.md index e00005c7d84c18..de37584b62d974 100644 --- a/pages/common/multitail.md +++ b/pages/common/multitail.md @@ -1,7 +1,7 @@ # multitail > Extension of tail. -> More information: . +> More information: . - Tail all files matching a pattern in a single stream: @@ -9,7 +9,7 @@ - Tail all files in a directory in a single stream: -`multitail -Q 1 '{{directory}}/*'` +`multitail -Q 1 '{{path/to/directory}}/*'` - Automatically add new files to a window: @@ -17,4 +17,4 @@ - Show 5 logfiles while merging 2 and put them in 2 columns with only one in the left column: -`multitail -s 2 -sn 1,3 {{mergefile}} -I {{file1}} {{file2}} {{file3}} {{file4}}` +`multitail -s 2 -sn 1,3 {{path/to/mergefile}} -I {{path/to/file1}} {{path/to/file2}} {{path/to/file3}} {{path/to/file4}}` diff --git a/pages/common/mumble.md b/pages/common/mumble.md new file mode 100644 index 00000000000000..5858b4869d46c2 --- /dev/null +++ b/pages/common/mumble.md @@ -0,0 +1,24 @@ +# mumble + +> Low-latency, high quality voice chat software. +> More information: . + +- Open Mumble: + +`mumble` + +- Open Mumble and immediately connect to a server: + +`mumble mumble://{{username}}@{{example.com}}` + +- Open Mumble and immediately connect to a password protected server: + +`mumble mumble://{{username}}:{{password}}@{{example.com}}` + +- Mute/unmute the microphone in a running Mumble instance: + +`mumble rpc {{mute|unmute}}` + +- Mute/unmute the microphone and the audio output of Mumble: + +`mumble rpc {{deaf|undeaf}}` diff --git a/pages/common/mupdf.md b/pages/common/mupdf.md index 63bba138af745d..917f23d98c5b12 100644 --- a/pages/common/mupdf.md +++ b/pages/common/mupdf.md @@ -1,27 +1,27 @@ # mupdf -> MuPDF is a lightweight PDF, XPS, and E-book viewer. -> More information: . +> A lightweight PDF, XPS, and E-book viewer. +> More information: . - Open a PDF on the first page: -`mupdf {{filename}}` +`mupdf {{path/to/file}}` - Open a PDF on page 3: -`mupdf {{filename}} {{3}}` +`mupdf {{path/to/file}} {{3}}` - Open a password secured PDF: -`mupdf -p {{password}} {{filename}}` +`mupdf -p {{password}} {{path/to/file}}` - Open a PDF with an initial zoom level, specified as DPI, of 72: -`mupdf -r {{72}} {{filename}}` +`mupdf -r {{72}} {{path/to/file}}` - Open a PDF with inverted color: -`mupdf -I {{filename}}` +`mupdf -I {{path/to/file}}` - Open a PDF tinted red #FF0000 (hexadecimal color syntax RRGGBB): diff --git a/pages/common/musescore.md b/pages/common/musescore.md new file mode 100644 index 00000000000000..eec48f28021ded --- /dev/null +++ b/pages/common/musescore.md @@ -0,0 +1,33 @@ +# musescore + +> MuseScore 3 sheet music editor. +> See also: `lilypond`. +> More information: . + +- Use a specific audio driver: + +`musescore --audio-driver {{jack|alsa|portaudio|pulse}}` + +- Set the MP3 output bitrate in kbit/s: + +`musescore --bitrate {{bitrate}}` + +- Start MuseScore in debug mode: + +`musescore --debug` + +- Enable experimental features, such as layers: + +`musescore --experimental` + +- Export the given file to the specified output file. The file type depends on the given extension: + +`musescore --export-to {{output_file}} {{input_file}}` + +- Print a diff between the given scores: + +`musescore --diff {{path/to/file1}} {{path/to/file2}}` + +- Specify a MIDI import operations file: + +`musescore --midi-operations {{path/to/file}}` diff --git a/pages/common/musl-gcc.md b/pages/common/musl-gcc.md new file mode 100644 index 00000000000000..57e86fda144f9a --- /dev/null +++ b/pages/common/musl-gcc.md @@ -0,0 +1,9 @@ +# musl-gcc + +> A wrapper around `gcc` that automatically sets options for linking against musl libc. +> All options specified are passed directly to `gcc`. +> More information: . + +- View documentation for `gcc`: + +`tldr gcc` diff --git a/pages/common/mutagen.md b/pages/common/mutagen.md new file mode 100644 index 00000000000000..06812a27d21cb6 --- /dev/null +++ b/pages/common/mutagen.md @@ -0,0 +1,28 @@ +# mutagen + +> Real-time file synchronization and network forwarding tool. +> More information: . + +- Start a synchronization session between a local directory and a remote host: + +`mutagen sync create --name={{session_name}} /{{path/to/local/directory}}/ {{user}}@{{host}}:/{{path/to/remote/directory}}/` + +- Start a synchronization session between a local directory and a Docker container: + +`mutagen sync create --name={{session_name}} /{{path/to/local/directory}}/ docker://{{user}}@{{container_name}}/{{path/to/remote/directory}}/` + +- Stop a running session: + +`mutagen sync terminate {{session_name}}` + +- Start a project: + +`mutagen project start` + +- Stop a project: + +`mutagen project terminate` + +- List running sessions for the current project: + +`mutagen project list` diff --git a/pages/common/mutool.md b/pages/common/mutool.md index 2dadc927296574..491671b9b3116c 100644 --- a/pages/common/mutool.md +++ b/pages/common/mutool.md @@ -1,24 +1,28 @@ # mutool -> Convert PDF files, query information and extract data. -> More information: . +> Convert, query information and extract data from PDF files. +> More information: . -- Convert pages 1-10 into 10 PNG images: +- Convert a range of pages to PNGs (Note: `%nd` in the output placeholder must be replaced with a print modifier like `%d` or `%2d`): -`mutool convert -o {{image%d.png}} {{file.pdf}} {{1-10}}` +`mutool convert -o {{path/to/output%nd.png}} {{path/to/input.pdf}} {{1-10}}` -- Convert pages 2, 3 and 5 of a PDF into text in the standard output: +- Convert one or more pages of a PDF into text in `stdout`: -`mutool draw -F {{txt}} {{file.pdf}} {{2,3,5}}` +`mutool draw -F txt {{path/to/input.pdf}} {{2,3,5,...}}` -- Concatenate two PDFs: +- Concatenate multiple PDF files: -`mutool merge -o {{output.pdf}} {{input1.pdf}} {{input2.pdf}}` +`mutool merge -o {{path/to/output.pdf}} {{path/to/input1.pdf path/to/input2.pdf ...}}` - Query information about all content embedded in a PDF: -`mutool info {{input.pdf}}` +`mutool info {{path/to/input.pdf}}` -- Extract all images, fonts and resources embedded in a PDF out into the current directory: +- Extract all images, fonts and resources embedded in a PDF to the current directory: -`mutool extract {{input.pdf}}` +`mutool extract {{path/to/input.pdf}}` + +- Show the outline (table of contents) of a PDF: + +`mutool show {{path/to/input.pdf}} outline` diff --git a/pages/common/mutt.md b/pages/common/mutt.md index 8d4b6df3336f58..46b7cd56508311 100644 --- a/pages/common/mutt.md +++ b/pages/common/mutt.md @@ -1,7 +1,7 @@ # mutt > Command-line email client. -> More information: . +> More information: . - Open the specified mailbox: @@ -13,12 +13,12 @@ - Send an email with files attached: -`mutt -a {{file1}} {{file2}} -- {{recipient@example.com}}` +`mutt -a {{file1 file2 ...}} -- {{recipient@example.com}}` - Specify a file to include as the message body: -`mutt -i {{file}} {{recipient@example.com}}` +`mutt -i {{path/to/file}} {{recipient@example.com}}` - Specify a draft file containing the header and the body of the message, in RFC 5322 format: -`mutt -H {{file}} {{recipient@example.com}}` +`mutt -H {{path/to/file}} {{recipient@example.com}}` diff --git a/pages/common/mv.md b/pages/common/mv.md index c055b4184acb76..5d60d75e945a99 100644 --- a/pages/common/mv.md +++ b/pages/common/mv.md @@ -1,23 +1,36 @@ # mv > Move or rename files and directories. +> More information: . -- Move files in arbitrary locations: +- Rename a file or directory when the target is not an existing directory: -`mv {{source}} {{target}}` +`mv {{path/to/source}} {{path/to/target}}` + +- Move a file or directory into an existing directory: + +`mv {{path/to/source}} {{path/to/existing_directory}}` + +- Move multiple files into an existing directory, keeping the filenames unchanged: + +`mv {{path/to/source1 path/to/source2 ...}} {{path/to/existing_directory}}` - Do not prompt for confirmation before overwriting existing files: -`mv -f {{source}} {{target}}` +`mv {{[-f|--force]}} {{path/to/source}} {{path/to/target}}` -- Prompt for confirmation before overwriting existing files, regardless of file permissions: +- Prompt for confirmation interactively before overwriting existing files, regardless of file permissions: -`mv -i {{source}} {{target}}` +`mv {{[-i|--interactive]}} {{path/to/source}} {{path/to/target}}` - Do not overwrite existing files at the target: -`mv -n {{source}} {{target}}` +`mv {{[-n|--no-clobber]}} {{path/to/source}} {{path/to/target}}` - Move files in verbose mode, showing files after they are moved: -`mv -v {{source}} {{target}}` +`mv {{[-v|--verbose]}} {{path/to/source}} {{path/to/target}}` + +- Specify target directory so that you can use external tools to gather movable files: + +`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv {{[-t|--target-directory]}} {{path/to/target_directory}}` diff --git a/pages/common/mvn-compile.md b/pages/common/mvn-compile.md new file mode 100644 index 00000000000000..cfcfcbfbcc72ce --- /dev/null +++ b/pages/common/mvn-compile.md @@ -0,0 +1,20 @@ +# mvn compile + +> Compile a Maven project's source code. +> More information: . + +- Compile the project's source code: + +`mvn compile` + +- Clean compiled files and recompile: + +`mvn clean compile` + +- Compile a specific module in a multi-module project: + +`mvn compile {{[-pl|--projects]}} {{module_name}}` + +- Skip tests while compiling: + +`mvn compile {{[-D|--define]}} skipTests` diff --git a/pages/common/mvn-install.md b/pages/common/mvn-install.md new file mode 100644 index 00000000000000..9000b715cd4fbd --- /dev/null +++ b/pages/common/mvn-install.md @@ -0,0 +1,20 @@ +# mvn install + +> Install third-party Maven dependencies and build the project. +> More information: . + +- Compile, test, package, and install the project into the local repository: + +`mvn install` + +- Skip tests during installation: + +`mvn install {{[-D|--define]}} skipTests` + +- Force update of dependencies before installing: + +`mvn install {{[-U|--update-snapshots]}}` + +- Skip test compilation and execution: + +`mvn install {{[-D|--define]}} maven.test.skip=true` diff --git a/pages/common/mvn-site.md b/pages/common/mvn-site.md new file mode 100644 index 00000000000000..11de8da39f4f99 --- /dev/null +++ b/pages/common/mvn-site.md @@ -0,0 +1,24 @@ +# mvn site + +> Generate a project website based on the information in the `pom.xml` file. +> More information: . + +- Generate a project site using the site plugin: + +`mvn site` + +- Generate a site for a specific Maven project (multi-module build): + +`mvn site {{[-pl|--projects]}} {{module_name}}` + +- Clean previous site output before generating a new one: + +`mvn clean site` + +- Skip tests while generating the site: + +`mvn site {{[-D|--define]}} skipTests` + +- Generate and deploy the site to the remote server: + +`mvn site-deploy` diff --git a/pages/common/mvn.md b/pages/common/mvn.md index ca0ff0b37a7523..6b3e564f373d5b 100644 --- a/pages/common/mvn.md +++ b/pages/common/mvn.md @@ -1,8 +1,7 @@ # mvn -> Apache Maven. -> Tool for building and managing Java-based projects. -> More information: . +> Apache Maven: build and manage Java-based projects. +> More information: . - Compile a project: @@ -14,7 +13,7 @@ - Compile and package, skipping unit tests: -`mvn package -Dmaven.test.skip=true` +`mvn package {{[-D|--define]}} skipTests` - Install the built package in local maven repository. (This will invoke the compile and package commands too): @@ -30,8 +29,8 @@ - Clean and then package the code with a given build profile: -`mvn clean -P{{profile}} package` +`mvn clean {{[-P|--activate-profiles]}} {{profile}} package` - Run a class with a main method: -`mvn exec:java -Dexec.mainClass="{{com.example.Main}}" -Dexec.args="{{arg1 arg2}}"` +`mvn exec:java {{[-D|--define]}} exec.mainClass="{{com.example.Main}}" {{[-D|--define]}} exec.args="{{argument1 argument2 ...}}"` diff --git a/pages/common/mycli.md b/pages/common/mycli.md index b5f63943e131f7..a126c1ed52814f 100644 --- a/pages/common/mycli.md +++ b/pages/common/mycli.md @@ -1,7 +1,7 @@ # mycli -> A command line client for MySQL that can do auto-completion and syntax highlighting. -> More information: . +> A CLI for MySQL, MariaDB, and Percona that can do auto-completion and syntax highlighting. +> More information: . - Connect to a local database on port 3306, using the current user's username: @@ -9,8 +9,8 @@ - Connect to a database (user will be prompted for a password): -`mycli -u {{username}} {{database_name}}` +`mycli {{[-u|--user]}} {{username}} {{database_name}}` - Connect to a database on another host: -`mycli -h {{database_host}} -P {{port}} -u {{username}} {{database_name}}` +`mycli {{[-h|--host]}} {{database_host}} {{[-P|--port]}} {{port}} {{[-u|--user]}} {{username}} {{database_name}}` diff --git a/pages/common/mypy.md b/pages/common/mypy.md new file mode 100644 index 00000000000000..b146ea4424cd38 --- /dev/null +++ b/pages/common/mypy.md @@ -0,0 +1,36 @@ +# mypy + +> Type check Python code. +> More information: . + +- Type check a specific file: + +`mypy {{path/to/file.py}}` + +- Type check a specific module: + +`mypy {{[-m|--module]}} {{module_name}}` + +- Type check a specific package: + +`mypy {{[-p|--package]}} {{package_name}}` + +- Type check a string of code: + +`mypy {{[-c|--command]}} "{{code}}"` + +- Ignore missing imports: + +`mypy --ignore-missing-imports {{path/to/file_or_directory}}` + +- Show detailed error messages: + +`mypy {{[--tb|--show-traceback]}} {{path/to/file_or_directory}}` + +- Specify a custom configuration file: + +`mypy --config-file {{path/to/config_file}}` + +- Display help: + +`mypy {{[-h|--help]}}` diff --git a/pages/common/mysql.md b/pages/common/mysql.md index d45418ca8174e1..3539cb50433b95 100644 --- a/pages/common/mysql.md +++ b/pages/common/mysql.md @@ -1,7 +1,7 @@ # mysql -> The MySQL command-line tool. -> More information: . +> The MySQL tool. +> More information: . - Connect to a database: @@ -9,24 +9,24 @@ - Connect to a database, user will be prompted for a password: -`mysql -u {{user}} --password {{database_name}}` +`mysql {{[-u|--user]}} {{user}} {{[-p|--password]}} {{database_name}}` - Connect to a database on another host: -`mysql -h {{database_host}} {{database_name}}` +`mysql {{[-h|--host]}} {{database_host}} {{database_name}}` - Connect to a database through a Unix socket: -`mysql --socket {{path/to/socket.sock}}` +`mysql {{[-S|--socket]}} {{path/to/socket.sock}}` - Execute SQL statements in a script file (batch file): -`mysql -e "source {{filename.sql}}" {{database_name}}` +`mysql {{[-e|--execute]}} "source {{filename.sql}}" {{database_name}}` - Restore a database from a backup created with `mysqldump` (user will be prompted for a password): -`mysql --user {{user}} --password {{database_name}} < {{path/to/backup.sql}}` +`mysql < {{path/to/backup.sql}} {{[-u|--user]}} {{user}} {{[-p|--password]}} {{database_name}}` - Restore all databases from a backup (user will be prompted for a password): -`mysql --user {{user}} --password < {{path/to/backup.sql}}` +`mysql < {{path/to/backup.sql}} {{[-u|--user]}} {{user}} {{[-p|--password]}}` diff --git a/pages/common/mysql_secure_installation.md b/pages/common/mysql_secure_installation.md new file mode 100644 index 00000000000000..a36bf9bd68b262 --- /dev/null +++ b/pages/common/mysql_secure_installation.md @@ -0,0 +1,16 @@ +# mysql_secure_installation + +> Set up MySQL to have better security. +> More information: . + +- Start an interactive setup: + +`mysql_secure_installation` + +- Use specific host and port: + +`mysql_secure_installation --host {{host}} --port {{port}}` + +- Display help: + +`mysql_secure_installation --help` diff --git a/pages/common/mysqlbinlog.md b/pages/common/mysqlbinlog.md new file mode 100644 index 00000000000000..9715a98bc4bd98 --- /dev/null +++ b/pages/common/mysqlbinlog.md @@ -0,0 +1,24 @@ +# mysqlbinlog + +> Utility for processing MySQL binary log files. +> More information: . + +- Show events from a specific binary log file: + +`mysqlbinlog {{path/to/binlog}}` + +- Show entries from a binary log for a specific database: + +`mysqlbinlog --database {{database_name}} {{path/to/binlog}}` + +- Show events from a binary log between specific dates: + +`mysqlbinlog --start-datetime='{{2022-01-01 01:00:00}}' --stop-datetime='{{2022-02-01 01:00:00}}' {{path/to/binlog}}` + +- Show events from a binary log between specific positions: + +`mysqlbinlog --start-position={{100}} --stop-position={{200}} {{path/to/binlog}}` + +- Show binary log from a MySQL server on the given host: + +`mysqlbinlog --host={{hostname}} {{path/to/binlog}}` diff --git a/pages/common/mysqlcheck.md b/pages/common/mysqlcheck.md new file mode 100644 index 00000000000000..8ef8037b98eef4 --- /dev/null +++ b/pages/common/mysqlcheck.md @@ -0,0 +1,20 @@ +# mysqlcheck + +> Check and repair MySQL tables. +> More information: . + +- Check a table: + +`mysqlcheck --check {{table}}` + +- Check a table and provide credentials to access it: + +`mysqlcheck --check {{table}} --user {{username}} --password {{password}}` + +- Repair a table: + +`mysqlcheck --repair {{table}}` + +- Optimize a table: + +`mysqlcheck --optimize {{table}}` diff --git a/pages/common/mysqld.md b/pages/common/mysqld.md new file mode 100644 index 00000000000000..53e650a7b2ab36 --- /dev/null +++ b/pages/common/mysqld.md @@ -0,0 +1,32 @@ +# mysqld + +> Start the MySQL database server. +> More information: . + +- Start the MySQL database server: + +`mysqld` + +- Start the server, printing error messages to the console: + +`mysqld --console` + +- Start the server, saving logging output to a custom log file: + +`mysqld --log={{path/to/file.log}}` + +- Print the default arguments and their values and exit: + +`mysqld --print-defaults` + +- Start the server, reading arguments and values from a file: + +`mysqld --defaults-file={{path/to/file}}` + +- Start the server and listen on a custom port: + +`mysqld --port={{port}}` + +- Display help: + +`mysqld --verbose --help` diff --git a/pages/common/mysqldump.md b/pages/common/mysqldump.md index 0f6125f220fd65..1a0aa62b6e76d0 100644 --- a/pages/common/mysqldump.md +++ b/pages/common/mysqldump.md @@ -1,7 +1,7 @@ # mysqldump > Backups MySQL databases. -> See also `mysql` for restoring databases. +> See also: `mysql` for restoring databases. > More information: . - Create a backup (user will be prompted for a password): @@ -18,4 +18,4 @@ - Backup all databases from a remote host, redirecting the output to a file (user will be prompted for a password): -`mysqldump --host={(ip_or_hostname)} --user {{user}} --password --all-databases > ({path/to/file.sql}}` +`mysqldump --host={{ip_or_hostname}} --user {{user}} --password --all-databases > {{path/to/file.sql}}` diff --git a/pages/common/mysqlsh.md b/pages/common/mysqlsh.md new file mode 100644 index 00000000000000..57f0d5c137a5cc --- /dev/null +++ b/pages/common/mysqlsh.md @@ -0,0 +1,33 @@ +# mysqlsh + +> Advanced client for MySQL, supporting SQL, JavaScript, and Python. +> It offers features for managing InnoDB clusters and document store collections. +> More information: . + +- Start MySQL Shell in interactive mode: + +`mysqlsh` + +- Connect to a MySQL server: + +`mysqlsh --user {{username}} --host {{hostname}} --port {{port}}` + +- Execute an SQL statement on the server and exit: + +`mysqlsh --user {{username}} --execute '{{sql_statement}}'` + +- Start MySQL Shell in JavaScript mode: + +`mysqlsh --js` + +- Start MySQL Shell in Python mode: + +`mysqlsh --py` + +- Import JSON documents into a MySQL collection: + +`mysqlsh --import {{path/to/file.json}} --schema {{schema_name}} --collection {{collection_name}}` + +- Enable verbose output: + +`mysqlsh --verbose` diff --git a/pages/common/mytop.md b/pages/common/mytop.md index f30d4a63be059b..5be8a45302bb58 100644 --- a/pages/common/mytop.md +++ b/pages/common/mytop.md @@ -1,20 +1,20 @@ # mytop > Display MySQL server performance info like `top`. -> More information: . +> More information: . -- Start mytop: +- Start `mytop`: `mytop` - Connect with a specified username and password: -`mytop -u {{user}} -p {{password}}` +`mytop {{[-u|-user]}} {{user}} {{[-p|-password]}} {{password}}` - Connect with a specified username (the user will be prompted for a password): -`mytop -u {{user}} --prompt` +`mytop {{[-u|-user]}} {{user}} -prompt` - Do not show any idle (sleeping) threads: -`mytop -u {{user}} -p {{password}} --noidle` +`mytop {{[-u|-user]}} {{user}} {{[-p|-password]}} {{password}} --noidle` diff --git a/pages/common/n.md b/pages/common/n.md new file mode 100644 index 00000000000000..09e3aecb123ca7 --- /dev/null +++ b/pages/common/n.md @@ -0,0 +1,24 @@ +# n + +> Manage multiple node versions. +> More information: . + +- Install a given version of node. If the version is already installed, it will be activated: + +`n {{version}}` + +- Display installed versions and interactively activate one of them: + +`n` + +- Remove a version: + +`n rm {{version}}` + +- Execute a file with a given version: + +`n use {{version}} {{file.js}}` + +- Output binary path for a version: + +`n bin {{version}}` diff --git a/pages/common/naabu.md b/pages/common/naabu.md new file mode 100644 index 00000000000000..75c4750695f4c3 --- /dev/null +++ b/pages/common/naabu.md @@ -0,0 +1,33 @@ +# naabu + +> A fast port scanner written in Go with a focus on reliability and simplicity. +> Note: Some features are only activated when `naabu` is run with root privileges such as SYN scan. +> More information: . + +- Run a SYN scan against default (top 100) ports of remote host: + +`sudo naabu -host {{host}}` + +- Display available network interfaces and public IP address of the local host: + +`naabu {{[-il|-interface-list]}}` + +- Scan all ports of the remote host (CONNECT scan without `sudo`): + +`naabu {{[-p|-port]}} - -host {{host}}` + +- Scan the top 1000 ports of the remote host: + +`naabu {{[-tp|-top-ports]}} 1000 -host {{host}}` + +- Scan TCP ports 80, 443 and UDP port 53 of the remote host: + +`naabu {{[-p|-port]}} 80,443,u:53 -host {{host}}` + +- Show CDN type the remote host is using, if any: + +`naabu {{[-p|-port]}} 80,443 -cdn -host {{host}}` + +- Run `nmap` from `naabu` for additional functionalities (`nmap` must be installed): + +`sudo naabu {{[-v|-verbose]}} -host {{host}} -nmap-cli 'nmap {{-v -T5 -sC}}'` diff --git a/pages/common/nagios.md b/pages/common/nagios.md new file mode 100644 index 00000000000000..5aa4db0f5e5177 --- /dev/null +++ b/pages/common/nagios.md @@ -0,0 +1,22 @@ +# nagios + +> Legacy host/service/networking monitoring program. +> Largely deprecated by `nagios4`. +> See also: `nagios2`, `nagios3`, `nagios4`. +> More information: . + +- Start `nagios`: + +`nagios /etc/nagios/nagios.cfg` + +- Start `nagios` in daemon mode: + +`nagios -d` + +- Start `nagios`, print service check scheduling information to `stdout`, then shutdown: + +`nagios -s` + +- Verify configuration file: + +`nagios -v` diff --git a/pages/common/nagios2.md b/pages/common/nagios2.md new file mode 100644 index 00000000000000..d035819871cf26 --- /dev/null +++ b/pages/common/nagios2.md @@ -0,0 +1,22 @@ +# nagios2 + +> Legacy host/service/networking monitoring program. +> Largely deprecated by `nagios4`. +> See also: `nagios`, `nagios3`, `nagios4`. +> More information: . + +- Start `nagios2`: + +`nagios2 /etc/nagios2/nagios.cfg` + +- Start `nagios2` in daemon mode: + +`nagios2 -d` + +- Start `nagios2`, print service check scheduling information to `stdout`, then shutdown: + +`nagios2 -s` + +- Verify configuration file: + +`nagios2 -v` diff --git a/pages/common/nagios3.md b/pages/common/nagios3.md new file mode 100644 index 00000000000000..9b98ba3ff96e95 --- /dev/null +++ b/pages/common/nagios3.md @@ -0,0 +1,22 @@ +# nagios3 + +> Legacy host/service/networking monitoring program. +> Largely deprecated by `nagios4`. +> See also: `nagios`, `nagios2`, `nagios4`. +> More information: . + +- Start `nagios3`: + +`nagios3 /etc/nagios3/nagios.cfg` + +- Start `nagios3` in daemon mode: + +`nagios3 -d` + +- Start `nagios3`, print service check scheduling information to `stdout`, then shutdown: + +`nagios3 -s` + +- Verify configuration file: + +`nagios3 -v` diff --git a/pages/common/nagios4.md b/pages/common/nagios4.md new file mode 100644 index 00000000000000..e421b486a88db4 --- /dev/null +++ b/pages/common/nagios4.md @@ -0,0 +1,21 @@ +# nagios4 + +> Legacy host/service/networking monitoring program. +> See also: `nagios`, `nagios2`, `nagios3`. +> More information: . + +- Start `nagios4`: + +`nagios4 /etc/nagios4/nagios.cfg` + +- Start `nagios4` in daemon mode: + +`nagios4 -d` + +- Start `nagios4`, print service check scheduling information to `stdout`, then shutdown: + +`nagios4 -s` + +- Verify configuration file: + +`nagios4 -v` diff --git a/pages/common/nano.md b/pages/common/nano.md index d586723d9595c1..41d65eb5ccc9c9 100644 --- a/pages/common/nano.md +++ b/pages/common/nano.md @@ -1,24 +1,37 @@ # nano -> Simple, easy to use command-line text editor. An enhanced, free Pico clone. -> More information: . +> Text editor. An enhanced `pico` clone. +> See also: `pico`, `rnano`. +> More information: . -- Open a specific file: +- Open specific files, moving to the next file after closing the previous one: -`nano {{path/to/file}}` +`nano {{path/to/file1 path/to/file2 ...}}` -- Open a file positioning the cursor at the specified line and column: +- Start the editor without using configuration files: + +`nano {{[-I|--ignorercfiles]}}` + +- Open a file and position the cursor at a specific line and column: `nano +{{line}},{{column}} {{path/to/file}}` -- Enable smooth scrolling: +- Open a file and enable soft wrapping: + +`nano {{[-S|--softwrap]}} {{path/to/file}}` + +- Open a file and indent new lines to the previous line's indentation: + +`nano {{[-i|--autoindent]}} {{path/to/file}}` + +- Open a file and create a backup file (`path/to/file~`) on save: -`nano -S {{filename}}` +`nano {{[-B|--backup]}} {{path/to/file}}` -- Indent new lines to the previous lines' indentation: +- Open a file in restricted mode (i.e. don't read/write to files not specified on the command-line): -`nano -i {{filename}}` +`nano {{[-R|--restricted]}} {{path/to/file}}` -- Before modification, backup separately as `{{current_file_name}}~`: +- Exit nano: -`nano -B {{filename}}` +`` diff --git a/pages/common/nasm.md b/pages/common/nasm.md index 479dfba23e3be5..50cbe87abc42e3 100644 --- a/pages/common/nasm.md +++ b/pages/common/nasm.md @@ -1,7 +1,7 @@ # nasm > The Netwide Assembler, a portable 80x86 assembler. -> More information: . +> More information: . - Assemble `source.asm` into a binary file `source`, in the (default) raw binary format: @@ -21,4 +21,4 @@ - Add a directory (must be written with trailing slash) to the include file search path before assembling: -`nasm -i {{path/to/include_dir/}} {{source.asm}}` +`nasm -i {{path/to/include_directory}}/ {{source.asm}}` diff --git a/pages/common/nativefier.md b/pages/common/nativefier.md index a692d0d573691d..f7a0d4a9607c9b 100644 --- a/pages/common/nativefier.md +++ b/pages/common/nativefier.md @@ -1,6 +1,6 @@ # nativefier -> Command-line tool to create a desktop app for any web site with minimal configuration. +> Create a desktop app for any web site with minimal configuration. > More information: . - Make a desktop app for a website: diff --git a/pages/common/nbtscan.md b/pages/common/nbtscan.md new file mode 100644 index 00000000000000..79698a248012e7 --- /dev/null +++ b/pages/common/nbtscan.md @@ -0,0 +1,24 @@ +# nbtscan + +> Scan networks for NetBIOS name information. +> More information: . + +- Scan a network for NetBIOS names: + +`nbtscan {{192.168.0.1/24}}` + +- Scan a single IP address: + +`nbtscan {{192.168.0.1}}` + +- Display verbose output: + +`nbtscan -v {{192.168.0.1/24}}` + +- Display output in `/etc/hosts` format: + +`nbtscan -e {{192.168.0.1/24}}` + +- Read IP addresses/networks to scan from a file: + +`nbtscan -f {{path/to/file.txt}}` diff --git a/pages/common/nc.md b/pages/common/nc.md index 72a7f722037cb9..25f4668dfb1237 100644 --- a/pages/common/nc.md +++ b/pages/common/nc.md @@ -1,32 +1,32 @@ # nc -> Netcat is a versatile utility for working with TCP or UDP data. -> More information: . +> Redirect I/O into a network stream through this versatile tool. +> More information: . -- Listen on a specified port and print any data received: +- Start a listener on the specified TCP port and send a file into it: -`nc -l {{port}}` +`nc < {{filename}} -l -p {{port}}` -- Connect to a certain port: +- Connect to a target listener on the specified port and receive a file from it: -`nc {{ip_address}} {{port}}` +`nc {{host}} {{port}} > {{received_filename}}` -- Set a timeout: +- Scan the open TCP ports of a specified host: -`nc -w {{timeout_in_seconds}} {{ipaddress}} {{port}}` +`nc -v -z -w {{timeout_in_seconds}} {{host}} {{start_port}}-{{end_port}}` -- Keep the server up after the client detaches: +- Start a listener on the specified TCP port and provide your local shell access to the connected party (this is dangerous and can be abused): -`nc -k -l {{port}}` +`nc -l -p {{port}} -e {{shell_executable}}` -- Keep the client up even after EOF: +- Connect to a target listener and provide your local shell access to the remote party (this is dangerous and can be abused): -`nc -q {{timeout}} {{ip_address}}` +`nc {{host}} {{port}} -e {{shell_executable}}` -- Scan the open ports of a specified host: +- Act as a proxy and forward data from a local TCP port to the given remote host: -`nc -v -z {{ip_address}} {{port}}` +`nc -l -p {{local_port}} | nc {{host}} {{remote_port}}` -- Act as proxy and forward data from a local TCP port to the given remote host: +- Send an HTTP GET request: -`nc -l {{local_port}} | nc {{hostname}} {{remote_port}}` +`echo -e "GET / HTTP/1.1\nHost: {{host}}\n\n" | nc {{host}} 80` diff --git a/pages/common/ncc.md b/pages/common/ncc.md new file mode 100644 index 00000000000000..34eb511a6f7b9c --- /dev/null +++ b/pages/common/ncc.md @@ -0,0 +1,29 @@ +# ncc + +> Compile a Node.js application into a single file. +> Supports TypeScript, binary addons and dynamic requires. +> More information: . + +- Bundle a Node.js application: + +`ncc build {{path/to/file.js}}` + +- Bundle and minify a Node.js application: + +`ncc build {{[-m|--minify]}} {{path/to/file.js}}` + +- Bundle and minify a Node.js application and generate source maps: + +`ncc build {{[-s|--source-map]}} {{path/to/file.js}}` + +- Automatically recompile on changes to source files: + +`ncc build {{[-w|--watch]}} {{path/to/file.js}}` + +- Bundle a Node.js application into a temporary directory and run it for testing: + +`ncc run {{path/to/file.js}}` + +- Clean the `ncc` cache: + +`ncc clean cache` diff --git a/pages/common/ncdu.md b/pages/common/ncdu.md new file mode 100644 index 00000000000000..c5eadef4b272ef --- /dev/null +++ b/pages/common/ncdu.md @@ -0,0 +1,24 @@ +# ncdu + +> Disk usage analyzer with an ncurses interface. +> More information: . + +- Analyze the current working directory: + +`ncdu` + +- Colorize output: + +`ncdu --color {{dark|off}}` + +- Analyze a given directory: + +`ncdu {{path/to/directory}}` + +- Save results to a file: + +`ncdu -o {{path/to/file}}` + +- Exclude files that match a pattern, argument can be given multiple times to add more patterns: + +`ncdu --exclude '{{*.txt}}'` diff --git a/pages/common/ncmpcpp.md b/pages/common/ncmpcpp.md index 664a2d2f4cb8fc..c4e7e2ae6d7e05 100644 --- a/pages/common/ncmpcpp.md +++ b/pages/common/ncmpcpp.md @@ -1,6 +1,7 @@ # ncmpcpp -> A command line music player client for the Music Player Daemon. +> A music player client for the Music Player Daemon. +> See also: `mpd`, `mpc`, `qmmp`, `termusic`. > More information: . - Connect to a music player daemon on a given host and port: diff --git a/pages/common/ncspot.md b/pages/common/ncspot.md new file mode 100644 index 00000000000000..981ec274b29f3c --- /dev/null +++ b/pages/common/ncspot.md @@ -0,0 +1,24 @@ +# ncspot + +> Cross-platform TUI Spotify client. +> More information: . + +- Start `ncspot`: + +`ncspot` + +- Enable logging to the specified file: + +`ncspot {{[-d|--debug]}} {{path/to/file}}` + +- Display paths to the configuration and cache: + +`ncspot info` + +- Use a different configuration file (in the directory reported by `ncspot info`; default: `config.toml`): + +`ncspot {{[-c|--config]}} {{file_name}}` + +- Display a list of keybindings: + +`` diff --git a/pages/common/ncu.md b/pages/common/ncu.md new file mode 100644 index 00000000000000..ea1ea379256d8c --- /dev/null +++ b/pages/common/ncu.md @@ -0,0 +1,37 @@ +# ncu + +> Find newer versions of package dependencies and check outdated npm packages locally or globally. +> `ncu` only updates dependency versions in `package.json`. To install the new versions, run `npm install` afterwards. +> More information: . + +- List outdated dependencies in the current directory: + +`ncu` + +- List outdated global `npm` packages: + +`ncu --global` + +- Upgrade all dependencies in the current directory: + +`ncu --upgrade` + +- Interactively upgrade dependencies in the current directory: + +`ncu --interactive` + +- List outdated dependencies up to the highest minor version: + +`ncu --target {{minor}}` + +- List outdated dependencies that match a keyword or `regex`: + +`ncu --filter {{keyword|/regex/}}` + +- List only a specific section of outdated dependencies: + +`ncu --dep {{dev|optional|peer|prod|packageManager}}` + +- Display help: + +`ncu --help` diff --git a/pages/common/ndc.md b/pages/common/ndc.md new file mode 100644 index 00000000000000..f63dd33cc29912 --- /dev/null +++ b/pages/common/ndc.md @@ -0,0 +1,37 @@ +# ndc + +> Name daemon control service for name servers. +> If a command isn't provided, NDC will prompt for one until EOF. +> More information: . + +- Set the [c]ontrol channel rendezvous point: + +`ndc -c {{channel}} {{command}}` + +- Bind the client side to a specific [l]ocalsock address: + +`ndc -l {{localsock}} {{command}}` + +- Set path to [p]idfile for UNIX signal control: + +`ndc -p {{path/to/pidfile}} {{command}}` + +- Enable [d]ebugging: + +`ndc -d {{command}}` + +- Enable [q]uiet mode: + +`ndc -q {{command}}` + +- Enable nonfatal error [s]uppression: + +`ndc -s {{command}}` + +- Enable [t]racing for protocol and system debugging: + +`ndc -t {{command}}` + +- List built-in commands: + +`ndc /help` diff --git a/pages/common/neato.md b/pages/common/neato.md new file mode 100644 index 00000000000000..0cfe0c0e4e4589 --- /dev/null +++ b/pages/common/neato.md @@ -0,0 +1,25 @@ +# neato + +> Render an image of a `linear undirected` network graph from a `graphviz` file. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> More information: . + +- Render a PNG image with a filename based on the input filename and output format (uppercase -O): + +`neato -T {{png}} -O {{path/to/input.gv}}` + +- Render a SVG image with the specified output filename (lowercase -o): + +`neato -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}` + +- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format: + +`neato -T {{format}} -O {{path/to/input.gv}}` + +- Render a GIF image using `stdin` and `stdout`: + +`echo "{{graph {this -- that} }}" | neato -T {{gif}} > {{path/to/image.gif}}` + +- Display help: + +`neato -?` diff --git a/pages/common/ned.md b/pages/common/ned.md index b2366db053a3d5..6cd046b9fdc123 100644 --- a/pages/common/ned.md +++ b/pages/common/ned.md @@ -1,6 +1,6 @@ # ned -> Is like `grep` but with powerful replace capabilities. +> Like `grep` but with powerful replace capabilities. > Unlike `sed`, as it isn't restricted to line oriented editing. > More information: . diff --git a/pages/common/neo4j-admin.md b/pages/common/neo4j-admin.md new file mode 100644 index 00000000000000..2456876b923fee --- /dev/null +++ b/pages/common/neo4j-admin.md @@ -0,0 +1,33 @@ +# neo4j-admin + +> Manage and administer a Neo4j DBMS (Database Management System). +> See also: `cypher-shell`, `mysqld`. +> More information: . + +- Start the DBMS: + +`neo4j-admin server start` + +- Stop the DBMS: + +`neo4j-admin server stop` + +- Set the initial password of the default `neo4j` user (prerequisite for the first start of the DBMS): + +`neo4j-admin dbms set-initial-password {{database_name}}` + +- Create an archive (dump) of an offline database to a file named `database_name.dump`: + +`neo4j-admin database dump --to-path={{path/to/directory}} {{database_name}}` + +- Load a database from an archive named `database_name.dump`: + +`neo4j-admin database load --from-path={{path/to/directory}} {{database_name}} --overwrite-destination=true` + +- Load a database from a specified archive file through `stdin`: + +`neo4j-admin < {{path/to/file.dump}} database load --from-stdin {{database_name}} --overwrite-destination=true` + +- Display help: + +`neo4j-admin --help` diff --git a/pages/common/neofetch.md b/pages/common/neofetch.md index 64daf8ce512ca3..9ff9058119d338 100644 --- a/pages/common/neofetch.md +++ b/pages/common/neofetch.md @@ -1,13 +1,15 @@ # neofetch -> CLI tool to display information about your operating system, software and hardware. +> Display information about the operating system, software and hardware. +> Note: `neofetch` is no longer maintained. +> See also: `fastfetch`. > More information: . - Return the default config, and create it if it's the first time the program runs: `neofetch` -- Trigger an info line from appearing in the output, where 'infoname' is the function name in the config file, e.g. memory: +- Trigger an info line from appearing in the output, where `infoname` is the function name in the configuration file, e.g. memory: `neofetch --{{enable|disable}} {{infoname}}` diff --git a/pages/common/neomutt.md b/pages/common/neomutt.md new file mode 100644 index 00000000000000..5f6ad00d275b18 --- /dev/null +++ b/pages/common/neomutt.md @@ -0,0 +1,24 @@ +# neomutt + +> NeoMutt email client. +> More information: . + +- Open the specified mailbox: + +`neomutt -f {{path/to/mailbox}}` + +- Start writing an email and specify a subject and a `cc` recipient: + +`neomutt -s "{{subject}}" -c {{cc@example.com}} {{recipient@example.com}}` + +- Send an email with files attached: + +`neomutt -a {{path/to/file1 path/to/file2 ...}} -- {{recipient@example.com}}` + +- Specify a file to include as the message body: + +`neomutt -i {{path/to/file}} {{recipient@example.com}}` + +- Specify a draft file containing the header and the body of the message, in RFC 5322 format: + +`neomutt -H {{path/to/file}} {{recipient@example.com}}` diff --git a/pages/common/neotoppm.md b/pages/common/neotoppm.md new file mode 100644 index 00000000000000..4e42ba93d934be --- /dev/null +++ b/pages/common/neotoppm.md @@ -0,0 +1,12 @@ +# neotoppm + +> Convert an Atari Neochrome NEO file into a PPM image. +> More information: . + +- Generate the PPM image as output for an Atari Neochrome NEO file as input: + +`neotoppm {{path/to/file.neo}}` + +- Display version: + +`neotoppm {{[-v|-version]}}` diff --git a/pages/common/nest.md b/pages/common/nest.md new file mode 100644 index 00000000000000..0e25b1af758e4c --- /dev/null +++ b/pages/common/nest.md @@ -0,0 +1,24 @@ +# nest + +> Initialize, develop, and maintain Nest applications. +> More information: . + +- Display information about installed nest version: + +`nest info` + +- Create a new NestJS project in a directory of the same name: + +`nest new {{project_name}}` + +- Build a specific NestJS project: + +`nest build {{project_name}}` + +- Run a specific NestJS project: + +`nest start {{project_name}}` + +- Import a library into the current NestJS project: + +`nest add {{library_name}}` diff --git a/pages/common/netcat.md b/pages/common/netcat.md new file mode 100644 index 00000000000000..94e90f60fe13f1 --- /dev/null +++ b/pages/common/netcat.md @@ -0,0 +1,7 @@ +# netcat + +> This command is an alias of `nc`. + +- View documentation for the original command: + +`tldr nc` diff --git a/pages/common/netdiscover.md b/pages/common/netdiscover.md new file mode 100644 index 00000000000000..e0896897a4711e --- /dev/null +++ b/pages/common/netdiscover.md @@ -0,0 +1,8 @@ +# netdiscover + +> Network scanner used to find live hosts on a network. +> More information: . + +- Scan the IP range on the network interface for active hosts: + +`netdiscover -r {{172.16.6.0/23}} -i {{ens244}}` diff --git a/pages/common/netexec.md b/pages/common/netexec.md new file mode 100644 index 00000000000000..724d55b8370fe8 --- /dev/null +++ b/pages/common/netexec.md @@ -0,0 +1,7 @@ +# netexec + +> This command is an alias of `nxc`. + +- View documentation for the original command: + +`tldr nxc` diff --git a/pages/common/netlify.md b/pages/common/netlify.md index 3ce5215ada9d7d..90c66c6e856993 100644 --- a/pages/common/netlify.md +++ b/pages/common/netlify.md @@ -1,9 +1,9 @@ # netlify > Deploy sites and configure continuous deployment to the Netlify platform. -> More information: . +> More information: . -- Login to the Netlify account: +- Log in to the Netlify account: `netlify login` diff --git a/pages/common/netperf.md b/pages/common/netperf.md new file mode 100644 index 00000000000000..f9cd007708270e --- /dev/null +++ b/pages/common/netperf.md @@ -0,0 +1,21 @@ +# netperf + +> Client-side command for `netperf`, the benchmarking application that measures network throughput. Similar to `iperf`. +> See also: `netserver` for the server-side command. +> More information: . + +- Connect to server on a specific IP address via default port (12865): + +`netperf {{address}}` + +- Specify [p]ort: + +`netperf {{address}} -p {{port}}` + +- Specify the sampling [l]ength in seconds (default is 10): + +`netperf {{address}} -l {{seconds}}` + +- Force IPv[4] or IPv[6]: + +`netperf {{address}} -{{4|6}}` diff --git a/pages/common/netserver.md b/pages/common/netserver.md new file mode 100644 index 00000000000000..01dd68517d0d5f --- /dev/null +++ b/pages/common/netserver.md @@ -0,0 +1,21 @@ +# netserver + +> Server-side command for `netperf`, the benchmarking application that measures network throughput. +> See also: `netperf` for the client-side command. +> More information: . + +- Start a server on the default port (12865) and fork to background: + +`netserver` + +- Start server in foreground and do not fork: + +`netserver -D` + +- Specify [p]ort: + +`netserver -p {{port}}` + +- Force IPv[4] or IPv[6]: + +`netserver -{{4|6}}` diff --git a/pages/common/netstat.md b/pages/common/netstat.md new file mode 100644 index 00000000000000..7edc42a4f4b9eb --- /dev/null +++ b/pages/common/netstat.md @@ -0,0 +1,33 @@ +# netstat + +> Display network-related information such as open connections, open socket ports, etc. +> See also: `ss`. +> More information: . + +- List all ports: + +`netstat {{[-a|--all]}}` + +- List all listening ports: + +`netstat {{[-l|--listening]}}` + +- List listening TCP ports: + +`netstat {{[-t|--tcp]}}` + +- Display PID and program names: + +`netstat {{[-p|--program]}}` + +- List information continuously: + +`netstat {{[-c|--continuous]}}` + +- List routes and do not resolve IP addresses to hostnames: + +`netstat {{[-rn|--route --numeric]}}` + +- List listening TCP and UDP ports (+ user and process if you're root): + +`netstat {{[-tulpne|--tcp --udp --listening --program --numeric --extend]}}` diff --git a/pages/common/nettacker.md b/pages/common/nettacker.md new file mode 100644 index 00000000000000..36cad3481825d1 --- /dev/null +++ b/pages/common/nettacker.md @@ -0,0 +1,20 @@ +# nettacker + +> Automate information gathering, vulnerability scanning and eventually generate a report. +> More information: . + +- List all available modules: + +`nettacker --show-all-modules` + +- Run a port scan on targets: + +`nettacker {{[-m|--modules]}} port_scan {{[-i|--targets]}} {{192.168.0.1/24,owasp.org,scanme.org,...}}` + +- Run a port scan on specific ports and targets listed in a file (newline separated): + +`nettacker {{[-m|--modules]}} port_scan {{[-g|--ports]}} {{22,80,443,...}} {{[-l|--targets-list]}} {{path/to/targets.txt}}` + +- Run ping test before scan and then run multiple scan types on target: + +`nettacker --ping-before-scan {{[-m|--modules]}} {{port_scan,subdomain_scan,waf_scan,...}} {{[-g|--ports]}} {{80,443}} {{[-i|--targets]}} {{owasp.org}}` diff --git a/pages/common/newsboat.md b/pages/common/newsboat.md index 13bd77ce3fecfd..b9404d22b52b88 100644 --- a/pages/common/newsboat.md +++ b/pages/common/newsboat.md @@ -1,20 +1,24 @@ # newsboat > An RSS/Atom feed reader for text terminals. -> More information: . +> More information: . - First import feed URLs from an OPML file: -`newsboat -i {{my-feeds.xml}}` +`newsboat {{[-i|--import-from-opml]}} {{my-feeds.xml}}` - Alternatively, add feeds manually: `echo {{http://example.com/path/to/feed}} >> "${HOME}/.newsboat/urls"` -- Start newsboat and refresh all feeds on startup: +- Start Newsboat and refresh all feeds on startup: -`newsboat -r` +`newsboat {{[-r|--refresh-on-start]}}` + +- Execute one or more commands in non-interactive mode: + +`newsboat {{[-x|--execute]}} {{reload print-unread ...}}` - See keyboard shortcuts (the most relevant are visible in the status line): -`?` +`` diff --git a/pages/common/next.md b/pages/common/next.md new file mode 100644 index 00000000000000..b62d6ece441b6a --- /dev/null +++ b/pages/common/next.md @@ -0,0 +1,36 @@ +# next + +> React framework that uses server-side rendering for building optimized web applications. +> More information: . + +- Start the current application in development mode: + +`next dev` + +- Start the current application and listen on a specific port: + +`next dev {{[-p|--port]}} {{port}}` + +- Build the current application optimized for production: + +`next build` + +- Start the compiled application in production mode: + +`next start` + +- Start the compiled application and listen on a specific port: + +`next start {{[-p|--port]}} {{port}}` + +- Export the current application to static HTML pages: + +`next export` + +- Display the Next.js telemetry status: + +`next telemetry` + +- Display help for a subcommand: + +`next {{build|dev|export|start|telemetry}} {{[-h|--help]}}` diff --git a/pages/common/nextclade.md b/pages/common/nextclade.md new file mode 100644 index 00000000000000..4c36e8f05b9853 --- /dev/null +++ b/pages/common/nextclade.md @@ -0,0 +1,32 @@ +# nextclade + +> Bioinformatics tool for virus genome alignment, clade assignment and qc checks. +> More information: . + +- Align sequences to user provided reference, outputting the alignment to a file: + +`nextclade run {{path/to/sequences.fa}} {{[-r|--input-ref]}} {{path/to/reference.fa}} {{[-o|--output-fasta]}} {{path/to/alignment.fa}}` + +- Create a TSV report, auto-downloading the latest dataset: + +`nextclade run {{path/to/fasta}} {{[-d|--dataset-name]}} {{dataset_name}} {{[-t|--output-tsv]}} {{path/to/report.tsv}}` + +- List all available datasets: + +`nextclade dataset list` + +- Download the latest SARS-CoV-2 dataset: + +`nextclade dataset get {{[-n|--name]}} sars-cov-2 {{[-o|--output-dir]}} {{path/to/directory}}` + +- Use a downloaded dataset, producing all outputs: + +`nextclade run {{[-D|--input-dataset]}} {{path/to/dataset_directory}} {{[-O|--output-all]}} {{path/to/output_directory}} {{path/to/sequences.fasta}}` + +- Run on multiple files: + +`nextclade run {{[-d|--dataset-name]}} {{dataset_name}} {{[-t|--output-tsv]}} {{path/to/output_tsv}} -- {{path/to/input_fasta_1 path/to/input_fasta_2 ...}}` + +- Try reverse complement if sequence does not align: + +`nextclade run --retry-reverse-complement {{[-d|--dataset-name]}} {{dataset_name}} {{[-t|--output-tsv]}} {{path/to/output_tsv}} {{path/to/input_fasta}}` diff --git a/pages/common/nextflow.md b/pages/common/nextflow.md index c595842622d049..61dc3237242a7a 100644 --- a/pages/common/nextflow.md +++ b/pages/common/nextflow.md @@ -1,6 +1,6 @@ # nextflow -> Tool for running computational pipelines. Mostly used for bioinformatics workflows. +> Run computational pipelines. Mostly used for bioinformatics workflows. > More information: . - Run a pipeline, use cached results from previous runs: diff --git a/pages/common/nf-core.md b/pages/common/nf-core.md index 4517396daa0e2b..12abca81f3ed5a 100644 --- a/pages/common/nf-core.md +++ b/pages/common/nf-core.md @@ -1,7 +1,7 @@ # nf-core > The nf-core framework tools, to create, check and develop best-practice guidelines for Nextflow. -> More information: . +> More information: . - List existing pipelines on nf-core: diff --git a/pages/common/ng.md b/pages/common/ng.md index 5d2374eb44ec28..0a22e10f1630d4 100644 --- a/pages/common/ng.md +++ b/pages/common/ng.md @@ -1,6 +1,6 @@ # ng -> Command Line Interface (CLI) for creating and managing Angular applications. +> Create and manage Angular applications. > More information: . - Create a new Angular application inside a directory: @@ -31,6 +31,6 @@ `ng test` -- Check the version of your current Angular installation: +- Display the version of your current Angular installation: `ng version` diff --git a/pages/common/nginx.md b/pages/common/nginx.md index f35c0b577f36c2..0e10797f906fe9 100644 --- a/pages/common/nginx.md +++ b/pages/common/nginx.md @@ -3,17 +3,17 @@ > Nginx web server. > More information: . -- Start server with the default config file: +- Start server with the default configuration file: `nginx` -- Start server with a custom config file: +- Start server with a custom configuration file: -`nginx -c {{config_file}}` +`nginx -c {{configuration_file}}` -- Start server with a prefix for all relative paths in the config file: +- Start server with a prefix for all relative paths in the configuration file: -`nginx -c {{config_file}} -p {{prefix/for/relative/paths}}` +`nginx -c {{configuration_file}} -p {{prefix/for/relative/paths}}` - Test the configuration without affecting the running server: diff --git a/pages/common/ngrep.md b/pages/common/ngrep.md index 71f73828a84f03..71c190533101ac 100644 --- a/pages/common/ngrep.md +++ b/pages/common/ngrep.md @@ -1,7 +1,7 @@ # ngrep -> Filter network traffic packets using regular expressions. -> More information: . +> Filter network traffic packets using `regex`. +> More information: . - Capture traffic of all interfaces: diff --git a/pages/common/ngrok.md b/pages/common/ngrok.md index 90d5a0b4fb01e8..714d9eb9cecca2 100644 --- a/pages/common/ngrok.md +++ b/pages/common/ngrok.md @@ -1,7 +1,7 @@ # ngrok > Reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service. -> More information: . +> More information: . - Expose a local HTTP service on a given port: @@ -21,4 +21,4 @@ - Expose TLS traffic for a specific host and port: -`ngrok tls -hostname={{foo.com}} {{443}}` +`ngrok tls -hostname={{example.com}} {{443}}` diff --git a/pages/common/ngs.md b/pages/common/ngs.md new file mode 100644 index 00000000000000..a6334866723058 --- /dev/null +++ b/pages/common/ngs.md @@ -0,0 +1,16 @@ +# ngs + +> Scripting language created specifically for Ops. +> More information: . + +- Execute a code snippet: + +`ngs -e "{{echo('ngs is executed')}}"` + +- Execute a script: + +`ngs {{path/to/script.ngs}}` + +- Display version: + +`ngs --version` diff --git a/pages/common/nhentai.md b/pages/common/nhentai.md new file mode 100644 index 00000000000000..7c71a8e4747b9b --- /dev/null +++ b/pages/common/nhentai.md @@ -0,0 +1,20 @@ +# nhentai + +> Download doujinshis from nhentai. +> More information: . + +- Set cookies: + +`nhentai --cookie "csrftoken={{TOKEN}}; sessionid={{ID}}"` + +- Download a specific doujin: + +`nhentai --id {{number}}` + +- Download the first page of your favorites: + +`nhentai --favorites --download --delay 1` + +- Download specific pages of your favorites: + +`nhentai --favorites --pages {{start_page}}-{{end_page}} --download --delay 1` diff --git a/pages/common/nice.md b/pages/common/nice.md index c23226397ea97b..cf98212fb7c236 100644 --- a/pages/common/nice.md +++ b/pages/common/nice.md @@ -2,7 +2,12 @@ > Execute a program with a custom scheduling priority (niceness). > Niceness values range from -20 (the highest priority) to 19 (the lowest). +> More information: . - Launch a program with altered priority: -`nice -n {{niceness_value}} {{command}}` +`nice -{{niceness_value}} {{command}}` + +- Define the priority with an explicit option: + +`nice {{[-n|--adjustment]}} {{niceness_value}} {{command}}` diff --git a/pages/common/nicotine.md b/pages/common/nicotine.md new file mode 100644 index 00000000000000..9b779ea21ea94a --- /dev/null +++ b/pages/common/nicotine.md @@ -0,0 +1,20 @@ +# nicotine + +> Graphical client for the Soulseek peer-to-peer network. +> More information: . + +- Start Nicotine+: + +`nicotine` + +- Start Nicotine+ in headless ([n]) mode: + +`nicotine {{[-n|--headless]}}` + +- Rescan shared files: + +`nicotine {{[-r|--rescan]}}` + +- Display help: + +`nicotine {{[-h|--help]}}` diff --git a/pages/common/nikto.md b/pages/common/nikto.md index 4fd6582555b611..e9ed35be3a9e0c 100644 --- a/pages/common/nikto.md +++ b/pages/common/nikto.md @@ -5,20 +5,20 @@ - Perform a basic Nikto scan against a target host: -`perl nikto.pl -h {{192.168.0.1}}` +`perl nikto.pl {{[-h|-host]}} {{192.168.0.1}}` - Specify the port number when performing a basic scan: -`perl nikto.pl -h {{192.168.0.1}} -p {{443}}` +`perl nikto.pl {{[-h|-host]}} {{192.168.0.1}} {{[-p|-port]}} {{443}}` - Scan ports and protocols with full URL syntax: -`perl nikto.pl -h {{https://192.168.0.1:443/}}` +`perl nikto.pl {{[-h|-host]}} {{https://192.168.0.1:443/}}` - Scan multiple ports in the same scanning session: -`perl nikto.pl -h {{192.168.0.1}} -p {{80,88,443}}` +`perl nikto.pl {{[-h|-host]}} {{192.168.0.1}} {{[-p|-port]}} {{80,88,443}}` - Update to the latest plugins and databases: -`perl nikto.pl -update` +`perl nikto.pl {{[-u|-update]}}` diff --git a/pages/common/nim.md b/pages/common/nim.md index 7a2fa07f451eb3..92d565248a8e30 100644 --- a/pages/common/nim.md +++ b/pages/common/nim.md @@ -2,24 +2,28 @@ > The Nim compiler. > Processes, compiles and links Nim language source files. -> More information: . +> More information: . - Compile a source file: -`nim compile {{file.nim}}` +`nim {{[c|compile]}} {{path/to/file.nim}}` - Compile and run a source file: -`nim compile -r {{file.nim}}` +`nim {{[c|compile]}} {{[-r|--run]}} {{path/to/file.nim}}` - Compile a source file with release optimizations enabled: -`nim compile -d:release {{file.nim}}` +`nim {{[c|compile]}} {{[-d|--define]}}:release {{path/to/file.nim}}` - Build a release binary optimized for low file size: -`nim compile -d:release --opt:size {{file.nim}}` +`nim {{[c|compile]}} {{[-d|--define]}}:release --opt:size {{path/to/file.nim}}` - Generate HTML documentation for a module (output will be placed in the current directory): -`nim doc {{file.nim}}` +`nim doc {{path/to/file.nim}}` + +- Check a file for syntax and semantics: + +`nim check {{path/to/file.nim}}` diff --git a/pages/common/nimble.md b/pages/common/nimble.md index 70a3246c3a1ab9..0a86877ea63e3f 100644 --- a/pages/common/nimble.md +++ b/pages/common/nimble.md @@ -10,11 +10,11 @@ - Install a package: -`nimble install {{package_name}}` +`nimble install {{package}}` - List installed packages: -`nimble list -i` +`nimble list {{[-i|--installed]}}` - Create a new Nimble package in the current directory: diff --git a/pages/common/ninja.md b/pages/common/ninja.md index d2372c66ec0f90..3dfd70acffbeaf 100644 --- a/pages/common/ninja.md +++ b/pages/common/ninja.md @@ -7,6 +7,10 @@ `ninja` +- Build in the current directory, executing 4 jobs at a time in parallel: + +`ninja -j {{4}}` + - Build a program in a given directory: `ninja -C {{path/to/directory}}` @@ -15,6 +19,6 @@ `ninja -t targets` -- Show help: +- Display help: `ninja -h` diff --git a/pages/common/nix-build.2.md b/pages/common/nix-build.2.md new file mode 100644 index 00000000000000..3765a5c5917291 --- /dev/null +++ b/pages/common/nix-build.2.md @@ -0,0 +1,13 @@ +# nix-build + +> Build a Nix expression. +> See also: `nix build.3`. +> More information: . + +- Build a Nix expression: + +`nix-build '' {{[-A|--attr]}} {{firefox}}` + +- Build a sandboxed Nix expression (on non-NixOS): + +`nix-build '' {{[-A|--attr]}} {{firefox}} --option sandbox true` diff --git a/pages/common/nix-build.3.md b/pages/common/nix-build.3.md new file mode 100644 index 00000000000000..c8d3cc94b30489 --- /dev/null +++ b/pages/common/nix-build.3.md @@ -0,0 +1,21 @@ +# nix build + +> Build a Nix expression (downloading from the cache when possible). +> See also: `nix-build` for information about traditional Nix builds from expressions, `nix flake` for information about flakes. +> More information: . + +- Build a package from nixpkgs, symlinking the result to `./result`: + +`nix build {{nixpkgs#pkg}}` + +- Build a package from a flake in the current directory, showing the build logs in the process: + +`nix build -L {{.#pkg}}` + +- Build the default package from a flake in some directory: + +`nix build {{path/to/directory}}` + +- Build a package without making the `result` symlink, instead printing the store path to the `stdout`: + +`nix build --no-link --print-out-paths` diff --git a/pages/common/nix-build.md b/pages/common/nix-build.md index 8dff8751f1c235..126ea8bcfdd31f 100644 --- a/pages/common/nix-build.md +++ b/pages/common/nix-build.md @@ -1,12 +1,11 @@ # nix-build -> Build a Nix expression. -> More information: . +> `nix-build` can refer to multiple commands with the same name. -- Build a Nix expression: +- View documentation for the traditional builder: -`nix-build --attr {{expression_name}}` +`tldr nix-build.2` -- Build a sandboxed Nix expression (on non-nixOS): +- View documentation for nix3 builder: -`nix-build --attr {{expression_name}} --option sandbox true` +`tldr nix build.3` diff --git a/pages/common/nix-channel.md b/pages/common/nix-channel.md new file mode 100644 index 00000000000000..1984fd8cb96ff3 --- /dev/null +++ b/pages/common/nix-channel.md @@ -0,0 +1,16 @@ +# nix-channel + +> Manage `nix` update channels. +> More information: . + +- List current channels: + +`nix-channel --list` + +- Add a channel: + +`nix-channel --add {{https://nixos.org/channels/nixpkgs-unstable}}` + +- Update package list of all channels: + +`nix-channel --update` diff --git a/pages/common/nix-classic.md b/pages/common/nix-classic.md new file mode 100644 index 00000000000000..ac6154f2ad55a9 --- /dev/null +++ b/pages/common/nix-classic.md @@ -0,0 +1,30 @@ +# nix classic + +> A classic, stable interface to a powerful package manager that makes package management reliable, reproducible, and declarative. +> Some Nix commands such as `nix-build`, `nix-shell`, `nix-env`, and `nix-store` have their own pages. +> See also: `nix`. +> More information: . + +- Search for a package in nixpkgs via its name: + +`nix-env {{[-qaP|--query --available --attr-path]}} {{search_term_regex}}` + +- Start a shell with the specified packages available: + +`nix-shell {{[-p|--packages]}} {{pkg1 pkg2 pkg3 ...}}` + +- Install some packages permanently: + +`nix-env {{[-iA|--install --attr]}} {{nixpkgs.pkg1 nixpkgs.pkg2 ...}}` + +- Show all dependencies of a store path (package), in a tree format: + +`nix-store {{[-q|--query]}} --tree /nix/store/{{checksum-package-version.ext}}` + +- Update the channels (repositories): + +`nix-channel --update` + +- Remove unused paths from Nix store: + +`nix-collect-garbage` diff --git a/pages/common/nix-collect-garbage.md b/pages/common/nix-collect-garbage.md index 6c38d5d7f94946..a4488a83d9c666 100644 --- a/pages/common/nix-collect-garbage.md +++ b/pages/common/nix-collect-garbage.md @@ -2,16 +2,16 @@ > Delete unused and unreachable nix store paths. > Generations can be listed using `nix-env --list-generations`. -> More information: . +> More information: . - Delete all store paths unused by current generations of each profile: -`sudo nix-collect-garbage --delete-old` +`nix-collect-garbage {{[-d|--delete-old]}}` - Simulate the deletion of old store paths: -`sudo nix-collect-garbage --delete-old --dry-run` +`nix-collect-garbage {{[-d|--delete-old]}} --dry-run` - Delete all store paths older than 30 days: -`sudo nix-collect-garbage --delete-older-than {{30d}}` +`nix-collect-garbage --delete-older-than 30d` diff --git a/pages/common/nix-develop.md b/pages/common/nix-develop.md new file mode 100644 index 00000000000000..1589a09523de18 --- /dev/null +++ b/pages/common/nix-develop.md @@ -0,0 +1,16 @@ +# nix develop + +> Run a Bash shell that provides the build environment of a derivation. +> More information: . + +- Start a shell with all dependencies of a package from nixpkgs available: + +`nix develop {{nixpkgs#pkg}}` + +- Start a development shell for the default package in a flake in the current directory: + +`nix develop` + +- In that shell, configure and build the sources: + +`configurePhase; buildPhase` diff --git a/pages/common/nix-edit.md b/pages/common/nix-edit.md new file mode 100644 index 00000000000000..1ff3d06465b55b --- /dev/null +++ b/pages/common/nix-edit.md @@ -0,0 +1,12 @@ +# nix edit + +> Open the Nix expression of a Nix package in $EDITOR. +> More information: . + +- Open the source of the Nix expression of a package from nixpkgs in your `$EDITOR`: + +`nix edit {{nixpkgs#pkg}}` + +- Dump the source of a package to `stdout`: + +`EDITOR=cat nix edit {{nixpkgs#pkg}}` diff --git a/pages/common/nix-env.md b/pages/common/nix-env.md index 7dfabf73f5cc85..0a01465addb608 100644 --- a/pages/common/nix-env.md +++ b/pages/common/nix-env.md @@ -5,32 +5,32 @@ - List all installed packages: -`nix-env -q` +`nix-env {{[-q|--query]}}` - Query installed packages: -`nix-env -q {{search_term}}` +`nix-env {{[-q|--query]}} {{search_term}}` - Query available packages: -`nix-env -qa {{search_term}}` +`nix-env {{[-qa|--query --available]}} {{search_term}}` - Install package: -`nix-env -iA nixpkgs.{{pkg_name}}` +`nix-env {{[-iA|--install --attr]}} nixpkgs.{{pkg_name}}` - Install a package from a URL: -`nix-env -i {{pkg_name}} --file {{example.com}}` +`nix-env {{[-i|--install]}} {{pkg_name}} {{[-f|--file]}} {{example.com}}` - Uninstall package: -`nix-env -e {{pkg_name}}` +`nix-env {{[-e|--uninstall]}} {{pkg_name}}` - Upgrade one package: -`nix-env -u {{pkg_name}}` +`nix-env {{[-u|--upgrade]}} {{pkg_name}}` - Upgrade all packages: -`nix-env -u` +`nix-env {{[-u|--upgrade]}}` diff --git a/pages/common/nix-flake.md b/pages/common/nix-flake.md new file mode 100644 index 00000000000000..c68efff22542e0 --- /dev/null +++ b/pages/common/nix-flake.md @@ -0,0 +1,24 @@ +# nix flake + +> Manage Nix flakes. +> More information: . + +- Create a new flake (just the `flake.nix` file) from the default template, in the current directory: + +`nix flake init` + +- Update all inputs (dependencies) of the flake in the current directory: + +`nix flake update` + +- Update a specific input (dependency) of the flake in the current directory: + +`nix flake update {{input}}` + +- Show all the outputs of a flake on github: + +`nix flake show {{github:owner/repo}}` + +- Display help: + +`nix flake --help` diff --git a/pages/common/nix-profile.md b/pages/common/nix-profile.md new file mode 100644 index 00000000000000..d437a0350e4033 --- /dev/null +++ b/pages/common/nix-profile.md @@ -0,0 +1,28 @@ +# nix profile + +> Install, update and remove packages from Nix profiles. +> More information: . + +- Install some packages from nixpkgs into the default profile: + +`nix profile install {{nixpkgs#pkg1 nixpkgs#pkg2 ...}}` + +- Install a package from a flake on GitHub into a custom profile: + +`nix profile install {{github:owner/repo/pkg}} --profile {{path/to/directory}}` + +- List packages currently installed in the default profile: + +`nix profile list` + +- Remove a package installed from nixpkgs from the default profile, by name: + +`nix profile remove {{legacyPackages.x86_64-linux.pkg}}` + +- Upgrade packages in the default to the latest available versions: + +`nix profile upgrade` + +- Rollback (cancel) the latest action on the default profile: + +`nix profile rollback` diff --git a/pages/common/nix-registry.md b/pages/common/nix-registry.md new file mode 100644 index 00000000000000..941ac441715699 --- /dev/null +++ b/pages/common/nix-registry.md @@ -0,0 +1,25 @@ +# nix registry + +> Manage a Nix flake registry. +> See also: `nix flake` for information about flakes. +> More information: . + +- Pin the `nixpkgs` revision to the current version of the upstream repository: + +`nix registry pin {{nixpkgs}}` + +- Pin an entry to the latest version of the branch, or a particular reivision of a GitHub repository: + +`nix registry pin {{entry}} {{github:owner/repo/branch_or_revision}}` + +- Add a new entry that always points to the latest version of a GitHub repository, updating automatically: + +`nix registry add {{entry}} {{github:owner/repo}}` + +- Remove a registry entry: + +`nix registry remove {{entry}}` + +- See documentation about what Nix flake registries are: + +`nix registry --help` diff --git a/pages/common/nix-repl.md b/pages/common/nix-repl.md new file mode 100644 index 00000000000000..d05cbb70e74231 --- /dev/null +++ b/pages/common/nix-repl.md @@ -0,0 +1,25 @@ +# nix repl + +> Start an interactive environment for evaluating Nix expressions. +> See for a description of the Nix expression language. +> More information: . + +- Start an interactive environment for evaluating Nix expressions: + +`nix repl` + +- Load all packages from a flake (e.g. `nixpkgs`) into scope: + +`:lf {{nixpkgs}}` + +- Build a package from an expression: + +`:b {{expression}}` + +- Start a shell with package from the expression available: + +`:u {{expression}}` + +- Start a shell with dependencies of the package from the expression available: + +`:s {{expression}}` diff --git a/pages/common/nix-run.md b/pages/common/nix-run.md new file mode 100644 index 00000000000000..be56d51702d4b2 --- /dev/null +++ b/pages/common/nix-run.md @@ -0,0 +1,33 @@ +# nix run + +> Run an application from a Nix flake. +> See also: `nix flake` for information about flakes. +> More information: . + +- Run the default application in the flake in the current directory: + +`nix run` + +- Run a command whose name matches the package name from nixpkgs (if you want a different command from that package, see `tldr nix shell`): + +`nix run nixpkgs#{{pkg}}` + +- Run a command with provided arguments: + +`nix run nixpkgs#{{vim}} -- {{path/to/file}}` + +- Run from a remote repository: + +`nix run {{remote_name}}:{{owner}}/{{repo}}` + +- Run from a remote repository using a specific tag, revision or branch: + +`nix run {{remote_name}}:{{owner}}/{{repo}}/{{reference}}` + +- Run from a remote repository specifying a subdirectory and a program: + +`nix run "{{remote_name}}:{{owner}}/{{repo}}?dir={{dir_name}}#{{app}}"` + +- Run the flake of a GitHub pull request: + +`nix run github:{{owner}}/{{repo}}/pull/{{number}}/head` diff --git a/pages/common/nix-search.md b/pages/common/nix-search.md new file mode 100644 index 00000000000000..875b0ee9065d9c --- /dev/null +++ b/pages/common/nix-search.md @@ -0,0 +1,17 @@ +# nix search + +> Search for packages in a Nix flake. +> See also: `nix flake` for information about flakes. +> More information: . + +- Search `nixpkgs` for a package based on its name or description: + +`nix search {{nixpkgs}} {{search_term}}` + +- Show description of a package from nixpkgs: + +`nix search {{nixpkgs#pkg}}` + +- Show all packages available from a flake on github: + +`nix search {{github:owner/repo}}` diff --git a/pages/common/nix-shell.2.md b/pages/common/nix-shell.2.md new file mode 100644 index 00000000000000..826af4c2c5fc04 --- /dev/null +++ b/pages/common/nix-shell.2.md @@ -0,0 +1,29 @@ +# nix-shell + +> Start an interactive shell based on a Nix expression. +> See also: `nix shell.3`. +> More information: . + +- Start with nix expression in `shell.nix` or `default.nix` in the current directory: + +`nix-shell` + +- Run shell command in non-interactive shell and exit: + +`nix-shell --run "{{command}} {{argument1 argument2 ...}}"` + +- Start with expression in `default.nix` in the current directory: + +`nix-shell {{default.nix}}` + +- Start with packages loaded from nixpkgs: + +`nix-shell {{[-p|--packages]}} {{package1 package2 ...}}` + +- Start with packages loaded from specific nixpkgs revision: + +`nix-shell {{[-p|--packages]}} {{package1 package2 ...}} {{[-I|--include]}} nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}` + +- Evaluate rest of file in specific interpreter, for use in `#!-scripts` (see ): + +`nix-shell -i {{interpreter}} {{[-p|--packages]}} {{package1 package2 ...}}` diff --git a/pages/common/nix-shell.3.md b/pages/common/nix-shell.3.md new file mode 100644 index 00000000000000..2f94fa0933d227 --- /dev/null +++ b/pages/common/nix-shell.3.md @@ -0,0 +1,25 @@ +# nix shell + +> Start a shell in which the specified packages are available. +> See also: `nix-shell` for setting up development environments, `nix flake` for information about flakes. +> More information: . + +- Start an interactive shell with some packages from `nixpkgs`: + +`nix shell {{nixpkgs#pkg1 nixpkgs#packageSet.pkg2 ...}}` + +- Start a shell providing a package from an older version of `nixpkgs` (21.05): + +`nix shell {{nixpkgs/nixos-21.05#pkg}}` + +- Start a shell with the "default package" from a flake in the current directory, printing build logs if any builds happen: + +`nix shell -L` + +- Start a shell with a package from a flake on GitHub: + +`nix shell {{github:owner/repo#pkg}}` + +- Run a command in a shell with a package: + +`nix shell {{nixpkgs#pkg}} -c {{some-cmd --someflag 'Some other arguments'}}` diff --git a/pages/common/nix-shell.md b/pages/common/nix-shell.md index f565a33ca30093..26ca9274426a66 100644 --- a/pages/common/nix-shell.md +++ b/pages/common/nix-shell.md @@ -1,28 +1,11 @@ # nix-shell -> Start an interactive shell based on a Nix expression. -> More information: . +> `nix-shell` can refer to multiple commands with the same name. -- Start with nix expression in `shell.nix` or `default.nix` in the current directory: +- View documentation for the traditional shell: -`nix-shell` +`tldr nix-shell.2` -- Run shell command in non-interactive shell and exit: +- View documentation for nix3 shell: -`nix-shell --run "{{command}} {{command_arguments}}"` - -- Start with expression in `default.nix` in the current directory: - -`nix-shell {{default.nix}}` - -- Start with packages loaded from nixpkgs: - -`nix-shell --packages {{package_name_1}} {{package_name_2}}` - -- Start with packages loaded from specific nixpkgs revision: - -`nix-shell --packages {{package_names}} -I nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}` - -- Evaluate rest of file in specific interpreter, for use in `#!-scripts` (see ): - -`nix-shell -i {{interpreter}} --packages {{package_names}}` +`tldr nix shell.3` diff --git a/pages/common/nix-store.2.md b/pages/common/nix-store.2.md new file mode 100644 index 00000000000000..9a46cacb579f63 --- /dev/null +++ b/pages/common/nix-store.2.md @@ -0,0 +1,29 @@ +# nix-store + +> Manipulate or query the Nix store. +> See also: `nix store.3`. +> More information: . + +- Collect garbage, such as removing unused paths: + +`nix-store --gc` + +- Hard-link identical files together to reduce space usage: + +`nix-store --optimise` + +- Delete a specific store path (must be unused): + +`nix-store --delete /nix/store/{{checksum-package-version.ext}}` + +- Show all dependencies of a store path (package), in a tree format: + +`nix-store {{[-q|--query]}} --tree /nix/store/{{checksum-package-version.ext}}` + +- Calculate the total size of a certain store path with all the dependencies: + +`du {{[-cLsh|--total --dereference --summarize --human-readable]}} $(nix-store {{[-q|--query]}} --references /nix/store/{{checksum-package-version.ext}})` + +- Show all dependents of a particular store path: + +`nix-store {{[-q|--query]}} --referrers /nix/store/{{checksum-package-version.ext}}` diff --git a/pages/common/nix-store.3.md b/pages/common/nix-store.3.md new file mode 100644 index 00000000000000..8911aedc14db13 --- /dev/null +++ b/pages/common/nix-store.3.md @@ -0,0 +1,25 @@ +# nix store + +> Manipulate the Nix store. +> See also: `nix-store`. +> More information: . + +- Collect garbage, i.e. remove unused paths to reduce space usage: + +`nix store gc` + +- Hard-link identical files together to reduce space usage: + +`nix store optimise` + +- Delete a specific store path (most be unused): + +`nix store delete /nix/store/{{checksum-package-version.ext}}` + +- List a contents of the store path, on a remote store: + +`nix store --store {{https://cache.nixos.org}} ls /nix/store/{{checksum-package-version.ext}}` + +- Show the differences in versions between two store paths, with their respective dependencies: + +`nix store diff-closures /nix/store/{{checksum-package-version.ext}} /nix/store/{{checksum-package-version.ext}}` diff --git a/pages/common/nix-store.md b/pages/common/nix-store.md new file mode 100644 index 00000000000000..b528b7b445f08f --- /dev/null +++ b/pages/common/nix-store.md @@ -0,0 +1,11 @@ +# nix-store + +> `nix-store` can refer to multiple commands with the same name. + +- View documentation for the traditional store: + +`tldr nix-store.2` + +- View documentation for nix3 store: + +`tldr nix store.3` diff --git a/pages/common/nix-why-depends.md b/pages/common/nix-why-depends.md new file mode 100644 index 00000000000000..99835262cb1a49 --- /dev/null +++ b/pages/common/nix-why-depends.md @@ -0,0 +1,12 @@ +# nix why-depends + +> Show why a package depends on another package. +> More information: . + +- Show why the currently running NixOS system requires a certain store path: + +`nix why-depends {{/run/current-system}} /nix/store/{{checksum-package-version.ext}}` + +- Show why a package from nixpkgs requires another package as a _build-time_ dependency: + +`nix why-depends --derivation {{nixpkgs#dependent}} {{nixpkgs#dependency}}` diff --git a/pages/common/nix.md b/pages/common/nix.md index bf7edabdba8b11..0df35cdfbf2673 100644 --- a/pages/common/nix.md +++ b/pages/common/nix.md @@ -1,24 +1,35 @@ # nix -> Utilities for the Nix language and store. -> More information: . +> A powerful package manager that makes package management reliable, reproducible, and declarative. +> `nix` is experimental and requires enabling experimental features. +> See also: `nix classic` for a classic, stable interface. +> Some subcommands such as `build`, `develop`, `flake`, `registry`, `profile`, `search`, `repl`, `store`, `edit`, `why-depends`, etc. have their own usage documentation. +> More information: . -- Search for a package via its name or description: +- Enable the `nix` command: -`nix search {{search_term}}` +`mkdir {{[-p|--parents]}} ~/.config/nix; echo 'experimental-features = nix-command flakes' > ~/.config/nix/nix.conf` -- Start a Nix shell with the specified packages available: +- Search for a package in nixpkgs via its name or description: -`nix run {{nixpkgs.pkg1 nixpkgs.pkg2 nixpkgs.pkg3...}}` +`nix search nixpkgs {{search_term}}` -- Optimise Nix store disk usage by combining duplicate files: +- Start a shell with the specified packages from nixpkgs available: -`nix optimise-store` +`nix shell {{nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...}}` + +- Install some packages from nixpkgs permanently: + +`nix profile install {{nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...}}` + +- Remove unused paths from Nix store to free up space: + +`nix store gc` - Start an interactive environment for evaluating Nix expressions: `nix repl` -- Upgrade Nix to the latest stable version: +- Display help for a specific subcommand: -`nix upgrade-nix` +`nix help {{subcommand}}` diff --git a/pages/common/nixpkgs-review.md b/pages/common/nixpkgs-review.md new file mode 100644 index 00000000000000..4fcbf94d84307b --- /dev/null +++ b/pages/common/nixpkgs-review.md @@ -0,0 +1,29 @@ +# nixpkgs-review + +> Review pull requests in the NixOS packages repository (nixpkgs). +> After a successful build, a `nix-shell` with all built packages is started. +> More information: . + +- Build changed packages in the specified pull request: + +`nixpkgs-review pr {{pr_number|pr_url}}` + +- Build changed packages and post a comment with a report (requires setting up a token in `hub`, `gh`, or the `GITHUB_TOKEN` environment variable): + +`nixpkgs-review pr --post-result {{pr_number|pr_url}}` + +- Build changed packages and print a report: + +`nixpkgs-review pr --print-result {{pr_number|pr_url}}` + +- Build changed packages in a local commit: + +`nixpkgs-review rev {{HEAD}}` + +- Build changed packages that haven't been committed yet: + +`nixpkgs-review wip` + +- Build changed packages that have been staged: + +`nixpkgs-review wip --staged` diff --git a/pages/common/nkf.md b/pages/common/nkf.md index 5708d928f92d98..bff2c46b3ec435 100644 --- a/pages/common/nkf.md +++ b/pages/common/nkf.md @@ -1,7 +1,7 @@ # nkf -> Network kanji filter. -> Converts kanji code from one encoding to another. +> Network kanji filter: convert kanji code from one encoding to another. +> More information: . - Convert to UTF-8 encoding: @@ -15,11 +15,11 @@ `nkf -w --overwrite {{path/to/file.txt}}` -- Set new line code to LF and overwrite (unix type): +- Use LF as the new line code and overwrite (UNIX type): `nkf -d --overwrite {{path/to/file.txt}}` -- Set new line code to CRLF and overwrite (windows type): +- Use CRLF as the new line code and overwrite (windows type): `nkf -c --overwrite {{path/to/file.txt}}` diff --git a/pages/common/nl.md b/pages/common/nl.md index 761ffc1f06df61..6d3c7f63213391 100644 --- a/pages/common/nl.md +++ b/pages/common/nl.md @@ -1,23 +1,36 @@ # nl -> A utility for numbering lines, either from a file, or from standard input. +> Number lines from a file or from `stdin`. +> More information: . - Number non-blank lines in a file: -`nl {{file}}` +`nl {{path/to/file}}` -- Read from standard output: +- Read from `stdin`: -`cat {{file}} | nl {{options}} -` +`{{command}} | nl -` -- Number only the lines with printable text: +- Number [a]ll [b]ody lines including blank lines or do [n]ot number [b]ody lines: -`nl -t {{file}}` +`nl -b {{a|n}} {{path/to/file}}` -- Number all lines including blank lines: +- Number only the [b]ody lines that match a basic `regex` (BRE) [p]attern: -`nl -b a {{file}}` +`nl -b p'FooBar[0-9]' {{path/to/file}}` -- Number only the body lines that match a basic regular expression (BRE) pattern: +- Use a specific [i]ncrement for line numbering: -`nl -b p'FooBar[0-9]' {{file}}` +`nl -i {{increment}} {{path/to/file}}` + +- Specify the line numbering format to [r]ight or [l]eft justified, keeping leading [z]eros or [n]ot: + +`nl -n {{rz|ln|rn}}` + +- Specify the line numbering's [w]idth (6 by default): + +`nl -w {{col_width}} {{path/to/file}}` + +- Use a specific string to [s]eparate the line numbers from the lines (TAB by default): + +`nl -s {{separator}} {{path/to/file}}` diff --git a/pages/common/nload.md b/pages/common/nload.md new file mode 100644 index 00000000000000..d24b4759119ef1 --- /dev/null +++ b/pages/common/nload.md @@ -0,0 +1,12 @@ +# nload + +> Visualize network usage in the terminal. +> More information: . + +- View all network traffic (use the `` to switch interfaces): + +`nload` + +- View network traffic on specific interfaces (use the `` to switch interfaces): + +`nload devices {{interface1 interface2 ...}}` diff --git a/pages/common/nm-classic.md b/pages/common/nm-classic.md new file mode 100644 index 00000000000000..96e8582aad4918 --- /dev/null +++ b/pages/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> This command is an alias of `nm`. + +- View documentation for the original command: + +`tldr nm` diff --git a/pages/common/nm.md b/pages/common/nm.md new file mode 100644 index 00000000000000..cd2ba141823f1c --- /dev/null +++ b/pages/common/nm.md @@ -0,0 +1,20 @@ +# nm + +> List symbol names in object files. +> More information: . + +- List global (extern) functions in a file (prefixed with T): + +`nm {{[-g|--extern-only]}} {{path/to/file.o}}` + +- List only undefined symbols in a file: + +`nm {{[-u|--undefined-only]}} {{path/to/file.o}}` + +- List all symbols, even debugging symbols: + +`nm {{[-a|--debug-syms]}} {{path/to/file.o}}` + +- Demangle C++ symbols (make them readable): + +`nm {{[-C|--demangle]}} {{path/to/file.o}}` diff --git a/pages/common/nmap.md b/pages/common/nmap.md index c65a6373483f72..a0c73373a41f57 100644 --- a/pages/common/nmap.md +++ b/pages/common/nmap.md @@ -1,37 +1,37 @@ # nmap -> Network exploration tool and security / port scanner. -> Some features only activate when Nmap is run with privileges. -> More information: . +> Network exploration tool and security/port scanner. +> Some features (e.g. SYN scan) activate only when `nmap` is run with root privileges. +> More information: . -- Check if an IP address is up, and guess the remote host's operating system: +- Scan the top 1000 ports of a remote host with various [v]erbosity levels: -`nmap -O {{ip_or_hostname}}` +`nmap -v{{1|2|3}} {{ip_or_hostname}}` -- Try to determine whether the specified hosts are up and what are their names: +- Run a ping sweep over an entire subnet or individual hosts very aggressively: -`nmap -sn {{ip_or_hostname}} {{optional_another_address}}` +`nmap -T5 -sn {{192.168.0.0/24|ip_or_hostname1,ip_or_hostname2,...}}` -- Like above, but also run a default 1000-port TCP scan if host seems up: +- Enable OS detection, version detection, script scanning, and traceroute of hosts from a file: -`nmap {{ip_or_hostname}} {{optional_another_address}}` +`sudo nmap -A -iL {{path/to/file.txt}}` -- Also enable scripts, service detection, OS fingerprinting and traceroute: +- Scan a specific list of ports (use `-p-` for all ports from 1 to 65535): -`nmap -A {{address_or_addresses}}` +`nmap -p {{port1,port2,...}} {{ip_or_host1,ip_or_host2,...}}` -- Assume good network connection and speed up execution: +- Perform service and version detection of the top 1000 ports using default NSE scripts, writing results (`-oA`) to output files: -`nmap -T4 {{address_or_addresses}}` +`nmap -sC -sV -oA {{top-1000-ports}} {{ip_or_host1,ip_or_host2,...}}` -- Scan a specific list of ports (use -p- for all ports 1-65535): +- Scan target(s) carefully using `default and safe` NSE scripts: -`nmap -p {{port1,port2,…,portN}} {{address_or_addresses}}` +`nmap --script "default and safe" {{ip_or_host1,ip_or_host2,...}}` -- Perform TCP and UDP scanning (use -sU for UDP only, -sZ for SCTP, -sO for IP): +- Scan for web servers running on standard ports 80 and 443 using all available `http-*` NSE scripts: -`nmap -sSU {{address_or_addresses}}` +`nmap --script "http-*" {{ip_or_host1,ip_or_host2,...}} -p 80,443` -- Perform full port, service, version detection scan with all default NSE scripts active against a host to determine weaknesses and info: +- Attempt evading IDS/IPS detection by using an extremely slow scan (`-T0`), decoy source addresses (`-D`), [f]ragmented packets, random data and other methods: -`nmap -sC -sV {{address_or_addresses}}` +`sudo nmap -T0 -D {{decoy_ip1,decoy_ip2,...}} --source-port {{53}} -f --data-length {{16}} -Pn {{ip_or_host}}` diff --git a/pages/common/nmblookup.md b/pages/common/nmblookup.md new file mode 100644 index 00000000000000..a94fe59fc80147 --- /dev/null +++ b/pages/common/nmblookup.md @@ -0,0 +1,12 @@ +# nmblookup + +> Discover SMB shares. +> More information: . + +- Find hosts in the local network with SMB shares: + +`nmblookup {{[-S|--status]}} '*'` + +- Find hosts in the local network with SMB shares run by SAMBA: + +`nmblookup {{[-S|--status]}} __SAMBA__` diff --git a/pages/common/nms.md b/pages/common/nms.md new file mode 100644 index 00000000000000..55e7eaedeee406 --- /dev/null +++ b/pages/common/nms.md @@ -0,0 +1,20 @@ +# nms + +> Tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from `stdin`. +> More information: . + +- Decrypt text after a keystroke: + +`echo "{{Hello, World!}}" | nms` + +- Decrypt output immediately, without waiting for a keystroke: + +`{{ls -la}} | nms -a` + +- Decrypt the content of a file, with a custom output color: + +`cat {{path/to/file}} | nms -a -f {{blue|white|yellow|black|magenta|green|red}}` + +- Clear the screen before decrypting: + +`{{command}} | nms -a -c` diff --git a/pages/common/nnn.md b/pages/common/nnn.md new file mode 100644 index 00000000000000..d5632ebdbd4472 --- /dev/null +++ b/pages/common/nnn.md @@ -0,0 +1,28 @@ +# nnn + +> Interactive terminal file manager and disk usage analyzer. +> More information: . + +- Open the current directory (or specify one as the first argument): + +`nnn` + +- Start in detailed mode: + +`nnn -d` + +- Show hidden files: + +`nnn -H` + +- Open an existing bookmark (defined in the `NNN_BMS` environment variable): + +`nnn -b {{bookmark_name}}` + +- Sort files on [a]pparent disk usage / [d]isk usage / [e]xtension / [r]everse / [s]ize / [t]ime / [v]ersion: + +`nnn -T {{a|d|e|r|s|t|v}}` + +- Open a file you have selected. Select the file then press ``, and type a program to open the file in: + +`nnn -o` diff --git a/pages/common/node.md b/pages/common/node.md index ce9ace0e1466ad..1b7d8429137e5e 100644 --- a/pages/common/node.md +++ b/pages/common/node.md @@ -11,13 +11,17 @@ `node` +- Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+): + +`node --watch {{path/to/file}}` + - Evaluate JavaScript code by passing it as an argument: -`node -e "{{code}}"` +`node {{[-e|--eval]}} "{{code}}"` -- Evaluate and print result, useful to see node's dependencies versions: +- Evaluate and print the result, useful to print node's dependencies versions: -`node -p "{{process.versions}}"` +`node {{[-p|--print]}} "process.versions"` - Activate inspector, pausing execution until a debugger is connected once source code is fully parsed: diff --git a/pages/common/nodemon.md b/pages/common/nodemon.md index 7c2d0cb09ae6d5..a4a5b571f735ef 100644 --- a/pages/common/nodemon.md +++ b/pages/common/nodemon.md @@ -1,11 +1,11 @@ # nodemon > Watch files and automatically restart a node application when changes are detected. -> More information: . +> More information: . - Execute the specified file and watch a specific file for changes: -`nodemon --inspect {{path/to/file.js}}` +`nodemon {{path/to/file.js}}` - Manually restart nodemon (note nodemon must already be active for this to work): @@ -13,12 +13,20 @@ - Ignore specific files: -`nodemon --ignore {{path/to/file_or_directory}}` +`nodemon {{[-i|--ignore]}} {{path/to/file_or_directory}}` - Pass arguments to the node application: `nodemon {{path/to/file.js}} {{arguments}}` -- Run non-node scripts: +- Pass arguments to node itself if they're not nodemon arguments already (e.g. `--inspect`): -`nodemon --exec "{{python --verbose}}" {{path/to/file.py}}` +`nodemon {{arguments}} {{path/to/file.js}}` + +- Run an arbitrary non-node script: + +`nodemon {{[-x|--exec]}} "{{command_to_run_script}} {{options}}" {{path/to/script}}` + +- Run a Python script: + +`nodemon {{[-x|--exec]}} "python {{options}}" {{path/to/file.py}}` diff --git a/pages/common/nodenv.md b/pages/common/nodenv.md index ee333568873449..38dfa4fa420bf1 100644 --- a/pages/common/nodenv.md +++ b/pages/common/nodenv.md @@ -1,6 +1,6 @@ # nodenv -> A tool to manage NodeJS versions. +> Manage Node.js versions. > More information: . - Install a specific version of Node.js: diff --git a/pages/common/nohup.md b/pages/common/nohup.md index 560b819996737a..e9df2a67753ebd 100644 --- a/pages/common/nohup.md +++ b/pages/common/nohup.md @@ -1,7 +1,20 @@ # nohup > Allows for a process to live when the terminal gets killed. +> More information: . -- Run process that can live beyond the terminal: +- Run a process that can live beyond the terminal: -`nohup {{command}} {{command_options}}` +`nohup {{command}} {{argument1 argument2 ...}}` + +- Launch `nohup` in background mode: + +`nohup {{command}} {{argument1 argument2 ...}} &` + +- Run a shell script that can live beyond the terminal: + +`nohup {{path/to/script.sh}} &` + +- Run a process and write the output to a specific file: + +`nohup {{command}} {{argument1 argument2 ...}} > {{path/to/output_file}} &` diff --git a/pages/common/nokogiri.md b/pages/common/nokogiri.md index ad7334f426d385..1e9dc9a9ac4bd9 100644 --- a/pages/common/nokogiri.md +++ b/pages/common/nokogiri.md @@ -1,9 +1,9 @@ # nokogiri > An HTML, XML, SAX and Reader parser. -> More information: . +> More information: . -- Parse the contents of a url or file: +- Parse the contents of a URL or file: `nokogiri {{url|path/to/file}}` @@ -11,13 +11,13 @@ `nokogiri {{url|path/to/file}} --type {{xml|html}}` -- Load a specific initialisation file before parsing: +- Load a specific initialization file before parsing: `nokogiri {{url|path/to/file}} -C {{path/to/config_file}}` - Parse using a specific encoding: -`nokogiri {{url|path/to/file}} --encoding {{encoding}}` +`nokogiri {{url|path/to/file}} {{[-E|--encoding]}} {{encoding}}` - Validate using a RELAX NG file: diff --git a/pages/common/nop.md b/pages/common/nop.md new file mode 100644 index 00000000000000..22ad1035938ff8 --- /dev/null +++ b/pages/common/nop.md @@ -0,0 +1,17 @@ +# nop + +> Check validity and pretty-print graphs in canonical format. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Pretty-print one or more graphs in canonical format: + +`nop {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}` + +- Check one or more graphs for validity, producing no output graph: + +`nop -p {{path/to/input1.gv path/to/input2.gv ...}}` + +- Display help: + +`nop -?` diff --git a/pages/common/noti.md b/pages/common/noti.md index 01fe859ad36aa8..a686f4ecec3ce1 100644 --- a/pages/common/noti.md +++ b/pages/common/noti.md @@ -13,4 +13,4 @@ - Monitor a process by PID and trigger a notification when the PID disappears: -`noti -w {{process_id}}` +`noti {{[-w|--pwatch]}} {{process_id}}` diff --git a/pages/common/notify-send.md b/pages/common/notify-send.md new file mode 100644 index 00000000000000..dce8aaa570e305 --- /dev/null +++ b/pages/common/notify-send.md @@ -0,0 +1,24 @@ +# notify-send + +> Use the current desktop environment's notification system to create a notification. +> More information: . + +- Show a notification with the title "Test" and the content "This is a test": + +`notify-send "{{Test}}" "{{This is a test}}"` + +- Show a notification with a custom icon: + +`notify-send {{[-i|--icon]}} {{icon.png}} "{{Test}}" "{{This is a test}}"` + +- Show a notification for 5 seconds: + +`notify-send {{[-t|--expire-time]}} 5000 "{{Test}}" "{{This is a test}}"` + +- Show a notification with the specified urgency level (default: normal): + +`notify-send {{[-u|--urgency]}} {{low|normal|critical}} "{{Test}}" "{{This is a test}}"` + +- Show a notification with an app's icon and name: + +`notify-send "{{Test}}" {{[-i|--icon]}} {{google-chrome}} {{[-a|--app-name]}} "{{Google Chrome}}"` diff --git a/pages/common/notmuch.md b/pages/common/notmuch.md index 39e072d8728f15..1b128070b38534 100644 --- a/pages/common/notmuch.md +++ b/pages/common/notmuch.md @@ -1,6 +1,6 @@ # notmuch -> Command-line based program for indexing, searching, reading, and tagging large collections of email messages. +> Index, search, read, and tag large collections of email messages. > More information: . - Configure for first use: diff --git a/pages/common/now.md b/pages/common/now.md index 2af526103820c6..18af730476fc1a 100644 --- a/pages/common/now.md +++ b/pages/common/now.md @@ -1,6 +1,7 @@ # now > Cloud platform for serverless deployment. +> This command is deprecated. See `vercel`, the updated version of this tool. > More information: . - Deploy the current directory: diff --git a/pages/common/nping.md b/pages/common/nping.md new file mode 100644 index 00000000000000..b65923892f926d --- /dev/null +++ b/pages/common/nping.md @@ -0,0 +1,36 @@ +# nping + +> Network packet generation tool/ping utility. +> More information: . + +- Ping a specified host using ICMP if the user is allowed to, otherwise using TCP: + +`nping {{example.com}}` + +- Ping a specified host using ICMP assuming that the user is allowed to do so: + +`nping --icmp --privileged {{example.com}}` + +- Ping a specified host using UDP: + +`nping --udp {{example.com}}` + +- Ping a specified host on a given port using TCP: + +`nping --tcp --dest-port {{443}} {{example.com}}` + +- Ping a certain number of times: + +`nping --count {{10}} {{example.com}}` + +- Wait a certain amount of time between each ping: + +`nping --delay {{5s}} {{example.com}}` + +- Send the request over a specified interface: + +`nping --interface {{eth0}} {{example.com}}` + +- Ping an IP range: + +`nping {{10.0.0.1-10}}` diff --git a/pages/common/npm-access.md b/pages/common/npm-access.md new file mode 100644 index 00000000000000..1d2e0f0a90dc8e --- /dev/null +++ b/pages/common/npm-access.md @@ -0,0 +1,32 @@ +# npm access + +> Set access level on published packages. +> More information: . + +- List packages for a user or scope: + +`npm access list packages {{user|scope|scope:team}} {{package_name}}` + +- List collaborators on a package: + +`npm access list collaborators {{package_name}} {{username}}` + +- Get status of a package: + +`npm access get status {{package_name}}` + +- Set package status (public or private): + +`npm access set status {{public|private}} {{package_name}}` + +- Grant access to a package: + +`npm access grant {{read-only|read-write}} {{scope:team}} {{package_name}}` + +- Revoke access to a package: + +`npm access revoke {{scope:team}} {{package_name}}` + +- Configure two-factor authentication requirement: + +`npm access set mfa {{none|publish|automation}} {{package_name}}` diff --git a/pages/common/npm-adduser.md b/pages/common/npm-adduser.md new file mode 100644 index 00000000000000..0c2ca68a989248 --- /dev/null +++ b/pages/common/npm-adduser.md @@ -0,0 +1,20 @@ +# npm adduser + +> Add a registry user account. +> More information: . + +- Create a new user in the specified registry and save credentials to `.npmrc`: + +`npm adduser --registry {{registry_url}}` + +- Log in to a private registry with a specific scope: + +`npm login --scope {{@mycorp}} --registry {{https://registry.mycorp.com}}` + +- Log out from a specific scope and remove the auth token: + +`npm logout --scope {{@mycorp}}` + +- Create a scoped package during initialization: + +`npm init --scope {{@foo}} {{[-y|--yes]}}` diff --git a/pages/common/npm-audit.md b/pages/common/npm-audit.md new file mode 100644 index 00000000000000..2fd7b00f1c4e93 --- /dev/null +++ b/pages/common/npm-audit.md @@ -0,0 +1,33 @@ +# npm audit + +> Scan for known vulnerabilities in project dependencies. +> Reports vulnerabilities and suggests remediation. +> More information: . + +- Scan the project's dependencies for known vulnerabilities: + +`npm audit` + +- Automatically fix vulnerabilities in the project's dependencies: + +`npm audit fix` + +- Force an automatic fix to dependencies with vulnerabilities: + +`npm audit fix {{[-f|--force]}}` + +- Update the lock file without modifying the `node_modules` directory: + +`npm audit fix --package-lock-only` + +- Perform a dry run. Simulate the fix process without making any changes: + +`npm audit fix --dry-run` + +- Output audit results in JSON format: + +`npm audit --json` + +- Configure the audit to only fail on vulnerabilities above a specified severity: + +`npm audit --audit-level {{info|low|moderate|high|critical}}` diff --git a/pages/common/npm-author.md b/pages/common/npm-author.md new file mode 100644 index 00000000000000..ef72962bf93ec8 --- /dev/null +++ b/pages/common/npm-author.md @@ -0,0 +1,7 @@ +# npm author + +> This command is an alias of `npm owner`. + +- View documentation for the original command: + +`tldr npm owner` diff --git a/pages/common/npm-bugs.md b/pages/common/npm-bugs.md new file mode 100644 index 00000000000000..4b6686f6e0f157 --- /dev/null +++ b/pages/common/npm-bugs.md @@ -0,0 +1,21 @@ +# npm bugs + +> Report bugs for a package in a web browser. +> Attempts to open the package's bug tracker URL or support email. +> More information: . + +- Report bugs for a specific package by opening the bug tracker for the specified package: + +`npm bugs {{package_name}}` + +- Open the bug tracker for the current package by searching for a `package.json` file and using its name: + +`npm bugs` + +- Configure the browser used to open URLs by setting your preferred browser for `npm` commands: + +`npm {{[c|config]}} set browser {{browser_name}}` + +- Control URL opening: set `browser` to `true` for the system URL opener, or `false` to print URLs in the terminal: + +`npm {{[c|config]}} set browser {{true|false}}` diff --git a/pages/common/npm-cache.md b/pages/common/npm-cache.md new file mode 100644 index 00000000000000..cc9c595867a776 --- /dev/null +++ b/pages/common/npm-cache.md @@ -0,0 +1,36 @@ +# npm cache + +> Manage the npm package cache. +> More information: . + +- Add a specific package to the cache: + +`npm cache add {{package_name}}` + +- Remove a specific package from the cache: + +`npm cache remove {{package_name}}` + +- Clear a specific cached item by key: + +`npm cache clean {{key}}` + +- Clear the entire npm cache: + +`npm cache clean --force` + +- List the contents of the npm cache: + +`npm cache ls` + +- Verify the integrity of the npm cache: + +`npm cache verify` + +- Show the cache path: + +`npm {{[c|config]}} get cache` + +- Change the cache path: + +`npm {{[c|config]}} set cache {{path/to/directory}}` diff --git a/pages/common/npm-check.md b/pages/common/npm-check.md index a5b9c51ab19219..3bd3b0d659213d 100644 --- a/pages/common/npm-check.md +++ b/pages/common/npm-check.md @@ -1,7 +1,7 @@ # npm-check > Check for outdated, incorrect, and unused npm package dependencies. -> More information: . +> More information: . - Display a report of outdated, incorrect, and unused dependencies: @@ -9,12 +9,12 @@ - Interactively update out-of-date packages: -`npm-check --update` +`npm-check {{[-u|--update]}}` - Update everything without prompting: -`npm-check --update-all` +`npm-check {{[-y|--update-all]}}` - Don't check for unused packages: -`npm-check --skip-unused` +`npm-check {{[-s|--skip-unused]}}` diff --git a/pages/common/npm-ci.md b/pages/common/npm-ci.md new file mode 100644 index 00000000000000..4d29dc2ab125ad --- /dev/null +++ b/pages/common/npm-ci.md @@ -0,0 +1,17 @@ +# npm ci + +> Clean install of `npm` project dependencies for automated environments. +> Installs packages based on `package-lock.json` or `npm-shrinkwrap.json`. +> More information: . + +- Install project dependencies from `package-lock.json` or `npm-shrinkwrap.json`: + +`npm ci` + +- Install project dependencies but skip the specified dependency type: + +`npm ci --omit {{dev|optional|peer}}` + +- Install project dependencies without running any pre-/post-scripts defined in `package.json`: + +`npm ci --ignore-scripts` diff --git a/pages/common/npm-completion.md b/pages/common/npm-completion.md new file mode 100644 index 00000000000000..dc59aee1ea1a50 --- /dev/null +++ b/pages/common/npm-completion.md @@ -0,0 +1,20 @@ +# npm completion + +> Enable or set up tab-completion for npm commands. +> More information: . + +- Enable tab-completion for the current shell session: + +`npm completion` + +- Add completion to your shell profile (Bash): + +`npm completion >> ~/.bashrc` + +- Add completion to your shell profile (Zsh): + +`npm completion >> ~/.zshrc` + +- Write completions script to a specific file: + +`npm completion > {{path/to/file}}` diff --git a/pages/common/npm-config.md b/pages/common/npm-config.md new file mode 100644 index 00000000000000..7e35b0b6fb295f --- /dev/null +++ b/pages/common/npm-config.md @@ -0,0 +1,32 @@ +# npm config + +> Manage the `npm` configuration settings. +> More information: . + +- Show all configuration settings: + +`npm {{[c|config]}} list` + +- List all configuration settings as `JSON`: + +`npm {{[c|config]}} list --json` + +- Get the value of a specific configuration key: + +`npm {{[c|config]}} get {{key}}` + +- Set a configuration key to a specific value: + +`npm {{[c|config]}} set {{key}} {{value}}` + +- Delete a configuration key: + +`npm {{[c|config]}} delete {{key}}` + +- Edit the global npm configuration file in the default editor: + +`npm {{[c|config]}} edit` + +- Attempt to repair invalid configuration items: + +`npm {{[c|config]}} fix` diff --git a/pages/common/npm-dedupe.md b/pages/common/npm-dedupe.md new file mode 100644 index 00000000000000..170c9c5fe116d9 --- /dev/null +++ b/pages/common/npm-dedupe.md @@ -0,0 +1,28 @@ +# npm dedupe + +> Reduce duplication in the `node_modules` directory. +> More information: . + +- Deduplicate packages in `node_modules`: + +`npm {{[ddp|dedupe]}}` + +- Follow `package-lock.json` or `npm-shrinkwrap.json` during deduplication: + +`npm {{[ddp|dedupe]}} --lock` + +- Run deduplication in strict mode: + +`npm {{[ddp|dedupe]}} --strict` + +- Skip optional/peer dependencies during deduplication: + +`npm {{[ddp|dedupe]}} --omit {{optional|peer}}` + +- Enable detailed logging for troubleshooting: + +`npm {{[ddp|dedupe]}} --loglevel verbose` + +- Limit deduplication to a specific package: + +`npm {{[ddp|dedupe]}} {{package_name}}` diff --git a/pages/common/npm-deprecate.md b/pages/common/npm-deprecate.md new file mode 100644 index 00000000000000..e9e2b112e7a277 --- /dev/null +++ b/pages/common/npm-deprecate.md @@ -0,0 +1,16 @@ +# npm deprecate + +> Mark a version or range of versions of an `npm` package as deprecated. +> More information: . + +- Deprecate a specific version of a package: + +`npm deprecate {{package_name}}@{{version}} "{{deprecation_message}}"` + +- Deprecate a range of versions of a package: + +`npm deprecate {{package_name}}@"<{{version_range}}" "{{deprecation_message}}"` + +- Un-deprecate a specific version of a package: + +`npm deprecate {{package_name}}@{{version}} ""` diff --git a/pages/common/npm-diff.md b/pages/common/npm-diff.md new file mode 100644 index 00000000000000..061ae1f72ce60b --- /dev/null +++ b/pages/common/npm-diff.md @@ -0,0 +1,33 @@ +# npm diff + +> Compare package versions from the `npm` registry and show differences. +> Similar to `git diff`. +> More information: . + +- Compare two specific package versions: + +`npm diff --diff {{package_name}}@{{version1}} --diff {{package_name}}@{{version2}}` + +- Compare current local packages with latest published version: + +`npm diff` + +- Compare current local package with a specific version: + +`npm diff --diff {{package_name}}@{{version}}` + +- Compare a package in the current directory with the registry version: + +`npm diff --diff {{package_name}}` + +- Show only filenames that differ: + +`npm diff --diff-name-only --diff {{package_name}}@{{version1}} --diff {{package_name}}@{{version2}}` + +- Compare specific files or directories only: + +`npm diff {{path/to/file_or_directory}} --diff {{package_name}}@{{version1}} --diff {{package_name}}@{{version2}}` + +- Ignore whitespace when comparing: + +`npm diff --diff-ignore-all-space --diff {{package_name}}@{{version1}} --diff {{package_name}}@{{version2}}` diff --git a/pages/common/npm-dist-tag.md b/pages/common/npm-dist-tag.md new file mode 100644 index 00000000000000..c8697d537faa39 --- /dev/null +++ b/pages/common/npm-dist-tag.md @@ -0,0 +1,28 @@ +# npm dist-tag + +> Manage distribution tags on packages. +> More information: . + +- List all distribution tags for a package: + +`npm dist-tag ls {{package_name}}` + +- List all distribution tags for the current package: + +`npm dist-tag ls` + +- Add a distribution tag to a specific package version: + +`npm dist-tag add {{package_name}}@{{version}} {{tag}}` + +- Remove a distribution tag from a package: + +`npm dist-tag rm {{package_name}} {{tag}}` + +- Add a tag using the configured tag from npm config: + +`npm dist-tag add {{package_name}}@{{version}}` + +- Add a tag with two-factor authentication: + +`npm dist-tag add {{package_name}}@{{version}} {{tag}} --otp {{one_time_password}}` diff --git a/pages/common/npm-docs.md b/pages/common/npm-docs.md new file mode 100644 index 00000000000000..9cadcd4cdeff29 --- /dev/null +++ b/pages/common/npm-docs.md @@ -0,0 +1,12 @@ +# npm docs + +> Open the documentation for one or more packages in the default web browser. +> More information: . + +- Open a specific package's documentation page: + +`npm docs {{package}}` + +- Open documentation for multiple packages at once: + +`npm docs {{package1 package2 ...}}` diff --git a/pages/common/npm-doctor.md b/pages/common/npm-doctor.md new file mode 100644 index 00000000000000..58317c6243cd15 --- /dev/null +++ b/pages/common/npm-doctor.md @@ -0,0 +1,24 @@ +# npm doctor + +> Check the health of the npm environment. +> More information: . + +- Run all default health checks for `npm`: + +`npm doctor` + +- Check the connection to the `npm` registry: + +`npm doctor connection` + +- Check the versions of Node.js and `npm` in use: + +`npm doctor versions` + +- Check for permissions issues with `npm` directories and cache: + +`npm doctor permissions` + +- Validate the cached package files and checksums: + +`npm doctor cache` diff --git a/pages/common/npm-edit.md b/pages/common/npm-edit.md new file mode 100644 index 00000000000000..51fe737336c554 --- /dev/null +++ b/pages/common/npm-edit.md @@ -0,0 +1,9 @@ +# npm edit + +> Select a dependency in the current project and open the package folder in the default editor (`$EDITOR`). +> After editing, the package is rebuilt to pick up any changes in compiled packages. +> More information: . + +- Edit a locally installed package in the default editor: + +`npm edit {{package_name}}` diff --git a/pages/common/npm-exec.md b/pages/common/npm-exec.md new file mode 100644 index 00000000000000..5e9873c4d6e16b --- /dev/null +++ b/pages/common/npm-exec.md @@ -0,0 +1,24 @@ +# npm exec + +> Execute binaries from `npm` packages. +> More information: . + +- Execute the command from a local or remote `npm` package: + +`npm {{[x|exec]}} {{command}} {{argument1 argument2 ...}}` + +- Specify the package explicitly (useful if multiple commands with the same name exist): + +`npm {{[x|exec]}} --package {{package}} {{command}}` + +- Run a command if it exists in the current path or in `node_modules/.bin`: + +`npm {{[x|exec]}} --no-install {{command}} {{argument1 argument2 ...}}` + +- Execute a specific command, suppressing any output from `npm` itself: + +`npm {{[x|exec]}} --quiet {{command}} {{argument1 argument2 ...}}` + +- Display help: + +`npm {{[x|exec]}} --help` diff --git a/pages/common/npm-find-dupes.md b/pages/common/npm-find-dupes.md new file mode 100644 index 00000000000000..3c2efa63010710 --- /dev/null +++ b/pages/common/npm-find-dupes.md @@ -0,0 +1,36 @@ +# npm find-dupes + +> Identify duplicate dependencies in `node_modules`. +> More information: . + +- List all duplicate packages within `node_modules`: + +`npm find-dupes` + +- Include `devDependencies` in duplicate detection: + +`npm find-dupes --include dev` + +- List all duplicate instances of a specific package in `node-modules`: + +`npm find-dupes {{package_name}}` + +- Exclude optional dependencies from duplicate detection: + +`npm find-dupes --omit optional` + +- Set the logging level for output: + +`npm find-dupes --loglevel {{silent|error|warn|info|verbose}}` + +- Output duplicate information in JSON format: + +`npm find-dupes --json` + +- Limit duplicate search to specific scopes: + +`npm find-dupes --scope {{@scope1,@scope2}}` + +- Exclude specific scopes from duplicate detection: + +`npm find-dupes --omit-scope {{@scope1,@scope2}}` diff --git a/pages/common/npm-fund.md b/pages/common/npm-fund.md new file mode 100644 index 00000000000000..d5dd8e21f0fdc6 --- /dev/null +++ b/pages/common/npm-fund.md @@ -0,0 +1,16 @@ +# npm fund + +> Retrieve funding information from packages. +> More information: . + +- List dependencies with funding URL for the project in the current directory: + +`npm fund` + +- Open the funding URL for a specific package in the default web browser: + +`npm fund {{package}}` + +- List dependencies with a funding URL for a specific workspace for the project in the current directory: + +`npm fund {{[-w|--workspace]}} {{workspace}}` diff --git a/pages/common/npm-home.md b/pages/common/npm-home.md new file mode 100644 index 00000000000000..95940d14840c17 --- /dev/null +++ b/pages/common/npm-home.md @@ -0,0 +1,16 @@ +# npm-home + +> Open the `npm` page, Yarn page, or GitHub repository of a package in the web browser. +> More information: . + +- Open the `npm` page of a specific package in the web browser: + +`npm-home {{package}}` + +- Open the GitHub repository of a specific package in the web browser: + +`npm-home {{[-g|--github]}} {{package}}` + +- Open the Yarn page of a specific package in the web browser: + +`npm-home {{[-y|--yarn]}} {{package}}` diff --git a/pages/common/npm-init.md b/pages/common/npm-init.md new file mode 100644 index 00000000000000..73eeb21635fe52 --- /dev/null +++ b/pages/common/npm-init.md @@ -0,0 +1,16 @@ +# npm init + +> Create a `package.json` file. +> More information: . + +- Initialize a new package with prompts: + +`npm init` + +- Initialize a new package with default values: + +`npm init {{[-y|--yes]}}` + +- Initialize a new package using a specific initializer: + +`npm init {{create-react-app}} {{my-app}}` diff --git a/pages/common/npm-install.md b/pages/common/npm-install.md new file mode 100644 index 00000000000000..c2faaf48df15d8 --- /dev/null +++ b/pages/common/npm-install.md @@ -0,0 +1,20 @@ +# npm install + +> Install Node packages. +> More information: . + +- Install dependencies listed in `package.json`: + +`npm {{[i|install]}}` + +- Download a specific version of a package and add it to the list of dependencies in `package.json`: + +`npm {{[i|install]}} {{package_name}}@{{version}}` + +- Download the latest version of a package and add it to the list of dev dependencies in `package.json`: + +`npm {{[i|install]}} {{[-D|--save-dev]}} {{package_name}}` + +- Download the latest version of a package and install it globally: + +`npm {{[i|install]}} {{[-g|--global]}} {{package_name}}` diff --git a/pages/common/npm-list.md b/pages/common/npm-list.md new file mode 100644 index 00000000000000..392f6bebba974d --- /dev/null +++ b/pages/common/npm-list.md @@ -0,0 +1,7 @@ +# npm list + +> This command is an alias of `npm ls`. + +- View documentation for the original command: + +`tldr npm ls` diff --git a/pages/common/npm-login.md b/pages/common/npm-login.md new file mode 100644 index 00000000000000..b726777d1fa616 --- /dev/null +++ b/pages/common/npm-login.md @@ -0,0 +1,17 @@ +# npm login + +> Log in to a registry user account. +> See also: `npm logout` for logging out. +> More information: . + +- Log in to a registry user account and save the credentials to the `.npmrc` file: + +`npm login` + +- Log in using a custom registry: + +`npm login --registry {{registry_url}}` + +- Log in using a specific authentication strategy: + +`npm login --auth-type {{legacy|web}}` diff --git a/pages/common/npm-logout.md b/pages/common/npm-logout.md new file mode 100644 index 00000000000000..6ea2507dcd0a8c --- /dev/null +++ b/pages/common/npm-logout.md @@ -0,0 +1,13 @@ +# npm logout + +> Log out of the registry user account. +> See also: `npm login` for logging in. +> More information: . + +- Log out of the registry user account: + +`npm logout` + +- Log out using a custom registry: + +`npm logout --registry {{registry_url}}` diff --git a/pages/common/npm-ls.md b/pages/common/npm-ls.md new file mode 100644 index 00000000000000..e873c0f2da8e7e --- /dev/null +++ b/pages/common/npm-ls.md @@ -0,0 +1,28 @@ +# npm ls + +> Print installed packages to `stdout`. +> More information: . + +- Print all versions of direct dependencies in the current project to `stdout`: + +`npm {{[ls|list]}}` + +- Print all installed packages including peer dependencies: + +`npm {{[ls|list]}} {{[-a|--all]}}` + +- Print all globally installed packages: + +`npm {{[ls|list]}} {{[-g|--global]}}` + +- Print dependencies with extended information: + +`npm {{[ls|list]}} {{[-l|--long]}}` + +- Print dependencies in parseable format: + +`npm {{[ls|list]}} {{[-p|--parseable]}}` + +- Print dependencies in JSON format: + +`npm {{[ls|list]}} --json` diff --git a/pages/common/npm-name.md b/pages/common/npm-name.md new file mode 100644 index 00000000000000..7b2e7b38732e4a --- /dev/null +++ b/pages/common/npm-name.md @@ -0,0 +1,12 @@ +# npm-name + +> Check whether a package or organization name is available on npm. +> More information: . + +- Check if a specific package name is available in the `npm` registry: + +`npm-name {{package}}` + +- Find similar package names in the `npm` registry: + +`npm-name --similar {{package}}` diff --git a/pages/common/npm-org.md b/pages/common/npm-org.md new file mode 100644 index 00000000000000..735a197f1bc77f --- /dev/null +++ b/pages/common/npm-org.md @@ -0,0 +1,28 @@ +# npm org + +> Manage organizations. +> More information: . + +- Add a new user to an organization: + +`npm org set {{organization_name}} {{username}}` + +- Change a user's role in an organization: + +`npm org set {{organization_name}} {{username}} {{developer|admin|owner}}` + +- Remove a user from an organization: + +`npm org rm {{organization_name}} {{username}}` + +- List all users in an organization: + +`npm org ls {{organization_name}}` + +- List all users in an organization, output in JSON format: + +`npm org ls {{organization_name}} --json` + +- Display a user's role in an organization: + +`npm org ls {{organization_name}} {{username}}` diff --git a/pages/common/npm-outdated.md b/pages/common/npm-outdated.md new file mode 100644 index 00000000000000..2edd30ef8bbd14 --- /dev/null +++ b/pages/common/npm-outdated.md @@ -0,0 +1,12 @@ +# npm outdated + +> Check for outdated npm package dependencies. +> More information: . + +- Find packages that are outdated in a project: + +`npm outdated` + +- Find packages that are outdated regardless of the current project: + +`npm outdated {{[-a|--all]}}` diff --git a/pages/common/npm-owner.md b/pages/common/npm-owner.md new file mode 100644 index 00000000000000..40c3478f43f015 --- /dev/null +++ b/pages/common/npm-owner.md @@ -0,0 +1,16 @@ +# npm owner + +> Manage ownership of published packages. +> More information: . + +- Add a new user as a maintainer of a package: + +`npm owner add {{username}} {{package_name}}` + +- Remove a user from a package's owner list: + +`npm owner rm {{username}} {{package_name}}` + +- List all owners of a package: + +`npm owner ls {{package_name}}` diff --git a/pages/common/npm-query.md b/pages/common/npm-query.md new file mode 100644 index 00000000000000..cf3e85e2c66a63 --- /dev/null +++ b/pages/common/npm-query.md @@ -0,0 +1,32 @@ +# npm query + +> Print an array of dependency objects using CSS-like selectors. +> More information: . + +- Print direct dependencies: + +`npm query ':root > *'` + +- Print all direct production/development dependencies: + +`npm query ':root > .{{prod|dev}}'` + +- Print dependencies with a specific name: + +`npm query '#{{package}}'` + +- Print dependencies with a specific name and within a semantic versioning range: + +`npm query '#{{package}}@{{semantic_version}}'` + +- Print dependencies which have no dependencies: + +`npm query ':empty'` + +- Find all dependencies with postinstall scripts and uninstall them: + +`npm query ":attr(scripts, [postinstall])" | jq 'map(.name) | join("\n")' {{[-r|--raw-output]}} | xargs -I _ npm uninstall _` + +- Find all Git dependencies and print which application requires them: + +`npm query ":type(git)" | jq 'map(.name)' | xargs -I _ npm why _` diff --git a/pages/common/npm-restart.md b/pages/common/npm-restart.md new file mode 100644 index 00000000000000..f6f90d34a4f8be --- /dev/null +++ b/pages/common/npm-restart.md @@ -0,0 +1,7 @@ +# npm restart + +> This command is an alias of `npm run restart`. + +- View documentation for the original command: + +`tldr npm run` diff --git a/pages/common/npm-root.md b/pages/common/npm-root.md new file mode 100644 index 00000000000000..f6d5a4f936fff4 --- /dev/null +++ b/pages/common/npm-root.md @@ -0,0 +1,12 @@ +# npm root + +> Display path to `node_modules` directory. +> More information: . + +- Display path to the local `node_modules` directory: + +`npm root` + +- Display path to the global `node_modules` directory: + +`npm root {{[-g|--global]}}` diff --git a/pages/common/npm-run-script.md b/pages/common/npm-run-script.md new file mode 100644 index 00000000000000..7ced33b7679adc --- /dev/null +++ b/pages/common/npm-run-script.md @@ -0,0 +1,7 @@ +# npm run-script + +> This command is an alias of `npm run`. + +- View documentation for the original command: + +`tldr npm run` diff --git a/pages/common/npm-run.md b/pages/common/npm-run.md new file mode 100644 index 00000000000000..37f89d552922ad --- /dev/null +++ b/pages/common/npm-run.md @@ -0,0 +1,28 @@ +# npm run + +> Run a script. +> More information: . + +- Run a script: + +`npm run {{script_name}}` + +- Pass arguments to a script: + +`npm run {{script_name}} -- {{argument}} {{--option}}` + +- Run a script named `start`: + +`npm start` + +- Run a script named `stop`: + +`npm stop` + +- Run a script named `restart`: + +`npm restart` + +- Run a script named `test`: + +`npm {{[t|test]}}` diff --git a/pages/common/npm-sbom.md b/pages/common/npm-sbom.md new file mode 100644 index 00000000000000..b967e068c314c0 --- /dev/null +++ b/pages/common/npm-sbom.md @@ -0,0 +1,16 @@ +# npm sbom + +> Generate a Software Bill of Materials (SBOM) for your Node.js project. +> More information: . + +- Output a list of all dependencies in your project: + +`npm sbom` + +- Exclude both `dev` and `optional` dependencies: + +`npm sbom --omit dev --omit optional` + +- Generate an SBOM based only on the `package-lock.json`: + +`npm sbom --package-lock-only` diff --git a/pages/common/npm-search.md b/pages/common/npm-search.md new file mode 100644 index 00000000000000..cf52e4388fb9ba --- /dev/null +++ b/pages/common/npm-search.md @@ -0,0 +1,28 @@ +# npm search + +> Search for packages in the `npm` registry. +> More information: . + +- Search for a package by name: + +`npm {{[s|search]}} {{package}}` + +- Search for packages by a specific keyword: + +`npm {{[s|search]}} {{keyword}}` + +- Search for packages, including detailed information (e.g., description, author, version): + +`npm {{[s|search]}} {{package}} --long` + +- Search for packages maintained by a specific author: + +`npm {{[s|search]}} --author {{author}}` + +- Search for packages with a specific organization: + +`npm {{[s|search]}} --scope {{organization}}` + +- Search for packages with a specific combination of terms: + +`npm {{[s|search]}} {{term1 term2 ...}}` diff --git a/pages/common/npm-star.md b/pages/common/npm-star.md new file mode 100644 index 00000000000000..6641da3415fb7b --- /dev/null +++ b/pages/common/npm-star.md @@ -0,0 +1,36 @@ +# npm star + +> Mark a package as favorite. +> More information: . + +- Star a public package from the default registry: + +`npm star {{package_name}}` + +- Star a package within a specific scope: + +`npm star @{{scope}}/{{package_name}}` + +- Star a package from a specific registry: + +`npm star {{package_name}} --registry {{registry_url}}` + +- Star a private package that requires authentication: + +`npm star {{package_name}} --auth-type {{legacy|oauth|web|saml}}` + +- Star a package by providing an OTP for two-factor authentication: + +`npm star {{package_name}} --otp {{otp}}` + +- Star a package with detailed logging: + +`npm star {{package_name}} --loglevel verbose` + +- List all your starred packages: + +`npm star --list` + +- List your starred packages from a specific registry: + +`npm star --list --registry {{registry_url}}` diff --git a/pages/common/npm-start.md b/pages/common/npm-start.md new file mode 100644 index 00000000000000..a7cde95f699345 --- /dev/null +++ b/pages/common/npm-start.md @@ -0,0 +1,7 @@ +# npm start + +> This command is an alias of `npm run start`. + +- View documentation for the original command: + +`tldr npm run` diff --git a/pages/common/npm-stop.md b/pages/common/npm-stop.md new file mode 100644 index 00000000000000..53bda37b1ffeda --- /dev/null +++ b/pages/common/npm-stop.md @@ -0,0 +1,7 @@ +# npm stop + +> This command is an alias of `npm run stop`. + +- View documentation for the original command: + +`tldr npm run` diff --git a/pages/common/npm-team.md b/pages/common/npm-team.md new file mode 100644 index 00000000000000..a951ee89542e0b --- /dev/null +++ b/pages/common/npm-team.md @@ -0,0 +1,28 @@ +# npm team + +> Manage teams in an organization on the `npm` registry. +> More information: . + +- Add a user to a team in an organization: + +`npm team add {{organization:team}} {{username}}` + +- Remove a user from a team: + +`npm team rm {{organization:team}} {{username}}` + +- Create a new team in an organization: + +`npm team create {{organization:team}}` + +- Delete a team from an organization: + +`npm team destroy {{organization:team}}` + +- List all teams in an organization: + +`npm team ls {{organization}}` + +- List all users in a specific team: + +`npm team ls {{organization:team}}` diff --git a/pages/common/npm-test.md b/pages/common/npm-test.md new file mode 100644 index 00000000000000..cbec828dbf3bf0 --- /dev/null +++ b/pages/common/npm-test.md @@ -0,0 +1,7 @@ +# npm test + +> This command is an alias of `npm run test`. + +- View documentation for the original command: + +`tldr npm run` diff --git a/pages/common/npm-token.md b/pages/common/npm-token.md new file mode 100644 index 00000000000000..e9871bafd05050 --- /dev/null +++ b/pages/common/npm-token.md @@ -0,0 +1,32 @@ +# npm token + +> Manage and generate authentication tokens for the npm registry. +> More information: . + +- Create a new authentication token: + +`npm token create` + +- List all tokens associated with an account: + +`npm token list` + +- Delete a specific token using its token ID: + +`npm token revoke {{token_id}}` + +- Create a token with read-only access: + +`npm token create --read-only` + +- Create a token with publish access: + +`npm token create --publish` + +- Automatically configure an npm token in your global `.npmrc` file when you log in: + +`npm login` + +- Remove a token from the global configuration: + +`npm token revoke {{token_id}}` diff --git a/pages/common/npm-uninstall.md b/pages/common/npm-uninstall.md new file mode 100644 index 00000000000000..afdf48800e767f --- /dev/null +++ b/pages/common/npm-uninstall.md @@ -0,0 +1,16 @@ +# npm uninstall + +> Remove a package. +> More information: . + +- Remove a package from the current project: + +`npm {{[r|uninstall]}} {{package_name}}` + +- Remove a package globally: + +`npm {{[r|uninstall]}} {{[-g|--global]}} {{package_name}}` + +- Remove multiple packages at once: + +`npm {{[r|uninstall]}} {{package_name1 package_name2 ...}}` diff --git a/pages/common/npm-unpublish.md b/pages/common/npm-unpublish.md new file mode 100644 index 00000000000000..8548699c38f3b1 --- /dev/null +++ b/pages/common/npm-unpublish.md @@ -0,0 +1,24 @@ +# npm unpublish + +> Remove a package from the npm registry. +> More information: . + +- Unpublish a specific package version: + +`npm unpublish {{package_name}}@{{version}}` + +- Unpublish the entire package: + +`npm unpublish {{package_name}} {{[-f|--force]}}` + +- Unpublish a package that is scoped: + +`npm unpublish @{{scope}}/{{package_name}}` + +- Specify a timeout period before unpublishing: + +`npm unpublish {{package_name}} --timeout {{time_in_milliseconds}}` + +- To prevent accidental unpublishing, use the `--dry-run` flag to see what would be unpublished: + +`npm unpublish {{package_name}} --dry-run` diff --git a/pages/common/npm-unstar.md b/pages/common/npm-unstar.md new file mode 100644 index 00000000000000..dc75fc0371347e --- /dev/null +++ b/pages/common/npm-unstar.md @@ -0,0 +1,28 @@ +# npm unstar + +> Remove the favorite/star mark from a package. +> More information: . + +- Unstar a public package from the default registry: + +`npm unstar {{package_name}}` + +- Unstar a package within a specific scope: + +`npm unstar @{{scope}}/{{package_name}}` + +- Unstar a package from a specific registry: + +`npm unstar {{package_name}} --registry {{registry_url}}` + +- Unstar a private package that requires authentication: + +`npm unstar {{package_name}} --auth-type {{legacy|oauth|web|saml}}` + +- Unstar a package by providing an OTP for two-factor authentication: + +`npm unstar {{package_name}} --otp {{otp}}` + +- Unstar a package with a specific logging level: + +`npm unstar {{package_name}} --loglevel {{silent|error|warn|notice|http|timing|info|verbose|silly}}` diff --git a/pages/common/npm-update.md b/pages/common/npm-update.md new file mode 100644 index 00000000000000..fed3cbf0fbd9fa --- /dev/null +++ b/pages/common/npm-update.md @@ -0,0 +1,20 @@ +# npm update + +> Update packages in the current project. +> More information: . + +- Update all packages in the current project: + +`npm {{[up|update]}}` + +- Update a specific package in the current project: + +`npm {{[up|update]}} {{package}}` + +- Update a package globally: + +`npm {{[up|update]}} {{[-g|--global]}} {{package}}` + +- Update multiple packages at once: + +`npm {{[up|update]}} {{package1 package2 ...}}` diff --git a/pages/common/npm-version.md b/pages/common/npm-version.md new file mode 100644 index 00000000000000..ee525acaeaa062 --- /dev/null +++ b/pages/common/npm-version.md @@ -0,0 +1,24 @@ +# npm version + +> Bump a node package version. +> More information: . + +- Display version: + +`npm version` + +- Bump the minor version: + +`npm version minor` + +- Set a specific version: + +`npm version {{version}}` + +- Bump the patch version without creating a Git tag: + +`npm version patch --no-git-tag-version` + +- Bump the major version with a custom commit message: + +`npm version major {{[-m|--message]}} "{{Upgrade to %s for reasons}}"` diff --git a/pages/common/npm-view.md b/pages/common/npm-view.md new file mode 100644 index 00000000000000..595205915f052c --- /dev/null +++ b/pages/common/npm-view.md @@ -0,0 +1,32 @@ +# npm view + +> View registry information about a package. +> More information: . + +- View information about the latest version of a package: + +`npm {{[v|view]}} {{package}}` + +- View information about a specific version of a package: + +`npm {{[v|view]}} {{package}}@{{version}}` + +- View all available versions of a package: + +`npm {{[v|view]}} {{package}} versions` + +- View the description of a package: + +`npm {{[v|view]}} {{package}} description` + +- View the dependencies of the latest version of a package: + +`npm {{[v|view]}} {{package}} dependencies` + +- View the repository URL of a package: + +`npm {{[v|view]}} {{package}} repository` + +- View the maintainers of a package: + +`npm {{[v|view]}} {{package}} maintainers` diff --git a/pages/common/npm-whoami.md b/pages/common/npm-whoami.md new file mode 100644 index 00000000000000..71fc3ce994a2f5 --- /dev/null +++ b/pages/common/npm-whoami.md @@ -0,0 +1,12 @@ +# npm whoami + +> Display npm username. +> More information: . + +- Display username of the currently logged-in user: + +`npm whoami` + +- Display username of the current user in the specific registry: + +`npm whoami --registry {{registry_url}}` diff --git a/pages/common/npm-why.md b/pages/common/npm-why.md index 2d655fa3caba57..19d8b221b0d6d0 100644 --- a/pages/common/npm-why.md +++ b/pages/common/npm-why.md @@ -1,8 +1,8 @@ # npm-why > Identifies why an npm package is installed. -> More information: . +> More information: . -- Show why an npm package is installed: +- Show why an `npm` package is installed: -`npm-why {{package_name}}` +`npm-why {{package}}` diff --git a/pages/common/npm.md b/pages/common/npm.md index 5d8884fe0412ab..a449ed7734b238 100644 --- a/pages/common/npm.md +++ b/pages/common/npm.md @@ -2,36 +2,36 @@ > JavaScript and Node.js package manager. > Manage Node.js projects and their module dependencies. -> More information: . +> More information: . -- Interactively create a package.json file: +- Create a `package.json` file with default values (omit `--yes` to do it interactively): -`npm init` +`npm init {{[-y|--yes]}}` -- Download all the packages listed as dependencies in package.json: +- Download all the packages listed as dependencies in `package.json`: -`npm install` +`npm {{[i|install]}}` -- Download a specific version of a package and add it to the list of dependencies in package.json: +- Download a specific version of a package and add it to the list of dependencies in `package.json`: -`npm install {{module_name}}@{{version}}` +`npm {{[i|install]}} {{package_name}}@{{version}}` -- Download a package and add it to the list of dev dependencies in package.json: +- Download the latest version of a package and add it to the list of dev dependencies in `package.json`: -`npm install {{module_name}} --save-dev` +`npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}` -- Download a package and install it globally: +- Download the latest version of a package and install it globally: -`npm install -g {{module_name}}` +`npm {{[i|install]}} {{[-g|--global]}} {{package_name}}` -- Uninstall a package and remove it from the list of dependencies in package.json: +- Uninstall a package and remove it from the list of dependencies in `package.json`: -`npm uninstall {{module_name}}` +`npm {{[r|uninstall]}} {{package_name}}` -- Print a tree of locally-installed dependencies: +- List all locally installed dependencies: -`npm list` +`npm {{[ls|list]}}` -- List top-level globally installed modules: +- List all top-level globally installed packages: -`npm list -g --depth={{0}}` +`npm {{[ls|list]}} {{[-g|--global]}} --depth {{0}}` diff --git a/pages/common/nproc.md b/pages/common/nproc.md index 9cff59d08a9c68..a4f7d6f2e29bd6 100644 --- a/pages/common/nproc.md +++ b/pages/common/nproc.md @@ -1,6 +1,7 @@ # nproc > Print the number of processing units (normally CPUs) available. +> More information: . - Display the number of available processing units: diff --git a/pages/common/npx.md b/pages/common/npx.md index 92dbba9bc988f7..0b64ff440fdf36 100644 --- a/pages/common/npx.md +++ b/pages/common/npx.md @@ -1,16 +1,7 @@ # npx -> Execute binaries from `npm` packages. -> More information: . +> This command is an alias of `npm exec`. -- Execute the binary from a given npm module: +- View documentation for the original command: -`npx {{module_name}}` - -- In case a package has multiple binaries, specify the package name along with the binary: - -`npx -p {{package_name}} {{module_name}}` - -- View help contents: - -`npx --help` +`tldr npm exec` diff --git a/pages/common/nrm.md b/pages/common/nrm.md index f877efba25653e..510d1711679f39 100644 --- a/pages/common/nrm.md +++ b/pages/common/nrm.md @@ -1,6 +1,6 @@ # nrm -> NPM registry manager. +> npm registry manager. > Helps to easily switch between different npm registries. > More information: . diff --git a/pages/common/nslookup.md b/pages/common/nslookup.md index 5f5e4667ba182f..a9348abfcdf447 100644 --- a/pages/common/nslookup.md +++ b/pages/common/nslookup.md @@ -1,6 +1,7 @@ # nslookup -> Query name server(s) for various domain records. +> Query name servers for various domain records. +> More information: . - Query your system's default name server for an IP address (A record) of the domain: @@ -16,7 +17,7 @@ - Query for ANY available records using TCP protocol: -`nslookup -vc -type=ANY {{example.com}} ` +`nslookup -vc -type=ANY {{example.com}}` - Query a given name server for the whole zone file (zone transfer) of the domain using TCP protocol: diff --git a/pages/common/ntfs-read.py.md b/pages/common/ntfs-read.py.md new file mode 100644 index 00000000000000..7ebc46959a6e0e --- /dev/null +++ b/pages/common/ntfs-read.py.md @@ -0,0 +1,21 @@ +# ntfs-read.py + +> A read-only NTFS explorer for accessing and extracting files from NTFS volumes. +> Part of the Impacket suite. +> More information: . + +- Open an NTFS volume for exploration (e.g., `C:\.\\` or `/dev/disk1s1`): + +`ntfs-read.py {{volume}}` + +- Extract a specific file from an NTFS volume (e.g., `\windows\system32\config\sam`): + +`ntfs-read.py -extract {{\windows\system32\config\sam}} {{volume}}` + +- Enable debug output: + +`ntfs-read.py -debug {{volume}}` + +- Display help: + +`ntfs-read.py --help` diff --git a/pages/common/ntfy.md b/pages/common/ntfy.md new file mode 100644 index 00000000000000..216332f3657bb6 --- /dev/null +++ b/pages/common/ntfy.md @@ -0,0 +1,28 @@ +# ntfy + +> Send and receive HTTP POST notifications. +> More information: . + +- Send a message to the `security` topic: + +`ntfy pub security "{{Front door has been opened.}}"` + +- Send with a title, priority and tags: + +`ntfy publish --title="{{Someone bought your item}}" --priority={{high}} --tags={{duck}} {{ebay}} "{{Someone just bought your item: Platypus Sculpture}}"` + +- Send at 8:30am: + +`ntfy pub --at=8:30am {{delayed_topic}} "{{Time for school, sleepyhead...}}"` + +- Trigger a webhook: + +`ntfy trigger {{my_webhook}}` + +- Subscribe to a topic (`` to stop listening): + +`ntfy sub {{home_automation}}` + +- Display help: + +`ntfy --help` diff --git a/pages/common/ntfyme.md b/pages/common/ntfyme.md new file mode 100644 index 00000000000000..e1f9cf5205c75a --- /dev/null +++ b/pages/common/ntfyme.md @@ -0,0 +1,37 @@ +# ntfyme + +> A notification tool to track and notify you about your long-running termination process. +> Send notifications with success/error messages with Gmail, Telegram, and more. +> More information: . + +- Directly run your command: + +`ntfyme exec {{[-c|--cmd]}} {{command}}` + +- Pipe your command and run: + +`echo {{command}} | ntfyme exec` + +- Run multiple commands by enclosing them in quotes: + +`echo "{{command1; command2; command3}}" | ntfyme exec` + +- Track and terminate the process after prolonged suspension: + +`ntfyme exec {{[-t|--track-process]}} {{[-c|--cmd]}} {{command}}` + +- Setup the tool configurations interactively: + +`ntfyme setup` + +- Encrypt your password: + +`ntfyme enc` + +- See the log history: + +`ntfyme log` + +- Open and edit the configuration file: + +`ntfyme config` diff --git a/pages/common/nth.md b/pages/common/nth.md new file mode 100644 index 00000000000000..423d78f2a954cc --- /dev/null +++ b/pages/common/nth.md @@ -0,0 +1,20 @@ +# nth + +> Name That Hash - Instantly name the type of any hash. +> More information: . + +- Name a hash: + +`nth {{[-t|--text]}} {{5f4dcc3b5aa765d61d8327deb882cf99}}` + +- Name hashes in a file: + +`nth {{[-f|--file]}} {{path/to/hashes}}` + +- Print in JSON format: + +`nth {{[-t|--text]}} {{5f4dcc3b5aa765d61d8327deb882cf99}} {{[-g|--greppable]}}` + +- Decode hash in Base64 before naming it: + +`nth {{[-t|--text]}} {{NWY0ZGNjM2I1YWE3NjVkNjFkODMyN2RlYjg4MmNmOTkK}} {{[-b64|--base64]}}` diff --git a/pages/common/ntl.md b/pages/common/ntl.md new file mode 100644 index 00000000000000..fcb3f066609007 --- /dev/null +++ b/pages/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> This command is an alias of `netlify`. + +- View documentation for the original command: + +`tldr netlify` diff --git a/pages/common/ntp-ctl.md b/pages/common/ntp-ctl.md new file mode 100644 index 00000000000000..394287b5b25f0d --- /dev/null +++ b/pages/common/ntp-ctl.md @@ -0,0 +1,16 @@ +# ntp-ctl + +> Management client for the `ntpd-rs` daemon. +> More information: . + +- Display information about the current state of the NTP daemon: + +`ntp-ctl status` + +- Check if the specified configuration file (default: `/etc/ntpd-rs/ntp.toml`) is valid: + +`ntp-ctl {{[-c|--config]}} {{path/to/config}} validate` + +- Interactively run a single synchronization of the clock: + +`sudo ntp-ctl force-sync` diff --git a/pages/common/ntpctl.md b/pages/common/ntpctl.md new file mode 100644 index 00000000000000..e6446629c236ed --- /dev/null +++ b/pages/common/ntpctl.md @@ -0,0 +1,20 @@ +# ntpctl + +> Display information about the running instance of OpenNTPD. +> More information: . + +- Show all data: + +`ntpctl -s {{[a|all]}}` + +- Show information about each peer: + +`ntpctl -s {{[p|peers]}}` + +- Show the status of peers and sensors, and whether the system clock is synced: + +`ntpctl -s {{[s|status]}}` + +- Show information about each sensor: + +`ntpctl -s {{[S|Sensors]}}` diff --git a/pages/common/nu.md b/pages/common/nu.md new file mode 100644 index 00000000000000..953a99c760d09c --- /dev/null +++ b/pages/common/nu.md @@ -0,0 +1,21 @@ +# nu + +> Nushell ("a new type of shell") takes a modern, structured approach to your command-line. +> See also: `elvish`. +> More information: . + +- Start an interactive shell session: + +`nu` + +- Execute specific commands: + +`nu --commands "{{echo 'nu is executed'}}"` + +- Execute a specific script: + +`nu {{path/to/script.nu}}` + +- Execute a specific script with logging: + +`nu --log-level {{error|warn|info|debug|trace}} {{path/to/script.nu}}` diff --git a/pages/common/nuclei.md b/pages/common/nuclei.md new file mode 100644 index 00000000000000..659fdc9cd91fe6 --- /dev/null +++ b/pages/common/nuclei.md @@ -0,0 +1,36 @@ +# nuclei + +> Fast and customizable vulnerability scanner using a simple YAML-based DSL. +> More information: . + +- Update `nuclei` templates to the latest released version (downloaded to `~/nuclei-templates` on macOS/Linux or `%USERPROFILE%\nuclei-templates` on Windows): + +`nuclei {{[-ut|-update-templates]}}` + +- [l]ist all [t]emplates by specific [p]rotocol [t]ype: + +`nuclei -tl {{[-pt|-type]}} {{dns|file|http|headless|tcp|workflow|ssl|websocket|whois|code|javascript}}` + +- Run an automatic web scan using Wappalyzer technology detection for a specific target [u]RL/host: + +`nuclei {{[-as|-automatic-scan]}} {{[-u|-target]}} {{example.com}}` + +- Run HTTP [p]rotocol [t]ype templates of specific severity, exporting results to markdown files inside a specific directory: + +`nuclei {{[-s|-severity]}} {{high,critical,...}} {{[-pt|-type]}} http {{[-u|-target]}} {{https://example.com}} {{[-me|-markdown-export]}} {{path/to/directory}}` + +- Run all templates with a custom rate limit, maximum bulk size, and silent output (only findings shown): + +`nuclei {{[-rl|-rate-limit]}} {{150}} {{[-bs|-bulk-size]}} {{25}} {{[-c|-concurrency]}} {{25}} -silent {{[-u|-target]}} {{https://example.com}}` + +- Run a specific nuclei-bundled workflow against a target: + +`nuclei {{[-w|-workflows]}} {{workflows/wordpress-workflow.yaml}} {{[-u|-target]}} {{https://example.com}}` + +- Run one or more specific templates or directory with templates with verbose output in `stderr` and output detected issues/vulnerabilities to a file: + +`nuclei {{[-t|-templates]}} {{path/to/nuclei-templates/http}} {{[-u|-target]}} {{https://example.com}} {{[-v|-verbose]}} {{[-o|-output]}} {{path/to/results}}` + +- Run a scan based on one or more template conditions: + +`nuclei {{[-tc|-template-condition]}} "{{contains(tags, 'xss') && contains(tags, 'cve')}}" {{[-u|-target]}} {{https://example.com}}` diff --git a/pages/common/nudoku.md b/pages/common/nudoku.md index 18ad4e969f08f3..13cf2bfa1626c2 100644 --- a/pages/common/nudoku.md +++ b/pages/common/nudoku.md @@ -13,24 +13,24 @@ - Navigate the board: -`{{h|j|k|l}} OR {{Left|Down|Up|Right}} arrow key` +`{{||||}}` - Delete a number: -`{{Backspace|x}}` +`{{|}}` - Get a hint: -`H` +`` - See the complete solution: -`S` +`` - Create a new puzzle: -`N` +`` - Quit the game: -`Q` +`` diff --git a/pages/common/numfmt.md b/pages/common/numfmt.md index 330c43c1bb8aee..37258b58295c79 100644 --- a/pages/common/numfmt.md +++ b/pages/common/numfmt.md @@ -5,12 +5,12 @@ - Convert 1.5K (SI Units) to 1500: -`numfmt --from={{si}} {{1.5K}}` +`numfmt --from si 1.5K` - Convert 5th field (1-indexed) to IEC Units without converting header: -`ls -l | numfmt --header={{1}} --field={{5}} --to={{iec}}` +`ls -l | numfmt --header=1 --field 5 --to iec` - Convert to IEC units, pad with 5 characters, left aligned: -`du -s * | numfmt --to={{iec}} --format="{{%-5f}}"` +`du {{[-s|--summarize]}} * | numfmt --to iec --format "%-5f"` diff --git a/pages/common/nvcc.md b/pages/common/nvcc.md new file mode 100644 index 00000000000000..2239be8c24e131 --- /dev/null +++ b/pages/common/nvcc.md @@ -0,0 +1,20 @@ +# nvcc + +> The NVIDIA CUDA Compiler Driver. +> More information: . + +- Compile a CUDA program: + +`nvcc {{path/to/source.cu}} {{[-o|--output-file]}} {{path/to/executable}}` + +- Generate debug information: + +`nvcc {{path/to/source.cu}} {{[-o|--output-file]}} {{path/to/executable}} {{[-g|--debug]}} {{[-G|--device-debug]}}` + +- Include libraries from a different path: + +`nvcc {{path/to/source.cu}} {{[-o|--output-file]}} {{path/to/executable}} {{[-I|--include-path]}} {{path/to/includes}} {{[-L|--library-path]}} {{path/to/library}} {{[-l|--library]}} {{library_name}}` + +- Specify the compute capability for a specific GPU architecture: + +`nvcc {{path/to/source.cu}} {{[-o|--output-file]}} {{path/to/executable}} {{[-gencode|--generate-code]}} arch={{arch_name}},code={{gpu_code_name}}` diff --git a/pages/common/nvidia-smi-mig.md b/pages/common/nvidia-smi-mig.md new file mode 100644 index 00000000000000..4c0e0fc7954b48 --- /dev/null +++ b/pages/common/nvidia-smi-mig.md @@ -0,0 +1,16 @@ +# nvidia-smi mig + +> Manage Nvidia multi-instance GPUs. +> More information: . + +- Create a compute instance from device 0: + +`nvidia-smi mig {{[-cgi|--create-gpu-instance]}} {{0}} {{[-C|--default-compute-instance]}}` + +- List GPU instances: + +`nvidia-smi mig {{[-lgi|--list-gpu-instances]}}` + +- Display help: + +`nvidia-smi mig {{[-h|--help]}}` diff --git a/pages/common/nvidia-smi.md b/pages/common/nvidia-smi.md index ba004d01a147c3..0ab116db8f26cd 100644 --- a/pages/common/nvidia-smi.md +++ b/pages/common/nvidia-smi.md @@ -9,7 +9,7 @@ - Display more detailed GPU information: -`nvidia-smi --query` +`nvidia-smi {{[-q|--query]}}` - Monitor overall GPU usage with 1-second update interval: diff --git a/pages/common/nvim.md b/pages/common/nvim.md index fb2f83cf0a8c80..e326b70884de9f 100644 --- a/pages/common/nvim.md +++ b/pages/common/nvim.md @@ -1,37 +1,38 @@ # nvim > Neovim, a programmer's text editor based on Vim, provides several modes for different kinds of text manipulation. -> Pressing `i` enters edit mode. `` goes back to normal mode, which doesn't allow regular text insertion. +> Pressing `` in normal mode enters insert mode. `` or `` goes back to normal mode, which doesn't allow regular text insertion. +> See also: `vim`, `vimtutor`, `vimdiff`. > More information: . - Open a file: -`nvim {{file}}` +`nvim {{path/to/file}}` - Enter text editing mode (insert mode): -`i` +`` -- Copy ("yank") or cut ("delete") the current line (paste it with `P`): +- Copy ("yank") or cut ("delete") the current line (paste it with `

`): -`{{yy|dd}}` +`{{|}}` -- Undo the last operation: +- Enter normal mode and undo the last operation: -`u` +`` -- Search for a pattern in the file (press `n`/`N` to go to next/previous match): +- Search for a pattern in the file (press ``/`` to go to next/previous match): -`/{{search_pattern}}` +`{{search_pattern}}` -- Perform a regex substitution in the whole file: +- Perform a `regex` substitution in the whole file: -`:%s/{{pattern}}/{{replacement}}/g` +`<:>%s/{{regex}}/{{replacement}}/g` -- Save (write) the file, and quit: +- Enter normal mode and save (write) the file, and quit: -`:wq` +`{{|<:>x|<:>wq}}` - Quit without saving: -`:q!` +`<:>q!` diff --git a/pages/common/nvm.fish.md b/pages/common/nvm.fish.md new file mode 100644 index 00000000000000..fad67c40c6ed30 --- /dev/null +++ b/pages/common/nvm.fish.md @@ -0,0 +1,25 @@ +# nvm + +> Install, uninstall, or switch between Node.js versions under the fish shell. +> Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc. +> More information: . + +- Install a specific version of Node.js: + +`nvm install {{node_version}}` + +- Use a specific version of Node.js in the current shell: + +`nvm use {{node_version}}` + +- Set the default Node.js version: + +`set nvm_default_version {{node_version}}` + +- List all available Node.js versions and highlight the default one: + +`nvm list` + +- Uninstall a given Node.js version: + +`nvm uninstall {{node_version}}` diff --git a/pages/common/nvm.md b/pages/common/nvm.md index 17a4b62bcdc1e4..dfd5b85046d963 100644 --- a/pages/common/nvm.md +++ b/pages/common/nvm.md @@ -1,7 +1,8 @@ # nvm > Install, uninstall or switch between Node.js versions. -> Supports version numbers like "0.12" or "v4.2", and labels like "stable", "system", etc. +> Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc. +> See also: `asdf`. > More information: . - Install a specific version of Node.js: diff --git a/pages/common/nvme.md b/pages/common/nvme.md new file mode 100644 index 00000000000000..c7eb20f8704847 --- /dev/null +++ b/pages/common/nvme.md @@ -0,0 +1,12 @@ +# nvme + +> NVMe storage user space utility. +> More information: . + +- List all nvme devices: + +`sudo nvme list` + +- Show device information: + +`sudo nvme smart-log {{device}}` diff --git a/pages/common/nx.md b/pages/common/nx.md new file mode 100644 index 00000000000000..c24bae3d18f0d7 --- /dev/null +++ b/pages/common/nx.md @@ -0,0 +1,28 @@ +# nx + +> Manage `nx` workspaces. +> More information: . + +- Build a specific project: + +`nx build {{project}}` + +- Test a specific project: + +`nx test {{project}}` + +- Execute a target on a specific project: + +`nx run {{project}}:{{target}}` + +- Execute a target on multiple projects: + +`nx run-many --target {{target}} --projects {{project1}},{{project2}}` + +- Execute a target on all projects in the workspace: + +`nx run-many --target {{target}} --all` + +- Execute a target only on projects that have been changed: + +`nx affected --target {{target}}` diff --git a/pages/common/nxc-ftp.md b/pages/common/nxc-ftp.md new file mode 100644 index 00000000000000..3fdbfa15e22839 --- /dev/null +++ b/pages/common/nxc-ftp.md @@ -0,0 +1,24 @@ +# nxc ftp + +> Pentest and exploit FTP servers. +> More information: . + +- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc ftp {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Continue searching for valid credentials even after valid credentials have been found: + +`nxc ftp {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}} --continue-on-success` + +- Perform directory listings on each FTP server the supplied credentials are valid on: + +`nxc ftp {{192.168.178.0/24}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --ls` + +- Download the specified file from the target server: + +`nxc ftp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --get {{path/to/file}}` + +- Upload the specified file to the target server at the specified location: + +`nxc ftp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --put {{path/to/local_file}} {{path/to/remote_location}}` diff --git a/pages/common/nxc-ldap.md b/pages/common/nxc-ldap.md new file mode 100644 index 00000000000000..38dc88bbe623b3 --- /dev/null +++ b/pages/common/nxc-ldap.md @@ -0,0 +1,24 @@ +# nxc ldap + +> Pentest and exploit Windows Active Directory Domains via LDAP. +> More information: . + +- Search for valid domain credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc ldap {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Enumerate active domain users: + +`nxc ldap {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --active-users` + +- Collect data about the targeted domain and automatically import these data into BloodHound: + +`nxc ldap {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --bloodhound {{[-c|--collection]}} {{All}}` + +- Attempt to collect AS_REP messages for the specified user in order to perform an ASREPRoasting attack: + +`nxc ldap {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} '' --asreproast {{path/to/output.txt}}` + +- Attempt to extract the passwords of group managed service accounts on the domain: + +`nxc ldap {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --gmsa` diff --git a/pages/common/nxc-mssql.md b/pages/common/nxc-mssql.md new file mode 100644 index 00000000000000..e2d57da4d4c9af --- /dev/null +++ b/pages/common/nxc-mssql.md @@ -0,0 +1,28 @@ +# nxc mssql + +> Pentest and exploit Microsoft SQL servers. +> More information: . + +- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc mssql {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Execute the specified SQL query on the target server: + +`nxc mssql {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} {{[-q|--query]}} '{{SELECT * FROM sys.databases;}}'` + +- Execute the specified shell command on the target server through MSSQL: + +`nxc mssql {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -x {{whoami}}` + +- Execute the specified PowerShell command on the target server through MSSQL without retrieving output: + +`nxc mssql {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -X {{whoami}} --no-output` + +- Download a remote file from the target server and store it in the specified location: + +`nxc mssql {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --get-file {{C:\path\to\remote_file}} {{path/to/local_file}}` + +- Upload a local file to the specified location on the target server: + +`nxc mssql {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --put-file {{path/to/local_file}} {{C:\path\to\remote_file}}` diff --git a/pages/common/nxc-nfs.md b/pages/common/nxc-nfs.md new file mode 100644 index 00000000000000..1328534df1d524 --- /dev/null +++ b/pages/common/nxc-nfs.md @@ -0,0 +1,24 @@ +# nxc nfs + +> Pentest and exploit NFS servers. Currently supports anonymous mode only. +> More information: . + +- Detect the version of a remote NFS server: + +`nxc nfs {{192.168.178.0/24}}` + +- List the available NFS shares: + +`nxc nfs {{192.168.178.2}} --shares` + +- Enumerate the exposed shares recursively to the specified depth: + +`nxc nfs {{192.168.178.2}} --enum-shares {{5}}` + +- Download the specified remote file: + +`nxc nfs {{192.168.178.2}} --get-file {{path/to/remote_file}} {{path/to/local_file}}` + +- Upload the specified local file to the remote share: + +`nxc nfs {{192.168.178.2}} --put-file {{path/to/local_file}} {{path/to/remote_file}}` diff --git a/pages/common/nxc-rdp.md b/pages/common/nxc-rdp.md new file mode 100644 index 00000000000000..08795d66f9dfa2 --- /dev/null +++ b/pages/common/nxc-rdp.md @@ -0,0 +1,20 @@ +# nxc rdp + +> Pentest and exploit RDP servers. +> More information: . + +- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Take a screenshot after waiting the for specified number of seconds: + +`nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --screenshot --screentime {{10}}` + +- Take a screenshot in the specified resolution: + +`nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --screenshot --res {{1024x768}}` + +- Take a screenshot of the RDP login prompt if Network Level Authentication is disabled: + +`nxc rdp {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --nla-screenshot` diff --git a/pages/common/nxc-smb.md b/pages/common/nxc-smb.md new file mode 100644 index 00000000000000..419f4891147108 --- /dev/null +++ b/pages/common/nxc-smb.md @@ -0,0 +1,28 @@ +# nxc smb + +> Pentest and exploit SMB servers. +> More information: . + +- Search for valid domain credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc smb {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Search for valid credentials for local accounts instead of domain accounts: + +`nxc smb {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}} --local-auth` + +- Enumerate SMB shares and the specified users' access rights to them on the target hosts: + +`nxc smb {{192.168.178.0/24}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --shares` + +- Enumerate network interfaces on the target hosts, performing authentication via pass-the-hash: + +`nxc smb {{192.168.178.30-45}} {{[-u|--username]}} {{username}} {{[-H|--hash]}} {{NTLM_hash}} --interfaces` + +- Scan the target hosts for common vulnerabilities: + +`nxc smb {{path/to/target_list.txt}} {{[-u|--username]}} '' {{[-p|--password]}} '' {{[-M|--module]}} zerologon {{[-M|--module]}} petitpotam` + +- Attempt to execute a command on the target hosts: + +`nxc smb {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -x {{command}}` diff --git a/pages/common/nxc-ssh.md b/pages/common/nxc-ssh.md new file mode 100644 index 00000000000000..87fa9b7e80228c --- /dev/null +++ b/pages/common/nxc-ssh.md @@ -0,0 +1,25 @@ +# nxc ssh + +> Pentest and exploit SSH servers. +> See also: `hydra`. +> More information: . + +- Spray the specified password against a list of usernames on the specified target: + +`nxc ssh {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{password}}` + +- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc ssh {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Use the specified private key for authentication, using the supplied password as the key's passphrase: + +`nxc ssh {{192.186.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{password}} --key-file {{path/to/id_rsa}}` + +- Try a combination of username and password on a number of targets: + +`nxc ssh {{192.168.178.0/24}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}` + +- Check for `sudo` privileges on a successful login: + +`nxc ssh {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{path/to/passwords.txt}} --sudo-check` diff --git a/pages/common/nxc-vnc.md b/pages/common/nxc-vnc.md new file mode 100644 index 00000000000000..2bcabff4aff271 --- /dev/null +++ b/pages/common/nxc-vnc.md @@ -0,0 +1,16 @@ +# nxc vnc + +> Pentest and exploit VNC servers. +> More information: . + +- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc vnc {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Avoid rate limiting through VNC-sleep: + +`nxc vnc {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}} --vnc-sleep {{10}}` + +- Take a screenshot on the remote system after waiting the specified amount of time: + +`nxc vnc {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --screenshot --screentime {{10}}` diff --git a/pages/common/nxc-winrm.md b/pages/common/nxc-winrm.md new file mode 100644 index 00000000000000..30fa9931facbcf --- /dev/null +++ b/pages/common/nxc-winrm.md @@ -0,0 +1,20 @@ +# nxc winrm + +> Pentest and exploit Windows Remote Management (winrm). +> More information: . + +- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc winrm {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Specify the domain to authenticate to (avoids an initial SMB connection): + +`nxc winrm {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -d {{domain_name}}` + +- Execute the specified command on the host: + +`nxc winrm {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -x {{whoami}}` + +- Execute the specified PowerShell command on the host as administrator using LAPS: + +`nxc winrm {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --laps -X {{whoami}}` diff --git a/pages/common/nxc-wmi.md b/pages/common/nxc-wmi.md new file mode 100644 index 00000000000000..e042d510a26c46 --- /dev/null +++ b/pages/common/nxc-wmi.md @@ -0,0 +1,20 @@ +# nxc wmi + +> Pentest and exploit the Windows Management Instrumentation (WMI). +> More information: . + +- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords: + +`nxc wmi {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}` + +- Authenticate via local authentication (as opposed to authenticating to the domain): + +`nxc wmi {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --local-auth` + +- Issue the specified WMI query: + +`nxc wmi {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} --wmi {{wmi_query}}` + +- Execute the specified command on the targeted host: + +`nxc wmi {{192.168.178.2}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -x {{command}}` diff --git a/pages/common/nxc.md b/pages/common/nxc.md new file mode 100644 index 00000000000000..6e6d4c6d095cd5 --- /dev/null +++ b/pages/common/nxc.md @@ -0,0 +1,21 @@ +# nxc + +> Network service enumeration and exploitation tool. +> Some subcommands such as `smb` have their own usage documentation. +> More information: . + +- List available modules for the specified protocol: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-L|--list-modules]}}` + +- List the options available for the specified module: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{module_name}} --options` + +- Specify an [o]ption for a module: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{module_name}} -o {{OPTION_NAME}}={{option_value}}` + +- View the options available for the specified protocol: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-h|--help]}}` diff --git a/pages/common/nxcdb.md b/pages/common/nxcdb.md new file mode 100644 index 00000000000000..f13949756f75f4 --- /dev/null +++ b/pages/common/nxcdb.md @@ -0,0 +1,20 @@ +# nxcdb + +> Interact with the NetExec database. +> More information: . + +- Enter an interactive database session: + +`nxcdb` + +- Display the currently active workspace: + +`nxcdb --get-workspace` + +- Create a new workspace: + +`nxcdb --create-workspace {{workspace_name}}` + +- Activate the specified workspace: + +`nxcdb --set-workspace {{workspace_name}}` diff --git a/pages/common/nyxt.md b/pages/common/nyxt.md new file mode 100644 index 00000000000000..5c2970e4b6bd83 --- /dev/null +++ b/pages/common/nyxt.md @@ -0,0 +1,20 @@ +# nyxt + +> A keyboard-driven web browser for power users. +> More information: . + +- List all profiles: + +`nyxt --list-data-profiles` + +- Set the `init.lisp` file path: + +`nyxt --init {{path/to/file}}` + +- Change the path to the auto-config file: + +`nyxt --auto-config {{path/to/file}}` + +- Print system information: + +`nyxt --system-information` diff --git a/pages/common/o.md b/pages/common/o.md new file mode 100644 index 00000000000000..f9fb9713c49b16 --- /dev/null +++ b/pages/common/o.md @@ -0,0 +1,24 @@ +# o + +> Orbiton, a simple configuration-free text editor. +> More information: . + +- Open a file in editor: + +`o {{path/to/file}}` + +- Open a file as read-only: + +`o {{[-m|-monitor]}} {{path/to/file}}` + +- Save the file: + +`` + +- Quit Orbiton: + +`` + +- Display help: + +`o {{[-h|--help]}}` diff --git a/pages/common/oathtool.md b/pages/common/oathtool.md new file mode 100644 index 00000000000000..7e445f9a6650fe --- /dev/null +++ b/pages/common/oathtool.md @@ -0,0 +1,16 @@ +# oathtool + +> OATH one-time password tool. +> More information: . + +- Generate TOTP token (behaves like Google Authenticator): + +`oathtool --totp {{[-b|--base32]}} "{{secret}}"` + +- Generate a TOTP token for a specific time: + +`oathtool --totp {{[-N|--now]}} "{{2004-02-29 16:21:42}}" {{[-b|--base32]}} "{{secret}}"` + +- Validate a TOTP token: + +`oathtool --totp {{[-b|--base32]}} "{{secret}}" "{{token}}"` diff --git a/pages/common/objdump.md b/pages/common/objdump.md index aafbe48ec1f81e..42a2045627708d 100644 --- a/pages/common/objdump.md +++ b/pages/common/objdump.md @@ -1,15 +1,28 @@ # objdump > View information about object files. +> More information: . - Display the file header information: -`objdump -f {{binary}}` +`objdump {{[-f|--file-headers]}} {{path/to/binary}}` -- Display the dis-assembled output of executable sections: +- Display all header information: -`objdump -d {{binary}}` +`objdump {{[-x|--all-headers]}} {{path/to/binary}}` + +- Display the disassembled output of executable sections: + +`objdump {{[-d|--disassemble]}} {{path/to/binary}}` + +- Display the disassembled executable sections in Intel syntax: + +`objdump {{[-M|--disassembler-options]}} intel {{[-d|--disassemble]}} {{path/to/binary}}` + +- Display the symbol table: + +`objdump {{[-t|--syms]}} {{path/to/binary}}` - Display a complete binary hex dump of all sections: -`objdump -s {{binary}}` +`objdump {{[-s|--full-contents]}} {{path/to/binary}}` diff --git a/pages/common/obs.md b/pages/common/obs.md index 429ab5994ebbc4..5a1e3fa0ffb99c 100644 --- a/pages/common/obs.md +++ b/pages/common/obs.md @@ -2,6 +2,7 @@ > Open Broadcaster Software. > Video recording and livestreaming program. +> More information: . - Launch OBS: @@ -9,7 +10,7 @@ - Launch OBS in portable mode: -`obs --portable` +`obs {{[-p|--portable]}}` - Automatically start recording a video on launch: diff --git a/pages/common/oc.md b/pages/common/oc.md index f789aa5ed6adcb..44a4a145e250b1 100644 --- a/pages/common/oc.md +++ b/pages/common/oc.md @@ -2,7 +2,7 @@ > The OpenShift Container Platform CLI. > Allows for application and container management. -> More information: . +> More information: . - Log in to the OpenShift Container Platform server: @@ -28,6 +28,6 @@ `oc get pods` -- Logout from the current session: +- Log out from the current session: `oc logout` diff --git a/pages/common/ocaml.md b/pages/common/ocaml.md index 311aef7d766f8b..ed7940cd615bbd 100644 --- a/pages/common/ocaml.md +++ b/pages/common/ocaml.md @@ -2,7 +2,7 @@ > The OCaml repl (read-evaluate-print-loop). > Interprets Ocaml commands. -> More information: . +> More information: . - Read OCaml commands from the user and execute them: @@ -11,3 +11,7 @@ - Read OCaml commands from a file and execute them: `ocaml {{path/to/file.ml}}` + +- Run OCaml script with modules: + +`ocaml {{module1}} {{module2}} {{path/to/file.ml}}` diff --git a/pages/common/ocamlc.md b/pages/common/ocamlc.md index 295fb488c7df1f..892013c3170e60 100644 --- a/pages/common/ocamlc.md +++ b/pages/common/ocamlc.md @@ -2,7 +2,7 @@ > The OCaml bytecode compiler. > Produces executables runnable by the OCaml interpreter. -> More information: . +> More information: . - Create a binary from a source file: diff --git a/pages/common/ocamlfind.md b/pages/common/ocamlfind.md index cbed8c1944ca9e..3a1941fcc491c0 100644 --- a/pages/common/ocamlfind.md +++ b/pages/common/ocamlfind.md @@ -2,16 +2,16 @@ > The findlib package manager for OCaml. > Simplifies linking executables with external libraries. -> More information: . +> More information: . - Compile a source file to a native binary and link with packages: -`ocamlfind ocamlopt -package {{package1}},{{package2}} -linkpkg -o {{executable}} {{source_file.ml}}` +`ocamlfind ocamlopt -package {{package1,package2,...}} -linkpkg -o {{path/to/executable}} {{path/to/source.ml}}` - Compile a source file to a bytecode binary and link with packages: -`ocamlfind ocamlc -package {{package1}},{{package2}} -linkpkg -o {{executable}} {{source_file.ml}}` +`ocamlfind ocamlc -package {{package1,package2,...}} -linkpkg -o {{path/to/executable}} {{path/to/source.ml}}` - Cross-compile for a different platform: -`ocamlfind -toolchain {{cross-toolchain}} ocamlopt -o {{executable}} {{source_file.ml}}` +`ocamlfind -toolchain {{cross-toolchain}} ocamlopt -o {{path/to/executable}} {{path/to/source.ml}}` diff --git a/pages/common/ocamlopt.md b/pages/common/ocamlopt.md index 138bb747825ee9..c99575a65312fa 100644 --- a/pages/common/ocamlopt.md +++ b/pages/common/ocamlopt.md @@ -2,7 +2,7 @@ > The OCaml native code compiler. > Produces native executables, e.g. ELF on Linux. -> More information: . +> More information: . - Compile a source file: diff --git a/pages/common/ocrmypdf.md b/pages/common/ocrmypdf.md new file mode 100644 index 00000000000000..57135a2a722155 --- /dev/null +++ b/pages/common/ocrmypdf.md @@ -0,0 +1,28 @@ +# ocrmypdf + +> Generate a searchable PDF or PDF/A from a scanned PDF or an image of text. +> More information: . + +- Create a new searchable PDF/A file from a scanned PDF or image file: + +`ocrmypdf {{path/to/input}} {{path/to/output.pdf}}` + +- Skip pages of a mixed-format input PDF file that already contain text: + +`ocrmypdf --skip-text {{path/to/input.pdf}} {{path/to/output.pdf}}` + +- Clean, de-skew, and rotate pages of a poor scan: + +`ocrmypdf --clean --deskew --rotate-pages {{path/to/input.pdf}} {{path/to/output.pdf}}` + +- Perform lossy optimization on a PDF without performing any OCR: + +`ocrmypdf --tesseract-timeout 0 --optimize 2 --skip-text {{path/to/input.pdf}} {{path/to/output.pdf}}` + +- Set the metadata of a searchable PDF file: + +`ocrmypdf --title "{{title}}" --author "{{author}}" --subject "{{subject}}" --keywords "{{keyword; key phrase; ...}}" {{path/to/input.pdf}} {{path/to/output.pdf}}` + +- Display help: + +`ocrmypdf --help` diff --git a/pages/common/octave.md b/pages/common/octave.md new file mode 100644 index 00000000000000..5677f60754ef56 --- /dev/null +++ b/pages/common/octave.md @@ -0,0 +1,28 @@ +# octave + +> A programming language for scientific computing. +> More information: . + +- Start an interactive session: + +`octave` + +- Execute a specific script file: + +`octave {{path/to/script.m}}` + +- Execute a script file with specific arguments: + +`octave {{path/to/script.m}} {{argument1 argument2 ...}}` + +- Start an interactive session with a GUI: + +`octave --gui` + +- Display help: + +`octave --help` + +- Display version: + +`octave --version` diff --git a/pages/common/octez-client.md b/pages/common/octez-client.md new file mode 100644 index 00000000000000..882f904f2468fd --- /dev/null +++ b/pages/common/octez-client.md @@ -0,0 +1,32 @@ +# octez-client + +> Interact with the Tezos blockchain. +> More information: . + +- Configure the client with a connection to a Tezos RPC node such as : + +`octez-client -E {{endpoint}} config update` + +- Create an account and assign a local alias to it: + +`octez-client gen keys {{alias}}` + +- Get the balance of an account by alias or address: + +`octez-client get balance for {{alias_or_address}}` + +- Transfer tez to a different account: + +`octez-client transfer {{5}} from {{alias|address}} to {{alias|address}}` + +- Originate (deploy) a smart contract, assign it a local alias, and set its initial storage as a Michelson-encoded value: + +`octez-client originate contract {{alias}} transferring {{0}} from {{alias|address}} running {{path/to/source_file.tz}} --init "{{initial_storage}}" --burn_cap {{1}}` + +- Call a smart contract by its alias or address and pass a Michelson-encoded parameter: + +`octez-client transfer {{0}} from {{alias|address}} to {{contract}} --entrypoint "{{entrypoint}}" --arg "{{parameter}}" --burn-cap {{1}}` + +- Display help: + +`octez-client man` diff --git a/pages/common/od.md b/pages/common/od.md index 63f9040ddc66ae..f931a2a95e7050 100644 --- a/pages/common/od.md +++ b/pages/common/od.md @@ -2,6 +2,8 @@ > Display file contents in octal, decimal or hexadecimal format. > Optionally display the byte offsets and/or printable representation for each line. +> See also: `hexyl`, `xxd`, `hexdump`. +> More information: . - Display file using default settings: octal format, 8 bytes per line, byte offsets in octal, and duplicate lines replaced with `*`: @@ -9,20 +11,20 @@ - Display file in verbose mode, i.e. without replacing duplicate lines with `*`: -`od -v {{path/to/file}}` +`od {{[-v|--output-duplicates]}} {{path/to/file}}` - Display file in hexadecimal format (2-byte units), with byte offsets in decimal format: -`od --format={{x}} --address-radix={{d}} -v {{path/to/file}}` +`od {{[-t|--format]}} {{x}} {{[-A|--address-radix]}} {{d}} {{[-v|--output-duplicates]}} {{path/to/file}}` - Display file in hexadecimal format (1-byte units), and 4 bytes per line: -`od --format={{x1}} --width={{4}} -v {{path/to/file}}` +`od {{[-t|--format]}} {{x1}} {{[-w|--width=]}}4 {{[-v|--output-duplicates]}} {{path/to/file}}` - Display file in hexadecimal format along with its character representation, and do not print byte offsets: -`od --format={{xz}} --address-radix={{n}} -v {{path/to/file}}` +`od {{[-t|--format]}} {{xz}} {{[-A|--address-radix]}} {{n}} {{[-v|--output-duplicates]}} {{path/to/file}}` - Read only 100 bytes of a file starting from the 500th byte: -`od --read-bytes {{100}} --skip-bytes={{500}} -v {{path/to/file}}` +`od {{[-N|--read-bytes]}} 100 {{[-j|--skip-bytes]}} 500 {{[-v|--output-duplicates]}} {{path/to/file}}` diff --git a/pages/common/odps-auth.md b/pages/common/odps-auth.md index 79aa1edd782854..79059383fbd7c9 100644 --- a/pages/common/odps-auth.md +++ b/pages/common/odps-auth.md @@ -1,6 +1,8 @@ # odps auth > User authorities in ODPS (Open Data Processing Service). +> See also: `odps`. +> More information: . - Add a user to the current project: diff --git a/pages/common/odps-func.md b/pages/common/odps-func.md index 3bbd78a24ccfd3..4434829e428f5f 100644 --- a/pages/common/odps-func.md +++ b/pages/common/odps-func.md @@ -1,16 +1,18 @@ # odps func > Manage functions in ODPS (Open Data Processing Service). +> See also: `odps`. +> More information: . - Show functions in the current project: `list functions;` -- Create a Java function using a .jar resource: +- Create a Java function using a `.jar` resource: `create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';` -- Create a Python function using a .py resource: +- Create a Python function using a `.py` resource: `create function {{func_name}} as {{script.Func}} using '{{script.py}}';` diff --git a/pages/common/odps-inst.md b/pages/common/odps-inst.md index e916523aac9fc0..9f3385a8e7f14a 100644 --- a/pages/common/odps-inst.md +++ b/pages/common/odps-inst.md @@ -1,6 +1,8 @@ # odps inst > Manage instances in ODPS (Open Data Processing Service). +> See also: `odps`. +> More information: . - Show instances created by current user: diff --git a/pages/common/odps-resource.md b/pages/common/odps-resource.md index 71dbad681e19d0..bc55788012d744 100644 --- a/pages/common/odps-resource.md +++ b/pages/common/odps-resource.md @@ -1,6 +1,8 @@ # odps resource > Manage resources in ODPS (Open Data Processing Service). +> See also: `odps`. +> More information: . - Show resources in the current project: diff --git a/pages/common/odps-table.md b/pages/common/odps-table.md index 19bfcb46603490..271b314380985d 100644 --- a/pages/common/odps-table.md +++ b/pages/common/odps-table.md @@ -1,6 +1,8 @@ # odps table > Create and modify tables in ODPS (Open Data Processing Service). +> See also: `odps`. +> More information: . - Create a table with partition and lifecycle: diff --git a/pages/common/odps-tunnel.md b/pages/common/odps-tunnel.md index a53537aebbd12c..2d46aff7f32c0d 100644 --- a/pages/common/odps-tunnel.md +++ b/pages/common/odps-tunnel.md @@ -1,19 +1,21 @@ # odps tunnel > Data tunnel in ODPS (Open Data Processing Service). +> See also: `odps`. +> More information: . - Download table to local file: -`tunnel download {{table_name}} {{file}};` +`tunnel download {{table_name}} {{path/to/file}};` - Upload local file to a table partition: -`tunnel upload {{file}} {{table_name}}/{{partition_spec}};` +`tunnel upload {{path/to/file}} {{table_name}}/{{partition_spec}};` - Upload table specifying field and record delimiters: -`tunnel upload {{file}} {{table_name}} -fd {{field_delim}} -rd {{record_delim}};` +`tunnel upload {{path/to/file}} {{table_name}} -fd {{field_delim}} -rd {{record_delim}};` - Upload table using multiple threads: -`tunnel upload {{file}} {{table_name}} -threads {{num}};` +`tunnel upload {{path/to/file}} {{table_name}} -threads {{num}};` diff --git a/pages/common/odps.md b/pages/common/odps.md index 2e67a936d8af04..45ba0227f871ea 100644 --- a/pages/common/odps.md +++ b/pages/common/odps.md @@ -1,8 +1,10 @@ # odps -> Aliyun ODPS (Open Data Processing Service) command line tool. +> Aliyun ODPS (Open Data Processing Service) command-line tool. +> Some subcommands such as `inst` have their own usage documentation. +> More information: . -- Start the command line with a custom configuration file: +- Start the command-line with a custom configuration file: `odpscmd --config={{odps_config.ini}}` diff --git a/pages/common/offlineimap.md b/pages/common/offlineimap.md new file mode 100644 index 00000000000000..9f027db08d1d1b --- /dev/null +++ b/pages/common/offlineimap.md @@ -0,0 +1,16 @@ +# offlineimap + +> Synchronize a remote IMAP server with local Maildir folders. +> More information: . + +- Synchronize once, without enabling autorefresh: + +`offlineimap -o` + +- Synchronize a specific account: + +`offlineimap -a {{account}}` + +- Synchronize a specific folder: + +`offlineimap -f {{folder}}` diff --git a/pages/common/ogr2ogr.md b/pages/common/ogr2ogr.md index cc065db4faff8a..fcec9af2117f3d 100644 --- a/pages/common/ogr2ogr.md +++ b/pages/common/ogr2ogr.md @@ -1,24 +1,28 @@ # ogr2ogr -> Convert Simple Features data between file formats. -> More information: . +> Convert geospatial vector data between file formats. +> More information: . - Convert a Shapefile into a GeoPackage: -`ogr2ogr -f GPKG {{output}}.gpkg {{input}}.shp` +`ogr2ogr -f GPKG {{path/to/output.gpkg}} {{path/to/input.shp}}` + +- Reduce a GeoJSON to features matching a condition: + +`ogr2ogr -where '{{myProperty > 42}}' -f {{GeoJSON}} {{path/to/output.geojson}} {{path/to/input.geojson}}` - Change coordinate reference system of a GeoPackage from `EPSG:4326` to `EPSG:3857`: -`ogr2ogr -s_srs {{EPSG:4326}} -t_srs {{EPSG:3857}} -f GPKG {{output}}.gpkg {{input}}.gpkg` +`ogr2ogr -s_srs {{EPSG:4326}} -t_srs {{EPSG:3857}} -f GPKG {{path/to/output.gpkg}} {{path/to/input.gpkg}}` - Convert a CSV file into a GeoPackage, specifying the names of the coordinate columns and assigning a coordinate reference system: -`ogr2ogr -f GPKG {{output}}.gpkg {{input}}.csv -oo X_POSSIBLE_NAMES={{longitude}} -oo Y_POSSIBLE_NAMES={{latitude}} -a_srs {{EPSG:4326}}` +`ogr2ogr -f GPKG {{path/to/output.gpkg}} {{path/to/input.csv}} -oo X_POSSIBLE_NAMES={{longitude}} -oo Y_POSSIBLE_NAMES={{latitude}} -a_srs {{EPSG:4326}}` - Load a GeoPackage into a PostGIS database: -`ogr2ogr -f "PostgreSQL" PG:dbname="{{database_name}}" {{input}}.gpkg` +`ogr2ogr -f PostgreSQL PG:dbname="{{database_name}}" {{path/to/input.gpkg}}` - Clip layers of a GeoPackage file to the given bounding box: -`ogr2ogr -spat {{min_x}} {{min_y}} {{max_x}} {{max_y}} -f GPKG {{output}}.gpkg {{input}}.gpkg` +`ogr2ogr -spat {{min_x}} {{min_y}} {{max_x}} {{max_y}} -f GPKG {{path/to/output.gpkg}} {{path/to/input.gpkg}}` diff --git a/pages/common/ogrinfo.md b/pages/common/ogrinfo.md index addd1ac152a052..99db90371d1686 100644 --- a/pages/common/ogrinfo.md +++ b/pages/common/ogrinfo.md @@ -3,14 +3,30 @@ > List information about an OGR-supported data source. > More information: . -- List layers of a GeoPackage: +- List supported formats: -`ogrinfo {{input}}.gpkg` +`ogrinfo --formats` -- Get detailed information about a specific layer of a GeoPackage: +- List layers of a data source: -`ogrinfo {{input}}.gpkg {{layer_name}}` +`ogrinfo {{path/to/input.gpkg}}` -- Only show summary information about a specific layer of a GeoPackage: +- Get detailed information about a specific layer of a data source: -`ogrinfo -so {{input}}.gpkg {{layer_name}}` +`ogrinfo {{path/to/input.gpkg}} {{layer_name}}` + +- Show summary information about a specific layer of a data source: + +`ogrinfo -so {{path/to/input.gpkg}} {{layer_name}}` + +- Show summary of all layers of the data source: + +`ogrinfo -so -al {{path/to/input.gpkg}}` + +- Show detailed information of features matching a condition: + +`ogrinfo -where '{{attribute_name > 42}}' {{path/to/input.gpkg}} {{layer_name}}` + +- Update a layer in the data source with SQL: + +`ogrinfo {{path/to/input.geojson}} -dialect SQLite -sql "{{UPDATE input SET attribute_name = 'foo'}}"` diff --git a/pages/common/ogrmerge.py.md b/pages/common/ogrmerge.py.md new file mode 100644 index 00000000000000..46f4fbbf654d38 --- /dev/null +++ b/pages/common/ogrmerge.py.md @@ -0,0 +1,16 @@ +# ogrmerge.py + +> Merge several vector datasets into a single one. +> More information: . + +- Create a GeoPackage with a layer for each input Shapefile: + +`ogrmerge.py -f {{GPKG}} -o {{path/to/output.gpkg}} {{path/to/input1.shp path/to/input2.shp ...}}` + +- Create a virtual datasource (VRT) with a layer for each input GeoJSON: + +`ogrmerge.py -f {{VRT}} -o {{path/to/output.vrt}} {{path/to/input1.geojson path/to/input2.geojson ...}}` + +- Concatenate two vector datasets and store source name of dataset in attribute 'source_name': + +`ogrmerge.py -single -f {{GeoJSON}} -o {{path/to/output.geojson}} -src_layer_field_name country {{source_name}} {{path/to/input1.shp path/to/input2.shp ...}}` diff --git a/pages/common/okular.md b/pages/common/okular.md new file mode 100644 index 00000000000000..10722209fca7da --- /dev/null +++ b/pages/common/okular.md @@ -0,0 +1,28 @@ +# okular + +> View documents. +> More information: . + +- Launch document viewer: + +`okular` + +- Open specific documents: + +`okular {{path/to/file1 path/to/file2 ...}}` + +- Open a document at a specific page: + +`okular {{[-p|--page]}} {{page_number}} {{path/to/file}}` + +- Open a specific document in presentation mode: + +`okular --presentation {{path/to/file}}` + +- Open a specific document and start a print dialog: + +`okular --print {{path/to/file}}` + +- Open a document and search for a specific string: + +`okular --find {{search_string}} {{path/to/file}}` diff --git a/pages/common/olevba.md b/pages/common/olevba.md new file mode 100644 index 00000000000000..0a85bbdf8cb936 --- /dev/null +++ b/pages/common/olevba.md @@ -0,0 +1,29 @@ +# olevba + +> Parse OLE and OpenXML files (e.g., DOC, XLS, PPT, etc.) to extract VBA macros, deobfuscate, and analyze malicious code. +> Part of the `python-oletools` suite. +> More information: . + +- Analyze a file, showing both macro code and analysis results: + +`olevba {{path/to/file}}` + +- Recursively analyze all supported files in a directory: + +`olevba -r {{path/to/directory}}` + +- Provide a password for encrypted Microsoft Office files (may be repeated): + +`olevba {{[-p|--password]}} {{password}} {{path/to/encrypted_file}}` + +- Display only analysis results, without showing macro source code: + +`olevba {{[-a|--analysis]}} {{path/to/file}}` + +- Display only macro source code: + +`olevba {{[-c|--code]}} {{path/to/file}}` + +- Show obfuscated strings and their decoded content: + +`olevba --decode {{path/to/file}}` diff --git a/pages/common/ollama.md b/pages/common/ollama.md new file mode 100644 index 00000000000000..ee694a80d94c21 --- /dev/null +++ b/pages/common/ollama.md @@ -0,0 +1,37 @@ +# ollama + +> A large language model runner. +> For a list of available models, see . +> More information: . + +- Start the daemon required to run other commands: + +`ollama serve` + +- Run a model and chat with it: + +`ollama run {{model}}` + +- Run a model with a single prompt: + +`ollama run {{model}} {{prompt}}` + +- List downloaded models: + +`ollama list` + +- Pull a specific model: + +`ollama pull {{model}}` + +- List running models: + +`ollama ps` + +- Delete a model: + +`ollama rm {{model}}` + +- Create a model from a `Modelfile`: + +`ollama create {{new_model_name}} {{[-f|--file]}} {{path/to/Modelfile}}` diff --git a/pages/common/omz.md b/pages/common/omz.md new file mode 100644 index 00000000000000..e0b34f72f952f5 --- /dev/null +++ b/pages/common/omz.md @@ -0,0 +1,36 @@ +# omz + +> Oh My Zsh command-line tool. +> More information: . + +- Update Oh My Zsh: + +`omz update` + +- Print the changes from the latest update of Oh My Zsh: + +`omz changelog` + +- Restart the current Zsh session and Oh My Zsh: + +`omz reload` + +- List all available plugins: + +`omz plugin list` + +- List all enabled plugins: + +`omz plugin list --enabled` + +- Enable/Disable an Oh My Zsh plugin: + +`omz plugin {{enable|disable}} {{plugin}}` + +- List all available themes: + +`omz theme list` + +- Set an Oh My Zsh theme in `~/.zshrc`: + +`omz theme set {{theme}}` diff --git a/pages/common/on_ac_power.md b/pages/common/on_ac_power.md new file mode 100644 index 00000000000000..6a4aa313a53f3d --- /dev/null +++ b/pages/common/on_ac_power.md @@ -0,0 +1,9 @@ +# on_ac_power + +> A simple utility which tests if a computer is running on line power. +> Returns `0` if yes, and `1` if no. +> More information: . + +- Test if a computer is running on line power: + +`on_ac_power` diff --git a/pages/common/onefetch.md b/pages/common/onefetch.md new file mode 100644 index 00000000000000..070fc6ac086cb3 --- /dev/null +++ b/pages/common/onefetch.md @@ -0,0 +1,36 @@ +# onefetch + +> Display project information and code statistics for a local Git repository. +> More information: . + +- Display statistics for the Git repository in the current working directory: + +`onefetch` + +- Display statistics for the Git repository in the specified directory: + +`onefetch {{path/to/directory}}` + +- Ignore commits made by bots: + +`onefetch --no-bots` + +- Ignore merge commits: + +`onefetch --no-merges` + +- Don't print the ASCII art of the language logo: + +`onefetch --no-art` + +- Show `n` authors, languages, or file churns (default: 3, 6, and 3 respectively): + +`onefetch --number-of-{{authors|languages|file-churns}} {{n}}` + +- Ignore the specified files and directories: + +`onefetch {{[-e|--exclude]}} {{path/to/file_or_directory|regex}}` + +- Only detect languages from the specified categories (default: programming and markup): + +`onefetch {{[-T|--type]}} {{programming|markup|prose|data}}` diff --git a/pages/common/onionsearch.md b/pages/common/onionsearch.md new file mode 100644 index 00000000000000..b5f644c0c06e46 --- /dev/null +++ b/pages/common/onionsearch.md @@ -0,0 +1,25 @@ +# onionsearch + +> Scrape URLs on different `.onion` search engines. +> Note: `onionsearch` requires a Tor proxy running on `localhost:9050`; a Tor enabled browser is needed to visit the `.onion` websites. +> More information: . + +- Request results from all the search engines: + +`onionsearch "{{string}}"` + +- Request search results from specific search engines: + +`onionsearch "{{string}}" --engines {{tor66 deeplink phobos ...}}` + +- Exclude certain search engines when searching: + +`onionsearch "{{string}}" --exclude {{candle ahmia ...}}` + +- Limit the number of pages to load per engine: + +`onionsearch "{{stuxnet}}" --engines {{tor66 deeplink phobos ...}} --limit {{3}}` + +- List all supported search engines: + +`onionsearch --help | grep {{[-A|--after-context]}} 1 {{[-i|--ignore-case]}} "supported engines"` diff --git a/pages/common/ooniprobe.md b/pages/common/ooniprobe.md new file mode 100644 index 00000000000000..c875a7baaf7b27 --- /dev/null +++ b/pages/common/ooniprobe.md @@ -0,0 +1,33 @@ +# ooniprobe + +> Open Observatory of Network Interference (OONI). +> Test the blocking of websites and apps. Measure the speed and performance of your network. +> More information: . + +- List all tests performed: + +`ooniprobe list` + +- Show information about a specific test: + +`ooniprobe list {{7}}` + +- Run all available tests: + +`ooniprobe run all` + +- Perform a specific test: + +`ooniprobe run {{performance}}` + +- Check the availability of a specific website: + +`ooniprobe run websites --input {{https://ooni.org/}}` + +- Check the availability of all websites listed in a file: + +`ooniprobe run websites --input-file {{path/to/my-websites.txt}}` + +- Display detailed information about a test in JSON format: + +`ooniprobe show {{9}}` diff --git a/pages/common/op.md b/pages/common/op.md new file mode 100644 index 00000000000000..3d2b7ed7ff1c24 --- /dev/null +++ b/pages/common/op.md @@ -0,0 +1,36 @@ +# op + +> Official CLI for 1Password's desktop app. +> More information: . + +- Sign in to a 1Password account: + +`op signin` + +- List all vaults: + +`op vault list` + +- Print item details in JSON format: + +`op item get {{item_name}} --format json` + +- Create a new item with a category in the default vault: + +`op item create --category {{category_name}}` + +- Print a referenced secret to `stdout`: + +`op read {{secret_reference}}` + +- Pass secret references from exported environment variables to a command: + +`op run -- {{command}}` + +- Pass secret references from an environment file to a command: + +`op run --env-file {{path/to/env_file.env}} -- {{command}}` + +- Read secret references from a file and save plaintext secrets to a file: + +`op inject --in-file {{path/to/input_file}} --out-file {{path/to/output_file}}` diff --git a/pages/common/opam.md b/pages/common/opam.md index 06a971b8a9d70d..a726e09fef6588 100644 --- a/pages/common/opam.md +++ b/pages/common/opam.md @@ -2,7 +2,7 @@ > OCaml Package Manager. > Manage OCaml compilers, tools and libraries. -> More information: . +> More information: . - Initialize opam for first use: @@ -10,15 +10,15 @@ - Search for packages: -`opam search {{package_name}}` +`opam search {{query}}` - Install a package and all of its dependencies: -`opam install {{package_name}}` +`opam install {{package}}` - Display detailed information about a package: -`opam show {{package_name}}` +`opam show {{package}}` - List all installed packages: @@ -32,6 +32,6 @@ `opam upgrade` -- Display all commands: +- Display help: `opam help` diff --git a/pages/common/open.fish.md b/pages/common/open.fish.md new file mode 100644 index 00000000000000..4a2b14d6d10b4e --- /dev/null +++ b/pages/common/open.fish.md @@ -0,0 +1,25 @@ +# open + +> Opens files, directories, and URIs with default applications. +> This command is available through fish on operating systems without the built-in `open` command (e.g. Haiku and macOS). +> More information: . + +- Open a file with the associated application: + +`open {{path/to/file.ext}}` + +- Open all the files of a given extension in the current directory with the associated application: + +`open {{*.ext}}` + +- Open a directory using the default file manager: + +`open {{path/to/directory}}` + +- Open a website using the default web browser: + +`open {{https://example.com}}` + +- Open a specific URI using the default application that can handle it: + +`open {{tel:123}}` diff --git a/pages/common/open.md b/pages/common/open.md new file mode 100644 index 00000000000000..1679062d874be9 --- /dev/null +++ b/pages/common/open.md @@ -0,0 +1,11 @@ +# open + +> `open` can refer to multiple commands with the same name. + +- View documentation for the command available in macOS: + +`tldr open {{[-p|--platform]}} osx` + +- View documentation for the command available through fish: + +`tldr open.fish` diff --git a/pages/common/openai.md b/pages/common/openai.md new file mode 100644 index 00000000000000..3bf3db39f00cd0 --- /dev/null +++ b/pages/common/openai.md @@ -0,0 +1,20 @@ +# openai + +> CLI tool providing access to the OpenAI API. +> More information: . + +- List models: + +`openai api models.list` + +- Create a completion: + +`openai api completions.create --model {{ada}} --prompt "{{Hello world}}"` + +- Create a chat completion: + +`openai api chat_completions.create --model {{gpt-3.5-turbo}} --message {{user "Hello world"}}` + +- Generate images via DALL·E API: + +`openai api image.create --prompt "{{two dogs playing chess, cartoon}}" --num-images {{1}}` diff --git a/pages/common/openconnect.md b/pages/common/openconnect.md index 0b55ec50f9d9d0..f55843a1aec3eb 100644 --- a/pages/common/openconnect.md +++ b/pages/common/openconnect.md @@ -15,7 +15,7 @@ `killall -SIGINT openconnect` -- Connect to a server, reading options from a config file: +- Connect to a server, reading options from a configuration file: `openconnect --config={{path/to/file}} {{vpn.example.org}}` diff --git a/pages/common/openocd.md b/pages/common/openocd.md new file mode 100644 index 00000000000000..4c7136bca272b5 --- /dev/null +++ b/pages/common/openocd.md @@ -0,0 +1,28 @@ +# openocd + +> Debug and program embedded systems with OpenOCD. +> More information: . + +- Attach OpenOCD session to a board with a configuration file: + +`openocd {{[-f|--file]}} {{config_file.cfg}}` + +- Attach OpenOCD session to a board with multiple configuration files: + +`openocd {{[-f|--file]}} {{config_file1.cfg}} {{[-f|--file]}} {{config_file2.cfg}}` + +- Attach OpenOCD session to a board with configuration files and a list of commands to be executed on server startup: + +`openocd {{[-f|--file]}} {{config_file.cfg}} {{[-c|--command]}} "{{command}}"` + +- Use configuration files in the specified path: + +`openocd {{[-s|--search]}} {{path/to/search}} {{[-f|--file]}} {{config_file.cfg}}` + +- After OpenOCD startup, connect GDB to OpenOCD default port 3333: + +`target extended-remote localhost` + +- List site-wide script library: + +`ls /usr/local/share/openocd/scripts` diff --git a/pages/common/openrgb.md b/pages/common/openrgb.md new file mode 100644 index 00000000000000..0ba884b35a186c --- /dev/null +++ b/pages/common/openrgb.md @@ -0,0 +1,20 @@ +# openrgb + +> Control RGB lighting. +> More information: . + +- Start the OpenRGB GUI: + +`openrgb` + +- List devices supported by OpenRGB: + +`openrgb --noautoconnect {{[-l|--list-devices]}}` + +- Set the mode and color of a device: + +`openrgb {{[-m|--mode]}} {{off|static|breathing|rainbow|flashing|...}} {{[-c|--color]}} {{random|red|00AAFF|...}}` + +- Display help: + +`openrgb {{[-h|--help]}}` diff --git a/pages/common/openscad.md b/pages/common/openscad.md new file mode 100644 index 00000000000000..b5e5eefc8d8aee --- /dev/null +++ b/pages/common/openscad.md @@ -0,0 +1,16 @@ +# openscad + +> Software for creating solid 3D CAD objects. +> More information: . + +- Open a file: + +`openscad {{path/to/button.scad}}` + +- Convert a file to STL: + +`openscad -o {{path/to/button.stl}} {{path/to/button.scad}}` + +- Render a file to PNG in a specific colorscheme: + +`openscad -o {{path/to/button.png}} --colorscheme {{Sunset}} {{path/to/button.scad}}` diff --git a/pages/common/openssl-genrsa.md b/pages/common/openssl-genrsa.md index 5d598cf637ae21..dce1fe873bf186 100644 --- a/pages/common/openssl-genrsa.md +++ b/pages/common/openssl-genrsa.md @@ -3,7 +3,7 @@ > OpenSSL command to generate RSA private keys. > More information: . -- Generate an RSA private key of 2048 bits to stdout: +- Generate an RSA private key of 2048 bits to `stdout`: `openssl genrsa` diff --git a/pages/common/openssl-req.md b/pages/common/openssl-req.md index 6e7159915800c6..25366c9591813e 100644 --- a/pages/common/openssl-req.md +++ b/pages/common/openssl-req.md @@ -7,6 +7,6 @@ `openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}` -- Generate a self-signed certificate and a corresponding keypair, storing both in a file: +- Generate a self-signed certificate and a corresponding key-pair, storing both in a file: `openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{filename.key}} -out {{filename.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}` diff --git a/pages/common/openssl-s_client.md b/pages/common/openssl-s_client.md index 680d6ce163be3f..7b8d087ba9a23b 100644 --- a/pages/common/openssl-s_client.md +++ b/pages/common/openssl-s_client.md @@ -11,6 +11,10 @@ `openssl s_client -connect {{host}}:{{port}} OpenSSL command to generate and verify timestamps. +> More information: . + +- Generate a SHA-512 timestamp request of a specific file and output to `file.tsq`: + +`openssl ts -query -data {{path/to/file}} -sha512 -out {{path/to/file.tsq}}` + +- Check the date and metadata of a specific timestamp response file: + +`openssl ts -reply -in {{path/to/file.tsr}} -text` + +- Verify a timestamp request file and a timestamp response file from the server with an SSL certificate file: + +`openssl ts -verify -in {{path/to/file.tsr}} -queryfile {{path/to/file.tsq}} -partial_chain -CAfile {{path/to/cert.pem}}` + +- Create a timestamp response for request using key and signing certificate and output it to `file.tsr`: + +`openssl ts -reply -queryfile {{path/to/file.tsq}} -inkey {{path/to/tsakey.pem}} -signer tsacert.pem -out {{path/to/file.tsr}}` diff --git a/pages/common/openssl.md b/pages/common/openssl.md index 9ef1fea34c2f85..ac4a2fc062667e 100644 --- a/pages/common/openssl.md +++ b/pages/common/openssl.md @@ -1,16 +1,17 @@ # openssl > OpenSSL cryptographic toolkit. +> Some subcommands such as `req` have their own usage documentation. > More information: . -- Print a list of available subcommands: +- Display help: `openssl help` -- Print options for a specific subcommand: +- Display help for a specific subcommand: `openssl help {{x509}}` -- Print the version of OpenSSL: +- Display version: `openssl version` diff --git a/pages/common/openstack-flavor.md b/pages/common/openstack-flavor.md new file mode 100644 index 00000000000000..3c7a575439fc43 --- /dev/null +++ b/pages/common/openstack-flavor.md @@ -0,0 +1,24 @@ +# openstack flavor + +> Manage OpenStack instance flavors (virtual hardware templates). +> More information: . + +- List all flavors: + +`openstack flavor list` + +- Show details of a flavor: + +`openstack flavor show {{flavor_id_or_name}}` + +- Create a new flavor with 2 vCPUs, 4GB RAM, and 20GB disk: + +`openstack flavor create {{flavor_name}} --vcpus 2 --ram 4096 --disk 20` + +- Delete a flavor: + +`openstack flavor delete {{flavor_id_or_name}}` + +- Create a flavor with 10GB ephemeral disk and 512MB swap space: + +`openstack flavor create {{flavor_name}} --vcpus 4 --ram 8192 --disk 40 --ephemeral 10 --swap 512` diff --git a/pages/common/openstack-help.md b/pages/common/openstack-help.md new file mode 100644 index 00000000000000..886f798a9a3350 --- /dev/null +++ b/pages/common/openstack-help.md @@ -0,0 +1,16 @@ +# openstack help + +> Display help information about the openstackclient cli. +> More information: . + +- Display a description of a particular command: + +`openstack help {{command_name}}` + +- Get help for Identity v3: + +`openstack --os-identity-api-version 3 --help` + +- Display help: + +`openstack --help` diff --git a/pages/common/openstack-image.md b/pages/common/openstack-image.md new file mode 100644 index 00000000000000..72de4b52fbfe26 --- /dev/null +++ b/pages/common/openstack-image.md @@ -0,0 +1,24 @@ +# openstack image + +> OpenStack Image service, aka OpenStack Glance, allows users to upload and discover data assets meant to be used with other services. +> More information: . + +- List available images: + +`openstack image list {{--private|--shared|--all}}` + +- Display image details: + +`openstack image show --human-readable {{image_id}}` + +- Create/upload an image: + +`openstack image create --file {{path/to/file}} {{--private|--shared|--all}} {{image_name}}` + +- Delete image(s): + +`openstack image delete {{image_id1 image_id2 ...}}` + +- Save an image locally: + +`openstack image save --file {{filename}} {{image_id}}` diff --git a/pages/common/openstack-network.md b/pages/common/openstack-network.md new file mode 100644 index 00000000000000..313c0f239dddec --- /dev/null +++ b/pages/common/openstack-network.md @@ -0,0 +1,28 @@ +# openstack network + +> Manage OpenStack network resources. +> More information: . + +- List all networks: + +`openstack network list` + +- Show details of a network: + +`openstack network show {{network_id_or_name}}` + +- Create a new network with a given name: + +`openstack network create {{network_name}}` + +- Delete a network: + +`openstack network delete {{network_id_or_name}}` + +- Enable a network: + +`openstack network set --enable {{network_id_or_name}}` + +- Disable a network: + +`openstack network set --disable {{network_id_or_name}}` diff --git a/pages/common/openstack-port.md b/pages/common/openstack-port.md new file mode 100644 index 00000000000000..db022e0aead93a --- /dev/null +++ b/pages/common/openstack-port.md @@ -0,0 +1,24 @@ +# openstack port + +> Manage OpenStack network ports (virtual network interfaces). +> More information: . + +- List all ports: + +`openstack port list` + +- Show detailed information about a specific port: + +`openstack port show {{port_id_or_name}}` + +- Create a port on a specific network: + +`openstack port create --network {{network_id_or_name}} {{port_name}}` + +- Create a port and assign it a fixed IP `192.168.1.50`: + +`openstack port create --network {{network_id}} --fixed-ip subnet={{subnet_id}},ip-address=192.168.1.50 {{port_name}}` + +- Delete a port: + +`openstack port delete {{port_id_or_name}}` diff --git a/pages/common/openstack-server.md b/pages/common/openstack-server.md new file mode 100644 index 00000000000000..c93b906c4f405d --- /dev/null +++ b/pages/common/openstack-server.md @@ -0,0 +1,33 @@ +# openstack server + +> Manage OpenStack virtual machines. +> OpenStack Compute service, aka OpenStack Nova, mainly hosts and manages cloud computing systems. +> More information: . + +- List servers: + +`openstack server list` + +- Start server(s): + +`openstack server start {{instance_id1 instance_id2 ...}}` + +- Stop server: + +`openstack server stop {{instance_id1 instance_id2 ...}}` + +- Create new server: + +`openstack server create --image {{image_id}} --flavor {{flavor_id}} --network {{network_id}} --wait {{server_name}}` + +- Delete server(s): + +`openstack server delete {{instance_id1 instance_id2 ...}}` + +- Migrate server to different host: + +`openstack server migrate --live {{host_hostname}} {{--shared-migration|--block-migration}} --wait {{instance_id}}` + +- Perform a soft or hard reset to the server: + +`openstack server reboot {{--soft|--hard}} --wait {{instance_id}}` diff --git a/pages/common/openstack-subnet.md b/pages/common/openstack-subnet.md new file mode 100644 index 00000000000000..735d096516264e --- /dev/null +++ b/pages/common/openstack-subnet.md @@ -0,0 +1,28 @@ +# openstack subnet + +> Manage OpenStack subnets (IP address blocks within a network). +> More information: . + +- List all subnets: + +`openstack subnet list` + +- Show details of a specific subnet: + +`openstack subnet show {{subnet_id_or_name}}` + +- List subnets associated with a network: + +`openstack subnet list --network {{network_id_or_name}}` + +- Create a subnet with subnet range `192.168.0.0/24` in a given network: + +`openstack subnet create --network {{network_id_or_name}} --subnet-range 192.168.0.0/24 {{subnet_name}}` + +- Delete a subnet: + +`openstack subnet delete {{subnet_id_or_name}}` + +- Update a subnet with DNS `8.8.8.8` and set a new name: + +`openstack subnet set --dns-nameserver 8.8.8.8 --name {{new_subnet_name}} {{subnet_id}}` diff --git a/pages/common/openstack-volume.md b/pages/common/openstack-volume.md new file mode 100644 index 00000000000000..08bbaafcc87655 --- /dev/null +++ b/pages/common/openstack-volume.md @@ -0,0 +1,29 @@ +# openstack volume + +> Manage OpenStack volumes. +> OpenStack Block Storage service, aka OpenStack Cinder, provides volumes to Nova vm's, Ironic bare-metal hosts, containers, and others. +> More information: . + +- List volumes: + +`openstack volume list --all-projects` + +- Show volume details: + +`openstack volume show {{volume_id}}` + +- Create new volume: + +`openstack volume create --size {{size_in_GB}} --image {{image_id}} --snapshot {{snapshot_id}} {{--bootable|--non-bootable}} {{volume_name}}` + +- Delete volumes(s): + +`openstack volume delete {{volume_id1 volume_id2 ...}}` + +- Migrate volume to a new host: + +`openstack volume migrate --host {{host_hostname}} {{instance_id}}` + +- Set volume properties: + +`openstack volume set --name {{volume_new_name}} --size {{volume_new_size}} {{--attached|--detached}} {{--bootable|--non-bootable}} {{volume_id}}` diff --git a/pages/common/openttd.md b/pages/common/openttd.md new file mode 100644 index 00000000000000..73cb1d957f64e2 --- /dev/null +++ b/pages/common/openttd.md @@ -0,0 +1,32 @@ +# openttd + +> Open source clone of the Microprose game "Transport Tycoon Deluxe". +> More information: . + +- Start a new game: + +`openttd -g` + +- Load save game at start: + +`openttd -g {{path/to/file}}` + +- Start with the specified window resolution: + +`openttd -r {{1920x1080}}` + +- Start with a custom configuration file: + +`openttd -c {{path/to/file}}` + +- Start with selected video, sound, and music drivers: + +`openttd -v {{video_driver}} -s {{sound_driver}} -m {{music_driver}}` + +- Start a dedicated server, forked in the background: + +`openttd -f -D {{host}}:{{port}}` + +- Join a server with a password: + +`openttd -n {{host}}:{{port}}#{{player_name}} -p {{password}}` diff --git a/pages/common/openvpn.md b/pages/common/openvpn.md index 5920539d4b04b7..4a28600ce0ec23 100644 --- a/pages/common/openvpn.md +++ b/pages/common/openvpn.md @@ -1,9 +1,9 @@ # openvpn > OpenVPN client and daemon binary. -> More information: . +> More information: . -- Connect to server using a config file: +- Connect to server using a configuration file: `sudo openvpn {{path/to/client.conf}}` @@ -17,7 +17,7 @@ - Create a cryptographic key and save it to file: -`openvpn --genkey --secret {{path/to/key}}` +`openvpn --genkey secret {{path/to/key}}` - Try to set up a peer-to-peer tunnel on bob.example.com host with a static key: diff --git a/pages/common/opera.md b/pages/common/opera.md new file mode 100644 index 00000000000000..f51ba2ab845069 --- /dev/null +++ b/pages/common/opera.md @@ -0,0 +1,8 @@ +# opera + +> This command is an alias of `chromium`. +> More information: . + +- View documentation for the original command: + +`tldr chromium` diff --git a/pages/common/opt.md b/pages/common/opt.md index e32cbc2e124286..e9af2a06db6e72 100644 --- a/pages/common/opt.md +++ b/pages/common/opt.md @@ -1,13 +1,13 @@ # opt -> A tool that takes LLVM source files and runs specified optimizations and/or analyses on them. +> Run optimizations and analyse LLVM source files. > More information: . - Run an optimization or analysis on a bitcode file: `opt -{{passname}} {{path/to/file.bc}} -S -o {{file_opt.bc}}` -- Output the Control Flow Graph of a function to a "dot" file: +- Output the Control Flow Graph of a function to a `.dot` file: `opt {{-dot-cfg}} -S {{path/to/file.bc}} -disable-output` diff --git a/pages/common/optipng.md b/pages/common/optipng.md index bd96b2aeabe04f..57b2abd9a0306b 100644 --- a/pages/common/optipng.md +++ b/pages/common/optipng.md @@ -1,19 +1,19 @@ # optipng -> PNG image file optimization utility. -> More information: . +> PNG file optimization utility. +> More information: . - Compress a PNG with default settings: `optipng {{path/to/file.png}}` -- Compress a PNG with best compression: +- Compress a PNG with the best compression: -`optipng -o{{7}} {{path/to/file.png}}` +`optipng -o {{7}} {{path/to/file.png}}` -- Compress a PNG with fastest compression: +- Compress a PNG with the fastest compression: -`optipng -o{{0}} {{path/to/file.png}}` +`optipng -o {{0}} {{path/to/file.png}}` - Compress a PNG and add interlacing: diff --git a/pages/common/opusenc.md b/pages/common/opusenc.md index 4850b6f7b557b3..c54ff9cb6ac6cd 100644 --- a/pages/common/opusenc.md +++ b/pages/common/opusenc.md @@ -5,16 +5,16 @@ - Convert WAV to Opus using default options: -`opusenc {{path/to/input.wav}} {{path/to/output}}.opus` +`opusenc {{path/to/input.wav}} {{path/to/output.opus}}` - Convert stereo audio at the highest quality level: -`opusenc --bitrate {{512}} {{path/to/input.wav}} {{path/to/output}}.opus` +`opusenc --bitrate {{512}} {{path/to/input.wav}} {{path/to/output.opus}}` - Convert 5.1 surround sound audio at the highest quality level: -`opusenc --bitrate {{1536}} {{path/to/input.flac}} {{path/to/output}}.opus` +`opusenc --bitrate {{1536}} {{path/to/input.flac}} {{path/to/output.opus}}` - Convert speech audio at the lowest quality level: -`opusenc {{path/to/input.wav}} --downmix-mono --bitrate {{6}} {{path/to/out}}.opus` +`opusenc {{path/to/input.wav}} --downmix-mono --bitrate {{6}} {{path/to/out.opus}}` diff --git a/pages/common/orca-c.md b/pages/common/orca-c.md new file mode 100644 index 00000000000000..8def7092af0479 --- /dev/null +++ b/pages/common/orca-c.md @@ -0,0 +1,37 @@ +# orca-c + +> A C-port of the ORCA live programming environment. +> ORCA is an esoteric programming language for creating procedural sequencers. +> More information: . + +- Start ORCA with an empty workspace: + +`orca-c` + +- Start ORCA and open a specific file: + +`orca-c {{path/to/file.orca}}` + +- Start ORCA and set a specific tempo (defaults to 120): + +`orca-c --bpm {{beats_per_minute}}` + +- Start ORCA and set the size of the grid: + +`orca-c --initial-size {{columns}}x{{rows}}` + +- Start ORCA and set the maximum number of undo steps (defaults to 100): + +`orca-c --undo-limit {{limit}}` + +- Show the main menu inside of ORCA: + +`` + +- Show all shortcuts inside of ORCA: + +`` + +- Show all ORCA operators inside of ORCA: + +`` diff --git a/pages/common/osage.md b/pages/common/osage.md new file mode 100644 index 00000000000000..b63993babc3048 --- /dev/null +++ b/pages/common/osage.md @@ -0,0 +1,25 @@ +# osage + +> Render an image of a `clustered` network graph from a `graphviz` file. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> More information: . + +- Render a PNG image with a filename based on the input filename and output format (uppercase -O): + +`osage -T {{png}} -O {{path/to/input.gv}}` + +- Render a SVG image with the specified output filename (lowercase -o): + +`osage -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}` + +- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format: + +`osage -T {{format}} -O {{path/to/input.gv}}` + +- Render a GIF image using `stdin` and `stdout`: + +`echo "{{digraph {this -> that} }}" | osage -T {{gif}} > {{path/to/image.gif}}` + +- Display help: + +`osage -?` diff --git a/pages/common/osmium.md b/pages/common/osmium.md new file mode 100644 index 00000000000000..eda10a5b858c0c --- /dev/null +++ b/pages/common/osmium.md @@ -0,0 +1,36 @@ +# osmium + +> Multipurpose tool for handling OpenStreetMap (OSM) files. +> More information: . + +- Show file information: + +`osmium fileinfo {{path/to/input.osm}}` + +- Display contents: + +`osmium show {{path/to/input.osm}}` + +- Convert file format from PBF into XML: + +`osmium cat {{path/to/input.osm.pbf}} {{[-o|--output]}} {{path/to/output.osm}}` + +- Extract a geographic region by the given [b]ounding box: + +`osmium extract {{[-b|--bbox]}} {{min_longitude}},{{min_latitude}},{{max_longitude}},{{max_latitude}} {{path/to/input.pbf}} {{[-o|--output]}} {{path/to/output.pbf}}` + +- Extract a geographic region by a GeoJSON file: + +`osmium extract {{[-p|--polygon]}} {{path/to/polygon.geojson}} {{path/to/input.pbf}} {{[-o|--output]}} {{path/to/output.pbf}}` + +- Filter all objects tagged as "restaurant": + +`osmium tags-filter {{path/to/input.pbf}} amenity=restaurant {{[-o|--output]}} {{path/to/output.pbf}}` + +- Filter for "way" objects tagged as "highway": + +`osmium tags-filter {{path/to/input.pbf}} w/highway {{[-o|--output]}} {{path/to/output.pbf}}` + +- Filter "way" and "relation" objects tagged as "building": + +`osmium tags-filter {{path/to/input.pbf}} wr/building {{[-o|--output]}} {{path/to/output.pbf}}` diff --git a/pages/common/osv-scanner.md b/pages/common/osv-scanner.md new file mode 100644 index 00000000000000..5a1c6c0a160321 --- /dev/null +++ b/pages/common/osv-scanner.md @@ -0,0 +1,28 @@ +# osv-scanner + +> Scan various mediums for dependencies and matches them against the OSV database. +> More information: . + +- Scan a Docker image: + +`osv-scanner -D {{docker_image_name}}` + +- Scan a package lockfile: + +`osv-scanner -L {{path/to/lockfile}}` + +- Scan an SBOM file: + +`osv-scanner -S {{path/to/sbom_file}}` + +- Scan multiple directories recursively: + +`osv-scanner -r {{directory1 directory2 ...}}` + +- Skip scanning Git repositories: + +`osv-scanner --skip-git {{-r|-D}} {{target}}` + +- Output result in JSON format: + +`osv-scanner --json {{-D|-L|-S|-r}} {{target}}` diff --git a/pages/common/ouch.md b/pages/common/ouch.md new file mode 100644 index 00000000000000..72d3c4e2681921 --- /dev/null +++ b/pages/common/ouch.md @@ -0,0 +1,20 @@ +# ouch + +> Utility for compressing and decompressing files and directories. +> More information: . + +- Decompress a specific file: + +`ouch decompress {{path/to/archive.tar.xz}}` + +- Decompress a file to a specific location: + +`ouch decompress {{path/to/archive.tar.xz}} --dir {{path/to/directory}}` + +- Decompress multiple files: + +`ouch decompress {{path/to/archive1.tar path/to/archive2.tar.gz ...}}` + +- Compress files: + +`ouch compress {{path/to/file1 path/to/file2 ...}} {{path/to/archive.zip}}` diff --git a/pages/common/oxipng.md b/pages/common/oxipng.md new file mode 100644 index 00000000000000..0b55ed0e00a8e4 --- /dev/null +++ b/pages/common/oxipng.md @@ -0,0 +1,36 @@ +# oxipng + +> Losslessly improve compression of PNG files. +> More information: . + +- Compress a PNG file (overwrites the file by default): + +`oxipng {{path/to/file.png}}` + +- Compress a PNG file and save the output to a new file: + +`oxipng --out {{path/to/output.png}} {{path/to/file.png}}` + +- Compress all PNG files in the current directory using multiple threads: + +`oxipng "*.png"` + +- Compress a file with a set optimization level (default is 2): + +`oxipng --opt {{0|1|2|3|4|5|6|max}} {{path/to/file.png}}` + +- Set the PNG interlacing type (`0` removes interlacing, `1` applies Adam7 interlacing, `keep` preserves existing interlacing; default is `0`): + +`oxipng --interlace {{0|1|keep}} {{path/to/file.png}}` + +- Perform additional optimization on images with an alpha channel: + +`oxipng --alpha {{path/to/file.png}}` + +- Use the much slower but stronger Zopfli compressor with max optimization: + +`oxipng --zopfli --opt max {{path/to/file.png}}` + +- Strip all non-critical metadata chunks: + +`oxipng --strip all {{path/to/file.png}}` diff --git a/pages/common/p10k.md b/pages/common/p10k.md new file mode 100644 index 00000000000000..eb8f783c0315b2 --- /dev/null +++ b/pages/common/p10k.md @@ -0,0 +1,16 @@ +# p10k + +> Manage configurations for powerlevel10k. +> More information: . + +- Configure powerlevel10k interactively: + +`p10k configure` + +- Reload powerlevel10k: + +`p10k reload` + +- Display help: + +`p10k help` diff --git a/pages/common/p4.md b/pages/common/p4.md index f9c4055915f6d0..8cb32ae0a2ce8c 100644 --- a/pages/common/p4.md +++ b/pages/common/p4.md @@ -1,7 +1,7 @@ # p4 > Perforce Version Control System. -> More information: . +> More information: . - Log in to the Perforce service: @@ -21,7 +21,7 @@ - Open a file to edit: -`p4 edit -c {{changelist_number}} {{filename}}` +`p4 edit -c {{changelist_number}} {{path/to/file}}` - Open a new file to add it to the depot: diff --git a/pages/common/p5.md b/pages/common/p5.md index 2cb1d7cf92d4fe..b7035811ca04e7 100644 --- a/pages/common/p5.md +++ b/pages/common/p5.md @@ -1,7 +1,7 @@ # p5 -> P5js template builder and sketch manager. -> More information: . +> Template builder and sketch manager for p5.js. +> More information: . - Create a new p5 collection: diff --git a/pages/common/p7zip.md b/pages/common/p7zip.md index 9a43d8fe2cdd27..e47ed926ce3373 100644 --- a/pages/common/p7zip.md +++ b/pages/common/p7zip.md @@ -2,7 +2,7 @@ > Wrapper of 7-Zip file archiver with high compression ratio. > Internally executes either 7za or 7zr command. -> More information: . +> More information: . - Archive a file, replacing it with a 7zipped compressed version: @@ -10,16 +10,16 @@ - Archive a file keeping the input file: -`p7zip -k {{path/to/file}}` +`p7zip {{[-k|--keep]}} {{path/to/file}}` - Decompress a file, replacing it with the original uncompressed version: -`p7zip -d {{compressed.ext}}.7z` +`p7zip {{[-d|--decompress]}} {{compressed.ext}}.7z` - Decompress a file keeping the input file: -`p7zip -d -k {{compressed.ext}}.7z` +`p7zip {{[-d|--decompress]}} {{[-k|--keep]}} {{compressed.ext}}.7z` - Skip some checks and force compression or decompression: -`p7zip -f {{path/to/file}}` +`p7zip {{[-f|--force]}} {{path/to/file}}` diff --git a/pages/common/paci.md b/pages/common/paci.md index bab56494406d1e..58a461fdcce3e5 100644 --- a/pages/common/paci.md +++ b/pages/common/paci.md @@ -1,6 +1,7 @@ # paci -> A package manager for bash scripts. +> A package manager for Bash scripts. +> More information: . - Update the list of available packages and versions (it's recommended to run this before other `paci` commands): diff --git a/pages/common/packer.md b/pages/common/packer.md index f2c722938751b3..ed45f67f83307d 100644 --- a/pages/common/packer.md +++ b/pages/common/packer.md @@ -1,7 +1,7 @@ # packer > Build automated machine images. -> More information: . +> More information: . - Build an image: @@ -10,3 +10,7 @@ - Check the syntax of a Packer image config: `packer validate {{path/to/config.json}}` + +- Format a Packer image config: + +`packer fmt {{path/to/config.pkr.hcl}}` diff --git a/pages/common/packtpub.md b/pages/common/packtpub.md new file mode 100644 index 00000000000000..1df7485f155554 --- /dev/null +++ b/pages/common/packtpub.md @@ -0,0 +1,32 @@ +# packtpub + +> Download freely offered books from packtpub.com. +> More information: . + +- Download the daily offer book into the current directory with the specified book format (defaults to `pdf`): + +`packtpub download {{[-t|--type]}} {{pdf|ebup|mobi}}` + +- Download the daily offer book into the specified directory: + +`packtpub download {{[-d|--dir]}} {{path/to/directory}}` + +- Start an interactive login to packtpub.com: + +`packtpub login` + +- Log out from packtpub.com: + +`packtpub logout` + +- Display the daily offer: + +`packtpub view-offer` + +- Open the daily offer in the default web browser: + +`packtpub view-offer` + +- Display the currently logged-in user: + +`packtpub whoami` diff --git a/pages/common/packwiz.md b/pages/common/packwiz.md new file mode 100644 index 00000000000000..3a9cefb08c629a --- /dev/null +++ b/pages/common/packwiz.md @@ -0,0 +1,24 @@ +# packwiz + +> Create, edit and manage Minecraft modpacks. +> More information: . + +- Interactively create a new modpack in the current directory: + +`packwiz init` + +- Add a mod from Modrinth or Curseforge: + +`packwiz {{modrinth|curseforge}} add {{url|slug|search_term}}` + +- List all mods in the modpack: + +`packwiz list` + +- Update `index.toml` after manually editing files: + +`packwiz refresh` + +- Export as a Modrinth (`.mrpack`) or Curseforge (Zip) file: + +`packwiz {{modrinth|curseforge}} export` diff --git a/pages/common/pactl.md b/pages/common/pactl.md index 95816cfecbf6cd..136e7a478978cf 100644 --- a/pages/common/pactl.md +++ b/pages/common/pactl.md @@ -1,6 +1,11 @@ # pactl > Control a running PulseAudio sound server. +> More information: . + +- Show information about the sound server: + +`pactl info` - List all sinks (or other types - sinks are outputs and sink-inputs are active audio streams): diff --git a/pages/common/pageres.md b/pages/common/pageres.md index 5cc803fef611df..ad9984ae535231 100644 --- a/pages/common/pageres.md +++ b/pages/common/pageres.md @@ -9,7 +9,7 @@ - Provide specific options for a URL, overriding global options: -`pageres [{{https://example.com/}} {{1366x768}} --no-crop] [{{https://example2.com/}} {{1024x768}}] --crop` +`pageres [{{https://example.com/}} {{1366x768}} --no-crop] [{{https://example2.com/}} {{1024x768}}] {{[-c|--crop]}}` - Provide a custom filename template: @@ -25,4 +25,4 @@ - Capture a screenshot of a local file: -`pageres {{local_file_path.html}} {{1366x768}}` +`pageres {{path/to/local_file.html}} {{1366x768}}` diff --git a/pages/common/pake.md b/pages/common/pake.md new file mode 100644 index 00000000000000..8d5c896e068a88 --- /dev/null +++ b/pages/common/pake.md @@ -0,0 +1,28 @@ +# pake + +> Turn any webpage into a desktop app with Rust/Tauri. +> More information: . + +- Package a web page: + +`pake {{https://www.google.com/}}` + +- Package a web page with a specific window size: + +`pake --width {{800}} --height {{600}} {{https://www.google.com/}}` + +- Package a web page with a custom application name and icon: + +`pake --name {{Google}} --icon {{path/to/icon.ico}} {{https://www.google.com/}}` + +- Package a web page with a non-resizable window: + +`pake --no-resizable {{https://www.google.com/}}` + +- Package a web page with fullscreen mode: + +`pake --fullscreen {{https://www.google.com/}}` + +- Package a web page with a transparent title bar: + +`pake --transparent {{https://www.google.com/}}` diff --git a/pages/common/palmtopnm.md b/pages/common/palmtopnm.md new file mode 100644 index 00000000000000..18ea885b579a5a --- /dev/null +++ b/pages/common/palmtopnm.md @@ -0,0 +1,24 @@ +# palmtopnm + +> Convert a Palm bitmap file to a PNM image. +> More information: . + +- Convert a Palm bitmap to a PNM image: + +`palmtopnm {{path/to/file.palm}} > {{path/to/file.pnm}}` + +- Display information about the input file: + +`palmtopnm {{[-verb|-verbose]}} {{path/to/file.palm}} > {{path/to/file.pnm}}` + +- Convert the n'th rendition of the image contained in the input file: + +`palmtopnm {{[-r|-rendition]}} {{n}} {{path/to/file.palm}} > {{path/to/file.pnm}}` + +- Write a histogram of the colors in the input file to `stdout`: + +`palmtopnm {{[-s|-showhist]}} {{path/to/file.palm}} > {{path/to/file.pnm}}` + +- Output the transparent color of the input image if set: + +`palmtopnm {{[-t|-transparent]}} {{path/to/file.palm}}` diff --git a/pages/common/pamarith.md b/pages/common/pamarith.md new file mode 100644 index 00000000000000..4f247ee8a79625 --- /dev/null +++ b/pages/common/pamarith.md @@ -0,0 +1,9 @@ +# pamarith + +> Apply a binary function on two Netpbm images. +> See also: `pamfunc`. +> More information: . + +- Apply the specified binary function pixel-wise on the two specified images (which must be of the same size): + +`pamarith -{{add|subtract|multiply|divide|difference|minimum|maximum|...}} {{path/to/image1.pam|pbm|pgm|ppm}} {{path/to/image2.pam|pbm|pgm|ppm}}` diff --git a/pages/common/pambackground.md b/pages/common/pambackground.md new file mode 100644 index 00000000000000..70d82e41b220a9 --- /dev/null +++ b/pages/common/pambackground.md @@ -0,0 +1,9 @@ +# pambackground + +> Create a mask of the background in a PAM image. +> See also: `pbmmask`. +> More information: . + +- Create a mask of the background in a PAM image: + +`pambackground {{path/to/image.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pambrighten.md b/pages/common/pambrighten.md new file mode 100644 index 00000000000000..6acb46a9e9ffcd --- /dev/null +++ b/pages/common/pambrighten.md @@ -0,0 +1,12 @@ +# pambrighten + +> Change a PAM image's saturation and value. +> More information: . + +- Increase the saturation of each pixel by the specified percentage: + +`pambrighten {{[-s|-saturation]}} {{value_percent}} {{path/to/image.pam}} > {{path/to/output.pam}}` + +- Increase the value (from the HSV color space) of each pixel by the specified percentage: + +`pambrighten {{[-va|-value]}} {{value_percent}} {{path/to/image.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamcomp.md b/pages/common/pamcomp.md new file mode 100644 index 00000000000000..41dde0415c352f --- /dev/null +++ b/pages/common/pamcomp.md @@ -0,0 +1,20 @@ +# pamcomp + +> Overlay two PAM images. +> More information: . + +- Overlay two images such with the overlay blocking parts of the underlay: + +`pamcomp {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}` + +- Set the horizontal alignment of the overlay: + +`pamcomp {{[-ali|-align]}} {{left|center|right|beyondleft|beyondright}} {{[-x|-xoff]}} {{x_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}` + +- Set the vertical alignment of the overlay: + +`pamcomp {{[-va|-valign]}} {{top|middle|bottom|above|below}} {{[-y|-yoff]}} {{y_offset}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}` + +- Set the opacity of the overlay: + +`pamcomp {{[-o|-opacity]}} {{0.7}} {{path/to/overlay.pam}} {{path/to/underlay.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamcrater.md b/pages/common/pamcrater.md new file mode 100644 index 00000000000000..e7bc87e0a2aac2 --- /dev/null +++ b/pages/common/pamcrater.md @@ -0,0 +1,13 @@ +# pamcrater + +> Create a PAM image of cratered terrain. +> See also: `pamshadedrelief`, `ppmrelief`. +> More information: . + +- Create an image of cratered terrain with the specified dimensions: + +`pamcrater {{[-h|-height]}} {{height}} {{[-w|-width]}} {{width}} > {{path/to/output.pam}}` + +- Create an image containing the specified number of craters: + +`pamcrater {{[-n|-number]}} {{n_craters}} > {{path/to/output.pam}}` diff --git a/pages/common/pamcut.md b/pages/common/pamcut.md new file mode 100644 index 00000000000000..6360abcb8692c6 --- /dev/null +++ b/pages/common/pamcut.md @@ -0,0 +1,17 @@ +# pamcut + +> Cut out a rectangular region from a Netpbm image. +> See also: `pamcrop`, `pamdice`, `pamcomp`. +> More information: . + +- Discard the specified number of columns/rows on each side of the image: + +`pamcut {{[-cropl|-cropleft]}} {{value}} {{[-cropr|-cropright]}} {{value}} {{[-cropt|-croptop]}} {{value}} {{[-cropb|-cropbottom]}} {{value}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` + +- Keep only the columns between the specified columns (inclusively): + +`pamcut {{[-l|-left]}} {{value}} {{[-ri|-right]}} {{value}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` + +- Fill missing areas with black pixels if the specified rectangle does not entirely lie within the input image: + +`pamcut {{[-t|-top]}} {{value}} {{[-b|-bottom]}} {{value}} -pad {{path/to/image.ppm}} > {{path/to/output.ppm}}` diff --git a/pages/common/pamdeinterlace.md b/pages/common/pamdeinterlace.md new file mode 100644 index 00000000000000..98eb8aaf0d270d --- /dev/null +++ b/pages/common/pamdeinterlace.md @@ -0,0 +1,13 @@ +# pamdeinterlace + +> Remove every other row in a Netpbm image. +> See also: `pammixinterlace`. +> More information: . + +- Produce an image consisting of the input's even-numbered rows: + +`pamdeinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}` + +- Produce an image consisting of the input's odd-numbered rows: + +`pamdeinterlace {{[-takeo|-takeodd]}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` diff --git a/pages/common/pamdepth.md b/pages/common/pamdepth.md new file mode 100644 index 00000000000000..f9cea141aa8fd5 --- /dev/null +++ b/pages/common/pamdepth.md @@ -0,0 +1,8 @@ +# pamdepth + +> Reduce the depth (i.e. color resolution) in an image. +> More information: . + +- Read a PBM image, set its maxval and save it to a file: + +`pamdepth {{maxval}} {{path/to/image.pbm}} > {{path/to/file.pbm}}` diff --git a/pages/common/pamdice.md b/pages/common/pamdice.md new file mode 100644 index 00000000000000..74d1a5816648a0 --- /dev/null +++ b/pages/common/pamdice.md @@ -0,0 +1,13 @@ +# pamdice + +> Slice a Netpbm image vertically or horizontally. +> See also: `pamundice`. +> More information: . + +- Slice a Netpbm image such that the resulting tiles have the specified height and width: + +`pamdice {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{path/to/input.ppm}}` + +- Make the produced pieces overlap by the specified amount horizontally and vertically: + +`pamdice {{[-o|-outstem]}} {{path/to/filename_stem}} {{[-he|-height]}} {{value}} {{[-w|-width]}} {{value}} {{[-ho|-hoverlap]}} {{value}} {{[-vo|-voverlap]}} {{value}} {{path/to/input.ppm}}` diff --git a/pages/common/pamditherbw.md b/pages/common/pamditherbw.md new file mode 100644 index 00000000000000..145e7bc7e82dd1 --- /dev/null +++ b/pages/common/pamditherbw.md @@ -0,0 +1,21 @@ +# pamditherbw + +> Apply dithering to a greyscale image, i.e. turn it into a pattern of black and white pixels that look the same as the original greyscale. +> See also: `pbmreduce`. +> More information: . + +- Read a PGM image, apply dithering and save it to a file: + +`pamditherbw {{path/to/image.pgm}} > {{path/to/file.pgm}}` + +- Use the specified quantization method: + +`pamditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` + +- Use the atkinson quantization method and the specified seed for a pseudo-random number generator: + +`pamditherbw {{[-a|-atkinson]}} {{[-r|-randomseed]}} {{1337}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` + +- Specify the thresholding value for quantization methods that perform some sort of thresholding: + +`pamditherbw -{{fs|atkinson|thresholding}} {{[-va|-value]}} {{0.3}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` diff --git a/pages/common/pamedge.md b/pages/common/pamedge.md new file mode 100644 index 00000000000000..47fd6e5b8d45df --- /dev/null +++ b/pages/common/pamedge.md @@ -0,0 +1,8 @@ +# pamedge + +> Perform edge-detection on a Netpbm image. +> More information: . + +- Perform edge-detection on a Netpbm image: + +`pamedge {{path/to/input.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamenlarge.md b/pages/common/pamenlarge.md new file mode 100644 index 00000000000000..1a8380dbabbc59 --- /dev/null +++ b/pages/common/pamenlarge.md @@ -0,0 +1,13 @@ +# pamenlarge + +> Enlarge a PAM image by duplicating pixels. +> See also: `pbmreduce`, `pamditherbw`, `pbmpscale`. +> More information: . + +- Enlarge the specified image by the specified factor: + +`pamenlarge {{[-s|-scale]}} {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}` + +- Enlarge the specified image by the specified factors horizontally and vertically: + +`pamenlarge {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamexec.md b/pages/common/pamexec.md new file mode 100644 index 00000000000000..76e032a7c52834 --- /dev/null +++ b/pages/common/pamexec.md @@ -0,0 +1,13 @@ +# pamexec + +> Execute a shell command on each image in a Netpbm file. +> See also: `pamfile`, `pampick`, `pamsplit`. +> More information: . + +- Execute a shell command on each image in a Netpbm file: + +`pamexec {{command}} {{path/to/image.pam}}` + +- Stop processing if a command terminates with a nonzero exit status: + +`pamexec {{command}} {{path/to/image.pam}} {{[-c|-check]}}` diff --git a/pages/common/pamfile.md b/pages/common/pamfile.md new file mode 100644 index 00000000000000..d8bd83c34b5d78 --- /dev/null +++ b/pages/common/pamfile.md @@ -0,0 +1,16 @@ +# pamfile + +> Describe Netpbm (PAM or PNM) files. +> More information: . + +- Describe the specified Netpbm files: + +`pamfile {{path/to/file1 path/to/file2 ...}}` + +- Describe every image in each input file (as opposed to only the first image in each file) in a machine-readable format: + +`pamfile {{[-a|-allimages]}} -machine {{path/to/file}}` + +- Display a count on how many images the input files contain: + +`pamfile {{[-cou|-count]}} {{path/to/file}}` diff --git a/pages/common/pamfix.md b/pages/common/pamfix.md new file mode 100644 index 00000000000000..9ac0cf517b4829 --- /dev/null +++ b/pages/common/pamfix.md @@ -0,0 +1,17 @@ +# pamfix + +> Fix errors in PAM, PBM, PGM and PPM files. +> See also: `pamfile`, `pamvalidate`. +> More information: . + +- Fix a Netpbm file that is missing its last part: + +`pamfix {{[-t|-truncate]}} {{path/to/corrupted.ext}} > {{path/to/output.ext}}` + +- Fix a Netpbm file where pixel values exceed the image's `maxval` by lowering the offending pixels' values: + +`pamfix {{[-cl|-clip]}} {{path/to/corrupted.ext}} > {{path/to/output.ext}}` + +- Fix a Netpbm file where pixel values exceed the image's `maxval` by increasing it: + +`pamfix {{[-ch|-changemaxval]}} {{path/to/corrupted.pam|pbm|pgm|ppm}} > {{path/to/output.pam|pbm|pgm|ppm}}` diff --git a/pages/common/pamfixtrunc.md b/pages/common/pamfixtrunc.md new file mode 100644 index 00000000000000..8f6bab7697114b --- /dev/null +++ b/pages/common/pamfixtrunc.md @@ -0,0 +1,8 @@ +# pamfixtrunc + +> This command has been superseded by `pamfix -truncate`. +> More information: . + +- View documentation for the current command: + +`tldr pamfix` diff --git a/pages/common/pamflip.md b/pages/common/pamflip.md new file mode 100644 index 00000000000000..27d6e47f9c6193 --- /dev/null +++ b/pages/common/pamflip.md @@ -0,0 +1,20 @@ +# pamflip + +> Flip or rotate a PAM or PNM image. +> More information: . + +- Rotate the input image counter-clockwise for a specific degree: + +`pamflip {{[-r|-rotate]}}{{90|180|270}} {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Flip left for right: + +`pamflip {{[-lr|-leftright]}} {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Flip top for bottom: + +`pamflip {{[-tb|-topbottom]}} {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Flip the input image on the main diagonal: + +`pamflip {{[-xy|-transpose]}} {{path/to/input.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamfunc.md b/pages/common/pamfunc.md new file mode 100644 index 00000000000000..4c0ce12532a589 --- /dev/null +++ b/pages/common/pamfunc.md @@ -0,0 +1,12 @@ +# pamfunc + +> Apply a simple arithmetic function to a Netpbm image. +> More information: . + +- Apply the specified arithmetic function with `n` as the second argument to each sample in the specified PAM image: + +`pamfunc -{{multiplier|divisor|adder|subtractor|min|max}} {{n}} {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Apply the specified bit string function with `n` as the second argument to each sample in the specified PAM image: + +`pamfunc -{{andmask|ormask|xormask|shiftleft|shiftright}} {{n}} {{path/to/input.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamixer.md b/pages/common/pamixer.md index 56149ab1d9c50a..564ccc28bf6750 100644 --- a/pages/common/pamixer.md +++ b/pages/common/pamixer.md @@ -1,7 +1,7 @@ # pamixer > A simple command-line mixer for PulseAudio. -> More information: . +> More information: . - List all sinks and sources with their corresponding IDs: @@ -17,11 +17,11 @@ - Increase the volume on default sink by 5%: -`pamixer --increase {{5}}` +`pamixer {{[-i|--increase]}} {{5}}` - Decrease the volume on a source by 5%: -`pamixer --decrease {{5}} --source {{ID}}` +`pamixer {{[-d|--decrease]}} {{5}} --source {{ID}}` - Use the allow boost option to increase, decrease, or set the volume above 100%: @@ -29,4 +29,4 @@ - Mute the default sink (use `--unmute` instead to unmute): -`pamixer --mute` +`pamixer {{[-m|--mute]}}` diff --git a/pages/common/pammixinterlace.md b/pages/common/pammixinterlace.md new file mode 100644 index 00000000000000..ce31e78b50e05b --- /dev/null +++ b/pages/common/pammixinterlace.md @@ -0,0 +1,17 @@ +# pammixinterlace + +> Merge each row in an image with its two neighbours. +> See also: `pamdeinterlace`. +> More information: . + +- Merge each row in an image with its two neighbours: + +`pammixinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}` + +- Use the specified filtering mechanism: + +`pammixinterlace {{[-f|-filter]}} {{linear|fir|ffmpeg}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` + +- Turn on adaptive filtering mode, i.e., only modify pixels that are obviously part of a comb pattern: + +`pammixinterlace {{[-a|-adaptive]}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` diff --git a/pages/common/pamnoraw.md b/pages/common/pamnoraw.md new file mode 100644 index 00000000000000..f106b4afc1e86d --- /dev/null +++ b/pages/common/pamnoraw.md @@ -0,0 +1,7 @@ +# pamnoraw + +> This command is an alias of `pamtopnm -plain`. + +- View documentation for the original command: + +`tldr pamtopnm` diff --git a/pages/common/pamoil.md b/pages/common/pamoil.md new file mode 100644 index 00000000000000..65aadb78823ebc --- /dev/null +++ b/pages/common/pamoil.md @@ -0,0 +1,12 @@ +# pamoil + +> Turn a PAM image into an oil painting. +> More information: . + +- Turn a PAM image into an oil painting: + +`pamoil {{path/to/input_file.pam}} > {{path/to/output_file.pam}}` + +- Consider a neighborhood of `n` pixels for the "smearing" effect: + +`pamoil -n {{n}} {{path/to/input_file.pam}} > {{path/to/output_file.pam}}` diff --git a/pages/common/pampick.md b/pages/common/pampick.md new file mode 100644 index 00000000000000..bd13ae60156a3e --- /dev/null +++ b/pages/common/pampick.md @@ -0,0 +1,9 @@ +# pampick + +> Pick images out of a multi-image Netpbm stream. +> See also: `pamfile`, `pamsplit`. +> More information: . + +- Execute a shell command on each image in a Netpbm file: + +`pampick < {{path/to/image.pam}} {{image_number1 image_number2 ...}} > {{path/to/output.pam}}` diff --git a/pages/common/pampop9.md b/pages/common/pampop9.md new file mode 100644 index 00000000000000..7dcf2e52b1e1d4 --- /dev/null +++ b/pages/common/pampop9.md @@ -0,0 +1,8 @@ +# pampop9 + +> Simulate a multi-lens camera such as the Pop9. +> More information: . + +- Tile the input image xtiles by ytiles times, increasing the offset each time as determined by xdelta and ydelta: + +`pampop9 {{path/to/input.pam}} {{xtiles}} {{ytiles}} {{xdelta}} {{ydelta}} > {{path/to/output.pam}}` diff --git a/pages/common/pamrgbatopng.md b/pages/common/pamrgbatopng.md new file mode 100644 index 00000000000000..c66acf86a89555 --- /dev/null +++ b/pages/common/pamrgbatopng.md @@ -0,0 +1,8 @@ +# pamrgbatopng + +> This command has been superseded by `pamtopng`. +> More information: . + +- View documentation for the current command: + +`tldr pamtopng` diff --git a/pages/common/pamscale.md b/pages/common/pamscale.md new file mode 100644 index 00000000000000..5bb85bc799dec1 --- /dev/null +++ b/pages/common/pamscale.md @@ -0,0 +1,24 @@ +# pamscale + +> Scale a Netpbm image. +> More information: . + +- Scale an image such that the result has the specified dimensions: + +`pamscale {{[-wid|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Scale an image such that the result has the specified width, keeping the aspect ratio: + +`pamscale {{[-wid|-width]}} {{width}} {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Scale an image such that its width and height is changed by the specified factors: + +`pamscale {{[-xsc|-xscale]}} {{x_factor}} {{[-ysc|-yscale]}} {{y_factor}} {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Scale an image such that it fits into the specified bounding box while preserving its aspect ratio: + +`pamscale -xyfit {{bbox_width}} {{bbox_height}} {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Scale an image such that it completely fills the specified box while preserving its aspect ratio: + +`pamscale -xyfill {{box_width}} {{box_height}} {{path/to/input.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamshadedrelief.md b/pages/common/pamshadedrelief.md new file mode 100644 index 00000000000000..dbcfbfdc96cc36 --- /dev/null +++ b/pages/common/pamshadedrelief.md @@ -0,0 +1,13 @@ +# pamshadedrelief + +> Generate a shaded relief from an elevation map. +> See also: `pamcrater`, `ppmrelief`. +> More information: . + +- Generate a shaded relief image with the input image interpreted as an elevation map: + +`pamshadedrelief < {{path/to/input.pam}} > {{path/to/output.pam}}` + +- Gamma adjust the image by the specified factor: + +`pamshadedrelief < {{path/to/input.pam}} {{[-g|-gamma]}} {{factor}} > {{path/to/output.pam}}` diff --git a/pages/common/pamslice.md b/pages/common/pamslice.md new file mode 100644 index 00000000000000..9f30bb3db481ca --- /dev/null +++ b/pages/common/pamslice.md @@ -0,0 +1,20 @@ +# pamslice + +> Extract one line of values out of a PAM image. +> More information: . + +- Print the values of the pixels in the n'th row in a table: + +`pamslice {{[-r|-row]}} {{n}} {{path/to/image.pam}}` + +- Print the values of the pixels in the n'th column in a table: + +`pamslice {{[-c|-column]}} {{n}} {{path/to/image.pam}}` + +- Consider the m'th plane of the input image only: + +`pamslice {{[-r|-row]}} {{n}} -plane {{m}} {{path/to/image.pam}}` + +- Produce output in a format suitable for input to an `xmgr` for visualisation: + +`pamslice {{[-r|-row]}} {{n}} {{[-x|-xmgr]}} {{path/to/image.pam}}` diff --git a/pages/common/pamsplit.md b/pages/common/pamsplit.md new file mode 100644 index 00000000000000..f7e6f12bab7f8d --- /dev/null +++ b/pages/common/pamsplit.md @@ -0,0 +1,13 @@ +# pamsplit + +> Split a multi-image Netpbm file into multiple single-image Netpbm files. +> See also: `pamfile`, `pampick`, `pamexec`. +> More information: . + +- Split a multi-image Netpbm file into multiple single-image Netpbm files: + +`pamsplit {{path/to/image.pam}}` + +- Specify a pattern for naming output files: + +`pamsplit {{path/to/image.pam}} {{file_%d.pam}}` diff --git a/pages/common/pamstack.md b/pages/common/pamstack.md new file mode 100644 index 00000000000000..653d7b074a6dca --- /dev/null +++ b/pages/common/pamstack.md @@ -0,0 +1,12 @@ +# pamstack + +> Stack the planes of multiple PAM images into one PAM image. +> More information: . + +- Stack the planes of the specified PAM images in the specified order: + +`pamstack {{path/to/image1.pam path/to/image2.pam ...}} > {{path/to/output.pam}}` + +- Specify the tuple type name of the output PAM file (maximum of 255 characters): + +`pamstack {{[-t|-tupletype]}} {{tuple_type}} {{path/to/image1.pam path/to/image2.pam ...}} > {{path/to/output.pam}}` diff --git a/pages/common/pamstretch-gen.md b/pages/common/pamstretch-gen.md new file mode 100644 index 00000000000000..dd9d8f546a8d3b --- /dev/null +++ b/pages/common/pamstretch-gen.md @@ -0,0 +1,9 @@ +# pamstretch-gen + +> Scale up a PAM image by decimal values. +> See also: `pamstretch`, `pamenlarge`, `pamscale`. +> More information: . + +- Scale up a PAM image by the specified decimal factor: + +`pamstretch-gen {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamstretch.md b/pages/common/pamstretch.md new file mode 100644 index 00000000000000..416ef110d80bc8 --- /dev/null +++ b/pages/common/pamstretch.md @@ -0,0 +1,13 @@ +# pamstretch + +> Scale up a PAM image by interpolating between pixels. +> See also: `pamstretch-gen`, `pamenlarge`, `pamscale`. +> More information: . + +- Scale up a PAM image by an integer factor: + +`pamstretch {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}` + +- Scale up a PAM image by the specified factors in the horizontal and vertical directions: + +`pamstretch {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{path/to/image.pam}} > {{path/to/output.pam}}` diff --git a/pages/common/pamtofits.md b/pages/common/pamtofits.md new file mode 100644 index 00000000000000..bcad2bff307b50 --- /dev/null +++ b/pages/common/pamtofits.md @@ -0,0 +1,9 @@ +# pamtofits + +> Convert a Netpbm image to the Flexible Image Transport System (FITS) format. +> See also: `fitstopnm`. +> More information: . + +- Convert a Netpbm image to the FITS format: + +`pamtofits {{path/to/image.pam}} > {{path/to/output.fits}}` diff --git a/pages/common/pamtogif.md b/pages/common/pamtogif.md new file mode 100644 index 00000000000000..9666c1c805ba34 --- /dev/null +++ b/pages/common/pamtogif.md @@ -0,0 +1,17 @@ +# pamtogif + +> Convert a Netpbm image into an unanimated GIF image. +> See also: `giftopnm`, `gifsicle`. +> More information: . + +- Convert a Netpbm image into an unanimated GIF image: + +`pamtogif {{path/to/image.pam}} > {{path/to/output.gif}}` + +- Mark the specified color as transparent in the output GIF file: + +`pamtogif {{[-t|-transparent]}} {{color}} {{path/to/image.pam}} > {{path/to/output.gif}}` + +- Include the specified text as a comment in the output GIF file: + +`pamtogif {{[-c|-comment]}} "{{Hello World!}}" {{path/to/image.pam}} > {{path/to/output.gif}}` diff --git a/pages/common/pamtopam.md b/pages/common/pamtopam.md new file mode 100644 index 00000000000000..e77d10ac36bf77 --- /dev/null +++ b/pages/common/pamtopam.md @@ -0,0 +1,12 @@ +# pamtopam + +> Copy a PAM image. +> More information: . + +- Copy a PAM image (i.e. a PBM, PGM, PPM or PAM image) from `stdin` to `stdout`: + +`pamtopam < {{path/to/image.pam}} > {{path/to/output.pam}}` + +- Display version: + +`pamtopam {{[-v|-version]}}` diff --git a/pages/common/pamtopng.md b/pages/common/pamtopng.md new file mode 100644 index 00000000000000..804efa2cdf9847 --- /dev/null +++ b/pages/common/pamtopng.md @@ -0,0 +1,21 @@ +# pamtopng + +> Convert a PAM image to PNG. +> See also: `pnmtopng`, `pngtopam`. +> More information: . + +- Convert the specified PAM image to PNG: + +`pamtopng {{path/to/image.pam}} > {{path/to/output.png}}` + +- Mark the specified color as transparent in the output image: + +`pamtopng {{[-t|-transparent]}} {{color}} {{path/to/image.pam}} > {{path/to/output.png}}` + +- Include the text in the specified file as tEXt chunks in the output: + +`pamtopng {{[-te|-text]}} {{path/to/file.txt}} {{path/to/image.pam}} > {{path/to/output.png}}` + +- Cause the output file to be interlaced in Adam7 format: + +`pamtopng {{[-in|-interlace]}} {{path/to/image.pam}} > {{path/to/output.png}}` diff --git a/pages/common/pamtopnm.md b/pages/common/pamtopnm.md new file mode 100644 index 00000000000000..3d09b974a0af70 --- /dev/null +++ b/pages/common/pamtopnm.md @@ -0,0 +1,12 @@ +# pamtopnm + +> Convert a PAM image to an equivalent PNM image. +> More information: . + +- Convert a PAM image to an equivalent PNM image, i.e. a PBM, PGM or PPM image: + +`pamtopnm {{path/to/image.pam}} > {{path/to/output.pbm|pgm|ppm}}` + +- Display version: + +`pamtopnm {{[-v|-version]}}` diff --git a/pages/common/pamtoqoi.md b/pages/common/pamtoqoi.md new file mode 100644 index 00000000000000..ff0f8b3c9b5a7a --- /dev/null +++ b/pages/common/pamtoqoi.md @@ -0,0 +1,8 @@ +# pamtoqoi + +> Convert a Netpbm image to a QOI image (Quite OK Image format). +> More information: . + +- Convert a Netpbm image to the QOI format: + +`pamtoqoi {{path/to/image.pnm}} > {{path/to/output.qoi}}` diff --git a/pages/common/pamtosrf.md b/pages/common/pamtosrf.md new file mode 100644 index 00000000000000..ab39fa52551977 --- /dev/null +++ b/pages/common/pamtosrf.md @@ -0,0 +1,9 @@ +# pamtosrf + +> Convert Netpbm images to SRF format. +> See also: `srftopam`. +> More information: . + +- Convert a Netpbm image or a stream of Netpbm images to SRF format: + +`pamtosrf {{path/to/file.pam}} > {{path/to/output.srf}}` diff --git a/pages/common/pamtotga.md b/pages/common/pamtotga.md new file mode 100644 index 00000000000000..eed066c4f67d46 --- /dev/null +++ b/pages/common/pamtotga.md @@ -0,0 +1,16 @@ +# pamtotga + +> Convert a Netpbm image to a TrueVision Targa file. +> More information: . + +- Convert a Netpbm image to a TrueVision Targa file: + +`pamtotga {{path/to/file.pam}} > {{path/to/output.tga}}` + +- Specify the color map of the output image: + +`pamtotga -{{cmap|cmap16|mono|rgb}} {{path/to/file.pam}} > {{path/to/output.tga}}` + +- Display version: + +`pamtotga {{[-v|-version]}}` diff --git a/pages/common/pamtotiff.md b/pages/common/pamtotiff.md new file mode 100644 index 00000000000000..496b86847549d1 --- /dev/null +++ b/pages/common/pamtotiff.md @@ -0,0 +1,16 @@ +# pamtotiff + +> Convert a PAM image to a TIFF file. +> More information: . + +- Convert a PAM image to a TIFF image: + +`pamtotiff {{path/to/input_file.pam}} > {{path/to/output_file.tiff}}` + +- Explicitly specify a compression method for the output file: + +`pamtotiff -{{none|packbits|lzw|g3|g4|flate|adobeflate}} {{path/to/input_file.pam}} > {{path/to/output_file.tiff}}` + +- Always produce a color TIFF image, even if the input image is greyscale: + +`pamtotiff {{[-c|-color]}} {{path/to/input_file.pam}} > {{path/to/output_file.tiff}}` diff --git a/pages/common/pamtouil.md b/pages/common/pamtouil.md new file mode 100644 index 00000000000000..d0e05ce6652e52 --- /dev/null +++ b/pages/common/pamtouil.md @@ -0,0 +1,12 @@ +# pamtouil + +> Convert a PNM or PAM file into a Motif UIL icon file. +> More information: . + +- Convert a PNM or PAM file into a Motif UIL icon file: + +`pamtouil {{path/to/input.pnm|pam}} > {{path/to/output.uil}}` + +- Specify a prefix string to be printed in the output UIL file: + +`pamtouil {{[-n|-name]}} {{uilname}} {{path/to/input.pnm|pam}} > {{path/to/output.uil}}` diff --git a/pages/common/pamtowinicon.md b/pages/common/pamtowinicon.md new file mode 100644 index 00000000000000..39b8b335e9a739 --- /dev/null +++ b/pages/common/pamtowinicon.md @@ -0,0 +1,16 @@ +# pamtowinicon + +> Convert a PAM image to a Windows ICO file. +> More information: . + +- Convert a PAM image file to an ICO file: + +`pamtowinicon {{path/to/input_file.pam}} > {{path/to/output.ico}}` + +- Encode images with resolutions smaller than t in the BMP format and all other images in the PNG format: + +`pamtowinicon {{[-pn|-pngthreshold]}} {{t}} {{path/to/input_file.pam}} > {{path/to/output.ico}}` + +- Make all pixels outside the non-opaque area black: + +`pamtowinicon {{[-t|-truetransparent]}} {{path/to/input_file.pam}} > {{path/to/output.ico}}` diff --git a/pages/common/pamtoxvmini.md b/pages/common/pamtoxvmini.md new file mode 100644 index 00000000000000..c94cf8d7c6eb20 --- /dev/null +++ b/pages/common/pamtoxvmini.md @@ -0,0 +1,8 @@ +# pamtoxvmini + +> Convert a Netpbm image to an XV thumbnail picture. +> More information: . + +- Convert a PAM image to an XV thumbnail picture: + +`pamtoxvmini {{path/to/input_file.pam}} > {{path/to/output_file}}` diff --git a/pages/common/pamundice.md b/pages/common/pamundice.md new file mode 100644 index 00000000000000..13ee13290e92b8 --- /dev/null +++ b/pages/common/pamundice.md @@ -0,0 +1,17 @@ +# pamundice + +> Combine a grid of Netpbm images into one. +> See also: `pamdice`. +> More information: . + +- Combine the images whose names match the `printf`-style filename expression. Assume a grid with a specific size: + +`pamundice {{filename_%1d_%1a.ppm}} {{[-a|-across]}} {{grid_width}} {{[-d|-down]}} {{grid_height}} > {{path/to/output.ppm}}` + +- Assume that the tiles overlap horizontally and vertically by the specified amount: + +`pamundice {{filename_%1d_%1a.ppm}} {{[-a|-across]}} {{x_value}} {{[-d|-down]}} {{y_value}} {{[-ho|-hoverlap]}} {{value}} {{[-vo|-voverlap]}} {{value}} > {{path/to/output.ppm}}` + +- Specify the images to be combined through a text file containing one filename per line: + +`pamundice {{[-l|-listfile]}} {{path/to/file.txt}} {{[-a|-across]}} {{x_value}} {{[-d|-down]}} {{y_value}} > {{path/to/output.ppm}}` diff --git a/pages/common/pamvalidate.md b/pages/common/pamvalidate.md new file mode 100644 index 00000000000000..cc90a8e4d46a00 --- /dev/null +++ b/pages/common/pamvalidate.md @@ -0,0 +1,9 @@ +# pamvalidate + +> Validate PAM, PGM, PBM and PPM files. +> See also: `pamfile`, `pamfix`. +> More information: . + +- Copy a Netpbm file from `stdin` to `stdout` if and only if it valid; fail otherwise: + +`{{command}} | pamvalidate > {{path/to/output.ext}}` diff --git a/pages/common/pandoc.md b/pages/common/pandoc.md index 6ba9e33d36105b..92587866c2da08 100644 --- a/pages/common/pandoc.md +++ b/pages/common/pandoc.md @@ -1,19 +1,27 @@ # pandoc > Convert documents between various formats. -> More information: . +> More information: . -- Convert file to pdf (the output format is determined by file extension): +- Convert a Markdown file to PDF using `pdflatex` (the formats are determined by file extensions): -`pandoc {{input.md}} -o {{output.pdf}}` +`pandoc {{path/to/input.md}} {{[-o|--output]}} {{path/to/output.pdf}}` -- Force conversion to use a specific format: +- Convert a Markdown file to PDF using the specified PDF engine: -`pandoc {{input.docx}} --to {{gfm}} -o {{output.md}}` +`pandoc {{path/to/input.md}} --pdf-engine {{tectonic|weasyprint|typst|...}} {{[-o|--output]}} {{path/to/output.pdf}}` - Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.): -`pandoc {{input.md}} -s -o {{output.tex}}` +`pandoc {{path/to/input.md}} {{[-s|--standalone]}} {{[-o|--output]}} {{path/to/output.html}}` + +- Manually specify formats (overriding automatic format detection using the filename extension, or when there is no extension): + +`pandoc {{[-f|--from]}} {{docx|...}} {{path/to/input}} {{[-t|--to]}} {{pdf|...}} {{[-o|--output]}} {{path/to/output}}` + +- Transform a document using a Lua script (see for more information): + +`pandoc {{path/to/input}} {{[-L|--lua-filter]}} {{path/to/filter.lua}} {{[-o|--output]}} {{path/to/output}}` - List all supported input formats: diff --git a/pages/common/pangolin.md b/pages/common/pangolin.md new file mode 100644 index 00000000000000..231bf7800ca2d7 --- /dev/null +++ b/pages/common/pangolin.md @@ -0,0 +1,12 @@ +# pangolin + +> Implements the dynamic nomenclature of SARS-CoV-2 lineages (Pango nomenclature). +> More information: . + +- Run `pangolin` on the specified FASTA file: + +`pangolin {{path/to/file.fa}}` + +- Use the specified analysis engine: + +`pangolin --analysis-mode {{accurate|fast|pangolearn|usher}}` diff --git a/pages/common/pants.md b/pages/common/pants.md new file mode 100644 index 00000000000000..866714ebca7462 --- /dev/null +++ b/pages/common/pants.md @@ -0,0 +1,32 @@ +# pants + +> Fast, scalable, user-friendly, open-source build and developer workflow tool. +> More information: . + +- List all targets: + +`pants list ::` + +- Run all tests: + +`pants test ::` + +- Fix, format, and lint only uncommitted files: + +`pants --changed-since=HEAD fix fmt lint` + +- Typecheck only uncommitted files and their dependents: + +`pants --changed-since=HEAD --changed-dependents=transitive check` + +- Create a distributable package for the specified target: + +`pants package {{path/to/directory:target-name}}` + +- Auto-generate BUILD file targets for new source files: + +`pants tailor ::` + +- Display help: + +`pants help` diff --git a/pages/common/paperkey.md b/pages/common/paperkey.md new file mode 100644 index 00000000000000..73ed52a03436c7 --- /dev/null +++ b/pages/common/paperkey.md @@ -0,0 +1,16 @@ +# paperkey + +> An OpenPGP key archiver. +> More information: . + +- Take a specific secret key and generate a text file with the secret data: + +`paperkey --secret-key {{path/to/secret_key.gpg}} --output {{path/to/secret_data.txt}}` + +- Take the secret key data in `secret_data.txt` and combine it with the public key to reconstruct the secret key: + +`paperkey --pubring {{path/to/public_key.gpg}} --secrets {{path/to/secret_data.txt}} --output {{secret_key.gpg}}` + +- Export a specific secret key and generate a text file with the secret data: + +`gpg --export-secret-key {{key}} | paperkey --output {{path/to/secret_data.txt}}` diff --git a/pages/common/papermc.md b/pages/common/papermc.md new file mode 100644 index 00000000000000..04ee36f25b979b --- /dev/null +++ b/pages/common/papermc.md @@ -0,0 +1,28 @@ +# papermc + +> Manage a Minecraft server. +> More information: . + +- Start a server: + +`papermc start` + +- Stop a server: + +`papermc stop` + +- Restart a server: + +`papermc restart` + +- Backup a world: + +`papermc backup` + +- Restore world data from a backup: + +`papermc restore {{path/to/file}}` + +- Display help: + +`papermc` diff --git a/pages/common/par2.md b/pages/common/par2.md new file mode 100644 index 00000000000000..0535c782acbd65 --- /dev/null +++ b/pages/common/par2.md @@ -0,0 +1,20 @@ +# par2 + +> File verification and repair using PAR 2.0 compatible parity archives (.par2 files). +> More information: . + +- Create a parity archive with a set percentage level of redundancy: + +`par2 create -r{{1..100}} -- {{path/to/file}}` + +- Create a parity archive with a chosen number of volume files (in addition to the index file): + +`par2 create -n{{1..32768}} -- {{path/to/file}}` + +- Verify a file with a parity archive: + +`par2 verify -- {{path/to/file.par2}}` + +- Repair a file with a parity archive: + +`par2 repair -- {{path/to/file.par2}}` diff --git a/pages/common/parallel-lint.md b/pages/common/parallel-lint.md index b9f695eff5a528..e0ca05e094e3a5 100644 --- a/pages/common/parallel-lint.md +++ b/pages/common/parallel-lint.md @@ -1,6 +1,6 @@ # parallel-lint -> A tool to check the syntax of PHP files in parallel. +> Check the syntax of PHP files in parallel. > More information: . - Lint a specific directory: diff --git a/pages/common/parallel.md b/pages/common/parallel.md index b9aab9a96f2903..ee80b6c061cd77 100644 --- a/pages/common/parallel.md +++ b/pages/common/parallel.md @@ -1,17 +1,17 @@ # parallel > Run commands on multiple CPU cores. -> More information: . +> More information: . - Gzip several files at once, using all cores: -`parallel gzip ::: {{file1}} {{file2}} {{file3}}` +`parallel gzip ::: {{path/to/file1 path/to/file2 ...}}` - Read arguments from `stdin`, run 4 jobs at once: -`ls *.txt | parallel -j4 gzip` +`ls *.txt | parallel {{[-j|--jobs]}} 4 gzip` -- Convert JPG images to PNG using replacement strings: +- Convert JPEG images to PNG using replacement strings: `parallel convert {} {.}.png ::: *.jpg` @@ -19,10 +19,18 @@ `{{args}} | parallel -X {{command}}` -- Break stdin into ~1M blocks, feed each block to `stdin` of new command: +- Break `stdin` into ~1M blocks, feed each block to `stdin` of new command: `cat {{big_file.txt}} | parallel --pipe --block 1M {{command}}` - Run on multiple machines via SSH: -`parallel -S {{machine1}},{{machine2}} {{command}} ::: {{arg1}} {{arg2}}` +`parallel {{[-S|--sshlogin]}} {{machine1}},{{machine2}} {{command}} ::: {{arg1}} {{arg2}}` + +- Download 4 files simultaneously from a text file containing links showing progress: + +`parallel {{[-j|--jobs]}} 4 --bar --eta wget {{[-q|--quote]}} {} :::: {{path/to/links.txt}}` + +- Print the jobs which `parallel` is running in `stderr`: + +`parallel {{[-t|--verbose]}} {{command}} ::: {{args}}` diff --git a/pages/common/parquet-tools.md b/pages/common/parquet-tools.md index 29e05e15cd6acb..e6f901b057c550 100644 --- a/pages/common/parquet-tools.md +++ b/pages/common/parquet-tools.md @@ -1,7 +1,7 @@ # parquet-tools -> A tool to show, inspect and manipulate Parquet file. -> More information: . +> Show, inspect and manipulate Parquet file. +> More information: . - Display the content of a Parquet file: diff --git a/pages/common/particle.md b/pages/common/particle.md index 35b2563552c320..993e09bad8f484 100644 --- a/pages/common/particle.md +++ b/pages/common/particle.md @@ -1,6 +1,6 @@ # particle -> A command-line tool for interacting with Particle devices. +> Interact with Particle devices. > More information: . - Log in or create an account for the Particle CLI: diff --git a/pages/common/pass-otp.md b/pages/common/pass-otp.md index 4baf4bd08d00c0..f86bb502120588 100644 --- a/pages/common/pass-otp.md +++ b/pages/common/pass-otp.md @@ -1,7 +1,7 @@ # pass otp > A pass extension for managing one-time-password (OTP) tokens. -> More information: . +> More information: . - Prompt for an otpauth URI token and create a new pass file: @@ -17,12 +17,12 @@ - Copy and don't print a 2FA code using the OTP token in a pass file: -`pass otp --clip {{path/to/pass}}` +`pass otp {{[-c|--clip]}} {{path/to/pass}}` - Display a QR code using the OTP token stored in a pass file: -`pass otp uri --qrcode {{path/to/pass}}` +`pass otp uri {{[-q|--qrcode]}} {{path/to/pass}}` - Prompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file: -`pass otp append --secret --issuer {{issuer_name}} --account {{account_name}} {{path/to/pass}}` +`pass otp append {{[-s|--secret]}} {{[-i|--issuer]}} {{issuer_name}} {{[-a|--account]}} {{account_name}} {{path/to/pass}}` diff --git a/pages/common/pass.md b/pages/common/pass.md index eecdafcfa6d904..8f921fd86085e6 100644 --- a/pages/common/pass.md +++ b/pages/common/pass.md @@ -1,6 +1,6 @@ # pass -> Tool for storing and reading passwords or other sensitive data. +> Store and read passwords or other sensitive data. > All data is GPG-encrypted, and managed with a Git repository. > More information: . @@ -8,9 +8,9 @@ `pass init {{gpg_id_1}} {{gpg_id_2}}` -- Save a new password and additional information (press Ctrl + D on a new line to complete): +- Save a new password and additional information (press `` on a new line to complete): -`pass insert --multiline {{path/to/data}}` +`pass insert {{[-m|--multiline]}} {{path/to/data}}` - Edit an entry: @@ -18,7 +18,7 @@ - Copy a password (first line of the data file) to the clipboard: -`pass -c {{path/to/data}}` +`pass {{[-c|--clip]}} {{path/to/data}}` - List the whole store tree: @@ -26,8 +26,12 @@ - Generate a new random password with a given length, and copy it to the clipboard: -`pass generate -c {{path/to/data}} {{num}}` +`pass generate {{[-c|--clip]}} {{path/to/data}} {{num}}` - Initialize a new Git repository (any changes done by pass will be committed automatically): `pass git init` + +- Run a Git command on behalf of the password storage: + +`pass git {{command}}` diff --git a/pages/common/passwd.md b/pages/common/passwd.md index e18df872ed2944..3b5003efc8cf49 100644 --- a/pages/common/passwd.md +++ b/pages/common/passwd.md @@ -1,23 +1,24 @@ # passwd -> Passwd is a tool used to change a user's password. +> Change a user's password. +> More information: . - Change the password of the current user interactively: `passwd` -- Change the password of the current user: +- Change the password of a specific user: -`passwd {{new_password}}` - -- Change the password of the specified user: - -`passwd {{username}} {{new_password}}` +`passwd {{username}}` - Get the current status of the user: -`passwd -S` +`passwd {{[-S|--status]}}` - Make the password of the account blank (it will set the named account passwordless): -`passwd -d` +`passwd {{[-d|--delete]}}` + +- Set password programmatically (ideal for install scripts): + +`yes {{password}} | passwd` diff --git a/pages/common/paste.md b/pages/common/paste.md index 454ba2a6f351fe..19d8883e41b681 100644 --- a/pages/common/paste.md +++ b/pages/common/paste.md @@ -1,23 +1,24 @@ # paste > Merge lines of files. +> More information: . - Join all the lines into a single line, using TAB as delimiter: -`paste -s {{file}}` +`paste {{[-s|--serial]}} {{path/to/file}}` - Join all the lines into a single line, using the specified delimiter: -`paste -s -d {{delimiter}} {{file}}` +`paste {{[-sd|--serial --delimiters]}} {{delimiter}} {{path/to/file}}` - Merge two files side by side, each in its column, using TAB as delimiter: -`paste {{file1}} {{file2}}` +`paste {{path/to/file1}} {{path/to/file2}}` - Merge two files side by side, each in its column, using the specified delimiter: -`paste -d {{delimiter}} {{file1}} {{file2}}` +`paste {{[-d|--delimiters]}} {{delimiter}} {{path/to/file1}} {{path/to/file2}}` - Merge two files, with lines added alternatively: -`paste -d '\n' {{file1}} {{file2}}` +`paste {{[-d|--delimiters]}} '\n' {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/pastel.md b/pages/common/pastel.md index e519b7e207604c..c97160256f7356 100644 --- a/pages/common/pastel.md +++ b/pages/common/pastel.md @@ -19,6 +19,6 @@ `pastel distinct {{8}}` -- Get a list of all X11 / CSS color names: +- List all X11/CSS color names: `pastel list` diff --git a/pages/common/patator.md b/pages/common/patator.md new file mode 100644 index 00000000000000..51df5e124c342a --- /dev/null +++ b/pages/common/patator.md @@ -0,0 +1,28 @@ +# patator + +> A multi-purpose brute-forcer, with a modular design and a flexible usage. +> More information: . + +- Brute force ssh login with rate limit and timeout options (successful login will show login banner or something similar): + +`patator ssh_login host={{ip_or_host}} user=FILE0 password=FILE1 0={{path/to/users.txt}} 1={{path/to/passwords.txt}} --rate_limit={{seconds}} --timeout={{seconds}} -x ignore:mesg='Authentication failed.'` + +- Brute force encrypted zip file: + +`patator unzip_pass zipfile={{path/to/file.zip}} password=FILE0 0={{path/to/passwords.txt}} -x ignore:code!=0` + +- Brute force http basic auth (payload file `userpass.txt` should be in the format `username:password`): + +`patator http_fuzz url={{http://host:port}} auth_type=basic user_pass=COMBO00:COMBO01 0={{path/to/userpass.txt}} -x ignore:code=401` + +- Brute force FTP/FTPS login: + +`patator ftp_login host={{ip_or_host}} user=FILE0 password=FILE1 0={{path/to/users.txt}} 1={{path/to/passwords.txt}} tls={{0|1}} -x ignore:mesg='Login incorrect.' -x ignore,reset,retry:code=500` + +- List all available modules: + +`patator --help` + +- Display help for a particular module: + +`patator {{module_name}} --help` diff --git a/pages/common/patch.md b/pages/common/patch.md index 8a92246d50cbe2..f36154967d528a 100644 --- a/pages/common/patch.md +++ b/pages/common/patch.md @@ -2,6 +2,7 @@ > Patch a file (or files) with a diff file. > Note that diff files should be generated by the `diff` command. +> More information: . - Apply a patch using a diff file (filenames must be included in the diff file): @@ -9,16 +10,16 @@ - Apply a patch to a specific file: -`patch {{path/to/file}} < {{patch.diff}}` +`patch < {{patch.diff}} {{path/to/file}}` - Patch a file writing the result to a different file: -`patch {{path/to/input_file}} -o {{path/to/output_file}} < {{patch.diff}}` +`patch < {{patch.diff}} {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}` - Apply a patch to the current directory: -`patch -p1 < {{patch.diff}}` +`patch < {{patch.diff}} {{[-p|--strip]}} 1` - Apply the reverse of a patch: -`patch -R < {{patch.diff}}` +`patch < {{patch.diff}} {{[-R|--reverse]}}` diff --git a/pages/common/patchwork.md b/pages/common/patchwork.md new file mode 100644 index 00000000000000..bb2ef2c5b39a13 --- /dev/null +++ b/pages/common/patchwork.md @@ -0,0 +1,25 @@ +# patchwork + +> Render an image of a `squareified treemap` network graph from a `graphviz` file. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> More information: . + +- Render a PNG image with a filename based on the input filename and output format (uppercase -O): + +`patchwork -T {{png}} -O {{path/to/input.gv}}` + +- Render a SVG image with the specified output filename (lowercase -o): + +`patchwork -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}` + +- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format: + +`patchwork -T {{format}} -O {{path/to/input.gv}}` + +- Render a `gif` image using `stdin` and `stdout`: + +`echo "{{digraph {this -> that} }}" | patchwork -T {{gif}} > {{path/to/image.gif}}` + +- Display help: + +`patchwork -?` diff --git a/pages/common/pathchk.md b/pages/common/pathchk.md index 5ce0067ca532da..d045af59bd0a92 100644 --- a/pages/common/pathchk.md +++ b/pages/common/pathchk.md @@ -1,19 +1,20 @@ # pathchk -> Check the validity and portability of one or more pathnames. +> Check the validity and portability of pathnames. +> More information: . -- Check pathames for validity in the current system: +- Check pathnames for validity in the current system: -`pathchk {{path1 path2 …}}` +`pathchk {{path1 path2 ...}}` - Check pathnames for validity on a wider range of POSIX compliant systems: -`pathchk -p {{path1 path2 …}}` +`pathchk -p {{path1 path2 ...}}` - Check pathnames for validity on all POSIX compliant systems: -`pathchk --portability {{path1 path2 …}}` +`pathchk {{[-p -P|--portability]}} {{path1 path2 ...}}` - Only check for empty pathnames or leading dashes (-): -`pathchk -P {{path1 path2 …}}` +`pathchk -P {{path1 path2 ...}}` diff --git a/pages/common/pax.md b/pages/common/pax.md index 6a0c7e612ceef5..ff1ac7cab7d602 100644 --- a/pages/common/pax.md +++ b/pages/common/pax.md @@ -1,22 +1,23 @@ # pax > Archiving and copying utility. +> More information: . - List the contents of an archive: `pax -f {{archive.tar}}` -- List the contents of a gzipped archive: +- List the contents of a `gzip` archive: `pax -zf {{archive.tar.gz}}` - Create an archive from files: -`pax -wf {{target.tar}} {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}` +`pax -wf {{target.tar}} {{path/to/file1 path/to/file2 ...}}` - Create an archive from files, using output redirection: -`pax -w {{path/to/file1}} {{path/to/file2}} {{path/to/file3}} > {{target.tar}}` +`pax -w {{path/to/file1 path/to/file2 ...}} > {{target.tar}}` - Extract an archive into the current directory: @@ -24,4 +25,4 @@ - Copy to a directory, while keeping the original metadata; `target/` must exist: -`pax -rw {{path/to/file1}} {{path/to/directory1}} {{path/to/directory2}} {{target/}}` +`pax -rw {{path/to/file1}} {{path/to/directory1 path/to/directory2 ...}} {{target/}}` diff --git a/pages/common/pbmclean.md b/pages/common/pbmclean.md new file mode 100644 index 00000000000000..c95ec58939eae5 --- /dev/null +++ b/pages/common/pbmclean.md @@ -0,0 +1,16 @@ +# pbmclean + +> Clean up a PBM image by erasing isolated black and white pixels. +> More information: . + +- Clean up a PBM image by erasing isolated black and white pixels: + +`pbmclean {{path/to/image.pbm}} > {{path/to/output.pbm}}` + +- Clean up only black/white pixels: + +`pbmclean -{{black|white}} {{path/to/image.pbm}} > {{path/to/output.pbm}}` + +- Specify the minimum number of neighbouring pixels of the same color in order for a pixel not to be considered isolated: + +`pbmclean {{[-m|-minneighbours]}} {{3}} {{path/to/image.pbm}} > {{path/to/output.pbm}}` diff --git a/pages/common/pbmlife.md b/pages/common/pbmlife.md new file mode 100644 index 00000000000000..a5f1c350b75953 --- /dev/null +++ b/pages/common/pbmlife.md @@ -0,0 +1,12 @@ +# pbmlife + +> Apply Conway's Rules of Life to a PBM image. +> More information: . + +- Apply the Rules of Life to an input PBM image file for one generation and the output the result as a PBM image file: + +`pbmlife {{path/to/file.pbm}}` + +- Display version: + +`pbmlife {{[-v|-version]}}` diff --git a/pages/common/pbmmake.md b/pages/common/pbmmake.md new file mode 100644 index 00000000000000..523009273839a2 --- /dev/null +++ b/pages/common/pbmmake.md @@ -0,0 +1,12 @@ +# pbmmake + +> Create a blank bitmap. +> More information: . + +- Create a blank bitmap of the specified dimensions: + +`pbmmake {{width}} {{height}} > {{path/to/output_file.pbm}}` + +- Specify the color of the created bitmap: + +`pbmmake -{{white|black|grey}} {{width}} {{height}} > {{path/to/output_file.pbm}}` diff --git a/pages/common/pbmmask.md b/pages/common/pbmmask.md new file mode 100644 index 00000000000000..9986603630c932 --- /dev/null +++ b/pages/common/pbmmask.md @@ -0,0 +1,13 @@ +# pbmmask + +> Create a mask bitmap from a regular bitmap. +> See also: `pambackground`. +> More information: . + +- Create a mask bitmap separating background from foreground: + +`pbmmask {{path/to/image.pbm}} > {{path/to/output.pbm}}` + +- Expand the generated mask by one pixel: + +`pbmmask {{[-r|-expand]}} {{path/to/image.pbm}} > {{path/to/output.pbm}}` diff --git a/pages/common/pbmnoise.md b/pages/common/pbmnoise.md new file mode 100644 index 00000000000000..d60e5b69a4b001 --- /dev/null +++ b/pages/common/pbmnoise.md @@ -0,0 +1,16 @@ +# pbmnoise + +> Generate white noise. +> More information: . + +- Generate a PGM image containing white noise: + +`pbmnoise {{width}} {{height}} > {{path/to/output.pbm}}` + +- Specify the seed for the pseudo-random number generator: + +`pbmnoise {{width}} {{height}} -randomseed {{value}} > {{path/to/output.pbm}}` + +- Specify the desired rate of white to black pixels: + +`pbmnoise {{width}} {{height}} -ratio {{1/3}} > {{path/to/output.pbm}}` diff --git a/pages/common/pbmpage.md b/pages/common/pbmpage.md new file mode 100644 index 00000000000000..1a87dd0a21dd90 --- /dev/null +++ b/pages/common/pbmpage.md @@ -0,0 +1,16 @@ +# pbmpage + +> Generate a test pattern for printing. +> More information: . + +- Generate a test pattern for printing onto US standard paper: + +`pbmpage > {{path/to/file.pbm}}` + +- Generate a test pattern for printing onto A4 paper: + +`pbmpage -a4 > {{path/to/file.pbm}}` + +- Specify the pattern to use: + +`pbmpage {{1|2|3}} > {{path/to/file.pbm}}` diff --git a/pages/common/pbmpscale.md b/pages/common/pbmpscale.md new file mode 100644 index 00000000000000..bd55f863ca02be --- /dev/null +++ b/pages/common/pbmpscale.md @@ -0,0 +1,9 @@ +# pbmpscale + +> Enlarge a PBM image with edge smoothing. +> See also: `pamenlarge`. +> More information: . + +- Enlarge a PBM image by the specified factor with edge smoothing: + +`pbmpscale {{n}} {{path/to/image.pbm}} > {{path/to/file.pbm}}` diff --git a/pages/common/pbmreduce.md b/pages/common/pbmreduce.md new file mode 100644 index 00000000000000..de919e7a18bbb9 --- /dev/null +++ b/pages/common/pbmreduce.md @@ -0,0 +1,17 @@ +# pbmreduce + +> Proportionally reduce a PBM image. +> See also: `pamenlarge`, `pamditherbw`. +> More information: . + +- Reduce the specified image by the specified factor: + +`pbmreduce {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}` + +- Use simple thresholding when reducing: + +`pbmreduce {{[-t|-threshold]}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}` + +- Use the specified threshold for all quantizations: + +`pbmreduce {{[-va|-value]}} {{0.6}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}` diff --git a/pages/common/pbmtext.md b/pages/common/pbmtext.md new file mode 100644 index 00000000000000..42534b1c2485d2 --- /dev/null +++ b/pages/common/pbmtext.md @@ -0,0 +1,21 @@ +# pbmtext + +> Render text as a PBM image. +> See also: `pbmtextps`. +> More information: . + +- Render a single line of text as a PBM image: + +`pbmtext "{{Hello World!}}" > {{path/to/output.pbm}}` + +- Render multiple lines of text as a PBM image: + +`echo "{{Hello\nWorld!}}" | pbmtext > {{path/to/output.pbm}}` + +- Render text using a custom font supplied as a PBM file: + +`pbmtext {{[-f|-font]}} {{path/to/font.pbm}} "{{Hello World!}}" > {{path/to/output.pbm}}` + +- Specify the number of pixels between characters and lines: + +`echo "{{Hello\nWorld!}}" | pbmtext {{[-s|-space]}} {{3}} {{[-ls|-lspace]}} {{10}} > {{path/to/output.pbm}}` diff --git a/pages/common/pbmtextps.md b/pages/common/pbmtextps.md new file mode 100644 index 00000000000000..349ae847dfc750 --- /dev/null +++ b/pages/common/pbmtextps.md @@ -0,0 +1,21 @@ +# pbmtextps + +> Render text as a PBM image using PostScript. +> See also: `pbmtext`. +> More information: . + +- Render a single line of text as a PBM image: + +`pbmtextps "{{Hello World!}}" > {{path/to/output.pbm}}` + +- Specify the font and font size: + +`pbmtextps -font {{Times-Roman}} -fontsize {{30}} "{{Hello World!}}" > {{path/to/output.pbm}}` + +- Specify the desired left and top margins: + +`pbmtextps {{[-l|-leftmargin]}} {{70}} {{[-t|-topmargin]}} {{162}} "{{Hello World!}}" > {{path/to/output.pbm}}` + +- Do not output the rendered text as a PBM image, but a PostScript program that would create this image: + +`pbmtextps {{[-du|-dump-ps]}} "{{Hello World!}}" > {{path/to/output.ps}}` diff --git a/pages/common/pbmto4425.md b/pages/common/pbmto4425.md new file mode 100644 index 00000000000000..95a47bbe250b5e --- /dev/null +++ b/pages/common/pbmto4425.md @@ -0,0 +1,9 @@ +# pbmto4425 + +> Display a PBM image on an AT&T 4425 terminal. +> See also: `ppmtoterm`, `pbmtoascii`. +> More information: . + +- Display a PBM image on an AT&T 4425 terminal using the terminal's mosaic graphics character set: + +`pbmto4425 {{path/to/image.pbm}}` diff --git a/pages/common/pbmtoascii.md b/pages/common/pbmtoascii.md new file mode 100644 index 00000000000000..a650719ff0a8e8 --- /dev/null +++ b/pages/common/pbmtoascii.md @@ -0,0 +1,21 @@ +# pbmtoascii + +> Convert a PBM image to ASCII graphics. +> See also: `ppmtoascii`, `asciitopgm`, `ppmtoterm`. +> More information: . + +- Read a PBM file as input and produce an ASCII output: + +`pbmtoascii {{path/to/input_file.pbm}}` + +- Read a PBM file as input and save an ASCII output into a file: + +`pbmtoascii {{path/to/input_file.pbm}} > {{path/to/output_file}}` + +- Read a PBM file as input while setting the pixel mapping (defaults to 1x2): + +`pbmtoascii -{{1x2|2x4}} {{path/to/input_file.pbm}}` + +- Display version: + +`pbmtoascii {{[-v|-version]}}` diff --git a/pages/common/pbmtoatk.md b/pages/common/pbmtoatk.md new file mode 100644 index 00000000000000..bc574e47b4936e --- /dev/null +++ b/pages/common/pbmtoatk.md @@ -0,0 +1,9 @@ +# pbmtoatk + +> Convert a PBM image to an Andrew Toolkit raster object. +> See also: `atktopbm`. +> More information: . + +- Convert a PBM image to an Andrew Toolkit raster object: + +`pbmtoatk {{path/to/image.pbm}} > {{path/to/output.atk}}` diff --git a/pages/common/pbmtobbnbg.md b/pages/common/pbmtobbnbg.md new file mode 100644 index 00000000000000..494413c96c7d37 --- /dev/null +++ b/pages/common/pbmtobbnbg.md @@ -0,0 +1,12 @@ +# pbmtobbnbg + +> Convert a PBM image to a BitGraph graphic. +> More information: . + +- Convert a PBM image to a BitGraph terminal Display Pixel Data sequence: + +`pbmtobbnbg < {{path/to/image.pbm}} > {{path/to/output.dpd}}` + +- Specify the rasterop: + +`pbmtobbnbg < {{path/to/image.pbm}} {{3}} > {{path/to/output.dpd}}` diff --git a/pages/common/pbmtocmuwm.md b/pages/common/pbmtocmuwm.md new file mode 100644 index 00000000000000..c97871ae2c9ca1 --- /dev/null +++ b/pages/common/pbmtocmuwm.md @@ -0,0 +1,9 @@ +# pbmtocmuwm + +> Convert a PBM image to a CMU window manager bitmap. +> See also: `cmuwmtopbm`. +> More information: . + +- Convert a PBM image to a CMU window manager bitmap: + +`pbmtocmuwm {{path/to/image.pbm}} > {{path/to/output.bmp}}` diff --git a/pages/common/pbmtoepsi.md b/pages/common/pbmtoepsi.md new file mode 100644 index 00000000000000..2af2d703c7ff6f --- /dev/null +++ b/pages/common/pbmtoepsi.md @@ -0,0 +1,20 @@ +# pbmtoepsi + +> Convert a PBM image to an encapsulated PostScript style preview bitmap. +> More information: . + +- Convert a PBM image to an encapsulated PostScript style preview bitmap: + +`pbmtoepsi {{path/to/image.pbm}} > {{path/to/output.bmp}}` + +- Produce a quadratic output image with the specified resolution: + +`pbmtoepsi {{[-d|-dpi]}} {{144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}` + +- Produce an output image with the specified horizontal and vertical resolution: + +`pbmtoepsi {{[-d|-dpi]}} {{72x144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}` + +- Only create a boundary box: + +`pbmtoepsi {{[-b|-bbonly]}} {{path/to/image.pbm}} > {{path/to/output.bmp}}` diff --git a/pages/common/pbmtoepson.md b/pages/common/pbmtoepson.md new file mode 100644 index 00000000000000..936a2ad65166c1 --- /dev/null +++ b/pages/common/pbmtoepson.md @@ -0,0 +1,17 @@ +# pbmtoepson + +> Convert a PBM image to an Epson printer graphic. +> See also: `pbmtoescp2`. +> More information: . + +- Convert a PBM image to an Epson printer graphic: + +`pbmtoepson {{path/to/image.pbm}} > {{path/to/output.epson}}` + +- Specify the printer protocol of the output: + +`pbmtoepson {{[-pr|-protocol]}} {{escp9|escp}} {{path/to/image.pbm}} > {{path/to/output.epson}}` + +- Specify the horizontal DPI of the output: + +`pbmtoepson {{[-d|-dpi]}} {{60|72|80|90|120|144|240}} {{path/to/image.pbm}} > {{path/to/output.epson}}` diff --git a/pages/common/pbmtoescp2.md b/pages/common/pbmtoescp2.md new file mode 100644 index 00000000000000..b6a93903177983 --- /dev/null +++ b/pages/common/pbmtoescp2.md @@ -0,0 +1,21 @@ +# pbmtoescp2 + +> Convert a PBM image to a ESC/P2 printer file. +> See also: `pbmtoepson`, `escp2topbm`. +> More information: . + +- Convert a PBM image to a ESC/P2 printer file: + +`pbmtoescp2 {{path/to/image.pbm}} > {{path/to/output.escp2}}` + +- Specify the compression of the output: + +`pbmtoescp2 {{[-c|-compression]}} {{0|1}} {{path/to/image.pbm}} > {{path/to/output.escp2}}` + +- Specify the horizontal and vertical resolution of the output in dots per inch: + +`pbmtoescp2 {{[-re|-resolution]}} {{180|360|720}} {{path/to/image.pbm}} > {{path/to/output.escp2}}` + +- Place a formfeed command at the end of the output: + +`pbmtoescp2 {{[-f|-formfeed]}} {{path/to/image.pbm}} > {{path/to/output.escp2}}` diff --git a/pages/common/pbmtogem.md b/pages/common/pbmtogem.md new file mode 100644 index 00000000000000..eee3168eea068c --- /dev/null +++ b/pages/common/pbmtogem.md @@ -0,0 +1,17 @@ +# pbmtogem + +> Read a PBM image as input and produce a compressed GEM .img file as output. +> `pbmtogem` cannot compress repeated lines. +> More information: . + +- Convert a PBM image into a GEM .img file: + +`pbmtogem {{path/to/file.pbm}} > {{path/to/file.img}}` + +- Suppress all informational messages: + +`pbmtogem {{[-q|-quiet]}}` + +- Display version: + +`pbmtogem {{[-v|-version]}}` diff --git a/pages/common/pbmtogo.md b/pages/common/pbmtogo.md new file mode 100644 index 00000000000000..c808a90f39c936 --- /dev/null +++ b/pages/common/pbmtogo.md @@ -0,0 +1,8 @@ +# pbmtogo + +> Convert a PBM image to a compressed GraphOn graphic. +> More information: . + +- Convert a PBM image to a compressed GraphOn graphic: + +`pbmtogo {{path/to/image.pbm}} > {{path/to/output.go}}` diff --git a/pages/common/pbmtoicon.md b/pages/common/pbmtoicon.md new file mode 100644 index 00000000000000..a5c7eecd1d74ed --- /dev/null +++ b/pages/common/pbmtoicon.md @@ -0,0 +1,8 @@ +# pbmtoicon + +> This command has been superseded by `pbmtosunicon`. +> More information: . + +- View documentation for the current command: + +`tldr pbmtosunicon` diff --git a/pages/common/pbmtolj.md b/pages/common/pbmtolj.md new file mode 100644 index 00000000000000..87ccb6b3db726b --- /dev/null +++ b/pages/common/pbmtolj.md @@ -0,0 +1,16 @@ +# pbmtolj + +> Convert a PBM file to an HP LaserJet file. +> More information: . + +- Convert a PBM file to an HP LaserJet file: + +`pbmtolj {{path/to/input.pbm}} > {{path/to/output.lj}}` + +- Compress the output file using the specified method: + +`pbmtolj -{{packbits|delta|compress}} {{path/to/input.pbm}} > {{path/to/output.lj}}` + +- Specify the required resolution: + +`pbmtolj {{[-r|-resolution]}} {{75|100|150|300|600}} {{path/to/input.pbm}} > {{path/to/output.lj}}` diff --git a/pages/common/pbmtomacp.md b/pages/common/pbmtomacp.md new file mode 100644 index 00000000000000..4b8cf43f071c70 --- /dev/null +++ b/pages/common/pbmtomacp.md @@ -0,0 +1,13 @@ +# pbmtomacp + +> Convert a PBM image to a MacPaint file. +> See also: `macptopbm`. +> More information: . + +- Convert a PBM image to a MACP file: + +`pbmtomacp {{path/to/image.pbm}} > {{path/to/output.macp}}` + +- Do not compress the output file: + +`pbmtomacp {{[-n|-norle]}} {{path/to/image.pbm}} > {{path/to/output.macp}}` diff --git a/pages/common/pbmtomda.md b/pages/common/pbmtomda.md new file mode 100644 index 00000000000000..e743c16b44d09a --- /dev/null +++ b/pages/common/pbmtomda.md @@ -0,0 +1,17 @@ +# pbmtomda + +> Convert a PBM image to a Microdesign MDA file. +> See also: `mdatopbm`. +> More information: . + +- Convert a PBM image to a MDA file: + +`pbmtomda {{path/to/image.pbm}} > {{path/to/output.mda}}` + +- Invert the colors in the input image: + +`pbmtomda -i {{path/to/image.pbm}} > {{path/to/output.mda}}` + +- Halve the input image's height: + +`pbmtomda -d {{path/to/image.pbm}} > {{path/to/output.mda}}` diff --git a/pages/common/pbmtomgr.md b/pages/common/pbmtomgr.md new file mode 100644 index 00000000000000..1cceb07acd803b --- /dev/null +++ b/pages/common/pbmtomgr.md @@ -0,0 +1,9 @@ +# pbmtomgr + +> Convert a PBM image into a MGR bitmap. +> See also: `mgrtopbm`. +> More information: . + +- Convert a PBM image into a MGR bitmap: + +`pbmtomgr {{path/to/image.pbm}} > {{path/to/output.mgr}}` diff --git a/pages/common/pbmtonokia.md b/pages/common/pbmtonokia.md new file mode 100644 index 00000000000000..6d640d57a53245 --- /dev/null +++ b/pages/common/pbmtonokia.md @@ -0,0 +1,28 @@ +# pbmtonokia + +> Convert a PBM image to one of Nokia's Smart Messaging Formats . +> More information: . + +- Convert a PBM image into a Nokia Operator Logo as hexcode: + +`pbmtonokia {{[-f|-fmt]}} NEX_NOL -net {{network_operator_code}} {{path/to/image.pbm}} > {{path/to/output.hex}}` + +- Convert a PBM image into a Nokia Group Graphic as hexcode: + +`pbmtonokia {{[-f|-fmt]}} NEX_NGG {{path/to/image.pbm}} > {{path/to/output.hex}}` + +- Convert a PBM image into a Nokia Picture Message with the specified text as hexcode: + +`pbmtonokia {{[-f|-fmt]}} NEX_NPM -txt {{text_message}} {{path/to/image.pbm}} > {{path/to/output.hex}}` + +- Convert a PBM image into a Nokia Operator Logo as a NOL file: + +`pbmtonokia {{[-f|-fmt]}} NOL {{path/to/image.pbm}} > {{path/to/output.nol}}` + +- Convert a PBM image into a Nokia Group Graphic as an NGG file: + +`pbmtonokia {{[-f|-fmt]}} NGG {{path/to/image.pbm}} > {{path/to/output.ngg}}` + +- Convert a PBM image into a Nokia Picture Message as an NPM file: + +`pbmtonokia {{[-f|-fmt]}} NPM {{path/to/image.pbm}} > {{path/to/output.npm}}` diff --git a/pages/common/pbmtopgm.md b/pages/common/pbmtopgm.md new file mode 100644 index 00000000000000..aca7849c8658f5 --- /dev/null +++ b/pages/common/pbmtopgm.md @@ -0,0 +1,9 @@ +# pbmtopgm + +> Convert a PBM image to PGM by averaging areas surrounding individual pixels. +> See also: `pnmconvol`, `pamditherbw`. +> More information: . + +- Convert PBM image to PGM by averaging the `w`x`h`-sized area surrounding each pixel: + +`pbmtopgm {{w}} {{h}} {{path/to/image.pbm}} > {{path/to/output.pgm}}` diff --git a/pages/common/pbmtopi3.md b/pages/common/pbmtopi3.md new file mode 100644 index 00000000000000..66d6d8d123423a --- /dev/null +++ b/pages/common/pbmtopi3.md @@ -0,0 +1,9 @@ +# pbmtopi3 + +> Convert a PBM image to an Atari Degas PI3 image. +> See also: `pi3topbm`. +> More information: . + +- Convert a PBM image to an Atari Degas PI3 image: + +`pbmtopi3 {{path/to/image.pbm}} > {{path/to/atari_image.pi3}}` diff --git a/pages/common/pbmtoplot.md b/pages/common/pbmtoplot.md new file mode 100644 index 00000000000000..77fe6df6f10ae9 --- /dev/null +++ b/pages/common/pbmtoplot.md @@ -0,0 +1,8 @@ +# pbmtoplot + +> Convert a PBM image into a UNIX plot file. +> More information: . + +- Convert a PBM image into a UNIX plot file: + +`pbmtoplot {{path/to/image.pbm}} > {{path/to/output.plot}}` diff --git a/pages/common/pbmtoppa.md b/pages/common/pbmtoppa.md new file mode 100644 index 00000000000000..2d3da8a6bea84d --- /dev/null +++ b/pages/common/pbmtoppa.md @@ -0,0 +1,12 @@ +# pbmtoppa + +> Convert a PBM image to HP Printer Performance Architecture format. +> More information: . + +- Convert a PBM image into a PPA file: + +`pbmtoppa {{path/to/image.pbm}} > {{path/to/output.ppa}}` + +- Specify the desired dots-per-inch and paper size: + +`pbmtoppa -d {{300}} -s {{a4}} {{path/to/image.pbm}} > {{path/to/output.ppa}}` diff --git a/pages/common/pbmtoptx.md b/pages/common/pbmtoptx.md new file mode 100644 index 00000000000000..5fe54bb33b0a9d --- /dev/null +++ b/pages/common/pbmtoptx.md @@ -0,0 +1,8 @@ +# pbmtoptx + +> Convert a PBM image into Printronix printer graphics. +> More information: . + +- Convert a PBM image into a PTX file: + +`pbmtoptx {{path/to/image.pbm}} > {{path/to/output.ptx}}` diff --git a/pages/common/pbmtosunicon.md b/pages/common/pbmtosunicon.md new file mode 100644 index 00000000000000..dc0d5ac7ead68a --- /dev/null +++ b/pages/common/pbmtosunicon.md @@ -0,0 +1,8 @@ +# pbmtosunicon + +> Convert a PBM image into a Sun icon. +> More information: . + +- Convert a PBM image into a Sun icon: + +`pbmtosunicon {{path/to/input.pbm}} > {{path/to/output.ico}}` diff --git a/pages/common/pbmtowbmp.md b/pages/common/pbmtowbmp.md new file mode 100644 index 00000000000000..6cb3a1dd743dcd --- /dev/null +++ b/pages/common/pbmtowbmp.md @@ -0,0 +1,8 @@ +# pbmtowbmp + +> Convert a PBM image to a wireless bitmap file. +> More information: . + +- Convert a PBM image to a WBMP file: + +`pbmtowbmp {{path/to/input_file.pbm}} > {{path/to/output_file.wbmp}}` diff --git a/pages/common/pbmtox10bm.md b/pages/common/pbmtox10bm.md new file mode 100644 index 00000000000000..7ecedd60aafc6c --- /dev/null +++ b/pages/common/pbmtox10bm.md @@ -0,0 +1,8 @@ +# pbmtox10bm + +> This command has been superseded by `pbmtoxbm -x10`. +> More information: . + +- View documentation for the current command: + +`tldr pbmtoxbm` diff --git a/pages/common/pbmtoxbm.md b/pages/common/pbmtoxbm.md new file mode 100644 index 00000000000000..43bf3018dbf243 --- /dev/null +++ b/pages/common/pbmtoxbm.md @@ -0,0 +1,12 @@ +# pbmtoxbm + +> Convert a PBM image to a X11 or X10 bitmap. +> More information: . + +- Convert a PBM image to a X11 XBM file: + +`pbmtoxbm {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}` + +- Explicitly specify whether an X11 or X10 bitmap should be generated: + +`pbmtoxbm -{{x11|x10}} {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}` diff --git a/pages/common/pbmtoybm.md b/pages/common/pbmtoybm.md new file mode 100644 index 00000000000000..b6f08bf2346334 --- /dev/null +++ b/pages/common/pbmtoybm.md @@ -0,0 +1,8 @@ +# pbmtoybm + +> Convert a PBM file to a Bennet Yee "face" file. +> More information: . + +- Convert a PBM image file to YBM: + +`pbmtoybm {{path/to/input_file.pbm}} > {{path/to/output_file.ybm}}` diff --git a/pages/common/pbmtozinc.md b/pages/common/pbmtozinc.md new file mode 100644 index 00000000000000..fb6853ec96f23d --- /dev/null +++ b/pages/common/pbmtozinc.md @@ -0,0 +1,8 @@ +# pbmtozinc + +> Convert a PBM image to a Zinc bitmap as used by the Zinc Interface Library Version 1.0. +> More information: . + +- Convert a PBM image to a Zinc bitmap: + +`pbmtozinc {{path/to/image.pbm}} > {{path/to/output.zinc}}` diff --git a/pages/common/pbmupc.md b/pages/common/pbmupc.md new file mode 100644 index 00000000000000..83d07fc3385cc6 --- /dev/null +++ b/pages/common/pbmupc.md @@ -0,0 +1,12 @@ +# pbmupc + +> Generate a PBM image of a Universal Product Code (UPC). +> More information: . + +- Generate a UPC image for the specified product type, manufacturer code, and product code: + +`pbmupc {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}` + +- Use an alternative style that does not display the checksum: + +`pbmupc -s2 {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}` diff --git a/pages/common/pbzip2.md b/pages/common/pbzip2.md new file mode 100644 index 00000000000000..5b20201dd8e555 --- /dev/null +++ b/pages/common/pbzip2.md @@ -0,0 +1,25 @@ +# pbzip2 + +> A parallel implementation of the `bzip2` file compressor. +> See also: `bzip2`, `tar`. +> More information: . + +- Compress a file: + +`pbzip2 {{path/to/file}}` + +- Compress a file using the specified number of processors: + +`pbzip2 -p{{4}} {{path/to/file}}` + +- Compress in combination with tar (options can be passed to `pbzip2`): + +`tar -cf {{path/to/compressed_file}}.tar.bz2 {{[-I|--use-compress-program]}} "pbzip2 {{-option1 -option2 ...}}" {{path/to/file}}` + +- Decompress a file: + +`pbzip2 {{[-d|--decompress]}} {{path/to/compressed_file.bz2}}` + +- Display help: + +`pbzip2 {{[-h|--help]}}` diff --git a/pages/common/pcapfix.md b/pages/common/pcapfix.md new file mode 100644 index 00000000000000..144599207c0547 --- /dev/null +++ b/pages/common/pcapfix.md @@ -0,0 +1,24 @@ +# pcapfix + +> Repair damaged or corrupted PCAP and PcapNG files. +> More information: . + +- Repair a PCAP/PCapNG file (Note: For PCAP files, only the first 262144 bytes of each packet are scanned): + +`pcapfix {{path/to/file.pcapng}}` + +- Repair an entire PCAP file: + +`pcapfix --deep-scan {{path/to/file.pcap}}` + +- Repair a PCAP/PcapNG file and write the repaired file to the specified location: + +`pcapfix --outfile {{path/to/repaired.pcap}} {{path/to/file.pcap}}` + +- Treat the specified file as a PcapNG file, ignoring automatic recognition: + +`pcapfix --pcapng {{path/to/file.pcapng}}` + +- Repair a file and show the process in detail: + +`pcapfix --verbose {{path/to/file.pcap}}` diff --git a/pages/common/pcdindex.md b/pages/common/pcdindex.md new file mode 100644 index 00000000000000..fe95dd16a4e003 --- /dev/null +++ b/pages/common/pcdindex.md @@ -0,0 +1,8 @@ +# pcdindex + +> This command has been renamed to `pcdovtoppm`. +> More information: . + +- View documentation for the command under its current name: + +`tldr pcdovtoppm` diff --git a/pages/common/pcdovtoppm.md b/pages/common/pcdovtoppm.md new file mode 100644 index 00000000000000..415ae8280ba70a --- /dev/null +++ b/pages/common/pcdovtoppm.md @@ -0,0 +1,20 @@ +# pcdovtoppm + +> Create an index image for a photo CD based on its overview file. +> More information: . + +- Create a PPM index image from a PCD overview file: + +`pcdovtoppm {{path/to/file.pcd}} > {{path/to/output.ppm}}` + +- Specify the maximum width of the output image and the maximum size of each of the images contained in the output: + +`pcdovtoppm {{[-m|-maxwidth]}} {{width}} {{[-s|-size]}} {{size}} {{path/to/file.pcd}} > {{path/to/output.ppm}}` + +- Specify the maximum number of images across and the maximum number of colours: + +`pcdovtoppm {{[-a|-across]}} {{n_images}} {{[-c|-colors]}} {{n_colours}} {{path/to/file.pcd}} > {{path/to/output.ppm}}` + +- Use the specified font for annotations and paint the background white: + +`pcdovtoppm {{[-f|-font]}} {{font}} {{[-w|-white]}} {{path/to/file.pcd}} > {{path/to/output.ppm}}` diff --git a/pages/common/pcxtoppm.md b/pages/common/pcxtoppm.md new file mode 100644 index 00000000000000..1d62b809611ca8 --- /dev/null +++ b/pages/common/pcxtoppm.md @@ -0,0 +1,16 @@ +# pcxtoppm + +> Convert a PCX file to a PPM image. +> More information: . + +- Convert a PCX file to a PPM image: + +`pcxtoppm {{path/to/file.pcx}} > {{path/to/file.ppm}}` + +- Use a predefined standard palette even if the PCX file provides one: + +`pcxtoppm {{[-s|-stdpalette]}} {{path/to/file.pcx}} > {{path/to/file.ppm}}` + +- Print information on the PCX header to `stdout`: + +`pcxtoppm {{[-verb|-verbose]}} {{path/to/file.pcx}} > {{path/to/file.ppm}}` diff --git a/pages/common/pdf-parser.md b/pages/common/pdf-parser.md new file mode 100644 index 00000000000000..c1ff6528d2cb72 --- /dev/null +++ b/pages/common/pdf-parser.md @@ -0,0 +1,16 @@ +# pdf-parser + +> Identify fundamental elements of a PDF file without rendering it. +> More information: . + +- Display statistics for a PDF file: + +`pdf-parser {{[-a|--stats]}} {{path/to/file.pdf}}` + +- Display objects of a specific type (`/Font`, `/URI`, ...) in a PDF file: + +`pdf-parser {{[-t|--type]}} {{/object_type}} {{path/to/file.pdf}}` + +- Search for strings in indirect objects: + +`pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}` diff --git a/pages/common/pdfgrep.md b/pages/common/pdfgrep.md new file mode 100644 index 00000000000000..96b104497e9d61 --- /dev/null +++ b/pages/common/pdfgrep.md @@ -0,0 +1,24 @@ +# pdfgrep + +> Search text in PDF files. +> More information: . + +- Find lines that match pattern in a PDF: + +`pdfgrep {{pattern}} {{file.pdf}}` + +- Include file name and page number for each matched line: + +`pdfgrep {{[-H|--with-filename]}} {{[-n|--page-number]}} {{pattern}} {{file.pdf}}` + +- Do a case-insensitive search for lines that begin with "foo" and return the first 3 matches: + +`pdfgrep {{[-m|--max-count]}} {{3}} {{[-i|--ignore-case]}} {{'^foo'}} {{file.pdf}}` + +- Find pattern in files with a `.pdf` extension in the current directory recursively: + +`pdfgrep {{[-r|--recursive]}} {{pattern}}` + +- Find pattern on files that match a specific glob in the current directory recursively: + +`pdfgrep {{[-r|--recursive]}} --include {{'*book.pdf'}} {{pattern}}` diff --git a/pages/common/pdfimages.md b/pages/common/pdfimages.md index c23d325e26c65f..1ee396a3096cbd 100644 --- a/pages/common/pdfimages.md +++ b/pages/common/pdfimages.md @@ -1,6 +1,7 @@ # pdfimages > Utility for extracting images from PDFs. +> More information: . - Extract all images from a PDF file and save them as PNGs: diff --git a/pages/common/pdfjam.md b/pages/common/pdfjam.md new file mode 100644 index 00000000000000..b1a12d6862e845 --- /dev/null +++ b/pages/common/pdfjam.md @@ -0,0 +1,28 @@ +# pdfjam + +> Shell frontend for the LaTeX pdfpages package for mingling PDFs. +> More information: . + +- Merge two (or more) PDFs: + +`pdfjam {{path/to/file1.pdf path/to/file2.pdf ...}} {{[-o|--outfile]}} {{path/to/output_file.pdf}}` + +- Merge the first page of each file together: + +`pdfjam {{path/to/file1.pdf 1 path/to/file2.pdf 1 ...}} {{[-o|--outfile]}} {{path/to/output_file.pdf}}` + +- Merge subranges from two PDFs: + +`pdfjam {{path/to/file1.pdf 3-5,1}} {{path/to/file2.pdf 4-6}} {{[-o|--outfile]}} {{path/to/output_file.pdf}}` + +- Sign an A4 page (adjust delta to height for other formats) with a scanned signature by overlaying them: + +`pdfjam {{path/to/file.pdf}} {{path/to/signature}} --fitpaper true {{[-o|--outfile]}} {{path/to/signed.pdf}} --nup "{{1x2}}" --delta "{{0 -842pt}}"` + +- Arrange the pages from the input file into a fancy 2x2 grid: + +`pdfjam {{path/to/file.pdf}} --nup {{2x2}} --suffix {{4up}} --preamble '{{\usepackage{fancyhdr} \pagestyle{fancy}}}'` + +- Reverse the order of pages within each given file and concatenate them: + +`pdfjam {{path/to/file1.pdf last-1 path/to/file2.pdf last-1 ...}} --suffix {{reversed}}` diff --git a/pages/common/pdfjoin.md b/pages/common/pdfjoin.md index ad0e3081a5d171..7f8fc02eeafdf6 100644 --- a/pages/common/pdfjoin.md +++ b/pages/common/pdfjoin.md @@ -1,15 +1,20 @@ # pdfjoin -> PDF merging utility. +> PDF merging utility based on pdfjam. +> More information: . -- Merge two PDFs: +- Merge two PDFs into one with the default suffix "joined": -`pdfjoin {{file1}} {{file2}} --outfile {{output_file}}` +`pdfjoin {{path/to/file1.pdf}} {{path/to/file2.pdf}}` -- Save pages 3 to 5 followed by page 1 to a new PDF: +- Merge the first page of each given file together: -`pdfjoin {{file 3-5,1}} --outfile {{output_file}}` +`pdfjoin {{path/to/file1.pdf path/to/file2.pdf ...}} {{1}} --outfile {{output_file}}` -- Merge subranges from two PDFs: +- Save pages 3 to 5 followed by page 1 to a new PDF with custom suffix: -`pdfjoin {{file1 3-5,1}} {{file2 4-6}} --outfile {{output_file}}` +`pdfjoin {{path/to/file.pdf}} {{3-5,1}} --suffix {{rearranged}}` + +- Merge page subranges from two PDFs: + +`pdfjoin /{{path/to/file1.pdf}} {{2-}} {{file2}} {{last-3}} --outfile {{output_file}}` diff --git a/pages/common/pdflatex.md b/pages/common/pdflatex.md index 9448c2e544a11a..b2bca83096b6cc 100644 --- a/pages/common/pdflatex.md +++ b/pages/common/pdflatex.md @@ -1,15 +1,16 @@ # pdflatex -> Compile a pdf document from LaTeX source files. +> Compile a PDF document from LaTeX source files. +> More information: . -- Compile a pdf document: +- Compile a PDF document: `pdflatex {{source.tex}}` -- Compile a pdf document specifying an output directory: +- Compile a PDF document specifying an output directory: `pdflatex -output-directory={{path/to/directory}} {{source.tex}}` -- Compile a pdf document, halting on each error: +- Compile a PDF document, exiting on each error: `pdflatex -halt-on-error {{source.tex}}` diff --git a/pages/common/pdfposter.md b/pages/common/pdfposter.md index 7581850cc8a524..10e084eb08dd8c 100644 --- a/pages/common/pdfposter.md +++ b/pages/common/pdfposter.md @@ -1,6 +1,6 @@ # pdfposter -> Convert a large-sheeted pdf into multiple A4 pages for printing. +> Convert a large-sheeted PDF into multiple A4 pages for printing. > More information: . - Convert an A2 poster into 4 A4 pages: diff --git a/pages/common/pdfseparate.md b/pages/common/pdfseparate.md index 0f06782c453d10..7c52cd9ed7939d 100644 --- a/pages/common/pdfseparate.md +++ b/pages/common/pdfseparate.md @@ -1,7 +1,7 @@ # pdfseparate > Portable Document Format (PDF) file page extractor. -> More information: . +> More information: . - Extract pages from PDF file and make a separate PDF file for each page: diff --git a/pages/common/pdftex.md b/pages/common/pdftex.md new file mode 100644 index 00000000000000..4a202557a605b3 --- /dev/null +++ b/pages/common/pdftex.md @@ -0,0 +1,16 @@ +# pdftex + +> Compile a PDF document from TeX source files. +> More information: . + +- Compile a PDF document: + +`pdftex {{source.tex}}` + +- Compile a PDF document, specifying an output directory: + +`pdftex -output-directory={{path/to/directory}} {{source.tex}}` + +- Compile a PDF document, exiting on each error: + +`pdftex -halt-on-error {{source.tex}}` diff --git a/pages/common/pdftk.md b/pages/common/pdftk.md index c5b6ee3bd68092..0fa0bd19376431 100644 --- a/pages/common/pdftk.md +++ b/pages/common/pdftk.md @@ -1,7 +1,7 @@ # pdftk > PDF toolkit. -> More information: . +> More information: . - Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one: diff --git a/pages/common/pdftocairo.md b/pages/common/pdftocairo.md index 04f5bfe04cdd6e..837e53251a4c06 100644 --- a/pages/common/pdftocairo.md +++ b/pages/common/pdftocairo.md @@ -1,7 +1,7 @@ # pdftocairo -> Converts PDF files to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo. -> More information: . +> Convert PDF files to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo. +> More information: . - Convert a PDF file to JPEG: @@ -23,6 +23,6 @@ `pdftocairo {{path/to/file.pdf}} -tiff -gray -paper A3` -- Convert to PNG cropping x and y pixels from the top left corner: +- Convert to PNG cropping x and y pixels from the top-left corner: `pdftocairo {{path/to/file.pdf}} -png -x {{x_pixels}} -y {{y_pixels}}` diff --git a/pages/common/pdftotext.md b/pages/common/pdftotext.md index 202f6f87b1f34c..23dd547b9bb2a2 100644 --- a/pages/common/pdftotext.md +++ b/pages/common/pdftotext.md @@ -1,23 +1,24 @@ # pdftotext > Convert PDF files to plain text format. +> More information: . -- Convert filename.pdf to plain text and print it to standard output: +- Convert `filename.pdf` to plain text and print it to `stdout`: `pdftotext {{filename.pdf}} -` -- Convert filename.pdf to plain text and save it as filename.txt: +- Convert `filename.pdf` to plain text and save it as `filename.txt`: `pdftotext {{filename.pdf}}` -- Convert filename.pdf to plain text and preserve the layout: +- Convert `filename.pdf` to plain text and preserve the layout: `pdftotext -layout {{filename.pdf}}` -- Convert input.pdf to plain text and save it as output.txt: +- Convert `input.pdf` to plain text and save it as `output.txt`: `pdftotext {{input.pdf}} {{output.txt}}` -- Convert pages 2, 3 and 4 of input.pdf to plain text and save them as output.txt: +- Convert pages 2, 3 and 4 of `input.pdf` to plain text and save them as `output.txt`: `pdftotext -f {{2}} -l {{4}} {{input.pdf}} {{output.txt}}` diff --git a/pages/common/peco.md b/pages/common/peco.md new file mode 100644 index 00000000000000..d5dba23d2bf6f4 --- /dev/null +++ b/pages/common/peco.md @@ -0,0 +1,16 @@ +# peco + +> Interactive filtering tool. +> More information: . + +- Start `peco` on all files in the specified directory: + +`find {{path/to/directory}} -type f | peco` + +- Start `peco` for running processes: + +`ps aux | peco` + +- Start `peco` with a specified query: + +`peco --query "{{query}}"` diff --git a/pages/common/pee.md b/pages/common/pee.md new file mode 100644 index 00000000000000..2be4cf6335c975 --- /dev/null +++ b/pages/common/pee.md @@ -0,0 +1,17 @@ +# pee + +> Tee `stdin` to pipes. +> See also: `tee`. +> More information: . + +- Run each command, providing each one with a distinct copy of `stdin`: + +`pee {{command1 command2 ...}}` + +- Write a copy of `stdin` to `stdout` (like `tee`): + +`pee cat {{command1 command2 ...}}` + +- Immediately terminate upon SIGPIPEs and write errors: + +`pee --no-ignore-sigpipe --no-ignore-write-errors {{command1 command2 ...}}` diff --git a/pages/common/peerflix.md b/pages/common/peerflix.md index a3732c09452d23..0ed13baba05005 100644 --- a/pages/common/peerflix.md +++ b/pages/common/peerflix.md @@ -9,16 +9,16 @@ - List all streamable files contained in a torrent (given as a magnet link): -`peerflix "{{magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567}}" --list` +`peerflix "{{magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567}}" {{[-l|--list]}}` - Stream the largest file in a torrent, given as a torrent URL, to VLC: -`peerflix "{{http://example.net/music.torrent}}" --vlc` +`peerflix "{{http://example.net/music.torrent}}" {{[-v|--vlc]}}` - Stream the largest file in a torrent to MPlayer, with subtitles: -`peerflix "{{torrent_url|magnet_link}}" --mplayer --subtitles {{subtitle-file.srt}}` +`peerflix "{{torrent_url|magnet_link}}" {{[-m|--mplayer]}} {{[-t|--subtitles]}} {{subtitle-file.srt}}` - Stream all files from a torrent to Airplay: -`peerflix "{{torrent_url|magnet_link}}" --all --airplay` +`peerflix "{{torrent_url|magnet_link}}" {{[-a|--all]}} {{[-s|--airplay]}}` diff --git a/pages/common/peerindex.md b/pages/common/peerindex.md new file mode 100644 index 00000000000000..1f642cb41a32aa --- /dev/null +++ b/pages/common/peerindex.md @@ -0,0 +1,13 @@ +# peerindex + +> Inspect MRT TABLE_DUMPV2 Peer Index Table. +> Can read files compressed with `gzip`, `bzip2` and `xz`. +> More information: . + +- List all peers: + +`peerindex {{master6.mrt}}` + +- Display all peers that have provided routing information: + +`peerindex {{[-r|--only-refs]}} {{master6.mrt}}` diff --git a/pages/common/peludna-prognoza.md b/pages/common/peludna-prognoza.md new file mode 100644 index 00000000000000..4d3551fb99a430 --- /dev/null +++ b/pages/common/peludna-prognoza.md @@ -0,0 +1,20 @@ +# peludna-prognoza + +> Fetch pollen measurement data for Croatian cities from your terminal using Pliva's allergies data API. +> More information: . + +- Start an interactive search for a city and fetch data for it: + +`peludna-prognoza` + +- Fetch data for a city: + +`peludna-prognoza "{{city}}"` + +- Display data in a machine-readable format: + +`peludna-prognoza "{{city}}" --{{json|xml}}` + +- Display the pollen measurement page for a city at in the default web browser: + +`peludna-prognoza "{{city}}" {{[-w|--web]}}` diff --git a/pages/common/perl-rename.md b/pages/common/perl-rename.md new file mode 100644 index 00000000000000..ab6bf32265bbfa --- /dev/null +++ b/pages/common/perl-rename.md @@ -0,0 +1,7 @@ +# perl-rename + +> This command is an alias of `rename`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages/common/perl.md b/pages/common/perl.md index 8a9e20cdd72edb..eceab0cd918982 100644 --- a/pages/common/perl.md +++ b/pages/common/perl.md @@ -3,34 +3,18 @@ > The Perl 5 language interpreter. > More information: . -- Parse and execute a Perl script: +- Print lines from `stdin` [m/] matching `regex1` and case insensitive [/i] `regex2`: -`perl {{script.pl}}` +`perl -n -e 'print if m/{{regex1}}/ and m/{{regex2}}/i'` -- Check syntax errors on a Perl script: +- Say [-E] first match group, using a `regex`, ignoring space in `regex` [/x]: -`perl -c {{script.pl}}` +`perl -n -E 'say $1 if m/{{before}} ( {{group_regex}} ) {{after}}/x'` -- Parse and execute a Perl statement: +- [-i]n-place, with backup, [s/] substitute all occurrence [/g] of `regex` with replacement: -`perl -e {{perl_statement}}` +`perl -i'.bak' -p -e 's/{{regex}}/{{replacement}}/g' {{path/to/files}}` -- Run a Perl script in debug mode, using `perldebug`: +- Use perl's inline documentation, some pages also available via manual pages on Linux: -`perl -d {{script.pl}}` - -- Loo[p] over all lines of a file, editing them [i]n-place using a find/replace [e]xpression: - -`perl -p -i -e 's/{{find}}/{{replace}}/g' {{filename}}` - -- Run a find/replace expression on a file, saving the original file with a given extension: - -`perl -p -i'.old' -e 's/{{find}}/{{replace}}/g' {{filename}}` - -- Run a multi-line find/replace expression on a file, and save the result in another file: - -`perl -p0e 's/{{foo\nbar}}/{{foobar}}/g' {{input_file}} > {{output_file}}` - -- Run a regular expression on `stdin`, printing out the first capture group for each line: - -`cat {{path/to/input_file}} | perl -nle 'if (/.*({{foo}}).*/) {print "$1"; last;}'` +`perldoc perlrun ; perldoc module ; perldoc -f splice; perldoc -q perlfaq1` diff --git a/pages/common/perlbrew.md b/pages/common/perlbrew.md new file mode 100644 index 00000000000000..eb6922638b0111 --- /dev/null +++ b/pages/common/perlbrew.md @@ -0,0 +1,37 @@ +# perlbrew + +> Manage Perl installations in the home directory. +> See also: `asdf`. +> More information: . + +- Initialize a `perlbrew` environment: + +`perlbrew init` + +- List available Perl versions: + +`perlbrew available` + +- Install/uninstall a Perl version: + +`perlbrew {{install|uninstall}} {{version}}` + +- List perl installations: + +`perlbrew list` + +- Switch to an installation and set it as default: + +`perlbrew switch perl-{{version}}` + +- Use the system Perl again: + +`perlbrew off` + +- List installed CPAN modules for the installation in use: + +`perlbrew list-modules` + +- Clone CPAN modules from one installation to another: + +`perlbrew clone-modules {{source_installation}} {{destination_installation}}` diff --git a/pages/common/perldoc.md b/pages/common/perldoc.md new file mode 100644 index 00000000000000..4a538001ef3218 --- /dev/null +++ b/pages/common/perldoc.md @@ -0,0 +1,20 @@ +# perldoc + +> Look up Perl documentation in `.pod` format. +> More information: . + +- View documentation for a builtin [f]unction, a [v]ariable or an [a]PI: + +`perldoc -{{f|v|a}} {{name}}` + +- Search in the question headings of Perl FAQ: + +`perldoc -q {{regex}}` + +- Send output directly to `stdout` (by default, it is send to a pager): + +`perldoc -T {{page|module|program|URL}}` + +- Specify the language code of the desired translation: + +`perldoc -L {{language_code}} {{page|module|program|URL}}` diff --git a/pages/common/pest.md b/pages/common/pest.md index 62dd0fdb435dd2..302a8583419186 100644 --- a/pages/common/pest.md +++ b/pages/common/pest.md @@ -1,9 +1,9 @@ # pest > A PHP testing framework with a focus on simplicity. -> More information: . +> More information: . -- Initialise a standard Pest configuration in the current directory: +- Initialize a standard Pest configuration in the current directory: `pest --init` @@ -22,3 +22,11 @@ - Run tests with coverage and fail if the coverage is less than the minimum percentage: `pest --coverage --min={{80}}` + +- Run tests in parallel: + +`pest --parallel` + +- Run tests with mutations: + +`pest --mutate` diff --git a/pages/common/pfetch.md b/pages/common/pfetch.md new file mode 100644 index 00000000000000..6e146562ce3cd7 --- /dev/null +++ b/pages/common/pfetch.md @@ -0,0 +1,24 @@ +# pfetch + +> Display system information. +> More information: . + +- Display the ASCII art and default fields: + +`pfetch` + +- Display only the ASCII art and color palette fields: + +`PF_INFO="{{ascii palette}}" pfetch` + +- Display all possible fields: + +`PF_INFO="{{ascii title os host kernel uptime pkgs memory shell editor wm de palette}}" pfetch` + +- Display a different username and hostname: + +`USER="{{user}}" HOSTNAME="{{hostname}}" pfetch` + +- Display without colors: + +`PF_COLOR={{0}} pfetch` diff --git a/pages/common/pg_archivecleanup.md b/pages/common/pg_archivecleanup.md new file mode 100644 index 00000000000000..27a029457d1ae4 --- /dev/null +++ b/pages/common/pg_archivecleanup.md @@ -0,0 +1,24 @@ +# pg_archivecleanup + +> Remove old WAL archive files in PostgreSQL. +> More information: . + +- Clean an archive directory up to a given WAL file: + +`pg_archivecleanup {{path/to/archive}} {{path/to/walfile}}` + +- Perform a dry run (list files that would be removed without actually doing it): + +`pg_archivecleanup {{[-n|--dry-run]}} {{path/to/archive}} {{path/to/walfile}}` + +- Strip a file extension before deciding deletion: + +`pg_archivecleanup {{[-x|--strip-extension]}} {{extension}} {{path/to/archive}} {{path/to/walfile}}` + +- Remove backup history files too: + +`pg_archivecleanup {{[-b|--clean-backup-history]}} {{path/to/archive}} {{path/to/walfile}}` + +- Enable debug logging output: + +`pg_archivecleanup {{[-d|--debug]}} {{path/to/archive}} {{path/to/walfile}}` diff --git a/pages/common/pg_ctl.md b/pages/common/pg_ctl.md index b8141c0b594afd..d3d68f02d27503 100644 --- a/pages/common/pg_ctl.md +++ b/pages/common/pg_ctl.md @@ -5,20 +5,20 @@ - Initialize a new PostgreSQL database cluster: -`pg_ctl -D {{data_directory}} init` +`pg_ctl {{[-D|--pgdata]}} {{data_directory}} init` - Start a PostgreSQL server: -`pg_ctl -D {{data_directory}} start` +`pg_ctl {{[-D|--pgdata]}} {{data_directory}} start` - Stop a PostgreSQL server: -`pg_ctl -D {{data_directory}} stop` +`pg_ctl {{[-D|--pgdata]}} {{data_directory}} stop` - Restart a PostgreSQL server: -`pg_ctl -D {{data_directory}} restart` +`pg_ctl {{[-D|--pgdata]}} {{data_directory}} restart` - Reload the PostgreSQL server configuration: -`pg_ctl -D {{data_directory}} reload` +`pg_ctl {{[-D|--pgdata]}} {{data_directory}} reload` diff --git a/pages/common/pg_dump.md b/pages/common/pg_dump.md index b57372d13155e6..bb9af7350bb35c 100644 --- a/pages/common/pg_dump.md +++ b/pages/common/pg_dump.md @@ -3,26 +3,26 @@ > Extract a PostgreSQL database into a script file or other archive file. > More information: . -- Dump database into a SQL-script file: +- Dump database into an SQL-script file: `pg_dump {{db_name}} > {{output_file.sql}}` - Same as above, customize username: -`pg_dump -U {{username}} {{db_name}} > {{output_file.sql}}` +`pg_dump {{[-U|--username]}} {{username}} {{db_name}} > {{output_file.sql}}` - Same as above, customize host and port: -`pg_dump -h {{host}} -p {{port}} {{db_name}} > {{output_file.sql}}` +`pg_dump {{[-h|--host]}} {{host}} {{[-p|--port]}} {{port}} {{db_name}} > {{output_file.sql}}` - Dump a database into a custom-format archive file: -`pg_dump -Fc {{db_name}} > {{output_file.dump}}` +`pg_dump {{[-F|--format]}} {{[c|custom]}} {{db_name}} > {{output_file.dump}}` - Dump only database data into an SQL-script file: -`pg_dump -a {{db_name}} > {{path/to/output_file.sql}}` +`pg_dump {{[-a|--data-only]}} {{db_name}} > {{path/to/output_file.sql}}` - Dump only schema (data definitions) into an SQL-script file: -`pg_dump -s {{db_name}} > {{path/to/output_file.sql}}` +`pg_dump {{[-s|--schema-only]}} {{db_name}} > {{path/to/output_file.sql}}` diff --git a/pages/common/pg_dumpall.md b/pages/common/pg_dumpall.md new file mode 100644 index 00000000000000..c9f255db259524 --- /dev/null +++ b/pages/common/pg_dumpall.md @@ -0,0 +1,24 @@ +# pg_dumpall + +> Extract a PostgreSQL database cluster into a script file or other archive file. +> More information: . + +- Dump all databases: + +`pg_dumpall > {{path/to/file.sql}}` + +- Dump all databases using a specific username: + +`pg_dumpall {{[-U|--username]}} {{username}} > {{path/to/file.sql}}` + +- Same as above, customize host and port: + +`pg_dumpall {{[-h|--host]}} {{host}} {{[-p|--port]}} {{port}} > {{output_file.sql}}` + +- Dump only database data into an SQL-script file: + +`pg_dumpall {{[-a|--data-only]}} > {{path/to/file.sql}}` + +- Dump only schema (data definitions) into an SQL-script file: + +`pg_dumpall {{[-s|--schema-only]}} > {{output_file.sql}}` diff --git a/pages/common/pg_isready.md b/pages/common/pg_isready.md new file mode 100644 index 00000000000000..4c019184064f6a --- /dev/null +++ b/pages/common/pg_isready.md @@ -0,0 +1,16 @@ +# pg_isready + +> Check the connection status of a PostgreSQL server. +> More information: . + +- Check connection: + +`pg_isready` + +- Check connection with a specific hostname and port: + +`pg_isready {{[-h|--host]}} {{hostname}} {{[-p|--port]}} {{port}}` + +- Check connection displaying a message only when the connection fails: + +`pg_isready {{[-q|--quiet]}}` diff --git a/pages/common/pg_restore.md b/pages/common/pg_restore.md index 901913d2a8ef17..c44a6bc37c8ee0 100644 --- a/pages/common/pg_restore.md +++ b/pages/common/pg_restore.md @@ -5,24 +5,24 @@ - Restore an archive into an existing database: -`pg_restore -d {{db_name}} {{archive_file.dump}}` +`pg_restore {{[-d|--dbname]}} {{db_name}} {{archive_file.dump}}` - Same as above, customize username: -`pg_restore -U {{username}} -d {{db_name}} {{archive_file.dump}}` +`pg_restore {{[-U|--username]}} {{username}} {{[-d|--dbname]}} {{db_name}} {{archive_file.dump}}` - Same as above, customize host and port: -`pg_restore -h {{host}} -p {{port}} -d {{db_name}} {{archive_file.dump}}` +`pg_restore {{[-h|--host]}} {{host}} {{[-p|--port]}} {{port}} {{[-d|--dbname]}} {{db_name}} {{archive_file.dump}}` - List database objects included in the archive: -`pg_restore --list {{archive_file.dump}}` +`pg_restore {{[-l|--list]}} {{archive_file.dump}}` - Clean database objects before creating them: -`pg_restore --clean -d {{db_name}} {{archive_file.dump}}` +`pg_restore {{[-c|--clean]}} {{[-d|--dbname]}} {{db_name}} {{archive_file.dump}}` - Use multiple jobs to do the restoring: -`pg_restore -j {{2}} -d {{db_name}} {{archive_file.dump}}` +`pg_restore {{[-j|--jobs]}} {{2}} {{[-d|--dbname]}} {{db_name}} {{archive_file.dump}}` diff --git a/pages/common/pg_test_fsync.md b/pages/common/pg_test_fsync.md new file mode 100644 index 00000000000000..713cc68c65bf27 --- /dev/null +++ b/pages/common/pg_test_fsync.md @@ -0,0 +1,16 @@ +# pg_test_fsync + +> Determine the fastest wal_sync_method on your system. +> More information: . + +- Run the default fsync benchmark (5 seconds): + +`pg_test_fsync` + +- Specify a custom test duration: + +`pg_test_fsync {{[-s|--secs-per-test]}} {{seconds}}` + +- Use a specific filename (it must be in same file system that the pg_wal directory is or will be placed in): + +`pg_test_fsync {{[-f|--filename]}} {{path/to/file}}` diff --git a/pages/common/pg_test_timing.md b/pages/common/pg_test_timing.md new file mode 100644 index 00000000000000..0da3d26e900ff4 --- /dev/null +++ b/pages/common/pg_test_timing.md @@ -0,0 +1,12 @@ +# pg_test_timing + +> Measure timing overhead on your system (ensure clock monotonicity). +> More information: . + +- Run the default timing test (3 seconds): + +`pg_test_timing` + +- Run for a custom duration: + +`pg_test_timing {{[-d|--duration]}} {{seconds}}` diff --git a/pages/common/pg_walsummary.md b/pages/common/pg_walsummary.md new file mode 100644 index 00000000000000..526790b126f3d9 --- /dev/null +++ b/pages/common/pg_walsummary.md @@ -0,0 +1,16 @@ +# pg_walsummary + +> Print contents of WAL summary files. +> More information: . + +- Convert a WAL summary file to text: + +`pg_walsummary {{path/to/file}}` + +- Print one line per individual modified block (rather than ranges): + +`pg_walsummary {{[-i|--individual]}} {{path/to/file}}` + +- Suppress normal output (only errors): + +`pg_walsummary {{[-q|--quiet]}} {{path/to/file}}` diff --git a/pages/common/pgbench.md b/pages/common/pgbench.md new file mode 100644 index 00000000000000..c403e562c04f6e --- /dev/null +++ b/pages/common/pgbench.md @@ -0,0 +1,12 @@ +# pgbench + +> Run a benchmark test on PostgreSQL. +> More information: . + +- Initialize a database with a scale factor of 50 times the default size: + +`pgbench --initialize --scale={{50}} {{database_name}}` + +- Benchmark a database with 10 clients, 2 worker threads, and 10,000 transactions per client: + +`pgbench --client={{10}} --jobs={{2}} --transactions={{10000}} {{database_name}}` diff --git a/pages/common/pgcli.md b/pages/common/pgcli.md new file mode 100644 index 00000000000000..556f02e1a3f354 --- /dev/null +++ b/pages/common/pgcli.md @@ -0,0 +1,16 @@ +# pgcli + +> A modern PostgreSQL CLI with auto-completion and syntax highlighting. +> More information: . + +- Connect to a PostgreSQL database using a connection string: + +`pgcli postgresql://{{user}}@{{host}}/{{database}}` + +- Connect to a database using flags: + +`pgcli {{[-h|--host]}} {{host}} {{[-U|--username]}} {{username}} {{[-d|--dbname]}} {{database}}` + +- Display help: + +`pgcli --help` diff --git a/pages/common/pgmbentley.md b/pages/common/pgmbentley.md new file mode 100644 index 00000000000000..035cdfb529c95a --- /dev/null +++ b/pages/common/pgmbentley.md @@ -0,0 +1,8 @@ +# pgmbentley + +> Bentleyize a PGM image. +> More information: . + +- Apply the Bentley Effect on a PGM image: + +`pgmbentley {{path/to/input_file.pgm}} > {{path/to/output_file.pgm}}` diff --git a/pages/common/pgmcrater.md b/pages/common/pgmcrater.md new file mode 100644 index 00000000000000..f27d74952179b2 --- /dev/null +++ b/pages/common/pgmcrater.md @@ -0,0 +1,16 @@ +# pgmcrater + +> This command has been superseded by `pamcrater`, `pamshadedrelief`, and `pamtopnm`. +> More information: . + +- View documentation for `pamcrater`: + +`tldr pamcrater` + +- View documentation for `pamshadedrelief`: + +`tldr pamshadedrelief` + +- View documentation for `pamtopnm`: + +`tldr pamtopnm` diff --git a/pages/common/pgmdeshadow.md b/pages/common/pgmdeshadow.md new file mode 100644 index 00000000000000..2834407a5bf812 --- /dev/null +++ b/pages/common/pgmdeshadow.md @@ -0,0 +1,8 @@ +# pgmdeshadow + +> Deshadow a PGM image. +> More information: . + +- Remove grey shadows from a PGM image: + +`pgmdeshadow {{path/to/input_file.pgm}} > {{path/to/output_file.pgm}}` diff --git a/pages/common/pgmedge.md b/pages/common/pgmedge.md new file mode 100644 index 00000000000000..7ad16ef51d33fc --- /dev/null +++ b/pages/common/pgmedge.md @@ -0,0 +1,8 @@ +# pgmedge + +> This command has been superseded by `pamedge`. +> More information: . + +- View documentation for the current command: + +`tldr pamedge` diff --git a/pages/common/pgmenhance.md b/pages/common/pgmenhance.md new file mode 100644 index 00000000000000..c38724e1ad6b34 --- /dev/null +++ b/pages/common/pgmenhance.md @@ -0,0 +1,13 @@ +# pgmenhance + +> Edge-enhance a PGM image. +> See also: `pamedge`. +> More information: . + +- Edge-enhance a PGM image: + +`pgmenhance {{path/to/image.pgm}} > {{path/to/output.pgm}}` + +- Specify the level of enhancement: + +`pgmenhance -{{1..9}} {{path/to/image.pgm}} > {{path/to/output.pgm}}` diff --git a/pages/common/pgmhist.md b/pages/common/pgmhist.md new file mode 100644 index 00000000000000..af577426b26e27 --- /dev/null +++ b/pages/common/pgmhist.md @@ -0,0 +1,25 @@ +# pgmhist + +> Print a histogram of the values present in a PGM image. +> See also: `ppmhist`. +> More information: . + +- Display the histogram for human reading: + +`pgmhist {{path/to/image.pgm}}` + +- Display the median grey value: + +`pgmhist {{[-me|-median]}} {{path/to/image.pgm}}` + +- Display four quartile grey value: + +`pgmhist {{[-qua|-quartile]}} {{path/to/image.pgm}}` + +- Report the existence of invalid grey values: + +`pgmhist {{[-f|-forensic]}} {{path/to/image.pgm}}` + +- Display machine-readable output: + +`pgmhist {{[-ma|-machine]}} {{path/to/image.pgm}}` diff --git a/pages/common/pgmkernel.md b/pages/common/pgmkernel.md new file mode 100644 index 00000000000000..358e6874c8bafc --- /dev/null +++ b/pages/common/pgmkernel.md @@ -0,0 +1,17 @@ +# pgmkernel + +> Generate a convolution kernel to be used with `pnmconvol`. +> See also: `pnmconvol`. +> More information: . + +- Generate a convolution kernel: + +`pgmkernel {{width}} {{height}} > {{path/to/output.pgm}}` + +- Generate a quadratic convolution kernel: + +`pgmkernel {{size}} > {{path/to/output.pgm}}` + +- Specify the weight of the center in the generated kernel: + +`pgmkernel {{[-w|-weight]}} {{value}} {{width}} {{height}} > {{path/to/output.pgm}}` diff --git a/pages/common/pgmmake.md b/pages/common/pgmmake.md new file mode 100644 index 00000000000000..b40a9c703c789e --- /dev/null +++ b/pages/common/pgmmake.md @@ -0,0 +1,8 @@ +# pgmmake + +> Create PGM image with a uniform gray level. +> More information: . + +- Create PGM image with a uniform gray level (specified as a number between 0 and 1) and the specified dimensions: + +`pgmmake {{graylevel}} {{width}} {{height}} > {{path/to/output_file.pgm}}` diff --git a/pages/common/pgmnoise.md b/pages/common/pgmnoise.md new file mode 100644 index 00000000000000..a110cac3e15db6 --- /dev/null +++ b/pages/common/pgmnoise.md @@ -0,0 +1,12 @@ +# pgmnoise + +> Generate white noise. +> More information: . + +- Generate a PGM image containing white noise: + +`pgmnoise {{width}} {{height}} > {{path/to/output.pgm}}` + +- Specify the seed for the pseudo-random number generator: + +`pgmnoise {{width}} {{height}} -randomseed {{value}} > {{path/to/output.pgm}}` diff --git a/pages/common/pgmnorm.md b/pages/common/pgmnorm.md new file mode 100644 index 00000000000000..2d61e8c99023a5 --- /dev/null +++ b/pages/common/pgmnorm.md @@ -0,0 +1,8 @@ +# pgmnorm + +> This command has been superseded by `pnmnorm`. +> More information: . + +- View documentation for the current command: + +`tldr pnmnorm` diff --git a/pages/common/pgmoil.md b/pages/common/pgmoil.md new file mode 100644 index 00000000000000..b6ca6d2efbc819 --- /dev/null +++ b/pages/common/pgmoil.md @@ -0,0 +1,8 @@ +# pgmoil + +> This command has been superseded by `pamoil`. +> More information: . + +- View documentation for the current command: + +`tldr pamoil` diff --git a/pages/common/pgmramp.md b/pages/common/pgmramp.md new file mode 100644 index 00000000000000..95daed2e6a49b8 --- /dev/null +++ b/pages/common/pgmramp.md @@ -0,0 +1,24 @@ +# pgmramp + +> Generate a greyscale map. +> More information: . + +- Generate a left-to-right greyscale map: + +`pgmramp -lr > {{path/to/output.pgm}}` + +- Generate a top-to-bottom greyscale map: + +`pgmramp -tb > {{path/to/output.pgm}}` + +- Generate a rectangular greyscale map: + +`pgmramp -rectangle > {{path/to/output.pgm}}` + +- Generate a elliptical greyscale map: + +`pgmramp -ellipse {{path/to/image.pgm}} > {{path/to/output.pgm}}` + +- Generate a greyscale map from the top-left corner to the bottom-right corner: + +`pgmramp -diagonal {{path/to/image.pgm}} > {{path/to/output.pgm}}` diff --git a/pages/common/pgmslice.md b/pages/common/pgmslice.md new file mode 100644 index 00000000000000..f878ca2fe443c9 --- /dev/null +++ b/pages/common/pgmslice.md @@ -0,0 +1,8 @@ +# pgmslice + +> This command has been superseded by `pamslice`. +> More information: . + +- View documentation for the current command: + +`tldr pamslice` diff --git a/pages/common/pgmtexture.md b/pages/common/pgmtexture.md new file mode 100644 index 00000000000000..1959bf258efb73 --- /dev/null +++ b/pages/common/pgmtexture.md @@ -0,0 +1,12 @@ +# pgmtexture + +> Extract textural features from a PGM image. +> More information: . + +- Extract textural features from a PGM image: + +`pgmtexture {{path/to/image.pgm}} > {{path/to/output.pgm}}` + +- Specify the distance parameter for the feature extraction algorithm: + +`pgmtexture -d {{distance}} {{path/to/image.pgm}} > {{path/to/output.pgm}}` diff --git a/pages/common/pgmtofs.md b/pages/common/pgmtofs.md new file mode 100644 index 00000000000000..40b08a68fb5e27 --- /dev/null +++ b/pages/common/pgmtofs.md @@ -0,0 +1,9 @@ +# pgmtofs + +> Convert a PGM image to Usenix FaceSaver format. +> See also: `fstopgm`. +> More information: . + +- Convert the specified PGM image to Usenix FaceSave format: + +`pgmtofs {{path/to/input.pgm}} > {{path/to/output.fs}}` diff --git a/pages/common/pgmtolispm.md b/pages/common/pgmtolispm.md new file mode 100644 index 00000000000000..c41ef1288ad600 --- /dev/null +++ b/pages/common/pgmtolispm.md @@ -0,0 +1,9 @@ +# pgmtolispm + +> Convert a PGM image to Lisp Machine format. +> See also: `lispmtopgm`. +> More information: . + +- Convert the specified PGM image to Lisp Machine format: + +`pgmtolispm {{path/to/input.pgm}} > {{path/to/output.lispm}}` diff --git a/pages/common/pgmtopbm.md b/pages/common/pgmtopbm.md new file mode 100644 index 00000000000000..d2ca7be1ae1f45 --- /dev/null +++ b/pages/common/pgmtopbm.md @@ -0,0 +1,8 @@ +# pgmtopbm + +> This command has been superseded by `pamditherbw`. +> More information: . + +- View documentation for the current command: + +`tldr pamditherbw` diff --git a/pages/common/pgmtopgm.md b/pages/common/pgmtopgm.md new file mode 100644 index 00000000000000..e762adda95cdb0 --- /dev/null +++ b/pages/common/pgmtopgm.md @@ -0,0 +1,12 @@ +# pgmtopgm + +> Copy a PGM image file. +> More information: . + +- Copy PGM file from `stdin` to `stderr`: + +`pgmtopgm` + +- Display version: + +`pgmtopgm -version` diff --git a/pages/common/pgmtoppm.md b/pages/common/pgmtoppm.md new file mode 100644 index 00000000000000..5660fcd773ed6b --- /dev/null +++ b/pages/common/pgmtoppm.md @@ -0,0 +1,12 @@ +# pgmtoppm + +> Colorize a PGM image. +> More information: . + +- Map all greyscale values of the input image to all colors between the two specified colors: + +`pgmtoppm {{[-b|-black]}} {{red}} {{[-w|-white]}} {{blue}} {{path/to/input.pgm}} > {{path/to/output.ppm}}` + +- Map all greyscale values of the input image to colors according to the specified colormap: + +`pgmtoppm {{[-m|-map]}} {{path/to/colormap.ppm}} {{path/to/input.pgm}} > {{path/to/output.ppm}}` diff --git a/pages/common/pgmtosbig.md b/pages/common/pgmtosbig.md new file mode 100644 index 00000000000000..393a34d8f0d66e --- /dev/null +++ b/pages/common/pgmtosbig.md @@ -0,0 +1,8 @@ +# pgmtosbig + +> Convert a PGM image to the SBIG CCDOPS format. +> More information: . + +- Convert a PGM image file to the SBIG CCDOPS format: + +`pgmtosbig {{path/to/input_file.pgm}} > {{path/to/output.sbig}}` diff --git a/pages/common/pgmtost4.md b/pages/common/pgmtost4.md new file mode 100644 index 00000000000000..079ba4898d5738 --- /dev/null +++ b/pages/common/pgmtost4.md @@ -0,0 +1,8 @@ +# pgmtost4 + +> Convert a PGM image to the SBIG ST-4 format. +> More information: . + +- Convert a PGM image file to the SBIG ST-4 format: + +`pgmtost4 {{path/to/input_file.pgm}} > {{path/to/output.st4}}` diff --git a/pages/common/pgrep.md b/pages/common/pgrep.md index 1f5221736e3813..af5b616851fe7f 100644 --- a/pages/common/pgrep.md +++ b/pages/common/pgrep.md @@ -1,15 +1,16 @@ # pgrep -> Find or signal process by name. +> Find or signal processes by name. +> More information: . - Return PIDs of any running processes with a matching command string: `pgrep {{process_name}}` -- Search full command line with parameters instead of just the process name: +- Search for processes including their command-line options: -`pgrep -f "{{process_name}} {{parameter}}"` +`pgrep {{[-f|--full]}} "{{process_name}} {{parameter}}"` -- Search for process run by a specific user: +- Search for processes run by a specific user: -`pgrep -u root {{process_name}}` +`pgrep {{[-u|--euid]}} root {{process_name}}` diff --git a/pages/common/phan.md b/pages/common/phan.md index b219863fea2621..2d5a8388fcebaa 100644 --- a/pages/common/phan.md +++ b/pages/common/phan.md @@ -11,15 +11,15 @@ `phan --init --init-level {{level}}` -- Analyse the current directory: +- Analyze the current directory: `phan` -- Analyse one or more directories: +- Analyze one or more directories: `phan --directory {{path/to/directory}} --directory {{path/to/another_directory}}` -- Specify a config file (defaults to `.phan/config.php`): +- Specify a configuration file (defaults to `.phan/config.php`): `phan --config-file {{path/to/config.php}}` diff --git a/pages/common/phing.md b/pages/common/phing.md index 0c1d9ee4569982..a366f4a8f69686 100644 --- a/pages/common/phing.md +++ b/pages/common/phing.md @@ -1,29 +1,29 @@ # phing > A PHP build tool based on Apache Ant. -> More information: . +> More information: . -- Perform the default task in the "build.xml" file: +- Perform the default task in the `build.xml` file: `phing` -- Initialise a new build file: +- Initialize a new build file: -`phing -i {{path/to/build.xml}}` +`phing {{[-i|--init]}} {{path/to/build.xml}}` - Perform a specific task: `phing {{task_name}}` -- Specify a custom build file path: +- Use the given build file path: -`phing -f {{path/to/build.xml}} {{task_name}}` +`phing {{[-f|-buildfile]}} {{path/to/build.xml}} {{task_name}}` -- Specify a log file to output to: +- Log to the given file: -`phing -b {{path/to/log_file}} {{task_name}}` +`phing -logfile {{path/to/log_file}} {{task_name}}` -- Specify custom properties to use in the build: +- Use custom properties in the build: `phing -D{{property}}={{value}} {{task_name}}` diff --git a/pages/common/phive.md b/pages/common/phive.md index d7b06bc36ca35b..3e5cb9dd412d68 100644 --- a/pages/common/phive.md +++ b/pages/common/phive.md @@ -1,7 +1,7 @@ # phive > The Phar Installation and Verification Environment for secure PHP application deployment. -> More information: . +> More information: . - Display a list of available aliased Phars: @@ -13,11 +13,11 @@ - Install a specified Phar globally: -`phive install {{alias|url}} --global` +`phive install {{alias|url}} {{[-g|--global]}}` - Install a specified Phar to a target directory: -`phive install {{alias|url}} --target {{path/to/directory}}` +`phive install {{alias|url}} {{[-t|--target]}} {{path/to/directory}}` - Update all Phar files to the latest version: diff --git a/pages/common/php-artisan.md b/pages/common/php-artisan.md index d9f069b12d8d9e..ae12f56e103714 100644 --- a/pages/common/php-artisan.md +++ b/pages/common/php-artisan.md @@ -1,13 +1,13 @@ # php artisan -> Laravel's Artisan command line interface. +> Laravel's Artisan command-line interface. > More information: . - Start PHP's built-in web server for the current Laravel application: `php artisan serve` -- Start an interactive PHP command line interface: +- Start an interactive PHP command-line interface: `php artisan tinker` diff --git a/pages/common/php-coveralls.md b/pages/common/php-coveralls.md new file mode 100644 index 00000000000000..f9bf8b1363e8c2 --- /dev/null +++ b/pages/common/php-coveralls.md @@ -0,0 +1,36 @@ +# php-coveralls + +> A PHP client for Coveralls. +> More information: . + +- Send coverage information to Coveralls: + +`php-coveralls` + +- Send coverage information to Coveralls for a specific directory: + +`php-coveralls {{[-r|--root_dir]}} {{path/to/directory}}` + +- Send coverage information to Coveralls with a specific config: + +`php-coveralls {{[-c|--config]}} {{path/to/.coveralls.yml}}` + +- Send coverage information to Coveralls with verbose output: + +`php-coveralls {{[-v|--verbose]}}` + +- Send coverage information to Coveralls excluding source files with no executable statements: + +`php-coveralls --exclude-no-stmt` + +- Send coverage information to Coveralls with a specific environment name: + +`php-coveralls {{[-e|--env]}} {{test|dev|prod}}` + +- Specify multiple Coverage Clover XML files to upload: + +`php-coveralls {{[-x|--coverage_clover]}} {{path/to/first_clover.xml}} --coverage_clover {{path/to/second_clover.xml}}` + +- Output the JSON that will be sent to Coveralls to a specific file: + +`php-coveralls {{[-o|--json_path]}} {{path/to/coveralls-upload.json}}` diff --git a/pages/common/php-cs-fixer.md b/pages/common/php-cs-fixer.md new file mode 100644 index 00000000000000..2834116e89c249 --- /dev/null +++ b/pages/common/php-cs-fixer.md @@ -0,0 +1,36 @@ +# php-cs-fixer + +> Automatic coding style fixer for PHP. +> More information: . + +- Execute code style fixing in the current directory: + +`php-cs-fixer fix` + +- Execute code style fixing for a specific directory: + +`php-cs-fixer fix {{path/to/directory}}` + +- Execute code style linting without applying changes: + +`php-cs-fixer fix --dry-run` + +- Execute code style fixes using specific rules: + +`php-cs-fixer fix --rules={{rules}}` + +- Display the rules that have been applied: + +`php-cs-fixer fix --verbose` + +- Output the results in a different format: + +`php-cs-fixer fix --format={{txt|json|xml|checkstyle|junit|gitlab}}` + +- Display files that require fixing: + +`php-cs-fixer list-files` + +- Describe a rule or ruleset: + +`php-cs-fixer describe {{rule}}` diff --git a/pages/common/php-yii.md b/pages/common/php-yii.md index 0b033103ac1d20..01f839e6f493af 100644 --- a/pages/common/php-yii.md +++ b/pages/common/php-yii.md @@ -1,12 +1,8 @@ # php yii -> Yii Framework's command line interface. +> Yii Framework's command-line interface. > More information: . -- Display a list of all available commands: - -`php yii {{help}}` - - Start PHP's built-in web server for the current Yii application: `php yii {{serve}}` @@ -14,3 +10,7 @@ - Generate a controller, views and related files for the CRUD actions on the specified model class: `php yii {{gii/crud}} --modelClass={{ModelName}} --controllerClass={{ControllerName}}` + +- Display help: + +`php yii {{help}}` diff --git a/pages/common/php.md b/pages/common/php.md index 60e7fb3290d40e..f378f2882e953c 100644 --- a/pages/common/php.md +++ b/pages/common/php.md @@ -1,32 +1,36 @@ # php -> PHP command line interface. +> PHP command-line interface. > More information: . -- Parse and execute a php script: +- Parse and execute a PHP script: -`php {{file}}` +`php {{path/to/file}}` -- Check syntax on (i.e. lint) a PHP script: +- Check syntax on (i.e. [l]int) a PHP script: -`php -l {{file}}` +`php {{[-l|--syntax-check]}} {{path/to/file}}` -- Run PHP interactively: +- Run PHP inter[a]ctively: -`php -a` +`php {{[-a|--interactive]}}` - Run PHP code (Notes: Don't use tags; escape double quotes with backslash): -`php -r "{{code}}"` +`php {{[-r|--run]}} "{{code}}"` -- Start a PHP built-in web server in the current directory: +- Start a PHP built-in web [S]erver in the current directory: -`php -S {{host:port}}` +`php {{[-S|--server]}} {{host}}:{{port}}` -- Get a list of installed PHP extensions: +- List installed PHP extensions: -`php -m` +`php {{[-m|--modules]}}` - Display information about the current PHP configuration: -`php -i` +`php {{[-i|--info]}}` + +- Display information about a specific function: + +`php {{[--rf|--rfunction]}} {{function_name}}` diff --git a/pages/common/phpbu.md b/pages/common/phpbu.md index fa66c6286a0ca0..c73b50c419e354 100644 --- a/pages/common/phpbu.md +++ b/pages/common/phpbu.md @@ -1,9 +1,9 @@ # phpbu > A backup utility framework for PHP. -> More information: . +> More information: . -- Run backups using the default "phpbu.xml" configuration file: +- Run backups using the default `phpbu.xml` configuration file: `phpbu` diff --git a/pages/common/phpcbf.md b/pages/common/phpcbf.md index 31fc02843204c8..6609522fe70e9f 100644 --- a/pages/common/phpcbf.md +++ b/pages/common/phpcbf.md @@ -17,11 +17,11 @@ - Specify comma-separated file extensions to include when sniffing: -`phpcbf {{path/to/directory}} --extensions {{file_extension(s)}}` +`phpcbf {{path/to/directory}} --extensions {{file_extension1,file_extension2,...}}` - A comma-separated list of files to load before processing: -`phpcbf {{path/to/directory}} --bootstrap {{file(s)}}` +`phpcbf {{path/to/directory}} --bootstrap {{path/to/file1,path/to/file2,...}}` - Don't recurse into subdirectories: diff --git a/pages/common/phpcpd.md b/pages/common/phpcpd.md index 4eaf5d2dd0ac20..fbefeb0f6585a5 100644 --- a/pages/common/phpcpd.md +++ b/pages/common/phpcpd.md @@ -3,11 +3,11 @@ > A copy and paste detector for PHP code. > More information: . -- Analyse duplicated code for a specific file or directory: +- Analyze duplicated code for a specific file or directory: `phpcpd {{path/to/file_or_directory}}` -- Analyse using fuzzy matching for variable names: +- Analyze using fuzzy matching for variable names: `phpcpd --fuzzy {{path/to/file_or_directory}}` diff --git a/pages/common/phpcs.md b/pages/common/phpcs.md index 0582b4a5943162..7479f2e74554d9 100644 --- a/pages/common/phpcs.md +++ b/pages/common/phpcs.md @@ -17,19 +17,19 @@ - Specify comma-separated file extensions to include when sniffing: -`phpcs {{path/to/directory}} --extensions {{file_extension(s)}}` +`phpcs {{path/to/directory}} --extensions {{file_extension1,file_extension2,...}}` - Specify the format of the output report (e.g. `full`, `xml`, `json`, `summary`): `phpcs {{path/to/directory}} --report {{format}}` -- Set config variables to be used during the process: +- Set configuration variables to be used during the process: `phpcs {{path/to/directory}} --config-set {{key}} {{value}}` - A comma-separated list of files to load before processing: -`phpcs {{path/to/directory}} --bootstrap {{file(s)}}` +`phpcs {{path/to/directory}} --bootstrap {{path/to/file1,path/to/file2,...}}` - Don't recurse into subdirectories: diff --git a/pages/common/phpdox.md b/pages/common/phpdox.md new file mode 100644 index 00000000000000..a614b0124da995 --- /dev/null +++ b/pages/common/phpdox.md @@ -0,0 +1,24 @@ +# phpdox + +> A PHP documentation generator. +> More information: . + +- Display an annotated skeleton configuration XML file: + +`phpdox --skel` + +- Generate documentation for the current working directory: + +`phpdox` + +- Generate documentation using a specific configuration file: + +`phpdox {{[-f|--file]}} {{path/to/phpdox.xml}}` + +- Only run the metadata collection process: + +`phpdox {{[-c|--collector]}}` + +- Only run the documentation generator process: + +`phpdox {{[-g|--generator]}}` diff --git a/pages/common/phploc.md b/pages/common/phploc.md index b6d1f44289657e..972c8b01cf2db4 100644 --- a/pages/common/phploc.md +++ b/pages/common/phploc.md @@ -1,19 +1,19 @@ # phploc -> A tool for quickly measuring the size and analyzing the structure of a PHP project. +> Quickly measure the size and analyzing the structure of a PHP project. > More information: . -- Analyse a directory and print the result: +- Analyze a directory and print the result: `phploc {{path/to/directory}}` - Include only specific files from a comma-separated list (globs are allowed): -`phploc {{path/to/directory}} --names {{files}}` +`phploc {{path/to/directory}} --names '{{path/to/file1,path/to/file2,...}}'` - Exclude specific files from a comma-separated list (globs are allowed): -`phploc {{path/to/directory}} --names-exclude {{files}}` +`phploc {{path/to/directory}} --names-exclude '{{path/to/file1,path/to/file2,...}}'` - Exclude a specific directory from analysis: diff --git a/pages/common/phpmd.md b/pages/common/phpmd.md index 524c6c74a024e2..abdc7cbc16198c 100644 --- a/pages/common/phpmd.md +++ b/pages/common/phpmd.md @@ -1,6 +1,6 @@ # phpmd -> A PHP mess detector that checks for common potential problems. +> PHP mess detector: check for common potential problems. > More information: . - Display a list of available rulesets and formats: @@ -9,24 +9,24 @@ - Scan a file or directory for problems using comma-separated rulesets: -`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}}` +`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{ruleset1,ruleset2,...}}` - Specify the minimum priority threshold for rules: -`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --minimumpriority {{priority}}` +`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{ruleset1,ruleset2,...}} --minimumpriority {{priority}}` - Include only the specified extensions in analysis: -`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --suffixes {{extensions}}` +`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{ruleset1,ruleset2,...}} --suffixes {{extensions}}` - Exclude the specified comma-separated directories: -`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --exclude {{directory_patterns}}` +`phpmd {{path/to/file_or_directory1,path/to/file_or_directory2,...}} {{xml|text|html}} {{ruleset1,ruleset2,...}} --exclude {{directory_patterns}}` - Output the results to a file instead of `stdout`: -`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --reportfile {{path/to/report_file}}` +`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{ruleset1,ruleset2,...}} --reportfile {{path/to/report_file}}` - Ignore the use of warning-suppressive PHPDoc comments: -`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --strict` +`phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{ruleset1,ruleset2,...}} --strict` diff --git a/pages/common/phpspec.md b/pages/common/phpspec.md index 957aacc2b4e9bd..5f076030317d50 100644 --- a/pages/common/phpspec.md +++ b/pages/common/phpspec.md @@ -17,11 +17,11 @@ - Run specifications using a specific configuration file: -`phpspec run -c {{path/to/configuration_file}}` +`phpspec run {{[-c|--config]}} {{path/to/configuration_file}}` - Run specifications using a specific bootstrap file: -`phpspec run -b {{path/to/bootstrap_file}}` +`phpspec run {{[-b|--bootstrap]}} {{path/to/bootstrap_file}}` - Disable code generation prompts: diff --git a/pages/common/phpstan.md b/pages/common/phpstan.md index 9c20f289f461f4..4cfcc19e166282 100644 --- a/pages/common/phpstan.md +++ b/pages/common/phpstan.md @@ -1,28 +1,28 @@ # phpstan > A PHP static analysis tool to discover bugs in code. -> More information: . +> More information: . -- Display available options for analysis: - -`phpstan analyse --help` - -- Analyse the specified space-separated directories: +- Analyze one or more directories: -`phpstan analyse {{path/to/directory}}` +`phpstan analyse {{path/to/directory1 path/to/directory2 ...}}` -- Analyse a directory using a configuration file: +- Analyze a directory using a configuration file: -`phpstan analyse {{path/to/directory}} --configuration {{path/to/config}}` +`phpstan analyse {{path/to/directory}} {{[-c|--configuration]}} {{path/to/config}}` -- Analyse using a specific rule level (0-7, higher is stricter): +- Analyze using a specific rule level (0-10, higher is stricter): -`phpstan analyse {{path/to/directory}} --level {{level}}` +`phpstan analyse {{path/to/directory}} {{[-l|--level]}} {{level}}` -- Specify an autoload file to load before analysing: +- Specify an autoload file to load before analyzing: -`phpstan analyse {{path/to/directory}} --autoload-file {{path/to/autoload_file}}` +`phpstan analyse {{path/to/directory}} {{[-a|--autoload-file]}} {{path/to/autoload_file}}` - Specify a memory limit during analysis: `phpstan analyse {{path/to/directory}} --memory-limit {{memory_limit}}` + +- Display available options for analysis: + +`phpstan analyse --help` diff --git a/pages/common/phpstorm.md b/pages/common/phpstorm.md index fb5967ce55d242..c63afffeeff79d 100644 --- a/pages/common/phpstorm.md +++ b/pages/common/phpstorm.md @@ -1,7 +1,7 @@ # phpstorm > A cross-platform IDE for PHP based on the JetBrains IntelliJ platform. -> More information: . +> More information: . - Open a specific directory: diff --git a/pages/common/phpunit.md b/pages/common/phpunit.md index 345769fb92532c..c5a70bbe742a0d 100644 --- a/pages/common/phpunit.md +++ b/pages/common/phpunit.md @@ -1,6 +1,6 @@ # phpunit -> PHPUnit command-line test runner. +> PHPUnit test runner. > More information: . - Run tests in the current directory. Note: Expects you to have a 'phpunit.xml': @@ -17,4 +17,4 @@ - Run tests and generate a coverage report in HTML: -`phpunit --coverage-html {{directory}}` +`phpunit --coverage-html {{path/to/directory}}` diff --git a/pages/common/pi1toppm.md b/pages/common/pi1toppm.md new file mode 100644 index 00000000000000..468e263fe57940 --- /dev/null +++ b/pages/common/pi1toppm.md @@ -0,0 +1,9 @@ +# pi1toppm + +> Convert an Atari Degas PI1 image to a PPM image. +> See also: `ppmtopi1`. +> More information: . + +- Convert an Atari Degas PI1 image into PPM image: + +`pi1toppm {{path/to/atari_image.pi1}} > {{path/to/image.ppm}}` diff --git a/pages/common/pi3topbm.md b/pages/common/pi3topbm.md new file mode 100644 index 00000000000000..84afb5d1509a80 --- /dev/null +++ b/pages/common/pi3topbm.md @@ -0,0 +1,9 @@ +# pi3topbm + +> Convert an Atari Degas PI3 image to PBM image. +> See also: `pbmtopi3`. +> More information: . + +- Convert an Atari Degas PI3 image to PBM image: + +`pi3topbm {{path/to/atari_image.pi3}} > {{path/to/output_image.pbm}}` diff --git a/pages/common/piactl.md b/pages/common/piactl.md index 951ca9107019e9..b5b9c472859b77 100644 --- a/pages/common/piactl.md +++ b/pages/common/piactl.md @@ -1,7 +1,7 @@ # piactl -> The command line tool for Private Internet Access, a commercial VPN provider. -> More information: . +> The tool for Private Internet Access, a commercial VPN provider. +> More information: . - Log in to Private Internet Access: diff --git a/pages/common/pic.md b/pages/common/pic.md new file mode 100644 index 00000000000000..938fed186f5608 --- /dev/null +++ b/pages/common/pic.md @@ -0,0 +1,13 @@ +# pic + +> Picture preprocessor for the groff (GNU Troff) document formatting system. +> See also: `groff`, `troff`. +> More information: . + +- Process input with pictures, saving the output for future typesetting with groff to PostScript: + +`pic {{path/to/input.pic}} > {{path/to/output.roff}}` + +- Typeset input with pictures to PDF using the [me] macro package: + +`pic -T {{pdf}} {{path/to/input.pic}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}` diff --git a/pages/common/picard.md b/pages/common/picard.md index fa310221da31ef..38cbc32bde8c62 100644 --- a/pages/common/picard.md +++ b/pages/common/picard.md @@ -1,7 +1,7 @@ # picard > Next generation MusicBrainz tagging application. -> More information: . +> More information: . - Start Picard: @@ -9,8 +9,8 @@ - Open a set of files: -`picard {{path/to/file1.mp3}} {{path/to/file2.mp3}}` +`picard {{path/to/file1.mp3 path/to/file2.mp3 ...}}` - Display the version of Picard installed: -`picard --long-version` +`picard {{[-V|--long-version]}}` diff --git a/pages/common/picgo.md b/pages/common/picgo.md new file mode 100644 index 00000000000000..13aada26eb287e --- /dev/null +++ b/pages/common/picgo.md @@ -0,0 +1,16 @@ +# picgo + +> Upload an image to an image hosting service (default is SM.MS). +> More information: . + +- Interactively select a hosting service: + +`picgo set uploader` + +- Upload the image in current clipboard: + +`picgo upload` + +- Upload an image from a specific path: + +`picgo upload {{path/to/image}}` diff --git a/pages/common/pickle.md b/pages/common/pickle.md index 5785a6abe0040f..f25658507ccec8 100644 --- a/pages/common/pickle.md +++ b/pages/common/pickle.md @@ -1,7 +1,7 @@ # pickle > A PHP extension installer based on Composer. -> More information: . +> More information: . - Install a specific PHP extension: diff --git a/pages/common/pico.md b/pages/common/pico.md new file mode 100644 index 00000000000000..93b9f4543d8ce6 --- /dev/null +++ b/pages/common/pico.md @@ -0,0 +1,36 @@ +# pico + +> Text editor styled after the Alpine Composer. +> More information: . + +- Start the editor: + +`pico {{path/to/file}}` + +- Start the editor with the cursor located n lines into the file: + +`pico +{{n}} {{path/to/file}}` + +- Start the editor with the cursor shown before the current selection: + +`pico -g {{path/to/file}}` + +- Define the quote string for files such as email: + +`pico -Q "{{quotestring}}" {{path/to/file}}` + +- Enable mouse functionality when run within an `xterm` window: + +`pico -m {{path/to/file}}` + +- Set the operating directory for `pico`: + +`pico -o {{path/to/directory}}` + +- Enable "view only" mode, which disallows any edits: + +`pico -v {{path/to/file}}` + +- Display all files including those beginning with a period: + +`pico -a` diff --git a/pages/common/picocom.md b/pages/common/picocom.md new file mode 100644 index 00000000000000..a846ed45814461 --- /dev/null +++ b/pages/common/picocom.md @@ -0,0 +1,24 @@ +# picocom + +> Minimal program to emulate serial consoles. +> More information: . + +- Connect to a serial console with the default baud rate of 9600: + +`sudo picocom {{/dev/ttyXYZ}}` + +- Connect to a serial console with a specified baud rate: + +`sudo picocom {{/dev/ttyXYZ}} {{[-b|--baud]}} {{baud_rate}}` + +- Map special characters (e.g. `LF` to `CRLF`): + +`sudo picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}` + +- Exit picocom: + +`` + +- Display help: + +`picocom {{[-h|--help]}}` diff --git a/pages/common/picom-trans.md b/pages/common/picom-trans.md new file mode 100644 index 00000000000000..3bcc03a9ac2365 --- /dev/null +++ b/pages/common/picom-trans.md @@ -0,0 +1,20 @@ +# picom-trans + +> Set the window opacity for the `picom` window compositor. +> More information: . + +- Set the currently focused window opacity to a specific percentage: + +`picom-trans --current --opacity {{90}}` + +- Set the opacity of a window with a specific name: + +`picom-trans --name {{Firefox}} --opacity {{90}}` + +- Set the opacity of a specific window selected via mouse cursor: + +`picom-trans --select --opacity {{90}}` + +- Toggle the opacity of a specific window: + +`picom-trans --name {{Firefox}} --toggle` diff --git a/pages/common/picotool.md b/pages/common/picotool.md new file mode 100644 index 00000000000000..b96c4adf361f3a --- /dev/null +++ b/pages/common/picotool.md @@ -0,0 +1,32 @@ +# picotool + +> Manage Raspberry Pi Pico boards. +> More information: . + +- Display information about the currently loaded program on a Pico: + +`picotool info` + +- Load a binary onto a Pico: + +`picotool load {{path/to/binary}}` + +- Convert an ELF or BIN file to UF2: + +`picotool uf2 convert {{path/to/elf_or_bin}} {{path/to/output}}` + +- Reboot a Pico: + +`picotool reboot` + +- List all known registers: + +`picotool otp list` + +- Display version: + +`picotool version` + +- Display help: + +`picotool help` diff --git a/pages/common/picttoppm.md b/pages/common/picttoppm.md new file mode 100644 index 00000000000000..0e5ba69f07c6e2 --- /dev/null +++ b/pages/common/picttoppm.md @@ -0,0 +1,16 @@ +# picttoppm + +> Convert a Macintosh PICT file to a PPM image. +> More information: . + +- Convert a PICT file to a PPM image: + +`picttoppm {{path/to/file.pict}} > {{path/to/file.ppm}}` + +- Force any images in the PICT file to be output at full resolution: + +`picttoppm {{[-fu|-fullres]}} {{path/to/file.pict}} > {{path/to/file.ppm}}` + +- Do not assume that the input file contains a PICT header and execute quickdraw operations only: + +`picttoppm {{[-n|-noheader]}} {{[-quic|-quickdraw]}} {{path/to/file.pict}} > {{path/to/file.ppm}}` diff --git a/pages/common/pigz.md b/pages/common/pigz.md index 2ea8a1be54a71f..c55da1bb2abefb 100644 --- a/pages/common/pigz.md +++ b/pages/common/pigz.md @@ -5,24 +5,24 @@ - Compress a file with default options: -`pigz {{filename}}` +`pigz {{path/to/file}}` - Compress a file using the best compression method: -`pigz -9 {{filename}}` +`pigz {{[-9|--best]}} {{path/to/file}}` - Compress a file using no compression and 4 processors: -`pigz -0 -p{{4}} {{filename}}` +`pigz -0 {{[-p|--processes]}} {{4}} {{path/to/file}}` - Compress a directory using tar: -`tar cf - {{path/to/directory}} | pigz > {{filename}}.tar.gz` +`tar cf - {{path/to/directory}} | pigz > {{path/to/file.tar.gz}}` - Decompress a file: -`pigz -d {{archive.gz}}` +`pigz {{[-d|--decompress]}} {{archive.gz}}` - List the contents of an archive: -`pigz -l {{archive.tar.gz}}` +`pigz {{[-l|--list]}} {{archive.tar.gz}}` diff --git a/pages/common/ping.md b/pages/common/ping.md index 1b72e6f30a3133..574a2bac0f231d 100644 --- a/pages/common/ping.md +++ b/pages/common/ping.md @@ -1,6 +1,7 @@ # ping > Send ICMP ECHO_REQUEST packets to network hosts. +> More information: . - Ping host: @@ -25,3 +26,7 @@ - Also display a message if no response was received: `ping -O {{host}}` + +- Ping a host with specific number of pings, per-packet response timeout (`-W`), and total time limit (`-w`) of the entire ping run: + +`ping -c {{count}} -W {{seconds}} -w {{seconds}} {{host}}` diff --git a/pages/common/ping.py.md b/pages/common/ping.py.md new file mode 100644 index 00000000000000..7ca0ace8f48592 --- /dev/null +++ b/pages/common/ping.py.md @@ -0,0 +1,13 @@ +# ping.py + +> Simple ICMP ping using Impacket to check if an IPv4 host is reachable. +> Sends ICMP echo requests and listens for echo replies. Requires root privileges for raw socket access (e.g., run with `sudo`). +> More information: . + +- Ping a host from a specified source IPv4 address: + +`ping.py {{source_ipv4}} {{destination_ipv4}}` + +- Ping 192.168.1.100 from 192.168.1.10: + +`ping.py 192.168.1.10 192.168.1.100` diff --git a/pages/common/ping6.md b/pages/common/ping6.md index 26280c9aa475bd..838646088a7445 100644 --- a/pages/common/ping6.md +++ b/pages/common/ping6.md @@ -1,6 +1,8 @@ # ping6 > Send ICMP ECHO_REQUEST packets to network hosts via IPv6 address. +> Note: `ping6` has been merged to `ping` in modern systems. +> More information: . - Ping a host: diff --git a/pages/common/ping6.py.md b/pages/common/ping6.py.md new file mode 100644 index 00000000000000..623f22c2512c75 --- /dev/null +++ b/pages/common/ping6.py.md @@ -0,0 +1,13 @@ +# ping6.py + +> Simple ICMPv6 ping using Impacket to check if an IPv6 host is reachable. +> Sends ICMPv6 echo requests and listens for echo replies. Requires root privileges for raw socket access (e.g., run with `sudo`). +> More information: . + +- Ping an IPv6 host from a specified source IPv6 address: + +`ping6.py {{source_ipv6}} {{destination_ipv6}}` + +- Ping 2001:db8::2 from 2001:db8::1: + +`ping6.py 2001:db8::1 2001:db8::2` diff --git a/pages/common/pinky.md b/pages/common/pinky.md index 6e047f2e3bb1a6..cc7876b74366a2 100644 --- a/pages/common/pinky.md +++ b/pages/common/pinky.md @@ -1,6 +1,7 @@ # pinky > Print user information using the `finger` protocol. +> More information: . - Display details about the current user: diff --git a/pages/common/pint.md b/pages/common/pint.md new file mode 100644 index 00000000000000..2723ed11bc8da4 --- /dev/null +++ b/pages/common/pint.md @@ -0,0 +1,24 @@ +# pint + +> An opinionated PHP code style fixer based on PHP-CS-Fixer. +> More information: . + +- Execute code style fixing: + +`pint` + +- Display all files that are changed: + +`pint -v` + +- Execute code style linting without applying changes: + +`pint --test` + +- Execute code style fixes using a specific configuration file: + +`pint --config {{path/to/pint.json}}` + +- Execute code style fixes using a specific preset: + +`pint --preset {{psr12}}` diff --git a/pages/common/pinta.md b/pages/common/pinta.md new file mode 100644 index 00000000000000..be881da33a8afb --- /dev/null +++ b/pages/common/pinta.md @@ -0,0 +1,12 @@ +# pinta + +> A free, open source program for drawing and image editing. +> More information: . + +- Start Pinta: + +`pinta` + +- Open specific files: + +`pinta {{path/to/image1 path/to/image2 ...}}` diff --git a/pages/common/pio-access.md b/pages/common/pio-access.md new file mode 100644 index 00000000000000..365129eba746ca --- /dev/null +++ b/pages/common/pio-access.md @@ -0,0 +1,24 @@ +# pio access + +> Set the access level on published resources (packages) in the registry. +> More information: . + +- Grant a user access to a resource: + +`pio access grant {{guest|maintainer|admin}} {{username}} {{resource_urn}}` + +- Remove a user's access to a resource: + +`pio access revoke {{username}} {{resource_urn}}` + +- Show all resources that a user or team has access to and the access level: + +`pio access list {{username}}` + +- Restrict access to a resource to specific users or team members: + +`pio access private {{resource_urn}}` + +- Allow all users access to a resource: + +`pio access public {{resource_urn}}` diff --git a/pages/common/pio-account.md b/pages/common/pio-account.md new file mode 100644 index 00000000000000..f627e2b65daf29 --- /dev/null +++ b/pages/common/pio-account.md @@ -0,0 +1,32 @@ +# pio account + +> Manage your PlatformIO account. +> More information: . + +- Register a new PlatformIO account: + +`pio account register {{[-u|--username]}} {{username}} {{[-e|--email]}} {{email}} {{[-p|--password]}} {{password}} --firstname {{firstname}} --lastname {{lastname}}` + +- Permanently delete your PlatformIO account and related data: + +`pio account destroy` + +- Log in to your PlatformIO account: + +`pio account login {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}` + +- Log out of your PlatformIO account: + +`pio account logout` + +- Update your PlatformIO profile: + +`pio account update {{[-u|--username]}} {{username}} {{[-e|--email]}} {{email}} --firstname {{firstname}} --lastname {{lastname}} --current-password {{password}}` + +- Show detailed information about your PlatformIO account: + +`pio account show` + +- Reset your password using your username or email: + +`pio account forgot {{[-u|--username]}} {{username_or_email}}` diff --git a/pages/common/pio-boards.md b/pages/common/pio-boards.md new file mode 100644 index 00000000000000..6fcc8ecf89abb8 --- /dev/null +++ b/pages/common/pio-boards.md @@ -0,0 +1,12 @@ +# pio boards + +> List pre-configured embedded boards available in PlatformIO. +> More information: . + +- List all available boards: + +`pio boards` + +- List only boards from installed platforms: + +`pio boards --installed` diff --git a/pages/common/pio-check.md b/pages/common/pio-check.md new file mode 100644 index 00000000000000..b5704c82679c94 --- /dev/null +++ b/pages/common/pio-check.md @@ -0,0 +1,24 @@ +# pio check + +> Perform a static analysis check on a PlatformIO project. +> More information: . + +- Perform a basic analysis check on the current project: + +`pio check` + +- Perform a basic analysis check on a specific project: + +`pio check {{[-d|--project-dir]}} {{project_directory}}` + +- Perform an analysis check for a specific environment: + +`pio check {{[-e|--environment]}} {{environment}}` + +- Perform an analysis check and only report a specified defect severity type: + +`pio check --severity {{low|medium|high}}` + +- Perform an analysis check and show detailed information when processing environments: + +`pio check {{[-v|--verbose]}}` diff --git a/pages/common/pio-ci.md b/pages/common/pio-ci.md new file mode 100644 index 00000000000000..20d3ea328627a1 --- /dev/null +++ b/pages/common/pio-ci.md @@ -0,0 +1,29 @@ +# pio ci + +> Build PlatformIO projects with an arbitrary source code structure. +> This will create a new temporary project which the source code will be copied into. +> More information: . + +- Build a PlatformIO project in the default system temporary directory and delete it afterwards: + +`pio ci {{path/to/project}}` + +- Build a PlatformIO project and specify specific libraries: + +`pio ci {{[-l|--lib]}} {{path/to/library_directory}} {{path/to/project}}` + +- Build a PlatformIO project and specify a specific board (`pio boards` lists all of them): + +`pio ci {{[-b|--board]}} {{board}} {{path/to/project}}` + +- Build a PlatformIO project in a specific directory: + +`pio ci --build-dir {{path/to/build_directory}} {{path/to/project}}` + +- Build a PlatformIO project and don't delete the build directory: + +`pio ci --keep-build-dir {{path/to/project}}` + +- Build a PlatformIO project using a specific configuration file: + +`pio ci {{[-c|--project-conf]}} {{path/to/platformio.ini}}` diff --git a/pages/common/pio-debug.md b/pages/common/pio-debug.md new file mode 100644 index 00000000000000..41b8ba72108085 --- /dev/null +++ b/pages/common/pio-debug.md @@ -0,0 +1,24 @@ +# pio debug + +> Debug PlatformIO projects. +> More information: . + +- Debug the PlatformIO project in the current directory: + +`pio debug` + +- Debug a specific PlatformIO project: + +`pio debug {{[-d|--project-dir]}} {{path/to/platformio_project}}` + +- Debug a specific environment: + +`pio debug {{[-e|--environment]}} {{environment}}` + +- Debug a PlatformIO project using a specific configuration file: + +`pio debug {{[-c|--project-conf]}} {{path/to/platformio.ini}}` + +- Debug a PlatformIO project using the `gdb` debugger: + +`pio debug --interface {{gdb}} {{gdb_options}}` diff --git a/pages/common/pio-device.md b/pages/common/pio-device.md new file mode 100644 index 00000000000000..7ab9d791b0bdd7 --- /dev/null +++ b/pages/common/pio-device.md @@ -0,0 +1,32 @@ +# pio device + +> Manage and monitor PlatformIO devices. +> More information: . + +- List all available serial ports: + +`pio device list` + +- List all available logical devices: + +`pio device list --logical` + +- Start an interactive device monitor: + +`pio device monitor` + +- Start an interactive device monitor and listen to a specific port: + +`pio device monitor {{[-p|--port]}} {{/dev/ttyUSBX}}` + +- Start an interactive device monitor and set a specific baud rate (defaults to 9600): + +`pio device monitor {{[-b|--baud]}} {{57600}}` + +- Start an interactive device monitor and set a specific EOL character (defaults to `CRLF`): + +`pio device monitor --eol {{CRLF|CR|LF}}` + +- Go to the menu of the interactive device monitor: + +`` diff --git a/pages/common/pio-home.md b/pages/common/pio-home.md new file mode 100644 index 00000000000000..edbad2ce9c2e24 --- /dev/null +++ b/pages/common/pio-home.md @@ -0,0 +1,28 @@ +# pio home + +> Launch the PlatformIO Home web server. +> More information: . + +- Open PlatformIO Home in the default web browser: + +`pio home` + +- Use a specific HTTP port (defaults to 8008): + +`pio home --port {{port}}` + +- Bind to a specific IP address (defaults to 127.0.0.1): + +`pio home --host {{ip_address}}` + +- Do not automatically open PlatformIO Home in the default web browser: + +`pio home --no-open` + +- Automatically shutdown the server on timeout (in seconds) when no clients are connected: + +`pio home --shutdown-timeout {{time}}` + +- Specify a unique session identifier to keep PlatformIO Home isolated from other instances and protected from 3rd party access: + +`pio home --session-id {{id}}` diff --git a/pages/common/pio-init.md b/pages/common/pio-init.md new file mode 100644 index 00000000000000..c8840b6cb57df9 --- /dev/null +++ b/pages/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> This command is an alias of `pio project init`. + +- View documentation for the original command: + +`tldr pio project` diff --git a/pages/common/pio-lib.md b/pages/common/pio-lib.md new file mode 100644 index 00000000000000..6c33e6f9a7c59c --- /dev/null +++ b/pages/common/pio-lib.md @@ -0,0 +1,36 @@ +# pio lib + +> Manage PlatformIO libraries. +> More information: . + +- List installed libraries: + +`pio lib list` + +- List built-in libraries based on installed development platforms and their frameworks: + +`pio lib builtin` + +- Search for existing libraries: + +`pio lib search {{keyword}}` + +- Show details about a library: + +`pio lib show {{library}}` + +- Install a library: + +`pio lib install {{library}}` + +- Update installed libraries: + +`pio lib update` + +- Uninstall a library: + +`pio lib uninstall {{library}}` + +- Show PlatformIO library registry statistics: + +`pio lib stats` diff --git a/pages/common/pio-org.md b/pages/common/pio-org.md new file mode 100644 index 00000000000000..aab1d5acbc39aa --- /dev/null +++ b/pages/common/pio-org.md @@ -0,0 +1,28 @@ +# pio org + +> Manage PlatformIO organizations and their owners. +> More information: . + +- Create a new organization: + +`pio org create {{organization_name}}` + +- Delete an organization: + +`pio org destroy {{organization_name}}` + +- Add a user to an organization: + +`pio org add {{organization_name}} {{username}}` + +- Remove a user from an organization: + +`pio org remove {{organization_name}} {{username}}` + +- List all organizations the current user is a member of and their owners: + +`pio org list` + +- Update the name, email or display name of an organization: + +`pio org update --orgname {{new_organization_name}} --email {{new_email}} --displayname {{new_display_name}} {{organization_name}}` diff --git a/pages/common/pio-pkg.md b/pages/common/pio-pkg.md new file mode 100644 index 00000000000000..51d11f82c82566 --- /dev/null +++ b/pages/common/pio-pkg.md @@ -0,0 +1,37 @@ +# pio pkg + +> Manage packages in the registry. +> Packages can only be removed within 72 hours (3 days) from the date that they are published. +> More information: . + +- Create a package tarball from the current directory: + +`pio pkg pack {{[-o|--output]}} {{path/to/package.tar.gz}}` + +- Create and publish a package tarball from the current directory: + +`pio pkg publish` + +- Publish the current directory and restrict public access to it: + +`pio pkg publish --private` + +- Publish a package: + +`pio pkg publish {{path/to/package.tar.gz}}` + +- Publish a package with a custom release date (UTC): + +`pio pkg publish {{path/to/package.tar.gz}} --released-at "{{2021-04-08 21:15:38}}"` + +- Remove all versions of a published package from the registry: + +`pio pkg unpublish {{package}}` + +- Remove a specific version of a published package from the registry: + +`pio pkg unpublish {{package}}@{{version}}` + +- Undo the removal, putting all versions or a specific version of the package back into the registry: + +`pio pkg unpublish --undo {{package}}@{{version}}` diff --git a/pages/common/pio-platform.md b/pages/common/pio-platform.md new file mode 100644 index 00000000000000..47e4545103922b --- /dev/null +++ b/pages/common/pio-platform.md @@ -0,0 +1,32 @@ +# pio platform + +> Manage PlatformIO development platforms. +> More information: . + +- List all installed development platforms: + +`pio platform list` + +- Search for existing development platforms: + +`pio platform search {{platform}}` + +- Show details about a development platform: + +`pio platform show {{platform}}` + +- Install a development platform: + +`pio platform install {{platform}}` + +- Update installed development platforms: + +`pio platform update` + +- Uninstall a development platform: + +`pio platform uninstall {{platform}}` + +- List all supported frameworks: + +`pio platform frameworks` diff --git a/pages/common/pio-project.md b/pages/common/pio-project.md new file mode 100644 index 00000000000000..344e9ca8ff0787 --- /dev/null +++ b/pages/common/pio-project.md @@ -0,0 +1,24 @@ +# pio project + +> Manage PlatformIO projects. +> More information: . + +- Initialize a new PlatformIO project: + +`pio project init` + +- Initialize a new PlatformIO project in a specific directory: + +`pio project init {{[-d|--project-dir]}} {{path/to/project_directory}}` + +- Initialize a new PlatformIO project, specifying a board ID: + +`pio project init {{[-b|--board]}} {{ATmega328P|uno|...}}` + +- Initialize a new PlatformIO based project, specifying one or more project options: + +`pio project init {{[-O|--project-option]}} "{{option}}={{value}}" {{[-O|--project-option]}} "{{option}}={{value}}"` + +- Print the configuration of a project: + +`pio project config` diff --git a/pages/common/pio-remote.md b/pages/common/pio-remote.md new file mode 100644 index 00000000000000..def9633aa18017 --- /dev/null +++ b/pages/common/pio-remote.md @@ -0,0 +1,33 @@ +# pio remote + +> Helper command for PlatformIO Remote Development. +> `pio remote [command]` takes the same arguments as its locally executing counterpart `pio [command]`. +> More information: . + +- List all active Remote Agents: + +`pio remote agent list` + +- Start a new Remote Agent with a specific name and share it with friends: + +`pio remote agent start {{[-n|--name]}} {{agent_name}} {{[-s|--share]}} {{example1@example.com}} {{[-s|--share]}} {{example2@example.com}}` + +- List devices from specified Agents (omit `--agent` to specify all Agents): + +`pio remote --agent {{agent_name1}} --agent {{agent_name2}} device list` + +- Connect to the serial port of a remote device: + +`pio remote --agent {{agent_name}} device monitor` + +- Run all targets on a specified Agent: + +`pio remote --agent {{agent_name}} run` + +- Update installed core packages, development platforms and global libraries on a specific Agent: + +`pio remote --agent {{agent_name}} update` + +- Run all tests in all environments on a specific Agent: + +`pio remote --agent {{agent_name}} test` diff --git a/pages/common/pio-run.md b/pages/common/pio-run.md new file mode 100644 index 00000000000000..7f1b26a7697877 --- /dev/null +++ b/pages/common/pio-run.md @@ -0,0 +1,28 @@ +# pio run + +> Run PlatformIO project targets. +> More information: . + +- List all available project targets: + +`pio run --list-targets` + +- List all available project targets of a specific environment: + +`pio run --list-targets {{[-e|--environment]}} {{environment}}` + +- Run all targets: + +`pio run` + +- Run all targets of specified environments: + +`pio run {{[-e|--environment]}} {{environment1}} {{[-e|--environment]}} {{environment2}}` + +- Run specified targets: + +`pio run {{[-t|--target]}} {{target1}} {{[-t|--target]}} {{target2}}` + +- Run the targets of a specified configuration file: + +`pio run {{[-c|--project-conf]}} {{path/to/platformio.ini}}` diff --git a/pages/common/pio-settings.md b/pages/common/pio-settings.md new file mode 100644 index 00000000000000..f57b09c4497123 --- /dev/null +++ b/pages/common/pio-settings.md @@ -0,0 +1,20 @@ +# pio settings + +> View and modify PlatformIO settings. +> More information: . + +- Display the names, values and descriptions of all PlatformIO settings: + +`pio settings get` + +- Display the name, value and description of a specific PlatformIO setting: + +`pio settings get {{setting}}` + +- Set a specific setting value: + +`pio settings set {{setting}} {{value}}` + +- Reset the values of all modified settings to their factory defaults: + +`pio settings reset` diff --git a/pages/common/pio-system.md b/pages/common/pio-system.md new file mode 100644 index 00000000000000..ac1ed92c6785c8 --- /dev/null +++ b/pages/common/pio-system.md @@ -0,0 +1,28 @@ +# pio system + +> Miscellaneous system commands for PlatformIO. +> More information: . + +- Install shell completion for the current shell (supports Bash, fish, Zsh and PowerShell): + +`pio system completion install` + +- Uninstall shell completion for the current shell: + +`pio system completion uninstall` + +- Display system-wide PlatformIO information: + +`pio system info` + +- Remove unused PlatformIO data: + +`pio system prune` + +- Remove only cached data: + +`pio system prune --cache` + +- List unused PlatformIO data that would be removed but do not actually remove it: + +`pio system prune --dry-run` diff --git a/pages/common/pio-team.md b/pages/common/pio-team.md new file mode 100644 index 00000000000000..617a384f6b394b --- /dev/null +++ b/pages/common/pio-team.md @@ -0,0 +1,36 @@ +# pio team + +> Manage PlatformIO teams. +> More information: . + +- Create a new team with the specified description: + +`pio team create --description {{description}} {{organization_name}}:{{team_name}}` + +- Delete a team: + +`pio team destroy {{organization_name}}:{{team_name}}` + +- Add a new user to a team: + +`pio team add {{organization_name}}:{{team_name}} {{username}}` + +- Remove a user from a team: + +`pio team remove {{organization_name}}:{{team_name}} {{username}}` + +- List all teams that the user is part of and their members: + +`pio team list` + +- List all teams in an organization: + +`pio team list {{organization_name}}` + +- Rename a team: + +`pio team update --name {{new_team_name}} {{organization_name}}:{{team_name}}` + +- Change the description of a team: + +`pio team update --description {{new_description}} {{organization_name}}:{{team_name}}` diff --git a/pages/common/pio-test.md b/pages/common/pio-test.md new file mode 100644 index 00000000000000..42fa2bfe17f2f7 --- /dev/null +++ b/pages/common/pio-test.md @@ -0,0 +1,28 @@ +# pio test + +> Run local tests on a PlatformIO project. +> More information: . + +- Run all tests in all environments of the current PlatformIO project: + +`pio test` + +- Test only specific environments: + +`pio test {{[-e|--environment]}} {{environment1}} {{[-e|--environment]}} {{environment2}}` + +- Run only tests whose name matches a specific glob pattern: + +`pio test {{[-f|--filter]}} "{{pattern}}"` + +- Ignore tests whose name matches a specific glob pattern: + +`pio test {{[-i|--ignore]}} "{{pattern}}"` + +- Specify a port for firmware uploading: + +`pio test --upload-port {{upload_port}}` + +- Specify a custom configuration file for running the tests: + +`pio test {{[-c|--project-conf]}} {{path/to/platformio.ini}}` diff --git a/pages/common/pio-update.md b/pages/common/pio-update.md new file mode 100644 index 00000000000000..888f575d9df1ab --- /dev/null +++ b/pages/common/pio-update.md @@ -0,0 +1,17 @@ +# pio update + +> Update installed PlatformIO Core packages, development platforms and global libraries. +> See also: `pio platform update`, `pio lib update`. +> More information: . + +- Perform a full update of all packages, development platforms and global libraries: + +`pio update` + +- Update core packages only (skips platforms and libraries): + +`pio update --core-packages` + +- Check for new versions of packages, platforms and libraries but do not actually update them: + +`pio update --dry-run` diff --git a/pages/common/pio-upgrade.md b/pages/common/pio-upgrade.md new file mode 100644 index 00000000000000..87d1a974e0dfc8 --- /dev/null +++ b/pages/common/pio-upgrade.md @@ -0,0 +1,12 @@ +# pio upgrade + +> Update PlatformIO to the latest version. +> More information: . + +- Update PlatformIO to the latest version: + +`pio upgrade` + +- Update PlatformIO to the latest development (unstable) version: + +`pio upgrade --dev` diff --git a/pages/common/pio.md b/pages/common/pio.md new file mode 100644 index 00000000000000..59ca27da30dc60 --- /dev/null +++ b/pages/common/pio.md @@ -0,0 +1,17 @@ +# pio + +> Development environment for embedded boards. +> Some subcommands such as `run` have their own usage documentation. +> More information: . + +- Display help and list subcommands: + +`pio {{[-h|--help]}}` + +- Display help for a specific subcommand: + +`pio {{subcommand}} {{[-h|--help]}}` + +- Display version: + +`pio --version` diff --git a/pages/common/piodebuggdb.md b/pages/common/piodebuggdb.md new file mode 100644 index 00000000000000..7735048012890f --- /dev/null +++ b/pages/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> This command is an alias of `pio debug --interface=gdb`. + +- View documentation for the original command: + +`tldr pio debug` diff --git a/pages/common/pip-cache.md b/pages/common/pip-cache.md new file mode 100644 index 00000000000000..6d1e214c611313 --- /dev/null +++ b/pages/common/pip-cache.md @@ -0,0 +1,20 @@ +# pip cache + +> Inspect and manage pip's wheel cache. +> More information: . + +- Show the location of the pip cache directory: + +`pip cache dir` + +- List filenames of all packages currently stored in the cache: + +`pip cache list` + +- Remove all files from the pip cache: + +`pip cache purge` + +- Remove cached files matching a specific package name: + +`pip cache remove {{package_name}}` diff --git a/pages/common/pip-check.md b/pages/common/pip-check.md new file mode 100644 index 00000000000000..8e055e95964799 --- /dev/null +++ b/pages/common/pip-check.md @@ -0,0 +1,12 @@ +# pip check + +> Check installed packages for broken or incompatible dependencies. +> More information: . + +- Check for broken or missing requirements: + +`pip check` + +- Check and log output to a file: + +`pip check --log {{path/to/file}}` diff --git a/pages/common/pip-config.md b/pages/common/pip-config.md new file mode 100644 index 00000000000000..d1c8c45f7ce71b --- /dev/null +++ b/pages/common/pip-config.md @@ -0,0 +1,32 @@ +# pip config + +> Manage local and global configuration for pip. +> More information: . + +- List all configuration values: + +`pip config list` + +- Show configuration files and their values: + +`pip config debug` + +- Set the value for a command option: + +`pip config set {{command.option}} {{value}} {{--global|--user|--site}}` + +- Get the value for a command option: + +`pip config get {{command.option}} {{--global|--user|--site}}` + +- Unset the value for a command option: + +`pip config unset {{command.option}} {{--global|--user|--site}}` + +- Edit the configuration file with the default editor: + +`pip config edit {{--global|--user|--site}}` + +- Edit the configuration file with a specific editor: + +`pip config edit {{--global|--user|--site}} --editor {{path/to/editor/binary}}` diff --git a/pages/common/pip-debug.md b/pages/common/pip-debug.md new file mode 100644 index 00000000000000..ca7344c1a71c2b --- /dev/null +++ b/pages/common/pip-debug.md @@ -0,0 +1,25 @@ +# pip debug + +> Display debug information about the current pip environment and configuration. +> Intended for debugging; options and output may change without notice. +> More information: . + +- Show general debug information: + +`pip debug` + +- Show debug information for a specific platform: + +`pip debug --platform {{platform}}` + +- Show debug information for a specific Python version: + +`pip debug --python-version {{version}}` + +- Show debug information for a specific Python implementation: + +`pip debug --implementation {{implementation}}` + +- Show debug information for a specific ABI: + +`pip debug --abi {{abi}}` diff --git a/pages/common/pip-download.md b/pages/common/pip-download.md new file mode 100644 index 00000000000000..9d52aab6018550 --- /dev/null +++ b/pages/common/pip-download.md @@ -0,0 +1,24 @@ +# pip download + +> Download Python packages without installing them. +> More information: . + +- Download a package wheel or source archive to the current directory: + +`pip download {{package}}` + +- Download a specific version of a package: + +`pip download {{package}}=={{version}}` + +- Download a package and its dependencies to a specific directory: + +`pip download {{package}} {{[-d|--dest]}} {{path/to/directory}}` + +- Download a package for a specific platform and Python version: + +`pip download {{package}} --only-binary :all: --platform {{platform}} --python-version {{version}}` + +- Download a package from a specific index URL: + +`pip download {{package}} {{[-i|--index-url]}} {{url}}` diff --git a/pages/common/pip-freeze.md b/pages/common/pip-freeze.md new file mode 100644 index 00000000000000..07cbb9a4322f17 --- /dev/null +++ b/pages/common/pip-freeze.md @@ -0,0 +1,24 @@ +# pip freeze + +> List installed packages in requirements format. +> More information: . + +- List installed packages: + +`pip freeze` + +- Write installed packages to the `requirements.txt` file: + +`pip freeze > requirements.txt` + +- List installed packages in a virtual environment, excluding globally installed packages: + +`pip freeze {{[-l|--local]}}` + +- List installed packages in the user-site: + +`pip freeze --user` + +- List all packages, including `pip`, `distribute`, `setuptools`, and `wheel` (they are skipped by default): + +`pip freeze --all` diff --git a/pages/common/pip-hash.md b/pages/common/pip-hash.md new file mode 100644 index 00000000000000..0ebd1e814a994e --- /dev/null +++ b/pages/common/pip-hash.md @@ -0,0 +1,20 @@ +# pip hash + +> Compute hashes of package archives for verification. +> More information: . + +- Generate hash for a package file: + +`pip hash {{path/to/package.whl}}` + +- Generate hash using a specific algorithm: + +`pip hash {{[-a|--algorithm]}} {{sha256|sha384|sha512|...}} {{path/to/package.whl}}` + +- Generate hashes for multiple files: + +`pip hash {{path/to/package1.whl path/to/package2.whl ...}}` + +- Generate hash for downloaded archive: + +`pip hash {{path/to/package.tar.gz}}` diff --git a/pages/common/pip-index.md b/pages/common/pip-index.md new file mode 100644 index 00000000000000..eb3ccff733593d --- /dev/null +++ b/pages/common/pip-index.md @@ -0,0 +1,24 @@ +# pip index + +> Inspect information available from package indexes. +> More information: . + +- List all available versions of a package: + +`pip index versions {{package}}` + +- List versions from a specific index: + +`pip index versions {{package}} --index-url {{https://test.pypi.org/simple/}}` + +- Include pre-release versions: + +`pip index versions {{package}} --pre` + +- Include an additional index: + +`pip index versions {{package}} --extra-index-url {{https://example.com/simple/}}` + +- List versions for a specific platform: + +`pip index versions {{package}} --platform {{linux_x86_64}}` diff --git a/pages/common/pip-inspect.md b/pages/common/pip-inspect.md new file mode 100644 index 00000000000000..4e58a90bf45536 --- /dev/null +++ b/pages/common/pip-inspect.md @@ -0,0 +1,28 @@ +# pip inspect + +> Inspect the Python environment and produce a report in JSON format. +> More information: . + +- Inspect the current environment: + +`pip inspect` + +- Inspect and save output to a file: + +`pip inspect > {{environment_report.json}}` + +- Inspect only locally installed packages (not global): + +`pip inspect --local` + +- Inspect only user-installed packages: + +`pip inspect --user` + +- Inspect packages in a specific path: + +`pip inspect --path {{path/to/environment}}` + +- Inspect with verbose output (Note: the `-v` flag can be repeated to increase verbosity): + +`pip inspect {{[-v|--verbose]}}` diff --git a/pages/common/pip-install.md b/pages/common/pip-install.md index 565039dcad69b2..feceedd0563e52 100644 --- a/pages/common/pip-install.md +++ b/pages/common/pip-install.md @@ -1,20 +1,24 @@ # pip install > Install Python packages. -> More information: . +> More information: . - Install a package: -`pip install {{package_name}}` +`pip install {{package}}` - Install a specific version of a package: -`pip install {{package_name}}=={{package_version}}` +`pip install {{package}}=={{version}}` - Install packages listed in a file: -`pip install -r {{requirements.txt}}` +`pip install {{[-r|--requirement]}} {{path/to/requirements.txt}}` + +- Install packages from an URL or local file archive (e.g. `.tar.gz`, `.whl`): + +`pip install {{[-f|--find-links]}} {{url|path/to/file}}` - Install the local package in the current directory in develop (editable) mode: -`pip install -e .` +`pip install {{[-e|--editable]}} .` diff --git a/pages/common/pip-list.md b/pages/common/pip-list.md new file mode 100644 index 00000000000000..6d134569f7e8f1 --- /dev/null +++ b/pages/common/pip-list.md @@ -0,0 +1,36 @@ +# pip list + +> List installed Python packages. +> More information: . + +- List installed packages: + +`pip list` + +- List outdated packages that can be upgraded: + +`pip list {{[-o|--outdated]}}` + +- List up-to-date packages: + +`pip list {{[-u|--uptodate]}}` + +- List packages with JSON formatting: + +`pip list --format json` + +- List packages that are not required by other packages: + +`pip list --not-required` + +- List packages installed in user-site only: + +`pip list --user` + +- List packages and exclude editable packages from output: + +`pip list --exclude-editable` + +- List packages in freeze format (unlike `pip freeze`, does not show editable install information): + +`pip list --format freeze` diff --git a/pages/common/pip-lock.md b/pages/common/pip-lock.md new file mode 100644 index 00000000000000..4d5aaf5cf400a5 --- /dev/null +++ b/pages/common/pip-lock.md @@ -0,0 +1,21 @@ +# pip lock + +> Lock Python packages and their dependencies into a reproducible file. +> Experimental feature of `pip`. +> More information: . + +- Generate a `pylock.toml` for the current project: + +`pip lock {{[-e|--editable]}} .` + +- Lock dependencies from a requirements file: + +`pip lock {{[-r|--requirement]}} {{path/to/requirements.txt}}` + +- Specify a custom output file for the lock: + +`pip lock {{[-o|--output]}} {{path/to/lockfile.toml}}` + +- Lock a specific package and its dependencies: + +`pip lock {{package}}` diff --git a/pages/common/pip-search.md b/pages/common/pip-search.md new file mode 100644 index 00000000000000..ea1aa5485d7187 --- /dev/null +++ b/pages/common/pip-search.md @@ -0,0 +1,9 @@ +# pip search + +> Search for Python packages by name or summary. +> Doesn't work with PyPI; may work with other package indexes. +> More information: . + +- Search for packages using a custom package index: + +`pip search {{[-i|--index]}} {{example.com}} {{query}}` diff --git a/pages/common/pip-show.md b/pages/common/pip-show.md new file mode 100644 index 00000000000000..00c750c4f6f95b --- /dev/null +++ b/pages/common/pip-show.md @@ -0,0 +1,16 @@ +# pip show + +> Show information about installed packages. +> More information: . + +- Show information about a package: + +`pip show {{package}}` + +- Show all information about a package: + +`pip show {{[-v|--verbose]}} {{package}}` + +- Show all installed files for a package: + +`pip show {{[-f|--files]}} {{package}}` diff --git a/pages/common/pip-uninstall.md b/pages/common/pip-uninstall.md new file mode 100644 index 00000000000000..06c9f9cdf6106b --- /dev/null +++ b/pages/common/pip-uninstall.md @@ -0,0 +1,16 @@ +# pip uninstall + +> Uninstall Python packages. +> More information: . + +- Uninstall a package: + +`pip uninstall {{package}}` + +- Uninstall packages listed in a specific file: + +`pip uninstall {{[-r|--requirement]}} {{path/to/requirements.txt}}` + +- Uninstall package without asking for confirmation: + +`pip uninstall {{[-y|--yes]}} {{package}}` diff --git a/pages/common/pip-wheel.md b/pages/common/pip-wheel.md new file mode 100644 index 00000000000000..89e6fa2cc8ebae --- /dev/null +++ b/pages/common/pip-wheel.md @@ -0,0 +1,28 @@ +# pip wheel + +> Build wheel archives for packages and dependencies. +> More information: . + +- Build a wheel for a package: + +`pip wheel {{package}}` + +- Build wheels for packages in requirements file: + +`pip wheel {{[-r|--requirement]}} {{path/to/requirements.txt}}` + +- Build wheel to a specific directory: + +`pip wheel {{package}} {{[-w|--wheel-dir]}} {{path/to/directory}}` + +- Build wheel without dependencies: + +`pip wheel {{package}} --no-deps` + +- Build wheel from local project: + +`pip wheel {{path/to/project}}` + +- Build wheel from Git repository: + +`pip wheel git+{{https://github.com/user/repo.git}}` diff --git a/pages/common/pip.md b/pages/common/pip.md index 48a6fe94ee0519..87354fc23fc09f 100644 --- a/pages/common/pip.md +++ b/pages/common/pip.md @@ -1,24 +1,37 @@ # pip > Python package manager. -> More information: . +> Some subcommands such as `install` have their own usage documentation. +> More information: . - Install a package (see `pip install` for more install examples): -`pip install {{package_name}}` +`pip install {{package}}` + +- Install a package to the user's directory instead of the system-wide default location: + +`pip install --user {{package}}` - Upgrade a package: -`pip install -U {{package_name}}` +`pip install {{[-U|--upgrade]}} {{package}}` - Uninstall a package: -`pip uninstall {{package_name}}` +`pip uninstall {{package}}` - Save installed packages to file: `pip freeze > {{requirements.txt}}` +- List installed packages: + +`pip list` + - Show installed package info: -`pip show {{package_name}}` +`pip show {{package}}` + +- Install packages from a file: + +`pip install {{[-r|--requirement]}} {{requirements.txt}}` diff --git a/pages/common/pip3.md b/pages/common/pip3.md index da1b560abbef6c..913a33078748d4 100644 --- a/pages/common/pip3.md +++ b/pages/common/pip3.md @@ -3,25 +3,21 @@ > Python package manager. > More information: . -- Find available packages: - -`pip3 search {{package_name}}` - - Install a package: -`pip3 install {{package_name}}` +`pip3 install {{package}}` - Install a specific version of a package: -`pip3 install {{package_name}}=={{package_version}}` +`pip3 install {{package}}=={{version}}` - Upgrade a package: -`pip3 install --upgrade {{package_name}}` +`pip3 install {{[-U|--upgrade]}} {{package}}` - Uninstall a package: -`pip3 uninstall {{package_name}}` +`pip3 uninstall {{package}}` - Save the list of installed packages to a file: @@ -29,8 +25,8 @@ - Install packages from a file: -`pip3 install --requirements {{requirements.txt}}` +`pip3 install {{[-r|--requirement]}} {{requirements.txt}}` - Show installed package info: -`pip3 show {{package_name}}` +`pip3 show {{package}}` diff --git a/pages/common/pipenv.md b/pages/common/pipenv.md index 9f4e064ce577a4..5bb5735d4e9106 100644 --- a/pages/common/pipenv.md +++ b/pages/common/pipenv.md @@ -1,7 +1,7 @@ # pipenv > Simple and unified Python development workflow. -> Manages packages and the virtual environment for a project. +> Manage packages and the virtual environment for a project. > More information: . - Create a new project: @@ -14,7 +14,7 @@ - Install a package: -`pipenv install {{package_name}}` +`pipenv install {{package}}` - Install all the dependencies for a project: @@ -26,7 +26,7 @@ - Uninstall a package: -`pipenv uninstall {{package_name}}` +`pipenv uninstall {{package}}` - Start a shell within the created virtual environment: diff --git a/pages/common/piper.md b/pages/common/piper.md new file mode 100644 index 00000000000000..a680e0f15d44f1 --- /dev/null +++ b/pages/common/piper.md @@ -0,0 +1,25 @@ +# piper + +> A fast, local neural text to speech system. +> Try out and download speech models from . +> More information: . + +- Output a WAV [f]ile using a text-to-speech [m]odel (assuming a configuration file at model_path + .json): + +`echo {{Thing to say}} | piper -m {{path/to/model.onnx}} -f {{outputfile.wav}}` + +- Output a WAV [f]ile using a [m]odel and specifying its JSON [c]onfig file: + +`echo {{'Thing to say'}} | piper -m {{path/to/model.onnx}} -c {{path/to/model.onnx.json}} -f {{outputfile.wav}}` + +- Select a particular speaker in a voice with multiple speakers by specifying the speaker's ID number: + +`echo {{'Warum?'}} | piper -m {{de_DE-thorsten_emotional-medium.onnx}} --speaker {{1}} -f {{angry.wav}}` + +- Stream the output to the mpv media player: + +`echo {{'Hello world'}} | piper -m {{en_GB-northern_english_male-medium.onnx}} --output-raw -f - | mpv -` + +- Speak twice as fast, with huge gaps between sentences: + +`echo {{'Speaking twice the speed. With added drama!'}} | piper -m {{foo.onnx}} --length_scale {{0.5}} --sentence_silence {{2}} -f {{drama.wav}}` diff --git a/pages/common/pipes.sh.md b/pages/common/pipes.sh.md new file mode 100644 index 00000000000000..6d8cf727bb986a --- /dev/null +++ b/pages/common/pipes.sh.md @@ -0,0 +1,24 @@ +# pipes.sh + +> A Bash script which draws randomly pathed pipes over the terminal. +> More information: . + +- Change the pa[t]tern of the pipes: + +`pipes.sh -t {{0..9}}` + +- Change the [c]olor of the pipes: + +`pipes.sh -c {{0..7}}` + +- Change the [f]ramerate of the pipes: + +`pipes.sh -f {{20..100}}` + +- Disable [C]olors: + +`pipes.sh -C` + +- Display [v]ersion: + +`pipes.sh -v` diff --git a/pages/common/pipx.md b/pages/common/pipx.md index 6d2bf06e9c91dc..ba8fc172cda95f 100644 --- a/pages/common/pipx.md +++ b/pages/common/pipx.md @@ -1,7 +1,7 @@ # pipx -> Install and run python applications in isolated environments. -> More information: . +> Install and run Python applications in isolated environments. +> More information: . - Run an app in a temporary virtual environment: @@ -18,3 +18,15 @@ - Run an app in a temporary virtual environment with a package name different from the executable: `pipx run --spec {{httpx-cli}} {{httpx}} {{http://www.github.com}}` + +- Inject dependencies into an existing virtual environment: + +`pipx inject {{package}} {{dependency1 dependency2 ...}}` + +- Install a package in a virtual environment with pip arguments: + +`pipx install --pip-args='{{pip-args}}' {{package}}` + +- Upgrade/reinstall/uninstall all installed packages: + +`pipx {{upgrade-all|uninstall-all|reinstall-all}}` diff --git a/pages/common/pixi-config.md b/pages/common/pixi-config.md new file mode 100644 index 00000000000000..5dc8c6835eb0be --- /dev/null +++ b/pages/common/pixi-config.md @@ -0,0 +1,28 @@ +# pixi config + +> Manage the configuration file. +> More information: . + +- Edit the configuration file: + +`pixi config edit` + +- List all configurations: + +`pixi config list` + +- Prepend a value to a list configuration key: + +`pixi config prepend {{key}} {{value}}` + +- Append a value to a list configuration key: + +`pixi config append {{key}} {{value}}` + +- Set a configuration key to a value: + +`pixi config set {{key}} {{value}}` + +- Unset a configuration key: + +`pixi config unset {{key}}` diff --git a/pages/common/pixi-global.md b/pages/common/pixi-global.md new file mode 100644 index 00000000000000..a7fb2648c6cb8a --- /dev/null +++ b/pages/common/pixi-global.md @@ -0,0 +1,24 @@ +# pixi global + +> Manage global packages. +> More information: . + +- Install a package globally and add to path: + +`pixi global install {{package1 package2 ...}}` + +- Uninstall a package globally: + +`pixi global remove {{package1 package2 ...}}` + +- List all globally installed packages: + +`pixi global list` + +- Update a globally installed package: + +`pixi global upgrade {{package}}` + +- Update all globally installed packages: + +`pixi global upgrade-all` diff --git a/pages/common/pixi-project.md b/pages/common/pixi-project.md new file mode 100644 index 00000000000000..94efb95b1656de --- /dev/null +++ b/pages/common/pixi-project.md @@ -0,0 +1,24 @@ +# pixi project + +> Modify the project configuration file. +> More information: . + +- Manage project channels: + +`pixi project channel {{command}}` + +- Manage project description: + +`pixi project description {{command}}` + +- Manage project platform: + +`pixi project platform {{command}}` + +- Manage project version: + +`pixi project version {{command}}` + +- Manage project environment: + +`pixi project environment {{command}}` diff --git a/pages/common/pixi-task.md b/pages/common/pixi-task.md new file mode 100644 index 00000000000000..0644b1dd1e5f46 --- /dev/null +++ b/pages/common/pixi-task.md @@ -0,0 +1,20 @@ +# pixi task + +> Manage tasks in the project environment. +> More information: . + +- Create a new task: + +`pixi task add {{task_name}} {{task_command}}` + +- List all tasks in the project: + +`pixi task list` + +- Remove a task: + +`pixi task remove {{task_name}}` + +- Create an alias for a task: + +`pixi task alias {{alias_name}} {{task1 task2 ...}}` diff --git a/pages/common/pixi.md b/pages/common/pixi.md new file mode 100644 index 00000000000000..76cbeacbc0b7cb --- /dev/null +++ b/pages/common/pixi.md @@ -0,0 +1,32 @@ +# pixi + +> Developer Workflow and Environment Management for projects. +> More information: . + +- Initialize a new project: + +`pixi init {{path/to/project}}` + +- Add project dependencies: + +`pixi add {{dependency1 dependency2 ...}}` + +- Start a pixi shell in the project environment: + +`pixi shell` + +- Run a task in the project environment: + +`pixi run {{task}}` + +- Manage tasks in the project environment: + +`pixi task {{command}}` + +- Display help: + +`pixi {{command}} --help` + +- Clean environment and task cache: + +`pixi clean` diff --git a/pages/common/pixiecore.md b/pages/common/pixiecore.md new file mode 100644 index 00000000000000..9dc6de57b9c3ca --- /dev/null +++ b/pages/common/pixiecore.md @@ -0,0 +1,16 @@ +# pixiecore + +> Manage the network booting of machines. +> More information: . + +- Start a PXE boot server which provides a `netboot.xyz` boot image: + +`pixiecore {{quick}} xyz --dhcp-no-bind` + +- Start a new PXE boot server which provides an Ubuntu boot image: + +`pixiecore {{quick}} ubuntu --dhcp-no-bind` + +- List all available boot images for quick mode: + +`pixiecore quick --help` diff --git a/pages/common/pixterm.md b/pages/common/pixterm.md new file mode 100644 index 00000000000000..ec1208419035e2 --- /dev/null +++ b/pages/common/pixterm.md @@ -0,0 +1,21 @@ +# pixterm + +> Image printing in the terminal. +> See also: `chafa`, `catimg`. +> More information: . + +- Render a static image directly in the terminal: + +`pixterm {{path/to/file}}` + +- Use the image's original aspect ratio: + +`pixterm -s 2 {{path/to/file}}` + +- Specify a custom aspect ratio using a specific number of [t]erminal [r]ows and [c]olumns: + +`pixterm -tr {{24}} -tc {{80}} {{path/to/file}}` + +- Filter the output with a [m]atte background color and character [d]ithering: + +`pixterm -m {{000000}} -d 2 {{path/to/file}}` diff --git a/pages/common/pjtoppm.md b/pages/common/pjtoppm.md new file mode 100644 index 00000000000000..b02ab14bad7e7c --- /dev/null +++ b/pages/common/pjtoppm.md @@ -0,0 +1,8 @@ +# pjtoppm + +> Convert a HP PaintJet file to PPM. +> More information: . + +- Convert a HP PaintJet file to PPM: + +`pjtoppm {{path/to/input.pj}} > {{path/to/output.ppm}}` diff --git a/pages/common/pkcs11-tool.md b/pages/common/pkcs11-tool.md new file mode 100644 index 00000000000000..4eae1aad0c60d5 --- /dev/null +++ b/pages/common/pkcs11-tool.md @@ -0,0 +1,20 @@ +# pkcs11-tool + +> Utility for managing and using PKCS #11 security tokens. +> More information: . + +- List slots and their potential token, using a specific module (e.g. `/usr/lib/softhsm/libsofthsm2.so`): + +`pkcs11-tool --module {{path/to/module.so}} {{[-L|--list-slots]}} {{[-T|--list-token-slots]}}` + +- List objects in a specific slot. (Note: `slot_id` is not the slot index shown as "Slot X"): + +`pkcs11-tool {{[-O|--list-objects]}} {{[-p|--pin]}} {{auth_pin}} --slot {{slot_id}}` + +- Create a new object with a specific label and type: + +`pkcs11-tool --slot {{slot_id}} {{[-p|--pin]}} {{auth_pin}} {{[-y|--type]}} {{cert|privkey|pubkey|secrkey|data|...}} {{[-a|--label]}} "{{label}}" {{[-d|--id]}} {{01}} {{[-w|--write-object]}} {{path/to/cert.crt}}` + +- Delete an object by its label and type: + +`pkcs11-tool --slot {{slot_id}} {{[-p|--pin]}} {{auth_pin}} {{[-y|--type]}} {{cert|privkey|pubkey|secrkey|data|...}} {{[-a|--label]}} "{{label}}" {{[-b|--delete-object]}}` diff --git a/pages/linux/pkg-config.md b/pages/common/pkg-config.md similarity index 100% rename from pages/linux/pkg-config.md rename to pages/common/pkg-config.md diff --git a/pages/common/pkgz.md b/pages/common/pkgz.md new file mode 100644 index 00000000000000..ec09e2d875aea6 --- /dev/null +++ b/pages/common/pkgz.md @@ -0,0 +1,24 @@ +# pkgz + +> Unified package manager for installing, removing, updating, and searching packages from multiple sources. +> More information: . + +- Install a package: + +`pkgz install {{package_name}}` + +- Remove a package: + +`pkgz remove {{package_name}}` + +- Search for a package: + +`pkgz search {{package_name}}` + +- Update all packages in all sources: + +`pkgz update` + +- Display version: + +`pkgz --version` diff --git a/pages/common/pkill.md b/pages/common/pkill.md index a0d89acaf3a3c2..818e9528ebf40b 100644 --- a/pages/common/pkill.md +++ b/pages/common/pkill.md @@ -2,15 +2,24 @@ > Signal process by name. > Mostly used for stopping processes. +> More information: . - Kill all processes which match: -`pkill -9 {{process_name}}` +`pkill "{{process_name}}"` - Kill all processes which match their full command instead of just the process name: -`pkill -9 -f "{{command_name}}"` +`pkill {{[-f|--full]}} "{{command_name}}"` + +- Force kill matching processes (can't be blocked): + +`pkill -9 "{{process_name}}"` - Send SIGUSR1 signal to processes which match: -`pkill -USR1 {{process_name}}` +`pkill -USR1 "{{process_name}}"` + +- Kill the main `firefox` process to close the browser: + +`pkill {{[-o|--oldest]}} "{{firefox}}"` diff --git a/pages/common/pkl.md b/pages/common/pkl.md new file mode 100644 index 00000000000000..bbcad71f417e57 --- /dev/null +++ b/pages/common/pkl.md @@ -0,0 +1,28 @@ +# pkl + +> Manages, evaluates, and tests Pkl configuration modules. +> More information: . + +- Evaluate the given Pkl modules and produce their rendering results: + +`pkl eval {{module.pkl}}` + +- Run as a server that communicates over standard input/output: + +`pkl server` + +- Evaluate Pkl modules as tests and produces a report: + +`pkl test {{module.pkl}}` + +- Start a REPL session: + +`pkl repl` + +- Prepare a Pkl project for publishing as a package: + +`pkl project package {{path/to/project_directory}}` + +- Resolve project dependencies and writes the resolved versions to a file at path `PklProject.deps.json`: + +`pkl project resolve {{path/to/project_directory}}` diff --git a/pages/common/plantuml.md b/pages/common/plantuml.md index a1ca3a59e84c06..57a444d230026d 100644 --- a/pages/common/plantuml.md +++ b/pages/common/plantuml.md @@ -19,6 +19,14 @@ `plantuml -o {{path/to/output}} {{diagram.puml}}` +- Render a diagram without storing the diagram's source code (Note: It's stored by default when the `-nometadata` option isn't specified): + +`plantuml -nometadata {{diagram.png}} > {{diagram.puml}}` + +- Retrieve source from a `plantuml` diagram's metadata: + +`plantuml -metadata {{diagram.png}} > {{diagram.puml}}` + - Render a diagram with the configuration file: `plantuml -config {{config.cfg}} {{diagram.puml}}` diff --git a/pages/common/platformio.md b/pages/common/platformio.md new file mode 100644 index 00000000000000..3e96be7246ff18 --- /dev/null +++ b/pages/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> This command is an alias of `pio`. + +- View documentation for the original command: + +`tldr pio` diff --git a/pages/common/play.md b/pages/common/play.md index 886337f183171b..a18c31315cdfb5 100644 --- a/pages/common/play.md +++ b/pages/common/play.md @@ -1,21 +1,21 @@ # play > Audio player of SoX - Sound eXchange. -> Plays any audio from the command line, with audio formats identified by the extension. -> More information: . +> Plays any audio, with audio formats identified by the extension. +> More information: . - Play the given audio file: -`play {{audiofile}}` +`play {{path/to/audio_file}}` - Play the given audio files: -`play {{audiofile1}} {{audiofile2}}` +`play {{path/to/audio_file1 path/to/audio_file2 ...}}` - Play the given audio at twice the speed: -`play {{audiofile}} speed 2.0` +`play {{path/to/audio_file}} speed 2.0` - Play the given audio in reverse: -`play {{audiofile}} reverse` +`play {{path/to/audio_file}} reverse` diff --git a/pages/common/plenv.md b/pages/common/plenv.md new file mode 100644 index 00000000000000..863e3e105cc693 --- /dev/null +++ b/pages/common/plenv.md @@ -0,0 +1,32 @@ +# plenv + +> Switch between multiple versions of Perl. +> More information: . + +- Show the currently selected Perl version and how it was selected: + +`plenv version` + +- List all available installed Perl versions: + +`plenv versions` + +- Set the global Perl version (used unless a local or shell version takes priority): + +`plenv global {{version}}` + +- Set the local application-specific Perl version (used in the current directory and all directories below it): + +`plenv local {{version}}` + +- Set the shell-specific Perl version (used for the current session only): + +`plenv shell {{version}}` + +- Display help: + +`plenv` + +- Display help for a command: + +`plenv help {{command}}` diff --git a/pages/common/plesk.md b/pages/common/plesk.md new file mode 100644 index 00000000000000..064aab5cd58fde --- /dev/null +++ b/pages/common/plesk.md @@ -0,0 +1,28 @@ +# plesk + +> Plesk hosting control panel. +> More information: . + +- Generate an auto login link for the admin user and print it: + +`plesk login` + +- Show product version information: + +`plesk version` + +- List all hosted domains: + +`plesk bin domain --list` + +- Start watching for changes in the `panel.log` file: + +`plesk log {{panel.log}}` + +- Start the interactive MySQL console: + +`plesk db` + +- Open the Plesk main configuration file in the default editor: + +`plesk conf {{panel.ini}}` diff --git a/pages/common/plink.md b/pages/common/plink.md new file mode 100644 index 00000000000000..1012d3fde03f9e --- /dev/null +++ b/pages/common/plink.md @@ -0,0 +1,9 @@ +# plink + +> PuTTy's command line utility. +> See also: `ssh`. +> More information: . + +- Connect to an address: + +`plink {{IP_address}}` diff --git a/pages/common/plocate.md b/pages/common/plocate.md new file mode 100644 index 00000000000000..60f9864808cf94 --- /dev/null +++ b/pages/common/plocate.md @@ -0,0 +1,13 @@ +# plocate + +> Find filenames quickly. +> Make sure to run `sudo updatedb` to include new files. +> More information: . + +- Look for patterns in the database (recomputed periodically): + +`plocate {{pattern}}` + +- Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`): + +`plocate */{{filename}}` diff --git a/pages/common/pm2.md b/pages/common/pm2.md index 618422a84a0e69..6af63a0762645a 100644 --- a/pages/common/pm2.md +++ b/pages/common/pm2.md @@ -6,7 +6,7 @@ - Start a process with a name that can be used for later operations: -`pm2 start {{app.js}} --name {{myapp}}` +`pm2 start {{app.js}} --name {{application_name}}` - List processes: @@ -18,11 +18,11 @@ - Stop a process: -`pm2 stop {{myapp}}` +`pm2 stop {{application_name}}` - Restart a process: -`pm2 restart {{myapp}}` +`pm2 restart {{application_name}}` - Dump all processes for resurrecting them later: @@ -31,7 +31,3 @@ - Resurrect previously dumped processes: `pm2 resurrect` - -- Launch monitoring: - -`pm2 monit` diff --git a/pages/common/pngcheck.md b/pages/common/pngcheck.md new file mode 100644 index 00000000000000..b4669f7439abac --- /dev/null +++ b/pages/common/pngcheck.md @@ -0,0 +1,29 @@ +# pngcheck + +> Forensics tool for validating the integrity of PNG based (PNG, JNG, MNG) image files. +> Can also extract embedded images and text from a file. +> More information: . + +- Verify the integrity of an image file (width, height, and color depth): + +`pngcheck {{path/to/image.png}}` + +- Print information for an image with [c]olorized output: + +`pngcheck -c {{path/to/image.png}}` + +- Print [v]erbose information for an image: + +`pngcheck -cvt {{path/to/image.png}}` + +- Receive an image from `stdin` and display detailed information: + +`cat {{path/to/image.png}} | pngcheck -cvt` + +- [s]earch for PNGs within a specific file and display information about them: + +`pngcheck -s {{path/to/image.png}}` + +- Search for PNGs within another file and e[x]tract them: + +`pngcheck -x {{path/to/image.png}}` diff --git a/pages/common/pngcrush.md b/pages/common/pngcrush.md index f44168c6815262..46dfabba259266 100644 --- a/pages/common/pngcrush.md +++ b/pages/common/pngcrush.md @@ -1,13 +1,13 @@ # pngcrush -> PNG image compression utility. +> PNG compression utility. > More information: . - Compress a PNG file: `pngcrush {{in.png}} {{out.png}}` -- Compress all PNGs and output to directory: +- Compress all PNGs and output them to the specified directory: `pngcrush -d {{path/to/output}} *.png` diff --git a/pages/common/pngquant.md b/pages/common/pngquant.md new file mode 100644 index 00000000000000..3cc166abbdaefa --- /dev/null +++ b/pages/common/pngquant.md @@ -0,0 +1,36 @@ +# pngquant + +> PNG converter and lossy image compressor. +> More information: . + +- Compress a specific PNG as much as possible and write result to a new file: + +`pngquant {{path/to/file.png}}` + +- Compress a specific PNG and override original: + +`pngquant --ext .png --force {{path/to/file.png}}` + +- Try to compress a specific PNG with custom quality (skip if below the min value): + +`pngquant --quality {{0-100}} {{path/to/file.png}}` + +- Compress a specific PNG with the number of colors reduced to 64: + +`pngquant {{64}} {{path/to/file.png}}` + +- Compress a specific PNG and skip if the file is larger than the original: + +`pngquant --skip-if-larger {{path/to/file.png}}` + +- Compress a specific PNG and remove metadata: + +`pngquant --strip {{path/to/file.png}}` + +- Compress a specific PNG and save it to the given path: + +`pngquant {{path/to/file.png}} --output {{path/to/file.png}}` + +- Compress a specific PNG and show progress: + +`pngquant --verbose {{path/to/file.png}}` diff --git a/pages/common/pngtopam.md b/pages/common/pngtopam.md new file mode 100644 index 00000000000000..06e2d2e5a6c197 --- /dev/null +++ b/pages/common/pngtopam.md @@ -0,0 +1,21 @@ +# pngtopam + +> Convert a PNG image to a Netpbm image. +> See also: `pamtopng`. +> More information: . + +- Convert the specified PNG image to a Netpbm image: + +`pngtopam {{path/to/image.png}} > {{path/to/output.pam}}` + +- Create an output image that includes both the main image and transparency mask of the input image: + +`pngtopam -alphapam {{path/to/image.png}} > {{path/to/output.pam}}` + +- Replace transparent pixels by the specified color: + +`pngtopam {{[-m|-mix]}} {{[-ba|-background]}} {{color}} {{path/to/image.png}} > {{path/to/output.pam}}` + +- Write tEXt chunks found in the input image to the specified text file: + +`pngtopam {{[-te|-text]}} {{path/to/file.txt}} {{path/to/image.png}} > {{path/to/output.pam}}` diff --git a/pages/common/pngtopnm.md b/pages/common/pngtopnm.md new file mode 100644 index 00000000000000..a5bb916b6e5e10 --- /dev/null +++ b/pages/common/pngtopnm.md @@ -0,0 +1,8 @@ +# pngtopnm + +> This command has been superseded by `pngtopam`. +> More information: . + +- View documentation for the current command: + +`tldr pngtopam` diff --git a/pages/common/pnmalias.md b/pages/common/pnmalias.md new file mode 100644 index 00000000000000..eb69f8fd68023c --- /dev/null +++ b/pages/common/pnmalias.md @@ -0,0 +1,20 @@ +# pnmalias + +> Apply antialiasing onto a PNM image. +> More information: . + +- Perform antialiasing on a PNM image, taking black pixels as background and white pixels as foreground: + +`pnmalias {{path/to/input.pnm}} > {{path/to/output.ppm}}` + +- Explicitly specify the background and foreground color: + +`pnmalias -bcolor {{background_color}} -fcolor {{foreground_color}} {{path/to/input.pnm}} > {{path/to/output.ppm}}` + +- Apply altialiasing to foreground pixels only: + +`pnmalias {{[-fo|-fonly]}} {{path/to/input.pnm}} > {{path/to/output.ppm}}` + +- Apply antialiasing to all surrounding pixels of background pixels: + +`pnmalias {{[-ba|-balias]}} {{path/to/input.pnm}} > {{path/to/output.ppm}}` diff --git a/pages/common/pnmarith.md b/pages/common/pnmarith.md new file mode 100644 index 00000000000000..0bce46e0261474 --- /dev/null +++ b/pages/common/pnmarith.md @@ -0,0 +1,8 @@ +# pnmarith + +> This command has been superseded by `pamarith`. +> More information: . + +- View documentation for the current command: + +`tldr pamarith` diff --git a/pages/common/pnmcolormap.md b/pages/common/pnmcolormap.md new file mode 100644 index 00000000000000..bd61116e3035ec --- /dev/null +++ b/pages/common/pnmcolormap.md @@ -0,0 +1,16 @@ +# pnmcolormap + +> Create quantization color map for a PNM image. +> More information: . + +- Generate an image using only `n_colors` or less colors as close as possible to the input image: + +`pnmcolormap {{n_colors}} {{path/to/input.pnm}} > {{path/to/output.ppm}}` + +- Use the splitspread strategy for determining the output colors, possibly producing a better result for images with small details: + +`pnmcolormap {{[-splits|-splitspread]}} {{n_colors}} {{path/to/input.pnm}} > {{path/to/output.ppm}}` + +- Sort the resulting colormap, which is useful for comparing colormaps: + +`pnmcolormap {{[-so|-sort]}} {{path/to/input.pnm}} > {{path/to/output.ppm}}` diff --git a/pages/common/pnmcomp.md b/pages/common/pnmcomp.md new file mode 100644 index 00000000000000..3c053cfb215231 --- /dev/null +++ b/pages/common/pnmcomp.md @@ -0,0 +1,8 @@ +# pnmcomp + +> This command has been superseded by `pamcomp`. +> More information: . + +- View documentation for the current command: + +`tldr pamcomp` diff --git a/pages/common/pnmconvol.md b/pages/common/pnmconvol.md new file mode 100644 index 00000000000000..338b991c7f5452 --- /dev/null +++ b/pages/common/pnmconvol.md @@ -0,0 +1,20 @@ +# pnmconvol + +> Convolute a PNM image. +> More information: . + +- Convolve a PNM image with the specified convolution matrix: + +`pnmconvol -matrix=-1,3,-1 {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Convolve a PNM image with the convolution matrix in the specified files, one for each layer in the input image: + +`pnmconvol -matrixfile {{path/to/matrix1,path/to/matrix2,...}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Convolve a PNM image with the convolution matrix in the specified PNM file: + +`pnmconvol {{path/to/matrix.pnm}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Normalize the weights in the convolution matrix such that they add up to one: + +`pnmconvol -matrix=-1,3,-1 -normalize {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmcrop.md b/pages/common/pnmcrop.md new file mode 100644 index 00000000000000..b27f542980f0a6 --- /dev/null +++ b/pages/common/pnmcrop.md @@ -0,0 +1,20 @@ +# pnmcrop + +> Crop PNM images. +> More information: . + +- Remove white borders on a PNM image: + +`pnmcrop {{[-w|-white]}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Remove borders of the specified color that are on the top and left side of the image: + +`pnmcrop -bg-color {{color}} {{[-t|-top]}} {{[-l|-left]}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Determine the color of the borders to be removed by the color of the pixel in the specified corner: + +`pnmcrop -bg-corner {{topleft|topright|bottomleft|bottomright}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Leave a border with a width of `n` pixels. Additionally, specify the behaviour if the image is entirely made out of background: + +`pnmcrop {{[-m|-margin]}} {{n}} {{[-blan|-blank-image]}} {{pass|minimize|maxcrop}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmcut.md b/pages/common/pnmcut.md new file mode 100644 index 00000000000000..f8c696ad89eb7c --- /dev/null +++ b/pages/common/pnmcut.md @@ -0,0 +1,8 @@ +# pnmcut + +> This command has been superseded by `pamcut`. +> More information: . + +- View documentation for the current command: + +`tldr pamcut` diff --git a/pages/common/pnmdepth.md b/pages/common/pnmdepth.md new file mode 100644 index 00000000000000..cbabdb3d24c6d1 --- /dev/null +++ b/pages/common/pnmdepth.md @@ -0,0 +1,7 @@ +# pnmdepth + +> This command is an alias of `pamdepth`. + +- View documentation for the original command: + +`tldr pamdepth` diff --git a/pages/common/pnmenlarge.md b/pages/common/pnmenlarge.md new file mode 100644 index 00000000000000..88b67709d15160 --- /dev/null +++ b/pages/common/pnmenlarge.md @@ -0,0 +1,8 @@ +# pnmenlarge + +> This command has been superseded by `pamenlarge`. +> More information: . + +- View documentation for the current command: + +`tldr pamenlarge` diff --git a/pages/common/pnmfile.md b/pages/common/pnmfile.md new file mode 100644 index 00000000000000..8576a50fa287ec --- /dev/null +++ b/pages/common/pnmfile.md @@ -0,0 +1,8 @@ +# pnmfile + +> This command has been superseded by `pamfile`. +> More information: . + +- View documentation for the current command: + +`tldr pamfile` diff --git a/pages/common/pnmflip.md b/pages/common/pnmflip.md new file mode 100644 index 00000000000000..3ea5864291284a --- /dev/null +++ b/pages/common/pnmflip.md @@ -0,0 +1,8 @@ +# pnmflip + +> This command has been superseded by `pamflip`. +> More information: . + +- View documentation for the current command: + +`tldr pamflip` diff --git a/pages/common/pnmgamma.md b/pages/common/pnmgamma.md new file mode 100644 index 00000000000000..cf3834404ce2fc --- /dev/null +++ b/pages/common/pnmgamma.md @@ -0,0 +1,20 @@ +# pnmgamma + +> Perform gamma correction on PNM images. +> More information: . + +- Convert the image from BT.709 luminance to radiance or sRGB luminance: + +`pnmgamma -{{bt709tolinear|bt709tosrgb}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Convert the image from radiance or sRGB luminance to BT.709 luminance: + +`pnmgamma -{{lineartobt709|srgbtobt709}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Specify the gamma value used for the gamma transfer function: + +`pnmgamma {{[-ga|-gamma]}} {{value}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Specify the gamma value used for the gamma transfer function per color component: + +`pnmgamma {{[-rg|-rgamma]}} {{value}} {{[-gg|-ggamma]}} {{value}} {{[-bg|-bgamma]}} {{value}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmhisteq.md b/pages/common/pnmhisteq.md new file mode 100644 index 00000000000000..e13872eb7294e3 --- /dev/null +++ b/pages/common/pnmhisteq.md @@ -0,0 +1,16 @@ +# pnmhisteq + +> Histogram-equalize a PNM image. +> More information: . + +- Increase the contrast of a PNM image using histogram equalization: + +`pnmhisteq {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Only modify grey pixels: + +`pnmhisteq {{[-g|-grey]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Do not include black or white pixels in the histogram equalization: + +`pnmhisteq -no{{black|white}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmhistmap.md b/pages/common/pnmhistmap.md new file mode 100644 index 00000000000000..9e723548fca00b --- /dev/null +++ b/pages/common/pnmhistmap.md @@ -0,0 +1,16 @@ +# pnmhistmap + +> Draw a histogram of a PNM image. +> More information: . + +- Draw a histogram of a PNM image: + +`pnmhistmap {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Draw the histogram as dots instead of bars: + +`pnmhistmap {{[-d|-dots]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Specify the range of intensity values to include: + +`pnmhistmap {{[-l|-lval]}} {{minval}} {{[-rv|-rval]}} {{maxval}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmindex.md b/pages/common/pnmindex.md new file mode 100644 index 00000000000000..4d58e658b8a9d3 --- /dev/null +++ b/pages/common/pnmindex.md @@ -0,0 +1,21 @@ +# pnmindex + +> Build a visual index of multiple PNM images. +> See also: `pamundice`. +> More information: . + +- Produce an image containing thumbnails of the specified images in a grid: + +`pnmindex {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}` + +- Specify the size of the (quadratic) thumbnails: + +`pnmindex {{[-s|-size]}} {{50}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}` + +- Specify the number of thumbnails per row: + +`pnmindex {{[-a|-across]}} {{10}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}` + +- Specify the maximum number of colors in the output: + +`pnmindex {{[-c|-colors]}} {{512}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnminterp.md b/pages/common/pnminterp.md new file mode 100644 index 00000000000000..c4a8885414eda9 --- /dev/null +++ b/pages/common/pnminterp.md @@ -0,0 +1,8 @@ +# pnminterp + +> This command has been superseded by `pamstretch`. +> More information: . + +- View documentation for the current command: + +`tldr pamstretch` diff --git a/pages/common/pnminvert.md b/pages/common/pnminvert.md new file mode 100644 index 00000000000000..c89de8e5a33a90 --- /dev/null +++ b/pages/common/pnminvert.md @@ -0,0 +1,8 @@ +# pnminvert + +> Invert a PNM image. +> More information: . + +- Invert the colors or greyscale values in a PNM image: + +`pnminvert {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmmargin.md b/pages/common/pnmmargin.md new file mode 100644 index 00000000000000..047a803ceda98a --- /dev/null +++ b/pages/common/pnmmargin.md @@ -0,0 +1,12 @@ +# pnmmargin + +> Add a border to a PNM image. +> More information: . + +- Add a border of the specified size to a PNM image: + +`pnmmargin {{size}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Specify the color of the border: + +`pnmmargin {{[-c|-color]}} {{color}} {{size}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmmercator.md b/pages/common/pnmmercator.md new file mode 100644 index 00000000000000..0d9fe1087dee2a --- /dev/null +++ b/pages/common/pnmmercator.md @@ -0,0 +1,13 @@ +# pnmmercator + +> Perform Mercator transformations on Netpbm images. +> See also: `pnmglobe`. +> More information: . + +- Convert a rectangular projection worldmap to Mercator projection: + +`pnmmercator {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Convert a Mercator projection worldmap to rectangular projection: + +`pnmmercator {{[-i|-inverse]}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmmontage.md b/pages/common/pnmmontage.md new file mode 100644 index 00000000000000..f01f63e9724015 --- /dev/null +++ b/pages/common/pnmmontage.md @@ -0,0 +1,20 @@ +# pnmmontage + +> Create a montage from multiple PNM images. +> More information: . + +- Produce a packing of the specified images: + +`pnmmontage {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}` + +- Specify the quality of the packing (Note: Larger values produce smaller packings but take longer to compute.): + +`pnmmontage -{{0..9}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}` + +- Produce a packing that is not larger than `p` percent of the optimal packing: + +`pnmmontage {{[-qua|-quality]}} {{p}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}` + +- Write the positions of the input files within the packed image to a machine-readable file: + +`pnmmontage {{[-d|-data]}} {{path/to/datafile}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmnlfilt.md b/pages/common/pnmnlfilt.md new file mode 100644 index 00000000000000..668bc07c2cefe6 --- /dev/null +++ b/pages/common/pnmnlfilt.md @@ -0,0 +1,16 @@ +# pnmnlfilt + +> Apply a non-linear filter onto a PNM image. +> More information: . + +- Apply the "alpha trimmed mean" filter with the specified alpha and radius values onto the PNM image: + +`pnmnlfilt {{0.0..0.5}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Apply the "optimal estimation smoothing" filter with the specified noise threshold and radius onto the PNM image: + +`pnmnlfilt {{1.0..2.0}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Apply the "edge enhancement" filter with the specified alpha and radius onto the PNM image: + +`pnmnlfilt {{-0.9..(-0.1)}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmnorm.md b/pages/common/pnmnorm.md new file mode 100644 index 00000000000000..8797f01770dc62 --- /dev/null +++ b/pages/common/pnmnorm.md @@ -0,0 +1,21 @@ +# pnmnorm + +> Normalize the contrast in a PNM image. +> See also: `pnmhisteq`. +> More information: . + +- Force the brightest pixels to be white, the darkest pixels to be black and spread out the ones in between linearly: + +`pnmnorm {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Force the brightest pixels to be white, the darkest pixels to be black and spread out the ones in between quadratically such that pixels with a brightness of `n` become 50 % bright: + +`pnmnorm {{[-midv|-midvalue]}} {{n}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Keep the pixels' hue, only modify the brightness: + +`pnmnorm {{[-k|-keephues]}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Specify a method to calculate a pixel's brightness: + +`pnmnorm -{{luminosity|colorvalue|saturation}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmpad.md b/pages/common/pnmpad.md new file mode 100644 index 00000000000000..f2b5aad49349eb --- /dev/null +++ b/pages/common/pnmpad.md @@ -0,0 +1,21 @@ +# pnmpad + +> Add borders to a PNM image. +> See also: `pnmmargin`, `pamcut`, `pamcomp`. +> More information: . + +- Add borders of the specified sizes to the image: + +`pnmpad {{[-l|-left]}} {{100}} {{[-ri|-right]}} {{150}} {{[-t|-top]}} {{123}} {{[-bo|-bottom]}} {{456}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Pad the image to the specified size: + +`pnmpad {{[-wi|-width]}} {{1000}} {{[-he|-height]}} {{500}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Pad the width of the image to the specified size, controlling the ratio between right and left padding: + +`pnmpad {{[-wi|-width]}} {{1000}} {{[-ha|-halign]}} {{0.7}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Pad the width of the image using the specified color: + +`pnmpad {{[-wi|-width]}} {{1000}} {{[-c|-color]}} {{red}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmpaste.md b/pages/common/pnmpaste.md new file mode 100644 index 00000000000000..d5489c2152caae --- /dev/null +++ b/pages/common/pnmpaste.md @@ -0,0 +1,16 @@ +# pnmpaste + +> Paste a PNM image into another PNM image. +> More information: . + +- Paste a PNM image into another PNM image at the specified coordinates: + +`pnmpaste {{x}} {{y}} {{path/to/image1.pnm}} {{path/to/image2.pnm}} > {{path/to/output.pnm}}` + +- Paste the image read from `stdin` into the specified image: + +`{{command}} | pnmpaste {{x}} {{y}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Combine the overlapping pixels by the specified boolean operation, where white pixels represent `true` while black pixels represent `false`: + +`pnmpaste -{{and|nand|or|nor|xor|xnor}} {{x}} {{y}} {{path/to/image1.pnm}} {{path/to/image2.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmpsnr.md b/pages/common/pnmpsnr.md new file mode 100644 index 00000000000000..317800562e226b --- /dev/null +++ b/pages/common/pnmpsnr.md @@ -0,0 +1,28 @@ +# pnmpsnr + +> Compute the difference between two images. +> More information: . + +- Compute the difference, i.e. the peak signal-to-noise ratio (PSNR) between two images: + +`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}}` + +- Compare the color components rather than the luminance and chrominance components of the images: + +`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -rgb` + +- Run in comparison mode, i.e. only output `nomatch` or `match` depending on whether the computing PSNR exceeds `n` or not: + +`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -target {{n}}` + +- Run in comparison mode and compare the individual image components, i.e. Y, Cb, and Cr, to the corresponding thresholds: + +`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -target1 {{threshold_Y}} -target2 {{threshold_Cb}} -target3 {{threshold_Cr}}` + +- Run in comparison mode and compare the individual image components, i.e. red, green, and blue to the corresponding thresholds: + +`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -rgb -target1 {{threshold_red}} -target2 {{threshold_green}} -target3 {{threshold_blue}}` + +- Produce machine-readable output: + +`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -machine` diff --git a/pages/common/pnmquant.md b/pages/common/pnmquant.md new file mode 100644 index 00000000000000..70fd8e94406055 --- /dev/null +++ b/pages/common/pnmquant.md @@ -0,0 +1,10 @@ +# pnmquant + +> Quantize the colors in a PNM image into a smaller set. +> This command is a combination of `pnmcolormap` and `pnmremap` and accepts the union of their options, except `-mapfile`. +> See also: `pnmquantall`. +> More information: . + +- Generate an image using only `n_colors` or less colors as close as possible to the input image: + +`pnmquant {{n_colors}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmquantall.md b/pages/common/pnmquantall.md new file mode 100644 index 00000000000000..81214e9d2816ce --- /dev/null +++ b/pages/common/pnmquantall.md @@ -0,0 +1,13 @@ +# pnmquantall + +> Run `pnmquant` on multiple files at once such that they share a common colormap. +> See also: `pnmquant`. +> More information: . + +- Run `pnmquant` on multiple files with the specified parameters, overwriting the original files: + +`pnmquantall {{n_colors}} {{path/to/input1.pnm path/to/input2.pnm ...}}` + +- Save the quantised images to files named the same as the input files, but with the specified extension appended: + +`pnmquantall {{[-e|-ext]}} {{extension}} {{n_colors}} {{path/to/input1.pnm path/to/input2.pnm ...}}` diff --git a/pages/common/pnmremap.md b/pages/common/pnmremap.md new file mode 100644 index 00000000000000..fc04d5eac03a23 --- /dev/null +++ b/pages/common/pnmremap.md @@ -0,0 +1,20 @@ +# pnmremap + +> Replace the colors in a PNM image. +> More information: . + +- Replace the colors in an image with those in the specified color palette: + +`pnmremap {{[-ma|-mapfile]}} {{path/to/palette_file.ppm}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Use Floyd-Steinberg dithering for representing colors missing in the color palette: + +`pnmremap {{[-ma|-mapfile]}} {{path/to/palette_file.ppm}} {{[-fs|-floyd]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Use the first color in the palette for representing colors missing in the color palette: + +`pnmremap {{[-ma|-mapfile]}} {{path/to/palette_file.ppm}} {{[-fi|-firstisdefault]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Use the specified color for representing colors missing in the color palette: + +`pnmremap {{[-ma|-mapfile]}} {{path/to/palette_file.ppm}} {{[-m|-missingcolor]}} {{color}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmrotate.md b/pages/common/pnmrotate.md new file mode 100644 index 00000000000000..abcecc5e169e96 --- /dev/null +++ b/pages/common/pnmrotate.md @@ -0,0 +1,16 @@ +# pnmrotate + +> Rotate a PNM image. +> More information: . + +- Rotate a PNM image by some angle (measured in degrees, counter-clockwise): + +`pnmrotate {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Specify the background color exposed by rotating the input image: + +`pnmrotate {{[-b|-background]}} {{color}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Disable anti-aliasing, improving performance but decreasing quality: + +`pnmrotate {{[-n|-noantialias]}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmscale.md b/pages/common/pnmscale.md new file mode 100644 index 00000000000000..aa96a39636ae6d --- /dev/null +++ b/pages/common/pnmscale.md @@ -0,0 +1,8 @@ +# pnmscale + +> This command has been replaced by `pamscale`. +> More information: . + +- View documentation for `pamscale`: + +`tldr pamscale` diff --git a/pages/common/pnmscalefixed.md b/pages/common/pnmscalefixed.md new file mode 100644 index 00000000000000..7b2db73e25a7fe --- /dev/null +++ b/pages/common/pnmscalefixed.md @@ -0,0 +1,17 @@ +# pnmscalefixed + +> Scale a PNM file quickly with possibly reduced quality. +> See also: `pamscale`. +> More information: . + +- Scale an image such that the result has the specified dimensions: + +`pnmscalefixed {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Scale an image such that the result has the specified width, keeping the aspect ratio: + +`pnmscalefixed {{[-w|-width]}} {{width}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Scale an image such that its width and height is changed by the specified factors: + +`pnmscalefixed {{[-xsc|-xscale]}} {{x_factor}} {{[-ysc|-yscale]}} {{y_factor}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmshear.md b/pages/common/pnmshear.md new file mode 100644 index 00000000000000..eb42bb75310727 --- /dev/null +++ b/pages/common/pnmshear.md @@ -0,0 +1,16 @@ +# pnmshear + +> Shear a PNM image. +> More information: . + +- Shear a PNM image by the specified angle: + +`pnmshear {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Specify the color of the background in the sheared image: + +`pnmshear {{[-b|-background]}} {{blue}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Do not perform anti-aliasing: + +`pnmshear {{[-n|-noantialias]}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmsmooth.md b/pages/common/pnmsmooth.md new file mode 100644 index 00000000000000..edb366c50a107a --- /dev/null +++ b/pages/common/pnmsmooth.md @@ -0,0 +1,12 @@ +# pnmsmooth + +> Smooth out a PNM image. +> More information: . + +- Smooth out a PNM image using a convolution matrix of size 3x3: + +`pnmsmooth {{path/to/input.pnm}} > {{path/to/output.pnm}}` + +- Smooth out a PNM image using a convolution matrix of size width times height: + +`pnmsmooth {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmsplit.md b/pages/common/pnmsplit.md new file mode 100644 index 00000000000000..4f46cdc019ba24 --- /dev/null +++ b/pages/common/pnmsplit.md @@ -0,0 +1,8 @@ +# pnmsplit + +> This command has been superseded by `pamsplit`. +> More information: . + +- View documentation for the current command: + +`tldr pamsplit` diff --git a/pages/common/pnmtile.md b/pages/common/pnmtile.md new file mode 100644 index 00000000000000..ed18c4b6587679 --- /dev/null +++ b/pages/common/pnmtile.md @@ -0,0 +1,8 @@ +# pnmtile + +> Replicate an image to fill a specified area. +> More information: . + +- Replicate an image to fill an area of the specified dimensions: + +`pnmtile {{width}} {{height}} {{path/to/input.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/pnmtoddif.md b/pages/common/pnmtoddif.md new file mode 100644 index 00000000000000..7e1085c22b4b0a --- /dev/null +++ b/pages/common/pnmtoddif.md @@ -0,0 +1,12 @@ +# pnmtoddif + +> Convert a PNM image to a DDIF image file. +> More information: . + +- Convert a PNM image to a DDIF image file: + +`pnmtoddif {{path/to/image.pnm}} > {{path/to/image.ddif}}` + +- Explicitly specify the horizontal and vertical resolution of the output image: + +`pnmtoddif {{[-r|-resolution]}} {{horizontal_dpi}} {{vertical_dpi}} {{path/to/image.pnm}} > {{path/to/image.ddif}}` diff --git a/pages/common/pnmtofiasco.md b/pages/common/pnmtofiasco.md new file mode 100644 index 00000000000000..d9582407f63008 --- /dev/null +++ b/pages/common/pnmtofiasco.md @@ -0,0 +1,20 @@ +# pnmtofiasco + +> Convert a PNM image to a compressed FIASCO file. +> More information: . + +- Convert a PNM image to a compressed FIASCO file: + +`pnmtofiasco {{path/to/file.pnm}} > {{path/to/file.fiasco}}` + +- Specify the input files through a pattern: + +`pnmtofiasco {{[-i|--image-name]}} "{{img[01-09+1].pnm}}" > {{path/to/file.fiasco}}` + +- Specify the compression quality: + +`pnmtofiasco {{[-q|--quality]}} {{quality_level}} {{path/to/file.pnm}} > {{path/to/file.fiasco}}` + +- Load the options to be used from the specified configuration file: + +`pnmtofiasco {{[-f|--config]}} {{path/to/fiascorc}} {{path/to/file.pnm}} > {{path/to/file.fiasco}}` diff --git a/pages/common/pnmtofits.md b/pages/common/pnmtofits.md new file mode 100644 index 00000000000000..5ad85cc9f181f9 --- /dev/null +++ b/pages/common/pnmtofits.md @@ -0,0 +1,8 @@ +# pnmtofits + +> This command has been superseded by `pamtofits`. +> More information: . + +- View documentation for the current command: + +`tldr pamtofits` diff --git a/pages/common/pnmtojpeg.md b/pages/common/pnmtojpeg.md new file mode 100644 index 00000000000000..4a3222a99e83c4 --- /dev/null +++ b/pages/common/pnmtojpeg.md @@ -0,0 +1,12 @@ +# pnmtojpeg + +> Convert a PNM image file to the JPEG/JFIF/EXIF image format. +> More information: . + +- Read a PNM image as input and produce a JPEG/JFIF/EXIF image as output: + +`pnmtojpeg {{path/to/file.pnm}} > {{path/to/file.jpg}}` + +- Display version: + +`pnmtojpeg -version` diff --git a/pages/common/pnmtopalm.md b/pages/common/pnmtopalm.md new file mode 100644 index 00000000000000..e86ca905b756a6 --- /dev/null +++ b/pages/common/pnmtopalm.md @@ -0,0 +1,24 @@ +# pnmtopalm + +> Convert a PNM image to a Palm bitmap. +> More information: . + +- Convert a PNM image to a Palm bitmap: + +`pnmtopalm {{path/to/file.pnm}} > {{path/to/file.palm}}` + +- Specify the color depth of the resulting bitmap: + +`pnmtopalm {{[-dep|-depth]}} {{1|2|4|8|16}} {{path/to/file.pnm}} > {{path/to/file.palm}}` + +- Choose a compression method for the resulting bitmap: + +`pnmtopalm -{{scanline_compression|rle_compression|packbits_compression}} {{path/to/file.pnm}} > {{path/to/file.palm}}` + +- Build a custom colormap and include it in the resulting bitmap: + +`pnmtopalm {{[-c|-colormap]}} {{path/to/file.pnm}} > {{path/to/file.palm}}` + +- Specify the bitmap's density: + +`pnmtopalm {{[-den|-density]}} {{72|108|144|216|288}} {{path/to/file.pnm}} > {{path/to/file.palm}}` diff --git a/pages/common/pnmtopclxl.md b/pages/common/pnmtopclxl.md new file mode 100644 index 00000000000000..8531bab972b4e4 --- /dev/null +++ b/pages/common/pnmtopclxl.md @@ -0,0 +1,16 @@ +# pnmtopclxl + +> Convert a PNM file to an HP LaserJet PCL XL printer stream. +> More information: . + +- Convert PNM files to an HP LaserJet PCL XL printer stream: + +`pnmtopclxl {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pclxl}}` + +- Specify the resolution of the image as well as the location of the page from the upper left corner of each image: + +`pnmtopclxl -dpi {{resolution}} {{[-x|-xoffs]}} {{x_offset}} {{[-y|-yoffs]}} {{y_offset}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pclxl}}` + +- Generate a duplex printer stream for the specified paper format: + +`pnmtopclxl {{[-du|-duplex]}} {{vertical|horizontal}} {{[-fo|-format]}} {{letter|legal|a3|a4|a5|...}} {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pclxl}}` diff --git a/pages/common/pnmtoplainpnm.md b/pages/common/pnmtoplainpnm.md new file mode 100644 index 00000000000000..cb13967cf3f1b2 --- /dev/null +++ b/pages/common/pnmtoplainpnm.md @@ -0,0 +1,7 @@ +# pnmtoplainpnm + +> This command is an alias of `pamtopnm -plain`. + +- View documentation for the original command: + +`tldr pamtopnm` diff --git a/pages/common/pnmtopng.md b/pages/common/pnmtopng.md new file mode 100644 index 00000000000000..10fbc6a542c1a8 --- /dev/null +++ b/pages/common/pnmtopng.md @@ -0,0 +1,12 @@ +# pnmtopng + +> Convert a PNM image file to PNG image format. +> More information: . + +- Read a PNM image as input and produce a PNG image as output: + +`pnmtopng {{path/to/file.pnm}} > {{path/to/file.png}}` + +- Display version: + +`pnmtopng {{[-vers|-version]}}` diff --git a/pages/common/pnmtopnm.md b/pages/common/pnmtopnm.md new file mode 100644 index 00000000000000..32fb489358344e --- /dev/null +++ b/pages/common/pnmtopnm.md @@ -0,0 +1,7 @@ +# pnmtopnm + +> This command is an alias of `pamtopnm`. + +- View documentation for the original command: + +`tldr pamtopnm` diff --git a/pages/common/pnmtops.md b/pages/common/pnmtops.md new file mode 100644 index 00000000000000..6fe668f371c7fe --- /dev/null +++ b/pages/common/pnmtops.md @@ -0,0 +1,16 @@ +# pnmtops + +> Convert a PNM image to a PostScript file. +> More information: . + +- Convert a PNM image to a PS file: + +`pnmtops {{path/to/file.pnm}} > {{path/to/file.ps}}` + +- Specify the dimensions of the output image in inches: + +`pnmtops {{[-imagew|-imagewidth]}} {{imagewidth}} {{[-imageh|-imageheight]}} {{imageheight}} {{path/to/file.pnm}} > {{path/to/file.ps}}` + +- Specify the dimensions of the page the output image resides on in inches: + +`pnmtops {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/file.pnm}} > {{path/to/file.ps}}` diff --git a/pages/common/pnmtorast.md b/pages/common/pnmtorast.md new file mode 100644 index 00000000000000..3686e9ce4fbeba --- /dev/null +++ b/pages/common/pnmtorast.md @@ -0,0 +1,12 @@ +# pnmtorast + +> Convert a PNM file to a Sun rasterfile. +> More information: . + +- Convert a PNM image to a RAST image: + +`pnmtorast {{path/to/input.pnm}} > {{path/to/output.rast}}` + +- Force either `RT_STANDARD` or `RT_BYTE_ENCODED` form for the output: + +`pnmtorast -{{standard|rle}} {{path/to/input.pnm}} > {{path/to/output.rast}}` diff --git a/pages/common/pnmtorle.md b/pages/common/pnmtorle.md new file mode 100644 index 00000000000000..888f62dbb2026f --- /dev/null +++ b/pages/common/pnmtorle.md @@ -0,0 +1,16 @@ +# pnmtorle + +> Convert a PNM file to an Utah Raster Tools RLE image file. +> More information: . + +- Convert a PNM image to an RLE image: + +`pnmtorle {{path/to/input.pnm}} > {{path/to/output.rle}}` + +- Print PNM header information to `stdout`: + +`pnmtorle {{[-verb|-verbose]}} {{path/to/input.pnm}} > {{path/to/output.rle}}` + +- Include a transparency channel in the output image in which every black pixel is set to fully transparent and every other pixel is set to fully opaque: + +`pnmtorle {{[-a|-alpha]}} {{path/to/input.pnm}} > {{path/to/output.rle}}` diff --git a/pages/common/pnmtosgi.md b/pages/common/pnmtosgi.md new file mode 100644 index 00000000000000..be2d3d1f53bc50 --- /dev/null +++ b/pages/common/pnmtosgi.md @@ -0,0 +1,16 @@ +# pnmtosgi + +> Convert a PNM file to an SGI image file. +> More information: . + +- Convert a PNM image to an SGI image: + +`pnmtosgi {{path/to/input.pnm}} > {{path/to/output.sgi}}` + +- Disable or enable compression: + +`pnmtosgi -{{verbatim|rle}} {{path/to/input.pnm}} > {{path/to/output.sgi}}` + +- Write the specified string into the SGI image header's `imagename` field: + +`pnmtosgi {{[-i|-imagename]}} {{string}} {{path/to/input.pnm}} > {{path/to/output.sgi}}` diff --git a/pages/common/pnmtosir.md b/pages/common/pnmtosir.md new file mode 100644 index 00000000000000..143f95be48c6fb --- /dev/null +++ b/pages/common/pnmtosir.md @@ -0,0 +1,8 @@ +# pnmtosir + +> Convert a PNM file to a Solitaire Image Recorder file. +> More information: . + +- Convert a PNM image to a SIR image: + +`pnmtosir {{path/to/input.pnm}} > {{path/to/output.sir}}` diff --git a/pages/common/pnmtotiff.md b/pages/common/pnmtotiff.md new file mode 100644 index 00000000000000..b1745979d9c4b5 --- /dev/null +++ b/pages/common/pnmtotiff.md @@ -0,0 +1,8 @@ +# pnmtotiff + +> This command has been superseded by `pamtotiff`. +> More information: . + +- View documentation for the current command: + +`tldr pamtotiff` diff --git a/pages/common/pnmtotiffcmyk.md b/pages/common/pnmtotiffcmyk.md new file mode 100644 index 00000000000000..7436e7837aa752 --- /dev/null +++ b/pages/common/pnmtotiffcmyk.md @@ -0,0 +1,16 @@ +# pnmtotiffcmyk + +> Convert a PNM image to a CMYK encoded TIFF. +> More information: . + +- Convert a PNM image to a CMYK encoded TIFF: + +`pnmtotiffcmyk {{path/to/input_file.pnm}} > {{path/to/output_file.tiff}}` + +- Specify the TIFF compression method: + +`pnmtotiffcmyk -{{none|packbits|lzw}} {{path/to/input_file.pnm}} > {{path/to/output_file.tiff}}` + +- Control the fill order: + +`pnmtotiffcmyk -{{msb2lsb|lsb2msb}} {{path/to/input_file.pnm}} > {{path/to/output_file.tiff}}` diff --git a/pages/common/pnmtoxwd.md b/pages/common/pnmtoxwd.md new file mode 100644 index 00000000000000..72825d94f9fbff --- /dev/null +++ b/pages/common/pnmtoxwd.md @@ -0,0 +1,16 @@ +# pnmtoxwd + +> Convert a PNM file into an X11 window dump file. +> More information: . + +- Convert a PNM image file to XWD: + +`pnmtoxwd {{path/to/input_file.pnm}} > {{path/to/output_file.xwd}}` + +- Produce the output in the DirectColor format: + +`pnmtoxwd {{[-d|-directcolor]}} {{path/to/input_file.pnm}} > {{path/to/output_file.xwd}}` + +- Set the color depth of the output to b bits: + +`pnmtoxwd {{[-ps|-pseudodepth]}} {{b}} {{path/to/input_file.pnm}} > {{path/to/output_file.xwd}}` diff --git a/pages/common/pnpm-audit.md b/pages/common/pnpm-audit.md new file mode 100644 index 00000000000000..dcfecc71065e72 --- /dev/null +++ b/pages/common/pnpm-audit.md @@ -0,0 +1,37 @@ +# pnpm audit + +> Scan project dependencies. +> Check for known security issues with the installed packages. +> More information: . + +- Identify vulnerabilities in the project: + +`pnpm audit` + +- Automatically fix vulnerabilities: + +`pnpm audit fix` + +- Generate a security report in JSON format: + +`pnpm audit --json > {{path/to/audit-report.json}}` + +- Audit only dev dependencies: + +`pnpm audit {{[-D|--dev]}}` + +- Audit only production dependencies: + +`pnpm audit {{[-P|--prod]}}` + +- Exclude optional dependencies from the audit: + +`pnpm audit --no-optional` + +- Ignore registry errors during the audit process: + +`pnpm audit --ignore-registry-errors` + +- Filter advisories by severity (low, moderate, high, critical): + +`pnpm audit --audit-level {{severity}}` diff --git a/pages/common/pnpm-outdated.md b/pages/common/pnpm-outdated.md new file mode 100644 index 00000000000000..2dc11bb8c3da19 --- /dev/null +++ b/pages/common/pnpm-outdated.md @@ -0,0 +1,37 @@ +# pnpm outdated + +> Check for outdated packages. +> The check can be limited to a subset of the installed packages by providing arguments (patterns are supported). +> More information: . + +- Check for outdated packages: + +`pnpm outdated` + +- Check for outdated dependencies found in every workspace package: + +`pnpm outdated {{[-r|--recursive]}}` + +- Filter outdated packages using a package selector: + +`pnpm outdated --filter {{package_selector}}` + +- List outdated packages globally: + +`pnpm outdated {{[-g|--global]}}` + +- Print details of outdated packages: + +`pnpm outdated --long` + +- Print outdated dependencies in a specific format: + +`pnpm outdated --format {{format}}` + +- Print only versions that satisfy specifications in `package.json`: + +`pnpm outdated --compatible` + +- Check only outdated dev dependencies: + +`pnpm outdated {{[-D|--dev]}}` diff --git a/pages/common/pnpm.md b/pages/common/pnpm.md new file mode 100644 index 00000000000000..4bf7e93500e1b8 --- /dev/null +++ b/pages/common/pnpm.md @@ -0,0 +1,37 @@ +# pnpm + +> Fast, disk space efficient package manager for Node.js. +> Manage Node.js projects and their module dependencies. +> More information: . + +- Create a `package.json` file: + +`pnpm init` + +- Download all the packages listed as dependencies in `package.json`: + +`pnpm install` + +- Download a specific version of a package and add it to the list of dependencies in `package.json`: + +`pnpm add {{module_name}}@{{version}}` + +- Download a package and add it to the list of dev dependencies in `package.json`: + +`pnpm add {{[-D|--save-dev]}} {{module_name}}` + +- Download a package and install it globally: + +`pnpm add {{[-g|--global]}} {{module_name}}` + +- Uninstall a package and remove it from the list of dependencies in `package.json`: + +`pnpm remove {{module_name}}` + +- Print a tree of locally installed modules: + +`pnpm list` + +- List top-level globally installed modules: + +`pnpm list {{[-g|--global]}} --depth {{0}}` diff --git a/pages/common/pnpx.md b/pages/common/pnpx.md new file mode 100644 index 00000000000000..a86ae299d99933 --- /dev/null +++ b/pages/common/pnpx.md @@ -0,0 +1,17 @@ +# pnpx + +> Directly execute binaries from npm packages, using `pnpm` instead of `npm`. +> Note: This command is deprecated! Use `pnpm exec` and `pnpm dlx` instead. +> More information: . + +- Execute the binary from a given `npm` module: + +`pnpx {{module_name}}` + +- Execute a specific binary from a given `npm` module, in case the module has multiple binaries: + +`pnpx --package {{package_name}} {{module_name}}` + +- Display help: + +`pnpx --help` diff --git a/pages/common/pocount.md b/pages/common/pocount.md new file mode 100644 index 00000000000000..09a9e7b084f091 --- /dev/null +++ b/pages/common/pocount.md @@ -0,0 +1,16 @@ +# pocount + +> Translate Toolkit utility to get translation progress from file, supporting several formats. +> More information: . + +- Print a colorful table with the translation progress of a file: + +`pocount {{path/to/file/file.po}}` + +- Print translation progress of various files, one line per file: + +`pocount --short {{translation_*.ts}}` + +- Generate a CSV file with the translation progress of various files: + +`pocount --csv {{translation_*.ts}} > {{path/to/translation_progress.csv}}` diff --git a/pages/common/podman-build.md b/pages/common/podman-build.md new file mode 100644 index 00000000000000..a4e3d59eb58c71 --- /dev/null +++ b/pages/common/podman-build.md @@ -0,0 +1,25 @@ +# podman build + +> Daemonless tool for building container images. +> Podman provides a Docker-CLI comparable command-line. Simply put: `alias docker=podman`. +> More information: . + +- Create an image using a `Dockerfile` or `Containerfile` in the specified directory: + +`podman build {{path/to/directory}}` + +- Create an image with a specified tag: + +`podman build --tag {{image_name:version}} {{path/to/directory}}` + +- Create an image from a non-standard file: + +`podman build --file {{Containerfile.different}} .` + +- Create an image without using any previously cached images: + +`podman build --no-cache {{path/to/directory}}` + +- Create an image suppressing all output: + +`podman build --quiet {{path/to/directory}}` diff --git a/pages/common/podman-compose.md b/pages/common/podman-compose.md new file mode 100644 index 00000000000000..1bdc92d29d4a71 --- /dev/null +++ b/pages/common/podman-compose.md @@ -0,0 +1,36 @@ +# podman-compose + +> Run and manage Compose Specification container definition. +> More information: . + +- List all running containers: + +`podman-compose ps` + +- Create and start all containers in the background using a local `docker-compose.yml`: + +`podman-compose up {{[-d|--detach]}}` + +- Start all containers, building if needed: + +`podman-compose up --build` + +- Start all containers using an alternate compose file: + +`podman-compose {{[-f|--file]}} {{path/to/file.yaml}} up` + +- Stop all running containers: + +`podman-compose stop` + +- Remove all containers, networks, and volumes: + +`podman-compose down {{[-v|--volumes]}}` + +- Follow logs for a container (omit all container names): + +`podman-compose logs {{[-f|--follow]}} {{container_name}}` + +- Run a one-time command in a service with no ports mapped: + +`podman-compose run {{service_name}} {{command}}` diff --git a/pages/common/podman-image.md b/pages/common/podman-image.md new file mode 100644 index 00000000000000..5377bcc664b8f2 --- /dev/null +++ b/pages/common/podman-image.md @@ -0,0 +1,21 @@ +# podman image + +> Manage Docker images. +> See also: `podman build`, `podman import`, `podman pull`. +> More information: . + +- List local Docker images: + +`podman image ls` + +- Delete unused local Docker images: + +`podman image prune` + +- Delete all unused images (not just those without a tag): + +`podman image prune --all` + +- Show the history of a local Docker image: + +`podman image history {{image}}` diff --git a/pages/common/podman-images.md b/pages/common/podman-images.md new file mode 100644 index 00000000000000..8312aa64558c67 --- /dev/null +++ b/pages/common/podman-images.md @@ -0,0 +1,24 @@ +# podman images + +> Manage Podman images. +> More information: . + +- List all Podman images: + +`podman images` + +- List all Podman images including intermediates: + +`podman images --all` + +- List the output in quiet mode (only numeric IDs): + +`podman images --quiet` + +- List all Podman images not used by any container: + +`podman images --filter dangling=true` + +- List images that contain a substring in their name: + +`podman images "{{*image|image*}}"` diff --git a/pages/common/podman-login.md b/pages/common/podman-login.md new file mode 100644 index 00000000000000..7d282507607da6 --- /dev/null +++ b/pages/common/podman-login.md @@ -0,0 +1,17 @@ +# podman login + +> Log in to a container registry. +> Note: The default authfile path on Linux is `$XDG_RUNTIME_DIR/containers/auth.json`, which is usually stored in a `tmpfs` (in RAM). +> More information: . + +- Log in to a registry (non-persistent on Linux; persistent on Windows/macOS): + +`podman login {{registry.example.org}}` + +- Log in to a registry persistently on Linux: + +`podman login --authfile $HOME/.config/containers/auth.json {{registry.example.org}}` + +- Log in to an insecure (HTTP) registry: + +`podman login --tls-verify=false {{registry.example.org}}` diff --git a/pages/common/podman-machine.md b/pages/common/podman-machine.md new file mode 100644 index 00000000000000..e05cd00debcc52 --- /dev/null +++ b/pages/common/podman-machine.md @@ -0,0 +1,33 @@ +# podman machine + +> Create and manage virtual machines running Podman. +> Included with Podman version 4 or greater. +> More information: . + +- List existing machines: + +`podman machine ls` + +- Create a new default machine: + +`podman machine init` + +- Create a new machine with a specific name: + +`podman machine init {{name}}` + +- Create a new machine with different resources: + +`podman machine init --cpus={{4}} --memory={{4096}} --disk-size={{50}}` + +- Start or stop a machine: + +`podman machine {{start|stop}} {{name}}` + +- Connect to a running machine via SSH: + +`podman machine ssh {{name}}` + +- Inspect information about a machine: + +`podman machine inspect {{name}}` diff --git a/pages/common/podman-ps.md b/pages/common/podman-ps.md new file mode 100644 index 00000000000000..0c6818e2716bee --- /dev/null +++ b/pages/common/podman-ps.md @@ -0,0 +1,36 @@ +# podman ps + +> List Podman containers. +> More information: . + +- List currently running Podman containers: + +`podman ps` + +- List all Podman containers (running and stopped): + +`podman ps --all` + +- Show the latest created container (includes all states): + +`podman ps --latest` + +- Filter containers that contain a substring in their name: + +`podman ps --filter "name={{name}}"` + +- Filter containers that share a given image as an ancestor: + +`podman ps --filter "ancestor={{image}}:{{tag}}"` + +- Filter containers by exit status code: + +`podman ps --all --filter "exited={{code}}"` + +- Filter containers by status (created, running, removing, paused, exited and dead): + +`podman ps --filter "status={{status}}"` + +- Filter containers that mount a specific volume or have a volume mounted in a specific path: + +`podman ps --filter "volume={{path/to/directory}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages/common/podman-rmi.md b/pages/common/podman-rmi.md new file mode 100644 index 00000000000000..aae67e76960431 --- /dev/null +++ b/pages/common/podman-rmi.md @@ -0,0 +1,20 @@ +# podman rmi + +> Remove Podman images. +> More information: . + +- Remove one or more images given their names: + +`podman rmi {{image:tag image2:tag ...}}` + +- Force remove an image: + +`podman rmi --force {{image}}` + +- Remove an image without deleting untagged parents: + +`podman rmi --no-prune {{image}}` + +- Display help: + +`podman rmi` diff --git a/pages/common/podman-run.md b/pages/common/podman-run.md new file mode 100644 index 00000000000000..f165f062888106 --- /dev/null +++ b/pages/common/podman-run.md @@ -0,0 +1,36 @@ +# podman run + +> Run a command in a new Podman container. +> More information: . + +- Run command in a new container from a tagged image: + +`podman run {{image:tag}} {{command}}` + +- Run command in a new container in background and display its ID: + +`podman run --detach {{image:tag}} {{command}}` + +- Run command in a one-off container in interactive mode and pseudo-TTY: + +`podman run --rm --interactive --tty {{image:tag}} {{command}}` + +- Run command in a new container with passed environment variables: + +`podman run --env '{{variable}}={{value}}' --env {{variable}} {{image:tag}} {{command}}` + +- Run command in a new container with bind mounted volumes: + +`podman run --volume /{{path/to/host_path}}:/{{path/to/container_path}} {{image:tag}} {{command}}` + +- Run command in a new container with published ports: + +`podman run --publish {{host_port}}:{{container_port}} {{image:tag}} {{command}}` + +- Run command in a new container overwriting the entrypoint of the image: + +`podman run --entrypoint {{command}} {{image:tag}}` + +- Run command in a new container connecting it to a network: + +`podman run --network {{network}} {{image:tag}}` diff --git a/pages/common/podman.md b/pages/common/podman.md index 8e3e743438df74..340994344f88d8 100644 --- a/pages/common/podman.md +++ b/pages/common/podman.md @@ -1,36 +1,36 @@ # podman > Simple management tool for pods, containers and images. -> Podman provides a Docker-CLI comparable command line. Simply put: `alias docker=podman`. -> More information: . - -- Print out information about containers: - -`podman ps` +> Podman provides a Docker-CLI comparable command-line. Simply put: `alias docker=podman`. +> More information: . - List all containers (both running and stopped): `podman ps --all` -- Start one or more containers: +- Create a container from an image, with a custom name: + +`podman run --name {{container_name}} {{image}}` + +- Start or stop an existing container: -`podman start {{container_name}} {{container_id}}` +`podman {{start|stop}} {{container_name}}` -- Stop one or more running containers: +- Pull an image from a registry (defaults to Docker Hub): -`podman stop {{container_name}} {{container_id}}` +`podman pull {{image}}` -- Pull an image from a registry (defaults to the Docker Hub): +- Display the list of already downloaded images: -`podman pull {{image_name}}:{{image_tag}}` +`podman images` -- Open a shell inside of an already running container: +- Open a shell inside an already running container: `podman exec --interactive --tty {{container_name}} {{sh}}` -- Remove one or more stopped containers: +- Remove a stopped container: -`podman rm {{container_name}} {{container_id}}` +`podman rm {{container_name}}` - Display the logs of one or more containers and follow log output: diff --git a/pages/common/poetry-about.md b/pages/common/poetry-about.md new file mode 100644 index 00000000000000..604f344cabb18e --- /dev/null +++ b/pages/common/poetry-about.md @@ -0,0 +1,9 @@ +# poetry about + +> Get information about Poetry, an application to manage Python packages and dependencies. +> See also: `asdf`. +> More information: . + +- Display global information about Poetry, including the current version: + +`poetry about` diff --git a/pages/common/poetry-add.md b/pages/common/poetry-add.md new file mode 100644 index 00000000000000..50314c2fb4a9d4 --- /dev/null +++ b/pages/common/poetry-add.md @@ -0,0 +1,25 @@ +# poetry add + +> Add required packages to the `pyproject.toml` file in Poetry. +> See also: `asdf`. +> More information: . + +- Add required packages: + +`poetry add {{package_name}}` + +- Add required packages to a specific group of dependencies: + +`poetry add {{package_name}} --group {{group_name}}` + +- Add a specific version of a package: + +`poetry add {{package_name}}=={{version}}` + +- Add a specific version of a package equal to or earlier than a given version: + +`poetry add {{package_name}}<={{version}}` + +- Add a specific version of a package equal to or later than a given version: + +`poetry add {{package_name}}>={{version}}` diff --git a/pages/common/poetry-cache.md b/pages/common/poetry-cache.md new file mode 100644 index 00000000000000..966821da2f5de1 --- /dev/null +++ b/pages/common/poetry-cache.md @@ -0,0 +1,17 @@ +# poetry cache + +> Manage Poetry's cache. +> See also: `asdf`. +> More information: . + +- Display Poetry's available caches: + +`poetry cache list` + +- Remove all packages from a cache (e.g.: PyPI): + +`poetry cache clear PyPI --all` + +- Remove a specific package from a cache (Note: must be in format `cache:package:version`): + +`poetry cache clear {{pypi}}:{{requests}}:{{2.24.0}}` diff --git a/pages/common/poetry-check.md b/pages/common/poetry-check.md new file mode 100644 index 00000000000000..bbc4801e507c64 --- /dev/null +++ b/pages/common/poetry-check.md @@ -0,0 +1,17 @@ +# poetry check + +> Manage Poetry file validation and consistency. +> See also: `asdf`. +> More information: . + +- Check validation and consistency between `pyproject.toml` and `poetry.lock` for Poetry: + +`poetry check` + +- Verify that `poetry.lock` exists: + +`poetry check --lock` + +- Fail if warnings are reported: + +`poetry check --strict` diff --git a/pages/common/poetry-debug.md b/pages/common/poetry-debug.md new file mode 100644 index 00000000000000..4b29ac52107bbb --- /dev/null +++ b/pages/common/poetry-debug.md @@ -0,0 +1,17 @@ +# poetry-debug + +> Debug issues with your Poetry project. +> See also: `asdf`. +> More information: . + +- Show debug info about Poetry and your project's virtual environment: + +`poetry debug info` + +- Attempt to resolve your project dependencies: + +`poetry debug resolve` + +- Show supported packaging tags for your project's active virtual environment: + +`poetry debug tags` diff --git a/pages/common/poetry-env.md b/pages/common/poetry-env.md new file mode 100644 index 00000000000000..a734f8f35abca5 --- /dev/null +++ b/pages/common/poetry-env.md @@ -0,0 +1,33 @@ +# poetry-env + +> Manage virtual environments associated with a Poetry project. +> See also: `asdf`. +> More information: . + +- Print the command to activate a virtual environment: + +`poetry env activate` + +- Display information about the current environment: + +`poetry env info` + +- Display the path of the current environment: + +`poetry env info {{[-p|--path]}}` + +- Display the path of the current environment's Python executable: + +`poetry env info {{[-e|--executable]}}` + +- List all virtual environments associated with the current project (optionally showing the full path): + +`poetry env list --full-path` + +- Remove specific or all virtual environments associated with the current project: + +`poetry env remove python {{path/to/executable|environment_name}} | poetry env remove --all` + +- Activate or create a virtual environment for the project using the specified Python executable: + +`poetry env use python {{path/to/executable}}` diff --git a/pages/common/poetry-install.md b/pages/common/poetry-install.md new file mode 100644 index 00000000000000..e270d1ce726339 --- /dev/null +++ b/pages/common/poetry-install.md @@ -0,0 +1,20 @@ +# poetry install + +> Install all dependencies for a Python project as defined in the pyproject.toml file. +> More information: . + +- Install dependencies: + +`poetry install` + +- Skip installing the project itself as a dependency: + +`poetry install --no-root` + +- Install only production dependencies: + +`poetry install --without dev` + +- Install optional dependenciy groups: + +`poetry install --with test,docs` diff --git a/pages/common/poetry-list.md b/pages/common/poetry-list.md new file mode 100644 index 00000000000000..f73e9f8f2e7a90 --- /dev/null +++ b/pages/common/poetry-list.md @@ -0,0 +1,13 @@ +# poetry list + +> List available Poetry commands. +> See also: `asdf`. +> More information: . + +- List all available Poetry commands: + +`poetry list` + +- List commands for a specific namespace: + +`poetry list {{namespace}}` diff --git a/pages/common/poetry-lock.md b/pages/common/poetry-lock.md new file mode 100644 index 00000000000000..140992f5af9706 --- /dev/null +++ b/pages/common/poetry-lock.md @@ -0,0 +1,13 @@ +# poetry lock + +> Lock dependencies in `pyproject.toml` (without installing them). +> See also: `asdf`. +> More information: . + +- Lock dependencies from the current directory's `pyproject.toml` file: + +`poetry lock` + +- Regenerate the existing lock file: + +`poetry lock --regenerate` diff --git a/pages/common/poetry-python.md b/pages/common/poetry-python.md new file mode 100644 index 00000000000000..812d5a388df8dd --- /dev/null +++ b/pages/common/poetry-python.md @@ -0,0 +1,21 @@ +# poetry-python + +> Manage Python versions through Poetry. +> See also: `asdf`. +> More information: . + +- Install the specified Python version: + +`poetry python install {{3.13.1}}` + +- List all Python versions managed by System or Poetry: + +`poetry python list` + +- List all Python versions managed by Poetry: + +`poetry python list --managed` + +- Remove the specified Python version (if managed by Poetry): + +`poetry python remove {{3.13.1}}` diff --git a/pages/common/poetry-self.md b/pages/common/poetry-self.md new file mode 100644 index 00000000000000..c568826edcf4cb --- /dev/null +++ b/pages/common/poetry-self.md @@ -0,0 +1,38 @@ +# poetry-self + +> Manage the Poetry installation/runtime environment itself. +> These commands reference `pyproject.toml` and `poetry.lock` files in your Poetry configuration directory. +> See also: `asdf`. +> More information: . + +- Install a package: + +`poetry self add {{package_name}}` + +- Install dependencies from the Poetry installation's `pyproject.toml` file: + +`poetry self install` + +- Lock dependencies from the Poetry installation's `pyproject.toml` file: + +`poetry self lock` + +- Remove a package: + +`poetry self remove {{package_name}}` + +- List all installed packages: + +`poetry self show` + +- List all installed plugins: + +`poetry self show plugins` + +- Sync the runtime environment with the Poetry installation's `poetry.lock` file: + +`poetry self sync` + +- Update dependencies from the Poetry installation's `pyproject.toml` file: + +`poetry self update` diff --git a/pages/common/poetry-show.md b/pages/common/poetry-show.md new file mode 100644 index 00000000000000..96fe521bdeaf91 --- /dev/null +++ b/pages/common/poetry-show.md @@ -0,0 +1,37 @@ +# poetry show + +> Show details of packages in your Poetry project. +> See also: `asdf`. +> More information: . + +- Display all packages: + +`poetry show` + +- Show details of a specific package: + +`poetry show {{package_name}}` + +- Show details as a dependency tree: + +`poetry show {{[-t|--tree]}}` + +- Only show top-level packages (those explicitly defined in `pyproject.toml`): + +`poetry show {{[-T|--top-level]}}` + +- Show outdated packages: + +`poetry show {{[-o|--outdated]}}` + +- Show the latest versions for all packages: + +`poetry show {{[-l|--latest]}}` + +- Exclude a specific dependency group/s: + +`poetry show --without {{group1,group2,...}}` + +- Only show a specific dependency group/s: + +`poetry show --only {{group1,group2,...}}` diff --git a/pages/common/poetry-version.md b/pages/common/poetry-version.md new file mode 100644 index 00000000000000..d42300c6cc07c5 --- /dev/null +++ b/pages/common/poetry-version.md @@ -0,0 +1,22 @@ +# poetry version + +> Manage Poetry project version. +> Assumes the following project stages: `patch`, `minor`, `major`, `prepatch`, `preminor`, `premajor`, `prerelease`. +> See also: `asdf`. +> More information: . + +- Output the current version: + +`poetry version {{[-s|--short]}}` + +- Set project to a specific phase: + +`poetry version {{stage}}` + +- Increment the project to the next prerelease phase: + +`poetry version --next-phase` + +- Test project stage function without writing to `pyproject.toml`: + +`poetry version {{stage}} --dry-run` diff --git a/pages/common/poetry.md b/pages/common/poetry.md index 3bd286da6a3d32..31aa79e85eab23 100644 --- a/pages/common/poetry.md +++ b/pages/common/poetry.md @@ -1,24 +1,38 @@ # poetry > Manage Python packages and dependencies. -> More information: . +> Some subcommands such as `about`, `check`, `env`, etc. have their own usage documentation. +> See also: `asdf`, `pipenv`, `hatch`. +> More information: . - Create a new Poetry project in the directory with a specific name: `poetry new {{project_name}}` -- Install a dependency and its subdependencies: +- Install and add a dependency and its sub-dependencies to the `pyproject.toml` file in the current directory: `poetry add {{dependency}}` -- Interactively initialize the current directory as a new Poetry project: +- Install the project dependencies using the `pyproject.toml` file in the current directory: + +`poetry install` + +- Interactively (append `-n` for non-interactively) initialize the current directory as a new Poetry project: `poetry init` -- Get the latest version of all dependencies and update poetry.lock: +- Get the latest version of all dependencies and update `poetry.lock`: `poetry update` - Execute a command inside the project's virtual environment: `poetry run {{command}}` + +- Bump the version of the project in `pyproject.toml`: + +`poetry version {{patch|minor|major|prepatch|preminor|premajor|prerelease}}` + +- Spawn a shell within the project's virtual environment (for versions below 2.0, use `poetry shell`): + +`eval "$(poetry env activate)"` diff --git a/pages/common/pokeget.md b/pages/common/pokeget.md new file mode 100644 index 00000000000000..8eac765b704591 --- /dev/null +++ b/pages/common/pokeget.md @@ -0,0 +1,28 @@ +# pokeget + +> Display sprites of Pokemon in your terminal. +> More information: . + +- Print a sprite of a given pokemon: + +`pokeget {{pokemon_name}}` + +- Print Mr. Mime (note the use of `-` instead of spaces): + +`pokeget mr-mime` + +- Print Mega Gengar: + +`pokeget gengar {{[-m|--mega]}}` + +- Print a random shiny Pokemon: + +`pokeget random {{[-s|--shiny]}}` + +- Print Alolan Meowth, without printing the Pokemon's name: + +`pokeget meowth {{[-a|--alolan]}} --hide-name` + +- Print a random Pokemon with 1/4096 chance to be shiny: + +`((RANDOM%4096 == 0)) && pokeget random --shiny || pokeget random` diff --git a/pages/common/polybar-msg.md b/pages/common/polybar-msg.md new file mode 100644 index 00000000000000..a9b7a60568991e --- /dev/null +++ b/pages/common/polybar-msg.md @@ -0,0 +1,33 @@ +# polybar-msg + +> Control `polybar` using inter-process-messaging (IPC). +> Note: IPC is disabled by default and can be enabled by setting `enable-ipc = true` in the Polybar config. +> More information: . + +- Quit the bar: + +`polybar-msg cmd quit` + +- Restart the bar in-place: + +`polybar-msg cmd restart` + +- Hide the bar (does nothing if the bar is already hidden): + +`polybar-msg cmd hide` + +- Show the bar again (does nothing if the bar is not hidden): + +`polybar-msg cmd show` + +- Toggle between hidden/visible: + +`polybar-msg cmd toggle` + +- Execute a module action (the data string is optional): + +`polybar-msg action "#{{module_name}}.{{action_name}}.{{data_string}}"` + +- Only send messages to a specific Polybar instance (all instances by default): + +`polybar-msg -p {{pid}} {{cmd|action}} {{payload}}` diff --git a/pages/common/polybar.md b/pages/common/polybar.md new file mode 100644 index 00000000000000..75fc31a91382a1 --- /dev/null +++ b/pages/common/polybar.md @@ -0,0 +1,16 @@ +# polybar + +> A fast and easy-to-use status bar. +> More information: . + +- Start Polybar (the bar name is optional if only one bar is defined in the config): + +`polybar {{bar_name}}` + +- Start Polybar with the specified config: + +`polybar --config={{path/to/config.ini}} {{bar_name}}` + +- Start Polybar and reload the bar when the configuration file is modified: + +`polybar --reload {{bar_name}}` diff --git a/pages/common/pop.md b/pages/common/pop.md new file mode 100644 index 00000000000000..0ea083005e174c --- /dev/null +++ b/pages/common/pop.md @@ -0,0 +1,16 @@ +# pop + +> Send emails from your terminal. +> More information: . + +- Launch the Text-based User Interface: + +`pop` + +- Send an email using the content of a Markdown file as body: + +`pop < {{path/to/message.md}} --from {{me@example.com}} --to {{you@example.com}} --subject "{{On the Subject of Ducks...}}" --attach {{path/to/attachment}}` + +- Display help: + +`pop --help` diff --git a/pages/common/popd.md b/pages/common/popd.md new file mode 100644 index 00000000000000..a61d9b3ae3e73b --- /dev/null +++ b/pages/common/popd.md @@ -0,0 +1,21 @@ +# popd + +> Remove a directory placed on the directory stack via the pushd shell built-in. +> See also: `pushd` to place a directory on the stack and `dirs` to display directory stack contents. +> More information: . + +- Remove the top directory from the stack and cd to it: + +`popd` + +- Remove the Nth directory (starting from zero to the left from the list printed with `dirs`): + +`popd +N` + +- Remove the Nth directory (starting from zero to the right from the list printed with `dirs`): + +`popd -N` + +- Remove the 1st directory (starting from zero to the left from the list printed with `dirs`): + +`popd -n` diff --git a/pages/common/popeye.md b/pages/common/popeye.md index 5aa2f43ba7e933..89cf152a80fb15 100644 --- a/pages/common/popeye.md +++ b/pages/common/popeye.md @@ -1,6 +1,6 @@ # popeye -> Utility that reports potential issues with Kubernetes deployment manifests. +> Report potential issues with Kubernetes deployment manifests. > More information: . - Scan the current Kubernetes cluster: @@ -9,12 +9,12 @@ - Scan a specific namespace: -`popeye -n {{namespace}}` +`popeye {{[-n|--namespace]}} {{namespace}}` - Scan specific Kubernetes context: -`popeye --context={{context}}` +`popeye --context {{context}}` - Use a spinach configuration file for scanning: -`popeye -f {{spinach.yaml}}` +`popeye {{[-f|--file]}} {{spinach.yaml}}` diff --git a/pages/common/postcss.md b/pages/common/postcss.md index 477905ada67683..4f3b6923e2ced9 100644 --- a/pages/common/postcss.md +++ b/pages/common/postcss.md @@ -1,6 +1,6 @@ # postcss -> PostCSS is a tool for transforming styles with JS plugins. +> Transform styles with JS plugins. > More information: . - Parse and transform a CSS file: @@ -31,6 +31,6 @@ `postcss {{path/to/file}} --watch` -- Display available options and examples: +- Display help: `postcss --help` diff --git a/pages/common/powershell.md b/pages/common/powershell.md new file mode 100644 index 00000000000000..3b2564373a608c --- /dev/null +++ b/pages/common/powershell.md @@ -0,0 +1,13 @@ +# powershell + +> This command may be mistaken as the cross-platform version of PowerShell (formerly known as PowerShell Core), which uses `pwsh` instead of `powershell`. +> The original `powershell` command in Windows is still available to use the legacy Windows version of PowerShell (version 5.1 and below). +> More information: . + +- View the documentation for the command referring to the latest, cross-platform version of PowerShell (version 6 and above): + +`tldr pwsh` + +- View the documentation for the command referring to the legacy Windows PowerShell (version 5.1 and below): + +`tldr powershell {{[-p|--platform]}} windows` diff --git a/pages/common/powerstat.md b/pages/common/powerstat.md deleted file mode 100644 index 4542cf244c2e8b..00000000000000 --- a/pages/common/powerstat.md +++ /dev/null @@ -1,24 +0,0 @@ -# powerstat - -> Measures the power consumption of a computer that has a battery power source or supports the RAPL interface. -> More information: . - -- Measure power with the default of 10 samples with an interval of 10 seconds: - -`powerstat` - -- Measure power with custom number of samples and interval duration: - -`powerstat {{interval}} {{number_of_samples}}` - -- Measure power using Intel's RAPL interface: - -`powerstat -R {{interval}} {{number_of_samples}}` - -- Show an histogram of the power measurements: - -`powerstat -H {{interval}} {{number_of_samples}}` - -- Enable all statistics gathering options: - -`powerstat -a {{interval}} {{number_of_samples}}` diff --git a/pages/common/ppmbrighten.md b/pages/common/ppmbrighten.md new file mode 100644 index 00000000000000..515f8dc87979b1 --- /dev/null +++ b/pages/common/ppmbrighten.md @@ -0,0 +1,8 @@ +# ppmbrighten + +> This command has been superseded by `pambrighten`. +> More information: . + +- View documentation for the current command: + +`tldr pambrighten` diff --git a/pages/common/ppmchange.md b/pages/common/ppmchange.md new file mode 100644 index 00000000000000..a3fd7b287461a9 --- /dev/null +++ b/pages/common/ppmchange.md @@ -0,0 +1,16 @@ +# ppmchange + +> Change all pixels of one color in a PPM image to another color. +> More information: . + +- Exchange the first color in each `oldcolor` - `newcolor` pair with the second color: + +`ppmchange {{oldcolor1 newcolor1 oldcolor2 newcolor2 ...}} {{path/to/input.ppm}} > {{path/to/output.ppm}}` + +- Specify how similar colors must be in order to be considered the same: + +`ppmchange -closeness {{percentage}} {{oldcolor1 newcolor1 oldcolor2 newcolor2 ...}} {{path/to/input.ppm}} > {{path/to/output.ppm}}` + +- Replace all pixels not specified in the arguments by a color: + +`ppmchange {{[-r|-remainder]}} {{color}} {{oldcolor1 newcolor1 oldcolor2 newcolor2 ...}} {{path/to/input.ppm}} > {{path/to/output.ppm}}` diff --git a/pages/common/ppmcie.md b/pages/common/ppmcie.md new file mode 100644 index 00000000000000..2f1cc098ab25b1 --- /dev/null +++ b/pages/common/ppmcie.md @@ -0,0 +1,20 @@ +# ppmcie + +> Draw a CIE color chart as a PPM image. +> More information: . + +- Draw a CIE color chart using the REC709 color system as a PPM image: + +`ppmcie > {{path/to/output.ppm}}` + +- Specify the color system to be used: + +`ppmcie -{{cie|ebu|hdtv|ntsc|smpte}} > {{path/to/output.ppm}}` + +- Specify the location of the individual illuminants: + +`ppmcie -{{red|green|blue}} {{xpos ypos}} > {{path/to/output.ppm}}` + +- Do not dim the area outside the Maxwell triangle: + +`ppmcie {{[-f|-full]}} > {{path/to/output.ppm}}` diff --git a/pages/common/ppmcolormask.md b/pages/common/ppmcolormask.md new file mode 100644 index 00000000000000..a793f66ca37127 --- /dev/null +++ b/pages/common/ppmcolormask.md @@ -0,0 +1,8 @@ +# ppmcolormask + +> Produce a mask of areas of a certain color in a PPM image. +> More information: . + +- Produce a mask of areas of a certain color in the specified PPM image: + +`ppmcolormask {{[-c|-color]}} {{red,blue}} {{path/to/input.ppm}} > {{path/to/output.pbm}}` diff --git a/pages/common/ppmdim.md b/pages/common/ppmdim.md new file mode 100644 index 00000000000000..8a8ebc66f32e07 --- /dev/null +++ b/pages/common/ppmdim.md @@ -0,0 +1,9 @@ +# ppmdim + +> Dim a PPM image. +> Partly superseded by `pamfunc -multiplier`. +> More information: . + +- Dim the specified PPM image by dimfactor: + +`ppmdim {{0.6}} {{path/to/input.ppm}} > {{path/to/output.ppm}}` diff --git a/pages/common/ppmdist.md b/pages/common/ppmdist.md new file mode 100644 index 00000000000000..f7285d63773dcd --- /dev/null +++ b/pages/common/ppmdist.md @@ -0,0 +1,12 @@ +# ppmdist + +> Produce a grayscale version of a PPM image. +> More information: . + +- Produce a grayscale version of the specified PPM image: + +`ppmdist {{path/to/input.ppm}} > {{path/to/output.pgm}}` + +- Use the specified method to map colors to graylevels: + +`ppmdist -{{frequency|intensity}} {{path/to/input.ppm}} > {{path/to/output.pgm}}` diff --git a/pages/common/ppmdither.md b/pages/common/ppmdither.md new file mode 100644 index 00000000000000..3d700a52d3b2c0 --- /dev/null +++ b/pages/common/ppmdither.md @@ -0,0 +1,16 @@ +# ppmdither + +> Reduce the number of colors in an image by applying dithering. +> More information: . + +- Read a PPM image, apply dithering and save it to a file: + +`ppmdither {{path/to/image.ppm}} > {{path/to/file.ppm}}` + +- Specify the desired number of shades for each primary color: + +`ppmdither {{[-r|-red]}} {{2}} {{[-g|-green]}} {{3}} {{[-b|-blue]}} {{2}} {{path/to/image.ppm}} > {{path/to/file.ppm}}` + +- Specify the dimensions of the dithering matrix: + +`ppmdither {{[-d|-dim]}} {{2}} {{path/to/image.ppm}} > {{path/to/file.ppm}}` diff --git a/pages/common/ppmdraw.md b/pages/common/ppmdraw.md new file mode 100644 index 00000000000000..bab9f8c07f02ac --- /dev/null +++ b/pages/common/ppmdraw.md @@ -0,0 +1,13 @@ +# ppmdraw + +> Draw lines, text and more on a PPM image by executing a script. +> Documentation on the utilized scripting language can be found by following the link below. +> More information: . + +- Draw on the specified PPM image by executing the supplied script: + +`ppmdraw -script '{{setpos 50 50; text_here "hello!"; }}' {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Draw on the specified PPM image by executing the script in the specified file: + +`ppmdraw -scriptfile {{path/to/script}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/pages/common/ppmfade.md b/pages/common/ppmfade.md new file mode 100644 index 00000000000000..537e77de5227f2 --- /dev/null +++ b/pages/common/ppmfade.md @@ -0,0 +1,20 @@ +# ppmfade + +> Generate a transition between two PPM images. +> More information: . + +- Generate a transition between two PPM images ([f]irst and [l]ast) using the specified effect: + +`ppmfade -f {{path/to/image1.ppm}} -l {{path/to/image2.ppm}} -{{mix|spread|shift|relief|oil|...}}` + +- Generate a transition starting with the specified image and ending in a solid black image: + +`ppmfade -f {{path/to/image.ppm}} -{{mix|spread|shift|relief|oil|...}}` + +- Generate a transition starting with a solid black image and ending with the specified image: + +`ppmfade -l {{path/to/image.ppm}} -{{mix|spread|shift|relief|oil|...}}` + +- Store the resulting images in files named `base.NNNN.ppm` where `NNNN` is a increasing number: + +`ppmfade -f {{path/to/image1.ppm}} -l {{path/to/image2.ppm}} -{{mix|spread|shift|relief|oil|...}} -base {{base}}` diff --git a/pages/common/ppmflash.md b/pages/common/ppmflash.md new file mode 100644 index 00000000000000..7a278bdb0b7677 --- /dev/null +++ b/pages/common/ppmflash.md @@ -0,0 +1,12 @@ +# ppmflash + +> Brighten a PPM image file. +> More information: . + +- Generate a PPM image as output that is `flashfactor` times brighter than the input PPM image: + +`ppmflash {{flashfactor}} {{path/to/file.ppm}} > {{path/to/file.ppm}}` + +- Display version: + +`ppmflash {{[-v|-version]}}` diff --git a/pages/common/ppmforge.md b/pages/common/ppmforge.md new file mode 100644 index 00000000000000..3783ebbfec2e34 --- /dev/null +++ b/pages/common/ppmforge.md @@ -0,0 +1,20 @@ +# ppmforge + +> Generate fractals resembling clouds, planets and starry skies. +> More information: . + +- Generate an image of a planet: + +`ppmforge > {{path/to/image.ppm}}` + +- Generate an image of clouds or the night sky: + +`ppmforge -{{night|clouds}} > {{path/to/image.ppm}}` + +- Use a custom mesh size and dimension for fractal generation and specify the dimensions of the output: + +`ppmforge {{[-m|-mesh]}} {{512}} {{[-d|-dimension]}} {{2.5}} {{[-x|-xsize]}} {{1000}} {{[-y|-ysize]}} {{1000}} > {{path/to/image.ppm}}` + +- Control the tilt and the angle from which the generated planet is illuminated: + +`ppmforge {{[-t|-tilt]}} {{-15}} {{[-ho|-hour]}} {{12}} > {{path/to/image.ppm}}` diff --git a/pages/common/ppmglobe.md b/pages/common/ppmglobe.md new file mode 100644 index 00000000000000..94c422e81dd0b2 --- /dev/null +++ b/pages/common/ppmglobe.md @@ -0,0 +1,13 @@ +# ppmglobe + +> Generate strips of an image suitable to be glued onto a sphere. +> See also: `pnmmercator`. +> More information: . + +- Transform an image to strips that can be cut out and glues onto a sphere: + +`ppmglobe {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` + +- Use the specified color for the areas between the strips: + +`ppmglobe {{[-b|-background]}} {{red}} {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` diff --git a/pages/common/ppmhist.md b/pages/common/ppmhist.md new file mode 100644 index 00000000000000..c49e685503db7e --- /dev/null +++ b/pages/common/ppmhist.md @@ -0,0 +1,17 @@ +# ppmhist + +> Print a histogram of the colors present in a PPM image. +> See also: `pgmhist`. +> More information: . + +- Generate the histogram for human reading: + +`ppmhist {{[-nom|-nomap]}} {{path/to/image.ppm}}` + +- Generate a PPM file of the colormap for the image, with the color histogram as comments: + +`ppmhist {{[-m|-map]}} {{path/to/image.ppm}}` + +- Display version: + +`ppmhist {{[-v|-version]}}` diff --git a/pages/common/ppmlabel.md b/pages/common/ppmlabel.md new file mode 100644 index 00000000000000..2be3439a3ec2f0 --- /dev/null +++ b/pages/common/ppmlabel.md @@ -0,0 +1,16 @@ +# ppmlabel + +> Add text to a PPM image. +> More information: . + +- Add text to a PPM image at the specified location: + +`ppmlabel -x {{pos_x}} -y {{pos_y}} {{[-t|-text]}} {{text}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` + +- Add multiple texts at different locations: + +`ppmlabel -x {{pos_x1}} -y {{pos_y1}} {{[-t|-text]}} {{text1}} -x {{pos_x2}} -y {{pos_y2}} {{[-t|-text]}} {{text2}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` + +- Specify the line color, the background color, the tilt and the size of the added text: + +`ppmlabel -x {{pos_x}} -y {{pos_y}} {{[-c|-color]}} {{line_color}} {{[-b|-background]}} {{background_color}} {{[-a|-angle]}} {{tilt}} {{[-s|-size]}} {{size}} {{[-t|-text]}} {{text}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmmake.md b/pages/common/ppmmake.md new file mode 100644 index 00000000000000..628d5e5e6eb07c --- /dev/null +++ b/pages/common/ppmmake.md @@ -0,0 +1,8 @@ +# ppmmake + +> Create a PPM image of a specified color and dimensions. +> More information: . + +- Create a PPM image of the specified color and dimensions: + +`ppmmake {{color}} {{width}} {{height}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmmix.md b/pages/common/ppmmix.md new file mode 100644 index 00000000000000..d8c9aac59b273d --- /dev/null +++ b/pages/common/ppmmix.md @@ -0,0 +1,8 @@ +# ppmmix + +> Blend together two PPM images. +> More information: . + +- Blend the specified PPM images using fadefactor to control the weight of each image: + +`ppmmix {{fadefactor}} {{path/to/input_file1.ppm path/to/input_file2.ppm ...}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmnorm.md b/pages/common/ppmnorm.md new file mode 100644 index 00000000000000..5e04576b2808e4 --- /dev/null +++ b/pages/common/ppmnorm.md @@ -0,0 +1,8 @@ +# ppmnorm + +> This command has been superseded by `pnmnorm`. +> More information: . + +- View documentation for the current command: + +`tldr pnmnorm` diff --git a/pages/common/ppmntsc.md b/pages/common/ppmntsc.md new file mode 100644 index 00000000000000..f835d72a1b6642 --- /dev/null +++ b/pages/common/ppmntsc.md @@ -0,0 +1,20 @@ +# ppmntsc + +> Make the RGB colors in a PPM image compatible with NTSC or PAL color systems. +> More information: . + +- Make the RGB colors in a PPM image compatible with NTSC color systems: + +`ppmntsc {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` + +- Make the RGB colors in a PPM image compatible with PAL color systems: + +`ppmntsc --pal {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` + +- Print the number of illegal pixels in the input image to `stderr`: + +`ppmntsc {{[--verb|--verbose]}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` + +- Output only legal/illegal/corrected pixels, set other pixels to black: + +`ppmntsc --{{legalonly|illegalonly|correctedonly}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmpat.md b/pages/common/ppmpat.md new file mode 100644 index 00000000000000..22bd0881a28005 --- /dev/null +++ b/pages/common/ppmpat.md @@ -0,0 +1,12 @@ +# ppmpat + +> Produce a PPM image with a pattern. +> More information: . + +- Produce a PPM file of the specified pattern with the specified dimensions: + +`ppmpat -{{gingham2|gingham3|madras|tartan|poles|...}} {{width}} {{height}} > {{path/to/file.ppm}}` + +- Produce a PPM file of a camo pattern using the specified colors: + +`ppmpat {{[-ca|-camo]}} {{[-co|-color]}} {{color1,color2,...}} {{width}} {{height}} > {{path/to/file.ppm}}` diff --git a/pages/common/ppmquant.md b/pages/common/ppmquant.md new file mode 100644 index 00000000000000..97fd9d6577d34b --- /dev/null +++ b/pages/common/ppmquant.md @@ -0,0 +1,12 @@ +# ppmquant + +> This command has been replaced by `pnmquant` and `pnmremap`. +> More information: . + +- View documentation for `pnmquant`: + +`tldr pnmquant` + +- View documentation for `pnmremap`: + +`tldr pnmremap` diff --git a/pages/common/ppmquantall.md b/pages/common/ppmquantall.md new file mode 100644 index 00000000000000..d0198db7899586 --- /dev/null +++ b/pages/common/ppmquantall.md @@ -0,0 +1,8 @@ +# ppmquantall + +> This command has been superseded by `pnmquantall`. +> More information: . + +- View documentation for the current command: + +`tldr pnmquantall` diff --git a/pages/common/ppmrainbow.md b/pages/common/ppmrainbow.md new file mode 100644 index 00000000000000..108c7b63d8b1f2 --- /dev/null +++ b/pages/common/ppmrainbow.md @@ -0,0 +1,16 @@ +# ppmrainbow + +> Generate a rainbow. +> More information: . + +- Generate a rainbow consisting of the specified colors: + +`ppmrainbow {{color1 color2 ...}} > {{path/to/output_file.ppm}}` + +- Specify the size of the output in pixels: + +`ppmrainbow {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{color1 color2 ...}} > {{path/to/output_file.ppm}}` + +- End the rainbow with the last color specified, do not repeat the first color: + +`ppmrainbow {{[-n|-norepeat]}} {{color1 color2 ...}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmrelief.md b/pages/common/ppmrelief.md new file mode 100644 index 00000000000000..0a1d730310a3dd --- /dev/null +++ b/pages/common/ppmrelief.md @@ -0,0 +1,8 @@ +# ppmrelief + +> Produce a relief of a PPM image. +> More information: . + +- Produce a relief of the specified PPM image: + +`ppmrelief {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmshadow.md b/pages/common/ppmshadow.md new file mode 100644 index 00000000000000..55a5e79d469452 --- /dev/null +++ b/pages/common/ppmshadow.md @@ -0,0 +1,16 @@ +# ppmshadow + +> Add simulated shadows to a PPM image. +> More information: . + +- Add simulated shadows to a PPM image: + +`ppmshadow {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` + +- [b]lur the image by the specified number of pixels: + +`ppmshadow -b {{n}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` + +- Specify the displacement of the simulated light source to the left and the top of the image: + +`ppmshadow -x {{left_offset}} -y {{top_offset}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmshift.md b/pages/common/ppmshift.md new file mode 100644 index 00000000000000..b159170b34b59f --- /dev/null +++ b/pages/common/ppmshift.md @@ -0,0 +1,8 @@ +# ppmshift + +> Shift the lines in a PPM image by a randomized amount. +> More information: . + +- Shift the lines in the input image by a randomized amount not exceeding s to the left or to the right: + +`ppmshift {{s}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmspread.md b/pages/common/ppmspread.md new file mode 100644 index 00000000000000..1179016abf8e20 --- /dev/null +++ b/pages/common/ppmspread.md @@ -0,0 +1,12 @@ +# ppmspread + +> Displace the pixels in a PPM image by a randomized amount. +> More information: . + +- Displace the pixels in a PPM image by a randomized amount that is at most a: + +`ppmspread {{a}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}` + +- Specify a seed to a the pseudo-random number generator: + +`ppmspread {{a}} {{path/to/input_file.ppm}} {{[-r|-randomseed]}} {{seed}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/ppmtoacad.md b/pages/common/ppmtoacad.md new file mode 100644 index 00000000000000..66ab09c2fe852a --- /dev/null +++ b/pages/common/ppmtoacad.md @@ -0,0 +1,16 @@ +# ppmtoacad + +> Convert a PPM image to an AutoCAD database or slide. +> More information: . + +- Convert a PPM image to an AutoCAD slide: + +`ppmtoacad {{path/to/file.ppm}} > {{path/to/file.acad}}` + +- Convert a PPM image to an AutoCAD binary database import file: + +`ppmtoacad {{[-d|-dxb]}} {{path/to/file.ppm}} > {{path/to/file.dxb}}` + +- Restrict the colors in the output to 8 RGB shades: + +`ppmtoacad -8 {{path/to/file.ppm}} > {{path/to/file.dxb}}` diff --git a/pages/common/ppmtoapplevol.md b/pages/common/ppmtoapplevol.md new file mode 100644 index 00000000000000..96187aadec4ed4 --- /dev/null +++ b/pages/common/ppmtoapplevol.md @@ -0,0 +1,8 @@ +# ppmtoapplevol + +> Convert a PPM image into an Apple volume label image. +> More information: . + +- Convert a PPM image into an Apple volume label image: + +`ppmtoapplevol {{path/to/image.ppm}} > {{path/to/output}}` diff --git a/pages/common/ppmtoarbtxt.md b/pages/common/ppmtoarbtxt.md new file mode 100644 index 00000000000000..7f568e3f17a547 --- /dev/null +++ b/pages/common/ppmtoarbtxt.md @@ -0,0 +1,20 @@ +# ppmtoarbtxt + +> Convert a PPM image to an arbitrary text format according to a template. +> More information: . + +- Convert a PPM image to text as specified by the given template: + +`ppmtoarbtxt {{path/to/template}} {{path/to/image.ppm}} > {{path/to/output_file.txt}}` + +- Convert a PPM image to text as specified by the given template, prepend the contents of the specified head template: + +`ppmtoarbtxt {{path/to/template}} -hd {{path/to/head_template}} {{path/to/image.ppm}} > {{path/to/output_file.txt}}` + +- Convert a PPM image to text as specified by the given template, append the contents of the specified tail template: + +`ppmtoarbtxt {{path/to/template}} -hd {{path/to/tail_template}} {{path/to/image.ppm}} > {{path/to/output_file.txt}}` + +- Display version: + +`ppmtoarbtxt {{[-v|-version]}}` diff --git a/pages/common/ppmtoascii.md b/pages/common/ppmtoascii.md new file mode 100644 index 00000000000000..618bab8a19cb9e --- /dev/null +++ b/pages/common/ppmtoascii.md @@ -0,0 +1,13 @@ +# ppmtoascii + +> Convert a PPM image to an ASCII image using ANSI terminal color codes. +> See also: `ppmtoterm`, `pbmtoascii`, `pbmto4425`. +> More information: . + +- Convert a PPM image to an ASCII image, combining an area of 1x2 pixels into a character: + +`ppmtoascii {{path/to/input.ppm}} > {{path/to/output.txt}}` + +- Convert a PPM image to an ASCII image, combining an area of 2x4 pixels into a character: + +`ppmtoascii -2x4 {{path/to/input.ppm}} > {{path/to/output.txt}}` diff --git a/pages/common/ppmtobmp.md b/pages/common/ppmtobmp.md new file mode 100644 index 00000000000000..52f4e5d159d873 --- /dev/null +++ b/pages/common/ppmtobmp.md @@ -0,0 +1,16 @@ +# ppmtobmp + +> Convert a PPM image to a BMP file. +> More information: . + +- Convert a PPM image to a BMP file: + +`ppmtobmp {{path/to/file.ppm}} > {{path/to/file.bmp}}` + +- Explicitly specify whether or not a Windows BMP file or an OS/2 BMP file should be created: + +`ppmtobmp -{{windows|os2}} {{path/to/file.ppm}} > {{path/to/file.bmp}}` + +- Use a specific number of bits for each pixel: + +`ppmtobmp {{[-b|-bbp]}} {{1|4|8|24}} {{path/to/file.ppm}} > {{path/to/file.bmp}}` diff --git a/pages/common/ppmtoeyuv.md b/pages/common/ppmtoeyuv.md new file mode 100644 index 00000000000000..7d03eaa7106d23 --- /dev/null +++ b/pages/common/ppmtoeyuv.md @@ -0,0 +1,8 @@ +# ppmtoeyuv + +> Convert a PPM image to an Berkeley YUV file. +> More information: . + +- Read a PPM image from the input file, convert it to a Berkeley YUV image and store it in the specified output file: + +`ppmtoeyuv {{path/to/input_file.ppm}} > {{path/to/output_file.eyuv}}` diff --git a/pages/common/ppmtogif.md b/pages/common/ppmtogif.md new file mode 100644 index 00000000000000..86ac4b694ab2df --- /dev/null +++ b/pages/common/ppmtogif.md @@ -0,0 +1,8 @@ +# ppmtogif + +> This command has been superseded by `pamtogif`. +> More information: . + +- View documentation for the current command: + +`tldr pamtogif` diff --git a/pages/common/ppmtoicr.md b/pages/common/ppmtoicr.md new file mode 100644 index 00000000000000..ac347130ada11c --- /dev/null +++ b/pages/common/ppmtoicr.md @@ -0,0 +1,20 @@ +# ppmtoicr + +> Convert a PPM image to NCSA ICR format. +> More information: . + +- Convert a PPM image to a ICR file: + +`ppmtoicr {{path/to/file.ppm}} > {{path/to/file.icr}}` + +- Display the output in name: + +`ppmtoicr {{[-w|-windowname]}} {{name}} {{path/to/file.ppm}} > {{path/to/file.icr}}` + +- Expand the image by the specified factor: + +`ppmtoicr {{[-e|-expand]}} {{factor}} {{path/to/file.ppm}} > {{path/to/file.icr}}` + +- Display the output on the screen with the specified number: + +`ppmtoicr {{[-d|-display]}} {{number}} {{path/to/file.ppm}} > {{path/to/file.icr}}` diff --git a/pages/common/ppmtoilbm.md b/pages/common/ppmtoilbm.md new file mode 100644 index 00000000000000..fa82d967b7b537 --- /dev/null +++ b/pages/common/ppmtoilbm.md @@ -0,0 +1,20 @@ +# ppmtoilbm + +> Convert a PPM image to an ILBM file. +> More information: . + +- Convert a PPM image to an ILBM file: + +`ppmtoilbm {{path/to/file.ppm}} > {{path/to/file.ilbm}}` + +- Write a maximum of n planes to the ILBM file and produce a HAM/24bit/direct color file if this number is exceeded: + +`ppmtoilbm {{[-mp|-maxplanes]}} {{n}} -{{hamif|24if|dcif}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}` + +- Produce a ILBM file with exactly n planes: + +`ppmtoilbm {{[-fp|-fixplanes]}} {{n}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}` + +- Select the compression method to be used: + +`ppmtoilbm -{{compress|nocompress|savemem}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}` diff --git a/pages/common/ppmtojpeg.md b/pages/common/ppmtojpeg.md new file mode 100644 index 00000000000000..924e6caa991cc1 --- /dev/null +++ b/pages/common/ppmtojpeg.md @@ -0,0 +1,8 @@ +# ppmtojpeg + +> This command has been superseded by `pnmtojpeg`. +> More information: . + +- View documentation for the current command: + +`tldr pnmtojpeg` diff --git a/pages/common/ppmtoleaf.md b/pages/common/ppmtoleaf.md new file mode 100644 index 00000000000000..942b9927e9afdb --- /dev/null +++ b/pages/common/ppmtoleaf.md @@ -0,0 +1,8 @@ +# ppmtoleaf + +> Convert a PPM image to the Interleaf image format. +> More information: . + +- Convert a PPM image to a LEAF file: + +`ppmtoleaf {{path/to/file.ppm}} > {{path/to/file.leaf}}` diff --git a/pages/common/ppmtolj.md b/pages/common/ppmtolj.md new file mode 100644 index 00000000000000..711268fc368316 --- /dev/null +++ b/pages/common/ppmtolj.md @@ -0,0 +1,16 @@ +# ppmtolj + +> Convert a PPM file to an HP LaserJet PCL 5 Color file. +> More information: . + +- Convert a PPM file to an HP LaserJet PCL 5 Color file: + +`ppmtolj {{path/to/input.ppm}} > {{path/to/output.lj}}` + +- Apply a gamma correction using the specified gamma value: + +`ppmtolj {{[-g|-gamma]}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}` + +- Specify the required resolution: + +`ppmtolj {{[-r|-resolution]}} {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}` diff --git a/pages/common/ppmtomap.md b/pages/common/ppmtomap.md new file mode 100644 index 00000000000000..71f0d7d201f2a5 --- /dev/null +++ b/pages/common/ppmtomap.md @@ -0,0 +1,8 @@ +# ppmtomap + +> This command has been superseded by `pnmcolormap`. +> More information: . + +- View documentation for the current command: + +`tldr pnmcolormap` diff --git a/pages/common/ppmtomitsu.md b/pages/common/ppmtomitsu.md new file mode 100644 index 00000000000000..aa06178c154df9 --- /dev/null +++ b/pages/common/ppmtomitsu.md @@ -0,0 +1,16 @@ +# ppmtomitsu + +> Convert a PPM image to a Mitsubishi S340-10 file. +> More information: . + +- Convert a PPM image to a MITSU file: + +`ppmtomitsu {{path/to/file.ppm}} > {{path/to/file.mitsu}}` + +- Enlarge the image by the specified factor, use the specified sharpness and produce `n` copies: + +`ppmtomitsu {{[-e|-enlarge]}} {{1|2|3}} {{[-s|-sharpness]}} {{1|2|3|4}} {{[-c|-copy]}} {{n}} {{path/to/file.ppm}} > {{path/to/file.mitsu}}` + +- Use the given medium for the printing process: + +`ppmtomitsu {{[-m|-media]}} {{A|A4|AS|A4S}} {{path/to/file.ppm}} > {{path/to/file.mitsu}}` diff --git a/pages/common/ppmtompeg.md b/pages/common/ppmtompeg.md new file mode 100644 index 00000000000000..8848bba108c684 --- /dev/null +++ b/pages/common/ppmtompeg.md @@ -0,0 +1,20 @@ +# ppmtompeg + +> Encode an MPEG-1 stream. +> More information: . + +- Produce an MPEG-1 stream using the parameter file to specify inputs and outputs: + +`ppmtompeg {{path/to/parameter_file}}` + +- Encode the GOP with the specified number only: + +`ppmtompeg {{[-g|-gop]}} {{gop_num}} {{path/to/parameter_file}}` + +- Specify the first and last frame to encode: + +`ppmtompeg {{[-fr|-frames]}} {{first_frame}} {{last_frame}} {{path/to/parameter_file}}` + +- Combine multiple MPEG frames into a single MPEG-1 stream: + +`ppmtompeg -combine_frames {{path/to/parameter_file}}` diff --git a/pages/common/ppmtoneo.md b/pages/common/ppmtoneo.md new file mode 100644 index 00000000000000..ba0f27df97661c --- /dev/null +++ b/pages/common/ppmtoneo.md @@ -0,0 +1,8 @@ +# ppmtoneo + +> Convert a PPM image to an Atari Neochrome file. +> More information: . + +- Convert a PPM image to a NEO file: + +`ppmtoneo {{path/to/file.ppm}} > {{path/to/file.neo}}` diff --git a/pages/common/ppmtopcx.md b/pages/common/ppmtopcx.md new file mode 100644 index 00000000000000..07392fb1f97d43 --- /dev/null +++ b/pages/common/ppmtopcx.md @@ -0,0 +1,12 @@ +# ppmtopcx + +> Convert a PPM image to a PCX file. +> More information: . + +- Convert a PPM image to a PCX file: + +`ppmtopcx {{path/to/file.ppm}} > {{path/to/file.pcx}}` + +- Produce a PCX file with the specified color depth: + +`ppmtopcx -{{8bit|24bit}} {{path/to/file.ppm}} > {{path/to/file.pcx}}` diff --git a/pages/common/ppmtopgm.md b/pages/common/ppmtopgm.md new file mode 100644 index 00000000000000..f27dc55ab1b50b --- /dev/null +++ b/pages/common/ppmtopgm.md @@ -0,0 +1,12 @@ +# ppmtopgm + +> Convert a PPM image to a PGM image. +> More information: . + +- Convert PPM image to PGM image: + +`ppmtopgm {{path/to/file.ppm}} > {{path/to/file.pgm}}` + +- Display version: + +`ppmtopgm {{[-v|-version]}}` diff --git a/pages/common/ppmtopi1.md b/pages/common/ppmtopi1.md new file mode 100644 index 00000000000000..306eeb81ab8b8e --- /dev/null +++ b/pages/common/ppmtopi1.md @@ -0,0 +1,9 @@ +# ppmtopi1 + +> Convert a PPM image to an Atari Degas PI1 image. +> See also: `pi1toppm`. +> More information: . + +- Convert a PPM image into an Atari Degas PI1 image: + +`ppmtopi1 {{path/to/image.ppm}} > {{path/to/output_image.pi1}}` diff --git a/pages/common/ppmtopict.md b/pages/common/ppmtopict.md new file mode 100644 index 00000000000000..67343c4d75d218 --- /dev/null +++ b/pages/common/ppmtopict.md @@ -0,0 +1,8 @@ +# ppmtopict + +> Convert a PPM image to a Macintosh PICT file. +> More information: . + +- Convert a PPM image to a PICT file: + +`ppmtopict {{path/to/file.ppm}} > {{path/to/file.pict}}` diff --git a/pages/common/ppmtopj.md b/pages/common/ppmtopj.md new file mode 100644 index 00000000000000..24b05d563fec02 --- /dev/null +++ b/pages/common/ppmtopj.md @@ -0,0 +1,16 @@ +# ppmtopj + +> Convert a PPM file to an HP PaintJet file. +> More information: . + +- Convert a PPM file to an HP PaintJet file: + +`ppmtopj {{path/to/input.ppm}} > {{path/to/output.pj}}` + +- Move the image in the x and y direction: + +`ppmtopj {{[-x|-xpos]}} {{dx}} {{[-y|-ypos]}} {{dy}} {{path/to/input.ppm}} > {{path/to/output.pj}}` + +- Explicitly specify a gamma value: + +`ppmtopj {{[-g|-gamma]}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.pj}}` diff --git a/pages/common/ppmtopjxl.md b/pages/common/ppmtopjxl.md new file mode 100644 index 00000000000000..9255190a134961 --- /dev/null +++ b/pages/common/ppmtopjxl.md @@ -0,0 +1,20 @@ +# ppmtopjxl + +> Convert a PPM image into an HP PaintJet XL PCL file. +> More information: . + +- Convert a PPM image into an PJXL file: + +`ppmtopjxl {{path/to/image.ppm}} > {{path/to/output.pjxl}}` + +- Resize the input image: + +`ppmtopjxl {{[-xsi|-xsize]}} {{10cm}} {{[-ysi|-ysize]}} {{5cm}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}` + +- Shift the input image: + +`ppmtopjxl {{[-xsh|-xshift]}} {{10pt}} {{[-ysh|-yshift]}} {{5pt}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}` + +- Do not use the normal TIFF 4.0 compression method: + +`ppmtopjxl {{[-n|-nopack]}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}` diff --git a/pages/common/ppmtoppm.md b/pages/common/ppmtoppm.md new file mode 100644 index 00000000000000..5ea35692d2647c --- /dev/null +++ b/pages/common/ppmtoppm.md @@ -0,0 +1,12 @@ +# ppmtoppm + +> Copy a PPM image. +> More information: . + +- Copy a PPM image (i.e. a PBM, PGM or PPM image) from `stdin` to `stdout`: + +`ppmtoppm < {{path/to/image.ppm}} > {{path/to/output.ppm}}` + +- Display version: + +`ppmtoppm {{[-v|-version]}}` diff --git a/pages/common/ppmtopuzz.md b/pages/common/ppmtopuzz.md new file mode 100644 index 00000000000000..2631ec3973d8e5 --- /dev/null +++ b/pages/common/ppmtopuzz.md @@ -0,0 +1,8 @@ +# ppmtopuzz + +> Convert a PPM image to an X11 puzzle file. +> More information: . + +- Convert a PPM image to an X11 puzzle file: + +`ppmtopuzz {{path/to/file.ppm}} > {{path/to/file.puzz}}` diff --git a/pages/common/ppmtorgb3.md b/pages/common/ppmtorgb3.md new file mode 100644 index 00000000000000..26422d2e6b9ff6 --- /dev/null +++ b/pages/common/ppmtorgb3.md @@ -0,0 +1,9 @@ +# ppmtorgb3 + +> Separate the color components of a PPM file into three separate PGM files. +> See also: `rgb3toppm`. +> More information: . + +- Separate the color components of a PPM file, saving the outputs to `file.red`, `file.grn` and `file.blu`: + +`ppmtorgb3 {{path/to/file.ppm}}` diff --git a/pages/common/ppmtosixel.md b/pages/common/ppmtosixel.md new file mode 100644 index 00000000000000..ab24828aec8d00 --- /dev/null +++ b/pages/common/ppmtosixel.md @@ -0,0 +1,20 @@ +# ppmtosixel + +> Convert a PPM image to DEC sixel format. +> More information: . + +- Convert a PPM image to DEC sixel format: + +`ppmtosixel {{path/to/file.ppm}} > {{path/to/file.sixel}}` + +- Produce an uncompressed SIXEL file that is much slower to print: + +`ppmtosixel {{[-r|-raw]}} {{path/to/file.ppm}} > {{path/to/file.sixel}}` + +- Add a left margin of 1.5 inches: + +`ppmtosixel {{[-m|-margin]}} {{path/to/file.ppm}} > {{path/to/file.sixel}}` + +- Encode control codes in a more portable (although less space-efficient) way: + +`ppmtosixel -7bit {{path/to/file.ppm}} > {{path/to/file.sixel}}` diff --git a/pages/common/ppmtospu.md b/pages/common/ppmtospu.md new file mode 100644 index 00000000000000..6021e92e21e0bf --- /dev/null +++ b/pages/common/ppmtospu.md @@ -0,0 +1,12 @@ +# ppmtospu + +> Convert a PPM file to an Atari Spectrum 512 image. +> More information: . + +- Convert a PPM file to an Atari Spectrum 512 image: + +`ppmtospu {{path/to/input.ppm}} > {{path/to/output.spu}}` + +- Use a dithering matrix of the specified size (0 means no dithering): + +`ppmtospu -d{{0|2|4}} {{path/to/input.ppm}} > {{path/to/output.spu}}` diff --git a/pages/common/ppmtoterm.md b/pages/common/ppmtoterm.md new file mode 100644 index 00000000000000..22ba429250b951 --- /dev/null +++ b/pages/common/ppmtoterm.md @@ -0,0 +1,9 @@ +# ppmtoterm + +> Convert a PPM image to an ANSI ISO 6429 ASCII image. +> See also: `ppmtoascii`, `pbmtoascii`, `pbmto4425`. +> More information: . + +- Convert a PPM image to an ANSI ISO 6429 ASCII image, mapping each pixel to an individual character: + +`ppmtoterm {{path/to/input.ppm}} > {{path/to/output.txt}}` diff --git a/pages/common/ppmtotga.md b/pages/common/ppmtotga.md new file mode 100644 index 00000000000000..e6a714d41761a6 --- /dev/null +++ b/pages/common/ppmtotga.md @@ -0,0 +1,8 @@ +# ppmtotga + +> This command has been superseded by `pamtotga`. +> More information: . + +- View documentation for the current command: + +`tldr pamtotga` diff --git a/pages/common/ppmtouil.md b/pages/common/ppmtouil.md new file mode 100644 index 00000000000000..4ee3dc81a5279f --- /dev/null +++ b/pages/common/ppmtouil.md @@ -0,0 +1,8 @@ +# ppmtouil + +> This command has been superseded by `pamtouil`. +> More information: . + +- View documentation for the current command: + +`tldr pamtouil` diff --git a/pages/common/ppmtowinicon.md b/pages/common/ppmtowinicon.md new file mode 100644 index 00000000000000..4e98e083dd7329 --- /dev/null +++ b/pages/common/ppmtowinicon.md @@ -0,0 +1,8 @@ +# ppmtowinicon + +> This command has been superseded by `pamtowinicon`. +> More information: . + +- View documentation for the current command: + +`tldr pamtowinicon` diff --git a/pages/common/ppmtoxpm.md b/pages/common/ppmtoxpm.md new file mode 100644 index 00000000000000..40a233a92c68d1 --- /dev/null +++ b/pages/common/ppmtoxpm.md @@ -0,0 +1,20 @@ +# ppmtoxpm + +> Convert a PPM image to an X11 version 3 pixmap. +> More information: . + +- Convert a PPM image to a XPM image: + +`ppmtoxpm {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}` + +- Specify the prefix string in the output XPM image: + +`ppmtoxpm {{[-n|-name]}} {{prefix_string}} {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}` + +- In the output XPM file, specify colors by their hexadecimal code instead of their name: + +`ppmtoxpm {{[-h|-hexonly]}} {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}` + +- Use the specified PGM file as a transparency mask: + +`ppmtoxpm {{[-a|-alphamask]}} {{path/to/alpha_file.pgm}} {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}` diff --git a/pages/common/ppmtoyuv.md b/pages/common/ppmtoyuv.md new file mode 100644 index 00000000000000..d64b00ea6521b0 --- /dev/null +++ b/pages/common/ppmtoyuv.md @@ -0,0 +1,8 @@ +# ppmtoyuv + +> Convert a PPM image to an Abekas YUV file. +> More information: . + +- Read a PPM image from the input file, convert it to an Abekas YUV image and store it in the specified output file: + +`ppmtoyuv {{path/to/input_file.ppm}} > {{path/to/output_file.yuv}}` diff --git a/pages/common/ppmtoyuvsplit.md b/pages/common/ppmtoyuvsplit.md new file mode 100644 index 00000000000000..11db6ea6a32601 --- /dev/null +++ b/pages/common/ppmtoyuvsplit.md @@ -0,0 +1,8 @@ +# ppmtoyuvsplit + +> Convert a PPM image to three subsampled Abekas YUV files. +> More information: . + +- Read a PPM image from the input file, convert it to three subsampled Abekas YUV image and store these images to output files starting with the specified basename: + +`ppmtoyuvsplit {{basename}} {{path/to/input_file.ppm}}` diff --git a/pages/common/ppmtv.md b/pages/common/ppmtv.md new file mode 100644 index 00000000000000..42864f3d073a46 --- /dev/null +++ b/pages/common/ppmtv.md @@ -0,0 +1,17 @@ +# ppmtv + +> Make a PPM Image look like taken from an American TV. +> Dim every other row of image data down by the specified dim factor (a number between 0 and 1). +> More information: . + +- Give the PPM image an American TV appearance: + +`ppmtv {{dim_factor}} {{path/to/file.ppm}} > {{path/to/output.ppm}}` + +- Suppress all informational messages: + +`ppmtv {{[-q|-quiet]}}` + +- Display version: + +`ppmtv {{[-v|-version]}}` diff --git a/pages/common/ppmwheel.md b/pages/common/ppmwheel.md new file mode 100644 index 00000000000000..be7d3453d7ee74 --- /dev/null +++ b/pages/common/ppmwheel.md @@ -0,0 +1,16 @@ +# ppmwheel + +> Generate a PPM image of a color wheel. +> More information: . + +- Generate a color wheel of type `Ppmcirc`: + +`ppmwheel {{diameter}} > {{path/to/output.ppm}}` + +- Generate a color wheel of type `Hue-value`: + +`ppmwheel {{[-huev|-huevalue]}} {{diameter}} > {{path/to/output.ppm}}` + +- Generate a color wheel of type `Hue-saturation`: + +`ppmwheel {{[-hues|-huesaturation]}} {{diameter}} > {{path/to/output.ppm}}` diff --git a/pages/common/pppd.md b/pages/common/pppd.md new file mode 100644 index 00000000000000..063ac6842283c8 --- /dev/null +++ b/pages/common/pppd.md @@ -0,0 +1,9 @@ +# pppd + +> Establish Point-to-Point connection to another computer. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`pppd` diff --git a/pages/common/pprof.md b/pages/common/pprof.md index a4f20093a54735..b25e767e476d13 100644 --- a/pages/common/pprof.md +++ b/pages/common/pprof.md @@ -1,6 +1,6 @@ # pprof -> Command-line tool for visualization and analysis of profile data. +> Visualize and analyze profiling data. > More information: . - Generate a text report from a specific profiling file, on fibbo binary: diff --git a/pages/common/pr.md b/pages/common/pr.md index 2882043c2fcce2..60b3f55ffc397c 100644 --- a/pages/common/pr.md +++ b/pages/common/pr.md @@ -5,24 +5,24 @@ - Print multiple files with a default header and footer: -`pr {{file1}} {{file2}} {{file3}}` +`pr {{path/to/file1 path/to/file2 ...}}` - Print with a custom centered header: -`pr -h "{{header}}" {{file1}} {{file2}} {{file3}}` +`pr {{[-h|--header]}} "{{header}}" {{path/to/file1 path/to/file2 ...}}` - Print with numbered lines and a custom date format: -`pr -n -D "{{format}}" {{file1}} {{file2}} {{file3}}` +`pr {{[-n|--number-lines]}} {{[-D|--date-format]}} "{{format}}" {{path/to/file1 path/to/file2 ...}}` - Print all files together, one in each column, without a header or footer: -`pr -m -T {{file1}} {{file2}} {{file3}}` +`pr {{[-m|--merge]}} {{[-T|--omit-pagination]}} {{path/to/file1 path/to/file2 ...}}` - Print, beginning at page 2 up to page 5, with a given page length (including header and footer): -`pr +{{2}}:{{5}} -l {{page_length}} {{file1}} {{file2}} {{file3}}` +`pr +2:5 {{[-l|--length]}} {{page_length}} {{path/to/file1 path/to/file2 ...}}` - Print with an offset for each line and a truncating custom page width: -`pr -o {{offset}} -W {{width}} {{file1}} {{file2}} {{file3}}` +`pr {{[-o|--indent]}} {{offset}} {{[-W|--page_width]}} {{width}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/pre-commit.md b/pages/common/pre-commit.md new file mode 100644 index 00000000000000..496c1dee857805 --- /dev/null +++ b/pages/common/pre-commit.md @@ -0,0 +1,24 @@ +# pre-commit + +> Create Git hooks that get run before a commit. +> More information: . + +- Install pre-commit into your Git hooks: + +`pre-commit install` + +- Run pre-commit hooks on all staged files: + +`pre-commit run` + +- Run pre-commit hooks on all files, staged or unstaged: + +`pre-commit run --all-files` + +- Clean pre-commit cache: + +`pre-commit clean` + +- Update pre-commit configuration file to the latest repos' versions: + +`pre-commit autoupdate` diff --git a/pages/common/prename.md b/pages/common/prename.md new file mode 100644 index 00000000000000..5ec03c236eecb9 --- /dev/null +++ b/pages/common/prename.md @@ -0,0 +1,7 @@ +# prename + +> This command is an alias of `rename`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages/common/prettier.md b/pages/common/prettier.md new file mode 100644 index 00000000000000..2439b4b2c133b2 --- /dev/null +++ b/pages/common/prettier.md @@ -0,0 +1,28 @@ +# prettier + +> An opinionated code formatter for JavaScript, JSON, CSS, YAML, and more. +> More information: . + +- Format a file and print the result to `stdout`: + +`prettier {{path/to/file}}` + +- Check if a specific file has been formatted: + +`prettier --check {{path/to/file}}` + +- Run with a specific configuration file: + +`prettier --config {{path/to/config_file}} {{path/to/file}}` + +- Format a file or directory, replacing the original: + +`prettier --write {{path/to/file_or_directory}}` + +- Format files or directories recursively using single quotes and no trailing commas: + +`prettier --single-quote --trailing-comma {{none}} --write {{path/to/file_or_directory}}` + +- Format JavaScript and TypeScript files recursively, replacing the original: + +`prettier --write "**/*.{js,jsx,ts,tsx}"` diff --git a/pages/common/pretty-bytes.md b/pages/common/pretty-bytes.md new file mode 100644 index 00000000000000..dd8811052768de --- /dev/null +++ b/pages/common/pretty-bytes.md @@ -0,0 +1,16 @@ +# pretty-bytes + +> Convert bytes to a human-readable string. +> More information: . + +- Convert numeric bytes value to a human-readable string: + +`pretty-bytes {{1337}}` + +- Convert numeric bytes value from `stdin` to a human-readable string: + +`echo {{1337}} | pretty-bytes` + +- Display help: + +`pretty-bytes --help` diff --git a/pages/common/print.md b/pages/common/print.md new file mode 100644 index 00000000000000..44abc7e2cfbe86 --- /dev/null +++ b/pages/common/print.md @@ -0,0 +1,15 @@ +# print + +> `print` can refer to multiple commands with the same name. + +- View documentation for the Zsh builtin: + +`tldr print.zsh` + +- View documentation for the `print` alias of `run-mailcap`: + +`tldr {{[-p|--platform]}} linux print.runmailcap` + +- View documentation for printing text files on Windows: + +`tldr {{[-p|--platform]}} windows print.win` diff --git a/pages/common/print.zsh.md b/pages/common/print.zsh.md new file mode 100644 index 00000000000000..4970cf9905e98e --- /dev/null +++ b/pages/common/print.zsh.md @@ -0,0 +1,25 @@ +# print + +> Z Shell (`zsh`) builtin. Prints arguments, similar to `echo`. +> See also: `echo`, `printf`, `zsh`. +> More information: . + +- Print input: + +`print "Hello" "World"` + +- Print separated by newline(s): + +`print -l "Line1" "Line 2" "Line3"` + +- Print without trailing newline: + +`print -n "Hello"; print "World"` + +- Enable backslash escapes: + +`print -e "Line 1\nLine2"` + +- Print arguments as described by `printf` (for greater portability across shells, consider using the `printf` command instead): + +`print -f "%s is %d years old.\n" "Alice" 30` diff --git a/pages/common/printenv.md b/pages/common/printenv.md index 6911ddf65c8f52..65deb6356c4a5d 100644 --- a/pages/common/printenv.md +++ b/pages/common/printenv.md @@ -1,6 +1,7 @@ # printenv -> Print values of all or specific environment variables. +> Print values of all or environment variables. +> More information: . - Display key-value pairs of all environment variables: @@ -12,4 +13,4 @@ - Display the value of a variable and end with NUL instead of newline: -`printenv --null {{HOME}}` +`printenv {{[-0|--null]}} {{HOME}}` diff --git a/pages/common/printf.md b/pages/common/printf.md index f18439e2f338d1..0fe9ebaa763470 100644 --- a/pages/common/printf.md +++ b/pages/common/printf.md @@ -1,6 +1,8 @@ # printf > Format and print text. +> See also: `echo`. +> More information: . - Print a text message: @@ -10,7 +12,7 @@ `printf "{{\e[1;34m%.3d\e[0m\n}}" {{42}}` -- Print a float number with the unicode Euro sign: +- Print a float number with the Unicode Euro sign: `printf "{{\u20AC %.2f\n}}" {{123.4}}` @@ -18,6 +20,10 @@ `printf "{{var1: %s\tvar2: %s\n}}" "{{$VAR1}}" "{{$VAR2}}"` -- Store a formatted message in a variable (does not work on zsh): +- Store a formatted message in a variable (does not work on Zsh): `printf -v {{myvar}} {{"This is %s = %d\n" "a year" 2016}}` + +- Print a hexadecimal, octal and scientific number: + +`printf "{{hex=%x octal=%o scientific=%e}}" 0x{{FF}} 0{{377}} {{100000}}` diff --git a/pages/common/procs.md b/pages/common/procs.md new file mode 100644 index 00000000000000..e3bd5cd441ed80 --- /dev/null +++ b/pages/common/procs.md @@ -0,0 +1,28 @@ +# procs + +> Display information about the active processes. +> More information: . + +- List all processes showing the PID, user, CPU usage, memory usage, and the command which started them: + +`procs` + +- List all processes as a tree: + +`procs --tree` + +- List information about processes, if the commands which started them contain Zsh: + +`procs {{zsh}}` + +- List information about all processes sorted by CPU time in [a]scending or [d]escending order: + +`procs {{--sorta|--sortd}} cpu` + +- List information about processes with either a PID, command, or user containing `41` or `firefox`: + +`procs --or {{PID|command|user}} {{41}} {{firefox}}` + +- List information about processes with both PID `41` and a command or user containing `zsh`: + +`procs --and {{41}} {{zsh}}` diff --git a/pages/common/progpilot.md b/pages/common/progpilot.md index 6c330e757e9984..ab6d16c8add2f8 100644 --- a/pages/common/progpilot.md +++ b/pages/common/progpilot.md @@ -3,11 +3,11 @@ > A PHP static analysis tool for detecting security vulnerabilities. > More information: . -- Analyse the current directory: +- Analyze the current directory: `progpilot` -- Analyse a specific file or directory: +- Analyze a specific file or directory: `progpilot {{path/to/file_or_directory}}` diff --git a/pages/common/progress.md b/pages/common/progress.md new file mode 100644 index 00000000000000..7e73ad1e223046 --- /dev/null +++ b/pages/common/progress.md @@ -0,0 +1,24 @@ +# progress + +> Display/Monitor the progress of running coreutils. +> More information: . + +- Show the progress of running coreutils: + +`progress` + +- Monitor all running coreutils: + +`progress {{[-m|--monitor]}}` + +- Show the progress of running coreutils in quiet mode: + +`progress {{[-q|--quiet]}}` + +- Launch and monitor a single long-running command: + +`{{command}} & progress {{[-m|--monitor]}} {{[-p|--pid]}} $!` + +- Include an estimate of time remaining for completion: + +`progress {{[-w|--wait]}} {{[-c|--command]}} {{firefox}}` diff --git a/pages/common/projucer.md b/pages/common/projucer.md new file mode 100644 index 00000000000000..fadbd01b3b90d7 --- /dev/null +++ b/pages/common/projucer.md @@ -0,0 +1,28 @@ +# Projucer + +> A project manager for JUCE framework applications. +> More information: . + +- Display information about a project: + +`Projucer --status {{path/to/project_file}}` + +- Resave all files and resources in a project: + +`Projucer --resave {{path/to/project_file}}` + +- Update the version number in a project: + +`Projucer --set-version {{version_number}} {{path/to/project_file}}` + +- Generate a JUCE project from a PIP file: + +`Projucer --create-project-from-pip {{path/to/PIP}} {{path/to/output}}` + +- Remove all JUCE-style comments (`//=====`, `//-----` or `///////`): + +`Projucer --tidy-divider-comments {{path/to/target_folder}}` + +- Display help: + +`Projucer --help` diff --git a/pages/common/promtool.md b/pages/common/promtool.md index ec3dd651be6693..26c4d53abd1a23 100644 --- a/pages/common/promtool.md +++ b/pages/common/promtool.md @@ -3,7 +3,7 @@ > Tooling for the Prometheus monitoring system. > More information: . -- Check if the config files are valid or not (if present report errors): +- Check if the configuration files are valid or not (if present report errors): `promtool check config {{config_file.yml}}` @@ -11,7 +11,7 @@ `promtool check rules {{rules_file.yml}}` -- Pass Prometheus metrics over stdin to check them for consistency and correctness: +- Pass Prometheus metrics over `stdin` to check them for consistency and correctness: `curl --silent {{http://example.com:9090/metrics/}} | promtool check metrics` diff --git a/pages/common/propelauth.md b/pages/common/propelauth.md new file mode 100644 index 00000000000000..2ca83844997219 --- /dev/null +++ b/pages/common/propelauth.md @@ -0,0 +1,20 @@ +# propelauth + +> Set up PropelAuth authentication as quickly and easily as possible. +> More information: . + +- Login to PropelAuth using an API Key generated from : + +`propelauth login` + +- Set the default PropelAuth Project for the CLI. If no default project is set, the system will prompt for selecting a Project each time certain commands are run: + +`propelauth set-default-project` + +- Install PropelAuth authentication in an application. If no directory is provided, the current directory is used: + +`propelauth setup {{[-f|--framework]}} {{path/to/directory}}` + +- Log the CLI out of PropelAuth: + +`propelauth logout` diff --git a/pages/common/prosodyctl.md b/pages/common/prosodyctl.md index fb0c46f902b304..7fe5bbfb00603c 100644 --- a/pages/common/prosodyctl.md +++ b/pages/common/prosodyctl.md @@ -1,6 +1,7 @@ # prosodyctl > The control tool for the Prosody XMPP server. +> Note: Process management through `prosodyctl` is discouraged. Instead, use the tools provided by your system (e.g. `systemctl`). > More information: . - Show the status of the Prosody server: diff --git a/pages/common/protector.md b/pages/common/protector.md new file mode 100644 index 00000000000000..f5ecfddaf44ac8 --- /dev/null +++ b/pages/common/protector.md @@ -0,0 +1,16 @@ +# protector + +> Protect or unprotect branches on GitHub repositories. +> More information: . + +- Protect branches of a GitHub repository (create branch protection rules): + +`protector {{branches_regex}} -repos {{organization/repository}}` + +- Use the dry run to see what would be protected (can also be used for freeing): + +`protector -dry-run {{branches_regex}} -repos {{organization/repository}}` + +- Free branches of a GitHub repository (delete branch protection rules): + +`protector -free {{branches_regex}} -repos {{organization/repository}}` diff --git a/pages/common/protoc.md b/pages/common/protoc.md index c27ac02db42dda..e47057aa9694e9 100644 --- a/pages/common/protoc.md +++ b/pages/common/protoc.md @@ -14,3 +14,15 @@ - Generate code for multiple languages: `protoc --csharp_out={{path/to/c#_output_directory}} --js_out={{path/to/js_output_directory}} {{input_file.proto}}` + +- Encode a text-format message into a protocol message from a `.proto` file: + +`protoc < {{message.txt}} --encode={{TypeName}} {{input_file.proto}}` + +- Decode a protocol message into text-format from a `.proto` file: + +`protoc < {{message.bin}} --decode={{TypeName}} {{input_file.proto}}` + +- Decode a protocol message into raw tag/value pairs: + +`protoc < {{message.bin}} --decode_raw` diff --git a/pages/common/prowler-aws.md b/pages/common/prowler-aws.md new file mode 100644 index 00000000000000..cd91e1f091d9c9 --- /dev/null +++ b/pages/common/prowler-aws.md @@ -0,0 +1,25 @@ +# prowler aws + +> Assess AWS security best practices, perform audits, compliance checks, and generate reports. +> See also: `prowler`, `prowler-azure`, `prowler-gcp`, `prowler-kubernetes`, `prowler-m365`, `prowler-github`. +> More information: . + +- Run the default set of checks on the AWS account: + +`prowler aws` + +- Use a custom AWS profile and filter audited regions: + +`prowler aws {{[-p|--profile]}} {{custom-profile}} {{[-f|--filter-region]}} {{us-east-1 eu-south-2 ...}}` + +- Run checks for selected AWS services: + +`prowler aws {{[-s|--services]}} {{s3 ec2 ...}}` + +- Run a specific AWS check: + +`prowler aws {{[-c|--checks]}} {{s3_bucket_public_access}}` + +- Exclude specific checks or services: + +`prowler aws {{[-e|--excluded-checks]}} {{s3_bucket_public_access}} --exclude-services {{s3 ec2 ...}}` diff --git a/pages/common/prowler-azure.md b/pages/common/prowler-azure.md new file mode 100644 index 00000000000000..514b7befafc604 --- /dev/null +++ b/pages/common/prowler-azure.md @@ -0,0 +1,37 @@ +# prowler azure + +> Assess Azure security best practices, perform audits, compliance checks, and generate reports. +> See also: `prowler`, `prowler-aws`, `prowler-gcp`, `prowler-kubernetes`, `prowler-m365`, `prowler-github`. +> More information: . + +- Run the default set of checks on the current Azure account using Azure CLI authentication: + +`prowler azure --az-cli-auth` + +- Run checks for specific Azure subscriptions: + +`prowler azure --az-cli-auth --subscription-ids {{subscription_id1 subscription_id2 ...}}` + +- Authenticate using a service principal via environment variables: + +`prowler azure --sp-env-auth` + +- Authenticate using browser login and specify a tenant ID: + +`prowler azure --browser-auth --tenant-id "{{XXXXXXXX}}"` + +- Authenticate using a managed identity (e.g. for Azure VM): + +`prowler azure --managed-identity-auth` + +- Run checks for selected Azure services: + +`prowler azure {{[-s|--services]}} {{defender iam ...}}` + +- Run a specific Azure check: + +`prowler azure {{[-c|--checks]}} {{storage_blob_public_access_level_is_disabled}}` + +- Exclude specific checks or services: + +`prowler azure {{[-e|--excluded-checks]}} {{storage_blob_public_access_level_is_disabled}} --exclude-services {{defender iam ...}}` diff --git a/pages/common/prowler-gcp.md b/pages/common/prowler-gcp.md new file mode 100644 index 00000000000000..6c256b97e51c76 --- /dev/null +++ b/pages/common/prowler-gcp.md @@ -0,0 +1,29 @@ +# prowler gcp + +> Assess Google Cloud Platform (GCP) security best practices, audits, and compliance checks. +> See also: `prowler`, `prowler-aws`, `prowler-azure`, `prowler-kubernetes`, `prowler-m365`, `prowler-github`. +> More information: . + +- Run the default set of checks on all accessible GCP projects using default user credentials: + +`prowler gcp` + +- Authenticate using a service account credentials file: + +`prowler gcp --credentials-file {{path/to/credentials.json}}` + +- Scan specific GCP projects by ID: + +`prowler gcp --project-ids {{project_id1 project_id2 ...}}` + +- Run checks for selected GCP services: + +`prowler gcp {{[-s|--services]}} {{iam compute ...}}` + +- Run a specific GCP check: + +`prowler gcp {{[-c|--checks]}} {{gcp_storage_bucket_logging_enabled}}` + +- Exclude specific checks or services: + +`prowler gcp {{[-e|--excluded-checks]}} {{gcp_storage_bucket_logging_enabled}} --exclude-services {{iam compute ...}}` diff --git a/pages/common/prowler-github.md b/pages/common/prowler-github.md new file mode 100644 index 00000000000000..21dd4d686e37f8 --- /dev/null +++ b/pages/common/prowler-github.md @@ -0,0 +1,21 @@ +# prowler github + +> Assess GitHub account, repository, and organization security best practices. +> See also: `prowler`, `prowler-aws`, `prowler-azure`, `prowler-gcp`, `prowler-kubernetes`, `prowler-m365`. +> More information: . + +- Run all default GitHub security checks: + +`prowler github` + +- Authenticate using a GitHub Personal Access Token: + +`prowler github --personal-access-token {{pat}}` + +- Authenticate using a GitHub OAuth App Token: + +`prowler github --oauth-app-token {{oauth_token}}` + +- Authenticate using a GitHub App ID and private key: + +`prowler github --github-app-id {{app_id}} --github-app-key {{app_key}}` diff --git a/pages/common/prowler-kubernetes.md b/pages/common/prowler-kubernetes.md new file mode 100644 index 00000000000000..c30d6ad9decc3e --- /dev/null +++ b/pages/common/prowler-kubernetes.md @@ -0,0 +1,33 @@ +# prowler kubernetes + +> Assess Kubernetes cluster security best practices and configurations. +> See also: `prowler`, `prowler-aws`, `prowler-azure`, `prowler-gcp`, `prowler-m365`, `prowler-github`. +> More information: . + +- Run the default checks using the default kubeconfig location: + +`prowler kubernetes` + +- Specify a custom kubeconfig file for scanning: + +`prowler kubernetes --kubeconfig-file {{path/to/kubeconfig}}` + +- Specify a specific Kubernetes context to scan: + +`prowler kubernetes --context {{my-context}}` + +- Scan specific namespaces only: + +`prowler kubernetes --namespaces {{default}} {{kube-system}}` + +- Run checks for selected Kubernetes services: + +`prowler kubernetes {{[-s|--services]}} {{ietcd apiserver ...}}` + +- Run a specific Kubernetes check: + +`prowler kubernetes {{[-c|--checks]}} {{etcd_encryption}}` + +- Exclude specific checks or services: + +`prowler kubernetes {{[-e|--excluded-checks]}} {{etcd_encryption}} --exclude-services {{ietcd apiserver ...}}` diff --git a/pages/common/prowler-m365.md b/pages/common/prowler-m365.md new file mode 100644 index 00000000000000..ae70c035f400a3 --- /dev/null +++ b/pages/common/prowler-m365.md @@ -0,0 +1,29 @@ +# prowler m365 + +> Assess Microsoft 365 (M365) security configurations and best practices. +> See also: `prowler`, `prowler-aws`, `prowler-azure`, `prowler-gcp`, `prowler-kubernetes`, `prowler-github`. +> More information: . + +- Run Prowler with combined service principal and user credentials: + +`prowler m365 --env-auth` + +- Authenticate using a service principal: + +`prowler m365 --sp-env-auth` + +- Authenticate using the Azure CLI: + +`prowler m365 --az-cli-auth` + +- Authenticate using a browser and specify the tenant ID: + +`prowler m365 --browser-auth --tenant-id "{{XXXXXXXX}}"` + +- Run a specific Microsoft 365 check: + +`prowler m365 {{[-c|--checks]}} {{etcd_enm365_onedrive_sharing_enabledcryption}}` + +- Exclude specific checks: + +`prowler m365 {{[-e|--excluded-checks]}} {{m365_onedrive_sharing_enabled}}` diff --git a/pages/common/prowler.md b/pages/common/prowler.md new file mode 100644 index 00000000000000..9c6b2564cc6f94 --- /dev/null +++ b/pages/common/prowler.md @@ -0,0 +1,37 @@ +# prowler + +> Performs security best practices assessments, audits and compliance checks across AWS, Azure, Google Cloud, and Kubernetes. +> See also: `prowler-aws`, `prowler-azure`, `prowler-gcp`, `prowler-kubernetes`, `prowler-m365`, `prowler-github`. +> More information: . + +- Run an AWS, Azure, GCP, Kubernetes - as provider - audit with default checks: + +`prowler {{provider}}` + +- Show all available checks for a specific provider: + +`prowler {{provider}} {{[-l|--list-checks]}}` + +- Show all available services for a specific provider: + +`prowler {{provider}} --list-services` + +- Generate output in multiple formats, including JSON-ASFF for AWS Security Hub: + +`prowler {{provider}} --output-modes {{csv,json-asff,html,...}}` + +- Execute in verbose mode: + +`prowler {{provider}} --verbose` + +- Filter findings by status: + +`prowler {{provider}} --status {{PASS,FAIL,MANUAL}}` + +- Display help: + +`prowler --help` + +- Display version: + +`prowler {{[-v|--version]}}` diff --git a/pages/common/proxify.md b/pages/common/proxify.md new file mode 100644 index 00000000000000..e019cebb761ce0 --- /dev/null +++ b/pages/common/proxify.md @@ -0,0 +1,21 @@ +# proxify + +> A versatile and portable proxy for capturing, manipulating, and replaying HTTP/HTTPS traffic on the go. +> See also: `mitmproxy`. +> More information: . + +- Start a HTTP proxy (on the loopback network interface `127.0.0.1` and port `8888`): + +`proxify` + +- Start a HTTP proxy on a custom network interface and port (may require `sudo` for a port number lower than `1024`): + +`proxify {{[-ha|-http-addr]}} "{{ip_address}}:{{port_number}}"` + +- Specify output format and output file: + +`proxify {{[-of|-output-format]}} {{jsonl|yaml}} {{[-o|-output]}} {{path/to/file}}` + +- Display help: + +`proxify -h` diff --git a/pages/common/prqlc.md b/pages/common/prqlc.md new file mode 100644 index 00000000000000..53449fcbc68bd7 --- /dev/null +++ b/pages/common/prqlc.md @@ -0,0 +1,25 @@ +# prqlc + +> PRQL compiler. +> PRQL is a modern language for transforming data - a simple, powerful, pipelined SQL replacement. +> More information: . + +- Run the compiler interactively: + +`prqlc compile` + +- Compile a specific `.prql` file to `stdout`: + +`prqlc compile {{path/to/file.prql}}` + +- Compile a `.prql` file to a `.sql` file: + +`prqlc compile {{path/to/source.prql}} {{path/to/target.sql}}` + +- Compile a query: + +`echo "{{from employees | filter has_dog | select salary}}" | prqlc compile` + +- Watch a directory and compile on file modification: + +`prqlc watch {{path/to/directory}}` diff --git a/pages/common/ps-nvm.md b/pages/common/ps-nvm.md new file mode 100644 index 00000000000000..01f2478d772b6a --- /dev/null +++ b/pages/common/ps-nvm.md @@ -0,0 +1,29 @@ +# ps-nvm + +> PowerShell-based utility to manage multiple Node.js versions, inspired by `nvm`. +> This tool provides multiple commands that all can only be run through PowerShell. +> More information: . + +- View documentation for `Get-NodeInstallLocation`, a tool to get the current Node.js install location: + +`tldr get-nodeinstalllocation` + +- View documentation for `Get-NodeVersions`, a tool to list all available and currently-installed Node.js versions: + +`tldr get-nodeversions` + +- View documentation for `Install-NodeVersion`, a tool to install Node.js runtime versions: + +`tldr install-nodeversion` + +- View documentation for `Remove-NodeVersion`, a tool to uninstall an existing Node.js version: + +`tldr remove-nodeversion` + +- View documentation for `Set-NodeInstallLocation`, a tool to set the Node.js install location: + +`tldr set-nodeinstalllocation` + +- View documentation for `Set-NodeVersion`, a tool to set the default version of Node.js: + +`tldr set-nodeversion` diff --git a/pages/common/ps.md b/pages/common/ps.md index 5d8cb3af2809c2..40ec404a16a0b9 100644 --- a/pages/common/ps.md +++ b/pages/common/ps.md @@ -1,6 +1,7 @@ # ps > Information about running processes. +> More information: . - List all running processes: @@ -10,21 +11,21 @@ `ps auxww` -- Search for a process that matches a string: +- Search for a process that matches a string (the brackets will prevent `grep` from matching itself): -`ps aux | grep {{string}}` +`ps aux | grep {{[s]tring}}` - List all processes of the current user in extra full format: -`ps --user $(id -u) -F` +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) -F` - List all processes of the current user as a tree: -`ps --user $(id -u) f` +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) f` -- Get the parent pid of a process: +- Get the parent PID of a process: -`ps -o ppid= -p {{pid}}` +`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{pid}}` - Sort processes by memory consumption: diff --git a/pages/common/psalm.md b/pages/common/psalm.md new file mode 100644 index 00000000000000..e96f67ecd393f4 --- /dev/null +++ b/pages/common/psalm.md @@ -0,0 +1,32 @@ +# psalm + +> A static analysis tool for finding errors in PHP applications. +> More information: . + +- Generate a Psalm configuration: + +`psalm --init` + +- Analyze the current working directory: + +`psalm` + +- Analyze a specific directory or file: + +`psalm {{path/to/file_or_directory}}` + +- Analyze a project with a specific configuration file: + +`psalm --config {{path/to/psalm.xml}}` + +- Include informational findings in the output: + +`psalm --show-info` + +- Analyze a project and display statistics: + +`psalm --stats` + +- Analyze a project in parallel with 4 threads: + +`psalm --threads {{4}}` diff --git a/pages/common/psexec.py.md b/pages/common/psexec.py.md new file mode 100644 index 00000000000000..bd6d7bdf5592a2 --- /dev/null +++ b/pages/common/psexec.py.md @@ -0,0 +1,33 @@ +# psexec.py + +> Execute commands on a remote Windows machine using `RemComSvc`, providing PsExec-like functionality. +> Part of the Impacket suite. +> More information: . + +- Spawn an interactive shell on a remote target: + +`psexec.py {{domain}}/{{username}}:{{password}}@{{target}}` + +- Execute a specific command on a remote target: + +`psexec.py {{domain}}/{{username}}:{{password}}@{{target}} {{command}}` + +- Copy the filename for later execution, arguments are passed in the command: + +`psexec.py -c {{filename}} {{domain}}/{{username}}:{{password}}@{{target}} {{command}}` + +- Execute a command from a specific path on a remote target: + +`psexec.py -path {{path}} {{domain}}/{{username}}:{{password}}@{{target}} {{command}}` + +- Authenticate using pass-the-hash authentication instead of a password: + +`psexec.py -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}@{{target}}` + +- Use Kerberos authentication for the target: + +`psexec.py -k -no-pass {{domain}}/{{username}}@{{target}}` + +- Specify the IP address of the domain controller: + +`psexec.py -dc-ip {{domain_controller_ip}} {{domain}}/{{username}}:{{password}}@{{target}}` diff --git a/pages/common/psidtopgm.md b/pages/common/psidtopgm.md new file mode 100644 index 00000000000000..03c09330065e31 --- /dev/null +++ b/pages/common/psidtopgm.md @@ -0,0 +1,8 @@ +# psidtopgm + +> Convert PostScript image data to a PGM image. +> More information: . + +- Convert the image data in a PS file to a PGM image of the specified dimensions and quality: + +`psidtopgm {{width}} {{height}} {{bits_per_sample}} {{path/to/file.ps}} > {{path/to/image.pgm}}` diff --git a/pages/common/psql.md b/pages/common/psql.md index 8d2c303d763fb7..849fd1e84342c9 100644 --- a/pages/common/psql.md +++ b/pages/common/psql.md @@ -1,24 +1,24 @@ # psql -> PostgreSQL command-line client. +> PostgreSQL client. > More information: . -- Connect to database. It connects to localhost using default port 5432 with default user as currently logged in user: +- Connect to the database. By default, it connects to the local socket using port 5432 with the currently logged in user: `psql {{database}}` -- Connect to database on given server host running on given port with given username, without a password prompt: +- Connect to the database on given server host running on given port with given username, without a password prompt: -`psql -h {{host}} -p {{port}} -U {{username}} {{database}}` +`psql {{[-h|--host]}} {{host}} {{[-p|--port]}} {{port}} {{[-U|--username]}} {{username}} {{database}}` -- Connect to database; user will be prompted for password: +- Connect to the database; user will be prompted for password: -`psql -h {{host}} -p {{port}} -U {{username}} -W {{database}}` +`psql {{[-h|--host]}} {{host}} {{[-p|--port]}} {{port}} {{[-U|--username]}} {{username}} {{[-W|--password]}} {{database}}` - Execute a single SQL query or PostgreSQL command on the given database (useful in shell scripts): -`psql -c '{{query}}' {{database}}` +`psql {{[-c|--command]}} '{{query}}' {{database}}` - Execute commands from a file on the given database: -`psql {{database}} -f {{file.sql}}` +`psql {{database}} {{[-f|--file]}} {{path/to/file.sql}}` diff --git a/pages/common/pssh.md b/pages/common/pssh.md index 76c08313a29d3c..d07588f5b39978 100644 --- a/pages/common/pssh.md +++ b/pages/common/pssh.md @@ -1,27 +1,28 @@ # pssh > Parallel SSH program. +> More information: . - Run a command on two hosts, and print its output on each server inline: -`pssh -i -H "{{host1}} {{host2}}" {{hostname -i}}` +`pssh {{[-i|--inline]}} {{[-H|--host]}} "{{host1}} {{host2}}" {{hostname --ip-addresses}}` - Run a command and save the output to separate files: -`pssh -H {{host1}} -H {{host2}} -o {{path/to/output_dir}} {{hostname -i}}` +`pssh {{[-H|--host]}} {{host1}} {{[-H|--host]}} {{host2}} {{[-o|--outdir]}} {{path/to/output_directory}} {{hostname --ip-addresses}}` - Run a command on multiple hosts, specified in a new-line separated file: -`pssh -i -h {{path/to/hosts_file}} {{hostname -i}}` +`pssh {{[-i|--inline]}} {{[-h|--hosts]}} {{path/to/hosts_file}} {{hostname --ip-addresses}}` - Run a command as root (this asks for the root password): -`pssh -i -h {{path/to/hosts_file}} -A -l {{root_username}} {{hostname -i}}` +`pssh {{[-i|--inline]}} {{[-h|--hosts]}} {{path/to/hosts_file}} {{[-A|--askpass]}} {{[-l|--user]}} {{root_username}} {{hostname --ip-addresses}}` - Run a command with extra SSH arguments: -`pssh -i -h {{path/to/hosts_file}} -x "{{-O VisualHostKey=yes}}" {{hostname -i}}` +`pssh {{[-i|--inline]}} {{[-h|--hosts]}} {{path/to/hosts_file}} {{[-x|--extra-arg]}} "{{-O VisualHostKey=yes}}" {{hostname --ip-addresses}}` - Run a command limiting the number of parallel connections to 10: -`pssh -i -h {{path/to/hosts_file}} -p {{10}} '{{cd dir; ./script.sh; exit}}'` +`pssh {{[-i|--inline]}} {{[-h|--hosts]}} {{path/to/hosts_file}} {{[-p|-par]}} {{10}} '{{cd dir; ./script.sh; exit}}'` diff --git a/pages/common/pstopnm.md b/pages/common/pstopnm.md new file mode 100644 index 00000000000000..b9bc0df68da6c0 --- /dev/null +++ b/pages/common/pstopnm.md @@ -0,0 +1,16 @@ +# pstopnm + +> Convert a PostScript file to a PNM image. +> More information: . + +- Convert a PS file to PNM images, storing page N of the input to `path/to/fileN.ppm`: + +`pstopnm {{path/to/file.ps}}` + +- Explicitly specify the output format: + +`pstopnm -{{pbm|pgm|ppm}} {{path/to/file.ps}}` + +- Specify the resolution of the output in dots per inch: + +`pstopnm -dpi {{n}} {{path/to/file.ps}}` diff --git a/pages/common/pt.md b/pages/common/pt.md index 6c4fc4568eb539..fe00e53186ef44 100644 --- a/pages/common/pt.md +++ b/pages/common/pt.md @@ -10,16 +10,16 @@ - Find files containing "foo" and display count of matches in each file: -`pt -c {{foo}}` +`pt {{[-c|--count]}} {{foo}}` - Find files containing "foo" as a whole word and ignore its case: -`pt -wi {{foo}}` +`pt {{[-wi|--word-regexp --ignore-case]}} {{foo}}` -- Find "foo" in files with a given extension using a regular expression: +- Find "foo" in files with a given extension using a `regex`: -`pt -G='{{\.bar$}}' {{foo}}` +`pt {{[-G|--file-search-regexp]}}='{{\.bar$}}' {{foo}}` -- Find files whose contents match the regular expression, up to 2 directories deep: +- Find files whose contents match the `regex`, up to 2 directories deep: `pt --depth={{2}} -e '{{^ba[rz]*$}}'` diff --git a/pages/common/ptargrep.md b/pages/common/ptargrep.md new file mode 100644 index 00000000000000..2c06f0241d1104 --- /dev/null +++ b/pages/common/ptargrep.md @@ -0,0 +1,16 @@ +# ptargrep + +> Find `regex` patterns in tar archive files. +> More information: . + +- Search for a pattern within one or more tar archives: + +`ptargrep "{{search_pattern}}" {{path/to/file1 path/to/file2 ...}}` + +- Extract to the current directory using the basename of the file from the archive: + +`ptargrep {{[-b|--basename]}} "{{search_pattern}}" {{path/to/file}}` + +- Search for a case-insensitive pattern matching within a tar archive: + +`ptargrep {{[-i|--ignore-case]}} "{{search_pattern}}" {{path/to/file}}` diff --git a/pages/common/ptpython.md b/pages/common/ptpython.md new file mode 100644 index 00000000000000..03a300a36273ce --- /dev/null +++ b/pages/common/ptpython.md @@ -0,0 +1,32 @@ +# ptpython + +> A better Python REPL. +> More information: . + +- Start a REPL (interactive shell): + +`ptpython` + +- Execute a specific Python file: + +`ptpython {{path/to/file.py}}` + +- Execute a specific Python file and start a REPL: + +`ptpython {{[-i|--interactive]}} {{path/to/file.py}}` + +- Open the menu: + +`` + +- Open the history page: + +`` + +- Toggle paste mode: + +`` + +- Quit: + +`` diff --git a/pages/common/ptpython3.md b/pages/common/ptpython3.md new file mode 100644 index 00000000000000..3ae2eb8a93eefe --- /dev/null +++ b/pages/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> This command is an alias of `ptpython`. + +- View documentation for the original command: + +`tldr ptpython` diff --git a/pages/common/pueue-add.md b/pages/common/pueue-add.md new file mode 100644 index 00000000000000..3311b30de698ac --- /dev/null +++ b/pages/common/pueue-add.md @@ -0,0 +1,28 @@ +# pueue add + +> Enqueue a task for execution. +> More information: . + +- Add any command to the default queue: + +`pueue add {{command}}` + +- Pass a list of flags or arguments to a command when enqueuing: + +`pueue add -- {{command --arg -f}}` + +- Add a command but do not start it if it's the first in a queue: + +`pueue add {{[-s|--stashed]}} -- {{rsync --archive --compress /local/directory /remote/directory}}` + +- Add a command to a group and start it immediately, see `pueue group` to manage groups: + +`pueue add {{[-i|--immediate]}} {{[-g|--group]}} "{{CPU_intensive}}" -- {{ffmpeg -i input.mp4 frame_%d.png}}` + +- Add a command and start it after commands 9 and 12 finish successfully: + +`pueue add {{[-a|--after]}} {{9}} {{12}} {{[-g|--group]}} "{{torrents}}" -- {{transmission-cli torrent_file.torrent}}` + +- Add a command with a label after some delay has passed, see `pueue enqueue` for valid datetime formats: + +`pueue add {{[-l|--label]}} "{{compressing large file}}" {{[-d|--delay]}} "{{wednesday 10:30pm}}" -- "{{7z a compressed_file.7z large_file.xml}}"` diff --git a/pages/common/pueue-clean.md b/pages/common/pueue-clean.md new file mode 100644 index 00000000000000..0eb851635e0b0c --- /dev/null +++ b/pages/common/pueue-clean.md @@ -0,0 +1,12 @@ +# pueue clean + +> Remove all finished tasks from the list and clear logs. +> More information: . + +- Remove finished tasks and clear logs: + +`pueue clean` + +- Only clean commands that finished successfully: + +`pueue clean {{[-s|--successful-only]}}` diff --git a/pages/common/pueue-completions.md b/pages/common/pueue-completions.md new file mode 100644 index 00000000000000..d039513b445de2 --- /dev/null +++ b/pages/common/pueue-completions.md @@ -0,0 +1,16 @@ +# pueue completions + +> Generate shell completion files for Bash, Elvish, Fish, PowerShell, and Zsh. +> More information: . + +- Generate completions for Bash: + +`sudo pueue completions bash {{/usr/share/bash-completion/completions/pueue.bash}}` + +- Generate completions for Zsh: + +`sudo pueue completions zsh {{/usr/share/zsh/site-functions}}` + +- Generate completions for fish: + +`sudo pueue completions fish {{/usr/share/fish/completions}}` diff --git a/pages/common/pueue-edit.md b/pages/common/pueue-edit.md new file mode 100644 index 00000000000000..dfcc469d6abd76 --- /dev/null +++ b/pages/common/pueue-edit.md @@ -0,0 +1,16 @@ +# pueue edit + +> Edit the command or path of a stashed or queued task. +> More information: . + +- Edit a task, see `pueue status` to get the task ID: + +`pueue edit {{task_id}}` + +- Edit the path from which a task is executed: + +`pueue edit {{task_id}} --path` + +- Edit a command with the specified editor: + +`EDITOR={{nano}} pueue edit {{task_id}}` diff --git a/pages/common/pueue-enqueue.md b/pages/common/pueue-enqueue.md new file mode 100644 index 00000000000000..bf85299a3e0885 --- /dev/null +++ b/pages/common/pueue-enqueue.md @@ -0,0 +1,29 @@ +# pueue enqueue + +> Enqueue stashed tasks. +> See also: `pueue stash`. +> More information: . + +- Enqueue multiple stashed tasks at once: + +`pueue enqueue {{task_id}} {{task_id}}` + +- Enqueue a stashed task after 60 seconds: + +`pueue enqueue {{[-d|--delay]}} {{60}} {{task_id}}` + +- Enqueue a stashed task next Wednesday: + +`pueue enqueue {{[-d|--delay]}} {{wednesday}} {{task_id}}` + +- Enqueue a stashed task after four months: + +`pueue enqueue {{[-d|--delay]}} "4 months" {{task_id}}` + +- Enqueue a stashed task on 2021-02-19: + +`pueue enqueue {{[-d|--delay]}} {{2021-02-19}} {{task_id}}` + +- List all available date/time formats: + +`pueue enqueue {{[-h|--help]}}` diff --git a/pages/common/pueue-follow.md b/pages/common/pueue-follow.md new file mode 100644 index 00000000000000..4d1288b2bc5557 --- /dev/null +++ b/pages/common/pueue-follow.md @@ -0,0 +1,13 @@ +# pueue follow + +> Follow the output of a currently running task. +> See also: `pueue log`. +> More information: . + +- Follow the output of a task (`stdout` + `stderr`): + +`pueue follow {{task_id}}` + +- Follow `stderr` of a task: + +`pueue follow --err {{task_id}}` diff --git a/pages/common/pueue-group.md b/pages/common/pueue-group.md new file mode 100644 index 00000000000000..f71934a02bbf51 --- /dev/null +++ b/pages/common/pueue-group.md @@ -0,0 +1,16 @@ +# pueue group + +> Display, add or remove groups. +> More information: . + +- Show all groups with their statuses and number of parallel jobs: + +`pueue group` + +- Add a custom group: + +`pueue group add "{{group_name}}"` + +- Remove a group and move its tasks to the default group: + +`pueue group remove "{{group_name}}"` diff --git a/pages/common/pueue-help.md b/pages/common/pueue-help.md new file mode 100644 index 00000000000000..b1f51acf6d2e35 --- /dev/null +++ b/pages/common/pueue-help.md @@ -0,0 +1,12 @@ +# pueue help + +> Display help for subcommands. +> More information: . + +- Show all available subcommands and flags: + +`pueue help` + +- Display help for a specific subcommand: + +`pueue help {{subcommand}}` diff --git a/pages/common/pueue-kill.md b/pages/common/pueue-kill.md new file mode 100644 index 00000000000000..8eab23800ef6a4 --- /dev/null +++ b/pages/common/pueue-kill.md @@ -0,0 +1,24 @@ +# pueue kill + +> Kill running tasks or whole groups. +> More information: . + +- Kill all tasks in the default group: + +`pueue kill` + +- Kill a specific task: + +`pueue kill {{task_id}}` + +- Kill a task and terminate all its child processes: + +`pueue kill --children {{task_id}}` + +- Kill all tasks in a group and pause the group: + +`pueue kill {{[-g|--group]}} {{group_name}}` + +- Kill all tasks across all groups and pause all groups: + +`pueue kill {{[-a|--all]}}` diff --git a/pages/common/pueue-log.md b/pages/common/pueue-log.md new file mode 100644 index 00000000000000..7bdc6743518330 --- /dev/null +++ b/pages/common/pueue-log.md @@ -0,0 +1,21 @@ +# pueue log + +> Display the log output of 1 or more tasks. +> See also: `pueue status`. +> More information: . + +- Show the last few lines of output from all tasks: + +`pueue log` + +- Show the full output of a task: + +`pueue log {{task_id}}` + +- Show the last few lines of output from several tasks: + +`pueue log {{task_id}} {{task_id}}` + +- Print a specific number of lines from the tail of output: + +`pueue log {{[-l|--lines]}} {{number_of_lines}} {{task_id}}` diff --git a/pages/common/pueue-parallel.md b/pages/common/pueue-parallel.md new file mode 100644 index 00000000000000..18d9d6e99ca2fd --- /dev/null +++ b/pages/common/pueue-parallel.md @@ -0,0 +1,12 @@ +# pueue parallel + +> Set the amount of allowed parallel tasks. +> More information: . + +- Set the maximum number of tasks allowed to run in parallel, in the default group: + +`pueue parallel {{max_number_of_parallel_tasks}}` + +- Set the maximum number of tasks allowed to run in parallel, in a specific group: + +`pueue parallel {{[-g|--group]}} {{group_name}} {{maximum_number_of_parallel_tasks}}` diff --git a/pages/common/pueue-pause.md b/pages/common/pueue-pause.md new file mode 100644 index 00000000000000..eae882bd84be7f --- /dev/null +++ b/pages/common/pueue-pause.md @@ -0,0 +1,25 @@ +# pueue pause + +> Pause running tasks or groups. +> See also: `pueue start`. +> More information: . + +- Pause all tasks in the default group: + +`pueue pause` + +- Pause a running task: + +`pueue pause {{task_id}}` + +- Pause a running task and stop all its direct children: + +`pueue pause --children {{task_id}}` + +- Pause all tasks in a group and prevent it from starting new tasks: + +`pueue pause {{[-g|--group]}} {{group_name}}` + +- Pause all tasks and prevent all groups from starting new tasks: + +`pueue pause {{[-a|--all]}}` diff --git a/pages/common/pueue-remove.md b/pages/common/pueue-remove.md new file mode 100644 index 00000000000000..6424ba6c9cd27e --- /dev/null +++ b/pages/common/pueue-remove.md @@ -0,0 +1,12 @@ +# pueue remove + +> Remove tasks from the list. Running or paused tasks need to be killed first. +> More information: . + +- Remove a killed or finished task: + +`pueue remove {{task_id}}` + +- Remove multiple tasks at once: + +`pueue remove {{task_id}} {{task_id}}` diff --git a/pages/common/pueue-reset.md b/pages/common/pueue-reset.md new file mode 100644 index 00000000000000..5c29f8f71b96b1 --- /dev/null +++ b/pages/common/pueue-reset.md @@ -0,0 +1,16 @@ +# pueue reset + +> Kill everything and reset. +> More information: . + +- Kill all tasks and remove everything (logs, status, groups, task IDs): + +`pueue reset` + +- Kill all tasks, terminate their children, and reset everything: + +`pueue reset --children` + +- Reset without asking for confirmation: + +`pueue reset {{[-f|--force]}}` diff --git a/pages/common/pueue-restart.md b/pages/common/pueue-restart.md new file mode 100644 index 00000000000000..1565696e3ca9a4 --- /dev/null +++ b/pages/common/pueue-restart.md @@ -0,0 +1,28 @@ +# pueue restart + +> Restart tasks. +> More information: . + +- Restart a specific task: + +`pueue restart {{task_id}}` + +- Restart multiple tasks at once, and start them immediately (do not enqueue): + +`pueue restart {{[-k|--immediately]}} {{task_id}} {{task_id}}` + +- Restart a specific task from a different path: + +`pueue restart --edit-path {{task_id}}` + +- Edit a command before restarting: + +`pueue restart {{[-e|--edit]}} {{task_id}}` + +- Restart a task in-place (without enqueuing as a separate task): + +`pueue restart {{[-i|--in-place]}} {{task_id}}` + +- Restart all failed tasks and stash them: + +`pueue restart {{[-a|--all-failed]}} --stashed` diff --git a/pages/common/pueue-send.md b/pages/common/pueue-send.md new file mode 100644 index 00000000000000..3cce39a5a63b0e --- /dev/null +++ b/pages/common/pueue-send.md @@ -0,0 +1,12 @@ +# pueue send + +> Send input to a task. +> More information: . + +- Send input to a running command: + +`pueue send {{task_id}} "{{input}}"` + +- Send confirmation to a task expecting y/N (e.g. APT, cp): + +`pueue send {{task_id}} {{y}}` diff --git a/pages/common/pueue-shutdown.md b/pages/common/pueue-shutdown.md new file mode 100644 index 00000000000000..eff3ac8a365a00 --- /dev/null +++ b/pages/common/pueue-shutdown.md @@ -0,0 +1,9 @@ +# pueue shutdown + +> Remotely shut down the daemon. +> Only use this subcommand if the daemon isn't started by a service manager. +> More information: . + +- Shutdown the daemon without a service manager: + +`pueue shutdown` diff --git a/pages/common/pueue-start.md b/pages/common/pueue-start.md new file mode 100644 index 00000000000000..f26e79770f3d8c --- /dev/null +++ b/pages/common/pueue-start.md @@ -0,0 +1,25 @@ +# pueue start + +> Resume operation of tasks or groups of tasks. +> See also: `pueue pause`. +> More information: . + +- Resume all tasks in the default group: + +`pueue start` + +- Resume a specific task: + +`pueue start {{task_id}}` + +- Resume multiple tasks at once: + +`pueue start {{task_id}} {{task_id}}` + +- Resume all tasks and start their children: + +`pueue start {{[-a|--all]}} --children` + +- Resume all tasks in a specific group: + +`pueue start group {{group_name}}` diff --git a/pages/common/pueue-stash.md b/pages/common/pueue-stash.md new file mode 100644 index 00000000000000..a31f199f5844dc --- /dev/null +++ b/pages/common/pueue-stash.md @@ -0,0 +1,21 @@ +# pueue stash + +> Stash tasks to prevent them starting automatically. +> See also: `pueue start`, `pueue enqueue`. +> More information: . + +- Stash an enqueued task: + +`pueue stash {{task_id}}` + +- Stash multiple tasks at once: + +`pueue stash {{task_id}} {{task_id}}` + +- Start a stashed task immediately: + +`pueue start {{task_id}}` + +- Enqueue a task to be executed when preceding tasks finish: + +`pueue enqueue {{task_id}}` diff --git a/pages/common/pueue-status.md b/pages/common/pueue-status.md new file mode 100644 index 00000000000000..5211a9489c8018 --- /dev/null +++ b/pages/common/pueue-status.md @@ -0,0 +1,12 @@ +# pueue status + +> Display the current status of all tasks. +> More information: . + +- Show the status of all tasks: + +`pueue status` + +- Show the status of a specific group: + +`pueue status {{[-g|--group]}} {{group_name}}` diff --git a/pages/common/pueue-switch.md b/pages/common/pueue-switch.md new file mode 100644 index 00000000000000..fd67aa655f23df --- /dev/null +++ b/pages/common/pueue-switch.md @@ -0,0 +1,8 @@ +# pueue switch + +> Switches the queue position of two enqueued or stashed commands. +> More information: . + +- Switch the priority of two tasks: + +`pueue switch {{task_id1}} {{task_id2}}` diff --git a/pages/common/pueue.md b/pages/common/pueue.md new file mode 100644 index 00000000000000..2b43ec0b53d5b0 --- /dev/null +++ b/pages/common/pueue.md @@ -0,0 +1,37 @@ +# pueue + +> A task management tool for sequential and parallel execution of long-running tasks. +> Some subcommands such as `add` have their own usage documentation. +> More information: . + +- Add a command to the task list: + +`pueue add -- "{{command}}"` + +- List tasks in the task list: + +`pueue status` + +- Send data to a task's `stdin`: + +`pueue send {{task_id}} {{"hello"}}` + +- View a task's `stdout` and `stderr`, as well as basic information about that task: + +`pueue log {{task_id}}` + +- Create a task group: + +`pueue group --add {{group_name}}` + +- Kill a task: + +`pueue kill {{task_id}}` + +- Set maximum amount of parallel tasks (queued tasks are started as needed to meet this limit): + +`pueue parallel {{number_of_parallel_tasks}}` + +- Edit the command line of a stopped task in the default editor (as specified by `$EDITOR`): + +`pueue edit {{task_id}}` diff --git a/pages/common/pulumi-about.md b/pages/common/pulumi-about.md new file mode 100644 index 00000000000000..29fc58478bb7ee --- /dev/null +++ b/pages/common/pulumi-about.md @@ -0,0 +1,20 @@ +# pulumi about + +> Print information about the Pulumi environment. +> More information: . + +- Print information about the Pulumi environment: + +`pulumi about` + +- Print information about the Pulumi environment in JSON format: + +`pulumi about {{[-j|--json]}}` + +- Print information about the Pulumi environment of a specific stack: + +`pulumi about {{[-s|--stack]}} {{stack_name}}` + +- Display help: + +`pulumi about {{[-h|--help]}}` diff --git a/pages/common/pulumi-cancel.md b/pages/common/pulumi-cancel.md new file mode 100644 index 00000000000000..cba9019fd7b698 --- /dev/null +++ b/pages/common/pulumi-cancel.md @@ -0,0 +1,16 @@ +# pulumi cancel + +> Cancel a stack's currently running update, if any. +> More information: . + +- Cancel a stack's currently running update, if any: + +`pulumi cancel {{stack_name}}` + +- Skip confirmation prompts, and proceed with cancellation anyway: + +`pulumi cancel {{[-y|--yes]}}` + +- Display help: + +`pulumi cancel {{[-h|--help]}}` diff --git a/pages/common/pulumi-config.md b/pages/common/pulumi-config.md new file mode 100644 index 00000000000000..cadf3e51c715ce --- /dev/null +++ b/pages/common/pulumi-config.md @@ -0,0 +1,32 @@ +# pulumi config + +> Manage configuration of a Pulumi stack. +> More information: . + +- View current configuration in JSON format: + +`pulumi config {{[-j|--json]}}` + +- View configuration for a specified stack: + +`pulumi config {{[-s|--stack]}} {{stack_name}}` + +- Get the value of a configuration key: + +`pulumi config get {{key}}` + +- Remove a configuration value: + +`pulumi config rm {{key}}` + +- Set a value for a configuration key from a file: + +`cat {{path/to/file}} | pulumi config set {{key}}` + +- Set a secret value (e.g. API key) for a configuration key and store/display as ciphertext: + +`pulumi config set --secret {{key}} {{S3cr37_value}}` + +- Remove multiple configuration values from a specified configuration file: + +`pulumi config --config-file {{path/to/file}} rm-all {{key1 key2 ...}}` diff --git a/pages/common/pulumi-console.md b/pages/common/pulumi-console.md new file mode 100644 index 00000000000000..a5130b71e72060 --- /dev/null +++ b/pages/common/pulumi-console.md @@ -0,0 +1,17 @@ +# pulumi console + +> Open a stack in the Pulumi Console (cloud or self-hosted). +> It gives you instructions to migrate if not available for your backend. +> More information: . + +- Open the current stack: + +`pulumi console` + +- Open the console for a specific stack: + +`pulumi console {{[-s|--stack]}} {{stack_name}}` + +- Display help: + +`pulumi console {{[-h|--help]}}` diff --git a/pages/common/pulumi-destroy.md b/pages/common/pulumi-destroy.md new file mode 100644 index 00000000000000..01d0c974edff73 --- /dev/null +++ b/pages/common/pulumi-destroy.md @@ -0,0 +1,28 @@ +# pulumi destroy + +> Destroy all existing resources in a stack. +> More information: . + +- Destroy all resources in the current stack: + +`pulumi destroy` + +- Destroy all resources in a specific stack: + +`pulumi destroy {{[-s|--stack]}} {{stack}}` + +- Automatically approve and destroy resources after previewing: + +`pulumi destroy {{[-y|--yes]}}` + +- Exclude protected resources from being destroyed: + +`pulumi destroy --exclude-protected` + +- Remove the stack and its configuration file after all resources in the stack are deleted: + +`pulumi destroy --remove` + +- Continue destroying the resources, even if an error is encountered: + +`pulumi destroy --continue-on-error` diff --git a/pages/common/pulumi-down.md b/pages/common/pulumi-down.md new file mode 100644 index 00000000000000..807bc4d3c33a68 --- /dev/null +++ b/pages/common/pulumi-down.md @@ -0,0 +1,7 @@ +# pulumi down + +> This command is an alias of `pulumi destroy`. + +- View documentation for the original command: + +`tldr pulumi destroy` diff --git a/pages/common/pulumi-env.md b/pages/common/pulumi-env.md new file mode 100644 index 00000000000000..9b9d48915b70ef --- /dev/null +++ b/pages/common/pulumi-env.md @@ -0,0 +1,32 @@ +# pulumi env + +> Manage Pulumi environments. +> More information: . + +- List all environments: + +`pulumi env ls` + +- Create an environment: + +`pulumi env init {{environment_name}}` + +- Set a value in an environment: + +`pulumi env set {{environment_name}} {{key}} {{value}}` + +- Edit an environment definition: + +`pulumi env edit {{environment_name}}` + +- Delete a value from an environment: + +`pulumi env rm {{environment_name}} {{key}}` + +- Delete an environment entirely: + +`pulumi env rm {{environment_name}}` + +- Display help: + +`pulumi env {{[-h|--help]}}` diff --git a/pages/common/pulumi-gen-completion.md b/pages/common/pulumi-gen-completion.md new file mode 100644 index 00000000000000..e52b826f1bfa7e --- /dev/null +++ b/pages/common/pulumi-gen-completion.md @@ -0,0 +1,9 @@ +# pulumi gen-completion + +> Generate completion scripts for the Pulumi CLI. +> Supported shells are Bash, Zsh, fish. +> More information: . + +- Generate completion scripts: + +`pulumi gen-completion {{bash|zsh|fish}}` diff --git a/pages/common/pulumi-import.md b/pages/common/pulumi-import.md new file mode 100644 index 00000000000000..2d23764b4ba360 --- /dev/null +++ b/pages/common/pulumi-import.md @@ -0,0 +1,21 @@ +# pulumi import + +> Import resources into an existing stack. +> Read syntax for your cloud provider: . +> More information: . + +- Generate the resource definition with a given name for an existing provider resource: + +`pulumi import {{type_token}} {{name}} {{id}}` + +- Import an existing AWS user as a `pulumi` resource: + +`pulumi import aws:iam/user:User {{my_user_resource}} {{id}}` + +- Import an existing Cloudflare worker: + +`pulumi import cloudflare:index/workersScript:WorkersScript {{my_worker_script}} {{account_id/script_name}}` + +- Import from a JSON file for bulk import operations and output to a file instead of `stdout`: + +`pulumi import --file {{path/to/file.json}} --out {{path/to/file}}` diff --git a/pages/common/pulumi-install.md b/pages/common/pulumi-install.md new file mode 100644 index 00000000000000..ce4f951d832809 --- /dev/null +++ b/pages/common/pulumi-install.md @@ -0,0 +1,16 @@ +# pulumi install + +> Install packages and plugins for the current program or policy pack. +> More information: . + +- Install packages and plugins: + +`pulumi install` + +- Install packages and plugins but skip dependencies: + +`pulumi install --no-dependencies` + +- Install packages and reinstall existing plugins: + +`pulumi install --reinstall` diff --git a/pages/common/pulumi-login.md b/pages/common/pulumi-login.md new file mode 100644 index 00000000000000..f3c5e5b7cb2706 --- /dev/null +++ b/pages/common/pulumi-login.md @@ -0,0 +1,20 @@ +# pulumi login + +> Log in to the Pulumi cloud. +> More information: . + +- Log in to the managed Pulumi Cloud backend, defaults to `https://api.pulumi.com`: + +`pulumi login` + +- Log in to a self-hosted Pulumi Cloud backend on a specified URL: + +`pulumi login {{url}}` + +- Use Pulumi locally, independent of a cloud backend: + +`pulumi login {{[-l|--local]}}` + +- Display help: + +`pulumi login {{[-h|--help]}}` diff --git a/pages/common/pulumi-logout.md b/pages/common/pulumi-logout.md new file mode 100644 index 00000000000000..6a88455e7f414e --- /dev/null +++ b/pages/common/pulumi-logout.md @@ -0,0 +1,20 @@ +# pulumi logout + +> Log out of the Pulumi cloud. +> More information: . + +- Log out of a specific cloud backend: + +`pulumi logout {{url}}` + +- Log out of all backends simultaneously: + +`pulumi logout --all` + +- Log out of using local mode: + +`pulumi logout {{[-l|--local]}}` + +- Display help: + +`pulumi logout {{[-h|--help]}}` diff --git a/pages/common/pulumi-new.md b/pages/common/pulumi-new.md new file mode 100644 index 00000000000000..43f526ccb552f0 --- /dev/null +++ b/pages/common/pulumi-new.md @@ -0,0 +1,24 @@ +# pulumi new + +> Create a new Pulumi project. +> More information: . + +- Choose a template interactively: + +`pulumi new` + +- Create a project from a specific template (e.g `azure-python`): + +`pulumi new {{provided-template}}` + +- Create a project from a local file: + +`pulumi new {{path/to/templates/aws-typescript}}` + +- Create a project from a Git repository: + +`pulumi new {{url}}` + +- Use the specified secrets provider with the backend: + +`pulumi new --secrets-provider {{passphrase}}` diff --git a/pages/common/pulumi-org.md b/pages/common/pulumi-org.md new file mode 100644 index 00000000000000..8c5b7716d9c079 --- /dev/null +++ b/pages/common/pulumi-org.md @@ -0,0 +1,24 @@ +# pulumi org + +> Manage Pulumi Organization configuration. +> More information: . + +- Display the default organization and current backend: + +`pulumi org` + +- Display the default organization: + +`pulumi org get-default` + +- Set the default organization: + +`pulumi org set-default {{organization_name}}` + +- Search for resources in Pulumi Cloud using Pulumi AI with a plaintext natural language query: + +`pulumi org search ai {{[-q|--query]}} {{"show me all load balancers in my organization"}}` + +- Display help: + +`pulumi org {{[-h|--help]}}` diff --git a/pages/common/pulumi-plugin.md b/pages/common/pulumi-plugin.md new file mode 100644 index 00000000000000..3668506b392e40 --- /dev/null +++ b/pages/common/pulumi-plugin.md @@ -0,0 +1,25 @@ +# pulumi plugin + +> Manage language and resource provider plugins manually. +> Other commands manage these automatically. +> More information: . + +- List all plugins on the downloaded cache: + +`pulumi plugin ls` + +- List plugins being used by the current project in JSON format: + +`pulumi plugin {{[-p|--project]}} {{[-j|--json]}}` + +- Install a plugin kind (e.g resource) with the latest version or a specific one: + +`pulumi plugin install {{kind}} {{name}} {{version}}` + +- Remove a plugin kind (e.g. resource) and interactively pick a version or provide a specific one: + +`pulumi plugin rm {{kind}} {{name}} {{version}}` + +- Display help: + +`pulumi plugin {{[-h|--help]}}` diff --git a/pages/common/pulumi-policy.md b/pages/common/pulumi-policy.md new file mode 100644 index 00000000000000..3084c4c34e04dd --- /dev/null +++ b/pages/common/pulumi-policy.md @@ -0,0 +1,32 @@ +# pulumi policy + +> Manage resource policies on Pulumi Cloud (Business Critical) or locally (no organization sub-commands). +> More information: . + +- Create a new Pulumi Policy Pack from a template or URL: + +`pulumi policy new --dir {{path/to/directory}} {{template|url}}` + +- Validate syntax of a policy. To check a policy against a project use `pulumi preview`: + +`pulumi policy validate-config {{organization_name}}/{{policy_pack_name}} {{version}}` + +- List all policies for an organization: + +`pulumi policy ls {{[-j|--json]}} {{organization_name}}` + +- Publish a policy to the Pulumi Cloud: + +`pulumi policy publish {{organization_name}}` + +- Enable a policy with a specific version: + +`pulumi policy enable {{organization_name}}/{{policy_pack_name}} {{latest|version}}` + +- Disable a policy with a specific version (defaults to all versions): + +`pulumi policy disable {{organization_name}}/{{policy_pack_name}} --version {{version}}` + +- Display help: + +`pulumi policy {{[-h|--help]}}` diff --git a/pages/common/pulumi-preview.md b/pages/common/pulumi-preview.md new file mode 100644 index 00000000000000..0e1d1b2f9603fd --- /dev/null +++ b/pages/common/pulumi-preview.md @@ -0,0 +1,24 @@ +# pulumi preview + +> Show a preview of updates to a stack's resources. +> More information: . + +- Show a preview of updates to a stack's resources: + +`pulumi preview` + +- Show a preview of updates to a stack's resources in JSON format: + +`pulumi preview {{[-j|--json]}}` + +- Preview updates as a rich diff showing overall changes: + +`pulumi preview --diff` + +- Preview updates using a Policy Pack (without Pulumi Cloud, best on CI/CD): + +`pulumi preview --policy-pack {{path/to/directory}}` + +- Display help: + +`pulumi preview {{[-h|--help]}}` diff --git a/pages/common/pulumi-refresh.md b/pages/common/pulumi-refresh.md new file mode 100644 index 00000000000000..054355ba0e1513 --- /dev/null +++ b/pages/common/pulumi-refresh.md @@ -0,0 +1,28 @@ +# pulumi refresh + +> Refresh the resources in a stack. +> More information: . + +- Compare the current stack's state with the state in the cloud provider and adopt any changes into the current stack: + +`pulumi refresh` + +- Refresh resources in the current stack and show the operation as a rich diff: + +`pulumi refresh --diff` + +- Refresh resources in the current stack and return an error if any changes occur during the refresh: + +`pulumi refresh --expect-no-changes` + +- Only show a preview of the refresh, but don't perform the refresh itself: + +`pulumi refresh --preview-only` + +- The name of the stack to operate on (defaults to the current stack): + +`pulumi refresh {{[-s|--stack]}} {{stack_name}}` + +- Display help: + +`pulumi refresh {{[-h|--help]}}` diff --git a/pages/common/pulumi-schema.md b/pages/common/pulumi-schema.md new file mode 100644 index 00000000000000..3d3b6b46195710 --- /dev/null +++ b/pages/common/pulumi-schema.md @@ -0,0 +1,17 @@ +# pulumi schema + +> Check a Pulumi package schema for errors. +> Schema reference: . +> More information: . + +- Check a package schema: + +`pulumi schema check {{path/to/file}}` + +- Check a package schema without failing if the reference to a type is missing: + +`pulumi schema check --allow-dangling-references {{path/to/file}}` + +- Display help: + +`pulumi schema check {{[-h|--help]}}` diff --git a/pages/common/pulumi-stack-hist.md b/pages/common/pulumi-stack-hist.md new file mode 100644 index 00000000000000..4162851003b2ca --- /dev/null +++ b/pages/common/pulumi-stack-hist.md @@ -0,0 +1,7 @@ +# pulumi stack hist + +> This command is an alias of `pulumi stack history`. + +- View documentation for the original command: + +`tldr pulumi stack history` diff --git a/pages/common/pulumi-stack-history.md b/pages/common/pulumi-stack-history.md new file mode 100644 index 00000000000000..9cf32bcd7dfa90 --- /dev/null +++ b/pages/common/pulumi-stack-history.md @@ -0,0 +1,24 @@ +# pulumi stack history + +> Display history for a stack. +> More information: . + +- Display history for the current stack: + +`pulumi stack {{[hist|history]}}` + +- Display history for the current stack showing full dates instead of relative dates: + +`pulumi stack {{[hist|history]}} --full-dates` + +- Display history for the current stack in JSON format: + +`pulumi stack {{[hist|history]}} {{[-j|--json]}}` + +- Display history for a specific stack: + +`pulumi stack {{[hist|history]}} {{[-s|--stack]}} {{stack_name}}` + +- Display help: + +`pulumi stack {{[hist|history]}} {{[-h|--help]}}` diff --git a/pages/common/pulumi-stack.md b/pages/common/pulumi-stack.md new file mode 100644 index 00000000000000..99fbe4d3c89614 --- /dev/null +++ b/pages/common/pulumi-stack.md @@ -0,0 +1,36 @@ +# pulumi stack + +> Manage stacks and view stack state. +> More information: . + +- Create a new stack: + +`pulumi stack init {{stack_name}}` + +- Show the stack state along with resource URNs: + +`pulumi stack {{[-u|--show-urns]}}` + +- List stacks in the current project: + +`pulumi stack ls` + +- List stacks across all projects: + +`pulumi stack ls {{[-a|--all]}}` + +- Select an active stack: + +`pulumi stack select {{stack_name}}` + +- Delete a stack: + +`pulumi stack rm {{stack_name}}` + +- Show stack outputs, including secrets, in plaintext: + +`pulumi stack output --show-secrets` + +- Export the stack state to a JSON file: + +`pulumi stack export --file {{path/to/file.json}}` diff --git a/pages/common/pulumi-state.md b/pages/common/pulumi-state.md new file mode 100644 index 00000000000000..da879a19ffd965 --- /dev/null +++ b/pages/common/pulumi-state.md @@ -0,0 +1,28 @@ +# pulumi state + +> Edit the current stack's state. +> More information: . + +- Delete a resource from the current stack's state: + +`pulumi state delete` + +- Move a resource from the current stack to another: + +`pulumi state move {{resource_urn}} --dest {{stack_name}}` + +- Rename a resource in the current stack's state: + +`pulumi state rename` + +- Repair an invalid state: + +`pulumi state repair` + +- Edit a stack's state in the editor specified by the `EDITOR` environment variable: + +`pulumi state edit --stack {{stack_name}}` + +- Display help: + +`pulumi state {{[-h|--help]}}` diff --git a/pages/common/pulumi-up.md b/pages/common/pulumi-up.md new file mode 100644 index 00000000000000..708ffbcfc270ef --- /dev/null +++ b/pages/common/pulumi-up.md @@ -0,0 +1,32 @@ +# pulumi up + +> Create or update the resources in a stack. +> More information: . + +- Preview and deploy changes to a program and/or infrastructure: + +`pulumi up` + +- Automatically approve and perform the update after previewing it: + +`pulumi up {{[-y|--yes]}}` + +- Preview and deploy changes in a specific stack: + +`pulumi up {{[-s|--stack]}} {{stack}}` + +- Refresh the state of the stack's resources before updating: + +`pulumi up {{[-r|--refresh]}}` + +- Don't display stack outputs: + +`pulumi up --suppress-outputs` + +- Continue updating the resources, even if an error is encountered: + +`pulumi up --continue-on-error` + +- Display help: + +`pulumi up {{[-h|--help]}}` diff --git a/pages/common/pulumi-update.md b/pages/common/pulumi-update.md new file mode 100644 index 00000000000000..bda82c59ea3724 --- /dev/null +++ b/pages/common/pulumi-update.md @@ -0,0 +1,7 @@ +# pulumi update + +> This command is an alias of `pulumi up`. + +- View documentation for the original command: + +`tldr pulumi up` diff --git a/pages/common/pulumi-version.md b/pages/common/pulumi-version.md new file mode 100644 index 00000000000000..cf9bcb2df3715c --- /dev/null +++ b/pages/common/pulumi-version.md @@ -0,0 +1,12 @@ +# pulumi version + +> Display Pulumi's version number. +> More information: . + +- Display version: + +`pulumi version` + +- Display help: + +`pulumi version {{[-h|--help]}}` diff --git a/pages/common/pulumi-whoami.md b/pages/common/pulumi-whoami.md new file mode 100644 index 00000000000000..737c87fc55930c --- /dev/null +++ b/pages/common/pulumi-whoami.md @@ -0,0 +1,20 @@ +# pulumi whoami + +> Print information about the currently logged in user. +> More information: . + +- Print the username of the currently logged in user: + +`pulumi whoami` + +- Print detailed information about the currently logged in user: + +`pulumi whoami {{[-v|--verbose]}}` + +- Print detailed information about the currently logged in user as JSON: + +`pulumi whoami {{[-j|--json]}}` + +- Display help: + +`pulumi whoami {{[-h|--help]}}` diff --git a/pages/common/pulumi.md b/pages/common/pulumi.md new file mode 100644 index 00000000000000..03fe3d262b29ab --- /dev/null +++ b/pages/common/pulumi.md @@ -0,0 +1,33 @@ +# pulumi + +> Define infrastructure on any cloud using familiar programming languages. +> Some subcommands such as `up` have their own usage documentation. +> More information: . + +- Create a new project using a template: + +`pulumi new` + +- Create a new stack using an isolated deployment target: + +`pulumi stack init` + +- Configure variables (e.g. keys, regions, etc.) interactively: + +`pulumi config` + +- Preview and deploy changes to a program and/or infrastructure: + +`pulumi up` + +- Preview deployment changes without performing them (dry-run): + +`pulumi preview` + +- Destroy a program and its infrastructure: + +`pulumi destroy` + +- Use Pulumi locally, independent of a Pulumi Cloud: + +`pulumi login {{[-l|--local]}}` diff --git a/pages/common/pup.md b/pages/common/pup.md index 36be34318618a5..ffc31c97feadba 100644 --- a/pages/common/pup.md +++ b/pages/common/pup.md @@ -1,6 +1,6 @@ # pup -> Command line HTML parsing tool. +> HTML parsing tool. > More information: . - Transform a raw HTML file into a cleaned, indented, and colored format: @@ -11,7 +11,7 @@ `cat {{index.html}} | pup '{{tag}}'` -- Filter HTML by id: +- Filter HTML by ID: `cat {{index.html}} | pup '{{div#id}}'` diff --git a/pages/common/puppet-agent.md b/pages/common/puppet-agent.md new file mode 100644 index 00000000000000..b72770f3617711 --- /dev/null +++ b/pages/common/puppet-agent.md @@ -0,0 +1,32 @@ +# puppet agent + +> Retrieves the client configuration from a Puppet server and applies it to the local host. +> More information: . + +- Register a node at a Puppet server and apply the received catalog: + +`puppet agent --test --server {{puppetserver_fqdn}} --serverport {{port}} --waitforcert {{poll_time}}` + +- Run the agent in the background (uses settings from `puppet.conf`): + +`puppet agent` + +- Run the agent once in the foreground, then exit: + +`puppet agent --test` + +- Run the agent in dry-mode: + +`puppet agent --test --noop` + +- Log every resource being evaluated (even if nothing is being changed): + +`puppet agent --test --evaltrace` + +- Disable the agent: + +`puppet agent --disable "{{message}}"` + +- Enable the agent: + +`puppet agent --enable` diff --git a/pages/common/puppet-apply.md b/pages/common/puppet-apply.md new file mode 100644 index 00000000000000..6a6ac87911c933 --- /dev/null +++ b/pages/common/puppet-apply.md @@ -0,0 +1,16 @@ +# puppet apply + +> Apply Puppet manifests locally. +> More information: . + +- Apply a manifest: + +`puppet apply {{path/to/manifest}}` + +- Execute puppet code: + +`puppet apply --execute {{code}}` + +- Use a specific module and hiera configuration file: + +`puppet apply --modulepath {{path/to/directory}} --hiera_config {{path/to/file}} {{path/to/manifest}}` diff --git a/pages/common/puppet.md b/pages/common/puppet.md new file mode 100644 index 00000000000000..ab546a36114e63 --- /dev/null +++ b/pages/common/puppet.md @@ -0,0 +1,34 @@ +# puppet + +> Manage and automate the configuration of servers. +> Puppet uses a declarative language to define system configurations and apply them automatically. +> Some subcommands, such as `agent` and `apply`, have their own usage documentation. +> More information: . + +- Apply a Puppet manifest file to configure the system: + +`puppet apply {{path/to/file.pp}}` + +- Apply a manifest in no operation (dry-run) mode to preview changes: + +`puppet apply --noop {{path/to/file.pp}}` + +- Validate the syntax of a Puppet manifest: + +`puppet parser validate {{path/to/file.pp}}` + +- Run the Puppet agent to fetch and apply configurations from the master: + +`puppet agent {{[-t|--test]}}` + +- Display help for a specific subcommand: + +`puppet help {{subcommand}}` + +- Display general help: + +`puppet {{[-h|--help]}}` + +- Display version: + +`puppet {{[-V|--version]}}` diff --git a/pages/common/pushd.md b/pages/common/pushd.md new file mode 100644 index 00000000000000..b602240bc908fd --- /dev/null +++ b/pages/common/pushd.md @@ -0,0 +1,21 @@ +# pushd + +> Place a directory on a stack so it can be accessed later. +> See also: `popd` to switch back to original directory and `dirs` to display directory stack contents. +> More information: . + +- Switch to directory and push it on the stack: + +`pushd {{path/to/directory}}` + +- Switch first and second directories on the stack: + +`pushd` + +- Rotate stack by making the 5th element the top of the stack: + +`pushd +4` + +- Rotate the stack 4 times to the left (the current directory stays at the top by replacing the 5th element): + +`pushd -n +4` diff --git a/pages/common/pv.md b/pages/common/pv.md index 3705bd68370c98..00a31178efe1fa 100644 --- a/pages/common/pv.md +++ b/pages/common/pv.md @@ -1,27 +1,32 @@ # pv > Monitor the progress of data through a pipe. +> More information: . - Print the contents of the file and display a progress bar: -`pv {{file}}` +`pv {{path/to/file}}` -- Measure the speed and amount of data flow between pipes (`-s` is optional): +- Measure the speed and amount of data flow between pipes (`--size` is optional): -`command1 | pv -s {{expected_amount_of_data_for_eta}} | command2` +`{{command1}} | pv {{[-s|--size]}} {{expected_amount_of_data_for_eta}} | {{command2}}` - Filter a file, see both progress and amount of output data: -`pv -cN in {{big_text_file}} | grep {{pattern}} | pv -cN out > {{filtered_file}}` +`pv {{[-cN|--cursor --name]}} in {{path/to/file.txt}} | grep {{pattern}} | pv {{[-cN|--cursor --name]}} out > {{path/to/filtered_file.txt}}` - Attach to an already running process and see its file reading progress: -`pv -d {{PID}}` +`pv {{[-d|--watchfd]}} {{PID}}` - Read an erroneous file, skip errors as `dd conv=sync,noerror` would: -`pv -EE {{path/to/faulty_media}} > image.img` +`pv {{[-EE|--skip-errors --skip-errors]}} {{path/to/faulty_media}} > {{path/to/image.img}}` - Stop reading after reading specified amount of data, rate limit to 1K/s: -`pv -L 1K -S {{maximum_file_size_to_be_read}}` +`pv {{[-L|--rate-limit]}} {{1K}} {{[-S|--stop-at-size]}} {{maximum_file_size_to_be_read}}` + +- Calculate hash (MD5, SHA1, SHA256, etc) of a large file and show progress: + +`pv {{path/to/file}} | {{sha256sum}}` diff --git a/pages/common/pwd.md b/pages/common/pwd.md index 5c9af42f8987fe..fdd49084e0af9c 100644 --- a/pages/common/pwd.md +++ b/pages/common/pwd.md @@ -1,6 +1,7 @@ # pwd -> Print name of current/working directory. +> Print the name of current/working directory. +> More information: . - Print the current directory: @@ -8,4 +9,8 @@ - Print the current directory, and resolve all symlinks (i.e. show the "physical" path): -`pwd -P` +`pwd {{[-P|--physical]}}` + +- Display help: + +`pwd --help` diff --git a/pages/common/pwgen.md b/pages/common/pwgen.md new file mode 100644 index 00000000000000..fa96b562df56ea --- /dev/null +++ b/pages/common/pwgen.md @@ -0,0 +1,16 @@ +# pwgen + +> Generate pronounceable passwords. +> More information: . + +- Generate random password with symbols: + +`pwgen {{[-y|--symbols]}} {{length}}` + +- Generate secure, hard-to-memorize passwords: + +`pwgen {{[-s|--secure]}} {{length}}` + +- Generate password with at least one capital letter in them: + +`pwgen {{[-c|--capitalize]}} {{length}}` diff --git a/pages/common/pwqgen.md b/pages/common/pwqgen.md new file mode 100644 index 00000000000000..f9f602ed25a2c7 --- /dev/null +++ b/pages/common/pwqgen.md @@ -0,0 +1,25 @@ +# pwqgen + +> Generate a random passphrase. +> See also: `libpasswdqc`. +> More information: . + +- Generate a passphrase: + +`pwqgen` + +- Generate a passphrase with a specific bit size between 24 and 136: + +`pwqgen random={{bitsize}}` + +- Use a config file to control password generation: + +`pwqgen config={{path/to/config_file}}` + +- Display help: + +`pwqgen {{[-h|--help]}}` + +- Display version: + +`pwqgen --version` diff --git a/pages/common/pwsh.md b/pages/common/pwsh.md new file mode 100644 index 00000000000000..ba8bd2dde6f80b --- /dev/null +++ b/pages/common/pwsh.md @@ -0,0 +1,38 @@ +# pwsh + +> Shell and scripting language designed especially for system administration. +> This command refers to PowerShell version 6 and above (also known as PowerShell Core and cross-platform PowerShell). +> To use the original Windows version (5.1 and below, also known as the legacy Windows PowerShell), use `powershell` instead of `pwsh`. +> More information: . + +- Start an interactive shell session: + +`pwsh` + +- Start an interactive shell session without loading startup configs: + +`pwsh -NoProfile` + +- Execute specific commands: + +`pwsh -Command "{{echo 'powershell is executed'}}"` + +- Execute a specific script: + +`pwsh -File {{path/to/script.ps1}}` + +- Start a session with a specific version of PowerShell: + +`pwsh -Version {{version}}` + +- Prevent a shell from exit after running startup commands: + +`pwsh -NoExit` + +- Describe the format of data sent to PowerShell: + +`pwsh -InputFormat {{Text|XML}}` + +- Determine how an output from PowerShell is formatted: + +`pwsh -OutputFormat {{Text|XML}}` diff --git a/pages/common/py-spy.md b/pages/common/py-spy.md new file mode 100644 index 00000000000000..a1d6d2037f7d2f --- /dev/null +++ b/pages/common/py-spy.md @@ -0,0 +1,20 @@ +# py-spy + +> A sampling profiler for Python programs. +> More information: . + +- Show a live view of the functions that take the most execution time of a running process: + +`py-spy top {{[-p|--pid]}} {{pid}}` + +- Start a program and show a live view of the functions that take the most execution time: + +`py-spy top -- python {{path/to/file.py}}` + +- Produce an SVG flame graph of the function call execution time: + +`py-spy record {{[-o|--output]}} {{path/to/profile.svg}} {{[-p|--pid]}} {{pid}}` + +- Dump the call stack of a running process: + +`py-spy dump {{[-p|--pid]}} {{pid}}` diff --git a/pages/common/pyats-shell.md b/pages/common/pyats-shell.md new file mode 100644 index 00000000000000..462299f060b527 --- /dev/null +++ b/pages/common/pyats-shell.md @@ -0,0 +1,16 @@ +# pyats shell + +> Start a pre-loaded pyATS interactive Python Shell to save time in prototyping. +> More information: . + +- Open pyATS shell with a defined Testbed file: + +`pyats shell --testbed-file {{path/to/testbed.yaml}}` + +- Open pyATS shell with a defined Pickle file: + +`pyats shell --pickle-file {{path/to/pickle.file}}` + +- Open pyATS with IPython disabled: + +`pyats shell --no-ipython` diff --git a/pages/common/pyats-version.md b/pages/common/pyats-version.md new file mode 100644 index 00000000000000..726384d191e3a7 --- /dev/null +++ b/pages/common/pyats-version.md @@ -0,0 +1,20 @@ +# pyats version + +> View and upgrade the pyATS installation. +> More information: . + +- Display version of all packages: + +`pyats version check` + +- Display outdated packages: + +`pyats version check --outdated` + +- Update packages to the most recent version: + +`pyats version update` + +- Update or downgrade packages to a specific version: + +`pyats version update {{version}}` diff --git a/pages/common/pyats.md b/pages/common/pyats.md new file mode 100644 index 00000000000000..65f2a5fee6603a --- /dev/null +++ b/pages/common/pyats.md @@ -0,0 +1,20 @@ +# pyats + +> A vendor agnostic test automation framework by Cisco Systems, used for network and systems testing. +> More information: . + +- Run a `pyATS` subcommand: + +`pyats {{subcommand}}` + +- Display help: + +`pyats --help` + +- Display help about a specific subcommand: + +`pyats {{subcommand}} --help` + +- Display version: + +`pyats version check` diff --git a/pages/common/pycodestyle.md b/pages/common/pycodestyle.md index 1a4264b0c93397..a66ca1760b358b 100644 --- a/pages/common/pycodestyle.md +++ b/pages/common/pycodestyle.md @@ -1,6 +1,6 @@ # pycodestyle -> A tool to check Python code against PEP 8 style conventions. +> Check Python code against PEP 8 style conventions. > More information: . - Check the style of a single file: @@ -9,7 +9,7 @@ - Check the style of multiple files: -`pycodestyle {{file1.py}} {{file2.py}} {{file3.py}}` +`pycodestyle {{file1.py file2.py ...}}` - Show only the first occurrence of an error: diff --git a/pages/common/pydoc.md b/pages/common/pydoc.md new file mode 100644 index 00000000000000..bb578705aac896 --- /dev/null +++ b/pages/common/pydoc.md @@ -0,0 +1,16 @@ +# pydoc + +> Display offline Python documentation. +> More information: . + +- Print documentation on a subject (Python keyword, topic, function, module, package, etc.): + +`pydoc {{subject}}` + +- Start an HTTP server on an arbitrary unused port and open a [b]rowser to see the documentation: + +`pydoc -b` + +- Display help: + +`pydoc` diff --git a/pages/common/pydocstyle.md b/pages/common/pydocstyle.md new file mode 100644 index 00000000000000..45608edc093132 --- /dev/null +++ b/pages/common/pydocstyle.md @@ -0,0 +1,32 @@ +# pydocstyle + +> Statically check Python scripts for compliance with Python docstring conventions. +> More information: . + +- Analyze a Python script or all the Python scripts in a specific directory: + +`pydocstyle {{file.py|path/to/directory}}` + +- Show an explanation of each error: + +`pydocstyle {{[-e|--explain]}} {{file.py|path/to/directory}}` + +- Show debug information: + +`pydocstyle {{[-d|--debug]}} {{file.py|path/to/directory}}` + +- Display the total number of errors: + +`pydocstyle --count {{file.py|path/to/directory}}` + +- Use a specific configuration file: + +`pydocstyle --config {{path/to/config_file}} {{file.py|path/to/directory}}` + +- Ignore one or more errors: + +`pydocstyle --ignore {{D101,D2,D107,...}} {{file.py|path/to/directory}}` + +- Check for errors from a specific convention: + +`pydocstyle --convention {{pep257|numpy|google}} {{file.py|path/to/directory}}` diff --git a/pages/common/pyenv.md b/pages/common/pyenv.md index 4be694a4a52025..6f64b43ba270cf 100644 --- a/pages/common/pyenv.md +++ b/pages/common/pyenv.md @@ -1,21 +1,26 @@ # pyenv > Switch between multiple versions of Python easily. +> See also: `asdf`. > More information: . - List all available commands: `pyenv commands` -- List all Python versions under the ${PYENV_ROOT}/versions directory: +- List all Python versions under the `${PYENV_ROOT}/versions` directory: `pyenv versions` -- Install a Python version under the ${PYENV_ROOT}/versions directory: +- List all Python versions that can be installed from upstream: + +`pyenv install --list` + +- Install a Python version under the `${PYENV_ROOT}/versions` directory: `pyenv install {{2.7.10}}` -- Uninstall a Python version under the ${PYENV_ROOT}/versions directory: +- Uninstall a Python version under the `${PYENV_ROOT}/versions` directory: `pyenv uninstall {{2.7.10}}` diff --git a/pages/common/pyflakes.md b/pages/common/pyflakes.md index 6f7f41c612311a..2636a3e65f07a1 100644 --- a/pages/common/pyflakes.md +++ b/pages/common/pyflakes.md @@ -5,7 +5,7 @@ - Check a single Python file: -`pyflakes check {{path/to/file}}.py` +`pyflakes check {{path/to/file.py}}` - Check Python files in a specific directory: diff --git a/pages/common/pygbag.md b/pages/common/pygbag.md new file mode 100644 index 00000000000000..b95cf1ec6a1645 --- /dev/null +++ b/pages/common/pygbag.md @@ -0,0 +1,36 @@ +# pygbag + +> Package Pygame projects as WebAssembly to run in web browsers. +> More information: . + +- Package a Pygame project and start a local test server: + +`pygbag {{path/to/project_folder}}` + +- Package using Python module syntax: + +`python -m pygbag {{path/to/project_folder}}` + +- Package and build without starting the test server: + +`pygbag {{path/to/project_folder}} --build` + +- Package with a specific template: + +`pygbag {{path/to/project_folder}} --template {{template_name.tmpl}}` + +- Package and create a ZIP archive for : + +`pygbag {{path/to/project_folder}} --archive` + +- Package with optimization turned off: + +`pygbag {{path/to/project_folder}} --no_opt` + +- Specify a custom port for the test server: + +`pygbag {{path/to/project_folder}} --port {{8080}}` + +- Display help: + +`pygbag {{[-h|--help]}}` diff --git a/pages/common/pygmentize.md b/pages/common/pygmentize.md index e239a8ba7d17e1..80945f0c46eca2 100644 --- a/pages/common/pygmentize.md +++ b/pages/common/pygmentize.md @@ -1,8 +1,9 @@ # pygmentize > Python-based syntax highlighter. +> More information: . -- Highlight file syntax and print to standard output (language is inferred from the file extension): +- Highlight file syntax and print to `stdout` (language is inferred from the file extension): `pygmentize {{file.py}}` diff --git a/pages/common/pyinfra.md b/pages/common/pyinfra.md new file mode 100644 index 00000000000000..9575cd067505f2 --- /dev/null +++ b/pages/common/pyinfra.md @@ -0,0 +1,20 @@ +# pyinfra + +> Automates infrastructure at a large scale. +> More information: . + +- Execute a command over SSH: + +`pyinfra {{target_ip_address}} exec -- {{command_name_and_arguments}}` + +- Execute contents of a deploy file on a list of targets: + +`pyinfra {{path/to/target_list.py}} {{path/to/deploy.py}}` + +- Execute commands on locally: + +`pyinfra @local {{path/to/deploy.py}}` + +- Execute commands over Docker: + +`pyinfra @docker/{{container}} {{path/to/deploy.py}}` diff --git a/pages/common/pylint.md b/pages/common/pylint.md new file mode 100644 index 00000000000000..450fa5c6003451 --- /dev/null +++ b/pages/common/pylint.md @@ -0,0 +1,24 @@ +# pylint + +> A Python code linter. +> More information: . + +- Show lint errors in a file: + +`pylint {{path/to/file.py}}` + +- Lint a package or module (must be importable; no `.py` suffix): + +`pylint {{package_or_module}}` + +- Lint a package from a directory path (must contain an `__init__.py` file): + +`pylint {{path/to/directory}}` + +- Lint a file and use a configuration file (usually named `pylintrc`): + +`pylint --rcfile {{path/to/pylintrc}} {{path/to/file.py}}` + +- Lint a file and disable a specific error code: + +`pylint --disable {{C,W,no-error,design}} {{path/to/file}}` diff --git a/pages/common/pypy.md b/pages/common/pypy.md new file mode 100644 index 00000000000000..3438265fcdb9b9 --- /dev/null +++ b/pages/common/pypy.md @@ -0,0 +1,32 @@ +# pypy + +> Fast and compliant alternative implementation of the Python language. +> More information: . + +- Start a REPL (interactive shell): + +`pypy` + +- Execute script in a given Python file: + +`pypy {{path/to/file.py}}` + +- Execute script as part of an interactive shell: + +`pypy -i {{path/to/file.py}}` + +- Execute a Python expression: + +`pypy -c "{{expression}}"` + +- Run library module as a script (terminates option list): + +`pypy -m {{module}} {{arguments}}` + +- Install a package using pip: + +`pypy -m pip install {{package}}` + +- Interactively debug a Python script: + +`pypy -m pdb {{path/to/file.py}}` diff --git a/pages/common/pystun3.md b/pages/common/pystun3.md new file mode 100644 index 00000000000000..84e8396e4b7b12 --- /dev/null +++ b/pages/common/pystun3.md @@ -0,0 +1,16 @@ +# pystun3 + +> Classic STUN client written in Python. +> More information: . + +- Make a STUN request: + +`pystun3` + +- Make a STUN request and specify the stun server: + +`pystun3 --stun-host {{stun.1und1.de}}` + +- Make a STUN request and specify the source port: + +`pystun3 --source-port {{7932}}` diff --git a/pages/common/pytest.md b/pages/common/pytest.md new file mode 100644 index 00000000000000..27f1516c7b55be --- /dev/null +++ b/pages/common/pytest.md @@ -0,0 +1,28 @@ +# pytest + +> Run Python tests. +> More information: . + +- Run tests from specific files: + +`pytest {{path/to/test_file1.py path/to/test_file2.py ...}}` + +- Run tests with names matching a specific [k]eyword expression: + +`pytest -k {{expression}}` + +- Exit as soon as a test fails or encounters an error: + +`pytest --exitfirst` + +- Run tests matching or excluding markers: + +`pytest -m {{marker_name1 and not marker_name2}}` + +- Run until a test failure, continuing from the last failing test: + +`pytest --stepwise` + +- Run tests without capturing output: + +`pytest --capture=no` diff --git a/pages/common/python-m-json.tool.md b/pages/common/python-m-json.tool.md new file mode 100644 index 00000000000000..449e99670dcd95 --- /dev/null +++ b/pages/common/python-m-json.tool.md @@ -0,0 +1,13 @@ +# python -m json.tool + +> Validate and pretty-print JSON data. +> Part of Python's standard library. +> More information: . + +- Pretty-print JSON from a file: + +`python -m json.tool {{path/to/file.json}}` + +- Validate and pretty-print JSON from standard input: + +`echo '{{{"key": "value"}}}' | python -m json.tool` diff --git a/pages/common/python.md b/pages/common/python.md index 63ce36f969be2b..af21a42f8276a9 100644 --- a/pages/common/python.md +++ b/pages/common/python.md @@ -1,32 +1,36 @@ # python > Python language interpreter. -> More information: . +> More information: . -- Call a Python interactive shell (REPL): +- Start a REPL (interactive shell): `python` -- Execute script in a given Python file: +- Execute a specific Python file: -`python {{script.py}}` +`python {{path/to/file.py}}` -- Execute script as part of an interactive shell: +- Execute a specific Python file and start a REPL: -`python -i {{script.py}}` +`python -i {{path/to/file.py}}` - Execute a Python expression: `python -c "{{expression}}"` -- Run library module as a script (terminates option list): +- Run the script of the specified library module: `python -m {{module}} {{arguments}}` -- Install a package using pip: +- Install a package using `pip`: -`python -m pip install {{package_name}}` +`python -m pip install {{package}}` - Interactively debug a Python script: -`python -m pdb {{script.py}}` +`python -m pdb {{path/to/file.py}}` + +- Start the built-in HTTP server on port 8000 in the current directory: + +`python -m http.server` diff --git a/pages/common/python3.md b/pages/common/python3.md new file mode 100644 index 00000000000000..985828fe229b2c --- /dev/null +++ b/pages/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> This command is an alias of `python`. + +- View documentation for the original command: + +`tldr python` diff --git a/pages/common/q.md b/pages/common/q.md index 687757af0df437..0cc521704e48ac 100644 --- a/pages/common/q.md +++ b/pages/common/q.md @@ -1,21 +1,21 @@ # q -> Execute SQL-like queries on .csv and .tsv files. +> Execute SQL-like queries on CSV and TSV files. > More information: . -- Query .csv file by specifying the delimiter as ',': +- Query a CSV file by specifying the delimiter as ',': -`q -d',' "SELECT * from {{path/to/file}}"` +`q {{[-d|--delimiter]}} ',' "SELECT * from {{path/to/file}}"` -- Query .tsv file: +- Query a TSV file: -`q -t "SELECT * from {{path/to/file}}"` +`q {{[-t|--tab-delimited]}} "SELECT * from {{path/to/file}}"` - Query file with header row: -`q -d{{delimiter}} -H "SELECT * from {{path/to/file}}"` +`q {{[-d|--delimiter]}} {{delimiter}} {{[-H|--skip-header]}} "SELECT * from {{path/to/file}}"` -- Read data from stdin; '-' in the query represents the data from `stdin`: +- Read data from `stdin`; '-' in the query represents the data from `stdin`: `{{output}} | q "select * from -"` @@ -23,6 +23,6 @@ `q "SELECT * FROM {{path/to/file}} f1 JOIN {{path/to/other_file}} f2 ON (f1.c1 = f2.c1)"` -- Format output using an output delimiter with an output header line (note: command will output column names based on the input file header or the column aliases overridden in the query): +- Format output using an output delimiter with an output header line (Note: Command will output column names based on the input file header or the column aliases overridden in the query): -`q -D{{delimiter}} -O "SELECT {{column}} as {{alias}} from {{path/to/file}}"` +`q {{[-D|--output-delimiter]}} {{delimiter}} {{[-O|--output-header]}} "SELECT {{column}} as {{alias}} from {{path/to/file}}"` diff --git a/pages/common/qalc.md b/pages/common/qalc.md new file mode 100644 index 00000000000000..919f5ba8b3dde0 --- /dev/null +++ b/pages/common/qalc.md @@ -0,0 +1,29 @@ +# qalc + +> Powerful and easy to use calculator. +> See also: `bc`. +> More information: . + +- Launch in interactive mode: + +`qalc {{[-i|--interactive]}}` + +- Launch in terse mode (print the results only): + +`qalc {{[-t|--terse]}}` + +- Update currency exchange rates: + +`qalc {{[-e|--exrates]}}` + +- Perform calculations non-interactively: + +`qalc {{66+99|2^4|6 feet to cm|1 bitcoin to USD|20 kmph to mph|...}}` + +- List all supported functions/prefixes/units/variables: + +`qalc --{{list-functions|list-prefixes|list-units|list-variables}}` + +- Execute commands from a file: + +`qalc {{[-f|--file]}} {{path/to/file}}` diff --git a/pages/common/qc.md b/pages/common/qc.md new file mode 100644 index 00000000000000..62ec3b7afff39e --- /dev/null +++ b/pages/common/qc.md @@ -0,0 +1,25 @@ +# qc + +> Manage and execute command snippets stored in QOwnNotes notes. +> See also: `qownnotes`. +> More information: . + +- Configure the snippet manager, e.g. to set the security token from QOwnNotes: + +`qc configure` + +- Search and print command snippets stored in your `Commands.md` note and all your notes tagged with `commands`: + +`qc search` + +- Execute a snippet and show the command before executing: + +`qc exec --command` + +- Execute the last snippet and show the command before executing: + +`qc exec --command --last` + +- Switch between note folders in QOwnNotes: + +`qc switch` diff --git a/pages/common/qcp.md b/pages/common/qcp.md index c2780719209a98..1189b2ac10d3eb 100644 --- a/pages/common/qcp.md +++ b/pages/common/qcp.md @@ -1,16 +1,16 @@ # qcp > Copy files using the default text editor to define the filenames. -> More information: . +> More information: . - Copy a single file (open an editor with the source filename on the left and the target filename on the right): `qcp {{source_file}}` -- Copy multiple JPG files: +- Copy multiple JPEG files: `qcp {{*.jpg}}` - Copy files, but swap the positions of the source and the target filenames in the editor: -`qcp --option swap {{*.jpg}}` +`qcp {{[-o|--option]}} swap {{*.jpg}}` diff --git a/pages/common/qdbus.md b/pages/common/qdbus.md new file mode 100644 index 00000000000000..4570d3131f1064 --- /dev/null +++ b/pages/common/qdbus.md @@ -0,0 +1,36 @@ +# qdbus + +> Inter-Process Communication (IPC) and Remote Procedure Calling (RPC) mechanism originally developed for Linux. +> More information: . + +- List available service names: + +`qdbus` + +- List object paths for a specific service: + +`qdbus {{service_name}}` + +- List methods, signals and properties available on a specific object: + +`qdbus {{service_name}} /{{path/to/object}}` + +- Execute a specific method passing arguments and display the returned value: + +`qdbus {{service_name}} /{{path/to/object}} {{method_name}} {{argument1 argument2 ...}}` + +- Display the current brightness value in a KDE Plasma session: + +`qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness}}` + +- Set a specific brightness to a KDE Plasma session: + +`qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness}} {{5000}}` + +- Invoke volume up shortcut in a KDE Plasma session: + +`qdbus {{org.kde.kglobalaccel}} {{/component/kmix}} {{invokeShortcut}} "{{increase_volume}}"` + +- Gracefully log out and then do nothing, reboot or shut down: + +`qdbus {{org.kde.Shutdown}} {{/Shutdown}} {{logout|logoutAndReboot|logoutAndShutdown}}` diff --git a/pages/common/qemu-img.md b/pages/common/qemu-img.md index 653ccc70d4663d..554ce62b2d88b1 100644 --- a/pages/common/qemu-img.md +++ b/pages/common/qemu-img.md @@ -1,23 +1,32 @@ # qemu-img -> Tool for Quick Emulator Virtual HDD image creation and manipulation. +> Create and manipulate Quick Emulator Virtual HDD images. +> More information: . - Create disk image with a specific size (in gigabytes): -`qemu-img create {{image_name.img}} {{gigabytes}}G` +`qemu-img create {{path/to/image_file.img}} {{gigabytes}}G` - Show information about a disk image: -`qemu-img info {{image_name.img}}` +`qemu-img info {{path/to/image_file.img}}` - Increase or decrease image size: -`qemu-img resize {{image_name.img}} {{gigabytes}}G` +`qemu-img resize {{path/to/image_file.img}} {{gigabytes}}G` - Dump the allocation state of every sector of the specified disk image: -`qemu-img map {{image_name.img}}` +`qemu-img map {{path/to/image_file.img}}` -- Convert a VMWare .vmdk disk image to a KVM .qcow2 disk image: +- Convert a VMware `.vmdk` disk image to a KVM `.qcow2` disk image and display [p]rogress: -`qemu-img convert -O qcow2 {{path/to/file/foo.vmdk}} {{path/to/file/foo.qcow2}}` +`qemu-img convert -f vmdk -O qcow2 -p {{path/to/image_file.vmdk}} {{path/to/image_file.qcow2}}` + +- [c]reate an internal snapshot of a KVM `.qcow2` disk image: + +`qemu-img snapshot -c {{snapshot_tag_name}} {{path/to/image_file.qcow2}}` + +- [a]pply an internal snapshot to a KVM `.qcow2` disk image: + +`qemu-img snapshot -a {{snapshot_tag_name}} {{path/to/image_file.qcow2}}` diff --git a/pages/common/qemu-system-i386.md b/pages/common/qemu-system-i386.md new file mode 100644 index 00000000000000..97f93679f3e922 --- /dev/null +++ b/pages/common/qemu-system-i386.md @@ -0,0 +1,28 @@ +# qemu-system-i386 + +> Emulate the `i386` architecture. +> More information: . + +- Boot from an image emulating the `i386` architecture: + +`qemu-system-i386 -hda {{image_name.img}} -m {{4096}}` + +- Boot a QEMU instance from a live ISO image: + +`qemu-system-i386 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d -m {{4096}}` + +- Boot from a physical device (e.g. from USB to test a bootable medium): + +`qemu-system-i386 -hda {{/dev/storage_device}} -m {{4096}}` + +- Do not launch a VNC server: + +`qemu-system-i386 -hda {{image_name.img}} -m {{4096}} -nographic` + +- Exit non-graphical QEMU: + +`` + +- List the supported machine types: + +`qemu-system-i386 {{[-M|-machine]}} help` diff --git a/pages/common/qemu-system-riscv64.md b/pages/common/qemu-system-riscv64.md new file mode 100644 index 00000000000000..8b2317546e4e60 --- /dev/null +++ b/pages/common/qemu-system-riscv64.md @@ -0,0 +1,16 @@ +# qemu-system-riscv64 + +> Emulate `riscv64` architecture. +> More information: . + +- Boot a kernel emulating `riscv64` architecture: + +`qemu-system-riscv64 {{[-M|-machine]}} virt -bios none -kernel {{kernel.elf}} -nographic` + +- List supported machine types: + +`qemu-system-riscv64 {{[-M|-machine]}} help` + +- Exit non-graphical QEMU: + +`` diff --git a/pages/common/qemu-system-x86_64.md b/pages/common/qemu-system-x86_64.md new file mode 100644 index 00000000000000..4acea2197bc953 --- /dev/null +++ b/pages/common/qemu-system-x86_64.md @@ -0,0 +1,28 @@ +# qemu-system-x86_64 + +> Emulate the `x86_64` architecture. +> More information: . + +- Boot from an image emulating the `x86_64` architecture: + +`qemu-system-x86_64 -hda {{image_name.img}} -m {{4096}}` + +- Boot a QEMU instance from a live ISO image: + +`qemu-system-x86_64 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d -m {{4096}}` + +- Boot from a physical device (e.g. from USB to test a bootable medium): + +`qemu-system-x86_64 -hda {{/dev/storage_device}} -m {{4096}}` + +- Do not launch a VNC server: + +`qemu-system-x86_64 -hda {{image_name.img}} -m {{4096}} -nographic` + +- Exit non-graphical QEMU: + +`` + +- List the supported machine types: + +`qemu-system-x86_64 {{[-M|-machine]}} help` diff --git a/pages/common/qemu.md b/pages/common/qemu.md deleted file mode 100644 index 8d463760d461dd..00000000000000 --- a/pages/common/qemu.md +++ /dev/null @@ -1,25 +0,0 @@ -# qemu - -> Generic machine emulator and virtualizer. -> Supports a large variety of CPU architectures. -> More information: . - -- Boot from image emulating i386 architecture: - -`qemu-system-i386 -hda {{image_name.img}}` - -- Boot from image emulating x64 architecture: - -`qemu-system-x86_64 -hda {{image_name.img}}` - -- Boot QEMU instance with a live ISO image: - -`qemu-system-i386 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d` - -- Specify amount of RAM for instance: - -`qemu-system-i386 -m 256 -hda image_name.img -cdrom os-image.iso -boot d` - -- Boot from physical device (e.g. from USB to test bootable medium): - -`qemu-system-i386 -hda /dev/{{storage_device}}` diff --git a/pages/common/qmmp.md b/pages/common/qmmp.md new file mode 100644 index 00000000000000..32d1e09e3140e2 --- /dev/null +++ b/pages/common/qmmp.md @@ -0,0 +1,33 @@ +# qmmp + +> An audio player with an interface similar to Winamp or XMMS. +> See also: `clementine`, `ncmpcpp`, `cmus`. +> More information: . + +- Launch the GUI: + +`qmmp` + +- Start or stop the currently playing audio: + +`qmmp {{[-t|--play-pause]}}` + +- Seek [f]or[w]ar[d]s or [b]ack[w]ar[d]s a specific amount of time in seconds: + +`qmmp --seek-{{fwd|bwd}} {{time_in_seconds}}` + +- Play the next audio file: + +`qmmp --next` + +- Play the previous audio file: + +`qmmp --previous` + +- Display the current volume: + +`qmmp --volume-status` + +- [inc]rease or [dec]rease the volume of the currently playing audio by 5%: + +`qmmp --volume-{{inc|dec}}` diff --git a/pages/common/qmv.md b/pages/common/qmv.md index fde2ff2ea49901..27795b09dce14f 100644 --- a/pages/common/qmv.md +++ b/pages/common/qmv.md @@ -1,24 +1,28 @@ # qmv > Move files and directories using the default text editor to define the filenames. -> More information: . +> More information: . - Move a single file (open an editor with the source filename on the left and the target filename on the right): `qmv {{source_file}}` -- Move multiple JPG files: +- Move multiple JPEG files: `qmv {{*.jpg}}` - Move multiple directories: -`qmv -d {{path/to/directory1}} {{path/to/directory2}} {{path/to/directory3}}` +`qmv {{[-d|--directory]}} {{path/to/directory1 path/to/directory2 path/to/directory3 ...}}` - Move all files and directories inside a directory: -`qmv --recursive {{path/to/directory}}` +`qmv {{[-R|--recursive]}} {{path/to/directory}}` - Move files, but swap the positions of the source and the target filenames in the editor: -`qmv --option swap {{*.jpg}}` +`qmv {{[-o|--option]}} swap {{*.jpg}}` + +- Rename all files and folders in the current directory, but show only target filenames in the editor (you can think of it as a kind of simple mode): + +`qmv {{[-f|--format]}} do .` diff --git a/pages/common/qoitopam.md b/pages/common/qoitopam.md new file mode 100644 index 00000000000000..49ae475511faee --- /dev/null +++ b/pages/common/qoitopam.md @@ -0,0 +1,8 @@ +# qoitopam + +> Convert a QOI image (Quite OK Image format) to Netpbm. +> More information: . + +- Convert a QOI image to Netpbm: + +`qoitopam {{path/to/image.qoi}} > {{path/to/output.pnm}}` diff --git a/pages/common/qownnotes.md b/pages/common/qownnotes.md new file mode 100644 index 00000000000000..d9c336271037c0 --- /dev/null +++ b/pages/common/qownnotes.md @@ -0,0 +1,22 @@ +# QOwnNotes + +> Markdown note-taking application. +> Optionally integrates with the note-taking applications of Nextcloud and ownCloud. +> See also: `qc` for managing command snippets. +> More information: . + +- Run in portable mode: + +`QOwnNotes --portable` + +- Dump settings and other information about the app and environment in GitHub Markdown: + +`QOwnNotes --dump-settings` + +- Specify a different context for settings and internal files: + +`QOwnNotes --session {{test}}` + +- Trigger a menu action after the application was started: + +`QOwnNotes --action {{actionShow_Todo_List}}` diff --git a/pages/common/qpdf.md b/pages/common/qpdf.md index a46cffeb2afad7..d4bf6c26d1cbf5 100644 --- a/pages/common/qpdf.md +++ b/pages/common/qpdf.md @@ -5,24 +5,24 @@ - Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one: -`qpdf --empty --pages {{input.pdf}} {{1-3,5,6-10}} -- {{output.pdf}}` +`qpdf --empty --pages {{path/to/input.pdf}} {{1-3,5,6-10}} -- {{path/to/output.pdf}}` -- Merge (concatenate) all the pages of a list of PDF files and save the result as a new PDF: +- Merge (concatenate) all the pages of multiple PDF files and save the result as a new PDF: -`qpdf --empty --pages {{file1.pdf}} {{file2.pdf}} {{file3.pdf}} -- {{output.pdf}}` +`qpdf --empty --pages {{path/to/file1.pdf file2.pdf ...}} -- {{path/to/output.pdf}}` - Merge (concatenate) given pages from a list of PDF files and save the result as a new PDF: -`qpdf --empty --pages {{file1.pdf}} {{1,6-8}} {{file2.pdf}} {{3,4,5}} -- {{output.pdf}}` +`qpdf --empty --pages {{path/to/file1.pdf}} {{1,6-8}} {{path/to/file2.pdf}} {{3,4,5}} -- {{path/to/output.pdf}}` -- Write each group of n pages to a separate output file with a given filename pattern: +- Write each group of `n` pages to a separate output file with a given filename pattern: -`qpdf --split-pages=n {{input.pdf}} {{out_%d.pdf}}` +`qpdf --split-pages={{n}} {{path/to/input.pdf}} {{path/to/out_%d.pdf}}` -- Rotate certain pages of a pdf with a given angle: +- Rotate certain pages of a PDF with a given angle: -`qpdf --rotate={{90:2,4,6}} --rotate={{180:7-8}} {{input.pdf}} {{output.pdf}}` +`qpdf --rotate={{90:2,4,6}} --rotate={{180:7-8}} {{path/to/input.pdf}} {{path/to/output.pdf}}` -- Remove the password from a password protected file: +- Remove the password from a password-protected file: -`qpdf --password={{password}} --decrypt {{input.pdf}} {{output.pdf}}` +`qpdf --password={{password}} --decrypt {{path/to/input.pdf}} {{path/to/output.pdf}}` diff --git a/pages/common/qr.md b/pages/common/qr.md index 0ebc9aaec3e5b3..f97fd0a453f319 100644 --- a/pages/common/qr.md +++ b/pages/common/qr.md @@ -1,12 +1,20 @@ # qr > Generate QR codes in the terminal with ANSI VT-100 escape codes. -> More information: . +> More information: . - Generate a QR code: -`echo "{{data}}" | qr` +`qr "{{data}}"` -- Specify the error correction level (defaults to M): +- Specify the error correction level (defaults to `M`): -`echo "{{data}}" | qr --error-correction={{L|M|Q|H}}` +`qr --error-correction {{L|M|Q|H}} "{{data}}"` + +- Generate a QR code from the output of another command: + +`{{command}} | qr` + +- Save the QR code as a PNG image: + +`qr "{{data}}" > {{path/to/file.png}}` diff --git a/pages/common/qrencode.md b/pages/common/qrencode.md index 7e15de8510070a..c1c2aa4193ac1a 100644 --- a/pages/common/qrencode.md +++ b/pages/common/qrencode.md @@ -1,20 +1,20 @@ # qrencode > QR Code generator. Supports PNG and EPS. -> More information: . +> More information: . - Convert a string to a QR code and save to an output file: -`qrencode -o {{path/to/output_file.png}} {{string}}` +`qrencode {{[-o|--output]}} {{path/to/output_file.png}} {{string}}` - Convert an input file to a QR code and save to an output file: -`qrencode -o {{path/to/output_file.png}} -r {{path/to/input_file}}` +`qrencode {{[-o|--output]}} {{path/to/output_file.png}} {{[-r|--read-from]}} {{path/to/input_file}}` - Convert a string to a QR code and print it in terminal: -`qrencode -t ansiutf8 {{string}}` +`qrencode {{[-t|--type]}} ansiutf8 {{string}}` - Convert input from pipe to a QR code and print it in terminal: -`echo {{string}} | qrencode -t ansiutf8` +`echo {{string}} | qrencode {{[-t|--type]}} ansiutf8` diff --git a/pages/common/qrttoppm.md b/pages/common/qrttoppm.md new file mode 100644 index 00000000000000..74e0678ededec6 --- /dev/null +++ b/pages/common/qrttoppm.md @@ -0,0 +1,8 @@ +# qrttoppm + +> Convert a QRT ray tracer file to a PPM image. +> More information: . + +- Convert a QRT file to a PPM image: + +`qrttoppm {{path/to/file.qrt}} > {{path/to/image.ppm}}` diff --git a/pages/common/qtcreator.md b/pages/common/qtcreator.md new file mode 100644 index 00000000000000..9a510d1d2a6023 --- /dev/null +++ b/pages/common/qtcreator.md @@ -0,0 +1,28 @@ +# qtcreator + +> Cross-platform IDE for Qt applications. +> More information: . + +- Start Qt Creator: + +`qtcreator` + +- Start Qt Creator and restore the last session: + +`qtcreator -lastsession` + +- Start Qt Creator but don't load the specified plugin: + +`qtcreator -noload {{plugin}}` + +- Start Qt Creator but don't load any plugins: + +`qtcreator -noload {{all}}` + +- Start Qt Creator in presentation mode with pop-ups for keyboard shortcuts: + +`qtcreator -presentationMode` + +- Start Qt Creator and show the diff from a specific commit: + +`qtcreator -git-show {{commit}}` diff --git a/pages/common/quarkus.md b/pages/common/quarkus.md new file mode 100644 index 00000000000000..f112811c691418 --- /dev/null +++ b/pages/common/quarkus.md @@ -0,0 +1,36 @@ +# quarkus + +> Create Quarkus projects, manage extensions and perform essential build and development tasks. +> More information: . + +- Create a new application project in a new directory: + +`quarkus create app {{project_name}}` + +- Run the current project in live coding mode: + +`quarkus dev` + +- Run the application: + +`quarkus run` + +- Run the current project in continuous testing mode: + +`quarkus test` + +- Add one or more extensions to the current project: + +`quarkus extension add {{extension_name1 extension_name2 ...}}` + +- Build a container image using Docker: + +`quarkus image build docker` + +- Deploy the application to Kubernetes: + +`quarkus deploy kubernetes` + +- Update project: + +`quarkus update` diff --git a/pages/common/quarto.md b/pages/common/quarto.md new file mode 100644 index 00000000000000..10509c9c118082 --- /dev/null +++ b/pages/common/quarto.md @@ -0,0 +1,24 @@ +# quarto + +> An open-source scientific and technical publishing system built on Pandoc. +> More information: . + +- Create a new project: + +`quarto create-project {{path/to/destination_directory}} --type {{book|default|website}}` + +- Create a new blog website: + +`quarto create-project {{path/to/destination_directory}} --type {{website}} --template {{blog}}` + +- Render input file(s) to different formats: + +`quarto render {{path/to/file.[qmd|rmd|ipynb]}} --to {{html|pdf|docx}}` + +- Render and preview a document or a website: + +`quarto preview {{path/to/destination_directory|path/to/file}}` + +- Publish a document or project to Quarto Pub, Github Pages, RStudio Connect or Netlify: + +`quarto publish {{quarto-pub|gh-pages|connect|netlify}}` diff --git a/pages/common/quilt.md b/pages/common/quilt.md index 81c434c82bf3ef..d9dc0588b3d931 100644 --- a/pages/common/quilt.md +++ b/pages/common/quilt.md @@ -1,11 +1,11 @@ # quilt -> Tool to manage a series of patches. -> More information: . +> Manage a series of patches. +> More information: . - Import an existing patch from a file: -`quilt import {{path/to/filename.patch}}` +`quilt import {{path/to/file.patch}}` - Create a new patch: diff --git a/pages/common/quota.md b/pages/common/quota.md index aabc4d32e95ca6..dba699a2b311a3 100644 --- a/pages/common/quota.md +++ b/pages/common/quota.md @@ -1,23 +1,24 @@ # quota > Display users' disk space usage and allocated limits. +> More information: . -- Show disk quotas in human readable units for the current user: +- Show disk quotas in human-readable units for the current user: -`quota -s` +`quota {{[-s|--human-readable]}}` - Verbose output (also display quotas on filesystems where no storage is allocated): -`quota -v` +`quota {{[-v|--verbose]}}` - Quiet output (only display quotas on filesystems where usage is over quota): -`quota -q` +`quota {{[-q|--quiet]}}` - Print quotas for the groups of which the current user is a member: -`quota -g` +`quota {{[-g|--group]}}` - Show disk quotas for another user: -`sudo quota -u {{username}}` +`sudo quota {{[-u|--user]}} {{username}}` diff --git a/pages/common/qutebrowser.md b/pages/common/qutebrowser.md new file mode 100644 index 00000000000000..3a69713179703c --- /dev/null +++ b/pages/common/qutebrowser.md @@ -0,0 +1,24 @@ +# qutebrowser + +> A keyboard-driven, vim-like browser based on PyQt5. +> More information: . + +- Open qutebrowser with a specified storage directory: + +`qutebrowser --basedir {{path/to/directory}}` + +- Open a qutebrowser instance with temporary settings: + +`qutebrowser --set {{content.geolocation}} {{true|false}}` + +- Restore a named session of a qutebrowser instance: + +`qutebrowser --restore {{session_name}}` + +- Launch qutebrowser, opening all URLs using the specified method: + +`qutebrowser --target {{auto|tab|tab-bg|tab-silent|tab-bg-silent|window|private-window}}` + +- Open qutebrowser with a temporary base directory and print logs to `stdout` as JSON: + +`qutebrowser --temp-basedir --json-logging` diff --git a/pages/common/qwen.md b/pages/common/qwen.md new file mode 100644 index 00000000000000..2e909a43190511 --- /dev/null +++ b/pages/common/qwen.md @@ -0,0 +1,33 @@ +# qwen + +> Launch an interactive prompt with Qwen3-Coder. +> See also: `gemini`. +> More information: . + +- Start a REPL session to chat interactively: + +`qwen` + +- Send the output of another command to Qwen and exit immediately: + +`{{echo "Summarize the history of Rome"}} | qwen {{[-p|--prompt]}}` + +- Override the default model (default: qwen3-coder-max): + +`qwen {{[-m|--model]}} {{model_name}}` + +- Run inside a sandbox container: + +`qwen {{[-s|--sandbox]}}` + +- Execute a prompt then stay in interactive mode: + +`qwen {{[-i|--prompt-interactive]}} "{{Give me an example of recursion in Python}}"` + +- Include all files in context: + +`qwen {{[-a|--all-files]}}` + +- Show memory usage in status bar: + +`qwen --show-memory-usage` diff --git a/pages/common/r.md b/pages/common/r.md new file mode 100644 index 00000000000000..dd41ca256861a4 --- /dev/null +++ b/pages/common/r.md @@ -0,0 +1,32 @@ +# R + +> R language interpreter. +> More information: . + +- Start a REPL (interactive shell): + +`R` + +- Start R in vanilla mode (i.e. a blank session that doesn't save the workspace at the end): + +`R {{[-v|--vanilla]}}` + +- Execute a file: + +`R {{[-f|--file]}} {{path/to/file.R}}` + +- Execute an R expression and then exit: + +`R -e {{expr}}` + +- Run R with a debugger: + +`R {{[-d|--debugger]}} {{debugger}}` + +- Check R packages from package sources: + +`R CMD check {{path/to/package_source}}` + +- Display version: + +`R --version` diff --git a/pages/common/r2.md b/pages/common/r2.md new file mode 100644 index 00000000000000..0760143f0b8480 --- /dev/null +++ b/pages/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> This command is an alias of `radare2`. + +- View documentation for the original command: + +`tldr radare2` diff --git a/pages/common/r2e.md b/pages/common/r2e.md index 0400f18226e5af..b534bc58540f0a 100644 --- a/pages/common/r2e.md +++ b/pages/common/r2e.md @@ -2,7 +2,7 @@ > Forwards RSS feeds to an email address. > Requires a configured `sendmail` or smtp setup. -> More information: . +> More information: . - Create a new feed database that sends email to an email address: @@ -23,3 +23,7 @@ - Delete a feed at a specified index: `r2e delete {{index}}` + +- Display help: + +`r2e {{[-h|--help]}}` diff --git a/pages/common/rabbitmqctl-cluster.md b/pages/common/rabbitmqctl-cluster.md new file mode 100644 index 00000000000000..f18e65d6caa81b --- /dev/null +++ b/pages/common/rabbitmqctl-cluster.md @@ -0,0 +1,32 @@ +# rabbitmqctl-cluster + +> Manage RabbitMQ nodes in a cluster. +> More information: . + +- Display the status of the cluster: + +`rabbitmqctl cluster_status` + +- Display the status of the current node: + +`rabbitmqctl status` + +- Start the RabbitMQ application on a specific node: + +`rabbitmqctl {{[-n|--node]}} {{nodename}} start_app` + +- Stop the RabbitMQ application on a specific node: + +`rabbitmqctl {{[-n|--node]}} {{nodename}} stop_app` + +- Stop a specific RabbitMQ node: + +`rabbitmqctl {{[-n|--node]}} {{nodename}} stop` + +- Reset a specific RabbitMQ node to a clean state: + +`rabbitmqctl {{[-n|--node]}} {{nodename}} reset` + +- Make the current node join an existing cluster: + +`rabbitmqctl join_cluster {{nodename}}` diff --git a/pages/common/rabbitmqctl-users.md b/pages/common/rabbitmqctl-users.md new file mode 100644 index 00000000000000..4ce895b435f0a3 --- /dev/null +++ b/pages/common/rabbitmqctl-users.md @@ -0,0 +1,32 @@ +# rabbitmqctl-users + +> Manage RabbitMQ users, their permissions, and tags. +> More information: . + +- List all users: + +`rabbitmqctl list_users` + +- Add a new user with a password: + +`rabbitmqctl add_user {{username}} {{password}}` + +- Delete an existing user: + +`rabbitmqctl delete_user {{username}}` + +- Change the password for a user: + +`rabbitmqctl change_password {{username}} {{new_password}}` + +- Set permissions for a user on a specific virtual host: + +`rabbitmqctl set_permissions {{[-p|--vhost]}} {{vhost}} {{username}} {{read}} {{write}} {{configure}}` + +- Clear all permissions for a user on a specific virtual host: + +`rabbitmqctl clear_permissions {{[-p|--vhost]}} {{vhost}} {{username}}` + +- Assign one or more tags (e.g., administrator) to a user: + +`rabbitmqctl set_user_tags {{username}} {{tag1}} [{{tag2}}]` diff --git a/pages/common/rabbitmqctl-vhosts.md b/pages/common/rabbitmqctl-vhosts.md new file mode 100644 index 00000000000000..70fad420bca6a7 --- /dev/null +++ b/pages/common/rabbitmqctl-vhosts.md @@ -0,0 +1,25 @@ +# rabbitmqctl-vhosts + +> Manage virtual hosts (vhosts) in RabbitMQ. +> Vhosts are used to separate multiple logical brokers on the same RabbitMQ server. +> More information: . + +- List all virtual hosts: + +`rabbitmqctl list_vhosts` + +- Add a new virtual host: + +`rabbitmqctl add_vhost {{vhost_name}}` + +- Delete a virtual host: + +`rabbitmqctl delete_vhost {{vhost_name}}` + +- Set permissions for a user on a specific virtual host: + +`rabbitmqctl set_permissions {{[-p|--vhost]}} {{vhost_name}} {{username}} {{read}} {{write}} {{configure}}` + +- Clear permissions for a user on a specific virtual host: + +`rabbitmqctl clear_permissions {{[-p|--vhost]}} {{vhost_name}} {{username}}` diff --git a/pages/common/rabbitmqctl.md b/pages/common/rabbitmqctl.md new file mode 100644 index 00000000000000..23edb2a5741f80 --- /dev/null +++ b/pages/common/rabbitmqctl.md @@ -0,0 +1,24 @@ +# rabbitmqctl + +> Manage, configure, and inspect RabbitMQ servers. +> More information: . + +- Display the status of the current node: + +`rabbitmqctl status` + +- View documentation for RabbitMQ cluster commands: + +`tldr rabbitmqctl cluster` + +- View documentation for RabbitMQ user commands: + +`tldr rabbitmqctl users` + +- View documentation for RabbitMQ vhosts commands: + +`tldr rabbitmqctl vhosts` + +- Learn more about a specific command: + +`rabbitmqctl help {{command}}` diff --git a/pages/common/rabin2.md b/pages/common/rabin2.md index 4dfe1e04877521..484eefacd57129 100644 --- a/pages/common/rabin2.md +++ b/pages/common/rabin2.md @@ -2,6 +2,7 @@ > Get information about binary files (ELF, PE, Java CLASS, Mach-O) - symbols, sections, linked libraries, etc. > Comes bundled with `radare2`. +> More information: . - Display general information about a binary (architecture, type, endianness): diff --git a/pages/common/racket.md b/pages/common/racket.md new file mode 100644 index 00000000000000..682712b24d86bd --- /dev/null +++ b/pages/common/racket.md @@ -0,0 +1,24 @@ +# racket + +> Racket language interpreter. +> More information: . + +- Start a REPL (interactive shell): + +`racket` + +- Execute a Racket script: + +`racket {{path/to/script.rkt}}` + +- Execute a Racket expression: + +`racket {{[-e|--eval]}} "{{expression}}"` + +- Run module as a script (terminates option list): + +`racket {{[-l|--lib]}} {{module_name}} {{[-m|--main]}} {{arguments}}` + +- Start a REPL (interactive shell) for the `typed/racket` hashlang: + +`racket -I typed/racket` diff --git a/pages/common/raco.md b/pages/common/raco.md new file mode 100644 index 00000000000000..a718875fdd9562 --- /dev/null +++ b/pages/common/raco.md @@ -0,0 +1,28 @@ +# raco + +> Racket tools. +> More information: . + +- Install a package, automatically installing dependencies: + +`raco pkg install --auto {{package_source}}` + +- Install the current directory as a package: + +`raco pkg install` + +- Build (or rebuild) bytecode, documentation, executables, and metadata indexes for collections: + +`raco setup {{collection1 collection2 ...}}` + +- Run tests in files: + +`raco test {{path/to/tests1.rkt path/to/tests2.rkt ...}}` + +- Search local documentation: + +`raco docs {{search_terms}}` + +- Display help: + +`raco help` diff --git a/pages/common/radare2.md b/pages/common/radare2.md index 89cb7578029498..608ac811993d58 100644 --- a/pages/common/radare2.md +++ b/pages/common/radare2.md @@ -1,7 +1,7 @@ # radare2 > A set of reverse engineering tools. -> More information: . +> More information: . - Open a file in write mode without parsing the file format headers: @@ -15,13 +15,13 @@ `radare2 -i {{path/to/script.r2}} {{path/to/binary}}` -- Show help text for any command in the interactive CLI: +- Display help text for any command in the interactive CLI: -`> {{radare2_command}}?` +`{{radare2_command}}?` - Run a shell command from the interactive CLI: -`> !{{shell_command}}` +`!{{shell_command}}` - Dump raw bytes of current block to a file: diff --git a/pages/common/rage.md b/pages/common/rage.md new file mode 100644 index 00000000000000..3bc626dab0c387 --- /dev/null +++ b/pages/common/rage.md @@ -0,0 +1,13 @@ +# rage + +> A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no configuration options, and UNIX-style composability. +> Rust implementation of `age`. +> More information: . + +- Encrypt a file for `user` and save it to `message.age`: + +`echo "{{Your secret message}}" | rage --encrypt --recipient {{user}} --output {{path/to/message.age}}` + +- Decrypt a file with `identity_file` and save it to `message`: + +`rage --decrypt --identity {{path/to/identity_file}} --output {{message}}` diff --git a/pages/common/rails-console.md b/pages/common/rails-console.md new file mode 100644 index 00000000000000..255fb9a1a6615f --- /dev/null +++ b/pages/common/rails-console.md @@ -0,0 +1,20 @@ +# rails console + +> Interact with a Rails application. +> More information: . + +- Start the Rails console: + +`rails console` + +- Start the Rails console and roll back all data modifications on exit: + +`rails console {{[-s|--sandbox]}}` + +- Start the Rails console on a specified environment: + +`rails console {{[-e|--environment]}} {{dev|test|production|...}}` + +- Display help: + +`rails console {{[-h|--help]}}` diff --git a/pages/common/rails-db.md b/pages/common/rails-db.md index 28ed7f4a8754f8..562a1c3d658cca 100644 --- a/pages/common/rails-db.md +++ b/pages/common/rails-db.md @@ -1,6 +1,7 @@ # rails db > Various database-related subcommands for Ruby on Rails. +> More information: . - Create databases, load the schema, and initialize with seed data: @@ -30,6 +31,6 @@ `rails db:rollback` -- Fill the current database with data defined in db/seeds.rb: +- Fill the current database with data defined in `db/seeds.rb`: `rails db:seed` diff --git a/pages/common/rails-destroy.md b/pages/common/rails-destroy.md new file mode 100644 index 00000000000000..e7ad54a55bc5f5 --- /dev/null +++ b/pages/common/rails-destroy.md @@ -0,0 +1,24 @@ +# rails destroy + +> Destroy Rails resources. +> More information: . + +- List all available generators to destroy: + +`rails destroy` + +- Destroy a model named Post: + +`rails destroy model {{Post}}` + +- Destroy a controller named Posts: + +`rails destroy controller {{Posts}}` + +- Destroy a migration that creates Posts: + +`rails destroy migration {{CreatePosts}}` + +- Destroy a scaffold for a model named Post: + +`rails destroy scaffold {{Post}}` diff --git a/pages/common/rails-generate.md b/pages/common/rails-generate.md index 798c618c7de75e..db431d582b9060 100644 --- a/pages/common/rails-generate.md +++ b/pages/common/rails-generate.md @@ -1,7 +1,7 @@ # rails generate > Generate new Rails templates in an existing project. -> More information: . +> More information: . - List all available generators: diff --git a/pages/common/rails-new.md b/pages/common/rails-new.md new file mode 100644 index 00000000000000..e9692a486677b2 --- /dev/null +++ b/pages/common/rails-new.md @@ -0,0 +1,24 @@ +# rails new + +> Create a new Rails application. +> More information: . + +- Create a Rails app named `blog` in the current directory: + +`rails new blog` + +- Create a Rails app with API-only configuration: + +`rails new {{app_name}} --api` + +- Create a Rails app with `postgresql` as the database: + +`rails new {{app_name}} {{[-d|--database]}} postgresql` + +- Create a Rails app without generating JavaScript files: + +`rails new {{app_name}} {{[-J|--skip-javascript]}}` + +- Display help: + +`rails new {{[-h|--help]}}` diff --git a/pages/common/rails-routes.md b/pages/common/rails-routes.md index 8d6eae808d0b58..882f5aa53afb8b 100644 --- a/pages/common/rails-routes.md +++ b/pages/common/rails-routes.md @@ -9,12 +9,12 @@ - List all routes in an expanded format: -`rails routes --expanded` +`rails routes {{[-E|--expanded]}}` - List routes partially matching URL helper method name, HTTP verb, or URL path: -`rails routes -g {{posts_path|GET|/posts}}` +`rails routes {{[-g|--grep]}} {{posts_path|GET|/posts}}` - List routes that map to a specified controller: -`rails routes -c {{posts|Posts|Blogs::PostsController}}` +`rails routes {{[-c|--controller]}} {{posts|Posts|Blogs::PostsController}}` diff --git a/pages/common/rails-server.md b/pages/common/rails-server.md new file mode 100644 index 00000000000000..4f9f4dc21f3237 --- /dev/null +++ b/pages/common/rails-server.md @@ -0,0 +1,24 @@ +# rails server + +> Serve the Rails app in the current directory using the Puma web server, which comes bundled with Rails. +> More information: . + +- Run the web server: + +`rails server` + +- Run the web server on a specified port: + +`rails server {{[-p|--port]}} {{port_number}}` + +- Run the web server on a specified IP address: + +`rails server {{[-b|--binding]}} {{ip_address}}` + +- Run the web server on a specified environment: + +`rails server {{[-e|--environment]}} {{environment}}` + +- Display help: + +`rails server {{[-h|--help]}}` diff --git a/pages/common/rails.md b/pages/common/rails.md index c90d79f4ae3b0b..5eec1b4702e409 100644 --- a/pages/common/rails.md +++ b/pages/common/rails.md @@ -1,24 +1,37 @@ # rails > A server-side MVC framework written in Ruby. +> Some subcommands such as `generate` have their own usage documentation. > More information: . - Create a new rails project: `rails new "{{project_name}}"` +- Generate a scaffold for a model named Post, predefining the attributes title and body: + +`rails generate scaffold Post title:string body:text` + +- Run migrations: + +`rails db:migrate` + +- List all routes: + +`rails routes` + - Start local server for current project on port 3000: `rails server` - Start local server for current project on a specified port: -`rails server -p "{{port}}"` +`rails server {{[-p|--port]}} "{{port}}"` -- Open console to interact with application from command line: +- Open console to interact with application from command-line: `rails console` -- Check current version of rails: +- Display version: -`rails --version` +`rails {{[-v|--version]}}` diff --git a/pages/common/railway.md b/pages/common/railway.md new file mode 100644 index 00000000000000..3cd034132f0dcf --- /dev/null +++ b/pages/common/railway.md @@ -0,0 +1,28 @@ +# railway + +> Connect code to a Railway project. +> More information: . + +- Login to a Railway account: + +`railway login` + +- Link to an existing Project under a Railway account or team: + +`railway link {{projectId}}` + +- Create a new project: + +`railway init` + +- Run a local command using variables from the active environment: + +`railway run {{cmd}}` + +- Deploy the linked project directory (if running from a subdirectory, the project root is still deployed): + +`railway up` + +- Open an interactive shell to a database: + +`railway connect` diff --git a/pages/common/rainbowstream.md b/pages/common/rainbowstream.md index a87e7091071444..eb3456392c8afe 100644 --- a/pages/common/rainbowstream.md +++ b/pages/common/rainbowstream.md @@ -1,10 +1,10 @@ # rainbowstream > Terminal-based Twitter client supporting realtime tweetstream, trends, sending, search, favorites and user management. -> Online help with `h`, up and down arrows for history, tab to auto-complete and 2-tab for suggestion. +> Online help with ``, `` and `` for history, `` to auto-complete and 2-`` for suggestion. > More information: . -- Open rainbowstream: +- Open RainbowStream: `rainbowstream` @@ -20,11 +20,11 @@ `t {{message}}` -- Retweet the tweet with given id (id is beside the time): +- Retweet the tweet with given ID (ID is beside the time): `rt {{tweet_id}}` -- Favorite the tweet with given id: +- Favorite the tweet with given ID: `fav {{tweet_id}}` diff --git a/pages/common/rake.md b/pages/common/rake.md new file mode 100644 index 00000000000000..e055edad204c25 --- /dev/null +++ b/pages/common/rake.md @@ -0,0 +1,25 @@ +# rake + +> A Make-like program for Ruby. +> Tasks for `rake` are specified in a Rakefile. +> More information: . + +- Run the `default` Rakefile task: + +`rake` + +- Run a specific task: + +`rake {{task}}` + +- Execute `n` jobs at a time in parallel (number of CPU cores + 4 by default): + +`rake --jobs {{n}}` + +- Use a specific Rakefile: + +`rake --rakefile {{path/to/Rakefile}}` + +- Execute `rake` from another directory: + +`rake --directory {{path/to/directory}}` diff --git a/pages/common/ranger.md b/pages/common/ranger.md index 917d81e95d7c05..32a8eadb618ba1 100644 --- a/pages/common/ranger.md +++ b/pages/common/ranger.md @@ -1,6 +1,7 @@ # ranger > Console file manager with VI key bindings. +> See also: `clifm`, `vifm`, `mc`, `dolphin`. > More information: . - Launch ranger: @@ -13,11 +14,11 @@ - Change the configuration directory: -`ranger --confdir={{path/to/directory}}` +`ranger {{[-r|--confdir]}} {{path/to/directory}}` - Change the data directory: -`ranger --datadir={{path/to/directory}}` +`ranger --datadir {{path/to/directory}}` - Print CPU usage statistics on exit: diff --git a/pages/common/rapper.md b/pages/common/rapper.md index cbda5df29330f5..26893d1ae62a31 100644 --- a/pages/common/rapper.md +++ b/pages/common/rapper.md @@ -2,12 +2,12 @@ > The Raptor RDF parsing utility. > Part of the Raptor RDF Syntax Library. -> More information: . +> More information: . - Convert an RDF/XML document to Turtle: -`rapper -i rdfxml -o turtle {{file}}` +`rapper {{[-i|--input]}} rdfxml {{[-o|--output]}} turtle {{path/to/file}}` - Count the number of triples in a Turtle file: -`rapper -i turtle -c {{file}}` +`rapper {{[-i|--input]}} turtle {{[-c|--count]}} {{path/to/file}}` diff --git a/pages/common/rar.md b/pages/common/rar.md index 911d0460e9b271..566e4bd613fe48 100644 --- a/pages/common/rar.md +++ b/pages/common/rar.md @@ -1,10 +1,11 @@ # rar > The RAR archiver. Supports multi-volume archives that can be optionally self-extracting. +> More information: . - Archive 1 or more files: -`rar a {{path/to/archive_name.rar}} {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}` +`rar a {{path/to/archive_name.rar}} {{path/to/file1 path/to/file2 path/to/file3 ...}}` - Archive a directory: diff --git a/pages/common/rarcrack.md b/pages/common/rarcrack.md new file mode 100644 index 00000000000000..dcfefbb6472b52 --- /dev/null +++ b/pages/common/rarcrack.md @@ -0,0 +1,15 @@ +# rarcrack + +> Password cracker for RAR, Zip and 7z archives. + +- Brute force the password for an archive (tries to guess the archive type): + +`rarcrack {{path/to/file.zip}}` + +- Specify the archive type: + +`rarcrack --type {{rar|zip|7z}} {{path/to/file.zip}}` + +- Use multiple threads: + +`rarcrack --threads {{6}} {{path/to/file.zip}}` diff --git a/pages/common/rasttopnm.md b/pages/common/rasttopnm.md new file mode 100644 index 00000000000000..ff796423d4fd19 --- /dev/null +++ b/pages/common/rasttopnm.md @@ -0,0 +1,12 @@ +# rasttopnm + +> Convert a Sun rasterfile to a PNM file. +> More information: . + +- Convert a RAST image to a PNM file: + +`rasttopnm {{path/to/input.rast}} > {{path/to/output.pnm}}` + +- Use the color map indices in the raster if they are color values: + +`rasttopnm {{[-i|-index]}} {{path/to/input.rast}} > {{path/to/output.pnm}}` diff --git a/pages/common/rawtopgm.md b/pages/common/rawtopgm.md new file mode 100644 index 00000000000000..3205169c234d13 --- /dev/null +++ b/pages/common/rawtopgm.md @@ -0,0 +1,32 @@ +# rawtopgm + +> Convert a raw greyscale image to a PGM image. +> More information: . + +- Convert a raw greyscale image to a PGM image: + +`rawtopgm {{width}} {{height}} {{path/to/image.raw}} > {{path/to/output.pgm}}` + +- Convert a raw greyscale image to a PGM image, assume the image to be a square: + +`rawtopgm {{path/to/image.raw}} > {{path/to/output.pgm}}` + +- Convert a raw greyscale image in which the pixels come bottom-first instead of top-first to a PGM image: + +`rawtopgm {{width}} {{height}} {{[-bt|-bottomfirst]}} {{path/to/image.raw}} > {{path/to/output.pgm}}` + +- Ignore the first `n` bytes of the specified file: + +`rawtopgm {{width}} {{height}} {{[-h|-headerskip]}} {{n}} {{path/to/image.raw}} > {{path/to/output.pgm}}` + +- Ignore the last m bytes of each row in the specified file: + +`rawtopgm {{width}} {{height}} {{[-r|-rowskip]}} {{m}} {{path/to/image.raw}} > {{path/to/output.pgm}}` + +- Specify the maxval for the grey values in the input to be equal to `n`: + +`rawtopgm {{width}} {{height}} {{[-m|-maxval]}} {{n}} {{path/to/image.raw}} > {{path/to/output.pgm}}` + +- Specify the number of bytes that represent each sample in the input and that the byte-sequence is to be interpreted as little-endian: + +`rawtopgm {{width}} {{height}} -bpp {{1|2}} {{[-l|-littleendian]}} {{path/to/image.raw}} > {{path/to/output.pgm}}` diff --git a/pages/common/rawtoppm.md b/pages/common/rawtoppm.md new file mode 100644 index 00000000000000..4301996c907990 --- /dev/null +++ b/pages/common/rawtoppm.md @@ -0,0 +1,24 @@ +# rawtoppm + +> Convert a raw RGB stream to a PPM image. +> More information: . + +- Convert a raw RGB stream to a PPM image: + +`rawtoppm {{width}} {{height}} {{path/to/image.raw}} > {{path/to/output.ppm}}` + +- Convert a raw RGB stream in which the pixels come bottom-first instead of top-first to a PPM image: + +`rawtoppm {{width}} {{height}} {{path/to/image.raw}} | pamflip {{[-tb|-topbottom]}} > {{path/to/output.ppm}}` + +- Ignore the first n bytes of the specified file: + +`rawtoppm {{width}} {{height}} {{[-h|-headerskip]}} {{n}} {{path/to/image.raw}} > {{path/to/output.ppm}}` + +- Ignore the last m bytes of each row in the specified file: + +`rawtoppm {{width}} {{height}} {{[-ro|-rowskip]}} {{m}} {{path/to/image.raw}} > {{path/to/output.ppm}}` + +- Specify the order of color components for each pixel: + +`rawtoppm {{width}} {{height}} -{{rgb|rbg|grb|gbr|brg|bgr}} {{path/to/image.raw}} > {{path/to/output.ppm}}` diff --git a/pages/common/rbac-lookup.md b/pages/common/rbac-lookup.md index 1b6363a066c638..7cfd0c5bf48c65 100644 --- a/pages/common/rbac-lookup.md +++ b/pages/common/rbac-lookup.md @@ -13,11 +13,11 @@ - View all RBAC bindings along with the source role binding: -`rbac-lookup -o wide` +`rbac-lookup {{[-o|--output]}} wide` - View all RBAC bindings filtered by subject: -`rbac-lookup -k {{user|group|serviceaccount}}` +`rbac-lookup {{[-k|--kind]}} {{user|group|serviceaccount}}` - View all RBAC bindings along with IAM roles (if you are using GKE): diff --git a/pages/common/rbash.md b/pages/common/rbash.md index b4b1c2fc8dbb31..a8eb9840d37d71 100644 --- a/pages/common/rbash.md +++ b/pages/common/rbash.md @@ -1,20 +1,30 @@ # rbash -> Restricted Bash shell. -> Similar to the `bash` shell with some restrictions like changing directories with `cd`, setting/unsetting of PATH, ENV variables and others. +> Restricted Bash shell, equivalent to `bash --restricted`. +> Does not permit changing the working directory, redirecting command output, or modifying environment variables, among other things. +> See also: `histexpand` for history expansion. +> More information: . -- Start rbash: +- Start an interactive shell session: `rbash` -- Execute a command: +- Execute a command and then exit: `rbash -c "{{command}}"` -- Run commands from a file: +- Execute a script: -`rbash {{file.sh}}` +`rbash {{path/to/script.sh}}` -- Print the version information of rbash: +- Execute a script, printing each command before executing it: -`rbash --version` +`rbash -x {{path/to/script.sh}}` + +- Execute commands from a script, stopping at the first error: + +`rbash -e {{path/to/script.sh}}` + +- Read and execute commands from `stdin`: + +`rbash -s` diff --git a/pages/common/rbenv.md b/pages/common/rbenv.md index ab30905af6aa3d..67e814ff32cb0f 100644 --- a/pages/common/rbenv.md +++ b/pages/common/rbenv.md @@ -1,6 +1,7 @@ # rbenv -> A tool to easily install Ruby versions and manage application environments. +> Easily install Ruby versions and manage application environments. +> See also: `asdf`. > More information: . - Install a Ruby version: diff --git a/pages/common/rbt.md b/pages/common/rbt.md index 544550a6d3d71f..84acbbc6513826 100644 --- a/pages/common/rbt.md +++ b/pages/common/rbt.md @@ -1,6 +1,6 @@ # rbt -> RBTools is a set of command line tools for working with Review Board and RBCommons. +> RBTools, a set of tools for working with Review Board and RBCommons. > More information: . - Post changes to Review Board: diff --git a/pages/common/rbw.md b/pages/common/rbw.md new file mode 100644 index 00000000000000..482c649e080e36 --- /dev/null +++ b/pages/common/rbw.md @@ -0,0 +1,36 @@ +# rbw + +> Unofficial Bitwarden-compatible password manager. +> More information: . + +- Log in to the vault: + +`rbw login` + +- Unlock the vault: + +`rbw unlock` + +- List all items in the vault: + +`rbw list` + +- Get a password for an entry: + +`rbw get "{{entry_name}}"` + +- Get a username for an entry: + +`rbw get {{[-f|--field]}} username "{{entry_name}}"` + +- Copy a password to the clipboard: + +`rbw get {{[-c|--clipboard]}} "{{entry_name}}"` + +- Generate a new password with the specified number of characters: + +`rbw generate {{password_length}}` + +- Lock the vault: + +`rbw lock` diff --git a/pages/common/rc.md b/pages/common/rc.md new file mode 100644 index 00000000000000..4f66ffbe1a5133 --- /dev/null +++ b/pages/common/rc.md @@ -0,0 +1,13 @@ +# rc + +> A modern simplistic port listener & reverse shell. +> Similar to `nc`. +> More information: . + +- Start listening on a specific port: + +`rc -lp {{port}}` + +- Start a reverse shell: + +`rc {{host}} {{port}} -r {{shell}}` diff --git a/pages/common/rcat.md b/pages/common/rcat.md new file mode 100644 index 00000000000000..1c0e0a2feb3a41 --- /dev/null +++ b/pages/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> This command is an alias of `rc`. + +- View documentation for the original command: + +`tldr rc` diff --git a/pages/common/rclone.md b/pages/common/rclone.md index f8a39b98dcb64d..3928c70a865b9e 100644 --- a/pages/common/rclone.md +++ b/pages/common/rclone.md @@ -1,36 +1,36 @@ # rclone -> CLI program to copy/sync/move files and directories to and from many cloud services. +> Copy, synchronize or move files and directories to and from many cloud services. > More information: . +- Launch an interactive menu to setup rclone: + +`rclone config` + - List contents of a directory on an rclone remote: `rclone lsf {{remote_name}}:{{path/to/directory}}` -- Copy file or directory from local source to remote destination: +- Copy a file or directory from the local machine to the remote destination: -`rclone copy {{path/to/source_file_or_directory}} {{remote_name}}:{{path/to/destination_directory}}` +`rclone copy {{path/to/source_file_or_directory}} {{remote_name}}:{{path/to/directory}}` -- Copy file or directory from remote source to local destination: +- Copy files changed within the past 24 hours to a remote from the local machine, asking the user to confirm each file: -`rclone copy {{remote_name}}:{{path/to/source_file_or_directory}} {{path/to/destination_directory}}` +`rclone copy {{[-i|--interactive]}} --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}}` -- Sync local source to remote destination, changing the destination only: +- Mirror a specific file or directory (Note: Unlike copy, sync removes files from the remote if it does not exist locally): `rclone sync {{path/to/file_or_directory}} {{remote_name}}:{{path/to/directory}}` -- Move file or directory from local source to remote destination: - -`rclone move {{path/to/file_or_directory}} {{remote_name}}:{{path/to/directory}}` - -- Delete remote file or directory (use `--dry-run` to test, remove it to actually delete): +- Delete a remote file or directory (Note: `--dry-run` means test, remove it from the command to actually delete): -`rclone --dry-run delete {{remote_name}}:{{path/to/file_or_directory}}` +`rclone {{[-n|--dry-run]}} delete {{remote_name}}:{{path/to/file_or_directory}}` - Mount rclone remote (experimental): `rclone mount {{remote_name}}:{{path/to/directory}} {{path/to/mount_point}}` -- Unmount rclone remote if CTRL-C fails (experimental): +- Unmount rclone remote if `` fails (experimental): -`fusermount -u {{path/to/mount_point}}` +`fusermount {{[-u|--update]}} {{path/to/mount_point}}` diff --git a/pages/common/rdfind.md b/pages/common/rdfind.md index 1588b757cf90d1..c742948bf2eb86 100644 --- a/pages/common/rdfind.md +++ b/pages/common/rdfind.md @@ -1,7 +1,7 @@ # rdfind > Find files with duplicate content and get rid of them. -> More information: . +> More information: . - Identify all duplicates in a given directory and output a summary: diff --git a/pages/common/rdiff-backup.md b/pages/common/rdiff-backup.md new file mode 100644 index 00000000000000..76e439253857e9 --- /dev/null +++ b/pages/common/rdiff-backup.md @@ -0,0 +1,20 @@ +# rdiff-backup + +> Local/remote mirror and incremental backup tool. +> More information: . + +- Back up `path/to/source` to `path/to/backup`: + +`rdiff-backup backup {{path/to/source}} {{path/to/backup}}` + +- List incremental backups in repository (location path, local or remote): + +`rdiff-backup list increments {{repository}}` + +- Restore from most recent backup: + +`rdiff-backup restore {{path/to/backup}} {{path/to/destination}}` + +- Restore backed up files as they were 3 days ago: + +`rdiff-backup restore --at 3D {{path/to/backup}} {{path/to/destination}}` diff --git a/pages/common/react-native-start.md b/pages/common/react-native-start.md new file mode 100644 index 00000000000000..27e9f3e8a0ac97 --- /dev/null +++ b/pages/common/react-native-start.md @@ -0,0 +1,28 @@ +# react-native start + +> Start the React Native server. +> More information: . + +- Start the server that communicates with connected devices: + +`react-native start` + +- Start the metro bundler with a clean cache: + +`react-native start --reset-cache` + +- Start the server in a custom port (defaults to 8081): + +`react-native start --port {{3000}}` + +- Start the server in verbose mode: + +`react-native start --verbose` + +- Specify the maximum number of workers for transforming files (default is the number of CPU cores): + +`react-native start --max-workers {{count}}` + +- Disable interactive mode: + +`react-native start --no-interactive` diff --git a/pages/common/react-native.md b/pages/common/react-native.md new file mode 100644 index 00000000000000..b47f7b2ee87090 --- /dev/null +++ b/pages/common/react-native.md @@ -0,0 +1,36 @@ +# react-native + +> A framework for building native apps with React. +> More information: . + +- Initialize a new React Native project in a directory of the same name: + +`react-native init {{project_name}}` + +- Start the metro bundler: + +`react-native start` + +- Start the metro bundler with a clean cache: + +`react-native start --reset-cache` + +- Build the current application and start it on a connected Android device or emulator: + +`react-native run-android` + +- Build the current application and start it on an iOS simulator: + +`react-native run-ios` + +- Build the current application in `release` mode and start it on a connected Android device or emulator: + +`react-native run-android --variant={{release}}` + +- Start `logkitty` and print logs to `stdout`: + +`react-native log-android` + +- Start `tail system.log` for an iOS simulator and print logs to `stdout`: + +`react-native log-ios` diff --git a/pages/common/read.md b/pages/common/read.md index b05cd19f6b5e09..4fb68a4bc214d9 100644 --- a/pages/common/read.md +++ b/pages/common/read.md @@ -1,6 +1,7 @@ # read -> BASH builtin for retrieving data from standard input. +> Shell builtin for retrieving data from `stdin`. +> More information: . - Store data that you type from the keyboard: @@ -10,19 +11,15 @@ `read -a {{array}}` -- Enable backspace and GNU readline hotkeys when entering input with read: - -`read -e {{variable}}` - - Specify the number of maximum characters to be read: `read -n {{character_count}} {{variable}}` -- Use a specific character as a delimiter instead of a new line: +- Assign multiple values to multiple variables: -`read -d {{new_delimiter}} {{variable}}` +`read {{_ variable1 _ variable2}} <<< "{{The surname is Bond}}"` -- Do not let backslash (\) act as an escape character: +- Do not let backslash (\\) act as an escape character: `read -r {{variable}}` @@ -33,3 +30,7 @@ - Do not echo typed characters (silent mode): `read -s {{variable}}` + +- Read `stdin` and perform an action on every line: + +`while read line; do {{echo|ls|rm|...}} "$line"; done < {{/dev/stdin|path/to/file|...}}` diff --git a/pages/common/readarray.md b/pages/common/readarray.md new file mode 100644 index 00000000000000..710cba3844bdc5 --- /dev/null +++ b/pages/common/readarray.md @@ -0,0 +1,24 @@ +# readarray + +> Read lines from `stdin` into an array. +> More information: . + +- Interactively input lines into an array: + +`readarray {{array_name}}` + +- Read lines from a file and insert them in an array: + +`readarray < {{path/to/file.txt}} {{array_name}}` + +- Remove trailing deliminators (newline by default): + +`readarray < {{path/to/file.txt}} -t {{array_name}}` + +- Copy at most `n` lines: + +`readarray < {{path/to/file.txt}} -n {{n}} {{array_name}}` + +- Display help: + +`help mapfile` diff --git a/pages/common/readlink.md b/pages/common/readlink.md index 865e64f77d3357..955a8eaaee74e3 100644 --- a/pages/common/readlink.md +++ b/pages/common/readlink.md @@ -1,11 +1,12 @@ # readlink > Follow symlinks and get symlink information. +> More information: . - Get the actual file to which the symlink points: -`readlink {{filename}}` +`readlink {{path/to/file}}` - Get the absolute path to a file: -`readlink -f {{filename}}` +`readlink {{[-f|--canonicalize]}} {{path/to/file}}` diff --git a/pages/common/readonly.md b/pages/common/readonly.md new file mode 100644 index 00000000000000..7190b57aee4675 --- /dev/null +++ b/pages/common/readonly.md @@ -0,0 +1,16 @@ +# readonly + +> Set read-only shell variables. +> More information: . + +- Set a read-only variable: + +`readonly {{variable_name}}={{value}}` + +- Mark a variable as read-only: + +`readonly {{existing_variable}}` + +- [p]rint the names and values of all read-only variables to `stdout`: + +`readonly -p` diff --git a/pages/common/realpath.md b/pages/common/realpath.md index 1b994877fd7c92..7ff82493a97744 100644 --- a/pages/common/realpath.md +++ b/pages/common/realpath.md @@ -1,6 +1,7 @@ # realpath > Display the resolved absolute path for a file or directory. +> More information: . - Display the absolute path for a file or directory: @@ -8,16 +9,16 @@ - Require all path components to exist: -`realpath --canonicalize-existing {{path/to/file_or_directory}}` +`realpath {{[-e|--canonicalize-existing]}} {{path/to/file_or_directory}}` - Resolve ".." components before symlinks: -`realpath --logical {{path/to/file_or_directory}}` +`realpath {{[-L|--logical]}} {{path/to/file_or_directory}}` - Disable symlink expansion: -`realpath --no-symlinks {{path/to/file_or_directory}}` +`realpath {{[-s|--no-symlinks]}} {{path/to/file_or_directory}}` - Suppress error messages: -`realpath --quiet {{path/to/file_or_directory}}` +`realpath {{[-q|--quiet]}} {{path/to/file_or_directory}}` diff --git a/pages/common/recon-ng.md b/pages/common/recon-ng.md new file mode 100644 index 00000000000000..efa62a63fc7e1b --- /dev/null +++ b/pages/common/recon-ng.md @@ -0,0 +1,32 @@ +# recon-ng + +> Automated reconnaissance and information gathering tool. +> More information: . + +- Start the tool: + +`recon-ng` + +- Create a workspace: + +`workspaces create {{workspace_name}}` + +- Search the marketplace for modules used to accomplish different reconnaissance tasks: + +`marketplace search` + +- Install all available modules (some may need API keys to function completely): + +`marketplace install all` + +- Load the profiler module. It is used to scan the web for profiles matching the target, scrape them, and store them: + +`modules load profiler` + +- Insert the target's username. After entering this command, enter the desired username of the search and leave the rest of the options blank: + +`db insert profiles` + +- Run the current module: + +`run` diff --git a/pages/common/recsel.md b/pages/common/recsel.md index c380a35ca417ae..47c92aacc8eaac 100644 --- a/pages/common/recsel.md +++ b/pages/common/recsel.md @@ -1,16 +1,16 @@ # recsel > Print records from a recfile: a human-editable, plain text database. -> More information: . +> More information: . - Extract name and version field: -`recsel -p name,version {{data.rec}}` +`recsel {{[-p|--print]}} name,version {{data.rec}}` -- Use "~" to match a string with a given regular expression: +- Use "~" to match a string with a given `regex`: -`recsel -e "{{field_name}} ~ '{{pattern_regex}}' {{data.rec}}"` +`recsel {{[-e|--expression]}} "{{field_name}} ~ '{{regex}}' {{data.rec}}"` - Use a predicate to match a name and a version: -`recsel -e "name ~ '{{pattern_regex}}' && version ~ '{{pattern_regex}}'" {{data.rec}}` +`recsel {{[-e|--expression]}} "name ~ '{{regex}}' && version ~ '{{regex}}'" {{data.rec}}` diff --git a/pages/common/redis-benchmark.md b/pages/common/redis-benchmark.md new file mode 100644 index 00000000000000..2d932cc953e11e --- /dev/null +++ b/pages/common/redis-benchmark.md @@ -0,0 +1,32 @@ +# redis-benchmark + +> Benchmark a Redis server. +> More information: . + +- Run full benchmark: + +`redis-benchmark` + +- Run benchmark on a specific Redis server: + +`redis-benchmark -h {{host}} -p {{port}} -a {{password}}` + +- Run a subset of tests with default 100000 requests: + +`redis-benchmark -h {{host}} -p {{port}} -t {{set,lpush}} -n {{100000}}` + +- Run with a specific script: + +`redis-benchmark -n {{100000}} script load "{{redis.call('set', 'foo', 'bar')}}"` + +- Run benchmark by using 100000 [r]andom keys: + +`redis-benchmark -t {{set}} -r {{100000}}` + +- Run benchmark by using a [P]ipelining of 16 commands: + +`redis-benchmark -n {{1000000}} -t {{set,get}} -P {{16}}` + +- Run benchmark [q]uietly and only show query per seconds result: + +`redis-benchmark -q` diff --git a/pages/common/redis-cli.md b/pages/common/redis-cli.md index ab699beab41e5a..e3fca63b5d01f0 100644 --- a/pages/common/redis-cli.md +++ b/pages/common/redis-cli.md @@ -15,7 +15,7 @@ `redis-cli -h {{host}} -p {{port}}` -- Connect to a remote server specifying an URI: +- Connect to a remote server specifying a URI: `redis-cli -u {{uri}}` diff --git a/pages/common/redshift.md b/pages/common/redshift.md index fde3aeff544964..305e0ef3b489a7 100644 --- a/pages/common/redshift.md +++ b/pages/common/redshift.md @@ -1,24 +1,24 @@ # redshift > Adjust the color temperature of your screen according to your surroundings. -> More information: . +> More information: . -- Turn on Redshift with 5700K temperature during day and 3600K at night: +- Turn on Redshift with a specific [t]emperature during day (e.g., 5700K) and at night (e.g., 3600K): `redshift -t {{5700}}:{{3600}}` -- Turn on Redshift with a manually-specified custom location: +- Turn on Redshift with a manually specified custom [l]ocation: `redshift -l {{latitude}}:{{longitude}}` -- Turn on Redshift with 70% screen brightness during day and 40% brightness at night: +- Turn on Redshift with a specific screen [b]rightness during the day (e.g, 70%) and at night (e.g., 40%): `redshift -b {{0.7}}:{{0.4}}` -- Turn on Redshift with custom gamma levels (between 0 and 1): +- Turn on Redshift with custom [g]amma levels (between 0 and 1): `redshift -g {{red}}:{{green}}:{{blue}}` -- Turn on Redshift with a constant unchanging color temperature: +- [P]urge existing temperature changes and set a constant unchanging color temperature in [O]ne-shot mode: -`redshift -O {{temperature}}` +`redshift -PO {{temperature}}` diff --git a/pages/common/reflac.md b/pages/common/reflac.md index ed014d02ff9ece..ac46d3cbd609e5 100644 --- a/pages/common/reflac.md +++ b/pages/common/reflac.md @@ -9,15 +9,15 @@ - Enable maximum compression (very slow): -`reflac --best {{path/to/directory}}` +`reflac {{[-8|--best]}} {{path/to/directory}}` - Display filenames as they are processed: -`reflac --verbose {{path/to/directory}}` +`reflac {{[-v|--verbose]}} {{path/to/directory}}` - Recurse into subdirectories: -`reflac --recursive {{path/to/directory}}` +`reflac {{[-r|--recursive]}} {{path/to/directory}}` - Preserve file modification times: diff --git a/pages/common/reflex.md b/pages/common/reflex.md index 6f01520904c9d5..3cc64f1af12b1c 100644 --- a/pages/common/reflex.md +++ b/pages/common/reflex.md @@ -1,13 +1,13 @@ # reflex -> Tool to watch a directory and rerun a command when certain files change. +> Watch a directory and rerun a command when certain files change. > More information: . - Rebuild with `make` if any file changes: `reflex make` -- Compile and run Go application if any .go file changes: +- Compile and run Go application if any `.go` file changes: `reflex --regex='{{\.go$}}' {{go run .}}` diff --git a/pages/common/reindexdb.md b/pages/common/reindexdb.md new file mode 100644 index 00000000000000..644add45575593 --- /dev/null +++ b/pages/common/reindexdb.md @@ -0,0 +1,36 @@ +# reindexdb + +> Rebuild indexes in a PostgreSQL database. +> More information: . + +- Reindex a specific database: + +`reindexdb {{database_name}}` + +- Reindex a specific database using connection options: + +`reindexdb {{database_name}} {{[-h|--host]}} {{hostname}} {{[-p|--port]}} {{port}} {{[-U|--username]}} {{username}}` + +- Reindex all databases: + +`reindexdb {{[-a|--all]}}` + +- Reindex a specific table in a database: + +`reindexdb {{database_name}} {{[-t|--table]}} {{table_name}}` + +- Reindex a specific index in a database: + +`reindexdb {{database_name}} {{[-i|--index]}} {{index_name}}` + +- Reindex a specific schema in a database: + +`reindexdb {{database_name}} {{[-S|--schema]}} {{schema_name}}` + +- Reindex with verbose output: + +`reindexdb {{database_name}} {{[-v|--verbose]}}` + +- Reindex a database using multiple parallel jobs: + +`reindexdb {{database_name}} {{[-j|--jobs]}} {{number_of_jobs}}` diff --git a/pages/common/rekor-cli.md b/pages/common/rekor-cli.md new file mode 100644 index 00000000000000..3c698881183cf2 --- /dev/null +++ b/pages/common/rekor-cli.md @@ -0,0 +1,20 @@ +# rekor-cli + +> Immutable tamper resistant ledger of metadata generated within a software projects supply chain. +> More information: . + +- Upload an artifact to Rekor: + +`rekor-cli upload --artifact {{path/to/file.ext}} --signature {{path/to/file.ext.sig}} --pki-format={{x509}} --public-key={{path/to/key.pub}}` + +- Get information regarding entries in the Transparency Log: + +`rekor-cli get --uuid={{0e81b4d9299e2609e45b5c453a4c0e7820ac74e02c4935a8b830d104632fd2d1}}` + +- Search the Rekor index to find entries by Artifact: + +`rekor-cli search --artifact {{path/to/file.ext}}` + +- Search the Rekor index to find entries by a specific hash: + +`rekor-cli search --sha {{6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b}}` diff --git a/pages/common/remove-nodeversion.md b/pages/common/remove-nodeversion.md new file mode 100644 index 00000000000000..7c8f4f6f56cacc --- /dev/null +++ b/pages/common/remove-nodeversion.md @@ -0,0 +1,21 @@ +# Remove-NodeVersion + +> Uninstall Node.js runtime versions for `ps-nvm`. +> This command is part of `ps-nvm` and can only be run under PowerShell. +> More information: . + +- Uninstall a given Node.js version: + +`Remove-NodeVersion {{node_version}}` + +- Uninstall multiple Node.js versions: + +`Remove-NodeVersion {{node_version1 , node_version2 , ...}}` + +- Uninstall all currently-installed versions of Node.js 20.x: + +`Get-NodeVersions -Filter ">=20.0.0 <21.0.0" | Remove-NodeVersion` + +- Uninstall all currently-installed versions of Node.js: + +`Get-NodeVersions | Remove-NodeVersion` diff --git a/pages/common/rename.md b/pages/common/rename.md new file mode 100644 index 00000000000000..882401f44e31a9 --- /dev/null +++ b/pages/common/rename.md @@ -0,0 +1,30 @@ +# rename + +> Rename a file or group of files with a `regex`. +> WARNING: This command will overwrite files without prompting unless the dry-run option is used. +> Note: This page refers to the Perl version, also known as `file-rename`. +> More information: . + +- Replace `from` with `to` in the filenames of the specified files: + +`rename 's/{{from}}/{{to}}/' {{*.txt}}` + +- Dry-run - display which changes would occur without performing them: + +`rename -n 's/{{from}}/{{to}}/' {{*.txt}}` + +- Change the extension: + +`rename 's/\.{{old}}$/\.{{new}}/' {{*.txt}}` + +- Change to lowercase (use `-f` in case-insensitive filesystems): + +`rename {{[-f|--force]}} 'y/A-Z/a-z/' {{*.txt}}` + +- Capitalize first letter of every word in the name: + +`rename {{[-f|--force]}} 's/\b(\w)/\U$1/g' {{*.txt}}` + +- Replace spaces with underscores: + +`rename 's/\s+/_/g' {{*.txt}}` diff --git a/pages/common/renice.md b/pages/common/renice.md index 902b386e932273..18fe042a60008a 100644 --- a/pages/common/renice.md +++ b/pages/common/renice.md @@ -1,16 +1,18 @@ # renice -> Alters the scheduling priority/nicenesses of one or more running processes. +> Alter the scheduling priority/niceness of running processes. > Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). +> See also: `nice`. +> More information: . -- Change priority of a running process: +- Increase/decrease the priority of a running [p]rocess: -`renice -n {{niceness_value}} -p {{pid}}` +`renice -n {{3}} -p {{pid}}` -- Change priority of all processes owned by a user: +- Increase/decrease the priority of all processes owned by a [u]ser: -`renice -n {{niceness_value}} -u {{user}}` +`renice -n {{-4}} -u {{uid|user}}` -- Change priority of all processes that belong to a process group: +- Increase/decrease the priority of all processes that belong to a process [g]roup: -`renice -n {{niceness_value}} --pgrp {{process_group}}` +`renice -n {{5}} -g {{process_group}}` diff --git a/pages/common/repomix.md b/pages/common/repomix.md new file mode 100644 index 00000000000000..70b05ec9d903e6 --- /dev/null +++ b/pages/common/repomix.md @@ -0,0 +1,36 @@ +# repomix + +> Pack a Github repository into an AI-friendly file. +> More information: . + +- Output custom format: + +`repomix {{[-o|--output]}} {{path/to/file}} --style {{xml|markdown|plain}}` + +- Send output to `stdout`: + +`repomix --stdout > {{path/to/file}}` + +- Send output to `stdout`, then pipe into another program: + +`repomix --stdout | {{less}}` + +- Output with compression: + +`repomix --compress` + +- Process specific files: + +`repomix --include "{{src/**/*.ts}}" --ignore "{{**/*.test.ts}}"` + +- Pack a repository from a branch: + +`repomix --remote {{https://github.com/user/repo/tree/main}}` + +- Pack a repository at a specific commit: + +`repomix --remote {{https://github.com/user/repo/commit/836abcd7335137228ad77feb28655d85712680f1}}` + +- Pack repository using shorthand: + +`repomix --remote {{user/repo}}` diff --git a/pages/common/repren.md b/pages/common/repren.md index ae357d62d36a34..74621d29dc248b 100644 --- a/pages/common/repren.md +++ b/pages/common/repren.md @@ -3,22 +3,22 @@ > Multi-pattern string replacement and file renaming tool. > More information: . -- Do a dry-run renaming a directory of pngs with a literal string replacement: +- Do a dry-run renaming a directory of PNGs with a literal string replacement: -`repren --dry-run --rename --literal --from '{{find_string}}' --to '{{replacement_string}}' {{*.png}}` +`repren {{[-n|--dry-run]}} --rename --literal --from '{{find_string}}' --to '{{replacement_string}}' {{*.png}}` -- Do a dry-run renaming a directory of jpegs with a regular expression: +- Do a dry-run renaming a directory of JPEGs with a `regex`: -`repren --rename --dry-run --from '{{regular_expression}}' --to '{{replacement_string}}' {{*.jpg}} {{*.jpeg}}` +`repren --rename {{[-n|--dry-run]}} --from '{{regex}}' --to '{{replacement_string}}' {{*.jpg}} {{*.jpeg}}` -- Do a find-and-replace on the contents of a directory of csv files: +- Do a find-and-replace on the contents of a directory of CSV files: `repren --from '{{([0-9]+) example_string}}' --to '{{replacement_string \1}}' {{*.csv}}` - Do both a find-and-replace and a rename operation at the same time, using a pattern file: -`repren --patterns {{path/to/patfile.ext}} --full {{*.txt}}` +`repren {{[-p|--patterns]}} {{path/to/patfile.ext}} --full {{*.txt}}` - Do a case-insensitive rename: -`repren --rename --insensitive --patterns {{path/to/patfile.ext}} *` +`repren --rename {{[-i|--insensitive]}} {{[-p|--patterns]}} {{path/to/patfile.ext}} *` diff --git a/pages/common/resolvconf.md b/pages/common/resolvconf.md new file mode 100644 index 00000000000000..4fc5eec9685472 --- /dev/null +++ b/pages/common/resolvconf.md @@ -0,0 +1,30 @@ +# resolvconf + +> Manage nameserver information. +> Acts as an intermediary between programs that supply nameserver information and applications that use this information. +> This page documents Debian's implementation of `resolvconf`. +> More information: . + +- Add or override the IFACE.PROG record and run the update scripts if updating is enabled: + +`resolvconf -a {{IFACE.PROG}}` + +- Delete the IFACE.PROG record and run the update scripts if updating is enabled: + +`resolvconf -d {{IFACR.PROG}}` + +- Just run the update scripts if updating is enabled: + +`resolvconf -u` + +- Set the flag indicating whether `resolvconf` should run update scripts when invoked with `-a`, `-d` or `-u`: + +`resolvconf --enable-updates` + +- Clear the flag indicating whether to run updates: + +`resolvconf --disable-updates` + +- Check whether updates are enabled: + +`resolvconf --updates-are-enabled` diff --git a/pages/common/restic.md b/pages/common/restic.md index a4e24bb9f4c578..85e14030a677f1 100644 --- a/pages/common/restic.md +++ b/pages/common/restic.md @@ -1,27 +1,27 @@ # restic -> A backup program that aims to be fast, secure and efficient. +> A fast, secure and secure backup program. > More information: . - Initialize a backup repository in the specified local directory: -`restic init -r {{path/to/repository}}` +`restic init --repo {{path/to/repository}}` - Backup a directory to the repository: -`restic -r {{path/to/repository}} backup {{path/to/directory}}` +`restic --repo {{path/to/repository}} backup {{path/to/directory}}` - Show backup snapshots currently stored in the repository: -`restic -r {{path/to/repository}} snapshots` +`restic --repo {{path/to/repository}} snapshots` - Restore a specific backup snapshot to a target directory: -`restic -r {{path/to/repository}} restore {{snapshot_id}} {{path/to/target}}` +`restic --repo {{path/to/repository}} restore {{latest|snapshot_id}} --target {{path/to/target}}` - Restore a specific path from a specific backup to a target directory: -`restic -r {{path/to/repository}} --include {{path/to/restore}} --target {{path/to/target}} restore {{snapshot_id}}` +`restic --repo {{path/to/repository}} restore {{snapshot_id}} --target {{path/to/target}} --include {{path/to/restore}}` - Clean up the repository and keep only the most recent snapshot of each unique backup: diff --git a/pages/common/resticprofile-schedule.md b/pages/common/resticprofile-schedule.md new file mode 100644 index 00000000000000..c745e609e1822e --- /dev/null +++ b/pages/common/resticprofile-schedule.md @@ -0,0 +1,29 @@ +# resticprofile schedule + +> Schedule backups and run them in the background. +> See also: `restic`, `resticprofile`, `resticprofile-unschedule`. +> More information: . + +- Schedule default profile: + +`resticprofile schedule` + +- Schedule a profile (default profile is "default"): + +`resticprofile --name "{{group_name}}" schedule` + +- Schedule all profiles: + +`resticprofile schedule --all` + +- Don't start the job after installing: + +`resticprofile schedule --no-start` + +- Display status of scheduled jobs for a profile: + +`resticprofile status {{[-n|--name]}} {{profile_name}}` + +- Run a scheduled job manually (used by system scheduler): + +`resticprofile run-schedule "backup@{{profile_name}}"` diff --git a/pages/common/resticprofile-unschedule.md b/pages/common/resticprofile-unschedule.md new file mode 100644 index 00000000000000..d9c03c54a2338d --- /dev/null +++ b/pages/common/resticprofile-unschedule.md @@ -0,0 +1,13 @@ +# resticprofile unschedule + +> The command removes jobs for schedules declared in the selected profile or group (or of all profiles and groups). +> See also: `restic`, `resticprofile`, `resticprofile-schedule`. +> More information: . + +- Unschedule a backup for a specific profile: + +`resticprofile unschedule {{[-n|--name]}} "{{profile_name}}"` + +- Unschedule all backups: + +`resticprofile unschedule --all` diff --git a/pages/common/resticprofile.md b/pages/common/resticprofile.md new file mode 100644 index 00000000000000..c8c915c0f473de --- /dev/null +++ b/pages/common/resticprofile.md @@ -0,0 +1,33 @@ +# resticprofile + +> Configuration profiles manager for restic backup. +> See also: `restic`, `resticprofile-schedule`, `resticprofile-unschedule`. +> More information: . + +- List all saved snapshots: + +`resticprofile` + +- Run a backup on the default profile: + +`resticprofile backup` + +- Run a backup with a specific profile (default profile is "default"): + +`resticprofile {{[-n|--name]}} "{{profile_name}}" backup` + +- Run in dry-run mode and show the underlying restic commands: + +`resticprofile --dry-run backup` + +- Display the names of all profiles from the configuration file: + +`resticprofile profiles` + +- Generate shell completions: + +`resticprofile generate {{--bash-completion|--zsh-completion}}` + +- Show all details of a profile: + +`resticprofile show {{[-n|--name]}} "{{profile_name}}"` diff --git a/pages/common/resume.md b/pages/common/resume.md new file mode 100644 index 00000000000000..0919a6ef660e42 --- /dev/null +++ b/pages/common/resume.md @@ -0,0 +1,20 @@ +# resume + +> Easily setup a new resume. +> More information: . + +- Create a new `resume.json` file in the current working directory: + +`resume init` + +- Validate a `resume.json` against schema tests to ensure it complies with the standard: + +`resume validate` + +- Export a resume locally in a stylized HTML or PDF format: + +`resume export {{path/to/html_or_pdf}}` + +- Start a web server that serves a local `resume.json`: + +`resume serve` diff --git a/pages/common/retry.md b/pages/common/retry.md new file mode 100644 index 00000000000000..c5538f44a85d89 --- /dev/null +++ b/pages/common/retry.md @@ -0,0 +1,16 @@ +# retry + +> Repeat command until it succeeds or a criterion is met. +> More information: . + +- Retry a command until it succeeds: + +`retry {{command}}` + +- Retry a command every n seconds until it succeeds: + +`retry --delay={{n}} {{command}}` + +- Give up after n attempts: + +`retry --times={{n}} {{command}}` diff --git a/pages/common/return.md b/pages/common/return.md new file mode 100644 index 00000000000000..3352f7e9c1f1d9 --- /dev/null +++ b/pages/common/return.md @@ -0,0 +1,12 @@ +# return + +> Exit a function or a script if run with `source`. +> More information: . + +- Exit a function prematurely: + +`{{func_name}}() { {{echo "This is reached"}}; return; {{echo "This is not"}}; }` + +- Specify the function's return value: + +`{{func_name}}() { return {{exit_code}}; }` diff --git a/pages/common/reuse.md b/pages/common/reuse.md new file mode 100644 index 00000000000000..88b05f889c8c60 --- /dev/null +++ b/pages/common/reuse.md @@ -0,0 +1,28 @@ +# reuse + +> Tool for compliance with the REUSE recommendations. +> More information: . + +- Lint for REUSE compliance for the current project (version control aware): + +`reuse lint` + +- Lint for REUSE compliance from the specified directory: + +`reuse --root {{path/to/directory}} lint` + +- Add copyright statement to file: + +`reuse annotate {{[-c|--copyright]}} "{{your_name}} <{{your_email}}>" --fallback-dot-license {{path/to/file}}` + +- Add license information to file: + +`reuse annotate {{[-l|--license]}} {{spdx_identifier}} --fallback-dot-license {{path/to/file}}` + +- Download a license by its SPDX identifier and place it in the LICENSES directory: + +`reuse download {{spdx-identifier}}` + +- Download all missing licenses detected in the project: + +`reuse download --all` diff --git a/pages/common/rev.md b/pages/common/rev.md deleted file mode 100644 index 0385bce58718e2..00000000000000 --- a/pages/common/rev.md +++ /dev/null @@ -1,11 +0,0 @@ -# rev - -> Reverse a line of text. - -- Reverse the text string "hello": - -`echo "hello" | rev` - -- Reverse an entire file and print to `stdout`: - -`rev {{file}}` diff --git a/pages/common/rfetch.md b/pages/common/rfetch.md new file mode 100644 index 00000000000000..63af15f9dd0060 --- /dev/null +++ b/pages/common/rfetch.md @@ -0,0 +1,32 @@ +# rfetch + +> A configurable fetch program to output system information. +> More information: . + +- Display system information: + +`rfetch` + +- Display system [a]rchitecture: + +`rfetch -a` + +- Display system up[t]ime: + +`rfetch -t` + +- Display system [k]ernel: + +`rfetch -k` + +- Display system [c]PU: + +`rfetch -c` + +- Display Linux [D]istro: + +`rfetch -D` + +- View [d]esktop environment: + +`rfetch -d` diff --git a/pages/common/rg.md b/pages/common/rg.md index 6ec1635d166832..99ae5ccce104d1 100644 --- a/pages/common/rg.md +++ b/pages/common/rg.md @@ -1,37 +1,37 @@ # rg -> Ripgrep is a recursive line-oriented CLI search tool. +> Ripgrep, a recursive line-oriented search tool. > Aims to be a faster alternative to `grep`. -> More information: . +> More information: . -- Recursively search the current directory for a regex pattern: +- Recursively search current directory for a pattern (`regex`): `rg {{pattern}}` -- Search for pattern including all .gitignored and hidden files: +- Recursively search for a pattern in a file or directory: -`rg --no-ignore --hidden {{pattern}}` +`rg {{pattern}} {{path/to/file_or_directory}}` -- Search for a pattern only in a certain filetype (e.g., html, css, etc.): +- Include hidden files and entries listed in `.gitignore`: -`rg --type {{filetype}} {{pattern}}` +`rg {{[-.|--hidden]}} --no-ignore {{pattern}}` -- Search for a pattern only in a subset of directories: +- Only search the files whose names match the glob pattern(s) (e.g. `README.*`): -`rg {{pattern}} {{set_of_subdirs}}` +`rg {{pattern}} {{[-g|--glob]}} {{filename_glob_pattern}}` -- Search for a pattern in files matching a glob (e.g., `README.*`): +- Recursively list filenames in the current directory that match a pattern: -`rg {{pattern}} --glob {{glob}}` +`rg --files | rg {{pattern}}` - Only list matched files (useful when piping to other commands): -`rg --files-with-matches {{pattern}}` +`rg {{[-l|--files-with-matches]}} {{pattern}}` -- Show lines that do not match the given pattern: +- Show lines that do not match the pattern: -`rg --invert-match {{pattern}}` +`rg {{[-v|--invert-match]}} {{pattern}}` -- Search a literal string pattern: +- Search for a literal string pattern: -`rg --fixed-strings {{string}}` +`rg {{[-F|--fixed-strings]}} -- {{string}}` diff --git a/pages/common/rga.md b/pages/common/rga.md new file mode 100644 index 00000000000000..e1ace376f2719f --- /dev/null +++ b/pages/common/rga.md @@ -0,0 +1,24 @@ +# rga + +> Ripgrep wrapper with rich file type searching capabilities. +> More information: . + +- Search recursively for a pattern in all files in the current directory: + +`rga {{regex}}` + +- List available adapters: + +`rga --rga-list-adapters` + +- Change which adapters to use (e.g. ffmpeg, pandoc, poppler etc.): + +`rga --rga-adapters={{adapter1,adapter2}} {{regex}}` + +- Search for a pattern using the mime type instead of the file extension (slower): + +`rga --rga-accurate {{regex}}` + +- Display help: + +`rga --help` diff --git a/pages/common/rgb3toppm.md b/pages/common/rgb3toppm.md new file mode 100644 index 00000000000000..bec6840215f68e --- /dev/null +++ b/pages/common/rgb3toppm.md @@ -0,0 +1,9 @@ +# rgb3toppm + +> Combine three PGM images into one PPM image. +> See also: `ppmtorgb3`. +> More information: . + +- Combine three PGM images (representing red, green and blue color components) into one PPM image: + +`rgb3toppm {{path/to/red_file.ppm}} {{path/to/green_file.ppm}} {{path/to/blue_file.ppm}} > {{path/to/output.ppm}}` diff --git a/pages/common/rgpt.md b/pages/common/rgpt.md new file mode 100644 index 00000000000000..9bcb0eb8ac4769 --- /dev/null +++ b/pages/common/rgpt.md @@ -0,0 +1,28 @@ +# rgpt + +> An automated code review tool that uses GPT you can use straight from your terminal. +> More information: . + +- Ask GPT to improve the code with no extra options: + +`rgpt --i "$(git diff {{path/to/file}})"` + +- Get a more detailed verbose output from `rgpt` while reviewing the code: + +`rgpt --v --i "$(git diff {{path/to/file}})"` + +- Ask GPT to improve the code and limit it to a certain amount of GPT3 tokens: + +`rgpt --max {{300}} --i "$(git diff {{path/to/file}})"` + +- Ask GPT for a more unique result using a float value between 0 and 2. (higher = more unique): + +`rgpt --pres {{1.2}} --i "$(git diff {{path/to/file}})"` + +- Ask GPT to review your code using a specific model: + +`rgpt --model {{davinci}} --i "$(git diff {{path/to/file}})"` + +- Make `rgpt` use a JSON output: + +`rgpt --json --i "$(git diff {{path/to/file}})"` diff --git a/pages/common/rgrep.md b/pages/common/rgrep.md new file mode 100644 index 00000000000000..2e6560e31be408 --- /dev/null +++ b/pages/common/rgrep.md @@ -0,0 +1,25 @@ +# rgrep + +> Recursively find patterns in files using `regex`. +> Equivalent to `grep -r`. +> More information: . + +- Recursively search for a pattern in the current working directory: + +`rgrep "{{search_pattern}}"` + +- Recursively search for a case-insensitive pattern in the current working directory: + +`rgrep {{[-i|--ignore-case]}} "{{search_pattern}}"` + +- Recursively search for an extended `regex` pattern (supports `?`, `+`, `{}`, `()` and `|`) in the current working directory: + +`rgrep {{[-E|--extended-regexp]}} "{{search_pattern}}"` + +- Recursively search for an exact string (disables `regex`) in the current working directory: + +`rgrep {{[-F|--fixed-strings]}} "{{exact_string}}"` + +- Recursively search for a pattern in a specified directory (or file): + +`rgrep "{{search_pattern}}" {{path/to/file_or_directory}}` diff --git a/pages/common/rhash.md b/pages/common/rhash.md new file mode 100644 index 00000000000000..e38d60ba8b3357 --- /dev/null +++ b/pages/common/rhash.md @@ -0,0 +1,28 @@ +# rhash + +> Calculate or check common message digests. +> More information: . + +- Calculate default CRC32 digests of a file: + +`rhash {{path/to/file}}` + +- Recursively process a directory to generate an SFV file using SHA1: + +`rhash --sha1 --recursive {{path/to/folder}} > {{path/to/output.sfv}}` + +- Verify the integrity of files based on an SFV file: + +`rhash --check {{path/to/file.sfv}}` + +- Calculate the SHA3 digest of a text message: + +`rhash --sha3-256 --message '{{message}}'` + +- Calculate CRC32 digest of a file and output digest encoded in base64 using BSD format: + +`rhash --base64 --bsd {{path/to/file}}` + +- Use custom output template: + +`rhash --printf '{{%p\t%s\t%{mtime}\t%m\n}}' {{path/to/file}}` diff --git a/pages/common/rich.md b/pages/common/rich.md new file mode 100644 index 00000000000000..ba24360ab5019d --- /dev/null +++ b/pages/common/rich.md @@ -0,0 +1,32 @@ +# rich + +> A toolbox for fancy output in the terminal. +> More information: . + +- Display a file with syntax highlighting: + +`rich {{path/to/file.py}}` + +- Add line numbers, and indentation guides: + +`rich {{path/to/file.py}} --line-numbers --guides` + +- Apply a theme: + +`rich {{path/to/file.py}} --theme {{monokai}}` + +- Display a file in an interactive pager: + +`rich {{path/to/file.py}} --pager` + +- Display contents from a URL: + +`rich {{https://raw.githubusercontent.com/Textualize/rich-cli/main/README.md}} --markdown --pager` + +- Export a file as HTML: + +`rich {{path/to/file.md}} --export-html {{path/to/file.html}}` + +- Display text with formatting tags, custom alignment, and line width: + +`rich --print "{{Hello [green on black]Stylized[/green on black] [bold]World[/bold]}}" --{{left|center|right}} --width {{10}}` diff --git a/pages/common/rip.md b/pages/common/rip.md new file mode 100644 index 00000000000000..b388a011859ad0 --- /dev/null +++ b/pages/common/rip.md @@ -0,0 +1,28 @@ +# rip + +> Remove files or directories by sending them to the graveyard, allowing for them to be recovered. +> More information: . + +- Remove files or directories from specified locations and place them in the graveyard: + +`rip {{path/to/file_or_directory}} {{path/to/another/file_or_directory}}` + +- Interactively remove files or directories, with a prompt before every removal: + +`rip --inspect {{path/to/file_or_directory}} {{path/to/another/file_or_directory}}` + +- List all files and directories in the graveyard that were originally within the current directory: + +`rip --seance` + +- Permanently delete every file and directory in the graveyard: + +`rip --decompose` + +- Put back the files and directories which were affected by the most recent removal: + +`rip --unbury` + +- Put back every file and directory that is listed by `rip --seance`: + +`rip --seance --unbury` diff --git a/pages/common/ripgrep.md b/pages/common/ripgrep.md new file mode 100644 index 00000000000000..3e2109dd2994bd --- /dev/null +++ b/pages/common/ripgrep.md @@ -0,0 +1,7 @@ +# ripgrep + +> `ripgrep` is the common name for the command `rg`. + +- View documentation for the original command: + +`tldr rg` diff --git a/pages/common/rkdeveloptool.md b/pages/common/rkdeveloptool.md new file mode 100644 index 00000000000000..db6d13ac5a27e1 --- /dev/null +++ b/pages/common/rkdeveloptool.md @@ -0,0 +1,30 @@ +# rkdeveloptool + +> Flash, dump, and manage boot firmware for Rockchip-based computer devices. +> You will need to turn on the device into Maskrom/Bootrom mode before connecting it through USB. +> Some subcommands may require to run as root. +> More information: . + +- [l]ist all connected Rockchip-based flash [d]evices: + +`rkdeveloptool ld` + +- Initialize the device by forcing it to [d]ownload and install the [b]ootloader from the specified file: + +`rkdeveloptool db {{path/to/bootloader.bin}}` + +- [u]pdate the boot[l]oader software with a new one: + +`rkdeveloptool ul {{path/to/bootloader.bin}}` + +- Write an image to a GPT-formatted flash partition, specifying the initial storage sector (usually `0x0` alias `0`): + +`rkdeveloptool wl {{initial_sector}} {{path/to/image.img}}` + +- Write to the flash partition by its user-friendly name: + +`rkdeveloptool wlx {{partition_name}} {{path/to/image.img}}` + +- [r]eset/reboot the [d]evice, exit from the Maskrom/Bootrom mode to boot into the selected flash partition: + +`rkdeveloptool rd` diff --git a/pages/common/rlatopam.md b/pages/common/rlatopam.md new file mode 100644 index 00000000000000..3a1c9a4f1f5341 --- /dev/null +++ b/pages/common/rlatopam.md @@ -0,0 +1,8 @@ +# rlatopam + +> Convert Alias/Wavefront RLA and RPF image files to Netpbm format. +> More information: . + +- Convert the specified SPOT image to PGM format: + +`rlatopam {{path/to/file}} > {{path/to/output.pam}}` diff --git a/pages/common/rletopnm.md b/pages/common/rletopnm.md new file mode 100644 index 00000000000000..24125f432da82e --- /dev/null +++ b/pages/common/rletopnm.md @@ -0,0 +1,16 @@ +# rletopnm + +> Convert a Utah Raster Tools RLE image file to a PNM file. +> More information: . + +- Convert an RLE image to a PNM file: + +`rletopnm {{path/to/input.rle}} > {{path/to/output.pnm}}` + +- Create a PGM image containing the RLE file's alpha channel: + +`rletopnm {{[--a|--alphaout]}} {{path/to/alpha_file.pgm}} {{path/to/input.rle}} > {{path/to/output.pnm}}` + +- Operate in verbose mode and print the contents of the RLE header to `stdout`: + +`rletopnm {{[--verb|--verbose]}} {{path/to/input.rle}} > {{path/to/output.pnm}}` diff --git a/pages/common/rlwrap.md b/pages/common/rlwrap.md new file mode 100644 index 00000000000000..f07f46f6ba535d --- /dev/null +++ b/pages/common/rlwrap.md @@ -0,0 +1,24 @@ +# rlwrap + +> Add line editing, persistent history and prompt completion to a REPL command. +> More information: . + +- Run a REPL command with line editing, persistent history and prompt completion: + +`rlwrap {{command}}` + +- Use all words seen on input and output for prompt completion: + +`rlwrap {{[-r|--remember]}} {{command}}` + +- Better prompt completion if prompts contain ANSI colour codes: + +`rlwrap {{[-A|--ansi-colour-aware]}} {{command}}` + +- Enable filename completion (case sensitive): + +`rlwrap {{[-c|--complete-filenames]}} {{command}}` + +- Add coloured prompts, use colour name, or an ASCI-conformant colour specification. Use an uppercase colour name for bold styling: + +`rlwrap {{[-p|--prompt-colour=]}}{{black|red|green|yellow|blue|cyan|purple|white|colour_spec}} {{command}}` diff --git a/pages/common/rm.md b/pages/common/rm.md index bfd2b6a07f4860..814be25cd7ae76 100644 --- a/pages/common/rm.md +++ b/pages/common/rm.md @@ -1,23 +1,29 @@ # rm > Remove files or directories. +> See also: `rmdir`. +> More information: . -- Remove files from arbitrary locations: +- Remove specific files: -`rm {{path/to/file}} {{path/to/another/file}}` +`rm {{path/to/file1 path/to/file2 ...}}` -- Recursively remove a directory and all its subdirectories: +- Remove specific files ignoring nonexistent ones: -`rm -r {{path/to/directory}}` +`rm {{[-f|--force]}} {{path/to/file1 path/to/file2 ...}}` -- Forcibly remove a directory, without prompting for confirmation or showing error messages: +- Remove specific files interactively prompting before each removal: -`rm -rf {{path/to/directory}}` +`rm {{[-i|--interactive]}} {{path/to/file1 path/to/file2 ...}}` -- Interactively remove multiple files, with a prompt before every removal: +- Remove specific files printing info about each removal: -`rm -i {{file(s)}}` +`rm {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}` -- Remove files in verbose mode, printing a message for each removed file: +- Remove specific files and directories recursively: -`rm -v {{path/to/directory/*}}` +`rm {{[-r|--recursive]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Remove empty directories (this is considered the safe method): + +`rm {{[-d|--dir]}} {{path/to/directory}}` diff --git a/pages/common/rmdir.md b/pages/common/rmdir.md index a9c6ddc3a7715c..f790cf240f7bf2 100644 --- a/pages/common/rmdir.md +++ b/pages/common/rmdir.md @@ -1,11 +1,17 @@ # rmdir -> Removes a directory. +> Remove directories without files. +> See also: `rm`. +> More information: . -- Remove directory, provided it is empty. Use `rm -r` to remove non-empty directories: +- Remove specific directories: -`rmdir {{path/to/directory}}` +`rmdir {{path/to/directory1 path/to/directory2 ...}}` -- Remove the target and its parent directories (useful for nested dirs): +- Remove specific nested directories recursively: -`rmdir -p {{path/to/directory}}` +`rmdir {{[-p|--parents]}} {{path/to/directory1 path/to/directory2 ...}}` + +- Clean a directory of empty directories: + +`rmdir *` diff --git a/pages/common/rmlint.md b/pages/common/rmlint.md new file mode 100644 index 00000000000000..e4a4aa3c63e903 --- /dev/null +++ b/pages/common/rmlint.md @@ -0,0 +1,36 @@ +# rmlint + +> Find space waste and other broken things on your filesystem. +> More information: . + +- Check directories for duplicated, empty and broken files: + +`rmlint {{path/to/directory1 path/to/directory2 ...}}` + +- Check for duplicates bigger than a specific size, preferably keeping files in tagged directories (after the double slash): + +`rmlint {{[-s|--size]}} {{1MB}} {{path/to/directory}} // {{path/to/original_directory}}` + +- Check for space wasters, keeping everything in the untagged directories: + +`rmlint {{[-k|--keep-all-untagged]}} {{path/to/directory}} // {{path/to/original_directory}}` + +- Delete duplicate files found by an execution of `rmlint`: + +`./rmlint.sh` + +- Find duplicate directory trees based on data, ignoring names: + +`rmlint {{[-D|--merge-directories]}} {{path/to/directory}}` + +- Mark files at lower path [d]epth as originals, on tie choose shorter [l]ength: + +`rmlint {{[-S|--rank-by]}} {{dl}} {{path/to/directory}}` + +- Find files with identical filename and contents, and link rather than delete the duplicates: + +`rmlint {{[-c|--config]}} sh:link {{[-b|--match-basename]}} {{path/to/directory}}` + +- Use `data` as master directory. Find only duplicates in backup that are also in `data`. Do not delete any files in `data`: + +`rmlint {{path/to/backup}} // {{path/to/data}} {{[-k|--keep-all-tagged]}} {{[-m|--must-match-tagged]}}` diff --git a/pages/common/rnano.md b/pages/common/rnano.md new file mode 100644 index 00000000000000..06f61efd5d75b6 --- /dev/null +++ b/pages/common/rnano.md @@ -0,0 +1,8 @@ +# rnano + +> This command is an alias of `nano --restricted`. +> More information: . + +- View documentation for the original command: + +`tldr nano` diff --git a/pages/common/roave-backward-compatibility-check.md b/pages/common/roave-backward-compatibility-check.md index 5e9f344e61537e..cee0a8aea16c10 100644 --- a/pages/common/roave-backward-compatibility-check.md +++ b/pages/common/roave-backward-compatibility-check.md @@ -1,6 +1,6 @@ # roave-backward-compatibility-check -> A tool that can be used to verify backward compatibility breaks between two versions of a PHP library. +> Verify backward compatibility breaks between two versions of a PHP library. > More information: . - Check for breaking changes since the last tag: diff --git a/pages/common/robo.md b/pages/common/robo.md index cbe5a693999d1a..dc12ed76c4ebb2 100644 --- a/pages/common/robo.md +++ b/pages/common/robo.md @@ -1,7 +1,7 @@ # robo > PHP task runner. -> More information: . +> More information: . - List available commands: diff --git a/pages/common/roll.md b/pages/common/roll.md index 74cbb007f919de..831d3527ee1f6f 100644 --- a/pages/common/roll.md +++ b/pages/common/roll.md @@ -1,6 +1,7 @@ # roll > Rolls a user-defined dice sequence. +> More information: . - Roll 3 6-sided dice and sums the results: diff --git a/pages/common/ropgadget.md b/pages/common/ropgadget.md new file mode 100644 index 00000000000000..7b634039ba4fbe --- /dev/null +++ b/pages/common/ropgadget.md @@ -0,0 +1,24 @@ +# ROPgadget + +> Find ROP gadgets in binary files. +> More information: . + +- List gadgets in the binary file: + +`ROPgadget --binary {{path/to/binary}}` + +- Filter gadgets in the binary file by a `regex`: + +`ROPgadget --binary {{path/to/binary}} --re {{regex}}` + +- List gadgets in the binary file, excluding specified type: + +`ROPgadget --binary {{path/to/binary}} --{{norop|nojob|nosys}}` + +- Exclude bad byte gadgets in the binary file: + +`ROPgadget --binary {{path/to/binary}} --badbytes {{byte_string}}` + +- List gadgets up to the specified number of bytes in the binary file: + +`ROPgadget --binary {{path/to/binary}} --depth {{nbyte}}` diff --git a/pages/common/ropper.md b/pages/common/ropper.md new file mode 100644 index 00000000000000..d1cb560e3f22d8 --- /dev/null +++ b/pages/common/ropper.md @@ -0,0 +1,24 @@ +# ropper + +> Find ROP gadgets in binary files. +> More information: . + +- List gadgets in the binary file: + +`ropper --file {{path/to/binary}}` + +- Filter gadgets in the binary file by a `regex`: + +`ropper --file {{path/to/binary}} --search {{regex}}` + +- List gadgets of specified type in the binary file: + +`ropper --file {{path/to/binary}} --type {{rop|job|sys|all}}` + +- Exclude bad byte gadgets in the binary file: + +`ropper --file {{path/to/binary}} --badbytes {{byte_string}}` + +- List gadgets up to the specified instruction count in the binary file: + +`ropper --file {{path/to/binary}} --inst-count {{count}}` diff --git a/pages/common/route.md b/pages/common/route.md index 4b06b1a8756350..ae548ed021b3b1 100644 --- a/pages/common/route.md +++ b/pages/common/route.md @@ -1,6 +1,7 @@ # route -> Use route cmd to set the route table. +> Show and manipulate the route table. +> More information: . - Display the information of route table: diff --git a/pages/common/rpcdump.py.md b/pages/common/rpcdump.py.md new file mode 100644 index 00000000000000..0fcb1c809e09ec --- /dev/null +++ b/pages/common/rpcdump.py.md @@ -0,0 +1,25 @@ +# rpcdump.py + +> Dump remote RPC endpoints information via the Endpoint Mapper. +> Part of the Impacket suite. +> More information: . + +- Dump RPC endpoints using username and password: + +`rpcdump.py {{domain}}/{{username}}:{{password}}@{{target}}` + +- Dump RPC endpoints using NTLM hashes: + +`rpcdump.py -hashes {{LMHASH}}:{{NTHASH}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Specify a target IP address explicitly (useful if the target name is a NetBIOS name): + +`rpcdump.py -target-ip {{target_ip}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Connect to a specific port (default is 135 for RPC Endpoint Mapper): + +`rpcdump.py -port {{port_number}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Enable debug output: + +`rpcdump.py -debug {{domain}}/{{username}}:{{password}}@{{target}}` diff --git a/pages/common/rpcmap.py.md b/pages/common/rpcmap.py.md new file mode 100644 index 00000000000000..b16a05c874f36c --- /dev/null +++ b/pages/common/rpcmap.py.md @@ -0,0 +1,37 @@ +# rpcmap.py + +> Lookup listening MSRPC interfaces using a string binding (e.g., `ncacn_ip_tcp:host[port]`). +> Part of the Impacket suite. +> More information: . + +- Connect to an MSRPC interface using a string binding (e.g., `ncacn_ip_tcp:host[port]`): + +`rpcmap.py {{stringbinding}}` + +- Bruteforce UUIDs even if the MGMT interface is available: + +`rpcmap.py -brute-uuids {{stringbinding}}` + +- Bruteforce operation numbers (opnums) for discovered UUIDs: + +`rpcmap.py -brute-opnums {{stringbinding}}` + +- Bruteforce major versions of found UUIDs: + +`rpcmap.py -brute-versions {{stringbinding}}` + +- Specify a target IP address manually: + +`rpcmap.py -target-ip {{ip_address}} {{stringbinding}}` + +- Authenticate to the RPC interface with username and password: + +`rpcmap.py -auth-rpc {{domain}}/{{username}}:{{password}} {{stringbinding}}` + +- Authenticate using NTLM hashes for RPC: + +`rpcmap.py -hashes-rpc {{LMHASH:NTHASH}} {{stringbinding}}` + +- Enable debug output for verbose information: + +`rpcmap.py -debug {{stringbinding}}` diff --git a/pages/common/rpi-imager.md b/pages/common/rpi-imager.md new file mode 100644 index 00000000000000..ec6e433540efd4 --- /dev/null +++ b/pages/common/rpi-imager.md @@ -0,0 +1,16 @@ +# rpi-imager + +> Flash images onto storage devices. +> More information: . + +- Write a specific image to a specific block device: + +`rpi-imager --cli {{path/to/image.zip}} {{/dev/sdX}}` + +- Write a specific image to a block device, disabling the checksum verification: + +`rpi-imager --cli --disable-verify {{path/to/image.zip}} {{/dev/sdX}}` + +- Write a specific image to a block device, which will expect a specific checksum when running the verification: + +`rpi-imager --cli --sha256 {{expected_hash}} {{path/to/image.zip}} {{/dev/sdX}}` diff --git a/pages/common/rr.md b/pages/common/rr.md index 766bff57259410..4756cb90a59091 100644 --- a/pages/common/rr.md +++ b/pages/common/rr.md @@ -1,7 +1,7 @@ # rr > Debugging tool designed to record and replay program execution. -> More information: . +> More information: . - Record an application: diff --git a/pages/common/rsactftool.py.md b/pages/common/rsactftool.py.md new file mode 100644 index 00000000000000..15013332387100 --- /dev/null +++ b/pages/common/rsactftool.py.md @@ -0,0 +1,32 @@ +# RsaCtfTool.py + +> RSA attack tool for CTF challenges - recover private keys from weak public keys and/or decrypt data. +> More information: . + +- Recover a private key from a public key file: + +`RsaCtfTool.py --publickey {{path/to/key.pub}} --private` + +- Decrypt a file using a public key: + +`RsaCtfTool.py --publickey {{path/to/key.pub}} --decryptfile {{path/to/ciphered_file}}` + +- Decrypt a specific ciphertext string: + +`RsaCtfTool.py --publickey {{path/to/key.pub}} --decrypt "{{ciphertext}}"` + +- Dump RSA key components (e.g., modulus, exponent) from a key file: + +`RsaCtfTool.py --dumpkey --key {{path/to/key.pub}}` + +- Run a specific attack (e.g., Fermat factorization) to recover the private key: + +`RsaCtfTool.py --publickey {{path/to/key.pub}} --private --attack fermat` + +- Generate a public key from modulus (n) and exponent (e): + +`RsaCtfTool.py --createpub -n {{modulus}} -e {{exponent}}` + +- Attempt all available attacks to recover the private key: + +`RsaCtfTool.py --publickey {{path/to/key.pub}} --private --attack all` diff --git a/pages/common/rscript.md b/pages/common/rscript.md new file mode 100644 index 00000000000000..5e6fc8a3c94af0 --- /dev/null +++ b/pages/common/rscript.md @@ -0,0 +1,20 @@ +# Rscript + +> Run a script with the R programming language. +> More information: . + +- Run a script: + +`Rscript {{path/to/file.R}}` + +- Run a script in vanilla mode (i.e. a blank session that doesn't save the workspace at the end): + +`Rscript --vanilla {{path/to/file.R}}` + +- Execute one or more R expressions: + +`Rscript -e {{expression1}} -e {{expression2}}` + +- Display R version: + +`Rscript --version` diff --git a/pages/common/rspec.md b/pages/common/rspec.md index 66c40855f549e4..55c2e4ef3ac8d9 100644 --- a/pages/common/rspec.md +++ b/pages/common/rspec.md @@ -3,7 +3,7 @@ > Behavior-driven development testing framework written in Ruby to test Ruby code. > More information: . -- Initialise an .rspec config and a spec helper file: +- Initialize an .rspec configuration and a spec helper file: `rspec --init` @@ -15,13 +15,9 @@ `rspec {{path/to/directory}}` -- Run a specific test file: +- Run one or more test files: -`rspec {{path/to/file}}` - -- Run multiple test files: - -`rspec {{path/to/file1}} {{path/to/file2}}` +`rspec {{path/to/file1 path/to/file2 ...}}` - Run a specific test in a file (e.g. the test starts on line 83): diff --git a/pages/common/rsql.md b/pages/common/rsql.md new file mode 100644 index 00000000000000..33df2c9f3eb9d2 --- /dev/null +++ b/pages/common/rsql.md @@ -0,0 +1,32 @@ +# rsql + +> SQL client to interface with databases and other data sources inside the terminal. +> More information: . + +- Enter interactive mode: + +`rsql` + +- Connect to a database (e.g. PostgreSQL): + +`rsql --url {{"postgresql://user:pass@localhost/mydb"}}` + +- Connect to a PostgreSQL database with SSL: + +`rsql --url {{"postgresql://user:pass@localhost/db?sslmode=require"}}` + +- Connect to a MySQL database with a specified charset: + +`rsql --url {{"mysql://user:pass@localhost/db?charset=utf8mb4"}}` + +- Run a query and exit: + +`rsql --url {{"sqlite://database.db"}} -- "SELECT * FROM users LIMIT 10"` + +- Set default format: + +`rsql --url {{"sqlite://db.sqlite"}} --format json` + +- Connect to file and use custom line separator: + +`rsql --url {{"delimited://data.txt?separator=|&has_header=true"}}` diff --git a/pages/common/rsstail.md b/pages/common/rsstail.md index f31f3d017477fb..3d3d4c92131723 100644 --- a/pages/common/rsstail.md +++ b/pages/common/rsstail.md @@ -1,9 +1,9 @@ # rsstail > `tail` for RSS feeds. -> More information: . +> More information: . -- Show the feed of a given url and wait for new entries appearing at the bottom: +- Show the feed of a given URL and wait for new entries appearing at the bottom: `rsstail -u {{url}}` diff --git a/pages/common/rsync.md b/pages/common/rsync.md index 699c96efc25b3c..138520ede428f8 100644 --- a/pages/common/rsync.md +++ b/pages/common/rsync.md @@ -1,36 +1,37 @@ # rsync -> Transfer files either to or from a remote host (not between two remote hosts). -> Can transfer single files, or multiple files matching a pattern. +> Transfer files either to or from a remote host (but not between two remote hosts), by default using SSH. +> To specify a remote path, use `user@host:path/to/file_or_directory`. +> More information: . -- Transfer file from local to remote host: +- Transfer a file: -`rsync {{path/to/local_file}} {{remote_host}}:{{path/to/remote_directory}}` +`rsync {{path/to/source}} {{path/to/destination}}` -- Transfer file from remote host to local: +- Use archive mode (recursively copy directories, copy symlinks without resolving, and preserve permissions, ownership and modification times): -`rsync {{remote_host}}:{{path/to/remote_file}} {{path/to/local_directory}}` +`rsync {{[-a|--archive]}} {{path/to/source}} {{path/to/destination}}` -- Transfer file in [a]rchive (to preserve attributes) and compressed ([z]ipped) mode with [v]erbose and [h]uman-readable [P]rogress: +- Compress the data as it is sent to the destination, display verbose and human-readable progress, and keep partially transferred files if interrupted: -`rsync -azvhP {{path/to/local_file}} {{remote_host}}:{{path/to/remote_directory}}` +`rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{path/to/source}} {{path/to/destination}}` -- Transfer a directory and all its children from a remote to local: +- Recursively copy directories: -`rsync -r {{remote_host}}:{{path/to/remote_directory}} {{path/to/local_directory}}` +`rsync {{[-r|--recursive]}} {{path/to/source}} {{path/to/destination}}` -- Transfer directory contents (but not the directory itself) from a remote to local: +- Transfer directory contents, but not the directory itself: -`rsync -r {{remote_host}}:{{path/to/remote_directory}}/ {{path/to/local_directory}}` +`rsync {{[-r|--recursive]}} {{path/to/source}}/ {{path/to/destination}}` -- Transfer a directory [r]ecursively, in [a]rchive to preserve attributes, resolving contained soft[l]inks , and ignoring already transferred files [u]nless newer: +- Use archive mode, resolve symlinks, and skip files that are newer on the destination: -`rsync -rauL {{remote_host}}:{{path/to/remote_file}} {{path/to/local_directory}}` +`rsync {{[-auL|--archive --update --copy-links]}} {{path/to/source}} {{path/to/destination}}` -- Transfer file over SSH and delete local files that do not exist on remote host: +- Transfer a directory from a remote host running `rsyncd` and delete files on the destination that do not exist on the source: -`rsync -e ssh --delete {{remote_host}}:{{path/to/remote_file}} {{path/to/local_file}}` +`rsync {{[-r|--recursive]}} --delete rsync://{{host}}:{{path/to/source}} {{path/to/destination}}` -- Transfer file over SSH using a different port than the default and show global progress: +- Transfer a file over SSH using a different port than the default (22) and show global progress: -`rsync -e 'ssh -p {{port}}' --info=progress2 {{remote_host}}:{{path/to/remote_file}} {{path/to/local_file}}` +`rsync {{[-e|--rsh]}} 'ssh -p {{port}}' --info=progress2 {{host}}:{{path/to/source}} {{path/to/destination}}` diff --git a/pages/common/rtl_sdr.md b/pages/common/rtl_sdr.md new file mode 100644 index 00000000000000..eb22910c46c82e --- /dev/null +++ b/pages/common/rtl_sdr.md @@ -0,0 +1,37 @@ +# rtl_sdr + +> Raw data recorder for RTL-SDR receivers. +> Data is encoded using I/Q sampling (aka quadrature sampling). +> More information: . + +- Save RAW data from a frequency (specified in Hz) to a file: + +`rtl_sdr -f {{100000000}} {{path/to/file}}` + +- Pipe data to another program: + +`rtl_sdr -f {{100000000}} - | {{aplay}}` + +- Read a specified number of samples: + +`rtl_sdr -f {{100000000}} -n {{20}} -` + +- Specify the sample rate in Hz (ranges 225001-300000 and 900001-3200000): + +`rtl_sdr -f {{100000000}} -s {{2400000}} -` + +- Specify the device by its index: + +`rtl_sdr -f {{100000000}} -d {{0}} -` + +- Specify the gain: + +`rtl_sdr -f {{100000000}} -g {{20}} -` + +- Specify the output block size: + +`rtl_sdr -f {{100000000}} -b {{9999999}} -` + +- Use synchronous output: + +`rtl_sdr -f {{100000000}} -S -` diff --git a/pages/common/rtmpdump.md b/pages/common/rtmpdump.md index a58648af40dde0..e94bdfc2f543ad 100644 --- a/pages/common/rtmpdump.md +++ b/pages/common/rtmpdump.md @@ -1,20 +1,20 @@ # rtmpdump -> A tool to dump media content streamed over the RTMP protocol. -> More information: . +> Dump media content streamed over the RTMP protocol. +> More information: . - Download a file: -`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} -o {{file.ext}}` +`rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-o|--flv]}} {{file.ext}}` - Download a file from a Flash player: -`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --swfVfy {{http://example.com/player}} --flashVer "{{LNX 10,0,32,18}}" -o {{file.ext}}` +`rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-W|--swfVfy]}} {{http://example.com/player}} {{[-f|--flashVer]}} "{{LNX 10,0,32,18}}" {{[-o|--flv]}} {{file.ext}}` - Specify connection parameters if they are not detected correctly: -`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --app {{app_name}} --playpath {{path/to/video}} -o {{file.ext}}` +`rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-a|--app]}} {{app_name}} {{[-y|--playpath]}} {{path/to/video}} {{[-o|--flv]}} {{file.ext}}` - Download a file from a server that requires a referrer: -`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --pageUrl {{http://example.com/webpage}} -o {{file.ext}}` +`rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-p|--pageUrl]}} {{http://example.com/webpage}} {{[-o|--flv]}} {{file.ext}}` diff --git a/pages/common/rtv.md b/pages/common/rtv.md index 8214811519a734..2d5f26be99530c 100644 --- a/pages/common/rtv.md +++ b/pages/common/rtv.md @@ -1,7 +1,7 @@ # rtv > Reddit Terminal Viewer. -> Use arrow keys to navigate. Right and Left to view and return from a submission, respectively. +> Use `` to navigate. `` and `` to view and return from a submission, respectively. > More information: . - Open the front page: @@ -14,16 +14,16 @@ - Expand/collapse comments: -`[space]` +`` - Open link: -`o` +`` -- Login: +- Log in: -`u` +`` -- Open the help screen: +- Display help: -`?` +`` diff --git a/pages/common/rubocop.md b/pages/common/rubocop.md new file mode 100644 index 00000000000000..86b8ae822d659d --- /dev/null +++ b/pages/common/rubocop.md @@ -0,0 +1,32 @@ +# rubocop + +> Lint Ruby files. +> More information: . + +- Check all files in the current directory (including subdirectories): + +`rubocop` + +- Check one or more specific files or directories: + +`rubocop {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Write output to file: + +`rubocop --out {{path/to/file}}` + +- View list of cops (linter rules): + +`rubocop --show-cops` + +- Exclude a cop: + +`rubocop --except {{cop1 cop2 ...}}` + +- Run only specified cops: + +`rubocop --only {{cop1 cop2 ...}}` + +- Auto-correct files (experimental): + +`rubocop --auto-correct` diff --git a/pages/common/ruby.md b/pages/common/ruby.md index e53ca5db49f8a2..c86717692d2028 100644 --- a/pages/common/ruby.md +++ b/pages/common/ruby.md @@ -1,24 +1,29 @@ # ruby > Ruby programming language interpreter. -> More information: . - -- Open an Interactive Ruby Shell (REPL): - -`irb` +> See also: `gem`, `bundler`, `rake`, `irb`. +> More information: . - Execute a Ruby script: -`ruby {{script.rb}}` +`ruby {{path/to/script.rb}}` -- Execute a single Ruby command in the command line: +- Execute a single Ruby command in the command-line: -`ruby -e {{command}}` +`ruby -e "{{command}}"` - Check for syntax errors on a given Ruby script: -`ruby -c {{script.rb}}` +`ruby -c {{path/to/script.rb}}` + +- Start the built-in HTTP server on port 8080 in the current directory: + +`ruby -run -e httpd` + +- Locally execute a Ruby binary without installing the required library it depends on: + +`ruby -I {{path/to/library_folder}} -r {{library_require_name}} {{path/to/bin_folder/bin_name}}` -- Show the version of Ruby you are using: +- Display version: -`ruby -v` +`ruby {{[-v|--version]}}` diff --git a/pages/common/ruff-check.md b/pages/common/ruff-check.md new file mode 100644 index 00000000000000..db3c19fad7d684 --- /dev/null +++ b/pages/common/ruff-check.md @@ -0,0 +1,33 @@ +# ruff check + +> An extremely fast Python linter. `check` is the default command - it can be omitted everywhere. +> If no files or directories are specified, the current working directory is used by default. +> More information: . + +- Run the linter on the given files or directories: + +`ruff check {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Apply the suggested fixes, modifying the files in-place: + +`ruff check --fix` + +- Run the linter and re-lint on change: + +`ruff check --watch` + +- Only enable the specified rules (or all rules), ignoring the configuration file: + +`ruff check --select {{ALL|rule_code1,rule_code2,...}}` + +- Additionally enable the specified rules: + +`ruff check --extend-select {{rule_code1,rule_code2,...}}` + +- Disable the specified rules: + +`ruff check --ignore {{rule_code1,rule_code2,...}}` + +- Ignore all existing violations of a rule by adding `# noqa` directives to all lines that violate it: + +`ruff check --select {{rule_code}} --add-noqa` diff --git a/pages/common/ruff-format.md b/pages/common/ruff-format.md new file mode 100644 index 00000000000000..5bcb43e9ad7d83 --- /dev/null +++ b/pages/common/ruff-format.md @@ -0,0 +1,17 @@ +# ruff format + +> An extremely fast Python code formatter. +> If no files or directories are specified, the current working directory is used by default. +> More information: . + +- Format given files or directories in-place: + +`ruff format {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Print which files would have been modified and return a non-zero exit code if there are files to reformat, and zero otherwise: + +`ruff format --check` + +- Print what changes would be made without modifying the files: + +`ruff format --diff` diff --git a/pages/common/ruff.md b/pages/common/ruff.md new file mode 100644 index 00000000000000..ee7a7904e47b22 --- /dev/null +++ b/pages/common/ruff.md @@ -0,0 +1,12 @@ +# ruff + +> An extremely fast Python linter and code formatter, written in Rust. +> More information: . + +- View documentation for the Ruff linter: + +`tldr ruff check` + +- View documentation for the Ruff code formatter: + +`tldr ruff format` diff --git a/pages/common/runit.md b/pages/common/runit.md new file mode 100644 index 00000000000000..774e4b9db171e7 --- /dev/null +++ b/pages/common/runit.md @@ -0,0 +1,12 @@ +# runit + +> 3-stage init system. +> More information: . + +- Start runit's 3-stage init scheme: + +`runit` + +- Shut down runit: + +`kill --CONT {{runit_pid}}` diff --git a/pages/common/runsv.md b/pages/common/runsv.md new file mode 100644 index 00000000000000..073a1eeccc8e58 --- /dev/null +++ b/pages/common/runsv.md @@ -0,0 +1,12 @@ +# runsv + +> Start and manage a runit service. +> More information: . + +- Start a runit service as the current user: + +`runsv {{path/to/service}}` + +- Start a runit service as root: + +`sudo runsv {{path/to/service}}` diff --git a/pages/common/runsvchdir.md b/pages/common/runsvchdir.md new file mode 100644 index 00000000000000..f41c4f7f618f5c --- /dev/null +++ b/pages/common/runsvchdir.md @@ -0,0 +1,8 @@ +# runsvchdir + +> Change the directory `runsvdir` uses by default. +> More information: . + +- Switch `runsvdir` directories: + +`sudo runsvchdir {{path/to/directory}}` diff --git a/pages/common/runsvdir.md b/pages/common/runsvdir.md new file mode 100644 index 00000000000000..cbaaebf5a5b7a7 --- /dev/null +++ b/pages/common/runsvdir.md @@ -0,0 +1,16 @@ +# runsvdir + +> Run an entire directory of services. +> More information: . + +- Start and manage all services in a directory as the current user: + +`runsvdir {{path/to/services}}` + +- Start and manage all services in a directory as root: + +`sudo runsvdir {{path/to/services}}` + +- Start services in separate sessions: + +`runsvdir -P {{path/to/services}}` diff --git a/pages/common/rustc.md b/pages/common/rustc.md index c4a910668164d6..0d28a5a5019c46 100644 --- a/pages/common/rustc.md +++ b/pages/common/rustc.md @@ -1,33 +1,33 @@ # rustc > The Rust compiler. -> Processes, compiles and links Rust language source files. +> Rust projects usually use `cargo` instead of invoking `rustc` directly. > More information: . -- Compile a single file: +- Compile a binary crate: -`rustc {{file.rs}}` +`rustc {{path/to/main.rs}}` -- Compile with high optimization: +- Compile with optimizations (`s` means optimize for binary size; `z` is the same with even more optimizations): -`rustc -O {{file.rs}}` +`rustc {{[-C|--codegen]}} lto {{[-C|--codegen]}} opt-level={{0|1|2|3|s|z}} {{path/to/main.rs}}` - Compile with debugging information: -`rustc -g {{file.rs}}` +`rustc -g {{path/to/main.rs}}` -- Compile with architecture-specific optimizations for the current CPU: +- Explain an error message: -`rustc -C target-cpu=native {{path/to/file.rs}}` +`rustc --explain {{error_code}}` -- Display architecture-specific optimizations for the current CPU: +- Compile with architecture-specific optimizations for the current CPU: -`rustc -C target-cpu=native --print cfg` +`rustc {{[-C|--codegen]}} target-cpu={{native}} {{path/to/main.rs}}` -- Display target list: +- Display the target list (Note: You have to add a target using `rustup` first to be able to compile for it): `rustc --print target-list` - Compile for a specific target: -`rustc --target {{target_triple}} {{path/to/file.rs}}` +`rustc --target {{target_triple}} {{path/to/main.rs}}` diff --git a/pages/common/rustdoc.md b/pages/common/rustdoc.md new file mode 100644 index 00000000000000..0cc30ef9020df0 --- /dev/null +++ b/pages/common/rustdoc.md @@ -0,0 +1,20 @@ +# rustdoc + +> Generate documentation for a Rust crate. +> More information: . + +- Generate documentation from the crate's root: + +`rustdoc {{src/lib.rs}}` + +- Pass a name for the project: + +`rustdoc {{src/lib.rs}} --crate-name {{name}}` + +- Generate documentation from Markdown files: + +`rustdoc {{path/to/file.md}}` + +- Specify the output directory: + +`rustdoc {{src/lib.rs}} --out-dir {{path/to/output_directory}}` diff --git a/pages/common/rustfmt.md b/pages/common/rustfmt.md index 0966150210064c..a11de8a592a805 100644 --- a/pages/common/rustfmt.md +++ b/pages/common/rustfmt.md @@ -1,16 +1,24 @@ # rustfmt -> Tool for formatting Rust source code. +> Format Rust source code. > More information: . - Format a file, overwriting the original file in-place: -`rustfmt {{source.rs}}` +`rustfmt {{path/to/source.rs}}` - Check a file for formatting and display any changes on the console: -`rustfmt --check {{source.rs}}` +`rustfmt --check {{path/to/source.rs}}` - Backup any modified files before formatting (the original file is renamed with a `.bk` extension): -`rustfmt --backup {{source.rs}}` +`rustfmt --backup {{path/to/source.rs}}` + +- Format code using a specific Rust style edition (formatting rules) verbosely: + +`rustfmt --style-edition {{2015|2018|2021|2024}} {{[-v|--verbose]}} {{path/to/source1.rs path/to/source2.rs ...}}` + +- Format code using a specific Rust edition (language features and parsing): + +`rustfmt --edition {{2015|2018|2021|2024}} {{path/to/source1.rs path/to/source2.rs ...}}` diff --git a/pages/common/rustic.md b/pages/common/rustic.md new file mode 100644 index 00000000000000..726db3cfc87109 --- /dev/null +++ b/pages/common/rustic.md @@ -0,0 +1,12 @@ +# rustic + +> Create fast, encrypted, deduplicated backups powered by Rust. +> More information: . + +- Initialize a new repository: + +`rustic init --repository {{/srv/rustic-repo}}` + +- Create a new backup of a file/directory to a repository: + +`rustic backup --repository {{/srv/rustic-repo}} {{path/to/file_or_directory}}` diff --git a/pages/common/rustscan.md b/pages/common/rustscan.md new file mode 100644 index 00000000000000..6f5d3daecd18df --- /dev/null +++ b/pages/common/rustscan.md @@ -0,0 +1,37 @@ +# rustscan + +> Modern Port Scanner written in Rust. +> Note: `nmap` must be installed for some of the examples below to work. +> More information: . + +- Scan all ports of one or more comma-delimited addresses using the default values: + +`rustscan {{[-a|--addresses]}} {{ip_or_hostname}}` + +- Scan the top 1000 ports with service and version detection: + +`rustscan --top {{[-a|--addresses]}} {{address_or_addresses}}` + +- Scan a specific list of ports: + +`rustscan {{[-p|--ports]}} {{port1,port2,...}} {{[-a|--addresses]}} {{address_or_addresses}}` + +- Scan a specific range of ports: + +`rustscan {{[-r|--range]}} {{start}}-{{end}} {{[-a|--addresses]}} {{address_or_addresses}}` + +- Invoke `nmap` functionalities (Nmap's OS detection and default scripts): + +`rustscan {{[-a|--addresses]}} {{address_or_addresses}} -- -O {{[-sC|--script=default]}}` + +- Scan with custom batch size (default: 4500) and timeout (default: 1500ms): + +`rustscan {{[-b|--batch-size]}} {{batch_size}} {{[-t|--timeout]}} {{timeout}} {{[-a|--addresses]}} {{address_or_addresses}}` + +- Scan with specific port order: + +`rustscan --scan-order {{serial|random}} {{[-a|--addresses]}} {{address_or_addresses}}` + +- Scan in greppable mode (only output of the ports, no `nmap`): + +`rustscan {{[-g|--greppable]}} {{[-a|--addresses]}} {{address_or_addresses}}` diff --git a/pages/common/rustup-check.md b/pages/common/rustup-check.md new file mode 100644 index 00000000000000..a4f1abebbc3e9d --- /dev/null +++ b/pages/common/rustup-check.md @@ -0,0 +1,8 @@ +# rustup check + +> Check for updates to Rust toolchains and `rustup`. +> More information: . + +- Check for all updates: + +`rustup check` diff --git a/pages/common/rustup-completions.md b/pages/common/rustup-completions.md new file mode 100644 index 00000000000000..f0438f5be3d1e6 --- /dev/null +++ b/pages/common/rustup-completions.md @@ -0,0 +1,8 @@ +# rustup completions + +> Generate shell completions for `rustup` and `cargo`. +> More information: . + +- Print the completion script to `stdout`: + +`rustup completions {{bash|elvish|fish|powershell|zsh}} {{rustup|cargo}}` diff --git a/pages/common/rustup-component.md b/pages/common/rustup-component.md new file mode 100644 index 00000000000000..765cddf5df64d9 --- /dev/null +++ b/pages/common/rustup-component.md @@ -0,0 +1,21 @@ +# rustup component + +> Modify a toolchain's installed components. +> Without the `--toolchain` option `rustup` will use the default toolchain. See `rustup help toolchain` for more information about toolchains. +> More information: . + +- Add a component to a toolchain: + +`rustup component add --toolchain {{toolchain}} {{component}}` + +- Remove a component from a toolchain: + +`rustup component remove --toolchain {{toolchain}} {{component}}` + +- List installed and available components for a toolchain: + +`rustup component list --toolchain {{toolchain}}` + +- List installed components for a toolchain: + +`rustup component list --toolchain {{toolchain}} --installed` diff --git a/pages/common/rustup-default.md b/pages/common/rustup-default.md new file mode 100644 index 00000000000000..5f51d97c247b80 --- /dev/null +++ b/pages/common/rustup-default.md @@ -0,0 +1,8 @@ +# rustup default + +> Set the default Rust toolchain. +> More information: . + +- Switch the default Rust toolchain (see `rustup help toolchain` for more information): + +`rustup default {{toolchain}}` diff --git a/pages/common/rustup-doc.md b/pages/common/rustup-doc.md new file mode 100644 index 00000000000000..10b27a7623163f --- /dev/null +++ b/pages/common/rustup-doc.md @@ -0,0 +1,25 @@ +# rustup doc + +> Open the offline Rust documentation for the current toolchain. +> There are a lot more documentation pages not mentioned here. See `rustup help doc` for more information. +> More information: . + +- Open the main page: + +`rustup doc` + +- Open the documentation for a specific topic (a module in the standard library, a type, a keyword, etc.): + +`rustup doc {{std::fs|usize|fn|...}}` + +- Open the Rust Programming Language book: + +`rustup doc --book` + +- Open the Cargo book: + +`rustup doc --cargo` + +- Open the Rust Reference: + +`rustup doc --reference` diff --git a/pages/common/rustup-help.md b/pages/common/rustup-help.md new file mode 100644 index 00000000000000..1ba3c93c2a7500 --- /dev/null +++ b/pages/common/rustup-help.md @@ -0,0 +1,12 @@ +# rustup help + +> Display help on `rustup` and its subcommands. +> More information: . + +- Display help: + +`rustup help` + +- Display help for a subcommand: + +`rustup help {{subcommand}}` diff --git a/pages/common/rustup-init.sh.md b/pages/common/rustup-init.sh.md new file mode 100644 index 00000000000000..8eb0e3448f62f7 --- /dev/null +++ b/pages/common/rustup-init.sh.md @@ -0,0 +1,32 @@ +# rustup-init.sh + +> Script to install `rustup` and the Rust toolchain. +> More information: . + +- Download and run `rustup-init` to install `rustup` and the default Rust toolchain: + +`curl https://sh.rustup.rs -sSf | sh -s` + +- Download and run `rustup-init` and pass arguments to it: + +`curl https://sh.rustup.rs -sSf | sh -s -- {{arguments}}` + +- Run `rustup-init` and specify additional components or targets to install: + +`rustup-init.sh --target {{target}} --component {{component}}` + +- Run `rustup-init` and specify the default toolchain to install: + +`rustup-init.sh --default-toolchain {{toolchain}}` + +- Run `rustup-init` and do not install any toolchain: + +`rustup-init.sh --default-toolchain {{none}}` + +- Run `rustup-init` and specify an installation profile: + +`rustup-init.sh --profile {{minimal|default|complete}}` + +- Run `rustup-init` without asking for confirmation: + +`rustup-init.sh -y` diff --git a/pages/common/rustup-install.md b/pages/common/rustup-install.md new file mode 100644 index 00000000000000..85bb760e440495 --- /dev/null +++ b/pages/common/rustup-install.md @@ -0,0 +1,7 @@ +# rustup install + +> This command is an alias of `rustup toolchain install`. + +- View documentation for the original command: + +`tldr rustup toolchain` diff --git a/pages/common/rustup-man.md b/pages/common/rustup-man.md new file mode 100644 index 00000000000000..f6fecbb8e52ff4 --- /dev/null +++ b/pages/common/rustup-man.md @@ -0,0 +1,12 @@ +# rustup man + +> View the man page for a command managed by `rustup`. +> More information: . + +- View the man page for a given command from the default toolchain: + +`rustup man {{command}}` + +- View the man page for a given command from the specified toolchain: + +`rustup man --toolchain {{command}}` diff --git a/pages/common/rustup-override.md b/pages/common/rustup-override.md new file mode 100644 index 00000000000000..5e9a85e7f957f0 --- /dev/null +++ b/pages/common/rustup-override.md @@ -0,0 +1,21 @@ +# rustup override + +> Modify directory toolchain overrides. +> See `rustup help toolchain` for more information about toolchains. +> More information: . + +- List directiory toolchain overrides: + +`rustup override list` + +- Set the override toolchain for the current directory (i.e. tell `rustup` to run `cargo`, `rustc`, etc. from a specific toolchain when in that directory): + +`rustup override set {{toolchain}}` + +- Remove the toolchain override for the current directory: + +`rustup override unset` + +- Remove all toolchain overrides for directories that no longer exist: + +`rustup override unset --nonexistent` diff --git a/pages/common/rustup-run.md b/pages/common/rustup-run.md new file mode 100644 index 00000000000000..ef9ca94bf7adf4 --- /dev/null +++ b/pages/common/rustup-run.md @@ -0,0 +1,9 @@ +# rustup run + +> Run a command with an environment configured for a Rust toolchain. +> Note: All commands managed by `rustup` have a shorthand for this: for example, `cargo +nightly build` is equivalent to `rustup run nightly cargo build`. +> More information: . + +- Run a command using a given Rust toolchain (see `rustup help toolchain` for more information): + +`rustup run {{toolchain}} {{command}}` diff --git a/pages/common/rustup-self.md b/pages/common/rustup-self.md new file mode 100644 index 00000000000000..ffc8cc131f0403 --- /dev/null +++ b/pages/common/rustup-self.md @@ -0,0 +1,12 @@ +# rustup self + +> Modify the `rustup` installation. +> More information: . + +- Update `rustup`: + +`rustup self update` + +- Uninstall `rustup`: + +`rustup self uninstall` diff --git a/pages/common/rustup-set.md b/pages/common/rustup-set.md new file mode 100644 index 00000000000000..7c504cf6d3f128 --- /dev/null +++ b/pages/common/rustup-set.md @@ -0,0 +1,16 @@ +# rustup set + +> Alter `rustup` settings. +> More information: . + +- Set the default host triple: + +`rustup set default-host {{host_triple}}` + +- Set the default profile (`minimal` includes only `rustc`, `rust-std` and `cargo`, whereas `default` adds `rust-docs`, `rustfmt` and `clippy`): + +`rustup set profile {{minimal|default}}` + +- Set whether `rustup` should update itself when running `rustup update`: + +`rustup set auto-self-update {{enable|disable|check-only}}` diff --git a/pages/common/rustup-show.md b/pages/common/rustup-show.md new file mode 100644 index 00000000000000..375e8744933a78 --- /dev/null +++ b/pages/common/rustup-show.md @@ -0,0 +1,16 @@ +# rustup show + +> Show installed toolchains, targets and the version of `rustc`. +> More information: . + +- Show all information: + +`rustup show` + +- Show the active toolchain: + +`rustup show active-toolchain` + +- Show the rustup data directory: + +`rustup show home` diff --git a/pages/common/rustup-target.md b/pages/common/rustup-target.md new file mode 100644 index 00000000000000..8668329bbb4753 --- /dev/null +++ b/pages/common/rustup-target.md @@ -0,0 +1,21 @@ +# rustup target + +> Modify a toolchain's supported targets. +> Without the `--toolchain` option `rustup` will use the default toolchain. See `rustup help toolchain` for more information about toolchains. +> More information: . + +- Add a target to a toolchain: + +`rustup target add --toolchain {{toolchain}} {{target}}` + +- Remove a target from a toolchain: + +`rustup target remove --toolchain {{toolchain}} {{target}}` + +- List available and installed targets for a toolchain: + +`rustup target list --toolchain {{toolchain}}` + +- List installed targets for a toolchain: + +`rustup target list --toolchain {{toolchain}} --installed` diff --git a/pages/common/rustup-toolchain.md b/pages/common/rustup-toolchain.md new file mode 100644 index 00000000000000..2f99c203f287f8 --- /dev/null +++ b/pages/common/rustup-toolchain.md @@ -0,0 +1,21 @@ +# rustup toolchain + +> Manage Rust toolchains. +> See `rustup help toolchain` for more information about toolchains. +> More information: . + +- Install or update a given toolchain: + +`rustup toolchain install {{toolchain}}` + +- Uninstall a toolchain: + +`rustup toolchain uninstall {{toolchain}}` + +- List installed toolchains: + +`rustup toolchain list` + +- Create a custom toolchain by symlinking to a directory: + +`rustup toolchain link {{custom_toolchain_name}} {{path/to/directory}}` diff --git a/pages/common/rustup-uninstall.md b/pages/common/rustup-uninstall.md new file mode 100644 index 00000000000000..1b7be5eac05d7c --- /dev/null +++ b/pages/common/rustup-uninstall.md @@ -0,0 +1,7 @@ +# rustup uninstall + +> This command is an alias of `rustup toolchain uninstall`. + +- View documentation for the original command: + +`tldr rustup toolchain` diff --git a/pages/common/rustup-update.md b/pages/common/rustup-update.md new file mode 100644 index 00000000000000..4994852020ac51 --- /dev/null +++ b/pages/common/rustup-update.md @@ -0,0 +1,12 @@ +# rustup update + +> Update Rust toolchains and `rustup` itself (if not installed using a package manager). +> More information: . + +- Update all installed toolchains and `rustup`: + +`rustup update` + +- Install or update a specific toolchain (see `rustup help toolchain` for more information): + +`rustup update {{toolchain}}` diff --git a/pages/common/rustup-which.md b/pages/common/rustup-which.md new file mode 100644 index 00000000000000..80302317b7ae5b --- /dev/null +++ b/pages/common/rustup-which.md @@ -0,0 +1,13 @@ +# rustup which + +> Display which binary will be run for a command managed by `rustup`. +> Like `which`, but searches a Rust toolchain instead of `$PATH`. +> More information: . + +- Display the path to the binary in the default toolchain: + +`rustup which {{command}}` + +- Display the path to the binary in the specified toolchain (see `rustup help toolchain` for more information): + +`rustup which --toolchain {{toolchain}} {{command}}` diff --git a/pages/common/rustup.md b/pages/common/rustup.md index fe0cf05bd72294..f94859cd906488 100644 --- a/pages/common/rustup.md +++ b/pages/common/rustup.md @@ -1,8 +1,8 @@ # rustup -> Rust toolchain installer. > Install, manage, and update Rust toolchains. -> More information: . +> Some subcommands, such as `toolchain`, `target`, `update`, etc. have their own usage documentation. +> More information: . - Install the nightly toolchain for your system: @@ -12,7 +12,7 @@ `rustup default nightly` -- Use the nightly toolchain when inside the current project, but leave global settings unchanged: +- Use the nightly toolchain when inside the current project but leave global settings unchanged: `rustup override set nightly` @@ -24,6 +24,10 @@ `rustup show` -- Run cargo build with a certain toolchain: +- Run `cargo build` with a certain toolchain: -`rustup run {{toolchain_name}} cargo build` +`rustup run {{toolchain}} cargo build` + +- Open the local Rust documentation in the default web browser: + +`rustup doc` diff --git a/pages/common/rvm.md b/pages/common/rvm.md index 240ff280b01783..89d405c15b8f28 100644 --- a/pages/common/rvm.md +++ b/pages/common/rvm.md @@ -1,11 +1,11 @@ # rvm -> A tool for easily installing, managing, and working with multiple ruby environments. +> Easily installing, managing, and working with multiple ruby environments. > More information: . -- Install one or more space-separated versions of Ruby: +- Install one or more versions of Ruby: -`rvm install {{version(s)}}` +`rvm install {{version1 version2 ...}}` - Display a list of installed versions: diff --git a/pages/common/s.md b/pages/common/s.md index 3dec9679466700..688677056a7212 100644 --- a/pages/common/s.md +++ b/pages/common/s.md @@ -1,19 +1,20 @@ # s > Web search from the terminal. +> More information: . -- Search for a query on Google(default provider): +- Search for a query on Google (default provider): `s {{query}}` - List all providers: -`s --list-providers` +`s {{[-l|--list-providers]}}` - Search for a query with a given provider: -`s --provider {{provider}} {{query}}` +`s {{[-p|--provider]}} {{provider}} {{query}}` - Use a specified binary to perform the search query: -`s --binary "{{binary}} {{arguments}}" {{query}}` +`s {{[-b|--binary]}} "{{binary}} {{arguments}}" {{query}}` diff --git a/pages/common/s3cmd.md b/pages/common/s3cmd.md new file mode 100644 index 00000000000000..f40e48b48b92a9 --- /dev/null +++ b/pages/common/s3cmd.md @@ -0,0 +1,32 @@ +# s3cmd + +> Command line tool and client for uploading, retrieving and managing data in S3 compatible object storage. +> More information: . + +- Invoke configuration/reconfiguration tool: + +`s3cmd --configure` + +- List Buckets/Folders/Objects: + +`s3cmd ls s3://{{bucket|path/to/file}}` + +- Create Bucket/Folder: + +`s3cmd mb s3://{{bucket}}` + +- Download a specific file from a bucket: + +`s3cmd get s3://{{bucket_name}}/{{path/to/file}} {{path/to/local_file}}` + +- Upload a file to a bucket: + +`s3cmd put {{local_file}} s3://{{bucket}}/{{file}}` + +- Move an object to a specific bucket location: + +`s3cmd mv s3://{{src_bucket}}/{{src_object}} s3://{{dst_bucket}}/{{dst_object}}` + +- Delete a specific object: + +`s3cmd rm s3://{{bucket}}/{{object}}` diff --git a/pages/common/safe.md b/pages/common/safe.md index 749b677a387ed8..db6af2ab301d46 100644 --- a/pages/common/safe.md +++ b/pages/common/safe.md @@ -1,6 +1,6 @@ # safe -> A CLI to interact with HashiCorp Vault. +> Interact with HashiCorp Vault. > More information: . - Add a safe target: @@ -21,9 +21,9 @@ - Move a secret from one path to another: -`safe move {{old/path/to/secret}} {{new/path/to/secret}}` +`safe move {{path/to/old_secret}} {{path/to/new_secret}}` -- Generate a new 2048-bit SSH keypair and store it: +- Generate a new 2048-bit SSH key-pair and store it: `safe ssh {{2048}} {{path/to/secret}}` diff --git a/pages/common/sails.md b/pages/common/sails.md index b15db6b35bae4d..1890dcf1da4014 100644 --- a/pages/common/sails.md +++ b/pages/common/sails.md @@ -1,7 +1,7 @@ # sails -> Sails.js is a realtime enterprise level MVC framework built on top of Node.js. -> More information: . +> A realtime enterprise level MVC framework built on top of Node.js. +> More information: . - Start Sails: diff --git a/pages/common/salt-call.md b/pages/common/salt-call.md index 674a339bddb86c..cbbb52e78c6402 100644 --- a/pages/common/salt-call.md +++ b/pages/common/salt-call.md @@ -1,7 +1,7 @@ # salt-call > Invoke salt locally on a salt minion. -> More information: . +> More information: . - Perform a highstate on this minion: @@ -13,7 +13,7 @@ - Perform a highstate with verbose debugging output: -`salt-call -l debug state.highstate` +`salt-call {{[-l|--log-level]}} debug state.highstate` - List this minion's grains: diff --git a/pages/common/salt-key.md b/pages/common/salt-key.md index b852502042329f..53528a48b07036 100644 --- a/pages/common/salt-key.md +++ b/pages/common/salt-key.md @@ -1,21 +1,21 @@ # salt-key -> Manages salt minion keys on the salt master. +> Manage salt minion keys on the salt master. > Needs to be run on the salt master, likely as root or with sudo. -> More information: . +> More information: . - List all accepted, unaccepted and rejected minion keys: -`salt-key -L` +`salt-key {{[-L|--list-all]}}` - Accept a minion key by name: -`salt-key -a {{MINION_ID}}` +`salt-key {{[-a|--accept-all]}} {{MINION_ID}}` - Reject a minion key by name: -`salt-key -r {{MINION_ID}}` +`salt-key {{[-r|--reject]}} {{MINION_ID}}` - Print fingerprints of all public keys: -`salt-key -F` +`salt-key {{[-F|--finger-all]}}` diff --git a/pages/common/salt-run.md b/pages/common/salt-run.md index f11c9765b90b5c..3b9ef18435b80e 100644 --- a/pages/common/salt-run.md +++ b/pages/common/salt-run.md @@ -1,7 +1,7 @@ # salt-run > Frontend for executing salt-runners on minions. -> More information: . +> More information: . - Show status of all minions: diff --git a/pages/common/salt.md b/pages/common/salt.md index 0fee17f616e743..0a2a3392ba9a5a 100644 --- a/pages/common/salt.md +++ b/pages/common/salt.md @@ -1,7 +1,7 @@ # salt > Execute commands and assert state on remote salt minions. -> More information: . +> More information: . - List connected minions: diff --git a/pages/common/sam2p.md b/pages/common/sam2p.md new file mode 100644 index 00000000000000..6087c9a0e8b641 --- /dev/null +++ b/pages/common/sam2p.md @@ -0,0 +1,8 @@ +# sam2p + +> Raster (bitmap) image converter with smart PDF and PostScript (EPS) output. +> More information: . + +- Concatenate all PDF files into one: + +`sam2p *.pdf {{path/to/output.pdf}}` diff --git a/pages/common/sambapipe.py.md b/pages/common/sambapipe.py.md new file mode 100644 index 00000000000000..cb21099c076123 --- /dev/null +++ b/pages/common/sambapipe.py.md @@ -0,0 +1,24 @@ +# sambaPipe.py + +> Exploit CVE-2017-7494 (SambaCry) to upload and load a shared object (SO) file on a vulnerable Samba server for remote code execution. +> More information: . + +- Upload and load a shared object file on a vulnerable Samba server: + +`sambaPipe.py -so {{path/to/file.so}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Authenticate using NTLM hashes instead of a password: + +`sambaPipe.py -so {{path/to/file.so}} -hashes {{LM_HASH:NT_HASH}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Use Kerberos authentication for the target: + +`sambaPipe.py -so {{path/to/file.so}} -k -no-pass {{domain}}/{{username}}:{{password}}@{{target}}` + +- Specify a domain controller IP for authentication: + +`sambaPipe.py -so {{path/to/file.so}} -dc-ip {{dc_ip}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Use a custom port for the SMB connection: + +`sambaPipe.py -so {{path/to/file.so}} -port {{port}} {{domain}}/{{username}}:{{password}}@{{target}}` diff --git a/pages/common/samtools.md b/pages/common/samtools.md index fc2291857fc986..0d44871b1d18bf 100644 --- a/pages/common/samtools.md +++ b/pages/common/samtools.md @@ -2,20 +2,21 @@ > Tools for handling high-throughput sequencing (genomics) data. > Used for reading/writing/editing/indexing/viewing of data in SAM/BAM/CRAM format. +> More information: . - Convert a SAM input file to BAM stream and save to file: -`samtools view -S -b {{input.sam}} > {{output.bam}}` +`samtools view -S {{[-b|--bam]}} {{input.sam}} > {{output.bam}}` -- Take input from stdin (-) and print the SAM header and any reads overlapping a specific region to `stdout`: +- Take input from `stdin` (-) and print the SAM header and any reads overlapping a specific region to `stdout`: -`{{other_command}} | samtools view -h - chromosome:start-end` +`{{other_command}} | samtools view {{[-h|--with-header]}} - chromosome:start-end` - Sort file and save to BAM (the output format is automatically determined from the output file's extension): -`samtools sort {{input}} -o {{output.bam}}` +`samtools sort {{input}} {{[-o|--output]}} {{output.bam}}` -- Index a sorted BAM file (creates {{sorted_input.bam.bai}}): +- Index a sorted BAM file (creates `sorted_input.bam.bai`): `samtools index {{sorted_input.bam}}` @@ -23,13 +24,13 @@ `samtools flagstat {{sorted_input}}` -- Count alignments to each index (chromosome / contig): +- Count alignments to each index (chromosome/contig): `samtools idxstats {{sorted_indexed_input}}` - Merge multiple files: -`samtools merge {{output}} {{input1 input2 …}}` +`samtools merge {{output}} {{input1 input2 ...}}` - Split input file according to read groups: diff --git a/pages/common/sass.md b/pages/common/sass.md index b264c95977a8cd..f9b6a6327ddc1a 100644 --- a/pages/common/sass.md +++ b/pages/common/sass.md @@ -1,6 +1,6 @@ # sass -> Converts SCSS or Sass files to CSS. +> Convert SCSS or Sass files to CSS. > More information: . - Convert a SCSS or Sass file to CSS and print out the result: diff --git a/pages/common/satis.md b/pages/common/satis.md index 62cadb0185225b..d92763bf3f97fc 100644 --- a/pages/common/satis.md +++ b/pages/common/satis.md @@ -1,9 +1,9 @@ # satis -> The command-line utility for the Satis static Composer repository. +> The utility for the Satis static Composer repository. > More information: . -- Initialise a Satis configuration: +- Initialize a Satis configuration: `satis init {{satis.json}}` diff --git a/pages/common/sbcl.md b/pages/common/sbcl.md new file mode 100644 index 00000000000000..a0887f241df95d --- /dev/null +++ b/pages/common/sbcl.md @@ -0,0 +1,12 @@ +# sbcl + +> High performance Common Lisp compiler. +> More information: . + +- Start a REPL (interactive shell): + +`sbcl` + +- Execute a Lisp script: + +`sbcl --script {{path/to/script.lisp}}` diff --git a/pages/common/sbigtopgm.md b/pages/common/sbigtopgm.md new file mode 100644 index 00000000000000..a996a46160670c --- /dev/null +++ b/pages/common/sbigtopgm.md @@ -0,0 +1,8 @@ +# sbigtopgm + +> Convert an SBIG CCDOPS file to PGM. +> More information: . + +- Convert an SBIG CCDOPS image file to PGM: + +`sbigtopgm {{path/to/input_file.sbig}} > {{path/to/output.pgm}}` diff --git a/pages/common/sbt.md b/pages/common/sbt.md index ee8e0727f87288..f91bf8c0c050b8 100644 --- a/pages/common/sbt.md +++ b/pages/common/sbt.md @@ -1,9 +1,9 @@ # sbt > Build tool for Scala and Java projects. -> More information: . +> More information: . -- Start the SBT interactive shell (REPL): +- Start a REPL (interactive shell): `sbt` @@ -11,6 +11,18 @@ `sbt new {{scala/hello-world.g8}}` +- Compile and run all tests: + +`sbt test` + +- Delete all generated files in the `target` directory: + +`sbt clean` + +- Compile the main sources in `src/main/scala` and `src/main/java` directories: + +`sbt compile` + - Use the specified version of sbt: `sbt -sbt-version {{version}}` diff --git a/pages/common/sbuild.md b/pages/common/sbuild.md new file mode 100644 index 00000000000000..ba631f9e171557 --- /dev/null +++ b/pages/common/sbuild.md @@ -0,0 +1,32 @@ +# sbuild + +> Build a Debian binary package in a clean `chroot` environment. +> More information: . + +- Build the package in the current directory: + +`sbuild` + +- Build the given package: + +`sbuild {{package}}` + +- Build for a certain distribution: + +`sbuild --dist {{distribution}}` + +- Build using custom dependencies (if a directory is passed, all files ending with `.deb` are used): + +`sbuild --extra-package {{path/to/file_or_directory}}` + +- Run a shell in case of build failure to further investigate: + +`sbuild --build-failed-commands=%SBUILD_SHELL` + +- Cross build for a certain architecture: + +`sbuild --host {{architecture}}` + +- Build for the given native architecture: + +`sbuild --arch {{architecture}}` diff --git a/pages/common/sc-im.md b/pages/common/sc-im.md deleted file mode 100644 index 1d90854a221ccf..00000000000000 --- a/pages/common/sc-im.md +++ /dev/null @@ -1,29 +0,0 @@ -# SC-IM - -> A curses based, vim-like spreadsheet calculator. -> Use hjkl or arrow keys to navigate. -> More information: . - -- Start SC-IM: - -`scim {{filename}}.csv` - -- Enter a string into the current cell: - -`< or >` - -- Enter a numeric constant into the current cell: - -`=` - -- Edit string in the current cell: - -`E` - -- Edit number in the current cell: - -`e` - -- Center align the current cell: - -`|` diff --git a/pages/common/sc_analysis_dump.md b/pages/common/sc_analysis_dump.md new file mode 100644 index 00000000000000..3456bdf8b1082d --- /dev/null +++ b/pages/common/sc_analysis_dump.md @@ -0,0 +1,8 @@ +# sc_analysis_dump + +> Dump of traceroute data in an easily parsed format. +> More information: . + +- Output the traceroute of `warts` files one after the other in an easy-to-parse format: + +`sc_analysis_dump {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages/common/sc_tracediff.md b/pages/common/sc_tracediff.md new file mode 100644 index 00000000000000..8a3157adf24346 --- /dev/null +++ b/pages/common/sc_tracediff.md @@ -0,0 +1,16 @@ +# sc_tracediff + +> Display traceroute paths where the path has changed. +> More information: . + +- Show the difference between traceroutes in two `warts` files: + +`sc_tracediff {{path/to/file1.warts}} {{path/to/file2.warts}}` + +- Show the difference between the traceroutes in two `warts` files, including those that have not changed: + +`sc_tracediff -a {{path/to/file1.warts}} {{path/to/file2.warts}}` + +- Show the difference between the traceroutes in two `warts` files and try to show DNS names and not IP addresses if possible: + +`sc_tracediff -n {{path/to/file1.warts}} {{path/to/file2.warts}}` diff --git a/pages/common/sc_ttlexp.md b/pages/common/sc_ttlexp.md new file mode 100644 index 00000000000000..a45815e5e3869c --- /dev/null +++ b/pages/common/sc_ttlexp.md @@ -0,0 +1,8 @@ +# sc_ttlexp + +> Dump source addresses from ICMP TTL expired messages in `warts` files. +> More information: . + +- Output the source address of ICMP TTL expire messages in `warts` files one after the other: + +`sc_ttlexp {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages/common/sc_warts2csv.md b/pages/common/sc_warts2csv.md new file mode 100644 index 00000000000000..e49a34e934188f --- /dev/null +++ b/pages/common/sc_warts2csv.md @@ -0,0 +1,8 @@ +# sc_warts2csv + +> Dump traceroutes collected by `scamper` in CSV format. +> More information: . + +- Convert traceroute data in `warts` files to CSV and output it: + +`sc_warts2csv {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages/common/sc_warts2json.md b/pages/common/sc_warts2json.md new file mode 100644 index 00000000000000..3c4e90f14a8372 --- /dev/null +++ b/pages/common/sc_warts2json.md @@ -0,0 +1,8 @@ +# sc_warts2json + +> JSON dump of information contained in a `warts` file. +> More information: . + +- Convert `warts` files to JSON and output the result: + +`sc_warts2json {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages/common/sc_warts2pcap.md b/pages/common/sc_warts2pcap.md new file mode 100644 index 00000000000000..ab483a58196ad6 --- /dev/null +++ b/pages/common/sc_warts2pcap.md @@ -0,0 +1,13 @@ +# sc_warts2pcap + +> Write packets included in `warts` object to a PCAP file. +> This is only possible for tbit, sting and sniff. +> More information: . + +- Convert the data from several `warts` files into one PCAP file: + +`sc_warts2pcap -o {{path/to/output.pcap}} {{path/to/file1.warts path/to/file2.warts ...}}` + +- Convert the data from a `warts` file into a PCAP file and sort the packets by timestamp: + +`sc_warts2pcap -s -o {{path/to/output.pcap}} {{path/to/file.warts}}` diff --git a/pages/common/sc_warts2text.md b/pages/common/sc_warts2text.md new file mode 100644 index 00000000000000..ecf8046b47b8bf --- /dev/null +++ b/pages/common/sc_warts2text.md @@ -0,0 +1,8 @@ +# sc_warts2text + +> Simple dump of information contained in a `warts` file. +> More information: . + +- Output the information in `warts` files as text: + +`sc_warts2text {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages/common/sc_wartscat.md b/pages/common/sc_wartscat.md new file mode 100644 index 00000000000000..ee14b9c6fe7f20 --- /dev/null +++ b/pages/common/sc_wartscat.md @@ -0,0 +1,8 @@ +# sc_wartscat + +> Concatenate `warts` files. +> More information: . + +- Concatenate `warts` files into one: + +`sc_wartscat -o {{path/to/output.warts}} {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages/common/sc_wartsdump.md b/pages/common/sc_wartsdump.md new file mode 100644 index 00000000000000..82355f7c2a030c --- /dev/null +++ b/pages/common/sc_wartsdump.md @@ -0,0 +1,8 @@ +# sc_wartsdump + +> Verbose dump of information contained in a `warts` file. +> More information: . + +- Output the content of `warts` files verbose: + +`sc_wartsdump {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages/common/sc_wartsfilter.md b/pages/common/sc_wartsfilter.md new file mode 100644 index 00000000000000..a5fe7657221d56 --- /dev/null +++ b/pages/common/sc_wartsfilter.md @@ -0,0 +1,16 @@ +# sc_wartsfilter + +> Select specific records from a `warts` file. +> More information: . + +- Filter all data records that had specific destinations and write them to a separate file: + +`sc_wartsfilter -i {{path/to/input.warts}} -o {{path/to/output.warts}} -a {{192.0.2.5}} -a {{192.0.2.6}}` + +- Filter all records that had certain destinations in a prefix and write them to a separate file: + +`sc_wartsfilter -i {{path/to/input.warts}} -o {{path/to/output.warts}} -a {{2001:db8::/32}}` + +- Filter all records that using a specific action and output them as JSON: + +`sc_wartsfilter -i {{path/to/input.warts}} -t {{ping}} | sc_warts2json` diff --git a/pages/common/sc_wartsfix.md b/pages/common/sc_wartsfix.md new file mode 100644 index 00000000000000..2dea978800724e --- /dev/null +++ b/pages/common/sc_wartsfix.md @@ -0,0 +1,8 @@ +# sc_wartsfix + +> Truncate damaged `warts` files. +> More information: . + +- Save all records (in a separate file) up to the last intact one: + +`sc_wartsfix {{path/to/file1.warts path/to/file2.warts ...}}` diff --git a/pages/common/scala-cli.md b/pages/common/scala-cli.md new file mode 100644 index 00000000000000..cadd786268e85d --- /dev/null +++ b/pages/common/scala-cli.md @@ -0,0 +1,24 @@ +# scala-cli + +> Interact with the Scala programming language. +> More information: . + +- Start a REPL (interactive shell) using a specific Scala and JVM version: + +`scala-cli --scala {{3.1.0}} --jvm {{temurin:17}}` + +- Compile and run a Scala script: + +`scala-cli run {{path/to/script.scala}}` + +- Compile and test a Scala script: + +`scala-cli test {{path/to/script.scala}}` + +- Format a Scala script, updating the file in-place: + +`scala-cli fmt {{path/to/script.scala}}` + +- Generate files for IDE (VSCode and IntelliJ) support: + +`scala-cli setup-ide {{path/to/script.scala}}` diff --git a/pages/common/scala.md b/pages/common/scala.md index 80f053cacf54b1..9ca8cddc7fa62c 100644 --- a/pages/common/scala.md +++ b/pages/common/scala.md @@ -3,18 +3,22 @@ > Scala application launcher and interactive interpreter. > More information: . -- Start a Scala interactive shell (REPL): +- Start a REPL (interactive shell): `scala` +- Start the interpreter with a dependency in the classpath: + +`scala -classpath {{filename.jar}} {{command}}` + - Execute a Scala script: `scala {{script.scala}}` -- Execute a .jar program: +- Execute a `.jar` program: `scala {{filename.jar}}` -- Execute a single Scala command in the command line: +- Execute a single Scala command in the command-line: `scala -e {{command}}` diff --git a/pages/common/scalafmt.md b/pages/common/scalafmt.md new file mode 100644 index 00000000000000..52f3322db67c80 --- /dev/null +++ b/pages/common/scalafmt.md @@ -0,0 +1,25 @@ +# scalafmt + +> Code formatter for Scala. +> Configurations are stored in the `.scalafmt.conf` file. +> More information: . + +- Reformat all `.scala` files in the current directory recursively: + +`scalafmt` + +- Reformat specific files or directories with a custom formatting configuration: + +`scalafmt --config {{path/to/.scalafmt.conf}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Check if files are correctly formatted, returning `0` if all files respect the formatting style: + +`scalafmt --config {{path/to/.scalafmt.conf}} --test` + +- Exclude files or directories: + +`scalafmt --exclude {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Format only files that were edited against the current Git branch: + +`scalafmt --config {{path/to/.scalafmt.conf}} --mode diff` diff --git a/pages/common/scamper.md b/pages/common/scamper.md new file mode 100644 index 00000000000000..cc06048a8e8179 --- /dev/null +++ b/pages/common/scamper.md @@ -0,0 +1,29 @@ +# scamper + +> Actively probes the Internet in order to analyze topology and performance. +> Includes some tools that start with `sc_`, for example `sc_warts2text` or `sc_ttlexp`. +> More information: . + +- Execute the standard option (traceroute) to a destination: + +`scamper -i {{192.0.2.1}}` + +- Execute two actions (ping and traceroute) on two different targets: + +`scamper -I "{{ping}} {{192.0.2.1}}" -I "{{trace}} {{192.0.2.2}}"` + +- Ping several hosts with UDP, use a specific port number for the first ping and increase it for each subsequent ping: + +`scamper -c "{{ping}} -P {{UDP-dport}} -d {{33434}}" -i {{192.0.2.1}} -i {{192.0.2.2}}` + +- Use the Multipath Discovery Algorithm (MDA) to determine the presence of load-balanced paths to the destination and use ICMP echo packets to sample with a maximum of three attempts, write the result to a `warts` file: + +`scamper -O {{warts}} -o {{path/to/output.warts}} -I "{{tracelb}} -P {{ICMP-echo}} -q {{3}} {{192.0.2.1}}"` + +- Execute a Paris traceroute with ICMP to a destination and save the result in a compressed `warts` file: + +`scamper -O {{warts.gz}} -o {{path/to/output.warts}} -I "{{trace}} -P {{icmp-paris}} {{2001:db8:dead:beaf::4}}"` + +- Record all ICMP packets that arrive at a specific IP address and have a specific ICMP ID in a `warts` file: + +`scamper -O {{warts}} -o {{path/to/output.warts}} -I "sniff -S {{2001:db8:dead:beef::6}} icmp[icmpid] == {{101}}"` diff --git a/pages/common/scan-build.md b/pages/common/scan-build.md new file mode 100644 index 00000000000000..e6f45bd1e5273e --- /dev/null +++ b/pages/common/scan-build.md @@ -0,0 +1,16 @@ +# scan-build + +> Run a static analyzer over a codebase as part of performing a regular build. +> More information: . + +- Build and analyze the project in the current directory: + +`scan-build {{make}}` + +- Run a command and pass all subsequent options to it: + +`scan-build {{command}} {{command_arguments}}` + +- Display help: + +`scan-build` diff --git a/pages/common/scc.md b/pages/common/scc.md index 0e4d8e58d47b00..a472c6ade2201c 100644 --- a/pages/common/scc.md +++ b/pages/common/scc.md @@ -1,6 +1,6 @@ # scc -> Tool written in Go that counts lines of code. +> Count lines of code. Written in Go. > More information: . - Print lines of code in the current directory: @@ -17,11 +17,11 @@ - Display output using a specific output format (defaults to `tabular`): -`scc --format {{tabular|wide|json|csv|cloc-yaml|html|html-table}}` +`scc {{[-f|--format]}} {{tabular|wide|json|csv|cloc-yaml|html|html-table}}` - Only count files with specific file extensions: -`scc --include-ext {{go, java, js}}` +`scc {{[-i|--include-ext]}} {{go,java,js}}` - Exclude directories from being counted: @@ -29,8 +29,8 @@ - Display output and sort by column (defaults to by files): -`scc --sort {{files|name|lines|blanks|code|comments|complexity}}` +`scc {{[-s|--sort]}} {{files|name|lines|blanks|code|comments|complexity}}` -- Print help for scc: +- Display help: -`scc -h` +`scc {{[-h|--help]}}` diff --git a/pages/common/sccache.md b/pages/common/sccache.md new file mode 100644 index 00000000000000..3b6c9a96cd3918 --- /dev/null +++ b/pages/common/sccache.md @@ -0,0 +1,21 @@ +# sccache + +> A fast C/C++/Rust compiler cache. +> Composed of a client and a server, both running on the machine. +> More information: . + +- Show compilation statistics: + +`sccache {{[-s|--show-stats]}}` + +- Run `gcc` (or any compiler command) through `sccache`: + +`sccache gcc {{path/to/file.c}}` + +- Start `sccache` server in the foreground and print logs: + +`sccache --stop-server; SCCACHE_LOG=trace SCCACHE_START_SERVER=1 SCCACHE_NO_DAEMON=1 sccache` + +- Ask scheduler for distributed compilation status: + +`sccache --dist-status` diff --git a/pages/common/sccmap.md b/pages/common/sccmap.md new file mode 100644 index 00000000000000..48c93a77f17cb5 --- /dev/null +++ b/pages/common/sccmap.md @@ -0,0 +1,17 @@ +# sccmap + +> Extract strongly connected components of directed graphs. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Extract strongly connected components of one or more directed graphs: + +`sccmap -S {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}` + +- Print statistics about a graph, producing no output graph: + +`sccmap -v -s {{path/to/input1.gv path/to/input2.gv ...}}` + +- Display help: + +`sccmap -?` diff --git a/pages/common/scd.md b/pages/common/scd.md new file mode 100644 index 00000000000000..9599142808e1d3 --- /dev/null +++ b/pages/common/scd.md @@ -0,0 +1,28 @@ +# scd + +> File manager focused on shell integration. +> More information: . + +- Index paths recursively for the very first run: + +`scd -ar {{path/to/directory}}` + +- Change to a specific directory: + +`scd {{path/to/directory}}` + +- Change to a path matching specific patterns: + +`scd "{{pattern1 pattern2 ...}}"` + +- Show selection menu and ranking of 20 most likely directories: + +`scd -v` + +- Add a specific alias for the current directory: + +`scd --alias={{word}}` + +- Change to a directory using a specific alias: + +`scd {{word}}` diff --git a/pages/common/scheme.md b/pages/common/scheme.md index 1b411be02f7464..6a86172ce540ad 100644 --- a/pages/common/scheme.md +++ b/pages/common/scheme.md @@ -1,15 +1,15 @@ # scheme > MIT Scheme language interpreter and REPL (interactive shell). -> More information: . +> More information: . -- Open an interactive shell (REPL): +- Start a REPL (interactive shell): `scheme` - Run a scheme program (with no REPL output): -`scheme --quiet < {{script.scm}}` +`scheme < {{script.scm}} --quiet` - Load a scheme program into the REPL: diff --git a/pages/common/scim.md b/pages/common/scim.md new file mode 100644 index 00000000000000..66e053a81a877f --- /dev/null +++ b/pages/common/scim.md @@ -0,0 +1,29 @@ +# scim + +> A curses based, vim-like spreadsheet calculator. +> Use `` or `` to navigate. +> More information: . + +- Start SC-IM: + +`scim {{path/to/file.csv}}` + +- Enter a string into the current cell: + +`{{<<>|<>>}}` + +- Enter a numeric constant into the current cell: + +`<=>` + +- Edit string in the current cell: + +`` + +- Edit number in the current cell: + +`` + +- Center align the current cell: + +`<|>` diff --git a/pages/common/scp.md b/pages/common/scp.md index cda70bd9b61c2e..b5a01ff72d0222 100644 --- a/pages/common/scp.md +++ b/pages/common/scp.md @@ -10,7 +10,7 @@ - Use a specific port when connecting to the remote host: -`scp {{path/to/local_file}} -P {{port}} {{remote_host}}:{{path/to/remote_file}}` +`scp -P {{port}} {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}` - Copy a file from a remote host to a local directory: @@ -28,6 +28,10 @@ `scp {{path/to/local_file}} {{remote_username}}@{{remote_host}}:{{path/to/remote_directory}}` -- Use a specific ssh private key for authentication with the remote host: +- Use a specific SSH private key for authentication with the remote host: -`scp -i {{~/.ssh/private_key}} {{local_file}} {{remote_host}}:{{/path/remote_file}}` +`scp -i {{~/.ssh/private_key}} {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}` + +- Use a specific proxy when connecting to the remote host: + +`scp -J {{proxy_username}}@{{proxy_host}} {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}` diff --git a/pages/common/scrapy.md b/pages/common/scrapy.md index 834c036b93963c..aebd32bf9ea5f2 100644 --- a/pages/common/scrapy.md +++ b/pages/common/scrapy.md @@ -1,7 +1,7 @@ # scrapy > Web-crawling framework. -> More information: . +> More information: . - Create a project: @@ -19,14 +19,14 @@ `scrapy crawl {{spider_name}}` -- Fetch a webpage as scrapy sees it and print source in `stdout`: +- Fetch a webpage as Scrapy sees it and print the source to `stdout`: `scrapy fetch {{url}}` -- Open a webpage in the default browser as scrapy sees it (disable javascript for extra fidelity): +- Open a webpage in the default browser as Scrapy sees it (disable JavaScript for extra fidelity): `scrapy view {{url}}` -- Open scrapy shell for url, which allows interaction with the page source in python shell (or ipython if available): +- Open Scrapy shell for URL, which allows interaction with the page source in a Python shell (or IPython if available): `scrapy shell {{url}}` diff --git a/pages/common/scrcpy.md b/pages/common/scrcpy.md index b39a963b03d5ac..ba6a4cd7e6fd56 100644 --- a/pages/common/scrcpy.md +++ b/pages/common/scrcpy.md @@ -7,26 +7,26 @@ `scrcpy` -- Display a mirror of a specific device based on its ID or IP address (find it under the `adb devices` command): +- Turn the device screen off and prevent it from sleeping while mirroring: -`scrcpy --serial {{0123456789abcdef|192.168.0.1:5555}}` +`scrcpy {{[-S|--turn-screen-off]}} {{[-w|--stay-awake]}}` -- Start display in fullscreen mode: +- Display a mirror of a specific device based on its ID or IP address (find it under the `adb devices` command): -`scrcpy --fullscreen` +`scrcpy {{[-s|--serial]}} {{0123456789abcdef|192.168.0.1:5555}}` -- Rotate the display screen. Each incremental value adds a 90 degree counterclockwise rotation: +- Start display in fullscreen mode: -`scrcpy --rotation {{0|1|2|3}}` +`scrcpy {{[-f|--fullscreen]}}` - Show touches on physical device: -`scrcpy --show-touches` +`scrcpy {{[-t|--show-touches]}}` - Record display screen: -`scrcpy --record {{path/to/file.mp4}}` +`scrcpy {{[-r|--record]}} {{path/to/file.mp4}}` -- Set target directory for pushing files to device by drag and drop (non-APK): +- Specify the target directory for pushing files to device by drag and drop (non-APK): `scrcpy --push-target {{path/to/directory}}` diff --git a/pages/common/screen.md b/pages/common/screen.md index f223005983ca9e..fc7513a8f3b972 100644 --- a/pages/common/screen.md +++ b/pages/common/screen.md @@ -1,6 +1,8 @@ # screen > Hold a session open on a remote server. Manage multiple windows with a single SSH connection. +> See also: `tmux`, `zellij`. +> More information: . - Start a new screen session: @@ -10,7 +12,7 @@ `screen -S {{session_name}}` -- Start a new daemon and log the output to screenlog.x: +- Start a new daemon and log the output to `screenlog.x`: `screen -dmLS {{session_name}} {{command}}` @@ -24,11 +26,11 @@ - Detach from inside a screen: -`Ctrl + A, D` +`` - Kill the current screen session: -`Ctrl + A, K` +`` - Kill a detached screen: diff --git a/pages/common/screenfetch.md b/pages/common/screenfetch.md index cd1aa9ac75d839..7afd95d908c2cc 100644 --- a/pages/common/screenfetch.md +++ b/pages/common/screenfetch.md @@ -3,7 +3,7 @@ > Display system information. > More information: . -- Start screenfetch: +- Start `screenfetch`: `screenfetch` diff --git a/pages/common/script.md b/pages/common/script.md deleted file mode 100644 index 803e9b84bafbcb..00000000000000 --- a/pages/common/script.md +++ /dev/null @@ -1,23 +0,0 @@ -# script - -> Make a typescript file of a terminal session. - -- Start recording in file named "typescript": - -`script` - -- Stop recording: - -`exit` - -- Start recording in a given file: - -`script {{logfile.log}}` - -- Append to an existing file: - -`script -a {{logfile.log}}` - -- Execute quietly without start and done messages: - -`script -q {{logfile.log}}` diff --git a/pages/common/sd.md b/pages/common/sd.md index a27ef2e2c01393..11d61097e7bcaa 100644 --- a/pages/common/sd.md +++ b/pages/common/sd.md @@ -1,19 +1,20 @@ # sd -> Intuitive find & replace CLI. +> Intuitive find and replace. +> More information: . -- Trim some whitespace using regex: +- Trim some whitespace using a `regex` (output stream: `stdout`): `{{echo 'lorem ipsum 23 '}} | sd '\s+$' ''` -- Replace words using capture groups: +- Replace words using capture groups (output stream: `stdout`): `{{echo 'cargo +nightly watch'}} | sd '(\w+)\s+\+(\w+)\s+(\w+)' 'cmd: $1, channel: $2, subcmd: $3'` -- Find and replace in a file printing the result to stdout: +- Find and replace in a specific file (output stream: `stdout`): -`sd -p {{'window.fetch'}} {{'fetch'}} {{http.js}}` +`sd {{[-p|--preview]}} {{'window.fetch'}} {{'fetch'}} {{path/to/file.js}}` -- Find and replace across a project changing each file in place: +- Find and replace in all files in the current project (output stream: `stdout`): -`sd {{'from "react"'}} {{'from "preact"'}} $(find . -type f)` +`sd {{'from "react"'}} {{'from "preact"'}} "$(find . -type f)"` diff --git a/pages/common/sdcv.md b/pages/common/sdcv.md new file mode 100644 index 00000000000000..76d813b67c0a14 --- /dev/null +++ b/pages/common/sdcv.md @@ -0,0 +1,33 @@ +# sdcv + +> StarDict, a dictionary client. +> Dictionaries are provided separately from the client. +> More information: . + +- Start `sdcv` interactively: + +`sdcv` + +- List installed dictionaries: + +`sdcv --list-dicts` + +- Display a definition from a specific dictionary: + +`sdcv --use-dict {{dictionary_name}} {{search_term}}` + +- Look up a definition with a fuzzy search: + +`sdcv {{search_term}}` + +- Look up a definition with an exact search: + +`sdcv --exact-search {{search_term}}` + +- Look up a definition and format the output as JSON: + +`sdcv --json {{search_term}}` + +- Search for dictionaries in a specific directory: + +`sdcv --data-dir {{path/to/directory}} {{search_term}}` diff --git a/pages/common/sdiff.md b/pages/common/sdiff.md index f1a824c8da861b..b2191788e267d3 100644 --- a/pages/common/sdiff.md +++ b/pages/common/sdiff.md @@ -1,6 +1,7 @@ # sdiff > Compare the differences between and optionally merge 2 files. +> More information: . - Compare 2 files: @@ -8,16 +9,16 @@ - Compare 2 files, ignoring all tabs and whitespace: -`sdiff -W {{path/to/file1}} {{path/to/file2}}` +`sdiff {{[-W|--ignore-all-space]}} {{path/to/file1}} {{path/to/file2}}` - Compare 2 files, ignoring whitespace at the end of lines: -`sdiff -Z {{path/to/file1}} {{path/to/file2}}` +`sdiff {{[-Z|--ignore-trailing-space]}} {{path/to/file1}} {{path/to/file2}}` - Compare 2 files in a case-insensitive manner: -`sdiff -i {{path/to/file1}} {{path/to/file2}}` +`sdiff {{[-i|--ignore-case]}} {{path/to/file1}} {{path/to/file2}}` - Compare and then merge, writing the output to a new file: -`sdiff -o {{path/to/merged_file}} {{path/to/file1}} {{path/to/file2}}` +`sdiff {{[-o|--output]}} {{path/to/merged_file}} {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/sdk.md b/pages/common/sdk.md index aa44936ad5330a..48a829f3cc9842 100644 --- a/pages/common/sdk.md +++ b/pages/common/sdk.md @@ -1,29 +1,37 @@ # sdk -> Tool for managing parallel versions of multiple Software Development Kits. +> Manage parallel versions of multiple Software Development Kits. > Supports Java, Groovy, Scala, Kotlin, Gradle, Maven, Vert.x and many others. > More information: . -- Install a specific version of Gradle: +- Install an SDK version: -`sdk install {{gradle}} {{gradle_version}}` +`sdk install {{sdk_name}} {{sdk_version}}` -- Switch to a specific version of Gradle: +- Use a specific SDK version for the current terminal session: -`sdk use {{gradle}} {{gradle_version}}` +`sdk use {{sdk_name}} {{sdk_version}}` -- Check current Gradle version: +- Show the stable version of any available SDK: -`sdk current {{gradle}}` +`sdk current {{sdk_name}}` -- List all Software Development Kits available to install: +- Show the stable versions of all installed SDKs: + +`sdk current` + +- List all available SDKs: `sdk list` -- Update Gradle to the latest version: +- List all versions of an SDK: + +`sdk list {{sdk_name}}` + +- Upgrade an SDK to the latest stable version: -`sdk upgrade {{gradle}}` +`sdk upgrade {{sdk_name}}` -- Uninstall a particular version of Gradle: +- Uninstall a specific SDK version: -`sdk rm {{gradle}} {{gradle_version}}` +`sdk rm {{sdk_name}} {{sdk_version}}` diff --git a/pages/common/sdkmanager.md b/pages/common/sdkmanager.md index e52813511a0f2d..8ce7a0fb9149b2 100644 --- a/pages/common/sdkmanager.md +++ b/pages/common/sdkmanager.md @@ -1,7 +1,7 @@ # sdkmanager -> Tool to install packages for the Android SDK. -> More information: . +> Install packages for the Android SDK. +> More information: . - List available packages: diff --git a/pages/common/searchsploit.md b/pages/common/searchsploit.md new file mode 100644 index 00000000000000..c1b2528e5c3f41 --- /dev/null +++ b/pages/common/searchsploit.md @@ -0,0 +1,37 @@ +# searchsploit + +> Search Exploit Database for exploits, shellcodes and/or papers. +> If known version numbers are used as search terms, exploits for both the exact version and others whose version range covers the one specified are shown. +> More information: . + +- Search for an exploit, shellcode, or paper: + +`searchsploit {{search_terms}}` + +- Search for a known specific version, e.g. sudo version 1.8.27: + +`searchsploit sudo 1.8.27` + +- Show the exploit-db link to the found resources: + +`searchsploit {{[-w|--www]}} {{search_terms}}` + +- Copy the resource to the current directory (requires the number of the exploit): + +`searchsploit {{[-m|--mirror]}} {{exploit_number}}` + +- Examine the resource, using the pager defined in the `$PAGER` environment variable: + +`searchsploit {{[-x|--examine]}} {{exploit_number}}` + +- Update the local Exploit Database: + +`searchsploit {{[-u|--update]}}` + +- Search for the [c]ommon [v]ulnerabilities and [e]xposures (CVE) value: + +`searchsploit --cve {{2021-44228}}` + +- Check results in `nmap`'s XML output with service version (`nmap -sV -oX nmap-output.xml`) for known exploits: + +`searchsploit --nmap {{path/to/nmap-output.xml}}` diff --git a/pages/common/secrethub.md b/pages/common/secrethub.md index 788e783cb6530f..34dadf0db65ff1 100644 --- a/pages/common/secrethub.md +++ b/pages/common/secrethub.md @@ -1,9 +1,9 @@ # secrethub -> A tool to keep secrets out of config files. -> More information: . +> Keep secrets out of configuration files. +> More information: . -- Print a secret to stdout: +- Print a secret to `stdout`: `secrethub read {{path/to/secret}}` @@ -15,7 +15,7 @@ `secrethub write --clip {{path/to/secret}}` -- Store a value supplied on stdin as a new or updated secret: +- Store a value supplied on `stdin` as a new or updated secret: `echo "{{secret_value}}" | secrethub write {{path/to/secret}}` diff --git a/pages/common/secretsdump.py.md b/pages/common/secretsdump.py.md new file mode 100644 index 00000000000000..9a117779acc808 --- /dev/null +++ b/pages/common/secretsdump.py.md @@ -0,0 +1,25 @@ +# secretsdump.py + +> Dump NTLM hashes, plaintext passwords, and domain credentials from remote Windows systems. +> Part of the Impacket suite. +> More information: . + +- Dump credentials from a Windows machine using a username and password: + +`secretsdump.py {{domain}}/{{username}}:{{password}}@{{target}}` + +- Dump hashes from a machine using pass-the-hash authentication: + +`secretsdump.py -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}@{{target}}` + +- Dump credentials from Active Directory's NTDS.dit file: + +`secretsdump.py -just-dc {{domain}}/{{username}}:{{password}}@{{target}}` + +- Extract credentials from a local SAM database using registry hives: + +`secretsdump.py -sam {{path/to/SAM}} -system {{path/to/SYSTEM}}` + +- Dump hashes from a machine without providing a password (if a valid authentication session exists, e.g. via Kerberos or NTLM SSO): + +`secretsdump.py -no-pass {{domain}}/{{username}}@{{target}}` diff --git a/pages/common/security-checker.md b/pages/common/security-checker.md index 6fe665425a0101..b7990f38f3431f 100644 --- a/pages/common/security-checker.md +++ b/pages/common/security-checker.md @@ -3,11 +3,11 @@ > Check if a PHP application uses dependencies with known security vulnerabilities. > More information: . -- Look for security issues in the project dependencies (based on the composer.lock file in the current directory): +- Look for security issues in the project dependencies (based on the `composer.lock` file in the current directory): `security-checker security:check` -- Use a specific composer.lock file: +- Use a specific `composer.lock` file: `security-checker security:check {{path/to/composer.lock}}` diff --git a/pages/common/sed.md b/pages/common/sed.md index 6f1b4ad8e97a89..7c6b2b4a97cc49 100644 --- a/pages/common/sed.md +++ b/pages/common/sed.md @@ -1,35 +1,17 @@ # sed > Edit text in a scriptable manner. +> See also: `awk`, `ed`. +> More information: . -- Replace the first occurrence of a regular expression in each line of a file, and print the result: +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`: -`sed 's/{{regex}}/{{replace}}/' {{filename}}` +`{{command}} | sed 's/apple/mango/g'` -- Replace all occurrences of an extended regular expression in a file, and print the result: +- Execute a specific script [f]ile and print the result to `stdout`: -`sed -r 's/{{regex}}/{{replace}}/g' {{filename}}` +`{{command}} | sed -f {{path/to/script.sed}}` -- Replace all occurrences of a string in a file, overwriting the file (i.e. in-place): +- Print just a first line to `stdout`: -`sed -i 's/{{find}}/{{replace}}/g' {{filename}}` - -- Replace only on lines matching the line pattern: - -`sed '/{{line_pattern}}/s/{{find}}/{{replace}}/' {{filename}}` - -- Delete lines matching the line pattern: - -`sed '/{{line_pattern}}/d' {{filename}}` - -- Print the first 11 lines of a file: - -`sed 11q {{filename}}` - -- Apply multiple find-replace expressions to a file: - -`sed -e 's/{{find}}/{{replace}}/' -e 's/{{find}}/{{replace}}/' {{filename}}` - -- Replace separator / by any other character not used in the find or replace patterns, e.g., #: - -`sed 's#{{find}}#{{replace}}#' {{filename}}` +`{{command}} | sed -n '1p'` diff --git a/pages/common/select.md b/pages/common/select.md new file mode 100644 index 00000000000000..218b5ecb834a89 --- /dev/null +++ b/pages/common/select.md @@ -0,0 +1,20 @@ +# select + +> Bash builtin construct for creating menus. +> More information: . + +- Create a menu out of individual words: + +`select {{word}} in {{apple orange pear banana}}; do echo ${{word}}; done` + +- Create a menu from the output of another command: + +`select {{line}} in $({{command}}); do echo ${{line}}; done` + +- Specify the prompt string for `select` and create a menu for picking a file or folder from the current directory: + +`PS3="{{Select a file: }}"; select {{file}} in *; do echo ${{file}}; done` + +- Create a menu from a Bash array: + +`{{fruits}}=({{apple orange pear banana}}); select {{word}} in ${{{fruits[@]}}}; do echo ${{word}}; done` diff --git a/pages/common/semver.md b/pages/common/semver.md new file mode 100644 index 00000000000000..a7326fa1e78da9 --- /dev/null +++ b/pages/common/semver.md @@ -0,0 +1,24 @@ +# semver + +> Semantic version string parser. +> More information: . + +- Check if a version string respects the semantic versioning format (prints an empty string if it does not match): + +`semver {{1.2}}` + +- Convert a version string to the semantic versioning format: + +`semver --coerce {{1.2}}` + +- Test if `1.2.3` matches the `^1.0` range (prints an empty string if it does not match): + +`semver {{1.2.3}} --range "{{^1.0}}"` + +- Test with multiple ranges: + +`semver {{1.2.3}} --range "{{>=1.0}}" "{{<2.0}}"` + +- Test multiple version strings and return only the ones that match: + +`semver {{1.2.3}} {{2.0.0}} --range "{{^1.0}}"` diff --git a/pages/common/sendmail.md b/pages/common/sendmail.md index 932241182457f8..eb1665892560ae 100644 --- a/pages/common/sendmail.md +++ b/pages/common/sendmail.md @@ -1,15 +1,16 @@ # sendmail -> Send email from the command line. +> Send email. +> More information: . -- Send a message with the content of message.txt to the mail directory of local user `username`: +- Send a message with the content of `message.txt` to the mail directory of local user `username`: -`sendmail {{username}} < {{message.txt}}` +`sendmail < {{message.txt}} {{username}}` - Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt`: -`sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{message.txt}}` +`sendmail < {{message.txt}} -f {{you@yourdomain.com}} {{test@gmail.com}}` - Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the file `file.zip`: -`sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{file.zip}}` +`sendmail < {{file.zip}} -f {{you@yourdomain.com}} {{test@gmail.com}}` diff --git a/pages/common/seq.md b/pages/common/seq.md index 29482962d2aa83..6d09640275bce1 100644 --- a/pages/common/seq.md +++ b/pages/common/seq.md @@ -1,6 +1,7 @@ # seq > Output a sequence of numbers to `stdout`. +> More information: . - Sequence from 1 to 10: @@ -12,8 +13,8 @@ - Separate the output with a space instead of a newline: -`seq -s " " 5 3 20` +`seq {{[-s|--separator]}} " " 5 3 20` - Format output width to a minimum of 4 digits padding with zeros as necessary: -`seq -f "%04g" 5 3 20` +`seq {{[-f|--format]}} "%04g" 5 3 20` diff --git a/pages/common/sequelize.md b/pages/common/sequelize.md index 2777250807d2a4..5d5fd0db527ce1 100644 --- a/pages/common/sequelize.md +++ b/pages/common/sequelize.md @@ -1,7 +1,7 @@ # sequelize > Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. -> More information: . +> More information: . - Create a model with 3 fields and a migration file: diff --git a/pages/common/serialver.md b/pages/common/serialver.md new file mode 100644 index 00000000000000..0de84dde491fb7 --- /dev/null +++ b/pages/common/serialver.md @@ -0,0 +1,17 @@ +# serialver + +> Returns the serialVersionUID of classes. +> It does not set a security manager by default. +> More information: . + +- Display the serialVersionUID of a class: + +`serialver {{classnames}}` + +- Display the serialVersionUID for a colon-separated list of classes and resources: + +`serialver -classpath {{path/to/directory}} {{classname1:classname2:...}}` + +- Use a specific option from reference page of Java application launcher to the Java Virtual Machine: + +`serialver -Joption {{classnames}}` diff --git a/pages/common/serve.md b/pages/common/serve.md new file mode 100644 index 00000000000000..69bbab9cb6bb13 --- /dev/null +++ b/pages/common/serve.md @@ -0,0 +1,32 @@ +# serve + +> Static file serving and directory listing. +> More information: . + +- Start an HTTP server listening on the default port to serve the current directory: + +`serve` + +- Start an HTTP server on a specific [p]ort to serve a specific directory: + +`serve -p {{port}} {{path/to/directory}}` + +- Start an HTTP server with CORS enabled by including the `Access-Control-Allow-Origin: *` header in all responses: + +`serve {{[-C|--cors]}}` + +- Start an HTTP server on the default port rewriting all not-found requests to the `index.html` file: + +`serve {{[-s|--single]}}` + +- Start an HTTPS server on the default port using the specified certificate: + +`serve --ssl-cert {{path/to/cert.pem}} --ssl-key {{path/to/key.pem}}` + +- Start an HTTP server on the default port using a specific configuration file: + +`serve {{[-c|--config]}} {{path/to/serve.json}}` + +- Display help: + +`serve --help` diff --git a/pages/common/serverless.md b/pages/common/serverless.md index fb46fe7a063f7e..3897638a926826 100644 --- a/pages/common/serverless.md +++ b/pages/common/serverless.md @@ -1,8 +1,8 @@ # serverless > Toolkit for deploying and operating serverless architectures on AWS, Google Cloud, Azure and IBM OpenWhisk. -> Commands can be run either using the `serverless` command or it's alias, `sls`. -> More information: . +> Commands can be run either using the `serverless` command or its alias, `sls`. +> More information: . - Create a serverless project: @@ -26,4 +26,4 @@ - Follow the logs for a project: -`serverless logs -t` +`serverless logs {{[-t|--tail]}}` diff --git a/pages/common/set-nodeinstalllocation.md b/pages/common/set-nodeinstalllocation.md new file mode 100644 index 00000000000000..d29438e19d4ea1 --- /dev/null +++ b/pages/common/set-nodeinstalllocation.md @@ -0,0 +1,9 @@ +# Set-NodeInstallLocation + +> Set the default Node.js installation directory for `ps-nvm`. +> This command is part of `ps-nvm` and can only be run under PowerShell. +> More information: . + +- Change the Node.js install location to a specified directory (`ps-nvm` will create a new `.nvm` subdirectory to install them): + +`Set-NodeInstallLocation {{path/to/directory}}` diff --git a/pages/common/set-nodeversion.md b/pages/common/set-nodeversion.md new file mode 100644 index 00000000000000..5d0b65010943de --- /dev/null +++ b/pages/common/set-nodeversion.md @@ -0,0 +1,21 @@ +# Set-NodeVersion + +> Set the default Node.js version for `ps-nvm`. +> Part of `ps-nvm` and can only be run under PowerShell. +> More information: . + +- Use a specific version of Node.js in the current PowerShell session: + +`Set-NodeVersion {{node_version}}` + +- Use the latest installed Node.js version 20.x: + +`Set-NodeVersion ^20` + +- Set the default Node.js version for the current user (only applies to future PowerShell sessions): + +`Set-NodeVersion {{node_version}} -Persist User` + +- Set the default Node.js version for all users (must be run as Administrator/root and only applies to future PowerShell sessions): + +`Set-NodeVersion {{node_version}} -Persist Machine` diff --git a/pages/common/set.md b/pages/common/set.md index 7246dbf393a95c..e929134bc25ff9 100644 --- a/pages/common/set.md +++ b/pages/common/set.md @@ -1,19 +1,36 @@ # set -> Display, set or unset values of shell attributes and positional parameters. +> Toggle shell options or set the values of positional parameters. +> More information: . - Display the names and values of shell variables: `set` -- Mark variables that are modified or created for export: +- Export newly initialized variables to child processes: `set -a` -- Notify of job termination immediately: +- Write formatted messages to `stderr` when jobs finish: `set -b` -- Set various options, e.g. enable `vi` style line editing: +- Write and edit text in the command-line with `vi`-like keybindings (e.g. `yy`): `set -o {{vi}}` + +- Return to default mode: + +`set -o {{emacs}}` + +- List all modes: + +`set -o` + +- Exit the shell when (some) command fails: + +`set -e` + +- Reset all shell parameters and assign new ones: + +`set -- {{argument1 argument2 ...}}` diff --git a/pages/common/sf.md b/pages/common/sf.md new file mode 100644 index 00000000000000..9e3dbcc22881e6 --- /dev/null +++ b/pages/common/sf.md @@ -0,0 +1,36 @@ +# sf + +> A powerful command-line interface that simplifies development and build automation when working with your Salesforce org. +> More information: . + +- Authorize a Salesforce Organization: + +`sf force:auth:web:login --setalias {{organization}} --instanceurl {{organization_url}}` + +- List all authorized organizations: + +`sf force:org:list` + +- Open a specific organization in the default web browser: + +`sf force:org:open --targetusername {{organization}}` + +- Display information about a specific organization: + +`sf force:org:display --targetusername {{organization}}` + +- Push source metadata to an Organization: + +`sf force:source:push --targetusername {{organization}}` + +- Pull source metadata from an Organization: + +`sf force:source:pull --targetusername {{organization}}` + +- Generate a password for the organization's logged-in user: + +`sf force:user:password:generate --targetusername {{organization}}` + +- Assign a permission set for the organization's logged-in user: + +`sf force:user:permset:assign --permsetname {{permission_set_name}} --targetusername {{organization}}` diff --git a/pages/common/sfdk-apply.md b/pages/common/sfdk-apply.md new file mode 100644 index 00000000000000..57992e48419270 --- /dev/null +++ b/pages/common/sfdk-apply.md @@ -0,0 +1,12 @@ +# sfdk apply + +> Applies patches from RPM SPEC file. +> More information: . + +- Apply all patches: + +`sfdk apply` + +- Reverse apply all patches: + +`sfdk apply -R` diff --git a/pages/common/sfdk-build-init.md b/pages/common/sfdk-build-init.md new file mode 100644 index 00000000000000..dcc0f50ce1d3f7 --- /dev/null +++ b/pages/common/sfdk-build-init.md @@ -0,0 +1,12 @@ +# sfdk build-init + +> Initializes build directory. +> More information: . + +- Initialize the current directory as the build directory: + +`sfdk build-init` + +- Initialize the specified directory as the build directory: + +`sfdk build-init {{directory}}` diff --git a/pages/common/sfdk-build-requires.md b/pages/common/sfdk-build-requires.md new file mode 100644 index 00000000000000..08ad24511317bc --- /dev/null +++ b/pages/common/sfdk-build-requires.md @@ -0,0 +1,24 @@ +# sfdk build-requires + +> Updates build time dependencies. +> More information: . + +- Run a subcommand refreshing the cache: + +`sfdk build-requires --refresh {{subcommand}}` + +- Run a subcommand without refreshing the cache: + +`sfdk build-requires --no-refresh {{subcommand}}` + +- Install or update the build-time dependencies: + +`sfdk build-requires pull` + +- Install or update the build-time dependencies, omitting all extra ones: + +`sfdk build-requires reset` + +- Show the difference between current and clean build environments: + +`sfdk build-requires diff` diff --git a/pages/common/sfdk-build-shell.md b/pages/common/sfdk-build-shell.md new file mode 100644 index 00000000000000..28641430fb96d8 --- /dev/null +++ b/pages/common/sfdk-build-shell.md @@ -0,0 +1,17 @@ +# sfdk build-shell + +> Executes custom steps in build engine. +> See also: `sfdk config` for configuring the build target and `sfdk build-init` for initializing build tree. +> More information: . + +- Launch interactive shell in the build engine: + +`sfdk build-shell` + +- Run a specified command in the build shell: + +`sfdk build-shell {{command}}` + +- Launch interactive shell in the build engine in maintenance mode, when inspecting or modifying the build environment: + +`sfdk build-shell --maintain` diff --git a/pages/common/sfdk-check.md b/pages/common/sfdk-check.md new file mode 100644 index 00000000000000..b84ba234310c76 --- /dev/null +++ b/pages/common/sfdk-check.md @@ -0,0 +1,28 @@ +# sfdk check + +> Performs quality checks. +> More information: . + +- Display test suites: + +`sfdk check --list-suites` + +- Run all or essential test suites: + +`sfdk check` + +- Add testing level to the check: + +`sfdk check {{[-l|--levels]}} +{{level}}` + +- Remove testing level from the check: + +`sfdk check {{[-l|--levels]}} -{{level}}` + +- Add testing suite to the check: + +`sfdk check {{[-s|--suites]}} +{{suite}}` + +- Remove testing suite from the check: + +`sfdk check {{[-s|--suites]}} -{{suite}}` diff --git a/pages/common/sfdk-cmake.md b/pages/common/sfdk-cmake.md new file mode 100644 index 00000000000000..2e0e3a4e06c865 --- /dev/null +++ b/pages/common/sfdk-cmake.md @@ -0,0 +1,28 @@ +# sfdk cmake + +> Executes cmake build step. +> More information: . + +- Run cmake: + +`sfdk cmake` + +- Run cmake in specified project directory: + +`sfdk cmake {{project}}` + +- Run cmake with extra arguments: + +`sfdk cmake -- {{arguments}}` + +- Run cmake build in current directory: + +`sfdk cmake --build .` + +- Run cmake build in current directory with extra cmake arguments: + +`sfdk cmake --build . {{cmake-arguments}}` + +- Run cmake build in current directory with extra build tool arguments: + +`sfdk cmake --build . -- {{build-tool-arguments}}` diff --git a/pages/common/sfdk-compiledb.md b/pages/common/sfdk-compiledb.md new file mode 100644 index 00000000000000..36b80106ace2ec --- /dev/null +++ b/pages/common/sfdk-compiledb.md @@ -0,0 +1,12 @@ +# sfdk compiledb + +> Generate compilation database. +> More information: . + +- Generate compilation database: + +`sfdk compiledb` + +- Generate compilation database with extra `make` arguments: + +`sfdk compiledb {{arguments}}` diff --git a/pages/common/sfdk-config.md b/pages/common/sfdk-config.md new file mode 100644 index 00000000000000..b7f34fccf154a7 --- /dev/null +++ b/pages/common/sfdk-config.md @@ -0,0 +1,28 @@ +# sfdk config + +> Configures sfdk. +> More information: . + +- Show configuration in all scopes: + +`sfdk config --show` + +- Set a configuration value: + +`sfdk config {{name}}={{value}}` + +- Mask an option as empty: + +`sfdk config {{name}}=` + +- Mask an option as empty without pushing it at the inner scope: + +`sfdk config {{name}}` + +- Clear option value: + +`sfdk --drop {{name}}` + +- Run subcommand in specified scope (`global`, `session` or `command`): + +`sfdk config --{{scope}} {{subcommand}}` diff --git a/pages/common/sfdk-deploy.md b/pages/common/sfdk-deploy.md new file mode 100644 index 00000000000000..360a9a49ad3e1d --- /dev/null +++ b/pages/common/sfdk-deploy.md @@ -0,0 +1,24 @@ +# sfdk deploy + +> Deploys build results to a device. +> More information: . + +- Deploy using a specified method (`pkcon`, `rsync`, `sdk`, `zypper`, `zypper-dup` or `manual`): + +`sfdk deploy --{{method}}` + +- Preview deploy without applying the changes: + +`sfdk deploy --{{method}} {{[-n|--dry-run]}}` + +- Deploy files in glob pattern `package*`: + +`sfdk deploy --{{method}} "+package*"` + +- Deploy all files excluding `ignore*`: + +`sfdk deploy --{{method}} "-ignore*"` + +- Undeploy using a specified method (`pkcon`, `rpm`, `rsync`, `sdk` or `zypper`): + +`sfdk undeploy --{{method}}` diff --git a/pages/common/sfdk-device.md b/pages/common/sfdk-device.md new file mode 100644 index 00000000000000..70024293a362db --- /dev/null +++ b/pages/common/sfdk-device.md @@ -0,0 +1,16 @@ +# sfdk device + +> Maintains and controls registered devices. +> More information: . + +- Display the registered devices: + +`sfdk device list` + +- Execute a command on a device by name or index: + +`sfdk device exec {{device-name-or-idx}} {{command}}` + +- Run an interactive shell on a device by name or index: + +`sfdk device exec {{device-name-or-idx}}` diff --git a/pages/common/sfdk-emulator-device-model-list.md b/pages/common/sfdk-emulator-device-model-list.md new file mode 100644 index 00000000000000..6a7b90b4c9a36d --- /dev/null +++ b/pages/common/sfdk-emulator-device-model-list.md @@ -0,0 +1,7 @@ +# sfdk emulator device-model-list + +> This command has been moved to `sfdk emulator device-model-show`. + +- View documentation for `sfdk emulator device-model-show`: + +`tldr sfdk emulator device-model-show` diff --git a/pages/common/sfdk-emulator-device-model-show.md b/pages/common/sfdk-emulator-device-model-show.md new file mode 100644 index 00000000000000..197f7985d4d0e0 --- /dev/null +++ b/pages/common/sfdk-emulator-device-model-show.md @@ -0,0 +1,12 @@ +# sfdk emulator device-model-show + +> Show emulated device model's properties. +> More information: . + +- Show a model properties: + +`sfdk emulator device-model-show {{model}}` + +- Display available device models: + +`sfdk emulator device-model-list` diff --git a/pages/common/sfdk-emulator-install.md b/pages/common/sfdk-emulator-install.md new file mode 100644 index 00000000000000..654b222a8f9ccd --- /dev/null +++ b/pages/common/sfdk-emulator-install.md @@ -0,0 +1,20 @@ +# sfdk emulator install + +> Installs emulators. +> More information: . + +- Install an emulator: + +`sfdk emulator install {{name}}` + +- Remove an emulator: + +`sfdk emulator remove {{name}}` + +- Display the available emulators: + +`sfdk emulator list {{[-a|--available]}}` + +- Display the installed emulators: + +`sfdk emulator list` diff --git a/pages/common/sfdk-emulator-remove.md b/pages/common/sfdk-emulator-remove.md new file mode 100644 index 00000000000000..996e2245ffdd46 --- /dev/null +++ b/pages/common/sfdk-emulator-remove.md @@ -0,0 +1,7 @@ +# sfdk emulator remove + +> This command has been moved to `sfdk emulator install`. + +- View documentation for `sfdk emulator install`: + +`tldr sfdk emulator install` diff --git a/pages/common/sfdk-emulator.md b/pages/common/sfdk-emulator.md new file mode 100644 index 00000000000000..c5013fe68f3c95 --- /dev/null +++ b/pages/common/sfdk-emulator.md @@ -0,0 +1,36 @@ +# sfdk emulator + +> Maintains and controls emulators. +> More information: . + +- Display the installed emulators: + +`sfdk emulator list` + +- Start an emulator: + +`sfdk emulator start {{name}}` + +- Stop an emulator: + +`sfdk emulator stop {{name}}` + +- Display emulator status: + +`sfdk emulator status {{name}}` + +- Run an interactive shell on an emulator: + +`sfdk emulator exec {{emulator}}` + +- Execute a command on an emulator: + +`sfdk emulator exec {{emulator}} {{command}}` + +- Set a property: + +`sfdk emulator set {{name}} {{property}}={{value}}` + +- Show emulator properties: + +`sfdk emulator show {{name}}` diff --git a/pages/common/sfdk-engine.md b/pages/common/sfdk-engine.md new file mode 100644 index 00000000000000..7591c14f321ec8 --- /dev/null +++ b/pages/common/sfdk-engine.md @@ -0,0 +1,32 @@ +# sfdk engine + +> Maintains and controls the build engine. +> More information: . + +- Start the build engine: + +`sfdk engine start` + +- Stop the build engine: + +`sfdk engine stop` + +- Show the build engine status: + +`sfdk engine status` + +- Set an engine property: + +`sfdk engine set {{property}}={{value}}` + +- Show the engine properties: + +`sfdk engine show` + +- Execute a command on the build engine: + +`sfdk engine exec {{command}}` + +- Start an interactive shell on the build engine: + +`sfdk engine exec` diff --git a/pages/common/sfdk-init.md b/pages/common/sfdk-init.md new file mode 100644 index 00000000000000..6cccb88f5b5e9b --- /dev/null +++ b/pages/common/sfdk-init.md @@ -0,0 +1,20 @@ +# sfdk init + +> Initializes a new project. +> More information: . + +- Initialize a new project of the given type: + +`sfdk init {{[-t|--type]}} {{type}}` + +- Initialize a new project with a specified builder: + +`sfdk init {{[-t|--type]}} {{type}} {{[-b|--builder]}} {{builder}}` + +- Initialize a new project ignoring non-empty directory: + +`sfdk init {{[-t|--type]}} {{type}} --force` + +- List available project types: + +`sfdk init {{[-l|--list-types]}}` diff --git a/pages/common/sfdk-maintain.md b/pages/common/sfdk-maintain.md new file mode 100644 index 00000000000000..e80e731b6e827c --- /dev/null +++ b/pages/common/sfdk-maintain.md @@ -0,0 +1,8 @@ +# sfdk maintain + +> Launches the interactive SDK Maintenance tool. +> More information: . + +- Launch SDK Maintenance tool: + +`sfdk maintain` diff --git a/pages/common/sfdk-make-install.md b/pages/common/sfdk-make-install.md new file mode 100644 index 00000000000000..ac133b2c4bfdac --- /dev/null +++ b/pages/common/sfdk-make-install.md @@ -0,0 +1,8 @@ +# sfdk make-install + +> Executes make-install build step. +> More information: . + +- Run make-install section of RPM SPEC file: + +`sfdk make-install` diff --git a/pages/common/sfdk-make.md b/pages/common/sfdk-make.md new file mode 100644 index 00000000000000..f99bc0f5efe69b --- /dev/null +++ b/pages/common/sfdk-make.md @@ -0,0 +1,12 @@ +# sfdk make + +> Executes make build step. +> More information: . + +- Run make build: + +`sfdk make` + +- Run make with extra arguments: + +`sfdk make {{arguments}}` diff --git a/pages/common/sfdk-package.md b/pages/common/sfdk-package.md new file mode 100644 index 00000000000000..7608605ea3bfa2 --- /dev/null +++ b/pages/common/sfdk-package.md @@ -0,0 +1,16 @@ +# sfdk package + +> Executes package creation build step. +> More information: . + +- Create a package: + +`sfdk package` + +- Create a package without executing the check section in RPM SPEC file: + +`sfdk package --no-check` + +- Create and sign a package: + +`sfdk package --sign` diff --git a/pages/common/sfdk-prepare.md b/pages/common/sfdk-prepare.md new file mode 100644 index 00000000000000..43316ab7b1df66 --- /dev/null +++ b/pages/common/sfdk-prepare.md @@ -0,0 +1,8 @@ +# sfdk prepare + +> Executes preparation build step. +> More information: . + +- Prepare sources using the recipe from RPM SPEC file: + +`sfdk prepare` diff --git a/pages/common/sfdk-qmake.md b/pages/common/sfdk-qmake.md new file mode 100644 index 00000000000000..f9853d6fd90238 --- /dev/null +++ b/pages/common/sfdk-qmake.md @@ -0,0 +1,20 @@ +# sfdk qmake + +> Executes qmake build step. +> More information: . + +- Run qmake build: + +`sfdk qmake` + +- Run shadow qmake build in a specified project: + +`sfdk qmake {{project}}` + +- Run build with extra qmake arguments: + +`sfdk qmake -- {{arguments}}` + +- Run shadow qmake build with extra qmake arguments: + +`sfdk qmake {{project}} {{arguments}}` diff --git a/pages/common/sfdk-qmltypes.md b/pages/common/sfdk-qmltypes.md new file mode 100644 index 00000000000000..b59745be76b5f8 --- /dev/null +++ b/pages/common/sfdk-qmltypes.md @@ -0,0 +1,24 @@ +# sfdk qmltypes + +> Generate qmltypes files. +> More information: . + +- Generate qmltypes files: + +`sfdk qmltypes` + +- Generate qmltypes files without deploying them (usually to emulator): + +`sfdk qmltypes --no-deploy` + +- Generate qmltypes files without restoring the emulator after deployment: + +`sfdk qmltypes --no-restore-emulator` + +- Generate qmltypes files and restore the emulator after deployment even on failure: + +`sfdk qmltypes --restore-emulator` + +- Generate qmltypes files without reverting changes which only include removal of statements with `sdk-make-qmltypes:keep` in comments: + +`sfdk qmltypes --no-keep` diff --git a/pages/common/sfdk-scrape.md b/pages/common/sfdk-scrape.md new file mode 100644 index 00000000000000..66c89ef4e0b857 --- /dev/null +++ b/pages/common/sfdk-scrape.md @@ -0,0 +1,24 @@ +# sfdk scrape + +> Converts source code modifications to patches. +> More information: . + +- Save source modifications as patches: + +`sfdk scrape` + +- Preview the list of commits to be scrapped: + +`sfdk scrape {{[-n|--dry-run]}}` + +- Scrape while preserving the original patches file names: + +`sfdk scrape --stable` + +- Scrape while saving patches to a specified [o]utput directory: + +`sfdk scrape {{[-o|--output-dir]}} {{directory}}` + +- Scrape without removing commits from submodules after creating patches: + +`sfdk scrape --keep` diff --git a/pages/common/sfdk-undeploy.md b/pages/common/sfdk-undeploy.md new file mode 100644 index 00000000000000..e3258751344a6e --- /dev/null +++ b/pages/common/sfdk-undeploy.md @@ -0,0 +1,20 @@ +# sfdk undeploy + +> Undeploys build results from a device. +> More information: . + +- Undeploy using a specified method (`pkcon`, `rpm`, `rsync`, `sdk` or `zypper`): + +`sfdk undeploy --{{method}}` + +- Preview undeploy without applying the changes: + +`sfdk undeploy --{{method}} {{[-n|--dry-run]}}` + +- Undeploy files in glob pattern `package*`: + +`sfdk undeploy --{{method}} "+package*"` + +- Undeploy all files excluding `ignore*`: + +`sfdk undeploy --{{method}} "-ignore*"` diff --git a/pages/common/sfdk.md b/pages/common/sfdk.md new file mode 100644 index 00000000000000..ec9af8aa3838c8 --- /dev/null +++ b/pages/common/sfdk.md @@ -0,0 +1,28 @@ +# sfdk + +> The command line frontend of the Sailfish SDK. +> More information: . + +- Execute a subcommand: + +`sfdk {{subcommand}}` + +- Execute a subcommand on a custom working directory: + +`git -C {{path/to/directory}} {{subcommand}}` + +- Execute a subcommand with a given configuration set: + +`git -c '{{name}}={{value}}' {{subcommand}}` + +- Display help: + +`sfdk {{[-h|--help]}}` + +- Display help for specific topic (`building`, `testing`, `maintaining`, `ide`, `all`): + +`sfdk --help-{{topic}}` + +- Display version: + +`sfdk --version` diff --git a/pages/common/sfdp.md b/pages/common/sfdp.md new file mode 100644 index 00000000000000..b783c641999804 --- /dev/null +++ b/pages/common/sfdp.md @@ -0,0 +1,25 @@ +# sfdp + +> Render an image of a `scaled force-directed` network graph from a `graphviz` file. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> More information: . + +- Render a PNG image with a filename based on the input filename and output format (uppercase -O): + +`sfdp -T {{png}} -O {{path/to/input.gv}}` + +- Render a SVG image with the specified output filename (lowercase -o): + +`sfdp -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}` + +- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format: + +`sfdp -T {{format}} -O {{path/to/input.gv}}` + +- Render a GIF image using `stdin` and `stdout`: + +`echo "{{digraph {this -> that} }}" | sfdp -T {{gif}} > {{path/to/image.gif}}` + +- Display help: + +`sfdp -?` diff --git a/pages/common/sftp.md b/pages/common/sftp.md index e3a94f39a92bd7..7cd0f8099d38c5 100644 --- a/pages/common/sftp.md +++ b/pages/common/sftp.md @@ -3,6 +3,7 @@ > Secure File Transfer Program. > Interactive program to copy files between hosts over SSH. > For non-interactive file transfers, see `scp` or `rsync`. +> More information: . - Connect to a remote server and enter an interactive command mode: @@ -12,17 +13,21 @@ `sftp -P {{remote_port}} {{remote_user}}@{{remote_host}}` +- Connect using a predefined host (in `~/.ssh/config`): + +`sftp {{host}}` + - Transfer remote file to the local system: -`get {{/path/remote_file}}` +`get {{path/to/remote_file}}` - Transfer local file to the remote system: -`put {{/path/local_file}}` +`put {{path/to/local_file}}` - Transfer remote directory to the local system recursively (works with `put` too): -`get -R {{/path/remote_directory}}` +`get -R {{path/to/remote_directory}}` - Get list of files on local machine: diff --git a/pages/common/sg.md b/pages/common/sg.md new file mode 100644 index 00000000000000..24f28da89c666f --- /dev/null +++ b/pages/common/sg.md @@ -0,0 +1,20 @@ +# sg + +> Ast-grep is a tool for code structural search, lint, and rewriting. +> More information: . + +- Scan for possible queries using interactive mode: + +`sg scan --interactive` + +- Rewrite code in the current directory using patterns: + +`sg run --pattern '{{foo}}' --rewrite '{{bar}}' --lang {{python}}` + +- Visualize possible changes without applying them: + +`sg run --pattern '{{useState($A)}}' --rewrite '{{useState($A)}}' --lang {{typescript}}` + +- Output results as JSON, extract information using `jq` and interactively view it using `jless`: + +`sg run --pattern '{{Some($A)}}' --rewrite '{{None}}' --json | jq '{{.[].replacement}}' | jless` diff --git a/pages/common/sg_raw.md b/pages/common/sg_raw.md new file mode 100644 index 00000000000000..aeec1074667c62 --- /dev/null +++ b/pages/common/sg_raw.md @@ -0,0 +1,36 @@ +# sg_raw + +> Send arbitrary SCSI command to a connected device. +> More information: . + +- Send a command to an optical SCSI device assigned to `sr0` to load the media in its tray: + +`sg_raw /dev/sr0 EA 00 00 00 00 01` + +- Read data from `IFILE` instead of `stdin`: + +`sg_raw {{[-i|--infile]}} {{path/to/IFILE}} {{/dev/sgX}} {{SCSI_command}}` + +- Skip the first `LEN` bytes of input data: + +`sg_raw {{[-k|--skip]}} {{LEN}} {{/dev/sgX}} {{SCSI_command}}` + +- Read `SLEN` bytes of data and send to the device: + +`sg_raw {{[-s|--send]}} {{SLEN}} {{/dev/sgX}} {{SCSI_command}}` + +- Wait up to `SEC` seconds for `sg_raw` to finish processing: + +`sg_raw {{[-t|--timeout]}} {{SEC}} {{/dev/sgX}} {{SCSI_command}}` + +- Increase verbosity level by 1: + +`sg_raw {{[-v|--verbose]}} {{/dev/sgX}} {{SCSI_command}}` + +- Dump returned data in binary form: + +`sg_raw {{[-b|--binary]}} {{/dev/sgX}} {{SCSI_command}}` + +- Write data received from the specified device to an `OFILE`: + +`sg_raw {{[-o|--outfile]}} {{path/to/OFILE}} {{/dev/sgX}} {{SCSI_command}}` diff --git a/pages/common/sgitopnm.md b/pages/common/sgitopnm.md new file mode 100644 index 00000000000000..706a4a587d8d1c --- /dev/null +++ b/pages/common/sgitopnm.md @@ -0,0 +1,16 @@ +# sgitopnm + +> Convert an SGI file to a PNM file. +> More information: . + +- Convert an SGI image to a PNM file: + +`sgitopnm {{path/to/input.sgi}} > {{path/to/output.pnm}}` + +- Display information about the SGI file: + +`sgitopnm {{[-verb|-verbose]}} {{path/to/input.sgi}} > {{path/to/output.pnm}}` + +- Extract channel n of the SGI file: + +`sgitopnm {{[-c|-channel]}} {{n}} {{path/to/input.sgi}} > {{path/to/output.pnm}}` diff --git a/pages/common/sgpt.md b/pages/common/sgpt.md new file mode 100644 index 00000000000000..7ac6ebca7cdb93 --- /dev/null +++ b/pages/common/sgpt.md @@ -0,0 +1,28 @@ +# sgpt + +> Productivity tool powered by OpenAI's GPT models. +> More information: . + +- Use it as a search engine, asking for the mass of the sun: + +`sgpt "{{mass of the sun}}"` + +- Execute Shell commands, and apply `chmod 444` to all files in the current directory: + +`sgpt --shell "{{make all files in current directory read only}}"` + +- Generate code, solving classic fizz buzz problem: + +`sgpt --code "{{solve fizz buzz problem using Python}}"` + +- Start a chat session with a unique session name: + +`sgpt --chat {{session_name}} "{{please remember my favorite number: 4}}"` + +- Start a `REPL` (Read-eval-print loop) session: + +`sgpt --repl {{command}}` + +- Display help: + +`sgpt --help` diff --git a/pages/common/sh.md b/pages/common/sh.md index 9537d711465cfd..5d0265b6c718f9 100644 --- a/pages/common/sh.md +++ b/pages/common/sh.md @@ -1,20 +1,21 @@ # sh -> Bourne shell. -> The standard command language interpreter. +> Bourne shell, the standard command language interpreter. +> See also: `histexpand` for history expansion. +> More information: . -- Start interactive shell: +- Start an interactive shell session: `sh` -- Execute a command: +- Execute a command and then exit: -`sh -c {{command}}` +`sh -c "{{command}}"` -- Run commands from a file: +- Execute a script: -`sh {{file.sh}}` +`sh {{path/to/script.sh}}` -- Run commands from `stdin`: +- Read and execute commands from `stdin`: `sh -s` diff --git a/pages/common/sha1sum.md b/pages/common/sha1sum.md index 0459447001286f..1699904eb1ebac 100644 --- a/pages/common/sha1sum.md +++ b/pages/common/sha1sum.md @@ -1,23 +1,32 @@ # sha1sum > Calculate SHA1 cryptographic checksums. +> More information: . -- Calculate the SHA1 checksum for a file: +- Calculate the SHA1 checksum for one or more files: -`sha1sum {{filename1}}` +`sha1sum {{path/to/file1 path/to/file2 ...}}` -- Calculate SHA1 checksums for multiple files: +- Calculate and save the list of SHA1 checksums to a file: -`sha1sum {{filename1}} {{filename2}}` +`sha1sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha1}}` -- Calculate and save the list of SHA1 checksums to a file: +- Calculate a SHA1 checksum from `stdin`: + +`{{command}} | sha1sum` + +- Read a file of SHA1 checksums and filenames and verify all files have matching checksums: + +`sha1sum {{[-c|--check]}} {{path/to/file.sha1}}` + +- Only show a message for missing files or when verification fails: -`sha1sum {{filename1}} {{filename2}} > {{filename.sha1}}` +`sha1sum {{[-c|--check]}} --quiet {{path/to/file.sha1}}` -- Read a file of SHA1 sums and verify all files have matching checksums: +- Only show a message when verification fails, ignoring missing files: -`sha1sum --check {{filename.sha1}}` +`sha1sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.sha1}}` -- Only show a message for files for which verification fails: +- Check a known SHA1 checksum of a file: -`sha1sum --check --quiet {{filename.sha1}}` +`echo {{known_sha1_checksum_of_the_file}} {{path/to/file}} | sha1sum {{[-c|--check]}}` diff --git a/pages/common/sha224sum.md b/pages/common/sha224sum.md index 336de65799e870..97c8ce28880bf1 100644 --- a/pages/common/sha224sum.md +++ b/pages/common/sha224sum.md @@ -1,23 +1,32 @@ # sha224sum > Calculate SHA224 cryptographic checksums. +> More information: . -- Calculate the SHA224 checksum for a file: +- Calculate the SHA224 checksum for one or more files: -`sha224sum {{filename1}}` +`sha224sum {{path/to/file1 path/to/file2 ...}}` -- Calculate SHA224 checksums for multiple files: +- Calculate and save the list of SHA224 checksums to a file: -`sha224sum {{filename1}} {{filename2}}` +`sha224sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha224}}` -- Calculate and save the list of SHA224 checksums to a file: +- Calculate a SHA224 checksum from `stdin`: + +`{{command}} | sha224sum` + +- Read a file of SHA224 checksums and filenames and verify all files have matching checksums: + +`sha224sum {{[-c|--check]}} {{path/to/file.sha224}}` + +- Only show a message for missing files or when verification fails: -`sha224sum {{filename1}} {{filename2}} > {{filename.sha224}}` +`sha224sum {{[-c|--check]}} --quiet {{path/to/file.sha224}}` -- Read a file of SHA224 sums and verify all files have matching checksums: +- Only show a message when verification fails, ignoring missing files: -`sha224sum --check {{filename.sha224}}` +`sha224sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.sha224}}` -- Only show a message for files for which verification fails: +- Check a known SHA224 checksum of a file: -`sha224sum --check --quiet {{filename.sha224}}` +`echo {{known_sha224_checksum_of_the_file}} {{path/to/file}} | sha224sum {{[-c|--check]}}` diff --git a/pages/common/sha256sum.md b/pages/common/sha256sum.md index ea29e9558eb3fb..8d8d813e474980 100644 --- a/pages/common/sha256sum.md +++ b/pages/common/sha256sum.md @@ -1,23 +1,32 @@ # sha256sum > Calculate SHA256 cryptographic checksums. +> More information: . -- Calculate the SHA256 checksum for a file: +- Calculate the SHA256 checksum for one or more files: -`sha256sum {{filename1}}` +`sha256sum {{path/to/file1 path/to/file2 ...}}` -- Calculate SHA256 checksums for multiple files: +- Calculate and save the list of SHA256 checksums to a file: -`sha256sum {{filename1}} {{filename2}}` +`sha256sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}` -- Calculate and save the list of SHA256 checksums to a file: +- Calculate a SHA256 checksum from `stdin`: + +`{{command}} | sha256sum` + +- Read a file of SHA256 checksums and filenames and verify all files have matching checksums: + +`sha256sum {{[-c|--check]}} {{path/to/file.sha256}}` + +- Only show a message for missing files or when verification fails: -`sha256sum {{filename1}} {{filename2}} > {{filename.sha256}}` +`sha256sum {{[-c|--check]}} --quiet {{path/to/file.sha256}}` -- Read a file of SHA256 sums and verify all files have matching checksums: +- Only show a message when verification fails, ignoring missing files: -`sha256sum --check {{filename.sha256}}` +`sha256sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.sha256}}` -- Only show a message for files for which verification fails: +- Check a known SHA256 checksum of a file: -`sha256sum --check --quiet {{filename.sha256}}` +`echo {{known_sha256_checksum_of_the_file}} {{path/to/file}} | sha256sum {{[-c|--check]}}` diff --git a/pages/common/sha384sum.md b/pages/common/sha384sum.md index eb8c8be4ef8fda..4ebd8289d14f56 100644 --- a/pages/common/sha384sum.md +++ b/pages/common/sha384sum.md @@ -1,23 +1,32 @@ # sha384sum > Calculate SHA384 cryptographic checksums. +> More information: . -- Calculate the SHA384 checksum for a file: +- Calculate the SHA384 checksum for one or more files: -`sha384sum {{filename1}}` +`sha384sum {{path/to/file1 path/to/file2 ...}}` -- Calculate SHA384 checksums for multiple files: +- Calculate and save the list of SHA384 checksums to a file: -`sha384sum {{filename1}} {{filename2}}` +`sha384sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha384}}` -- Calculate and save the list of SHA384 checksums to a file: +- Calculate a SHA384 checksum from `stdin`: + +`{{command}} | sha384sum` + +- Read a file of SHA384 checksums and filenames and verify all files have matching checksums: + +`sha384sum {{[-c|--check]}} {{path/to/file.sha384}}` + +- Only show a message for missing files or when verification fails: -`sha384sum {{filename1}} {{filename2}} > {{filename.sha384}}` +`sha384sum {{[-c|--check]}} --quiet {{path/to/file.sha384}}` -- Read a file of SHA384 sums and verify all files have matching checksums: +- Only show a message when verification fails, ignoring missing files: -`sha384sum --check {{filename.sha384}}` +`sha384sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.sha384}}` -- Only show a message for files for which verification fails: +- Check a known SHA384 checksum of a file: -`sha384sum --check --quiet {{filename.sha384}}` +`echo {{known_sha384_checksum_of_the_file}} {{path/to/file}} | sha384sum {{[-c|--check]}}` diff --git a/pages/common/sha512sum.md b/pages/common/sha512sum.md index 004080ef50cd1c..2a723bbd36e722 100644 --- a/pages/common/sha512sum.md +++ b/pages/common/sha512sum.md @@ -1,23 +1,32 @@ # sha512sum > Calculate SHA512 cryptographic checksums. +> More information: . -- Calculate the SHA512 checksum for a file: +- Calculate the SHA512 checksum for one or more files: -`sha512sum {{filename1}}` +`sha512sum {{path/to/file1 path/to/file2 ...}}` -- Calculate SHA512 checksums for multiple files: +- Calculate and save the list of SHA512 checksums to a file: -`sha512sum {{filename1}} {{filename2}}` +`sha512sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha512}}` -- Calculate and save the list of SHA512 checksums to a file: +- Calculate a SHA512 checksum from `stdin`: + +`{{command}} | sha512sum` + +- Read a file of SHA512 checksums and filenames and verify all files have matching checksums: + +`sha512sum {{[-c|--check]}} {{path/to/file.sha512}}` + +- Only show a message for missing files or when verification fails: -`sha512sum {{filename1}} {{filename2}} > {{filename.sha512}}` +`sha512sum {{[-c|--check]}} --quiet {{path/to/file.sha512}}` -- Read a file of SHA512 sums and verify all files have matching checksums: +- Only show a message when verification fails, ignoring missing files: -`sha512sum --check {{filename.sha512}}` +`sha512sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.sha512}}` -- Only show a message for files for which verification fails: +- Check a known SHA512 checksum of a file: -`sha512sum --check --quiet {{filename.sha512}}` +`echo {{known_sha512_checksum_of_the_file}} {{path/to/file}} | sha512sum {{[-c|--check]}}` diff --git a/pages/common/shar.md b/pages/common/shar.md new file mode 100644 index 00000000000000..14632c0e747232 --- /dev/null +++ b/pages/common/shar.md @@ -0,0 +1,8 @@ +# shar + +> Create a shell archive. +> More information: . + +- Create a shell script that when executed extracts the given files from itself: + +`shar {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}` diff --git a/pages/common/shards.md b/pages/common/shards.md index bc070a8f50a2fd..048d4dee5c19da 100644 --- a/pages/common/shards.md +++ b/pages/common/shards.md @@ -3,11 +3,11 @@ > Dependency management tool for the Crystal language. > More information: . -- Create a skeleton shard.yml file: +- Create a skeleton `shard.yml` file: `shards init` -- Install dependencies from a shard.yml file: +- Install dependencies from a `shard.yml` file: `shards install` @@ -19,6 +19,6 @@ `shards list` -- List version of dependency: +- Display version of dependency: `shards version {{path/to/dependency_directory}}` diff --git a/pages/common/shasum.md b/pages/common/shasum.md index 46447f6a15573c..1020aedb315d22 100644 --- a/pages/common/shasum.md +++ b/pages/common/shasum.md @@ -1,31 +1,36 @@ # shasum -> Calculate or check cryptographic SHA checksums. +> Calculate SHA cryptographic checksums. +> More information: . -- Calculate the SHA1 checksum for a file: +- Calculate the SHA1 checksum for one or more files: -`shasum {{filename}}` +`shasum {{path/to/file1 path/to/file2 ...}}` -- Calculate the SHA256 checksum for a file: +- Calculate the SHA checksum for one or more files with the specified algorithm: -`shasum --algorithm 256 {{filename}}` +`shasum --algorithm {{1|224|256|384|512|512224|512256}} {{path/to/file1 path/to/file2 ...}}` -- Calculate the SHA512 checksum for multiple files: +- Calculate a SHA1 checksum from `stdin`: -`shasum --algorithm 512 {{filename1}} {{filename2}}` +`{{command}} | shasum` - Calculate and save the list of SHA256 checksums to a file: -`shasum --algorithm 256 {{filename1}} {{filename2}} > {{filename.sha256}}` +`shasum --algorithm 256 {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}` -- Check a file with a list of sums against the directory's files: +- Read a file of SHA checksums and filenames and verify all files have matching checksums (the algorithm will be automatically detected): -`shasum --check {{list_file}}` +`shasum {{[-c|--check]}} {{path/to/file}}` -- Check a list of sums and only show a message for files for which verification fails: +- Only show a message for missing files or when verification fails: -`shasum --check --quiet {{list_file}}` +`shasum {{[-c|--check]}} --quiet {{path/to/file}}` -- Calculate the SHA1 checksum from `stdin`: +- Only show a message when verification fails, ignoring missing files: -`{{somecommand}} | shasum` +`shasum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file}}` + +- Check a known SHA checksum of a file: + +`echo {{known_sha_checksum_of_the_file}} {{path/to/file}} | shasum {{[-c|--check]}}` diff --git a/pages/common/shc.md b/pages/common/shc.md index 14e7fcd78f6847..9cab01d0215d24 100644 --- a/pages/common/shc.md +++ b/pages/common/shc.md @@ -1,6 +1,7 @@ # shc > Generic shell script compiler. +> More information: . - Compile a shell script: diff --git a/pages/common/shellcheck.md b/pages/common/shellcheck.md index 88704e9a15bb68..d3ffd82ce85579 100644 --- a/pages/common/shellcheck.md +++ b/pages/common/shellcheck.md @@ -1,20 +1,36 @@ # shellcheck -> Shell script static analysis tool. -> More information: . +> Statically check shell scripts for errors, usage of deprecated/insecure features, and bad practices. +> More information: . - Check a shell script: -`shellcheck {{file.sh}}` +`shellcheck {{path/to/script.sh}}` -- Override script's shebang: +- Check a shell script interpreting it as the specified shell dialect (overrides the shebang at the top of the script): -`shellcheck --shell {{sh|bash|ksh}} {{file.sh}}` +`shellcheck {{[-s|--shell]}} {{sh|bash|dash|ksh}} {{path/to/script.sh}}` -- Ignore certain errors: +- Ignore one or more error types: -`shellcheck --exclude {{SC1009}} {{file.sh}}` +`shellcheck {{[-e|--exclude]}} {{SC1009,SC1073,...}} {{path/to/script.sh}}` -- Ignore multiple errors: +- Also check any sourced shell scripts: -`shellcheck --exclude {{SC1009,SC1073}} {{file.sh}}` +`shellcheck {{[-a|--check-sourced]}} {{path/to/script.sh}}` + +- Display output in the specified format (defaults to `tty`): + +`shellcheck {{[-f|--format]}} {{tty|checkstyle|diff|gcc|json|json1|quiet}} {{path/to/script.sh}}` + +- Enable one or more [o]ptional checks: + +`shellcheck {{[-o|--enable]}} {{add-default-case,avoid-nullary-conditions,...}} {{path/to/script.sh}}` + +- List all available optional checks that are disabled by default: + +`shellcheck --list-optional` + +- Adjust the level of severity to consider (defaults to `style`): + +`shellcheck {{[-S|--severity]}} {{error|warning|info|style}} {{path/to/script.sh}}` diff --git a/pages/common/shfmt.md b/pages/common/shfmt.md new file mode 100644 index 00000000000000..60edf675e004c0 --- /dev/null +++ b/pages/common/shfmt.md @@ -0,0 +1,20 @@ +# shfmt + +> Shell parser, formatter and interpreter. +> More information: . + +- Print a formatted version of a shell script: + +`shfmt {{path/to/file}}` + +- List unformatted files: + +`shfmt --list {{path/to/directory}}` + +- Write the result to the file instead of printing it to the terminal: + +`shfmt --write {{path/to/file}}` + +- Simplify the code, removing redundant pieces of syntax (i.e. removing "$" from vars in expressions): + +`shfmt --simplify {{path/to/file}}` diff --git a/pages/common/shift.md b/pages/common/shift.md new file mode 100644 index 00000000000000..c20a18dbbe7438 --- /dev/null +++ b/pages/common/shift.md @@ -0,0 +1,12 @@ +# shift + +> Move positional parameters. +> More information: . + +- Remove the first positional parameter: + +`shift` + +- Remove the first `n` positional parameters: + +`shift {{n}}` diff --git a/pages/common/shiori.md b/pages/common/shiori.md index b5dc3af00ee784..78de5fbbc53b2f 100644 --- a/pages/common/shiori.md +++ b/pages/common/shiori.md @@ -1,7 +1,7 @@ # shiori > Simple bookmark manager built with Go. -> More information: . +> More information: . - Import bookmarks from HTML Netscape bookmark format file: diff --git a/pages/common/shopt.md b/pages/common/shopt.md index 5e1d13599f9493..eee8136e2d4743 100644 --- a/pages/common/shopt.md +++ b/pages/common/shopt.md @@ -2,6 +2,7 @@ > Manage Bash shell options: variables (stored in `$BASHOPTS`) that control behavior specific to the Bash shell. > Generic POSIX shell variables (stored in `$SHELLOPTS`) are managed with the `set` command instead. +> More information: . - List of all settable options and whether they are set: @@ -19,6 +20,6 @@ `shopt -p` -- Show help for the command: +- Display help: `help shopt` diff --git a/pages/common/shotcut.md b/pages/common/shotcut.md new file mode 100644 index 00000000000000..bc10c83f7eaf4a --- /dev/null +++ b/pages/common/shotcut.md @@ -0,0 +1,24 @@ +# shotcut + +> A program for video editing. +> More information: . + +- Start Shotcut: + +`shotcut` + +- Open audio/video files: + +`shotcut {{path/to/file1 path/to/file2 ...}}` + +- Start with a specific audio driver: + +`shotcut --SDL_AUDIODRIVER "{{pulseaudio}}"` + +- Start in fullscreen: + +`shotcut --fullscreen` + +- Start with GPU processing: + +`shotcut --gpu` diff --git a/pages/common/showfigfonts.md b/pages/common/showfigfonts.md new file mode 100644 index 00000000000000..be62e9a0a46731 --- /dev/null +++ b/pages/common/showfigfonts.md @@ -0,0 +1,13 @@ +# showfigfonts + +> Display available figlet fonts. +> See also: `figlet`. +> More information: . + +- Display available fonts: + +`showfigfonts` + +- Display available fonts using a specific text: + +`showfigfonts {{input_text}}` diff --git a/pages/common/shred.md b/pages/common/shred.md index 544a84be252fea..9956231d0a8f5b 100644 --- a/pages/common/shred.md +++ b/pages/common/shred.md @@ -1,19 +1,28 @@ # shred > Overwrite files to securely delete data. +> More information: . - Overwrite a file: -`shred {{file}}` +`shred {{path/to/file}}` -- Overwrite a file, leaving zeroes instead of random data: +- Overwrite a file and show progress on the screen: -`shred --zero {{file}}` +`shred {{[-v|--verbose]}} {{path/to/file}}` -- Overwrite a file 25 times: +- Overwrite a file, leaving zeros instead of random data: -`shred -n25 {{file}}` +`shred {{[-z|--zero]}} {{path/to/file}}` + +- Overwrite a file a specific number of times: + +`shred {{[-n|--iterations]}} {{25}} {{path/to/file}}` - Overwrite a file and remove it: -`shred --remove {{file}}` +`shred {{[-u|--remove]}} {{path/to/file}}` + +- Overwrite a file 100 times, add a final overwrite with zeros, remove the file after overwriting it and show verbose progress on the screen: + +`shred {{[-vzun|--verbose --zero --remove --iterations]}} 100 {{path/to/file}}` diff --git a/pages/common/shuf.md b/pages/common/shuf.md index 5912275e2a6b07..e052431dcf29f7 100644 --- a/pages/common/shuf.md +++ b/pages/common/shuf.md @@ -1,19 +1,20 @@ # shuf > Generate random permutations. +> More information: . - Randomize the order of lines in a file and output the result: -`shuf {{filename}}` +`shuf {{path/to/file}}` - Only output the first 5 entries of the result: -`shuf -n {{5}} {{filename}}` +`shuf {{[-n|--head-count]}} 5 {{path/to/file}}` - Write the output to another file: -`shuf {{filename}} -o {{output_filename}}` +`shuf {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}` -- Generate random numbers in range: +- Generate 3 random numbers in the range 1-10 (inclusive): -`shuf -i {{1-10}}` +`shuf {{[-n|--head-count]}} 3 {{[-i|--input-range]}} 1-10 {{[-r|--repeat]}}` diff --git a/pages/common/siege.md b/pages/common/siege.md index de884ee53e957c..85fb9354627138 100644 --- a/pages/common/siege.md +++ b/pages/common/siege.md @@ -3,26 +3,26 @@ > HTTP loadtesting and benchmarking tool. > More information: . -- Test a url with default settings: +- Test a URL with default settings: `siege {{https://example.com}}` -- Test a list of urls: +- Test a list of URLs: -`siege --file {{path/to/url_list.txt}}` +`siege {{[-f|--file]}} {{path/to/url_list.txt}}` -- Test list of urls in a random order (Simulates internet traffic): +- Test list of URLs in a random order (Simulates internet traffic): -`siege --internet --file {{path/to/url_list.txt}}` +`siege {{[-i|--internet]}} {{[-f|--file]}} {{path/to/url_list.txt}}` -- Benchmark a list of urls (Dont wait between requests): +- Benchmark a list of URLs (without waiting between requests): -`siege --benchmark --file {{path/to/url_list.txt}}` +`siege {{[-b|--benchmark]}} {{[-f|--file]}} {{path/to/url_list.txt}}` - Set the amount of concurrent connections: -`siege --concurrent={{50}} --file {{path/to/url_list.txt}}` +`siege {{[-c|--concurrent]}} {{50}} {{[-f|--file]}} {{path/to/url_list.txt}}` - Set how long for the siege to run for: -`siege --time={{30s}} --file {{path/to/url_list.txt}}` +`siege {{[-t|--time]}} {{30s}} {{[-f|--file]}} {{path/to/url_list.txt}}` diff --git a/pages/common/silicon.md b/pages/common/silicon.md new file mode 100644 index 00000000000000..7752066c97aef9 --- /dev/null +++ b/pages/common/silicon.md @@ -0,0 +1,16 @@ +# silicon + +> Create an image of source code. +> More information: . + +- Generate an image from a specific source file: + +`silicon {{path/to/source_file}} --output {{path/to/output_image}}` + +- Generate an image from a source file with a specific programming language syntax highlighting (e.g. `rust`, `py`, `js`, etc.): + +`silicon {{path/to/source_file}} --output {{path/to/output_image}} --language {{language|extension}}` + +- Generate an image from `stdin`: + +`{{command}} | silicon --output {{path/to/output_image}}` diff --git a/pages/common/simplehttpserver.md b/pages/common/simplehttpserver.md new file mode 100644 index 00000000000000..ae85d79976aa37 --- /dev/null +++ b/pages/common/simplehttpserver.md @@ -0,0 +1,25 @@ +# simplehttpserver + +> A simple HTTP/S server that supports file upload, basic authentication, and YAML rules for custom responses. +> A Go alternative to Python's `http.server`. +> More information: . + +- Start the HTTP server serving the current directory with verbose output (listen on all interfaces and port 8000 by default): + +`simplehttpserver -verbose` + +- Start the HTTP server with basic authentication serving a specific path over port 80 on all interfaces: + +`sudo simplehttpserver -basic-auth {{username}}:{{password}} -path {{/var/www/html}} -listen 0.0.0.0:80` + +- Start the HTTP server, enabling HTTPS using a self-signed certificate with custom SAN on all interfaces: + +`sudo simplehttpserver -https -domain {{*.selfsigned.com}} -listen 0.0.0.0:443` + +- Start the HTTP server with custom response headers and upload capability: + +`simplehttpserver -upload -header '{{X-Powered-By: Go}}' -header '{{Server: SimpleHTTPServer}}'` + +- Start the HTTP server with customizable rules in YAML (see documentation for DSL): + +`simplehttpserver -rules {{rules.yaml}}` diff --git a/pages/common/sindresorhus.md b/pages/common/sindresorhus.md new file mode 100644 index 00000000000000..e3d6a781a10849 --- /dev/null +++ b/pages/common/sindresorhus.md @@ -0,0 +1,8 @@ +# sindresorhus + +> Sindre Sorhus's personal CLI. +> More information: . + +- Start Sindre's interactive CLI: + +`sindresorhus` diff --git a/pages/common/singularity.md b/pages/common/singularity.md index 8e6c9e9da532f9..46e660aa790974 100644 --- a/pages/common/singularity.md +++ b/pages/common/singularity.md @@ -1,16 +1,17 @@ # singularity > Manage Singularity containers and images. +> More information: . - Download a remote image from Sylabs Cloud: `singularity pull --name {{image.sif}} {{library://godlovedc/funny/lolcow:latest}}` -- Rebuild a remote image using latest Singularity image format: +- Rebuild a remote image using the latest Singularity image format: `singularity build {{image.sif}} {{docker://godlovedc/lolcow}}` -- Start a container from an image and get a shell inside of it: +- Start a container from an image and get a shell inside it: `singularity shell {{image.sif}}` diff --git a/pages/common/sirtopnm.md b/pages/common/sirtopnm.md new file mode 100644 index 00000000000000..4141533378d569 --- /dev/null +++ b/pages/common/sirtopnm.md @@ -0,0 +1,8 @@ +# sirtopnm + +> Convert a Solitaire Image Recorder file to a PNM file. +> More information: . + +- Convert a SIR image to a PNM file: + +`sirtopnm {{path/to/input.sir}} > {{path/to/output.pnm}}` diff --git a/pages/common/sk.md b/pages/common/sk.md new file mode 100644 index 00000000000000..f9c98a8734b455 --- /dev/null +++ b/pages/common/sk.md @@ -0,0 +1,21 @@ +# sk + +> Fuzzy finder written in Rust. +> Similar to `fzf`. +> More information: . + +- Start `skim` on all files in the specified directory: + +`find {{path/to/directory}} -type f | sk` + +- Start `skim` for running processes: + +`ps aux | sk` + +- Start `skim` with a specified query: + +`sk --query "{{query}}"` + +- Select multiple files with `` and write to a file: + +`find {{path/to/directory}} -type f | sk --multi > {{path/to/file}}` diff --git a/pages/common/skaffold.md b/pages/common/skaffold.md index 21aaea00b66606..7e5fc2626e1f82 100644 --- a/pages/common/skaffold.md +++ b/pages/common/skaffold.md @@ -1,24 +1,24 @@ # skaffold -> A tool that facilitates continuous development for Kubernetes applications. +> Facilitate continuous development for Kubernetes applications. > More information: . - Build the artifacts: -`skaffold build -f {{skaffold.yaml}}` +`skaffold build {{[-f|--filename]}} {{skaffold.yaml}}` - Build and deploy your app every time your code changes: -`skaffold dev -f {{skaffold.yaml}}` +`skaffold dev {{[-f|--filename]}} {{skaffold.yaml}}` - Run a pipeline file: -`skaffold run -f {{skaffold.yaml}}` +`skaffold run {{[-f|--filename]}} {{skaffold.yaml}}` - Run a diagnostic on Skaffold: -`skaffold diagnose -f {{skaffold.yaml}}` +`skaffold diagnose {{[-f|--filename]}} {{skaffold.yaml}}` - Deploy the artifacts: -`skaffold deploy -f {{skaffold.yaml}}` +`skaffold deploy {{[-f|--filename]}} {{skaffold.yaml}}` diff --git a/pages/common/skate.md b/pages/common/skate.md new file mode 100644 index 00000000000000..4095cdf84b8d01 --- /dev/null +++ b/pages/common/skate.md @@ -0,0 +1,36 @@ +# skate + +> Simple and powerful key-value store. +> More information: . + +- Store a key and a value on the default database: + +`skate set "{{key}}" "{{value}}"` + +- Show your keys saved on the default database: + +`skate list` + +- Delete key and value from the default database: + +`skate delete "{{key}}"` + +- Create a new key and value in a new database: + +`skate set "{{key}}"@"{{database_name}}" "{{value}}"` + +- Show your keys saved in a non default database: + +`skate list @"{{database_name}}"` + +- Delete key and value from a specific database: + +`skate delete "{{key}}"@"{{database_name}}"` + +- Show the databases available: + +`skate list-dbs` + +- Delete local db and pull down fresh copy from Charm Cloud: + +`skate reset @"{{database_name}}"` diff --git a/pages/common/skicka.md b/pages/common/skicka.md index 8c36633ecaa0cd..8346af1f9c02ef 100644 --- a/pages/common/skicka.md +++ b/pages/common/skicka.md @@ -1,7 +1,7 @@ # skicka > Manage your Google Drive. -> More information: . +> More information: . - Upload a file/folder to Google Drive: diff --git a/pages/common/skopeo.md b/pages/common/skopeo.md new file mode 100644 index 00000000000000..10dd1859a2c521 --- /dev/null +++ b/pages/common/skopeo.md @@ -0,0 +1,29 @@ +# skopeo + +> Container image management toolbox. +> Provides various utility commands to manage remote container images. +> More information: . + +- Inspect a remote image from a registry: + +`skopeo inspect docker://{{registry_hostname}}/{{image:tag}}` + +- List available tags for a remote image: + +`skopeo list-tags docker://{{registry_hostname}}/{{image}}` + +- Download an image from a registry: + +`skopeo copy docker://{{registry_hostname}}/{{image:tag}} dir:{{path/to/directory}}` + +- Copy an image from one registry to another: + +`skopeo copy docker://{{source_registry}}/{{image:tag}} docker://{{destination_registry}}/{{image:tag}}` + +- Delete an image from a registry: + +`skopeo delete docker://{{registry_hostname}}/{{image:tag}}` + +- Log in to a registry: + +`skopeo login --username {{username}} {{registry_hostname}}` diff --git a/pages/common/sl.md b/pages/common/sl.md index f9ae426b598ce3..472846a8bae273 100644 --- a/pages/common/sl.md +++ b/pages/common/sl.md @@ -19,6 +19,6 @@ `sl -l` -- Let the user exit (CTRL + C): +- Let the user exit (``): `sl -e` diff --git a/pages/common/slackcat.md b/pages/common/slackcat.md index 7c1149132801af..832f23df013487 100644 --- a/pages/common/slackcat.md +++ b/pages/common/slackcat.md @@ -1,20 +1,20 @@ # slackcat > Utility for passing files and command output to Slack. -> More information: . +> More information: . - Post a file to Slack: -`slackcat --channel {{channel_name}} {{path/to/file}}` +`slackcat {{[-c|--channel]}} {{channel_name}} {{path/to/file}}` - Post a file to Slack with a custom filename: -`slackcat --channel {{channel_name}} --filename={{filename}} {{path/to/file}}` +`slackcat {{[-c|--channel]}} {{channel_name}} {{[-n|--filename]}} {{filename}} {{path/to/file}}` - Pipe command output to Slack as a text snippet: -`{{command}} | slackcat --channel {{channel_name}} --filename={{snippet_name}}` +`{{command}} | slackcat {{[-c|--channel]}} {{channel_name}} {{[-n|--filename]}} {{snippet_name}}` - Stream command output to Slack continuously: -`{{command}} | slackcat --channel {{channel_name}} --stream` +`{{command}} | slackcat {{[-c|--channel]}} {{channel_name}} {{[-s|--stream]}}` diff --git a/pages/common/sldtoppm.md b/pages/common/sldtoppm.md new file mode 100644 index 00000000000000..4c479525d2f04a --- /dev/null +++ b/pages/common/sldtoppm.md @@ -0,0 +1,12 @@ +# sldtoppm + +> Convert an AutoCAD slide file to a PPM image. +> More information: . + +- Convert an SLD file to a PPM image: + +`sldtoppm {{path/to/input.sld}} > {{path/to/output.ppm}}` + +- Compensate for non-square pixels by scaling the width of the image: + +`sldtoppm {{[-a|-adjust]}} {{path/to/input.sld}} > {{path/to/output.ppm}}` diff --git a/pages/common/sleep.md b/pages/common/sleep.md index 2d0e8475f62469..6581c6fc9f8d39 100644 --- a/pages/common/sleep.md +++ b/pages/common/sleep.md @@ -1,15 +1,12 @@ # sleep > Delay for a specified amount of time. +> More information: . - Delay in seconds: `sleep {{seconds}}` -- Delay in minutes: +- Execute a specific command after 20 seconds delay: -`sleep {{minutes}}m` - -- Delay in hours: - -`sleep {{hours}}h` +`sleep 20 && {{command}}` diff --git a/pages/common/slimrb.md b/pages/common/slimrb.md index 975cc975becb25..74f238f7b4758f 100644 --- a/pages/common/slimrb.md +++ b/pages/common/slimrb.md @@ -1,6 +1,7 @@ # slimrb > Convert Slim files to HTML. +> More information: . - Convert a Slim file to HTML: diff --git a/pages/common/slocate.md b/pages/common/slocate.md new file mode 100644 index 00000000000000..7db78cc2de8546 --- /dev/null +++ b/pages/common/slocate.md @@ -0,0 +1,37 @@ +# slocate + +> Secure variant of GNU Locate. +> See also: `locate`. +> More information: . + +- Enable quiet mode to suppress error messages: + +`slocate -q` + +- Limit the number of results shown: + +`slocate -n {{number}}` + +- Build an `slocate` database starting at path `/`: + +`slocate -u` + +- Build an `slocate` database starting at a given directory: + +`slocate -U {{path/to/directory}}` + +- Update an `slocate` database using the default `/etc/updatedb.conf` configuration: + +`slocate -c` + +- Set the security level of `slocate`, with `0` being disabled, and `1` being secure: + +`slocate -l {{0|1}}` + +- Specify the database that `slocate` should search in: + +`slocate {{[-d|--database]}} {{path/to/directory}}` + +- Search the `slocate` database using a specific `regex` string: + +`slocate {{[-r|--regexp]}} {{regex}}` diff --git a/pages/common/smalltalkci.md b/pages/common/smalltalkci.md new file mode 100644 index 00000000000000..63934129804a89 --- /dev/null +++ b/pages/common/smalltalkci.md @@ -0,0 +1,28 @@ +# smalltalkci + +> Framework for testing Smalltalk projects with GitHub Actions, Travis CI, AppVeyor, GitLab CI, and others. +> More information: . + +- Run tests for a configuration file: + +`smalltalkci {{path/to/.smalltalk.ston}}` + +- Run tests for the `.smalltalk.ston` configuration in the current directory: + +`smalltalkci` + +- Debug tests in headful mode (show VM window): + +`smalltalkci --headful` + +- Download and prepare a well-known smalltalk image for the tests: + +`smalltalkci --smalltalk {{Squeak64-Trunk}}` + +- Specify a custom Smalltalk image and VM: + +`smalltalkci --image {{path/to/Smalltalk.image}} --vm {{path/to/vm}}` + +- Clean up caches and delete builds: + +`smalltalkci --clean` diff --git a/pages/common/smartctl.md b/pages/common/smartctl.md index a62ff26228709b..f4b25da9bec9d1 100644 --- a/pages/common/smartctl.md +++ b/pages/common/smartctl.md @@ -1,24 +1,28 @@ # smartctl -> View a disk's SMART data and other information. -> More information: . +> Monitor disk health including SMART data. +> More information: . -- View SMART health summary: +- Display SMART health summary: -`sudo smartctl --health {{/dev/sdX}}` +`sudo smartctl {{[-H|--health]}} {{/dev/sdX}}` -- View device information: +- Display device information: -`sudo smartctl --info {{/dev/sdX}}` +`sudo smartctl {{[-i|--info]}} {{/dev/sdX}}` -- Begin a short self-test: +- Start a short/long self-test in the background: -`sudo smartctl --test short {{/dev/sdX}}` +`sudo smartctl {{[-t|--test]}} {{short|long}} {{/dev/sdX}}` -- View current/last self-test status and other SMART capabilities: +- Display the self-test log: -`sudo smartctl --capabilities {{/dev/sdX}}` +`sudo smartctl {{[-l|--log]}} selftest` -- View SMART self-test log (if supported): +- Display current/last self-test status and other SMART capabilities: -`sudo smartctl --log selftest {{/dev/sdX}}` +`sudo smartctl {{[-c|--capabilities]}} {{/dev/sdX}}` + +- Display exhaustive SMART data: + +`sudo smartctl {{[-a|--all]}} {{/dev/sdX}}` diff --git a/pages/common/smbclient.py.md b/pages/common/smbclient.py.md new file mode 100644 index 00000000000000..4bd13d2975f4e6 --- /dev/null +++ b/pages/common/smbclient.py.md @@ -0,0 +1,36 @@ +# smbclient.py + +> A Python-based SMB client for interacting with SMB servers. +> More information: . + +- Connect to an SMB server with username and password: + +`smbclient.py {{domain}}/{{username}}:{{password}}@{{target}}` + +- Connect using NTLM hashes for authentication: + +`smbclient.py -hashes {{LM_HASH}}:{{NT_HASH}} {{domain}}/{{username}}@{{target}}` + +- Connect using Kerberos authentication: + +`smbclient.py -k {{domain}}/{{username}}@{{target}}` + +- Connect specifying a domain controller IP: + +`smbclient.py -dc-ip {{domain_controller_ip}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Connect to a specific target IP instead of NetBIOS name: + +`smbclient.py -target-ip {{target_ip}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Connect to a non-standard SMB port: + +`smbclient.py -port {{port}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Execute commands from an input file in the SMB shell: + +`smbclient.py -inputfile {{path/to/input_file}} {{domain}}/{{username}}:{{password}}@{{target}}` + +- Log SMB client commands to an output file: + +`smbclient.py -outputfile {{path/to/output_file}} {{domain}}/{{username}}:{{password}}@{{target}}` diff --git a/pages/common/smbmap.md b/pages/common/smbmap.md new file mode 100644 index 00000000000000..9717ca58ce543b --- /dev/null +++ b/pages/common/smbmap.md @@ -0,0 +1,36 @@ +# smbmap + +> Enumerate samba share drives across an entire domain. +> More information: . + +- Enumerate hosts with NULL sessions enabled and open shares: + +`smbmap --host-file {{path/to/file}}` + +- Display SMB shares and permissions on a host, prompting for user's password or NTLM hash: + +`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip}}` + +- Execute a shell command on a remote system: + +`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip}} -x {{command}}` + +- Enumerate hosts and check SMB file permissions: + +`smbmap --host-file {{path/to/file}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -q` + +- Connect to an ip or hostname through smb using a username and password: + +`smbmap {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -d {{domain}} -H {{ip_or_hostname}}` + +- Locate and download files [R]ecursively up to N levels depth, searching for filename pattern (`regex`), and excluding certain shares: + +`smbmap --host-file {{path/to/file}} {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -q -R --depth {{number}} --exclude {{sharename}} -A {{filepattern}}` + +- Upload file through smb using username and password: + +`smbmap {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} -d {{domain}} -H {{ip_or_hostname}} --upload {{path/to/file}} '{{/share_name/remote_filename}}'` + +- Display SMB shares and recursively list directories and files, searching for file content matching a `regex`: + +`smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip}} -R -F {{pattern}}` diff --git a/pages/common/smbserver.py.md b/pages/common/smbserver.py.md new file mode 100644 index 00000000000000..dedef6d06b22e6 --- /dev/null +++ b/pages/common/smbserver.py.md @@ -0,0 +1,36 @@ +# smbserver.py + +> A Python-based SMB server for hosting shares (requires root for port 445). +> More information: . + +- Set up a basic SMB share: + +`smbserver.py {{sharename}} {{path/to/share}}` + +- Set up a share with a custom comment: + +`smbserver.py -comment {{my_share}} {{sharename}} {{path/to/share}}` + +- Set up a share with username and password authentication: + +`smbserver.py -username {{username}} -password {{password}} {{sharename}} {{path/to/share}}` + +- Set up a share with NTLM hash authentication: + +`smbserver.py -hashes {{LMHASH}}:{{NTHASH}} {{sharename}} {{path/to/share}}` + +- Set up a share on a specific interface: + +`smbserver.py {{[-ip|--interface-address]}} {{interface_ip_address}} {{sharename}} {{path/to/share}}` + +- Set up a share on a non-standard SMB port: + +`smbserver.py -port {{port}} {{sharename}} {{path/to/share}}` + +- Set up a share with SMB2 support: + +`smbserver.py -smb2support {{sharename}} {{path/to/share}}` + +- Set up a share and log commands to an output file: + +`smbserver.py -outputfile {{path/to/output_file}} {{sharename}} {{path/to/share}}` diff --git a/pages/common/sn.md b/pages/common/sn.md index f65191402d2814..c20adfacccb668 100644 --- a/pages/common/sn.md +++ b/pages/common/sn.md @@ -1,6 +1,7 @@ # sn > Mono StrongName utility for signing and verifying IL assemblies. +> More information: . - Generate a new StrongNaming key: @@ -8,7 +9,7 @@ - Re-sign an assembly with the specified private key: -`sn -R {{path/to/assembly.dll}} {{path/to/keypair.snk}}` +`sn -R {{path/to/assembly.dll}} {{path/to/key_pair.snk}}` - Show the public key of the private key that was used to sign an assembly: diff --git a/pages/common/snakefmt.md b/pages/common/snakefmt.md new file mode 100644 index 00000000000000..89e1cfa7d7ad14 --- /dev/null +++ b/pages/common/snakefmt.md @@ -0,0 +1,24 @@ +# snakefmt + +> Format Snakemake files. +> More information: . + +- Format a specific Snakefile: + +`snakefmt {{path/to/snakefile}}` + +- Format all Snakefiles recursively in a specific directory: + +`snakefmt {{path/to/directory}}` + +- Format a file using a specific configuration file: + +`snakefmt --config {{path/to/config.toml}} {{path/to/snakefile}}` + +- Format a file using a specific maximum line length: + +`snakefmt --line-length {{100}} {{path/to/snakefile}}` + +- Display the changes that would be performed without performing them (dry-run): + +`snakefmt --diff {{path/to/snakefile}}` diff --git a/pages/common/sngrep.md b/pages/common/sngrep.md new file mode 100644 index 00000000000000..5277042ab8cd8a --- /dev/null +++ b/pages/common/sngrep.md @@ -0,0 +1,20 @@ +# sngrep + +> Display SIP calls message flows from terminal. +> More information: . + +- Visualize SIP packets from a PCAP file: + +`sngrep -I {{path/to/file.pcap}}` + +- Visualize only dialogs starting with INVITE packets with RTP packets from a PCAP file: + +`sngrep -crI {{path/to/file.pcap}}` + +- Real-time interface with only dialogs starting with INVITE packets with RTP packets: + +`sngrep -cr` + +- Only capture packets without interface to a file: + +`sngrep -NO {{path/to/file.pcap}}` diff --git a/pages/common/sniff.py.md b/pages/common/sniff.py.md new file mode 100644 index 00000000000000..7e708317acc87e --- /dev/null +++ b/pages/common/sniff.py.md @@ -0,0 +1,13 @@ +# sniff.py + +> Capture and display network packets using the `pcapy` library. +> Part of the Impacket suite. +> More information: . + +- List available network interfaces and select one to start capturing packets (requires `sudo`): + +`sudo sniff.py` + +- Capture packets and save output to a file while displaying it on the terminal: + +`sudo sniff.py | sudo tee {{path/to/output_file}}` diff --git a/pages/common/sniffer.py.md b/pages/common/sniffer.py.md new file mode 100644 index 00000000000000..f5c3ba622d5566 --- /dev/null +++ b/pages/common/sniffer.py.md @@ -0,0 +1,17 @@ +# sniffer.py + +> Capture and display network packets for specified protocols using raw sockets. +> Part of the Impacket suite. +> More information: . + +- Capture packets for default protocols (ICMP, TCP, UDP): + +`sniffer.py` + +- Capture packets for specific protocols (e.g., ICMP, TCP): + +`sniffer.py {{protocol1 protocol2 ...}}` + +- Capture packets for specific protocols (e.g., TCP): + +`sniffer.py tcp` diff --git a/pages/common/snmpbulkget.md b/pages/common/snmpbulkget.md new file mode 100644 index 00000000000000..ff2034bab26b87 --- /dev/null +++ b/pages/common/snmpbulkget.md @@ -0,0 +1,16 @@ +# snmpbulkget + +> Query the next value in the MIB tree and all of its adjacent values. +> More information: . + +- Request the next value from the SNMP agent: + +`snmpbulkget -v {{version}} -c {{community}} {{ip}} {{oid}}` + +- Display the full Object Identifier (OID) path: + +`snmpbulkget -v {{version}} -c {{community}} -O f {{ip}} {{oid}}` + +- Display help: + +`snmpbulkget {{[-h|--help]}}` diff --git a/pages/common/snmpdf.md b/pages/common/snmpdf.md new file mode 100644 index 00000000000000..a1b5b378d7acdd --- /dev/null +++ b/pages/common/snmpdf.md @@ -0,0 +1,12 @@ +# snmpdf + +> Fetch disk space usage information. +> More information: . + +- Fetch the disk space usage: + +`snmpdf -v {{version}} -c {{community}} {{ip}}` + +- Display help: + +`snmpdf {{[-h|--help]}}` diff --git a/pages/common/snmpget.md b/pages/common/snmpget.md new file mode 100644 index 00000000000000..e37967a5fbf6f5 --- /dev/null +++ b/pages/common/snmpget.md @@ -0,0 +1,16 @@ +# snmpget + +> Query using the SNMP protocol. +> More information: . + +- Request a single value from the SNMP agent: + +`snmpget -v {{version}} -c {{community}} {{ip}} {{oid}}` + +- Display the full Object Identifier (OID) path: + +`snmpget -v {{version}} -c {{community}} -O f {{ip}} {{oid}}` + +- Display help: + +`snmpget {{[-h|--help]}}` diff --git a/pages/common/snmpgetnext.md b/pages/common/snmpgetnext.md new file mode 100644 index 00000000000000..162b4ba3e2bafa --- /dev/null +++ b/pages/common/snmpgetnext.md @@ -0,0 +1,16 @@ +# snmpgetnext + +> Query the next value in the MIB tree. +> More information: . + +- Request the next value from the SNMP agent: + +`snmpgetnext -v {{version}} -c {{community}} {{ip}} {{oid}}` + +- Display the full Object Identifier (OID) path: + +`snmpgetnext -v {{version}} -c {{community}} -O f {{ip}} {{oid}}` + +- Display help: + +`snmpgetnext {{[-h|--help]}}` diff --git a/pages/common/snmpnetstat.md b/pages/common/snmpnetstat.md new file mode 100644 index 00000000000000..92780f1d1177e6 --- /dev/null +++ b/pages/common/snmpnetstat.md @@ -0,0 +1,12 @@ +# snmpnetstat + +> Fetch networking status using SNMP. +> More information: . + +- Fetch the networking status: + +`snmpnetstat -v {{version}} -c {{community}} {{ip}}` + +- Display help: + +`snmpnetstat {{[-h|--help]}}` diff --git a/pages/common/snmpset.md b/pages/common/snmpset.md new file mode 100644 index 00000000000000..ffe90680b66e27 --- /dev/null +++ b/pages/common/snmpset.md @@ -0,0 +1,12 @@ +# snmpset + +> Set a value using the SNMP protocol. +> More information: . + +- Set a value: + +`snmpset -v {{version}} -c {{community}} {{ip}} {{oid}} {{value_type}} {{value}}` + +- Display help: + +`snmpset {{[-h|--help]}}` diff --git a/pages/common/snmpstatus.md b/pages/common/snmpstatus.md new file mode 100644 index 00000000000000..e3df0e0541778d --- /dev/null +++ b/pages/common/snmpstatus.md @@ -0,0 +1,12 @@ +# snmpstatus + +> Fetch fixed MIB status values. +> More information: . + +- Fetch the values: + +`snmpstatus -v {{version}} -c {{community}} {{ip}}` + +- Display help: + +`snmpstatus {{[-h|--help]}}` diff --git a/pages/common/snmptable.md b/pages/common/snmptable.md new file mode 100644 index 00000000000000..bb2d5aca5263cf --- /dev/null +++ b/pages/common/snmptable.md @@ -0,0 +1,12 @@ +# snmptable + +> Fetch data in tabular format. +> More information: . + +- Fetch data: + +`snmptable -v {{version}} -c {{community}} {{ip}} {{oid}}` + +- Display help: + +`snmptable {{[-h|--help]}}` diff --git a/pages/common/snmptest.md b/pages/common/snmptest.md new file mode 100644 index 00000000000000..0caecccbfb9bef --- /dev/null +++ b/pages/common/snmptest.md @@ -0,0 +1,12 @@ +# snmptest + +> Start an interactive SNMP prompt. +> More information: . + +- Start the prompt: + +`snmptest -v {{version}} -c {{community}} {{ip}}` + +- Display help: + +`snmptest {{[-h|--help]}}` diff --git a/pages/common/snmpwalk.md b/pages/common/snmpwalk.md new file mode 100644 index 00000000000000..452bb0dd3e0d19 --- /dev/null +++ b/pages/common/snmpwalk.md @@ -0,0 +1,28 @@ +# snmpwalk + +> SNMP query tool. +> More information: . + +- Query the system information of a remote host using SNMPv1 and a community string: + +`snmpwalk -v 1 -c {{community}} {{ip}}` + +- Query system information on a remote host by OID using SNMPv2 on a specified port: + +`snmpwalk -v 2c -c {{community}} {{ip}}:{{port}} {{oid}}` + +- Query system information on a remote host by OID using SNMPv3 and authentication without encryption: + +`snmpwalk -v 3 -l {{authNoPriv}} -u {{username}} -a {{MD5|SHA}} -A {{passphrase}} {{ip}} {{oid}}` + +- Query system information on a remote host by OID using SNMPv3, authentication, and encryption: + +`snmpwalk -v 3 -l {{authPriv}} -u {{username}} -a {{MD5|SHA}} -A {{auth_passphrase}} -x {{DES|AES}} -X {{enc_passphrase}} {{ip}} {{oid}}` + +- Query system information on a remote host by OID using SNMPv3 without authentication or encryption: + +`snmpwalk -v 3 -l {{noAuthNoPriv}} -u {{username}} {{ip}} {{oid}}` + +- Display help: + +`snmpwalk {{[-h|--help]}}` diff --git a/pages/common/snort.md b/pages/common/snort.md new file mode 100644 index 00000000000000..696195a0d8e1d5 --- /dev/null +++ b/pages/common/snort.md @@ -0,0 +1,24 @@ +# snort + +> Open-source network intrusion detection system. +> More information: . + +- Capture packets with verbose output: + +`sudo snort -v -i {{interface}}` + +- Capture packets and dump application layer data with verbose output: + +`sudo snort -vd -i {{interface}}` + +- Capture packets and display link layer packet headers with verbose output: + +`sudo snort -ve -i {{interface}}` + +- Capture packets and save them in the specified directory: + +`sudo snort -i {{interface}} -l {{path/to/directory}}` + +- Capture packets according to rules and save offending packets along with alerts: + +`sudo snort -i {{interface}} -c {{path/to/rules.conf}} -l {{path/to/directory}}` diff --git a/pages/common/snowsql.md b/pages/common/snowsql.md new file mode 100644 index 00000000000000..e736a63e4ce79e --- /dev/null +++ b/pages/common/snowsql.md @@ -0,0 +1,24 @@ +# snowsql + +> SnowSQL client for Snowflake's Data Cloud. +> More information: . + +- Connect to a specific instance at (password can be provided in prompt or configuration file): + +`snowsql --accountname {{account}} --username {{username}} --dbname {{database}} --schemaname {{schema}}` + +- Connect to an instance specified by a specific configuration file (defaults to `~/.snowsql/config`): + +`snowsql --config {{path/to/configuration_file}}` + +- Connect to the default instance using a token for multi-factor authentication: + +`snowsql --mfa-passcode {{token}}` + +- Execute a single SQL query or SnowSQL command on the default connection (useful in shell scripts): + +`snowsql --query '{{query}}'` + +- Execute commands from a specific file on the default connection: + +`snowsql --filename {{path/to/file.sql}}` diff --git a/pages/common/snyk.md b/pages/common/snyk.md index c8ab82db71db35..3ddfd822017985 100644 --- a/pages/common/snyk.md +++ b/pages/common/snyk.md @@ -1,9 +1,9 @@ # snyk > Find vulnerabilities in your code and remediate risks. -> More information: . +> More information: . -- Login to your Snyk account: +- Log in to your Snyk account: `snyk auth` diff --git a/pages/common/socat.md b/pages/common/socat.md index 83f82aacff7025..79ddfa8ac6a3e6 100644 --- a/pages/common/socat.md +++ b/pages/common/socat.md @@ -1,15 +1,28 @@ # socat > Multipurpose relay (SOcket CAT). +> More information: . - Listen to a port, wait for an incoming connection and transfer data to STDIO: -`socat - TCP-LISTEN:8080,fork` +`sudo socat - TCP-LISTEN:8080,fork` + +- Listen on a port using SSL and print to STDOUT: + +`sudo socat OPENSSL-LISTEN:4433,reuseaddr,cert=./cert.pem,cafile=./ca.cert.pem,key=./key.pem,verify=0 STDOUT` - Create a connection to a host and port, transfer data in STDIO to connected host: -`socat - TCP4:www.example.com:80` +`sudo socat - TCP4:www.example.com:80` - Forward incoming data of a local port to another host and port: -`socat TCP-LISTEN:80,fork TCP4:www.example.com:80` +`sudo socat TCP-LISTEN:80,fork TCP4:www.example.com:80` + +- Send data with multicast routing scheme: + +`{{echo "Hello Multicast"}} | socat - UDP4-DATAGRAM:{{224.0.0.1}}:{{5000}}` + +- Receive data from a multicast: + +`socat - UDP4-RECVFROM:{{5000}}` diff --git a/pages/common/soffice.md b/pages/common/soffice.md new file mode 100644 index 00000000000000..51c7cb3622165b --- /dev/null +++ b/pages/common/soffice.md @@ -0,0 +1,20 @@ +# soffice + +> CLI for the powerful and free LibreOffice suite. +> More information: . + +- Open one or more files in read-only mode: + +`soffice --view {{path/to/file1 path/to/file2 ...}}` + +- Display the content of one or more files: + +`soffice --cat {{path/to/file1 path/to/file2 ...}}` + +- Print files using a specific printer: + +`soffice --pt {{printer_name}} {{path/to/file1 path/to/file2 ...}}` + +- Convert all `.doc` files in the current directory to PDF: + +`soffice --convert-to pdf *.doc` diff --git a/pages/common/solcjs.md b/pages/common/solcjs.md new file mode 100644 index 00000000000000..439113ee6e54e3 --- /dev/null +++ b/pages/common/solcjs.md @@ -0,0 +1,24 @@ +# solcjs + +> A set of JavaScript bindings for the Solidity compiler. +> More information: . + +- Compile a specific contract to hex: + +`solcjs --bin {{path/to/file.sol}}` + +- Compile the ABI of a specific contract: + +`solcjs --abi {{path/to/file.sol}}` + +- Specify a base path to resolve imports from: + +`solcjs --bin --base-path {{path/to/directory}} {{path/to/file.sol}}` + +- Specify one or more paths to include containing external code: + +`solcjs --bin --include-path {{path/to/directory}} {{path/to/file.sol}}` + +- Optimise the generated bytecode: + +`solcjs --bin --optimize {{path/to/file.sol}}` diff --git a/pages/common/solo.md b/pages/common/solo.md index 0caff4be72f5ce..c346834cfbf8e4 100644 --- a/pages/common/solo.md +++ b/pages/common/solo.md @@ -11,7 +11,7 @@ `solo key update` -- Blink the led of a specific Solo: +- Blink the LED of a specific Solo: `solo key wink --serial {{serial_number}}` diff --git a/pages/common/sonar-scanner.md b/pages/common/sonar-scanner.md index 819138fc90d748..498d68ec5cb5b1 100644 --- a/pages/common/sonar-scanner.md +++ b/pages/common/sonar-scanner.md @@ -1,6 +1,6 @@ # sonar-scanner -> SonarScanner is a generic scanner for SonarQube for projects do not use any specific build tool like maven, gradle , etc. +> A generic scanner for SonarQube projects that do not use build tools such as Maven, Gradle, or Ant. > More information: . - Scan a project with configuration file in your project's root directory named `sonar-project.properties`: @@ -9,12 +9,12 @@ - Scan a project using configuration file other than `sonar-project.properties`: -`sonar-scanner -D{{project.settings=myproject.properties}}` +`sonar-scanner {{[-D|--define]}} {{project.settings=myproject.properties}}` -- Print help information: +- Print debugging information: -`sonar-scanner -h` +`sonar-scanner {{[-X|--debug]}}` -- Print debudgging information: +- Display help: -`sonar-scanner -X` +`sonar-scanner {{[-h|--help]}}` diff --git a/pages/common/sops.md b/pages/common/sops.md index 61b7d9ded99e1e..19cea0083f13bf 100644 --- a/pages/common/sops.md +++ b/pages/common/sops.md @@ -1,29 +1,32 @@ # sops -> SOPS: Secrets OPerationS. -> Tool for managing secrets. -> More information: . +> SOPS (Secrets OPerationS): a simple and flexible tool for managing secrets. +> More information: . - Encrypt a file: -`sops -e {{path/to/myfile.json}} > {{path/to/myfile.enc.json}}` +`sops -e {{path/to/file.json}} > {{path/to/file.enc.json}}` -- Decrypt a file to the standard output: +- Decrypt a file to `stdout`: -`sops -d {{path/to/myfile.enc.json}}` +`sops -d {{path/to/file.enc.json}}` -- Rotate data keys for a sops file: +- Update the declared keys in a `sops` file: -`sops -r {{path/to/myfile.enc.yaml}}` +`sops updatekeys {{path/to/file.enc.yaml}}` + +- Rotate data keys for a `sops` file: + +`sops -r {{path/to/file.enc.yaml}}` - Change the extension of the file once encrypted: -`sops -d --input-type json {{path/to/myfile.enc.json}}` +`sops -d --input-type json {{path/to/file.enc.json}}` - Extract keys by naming them, and array elements by numbering them: -`sops -d --extract '["an_array"][1]' {{path/to/myfile.enc.json}}` +`sops -d --extract '["an_array"][1]' {{path/to/file.enc.json}}` -- Show the difference between two sops files: +- Show the difference between two `sops` files: `diff <(sops -d {{path/to/secret1.enc.yaml}}) <(sops -d {{path/to/secret2.enc.yaml}})` diff --git a/pages/common/sort.md b/pages/common/sort.md index 5fdc561e135ddc..f5a1da71a541eb 100644 --- a/pages/common/sort.md +++ b/pages/common/sort.md @@ -9,28 +9,28 @@ - Sort a file in descending order: -`sort -r {{path/to/file}}` +`sort {{[-r|--reverse]}} {{path/to/file}}` - Sort a file in case-insensitive way: -`sort --ignore-case {{path/to/file}}` +`sort {{[-f|--ignore-case]}} {{path/to/file}}` - Sort a file using numeric rather than alphabetic order: -`sort -n {{path/to/file}}` +`sort {{[-n|--numeric-sort]}} {{path/to/file}}` -- Sort the passwd file by the 3rd field, numerically: +- Sort `/etc/passwd` by the 3rd field of each line numerically, using ":" as a field separator: -`sort -t: -k 3n /etc/passwd` +`sort {{[-t|--field-separator]}} {{:}} {{[-k|--key]}} {{3n}} {{/etc/passwd}}` -- Sort a file preserving only unique lines: +- As above, but when items in the 3rd field are equal, sort by the 4th field by numbers with exponents: -`sort -u {{path/to/file}}` +`sort {{[-t|--field-separator]}} {{:}} {{[-k|--key]}} {{3,3n}} {{[-k|--key]}} {{4,4g}} {{/etc/passwd}}` -- Sort a file, printing the output to the specified output file (can be used to sort a file in-place): +- Sort a file preserving only unique lines: -`sort --output={{path/to/file}} {{path/to/file}}` +`sort {{[-u|--unique]}} {{path/to/file}}` -- Sort numbers with exponents: +- Sort a file, printing the output to the specified output file (can be used to sort a file in-place): -`sort --general-numeric-sort {{path/to/file}}` +`sort {{[-o|--output]}} {{path/to/file}} {{path/to/file}}` diff --git a/pages/common/soupault.md b/pages/common/soupault.md new file mode 100644 index 00000000000000..f514edb4a77da0 --- /dev/null +++ b/pages/common/soupault.md @@ -0,0 +1,25 @@ +# soupault + +> A static website generator based on HTML element tree rewriting. +> It can also be used as an HTML post-processor or metadata extractor. +> More information: . + +- Initialize a minimal website project in the current working directory: + +`soupault --init` + +- Build a website: + +`soupault` + +- Override default configuration file and directory locations: + +`soupault --config {{config_path}} --site-dir {{input_directory}} --build-dir {{output_directory}}` + +- Extract metadata into a JSON file without generating pages: + +`soupault --index-only --dump-index-json {{path/to/file.json}}` + +- Show the effective configuration (values from `soupault.toml` plus defaults): + +`soupault --show-effective-config` diff --git a/pages/common/source.md b/pages/common/source.md index b5cbb04d8ae4fd..e0d4521ad7f490 100644 --- a/pages/common/source.md +++ b/pages/common/source.md @@ -1,7 +1,12 @@ # source > Execute commands from a file in the current shell. +> More information: . - Evaluate contents of a given file: `source {{path/to/file}}` + +- Evaluate contents of a given file (alternatively replacing `source` with `.`): + +`. {{path/to/file}}` diff --git a/pages/common/sox.md b/pages/common/sox.md index 58094d8046e814..404de2a0833029 100644 --- a/pages/common/sox.md +++ b/pages/common/sox.md @@ -2,28 +2,28 @@ > Sound eXchange: play, record and convert audio files. > Audio formats are identified by the extension. -> More information: . +> More information: . - Merge two audio files into one: -`sox -m {{input_audiofile1}} {{input_audiofile2}} {{output_audiofile}}` +`sox {{[-m|--combine mix]}} {{path/to/input_audio1}} {{path/to/input_audio2}} {{path/to/output_audio}}` - Trim an audio file to the specified times: -`sox {{input_audiofile}} {{output_audiofile}} trim {{start}} {{end}}` +`sox {{path/to/input_audio}} {{path/to/output_audio}} trim {{start}} {{duration}}` - Normalize an audio file (adjust volume to the maximum peak level, without clipping): -`sox --norm {{input_audiofile}} {{output_audiofile}}` +`sox --norm {{path/to/input_audio}} {{path/to/output_audio}}` - Reverse and save an audio file: -`sox {{input_audiofile}} {{output_audiofile}} reverse` +`sox {{path/to/input_audio}} {{path/to/output_audio}} reverse` - Print statistical data of an audio file: -`sox {{input_audiofile}} -n stat` +`sox {{path/to/input_audio}} {{[-n|--null]}} stat` - Increase the volume of an audio file by 2x: -`sox -v 2.0 {{input_audiofile}} {{output_audiofile}}` +`sox {{[-v|--volume]}} 2.0 {{path/to/input_audio}} {{path/to/output_audio}}` diff --git a/pages/common/soxi.md b/pages/common/soxi.md new file mode 100644 index 00000000000000..6900a7040ca6b9 --- /dev/null +++ b/pages/common/soxi.md @@ -0,0 +1,8 @@ +# soxi + +> SoXI - Sound eXchange Information, display sound file metadata. +> More information: . + +- Display the sound file metadata: + +`soxi {{path/to/file.wav}}` diff --git a/pages/common/spark.md b/pages/common/spark.md index bcd0002d97f487..30f91b46030b9e 100644 --- a/pages/common/spark.md +++ b/pages/common/spark.md @@ -1,6 +1,6 @@ # spark -> The Laravel Spark command line tool. +> The Laravel Spark tool. > More information: . - Register your API token: @@ -19,6 +19,6 @@ `spark new {{project_name}} --braintree` -- Create a new Spark project with team based billing stubs: +- Create a new Spark project with team-based billing stubs: `spark new {{project_name}} --team-billing` diff --git a/pages/common/spatial.md b/pages/common/spatial.md deleted file mode 100644 index f6b525b9eb07ed..00000000000000 --- a/pages/common/spatial.md +++ /dev/null @@ -1,35 +0,0 @@ -# spatial - -> A set of commands for managing and developing SpatialOS projects. - -- Run this when you use a project for the first time: - -`spatial worker build` - -- Build workers for local deployment on Unity on macOS: - -`spatial worker build --target=development --target=Osx` - -- Build workers for local deployment on Unreal on Windows: - -`spatial worker build --target=local --target=Windows` - -- Deploy locally: - -`spatial local launch {{launch_config}} --snapshot={{snapshot_file}}` - -- Launch a local worker to connect to your local deployment: - -`spatial local worker launch {{worker_type}} {{launch_config}}` - -- Upload an assembly to use for cloud deployments: - -`spatial cloud upload {{assembly_name}}` - -- Launch a cloud deployment: - -`spatial cloud launch {{assembly_name}} {{launch_config}} {{deployment_name}}` - -- Clean worker directories: - -`spatial worker clean` diff --git a/pages/common/spctoppm.md b/pages/common/spctoppm.md new file mode 100644 index 00000000000000..42116f3be50def --- /dev/null +++ b/pages/common/spctoppm.md @@ -0,0 +1,8 @@ +# spctoppm + +> Convert an Atari compressed Spectrum image to a PPM image. +> More information: . + +- Convert an SPC file to a PPM image: + +`spctoppm {{path/to/input.spc}} > {{path/to/output.ppm}}` diff --git a/pages/common/spectacle.md b/pages/common/spectacle.md new file mode 100644 index 00000000000000..4b4aca5b83114c --- /dev/null +++ b/pages/common/spectacle.md @@ -0,0 +1,20 @@ +# spectacle + +> KDE's screenshot utility. +> More information: . + +- Capture a screenshot of the entire desktop: + +`spectacle` + +- Capture a screenshot of the active window: + +`spectacle {{[-a|--activewindow]}}` + +- Capture a screenshot of a specific region: + +`spectacle {{[-r|--region]}}` + +- Start another Spectacle instance so that you can screenshot Spectacle itself: + +`spectacle {{[-i|--new-instance]}}` diff --git a/pages/common/speed-test.md b/pages/common/speed-test.md new file mode 100644 index 00000000000000..0915a1589b2388 --- /dev/null +++ b/pages/common/speed-test.md @@ -0,0 +1,20 @@ +# speed-test + +> Test your internet connection speed and ping using . +> More information: . + +- Test your internet connection and ping speed: + +`speed-test` + +- Print the results as JSON: + +`speed-test --json` + +- Print the results in megabytes per second (MBps): + +`speed-test --bytes` + +- Print more detailed information: + +`speed-test --verbose` diff --git a/pages/common/speedcrunch.md b/pages/common/speedcrunch.md new file mode 100644 index 00000000000000..ba8ae4f15ff079 --- /dev/null +++ b/pages/common/speedcrunch.md @@ -0,0 +1,36 @@ +# speedcrunch + +> A high-precision scientific calculator. +> More information: . + +- Start SpeedCrunch: + +`speedcrunch` + +- Copy the result of the most recent calculation: + +`` + +- Open the formula book: + +`` + +- Clear the calculator of recent calculations: + +`` + +- Wrap highlighted in parentheses (defaults to wrapping all if nothing selected): + +`` + +- Load a speedcrunch session: + +`` + +- Save a speedcrunch session: + +`` + +- Toggle keypad: + +`` diff --git a/pages/common/speedtest-cli.md b/pages/common/speedtest-cli.md index 5ffe08dc13e058..d0752dfe4a2a22 100644 --- a/pages/common/speedtest-cli.md +++ b/pages/common/speedtest-cli.md @@ -1,32 +1,37 @@ # speedtest-cli -> Command line interface for testing internet bandwidth using speedtest.net. +> Test internet bandwidth using . +> See also: `speedtest` for the official CLI. > More information: . - Run a speed test: `speedtest-cli` -- Run without performing download tests: +- Run a speed test and display values in bytes, instead of bits: + +`speedtest-cli --bytes` + +- Run a speed test using `HTTPS`, instead of `HTTP`: + +`speedtest-cli --secure` + +- Run a speed test without performing download tests: `speedtest-cli --no-download` -- Run a speed test and generate a shareable result picture: +- Run a speed test and generate an image of the results: `speedtest-cli --share` -- Print a list of all speedtest.net servers, sorted by distance, to file: +- List all `speedtest.net` servers, sorted by distance: -`speedtest-cli --list > speedtest_servers.txt` +`speedtest-cli --list` -- Run a speed test to the given speedtest.net server id: +- Run a speed test to a specific speedtest.net server: `speedtest-cli --server {{server_id}}` -- Display results in CSV format, suppressing the progress information: - -`speedtest-cli --csv --csv-delimiter {{delimiter_char}}` - -- Display results in JSON format, suppressing the progress information: +- Run a speed test and display the results as JSON (suppresses progress information): `speedtest-cli --json` diff --git a/pages/common/speedtest-rs.md b/pages/common/speedtest-rs.md new file mode 100644 index 00000000000000..dc95e4e458173a --- /dev/null +++ b/pages/common/speedtest-rs.md @@ -0,0 +1,28 @@ +# speedtest-rs + +> An unofficial Rust-based tool for testing network speeds using speedtest.net, limited to HTTP Legacy Fallback. +> More information: . + +- Run a full speed test (download and upload): + +`speedtest-rs` + +- Display a list of `speedtest.net` servers sorted by distance: + +`speedtest-rs --list` + +- Run a download test only: + +`speedtest-rs --no-upload` + +- Run an upload test only: + +`speedtest-rs --no-download` + +- Generate a shareable link to the test results image: + +`speedtest-rs --share` + +- Display basic output information only: + +`speedtest-rs --simple` diff --git a/pages/common/speedtest.md b/pages/common/speedtest.md new file mode 100644 index 00000000000000..662cc887271ea1 --- /dev/null +++ b/pages/common/speedtest.md @@ -0,0 +1,34 @@ +# speedtest + +> Official command-line interface for testing internet bandwidth using . +> Note: Some platforms link `speedtest` to `speedtest-cli` or other tools like `librespeed`, which can also be installed as `speedtest` on certain Linux distributions. +> These command examples apply only to the official client. +> More information: . + +- Run a speed test: + +`speedtest` + +- Run a speed test and specify the unit of the output: + +`speedtest {{[-u|--unit]}} {{auto-decimal-bits|auto-decimal-bytes|auto-binary-bits|auto-binary-bytes}}` + +- Run a speed test and specify the output format: + +`speedtest {{[-f|--format]}} {{human-readable|csv|tsv|json|jsonl|json-pretty}}` + +- Run a speed test and specify the number of decimal points to use (0 to 8, defaults to 2): + +`speedtest {{[-P|--precision]}} {{precision}}` + +- Run a speed test and print its progress (only available for output format `human-readable` and `json`): + +`speedtest {{[-p|--progress]}} {{yes|no}}` + +- List all `speedtest.net` servers, sorted by distance: + +`speedtest {{[-L|--servers]}}` + +- Run a speed test to a specific `speedtest.net` server: + +`speedtest {{[-s|--server-id]}} {{server_id}}` diff --git a/pages/common/spf.md b/pages/common/spf.md new file mode 100644 index 00000000000000..a7d9ce13792d40 --- /dev/null +++ b/pages/common/spf.md @@ -0,0 +1,32 @@ +# spf + +> The superfile – Modern terminal file manager. +> More information: . + +- Launch `spf` with a specific path: + +`spf {{path/to/directory}}` + +- Launch `spf` with multiple paths: + +`spf {{path/to/directory1 path/to/directory2 ...}}` + +- Fix hotkey settings by appending missing keys: + +`spf {{[--fh|--fix-hotkeys]}}` + +- Fix the configuration file by appending missing entries: + +`spf {{[--fch|--fix-config-file]}}` + +- Use specific configuration and hotkey files: + +`spf {{[-c|--config-file]}} {{path/to/config.toml}} {{[--hf|--hotkey-file]}} {{path/to/hotkey.toml}}` + +- Write the path of the first selected file to this file and exit: + +`spf {{[--cf|--chooser-file]}} {{tmp/chooser-result}}` + +- Show internal configuration and data directory paths: + +`spf {{[pl|path-list]}}` diff --git a/pages/common/spfquery.md b/pages/common/spfquery.md index 7ab7d04199e16c..97e9b191a88285 100644 --- a/pages/common/spfquery.md +++ b/pages/common/spfquery.md @@ -1,7 +1,7 @@ # spfquery > Query Sender Policy Framework records to validate e-mail senders. -> More information: . +> More information: . - Check if an IP address is allowed to send an e-mail from the specified e-mail address: diff --git a/pages/common/sphinx-build.md b/pages/common/sphinx-build.md index 338beaf6424936..b1077518e77386 100644 --- a/pages/common/sphinx-build.md +++ b/pages/common/sphinx-build.md @@ -1,12 +1,12 @@ # sphinx-build > Sphinx documentation generator. -> More information: . +> More information: . - Build documentation: -`sphinx-build -b {{html|epub|text|latex|man|...}} {{path/to/source_dir}} {{path/to/build_dir}}` +`sphinx-build {{[-b|--builder]}} {{html|epub|text|latex|man|...}} {{path/to/source_directory}} {{path/to/build_directory}}` - Build documentations intended for readthedocs.io (requires the sphinx-rtd-theme pip package): -`sphinx-build -b {{html}} {{path/to/docs_dir}} {{path/to/build_dir}}` +`sphinx-build {{[-b|--builder]}} {{html}} {{path/to/docs_directory}} {{path/to/build_directory}}` diff --git a/pages/common/spicetify.md b/pages/common/spicetify.md new file mode 100644 index 00000000000000..96c1390788aee6 --- /dev/null +++ b/pages/common/spicetify.md @@ -0,0 +1,28 @@ +# spicetify + +> Customize the Spotify client UI and functionality. +> More information: . + +- Generate a configuration file on very first run and display help: + +`spicetify` + +- Backup and preprocess Spotify application files: + +`spicetify backup` + +- Print all configuration fields and values: + +`spicetify config` + +- Change the value of a configuration field: + +`spicetify config {{field}} {{value}}` + +- Apply the customization changes to Spotify: + +`spicetify apply` + +- Restore Spotify to its original state: + +`spicetify restore` diff --git a/pages/common/spike.md b/pages/common/spike.md index 13ddfe08029d96..7c7176bb102337 100644 --- a/pages/common/spike.md +++ b/pages/common/spike.md @@ -1,7 +1,7 @@ # spike > A fully featured static website generator written in JavaScript. -> More information: . +> More information: . - Create a new project using the default template: diff --git a/pages/common/split.md b/pages/common/split.md index 85aeff2b9f45dc..28ddfa362493e6 100644 --- a/pages/common/split.md +++ b/pages/common/split.md @@ -1,19 +1,24 @@ # split > Split a file into pieces. +> More information: . - Split a file, each split having 10 lines (except the last split): -`split -l {{10}} {{filename}}` +`split {{[-l|--lines]}} 10 {{path/to/file}}` - Split a file into 5 files. File is split such that each split has same size (except the last split): -`split -n {{5}} {{filename}}` +`split {{[-n|--number]}} 5 {{path/to/file}}` - Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes): -`split -b {{512}} {{filename}}` +`split {{[-b|--bytes]}} 512 {{path/to/file}}` - Split a file with at most 512 bytes in each split without breaking lines: -`split -C {{512}} {{filename}}` +`split {{[-C|--line-bytes]}} 512 {{path/to/file}}` + +- Split into multiple files from `stdin`: + +`gzip {{[-cd|--stdout --decompress]}} {{path/to/compressed_file.gz}} | split {{[-l|--lines]}} {{1000}} - {{path/to/output}}` diff --git a/pages/common/sponge.md b/pages/common/sponge.md index a39770986bdf5f..afa418949e1cb9 100644 --- a/pages/common/sponge.md +++ b/pages/common/sponge.md @@ -1,7 +1,7 @@ # sponge > Soak up the input before writing the output file. -> More information: . +> More information: . - Append file content to the source file: @@ -9,4 +9,4 @@ - Remove all lines starting with # in a file: -`grep -v '^{{#}}' {{path/to/file}} | sponge {{path/to/file}}` +`grep {{[-v|--invert-match]}} '^{{#}}' {{path/to/file}} | sponge {{path/to/file}}` diff --git a/pages/common/spotdl.md b/pages/common/spotdl.md new file mode 100644 index 00000000000000..baceaa7e832762 --- /dev/null +++ b/pages/common/spotdl.md @@ -0,0 +1,16 @@ +# spotdl + +> Download Spotify playlists and songs along with metadata. +> More information: . + +- Download songs from the provided URLs and embed metadata: + +`spotdl {{open.spotify.com/playlist/playlistId1 open.spotify.com/track/trackId2 ...}}` + +- Start a web interface to download individual songs: + +`spotdl web` + +- Save only the metadata without downloading anything: + +`spotdl save {{open.spotify.com/playlist/playlistId1 open.spotify.com/track/trackId2 ...}} --save-file {{path/to/save_file.spotdl}}` diff --git a/pages/common/spotify_player.md b/pages/common/spotify_player.md new file mode 100644 index 00000000000000..eb43f809dd4874 --- /dev/null +++ b/pages/common/spotify_player.md @@ -0,0 +1,28 @@ +# spotify_player + +> A TUI Spotify client that implements all features of the official Spotify app. +> More information: . + +- Start a daemon that plays music in the background: + +`spotify_player {{[-d|--daemon]}}` + +- Start the TUI (controls the daemon if available, otherwise starts its own client): + +`spotify_player` + +- Use the specified theme: + +`spotify_player {{[-t|--theme]}} {{theme_name}}` + +- Use configuration files (`app.toml`, `keymap.toml` and `theme.toml`) in the specified directory: + +`spotify_player {{[-c|--config-folder]}} {{path/to/directory}}` + +- Like the currently playing track: + +`spotify_player like` + +- Display a list of keybindings: + +`` diff --git a/pages/common/spottopgm.md b/pages/common/spottopgm.md new file mode 100644 index 00000000000000..e093302c5dfd46 --- /dev/null +++ b/pages/common/spottopgm.md @@ -0,0 +1,16 @@ +# spottopgm + +> Convert a SPOT satellite image to PGM format. +> More information: . + +- Convert the specified SPOT image to PGM format: + +`spottopgm {{path/to/file.spot}} > {{path/to/output.pgm}}` + +- Extract the specified color channel: + +`spottopgm -{{1|2|3}} {{path/to/file.spot}} > {{path/to/output.pgm}}` + +- Extract the specified rectangle from the input image: + +`spottopgm {{first_col first_row last_col last_row}} {{path/to/file.spot}} > {{path/to/output.pgm}}` diff --git a/pages/common/sputoppm.md b/pages/common/sputoppm.md new file mode 100644 index 00000000000000..45a1a007dc08c1 --- /dev/null +++ b/pages/common/sputoppm.md @@ -0,0 +1,8 @@ +# sputoppm + +> Convert an Atari uncompressed Spectrum image to a PPM image. +> More information: . + +- Convert an SPU file to a PPM image: + +`sputoppm {{path/to/input.spu}} > {{path/to/output.ppm}}` diff --git a/pages/common/sqlite-utils.md b/pages/common/sqlite-utils.md new file mode 100644 index 00000000000000..1da7d0789b5463 --- /dev/null +++ b/pages/common/sqlite-utils.md @@ -0,0 +1,36 @@ +# sqlite-utils + +> Manipulate SQLite databases in a number of different ways. +> More information: . + +- Create a database: + +`sqlite-utils create-database {{path/to/database.db}}` + +- Create a table: + +`sqlite-utils create-table {{path/to/database.db}} {{table_name}} {{id integer name text height float photo blob --pk id}}` + +- List tables: + +`sqlite-utils tables {{path/to/database.db}}` + +- Upsert a record: + +`{{echo '[ {"id": 1, "name": "Linus Torvalds"}, {"id": 2, "name": "Steve Wozniak"}, {"id": 3, "name": "Tony Hoare"} ]'}} | sqlite-utils upsert {{path/to/database.db}} {{table_name}} - {{--pk id}}` + +- Select records: + +`sqlite-utils rows {{path/to/database.db}} {{table_name}}` + +- Delete a record: + +`sqlite-utils query {{path/to/database.db}} "{{delete from table_name where name = 'Tony Hoare'}}"` + +- Drop a table: + +`sqlite-utils drop-table {{path/to/database.db}} {{table_name}}` + +- Display help: + +`sqlite-utils {{[-h|--help]}}` diff --git a/pages/common/sqlite3.md b/pages/common/sqlite3.md index 60fcd6c973297a..2ebbd19ceb1c28 100644 --- a/pages/common/sqlite3.md +++ b/pages/common/sqlite3.md @@ -1,7 +1,7 @@ # sqlite3 -> The command-line interface to SQLite 3, which is a self-contained file-based embedded SQL engine. -> More information: . +> Interface to SQLite 3, which is a self-contained file-based embedded SQL engine. +> More information: . - Start an interactive shell with a new database: diff --git a/pages/common/sqlmap.md b/pages/common/sqlmap.md index 069e6456712274..405966deacac61 100644 --- a/pages/common/sqlmap.md +++ b/pages/common/sqlmap.md @@ -5,20 +5,20 @@ - Run sqlmap against a single target URL: -`python sqlmap.py -u "{{http://www.target.com/vuln.php?id=1}}"` +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php?id=1}}"` - Send data in a POST request (`--data` implies POST request): -`python sqlmap.py -u "{{http://www.target.com/vuln.php}}" --data="{{id=1}}"` +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --data="{{id=1}}"` - Change the parameter delimiter (& is the default): -`python sqlmap.py -u "{{http://www.target.com/vuln.php}}" --data="{{query=foobar;id=1}}" --param-del="{{;}}"` +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --data="{{query=foobar;id=1}}" --param-del="{{;}}"` - Select a random `User-Agent` from `./txt/user-agents.txt` and use it: -`python sqlmap.py -u "{{http://www.target.com/vuln.php}}" --random-agent` +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --random-agent` - Provide user credentials for HTTP protocol authentication: -`python sqlmap.py -u "{{http://www.target.com/vuln.php}}" --auth-type {{Basic}} --auth-cred "{{testuser:testpass}}"` +`python sqlmap.py {{[-u|--url]}} "{{http://www.example.com/vuln.php}}" --auth-type {{Basic}} --auth-cred "{{testuser:testpass}}"` diff --git a/pages/common/sqlx.md b/pages/common/sqlx.md new file mode 100644 index 00000000000000..4e436fdd587c06 --- /dev/null +++ b/pages/common/sqlx.md @@ -0,0 +1,24 @@ +# sqlx + +> Utility for SQLx, the Rust SQL toolkit. +> More information: . + +- Create the database specified in the DATABASE_URL environment variable: + +`sqlx database create` + +- Drop the specified database: + +`sqlx database drop {{[-D|--database-url]}} {{database_url}}` + +- Create a new pair of up and down migration files with the given description in the "migrations" directory: + +`sqlx migrate add -r {{migration_description}}` + +- Run all pending migrations for the specified database: + +`sqlx migrate run {{[-D|--database-url]}} {{database_url}}` + +- Revert the latest migration for the specified database: + +`sqlx migrate revert {{[-D|--database-url]}} {{database_url}}` diff --git a/pages/common/sqsc.md b/pages/common/sqsc.md index 9dea79d48ca6b6..72f5ca5f12bf98 100644 --- a/pages/common/sqsc.md +++ b/pages/common/sqsc.md @@ -1,6 +1,6 @@ # sqsc -> A command line AWS Simple Queue Service client. +> An AWS Simple Queue Service client. > More information: . - List all queues: @@ -27,6 +27,6 @@ `sqsc query "SELECT body FROM {{queue_name}} WHERE body LIKE '%user%'"` -- Pull all messages from a queue into a local sqlite database in your present working directory: +- Pull all messages from a queue into a local SQLite database in your present working directory: `sqsc pull {{queue_name}}` diff --git a/pages/common/sr.md b/pages/common/sr.md new file mode 100644 index 00000000000000..d6fcc042aa534b --- /dev/null +++ b/pages/common/sr.md @@ -0,0 +1,7 @@ +# sr + +> This command is an alias of `surfraw`. + +- View documentation for the original command: + +`tldr surfraw` diff --git a/pages/common/srftopam.md b/pages/common/srftopam.md new file mode 100644 index 00000000000000..cd485594b5dd8b --- /dev/null +++ b/pages/common/srftopam.md @@ -0,0 +1,9 @@ +# srftopam + +> Convert an SRF file to Netpbm format. +> See also: `pamtosrf`. +> More information: . + +- Convert an SRF file to Netpbm format: + +`srftopam {{path/to/file.srf}} > {{path/to/output.pam}}` diff --git a/pages/common/srm.md b/pages/common/srm.md index 2d1d4a529a5028..fea348b6745981 100644 --- a/pages/common/srm.md +++ b/pages/common/srm.md @@ -2,11 +2,11 @@ > Securely remove files or directories. > Overwrites the existing data one or multiple times. Drop in replacement for rm. -> More information: . +> More information: . - Remove a file after a single-pass overwriting with random data: -`srm -s {{path/to/file}}` +`srm {{[-s|--simple]}} {{path/to/file}}` - Remove a file after seven passes of overwriting with random data: @@ -14,8 +14,8 @@ - Recursively remove a directory and its contents overwriting each file with a single-pass of random data: -`srm -r -s {{path/to/directory}}` +`srm {{[-r|--recursive]}} {{[-s|--simple]}} {{path/to/directory}}` - Prompt before every removal: -`srm -i {{\*}}` +`srm {{[-i|--interactive]}} {{\*}}` diff --git a/pages/common/srun.md b/pages/common/srun.md new file mode 100644 index 00000000000000..5bce3d1874dbe7 --- /dev/null +++ b/pages/common/srun.md @@ -0,0 +1,24 @@ +# srun + +> Run a command under the Slurm workload manager. +> More information: . + +- Run a simple command interactively: + +`srun hostname` + +- Run a job with 4 tasks (CPUs): + +`srun {{[-n|--ntasks]}} 4 {{path/to/program}}` + +- Allocate 8 GB of memory: + +`srun --mem 8G {{path/to/program}}` + +- Run a job on a specific partition: + +`srun {{[-p|--partition]}} gpu {{path/to/program}}` + +- Run a job and save the output to a file: + +`srun {{path/to/program}} > {{path/to/output}}` diff --git a/pages/common/ss-local.md b/pages/common/ss-local.md index 7e2fdc57663983..f0db87846267f9 100644 --- a/pages/common/ss-local.md +++ b/pages/common/ss-local.md @@ -7,7 +7,7 @@ `ss-local -s {{host}} -p {{server_port}} -l {{local port}} -k {{password}} -m {{encrypt_method}}` -- Run a Shadowsocks proxy by specifying the config file: +- Run a Shadowsocks proxy by specifying the configuration file: `ss-local -c {{path/to/config/file.json}}` diff --git a/pages/common/ssh-add.md b/pages/common/ssh-add.md new file mode 100644 index 00000000000000..114ab021bfa9f9 --- /dev/null +++ b/pages/common/ssh-add.md @@ -0,0 +1,29 @@ +# ssh-add + +> Manage loaded SSH keys in the `ssh-agent`. +> Ensure that `ssh-agent` is up and running for the keys to be loaded in it. +> More information: . + +- Add the default SSH keys in `~/.ssh` to the ssh-agent: + +`ssh-add` + +- Add a specific key to the ssh-agent: + +`ssh-add {{path/to/private_key}}` + +- List fingerprints of currently loaded keys: + +`ssh-add -l` + +- Delete a key from the ssh-agent: + +`ssh-add -d {{path/to/private_key}}` + +- Delete all currently loaded keys from the ssh-agent: + +`ssh-add -D` + +- Add a key to the ssh-agent and the keychain: + +`ssh-add -K {{path/to/private_key}}` diff --git a/pages/common/ssh-agent.md b/pages/common/ssh-agent.md index 70a9701fb89c8e..389221cec4e945 100644 --- a/pages/common/ssh-agent.md +++ b/pages/common/ssh-agent.md @@ -2,7 +2,8 @@ > Spawn an SSH Agent process. > An SSH Agent holds SSH keys decrypted in memory until removed or the process is killed. -> See also `ssh-add`, which can add and manage keys held by an SSH Agent. +> See also: `ssh-add`, which can add and manage keys held by an SSH Agent. +> More information: . - Start an SSH Agent for the current shell: diff --git a/pages/common/ssh-copy-id.md b/pages/common/ssh-copy-id.md index 0e92ac500fa2b7..cc55a29796e6dc 100644 --- a/pages/common/ssh-copy-id.md +++ b/pages/common/ssh-copy-id.md @@ -1,10 +1,11 @@ # ssh-copy-id > Install your public key in a remote machine's authorized_keys. +> More information: . - Copy your keys to the remote machine: -`ssh-copy-id {{username@remote_host}}` +`ssh-copy-id {{username}}@{{remote_host}}` - Copy the given public key to the remote: diff --git a/pages/common/ssh-keygen.md b/pages/common/ssh-keygen.md index 7fa33b760245c8..e52ef8693b29e4 100644 --- a/pages/common/ssh-keygen.md +++ b/pages/common/ssh-keygen.md @@ -1,26 +1,20 @@ # ssh-keygen -> Generate ssh keys used for authentication, password-less logins, and other things. +> Generate SSH keys used for authentication, password-less logins, and other things. +> See also: `ssh-copy-id` for installing SSH keys on remote hosts. +> More information: . - Generate a key interactively: `ssh-keygen` -- Specify file in which to save the key: +- Generate an ed25519 key with 32 key derivation function rounds and save the key to a specific file: -`ssh-keygen -f ~/.ssh/{{filename}}` +`ssh-keygen -t {{ed25519}} -a {{32}} -f {{~/.ssh/filename}}` -- Generate an ed25519 key with 100 key derivation function rounds: +- Generate an RSA 4096-bit key with email as a comment: -`ssh-keygen -t ed25519 -a 100` - -- Generate an RSA 4096 bit key with email as a comment: - -`ssh-keygen -t rsa -b 4096 -C "{{email}}"` - -- Retrieve the key fingerprint from a host (useful for confirming the authenticity of the host when first connecting to it via SSH): - -`ssh-keygen -l -F {{remote_host}}` +`ssh-keygen -t {{rsa}} -b {{4096}} -C "{{comment|email}}"` - Remove the keys of a host from the known_hosts file (useful when a known host has a new key): @@ -28,8 +22,16 @@ - Retrieve the fingerprint of a key in MD5 Hex: -`ssh-keygen -l -E md5 -f ~/.ssh/{{filename}}` +`ssh-keygen -l -E {{md5}} -f {{~/.ssh/filename}}` - Change the password of a key: -`ssh-keygen -p -f ~/.ssh/{{filename}}` +`ssh-keygen -p -f {{~/.ssh/filename}}` + +- Change the type of the key format (for example from OPENSSH format to PEM), the file will be rewritten in-place: + +`ssh-keygen -p -N "" -m {{PEM}} -f {{~/.ssh/OpenSSH_private_key}}` + +- Retrieve public key from secret key: + +`ssh-keygen -y -f {{~/.ssh/OpenSSH_private_key}}` diff --git a/pages/common/ssh-keyscan.md b/pages/common/ssh-keyscan.md index 15f666c72068ff..4b5d0d36c226c2 100644 --- a/pages/common/ssh-keyscan.md +++ b/pages/common/ssh-keyscan.md @@ -1,19 +1,20 @@ # ssh-keyscan -> Get the public ssh keys of remote hosts. +> Get the public SSH keys of remote hosts. +> More information: . -- Retrieve all public ssh keys of a remote host: +- Retrieve all public SSH keys of a remote host: -`ssh-keyscan {{host}}` +`ssh-keyscan {{hostname}}` -- Retrieve all public ssh keys of a remote host listening on a specific port: +- Retrieve all public SSH keys of a remote host listening on a specific port: -`ssh-keyscan -p {{port}} {{host}}` +`ssh-keyscan -p {{port}} {{hostname}}` -- Retrieve certain types of public ssh keys of a remote host: +- Retrieve certain types of public SSH keys of a remote host: -`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{host}}` +`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{hostname}}` -- Manually update the ssh known_hosts file with the fingerprint of a given host: +- Manually update the SSH known_hosts file with the fingerprint of a given host: -`ssh-keyscan -H {{host}} >> ~/.ssh/known_hosts` +`ssh-keyscan -H {{hostname}} >> ~/.ssh/known_hosts` diff --git a/pages/common/ssh.md b/pages/common/ssh.md index c968e51b8c0127..ee4623db260ddb 100644 --- a/pages/common/ssh.md +++ b/pages/common/ssh.md @@ -2,6 +2,7 @@ > Secure Shell is a protocol used to securely log onto remote systems. > It can be used for logging or executing commands on a remote server. +> More information: . - Connect to a remote server: @@ -11,26 +12,26 @@ `ssh -i {{path/to/key_file}} {{username}}@{{remote_host}}` -- Connect to a remote server using a specific port: +- Connect to a remote server with IP `10.0.0.1` and using a specific [p]ort (Note: `10.0.0.1` can be shortened to `10.1`): -`ssh {{username}}@{{remote_host}} -p {{2222}}` +`ssh {{username}}@10.0.0.1 -p {{2222}}` -- Run a command on a remote server: +- Run a command on a remote server with a [t]ty allocation allowing interaction with the remote command: -`ssh {{remote_host}} {{command -with -flags}}` +`ssh {{username}}@{{remote_host}} -t {{command}} {{command_arguments}}` -- SSH tunneling: Dynamic port forwarding (SOCKS proxy on localhost:9999): +- SSH tunneling: [D]ynamic port forwarding (SOCKS proxy on `localhost:1080`): -`ssh -D {{9999}} -C {{username}}@{{remote_host}}` +`ssh -D {{1080}} {{username}}@{{remote_host}}` -- SSH tunneling: Forward a specific port (localhost:9999 to example.org:80) along with disabling pseudo-[t]ty allocation and executio[n] of remote commands: +- SSH tunneling: Forward a specific port (`localhost:9999` to `example.org:80`) along with disabling pseudo-[T]ty allocation and executio[N] of remote commands: `ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{username}}@{{remote_host}}` -- SSH jumping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters): +- SSH [J]umping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters): `ssh -J {{username}}@{{jump_host}} {{username}}@{{remote_host}}` -- Agent forwarding: Forward the authentication information to the remote machine (see `man ssh_config` for available options): +- Close a hanged session: -`ssh -A {{username}}@{{remote_host}}` +`<~><.>` diff --git a/pages/common/sshd.md b/pages/common/sshd.md new file mode 100644 index 00000000000000..035078fbffb226 --- /dev/null +++ b/pages/common/sshd.md @@ -0,0 +1,21 @@ +# sshd + +> Secure Shell Daemon - allows remote machines to securely log in to the current machine. +> Remote machines can execute commands as it is executed at this machine. +> More information: . + +- Start daemon in the background: + +`sshd` + +- Run sshd in the foreground: + +`sshd -D` + +- Run with verbose output (for debugging): + +`sshd -D -d` + +- Run on a specific port: + +`sshd -p {{port}}` diff --git a/pages/common/sshfs.md b/pages/common/sshfs.md index d228fb49829ba8..9a36e8b1cd1b07 100644 --- a/pages/common/sshfs.md +++ b/pages/common/sshfs.md @@ -1,6 +1,6 @@ # sshfs -> Filesystem client based on ssh. +> Filesystem client based on SSH. > More information: . - Mount remote directory: diff --git a/pages/common/sshpass.md b/pages/common/sshpass.md index 998096afa2c2e8..9834cd3b309dca 100644 --- a/pages/common/sshpass.md +++ b/pages/common/sshpass.md @@ -1,16 +1,17 @@ # sshpass -> An ssh password provider. -> It works by creating a TTY, feeding the password into it, and then redirecting `stdin` to the ssh session. +> An SSH password provider. +> It works by creating a TTY, feeding the password into it, and then redirecting `stdin` to the SSH session. +> More information: . - Connect to a remote server using a password supplied on a file descriptor (in this case, `stdin`): `sshpass -d {{0}} ssh {{user}}@{{hostname}}` -- Connect to a remote server with the password supplied as an option, and automatically accept unknown ssh keys: +- Connect to a remote server with the password supplied as an option, and automatically accept unknown SSH keys: `sshpass -p {{password}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}}` -- Connect to a remote server using the first line of a file as the password, automatically accept unknown ssh keys, and launch a command: +- Connect to a remote server using the first line of a file as the password, automatically accept unknown SSH keys, and launch a command: -`sshpass -f {{file}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}} "{{command}}"` +`sshpass -f {{path/to/file}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}} "{{command}}"` diff --git a/pages/common/sshuttle.md b/pages/common/sshuttle.md new file mode 100644 index 00000000000000..a1ad0d43783415 --- /dev/null +++ b/pages/common/sshuttle.md @@ -0,0 +1,21 @@ +# sshuttle + +> Transparent proxy server that tunnels traffic over an SSH connection. +> Doesn't require root or any special setup on the remote SSH server, though root access on the local machine is prompted for. +> More information: . + +- Forward all IPv4 TCP traffic via a remote SSH server: + +`sshuttle {{[-r|--remote]}} {{username}}@{{sshserver}} {{0.0.0.0/0}}` + +- Also forward all DNS traffic to the server's default DNS resolver: + +`sshuttle --dns {{[-r|--remote]}} {{username}}@{{sshserver}} {{0.0.0.0/0}}` + +- Forward all traffic except that which is bound for a specific subnet: + +`sshuttle {{[-r|--remote]}} {{username}}@{{sshserver}} {{0.0.0.0/0}} {{[-x|--exclude]}} {{192.168.0.1/24}}` + +- Use the tproxy method to forward all IPv4 and IPv6 traffic: + +`sshuttle --method tproxy {{[-r|--remote]}} {{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} {{[-x|--exclude]}} {{your_local_ip_address}} {{[-x|--exclude]}} {{ssh_server_ip_address}}` diff --git a/pages/common/sslscan.md b/pages/common/sslscan.md new file mode 100644 index 00000000000000..57eb60ac5ec2d9 --- /dev/null +++ b/pages/common/sslscan.md @@ -0,0 +1,16 @@ +# sslscan + +> Check SSL/TLS protocols and ciphers supported by a server. +> More information: . + +- Test a server on port 443: + +`sslscan {{example.com}}` + +- Test a specified port: + +`sslscan {{example.com}}:{{465}}` + +- Show certificate information: + +`testssl --show-certificate {{example.com}}` diff --git a/pages/common/st-flash.md b/pages/common/st-flash.md index a1b003972688a9..11e161aece6aac 100644 --- a/pages/common/st-flash.md +++ b/pages/common/st-flash.md @@ -1,15 +1,15 @@ # st-flash > Flash binary files to STM32 ARM Cortex microcontrollers. -> More information: . +> More information: . - Read 4096 bytes from the device starting from 0x8000000: -`st-flash read {{firmware}}.bin {{0x8000000}} {{4096}}` +`st-flash read {{firmware}}.bin 0x8000000 4096` - Write firmware to device starting from 0x8000000: -`st-flash write {{firmware}}.bin {{0x8000000}}` +`st-flash write {{firmware}}.bin 0x8000000` - Erase firmware from device: diff --git a/pages/common/st-info.md b/pages/common/st-info.md index 8d717c786c93ef..3e043c1a5018fc 100644 --- a/pages/common/st-info.md +++ b/pages/common/st-info.md @@ -1,13 +1,13 @@ # st-info -> Provides information about connected STLink and STM32 devices. +> Get information about connected STLink and STM32 devices. > More information: . - Display amount of program memory available: `st-info --flash` -- Display amount of sram memory available: +- Display amount of SRAM memory available: `st-info --sram` diff --git a/pages/common/st-util.md b/pages/common/st-util.md index 05311814b303c2..e3be4d49e32b80 100644 --- a/pages/common/st-util.md +++ b/pages/common/st-util.md @@ -5,12 +5,12 @@ - Run GDB server on port 4500: -`st-util -p {{4500}}` +`st-util {{[-p|--listen_port]}} {{4500}}` -- Connect to GDB server: +- Connect to GDB server within `gdb`: -`(gdb) target extended-remote {{localhost}}:{{4500}}` +`target extended-remote {{localhost}}:{{4500}}` - Write firmware to device: -`(gdb) load {{firmware.elf}}` +`load {{firmware.elf}}` diff --git a/pages/common/st.2.md b/pages/common/st.2.md new file mode 100644 index 00000000000000..0929801d92bd9c --- /dev/null +++ b/pages/common/st.2.md @@ -0,0 +1,28 @@ +# st + +> Print basic descriptive statistics from input numbers. +> More information: . + +- Print count, min, max, sum, mean, and standard deviation for numbers in a file: + +`st {{path/to/file}}` + +- Print statistics from standard input: + +`cat {{path/to/file}} | st` + +- Print only the sum of the numbers: + +`st {{[-s|--sum]}} {{path/to/file}}` + +- Print only the mean of the numbers: + +`st {{[-m|--mean]}} {{path/to/file}}` + +- Print only the standard deviation: + +`st {{[-s|--sd]}} {{path/to/file}}` + +- Transpose output (keys in one column, values in another): + +`st {{[-t|--transpose]}} {{path/to/file}}` diff --git a/pages/common/st4topgm.md b/pages/common/st4topgm.md new file mode 100644 index 00000000000000..b00289567c0807 --- /dev/null +++ b/pages/common/st4topgm.md @@ -0,0 +1,8 @@ +# st4topgm + +> Convert an SBIG ST-4 file to PGM. +> More information: . + +- Convert an SBIG ST-4 file to a PGM file: + +`st4topgm {{path/to/input_file.st4}} > {{path/to/output.pgm}}` diff --git a/pages/common/stack.md b/pages/common/stack.md index 7e8fa0544b607e..9e0bfa0802993d 100644 --- a/pages/common/stack.md +++ b/pages/common/stack.md @@ -1,11 +1,11 @@ # stack -> Tool for managing Haskell projects. +> Manage Haskell projects. > More information: . - Create a new package: -`stack new {{package_name}} {{template_name}}` +`stack new {{package}} {{template}}` - Compile a package: @@ -25,4 +25,4 @@ - Run a program and pass an argument to it: -`stack exec {{program_name}} -- {{argument}}` +`stack exec {{program}} -- {{argument}}` diff --git a/pages/common/standard-version.md b/pages/common/standard-version.md new file mode 100644 index 00000000000000..77b8c9241c9a7b --- /dev/null +++ b/pages/common/standard-version.md @@ -0,0 +1,36 @@ +# standard-version + +> Automate versioning and changelog generation, with SemVer and Conventional Commits. +> More information: . + +- Update the changelog file and tag a release: + +`standard-version` + +- Tag a release without bumping the version: + +`standard-version --first-release` + +- Update the changelog and tag an alpha release: + +`standard-version --prerelease alpha` + +- Update the changelog and tag a specific release type: + +`standard-version --release-as {{major|minor|patch}}` + +- Tag a release, preventing hooks from being verified during the commit step: + +`standard-version --no-verify` + +- Tag a release committing all staged changes, not just files affected by `standard-version`: + +`standard-version --commit-all` + +- Update a specific changelog file and tag a release: + +`standard-version --infile {{path/to/file.md}}` + +- Display the release that would be performed without performing them: + +`standard-version --dry-run` diff --git a/pages/common/standard.md b/pages/common/standard.md index 3b3fd6d043315b..7e02ccbd7f24f9 100644 --- a/pages/common/standard.md +++ b/pages/common/standard.md @@ -9,7 +9,7 @@ - Lint specific JavaScript file(s): -`standard {{path/to/file(s)}}` +`standard {{path/to/file1 path/to/file2 ...}}` - Apply automatic fixes during linting: diff --git a/pages/common/starship-init.md b/pages/common/starship-init.md new file mode 100644 index 00000000000000..8b5a5d089916f0 --- /dev/null +++ b/pages/common/starship-init.md @@ -0,0 +1,20 @@ +# starship init + +> Print shell integration code for starship. +> More information: . + +- Print the starship integration code for the specified shell: + +`starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh}}` + +- Append the `starship` integration code to `~/.bashrc`: + +`starship init {{bash}} >> {{~/.bashrc}}` + +- Append the `starship` integration code to `~/.zshrc`: + +`starship init {{zsh}} >> {{~/.zshrc}}` + +- Display help: + +`starship init --help` diff --git a/pages/common/starship.md b/pages/common/starship.md new file mode 100644 index 00000000000000..090671ef7b7559 --- /dev/null +++ b/pages/common/starship.md @@ -0,0 +1,37 @@ +# starship + +> The minimal, blazing-fast, and infinitely customizable prompt for any shell. +> Some subcommands such as `init` have their own usage documentation. +> More information: . + +- Print the starship integration code for the specified shell: + +`starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh|nu|xonsh|cmd}}` + +- Explain each part of the current prompt and show the time taken to render them: + +`starship explain` + +- Print the computed starship configuration (use `--default` to print default configuration instead): + +`starship print-config` + +- List supported modules: + +`starship module --list` + +- Edit the starship configuration in the default editor: + +`starship config` + +- Create a bug report GitHub issue pre-populated with information about the system and starship configuration: + +`starship bug-report` + +- Print the completion script for the specified shell: + +`starship completions {{bash|elvish|fish|powershell|zsh}}` + +- Display help for a subcommand: + +`starship {{subcommand}} --help` diff --git a/pages/common/stat.md b/pages/common/stat.md index 734d28873229e0..e6ac3d95bed06a 100644 --- a/pages/common/stat.md +++ b/pages/common/stat.md @@ -1,27 +1,28 @@ # stat > Display file and filesystem information. +> More information: . -- Show file properties such as size, permissions, creation and access dates among others: +- Display properties about a specific file such as size, permissions, creation and access dates among others: -`stat {{file}}` +`stat {{path/to/file}}` -- Same as above but in a more concise way: +- Display properties about a specific file, only showing the raw result data without labels: -`stat -t {{file}}` +`stat {{[-t|--terse]}} {{path/to/file}}` -- Show filesystem information: +- Display information about the filesystem where a specific file is located: -`stat -f {{file}}` +`stat {{[-f|--file-system]}} {{path/to/file}}` - Show only octal file permissions: -`stat -c "%a %n" {{file}}` +`stat {{[-c|--format]}} "%a %n" {{path/to/file}}` -- Show owner and group of the file: +- Show the owner and group of a specific file: -`stat -c "%U %G" {{file}}` +`stat {{[-c|--format]}} "%U %G" {{path/to/file}}` -- Show the size of the file in bytes: +- Show the size of a specific file in bytes: -`stat -c "%s %n" {{file}}` +`stat {{[-c|--format]}} "%s %n" {{path/to/file}}` diff --git a/pages/common/stdbuf.md b/pages/common/stdbuf.md index 3dafac4535304d..7b4a7753d28f85 100644 --- a/pages/common/stdbuf.md +++ b/pages/common/stdbuf.md @@ -1,15 +1,16 @@ # stdbuf > Run a command with modified buffering operations for its standard streams. +> More information: . -- Change the standard input buffer size to 512 KiB: +- Change `stdin` buffer size to 512 KiB: -`stdbuf --input={{512K}} {{command}}` +`stdbuf {{[-i|--input]}} 512K {{command}}` -- Change the standard output buffer to line-buffered: +- Change `stdout` buffer to line-buffered: -`stdbuf --output={{L}} {{command}}` +`stdbuf {{[-o|--output]}} L {{command}}` -- Change the standard error buffer to unbuffered: +- Change `stderr` buffer to unbuffered: -`stdbuf --error={{0}} {{command}}` +`stdbuf {{[-e|--error]}} 0 {{command}}` diff --git a/pages/common/steam.md b/pages/common/steam.md new file mode 100644 index 00000000000000..8749ffd9a99f4b --- /dev/null +++ b/pages/common/steam.md @@ -0,0 +1,32 @@ +# steam + +> Video game platform by Valve. +> More information: . + +- Launch Steam, printing debug messages to `stdout`: + +`steam` + +- Launch Steam and enable its in-app debug console tab: + +`steam -console` + +- Launch Steam without opening the GUI: + +`steam -silent` + +- Enable and open the Steam console tab in a running Steam instance: + +`steam steam://open/console` + +- Log into Steam with the specified credentials: + +`steam -login {{username}} {{password}}` + +- Launch Steam in Big Picture Mode: + +`steam -tenfoot` + +- Exit Steam: + +`steam -shutdown` diff --git a/pages/common/steamcmd.md b/pages/common/steamcmd.md new file mode 100644 index 00000000000000..6ff855bb5d60b1 --- /dev/null +++ b/pages/common/steamcmd.md @@ -0,0 +1,20 @@ +# steamcmd + +> A command-line version of the Steam client. +> More information: . + +- Install or update an application anonymously: + +`steamcmd +login {{anonymous}} +app_update {{appid}} +quit` + +- Install or update an application using the specified credentials: + +`steamcmd +login {{username}} +app_update {{appid}} +quit` + +- Install an application for a specific platform: + +`steamcmd +@sSteamCmdForcePlatformType {{windows}} +login {{anonymous}} +app_update {{appid}} validate +quit` + +- Clear cached login credentials for a user: + +`steamcmd +login {{username}} +logout +quit` diff --git a/pages/common/step.md b/pages/common/step.md new file mode 100644 index 00000000000000..c0d80795fda8d1 --- /dev/null +++ b/pages/common/step.md @@ -0,0 +1,37 @@ +# step + +> An easy-to-use CLI tool for building, operating, and automating Public Key Infrastructure (PKI) systems and workflows. +> See also: `openssl`. +> More information: . + +- Inspect the contents of a certificate: + +`step certificate inspect {{path/to/certificate.crt}}` + +- Create a root CA certificate and a key (append `--no-password --insecure` to skip private key password protection): + +`step certificate create "{{Example Root CA}}" {{path/to/root-ca.crt}} {{path/to/root-ca.key}} --profile root-ca` + +- Generate a certificate for a specific hostname and sign it with the root CA (generating a CSR can be skipped for simplification): + +`step certificate create {{hostname.example.com}} {{path/to/hostname.crt}} {{path/to/hostname.key}} --profile leaf --ca {{path/to/root-ca.crt}} --ca-key {{path/to/root-ca.key}}` + +- Verify a certificate chain: + +`step certificate verify {{path/to/hostname.crt}} --roots {{path/to/root-ca.crt}} --verbose` + +- Convert a PEM format certificate to DER and write it to disk: + +`step certificate format {{path/to/certificate.pem}} --out {{path/to/certificate.der}}` + +- Install or uninstall a root certificate in the system's default trust store: + +`step certificate {{install|uninstall}} {{path/to/root-ca.crt}}` + +- Create a RSA/EC private and public keypair (append `--no-password --insecure` to skip private key password protection): + +`step crypto keypair {{path/to/public_key}} {{path/to/private_key}} --kty {{RSA|EC}}` + +- Display help for subcommands: + +`step {{path|base64|certificate|completion|context|crl|crypto|oauth|ca|beta|ssh}} --help` diff --git a/pages/common/stern.md b/pages/common/stern.md index 6415416875b906..13db7433147d29 100644 --- a/pages/common/stern.md +++ b/pages/common/stern.md @@ -1,7 +1,7 @@ # stern > Tail multiple pods and containers from Kubernetes. -> More information: . +> More information: . - Tail all pods within a current namespace: @@ -11,7 +11,7 @@ `stern . --container-state {{running|waiting|terminated}}` -- Tail all pods that matches a given regular expression: +- Tail all pods that matches a given `regex`: `stern {{pod_query}}` diff --git a/pages/common/stl2gts.md b/pages/common/stl2gts.md new file mode 100644 index 00000000000000..3cdd086543515b --- /dev/null +++ b/pages/common/stl2gts.md @@ -0,0 +1,24 @@ +# stl2gts + +> Convert STL files into the GTS (GNU triangulated surface library) file format. +> More information: . + +- Convert an STL file to a GTS file: + +`stl2gts < {{path/to/file.stl}} > {{path/to/file.gts}}` + +- Convert an STL file to a GTS file and revert face normals: + +`stl2gts < {{path/to/file.stl}} --revert > {{path/to/file.gts}}` + +- Convert an STL file to a GTS file and do not merge vertices: + +`stl2gts < {{path/to/file.stl}} --nomerge > {{path/to/file.gts}}` + +- Convert an STL file to a GTS file and display surface statistics: + +`stl2gts < {{path/to/file.stl}} --verbose > {{path/to/file.gts}}` + +- Display help: + +`stl2gts --help` diff --git a/pages/common/stolonctl.md b/pages/common/stolonctl.md index dbdba75e46fc85..000737c264841a 100644 --- a/pages/common/stolonctl.md +++ b/pages/common/stolonctl.md @@ -15,6 +15,6 @@ `stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} spec` -- Update cluster specification with a patch in json format: +- Update cluster specification with a patch in JSON format: `stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} update --patch '{{cluster_spec}}'` diff --git a/pages/common/stormlock.md b/pages/common/stormlock.md new file mode 100644 index 00000000000000..386b9e164ab0fc --- /dev/null +++ b/pages/common/stormlock.md @@ -0,0 +1,20 @@ +# stormlock + +> Centralized locking system. +> More information: . + +- Acquire a lease for resource: + +`stormlock acquire {{resource}}` + +- Release the given lease for the given resource: + +`stormlock release {{resource}} {{lease_id}}` + +- Show information on the current lease for a resource, if any: + +`stormlock current {{resource}}` + +- Test if a lease for given resource is currently active: + +`stormlock is-held {{resource}} {{lease_id}}` diff --git a/pages/common/stow.md b/pages/common/stow.md index 5360ea94de551d..e1c3f612eb9251 100644 --- a/pages/common/stow.md +++ b/pages/common/stow.md @@ -2,24 +2,25 @@ > Symlink manager. > Often used to manage dotfiles. -> More information: . +> See also: `chezmoi`, `tuckr`, `vcsh`, `homeshick`. +> More information: . - Symlink all files recursively to a given directory: -`stow --target={{path/to/target_directory}} {{file1 directory1 file2 directory2}}` +`stow {{[-t|--target]}} {{path/to/target_directory}} {{file1 directory1 file2 directory2}}` - Delete symlinks recursively from a given directory: -`stow --delete --target={{path/to/target_directory}} {{file1 directory1 file2 directory2}}` +`stow {{[-D|--delete]}} {{[-t|--target]}} {{path/to/target_directory}} {{file1 directory1 file2 directory2}}` - Simulate to see what the result would be like: -`stow --simulate --target={{path/to/target_directory}} {{file1 directory1 file2 directory2}}` +`stow {{[-n|--simulate]}} {{[-t|--target]}} {{path/to/target_directory}} {{file1 directory1 file2 directory2}}` - Delete and resymlink: -`stow --restow --target={{path/to/target_directory}} {{file1 directory1 file2 directory2}}` +`stow {{[-R|--restow]}} {{[-t|--target]}} {{path/to/target_directory}} {{file1 directory1 file2 directory2}}` -- Exclude files matching a regular expression: +- Exclude files matching a `regex`: -`stow --ignore={{regex}} --target={{path/to/target_directory}} {{file1 directory1 file2 directory2}}` +`stow --ignore={{regex}} {{[-t|--target]}} {{path/to/target_directory}} {{file1 directory1 file2 directory2}}` diff --git a/pages/common/streamlink.md b/pages/common/streamlink.md index af6798449edc83..645432f80588cf 100644 --- a/pages/common/streamlink.md +++ b/pages/common/streamlink.md @@ -15,11 +15,11 @@ `streamlink {{example.com/stream}} {{best|worst}}` -- Specify which player to use to feed stream data to (VLC is used by default if found): +- Use a specific player to feed stream data to (VLC is used by default if found): `streamlink --player={{mpv}} {{example.com/stream}} {{best}}` -- Specify the amount of time to skip from the beginning of the stream. For live streams, this is a negative offset from the end of the stream (rewind): +- Skip a specific amount of time from the beginning of the stream. For live streams, this is a negative offset from the end of the stream (rewind): `streamlink --hls-start-offset {{[HH:]MM:SS}} {{example.com/stream}} {{best}}` diff --git a/pages/common/streamlit.md b/pages/common/streamlit.md new file mode 100644 index 00000000000000..e72198b032874f --- /dev/null +++ b/pages/common/streamlit.md @@ -0,0 +1,20 @@ +# streamlit + +> Framework for creating interactive, data-driven web apps in Python. +> More information: . + +- Check for the Streamlit installation: + +`streamlit hello` + +- Run a Streamlit application: + +`streamlit run {{project_name}}` + +- Display help: + +`streamlit --help` + +- Display version: + +`streamlit --version` diff --git a/pages/common/stress-ng.md b/pages/common/stress-ng.md new file mode 100644 index 00000000000000..23db81673a7b10 --- /dev/null +++ b/pages/common/stress-ng.md @@ -0,0 +1,21 @@ +# stress-ng + +> Load and stress a Linux system in various ways (CPU, memory, I/O, etc.). +> Useful for benchmarking, hardware validation, and stability testing. +> More information: . + +- Stress all CPUs with 4 workers for 60 seconds: + +`stress-ng {{[-c|--cpu]}} 4 {{[-t|--timeout]}} 60s` + +- Stress virtual memory with 2 workers for 30 seconds: + +`stress-ng {{[-m|--vm]}} 2 --vm-bytes {{512M}} {{[-t|--timeout]}} 30s` + +- Stress the I/O subsystem with 3 workers for 45 seconds: + +`stress-ng {{[-i|--io]}} 3 {{[-t|--timeout]}} 45s` + +- Run all stress tests for 2 minutes: + +`stress-ng {{[-a|--all]}} {{1}} {{[-t|--timeout]}} 2m` diff --git a/pages/common/stressapptest.md b/pages/common/stressapptest.md new file mode 100644 index 00000000000000..393d09cf5546f9 --- /dev/null +++ b/pages/common/stressapptest.md @@ -0,0 +1,16 @@ +# stressapptest + +> Userspace memory and IO test. +> More information: . + +- Test the given amount of memory (in Megabytes): + +`stressapptest -M {{memory}}` + +- Test memory as well as I/O for the given file: + +`stressapptest -M {{memory}} -f {{path/to/file}}` + +- Test specifying the verbosity level, where 0=lowest, 20=highest, 8=default: + +`stressapptest -M {{memory}} -v {{level}}` diff --git a/pages/common/strings.md b/pages/common/strings.md index d430d3b9791909..3916798292747f 100644 --- a/pages/common/strings.md +++ b/pages/common/strings.md @@ -1,19 +1,20 @@ # strings > Find printable strings in an object file or binary. +> More information: . - Print all strings in a binary: -`strings {{file}}` +`strings {{path/to/file}}` -- Limit results to strings at least *length* characters long: +- Limit results to strings at least n characters long: -`strings -n {{length}} {{file}}` +`strings {{[-n|--bytes]}} {{n}} {{path/to/file}}` - Prefix each result with its offset within the file: -`strings -t d {{file}}` +`strings {{[-t|--radix]}} d {{path/to/file}}` - Prefix each result with its offset within the file in hexadecimal: -`strings -t x {{file}}` +`strings {{[-t|--radix]}} x {{path/to/file}}` diff --git a/pages/common/strip-nondeterminism.md b/pages/common/strip-nondeterminism.md index 945b46ae81be83..47aa7364632a40 100644 --- a/pages/common/strip-nondeterminism.md +++ b/pages/common/strip-nondeterminism.md @@ -1,6 +1,6 @@ # strip-nondeterminism -> A tool to remove non-deterministic information (e.g. timestamps) from files. +> Remove non-deterministic information (e.g. timestamps) from files. > More information: . - Strip nondeterministic information from a file: diff --git a/pages/common/stripe.md b/pages/common/stripe.md index 7ba2f8dacb8536..57c3bc4fd75d4c 100644 --- a/pages/common/stripe.md +++ b/pages/common/stripe.md @@ -1,7 +1,7 @@ # stripe > Interact with a Stripe account. -> More information: . +> More information: . - Follow the logs of activity on the account: diff --git a/pages/common/stty.md b/pages/common/stty.md index 51a85fee33cf99..3ecdcf31225c75 100644 --- a/pages/common/stty.md +++ b/pages/common/stty.md @@ -1,23 +1,36 @@ # stty > Set options for a terminal device interface. +> More information: . -- Display all settings for the current terminal: +- Display current terminal size: -`stty -a` +`stty size` -- Set the number of rows: +- Display all settings for the current terminal: -`stty rows {{rows}}` +`stty {{[-a|--all]}}` -- Set the number of columns: +- Set the number of rows or columns: -`stty cols {{cols}}` +`stty {{rows|cols}} {{count}}` - Get the actual transfer speed of a device: -`stty -f {{path/to/device_file}} speed` +`stty {{[-F|--file]}} {{path/to/device_file}} speed` - Reset all modes to reasonable values for the current terminal: `stty sane` + +- Switch between raw and normal mode: + +`stty {{raw|cooked}}` + +- Turn character echoing off or on: + +`stty {{-echo|echo}}` + +- Display help: + +`stty --help` diff --git a/pages/common/stun.md b/pages/common/stun.md new file mode 100644 index 00000000000000..e57aff51349350 --- /dev/null +++ b/pages/common/stun.md @@ -0,0 +1,12 @@ +# stun + +> Classic STUN client. +> More information: . + +- Make a STUN request: + +`stun {{stun.1und1.de}}` + +- Make a STUN request and specify the source port: + +`stun {{stun.1und1.de}} -p {{4302}}` diff --git a/pages/common/stylua.md b/pages/common/stylua.md new file mode 100644 index 00000000000000..84cf67542859ff --- /dev/null +++ b/pages/common/stylua.md @@ -0,0 +1,24 @@ +# stylua + +> An opinionated Lua code formatter. +> More information: . + +- Auto-format a file or an entire directory: + +`stylua {{path/to/file_or_directory}}` + +- Check if a specific file has been formatted: + +`stylua --check {{path/to/file}}` + +- Run with a specific configuration file: + +`stylua --config-path {{path/to/config_file}} {{path/to/file}}` + +- Format code from `stdin` and output to `stdout`: + +`stylua - < {{path/to/file.lua}}` + +- Format a file or directory using spaces and preferring single quotes: + +`stylua --indent-type {{Spaces}} --quote-style {{AutoPreferSingle}} {{path/to/file_or_directory}}` diff --git a/pages/common/su.md b/pages/common/su.md deleted file mode 100644 index 8b83643994a6a6..00000000000000 --- a/pages/common/su.md +++ /dev/null @@ -1,19 +0,0 @@ -# su - -> Switch shell to another user. - -- Switch to superuser (requires the root password): - -`su` - -- Switch to a given user (requires the user's password): - -`su {{username}}` - -- Switch to a given user and simulate a full login shell: - -`su - {{username}}` - -- Execute a command as another user: - -`su - {{username}} -c "{{command}}"` diff --git a/pages/common/subfinder.md b/pages/common/subfinder.md index 4d472ab7682d70..c18aef11a46cdd 100644 --- a/pages/common/subfinder.md +++ b/pages/common/subfinder.md @@ -1,25 +1,25 @@ # subfinder -> A subdomain discovery tool that discovers valid subdomains for websites. +> Discover valid subdomains for websites. > Designed as a passive framework to be useful for bug bounties and safe for penetration testing. -> More information: . +> More information: . - Find subdomains for a specific domain: -`subfinder -d {{example.com}}` +`subfinder {{[-d|-domain]}} {{example.com}}` - Show only the subdomains found: -`subfinder --silent -d {{example.com}}` +`subfinder -silent {{[-d|-domain]}} {{example.com}}` -- Use bruteforcing to find subdomains: +- Show only active subdomains: -`subfinder -d {{example.com}} -b` +`subfinder {{[-nW|-active]}} {{[-d|-domain]}} {{example.com}}` -- Remove wildcard subdomains: +- Use all sources for enumeration: -`subfinder -nW -d {{example.com}}` +`subfinder -all {{[-d|-domain]}} {{example.com}}` -- Use a given comma-separated list of resolvers: +- Use a given comma-separated list of [r]esolvers: -`subfinder -r {{8.8.8.8}},{{1.1.1.1}} -d {{example.com}}` +`subfinder -r {{8.8.8.8,1.1.1.1,...}} {{[-d|-domain]}} {{example.com}}` diff --git a/pages/common/subl.md b/pages/common/subl.md index d4d811ba8d1c99..3aa18b8c489878 100644 --- a/pages/common/subl.md +++ b/pages/common/subl.md @@ -1,11 +1,11 @@ # subl > Sublime Text editor. -> More information: . +> More information: . - Open the current directory in Sublime Text: -`subl {{.}}` +`subl .` - Open a file or directory in Sublime Text: @@ -17,8 +17,8 @@ - Open a file or directory in the currently open window: -`subl -a {{path/to/file}}` +`subl {{[-a|--add]}} {{path/to/file_or_directory}}` - Open a file or directory in a new window: -`subl -n {{path/to/file}}` +`subl {{[-n|--new-window]}} {{path/to/file_or_directory}}` diff --git a/pages/common/subliminal.md b/pages/common/subliminal.md index 0e039aab6a954b..6f2d9609acadf1 100644 --- a/pages/common/subliminal.md +++ b/pages/common/subliminal.md @@ -5,4 +5,4 @@ - Download English subtitles for a video: -`subliminal download -l {{en}} {{video.ext}}` +`subliminal download {{[-l|--language]}} {{en}} {{video.ext}}` diff --git a/pages/common/sublist3r.md b/pages/common/sublist3r.md index 635483c823fd63..96c8bcbe486ec3 100644 --- a/pages/common/sublist3r.md +++ b/pages/common/sublist3r.md @@ -15,6 +15,6 @@ `sublist3r --domain {{domain_name}} --output {{path/to/output_file}}` -- Output all available options: +- Display help: `sublist3r --help` diff --git a/pages/common/sudo.md b/pages/common/sudo.md index 8a85014dc2653a..bf39bb92c6895a 100644 --- a/pages/common/sudo.md +++ b/pages/common/sudo.md @@ -1,6 +1,7 @@ # sudo -> Executes a single command as the superuser or another user. +> Execute a single command as the superuser or another user. +> More information: . - Run a command as the superuser: @@ -8,16 +9,28 @@ - Edit a file as the superuser with your default editor: -`sudo -e {{/etc/fstab}}` +`sudo {{[-e|--edit]}} {{/etc/fstab}}` - Run a command as another user and/or group: -`sudo -u {{user}} -g {{group}} {{id -a}}` +`sudo {{[-u|--user]}} {{user}} {{[-g|--group]}} {{group}} {{id -a}}` -- Repeat the last command prefixed with "sudo" (only in bash, zsh, etc.): +- Repeat the last command prefixed with `sudo` (only in Bash, Zsh, etc.): `sudo !!` -- Launch the default shell with superuser privileges: +- Launch the default shell with superuser privileges and run login-specific files (`.profile`, `.bash_profile`, etc.): -`sudo -i` +`sudo {{[-i|--login]}}` + +- Launch the default shell with superuser privileges without changing the environment: + +`sudo {{[-s|--shell]}}` + +- Launch the default shell as the specified user, loading the user's environment and reading login-specific files (`.profile`, `.bash_profile`, etc.): + +`sudo {{[-i|--login]}} {{[-u|--user]}} {{user}}` + +- List the allowed (and forbidden) commands for the invoking user: + +`sudo {{[-ll|--list --list]}}` diff --git a/pages/common/sudoedit.md b/pages/common/sudoedit.md new file mode 100644 index 00000000000000..e1b61df05607c7 --- /dev/null +++ b/pages/common/sudoedit.md @@ -0,0 +1,7 @@ +# sudoedit + +> This command is an alias of `sudo --edit`. + +- View documentation for the original command: + +`tldr sudo` diff --git a/pages/common/sui-client-faucet.md b/pages/common/sui-client-faucet.md new file mode 100644 index 00000000000000..d128e4a5817578 --- /dev/null +++ b/pages/common/sui-client-faucet.md @@ -0,0 +1,16 @@ +# sui client faucet + +> Interact with the Sui faucet. +> More information: . + +- Get a SUI coin from the faucet associated with the active network: + +`sui client faucet` + +- Get a SUI coin for the address (accepts also an alias): + +`sui client faucet --address {{address}}` + +- Get a SUI coin from custom faucet: + +`sui client faucet --url {{custom-faucet-url}}` diff --git a/pages/common/sui-client-ptb.md b/pages/common/sui-client-ptb.md new file mode 100644 index 00000000000000..9652bb16590b08 --- /dev/null +++ b/pages/common/sui-client-ptb.md @@ -0,0 +1,24 @@ +# sui client ptb + +> Create, sign and execute programmable transaction blocks. +> More information: . + +- Call a Move function from a package and module: + +`sui client ptb --move-call p::m::f "<{{type}}>" args` + +- Make a Move vector with two elements of type u64: + +`sui client ptb --make-move-vec "" "[1000,2000]"` + +- Split a gas coin and transfer it to address: + +`sui client ptb --split-coins gas "[1000]" --assign new_coins --transfer-objects "[new_coins]" @{{address}}` + +- Transfer an object to an address: + +`sui client ptb --transfer-objects "[{{object_id}}]" @{{address}}` + +- Publish a Move package, and transfer the upgrade capability to sender: + +`sui client ptb --move-call sui::tx_context::sender --assign sender --publish "." --assign upgrade_cap --transfer-objects "[upgrade_cap]" sender` diff --git a/pages/common/sui-client.md b/pages/common/sui-client.md new file mode 100644 index 00000000000000..d1e38fa1f9c5a0 --- /dev/null +++ b/pages/common/sui-client.md @@ -0,0 +1,36 @@ +# sui client + +> Publish smart contracts, get object information, execute transactions, and more. +> More information: . + +- Create a new address with the ED25519 scheme: + +`sui client new-address ed25519 {{address-alias}}` + +- Create a new testnet environment with an RPC URL and alias: + +`sui client new-env --rpc https://fullnode.testnet.sui.io:443 --alias testnet` + +- Switch to the address of your choice (accepts also an alias): + +`sui client switch --address {{address-alias}}` + +- Switch to the given environment: + +`sui client switch --env {{env-alias}}` + +- Publish a smart contract: + +`sui client publish {{package-path}}` + +- Interact with the Sui faucet: + +`sui client faucet {{subcommand}}` + +- List the gas coins for the given address (accepts also an alias): + +`sui client gas {{address}}` + +- Create, sign, and execute programmable transaction blocks: + +`sui client ptb {{options}} {{subcommand}}` diff --git a/pages/common/sui-move.md b/pages/common/sui-move.md new file mode 100644 index 00000000000000..406c1ffc1a5c61 --- /dev/null +++ b/pages/common/sui-move.md @@ -0,0 +1,32 @@ +# sui move + +> Work with Move source code. +> More information: . + +- Create a new Move project in the given folder: + +`sui move new {{project_name}}` + +- Test the Move project in the current directory: + +`sui move test` + +- Test with coverage and get a summary: + +`sui move test --coverage; sui move coverage summary` + +- Find which parts of your code are covered from tests (i.e. explain coverage results): + +`sui move coverage source --module {{module_name}}` + +- Build the Move project in the current directory: + +`sui move build` + +- Build the Move project from the given path: + +`sui move build --path {{path}}` + +- Migrate to Move 2024 for the package at the provided path: + +`sui move migrate {{path}}` diff --git a/pages/common/sui.md b/pages/common/sui.md new file mode 100644 index 00000000000000..88ca6ae8e2dad8 --- /dev/null +++ b/pages/common/sui.md @@ -0,0 +1,24 @@ +# sui + +> Interact with the Sui network. +> More information: . + +- Execute a Sui subcommand: + +`sui {{subcommand}}` + +- Build tools for a smart contract: + +`sui move {{subcommand}}` + +- Publish smart contracts, get object information, execute transactions and more: + +`sui client {{subcommand}}` + +- Start a local network: + +`sui start` + +- Update from source: + +`cargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui` diff --git a/pages/common/sum.md b/pages/common/sum.md index 23ee6817a6e6c9..0ea3ec41b6fcd7 100644 --- a/pages/common/sum.md +++ b/pages/common/sum.md @@ -2,11 +2,12 @@ > Compute checksums and the number of blocks for a file. > A predecessor to the more modern `cksum`. +> More information: . - Compute a checksum with BSD-compatible algorithm and 1024-byte blocks: -`sum {{file}}` +`sum {{path/to/file}}` - Compute a checksum with System V-compatible algorithm and 512-byte blocks: -`sum --sysv {{file}}` +`sum {{[-s|--sysv]}} {{path/to/file}}` diff --git a/pages/common/sunicontopnm.md b/pages/common/sunicontopnm.md new file mode 100644 index 00000000000000..3d5b8332f8bc7a --- /dev/null +++ b/pages/common/sunicontopnm.md @@ -0,0 +1,8 @@ +# sunicontopnm + +> Convert a Sun icon into a Netpbm image. +> More information: . + +- Convert a Sun icon into a Netpbm image: + +`sunicontopnm {{path/to/input.ico}} > {{path/to/output.pbm}}` diff --git a/pages/common/sup.md b/pages/common/sup.md new file mode 100644 index 00000000000000..f6bd3676be95d6 --- /dev/null +++ b/pages/common/sup.md @@ -0,0 +1,9 @@ +# sup + +> Manage a RSS feed in the current directory. +> See also: `lb`. +> More information: . + +- Add an article to the RSS feed: + +`sup {{path/to/file.html}}` diff --git a/pages/common/supervisorctl.md b/pages/common/supervisorctl.md index a42960008ef987..0e1b096eb19a56 100644 --- a/pages/common/supervisorctl.md +++ b/pages/common/supervisorctl.md @@ -1,8 +1,12 @@ # supervisorctl -> Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems. +> Supervisor, a client/server system that allows its users to control a number of processes on UNIX-like operating systems. > Supervisorctl is the command-line client piece of the supervisor which provides a shell-like interface. -> More information: . +> More information: . + +- Show the status of a process (or all processes if `process_name` is not specified): + +`supervisorctl status {{process_name}}` - Start/stop/restart a process: @@ -12,7 +16,7 @@ `supervisorctl {{start|stop|restart}} {{group_name}}:*` -- Show last 100 **bytes** of process `stderr`: +- Show last 100 bytes of process `stderr`: `supervisorctl tail -100 {{process_name}} stderr` @@ -20,6 +24,6 @@ `supervisorctl tail -f {{process_name}} stdout` -- Reload process config file to add/remove processes as necessary: +- Reload process configuration file to add/remove processes as necessary: `supervisorctl update` diff --git a/pages/common/supervisord.md b/pages/common/supervisord.md index 4509c510c62b0f..53457f919a4fad 100644 --- a/pages/common/supervisord.md +++ b/pages/common/supervisord.md @@ -2,12 +2,12 @@ > Supervisor is a client/server system for controlling some processes on UNIX-like operating systems. > Supervisord is the server part of supervisor; it is primarily managed via a configuration file. -> More information: . +> More information: . -- Start supervisord with specified configuration file: +- Start `supervisord` with specified configuration file: -`supervisord -c {{path/to/file}}` +`supervisord {{[-c|--configuration]}} {{path/to/file}}` - Run supervisord in the foreground: -`supervisord -n` +`supervisord {{[-n|--nodaemon]}}` diff --git a/pages/common/surfraw.md b/pages/common/surfraw.md index e6ae8839432387..09923d2de84946 100644 --- a/pages/common/surfraw.md +++ b/pages/common/surfraw.md @@ -1,8 +1,8 @@ # surfraw -> CLI to query a variety of web search engines. -> Consists of a collection of elvi, each of which knows how to search a specific website. -> More information: . +> Query a variety of web search engines. +> Consists of a collection of elvi, each of which knows how to search a website. +> More information: . - Display the list of supported website search scripts (elvi): @@ -10,20 +10,20 @@ - Open the elvi's results page for a specific search in the browser: -`surfraw {{elvi}} "{{search_terms}}"` +`surfraw {{elvi_name}} "{{search_terms}}"` - Display an elvi description and its specific options: -`surfraw {{elvi}} -local-help` +`surfraw {{elvi_name}} {{[-lh|-local-help]}}` - Search using an elvi with specific options and open the results page in the browser: -`surfraw {{elvi}} {{elvi_options}} "{{search_terms}}"` +`surfraw {{elvi_name}} {{elvi_options}} "{{search_terms}}"` - Display the URL to the elvi's results page for a specific search: -`surfraw -print {{elvi}} "{{search_terms}}"` +`surfraw -print {{elvi_name}} "{{search_terms}}"` - Search using the alias: -`sr {{elvi}} "{{search_terms}}"` +`sr {{elvi_name}} "{{search_terms}}"` diff --git a/pages/common/surge.md b/pages/common/surge.md index f4c6afda4f766a..d228949eec85a0 100644 --- a/pages/common/surge.md +++ b/pages/common/surge.md @@ -1,6 +1,6 @@ # surge -> Simple command line web publishing. +> Simple web publishing. > More information: . - Upload a new site to surge.sh: diff --git a/pages/common/suspend.md b/pages/common/suspend.md new file mode 100644 index 00000000000000..38926a7fbf395c --- /dev/null +++ b/pages/common/suspend.md @@ -0,0 +1,16 @@ +# suspend + +> Suspend the execution of the current shell. +> More information: . + +- Suspend the current shell (useful for when you are in nested shells like `su`): + +`{{bash}} suspend` + +- Continue from suspension if `suspend` was used in a non-nested shell (run this in a separate terminal): + +`pkill -CONT {{bash}}` + +- Force suspension even if this would lock you out of the system: + +`suspend -f` diff --git a/pages/common/sv.md b/pages/common/sv.md new file mode 100644 index 00000000000000..19f1dc32acca98 --- /dev/null +++ b/pages/common/sv.md @@ -0,0 +1,24 @@ +# sv + +> Control a running runsv service. +> More information: . + +- Start a service: + +`sudo sv up {{path/to/service}}` + +- Stop a service: + +`sudo sv down {{path/to/service}}` + +- Get service status: + +`sudo sv status {{path/to/service}}` + +- Reload a service: + +`sudo sv reload {{path/to/service}}` + +- Start a service, but only if it's not running and don't restart it if it stops: + +`sudo sv once {{path/to/service}}` diff --git a/pages/common/svgcleaner.md b/pages/common/svgcleaner.md index c1b2b2decf2e19..b6effb70ba2c7e 100644 --- a/pages/common/svgcleaner.md +++ b/pages/common/svgcleaner.md @@ -1,12 +1,12 @@ # svgcleaner -> SVG image optimizing utility. +> SVG optimizing utility. > More information: . -- Optimize an SVG image: +- Optimize an SVG: `svgcleaner {{input.svg}} {{output.svg}}` -- Optimize an SVG image multiple times: +- Optimize an SVG multiple times: `svgcleaner --multipass {{input.svg}} {{output.svg}}` diff --git a/pages/common/svgo.md b/pages/common/svgo.md index cd10847efc0c74..37b7b45d6c4b03 100644 --- a/pages/common/svgo.md +++ b/pages/common/svgo.md @@ -1,6 +1,6 @@ # svgo -> SVG Optimizer: a Node.js-based tool for optimizing Scalable Vector Graphics files. +> SVG Optimizer: optimizing Scalable Vector Graphics files. Based in Node.js. > It applies a series of transformation rules (plugins), which can be toggled individually. > More information: . @@ -10,27 +10,23 @@ - Optimize a file and save the result to another file: -`svgo {{test.svg}} -o {{test.min.svg}}` +`svgo {{test.svg}} {{[-o|--output]}} {{test.min.svg}}` - Optimize all SVG files within a directory (overwrites the original files): -`svgo -f {{path/to/directory/with/svg/files}}` +`svgo {{[-f|--folder]}} {{path/to/directory/with/svg/files}}` - Optimize all SVG files within a directory and save the resulting files to another directory: -`svgo -f {{path/to/input/directory}} -o {{path/to/output/directory}}` +`svgo {{[-f|--folder]}} {{path/to/input/directory}} {{[-o|--output]}} {{path/to/output/directory}}` - Optimize SVG content passed from another command, and save the result to a file: -`{{cat test.svg}} | svgo -i - -o {{test.min.svg}}` +`{{cat test.svg}} | svgo {{[-i|--input]}} - {{[-o|--output]}} {{test.min.svg}}` - Optimize a file and print out the result: -`svgo {{test.svg}} -o -` - -- Optimize a file making sure a given plugin is enabled: - -`svgo --enable={{plugin_name}}` +`svgo {{test.svg}} {{[-o|--output]}} -` - Show available plugins: diff --git a/pages/common/svgr.md b/pages/common/svgr.md new file mode 100644 index 00000000000000..43e894a1da5715 --- /dev/null +++ b/pages/common/svgr.md @@ -0,0 +1,32 @@ +# svgr + +> Transform SVGs into React components. +> More information: . + +- Transform a SVG file into a React component to `stdout`: + +`svgr -- {{path/to/file.svg}}` + +- Transform a SVG file into a React component using TypeScript to `stdout`: + +`svgr --typescript -- {{path/to/file.svg}}` + +- Transform a SVG file into a React component using JSX transform to `stdout`: + +`svgr --jsx-runtime automatic -- {{path/to/file.svg}}` + +- Transform all SVG files from a directory to React components into a specific directory: + +`svgr --out-dir {{path/to/output_directory}} {{path/to/input_directory}}` + +- Transform all SVG files from a directory to React components into a specific directory skipping already transformed files: + +`svgr --out-dir {{path/to/output_directory}} --ignore-existing {{path/to/input_directory}}` + +- Transform all SVG files from a directory to React components into a specific directory using a specific case for filenames: + +`svgr --out-dir {{path/to/output_directory}} --filename-case {{camel|kebab|pascal}} {{path/to/input_directory}}` + +- Transform all SVG files from a directory to React components into a specific directory without generating an index file: + +`svgr --out-dir {{path/to/output_directory}} --no-index {{path/to/input_directory}}` diff --git a/pages/common/svgtopam.md b/pages/common/svgtopam.md new file mode 100644 index 00000000000000..7ac143f44e87fe --- /dev/null +++ b/pages/common/svgtopam.md @@ -0,0 +1,12 @@ +# svgtopam + +> Convert an SVG file to Netpbm format. +> More information: . + +- Convert an SVG file to Netpbm format: + +`svgtopam {{path/to/file.svg}} > {{path/to/output.pam}}` + +- Emit textual output describing the input image: + +`svgtopam {{[-t|-trace]}} {{path/to/file.svg}}` diff --git a/pages/common/svn-changelist.md b/pages/common/svn-changelist.md index 2917855bf30dc1..c38e6e54da149f 100644 --- a/pages/common/svn-changelist.md +++ b/pages/common/svn-changelist.md @@ -1,23 +1,23 @@ # svn changelist > Associate a changelist with a set of files. -> More information: . +> More information: . - Add files to a changelist, creating the changelist if it does not exist: -`svn changelist {{changelist_name}} {{path/to/file1}} {{path/to/file2}}` +`svn {{[cl|changelist]}} {{changelist_name}} {{path/to/file1 path/to/file2 ...}}` - Remove files from a changelist: -`svn changelist --remove {{path/to/file1}} {{path/to/file2}}` +`svn {{[cl|changelist]}} --remove {{path/to/file1 path/to/file2 ...}}` - Remove the whole changelist at once: -`svn changelist --remove --recursive --changelist {{changelist_name}} .` +`svn {{[cl|changelist]}} --remove {{[-R|--recursive]}} --changelist {{changelist_name}} .` - Add the contents of a space-separated list of directories to a changelist: -`svn changelist --recursive {{changelist_name}} {{path/to/directory1}} {{path/to/directory2}}` +`svn {{[cl|changelist]}} {{[-R|--recursive]}} {{changelist_name}} {{path/to/directory1 path/to/directory2 ...}}` - Commit a changelist: diff --git a/pages/common/svn.md b/pages/common/svn.md index b7f90a7e4f7673..5a36903390db55 100644 --- a/pages/common/svn.md +++ b/pages/common/svn.md @@ -1,15 +1,15 @@ # svn -> Subversion command line client tool. -> More information: . +> Subversion client tool. +> More information: . - Check out a working copy from a repository: -`svn co {{url/to/repository}}` +`svn {{[co|checkout]}} {{url/to/repository}}` - Bring changes from the repository into the working copy: -`svn up` +`svn {{[up|update]}}` - Put files and directories under version control, scheduling them for addition to repository. They will be added in next commit: @@ -17,12 +17,12 @@ - Send changes from your working copy to the repository: -`svn ci -m {{commit_log_message}} [{{PATH}}]` +`svn {{[ci|commit]}} {{[-m|--message]}} {{commit_log_message}} [{{PATH}}]` - Display changes from the last 10 revisions, showing modified files for each revision: -`svn log -vl {{10}}` +`svn log {{[-vl|--verbose --limit]}} {{10}}` -- Show detailed help: +- Display help: -`svn help` +`svn {{[h|help]}}` diff --git a/pages/common/swagger-codegen.md b/pages/common/swagger-codegen.md index 02e10231e90c19..75027d2237c2c9 100644 --- a/pages/common/swagger-codegen.md +++ b/pages/common/swagger-codegen.md @@ -5,16 +5,16 @@ - Generate documentation and code from an OpenAPI/swagger file: -`swagger-codegen generate -i {{swagger_file}} -l {{language}}` +`swagger-codegen generate {{[-i|--input-spec]}} {{swagger_file}} {{[-l|--lang]}} {{language}}` -- Generate java code using the library retrofit2 and the option useRxJava2: +- Generate Java code using the library retrofit2 and the option useRxJava2: -`swagger-codegen generate -i {{http://petstore.swagger.io/v2/swagger.json}} -l {{java}} --library {{retrofit2}} -D{{useRxJava2}}={{true}}` +`swagger-codegen generate {{[-i|--input-spec]}} {{http://petstore.swagger.io/v2/swagger.json}} {{[-l|--lang]}} {{java}} --library {{retrofit2}} -D{{useRxJava2}}={{true}}` - List available languages: `swagger-codegen langs` -- Display help options for the generate command: +- Display help for a specific command: -`swagger-codegen help {{generate}}` +`swagger-codegen {{generate|config-help|meta|langs|version}} --help` diff --git a/pages/common/sway.md b/pages/common/sway.md new file mode 100644 index 00000000000000..d7b2fa80b3c959 --- /dev/null +++ b/pages/common/sway.md @@ -0,0 +1,13 @@ +# sway + +> A tiling Wayland compositor. +> It uses the same config format as `i3`, with some Wayland-specific additions. +> More information: . + +- Start `sway`: + +`sway` + +- View documentation for `i3` (`sway` uses the same default keybindings): + +`tldr i3` diff --git a/pages/common/swaybg.md b/pages/common/swaybg.md new file mode 100644 index 00000000000000..61e3c884c91420 --- /dev/null +++ b/pages/common/swaybg.md @@ -0,0 +1,16 @@ +# swaybg + +> Wallpaper tool for Wayland compositors. +> More information: . + +- Set the wallpaper to an image: + +`swaybg {{[-i|--image]}} {{path/to/image}}` + +- Set the wallpaper mode: + +`swaybg {{[-i|--image]}} {{path/to/image}} {{[-m|--mode]}} {{stretch|fit|fill|center|tile|solid_color}}` + +- Set the wallpaper to a static color: + +`swaybg {{[-c|--color]}} "{{#rrggbb}}"` diff --git a/pages/common/swayidle.md b/pages/common/swayidle.md new file mode 100644 index 00000000000000..5d1553d66308a9 --- /dev/null +++ b/pages/common/swayidle.md @@ -0,0 +1,13 @@ +# swayidle + +> Idle management daemon for Wayland. +> Note: The configuration options are documented in its man page. +> More information: . + +- Listen for idle activity using the configuration in `$XDG_CONFIG_HOME/swayidle/config` or `$HOME/swayidle/config`: + +`swayidle` + +- Specify an alternative path to the configuration file: + +`swayidle -C {{path/to/file}}` diff --git a/pages/common/swaylock.md b/pages/common/swaylock.md new file mode 100644 index 00000000000000..03af6792732fda --- /dev/null +++ b/pages/common/swaylock.md @@ -0,0 +1,36 @@ +# swaylock + +> Screen locking utility for Wayland compositors. +> More information: . + +- Lock the screen using the config in `$HOME/.swaylock/config` or `$XDG_CONFIG_HOME/swaylock/config`: + +`swaylock` + +- Lock the screen with a simple color background (`rrggbb` format): + +`swaylock {{[-c|--color]}} {{0000ff}}` + +- Lock the screen with a background image: + +`swaylock {{[-i|--image]}} {{path/to/image}}` + +- Lock the screen and disable the unlock indicator (removes feedback on keypress): + +`swaylock {{[-u|--no-unlock-indicator]}}` + +- Detach from the controlling terminal after locking (like `i3lock`): + +`swaylock {{[-f|--daemonize]}}` + +- Lock the screen with a background image tiled over all monitors: + +`swaylock {{[-i|--image]}} {{path/to/image}} {{[-t|--tiling]}}` + +- Lock the screen and show the number of failed login attempts: + +`swaylock {{[-F|--show-failed-attempts]}}` + +- Load the configuration from a specific file: + +`swaylock {{[-C|--config]}} {{path/to/config}}` diff --git a/pages/common/swaymsg.md b/pages/common/swaymsg.md new file mode 100644 index 00000000000000..d0d43ad56bd38d --- /dev/null +++ b/pages/common/swaymsg.md @@ -0,0 +1,25 @@ +# swaymsg + +> Send messages to a running instance of Sway using IPC. +> See for available commands. +> More information: . + +- Run a Sway command: + +`swaymsg {{command}}` + +- Display a list of workspaces: + +`swaymsg {{[-t|--type]}} get_workspaces` + +- Display a list of input devices: + +`swaymsg {{[-t|--type]}} get_inputs` + +- Display a list of output devices: + +`swaymsg {{[-t|--type]}} get_outputs` + +- Display a layout tree of all open windows, containers, outputs, and workspaces: + +`swaymsg {{[-t|--type]}} get_tree` diff --git a/pages/common/swc.md b/pages/common/swc.md new file mode 100644 index 00000000000000..e8c2ca3a22f89b --- /dev/null +++ b/pages/common/swc.md @@ -0,0 +1,28 @@ +# swc + +> JavaScript and TypeScript compiler written in Rust. +> More information: . + +- Transpile a specified input file and output to `stdout`: + +`swc {{path/to/file}}` + +- Transpile the input file every time it is changed: + +`swc {{path/to/file}} --watch` + +- Transpile a specified input file and output to a specific file: + +`swc {{path/to/input_file}} --out-file {{path/to/output_file}}` + +- Transpile a specified input directory and output to a specific directory: + +`swc {{path/to/input_directory}} --out-dir {{path/to/output_directory}}` + +- Transpile a specified input directory using a specific configuration file: + +`swc {{path/to/input_directory}} --config-file {{path/to/.swcrc}}` + +- Ignore files in a directory specified using glob path: + +`swc {{path/to/input_directory}} --ignore {{path/to/ignored_file1 path/to/ignored_file2 ...}}` diff --git a/pages/common/swift.md b/pages/common/swift.md index 61fd15bb01736c..035f0bf3ce085a 100644 --- a/pages/common/swift.md +++ b/pages/common/swift.md @@ -3,9 +3,9 @@ > Create, run and build Swift projects. > More information: . -- Invoke the interactive interpreter (REPL): +- Start a REPL (interactive shell): -`swift` +`swift repl` - Execute a program: diff --git a/pages/common/swig.md b/pages/common/swig.md index 8b8287c271c11b..8bd41378ca4459 100644 --- a/pages/common/swig.md +++ b/pages/common/swig.md @@ -1,7 +1,8 @@ # swig -> Generate bindings between C / C++ code and various high level languages such as Javascript, Python, C#, and more. -> It uses special .i or .swg files to generate the bindings (C/C++ with SWIG directives, then outputs a C/C++ file that contains all of the wrapper code needed to build an extension module. +> Generate bindings between C/C++ code and various high level languages such as JavaScript, Python, C#, and more. +> It uses special `.i` or `.swg` files to generate the bindings (C/C++ with SWIG directives), then outputs a C/C++ file that contains all the wrapper code needed to build an extension module. +> More information: . - Generate a binding between C++ and Python: @@ -15,6 +16,6 @@ `swig -java {{path/to/swig_file.i}}` -- Generate a binding between C and Ruby and prefix the Ruby module with {{foo::bar::}}: +- Generate a binding between C and Ruby and prefix the Ruby module with `foo::bar::`: `swig -ruby -prefix "{{foo::bar::}}" {{path/to/swig_file.i}}` diff --git a/pages/common/swipl.md b/pages/common/swipl.md new file mode 100644 index 00000000000000..02a46b52b44e06 --- /dev/null +++ b/pages/common/swipl.md @@ -0,0 +1,24 @@ +# swipl + +> SWI-Prolog - A comprehensive free Prolog environment. +> More information: . + +- Start an interactive session: + +`swipl` + +- Execute a command without showing any output: + +`swipl --quiet -t "{{command}}"` + +- Execute a script: + +`swipl {{path/to/file.pl}}` + +- Print all shell configuration variables: + +`swipl --dump-runtime-variables` + +- Display version: + +`swipl --version` diff --git a/pages/common/symfony.md b/pages/common/symfony.md index 04322ae9260957..c9060842e66547 100644 --- a/pages/common/symfony.md +++ b/pages/common/symfony.md @@ -1,7 +1,7 @@ # symfony > The console component for the Symfony framework. -> More information: . +> More information: . - Create a new Symfony project: diff --git a/pages/common/sync.md b/pages/common/sync.md index a5faab24c3cb63..26d983ada17c0f 100644 --- a/pages/common/sync.md +++ b/pages/common/sync.md @@ -1,6 +1,7 @@ # sync > Flushes all pending write operations to the appropriate disks. +> More information: . - Flush all pending write operations on all disks: @@ -9,3 +10,11 @@ - Flush all pending write operations on a single file to disk: `sync {{path/to/file}}` + +- Flush writes and drop file system caches (Linux only): + +`sync; echo 3 | sudo tee /proc/sys/vm/drop_caches` + +- Flush disk writes and attempts to clear inactive memory and filesystem caches (macOS only): + +`sync; sudo purge` diff --git a/pages/common/syncthing.md b/pages/common/syncthing.md index ac314bdea494dd..28e2de76328f2e 100644 --- a/pages/common/syncthing.md +++ b/pages/common/syncthing.md @@ -1,36 +1,36 @@ # syncthing > Continuous bidirectional decentralised folder synchronisation tool. -> More information: . +> More information: . -- Start syncthing: +- Start Syncthing: `syncthing` -- Start syncthing without opening a web browser: +- Start Syncthing without opening a web browser: -`syncthing -no-browser` +`syncthing --no-browser` -- Print the device ID: +- Change the home directory: -`syncthing -device-id` +`syncthing --home {{path/to/directory}}` -- Change the home directory: +- Run Syncthing with increased logging: -`syncthing -home={{path/to/directory}}` +`syncthing --verbose` -- Force a full index exchange: +- Pause all devices: -`syncthing -reset-deltas` +`syncthing cli config devices pause --all` -- Change the address upon which the web interface listens: +- Resume all devices: -`syncthing -gui-address={{ip_address:port|path/to/socket.sock}}` +`syncthing cli config devices resume --all` -- Show filepaths to the files used by syncthing: +- Change the address upon which the web interface listens: -`syncthing -paths` +`syncthing --gui-address {{ip_address:port|path/to/socket.sock}}` -- Disable the syncthing monitor process: +- Set the log level for output: -`syncthing -no-restart` +`syncthing --log-level {{info|warning|error|debug}}` diff --git a/pages/common/sysbench.md b/pages/common/sysbench.md new file mode 100644 index 00000000000000..aba10044d13823 --- /dev/null +++ b/pages/common/sysbench.md @@ -0,0 +1,24 @@ +# sysbench + +> Benchmark a System's CPU, IO and memory. +> More information: . + +- Run a CPU benchmark with 1 thread for 10 seconds: + +`sysbench cpu run` + +- Run a CPU benchmark with multiple threads for a specified time: + +`sysbench --threads={{number_of_threads}} --time={{seconds}}` + +- Run a memory benchmark with 1 thread for 10 seconds: + +`sysbench memory run` + +- Prepare a filesystem-level read benchmark: + +`sysbench fileio prepare` + +- Run a filesystem-level benchmark: + +`sysbench --file-test-mode={{rndrd|rndrw|rndwr|seqrd|seqrewr|seqwr}} fileio run` diff --git a/pages/common/tac.md b/pages/common/tac.md index be9344d9c1a98e..a17940529d95fd 100644 --- a/pages/common/tac.md +++ b/pages/common/tac.md @@ -1,15 +1,25 @@ # tac -> Print and concatenate files in reverse (last line first). +> Display and concatenate files with lines in reversed order. +> See also: `cat`. +> More information: . -- Print the contents of *file1* reversed to the standard output: +- Concatenate specific files in reversed order: -`tac {{file1}}` +`tac {{path/to/file1 path/to/file2 ...}}` -- Print the contents of the standard input reversed to the standard output: +- Display `stdin` in reversed order: -`{{command}} | tac` +`{{cat path/to/file}} | tac` -- Concatenate several files reversed into the target file: +- Use a specific separator: -`tac {{file1}} {{file2}} > {{target_file}}` +`tac {{[-s|--separator]}} {{separator}} {{path/to/file1 path/to/file2 ...}}` + +- Use a specific `regex` as a separator: + +`tac {{[-r|--regex]}} {{[-s|--separator]}} {{separator}} {{path/to/file1 path/to/file2 ...}}` + +- Use a separator before each file: + +`tac {{[-b|--before]}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/tail.md b/pages/common/tail.md index 46d85c73defb9a..f5e45722a411e4 100644 --- a/pages/common/tail.md +++ b/pages/common/tail.md @@ -1,27 +1,29 @@ # tail > Display the last part of a file. +> See also: `head`. +> More information: . -- Show last 'num' lines in file: +- Show last 'count' lines in file: -`tail -n {{num}} {{file}}` +`tail {{[-n|--lines]}} {{count}} {{path/to/file}}` -- Show all file since line 'num': +- Print a file from a specific line number: -`tail -n +{{num}} {{file}}` +`tail {{[-n|--lines]}} +{{count}} {{path/to/file}}` -- Show last 'num' bytes in file: +- Print a specific count of bytes from the end of a given file: -`tail -c {{num}} {{file}}` +`tail {{[-c|--bytes]}} {{count}} {{path/to/file}}` -- Keep reading file until `Ctrl + C`: +- Print the last lines of a given file and keep reading it until ``: -`tail -f {{file}}` +`tail {{[-f|--follow]}} {{path/to/file}}` -- Keep reading file until `Ctrl + C`, even if the file is rotated: +- Keep reading file until ``, even if the file is inaccessible: -`tail -F {{file}}` +`tail {{[-F|--retry --follow]}} {{path/to/file}}` -- Show last 'num' lines in 'file' and refresh every 'n' seconds: +- Show last 'count' lines in 'file' and refresh every 'seconds' seconds: -`tail -n {{num}} -s {{n}} -f {{file}}` +`tail {{[-n|--lines]}} {{count}} {{[-s|--sleep-interval]}} {{seconds}} {{[-f|--follow]}} {{path/to/file}}` diff --git a/pages/common/tailscale-file.md b/pages/common/tailscale-file.md new file mode 100644 index 00000000000000..1d347c5c35d9ae --- /dev/null +++ b/pages/common/tailscale-file.md @@ -0,0 +1,13 @@ +# tailscale file + +> Send files across connected devices on a Tailscale network. +> It currently does not support sending files to devices owned by other users even on the same Tailscale network. +> More information: . + +- Send a file to a specific node: + +`tailscale file cp {{path/to/file}} {{hostname|ip}}:` + +- Store files that were sent to the current node into a specific directory: + +`tailscale file get {{path/to/directory}}` diff --git a/pages/common/tailscale-set.md b/pages/common/tailscale-set.md new file mode 100644 index 00000000000000..8153c98b9e006c --- /dev/null +++ b/pages/common/tailscale-set.md @@ -0,0 +1,10 @@ +# tailscale set + +> Change the specified preferences. +> These options can also be changed during the initial setup. +> This command can set all options documented in the page for `tailscale up`. +> More information: . + +- View documentation for `tailscale up`: + +`tldr tailscale up` diff --git a/pages/common/tailscale-ssh.md b/pages/common/tailscale-ssh.md new file mode 100644 index 00000000000000..4f02ca5433a033 --- /dev/null +++ b/pages/common/tailscale-ssh.md @@ -0,0 +1,12 @@ +# tailscale ssh + +> SSH to a Tailscale machine (Linux Only). +> More information: . + +- Advertise/Disable SSH on the host: + +`tailscale up --ssh={{true|false}}` + +- SSH to a specific host which has Tailscale-SSH enabled: + +`tailscale ssh {{username}}@{{host}}` diff --git a/pages/common/tailscale-up.md b/pages/common/tailscale-up.md new file mode 100644 index 00000000000000..9347da8c2df642 --- /dev/null +++ b/pages/common/tailscale-up.md @@ -0,0 +1,38 @@ +# tailscale up + +> Connect the client to the Tailscale network. +> Note: Run `sudo tailscale set --operator $USER` to allow the current user to run these commands. +> All options described here can be changed later using `tailscale set --option argument`. Use `--option=false` to disable options that don't require arguments. +> More information: . + +- Connect to Tailscale: + +`tailscale up` + +- Connect and offer the current machine to be an exit node for internet traffic: + +`tailscale up --advertise-exit-node` + +- Connect using a specific node for internet traffic: + +`tailscale up --exit-node {{exit_node_ip}}` + +- Connect and block incoming connections to the current node: + +`tailscale up --shields-up` + +- Connect and don't accept DNS configuration from the admin panel (defaults to `true`): + +`tailscale up --accept-dns=false` + +- Connect and configure Tailscale as a subnet router: + +`tailscale up --advertise-routes {{10.0.0.0/24,10.0.1.0/24,...}}` + +- Connect and accept subnet routes from Tailscale: + +`tailscale up --accept-routes` + +- Reset unspecified settings to their default values and connect: + +`tailscale up --reset` diff --git a/pages/common/tailscale.md b/pages/common/tailscale.md new file mode 100644 index 00000000000000..8843dd40384174 --- /dev/null +++ b/pages/common/tailscale.md @@ -0,0 +1,37 @@ +# tailscale + +> A private WireGuard network service. +> Some subcommands such as `up` have their own usage documentation. +> More information: . + +- Allow the current user to operate on the Tailscale daemon: + +`sudo tailscale set --operator $USER` + +- Connect to Tailscale: + +`tailscale up` + +- Disconnect from Tailscale: + +`tailscale down` + +- Display all devices connected to Tailscale (with their IP addresses): + +`tailscale status` + +- Ping a peer node at the Tailscale layer and display which route it took for each response: + +`tailscale ping {{ip|hostname}}` + +- Analyze the local network conditions and display the result: + +`tailscale netcheck` + +- Start a web server for controlling the Tailscale daemon: + +`tailscale web` + +- Display a shareable identifier to help diagnose issues: + +`tailscale bugreport` diff --git a/pages/common/talostcl.md b/pages/common/talostcl.md new file mode 100644 index 00000000000000..1be3c7f0ccdd94 --- /dev/null +++ b/pages/common/talostcl.md @@ -0,0 +1,29 @@ +# talosctl + +> Interact with Talos Linux, a minimal and immutable Kubernetes distribution. +> See also: `kubectl`. +> More information: . + +- Apply a config to a fresh node: + +`talosctl apply-config {{[-i|--insecture]}} {{[-n|--nodes]}} {{control_plane_ip}} {{[-f|--file]}} {{path/to/control_plane.yaml}}` + +- Bootstrap the `etcd` cluster on a node: + +`talosctl bootstrap {{[-n|--nodes]}} {{node_ip}}` + +- Edit an API resource: + +`talosctl edit {{resource_to_edit}} {{[-n|--nodes]}} {{node_ip}}` + +- Get resources: + +`talosctl get {{resource_to_get}} {{[-n|--nodes]}} {{node_ip}}` + +- Download the admin kube configuration from a node: + +`talosctl kubeconfig {{[-n|--nodes]}} {{node_ip}}` + +- Reset a node: + +`talosctl reset {{[-n|--nodes]}} {{node_ip}}` diff --git a/pages/common/tar.md b/pages/common/tar.md index 913077f66aba57..dd88d62735705c 100644 --- a/pages/common/tar.md +++ b/pages/common/tar.md @@ -1,37 +1,37 @@ # tar > Archiving utility. -> Often combined with a compression method, such as gzip or bzip. -> More information: . +> Often combined with a compression method, such as `gzip` or `bzip2`. +> More information: . -- [c]reate an archive from [f]iles: +- [c]reate an archive and write it to a [f]ile: -`tar cf {{target.tar}} {{file1}} {{file2}} {{file3}}` +`tar cf {{path/to/target.tar}} {{path/to/file1 path/to/file2 ...}}` -- [c]reate a g[z]ipped archive from [f]iles: +- [c]reate a g[z]ipped archive and write it to a [f]ile: -`tar czf {{target.tar.gz}} {{file1}} {{file2}} {{file3}}` +`tar czf {{path/to/target.tar.gz}} {{path/to/file1 path/to/file2 ...}}` -- [c]reate a g[z]ipped archive from a directory using relative paths: +- [c]reate a g[z]ipped (compressed) archive from a directory using relative paths: -`tar czf {{target.tar.gz}} --directory={{path/to/directory}} .` +`tar czf {{path/to/target.tar.gz}} {{[-C|--directory]}} {{path/to/directory}} .` -- E[x]tract a (compressed) archive [f]ile into the current directory: +- E[x]tract a (compressed) archive [f]ile into the current directory [v]erbosely: -`tar xf {{source.tar[.gz|.bz2|.xz]}}` +`tar xvf {{path/to/source.tar[.gz|.bz2|.xz]}}` - E[x]tract a (compressed) archive [f]ile into the target directory: -`tar xf {{source.tar[.gz|.bz2|.xz]}} --directory={{directory}}` +`tar xf {{path/to/source.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{path/to/directory}}` -- [c]reate a compressed archive from [f]iles, using [a]rchive suffix to determine the compression program: +- [c]reate a compressed archive and write it to a [f]ile, using the file extension to [a]utomatically determine the compression program: -`tar caf {{target.tar.xz}} {{file1}} {{file2}} {{file3}}` +`tar caf {{path/to/target.tar.xz}} {{path/to/file1 path/to/file2 ...}}` - Lis[t] the contents of a tar [f]ile [v]erbosely: -`tar tvf {{source.tar}}` +`tar tvf {{path/to/source.tar}}` -- E[x]tract [f]iles matching a pattern: +- E[x]tract files matching a pattern from an archive [f]ile: -`tar xf {{source.tar}} --wildcards "{{*.html}}"` +`tar xf {{path/to/source.tar}} --wildcards "{{*.html}}"` diff --git a/pages/common/tarsnap-keygen.md b/pages/common/tarsnap-keygen.md new file mode 100644 index 00000000000000..cc469b7f5c2b3e --- /dev/null +++ b/pages/common/tarsnap-keygen.md @@ -0,0 +1,12 @@ +# tarsnap-keygen + +> Generate a key file for use with Tarsnap, an online backup service. +> More information: . + +- Register a machine with the Tarsnap server: + +`sudo tarsnap-keygen --keyfile {{path/to/file.key}} --user {{user_email}} --machine {{machine_name}}` + +- Encrypt the key file (a passphrase will be requested twice): + +`sudo tarsnap-keygen --keyfile {{path/to/file.key}} --user {{user_email}} --machine {{machine_name}} --passphrased` diff --git a/pages/common/tarsnap.md b/pages/common/tarsnap.md new file mode 100644 index 00000000000000..ec3497469a0cb8 --- /dev/null +++ b/pages/common/tarsnap.md @@ -0,0 +1,34 @@ +# tarsnap + +> Manipulate remote Tarsnap encrypted backups. +> Note: You don't need to specify the key file and the cache directory if you configure them in `/usr/local/etc/tarsnap.conf` or `~/.tarsnaprc`. +> See also: `tarsnap-keygen`. +> More information: . + +- [c]reate a backup archive of one or more files or directories, specifying the cryptographic key and the cache directory: + +`tarsnap -c --keyfile {{path/to/key_file}} --cachedir {{path/to/cache_directory}} -f {{archive_name}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Display how much data would be uploaded: + +`tarsnap -c --dry-run --print-stats --keyfile {{path/to/key_file}} --cachedir {{path/to/cache_directory}} -f {{archive_name}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- List stored archives: + +`tarsnap --list-archives --keyfile {{path/to/key_file}}` + +- [d]elete a specific archive: + +`tarsnap -d --keyfile {{path/to/key_file}} --cachedir {{path/to/cache_directory}} -f {{archive_name}}` + +- Lis[t] the contents of a specific archive in [v]erbose mode: + +`tarsnap -tv --keyfile {{path/to/key_file}} -f {{archive_name}}` + +- Restore one or more files or directories from a specific archive: + +`tarsnap -x --keyfile {{path/to/key_file}} -f {{archive_name}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Copy an archive: + +`tarsnap -c --keyfile {{path/to/key_file}} -f {{new_archive_name}} @@{{source_archive_name}}` diff --git a/pages/common/task.md b/pages/common/task.md index 8f5d5ac99d3943..845abbe623fbb3 100644 --- a/pages/common/task.md +++ b/pages/common/task.md @@ -1,23 +1,36 @@ # task -> TODO list manager. +> To-do list manager. +> More information: . -- Add new task: +- Add a new task which is due tomorrow: -`task add {{thing_to_do}}` +`task add {{description}} due:{{tomorrow}}` -- List tasks: +- Update a task's priority: -`task list` +`task {{task_id}} modify priority:{{H|M|L}}` -- Mark task as completed: +- Complete a task: `task {{task_id}} done` -- Modify task: +- Delete a task: -`task {{task_id}} modify {{new_thing_to_do}}` +`task {{task_id}} delete` -- Delete task: +- List all open tasks: -`task {{task_id}} delete` +`task list` + +- List open tasks due before the end of the week: + +`task list due.before:{{eow}}` + +- Show a graphical burndown chart, by day: + +`task burndown.daily` + +- List all reports: + +`task reports` diff --git a/pages/common/tb.md b/pages/common/tb.md index e0dbee4e0ba70f..7b67d96d752f33 100644 --- a/pages/common/tb.md +++ b/pages/common/tb.md @@ -1,6 +1,6 @@ # tb -> CLI for managing tasks and notes across multiple boards. +> Manage tasks and notes across multiple boards. > More information: . - Add a new task to a board: diff --git a/pages/common/tbl.md b/pages/common/tbl.md new file mode 100644 index 00000000000000..121750b5452d0e --- /dev/null +++ b/pages/common/tbl.md @@ -0,0 +1,13 @@ +# tbl + +> Table preprocessor for the groff (GNU Troff) document formatting system. +> See also: `groff`, `troff`. +> More information: . + +- Process input with tables, saving the output for future typesetting with groff to PostScript: + +`tbl {{path/to/input_file}} > {{path/to/output.roff}}` + +- Typeset input with tables to PDF using the [me] macro package: + +`tbl -T {{pdf}} {{path/to/input.tbl}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}` diff --git a/pages/common/tcc.md b/pages/common/tcc.md new file mode 100644 index 00000000000000..e80a6765f34215 --- /dev/null +++ b/pages/common/tcc.md @@ -0,0 +1,16 @@ +# tcc + +> A tiny C compiler that can run C source files as scripts and otherwise has command-line options similar to `gcc`. +> More information: . + +- Compile and link 2 source files to generate an executable: + +`tcc -o {{executable_name}} {{path/to/file1.c}} {{path/to/file2.c}}` + +- Directly run an input file like a script and pass arguments to it: + +`tcc -run {{path/to/source_file.c}} {{arguments}}` + +- Interpret C source files with a shebang inside the file: + +`#!/{{path/to/tcc}} -run` diff --git a/pages/common/tcpdump.md b/pages/common/tcpdump.md index 682b6c42747535..041b3d81264948 100644 --- a/pages/common/tcpdump.md +++ b/pages/common/tcpdump.md @@ -5,32 +5,32 @@ - List available network interfaces: -`tcpdump -D` +`tcpdump {{[-D|--list-interfaces]}}` - Capture the traffic of a specific interface: -`tcpdump -i {{eth0}}` +`sudo tcpdump {{[-i|--interface]}} {{eth0}}` -- Capture all TCP traffic showing contents (ASCII) in console: +- Capture all TCP traffic showing contents ([A]SCII) in console: -`tcpdump -A tcp` +`sudo tcpdump -A tcp` - Capture the traffic from or to a host: -`tcpdump host {{www.example.com}}` +`sudo tcpdump host {{www.example.com}}` - Capture the traffic from a specific interface, source, destination and destination port: -`tcpdump -i {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port {{80}}` +`sudo tcpdump {{[-i|--interface]}} {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port {{80}}` - Capture the traffic of a network: -`tcpdump net {{192.168.1.0/24}}` +`sudo tcpdump net {{192.168.1.0/24}}` -- Capture all traffic except traffic over port 22 and save to a dump file: +- Capture all traffic except traffic over port 22 and [w]rite to a dump file: -`tcpdump -w {{dumpfile.pcap}} port not {{22}}` +`sudo tcpdump -w {{dumpfile.pcap}} port not {{22}}` -- Read from a given dump file: +- [r]ead from a given dump file: `tcpdump -r {{dumpfile.pcap}}` diff --git a/pages/common/tcpreplay.md b/pages/common/tcpreplay.md new file mode 100644 index 00000000000000..0821fd17d3296f --- /dev/null +++ b/pages/common/tcpreplay.md @@ -0,0 +1,28 @@ +# tcpreplay + +> Replay network traffic stored in a `pcap` file. +> More information: . + +- List available network interfaces: + +`tcpreplay --listnics` + +- Replay traffic to interface: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{traffic.pcap}}` + +- Replay traffic to interface and `stdout`: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-v|--verbose]}} {{traffic.pcap}}` + +- Replay traffic to interface as fast as possible: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-t|--topspeed]}} {{traffic.pcap}}` + +- Replay traffic to interface at given Mbps: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-M|--mbps]}} {{10}} {{traffic.pcap}}` + +- Replay traffic to interface several times: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-l|--loop]}} {{num_times}} {{traffic.pcap}}` diff --git a/pages/common/tcsh.md b/pages/common/tcsh.md new file mode 100644 index 00000000000000..3ee634df9074e3 --- /dev/null +++ b/pages/common/tcsh.md @@ -0,0 +1,29 @@ +# tcsh + +> C shell with file name completion and command-line editing. +> See also: `csh`. +> More information: . + +- Start an interactive shell session: + +`tcsh` + +- Start an interactive shell session without loading startup configs: + +`tcsh -f` + +- Execute specific [c]ommands: + +`tcsh -c "{{echo 'tcsh is executed'}}"` + +- Execute a specific script: + +`tcsh {{path/to/script.tcsh}}` + +- Check a specific script for syntax errors: + +`tcsh -n {{path/to/script.tcsh}}` + +- Execute specific commands from `stdin`: + +`{{echo "echo 'tcsh is executed'"}} | tcsh` diff --git a/pages/common/tea.md b/pages/common/tea.md index 010fb01c1ffc17..a61a278f7cba0f 100644 --- a/pages/common/tea.md +++ b/pages/common/tea.md @@ -1,6 +1,6 @@ # tea -> A command line tool to interact with Gitea servers. +> Interact with Gitea servers. > More information: . - Log into a Gitea server: diff --git a/pages/common/tectonic.md b/pages/common/tectonic.md new file mode 100644 index 00000000000000..f524813d161c31 --- /dev/null +++ b/pages/common/tectonic.md @@ -0,0 +1,28 @@ +# tectonic + +> A modern, self-contained TeX/LaTeX engine. +> More information: . + +- Compile a standalone TeX/LaTeX file: + +`tectonic -X compile {{path/to/file.tex}}` + +- Compile a standalone TeX/LaTeX file with synctex data: + +`tectonic -X compile --synctex {{path/to/file.tex}}` + +- Initialize a tectonic project in the current directory: + +`tectonic -X init` + +- Initialize a tectonic project in the specified directory: + +`tectonic -X new {{project_name}}` + +- Build the project in the current directory: + +`tectonic -X build` + +- Start a watcher to build the project in the current directory on change: + +`tectonic -X watch` diff --git a/pages/common/tee.md b/pages/common/tee.md index fe92a69d6cf4c7..9b52d8a7caa84e 100644 --- a/pages/common/tee.md +++ b/pages/common/tee.md @@ -1,19 +1,20 @@ # tee -> Read from standard input and write to standard output and files (or commands). +> Read from `stdin` and write to `stdout` and files (or commands). +> More information: . -- Copy standard input to each FILE, and also to standard output: +- Copy `stdin` to each file, and also to `stdout`: -`echo "example" | tee {{FILE}}` +`echo "example" | tee {{path/to/file}}` -- Append to the given FILEs, do not overwrite: +- Append to the given files, do not overwrite: -`echo "example" | tee -a {{FILE}}` +`echo "example" | tee {{[-a|--append]}} {{path/to/file}}` -- Print standard input to the terminal, and also pipe it into another program for further processing: +- Print `stdin` to the terminal, and also pipe it into another program for further processing: `echo "example" | tee {{/dev/tty}} | {{xargs printf "[%s]"}}` - Create a directory called "example", count the number of characters in "example" and write "example" to the terminal: -`echo "example" | tee >(xargs mkdir) >(wc -c)` +`echo "example" | tee >(xargs mkdir) >(wc {{[-c|--bytes]}})` diff --git a/pages/common/telegram-desktop.md b/pages/common/telegram-desktop.md new file mode 100644 index 00000000000000..c13a77aa4c563c --- /dev/null +++ b/pages/common/telegram-desktop.md @@ -0,0 +1,16 @@ +# telegram-desktop + +> Instant messenger with open source clients, chats and stickers. +> More information: . + +- Start GUI: + +`telegram-desktop` + +- Run GUI as an autostart if allowed: + +`telegram-desktop -autostart` + +- Run GUI minimized to tray: + +`telegram-desktop -startintray` diff --git a/pages/common/telnet.md b/pages/common/telnet.md index ba4ebcddf1dd6b..0a7721ad2a1d02 100644 --- a/pages/common/telnet.md +++ b/pages/common/telnet.md @@ -1,6 +1,7 @@ # telnet > Connect to a specified port of a host using the telnet protocol. +> More information: . - Telnet to the default port of a host: @@ -16,8 +17,12 @@ - Emit the default escape character combination for terminating the session: -`Ctrl + ]` +`` -- Start telnet with "x" as the session termination character: +- Start `telnet` with "x" as the session termination character: -`telnet -e {{x}} {{ip_address}} {{port}}` +`telnet {{[-e|--escape]}} {{x}} {{ip_address}} {{port}}` + +- Telnet to Star Wars animation: + +`telnet {{towel.blinkenlights.nl}}` diff --git a/pages/common/termdown.md b/pages/common/termdown.md new file mode 100644 index 00000000000000..3b5556d3f2b7cc --- /dev/null +++ b/pages/common/termdown.md @@ -0,0 +1,24 @@ +# termdown + +> Countdown timer and stopwatch. +> More information: . + +- Start a stopwatch: + +`termdown` + +- Start a 1 minute and 30 seconds countdown: + +`termdown {{1m30s}}` + +- Start a 1 minute 30 seconds countdown with blinking the terminal at the end: + +`termdown {{1m30s}} --blink` + +- Show a title above countdown: + +`termdown {{1m30s}} --title "{{Interesting title}}"` + +- Display current time: + +`termdown --time` diff --git a/pages/common/terminalizer.md b/pages/common/terminalizer.md index b087cade25d238..628622fa9d7c35 100644 --- a/pages/common/terminalizer.md +++ b/pages/common/terminalizer.md @@ -1,24 +1,25 @@ # terminalizer -> Utility program which records the terminal and generate animated gifs or share a video. -> More information: . +> Record the terminal, generate animated GIFs and a web player, and optionally upload to . +> See also: `asciinema`. +> More information: . -- Create the global config directory: +- Create the global configuration directory: `terminalizer init` - Record the terminal and create a recording file: -`terminalizer record {{filename}}` +`terminalizer record {{path/to/recording.gif}}` - Play a recorded file on the terminal: -`terminalizer play {{filename}}` +`terminalizer play {{path/to/recording.gif}}` -- Render a recording file as an animated gif image: +- Render a recording file as an animated GIF image: -`terminalizer render {{filename}}` +`terminalizer render {{path/to/recording.gif}}` -- Upload a video to terminalizer.com: +- Upload a video to : -`terminalizer share {{filename}}` +`terminalizer share {{path/to/recording.gif}}` diff --git a/pages/common/terraform-fmt.md b/pages/common/terraform-fmt.md index 36a9e21f5375f9..15f4788d1480b8 100644 --- a/pages/common/terraform-fmt.md +++ b/pages/common/terraform-fmt.md @@ -1,7 +1,7 @@ # terraform fmt > Format configuration according to Terraform language style conventions. -> More information: . +> More information: . - Format the configuration in the current directory: @@ -15,6 +15,6 @@ `terraform fmt -diff` -- Do not list files that were formatted to stdout: +- Do not list files that were formatted to `stdout`: `terraform fmt -list=false` diff --git a/pages/common/terraform-output.md b/pages/common/terraform-output.md new file mode 100644 index 00000000000000..87abe524a56a21 --- /dev/null +++ b/pages/common/terraform-output.md @@ -0,0 +1,20 @@ +# terraform output + +> Export structured data about your Terraform resources. +> More information: . + +- With no additional arguments, `output` will display all outputs for the root module: + +`terraform output` + +- Output only a value with specific name: + +`terraform output {{name}}` + +- Convert the output value to a raw string (useful for shell scripts): + +`terraform output -raw` + +- Format the outputs as a JSON object, with a key per output (useful with jq): + +`terraform output -json` diff --git a/pages/common/terraform-plan.md b/pages/common/terraform-plan.md new file mode 100644 index 00000000000000..5d584e1f61b344 --- /dev/null +++ b/pages/common/terraform-plan.md @@ -0,0 +1,32 @@ +# terraform plan + +> Generate and show Terraform execution plans. +> More information: . + +- Generate and show the execution plan in the currently directory: + +`terraform plan` + +- Show a plan to destroy all remote objects that currently exist: + +`terraform plan -destroy` + +- Show a plan to update the Terraform state and output values: + +`terraform plan -refresh-only` + +- Specify values for input variables: + +`terraform plan -var '{{name1}}={{value1}}' -var '{{name2}}={{value2}}'` + +- Focus Terraform's attention on only a subset of resources: + +`terraform plan -target {{resource_type.resource_name[instance index]}}` + +- Output a plan as JSON: + +`terraform plan -json` + +- Write a plan to a specific file: + +`terraform plan -no-color > {{path/to/file}}` diff --git a/pages/common/terraform.md b/pages/common/terraform.md index 3cefa09d56623e..782f1fdcf034b5 100644 --- a/pages/common/terraform.md +++ b/pages/common/terraform.md @@ -1,7 +1,7 @@ # terraform > Create and deploy infrastructure as code to cloud providers. -> More information: . +> More information: . - Initialize a new or existing Terraform configuration: diff --git a/pages/common/terragrunt.md b/pages/common/terragrunt.md new file mode 100644 index 00000000000000..da46af7292f18e --- /dev/null +++ b/pages/common/terragrunt.md @@ -0,0 +1,28 @@ +# terragrunt + +> Keep your Terraform CLI arguments DRY. +> More information: . + +- Generate and show an execution plan: + +`terragrunt plan` + +- Build or change infrastructure: + +`terragrunt apply` + +- Show current deployment (from state): + +`terragrunt show` + +- Show module output values: + +`terragrunt output` + +- Destroy Terraform-managed infrastructure: + +`terragrunt destroy` + +- Build or change infrastructure from a tree of Terragrunt modules (stack): + +`terragrunt run-all apply` diff --git a/pages/common/tesseract.md b/pages/common/tesseract.md index ee138f98c23044..3f7fc77660d1d0 100644 --- a/pages/common/tesseract.md +++ b/pages/common/tesseract.md @@ -1,23 +1,23 @@ # tesseract > OCR (Optical Character Recognition) engine. -> More information: . +> More information: . -- Recognize text in an image and save it to `output.txt` (the '.txt' extension is added automatically): +- Recognize text in an image and save it to the given path (a `.txt` extension is added automatically): -`tesseract {{image.png}} {{output}}` +`tesseract {{path/to/image.png}} {{path/to/output_file}}` -- Specify a custom language (default is English) with an ISO 639-2 code (e.g. deu = Deutsch = German): +- Specify a custom [l]anguage (default is English) with an ISO 639-2 code (e.g. deu = Deutsch = German): -`tesseract -l deu {{image.png}} {{output}}` +`tesseract -l deu {{path/to/image.png}} {{path/to/output}}` -- List the ISO 639-2 codes of available languages: +- List the ISO 639-2 codes of installed languages: `tesseract --list-langs` -- Specify a custom page segmentation mode (default is 3): +- Specify a custom [p]age [s]egmentation [m]ode (default is 3): -`tesseract -psm {{0_to_10}} {{image.png}} {{output}}` +`tesseract --psm {{0..13}} {{path/to/image.png}} {{path/to/output}}` - List page segmentation modes and their descriptions: diff --git a/pages/common/test.md b/pages/common/test.md index ade6a44e797130..506cb331b4aac6 100644 --- a/pages/common/test.md +++ b/pages/common/test.md @@ -1,24 +1,29 @@ # test -> Evaluate condition. -> If it is true, returns 0 exit status, otherwise returns 1. +> Check file types and compare values. +> Returns 0 if the condition evaluates to true, 1 if it evaluates to false. +> More information: . -- Test if given variable is equal to given string: +- Test if a given variable is equal to a given string: -`test $MY_VAR == '/bin/zsh'` +`test "{{$MY_VAR}}" = "{{/bin/zsh}}"` -- Test if given variable is empty: +- Test if a given variable is empty ([z]ero length): -`test -z $GIT_BRANCH` +`test -z "{{$GIT_BRANCH}}"` -- Test if file exists: +- Test if a [f]ile exists: -`test -e {{filename}}` +`test -f "{{path/to/file_or_directory}}"` -- Test if directory not exists: +- Test if a [d]irectory does not exist: -`test ! -d {{path/to/directory}}` +`test ! -d "{{path/to/directory}}"` -- If-else statement: +- If A is true, then do B, or C in the case of an error (notice that C may run even if A fails): -`test {{condition}} && echo "true" || echo "false"` +`test {{condition}} && {{echo "true"}} || {{echo "false"}}` + +- Use `test` in a conditional statement: + +`if test -f "{{path/to/file}}"; then echo "File exists"; else echo "File does not exist"; fi` diff --git a/pages/common/testssl.md b/pages/common/testssl.md index ae934d97c12266..5b9a645f98be1d 100644 --- a/pages/common/testssl.md +++ b/pages/common/testssl.md @@ -1,7 +1,7 @@ # testssl > Check SSL/TLS protocols and ciphers supported by a server. -> More information: . +> More information: . - Test a server (run every check) on port 443: @@ -22,3 +22,7 @@ - Only check HTTP security headers: `testssl --headers {{example.com}}` + +- Test other STARTTLS enabled protocols: + +`testssl --starttls {{ftp|smtp|pop3|imap|xmpp|sieve|xmpp-server|telnet|ldap|irc|lmtp|nntp|postgres|mysql}} {{example.com}}:{{port}}` diff --git a/pages/common/tex-fmt.md b/pages/common/tex-fmt.md new file mode 100644 index 00000000000000..61bbdf36e5a460 --- /dev/null +++ b/pages/common/tex-fmt.md @@ -0,0 +1,16 @@ +# tex-fmt + +> Format LaTeX source code. +> More information: . + +- Format a file, overwriting the original: + +`tex-fmt {{path/to/file.tex}}` + +- Check if a file is correctly formatted: + +`tex-fmt --check {{path/to/file.tex}}` + +- Format a file read from `stdin` and print to `stdout`: + +`cat {{path/to/file.tex}} | tex-fmt --stdin` diff --git a/pages/common/tex.md b/pages/common/tex.md new file mode 100644 index 00000000000000..12d87d03d3bc19 --- /dev/null +++ b/pages/common/tex.md @@ -0,0 +1,16 @@ +# tex + +> Compile a DVI document from TeX source files. +> More information: . + +- Compile a DVI document: + +`tex {{source.tex}}` + +- Compile a DVI document, specifying an output directory: + +`tex -output-directory={{path/to/directory}} {{source.tex}}` + +- Compile a DVI document, exiting on each error: + +`tex -halt-on-error {{source.tex}}` diff --git a/pages/common/texcount.md b/pages/common/texcount.md new file mode 100644 index 00000000000000..b0e473e7f9d6b5 --- /dev/null +++ b/pages/common/texcount.md @@ -0,0 +1,25 @@ +# texcount + +> Count words in TeX documents omitting macros. +> Note: If the TeX document uses `\include` or `\input` and you want to count the included files, `texcount` must be run in the directory of the root TeX file. +> More information: . + +- Count words in a TeX file: + +`texcount {{path/to/file.tex}}` + +- Count words in a document and subdocuments built with `\input` or `\include`: + +`texcount -merge {{file.tex}}` + +- Count words in a document and subdocuments, listing each file separately (and a total count): + +`texcount -inc {{file.tex}}` + +- Count words in a document and subdocuments, producing subcounts by chapter (instead of subsection): + +`texcount -merge -sub=chapter {{file.tex}}` + +- Count words with verbose output: + +`texcount -v {{path/to/file.tex}}` diff --git a/pages/common/texdoc.md b/pages/common/texdoc.md new file mode 100644 index 00000000000000..5cecc55ddd5184 --- /dev/null +++ b/pages/common/texdoc.md @@ -0,0 +1,16 @@ +# texdoc + +> Search for appropriate documentation for (La)TeX commands or packages. +> More information: . + +- Open the first search result in the default PDF viewer: + +`texdoc {{search}}` + +- List the best search results: + +`texdoc {{[-l|--list]}} {{search}}` + +- Open full documentation of texdoc: + +`texdoc {{texdoc}}` diff --git a/pages/common/texliveonfly.md b/pages/common/texliveonfly.md new file mode 100644 index 00000000000000..6ce401ef41f0c2 --- /dev/null +++ b/pages/common/texliveonfly.md @@ -0,0 +1,16 @@ +# texliveonfly + +> Downloads missing TeX Live packages while compiling `.tex` files. +> More information: . + +- Download missing packages while compiling: + +`texliveonfly {{source.tex}}` + +- Use a specific compiler (defaults to `pdflatex`): + +`texliveonfly {{[-c|--compiler]}} {{compiler}} {{source.tex}}` + +- Use a custom TeX Live `bin` folder: + +`texliveonfly --texlive_bin={{path/to/texlive_bin}} {{source.tex}}` diff --git a/pages/common/textql.md b/pages/common/textql.md new file mode 100644 index 00000000000000..b55f37c309f88b --- /dev/null +++ b/pages/common/textql.md @@ -0,0 +1,28 @@ +# textql + +> Execute SQL against structured text like CSV or TSV files. +> More information: . + +- Print the lines in the specified CSV file that match an SQL query to `stdout`: + +`textql -sql "{{SELECT * FROM filename}}" {{path/to/filename.csv}}` + +- Query a TSV file: + +`textql -dlm=tab -sql "{{SELECT * FROM filename}}" {{path/to/filename.tsv}}` + +- Query file with header row: + +`textql -dlm={{delimiter}} -header -sql "{{SELECT * FROM filename}}" {{path/to/filename.csv}}` + +- Read data from `stdin`: + +`cat {{path/to/file}} | textql -sql "{{SELECT * FROM stdin}}"` + +- Join two files on a specified common column: + +`textql -header -sql "SELECT * FROM {{path/to/file1}} JOIN {{file2}} ON {{path/to/file1}}.{{c1}} = {{file2}}.{{c1}} LIMIT {{10}}" -output-header {{path/to/file1.csv}} {{path/to/file2.csv}}` + +- Format output using an output delimiter with an output header line: + +`textql -output-dlm={{delimiter}} -output-header -sql "SELECT {{column}} AS {{alias}} FROM {{filename}}" {{path/to/filename.csv}}` diff --git a/pages/common/tgatoppm.md b/pages/common/tgatoppm.md new file mode 100644 index 00000000000000..caca1d71721151 --- /dev/null +++ b/pages/common/tgatoppm.md @@ -0,0 +1,20 @@ +# tgatoppm + +> Convert a TrueVision Targa file to a Netpbm image. +> More information: . + +- Convert a TrueVision Targa file to a PPM image: + +`tgatoppm {{path/to/file.tga}} > {{path/to/output.ppm}}` + +- Dump information from the TGA header to `stdout`: + +`tgatoppm {{[-h|-headerdump]}} {{path/to/file.tga}} > {{path/to/output.ppm}}` + +- Write the transparency channel values of the input image to the specified file: + +`tgatoppm {{[-a|-alphaout]}} {{path/to/transparency_file.pgm}} {{path/to/file.tga}} > {{path/to/output.ppm}}` + +- Display version: + +`tgatoppm {{[-v|-version]}}` diff --git a/pages/common/tgpt.md b/pages/common/tgpt.md new file mode 100644 index 00000000000000..255efa13b08346 --- /dev/null +++ b/pages/common/tgpt.md @@ -0,0 +1,37 @@ +# tgpt + +> Talk to an AI chatbot without the need for API keys. +> Available providers: `openai`, `opengpts`, `koboldai`, `phind`, `llama2`, `blackboxai`. +> More information: . + +- Chat with the default provider (GPT-3.5-turbo): + +`tgpt "{{prompt}}"` + +- Start multi-line interactive mode: + +`tgpt {{[-m|--multiline]}}` + +- Generate images and save them to the current directory: + +`tgpt {{[-img|--image]}} "{{prompt}}"` + +- Generate code with the default provider (GPT-3.5-turbo): + +`tgpt {{[-c|--code]}} "{{prompt}}"` + +- Chat with a specific provider quietly (without animations): + +`tgpt --provider {{openai|opengpts|koboldai|phind|llama2|blackboxai}} {{[-q|--quiet]}} {{[-w|--whole]}} "{{prompt}}"` + +- Generate and execute shell commands using a specific provider (with a confirmation prompt): + +`tgpt --provider {{llama2}} {{[-s|--shell]}} "{{prompt}}"` + +- Prompt with an API key, model, max response length, temperature, and `top_p` (required when using `openai` provider): + +`tgpt --provider openai --key "{{api_key}}" --model "{{gpt-3.5-turbo}}" --max-length {{10}} --temperature {{0.7}} --top_p {{0.9}} "{{prompt}}"` + +- Feed a file as additional pre-prompt input: + +`tgpt < {{path/to/file}} --provider {{blackboxai}} "{{prompt}}"` diff --git a/pages/common/theHarvester.md b/pages/common/theHarvester.md deleted file mode 100644 index 0a13cbb4be27b9..00000000000000 --- a/pages/common/theHarvester.md +++ /dev/null @@ -1,24 +0,0 @@ -# theHarvester - -> A tool designed to be used in the early stages of a penetration test. -> More information: . - -- Gather information on a domain using Google: - -`theHarvester --domain {{domain_name}} --source google` - -- Gather information on a domain using multiple sources: - -`theHarvester --domain {{domain_name}} --source {{google,bing,crtsh}}` - -- Change the limit of results to work with: - -`theHarvester --domain {{domain_name}} --source {{google}} --limit {{200}}` - -- Save the output to two files in xml and html format: - -`theHarvester --domain {{domain_name}} --source {{google}} --file {{output_file_name}}` - -- Output all available options: - -`theHarvester --help` diff --git a/pages/common/theharvester.md b/pages/common/theharvester.md new file mode 100644 index 00000000000000..4ef95e5cd188c4 --- /dev/null +++ b/pages/common/theharvester.md @@ -0,0 +1,24 @@ +# theHarvester + +> A tool designed to be used in the early stages of a penetration test. +> More information: . + +- Gather information on a domain using Google: + +`theHarvester --domain {{domain_name}} --source google` + +- Gather information on a domain using multiple sources: + +`theHarvester --domain {{domain_name}} --source {{duckduckgo,bing,crtsh}}` + +- Change the limit of results to work with: + +`theHarvester --domain {{domain_name}} --source {{google}} --limit {{200}}` + +- Save the output to two files in XML and HTML format: + +`theHarvester --domain {{domain_name}} --source {{google}} --file {{output_file_name}}` + +- Display help: + +`theHarvester --help` diff --git a/pages/common/then.md b/pages/common/then.md new file mode 100644 index 00000000000000..db20dd11481fb7 --- /dev/null +++ b/pages/common/then.md @@ -0,0 +1,7 @@ +# then + +> This shell keyword is used in combination with `if` and `elif` to separate branches and branch conditions. + +- View documentation for `if` command: + +`tldr if` diff --git a/pages/common/thinkjettopbm.md b/pages/common/thinkjettopbm.md new file mode 100644 index 00000000000000..7513a667dc4291 --- /dev/null +++ b/pages/common/thinkjettopbm.md @@ -0,0 +1,12 @@ +# thinkjettopbm + +> Convert a HP ThinkJet printer commands file to a PBM file. +> More information: . + +- Convert a HP ThinkJet printer commands file to a PBM file: + +`thinkjettopbm {{path/to/input}} > {{path/to/output.pbm}}` + +- Print debug information to `stderr`: + +`thinkjettopbm {{[-d|-debug]}} {{path/to/input}} > {{path/to/output.pbm}}` diff --git a/pages/common/thunderbird.md b/pages/common/thunderbird.md index b5ad280153fa2c..d4a91f294eeb43 100644 --- a/pages/common/thunderbird.md +++ b/pages/common/thunderbird.md @@ -1,7 +1,7 @@ # thunderbird > Email client and RSS reader. -> More information: . +> More information: . - Open thunderbird: diff --git a/pages/common/tidy.md b/pages/common/tidy.md new file mode 100644 index 00000000000000..5b5acf00a13e45 --- /dev/null +++ b/pages/common/tidy.md @@ -0,0 +1,17 @@ +# tidy + +> Clean up and pretty print HTML, XHTML and XML files. +> Note: `tidy` cannot preserve original indentation. +> More information: . + +- Pretty print an HTML file: + +`tidy {{path/to/file.html}}` + +- Enable indentation, wrapping lines in 100, saving to `output.html`: + +`tidy {{[-i|--indent]}} y {{[-w|--wrap]}} 100 {{[-o|-output]}} {{path/to/output.html}} {{path/to/file.html}}` + +- Modify an HTML file in-place using a configuration file: + +`tidy -config {{path/to/configuration}} {{[-m|-modify]}} {{path/to/file.html}}` diff --git a/pages/common/tifftopnm.md b/pages/common/tifftopnm.md new file mode 100644 index 00000000000000..8810f12b2916be --- /dev/null +++ b/pages/common/tifftopnm.md @@ -0,0 +1,20 @@ +# tifftopnm + +> Convert a TIFF image to a PNM image. +> More information: . + +- Convert a TIFF to a PNM file: + +`tifftopnm {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}` + +- Create a PGM file containing the alpha channel of the input image: + +`tifftopnm {{[-a|-alphaout]}} {{path/to/alpha_file.pgm}} {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}` + +- Respect the `fillorder` tag in the input TIFF image: + +`tifftopnm {{[-r|-respectfillorder]}} {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}` + +- Print TIFF header information to `stderr`: + +`tifftopnm {{[-h|-headerdump]}} {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}` diff --git a/pages/common/tig.md b/pages/common/tig.md index 993ac65da66ff1..a9d254488ef98f 100644 --- a/pages/common/tig.md +++ b/pages/common/tig.md @@ -1,7 +1,8 @@ # tig -> A text-mode interface for Git. -> More information: . +> A configurable `ncurses`-based TUI for Git. +> See also: `gitui`, `git-gui`. +> More information: . - Show the sequence of commits starting from the current one in reverse chronological order: @@ -13,12 +14,16 @@ - Show the history of specific files or directories: -`tig {{path1 path2 …}}` +`tig {{path1 path2 ...}}` - Show the difference between two references (such as branches or tags): `tig {{base_ref}}..{{compared_ref}}` +- Browse git blame interactively (press `<,>` to jump to parent): + +`tig blame {{path/to/file}}` + - Display commits from all branches and stashes: `tig --all` @@ -26,3 +31,7 @@ - Start in stash view, displaying all saved stashes: `tig stash` + +- Display help in TUI: + +`` diff --git a/pages/common/time.md b/pages/common/time.md index d4dd058bcf6c75..041ba39acdac55 100644 --- a/pages/common/time.md +++ b/pages/common/time.md @@ -1,7 +1,14 @@ # time -> See how long a command takes. +> Measure how long a command took to run. +> Note: `time` can either exist as a shell builtin, a standalone program or both. +> See also: `times`. +> More information: . -- Time "ls": +- Run the `command` and print the time measurements to `stdout`: -`time ls` +`time {{command}}` + +- Create a very simple stopwatch (only works in Bash): + +`time read` diff --git a/pages/common/timeout.md b/pages/common/timeout.md index 8037788fe7e0b0..90899f7f257d9a 100644 --- a/pages/common/timeout.md +++ b/pages/common/timeout.md @@ -1,11 +1,24 @@ # timeout > Run a command with a time limit. +> More information: . -- Run `sleep 10` and terminate it, if it runs for more than 3 seconds: +- Run `sleep 10` and terminate it after 3 seconds: -`timeout {{3s}} {{sleep 10}}` +`timeout 3s sleep 10` -- Specify the signal to be sent to the command after the time limit expires. (By default, TERM is sent): +- Send a signal to the command after the time limit expires (`TERM` by default, `kill -l` to list all signals): -`timeout --signal {{INT}} {{5s}} {{sleep 10}}` +`timeout {{[-s|--signal]}} {{INT|HUP|KILL|...}} {{5s}} {{sleep 10}}` + +- Send verbose output to `stderr` showing signal sent upon timeout: + +`timeout {{[-v|--verbose]}} {{0.5s|1m|1h|1d|...}} {{command}}` + +- Preserve the exit status of the command regardless of timing out: + +`timeout {{[-p|--preserve-status]}} {{1s|1m|1h|1d|...}} {{command}}` + +- Send a forceful `KILL` signal after certain duration if the command ignores initial signal upon timeout: + +`timeout {{[-k|--kill-after]}} {{5m}} {{30s}} {{command}}` diff --git a/pages/common/times.md b/pages/common/times.md new file mode 100644 index 00000000000000..93447c165a8d70 --- /dev/null +++ b/pages/common/times.md @@ -0,0 +1,9 @@ +# times + +> Print the cumulative CPU usage time of the current shell. +> See also: `time`. +> More information: . + +- Print CPU usage. First line is current shell CPU usage for User and System. Second is all child processes: + +`times` diff --git a/pages/common/timetrap.md b/pages/common/timetrap.md new file mode 100644 index 00000000000000..e5e8bee69045de --- /dev/null +++ b/pages/common/timetrap.md @@ -0,0 +1,20 @@ +# timetrap + +> Simple time tracker written in Ruby. +> More information: . + +- Create a new timesheet: + +`timetrap sheet {{timesheet}}` + +- Check in an entry started 5 minutes ago: + +`timetrap in --at "{{5 minutes ago}}" {{entry_notes}}` + +- Display the current timesheet: + +`timetrap display` + +- Edit the last entry's end time: + +`timetrap edit --end {{time}}` diff --git a/pages/common/timew.md b/pages/common/timew.md index d8486ef73a3bdf..c4517d5d6467d7 100644 --- a/pages/common/timew.md +++ b/pages/common/timew.md @@ -1,24 +1,32 @@ # timew > A time tracking tool used to measure the duration of activities. -> More information: . +> More information: . -- Start a new stopwatch, giving a tag name to the activity being tracked: +- Start tracking an activity: -`timew start {{activity_tag}}` +`timew start` -- View running stopwatches: +- Tag the current activity: -`timew` +`timew tag {{activity_tag}}` -- Stop the stopwatch with a given tag name: +- Start tracking and tag a new activity: -`timew stop {{activity_tag}}` +`timew start {{activity_tag}}` -- Stop all running stopwatches: +- Stop the current activity: `timew stop` -- View tracked items: +- Track an activity in the past: + +`timew track {{start_time}} - {{end_time}} {{activity_tag}}` + +- View tracked items of the day: `timew summary` + +- View report for the last day, week, current month, etc.: + +`timew summary :{{today|yesterday|week|lastweek|month|lastmonth|year|lastyear}}` diff --git a/pages/common/timidity.md b/pages/common/timidity.md new file mode 100644 index 00000000000000..9711a7ea6ed51e --- /dev/null +++ b/pages/common/timidity.md @@ -0,0 +1,24 @@ +# timidity + +> Play and convert MIDI files. +> More information: . + +- Play a MIDI file: + +`timidity {{path/to/file.mid}}` + +- Play a MIDI file in a loop: + +`timidity --loop {{path/to/file.mid}}` + +- Play a MIDI file in a specific key (0 = C major/A minor, -1 = F major/D minor, +1 = G major/E minor, etc.): + +`timidity --force-keysig={{-flats|+sharps}} {{path/to/file.mid}}` + +- Convert a MIDI file to PCM (WAV) audio: + +`timidity --output-mode={{w}} --output-file={{path/to/file.wav}} {{path/to/file.mid}}` + +- Convert a MIDI file to FLAC audio: + +`timidity --output-mode={{F}} --output-file={{path/to/file.flac}} {{path/to/file.mid}}` diff --git a/pages/common/tldr-lint.md b/pages/common/tldr-lint.md new file mode 100644 index 00000000000000..4c27e2a307349e --- /dev/null +++ b/pages/common/tldr-lint.md @@ -0,0 +1,16 @@ +# tldr-lint + +> Lint and format `tldr` pages. +> More information: . + +- Lint all pages: + +`tldr-lint {{pages_directory}}` + +- Format a specific page to `stdout`: + +`tldr-lint --format {{page.md}}` + +- Format all pages in place: + +`tldr-lint --format --in-place {{pages_directory}}` diff --git a/pages/common/tldr.md b/pages/common/tldr.md index 6c7dd4a838d235..fc389eb36ba1ac 100644 --- a/pages/common/tldr.md +++ b/pages/common/tldr.md @@ -1,20 +1,37 @@ # tldr -> Displays simple help pages for command-line tools, from the tldr-pages project. -> More information: . +> Display simple help pages for command-line tools from the tldr-pages project. +> Note: The `--language` and `--list` options are not required by the client specification, but most clients implement them. +> More information: . -- Get typical usages of a command (hint: this is how you got here!): +- Print the tldr page for a specific command (hint: this is how you got here!): `tldr {{command}}` -- Show the tar tldr page for Linux: +- Print the tldr page for a specific subcommand: -`tldr -p {{linux}} {{tar}}` +`tldr {{command}} {{subcommand}}` -- Get help for a Git subcommand: +- Print the tldr page for a command in the given language (if available, otherwise fall back to English): -`tldr {{git-checkout}}` +`tldr {{[-L|--language]}} {{language_code}} {{command}}` -- Update local pages (if the client supports caching): +- Print the tldr page for a command from a specific platform: -`tldr -u` +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{command}}` + +- Update the local cache of tldr pages: + +`tldr {{[-u|--update]}}` + +- List all pages for the current platform and `common`: + +`tldr {{[-l|--list]}}` + +- List all available subcommand pages for a command: + +`tldr {{[-l|--list]}} | grep {{command}} | column` + +- Print the tldr page for a random command: + +`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr` diff --git a/pages/common/tldrl.md b/pages/common/tldrl.md index 9aefd47c2d7a58..6cd74f69b7bb14 100644 --- a/pages/common/tldrl.md +++ b/pages/common/tldrl.md @@ -1,16 +1,7 @@ # tldrl -> Lint and format `tldr` pages. -> More information: . +> This command is an alias of `tldr-lint`. -- Lint all pages: +- View documentation for the original command: -`tldrl {{pages_directory}}` - -- Format a specific page to `stdout`: - -`tldrl -f {{page.md}}` - -- Format all pages in place: - -`tldrl -fi {{pages_directory}}` +`tldr tldr-lint` diff --git a/pages/common/tlmgr-arch.md b/pages/common/tlmgr-arch.md new file mode 100644 index 00000000000000..dc6a4dd25c65ea --- /dev/null +++ b/pages/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> This command is an alias of `tlmgr platform`. + +- View documentation for the original command: + +`tldr tlmgr platform` diff --git a/pages/common/tlmgr-backup.md b/pages/common/tlmgr-backup.md new file mode 100644 index 00000000000000..1723676099b9be --- /dev/null +++ b/pages/common/tlmgr-backup.md @@ -0,0 +1,25 @@ +# tlmgr backup + +> Manage backups of TeX Live packages. +> The default backup directory is specified by the `backupdir` option, and can be obtained with `tlmgr option`. +> More information: . + +- Make a backup of one or more packages: + +`tlmgr backup {{package1 package2 ...}}` + +- Make a backup of all packages: + +`tlmgr backup --all` + +- Make a backup to a custom directory: + +`tlmgr backup {{package}} --backupdir {{path/to/backup_directory}}` + +- Remove a backup of one or more packages: + +`tlmgr backup clean {{package1 package2 ...}}` + +- Remove all backups: + +`tlmgr backup clean --all` diff --git a/pages/common/tlmgr-candidates.md b/pages/common/tlmgr-candidates.md new file mode 100644 index 00000000000000..7570387b0399f2 --- /dev/null +++ b/pages/common/tlmgr-candidates.md @@ -0,0 +1,8 @@ +# tlmgr candidates + +> Get available candidate repositories from which a TeX Live package can be installed. +> More information: . + +- List all available repositories from which a package can be installed: + +`tlmgr candidates {{package}}` diff --git a/pages/common/tlmgr-check.md b/pages/common/tlmgr-check.md new file mode 100644 index 00000000000000..feaec0eff2c6fb --- /dev/null +++ b/pages/common/tlmgr-check.md @@ -0,0 +1,28 @@ +# tlmgr check + +> Check the consistency of a TeX Live installation. +> More information: . + +- Check the consistency of the whole TeX Live installation: + +`tlmgr check all` + +- Check the consistency of the whole TeX Live information in verbose mode: + +`tlmgr check all -v` + +- Check for missing dependencies: + +`tlmgr check depends` + +- Check if all TeX Live executables are present: + +`tlmgr check executes` + +- Check if all files listed in the local TLPDB are present: + +`tlmgr check files` + +- Check for duplicate filenames in the runfiles sections: + +`tlmgr check runfiles` diff --git a/pages/common/tlmgr-conf.md b/pages/common/tlmgr-conf.md new file mode 100644 index 00000000000000..58fc11390dd5fd --- /dev/null +++ b/pages/common/tlmgr-conf.md @@ -0,0 +1,32 @@ +# tlmgr conf + +> Manage the TeX Live configuration. +> More information: . + +- Show the current TeX Live configuration: + +`tlmgr conf` + +- Show the current `texmf`, `tlmgr`, or `updmap` configuration: + +`tlmgr conf {{texmf|tlmgr|updmap}}` + +- Show only a specific configuration option: + +`tlmgr conf {{texmf|tlmgr|updmap}} {{configuration_key}}` + +- Set a specific configuration option: + +`tlmgr conf {{texmf|tlmgr|updmap}} {{configuration_key}} {{value}}` + +- Delete a specific configuration option: + +`tlmgr conf {{texmf|tlmgr|updmap}} --delete {{configuration_key}}` + +- Disable the execution of system calls via `\write18`: + +`tlmgr conf texmf {{shell_escape}} {{0}}` + +- Show all additional `texmf` trees: + +`tlmgr conf auxtrees show` diff --git a/pages/common/tlmgr-dump-tlpdb.md b/pages/common/tlmgr-dump-tlpdb.md new file mode 100644 index 00000000000000..aee8d032572de6 --- /dev/null +++ b/pages/common/tlmgr-dump-tlpdb.md @@ -0,0 +1,16 @@ +# tlmgr dump-tlpdb + +> Dump the TeX Live package database. +> More information: . + +- Dump the local package database: + +`tlmgr dump-tlpdb --local` + +- Dump the remote package database: + +`tlmgr dump-tlpdb --remote` + +- Dump the local package database as JSON: + +`tlmgr dump-tlpdb --local --json` diff --git a/pages/common/tlmgr-generate.md b/pages/common/tlmgr-generate.md new file mode 100644 index 00000000000000..a92c5a4472372e --- /dev/null +++ b/pages/common/tlmgr-generate.md @@ -0,0 +1,16 @@ +# tlmgr generate + +> Remake configuration files from information stored locally. +> More information: . + +- Remake the configuration file storing into a specific location: + +`tlmgr generate --dest {{output_file}}` + +- Remake the configuration file using a local configuration file: + +`tlmgr generate --localcfg {{local_configuration_file}}` + +- Run necessary programs after rebuilding configuration files: + +`tlmgr generate --rebuild-sys` diff --git a/pages/common/tlmgr-gui.md b/pages/common/tlmgr-gui.md new file mode 100644 index 00000000000000..79dfe6e2fdec13 --- /dev/null +++ b/pages/common/tlmgr-gui.md @@ -0,0 +1,29 @@ +# tlmgr gui + +> Start a graphical user interface for `tlmgr`. +> `tlmgr gui` depends on the package `perl-tk`, which has to be installed manually. +> More information: . + +- Start a GUI for `tlmgr`: + +`sudo tlmgr gui` + +- Start a GUI specifying the background color: + +`sudo tlmgr gui -background "{{#f39bc3}}"` + +- Start a GUI specifying the foreground color: + +`sudo tlmgr gui -foreground "{{#0ef3bd}}"` + +- Start a GUI specifying the font and font size: + +`sudo tlmgr gui -font "{{helvetica 18}}"` + +- Start a GUI setting a specific geometry: + +`sudo tlmgr gui -geometry {{width}}x{{height}}-{{xpos}}+{{ypos}}` + +- Start a GUI passing an arbitrary X resource string: + +`sudo tlmgr gui -xrm {{xresource}}` diff --git a/pages/common/tlmgr-info.md b/pages/common/tlmgr-info.md new file mode 100644 index 00000000000000..229fd758d9e79f --- /dev/null +++ b/pages/common/tlmgr-info.md @@ -0,0 +1,36 @@ +# tlmgr info + +> Show information about TeX Live packages. +> More information: . + +- List all available TeX Live packages, prefexing installed ones with `i`: + +`tlmgr info` + +- List all available collections: + +`tlmgr info collections` + +- List all available schemes: + +`tlmgr info scheme` + +- Show information about a specific package: + +`tlmgr info {{package}}` + +- List all files contained in a specific package: + +`tlmgr info {{package}} --list` + +- List all installed packages: + +`tlmgr info --only-installed` + +- Show only specific information about a package: + +`tlmgr info {{package}} --data "{{name}},{{category}},{{installed}},{{size}},{{depends}},{{...}}"` + +- Print all available packages as JSON encoded array: + +`tlmgr info --json` diff --git a/pages/common/tlmgr-install.md b/pages/common/tlmgr-install.md new file mode 100644 index 00000000000000..e7aa8337a81e09 --- /dev/null +++ b/pages/common/tlmgr-install.md @@ -0,0 +1,24 @@ +# tlmgr install + +> Install TeX Live packages. +> More information: . + +- Install a package and its dependencies: + +`sudo tlmgr install {{package}}` + +- Reinstall a package: + +`sudo tlmgr install --reinstall {{package}}` + +- Simulate installing a package without making any changes: + +`tlmgr install --dry-run {{package}}` + +- Install a package without its dependencies: + +`sudo tlmgr install --no-depends {{package}}` + +- Install a package from a specific file: + +`sudo tlmgr install --file {{path/to/package}}` diff --git a/pages/common/tlmgr-key.md b/pages/common/tlmgr-key.md new file mode 100644 index 00000000000000..1920cd506a3e61 --- /dev/null +++ b/pages/common/tlmgr-key.md @@ -0,0 +1,20 @@ +# tlmgr key + +> Manage GPG keys used to verify TeX Live databases. +> More information: . + +- List all keys for TeX Live: + +`tlmgr key list` + +- Add a key from a specific file: + +`sudo tlmgr key add {{path/to/key.gpg}}` + +- Add a key from `stdin`: + +`cat {{path/to/key.gpg}} | sudo tlmgr key add -` + +- Remove a specific key by its ID: + +`sudo tlmgr key remove {{key_id}}` diff --git a/pages/common/tlmgr-option.md b/pages/common/tlmgr-option.md new file mode 100644 index 00000000000000..9d108554cae3b1 --- /dev/null +++ b/pages/common/tlmgr-option.md @@ -0,0 +1,28 @@ +# tlmgr option + +> TeX Live settings manager. +> More information: . + +- List all TeX Live settings: + +`tlmgr option showall` + +- List all currently set Tex Live settings: + +`tlmgr option show` + +- Print all TeX Live settings in JSON format: + +`tlmgr option showall --json` + +- Show the value of a specific TeX Live setting: + +`tlmgr option {{setting}}` + +- Modify the value of a specific TeX Live setting: + +`tlmgr option {{setting}} {{value}}` + +- Set TeX Live to get future updates from the internet after installing from DVD: + +`tlmgr option {{repository}} {{https://mirror.ctan.org/systems/texlive/tlnet}}` diff --git a/pages/common/tlmgr-paper.md b/pages/common/tlmgr-paper.md new file mode 100644 index 00000000000000..ea4697dfb7a664 --- /dev/null +++ b/pages/common/tlmgr-paper.md @@ -0,0 +1,28 @@ +# tlmgr paper + +> Manage paper size options of an TeX Live installation. +> More information: . + +- Show the default paper size used by all TeX Live programs: + +`tlmgr paper` + +- Set the default paper size for all TeX Live programs to A4: + +`sudo tlmgr paper {{a4}}` + +- Show the default paper size used by a specific TeX Live program: + +`tlmgr {{pdftex}} paper` + +- Set the default paper size for a specific TeX Live program to A4: + +`sudo tlmgr {{pdftex}} paper {{a4}}` + +- List all available paper sizes for a specific TeX Live program: + +`tlmgr {{pdftex}} paper --list` + +- Dump the default paper size used by all TeX Live programs in JSON format: + +`tlmgr paper --json` diff --git a/pages/common/tlmgr-path.md b/pages/common/tlmgr-path.md new file mode 100644 index 00000000000000..b2b2070ceba1c3 --- /dev/null +++ b/pages/common/tlmgr-path.md @@ -0,0 +1,13 @@ +# tlmgr path + +> Add or remove symlinks for TeX Live executables, man pages and info pages. +> This command has to be re-run for files added in the future. +> More information: . + +- Add symlinks to TeX Live files: + +`sudo tlmgr path add` + +- Remove symlinks to TeX Live files: + +`sudo tlmgr path remove` diff --git a/pages/common/tlmgr-pinning.md b/pages/common/tlmgr-pinning.md new file mode 100644 index 00000000000000..968ea1b05a07a5 --- /dev/null +++ b/pages/common/tlmgr-pinning.md @@ -0,0 +1,20 @@ +# tlmgr pinning + +> The pinning action manages the pinning file. +> More information: . + +- Show the current pinning data: + +`tlmgr pinning show` + +- Pin the matching the packages to the given repository: + +`tlmgr pinning add {{repository}} {{package1 package2 ...}}` + +- Remove any packages recorded in the pinning file matching the packages for the given repository: + +`tlmgr pinning remove {{repository}} {{package1 package2 ...}}` + +- Remove all pinning data for the given repository: + +`tlmgr pinning remove {{repository}} --all` diff --git a/pages/common/tlmgr-platform.md b/pages/common/tlmgr-platform.md new file mode 100644 index 00000000000000..94fcaea969dca5 --- /dev/null +++ b/pages/common/tlmgr-platform.md @@ -0,0 +1,24 @@ +# tlmgr platform + +> Manage TeX Live platforms. +> More information: . + +- List all available platforms in the package repository: + +`tlmgr platform list` + +- Add the executables for a specific platform: + +`sudo tlmgr platform add {{platform}}` + +- Remove the executables for a specific platform: + +`sudo tlmgr platform remove {{platform}}` + +- Auto-detect and switch to the current platform: + +`sudo tlmgr platform set auto` + +- Switch to a specific platform: + +`sudo tlmgr platform set {{platform}}` diff --git a/pages/common/tlmgr-recreate-tlpdb.md b/pages/common/tlmgr-recreate-tlpdb.md new file mode 100644 index 00000000000000..3aeeaa4fd3839a --- /dev/null +++ b/pages/common/tlmgr-recreate-tlpdb.md @@ -0,0 +1,9 @@ +# tlmgr recreate-tlpdb + +> Recreate the TeX Live package database. +> This command has a lack of documentation and should be used with caution. +> More information: . + +- Recreate the `texlive.tlpdb` database file and dump it to `stdout`: + +`sudo tlmgr recreate-tlpdb` diff --git a/pages/common/tlmgr-remove.md b/pages/common/tlmgr-remove.md new file mode 100644 index 00000000000000..1e9668365888eb --- /dev/null +++ b/pages/common/tlmgr-remove.md @@ -0,0 +1,25 @@ +# tlmgr remove + +> Uninstall TeX Live packages. +> By default, removed packages will be backed up to `./tlpkg/backups` under the TL installation directory. +> More information: . + +- Uninstall a TeX Live package: + +`sudo tlmgr remove {{package}}` + +- Simulate uninstalling a package without making any changes: + +`tlmgr remove --dry-run {{package}}` + +- Uninstall a package without its dependencies: + +`sudo tlmgr remove --no-depends {{package}}` + +- Uninstall a package and back it up to a specific directory: + +`sudo tlmgr remove --backupdir {{path/to/directory}} {{package}}` + +- Uninstall all of TeX Live, asking for confirmation: + +`sudo tlmgr remove --all` diff --git a/pages/common/tlmgr-repository.md b/pages/common/tlmgr-repository.md new file mode 100644 index 00000000000000..7c14941c9acea8 --- /dev/null +++ b/pages/common/tlmgr-repository.md @@ -0,0 +1,28 @@ +# tlmgr repository + +> Manage repositories of a TeX Live installation. +> More information: . + +- List all configured repositories and their tags (if set): + +`tlmgr repository list` + +- List all packages available in a specific repository: + +`tlmgr repository list {{path|url|tag}}` + +- Add a new repository with a specific tag (the tag is not required): + +`sudo tlmgr repository add {{path|url}} {{tag}}` + +- Remove a specific repository: + +`sudo tlmgr repository remove {{path|url|tag}}` + +- Set a new list of repositories, overwriting the previous list: + +`sudo tlmgr repository set {{path|url|tag}}#{{tag}} {{path|url|tag}}#{{tag}} {{...}}` + +- Show the verification status of all configured repositories: + +`tlmgr repository status` diff --git a/pages/common/tlmgr-restore.md b/pages/common/tlmgr-restore.md new file mode 100644 index 00000000000000..daac3ff81d9b68 --- /dev/null +++ b/pages/common/tlmgr-restore.md @@ -0,0 +1,29 @@ +# tlmgr restore + +> Restore package backups created with `tlmgr backup`. +> The default backup directory is specified by the `backupdir` option, and can be obtained with `tlmgr option`. +> More information: . + +- List all available backup revisions for all packages: + +`tlmgr restore` + +- List all available backup revisions for a specific package: + +`tlmgr restore {{package}}` + +- Restore a specific revision of a specific package: + +`tlmgr restore {{package}} {{revision}}` + +- Restore the latest revision of all backed-up packages: + +`tlmgr restore --all` + +- Restore a package from a custom backup directory: + +`tlmgr restore {{package}} {{revision}} --backupdir {{path/to/backup_directory}}` + +- Perform a dry-run and print all taken actions without making them: + +`tlmgr restore --dry-run {{package}} {{revision}}` diff --git a/pages/common/tlmgr-search.md b/pages/common/tlmgr-search.md new file mode 100644 index 00000000000000..827287108120f4 --- /dev/null +++ b/pages/common/tlmgr-search.md @@ -0,0 +1,24 @@ +# tlmgr search + +> Search for TeX Live packages using (Perl) `regex`. +> More information: . + +- Search for a package name and descriptions of all locally installed packages from a specific `regex`: + +`tlmgr search "{{regex}}"` + +- Search for all file names of all locally installed packages from a `regex`: + +`tlmgr search --file "{{regex}}"` + +- Search for all file names, package names, and descriptions of all locally installed packages from a `regex`: + +`tlmgr search --all "{{regex}}"` + +- Search the TeX Live database, instead of the local installation: + +`tlmgr search --global "{{regex}}"` + +- Restrict the matches for package names and descriptions (but not for file names) to whole words: + +`tlmgr search --all --word "{{regex}}"` diff --git a/pages/common/tlmgr-shell.md b/pages/common/tlmgr-shell.md new file mode 100644 index 00000000000000..bda914e85843c8 --- /dev/null +++ b/pages/common/tlmgr-shell.md @@ -0,0 +1,36 @@ +# tlmgr shell + +> Start an interactive shell of the native TeX Live manager. +> More information: . + +- Start an interactive shell of `tlmgr`: + +`tlmgr shell` + +- Run any `tlmgr` subcommand in the interactive shell: + +`{{subcommand}} {{arguments}}` + +- Quit the interactive shell: + +`quit` + +- List all TeX Live variables: + +`get` + +- Get the value of a TeX Live variable: + +`get {{variable}}` + +- Set the value of a TeX Live variable: + +`set {{variable}} {{value}}` + +- Restart the interactive shell: + +`restart` + +- Display the version of the current protocol: + +`protocol` diff --git a/pages/common/tlmgr-update.md b/pages/common/tlmgr-update.md new file mode 100644 index 00000000000000..169e2a6eac66b5 --- /dev/null +++ b/pages/common/tlmgr-update.md @@ -0,0 +1,32 @@ +# tlmgr update + +> Update TeX Live packages. +> More information: . + +- Update all TeX Live packages: + +`sudo tlmgr update --all` + +- Update tlmgr itself: + +`sudo tlmgr update --self` + +- Update a specific package: + +`sudo tlmgr update {{package}}` + +- Update all except a specific package: + +`sudo tlmgr update --all --exclude {{package}}` + +- Update all packages, making a backup of the current packages: + +`sudo tlmgr update --all --backup` + +- Update a specific package without updating its dependencies: + +`sudo tlmgr update --no-depends {{package}}` + +- Simulate updating all packages without making any changes: + +`sudo tlmgr update --all --dry-run` diff --git a/pages/common/tlmgr.md b/pages/common/tlmgr.md new file mode 100644 index 00000000000000..b77ba523f312db --- /dev/null +++ b/pages/common/tlmgr.md @@ -0,0 +1,33 @@ +# tlmgr + +> Manage packages and configuration options of an existing TeX Live installation. +> Some subcommands such as `paper` have their own usage documentation. +> More information: . + +- Install a package and its dependencies: + +`tlmgr install {{package}}` + +- Remove a package and its dependencies: + +`tlmgr remove {{package}}` + +- Display information about a package: + +`tlmgr info {{package}}` + +- Update all packages: + +`tlmgr update --all` + +- Show possible updates without updating anything: + +`tlmgr update --list` + +- Start a GUI version of tlmgr: + +`tlmgr gui` + +- List all TeX Live configurations: + +`tlmgr conf` diff --git a/pages/common/tmpmail.md b/pages/common/tmpmail.md index c92352e30075da..3d0bb03a1bffa3 100644 --- a/pages/common/tmpmail.md +++ b/pages/common/tmpmail.md @@ -1,11 +1,11 @@ # tmpmail > A temporary email right from your terminal written in POSIX sh. -> More information: . +> More information: . - Create a temporary inbox: -`tmpmail --generate` +`tmpmail {{[-g|--generate]}}` - List messages and their numeric ID: @@ -13,7 +13,7 @@ - Display the most recent received email: -`tmpmail --recent` +`tmpmail {{[-r|--recent]}}` - Open a specific message: @@ -21,8 +21,8 @@ - View email as raw text without HTML tags: -`tmpmail --text` +`tmpmail {{[-t|--text]}}` - Open email with a specific browser (default is w3m): -`tmpmail --browser {{browser}}` +`tmpmail {{[-b|--browser]}} {{browser}}` diff --git a/pages/common/tmsu.md b/pages/common/tmsu.md new file mode 100644 index 00000000000000..e67858b256e587 --- /dev/null +++ b/pages/common/tmsu.md @@ -0,0 +1,28 @@ +# tmsu + +> Simple tool for tagging files. +> More information: . + +- Tag a specific file with multiple tags: + +`tmsu tag {{path/to/file.mp3}} {{music}} {{big-jazz}} {{mp3}}` + +- Tag multiple files: + +`tmsu tag --tags "{{music mp3}}" {{*.mp3}}` + +- List tags of specified file(s): + +`tmsu tags {{*.mp3}}` + +- List files with specified tag(s): + +`tmsu files {{big-jazz}} {{music}}` + +- List files with tags matching boolean expression: + +`tmsu files "{{(year >= 1990 and year <= 2000)}} and {{grunge}}"` + +- Mount tmsu virtual filesystem to an existing directory: + +`tmsu mount {{path/to/directory}}` diff --git a/pages/common/tmux.md b/pages/common/tmux.md index c5afb470f8eaab..afa1e4f123ac73 100644 --- a/pages/common/tmux.md +++ b/pages/common/tmux.md @@ -1,36 +1,38 @@ # tmux -> Terminal multiplexer. It allows multiple sessions with windows, panes, and more. +> Terminal multiplexer. +> It allows multiple sessions with windows, panes, and more. +> See also: `zellij`, `screen`. > More information: . - Start a new session: `tmux` -- Start a new named session: +- Start a new named [s]ession: -`tmux new -s {{name}}` +`tmux {{[new|new-session]}} -s {{name}}` - List existing sessions: -`tmux ls` +`tmux {{[ls|list-sessions]}}` - Attach to the most recently used session: -`tmux attach` +`tmux {{[a|attach]}}` - Detach from the current session (inside a tmux session): -`Ctrl-B d` +`` - Create a new window (inside a tmux session): -`Ctrl-B c` +`` - Switch between sessions and windows (inside a tmux session): -`Ctrl-B w` +`` -- Kill a session by name: +- Kill a session by [t]arget name: `tmux kill-session -t {{name}}` diff --git a/pages/common/todo.md b/pages/common/todo.md new file mode 100644 index 00000000000000..cba3f4ba24478f --- /dev/null +++ b/pages/common/todo.md @@ -0,0 +1,32 @@ +# todo + +> A simple, standards-based, cli todo manager. +> More information: . + +- List startable tasks: + +`todo list --startable` + +- Add a new task to the work list: + +`todo new {{thing_to_do}} --list {{work}}` + +- Add a location to a task with a given ID: + +`todo edit --location {{location_name}} {{task_id}}` + +- Show details about a task: + +`todo show {{task_id}}` + +- Mark tasks with the specified IDs as completed: + +`todo done {{task_id1 task_id2 ...}}` + +- Delete a task: + +`todo delete {{task_id}}` + +- Delete done tasks and reset the IDs of the remaining tasks: + +`todo flush` diff --git a/pages/common/todo.sh.md b/pages/common/todo.sh.md new file mode 100644 index 00000000000000..0e7394725ae453 --- /dev/null +++ b/pages/common/todo.sh.md @@ -0,0 +1,28 @@ +# todo.sh + +> Simple and extensible shell script for managing your `todo.txt` file. +> More information: . + +- List every item: + +`todo.sh ls` + +- Add an item with project and context tags: + +`todo.sh add '{{description}} +{{project}} @{{context}}'` + +- Mark an item as [do]ne: + +`todo.sh do {{item_no}}` + +- Remove an item: + +`todo.sh rm {{item_no}}` + +- Set an item's [pri]ority (A-Z): + +`todo.sh pri {{item_no}} {{priority}}` + +- Replace an item: + +`todo.sh replace {{item_no}} '{{new_description}}'` diff --git a/pages/common/todoist.md b/pages/common/todoist.md new file mode 100644 index 00000000000000..3960b9f2a6c7d6 --- /dev/null +++ b/pages/common/todoist.md @@ -0,0 +1,28 @@ +# todoist + +> Access from the command-line. +> More information: . + +- Add a task: + +`todoist add "{{task_name}}"` + +- Add a high priority task with a label, project, and due date: + +`todoist add "{{task_name}}" --priority {{1}} --label-ids "{{label_id}}" --project-name "{{project_name}}" --date "{{tmr 9am}}"` + +- Add a high priority task with a label, project, and due date in quick mode: + +`todoist quick '#{{project_name}} "{{tmr 9am}}" p{{1}} {{task_name}} @{{label_name}}'` + +- List all tasks with a header and color: + +`todoist --header --color list` + +- List all high priority tasks: + +`todoist list --filter p{{1}}` + +- List today's tasks with high priority that have the specified label: + +`todoist list --filter '(@{{label_name}} | {{today}}) & p{{1}}'` diff --git a/pages/common/todoman.md b/pages/common/todoman.md new file mode 100644 index 00000000000000..fd8d2763bbefb4 --- /dev/null +++ b/pages/common/todoman.md @@ -0,0 +1,7 @@ +# todoman + +> This command is an alias of `todo`. + +- View documentation for the original command: + +`tldr todo` diff --git a/pages/common/tofu-fmt.md b/pages/common/tofu-fmt.md new file mode 100644 index 00000000000000..39b308dc756038 --- /dev/null +++ b/pages/common/tofu-fmt.md @@ -0,0 +1,20 @@ +# tofu fmt + +> Format configuration according to OpenTofu language style conventions. +> More information: . + +- Format the configuration in the current directory: + +`tofu fmt` + +- Format the configuration in the current directory and subdirectories: + +`tofu fmt -recursive` + +- Display diffs of formatting changes: + +`tofu fmt -diff` + +- Do not list files that were formatted to `stdout`: + +`tofu fmt -list=false` diff --git a/pages/common/tofu-output.md b/pages/common/tofu-output.md new file mode 100644 index 00000000000000..c374f0f7470e0d --- /dev/null +++ b/pages/common/tofu-output.md @@ -0,0 +1,20 @@ +# tofu output + +> Export structured data about your OpenTofu resources. +> More information: . + +- With no additional arguments, `output` will display all outputs for the root module: + +`tofu output` + +- Output only a value with specific name: + +`tofu output {{name}}` + +- Convert the output value to a raw string (useful for shell scripts): + +`tofu output -raw` + +- Format the outputs as a JSON object, with a key per output (useful with `jq`): + +`tofu output -json` diff --git a/pages/common/tofu-plan.md b/pages/common/tofu-plan.md new file mode 100644 index 00000000000000..b91245a1d32edd --- /dev/null +++ b/pages/common/tofu-plan.md @@ -0,0 +1,32 @@ +# tofu plan + +> Generate and show OpenTofu execution plans. +> More information: . + +- Generate and show the execution plan in the currently directory: + +`tofu plan` + +- Show a plan to destroy all remote objects that currently exist: + +`tofu plan -destroy` + +- Show a plan to update the Tofu state and output values: + +`tofu plan -refresh-only` + +- Specify values for input variables: + +`tofu plan -var '{{name1}}={{value1}}' -var '{{name2}}={{value2}}'` + +- Focus Tofu's attention on only a subset of resources: + +`tofu plan -target {{resource_type.resource_name[instance index]}}` + +- Output a plan as JSON: + +`tofu plan -json` + +- Write a plan to a specific file: + +`tofu plan -no-color > {{path/to/file}}` diff --git a/pages/common/tofu.md b/pages/common/tofu.md new file mode 100644 index 00000000000000..72c9065880a440 --- /dev/null +++ b/pages/common/tofu.md @@ -0,0 +1,28 @@ +# tofu + +> Create and deploy infrastructure as code to cloud providers. Open-source fork of Terraform. +> More information: . + +- Initialize a new or existing OpenTofu configuration: + +`tofu init` + +- Verify that the configuration files are syntactically valid: + +`tofu validate` + +- Format configuration according to OpenTofu language style conventions: + +`tofu fmt` + +- Generate and show an execution plan: + +`tofu plan` + +- Build or change infrastructure: + +`tofu apply` + +- Destroy Tofu-managed infrastructure: + +`tofu destroy` diff --git a/pages/common/toipe.md b/pages/common/toipe.md new file mode 100644 index 00000000000000..efd94ae0249639 --- /dev/null +++ b/pages/common/toipe.md @@ -0,0 +1,25 @@ +# toipe + +> Yet another typing test, but crab flavoured. +> A trusty terminal typing tester. +> More information: . + +- Start the typing test with the default wordlist: + +`toipe` + +- Use a specific wordlist: + +`toipe {{[-w|--wordlist]}} {{wordlist_name}}` + +- Use a custom wordlist: + +`toipe {{[-f|--file]}} {{path/to/file}}` + +- Specify the number of words on each test: + +`toipe {{[-n|--num]}} {{number_of_words}}` + +- Include punctuation: + +`toipe {{[-p|--punctuation]}}` diff --git a/pages/common/tokei.md b/pages/common/tokei.md index 2e9d3b33c1d991..d1a2f4598f599d 100644 --- a/pages/common/tokei.md +++ b/pages/common/tokei.md @@ -1,20 +1,20 @@ # tokei -> A program that prints out statistics about code. +> Display statistics about code. > More information: . -- Get a report on the code in a directory and all subdirectories: +- Display a report for the code in a directory and all subdirectories: `tokei {{path/to/directory}}` -- Get a report for a directory excluding `.min.js` files: +- Display a report for a directory excluding `.min.js` files: -`tokei {{path/to/directory}} -e {{*.min.js}}` +`tokei {{path/to/directory}} {{[-e|--exclude]}} {{*.min.js}}` -- Print out statistics for individual files in a directory: +- Display statistics for individual files in a directory: -`tokei {{path/to/directory}} --files` +`tokei {{path/to/directory}} {{[-f|--files]}}` -- Get a report for all files of type Rust and Markdown: +- Display a report for all files of type Rust and Markdown: -`tokei {{path/to/directory}} -t={{Rust}},{{Markdown}}` +`tokei {{path/to/directory}} {{[-t|--type]}} {{Rust}},{{Markdown}}` diff --git a/pages/common/topgrade.md b/pages/common/topgrade.md index a46b70ff2fcd7d..ded784b7de5aa7 100644 --- a/pages/common/topgrade.md +++ b/pages/common/topgrade.md @@ -9,20 +9,20 @@ - Say yes to all updates: -`topgrade -y` +`topgrade {{[-y|--yes]}}` - Cleanup temporary/old files: -`topgrade -c` +`topgrade {{[-c|--cleanup]}}` - Disable a certain update operation: -`topgrade -disable {{operation}}` +`topgrade --disable {{operation}}` - Only perform a certain update operation: `topgrade --only {{operation}}` -- Edit the config file with default editor: +- Edit the configuration file with default editor: `topgrade --edit-config` diff --git a/pages/common/topydo.md b/pages/common/topydo.md index 77b51a8d1cea6b..3b79dca50d2729 100644 --- a/pages/common/topydo.md +++ b/pages/common/topydo.md @@ -1,25 +1,25 @@ # topydo -> A todo list application that uses the todo.txt format. +> A to-do list application that uses the todo.txt format. > More information: . -- Add a todo to a specific project with a given context: +- Add a to-do to a specific project with a given context: `topydo add "{{todo_message}} +{{project_name}} @{{context_name}}"` -- Add a todo with a due date of tomorrow with a priority of `A`: +- Add a to-do with a due date of tomorrow with a priority of `A`: `topydo add "(A) {{todo _message}} due:{{1d}}"` -- Add a todo with a due date of friday: +- Add a to-do with a due date of Friday: `topydo add "{{todo_message}} due:{{fri}}"` -- Add a non-strict repeating todo (next due = now + rec): +- Add a non-strict repeating to-do (next due = now + rec): `topydo add "water flowers due:{{mon}} rec:{{1w}}"` -- Add a strict repeating todo (next due = currentdue + rec): +- Add a strict repeating to-do (next due = current due + rec): `topydo add "{{todo_message}} due:{{2020-01-01}} rec:{{+1m}}"` diff --git a/pages/common/touch.md b/pages/common/touch.md index 87efa390ccd5e1..e748dc7e328d0e 100644 --- a/pages/common/touch.md +++ b/pages/common/touch.md @@ -1,15 +1,32 @@ # touch -> Change a file access and modification times (atime, mtime). +> Create files and set access/modification times. +> More information: . -- Create a new empty file(s) or change the times for existing file(s) to current time: +- Create specific files: -`touch {{filename}}` +`touch {{path/to/file1 path/to/file2 ...}}` -- Set the times on a file to a specific date and time: +- Set the file [a]ccess or [m]odification times to the current one and don't create file if it doesn't exist: -`touch -t {{YYYYMMDDHHMM.SS}} {{filename}}` +`touch {{[-c|--no-create]}} -{{a|m}} {{path/to/file1 path/to/file2 ...}}` -- Use the times from a file to set the times on a second file: +- Set the file [t]ime to a specific value and don't create file if it doesn't exist: -`touch -r {{filename}} {{filename2}}` +`touch {{[-c|--no-create]}} -t {{YYYYMMDDHHMM.SS}} {{path/to/file1 path/to/file2 ...}}` + +- Set the files' timestamp to the reference file's timestamp, and do not create the file if it does not exist: + +`touch {{[-c|--no-create]}} {{[-r|--reference]}} {{path/to/reference_file}} {{path/to/file1 path/to/file2 ...}}` + +- Set the timestamp by parsing a string: + +`touch {{[-d|--date]}} "{{last year|5 hours|next thursday|nov 14|...}}" {{path/to/file}}` + +- Create multiple files with an increasing number: + +`touch {{path/to/file{1..10}}}` + +- Create multiple files with a letter range: + +`touch {{path/to/file{a..z}}}` diff --git a/pages/common/tox.md b/pages/common/tox.md index 45bc437b12ebaf..4c8fdef815e80a 100644 --- a/pages/common/tox.md +++ b/pages/common/tox.md @@ -8,18 +8,18 @@ `tox` -- Create a tox.ini configuration: +- Create a `tox.ini` configuration: `tox-quickstart` - List the available environments: -`tox --listenvs-all` +`tox {{[-a|--listenvs-all]}}` -- Run tests on a specific environment (e.g. python 3.6): +- Run tests on a specific environment (e.g. Python 3.6): `tox -e {{py36}}` - Force the virtual environment to be recreated: -`tox --recreate -e {{py27}}` +`tox {{[-r|--recreate]}} -e {{py27}}` diff --git a/pages/common/tpp.md b/pages/common/tpp.md index c314eacbc8f8ec..67664c372d8bcd 100644 --- a/pages/common/tpp.md +++ b/pages/common/tpp.md @@ -5,8 +5,8 @@ - View a presentation: -`tpp {{filename}}` +`tpp {{path/to/file}}` - Output a presentation: -`tpp -t {{type}} -o {{outputname}} {{filename}}` +`tpp -t {{type}} -o {{path/to/output}} {{path/to/file}}` diff --git a/pages/common/tput.md b/pages/common/tput.md index f1f9279b2b2f6f..8f1be26f3ad8af 100644 --- a/pages/common/tput.md +++ b/pages/common/tput.md @@ -1,27 +1,36 @@ # tput > View and modify terminal settings and capabilities. +> More information: . - Move the cursor to a screen location: -`tput cup {{y_coordinate}} {{x_coordinate}}` +`tput cup {{row}} {{column}}` - Set foreground (af) or background (ab) color: `tput {{setaf|setab}} {{ansi_color_code}}` +- Reverse text and background colors: + +`tput rev` + +- Reset all terminal text attributes: + +`tput sgr0` + - Show number of columns, lines, or colors: `tput {{cols|lines|colors}}` -- Ring the terminal bell: +- Enable or disable word wrap: -`tput bel` +`tput {{smam|rmam}}` -- Reset all terminal attributes: +- Hide or show the terminal cursor: -`tput sgr0` +`tput {{civis|cnorm}}` -- Enable / Disable word wrap: +- Save or restore terminal text status (smcup also captures scroll wheel events): -`tput {{smam|rmam}}` +`tput {{smcup|rmcup}}` diff --git a/pages/common/tqdm.md b/pages/common/tqdm.md new file mode 100644 index 00000000000000..2c5e380624f311 --- /dev/null +++ b/pages/common/tqdm.md @@ -0,0 +1,20 @@ +# tqdm + +> Show progress over time of a command. +> More information: . + +- Show iterations per second and use `stdout` afterwards: + +`{{seq 10000000}} | tqdm | {{command}}` + +- Create a progress bar: + +`{{seq 10000000}} | tqdm --total {{10000000}} | {{command}}` + +- Create an archive out of a directory and use the file count of that directory to create a progress bar: + +`zip {{[-r|--recurse-paths]}} {{path/to/archive.zip}} {{path/to/directory}} | tqdm --total $(find {{path/to/directory}} | wc {{[-l|--lines]}}) --unit files --null` + +- Create an archive with tar and create a progress bar (system agnostic, GNU tar uses `stdout` while BSD tar uses `stderr`): + +`tar vzcf {{path/to/archive.tar.gz}} {{path/to/directory}} 2>&1 | tqdm --total $(find {{path/to/directory}} | wc {{[-l|--lines]}}) --unit files --null` diff --git a/pages/common/tr.md b/pages/common/tr.md index fb6857dd8e120a..0d9ac3cac1a697 100644 --- a/pages/common/tr.md +++ b/pages/common/tr.md @@ -1,10 +1,11 @@ # tr > Translate characters: run replacements based on single characters and character sets. +> More information: . - Replace all occurrences of a character in a file, and print the result: -`tr {{find_character}} {{replace_character}} < {{filename}}` +`tr < {{path/to/file}} {{find_character}} {{replace_character}}` - Replace all occurrences of a character from another command's output: @@ -12,20 +13,20 @@ - Map each character of the first set to the corresponding character of the second set: -`tr '{{abcd}}' '{{jkmn}}' < {{filename}}` +`tr < {{path/to/file}} '{{abcd}}' '{{jkmn}}'` - Delete all occurrences of the specified set of characters from the input: -`tr -d '{{input_characters}}' < {{filename}}` +`tr < {{path/to/file}} {{[-d|--delete]}} '{{input_characters}}'` - Compress a series of identical characters to a single character: -`tr -s '{{input_characters}}' < {{filename}}` +`tr < {{path/to/file}} {{[-s|--squeeze-repeats]}} '{{input_characters}}'` - Translate the contents of a file to upper-case: -`tr "[:lower:]" "[:upper:]" < {{filename}}` +`tr < {{path/to/file}} "[:lower:]" "[:upper:]"` - Strip out non-printable characters from a file: -`tr -cd "[:print:]" < {{filename}}` +`tr < {{path/to/file}} {{[-cd|--complement --delete]}} "[:print:]"` diff --git a/pages/common/traceroute.md b/pages/common/traceroute.md index fc57488f5a7c97..1a127bc689aad3 100644 --- a/pages/common/traceroute.md +++ b/pages/common/traceroute.md @@ -1,23 +1,32 @@ # traceroute > Print the route packets trace to network host. +> More information: . - Traceroute to a host: -`traceroute {{host}}` +`traceroute {{example.com}}` - Disable IP address and host name mapping: -`traceroute -n {{host}}` +`traceroute -n {{example.com}}` -- Specify wait time for response: +- Specify wait time in seconds for response: -`traceroute -w {{0.5}} {{host}}` +`traceroute {{[-w|--wait]}} {{0.5}} {{example.com}}` - Specify number of queries per hop: -`traceroute -q {{5}} {{host}}` +`traceroute {{[-q|--queries]}} {{5}} {{example.com}}` - Specify size in bytes of probing packet: -`traceroute {{host}} {{42}}` +`traceroute {{example.com}} {{42}}` + +- Determine the MTU to the destination: + +`traceroute --mtu {{example.com}}` + +- Use ICMP instead of UDP for tracerouting: + +`traceroute {{[-I|--icmp]}} {{example.com}}` diff --git a/pages/common/traefik.md b/pages/common/traefik.md index f423c0bf78113a..c9dc82f3cc8d63 100644 --- a/pages/common/traefik.md +++ b/pages/common/traefik.md @@ -1,17 +1,17 @@ # traefik -> A HTTP reverse proxy and load balancer. +> An HTTP reverse proxy and load balancer. > More information: . -- Start server with default config: +- Start the server with the default configuration: `traefik` -- Start server with a custom config file: +- Start the server with a custom configuration file: -`traefik --c {{config_file}}.toml` +`traefik --ConfigFile {{config_file.toml}}` -- Start server with cluster mode enabled: +- Start the server with cluster mode enabled: `traefik --cluster` diff --git a/pages/common/trans.md b/pages/common/trans.md index a9eb076757ec03..d5bc33cc69bdc0 100644 --- a/pages/common/trans.md +++ b/pages/common/trans.md @@ -1,6 +1,6 @@ # trans -> Translate Shell is a command-line translator. +> Translate Shell, a command-line translator. > More information: . - Translate a word (language is detected automatically): @@ -9,7 +9,7 @@ - Get a brief translation: -`trans --brief "{{word_or_sentence_to_translate}}"` +`trans {{[-b|-brief]}} "{{word_or_sentence_to_translate}}"` - Translate a word into french: @@ -21,4 +21,4 @@ - Behave like a dictionary to get the meaning of a word: -`trans -d {{word}}` +`trans {{[-d|-dictionary]}} {{word}}` diff --git a/pages/common/transcode.md b/pages/common/transcode.md index 63a83a5f29af01..248ca610fa6199 100644 --- a/pages/common/transcode.md +++ b/pages/common/transcode.md @@ -1,15 +1,16 @@ # transcode > Transcode video and audio codecs, and convert between media formats. +> More information: . -- Create stabilisation file to be able to remove camera shakes: +- Create stabilization file to be able to remove camera shakes: `transcode -J stabilize -i {{input_file}}` -- Remove camera shakes after creating stabilisation file, transform video using xvid: +- Remove camera shakes after creating stabilization file, transform video using XviD: `transcode -J transform -i {{input_file}} -y xvid -o {{output_file}}` -- Resize the video to 640x480 pixels and convert to MPEG4 codec using xvid: +- Resize the video to 640x480 pixels and convert to MPEG4 codec using XviD: `transcode -Z 640x480 -i {{input_file}} -y xvid -o {{output_file}}` diff --git a/pages/common/transcrypt.md b/pages/common/transcrypt.md index 675252cb2229b8..561031e3fb5006 100644 --- a/pages/common/transcrypt.md +++ b/pages/common/transcrypt.md @@ -13,12 +13,12 @@ - Display the credentials of a configured repository: -`transcrypt --display` +`transcrypt {{[-d|--display]}}` - Initialize and decrypt a fresh clone of a configured repository: -`transcrypt --cipher={{cipher}}` +`transcrypt {{[-c|--cipher]}} {{cipher}}` - Rekey to change the encryption cipher or password: -`transcrypt --rekey` +`transcrypt {{[-r|--rekey]}}` diff --git a/pages/common/transfersh.md b/pages/common/transfersh.md new file mode 100644 index 00000000000000..778ed56c4909eb --- /dev/null +++ b/pages/common/transfersh.md @@ -0,0 +1,28 @@ +# transfersh + +> An unofficial client for transfer.sh. +> More information: . + +- Upload a file to transfer.sh: + +`transfersh {{path/to/file}}` + +- Upload a file showing a progress bar (requires Python package `requests_toolbelt`): + +`transfersh --progress {{path/to/file}}` + +- Upload a file using a different file name: + +`transfersh --name {{filename}} {{path/to/file}}` + +- Upload a file to a custom transfer.sh server: + +`transfersh --servername {{upload.server.name}} {{path/to/file}}` + +- Upload all files from a directory recursively: + +`transfersh --recursive {{path/to/directory}}/` + +- Upload a specific directory as an uncompressed tar: + +`transfersh -rt {{path/to/directory}}` diff --git a/pages/common/transmission-cli.md b/pages/common/transmission-cli.md index 3bdc40004ba003..ae888218a23627 100644 --- a/pages/common/transmission-cli.md +++ b/pages/common/transmission-cli.md @@ -2,7 +2,7 @@ > A lightweight, command-line BitTorrent client. > This tool has been deprecated, please see `transmission-remote`. -> More information: . +> More information: . - Download a specific torrent: @@ -10,28 +10,28 @@ - Download a torrent to a specific directory: -`transmission-cli --download-dir {{path/to/download_directory}} {{url|magnet|path/to/file}}` +`transmission-cli {{[-w|--download-dir]}} {{path/to/download_directory}} {{url|magnet|path/to/file}}` - Create a torrent file from a specific file or directory: `transmission-cli --new {{path/to/source_file_or_directory}}` -- Set the download speed limit to 50 KB/s: +- Specify the download speed limit (in KB/s): -`transmission-cli --downlimit {{50}} {{url|magnet|path/to/file}}` +`transmission-cli {{[-d|--downlimit]}} {{50}} {{url|magnet|path/to/file}}` -- Set the upload speed limit to 50 KB/s: +- Specify the upload speed limit (in KB/s): -`transmission-cli --uplimit {{50}} {{url|magnet|path/to/file}}` +`transmission-cli {{[-u|--uplimit]}} {{50}} {{url|magnet|path/to/file}}` - Use a specific port for connections: -`transmission-cli --port {{port_number}} {{url|magnet|path/to/file}}` +`transmission-cli {{[-p|--port]}} {{port_number}} {{url|magnet|path/to/file}}` - Force encryption for peer connections: -`transmission-cli --encryption-required {{url|magnet|path/to/file}}` +`transmission-cli {{[-er|--encryption-required]}} {{url|magnet|path/to/file}}` - Use a Bluetack-formatted peer blocklist: -`transmission-cli --blocklist {{blocklist_url|path/to/blocklist}} {{url|magnet|path/to/file}}` +`transmission-cli {{[-b|--blocklist]}} {{blocklist_url|path/to/blocklist}} {{url|magnet|path/to/file}}` diff --git a/pages/common/transmission-create.md b/pages/common/transmission-create.md index 5a71f7522fa301..7f2f2b2ba8b69e 100644 --- a/pages/common/transmission-create.md +++ b/pages/common/transmission-create.md @@ -1,24 +1,25 @@ # transmission-create -> A CLI utility to create BitTorrent .torrent files. -> More information: . +> Create BitTorrent `.torrent` files. +> See also: `transmission`. +> More information: . -- Create a torrent with 2048 KB as the piece size: +- Create a torrent with a specific piece size (in KB): -`transmission-create -o {{path/to/example.torrent}} --tracker {{tracker_announce_url}} --piecesize {{2048}} {{path/to/file_or_directory}}` +`transmission-create {{[-o|--outfile]}} {{path/to/example.torrent}} {{[-t|--tracker]}} {{tracker_announce_url}} {{[-s|--piecesize]}} {{2048}} {{path/to/file_or_directory}}` -- Create a private torrent with a 2048 KB piece size: +- Create a private torrent with a specific piece size (in KB): -`transmission-create -p -o {{path/to/example.torrent}} --tracker {{tracker_announce_url}} --piecesize {{2048}} {{path/to/file_or_directory}}` +`transmission-create {{[-p|--private]}} {{[-o|--outfile]}} {{path/to/example.torrent}} {{[-t|--tracker]}} {{tracker_announce_url}} {{[-s|--piecesize]}} {{2048}} {{path/to/file_or_directory}}` - Create a torrent with a comment: -`transmission-create -o {{path/to/example.torrent}} --tracker {{tracker_url1}} -c {{comment}} {{path/to/file_or_directory}}` +`transmission-create {{[-o|--outfile]}} {{path/to/example.torrent}} {{[-t|--tracker]}} {{tracker_url1}} {{[-c|--comment]}} {{comment}} {{path/to/file_or_directory}}` - Create a torrent with multiple trackers: -`transmission-create -o {{path/to/example.torrent}} --tracker {{tracker_url1}} --tracker {{tracker_url2}} {{path/to/file_or_directory}}` +`transmission-create {{[-o|--outfile]}} {{path/to/example.torrent}} {{[-t|--tracker]}} {{tracker_url1}} {{[-t|--tracker]}} {{tracker_url2}} {{path/to/file_or_directory}}` -- Show help page: +- Display help page: -`transmission-create --help` +`transmission-create {{[-h|--help]}}` diff --git a/pages/common/transmission-daemon.md b/pages/common/transmission-daemon.md new file mode 100644 index 00000000000000..1017912de238ed --- /dev/null +++ b/pages/common/transmission-daemon.md @@ -0,0 +1,21 @@ +# transmission-daemon + +> Daemon controlled with `transmission-remote` or its web interface. +> See also: `transmission`. +> More information: . + +- Start a headless `transmission` session: + +`transmission-daemon` + +- Start and watch a specific directory for new torrents: + +`transmission-daemon {{[-c|--watch-dir]}} {{path/to/directory}}` + +- Dump daemon settings in JSON format: + +`transmission-daemon {{[-d|--dump-settings]}} > {{path/to/file.json}}` + +- Start with specific settings for the web interface: + +`transmission-daemon {{[-t|--auth]}} {{[-u|--username]}} {{username}} {{[-v|--password]}} {{password}} {{[-p|--port]}} {{9091}} {{[-a|--allowed]}} {{127.0.0.1}}` diff --git a/pages/common/transmission-edit.md b/pages/common/transmission-edit.md new file mode 100644 index 00000000000000..2f0ca3a515bbc5 --- /dev/null +++ b/pages/common/transmission-edit.md @@ -0,0 +1,17 @@ +# transmission-edit + +> Modify announce URLs from torrent files. +> See also: `transmission`. +> More information: . + +- Add a URL to a torrent's announce list: + +`transmission-edit {{[-a|--add]}} {{http://example.com}} {{path/to/file.torrent}}` + +- Remove a URL from a torrent's announce list: + +`transmission-edit {{[-d|--delete]}} {{http://example.com}} {{path/to/file.torrent}}` + +- Update a tracker's passcode in a torrent file: + +`transmission-edit {{[-r|--replace]}} {{old-passcode}} {{new-passcode}} {{path/to/file.torrent}}` diff --git a/pages/common/transmission-remote.md b/pages/common/transmission-remote.md index 0d9639c22e4d57..d8823e34411678 100644 --- a/pages/common/transmission-remote.md +++ b/pages/common/transmission-remote.md @@ -1,32 +1,32 @@ # transmission-remote -> Remote control utility for transmission-daemon and transmission. -> More information: . +> Remote control utility for `transmission-daemon` and `transmission`. +> More information: . - Add a torrent file or magnet link to Transmission and download to a specified directory: -`transmission-remote {{hostname}} -a {{torrent|url}} -w {{path/to/download_directory}}` +`transmission-remote {{hostname}} {{[-a|--all]}} {{torrent|url}} {{[-w|--download-dir]}} /{{path/to/download_directory}}` - Change the default download directory: -`transmission-remote {{hostname}} -w {{path/to/download_directory}}` +`transmission-remote {{hostname}} {{[-w|--download-dir]}} /{{path/to/download_directory}}` - List all torrents: -`transmission-remote {{hostname}} --list` +`transmission-remote {{hostname}} {{[-l|--list]}}` - Start torrent 1 and 2, stop torrent 3: -`transmission-remote {{hostname}} -t "{{1,2}}" --start -t {{3}} --stop` +`transmission-remote {{hostname}} {{[-t|--torrent]}} "1,2" {{[-s|--start]}} {{[-t|--torrent]}} 3 {{[-S|--stop]}}` - Remove torrent 1 and 2, and also delete local data for torrent 2: -`transmission-remote {{hostname}} -t {{1}} --remove -t {{2}} --remove-and-delete` +`transmission-remote {{hostname}} {{[-t|--torrent]}} 1 {{[-r|--remove]}} {{[-t|--torrent]}} 2 {{[-rad|--remove-and-delete]}}` - Stop all torrents: -`transmission-remote {{hostname}} -t {{all}} --stop` +`transmission-remote {{hostname}} {{[-t|--torrent]}} {{all}} {{[-S|--stop]}}` - Move torrents 1-10 and 15-20 to a new directory (which will be created if it does not exist): -`transmission-remote {{hostname}} -t "{{1-10,15-20}}" --move {{path/to/new_directory}}` +`transmission-remote {{hostname}} {{[-t|--torrent]}} "1-10,15-20" --move /{{path/to/new_directory}}` diff --git a/pages/common/transmission-show.md b/pages/common/transmission-show.md new file mode 100644 index 00000000000000..eaebb274955437 --- /dev/null +++ b/pages/common/transmission-show.md @@ -0,0 +1,17 @@ +# transmission-show + +> Get information about a torrent file. +> See also: `transmission`. +> More information: . + +- Display metadata for a specific torrent: + +`transmission-show {{path/to/file.torrent}}` + +- Generate a magnet link for a specific torrent: + +`transmission-show {{[-m|--magnet]}} {{path/to/file.torrent}}` + +- Query a torrent's trackers and print the current number of peers: + +`transmission-show {{[-s|--scrape]}} {{path/to/file.torrent}}` diff --git a/pages/common/transmission.md b/pages/common/transmission.md new file mode 100644 index 00000000000000..51aa03e45967f1 --- /dev/null +++ b/pages/common/transmission.md @@ -0,0 +1,29 @@ +# transmission + +> A simple torrent client. +> Transmission isn't a command, but a set of commands. See the pages below. +> More information: . + +- View documentation for running Transmission's daemon: + +`tldr transmission-daemon` + +- View documentation for interacting with the daemon: + +`tldr transmission-remote` + +- View documentation for creating torrent files: + +`tldr transmission-create` + +- View documentation for modifying torrent files: + +`tldr transmission-edit` + +- View documentation for getting info about torrent files: + +`tldr transmission-show` + +- View documentation for the deprecated method for interacting with the daemon: + +`tldr transmission-cli` diff --git a/pages/common/trap.md b/pages/common/trap.md new file mode 100644 index 00000000000000..2453efcf797498 --- /dev/null +++ b/pages/common/trap.md @@ -0,0 +1,16 @@ +# trap + +> Execute a command upon an event. +> More information: . + +- List the commands and the names of the expected events: + +`trap` + +- Execute a command when a signal is received: + +`trap 'echo "Caught signal {{SIGHUP}}"' {{HUP}}` + +- Remove commands: + +`trap - {{HUP}} {{INT}}` diff --git a/pages/common/trash-cli.md b/pages/common/trash-cli.md index a767a76a6f43a6..f8f3e666d3eb8a 100644 --- a/pages/common/trash-cli.md +++ b/pages/common/trash-cli.md @@ -1,24 +1,7 @@ # trash-cli -> A command line interface to the trashcan APIs. -> More information: . +> This command is an alias of `trash`. -- Trash files and directories: +- View documentation for the original command: -`trash-put {{filename}}` - -- Empty the trashcan: - -`trash-empty` - -- List trashed files: - -`trash-list` - -- Restore a trashed file by choosing a number from the list that results from this command: - -`trash-restore` - -- Remove individual files from the trashcan: - -`trash-rm {{filename}}` +`tldr trash` diff --git a/pages/common/travis.md b/pages/common/travis.md index 4133919216419b..cd3f0840da275d 100644 --- a/pages/common/travis.md +++ b/pages/common/travis.md @@ -1,6 +1,6 @@ # travis -> Command line client to interface with Travis CI. +> Interface with Travis CI. > More information: . - Display the client version: diff --git a/pages/common/trawl.md b/pages/common/trawl.md index 62d35add9aff10..11c7bd603534da 100644 --- a/pages/common/trawl.md +++ b/pages/common/trawl.md @@ -1,17 +1,17 @@ # trawl -> Prints out network interface information to the console, much like ifconfig/ipconfig/ip/ifdata. +> Print out network interface information to the console, much like ifconfig/ipconfig/ip/ifdata. > More information: . - Show column names: `trawl -n` -- Filter interface names using a case insensitive regular expression: +- Filter interface names using a case-insensitive `regex`: `trawl -f wi` -- Get a list of available interfaces: +- List available interfaces: `trawl -i` diff --git a/pages/common/trdsql.md b/pages/common/trdsql.md new file mode 100644 index 00000000000000..5bcecb477a8244 --- /dev/null +++ b/pages/common/trdsql.md @@ -0,0 +1,32 @@ +# trdsql + +> Execute SQL on CSV, LTSV, JSON, YAML, and TBLN files. +> More information: . + +- Convert object data from multiple JSON files to a CSV file with header (`-oh`) and double quote: + +`trdsql -ocsv -oh "SELECT * FROM {{path/to/file/*.json}}" | sed 's/\([^,]*\)/"&"/g' > {{path/to/file.csv}}` + +- Interpret JSON list as a table and put objects inside as columns (path/to/file.json: `{"list":[{"age":"26","name":"Tanaka"}]}`): + +`trdsql "SELECT * FROM {{path/to/file.json}}::.list"` + +- Manipulate complex SQL query with data from multiple CSV files with first line is header (`-ih`): + +`trdsql -icsv -ih "SELECT {{column1,column2}} FROM {{path/to/file*.csv}} WHERE column2 != '' ORDER BY column1 GROUP BY column1"` + +- Merge content of 2 CSV files to one CSV file: + +`trdsql "SELECT {{column1,colum2}} FROM {{path/to/file1.csv}} UNION SELECT {{column1,column2}} FROM {{path/to/file2.csv}}"` + +- Connect to PostgreSQL database: + +`trdsql -driver postgres -dsn "host={{hostname}} port={{5433}} dbname={{database_name}}" "SELECT 1"` + +- Create table data to MySQL database from CSV file: + +`trdsql -driver mysql -dsn "{{username}}:{{password}}@{{hostname}}/{{database}}" -ih "CREATE TABLE {{table}} ({{column1}} int, {{colum2}} varchar(20)) AS SELECT {{column3}} AS {{column1}},{{column2}} FROM {{path/to/header_file.csv}}"` + +- Show data from compress log files: + +`trdsql -iltsv "SELECT * FROM {{path/to/access.log.gz}}"` diff --git a/pages/common/tre.md b/pages/common/tre.md new file mode 100644 index 00000000000000..952c3d95dc41c0 --- /dev/null +++ b/pages/common/tre.md @@ -0,0 +1,37 @@ +# tre + +> Show the contents of the current directory as a tree. +> Respects the `.gitignore` settings by default. +> More information: . + +- Print directories only: + +`tre --directories` + +- Print JSON containing files in the tree hierarchy instead of the normal tree diagram: + +`tre --json` + +- Print files and directories up to the specified depth limit (where 1 means the current directory): + +`tre --limit {{depth}}` + +- Print all hidden files and directories using the specified colorization mode: + +`tre --all --color {{automatic|always|never}}` + +- Print files within the tree hierarchy, assigning a shell alias to each file that, when called, will open the associated file using the provided `command` (or in `$EDITOR` by default): + +`tre --editor {{command}}` + +- Print files within the tree hierarchy, excluding all paths that match the provided `regex`: + +`tre --exclude {{regex}}` + +- Display version: + +`tre --version` + +- Display help: + +`tre --help` diff --git a/pages/common/tred.md b/pages/common/tred.md new file mode 100644 index 00000000000000..401c6ea9a6dcfc --- /dev/null +++ b/pages/common/tred.md @@ -0,0 +1,13 @@ +# tred + +> Compute the transitive reduction of directed graphs. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Construct the transitive reduction graph of one or more directed graphs: + +`tred {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}` + +- Display help: + +`tred -?` diff --git a/pages/common/tree.md b/pages/common/tree.md new file mode 100644 index 00000000000000..a089e2c0abc5ae --- /dev/null +++ b/pages/common/tree.md @@ -0,0 +1,36 @@ +# tree + +> Show the contents of the current directory as a tree. +> More information: . + +- Print files and directories up to 'num' levels of depth (where 1 means the current directory): + +`tree -L {{num}}` + +- Print directories only: + +`tree -d` + +- Print hidden files too with colorization on: + +`tree -a -C` + +- Print the tree without indentation lines, showing the full path instead (use `-N` to not escape non-printable characters): + +`tree -i -f` + +- Print the size of each file and the cumulative size of each directory, in human-readable format: + +`tree -s -h --du` + +- Print files within the tree hierarchy, using a wildcard (glob) pattern, and pruning out directories that don't contain matching files: + +`tree -P '{{*.txt}}' --prune` + +- Print directories within the tree hierarchy, using the wildcard (glob) pattern, and pruning out directories that aren't ancestors of the wanted one: + +`tree -P {{directory_name}} --matchdirs --prune` + +- Print the tree ignoring the given directories: + +`tree -I '{{directory_name1|directory_name2}}'` diff --git a/pages/common/trip.md b/pages/common/trip.md new file mode 100644 index 00000000000000..1bac523c656156 --- /dev/null +++ b/pages/common/trip.md @@ -0,0 +1,30 @@ +# trip + +> A network diagnostic tool. +> Combines the functionality of `traceroute` and `ping`. +> Designed to assist with the analysis of networking issues. +> More information: . + +- Basic usage with default parameters: + +`sudo trip {{example.com}}` + +- Trace without requiring elevated privileges (supported platforms only): + +`trip {{example.com}} --unprivileged` + +- Trace using `IPv6` only: + +`sudo trip {{example.com}} --ipv6` + +- Trace using the `udp` protocol: + +`sudo trip {{example.com}} --protocol {{udp}}` + +- Use custom destination port `443` for `tcp` tracing: + +`sudo trip {{example.com}} --protocol {{tcp}} --target-port {{443}}` + +- Use custom source port `5000` for `udp` tracing: + +`sudo trip {{example.com}} --protocol {{udp}} --source-port {{5000}}` diff --git a/pages/common/trivy.md b/pages/common/trivy.md new file mode 100644 index 00000000000000..887444a9bf042f --- /dev/null +++ b/pages/common/trivy.md @@ -0,0 +1,36 @@ +# trivy + +> Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues. +> More information: . + +- Scan a Docker image for vulnerabilities and exposed secrets: + +`trivy image {{image:tag}}` + +- Scan a Docker image filtering the output by severity: + +`trivy image {{[-s|--severity]}} {{HIGH,CRITICAL}} {{alpine:3.15}}` + +- Scan a Docker image ignoring any unfixed/unpatched vulnerabilities: + +`trivy image --ignore-unfixed {{alpine:3.15}}` + +- Scan the filesystem for vulnerabilities and misconfigurations: + +`trivy fs --security-checks {{vuln,config}} {{path/to/project_directory}}` + +- Scan a IaC (Terraform, CloudFormation, ARM, Helm and Dockerfile) directory for misconfigurations: + +`trivy config {{path/to/iac_directory}}` + +- Scan a local or remote Git repository for vulnerabilities: + +`trivy repo {{path/to/local_repository_directory|remote_repository_URL}}` + +- Scan a Git repository up to a specific commit hash: + +`trivy repo --commit {{commit_hash}} {{repository}}` + +- Generate output with a SARIF template: + +`trivy image {{[-f|--format]}} {{template}} {{[-t|--template]}} "{{@sarif.tpl}}" {{[-o|--output]}} {{path/to/report.sarif}} {{image:tag}}` diff --git a/pages/common/troff.md b/pages/common/troff.md new file mode 100644 index 00000000000000..dad68a4b3037c6 --- /dev/null +++ b/pages/common/troff.md @@ -0,0 +1,21 @@ +# troff + +> Typesetting processor for the groff (GNU Troff) document formatting system. +> See also: `groff`. +> More information: . + +- Format output for a PostScript printer, saving the output to a file: + +`troff {{path/to/input.roff}} | grops > {{path/to/output.ps}}` + +- Format output for a PostScript printer using the me macro package, saving the output to a file: + +`troff -{{me}} {{path/to/input.roff}} | grops > {{path/to/output.ps}}` + +- Format output as ASCII text using the man macro package: + +`troff -T {{ascii}} -{{man}} {{path/to/input.roff}} | grotty` + +- Format output as a pdf file, saving the output to a file: + +`troff -T {{pdf}} {{path/to/input.roff}} | gropdf > {{path/to/output.pdf}}` diff --git a/pages/common/true.md b/pages/common/true.md index cb25e15fcc1624..ad60383248c2f9 100644 --- a/pages/common/true.md +++ b/pages/common/true.md @@ -2,6 +2,7 @@ > Returns a successful exit status code of 0. > Use this with the || operator to make a command always exit with 0. +> More information: . - Return a successful exit code: diff --git a/pages/common/truffle.md b/pages/common/truffle.md new file mode 100644 index 00000000000000..328dc896504c0e --- /dev/null +++ b/pages/common/truffle.md @@ -0,0 +1,24 @@ +# truffle + +> Develop smart contracts for running services on the Ethereum blockchain. +> More information: . + +- Download a pre-built Truffle project (Truffle Box): + +`truffle unbox {{box_name}}` + +- Compile contract source files in the current directory: + +`truffle compile` + +- Run JavaScript and Solidity tests: + +`truffle test` + +- Run migrations to deploy contracts: + +`truffle migrate` + +- Display help for a subcommand: + +`truffle help {{subcommand}}` diff --git a/pages/common/trufflehog.md b/pages/common/trufflehog.md new file mode 100644 index 00000000000000..8e0de40f1507d0 --- /dev/null +++ b/pages/common/trufflehog.md @@ -0,0 +1,36 @@ +# trufflehog + +> Find and verify credentials in files, Git repositories, S3 buckets, and Docker images. +> More information: . + +- Scan a Git repository for verified secrets: + +`trufflehog git {{https://github.com/trufflesecurity/test_keys}} --only-verified` + +- Scan a GitHub organization for verified secrets: + +`trufflehog github --org {{trufflesecurity}} --only-verified` + +- Scan a GitHub repository for verified keys and get JSON output: + +`trufflehog git {{https://github.com/trufflesecurity/test_keys}} --only-verified --json` + +- Scan a GitHub repository along with its Issues and Pull Requests: + +`trufflehog github --repo {{https://github.com/trufflesecurity/test_keys}} --issue-comments --pr-comments` + +- Scan an S3 bucket for verified keys: + +`trufflehog s3 --bucket {{bucket name}} --only-verified` + +- Scan S3 buckets using IAM Roles: + +`trufflehog s3 --role-arn {{iam-role-arn}}` + +- Scan individual files or directories: + +`trufflehog filesystem {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Scan a Docker image for verified secrets: + +`trufflehog docker --image {{trufflesecurity/secrets}} --only-verified` diff --git a/pages/common/truncate.md b/pages/common/truncate.md index 199247dec212f1..b5c7c1b114d601 100644 --- a/pages/common/truncate.md +++ b/pages/common/truncate.md @@ -1,19 +1,24 @@ # truncate > Shrink or extend the size of a file to the specified size. +> More information: . -- Set a size of 10 GB to an exsting file, or create a new file with the specified size: +- Set a size of 10 GB to an existing file, or create a new file with the specified size: -`truncate -s {{10G}} {{filename}}` +`truncate {{[-s|--size]}} 10G {{path/to/file}}` -- Extend the file size by 50M, fill with holes (which reads as zero bytes): +- Extend the file size by 50 MiB, fill with holes (which reads as zero bytes): -`truncate -s +{{50M}} {{filename}}` +`truncate {{[-s|--size]}} +50M {{path/to/file}}` -- Shrink the file by 2GiB, by removing data from the end of file: +- Shrink the file by 2 GiB, by removing data from the end of file: -`truncate -s -{{2G}} {{filename}}` +`truncate {{[-s|--size]}} -2G {{path/to/file}}` - Empty the file's content: -`truncate -s 0 {{filename}}` +`truncate {{[-s|--size]}} 0 {{path/to/file}}` + +- Empty the file's content, but do not create the file if it does not exist: + +`truncate {{[-cs|--no-create --size]}} 0 {{path/to/file}}` diff --git a/pages/common/trunk.md b/pages/common/trunk.md new file mode 100644 index 00000000000000..535f91bc228f04 --- /dev/null +++ b/pages/common/trunk.md @@ -0,0 +1,24 @@ +# trunk + +> Bundle and serve Rust web apps with CI/CD pipelines. +> More information: . + +- Start local/production server with hot reloading: + +`trunk serve --port {{port}} --release --proxy-backend {{URL}}` + +- Build for production at root or subdirectory: + +`trunk build --release --dist {{path/to/distribution}} --public-url /{{path/to/app/subdirectory}}` + +- List all available tools in the repo and if they are enabled: + +`trunk tools list` + +- Enable/disable a tool at a specific version: + +`trunk tools {{enable|disable}} {{tool}}@{{version}}` + +- Print an action's execution history: + +`trunk actions history {{action}}` diff --git a/pages/common/ts-node.md b/pages/common/ts-node.md new file mode 100644 index 00000000000000..44fa29a56eb082 --- /dev/null +++ b/pages/common/ts-node.md @@ -0,0 +1,28 @@ +# ts-node + +> Run TypeScript code directly, without any compiling. +> More information: . + +- Execute a TypeScript file without compiling (`node` + `tsc`): + +`ts-node {{path/to/file.ts}}` + +- Execute a TypeScript file without loading `tsconfig.json`: + +`ts-node --skipProject {{path/to/file.ts}}` + +- Evaluate TypeScript code passed as a literal: + +`ts-node {{[-e|--eval]}} '{{console.log("Hello World")}}'` + +- Execute a TypeScript file in script mode: + +`ts-node --script-mode {{path/to/file.ts}}` + +- Transpile a TypeScript file to JavaScript without executing it: + +`ts-node {{[-T|--transpileOnly]}} {{path/to/file.ts}}` + +- Display help: + +`ts-node {{[-h|--help]}}` diff --git a/pages/common/ts.md b/pages/common/ts.md new file mode 100644 index 00000000000000..773aaebd84c66d --- /dev/null +++ b/pages/common/ts.md @@ -0,0 +1,20 @@ +# ts + +> Add timestamps to every line from `stdin`. +> More information: . + +- Add a timestamp to the beginning of each line: + +`{{command}} | ts` + +- Add timestamps with microsecond precision: + +`{{command}} | ts "{{%b %d %H:%M:%.S}}"` + +- Add [i]ncremental timestamps with microsecond precision, starting from zero: + +`{{command}} | ts -i "{{%H:%M:%.S}}"` + +- Convert existing timestamps in a text file (eg. a log file) into [r]elative format: + +`cat {{path/to/file}} | ts -r` diff --git a/pages/common/tsc.md b/pages/common/tsc.md index b8a855f11665a8..c0c3e588477495 100644 --- a/pages/common/tsc.md +++ b/pages/common/tsc.md @@ -3,26 +3,34 @@ > TypeScript compiler. > More information: . -- Compile a TypeScript file `foobar.ts` into a JavaScript file `foobar.js`: +- Initialize a TypeScript project: -`tsc {{foobar.ts}}` +`tsc --init` + +- Compile a TypeScript file into a JavaScript file with the same name: + +`tsc {{path/to/file.ts}}` - Compile a TypeScript file into JavaScript using a specific target syntax (default is `ES3`): -`tsc --target {{ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT}} {{foobar.ts}}` +`tsc {{[-t|--target]}} {{ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT|...}} {{path/to/file.ts}}` - Compile a TypeScript file into a JavaScript file with a custom name: -`tsc --outFile {{output.js}} {{input.ts}}` +`tsc --outFile {{path/to/output_file.js}} {{path/to/input_file.ts}}` -- Compile all `.ts` files of a TypeScript project defined in a `tsconfig.json` file: +- Compile all `.ts` files of a TypeScript project defined in a `tsconfig.json` file (`--build` can be omitted to build the project in the current working directory): -`tsc --build {{tsconfig.json}}` +`tsc {{[-b|--build]}} {{path/to/tsconfig.json}}` -- Run the compiler using command line options and arguments fetched from a text file: +- Run the compiler using command-line options and arguments fetched from a text file: `tsc @{{args.txt}}` - Type-check multiple JavaScript files, and output only the errors: `tsc --allowJs --checkJs --noEmit {{src/**/*.js}}` + +- Run the compiler in watch mode, which automatically recompiles code when it changes: + +`tsc {{[-w|--watch]}}` diff --git a/pages/common/tslint.md b/pages/common/tslint.md index 8eb8cec8723125..3652f38b55e3f2 100644 --- a/pages/common/tslint.md +++ b/pages/common/tslint.md @@ -3,18 +3,18 @@ > A pluggable linting utility for TypeScript. > More information: . -- Create tslint config: +- Create TSLint config: `tslint --init` - Lint on a given set of files: -`tslint {{filename}}.js {{filename1}}.js` +`tslint {{path/to/file1.js path/to/file2.js ...}}` - Fix lint issues: `tslint --fix` -- Lint with the config file in the project root: +- Lint with the configuration file in the project root: `tslint --project {{path/to/project_root}}` diff --git a/pages/common/tsort.md b/pages/common/tsort.md index a8fafc6edabfb8..7e5e2b76607419 100644 --- a/pages/common/tsort.md +++ b/pages/common/tsort.md @@ -2,7 +2,12 @@ > Perform a topological sort. > A common use is to show the dependency order of nodes in a directed acyclic graph. +> More information: . - Perform a topological sort consistent with a partial sort per line of input separated by blanks: -`tsort {{file}}` +`tsort {{path/to/file}}` + +- Perform a topological sort consistent on strings: + +`echo -e "{{UI Backend\nBackend Database\nDocs UI}}" | tsort` diff --git a/pages/common/tspin.md b/pages/common/tspin.md new file mode 100644 index 00000000000000..8a45ca235debd8 --- /dev/null +++ b/pages/common/tspin.md @@ -0,0 +1,20 @@ +# tspin + +> A log file highlighter based on the `less` pager and basically behaves like any pager. +> More information: . + +- Read from file and view in `less`: + +`tspin {{path/to/application.log}}` + +- Read from another command and print to stdout: + +`journalctl {{[-b|--boot]}} {{[-f|--follow]}} | tspin` + +- Read from file and print to `stdout`: + +`tspin {{path/to/application.log}} {{[-p|--print]}}` + +- Read from `stdin` and print to `stdout`: + +`echo "2021-01-01 12:00:00 [INFO] This is a log message" | tspin` diff --git a/pages/common/tsv-filter.md b/pages/common/tsv-filter.md new file mode 100644 index 00000000000000..d4f2020e5b0a5f --- /dev/null +++ b/pages/common/tsv-filter.md @@ -0,0 +1,36 @@ +# tsv-filter + +> Filter lines of a TSV file by running tests against individual fields. +> More information: . + +- Print the lines where a specific column is numerically equal to a given number: + +`tsv-filter -H --eq {{field_name}}:{{number}} {{path/to/tsv_file}}` + +- Print the lines where a specific column is [eq]ual/[n]on [e]qual/[l]ess [t]han/[l]ess than or [e]qual/[g]reater [t]han/[g]reater than or [e]qual to a given number: + +`tsv-filter --{{eq|ne|lt|le|gt|ge}} {{column_number}}:{{number}} {{path/to/tsv_file}}` + +- Print the lines where a specific column is [eq]ual/[n]ot [e]qual/part of/not part of a given string: + +`tsv-filter --str-{{eq|ne|in-fld|not-in-fld}} {{column_number}}:{{string}} {{path/to/tsv_file}}` + +- Filter for non-empty fields: + +`tsv-filter --not-empty {{column_number}} {{path/to/tsv_file}}` + +- Print the lines where a specific column is empty: + +`tsv-filter --invert --not-empty {{column_number}} {{path/to/tsv_file}}` + +- Print the lines that satisfy two conditions: + +`tsv-filter --eq {{column_number1}}:{{number}} --str-eq {{column_number2}}:{{string}} {{path/to/tsv_file}}` + +- Print the lines that match at least one condition: + +`tsv-filter --or --eq {{column_number1}}:{{number}} --str-eq {{column_number2}}:{{string}} {{path/to/tsv_file}}` + +- Count matching lines, interpreting first line as a [H]eader: + +`tsv-filter --count -H --eq {{field_name}}:{{number}} {{path/to/tsv_file}}` diff --git a/pages/common/tt.md b/pages/common/tt.md new file mode 100644 index 00000000000000..0509ae0ad8ed57 --- /dev/null +++ b/pages/common/tt.md @@ -0,0 +1,20 @@ +# tt + +> A terminal based typing test. +> More information: . + +- Start quote mode with the builtin quote list in English: + +`tt -quotes {{en}}` + +- Produce a test consisting of 50 randomly drawn words in 5 groups of 10 words each: + +`tt -n {{10}} -g {{5}}` + +- Start a timed test lasting 10 seconds: + +`tt -t {{10}}` + +- Start `tt` with no theming and showing your WPM as you type: + +`tt -showwpm -notheme` diff --git a/pages/common/tts.md b/pages/common/tts.md new file mode 100644 index 00000000000000..36054a56608129 --- /dev/null +++ b/pages/common/tts.md @@ -0,0 +1,28 @@ +# tts + +> Synthesize speech. +> More information: . + +- Run text-to-speech with the default models, writing the output to "tts_output.wav": + +`tts --text "{{text}}"` + +- List provided models: + +`tts --list_models` + +- Query info for a model by idx: + +`tts --model_info_by_idx {{model_type/model_query_idx}}` + +- Query info for a model by name: + +`tts --model_info_by_name {{model_type/language/dataset/model_name}}` + +- Run a text-to-speech model with its default vocoder model: + +`tts --text "{{text}}" --model_name {{model_type/language/dataset/model_name}}` + +- Run your own text-to-speech model (using the Griffin-Lim vocoder): + +`tts --text "{{text}}" --model_path {{path/to/model.pth}} --config_path {{path/to/config.json}} --out_path {{path/to/file.wav}}` diff --git a/pages/common/tty.md b/pages/common/tty.md index 7ec909dbc8cc4a..390a7b99eee335 100644 --- a/pages/common/tty.md +++ b/pages/common/tty.md @@ -1,6 +1,7 @@ # tty > Returns terminal name. +> More information: . - Print the file name of this terminal: diff --git a/pages/common/tuc.md b/pages/common/tuc.md new file mode 100644 index 00000000000000..6ea91fb46f0837 --- /dev/null +++ b/pages/common/tuc.md @@ -0,0 +1,25 @@ +# tuc + +> Cut text (or bytes) where a delimiter matches, then keep the desired parts. +> A more user-friendly and powerful version of `cut` with sensible defaults. +> More information: . + +- Cut and rearrange fields: + +`echo "foo bar baz" | tuc {{[-d|--delimiter]}} '{{ }}' {{[-f|--fields]}} {{3,2,1}}` + +- Replace the delimiter `space` with an arrow: + +`echo "foo bar baz" | tuc {{[-d|--delimiter]}} ' ' {{[-r|--replace-delimiter]}} ' ➡ '` + +- Keep a range of fields: + +`echo "foo bar baz" | tuc {{[-d|--delimiter]}} ' ' {{[-f|--fields]}} {{2:}}` + +- Cut using `regex`: + +`echo "a,b, c" | tuc {{[-e|--regex]}} '{{[, ]+}}' {{[-f|--fields]}} {{1,3}}` + +- Emit JSON output: + +`echo "foo bar baz" | tuc {{[-d|--delimiter]}} '{{ }}' --json` diff --git a/pages/common/tuckr.md b/pages/common/tuckr.md new file mode 100644 index 00000000000000..1d70e00b69cce3 --- /dev/null +++ b/pages/common/tuckr.md @@ -0,0 +1,25 @@ +# tuckr + +> Dotfile manager written in Rust. +> See also: `chezmoi`, `vcsh`, `homeshick`, `stow`. +> More information: . + +- Check dotfile status: + +`tuckr status` + +- Add all dotfiles to system: + +`tuckr add \*` + +- Add all dotfiles except specified programs: + +`tuckr add \* -e {{program1}},{{program2}}` + +- Remove all dotfiles from the system: + +`tuckr rm \*` + +- Add a program dotfile and run its setup script: + +`tuckr set {{program}}` diff --git a/pages/common/tuir.md b/pages/common/tuir.md index d2d1b4a54c173a..c8f9ffe0719e39 100644 --- a/pages/common/tuir.md +++ b/pages/common/tuir.md @@ -10,11 +10,11 @@ - Open a subreddit: -`/{{subreddit_name}}` +`{{subreddit_name}}` - Open a link: -`o` +`` - Open a specific subreddit on launch: diff --git a/pages/common/turbo.md b/pages/common/turbo.md new file mode 100644 index 00000000000000..8f9224393706a9 --- /dev/null +++ b/pages/common/turbo.md @@ -0,0 +1,37 @@ +# turbo + +> High-performance build system for JavaScript and TypeScript codebases. +> See also: `nx`. +> More information: . + +- Log in using the default web browser with a Vercel account: + +`turbo login` + +- Link the current directory to a Vercel organization and enable remote caching: + +`turbo link` + +- Build the current project: + +`turbo run build` + +- Run a task without concurrency: + +`turbo run {{task_name}} --concurrency={{1}}` + +- Run a task ignoring cached artifacts and forcibly re-execute all tasks: + +`turbo run {{task_name}} --force` + +- Run a task in parallel across packages: + +`turbo run {{task_name}} --parallel --no-cache` + +- Unlink the current directory from your Vercel organization and disable Remote Caching: + +`turbo unlink` + +- Generate a Dot graph of a specific task execution (the output file format can be controlled with the filename): + +`turbo run {{task_name}} --graph={{path/to/file.html|jpg|json|pdf|png|svg}}` diff --git a/pages/common/twine.md b/pages/common/twine.md new file mode 100644 index 00000000000000..df6ee9d939da63 --- /dev/null +++ b/pages/common/twine.md @@ -0,0 +1,36 @@ +# twine + +> Utility for publishing Python packages on PyPI. +> More information: . + +- Upload to PyPI: + +`twine upload dist/*` + +- Upload to the Test PyPI repository to verify things look right: + +`twine upload {{[-r|--repository]}} testpypi dist/*` + +- Upload to PyPI with a specified username and password: + +`twine upload {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} dist/*` + +- Upload to an alternative repository URL: + +`twine upload --repository-url {{repository_url}} dist/*` + +- Check that your distribution's long description should render correctly on PyPI: + +`twine check dist/*` + +- Upload using a specific pypirc configuration file: + +`twine upload --config-file {{configuration_file}} dist/*` + +- Continue uploading files if one already exists (only valid when uploading to PyPI): + +`twine upload --skip-existing dist/*` + +- Upload to PyPI showing detailed information: + +`twine upload --verbose dist/*` diff --git a/pages/common/twm.md b/pages/common/twm.md index d1fbdfd60eb8a7..4ce43e068c31c6 100644 --- a/pages/common/twm.md +++ b/pages/common/twm.md @@ -1,7 +1,7 @@ # twm > A window manager for the X Window system. -> More information: . +> More information: . - Connect to the default X server: @@ -9,16 +9,16 @@ - Connect to a specific X server: -`twm -display {{display}}` +`twm {{[-d|-display]}} {{display}}` - Only manage the default screen: -`twm -s` +`twm {{[-s|-single]}}` - Use a specific startup file: -`twm -f {{path/to/file}}` +`twm {{[-f|-file]}} {{path/to/file}}` - Enable verbose mode and print unexpected errors in X: -`twm -v` +`twm {{[-v|-verbose]}}` diff --git a/pages/common/twopi.md b/pages/common/twopi.md new file mode 100644 index 00000000000000..1b7a4184eabe58 --- /dev/null +++ b/pages/common/twopi.md @@ -0,0 +1,25 @@ +# twopi + +> Render an image of a `radial` network graph from a `graphviz` file. +> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`. +> More information: . + +- Render a PNG image with a filename based on the input filename and output format (uppercase -O): + +`twopi -T {{png}} -O {{path/to/input.gv}}` + +- Render a SVG image with the specified output filename (lowercase -o): + +`twopi -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}` + +- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format: + +`twopi -T {{format}} -O {{path/to/input.gv}}` + +- Render a GIF image using `stdin` and `stdout`: + +`echo "{{digraph {this -> that} }}" | twopi -T {{gif}} > {{path/to/image.gif}}` + +- Display help: + +`twopi -?` diff --git a/pages/common/twurl.md b/pages/common/twurl.md new file mode 100644 index 00000000000000..33161667451e34 --- /dev/null +++ b/pages/common/twurl.md @@ -0,0 +1,28 @@ +# twurl + +> Curl-like command but tailored specifically for the Twitter API. +> More information: . + +- Authorize `twurl` to access a Twitter account: + +`twurl authorize {{[-c|--consumer-key]}} {{twitter_api_key}} {{[-s|--consumer-secret]}} {{twitter_api_secret}}` + +- Make a GET request to an API endpoint: + +`twurl {{[-X|--request-method]}} GET {{twitter_api_endpoint}}` + +- Make a POST request to an API endpoint: + +`twurl {{[-X|--request-method]}} POST {{[-d|--data]}} '{{endpoint_params}}' {{twitter_api_endpoint}}` + +- Upload media to Twitter: + +`twurl {{[-H|--host]}} "{{twitter_upload_url}}" {{[-X|--request-method]}} POST "{{twitter_upload_endpoint}}" {{[-f|--file]}} "{{path/to/media.jpg}}" {{[-F|--file-field]}} "media"` + +- Access a different Twitter API host: + +`twurl {{[-H|--host]}} {{twitter_api_url}} {{[-X|--request-method]}} GET {{twitter_api_endpoint}}` + +- Create an alias for a requested resource: + +`twurl alias {{alias_name}} {{resource}}` diff --git a/pages/common/tye.md b/pages/common/tye.md new file mode 100644 index 00000000000000..3b3957171b5f5a --- /dev/null +++ b/pages/common/tye.md @@ -0,0 +1,28 @@ +# tye + +> Develop, test, and deploy microservices and distributed applications easily. +> More information: . + +- Scaffold a `tye.yaml` file representing the application: + +`tye init` + +- Run an application locally: + +`tye run` + +- Build an application's containers: + +`tye build` + +- Push an application's containers: + +`tye push` + +- Deploy an application to Kubernetes: + +`tye deploy` + +- Remove a deployed application from Kubernetes: + +`tye undeploy` diff --git a/pages/common/type.md b/pages/common/type.md index abefe1d3b7d2e5..99fc30f6e5cd99 100644 --- a/pages/common/type.md +++ b/pages/common/type.md @@ -1,15 +1,22 @@ # type -> Display the kind of command the shell will execute. +> Display the type of command the shell will execute. +> Note: All examples are not POSIX compliant. +> See also: `whereis`, `which`, `whatis`. +> More information: . -- Display the kind of a command: +- Display the type of a command: `type {{command}}` -- Display all locations containing the specified executable: +- Display all locations containing the specified executable (works only in Bash/fish/Zsh shells): `type -a {{command}}` -- Display the name of the disk file that would be executed: +- Display the name of the disk file that would be executed (works only in Bash/fish/Zsh shells): `type -p {{command}}` + +- Display the type of a specific command, alias/keyword/function/builtin/file (works only in Bash/fish shells): + +`type -t {{command}}` diff --git a/pages/common/typeinc.md b/pages/common/typeinc.md new file mode 100644 index 00000000000000..a99a09f296368f --- /dev/null +++ b/pages/common/typeinc.md @@ -0,0 +1,21 @@ +# typeinc + +> An `ncurses` based terminal typing speed test program, written in Python. +> Try out different difficulty levels and improve your typing speed. +> More information: . + +- Enter the typing test: + +`typeinc` + +- Display the top 10 rank list for input difficulty level: + +`typeinc {{[-r|--ranklist]}} {{difficulty_level}}` + +- Get random English words present in our wordlist: + +`typeinc {{[-w|--words]}} {{word_count}}` + +- Calculate hypothetical Typeinc score: + +`typeinc {{[-s|--score]}}` diff --git a/pages/common/typeorm.md b/pages/common/typeorm.md new file mode 100644 index 00000000000000..644596ee57159f --- /dev/null +++ b/pages/common/typeorm.md @@ -0,0 +1,36 @@ +# typeorm + +> A JavaScript ORM that can run on Node.js, browser, Cordova, Ionic, React Native, NativeScript, and Electron platforms. +> More information: . + +- Generate a new initial TypeORM project structure: + +`typeorm init` + +- Create an empty migration file: + +`typeorm migration:create --name {{migration_name}}` + +- Create a migration file with the SQL statements to update the schema: + +`typeorm migration:generate --name {{migration_name}}` + +- Run all pending migrations: + +`typeorm migration:run` + +- Create a new entity file in a specific directory: + +`typeorm entity:create --name {{entity}} --dir {{path/to/directory}}` + +- Display the SQL statements to be executed by `typeorm schema:sync` on the default connection: + +`typeorm schema:log` + +- Execute a specific SQL statement on the default connection: + +`typeorm query {{sql_sentence}}` + +- Display help for a subcommand: + +`typeorm {{subcommand}} --help` diff --git a/pages/common/typeset.md b/pages/common/typeset.md new file mode 100644 index 00000000000000..a672dc848bd249 --- /dev/null +++ b/pages/common/typeset.md @@ -0,0 +1,7 @@ +# typeset + +> This command is an alias of `declare`. + +- View documentation for the original command: + +`tldr declare` diff --git a/pages/common/typst.md b/pages/common/typst.md new file mode 100644 index 00000000000000..73395ebd06916d --- /dev/null +++ b/pages/common/typst.md @@ -0,0 +1,21 @@ +# typst + +> Compile a Typst file to PDF. +> Note: Specifying the output location is optional. +> More information: . + +- Initialize a new Typst project in a given directory using a template (e.g., `@preview/charged-ieee`): + +`typst init "{{template}}" {{path/to/directory}}` + +- Compile a Typst file: + +`typst compile {{path/to/source.typ}} {{path/to/output.pdf}}` + +- Watch a Typst file and recompile on changes: + +`typst watch {{path/to/source.typ}} {{path/to/output.pdf}}` + +- List all discoverable fonts in the system and the given directory: + +`typst --font-path {{path/to/fonts_directory}} fonts` diff --git a/pages/common/tzconfig.md b/pages/common/tzconfig.md new file mode 100644 index 00000000000000..adfc9050f07360 --- /dev/null +++ b/pages/common/tzconfig.md @@ -0,0 +1,9 @@ +# tzconfig + +> Manage and set your local timezone. +> It accepts no parameters. +> More information: . + +- Launch timezone configuration utility: + +`tzconfig` diff --git a/pages/common/u3d.md b/pages/common/u3d.md new file mode 100644 index 00000000000000..9063dec10f9ee1 --- /dev/null +++ b/pages/common/u3d.md @@ -0,0 +1,24 @@ +# u3d + +> A set of tools to interact with Unity. +> More information: . + +- Open the project in the current directory using the correct Unity version: + +`u3d` + +- List installed versions of Unity: + +`u3d list` + +- List available versions of Unity that can be downloaded: + +`u3d available` + +- Download and install latest stable Unity version: + +`u3d install latest_stable` + +- Download and install Unity version and editor [p]ackages: + +`u3d install {{2021.2.0f1}} -p {{Unity,iOS,Android}}` diff --git a/pages/common/ufraw-batch.md b/pages/common/ufraw-batch.md index cfa20658a99444..fad2207aef34cb 100644 --- a/pages/common/ufraw-batch.md +++ b/pages/common/ufraw-batch.md @@ -1,12 +1,13 @@ # ufraw-batch > Convert RAW files from cameras into standard image files. +> More information: . -- Simply convert RAW files to jpg: +- Simply convert RAW files to JPEG: `ufraw-batch --out-type=jpg {{input_file(s)}}` -- Simply convert RAW files to png: +- Simply convert RAW files to PNG: `ufraw-batch --out-type=png {{input_file(s)}}` diff --git a/pages/common/ugrep.md b/pages/common/ugrep.md new file mode 100644 index 00000000000000..448a3f1d5c5945 --- /dev/null +++ b/pages/common/ugrep.md @@ -0,0 +1,36 @@ +# ugrep + +> Ultra fast search tool with query TUI. +> More information: . + +- Start a query TUI to search files in the current directory recursively (`` for help): + +`ugrep {{[-Q|--query]}}` + +- Search the current directory recursively for files containing a `regex` search pattern: + +`ugrep "{{search_pattern}}"` + +- Search in a specific file or in all files in a specific directory, showing line numbers of matches: + +`ugrep {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file_or_directory}}` + +- Search in all files in the current directory recursively and print the name of each matching file: + +`ugrep {{[-l|--files-with-matches]}} "{{search_pattern}}"` + +- Fuzzy search files with up to 3 extra, missing or mismatching characters in the pattern: + +`ugrep {{[-Z|--fuzzy=]}}{{3}} "{{search_pattern}}"` + +- Also search compressed files, Zip and tar archives recursively: + +`ugrep {{[-z|--decompress]}} "{{search_pattern}}"` + +- Search only files whose filenames match a specific glob pattern: + +`ugrep {{[-g |--glob=]}}"{{glob_pattern}}" "{{search_pattern}}"` + +- Search only C++ source files (use `--file-type=list` to list all file types): + +`ugrep {{[-t |--file-type=]}}cpp "{{search_pattern}}"` diff --git a/pages/common/ulimit.md b/pages/common/ulimit.md index 30e0e89f1f0cb5..bc72abf502cbf4 100644 --- a/pages/common/ulimit.md +++ b/pages/common/ulimit.md @@ -1,6 +1,8 @@ # ulimit -> Get and set user limits. +> Get and set resource limits for user processes. +> It is a shell builtin hence not shell-agnostic. +> More information: . - Get the properties of all the user limits: @@ -16,4 +18,8 @@ - Set max per-user process limit: -`ulimit -u 30` +`ulimit -u {{30}}` + +- Display help (Bash only): + +`help ulimit` diff --git a/pages/common/umask.md b/pages/common/umask.md index fb6c23582bc222..423a0d41e12fc5 100644 --- a/pages/common/umask.md +++ b/pages/common/umask.md @@ -1,6 +1,7 @@ # umask > Manage the read/write/execute permissions that are masked out (i.e. restricted) for newly created files by the user. +> More information: . - Display the current mask in octal notation: diff --git a/pages/common/umount.md b/pages/common/umount.md index 710cc650fd9475..5397f64e87b352 100644 --- a/pages/common/umount.md +++ b/pages/common/umount.md @@ -2,6 +2,7 @@ > Unlink a filesystem from its mount point, making it no longer accessible. > A filesystem cannot be unmounted when it is busy. +> More information: . - Unmount a filesystem, by passing the path to the source it is mounted from: diff --git a/pages/common/unalias.md b/pages/common/unalias.md index 8fa7d29d5142da..a8677cb2d3a1f1 100644 --- a/pages/common/unalias.md +++ b/pages/common/unalias.md @@ -1,6 +1,8 @@ # unalias > Remove aliases. +> See also: `alias`. +> More information: . - Remove an alias: diff --git a/pages/common/uname.md b/pages/common/uname.md index 1bc3143be6a102..506eee681c1ba1 100644 --- a/pages/common/uname.md +++ b/pages/common/uname.md @@ -1,20 +1,33 @@ # uname > Print details about the current machine and the operating system running on it. -> Note: for additional information about the operating system, try the `lsb_release` command. +> See also: `lsb_release`. +> More information: . -- Print hardware-related information: machine and processor: +- Print kernel name: -`uname -mp` +`uname` -- Print software-related information: operating system, release number, and version: +- Print all available system information: -`uname -srv` +`uname {{[-a|--all]}}` -- Print the nodename (hostname) of the system: +- Print system architecture and processor information: -`uname -n` +`uname {{[-mp|--machine --processor]}}` -- Print all available system information (hardware, software, nodename): +- Print kernel name, kernel release and kernel version: -`uname -a` +`uname {{[-srv|--kernel-name --kernel-release --kernel-version]}}` + +- Print system hostname: + +`uname {{[-n|--nodename]}}` + +- Print the current operating system name: + +`uname {{[-o|--operating-system]}}` + +- Display help: + +`uname --help` diff --git a/pages/common/unar.md b/pages/common/unar.md index e5cfcf2e780599..e17ae2043f065e 100644 --- a/pages/common/unar.md +++ b/pages/common/unar.md @@ -1,23 +1,24 @@ # unar > Extract contents from archive files. +> More information: . - Extract an archive to the current directory: -`unar {{archive}}` +`unar {{path/to/archive}}` - Extract an archive to the specified directory: -`unar -o {{path/to/directory}} {{archive}}` +`unar {{[-o|-output-directory]}} {{path/to/directory}} {{path/to/archive}}` - Force overwrite if files to be unpacked already exist: -`unar -f {{archive}}` +`unar {{[-f|-force-overwrite]}} {{path/to/archive}}` - Force rename if files to be unpacked already exist: -`unar -r {{archive}}` +`unar {{[-r|-force-rename]}} {{path/to/archive}}` - Force skip if files to be unpacked already exist: -`unar -s {{archive}}` +`unar {{[-s|-force-skip]}} {{path/to/archive}}` diff --git a/pages/common/unclutter.md b/pages/common/unclutter.md index 40848bd6b2ea20..b1824725cf52da 100644 --- a/pages/common/unclutter.md +++ b/pages/common/unclutter.md @@ -1,6 +1,7 @@ # unclutter > Hides the mouse cursor. +> More information: . - Hide mouse cursor after 3 seconds: diff --git a/pages/common/uncrustify.md b/pages/common/uncrustify.md index 792e205c23148b..72d1020249abd7 100644 --- a/pages/common/uncrustify.md +++ b/pages/common/uncrustify.md @@ -7,7 +7,7 @@ `uncrustify -f {{path/to/file.cpp}} -o {{path/to/output.cpp}}` -- Read filenames from stdin, and take backups before writing output back to the original filepaths: +- Read filenames from `stdin`, and take backups before writing output back to the original filepaths: `find . -name "*.cpp" | uncrustify -F - --replace` @@ -15,7 +15,7 @@ `find . -name "*.cpp" | uncrustify -F - --no-backup` -- Use a custom configuration file and write the result to stdout: +- Use a custom configuration file and write the result to `stdout`: `uncrustify -c {{path/to/uncrustify.cfg}} -f {{path/to/file.cpp}}` diff --git a/pages/common/unexpand.md b/pages/common/unexpand.md index be29d3973e77c0..bf6d4c237d1de5 100644 --- a/pages/common/unexpand.md +++ b/pages/common/unexpand.md @@ -1,23 +1,24 @@ # unexpand > Convert spaces to tabs. +> More information: . -- Convert blanks in each file to tabs, writing to standard output: +- Convert blanks in each file to tabs, writing to `stdout`: -`unexpand {{file}}` +`unexpand {{path/to/file}}` -- Convert blanks to tabs, reading from standard output: +- Convert blanks to tabs, reading from `stdout`: `unexpand` - Convert all blanks, instead of just initial blanks: -`unexpand -a {{file}}` +`unexpand {{[-a|--all]}} {{path/to/file}}` - Convert only leading sequences of blanks (overrides -a): -`unexpand --first-only {{file}}` +`unexpand --first-only {{path/to/file}}` - Have tabs a certain number of characters apart, not 8 (enables -a): -`unexpand -t {{number}} {{file}}` +`unexpand {{[-t|--tabs]}} {{number}} {{path/to/file}}` diff --git a/pages/common/unflatten.md b/pages/common/unflatten.md new file mode 100644 index 00000000000000..50d296d6995276 --- /dev/null +++ b/pages/common/unflatten.md @@ -0,0 +1,17 @@ +# unflatten + +> Adjust directed graphs to improve the layout aspect ratio. +> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> More information: . + +- Adjust one or more directed graphs to improve the layout aspect ratio: + +`unflatten {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}` + +- Use `unflatten` as a preprocessor for `dot` layout to improve aspect ratio: + +`unflatten {{path/to/input.gv}} | dot -T {{png}} {{path/to/output.png}}` + +- Display help: + +`unflatten -?` diff --git a/pages/common/unimatrix.md b/pages/common/unimatrix.md new file mode 100644 index 00000000000000..c189667c67aa04 --- /dev/null +++ b/pages/common/unimatrix.md @@ -0,0 +1,25 @@ +# unimatrix + +> Simulate the Matrix look with Unicode characters. +> See also: `cmatrix`. +> More information: . + +- Mimic the default output of `cmatrix` (no unicode, works in a TTY): + +`unimatrix --no-bold --speed {{96}} --character-list {{o}}` + +- No bold characters, slowly, with emojis, numbers, and a few symbols: + +`unimatrix --no-bold --speed {{50}} --character-list {{ens}}` + +- Change the color of characters: + +`unimatrix --color {{red|green|blue|white|...}}` + +- Select character set(s) using letter codes (see `unimatrix --help` for available character sets): + +`unimatrix --character-list {{character_sets}}` + +- Change the scrolling speed: + +`unimatrix --speed {{number}}` diff --git a/pages/common/uniq.md b/pages/common/uniq.md index d39c0b267e368d..c5008831149894 100644 --- a/pages/common/uniq.md +++ b/pages/common/uniq.md @@ -1,24 +1,25 @@ # uniq -> Output the unique lines from the given input or file. +> Output the unique lines from a input or file. > Since it does not detect repeated lines unless they are adjacent, we need to sort them first. +> More information: . - Display each line once: -`sort {{file}} | uniq` +`sort {{path/to/file}} | uniq` - Display only unique lines: -`sort {{file}} | uniq -u` +`sort {{path/to/file}} | uniq {{[-u|--unique]}}` - Display only duplicate lines: -`sort {{file}} | uniq -d` +`sort {{path/to/file}} | uniq {{[-d|--repeated]}}` - Display number of occurrences of each line along with that line: -`sort {{file}} | uniq -c` +`sort {{path/to/file}} | uniq {{[-c|--count]}}` - Display number of occurrences of each line, sorted by the most frequent: -`sort {{file}} | uniq -c | sort -nr` +`sort {{path/to/file}} | uniq {{[-c|--count]}} | sort {{[-nr|--numeric-sort --reverse]}}` diff --git a/pages/common/unison.md b/pages/common/unison.md index c380f36f206f9a..5309a8bb418290 100644 --- a/pages/common/unison.md +++ b/pages/common/unison.md @@ -1,9 +1,9 @@ # unison > Bidirectional file synchronisation tool. -> More information: . +> More information: . -- Sync two directories (creates log first time these two directories are synchronised): +- Sync two directories (creates log first time these two directories are synchronized): `unison {{path/to/directory_1}} {{path/to/directory_2}}` @@ -15,6 +15,6 @@ `unison {{path/to/directory_1}} {{path/to/directory_2}} -ignore {{pattern}}` -- Show documentation: +- View documentation: `unison -doc {{topics}}` diff --git a/pages/common/units.md b/pages/common/units.md new file mode 100644 index 00000000000000..43722fb1436d2a --- /dev/null +++ b/pages/common/units.md @@ -0,0 +1,32 @@ +# units + +> Convert between two units of measure. +> More information: . + +- Run in interactive mode: + +`units` + +- List all units containing a specific string in interactive mode: + +`search {{string}}` + +- Show the conversion between two simple units: + +`units {{quarts}} {{tablespoons}}` + +- Convert between units with quantities: + +`units "{{15 pounds}}" {{kilograms}}` + +- Show the conversion between two compound units: + +`units "{{meters / second}}" "{{inches / hour}}"` + +- Show the conversion between units with different dimensions: + +`units "{{acres}}" "{{ft^2}}"` + +- Show the conversion of byte multipliers: + +`units "{{15 megabytes}}" {{bytes}}` diff --git a/pages/common/unlink.md b/pages/common/unlink.md index c5f796bd2880e4..711d85854dc51b 100644 --- a/pages/common/unlink.md +++ b/pages/common/unlink.md @@ -2,6 +2,7 @@ > Remove a link to a file from the filesystem. > The file contents is lost if the link is the last one to the file. +> More information: . - Remove the specified file if it is the last link: diff --git a/pages/common/unlzma.md b/pages/common/unlzma.md new file mode 100644 index 00000000000000..bc78736312677a --- /dev/null +++ b/pages/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> This command is an alias of `xz --format lzma --decompress`. + +- View documentation for the original command: + +`tldr xz` diff --git a/pages/common/unp.md b/pages/common/unp.md new file mode 100644 index 00000000000000..4b415b300bbbb4 --- /dev/null +++ b/pages/common/unp.md @@ -0,0 +1,13 @@ +# unp + +> Extract any archive. +> Relevant extractors need to be installed, e.g. `unrar` for RAR. +> More information: . + +- Extract an archive: + +`unp {{path/to/archive.zip}}` + +- Extract multiple archives: + +`unp {{path/to/archive1.tar.gz}} {{path/to/archive2.rar}}` diff --git a/pages/common/unrar.md b/pages/common/unrar.md index 15b41b880a43dd..744815cb68292b 100644 --- a/pages/common/unrar.md +++ b/pages/common/unrar.md @@ -1,6 +1,7 @@ # unrar > Extract RAR archives. +> More information: . - Extract files with original directory structure: diff --git a/pages/common/unset.md b/pages/common/unset.md new file mode 100644 index 00000000000000..6db05bc8a7de6a --- /dev/null +++ b/pages/common/unset.md @@ -0,0 +1,16 @@ +# unset + +> Remove shell variables or functions. +> More information: . + +- Remove the variable `foo`, or if the variable doesn't exist, remove the function `foo`: + +`unset {{foo}}` + +- Remove the variables foo and bar: + +`unset -v {{foo}} {{bar}}` + +- Remove the function my_func: + +`unset -f {{my_func}}` diff --git a/pages/common/until.md b/pages/common/until.md new file mode 100644 index 00000000000000..f6974b3aa2515e --- /dev/null +++ b/pages/common/until.md @@ -0,0 +1,12 @@ +# until + +> Simple shell loop that repeats until it receives zero as return value. +> More information: . + +- Execute a command until it succeeds: + +`until {{command}}; do :; done` + +- Wait for a systemd service to be active: + +`until systemctl is-active {{[-q|--quiet]}} {{nginx}}; do {{echo "Waiting..."}}; sleep 1; done; {{echo "Launched!"}}` diff --git a/pages/common/unxz.md b/pages/common/unxz.md new file mode 100644 index 00000000000000..287df817319c25 --- /dev/null +++ b/pages/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> This command is an alias of `xz --decompress`. + +- View documentation for the original command: + +`tldr xz` diff --git a/pages/common/unzip.md b/pages/common/unzip.md index 7c30e376c75c0e..0fd9197d6b8ea4 100644 --- a/pages/common/unzip.md +++ b/pages/common/unzip.md @@ -1,23 +1,29 @@ # unzip -> Extract compressed files in a ZIP archive. +> Extract files/directories from Zip archives. +> See also: `zip`. +> More information: . -- Extract zip file(s) (for multiple files, separate file paths by spaces): +- Extract all files/directories from specific archives into the current directory: -`unzip {{file(s)}}` +`unzip {{path/to/archive1.zip path/to/archive2.zip ...}}` -- Extract zip files(s) to given path: +- Extract files/directories from archives to a specific path: -`unzip {{compressed_file(s)}} -d {{path/to/put/extracted_file(s)}}` +`unzip {{path/to/archive1.zip path/to/archive2.zip ...}} -d {{path/to/output}}` -- List the contents of a zip file without extracting: +- Extract files/directories from archives to `stdout` alongside the extracted file names: -`unzip -l {{file.zip}}` +`unzip -c {{path/to/archive1.zip path/to/archive2.zip ...}}` -- Extract the contents of the file(s) to `stdout` alongside the extracted file names: +- Extract an archive created on Windows, containing files with non-ASCII (e.g. Chinese or Japanese characters) filenames: -`unzip -c {{file.zip}}` +`unzip -O {{gbk}} {{path/to/archive1.zip path/to/archive2.zip ...}}` -- Extract a zip file created in windows, containing files with non-ascii (chinese) filenames: +- List the contents of a specific archive without extracting them: -`unzip -O {{gbk}} {{file.zip}}` +`unzip -l {{path/to/archive.zip}}` + +- Extract a specific file from an archive: + +`unzip -j {{path/to/archive.zip}} {{path/to/file1_in_archive path/to/file2_in_archive ...}}` diff --git a/pages/common/unzstd.md b/pages/common/unzstd.md new file mode 100644 index 00000000000000..cec9fa7dd79f89 --- /dev/null +++ b/pages/common/unzstd.md @@ -0,0 +1,7 @@ +# unzstd + +> This command is an alias of `zstd --decompress`. + +- View documentation for the original command: + +`tldr zstd` diff --git a/pages/common/updog.md b/pages/common/updog.md new file mode 100644 index 00000000000000..32a0ae32751eec --- /dev/null +++ b/pages/common/updog.md @@ -0,0 +1,25 @@ +# updog + +> A replacement for Python's SimpleHTTPServer. +> It allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use HTTP basic auth. +> More information: . + +- Start a HTTP server for the current directory: + +`updog` + +- Start a HTTP server for a specified directory: + +`updog --directory /{{path/to/directory}}` + +- Start a HTTP server on a specified port: + +`updog --port {{port}}` + +- Start a HTTP server with a password (To log in, leave the username blank and enter the password in the password field): + +`updog --password {{password}}` + +- Enable transport encryption via SSL: + +`updog --ssl` diff --git a/pages/common/upt.md b/pages/common/upt.md new file mode 100644 index 00000000000000..d39166e234d8cd --- /dev/null +++ b/pages/common/upt.md @@ -0,0 +1,38 @@ +# upt + +> Unified interface for managing packages across various operating systems, like Windows, many Linux distributions, macOS, FreeBSD and even Haiku. +> It requires the native OS package manager to be installed. +> See also: `flatpak`, `brew`, `scoop`, `apt`, `dnf`. +> More information: . + +- Update the list of available packages: + +`upt update` + +- Search for a given package: + +`upt search {{search_term}}` + +- Show information for a package: + +`upt info {{package}}` + +- Install a given package: + +`upt install {{package}}` + +- Remove a given package: + +`upt {{remove|uninstall}} {{package}}` + +- Upgrade all installed packages: + +`upt upgrade` + +- Upgrade a given package: + +`upt upgrade {{package}}` + +- List installed packages: + +`upt list` diff --git a/pages/common/uptime.md b/pages/common/uptime.md index 3c956d01deb49b..377c4d3e7d2943 100644 --- a/pages/common/uptime.md +++ b/pages/common/uptime.md @@ -1,6 +1,7 @@ # uptime > Tell how long the system has been running and other information. +> More information: . - Print current time, uptime, number of logged-in users and other information: @@ -8,12 +9,12 @@ - Show only the amount of time the system has been booted for: -`uptime --pretty` +`uptime {{[-p|--pretty]}}` - Print the date and time the system booted up at: -`uptime --since` +`uptime {{[-s|--since]}}` -- Show version information: +- Display version: -`uptime --version` +`uptime {{[-V|--version]}}` diff --git a/pages/common/upx.md b/pages/common/upx.md index 3469e2dd5cdfad..2c745a65831f41 100644 --- a/pages/common/upx.md +++ b/pages/common/upx.md @@ -5,12 +5,12 @@ - Compress executable: -`upx {{file}}` +`upx {{path/to/file}}` - Decompress executable: -`upx -d {{file}}` +`upx -d {{path/to/file}}` -- Detailed help: +- Display help: `upx --help` diff --git a/pages/common/users.md b/pages/common/users.md index 7adc2886f66f8e..78c48d09517caa 100644 --- a/pages/common/users.md +++ b/pages/common/users.md @@ -1,11 +1,13 @@ # users > Display a list of logged in users. +> See also: `useradd`, `userdel`, `usermod`. +> More information: . -- Display a list of logged in users: +- Print logged in usernames: `users` -- Display a list of logged in users according to a specific file: +- Print logged in usernames according to a given file: `users {{/var/log/wmtp}}` diff --git a/pages/common/usleep.md b/pages/common/usleep.md new file mode 100644 index 00000000000000..a1b33263f51bd4 --- /dev/null +++ b/pages/common/usleep.md @@ -0,0 +1,14 @@ +# usleep + +> Delay execution for a specific interval in microseconds. +> Largely deprecated in favor of `nanosleep`. +> See also: `sleep`, `nanosleep`. +> More information: . + +- Delay in microseconds: + +`usleep {{microseconds}}` + +- Execute a specific command after a 500,000 microseconds delay: + +`usleep 500000 && {{command}}` diff --git a/pages/common/usql.md b/pages/common/usql.md new file mode 100644 index 00000000000000..fe0670719945db --- /dev/null +++ b/pages/common/usql.md @@ -0,0 +1,32 @@ +# usql + +> Universal CLI interface for SQL databases. +> More information: . + +- Connect to a specific database: + +`usql {{sqlserver|mysql|postgres|sqlite3|...}}://{{username}}:{{password}}@{{host}}:{{port}}/{{database_name}}` + +- Execute commands from a file: + +`usql --file={{path/to/query.sql}}` + +- Execute a specific SQL command: + +`usql --command="{{sql_command}}"` + +- Run an SQL command in the `usql` prompt: + +`{{prompt}}=> {{command}}` + +- Display the database schema: + +`{{prompt}}=> \d` + +- Export query results to a specific file: + +`{{prompt}}=> \g {{path/to/file_with_results}}` + +- Import data from a CSV file into a specific table: + +`{{prompt}}=> \copy {{path/to/data.csv}} {{table_name}}` diff --git a/pages/common/uudecode.md b/pages/common/uudecode.md new file mode 100644 index 00000000000000..a017555ac7f396 --- /dev/null +++ b/pages/common/uudecode.md @@ -0,0 +1,12 @@ +# uudecode + +> Decode files encoded by `uuencode`. +> More information: . + +- Decode a file that was encoded with `uuencode` and print the result to `stdout`: + +`uudecode {{path/to/encoded_file}}` + +- Decode a file that was encoded with `uuencode` and write the result to a file: + +`uudecode -o {{path/to/decoded_file}} {{path/to/encoded_file}}` diff --git a/pages/common/uuencode.md b/pages/common/uuencode.md new file mode 100644 index 00000000000000..c2171496cc9a51 --- /dev/null +++ b/pages/common/uuencode.md @@ -0,0 +1,16 @@ +# uuencode + +> Encode binary files into ASCII for transport via mediums that only support simple ASCII encoding. +> More information: . + +- Encode a file and print the result to `stdout`: + +`uuencode {{path/to/input_file}} {{output_file_name_after_decoding}}` + +- Encode a file and write the result to a file: + +`uuencode -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}` + +- Encode a file using Base64 instead of the default uuencode encoding and write the result to a file: + +`uuencode {{[-m|--base64]}} -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}` diff --git a/pages/common/uv-add.md b/pages/common/uv-add.md new file mode 100644 index 00000000000000..d9e7ecdb970ff0 --- /dev/null +++ b/pages/common/uv-add.md @@ -0,0 +1,37 @@ +# uv add + +> Add package dependencies to the `pyproject.toml` file. +> Packages are specified according to . +> More information: . + +- Add the latest version of a package: + +`uv add {{package}}` + +- Add multiple packages: + +`uv add {{package1 package2 ...}}` + +- Add a package with a version requirement: + +`uv add {{package>=1.2.3}}` + +- Add packages to an optional dependency group, which will be included when published: + +`uv add --optional {{optional}} {{package1 package2 ...}}` + +- Add packages to a local group, which will not be included when published: + +`uv add --group {{group}} {{package1 package2 ...}}` + +- Add packages to the dev group, shorthand for `--group dev`: + +`uv add --dev {{package1 package2 ...}}` + +- Add package as editable: + +`uv add --editable {{path/to/package}}/` + +- Enable an extra when installing package, may be provided multiple times: + +`uv add {{package}} --extra {{extra_feature}}` diff --git a/pages/common/uv-build.md b/pages/common/uv-build.md new file mode 100644 index 00000000000000..fd237f933bec1e --- /dev/null +++ b/pages/common/uv-build.md @@ -0,0 +1,36 @@ +# uv build + +> Build Python packages into source distributions and wheels. +> More information: . + +- Build a package in the current directory: + +`uv build` + +- Build a package from a specific directory: + +`uv build {{path/to/directory}}` + +- Build only a wheel (skip source distribution): + +`uv build --wheel` + +- Build only a source distribution (skip wheel): + +`uv build --sdist` + +- Build and output to a specific directory: + +`uv build {{[-o|--out-dir]}} {{path/to/output}}` + +- Build a specific package in a workspace: + +`uv build --package {{package_name}}` + +- Build all packages in the workspace: + +`uv build {{[--all|--all-packages]}}` + +- Build with a specific Python interpreter: + +`uv build {{[-p|--python]}} {{python3.11}}` diff --git a/pages/common/uv-cache.md b/pages/common/uv-cache.md new file mode 100644 index 00000000000000..ce19f344c9ed60 --- /dev/null +++ b/pages/common/uv-cache.md @@ -0,0 +1,32 @@ +# uv cache + +> Manage `uv`'s global cache directory. +> More information: . + +- Show the cache directory path: + +`uv cache dir` + +- Clean the entire cache (removes all cached packages and environments): + +`uv cache clean` + +- Clean the cache for specific packages: + +`uv cache clean {{package1 package2 ...}}` + +- Prune all unreachable objects from the cache: + +`uv cache prune` + +- Prune cache optimized for CI environments like GitHub Actions: + +`uv cache prune --ci` + +- Use a specific cache directory: + +`uv cache clean --cache-dir {{path/to/cache}}` + +- Clean cache with verbose output: + +`uv cache clean {{[-v|--verbose]}}` diff --git a/pages/common/uv-export.md b/pages/common/uv-export.md new file mode 100644 index 00000000000000..d29ca4c5332766 --- /dev/null +++ b/pages/common/uv-export.md @@ -0,0 +1,36 @@ +# uv export + +> Export the project's lockfile to an alternate format. +> More information: . + +- Export dependencies to a `requirements.txt` file: + +`uv export --format requirements-txt {{[-o|--output-file]}} {{requirements.txt}}` + +- Export dependencies to `pylock.toml` format: + +`uv export --format pylock.toml` + +- Export only production dependencies (exclude dev dependencies): + +`uv export --no-dev` + +- Export including a specific optional dependency group: + +`uv export --extra {{group_name}}` + +- Export including all optional dependencies: + +`uv export --all-extras` + +- Export including a specific dependency group: + +`uv export --group {{group_name}}` + +- Export without hashes: + +`uv export --no-hashes` + +- Export dependencies for a specific package in the workspace: + +`uv export --package {{package_name}}` diff --git a/pages/common/uv-help.md b/pages/common/uv-help.md new file mode 100644 index 00000000000000..85277d0b45c2d6 --- /dev/null +++ b/pages/common/uv-help.md @@ -0,0 +1,20 @@ +# uv help + +> Display detailed documentation for `uv` commands. +> More information: . + +- Display general help for `uv`: + +`uv help` + +- Display help for a specific command: + +`uv help {{command}}` + +- Display help for a subcommand: + +`uv help {{command}} {{subcommand}}` + +- Display help without using a pager: + +`uv help --no-pager {{command}}` diff --git a/pages/common/uv-init.md b/pages/common/uv-init.md new file mode 100644 index 00000000000000..3f27c5e68fc453 --- /dev/null +++ b/pages/common/uv-init.md @@ -0,0 +1,32 @@ +# uv init + +> Create a new Python project. +> More information: . + +- Initialize a project in the current directory: + +`uv init` + +- Initialize a project with a certain name: + +`uv init {{project_name}}` + +- Create a project in a given directory: + +`uv init --directory {{path/to/directory}} {{project_name}}` + +- Create a project for a Python library: + +`uv init {{[--lib|--library]}} {{project_name}}` + +- Specify the build system: + +`uv init --build-backend {{build_backend}} {{project_name}}` + +- Only create a `pyproject.toml`: + +`uv init --bare {{project_name}}` + +- Set the project description: + +`uv init --description "{{description}}" {{project_name}}` diff --git a/pages/common/uv-lock.md b/pages/common/uv-lock.md new file mode 100644 index 00000000000000..81f6d16505dabf --- /dev/null +++ b/pages/common/uv-lock.md @@ -0,0 +1,32 @@ +# uv lock + +> Update the project's lockfile. +> More information: . + +- Create or update the project's lockfile: + +`uv lock` + +- Check if the lockfile is up-to-date without updating it: + +`uv lock --check` + +- Assert that a lockfile exists without checking if it's current: + +`uv lock --check-exists` + +- Preview what would be locked without writing the lockfile: + +`uv lock --dry-run` + +- Lock a specific Python script instead of the current project: + +`uv lock --script {{path/to/script.py}}` + +- Upgrade all packages to their latest compatible versions: + +`uv lock --upgrade` + +- Upgrade only specific packages: + +`uv lock --upgrade-package {{package1}} --upgrade-package {{package2}}` diff --git a/pages/common/uv-pip.md b/pages/common/uv-pip.md new file mode 100644 index 00000000000000..ab5f14e8b3952f --- /dev/null +++ b/pages/common/uv-pip.md @@ -0,0 +1,36 @@ +# uv pip + +> Provides pip-like commands for installing, uninstalling, and managing packages. +> More information: . + +- Install a package: + +`uv pip install {{package}}` + +- Install packages from a requirements file: + +`uv pip install {{[-r|--requirements]}} {{requirements.txt}}` + +- Install a package with a specific version: + +`uv pip install {{package==1.2.3}}` + +- Uninstall a package: + +`uv pip uninstall {{package}}` + +- Save installed packages to file: + +`uv pip freeze > {{requirements.txt}}` + +- List installed packages: + +`uv pip list` + +- Show information about an installed package: + +`uv pip show {{package}}` + +- Sync environment with a requirements file (install/uninstall to match exactly): + +`uv pip sync {{requirements.txt}}` diff --git a/pages/common/uv-publish.md b/pages/common/uv-publish.md new file mode 100644 index 00000000000000..c6e9be00563421 --- /dev/null +++ b/pages/common/uv-publish.md @@ -0,0 +1,28 @@ +# uv publish + +> Upload distributions to an index. +> More information: . + +- Publish packages from `dist/` directory (default behavior): + +`uv publish` + +- Publish to a specific repository URL: + +`uv publish --publish-url {{https://upload.pypi.org/legacy/}}` + +- Publish using a specific username and password: + +`uv publish {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}` + +- Publish using an API token: + +`uv publish {{[-t|--token]}} {{your_api_token}}` + +- Publish specific distribution files: + +`uv publish {{path/to/dist/*.whl}} {{path/to/dist/*.tar.gz}}` + +- Publish to TestPyPI for testing: + +`uv publish --publish-url https://test.pypi.org/legacy/` diff --git a/pages/common/uv-python.md b/pages/common/uv-python.md new file mode 100644 index 00000000000000..9ce2a4c0076b7d --- /dev/null +++ b/pages/common/uv-python.md @@ -0,0 +1,28 @@ +# uv python + +> Manage Python versions and installations. +> More information: . + +- List all available Python installations: + +`uv python list` + +- Install a Python version: + +`uv python install {{version}}` + +- Uninstall a Python version: + +`uv python uninstall {{version}}` + +- Search for a Python installation: + +`uv python find {{version}}` + +- Pin the current project to use a specific Python version: + +`uv python pin {{version}}` + +- Show the `uv` Python installation directory: + +`uv python dir` diff --git a/pages/common/uv-remove.md b/pages/common/uv-remove.md new file mode 100644 index 00000000000000..1fe9598023abde --- /dev/null +++ b/pages/common/uv-remove.md @@ -0,0 +1,28 @@ +# uv remove + +> Remove dependencies from the project's `pyproject.toml` file. +> More information: . + +- Remove a dependency from the project: + +`uv remove {{package}}` + +- Remove multiple dependencies: + +`uv remove {{package1 package2 ...}}` + +- Remove a development dependency: + +`uv remove --dev {{package}}` + +- Remove a dependency from an optional dependency group: + +`uv remove --optional {{extra_name}} {{package}}` + +- Remove a dependency from a specific dependency group: + +`uv remove --group {{group_name}} {{package}}` + +- Remove without syncing the virtual environment: + +`uv remove --no-sync {{package}}` diff --git a/pages/common/uv-run.md b/pages/common/uv-run.md new file mode 100644 index 00000000000000..5abcdcf8e71813 --- /dev/null +++ b/pages/common/uv-run.md @@ -0,0 +1,28 @@ +# uv run + +> Run a command or script in the project environment. +> More information: . + +- Run a Python script: + +`uv run {{path/to/script.py}}` + +- Run a Python module: + +`uv run {{[-m|--module]}} {{module_name}}` + +- Run a command with additional packages installed temporarily: + +`uv run {{[-w|--with]}} {{package}} {{command}}` + +- Run a script with packages from a requirements file: + +`uv run --with-requirements {{path/to/requirements.txt}} {{path/to/script.py}}` + +- Run in an isolated environment (no project dependencies): + +`uv run --isolated {{path/to/script.py}}` + +- Run without syncing the environment first: + +`uv run --no-sync {{command}}` diff --git a/pages/common/uv-self.md b/pages/common/uv-self.md new file mode 100644 index 00000000000000..447d83ccc78a0d --- /dev/null +++ b/pages/common/uv-self.md @@ -0,0 +1,32 @@ +# uv self + +> Manage the `uv` executable itself. +> More information: . + +- Update `uv` to the latest version: + +`uv self update` + +- Update `uv` to a specific version: + +`uv self update {{0.4.0}}` + +- Check for available `uv` updates without installing: + +`uv self update --dry-run` + +- Update `uv` with verbose output: + +`uv self update {{[-v|--verbose]}}` + +- Display the current `uv` version: + +`uv self version` + +- Display only the version number: + +`uv self version --short` + +- Display version information in JSON format: + +`uv self version --output-format json` diff --git a/pages/common/uv-sync.md b/pages/common/uv-sync.md new file mode 100644 index 00000000000000..6fde6c4d41f3eb --- /dev/null +++ b/pages/common/uv-sync.md @@ -0,0 +1,36 @@ +# uv sync + +> Update the project's environment to match the lockfile. +> More information: . + +- Sync the project environment with the lockfile: + +`uv sync` + +- Sync and include all optional dependencies: + +`uv sync --all-extras` + +- Sync with specific optional dependencies: + +`uv sync --extra {{extra_name}}` + +- Sync only development dependencies: + +`uv sync --only-dev` + +- Sync excluding development dependencies: + +`uv sync --no-dev` + +- Sync specific dependency groups: + +`uv sync --group {{group_name}}` + +- Check if environment is already synchronized (no changes): + +`uv sync --check` + +- Preview what would be synced without making changes: + +`uv sync --dry-run` diff --git a/pages/common/uv-tool.md b/pages/common/uv-tool.md new file mode 100644 index 00000000000000..535bf0aa887139 --- /dev/null +++ b/pages/common/uv-tool.md @@ -0,0 +1,24 @@ +# uv tool + +> Install and run commands provided by Python packages. +> More information: . + +- Run a command from a package, without installing it: + +`uv tool run {{command}}` + +- Install a Python package system-wide: + +`uv tool install {{package}}` + +- Upgrade an installed Python package: + +`uv tool upgrade {{package}}` + +- Uninstall a Python package: + +`uv tool uninstall {{package}}` + +- List Python packages installed system-wide: + +`uv tool list` diff --git a/pages/common/uv-tree.md b/pages/common/uv-tree.md new file mode 100644 index 00000000000000..d38b59568748bc --- /dev/null +++ b/pages/common/uv-tree.md @@ -0,0 +1,28 @@ +# uv tree + +> Display project dependencies in a tree format. +> More information: . + +- Show dependency tree for current environment: + +`uv tree` + +- Show dependency tree for all environments: + +`uv tree --universal` + +- Show dependency tree up to a certain depth: + +`uv tree {{[-d|--depth]}} {{n}}` + +- Show the latest available version for all outdated packages: + +`uv tree --outdated` + +- Exclude dependencies from the dev group: + +`uv tree --no-dev` + +- Show the inverted tree, so children are dependents instead of dependencies: + +`uv tree --invert` diff --git a/pages/common/uv-venv.md b/pages/common/uv-venv.md new file mode 100644 index 00000000000000..9e3be6402d1d59 --- /dev/null +++ b/pages/common/uv-venv.md @@ -0,0 +1,24 @@ +# uv venv + +> Create an isolated Python environment for installing packages. +> More information: . + +- Create a virtual environment in the default location (`.venv`): + +`uv venv` + +- Create a virtual environment at a specific path: + +`uv venv {{path/to/venv}}` + +- Create using a specific Python version: + +`uv venv --python {{3.12}}` + +- Create with a custom prompt prefix: + +`uv venv --prompt {{my_project}}` + +- Create and allow overwriting existing environment: + +`uv venv --allow-existing {{venv_name}}` diff --git a/pages/common/uv-version.md b/pages/common/uv-version.md new file mode 100644 index 00000000000000..5b8c64735b9cb4 --- /dev/null +++ b/pages/common/uv-version.md @@ -0,0 +1,28 @@ +# uv version + +> Read or update a project's version. +> More information: . + +- Display the current project version: + +`uv version` + +- Set the project version to a specific value: + +`uv version {{1.2.3}}` + +- Bump the project version using semantic versioning: + +`uv version --bump {{major|minor|patch}}` + +- Preview version changes without writing to `pyproject.toml`: + +`uv version --bump {{patch}} --dry-run` + +- Update version for a specific package in a workspace: + +`uv version --package {{package_name}} {{1.2.3}}` + +- Display version in JSON format: + +`uv version --output-format json` diff --git a/pages/common/uv.md b/pages/common/uv.md new file mode 100644 index 00000000000000..6d7f0ed42adc4f --- /dev/null +++ b/pages/common/uv.md @@ -0,0 +1,37 @@ +# uv + +> A fast Python package and project manager. +> Some subcommands such as `tool` and `python` have their own usage documentation. +> More information: . + +- Create a new Python project in the current directory: + +`uv init` + +- Create a new Python project at the specified path: + +`uv init {{path/to/directory}}` + +- Add a new dependency to the project: + +`uv add {{package}}` + +- Remove a dependency from the project: + +`uv remove {{package}}` + +- Run a script in the project's environment: + +`uv run {{path/to/script.py}}` + +- Run a command in the project's environment: + +`uv run {{command}}` + +- Update a project's environment from `pyproject.toml`: + +`uv sync` + +- Create a lock file for the project's dependencies: + +`uv lock` diff --git a/pages/common/uvicorn.md b/pages/common/uvicorn.md index a1918d7bd41819..19462d6f704f47 100644 --- a/pages/common/uvicorn.md +++ b/pages/common/uvicorn.md @@ -1,7 +1,7 @@ # uvicorn > Python ASGI HTTP Server, for asynchronous projects. -> More information: . +> More information: . - Run Python web app: diff --git a/pages/common/v.md b/pages/common/v.md new file mode 100644 index 00000000000000..f2e2912790ccbe --- /dev/null +++ b/pages/common/v.md @@ -0,0 +1,36 @@ +# v + +> A tool for managing V source code. +> More information: . + +- Compile a file and output its executable: + +`v {{path/to/file.v}}` + +- Compile the current project or directory: + +`v .` + +- Compile a file and run it: + +`v run {{path/to/file.v}}` + +- Compile a file and run it, output its executable: + +`v crun {{path/to/file.v}}` + +- Re-compile on every modification to a file: + +`v watch {{path/to/file.v}}` + +- Re-run on every modification to a file: + +`v watch run {{path/to/file.v}}` + +- Open the v repl: + +`v repl` + +- Format a file and [w]rite to it: + +`v fmt -w {{path/to/file.v}}` diff --git a/pages/common/vacuumdb.md b/pages/common/vacuumdb.md new file mode 100644 index 00000000000000..8d651a5aeaffbc --- /dev/null +++ b/pages/common/vacuumdb.md @@ -0,0 +1,32 @@ +# vacuumdb + +> Garbage-collect and analyze a PostgreSQL database. +> More information: . + +- Vacuum a specific database: + +`vacuumdb {{database_name}}` + +- Vacuum all databases: + +`vacuumdb {{[-a|--all]}}` + +- Vacuum a specific table in a database: + +`vacuumdb {{[-t|--table]}} {{table_name}} {{database_name}}` + +- Vacuum and update statistics for the query planner: + +`vacuumdb {{[-z|--analyze]}} {{database_name}}` + +- Perform a full vacuum (more aggressive, locks tables, rewrites the whole table): + +`vacuumdb {{[-f|--full]}} {{database_name}}` + +- Vacuum with verbose output: + +`vacuumdb {{[-v|--verbose]}} {{database_name}}` + +- Vacuum a database using multiple parallel jobs: + +`vacuumdb --jobs {{number_of_jobs}} {{database_name}}` diff --git a/pages/common/vagrant-box.md b/pages/common/vagrant-box.md new file mode 100644 index 00000000000000..6b74ac5446210c --- /dev/null +++ b/pages/common/vagrant-box.md @@ -0,0 +1,37 @@ +# vagrant box + +> Manage Vagrant boxes (virtual machine images). +> See also: `vagrant`. +> More information: . + +- List all installed boxes: + +`vagrant box list` + +- Add a new box: + +`vagrant box add {{hashicorp/bionic64}}` + +- Add a box from a custom URL: + +`vagrant box add {{my-box}} {{https://example.com/my-box.box}}` + +- Remove an installed box: + +`vagrant box remove {{hashicorp/bionic64}}` + +- Update all boxes that are in use in the current Vagrant environment: + +`vagrant box update` + +- Update a specific box: + +`vagrant box update --box {{bento/debian-12}}` + +- Check if there is a new version available for the box that you are using: + +`vagrant box outdated` + +- Clean up old versions of installed boxes: + +`vagrant box prune` diff --git a/pages/common/vagrant-halt.md b/pages/common/vagrant-halt.md new file mode 100644 index 00000000000000..5caead44f27054 --- /dev/null +++ b/pages/common/vagrant-halt.md @@ -0,0 +1,21 @@ +# vagrant halt + +> Shuts down the running machine Vagrant is managing. +> See also: `vagrant`, `vagrant box`, `vagrant plugin`, `vagrant validate`. +> More information: . + +- Halt the currently running Vagrant machine gracefully: + +`vagrant halt` + +- Halt a specific machine by its ID or name gracefully: + +`vagrant halt {{id_or_name}}` + +- Forcefully halt the current running machine(s) (This can affect multiple running machines if they are part of the same Vagrant environment): + +`vagrant halt {{[-f|--force]}}` + +- Forcefully halt a specific machine by its ID or name: + +`vagrant halt {{[-f|--force]}} {{id_or_name}}` diff --git a/pages/common/vagrant-plugin.md b/pages/common/vagrant-plugin.md new file mode 100644 index 00000000000000..5ffa9ec5438d52 --- /dev/null +++ b/pages/common/vagrant-plugin.md @@ -0,0 +1,29 @@ +# vagrant plugin + +> Manage Vagrant plugins. +> See also: `vagrant`. +> More information: . + +- List all the plugins currently installed: + +`vagrant plugin list` + +- Install a plugin from remote repositories, usually RubyGems: + +`vagrant plugin install {{vagrant_vbguest}}` + +- Install a plugin from a local file source: + +`vagrant plugin install {{path/to/my_plugin.gem}}` + +- Update all installed plugins to their latest version: + +`vagrant plugin update` + +- Update a plugin to the latest version: + +`vagrant plugin update {{vagrant_vbguest}}` + +- Uninstall a specific plugin: + +`vagrant plugin uninstall {{vagrant_vbguest}}` diff --git a/pages/common/vagrant-snapshot.md b/pages/common/vagrant-snapshot.md new file mode 100644 index 00000000000000..dd83796ae59fdc --- /dev/null +++ b/pages/common/vagrant-snapshot.md @@ -0,0 +1,25 @@ +# vagrant snapshot + +> Manage snapshots of Vagrant machines. +> See also: `vagrant`. +> More information: . + +- Take a snapshot of the machine (running or stopped): + +`vagrant snapshot save {{snapshot_name}}` + +- Restore a snapshot and start the machine: + +`vagrant snapshot restore {{snapshot_name}}` + +- Restore a snapshot without starting the machine: + +`vagrant snapshot restore --no-start {{snapshot_name}}` + +- Delete a snapshot: + +`vagrant snapshot delete {{snapshot_name}}` + +- List available snapshots of the machine: + +`vagrant snapshot list` diff --git a/pages/common/vagrant-validate.md b/pages/common/vagrant-validate.md new file mode 100644 index 00000000000000..2ed50c080823a6 --- /dev/null +++ b/pages/common/vagrant-validate.md @@ -0,0 +1,13 @@ +# vagrant validate + +> Check the validity of a Vagrantfile. +> See also: `vagrant`, `vagrant box`, `vagrant plugin`. +> More information: . + +- Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors: + +`vagrant validate` + +- Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options: + +`vagrant validate {{[-p|--ignore-provider]}} {{docker|hypervlibvirt|parallels|qemu|virtualbox|vmware_desktop}}` diff --git a/pages/common/vagrant.md b/pages/common/vagrant.md index 5c38b1c409ff65..e1feda28c35df8 100644 --- a/pages/common/vagrant.md +++ b/pages/common/vagrant.md @@ -1,17 +1,18 @@ # vagrant > Manage lightweight, reproducible, and portable development environments. -> More information: . +> Some subcommands such as `box`, `snapshot`, `halt`, etc. have their own usage documentation. +> More information: . -- Create Vagrantfile in current directory with the base Vagrant box: +- Create a `Vagrantfile` in the current directory with the base Vagrant box: `vagrant init` -- Create Vagrantfile with the Ubuntu 14.04 (Trusty Tahr) box from HashiCorp Atlas: +- Create a `Vagrantfile` with a box from the Vagrant Public Registry: -`vagrant init ubuntu/trusty32` +`vagrant init {{ubuntu/focal64}}` -- Start and provision the vagrant environment: +- Start and provision the Vagrant environment: `vagrant up` @@ -23,10 +24,14 @@ `vagrant halt` -- Connect to machine via SSH: +- Connect to the machine via SSH: `vagrant ssh` - Output the SSH configuration file of the running Vagrant machine: `vagrant ssh-config` + +- List all local boxes: + +`vagrant box list` diff --git a/pages/common/vala.md b/pages/common/vala.md index 74955af0839a25..3ca35d3baa0cc7 100644 --- a/pages/common/vala.md +++ b/pages/common/vala.md @@ -2,16 +2,16 @@ > Vala code runner. > Tutorial: . -> More information: . +> More information: . - Run a vala file, with gtk+: `vala {{path/to/file.vala}} --pkg {{gtk+-3.0}}` -- Display version info: +- Display help: -`vala --version` +`vala --help` -- Display helper message: +- Display version: -`vala --help` +`vala --version` diff --git a/pages/common/valac.md b/pages/common/valac.md index 7a2b79020b9cf3..591593a26107eb 100644 --- a/pages/common/valac.md +++ b/pages/common/valac.md @@ -2,16 +2,16 @@ > Vala code compiler. > Tutorial: . -> More information: . +> More information: . - Compile a vala file, with gtk+: `valac {{path/to/file.vala}} --pkg {{gtk+-3.0}}` -- Display version info: +- Display help: -`valac --version` +`valac --help` -- Display helper message: +- Display version: -`valac --help` +`valac --version` diff --git a/pages/common/vale.md b/pages/common/vale.md new file mode 100644 index 00000000000000..c0546ed1812693 --- /dev/null +++ b/pages/common/vale.md @@ -0,0 +1,28 @@ +# vale + +> Extensible style checker that supports multiple markup formats, such as Markdown and AsciiDoc. +> More information: . + +- Check the style of a file: + +`vale {{path/to/file}}` + +- Check the style of a file with a specified configuration: + +`vale --config='{{path/to/.vale.ini}}' {{path/to/file}}` + +- Output the results in JSON format: + +`vale --output=JSON {{path/to/file}}` + +- Check style issues at the specific severity and higher: + +`vale --minAlertLevel={{suggestion|warning|error}} {{path/to/file}}` + +- Check the style from `stdin`, specifying markup format: + +`cat {{file.md}} | vale --ext=.md` + +- List the current configuration: + +`vale ls-config` diff --git a/pages/common/valgrind.md b/pages/common/valgrind.md index 52cfd323ee6763..135dec1a40f17b 100644 --- a/pages/common/valgrind.md +++ b/pages/common/valgrind.md @@ -2,7 +2,7 @@ > Wrapper for a set of expert tools for profiling, optimizing and debugging programs. > Commonly used tools include `memcheck`, `cachegrind`, `callgrind`, `massif`, `helgrind`, and `drd`. -> More information: . +> More information: . - Use the (default) Memcheck tool to show a diagnostic of memory usage by `program`: diff --git a/pages/common/varnishlog.md b/pages/common/varnishlog.md new file mode 100644 index 00000000000000..761f4cf516c29e --- /dev/null +++ b/pages/common/varnishlog.md @@ -0,0 +1,24 @@ +# varnishlog + +> Display Varnish logs. +> More information: . + +- Display logs in real time: + +`varnishlog` + +- Only display requests to a specific domain: + +`varnishlog -q 'ReqHeader eq "Host: {{example.com}}"'` + +- Only display POST requests: + +`varnishlog -q 'ReqMethod eq "{{POST}}"'` + +- Only display requests to a specific path: + +`varnishlog -q 'ReqURL eq "/{{path}}"'` + +- Only display requests to paths matching a `regex`: + +`varnishlog -q 'ReqURL ~ "{{regex}}"'` diff --git a/pages/common/vault.md b/pages/common/vault.md index 4ee8714a81cfdb..683c1374707bf8 100644 --- a/pages/common/vault.md +++ b/pages/common/vault.md @@ -1,6 +1,6 @@ # vault -> A CLI to interact with HashiCorp Vault. +> Interact with HashiCorp Vault. > More information: . - Connect to a Vault server and initialize a new encrypted data store: diff --git a/pages/common/vboxmanage-clonevm.md b/pages/common/vboxmanage-clonevm.md new file mode 100644 index 00000000000000..bc20eebfdfa30f --- /dev/null +++ b/pages/common/vboxmanage-clonevm.md @@ -0,0 +1,20 @@ +# VBoxManage clonevm + +> Create a clone of an existing virtual machine (VM). +> More information: . + +- Clone the specified VM: + +`VBoxManage clonevm {{vm_name}}` + +- Specify a new name for the new VM: + +`VBoxManage clonevm {{vm_name}} --name {{new_vm_name}}` + +- Indicate the folder where the new VM configuration is saved: + +`VBoxManage clonevm {{vm_name}} --basefolder {{path/to/directory}}` + +- Register the cloned VM in VirtualBox: + +`VBoxManage clonevm {{vm_name}} --register` diff --git a/pages/common/vboxmanage-cloud.md b/pages/common/vboxmanage-cloud.md new file mode 100644 index 00000000000000..0f60d016beab2f --- /dev/null +++ b/pages/common/vboxmanage-cloud.md @@ -0,0 +1,36 @@ +# VBoxManage cloud + +> VirtualBox command-line interface for managing cloud instances and images. +> More information: . + +- List the instances in the specified state belonging to the specified compartment: + +`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} list instances --state={{running|terminated|paused}} --compartment-id={{compartment_id}}` + +- Create a new instance: + +`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} instance create --domain-name={{domain_name}} --image-id={{image_id}}` + +- Gather information about a particular instance: + +`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} instance info --id={{unique_id}}` + +- Terminate an instance: + +`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} instance terminate --id={{unique_id}}` + +- List images within a specific compartment and state: + +`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} list images --compartment-id={{compartment_id}} --state={{state_name}}` + +- Create a new image: + +`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} image create --instance-id={{instance_id}} --display-name={{display_name}} --compartment-id={{compartment_id}}` + +- Retrieve information about a particular image: + +`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} image info --id={{unique_id}}` + +- Delete an image: + +`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} image delete --id={{unique_id}}` diff --git a/pages/common/vboxmanage-controlvm.md b/pages/common/vboxmanage-controlvm.md new file mode 100644 index 00000000000000..d5c94aa2d58433 --- /dev/null +++ b/pages/common/vboxmanage-controlvm.md @@ -0,0 +1,36 @@ +# VBoxManage controlvm + +> Change the state and the settings of a currently running virtual machine. +> More information: . + +- Temporarily stop the execution of a virtual machine: + +`VBoxManage controlvm {{uuid|vm_name}} pause` + +- Resume the execution of a paused virtual machine: + +`VBoxManage controlvm {{uuid|vm_name}} resume` + +- Perform a cold reset on the virtual machine: + +`VBoxManage controlvm {{uuid|vm_name}} reset` + +- Poweroff a virtual machine with the same effect as pulling the power cable of a computer: + +`VBoxManage controlvm {{uuid|vm_name}} poweroff` + +- Shutdown the virtual machine and save its current state: + +`VBoxManage controlvm {{uuid|vm_name}} savestate` + +- Send an ACPI (Advanced Configuration and Power Interface) shutdown signal to the virtual machine: + +`VBoxManage controlvm {{uuid|vm_name}} acpipowerbutton` + +- Send command to reboot itself to the guest OS: + +`VBoxManage controlvm {{uuid|vm_name}} reboot` + +- Shutdown down the virtual machine without saving its state: + +`VBoxManage controlvm {{uuid|vm_name}} shutdown` diff --git a/pages/common/vboxmanage-createvm.md b/pages/common/vboxmanage-createvm.md new file mode 100644 index 00000000000000..92dd8ca245efd9 --- /dev/null +++ b/pages/common/vboxmanage-createvm.md @@ -0,0 +1,32 @@ +# VBoxManage createvm + +> Create a new virtual machine. +> More information: . + +- Create a new VM with default settings: + +`VBoxManage createvm --name {{vm_name}}` + +- Set the base folder where the VM configuration will be stored: + +`VBoxManage createvm --name {{vm_name}} --basefolder {{path/to/directory}}` + +- Set the guest OS type (one of `VBoxManage list ostypes`) for the imported VM: + +`VBoxManage createvm --name {{vm_name}} --ostype {{ostype}}` + +- Register the created VM in VirtualBox: + +`VBoxManage createvm --name {{vm_name}} --register` + +- Set the VM to the specified groups: + +`VBoxManage createvm --name {{vm_name}} --group {{group1,group2,...}}` + +- Set the Universally Unique Identifier (UUID) of the VM: + +`VBoxManage createvm --name {{vm_name}} --uuid {{uuid}}` + +- Set the cipher to use for encryption: + +`VBoxManage createvm --name {{vm_name}} --cipher {{AES-128|AES-256}}` diff --git a/pages/common/vboxmanage-export.md b/pages/common/vboxmanage-export.md new file mode 100644 index 00000000000000..08e7d82bc933e7 --- /dev/null +++ b/pages/common/vboxmanage-export.md @@ -0,0 +1,24 @@ +# VBoxManage export + +> Export virtual machines to a virtual appliance (ISO) or a cloud service. +> More information: . + +- Specify the target OVA file: + +`VBoxManage export --output {{path/to/file.ova}}` + +- Export in OVF 0.9 legacy mode: + +`VBoxManage export --legacy09` + +- Export in OVF (0.9|1.0|2.0) format: + +`VBoxManage export --{{ovf09|ovf10|ovf20}}` + +- Create manifest of the exported files: + +`VBoxManage export --manifest` + +- Specify a description of the VM: + +`VBoxManage export --description "{{vm_description}}"` diff --git a/pages/common/vboxmanage-extpack.md b/pages/common/vboxmanage-extpack.md new file mode 100644 index 00000000000000..11de219cf64a7a --- /dev/null +++ b/pages/common/vboxmanage-extpack.md @@ -0,0 +1,24 @@ +# VBoxManage extpack + +> Manage extension packs for Oracle VirtualBox. +> More information: . + +- Install extension packs to VirtualBox (Note: You need to remove the existing version of the extension pack before installing a new version.): + +`VBoxManage extpack install {{path/to/file.vbox-extpack}}` + +- Remove the existing version of the VirtualBox extension pack: + +`VBoxManage extpack install --replace` + +- Uninstall extension packs from VirtualBox: + +`VBoxManage extpack uninstall {{extension_pack_name}}` + +- Uninstall extension packs and skip most uninstallation refusals: + +`VBoxManage extpack uninstall --force {{extension_pack_name}}` + +- Clean up temporary files and directories left by extension packs: + +`VBoxManage extpack cleanup` diff --git a/pages/common/vboxmanage-import.md b/pages/common/vboxmanage-import.md new file mode 100644 index 00000000000000..53655433e11f55 --- /dev/null +++ b/pages/common/vboxmanage-import.md @@ -0,0 +1,36 @@ +# VBoxManage import + +> Import a previously exported virtual machine (VM). +> More information: . + +- Import a VM from an OVF or OVA file: + +`VBoxManage import {{path/to/file.ovf}}` + +- Set the name of the imported VM: + +`VBoxManage import {{path/to/file.ovf}} --name {{vm_name}}` + +- Indicate the folder where the configuration of the imported VM will be stored: + +`VBoxManage import {{path/to/file.ovf}} --basefolder {{path/to/directory}}` + +- Register the imported VM in VirtualBox: + +`VBoxManage import {{path/to/file.ovf}} --register` + +- Perform a dry run to check the import without actually importing: + +`VBoxManage import {{path/to/file.ovf}} --dry-run` + +- Set the guest OS type (one of `VBoxManage list ostypes`) for the imported VM: + +`VBoxManage import {{path/to/file.ovf}} --ostype={{ostype}}` + +- Set the memory (in megabytes) for the imported VM: + +`VBoxManage import {{path/to/file.ovf}} --memory={{1}}` + +- Set the number of CPUs for the imported VM: + +`VBoxManage import {{path/to/file.ovf}} --cpus={{1}}` diff --git a/pages/common/vboxmanage-list.md b/pages/common/vboxmanage-list.md new file mode 100644 index 00000000000000..b920b665c88add --- /dev/null +++ b/pages/common/vboxmanage-list.md @@ -0,0 +1,36 @@ +# VBoxManage list + +> List information about the Oracle VM VirtualBox software and associated service. +> More information: . + +- List all VirtualBox virtual machines: + +`VBoxManage list vms` + +- Show DHCP servers available on the host system: + +`VBoxManage list dhcpservers` + +- Show Oracle VM VirtualBox extension packs currently installed: + +`VBoxManage list extpacks` + +- Show all virtual machine groups: + +`VBoxManage list groups` + +- Show virtual disk settings that are currently in use by VirtualBox: + +`VBoxManage list hdds` + +- Show host-only network interfaces available on host system: + +`VBoxManage list hostonlyifs` + +- Show the list of currently running virtual machines: + +`VBoxManage list runningvms` + +- Show host system information: + +`VBoxManage list hostinfo` diff --git a/pages/common/vboxmanage-modifyvm.md b/pages/common/vboxmanage-modifyvm.md new file mode 100644 index 00000000000000..21872ab62d9d78 --- /dev/null +++ b/pages/common/vboxmanage-modifyvm.md @@ -0,0 +1,20 @@ +# VBoxManage modifyvm + +> Change settings for a virtual machine that is stopped. +> More information: . + +- Rename the VM: + +`VBoxManage modifyvm {{uuid|vm_name}} --name {{new_name}}` + +- Adjust memory and CPU: + +`VBoxManage modifyvm {{uuid|vm_name}} --memory {{2048}} --cpus {{2}}` + +- Enable Remote Display (VRDE): + +`VBoxManage modifyvm {{uuid|vm_name}} --vrde on` + +- Enable session recording: + +`VBoxManage modifyvm {{uuid|vm_name}} --recording on` diff --git a/pages/common/vboxmanage-movevm.md b/pages/common/vboxmanage-movevm.md new file mode 100644 index 00000000000000..d831edabbc922e --- /dev/null +++ b/pages/common/vboxmanage-movevm.md @@ -0,0 +1,12 @@ +# VBoxManage movevm + +> Move a virtual machine (VM) to a new location on the host system. +> More information: . + +- Move the specified virtual machine to the current location: + +`VBoxManage movevm {{vm_name}}` + +- Specify the new location (full or relative pathname) of the virtual machine: + +`VBoxManage movevm {{vm_name}} --folder {{path/to/new_location}}` diff --git a/pages/common/vboxmanage-registervm.md b/pages/common/vboxmanage-registervm.md new file mode 100644 index 00000000000000..8d4c9487c3c91a --- /dev/null +++ b/pages/common/vboxmanage-registervm.md @@ -0,0 +1,16 @@ +# VBoxManage registervm + +> Register a virtual machine (VM). +> More information: . + +- Register an existing VM: + +`VBoxManage registervm {{path/to/file.vbox}}` + +- Supply the encryption password file of the VM: + +`VBoxManage registervm {{path/to/file.vbox}} --password {{path/to/password_file}}` + +- Prompt for the encryption password on the command-line: + +`VBoxManage registervm {{path/to/file.vbox}} --password -` diff --git a/pages/common/vboxmanage-showvminfo.md b/pages/common/vboxmanage-showvminfo.md new file mode 100644 index 00000000000000..482e8304d5f9cb --- /dev/null +++ b/pages/common/vboxmanage-showvminfo.md @@ -0,0 +1,28 @@ +# VBoxManage showvminfo + +> Show information about registered virtual machine. +> More information: . + +- Show information about a particular virtual machine: + +`VBoxManage showvminfo {{vm_name|uuid}}` + +- Show more detailed information about a particular virtual machine: + +`VBoxManage showvminfo --details {{vm_name|uuid}}` + +- Show information in a machine readable format: + +`VBoxManage showvminfo --machinereadable {{vm_name|uuid}}` + +- Specify password ID if the virtual machine is encrypted: + +`VBoxManage showvminfo --password-id {{password_id}} {{vm_name|uuid}}` + +- Specify the password file if the virtual machine is encrypted: + +`VBoxManage showvminfo --password {{path/to/password_file}} {{vm_name|uuid}}` + +- Show the logs of a specific virtual machine: + +`VBoxManage showvminfo --log {{vm_name|uuid}}` diff --git a/pages/common/vboxmanage-startvm.md b/pages/common/vboxmanage-startvm.md new file mode 100644 index 00000000000000..f38e088875c5f0 --- /dev/null +++ b/pages/common/vboxmanage-startvm.md @@ -0,0 +1,24 @@ +# VBoxManage startvm + +> Start a virtual machine. +> More information: . + +- Start a virtual machine: + +`VBoxManage startvm {{vm_name|uuid}}` + +- Start a virtual machine with the specified UI mode: + +`VBoxManage startvm {{vm_name|uuid}} --type {{headless|gui|sdl|separate}}` + +- Specify a password file to start an encrypted virtual machine: + +`VBoxManage startvm {{vm_name|uuid}} --password {{path/to/password_file}}` + +- Specify a password ID to start an encrypted virtual machine: + +`VBoxManage startvm {{vm_name|uuid}} --password-id {{password_id}}` + +- Start a virtual machine with an environment variable pair name value: + +`VBoxManage startvm {{vm_name|uuid}} --put-env={{name}}={{value}}` diff --git a/pages/common/vboxmanage-unregistervm.md b/pages/common/vboxmanage-unregistervm.md new file mode 100644 index 00000000000000..4674b93eb61a45 --- /dev/null +++ b/pages/common/vboxmanage-unregistervm.md @@ -0,0 +1,16 @@ +# VBoxManage unregistervm + +> Unregister a virtual machine (VM). +> More information: . + +- Unregister an existing VM: + +`VBoxManage unregistervm {{uuid|vm_name}}` + +- Delete hard disk image files, all saved state files, VM logs, and XML VM machine files: + +`VBoxManage unregistervm {{uuid|vm_name}} --delete` + +- Delete all files from the VM: + +`VBoxManage unregistervm {{uuid|vm_name}} --delete-all` diff --git a/pages/common/vboxmanage.md b/pages/common/vboxmanage.md index 4524c664b58087..205a3ddefb1cd1 100644 --- a/pages/common/vboxmanage.md +++ b/pages/common/vboxmanage.md @@ -2,6 +2,7 @@ > Command-line interface to VirtualBox. > Includes all the functionality of the GUI and more. +> Some subcommands such as `startvm` have their own usage documentation. > More information: . - List all VirtualBox virtual machines: @@ -18,7 +19,7 @@ - Start a virtual machine in headless mode: -`VBoxManage startvm {{name|uuid}} -type headless` +`VBoxManage startvm {{name|uuid}} --type headless` - Shutdown the virtual machine and save its current state: @@ -31,3 +32,7 @@ - Update VBox extension packs: `VBoxManage extpack install --replace {{VboxExtensionPackFileName}}` + +- Display help: + +`VBoxManage --help` diff --git a/pages/common/vc.md b/pages/common/vc.md new file mode 100644 index 00000000000000..cbbbee28ff350e --- /dev/null +++ b/pages/common/vc.md @@ -0,0 +1,7 @@ +# vc + +> This command is an alias of `vercel`. + +- View documentation for the original command: + +`tldr vercel` diff --git a/pages/common/vcluster.md b/pages/common/vcluster.md new file mode 100644 index 00000000000000..81958e27fcfae2 --- /dev/null +++ b/pages/common/vcluster.md @@ -0,0 +1,36 @@ +# vcluster + +> Create and manage lightweight virtual Kubernetes clusters in namespaces. +> More information: . + +- Create a virtual cluster in a specific namespace: + +`vcluster create {{vcluster_name}} {{[-n|--namespace]}} {{namespace}}` + +- Connect to a virtual cluster with a local port and insecure mode: + +`vcluster connect {{vcluster_name}} {{[-n|--namespace]}} {{namespace}} --local-port {{port}} --insecure` + +- List all virtual clusters: + +`vcluster list` + +- Delete a virtual cluster: + +`vcluster delete {{vcluster_name}}` + +- List platform-managed virtual clusters: + +`vcluster platform list` + +- Create a platform-managed virtual cluster: + +`vcluster platform create {{vcluster_name}} {{[-n|--namespace]}} {{namespace}}` + +- Connect to a platform-managed virtual cluster: + +`vcluster platform connect {{vcluster_name}} {{[-n|--namespace]}} {{namespace}}` + +- Delete a platform-managed virtual cluster: + +`vcluster platform delete {{vcluster_name}} {{[-n|--namespace]}} {{namespace}}` diff --git a/pages/common/vcpkg.md b/pages/common/vcpkg.md new file mode 100644 index 00000000000000..7b9f5b6b60c529 --- /dev/null +++ b/pages/common/vcpkg.md @@ -0,0 +1,21 @@ +# vcpkg + +> Package manager for C/C++ libraries. +> Note: Packages are not installed in the system. To use them, you need to tell your build system (e.g. CMake) to use `vckg`. +> More information: . + +- Build and add package `libcurl` to the `vcpkg` environment: + +`vcpkg install curl` + +- Build and add `zlib` using the `emscripten` toolchain: + +`vcpkg install --triplet=wasm32-emscripten zlib` + +- Search for a package: + +`vcpkg search {{pkg_name}}` + +- Configure a CMake project to use `vcpkg` packages: + +`cmake -B build -DCMAKE_TOOLCHAIN_FILE={{path/to/vcpkg_install_directory}}/scripts/buildsystems/vcpkg.cmake` diff --git a/pages/common/vcsh.md b/pages/common/vcsh.md index 6847708a04074a..9f01bc6134f998 100644 --- a/pages/common/vcsh.md +++ b/pages/common/vcsh.md @@ -1,6 +1,7 @@ # vcsh > Version Control System for the home directory using Git repositories. +> See also: `chezmoi`, `stow`, `tuckr`, `homeshick`. > More information: . - Initialize an (empty) repository: @@ -23,6 +24,6 @@ `vcsh {{push|pull}}` -- Write a custom .gitignore file for a managed repository: +- Write a custom `.gitignore` file for a managed repository: `vcsh write-gitignore {{repository_name}}` diff --git a/pages/common/vdir.md b/pages/common/vdir.md index a87347f74621a4..007e8ca0c69f55 100644 --- a/pages/common/vdir.md +++ b/pages/common/vdir.md @@ -1,19 +1,20 @@ # vdir -> List directory contents. -> Drop-in replacement for `ls -l`. +> Verbosely list directory contents. +> Drop-in replacement for `ls -l -b`. +> More information: . - List files and directories in the current directory, one per line, with details: `vdir` -- List with sizes displayed in human readable units (KB, MB, GB): +- List with sizes displayed in human-readable units (KB, MB, GB): -`vdir -h` +`vdir {{[-h|--human-readable]}}` - List including hidden files (starting with a dot): -`vdir -a` +`vdir {{[-a|--all]}}` - List files and directories sorting entries by size (largest first): @@ -29,4 +30,4 @@ - Recursively list all files and directories in a specific directory: -`vdir --recursive {{path/to/directory}}` +`vdir {{[-R|--recursive]}} {{path/to/directory}}` diff --git a/pages/common/vectorize-pixelart.md b/pages/common/vectorize-pixelart.md new file mode 100644 index 00000000000000..19be6efffe617f --- /dev/null +++ b/pages/common/vectorize-pixelart.md @@ -0,0 +1,8 @@ +# vectorize-pixelart + +> Convert PNG pixel art graphics to SVG/EPS vector images. +> More information: . + +- Convert a PNG to a vector image format: + +`vectorize-pixelart {{path/to/input.png}} {{path/to/output.svg|.eps}}` diff --git a/pages/common/vegeta.md b/pages/common/vegeta.md index edc05f131976c8..83c33a41a5df7f 100644 --- a/pages/common/vegeta.md +++ b/pages/common/vegeta.md @@ -1,14 +1,14 @@ # vegeta -> A command line utility and a library for HTTP load testing. -> See also `ab`. +> A utility and a library for HTTP load testing. +> See also: `ab`. > More information: . - Launch an attack lasting 30 seconds: `echo "{{GET https://example.com}}" | vegeta attack -duration={{30s}}` -- Launch an attack on a server with a self-signed https certificate: +- Launch an attack on a server with a self-signed HTTPS certificate: `echo "{{GET https://example.com}}" | vegeta attack -insecure -duration={{30s}}` diff --git a/pages/common/vela.md b/pages/common/vela.md index 8801cce468afd5..a4ad9457eee26b 100644 --- a/pages/common/vela.md +++ b/pages/common/vela.md @@ -1,7 +1,7 @@ # vela -> Command line tools for the Vela pipeline. -> More information: . +> Tools for the Vela pipeline. +> More information: . - Trigger a pipeline to run from a Git branch, commit or tag: diff --git a/pages/common/velero.md b/pages/common/velero.md index 8df1ba98d9a20a..77902cf4d6f79d 100644 --- a/pages/common/velero.md +++ b/pages/common/velero.md @@ -1,7 +1,7 @@ # velero > Backup and migrate Kubernetes applications and their persistent volumes. -> More information: . +> More information: . - Create a backup containing all resources: diff --git a/pages/common/venv.md b/pages/common/venv.md new file mode 100644 index 00000000000000..d81c993509f34f --- /dev/null +++ b/pages/common/venv.md @@ -0,0 +1,24 @@ +# venv + +> Create lightweight virtual environments in Python. +> More information: . + +- Create a Python virtual environment: + +`python -m venv {{path/to/virtual_environment}}` + +- Activate the virtual environment (Linux and macOS): + +`{{[.|source]}} {{path/to/virtual_environment}}/bin/activate` + +- Activate the virtual environment (Windows): + +`{{path\to\virtual_environment}}\Scripts\activate.bat` + +- Deactivate the virtual environment: + +`deactivate` + +- Create an alias that generates a `venv` folder and automatically activates it: + +`alias venv='python -m venv .venv && source {{.venv/bin/activate|.venv\Scripts\activate.bat}}'` diff --git a/pages/common/vercel.md b/pages/common/vercel.md new file mode 100644 index 00000000000000..ae8d7f6b5bd2d1 --- /dev/null +++ b/pages/common/vercel.md @@ -0,0 +1,36 @@ +# vercel + +> Deploy and manage your Vercel deployments. +> More information: . + +- Deploy the current directory: + +`vercel` + +- Deploy the current directory to production: + +`vercel --prod` + +- Deploy a directory: + +`vercel {{path/to/project}}` + +- Initialize an example project: + +`vercel init` + +- Deploy with environment variables: + +`vercel {{[-e|--env]}} {{ENV}}={{var}}` + +- Build with environment variables: + +`vercel {{[-b|--build-env]}} {{ENV}}={{var}}` + +- Set default regions to enable the deployment on: + +`vercel --regions {{region_id}}` + +- Remove a deployment: + +`vercel remove {{project_name}}` diff --git a/pages/common/verilator.md b/pages/common/verilator.md new file mode 100644 index 00000000000000..e289c232f391b8 --- /dev/null +++ b/pages/common/verilator.md @@ -0,0 +1,20 @@ +# verilator + +> Convert Verilog and SystemVerilog hardware description language (HDL) design into a C++ or SystemC model to be executed after compiling. +> More information: . + +- Build a specific C project in the current directory: + +`verilator --binary --build-jobs 0 -Wall {{path/to/source.v}}` + +- Create a C++ executable in a specific folder: + +`verilator --cc --exe --build --build-jobs 0 -Wall {{path/to/source.cpp}} {{path/to/output.v}}` + +- Perform linting over a code in the current directory: + +`verilator --lint-only -Wall` + +- Create XML output about the design (files, modules, instance hierarchy, logic and data types) to feed into other tools: + +`verilator --xml-output -Wall {{path/to/output.xml}}` diff --git a/pages/common/vertical-bar.md b/pages/common/vertical-bar.md new file mode 100644 index 00000000000000..cb4e8a0e100226 --- /dev/null +++ b/pages/common/vertical-bar.md @@ -0,0 +1,12 @@ +# | + +> Pipe data between programs. +> More information: . + +- Pipe `stdout` to `stdin`: + +`{{command}} | {{command}}` + +- Pipe both `stdout` and `stderr` to `stdin`: + +`{{command}} |& {{command}}` diff --git a/pages/common/vf.md b/pages/common/vf.md new file mode 100644 index 00000000000000..463c76cb240e3b --- /dev/null +++ b/pages/common/vf.md @@ -0,0 +1,36 @@ +# vf + +> VirtualFish is a fish shell tool for managing Python virtual environments. +> More information: . + +- Create a virtual environment: + +`vf new {{virtualenv_name}}` + +- Create a virtual environment for a specific Python version: + +`vf new --python {{/usr/local/bin/python3.8}} {{virtualenv_name}}` + +- Activate and use the specified virtual environment: + +`vf activate {{virtualenv_name}}` + +- Connect the current virtualenv to the current directory, so that it is activated automatically as soon as you enter it (and deactivated as soon as you leave): + +`vf connect` + +- Deactivate the current virtual environment: + +`vf deactivate` + +- List all virtual environments: + +`vf ls` + +- Remove a virtual environment: + +`vf rm {{virtualenv_name}}` + +- Display help: + +`vf help` diff --git a/pages/common/vgmstream_cli.md b/pages/common/vgmstream_cli.md new file mode 100644 index 00000000000000..e32e9577f38034 --- /dev/null +++ b/pages/common/vgmstream_cli.md @@ -0,0 +1,28 @@ +# vgmstream_cli + +> Play a wide variety of audio formats used in video games and convert them into `wav`. +> More information: . + +- Decode an `adc` file to `wav`. (Default output name is `input.wav`): + +`vgmstream_cli {{path/to/input.adc}} -o {{path/to/output.wav}}` + +- Print metadata without decoding the audio: + +`vgmstream_cli {{path/to/input.adc}} -m` + +- Decode an audio file without loops: + +`vgmstream_cli {{path/to/input.adc}} -o {{path/to/output.wav}} -i` + +- Decode with three loops, then add a 3s delay followed by a 5s fadeout: + +`vgmstream_cli {{path/to/input.adc}} -o {{path/to/output.wav}} -l {{3.0}} -f {{5.0}} -d {{3.0}}` + +- Convert multiple files to `bgm_(original name).wav` (Default `-o` pattern is `?f.wav`): + +`vgmstream_cli -o {{path/to/bgm_?f.wav}} {{path/to/file1.adc path/to/file2.adc ...}}` + +- Play the file looping endlessly (`channels` and `rate` must match metadata): + +`vgmstream_cli {{path/to/input.adc}} -pec | aplay --format cd --channels {{1}} --rate {{44100}}` diff --git a/pages/common/vgrep.md b/pages/common/vgrep.md new file mode 100644 index 00000000000000..893763408eccc7 --- /dev/null +++ b/pages/common/vgrep.md @@ -0,0 +1,33 @@ +# vgrep + +> A user friendly pager for grep. +> See also: `ugrep`, `rg`. +> More information: . + +- Recursively search the current directory for a pattern and cache it: + +`vgrep {{search_pattern}}` + +- Display the contents of the cache: + +`vgrep` + +- Open the "4th" match from the cache in the default editor: + +`vgrep {{[-s|--show]}} {{4}}` + +- Display a context of "3" lines for each match in the cache: + +`vgrep {{[-s|--show]}} {{[c|context]}}{{3}}` + +- Display the number of matches for each directory in the tree: + +`vgrep {{[-s|--show]}} {{[t|tree]}}` + +- Display the number of matches for each file in the tree: + +`vgrep {{[-s|--show]}} {{[f|files]}}` + +- Start an interactive shell with cached matches: + +`vgrep {{[-i|--interactive]}}` diff --git a/pages/common/vhs.md b/pages/common/vhs.md new file mode 100644 index 00000000000000..c29bf28ec4bdbe --- /dev/null +++ b/pages/common/vhs.md @@ -0,0 +1,32 @@ +# vhs + +> Generate terminal GIFs from a tape file. +> More information: . + +- Create a tape file (add commands to the tape file using an editor): + +`vhs new {{path/to/file.tape}}` + +- Record inputs to a tape file: + +`vhs record > {{path/to/file.tape}}` + +- Record inputs to a tape file using a specific shell: + +`vhs record {{[-s|--shell]}} {{shell}} > {{path/to/file.tape}}` + +- Stop recording: + +`exit` + +- Validate the syntax of a tape file: + +`vhs validate {{path/to/file.tape}}` + +- Create a GIF from a tape file: + +`vhs {{path/to/file.tape}}` + +- Publish a GIF to and get a shareable URL: + +`vhs publish {{path/to/file.gif}}` diff --git a/pages/common/vi.md b/pages/common/vi.md new file mode 100644 index 00000000000000..7f0639b62e3890 --- /dev/null +++ b/pages/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> This command is an alias of `vim`. + +- View documentation for the original command: + +`tldr vim` diff --git a/pages/common/vidir.md b/pages/common/vidir.md new file mode 100644 index 00000000000000..24d03c394e9ee4 --- /dev/null +++ b/pages/common/vidir.md @@ -0,0 +1,24 @@ +# vidir + +> Edit directories in a text editor. +> More information: . + +- Edit the contents of the specified directories: + +`vidir {{path/to/directory1 path/to/directory2 ...}}` + +- Display each action taken by the program: + +`vidir {{[-v|--verbose]}} {{path/to/directory1 path/to/directory2 ...}}` + +- Edit the contents of current directory: + +`vidir` + +- Use the specified text editor: + +`EDITOR={{vim}} vidir {{path/to/directory1 path/to/directory2 ...}}` + +- Read a list of files to edit from `stdin`: + +`{{command}} | vidir -` diff --git a/pages/common/view.md b/pages/common/view.md index c3e8463007e5fd..f02d6db4151074 100644 --- a/pages/common/view.md +++ b/pages/common/view.md @@ -2,7 +2,8 @@ > A read-only version of `vim`. > This is equivalent to `vim -R`. +> More information: . - Open a file: -`view {{file}}` +`view {{path/to/file}}` diff --git a/pages/common/vifm.md b/pages/common/vifm.md new file mode 100644 index 00000000000000..2f656b168d0614 --- /dev/null +++ b/pages/common/vifm.md @@ -0,0 +1,13 @@ +# vifm + +> VI File Manager is a TUI file manager. +> See also: `clifm`, `vifm`, `mc`, `caja`. +> More information: . + +- Open the current directory: + +`vifm .` + +- Open specified directories on left or right plane: + +`vifm {{path/to/directory1 path/to/directory2 ...}}` diff --git a/pages/common/vim.md b/pages/common/vim.md index 08d9fdfc8f46bd..26cc9c54d46074 100644 --- a/pages/common/vim.md +++ b/pages/common/vim.md @@ -1,37 +1,38 @@ # vim > Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation. -> Pressing `i` enters edit mode. `` goes back to normal mode, which doesn't allow regular text insertion. +> Pressing `` in normal mode enters insert mode. Pressing `` goes back to normal mode, which enables the use of Vim commands. +> See also: `vimdiff`, `vimtutor`, `nvim`, `gvim`. > More information: . - Open a file: `vim {{path/to/file}}` -- View Vim's help manual: +- Open a file at a specified line number: -`:help` +`vim +{{line_number}} {{path/to/file}}` -- Save and Quit: +- View Vim's help manual: -`:wq` +`<:>help` -- Open a file at a specified line number: +- Save and quit the current buffer: -`vim +{{line_number}} {{path/to/file}}` +`{{|<:>x|<:>wq}}` -- Undo the last operation: +- Enter normal mode and undo the last operation: -`u` +`` -- Search for a pattern in the file (press `n`/`N` to go to next/previous match): +- Search for a pattern in the file (press ``/`` to go to next/previous match): -`/{{search_pattern}}` +`{{search_pattern}}` -- Perform a regex substitution in the whole file: +- Perform a `regex` substitution in the whole file: -`:%s/{{pattern}}/{{replacement}}/g` +`<:>%s/{{regex}}/{{replacement}}/g` - Display the line numbers: -`:set nu` +`<:>set nu` diff --git a/pages/common/vimdiff.md b/pages/common/vimdiff.md index 3fb83a05b97670..e2151dd57c1233 100644 --- a/pages/common/vimdiff.md +++ b/pages/common/vimdiff.md @@ -1,37 +1,37 @@ # vimdiff > Open up two or more files in vim and show the differences between them. -> See also `vim`. +> See also: `vim`, `vimtutor`, `nvim`. > More information: . - Open two files and show the differences: -`vimdiff {{file1}} {{file2}}` +`vimdiff {{path/to/file1}} {{path/to/file2}}` - Move the cursor to the window on the left|right: -`Ctrl + w {{h|l}}` +`{{|}}` -- Jump to the next difference: +- Jump to the previous difference: -`[c` +`<[>` -- Jump to the previous difference: +- Jump to the next difference: -`]c` +`<]>` - Copy the highlighted difference from the other window to the current window: -`do` +`` - Copy the highlighted difference from the current window to the other window: -`dp` +`

` - Update all highlights and folds: -`:diffupdate` +`<:>diffupdate` - Toggle the highlighted code fold: -`za` +`` diff --git a/pages/common/vimtutor.md b/pages/common/vimtutor.md index e00e6d4254873e..85d5fbeb938ef2 100644 --- a/pages/common/vimtutor.md +++ b/pages/common/vimtutor.md @@ -1,6 +1,8 @@ # vimtutor > Vim tutor, teaching the basic vim commands. +> See also: `vim`, `vimdiff`, `nvim`. +> More information: . - Launch the vim tutor using the given language (en, fr, de, ...): @@ -8,4 +10,4 @@ - Exit the tutor: -` :q ` +`<:>q` diff --git a/pages/common/vinmap.md b/pages/common/vinmap.md new file mode 100644 index 00000000000000..5a27b7bba1852e --- /dev/null +++ b/pages/common/vinmap.md @@ -0,0 +1,24 @@ +# vinmap + +> A multithreaded Nmap scanner that splits IP ranges into chunks, performs parallel scans, and merges XML or JSON results. +> More information: . + +- Perform a basic scan of a subnet: + +`vinmap {{[-ip|--ip_range]}} {{192.168.1.0/24}}` + +- Scan a domain with version and OS detection, saving results to a specific file: + +`vinmap {{[-ip|--ip_range]}} {{example.com}} {{[-s|--scan_type]}} "-sV -O" -o {{path/to/scan_results.xml}}` + +- Scan an IP range using 10 chunks and 20 concurrent threads, uses half of the system's CPU cores if not specified: + +`vinmap {{[-ip|--ip_range]}} {{10.0.0.1-10.0.0.255}} {{[-n|--num_chunks]}} 10 {{[-t|--threads]}} 20` + +- Output scan results in JSON format: + +`vinmap {{[-ip|--ip_range]}} {{192.168.1.1-192.168.1.100}} {{[-f|--format]}} json` + +- Scan multiple IPs with default settings and save merged XML output: + +`vinmap {{[-ip|--ip_range]}} {{192.168.1.1,192.168.1.2,...}}` diff --git a/pages/common/vipe.md b/pages/common/vipe.md new file mode 100644 index 00000000000000..4cec08725b259e --- /dev/null +++ b/pages/common/vipe.md @@ -0,0 +1,16 @@ +# vipe + +> Run a text editor in the middle of a UNIX pipeline. +> More information: . + +- Edit the output of `command1` before piping it into `command2`: + +`{{command1}} | vipe | {{command2}}` + +- Buffer the output of `command1` in a temporary file with the specified file extension in order to aid syntax highlighting: + +`{{command1}} | vipe --suffix {{json}} | {{command2}}` + +- Use the specified text editor: + +`{{command1}} | EDITOR={{vim}} vipe | {{command2}}` diff --git a/pages/common/virsh-connect.md b/pages/common/virsh-connect.md new file mode 100644 index 00000000000000..eee6aad7044842 --- /dev/null +++ b/pages/common/virsh-connect.md @@ -0,0 +1,21 @@ +# virsh connect + +> Connect to a virtual machine hypervisor. +> See also: `virsh`. +> More information: . + +- Connect to the default hypervisor: + +`virsh connect` + +- Connect as root to the local QEMU/KVM hypervisor: + +`virsh connect qemu:///system` + +- Launch a new instance of the hypervisor and connect to it as the local user: + +`virsh connect qemu:///session` + +- Connect as root to a remote hypervisor using SSH: + +`virsh connect qemu+ssh://{{user_name@host_name}}/system` diff --git a/pages/common/virsh-domblklist.md b/pages/common/virsh-domblklist.md new file mode 100644 index 00000000000000..e875f54fbe18d3 --- /dev/null +++ b/pages/common/virsh-domblklist.md @@ -0,0 +1,13 @@ +# virsh domblklist + +> List information about block devices associated with a virtual machine. +> See also: `virsh`. +> More information: . + +- List the target name and source path of the block devices: + +`virsh domblklist --domain {{vm_name}}` + +- List the disk type and device value as well as the target name and source path: + +`virsh domblklist --domain {{vm_name}} --details` diff --git a/pages/common/virsh-help.md b/pages/common/virsh-help.md new file mode 100644 index 00000000000000..61f3111b808a18 --- /dev/null +++ b/pages/common/virsh-help.md @@ -0,0 +1,21 @@ +# virsh help + +> Display information about `virsh` commands or command groups. +> See also: `virsh`. +> More information: . + +- List the `virsh` commands grouped into related categories: + +`virsh help` + +- List the command categories: + +`virsh help | grep "keyword"` + +- List the commands in a category: + +`virsh help {{category_keyword}}` + +- Display help for a command: + +`virsh help {{command}}` diff --git a/pages/common/virsh-list.md b/pages/common/virsh-list.md new file mode 100644 index 00000000000000..6361e4d09c84c1 --- /dev/null +++ b/pages/common/virsh-list.md @@ -0,0 +1,21 @@ +# virsh list + +> List the ID, name, and state of virtual machines. +> See also: `virsh`. +> More information: . + +- List information about running virtual machines: + +`virsh list` + +- List information about virtual machines regardless of state: + +`virsh list --all` + +- List information about virtual machines with autostart either enabled or disabled: + +`virsh list --all --{{autostart|no-autostart}}` + +- List information about virtual machines either with or without snapshots: + +`virsh list --all --{{with-snapshot|without-snapshot}}` diff --git a/pages/common/virsh-pool-autostart.md b/pages/common/virsh-pool-autostart.md new file mode 100644 index 00000000000000..2d933b1fb94752 --- /dev/null +++ b/pages/common/virsh-pool-autostart.md @@ -0,0 +1,13 @@ +# virsh pool-autostart + +> Enable or disable autostart for a virtual machine storage pool. +> See also: `virsh`. +> More information: . + +- Enable autostart for the storage pool specified by name or UUID (determine using `virsh pool-list`): + +`virsh pool-autostart --pool {{name|uuid}}` + +- Disable autostart for the storage pool specified by name or UUID: + +`virsh pool-autostart --pool {{name|uuid}} --disable` diff --git a/pages/common/virsh-pool-build.md b/pages/common/virsh-pool-build.md new file mode 100644 index 00000000000000..330dff8df6a5fc --- /dev/null +++ b/pages/common/virsh-pool-build.md @@ -0,0 +1,9 @@ +# virsh pool-build + +> Build the underlying storage system for a virtual machine storage pool as defined in it's configuration file in `/etc/libvirt/storage`. +> See also: `virsh`, `virsh-pool-define-as`, `virsh-pool-start`. +> More information: . + +- Build the storage pool specified by name or UUID (determine using `virsh pool-list`): + +`virsh pool-build --pool {{name|uuid}}` diff --git a/pages/common/virsh-pool-define-as.md b/pages/common/virsh-pool-define-as.md new file mode 100644 index 00000000000000..cd4d7844eed308 --- /dev/null +++ b/pages/common/virsh-pool-define-as.md @@ -0,0 +1,9 @@ +# virsh pool-define-as + +> Create a configuration file in `/etc/libvirt/storage` for a persistent virtual machine storage pool from the provided arguments. +> See also: `virsh`, `virsh-pool-build`, `virsh-pool-start`. +> More information: . + +- Create the configuration file for a storage pool called pool_name using `/var/vms` as the underlying storage system: + +`virsh pool-define-as --name {{pool_name}} --type {{dir}} --target {{/var/vms}}` diff --git a/pages/common/virsh-pool-delete.md b/pages/common/virsh-pool-delete.md new file mode 100644 index 00000000000000..8ce04c261b5dad --- /dev/null +++ b/pages/common/virsh-pool-delete.md @@ -0,0 +1,9 @@ +# virsh pool-delete + +> Delete the underlying storage system of an inactive virtual machine storage pool. +> See also: `virsh`, `virsh-pool-destroy`, `virsh-pool-undefine`. +> More information: . + +- Delete the underlying storage system for the storage pool specified by name or UUID (determine using `virsh pool-list`): + +`virsh pool-delete --pool {{name|uuid}}` diff --git a/pages/common/virsh-pool-destroy.md b/pages/common/virsh-pool-destroy.md new file mode 100644 index 00000000000000..34402e8ca1ca13 --- /dev/null +++ b/pages/common/virsh-pool-destroy.md @@ -0,0 +1,9 @@ +# virsh pool-destroy + +> Stop an active virtual machine storage pool. +> See also: `virsh`, `virsh-pool-delete`. +> More information: . + +- Stop a storage pool specified by name or UUID (determine using `virsh pool-list`): + +`virsh pool-destroy --pool {{name|uuid}}` diff --git a/pages/common/virsh-pool-info.md b/pages/common/virsh-pool-info.md new file mode 100644 index 00000000000000..5b932a0e73aec4 --- /dev/null +++ b/pages/common/virsh-pool-info.md @@ -0,0 +1,9 @@ +# virsh pool-info + +> List information about a virtual machine storage pool. +> See also: `virsh`. +> More information: . + +- List the name, UUID, state, persistence type, autostart status, capacity, space allocated, and space available for the storage pool specified by name or UUID (determine using `virsh pool-list`): + +`virsh pool-info --pool {{name|uuid}}` diff --git a/pages/common/virsh-pool-list.md b/pages/common/virsh-pool-list.md new file mode 100644 index 00000000000000..d35a6dbab22333 --- /dev/null +++ b/pages/common/virsh-pool-list.md @@ -0,0 +1,29 @@ +# virsh pool-list + +> List information about virtual machine storage pools. +> See also: `virsh`, `virsh-pool-autostart`, `virsh-pool-define-as`. +> More information: . + +- List the name, state, and whether autostart is enabled or disabled for active storage pools: + +`virsh pool-list` + +- List information for active and inactive or just inactive storage pools: + +`virsh pool-list --{{all|inactive}}` + +- List extended information about persistence, capacity, allocation, and available space for active storage pools: + +`virsh pool-list --details` + +- List information for active storage pools with either autostart enabled or disabled: + +`virsh pool-list --{{autostart|no-autostart}}` + +- List information for active storage pools that are either persistent or transient: + +`virsh pool-list --{{persistent|transient}}` + +- List the name and UUID of active storage pools: + +`virsh pool-list --name --uuid` diff --git a/pages/common/virsh-pool-start.md b/pages/common/virsh-pool-start.md new file mode 100644 index 00000000000000..e3480e82f0b158 --- /dev/null +++ b/pages/common/virsh-pool-start.md @@ -0,0 +1,9 @@ +# virsh pool-start + +> Start a previously configured but inactive virtual machine storage pool. +> See also: `virsh`, `virsh-pool-define-as`, `virsh-pool-destroy`. +> More information: . + +- Start the storage pool specified by name or UUID (determine using `virsh pool-list`) and create the underlying storage system if it doesn't exist: + +`virsh pool-start --pool {{name|uuid}} --build` diff --git a/pages/common/virsh-pool-undefine.md b/pages/common/virsh-pool-undefine.md new file mode 100644 index 00000000000000..dd57dd52a5b39d --- /dev/null +++ b/pages/common/virsh-pool-undefine.md @@ -0,0 +1,9 @@ +# virsh pool-undefine + +> Delete the configuration file in `/etc/libvirt/storage` for a stopped virtual machine storage pool. +> See also: `virsh`, `virsh-pool-destroy`. +> More information: . + +- Delete the configuration for the storage pool specified name or UUID (determine using `virsh pool-list`): + +`virsh pool-undefine --pool {{name|uuid}}` diff --git a/pages/common/virsh-undefine.md b/pages/common/virsh-undefine.md new file mode 100644 index 00000000000000..c696218db38c05 --- /dev/null +++ b/pages/common/virsh-undefine.md @@ -0,0 +1,16 @@ +# virsh undefine + +> Delete a virtual machine. +> More information: . + +- Delete only the virtual machine configuration file: + +`virsh undefine --domain {{vm_name}}` + +- Delete the configuration file and all associated storage volumes: + +`virsh undefine --domain {{vm_name}} --remove-all-storage` + +- Delete the configuration file and the specified storage volumes using the target name or the source name (as obtained from the `virsh domblklist` command): + +`virsh undefine --domain {{vm_name}} --storage {{sda,sdb,path/to/source,...}}` diff --git a/pages/common/virsh.md b/pages/common/virsh.md index b34d0bcf19e6c5..56e861b579e7e0 100644 --- a/pages/common/virsh.md +++ b/pages/common/virsh.md @@ -1,20 +1,20 @@ # virsh -> Manage virsh guest domains. -> NOTE: 'guest_id' can be the id, name or UUID of the guest. -> More information: . +> Manage `virsh` guest domains. (Note: `guest_id` can be the ID, name or UUID of the guest). +> Some subcommands such as `list` have their own usage documentation. +> More information: . - Connect to a hypervisor session: -`virsh connect {{qemu://system}}` +`virsh connect {{qemu:///system}}` -- List all domains: +- Activate a network named `default`: -`virsh list --all` +`sudo virsh net-start {{default}}` -- Dump guest configuration file: +- List all domains: -`virsh dumpxml {{guest_id}} > {{path/to/guest.xml}}` +`virsh list --all` - Create a guest from a configuration file: diff --git a/pages/common/virt-clone.md b/pages/common/virt-clone.md new file mode 100644 index 00000000000000..4e4df7675921ac --- /dev/null +++ b/pages/common/virt-clone.md @@ -0,0 +1,12 @@ +# virt-clone + +> Clone a libvirt virtual machine. +> More information: . + +- Clone a virtual machine and automatically generate a new name, storage path, and MAC address: + +`virt-clone {{[-o|--original]}} {{vm_name}} --auto-clone` + +- Clone a virtual machine and specify the new name, storage path, and MAC address: + +`virt-clone {{[-o|--original]}} {{vm_name}} {{[-n|--name]}} {{new_vm_name}} {{[-f|--file]}} {{path/to/new_storage}} {{[-m|--mac]}} {{ff:ff:ff:ff:ff:ff|RANDOM}}` diff --git a/pages/common/virt-install.md b/pages/common/virt-install.md index 963ec9dea7df37..4a1129d18c00fc 100644 --- a/pages/common/virt-install.md +++ b/pages/common/virt-install.md @@ -1,8 +1,24 @@ # virt-install > Create virtual machines with libvirt and begin OS installation. -> More information: . +> More information: . -- Create a virtual machine with 1 GiB RAM and 12 GiB storage and start Debian installation: +- Create a virtual machine with 1 GB RAM and 12 GB storage and start a Debian installation: -`virt-install --memory {{1024}} --disk path={{path/to/image.qcow2}},size={{12}} --cdrom {{path/to/debian.iso}}` +`virt-install {{[-n|--name]}} {{vm_name}} --memory {{1024}} --disk path={{path/to/image.qcow2}},size={{12}} {{[-c|--cdrom]}} {{path/to/debian.iso}}` + +- Create a x86-64, KVM-accelerated, UEFI-based virtual machine with the Q35 chipset, 4 GiB RAM, 16 GiB RAW storage, and start a Fedora installation: + +`virt-install {{[-n|--name]}} {{vm_name}} --arch {{x86_64}} --virt-type {{kvm}} --machine {{q35}} --boot {{uefi}} --memory {{4096}} --disk path={{path/to/image.raw}},size={{16}} {{[-c|--cdrom]}} {{path/to/fedora.iso}}` + +- Create a diskless live virtual machine without an emulated sound device or a USB controller. Don't start an installation and don't autoconnect to console but attach a cdrom to it (might be useful for when using a live CD like tails): + +`virt-install {{[-n|--name]}} {{vm_name}} --memory {{512}} --disk {{none}} --controller {{type=usb,model=none}} --sound {{none}} --autoconsole {{none}} --install {{no_install=yes}} {{[-c|--cdrom]}} {{path/to/tails.iso}}` + +- Create a virtual machine with 16 GiB RAM, 250 GiB storage, 8 cores with hyperthreading, a specific CPU topology, and a CPU model that shares most features with the host CPU: + +`virt-install {{[-n|--name]}} {{vm_name}} --cpu {{host-model}},topology.sockets={{1}},topology.cores={{4}},topology.threads={{2}} --memory {{16384}} --disk path={{path/to/image.qcow2}},size={{250}} {{[-c|--cdrom]}} {{path/to/debian.iso}}` + +- Create a virtual machine and kickstart an automated deployment based on Fedora 35 using only remote resources (no ISO required): + +`virt-install {{[-n|--name]}} {{vm_name}} --memory {{2048}} --disk path={{path/to/image.qcow2}},size={{20}} {{[-l|--location]}} {{https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/}} {{[-x|--extra-args]}} "{{inst.ks=https://path/to/valid/kickstart.org}}"` diff --git a/pages/common/virt-qemu-run.md b/pages/common/virt-qemu-run.md new file mode 100644 index 00000000000000..ded895038ae4c4 --- /dev/null +++ b/pages/common/virt-qemu-run.md @@ -0,0 +1,20 @@ +# virt-qemu-run + +> Experimental tool to run a QEMU Guest VM independent of `libvirtd`. +> More information: . + +- Run a QEMU virtual machine: + +`virt-qemu-run {{path/to/guest.xml}}` + +- Run a QEMU virtual machine and store the state in a specific directory: + +`virt-qemu-run {{[-r|--root]}} {{path/to/directory}} {{path/to/guest.xml}}` + +- Run a QEMU virtual machine and display verbose information about the startup: + +`virt-qemu-run {{[-v|--verbose]}} {{path/to/guest.xml}}` + +- Display help: + +`virt-qemu-run {{[-h|--help]}}` diff --git a/pages/common/virt-sparsify.md b/pages/common/virt-sparsify.md index a4d08a39475bbe..491449bf29d8c7 100644 --- a/pages/common/virt-sparsify.md +++ b/pages/common/virt-sparsify.md @@ -1,8 +1,8 @@ # virt-sparsify > Make virtual machine drive images thin-provisioned. -> NOTE: Use only for offline machines to avoid data corruption. -> Home page: . +> Note: Use only for offline machines to avoid data corruption. +> More information: . - Create a sparsified compressed image without snapshots from an unsparsified one: diff --git a/pages/common/virt-sysprep.md b/pages/common/virt-sysprep.md new file mode 100644 index 00000000000000..7fa9afb704e8fb --- /dev/null +++ b/pages/common/virt-sysprep.md @@ -0,0 +1,28 @@ +# virt-sysprep + +> Reset, unconfigure, or customize a virtual machine image. +> More information: . + +- List all supported operations (enabled operations are indicated with asterisks): + +`virt-sysprep --list-operations` + +- Remove sensitive system data from a virtual machine image: + +`sudo virt-sysprep {{[-a|--add]}} {{path/to/image.qcow2}}` + +- Specify a virtual machine by its name and run all enabled operations but don't actually apply the changes: + +`sudo virt-sysprep {{[-d|--domain]}} {{vm_name}} {{[-n|--dry-run]}}` + +- Run only the specified operations: + +`sudo virt-sysprep {{[-d|--domain]}} {{vm_name}} --operations {{operation1,operation2,...}}` + +- Generate a new `/etc/machine-id` file and enable customizations to be able to change the host name to avoid network conflicts: + +`sudo virt-sysprep {{[-d|--domain]}} {{vm_name}} --enable {{customizations}} --hostname {{host_name}} --operation {{machine-id}}` + +- Display help: + +`virt-sysprep {{[-he|--help]}}` diff --git a/pages/common/virtualenv.md b/pages/common/virtualenv.md index 0b43a3d6b64366..6c46c08d595d04 100644 --- a/pages/common/virtualenv.md +++ b/pages/common/virtualenv.md @@ -1,7 +1,7 @@ # virtualenv > Create virtual isolated Python environments. -> More information: . +> More information: . - Create a new environment: @@ -9,11 +9,11 @@ - Customize the prompt prefix: -`virtualenv --prompt={{prompt_prefix}} {{path/to/venv}}` +`virtualenv --prompt {{prompt_prefix}} {{path/to/venv}}` - Use a different version of Python with virtualenv: -`virtualenv --python={{path/to/pythonbin}} {{path/to/venv}}` +`virtualenv {{[-p|--python]}} {{path/to/pythonbin}} {{path/to/venv}}` - Start (select) the environment: diff --git a/pages/common/virtualenvwrapper.md b/pages/common/virtualenvwrapper.md index ec3261fd3bb4e8..55da07d5c6d439 100644 --- a/pages/common/virtualenvwrapper.md +++ b/pages/common/virtualenvwrapper.md @@ -1,7 +1,7 @@ # virtualenvwrapper > Group of simple wrapper commands for Python's `virtualenv` tool. -> More information: . +> More information: . - Create a new Python `virtualenv` in `$WORKON_HOME`: diff --git a/pages/common/visudo.md b/pages/common/visudo.md index 18665e8d39f5e0..6b5d7601715562 100644 --- a/pages/common/visudo.md +++ b/pages/common/visudo.md @@ -1,11 +1,20 @@ # visudo > Safely edit the sudoers file. +> More information: . -- Edit sudoers file: +- Edit the sudoers file: `sudo visudo` -- Check sudoers file for errors: +- Check the sudoers file for errors: -`sudo visudo -c` +`sudo visudo {{[-c|--check]}}` + +- Edit the sudoers file using a specific editor: + +`sudo EDITOR={{editor}} visudo` + +- Display version information: + +`visudo {{[-V|--version]}}` diff --git a/pages/common/vite.md b/pages/common/vite.md new file mode 100644 index 00000000000000..d8ff77b500c822 --- /dev/null +++ b/pages/common/vite.md @@ -0,0 +1,22 @@ +# Vite + +> Create a Vite project. +> Used to build JavaScript projects. +> Available templates: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-swc-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts. +> More information: . + +- Setup using `npm` 6.x: + +`npm create vite@latest my-react-app --template react-ts` + +- Setup using `npm` 7+, extra double-dash is needed: + +`npm create vite@latest my-react-app -- --template react-ts` + +- Setup using `yarn`: + +`yarn create vite my-react-app --template react-ts` + +- Setup using `pnpm`: + +`pnpm create vite my-react-app --template react-ts` diff --git a/pages/common/vitest.md b/pages/common/vitest.md new file mode 100644 index 00000000000000..b9a4c8d03f4332 --- /dev/null +++ b/pages/common/vitest.md @@ -0,0 +1,36 @@ +# vitest + +> Fast, modern testing framework built for Vite, offering seamless integration, TypeScript support, and a Jest-compatible API for unit, integration, and snapshot testing. +> More information: . + +- Run all available tests: + +`vitest run` + +- Run the test suites from the given files: + +`vitest run {{path/to/file1 path/to/file2 ...}}` + +- Run the test suites from files within the current and subdirectories, whose paths match the given `regex`: + +`vitest run {{regex1}} {{regex2}}` + +- Run the tests whose names match the given `regex`: + +`vitest run --testNamePattern {{regex}}` + +- Watch files for changes and automatically re-run related tests: + +`vitest` + +- Run tests with coverage: + +`vitest run --coverage` + +- Run all tests but stops immediately after the first test failure: + +`vitest run --bail=1` + +- Display help: + +`vitest --help` diff --git a/pages/common/viu.md b/pages/common/viu.md new file mode 100644 index 00000000000000..b057a0b47e6f92 --- /dev/null +++ b/pages/common/viu.md @@ -0,0 +1,24 @@ +# viu + +> View images on the terminal. +> More information: . + +- Render an image or animated GIF: + +`viu {{path/to/file}}` + +- Render an image or GIF from the internet using `curl`: + +`curl {{[-s|--silent]}} {{https://example.com/image.png}} | viu -` + +- Render an image with a transparent background: + +`viu {{[-t|--transparent]}} {{path/to/file}}` + +- Render an image with a specific width and height in pixels: + +`viu {{[-w|--width]}} {{width}} {{[-h|--height]}} {{height}} {{path/to/file}}` + +- Render an image or GIF and display its file name: + +`viu {{[-n|--name]}} {{path/to/file}}` diff --git a/pages/common/vivaldi.md b/pages/common/vivaldi.md new file mode 100644 index 00000000000000..64e05ef4efafaf --- /dev/null +++ b/pages/common/vivaldi.md @@ -0,0 +1,8 @@ +# vivaldi + +> This command is an alias of `chromium`. +> More information: . + +- View documentation for the original command: + +`tldr chromium` diff --git a/pages/common/vladimyr.md b/pages/common/vladimyr.md new file mode 100644 index 00000000000000..36f9dd8fb8691c --- /dev/null +++ b/pages/common/vladimyr.md @@ -0,0 +1,8 @@ +# vladimyr + +> Dario Vladović's personal CLI. +> More information: . + +- Start Dario's interactive CLI: + +`vladimyr` diff --git a/pages/common/vlc.md b/pages/common/vlc.md index 61f4001464f683..a71414678e15f2 100644 --- a/pages/common/vlc.md +++ b/pages/common/vlc.md @@ -1,7 +1,8 @@ # vlc > Cross-platform multimedia player. -> More information: . +> See also: `mpv`, `mplayer`, `ytfzf`. +> More information: . - Play a file: diff --git a/pages/common/vmtouch.md b/pages/common/vmtouch.md new file mode 100644 index 00000000000000..5168194c48b8c9 --- /dev/null +++ b/pages/common/vmtouch.md @@ -0,0 +1,24 @@ +# vmtouch + +> Manage the filesystem cache. +> More information: . + +- Print the cache status of a file: + +`vmtouch {{path/to/file}}` + +- Load a file into cache: + +`vmtouch -t {{path/to/file}}` + +- Evict a file from cache: + +`vmtouch -e {{path/to/file}}` + +- Lock a file in cache to prevent eviction from memory: + +`vmtouch -l {{path/to/file}}` + +- Lock a file and daemonize the program: + +`vmtouch -ld {{path/to/file}}` diff --git a/pages/common/volta.md b/pages/common/volta.md new file mode 100644 index 00000000000000..2922baa5e2c4d1 --- /dev/null +++ b/pages/common/volta.md @@ -0,0 +1,28 @@ +# volta + +> A JavaScript Tool Manager that installs Node.js runtimes, npm and Yarn package managers, or any binaries from npm. +> More information: . + +- List all installed tools: + +`volta list` + +- Install the latest version of a tool: + +`volta install {{node|npm|yarn|package_name}}` + +- Install a specific version of a tool: + +`volta install {{node|npm|yarn}}@version` + +- Choose a tool version for a project (will store it in `package.json`): + +`volta pin {{node|npm|yarn}}@version` + +- Display help: + +`volta help` + +- Display help for a subcommand: + +`volta help {{fetch|install|uninstall|pin|list|completions|which|setup|run|help}}` diff --git a/pages/common/vsce.md b/pages/common/vsce.md index e2ed22aca3864a..1a47d6c85aae2c 100644 --- a/pages/common/vsce.md +++ b/pages/common/vsce.md @@ -15,7 +15,7 @@ `vsce unpublish {{extension_id}}` -- Package the current working directory as .vsix file: +- Package the current working directory as a `.vsix` file: `vsce package` diff --git a/pages/common/vt.md b/pages/common/vt.md new file mode 100644 index 00000000000000..9d47ddb39b7ed3 --- /dev/null +++ b/pages/common/vt.md @@ -0,0 +1,37 @@ +# vt + +> Interface for VirusTotal. +> API key from a VirusTotal account is required for this command. +> More information: . + +- Scan a specific file for viruses: + +`vt scan file {{path/to/file}}` + +- Scan a URL for viruses: + +`vt scan url {{url}}` + +- Display information from a specific analysis: + +`vt analysis {{file_id|analysis_id}}` + +- Download files in encrypted Zip format (requires premium account): + +`vt download {{file_id}} --output {{path/to/directory}} --zip --zip-password {{password}}` + +- Initialize or re-initialize `vt` to enter API key interactively: + +`vt init` + +- Display information about a domain: + +`vt domain {{url}}` + +- Display information for a specific URL: + +`vt url {{url}}` + +- Display information for a specific IP address: + +`vt domain {{ip_address}}` diff --git a/pages/common/vue-build.md b/pages/common/vue-build.md index a821281233c4b9..934c8a33d40a3b 100644 --- a/pages/common/vue-build.md +++ b/pages/common/vue-build.md @@ -1,7 +1,7 @@ # vue build > A subcommand provided by `@vue/cli` and `@vue/cli-service-global` that enables quick prototyping. -> More information: . +> More information: . - Build a `.js` or `.vue` file in production mode with zero config: diff --git a/pages/common/vue-serve.md b/pages/common/vue-serve.md index c3282ef0e28e3a..fa8070d798e4a7 100644 --- a/pages/common/vue-serve.md +++ b/pages/common/vue-serve.md @@ -1,7 +1,7 @@ # vue serve > A subcommand provided by `@vue/cli` and `@vue/cli-service-global` that enables quick prototyping. -> More information: . +> More information: . - Serve a `.js` or `.vue` file in development mode with zero config: diff --git a/pages/common/vue.md b/pages/common/vue.md index e842fb6b4b8c1d..f7be3621116230 100644 --- a/pages/common/vue.md +++ b/pages/common/vue.md @@ -1,9 +1,10 @@ # vue > Multi-purpose CLI for Vue.js. -> More information: . +> Some subcommands such as `build` have their own usage documentation. +> More information: . -- Create a new vue project interactively: +- Create a new Vue project interactively: `vue create {{project_name}}` diff --git a/pages/common/vulkaninfo.md b/pages/common/vulkaninfo.md new file mode 100644 index 00000000000000..1383104204f8e7 --- /dev/null +++ b/pages/common/vulkaninfo.md @@ -0,0 +1,16 @@ +# vulkaninfo + +> Print system Vulkan information. +> More information: . + +- Print full Vulkan information: + +`vulkaninfo` + +- Print a summary: + +`vulkaninfo --summary` + +- Make a HTML document of the full Vulkan information: + +`vulkaninfo --html` diff --git a/pages/common/w.md b/pages/common/w.md index 606db59b865eed..829417ead3e6e1 100644 --- a/pages/common/w.md +++ b/pages/common/w.md @@ -1,12 +1,20 @@ # w -> Show who is logged on and what they are doing. -> Print user login, TTY, remote host, login time, idle time, current process. +> Display who is logged in and their processes. +> More information: . -- Show logged-in users info: +- Display information about all users who are currently logged in: `w` -- Show logged-in users info without a header: +- Display information about a specific user: -`w -h` +`w {{username}}` + +- Display logged-in user information without a header: + +`w {{[-h|--no-header]}}` + +- Display information without including the login, JCPU and PCPU columns: + +`w {{[-s|--short]}}` diff --git a/pages/common/w3m.md b/pages/common/w3m.md index 326d6901278b6c..0e3d7f4250a2e2 100644 --- a/pages/common/w3m.md +++ b/pages/common/w3m.md @@ -2,28 +2,28 @@ > A text-based web browser. > Supports SSL and mouse input, even over SSH. -> More information: . +> More information: . - Open a URL: -`w3m {{http://example.com}}` +`w3m {{https://example.com}}` - Open a URL in monochrome mode: -`w3m {{http://example.com}} -M` +`w3m {{https://example.com}} -M` - Open a URL without mouse support: -`w3m {{http://example.com}} --no-mouse` +`w3m {{https://example.com}} -no-mouse` - Open a new browser tab: -`Shift + T` +`` - Display your browser history: -`Ctrl + H` +`` - Quit w3m: -`'q' then 'y'` +`` diff --git a/pages/common/wafw00f.md b/pages/common/wafw00f.md new file mode 100644 index 00000000000000..6bb42c88de8463 --- /dev/null +++ b/pages/common/wafw00f.md @@ -0,0 +1,32 @@ +# wafw00f + +> Identify and fingerprint Web Application Firewall (WAF) products protecting a website. +> More information: . + +- Check if a website is using any WAF: + +`wafw00f {{https://www.example.com}}` + +- Test for all detectable WAFs without stopping at the first match: + +`wafw00f {{[-a|--findall]}} {{https://www.example.com}}` + +- Pass requests through a proxy (such as BurpSuite): + +`wafw00f {{[-p|--proxy]}} {{http://localhost:8080}} {{https://www.example.com}}` + +- Test for a specific WAF product (run `wafw00f --list` to get list of all supported WAFs): + +`wafw00f {{[-t|--test]}} {{Cloudflare|Cloudfront|Fastly|ZScaler|...}} {{https://www.example.com}}` + +- Pass custom headers from a file: + +`wafw00f {{[-H|--headers]}} {{path/to/headers.txt}} {{https://www.example.com}}` + +- Read target inputs from a file and show verbose output (multiple `v` for more verbosity): + +`wafw00f {{[-i|--input]}} {{path/to/urls.txt}} -{{vv}}` + +- List all WAFs that can be detected: + +`wafw00f {{[-l|--list]}}` diff --git a/pages/common/waifu2x-ncnn-vulkan.md b/pages/common/waifu2x-ncnn-vulkan.md new file mode 100644 index 00000000000000..1b34184312b1ae --- /dev/null +++ b/pages/common/waifu2x-ncnn-vulkan.md @@ -0,0 +1,16 @@ +# waifu2x-ncnn-vulkan + +> Image upscaler for manga/anime-style images using NCNN neural network framework. +> More information: . + +- Upscale an image: + +`waifu2x-ncnn-vulkan -i {{path/to/input_file}} -o {{path/to/output_file}}` + +- Upscale an image by a custom scale factor and denoise it: + +`waifu2x-ncnn-vulkan -i {{path/to/input_file}} -o {{path/to/output_file}} -s {{1|2|4|8|16|32}} -n {{-1|0|1|2|3}}` + +- Save the upscaled image in a specific format: + +`waifu2x-ncnn-vulkan -i {{path/to/input_file}} -o {{path/to/output_file}} -f {{jpg|png|webp}}` diff --git a/pages/common/wait.md b/pages/common/wait.md index 672f2d528ec91f..fd0a7940f03388 100644 --- a/pages/common/wait.md +++ b/pages/common/wait.md @@ -1,6 +1,8 @@ # wait > Wait for a process to complete before proceeding. +> See also: `ps` to view information about running processes and `waitpid`. +> More information: . - Wait for a process to finish given its process ID (PID) and return its exit status: @@ -9,3 +11,11 @@ - Wait for all processes known to the invoking shell to finish: `wait` + +- Wait for a job to finish (run `jobs` to find the job number): + +`wait %{{job_number}}` + +- Display help: + +`wait --help` diff --git a/pages/common/waitress-serve.md b/pages/common/waitress-serve.md index 8eebc41fbd2cb9..fc25cbfac3eb2b 100644 --- a/pages/common/waitress-serve.md +++ b/pages/common/waitress-serve.md @@ -1,6 +1,7 @@ # waitress-serve > Pure Python WSGI HTTP Server. +> More information: . - Run a Python web app: @@ -22,6 +23,6 @@ `waitress-serve --call {{import.path.wsgi_factory}}` -- Set the URL scheme to https: +- Use the HTTPS URL scheme: `waitress-serve --url-scheme={{https}} {{import.path:wsgi_func}}` diff --git a/pages/common/wakeonlan.md b/pages/common/wakeonlan.md new file mode 100644 index 00000000000000..a7d40c99966e7a --- /dev/null +++ b/pages/common/wakeonlan.md @@ -0,0 +1,20 @@ +# wakeonlan + +> Send packets to wake-on-LAN (WOL) enabled PCs. +> More information: . + +- Send packets to all devices on the local network (255.255.255.255) by specifying a MAC address: + +`wakeonlan {{01:02:03:04:05:06}}` + +- Send packet to a specific device via IP address: + +`wakeonlan {{01:02:03:04:05:06}} {{[-i|--ip]}} {{192.168.178.2}}` + +- Print the commands, but don't execute them (dry-run): + +`wakeonlan {{[-n|--dry-run]}} {{01:02:03:04:05:06}}` + +- Run in quiet mode: + +`wakeonlan {{[-q|--quiet]}} {{01:02:03:04:05:06}}` diff --git a/pages/common/wal.md b/pages/common/wal.md index 8630c823462a3d..6eda3298ab87a4 100644 --- a/pages/common/wal.md +++ b/pages/common/wal.md @@ -1,7 +1,7 @@ # wal -> A tool to create color schemes based on the dominant colors of a wallpaper. -> More information: . +> Create color schemes based on the dominant colors of a wallpaper. +> More information: . - Preview color scheme: @@ -13,15 +13,15 @@ - Create a light color scheme: -`wal -il {{image.png}}` +`wal -i {{image.png}} -l` - Skip setting the desktop wallpaper: -`wal -in {{image.png}}` +`wal -i {{image.png}} -n` - Skip setting the terminal colors: -`wal -is {{image.png}}` +`wal -i {{image.png}} -s` - Restore the previously generated color scheme and wallpaper: diff --git a/pages/common/wapm.md b/pages/common/wapm.md index 9e6f1e8c0ffb95..86b8016891db98 100644 --- a/pages/common/wapm.md +++ b/pages/common/wapm.md @@ -3,27 +3,27 @@ > The WebAssembly package manager. > More information: . -- Interactively create a new wapm.toml file: +- Interactively create a new `wapm.toml` file: `wapm init` -- Download all the packages listed as dependencies in wapm.toml: +- Download all the packages listed as dependencies in `wapm.toml`: `wapm install` -- Download a specific version of a package and add it to the list of dependencies in wapm.toml: +- Download a specific version of a package and add it to the list of dependencies in `wapm.toml`: -`wapm install {{package_name}}@{{version}}` +`wapm install {{package}}@{{version}}` - Download a package and install it globally: -`wapm install --global {{package_name}}` +`wapm install --global {{package}}` -- Uninstall a package and remove it from the list of dependencies in wapm.toml: +- Uninstall a package and remove it from the list of dependencies in `wapm.toml`: -`wapm uninstall {{package_name}}` +`wapm uninstall {{package}}` -- Print a tree of locally-installed dependencies: +- Print a tree of locally installed dependencies: `wapm list` diff --git a/pages/common/warp-cli.md b/pages/common/warp-cli.md new file mode 100644 index 00000000000000..930e121fda376e --- /dev/null +++ b/pages/common/warp-cli.md @@ -0,0 +1,34 @@ +# warp-cli + +> Connect, disconnect and switch modes of a connection to Cloudflare's WARP service. +> WARP is a VPN that encrypts traffic for privacy, security, and speed. +> See also: `fastd`, `ivpn`, `mozillavpn`, `mullvad`. +> More information: . + +- Register the current device to WARP (must be run before first connection): + +`warp-cli registration new` + +- Connect to WARP: + +`warp-cli connect` + +- Disconnect from WARP: + +`warp-cli disconnect` + +- Display the WARP connection status: + +`warp-cli status` + +- Switch to a specific mode: + +`warp-cli set-mode {{mode}}` + +- Display help: + +`warp-cli help` + +- Display help for a subcommand: + +`warp-cli help {{subcommand}}` diff --git a/pages/common/warp-diag.md b/pages/common/warp-diag.md new file mode 100644 index 00000000000000..e693757f2eb7c8 --- /dev/null +++ b/pages/common/warp-diag.md @@ -0,0 +1,21 @@ +# warp-diag + +> Diagnostic and feedback tool for Cloudflare's WARP service. +> See also: `warp-cli`. +> More information: . + +- Generate a Zip file with information about the system configuration and the WARP connection: + +`warp-diag` + +- Generate a Zip file with debug information including a timestamp to the output filename: + +`warp-diag --add-ts` + +- Save the output file under a specific directory: + +`warp-diag --output {{path/to/directory}}` + +- Submit a new feedback to Cloudflare's WARP interactively: + +`warp-diag feedback` diff --git a/pages/common/wasm-objdump.md b/pages/common/wasm-objdump.md index 1741660b4edc70..a219278804c5ec 100644 --- a/pages/common/wasm-objdump.md +++ b/pages/common/wasm-objdump.md @@ -1,19 +1,20 @@ # wasm-objdump > Display information from WebAssembly binaries. +> More information: . - Display the section headers of a given binary: -`wasm-objdump -h {{file.wasm}}` +`wasm-objdump {{[-h|--headers]}} {{file.wasm}}` - Display the entire disassembled output of a given binary: -`wasm-objdump -d {{file.wasm}}` +`wasm-objdump {{[-d|--disassemble]}} {{file.wasm}}` - Display the details of each section: -`wasm-objdump --details {{file.wasm}}` +`wasm-objdump {{[-x|--details]}} {{file.wasm}}` - Display the details of a given section: -`wasm-objdump --section '{{import}}' --details {{file.wasm}}` +`wasm-objdump {{[-j|--section]}} '{{import}}' {{[-x|--details]}} {{file.wasm}}` diff --git a/pages/common/wasm-opt.md b/pages/common/wasm-opt.md index f5d9036b2437a3..55ec27438b4f0b 100644 --- a/pages/common/wasm-opt.md +++ b/pages/common/wasm-opt.md @@ -1,18 +1,19 @@ # wasm-opt > Optimize WebAssembly binary files. +> More information: . - Apply default optimizations and write to a given file: -`wasm-opt -O {{input.wasm}} -o {{output.wasm}}` +`wasm-opt -O {{input.wasm}} {{[-o|--output]}} {{output.wasm}}` - Apply all optimizations and write to a given file (takes more time, but generates optimal code): -`wasm-opt -O4 {{input.wasm}} -o {{output.wasm}}` +`wasm-opt -O4 {{input.wasm}} {{[-o|--output]}} {{output.wasm}}` - Optimize a file for size: -`wasm-opt -Oz {{input.wasm}} -o {{output.wasm}}` +`wasm-opt -Oz {{input.wasm}} {{[-o|--output]}} {{output.wasm}}` - Print the textual representation of the binary to console: diff --git a/pages/common/wasm2c.md b/pages/common/wasm2c.md index c40ba907ede8e9..84d6fbae9c591b 100644 --- a/pages/common/wasm2c.md +++ b/pages/common/wasm2c.md @@ -1,11 +1,12 @@ # wasm2c > Convert a file from the WebAssembly binary format to a C source file and header. +> More information: . - Convert a file to a C source file and header and display it to the console: `wasm2c {{file.wasm}}` -- Write the output to a given file (file.h gets additionally generated): +- Write the output to a given file (`file.h` gets additionally generated): -`wasm2c {{file.wasm}} -o {{file.c}}` +`wasm2c {{file.wasm}} {{[-o|--output]}} {{file.c}}` diff --git a/pages/common/wasm2wat.md b/pages/common/wasm2wat.md index 230d5554a12d07..afeee8758e8bcb 100644 --- a/pages/common/wasm2wat.md +++ b/pages/common/wasm2wat.md @@ -1,6 +1,7 @@ # wasm2wat > Convert a file from the WebAssembly binary format to the text format. +> More information: . - Convert a file to the text format and display it to the console: @@ -8,4 +9,4 @@ - Write the output to a given file: -`wasm2wat {{file.wasm}} -o {{file.wat}}` +`wasm2wat {{file.wasm}} {{[-o|--output]}} {{file.wat}}` diff --git a/pages/common/wat2wasm.md b/pages/common/wat2wasm.md index f7114efc5bb2c5..0ced799d1be5a6 100644 --- a/pages/common/wat2wasm.md +++ b/pages/common/wat2wasm.md @@ -9,8 +9,8 @@ - Write the output binary to a given file: -`wat2wasm {{file.wat}} -o {{file.wasm}}` +`wat2wasm {{file.wat}} {{[-o|--output]}} {{file.wasm}}` - Display simplified representation of every byte: -`wat2wasm -v {{file.wat}}` +`wat2wasm {{[-v|--verbose]}} {{file.wat}}` diff --git a/pages/common/watch.md b/pages/common/watch.md index 457d45be4f55f1..a019edb2b9db9d 100644 --- a/pages/common/watch.md +++ b/pages/common/watch.md @@ -1,6 +1,7 @@ # watch -> Execute a program periodically, showing output fullscreen. +> Execute a program periodically and monitor the output in full-screen mode. +> More information: . - Repeatedly run a command and show the result: @@ -8,8 +9,20 @@ - Re-run a command every 60 seconds: -`watch -n {{60}} {{command}}` +`watch {{[-n|--interval]}} 60 {{command}}` -- Monitor the contents of a directory, highlighting differences as they appear: +- Monitor disk space, highlighting differences as they appear: -`watch -d {{ls -l}}` +`watch {{[-d|--differences]}} df` + +- Repeatedly run a pipeline and show the result: + +`watch "{{command1}} | {{command2}} | {{command3}}"` + +- Exit `watch` if the visible output changes: + +`watch {{[-g|--chgexit]}} {{lsblk}}` + +- Interpret terminal control characters: + +`watch {{[-c|--color]}} {{ls --color=always}}` diff --git a/pages/common/watchexec.md b/pages/common/watchexec.md index 297f623b6777ca..821def1c9ba86c 100644 --- a/pages/common/watchexec.md +++ b/pages/common/watchexec.md @@ -1,20 +1,24 @@ # watchexec > Run arbitrary commands when files change. -> More information: . +> More information: . - Call `ls -la` when any file in the current directory changes: -`watchexec -- {{ls -la}}` +`watchexec {{ls -la}}` -- Run `make` when any JavaScript, CSS and HTML files in the current directory change: +- Run `make` when any JavaScript, CSS and HTML file in the current directory changes: -`watchexec --exts {{js,css,html}} make` +`watchexec {{[-e|--exts]}} {{js,css,html}} make` -- Run `make` when any file in the `lib` or `src` subdirectories change: +- Run `make` when any file in the `lib` or `src` directory changes: -`watchexec --watch {{lib}} --watch {{src}} {{make}}` +`watchexec {{[-w|--watch]}} {{lib}} {{[-w|--watch]}} {{src}} {{make}}` -- Call/restart `my_server` when any file in the current directory change, sending `SIGKILL` to stop the child process: +- Call/restart `my_server` when any file in the current directory changes, sending `SIGKILL` to stop the child process: -`watchexec --restart --signal {{SIGKILL}} {{my_server}}` +`watchexec {{[-r|--restart]}} --stop-signal {{SIGKILL}} {{my_server}}` + +- Restart the execution of a command when any Java source file in the current directory changes, sending `SIGKILL` and only checking for updates every `n`ms: + +`watchexec {{[-r|--restart]}} --stop-signal {{SIGKILL}} --poll {{10000}} {{[-e|--exts]}} {{java}} {{command}}` diff --git a/pages/common/watchman.md b/pages/common/watchman.md new file mode 100644 index 00000000000000..aa6549b68fb365 --- /dev/null +++ b/pages/common/watchman.md @@ -0,0 +1,36 @@ +# watchman + +> A service that watches files, and triggers actions when changes occur. +> More information: . + +- Infer the root directory of the project containing the specified directory, and watch its files and sub-folders for changes: + +`watchman watch-project {{path/to/directory}}` + +- Add a trigger to run a command when files with a specified filename pattern in a watched directory change: + +`watchman -- trigger {{path/to/watched_directory}} {{trigger_name}} '{{pattern}}' -- {{command}}` + +- List all watched directories: + +`watchman watch-list` + +- Delete a watch on a directory and its associated triggers: + +`watchman watch-del {{path/to/watched_directory}}` + +- Delete all watched directories and triggers: + +`watchman watch-del-all` + +- List all triggers on a watched directory: + +`watchman trigger-list {{path/to/watched_directory}}` + +- Delete a trigger from a watched directory: + +`watchman trigger-del {{path/to/watched_directory}} {{trigger_name}}` + +- Temporarily stop `watchman`, until the next time you call a `watchman` command: + +`watchman shutdown-server` diff --git a/pages/common/watson.md b/pages/common/watson.md index 266f21925571ff..fc7f12cf83f593 100644 --- a/pages/common/watson.md +++ b/pages/common/watson.md @@ -15,6 +15,14 @@ `watson stop` -- Display latest working sessions: +- Display the latest working sessions: `watson log` + +- Edit most recent frame: + +`watson edit` + +- Remove most recent frame: + +`watson remove` diff --git a/pages/common/waybar.md b/pages/common/waybar.md new file mode 100644 index 00000000000000..a83062a670675c --- /dev/null +++ b/pages/common/waybar.md @@ -0,0 +1,20 @@ +# waybar + +> Highly customizable Wayland bar for Sway and Wlroots based compositors. +> More information: . + +- Start `waybar` with the default configuration and stylesheet: + +`waybar` + +- Use a different configuration file: + +`waybar {{[-c|--config]}} {{path/to/config.jsonc}}` + +- Use a different stylesheet file: + +`waybar {{[-s|--style]}} {{path/to/stylesheet.css}}` + +- Set the logging level: + +`waybar {{[-l|--log-level]}} {{trace|debug|info|warning|error|critical|off}}` diff --git a/pages/common/waymore.md b/pages/common/waymore.md new file mode 100644 index 00000000000000..68973163099549 --- /dev/null +++ b/pages/common/waymore.md @@ -0,0 +1,21 @@ +# waymore + +> Fetch URLs of a domain from Wayback Machine, Common Crawl, Alien Vault OTX, URLScan, and VirusTotal. +> Note: Unless specified, output is dumped into the `results/` directory where waymore's `config.yml` resides (by default in `~/.config/waymore/`). +> More information: . + +- Search for URLs of a domain (output will typically be in `~/.config/waymore/results/`): + +`waymore {{[-i|--input]}} {{example.com}}` + +- Limit search results to only include a list of URLs for a domain and store outputs to the specified file: + +`waymore -mode U {{[-oU|--output-urls]}} {{path/to/example.com-urls.txt}} {{[-i|--input]}} {{example.com}}` + +- Only output the content bodies of URLs and store outputs to the specified directory: + +`waymore -mode R {{[-oR|--output-responses]}} {{path/to/example.com-url-responses}} {{[-i|--input]}} {{example.com}}` + +- Filter the results by specifying date ranges: + +`waymore -from {{YYYYMMDD|YYYYMM|YYYY}} {{[-to|--to-date]}} {{YYYYMMDD|YYYYMM|YYYY}} {{[-i|--input]}} {{example.com}}` diff --git a/pages/common/wbmptopbm.md b/pages/common/wbmptopbm.md new file mode 100644 index 00000000000000..59d056d3907779 --- /dev/null +++ b/pages/common/wbmptopbm.md @@ -0,0 +1,8 @@ +# wbmptopbm + +> Convert a wireless bitmap file to a PBM image. +> More information: . + +- Convert a WBMP file to a PBM image: + +`wbmptopbm {{path/to/input_file.wbpm}} > {{path/to/output_file.pbm}}` diff --git a/pages/common/wc.md b/pages/common/wc.md index 6f7c1a6dd56063..ae640bf786db81 100644 --- a/pages/common/wc.md +++ b/pages/common/wc.md @@ -1,23 +1,28 @@ # wc -> Count lines, words, or bytes. +> Count lines, words, and bytes. +> More information: . -- Count lines in file: +- Count all lines in a file: -`wc -l {{file}}` +`wc {{[-l|--lines]}} {{path/to/file}}` -- Count words in file: +- Count all words in a file: -`wc -w {{file}}` +`wc {{[-w|--words]}} {{path/to/file}}` -- Count characters (bytes) in file: +- Count all bytes in a file: -`wc -c {{file}}` +`wc {{[-c|--bytes]}} {{path/to/file}}` -- Count characters in file (taking multi-byte character sets into account): +- Count all characters in a file (taking multi-byte characters into account): -`wc -m {{file}}` +`wc {{[-m|--chars]}} {{path/to/file}}` -- Use standard input to count lines, words and characters (bytes) in that order: +- Count all lines, words and bytes from `stdin`: `{{find .}} | wc` + +- Count the length of the longest line in number of characters: + +`wc {{[-L|--max-line-length]}} {{path/to/file}}` diff --git a/pages/common/wcurl.md b/pages/common/wcurl.md new file mode 100644 index 00000000000000..80be344ad037b9 --- /dev/null +++ b/pages/common/wcurl.md @@ -0,0 +1,21 @@ +# wcurl + +> A simple wrapper around `curl` to easily download files. +> See also: `curl`. +> More information: . + +- Download the contents of a URL to a file indicated by the URL ("foo" in this case): + +`wcurl {{https://example.com/foo}}` + +- Download the contents of a URL to a file with a specified name: + +`wcurl {{[-o|--output]}} {{bar}} {{https://example.com/foo}}` + +- Download the contents of a URL, enabling progress bar and defaulting to HTTP/2: + +`wcurl --curl-options "--progress-bar --http2" {{https://example.com/foo}}` + +- Resume from an interrupted download: + +`wcurl --curl-options "--continue-at -" {{https://example.com/foo}}` diff --git a/pages/common/wdiff.md b/pages/common/wdiff.md new file mode 100644 index 00000000000000..0f29a5c1422e33 --- /dev/null +++ b/pages/common/wdiff.md @@ -0,0 +1,16 @@ +# wdiff + +> Display word differences between text files. +> More information: . + +- Compare two files: + +`wdiff {{path/to/file1}} {{path/to/file2}}` + +- Ignore case when comparing: + +`wdiff {{[-i|--ignore-case]}} {{path/to/file1}} {{path/to/file2}}` + +- Display how many words are deleted, inserted or replaced: + +`wdiff {{[-s|--statistics]}} {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/weasyprint.md b/pages/common/weasyprint.md index a81391d0c265d5..972e17cd35649f 100644 --- a/pages/common/weasyprint.md +++ b/pages/common/weasyprint.md @@ -1,24 +1,24 @@ # weasyprint > Render HTML to PDF or PNG. -> More information: . +> More information: . -- Render a HTML file to PDF: +- Render an HTML file to PDF: -`weasyprint {{path/to/input.html}} {{path/to/output}}.pdf` +`weasyprint {{path/to/input.html}} {{path/to/output.pdf}}` -- Render a HTML file to PNG, including an additional user stylesheet: +- Render an HTML file to PNG, including an additional user stylesheet: -`weasyprint {{path/to/input.html}} {{path/to/output}}.png --stylesheet {{path/to/stylesheet.css}}` +`weasyprint {{path/to/input.html}} {{path/to/output.png}} --stylesheet {{path/to/stylesheet.css}}` - Output additional debugging information when rendering: -`weasyprint {{path/to/input.html}} {{path/to/output}}.pdf --verbose` +`weasyprint {{path/to/input.html}} {{path/to/output.pdf}} --verbose` - Specify a custom resolution when outputting to PNG: -`weasyprint {{path/to/input.html}} {{path/to/output}}.png --resolution {{300}}` +`weasyprint {{path/to/input.html}} {{path/to/output.png}} --resolution {{300}}` -- Specify a base url for relative urls in the input HTML file: +- Specify a base URL for relative URLs in the input HTML file: -`weasyprint {{path/to/input.html}} {{path/to/output}}.png --base-url {{url_or_filename}}` +`weasyprint {{path/to/input.html}} {{path/to/output.png}} --base-url {{url_or_filename}}` diff --git a/pages/common/web-ext.md b/pages/common/web-ext.md index 2fb74316cad065..e39a82448e27af 100644 --- a/pages/common/web-ext.md +++ b/pages/common/web-ext.md @@ -1,7 +1,7 @@ # web-ext -> A command line tool for managing web extension development. -> More information: . +> Manage web extension development. +> More information: . - Run the web extension in the current directory in Firefox: diff --git a/pages/common/webpack.md b/pages/common/webpack.md index a2f411737b3c4c..66e54a33fd4e79 100644 --- a/pages/common/webpack.md +++ b/pages/common/webpack.md @@ -7,11 +7,11 @@ `webpack {{app.js}} {{bundle.js}}` -- Load css files too from the js file (this uses the css loader for .css files): +- Load CSS files too from the JavaScript file (this uses the CSS loader for CSS files): -`webpack {{app.js}} {{bundle.js}} --module-bind 'css=css'` +`webpack {{app.js}} {{bundle.js}} --module-bind '{{css=css}}'` -- Pass a config file (with eg. the entry script and the output filename) and show compilation progress: +- Pass a configuration file (with e.g. the entry script and the output filename) and show compilation progress: `webpack --config {{webpack.config.js}} --progress` diff --git a/pages/common/webpmux.md b/pages/common/webpmux.md new file mode 100644 index 00000000000000..584bb6e7c0d5c7 --- /dev/null +++ b/pages/common/webpmux.md @@ -0,0 +1,8 @@ +# webpmux + +> Create WebP animations. +> More information: . + +- Create a two-frame animation: + +`webpmux -frame {{path/to/frame1.webp}} +{{500}} -frame {{path/to/frame2.webp}} +{{500}} -loop {{0}} -o {{path/to/output.webp}}` diff --git a/pages/common/webstorm.md b/pages/common/webstorm.md new file mode 100644 index 00000000000000..bc2540729a223b --- /dev/null +++ b/pages/common/webstorm.md @@ -0,0 +1,32 @@ +# webstorm + +> The JetBrains JavaScript IDE. +> More information: . + +- Open the current directory in WebStorm: + +`webstorm` + +- Open a specific directory in WebStorm: + +`webstorm {{path/to/directory}}` + +- Open specific files in the LightEdit mode: + +`webstorm -e {{path/to/file1 path/to/file2 ...}}` + +- Open and wait until done editing a specific file in the LightEdit mode: + +`webstorm --wait -e {{path/to/file}}` + +- Open a file with the cursor at the specific line: + +`webstorm --line {{line_number}} {{path/to/file}}` + +- Open and compare files (supports up to 3 files): + +`webstorm diff {{path/to/file1 path/to/file2 path/to/optional_file3}}` + +- Open and perform a three-way merge: + +`webstorm merge {{path/to/left_file}} {{path/to/right_file}} {{path/to/target_file}}` diff --git a/pages/common/webtorrent.md b/pages/common/webtorrent.md index a26065c22075ad..e34e02c2552db2 100644 --- a/pages/common/webtorrent.md +++ b/pages/common/webtorrent.md @@ -1,7 +1,7 @@ # webtorrent -> The command line interface for WebTorrent. -> Supports magnets, urls, info hashes and .torrent files. +> The interface for WebTorrent. +> Supports magnets, URLs, info hashes and `.torrent` files. > More information: . - Download a torrent: @@ -32,6 +32,6 @@ `webtorrent create {{path/to/file}}` -- Display information for a magnet uri or .torrent file: +- Display information for a magnet URI or `.torrent` file: `webtorrent info {{path/to/file_or_magnet}}` diff --git a/pages/common/weechat.md b/pages/common/weechat.md new file mode 100644 index 00000000000000..b441d6e6ccc4d3 --- /dev/null +++ b/pages/common/weechat.md @@ -0,0 +1,24 @@ +# weechat + +> Internet relay chat client with various features. +> More information: . + +- Start WeeChat: + +`weechat` + +- Do not load any plugin(s) on startup: + +`weechat --no-plugin` + +- Do not load any script(s) on startup: + +`weechat --no-script` + +- Do not connect to servers automatically: + +`weechat --no-connect` + +- Write default terminal colors to `stdout`: + +`weechat --colors` diff --git a/pages/common/wezterm-cli.md b/pages/common/wezterm-cli.md new file mode 100644 index 00000000000000..84d47d0d923ba9 --- /dev/null +++ b/pages/common/wezterm-cli.md @@ -0,0 +1,20 @@ +# wezterm cli + +> Interact with a running Wezterm GUI or multiplexer. +> More information: . + +- List windows, tabs, and panes: + +`wezterm cli list` + +- Split the current pane and print the new pane's ID to `stdout`: + +`wezterm cli split-pane --{{left|right|top|bottom}} --{{cells|percent}} {{n}}` + +- Activate (focus) a pane: + +`wezterm cli activate-pane --pane-id {{id}}` + +- Kill a pane: + +`wezterm cli kill-pane --pane-id {{id}}` diff --git a/pages/common/wezterm.md b/pages/common/wezterm.md new file mode 100644 index 00000000000000..dd69c1f7431042 --- /dev/null +++ b/pages/common/wezterm.md @@ -0,0 +1,37 @@ +# wezterm + +> Wez's Terminal Emulator - a powerful cross-platform terminal emulator and multiplexer. +> Some subcommands such as `cli` have their own usage documentation. +> More information: . + +- Start a new Wezterm process and create a window: + +`wezterm` + +- Establish an `ssh` session in a new Wezterm window: + +`wezterm ssh {{user}}@{{host}}:{{port}}` + +- Connect to the multiplexer (`wezterm-mux-server`): + +`wezterm connect {{domain_name}}` + +- Output an image to the terminal: + +`wezterm imgcat {{path/to/image}}` + +- Record a terminal session as an asciicast (by default recordings are saved to `/tmp`): + +`wezterm record` + +- Replay an asciicast terminal session: + +`wezterm replay {{path/to/cast_file}}` + +- Specify the configuration file to use (overrides the normal configuration file resolution): + +`wezterm --config-file {{path/to/config_file}}` + +- Display help: + +`wezterm help` diff --git a/pages/common/wfuzz.md b/pages/common/wfuzz.md new file mode 100644 index 00000000000000..84b19d66b7a887 --- /dev/null +++ b/pages/common/wfuzz.md @@ -0,0 +1,36 @@ +# wfuzz + +> A web application bruteforcer. +> More information: . + +- Directory and file bruteforce using the specified [w]ordlist and also [p]roxying the traffic: + +`wfuzz -w {{path/to/file}} -p {{127.0.0.1:8080:HTTP}} {{http://example.com/FUZZ}}` + +- Save the results to a [f]ile: + +`wfuzz -w {{path/to/file}} -f {{filename}} {{http://example.com/FUZZ}}` + +- Show [c]olorized output while only showing the declared response codes in the output: + +`wfuzz -c -w {{path/to/file}} --sc {{200,301,302}} {{http://example.com/FUZZ}}` + +- Use a custom [H]eader to fuzz subdomains while [h]iding specific response [c]odes and word counts. Increase the [t]hreads to 100 and include the target ip/domain: + +`wfuzz -w {{path/to/file}} -H "{{Host: FUZZ.example.com}}" --hc {{301}} --hw {{222}} -t {{100}} {{example.com}}` + +- Brute force Basic Authentication using a list of usernames and passwords from files for each FUZ[z] keyword, [h]iding response [c]odes of unsuccessful attempts: + +`wfuzz -c --hc {{401}} -s {{delay_between_requests_in_seconds}} -z file,{{path/to/usernames}} -z file,{{path/to/passwords}} --basic 'FUZZ:FUZ2Z' {{https://example.com}}` + +- Provide wordlist directly from the command-line and use POST request for fuzzing: + +`wfuzz -z list,{{word1-word2-...}} {{https://api.example.com}} -d "{{id=FUZZ&showwallet=true}}"` + +- Provide wordlists from a file applying base64 and md5 encoding on them (`wfuzz -e encoders` lists all available encoders): + +`wfuzz -z file,{{path/to/file}},none-base64-md5 {{https://example.com/FUZZ}}` + +- List available encoders/payloads/iterators/printers/scripts: + +`wfuzz -e {{encoders|payloads|iterators|printers|scripts}}` diff --git a/pages/common/wget.md b/pages/common/wget.md index a682fc008d9f88..f8d5024982625b 100644 --- a/pages/common/wget.md +++ b/pages/common/wget.md @@ -2,36 +2,37 @@ > Download files from the Web. > Supports HTTP, HTTPS, and FTP. -> More information: . +> See also: `curl`. +> More information: . -- Download the contents of an URL to a file (named "foo" in this case): +- Download the contents of a URL to a file (named "foo" in this case): `wget {{https://example.com/foo}}` -- Download the contents of an URL to a file (named "bar" in this case): +- Download the contents of a URL to a file (named "bar" in this case): -`wget -O {{bar}} {{https://example.com/foo}}` +`wget {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}` - Download a single web page and all its resources with 3-second intervals between requests (scripts, stylesheets, images, etc.): -`wget --page-requisites --convert-links --wait=3 {{https://example.com/somepage.html}}` +`wget {{[-pkw|--page-requisites --convert-links --wait]}} 3 {{https://example.com/some_page.html}}` - Download all listed files within a directory and its sub-directories (does not download embedded page elements): -`wget --mirror --no-parent {{https://example.com/somepath/}}` +`wget {{[-mnp|--mirror --no-parent]}} {{https://example.com/some_path/}}` - Limit the download speed and the number of connection retries: -`wget --limit-rate={{300k}} --tries={{100}} {{https://example.com/somepath/}}` +`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/some_path/}}` - Download a file from an HTTP server using Basic Auth (also works for FTP): -`wget --user={{username}} --password={{password}} {{https://example.com}}` +`wget --user {{username}} --password {{password}} {{https://example.com}}` - Continue an incomplete download: -`wget -c {{https://example.com}}` +`wget {{[-c|--continue]}} {{https://example.com}}` - Download all URLs stored in a text file to a specific directory: -`wget -P {{path/to/directory}} -i {{URLs.txt}}` +`wget {{[-P|--directory-prefix]}} {{path/to/directory}} {{[-i|--input-file]}} {{path/to/URLs.txt}}` diff --git a/pages/common/wget2.md b/pages/common/wget2.md new file mode 100644 index 00000000000000..4baab81216c88b --- /dev/null +++ b/pages/common/wget2.md @@ -0,0 +1,38 @@ +# wget2 + +> An improved version of `wget` for downloading files from the web. +> Supports HTTP, HTTPS, and HTTP/2 protocols with enhanced performance. +> By default, `wget2` uses multiple threads for faster downloads. +> More information: . + +- Download the contents of a URL to a file using multiple threads (default behavior differs from `wget`): + +`wget2 {{https://example.com/foo}}` + +- Limit the number of threads used for downloading (default is 5 threads): + +`wget2 --max-threads {{10}} {{https://example.com/foo}}` + +- Download a single web page and all its resources (scripts, stylesheets, images, etc.): + +`wget2 {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{https://example.com/somepage.html}}` + +- Mirror a website, but do not ascend to the parent directory (does not download embedded page elements): + +`wget2 {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/somepath/}}` + +- Limit the download speed and the number of connection retries: + +`wget2 --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/somepath/}}` + +- Continue an incomplete download (behavior is consistent with `wget`): + +`wget2 {{[-c|--continue]}} {{https://example.com}}` + +- Download all URLs stored in a text file to a specific directory: + +`wget2 {{[-P|--directory-prefix]}} {{path/to/directory}} {{[-i|--input-file]}} {{URLs.txt}}` + +- Download a file from an HTTP server using Basic Auth (also works for HTTPS): + +`wget2 --user {{username}} --password {{password}} {{https://example.com}}` diff --git a/pages/common/whatwaf.md b/pages/common/whatwaf.md new file mode 100644 index 00000000000000..c9b3afd0c7a9a2 --- /dev/null +++ b/pages/common/whatwaf.md @@ -0,0 +1,32 @@ +# whatwaf + +> Detect and bypass web application firewalls and protection systems. +> More information: . + +- Detect protection on a single URL, optionally use verbose output: + +`whatwaf {{[-u|--url]}} {{https://example.com}} --verbose` + +- Detect protection on a list of URLs in parallel from a file (one URL per line): + +`whatwaf {{[-t|--threads]}} {{number}} {{[-l|--list]}} {{path/to/file}}` + +- Send requests through a proxy and use custom payload list from a file (one payload per line): + +`whatwaf --proxy {{http://127.0.0.1:8080}} --pl {{path/to/file}} {{[-u|--url]}} {{https://example.com}}` + +- Send requests through Tor (Tor must be installed) using custom payloads (comma-separated): + +`whatwaf --tor {{[-p|--payloads]}} '{{payload1,payload2,...}}' {{[-u|--url]}} {{https://example.com}}` + +- Use a random user-agent, set throttling and timeout, send a POST request, and force HTTPS connection: + +`whatwaf --ra --throttle {{seconds}} --timeout {{seconds}} {{[-P|--post]}} --force-ssl {{[-u|--url]}} {{http://example.com}}` + +- List all WAFs that can be detected: + +`whatwaf --wafs` + +- List all available tamper scripts: + +`whatwaf --tampers` diff --git a/pages/common/whatweb.md b/pages/common/whatweb.md new file mode 100644 index 00000000000000..74eaa9897f2754 --- /dev/null +++ b/pages/common/whatweb.md @@ -0,0 +1,32 @@ +# whatweb + +> Next-generation web scanner. +> More information: . + +- Scan websites/targets for web technologies: + +`whatweb {{website1 website2 ...}}` + +- Read targets/websites from a file: + +`whatweb {{[-i|--input-file]}} {{targets_file}}` + +- Scan a website/target in verbose mode: + +`whatweb {{[-v|--verbose]}} {{example.com}}` + +- Run an aggressive scan on a website: + +`whatweb {{[-a|--aggression]}} 3 {{example.com}}` + +- Scan a network and suppress errors: + +`whatweb --no-errors {{192.168.0.0/24}}` + +- List plugins: + +`whatweb {{[-l|--list-plugins]}}` + +- List plugin details: + +`whatweb {{[-I|--info-plugins]}} {{plugin_name}}` diff --git a/pages/common/whence.md b/pages/common/whence.md new file mode 100644 index 00000000000000..129f051881eb81 --- /dev/null +++ b/pages/common/whence.md @@ -0,0 +1,24 @@ +# whence + +> A Zsh builtin to indicate how a command would be interpreted. +> More information: . + +- Interpret `command`, with expansion if defined as an `alias` (similar to the `command -v` builtin): + +`whence "{{command}}"` + +- Display type of `command`, with location if defined as a function, or binary (equivalent to the `type` and `command -V` builtins): + +`whence -v "{{command}}"` + +- Same as above, except display content of shell functions instead of location (equivalent to `which` builtin): + +`whence -c "{{command}}"` + +- Same as above, but show all occurrences on command path (equivalent to the `where` builtin): + +`whence -ca "{{command}}"` + +- Search only the `PATH` for `command`, ignoring builtins, aliases or shell functions (equivalent to the `where` command): + +`whence -p "{{command}}"` diff --git a/pages/common/where.md b/pages/common/where.md index 61f6128a4d506a..7de89d95337049 100644 --- a/pages/common/where.md +++ b/pages/common/where.md @@ -2,6 +2,7 @@ > Reports all known instances of a command. > It could be an executable in the PATH environment variable, an alias, or a shell builtin. +> More information: . - Find all instances of a command: diff --git a/pages/common/which.md b/pages/common/which.md index 36d39414dd4b55..296682ca387b95 100644 --- a/pages/common/which.md +++ b/pages/common/which.md @@ -1,6 +1,8 @@ # which > Locate a program in the user's path. +> See also: `whereis`, `whatis`, `type`. +> More information: . - Search the PATH environment variable and display the location of any matching executables: @@ -8,4 +10,4 @@ - If there are multiple executables which match, display all: -`which -a {{executable}}` +`which {{[-a|--all]}} {{executable}}` diff --git a/pages/common/while.md b/pages/common/while.md index ff72770ba8a623..2ffec0140a973a 100644 --- a/pages/common/while.md +++ b/pages/common/while.md @@ -1,11 +1,16 @@ # while -> Simple shell loop. +> Simple shell loop that repeats while the return value remains zero. +> More information: . - Read `stdin` and perform an action on every line: -`while read line; do echo "$line"; done` +`while read line; do {{echo "$line"}}; done` - Execute a command forever once every second: `while :; do {{command}}; sleep 1; done` + +- Execute a command until it fails: + +`while {{command}}; do :; done` diff --git a/pages/common/whisper.md b/pages/common/whisper.md new file mode 100644 index 00000000000000..bde3ea2eeeca3e --- /dev/null +++ b/pages/common/whisper.md @@ -0,0 +1,28 @@ +# whisper + +> Convert audio files to `txt`, `vtt`, `srt`, `tsv` and `json`. +> More information: . + +- Convert a specific audio file to all of the given file formats: + +`whisper {{path/to/audio.mp3}}` + +- Convert an audio file specifying the output format of the converted file: + +`whisper {{path/to/audio.mp3}} --output_format {{txt}}` + +- Convert an audio file using a specific model for conversion: + +`whisper {{path/to/audio.mp3}} --model {{tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large}}` + +- Convert an audio file specifying which language the audio file is in to reduce conversion time: + +`whisper {{path/to/audio.mp3}} --language {{english}}` + +- Convert an audio file and save it to a specific location: + +`whisper {{path/to/audio.mp3}} --output_dir "{{path/to/output}}"` + +- Convert an audio file in quiet mode: + +`whisper {{path/to/audio.mp3}} --verbose {{False}}` diff --git a/pages/common/who.md b/pages/common/who.md index 24b6ceee0d2bea..ec7e24943a5b2e 100644 --- a/pages/common/who.md +++ b/pages/common/who.md @@ -1,19 +1,17 @@ # who > Display who is logged in and related data (processes, boot time). +> See also: `whoami`. +> More information: . - Display the username, line, and time of all currently logged-in sessions: `who` -- Display information only for the current terminal session: - -`who am i` - - Display all available information: -`who -a` +`who {{[-a|--all]}}` - Display all available information with table headers: -`who -a -H` +`who {{[-aH|--all --heading]}}` diff --git a/pages/common/whoami.md b/pages/common/whoami.md index 137fd8fed55684..c7aabf9218f6ce 100644 --- a/pages/common/whoami.md +++ b/pages/common/whoami.md @@ -1,6 +1,7 @@ # whoami > Print the username associated with the current effective user ID. +> More information: . - Display currently logged username: diff --git a/pages/common/whois.md b/pages/common/whois.md index c860b97954a916..1f94f00a25847d 100644 --- a/pages/common/whois.md +++ b/pages/common/whois.md @@ -1,7 +1,7 @@ # whois -> Commandline client for the WHOIS (RFC 3912) protocol. -> More information: . +> Client for the WHOIS (RFC 3912) protocol. +> More information: . - Get information about a domain name: diff --git a/pages/common/wiggle.md b/pages/common/wiggle.md new file mode 100644 index 00000000000000..4108ebdafe8cd2 --- /dev/null +++ b/pages/common/wiggle.md @@ -0,0 +1,29 @@ +# wiggle + +> A patch application tool resolving conflicts in patches that `patch` cannot handle. +> Note: Wiggle forcefully applies all changes, merging when conflicts arise, and reporting unresolvable issues. +> More information: . + +- Apply changes from the patch file to the original file: + +`wiggle {{path/to/my_patch.patch}}` + +- Apply changes to the output file: + +`wiggle {{path/to/my_patch.patch}} {{[-o|--output]}} {{path/to/output_file.txt}}` + +- Take any changes in `file.rej` that could not have been applied and merge them into a file: + +`wiggle {{[-r|--replace]}} {{path/to/file}} {{path/to/file.rej}}` + +- Extract one branch of a patch or merge file: + +`wiggle {{[-x|--extract]}} {{path/to/my_patch.patch}}` + +- Apply a patch and save the compared words to the output file: + +`wiggle {{[-w|--words]}} {{path/to/my_word_patch.patch}} {{[-o|--output]}} {{path/to/word_patched_code.c}}` + +- Display help about the merge function: + +`wiggle {{[-m|--merge]}} {{[-h|--help]}}` diff --git a/pages/common/wikiman.md b/pages/common/wikiman.md new file mode 100644 index 00000000000000..918501e69e9769 --- /dev/null +++ b/pages/common/wikiman.md @@ -0,0 +1,25 @@ +# wikiman + +> Offline search engine for documentation. +> Supports manual pages, Arch Wiki, Gentoo Wiki, FreeBSD documentation, and tldr-pages. +> More information: . + +- Search for a specific topic in all installed sources: + +`wikiman {{search_term}}` + +- Search for a topic in a specific [s]ource: + +`wikiman -s {{source}} {{search_term}}` + +- Search for a topic in two or more specific [s]ources: + +`wikiman -s {{source1,source2,...}} {{search_term}}` + +- List existing [S]ources: + +`wikiman -S` + +- Display [h]elp: + +`wikiman -h` diff --git a/pages/common/wikit.md b/pages/common/wikit.md new file mode 100644 index 00000000000000..34e3d3ab9420da --- /dev/null +++ b/pages/common/wikit.md @@ -0,0 +1,20 @@ +# wikit + +> Easily get Wikipedia summaries. +> More information: . + +- Show a short summary of a specific topic on Wikipedia: + +`wikit {{topic}}` + +- Specify a language (ISO 639-1 language code): + +`wikit {{topic}} {{[-l|--lang]}} {{language_code}}` + +- Open the full Wikipedia article in the default browser: + +`wikit {{topic}} -b` + +- Open a disambiguation menu: + +`wikit {{topic}} -d` diff --git a/pages/common/winicontopam.md b/pages/common/winicontopam.md new file mode 100644 index 00000000000000..4c627550ff9ed2 --- /dev/null +++ b/pages/common/winicontopam.md @@ -0,0 +1,20 @@ +# winicontopam + +> Convert a Windows ICO file to a PAM file. +> More information: . + +- Read an ICO file and convert the best quality image contained therein to the PAM format: + +`winicontopam {{path/to/input_file.ico}} > {{path/to/output.pam}}` + +- Convert all images in the input file to PAM: + +`winicontopam {{[-al|-allimages]}} {{path/to/input_file.ico}} > {{path/to/output.pam}}` + +- Convert the n'th image in the input file to PAM: + +`winicontopam {{[-i|-image]}} {{n}} {{path/to/input_file.ico}} > {{path/to/output.pam}}` + +- If the image(s) to be extracted contain graded transparency data and an AND mask, write the AND mask into the fifth channel of the output PAM file: + +`winicontopam {{[-an|-andmasks]}} {{path/to/input_file.ico}} > {{path/to/output.pam}}` diff --git a/pages/common/winicontoppm.md b/pages/common/winicontoppm.md new file mode 100644 index 00000000000000..170b598ba4f750 --- /dev/null +++ b/pages/common/winicontoppm.md @@ -0,0 +1,8 @@ +# winicontoppm + +> This command has been superseded by `winicontopam`. +> More information: . + +- View documentation for the current command: + +`tldr winicontopam` diff --git a/pages/common/wipeclean.md b/pages/common/wipeclean.md new file mode 100644 index 00000000000000..c99ac97143f764 --- /dev/null +++ b/pages/common/wipeclean.md @@ -0,0 +1,12 @@ +# wipeclean + +> Clear the terminal screen using an animated wiper. +> More information: . + +- Clear the terminal screen: + +`wipeclean` + +- Set the animation speed in frames per second (defaults to 150): + +`wipeclean --speed {{speed}}` diff --git a/pages/common/wkhtmltopdf.md b/pages/common/wkhtmltopdf.md new file mode 100644 index 00000000000000..965e0c4db88c20 --- /dev/null +++ b/pages/common/wkhtmltopdf.md @@ -0,0 +1,24 @@ +# wkhtmltopdf + +> Convert HTML documents or web pages into PDF files. +> More information: . + +- Convert a HTML document into PDF: + +`wkhtmltopdf {{input.html}} {{output.pdf}}` + +- Specify the PDF page size (please see `PaperSize` of `QPrinter` for supported sizes): + +`wkhtmltopdf --page-size {{A4}} {{input.html}} {{output.pdf}}` + +- Set the PDF page margins: + +`wkhtmltopdf --margin-{{top|bottom|left|right}} {{10mm}} {{input.html}} {{output.pdf}}` + +- Set the PDF page orientation: + +`wkhtmltopdf --orientation {{Landscape|Portrait}} {{input.html}} {{output.pdf}}` + +- Generate a greyscale version of the PDF document: + +`wkhtmltopdf --grayscale {{input.html}} {{output.pdf}}` diff --git a/pages/common/wlc.md b/pages/common/wlc.md new file mode 100644 index 00000000000000..e1d48e97391e6c --- /dev/null +++ b/pages/common/wlc.md @@ -0,0 +1,24 @@ +# wlc + +> Manage localization projects on a Weblate instance. +> More information: . + +- List projects using a configuration file: + +`wlc {{[-c|--config]}} {{path/to/file}} list-projects` + +- List components in a project, and override API URL and API key: + +`wlc {{[-u|--url]}} {{URL}} {{[-k|--key]}} {{key}} ls {{project}}` + +- List translations from a component in a specific format: + +`wlc {{[-f|--format]}} {{text|csv|json|html}} ls {{project}}/{{component}}` + +- Print statistics for a project: + +`wlc stats {{project}}` + +- Display help: + +`wlc {{[-h|--help]}}` diff --git a/pages/common/wlsunset.md b/pages/common/wlsunset.md new file mode 100644 index 00000000000000..511533adbd7bc4 --- /dev/null +++ b/pages/common/wlsunset.md @@ -0,0 +1,24 @@ +# wlsunset + +> Adjust the color temperature in Wayland compositors depending on the sunset/sunrise times. +> More information: . + +- Automatically compute sunset/sunrise times based on the specified location: + +`wlsunset -l {{latitude}} -L {{longitude}}` + +- Manually set the sunset/sunrise times (time format: `HH:MM`): + +`wlsunset -s {{sunset_time}} -S {{sunrise_time}}` + +- Set the high and low temperatures (default: high - 6500, low - 4000): + +`wlsunset -T {{high_temp}} -t {{low_temp}}` + +- Set the animation time to `n` seconds (only applicable when using manual sunset/sunrise times): + +`wlsunset -d {{n}} -s {{sunset_time}} -S {{sunrise_time}}` + +- Set the gamma (default: 1.0): + +`wlsunset -g {{gamma_value}}` diff --git a/pages/common/wondershaper.md b/pages/common/wondershaper.md new file mode 100644 index 00000000000000..b92d7ac9bcf5eb --- /dev/null +++ b/pages/common/wondershaper.md @@ -0,0 +1,28 @@ +# wondershaper + +> Allows the user to limit the bandwidth of network adapters. +> More information: . + +- Show the current [s]tatus of a specific [a]dapter: + +`wondershaper -s -a {{adapter_name}}` + +- Clear limits from a specific [a]dapter: + +`wondershaper -c -a {{adapter_name}}` + +- Set a specific maximum [d]ownload rate (in Kbps): + +`wondershaper -a {{adapter_name}} -d {{1024}}` + +- Set a specific maximum [u]pload rate (in Kbps): + +`wondershaper -a {{adapter_name}} -u {{512}}` + +- Set a specific maximum [d]ownload rate and [u]pload rate (in Kpbs): + +`wondershaper -a {{adapter_name}} -d {{1024}} -u {{512}}` + +- Display [h]elp: + +`wondershaper -h` diff --git a/pages/common/wordgrinder.md b/pages/common/wordgrinder.md index 54a5277a4146c8..60e70c741b2b26 100644 --- a/pages/common/wordgrinder.md +++ b/pages/common/wordgrinder.md @@ -1,16 +1,16 @@ # wordgrinder -> Command-line word processor. +> Word processor. > More information: . -- Start wordgrinder (loads a blank document by default): +- Start WordGrinder (loads a blank document by default): `wordgrinder` - Open a given file: -`wordgrinder {{filename}}` +`wordgrinder {{path/to/file}}` - Show the menu: -`Alt + M` +`` diff --git a/pages/common/wormhole.md b/pages/common/wormhole.md index b3770705131abb..5f693d88672fd9 100644 --- a/pages/common/wormhole.md +++ b/pages/common/wormhole.md @@ -1,7 +1,7 @@ # wormhole > Get things from one computer to another, safely. -> More information: . +> More information: . - Send a file: @@ -14,3 +14,7 @@ - Send raw text: `wormhole send` + +- Send a file with a custom code phrase: + +`wormhole send --code {{custom_code}} {{path/to/file}}` diff --git a/pages/common/wp.md b/pages/common/wp.md new file mode 100644 index 00000000000000..82c343e0bf0252 --- /dev/null +++ b/pages/common/wp.md @@ -0,0 +1,32 @@ +# wp + +> The official interface to manage WordPress instances. +> More information: . + +- Print information about the operating system, shell, PHP, and WP-CLI (`wp`) installation: + +`wp --info` + +- Update WP-CLI: + +`wp cli update` + +- Download a fresh WordPress installation to current directory, optionally specifying the locale: + +`wp core download --locale={{locale}}` + +- Create basic `wpconfig` file (assuming database on `localhost`): + +`wp config create --dbname={{dbname}} --dbuser={{dbuser}} --dbpass={{dbpass}}` + +- Install and activate a WordPress plugin: + +`wp plugin install {{plugin}} --activate` + +- Replace all instances of a string in the database: + +`wp search-replace {{old_string}} {{new_string}}` + +- Import the contents of a WordPress Extended RSS (WXR) file: + +`wp import {{path/to/file.xml}}` diff --git a/pages/common/wpa_supplicant.md b/pages/common/wpa_supplicant.md index 7757bb7a5c35f2..26f075afb7f336 100644 --- a/pages/common/wpa_supplicant.md +++ b/pages/common/wpa_supplicant.md @@ -1,6 +1,7 @@ # wpa_supplicant > Manage protected wireless networks. +> More information: . - Join a protected wireless network: diff --git a/pages/common/wpaclean.md b/pages/common/wpaclean.md new file mode 100644 index 00000000000000..abc22556f929aa --- /dev/null +++ b/pages/common/wpaclean.md @@ -0,0 +1,13 @@ +# wpaclean + +> Clean capture files to get only the 4-way handshake and a beacon. +> Part of Aircrack-ng network software suite. +> More information: . + +- Clean capture and save only the 4-way handshake and a beacon in the result: + +`wpaclean {{path/to/result.cap}} {{path/to/capture.cap}}` + +- Clean multiple captures and save 4-way handshakes and beacons in the result: + +`wpaclean {{path/to/result.cap}} {{path/to/capture1.cap path/to/capture2.cap ...}}` diff --git a/pages/common/wpm.md b/pages/common/wpm.md new file mode 100644 index 00000000000000..e72de1cf8d06fb --- /dev/null +++ b/pages/common/wpm.md @@ -0,0 +1,28 @@ +# wpm + +> Typeracer-like console app for measuring your WPM. +> More information: . + +- Start `wpm`: + +`wpm` + +- Start `wpm` with short texts: + +`wpm --short` + +- Start `wpm` using a specific text file: + +`wpm --load {{path/to/file.txt}}` + +- Tag your race scores: + +`wpm --tag {{tag_name}}` + +- Show score statistics grouped by tags: + +`wpm --stats` + +- Start `wpm` with monochrome colors: + +`wpm --monochrome` diff --git a/pages/common/wpscan.md b/pages/common/wpscan.md index eeb4e11a948aba..d07a5f1197bd4a 100644 --- a/pages/common/wpscan.md +++ b/pages/common/wpscan.md @@ -1,36 +1,36 @@ # wpscan -> Wordpress vulnerability scanner. +> WordPress vulnerability scanner. > More information: . - Update the vulnerability database: `wpscan --update` -- Scan a Wordpress website: +- Scan a WordPress website: `wpscan --url {{url}}` -- Scan a Wordpress website, using random user agents and passive detection: +- Scan a WordPress website, using random user agents and passive detection: `wpscan --url {{url}} --stealthy` -- Scan a Wordpress website, checking for vulnerable plugins and specifying the path to the `wp-content` directory: +- Scan a WordPress website, checking for vulnerable plugins and specifying the path to the `wp-content` directory: `wpscan --url {{url}} --enumerate {{vp}} --wp-content-dir {{remote/path/to/wp-content}}` -- Scan a Wordpress website through a proxy: +- Scan a WordPress website through a proxy: `wpscan --url {{url}} --proxy {{protocol://ip:port}} --proxy-auth {{username:password}}` -- Perform user identifiers enumeration on a Wordpress website: +- Perform user identifiers enumeration on a WordPress website: `wpscan --url {{url}} --enumerate {{u}}` -- Execute a password guessing attack on a Wordpress website: +- Execute a password guessing attack on a WordPress website: `wpscan --url {{url}} --usernames {{username|path/to/usernames.txt}} --passwords {{path/to/passwords.txt}} threads {{20}}` -- Scan a Wordpress website, collecting vulnerability data from the WPVulnDB (https://wpvulndb.com/): +- Scan a WordPress website, collecting vulnerability data from the WPVulnDB (): `wpscan --url {{url}} --api-token {{token}}` diff --git a/pages/common/wrangler.md b/pages/common/wrangler.md index 11f1d88b4105d2..9878c4a8134bb3 100644 --- a/pages/common/wrangler.md +++ b/pages/common/wrangler.md @@ -1,7 +1,7 @@ # wrangler -> Cloudflare Workers command line tool. -> More information: . +> Cloudflare Workers tool. +> More information: . - Initialize a project with a skeleton configuration: diff --git a/pages/common/write.md b/pages/common/write.md index 490a4ebcb75b48..0d869ea4a0540c 100644 --- a/pages/common/write.md +++ b/pages/common/write.md @@ -1,16 +1,18 @@ # write -> Write a message on the terminal of a specified logged in user (ctrl-C to stop writing messages). -> Use the `who` command to find out all terminal_ids of all active users active on the system. See also `mesg`. +> Write a message on the terminal of a specified logged in user (`` to stop writing messages). +> Use the `who` command to find out all terminal_ids of all active users active on the system. +> See also: `mesg`. +> More information: . -- Send a message to a given user on a given terminal id: +- Send a message to a given user on a given terminal ID: `write {{username}} {{terminal_id}}` -- Send message to "testuser" on terminal "/dev/tty/5": +- Send message to "testuser" on terminal `/dev/tty/5`: `write {{testuser}} {{tty/5}}` -- Send message to "jhondoe" on pseudo terminal "/dev/pts/5": +- Send message to "johndoe" on pseudo terminal `/dev/pts/5`: -`write {{jhondoe}} {{pts/5}}` +`write {{johndoe}} {{pts/5}}` diff --git a/pages/common/wrk.md b/pages/common/wrk.md index 5dd1428c590102..925b0cda1e55d2 100644 --- a/pages/common/wrk.md +++ b/pages/common/wrk.md @@ -5,12 +5,12 @@ - Run a benchmark for `30` seconds, using `12` threads, and keeping `400` HTTP connections open: -`wrk -t{{12}} -c{{400}} -d{{30s}} "{{http://127.0.0.1:8080/index.html}}"` +`wrk {{[-t|--threads]}} {{12}} {{[-c|--connections]}} {{400}} {{[-d|--duration]}} {{30s}} "{{http://127.0.0.1:8080/index.html}}"` - Run a benchmark with a custom header: -`wrk -t{{2}} -c{{5}} -d{{5s}} -H "{{Host: example.com}}" "{{http://example.com/index.html}}"` +`wrk {{[-t|--threads]}} {{2}} {{[-c|--connections]}} {{5}} {{[-d|--duration]}} {{5s}} {{[-H|--header]}} "{{Host: example.com}}" "{{http://example.com/index.html}}"` - Run a benchmark with a request timeout of `2` seconds: -`wrk -t{{2}} -c{{5}} -d{{5s}} --timeout {{2s}} "{{http://example.com/index.html}}"` +`wrk {{[-t|--threads]}} {{2}} {{[-c|--connections]}} {{5}} {{[-d|--duration]}} {{5s}} --timeout {{2s}} "{{http://example.com/index.html}}"` diff --git a/pages/common/wuzz.md b/pages/common/wuzz.md index 87753143d911ce..c55e38e246e81a 100644 --- a/pages/common/wuzz.md +++ b/pages/common/wuzz.md @@ -1,24 +1,24 @@ # wuzz -> Tool to interactively inspect HTTP requests and responses. +> Interactively inspect HTTP requests and responses. > More information: . -- Start wuzz: +- Start `wuzz`: `wuzz` -- Display help information: - -`F1` - - Send an HTTP request: -`Ctrl + R` +`` - Switch to the next view: -`Ctrl + J, Tab` +`` - Switch to the previous view: -`Ctrl + K, Shift + Tab` +`` + +- Display help: + +`` diff --git a/pages/common/x11docker.md b/pages/common/x11docker.md new file mode 100644 index 00000000000000..d4cf0797c031f1 --- /dev/null +++ b/pages/common/x11docker.md @@ -0,0 +1,25 @@ +# x11docker + +> Securely run GUI applications and desktop UIs in Docker containers. +> See also: `xephyr`. +> More information: . + +- Launch VLC in a container: + +`x11docker {{[-p|--pulseaudio]}} --share {{$HOME/Videos}} {{jess/vlc}}` + +- Launch Xfce in a window: + +`x11docker {{[-d|--desktop]}} {{x11docker/xfce}}` + +- Launch GNOME in a window: + +`x11docker {{[-d|--desktop]}} {{[-g|--gpu]}} --init={{systemd}} {{x11docker/gnome}}` + +- Launch KDE Plasma in a window: + +`x11docker {{[-d|--desktop]}} {{[-g|--gpu]}} --init={{systemd}} {{x11docker/kde-plasma}}` + +- Display help: + +`x11docker --help` diff --git a/pages/common/x8.md b/pages/common/x8.md new file mode 100644 index 00000000000000..66d29cd482d6e0 --- /dev/null +++ b/pages/common/x8.md @@ -0,0 +1,36 @@ +# x8 + +> A hidden parameters discovery suite for identifying vulnerable or interesting web parameters. +> More information: . + +- Check hidden parameters in a URL query: + +`x8 {{[-u|--url]}} {{https://example.com/}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` + +- Check parameters with a custom query injection point (`%s`): + +`x8 {{[-u|--url]}} {{https://example.com/?something=1%26%s}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` + +- Send parameters via POST body with JSON format: + +`x8 {{[-u|--url]}} {{https://example.com/}} {{[-X|--method]}} {{POST}} {{[-b|--body]}} {{'{"x":{%s\}\}'}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` + +- Check parameters with a custom template (`%k` for key, `%v` for value): + +`x8 {{[-u|--url]}} {{https://example.com/}} {{[-P|--param-template]}} {{user[%k]=%v}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` + +- Encode parameters for special characters in queries: + +`x8 {{[-u|--url]}} {{https://example.com/?path=..%2faction.php%3f%s%23}} --encode {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` + +- Discover hidden headers for a URL: + +`x8 {{[-u|--url]}} {{https://example.com/}} --headers {{[-w|--wordlist]}} {{path/to/headers.txt}}` + +- Check multiple URLs in parallel with high concurrency and verify found parameters: + +`x8 {{[-u|--url]}} {{https://example.com/}} {{https://4rt.one/}} {{[-W|--workers]}} {{0}} -c {{3}} --verify` + +- Save request and response data for found parameters to a directory: + +`x8 {{[-u|--url]}} {{https://example.com/}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} --save-responses {{path/to/output_directory}}` diff --git a/pages/common/x_x.md b/pages/common/x_x.md index 3472d77809f311..d216056b8c1bd9 100644 --- a/pages/common/x_x.md +++ b/pages/common/x_x.md @@ -1,6 +1,6 @@ # x_x -> View Excel and CSV files from the command-line. +> View Excel and CSV files. > More information: . - View an XLSX or CSV file: @@ -9,8 +9,8 @@ - View an XLSX or CSV file, using the first row as table headers: -`x_x -h {{0}} {{file.xlsx|file.csv}}` +`x_x {{[-h|--heading]}} {{0}} {{file.xlsx|file.csv}}` - View a CSV file with unconventional delimiters: -`x_x --delimiter={{';'}} --quotechar={{'|'}} {{file.csv}}` +`x_x {{[-d|--delimiter]}} {{';'}} {{[-q|--quotechar]}} {{'|'}} {{file.csv}}` diff --git a/pages/common/xar.md b/pages/common/xar.md new file mode 100644 index 00000000000000..3c15003aee6d01 --- /dev/null +++ b/pages/common/xar.md @@ -0,0 +1,16 @@ +# xar + +> Manage .xar archives. +> More information: . + +- Create a xar archive of all files in a given directory: + +`xar -cf {{archive.xar}} {{path/to/directory}}` + +- List the contents of a given xar archive: + +`xar -tf {{archive.xar}}` + +- Extract the contents of a given xar archive to the current directory: + +`xar -xf {{archive.xar}}` diff --git a/pages/common/xargs.md b/pages/common/xargs.md index 58b68acd805478..afcbd4440526f4 100644 --- a/pages/common/xargs.md +++ b/pages/common/xargs.md @@ -2,6 +2,7 @@ > Execute a command with piped arguments coming from another command, a file, etc. > The input is treated as a single block of text and split into separate pieces on spaces, tabs, newlines and end-of-file. +> More information: . - Run a command using the input data as arguments: @@ -11,9 +12,13 @@ `{{arguments_source}} | xargs sh -c "{{command1}} && {{command2}} | {{command3}}"` -- Delete all files with a `.backup` extension (`-print0` uses a null character to split file names, and `-0` uses it as delimiter): +- Gzip all files with `.log` extension taking advantage of multiple threads (`-print0` uses a null character to split file names, and `-0` uses it as delimiter): -`find . -name {{'*.backup'}} -print0 | xargs -0 rm -v` +`find . -name '*.log' -print0 | xargs {{[-0|--null]}} {{[-P|--max-procs]}} {{4}} {{[-n|--max-args]}} 1 gzip` + +- Execute the command once per argument: + +`{{arguments_source}} | xargs {{[-n|--max-args]}} 1 {{command}}` - Execute the command once for each input line, replacing any occurrences of the placeholder (here marked as `_`) with the input line: @@ -21,4 +26,8 @@ - Parallel runs of up to `max-procs` processes at a time; the default is 1. If `max-procs` is 0, xargs will run as many processes as possible at a time: -`{{arguments_source}} | xargs -P {{max-procs}} {{command}}` +`{{arguments_source}} | xargs {{[-P|--max-procs]}} {{max-procs}} {{command}}` + +- Prompt user for confirmation before executing command (confirm with `y` or `Y`): + +`{{arguments_source}} | xargs {{[-p|--interactive]}} {{command}}` diff --git a/pages/common/xbmtopbm.md b/pages/common/xbmtopbm.md new file mode 100644 index 00000000000000..b5bcd80859d292 --- /dev/null +++ b/pages/common/xbmtopbm.md @@ -0,0 +1,8 @@ +# xbmtopbm + +> Convert an X11 or X10 bitmap to a PBM image. +> More information: . + +- Convert an XBM image to a PPM image: + +`xbmtopbm {{path/to/input_file.xbm}} > {{path/to/output_file.pbm}}` diff --git a/pages/common/xdelta.md b/pages/common/xdelta.md new file mode 100644 index 00000000000000..f9ba5bb45e7e10 --- /dev/null +++ b/pages/common/xdelta.md @@ -0,0 +1,13 @@ +# xdelta + +> Delta encoding utility. +> Often used for applying patches to binary files. +> More information: . + +- Apply a patch: + +`xdelta -d -s {{path/to/input_file}} {{path/to/delta_file.xdelta}} {{path/to/output_file}}` + +- Create a patch: + +`xdelta -e -s {{path/to/old_file}} {{path/to/new_file}} {{path/to/output_file.xdelta}}` diff --git a/pages/common/xdg-user-dirs-update.md b/pages/common/xdg-user-dirs-update.md deleted file mode 100644 index 801ca3a0efdf45..00000000000000 --- a/pages/common/xdg-user-dirs-update.md +++ /dev/null @@ -1,12 +0,0 @@ -# xdg-user-dirs-update - -> Update XDG user directories. -> More information: . - -- Change XDG's DESKTOP directory to the specified directory (must be absolute): - -`xdg-user-dirs-update --set DESKTOP "{{path/to/directory}}"` - -- Write the result to the specified dry-run-file instead of the `user-dirs.dirs` file: - -`xdg-user-dirs-update --dummy-output "{{path/to/dry_run_file}}" --set {{xdg_user_directory}} "{{path/to/directory}}"` diff --git a/pages/common/xe.md b/pages/common/xe.md new file mode 100644 index 00000000000000..e9354964f79aab --- /dev/null +++ b/pages/common/xe.md @@ -0,0 +1,24 @@ +# xe + +> Execute a command once for each line piped from another command or file. +> More information: . + +- Run a command once for each line of input data as arguments: + +`{{arguments_source}} | xe {{command}}` + +- Execute the commands, replacing any occurrence of the placeholder (marked as `{}`) with the input line: + +`{{arguments_source}} | xe {{command}} {} {{optional_extra_arguments}}` + +- Execute a shellscript, joining every `N` lines into a single call: + +`echo -e 'a\nb' | xe -N{{2}} -s 'echo $2 $1'` + +- Delete all files with a `.backup` extension: + +`find . -name {{'*.backup'}} | xe rm -v` + +- Run up to `max-jobs` processes in parallel; the default is 1. If `max-jobs` is 0, xe will run as many processes as cpu cores: + +`{{arguments_source}} | xe -j {{max-jobs}} {{command}}` diff --git a/pages/common/xephyr.md b/pages/common/xephyr.md index 2a4e9fcbce5ae4..dcfdc87d107e9d 100644 --- a/pages/common/xephyr.md +++ b/pages/common/xephyr.md @@ -1,6 +1,7 @@ # Xephyr > A nested X server that runs as an X application. +> More information: . - Create a black window with display ID ":2": diff --git a/pages/common/xetex.md b/pages/common/xetex.md new file mode 100644 index 00000000000000..d37d6d56e2a5f0 --- /dev/null +++ b/pages/common/xetex.md @@ -0,0 +1,16 @@ +# xetex + +> Compile a PDF document from XeTeX source files. +> More information: . + +- Compile a PDF document: + +`xetex {{source.tex}}` + +- Compile a PDF document, specifying an output directory: + +`xetex -output-directory={{path/to/directory}} {{source.tex}}` + +- Compile a PDF document, exiting if errors occur: + +`xetex -halt-on-error {{source.tex}}` diff --git a/pages/common/xev.md b/pages/common/xev.md new file mode 100644 index 00000000000000..5de012bc29e139 --- /dev/null +++ b/pages/common/xev.md @@ -0,0 +1,20 @@ +# xev + +> Print contents of X events. +> More information: . + +- Monitor all occurring X events: + +`xev` + +- Monitor all X events of the root window instead of creating a new one: + +`xev -root` + +- Monitor all X events of a particular window: + +`xev -id {{window_id}}` + +- Monitor X events from a given category (can be specified multiple times): + +`xev -event {{event_category}}` diff --git a/pages/common/xgettext.md b/pages/common/xgettext.md index 3d8b8a375a4a0c..9f00017582ce1e 100644 --- a/pages/common/xgettext.md +++ b/pages/common/xgettext.md @@ -1,7 +1,7 @@ # xgettext > Extract gettext strings from code files. -> More information: . +> More information: . - Scan file and output strings to `messages.po`: @@ -9,12 +9,16 @@ - Use a different output filename: -`xgettext --output {{path/to/output_file}} {{path/to/input_file}}` +`xgettext {{[-o|--output]}} {{path/to/output_file}} {{path/to/input_file}}` - Append new strings to an existing file: -`xgettext --join-existing --output {{path/to/output_file}} {{path/to/input_file}}` +`xgettext {{[-j|--join-existing]}} {{[-o|--output]}} {{path/to/output_file}} {{path/to/input_file}}` - Don't add a header containing metadata to the output file: `xgettext --omit-header {{path/to/input_file}}` + +- Display help: + +`xgettext {{[-h|--help]}}` diff --git a/pages/common/xh.md b/pages/common/xh.md new file mode 100644 index 00000000000000..68112394875508 --- /dev/null +++ b/pages/common/xh.md @@ -0,0 +1,34 @@ +# xh + +> Friendly and fast tool for sending HTTP requests. +> Note: `xh`, written in rust, serves as an effective drop-in replacement for `http`. +> See also: `http`, `curl`. +> More information: . + +- Send a GET request (shows response headers and content): + +`xh {{https://postman-echo.com/get}}` + +- Send a POST request with a JSON body (key-value pairs are added to a top-level JSON object - e.g. `{"name": "john", "age": 25}`): + +`xh post {{https://postman-echo.com/post}} {{name=john}} {{age=25}}` + +- Send a GET request with query parameters (e.g. `https://postman-echo.com/response-headers?foo1=bar1&foo2=bar2`): + +`xh get {{https://postman-echo.com/response-headers}} {{foo1==bar1}} {{foo2==bar2}}` + +- Send a GET request with a custom header: + +`xh get {{https://postman-echo.com}} {{header-name:header-value}}` + +- Make a GET request and save the response body to a file: + +`xh {{[-d|--download]}} {{https://example.com}} {{[-o|--output]}} {{path/to/file}}` + +- Construct a request but do not send it (similar to a dry-run): + +`xh --offline {{get|delete|...}} {{https://example.com}}` + +- Show equivalent `curl` command (this will not send any request): + +`xh --{{curl|curl-long}} {{--follow --verbose get https://example.com user-agent:curl}}` diff --git a/pages/common/xidel.md b/pages/common/xidel.md new file mode 100644 index 00000000000000..c679c62008a45b --- /dev/null +++ b/pages/common/xidel.md @@ -0,0 +1,36 @@ +# xidel + +> Download and extract data from HTML/XML pages as well as JSON APIs. +> More information: . + +- Print all URLs found by a Google search: + +`xidel {{https://www.google.com/search?q=test}} {{[-e|--extract]}} "//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']"` + +- Print the title of all pages found by a Google search and download them: + +`xidel {{https://www.google.com/search?q=test}} {{[-f|--follow]}} "{{//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']}}" {{[-e|--extract]}} {{//title}} --download {{'{$host}/'}}` + +- Follow all links on a page and print the titles, with XPath: + +`xidel {{https://example.org}} {{[-f|--follow]}} {{//a}} {{[-e|--extract]}} {{//title}}` + +- Follow all links on a page and print the titles, with CSS selectors: + +`xidel {{https://example.org}} {{[-f|--follow]}} "{{css('a')}}" --css {{title}}` + +- Follow all links on a page and print the titles, with pattern matching: + +`xidel {{https://example.org}} {{[-f|--follow]}} "{{{.}*}}" {{[-e|--extract]}} "{{{.}}}"` + +- Read the pattern from example.xml (which will also check if the element containing "ood" is there, and fail otherwise): + +`xidel {{path/to/example.xml}} {{[-e|--extract]}} "{{ood{.}}}"` + +- Print all newest Stack Overflow questions with title and URL using pattern matching on their RSS feed: + +`xidel {{http://stackoverflow.com/feeds}} {{[-e|--extract]}} "{{{title:=.}{uri:=@href}+}}"` + +- Check for unread Reddit mail, Webscraping, combining CSS, XPath, JSONiq, and automatically form evaluation: + +`xidel {{https://reddit.com}} {{[-f|--follow]}} "{{form(css('form.login-form')[1], {'user': '$your_username', 'passwd': '$your_password'})}}" {{[-e|--extract]}} "{{css('#mail')/@title}}"` diff --git a/pages/common/ximtoppm.md b/pages/common/ximtoppm.md new file mode 100644 index 00000000000000..b6c61575dbbd23 --- /dev/null +++ b/pages/common/ximtoppm.md @@ -0,0 +1,12 @@ +# ximtoppm + +> Convert a XIM file to a PPM image. +> More information: . + +- Convert an XIM image to a PPM image: + +`ximtoppm {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}` + +- Store the transparency mask of the input image in the specified file: + +`ximtoppm {{[-a|-alphaout]}} {{path/to/alpha_file.pbm}} {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/xkcdpass.md b/pages/common/xkcdpass.md index 65abc9b05881b1..544e88c5df6b4e 100644 --- a/pages/common/xkcdpass.md +++ b/pages/common/xkcdpass.md @@ -10,8 +10,8 @@ - Generate one passphrase whose first letters of each word match the provided argument: -`xkcdpass -a {{acrostic}}` +`xkcdpass {{[-a|--acrostic]}} {{acrostic}}` - Generate passwords interactively: -`xkcdpass -i` +`xkcdpass {{[-i|--interactive]}}` diff --git a/pages/common/xkill.md b/pages/common/xkill.md index b2c9d72a874f8f..bc63c0bc33f307 100644 --- a/pages/common/xkill.md +++ b/pages/common/xkill.md @@ -1,8 +1,17 @@ # xkill > Kill a window interactively in a graphical session. -> See also `kill` and `killall`. +> See also: `kill`, `killall`. +> More information: . - Display a cursor to kill a window when pressing the left mouse button (press any other mouse button to cancel): `xkill` + +- Display a cursor to select a window to kill by pressing any mouse button: + +`xkill -button any` + +- Kill a window with a specific ID (use `xwininfo` to get info about windows): + +`xkill -id {{id}}` diff --git a/pages/common/xlsclients.md b/pages/common/xlsclients.md new file mode 100644 index 00000000000000..e613cf83e75659 --- /dev/null +++ b/pages/common/xlsclients.md @@ -0,0 +1,32 @@ +# xlsclients + +> List client applications running on an X11 display. +> More information: . + +- List clients on the default display: + +`xlsclients` + +- List clients on all screens: + +`xlsclients -a` + +- List clients with detailed information: + +`xlsclients -l` + +- Limit the command output length per client to a specific number of characters: + +`xlsclients -m {{max_command_length}}` + +- Specify a particular display to inspect: + +`xlsclients -display :{{display_number}}` + +- List clients on remote host's display: + +`xlsclients -display {{remote_host}}:0` + +- Display version: + +`xlsclients -version` diff --git a/pages/common/xmake.md b/pages/common/xmake.md new file mode 100644 index 00000000000000..0c4e7b0346309c --- /dev/null +++ b/pages/common/xmake.md @@ -0,0 +1,24 @@ +# xmake + +> A cross-platform C & C++ build utility based on Lua. +> More information: . + +- Create an Xmake C project, consisting of a hello world and `xmake.lua`: + +`xmake create {{[-l|--language]}} {{[c|clean]}} {{[-P|--project]}} {{project_name}}` + +- Build and run an Xmake project: + +`xmake {{[b|build]}} {{[r|run]}}` + +- Run a compiled Xmake target directly: + +`xmake {{[r|run]}} {{target_name}}` + +- Configure a project's build targets: + +`xmake {{[f|config]}} {{[-p |--plat=]}}{{macosx|linux|iphoneos|...}} {{[-a |--arch=]}}{{x86_64|i386|arm64|...}} {{[-m |--mode=]}}{{debug|release}}` + +- Install the compiled target to a directory: + +`xmake {{[i|install]}} {{[-o |--installdir=]}}{{path/to/directory}}` diff --git a/pages/common/xml-c14n.md b/pages/common/xml-c14n.md new file mode 100644 index 00000000000000..7d742f7bbb20f8 --- /dev/null +++ b/pages/common/xml-c14n.md @@ -0,0 +1,7 @@ +# xml c14n + +> This command is an alias of `xml canonic`. + +- View documentation for the original command: + +`tldr xml canonic` diff --git a/pages/common/xml-canonic.md b/pages/common/xml-canonic.md new file mode 100644 index 00000000000000..2390c086bb643c --- /dev/null +++ b/pages/common/xml-canonic.md @@ -0,0 +1,20 @@ +# xml canonic + +> Make XML documents canonical. +> More information: . + +- Make an XML document canonical, preserving comments: + +`xml {{[c14n|canonic]}} {{path/to/input.xml|URI}} > {{path/to/output.xml}}` + +- Make an XML document canonical, removing comments: + +`xml {{[c14n|canonic]}} --without-comments {{path/to/input.xml|URI}} > {{path/to/output.xml}}` + +- Make XML exclusively canonical, using an XPATH from a file, preserving comments: + +`xml {{[c14n|canonic]}} --exc-with-comments {{path/to/input.xml|URI}} {{path/to/c14n.xpath}}` + +- Display help: + +`xml {{[c14n|canonic]}} --help` diff --git a/pages/common/xml-depyx.md b/pages/common/xml-depyx.md new file mode 100644 index 00000000000000..9184ff5a0e0820 --- /dev/null +++ b/pages/common/xml-depyx.md @@ -0,0 +1,16 @@ +# xml depyx + +> Convert a PYX (ESIS - ISO 8879) document to XML format. +> More information: . + +- Convert a PYX (ESIS - ISO 8879) document to XML format: + +`xml {{[p2x|depyx]}} {{path/to/input.pyx|URI}} > {{path/to/output.xml}}` + +- Convert a PYX document from `stdin` to XML format: + +`cat {{path/to/input.pyx}} | xml {{[p2x|depyx]}} > {{path/to/output.xml}}` + +- Display help: + +`xml {{[p2x|depyx]}} --help` diff --git a/pages/common/xml-edit.md b/pages/common/xml-edit.md new file mode 100644 index 00000000000000..3cb24366e2463a --- /dev/null +++ b/pages/common/xml-edit.md @@ -0,0 +1,28 @@ +# xml edit + +> Edit an XML document. +> More information: . + +- Delete elements matching an XPATH from an XML document: + +`xml {{[ed|edit]}} {{[-d|--delete]}} "{{XPATH1}}" {{path/to/input.xml|URI}}` + +- Move an element node of an XML document from XPATH1 to XPATH2: + +`xml {{[ed|edit]}} {{[-m|--move]}} "{{XPATH1}}" "{{XPATH2}}" {{path/to/input.xml|URI}}` + +- Rename all attributes named "id" to "ID": + +`xml {{[ed|edit]}} {{[-r|--rename]}} "{{//*/@id}}" -v "{{ID}}" {{path/to/input.xml|URI}}` + +- Rename sub-elements of the element "table" that are named "rec" to "record": + +`xml {{[ed|edit]}} {{[-r|--rename]}} "{{/xml/table/rec}}" -v "{{record}}" {{path/to/input.xml|URI}}` + +- Update the XML table record with "id=3" to the value "id=5": + +`xml {{[ed|edit]}} {{[-u|--update]}} "{{xml/table/rec[@id=3]/@id}}" {{[-v|--value]}} {{5}} {{path/to/input.xml|URI}}` + +- Display help: + +`xml {{[ed|edit]}} {{[-h|--help]}}` diff --git a/pages/common/xml-elements.md b/pages/common/xml-elements.md new file mode 100644 index 00000000000000..1c2a64334e8bdf --- /dev/null +++ b/pages/common/xml-elements.md @@ -0,0 +1,28 @@ +# xml elements + +> Extract elements and display the structure of an XML document. +> More information: . + +- Extract elements from an XML document (producing XPATH expressions): + +`xml {{[el|elements]}} {{path/to/input.xml|URI}} > {{path/to/elements.xpath}}` + +- Extract elements and their attributes from an XML document: + +`xml {{[el|elements]}} -a {{path/to/input.xml|URI}} > {{path/to/elements.xpath}}` + +- Extract elements and their attributes and values from an XML document: + +`xml {{[el|elements]}} -v {{path/to/input.xml|URI}} > {{path/to/elements.xpath}}` + +- Print sorted unique elements from an XML document to see its structure: + +`xml {{[el|elements]}} -u {{path/to/input.xml|URI}}` + +- Print sorted unique elements from an XML document up to a depth of 3: + +`xml {{[el|elements]}} -d{{3}} {{path/to/input.xml|URI}}` + +- Display help: + +`xml {{[el|elements]}} --help` diff --git a/pages/common/xml-escape.md b/pages/common/xml-escape.md new file mode 100644 index 00000000000000..16119278b11701 --- /dev/null +++ b/pages/common/xml-escape.md @@ -0,0 +1,16 @@ +# xml escape + +> Escape special XML characters, e.g. `` → `<a1>`. +> More information: . + +- Escape special XML characters in a string: + +`xml {{[esc|escape]}} "{{}}"` + +- Escape special XML characters from `stdin`: + +`echo "{{}}" | xml {{[esc|escape]}}` + +- Display help: + +`xml {{[esc|escape]}} --help` diff --git a/pages/common/xml-format.md b/pages/common/xml-format.md new file mode 100644 index 00000000000000..7548b4b0b8d8bc --- /dev/null +++ b/pages/common/xml-format.md @@ -0,0 +1,28 @@ +# xml format + +> Format an XML document. +> More information: . + +- Format an XML document, indenting with tabs: + +`xml {{[fo|format]}} {{[-t|--indent-tab]}} {{path/to/input.xml|URI}} > {{path/to/output.xml}}` + +- Format an HTML document, indenting with 4 spaces: + +`xml {{[fo|format]}} {{[-H|--html]}} {{[-s|--indent-spaces]}} {{4}} {{path/to/input.html|URI}} > {{path/to/output.html}}` + +- Recover parsable parts of a malformed XML document, without indenting: + +`xml {{[fo|format]}} {{[-R|--recover]}} {{[-n|--noindent]}} {{path/to/malformed.xml|URI}} > {{path/to/recovered.xml}}` + +- Format an XML document from `stdin`, removing the `DOCTYPE` declaration: + +`cat {{path\to\input.xml}} | xml {{[fo|format]}} {{[-D|--dropdtd]}} > {{path/to/output.xml}}` + +- Format an XML document, omitting the XML declaration: + +`xml {{[fo|format]}} {{[-o|--omit-decl]}} {{path\to\input.xml|URI}} > {{path/to/output.xml}}` + +- Display help: + +`xml {{[fo|format]}} --help` diff --git a/pages/common/xml-list.md b/pages/common/xml-list.md new file mode 100644 index 00000000000000..80cca1f78c1ea0 --- /dev/null +++ b/pages/common/xml-list.md @@ -0,0 +1,16 @@ +# xml list + +> List a directory's contents (like `ls`) in XML format. +> More information: . + +- Write the current directory's listing to an XML document: + +`xml {{[ls|list]}} > {{path/to/dir_list.xml}}` + +- Write the specified directory's listing to an XML document: + +`xml {{[ls|list]}} {{path/to/directory}} > {{path/to/dir_list.xml}}` + +- Display help: + +`xml {{[ls|list]}} --help` diff --git a/pages/common/xml-p2x.md b/pages/common/xml-p2x.md new file mode 100644 index 00000000000000..e9e65b29a083a0 --- /dev/null +++ b/pages/common/xml-p2x.md @@ -0,0 +1,7 @@ +# xml p2x + +> This command is an alias of `xml depyx`. + +- View documentation for the original command: + +`tldr xml depyx` diff --git a/pages/common/xml-pyx.md b/pages/common/xml-pyx.md new file mode 100644 index 00000000000000..74271fa08bbc0c --- /dev/null +++ b/pages/common/xml-pyx.md @@ -0,0 +1,16 @@ +# xml pyx + +> Convert an XML document to PYX (ESIS - ISO 8879) format. +> More information: . + +- Convert an XML document to PYX format: + +`xml pyx {{path/to/input.xml|URI}} > {{path/to/output.pyx}}` + +- Convert an XML document from `stdin` to PYX format: + +`cat {{path/to/input.xml}} | xml pyx > {{path/to/output.pyx}}` + +- Display help: + +`xml pyx --help` diff --git a/pages/common/xml-select.md b/pages/common/xml-select.md new file mode 100644 index 00000000000000..a468513f4af661 --- /dev/null +++ b/pages/common/xml-select.md @@ -0,0 +1,25 @@ +# xml select + +> Select from XML documents using XPATHs. +> Tip: use `xml elements` to display the XPATHs of an XML document. +> More information: . + +- Select all elements matching "XPATH1" and print the value of their sub-element "XPATH2": + +`xml {{[sel|select]}} {{[-t|--template]}} {{[-m|--match]}} "{{XPATH1}}" {{[-v|--value-of]}} "{{XPATH2}}" {{path/to/input.xml|URI}}` + +- Match "XPATH1" and print the value of "XPATH2" as text with new-lines: + +`xml {{[sel|select]}} {{[-T|--text]}} {{[-t|--template]}} {{[-m|--match]}} "{{XPATH1}}" {{[-v|--value-of]}} "{{XPATH2}}" {{[-n|--nl]}} {{path/to/input.xml|URI}}` + +- Count the elements of "XPATH1": + +`xml {{[sel|select]}} {{[-t|--template]}} {{[-v|--value-of]}} "count({{XPATH1}})" {{path/to/input.xml|URI}}` + +- Count all nodes in one or more XML documents: + +`xml {{[sel|select]}} {{[-T|--text]}} {{[-t|--template]}} {{[-f|--inp-name]}} {{[-o|--output]}} " " {{[-v|--value-of]}} "count(node())" {{[-n|--nl]}} {{path/to/input1.xml|URI}} {{path/to/input2.xml|URI}}` + +- Display help: + +`xml {{[sel|select]}} --help` diff --git a/pages/common/xml-transform.md b/pages/common/xml-transform.md new file mode 100644 index 00000000000000..6fa3b50544fa7b --- /dev/null +++ b/pages/common/xml-transform.md @@ -0,0 +1,12 @@ +# xml transform + +> Transform XML documents using XSLT. +> More information: . + +- Transform an XML document using an XSL stylesheet, passing one XPATH parameter and one literal string parameter: + +`xml {{[tr|transform]}} {{path/to/stylesheet.xsl}} -p "{{Count='count(/xml/table/rec)'}}" -s {{Text="Count="}} {{path/to/input.xml|URI}}` + +- Display help: + +`xml {{[tr|transform]}} --help` diff --git a/pages/common/xml-unescape.md b/pages/common/xml-unescape.md new file mode 100644 index 00000000000000..df21fc733808d8 --- /dev/null +++ b/pages/common/xml-unescape.md @@ -0,0 +1,16 @@ +# xml unescape + +> Unescape special XML characters, e.g. `<a1>` → ``. +> More information: . + +- Unescape special XML characters from a string: + +`xml {{[unesc|unescape]}} "{{<a1>}}"` + +- Unescape special XML characters from `stdin`: + +`echo "{{<a1>}}" | xml {{[unesc|unescape]}}` + +- Display help: + +`xml {{[esc|escape]}} --help` diff --git a/pages/common/xml-validate.md b/pages/common/xml-validate.md new file mode 100644 index 00000000000000..d05dbf7e14c7c2 --- /dev/null +++ b/pages/common/xml-validate.md @@ -0,0 +1,24 @@ +# xml validate + +> Validate XML documents. +> More information: . + +- Validate one or more XML documents for well-formedness only: + +`xml {{[val|validate]}} {{path/to/input1.xml|URI1 path/to/input2.xml|URI2 ...}}` + +- Validate one or more XML documents against a Document Type Definition (DTD): + +`xml {{[val|validate]}} {{[-d|--dtd]}} {{path/to/schema.dtd}} {{path/to/input1.xml|URI1 path/to/input2.xml|URI2 ...}}` + +- Validate one or more XML documents against an XML Schema Definition (XSD): + +`xml {{[val|validate]}} {{[-s|--xsd]}} {{path/to/schema.xsd}} {{path/to/input1.xml|URI1 path/to/input2.xml|URI2 ...}}` + +- Validate one or more XML documents against a Relax NG schema (RNG): + +`xml {{[val|validate]}} {{[-r|--relaxng]}} {{path/to/schema.rng}} {{path/to/input1.xml|URI1 path/to/input2.xml|URI2 ...}}` + +- Display help: + +`xml {{[val|validate]}} --help` diff --git a/pages/common/xml-xmln.md b/pages/common/xml-xmln.md new file mode 100644 index 00000000000000..8fa7529778f991 --- /dev/null +++ b/pages/common/xml-xmln.md @@ -0,0 +1,7 @@ +# xml xmln + +> This command is an alias of `xml pyx`. + +- View documentation for the original command: + +`tldr xml pyx` diff --git a/pages/common/xml.md b/pages/common/xml.md new file mode 100644 index 00000000000000..2879bc6319c378 --- /dev/null +++ b/pages/common/xml.md @@ -0,0 +1,29 @@ +# xml + +> XMLStarlet Toolkit: query, edit, check, convert and transform XML documents. +> Some subcommands such as `xml validate` have their own usage documentation. +> More information: . + +- Display general help, including the list of subcommands: + +`xml --help` + +- Execute a subcommand with input from a file or URI, printing to `stdout`: + +`xml {{subcommand}} {{options}} {{path/to/input.xml|URI}}` + +- Execute a subcommand using `stdin` and `stdout`: + +`xml {{subcommand}} {{options}}` + +- Execute a subcommand with input from a file or URI and output to a file: + +`xml {{subcommand}} {{options}} {{path/to/input.xml|URI}} > {{path/to/output}}` + +- Display help for a specific subcommand: + +`xml {{subcommand}} --help` + +- Display version: + +`xml --version` diff --git a/pages/common/xmllint.md b/pages/common/xmllint.md index 8dbb2767a97fb8..da079729c02220 100644 --- a/pages/common/xmllint.md +++ b/pages/common/xmllint.md @@ -1,6 +1,7 @@ # xmllint > XML parser and linter that supports XPath, a syntax for navigating XML trees. +> More information: . - Return all nodes (tags) named "foo": @@ -10,7 +11,7 @@ `xmllint --xpath "string(//{{foo}})" {{source_file.xml}}` -- Return the href attribute of the second anchor element in an html file: +- Return the href attribute of the second anchor element in an HTML file: `xmllint --html --xpath "string(//a[2]/@href)" webpage.xhtml` @@ -18,7 +19,7 @@ `xmllint --format {{source_file.xml}}` -- Check that a XML file meets the requirements of its DOCTYPE declaration: +- Check that an XML file meets the requirements of its DOCTYPE declaration: `xmllint --valid {{source_file.xml}}` diff --git a/pages/common/xmlstarlet.md b/pages/common/xmlstarlet.md new file mode 100644 index 00000000000000..43fb06a9bf08ac --- /dev/null +++ b/pages/common/xmlstarlet.md @@ -0,0 +1,37 @@ +# xmlstarlet + +> A XML/XSLT toolkit. +> Note: You will likely need to know XPath: . +> More information: . + +- Format an XML document and print to `stdout`: + +`xmlstarlet format {{path/to/file.xml}}` + +- XML document can also be piped from `stdin`: + +`{{cat path/to/file.xml}} | xmlstarlet format` + +- Print all nodes that match a given XPath: + +`xmlstarlet select --template --copy-of {{xpath}} {{path/to/file.xml}}` + +- Insert an attribute to all matching nodes, and print to `stdout` (source file is unchanged): + +`xmlstarlet edit --insert {{xpath}} --type attr --name {{attribute_name}} --value {{attribute_value}} {{path/to/file.xml}}` + +- Update the value of all matching nodes in place (source file is changed): + +`xmlstarlet edit --inplace --update {{xpath}} --value {{new_value}} {{file.xml}}` + +- Delete all matching nodes in place (source file is changed): + +`xmlstarlet edit --inplace --delete {{xpath}} {{file.xml}}` + +- Escape or unescape special XML characters in a given string: + +`xmlstarlet [un]escape {{string}}` + +- List a given directory as XML (omit argument to list current directory): + +`xmlstarlet ls {{path/to/directory}}` diff --git a/pages/common/xmlto.md b/pages/common/xmlto.md index 834e8573a83e2f..751315ea736e55 100644 --- a/pages/common/xmlto.md +++ b/pages/common/xmlto.md @@ -1,15 +1,15 @@ # xmlto > Apply an XSL stylesheet to an XML document. -> More information: . +> More information: . - Convert a DocBook XML document to PDF format: -`xmlto {{pdf}} {{document.xml}}` +`xmlto pdf {{document.xml}}` - Convert a DocBook XML document to HTML format and store the resulting files in a separate directory: -`xmlto -o {{path/to/html_files}} {{html}} {{document.xml}}` +`xmlto -o {{path/to/html_files}} html {{document.xml}}` - Convert a DocBook XML document to a single HTML file: diff --git a/pages/common/xo.md b/pages/common/xo.md index 88d45671a20245..d09bb1748e59d2 100644 --- a/pages/common/xo.md +++ b/pages/common/xo.md @@ -9,7 +9,7 @@ - Lint a given set of files: -`xo {{file1}}.js {{file2}}.js` +`xo {{path/to/file1.js path/to/file2.js ...}}` - Automatically fix any lint issues found: diff --git a/pages/common/xonsh.md b/pages/common/xonsh.md new file mode 100644 index 00000000000000..38391cb67e637b --- /dev/null +++ b/pages/common/xonsh.md @@ -0,0 +1,29 @@ +# xonsh + +> Python-powered, cross-platform, Unix-gazing shell. +> Write and mix sh/Python code in Xonsh (pronounced conch). +> More information: . + +- Start an interactive shell session: + +`xonsh` + +- Execute a single command and then exit: + +`xonsh -c "{{command}}"` + +- Run commands from a script file and then exit: + +`xonsh {{path/to/script_file.xonsh}}` + +- Define environment variables for the shell process: + +`xonsh -D{{name1}}={{value1}} -D{{name2}}={{value2}}` + +- Load the specified `.xonsh` or `.json` configuration files: + +`xonsh --rc {{path/to/file1.xonsh}} {{path/to/file2.json}}` + +- Skip loading the `.xonshrc` configuration file: + +`xonsh --no-rc` diff --git a/pages/common/xplr.md b/pages/common/xplr.md new file mode 100644 index 00000000000000..eb56366ccf4f72 --- /dev/null +++ b/pages/common/xplr.md @@ -0,0 +1,20 @@ +# xplr + +> Terminal-based file system explorer. +> More information: . + +- Open a directory: + +`xplr {{path/to/directory}}` + +- Focus on a file: + +`xplr {{path/to/file}}` + +- Focus on a directory: + +`xplr --force-focus {{path/to/directory}}` + +- Open a directory with specific files or directories selected: + +`xplr {{path/to/directory}} {{path/to/selected_file_or_directory1}} {{path/to/selected_file_or_directory2}}` diff --git a/pages/common/xpmtoppm.md b/pages/common/xpmtoppm.md new file mode 100644 index 00000000000000..2b9382d5b3cf1b --- /dev/null +++ b/pages/common/xpmtoppm.md @@ -0,0 +1,12 @@ +# xpmtoppm + +> Convert an X11 pixmap to a PPM image. +> More information: . + +- Convert an XPM image to a PPM image: + +`xpmtoppm {{path/to/input_file.xpm}} > {{path/to/output_file.ppm}}` + +- Store the transparency mask of the input image in the specified file: + +`xpmtoppm {{[-a|--alphaout]}} {{path/to/alpha_file.pbm}} {{path/to/input_file.xpm}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/xprop.md b/pages/common/xprop.md new file mode 100644 index 00000000000000..71120de5dae6a0 --- /dev/null +++ b/pages/common/xprop.md @@ -0,0 +1,20 @@ +# xprop + +> Display window and font properties in an X server. +> More information: . + +- Display the name of the root window: + +`xprop -root WM_NAME` + +- Display the window manager hints for a window: + +`xprop -name "{{window_name}}" WM_HINTS` + +- Display the point size of a font: + +`xprop -font "{{font_name}}" POINT_SIZE` + +- Display all the properties of the window with the ID 0x200007: + +`xprop -id {{0x200007}}` diff --git a/pages/common/xsp.md b/pages/common/xsp.md new file mode 100644 index 00000000000000..0be80ed56c8935 --- /dev/null +++ b/pages/common/xsp.md @@ -0,0 +1,12 @@ +# xsp + +> Mono ASP.NET Web Server. +> More information: . + +- Listen on all interfaces (`0.0.0.0`) and port `8080`: + +`xsp` + +- Listen on a specific IP address and port: + +`xsp --address {{127.0.0.1}} --port {{8000}}` diff --git a/pages/common/xsv.md b/pages/common/xsv.md index fb4586d9bdd598..02ab5cb8895cd2 100644 --- a/pages/common/xsv.md +++ b/pages/common/xsv.md @@ -1,6 +1,6 @@ # xsv -> A CSV command line toolkit written in Rust. +> A CSV toolkit written in Rust. > More information: . - Inspect the headers of a file: @@ -17,7 +17,7 @@ - Select a few columns: -`xsv select {{column_a,column_b}} {{path/to/file.csv}}` +`xsv select {{column1,column2}} {{path/to/file.csv}}` - Show 10 random entries: @@ -25,4 +25,4 @@ - Join a column from one file to another: -`xsv join --no-case {{column_a}} {{path/to/file/a.csv}} {{column_b}} {{path/to/file/b.csv}} | xsv table` +`xsv join --no-case {{column1}} {{path/to/file1.csv}} {{column2}} {{path/to/file2.csv}} | xsv table` diff --git a/pages/common/xteddy.md b/pages/common/xteddy.md new file mode 100644 index 00000000000000..405745d18d5142 --- /dev/null +++ b/pages/common/xteddy.md @@ -0,0 +1,24 @@ +# xteddy + +> A cuddly teddy bear for your X Windows desktop. +> More information: . + +- Display a cuddly teddy bear on your X desktop: + +`xteddy` + +- Use the window manager to display the teddy bear and ignore the "quit" (``) command: + +`xteddy -wm -noquit` + +- Make the teddy bear stay on top of all other windows: + +`xteddy -float` + +- Display another image [F]ile instead of the cuddly teddy bear: + +`xteddy -F {{path/to/image}}` + +- Set the initial location of the teddy bear (`width` and `height` are ignored): + +`xteddy -geometry {{width}}x{{height}}+{{x}}+{{y}}` diff --git a/pages/common/xvminitoppm.md b/pages/common/xvminitoppm.md new file mode 100644 index 00000000000000..17fd98c5212f19 --- /dev/null +++ b/pages/common/xvminitoppm.md @@ -0,0 +1,8 @@ +# xvminitoppm + +> Convert an XV thumbnail picture to PPM. +> More information: . + +- Convert an XV thumbnail image file to PPM: + +`xvminitoppm {{path/to/input_file}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/xwdtopnm.md b/pages/common/xwdtopnm.md new file mode 100644 index 00000000000000..0c220545fefda8 --- /dev/null +++ b/pages/common/xwdtopnm.md @@ -0,0 +1,16 @@ +# xwdtopnm + +> Convert an X11 or X10 window dump file to PNM. +> More information: . + +- Convert a XWD image file to PBM: + +`xwdtopnm {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}` + +- Display information about the conversion process: + +`xwdtopnm {{[-verb|-verbose]}} {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}` + +- Display the contents of the X11 header of the input file: + +`xwdtopnm {{[-h|-headerdump]}} {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}` diff --git a/pages/common/xwininfo.md b/pages/common/xwininfo.md new file mode 100644 index 00000000000000..8ea0d049604471 --- /dev/null +++ b/pages/common/xwininfo.md @@ -0,0 +1,25 @@ +# xwininfo + +> Display information about windows. +> See also: `xprop`, `xkill`. +> More information: . + +- Display a cursor to select a window to display its attributes (id, name, size, position, ...): + +`xwininfo` + +- Display the tree of all windows: + +`xwininfo -tree -root` + +- Display the attributes of a window with a specific ID: + +`xwininfo -id {{id}}` + +- Display the attributes of a window with a specific name: + +`xwininfo -name {{name}}` + +- Display the ID of a window searching by name: + +`xwininfo -tree -root | grep {{keyword}} | head -1 | perl -ne 'print $1 if /(0x[\da-f]+)/ig;'` diff --git a/pages/common/xxd.md b/pages/common/xxd.md index 337607475006f5..af005909944936 100644 --- a/pages/common/xxd.md +++ b/pages/common/xxd.md @@ -1,6 +1,8 @@ # xxd > Create a hexadecimal representation (hexdump) from a binary file, or vice-versa. +> See also: `hexyl`, `od`, `hexdump`. +> More information: . - Generate a hexdump from a binary file and display the output: @@ -12,20 +14,20 @@ - Display a more compact output, replacing consecutive zeros (if any) with a star: -`xxd -a {{input_file}}` +`xxd {{[-a|-autoskip]}} {{input_file}}` - Display the output with 10 columns of one octet (byte) each: -`xxd -c {{10}} {{input_file}}` +`xxd {{[-c|-cols]}} {{10}} {{input_file}}` - Display output only up to a length of 32 bytes: -`xxd -l {{32}} {{input_file}}` +`xxd {{[-l|-len]}} {{32}} {{input_file}}` - Display the output in plain mode, without any gaps between the columns: -`xxd -p {{input_file}}` +`xxd {{[-p|-postscript]}} {{input_file}}` - Revert a plaintext hexdump back into binary, and save it as a binary file: -`xxd -r -p {{input_file}} {{output_file}}` +`xxd {{[-r|-revert]}} {{[-p|-postscript]}} {{input_file}} {{output_file}}` diff --git a/pages/common/xxh.md b/pages/common/xxh.md new file mode 100644 index 00000000000000..8cd83895f0622d --- /dev/null +++ b/pages/common/xxh.md @@ -0,0 +1,37 @@ +# xxh + +> Bring your shell with all of your customizations through SSH sessions. +> Note: `xxh` does not install anything into system directories on the target machine; removing `~/.xxh` will clear all traces of xxh on the target machine. +> More information: . + +- Connect to a host and run the current shell: + +`xxh "{{host}}"` + +- Install the current shell into the target machine without prompting: + +`xxh "{{host}}" ++install` + +- Run the specified shell on the target machine: + +`xxh "{{host}}" ++shell {{xonsh|zsh|fish|bash|osquery}}` + +- Use a specific xxh configuration directory on the target machine: + +`xxh "{{host}}" ++host-xxh-home {{~/.xxh}}` + +- Use the specified configuration file on the host machine: + +`xxh "{{host}}" ++xxh-config {{~/.config/xxh/config.xxhc}}` + +- Specify a password to use for the SSH connection: + +`xxh "{{host}}" ++password "{{password}}"` + +- Install an xxh package on the target machine: + +`xxh "{{host}}" ++install-xxh-packages {{package}}` + +- Set an environment variable for the shell process on the target machine: + +`xxh "{{host}}" ++env {{name}}={{value}}` diff --git a/pages/common/xz.md b/pages/common/xz.md index aeea0ebc813b4e..2caf221dd71a4f 100644 --- a/pages/common/xz.md +++ b/pages/common/xz.md @@ -1,36 +1,36 @@ # xz -> Compress or decompress .xz and .lzma files. -> More information: . +> Compress or decompress XZ and LZMA files. +> More information: . -- Compress a file to the xz file format: +- Compress a file using xz: -`xz {{file}}` +`xz {{path/to/file}}` -- Decompress a xz file: +- Decompress an XZ file: -`xz -d {{file.xz}}` +`xz {{[-d|--decompress]}} {{path/to/file.xz}}` -- Compress a file to the lzma file format: +- Compress a file using lzma: -`xz --format=lzma {{file}}` +`xz {{[-F|--format]}} lzma {{path/to/file}}` -- Decompress an lzma file: +- Decompress an LZMA file: -`xz -d --format=lzma {{file.lzma}}` +`xz {{[-d|--decompress]}} {{[-F|--format]}} lzma {{path/to/file.lzma}}` -- Decompress a file and write to `stdout`: +- Decompress a file and write to `stdout` (implies `--keep`): -`xz -dc {{file.xz}}` +`xz {{[-d|--decompress]}} {{[-c|--stdout]}} {{path/to/file.xz}}` - Compress a file, but don't delete the original: -`xz -k {{file}}` +`xz {{[-k|--keep]}} {{path/to/file}}` - Compress a file using the fastest compression: -`xz -0 {{file}}` +`xz -0 {{path/to/file}}` - Compress a file using the best compression: -`xz -9 {{file}}` +`xz -9 {{path/to/file}}` diff --git a/pages/common/xzcat.md b/pages/common/xzcat.md new file mode 100644 index 00000000000000..0d554091cd9fed --- /dev/null +++ b/pages/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> This command is an alias of `xz --decompress --stdout`. + +- View documentation for the original command: + +`tldr xz` diff --git a/pages/common/xzcmp.md b/pages/common/xzcmp.md new file mode 100644 index 00000000000000..79a59f2f4c926a --- /dev/null +++ b/pages/common/xzcmp.md @@ -0,0 +1,9 @@ +# xzcmp + +> Invokes `cmp` on files compressed with `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, or `zstd`. +> All options specified are passed directly to `cmp`. +> More information: . + +- Compare two specific files: + +`xzcmp {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/xzdiff.md b/pages/common/xzdiff.md new file mode 100644 index 00000000000000..90f0da75cd4ac8 --- /dev/null +++ b/pages/common/xzdiff.md @@ -0,0 +1,25 @@ +# xzdiff + +> Invokes `diff` on files compressed with `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, or `zstd`. +> All options specified are passed directly to `diff`. +> More information: . + +- Compare two files: + +`xzdiff {{path/to/file1}} {{path/to/file2}}` + +- Compare two files, showing the differences side by side: + +`xzdiff --side-by-side {{path/to/file1}} {{path/to/file2}}` + +- Compare two files and report only that they differ (no details on what is different): + +`xzdiff --brief {{path/to/file1}} {{path/to/file2}}` + +- Compare two files and report when the files are the same: + +`xzdiff --report-identical-files {{path/to/file1}} {{path/to/file2}}` + +- Compare two files using paginated results: + +`xzdiff --paginate {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/xzegrep.md b/pages/common/xzegrep.md new file mode 100644 index 00000000000000..e6d70c19757bb8 --- /dev/null +++ b/pages/common/xzegrep.md @@ -0,0 +1,8 @@ +# xzegrep + +> This command is an alias of `xzgrep --extended-regexp`. +> See also: `egrep`. + +- View documentation for the original command: + +`tldr xzgrep` diff --git a/pages/common/xzfgrep.md b/pages/common/xzfgrep.md new file mode 100644 index 00000000000000..c12c694a25e214 --- /dev/null +++ b/pages/common/xzfgrep.md @@ -0,0 +1,8 @@ +# xzfgrep + +> This command is an alias of `xzgrep --fixed-strings`. +> See also: `fgrep`. + +- View documentation for the original command: + +`tldr xzgrep` diff --git a/pages/common/xzgrep.md b/pages/common/xzgrep.md new file mode 100644 index 00000000000000..1037ae38ef911a --- /dev/null +++ b/pages/common/xzgrep.md @@ -0,0 +1,33 @@ +# xzgrep + +> Search files possibly compressed with `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, or `zstd` using `regex`. +> See also: `grep`. +> More information: . + +- Search for a pattern within a file: + +`xzgrep "{{search_pattern}}" {{path/to/file}}` + +- Search for an exact string (disables `regex`): + +`xzgrep {{[-F|--fixed-strings]}} "{{exact_string}}" {{path/to/file}}` + +- Search for a pattern in all files showing line numbers of matches: + +`xzgrep {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file}}` + +- Use extended `regex` (supports `?`, `+`, `{}`, `()` and `|`), in case-insensitive mode: + +`xzgrep {{[-E|--extended-regexp]}} {{[-i|--ignore-case]}} "{{search_pattern}}" {{path/to/file}}` + +- Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match: + +`xzgrep --{{context|before-context|after-context}} {{3}} "{{search_pattern}}" {{path/to/file}}` + +- Print file name and line number for each match with color output: + +`xzgrep {{[-H|--with-filename]}} {{[-n|--line-number]}} --color=always "{{search_pattern}}" {{path/to/file}}` + +- Search for lines matching a pattern, printing only the matched text: + +`xzgrep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` diff --git a/pages/common/xzless.md b/pages/common/xzless.md new file mode 100644 index 00000000000000..ab234f68e4ddbe --- /dev/null +++ b/pages/common/xzless.md @@ -0,0 +1,17 @@ +# xzless + +> Display text from `xz` and `lzma` compressed files. +> See also: `less`. +> More information: . + +- View a compressed file: + +`xzless {{path/to/file}}` + +- View a compressed file and display line numbers: + +`xzless --LINE-NUMBERS {{path/to/file}}` + +- View a compressed file and quit if the entire file can be displayed on the first screen: + +`xzless --quit-if-one-screen {{path/to/file}}` diff --git a/pages/common/xzmore.md b/pages/common/xzmore.md new file mode 100644 index 00000000000000..1edae1aee23181 --- /dev/null +++ b/pages/common/xzmore.md @@ -0,0 +1,9 @@ +# xzmore + +> Display text from `xz` or `lzma` compressed files. +> Almost equivalent to `xzless`, except it respects the `PAGER` environment variable, uses `more` by default and you cannot pass options to the pager. +> More information: . + +- View a compressed file: + +`xzmore {{path/to/file}}` diff --git a/pages/common/ya.md b/pages/common/ya.md new file mode 100644 index 00000000000000..914728f0aafbca --- /dev/null +++ b/pages/common/ya.md @@ -0,0 +1,28 @@ +# ya + +> Manage Yazi packages and plugins. +> More information: . + +- Add a package: + +`ya pack {{[-a|--all]}} {{package}}` + +- Upgrade all packages: + +`ya pack {{[-u|--upgrade]}}` + +- Subscribe to messages from all remote instances: + +`ya sub {{kinds}}` + +- Publish a message to the current instance with string body: + +`ya pub --str {{string_message}}` + +- Publish a message to the current instance with JSON body: + +`ya pub --json {{json_message}}` + +- Publish a message to the specified instance with string body: + +`ya pub-to --str {{message}} {{receiver}} {{kind}}` diff --git a/pages/common/yacas.md b/pages/common/yacas.md new file mode 100644 index 00000000000000..4bce17de68ded6 --- /dev/null +++ b/pages/common/yacas.md @@ -0,0 +1,28 @@ +# yacas + +> Yet Another Computer Algebra System. +> More information: . + +- Start an interactive `yacas` session: + +`yacas` + +- While in a `yacas` session, execute a statement: + +`{{Integrate(x)Cos(x)}};` + +- While in a `yacas` session, display an example: + +`Example();` + +- Quit from a `yacas` session: + +`quit` + +- Execute one or more `yacas` scripts (without terminal or prompts), then exit: + +`yacas -p -c {{path/to/script1 path/to/script2 ...}}` + +- Execute and print the result of one statement, then exit: + +`echo "{{Echo( Deriv(x)Cos(1/x) );}}" | yacas -p -c /dev/stdin` diff --git a/pages/common/yacc.md b/pages/common/yacc.md new file mode 100644 index 00000000000000..b84f368e2d973a --- /dev/null +++ b/pages/common/yacc.md @@ -0,0 +1,17 @@ +# yacc + +> Generate an LALR parser (in C) with a formal grammar specification file. +> See also: `bison`. +> More information: . + +- Create a file `y.tab.c` containing the C parser code and compile the grammar file with all necessary constant declarations for values. (Constant declarations file `y.tab.h` is created only when the `-d` flag is used): + +`yacc -d {{path/to/grammar_file.y}}` + +- Compile a grammar file containing the description of the parser and a report of conflicts generated by ambiguities in the grammar: + +`yacc -d {{path/to/grammar_file.y}} -v` + +- Compile a grammar file, and prefix output filenames with `prefix` instead of `y`: + +`yacc -d {{path/to/grammar_file.y}} -v -b {{prefix}}` diff --git a/pages/common/yadm-alt.md b/pages/common/yadm-alt.md new file mode 100644 index 00000000000000..b354caf7f8a04b --- /dev/null +++ b/pages/common/yadm-alt.md @@ -0,0 +1,9 @@ +# yadm alt + +> Create symbolic links and process templates for any managed files. +> Learn more about templates: . +> More information: . + +- Create symbolic links between alternate files manually: + +`yadm alt` diff --git a/pages/common/yadm-bootstrap.md b/pages/common/yadm-bootstrap.md new file mode 100644 index 00000000000000..fcb1c5e73a5a2b --- /dev/null +++ b/pages/common/yadm-bootstrap.md @@ -0,0 +1,9 @@ +# yadm bootstrap + +> Execute Yadm's bootstrap file. +> This file should be created in `$HOME/.config/yadm/bootstrap`. +> More information: . + +- Execute bootstrap executable: + +`yadm bootstrap` diff --git a/pages/common/yadm-clone.md b/pages/common/yadm-clone.md new file mode 100644 index 00000000000000..836c72b6b8af77 --- /dev/null +++ b/pages/common/yadm-clone.md @@ -0,0 +1,30 @@ +# yadm clone + +> Works just like `git clone`. In addition you can pass extra flags to configure your repository. +> If there is a bootstrap file in the repository, you will be prompted to execute it. +> See also: `git clone`. +> More information: . + +- Clone an existing repository: + +`yadm clone {{remote_repository_location}}` + +- Clone an existing repository, then execute the bootstrap file: + +`yadm clone {{remote_repository_location}} --bootstrap` + +- Clone an existing repository and after cloning, do not execute the bootstrap file: + +`yadm clone {{remote_repository_location}} --no-bootstrap` + +- Change the worktree that `yadm` will use during cloning: + +`yadm clone {{remote_repository_location}} --w {{worktree_file}}` + +- Change the branch that `yadm` gets files from: + +`yadm clone {{remote_repository_location}} -b {{branch}}` + +- Override an existing repository local branch: + +`yadm clone {{remote_repository_location}} -f` diff --git a/pages/common/yadm-config.md b/pages/common/yadm-config.md new file mode 100644 index 00000000000000..99b3b99c0d5dbf --- /dev/null +++ b/pages/common/yadm-config.md @@ -0,0 +1,20 @@ +# yadm config + +> Pass options to `yadm`'s config file. Change the `.config` of the repository managed by `yadm`. +> More information: . + +- Set or update a `yadm`'s Git configuration: + +`yadm config {{key.inner-key}} {{value}}` + +- Get a value from `yadm`'s Git configuration: + +`yadm config --get {{key}}` + +- Unset a value in `yadm`'s Git configuration: + +`yadm config --unset {{key}}` + +- List all values in `yadm`'s Git configuration: + +`yadm config --list` diff --git a/pages/common/yadm-decrypt.md b/pages/common/yadm-decrypt.md new file mode 100644 index 00000000000000..a6e2f1937bc335 --- /dev/null +++ b/pages/common/yadm-decrypt.md @@ -0,0 +1,9 @@ +# yadm decrypt + +> Decrypt files that were encrypted by `yadm`. +> When activating this command you will be prompted for a password. +> More information: . + +- Decrypt files: + +`yadm decrypt` diff --git a/pages/common/yadm-encrypt.md b/pages/common/yadm-encrypt.md new file mode 100644 index 00000000000000..6020642cf86945 --- /dev/null +++ b/pages/common/yadm-encrypt.md @@ -0,0 +1,13 @@ +# yadm encrypt + +> Encrypt files listed in the designated encrypt file. +> After the files are encrypted they will be save in the designated archive folder. +> More information: . + +- Encrypt files listed in the designated encrypt file: + +`yadm encrypt` + +- Create the necessary files and folders for encryption: + +`touch {{path/to/encrypt_file}} && mkdir {{path/to/archive_folder}}` diff --git a/pages/common/yadm-enter.md b/pages/common/yadm-enter.md new file mode 100644 index 00000000000000..74099c79d9745b --- /dev/null +++ b/pages/common/yadm-enter.md @@ -0,0 +1,13 @@ +# yadm enter + +> Run a sub-shell with all Git variables set. This sub-shell can be used to easily interact with the local `yadm` repository using Git commands. +> This could be useful if you are using a tool which uses Git directly. +> More information: . + +- Run a sub-shell with all Git variables set: + +`yadm enter` + +- Exit the sub-shell: + +`exit` diff --git a/pages/common/yadm-git-crypt.md b/pages/common/yadm-git-crypt.md new file mode 100644 index 00000000000000..87611805fa6b02 --- /dev/null +++ b/pages/common/yadm-git-crypt.md @@ -0,0 +1,21 @@ +# yadm git-crypt + +> Git Crypt enables transparent encryption and decryption of files in a git repository. +> See also: `git-crypt`. +> More information: . + +- Initialize repo to use Git Crypt: + +`yadm git-crypt init` + +- Share the repository using GPG: + +`yadm git-crypt add-gpg-user {{user_id}}` + +- After cloning a repository with encrypted files, unlock them: + +`yadm git-crypt unlock` + +- Export a symmetric secret key: + +`yadm git-crypt export-key {{path/to/key_file}}` diff --git a/pages/common/yadm-gitconfig.md b/pages/common/yadm-gitconfig.md new file mode 100644 index 00000000000000..c2e491ac5e20f6 --- /dev/null +++ b/pages/common/yadm-gitconfig.md @@ -0,0 +1,21 @@ +# yadm gitconfig + +> Pass options to `git config`. Change the `.gitconfig` of the repository managed by `yadm`. +> See also: `git config`. +> More information: . + +- Update or set a Git configuration value: + +`yadm gitconfig {{key.inner-key}} {{value}}` + +- Get a value from `yadm`'s Git configuration: + +`yadm gitconfig --get {{key}}` + +- Unset a value in `yadm`'s Git configuration: + +`yadm gitconfig --unset {{key}}` + +- List all values in `yadm`'s Git configuration: + +`yadm gitconfig --list` diff --git a/pages/common/yadm-init.md b/pages/common/yadm-init.md new file mode 100644 index 00000000000000..dbb9423e3f8b9d --- /dev/null +++ b/pages/common/yadm-init.md @@ -0,0 +1,17 @@ +# yadm init + +> Initialize a new, empty repository for tracking dotfiles. +> The repository is stored in `$HOME/.local/share/yadm/repo.git`. +> More information: . + +- Execute: + +`yadm init` + +- Override the worktree: + +`yadm init -w {{path/to/worktree_folder}}` + +- Overwrite an existing repository: + +`yadm init -f {{path/to/local_repository}}` diff --git a/pages/common/yadm-introspect.md b/pages/common/yadm-introspect.md new file mode 100644 index 00000000000000..5fd0eb17386a10 --- /dev/null +++ b/pages/common/yadm-introspect.md @@ -0,0 +1,21 @@ +# yadm introspect + +> Look at data that is managed by `yadm`. +> The purpose of introspection is to support command line completion. +> More information: . + +- Output commands: + +`yadm introspect commands` + +- Output configs: + +`yadm introspect configs` + +- Output switches for the main `yadm` command: + +`yadm introspect switches` + +- Output repo: + +`yadm introspect repo` diff --git a/pages/common/yadm-list.md b/pages/common/yadm-list.md new file mode 100644 index 00000000000000..865f14d7874f33 --- /dev/null +++ b/pages/common/yadm-list.md @@ -0,0 +1,12 @@ +# yadm list + +> Print a list of files managed by `yadm`. +> More information: . + +- Print a list of files managed by `yadm` in the current directory: + +`yadm list` + +- List all files managed by `yadm` completely: + +`yadm list -a` diff --git a/pages/common/yadm-perms.md b/pages/common/yadm-perms.md new file mode 100644 index 00000000000000..07f58f00c31e6d --- /dev/null +++ b/pages/common/yadm-perms.md @@ -0,0 +1,9 @@ +# yadm perms + +> Update permissions. +> It is usually unnecessary to run this command, as `yadm` automatically processes permissions by default. This automatic behavior can be disabled by setting the configuration `yadm.auto-perms` to `"false"`. +> More information: . + +- Change file permissions: + +`yadm perms` diff --git a/pages/common/yadm-transcrypt.md b/pages/common/yadm-transcrypt.md new file mode 100644 index 00000000000000..23edd7fae2b239 --- /dev/null +++ b/pages/common/yadm-transcrypt.md @@ -0,0 +1,26 @@ +# yadm transcrypt + +> If `transcrypt` is installed, this command allows you to pass options directly to `transcrypt`. +> With the environment configured to use the yadm repository. +> Transcrypt enables transparent encryption and decryption of files in a Git repository. +> More information: . + +- Set the symmetric cipher to utilize for encryption: + +`yadm transcrypt --cipher={{cipher}}` + +- Pass the password to derive the key from: + +`yadm transcrypt --password={{password}}` + +- Assume yes and accept defaults for non-specified options: + +`yadm transcrypt --yes` + +- Display the current repository's cipher and password: + +`yadm transcrypt --display` + +- Re -encrypt all encrypted files using new credentials: + +`yadm transcrypt --rekey` diff --git a/pages/common/yadm-upgrade.md b/pages/common/yadm-upgrade.md new file mode 100644 index 00000000000000..c279f9f58c53bd --- /dev/null +++ b/pages/common/yadm-upgrade.md @@ -0,0 +1,13 @@ +# yadm upgrade + +> Upgrade `yadm` to the latest version. +> Upgrading will attempt to de-initialize and re-initialize your submodules. +> More information: . + +- Upgrade `yadm` to the latest version: + +`yadm upgrade` + +- Force the upgrade regardless of changes: + +`yadm upgrade -f` diff --git a/pages/common/yadm.md b/pages/common/yadm.md new file mode 100644 index 00000000000000..ac88733d75eb4c --- /dev/null +++ b/pages/common/yadm.md @@ -0,0 +1,33 @@ +# yadm + +> A dotfiles manager that works by using `git`. +> Some subcommands such as `init`, `clone`, `push`, and `pull` have their own usage documentation. +> More information: . + +- Override the `yadm` directory. `yadm` stores its configurations relative to this directory: + +`yadm --yadm-dir` + +- Override the `yadm` data directory: `yadm` stores its data relative to this directory: + +`yadm --yadm-data` + +- Override the location of the `yadm` repository: + +`yadm --yadm-repo` + +- Override the location of the `yadm` configuration file: + +`yadm --yadm-config` + +- Override the location of the `yadm` encryption configuration: + +`yadm --yadm-encrypt` + +- Override the location of the `yadm` encrypted files archive: + +`yadm --yadm-archive` + +- Override the location of the `yadm` bootstrap program: + +`yadm --yadm-bootstrap` diff --git a/pages/common/yank.md b/pages/common/yank.md new file mode 100644 index 00000000000000..9917069e6fd18d --- /dev/null +++ b/pages/common/yank.md @@ -0,0 +1,20 @@ +# yank + +> Read input from `stdin` and display a selection interface that allows a field to be selected and copied to the clipboard. +> More information: . + +- Yank using the default delimiters (\f, \n, \r, \s, \t): + +`{{sudo dmesg}} | yank` + +- Yank an entire line: + +`{{sudo dmesg}} | yank -l` + +- Yank using a specific delimiter: + +`{{echo hello=world}} | yank -d {{=}}` + +- Only yank fields matching a specific pattern: + +`{{ps ux}} | yank -g "{{[0-9]+}}"` diff --git a/pages/common/yapf.md b/pages/common/yapf.md new file mode 100644 index 00000000000000..021dd0b248938d --- /dev/null +++ b/pages/common/yapf.md @@ -0,0 +1,12 @@ +# yapf + +> Python style guide checker. +> More information: . + +- Display a diff of the changes that would be made, without making them (dry-run): + +`yapf {{[-d|--diff]}} {{path/to/file}}` + +- Recursively format all Python files in a directory, concurrently: + +`yapf {{[-ri|--recursive --in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{path/to/directory}}` diff --git a/pages/common/yard.md b/pages/common/yard.md new file mode 100644 index 00000000000000..141e72292f3e53 --- /dev/null +++ b/pages/common/yard.md @@ -0,0 +1,16 @@ +# yard + +> Documentation tool for Ruby. +> More information: . + +- Create the documentation: + +`yard` + +- Create the documentation and save it to one file: + +`yard --one-file` + +- List all undocumented objects: + +`yard stats --list-undoc` diff --git a/pages/common/yarn-why.md b/pages/common/yarn-why.md index 2700f22e956410..0c42bd32134355 100644 --- a/pages/common/yarn-why.md +++ b/pages/common/yarn-why.md @@ -1,8 +1,8 @@ # yarn-why > Identifies why a Yarn package has been installed. -> More information: . +> More information: . - Show why a Yarn package is installed: -`yarn-why {{package_name}}` +`yarn-why {{package}}` diff --git a/pages/common/yarn.md b/pages/common/yarn.md index f48b6cdb54cf45..043239f5444a52 100644 --- a/pages/common/yarn.md +++ b/pages/common/yarn.md @@ -1,7 +1,7 @@ # yarn > JavaScript and Node.js package manager alternative. -> More information: . +> More information: . - Install a module globally: diff --git a/pages/common/yazi.md b/pages/common/yazi.md new file mode 100644 index 00000000000000..e4fa20523a005b --- /dev/null +++ b/pages/common/yazi.md @@ -0,0 +1,21 @@ +# yazi + +> Blazing fast terminal file manager written in Rust. +> Efficient, user-friendly, and customizable file management experience. +> More information: . + +- Launch Yazi from the current directory: + +`yazi` + +- Print debug information: + +`yazi --debug` + +- Write the current working directory on exit to the file: + +`yazi --cwd-file {{path/to/cwd_file}}` + +- Clear the cache directory: + +`yazi --clear-cache` diff --git a/pages/common/ybacklight.md b/pages/common/ybacklight.md new file mode 100644 index 00000000000000..7cabd461e8e512 --- /dev/null +++ b/pages/common/ybacklight.md @@ -0,0 +1,21 @@ +# ybacklight + +> Manage screen backlight brightness. +> See also: `xbacklight`. +> More information: . + +- Print current brightness and maximal brightness, shortened and separated by a slash: + +`ybacklight Sc/Sm` + +- Specify the brightness: + +`ybacklight s{{420}}` + +- Increase the brightness by 42 big steps (4200 by default): + +`ybacklight Si42` + +- Decrease the brightness by 300: + +`ybacklight d300` diff --git a/pages/common/ybmtopbm.md b/pages/common/ybmtopbm.md new file mode 100644 index 00000000000000..7d3231ae8505d2 --- /dev/null +++ b/pages/common/ybmtopbm.md @@ -0,0 +1,8 @@ +# ybmtopbm + +> Convert a Bennet Yee "face" file to PBM. +> More information: . + +- Convert a YBM image file to PBM: + +`ybmtopbm {{path/to/input_file.ybm}} > {{path/to/output_file.pbm}}` diff --git a/pages/common/yes.md b/pages/common/yes.md index 74402396e43e78..d75939e3e2e072 100644 --- a/pages/common/yes.md +++ b/pages/common/yes.md @@ -1,7 +1,8 @@ # yes > Output something repeatedly. -> This command is commonly used to answer yes to every prompt by install commands (such as apt-get). +> This command is commonly used to answer yes to every prompt by install commands (such as `apt-get`). +> More information: . - Repeatedly output "message": @@ -14,3 +15,7 @@ - Accept everything prompted by the `apt-get` command: `yes | sudo apt-get install {{program}}` + +- Repeatedly output a newline to always accept the default option of a prompt: + +`yes ''` diff --git a/pages/common/yesod.md b/pages/common/yesod.md index 5e3721989306c7..27020361833823 100644 --- a/pages/common/yesod.md +++ b/pages/common/yesod.md @@ -4,7 +4,7 @@ > All Yesod commands are invoked through the `stack` project manager. > More information: . -- Create a new scaffolded site, with sqlite as backend, in the "my-project" directory: +- Create a new scaffolded site, with SQLite as backend, in the `my-project` directory: `stack new {{my-project}} {{yesod-sqlite}}` diff --git a/pages/common/ykinfo.md b/pages/common/ykinfo.md new file mode 100644 index 00000000000000..deecae711d32a7 --- /dev/null +++ b/pages/common/ykinfo.md @@ -0,0 +1,16 @@ +# ykinfo + +> Get basic information from a YubiKey. +> More information: . + +- Display all information from YubiKey: + +`ykinfo -a` + +- Get only serial in decimal from YubiKey: + +`ykinfo -s -q` + +- Get capabilities from YubiKey: + +`ykinfo -c` diff --git a/pages/common/ykman-config.md b/pages/common/ykman-config.md new file mode 100644 index 00000000000000..601d8dbb9ee164 --- /dev/null +++ b/pages/common/ykman-config.md @@ -0,0 +1,17 @@ +# ykman config + +> Enable or disable YubiKey applications. +> Note: You can use `ykman info` to see currently enabled applications. +> More information: . + +- Enable an application over USB or NFC (`--enable` can be used multiple times to specify more applications): + +`ykman config {{usb|nfc}} {{[-e|--enable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` + +- Disable an application over USB or NFC (`--disable` can be used multiple times to specify more applications): + +`ykman config {{usb|nfc}} {{[-d|--disable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` + +- Disable all applications over NFC: + +`ykman config nfc {{[-D|--disable-all]}}` diff --git a/pages/common/ykman-fido.md b/pages/common/ykman-fido.md new file mode 100644 index 00000000000000..bcc5df21f8fa10 --- /dev/null +++ b/pages/common/ykman-fido.md @@ -0,0 +1,36 @@ +# ykman fido + +> Manage YubiKey FIDO applications. +> More information: . + +- Display general information about the FIDO2 application: + +`ykman fido info` + +- Change the FIDO pin: + +`ykman fido access change-pin` + +- List resident credentials stored on the YubiKey: + +`ykman fido credentials list` + +- Delete a resident credential from the YubiKey: + +`ykman fido credentials delete {{id}}` + +- List fingerprints stored on the YubiKey (requires a key with a fingerprint sensor): + +`ykman fido fingerprints list` + +- Add a new fingerprint to the YubiKey: + +`ykman fido fingerprints add {{name}}` + +- Delete a fingerprint from the YubiKey: + +`ykman fido fingerprints delete {{name}}` + +- Wipe all FIDO credentials (you have to do this after exceeding the number of PIN retry attempts): + +`ykman fido reset` diff --git a/pages/common/ykman-oath.md b/pages/common/ykman-oath.md new file mode 100644 index 00000000000000..9542d63c0dce6f --- /dev/null +++ b/pages/common/ykman-oath.md @@ -0,0 +1,37 @@ +# ykman oath + +> Manage the OATH YubiKey application. +> A `keyword` can be a part of the name or the issuer. +> More information: . + +- Display general information about the OATH application: + +`ykman oath info` + +- Change the password used to protect OATH accounts (add `--clear` to remove it): + +`ykman oath access change` + +- Add a new account (the issuer is optional): + +`ykman oath accounts add {{[-i|--issuer]}} {{issuer}} {{name}}` + +- List all accounts (with their issuers): + +`ykman oath accounts list` + +- List all accounts with their current TOTP/HOTP codes (optionally filtering the list with a keyword): + +`ykman oath accounts code {{keyword}}` + +- Rename an account: + +`ykman oath accounts rename {{keyword}} {{issuer:name|name}}` + +- Delete an account: + +`ykman oath accounts delete {{keyword}}` + +- Delete all accounts and restore factory settings: + +`ykman oath reset` diff --git a/pages/common/ykman-openpgp.md b/pages/common/ykman-openpgp.md new file mode 100644 index 00000000000000..6fa1e6d475b773 --- /dev/null +++ b/pages/common/ykman-openpgp.md @@ -0,0 +1,21 @@ +# ykman openpgp + +> Manage the OpenPGP YubiKey application. +> Note: You need to use `gpg --card-edit` for some settings. +> More information: . + +- Display general information about the OpenPGP application: + +`ykman openpgp info` + +- Set the number of retry attempts for the User PIN, Reset Code, and Admin PIN, respectively: + +`ykman openpgp access set-retries {{3}} {{3}} {{3}}` + +- Change the User PIN, Reset Code or Admin PIN: + +`ykman openpgp access change-{{pin|reset-code|admin-pin}}` + +- Factory reset the OpenPGP application (you have to do this after exceeding the number of Admin PIN retry attempts): + +`ykman openpgp reset` diff --git a/pages/common/ykman.md b/pages/common/ykman.md new file mode 100644 index 00000000000000..842bb1a3c99dd8 --- /dev/null +++ b/pages/common/ykman.md @@ -0,0 +1,29 @@ +# ykman + +> YubiKey Manager - configure YubiKeys. +> If there are multiple YubiKeys connected, you have to add `--device serial_number` before a subcommand. +> More information: . + +- Display general information about a YubiKey (serial number, firmware version, capabilities, etc.): + +`ykman info` + +- List connected YubiKeys with short, one-line descriptions (including the serial number): + +`ykman list` + +- View documentation for enabling and disabling applications: + +`tldr ykman config` + +- View documentation for managing the FIDO applications: + +`tldr ykman fido` + +- View documentation for managing the OATH application: + +`tldr ykman oath` + +- View documentation for managing the OpenPGP application: + +`tldr ykman openpgp` diff --git a/pages/common/yolo.md b/pages/common/yolo.md new file mode 100644 index 00000000000000..d267ff6cc463d7 --- /dev/null +++ b/pages/common/yolo.md @@ -0,0 +1,12 @@ +# yolo + +> Train, validate or infer models on various tasks and versions. +> More information: . + +- Create a copy of the default configuration in your current working directory: + +`yolo task=init` + +- Train the object detection, instance segment, or classification model with the specified configuration file: + +`yolo task={{detect|segment|classify}} mode=train cfg={{path/to/config.yaml}}` diff --git a/pages/common/you-get.md b/pages/common/you-get.md new file mode 100644 index 00000000000000..f30ca75fda5675 --- /dev/null +++ b/pages/common/you-get.md @@ -0,0 +1,25 @@ +# you-get + +> Download media contents (videos, audios, images) from the Web. +> See also: `yt-dlp`, `youtube-viewer`, `instaloader`. +> More information: . + +- Print media information about a specific media on the web: + +`you-get {{[-i|--info]}} {{https://example.com/video?id=value}}` + +- Download a media from a specific URL: + +`you-get {{https://example.com/video?id=value}}` + +- Search on Google Videos and download: + +`you-get {{keywords}}` + +- Download a media to a specific location: + +`you-get {{[-o|--output-dir]}} {{path/to/directory}} {{[-O|--output-filename]}} {{filename}} {{https://example.com/watch?v=value}}` + +- Download a media using a proxy: + +`you-get {{[-x|--http-proxy]}} {{proxy_server}} {{https://example.com/watch?v=value}}` diff --git a/pages/common/youtube-dl.md b/pages/common/youtube-dl.md index 8178bbf612dd5e..489f79c7ce0aea 100644 --- a/pages/common/youtube-dl.md +++ b/pages/common/youtube-dl.md @@ -1,7 +1,8 @@ # youtube-dl > Download videos from YouTube and other websites. -> More information: . +> See also: `yt-dlp`, `ytfzf`, `you-get`. +> More information: . - Download a video or playlist: @@ -9,28 +10,28 @@ - List all formats that a video or playlist is available in: -`youtube-dl --list-formats '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` +`youtube-dl {{[-F|--list-formats]}} '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` - Download a video or playlist at a specific quality: -`youtube-dl --format "{{best[height<=480]}}" '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` +`youtube-dl {{[-f|--format]}} "{{best[height<=480]}}" '{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}'` - Download the audio from a video and convert it to an MP3: -`youtube-dl -x --audio-format {{mp3}} '{{url}}'` +`youtube-dl {{[-x|--extract-audio]}} --audio-format {{mp3}} '{{url}}'` - Download the best quality audio and video and merge them: -`youtube-dl -f bestvideo+bestaudio '{{url}}'` +`youtube-dl {{[-f|--format]}} bestvideo+bestaudio '{{url}}'` - Download video(s) as MP4 files with custom filenames: -`youtube-dl --format {{mp4}} -o "{{%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'` +`youtube-dl {{[-f|--format]}} {{mp4}} {{[-o|--output]}} "{{%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'` - Download a particular language's subtitles along with the video: `youtube-dl --sub-lang {{en}} --write-sub '{{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'` -- Download a playlist and extract mp3 from it: +- Download a playlist and extract MP3s from it: -`youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" {{url_to_playlist}}` +`youtube-dl {{[-f|--format]}} "bestaudio" {{[-c|--continue]}} {{[-w|--no-overwrites]}} {{[-i|--ignore-errors]}} {{[-x|--extract-audio]}} --audio-format mp3 {{[-o|--output]}} "%(title)s.%(ext)s" '{{url_to_playlist}}'` diff --git a/pages/common/youtube-viewer.md b/pages/common/youtube-viewer.md index 184e10cb146e22..5da879e389bd46 100644 --- a/pages/common/youtube-viewer.md +++ b/pages/common/youtube-viewer.md @@ -1,13 +1,14 @@ # youtube-viewer -> Command-line application for searching and playing videos from YouTube. +> Search and play videos from YouTube. +> See also: `you-get`, `ytfzf`, `yt-dlp`. > More information: . - Search for a video: `youtube-viewer {{search_term}}` -- Login to your YouTube account: +- Log in to your YouTube account: `youtube-viewer --login` diff --git a/pages/common/yq.md b/pages/common/yq.md index bd32fe6370a6ea..dfa5c7daa315e4 100644 --- a/pages/common/yq.md +++ b/pages/common/yq.md @@ -1,6 +1,6 @@ # yq -> A lightweight and portable command-line YAML processor. +> A lightweight and portable YAML processor. > More information: . - Output a YAML file, in pretty-print format (v4+): @@ -9,7 +9,7 @@ - Output a YAML file, in pretty-print format (v3): -`yq read {{path/to/file.yaml}} --colors` +`yq read {{path/to/file.yaml}} {{[-C|--colors]}}` - Output the first element in a YAML file that contains only an array (v4+): @@ -21,11 +21,11 @@ - Set (or overwrite) a key to a value in a file (v4+): -`yq eval '.{{key}} = "{{value}}"' --inplace {{path/to/file.yaml}}` +`yq eval '.{{key}} = "{{value}}"' {{[-i|--inplace]}} {{path/to/file.yaml}}` - Set (or overwrite) a key to a value in a file (v3): -`yq write --inplace {{path/to/file.yaml}} '{{key}}' '{{value}}'` +`yq write {{[-i|--inplace]}} {{path/to/file.yaml}} '{{key}}' '{{value}}'` - Merge two files and print to `stdout` (v4+): @@ -33,4 +33,4 @@ - Merge two files and print to `stdout` (v3): -`yq merge {{path/to/file1.yaml}} {{path/to/file2.yaml}} --colors` +`yq merge {{path/to/file1.yaml}} {{path/to/file2.yaml}} {{[-C|--colors]}}` diff --git a/pages/common/yt-dlp.md b/pages/common/yt-dlp.md new file mode 100644 index 00000000000000..ac84fbae06d03f --- /dev/null +++ b/pages/common/yt-dlp.md @@ -0,0 +1,38 @@ +# yt-dlp + +> A youtube-dl fork with additional features and fixes. +> Download videos from YouTube and other websites. +> See also: `ytfzf`. +> More information: . + +- Download a video or playlist (with the default options from command below): + +`yt-dlp "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- List the available downloadable formats for a video: + +`yt-dlp {{[-F|--list-formats]}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- Download a video or playlist using the best MP4 video available (default is "bv\*+ba/b"): + +`yt-dlp {{[-f|--format]}} "{{bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]}}" "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- Extract audio from a video (requires ffmpeg or ffprobe): + +`yt-dlp {{[-x|--extract-audio]}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- Specify audio format and audio quality of extracted audio (between 0 (best) and 10 (worst), default = 5): + +`yt-dlp {{[-x|--extract-audio]}} --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` + +- Download only the second, fourth, fifth, sixth, and last items in a playlist (the first item is 1, not 0): + +`yt-dlp {{[-I|--playlist-items]}} 2,4:6,-1 "{{https://youtube.com/playlist?list=PLbzoR-pLrL6pTJfLQ3UwtB-3V4fimdqnA}}"` + +- Download all playlists of a YouTube channel/user keeping each playlist in a separate directory: + +`yt-dlp {{[-o|--output]}} "{{%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s}}" "{{https://www.youtube.com/user/TheLinuxFoundation/playlists}}"` + +- Download a Udemy course keeping each chapter in a separate directory: + +`yt-dlp {{[-u|--username]}} {{user}} {{[-p|--password]}} {{password}} {{[-P|--paths]}} "{{path/to/directory}}" {{[-o|--output]}} "{{%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s}}" "{{https://www.udemy.com/java-tutorial}}"` diff --git a/pages/common/yuvsplittoppm.md b/pages/common/yuvsplittoppm.md new file mode 100644 index 00000000000000..002650c17a7979 --- /dev/null +++ b/pages/common/yuvsplittoppm.md @@ -0,0 +1,8 @@ +# yuvsplittoppm + +> Convert three subsampled Abekas YUV files to one PPM image. +> More information: . + +- Read Akebas YUV bytes from three files starting with basename, merge them into a single PPM image and store it in the specified output file: + +`yuvsplittoppm {{basename}} {{width}} {{height}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/yuvtoppm.md b/pages/common/yuvtoppm.md new file mode 100644 index 00000000000000..683df7400d1402 --- /dev/null +++ b/pages/common/yuvtoppm.md @@ -0,0 +1,8 @@ +# yuvtoppm + +> Convert Abekas YUV bytes to PPM. +> More information: . + +- Read Akebas YUV bytes from the specified input file, convert them to a PPM image and store them in the specified output file: + +`yuvtoppm {{width}} {{height}} {{path/to/input_file.yuv}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/yuy2topam.md b/pages/common/yuy2topam.md new file mode 100644 index 00000000000000..19022ccaadd8c0 --- /dev/null +++ b/pages/common/yuy2topam.md @@ -0,0 +1,8 @@ +# yuy2topam + +> Convert YUY2 bytes to PAM. +> More information: . + +- Convert YUY2 bytes to PAM: + +`yuy2topam {{[-w|-width]}} {{value}} {{[-h|-height]}} {{value}} {{path/to/file.yuy2}} > {{path/to/file.pam}}` diff --git a/pages/common/z.md b/pages/common/z.md index 7989dea4794ba3..29aea3525d0bdf 100644 --- a/pages/common/z.md +++ b/pages/common/z.md @@ -1,6 +1,6 @@ # z -> Tracks the most used directories and enables quickly navigating to them using string or regex patterns. +> Tracks the most used (by frequency) directories and enables quickly navigating to them using string patterns or `regex`. > More information: . - Go to a directory that contains "foo" in the name: @@ -25,4 +25,8 @@ - Remove the current directory from `z`'s database: -`z -x .` +`z -x` + +- Restrict matches to subdirectories of the current directory: + +`z -c {{foo}}` diff --git a/pages/common/zapier-analytics.md b/pages/common/zapier-analytics.md new file mode 100644 index 00000000000000..7ae419cfd15609 --- /dev/null +++ b/pages/common/zapier-analytics.md @@ -0,0 +1,16 @@ +# zapier analytics + +> Show the status of the analytics that are collected. It is also used to change what is collected. +> More information: . + +- Show the status of collected analytics: + +`zapier analytics` + +- Change how much information is collected: + +`zapier analytics {{[-m|--mode]}} {{enabled|anonymous|disabled}}` + +- Show extra debugging output: + +`zapier analytics {{[-m|--mode]}} {{enabled|anonymous|disabled}} {{[-d|--debug]}}` diff --git a/pages/common/zapier-build.md b/pages/common/zapier-build.md new file mode 100644 index 00000000000000..c18332e4658095 --- /dev/null +++ b/pages/common/zapier-build.md @@ -0,0 +1,16 @@ +# zapier build + +> Build a pushable `zip` of a Zapier integration. +> More information: . + +- Create a build: + +`zapier build` + +- Disable smart file inclusion (will only include files required by `index.js`): + +`zapier build --disable-dependency-detection` + +- Show extra debugging output: + +`zapier build {{[-d|--debug]}}` diff --git a/pages/common/zapier-convert.md b/pages/common/zapier-convert.md new file mode 100644 index 00000000000000..6a6f6f0d307f54 --- /dev/null +++ b/pages/common/zapier-convert.md @@ -0,0 +1,16 @@ +# zapier convert + +> Convert a Visual Builder integration to a CLI integration. +> More information: . + +- Convert a visual builder integration: + +`zapier convert {{integration_id}} {{path/to/directory}}` + +- Convert a visual builder integration with a specific version: + +`zapier convert {{integration_id}} {{path/to/directory}} {{[-v|--version]}}={{version}}` + +- Show extra debugging output: + +`zapier convert --debug` diff --git a/pages/common/zapier-init.md b/pages/common/zapier-init.md new file mode 100644 index 00000000000000..5a590a9c3bec26 --- /dev/null +++ b/pages/common/zapier-init.md @@ -0,0 +1,16 @@ +# zapier init + +> Initialize a new Zapier integration. +> More information: . + +- Initialize a new Zapier integration: + +`zapier init {{path/to/directory}}` + +- Initialize a new Zapier integration with a specific template: + +`zapier init {{path/to/directory}} {{[-t|--template]}} {{basic-auth|callback|custom-auth|digest-auth|dynamic-dropdown|files|minimal|oauth1-trello|oauth2|search-or-create|session-auth|typescript}}` + +- Show extra debugging output: + +`zapier init {{[-d|--debug]}}` diff --git a/pages/common/zapier-push.md b/pages/common/zapier-push.md new file mode 100644 index 00000000000000..a5dde3f466e1e7 --- /dev/null +++ b/pages/common/zapier-push.md @@ -0,0 +1,16 @@ +# zapier push + +> Build and upload a Zapier integration. +> More information: . + +- Push an integration to Zapier: + +`zapier push` + +- Disable smart file inclusion (will only include files required by `index.js`): + +`zapier push --disable-dependency-detection` + +- Show extra debugging output: + +`zapier push {{[-d|--debug]}}` diff --git a/pages/common/zapier-scaffold.md b/pages/common/zapier-scaffold.md new file mode 100644 index 00000000000000..19637ffaf90a28 --- /dev/null +++ b/pages/common/zapier-scaffold.md @@ -0,0 +1,24 @@ +# zapier scaffold + +> Add a starting trigger, create, search, or resource to an integration. +> More information: . + +- Scaffold a new trigger, create, search, or resource: + +`zapier scaffold {{trigger|search|create|resource}} {{noun}}` + +- Specify a custom destination directory for the scaffolded files: + +`zapier scaffold {{trigger|search|create|resource}} {{noun}} {{[-d|--dest]}}={{path/to/directory}}` + +- Overwrite existing files when scaffolding: + +`zapier scaffold {{trigger|search|create|resource}} {{noun}} {{[-f|--force]}}` + +- Exclude comments from the scaffolded files: + +`zapier scaffold {{trigger|search|create|resource}} {{noun}} --no-help` + +- Show extra debugging output: + +`zapier scaffold {{[-d|--debug]}}` diff --git a/pages/common/zapier.md b/pages/common/zapier.md new file mode 100644 index 00000000000000..ba85114d53afcd --- /dev/null +++ b/pages/common/zapier.md @@ -0,0 +1,33 @@ +# zapier + +> Create, automate, and manage zapier integrations. +> Some subcommands such as `build`, `init`, `scaffold`, `push`, `test`, etc. have their own usage documentation. +> More information: . + +- Connect to a Zapier account: + +`zapier login` + +- Initialize a new Zapier integration with a project template: + +`zapier init {{path/to/directory}}` + +- Add a starting trigger, create, search, or resource to your integration: + +`zapier scaffold {{trigger|create|search|resource}} {{name}}` + +- Test an integration: + +`zapier test` + +- Build and upload an integration to Zapier: + +`zapier push` + +- Display help: + +`zapier help` + +- Display help for a specific command: + +`zapier help {{command}}` diff --git a/pages/common/zbarimg.md b/pages/common/zbarimg.md index 406edc08cd89a3..d6f0b56bd31859 100644 --- a/pages/common/zbarimg.md +++ b/pages/common/zbarimg.md @@ -1,7 +1,7 @@ # zbarimg > Scan and decode bar codes from image file(s). -> More information: . +> More information: . - Process an image file: diff --git a/pages/common/zcat.md b/pages/common/zcat.md index 4b0d7aec3851f6..106ae3f319472b 100644 --- a/pages/common/zcat.md +++ b/pages/common/zcat.md @@ -1,11 +1,24 @@ # zcat -> Print data from gzip compressed files. +> Print data from `gzip` compressed files to `stdout`. +> More information: . -- Print the uncompressed contents of a gzipped file to the standard output: +- Print the uncompressed contents of a `gzip` archive to `stdout`: -`zcat {{file.txt.gz}}` +`zcat {{path/to/file.txt.gz}}` -- Print compression details of a gzipped file to the standard output: +- Print compression details of a `gzip` archive to `stdout`: -`zcat -l {{file.txt.gz}}` +`zcat {{[-l|--list]}} {{path/to/file.txt.gz}}` + +- Test the integrity of a compressed file verbosely: + +`zcat {{[-v|--verbose]}} {{[-t|--test]}} {{path/to/file.txt.gz}}` + +- Suppress all warnings when decompressing a file: + +`zcat {{[-q|--quiet]}} {{path/to/file.txt.gz}}` + +- Avoid any system crashes when decompressing a file (slower output): + +`zcat --synchronous {{path/to/file.txt.gz}}` diff --git a/pages/common/zcmp.md b/pages/common/zcmp.md new file mode 100644 index 00000000000000..44ef885d139842 --- /dev/null +++ b/pages/common/zcmp.md @@ -0,0 +1,12 @@ +# zcmp + +> Compare compressed files. +> More information: . + +- Invoke `cmp` on two files compressed via `gzip`: + +`zcmp {{path/to/file1.gz}} {{path/to/file2.gz}}` + +- Compare a file to its gzipped version (assuming `.gz` exists already): + +`zcmp {{path/to/file}}` diff --git a/pages/common/zdb.md b/pages/common/zdb.md index a1726c8362fbdf..94ca6301308d1c 100644 --- a/pages/common/zdb.md +++ b/pages/common/zdb.md @@ -1,6 +1,7 @@ # zdb > ZFS debugger. +> More information: . - Show detailed configuration of all mounted ZFS zpools: @@ -8,8 +9,8 @@ - Show detailed configuration for a specific ZFS pool: -`zdb -C {{poolname}}` +`zdb {{[-C|--config]}} {{poolname}}` - Show statistics about number, size and deduplication of blocks: -`zdb -b {{poolname}}` +`zdb {{[-b|--block-stats]}} {{poolname}}` diff --git a/pages/common/zdiff.md b/pages/common/zdiff.md new file mode 100644 index 00000000000000..8f568cb3976c09 --- /dev/null +++ b/pages/common/zdiff.md @@ -0,0 +1,12 @@ +# zdiff + +> Invoke `diff` on `gzip` archives. +> More information: . + +- Compare two files, uncompressing them if necessary: + +`zdiff {{path/to/file1.gz}} {{path/to/file2.gz}}` + +- Compare a file to a `gzip` archive with the same name: + +`zdiff {{path/to/file}}` diff --git a/pages/common/zed.md b/pages/common/zed.md new file mode 100644 index 00000000000000..ccc01057635cf5 --- /dev/null +++ b/pages/common/zed.md @@ -0,0 +1,24 @@ +# zed + +> Text editor designed to be fast, efficient and convenient. +> More information: . + +- Open specific paths in Zed: + +`zed {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Open a path in foreground and display logs: + +`zed {{path/to/project}} --foreground` + +- Open a path in new window: + +`zed {{path/to/project}} {{[-n|--new]}}` + +- Open a file at the given line number and column: + +`zed {{path/to/file}}:{{line_number}}:{{column_number}}` + +- Open a diff tab in Zed for two versions of a file: + +`zed --diff {{path/to/old_file}} {{path/to/new_file}}` diff --git a/pages/common/zeditor.md b/pages/common/zeditor.md new file mode 100644 index 00000000000000..e293995f667d51 --- /dev/null +++ b/pages/common/zeditor.md @@ -0,0 +1,7 @@ +# zeditor + +> This command is an alias of `zed`. + +- View documentation for the original command: + +`tldr zed` diff --git a/pages/common/zeek.md b/pages/common/zeek.md new file mode 100644 index 00000000000000..7e99cc693c6402 --- /dev/null +++ b/pages/common/zeek.md @@ -0,0 +1,29 @@ +# zeek + +> Passive network traffic analyzer. +> Any output and log files will be saved to the current working directory. +> More information: . + +- Analyze live traffic from a network interface: + +`sudo zeek --iface {{interface}}` + +- Analyze live traffic from a network interface and load custom scripts: + +`sudo zeek --iface {{interface}} {{script1 script2 ...}}` + +- Analyze live traffic from a network interface, without loading any scripts: + +`sudo zeek --bare-mode --iface {{interface}}` + +- Analyze live traffic from a network interface, applying a `tcpdump` filter: + +`sudo zeek --filter {{path/to/filter}} --iface {{interface}}` + +- Analyze live traffic from a network interface using a watchdog timer: + +`sudo zeek --watchdog --iface {{interface}}` + +- Analyze traffic from a PCAP file: + +`zeek --readfile {{path/to/file.trace}}` diff --git a/pages/common/zegrep.md b/pages/common/zegrep.md new file mode 100644 index 00000000000000..78e6b566a3d679 --- /dev/null +++ b/pages/common/zegrep.md @@ -0,0 +1,28 @@ +# zegrep + +> Find extended `regex` patterns in compressed files using `egrep`. +> More information: . + +- Search for extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-sensitive): + +`zegrep "{{search_pattern}}" {{path/to/file}}` + +- Search for extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`) in a compressed file (case-insensitive): + +`zegrep {{[-i|--ignore-case]}} "{{search_pattern}}" {{path/to/file}}` + +- Search for lines that do not match a pattern: + +`zegrep {{[-v|--invert-match]}} "{{search_pattern}}" {{path/to/file}}` + +- Print file name and line number for each match: + +`zegrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file}}` + +- Search for lines matching a pattern, printing only the matched text: + +`zegrep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}` + +- Recursively search files in a compressed file for a pattern: + +`zegrep {{[-r|--recursive]}} "{{search_pattern}}" {{path/to/file}}` diff --git a/pages/common/zeisstopnm.md b/pages/common/zeisstopnm.md new file mode 100644 index 00000000000000..c4993f217381c4 --- /dev/null +++ b/pages/common/zeisstopnm.md @@ -0,0 +1,12 @@ +# zeisstopnm + +> Convert a Zeiss confocal file to Netbpm format. +> More information: . + +- Convert a Zeiss cofocal file into either `.pgm` or `.ppm` format: + +`zeisstopnm {{path/to/file}}` + +- Convert a Zeiss cofocal file to Netbpm format while explicitly specifying the target file type: + +`zeisstopnm -{{pgm|ppm}} {{path/to/file}}` diff --git a/pages/common/zek.md b/pages/common/zek.md new file mode 100644 index 00000000000000..8acfea324b8e4b --- /dev/null +++ b/pages/common/zek.md @@ -0,0 +1,16 @@ +# zek + +> Generate a Go struct from XML. +> More information: . + +- Generate a Go struct from a given XML from `stdin` and display output on `stdout`: + +`cat {{path/to/input.xml}} | zek` + +- Generate a Go struct from a given XML from `stdin` and send output to a file: + +`curl -s {{https://url/to/xml}} | zek -o {{path/to/output.go}}` + +- Generate an example Go program from a given XML from `stdin` and send output to a file: + +`cat {{path/to/input.xml}} | zek -p -o {{path/to/output.go}}` diff --git a/pages/common/zellij.md b/pages/common/zellij.md new file mode 100644 index 00000000000000..c06a8e20615236 --- /dev/null +++ b/pages/common/zellij.md @@ -0,0 +1,25 @@ +# zellij + +> Terminal multiplexer with batteries included. +> See also: `tmux`, `screen`. +> More information: . + +- Start a new named session: + +`zellij {{[-s|--session]}} {{name}}` + +- List existing sessions: + +`zellij {{[ls|list-sessions]}}` + +- Attach to the most recently used session: + +`zellij {{[a|attach]}}` + +- Open a new pane (inside a zellij session): + +`` + +- Detach from the current session (inside a zellij session): + +`` diff --git a/pages/common/zfgrep.md b/pages/common/zfgrep.md new file mode 100644 index 00000000000000..269207a3a84ea0 --- /dev/null +++ b/pages/common/zfgrep.md @@ -0,0 +1,25 @@ +# zfgrep + +> Matches fixed strings in possibly compressed files. +> Equivalent to `grep --fixed-strings` with input decompressed first if necessary. +> More information: . + +- Search for an exact string in a file: + +`zfgrep {{search_string}} {{path/to/file}}` + +- Count the number of lines that match the given string in a file: + +`zfgrep {{[-c|--count]}} {{search_string}} {{path/to/file}}` + +- Show the line number in the file along with the matching lines: + +`zfgrep {{[-n|--line-number]}} {{search_string}} {{path/to/file}}` + +- Display all lines except those that contain the search string: + +`zfgrep {{[-v|--invert-match]}} {{search_string}} {{path/to/file}}` + +- List only filenames whose content matches the search string at least once: + +`zfgrep {{[-l|--files-with-matches]}} {{search_string}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/common/zfs.md b/pages/common/zfs.md index a38734340749de..58fdf529c24af0 100644 --- a/pages/common/zfs.md +++ b/pages/common/zfs.md @@ -1,6 +1,7 @@ # zfs > Manage ZFS filesystems. +> More information: . - List all available zfs filesystems: @@ -24,4 +25,4 @@ - Change mountpoint for a filesystem: -`zfs set mountpoint={{/my/mount/path}} {{pool_name/filesystem_name}}` +`zfs set mountpoint=/{{path/to/mount_point}} {{pool_name/filesystem_name}}` diff --git a/pages/common/zgrep.md b/pages/common/zgrep.md new file mode 100644 index 00000000000000..cfeef5a574718b --- /dev/null +++ b/pages/common/zgrep.md @@ -0,0 +1,32 @@ +# zgrep + +> Grep text patterns from files within compressed file (equivalent to `grep -Z`). +> More information: . + +- Grep a pattern in a compressed file (case-sensitive): + +`zgrep {{pattern}} {{path/to/compressed/file}}` + +- Grep a pattern in a compressed file (case-insensitive): + +`zgrep {{[-i|--ignore-case]}} {{pattern}} {{path/to/compressed/file}}` + +- Output count of lines containing matched pattern in a compressed file: + +`zgrep {{[-c|--count]}} {{pattern}} {{path/to/compressed/file}}` + +- Display the lines which don't have the pattern present (Invert the search function): + +`zgrep {{[-v|--invert-match]}} {{pattern}} {{path/to/compressed/file}}` + +- Grep a compressed file for multiple patterns: + +`zgrep {{[-e|--regexp]}} "{{pattern_1}}" {{[-e|--regexp]}} "{{pattern_2}}" {{path/to/compressed/file}}` + +- Use extended `regex` (supporting `?`, `+`, `{}`, `()` and `|`): + +`zgrep {{[-E|--extended-regexp]}} {{regex}} {{path/to/file}}` + +- Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match: + +`zgrep --{{context|before-context|after-context}} 3 {{pattern}} {{path/to/compressed/file}}` diff --git a/pages/common/zig.md b/pages/common/zig.md new file mode 100644 index 00000000000000..fb5c5258158445 --- /dev/null +++ b/pages/common/zig.md @@ -0,0 +1,36 @@ +# zig + +> The Zig compiler and toolchain. +> More information: . + +- Compile the project in the current directory: + +`zig build` + +- Compile and run the project in the current directory: + +`zig build run` + +- Initialize a `zig build` project with library and executable: + +`zig init` + +- Create and run a test build: + +`zig test {{path/to/file.zig}}` + +- Cross compile, build and run a project for `x86_64` architecture and `windows` operating system: + +`zig build run -fwine -Dtarget=x86_64-windows` + +- Reformat Zig source into canonical form: + +`zig fmt {{path/to/file.zig}}` + +- Translate a C file to `zig`: + +`zig translate-c -lc {{path/to/file.c}}` + +- Use Zig as a drop-in C++ compiler: + +`zig c++ {{path/to/file.cpp}}` diff --git a/pages/common/zinit.md b/pages/common/zinit.md new file mode 100644 index 00000000000000..ae4b46c7bc047b --- /dev/null +++ b/pages/common/zinit.md @@ -0,0 +1,28 @@ +# zinit + +> Flexible and blazing fast Zsh plugin manager. +> More information: . + +- Show all installed plugins: + +`zinit plugins` + +- Go to the directory of a plugin: + +`zinit cd {{repository_owner}}/{{repository_name}}` + +- Fetch the newest version of `zinit` from GitHub: + +`zinit self-update` + +- List status of all installed completions: + +`zinit completions` + +- Install completions for a plugin: + +`zinit creinstall {{repository_owner}}/{{repository_name}}` + +- Delete completion for a plugin: + +`zinit cuninstall {{repository_owner}}/{{repository_name}}` diff --git a/pages/common/zint.md b/pages/common/zint.md new file mode 100644 index 00000000000000..b101314554de53 --- /dev/null +++ b/pages/common/zint.md @@ -0,0 +1,16 @@ +# zint + +> Generate barcodes and QR codes. +> More information: . + +- Generate a barcode and save it: + +`zint --data "{{UTF-8 data}}" --output {{path/to/file}}` + +- Specify a code type for generation: + +`zint --barcode {{code_type}} --data "{{UTF-8 data}}" --output {{path/to/file}}` + +- List all supported code types: + +`zint --types` diff --git a/pages/common/zip.md b/pages/common/zip.md index 0d77f272893bf2..5c4bf47040132a 100644 --- a/pages/common/zip.md +++ b/pages/common/zip.md @@ -1,35 +1,33 @@ # zip -> Package and compress (archive) files into zip file. +> Package and compress (archive) files into a Zip archive. +> See also: `unzip`. +> More information: . -- Package and compress a directory and its contents, [r]ecursively: +- Add files/directories to a specific archive: -`zip -r {{compressed.zip}} {{path/to/directory}}` +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` -- E[x]clude unwanted files from being added to the compressed archive: +- Remove files/directories from a specific archive: -`zip -r {{compressed.zip}} {{path/to/directory}} -x {{path/to/exclude}}` +`zip {{[-d|--delete]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` -- Archive a directory and its contents with the highest level [9] of compression: +- Archive files/directories excluding specified ones: -`zip -r -{{9}} {{compressed.zip}} {{path/to/directory}}` +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{[-x|--exclude]}} {{path/to/excluded_files_or_directories}}` -- Package and compress multiple directories and files: +- Archive files/directories with a specific compression level (`0` - the lowest, `9` - the highest): -`zip -r {{compressed.zip}} {{path/to/directory1}} {{path/to/directory2}} {{path/to/file}}` +`zip {{[-r|--recurse-paths]}} -{{0..9}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` -- Create an encrypted archive (user will be prompted for a password): +- Create an encrypted archive with a specific password: -`zip -e -r {{compressed.zip}} {{path/to/directory}}` +`zip {{[-re|--recurse-paths --encrypt]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` -- Add files to an existing zip file: +- Archive files/directories to a multi-part split Zip archive (e.g. 3 GB parts): -`zip {{compressed.zip}} {{path/to/file}}` +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` -- Delete files from an existing zip file: +- Print a specific archive contents: -`zip -d {{compressed.zip}} "{{foo/*.tmp}}"` - -- Archive a directory and its contents to a multi-part [s]plit zip file (e.g. 3GB parts): - -`zip -r -s {{3g}} {{compressed.zip}} {{path/to/directory}}` +`zip {{[-sf|--split-size --freshen]}} {{path/to/compressed.zip}}` diff --git a/pages/common/zip2john.md b/pages/common/zip2john.md new file mode 100644 index 00000000000000..cf51beb19c72fb --- /dev/null +++ b/pages/common/zip2john.md @@ -0,0 +1,17 @@ +# zip2john + +> Extract password hashes from Zip archives for use with John the Ripper password cracker. +> This is a utility tool usually installed as part of the John the Ripper installation. +> More information: . + +- Extract the password hash from an archive, listing all files in the archive: + +`zip2john {{path/to/file.zip}}` + +- Extract the password hash using [o]nly a specific compressed file: + +`zip2john -o {{path/to/compressed_file}} {{path/to/file.zip}}` + +- Extract the password hash from a compressed file to a specific file (for use with John the Ripper): + +`zip2john -o {{path/to/compressed_file}} {{path/to/file.zip}} > {{file.hash}}` diff --git a/pages/common/zipalign.md b/pages/common/zipalign.md index bc8603fe5cec23..8680fb93ca2b1b 100644 --- a/pages/common/zipalign.md +++ b/pages/common/zipalign.md @@ -2,12 +2,12 @@ > Zip archive alignment tool. > Part of the Android SDK build tools. -> More information: . +> More information: . -- Align the data of a ZIP file on 4-byte boundaries: +- Align the data of a Zip file on 4-byte boundaries: `zipalign {{4}} {{path/to/input.zip}} {{path/to/output.zip}}` -- Check that a ZIP file is correctly aligned on 4-byte boundaries and display the results in a verbose manner: +- Check that a Zip file is correctly aligned on 4-byte boundaries and display the results in a verbose manner: `zipalign -v -c {{4}} {{path/to/input.zip}}` diff --git a/pages/common/zipcloak.md b/pages/common/zipcloak.md new file mode 100644 index 00000000000000..49eea3c367f3e4 --- /dev/null +++ b/pages/common/zipcloak.md @@ -0,0 +1,16 @@ +# zipcloak + +> Encrypt the contents within a Zip archive. +> More information: . + +- Encrypt the contents of a Zip archive: + +`zipcloak {{path/to/archive.zip}}` + +- Decrypt the contents of a Zip archive: + +`zipcloak {{[-d|--decrypt]}} {{path/to/archive.zip}}` + +- Output the encrypted contents into a new Zip archive: + +`zipcloak {{path/to/archive.zip}} {{[-O|--output-file]}} {{path/to/encrypted.zip}}` diff --git a/pages/common/zipgrep.md b/pages/common/zipgrep.md new file mode 100644 index 00000000000000..ac0733b04a0f02 --- /dev/null +++ b/pages/common/zipgrep.md @@ -0,0 +1,24 @@ +# zipgrep + +> Find patterns in files in a Zip archive using extended `regex` (supports `?`, `+`, `{}`, `()` and `|`). +> More information: . + +- Search for a pattern within a Zip archive: + +`zipgrep "{{search_pattern}}" {{path/to/file.zip}}` + +- Print file name and line number for each match: + +`zipgrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{search_pattern}}" {{path/to/file.zip}}` + +- Search for lines that do not match a pattern: + +`zipgrep {{[-v|--invert-match]}} "{{search_pattern}}" {{path/to/file.zip}}` + +- Specify files inside a Zip archive from search: + +`zipgrep "{{search_pattern}}" {{path/to/file.zip}} {{file/to/search1}} {{file/to/search2}}` + +- Exclude files inside a Zip archive from search: + +`zipgrep "{{search_pattern}}" {{path/to/file.zip}} {{[-x|--line-regexp]}} {{file/to/exclude1}} {{file/to/exclude2}}` diff --git a/pages/common/zipinfo.md b/pages/common/zipinfo.md new file mode 100644 index 00000000000000..55d26d6d655e4b --- /dev/null +++ b/pages/common/zipinfo.md @@ -0,0 +1,12 @@ +# zipinfo + +> List detailed information about the contents of a Zip file. +> More information: . + +- List all files in a Zip file in long format (permissions, ownership, size, and modification date): + +`zipinfo {{path/to/archive.zip}}` + +- List all files in a Zip file: + +`zipinfo -1 {{path/to/archive.zip}}` diff --git a/pages/common/zipnote.md b/pages/common/zipnote.md new file mode 100644 index 00000000000000..c6012faba04d05 --- /dev/null +++ b/pages/common/zipnote.md @@ -0,0 +1,17 @@ +# zipnote + +> View, add, or edit a Zip archive's comments. +> Files can also be renamed in the Zip archive. +> More information: . + +- View the comments on a Zip archive: + +`zipnote {{path/to/file.zip}}` + +- Extract the comments on a Zip archive to a file: + +`zipnote {{path/to/file.zip}} > {{path/to/file.txt}}` + +- Add/Update comments in a Zip archive from a file: + +`zipnote -w {{path/to/file.zip}} < {{path/to/file.txt}}` diff --git a/pages/common/zless.md b/pages/common/zless.md index 19188479e465d1..e911fb47c6418b 100644 --- a/pages/common/zless.md +++ b/pages/common/zless.md @@ -1,7 +1,8 @@ # zless -> View compressed files. +> View `gzip` and `xz` compressed files. +> More information: . -- Page through a compressed archive with `less`: +- Page through a `gzip` compressed file with `less`: `zless {{file.txt.gz}}` diff --git a/pages/common/zlib-flate.md b/pages/common/zlib-flate.md new file mode 100644 index 00000000000000..9aab7d4f8fc856 --- /dev/null +++ b/pages/common/zlib-flate.md @@ -0,0 +1,17 @@ +# zlib-flate + +> Raw zlib compression and decompression program. +> Part of `qpdf`. +> More information: . + +- Compress a file: + +`zlib-flate < {{path/to/input_file}} -compress > {{path/to/compressed.zlib}}` + +- Uncompress a file: + +`zlib-flate < {{path/to/compressed.zlib}} -uncompress > {{path/to/output_file}}` + +- Compress a file with a specified compression level. 0=Fastest (Worst), 9=Slowest (Best): + +`zlib-flate < {{path/to/input_file}} -compress={{compression_level}} > {{path/to/compressed.zlib}}` diff --git a/pages/common/zm.md b/pages/common/zm.md new file mode 100644 index 00000000000000..896c708fbba5de --- /dev/null +++ b/pages/common/zm.md @@ -0,0 +1,16 @@ +# zm + +> A tool for managing articles of newspapers and blogs. +> More information: . + +- Make a new draft: + +`zm new` + +- Edit a draft: + +`zm edit` + +- Publish a draft and commit it with git: + +`zm publish` diff --git a/pages/common/zmap.md b/pages/common/zmap.md new file mode 100644 index 00000000000000..9fbd83afc84fbb --- /dev/null +++ b/pages/common/zmap.md @@ -0,0 +1,36 @@ +# zmap + +> Fast, open-source network scanner for Internet-wide surveys. +> More information: . + +- Scan a subnet or full IPv4 space for a specific TCP port (default: 80): + +`zmap {{SUBNETS}} {{[-p|--target-ports]}} {{port}}` + +- Scan specific ports or port ranges across a subnet: + +`zmap {{[-p|--target-ports]}} {{port1,port2-port3,...}} {{SUBNETS}}` + +- Output results to a CSV file with custom fields: + +`zmap {{[-o|--output-file]}} {{path/to/output_file.csv}} {{[-f|--output-fields]}} "{{saddr,daddr,sport,dport}}" {{SUBNETS}}` + +- Limit the scan rate to a specific number of packets per second: + +`zmap {{[-r|--rate]}} {{packets_per_second}} {{SUBNETS}}` + +- Perform a dry run without sending packets: + +`zmap {{[-d|--dryrun]}} {{SUBNETS}}` + +- Exclude subnets using a blocklist file in CIDR notation: + +`zmap {{[-b|--blocklist-file]}} {{path/to/blocklist.txt}} {{SUBNETS}}` + +- Set a specific source IP for scan packets: + +`zmap {{[-S|--source-ip]}} {{source_ip}} {{SUBNETS}}` + +- Cap the number/percentage of targets to probe (e.g. 1000 IP/port pairs): + +`zmap {{[-n|--max-targets]}} {{1000}} {{SUBNETS}} {{[-p|--target-ports]}} {{port1,port2-port3}}` diff --git a/pages/common/zmore.md b/pages/common/zmore.md new file mode 100644 index 00000000000000..26c7e68458f85e --- /dev/null +++ b/pages/common/zmore.md @@ -0,0 +1,24 @@ +# zmore + +> View `gzip` compressed files with `more`. +> More information: . + +- Open a compressed file: + +`zmore {{path/to/file.txt.gz}}` + +- Display the next page of the file: + +`` + +- Search for a pattern in the file (press `` to go to next match): + +`{{regex}}` + +- Exit: + +`` + +- Display interactive command help: + +`` diff --git a/pages/common/zmv.md b/pages/common/zmv.md index 291ecf78b62572..c4f915f72a25cf 100644 --- a/pages/common/zmv.md +++ b/pages/common/zmv.md @@ -1,10 +1,10 @@ # zmv > Move or rename files matching a specified extended glob pattern. -> See also `zcp` and `zln`. -> More information: . +> See also: `zcp`, `zln`. +> More information: . -- Move files using a regex-like pattern: +- Move files using a `regex`-like pattern: `zmv '{{(*).log}}' '{{$1.txt}}'` diff --git a/pages/common/znew.md b/pages/common/znew.md new file mode 100644 index 00000000000000..eea5b791e723d7 --- /dev/null +++ b/pages/common/znew.md @@ -0,0 +1,20 @@ +# znew + +> Recompress files from `.Z` to gzip format. +> More information: . + +- Recompress a file from `.Z` to gzip format: + +`znew {{path/to/file1.Z}}` + +- Recompress multiple files and display the achieved size reduction % per file: + +`znew -v {{path/to/file1.Z path/to/file2.Z ...}}` + +- Recompress a file using the slowest compression method (for optimal compression): + +`znew -9 {{path/to/file1.Z}}` + +- Recompress a file, [K]eeping the `.Z` file if it is smaller than the gzip file: + +`znew -K {{path/to/file1.Z}}` diff --git a/pages/common/zola.md b/pages/common/zola.md index 8c6ac22b6b0066..8706e0bfa0410f 100644 --- a/pages/common/zola.md +++ b/pages/common/zola.md @@ -13,7 +13,7 @@ - Build the whole site into a different directory: -`zola build --output-dir {{path/to/output_directory/}}` +`zola build --output-dir {{path/to/output_directory}}/` - Build and serve the site using a local server (default is `127.0.0.1:1111`): diff --git a/pages/common/zopflipng.md b/pages/common/zopflipng.md index b339bcd9d8e22a..3a165eb4f6697d 100644 --- a/pages/common/zopflipng.md +++ b/pages/common/zopflipng.md @@ -1,12 +1,12 @@ # zopflipng -> PNG image compression utility. +> PNG compression utility. > More information: . -- Optimize a PNG image: +- Optimize a PNG: `zopflipng {{input.png}} {{output.png}}` -- Optimize several PNG images and save with given prefix: +- Optimize several PNGs and save with given prefix: -`zopflipng --prefix={{prefix}} {{image1.png}} {{image2.png}} {{image3.png}}` +`zopflipng --prefix={{prefix}} {{image1.png image2.png image3.png ...}}` diff --git a/pages/common/zotero.md b/pages/common/zotero.md new file mode 100644 index 00000000000000..ac41dc5289cc4a --- /dev/null +++ b/pages/common/zotero.md @@ -0,0 +1,20 @@ +# zotero + +> Manage your bibliographies. +> More information: . + +- Run with the GUI: + +`zotero` + +- Run in headless mode: + +`zotero --headless` + +- Run with a specific profile: + +`zotero -P {{profile}}` + +- Run the Migration Assistant: + +`zotero --migration` diff --git a/pages/common/zoxide.md b/pages/common/zoxide.md index 6662c9b3c2bab1..470eca872ca11f 100644 --- a/pages/common/zoxide.md +++ b/pages/common/zoxide.md @@ -24,6 +24,6 @@ `zoxide remove {{path/to/directory}}` -- Generate shell configuration for command aliases (`z`, `za`, `zi`, `zq`, `zr`): +- Generate shell configuration for command aliases (`z`, `zi`): -`zoxide init {{bash|fish|zsh}}` +`zoxide init {{bash|elvish|fish|nushell|posix|powershell|tcsh|xonsh|zsh}}` diff --git a/pages/common/zpaq.md b/pages/common/zpaq.md new file mode 100644 index 00000000000000..5409f20f404c1f --- /dev/null +++ b/pages/common/zpaq.md @@ -0,0 +1,28 @@ +# zpaq + +> Incremental journaling backup utility and archiver. +> More information: . + +- Add a file or directory to a new or existing archive: + +`zpaq {{[a|add]}} {{path/to/archive.zpaq}} {{path/to/file_or_directory}}` + +- Create or add to an encrypted archive: + +`zpaq {{[a|add]}} -k{{password}} {{path/to/archive.zpaq}} {{path/to/file_or_directory}}` + +- Extract the most recent versions of files: + +`zpaq {{[x|extract]}} {{path/to/archive.zpaq}}` + +- List the archive contents: + +`zpaq {{[l|list]}} {{path/to/archive.zpaq}}` + +- Set the level of compression (higher means more compression but slower): + +`zpaq {{[a|add]}} {{path/to/archive.zpaq}} -m{{1|2|3|4|5}} {{path/to/file_or_directory}}` + +- Extract the specified files from the archive that are not newer than the specified date: + +`zpaq {{[x|extract]}} {{path/to/archive.zpaq}} {{path/in/archive/to/extract}} -to {{path/to/output}} -until {{YYYY-MM-DD}}` diff --git a/pages/common/zpool.md b/pages/common/zpool.md index 6bbe9f1bde9eea..7e7e6fbcaa045a 100644 --- a/pages/common/zpool.md +++ b/pages/common/zpool.md @@ -1,6 +1,7 @@ # zpool > Manage ZFS pools. +> More information: . - Show the configuration and status of all ZFS zpools: diff --git a/pages/common/zrun.md b/pages/common/zrun.md new file mode 100644 index 00000000000000..fbaab397850b96 --- /dev/null +++ b/pages/common/zrun.md @@ -0,0 +1,8 @@ +# zrun + +> Transparently uncompress argument files to a command. +> More information: . + +- Run the specified command with uncompressed versions of the compressed argument files: + +`zrun {{cat}} {{path/to/file1.gz path/to/file2.bz2 ...}}` diff --git a/pages/common/zsh.md b/pages/common/zsh.md index d036e06b1a5a8c..b0637db2896080 100644 --- a/pages/common/zsh.md +++ b/pages/common/zsh.md @@ -1,21 +1,37 @@ # zsh -> Z SHell. -> `bash` and `sh`-compatible command line interpreter. -> More information: . +> Z SHell, a Bash-compatible command-line interpreter. +> See also: `bash`, `histexpand`. +> More information: . -- Start interactive command line interpreter: +- Start an interactive shell session: `zsh` -- Execute command passed as parameter: +- Execute specific [c]ommands: -`zsh -c {{command}}` +`zsh -c "{{echo Hello world}}"` -- Run commands from file (script): +- Execute a specific script: -`zsh {{file}}` +`zsh {{path/to/script.zsh}}` -- Run commands from file and print them as they are executed: +- Check a specific script for syntax errors without executing it: -`zsh -x {{file}}` +`zsh --no-exec {{path/to/script.zsh}}` + +- Execute specific commands from `stdin`: + +`{{echo Hello world}} | zsh` + +- Execute a specific script, printing each command in the script before executing it: + +`zsh --xtrace {{path/to/script.zsh}}` + +- Start an interactive shell session in verbose mode, printing each command before executing it: + +`zsh --verbose` + +- Execute a specific command inside `zsh` with disabled glob patterns: + +`noglob {{command}}` diff --git a/pages/common/zstd.md b/pages/common/zstd.md index 8fa9e91c966e3b..4e51ae93de0da0 100644 --- a/pages/common/zstd.md +++ b/pages/common/zstd.md @@ -3,22 +3,22 @@ > Compress or decompress files with Zstandard compression. > More information: . -- Compress a file into a new file with the .zst suffix: +- Compress a file into a new file with the `.zst` suffix: -`zstd {{file}}` +`zstd {{path/to/file}}` - Decompress a file: -`zstd -d {{file}}.zst` +`zstd --decompress {{path/to/file.zst}}` - Decompress to `stdout`: -`zstd -dc {{file}}.zst` +`zstd --decompress --stdout {{path/to/file.zst}}` - Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default: -`zstd -{{level}} {{file}}` +`zstd -{{level}} {{path/to/file}}` - Unlock higher compression levels (up to 22) using more memory (both for compression and decompression): -`zstd --ultra -{{level}} {{file}}` +`zstd --ultra -{{level}} {{path/to/file}}` diff --git a/pages/common/zstdcat.md b/pages/common/zstdcat.md new file mode 100644 index 00000000000000..3a9d3d58400a65 --- /dev/null +++ b/pages/common/zstdcat.md @@ -0,0 +1,7 @@ +# zstdcat + +> This command is an alias of `zstd --decompress --stdout`. + +- View documentation for the original command: + +`tldr zstd` diff --git a/pages/common/zstdless.md b/pages/common/zstdless.md new file mode 100644 index 00000000000000..d5ff76d4d32253 --- /dev/null +++ b/pages/common/zstdless.md @@ -0,0 +1,9 @@ +# zstdless + +> Open a `zstd` compressed file for interactive reading, allowing scrolling and search. +> See also: `zstd`, `less`. +> More information: . + +- Open a `zstd` compressed file: + +`zstdless {{path/to/file.zst}}` diff --git a/pages/common/zstdmt.md b/pages/common/zstdmt.md new file mode 100644 index 00000000000000..817f33d1ec9c33 --- /dev/null +++ b/pages/common/zstdmt.md @@ -0,0 +1,7 @@ +# zstdmt + +> This command is an alias of `zstd --threads 0` (which sets the number of working threads to the number of physical CPU cores). + +- View documentation for the original command: + +`tldr zstd` diff --git a/pages/common/zsteg.md b/pages/common/zsteg.md index c15508fa6b0b2e..5c15c7d8eb3d9f 100644 --- a/pages/common/zsteg.md +++ b/pages/common/zsteg.md @@ -4,7 +4,7 @@ > It detects LSB steganography, ZLIB-compressed data, OpenStego, Camouflage and LSB with the Eratosthenes set. > More information: . -- Detect embedded data in a PNG image: +- Detect embedded data in a PNG: `zsteg {{path/to/image.png}}` @@ -12,7 +12,7 @@ `zsteg --all {{path/to/image.bmp}}` -- Detect embedded data in a PNG image, iterating pixels vertically and using MSB first: +- Detect embedded data in a PNG, iterating pixels vertically and using MSB first: `zsteg --msb --order yx {{path/to/image.png}}` @@ -20,7 +20,7 @@ `zsteg --bits {{1,2,3|1-3}} {{path/to/image.bmp}}` -- Detect embedded data in a PNG image, extracting only prime pixels and inverting bits: +- Detect embedded data in a PNG, extracting only prime pixels and inverting bits: `zsteg --prime --invert {{path/to/image.png}}` diff --git a/pages/common/{.md b/pages/common/{.md new file mode 100644 index 00000000000000..d8c351a932f9db --- /dev/null +++ b/pages/common/{.md @@ -0,0 +1,36 @@ +# { + +> Multipurpose shell syntax. +> More information: . + +- Isolate variable names: + +`echo ${{{HOME}work}}` + +- Brace expand sequences: + +`echo {{{1..3}}} {{{a..c}}}{{{dir1,dir2,dir3}}}` + +- Check if `variable` is set before returning text: + +`echo ${{{variable:+variable is set and contains $variable}}}` + +- Set default values in case `variable` is unset: + +`echo ${{{variable:-default}}}` + +- Return `variable` length in characters: + +`echo ${{{#variable}}}` + +- Return a string slice: + +`echo ${{{variable:3:7}}}` + +- Recursively expand a `variable`: + +`echo ${{{!variable}}}` + +- Group command output together: + +`{ {{command1; command2; ...}} } | {{another_command}}` diff --git a/pages/common/}.md b/pages/common/}.md new file mode 100644 index 00000000000000..2f187be505f573 --- /dev/null +++ b/pages/common/}.md @@ -0,0 +1,7 @@ +# } + +> This shell keyword is used to close out `{`. + +- View documentation for the `{` keyword: + +`tldr {` diff --git a/pages/common/~.md b/pages/common/~.md new file mode 100644 index 00000000000000..8729f275d78f6e --- /dev/null +++ b/pages/common/~.md @@ -0,0 +1,16 @@ +# ~ + +> Expand to a directory. +> More information: . + +- List the current user's home directory contents: + +`ls ~` + +- List the home directory contents of another user: + +`ls ~{{username}}` + +- List the contents of the previous directory you were in: + +`ls ~-` diff --git a/pages/dos/cd.md b/pages/dos/cd.md new file mode 100644 index 00000000000000..bc6ee03953675b --- /dev/null +++ b/pages/dos/cd.md @@ -0,0 +1,16 @@ +# CD + +> Change the current working directory. +> More information: . + +- Go to the specified directory: + +`CD {{PATH\TO\DIRECTORY}}` + +- Go up to the parent of the current directory: + +`CD ..` + +- Go to the root directory of the current drive: + +`CD \` diff --git a/pages/freebsd/base64.md b/pages/freebsd/base64.md new file mode 100644 index 00000000000000..e4b30883b7f908 --- /dev/null +++ b/pages/freebsd/base64.md @@ -0,0 +1,28 @@ +# base64 + +> Encode or decode file or `stdin` to/from base64, to `stdout` or another file. +> More information: . + +- Encode a file to `stdout`: + +`base64 {{[-i|--input]}} {{path/to/file}}` + +- Encode a file to the specified output file: + +`base64 {{[-i|--input]}} {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}` + +- Wrap encoded output at a specific width (`0` disables wrapping): + +`base64 {{[-b|--break]}} {{0|76|...}} {{path/to/file}}` + +- Decode a file to `stdout`: + +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{path/to/file}}` + +- Encode from `stdin` to `stdout`: + +`{{command}} | base64` + +- Decode from `stdin` to `stdout`: + +`{{command}} | base64 {{[-d|--decode]}}` diff --git a/pages/freebsd/cal.md b/pages/freebsd/cal.md new file mode 100644 index 00000000000000..e303b3a9ba2b42 --- /dev/null +++ b/pages/freebsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> Display a calendar with the current day highlighted. +> More information: . + +- Display a calendar for the current month: + +`cal` + +- Display a calendar for a specific year: + +`cal {{year}}` + +- Display a calendar for a specific month and year: + +`cal {{month}} {{year}}` + +- Display the whole calendar for the current year: + +`cal -y` + +- Don't [h]ighlight today and display [3] months spanning the date: + +`cal -h -3 {{month}} {{year}}` + +- Display the 2 months [B]efore and 3 [A]fter a specific [m]onth of the current year: + +`cal -A 3 -B 2 {{month}}` + +- Display [j]ulian days (starting from one, numbered from January 1): + +`cal -j` diff --git a/pages/freebsd/chfn.md b/pages/freebsd/chfn.md new file mode 100644 index 00000000000000..ea8525ffe24dcf --- /dev/null +++ b/pages/freebsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/freebsd/chpass.md b/pages/freebsd/chpass.md new file mode 100644 index 00000000000000..37b6898cb84253 --- /dev/null +++ b/pages/freebsd/chpass.md @@ -0,0 +1,33 @@ +# chpass + +> Add or change user database information, including login shell and password. +> See also: `passwd`. +> More information: . + +- Add or change user database information for the current user interactively: + +`su -c chpass` + +- Set a specific login [s]hell for the current user: + +`chpass -s {{path/to/shell}}` + +- Set a login [s]hell for a specific user: + +`chpass -s {{path/to/shell}} {{username}}` + +- Change the account [e]xpire time (in seconds from the epoch, UTC): + +`su -c 'chpass -e {{time}} {{username}}'` + +- Change a user's password: + +`su -c 'chpass -p {{encrypted_password}} {{username}}'` + +- Specify the [h]ostname or address of an NIS server to query: + +`su -c 'chpass -h {{hostname}} {{username}}'` + +- Specify a particular NIS [d]omain (system domain name by default): + +`su -c 'chpass -d {{domain}} {{username}}'` diff --git a/pages/freebsd/chsh.md b/pages/freebsd/chsh.md new file mode 100644 index 00000000000000..c9e2673cd8e992 --- /dev/null +++ b/pages/freebsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/freebsd/df.md b/pages/freebsd/df.md new file mode 100644 index 00000000000000..957dbaca6e899b --- /dev/null +++ b/pages/freebsd/df.md @@ -0,0 +1,32 @@ +# df + +> Display an overview of the filesystem disk space usage. +> More information: . + +- Display all filesystems and their disk usage (using 512-byte units): + +`df` + +- Use [h]uman-readable units (based on powers of 1024) and display a grand total: + +`df -h -c` + +- Use [H]uman-readable units (based on powers of 1000): + +`df -{{-si|H}}` + +- Display the filesystem containing the specified file or directory: + +`df {{path/to/file_or_directory}}` + +- Include statistics on the number of free and used [i]nodes, including the filesystem [T]ypes: + +`df -iT` + +- Use [k]ibibyte (1024 byte) units when showing size figures: + +`df -k` + +- Display information in a [P]ortable way: + +`df -P` diff --git a/pages/freebsd/ipmitool.md b/pages/freebsd/ipmitool.md new file mode 100644 index 00000000000000..c6342bbd0d02b5 --- /dev/null +++ b/pages/freebsd/ipmitool.md @@ -0,0 +1,16 @@ +# ipmitool + +> Interface with the Intelligent Platform Management Interface (IPMI). +> More information: . + +- Load the IPMI kernel module for local connections: + +`kldload ipmi.ko` + +- Open IPMI shell on the local hardware: + +`ipmitool shell` + +- Open IPMI shell on a remote host: + +`ipmitool -H {{ip_address}} -U {{user_name}} shell` diff --git a/pages/freebsd/look.md b/pages/freebsd/look.md new file mode 100644 index 00000000000000..aa68abed024c64 --- /dev/null +++ b/pages/freebsd/look.md @@ -0,0 +1,21 @@ +# look + +> Display lines beginning with a prefix in a sorted file. +> See also: `grep`, `sort`. +> More information: . + +- Search for lines beginning with a specific prefix in a specific file: + +`look {{prefix}} {{path/to/file}}` + +- Case-insensitively search only on alphanumeric characters: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{path/to/file}}` + +- Specify a string termination character (space by default): + +`look {{[-t|--terminate]}} {{,}}` + +- Search in `/usr/share/dict/words` (`--ignore-case` and `--alphanum` are assumed): + +`look {{prefix}}` diff --git a/pages/freebsd/pkg.md b/pages/freebsd/pkg.md new file mode 100644 index 00000000000000..4e1eefcf52dd5a --- /dev/null +++ b/pages/freebsd/pkg.md @@ -0,0 +1,28 @@ +# pkg + +> FreeBSD package manager. +> More information: . + +- Install a new package: + +`pkg install {{package}}` + +- Delete a package: + +`pkg delete {{package}}` + +- Upgrade all packages: + +`pkg upgrade` + +- Search for a package: + +`pkg search {{keyword}}` + +- List installed packages: + +`pkg info` + +- Remove unneeded dependencies: + +`pkg autoremove` diff --git a/pages/freebsd/procstat.md b/pages/freebsd/procstat.md new file mode 100644 index 00000000000000..6265799993cb46 --- /dev/null +++ b/pages/freebsd/procstat.md @@ -0,0 +1,20 @@ +# procstat + +> Display detailed information about processes in FreeBSD. +> More information: . + +- Display file descriptors of a specific process: + +`procstat fds {{pid}}` + +- Show virtual memory mappings of a process: + +`procstat vm {{pid}}` + +- Display process arguments: + +`procstat arguments {{pid}}` + +- Show resource limits of a process: + +`procstat rlimit {{pid}}` diff --git a/pages/freebsd/sed.md b/pages/freebsd/sed.md new file mode 100644 index 00000000000000..f7adcafc553c77 --- /dev/null +++ b/pages/freebsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> Edit text in a scriptable manner. +> See also: `awk`, `ed`. +> More information: . + +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`: + +`{{command}} | sed 's/apple/mango/g'` + +- Execute a specific script [f]ile and print the result to `stdout`: + +`{{command}} | sed -f {{path/to/script.sed}}` + +- Delay opening each file until a command containing the related `w` function or flag is applied to a line of input: + +`{{command}} | sed -fa {{path/to/script.sed}}` + +- Replace all `apple` (extended `regex`) occurrences with `APPLE` (extended `regex`) in all input lines and print the result to `stdout`: + +`{{command}} | sed -E 's/(apple)/\U\1/g'` + +- Print just a first line to `stdout`: + +`{{command}} | sed -n '1p'` + +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in a specific file and overwrite the original file in place: + +`sed -i 's/apple/mango/g' {{path/to/file}}` diff --git a/pages/freebsd/sockstat.md b/pages/freebsd/sockstat.md new file mode 100644 index 00000000000000..6073b8ee709503 --- /dev/null +++ b/pages/freebsd/sockstat.md @@ -0,0 +1,36 @@ +# sockstat + +> List open Internet or UNIX domain sockets. +> More information: . + +- View which users/processes are [l]istening on which ports: + +`sockstat -l` + +- Show information for IPv[4]/IPv[6] sockets [l]istening on specific [p]orts using a specific [P]rotocol: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}` + +- Also show [c]onnected sockets, not resolving [n]umeric UIDs to user names and using a [w]ider field size: + +`sockstat -cnw` + +- Only show sockets that belong to a specific [j]ail ID or name in [v]erbose mode: + +`sockstat -jv` + +- Display the protocol [s]tate and the remote [U]DP encapsulation port number, if applicable (these are currently only implemented for SCTP and TCP): + +`sockstat -sU` + +- Display the [C]ongestion control module and the protocol [S]tack, if applicable (these are currently only implemented for TCP): + +`sockstat -CS` + +- Only show Internet sockets if the local and foreign addresses are not in the loopback network prefix 127.0.0.0/8, or do not contain the IPv6 loopback address ::1: + +`sockstat -L` + +- Do not show the header ([q]uiet mode), showing [u]nix sockets and displaying the `inp_gencnt`: + +`sockstat -qui` diff --git a/pages/freebsd/ypchfn.md b/pages/freebsd/ypchfn.md new file mode 100644 index 00000000000000..447909c98addd4 --- /dev/null +++ b/pages/freebsd/ypchfn.md @@ -0,0 +1,7 @@ +# ypchfn + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/freebsd/ypchpass.md b/pages/freebsd/ypchpass.md new file mode 100644 index 00000000000000..61dc1fdbd16a07 --- /dev/null +++ b/pages/freebsd/ypchpass.md @@ -0,0 +1,7 @@ +# ypchpass + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/freebsd/ypchsh.md b/pages/freebsd/ypchsh.md new file mode 100644 index 00000000000000..6bc1572ba37072 --- /dev/null +++ b/pages/freebsd/ypchsh.md @@ -0,0 +1,7 @@ +# ypchsh + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/linux/a2disconf.md b/pages/linux/a2disconf.md index d910509b598c11..9770e134984101 100644 --- a/pages/linux/a2disconf.md +++ b/pages/linux/a2disconf.md @@ -1,7 +1,7 @@ # a2disconf > Disable an Apache configuration file on Debian-based OSes. -> More information: . +> More information: . - Disable a configuration file: @@ -9,4 +9,4 @@ - Don't show informative messages: -`sudo a2disconf --quiet {{configuration_file}}` +`sudo a2disconf {{[-q|--quiet]}} {{configuration_file}}` diff --git a/pages/linux/a2dismod.md b/pages/linux/a2dismod.md index 995cacf2df1bac..b106c463e22d31 100644 --- a/pages/linux/a2dismod.md +++ b/pages/linux/a2dismod.md @@ -1,7 +1,7 @@ # a2dismod > Disable an Apache module on Debian-based OSes. -> More information: . +> More information: . - Disable a module: @@ -9,4 +9,4 @@ - Don't show informative messages: -`sudo a2dismod --quiet {{module}}` +`sudo a2dismod {{[-q|--quiet]}} {{module}}` diff --git a/pages/linux/a2dissite.md b/pages/linux/a2dissite.md index 320537ba9b2b8a..cd3b7243b467a8 100644 --- a/pages/linux/a2dissite.md +++ b/pages/linux/a2dissite.md @@ -1,7 +1,7 @@ # a2dissite > Disable an Apache virtual host on Debian-based OSes. -> More information: . +> More information: . - Disable a virtual host: @@ -9,4 +9,4 @@ - Don't show informative messages: -`sudo a2dissite --quiet {{virtual_host}}` +`sudo a2dissite {{[-q|--quiet]}} {{virtual_host}}` diff --git a/pages/linux/a2enconf.md b/pages/linux/a2enconf.md index 8b71316c8702a2..c8b4ece3b82975 100644 --- a/pages/linux/a2enconf.md +++ b/pages/linux/a2enconf.md @@ -1,7 +1,7 @@ # a2enconf > Enable an Apache configuration file on Debian-based OSes. -> More information: . +> More information: . - Enable a configuration file: @@ -9,4 +9,4 @@ - Don't show informative messages: -`sudo a2enconf --quiet {{configuration_file}}` +`sudo a2enconf {{[-q|--quiet]}} {{configuration_file}}` diff --git a/pages/linux/a2enmod.md b/pages/linux/a2enmod.md index 55f9095ee37b2a..d59dea2b99f7f1 100644 --- a/pages/linux/a2enmod.md +++ b/pages/linux/a2enmod.md @@ -1,7 +1,7 @@ # a2enmod > Enable an Apache module on Debian-based OSes. -> More information: . +> More information: . - Enable a module: @@ -9,4 +9,4 @@ - Don't show informative messages: -`sudo a2enmod --quiet {{module}}` +`sudo a2enmod {{[-q|--quiet]}} {{module}}` diff --git a/pages/linux/a2ensite.md b/pages/linux/a2ensite.md index bd194219ebb5b2..8554a136762897 100644 --- a/pages/linux/a2ensite.md +++ b/pages/linux/a2ensite.md @@ -1,7 +1,7 @@ # a2ensite > Enable an Apache virtual host on Debian-based OSes. -> More information: . +> More information: . - Enable a virtual host: @@ -9,4 +9,4 @@ - Don't show informative messages: -`sudo a2ensite --quiet {{virtual_host}}` +`sudo a2ensite {{[-q|--quiet]}} {{virtual_host}}` diff --git a/pages/linux/a2query.md b/pages/linux/a2query.md index df57242dda3b70..b9812ab920f90f 100644 --- a/pages/linux/a2query.md +++ b/pages/linux/a2query.md @@ -1,7 +1,7 @@ # a2query > Retrieve runtime configuration from Apache on Debian-based OSes. -> More information: . +> More information: . - List enabled Apache modules: @@ -19,6 +19,6 @@ `sudo a2query -M` -- Display the Apache version: +- Display Apache version: `sudo a2query -v` diff --git a/pages/linux/aa-audit.md b/pages/linux/aa-audit.md new file mode 100644 index 00000000000000..31a59cf1a55f02 --- /dev/null +++ b/pages/linux/aa-audit.md @@ -0,0 +1,32 @@ +# aa-audit + +> Set AppArmor security profiles to audit mode. +> More information: . + +- Set a profile to audit mode: + +`sudo aa-audit {{profile_name}}` + +- Set multiple profiles to audit mode: + +`sudo aa-audit {{profile1 profile2 ...}}` + +- Set a profile to audit mode from a specific directory: + +`sudo aa-audit {{[-d|--dir]}} /{{path/to/profiles}} {{profile_name}}` + +- Force audit mode even if already applied: + +`sudo aa-audit --force {{profile_name}}` + +- Set a profile to audit mode without reloading it: + +`sudo aa-audit --no-reload {{profile_name}}` + +- Remove audit mode for a profile: + +`sudo aa-audit {{[-r|--remove]}} {{profile_name}}` + +- Display help: + +`aa-audit {{[-h|--help]}}` diff --git a/pages/linux/aa-cleanprof.md b/pages/linux/aa-cleanprof.md new file mode 100644 index 00000000000000..002e70440d35bb --- /dev/null +++ b/pages/linux/aa-cleanprof.md @@ -0,0 +1,28 @@ +# aa-cleanprof + +> Clean AppArmor security profiles by removing unused rules. +> More information: . + +- Clean a profile to remove unused rules: + +`sudo aa-cleanprof {{profile_name}}` + +- Clean multiple profiles at once: + +`sudo aa-cleanprof {{profile1 profile2 ...}}` + +- Specify the directory containing profiles: + +`sudo aa-cleanprof {{[-d|--dir]}} /{{path/to/profiles}} {{profile_name}}` + +- Run silently without prompts: + +`sudo aa-cleanprof {{[-s|--silent]}} {{profile_name}}` + +- Prevent profile reload after cleaning: + +`sudo aa-cleanprof --no-reload {{profile_name}}` + +- Display help: + +`aa-cleanprof {{[-h|--help]}}` diff --git a/pages/linux/aa-complain.md b/pages/linux/aa-complain.md new file mode 100644 index 00000000000000..21f734f551f10f --- /dev/null +++ b/pages/linux/aa-complain.md @@ -0,0 +1,13 @@ +# aa-complain + +> Set an AppArmor policy to complain mode. +> See also: `aa-disable`, `aa-enforce`, `aa-status`. +> More information: . + +- Set policy to complain mode: + +`sudo aa-complain {{path/to/profile1 path/to/profile2 ...}}` + +- Set policies to complain mode: + +`sudo aa-complain {{[-d|--dir]}} {{path/to/profiles}}` diff --git a/pages/linux/aa-decode.md b/pages/linux/aa-decode.md new file mode 100644 index 00000000000000..ca12cab7c87d04 --- /dev/null +++ b/pages/linux/aa-decode.md @@ -0,0 +1,20 @@ +# aa-decode + +> Decode AppArmor audit logs into a human-readable format. +> More information: . + +- Decode a hex string: + +`aa-decode {{hexstring}}` + +- Decode a log file: + +`sudo aa-decode {{logfile}}` + +- Decode logs from standard input (e.g., redirected file): + +`sudo aa-decode - < {{logfile}}` + +- Display help: + +`aa-decode {{[-h|--help]}}` diff --git a/pages/linux/aa-disable.md b/pages/linux/aa-disable.md new file mode 100644 index 00000000000000..9efd65c9bb0685 --- /dev/null +++ b/pages/linux/aa-disable.md @@ -0,0 +1,13 @@ +# aa-disable + +> Disable AppArmor security policies. +> See also: `aa-complain`, `aa-enforce`, `aa-status`. +> More information: . + +- Disable profile: + +`sudo aa-disable {{path/to/profile1 path/to/profile2 ...}}` + +- Disable profiles in a directory (defaults to `/etc/apparmor.d`): + +`sudo aa-disable --dir {{path/to/profiles}}` diff --git a/pages/linux/aa-enforce.md b/pages/linux/aa-enforce.md new file mode 100644 index 00000000000000..0aec96a8e55fff --- /dev/null +++ b/pages/linux/aa-enforce.md @@ -0,0 +1,13 @@ +# aa-enforce + +> Set an AppArmor profile to enforce mode. +> See also: `aa-complain`, `aa-disable`, `aa-status`. +> More information: . + +- Enable profile: + +`sudo aa-enforce {{[-d|--dir]}} {{path/to/profile}}` + +- Enable profiles: + +`sudo aa-enforce {{path/to/profile1 path/to/profile2 ...}}` diff --git a/pages/linux/aa-genprof.md b/pages/linux/aa-genprof.md new file mode 100644 index 00000000000000..ce3d6438596dff --- /dev/null +++ b/pages/linux/aa-genprof.md @@ -0,0 +1,20 @@ +# aa-genprof + +> Generate AppArmor security profiles by monitoring program behavior. +> More information: . + +- Start generating a profile for a program: + +`sudo aa-genprof {{program_path}}` + +- Specify a custom directory for profiles: + +`sudo aa-genprof {{[-d|--dir]}} /{{path/to/profiles}} {{program_path}}` + +- Specify a custom logfile for profiling: + +`sudo aa-genprof {{[-f|--file]}} /{{path/to/logfile}} {{program_path}}` + +- Display help: + +`aa-genprof {{[-h|--help]}}` diff --git a/pages/linux/aa-logprof.md b/pages/linux/aa-logprof.md new file mode 100644 index 00000000000000..668613684964f1 --- /dev/null +++ b/pages/linux/aa-logprof.md @@ -0,0 +1,24 @@ +# aa-logprof + +> Interactively update AppArmor security profiles based on logged violations. +> More information: . + +- Interactively review and update profiles based on system logs: + +`sudo aa-logprof` + +- Use a specific directory for AppArmor profiles: + +`sudo aa-logprof {{[-d|--dir]}} /{{path/to/profiles}}` + +- Use a specific log file instead of the default: + +`sudo aa-logprof {{[-f|--file]}} /{{path/to/logfile}}` + +- Ignore all log entries before the specified mark: + +`sudo aa-logprof {{[-m|--logmark]}} "{{log_marker_text}}"` + +- Display help: + +`aa-logprof {{[-h|--help]}}` diff --git a/pages/linux/aa-mergeprof.md b/pages/linux/aa-mergeprof.md new file mode 100644 index 00000000000000..bf2204fd788f5a --- /dev/null +++ b/pages/linux/aa-mergeprof.md @@ -0,0 +1,16 @@ +# aa-mergeprof + +> Merge AppArmor security profile files into the profile directory. +> More information: . + +- Merge one or more profile files into the default profile directory: + +`sudo aa-mergeprof {{file1 file2 ...}}` + +- Merge profile files into a specific directory: + +`sudo aa-mergeprof {{[-d|--dir]}} /{{path/to/profiles}} {{file1 file2 ...}}` + +- Display help: + +`aa-mergeprof {{[-h|--help]}}` diff --git a/pages/linux/aa-remove-unknown.md b/pages/linux/aa-remove-unknown.md new file mode 100644 index 00000000000000..0c1e63a6af01d1 --- /dev/null +++ b/pages/linux/aa-remove-unknown.md @@ -0,0 +1,16 @@ +# aa-remove-unknown + +> Remove AppArmor profiles that are no longer present in the configuration directory. +> More information: . + +- Perform a dry run to see which profiles would be removed: + +`sudo aa-remove-unknown -n` + +- Actually remove the profiles: + +`sudo aa-remove-unknown` + +- Display help: + +`aa-remove-unknown {{[-h|--help]}}` diff --git a/pages/linux/aa-status.md b/pages/linux/aa-status.md new file mode 100644 index 00000000000000..f3a2cab5523ca2 --- /dev/null +++ b/pages/linux/aa-status.md @@ -0,0 +1,25 @@ +# aa-status + +> List currently loaded AppArmor modules. +> See also: `aa-complain`, `aa-disable`, `aa-enforce`. +> More information: . + +- Check status: + +`sudo aa-status` + +- Display the number of loaded policies: + +`sudo aa-status --profiled` + +- Display the number of loaded enforicing policies: + +`sudo aa-status --enforced` + +- Display the number of loaded non-enforcing policies: + +`sudo aa-status --complaining` + +- Display the number of loaded enforcing policies that kill tasks: + +`sudo aa-status --kill` diff --git a/pages/linux/aa-teardown.md b/pages/linux/aa-teardown.md new file mode 100644 index 00000000000000..e71f8f91fa859b --- /dev/null +++ b/pages/linux/aa-teardown.md @@ -0,0 +1,12 @@ +# aa-teardown + +> Tear down all AppArmor profiles and disable AppArmor enforcement. +> More information: . + +- Disable all AppArmor profiles and stop enforcement: + +`sudo aa-teardown` + +- Display help: + +`aa-teardown {{[-h|--help]}}` diff --git a/pages/linux/aa-unconfined.md b/pages/linux/aa-unconfined.md new file mode 100644 index 00000000000000..106d35441e84ca --- /dev/null +++ b/pages/linux/aa-unconfined.md @@ -0,0 +1,20 @@ +# aa-unconfined + +> List processes with open TCP/UDP ports that do not have AppArmor profiles loaded. +> More information: . + +- List unconfined processes using the `ss` command (default): + +`sudo aa-unconfined` + +- Use `netstat` instead of `ss` to detect open network sockets: + +`sudo aa-unconfined --with-netstat` + +- Show all processes from /proc with TCP/UDP ports and no AppArmor profiles (more detailed): + +`sudo aa-unconfined --paranoid` + +- Display help: + +`aa-unconfined {{[-h|--help]}}` diff --git a/pages/linux/aa-update-browser.md b/pages/linux/aa-update-browser.md new file mode 100644 index 00000000000000..70bfb921f92944 --- /dev/null +++ b/pages/linux/aa-update-browser.md @@ -0,0 +1,25 @@ +# aa-update-browser + +> Update AppArmor browser profiles to use supported abstractions. +> Part of the AppArmor suite. +> More information: . + +- List available browser abstraction profiles: + +`sudo aa-update-browser -l` + +- Show what changes would be made to a profile without applying them ([d]ry-run): + +`sudo aa-update-browser -d {{path/to/profile}}` + +- Update a profile with specific abstractions: + +`sudo aa-update-browser -u {{abstraction1,abstraction2,...}} {{path/to/profile}}` + +- Remove all abstractions from a profile: + +`sudo aa-update-browser -u '' {{path/to/profile}}` + +- Display help: + +`aa-update-browser -h` diff --git a/pages/linux/abbr.md b/pages/linux/abbr.md new file mode 100644 index 00000000000000..22289b66b8b83d --- /dev/null +++ b/pages/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> Manage abbreviations for the fish shell. +> User-defined words are replaced with longer phrases after they are entered. +> More information: . + +- Add a new abbreviation: + +`abbr {{[-a|--add]}} {{abbreviation_name}} {{command}} {{command_arguments}}` + +- Rename an existing abbreviation: + +`abbr --rename {{old_name}} {{new_name}}` + +- Erase an existing abbreviation: + +`abbr {{[-e|--erase]}} {{abbreviation_name}}` + +- Import the abbreviations defined on another host over SSH: + +`ssh {{host_name}} abbr {{[-s|--show]}} | source` diff --git a/pages/linux/abroot.md b/pages/linux/abroot.md new file mode 100644 index 00000000000000..ba4542017a5e06 --- /dev/null +++ b/pages/linux/abroot.md @@ -0,0 +1,37 @@ +# abroot + +> Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺B). +> Updates are performed using OCI images, to ensure that the system is always in a consistent state. +> More information: . + +- Add packages to the local image (Note: After executing this command, you need to apply these changes.): + +`sudo abroot pkg add {{package}}` + +- Remove packages from the local image (Note: After executing this command, you need to apply these changes.): + +`sudo abroot pkg remove {{package}}` + +- List packages in the local image: + +`sudo abroot pkg list` + +- Apply changes in the local image (Note: You need to reboot your system for these changes to be applied): + +`sudo abroot pkg apply` + +- Rollback your system to previous state: + +`sudo abroot rollback` + +- Edit/View kernel parameters: + +`sudo abroot kargs {{edit|show}}` + +- Display status: + +`sudo abroot status` + +- Display help: + +`abroot {{[-h|--help]}}` diff --git a/pages/linux/abrt-action-analyze-backtrace.md b/pages/linux/abrt-action-analyze-backtrace.md new file mode 100644 index 00000000000000..58b1298ba33dd1 --- /dev/null +++ b/pages/linux/abrt-action-analyze-backtrace.md @@ -0,0 +1,18 @@ +# abrt-action-analyze-backtrace + +> Analyze C/C++ backtrace. +> Generate duplication hash, backtrace rating, and identify crash function. +> Save the data as new elements `duphash`, `rating`, `crash_function` in the problem directory. +> More information: . + +- Analyze backtrace for the current working directory: + +`abrt-action-analyze-backtrace` + +- Analyze backtrace for a specific directory: + +`abrt-action-analyze-backtrace -d {{path/to/directory}}` + +- Analyze backtrace verbosely: + +`abrt-action-analyze-backtrace -v` diff --git a/pages/linux/abrt-action-analyze-c.md b/pages/linux/abrt-action-analyze-c.md new file mode 100644 index 00000000000000..2ac39f6228df13 --- /dev/null +++ b/pages/linux/abrt-action-analyze-c.md @@ -0,0 +1,16 @@ +# abrt-action-analyze-c + +> Calculate UUID for a problem data directory with `coredump`. +> More information: . + +- Calculate and save the UUID for the current working directory: + +`abrt-action-analyze-c` + +- Calculate and save the UUID for a specific directory: + +`abrt-action-analyze-c -d {{path/to/directory}}` + +- Calculate and save the UUID verbosely: + +`abrt-action-analyze-c -v` diff --git a/pages/linux/abrt-cli.md b/pages/linux/abrt-cli.md new file mode 100644 index 00000000000000..7b5984f212594b --- /dev/null +++ b/pages/linux/abrt-cli.md @@ -0,0 +1,29 @@ +# abrt-cli + +> Automatic Bug Reporting Tool for Fedora-based systems. +> Used to detect, analyze, and report application crashes. +> More information: . + +- List detected problems: + +`abrt-cli list` + +- Show details of a specific problem: + +`abrt-cli info {{problem_id}}` + +- Remove a crash report: + +`abrt-cli remove {{problem_id}}` + +- Report a problem to the configured bug tracker (e.g. Bugzilla): + +`abrt-cli report {{problem_id}}` + +- Monitor a log file and trigger a program when a match is found: + +`abrt-watch-log -F {{error_string}} {{/var/log/myapp.log}} {{notify-send "Crash detected"}}` + +- Generate a report for debugging manually: + +`abrt-cli report {{[-a|--analyze]}} {{problem_id}}` diff --git a/pages/linux/abrt.md b/pages/linux/abrt.md new file mode 100644 index 00000000000000..33e7e6ca102f7b --- /dev/null +++ b/pages/linux/abrt.md @@ -0,0 +1,7 @@ +# abrt + +> This command is an alias of `abrt-cli`. + +- View documentation for the original command: + +`tldr abrt-cli` diff --git a/pages/linux/ac.md b/pages/linux/ac.md index 728f1e14cfb92f..7caea58c19d371 100644 --- a/pages/linux/ac.md +++ b/pages/linux/ac.md @@ -1,6 +1,7 @@ # ac > Print statistics on how long users have been connected. +> More information: . - Print how long the current user has been connected in hours: @@ -8,15 +9,15 @@ - Print how long users have been connected in hours: -`ac --individual-totals` +`ac {{[-p|--individual-totals]}}` - Print how long a particular user has been connected in hours: -`ac --individual-totals {{username}}` +`ac {{[-p|--individual-totals]}} {{username}}` - Print how long a particular user has been connected in hours per day (with total): -`ac --daily-totals --individual-totals {{username}}` +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{username}}` - Also display additional details: diff --git a/pages/linux/acountry.md b/pages/linux/acountry.md new file mode 100644 index 00000000000000..7abc849e1494f5 --- /dev/null +++ b/pages/linux/acountry.md @@ -0,0 +1,16 @@ +# acountry + +> Print the country where an IPv4 address or hostname is located. +> More information: . + +- Print a country where an IPv4 address or host is located: + +`acountry {{example.com}}` + +- Print extra [d]ebugging output: + +`acountry -d {{example.com}}` + +- Print more [v]erbose information: + +`acountry -v {{example.com}}` diff --git a/pages/linux/acpi.md b/pages/linux/acpi.md index 992f9825183366..6ca771b16783dd 100644 --- a/pages/linux/acpi.md +++ b/pages/linux/acpi.md @@ -1,7 +1,7 @@ # acpi > Shows battery status or thermal information. -> More information: . +> More information: . - Show battery information: @@ -9,20 +9,20 @@ - Show thermal information: -`acpi -t` +`acpi {{[-t|--thermal]}}` - Show cooling device information: -`acpi -c` +`acpi {{[-c|--cooling]}}` - Show thermal information in Fahrenheit: -`acpi -tf` +`acpi {{[-tf|--thermal --fahrenheit]}}` - Show all information: -`acpi -V` +`acpi {{[-V|--everything]}}` - Extract information from `/proc` instead of `/sys`: -`acpi -p` +`acpi {{[-p|--proc]}}` diff --git a/pages/linux/acpi_listen.md b/pages/linux/acpi_listen.md new file mode 100644 index 00000000000000..a71f262831efeb --- /dev/null +++ b/pages/linux/acpi_listen.md @@ -0,0 +1,12 @@ +# acpi_listen + +> Listen to ACPI events. +> More information: . + +- Listen to any ACPI event while the daemon is running: + +`acpi_listen` + +- Display help: + +`acpi_listen {{[-h|--help]}}` diff --git a/pages/linux/add-apt-repository.md b/pages/linux/add-apt-repository.md index 154a62ebd45b38..151b6c66157520 100644 --- a/pages/linux/add-apt-repository.md +++ b/pages/linux/add-apt-repository.md @@ -1,19 +1,20 @@ # add-apt-repository -> Manages apt repository definitions. +> Manage `apt` repository definitions. +> More information: . -- Add a new apt repository: +- Add a new `apt` repository: `add-apt-repository {{repository_spec}}` -- Remove an apt repository: +- Remove an `apt` repository: -`add-apt-repository --remove {{repository_spec}}` +`add-apt-repository {{[-r|--remove]}} {{repository_spec}}` - Update the package cache after adding a repository: `add-apt-repository --update {{repository_spec}}` -- Enable source packages: +- Allow source packages to be downloaded from the repository: -`add-apt-repository --enable-source {{repository_spec}}` +`add-apt-repository {{[-s|--enable-source]}} {{repository_spec}}` diff --git a/pages/linux/addpart.md b/pages/linux/addpart.md index ac6b8ded71689b..92cf9203abf322 100644 --- a/pages/linux/addpart.md +++ b/pages/linux/addpart.md @@ -1,8 +1,8 @@ # addpart -> Tells the Linux kernel about the existence of the specified partition. -> The command is a simple wrapper around the `add partition` ioctl. -> More information: . +> Tell the Linux kernel about the existence of the specified partition. +> A simple wrapper around the `add partition` ioctl. +> More information: . - Tell the kernel about the existence of the specified partition: diff --git a/pages/linux/addr2line.md b/pages/linux/addr2line.md index 4601e468a663c0..1322f036e0f231 100644 --- a/pages/linux/addr2line.md +++ b/pages/linux/addr2line.md @@ -1,15 +1,16 @@ # addr2line > Convert addresses of a binary into file names and line numbers. +> More information: . - Display the filename and line number of the source code from an instruction address of an executable: -`addr2line --exe={{path/to/executable}} {{address}}` +`addr2line {{[-e|--exe]}} {{path/to/executable}} {{address}}` - Display the function name, filename and line number: -`addr2line --exe={{path/to/executable}} --functions {{address}}` +`addr2line {{[-e|--exe]}} {{path/to/executable}} {{[-f|--functions]}} {{address}}` - Demangle the function name for C++ code: -`addr2line --exe={{path/to/executable}} --functions --demangle {{address}}` +`addr2line {{[-e|--exe]}} {{path/to/executable}} {{[-f|--functions]}} {{[-C|--demangle]}} {{address}}` diff --git a/pages/linux/adduser.md b/pages/linux/adduser.md index c495e0cd9bd62b..6380b469450931 100644 --- a/pages/linux/adduser.md +++ b/pages/linux/adduser.md @@ -1,6 +1,7 @@ # adduser > User addition utility. +> More information: . - Create a new user with a default home directory and prompt the user to set a password: @@ -21,7 +22,3 @@ - Create a new user belonging to the specified group: `adduser --ingroup {{group}} {{username}}` - -- Add an existing user to the specified group: - -`adduser {{username}} {{group}}` diff --git a/pages/linux/adig.md b/pages/linux/adig.md new file mode 100644 index 00000000000000..b15c31755149f6 --- /dev/null +++ b/pages/linux/adig.md @@ -0,0 +1,24 @@ +# adig + +> Print information received from Domain Name System (DNS) servers. +> More information: . + +- Display A (default) record from DNS for hostname(s): + +`adig {{example.com}}` + +- Display extra [d]ebugging output: + +`adig -d {{example.com}}` + +- Connect to a specific DNS [s]erver: + +`adig -s {{1.2.3.4}} {{example.com}}` + +- Use a specific TCP port to connect to a DNS server: + +`adig -T {{port}} {{example.com}}` + +- Use a specific UDP port to connect to a DNS server: + +`adig -U {{port}} {{example.com}}` diff --git a/pages/linux/agetty.md b/pages/linux/agetty.md new file mode 100644 index 00000000000000..f2e978214d6a8d --- /dev/null +++ b/pages/linux/agetty.md @@ -0,0 +1,30 @@ +# agetty + +> Alternative `getty`: Open a `tty` port, prompt for a login name, and invoke the `/bin/login` command. +> It is normally invoked by `init`. +> Note: The baud rate is the speed of data transfer between a terminal and a device over a serial connection. +> More information: . + +- Connect `stdin` to a port (relative to `/dev`) and optionally specify a baud rate (defaults to 9600): + +`agetty {{tty}} {{115200}}` + +- Assume `stdin` is already connected to a `tty` and set a timeout for the login: + +`agetty {{[-t|--timeout]}} {{timeout_in_seconds}} -` + +- Assume the `tty` is 8-bit, overriding the `TERM` environment variable set by `init`: + +`agetty {{[-8|--8bits]}} - {{term_var}}` + +- Skip the login (no login) and invoke, as root, another login program instead of `/bin/login`: + +`agetty {{[-n|--skip-login]}} {{[-l|--login-program]}} {{login_program}} {{tty}}` + +- Do not display the pre-login (issue) file (`/etc/issue` by default) before writing the login prompt: + +`agetty {{[-i|--noissue]}} -` + +- Change the root directory and write a specific fake host into the `utmp` file: + +`agetty {{[-r|--chroot]}} /{{path/to/root_directory}} {{[-H|--host]}} {{fake_host}} -` diff --git a/pages/linux/ahost.md b/pages/linux/ahost.md new file mode 100644 index 00000000000000..c8c13296043082 --- /dev/null +++ b/pages/linux/ahost.md @@ -0,0 +1,16 @@ +# ahost + +> DNS lookup utility to display the A or AAAA record linked with a hostname or IP address. +> More information: . + +- Print an `A` or `AAAA` record associated with a hostname or IP address: + +`ahost {{example.com}}` + +- Display some extra debugging output: + +`ahost -d {{example.com}}` + +- Display the record with a specified type: + +`ahost -t {{a|aaaa|u}} {{example.com}}` diff --git a/pages/linux/aide.md b/pages/linux/aide.md new file mode 100644 index 00000000000000..aaf86c1897d9b5 --- /dev/null +++ b/pages/linux/aide.md @@ -0,0 +1,32 @@ +# aide + +> Advanced Intrusion Detection Environment to validate file integrity. +> More information: . + +- Initialize the database: + +`sudo aide {{[-i|--init]}}` + +- Check the database for inconsistencies: + +`sudo aide {{[-C|--check]}}` + +- Compare two databases according to definitions in the config file: + +`sudo aide {{[-E|--compare]}}` + +- Check and update the database non-interactively: + +`sudo aide {{[-u|--update]}}` + +- Define a config file to override the default `./aide.conf`: + +`sudo aide {{[-c|--config]}} {{path/to/config_file}}` + +- Use `regex` to limit AIDE to a specific string: + +`sudo aide {{[-l|--limit]}} {{regex}}` + +- Send reporter results to a URL: + +`sudo aide {{[-r|--report]}} {{reporterurl}}` diff --git a/pages/linux/alien.md b/pages/linux/alien.md new file mode 100644 index 00000000000000..ec05e10e459a9a --- /dev/null +++ b/pages/linux/alien.md @@ -0,0 +1,21 @@ +# alien + +> Convert different installation packages to other formats. +> See also: `debtap` for `.deb` conversion on Arch Linux. +> More information: . + +- Convert a specific installation file to Debian format (`.deb` extension): + +`sudo alien {{[-d|--to-deb]}} {{path/to/file}}` + +- Convert a specific installation file to Red Hat format (`.rpm` extension): + +`sudo alien {{[-r|--to-rpm]}} {{path/to/file}}` + +- Convert a specific installation file to a Slackware installation file (`.tgz` extension): + +`sudo alien {{[-t|--to-tgz]}} {{path/to/file}}` + +- Convert a specific installation file to Debian format and install on the system: + +`sudo alien {{[-d|--to-deb]}} {{[-i|--install]}} {{path/to/file}}` diff --git a/pages/linux/alpine.md b/pages/linux/alpine.md index baf1b6ac5d04e0..ef770ed2e5b7b7 100644 --- a/pages/linux/alpine.md +++ b/pages/linux/alpine.md @@ -2,6 +2,7 @@ > An email client and Usenet newsgroup program with a pico/nano-inspired interface. > Supports most modern email services through IMAP. +> More information: . - Open alpine normally: @@ -13,4 +14,4 @@ - Quit alpine: -`'q' then 'y'` +`` diff --git a/pages/linux/alsamixer.md b/pages/linux/alsamixer.md new file mode 100644 index 00000000000000..2301ad704874d6 --- /dev/null +++ b/pages/linux/alsamixer.md @@ -0,0 +1,24 @@ +# alsamixer + +> Graphical mixer for ALSA soundcard driver. +> More information: . + +- Select the soundcard to use: + +`alsamixer {{[-c|--card]}} {{soundcard_number}}` + +- Select mixer device to control: + +`alsamixer {{[-D|--device]}} {{device_name}}` + +- Increase volume: + +`` + +- Decrease volume: + +`` + +- Quit alsamixer: + +`` diff --git a/pages/linux/alternatives.md b/pages/linux/alternatives.md new file mode 100644 index 00000000000000..d36a696b0ad3d7 --- /dev/null +++ b/pages/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> This command is an alias of `update-alternatives`. + +- View documentation for the original command: + +`tldr update-alternatives` diff --git a/pages/linux/amixer.md b/pages/linux/amixer.md index fe7b71dec0d8ab..732c62118d0098 100644 --- a/pages/linux/amixer.md +++ b/pages/linux/amixer.md @@ -1,6 +1,7 @@ # amixer > Mixer for ALSA soundcard driver. +> More information: . - Turn up the master volume by 10%: diff --git a/pages/linux/anbox.md b/pages/linux/anbox.md new file mode 100644 index 00000000000000..288543268f298d --- /dev/null +++ b/pages/linux/anbox.md @@ -0,0 +1,8 @@ +# anbox + +> Run Android applications on any Linux operating system. +> More information: . + +- Launch Anbox into the app manager: + +`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}` diff --git a/pages/linux/apache2ctl.md b/pages/linux/apache2ctl.md index 4c7bfaa2bbf820..1f3001b347658c 100644 --- a/pages/linux/apache2ctl.md +++ b/pages/linux/apache2ctl.md @@ -1,7 +1,8 @@ # apache2ctl -> The CLI tool to administrate HTTP web server Apache. +> Administrate the Apache HTTP web server. > This command comes with Debian based OSes, for RHEL based ones see `httpd`. +> More information: . - Start the Apache daemon. Throw a message if it is already running: diff --git a/pages/linux/apachectl.md b/pages/linux/apachectl.md new file mode 100644 index 00000000000000..6ac9a739cd6311 --- /dev/null +++ b/pages/linux/apachectl.md @@ -0,0 +1,36 @@ +# apachectl + +> Control an Apache HTTP server. +> More information: . + +- Start the server: + +`sudo apachectl start` + +- Restart the server: + +`sudo apachectl restart` + +- Stop the server: + +`sudo apachectl stop` + +- Test configuration file validity: + +`apachectl configtest` + +- Check server status (requires the lynx browser): + +`apachectl status` + +- Reload configuration without dropping connections: + +`sudo apachectl graceful` + +- Print full Apache configuration (not always supported): + +`apachectl -S` + +- Display help: + +`apachectl -h` diff --git a/pages/linux/apk.md b/pages/linux/apk.md index b2f9324bcca2f2..c623f68b5f51d1 100644 --- a/pages/linux/apk.md +++ b/pages/linux/apk.md @@ -1,8 +1,13 @@ # apk > Alpine Linux package management tool. +> More information: . -- Update repository indexes from all remote repositories: +- Update repository indexes and upgrade all packages: + +`apk upgrade {{[-U|--update-cache]}}` + +- Only update repository indexes: `apk update` @@ -14,14 +19,18 @@ `apk del {{package}}` -- Repair package or upgrade it without modifying main dependencies: +- Repair/Reinstall a package without modifying main dependencies: `apk fix {{package}}` -- Search package via keyword: +- Search for packages with a keyword in their name and list results with descriptions: + +`apk search {{[-v|--verbose]}} {{keyword}}` + +- Search for packages with a keyword in their description: -`apk search {{keyword}}` +`apk search {{[-d|--description]}} {{keyword}}` -- Get info about a specific package: +- Display information about a specific package: `apk info {{package}}` diff --git a/pages/linux/aplay.md b/pages/linux/aplay.md index 16b66c41cf39aa..d5a05c95397451 100644 --- a/pages/linux/aplay.md +++ b/pages/linux/aplay.md @@ -1,16 +1,20 @@ # aplay -> Command-line sound player for ALSA soundcard driver. -> More information: . +> Sound player for ALSA soundcard driver. +> More information: . - Play a specific file (sampling rate, bit depth, etc. will be automatically determined for the file format): `aplay {{path/to/file}}` -- Play the first 10 seconds of a specific file at 2500Hz: +- Play the first 10 seconds of a specific file at 2500 Hz: -`aplay --duration={{10}} --rate={{2500}} {{path/to/file}}` +`aplay {{[-d|--duration]}} {{10}} {{[-r|--rate]}} {{2500}} {{path/to/file}}` -- Play the raw file as a 22050Hz, mono, 8-bit, Mu-Law `.au` file: +- Play the raw file as a 22050 Hz, mono, 8-bit, Mu-Law `.au` file: -`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{path/to/file}}` +`aplay {{[-c|--channels]}} {{1}} {{[-t|--file-type]}} {{raw}} {{[-r|--rate]}} {{22050}} {{[-f|--format]}} {{mu_law}} {{path/to/file}}` + +- List available audio devices: + +`aplay {{[-l|--list-devices]}}` diff --git a/pages/linux/apparmor_parser.md b/pages/linux/apparmor_parser.md new file mode 100644 index 00000000000000..31280a33b5f75a --- /dev/null +++ b/pages/linux/apparmor_parser.md @@ -0,0 +1,36 @@ +# apparmor_parser + +> Load, compile, and manage AppArmor security profiles. +> More information: . + +- Load a profile into the kernel: + +`sudo apparmor_parser {{[-a|--add]}} {{profile_file}}` + +- Replace an existing profile: + +`sudo apparmor_parser {{[-r|--replace]}} {{profile_file}}` + +- Remove a profile from the kernel: + +`sudo apparmor_parser {{[-R|--remove]}} {{profile_name}}` + +- Load a profile in complain mode (logs violations but doesn't block): + +`sudo apparmor_parser {{[-C|--complain]}} {{[-r|--replace]}} {{path/to/profile}}` + +- Preprocess a profile (resolve includes) and write binary cache to file: + +`apparmor_parser {{[-p|--preprocess]}} {{[-o|--ofile]}} {{path/to/output.cache}} {{[-Q|--skip-kernel-load]}} {{path/to/profile}}` + +- Preprocess and print binary profile to stdout without loading: + +`apparmor_parser {{[-p|--preprocess]}} {{[-S|--stdout]}} {{[-Q|--skip-kernel-load]}} {{path/to/profile}}` + +- Replace a profile while skipping cache reads: + +`sudo apparmor_parser {{[-r|--replace]}} {{[-T|--skip-read-cache]}} {{path/to/profile}}` + +- Replace a profile, rebuild cache, and write it to a custom directory: + +`sudo apparmor_parser {{[-r|--replace]}} {{[-W|--write-cache]}} {{[-L|--cache-loc]}} /{{path/to/cache}} {{path/to/profile}}` diff --git a/pages/linux/apparmor_status.md b/pages/linux/apparmor_status.md new file mode 100644 index 00000000000000..9c31359e2b1bfd --- /dev/null +++ b/pages/linux/apparmor_status.md @@ -0,0 +1,7 @@ +# apparmor_status + +> This command is an alias of `aa-status`. + +- View documentation for the original command: + +`tldr aa-status` diff --git a/pages/linux/apt-add-repository.md b/pages/linux/apt-add-repository.md index 1b3f8770098ae2..e399cf881fef52 100644 --- a/pages/linux/apt-add-repository.md +++ b/pages/linux/apt-add-repository.md @@ -1,19 +1,7 @@ # apt-add-repository -> Manages apt repository definitions. +> This command is an alias of `add-apt-repository`. -- Add a new apt repository: +- View documentation for the original command: -`apt-add-repository {{repository_spec}}` - -- Remove an apt repository: - -`apt-add-repository --remove {{repository_spec}}` - -- Update the package cache after adding a repository: - -`apt-add-repository --update {{repository_spec}}` - -- Enable source packages: - -`apt-add-repository --enable-source {{repository_spec}}` +`tldr add-apt-repository` diff --git a/pages/linux/apt-cache.md b/pages/linux/apt-cache.md index 2f4d3c6be55ace..ca742202dcc7a8 100644 --- a/pages/linux/apt-cache.md +++ b/pages/linux/apt-cache.md @@ -1,6 +1,7 @@ # apt-cache > Debian and Ubuntu package query tool. +> More information: . - Search for a package in your current sources: diff --git a/pages/linux/apt-clone.md b/pages/linux/apt-clone.md new file mode 100644 index 00000000000000..9e9fea9bb143aa --- /dev/null +++ b/pages/linux/apt-clone.md @@ -0,0 +1,24 @@ +# apt-clone + +> Clone/backup/restore the package state of a Debian-based system. +> More information: . + +- Clone the package state of the current system into a specified directory: + +`apt-clone clone {{path/to/directory}}` + +- Create a clone file (`tar.gz`) for backup purposes: + +`apt-clone clone --destination {{path/to/backup.tar.gz}}` + +- Restore the package state from a clone file: + +`apt-clone restore {{path/to/backup.tar.gz}}` + +- Show information about a clone file (e.g., the release, architecture): + +`apt-clone info {{path/to/backup.tar.gz}}` + +- Check if the clone file can be restored on the current system: + +`apt-clone restore {{path/to/backup.tar.gz}} --destination {{path/to/restore}}` diff --git a/pages/linux/apt-file.md b/pages/linux/apt-file.md index 0fc9cbe3268ee7..7f37becc5dd0b3 100644 --- a/pages/linux/apt-file.md +++ b/pages/linux/apt-file.md @@ -1,6 +1,7 @@ # apt-file -> Search for files in apt packages, including ones not yet installed. +> Search for files in `apt` packages, including ones not yet installed. +> More information: . - Update the metadata database: @@ -8,8 +9,12 @@ - Search for packages that contain the specified file or path: -`apt-file search {{part/of/filename}}` +`apt-file {{search|find}} {{path/to/file}}` - List the contents of a specific package: -`apt-file list {{package_name}}` +`apt-file {{show|list}} {{package}}` + +- Search for packages that match the `regex`: + +`apt-file {{search|find}} {{[-x|--regexp]}} {{regex}}` diff --git a/pages/linux/apt-get.md b/pages/linux/apt-get.md index ff54b10b7ac3a6..4254bab18a4887 100644 --- a/pages/linux/apt-get.md +++ b/pages/linux/apt-get.md @@ -2,6 +2,8 @@ > Debian and Ubuntu package management utility. > Search for packages using `apt-cache`. +> It is recommended to use `apt` when used interactively in Ubuntu versions 16.04 and later. +> More information: . - Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands): @@ -23,7 +25,7 @@ `apt-get upgrade` -- Clean the local repository - removing package files (.deb) from interrupted downloads that can no longer be downloaded: +- Clean the local repository - removing package files (`.deb`) from interrupted downloads that can no longer be downloaded: `apt-get autoclean` diff --git a/pages/linux/apt-install.md b/pages/linux/apt-install.md new file mode 100644 index 00000000000000..1f2d4252ff821c --- /dev/null +++ b/pages/linux/apt-install.md @@ -0,0 +1,12 @@ +# apt install + +> Install packages for Debian-based distributions. +> More information: . + +- Install a package, or update it to the latest version: + +`sudo apt install {{package}}` + +- Display verbose package version information during installation or update: + +`sudo apt install {{[-V|--verbose-versions]}} {{package}}` diff --git a/pages/linux/apt-key.md b/pages/linux/apt-key.md index 13f7feb8aad9f0..4946bdbdbfb7c9 100644 --- a/pages/linux/apt-key.md +++ b/pages/linux/apt-key.md @@ -1,6 +1,8 @@ # apt-key > Key management utility for the APT Package Manager on Debian and Ubuntu. +> Note: `apt-key` is now deprecated (except for the use of `apt-key del` in maintainer scripts). +> More information: . - List trusted keys: @@ -16,8 +18,8 @@ - Add a remote key to the trusted keystore: -`wget -qO - {{https://host.tld/filename.key}} | apt-key add -` +`wget {{[-qO|--quiet --output-document]}} - {{https://host.tld/filename.key}} | apt-key add -` -- Add a key from keyserver with only key id: +- Add a key from keyserver with only key ID: `apt-key adv --keyserver {{pgp.mit.edu}} --recv {{KEYID}}` diff --git a/pages/linux/apt-mark.md b/pages/linux/apt-mark.md index 296d56f0880c43..7f14fc692967e4 100644 --- a/pages/linux/apt-mark.md +++ b/pages/linux/apt-mark.md @@ -1,18 +1,19 @@ # apt-mark > Utility to change the status of installed packages. +> More information: . - Mark a package as automatically installed: -`sudo apt-mark auto {{package_name}}` +`sudo apt-mark auto {{package}}` - Hold a package at its current version and prevent updates to it: -`sudo apt-mark hold {{package_name}}` +`sudo apt-mark hold {{package}}` - Allow a package to be updated again: -`sudo apt-mark unhold {{package_name}}` +`sudo apt-mark unhold {{package}}` - Show manually installed packages: diff --git a/pages/linux/apt-moo.md b/pages/linux/apt-moo.md new file mode 100644 index 00000000000000..b019cd70e47671 --- /dev/null +++ b/pages/linux/apt-moo.md @@ -0,0 +1,8 @@ +# apt moo + +> An `APT` easter egg. +> More information: . + +- Print a cow easter egg: + +`apt moo` diff --git a/pages/linux/apt.md b/pages/linux/apt.md index 7d6b0f044c0e9d..f5cd78e6aa90c7 100644 --- a/pages/linux/apt.md +++ b/pages/linux/apt.md @@ -1,36 +1,38 @@ # apt -> Package management utility for Debian based distributions. -> Recommended replacement for apt-get when used interactively in Ubuntu versions 16.04 and later. +> Package manager for Debian-based distributions. +> Intended as a user-friendly alternative to `apt-get` for interactive use. +> For equivalent commands in other package managers, see . +> More information: . -- Update the list of available packages and versions (it's recommended to run this before other `apt` commands): +- Update the list of available packages and versions (recommended before running other `apt` commands): `sudo apt update` -- Search for a given package: +- Search packages by name or description: `apt search {{package}}` -- Show information for a package: +- Search packages by name only (supports wildcards like `*`): + +`apt list {{package}}` + +- Show detailed information about a package: `apt show {{package}}` -- Install a package, or update it to the latest available version: +- Install a package, or update it to the latest version: `sudo apt install {{package}}` -- Remove a package (using `purge` instead also removes its configuration files): +- Remove a package (use `purge` instead to also remove configuration files): `sudo apt remove {{package}}` -- Upgrade all installed packages to their newest available versions: +- Upgrade all installed packages to their latest versions: `sudo apt upgrade` -- List all packages: - -`apt list` - -- List installed packages: +- List all installed packages: -`apt list --installed` +`apt list {{[-i|--installed]}}` diff --git a/pages/linux/aptitude.md b/pages/linux/aptitude.md index 9855eab0017cba..d9e95bca690128 100644 --- a/pages/linux/aptitude.md +++ b/pages/linux/aptitude.md @@ -1,8 +1,9 @@ # aptitude > Debian and Ubuntu package management utility. +> More information: . -- Synchronize list of packages and versions available. This should be run first, before running subsequent aptitude commands: +- Synchronize list of packages and versions available. This should be run first, before running subsequent `aptitude` commands: `aptitude update` @@ -14,7 +15,7 @@ `aptitude search {{package}}` -- Search for an installed package (`?installed` is an aptitude search term): +- Search for an installed package (`?installed` is an `aptitude` search term): `aptitude search '?installed({{package}})'` @@ -22,7 +23,7 @@ `aptitude remove {{package}}` -- Upgrade installed packages to newest available versions: +- Upgrade installed packages to the newest available versions: `aptitude upgrade` diff --git a/pages/linux/apx-pkgmanagers.md b/pages/linux/apx-pkgmanagers.md new file mode 100644 index 00000000000000..585060ebfeeddf --- /dev/null +++ b/pages/linux/apx-pkgmanagers.md @@ -0,0 +1,21 @@ +# apx pkgmanagers + +> Manage package managers in `apx`. +> Note: User-created package manager configurations are stored in `~/.local/share/apx/pkgmanagers`. +> More information: . + +- Interactively create a new package manager configuration: + +`apx pkgmanagers create` + +- List all available package manager confirgurations: + +`apx pkgmanagers list` + +- Remove a package manager configuration: + +`apx pkgmanagers rm --name {{string}}` + +- Display information about a specific package manager: + +`apx pkgmanagers show {{name}}` diff --git a/pages/linux/apx-stacks.md b/pages/linux/apx-stacks.md new file mode 100644 index 00000000000000..3480d623fc835d --- /dev/null +++ b/pages/linux/apx-stacks.md @@ -0,0 +1,29 @@ +# apx stacks + +> Manage stacks in `apx`. +> Note: User-created stack configurations are stored in `~/.local/share/apx/stacks`. +> More information: . + +- Interactively create a new stack configuration: + +`apx stacks new` + +- Interactively update a stack configuration: + +`apx stacks update {{name}}` + +- List all available stack configurations: + +`apx stacks list` + +- Remove a specified stack configuration: + +`apx stacks rm --name {{string}}` + +- Import a stack configuration: + +`apx stacks import --input {{path/to/stack.yml}}` + +- Export the stack configuration (Note: The output flag is optional, it is exported to the current working directory by default): + +`apx stacks export --name {{string}} --output {{path/to/output_file}}` diff --git a/pages/linux/apx-subsystems.md b/pages/linux/apx-subsystems.md new file mode 100644 index 00000000000000..4546b8d56ab644 --- /dev/null +++ b/pages/linux/apx-subsystems.md @@ -0,0 +1,29 @@ +# apx subsystems + +> Manage subsystems in `apx`. +> Subsystems are containers that can be created based on pre-existing stacks. +> More information: . + +- Interactively create a new subsystem: + +`apx subsystems new` + +- List all available subsystems: + +`apx subsystems list` + +- Reset a specific subsystem to its initial state: + +`apx subsystems reset {{[-n|--name]}} {{string}}` + +- Force reset a specific subsystem: + +`apx subsystems reset {{[-n|--name]}} {{string}} {{[-f|--force]}}` + +- Remove a specific subsystem: + +`apx subsystems rm {{[-n|--name]}} {{string}}` + +- Force remove a specific subsystem: + +`apx subsystems rm {{[-n|--name]}} {{string}} {{[-f|--force]}}` diff --git a/pages/linux/apx.md b/pages/linux/apx.md new file mode 100644 index 00000000000000..f2ff5861eb4803 --- /dev/null +++ b/pages/linux/apx.md @@ -0,0 +1,16 @@ +# apx + +> Package management utility with support for multiple sources, allowing you to install packages in subsystems. +> More information: . + +- View documentation for managing package managers: + +`tldr apx pkgmanagers` + +- View documentation for managing stacks: + +`tldr apx stacks` + +- View documentation for managing subsystems: + +`tldr apx subsystems` diff --git a/pages/linux/arch-chroot.md b/pages/linux/arch-chroot.md new file mode 100644 index 00000000000000..bfee7a86fbe524 --- /dev/null +++ b/pages/linux/arch-chroot.md @@ -0,0 +1,20 @@ +# arch-chroot + +> Enhanced `chroot` command to help in the Arch Linux installation process. +> More information: . + +- Start an interactive shell (Bash, by default) in a new root directory: + +`arch-chroot {{path/to/new/root}}` + +- Specify the user (other than the current user) to run the shell as: + +`arch-chroot -u {{user}} {{path/to/new/root}}` + +- Run a custom command (instead of the default Bash) in the new root directory: + +`arch-chroot {{path/to/new/root}} {{command}} {{command_arguments}}` + +- Specify the shell, other than the default Bash (in this case, the `zsh` package should have been installed in the target system): + +`arch-chroot {{path/to/new/root}} {{zsh}}` diff --git a/pages/linux/archey.md b/pages/linux/archey.md index 297fcc661d1665..f51a842bdfa402 100644 --- a/pages/linux/archey.md +++ b/pages/linux/archey.md @@ -1,6 +1,7 @@ # archey > Simple tool for stylishly displaying system information. +> More information: . - Show system information: diff --git a/pages/linux/archinstall.md b/pages/linux/archinstall.md new file mode 100644 index 00000000000000..339954ab68d1e6 --- /dev/null +++ b/pages/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> Guided Arch Linux installer with a twist. +> More information: . + +- Start the interactive installer: + +`archinstall` + +- Start a preset installer: + +`archinstall {{minimal|unattended}}` diff --git a/pages/linux/archivemount.md b/pages/linux/archivemount.md new file mode 100644 index 00000000000000..38afe7cc6c0da0 --- /dev/null +++ b/pages/linux/archivemount.md @@ -0,0 +1,8 @@ +# archivemount + +> Mount an archive for access as a filesystem. +> More information: . + +- Mount an archive to a specific mountpoint: + +`archivemount {{path/to/archive}} {{path/to/mount_point}}` diff --git a/pages/linux/archlinux-java.md b/pages/linux/archlinux-java.md index 717e10fbace919..cb5f4f988cba9d 100644 --- a/pages/linux/archlinux-java.md +++ b/pages/linux/archlinux-java.md @@ -1,12 +1,16 @@ # archlinux-java -> A helper script that provides functionalities for Java environments. -> More information: . +> Switch between installed Java environments. +> More information: . - List installed Java environments: `archlinux-java status` +- Return the short name of the current default Java environment: + +`archlinux-java get` + - Set the default Java environment: `archlinux-java set {{java_environment}}` @@ -15,6 +19,6 @@ `archlinux-java unset` -- Set the default Java environment automatically: +- Fix an invalid/broken default Java environment configuration: `archlinux-java fix` diff --git a/pages/linux/arecord.md b/pages/linux/arecord.md index 59f4f1511296d3..ed5468b9089234 100644 --- a/pages/linux/arecord.md +++ b/pages/linux/arecord.md @@ -1,24 +1,28 @@ # arecord > Sound recorder for ALSA soundcard driver. -> More information: . +> More information: . -- Record a snippet in "CD" quality (finish with Ctrl-C when done): +- Record a snippet in "CD" quality (finish with `` when done): -`arecord -vv --format=cd {{path/to/file.wav}}` +`arecord {{[-vv|--verbose --verbose]}} {{[-f|--format]}} cd {{path/to/file.wav}}` - Record a snippet in "CD" quality, with a fixed duration of 10 seconds: -`arecord -vv --format=cd --duration={{10}} {{path/to/file.wav}}` +`arecord {{[-vv|--verbose --verbose]}} {{[-f|--format]}} cd {{[-d|--duration]}} {{10}} {{path/to/file.wav}}` -- Record a snippet and save it as mp3 (finish with Ctrl-C when done): +- Record a snippet and save it as an MP3 (finish with `` when done): -`arecord -vv --format=cd --file-type raw | lame -r - {{path/to/file.mp3}}` +`arecord {{[-vv|--verbose --verbose]}} {{[-f|--format]}} cd {{[-t|--file-type]}} raw | lame -r - {{path/to/file.mp3}}` - List all sound cards and digital audio devices: -`arecord --list-devices` +`arecord {{[-l|--list-devices]}}` -- Allow interactive interface (e.g. use space-bar or enter to play or pause): +- Allow interactive interface (e.g. use `` or `` to play or pause): -`arecord --interactive` +`arecord {{[-i|--interactive]}}` + +- Test your microphone by recording a 5 second sample and playing it back: + +`arecord {{[-d|--duration]}} 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav` diff --git a/pages/linux/arithmetic.md b/pages/linux/arithmetic.md index 001c31fcd521a2..2cdd0bcdcefd0b 100644 --- a/pages/linux/arithmetic.md +++ b/pages/linux/arithmetic.md @@ -1,7 +1,7 @@ # arithmetic > Quiz on simple arithmetic problems. -> More information: . +> More information: . - Start an arithmetic quiz: diff --git a/pages/linux/ark.md b/pages/linux/ark.md index 8bf5b62e952830..2787f8c16d17c9 100644 --- a/pages/linux/ark.md +++ b/pages/linux/ark.md @@ -1,16 +1,16 @@ # ark -> KDE archiving tool. -> More information: . +> KDE's archiving tool. +> More information: . -- Extract an archive into the current directory: +- Extract a specific archive into the current directory: -`ark --batch {{archive}}` +`ark {{[-b|--batch]}} {{path/to/archive}}` -- Change extraction directory: +- Extract an archive into a specific directory: -`ark --batch --destination {{path/to/directory}} {{archive}}` +`ark {{[-b|--batch]}} {{[-o|--destination]}} {{path/to/directory}} {{path/to/archive}}` -- Create an archive if it does not exist and add files to it: +- Create an archive if it does not exist and add specific files to it: -`ark --add-to {{archive}} {{file1}} {{file2}}` +`ark {{[-t|--add-to]}} {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/linux/arp-scan.md b/pages/linux/arp-scan.md deleted file mode 100644 index 6458744eb126d9..00000000000000 --- a/pages/linux/arp-scan.md +++ /dev/null @@ -1,19 +0,0 @@ -# arp-scan - -> Send ARP packets to hosts (specified as IP addresses or hostnames) to scan the local network. - -- Scan the current local network: - -`arp-scan --localnet` - -- Scan an IP network with a custom bitmask: - -`arp-scan {{192.168.1.1}}/{{24}}` - -- Scan an IP network within a custom range: - -`arp-scan {{127.0.0.0}}-{{127.0.0.31}}` - -- Scan an IP network with a custom net mask: - -`arp-scan {{10.0.0.0}}:{{255.255.255.0}}` diff --git a/pages/linux/arpaname.md b/pages/linux/arpaname.md new file mode 100644 index 00000000000000..315b2586e1e36a --- /dev/null +++ b/pages/linux/arpaname.md @@ -0,0 +1,8 @@ +# arpaname + +> Get the corresponding ARPA name for a IP addresses. +> More information: . + +- Translate IP addresses (IPv4 and IPv6) to the corresponding ARPA name: + +`arpaname {{ip_address}}` diff --git a/pages/linux/arpspoof.md b/pages/linux/arpspoof.md new file mode 100644 index 00000000000000..2b429c8159326c --- /dev/null +++ b/pages/linux/arpspoof.md @@ -0,0 +1,16 @@ +# arpspoof + +> Forge ARP replies to intercept packets. +> More information: . + +- Poison all hosts to intercept packets on [i]nterface for the host: + +`sudo arpspoof -i {{wlan0}} {{host_ip}}` + +- Poison [t]arget to intercept packets on [i]nterface for the host: + +`sudo arpspoof -i {{wlan0}} -t {{target_ip}} {{host_ip}}` + +- Poison both [t]arget and host to intercept packets on [i]nterface for the host: + +`sudo arpspoof -i {{wlan0}} -r -t {{target_ip}} {{host_ip}}` diff --git a/pages/linux/arptables.md b/pages/linux/arptables.md new file mode 100644 index 00000000000000..73f6a0160322d5 --- /dev/null +++ b/pages/linux/arptables.md @@ -0,0 +1,29 @@ +# arptables + +> Manage ARP filtering rules using the `nftables` backend. +> Part of the `xtables-nft` suite for ARP packet filtering. +> More information: . + +- List all ARP rules in the filter table: + +`sudo arptables {{[-L|--list]}}` + +- Append a rule to drop ARP packets from a specific IP address: + +`sudo arptables {{[-A|--append]}} INPUT {{[-s|--source-ip]}} {{192.168.0.1}} {{[-j|--jump]}} DROP` + +- Delete a specific rule from the INPUT chain by its rule number: + +`sudo arptables {{[-D|--delete]}} INPUT {{rule_number}}` + +- Flush all rules in the filter table: + +`sudo arptables {{[-F|--flush]}}` + +- Set the default policy of the OUTPUT chain to ACCEPT: + +`sudo arptables {{[-P|--policy]}} OUTPUT ACCEPT` + +- Save the current ARP rules to a file: + +`sudo arptables-save > {{path/to/file}}` diff --git a/pages/linux/as.md b/pages/linux/as.md index 683f797c244fae..105ea33b39b8f8 100644 --- a/pages/linux/as.md +++ b/pages/linux/as.md @@ -2,19 +2,20 @@ > Portable GNU assembler. > Primarily intended to assemble output from `gcc` to be used by `ld`. +> More information: . -- Assemble a file, writing the output to a.out: +- Assemble a file, writing the output to `a.out`: -`as {{file.s}}` +`as {{path/to/file.s}}` - Assemble the output to a given file: -`as {{file.s}} -o {{out.o}}` +`as {{path/to/file.s}} -o {{path/to/output_file.o}}` - Generate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers): -`as -f {{file.s}}` +`as -f {{path/to/file.s}}` -- Include a given path to the list of directories to search for files specified in .include directives: +- Include a given path to the list of directories to search for files specified in `.include` directives: -`as -I {{path/to/directory}} {{file.s}}` +`as -I {{path/to/directory}} {{path/to/file.s}}` diff --git a/pages/linux/ascii.md b/pages/linux/ascii.md index 0bff158949b504..44e59cb673a932 100644 --- a/pages/linux/ascii.md +++ b/pages/linux/ascii.md @@ -1,7 +1,7 @@ # ascii > Show ASCII character aliases. -> More information: . +> More information: . - Show ASCII aliases of a character: diff --git a/pages/linux/asciiart.md b/pages/linux/asciiart.md index 0abe7180fd81f8..99d0f5a0289627 100644 --- a/pages/linux/asciiart.md +++ b/pages/linux/asciiart.md @@ -13,16 +13,16 @@ - Choose the output width (default is 100): -`asciiart -width {{50}} {{path/to/image.jpg}}` +`asciiart {{[-w|--width]}} {{50}} {{path/to/image.jpg}}` - Colorize the ASCII output: -`asciiart --color {{path/to/image.jpg}}` +`asciiart {{[-c|--color]}} {{path/to/image.jpg}}` - Choose the output format (default format is text): -`asciiart --format {{text|html}} {{path/to/image.jpg}}` +`asciiart {{[-f|--format]}} {{text|html}} {{path/to/image.jpg}}` - Invert the character map: -`asciiart --invert-chars {{path/to/image.jpg}}` +`asciiart {{[-i|--invert-chars]}} {{path/to/image.jpg}}` diff --git a/pages/linux/aspell.md b/pages/linux/aspell.md deleted file mode 100644 index 52375f454c2857..00000000000000 --- a/pages/linux/aspell.md +++ /dev/null @@ -1,23 +0,0 @@ -# aspell - -> Interactive spell checker. - -- Spell check a single file: - -`aspell check {{path/to/file}}` - -- List misspelled words from standard input: - -`cat {{file}} | aspell list` - -- Show available dictionary languages: - -`aspell dicts` - -- Run aspell with different language (takes two letter ISO 639 language code): - -`aspell --lang={{cs}}` - -- List misspelled words from standard input and ignore words from personal word list: - -`cat {{file}} | aspell --personal={{personal-word-list.pws}} {{list}}` diff --git a/pages/linux/asterisk.md b/pages/linux/asterisk.md index 1362bb3491e009..bf7ef9d28099bc 100644 --- a/pages/linux/asterisk.md +++ b/pages/linux/asterisk.md @@ -1,14 +1,13 @@ # asterisk -> Telephone and exchange (phone) server. -> Used for running the server itself, and managing an already running instance. -> More information: . +> Run and manage telephone and exchange (phone) server instances. +> More information: . -- [R]econnect to a running server, and turn on logging 3 levels of [v]erbosity: +- [r]econnect to a running server, and turn on logging 3 levels of [v]erbosity: `asterisk -r -vvv` -- [R]econnect to a running server, run a single command, and return: +- [r]econnect to a running server, run a single command, and return: `asterisk -r -x "{{command}}"` diff --git a/pages/linux/at.md b/pages/linux/at.md index b75ee9b6d4a1ae..766030dbdbb79b 100644 --- a/pages/linux/at.md +++ b/pages/linux/at.md @@ -1,19 +1,33 @@ # at -> Executes commands at a specified time. +> Execute commands once at a later time. +> Results will be sent to the users mail. +> More information: . -- Open an `at` prompt to create a new set of scheduled commands, press `Ctrl + D` to save and exit: +- Start the `atd` daemon: + +`systemctl start atd` + +- Create commands interactively and execute them in 5 minutes (press `` when done): + +`at now + 5 minutes` + +- Create commands interactively and execute them at a specific time: `at {{hh:mm}}` -- Execute the commands and email the result using a local mailing program such as sendmail: +- Execute a command from `stdin` at 10:00 AM today: + +`echo "{{command}}" | at 1000` + +- Execute commands from a given file next Tuesday: -`at {{hh:mm}} -m` +`at -f {{path/to/file}} 9:30 PM Tue` -- Execute a script at the given time: +- List all queued jobs for the current user (same as `atq`): -`at {{hh:mm}} -f {{path/to/file}}` +`at -l` -- Display a system notification at 11pm on February 18th: +- View a specied job: -`echo "notify-send '{{Wake up!}}'" | at {{11pm}} {{Feb 18}}` +`at -c {{job_number}}` diff --git a/pages/linux/atop.md b/pages/linux/atop.md new file mode 100644 index 00000000000000..84e6f58317acb6 --- /dev/null +++ b/pages/linux/atop.md @@ -0,0 +1,33 @@ +# atop + +> Linux system and process monitor. +> See also: `htop`, `top`, `btop`, `btm`, `glances`. +> More information: . + +- Start: + +`atop` + +- Start and display memory consumption for each process: + +`atop -m` + +- Start and display disk information: + +`atop -d` + +- Start and display background process information: + +`atop -c` + +- Start and display thread-specific resource utilization information: + +`atop -y` + +- Start and display the number of processes for each user: + +`atop -au` + +- Display help about interactive commands: + +`` diff --git a/pages/linux/audit2allow.md b/pages/linux/audit2allow.md new file mode 100644 index 00000000000000..5d5d9b2c8d2d52 --- /dev/null +++ b/pages/linux/audit2allow.md @@ -0,0 +1,38 @@ +# audit2allow + +> Generate SELinux policy allow rules from audit logs. +> Part of the `policycoreutils-python-utils` package. +> See also: `audit2why`, `ausearch`, `semodule`. +> More information: . + +- Generate allow rules from recent audit denials and display them: + +`sudo audit2allow {{[-a|--all]}}` + +- Generate allow rules from a specific audit log file: + +`sudo audit2allow {{[-i|--input]}} {{path/to/audit.log}}` + +- Generate a policy module from recent audit denials: + +`sudo audit2allow {{[-a|--all]}} {{[-M|--module]}} {{module_name}}` + +- Explain why SELinux denials occurred (same as `audit2why`): + +`sudo audit2allow {{[-a|--all]}} --why` + +- Display detailed information around generated messages: + +`sudo audit2allow {{[-a|--all]}} {{[-e|--explain]}}` + +- Use installed macros to generate a reference policy: + +`sudo audit2allow {{[-a|--all]}} {{[-R|--reference]}}` + +- Generate allow rules for a specific service: + +`sudo ausearch {{[-m|--message]}} avc {{[-c|--comm]}} {{service_name}} | audit2allow {{[-M|--module]}} {{policy_name}}` + +- Enable verbose output mode: + +`sudo audit2allow {{[-a|--all]}} {{[-v|--verbose]}}` diff --git a/pages/linux/audit2why.md b/pages/linux/audit2why.md new file mode 100644 index 00000000000000..7d24a9fcc4a003 --- /dev/null +++ b/pages/linux/audit2why.md @@ -0,0 +1,22 @@ +# audit2why + +> Explain SELinux denials from audit logs. +> Part of the `policycoreutils-python-utils` package. +> See also: `audit2allow`, `ausearch`, `sealert`. +> More information: . + +- Explain the most recent SELinux denial: + +`sudo audit2why` + +- Explain SELinux denials from a specific audit log file: + +`sudo audit2why {{[-i|--input]}} {{path/to/audit.log}}` + +- Explain all SELinux denials from the audit log: + +`sudo ausearch {{[-m|--message]}} avc | audit2why` + +- Explain denials for a specific service: + +`sudo ausearch {{[-m|--message]}} avc {{[-c|--comm]}} {{service_name}} | audit2why` diff --git a/pages/linux/auditctl.md b/pages/linux/auditctl.md new file mode 100644 index 00000000000000..a1a4b7ac4fb5fc --- /dev/null +++ b/pages/linux/auditctl.md @@ -0,0 +1,32 @@ +# auditctl + +> Utility to control the behavior, get status and manage rules of the Linux Auditing System. +> More information: . + +- Display the [s]tatus of the audit system: + +`sudo auditctl -s` + +- [l]ist all currently loaded audit rules: + +`sudo auditctl -l` + +- [D]elete all audit rules: + +`sudo auditctl -D` + +- [e]nable/disable the audit system: + +`sudo auditctl -e {{1|0}}` + +- Watch a file for changes: + +`sudo auditctl -a always,exit -F arch=b64 -F path=/{{path/to/file}} -F perm=wa` + +- Recursively watch a directory for changes: + +`sudo auditctl -a always,exit -F arch=b64 -F dir=/{{path/to/directory}}/ -F perm=wa` + +- Display [h]elp: + +`auditctl -h` diff --git a/pages/linux/aur-sync.md b/pages/linux/aur-sync.md new file mode 100644 index 00000000000000..91fac85cc03c84 --- /dev/null +++ b/pages/linux/aur-sync.md @@ -0,0 +1,25 @@ +# aur sync + +> Download and build AUR packages automatically. +> Note: A local repository needs to be defined in `/etc/pacman.conf` and `vifm` needs to be installed for this to fully function. +> More information: . + +- Download one or more packages and their dependencies from the AUR, build them, and add them to a local repository: + +`aur sync {{package1 package2 ...}}` + +- Upgrade local repository packages: + +`aur sync {{[-u|--upgrades]}}` + +- Clean build files after install: + +`aur sync {{[-C|--clean]}} {{package}}` + +- Install a package without viewing changes in Vim and do not confirm dependency installation: + +`aur sync --noview {{[-n|--noconfirm]}} {{package}}` + +- Ignore specific packages when upgrading: + +`aur sync {{[-u|--upgrades]}} --ignore {{package1,package2,...}}` diff --git a/pages/linux/aur.md b/pages/linux/aur.md new file mode 100644 index 00000000000000..bfaaf11c2b4ea1 --- /dev/null +++ b/pages/linux/aur.md @@ -0,0 +1,37 @@ +# aur + +> Build packages from the AUR and manage local repositories. +> Note: A local repository needs to be defined in `/etc/pacman.conf` and `vifm` needs to be installed for this to fully function. +> More information: . + +- Initialize the repository that matches the path in `/etc/pacman.conf`: + +`repo-add {{path/to/database.db.tar.gz}}` + +- Search the AUR database for a package: + +`aur search {{keyword}}` + +- Download one or more packages and their dependencies from the AUR, build them, and add them to a local repository: + +`aur sync {{package1 package2 ...}}` + +- List packages available in your local repository: + +`aur repo {{[-l|--list]}}` + +- Upgrade local repository packages: + +`aur sync {{[-u|--upgrades]}}` + +- Clean build files after install: + +`aur sync {{[-C|--clean]}} {{package}}` + +- Install a package without viewing changes in Vim and do not confirm dependency installation: + +`aur sync --noview {{[-n|--noconfirm]}} {{package}}` + +- Remove a package form the repository metadata (does not remove the package file itself): + +`repo-remove {{path/to/database.db.tar.gz}} {{package}}` diff --git a/pages/linux/aura.md b/pages/linux/aura.md new file mode 100644 index 00000000000000..b1ff550aa5c350 --- /dev/null +++ b/pages/linux/aura.md @@ -0,0 +1,36 @@ +# aura + +> The Aura Package Manager: a secure, multilingual package manager for Arch Linux and the AUR. +> More information: . + +- Search for packages from the official repositories and AUR: + +`aura --aursync --both --search {{keyword|regex}}` + +- Install a package from the AUR: + +`aura --aursync {{package}}` + +- Update all AUR packages in a verbose mode and remove all make dependencies: + +`aura --aursync --diff --sysupgrade --delmakedeps --unsuppress` + +- Install a package from the official repositories: + +`aura --sync {{package}}` + +- Synchronize and update all packages from the official repositories: + +`aura --sync --refresh --sysupgrade` + +- Downgrade a package using the package cache: + +`aura --downgrade {{package}}` + +- Remove a package and its dependencies: + +`aura --remove --recursive --unneeded {{package}}` + +- Remove orphan packages (installed as dependencies but not required by any package): + +`aura --orphans --abandon` diff --git a/pages/linux/auracle.md b/pages/linux/auracle.md index 5f9cb22e1ce963..3c3d4389ba19bd 100644 --- a/pages/linux/auracle.md +++ b/pages/linux/auracle.md @@ -1,19 +1,19 @@ # auracle -> Command line tool used to interact with Arch Linux's User Repository, commonly referred to as the AUR. +> Interact with Arch Linux's User Repository, commonly referred to as the AUR. > More information: . -- Display AUR packages that match a regular expression: +- Display AUR packages that match a `regex`: `auracle search '{{regex}}'` -- Display package information for a space-separated list of AUR packages: +- Display information about one or more AUR packages: -`auracle info {{package1}} {{package2}}` +`auracle info {{package1 package2 ...}}` -- Display the `PKGBUILD` file (build information) for a space-separated list of AUR packages: +- Display the `PKGBUILD` file (build information) of one or more AUR packages: -`auracle show {{package1}} {{package2}}` +`auracle show {{package1 package2 ...}}` - Display updates for installed AUR packages: diff --git a/pages/linux/aurman.md b/pages/linux/aurman.md new file mode 100644 index 00000000000000..35cb21840eeadd --- /dev/null +++ b/pages/linux/aurman.md @@ -0,0 +1,37 @@ +# aurman + +> An Arch Linux utility to build and install packages from the Arch User Repository. +> See also: `pacman`. +> More information: . + +- Synchronize and update all packages: + +`aurman {{[-S|--sync]}} {{[-y|--refresh]}} {{[-u|--sysupgrade]}}` + +- Synchronize and update all packages without show changes of `PKGBUILD` files: + +`aurman {{[-S|--sync]}} {{[-y|--refresh]}} {{[-u|--sysupgrade]}} --noedit` + +- Install a new package: + +`aurman {{[-S|--sync]}} {{package}}` + +- Install a new package without show changes of `PKGBUILD` files: + +`aurman {{[-S|--sync]}} --noedit {{package}}` + +- Install a new package without prompting: + +`aurman {{[-S|--sync]}} --noedit --noconfirm {{package}}` + +- Search the package database for a keyword from the official repositories and AUR: + +`aurman {{[-S|--sync]}} {{[-s|--search]}} {{keyword}}` + +- Remove a package and its dependencies: + +`aurman --remove --recursive --nosave {{package}}` + +- Clear the package cache (use two `--clean` flags to clean all packages): + +`aurman {{[-S|--sync]}} {{[-c|--clean]}}` diff --git a/pages/linux/aurpublish.md b/pages/linux/aurpublish.md new file mode 100644 index 00000000000000..95159ac900cf72 --- /dev/null +++ b/pages/linux/aurpublish.md @@ -0,0 +1,16 @@ +# aurpublish + +> Publish Arch User Repository packages. +> More information: . + +- Verify `PKGBUILD` integrity, generate `.SRCINFO`, create a commit message template, and publish the package to the AUR: + +`aurpublish {{package_name}}` + +- Add githooks to the current repository: + +`aurpublish setup` + +- Display help: + +`aurpublish {{[-h|--help]}}` diff --git a/pages/linux/aurvote.md b/pages/linux/aurvote.md new file mode 100644 index 00000000000000..f57eb37d8a61e1 --- /dev/null +++ b/pages/linux/aurvote.md @@ -0,0 +1,25 @@ +# aurvote + +> Vote for packages in the Arch User Repository. +> To be able to vote, the file `~/.config/aurvote` must exist and contain your AUR credentials. +> More information: . + +- Interactively create the file `~/.config/aurvote` containing your AUR username and password: + +`aurvote --configure` + +- Vote for one or more AUR packages: + +`aurvote {{package1 package2 ...}}` + +- Unvote one or more AUR packages: + +`aurvote {{[-u|--unvote]}} {{package1 package2 ...}}` + +- Check if one or more AUR packages have already been voted: + +`aurvote {{[-c|--check]}} {{package1 package2 ...}}` + +- Display help: + +`aurvote {{[-h|--help]}}` diff --git a/pages/linux/ausearch.md b/pages/linux/ausearch.md new file mode 100644 index 00000000000000..a7d0523859206f --- /dev/null +++ b/pages/linux/ausearch.md @@ -0,0 +1,34 @@ +# ausearch + +> Query the Linux audit log for events. +> Part of the `audit` package. +> See also: `audit2why`, `audit2allow`, `aureport`. +> More information: . + +- Search for all SELinux AVC denial events: + +`sudo ausearch {{[-m|--message]}} avc` + +- Search for events related to a specific executable: + +`sudo ausearch {{[-c|--comm]}} {{httpd}}` + +- Search for events from a specific user: + +`sudo ausearch {{[-ui|--uid]}} {{1000}}` + +- Search for events in the last 10 minutes: + +`sudo ausearch {{[-ts|--start]}} recent` + +- Search for failed login attempts: + +`sudo ausearch {{[-m|--message]}} user_login {{[-sv|--success]}} no` + +- Search for events related to a specific file: + +`sudo ausearch {{[-f|--file]}} {{path/to/file}}` + +- Display results in raw format for further processing: + +`sudo ausearch {{[-m|--message]}} avc --raw` diff --git a/pages/linux/ausyscall.md b/pages/linux/ausyscall.md new file mode 100644 index 00000000000000..d577f1bbbf7ccf --- /dev/null +++ b/pages/linux/ausyscall.md @@ -0,0 +1,16 @@ +# ausyscall + +> Map syscall names and numbers. +> More information: . + +- Display syscall number of a specific system call: + +`ausyscall {{search_pattern}}` + +- Display name of a specific system call number: + +`ausyscall {{system_call_number}}` + +- Display all system calls for a specific architecture: + +`ausyscall {{architecture}} --dump` diff --git a/pages/linux/authconfig.md b/pages/linux/authconfig.md index 90ff080600ce9a..8351a62aaaa729 100644 --- a/pages/linux/authconfig.md +++ b/pages/linux/authconfig.md @@ -1,6 +1,7 @@ # authconfig -> A CLI interface for configuring system authentication resources. +> Configure system authentication resources. +> More information: . - Display the current configuration (or dry run): diff --git a/pages/linux/auto-cpufreq.md b/pages/linux/auto-cpufreq.md new file mode 100644 index 00000000000000..80fd9994bc029f --- /dev/null +++ b/pages/linux/auto-cpufreq.md @@ -0,0 +1,8 @@ +# auto-cpufreq + +> Automatic CPU speed & power optimizer. +> More information: . + +- Run `auto-cpufreq` in a specific mode: + +`sudo auto-cpufreq --{{monitor|live|update|remove|stats|force=governor}}` diff --git a/pages/linux/autopkgtest.md b/pages/linux/autopkgtest.md new file mode 100644 index 00000000000000..3f0c02ea391199 --- /dev/null +++ b/pages/linux/autopkgtest.md @@ -0,0 +1,24 @@ +# autopkgtest + +> Run tests on Debian packages. +> More information: . + +- Build the package in the current directory and run all tests directly on the system: + +`autopkgtest -- {{null}}` + +- Run a specific test for the package in the current directory: + +`autopkgtest --test-name={{test_name}} -- {{null}}` + +- Download and build a specific package with `apt-get`, then run all tests: + +`autopkgtest {{package}} -- {{null}}` + +- Test the package in the current directory using a new root directory: + +`autopkgtest -- {{chroot}} {{path/to/new/root}}` + +- Test the package in the current directory without rebuilding it: + +`autopkgtest {{[-B|--no-built-binaries]}} -- {{null}}` diff --git a/pages/linux/autorandr.md b/pages/linux/autorandr.md index 106fca3dde272f..1f28e27237c465 100644 --- a/pages/linux/autorandr.md +++ b/pages/linux/autorandr.md @@ -1,19 +1,24 @@ # autorandr > Automatically change screen layout. +> More information: . - Save the current screen layout: -`autorandr -s {{profile_name}}` +`autorandr {{[-s|--save]}} {{profile_name}}` - Show the saved profiles: `autorandr` -- Change the profile: +- Load the first detected profile: -`autorandr -l {{profile_name}}` +`autorandr {{[-c|--change]}}` + +- Load a specific profile: + +`autorandr {{[-l|--load]}} {{profile_name}}` - Set the default profile: -`autorandr -d {{profile_name}}` +`autorandr {{[-d|--default]}} {{profile_name}}` diff --git a/pages/linux/autorecon.md b/pages/linux/autorecon.md new file mode 100644 index 00000000000000..497a36cefba411 --- /dev/null +++ b/pages/linux/autorecon.md @@ -0,0 +1,20 @@ +# autorecon + +> A multi-threaded network reconnaissance tool which performs automated enumeration of services. +> More information: . + +- Perform reconnaissance on target host(s) (detailed scan results will be dumped in `./results`): + +`sudo autorecon {{host_or_ip1,host_or_ip2,...}}` + +- Perform reconnaissance on target(s) from a file: + +`sudo autorecon {{[-t|--target-file]}} {{path/to/file}}` + +- Output results to a different directory: + +`sudo autorecon {{[-o|--output]}} {{path/to/results}} {{host_or_ip1,host_or_ip2,...}}` + +- Limit scanning to specific ports and protocols (`T` for TCP, `U` for UDP, `B` for both): + +`sudo autorecon {{[-p|--ports]}} {{T:21-25,80,443,U:53,B:123}} {{host_or_ip1,host_or_ip2,...}}` diff --git a/pages/linux/avahi-browse.md b/pages/linux/avahi-browse.md index f220f6d0feb3dc..57b6557ffc0316 100644 --- a/pages/linux/avahi-browse.md +++ b/pages/linux/avahi-browse.md @@ -1,17 +1,21 @@ # avahi-browse -> Displays services and hosts exposed on the local network via mDNS/DNS-SD. +> Display services and hosts exposed on the local network via mDNS/DNS-SD. > Avahi is compatible with Bonjour (Zeroconf) found in Apple devices. -> More information: . +> More information: . -- List all services available on the local network along with their addresses and ports while ignoring local ones: +- List services available on the local network along with their addresses and ports, ignoring ones on the local machine: -`avahi-browse --all --resolve --ignore-local` +`avahi-browse {{[-a|--all]}} {{[-r|--resolve]}} {{[-l|--ignore-local]}}` -- List all domains: +- Quickly list services in the local network in SSV format for scripts: -`avahi-browse --browse-domains` +`avahi-browse {{[-a|--all]}} {{[-t|--terminate]}} {{[-p|--parsable]}}` + +- List domains in the neighbourhood: + +`avahi-browse {{[-D|--browse-domains]}}` - Limit the search to a particular domain: -`avahi-browse --all --domain={{domain}}` +`avahi-browse {{[-a|--all]}} --domain={{domain}}` diff --git a/pages/linux/avahi-resolve-address.md b/pages/linux/avahi-resolve-address.md new file mode 100644 index 00000000000000..c99f8689bb7042 --- /dev/null +++ b/pages/linux/avahi-resolve-address.md @@ -0,0 +1,7 @@ +# avahi-resolve-address + +> This command is an alias of `avahi-resolve --address`. + +- View documentation for the original command: + +`tldr avahi-resolve` diff --git a/pages/linux/avahi-resolve-host-name.md b/pages/linux/avahi-resolve-host-name.md new file mode 100644 index 00000000000000..ce9d03b612c454 --- /dev/null +++ b/pages/linux/avahi-resolve-host-name.md @@ -0,0 +1,7 @@ +# avahi-resolve-host-name + +> This command is an alias of `avahi-resolve --name`. + +- View documentation for the original command: + +`tldr avahi-resolve` diff --git a/pages/linux/avahi-resolve.md b/pages/linux/avahi-resolve.md new file mode 100644 index 00000000000000..cae78fa1949eb9 --- /dev/null +++ b/pages/linux/avahi-resolve.md @@ -0,0 +1,12 @@ +# avahi-resolve + +> Translate between host names and IP Addresses. +> More information: . + +- Resolve a local service to its IPv4: + +`avahi-resolve -4 {{[-n|--name]}} {{service.local}}` + +- Resolve an IP to a hostname, verbosely: + +`avahi-resolve {{[-v|--verbose]}} {{[-a|--address]}} {{IP}}` diff --git a/pages/linux/avifenc.md b/pages/linux/avifenc.md new file mode 100644 index 00000000000000..d95c86b1031e17 --- /dev/null +++ b/pages/linux/avifenc.md @@ -0,0 +1,12 @@ +# avifenc + +> AV1 Image File Format (AVIF) encoder. +> More information: . + +- Convert a specific PNG image to AVIF: + +`avifenc {{path/to/input.png}} {{path/to/output.avif}}` + +- Encode with a specific speed (6=default, 0=slowest and 10=fastest): + +`avifenc --speed {{2}} {{path/to/input.png}} {{path/to/output.avif}}` diff --git a/pages/linux/away.md b/pages/linux/away.md new file mode 100644 index 00000000000000..0099074a78774a --- /dev/null +++ b/pages/linux/away.md @@ -0,0 +1,36 @@ +# away + +> Locks terminal with an away message. +> More information: . + +- Lock terminal and set away message: + +`away {{message}}` + +- Lock terminal and enable mail check: + +`away {{[-c|--mail]}} {{message}}` + +- Lock terminal and disable mail check: + +`away {{[-C|--nomail]}} {{message}}` + +- Lock terminal and sleep background tasks for number of seconds: + +`away {{[-t|--time]}} {{seconds}} {{message}}` + +- Lock terminal and check mail if at least one inbox hasn't received new mail: + +`away {{[-p|--persist]}} {{message}}` + +- Lock terminal and check mail until at least one inbox has received new mail: + +`away {{[-P|--nopersist]}} {{message}}` + +- Display help: + +`away {{[-h|--help]}}` + +- Display version: + +`away {{[-v|--version]}}` diff --git a/pages/linux/backlight_control.md b/pages/linux/backlight_control.md new file mode 100644 index 00000000000000..fe312ec34cf07c --- /dev/null +++ b/pages/linux/backlight_control.md @@ -0,0 +1,16 @@ +# backlight_control + +> Control a linux machine's backlight using percentage values. +> More information: . + +- Increase/decrease the backlight by a specific percent count: + +`backlight_control {{+|-}}{{5}}` + +- Set the backlight strength to a specific percent count: + +`backlight_control {{90}}` + +- Display help: + +`backlight_control` diff --git a/pages/linux/balooctl.md b/pages/linux/balooctl.md new file mode 100644 index 00000000000000..221385126e42ba --- /dev/null +++ b/pages/linux/balooctl.md @@ -0,0 +1,36 @@ +# balooctl + +> File indexing and searching framework for KDE Plasma. +> More information: . + +- Display the status of the indexer: + +`balooctl status` + +- Enable/Disable the file indexer: + +`balooctl {{enable|disable}}` + +- Clean the index database: + +`balooctl purge` + +- Suspend the file indexer: + +`balooctl suspend` + +- Resume the file indexer: + +`balooctl resume` + +- Display the disk space used by Baloo: + +`balooctl indexSize` + +- Check for any unindexed files and index them: + +`balooctl check` + +- Display help: + +`balooctl {{[-h|--help]}}` diff --git a/pages/linux/batcat.md b/pages/linux/batcat.md new file mode 100644 index 00000000000000..dd046035aa6e89 --- /dev/null +++ b/pages/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> This command is an alias of `bat`. + +- View documentation for the original command: + +`tldr bat` diff --git a/pages/linux/batch.md b/pages/linux/batch.md new file mode 100644 index 00000000000000..427b465f50b91d --- /dev/null +++ b/pages/linux/batch.md @@ -0,0 +1,18 @@ +# batch + +> Execute commands at a later time when the system load levels permit. +> Results will be sent to the user's mail. +> See also: `at`, `atq`, `atrm` `mail`. +> More information: . + +- Start the `atd` daemon: + +`systemctl start atd` + +- Execute commands from `stdin` (press `` when done): + +`batch` + +- Execute a command from `stdin`: + +`echo "{{./make_db_backup.sh}}" | batch` diff --git a/pages/linux/battop.md b/pages/linux/battop.md new file mode 100644 index 00000000000000..42220aab98f62f --- /dev/null +++ b/pages/linux/battop.md @@ -0,0 +1,12 @@ +# battop + +> An interactive viewer for the batteries installed in your notebook. +> More information: . + +- Display battery information: + +`battop` + +- Change battery information measurement [u]nit (default: human): + +`battop -u {{human|si}}` diff --git a/pages/linux/bcachefs-device.md b/pages/linux/bcachefs-device.md new file mode 100644 index 00000000000000..236a3550bf7d5d --- /dev/null +++ b/pages/linux/bcachefs-device.md @@ -0,0 +1,16 @@ +# bcachefs device + +> Manage devices within a running `bcachefs` filesystem. +> More information: . + +- Format and add a new device to an existing filesystem.: + +`sudo bcachefs device add --label {{group}}.{{name}} {{path/to/mountpoint}} {{path/to/device}}` + +- Migrate data off a device to prepare for removal: + +`bcachefs device evacuate {{path/to/device}}` + +- Permanently remove a device from a filesystem: + +`bcachefs device remove {{path/to/device}}` diff --git a/pages/linux/bcachefs.md b/pages/linux/bcachefs.md new file mode 100644 index 00000000000000..0f2c86e05eba57 --- /dev/null +++ b/pages/linux/bcachefs.md @@ -0,0 +1,37 @@ +# bcachefs + +> Manage `bcachefs` filesystems/devices. +> Some subcommands such as `device` have their own usage documentation. +> More information: . + +- Format a partition with `bcachefs`: + +`sudo bcachefs format {{path/to/partition}}` + +- Mount a `bcachefs` filesystem: + +`sudo bcachefs mount {{path/to/partition}} {{path/to/mountpoint}}` + +- Create a RAID 0 filesystem where an SSD acts as a cache and an HDD acts as a long-term storage: + +`sudo bcachefs format {{[-l|--label]}} {{ssd.ssd1}} {{path/to/ssd_partition}} {{[-l|--label]}} {{hdd.hdd1}} {{path/to/hdd_partition}} --replicas 1 --foreground_target {{ssd}} --promote_target {{ssd}} --background_target {{hdd}}` + +- Mount a multidevice filesystem: + +`sudo bcachefs mount {{path/to/partition1}}:{{path/to/partition2}} {{path/to/mountpoint}}` + +- Display disk usage: + +`bcachefs fs usage {{[-h|--human-readable]}} {{path/to/mountpoint}}` + +- Set replicas after formatting and mounting: + +`sudo bcachefs set-fs-option --metadata_replicas {{2}} --data_replicas {{2}} {{path/to/partition}}` + +- Force `bcachefs` to ensure all files are replicated: + +`sudo bcachefs data rereplicate {{path/to/mountpoint}}` + +- Create a snapshot of a particular directory: + +`bcachefs subvolume snapshot {{path/to/directory}} {{path/to/snapshot}}` diff --git a/pages/linux/bchunk.md b/pages/linux/bchunk.md new file mode 100644 index 00000000000000..a2c35ad30862b0 --- /dev/null +++ b/pages/linux/bchunk.md @@ -0,0 +1,16 @@ +# bchunk + +> Convert CD images to a set of `.iso` and `.cdr` tracks. +> More information: . + +- Convert binary CD into a standard iso9960 image file: + +`bchunk {{path/to/image.bin}} {{path/to/image.cue}} {{path/to/output}}` + +- Convert with verbose mode: + +`bchunk -v {{path/to/image.bin}} {{path/to/image.cue}} {{path/to/output}}` + +- Output audio files in WAV format: + +`bchunk -w {{path/to/image.bin}} {{path/to/image.cue}} {{path/to/output}}` diff --git a/pages/linux/beep.md b/pages/linux/beep.md index bb3127b4f11568..44fc58e7869f5b 100644 --- a/pages/linux/beep.md +++ b/pages/linux/beep.md @@ -1,6 +1,7 @@ # beep > A utility to beep the PC speaker. +> More information: . - Play a beep: @@ -16,8 +17,8 @@ - Play each new frequency and duration as a distinct beep: -`beep -f {{frequency}} -l {{duration}} -n -f {{frequency}} -l {{duration}}` +`beep -f {{frequency}} -l {{duration}} {{[-n|--new]}} -f {{frequency}} -l {{duration}}` - Play the C major scale: -`beep -f 262 -n -f 294 -n -f 330 -n -f 349 -n -f 392 -n -f 440 -n -f 494 -n -f 523` +`beep -f {{262}} {{[-n|--new]}} -f {{294}} {{[-n|--new]}} -f {{330}} {{[-n|--new]}} -f {{349}} {{[-n|--new]}} -f {{392}} {{[-n|--new]}} -f {{440}} {{[-n|--new]}} -f {{494}} {{[-n|--new]}} -f {{523}}` diff --git a/pages/linux/betterdiscordctl.md b/pages/linux/betterdiscordctl.md new file mode 100644 index 00000000000000..b4c4ad495c6934 --- /dev/null +++ b/pages/linux/betterdiscordctl.md @@ -0,0 +1,24 @@ +# betterdiscordctl + +> Manage BetterDiscord on Linux. +> More information: . + +- Install BetterDiscord on Discord Stable: + +`sudo betterdiscordctl install` + +- Install BetterDiscord on Discord Canary: + +`sudo betterdiscordctl {{[-f|--d-flavors]}} canary install` + +- Install BetterDiscord on Discord PTB: + +`sudo betterdiscordctl {{[-f|--d-flavors]}} ptb install` + +- Install BetterDiscord on Discord installed with Flatpak: + +`sudo betterdiscordctl {{[-i|--d-install]}} flatpak install` + +- Install BetterDiscord on Discord installed with Snap: + +`sudo betterdiscordctl {{[-i|--d-install]}} snap install` diff --git a/pages/linux/betterlockscreen.md b/pages/linux/betterlockscreen.md index b73f44a54f5278..a6bb6612b7f048 100644 --- a/pages/linux/betterlockscreen.md +++ b/pages/linux/betterlockscreen.md @@ -1,19 +1,20 @@ # betterlockscreen > Simple, minimal lock screen. +> More information: . - Lock the screen: -`betterlockscreen --lock` +`betterlockscreen {{[-l|--lock]}}` - Change the lock screen background: -`betterlockscreen -u {{path/to/image.png}}` +`betterlockscreen {{[-u|--update]}} {{path/to/image.png}}` - Lock the screen, showing some custom text: -`betterlockscreen -l pixel -t "{{custom lock screen text}}"` +`betterlockscreen {{[-l|--lock]}} pixel --text "{{custom lock screen text}}"` - Lock the screen, with a custom monitor off timeout in seconds: -`betterlockscreen --off {{5}} -l` +`betterlockscreen --off {{5}} {{[-l|--lock]}}` diff --git a/pages/linux/bindfs.md b/pages/linux/bindfs.md new file mode 100644 index 00000000000000..c620bb1e795721 --- /dev/null +++ b/pages/linux/bindfs.md @@ -0,0 +1,16 @@ +# bindfs + +> Mount a directory elsewhere with different permissions. +> More information: . + +- Mount a directory with same permissions: + +`sudo bindfs {{path/to/directory}} {{path/to/mount_point}}` + +- Map filesystem objects owned by `user1` to be owned by `user2` (also applies in reverse to newly created files): + +`sudo bindfs --map={{user1}}/{{user2}} {{path/to/directory}} {{path/to/mount_point}}` + +- Unmount a directory: + +`sudo umount {{path/to/mount_point}}` diff --git a/pages/linux/binwalk.md b/pages/linux/binwalk.md deleted file mode 100644 index 8f59d2081699b1..00000000000000 --- a/pages/linux/binwalk.md +++ /dev/null @@ -1,28 +0,0 @@ -# binwalk - -> Firmware Analysis Tool. -> More information: . - -- Scan a binary file: - -`binwalk {{path/to/binary}}` - -- Extract files from a binary, specifying the output directory: - -`binwalk --extract --directory {{output_directory}} {{path/to/binary}}` - -- Recursively extract files from a binary limiting the recursion depth to 2: - -`binwalk --extract --matryoshka --depth {{2}} {{path/to/binary}}` - -- Extract files from a binary with the specified file signature: - -`binwalk --dd '{{png image:png}}' {{path/to/binary}}` - -- Analyze the entropy of a binary, saving the plot with the same name as the binary and `.png` extension appended: - -`binwalk --entropy --save {{path/to/binary}}` - -- Combine entropy, signature and opcodes analysis in a single command: - -`binwalk --entropy --signature --opcodes {{path/to/binary}}` diff --git a/pages/linux/bitwise.md b/pages/linux/bitwise.md index f5a92a62d85b91..e30e2c605afc91 100644 --- a/pages/linux/bitwise.md +++ b/pages/linux/bitwise.md @@ -17,4 +17,4 @@ - Convert a C-style calculation: -`bitwise "{{0x123 + 0x20 - 30 / 50}}"` +`bitwise "{{0x123 + 0x20 - 30 / 50}}"` diff --git a/pages/linux/blastn.md b/pages/linux/blastn.md new file mode 100644 index 00000000000000..551a3799564f03 --- /dev/null +++ b/pages/linux/blastn.md @@ -0,0 +1,28 @@ +# blastn + +> Nucleotide-Nucleotide BLAST. +> More information: . + +- Align two or more sequences using megablast (default), with the e-value threshold of 1e-9, pairwise output format (default): + +`blastn -query {{query.fa}} -subject {{subject.fa}} -evalue {{1e-9}}` + +- Align two or more sequences using blastn: + +`blastn -task blastn -query {{query.fa}} -subject {{subject.fa}}` + +- Align two or more sequences, custom tabular output format, output to file: + +`blastn -query {{query.fa}} -subject {{subject.fa}} -outfmt {{'6 qseqid qlen qstart qend sseqid slen sstart send bitscore evalue pident'}} -out {{output.tsv}}` + +- Search nucleotide databases using a nucleotide query, 16 threads (CPUs) to use in the BLAST search, with a maximum number of 10 aligned sequences to keep: + +`blastn -query {{query.fa}} -db {{path/to/blast_db}} -num_threads {{16}} -max_target_seqs {{10}}` + +- Search the remote non-redundant nucleotide database using a nucleotide query: + +`blastn -query {{query.fa}} -db {{nt}} -remote` + +- Display help (use `-help` for detailed help): + +`blastn -h` diff --git a/pages/linux/blastp.md b/pages/linux/blastp.md new file mode 100644 index 00000000000000..9b0f05a4c30088 --- /dev/null +++ b/pages/linux/blastp.md @@ -0,0 +1,28 @@ +# blastp + +> Protein-Protein BLAST. +> More information: . + +- Align two or more sequences using blastp, with the e-value threshold of 1e-9, pairwise output format, output to screen: + +`blastp -query {{query.fa}} -subject {{subject.fa}} -evalue {{1e-9}}` + +- Align two or more sequences using blastp-fast: + +`blastp -task blastp-fast -query {{query.fa}} -subject {{subject.fa}}` + +- Align two or more sequences, custom tabular output format, output to file: + +`blastp -query {{query.fa}} -subject {{subject.fa}} -outfmt '{{6 qseqid qlen qstart qend sseqid slen sstart send bitscore evalue pident}}' -out {{output.tsv}}` + +- Search protein databases using a protein query, 16 threads to use in the BLAST search, with a maximum number of 10 aligned sequences to keep: + +`blastp -query {{query.fa}} -db {{blast_database_name}} -num_threads {{16}} -max_target_seqs {{10}}` + +- Search the remote non-redundant protein database using a protein query: + +`blastp -query {{query.fa}} -db {{nr}} -remote` + +- Display help (use `-help` for detailed help): + +`blastp -h` diff --git a/pages/linux/bleachbit.md b/pages/linux/bleachbit.md new file mode 100644 index 00000000000000..48cb960261f281 --- /dev/null +++ b/pages/linux/bleachbit.md @@ -0,0 +1,24 @@ +# bleachbit + +> Clean junk files on the filesystem. +> More information: . + +- Start the graphical user interface (GUI) version of Bleachbit: + +`bleachbit --gui` + +- Shred a file: + +`bleachbit {{[-s|--shred]}} {{path/to/file}}` + +- List available cleaner options: + +`bleachbit {{[-l|--list-cleaners]}}` + +- Preview the files that will be deleted and other changes that will be made before actually performing the clean-up operation: + +`bleachbit {{[-p|--preview]}} --preset {{cleaner1.option1 cleaner2.option2 ...}}` + +- Perform the clean-up operation and delete files: + +`bleachbit {{[-c|--clean]}} --preset {{cleaner1.option1 cleaner2.option2 ...}}` diff --git a/pages/linux/blight.md b/pages/linux/blight.md new file mode 100644 index 00000000000000..927e60594fd18e --- /dev/null +++ b/pages/linux/blight.md @@ -0,0 +1,24 @@ +# blight + +> Utility for changing the display brightness. +> More information: . + +- Set display brightness to 50%: + +`blight set {{50}} {{[-r|--relative]}}` + +- Show current display brightness: + +`blight show` + +- Print maximum display brightness: + +`blight max` + +- Increase display brightness in %: + +`blight inc {{number}} {{[-r|--relative]}}` + +- Decrease display brightness with internal units: + +`blight dec {{number}}` diff --git a/pages/linux/blkdiscard.md b/pages/linux/blkdiscard.md index aef677e0469e40..a76df47b1c5747 100644 --- a/pages/linux/blkdiscard.md +++ b/pages/linux/blkdiscard.md @@ -1,15 +1,16 @@ # blkdiscard > Discards device sectors on storage devices. Useful for SSDs. +> More information: . - Discard all sectors on a device, removing all data: -`blkdiscard /dev/{{device}}` +`blkdiscard {{/dev/device}}` - Securely discard all blocks on a device, removing all data: -`blkdiscard --secure /dev/{{device}}` +`blkdiscard {{[-s|--secure]}} {{/dev/device}}` -- Discard the first 100MB of a device: +- Discard the first 100 MB of a device: -`blkdiscard --length {{100MB}} /dev/{{device}}` +`blkdiscard {{[-l|--length]}} {{100MB}} {{/dev/device}}` diff --git a/pages/linux/blkid.md b/pages/linux/blkid.md index 9c9756e6868d25..b2abbca7c648aa 100644 --- a/pages/linux/blkid.md +++ b/pages/linux/blkid.md @@ -1,6 +1,7 @@ # blkid -> Lists all recognized partitions and their Universally Unique Identifier (UUID). +> List all recognized partitions and their Universally Unique Identifier (UUID). +> More information: . - List all partitions: @@ -8,4 +9,8 @@ - List all partitions in a table, including current mountpoints: -`sudo blkid -o list` +`sudo blkid {{[-o|--output]}} list` + +- Get the UUID of the filesystem on a partition: + +`sudo blkid {{[-s|--match-tag]}} UUID {{[-o|--output]}} value {{/dev/sdXY}}` diff --git a/pages/linux/blkpr.md b/pages/linux/blkpr.md new file mode 100644 index 00000000000000..27607a8263a8d5 --- /dev/null +++ b/pages/linux/blkpr.md @@ -0,0 +1,24 @@ +# blkpr + +> Register, reserve, release, preempt, and clear persistent reservations on a block device that supports Persistent Reservations. +> More information: . + +- Register (command) a new reservation with a given key on a given device: + +`blkpr {{[-c|--command]}} register {{[-k|--key]}} {{reservation_key}} {{path/to/device}}` + +- Set the type of an existing reservation to exclusive access: + +`blkpr {{[-c|--command]}} reserve {{[-k|--key]}} {{reservation_key}} {{[-t|--type]}} exclusive-access {{path/to/device}}` + +- Preempt the existing reservation with a given key and replace it with a new reservation: + +`blkpr {{[-c|--command]}} preempt {{[-K|--oldkey]}} {{old_key}} {{[-k|--key]}} {{new_key}} {{[-t|--type]}} write-exclusive {{path/to/device}}` + +- Release a reservation with a given key and type on a given device: + +`blkpr {{[-c|--command]}} release {{[-k|--key]}} {{reservation_key}} {{[-t|--type]}} {{reservation_type}} {{path/to/device}}` + +- Clear all reservations from a given device: + +`blkpr {{[-c|--command]}} clear {{[-k|--key]}} {{key}} {{path/to/device}}` diff --git a/pages/linux/blockdev.md b/pages/linux/blockdev.md new file mode 100644 index 00000000000000..e26b17615bdb4b --- /dev/null +++ b/pages/linux/blockdev.md @@ -0,0 +1,36 @@ +# blockdev + +> Manage, query, and manipulate block devices. +> More information: . + +- Print a report for all devices: + +`sudo blockdev --report` + +- Print a report for a specific device: + +`sudo blockdev --report {{/dev/sdXY}}` + +- Get the size of a device in 512-byte sectors: + +`sudo blockdev --getsz {{/dev/sdXY}}` + +- Set read-only: + +`sudo blockdev --setro {{/dev/sdXY}}` + +- Set read-write: + +`sudo blockdev --setrw {{/dev/sdXY}}` + +- Flush buffers: + +`sudo blockdev --flushbufs {{/dev/sdXY}}` + +- Get the physical block size: + +`sudo blockdev --getpbsz {{/dev/sdXY}}` + +- Set the read-ahead value to 128 sectors: + +`sudo blockdev --setra 128 {{/dev/sdXY}}` diff --git a/pages/linux/bluebuild.md b/pages/linux/bluebuild.md new file mode 100644 index 00000000000000..9769dc95a7d58c --- /dev/null +++ b/pages/linux/bluebuild.md @@ -0,0 +1,24 @@ +# bluebuild + +> Build Containerfiles and custom images based on your `recipe.yml`. +> More information: . + +- Build a recipe: + +`bluebuild build {{path/to/recipe.yml}}` + +- Validate a recipe: + +`bluebuild validate {{path/to/recipe.yml}}` + +- Generate a Containerfile: + +`bluebuild generate {{[-o|--output]}} {{Containerfile}} {{path/to/recipe.yml}}` + +- Generate an ISO from a recipe: + +`bluebuild generate-iso --output-dir {{path/to/output_directory}} --iso-name {{iso_name.iso}} recipe {{path/to/recipe.yml}}` + +- Display help: + +`bluebuild {{[-h|--help]}}` diff --git a/pages/linux/bluetoothctl.md b/pages/linux/bluetoothctl.md index 162fd5cc0e2e7f..13d8783f7a6735 100644 --- a/pages/linux/bluetoothctl.md +++ b/pages/linux/bluetoothctl.md @@ -1,27 +1,36 @@ # bluetoothctl -> Handling bluetooth devices from the shell. +> Manage Bluetooth devices. +> More information: . -- Enter the bluetoothctl shell: +- Enter the `bluetoothctl` shell: `bluetoothctl` -- List devices: +- List all known devices: -`bluetoothctl -- devices` +`bluetoothctl devices` -- Pair a device: +- Power the Bluetooth controller on or off: -`bluetoothctl -- pair {{mac_address}}` +`bluetoothctl power {{on|off}}` + +- Pair with a device: + +`bluetoothctl pair {{mac_address}}` - Remove a device: -`bluetoothctl -- remove {{mac_address}}` +`bluetoothctl remove {{mac_address}}` + +- Connect to a paired device: + +`bluetoothctl connect {{mac_address}}` -- Connect a paired device: +- Disconnect from a paired device: -`bluetoothctl -- connect {{mac_address}}` +`bluetoothctl disconnect {{mac_address}}` -- Disconnect a paired device: +- Display help: -`bluetoothctl -- disconnect {{mac_address}}` +`bluetoothctl help` diff --git a/pages/linux/bluetoothd.md b/pages/linux/bluetoothd.md new file mode 100644 index 00000000000000..33d320e7a69542 --- /dev/null +++ b/pages/linux/bluetoothd.md @@ -0,0 +1,24 @@ +# bluetoothd + +> Daemon to manage bluetooth devices. +> More information: . + +- Start the daemon: + +`bluetoothd` + +- Start the daemon, logging to `stdout`: + +`bluetoothd {{[-n|--nodetach]}}` + +- Start the daemon with a specific configuration file (defaults to `/etc/bluetooth/main.conf`): + +`bluetoothd {{[-f|--configfile]}} {{path/to/file}}` + +- Start the daemon with verbose output to `stderr`: + +`bluetoothd {{[-d|--debug]}}` + +- Start the daemon with verbose output coming from specific files in the bluetoothd or plugins source: + +`bluetoothd {{[-d|--debug=]}}{{path/to/file1:path/to/file2:...}}` diff --git a/pages/linux/blurlock.md b/pages/linux/blurlock.md new file mode 100644 index 00000000000000..265b979d7bb98d --- /dev/null +++ b/pages/linux/blurlock.md @@ -0,0 +1,21 @@ +# blurlock + +> A simple wrapper around the i3 screen locker `i3lock`, which blurs the screen. +> See also: `i3lock`. +> More information: . + +- Lock the screen to a blurred screenshot of the current screen: + +`blurlock` + +- Lock the screen and disable the unlock indicator (removes feedback on keypress): + +`blurlock {{[-u|--no-unlock-indicator]}}` + +- Lock the screen and don't hide the mouse pointer: + +`blurlock {{[-p|--pointer]}} {{default}}` + +- Lock the screen and show the number of failed login attempts: + +`blurlock {{[-f|--show-failed-attempts]}}` diff --git a/pages/linux/bmon.md b/pages/linux/bmon.md index 6a5dd53b94fa22..b1fe17bc3b0b5f 100644 --- a/pages/linux/bmon.md +++ b/pages/linux/bmon.md @@ -1,19 +1,20 @@ # bmon > Monitor bandwidth and capture network related statistics. +> More information: . - Display the list of all the interfaces: -`bmon -a` +`bmon {{[-a|--show-all]}}` - Display data transfer rates in bits per second: -`bmon -b` +`bmon {{[-b|--use-bit]}}` -- Set policy to define which network interface(s) is/are displayed: +- Specify the policy to define which network interface(s) is/are displayed: -`bmon -p {{interface_1,interface_2,interface_3}}` +`bmon {{[-p|--policy]}} {{interface_1,interface_2,interface_3}}` -- Set interval (in seconds) in which rate per counter is calculated: +- Specify the interval (in seconds) in which rate per counter is calculated: -`bmon -R {{2.0}}` +`bmon {{[-R|--rate-interval]}} {{2.0}}` diff --git a/pages/linux/boltctl.md b/pages/linux/boltctl.md new file mode 100644 index 00000000000000..b059f815378f0d --- /dev/null +++ b/pages/linux/boltctl.md @@ -0,0 +1,28 @@ +# boltctl + +> Control thunderbolt devices. +> More information: . + +- List connected (and authorized) devices: + +`boltctl` + +- List connected devices, including unauthorized ones: + +`boltctl list` + +- Authorize a device temporarily: + +`boltctl authorize {{device_uuid}}` + +- Authorize and remember a device: + +`boltctl enroll {{device_uuid}}` + +- Revoke a previously authorized device: + +`boltctl forget {{device_uuid}}` + +- Show more information about a device: + +`boltctl info {{device_uuid}}` diff --git a/pages/linux/bootc-switch.md b/pages/linux/bootc-switch.md new file mode 100644 index 00000000000000..ced524531440ff --- /dev/null +++ b/pages/linux/bootc-switch.md @@ -0,0 +1,16 @@ +# bootc switch + +> Target a new container image reference to boot. +> More information: . + +- Change the base OS to a new container image from a registry: + +`sudo bootc switch {{image}}` + +- Change the base OS to a new container image from the local image storage of the root user: + +`sudo bootc switch --transport containers-storage {{image}}` + +- Change the base OS to a new container image stored in a tarball: + +`sudo bootc switch --transport oci-archive {{path/to/image.tar.gz}}` diff --git a/pages/linux/bootc.md b/pages/linux/bootc.md new file mode 100644 index 00000000000000..0a9871feea86c0 --- /dev/null +++ b/pages/linux/bootc.md @@ -0,0 +1,25 @@ +# bootc + +> Boot and upgrade via container images. +> Manages transactional, in-place operating system updates using OCI/Docker container images. +> More information: . + +- Show deployments in the order they will appear in the bootloader: + +`bootc status` + +- Check if any updates are available: + +`bootc upgrade --check` + +- Prepare a new update and reboot into it: + +`bootc upgrade --apply` + +- Change OS base to new container image: + +`bootc switch {{image}}` + +- Reboot into the previous ostree deployment: + +`bootc rollback` diff --git a/pages/linux/bootctl.md b/pages/linux/bootctl.md new file mode 100644 index 00000000000000..ec4b27a9699f2d --- /dev/null +++ b/pages/linux/bootctl.md @@ -0,0 +1,28 @@ +# bootctl + +> Control EFI firmware boot settings and manage boot loader. +> More information: . + +- Show information about the system firmware and the bootloaders: + +`bootctl` + +- Show all available bootloader entries: + +`bootctl list` + +- Set a flag to boot into the system firmware on the next boot (similar to `sudo systemctl reboot --firmware-setup`): + +`sudo bootctl reboot-to-firmware true` + +- Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/` or `/boot/efi`): + +`bootctl --esp-path /{{path/to/efi_system_partition}}/` + +- Install `systemd-boot` into the EFI system partition: + +`sudo bootctl install` + +- Remove all installed versions of `systemd-boot` from the EFI system partition: + +`sudo bootctl remove` diff --git a/pages/linux/bore-local.md b/pages/linux/bore-local.md new file mode 100644 index 00000000000000..c9b40162975f23 --- /dev/null +++ b/pages/linux/bore-local.md @@ -0,0 +1,24 @@ +# bore local + +> Start a local proxy to a remote server using Bore. +> More information: . + +- Expose a local port to a remote Bore server: + +`bore local {{[-t|--to]}} {{remote_server_address}} {{local_port}}` + +- Expose a specific local host instead of `localhost`: + +`bore local {{[-l|--local-host]}} {{host}} {{[-t|--to]}} {{remote_server_address}} {{local_port}}` + +- Specify a remote server port explicitly: + +`bore local {{[-t|--to]}} {{remote_server_address}} {{[-p|--port]}} {{remote_port}} {{local_port}}` + +- Use a secret for authentication: + +`bore local {{[-t|--to]}} {{remote_server_address}} {{[-s|--secret]}} {{your_secret}} {{local_port}}` + +- Display help: + +`bore local {{[-h|--help]}}` diff --git a/pages/linux/bore.md b/pages/linux/bore.md new file mode 100644 index 00000000000000..2d751611c83e18 --- /dev/null +++ b/pages/linux/bore.md @@ -0,0 +1,17 @@ +# bore + +> Start a local proxy to a remote server using Bore. +> Some subcommands such as `local` have their own usage documentation. +> More information: . + +- Expose a local port to a remote Bore server: + +`bore local {{[-t|--to]}} {{remote_server_address}} {{local_port}}` + +- Start a Bore server: + +`bore server` + +- Display help: + +`bore {{[-h|--help]}}` diff --git a/pages/linux/bpftool.md b/pages/linux/bpftool.md new file mode 100644 index 00000000000000..8df7fbcc1be05c --- /dev/null +++ b/pages/linux/bpftool.md @@ -0,0 +1,37 @@ +# bpftool + +> Inspect and manipulate eBPF programs and maps in a simple way. +> Some subcommands such as `prog` have their own usage documentation. +> More information: . + +- List information about loaded `eBPF` programs: + +`bpftool prog list` + +- List `eBPF` program attachments in the kernel networking subsystem: + +`bpftool net list` + +- List all active links: + +`bpftool link list` + +- List all `raw_tracepoint`, `tracepoint`, `kprobe` attachments in the system: + +`bpftool perf list` + +- List `BPF Type Format (BTF)` data: + +`bpftool btf list` + +- List information about loaded maps: + +`bpftool map list` + +- Probe a network device "eth0" for supported `eBPF` features: + +`bpftool feature probe dev {{eth0}}` + +- Run commands in batch mode from a file: + +`bpftool batch file {{myfile}}` diff --git a/pages/linux/bpftrace.md b/pages/linux/bpftrace.md index 02e3d26737632d..49d09b20e0a805 100644 --- a/pages/linux/bpftrace.md +++ b/pages/linux/bpftrace.md @@ -1,17 +1,13 @@ # bpftrace > High-level tracing language for Linux eBPF. -> More information: . - -- Display bpftrace version: - -`bpftrace -V` +> More information: . - List all available probes: `sudo bpftrace -l` -- Run a one-liner program (e.g syscall count by program): +- Run a one-liner program (e.g. syscall count by program): `sudo bpftrace -e '{{tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }}}'` @@ -26,3 +22,7 @@ - Do a dry run and display the output in eBPF format: `sudo bpftrace -d -e '{{one_line_program}}'` + +- Display version: + +`bpftrace {{[-V|--version]}}` diff --git a/pages/linux/bpytop.md b/pages/linux/bpytop.md deleted file mode 100644 index 977d97b69b75ff..00000000000000 --- a/pages/linux/bpytop.md +++ /dev/null @@ -1,28 +0,0 @@ -# bpytop - -> Display dynamic real-time information about running processes with graphs. Similar to `gtop` and `htop`. -> More information: . - -- Start bpytop: - -`bpytop` - -- Start in minimal mode without memory and networking boxes: - -`bpytop -m` - -- Show version: - -`bpytop -v` - -- Toggle minimal mode: - -`m` - -- Search for running programs or processes: - -`f` - -- Change settings: - -`M` diff --git a/pages/linux/br.md b/pages/linux/br.md new file mode 100644 index 00000000000000..8cebe6fd328b7e --- /dev/null +++ b/pages/linux/br.md @@ -0,0 +1,25 @@ +# br + +> Navigate directory trees interactively. +> See also: `broot`. +> More information: . + +- Start and navigate the current directory tree interactively: + +`br` + +- Start displaying the size of files and directories: + +`br {{[-s|--sizes]}}` + +- Start displaying permissions: + +`br {{[-p|--permissions]}}` + +- Start displaying directories only: + +`br {{[-f|--only-folders]}}` + +- Start displaying hidden files and directories: + +`br {{[-h|--hidden]}}` diff --git a/pages/linux/braa.md b/pages/linux/braa.md new file mode 100644 index 00000000000000..4bdbdf5e964cd1 --- /dev/null +++ b/pages/linux/braa.md @@ -0,0 +1,16 @@ +# braa + +> Ultra-fast mass SNMP scanner allowing multiple hosts simultaneously. +> More information: . + +- Walk the SNMP tree of host with public string querying all OIDs under `.1.3.6`: + +`braa public@{{ip}}:{{.1.3.6.*}}` + +- Query the whole subnet `ip_range` for `system.sysLocation.0`: + +`braa public@{{ip_range}}:{{.1.3.6.1.2.1.1.6.0}}` + +- Attempt to set the value of `system.sysLocation.0` to a specific workgroup: + +`braa private@{{ip}}:{{.1.3.6.1.2.1.1.6.0}}=s'{{workgroup}}'` diff --git a/pages/linux/brctl.md b/pages/linux/brctl.md index 60dec317734d45..a3246724c4c2f3 100644 --- a/pages/linux/brctl.md +++ b/pages/linux/brctl.md @@ -1,16 +1,17 @@ # brctl > Ethernet bridge administration. +> More information: . -- Show a list with information about currently existing ethernet bridges: +- Show a list with information about currently existing Ethernet bridges: `sudo brctl show` -- Create a new ethernet bridge interface: +- Create a new Ethernet bridge interface: `sudo brctl add {{bridge_name}}` -- Delete an existing ethernet bridge interface: +- Delete an existing Ethernet bridge interface: `sudo brctl del {{bridge_name}}` diff --git a/pages/linux/brew.md b/pages/linux/brew.md deleted file mode 100644 index a8b2728afe8fef..00000000000000 --- a/pages/linux/brew.md +++ /dev/null @@ -1,35 +0,0 @@ -# brew - -> The Homebrew package manager for Linux. - -- Search for available formulas: - -`brew search {{text}}` - -- Install the latest stable version of a formula (use `--devel` for development versions): - -`brew install {{formula}}` - -- List all installed formulae: - -`brew list` - -- Upgrade an installed formula (if no formula name is given, all installed formulae are upgraded): - -`brew upgrade {{formula}}` - -- Fetch the newest version of Linuxbrew and of all formulae from GitHub: - -`brew update` - -- Show formulae that have a more recent version available: - -`brew outdated` - -- Display information about a formula (version, installation path, dependencies, etc.): - -`brew info {{formula}}` - -- Check the local Linuxbrew installation for potential problems: - -`brew doctor` diff --git a/pages/linux/bridge.md b/pages/linux/bridge.md new file mode 100644 index 00000000000000..c20ee23c127e91 --- /dev/null +++ b/pages/linux/bridge.md @@ -0,0 +1,28 @@ +# bridge + +> Show and manipulate network bridge addresses and devices. +> More information: . + +- List all bridges and their interfaces: + +`bridge {{[l|link]}}` + +- Show port vlan information: + +`bridge {{[v|vlan]}}` + +- Assign a VLAN to a port: + +`sudo bridge {{[v|vlan]}} {{[a|add]}} dev {{lanX}} vid {{vlan_id}} pvid {{tagged|untagged}}` + +- Remove a VLAN from a port: + +`sudo bridge {{[v|vlan]}} {{[d|delete]}} dev {{lanX}} vid {{vlan_id}}` + +- Watch for changes in bridge interfaces: + +`bridge {{[mo|monitor]}}` + +- Display help: + +`bridge {{[h|help]}}` diff --git a/pages/linux/brightnessctl.md b/pages/linux/brightnessctl.md new file mode 100644 index 00000000000000..6ae4e8d7691a8e --- /dev/null +++ b/pages/linux/brightnessctl.md @@ -0,0 +1,28 @@ +# brightnessctl + +> Utility for reading and controlling device brightness for Linux operating systems. +> More information: . + +- List devices with changeable brightness: + +`brightnessctl {{[-l|--list]}}` + +- Print the current brightness of the default device: + +`brightnessctl {{[g|get]}}` + +- Print the current brightness of a specific device (can be a wildcard): + +`brightnessctl {{[g|get]}} {{[-d|--device]}} '{{device_name}}'` + +- Set the brightness to a specified percentage: + +`brightnessctl {{[s|set]}} {{50}}%` + +- Increase brightness by a specified percentage: + +`brightnessctl {{[s|set]}} +{{10}}%` + +- Decrease brightness by a specified percentage: + +`brightnessctl {{[s|set]}} {{10}}%-` diff --git a/pages/linux/broot.md b/pages/linux/broot.md new file mode 100644 index 00000000000000..8dc8299cd59493 --- /dev/null +++ b/pages/linux/broot.md @@ -0,0 +1,9 @@ +# broot + +> Navigate directory trees interactively. +> See also: `br`. +> More information: . + +- Install or reinstall the `br` shell function: + +`broot --install` diff --git a/pages/linux/bspc.md b/pages/linux/bspc.md new file mode 100644 index 00000000000000..83acde08d2adb7 --- /dev/null +++ b/pages/linux/bspc.md @@ -0,0 +1,29 @@ +# bspc + +> Configure and control `bspwm`, managing nodes, desktops, monitors, and more. +> See also: `bspwm`. +> More information: . + +- Define two virtual desktops: + +`bspc monitor {{[-d|--reset-desktops]}} {{desktop_name1}} {{desktop_name2}}` + +- Focus the given desktop: + +`bspc desktop {{[-f|--focus]}} {{number}}` + +- Close the windows rooted at the selected node: + +`bspc node {{[-c|--close]}}` + +- Send the selected node to the given desktop: + +`bspc node {{[-d|--to-desktop]}} {{number}}` + +- Toggle full screen mode for the selected node: + +`bspc node {{[-t|--state]}} ~fullscreen` + +- Set the value of a specific setting: + +`bspc config {{setting_name}} {{value}}` diff --git a/pages/linux/bspwm.md b/pages/linux/bspwm.md new file mode 100644 index 00000000000000..24557986c8bb68 --- /dev/null +++ b/pages/linux/bspwm.md @@ -0,0 +1,9 @@ +# bspwm + +> A tiling window manager based on binary space partitioning. +> See also: `bspc` for controlling it. +> More information: . + +- Start `bspwm` (note that a pre-existing window manager must not be open when this command is run): + +`bspwm -c {{path/to/config}}` diff --git a/pages/linux/bsub.md b/pages/linux/bsub.md new file mode 100644 index 00000000000000..7993db62bb26c3 --- /dev/null +++ b/pages/linux/bsub.md @@ -0,0 +1,28 @@ +# bsub + +> Submit batch jobs to LSF (Load Sharing Facility) scheduler. +> More information: . + +- Submit a script file as a job: + +`bsub {{path/to/script.sh}}` + +- Submit a job to a specific queue: + +`bsub -q {{queue_name}} make all` + +- Submit a job with a name and redirect output and error: + +`bsub -J {{job_name}} --output {{path/to/output.log}} --error {{path/to/error.log}} {{path/to/script.sh}}` + +- Request 8 CPU cores and 16GB memory for a command: + +`bsub -n 8 -M 16G cargo build --release` + +- Run an interactive shell in the current session: + +`bsub -I bash` + +- Submit a job with a runtime limit of 45 minutes: + +`bsub -W 45 {{path/to/script.sh}}` diff --git a/pages/linux/btrbk.md b/pages/linux/btrbk.md new file mode 100644 index 00000000000000..8ce9c713aeb33e --- /dev/null +++ b/pages/linux/btrbk.md @@ -0,0 +1,24 @@ +# btrbk + +> Create snapshots and remote backups of btrfs subvolumes. +> More information: . + +- Print statistics about configured subvolumes and snapshots: + +`sudo btrbk stats` + +- List configured subvolumes and snapshots: + +`sudo btrbk list` + +- Print what would happen in a run without making the displayed changes: + +`sudo btrbk {{[-v|--verbose]}} dryrun` + +- Run backup routines verbosely, show progress bar: + +`sudo btrbk --progress {{[-v|--verbose]}} run` + +- Only create snapshots for configured subvolumes: + +`sudo btrbk snapshot` diff --git a/pages/linux/btrfs-balance.md b/pages/linux/btrfs-balance.md new file mode 100644 index 00000000000000..1eddb936336868 --- /dev/null +++ b/pages/linux/btrfs-balance.md @@ -0,0 +1,32 @@ +# btrfs balance + +> Balance block groups on a btrfs filesystem. +> More information: . + +- Show the status of a running or paused balance operation: + +`sudo btrfs {{[b|balance]}} status {{path/to/btrfs_filesystem}}` + +- Balance all block groups (slow; rewrites all blocks in filesystem): + +`sudo btrfs {{[b|balance]}} start {{path/to/btrfs_filesystem}}` + +- Balance data block groups which are less than 15% utilized, running the operation in the background: + +`sudo btrfs {{[b|balance]}} start {{[--bg|--background]}} -dusage={{15}} {{path/to/btrfs_filesystem}}` + +- Balance a max of 10 metadata chunks with less than 20% utilization and at least 1 chunk on a given device `devid` (see `btrfs filesystem show`): + +`sudo btrfs {{[b|balance]}} start -musage={{20}},limit={{10}},devid={{devid}} {{path/to/btrfs_filesystem}}` + +- Convert data blocks to the raid6 and metadata to raid1c3 (see mkfs.btrfs(8) for profiles): + +`sudo btrfs {{[b|balance]}} start -dconvert={{raid6}} -mconvert={{raid1c3}} {{path/to/btrfs_filesystem}}` + +- Convert data blocks to raid1, skipping already converted chunks (e.g. after a previous cancelled conversion operation): + +`sudo btrfs {{[b|balance]}} start -dconvert={{raid1}},soft {{path/to/btrfs_filesystem}}` + +- Cancel, pause, or resume a running or paused balance operation: + +`sudo btrfs {{[b|balance]}} {{cancel|pause|resume}} {{path/to/btrfs_filesystem}}` diff --git a/pages/linux/btrfs-check.md b/pages/linux/btrfs-check.md new file mode 100644 index 00000000000000..d9d3b289c2277f --- /dev/null +++ b/pages/linux/btrfs-check.md @@ -0,0 +1,32 @@ +# btrfs check + +> Check or repair a btrfs filesystem. +> More information: . + +- Check a btrfs filesystem: + +`sudo btrfs {{[c|check]}} {{path/to/partition}}` + +- Check and repair a btrfs filesystem (dangerous): + +`sudo btrfs {{[c|check]}} --repair {{path/to/partition}}` + +- Show the progress of the check: + +`sudo btrfs {{[c|check]}} {{[-p|--progress]}} {{path/to/partition}}` + +- Verify the checksum of each data block (if the filesystem is good): + +`sudo btrfs {{[c|check]}} --check-data-csum {{path/to/partition}}` + +- Use the `n`-th superblock (`n` can be 0, 1 or 2): + +`sudo btrfs {{[c|check]}} {{[-s|--super]}} {{n}} {{path/to/partition}}` + +- Rebuild the checksum tree: + +`sudo btrfs {{[c|check]}} --repair --init-csum-tree {{path/to/partition}}` + +- Rebuild the extent tree: + +`sudo btrfs {{[c|check]}} --repair --init-extent-tree {{path/to/partition}}` diff --git a/pages/linux/btrfs-device.md b/pages/linux/btrfs-device.md new file mode 100644 index 00000000000000..dc5a8bbab41ca6 --- /dev/null +++ b/pages/linux/btrfs-device.md @@ -0,0 +1,24 @@ +# btrfs device + +> Manage devices in a btrfs filesystem. +> More information: . + +- Add one or more devices to a btrfs filesystem: + +`sudo btrfs {{[d|device]}} {{[a|add]}} {{path/to/block_device1 path/to/block_device2 ...}} {{path/to/btrfs_filesystem}}` + +- Remove a device from a btrfs filesystem: + +`sudo btrfs {{[d|device]}} {{[rem|remove]}} {{path/to/device1|device_id1 path/to/device2|device_id2 ...}}` + +- Display error statistics: + +`sudo btrfs {{[d|device]}} {{[st|stats]}} {{path/to/btrfs_filesystem}}` + +- Scan all disks and inform the kernel of all detected btrfs filesystems: + +`sudo btrfs {{[d|device]}} {{[sc|scan]}} {{[-d|--all-devices]}}` + +- Display detailed per-disk allocation statistics: + +`sudo btrfs {{[d|device]}} {{[u|usage]}} {{path/to/btrfs_filesystem}}` diff --git a/pages/linux/btrfs-filesystem.md b/pages/linux/btrfs-filesystem.md index 40177aa1eec0d5..c44690acf137b4 100644 --- a/pages/linux/btrfs-filesystem.md +++ b/pages/linux/btrfs-filesystem.md @@ -1,28 +1,32 @@ # btrfs filesystem > Manage btrfs filesystems. -> More information: . +> More information: . - Show filesystem usage (optionally run as root to show detailed information): -`btrfs filesystem usage {{path/to/btrfs_mount}}` +`btrfs {{[f|filesystem]}} {{[u|usage]}} {{path/to/btrfs_mount}}` - Show usage by individual devices: -`sudo btrfs filesystem show {{path/to/btrfs_mount}}` +`sudo btrfs {{[f|filesystem]}} {{[sh|show]}} {{path/to/btrfs_mount}}` - Defragment a single file on a btrfs filesystem (avoid while a deduplication agent is running): -`sudo btrfs filesystem defragment -v {{path/to/file}}` +`sudo btrfs {{[f|filesystem]}} {{[de|defragment]}} {{[-v|--verbose]}} {{path/to/file}}` - Defragment a directory recursively (does not cross subvolume boundaries): -`sudo btrfs filesystem defragment -v -r {{path/to/directory}}` +`sudo btrfs {{[f|filesystem]}} {{[de|defragment]}} {{[-v|--verbose]}} -r {{path/to/directory}}` - Force syncing unwritten data blocks to disk(s): -`sudo btrfs filesystem sync {{path/to/btrfs_mount}}` +`sudo btrfs {{[f|filesystem]}} {{[sy|sync]}} {{path/to/btrfs_mount}}` - Summarize disk usage for the files in a directory recursively: -`sudo btrfs filesystem du --summarize {{path/to/directory}}` +`sudo btrfs {{[f|filesystem]}} du {{[-s|--summarize]}} {{path/to/directory}}` + +- Create a swap file: + +`sudo btrfs {{[f|filesystem]}} {{[m|mkswapfile]}} --size {{8g}} --uuid {{clear|random|time|UUID_value}} {{path/to/swapfile}}` diff --git a/pages/linux/btrfs-inspect-internal.md b/pages/linux/btrfs-inspect-internal.md new file mode 100644 index 00000000000000..62f0c9a9ed8f64 --- /dev/null +++ b/pages/linux/btrfs-inspect-internal.md @@ -0,0 +1,28 @@ +# btrfs inspect-internal + +> Query internal information of a btrfs filesystem. +> More information: . + +- Print superblock's information: + +`sudo btrfs {{[i|inspect-internal]}} {{[dump-s|dump-super]}} {{path/to/partition}}` + +- Print superblock's and all of its copies' information: + +`sudo btrfs {{[i|inspect-internal]}} {{[dump-s|dump-super]}} {{[-a|--all]}} {{path/to/partition}}` + +- Print filesystem's metadata information: + +`sudo btrfs {{[i|inspect-internal]}} {{[dump-t|dump-tree]}} {{path/to/partition}}` + +- Print list of files in inode `n`-th: + +`sudo btrfs {{[i|inspect-internal]}} {{[i|inode-resolve]}} {{n}} {{path/to/btrfs_mount}}` + +- Print list of files at a given logical address: + +`sudo btrfs {{[i|inspect-internal]}} {{[lo|logical-resolve]}} {{logical_address}} {{path/to/btrfs_mount}}` + +- Print stats of root, extent, csum and fs trees: + +`sudo btrfs {{[i|inspect-internal]}} {{[t|tree-stats]}} {{path/to/partition}}` diff --git a/pages/linux/btrfs-property.md b/pages/linux/btrfs-property.md new file mode 100644 index 00000000000000..93f414785ee664 --- /dev/null +++ b/pages/linux/btrfs-property.md @@ -0,0 +1,24 @@ +# btrfs property + +> Get, set, or list properties for a BTRFS filesystem object (files, directories, subvolumes, filesystems, or devices). +> More information: . + +- List available properties (and descriptions) for the given btrfs object: + +`sudo btrfs {{[p|property]}} {{[l|list]}} {{path/to/btrfs_object}}` + +- Get all properties for the given btrfs object: + +`sudo btrfs {{[p|property]}} {{[g|get]}} {{path/to/btrfs_object}}` + +- Get the `label` property for the given btrfs filesystem or device: + +`sudo btrfs {{[p|property]}} {{[g|get]}} {{path/to/btrfs_filesystem}} label` + +- Get all object type-specific properties for the given btrfs filesystem or device: + +`sudo btrfs {{[p|property]}} {{[g|get]}} -t {{subvol|filesystem|inode|device}} {{path/to/btrfs_filesystem}}` + +- Set the `compression` property for a given btrfs inode (either a file or directory): + +`sudo btrfs {{[p|property]}} {{[s|set]}} {{path/to/btrfs_inode}} compression {{zstd|zlib|lzo|none}}` diff --git a/pages/linux/btrfs-rescue.md b/pages/linux/btrfs-rescue.md new file mode 100644 index 00000000000000..27f765a59a7f07 --- /dev/null +++ b/pages/linux/btrfs-rescue.md @@ -0,0 +1,24 @@ +# btrfs rescue + +> Try to recover a damaged btrfs filesystem. +> More information: . + +- Rebuild the filesystem metadata tree (very slow): + +`sudo btrfs {{[resc|rescue]}} {{[ch|chunk-recover]}} {{path/to/partition}}` + +- Fix device size alignment related problems (e.g. unable to mount the filesystem with super total bytes mismatch): + +`sudo btrfs {{[resc|rescue]}} {{[fix-de|fix-device-size]}} {{path/to/partition}}` + +- Recover a corrupted superblock from correct copies (recover the root of filesystem tree): + +`sudo btrfs {{[resc|rescue]}} {{[s|super-recover]}} {{path/to/partition}}` + +- Recover from an interrupted transactions (fixes log replay problems): + +`sudo btrfs {{[resc|rescue]}} {{[z|zero-log]}} {{path/to/partition}}` + +- Create a `/dev/btrfs-control` control device when `mknod` is not installed: + +`sudo btrfs {{[resc|rescue]}} {{[c|create-control-device]}}` diff --git a/pages/linux/btrfs-restore.md b/pages/linux/btrfs-restore.md new file mode 100644 index 00000000000000..8c471737eb9fe6 --- /dev/null +++ b/pages/linux/btrfs-restore.md @@ -0,0 +1,24 @@ +# btrfs restore + +> Try to salvage files from a damaged btrfs filesystem. +> More information: . + +- Restore all files from a btrfs filesystem to a given directory: + +`sudo btrfs {{[rest|restore]}} {{path/to/btrfs_device}} {{path/to/target_directory}}` + +- List (don't write) files to be restored from a btrfs filesystem: + +`sudo btrfs {{[rest|restore]}} {{[-D|--dry-run]}} {{path/to/btrfs_device}} {{path/to/target_directory}}` + +- Restore files matching a given `regex` ([c]ase-insensitive) files to be restored from a btrfs filesystem (all parent directories of target file(s) must match as well): + +`sudo btrfs {{[rest|restore]}} --path-regex {{regex}} -c {{path/to/btrfs_device}} {{path/to/target_directory}}` + +- Restore files from a btrfs filesystem using a specific root [t]ree `bytenr` (see `btrfs-find-root`): + +`sudo btrfs {{[rest|restore]}} -t {{bytenr}} {{path/to/btrfs_device}} {{path/to/target_directory}}` + +- Restore files from a btrfs filesystem (along with metadata, extended attributes, and Symlinks), overwriting files in the target: + +`sudo btrfs {{[rest|restore]}} {{[-m|--metadata]}} {{[-x|--xattr]}} {{[-S|--symlinks]}} {{[-o|--overwrite]}} {{path/to/btrfs_device}} {{path/to/target_directory}}` diff --git a/pages/linux/btrfs-scrub.md b/pages/linux/btrfs-scrub.md index c962250811be9e..09f6adc8f697a7 100644 --- a/pages/linux/btrfs-scrub.md +++ b/pages/linux/btrfs-scrub.md @@ -2,28 +2,28 @@ > Scrub btrfs filesystems to verify data integrity. > It is recommended to run a scrub once a month. -> More information: . +> More information: . - Start a scrub: -`sudo btrfs scrub start {{path/to/btrfs_mount}}` +`sudo btrfs {{[sc|scrub]}} start {{path/to/btrfs_mount}}` - Show the status of an ongoing or last completed scrub: -`sudo btrfs scrub status {{path/to/btrfs_mount}}` +`sudo btrfs {{[sc|scrub]}} status {{path/to/btrfs_mount}}` - Cancel an ongoing scrub: -`sudo btrfs scrub cancel {{path/to/btrfs_mount}}` +`sudo btrfs {{[sc|scrub]}} {{[c|cancel]}} {{path/to/btrfs_mount}}` - Resume a previously cancelled scrub: -`sudo btrfs scrub resume {{path/to/btrfs_mount}}` +`sudo btrfs {{[sc|scrub]}} {{[r|resume]}} {{path/to/btrfs_mount}}` -- Start a scrub, but wait until the scrub finishes before exiting: +- Start a scrub, but do not put the program in the [B]ackground: -`sudo btrfs scrub start -B {{path/to/btrfs_mount}}` +`sudo btrfs {{[sc|scrub]}} start -B {{path/to/btrfs_mount}}` - Start a scrub in quiet mode (does not print errors or statistics): -`sudo btrfs scrub start -q {{path/to/btrfs_mount}}` +`sudo btrfs {{[sc|scrub]}} start {{[-q|--quiet]}} {{path/to/btrfs_mount}}` diff --git a/pages/linux/btrfs-subvolume.md b/pages/linux/btrfs-subvolume.md index e59e115963da05..a802a8c19599f5 100644 --- a/pages/linux/btrfs-subvolume.md +++ b/pages/linux/btrfs-subvolume.md @@ -1,28 +1,28 @@ # btrfs subvolume > Manage btrfs subvolumes and snapshots. -> More information: . +> More information: . - Create a new empty subvolume: -`sudo btrfs subvolume create {{path/to/new_subvolume}}` +`sudo btrfs {{[su|subvolume]}} {{[c|create]}} {{path/to/new_subvolume}}` - List all subvolumes and snapshots in the specified filesystem: -`sudo btrfs subvolume list {{path/to/btrfs_filesystem}}` +`sudo btrfs {{[su|subvolume]}} {{[l|list]}} {{path/to/btrfs_filesystem}}` - Delete a subvolume: -`sudo btrfs subvolume delete {{path/to/subvolume}}` +`sudo btrfs {{[su|subvolume]}} {{[d|delete]}} {{path/to/subvolume}}` -- Create a read-only snapshot of an existing subvolume: +- Create a [r]ead-only snapshot of an existing subvolume: -`sudo btrfs subvolume snapshot -r {{path/to/source_subvolume}} {{path/to/target}}` +`sudo btrfs {{[su|subvolume]}} {{[sn|snapshot]}} -r {{path/to/source_subvolume}} {{path/to/target}}` - Create a read-write snapshot of an existing subvolume: -`sudo btrfs subvolume snapshot {{path/to/source_subvolume}} {{path/to/target}}` +`sudo btrfs {{[su|subvolume]}} {{[sn|snapshot]}} {{path/to/source_subvolume}} {{path/to/target}}` - Show detailed information about a subvolume: -`sudo btrfs subvolume show {{path/to/subvolume}}` +`sudo btrfs {{[su|subvolume]}} {{[sh|show]}} {{path/to/subvolume}}` diff --git a/pages/linux/btrfs-version.md b/pages/linux/btrfs-version.md new file mode 100644 index 00000000000000..42fcc81f28f81f --- /dev/null +++ b/pages/linux/btrfs-version.md @@ -0,0 +1,12 @@ +# btrfs version + +> Display btrfs-progs version. +> More information: . + +- Display help: + +`btrfs {{[v|version]}} --help` + +- Display version: + +`btrfs {{[v|version]}}` diff --git a/pages/linux/btrfs.md b/pages/linux/btrfs.md index d0c5346434ab2a..6d1481f814667b 100644 --- a/pages/linux/btrfs.md +++ b/pages/linux/btrfs.md @@ -1,23 +1,25 @@ # btrfs > A filesystem based on the copy-on-write (COW) principle for Linux. +> Some subcommands such as `device` have their own usage documentation. +> More information: . - Create subvolume: -`sudo btrfs subvolume create {{path/to/subvolume}}` +`sudo btrfs {{[su|subvolume]}} {{[c|create]}} {{path/to/subvolume}}` - List subvolumes: -`sudo btrfs subvolume list {{path/to/mount_point}}` +`sudo btrfs {{[su|subvolume]}} {{[l|list]}} {{path/to/mount_point}}` - Show space usage information: -`sudo btrfs filesystem df {{path/to/mount_point}}` +`sudo btrfs {{[f|filesystem]}} df {{path/to/mount_point}}` - Enable quota: -`sudo btrfs quota enable {{path/to/subvolume}}` +`sudo btrfs {{[qu|quota]}} {{[e|enable]}} {{path/to/subvolume}}` - Show quota: -`sudo btrfs qgroup show {{path/to/subvolume}}` +`sudo btrfs {{[qg|qgroup]}} {{[s|show]}} {{path/to/subvolume}}` diff --git a/pages/linux/bully.md b/pages/linux/bully.md new file mode 100644 index 00000000000000..01cd39376f11ea --- /dev/null +++ b/pages/linux/bully.md @@ -0,0 +1,13 @@ +# bully + +> Brute-force the WPS pin of a wireless access point. +> Necessary information must be gathered with `airmon-ng` and `airodump-ng` before using `bully`. +> More information: . + +- Crack the password: + +`bully {{[-b|--bssid]}} "{{mac}}" {{[-c|--channel]}} "{{channel}}" {{[-B|--bruteforce]}} "{{interface}}"` + +- Display help: + +`bully {{[-h|--help]}}` diff --git a/pages/linux/burpsuite.md b/pages/linux/burpsuite.md new file mode 100644 index 00000000000000..a85941cc35d006 --- /dev/null +++ b/pages/linux/burpsuite.md @@ -0,0 +1,24 @@ +# burpsuite + +> A GUI based application mainly used in web application penetration testing. +> More information: . + +- Start Burp Suite: + +`burpsuite` + +- Start Burp Suite using the default configuration: + +`burpsuite --use-defaults` + +- Open a specific project file: + +`burpsuite --project-file={{path/to/file}}` + +- Load a specific configuration file: + +`burpsuite --config-file={{path/to/file}}` + +- Start without extensions: + +`burpsuite --disable-extensions` diff --git a/pages/linux/busctl.md b/pages/linux/busctl.md new file mode 100644 index 00000000000000..194518d5a175cf --- /dev/null +++ b/pages/linux/busctl.md @@ -0,0 +1,32 @@ +# busctl + +> Introspect and monitor the D-Bus bus. +> More information: . + +- Show all peers on the bus, by their service names: + +`busctl list` + +- Show process information and credentials of a bus service, a process, or the owner of the bus (if no parameter is specified): + +`busctl status {{service|pid}}` + +- Dump messages being exchanged. If no service is specified, show all messages on the bus: + +`busctl monitor {{service1 service2 ...}}` + +- Show an object tree of one or more services (or all services if no service is specified): + +`busctl tree {{service1 service2 ...}}` + +- Show interfaces, methods, properties and signals of the specified object on the specified service: + +`busctl introspect {{service}} {{path/to/object}}` + +- Retrieve the current value of one or more object properties: + +`busctl get-property {{service}} {{path/to/object}} {{interface_name}} {{property_name}}` + +- Invoke a method and show the response: + +`busctl call {{service}} {{path/to/object}} {{interface_name}} {{method_name}}` diff --git a/pages/linux/bwa.md b/pages/linux/bwa.md new file mode 100644 index 00000000000000..2ead0d6cd2ef26 --- /dev/null +++ b/pages/linux/bwa.md @@ -0,0 +1,25 @@ +# bwa + +> Burrows-Wheeler Alignment tool. +> Short, low-divergent DNA sequences mapper against a large reference genome, such as the human genome. +> More information: . + +- Index the reference genome: + +`bwa index {{path/to/reference.fa}}` + +- Map single-end reads (sequences) to indexed genome using 32 [t]hreads and compress the result to save space: + +`bwa mem -t 32 {{path/to/reference.fa}} {{path/to/read_single_end.fq.gz}} | gzip > {{path/to/alignment_single_end.sam.gz}}` + +- Map pair-end reads (sequences) to the indexed genome using 32 [t]hreads and compress the result to save space: + +`bwa mem -t 32 {{path/to/reference.fa}} {{path/to/read_pair_end_1.fq.gz}} {{path/to/read_pair_end_2.fq.gz}} | gzip > {{path/to/alignment_pair_end.sam.gz}}` + +- Map pair-end reads (sequences) to the indexed genome using 32 [t]hreads with [M]arking shorter split hits as secondary for output SAM file compatibility in Picard software and compress the result: + +`bwa mem -M -t 32 {{path/to/reference.fa}} {{path/to/read_pair_end_1.fq.gz}} {{path/to/read_pair_end_2.fq.gz}} | gzip > {{path/to/alignment_pair_end.sam.gz}}` + +- Map pair-end reads (sequences) to indexed genome using 32 [t]hreads with FASTA/Q [C]omments (e.g. BC:Z:CGTAC) appending to a compressed result: + +`bwa mem -C -t 32 {{path/to/reference.fa}} {{path/to/read_pair_end_1.fq.gz}} {{path/to/read_pair_end_2.fq.gz}} | gzip > {{path/to/alignment_pair_end.sam.gz}}` diff --git a/pages/linux/bwrap.md b/pages/linux/bwrap.md new file mode 100644 index 00000000000000..993c37d1cfb0f5 --- /dev/null +++ b/pages/linux/bwrap.md @@ -0,0 +1,12 @@ +# bwrap + +> Run programs in a lightweight sandbox. +> More information: . + +- Run a program in a read-only environment: + +`bwrap --ro-bind / / {{/bin/bash}}` + +- Give the environment access to devices, process information and create a `tmpfs` for it: + +`bwrap --dev-bind /dev /dev --proc /proc --ro-bind / / --tmpfs /tmp {{/bin/bash}}` diff --git a/pages/linux/byzanz-record.md b/pages/linux/byzanz-record.md new file mode 100644 index 00000000000000..64f0aaf3eee60d --- /dev/null +++ b/pages/linux/byzanz-record.md @@ -0,0 +1,20 @@ +# byzanz-record + +> Record the screen. +> More information: . + +- Record the screen and write the recording to a file (by default, `byzanz-record` will only record for 10 seconds): + +`byzanz-record {{path/to/file.[byzanz|flv|gif|ogg|ogv|webm]}}` + +- Show information while and after recording: + +`byzanz-record {{[-v|--verbose]}} {{path/to/file.[byzanz|flv|gif|ogg|ogv|webm]}}` + +- Record the screen for a minute: + +`byzanz-record {{[-d|--duration]}} 60 {{path/to/file.[byzanz|flv|gif|ogg|ogv|webm]}}` + +- Delay recording for 10 seconds: + +`byzanz-record --delay 10 {{path/to/file.[byzanz|flv|gif|ogg|ogv|webm]}}` diff --git a/pages/linux/cacaclock.md b/pages/linux/cacaclock.md new file mode 100644 index 00000000000000..d54f8178ead6d2 --- /dev/null +++ b/pages/linux/cacaclock.md @@ -0,0 +1,16 @@ +# cacaclock + +> Display the current time as ASCII art. +> More information: . + +- Display the time: + +`cacaclock` + +- Change the font: + +`cacaclock {{[-f|--font]}} {{font}}` + +- Change the format using an `strftime` format specification: + +`cacaclock {{[-d|--dateformat]}} {{strftime_arguments}}` diff --git a/pages/linux/cacademo.md b/pages/linux/cacademo.md new file mode 100644 index 00000000000000..3e6826b7b87c8f --- /dev/null +++ b/pages/linux/cacademo.md @@ -0,0 +1,8 @@ +# cacademo + +> Display a random ASCII art animation. +> More information: . + +- View an animation: + +`cacademo` diff --git a/pages/linux/cacafire.md b/pages/linux/cacafire.md new file mode 100644 index 00000000000000..cc55af20eeb134 --- /dev/null +++ b/pages/linux/cacafire.md @@ -0,0 +1,8 @@ +# cacafire + +> Display an animated ASCII fire. +> More information: . + +- Display the ASCII fire: + +`cacafire` diff --git a/pages/linux/cacaview.md b/pages/linux/cacaview.md new file mode 100644 index 00000000000000..0d58e589e86f71 --- /dev/null +++ b/pages/linux/cacaview.md @@ -0,0 +1,8 @@ +# cacaview + +> Display an image in PMN format. +> More information: . + +- Display an image: + +`cacaview {{path/to/image}}` diff --git a/pages/linux/caffeinate.md b/pages/linux/caffeinate.md new file mode 100644 index 00000000000000..44c24858bc40cf --- /dev/null +++ b/pages/linux/caffeinate.md @@ -0,0 +1,8 @@ +# caffeinate + +> Prevent desktop from sleeping. +> More information: . + +- Prevent desktop from sleeping (use `` to exit): + +`caffeinate` diff --git a/pages/linux/caffeine-indicator.md b/pages/linux/caffeine-indicator.md new file mode 100644 index 00000000000000..513decf86ef134 --- /dev/null +++ b/pages/linux/caffeine-indicator.md @@ -0,0 +1,8 @@ +# caffeine-indicator + +> Manually inhibit desktop idleness with a toggle. +> More information: . + +- Manually inhibit desktop idleness with a toggle: + +`caffeine-indicator` diff --git a/pages/linux/caffeine.md b/pages/linux/caffeine.md new file mode 100644 index 00000000000000..f6ba2ee6fe25d3 --- /dev/null +++ b/pages/linux/caffeine.md @@ -0,0 +1,16 @@ +# caffeine + +> Prevent desktop idleness in full-screen mode. +> More information: . + +- Start a caffeine server: + +`caffeine` + +- Display help: + +`caffeine {{[-h|--help]}}` + +- Display version: + +`caffeine {{[-V|--version]}}` diff --git a/pages/linux/cage.md b/pages/linux/cage.md new file mode 100644 index 00000000000000..213db5be84601d --- /dev/null +++ b/pages/linux/cage.md @@ -0,0 +1,24 @@ +# cage + +> Open an applications in a kiosk mode. +> More information: . + +- Run an application: + +`cage {{application}}` + +- Give the application arguments: + +`cage -- {{application}} {{arguments}}` + +- Hide window [d]ecorations (this can lock you from accessing the terminal): + +`cage -d {{application}}` + +- Allow [s]witching terminals with ``: + +`cage -s {{application}}` + +- Display help: + +`cage -h` diff --git a/pages/linux/caja.md b/pages/linux/caja.md new file mode 100644 index 00000000000000..22eb7f61b6357f --- /dev/null +++ b/pages/linux/caja.md @@ -0,0 +1,25 @@ +# caja + +> Manage files and directories in the MATE desktop environment. +> See also: `nautilus`, `dolphin`, `thunar`, `ranger`. +> More information: . + +- Open the current user home directory: + +`caja` + +- Open specific directories in separate windows: + +`caja {{path/to/directory1 path/to/directory2 ...}}` + +- Open specific directories in tabs: + +`caja {{[-t|--tabs]}} {{path/to/directory1 path/to/directory2 ...}}` + +- Open a directory with a specific window size: + +`caja {{[-g|--geometry]}} {{600}}x{{400}} {{path/to/directory}}` + +- Close all windows: + +`caja {{[-q|--quit]}}` diff --git a/pages/linux/cal.md b/pages/linux/cal.md index 44719630042ba2..1191fb934df490 100644 --- a/pages/linux/cal.md +++ b/pages/linux/cal.md @@ -1,18 +1,27 @@ # cal -> Prints calendar information, with the current day highlighted. +> Display a calendar with the current day highlighted. +> More information: . - Display a calendar for the current month: `cal` -- Display previous, current and next month: +- Display 3 months spanning the date: -`cal -3` +`cal {{[-3|--three]}}` -- Use monday as the first day of the week: +- Display the whole calendar for the current year: -`cal --monday` +`cal {{[-y|--year]}}` + +- Display the next twelve months: + +`cal {{[-Y|--twelve]}}` + +- Use Monday as the first day of the week: + +`cal {{[-m|--monday]}}` - Display a calendar for a specific year (4 digits): diff --git a/pages/linux/calc.md b/pages/linux/calc.md deleted file mode 100644 index e16afd303d6f48..00000000000000 --- a/pages/linux/calc.md +++ /dev/null @@ -1,11 +0,0 @@ -# calc - -> An interactive arbitrary-precision calculator on the terminal. - -- Start calc in interactive mode: - -`calc` - -- Perform a calculation in non-interactive mode: - -`calc -p '{{85 * (36 / 4)}}'` diff --git a/pages/linux/calcurse.md b/pages/linux/calcurse.md index a47ed4d1ae96e4..9acf1f9170b94c 100644 --- a/pages/linux/calcurse.md +++ b/pages/linux/calcurse.md @@ -1,15 +1,15 @@ # calcurse -> A text-based calendar and scheduling application for the command line. -> More information: . +> A text-based calendar and scheduling application for the command-line. +> More information: . -- Start calcurse on interactive mode: +- Start `calcurse` on interactive mode: `calcurse` - Print the appointments and events for the current day and exit: -`calcurse --appointment` +`calcurse {{[-a|--appointment]}}` - Remove all local calcurse items and import remote objects: diff --git a/pages/linux/caligula.md b/pages/linux/caligula.md new file mode 100644 index 00000000000000..1107d119f25125 --- /dev/null +++ b/pages/linux/caligula.md @@ -0,0 +1,12 @@ +# caligula + +> A user-friendly, lightweight TUI for disk imaging. +> More information: . + +- Flash an ISO to a drive: + +`caligula burn {{path/to/image.iso}}` + +- Flash an ISO to a drive without entering the hash interactively: + +`caligula burn {{path/to/image.iso}} {{[-s|--hash]}} {{hash}}` diff --git a/pages/linux/cam.md b/pages/linux/cam.md new file mode 100644 index 00000000000000..913d0a6ad5d1e1 --- /dev/null +++ b/pages/linux/cam.md @@ -0,0 +1,20 @@ +# cam + +> Frontend tool for `libcamera`. +> More information: . + +- List available cameras: + +`cam {{[-l|--list]}}` + +- List controls of a camera: + +`cam {{[-c|--camera]}} {{camera_index}} --list-controls` + +- Write frames to a folder: + +`cam {{[-c|--camera]}} {{camera_index}} {{[-C|--capture=]}}{{frames_to_capture}} {{[-F|--file]}}` + +- Display camera feed in a window: + +`cam {{[-c|--camera]}} {{camera_index}} {{[-C|--capture]}} {{[-S|--sdl]}}` diff --git a/pages/linux/cat.md b/pages/linux/cat.md new file mode 100644 index 00000000000000..a1f9464edb999c --- /dev/null +++ b/pages/linux/cat.md @@ -0,0 +1,28 @@ +# cat + +> Print and concatenate files. +> More information: . + +- Print the contents of a file to `stdout`: + +`cat {{path/to/file}}` + +- Concatenate several files into an output file: + +`cat {{path/to/file1 path/to/file2 ...}} > {{path/to/output_file}}` + +- Append several files to an output file: + +`cat {{path/to/file1 path/to/file2 ...}} >> {{path/to/output_file}}` + +- Write `stdin` to a file: + +`cat - > {{path/to/file}}` + +- Number all output lines: + +`cat {{[-n|--number]}} {{path/to/file}}` + +- Display non-printable and whitespace characters (with `M-` prefix if non-ASCII): + +`cat {{[-vte|--show-nonprinting -t -e]}} {{path/to/file}}` diff --git a/pages/linux/cbatticon.md b/pages/linux/cbatticon.md new file mode 100644 index 00000000000000..71ded42f738a4f --- /dev/null +++ b/pages/linux/cbatticon.md @@ -0,0 +1,32 @@ +# cbatticon + +> A lightweight and fast battery icon that sits in your system tray. +> More information: . + +- Show the battery icon in the system tray: + +`cbatticon` + +- Show the battery icon and set the update interval to 20 seconds: + +`cbatticon {{[-u|--update-interval]}} {{20}}` + +- List available icon types: + +`cbatticon {{[-t|--list-icon-types]}}` + +- Show the battery icon with a specific icon type: + +`cbatticon {{[-i|--icon-type]}} {{standard|notification|symbolic}}` + +- List available power supplies: + +`cbatticon {{[-p|--list-power-supplies]}}` + +- Show the battery icon for a specific battery: + +`cbatticon {{BAT0}}` + +- Show the battery icon and which command to execute when the battery level reaches the set critical level: + +`cbatticon {{[-r|--critical-level]}} {{5}} {{[-c|--command-critical-level]}} {{poweroff}}` diff --git a/pages/linux/cc.md b/pages/linux/cc.md new file mode 100644 index 00000000000000..c4ce95f5ab2ccd --- /dev/null +++ b/pages/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> This command is an alias of `gcc`. + +- View documentation for the original command: + +`tldr gcc` diff --git a/pages/linux/cdrdao.md b/pages/linux/cdrdao.md new file mode 100644 index 00000000000000..c0700f871913b2 --- /dev/null +++ b/pages/linux/cdrdao.md @@ -0,0 +1,8 @@ +# cdrdao + +> Read and write CDs in disc-at-once mode. +> More information: . + +- Read a CD and write its contents to a file: + +`cdrdao read-cd --device {{/dev/cdrom}} --read-raw {{image.toc}}` diff --git a/pages/linux/cec-client.md b/pages/linux/cec-client.md new file mode 100644 index 00000000000000..fcfceee150f840 --- /dev/null +++ b/pages/linux/cec-client.md @@ -0,0 +1,29 @@ +# cec-client + +> Manage serial bus CEC connections. +> See also: `cec-ctl`. +> More information: . + +- List all CEC adapters: + +`cec-client {{[-l|--list-devices]}}` + +- Start an interactive CEC session: + +`sudo cec-client` + +- Set the On-Screen Display name: + +`sudo cec-client {{[-o|--osd-name]}} {{name}}` + +- Send a single command: + +`echo {{on 0}} | sudo cec-client {{[-s|--single-command]}}` + +- Set a device to standby in interactive mode: + +`standby {{0}}` + +- Turn a device on in interactive mode: + +`on {{0}}` diff --git a/pages/linux/cec-ctl.md b/pages/linux/cec-ctl.md new file mode 100644 index 00000000000000..edba0003aa104b --- /dev/null +++ b/pages/linux/cec-ctl.md @@ -0,0 +1,17 @@ +# cec-ctl + +> Control kernel CEC devices. +> See also: `cec-client`. +> More information: . + +- List CEC devices: + +`cec-ctl --list-devices` + +- Monitor CEC traffic: + +`sudo cec-ctl {{[-m|--monitor]}}` + +- Show CEC topology: + +`cec-ctl {{[-S|--show-topology]}}` diff --git a/pages/linux/ceph.md b/pages/linux/ceph.md index 8880f9fbb678cd..b96accbd721b8a 100644 --- a/pages/linux/ceph.md +++ b/pages/linux/ceph.md @@ -1,7 +1,7 @@ # ceph > A unified storage system. -> More information: . +> More information: . - Check cluster health status: diff --git a/pages/linux/certbot.md b/pages/linux/certbot.md index 291f56530e5b86..5ddf7306bb9b2a 100644 --- a/pages/linux/certbot.md +++ b/pages/linux/certbot.md @@ -2,19 +2,19 @@ > The Let's Encrypt Agent for automatically obtaining and renewing TLS certificates. > Successor to `letsencrypt`. -> More information: . +> More information: . - Obtain a new certificate via webroot authorization, but do not install it automatically: -`sudo certbot certonly --webroot --webroot-path {{path/to/webroot}} --domain {{subdomain.example.com}}` +`sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{path/to/webroot}} {{[-d|--domain]}} {{subdomain.example.com}}` - Obtain a new certificate via nginx authorization, installing the new certificate automatically: -`sudo certbot --nginx --domain {{subdomain.example.com}}` +`sudo certbot --nginx {{[-d|--domain]}} {{subdomain.example.com}}` - Obtain a new certificate via apache authorization, installing the new certificate automatically: -`sudo certbot --apache --domain {{subdomain.example.com}}` +`sudo certbot --apache {{[-d|--domain]}} {{subdomain.example.com}}` - Renew all Let's Encrypt certificates that expire in 30 days or less (don't forget to restart any servers that use them afterwards): @@ -22,8 +22,8 @@ - Simulate the obtaining of a new certificate, but don't actually save any new certificates to disk: -`sudo certbot --webroot --webroot-path {{path/to/webroot}} --domain {{subdomain.example.com}} --dry-run` +`sudo certbot --webroot {{[-w|--webroot-path]}} {{path/to/webroot}} {{[-d|--domain]}} {{subdomain.example.com}} --dry-run` - Obtain an untrusted test certificate instead: -`sudo certbot --webroot --webroot-path {{path/to/webroot}} --domain {{subdomain.example.com}} --test-cert` +`sudo certbot --webroot {{[-w|--webroot-path]}} {{path/to/webroot}} {{[-d|--domain]}} {{subdomain.example.com}} --test-cert` diff --git a/pages/linux/certtool.md b/pages/linux/certtool.md new file mode 100644 index 00000000000000..63e0fc2f0c7dfe --- /dev/null +++ b/pages/linux/certtool.md @@ -0,0 +1,24 @@ +# certtool + +> Generate and manage X.509 certificates, keys, and PKI structures using GnuTLS. +> More information: . + +- Generate a private key and save it to a file: + +`certtool {{[-p|--generate-privkey]}} --outfile {{path/to/private.key}}` + +- Generate a self-signed certificate using a private key and a template file: + +`certtool {{[-s|--generate-self-signed]}} --load-privkey {{path/to/private.key}} --template {{path/to/info.template}} --outfile {{path/to/certificate.crt}}` + +- Generate a certificate signing request (CSR): + +`certtool {{[-q|--generate-request]}} --load-privkey {{path/to/private.key}} --template {{path/to/info.template}} --outfile {{path/to/request.csr}}` + +- Generate a certificate authority (CA) certificate: + +`certtool {{[-s|--generate-self-signed]}} --load-privkey {{path/to/ca.key}} --template {{path/to/ca.template}} --outfile {{path/to/ca.crt}}` + +- Verify a certificate against a CA certificate: + +`certtool --verify --infile {{path/to/certificate.crt}} --load-ca-certificate {{path/to/ca.crt}}` diff --git a/pages/linux/cewl.md b/pages/linux/cewl.md index 5e97adb7df6ded..cb01033ee3ef49 100644 --- a/pages/linux/cewl.md +++ b/pages/linux/cewl.md @@ -1,19 +1,19 @@ # cewl > URL spidering tool for making a cracking wordlist from web content. -> More information: . +> More information: . - Create a wordlist file from the given URL up to 2 links depth: -`cewl --depth {{2}} --write {{path/to/wordlist.txt}} {{url}}` +`cewl {{[-d|--depth]}} 2 {{[-w|--write]}} {{path/to/wordlist.txt}} {{url}}` - Output an alphanumeric wordlist from the given URL with words of minimum 5 characters: -`cewl --with-numbers --min_word_length {{5}} {{url}}` +`cewl --with-numbers {{[-m|--min_word_length]}} 5 {{url}}` - Output a wordlist from the given URL in debug mode including email addresses: -`cewl --debug --email {{url}}` +`cewl --debug {{[-e|--email]}} {{url}}` - Output a wordlist from the given URL using HTTP Basic or Digest authentication: diff --git a/pages/linux/cfdisk.md b/pages/linux/cfdisk.md index 58b8fe6768fdfa..c1fb03d2f7c5aa 100644 --- a/pages/linux/cfdisk.md +++ b/pages/linux/cfdisk.md @@ -1,7 +1,7 @@ # cfdisk -> A program for managing partition tables and partitions on a hard disk using a curses UI. -> More information: . +> Manage partition tables and partitions on a hard disk using a curses UI. +> More information: . - Start the partition manipulator with a specific device: @@ -9,4 +9,4 @@ - Create a new partition table for a specific device and manage it: -`cfdisk --zero {{/dev/sdX}}` +`cfdisk {{[-z|--zero]}} {{/dev/sdX}}` diff --git a/pages/linux/cgclassify.md b/pages/linux/cgclassify.md new file mode 100644 index 00000000000000..9eba48df627968 --- /dev/null +++ b/pages/linux/cgclassify.md @@ -0,0 +1,16 @@ +# cgclassify + +> Move running tasks to `cgroups`. +> More information: . + +- Move the process with a specific PID to the control [g]roup student in the CPU hierarchy: + +`cgclassify -g {{cpu:student}} {{1234}}` + +- Move the process with a specific PID to control groups based on the `/etc/cgrules.conf` configuration file: + +`cgclassify {{1234}}` + +- Move the process with a specific PID to the control [g]roup student in the CPU hierarchy. Note: The daemon of the service `cgred` does not change `cgroups` of the specific PID and its children (based on `/etc/cgrules.conf`): + +`cgclassify --sticky -g {{cpu:/student}} {{1234}}` diff --git a/pages/linux/cgcreate.md b/pages/linux/cgcreate.md new file mode 100644 index 00000000000000..1ee5c424749ad7 --- /dev/null +++ b/pages/linux/cgcreate.md @@ -0,0 +1,17 @@ +# cgcreate + +> Create cgroups, used to limit, measure, and control resources used by processes. +> `cgroups` types can be `memory`, `cpu`, `net_cls`, etc. +> More information: . + +- Create a new [g]roup: + +`cgcreate -g {{group_type}}:{{group_name}}` + +- Create a new [g]roup with multiple cgroup types: + +`cgcreate -g {{group_type1}},{{group_type2}}:{{group_name}}` + +- Create a subgroup: + +`mkdir /sys/fs/cgroup/{{group_type}}/{{group_name}}/{{subgroup_name}}` diff --git a/pages/linux/cgexec.md b/pages/linux/cgexec.md new file mode 100644 index 00000000000000..4f3d6edf668fdc --- /dev/null +++ b/pages/linux/cgexec.md @@ -0,0 +1,9 @@ +# cgexec + +> Limit, measure, and control resources used by processes. +> Multiple cgroup types (aka controllers) exist, such as `cpu`, `memory`, etc. +> More information: . + +- Execute a process in a given c[g]roup with given controller: + +`cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}` diff --git a/pages/linux/cgroups.md b/pages/linux/cgroups.md new file mode 100644 index 00000000000000..c50248164962c7 --- /dev/null +++ b/pages/linux/cgroups.md @@ -0,0 +1,17 @@ +# cgroups + +> Cgroups aka control groups is a Linux kernel feature for limiting, measuring, and controlling resource usage by processes. +> Cgroups however is not a command, but rather a collection of commands, see the relevant pages below. +> More information: . + +- View documentation for `cgclassify`: + +`tldr cgclassify` + +- View documentation for `cgcreate`: + +`tldr cgcreate` + +- View documentation for `cgexec`: + +`tldr cgexec` diff --git a/pages/linux/chage.md b/pages/linux/chage.md index 6edcb2f9337222..7eeed651955d37 100644 --- a/pages/linux/chage.md +++ b/pages/linux/chage.md @@ -1,23 +1,28 @@ # chage > Change user account and password expiry information. +> More information: . - List password information for the user: -`chage -l {{username}}` +`chage {{[-l|--list]}} {{username}}` - Enable password expiration in 10 days: -`sudo chage -M {{10}} {{username}}` +`sudo chage {{[-M|--maxdays]}} {{10}} {{username}}` - Disable password expiration: -`sudo chage -M -1 {{username}}` +`sudo chage {{[-M|--maxdays]}} {{-1}} {{username}}` - Set account expiration date: -`sudo chage -E {{YYYY-MM-DD}}` +`sudo chage {{[-E|--expiredate]}} {{YYYY-MM-DD}} {{username}}` - Force user to change password on next log in: -`sudo chage -d 0` +`sudo chage {{[-d|--lastday]}} {{0}} {{username}}` + +- Re-enable an account: + +`sudo chage {{[-E|--expiredate]}} -1 {{username}}` diff --git a/pages/linux/chat.md b/pages/linux/chat.md new file mode 100644 index 00000000000000..1a495f16f947e2 --- /dev/null +++ b/pages/linux/chat.md @@ -0,0 +1,33 @@ +# chat + +> Automate conversations with a modem or serial device. +> Commonly used to establish PPP (Point-to-Point Protocol) connections. +> More information: . + +- Execute a chat script directly from the command line: + +`chat '{{expect_send_pairs}}'` + +- Execute a chat script from a file: + +`chat -f '{{path/to/chat_script}}'` + +- Set a custom timeout (in seconds) for expecting a response: + +`chat -t {{timeout_in_seconds}} '{{expect_send_pairs}}'` + +- Enable verbose output to log the conversation to `syslog`: + +`chat -v '{{expect_send_pairs}}'` + +- Use a report file to log specific strings received during the conversation: + +`chat -r {{path/to/report_file}} '{{expect_send_pairs}}'` + +- Dial a phone number using a variable, substituting `\T` in the script: + +`chat -T '{{phone_number}}' '{{"ATDT\\T CONNECT"}}'` + +- Include an abort condition if a specific string is received: + +`chat 'ABORT "{{error_string}}" {{expect_send_pairs}}'` diff --git a/pages/linux/chattr.md b/pages/linux/chattr.md index 54a5446b7070ee..32b55dad6c0bb0 100644 --- a/pages/linux/chattr.md +++ b/pages/linux/chattr.md @@ -1,8 +1,9 @@ # chattr > Change attributes of files or directories. +> More information: . -- Make a file or directory immutable to changes and deletion, even by superuser: +- Make a file or directory [i]mmutable to changes and deletion, even by superuser: `chattr +i {{path/to/file_or_directory}}` @@ -10,6 +11,14 @@ `chattr -i {{path/to/file_or_directory}}` -- Recursively make an entire directory and contents immutable: +- [R]ecursively make an entire directory and contents immutable: `chattr -R +i {{path/to/directory}}` + +- Mark a directory and its files to be interpreted in a case-insensitive manner: + +`chattr +F {{path/to/directory}}` + +- Set a file to only allow [a]ppending: + +`chattr +a {{path/to/file}}` diff --git a/pages/linux/chcat.md b/pages/linux/chcat.md new file mode 100644 index 00000000000000..2566f630d692bf --- /dev/null +++ b/pages/linux/chcat.md @@ -0,0 +1,30 @@ +# chcat + +> Change SELinux security category for files. +> Categories provide an additional level of access control based on MCS (Multi-Category Security). +> See also: `chcon`, `semanage`. +> More information: . + +- List all available categories: + +`sudo chcat {{[-L|--list]}}` + +- Add a category to a file: + +`sudo chcat +{{CategoryName}} {{path/to/file}}` + +- Remove a category from a file: + +`sudo chcat -- -{{CategoryName}} {{path/to/file}}` + +- Set specific categories for a file (replacing existing ones): + +`sudo chcat {{CategoryName1,CategoryName2,...}} {{path/to/file}}` + +- Display the categories of a file: + +`ls {{[-Z|--context]}} {{path/to/file}}` + +- Remove all categories from a file: + +`sudo chcat {{[-d|--delete]}} {{path/to/file}}` diff --git a/pages/linux/chcon.md b/pages/linux/chcon.md new file mode 100644 index 00000000000000..e199dee0e8bbb5 --- /dev/null +++ b/pages/linux/chcon.md @@ -0,0 +1,33 @@ +# chcon + +> Change SELinux security context of a file or files/directories. +> See also: `secon`, `restorecon`, `semanage-fcontext`. +> More information: . + +- View security context of a file: + +`ls {{[-lZ|-l --context]}} {{path/to/file}}` + +- Change the security context of a target file, using a reference file: + +`chcon --reference {{reference_file}} {{target_file}}` + +- Change the full SELinux security context of a file: + +`chcon {{user}}:{{role}}:{{type}}:{{range/level}} {{filename}}` + +- Change only the user part of SELinux security context: + +`chcon {{[-u|--user]}} {{user}} {{filename}}` + +- Change only the role part of SELinux security context: + +`chcon {{[-r|--role]}} {{role}} {{filename}}` + +- Change only the type part of SELinux security context: + +`chcon {{[-t|--type]}} {{type}} {{filename}}` + +- Change only the range/level part of SELinux security context: + +`chcon {{[-l|--range]}} {{range/level}} {{filename}}` diff --git a/pages/linux/chcpu.md b/pages/linux/chcpu.md index 3c761c639c6d4b..d3e34a83818699 100644 --- a/pages/linux/chcpu.md +++ b/pages/linux/chcpu.md @@ -1,11 +1,12 @@ # chcpu > Enable/disable a system's CPUs. +> More information: . -- Disable CPUs via a list of CPU ID numbers: +- Disable one or more CPUs by their IDs: -`chcpu -d {{1,3}}` +`chcpu {{[-d|--disable]}} {{1,3}}` -- Enable a set of CPUs via a range of CPU ID numbers: +- Enable one or more ranges of CPUs by their IDs: -`chcpu -e {{1-10}}` +`chcpu {{[-e|--enable]}} {{1-3,5-7}}` diff --git a/pages/linux/check-dfsg-status.md b/pages/linux/check-dfsg-status.md new file mode 100644 index 00000000000000..5433b53d21e898 --- /dev/null +++ b/pages/linux/check-dfsg-status.md @@ -0,0 +1,13 @@ +# check-dfsg-status + +> Report non-free packages installed on Debian-based OSes. +> This command was formerly known as `vrms`. +> More information: . + +- List non-free and contrib packages (and their description): + +`check-dfsg-status` + +- Only output the package names: + +`check-dfsg-status {{[-s|--sparse]}}` diff --git a/pages/linux/check-language-support.md b/pages/linux/check-language-support.md new file mode 100644 index 00000000000000..eec8c04a31ac13 --- /dev/null +++ b/pages/linux/check-language-support.md @@ -0,0 +1,16 @@ +# check-language-support + +> Display a list of missing language packages on Ubuntu. +> More information: . + +- Display a list of missing language packages based on installed software and enabled locales: + +`check-language-support` + +- List packages for a specific locale: + +`check-language-support {{[-l|--language]}} {{en}}` + +- Display installed packages as well as missing ones: + +`check-language-support --show-installed` diff --git a/pages/linux/check-support-status.md b/pages/linux/check-support-status.md index 606a57e63a442a..fb8fd65fd5ebe5 100644 --- a/pages/linux/check-support-status.md +++ b/pages/linux/check-support-status.md @@ -1,7 +1,7 @@ # check-support-status > Identify installed Debian packages for which support has had to be limited or prematurely ended. -> More information: . +> More information: . - Display packages whose support is limited, has already ended or will end earlier than the distribution's end of life: diff --git a/pages/linux/checkinstall.md b/pages/linux/checkinstall.md new file mode 100644 index 00000000000000..0e5a3496d0443d --- /dev/null +++ b/pages/linux/checkinstall.md @@ -0,0 +1,24 @@ +# checkinstall + +> Track the local installation of a software package, and produce a binary package which can be used with a system's native package manager. +> More information: . + +- Create and install a package with default settings: + +`sudo checkinstall {{[-y|--default]}}` + +- Create a package but don't install it: + +`sudo checkinstall --install={{no}}` + +- Create a package without documentation: + +`sudo checkinstall --nodoc` + +- Create a package and set the name: + +`sudo checkinstall --pkgname {{package}}` + +- Create a package and specify where to save it: + +`sudo checkinstall --pakdir {{path/to/directory}}` diff --git a/pages/linux/checkupdates-aur.md b/pages/linux/checkupdates-aur.md new file mode 100644 index 00000000000000..937b8aa5cd4229 --- /dev/null +++ b/pages/linux/checkupdates-aur.md @@ -0,0 +1,16 @@ +# checkupdates-aur + +> Check pending updates from the Arch User Repository (AUR). +> More information: . + +- List pending updates for AUR packages: + +`checkupdates-aur` + +- List pending updates for AUR packages in debug mode: + +`CHECKUPDATES_DEBUG=1 checkupdates-aur` + +- Display help: + +`checkupdates-aur --help` diff --git a/pages/linux/checkupdates.md b/pages/linux/checkupdates.md new file mode 100644 index 00000000000000..5ab2495af8ddf8 --- /dev/null +++ b/pages/linux/checkupdates.md @@ -0,0 +1,28 @@ +# checkupdates + +> Check pending updates in Arch Linux. +> More information: . + +- Synchronize the database and list pending updates: + +`checkupdates` + +- List pending updates without syncing the database: + +`checkupdates {{[-n|--nosync]}}` + +- Display the list of pending updates if it differs from the last time this option was used: + +`checkupdates {{[-c|--change]}}` + +- List pending updates and download the packages to the `pacman` cache (`/var/cache/pacman/pkg`): + +`checkupdates {{[-d|--download]}}` + +- List pending updates using a specific `pacman` database: + +`CHECKUPDATES_DB={{path/to/directory}} checkupdates` + +- Display help: + +`checkupdates {{[-h|--help]}}` diff --git a/pages/linux/chfn.md b/pages/linux/chfn.md index 10429826316682..604a132bc51d9b 100644 --- a/pages/linux/chfn.md +++ b/pages/linux/chfn.md @@ -1,19 +1,20 @@ # chfn > Update `finger` info for a user. +> More information: . - Update a user's "Name" field in the output of `finger`: -`chfn -f {{new_display_name}} {{username}}` +`chfn {{[-f|--full-name]}} {{new_display_name}} {{username}}` - Update a user's "Office Room Number" field for the output of `finger`: -`chfn -o {{new_office_room_number}} {{username}}` +`chfn {{[-o|--office]}} {{new_office_room_number}} {{username}}` - Update a user's "Office Phone Number" field for the output of `finger`: -`chfn -p {{new_office_telephone_number}} {{username}}` +`chfn {{[-p|--office-phone]}} {{new_office_telephone_number}} {{username}}` - Update a user's "Home Phone Number" field for the output of `finger`: -`chfn -h {{new_home_telephone_number}} {{username}}` +`chfn {{[-h|--home-phone]}} {{new_home_telephone_number}} {{username}}` diff --git a/pages/linux/chkconfig.md b/pages/linux/chkconfig.md index 8ce18f285ec0fb..f20847ff3a690e 100644 --- a/pages/linux/chkconfig.md +++ b/pages/linux/chkconfig.md @@ -1,6 +1,7 @@ # chkconfig > Manage the runlevel of services on CentOS 6. +> More information: . - List services with runlevel: diff --git a/pages/linux/chmem.md b/pages/linux/chmem.md new file mode 100644 index 00000000000000..15d14d94722406 --- /dev/null +++ b/pages/linux/chmem.md @@ -0,0 +1,29 @@ +# chmem + +> Modify the state of memory blocks (online or offline) in a Linux system. +> Typically used in virtualized environments to manage memory hotplug. +> More information: . + +- Set a memory block offline: + +`sudo chmem {{[-b|--block]}} {{[-d|--disable]}} {{block_number}}` + +- Set a memory block online: + +`sudo chmem {{[-b|--block]}} {{[-e|--enable]}} {{block_number}}` + +- Set a memory range offline using hexadecimal addresses: + +`sudo chmem {{[-d|--disable]}} 0x{{start_address}}-0x{{end_address}}` + +- Set a memory range online using hexadecimal addresses: + +`sudo chmem {{[-e|--enable]}} 0x{{start_address}}-0x{{end_address}}` + +- Set memory online and assign it to a specific zone (e.g., Movable): + +`sudo chmem {{[-e|--enable]}} 0x{{start_address}} {{[-z|--zone]}} {{Movable}}` + +- Display help: + +`chmem {{[-h|--help]}}` diff --git a/pages/linux/chntpw.md b/pages/linux/chntpw.md new file mode 100644 index 00000000000000..25cafec8079b79 --- /dev/null +++ b/pages/linux/chntpw.md @@ -0,0 +1,17 @@ +# chntpw + +> A utility that can edit windows registry, reset user password, promote users to administrator by modifying the Windows SAM. +> Boot target machine with live cd like Kali Linux and run with elevated privileges. +> More information: . + +- List all users in the SAM file: + +`chntpw -l {{path/to/sam_file}}` + +- Edit user interactively: + +`chntpw -u {{username}} {{path/to/sam_file}}` + +- Use chntpw interactively: + +`chntpw -i {{path/to/sam_file}}` diff --git a/pages/linux/choom.md b/pages/linux/choom.md new file mode 100644 index 00000000000000..e7135256ccbc2a --- /dev/null +++ b/pages/linux/choom.md @@ -0,0 +1,16 @@ +# choom + +> Display and change the adjust out-of-memory killer score. +> More information: . + +- Display the OOM-killer score of the process with a specific ID: + +`choom {{[-p|--pid]}} {{pid}}` + +- Change the adjust OOM-killer score of a specific process: + +`choom {{[-p|--pid]}} {{pid}} {{[-n|--adjust]}} {{-1000..+1000}}` + +- Run a command with a specific adjust OOM-killer score: + +`choom {{[-n|--adjust]}} {{-1000..+1000}} {{command}} {{argument1 argument2 ...}}` diff --git a/pages/linux/chpasswd.md b/pages/linux/chpasswd.md new file mode 100644 index 00000000000000..8af261b882b5fe --- /dev/null +++ b/pages/linux/chpasswd.md @@ -0,0 +1,20 @@ +# chpasswd + +> Change the passwords for multiple users by using `stdin`. +> More information: . + +- Change the password for a specific user: + +`printf "{{username}}:{{new_password}}" | sudo chpasswd` + +- Change the passwords for multiple users (The input text must not contain any spaces.): + +`printf "{{username_1}}:{{new_password_1}}\n{{username_2}}:{{new_password_2}}" | sudo chpasswd` + +- Change the password for a specific user, and specify it in encrypted form: + +`printf "{{username}}:{{new_encrypted_password}}" | sudo chpasswd --encrypted` + +- Change the password for a specific user, and use a specific encryption for the stored password: + +`printf "{{username}}:{{new_password}}" | sudo chpasswd --crypt-method {{NONE|DES|MD5|SHA256|SHA512}}` diff --git a/pages/linux/chrt.md b/pages/linux/chrt.md new file mode 100644 index 00000000000000..37e3084c29ae42 --- /dev/null +++ b/pages/linux/chrt.md @@ -0,0 +1,24 @@ +# chrt + +> Manipulate the real-time attributes of a process. +> More information: . + +- Display attributes of a process: + +`chrt {{[-p|--pid]}} {{PID}}` + +- Display attributes of all threads of a process: + +`chrt {{[-a|--all-tasks]}} {{[-p|--pid]}} {{PID}}` + +- Display the min/max priority values that can be used with `chrt`: + +`chrt {{[-m|--max]}}` + +- Set the scheduling priority of a process: + +`chrt {{[-p|--pid]}} {{priority}} {{PID}}` + +- Set the scheduling policy of a process: + +`chrt --{{deadline|idle|batch|rr|fifo|other}} {{[-p|--pid]}} {{priority}} {{PID}}` diff --git a/pages/linux/chsh.md b/pages/linux/chsh.md new file mode 100644 index 00000000000000..5a0b1e0874abba --- /dev/null +++ b/pages/linux/chsh.md @@ -0,0 +1,21 @@ +# chsh + +> Change user's login shell. +> Part of `util-linux`. +> More information: . + +- Set a specific login shell for the current user interactively: + +`chsh` + +- List available shells: + +`chsh {{[-l|--list-shells]}}` + +- Set a specific login shell for the current user: + +`chsh {{[-s|--shell]}} {{path/to/shell}}` + +- Set a login shell for a specific user: + +`sudo chsh {{[-s|--shell]}} {{path/to/shell}} {{username}}` diff --git a/pages/linux/chvt.md b/pages/linux/chvt.md new file mode 100644 index 00000000000000..85866995427002 --- /dev/null +++ b/pages/linux/chvt.md @@ -0,0 +1,8 @@ +# chvt + +> Change foreground virtual terminal. +> More information: . + +- Change to a specific TTY: + +`sudo chvt {{3}}` diff --git a/pages/linux/clamav.md b/pages/linux/clamav.md deleted file mode 100644 index 5b0abef721ceb6..00000000000000 --- a/pages/linux/clamav.md +++ /dev/null @@ -1,21 +0,0 @@ -# clamav - -> Open-source anti-virus program. -> Designed especially for e-mail scanning on mail gateways, but can be used in other contexts. -> More information: . - -- Update virus definitions: - -`freshclam` - -- Scan a file for viruses: - -`clamscan {{path/to/file}}` - -- Scan directories recursively and print out infected files: - -`clamscan --recursive --infected {{path/to/directory}}` - -- Scan directories recursively and move them into quarantine: - -`clamscan --recursive --move={{directory}}` diff --git a/pages/linux/cloud-init.md b/pages/linux/cloud-init.md new file mode 100644 index 00000000000000..323f8283f64679 --- /dev/null +++ b/pages/linux/cloud-init.md @@ -0,0 +1,24 @@ +# cloud-init + +> Manage cloud instance initialization. +> More information: . + +- Display the status of the most recent cloud-init run: + +`cloud-init status` + +- Wait for cloud-init to finish running and then report status: + +`cloud-init status --wait` + +- List available top-level metadata keys to query: + +`cloud-init query --list-keys` + +- Query cached instance metadata for data: + +`cloud-init query {{dot_delimited_variable_path}}` + +- Clean logs and artifacts to allow cloud-init to rerun: + +`cloud-init clean` diff --git a/pages/linux/cmus.md b/pages/linux/cmus.md index c7d9fb22e1013b..9881da4ed7b7f9 100644 --- a/pages/linux/cmus.md +++ b/pages/linux/cmus.md @@ -1,24 +1,34 @@ # cmus -> Commandline Music Player. -> Use arrow keys to navigate, `` to select, and numbers 1-8 switch between different views. +> Command-line Music Player. +> Use `` to navigate, `` to select, and numbers `<1>`-`<8>` switch between different views. +> See also: `ncmpcpp`, `clementine`, `qmmp`. +> More information: . -- Open cmus from specified directory: +- Open `cmus` into the specified directory (this will become your new working directory): `cmus {{path/to/directory}}` - Add file/directory to library: -`:add {{path/to/file_or_directory}}` +`<:>add {{path/to/file_or_directory}}` + +- Refresh the metadata of songs in the library: + +`<:>update-cache` + +- Search for songs, albums, or artists: + +`{{something}}` - Pause/unpause current song: -`c` +`` - Toggle shuffle mode on/off: -`s` +`` -- Quit cmus: +- Quit `cmus`: -`q` +`` diff --git a/pages/linux/cockpit-bridge.md b/pages/linux/cockpit-bridge.md new file mode 100644 index 00000000000000..f0929f61c3a7f9 --- /dev/null +++ b/pages/linux/cockpit-bridge.md @@ -0,0 +1,12 @@ +# cockpit-bridge + +> Relay messages and commands between the front end and server in the cockpit suite. +> More information: . + +- List all cockpit packages: + +`cockpit-bridge --packages` + +- Display help: + +`cockpit-bridge --help` diff --git a/pages/linux/cockpit-desktop.md b/pages/linux/cockpit-desktop.md new file mode 100644 index 00000000000000..b3ac993a4b2491 --- /dev/null +++ b/pages/linux/cockpit-desktop.md @@ -0,0 +1,13 @@ +# cockpit-desktop + +> Securely access Cockpit pages in a running session. +> It starts `cockpit-ws` and a web browser in an isolated network space and a `cockpit-bridge` in a running user session. +> More information: . + +- Open a page: + +`cockpit-desktop {{url}} {{SSH_host}}` + +- Open storage page: + +`cockpit-desktop {{/cockpit/@localhost/storage/index.html}}` diff --git a/pages/linux/cockpit-tls.md b/pages/linux/cockpit-tls.md new file mode 100644 index 00000000000000..5ff2e0ae338b82 --- /dev/null +++ b/pages/linux/cockpit-tls.md @@ -0,0 +1,12 @@ +# cockpit-tls + +> TLS terminating HTTP proxy to encrypt traffic between a client and `cockpit-ws`. +> More information: . + +- Serve HTTP requests to a specific port instead of port `9090`: + +`cockpit-tls --port {{port}}` + +- Display help: + +`cockpit-tls --help` diff --git a/pages/linux/cockpit-ws.md b/pages/linux/cockpit-ws.md new file mode 100644 index 00000000000000..b63d8afeaba695 --- /dev/null +++ b/pages/linux/cockpit-ws.md @@ -0,0 +1,24 @@ +# cockpit-ws + +> Communicate between the browser application and various configuration tools and services like `cockpit-bridge`. +> More information: . + +- Start with authentication via SSH at `127.0.0.1` with port `22` enabled: + +`cockpit-ws --local-ssh` + +- Start an HTTP server on a specific port: + +`cockpit-ws --port {{port}}` + +- Start and bind to a specific IP address (defaults to `0.0.0.0`): + +`cockpit-ws --address {{ip_address}}` + +- Start without TLS: + +`cockpit-ws --no-tls` + +- Display help: + +`cockpit-ws --help` diff --git a/pages/linux/cointop.md b/pages/linux/cointop.md new file mode 100644 index 00000000000000..112ece8caf6d93 --- /dev/null +++ b/pages/linux/cointop.md @@ -0,0 +1,24 @@ +# cointop + +> Track and monitor cryptocurrencies in the terminal. +> More information: . + +- Open TUI: + +`cointop` + +- Clear the cache: + +`cointop clean` + +- Display current holdings legibly: + +`cointop holdings --human` + +- Check price of coin(s): + +`cointop price --coins {{coin_name1,coin_name2,...}}` + +- Display version: + +`cointop version` diff --git a/pages/linux/collectd.md b/pages/linux/collectd.md index b2fc04d10fdf0e..723a269f5c0be8 100644 --- a/pages/linux/collectd.md +++ b/pages/linux/collectd.md @@ -1,11 +1,7 @@ # collectd > System statistics collection daemon. -> More information: . - -- Show usage help, including the program version: - -`collectd -h` +> More information: . - Test the configuration file and then exit: @@ -15,7 +11,7 @@ `collectd -T` -- Start collectd: +- Start `collectd`: `collectd` @@ -30,3 +26,7 @@ - Don't fork into the background: `collectd -f` + +- Display help and version: + +`collectd -h` diff --git a/pages/linux/colrm.md b/pages/linux/colrm.md index a5b98ee8b5744d..2c0693eb5303e8 100644 --- a/pages/linux/colrm.md +++ b/pages/linux/colrm.md @@ -1,6 +1,7 @@ # colrm > Remove columns from `stdin`. +> More information: . - Remove first column of `stdin`: diff --git a/pages/linux/column.md b/pages/linux/column.md new file mode 100644 index 00000000000000..00dad182fa5f0a --- /dev/null +++ b/pages/linux/column.md @@ -0,0 +1,21 @@ +# column + +> Format `stdin` or a file into multiple columns. +> Columns are filled before rows; the default separator is a whitespace. +> More information: . + +- Format the output of a command for a 30 characters wide display: + +`printf "header1 header2\nbar foo\n" | column {{[-c|--output-width]}} {{30}}` + +- Split columns automatically and auto-align them in a tabular format: + +`printf "header1 header2\nbar foo\n" | column {{[-t|--table]}}` + +- Specify the column delimiter character for the `--table` option (e.g. "," for CSV) (defaults to whitespace): + +`printf "header1,header2\nbar,foo\n" | column {{[-t|--table]}} {{[-s|--separator]}} {{,}}` + +- Fill rows before filling columns: + +`printf "header1\nbar\nfoobar\n" | column {{[-c|--output-width]}} {{30}} {{[-x|--fillrows]}}` diff --git a/pages/linux/compgen.md b/pages/linux/compgen.md deleted file mode 100644 index 15e35051948370..00000000000000 --- a/pages/linux/compgen.md +++ /dev/null @@ -1,23 +0,0 @@ -# compgen - -> A built-in command for auto-completion in bash, which is called on pressing TAB key twice. - -- List all commands that you could run: - -`compgen -c` - -- List all aliases: - -`compgen -a` - -- List all functions that you could run: - -`compgen -A function` - -- Show shell reserved key words: - -`compgen -k` - -- See all available commands/aliases starting with 'ls': - -`compgen -ac {{ls}}` diff --git a/pages/linux/compose.md b/pages/linux/compose.md index 3930de4920f67e..7de476d507167c 100644 --- a/pages/linux/compose.md +++ b/pages/linux/compose.md @@ -2,6 +2,7 @@ > An alias to a `run-mailcap`'s action compose. > Originally `run-mailcap` is used to mime-type/file. +> More information: . - Compose action can be used to compose any existing file or new on default mailcap edit tool: diff --git a/pages/linux/compress.md b/pages/linux/compress.md new file mode 100644 index 00000000000000..b2440390524c1c --- /dev/null +++ b/pages/linux/compress.md @@ -0,0 +1,28 @@ +# compress + +> Compress files using the Unix `compress` command. +> More information: . + +- Compress specific files: + +`compress {{path/to/file1 path/to/file2 ...}}` + +- Compress specific files, ignore non-existent ones: + +`compress -f {{path/to/file1 path/to/file2 ...}}` + +- Specify the maximum compression bits (9-16 bits): + +`compress -b {{bits}}` + +- Write to `stdout` (no files are changed): + +`compress -c {{path/to/file}}` + +- Decompress files (functions like `uncompress`): + +`compress -d {{path/to/file}}` + +- Display compression percentage: + +`compress -v {{path/to/file}}` diff --git a/pages/linux/compseq.md b/pages/linux/compseq.md new file mode 100644 index 00000000000000..e9c519c6a9ad79 --- /dev/null +++ b/pages/linux/compseq.md @@ -0,0 +1,36 @@ +# compseq + +> Calculate the composition of unique words in sequences. +> More information: . + +- Count observed frequencies of words in a FASTA file, providing parameter values with interactive prompt: + +`compseq {{path/to/file.fasta}}` + +- Count observed frequencies of amino acid pairs from a FASTA file, save output to a text file: + +`compseq {{path/to/input_protein.fasta}} -word 2 {{path/to/output_file.comp}}` + +- Count observed frequencies of hexanucleotides from a FASTA file, save output to a text file and ignore zero counts: + +`compseq {{path/to/input_dna.fasta}} -word 6 {{path/to/output_file.comp}} -nozero` + +- Count observed frequencies of codons in a particular reading frame; ignoring any overlapping counts (i.e. move window across by word-length 3): + +`compseq -sequence {{path/to/input_rna.fasta}} -word 3 {{path/to/output_file.comp}} -nozero -frame {{1}}` + +- Count observed frequencies of codons frame-shifted by 3 positions; ignoring any overlapping counts (should report all codons except the first one): + +`compseq -sequence {{path/to/input_rna.fasta}} -word 3 {{path/to/output_file.comp}} -nozero -frame 3` + +- Count amino acid triplets in a FASTA file and compare to a previous run of `compseq` to calculate expected and normalised frequency values: + +`compseq -sequence {{path/to/human_proteome.fasta}} -word 3 {{path/to/output_file1.comp}} -nozero -infile {{path/to/output_file2.comp}}` + +- Approximate the above command without a previously prepared file, by calculating expected frequencies using the single base/residue frequencies in the supplied input sequence(s): + +`compseq -sequence {{path/to/human_proteome.fasta}} -word 3 {{path/to/output_file.comp}} -nozero -calcfreq` + +- Display help (use `-help -verbose` for more information on associated and general qualifiers): + +`compseq -help` diff --git a/pages/linux/compsize.md b/pages/linux/compsize.md new file mode 100644 index 00000000000000..2cd5af0e474483 --- /dev/null +++ b/pages/linux/compsize.md @@ -0,0 +1,17 @@ +# compsize + +> Calculate the compression ratio of a set of files on a btrfs filesystem. +> See also: `btrfs filesystem` for recompressing a file by defragmenting it. +> More information: . + +- Calculate the current compression ratio for a file or directory: + +`sudo compsize {{path/to/file_or_directory}}` + +- Don't traverse filesystem boundaries: + +`sudo compsize {{[-x|--one-file-system]}} {{path/to/file_or_directory}}` + +- Show raw byte counts instead of human-readable sizes: + +`sudo compsize {{[-b|--bytes]}} {{path/to/file_or_directory}}` diff --git a/pages/linux/conky.md b/pages/linux/conky.md index 4cdc80fe793fb3..3a7a69e1f45b78 100644 --- a/pages/linux/conky.md +++ b/pages/linux/conky.md @@ -9,20 +9,20 @@ - Create a new default config: -`conky -C > ~/.conkyrc` +`conky {{[-C|--print-config]}} > ~/.conkyrc` -- Launch conky with a given config file: +- Launch Conky with a given configuration file: -`conky -c {{path/to/config}}` +`conky {{[-c|--config]}} {{path/to/config}}` - Start in the background (daemonize): -`conky -d` +`conky {{[-d|--daemonize]}}` -- Align conky on the desktop: +- Align Conky on the desktop: -`conky -a {{{top,bottom,middle}_{left,right,middle}}}` +`conky {{[-a|--alignment]}} {{top|bottom|middle}}_{{left|right|middle}}` - Pause for 5 seconds at startup before launching: -`conky -p {{5}}` +`conky {{[-p|--pause]}} {{5}}` diff --git a/pages/linux/conntrack.md b/pages/linux/conntrack.md new file mode 100644 index 00000000000000..4f9026aec8158e --- /dev/null +++ b/pages/linux/conntrack.md @@ -0,0 +1,25 @@ +# conntrack + +> Interact with the Netfilter connection tracking system. +> Search, list, inspect, modify, and delete connection flows. +> More information: . + +- List all currently tracked connections: + +`conntrack {{[-L|--dump]}}` + +- Display a real-time event log of connection changes: + +`conntrack {{[-E|--event]}}` + +- Display a real-time event log of connection changes and associated timestamps: + +`conntrack {{[-E|--event]}} {{[-o|--output]}} timestamp` + +- Display a real-time event log of connection changes for a specific IP address: + +`conntrack {{[-E|--event]}} {{[-s|--orig-src]}} {{ip_address}}` + +- Delete all flows for a specific source IP address: + +`conntrack {{[-D|--delete]}} {{[-s|--orig-src]}} {{ip_address}}` diff --git a/pages/linux/coredumpctl.md b/pages/linux/coredumpctl.md new file mode 100644 index 00000000000000..7c52f88424ae54 --- /dev/null +++ b/pages/linux/coredumpctl.md @@ -0,0 +1,32 @@ +# coredumpctl + +> Retrieve and process saved core dumps and metadata. +> More information: . + +- List all captured core dumps: + +`coredumpctl` + +- List captured core dumps for a program: + +`coredumpctl list {{program}}` + +- Show information about the core dumps matching a program with `PID`: + +`coredumpctl info {{PID}}` + +- Invoke debugger using the last core dump: + +`coredumpctl debug` + +- Invoke debugger using the last core dump of a program: + +`coredumpctl debug {{program}}` + +- Extract the last core dump of a program to a file: + +`coredumpctl {{[-o|--output]}} {{path/to/file}} dump {{program}}` + +- Skip debuginfod and pagination prompts and then print the backtrace when using `gdb`: + +`coredumpctl debug {{[-A|--debugger-arguments]}} "-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt"` diff --git a/pages/linux/counter-strike-2.md b/pages/linux/counter-strike-2.md new file mode 100644 index 00000000000000..3d031bc9a7d705 --- /dev/null +++ b/pages/linux/counter-strike-2.md @@ -0,0 +1,20 @@ +# Counter Strike 2 + +> Host a headless Counter Strike 2 server. +> More information: . + +- Run a game with one map: + +`{{path/to/cs2}} -dedicated +map {{de_dust2}}` + +- Run a game with specified maximum number of players: + +`{{path/to/cs2}} -dedicated +map {{de_dust2}} -maxplayers {{64}}` + +- Run a game with specified server IP and port: + +`{{path/to/cs2}} -dedicated +map {{de_dust2}} -ip {{1.2.3.4}} -port {{27015}}` + +- Shut the server down: + +`quit` diff --git a/pages/linux/cp.md b/pages/linux/cp.md deleted file mode 100644 index ede074ec3fb2f9..00000000000000 --- a/pages/linux/cp.md +++ /dev/null @@ -1,31 +0,0 @@ -# cp - -> Copy files and directories. - -- Copy a file to another location: - -`cp {{path/to/source_file.ext}} {{path/to/target_file.ext}}` - -- Copy a file into another directory, keeping the filename: - -`cp {{path/to/source_file.ext}} {{path/to/target_parent_directory}}` - -- Recursively copy a directory's contents to another location (if the destination exists, the directory is copied inside it): - -`cp -r {{path/to/source_directory}} {{path/to/target_directory}}` - -- Copy a directory recursively, in verbose mode (shows files as they are copied): - -`cp -vr {{path/to/source_directory}} {{path/to/target_directory}}` - -- Copy text files to another location, in interactive mode (prompts user before overwriting): - -`cp -i {{*.txt}} {{path/to/target_directory}}` - -- Dereference symbolic links before copying: - -`cp -L {{link}} {{path/to/target_directory}}` - -- Use the full path of source files, creating any missing intermediate directories when copying: - -`cp --parents {{source/path/to/file}} {{path/to/target_file}}` diff --git a/pages/linux/cpufreq-aperf.md b/pages/linux/cpufreq-aperf.md index f18f3e3c3f792e..a8bccaac41afc3 100644 --- a/pages/linux/cpufreq-aperf.md +++ b/pages/linux/cpufreq-aperf.md @@ -2,6 +2,7 @@ > Calculate the average CPU frequency over a time period. > Requires root privileges. +> More information: . - Start calculating, defaulting to all CPU cores and 1 second refresh interval: @@ -9,12 +10,12 @@ - Start calculating for CPU 1 only: -`sudo cpufreq-aperf -c {{1}}` +`sudo cpufreq-aperf {{[-c|--cpu]}} {{1}}` -- Start calculating with a 3 seconds refresh interval for all CPU cores: +- Start calculating with a 3 second refresh interval for all CPU cores: -`sudo cpufreq-aperf -i {{3}}` +`sudo cpufreq-aperf {{[-i|--interval]}} {{3}}` - Calculate only once: -`sudo cpufreq-aperf -o` +`sudo cpufreq-aperf {{[-o|--once]}}` diff --git a/pages/linux/cpufreq-info.md b/pages/linux/cpufreq-info.md index af14d1a672f615..a03e066e7e6b4e 100644 --- a/pages/linux/cpufreq-info.md +++ b/pages/linux/cpufreq-info.md @@ -1,6 +1,7 @@ # cpufreq-info -> A tool to show CPU frequency information. +> Show CPU frequency information. +> More information: . - Show CPU frequency information for all CPUs: @@ -8,24 +9,24 @@ - Show CPU frequency information for the specified CPU: -`cpufreq-info -c {{cpu_number}}` +`cpufreq-info {{[-c|--cpu]}} {{cpu_number}}` - Show the allowed minimum and maximum CPU frequency: -`cpufreq-info -l` +`cpufreq-info {{[-l|--hwlimits]}}` - Show the current minimum and maximum CPU frequency and policy in table format: -`cpufreq-info -o` +`cpufreq-info {{[-o|--proc]}}` - Show available CPU frequency policies: -`cpufreq-info -g` +`cpufreq-info {{[-g|--governors]}}` - Show current CPU work frequency in a human-readable format, according to the cpufreq kernel module: -`cpufreq-info -f -m` +`cpufreq-info {{[-f|--freq]}} {{[-m|--human]}}` - Show current CPU work frequency in a human-readable format, by reading it from hardware (only available to root): -`sudo cpufreq-info -w -m` +`sudo cpufreq-info {{[-w|--hwfreq]}} {{[-m|--human]}}` diff --git a/pages/linux/cpufreq-set.md b/pages/linux/cpufreq-set.md index 57e973857f4253..6ce3b581f746f7 100644 --- a/pages/linux/cpufreq-set.md +++ b/pages/linux/cpufreq-set.md @@ -2,19 +2,20 @@ > A tool to modify CPU frequency settings. > The frequency value should range between the output of command `cpufreq-info -l`. +> More information: . - Set the CPU frequency policy of CPU 1 to "userspace": -`sudo cpufreq-set -c {{1}} -g {{userspace}}` +`sudo cpufreq-set {{[-c|--cpu]}} {{1}} {{[-g|--governor]}} {{userspace}}` - Set the current minimum CPU frequency of CPU 1: -`sudo cpufreq-set -c {{1}} --min {{min_frequency}}` +`sudo cpufreq-set {{[-c|--cpu]}} {{1}} {{[-d|--min]}} {{min_frequency}}` - Set the current maximum CPU frequency of CPU 1: -`sudo cpufreq-set -c {{1}} --max {{max_frequency}}` +`sudo cpufreq-set {{[-c|--cpu]}} {{1}} {{[-u|--max]}} {{max_frequency}}` - Set the current work frequency of CPU 1: -`sudo cpufreq-set -c {{1}} -f {{work_frequency}}` +`sudo cpufreq-set {{[-c|--cpu]}} {{1}} {{[-f|--freq]}} {{work_frequency}}` diff --git a/pages/linux/cpuid.md b/pages/linux/cpuid.md index 24d7c72731941b..183d4d2d01b97e 100644 --- a/pages/linux/cpuid.md +++ b/pages/linux/cpuid.md @@ -1,6 +1,7 @@ # cpuid > Display detailed information about all CPUs. +> More information: . - Display information for all CPUs: @@ -8,8 +9,8 @@ - Display information only for the current CPU: -`cpuid -1` +`cpuid {{[-1|--one-cpu]}}` - Display raw hex information with no decoding: -`cpuid -r` +`cpuid {{[-r|--raw]}}` diff --git a/pages/linux/cpulimit.md b/pages/linux/cpulimit.md index 492f83fdfb8c07..1224507aaaeb37 100644 --- a/pages/linux/cpulimit.md +++ b/pages/linux/cpulimit.md @@ -1,28 +1,28 @@ # cpulimit > A tool to throttle the CPU usage of other processes. -> More information: . +> More information: . - Limit an existing process with PID 1234 to only use 25% of the CPU: -`cpulimit --pid {{1234}} --limit {{25%}}` +`cpulimit {{[-p|--pid]}} {{1234}} {{[-l|--limit]}} {{25%}}` - Limit an existing program by its executable name: -`cpulimit --exe {{program}} --limit {{25}}` +`cpulimit {{[-e|--exe]}} {{program}} {{[-l|--limit]}} {{25}}` - Launch a given program and limit it to only use 50% of the CPU: -`cpulimit --limit {{50}} -- {{program arg1 arg2 ...}}` +`cpulimit {{[-l|--limit]}} {{50}} -- {{program argument1 argument2 ...}}` - Launch a program, limit its CPU usage to 50% and run cpulimit in the background: -`cpulimit --limit {{50}} --background -- {{program}}` +`cpulimit {{[-l|--limit]}} {{50}} {{[-b|--background]}} -- {{program}}` - Kill its process if the program's CPU usage goes over 50%: -`cpulimit --limit 50 --kill -- {{program}}` +`cpulimit {{[-l|--limit]}} 50 {{[-k|--kill]}} -- {{program}}` - Throttle both it and its child processes so that none go about 25% CPU: -`cpulimit --limit {{25}} --monitor-forks -- {{program}}` +`cpulimit {{[-l|--limit]}} {{25}} {{[-m|--monitor-forks]}} -- {{program}}` diff --git a/pages/linux/cpupower.md b/pages/linux/cpupower.md new file mode 100644 index 00000000000000..871b04aeb50582 --- /dev/null +++ b/pages/linux/cpupower.md @@ -0,0 +1,24 @@ +# cpupower + +> Tools regarding CPU power and tuning options. +> More information: . + +- List CPUs: + +`sudo cpupower {{[-c|--cpu]}} {{all}} info` + +- Print information about all cores: + +`sudo cpupower {{[-c|--cpu]}} {{all}} info` + +- Set all CPUs to a power-saving frequency governor: + +`sudo cpupower {{[-c|--cpu]}} {{all}} frequency-set --governor {{powersave}}` + +- Print CPU 0's available frequency governors: + +`sudo cpupower {{[-c|--cpu]}} {{0}} frequency-info {{[-g|--governors]}} | grep "analyzing\|governors"` + +- Print CPU 4's frequency from the hardware, in a human-readable format: + +`sudo cpupower {{[-c|--cpu]}} {{4}} frequency-info {{[-w|--hwfreq]}} {{[-m|--human]}}` diff --git a/pages/linux/create-image.md b/pages/linux/create-image.md new file mode 100644 index 00000000000000..1b04df0e04e6dd --- /dev/null +++ b/pages/linux/create-image.md @@ -0,0 +1,12 @@ +# create-image + +> Create CPIO images. +> More information: . + +- Create a CPIO archive from the current directory: + +`create-image {{[-o|--output]}} {{path/to/output.cpio}}` + +- Display help: + +`create-image {{[-h|--help]}}` diff --git a/pages/linux/create_ap.md b/pages/linux/create_ap.md index e729db08d02dfe..84ef7ae2e1e45c 100644 --- a/pages/linux/create_ap.md +++ b/pages/linux/create_ap.md @@ -1,6 +1,7 @@ # create_ap > Create an AP (Access Point) at any channel. +> More information: . - Create an open network with no passphrase: @@ -12,7 +13,7 @@ - Create an access point without Internet sharing: -`create_ap -n {{wlan0}} {{acces_point_ssid}} {{passphrase}}` +`create_ap -n {{wlan0}} {{access_point_ssid}} {{passphrase}}` - Create a bridged network with Internet sharing: @@ -22,10 +23,10 @@ `create_ap -m bridge {{wlan0}} {{br0}} {{access_point_ssid}} {{passphrase}}` -- Create an access port for Internet sharing from the same WiFi interface: +- Create an access port for Internet sharing from the same Wi-Fi interface: `create_ap {{wlan0}} {{wlan0}} {{access_point_ssid}} {{passphrase}}` -- Choose a different WiFi adapter driver: +- Choose a different Wi-Fi adapter driver: `create_ap --driver {{wifi_adapter}} {{wlan0}} {{eth0}} {{access_point_ssid}} {{passphrase}}` diff --git a/pages/linux/createrepo.md b/pages/linux/createrepo.md new file mode 100644 index 00000000000000..8d32d932c9bd74 --- /dev/null +++ b/pages/linux/createrepo.md @@ -0,0 +1,16 @@ +# createrepo + +> Initializes an RPM repository in a directory, including all XML and SQLite files. +> More information: . + +- Initialize a basic repository in a directory: + +`createrepo {{path/to/directory}}` + +- Initialize a repository, exclude test RPMs and display verbose logs: + +`createrepo {{[-v|--verbose]}} {{[-x|--excludes]}} {{test_*.rpm}} {{path/to/directory}}` + +- Initialize a repository, using SHA1 as the checksum algorithm, and ignoring symbolic links: + +`createrepo {{[-S|--skip-symlinks]}} {{[-s|--checksum]}} {{sha1}} {{path/to/directory}}` diff --git a/pages/linux/crond.md b/pages/linux/crond.md new file mode 100644 index 00000000000000..1d2a153b990723 --- /dev/null +++ b/pages/linux/crond.md @@ -0,0 +1,24 @@ +# crond + +> Daemon to execute scheduled commands from crontab files. +> More information: . + +- Start daemon in the background and check for scheduled commands: + +`crond` + +- Start daemon in the foreground and check for scheduled commands: + +`crond -n` + +- Send job output from the daemon to the [s]ystem log: + +`crond -s` + +- Override default limitations and accept custom crontables: + +`crond -p` + +- Inherit crontab file path from environment settings: + +`crond -P` diff --git a/pages/linux/cryptcat.md b/pages/linux/cryptcat.md new file mode 100644 index 00000000000000..0f3cd898b71801 --- /dev/null +++ b/pages/linux/cryptcat.md @@ -0,0 +1,24 @@ +# cryptcat + +> Cryptcat is netcat with encryption capabilities. +> More information: . + +- [l]isten on a specified [p]ort and print any data received: + +`cryptcat -k {{password}} -l -p {{port}}` + +- Connect to a certain port: + +`cryptcat -k {{password}} {{ip_address}} {{port}}` + +- Specify the timeout ([w]): + +`cryptcat -k {{password}} -w {{timeout_in_seconds}} {{ip_address}} {{port}}` + +- Scan ([z]) the open ports of a specified host: + +`cryptcat -v -z {{ip_address}} {{port}}` + +- Act as proxy and forward data from a local TCP port to the given remote host: + +`cryptcat -k {{password}} -l -p {{local_port}} | cryptcat -k {{password}} {{hostname}} {{remote_port}}` diff --git a/pages/linux/cryptsetup-luksformat.md b/pages/linux/cryptsetup-luksformat.md new file mode 100644 index 00000000000000..0e5a2a295e266c --- /dev/null +++ b/pages/linux/cryptsetup-luksformat.md @@ -0,0 +1,17 @@ +# cryptsetup luksFormat + +> Initialize a LUKS partition and the initial key slot (0) with a passphrase or keyfile. +> Note: This operation overwrites all data on the partition. +> More information: . + +- Initialize a LUKS volume with a passphrase: + +`cryptsetup luksFormat {{/dev/sdXY}}` + +- Initialize a LUKS volume with a keyfile: + +`cryptsetup luksFormat {{/dev/sdXY}} {{path/to/keyfile}}` + +- Initialize a LUKS volume with a passphrase and set its label: + +`cryptsetup luksFormat --label {{label}} {{/dev/sdXY}}` diff --git a/pages/linux/cryptsetup-open.md b/pages/linux/cryptsetup-open.md new file mode 100644 index 00000000000000..ebddc5d0347674 --- /dev/null +++ b/pages/linux/cryptsetup-open.md @@ -0,0 +1,26 @@ +# cryptsetup open + +> Create a decrypted mapping of an encrypted volume. +> Note: With TRIM enabled, minimal data leakage in form of freed block information, perhaps sufficient to determine the filesystem in use may occur. +> However, you still most likely want to enable it, because the data inside is still safe and SSDs without TRIM will wear out faster. +> More information: . + +- Open a LUKS volume and create a decrypted mapping at `/dev/mapper/mapping_name`: + +`cryptsetup open {{/dev/sdXY}} {{mapping_name}}` + +- Use a keyfile instead of a passphrase: + +`cryptsetup open {{[-k|--key-file]}} {{path/to/file}} {{/dev/sdXY}} {{mapping_name}}` + +- Allow the use of TRIM on the device: + +`cryptsetup open --allow-discards {{/dev/sdXY}} {{mapping_name}}` + +- Write the `--allow-discards` option into the LUKS header (the option will then always be used when you open the device): + +`cryptsetup open --allow-discards --persistent {{/dev/sdXY}} {{mapping_name}}` + +- Open a LUKS volume and make the decrypted mapping read-only: + +`cryptsetup open {{[-r|--readonly]}} {{/dev/sdXY}} {{mapping_name}}` diff --git a/pages/linux/cryptsetup.md b/pages/linux/cryptsetup.md index 5e458fd6b2e2c8..7466f0c4eaf8f7 100644 --- a/pages/linux/cryptsetup.md +++ b/pages/linux/cryptsetup.md @@ -1,19 +1,25 @@ # cryptsetup -> Manage plain dm-crypt and LUKS (Linux Unified Key Setup) encrypted volumes. +> Manage plain `dm-crypt` and LUKS (Linux Unified Key Setup) encrypted volumes. +> Some subcommands such as `luksFormat` have their own usage documentation. +> More information: . -- Initialize a LUKS volume (overwrites all data on the partition): +- Initialize a LUKS volume with a passphrase (overwrites all data on the partition): -`cryptsetup luksFormat {{/dev/sda1}}` +`cryptsetup luksFormat {{/dev/sdXY}}` -- Open a LUKS volume and create a decrypted mapping at /dev/mapper/{{target}}: +- Open a LUKS volume and create a decrypted mapping at `/dev/mapper/mapping_name`: -`cryptsetup luksOpen {{/dev/sda1}} {{target}}` +`cryptsetup open {{/dev/sdXY}} {{mapping_name}}` + +- Display information about a mapping: + +`cryptsetup status {{mapping_name}}` - Remove an existing mapping: -`cryptsetup luksClose {{target}}` +`cryptsetup close {{mapping_name}}` -- Change the LUKS volume's passphrase: +- Change a LUKS volume's passphrase: -`cryptsetup luksChangeKey {{/dev/sda1}}` +`cryptsetup luksChangeKey {{/dev/sdXY}}` diff --git a/pages/linux/cs2.md b/pages/linux/cs2.md new file mode 100644 index 00000000000000..1aa3d5b05f545e --- /dev/null +++ b/pages/linux/cs2.md @@ -0,0 +1,7 @@ +# cs2 + +> This command is an alias of `counter strike 2`. + +- View documentation for the original command: + +`tldr counter strike 2` diff --git a/pages/linux/csplit.md b/pages/linux/csplit.md index be52a5912c839b..328fc05c525f24 100644 --- a/pages/linux/csplit.md +++ b/pages/linux/csplit.md @@ -2,23 +2,24 @@ > Split a file into pieces. > This generates files named "xx00", "xx01", and so on. +> More information: . - Split a file at lines 5 and 23: -`csplit {{file}} {{5}} {{23}}` +`csplit {{path/to/file}} 5 23` - Split a file every 5 lines (this will fail if the total number of lines is not divisible by 5): -`csplit {{file}} {{5}} {*}` +`csplit {{path/to/file}} 5 {*}` - Split a file every 5 lines, ignoring exact-division error: -`csplit -k {{file}} {{5}} {*}` +`csplit {{[-k|--keep-files]}} {{path/to/file}} 5 {*}` - Split a file at line 5 and use a custom prefix for the output files: -`csplit {{file}} {{5}} -f {{prefix}}` +`csplit {{path/to/file}} 5 {{[-f|--prefix]}} {{prefix}}` -- Split a file at a line matching a regular expression: +- Split a file at a line matching a `regex`: -`csplit {{file}} /{{regex}}/` +`csplit {{path/to/file}} /{{regex}}/` diff --git a/pages/linux/ctop.md b/pages/linux/ctop.md new file mode 100644 index 00000000000000..3e426eec7af759 --- /dev/null +++ b/pages/linux/ctop.md @@ -0,0 +1,20 @@ +# ctop + +> Instantly visualize container performance and health with real-time metrics on CPU, memory, and block IO usage. +> More information: . + +- Show only [a]ctive containers: + +`ctop -a` + +- [r]everse the container sort order: + +`ctop -r` + +- [i]nvert the default colors: + +`ctop -i` + +- Display [h]elp: + +`ctop -h` diff --git a/pages/linux/ctr.md b/pages/linux/ctr.md index ef549be0fbb504..500623b0bfee35 100644 --- a/pages/linux/ctr.md +++ b/pages/linux/ctr.md @@ -1,6 +1,6 @@ # ctr -> Manage Containerd containers and images. +> Manage `containerd` containers and images. > More information: . - List all containers (running and stopped): @@ -17,4 +17,4 @@ - Tag an image: -`ctr images tag {{souce_image}}:{{source_tag}} {{target_image}}:{{target_tag}}` +`ctr images tag {{source_image}}:{{source_tag}} {{target_image}}:{{target_tag}}` diff --git a/pages/linux/ctrlaltdel.md b/pages/linux/ctrlaltdel.md index 3d268219f202f3..50784e07e4292a 100644 --- a/pages/linux/ctrlaltdel.md +++ b/pages/linux/ctrlaltdel.md @@ -1,12 +1,13 @@ # ctrlaltdel > Utility to control what happens when CTRL+ALT+DEL is pressed. +> More information: . - Get current setting: `ctrlaltdel` -- Set CRTL+ALT+DEL to reboot immediately, without any preparation: +- Set CTRL+ALT+DEL to reboot immediately, without any preparation: `sudo ctrlaltdel hard` diff --git a/pages/linux/cu.md b/pages/linux/cu.md new file mode 100644 index 00000000000000..3d9949b026d0f4 --- /dev/null +++ b/pages/linux/cu.md @@ -0,0 +1,28 @@ +# cu + +> Call Up another system and act as a dial-in/serial terminal or perform file transfers with no error checking. +> More information: . + +- Open a given serial port: + +`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}}` + +- Open a given serial port with a given baud rate: + +`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}}` + +- Open a given serial port with a given baud rate and echo characters locally (half-duplex mode): + +`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}} {{[-h|--halfduplex]}}` + +- Open a given serial port with a given baud rate, parity, and no hardware or software flow control: + +`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}} --parity={{even|odd|none}} {{[-f|--nortscts]}} --nostop` + +- Exit the `cu` session when in connection: + +`<~><.>` + +- Display help: + +`cu --help` diff --git a/pages/linux/curlie.md b/pages/linux/curlie.md new file mode 100644 index 00000000000000..82eaa18facb8e0 --- /dev/null +++ b/pages/linux/curlie.md @@ -0,0 +1,20 @@ +# curlie + +> A frontend to `curl` that adds the ease of use of `httpie`. +> More information: . + +- Send a GET request: + +`curlie {{httpbin.org/get}}` + +- Send a POST request: + +`curlie post {{httpbin.org/post}} {{name=john}} {{age:=25}}` + +- Send a GET request with query parameters (e.g. `first_param=5&second_param=true`): + +`curlie get {{httpbin.org/get}} {{first_param==5}} {{second_param==true}}` + +- Send a GET request with a custom header: + +`curlie get {{httpbin.org/get}} {{header-name:header-value}}` diff --git a/pages/linux/cuyo.md b/pages/linux/cuyo.md index 6bb1d08adbf799..ece25ca2ca245d 100644 --- a/pages/linux/cuyo.md +++ b/pages/linux/cuyo.md @@ -9,12 +9,12 @@ - Navigate the piece horizontally: -`{{A|D}} OR {{Left|Right}} arrow key` +`{{|||}}` - Turn the piece: -`{{W|Up arrow key}} ` +`{{|}}` - Hard drop the piece: -`{{S|Down arrow key}}` +`{{|}}` diff --git a/pages/linux/daemon.md b/pages/linux/daemon.md new file mode 100644 index 00000000000000..be53c5dda59b9e --- /dev/null +++ b/pages/linux/daemon.md @@ -0,0 +1,28 @@ +# daemon + +> Turns other processes into daemons. +> More information: . + +- Run a command as a daemon: + +`daemon --name="{{name}}" {{command}}` + +- Run a command as a daemon which will restart if the command crashes: + +`daemon --name="{{name}}" {{[-r|--respawn]}} {{command}}` + +- Run a command as a daemon which will restart if it crashes, with two attempts every 10 seconds: + +`daemon --name="{{name}}" {{[-r|--respawn]}} --attempts=2 --delay=10 {{command}}` + +- Run a command as a daemon, writing logs to a specific file: + +`daemon --name="{{name}}" --errlog={{path/to/file.log}} {{command}}` + +- Kill a daemon (SIGTERM): + +`daemon --name="{{name}}" --stop` + +- List daemons: + +`daemon --list` diff --git a/pages/linux/daemonize.md b/pages/linux/daemonize.md index 602e962f62af29..68bd8355ac7b49 100644 --- a/pages/linux/daemonize.md +++ b/pages/linux/daemonize.md @@ -1,13 +1,13 @@ # daemonize > Run a command (that does not daemonize itself) as a Unix daemon. -> More information: . +> More information: . - Run a command as a daemon: `daemonize {{command}} {{command_arguments}}` -- Write the pid to the specified file: +- Write the PID to the specified file: `daemonize -p {{path/to/pidfile}} {{command}} {{command_arguments}}` diff --git a/pages/linux/darling.md b/pages/linux/darling.md new file mode 100644 index 00000000000000..d877fd4cb836bc --- /dev/null +++ b/pages/linux/darling.md @@ -0,0 +1,20 @@ +# darling + +> Run macOS software on Linux. +> More information: . + +- Run a builtin command: + +`darling shell {{uname}}` + +- Run a specific program with arguments: + +`darling shell {{path/to/program}} {{program_argument_1 program_argument_2 ...}}` + +- Open a macOS shell: + +`darling shell` + +- Shutdown the service: + +`darling shutdown` diff --git a/pages/linux/dash.md b/pages/linux/dash.md deleted file mode 100644 index 2a85bb05725348..00000000000000 --- a/pages/linux/dash.md +++ /dev/null @@ -1,20 +0,0 @@ -# dash - -> Debian Almquist Shell. -> Modern POSIX-compliant implementation of `sh` (isn't Bash compatible). - -- Start interactive shell: - -`dash` - -- Execute a command: - -`dash -c "{{command}}"` - -- Run commands from a file: - -`dash {{file.sh}}` - -- Run commands from a file, logging all commands executed to the terminal: - -`dash -x {{file.sh}}` diff --git a/pages/linux/datamash.md b/pages/linux/datamash.md index 35fe08e3e9d0f0..abc706127aaea8 100644 --- a/pages/linux/datamash.md +++ b/pages/linux/datamash.md @@ -1,6 +1,7 @@ # datamash -> Tool to perform basic numeric, textual and statistical operations on input textual data files. +> Perform basic numeric, textual and statistical operations on input textual data files. +> More information: . - Get max, min, mean and median of a single column of numbers: @@ -12,7 +13,7 @@ - Get the mean of a single column of numbers with a given decimal precision: -`echo -e '1\n2\n3\n4\n5\n5' | datamash -R {{number_of_decimals_wanted}} mean 1` +`echo -e '1\n2\n3\n4\n5\n5' | datamash {{[-R|--round]}} {{number_of_decimals_wanted}} mean 1` - Get the mean of a single column of numbers ignoring "Na" and "NaN" (literal) strings: diff --git a/pages/linux/dbclient.md b/pages/linux/dbclient.md new file mode 100644 index 00000000000000..b85cae63fb73dd --- /dev/null +++ b/pages/linux/dbclient.md @@ -0,0 +1,24 @@ +# dbclient + +> Lightweight Dropbear Secure Shell client. +> More information: . + +- Connect to a remote host: + +`dbclient {{user}}@{{host}}` + +- Connect to a remote host on [p]ort 2222: + +`dbclient {{user}}@{{host}} -p 2222` + +- Connect to a remote host using a specific [i]dentity key in dropbear format: + +`dbclient -i {{path/to/key_file}} {{user}}@{{host}}` + +- Run a command on the remote host with a [t]ty allocation allowing interaction with the remote command: + +`dbclient {{user}}@{{host}} -t {{command}} {{argument1 argument2 ...}}` + +- Connect and forward [A]gent connections to remote host: + +`dbclient -A {{user}}@{{host}}` diff --git a/pages/linux/dbus-daemon.md b/pages/linux/dbus-daemon.md index 38eb1323b719e4..9ab65e19604bd3 100644 --- a/pages/linux/dbus-daemon.md +++ b/pages/linux/dbus-daemon.md @@ -1,6 +1,7 @@ # dbus-daemon > The D-Bus message daemon, allowing multiple programs to exchange messages. +> More information: . - Run the daemon with a configuration file: @@ -18,7 +19,7 @@ `dbus-daemon --address {{address}}` -- Output the process id to `stdout`: +- Output the process ID to `stdout`: `dbus-daemon --print-pid` diff --git a/pages/linux/dconf-read.md b/pages/linux/dconf-read.md new file mode 100644 index 00000000000000..5eab29b3d3ae9d --- /dev/null +++ b/pages/linux/dconf-read.md @@ -0,0 +1,13 @@ +# dconf read + +> Read key values from dconf databases. +> See also: `dconf`. +> More information: . + +- Print a specific key value: + +`dconf read /{{path/to/key}}` + +- Print a specific key [d]efault value: + +`dconf read -d /{{path/to/key}}` diff --git a/pages/linux/dconf-reset.md b/pages/linux/dconf-reset.md new file mode 100644 index 00000000000000..402a3906020317 --- /dev/null +++ b/pages/linux/dconf-reset.md @@ -0,0 +1,13 @@ +# dconf reset + +> Reset key values in dconf databases. +> See also: `dconf`. +> More information: . + +- Reset a specific key value: + +`dconf reset /{{path/to/key}}` + +- Reset a specific directory: + +`dconf reset -f /{{path/to/directory}}/` diff --git a/pages/linux/dconf-write.md b/pages/linux/dconf-write.md new file mode 100644 index 00000000000000..3099c77a55d5fd --- /dev/null +++ b/pages/linux/dconf-write.md @@ -0,0 +1,29 @@ +# dconf write + +> Write key values in dconf databases. +> See also: `dconf`. +> More information: . + +- Write a specific key value: + +`dconf write /{{path/to/key}} "{{value}}"` + +- Write a specific string key value: + +`dconf write /{{path/to/key}} "'{{string}}'"` + +- Write a specific integer key value: + +`dconf write /{{path/to/key}} "{{5}}"` + +- Write a specific boolean key value: + +`dconf write /{{path/to/key}} "{{true|false}}"` + +- Write a specific array key value: + +`dconf write /{{path/to/key}} "[{{'first', 'second', ...}}]"` + +- Write a specific empty array key value: + +`dconf write /{{path/to/key}} "@as []"` diff --git a/pages/linux/dconf.md b/pages/linux/dconf.md new file mode 100644 index 00000000000000..37b7ff271640a3 --- /dev/null +++ b/pages/linux/dconf.md @@ -0,0 +1,29 @@ +# dconf + +> Manage dconf databases. +> See also: `dconf-read`, `dconf-reset`, `dconf-write`, `gsettings`. +> More information: . + +- Print a specific key value: + +`dconf read /{{path/to/key}}` + +- Print a specific path sub-directories and sub-keys: + +`dconf list /{{path/to/directory}}/` + +- Write a specific key value: + +`dconf write /{{path/to/key}} "{{value}}"` + +- Reset a specific key value: + +`dconf reset /{{path/to/key}}` + +- Watch a specific key/directory for changes: + +`dconf watch /{{path/to/key|/path/to/directory}}/` + +- Dump a specific directory in INI file format: + +`dconf dump /{{path/to/directory}}/` diff --git a/pages/linux/dd.md b/pages/linux/dd.md new file mode 100644 index 00000000000000..ab483df0c3ad6e --- /dev/null +++ b/pages/linux/dd.md @@ -0,0 +1,28 @@ +# dd + +> Convert and copy a file. +> More information: . + +- Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`) and show the progress: + +`dd if={{path/to/file.iso}} of={{/dev/usb_drive}} status=progress` + +- Clone a drive to another drive with 4 MiB block size and flush writes before the command terminates: + +`dd bs=4M conv=fsync if={{/dev/source_drive}} of={{/dev/dest_drive}}` + +- Generate a file with a specific number of random bytes by using kernel random driver: + +`dd bs={{100}} count={{1}} if=/dev/urandom of={{path/to/random_file}}` + +- Benchmark the write performance of a disk: + +`dd bs={{1M}} count={{1024}} if=/dev/zero of={{path/to/file_1GB}}` + +- Create a system backup, save it into an IMG file (can be restored later by swapping `if` and `of`), and show the progress: + +`dd if={{/dev/drive_device}} of={{path/to/file.img}} status=progress` + +- Check the progress of an ongoing `dd` operation (run this command from another shell): + +`kill -USR1 $(pgrep {{[-x|--exact]}} dd)` diff --git a/pages/linux/ddcutil.md b/pages/linux/ddcutil.md new file mode 100644 index 00000000000000..793e61431573a7 --- /dev/null +++ b/pages/linux/ddcutil.md @@ -0,0 +1,22 @@ +# ddcutil + +> Control the settings of connected displays via DDC/CI. +> This command requires the kernel module `i2c-dev` to be loaded. +> See also: `modprobe`. +> More information: . + +- List all compatible displays: + +`ddcutil detect` + +- Change the brightness (option 0x10) of display 1 to 50%: + +`ddcutil {{[-d|--display]}} {{1}} setvcp {{10}} {{50}}` + +- Increase the contrast (option 0x12) of display 1 by 5%: + +`ddcutil {{[-d|--display]}} {{1}} setvcp {{12}} {{+}} {{5}}` + +- Read the settings of display 1: + +`ddcutil {{[-d|--display]}} {{1}} getvcp {{ALL}}` diff --git a/pages/linux/ddrescue.md b/pages/linux/ddrescue.md index 11a76bd56acf5c..ae1d705659657d 100644 --- a/pages/linux/ddrescue.md +++ b/pages/linux/ddrescue.md @@ -1,7 +1,7 @@ # ddrescue > Data recovery tool that reads data from damaged block devices. -> More information: . +> More information: . - Take an image of a device, creating a log file: @@ -9,4 +9,4 @@ - Clone Disk A to Disk B, creating a log file: -`sudo ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}} {{path/to/log.txt}}` +`sudo ddrescue {{[-f|--force]}} {{[-n|--no-scrape]}} {{/dev/sdX}} {{/dev/sdY}} {{path/to/log.txt}}` diff --git a/pages/linux/deb-get.md b/pages/linux/deb-get.md new file mode 100644 index 00000000000000..e6cbad56b3ab5a --- /dev/null +++ b/pages/linux/deb-get.md @@ -0,0 +1,33 @@ +# deb-get + +> `apt-get` functionality for `.deb` packages published in third party repositories or via direct download. +> Works with Linux distributions which use `apt-get`. +> More information: . + +- Update the list of available packages and versions: + +`deb-get update` + +- Search for a given package: + +`deb-get search {{package}}` + +- Show information about a package: + +`deb-get show {{package}}` + +- Install a package, or update it to the latest available version: + +`deb-get install {{package}}` + +- Remove a package (using `purge` instead also removes its configuration files): + +`deb-get remove {{package}}` + +- Upgrade all installed packages to their newest available versions: + +`deb-get upgrade` + +- List all available packages: + +`deb-get list` diff --git a/pages/linux/debchange.md b/pages/linux/debchange.md index 4d087052cf26bd..9a04d610327352 100644 --- a/pages/linux/debchange.md +++ b/pages/linux/debchange.md @@ -1,15 +1,15 @@ # debchange -> Tool for maintenance of the debian/changelog file in a Debian source package. -> More information: . +> Maintain the debian/changelog file of a Debian source package. +> More information: . - Add a new version for a non-maintainer upload to the changelog: -`debchange --nmu` +`debchange {{[-n|--nmu]}}` - Add a changelog entry to the current version: -`debchange --append` +`debchange {{[-a|--append]}}` - Add a changelog entry to close the bug with specified ID: diff --git a/pages/linux/debman.md b/pages/linux/debman.md index 5a6f5194dcc596..c4204b347e7dc3 100644 --- a/pages/linux/debman.md +++ b/pages/linux/debman.md @@ -1,15 +1,16 @@ # debman > Read man pages from uninstalled packages. +> More information: . -- Read a man page for a command that is provided by a specified package name: +- Read a man page for a command that is provided by a specified [p]ackage: -`debman -p {{package_name}} {{command_name}}` +`debman -p {{package}} {{command}}` -- Specify a package version to download: +- Specify a [p]ackage version to download: -`debman -p {{package_name}}={{version}} {{command_name}}` +`debman -p {{package}}={{version}} {{command}}` -- Read a man page in a .deb file: +- Read a man page in a `.deb` [f]ile: -`debman -f {{path/to/filename.deb}} {{command_name}}` +`debman -f {{path/to/file.deb}} {{command}}` diff --git a/pages/linux/debootstrap.md b/pages/linux/debootstrap.md index 2da3d54030d070..4dd6e0931b4e67 100644 --- a/pages/linux/debootstrap.md +++ b/pages/linux/debootstrap.md @@ -5,11 +5,15 @@ - Create a Debian stable release system inside the `debian-root` directory: -`sudo debootstrap stable {{path/to/debian-root/}} http://deb.debian.org/debian` +`sudo debootstrap stable {{path/to/debian-root}}/ http://deb.debian.org/debian` + +- Create a minimal system including only required packages: + +`sudo debootstrap --variant=minbase stable {{path/to/debian-root}}/` - Create an Ubuntu 20.04 system inside the `focal-root` directory with a local mirror: -`sudo debootstrap focal {{path/to/focal-root/}} {{file:///path/to/mirror/}}` +`sudo debootstrap focal {{path/to/focal-root}}/ {{file:///path/to/mirror/}}` - Switch to a bootstrapped system: diff --git a/pages/linux/deborphan.md b/pages/linux/deborphan.md new file mode 100644 index 00000000000000..55188b89f4ed91 --- /dev/null +++ b/pages/linux/deborphan.md @@ -0,0 +1,16 @@ +# deborphan + +> Display orphan packages on operating systems using the APT package manager. +> More information: . + +- Display library packages (from the "libs" section of the package repository) which are not required by another package: + +`deborphan` + +- List orphan packages from the "libs" section as well as orphan packages that have a name that looks like a library name: + +`deborphan --guess-all` + +- Find packages which are only recommended or suggested (but not required) by another package: + +`deborphan {{[-n|--nice-mode]}}` diff --git a/pages/linux/debsecan.md b/pages/linux/debsecan.md new file mode 100644 index 00000000000000..b0e906f1818016 --- /dev/null +++ b/pages/linux/debsecan.md @@ -0,0 +1,24 @@ +# debsecan + +> Debian Security Analyzer, a tool to list vulnerabilities on a particular Debian installation. +> More information: . + +- List vulnerable installed packages on the current host: + +`debsecan` + +- List vulnerable installed packages of a specific suite: + +`debsecan --suite {{release_code_name}}` + +- List only fixed vulnerabilities: + +`debsecan --suite {{release_code_name}} --only-fixed` + +- List only fixed vulnerabilities of unstable ("sid") and mail to root: + +`debsecan --suite {{sid}} --only-fixed --format {{report}} --mailto {{root}} --update-history` + +- Upgrade vulnerable installed packages: + +`sudo apt upgrade $(debsecan --only-fixed --format {{packages}})` diff --git a/pages/linux/debtap.md b/pages/linux/debtap.md new file mode 100644 index 00000000000000..f00e81aafa4e76 --- /dev/null +++ b/pages/linux/debtap.md @@ -0,0 +1,21 @@ +# debtap + +> Convert Debian packages into Arch Linux packages. +> See also: `pacman-upgrade`. +> More information: . + +- Update debtap database (before the first run): + +`sudo debtap {{[-u|--update]}}` + +- Convert the specified package: + +`debtap {{path/to/package.deb}}` + +- Convert the specified package bypassing all questions, except for editing metadata files: + +`debtap {{[-q|--quiet]}} {{path/to/package.deb}}` + +- Generate a PKGBUILD file: + +`debtap {{[-p|--pkgbuild]}} {{path/to/package.deb}}` diff --git a/pages/linux/debugfs.md b/pages/linux/debugfs.md index 3e282fdd94a041..f8d92a766f90c6 100644 --- a/pages/linux/debugfs.md +++ b/pages/linux/debugfs.md @@ -1,6 +1,7 @@ # debugfs > An interactive ext2/ext3/ext4 filesystem debugger. +> More information: . - Open the filesystem in read only mode: diff --git a/pages/linux/debuginfod-find.md b/pages/linux/debuginfod-find.md new file mode 100644 index 00000000000000..9a98f66a4738f5 --- /dev/null +++ b/pages/linux/debuginfod-find.md @@ -0,0 +1,8 @@ +# debuginfod-find + +> Request debuginfo-related data. +> More information: . + +- Request data based on the `build_id`: + +`debuginfod-find -vv debuginfo {{build_id}}` diff --git a/pages/linux/debuild.md b/pages/linux/debuild.md index cd3824506b6876..41a819910af3b2 100644 --- a/pages/linux/debuild.md +++ b/pages/linux/debuild.md @@ -1,7 +1,7 @@ # debuild -> Tool to build a Debian package from source. -> More information: . +> Build a Debian package from source. +> More information: . - Build the package in the current directory: diff --git a/pages/linux/decode-dimms.md b/pages/linux/decode-dimms.md new file mode 100644 index 00000000000000..167737a3233301 --- /dev/null +++ b/pages/linux/decode-dimms.md @@ -0,0 +1,12 @@ +# decode-dimms + +> Decode RAM data. +> More information: . + +- Display DIMM information: + +`decode-dimms` + +- Display help: + +`decode-dimms {{[-h|--help]}}` diff --git a/pages/linux/delpart.md b/pages/linux/delpart.md new file mode 100644 index 00000000000000..ef18fd8e7aa2c5 --- /dev/null +++ b/pages/linux/delpart.md @@ -0,0 +1,8 @@ +# delpart + +> Ask the Linux kernel to forget about a partition. +> More information: . + +- Tell the kernel to forget about the first partition of `/dev/sda`: + +`sudo delpart {{/dev/sda}} {{1}}` diff --git a/pages/linux/deluser.md b/pages/linux/deluser.md new file mode 100644 index 00000000000000..a672028295aaf0 --- /dev/null +++ b/pages/linux/deluser.md @@ -0,0 +1,20 @@ +# deluser + +> Delete a user from the system. +> More information: . + +- Remove a user: + +`sudo deluser {{username}}` + +- Remove a user and their home directory: + +`sudo deluser --remove-home {{username}}` + +- Remove a user and their home, but backup their files into a `.tar.gz` file in the specified directory: + +`sudo deluser --backup-to {{path/to/backup_directory}} --remove-home {{username}}` + +- Remove a user, and all files owned by them: + +`sudo deluser --remove-all-files {{username}}` diff --git a/pages/linux/dex.md b/pages/linux/dex.md new file mode 100644 index 00000000000000..647c9945d52577 --- /dev/null +++ b/pages/linux/dex.md @@ -0,0 +1,32 @@ +# dex + +> DesktopEntry Execution is a program to generate and execute DesktopEntry files of the Application type. +> More information: . + +- Execute all programs in the autostart folders: + +`dex {{[-a|--autostart]}}` + +- Execute all programs in the specified folders: + +`dex {{[-a|--autostart]}} {{[-s|--search-paths]}} {{path/to/directory1}}:{{path/to/directory2}}:{{path/to/directory3}}:` + +- Preview the programs would be executed in a GNOME specific autostart: + +`dex {{[-a|--autostart]}} {{[-e|--environment]}} {{GNOME}}` + +- Preview the programs would be executed in a regular autostart: + +`dex {{[-a|--autostart]}} {{[-d|--dry-run]}}` + +- Preview the value of the DesktopEntry property `Name`: + +`dex {{[-p|--property]}} {{Name}} {{path/to/file.desktop}}` + +- Create a DesktopEntry for a program in the current directory: + +`dex {{[-c|--create]}} {{path/to/file.desktop}}` + +- Execute a single program (with `Terminal=true` in the desktop file) in the given terminal: + +`dex --term {{terminal}} {{path/to/file.desktop}}` diff --git a/pages/linux/df.md b/pages/linux/df.md new file mode 100644 index 00000000000000..1046868380879f --- /dev/null +++ b/pages/linux/df.md @@ -0,0 +1,28 @@ +# df + +> Display an overview of the filesystem disk space usage. +> More information: . + +- Display all filesystems and their disk usage: + +`df` + +- Display all filesystems in human-readable form: + +`df {{[-h|--human-readable]}}` + +- Display the filesystem containing the specified file or directory: + +`df {{path/to/file_or_directory}}` + +- Include statistics on the number of free inodes: + +`df {{[-i|--inodes]}}` + +- Display filesystems but exclude the specified types: + +`df {{[-x|--exclude-type]}} {{squashfs}} {{[-x|--exclude-type]}} {{tmpfs}}` + +- Display filesystem types: + +`df {{[-T|--print-type]}}` diff --git a/pages/linux/dget.md b/pages/linux/dget.md index d996705f15d6e2..4d4a5c8301bfe9 100644 --- a/pages/linux/dget.md +++ b/pages/linux/dget.md @@ -1,16 +1,16 @@ # dget > Download Debian packages. -> More information: . +> More information: . - Download a binary package: -`dget {{package_name}}` +`dget {{package}}` -- Download and extract a package source from its .dsc file: +- Download and extract a package source from its `.dsc` file: `dget {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}` -- Download a package source tarball from its .dsc file but don't extract it: +- Download a package source tarball from its `.dsc` file but don't extract it: -`dget -d {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}` +`dget {{[-d|--download-only]}} {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}` diff --git a/pages/linux/dhcpcd.md b/pages/linux/dhcpcd.md new file mode 100644 index 00000000000000..d13fa779a8e237 --- /dev/null +++ b/pages/linux/dhcpcd.md @@ -0,0 +1,12 @@ +# dhcpcd + +> DHCP client. +> More information: . + +- Release all address leases: + +`sudo dhcpcd {{[-k|--release]}}` + +- Request the DHCP server for new leases: + +`sudo dhcpcd {{[-n|--rebind]}}` diff --git a/pages/linux/dialog.md b/pages/linux/dialog.md new file mode 100644 index 00000000000000..2945647f183294 --- /dev/null +++ b/pages/linux/dialog.md @@ -0,0 +1,21 @@ +# dialog + +> Display dialog boxes on the terminal. +> See also: `gum`, `whiptail`. +> More information: . + +- Display a message: + +`dialog --msgbox "{{Message}}" {{height}} {{width}}` + +- Prompt the user for text: + +`dialog --inputbox "{{Enter text:}}" {{8}} {{40}} 2>{{output.txt}}` + +- Prompt the user for a yes/no question: + +`dialog --yesno "{{Continue?}}" {{7}} {{40}}` + +- Display help: + +`dialog` diff --git a/pages/linux/diff3.md b/pages/linux/diff3.md index 4f01f7d4f8d9f0..b7dc28ff003c2a 100644 --- a/pages/linux/diff3.md +++ b/pages/linux/diff3.md @@ -1,11 +1,12 @@ # diff3 > Compare three files line by line. +> More information: . - Compare files: -`diff3 {{file1}} {{file2}} {{file3}}` +`diff3 {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}` - Show all changes, outlining conflicts: -`diff3 --show-all {{file1}} {{file2}} {{file3}}` +`diff3 {{[-A|--show-all]}} {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}` diff --git a/pages/linux/diffimg.md b/pages/linux/diffimg.md new file mode 100644 index 00000000000000..98dfc1f7a8f410 --- /dev/null +++ b/pages/linux/diffimg.md @@ -0,0 +1,9 @@ +# diffimg + +> Calculate intersection between two images. +> Note: The supported extensions are `.png`, `.gif`, `.jpg`, `.ps`. +> More information: . + +- Calculate the intersection between images and output an image where each pixel is the difference between corresponding pixels in input images: + +`diffimg {{path/to/input_image1.ext}} {{path/to/input_image2.ext}} {{path/to/output_image.ext}}` diff --git a/pages/linux/dir.md b/pages/linux/dir.md new file mode 100644 index 00000000000000..18c6d1aa46d393 --- /dev/null +++ b/pages/linux/dir.md @@ -0,0 +1,25 @@ +# dir + +> List directory contents using one line per file, special characters are represented by backslash escape sequences. +> Works as `ls -C --escape`. +> More information: . + +- List all files, including hidden files: + +`dir {{[-a|--all]}}` + +- List files including their author (`-l` is required): + +`dir -l --author` + +- List files excluding those that match a specified blob pattern: + +`dir --hide {{pattern}}` + +- List subdirectories recursively: + +`dir {{[-R|--recursive]}}` + +- Display help: + +`dir --help` diff --git a/pages/linux/dirb.md b/pages/linux/dirb.md new file mode 100644 index 00000000000000..3c13b4d369bf3c --- /dev/null +++ b/pages/linux/dirb.md @@ -0,0 +1,20 @@ +# dirb + +> Scan HTTP-based webservers for directories and files. +> More information: . + +- Scan a webserver using the default wordlist: + +`dirb {{https://example.org}}` + +- Scan a webserver using a custom wordlist: + +`dirb {{https://example.org}} {{path/to/wordlist.txt}}` + +- Scan a webserver non-recursively: + +`dirb {{https://example.org}} -r` + +- Scan a webserver using a specified user-agent and cookie for HTTP-requests: + +`dirb {{https://example.org}} -a {{user_agent_string}} -c {{cookie_string}}` diff --git a/pages/linux/dirbuster.md b/pages/linux/dirbuster.md new file mode 100644 index 00000000000000..c474088a477023 --- /dev/null +++ b/pages/linux/dirbuster.md @@ -0,0 +1,24 @@ +# dirbuster + +> Brute force directories and filenames on servers. +> More information: . + +- Start in GUI mode: + +`dirbuster -u {{http://example.com}}` + +- Start in headless (no GUI) mode: + +`dirbuster -H -u {{http://example.com}}` + +- Set the file extension list: + +`dirbuster -e {{txt,html}}` + +- Enable verbose output: + +`dirbuster -v` + +- Set the report location: + +`dirbuster -r {{path/to/report.txt}}` diff --git a/pages/linux/disown.md b/pages/linux/disown.md deleted file mode 100644 index b808737cf6577c..00000000000000 --- a/pages/linux/disown.md +++ /dev/null @@ -1,20 +0,0 @@ -# disown - -> Allow sub-processes to live beyond the shell that they are attached to. -> See also the `jobs` command. - -- Disown the current job: - -`disown` - -- Disown a specific job: - -`disown %{{job_number}}` - -- Disown all jobs: - -`disown -a` - -- Keep job (do not disown it), but mark it so that no future SIGHUP is received on shell exit: - -`disown -h %{{job_number}}` diff --git a/pages/linux/distrobox-create.md b/pages/linux/distrobox-create.md new file mode 100644 index 00000000000000..7317de96aa43f0 --- /dev/null +++ b/pages/linux/distrobox-create.md @@ -0,0 +1,14 @@ +# distrobox-create + +> Create a Distrobox container. +> The container created will be tightly integrated with the host, allowing sharing of the user's HOME directory, external storage, external USB devices, graphical apps (X11/Wayland), and audio. +> See also: `distrobox`. +> More information: . + +- Create a Distrobox container using the Ubuntu image: + +`distrobox-create {{container_name}} {{[-i|--image]}} {{ubuntu:latest}}` + +- Clone a Distrobox container: + +`distrobox-create {{[-c|--clone]}} {{container_name}} {{cloned_container_name}}` diff --git a/pages/linux/distrobox-enter.md b/pages/linux/distrobox-enter.md new file mode 100644 index 00000000000000..e3a752ec19bf17 --- /dev/null +++ b/pages/linux/distrobox-enter.md @@ -0,0 +1,18 @@ +# distrobox-enter + +> Enter a Distrobox container. +> Default command executed is your SHELL, but you can specify different shells or entire commands to execute. If used inside a script, an application, or a service, you can use the `--headless` mode to disable the tty and interactivity. +> See also: `distrobox`. +> More information: . + +- Enter a Distrobox container: + +`distrobox-enter {{container_name}}` + +- Enter a Distrobox container and run a command at login: + +`distrobox-enter {{container_name}} -- {{sh -l}}` + +- Enter a Distrobox container without instantiating a tty: + +`distrobox-enter {{[-n|--name]}} {{container_name}} -- {{uptime --pretty}}` diff --git a/pages/linux/distrobox-export.md b/pages/linux/distrobox-export.md new file mode 100644 index 00000000000000..b3a6d1d1fead49 --- /dev/null +++ b/pages/linux/distrobox-export.md @@ -0,0 +1,25 @@ +# distrobox-export + +> Export app/service/binary from container to host OS. +> See also: `distrobox`. +> More information: . + +- Export an app from the container to the host (the desktop entry/icon will show up in your host system's application list): + +`distrobox-export {{[-a|--app]}} {{package}} {{[-ef|--extra-flags]}} "--foreground"` + +- Export a binary from the container to the host: + +`distrobox-export {{[-b|--bin]}} {{path/to/binary}} {{[-ep|--export-path]}} {{path/to/binary_on_host}}` + +- Export a binary from the container to the host (i.e.`$HOME/.local/bin`): + +`distrobox-export {{[-b|--bin]}} {{path/to/binary}} {{[-ep|--export-path]}} {{path/to/export}}` + +- Export a service from the container to the host (`--sudo` will run the service as root inside the container): + +`distrobox-export --service {{package}} {{[-ef|--extra-flags]}} "--allow-newer-config" {{[-S|--sudo]}}` + +- Unexport/delete an exported application: + +`distrobox-export {{[-a|--app]}} {{package}} {{[-d|--delete]}}` diff --git a/pages/linux/distrobox-host-exec.md b/pages/linux/distrobox-host-exec.md new file mode 100644 index 00000000000000..f9e25807197404 --- /dev/null +++ b/pages/linux/distrobox-host-exec.md @@ -0,0 +1,13 @@ +# distrobox-host-exec + +> Execute a command on the host from inside a Distrobox container. +> See also: `distrobox`. +> More information: . + +- Execute command on the host system from inside the Distrobox container: + +`distrobox-host-exec "{{command}}"` + +- Execute the `ls` command on the host system from inside the container: + +`distrobox-host-exec ls` diff --git a/pages/linux/distrobox-list.md b/pages/linux/distrobox-list.md new file mode 100644 index 00000000000000..827368a5ef5751 --- /dev/null +++ b/pages/linux/distrobox-list.md @@ -0,0 +1,14 @@ +# distrobox-list + +> List all Distrobox containers. +> Distrobox containers are listed separately from the rest of normal Podman or Docker containers. +> See also: `distrobox`. +> More information: . + +- List all Distrobox containers: + +`distrobox-list` + +- List all Distrobox containers with verbose information: + +`distrobox-list {{[-v|--verbose]}}` diff --git a/pages/linux/distrobox-rm.md b/pages/linux/distrobox-rm.md new file mode 100644 index 00000000000000..1dcd07da0631bd --- /dev/null +++ b/pages/linux/distrobox-rm.md @@ -0,0 +1,13 @@ +# distrobox-rm + +> Remove a Distrobox container. +> See also: `distrobox`. +> More information: . + +- Remove a Distrobox container (Tip: Stop the container before removing it): + +`distrobox-rm {{container_name}}` + +- Remove a Distrobox container forcefully: + +`distrobox-rm {{container_name}} {{[-f|--force]}}` diff --git a/pages/linux/distrobox-stop.md b/pages/linux/distrobox-stop.md new file mode 100644 index 00000000000000..af41c84f905cb2 --- /dev/null +++ b/pages/linux/distrobox-stop.md @@ -0,0 +1,13 @@ +# distrobox-stop + +> Stop a Distrobox container. +> See also: `distrobox`. +> More information: . + +- Stop a Distrobox container: + +`distrobox-stop {{container_name}}` + +- Stop a Distrobox container non-interactively (without confirmation): + +`distrobox-stop {{[-n|--name]}} {{container_name}} {{[-Y|--yes]}}` diff --git a/pages/linux/distrobox-upgrade.md b/pages/linux/distrobox-upgrade.md new file mode 100644 index 00000000000000..ee7fdbf2186859 --- /dev/null +++ b/pages/linux/distrobox-upgrade.md @@ -0,0 +1,17 @@ +# distrobox-upgrade + +> Upgrade one or multiple Distrobox containers. +> See also: `distrobox`. +> More information: . + +- Upgrade a container using the container's native package manager: + +`distrobox-upgrade {{container_name}}` + +- Upgrade all containers using the container's native package managers: + +`distrobox-upgrade {{[-a|--all]}}` + +- Upgrade specific containers via the container's native package manager: + +`distrobox-upgrade {{container1 container2 ...}}` diff --git a/pages/linux/distrobox.md b/pages/linux/distrobox.md new file mode 100644 index 00000000000000..68f285e397aab9 --- /dev/null +++ b/pages/linux/distrobox.md @@ -0,0 +1,37 @@ +# distrobox + +> Use any Linux distribution inside your terminal in a container. Install & use packages inside it while tightly integrating with the host OS, sharing storage (`home` directory) and hardware. +> Note: It uses Podman or Docker to create your containers. +> More information: . + +- View documentation for creating containers: + +`tldr distrobox-create` + +- View documentation for listing container's information: + +`tldr distrobox-list` + +- View documentation for entering the container: + +`tldr distrobox-enter` + +- View documentation for executing a command on the host from inside a container: + +`tldr distrobox-host-exec` + +- View documentation for exporting app/service/binary from the container to the host: + +`tldr distrobox-export` + +- View documentation for upgrading containers: + +`tldr distrobox-upgrade` + +- View documentation for stopping the containers: + +`tldr distrobox-stop` + +- View documentation for removing the containers: + +`tldr distrobox-rm` diff --git a/pages/linux/dkms.md b/pages/linux/dkms.md index cfac3cba6698e9..392b92750efb9f 100644 --- a/pages/linux/dkms.md +++ b/pages/linux/dkms.md @@ -1,7 +1,7 @@ # dkms > A framework that allows for dynamic building of kernel modules. -> More information: . +> More information: . - List currently installed modules: @@ -9,12 +9,12 @@ - Rebuild all modules for the currently running kernel: -`dkms autoinstall` +`sudo dkms autoinstall` - Install version 1.2.1 of the acpi_call module for the currently running kernel: -`dkms install -m {{acpi_call}} -v {{1.2.1}}` +`sudo dkms install -m {{acpi_call}} -v {{1.2.1}}` - Remove version 1.2.1 of the acpi_call module from all kernels: -`dkms remove -m {{acpi_call}} -v {{1.2.1}} --all` +`sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all` diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md new file mode 100644 index 00000000000000..553c8688c4be66 --- /dev/null +++ b/pages/linux/dm-tool.md @@ -0,0 +1,20 @@ +# dm-tool + +> A tool to communicate with the display manager. +> More information: . + +- Show the greeter while keeping current desktop session open and waiting to be restored upon authentication by logged in user: + +`dm-tool switch-to-greeter` + +- Lock the current session: + +`dm-tool lock` + +- Switch to a specific user, showing an authentication prompt if required: + +`dm-tool switch-to-user {{username}} {{session}}` + +- Add a dynamic seat from within a running LightDM session: + +`dm-tool add-seat {{xlocal}} {{name}}={{value}}` diff --git a/pages/linux/dmenu.md b/pages/linux/dmenu.md index a102df88659cdc..1c852b72472c94 100644 --- a/pages/linux/dmenu.md +++ b/pages/linux/dmenu.md @@ -1,7 +1,8 @@ # dmenu > Dynamic menu. -> Creates a menu from a text input with each item on a new line. +> Create a menu from a text input with each item on a new line. +> More information: . - Display a menu of the output of the `ls` command: diff --git a/pages/linux/dmesg.md b/pages/linux/dmesg.md index 92d1dfab130dd1..6fb1b5be438fdb 100644 --- a/pages/linux/dmesg.md +++ b/pages/linux/dmesg.md @@ -1,35 +1,36 @@ # dmesg -> Write the kernel messages to standard output. +> Write the kernel messages to `stdout`. +> More information: . - Show kernel messages: -`dmesg` +`sudo dmesg` - Show kernel error messages: -`dmesg --level err` +`sudo dmesg {{[-l|--level]}} err` -- Show kernel messages and keep reading new ones, similar to `tail -f` (available in kernels 3.5.0 and newer): +- Show kernel messages and keep [w]aiting for new ones, similar to `tail --follow` (available in kernels 3.5.0 and newer): -`dmesg -w` +`sudo dmesg {{[-w|--follow]}}` - Show how much physical memory is available on this system: -`dmesg | grep -i memory` +`sudo dmesg | grep {{[-i|--ignore-case]}} memory` - Show kernel messages 1 page at a time: -`dmesg | less` +`sudo dmesg | less` - Show kernel messages with a timestamp (available in kernels 3.5.0 and newer): -`dmesg -T` +`sudo dmesg {{[-T|--ctime]}}` - Show kernel messages in human-readable form (available in kernels 3.5.0 and newer): -`dmesg -H` +`sudo dmesg {{[-H|--human]}}` - Colorize output (available in kernels 3.5.0 and newer): -`dmesg -L` +`sudo dmesg {{[-L|--color]}}` diff --git a/pages/linux/dmidecode.md b/pages/linux/dmidecode.md index f23ce42bbb9fca..19734c2c1ab914 100644 --- a/pages/linux/dmidecode.md +++ b/pages/linux/dmidecode.md @@ -2,6 +2,7 @@ > Display the DMI (alternatively known as SMBIOS) table contents in a human-readable format. > Requires root privileges. +> More information: . - Show all DMI table contents: @@ -9,20 +10,20 @@ - Show the BIOS version: -`sudo dmidecode -s bios-version` +`sudo dmidecode {{[-s|--string]}} bios-version` - Show the system's serial number: -`sudo dmidecode -s system-serial-number` +`sudo dmidecode {{[-s|--string]}} system-serial-number` - Show BIOS information: -`sudo dmidecode -t bios` +`sudo dmidecode {{[-t|--type]}} bios` - Show CPU information: -`sudo dmidecode -t processor` +`sudo dmidecode {{[-t|--type]}} processor` - Show memory information: -`sudo dmidecode -t memory` +`sudo dmidecode {{[-t|--type]}} memory` diff --git a/pages/linux/dnf-builddep.md b/pages/linux/dnf-builddep.md new file mode 100644 index 00000000000000..15779f16046934 --- /dev/null +++ b/pages/linux/dnf-builddep.md @@ -0,0 +1,30 @@ +# dnf builddep + +> Install dependencies to build a given package. +> Not default to `dnf` but supported via `dnf-plugins-core`. +> See also: `dnf`. +> More information: . + +- Install dependencies for a given package: + +`dnf builddep {{path/to/specification.spec}}` + +- Install dependencies for a given package but ignore unavailable: + +`dnf builddep --skip-unavailable {{path/to/specification.spec}}` + +- Define the RPM macro to a given expression: + +`dnf builddep {{[-D|--define]}} '{{expression}}'` + +- Define an argument for a `.spec` file path: + +`dnf builddep --spec {{argument}}` + +- Define an argument for a `.rpm` file path: + +`dnf builddep --srpm {{argument}}` + +- Display help: + +`dnf builddep --help-cmd` diff --git a/pages/linux/dnf-changelog.md b/pages/linux/dnf-changelog.md new file mode 100644 index 00000000000000..a5d73b7ae24e4c --- /dev/null +++ b/pages/linux/dnf-changelog.md @@ -0,0 +1,26 @@ +# dnf changelog + +> View the changelogs for a given package. +> Not default to `dnf` but supported via `dnf-plugins-core`. +> See also: `dnf`. +> More information: . + +- View all changelogs for a given package: + +`dnf changelog {{package}}` + +- View all changelogs for a given package after a specified date: + +`dnf changelog --since {{date}} {{package}}` + +- View the last `n` number of changelogs for a given package: + +`dnf changelog --count {{number}} {{package}}` + +- Show only new items for upgradeable packages: + +`dnf changelog --upgrades {{package}}` + +- Display help: + +`dnf changelog --help-cmd` diff --git a/pages/linux/dnf-clean.md b/pages/linux/dnf-clean.md new file mode 100644 index 00000000000000..2b1513eb51bec5 --- /dev/null +++ b/pages/linux/dnf-clean.md @@ -0,0 +1,24 @@ +# dnf clean + +> Perform cleanup of temporary files kept for Red Hat-based repositories. +> More information: . + +- Remove cache files generated from the repository metadata: + +`dnf clean dbcache` + +- Mark the repository metadata as expired: + +`dnf clean expire-cache` + +- Remove repository metadata: + +`dnf clean metadata` + +- Remove any cached packages from the system: + +`dnf clean packages` + +- Clean up all DNF repository specific metadata and cached files (all of the above): + +`dnf clean all` diff --git a/pages/linux/dnf-config-manager.md b/pages/linux/dnf-config-manager.md new file mode 100644 index 00000000000000..03e49413f2fa20 --- /dev/null +++ b/pages/linux/dnf-config-manager.md @@ -0,0 +1,30 @@ +# dnf config-manager + +> Manage DNF configuration options and repositories on Fedora-based systems. +> Not default to `dnf` but supported via `dnf-plugins-core`. +> See also: `dnf`. +> More information: . + +- Add (and enable) a repository from a URL: + +`dnf config-manager --add-repo={{repository_url}}` + +- Print current configuration values: + +`dnf config-manager --dump` + +- Enable a specific repository: + +`dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}` + +- Disable specified repositories: + +`dnf config-manager {{[--disable|--set-disabled]}} {{repository_id1 repository_id2 ...}}` + +- Set a configuration option for a repository: + +`dnf config-manager --setopt={{option}}={{value}}` + +- Display help: + +`dnf config-manager --help-cmd` diff --git a/pages/linux/dnf-deplist.md b/pages/linux/dnf-deplist.md new file mode 100644 index 00000000000000..dfc3b141271372 --- /dev/null +++ b/pages/linux/dnf-deplist.md @@ -0,0 +1,7 @@ +# dnf deplist + +> This command is an alias of `dnf repoquery --deplist`. + +- View documentation for the original command: + +`tldr dnf repoquery` diff --git a/pages/linux/dnf-download.md b/pages/linux/dnf-download.md new file mode 100644 index 00000000000000..c3914a36828669 --- /dev/null +++ b/pages/linux/dnf-download.md @@ -0,0 +1,18 @@ +# dnf download + +> Download RPM packages from the DNF repositories. +> Not default to `dnf` but supported via `dnf-plugins-core`. +> See also: `dnf`. +> More information: . + +- Download the latest version of a package to the current directory: + +`dnf download {{package}}` + +- Download a package to a specific directory (the directory must exist): + +`dnf download {{package}} --destdir {{path/to/directory}}` + +- Print the URL where the RPM package can be downloaded from: + +`dnf download --url {{package}}` diff --git a/pages/linux/dnf-group.md b/pages/linux/dnf-group.md new file mode 100644 index 00000000000000..b1cf5cbd0895d8 --- /dev/null +++ b/pages/linux/dnf-group.md @@ -0,0 +1,24 @@ +# dnf group + +> Manage virtual collections of packages on Fedora-based systems. +> More information: . + +- List DNF groups, showing installed and uninstalled status in a table: + +`dnf {{[grp|group]}} list` + +- Show DNF group info, including repository and optional packages: + +`dnf {{[grp|group]}} info {{group_name}}` + +- Install DNF group: + +`dnf {{[grp|group]}} install {{group_name}}` + +- Remove DNF group: + +`dnf {{[grp|group]}} remove {{group_name}}` + +- Upgrade DNF group: + +`dnf {{[grp|group]}} upgrade {{group_name}}` diff --git a/pages/linux/dnf-install.md b/pages/linux/dnf-install.md new file mode 100644 index 00000000000000..43c99ec0487ae2 --- /dev/null +++ b/pages/linux/dnf-install.md @@ -0,0 +1,24 @@ +# dnf install + +> Install packages on Red Hat-based distributions. +> More information: . + +- Install packages by name: + +`sudo dnf {{[in|install]}} {{package1 package2 ...}}` + +- Install a package from a local file: + +`sudo dnf {{[in|install]}} {{path/to/file}}` + +- Install a package from the internet: + +`sudo dnf {{[in|install]}} {{https://example.com/package.rpm}}` + +- Add the Extra Packages for Enterprise Linux (EPEL) repositories: + +`sudo dnf {{[in|install]}} https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{10}}.noarch.rpm` + +- Add Remi's RPM repository: + +`sudo dnf {{[in|install]}} https://rpms.remirepo.net/enterprise/remi-release-{{8}}.rpm` diff --git a/pages/linux/dnf-module.md b/pages/linux/dnf-module.md new file mode 100644 index 00000000000000..ba1ddb49e1ba83 --- /dev/null +++ b/pages/linux/dnf-module.md @@ -0,0 +1,20 @@ +# dnf module + +> Manage package modularity. +> More information: . + +- View the modularity overview: + +`dnf module list` + +- View modularity of a specific program: + +`dnf module list {{package_name}}` + +- Set a package to be enabled: + +`sudo dnf module enable {{package_name}}:{{stream}}` + +- Enable and install a specific version: + +`dnf module install {{package_name}}:{{stream}}` diff --git a/pages/linux/dnf-repoquery.md b/pages/linux/dnf-repoquery.md new file mode 100644 index 00000000000000..e0de33edc3e26e --- /dev/null +++ b/pages/linux/dnf-repoquery.md @@ -0,0 +1,8 @@ +# dnf repoquery + +> Query packages for information. +> More information: . + +- Query a package for its dependencies: + +`dnf {{[rq|repoquery]}} --deplist {{package}}` diff --git a/pages/linux/dnf.md b/pages/linux/dnf.md index 459981647c9523..16c147d5ff8f2f 100644 --- a/pages/linux/dnf.md +++ b/pages/linux/dnf.md @@ -1,36 +1,38 @@ # dnf > Package management utility for RHEL, Fedora, and CentOS (replaces yum). -> More information: . +> Some subcommands such as `group` and `config-manager` have their own usage documentation. +> For equivalent commands in other package managers, see . +> More information: . - Upgrade installed packages to the newest available versions: -`sudo dnf upgrade` +`sudo dnf {{[up|upgrade]}}` - Search packages via keywords: -`dnf search {{keywords}}` +`dnf {{[se|search]}} {{keyword1 keyword2 ...}}` - Display details about a package: -`dnf info {{package}}` +`dnf {{[if|info]}} {{package}}` -- Install a new package: +- Install a new package (use `--assumeyes` to confirm all prompts automatically): -`sudo dnf install {{package}}` - -- Install a new package and assume yes to all questions: - -`sudo dnf -y install {{package}}` +`sudo dnf {{[in|install]}} {{package1 package2 ...}}` - Remove a package: -`sudo dnf remove {{package}}` +`sudo dnf {{[rm|remove]}} {{package1 package2 ...}}` - List installed packages: -`dnf list --installed` +`dnf {{[ls|list]}} --installed` + +- Find which packages provide a given command: + +`dnf {{[wp|provides]}} {{command}}` -- Find which packages provide a given file: +- View all past operations: -`dnf provides {{file}}` +`dnf {{[hist|history]}}` diff --git a/pages/linux/dnf5-group.md b/pages/linux/dnf5-group.md new file mode 100644 index 00000000000000..6270a047049521 --- /dev/null +++ b/pages/linux/dnf5-group.md @@ -0,0 +1,8 @@ +# dnf5 group + +> This command is an alias of `dnf group`. +> Note: From Fedora 37 to 40 (inclusive), `dnf` runs DNF v4 while `dnf5` runs DNF v5. + +- View documentation for the original command: + +`tldr dnf group` diff --git a/pages/linux/dnf5.md b/pages/linux/dnf5.md new file mode 100644 index 00000000000000..4479fb442c275c --- /dev/null +++ b/pages/linux/dnf5.md @@ -0,0 +1,38 @@ +# dnf5 + +> Package management utility for RHEL, Fedora, and CentOS (it replaces dnf, which in turn replaced yum). +> DNF5 is a C++ rewrite of the DNF package manager featuring improved performance and a smaller size. +> For equivalent commands in other package managers, see . +> More information: . + +- Upgrade installed packages to the newest available versions: + +`sudo dnf5 upgrade` + +- Search packages via keywords: + +`dnf5 search {{keyword1 keyword2 ...}}` + +- Display details about a package: + +`dnf5 info {{package}}` + +- Install new packages (Note: Use `-y` to confirm all prompts automatically): + +`sudo dnf5 install {{package1 package2 ...}}` + +- Remove packages: + +`sudo dnf5 remove {{package1 package2 ...}}` + +- List installed packages: + +`dnf5 list --installed` + +- Find which packages provide a given command: + +`dnf5 provides {{command}}` + +- Remove or expire cached data: + +`sudo dnf5 clean all` diff --git a/pages/linux/dnsdomainname.md b/pages/linux/dnsdomainname.md new file mode 100644 index 00000000000000..06296b609c4b73 --- /dev/null +++ b/pages/linux/dnsdomainname.md @@ -0,0 +1,9 @@ +# dnsdomainname + +> Show the system's DNS domain name. +> Note: The tool uses `gethostname` to get the hostname of the system and then `getaddrinfo` to resolve it into a canonical name. +> More information: . + +- Show the system's DNS domain name: + +`dnsdomainname` diff --git a/pages/linux/dnsmap.md b/pages/linux/dnsmap.md new file mode 100644 index 00000000000000..f597dd5c3bf820 --- /dev/null +++ b/pages/linux/dnsmap.md @@ -0,0 +1,20 @@ +# dnsmap + +> The dnsmap command scans a domain for common subdomains e.g. smtp.domain.org. +> More information: . + +- Scan for subdomains using the internal wordlist: + +`dnsmap {{example.com}}` + +- Specify a list of subdomains to check for: + +`dnsmap {{example.com}} -w {{path/to/wordlist.txt}}` + +- Store results to a CSV file: + +`dnsmap {{example.com}} -c {{path/to/file.csv}}` + +- Ignore 2 IPs that are false positives (up to 5 possible): + +`dnsmap {{example.com}} -i {{123.45.67.89,98.76.54.32}}` diff --git a/pages/linux/dnsrecon.md b/pages/linux/dnsrecon.md index b3f897a6f29d4e..d53133d632aa8f 100644 --- a/pages/linux/dnsrecon.md +++ b/pages/linux/dnsrecon.md @@ -3,30 +3,30 @@ > DNS enumeration tool. > More information: . -- Scan a domain and save the results to a SQLite database: +- Scan a domain and save the results to an SQLite database: -`dnsrecon --domain {{example.com}} --db {{path/to/database.sqlite}}` +`dnsrecon {{[-d|--domain]}} {{example.com}} --db {{path/to/database.sqlite}}` - Scan a domain, specifying the nameserver and performing a zone transfer: -`dnsrecon --domain {{example.com}} --name_server {{nameserver.example.com}} --type axfr` +`dnsrecon {{[-d|--domain]}} {{example.com}} {{[-n|--name_server]}} {{nameserver.example.com}} {{[-t|--type]}} axfr` -- Scan a domain, using a dictionary of subdomains and hostnames for bruteforcing: +- Scan a domain, using a brute-force attack and a dictionary of subdomains and hostnames: -`dnsrecon --domain {{example.com}} --dictionary {{path/to/dictionary.txt}} --type brt` +`dnsrecon {{[-d|--domain]}} {{example.com}} {{[-D|--dictionary]}} {{path/to/dictionary.txt}} {{[-t|--type]}} brt` - Scan a domain, performing a reverse lookup of IP ranges from the SPF record and saving the results to a JSON file: -`dnsrecon --domain {{example.com}} -s --json` +`dnsrecon {{[-d|--domain]}} {{example.com}} -s {{[-j|--json]}}` - Scan a domain, performing a Google enumeration and saving the results to a CSV file: -`dnsrecon --domain {{example.com}} -g --csv` +`dnsrecon {{[-d|--domain]}} {{example.com}} -g {{[-c|--csv]}}` - Scan a domain, performing DNS cache snooping: -`dnsrecon --domain {{example.com}} --type snoop --name_server {{nameserver.example.com}} --dictionary {{path/to/dictionary.txt}}` +`dnsrecon {{[-d|--domain]}} {{example.com}} {{[-t|--type]}} snoop {{[-n|--name_server]}} {{nameserver.example.com}} {{[-D|--dictionary]}} {{path/to/dictionary.txt}}` - Scan a domain, performing zone walking: -`dnsrecon --domain {{example.com}} --type zonewalk` +`dnsrecon {{[-d|--domain]}} {{example.com}} {{[-t|--type]}} zonewalk` diff --git a/pages/linux/dnstracer.md b/pages/linux/dnstracer.md new file mode 100644 index 00000000000000..894d52006746e0 --- /dev/null +++ b/pages/linux/dnstracer.md @@ -0,0 +1,28 @@ +# dnstracer + +> The dnstracer command determines where a DNS gets its information from. +> More information: . + +- Find out where your local DNS got the information on www.example.com: + +`dnstracer {{www.example.com}}` + +- Start with a [s]pecific DNS that you already know: + +`dnstracer -s {{dns.example.org}} {{www.example.com}}` + +- Only query IPv4 servers: + +`dnstracer -4 {{www.example.com}}` + +- Retry each request 5 times on failure: + +`dnstracer -r {{5}} {{www.example.com}}` + +- Display all steps during execution: + +`dnstracer -v {{www.example.com}}` + +- Display an [o]verview of all received answers after execution: + +`dnstracer -o {{www.example.com}}` diff --git a/pages/linux/do-release-upgrade.md b/pages/linux/do-release-upgrade.md index 1ae1d18cf20933..7a5ea1a9a29d4a 100644 --- a/pages/linux/do-release-upgrade.md +++ b/pages/linux/do-release-upgrade.md @@ -1,6 +1,7 @@ # do-release-upgrade > The Ubuntu release upgrader. +> More information: . - Upgrade to the latest release: @@ -8,8 +9,8 @@ - Upgrade to the latest development release: -`sudo do-release-upgrade --devel-release` +`sudo do-release-upgrade {{[-d|--devel-release]}}` - Upgrade to the latest proposed release: -`sudo do-release-upgrade --proposed` +`sudo do-release-upgrade {{[-p|--proposed]}}` diff --git a/pages/linux/dockerd.md b/pages/linux/dockerd.md index 6af6294ff28ef6..2837355b0fcef1 100644 --- a/pages/linux/dockerd.md +++ b/pages/linux/dockerd.md @@ -1,24 +1,24 @@ # dockerd -> A persistent process to start and manage docker containers. -> More information: . +> A persistent process to start and manage Docker containers. +> More information: . -- Run docker daemon: +- Run Docker daemon: `dockerd` -- Run docker daemon and config it to listen to specific sockets(unix,tcp): +- Run Docker daemon and configure it to listen to specific sockets (UNIX and TCP): -`dockerd --host unix://{{path/to/tmp.sock}} --host tcp://{{ip}}` +`dockerd {{[-H|--host]}} unix://{{path/to/tmp.sock}} {{[-H|--host]}} tcp://{{ip}}` - Run with specific daemon PID file: -`dockerd --pidfile {{path/to/pid_file}}` +`dockerd {{[-p|--pidfile]}} {{path/to/pid_file}}` - Run in debug mode: -`dockerd --debug` +`dockerd {{[-D|--debug]}}` - Run and set a specific log level: -`dockerd --log-level={{debug|info|warn|error|fatal}}` +`dockerd {{[-l|--log-level]}} {{debug|info|warn|error|fatal}}` diff --git a/pages/linux/dolphin.md b/pages/linux/dolphin.md new file mode 100644 index 00000000000000..cec4444e50b375 --- /dev/null +++ b/pages/linux/dolphin.md @@ -0,0 +1,33 @@ +# dolphin + +> KDE's file manager to manage files and directories. +> See also: `nautilus`, `caja`, `thunar`, `ranger`. +> More information: . + +- Launch the file manager: + +`dolphin` + +- Open specific directories: + +`dolphin {{path/to/directory1 path/to/directory2 ...}}` + +- Open with specific files or directories selected: + +`dolphin --select {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Open a new window: + +`dolphin --new-window` + +- Open specific directories in split view: + +`dolphin --split {{path/to/directory1}} {{path/to/directory2}}` + +- Launch the daemon (only required to use the D-Bus interface): + +`dolphin --daemon` + +- Display help: + +`dolphin {{[-h|--help]}}` diff --git a/pages/linux/dos2unix.md b/pages/linux/dos2unix.md index a3722cc09d8c4d..ba9da1ae8fe851 100644 --- a/pages/linux/dos2unix.md +++ b/pages/linux/dos2unix.md @@ -1,12 +1,22 @@ # dos2unix > Change DOS-style line endings to Unix-style. -> Replaces CRLF with CR. +> Replaces CRLF with LF. +> See also: `unix2dos`, `unix2mac`, `mac2unix`. +> More information: . - Change the line endings of a file: -`dos2unix {{filename}}` +`dos2unix {{path/to/file}}` - Create a copy with Unix-style line endings: -`dos2unix -n {{filename}} {{new_filename}}` +`dos2unix {{[-n|--newfile]}} {{path/to/file}} {{path/to/new_file}}` + +- Display file information: + +`dos2unix {{[-i|--info]}} {{path/to/file}}` + +- Keep/add/remove Byte Order Mark: + +`dos2unix --{{keep-bom|add-bom|remove-bom}} {{path/to/file}}` diff --git a/pages/linux/dphys-swapfile.md b/pages/linux/dphys-swapfile.md new file mode 100644 index 00000000000000..5084b94561f984 --- /dev/null +++ b/pages/linux/dphys-swapfile.md @@ -0,0 +1,16 @@ +# dphys-swapfile + +> Manage the swap file on Debian-based Linux systems. +> More information: . + +- Disable the swap file: + +`dphys-swapfile swapoff` + +- Enable the swap file: + +`dphys-swapfile swapon` + +- Create a new swap file: + +`dphys-swapfile setup` diff --git a/pages/linux/dpigs.md b/pages/linux/dpigs.md new file mode 100644 index 00000000000000..29097b46c4fa4d --- /dev/null +++ b/pages/linux/dpigs.md @@ -0,0 +1,24 @@ +# dpigs + +> Show which installed packages occupy the most space on `apt` based systems. +> More information: . + +- Display the `n` largest packages on the system: + +`dpigs {{[-n|--lines]}} {{n}}` + +- Use the specified file instead of the default dpkg status file: + +`dpigs {{[-s|--status]}} {{path/to/file}}` + +- Display the largest source packages of binary packages installed on the system: + +`dpigs {{[-S|--source]}}` + +- Display package sizes in human-readable format: + +`dpigs {{[-H|--human-readable]}}` + +- Display help: + +`dpigs {{[-h|--help]}}` diff --git a/pages/linux/dpkg-deb.md b/pages/linux/dpkg-deb.md index 7eb47d1252bd97..657e59b9cce1a0 100644 --- a/pages/linux/dpkg-deb.md +++ b/pages/linux/dpkg-deb.md @@ -1,24 +1,24 @@ # dpkg-deb > Pack, unpack and provide information about Debian archives. -> More information: . +> More information: . - Display information about a package: -`dpkg-deb --info {{path/to/file.deb}}` +`dpkg-deb {{[-I|--info]}} {{path/to/file.deb}}` - Display the package's name and version on one line: -`dpkg-deb --show {{path/to/file.deb}}` +`dpkg-deb {{[-W|--show]}} {{path/to/file.deb}}` - List the package's contents: -`dpkg-deb --contents {{path/to/file.deb}}` +`dpkg-deb {{[-c|--contents]}} {{path/to/file.deb}}` - Extract package's contents into a directory: -`dpkg-deb --extract {{path/to/file.deb}} {{path/to/directory}}` +`dpkg-deb {{[-x|--extract]}} {{path/to/file.deb}} {{path/to/directory}}` - Create a package from a specified directory: -`dpkg-deb --build {{path/to/directory}}` +`dpkg-deb {{[-b|--build]}} {{path/to/directory}}` diff --git a/pages/linux/dpkg-query.md b/pages/linux/dpkg-query.md index b6069ad9a70134..45b217e98de5b8 100644 --- a/pages/linux/dpkg-query.md +++ b/pages/linux/dpkg-query.md @@ -1,19 +1,24 @@ # dpkg-query -> A tool that shows information about installed packages. +> Display information about installed packages. +> More information: . - List all installed packages: -`dpkg-query -l` +`dpkg-query {{[-l|--list]}}` - List installed packages matching a pattern: -`dpkg-query -l '{{pattern}}'` +`dpkg-query {{[-l|--list]}} '{{libc6*}}'` - List all files installed by a package: -`dpkg-query -L {{package_name}}` +`dpkg-query {{[-L|--listfiles]}} {{libc6}}` - Show information about a package: -`dpkg-query -s {{package_name}}` +`dpkg-query {{[-s|--status]}} {{libc6}}` + +- Search for packages that own files matching a pattern: + +`dpkg-query {{[-S|--search]}} {{/etc/ld.so.conf.d}}` diff --git a/pages/linux/dpkg-reconfigure.md b/pages/linux/dpkg-reconfigure.md new file mode 100644 index 00000000000000..6fe96258e2b3a6 --- /dev/null +++ b/pages/linux/dpkg-reconfigure.md @@ -0,0 +1,16 @@ +# dpkg-reconfigure + +> Reconfigure an already installed package. +> More information: . + +- Reconfigure one or more packages: + +`dpkg-reconfigure {{package1 package2 ...}}` + +- Reconfigure console font setup: + +`dpkg-reconfigure console-setup` + +- Reconfigure the timezone: + +`dpkg-reconfigure tzdata` diff --git a/pages/linux/dpkg.md b/pages/linux/dpkg.md index 7560b6d7a3166f..3540eda76ba842 100644 --- a/pages/linux/dpkg.md +++ b/pages/linux/dpkg.md @@ -1,28 +1,34 @@ # dpkg > Debian package manager. -> More information: . +> Some subcommands such as `deb` have their own usage documentation. +> For equivalent commands in other package managers, see . +> More information: . - Install a package: -`dpkg -i {{path/to/file.deb}}` +`dpkg {{[-i|--install]}} {{path/to/file.deb}}` - Remove a package: -`dpkg -r {{package_name}}` +`dpkg {{[-r|--remove]}} {{package}}` - List installed packages: -`dpkg -l {{pattern}}` +`dpkg {{[-l|--list]}} {{pattern}}` - List a package's contents: -`dpkg -L {{package_name}}` +`dpkg {{[-L|--listfiles]}} {{package}}` - List contents of a local package file: -`dpkg -c {{path/to/file.deb}}` +`dpkg {{[-c|--contents]}} {{path/to/file.deb}}` - Find out which package owns a file: -`dpkg -S {{filename}}` +`dpkg {{[-S|--search]}} {{path/to/file}}` + +- Purge an installed or already removed package, including configuration: + +`dpkg {{[-P|--purge]}} {{package}}` diff --git a/pages/linux/dracut.md b/pages/linux/dracut.md new file mode 100644 index 00000000000000..51626884349b35 --- /dev/null +++ b/pages/linux/dracut.md @@ -0,0 +1,21 @@ +# dracut + +> Generate initramfs images to boot the Linux kernel. +> Dracut uses options from configuration files in `/etc/dracut.conf`, `/etc/dracut.conf.d/*.conf` and `/usr/lib/dracut/dracut.conf.d/*.conf` by default. +> More information: . + +- Generate an initramfs image for the current kernel without overriding any options: + +`dracut` + +- Generate an initramfs image for the current kernel and overwrite the existing one: + +`dracut {{[-f|--force]}}` + +- Generate an initramfs image for a specific kernel: + +`dracut --kver {{kernel_version}}` + +- List available modules: + +`dracut --list-modules` diff --git a/pages/linux/drawing.md b/pages/linux/drawing.md new file mode 100644 index 00000000000000..d8494b84204b19 --- /dev/null +++ b/pages/linux/drawing.md @@ -0,0 +1,16 @@ +# drawing + +> Free basic raster image editor in GNOME desktop environment. +> More information: . + +- Start Drawing: + +`drawing` + +- Open specific files: + +`drawing {{path/to/image1 path/to/image2 ...}}` + +- Open specific files in a new window: + +`drawing --new-window {{path/to/image1 path/to/image2 ...}}` diff --git a/pages/linux/dropbearconvert.md b/pages/linux/dropbearconvert.md new file mode 100644 index 00000000000000..466997a3c4c391 --- /dev/null +++ b/pages/linux/dropbearconvert.md @@ -0,0 +1,12 @@ +# dropbearconvert + +> Convert between Dropbear and OpenSSH private key formats. +> More information: . + +- Convert an OpenSSH private key to the Dropbear format: + +`dropbearconvert openssh dropbear {{path/to/input_key}} {{path/to/output_key}}` + +- Convert a Dropbear private key to the OpenSSH format: + +`dropbearconvert dropbear openssh {{path/to/input_key}} {{path/to/output_key}}` diff --git a/pages/linux/dropbearkey.md b/pages/linux/dropbearkey.md new file mode 100644 index 00000000000000..fcf31da7f7ac2c --- /dev/null +++ b/pages/linux/dropbearkey.md @@ -0,0 +1,20 @@ +# dropbearkey + +> Generate SSH keys in Dropbear format. +> More information: . + +- Generate an SSH key of [t]ype ed25519 and write it to key [f]ile: + +`dropbearkey -t {{ed25519}} -f {{path/to/key_file}}` + +- Generate an SSH key of [t]ype ecdsa and write it to key [f]ile: + +`dropbearkey -t {{ecdsa}} -f {{path/to/key_file}}` + +- Generate an SSH key of [t]ype RSA with 4096-bit key [s]ize and write it to key [f]ile: + +`dropbearkey -t {{rsa}} -s {{4096}} -f {{path/to/key_file}}` + +- Print the private key fingerprint and public key in key [f]ile: + +`dropbearkey -y -f {{path/to/key_file}}` diff --git a/pages/linux/dstat.md b/pages/linux/dstat.md index 622e09e62b5b23..ecac2a1475ad0a 100644 --- a/pages/linux/dstat.md +++ b/pages/linux/dstat.md @@ -1,7 +1,8 @@ # dstat > Versatile tool for generating system resource statistics. -> More information: . +> Note: dstat is deprecated and no longer maintained. +> More information: . - Display CPU, disk, net, paging and system statistics: @@ -13,7 +14,7 @@ - Display CPU and memory statistics only: -`dstat --cpu --mem` +`dstat {{[-c|--cpu]}} {{[-m|--mem]}}` - List all available dstat plugins: diff --git a/pages/linux/dump.exfat.md b/pages/linux/dump.exfat.md new file mode 100644 index 00000000000000..0ae87189099588 --- /dev/null +++ b/pages/linux/dump.exfat.md @@ -0,0 +1,8 @@ +# dump.exfat + +> Show on-disk information of an exFAT filesystem. +> More information: . + +- Print on-disk information for a given filesystem: + +`dump.exfat {{/dev/sdXY}}` diff --git a/pages/linux/dumpe2fs.md b/pages/linux/dumpe2fs.md index 6e6fc3bdb6886a..a4019694abd3ca 100644 --- a/pages/linux/dumpe2fs.md +++ b/pages/linux/dumpe2fs.md @@ -2,7 +2,7 @@ > Print the super block and blocks group information for ext2/ext3/ext4 filesystems. > Unmount the partition before running this command using `umount {{device}}`. -> More information: . +> More information: . - Display ext2, ext3 and ext4 filesystem information: @@ -12,7 +12,7 @@ `dumpe2fs -b {{/dev/sdXN}}` -- Force display filesystem information even with non-recognisable feature flags: +- Force display filesystem information even with unrecognizable feature flags: `dumpe2fs -f {{/dev/sdXN}}` diff --git a/pages/linux/dunstify.md b/pages/linux/dunstify.md deleted file mode 100644 index 309c9919533773..00000000000000 --- a/pages/linux/dunstify.md +++ /dev/null @@ -1,20 +0,0 @@ -# dunstify - -> A notification tool that is an extension of notify-send, but has more features based around dunst. -> Works with all options that work for notify-send. - -- Show a notification with a given title and message: - -`dunstify "{{Title}}" "{{Message}}"` - -- Show a notification with specified urgency: - -`dunstify "{{Title}}" "{{Message}}" -u {{low|normal|critical}}` - -- Specify a message ID (overwrites any previous messages with the same ID): - -`dunstify "{{Title}}" "{{Message}}" -r {{123}}` - -- To see other possible options: - -`notify-send --help` diff --git a/pages/linux/duperemove.md b/pages/linux/duperemove.md index 5ac57c26ab5c6f..1f3114c510f322 100644 --- a/pages/linux/duperemove.md +++ b/pages/linux/duperemove.md @@ -19,4 +19,4 @@ - Limit I/O threads (for hashing and dedupe stage) and CPU threads (for duplicate extent finding stage): -`duperemove -r -d --hashfile={{path/to/hashfile}} --io-threads={{N}} --cpu-threads={{N}} {{path/to/directory}}` +`duperemove -r -d --hashfile={{path/to/hashfile}} --io-threads={{n}} --cpu-threads={{n}} {{path/to/directory}}` diff --git a/pages/linux/dysk.md b/pages/linux/dysk.md new file mode 100644 index 00000000000000..f0ab3cebd76905 --- /dev/null +++ b/pages/linux/dysk.md @@ -0,0 +1,24 @@ +# dysk + +> Display filesystem information in a table. +> More information: . + +- Get a standard overview of your usual disks: + +`dysk` + +- Sort by free size: + +`dysk {{[-s|--sort]}} free` + +- Include only HDD disks: + +`dysk {{[-f|--filter]}} 'disk = HDD'` + +- Exclude SSD disks: + +`dysk {{[-f|--filter]}} 'disk <> SSD'` + +- Display disks with high utilization or low free space: + +`dysk {{[-f|--filter]}} 'use > 65% | free < 50G'` diff --git a/pages/linux/e2freefrag.md b/pages/linux/e2freefrag.md index e32c4d15d0a870..9d0c38ec4d345c 100644 --- a/pages/linux/e2freefrag.md +++ b/pages/linux/e2freefrag.md @@ -1,12 +1,12 @@ # e2freefrag > Print the free space fragmentation information for ext2/ext3/ext4 filesystems. -> More information: . +> More information: . - Check how many free blocks are present as contiguous and aligned free space: `e2freefrag {{/dev/sdXN}}` -- Specify chunk size in kilobytes to print how many free chunks are available: +- Specify [c]hunk size in kilobytes to print how many free chunks are available: `e2freefrag -c {{chunk_size_in_kb}} {{/dev/sdXN}}` diff --git a/pages/linux/e2fsck.md b/pages/linux/e2fsck.md index 4ab434a495e764..7fe8f17cf92dfc 100644 --- a/pages/linux/e2fsck.md +++ b/pages/linux/e2fsck.md @@ -1,15 +1,24 @@ # e2fsck -> Check a Linux ext2/ext3/ext4 filesystem. The filesystem should be unmounted at the time the command is run. +> Check a Linux ext2/ext3/ext4 filesystem. The partition should be unmounted. +> More information: . - Check filesystem, reporting any damaged blocks: -`e2fsck {{/dev/sdXN}}` +`sudo e2fsck {{/dev/sdXN}}` -- Check filesystem and automatically repair any damaged blocks: +- Check filesystem and automatically repair ([p]reen) any damaged blocks: -`e2fsck -p {{/dev/sdXN}}` +`sudo e2fsck -p {{/dev/sdXN}}` - Check filesystem in read only mode: -`e2fsck -c {{/dev/sdXN}}` +`sudo e2fsck -c {{/dev/sdXN}}` + +- Force checking even if the filesystem seems clean: + +`sudo e2fsck -f {{/dev/sdXN}}` + +- Perform an exhaustive, non-destructive read-write test for bad blocks and blacklist them: + +`sudo e2fsck -fccky {{/dev/sdXN}}` diff --git a/pages/linux/e2image.md b/pages/linux/e2image.md index a0c963276b406c..dcb46344e076ed 100644 --- a/pages/linux/e2image.md +++ b/pages/linux/e2image.md @@ -1,7 +1,7 @@ # e2image > Save critical ext2/ext3/ext4 filesystem metadata to a file. -> More information: . +> More information: . - Write metadata located on device to a specific file: @@ -19,6 +19,6 @@ `e2image -r {{/dev/sdXN}} {{path/to/image_file}}` -- Create a QCOW2 image file instead of a normal or raw image file: +- Create a [Q]COW2 image file instead of a normal or raw image file: `e2image -Q {{/dev/sdXN}} {{path/to/image_file}}` diff --git a/pages/linux/e2label.md b/pages/linux/e2label.md index 280e2bd0d1b3cc..01b9f21797c1d1 100644 --- a/pages/linux/e2label.md +++ b/pages/linux/e2label.md @@ -1,6 +1,7 @@ # e2label > Change the label on an ext2/ext3/ext4 filesystem. +> More information: . - Change the volume label on a specific ext partition: diff --git a/pages/linux/e2undo.md b/pages/linux/e2undo.md index 4faed7c70c1667..3ab453b3147625 100644 --- a/pages/linux/e2undo.md +++ b/pages/linux/e2undo.md @@ -2,7 +2,7 @@ > Replay undo logs for an ext2/ext3/ext4 filesystem. > This can be used to undo a failed operation by an e2fsprogs program. -> More information: . +> More information: . - Display information about a specific undo file: @@ -16,7 +16,7 @@ `e2undo {{path/to/undo_file}} {{/dev/sdXN}}` -- Perform an undo operation and display verbose information: +- Perform an undo operation and display [v]erbose information: `e2undo -v {{path/to/undo_file}} {{/dev/sdXN}}` diff --git a/pages/linux/e4defrag.md b/pages/linux/e4defrag.md index e3249d589e7713..788e05d1460058 100644 --- a/pages/linux/e4defrag.md +++ b/pages/linux/e4defrag.md @@ -1,6 +1,7 @@ # e4defrag > Defragment an ext4 filesystem. +> More information: . - Defragment the filesystem: diff --git a/pages/linux/ebuild.md b/pages/linux/ebuild.md index 6ee5a3345c7146..9ed701d06ea372 100644 --- a/pages/linux/ebuild.md +++ b/pages/linux/ebuild.md @@ -1,6 +1,7 @@ # ebuild > A low level interface to the Gentoo Portage system. +> More information: . - Create or update the package manifest: diff --git a/pages/linux/eclean-kernel.md b/pages/linux/eclean-kernel.md new file mode 100644 index 00000000000000..7c5be7ec2b32b3 --- /dev/null +++ b/pages/linux/eclean-kernel.md @@ -0,0 +1,16 @@ +# eclean-kernel + +> Remove old kernels in Gentoo. +> More information: . + +- List all kernel files: + +`sudo eclean-kernel {{[-l|--list-kernels]}}` + +- Remove all kernels except for the two newest ones: + +`sudo eclean-kernel {{[-n|--num]}} 2` + +- Remove all kernels except for the two newest ones and ask before removal: + +`sudo eclean-kernel {{[-a|--all]}} {{[-n|--num]}} 2` diff --git a/pages/linux/eclean.md b/pages/linux/eclean.md new file mode 100644 index 00000000000000..fa847f8eca2568 --- /dev/null +++ b/pages/linux/eclean.md @@ -0,0 +1,20 @@ +# eclean + +> Clean repository source files and binary packages. +> More information: . + +- Clean the source file directory: + +`sudo eclean distfiles` + +- Clean the binary package directory: + +`sudo eclean packages` + +- Clean the distfiles of all uninstalled packages, but keep the distfiles of installed packages: + +`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} distfiles` + +- Clean the binary packages of all uninstalled packages, but keep the binaries of installed packages: + +`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} packages` diff --git a/pages/linux/edit.md b/pages/linux/edit.md index 2b62046770215d..1cabfb8c32a82b 100644 --- a/pages/linux/edit.md +++ b/pages/linux/edit.md @@ -2,6 +2,7 @@ > An alias to a `run-mailcap`'s action edit. > Originally `run-mailcap` is used to process/edit mime-type/file. +> More information: . - Edit action can be used to view any file on default mailcap explorer: diff --git a/pages/linux/edquota.md b/pages/linux/edquota.md index bd3b261a27d3bc..578555467a18ad 100644 --- a/pages/linux/edquota.md +++ b/pages/linux/edquota.md @@ -2,27 +2,28 @@ > Edit quotas for a user or group. By default it operates on all filesystems with quotas. > Quota information is stored permanently in the `quota.user` and `quota.group` files in the root of the filesystem. +> More information: . - Edit quota of the current user: -`edquota --user $(whoami)` +`edquota {{[-u|--user]}} $(whoami)` - Edit quota of a specific user: -`sudo edquota --user {{username}}` +`sudo edquota {{[-u|--user]}} {{username}}` - Edit quota for a group: -`sudo edquota --group {{group}}` +`sudo edquota {{[-g|--group]}} {{group}}` - Restrict operations to a given filesystem (by default edquota operates on all filesystems with quotas): -`sudo edquota --file-system {{filesystem}}` +`sudo edquota {{[-f|--file-system]}} {{filesystem}}` - Edit the default grace period: -`sudo edquota -t` +`sudo edquota {{[-t|--edit-period]}}` - Duplicate a quota to other users: -`sudo edquota -p {{reference_user}} {{destination_user1}} {{destination_user2}}` +`sudo edquota {{[-p|--prototype]}} {{reference_user}} {{destination_user1 destination_user2 ...}}` diff --git a/pages/linux/efibootdump.md b/pages/linux/efibootdump.md new file mode 100644 index 00000000000000..ce93833c375682 --- /dev/null +++ b/pages/linux/efibootdump.md @@ -0,0 +1,8 @@ +# efibootdump + +> Dump boot entries from a variable or a file. +> More information: . + +- Dump boot entries from a file: + +`efibootdump {{[-f|--file]}} {{/sys/firmware/efi/efivars/Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c}}` diff --git a/pages/linux/efibootmgr.md b/pages/linux/efibootmgr.md index 200e461fa523d9..ac9973627a7481 100644 --- a/pages/linux/efibootmgr.md +++ b/pages/linux/efibootmgr.md @@ -1,24 +1,24 @@ # efibootmgr -> Manipulate the UEFI Boot Manager (the Bootoptions). -> More information: . +> Manipulate the UEFI Boot Manager. +> More information: . -- List the current settings / bootnums: +- List all boot options with their numbers: -`efibootmgr` +`efibootmgr {{[-u|--unicode]}}` -- List the filepaths: +- Add UEFI Shell v2 as a boot option: -`efibootmgr -v` +`sudo efibootmgr {{[-c|--create]}} {{[-d|--disk]}} {{/dev/sda}} {{[-p|--part]}} {{1}} {{[-l|--loader]}} "{{\path\to\shell.efi}}" {{[-L|--label]}} "{{UEFI Shell}}"` -- Add UEFI Shell v2 as a boot option: +- Add Linux as a boot option: -`sudo efibootmgr -c -d {{/dev/sda1}} -l {{\EFI\tools\Shell.efi}} -L "{{UEFI Shell}}"` +`sudo efibootmgr {{[-c|--create]}} {{[-d|--disk]}} {{/dev/sda}} {{[-p|--part]}} {{1}} {{[-l|--loader]}} "{{\vmlinuz}}" {{[-u|--unicode]}} "{{kernel_cmdline}}" {{[-L|--label]}} "{{Linux}}"` - Change the current boot order: -`sudo efibootmgr -o {{0002,0008,0001,0005}}` +`sudo efibootmgr {{[-o|--bootorder]}} {{0002,0008,0001,001A,...}}` - Delete a boot option: -`sudo efibootmgr -b {{0008}} --delete-bootnum` +`sudo efibootmgr {{[-b|--bootnum]}} {{0008}} {{[-B|--delete-bootnum]}}` diff --git a/pages/linux/efivar.md b/pages/linux/efivar.md new file mode 100644 index 00000000000000..d426e753aa5764 --- /dev/null +++ b/pages/linux/efivar.md @@ -0,0 +1,12 @@ +# efivar + +> Manage UEFI variables. +> More information: . + +- List all UEFI variables: + +`efivar {{[-l|--list]}}` + +- Print the contents of a variable: + +`efivar {{[-n|--name]}} {{146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0000}} {{[-p|--print]}}` diff --git a/pages/linux/eglinfo.md b/pages/linux/eglinfo.md new file mode 100644 index 00000000000000..b82fa1d348b2be --- /dev/null +++ b/pages/linux/eglinfo.md @@ -0,0 +1,16 @@ +# eglinfo + +> Display platform EGL information. +> More information: . + +- Display full platform information: + +`eglinfo` + +- Display a brief version of platform information: + +`eglinfo -B` + +- Display help: + +`eglinfo -h` diff --git a/pages/linux/ego.md b/pages/linux/ego.md new file mode 100644 index 00000000000000..e5cb7c05a73036 --- /dev/null +++ b/pages/linux/ego.md @@ -0,0 +1,28 @@ +# ego + +> Funtoo's official system personality management tool. +> More information: . + +- Synchronize the Portage tree: + +`ego sync` + +- Update the bootloader configuration: + +`ego boot update` + +- Read a Funtoo wiki page by name: + +`ego doc {{wiki_page}}` + +- Print current profile: + +`ego profile show` + +- Enable/Disable mix-ins: + +`ego profile mix-in +{{gnome}} -{{kde-plasma-5}}` + +- Query Funtoo bugs, related to a specified package: + +`ego query bug {{package}}` diff --git a/pages/linux/einfo.md b/pages/linux/einfo.md new file mode 100644 index 00000000000000..068b0d1496fc15 --- /dev/null +++ b/pages/linux/einfo.md @@ -0,0 +1,20 @@ +# einfo + +> Provides the number of records indexed in each database field, the last update date of the database, and the available links from the database to other Entrez databases. +> More information: . + +- Print all database names: + +`einfo -dbs` + +- Print all information of the protein database in XML format: + +`einfo -db {{protein}}` + +- Print all fields of the nuccore database: + +`einfo -db {{nuccore}} -fields` + +- Print all links of the protein database: + +`einfo -db {{protein}} -links` diff --git a/pages/linux/eix.md b/pages/linux/eix.md index 7239454ef837d3..8991e49d5e4342 100644 --- a/pages/linux/eix.md +++ b/pages/linux/eix.md @@ -2,14 +2,15 @@ > Utilities for searching local Gentoo packages. > Update local package cache using `eix-update`. +> More information: . - Search for a package: -`eix {{package_name}}` +`eix {{query}}` - Search for installed packages: -`eix --installed {{package_name}}` +`eix --installed {{query}}` - Search in package descriptions: diff --git a/pages/linux/eject.md b/pages/linux/eject.md index 11bf9ae5527b41..83734cf0b2d6cc 100644 --- a/pages/linux/eject.md +++ b/pages/linux/eject.md @@ -1,10 +1,11 @@ # eject -> Eject cds, floppy disks and tape drives. +> Eject CDs, floppy disks, tape drives, and USB sticks. +> More information: . - Display the default device: -`eject -d` +`eject {{[-d|--default]}}` - Eject the default device: @@ -16,16 +17,20 @@ - Toggle whether a device's tray is open or closed: -`eject -T {{/dev/cdrom}}` +`eject {{[-T|--traytoggle]}} {{/dev/cdrom}}` - Eject a cd drive: -`eject -r {{/dev/cdrom}}` +`eject {{[-r|--cdrom]}} {{/dev/cdrom}}` - Eject a floppy drive: -`eject -f {{/mnt/floppy}}` +`eject {{[-f|--floppy]}} {{/mnt/floppy}}` - Eject a tape drive: -`eject -q {{/mnt/tape}}` +`eject {{[-q|--tape]}} {{/mnt/tape}}` + +- Set whether the physical eject button is [i]gnored (`on` prevents ejecting): + +`eject {{[-i|--manualeject]}} {{on|off}}` diff --git a/pages/linux/elink.md b/pages/linux/elink.md new file mode 100644 index 00000000000000..e39709539c8ff5 --- /dev/null +++ b/pages/linux/elink.md @@ -0,0 +1,13 @@ +# elink + +> Look up precomputed neighbors within a database, or find associated records in other databases. +> It is part of the `edirect` package. +> More information: . + +- Search pubmed then find related sequences: + +`esearch -db pubmed -query "{{selective serotonin reuptake inhibitor}}" | elink -target nuccore` + +- Search nucleotide then find related biosamples: + +`esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}" | elink -target biosample` diff --git a/pages/linux/emaint.md b/pages/linux/emaint.md new file mode 100644 index 00000000000000..79e717b64043f3 --- /dev/null +++ b/pages/linux/emaint.md @@ -0,0 +1,20 @@ +# emaint + +> Perform Portage maintenance tasks. +> More information: . + +- Synchronize repositories that are set to auto-sync (default for most repositories): + +`sudo emaint sync {{[-a|--auto]}}` + +- Synchronize a specific repository: + +`sudo emaint sync {{[-r|--repo]}} {{repository}}` + +- Clear the Portage resume list: + +`sudo emaint cleanresume {{[-f|--fix]}}` + +- Clean Portage logs: + +`sudo emaint logs {{[-C|--clean]}}` diff --git a/pages/linux/emerge.md b/pages/linux/emerge.md index 3eee53fd3ad7a9..8cc14ba2588f77 100644 --- a/pages/linux/emerge.md +++ b/pages/linux/emerge.md @@ -1,31 +1,33 @@ # emerge > Gentoo Linux package manager utility. +> For equivalent commands in other package managers, see . +> More information: . - Synchronize all packages: -`emerge --sync` +`sudo emerge --sync` - Update all packages, including dependencies: -`emerge -uDNav @world` +`sudo emerge {{[-avuDN|--ask --verbose --update --deep --newuse]}} @world` -- Resume a failed updated, skipping the failing package: +- Resume a failed update, skipping the failing package: -`emerge --resume --skipfirst` +`sudo emerge --resume --skipfirst` - Install a new package, with confirmation: -`emerge -av {{package_name}}` +`sudo emerge {{[-av|--ask --verbose]}} {{package}}` -- Remove a package, with confirmation: +- Remove a package and its dependencies with confirmation: -`emerge -Cav {{package_name}}` +`sudo emerge {{[-avc|--ask --verbose --depclean]}} {{package}}` -- Remove orphaned packages (that were installed only as dependencies): +- Remove orphaned packages (installed as dependencies but no longer required by any package): -`emerge -avc` +`sudo emerge {{[-avc|--ask --verbose --depclean]}}` - Search the package database for a keyword: -`emerge -S {{keyword}}` +`emerge {{[-S|--searchdesc]}} {{keyword}}` diff --git a/pages/linux/engrampa.md b/pages/linux/engrampa.md new file mode 100644 index 00000000000000..324df9ea929c9c --- /dev/null +++ b/pages/linux/engrampa.md @@ -0,0 +1,21 @@ +# engrampa + +> Package files into zip/tar file in MATE desktop environment. +> See also: `zip`, `tar`. +> More information: . + +- Start Engrampa: + +`engrampa` + +- Open specific archives: + +`engrampa {{path/to/archive1.tar path/to/archive2.tar ...}}` + +- Archive specific files and/or directories recursively: + +`engrampa --add-to={{path/to/compressed.tar}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Extract files and/or directories from archives to a specific path: + +`engrampa --extract-to={{path/to/directory}} {{path/to/archive1.tar path/to/archive2.tar ...}}` diff --git a/pages/linux/enum4linux.md b/pages/linux/enum4linux.md index 75bcbc90892772..461e0f5c90169e 100644 --- a/pages/linux/enum4linux.md +++ b/pages/linux/enum4linux.md @@ -1,7 +1,7 @@ # enum4linux -> Tool for enumerating Windows and Samba information from remote systems. -> It attempts to offer similar functionality to enum.exe formerly available from www.bindview.com. +> Enumerate Windows and Samba information from remote systems. +> More information: . - Try to enumerate using all methods: @@ -9,16 +9,16 @@ - Enumerate using given login credentials: -`enum4liux -u {{user_name}} -p {{password}} {{remote_host}}` +`enum4linux -u {{user_name}} -p {{password}} {{remote_host}}` - List usernames from a given host: -`enum4liux -U {{remote_host}}` +`enum4linux -U {{remote_host}}` - List shares: -`enum4liux -S {{remote_host}}` +`enum4linux -S {{remote_host}}` - Get OS information: -`enum4liux -o {{remote_host}}` +`enum4linux -o {{remote_host}}` diff --git a/pages/linux/envycontrol.md b/pages/linux/envycontrol.md new file mode 100644 index 00000000000000..acad4fccab4f82 --- /dev/null +++ b/pages/linux/envycontrol.md @@ -0,0 +1,28 @@ +# envycontrol + +> GPU switching utility for Nvidia Optimus laptops. +> More information: . + +- Switch between different GPU modes: + +`sudo envycontrol {{[-s|--switch]}} {{nvidia|integrated|hybrid}}` + +- Specify your display manager manually: + +`envycontrol --dm` + +- Check current GPU mode: + +`sudo envycontrol {{[-q|--query]}}` + +- Reset settings: + +`sudo envycontrol --reset` + +- Display help: + +`envycontrol {{[-h|--help]}}` + +- Display version: + +`envycontrol {{[-v|--version]}}` diff --git a/pages/linux/eopkg.md b/pages/linux/eopkg.md new file mode 100644 index 00000000000000..c6f440e543dd3b --- /dev/null +++ b/pages/linux/eopkg.md @@ -0,0 +1,16 @@ +# eopkg + +> Package manager for Solus. +> More information: . + +- Install a specific package: + +`sudo eopkg install {{package}}` + +- Update all packages: + +`sudo eopkg upgrade` + +- Search for packages: + +`sudo eopkg search {{search_term}}` diff --git a/pages/linux/equery.md b/pages/linux/equery.md index d785f1975abd89..18bdcffbb3f0ac 100644 --- a/pages/linux/equery.md +++ b/pages/linux/equery.md @@ -1,6 +1,7 @@ # equery > View information about Portage packages. +> More information: . - List all installed packages: @@ -8,16 +9,16 @@ - Search for installed packages in the Portage tree and in overlays: -`equery list -po {{package_name}}` +`equery list -po {{package1 package2 ...}}` - List all packages that depend on a given package: -`equery depends {{package_name}}` +`equery depends {{package}}` - List all packages that a given package depends on: -`equery depgraph {{package_name}}` +`equery depgraph {{package}}` - List all files installed by a package: -`equery files --tree {{package_name}}` +`equery files --tree {{package}}` diff --git a/pages/linux/esearch.md b/pages/linux/esearch.md new file mode 100644 index 00000000000000..e75938224cf969 --- /dev/null +++ b/pages/linux/esearch.md @@ -0,0 +1,21 @@ +# esearch + +> Perform a new Entrez search using terms in indexed fields. +> It is part of the `edirect` package. +> More information: . + +- Search the pubmed database for selective serotonin reuptake inhibitor: + +`esearch -db pubmed -query "{{selective serotonin reuptake inhibitor}}"` + +- Search the protein database using a query and `regex`: + +`esearch -db {{protein}} -query {{'Escherichia*'}}` + +- Search the nucleotide database for sequences whose metadata contain insulin and rodents: + +`esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}"` + +- Display help: + +`esearch {{[-h|-help]}}` diff --git a/pages/linux/eselect-kernel.md b/pages/linux/eselect-kernel.md new file mode 100644 index 00000000000000..d7d855399df770 --- /dev/null +++ b/pages/linux/eselect-kernel.md @@ -0,0 +1,20 @@ +# eselect kernel + +> An `eselect` module for managing the `/usr/src/linux` symlink. +> More information: . + +- List available kernel symlink targets with their numbers: + +`eselect kernel list` + +- Set the `/usr/src/linux` symlink by name or number from the `list` command: + +`eselect kernel set {{name|number}}` + +- Show what the current kernel symlink points to: + +`eselect kernel show` + +- Set the kernel symlink to the currently running kernel: + +`eselect kernel update` diff --git a/pages/linux/eselect-locale.md b/pages/linux/eselect-locale.md new file mode 100644 index 00000000000000..3269c010f1e971 --- /dev/null +++ b/pages/linux/eselect-locale.md @@ -0,0 +1,16 @@ +# eselect locale + +> An `eselect` module for managing the `LANG` environment variable, which sets the system language. +> More information: . + +- List available locales: + +`eselect locale list` + +- Set the `LANG` environment variable in `/etc/profile.env` by name or index from the `list` command: + +`eselect locale set {{name|index}}` + +- Display the value of `LANG` in `/etc/profile.env`: + +`eselect locale show` diff --git a/pages/linux/eselect-news.md b/pages/linux/eselect-news.md new file mode 100644 index 00000000000000..31a84aa5c8669f --- /dev/null +++ b/pages/linux/eselect-news.md @@ -0,0 +1,29 @@ +# eselect news + +> An `eselect` module for reading Gentoo news items. +> Note: Portage will print a notice when a repository is synchronized and there are unread news items. +> More information: . + +- List available news items with their numbers (all by default): + +`eselect news list {{all|new}}` + +- Print the specified news items: + +`eselect news read {{number1 number2 ...}}` + +- Print all unread news items: + +`eselect news read` + +- Mark the specified news items as unread: + +`eselect news unread {{number1 number2 ...}}` + +- Delete all read news items: + +`eselect news purge` + +- Print the number of available news items (new by default): + +`eselect news count {{all|new}}` diff --git a/pages/linux/eselect-profile.md b/pages/linux/eselect-profile.md new file mode 100644 index 00000000000000..bc849295856b99 --- /dev/null +++ b/pages/linux/eselect-profile.md @@ -0,0 +1,16 @@ +# eselect profile + +> An `eselect` module for managing the `/etc/portage/make.profile` symlink, which sets the system profile. +> More information: . + +- List available profile symlink targets with their numbers: + +`eselect profile list` + +- Set the `/etc/portage/make.profile` symlink by name or number from the `list` command: + +`eselect profile set {{name|number}}` + +- Show the current system profile: + +`eselect profile show` diff --git a/pages/linux/eselect-repository.md b/pages/linux/eselect-repository.md new file mode 100644 index 00000000000000..51a7a210b9e701 --- /dev/null +++ b/pages/linux/eselect-repository.md @@ -0,0 +1,33 @@ +# eselect repository + +> An `eselect` module for configuring ebuild repositories for Portage. +> After enabling a repository, you have to run `emerge --sync repo_name` to download ebuilds. +> More information: . + +- List all ebuild repositories registered on : + +`eselect repository list` + +- List enabled repositories: + +`eselect repository list -i` + +- Enable a repository from the list by its name or index from the `list` command: + +`eselect repository enable {{name|index}}` + +- Enable an unregistered repository: + +`eselect repository add {{name}} {{rsync|git|mercurial|svn|...}} {{sync_uri}}` + +- Disable repositories without removing their contents: + +`eselect repository disable {{repo1 repo2 ...}}` + +- Disable repositories and remove their contents: + +`eselect repository remove {{repo1 repo2 ...}}` + +- Create a local repository and enable it: + +`eselect repository create {{name}} {{path/to/repo}}` diff --git a/pages/linux/eselect.md b/pages/linux/eselect.md new file mode 100644 index 00000000000000..bb4a2d49746a60 --- /dev/null +++ b/pages/linux/eselect.md @@ -0,0 +1,18 @@ +# eselect + +> Gentoo's multi-purpose configuration and management tool. +> It consists of various modules that take care of individual administrative tasks. +> Some subcommands such as `kernel`, `locale`, `profile`, etc. have their own usage documentation. +> More information: . + +- Display a list of installed modules: + +`eselect` + +- View documentation for a specific module: + +`tldr eselect {{module}}` + +- Display a help message for a specific module: + +`eselect {{module}} help` diff --git a/pages/linux/etckeeper.md b/pages/linux/etckeeper.md index 0cc04b1564fd0a..e75088e4a32b6b 100644 --- a/pages/linux/etckeeper.md +++ b/pages/linux/etckeeper.md @@ -1,13 +1,13 @@ # etckeeper > Track system configuration files in Git. -> More information: . +> More information: . -- Set up a Git repo and perform various setup tasks (run from /etc): +- Set up a Git repo and perform various setup tasks (run from `/etc`): `sudo etckeeper init` -- Commit all changes in /etc: +- Commit all changes in `/etc`: `sudo etckeeper commit {{message}}` diff --git a/pages/linux/ethtool.md b/pages/linux/ethtool.md index 1f1d146d2e1d90..ecf178555caacc 100644 --- a/pages/linux/ethtool.md +++ b/pages/linux/ethtool.md @@ -1,8 +1,28 @@ # ethtool > Display and modify Network Interface Controller (NIC) parameters. -> More information: . +> More information: . -- Set the link speed, duplex mode, and parameter autonegotiation for a given interface: +- Display the current settings for an interface: -`ethtool -s {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}` +`ethtool {{eth0}}` + +- Display the driver information for an interface: + +`ethtool {{[-i|--driver]}} {{eth0}}` + +- Display all supported features for an interface: + +`ethtool {{[-k|--show-features]}} {{eth0}}` + +- Display the network usage statistics for an interface: + +`ethtool {{[-S|--statistics]}} {{eth0}}` + +- Blink one or more LEDs on an interface for 10 seconds: + +`ethtool {{[-p|--identify]}} {{eth0}} {{10}}` + +- Set the link speed, duplex mode, and parameter auto-negotiation for a given interface: + +`ethtool {{[-s|--change]}} {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}` diff --git a/pages/linux/eu-readelf.md b/pages/linux/eu-readelf.md new file mode 100644 index 00000000000000..63dbe2a9d139d3 --- /dev/null +++ b/pages/linux/eu-readelf.md @@ -0,0 +1,12 @@ +# eu-readelf + +> Display information about ELF files. +> More information: . + +- Display all extractable information contained in the ELF file: + +`eu-readelf {{[-a|--all]}} {{path/to/file}}` + +- Display the contents of all NOTE segments/sections, or of a particular segment/section: + +`eu-readelf {{[-n|--notes]}} {{.note.ABI-tag}} {{path/to/file}}` diff --git a/pages/linux/euse.md b/pages/linux/euse.md new file mode 100644 index 00000000000000..a81c06a2043af3 --- /dev/null +++ b/pages/linux/euse.md @@ -0,0 +1,24 @@ +# euse + +> Enable, disable, and obtain information about Gentoo USE flags. +> More information: . + +- List active global USE flags: + +`euse {{[-a|--active]}} {{[-g|--global]}}` + +- List active local USE flags: + +`euse {{[-a|--active]}} {{[-l|--local]}}` + +- Enable a global USE flag: + +`sudo euse {{[-E|--enable]}} {{use_flag}}` + +- Disable a global USE flag (put a '-' sign in front of the USE flag): + +`sudo euse {{[-D|--disable]}} {{use_flag}}` + +- Remove a global USE flag: + +`sudo euse {{[-P|--prune]}} {{use_flag}}` diff --git a/pages/linux/eval.md b/pages/linux/eval.md deleted file mode 100644 index ee1135a91db1a5..00000000000000 --- a/pages/linux/eval.md +++ /dev/null @@ -1,11 +0,0 @@ -# eval - -> Execute arguments as a single command in the current shell and return its result. - -- Call `echo` with the "foo" argument: - -`eval "{{echo foo}}"` - -- Set a variable in the current shell: - -`eval "{{foo=bar}}"` diff --git a/pages/linux/evince.md b/pages/linux/evince.md new file mode 100644 index 00000000000000..7937a0199a73ff --- /dev/null +++ b/pages/linux/evince.md @@ -0,0 +1,24 @@ +# evince + +> View documents. +> More information: . + +- Open a PDF file: + +`evince {{path/to/file.pdf}}` + +- Open multiple documents: + +`evince {{file1.pdf file2.pdf ...}}` + +- Open in fullscreen mode: + +`evince {{[-f|--fullscreen]}} {{path/to/file.pdf}}` + +- Open in presentation mode: + +`evince {{[-s|--presentation]}} {{path/to/file.pdf}}` + +- Open a specific page number: + +`evince {{[-i|--page-index]}} {{5}} {{path/to/file.pdf}}` diff --git a/pages/linux/evtest.md b/pages/linux/evtest.md new file mode 100644 index 00000000000000..675b6396d06809 --- /dev/null +++ b/pages/linux/evtest.md @@ -0,0 +1,20 @@ +# evtest + +> Display information from input device drivers. +> More information: . + +- List all detected input devices: + +`sudo evtest` + +- Display events from a specific input device: + +`sudo evtest /dev/input/event{{number}}` + +- Grab the device exclusively, preventing other clients from receiving events: + +`sudo evtest --grab /dev/input/event{{number}}` + +- Query the state of a specific key or button on an input device: + +`sudo evtest --query /dev/input/event{{number}} {{event_type}} {{event_code}}` diff --git a/pages/linux/eww.md b/pages/linux/eww.md new file mode 100644 index 00000000000000..93cee32b778854 --- /dev/null +++ b/pages/linux/eww.md @@ -0,0 +1,28 @@ +# eww + +> Implement your own custom widgets in any window manager. +> More information: . + +- Start the daemon: + +`eww daemon` + +- Open a widget: + +`eww {{[-c|--config]}} {{path/to/source_code_directory}} open {{window_name}}` + +- Close a widget: + +`eww {{[-c|--config]}} {{path/to/source_code_directory}} close {{window_name}}` + +- Reload the configuration: + +`eww reload` + +- Kill the daemon: + +`eww kill` + +- Print and watch logs: + +`eww logs` diff --git a/pages/linux/exch.md b/pages/linux/exch.md new file mode 100644 index 00000000000000..d9e2226b2ea704 --- /dev/null +++ b/pages/linux/exch.md @@ -0,0 +1,8 @@ +# exch + +> Swap the filepaths and filenames of two files. +> More information: . + +- Swap filepaths: + +`exch {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/linux/exec.md b/pages/linux/exec.md new file mode 100644 index 00000000000000..5080e41f681ca0 --- /dev/null +++ b/pages/linux/exec.md @@ -0,0 +1,20 @@ +# exec + +> Execute a command without creating a child process. +> More information: . + +- Execute a specific command: + +`exec {{command -with -flags}}` + +- Execute a command with a (mostly) empty environment: + +`exec -c {{command -with -flags}}` + +- Execute a command as a login shell: + +`exec -l {{command -with -flags}}` + +- Execute a command with a different name: + +`exec -a {{name}} {{command -with -flags}}` diff --git a/pages/linux/exif.md b/pages/linux/exif.md index fe8bce9cb1fdc1..5c7a11232eaf6e 100644 --- a/pages/linux/exif.md +++ b/pages/linux/exif.md @@ -1,7 +1,7 @@ # exif > Show and change EXIF information in JPEG files. -> More information: . +> More information: . - Show all recognized EXIF information in an image: @@ -9,16 +9,16 @@ - Show a table listing known EXIF tags and whether each one exists in an image: -`exif --list-tags --no-fixup {{image.jpg}}` +`exif {{[-l|--list-tags]}} --no-fixup {{path/to/image.jpg}}` -- Extract the image thumbnail into the file thumbnail.jpg: +- Extract the image thumbnail into a separate file: -`exif --extract-thumbnail --output={{thumbnail.jpg}} {{image.jpg}}` +`exif {{[-e|--extract-thumbnail]}} {{[-o|--output]}} {{path/to/thumbnail.jpg}} {{path/to/image.jpg}}` - Show the raw contents of the "Model" tag in the given image: -`exif --ifd={{0}} --tag={{Model}} --machine-readable {{image.jpg}}` +`exif --ifd {{0}} {{[-t|--tag]}} "Model" {{[-m|--machine-readable]}} {{path/to/image.jpg}}` -- Change the value of the "Artist" tag to John Smith and save to new.jpg: +- Change the value of the "Artist" tag to John Smith and save to `new.jpg`: -`exif --output={{new.jpg}} --ifd={{0}} --tag="{{Artist}}" --set-value="{{John Smith}}" --no-fixup {{image.jpg}}` +`exif {{[-o|--output]}} {{path/to/new.jpg}} --ifd {{0}} {{[-t|--tag]}} "Artist" --set-value "John Smith" --no-fixup {{path/to/image.jpg}}` diff --git a/pages/linux/exiqgrep.md b/pages/linux/exiqgrep.md new file mode 100644 index 00000000000000..6e4fb9ecd2213b --- /dev/null +++ b/pages/linux/exiqgrep.md @@ -0,0 +1,28 @@ +# exiqgrep + +> Perl script offering possibilities to `grep` in the Exim queue output. +> More information: . + +- Match the sender address using a case-insensitive search: + +`exiqgrep -f '<{{email@example.com}}>'` + +- Match the sender address and display message IDs only: + +`exiqgrep -i -f '<{{email@example.com}}>'` + +- Match the [r]ecipient address: + +`exiqgrep -r '{{email@example.com}}'` + +- Remove all messages matching the sender address from the queue: + +`exiqgrep -i -f '<{{email@example.com}}>' | xargs exim -Mrm` + +- Test for bounced messages: + +`exiqgrep -f '^<>$'` + +- Display the [c]ount of bounced messages: + +`exiqgrep -c -f '^<>$'` diff --git a/pages/linux/expac.md b/pages/linux/expac.md new file mode 100644 index 00000000000000..0832f6c0fcf8b1 --- /dev/null +++ b/pages/linux/expac.md @@ -0,0 +1,25 @@ +# expac + +> A data extraction tool for alpm databases, offering printf-like flexibility for pacman-based utilities. +> See also: `pacman`. +> More information: . + +- List the dependencies of a package: + +`expac {{[-S|--sync]}} '%D' {{package}}` + +- List the optional dependencies of a package: + +`expac {{[-S|--sync]}} "%o" {{package}}` + +- List the download size of packages in MiB: + +`expac {{[-S|--sync]}} {{[-H|--humansize]}} M '%k\t%n' {{package1 package2 ...}}` + +- List packages marked for upgrade with their download size: + +`expac {{[-S|--sync]}} {{[-H|--humansize]}} M '%k\t%n' $(pacman -Qqu) | sort {{[-sh|--sort --human-numeric-sort]}}` + +- List explicitly-installed packages with their optional dependencies: + +`expac {{[-d|--delim]}} '\n\n' {{[-l|--listdelim]}} '\n\t' {{[-Q|--query]}} '%n\n\t%O' $(pacman -Qeq)` diff --git a/pages/linux/expect.md b/pages/linux/expect.md index 45b98d8526d148..e78bcaa6d236de 100644 --- a/pages/linux/expect.md +++ b/pages/linux/expect.md @@ -1,7 +1,7 @@ # expect > Script executor that interacts with other programs that require user input. -> More information: . +> More information: . - Execute an expect script from a file: @@ -11,6 +11,6 @@ `expect -c "{{commands}}"` -- Enter an interactive REPL (use `exit` or Ctrl + D to exit): +- Enter an [i]nteractive REPL (use `exit` or `` to exit): `expect -i` diff --git a/pages/linux/export.md b/pages/linux/export.md index 06ebceb93bb05b..a6c0aca69f3c73 100644 --- a/pages/linux/export.md +++ b/pages/linux/export.md @@ -1,19 +1,24 @@ # export -> Command to mark shell variables in the current environment to be exported with any newly forked child processes. +> Export shell variables to child processes. +> More information: . -- Set a new environment variable: +- Set an environment variable: `export {{VARIABLE}}={{value}}` -- Remove an environment variable: +- Unset an environment variable: `export -n {{VARIABLE}}` -- Mark a shell function for export: +- Export a [f]unction to child processes: `export -f {{FUNCTION_NAME}}` -- Append something to the PATH variable: +- Append a pathname to the environment variable `PATH`: `export PATH=$PATH:{{path/to/append}}` + +- Display a list of active exported variables in shell command form: + +`export -p` diff --git a/pages/linux/extrace.md b/pages/linux/extrace.md index 601bacfe2230f3..8e18024b7a6d91 100644 --- a/pages/linux/extrace.md +++ b/pages/linux/extrace.md @@ -11,7 +11,7 @@ `sudo extrace {{command}}` -- Print the current working directory of each process: +- Print the current working [d]irectory of each process: `sudo extrace -d` @@ -19,6 +19,6 @@ `sudo extrace -l` -- Display the user running each process: +- Display the [u]ser running each process: `sudo extrace -u` diff --git a/pages/linux/extrepo.md b/pages/linux/extrepo.md new file mode 100644 index 00000000000000..905eee7a4968de --- /dev/null +++ b/pages/linux/extrepo.md @@ -0,0 +1,21 @@ +# extrepo + +> Manage external Debian repositories. +> It is used to manage external repositories in Debian. +> More information: . + +- Search for a given package: + +`extrepo search {{package}}` + +- Enable the repository: + +`sudo extrepo enable {{repository_name}}` + +- Disable the repository: + +`sudo extrepo disable {{repository_name}}` + +- Update the repository: + +`sudo extrepo update {{repository_name}}` diff --git a/pages/linux/extundelete.md b/pages/linux/extundelete.md index 2ea6de5b29a909..2e2a27ace13a46 100644 --- a/pages/linux/extundelete.md +++ b/pages/linux/extundelete.md @@ -1,8 +1,8 @@ # extundelete > Recover deleted files from ext3 or ext4 partitions by parsing the journal. -> See also `date` for Unix time information and `umount` for unmounting partitions. -> More information: . +> See also: `date` for Unix time information and `umount` for unmounting partitions. +> More information: . - Restore all deleted files inside partition N on device X: diff --git a/pages/linux/eyeD3.md b/pages/linux/eyeD3.md deleted file mode 100644 index 444818f9f964c7..00000000000000 --- a/pages/linux/eyeD3.md +++ /dev/null @@ -1,20 +0,0 @@ -# eyeD3 - -> Read and manipulate metadata of MP3 files. -> More information: . - -- View information about an MP3 file: - -`eyeD3 {{filename.mp3}}` - -- Set the title of an MP3 file: - -`eyeD3 --title "{{A Title}}" {{filename.mp3}}` - -- Set the album of all the MP3 files in a directory: - -`eyeD3 --album "{{Album Name}}" {{*.mp3}}` - -- Set the front cover art for an MP3 file: - -`eyeD3 --add-image {{front_cover.jpeg}}:FRONT_COVER: {{filename.mp3}}` diff --git a/pages/linux/eyed3.md b/pages/linux/eyed3.md new file mode 100644 index 00000000000000..060f236d750fd8 --- /dev/null +++ b/pages/linux/eyed3.md @@ -0,0 +1,20 @@ +# eyeD3 + +> Read and manipulate metadata of MP3 files. +> More information: . + +- View information about an MP3 file: + +`eyeD3 {{filename.mp3}}` + +- Set the title of an MP3 file: + +`eyeD3 {{[-t|--title]}} "{{A Title}}" {{filename.mp3}}` + +- Set the album of all the MP3 files in a directory: + +`eyeD3 {{[-A|--album]}} "{{Album Name}}" {{*.mp3}}` + +- Set the front cover art for an MP3 file: + +`eyeD3 --add-image {{front_cover.jpeg}}:FRONT_COVER: {{filename.mp3}}` diff --git a/pages/linux/f5fpc.md b/pages/linux/f5fpc.md index a9d32c87820715..111a89507d2424 100644 --- a/pages/linux/f5fpc.md +++ b/pages/linux/f5fpc.md @@ -1,6 +1,7 @@ # f5fpc -> A proprietry commercial SSL VPN client by BIG-IP Edge. +> A proprietary commercial SSL VPN client by BIG-IP Edge. +> More information: . - Open a new VPN connection: diff --git a/pages/linux/factorio.md b/pages/linux/factorio.md new file mode 100644 index 00000000000000..5cec46df660d71 --- /dev/null +++ b/pages/linux/factorio.md @@ -0,0 +1,24 @@ +# Factorio + +> Create and start a headless Factorio server. +> More information: . + +- Create a new save file: + +`{{path/to/factorio}} --create {{path/to/save_file.zip}}` + +- Start a Factorio server: + +`{{path/to/factorio}} --start-server {{path/to/save_file.zip}}` + +- Create a new save file with specific settings: + +`{{path/to/factorio}} --create {{path/to/save.zip}} --map-gen-settings {{path/to/map-gen-settings.json}} --map-settings {{path/to/map-settings.json}}` + +- Shut the server gracefully: + +`/quit` + +- Display help: + +`{{path/to/factorio}} {{[-h|--help]}}` diff --git a/pages/linux/fadvise.md b/pages/linux/fadvise.md new file mode 100644 index 00000000000000..9fe0d415bd79b5 --- /dev/null +++ b/pages/linux/fadvise.md @@ -0,0 +1,17 @@ +# fadvise + +> Control Linux file caching behavior. +> See also: `fincore`. +> More information: . + +- Preload a file or directory into cache: + +`fadvise {{[-a|--advice]}} willneeded {{path/to/file_or_directory}}` + +- Suggest dropping a file from cache: + +`fadvise {{path/to/file}}` + +- Display help: + +`fadvise {{[-h|--help]}}` diff --git a/pages/linux/fail2ban-client.md b/pages/linux/fail2ban-client.md index f43625ade4d2d5..a31cd7f06e81a2 100644 --- a/pages/linux/fail2ban-client.md +++ b/pages/linux/fail2ban-client.md @@ -1,7 +1,7 @@ # fail2ban-client > Configure and control fail2ban server. -> More information: . +> More information: . - Retrieve current status of the jail service: diff --git a/pages/linux/faillock.md b/pages/linux/faillock.md new file mode 100644 index 00000000000000..3e6651fd0939e3 --- /dev/null +++ b/pages/linux/faillock.md @@ -0,0 +1,24 @@ +# faillock + +> Display and modify authentication failure record files. +> More information: . + +- List login failures of the current user: + +`faillock` + +- Reset the failure records of the current user: + +`faillock --reset` + +- List login failures of all users: + +`sudo faillock` + +- List login failures of the specified user: + +`sudo faillock --user {{user}}` + +- Reset the failure records of the specified user: + +`sudo faillock --user {{user}} --reset` diff --git a/pages/linux/fakeroot.md b/pages/linux/fakeroot.md new file mode 100644 index 00000000000000..5b7c5f876439b2 --- /dev/null +++ b/pages/linux/fakeroot.md @@ -0,0 +1,28 @@ +# fakeroot + +> Run a command in an environment faking root privileges for file manipulation. +> More information: . + +- Start the default shell as fakeroot: + +`fakeroot` + +- Run a command as fakeroot: + +`fakeroot -- {{command}} {{command_arguments}}` + +- Run a command as fakeroot and [s]ave the environment to a file on exit: + +`fakeroot -s {{path/to/file}} -- {{command}} {{command_arguments}}` + +- Load a fakeroot environment and run a command as fakeroot: + +`fakeroot -i {{path/to/file}} -- {{command}} {{command_arguments}}` + +- Run a command keeping the real ownership of files instead of pretending they are owned by root: + +`fakeroot {{[-u|--unknown-is-real]}} -- {{command}} {{command_arguments}}` + +- Display help: + +`fakeroot {{[-h|--help]}}` diff --git a/pages/linux/faketime.md b/pages/linux/faketime.md index b5c2b75c1c4abb..32a796eafd1854 100644 --- a/pages/linux/faketime.md +++ b/pages/linux/faketime.md @@ -1,16 +1,16 @@ # faketime -> Fake the system time for a given command. -> More information: . +> Fake the system time for a command. +> More information: . - Fake the time to this evening, before printing the result of `date`: `faketime '{{today 23:30}}' {{date}}` -- Open a new `bash` shell, which uses yesterday as the current date: +- Open a new Bash shell, which uses yesterday as the current date: `faketime '{{yesterday}}' {{bash}}` -- Simulate how any program would act next friday night: +- Simulate how a program would act next Friday night: -`faketime '{{next Friday 1 am}}' {{path/to/any/program}}` +`faketime '{{next Friday 1 am}}' {{path/to/program}}` diff --git a/pages/linux/fallocate.md b/pages/linux/fallocate.md index 49e474fd76b179..1fb47e6558dc9b 100644 --- a/pages/linux/fallocate.md +++ b/pages/linux/fallocate.md @@ -2,15 +2,16 @@ > Reserve or deallocate disk space to files. > The utility allocates space without zeroing. +> More information: . -- Reserve a file taking up 700MB of disk space: +- Reserve a file taking up 700 MiB of disk space: -`fallocate --length {{700M}} {{path/to/file}}` +`fallocate {{[-l|--length]}} {{700M}} {{path/to/file}}` -- Shrink an already allocated file by 200MB: +- Shrink an already allocated file by 200 MiB: -`fallocate --collapse-range --length {{200M}} {{path/to/file}}` +`fallocate {{[-c|--collapse-range]}} {{[-l|--length]}} {{200M}} {{path/to/file}}` -- Shrink 20MB of space after 100MB in a file: +- Shrink 20 MB of space after 100 MiB in a file: -`fallocate --collapse-range --offset {{100M}} --length {{20M}} {{path/to/file}}` +`fallocate {{[-c|--collapse-range]}} {{[-o|--offset]}} {{100M}} {{[-l|--length]}} {{20M}} {{path/to/file}}` diff --git a/pages/linux/fancontrol.md b/pages/linux/fancontrol.md new file mode 100644 index 00000000000000..32b9ee97c446b8 --- /dev/null +++ b/pages/linux/fancontrol.md @@ -0,0 +1,13 @@ +# fancontrol + +> Automated fan speed management. +> Uses a configuration file to control a wide range of variables. +> More information: . + +- Start `fancontrol` using default `/etc/fancontrol` configuration file: + +`fancontrol` + +- Start `fancontrol` using custom configuration file path: + +`fancontrol {{path/to/config_file}}` diff --git a/pages/linux/farge.md b/pages/linux/farge.md new file mode 100644 index 00000000000000..517a5bb9cfbaa5 --- /dev/null +++ b/pages/linux/farge.md @@ -0,0 +1,24 @@ +# farge + +> Display the color of a specific pixel on the screen in either hexadecimal or RGB formats. +> More information: . + +- Display a small preview window of a pixel's color with it's hexadecimal value, and copy this value to the clipboard: + +`farge` + +- Copy a pixel's hexadecimal value to the clipboard without displaying a preview window: + +`farge --no-preview` + +- Output a pixel's hexadecimal value to `stdout`, and copy this value to the clipboard: + +`farge --stdout` + +- Output a pixel's RGB value to `stdout`, and copy this value to the clipboard: + +`farge --rgb --stdout` + +- Display a pixel's hexadecimal value as a notification which expires in 5000 milliseconds, and copy this value to the clipboard: + +`farge --notify --expire-time 5000` diff --git a/pages/linux/fatlabel.md b/pages/linux/fatlabel.md index 9a742ce4de8166..b615b74ded372f 100644 --- a/pages/linux/fatlabel.md +++ b/pages/linux/fatlabel.md @@ -1,6 +1,7 @@ # fatlabel -> Sets or gets the label of a FAT32 partition. +> Get or set the label of a FAT32 partition. +> More information: . - Get the label of a FAT32 partition: diff --git a/pages/linux/fatrace.md b/pages/linux/fatrace.md new file mode 100644 index 00000000000000..8a1f507dd2924b --- /dev/null +++ b/pages/linux/fatrace.md @@ -0,0 +1,12 @@ +# fatrace + +> Report file access events. +> More information: . + +- Print file access events in all mounted filesystems to `stdout`: + +`sudo fatrace` + +- Print file access events on the mount of the current directory, with timestamps, to `stdout`: + +`sudo fatrace {{[-c|--current-mount]}} {{[-t|--timestamp]}}` diff --git a/pages/linux/fbi.md b/pages/linux/fbi.md new file mode 100644 index 00000000000000..b213193580f1a9 --- /dev/null +++ b/pages/linux/fbi.md @@ -0,0 +1,24 @@ +# fbi + +> Display images in a terminal framebuffer. +> More information: . + +- Display an image: + +`sudo fbi {{path/to/file}}` + +- Display multiple images: + +`sudo fbi {{path/to/file1 path/to/file2 ...}}` + +- Start a slideshow with a custom delay (in seconds): + +`sudo fbi {{[-t|--timeout]}} {{delay}} {{path/to/files/*}}` + +- Scale the image to fit the screen: + +`sudo fbi {{[-a|--autozoom]}} {{path/to/file}}` + +- Display help: + +`fbi {{[-h|--help]}}` diff --git a/pages/linux/fbset.md b/pages/linux/fbset.md new file mode 100644 index 00000000000000..f3241d8daa70f6 --- /dev/null +++ b/pages/linux/fbset.md @@ -0,0 +1,16 @@ +# fbset + +> Show and modify frame buffer device settings. +> More information: . + +- Show current framebuffer settings: + +`sudo fbset {{[-i|--info]}}` + +- Set a framebuffer mode defined in `/etc/fb.modes`: + +`sudo fbset "{{800}}x{{600}}-{{60}}"` + +- Set an arbitrary framebuffer mode: + +`sudo fbset {{[-g|--geometry]}} {{TTY_horizontal}} {{TTY_vertical}} {{monitor_horizontal}} {{monitor_vertical}} {{color_depth}}` diff --git a/pages/linux/fc-cache.md b/pages/linux/fc-cache.md deleted file mode 100644 index 47e8592aa2c87c..00000000000000 --- a/pages/linux/fc-cache.md +++ /dev/null @@ -1,15 +0,0 @@ -# fc-cache - -> Scan font directories in order to build font cache files. - -- Generate font cache files: - -`fc-cache` - -- Force a rebuild of all font cache files, without checking if cache is up-to-date: - -`fc-cache -f` - -- Erase font cache files, then generate new font cache files: - -`fc-cache -r` diff --git a/pages/linux/fc-list.md b/pages/linux/fc-list.md deleted file mode 100644 index d0e38f14aa29f0..00000000000000 --- a/pages/linux/fc-list.md +++ /dev/null @@ -1,15 +0,0 @@ -# fc-list - -> List available fonts installed on the system. - -- Return a list of installed fonts in your system: - -`fc-list` - -- Return a list of installed fonts with given name: - -`fc-list | grep '{{DejaVu Serif}}'` - -- Return the number of installed fonts in your system: - -`fc-list | wc -l` diff --git a/pages/linux/fc-match.md b/pages/linux/fc-match.md deleted file mode 100644 index 9af18eefba66c2..00000000000000 --- a/pages/linux/fc-match.md +++ /dev/null @@ -1,7 +0,0 @@ -# fc-match - -> Match available fonts. - -- Return a sorted list of best matching fonts: - -`fc-match -s '{{DejaVu Serif}}'` diff --git a/pages/linux/fc-pattern.md b/pages/linux/fc-pattern.md deleted file mode 100644 index 3ca45e60db4cf1..00000000000000 --- a/pages/linux/fc-pattern.md +++ /dev/null @@ -1,7 +0,0 @@ -# fc-pattern - -> Shows information about a font matching a pattern. - -- Display default information about a font: - -`fc-pattern -d '{{DejaVu Serif}}'` diff --git a/pages/linux/fc.md b/pages/linux/fc.md deleted file mode 100644 index 7e6c464104e3d5..00000000000000 --- a/pages/linux/fc.md +++ /dev/null @@ -1,15 +0,0 @@ -# fc - -> Open the most recent command and edit it. - -- Open in the default system editor: - -`fc` - -- Specify an editor to open with: - -`fc -e {{'emacs'}}` - -- List recent commands from history: - -`fc -l` diff --git a/pages/linux/fcrackzip.md b/pages/linux/fcrackzip.md index 54701fed748adf..bd3c0520271b73 100644 --- a/pages/linux/fcrackzip.md +++ b/pages/linux/fcrackzip.md @@ -1,27 +1,28 @@ # fcrackzip > ZIP archive password cracking utility. +> More information: . - Brute-force a password with a length of 4 to 8 characters, and contains only alphanumeric characters (order matters): -`fcrackzip --brute-force --length 4-8 --charset aA1 {{archive}}` +`fcrackzip {{[-b|--brute-force]}} {{[-l|--length]}} 4-8 {{[-c|--charset]}} aA1 {{archive}}` - Brute-force a password in verbose mode with a length of 3 characters that only contains lowercase characters, `$` and `%`: -`fcrackzip -v --brute-force --length 3 --charset a:$% {{archive}}` +`fcrackzip {{[-v|--verbose]}} {{[-b|--brute-force]}} {{[-l|--length]}} 3 {{[-c|--charset]}} a:$% {{archive}}` - Brute-force a password that contains only lowercase and special characters: -`fcrackzip --brute-force --length 4 --charset a! {{archive}}` +`fcrackzip {{[-b|--brute-force]}} {{[-l|--length]}} 4 {{[-c|--charset]}} a! {{archive}}` - Brute-force a password containing only digits, starting from the password `12345`: -`fcrackzip --brute-force --length 5 --charset 1 --init-password 12345 {{archive}}` +`fcrackzip {{[-b|--brute-force]}} {{[-l|--length]}} 5 {{[-c|--charset]}} 1 {{[-p|--init-password]}} 12345 {{archive}}` - Crack a password using a wordlist: -`fcrackzip --use-unzip --dictionary --init-password {{wordlist}} {{archive}}` +`fcrackzip {{[-u|--use-unzip]}} {{[-D|--dictionary]}} {{[-p|--init-password]}} {{wordlist}} {{archive}}` - Benchmark cracking performance: -`fcrackzip --benchmark` +`fcrackzip {{[-B|--benchmark]}}` diff --git a/pages/linux/fdisk.md b/pages/linux/fdisk.md index aa2f20ffc09b79..b2c4679927d413 100644 --- a/pages/linux/fdisk.md +++ b/pages/linux/fdisk.md @@ -1,11 +1,37 @@ # fdisk -> A program for managing partition tables and partitions on a hard disk. +> Manage partition tables and partitions on a storage drive. +> See also: `partprobe`. +> More information: . - List partitions: -`fdisk -l` +`sudo fdisk {{[-l|--list]}}` - Start the partition manipulator: -`fdisk {{/dev/sdX}}` +`sudo fdisk {{/dev/sdX}}` + +- Create a [n]ew partition: + +`` + +- Select a partition to [d]elete: + +`` + +- View the [p]artition table: + +`

` + +- [w]rite the changes made: + +`` + +- Discard the changes made and [q]uit: + +`` + +- Open a help [m]enu: + +`` diff --git a/pages/linux/feedreader.md b/pages/linux/feedreader.md index 9bf3feac26f9e2..5a51cef10f707e 100644 --- a/pages/linux/feedreader.md +++ b/pages/linux/feedreader.md @@ -1,7 +1,8 @@ # feedreader > A GUI desktop RSS client. -> More information: . +> Note: FeedReader is no longer being maintained. +> More information: . - Print the count of unread articles: diff --git a/pages/linux/feh.md b/pages/linux/feh.md deleted file mode 100644 index 84bb2da0341d91..00000000000000 --- a/pages/linux/feh.md +++ /dev/null @@ -1,31 +0,0 @@ -# feh - -> Lightweight image viewing utility. - -- View images locally or using a URL: - -`feh {{path/to/images}}` - -- View images recursively: - -`feh --recursive {{path/to/images}}` - -- View images without window borders: - -`feh --borderless {{path/to/images}}` - -- Exit after the last image: - -`feh --cycle-once {{path/to/images}}` - -- Set the slideshow cycle delay: - -`feh --slideshow-delay {{seconds}} {{path/to/images}}` - -- Set your wallpaper (centered, filled, maximized, scaled or tiled): - -`feh --bg-{{center|fill|max|scale|tile}} {{path/to/image}}` - -- Create a montage of all images within a directory. Outputs as a new image: - -`feh --montage --thumb-height {{150}} --thumb-width {{150}} --index-info "{{%nn%wx%h}}" --output {{path/to/montage_image.png}}` diff --git a/pages/linux/fftest.md b/pages/linux/fftest.md new file mode 100644 index 00000000000000..53ec24fe6661b0 --- /dev/null +++ b/pages/linux/fftest.md @@ -0,0 +1,8 @@ +# fftest + +> Test force-feedback devices (e.g., controllers with rumble functionality). +> More information: . + +- Open `fftest` on an event: + +`fftest {{/dev/input/eventX}}` diff --git a/pages/linux/fgconsole.md b/pages/linux/fgconsole.md new file mode 100644 index 00000000000000..ccb5910ce13825 --- /dev/null +++ b/pages/linux/fgconsole.md @@ -0,0 +1,12 @@ +# fgconsole + +> Print the number of the foreground virtual terminal. +> More information: . + +- Print current terminal number or `serial` if the terminal is serial: + +`fgconsole` + +- Print the next unallocated virtual terminal: + +`fgconsole {{[-n|--next-available]}}` diff --git a/pages/linux/file-rename.md b/pages/linux/file-rename.md deleted file mode 100644 index e183bc9e4e9003..00000000000000 --- a/pages/linux/file-rename.md +++ /dev/null @@ -1,24 +0,0 @@ -# rename - -> Rename multiple files. -> NOTE: this page refers to the command from the `file-rename` Debian package. - -- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found): - -`rename {{'s/foo/bar/'}} {{*}}` - -- Dry-run - display which renames would occur without performing them: - -`rename -n {{'s/foo/bar/'}} {{*}}` - -- Force renaming even if the operation would remove existing destination files: - -`rename -f {{'s/foo/bar/'}} {{*}}` - -- Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent "already exists" errors): - -`rename 'y/A-Z/a-z/' {{*}}` - -- Replace whitespace with underscores: - -`rename 's/\s+/_/g' {{*}}` diff --git a/pages/linux/file.md b/pages/linux/file.md deleted file mode 100644 index 785cee746bcc03..00000000000000 --- a/pages/linux/file.md +++ /dev/null @@ -1,23 +0,0 @@ -# file - -> Determine file type. - -- Give a description of the type of the specified file. Works fine for files with no file extension: - -`file {{filename}}` - -- Look inside a zipped file and determine the file type(s) inside: - -`file -z {{foo.zip}}` - -- Allow file to work with special or device files: - -`file -s {{filename}}` - -- Don't stop at first file type match; keep going until the end of the file: - -`file -k {{filename}}` - -- Determine the mime encoding type of a file: - -`file -i {{filename}}` diff --git a/pages/linux/filefrag.md b/pages/linux/filefrag.md index 1c6111892d562a..e5ffade5052e80 100644 --- a/pages/linux/filefrag.md +++ b/pages/linux/filefrag.md @@ -1,28 +1,28 @@ # filefrag > Report how badly fragmented a particular file might be. -> More information: . +> More information: . -- Display a report for a specific file: +- Display a report for one or more files: -`filefrag {{path/to/file}}` +`filefrag {{path/to/file1 path/to/file2 ...}}` -- Display a report for space-separated list of files: +- Display a report using a 1024 byte blocksize: -`filefrag {{path/to/file1}} {{path/to/file2}}` +`filefrag -k {{path/to/file}}` -- Display a report using a 1024 byte blocksize: +- Display a report using a certain blocksize: -`filefrag -b {{path/to/file}}` +`filefrag -b{{1024|1K|1M|1G|...}} {{path/to/file}}` - Sync the file before requesting the mapping: -`filefrag -s {{path/to/files}}` +`filefrag -s {{path/to/file1 path/to/file2 ...}}` - Display mapping of extended attributes: -`filefrag -x {{path/to/files}}` +`filefrag -x {{path/to/file1 path/to/file2 ...}}` - Display a report with verbose information: -`filefrag -v {{path/to/files}}` +`filefrag -v {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/linux/finch.md b/pages/linux/finch.md index 96c3ddb96f3fd8..7dffc98238471e 100644 --- a/pages/linux/finch.md +++ b/pages/linux/finch.md @@ -9,24 +9,24 @@ - Quit: -`alt + q or ctrl + c` +`{{|}}` - Show actions menu: -`alt + a` +`` - Jump to n-th window: -`alt + {{number_key}}` +`` - Close current window: -`alt + c` +`` -- Start moving a window, use arrow keys to move, press escape when done: +- Start moving a window, use `` to move, press `` when done: -`alt + m` +`` -- Start resizing a window, use arrow keys to resize, press escape when done: +- Start resizing a window, use `` to resize, press `` when done: -`alt + r` +`` diff --git a/pages/linux/fincore.md b/pages/linux/fincore.md new file mode 100644 index 00000000000000..0763d9bf5b0d7c --- /dev/null +++ b/pages/linux/fincore.md @@ -0,0 +1,17 @@ +# fincore + +> Display how much cache memory a file is taking. +> See also: `fadvise`. +> More information: . + +- Display cache details for a file: + +`fincore {{path/to/file}}` + +- Display all possible data columns: + +`fincore --output-all {{path/to/file}}` + +- Display help: + +`fincore {{[-h|--help]}}` diff --git a/pages/linux/findfs.md b/pages/linux/findfs.md index 0c396b4febac7a..b6d512fb55a71c 100644 --- a/pages/linux/findfs.md +++ b/pages/linux/findfs.md @@ -1,7 +1,7 @@ # findfs > Finds a filesystem by label or UUID. -> More information: . +> More information: . - Search block devices by filesystem label: diff --git a/pages/linux/findmnt.md b/pages/linux/findmnt.md index f3d7c3eb000b07..2b8b6d905c008d 100644 --- a/pages/linux/findmnt.md +++ b/pages/linux/findmnt.md @@ -1,6 +1,7 @@ # findmnt > Find your filesystem. +> More information: . - List all mounted filesystems: @@ -16,8 +17,12 @@ - Find filesystems in specific type: -`findmnt -t {{ext4}}` +`findmnt {{[-t|--types]}} {{ext4,virtiofs,btrfs,...}}` - Find filesystems with specific label: `findmnt LABEL={{BigStorage}}` + +- Check mount table content in detail and verify `/etc/fstab`: + +`findmnt {{[-x|--verify]}} --verbose` diff --git a/pages/linux/firejail.md b/pages/linux/firejail.md index 4d98dd035968b5..a7971e6c1a3ece 100644 --- a/pages/linux/firejail.md +++ b/pages/linux/firejail.md @@ -1,6 +1,7 @@ # firejail > Securely sandboxes processes to containers using built-in Linux capabilities. +> More information: . - Integrate firejail with your desktop environment: @@ -25,3 +26,11 @@ - Shutdown a running sandbox: `firejail --shutdown={{7777}}` + +- Run a restricted Firefox session to browse the internet: + +`firejail --seccomp --private --private-dev --private-tmp --protocol=inet firefox --new-instance --no-remote --safe-mode --private-window` + +- Use custom hosts file (overriding `/etc/hosts` file): + +`firejail --hosts-file={{~/myhosts}} {{curl http://mysite.arpa}}` diff --git a/pages/linux/firewall-cmd.md b/pages/linux/firewall-cmd.md index 3809533d0d8142..98ad0b47e22b68 100644 --- a/pages/linux/firewall-cmd.md +++ b/pages/linux/firewall-cmd.md @@ -1,31 +1,37 @@ # firewall-cmd -> The firewalld command line client. +> The firewalld command-line client. +> View and adapt the runtime or permanent firewall configuration state. +> More information: . -- View the available firewall zones: +- View all available firewall zones and rules in their runtime configuration state: -`firewall-cmd --get-active-zones` - -- View the rules which are currently applied: - -`firewall-cmd --list-all` +`firewall-cmd --list-all-zones` - Permanently move the interface into the block zone, effectively blocking all communication: -`firewall-cmd --permanent --zone={{block}} --change-interface={{enp1s0}}` +`firewall-cmd --permanent --zone {{block}} --change-interface {{enp1s0}}` -- Permanently open the port for a service in the specified zone (like port `443` when in the `public` zone): +- Permanently open the port for a service in the specified zone (like port 443 when in the `public` zone): -`firewall-cmd --permanent --zone={{public}} --add-service={{https}}` +`firewall-cmd --permanent --zone {{public}} --add-service {{https}}` -- Permanently close the port for a service in the specified zone (like port `80` when in the `public` zone): +- Permanently close the port for a service in the specified zone (like port 80 when in the `public` zone): -`firewall-cmd --permanent --zone={{public}} --remove-service={{http}}` +`firewall-cmd --permanent --zone {{public}} --remove-service {{http}}` -- Permanently open two arbitrary ports in the specified zone: +- Permanently forward a port for incoming packets in the specified zone (like port 443 to 8443 when entering the `public` zone): -`firewall-cmd --permanent --zone={{public}} --add-port={{25565/tcp}} --add-port={{19132/udp}}` +`firewall-cmd --permanent --zone {{public}} --add-rich-rule 'rule family "{{ipv4|ipv6}}" forward-port port "{{443}}" protocol "{{udp|tcp}}" to-port "{{8443}}"'` -- Reload firewalld to force rule changes to take effect: +- Reload firewalld to lose any runtime changes and force the permanent configuration to take effect immediately: `firewall-cmd --reload` + +- Save the runtime configuration state to the permanent configuration: + +`firewall-cmd --runtime-to-permanent` + +- Enable panic mode in case of Emergency. All traffic is dropped, any active connection will be terminated: + +`firewall-cmd --panic-on` diff --git a/pages/linux/fixfiles.md b/pages/linux/fixfiles.md new file mode 100644 index 00000000000000..f4dd0ab13d8c4c --- /dev/null +++ b/pages/linux/fixfiles.md @@ -0,0 +1,36 @@ +# fixfiles + +> Fix file SELinux security contexts. +> More information: . + +- If specified with onboot, this fixfiles will record the current date in the `/.autorelabel` file, so that it can be used later to speed up labeling. If used with restore, the restore will only affect files that were modified today: + +`fixfiles -B` + +- [F]orce reset of context to match `file_context` for customizable files: + +`fixfiles -F` + +- Clear `/tmp` directory without confirmation: + +`fixfiles -f` + +- Use the [R]pm database to discover all files within specific packages and restore the file contexts: + +`fixfiles -R {{rpm_package1,rpm_package2 ...}}` + +- Run a diff on the `PREVIOUS_FILECONTEXT` file to the [C]urrently installed one, and restore the context of all affected files: + +`fixfiles -C PREVIOUS_FILECONTEXT` + +- Only act on files created after a specific date which will be passed to find `--newermt` command: + +`fixfiles -N {{YYYY-MM-DD HH:MM}}` + +- Bind [M]ount filesystems before relabeling them, this allows fixing the context of files or directories that have been mounted over: + +`fixfiles -M` + +- Modify [v]erbosity from progress to verbose and run `restorecon` with `-v` instead of `-p`: + +`fixfiles -v` diff --git a/pages/linux/flameshot.md b/pages/linux/flameshot.md index 321d9900826051..22fdb1129da122 100644 --- a/pages/linux/flameshot.md +++ b/pages/linux/flameshot.md @@ -1,25 +1,37 @@ # flameshot -> Screenshot utility with a gui interface. +> Screenshot utility with a GUI. > Supports basic image editing, such as text, shapes, colors, and imgur. -> More information: . +> More information: . -- Launch flameshot in gui mode: +- Create a fullscreen screenshot: -`flameshot launcher` +`flameshot full` -- Take a screenshot by clicking and dragging: +- Create a screenshot interactively: `flameshot gui` -- Take a full screen screenshot: +- Create a screenshot and save it to a specific path: -`flameshot full` +`flameshot gui {{[-p|--path]}} {{path/to/directory}}` + +- Create a screenshot interactively in a simplified mode: + +`flameshot launcher` + +- Create a screenshot from a specific monitor: + +`flameshot screen {{[-n|--number]}} {{2}}` + +- Create a screenshot and print it to `stdout`: + +`flameshot gui {{[-r|--raw]}}` -- Set the save path to write screenshots to: +- Create a screenshot and copy it to the clipboard: -`flameshot full --path {{path/to/directory}}` +`flameshot gui {{[-c|--clipboard]}}` -- Delay the screenshot for N milliseconds and output to clipboard: +- Create a screenshot with a specific delay in milliseconds: -`flameshot full --delay {{2000}} --clipboard` +`flameshot full {{[-d|--delay]}} {{5000}}` diff --git a/pages/linux/flash.md b/pages/linux/flash.md index 991bb43aff327d..5a3a2421a4a754 100644 --- a/pages/linux/flash.md +++ b/pages/linux/flash.md @@ -7,18 +7,18 @@ `flash` -- Display the program version: - -`flash -v` - - Display information about the flashcard system: `flash -i` -- Display a list of available commands: +- Change the previewer from default `bat` to `cat`: + +`flash -p {{cat}}` + +- Display help: `flash -h` -- Change the previewer from default `bat` to `cat`: +- Display version: -`flash -p {{cat}}` +`flash -v` diff --git a/pages/linux/flashrom.md b/pages/linux/flashrom.md new file mode 100644 index 00000000000000..a73ab68d834f36 --- /dev/null +++ b/pages/linux/flashrom.md @@ -0,0 +1,24 @@ +# flashrom + +> Read, write, verify and erase flash chips. +> More information: . + +- Probe the chip, ensuring the wiring is correct: + +`flashrom {{[-p|--programmer]}} {{programmer}}` + +- Read flash and save it to a file: + +`flashrom {{[-p|--programmer]}} {{programmer}} {{[-r|--read]}} {{path/to/file}}` + +- Write a file to the flash: + +`flashrom {{[-p|--programmer]}} {{programmer}} {{[-w|--write]}} {{path/to/file}}` + +- Verify the flash against a file: + +`flashrom {{[-p|--programmer]}} {{programmer}} {{[-v|--verify]}} {{path/to/file}}` + +- Probe the chip using Raspberry Pi: + +`flashrom {{[-p|--programmer]}} {{linux_spi:dev=/dev/spidev0.0}}` diff --git a/pages/linux/flatpak-builder.md b/pages/linux/flatpak-builder.md new file mode 100644 index 00000000000000..70f387378d247f --- /dev/null +++ b/pages/linux/flatpak-builder.md @@ -0,0 +1,24 @@ +# flatpak-builder + +> Help build application dependencies. +> More information: . + +- Build a Flatpak and export it to a new repository: + +`flatpak-builder {{path/to/build_directory}} {{path/to/manifest}}` + +- Build a Flatpak and export it to the specified repository: + +`flatpak-builder --repo {{repository_name}} {{path/to/build_directory}} {{path/to/manifest}}` + +- Build a Flatpak and install it locally: + +`flatpak-builder --install {{path/to/build_directory}} {{path/to/manifest}}` + +- Build and sign a Flatpak and export it to the specified repository: + +`flatpak-builder --gpg-sign {{key_id}} --repo {{repository_name}} {{path/to/manifest}}` + +- Run a shell inside of an application sandbox without installing it: + +`flatpak-builder --run {{path/to/build_directory}} {{path/to/manifest}} {{sh}}` diff --git a/pages/linux/flatpak-mask.md b/pages/linux/flatpak-mask.md new file mode 100644 index 00000000000000..e0c7a3fea79b39 --- /dev/null +++ b/pages/linux/flatpak-mask.md @@ -0,0 +1,16 @@ +# flatpak mask + +> Mask out updates and automatic installation. +> More information: . + +- Ignore updates for a specific flatpak: + +`flatpak mask {{com.example.app}}` + +- Undo ignore updates: + +`flatpak mask --remove {{com.example.app}}` + +- List all currently masked patterns: + +`flatpak mask {{--system|--user}}` diff --git a/pages/linux/flatpak-remote-info.md b/pages/linux/flatpak-remote-info.md new file mode 100644 index 00000000000000..e492fbfcf88460 --- /dev/null +++ b/pages/linux/flatpak-remote-info.md @@ -0,0 +1,16 @@ +# flatpak remote-info + +> Show information about an application or runtime in a remote. +> More information: . + +- Show information about a flatpak: + +`flatpak remote-info {{remote_name}} {{com.example.app}}` + +- Show a log of previous versions in a remote: + +`flatpak remote-info --log {{remote_name}} {{com.example.app}}` + +- Show information about the specific commit, rather than the latest version: + +`flatpak remote-info --commit {{COMMIT}} {{remote_name}} {{com.example.app}}` diff --git a/pages/linux/flatpak-run.md b/pages/linux/flatpak-run.md new file mode 100644 index 00000000000000..ec2494ae6bbad4 --- /dev/null +++ b/pages/linux/flatpak-run.md @@ -0,0 +1,24 @@ +# flatpak run + +> Run flatpak applications and runtimes. +> More information: . + +- Run an installed application: + +`flatpak run {{com.example.app}}` + +- Run an installed application from a specific branch e.g. stable, beta, master: + +`flatpak run --branch={{stable|beta|master|...}} {{com.example.app}}` + +- Run an interactive shell inside a flatpak: + +`flatpak run --command={{sh}} {{com.example.app}}` + +- Run an installed application with a specific runtime version: + +`flatpak run --runtime-version={{24.08|master|stable|...}} {{com.example.app}}` + +- Run an installed application with a different runtime (but same version number): + +`flatpak run --runtime={{org.freedesktop.Sdk}} {{com.example.app}}` diff --git a/pages/linux/flatpak-update.md b/pages/linux/flatpak-update.md new file mode 100644 index 00000000000000..fb5615e5bf602d --- /dev/null +++ b/pages/linux/flatpak-update.md @@ -0,0 +1,16 @@ +# flatpak update + +> Update flatpak applications and runtimes. +> More information: . + +- Update all installed applications and runtimes (use `-y` to confirm all prompts automatically): + +`flatpak update` + +- Update only a specific app: + +`flatpak update {{com.example.app}}` + +- Update/Downgrade to a specific commit (also see flatpak remote-info and flatpak mask): + +`flatpak update --commit {{COMMIT}} {{com.example.app}}` diff --git a/pages/linux/flatpak.md b/pages/linux/flatpak.md index 0be4361887b73a..9ba35514c3760b 100644 --- a/pages/linux/flatpak.md +++ b/pages/linux/flatpak.md @@ -1,18 +1,19 @@ # flatpak > Build, install and run flatpak applications and runtimes. +> More information: . - Run an installed application: -`flatpak run {{name}}` +`flatpak run {{com.example.app}}` - Install an application from a remote source: -`flatpak install {{remote}} {{name}}` +`flatpak install {{remote_name}} {{com.example.app}}` -- List all installed applications and runtimes: +- List installed applications, ignoring runtimes: -`flatpak list` +`flatpak list --app` - Update all installed applications and runtimes: @@ -22,6 +23,14 @@ `flatpak remote-add --if-not-exists {{remote_name}} {{remote_url}}` -- List all configured remote sources: +- Remove an installed application: -`flatpak remote-list` +`flatpak remove {{com.example.app}}` + +- Remove all unused applications: + +`flatpak remove --unused` + +- Show information about an installed application: + +`flatpak info {{com.example.app}}` diff --git a/pages/linux/flex.md b/pages/linux/flex.md new file mode 100644 index 00000000000000..dbe4f07ff8896f --- /dev/null +++ b/pages/linux/flex.md @@ -0,0 +1,25 @@ +# flex + +> Lexical analyzer generator. +> Given the specification for a lexical analyzer, generates C code implementing it. +> More information: . + +- Generate an analyzer from a Lex file, storing it to the file `lex.yy.c`: + +`flex {{analyzer.l}}` + +- Write analyzer to `stdout`: + +`flex {{[-t|--stdout]}} {{analyzer.l}}` + +- Specify the output file: + +`flex {{analyzer.l}} {{[-o|--outfile]}} {{analyzer.c}}` + +- Generate a batch scanner instead of an interactive scanner: + +`flex {{[-B|--batch]}} {{analyzer.l}}` + +- Compile a C file generated by Lex: + +`cc {{path/to/lex.yy.c}} -o {{executable}}` diff --git a/pages/linux/flock.md b/pages/linux/flock.md new file mode 100644 index 00000000000000..8ae234681832a2 --- /dev/null +++ b/pages/linux/flock.md @@ -0,0 +1,25 @@ +# flock + +> Manage file locks from shell scripts. +> It can be used to ensure that only one instance of a command is running. +> More information: . + +- Run a command with a file lock as soon as the lock is available: + +`flock {{path/to/lock.lock}} {{command}}` + +- Run a command with a file lock, or exit if the lock is currently being held (with exit code 1): + +`flock {{path/to/lock.lock}} {{[-n|--nonblock]}} {{command}}` + +- Run a command with a file lock, or exit with a specific error code if the lock is currently being held: + +`flock {{path/to/lock.lock}} {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{123}} {{command}}` + +- Run a command with a file lock, waiting up to 10 seconds for the lock to be available before giving up: + +`flock {{path/to/lock.lock}} {{[-w|--timeout]}} 10 {{command}}` + +- Backup a bunch of files, waiting for the previous `tar` command to finish if it's still running elsewhere and holding the same lock file (can be used in a `cron` job that runs often): + +`flock {{path/to/backup.lock}} {{tar -cvf path/to/backup.tar path/to/data/}}` diff --git a/pages/linux/fluidsynth.md b/pages/linux/fluidsynth.md new file mode 100644 index 00000000000000..68c705a8ba072b --- /dev/null +++ b/pages/linux/fluidsynth.md @@ -0,0 +1,16 @@ +# fluidsynth + +> Synthesize audio from MIDI files. +> More information: . + +- Play a MIDI file: + +`fluidsynth {{path/to/soundfont.sf2}} {{path/to/file.midi}}` + +- Specify the audio driver: + +`fluidsynth {{[-a|--audio-driver]}} {{pipewire|pulseaudio}} {{path/to/soundfont.sf2}} {{path/to/file.midi}}` + +- Display help: + +`fluidsynth {{[-h|--help]}}` diff --git a/pages/linux/fold.md b/pages/linux/fold.md new file mode 100644 index 00000000000000..e29ff8c5c013e5 --- /dev/null +++ b/pages/linux/fold.md @@ -0,0 +1,16 @@ +# fold + +> Folds long lines for fixed-width output devices. +> More information: . + +- Fold lines in a fixed width: + +`fold {{[-w|--width]}} {{width}} {{path/to/file}}` + +- Count width in bytes (the default is to count in columns): + +`fold {{[-b|--bytes]}} {{[-w|--width]}} {{width_in_bytes}} {{path/to/file}}` + +- Break the line after the rightmost blank within the width limit: + +`fold {{[-s|--spaces]}} {{[-w|--width]}} {{width}} {{path/to/file}}` diff --git a/pages/linux/fonttools-subset.md b/pages/linux/fonttools-subset.md new file mode 100644 index 00000000000000..b4d855097e5ca5 --- /dev/null +++ b/pages/linux/fonttools-subset.md @@ -0,0 +1,20 @@ +# fonttools subset + +> Generate subsets of fonts or optimize file sizes. +> More information: . + +- Subset a TTF font file to the Basic Latin Unicode block: + +`fonttools subset {{path/to/font.ttf}} --unicodes=U+0000-007F` + +- Change the file type to WOFF2: + +`fonttools subset {{path/to/font.ttf}} --unicodes=U+0000-007F --flavor=woff2` + +- Keep only the onum (oldstyle figures) and kern (kerning) OpenType font features: + +`fonttools subset {{path/to/font.ttf}} --unicodes=U+0000-007F --layout-features=onum,kern` + +- Set the output file's name: + +`fonttools subset {{path/to/font.ttf}} --unicodes=U+0000-007F --output-file={{path/to/subset.ttf}}` diff --git a/pages/linux/fonttools.md b/pages/linux/fonttools.md new file mode 100644 index 00000000000000..087d8f21d8cb2d --- /dev/null +++ b/pages/linux/fonttools.md @@ -0,0 +1,12 @@ +# fonttools + +> Manipulate fonts in Python. +> More information: . + +- Subset a TTF font file to the Basic Latin Unicode block: + +`fonttools subset {{path/to/font.ttf}} --unicodes=U+0000-007F` + +- Display help: + +`fonttools --help` diff --git a/pages/linux/foreman.md b/pages/linux/foreman.md index 67c4e35ceb94df..ddcfda1c2c5b74 100644 --- a/pages/linux/foreman.md +++ b/pages/linux/foreman.md @@ -1,6 +1,7 @@ # foreman > Manage Procfile-based applications. +> More information: . - Start an application with the Procfile in the current directory: @@ -8,7 +9,7 @@ - Start an application with a specified Procfile: -`foreman start -f {{Procfile}}` +`foreman start {{[-f|--procfile]}} {{Procfile}}` - Start a specific application: @@ -24,4 +25,4 @@ - Start all processes except the one named "worker": -`foreman start -m all=1,{{worker}}=0` +`foreman start {{[-m|--formation]}} all=1,{{worker}}=0` diff --git a/pages/linux/fprintd-delete.md b/pages/linux/fprintd-delete.md new file mode 100644 index 00000000000000..2da3b4fc419ffd --- /dev/null +++ b/pages/linux/fprintd-delete.md @@ -0,0 +1,16 @@ +# fprintd-delete + +> Remove fingerprints from the database. +> More information: . + +- Remove all fingerprints for a specific user: + +`fprintd-delete {{username}}` + +- Remove a specific fingerprints for a specific user: + +`fprintd-delete {{username}} {{[-f|--finger]}} {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|...}}` + +- Display help: + +`fprintd-delete` diff --git a/pages/linux/fprintd-enroll.md b/pages/linux/fprintd-enroll.md new file mode 100644 index 00000000000000..4cff8beda0ff07 --- /dev/null +++ b/pages/linux/fprintd-enroll.md @@ -0,0 +1,24 @@ +# fprintd-enroll + +> Enroll fingerprints into the database. +> More information: . + +- Enroll the right index finger for the current user: + +`fprintd-enroll` + +- Enroll a specific finger for the current user: + +`fprintd-enroll {{[-f|--finger]}} {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|...}}` + +- Enroll the right index finger for a specific user: + +`fprintd-enroll {{username}}` + +- Enroll a specific finger for a specific user: + +`fprintd-enroll {{[-f|--finger]}} {{finger_name}} {{username}}` + +- Display help: + +`fprintd-enroll --help` diff --git a/pages/linux/fprintd-list.md b/pages/linux/fprintd-list.md new file mode 100644 index 00000000000000..ee16311e00870d --- /dev/null +++ b/pages/linux/fprintd-list.md @@ -0,0 +1,16 @@ +# fprintd-list + +> List enrolled fingerprints. +> More information: . + +- List enrolled fingerprints for a specific user: + +`fprintd-list {{username}}` + +- List enrolled fingerprints for one or more users: + +`fprintd-list {{username1 username2 ...}}` + +- Display help: + +`fprintd-list` diff --git a/pages/linux/fprintd-verify.md b/pages/linux/fprintd-verify.md new file mode 100644 index 00000000000000..0999b215bc0d2e --- /dev/null +++ b/pages/linux/fprintd-verify.md @@ -0,0 +1,28 @@ +# fprintd-verify + +> Verify fingerprints against the database. +> More information: . + +- Verify all stored fingerprints for the current user: + +`fprintd-verify` + +- Verify a specific fingerprint for the current user: + +`fprintd-verify {{[-f|--finger]}} {{left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|...}}` + +- Verify fingerprints for a specific user: + +`fprintd-verify {{username}}` + +- Verify a specific fingerprint for a specific user: + +`fprintd-verify {{[-f|--finger]}} {{finger_name}} {{username}}` + +- Fail the process if a fingerprint doesn't match with ones stored in the database for the current user: + +`fprintd-verify --g-fatal-warnings` + +- Display help: + +`fprintd-verify {{[-h|--help]}}` diff --git a/pages/linux/fprintd.md b/pages/linux/fprintd.md new file mode 100644 index 00000000000000..702f2da0ef8954 --- /dev/null +++ b/pages/linux/fprintd.md @@ -0,0 +1,21 @@ +# fprintd + +> Fingerprint management daemon. +> `fprintd` isn't a command, but a set of commands. +> More information: . + +- View documentation for listing enrolled fingerprints: + +`tldr fprintd-list` + +- View documentation for enrolling new fingerprints: + +`tldr fprintd-enroll` + +- View documentation for verifying a fingerprint against a database: + +`tldr fprintd-verify` + +- View documentation for deleting fingerprints from a database: + +`tldr fprintd-delete` diff --git a/pages/linux/free.md b/pages/linux/free.md index 405326a6652fed..4b92d35086a948 100644 --- a/pages/linux/free.md +++ b/pages/linux/free.md @@ -1,6 +1,7 @@ # free > Display amount of free and used memory in the system. +> More information: . - Display system memory: @@ -10,10 +11,10 @@ `free -{{b|k|m|g}}` -- Display memory in human readable units: +- Display memory in human-readable units: -`free -h` +`free {{[-h|--human]}}` - Refresh the output every 2 seconds: -`free -s {{2}}` +`free {{[-s|--seconds]}} 2` diff --git a/pages/linux/fsadm.md b/pages/linux/fsadm.md new file mode 100644 index 00000000000000..d729b406f36505 --- /dev/null +++ b/pages/linux/fsadm.md @@ -0,0 +1,24 @@ +# fsadm + +> Check or resize a filesystem on a device. +> More information: . + +- Check a filesystem for errors: + +`fsadm check {{/dev/vg_name/lv_name}}` + +- Perform a dry-run resize to a specific size (no changes made): + +`fsadm {{[-n|--dry-run]}} resize {{/dev/vg_name/lv_name}} {{10G}}` + +- Grow a filesystem to fill the entire device (omit the size): + +`fsadm resize {{/dev/vg_name/lv_name}}` + +- Resize the filesystem and the underlying logical volume together: + +`fsadm {{[-l|--lvresize]}} resize {{/dev/vg_name/lv_name}} {{100G}}` + +- For ext2/3/4, unmount and resize offline: + +`fsadm {{[-e|--ext-offline]}} resize {{/dev/vg_name/lv_name}} {{20G}}` diff --git a/pages/linux/fsck.md b/pages/linux/fsck.md index f627dc567ebac7..e6ced9cdc938ee 100644 --- a/pages/linux/fsck.md +++ b/pages/linux/fsck.md @@ -1,15 +1,16 @@ # fsck > Check the integrity of a filesystem or repair it. The filesystem should be unmounted at the time the command is run. +> More information: . -- Check filesystem `/dev/sdX`, reporting any damaged blocks: +- Check filesystem `/dev/sdXN`, reporting any damaged blocks: -`fsck {{/dev/sdX}}` +`sudo fsck {{/dev/sdXN}}` -- Check filesystem `/dev/sdX`, reporting any damaged blocks and interactively letting the user choose to repair each one: +- Check filesystem `/dev/sdXN`, reporting any damaged blocks and interactively letting the user choose to repair each one: -`fsck -r {{/dev/sdX}}` +`sudo fsck -r {{/dev/sdXN}}` -- Check filesystem `/dev/sdX`, reporting any damaged blocks and automatically repairing them: +- Check filesystem `/dev/sdXN`, reporting any damaged blocks and [a]utomatically repairing them: -`fsck -a {{/dev/sdX}}` +`sudo fsck -a {{/dev/sdXN}}` diff --git a/pages/linux/fscrypt.md b/pages/linux/fscrypt.md new file mode 100644 index 00000000000000..e2971f40cfd260 --- /dev/null +++ b/pages/linux/fscrypt.md @@ -0,0 +1,24 @@ +# fscrypt + +> Go tool for managing Linux filesystem encryption. +> More information: . + +- Prepare the root filesystem for use with `fscrypt`: + +`sudo fscrypt setup` + +- Prepare a specific mountpoint for use with `fscrypt`: + +`fscrypt setup {{path/to/directory}}` + +- Enable filesystem encryption for a directory: + +`fscrypt encrypt {{path/to/directory}}` + +- Unlock an encrypted directory: + +`fscrypt unlock {{path/to/encrypted_directory}}` + +- Lock an encrypted directory: + +`fscrypt lock {{path/to/encrypted_directory}}` diff --git a/pages/linux/fstrim.md b/pages/linux/fstrim.md index 262f9d4c4388ae..47748a9cd6bf80 100644 --- a/pages/linux/fstrim.md +++ b/pages/linux/fstrim.md @@ -2,10 +2,11 @@ > Discard unused blocks on a mounted filesystem. > Only supported by flash memory devices such as SSDs and microSD cards. +> More information: . - Trim unused blocks on all mounted partitions that support it: -`sudo fstrim --all` +`sudo fstrim {{[-a|--all]}}` - Trim unused blocks on a specified partition: @@ -13,4 +14,4 @@ - Display statistics after trimming: -`sudo fstrim --verbose {{/}}` +`sudo fstrim {{[-v|--verbose]}} {{/}}` diff --git a/pages/linux/fuser.md b/pages/linux/fuser.md index 442892048d2532..5c31be6a7367fd 100644 --- a/pages/linux/fuser.md +++ b/pages/linux/fuser.md @@ -1,6 +1,7 @@ # fuser > Display process IDs currently using files or sockets. +> More information: . - Find which processes are accessing a file or directory: @@ -8,16 +9,20 @@ - Show more fields (`USER`, `PID`, `ACCESS` and `COMMAND`): -`fuser --verbose {{path/to/file_or_directory}}` +`fuser {{[-v|--verbose]}} {{path/to/file_or_directory}}` - Identify processes using a TCP socket: -`fuser --namespace tcp {{port}}` +`fuser {{[-n|--namespace]}} tcp {{port}}` - Kill all processes accessing a file or directory (sends the `SIGKILL` signal): -`fuser --kill {{path/to/file_or_directory}}` +`fuser {{[-k|--kill]}} {{path/to/file_or_directory}}` - Find which processes are accessing the filesystem containing a specific file or directory: -`fuser --mount {{path/to/file_or_directory}}` +`fuser {{[-m|--mount]}} {{path/to/file_or_directory}}` + +- Kill all processes with a TCP connection on a specific port: + +`fuser {{[-k|--kill]}} {{port}}/tcp` diff --git a/pages/linux/fuzzel.md b/pages/linux/fuzzel.md new file mode 100644 index 00000000000000..0af030b81fa237 --- /dev/null +++ b/pages/linux/fuzzel.md @@ -0,0 +1,36 @@ +# fuzzel + +> A Wayland-native application launcher and fuzzy finder, inspired by `rofi` and `dmenu`. +> More information: . + +- Run applications: + +`fuzzel` + +- Run `fuzzel` in dmenu mode: + +`fuzzel {{[-d|--dmenu]}}` + +- Display a menu of the output of the `ls` command: + +`{{ls}} | fuzzel {{[-d|--dmenu]}}` + +- Display a menu with custom items separated by a new line (`\n`): + +`echo -e "{{red}}\n{{green}}\n{{blue}}" | fuzzel {{[-d|--dmenu]}}` + +- Let the user choose between multiple items and save the selected one to a file: + +`echo -e "{{red}}\n{{green}}\n{{blue}}" | fuzzel {{[-d|--dmenu]}} > {{color.txt}}` + +- Reset apps usage count (default cache directory: `$XDG_CACHE_HOME/fuzzel`): + +`rm {{[-v|--verbose]}} $HOME/.cache/fuzzel` + +- Launch `fuzzel` on a specific monitor, see `wlr-randr` or `swaymsg --type get_outputs`: + +`fuzzel {{[-o|--output]}} "{{DP-1}}"` + +- Use `fuzzel` to do an online search: + +`fuzzel {{[-d|--dmenu]}} {{[-l|--lines]}} 0 --placeholder "{{Type your search}}" | sed 's/^/\"/g;s/$/\"/g' | xargs firefox --search` diff --git a/pages/linux/fwconsole.md b/pages/linux/fwconsole.md new file mode 100644 index 00000000000000..44b6c85a600610 --- /dev/null +++ b/pages/linux/fwconsole.md @@ -0,0 +1,32 @@ +# fwconsole + +> Manage and configure your FreePBX system (PBX server). +> More information: . + +- Reload FreePBX configurations: + +`fwconsole reload` + +- Start Asterisk and other commands needed by FreePBX: + +`fwconsole start` + +- Stop Asterisk and other commands needed by FreePBX: + +`fwconsole stop` + +- View and update settings: + +`fwconsole setting {{keyword}} {{new_value}}` + +- List available backups: + +`fwconsole backup --list` + +- List available FreePBX commands: + +`fwconsole list` + +- Change ownership of all files and directories that FreePBX needs to be owned by the apache user: + +`fwconsole chown` diff --git a/pages/linux/fwupdmgr.md b/pages/linux/fwupdmgr.md new file mode 100644 index 00000000000000..4e321f3d053f85 --- /dev/null +++ b/pages/linux/fwupdmgr.md @@ -0,0 +1,29 @@ +# fwupdmgr + +> Update device firmware, including UEFI, using `fwupd`. +> See also: `fwupdtool`. +> More information: . + +- Display all devices detected by `fwupd`: + +`fwupdmgr get-devices` + +- Download the latest firmware metadata from LVFS: + +`fwupdmgr refresh` + +- List the updates available for devices on your system: + +`fwupdmgr get-updates` + +- Install firmware updates: + +`fwupdmgr update` + +- Remount `/boot` with more privileges if update complains about a read-only filesystem: + +`sudo mount {{[-o|--options]}} uid=1000,gid=1000,umask=0022 {{/dev/sdX}} /boot` + +- Show firmware update history: + +`fwupdmgr get-history` diff --git a/pages/linux/fwupdtool.md b/pages/linux/fwupdtool.md new file mode 100644 index 00000000000000..43070f5af3078b --- /dev/null +++ b/pages/linux/fwupdtool.md @@ -0,0 +1,17 @@ +# fwupdtool + +> Update device firmware manually or manipulate firmware files. +> See also: `fwupdmgr`. +> More information: . + +- Display all devices detected by `fwupd`: + +`fwupdtool get-devices` + +- Install firmware from a file: + +`fwupdtool install {{path/to/firmware}}` + +- Display help: + +`fwupdtool {{[-h|--help]}}` diff --git a/pages/linux/gamescope.md b/pages/linux/gamescope.md new file mode 100644 index 00000000000000..7b18fa6625f5f1 --- /dev/null +++ b/pages/linux/gamescope.md @@ -0,0 +1,36 @@ +# gamescope + +> A micro-compositor used as a game layer. +> More information: . + +- Run a program with gamescope on the terminal: + +`gamescope -- {{program}}` + +- Run a game with gamescope through Steam: + +`gamescope -- %command%` + +- Upscale a 720p game to 1440p with integer scaling: + +`gamescope {{[-h|--nested-height]}} 720 {{[-H|--output-height]}} 1440 {{[-S|--scaler]}} integer -- %command%` + +- Limit a vsynced game to 30 FPS: + +`gamescope {{[-r|--nested-refresh]}} 30 -- %command%` + +- Launch Steam in Big Picture Mode and integrate with gamescope: + +`gamescope {{[-e|--steam]}} -- /usr/bin/steam -tenfoot` + +- Specify which display to prefer: + +`gamescope {{[-O|--prefer-output]}} {{HDMI-A-1,DP-3,...}} -- {{program}}` + +- Toggle fullscreen: + +`` + +- Display help: + +`gamescope --help` diff --git a/pages/linux/gbp.md b/pages/linux/gbp.md new file mode 100644 index 00000000000000..9f55fd2e13bba5 --- /dev/null +++ b/pages/linux/gbp.md @@ -0,0 +1,24 @@ +# gbp + +> A system to integrate the Debian package build system with Git. +> More information: . + +- Convert an existing Debian package to gbp: + +`gbp import-dsc {{path/to/package.dsc}}` + +- Build the package in the current directory using the default builder (`debuild`): + +`gbp buildpackage -jauto -us -uc` + +- Build a package in a `pbuilder` environment for Debian Bullseye: + +`DIST={{bullseye}} ARCH={{amd64}} gbp buildpackage -jauto -us -uc --git-builder={{git-pbuilder}}` + +- Specify a package to be a source-only upload in the `.changes` file (see ): + +`gbp buildpackage -jauto -us -uc --changes-options={{-S}}` + +- Import a new upstream release: + +`gbp import-orig --pristine-tar {{path/to/package.tar.gz}}` diff --git a/pages/linux/gcov.md b/pages/linux/gcov.md index c03c9d059a30f7..11548c19e32c45 100644 --- a/pages/linux/gcov.md +++ b/pages/linux/gcov.md @@ -10,20 +10,20 @@ - Write individual execution counts for every basic block: -`gcov --all-blocks {{path/to/file.cpp}}` +`gcov {{[-a|--all-blocks]}} {{path/to/file.cpp}}` - Write branch frequencies to the output file and print summary information to `stdout` as a percentage: -`gcov --branch-probabilities {{path/to/file.cpp}}` +`gcov {{[-b|--branch-probabilities]}} {{path/to/file.cpp}}` - Write branch frequencies as the number of branches taken, rather than the percentage: -`gcov --branch-counts {{path/to/file.cpp}}` +`gcov {{[-c|--branch-counts]}} {{path/to/file.cpp}}` - Do not create a `gcov` output file: -`gcov --no-output {{path/to/file.cpp}}` +`gcov {{[-n|--no-output]}} {{path/to/file.cpp}}` - Write file level as well as function level summaries: -`gcov --function-summaries {{path/to/file.cpp}}` +`gcov {{[-f|--function-summaries]}} {{path/to/file.cpp}}` diff --git a/pages/linux/gcrane-completion.md b/pages/linux/gcrane-completion.md new file mode 100644 index 00000000000000..ca448945717cde --- /dev/null +++ b/pages/linux/gcrane-completion.md @@ -0,0 +1,37 @@ +# gcrane completion + +> Generate the autocompletion script for gcrane for the specified shell. +> The available shells are Bash, fish, PowerShell, and Zsh. +> More information: . + +- Generate the autocompletion script for your shell: + +`gcrane completion {{shell_name}}` + +- Disable completion descriptions: + +`gcrane completion {{shell_name}} --no-descriptions` + +- Load completions in your current shell session (Bash/Zsh): + +`source <(gcrane completion bash/zsh)` + +- Load completions in your current shell session (fish): + +`gcrane completion fish | source` + +- Load completions for every new session (Bash): + +`gcrane completion bash > /etc/bash_completion.d/gcrane` + +- Load completions for every new session (Zsh): + +`gcrane completion zsh > "${fpath[1]}/_gcrane"` + +- Load completions for every new session (fish): + +`gcrane completion fish > ~/.config/fish/completions/gcrane.fish` + +- Display help: + +`gcrane completion {{shell_name}} {{[-h|--help]}}` diff --git a/pages/linux/gdbus.md b/pages/linux/gdbus.md new file mode 100644 index 00000000000000..1eea9efa4ed111 --- /dev/null +++ b/pages/linux/gdbus.md @@ -0,0 +1,29 @@ +# gdbus + +> Interact with D-Bus objects. +> Part of GLib. +> More information: . + +- List all names on the session bus: + +`gdbus list-names --session` + +- List all names on the system bus: + +`gdbus list-names --system` + +- Introspect an object to see its interfaces and methods: + +`gdbus introspect --session --dest {{destination_bus_name}} --object-path /{{path/to/object}}` + +- Call a method on an object with arguments: + +`gdbus call --session --dest {{destination_bus_name}} --object-path /{{path/to/object}} --method {{interface.method_name}} {{argument1 argument2 ...}}` + +- Emit a signal from an object with arguments: + +`gdbus emit --session --object-path /{{path/to/object}} --signal {{interface.signal_name}} {{argument1 argument2 ...}}` + +- Monitor all messages on the session bus: + +`gdbus monitor --session` diff --git a/pages/linux/gdebi.md b/pages/linux/gdebi.md new file mode 100644 index 00000000000000..1d84503dfee42a --- /dev/null +++ b/pages/linux/gdebi.md @@ -0,0 +1,24 @@ +# gdebi + +> Easily install `.deb` files. +> More information: . + +- Install local `.deb` packages resolving and installing its dependencies: + +`gdebi {{path/to/package.deb}}` + +- Do not show progress information: + +`gdebi {{path/to/package.deb}} {{[-q|--quiet]}}` + +- Set an APT configuration option: + +`gdebi {{path/to/package.deb}} {{[-o|--option]}} {{APT_OPTS}}` + +- Use alternative root dir: + +`gdebi {{path/to/package.deb}} --root {{path/to/root_directory}}` + +- Display version: + +`gdebi --version` diff --git a/pages/linux/gedit.md b/pages/linux/gedit.md index 0486e170c7add1..cdc7bac181bd77 100644 --- a/pages/linux/gedit.md +++ b/pages/linux/gedit.md @@ -1,6 +1,7 @@ # gedit > Text editor of the GNOME Desktop project. +> More information: . - Open a text file: @@ -12,7 +13,7 @@ - Open a text file with a specific encoding: -`gedit --encoding={{UTF-8}} {{path/to/file}}` +`gedit --encoding {{UTF-8}} {{path/to/file}}` - Display a list of supported encodings: diff --git a/pages/linux/genfstab.md b/pages/linux/genfstab.md new file mode 100644 index 00000000000000..a570b69996c98b --- /dev/null +++ b/pages/linux/genfstab.md @@ -0,0 +1,24 @@ +# genfstab + +> Generate output suitable for addition to the `/etc/fstab` file. +> More information: . + +- Generate the `/etc/fstab` file using volume UUIDs during an Arch Linux installation (requires root permissions): + +`genfstab -U {{/mnt}} >> {{/mnt/etc/fstab}}` + +- Display fstab-compatible output based on volume labels: + +`genfstab -L {{path/to/mount_point}}` + +- Display fstab-compatible output based on volume UUIDs: + +`genfstab -U {{path/to/mount_point}}` + +- Display fstab-compatible output based on the specified identifier: + +`genfstab -t {{LABEL|UUID|PARTLABEL|PARTUUID}}` + +- Append a volume into the `/etc/fstab` file to mount it automatically: + +`genfstab -U {{path/to/mount_point}} | sudo tee -a /etc/fstab` diff --git a/pages/linux/genie.md b/pages/linux/genie.md index 4cf90caddb5bf5..799bdd371126ae 100644 --- a/pages/linux/genie.md +++ b/pages/linux/genie.md @@ -6,12 +6,12 @@ - Initialize the bottle (run once, at start): -`genie -i` +`genie {{[-i|--initialize]}}` - Run a login shell inside the bottle: -`genie -s` +`genie {{[-s|--shell]}}` - Run a specified command inside the bottle: -`genie -c {{command}}` +`genie {{[-c|--command]}} {{command}}` diff --git a/pages/linux/genisoimage.md b/pages/linux/genisoimage.md new file mode 100644 index 00000000000000..00aad09d3c904c --- /dev/null +++ b/pages/linux/genisoimage.md @@ -0,0 +1,12 @@ +# genisoimage + +> Pre-mastering program to generate ISO9660/Joliet/HFS hybrid filesystems. +> More information: . + +- Create an ISO image from the given source directory: + +`genisoimage -o {{myimage.iso}} {{path/to/source_directory}}` + +- Create an ISO image with files larger than 2GiB by reporting a smaller apparent size for ISO9660 filesystems: + +`genisoimage -o -allow-limited-size {{myimage.iso}} {{path/to/source_directory}}` diff --git a/pages/linux/genkernel.md b/pages/linux/genkernel.md index a988de52bf27e9..ac0ef9e7b48d05 100644 --- a/pages/linux/genkernel.md +++ b/pages/linux/genkernel.md @@ -1,6 +1,7 @@ # genkernel > Gentoo Linux utility to compile and install kernels. +> More information: . - Automatically compile and install a generic kernel: @@ -18,6 +19,6 @@ `sudo genkernel --kernname={{custom_name}} all` -- Use a kernel source outside of the default directory /usr/src/linux: +- Use a kernel source outside the default directory `/usr/src/linux`: `sudo genkernel --kerneldir={{path/to/directory}} all` diff --git a/pages/linux/getcap.md b/pages/linux/getcap.md new file mode 100644 index 00000000000000..ac01575dfdf8f6 --- /dev/null +++ b/pages/linux/getcap.md @@ -0,0 +1,16 @@ +# getcap + +> Display the name and capabilities of each specified file. +> More information: . + +- Get capabilities for the given files: + +`getcap {{path/to/file1 path/to/file2 ...}}` + +- Get capabilities for all the files recursively under the given directories: + +`getcap -r {{path/to/directory1 path/to/directory2 ...}}` + +- Display all searched entries even if no capabilities are set: + +`getcap -v {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/linux/getconf.md b/pages/linux/getconf.md new file mode 100644 index 00000000000000..5606339b9680d9 --- /dev/null +++ b/pages/linux/getconf.md @@ -0,0 +1,24 @@ +# getconf + +> Get configuration values from your Linux system. +> More information: . + +- List [a]ll configuration values available: + +`getconf -a` + +- List the configuration values for a specific directory: + +`getconf -a {{path/to/directory}}` + +- Check if the system is 32-bit or 64-bit: + +`getconf LONG_BIT` + +- Check how many processes the current user can run at once: + +`getconf CHILD_MAX` + +- List every configuration value and then find patterns with the `grep` command (i.e every value with MAX in it): + +`getconf -a | grep MAX` diff --git a/pages/linux/getenforce.md b/pages/linux/getenforce.md new file mode 100644 index 00000000000000..440a5f8366d82b --- /dev/null +++ b/pages/linux/getenforce.md @@ -0,0 +1,9 @@ +# getenforce + +> Get the current mode of SELinux (i.e. enforcing, permissive, or disabled). +> See also: `setenforce`, `semanage-permissive`. +> More information: . + +- Display the current mode of SELinux: + +`getenforce` diff --git a/pages/linux/getent.md b/pages/linux/getent.md index c0b86ed5430b13..b5785a360d1629 100644 --- a/pages/linux/getent.md +++ b/pages/linux/getent.md @@ -1,6 +1,7 @@ # getent > Get entries from Name Service Switch libraries. +> More information: . - Get list of all groups: diff --git a/pages/linux/getfacl.md b/pages/linux/getfacl.md index 5a930ce1bcb91b..a6e8481a8338fa 100644 --- a/pages/linux/getfacl.md +++ b/pages/linux/getfacl.md @@ -1,6 +1,7 @@ # getfacl -> Get file access control lists. +> Get file access control lists (ACL). +> More information: . - Display the file access control list: @@ -8,8 +9,8 @@ - Display the file access control list with numeric user and group IDs: -`getfacl -n {{path/to/file_or_directory}}` +`getfacl {{[-n|--numeric]}} {{path/to/file_or_directory}}` - Display the file access control list with tabular output format: -`getfacl -t {{path/to/file_or_directory}}` +`getfacl {{[-t|--tabular]}} {{path/to/file_or_directory}}` diff --git a/pages/linux/getfattr.md b/pages/linux/getfattr.md new file mode 100644 index 00000000000000..cceca5954105ee --- /dev/null +++ b/pages/linux/getfattr.md @@ -0,0 +1,12 @@ +# getfattr + +> Display file names and extended attributes. +> More information: . + +- Retrieve all extended attributes of a file and display them in a detailed format: + +`getfattr {{[-d|--dump]}} {{path/to/file}}` + +- Get a specific attribute of a file: + +`getfattr {{[-n|--name]}} user.{{attribute_name}} {{path/to/file}}` diff --git a/pages/linux/getopt.md b/pages/linux/getopt.md new file mode 100644 index 00000000000000..72d59a06eb0d3f --- /dev/null +++ b/pages/linux/getopt.md @@ -0,0 +1,20 @@ +# getopt + +> Parse command-line arguments. +> More information: . + +- Parse optional `verbose`/`version` flags with shorthands: + +`getopt {{[-o|--options]}} vV {{[-l|--longoptions]}} verbose,version -- --version --verbose` + +- Add a `--file` option with a required argument with shorthand `-f`: + +`getopt {{[-o|--options]}} f: {{[-l|--longoptions]}} file: -- --file=somefile` + +- Add a `--verbose` option with an optional argument with shorthand `-v`, and pass a non-option parameter `arg`: + +`getopt {{[-o|--options]}} v:: {{[-l|--longoptions]}} verbose:: -- --verbose arg` + +- Accept a `-r` and `--verbose` flag, a `--accept` option with an optional argument and add a `--target` with a required argument option with shorthands: + +`getopt {{[-o|--options]}} rv::s::t: {{[-l|--longoptions]}} verbose,source::,target: -- -v --target target` diff --git a/pages/linux/getsebool.md b/pages/linux/getsebool.md new file mode 100644 index 00000000000000..960ed52d9b9cad --- /dev/null +++ b/pages/linux/getsebool.md @@ -0,0 +1,17 @@ +# getsebool + +> Get SELinux boolean value. +> See also: `semanage-boolean`, `setsebool`. +> More information: . + +- Show the current setting of a boolean: + +`getsebool {{httpd_can_connect_ftp}}` + +- Show the current setting of [a]ll booleans: + +`getsebool -a` + +- Show the current setting of all booleans with explanations: + +`sudo semanage boolean {{[-l|--list]}}` diff --git a/pages/linux/gif2webp.md b/pages/linux/gif2webp.md new file mode 100644 index 00000000000000..aa95a2054195d8 --- /dev/null +++ b/pages/linux/gif2webp.md @@ -0,0 +1,8 @@ +# gif2webp + +> Convert a GIF image to WebP. +> More information: . + +- Convert a GIF image to WebP: + +`gif2webp {{path/to/image.gif}} -o {{path/to/image.webp}}` diff --git a/pages/linux/gio-trash.md b/pages/linux/gio-trash.md new file mode 100644 index 00000000000000..e881548e9e312c --- /dev/null +++ b/pages/linux/gio-trash.md @@ -0,0 +1,17 @@ +# gio trash + +> Move files to the trash bin. +> Used by GNOME to handle trash. +> More information: . + +- Move specific files to the trash bin: + +`gio trash {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- List trash bin items: + +`gio trash --list` + +- Restore a specific item from trash using its ID: + +`gio trash trash://{{id}}` diff --git a/pages/linux/gio.md b/pages/linux/gio.md new file mode 100644 index 00000000000000..2f4dabd5994d74 --- /dev/null +++ b/pages/linux/gio.md @@ -0,0 +1,25 @@ +# gio + +> Handle local and virtual files (GVfs). +> Part of GLib used in GNOME-based systems. +> More information: . + +- Open a file with the default application (e.g. PDF, image): + +`gio open {{path/to/file}}` + +- List files in a directory: + +`gio list {{path/to/directory}}` + +- Show information about a file: + +`gio info {{path/to/file}}` + +- Copy a file: + +`gio copy {{path/to/source}} {{path/to/destination}}` + +- Send a file to the trash (reversible): + +`gio trash {{path/to/file}}` diff --git a/pages/linux/gksu.md b/pages/linux/gksu.md new file mode 100644 index 00000000000000..6299314bf50065 --- /dev/null +++ b/pages/linux/gksu.md @@ -0,0 +1,27 @@ +# gksu + +> Frontend for `su`. +> Allows you to run graphical commands which need root access without having to run an X terminal emulator. +> Note: This command is deprecated in favor of commands like `pkexec`, and is no longer maintained. +> See also: `gksudo`. +> More information: . + +- Run a command as a specific user: + +`gksu {{[-u|--user]}} {{userid}} {{command}}` + +- Run the command while preserving the current environments: + +`gksu {{[-u|--user]}} {{userid}} {{[-k|--preserve-env]}} {{command}}` + +- Force `gksu` to use `su` to run the command: + +`gksu {{[-u|--user]}} {{userid}} {{[-w|--su-mode]}} {{command}}` + +- Force `gksu` to use `sudo` to run the command: + +`gksu {{[-u|--user]}} {{userid}} {{[-S|--sudo-mode]}} {{command}}` + +- Output debug info for the given command: + +`gksu {{[-u|--user]}} {{userid}} {{[-d|--debug]}} {{command}}` diff --git a/pages/linux/gksudo.md b/pages/linux/gksudo.md new file mode 100644 index 00000000000000..961bdab8662f27 --- /dev/null +++ b/pages/linux/gksudo.md @@ -0,0 +1,27 @@ +# gksudo + +> Frontend for `sudo`. +> Allows you to run graphical commands which need root access without having to run an X terminal emulator. +> Note: This command is deprecated in favor of commands like `pkexec`, and is no longer maintained. +> See also: `gksu`. +> More information: . + +- Run a command as a specific user: + +`gksudo {{[-u|--user]}} {{userid}} {{command}}` + +- Run the command while preserving the current environments: + +`gksudo {{[-u|--user]}} {{userid}} {{[-k|--preserve-env]}} {{command}}` + +- Force `gksudo` to use `su` to run the command: + +`gksu {{[-u|--user]}} {{userid}} {{[-w|--su-mode]}} {{command}}` + +- Force `gksudo` to use `sudo` to run the command: + +`gksudo {{[-u|--user]}} {{userid}} {{[-S|--sudo-mode]}} {{command}}` + +- Output debug info for the given command: + +`gksudo {{[-u|--user]}} {{userid}} {{[-d|--debug]}} {{command}}` diff --git a/pages/linux/gnome-calculator.md b/pages/linux/gnome-calculator.md new file mode 100644 index 00000000000000..2bb201964070fd --- /dev/null +++ b/pages/linux/gnome-calculator.md @@ -0,0 +1,16 @@ +# gnome-calculator + +> The official calculator for the GNOME desktop environment. +> More information: . + +- Launch the GNOME Calculator GUI: + +`gnome-calculator` + +- Solve the specified equation without launching the desktop application: + +`gnome-calculator --solve {{2^5 * 2 + 5}}` + +- Display version: + +`gnome-calculator --version` diff --git a/pages/linux/gnome-extensions.md b/pages/linux/gnome-extensions.md index 8bcdaa1054189f..280645e4e61afc 100644 --- a/pages/linux/gnome-extensions.md +++ b/pages/linux/gnome-extensions.md @@ -3,10 +3,6 @@ > Manage gnome extensions from the terminal. > More information: . -- Display the version: - -`gnome-extensions version` - - List all the installed extensions: `gnome-extensions list` @@ -15,18 +11,22 @@ `gnome-extensions info "{{extension_id}}"` -- Display help for a subcommand (like `list`): - -`gnome-extensions help {{subcommand}}` - - Enable a specific extension: `gnome-extensions enable "{{extension_id}}"` - Disable a specific extension: -`gnome-extension disable "{{extension_id}}"` +`gnome-extensions disable "{{extension_id}}"` - Uninstall a specific extension: -`gnome-extension unistall "{{extension_id}}"` +`gnome-extensions uninstall "{{extension_id}}"` + +- Display help for a specific subcommand (like `list`): + +`gnome-extensions help {{subcommand}}` + +- Display version: + +`gnome-extensions version` diff --git a/pages/linux/gnome-screenshot.md b/pages/linux/gnome-screenshot.md new file mode 100644 index 00000000000000..14d6d272e682cb --- /dev/null +++ b/pages/linux/gnome-screenshot.md @@ -0,0 +1,36 @@ +# gnome-screenshot + +> Capture the screen, a window, or a user-defined area and save the image to a file. +> More information: . + +- Take a screenshot and save it to the default location, normally `~/Pictures`: + +`gnome-screenshot` + +- Take a screenshot and save it to the named file location: + +`gnome-screenshot {{[-f|--file]}} {{path/to/file}}` + +- Take a screenshot and save it to the clipboard: + +`gnome-screenshot {{[-c|--clipboard]}}` + +- Take a screenshot after the specified number of seconds: + +`gnome-screenshot {{[-d|--delay]}} {{5}}` + +- Launch the GNOME Screenshot GUI: + +`gnome-screenshot {{[-i|--interactive]}}` + +- Take a screenshot of the current window and save it to the specified file location: + +`gnome-screenshot {{[-w|--window]}} {{[-f|--file]}} {{path/to/file}}` + +- Take a screenshot after the specified number of seconds and save it to the clipboard: + +`gnome-screenshot {{[-d|--delay]}} {{10}} {{[-c|--clipboard]}}` + +- Display the version: + +`gnome-screenshot --version` diff --git a/pages/linux/gnome-software.md b/pages/linux/gnome-software.md new file mode 100644 index 00000000000000..9d7300e1d4e33e --- /dev/null +++ b/pages/linux/gnome-software.md @@ -0,0 +1,20 @@ +# gnome-software + +> Add and remove applications and update your system. +> More information: . + +- Launch the GNOME Software GUI if it's not already running: + +`gnome-software` + +- Launch the GNOME Software GUI if it's not open, and navigate to the specified page: + +`gnome-software --mode {{updates|updated|installed|overview}}` + +- Launch the GNOME Software GUI if it's not open and view the details of the specified package: + +`gnome-software --details {{package}}` + +- Display the version: + +`gnome-software --version` diff --git a/pages/linux/gnome-terminal.md b/pages/linux/gnome-terminal.md index cd9ccae4323831..894de2aa5c10b1 100644 --- a/pages/linux/gnome-terminal.md +++ b/pages/linux/gnome-terminal.md @@ -1,6 +1,7 @@ # gnome-terminal > The GNOME Terminal emulator. +> More information: . - Open a new GNOME terminal window: @@ -16,4 +17,4 @@ - Set the title of the new tab: -`gnome-terminal --tab --title "{{title}}"` +`gnome-terminal --tab {{[-t|--title]}} "{{title}}"` diff --git a/pages/linux/goaccess.md b/pages/linux/goaccess.md new file mode 100644 index 00000000000000..42e53d9b0ca6fb --- /dev/null +++ b/pages/linux/goaccess.md @@ -0,0 +1,20 @@ +# goaccess + +> An open source real-time web log analyzer. +> More information: . + +- Analyze one or more log files in interactive mode: + +`goaccess {{path/to/logfile1 path/to/file2 ...}}` + +- Use a specific log-format (or pre-defined formats like "combined"): + +`goaccess {{path/to/logfile}} --log-format={{format}}` + +- Analyze a log from `stdin`: + +`tail {{[-f|--follow]}} {{path/to/logfile}} | goaccess -` + +- Analyze a log and write it to an HTML file in real-time: + +`goaccess {{path/to/logfile}} {{[-o|--output]}} {{path/to/file.html}} --real-time-html` diff --git a/pages/linux/goldeneye.py.md b/pages/linux/goldeneye.py.md new file mode 100644 index 00000000000000..ec233076e251a0 --- /dev/null +++ b/pages/linux/goldeneye.py.md @@ -0,0 +1,24 @@ +# goldeneye.py + +> A HTTP DoS test tool. +> More information: . + +- Test a specific website: + +`./goldeneye.py {{url}}` + +- Test a specific website with 100 user agents and 200 concurrent sockets: + +`./goldeneye.py {{url}} --useragents 100 --sockets 200` + +- Test a specific website without verifying the SSL certificate: + +`./goldeneye.py {{url}} --nosslcheck` + +- Test a specific website in debug mode: + +`./goldeneye.py {{url}} --debug` + +- Display help: + +`./goldeneye.py --help` diff --git a/pages/linux/goobook.md b/pages/linux/goobook.md new file mode 100644 index 00000000000000..bb5ada5503ad44 --- /dev/null +++ b/pages/linux/goobook.md @@ -0,0 +1,12 @@ +# goobook + +> Access Google contacts from `mutt` or the command-line. +> More information: . + +- Allow `goobook` to access Google contacts using OAuth2: + +`goobook authenticate` + +- Dump all contacts to XML (`stdout`): + +`goobook dump_contacts` diff --git a/pages/linux/google-chrome-stable.md b/pages/linux/google-chrome-stable.md new file mode 100644 index 00000000000000..4b31453700e504 --- /dev/null +++ b/pages/linux/google-chrome-stable.md @@ -0,0 +1,8 @@ +# google-chrome-stable + +> This command is an alias of `chromium`. +> More information: . + +- View documentation for the original command: + +`tldr chromium` diff --git a/pages/linux/google-chrome.md b/pages/linux/google-chrome.md deleted file mode 100644 index 42486f4bed653d..00000000000000 --- a/pages/linux/google-chrome.md +++ /dev/null @@ -1,12 +0,0 @@ -# google-chrome - -> The web browser from Google. -> More information: . - -- Run with a custom profile directory: - -`google-chrome --user-data-dir={{path/to/directory}}` - -- Run without CORS validation, useful to test an API: - -`google-chrome --user-data-dir={{path/to/directory}} --disable-web-security` diff --git a/pages/linux/gpasswd.md b/pages/linux/gpasswd.md index 524aac4ab12936..fe6bebc7b8a408 100644 --- a/pages/linux/gpasswd.md +++ b/pages/linux/gpasswd.md @@ -1,14 +1,15 @@ # gpasswd -> Administer "/etc/group" and "/etc/gshadow". +> Administer `/etc/group` and `/etc/gshadow`. +> More information: . - Define group administrators: -`sudo gpasswd -A {{user1,user2}} {{group}}` +`sudo gpasswd {{[-A|--administrators]}} {{user1,user2}} {{group}}` - Set the list of group members: -`sudo gpasswd -M {{user1,user2}} {{group}}` +`sudo gpasswd {{[-M|--members]}} {{user1,user2}} {{group}}` - Create a password for the named group: @@ -16,8 +17,8 @@ - Add a user to the named group: -`gpasswd -a {{user}} {{group}}` +`gpasswd {{[-a|--add]}} {{user}} {{group}}` - Remove a user from the named group: -`gpasswd -d {{user}} {{group}}` +`gpasswd {{[-d|--delete]}} {{user}} {{group}}` diff --git a/pages/linux/gpclient.md b/pages/linux/gpclient.md new file mode 100644 index 00000000000000..cc1651095d9486 --- /dev/null +++ b/pages/linux/gpclient.md @@ -0,0 +1,32 @@ +# gpclient + +> Connect to a GlobalProtect VPN on Linux via OpenConnect. +> More information: . + +- Connect to a GlobalProtect VPN using a portal server: + +`gpclient connect {{vpn_gateway_url}}` + +- Disconnect from the currently connected VPN server: + +`gpclient disconnect` + +- Launch the graphical user interface (GUI) for VPN management: + +`gpclient launch-gui` + +- Use OpenSSL workaround to bypass legacy renegotiation errors: + +`gpclient connect --fix-openssl {{vpn_gateway_url}}` + +- Ignore TLS errors during connection: + +`gpclient connect --ignore-tls-errors {{vpn_gateway_url}}` + +- Display version: + +`gpclient --version` + +- Display help for any command: + +`gpclient help {{command}}` diff --git a/pages/linux/gpu-screen-recorder.md b/pages/linux/gpu-screen-recorder.md new file mode 100644 index 00000000000000..4182c85bb03905 --- /dev/null +++ b/pages/linux/gpu-screen-recorder.md @@ -0,0 +1,32 @@ +# gpu-screen-recorder + +> Record the screen and encode the video with a GPU. +> More information: . + +- Select a source using a desktop portal and record it: + +`gpu-screen-recorder -w portal -o {{path/to/video.mp4}}` + +- Specify a specific video source: + +`gpu-screen-recorder -w {{screen|DP-1|HDMI-A1|...}} -o {{path/to/video.mp4}}` + +- List video capture sources: + +`gpu-screen-recorder --list-capture-options` + +- List audio capture sources: + +`gpu-screen-recorder {{--list-audio-devices|--list-application-audio}}` + +- Record using the replay buffer: + +`gpu-screen-recorder -w {{screen}} -r {{30}} -c {{mp4}} -ro {{path/to/directory}} -o {{whatever}}` + +- Capture a video from the replay buffer: + +`pkill -SIGUSR1 -f gpu-screen-recorder` + +- Run `gpu-screen-recorder` in the background: + +`systemctl start --user gpu-screen-recorder` diff --git a/pages/linux/grim.md b/pages/linux/grim.md new file mode 100644 index 00000000000000..7a24a40219a47c --- /dev/null +++ b/pages/linux/grim.md @@ -0,0 +1,28 @@ +# grim + +> Grab images (Screenshots) from a Wayland compositor. +> More information: . + +- Screenshot all outputs: + +`grim` + +- Screenshot a specific output: + +`grim -o {{path/to/output_file}}` + +- Screenshot a specific region: + +`grim -g "{{x_position}},{{y_position}} {{width}}x{{height}}"` + +- Select a specific region and screenshot it, (using slurp): + +`grim -g "{{$(slurp)}}"` + +- Use a custom filename: + +`grim "{{path/to/file.png}}"` + +- Screenshot and copy to clipboard: + +`grim - | {{clipboard_manager}}` diff --git a/pages/linux/groupadd.md b/pages/linux/groupadd.md index 54508ed410d8fd..1e2a92b7f16f15 100644 --- a/pages/linux/groupadd.md +++ b/pages/linux/groupadd.md @@ -1,11 +1,17 @@ # groupadd > Add user groups to the system. +> See also: `groups`, `groupdel`, `groupmod`. +> More information: . -- Create a new Linux group: +- Create a new group: -`groupadd {{group_name}}` +`sudo groupadd {{group_name}}` -- Create new group with a specific groupid: +- Create a new system group: -`groupadd {{group_name}} -g {{group_id}}` +`sudo groupadd {{[-r|--system]}} {{group_name}}` + +- Create a new group with the specific groupid: + +`sudo groupadd {{[-g|--gid]}} {{id}} {{group_name}}` diff --git a/pages/linux/groupdel.md b/pages/linux/groupdel.md index aa11909f72a2bc..d2c7b63fc97721 100644 --- a/pages/linux/groupdel.md +++ b/pages/linux/groupdel.md @@ -1,7 +1,9 @@ # groupdel > Delete existing user groups from the system. +> See also: `groups`, `groupadd`, `groupmod`. +> More information: . - Delete an existing group: -`groupdel {{group_name}}` +`sudo groupdel {{group_name}}` diff --git a/pages/linux/groupmod.md b/pages/linux/groupmod.md index 7cb85b53638b7b..02b8666bcad46a 100644 --- a/pages/linux/groupmod.md +++ b/pages/linux/groupmod.md @@ -1,11 +1,13 @@ # groupmod > Modify existing user groups in the system. +> See also: `groups`, `groupadd`, `groupdel`. +> More information: . - Change the group name: -`groupmod -n {{new_group_name}} {{old_group_name}}` +`sudo groupmod {{[-n|--new-name]}} {{new_group}} {{group_name}}` -- Change the group id: +- Change the group ID: -`groupmod -g {{new_group_id}} {{old_group_name}}` +`sudo groupmod {{[-g|--gid]}} {{new_id}} {{group_name}}` diff --git a/pages/linux/growpart.md b/pages/linux/growpart.md new file mode 100644 index 00000000000000..8c967fa4f11653 --- /dev/null +++ b/pages/linux/growpart.md @@ -0,0 +1,12 @@ +# growpart + +> Extend a partition in a disk or disk image to fill available space. +> More information: . + +- Extend partition `n` from `sdX` to fill empty space until end of disk or beginning of next partition: + +`growpart {{/dev/sdX}} {{n}}` + +- Show what modifications would be made when growing partition `n` in a disk image: + +`growpart {{[-N|--dry-run]}} /{{path/to/disk.img}} {{n}}` diff --git a/pages/linux/grub-bios-setup.md b/pages/linux/grub-bios-setup.md new file mode 100644 index 00000000000000..e387b8f544b1fe --- /dev/null +++ b/pages/linux/grub-bios-setup.md @@ -0,0 +1,17 @@ +# grub-bios-setup + +> Set up a device to use GRUB with a BIOS configuration. +> You should use `grub-install` instead of `grub-bios-setup` in most cases. +> More information: . + +- Set up a device to boot with GRUB: + +`grub-bios-setup {{/dev/sdX}}` + +- Install even if problems are detected: + +`grub-bios-setup {{[-f|--force]}} {{/dev/sdX}}` + +- Install GRUB in a specific directory: + +`grub-bios-setup {{[-d|--directory]}} {{/boot/grub}} {{/dev/sdX}}` diff --git a/pages/linux/grub-editenv.md b/pages/linux/grub-editenv.md new file mode 100644 index 00000000000000..badb7b9d025659 --- /dev/null +++ b/pages/linux/grub-editenv.md @@ -0,0 +1,16 @@ +# grub-editenv + +> Edit GRUB environment variables. +> More information: . + +- Set a default boot entry (Assuming the boot entry already exists): + +`grub-editenv /boot/grub/grubenv set default={{Ubuntu}}` + +- Display all GRUB environment variables: + +`grub-editenv /boot/grub/grubenv list` + +- Reset the `saved_entry` variable to the default: + +`grub-editenv /boot/grub/grubenv unset saved_entry` diff --git a/pages/linux/grub-file.md b/pages/linux/grub-file.md new file mode 100644 index 00000000000000..1f8ad1623b2b77 --- /dev/null +++ b/pages/linux/grub-file.md @@ -0,0 +1,28 @@ +# grub-file + +> Check if a file is of a bootable image type. +> More information: . + +- Check if a file is an ARM EFI image: + +`grub-file --is-arm-efi {{path/to/file}}` + +- Check if a file is an i386 EFI image: + +`grub-file --is-i386-efi {{path/to/file}}` + +- Check if a file is an x86_64 EFI image: + +`grub-file --is-x86_64-efi {{path/to/file}}` + +- Check if a file is an ARM image (Linux kernel): + +`grub-file --is-arm-linux {{path/to/file}}` + +- Check if a file is an x86 image (Linux kernel): + +`grub-file --is-x86-linux {{path/to/file}}` + +- Check if a file is an x86_64 XNU image (macOS kernel): + +`grub-file --is-x86_64-xnu {{path/to/file}}` diff --git a/pages/linux/grub-install.md b/pages/linux/grub-install.md new file mode 100644 index 00000000000000..8c289e96578b77 --- /dev/null +++ b/pages/linux/grub-install.md @@ -0,0 +1,28 @@ +# grub-install + +> Install GRUB to a device. +> More information: . + +- Install GRUB on a BIOS system: + +`sudo grub-install {{path/to/device}}` + +- Install GRUB on a BIOS system while specifying architecture: + +`sudo grub-install --target {{i386-pc}} {{path/to/device}}` + +- Install GRUB on an UEFI system: + +`sudo grub-install --efi-directory {{path/to/efi_directory}}` + +- Install GRUB on an UEFI system while specifying architecture and boot menu text: + +`sudo grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --bootloader-id {{GRUB}}` + +- Install GRUB pre-loading specific modules: + +`sudo grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --modules "{{part_gpt part_msdos}}"` + +- Display help: + +`grub-install {{[-?|--help]}}` diff --git a/pages/linux/grub-mkconfig.md b/pages/linux/grub-mkconfig.md new file mode 100644 index 00000000000000..366a655dec7250 --- /dev/null +++ b/pages/linux/grub-mkconfig.md @@ -0,0 +1,16 @@ +# grub-mkconfig + +> Generate a GRUB configuration file. +> More information: . + +- Do a dry run and print the configuration to `stdout`: + +`sudo grub-mkconfig` + +- Generate the configuration file: + +`sudo grub-mkconfig {{[-o|--output]}} {{/boot/grub/grub.cfg}}` + +- Display help: + +`grub-mkconfig {{[-h|--help]}}` diff --git a/pages/linux/grub-mkrescue.md b/pages/linux/grub-mkrescue.md new file mode 100644 index 00000000000000..3d84080f89d9a1 --- /dev/null +++ b/pages/linux/grub-mkrescue.md @@ -0,0 +1,36 @@ +# grub-mkrescue + +> Make a GRUB CD/USB/floppy bootable image. +> More information: . + +- Create a bootable ISO from the current directory and save it as `grub.iso`: + +`grub-mkrescue --output {{grub.iso}} .` + +- Create an ISO using GRUB files from a custom directory: + +`grub-mkrescue --directory {{/usr/lib/grub/i386-pc}} --output {{grub.iso}} {{path/to/source}}` + +- Use compression for GRUB files when building the image, setting `no` disables compression: + +`grub-mkrescue --compress {{no|xz|gz|lzo}} --output {{grub.iso}} {{path/to/source}}` + +- Disable the GRUB command-line interface in the generated image: + +`grub-mkrescue --disable-cli --output {{grub.iso}} {{path/to/source}}` + +- Preload specific GRUB modules into the image: + +`grub-mkrescue --modules "{{part_gpt iso9660}}" --output {{grub.iso}} {{path/to/source}}` + +- Pass additional options directly to `xorriso`: + +`grub-mkrescue --output {{grub.iso}} -- {{-volid}} {{volume_name}} {{path/to/source}}` + +- Display help: + +`grub-mkrescue {{[-?|--help]}}` + +- Display version: + +`grub-mkrescue --version` diff --git a/pages/linux/grub-mount.md b/pages/linux/grub-mount.md new file mode 100644 index 00000000000000..0a36beca4424bc --- /dev/null +++ b/pages/linux/grub-mount.md @@ -0,0 +1,36 @@ +# grub-mount + +> Mount a file system or file system image read-only using GRUB's file system drivers. +> More information: . + +- Mount a block device or file system image to a mount point: + +`grub-mount {{/dev/sdXY}} {{/mnt}}` + +- Mount an entire disk image's second partition, `-r` specifies the partition number in the image: + +`grub-mount {{[-r|--root]}} {{2}} {{disk.img}} {{/mnt}}` + +- Mount an encrypted device and prompt for a passphrase: + +`grub-mount {{[-C|--crypto]}} {{/dev/sdXY}} {{/mnt}}` + +- Load a ZFS encryption key from a file: + +`grub-mount {{[-K|--zfs-key]}} {{/path/to/zfs.key}} {{/dev/sdX}} {{/mnt}}` + +- Show debugging output for a matching category: + +`grub-mount {{[-d|--debug]}} {{string}} {{image}} {{/mnt}}` + +- Enable verbose output: + +`grub-mount {{[-v|--verbose]}} {{image}} {{/mnt}}` + +- Display help: + +`grub-mount {{[-?|--help]}}` + +- Display version: + +`grub-mount --version` diff --git a/pages/linux/grub-reboot.md b/pages/linux/grub-reboot.md new file mode 100644 index 00000000000000..7ff08cc71a7687 --- /dev/null +++ b/pages/linux/grub-reboot.md @@ -0,0 +1,12 @@ +# grub-reboot + +> Set the default boot entry for GRUB, for the next boot only. +> More information: . + +- Set the default boot entry to an entry number, name or identifier for the next boot: + +`sudo grub-reboot {{entry_number}}` + +- Set the default boot entry to an entry number, name or identifier for an alternative boot directory for the next boot: + +`sudo grub-reboot --boot-directory /{{path/to/boot_directory}} {{entry_number}}` diff --git a/pages/linux/grub-script-check.md b/pages/linux/grub-script-check.md new file mode 100644 index 00000000000000..653d3896eb2e01 --- /dev/null +++ b/pages/linux/grub-script-check.md @@ -0,0 +1,21 @@ +# grub-script-check + +> The program `grub-script-check` takes a GRUB script file and checks it for syntax errors. +> It may take a path as a non-option argument. If none is supplied, it will read from `stdin`. +> More information: . + +- Check a specific script file for syntax errors: + +`grub-script-check {{path/to/grub_config_file}}` + +- Display each line of input after reading it: + +`grub-script-check {{[-v|--verbose]}}` + +- Display help: + +`grub-script-check --help` + +- Display version: + +`grub-script-check --version` diff --git a/pages/linux/grub-set-default.md b/pages/linux/grub-set-default.md new file mode 100644 index 00000000000000..136e5de4f195ff --- /dev/null +++ b/pages/linux/grub-set-default.md @@ -0,0 +1,12 @@ +# grub-set-default + +> Set the default boot entry for GRUB. +> More information: . + +- Set the default boot entry to an entry number, name or identifier: + +`sudo grub-set-default {{entry_number}}` + +- Set the default boot entry to an entry number, name or identifier for an alternative boot directory: + +`sudo grub-set-default --boot-directory /{{path/to/boot_directory}} {{entry_number}}` diff --git a/pages/linux/grub2-mkpasswd-pbkdf2.md b/pages/linux/grub2-mkpasswd-pbkdf2.md new file mode 100644 index 00000000000000..a46ba0e8272ba6 --- /dev/null +++ b/pages/linux/grub2-mkpasswd-pbkdf2.md @@ -0,0 +1,8 @@ +# grub2-mkpasswd-pbkdf2 + +> Generate a hashed password for GRUB. +> More information: . + +- Create a password hash for GRUB 2 using PBKDF2 and print it to `stdout`: + +`sudo grub2-mkpasswd-pbkdf2 {{[-c|--iteration-count]}} {{number_of_pbkdf2_iterations}} {{[-s|--salt]}} {{salt_length}}` diff --git a/pages/linux/grubby.md b/pages/linux/grubby.md new file mode 100644 index 00000000000000..6959e64cc43fd7 --- /dev/null +++ b/pages/linux/grubby.md @@ -0,0 +1,16 @@ +# grubby + +> Tool for configuring `grub` and `zipl` bootloaders. +> More information: . + +- Add kernel boot arguments to all kernel menu entries: + +`sudo grubby --update-kernel=ALL --args '{{quiet console=ttyS0}}'` + +- Remove existing arguments from the entry for the default kernel: + +`sudo grubby --update-kernel=DEFAULT --remove-args {{quiet}}` + +- List all kernel menu entries: + +`sudo grubby --info=ALL` diff --git a/pages/linux/gs.md b/pages/linux/gs.md index ed5d9de94174a9..23cf3e51696164 100644 --- a/pages/linux/gs.md +++ b/pages/linux/gs.md @@ -1,12 +1,13 @@ # gs -> GhostScript is a PDF and PostScript interpreter. +> GhostScript, a PDF and PostScript interpreter. +> More information: . - To view a file: `gs -dQUIET -dBATCH {{file.pdf}}` -- Reduce PDF file size to 150 dpi images for reading on a ebook device: +- Reduce PDF file size to 150 dpi images for reading on a e-book device: `gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile={{output.pdf}} {{input.pdf}}` diff --git a/pages/linux/gsettings.md b/pages/linux/gsettings.md new file mode 100644 index 00000000000000..222fcc1ff2270c --- /dev/null +++ b/pages/linux/gsettings.md @@ -0,0 +1,32 @@ +# gsettings + +> Query and modify dconf settings with schema validation. +> More information: . + +- Set the value of a key. Fails if the key doesn't exist or the value is out of range: + +`gsettings set {{org.example.schema}} {{example-key}} {{value}}` + +- Print the value of a key or the schema-provided default if the key has not been set in `dconf`: + +`gsettings get {{org.example.schema}} {{example-key}}` + +- Unset a key, so that its schema default value will be used: + +`gsettings reset {{org.example.schema}} {{example-key}}` + +- Display all (non-relocatable) schemas, keys, and values: + +`gsettings list-recursively` + +- Display all keys and values (default if not set) from one schema: + +`gsettings list-recursively {{org.example.schema}}` + +- Display schema-allowed values for a key (helpful with enum keys): + +`gsettings range {{org.example.schema}} {{example-key}}` + +- Display the human-readable description of a key: + +`gsettings describe {{org.example.schema}} {{example-key}}` diff --git a/pages/linux/gtk-launch.md b/pages/linux/gtk-launch.md new file mode 100644 index 00000000000000..4f96dfa9120547 --- /dev/null +++ b/pages/linux/gtk-launch.md @@ -0,0 +1,12 @@ +# gtk-launch + +> Launch applications from `.desktop` files that reside in standard locations. +> More information: . + +- Launch an application: + +`gtk-launch {{Application_name}}` + +- Display help: + +`gtk-launch {{[-h|--help]}}` diff --git a/pages/linux/guake.md b/pages/linux/guake.md index 3fa98e48b88ddb..a66aa6585fbfbf 100644 --- a/pages/linux/guake.md +++ b/pages/linux/guake.md @@ -1,27 +1,28 @@ # guake > A drop-down terminal for GNOME. +> More information: . - Toggle Guake visibility: -`F12` +`` - Toggle fullscreen mode: -`F11` +`` - Open a new tab: -`Ctrl+Shift+T` +`` - Close the terminal: -`Super+X` +`` - Go to the previous tab: -`Ctrl+PageUp` +`` - Search the selected text in the browser: -`Shift+Ctrl+L` +`` diff --git a/pages/linux/guix-package.md b/pages/linux/guix-package.md index a3b054480e647d..65e6a13a5e2931 100644 --- a/pages/linux/guix-package.md +++ b/pages/linux/guix-package.md @@ -1,26 +1,27 @@ # guix package > Install, upgrade and remove Guix packages, or rollback to previous configurations. +> More information: . - Install a new package: -`guix package -i {{package_name}}` +`guix package {{[-i|--install]}} {{package}}` - Remove a package: -`guix package -r {{package_name}}` +`guix package {{[-r|--remove]}} {{package}}` -- Search the package database for a regular expression: +- Search the package database for a `regex`: -`guix package -s "{{search_pattern}}"` +`guix package {{[-s|--search]}} "{{search_pattern}}"` - List installed packages: -`guix package -I` +`guix package {{[-I|--list-installed]}}` - List generations: -`guix package -l` +`guix package {{[-l|--list-generations]}}` - Roll back to the previous generation: diff --git a/pages/linux/gummy.md b/pages/linux/gummy.md new file mode 100644 index 00000000000000..56388fd169a92f --- /dev/null +++ b/pages/linux/gummy.md @@ -0,0 +1,28 @@ +# gummy + +> Screen brightness/temperature manager for Linux/X11. +> More information: . + +- Set the screen temperature to 3000K: + +`gummy {{[-t|--temperature]}} {{3000}}` + +- Set the screen backlight to 50%: + +`gummy --backlight {{50}}` + +- Set the screen pixel brightness to 45%: + +`gummy {{[-b|--brightness]}} {{45}}` + +- Increase current screen pixel brightness by 10%: + +`gummy {{[-b|--brightness]}} {{+10}}` + +- Decrease current screen pixel brightness by 10%: + +`gummy {{[-b|--brightness]}} {{-10}}` + +- Set the temperature and pixel brightness for the second screen: + +`gummy {{[-s|--screen]}} {{1}} {{[-t|--temperature]}} {{3800}} {{[-b|--brightness]}} {{65}}` diff --git a/pages/linux/gzexe.md b/pages/linux/gzexe.md new file mode 100644 index 00000000000000..3e22aa295540cb --- /dev/null +++ b/pages/linux/gzexe.md @@ -0,0 +1,13 @@ +# gzexe + +> Compress executable files while keeping them executable. +> Back up the original file, appending `~` to its name and create a shell script that uncompresses and executes the binary inside it. +> More information: . + +- Compress an executable file in-place: + +`gzexe {{path/to/executable}}` + +- [d]ecompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary): + +`gzexe -d {{path/to/compressed_executable}}` diff --git a/pages/linux/halt.md b/pages/linux/halt.md index 31c2b24d7ea122..32fda666fdf54f 100644 --- a/pages/linux/halt.md +++ b/pages/linux/halt.md @@ -1,16 +1,24 @@ # halt -> Halt, power-off or reboot the machine. -> More information: . +> Halt the system. +> More information: . -- Halt the machine: +- Halt the system: `halt` -- Power the machine off: +- Power off the system (same as `poweroff`): -`halt --poweroff` +`halt {{[-p|--poweroff]}}` -- Reboot the machine: +- Reboot the system (same as `reboot`): `halt --reboot` + +- Halt immediately without contacting the system manager: + +`halt {{[-f|--force]}}` + +- Write the wtmp shutdown entry without halting the system: + +`halt {{[-w|--wtmp-only]}}` diff --git a/pages/linux/handlr.md b/pages/linux/handlr.md new file mode 100644 index 00000000000000..510997c0c097f7 --- /dev/null +++ b/pages/linux/handlr.md @@ -0,0 +1,28 @@ +# handlr + +> Manage your default applications. +> More information: . + +- Open a URL in the default application: + +`handlr open {{https://example.com}}` + +- Open a PDF in the default PDF viewer: + +`handlr open {{path/to/file.pdf}}` + +- Set `imv` as the default application for PNG files: + +`handlr set {{.png}} {{imv.desktop}}` + +- Set MPV as the default application for all audio files: + +`handlr set {{'audio/*'}} {{mpv.desktop}}` + +- List all default apps: + +`handlr list` + +- Print the default application for PNG files: + +`handlr get {{.png}}` diff --git a/pages/linux/hardinfo.md b/pages/linux/hardinfo.md index 57deb9973a575a..71ff797f4b8d8e 100644 --- a/pages/linux/hardinfo.md +++ b/pages/linux/hardinfo.md @@ -1,15 +1,16 @@ # hardinfo > Show hardware information in GUI window. +> More information: . -- Start hardinfo: +- Start `hardinfo`: `hardinfo` -- Print report to standard output: +- Print report to `stdout`: -`hardinfo -r` +`hardinfo {{[-r|--generate-report]}}` - Save report to HTML file: -`hardinfo -r -f html > hardinfo.html` +`hardinfo {{[-r|--generate-report]}} {{[-f|--report-format]}} html > hardinfo.html` diff --git a/pages/linux/haveged.md b/pages/linux/haveged.md new file mode 100644 index 00000000000000..ec75338d15f531 --- /dev/null +++ b/pages/linux/haveged.md @@ -0,0 +1,36 @@ +# haveged + +> Hardware-based random number generator. +> More information: . + +- Generate a random number: + +`sudo haveged` + +- Run `haveged` in foreground: + +`sudo haveged {{[-F|--Foreground]}}` + +- Set file path for output of `haveged`: + +`sudo haveged {{[-f|--file]}} {{path/to/file}}` + +- Set run level for daemon: + +`sudo haveged {{[-r|--run]}} {{runlevel}}` + +- Set collection buffer size in kibibyte words: + +`sudo haveged {{[-b|--buffer]}} {{buffersizeinKW}}` + +- Insert a command to an already running `haveged` process or daemon: + +`sudo haveged {{[-c|--command]}} {{command}}` + +- Set cache size in kibibyte words: + +`sudo haveged {{[-d|--data]}} {{cachesizeinKW}}` + +- Set number of bytes to write to the output file: + +`sudo haveged {{[-n|--number]}} {{byteamount}}` diff --git a/pages/linux/hcitool.md b/pages/linux/hcitool.md new file mode 100644 index 00000000000000..eaa9c9b3e0b2d9 --- /dev/null +++ b/pages/linux/hcitool.md @@ -0,0 +1,36 @@ +# hcitool + +> Monitor, configure connections, and send special commands to Bluetooth devices. +> More information: . + +- Scan for Bluetooth devices: + +`hcitool scan` + +- Output the name of a device, returning its MAC address: + +`hcitool name {{bdaddr}}` + +- Fetch information about a remote Bluetooth device: + +`hcitool info {{bdaddr}}` + +- Check the link quality to a Bluetooth device: + +`hcitool lq {{bdaddr}}` + +- Modify the transmit power level: + +`hcitool tpl {{bdaddr}} {{0|1}}` + +- Display the link policy: + +`hcitool lp` + +- Request authentication with a specific device: + +`hcitool auth {{bdaddr}}` + +- Display local devices: + +`hcitool dev` diff --git a/pages/linux/hd-idle.md b/pages/linux/hd-idle.md new file mode 100644 index 00000000000000..1baa1722dace03 --- /dev/null +++ b/pages/linux/hd-idle.md @@ -0,0 +1,16 @@ +# hd-idle + +> Spin down external disks after a period of idle time. +> More information: . + +- Start a service to manage hard drive spin down. By default hard disks will spin down after 10 minutes of inactivity: + +`systemctl start hd-idle` + +- Spin down a disk immediately: + +`hd-idle -t {{/dev/sdX}}` + +- Set disks to never spin down, then set explicit idle times (in seconds) for disks which have "sda" or "sdb" in their device name: + +`hd-idle -i 0 -a /dev/sda -i {{300}} -a /dev/sdb -i {{1200}}` diff --git a/pages/linux/hddtemp.md b/pages/linux/hddtemp.md new file mode 100644 index 00000000000000..5aca7a2240331f --- /dev/null +++ b/pages/linux/hddtemp.md @@ -0,0 +1,36 @@ +# hddtemp + +> Display temperature of HDD via S.M.A.R.T. +> More information: . + +- Display temperature of a specific drive: + +`hddtemp {{type}}:{{/dev/sdX}}` + +- Display temperature of a SATA drive assigned to `sda`: + +`hddtemp SATA:/dev/sda` + +- Log temperatures to syslog every `n` seconds: + +`hddtemp {{[-S|--syslog]}} {{nseconds}} {{type}}:{{/dev/sdX}}` + +- Print only numeric value of temperature without unit: + +`hddtemp {{[-n|--numeric]}} {{type}}:{{/dev/sdX}}` + +- Define the unit used to denote temperature: + +`hddtemp {{[-u|--unit]}} {{C|F}} {{type}}:{{/dev/sdX}}` + +- Wake ATA drive before attempting to read temperature: + +`hddtemp {{[-w|--wake-up]}} {{type}}:{{/dev/sdX}}` + +- Enter debug mode to show S.M.A.R.T. fields and their values: + +`hddtemp {{[-D|--debug]}} {{type}}:{{/dev/sdX}}` + +- Suppress compatibility check for drive types: + +`hddtemp {{[-q|--quiet]}} {{type}}:{{/dev/sdX}}` diff --git a/pages/linux/hdparm.md b/pages/linux/hdparm.md index 964b3641caae70..89da8d65004ec3 100644 --- a/pages/linux/hdparm.md +++ b/pages/linux/hdparm.md @@ -1,27 +1,32 @@ # hdparm > Get and set SATA and IDE hard drive parameters. +> More information: . - Request the identification info of a given device: -`sudo hdparm -I /dev/{{device}}` +`sudo hdparm -I {{/dev/device}}` - Get the Advanced Power Management level: -`sudo hdparm -B /dev/{{device}}` +`sudo hdparm -B {{/dev/device}}` - Set the Advanced Power Management value (values 1-127 permit spin-down, and values 128-254 do not): -`sudo hdparm -B {{1}} /dev/{{device}}` +`sudo hdparm -B {{1}} {{/dev/device}}` - Display the device's current power mode status: -`sudo hdparm -C /dev/{{device}}` +`sudo hdparm -C {{/dev/device}}` - Force a drive to immediately enter standby mode (usually causes a drive to spin down): -`sudo hdparm -y /dev/{{device}}` +`sudo hdparm -y {{/dev/device}}` - Put the drive into idle (low-power) mode, also setting its standby timeout: `sudo hdparm -S {{standby_timeout}} {{device}}` + +- Test the read speed of a specific device: + +`sudo hdparm -tT {{device}}` diff --git a/pages/linux/head.md b/pages/linux/head.md new file mode 100644 index 00000000000000..8423ff0edfa8c1 --- /dev/null +++ b/pages/linux/head.md @@ -0,0 +1,20 @@ +# head + +> Output the first part of files. +> More information: . + +- Output the first few lines of a file: + +`head {{[-n|--lines]}} {{count}} {{path/to/file}}` + +- Output the first few bytes of a file: + +`head {{[-c|--bytes]}} {{count}} {{path/to/file}}` + +- Output everything but the last few lines of a file: + +`head {{[-n|--lines]}} -{{count}} {{path/to/file}}` + +- Output everything but the last few bytes of a file: + +`head {{[-c|--bytes]}} -{{count}} {{path/to/file}}` diff --git a/pages/linux/hello.md b/pages/linux/hello.md deleted file mode 100644 index dea693cea70a86..00000000000000 --- a/pages/linux/hello.md +++ /dev/null @@ -1,16 +0,0 @@ -# hello - -> Print "Hello, world!", "hello, world" or a customizable text. -> More information: . - -- Print "Hello, world!": - -`hello` - -- Print "hello, world", the traditional type: - -`hello --traditional` - -- Print a text message: - -`hello --greeting="{{greeting_text}}"` diff --git a/pages/linux/hexdump.md b/pages/linux/hexdump.md index b0463261cfcb6e..75aedb56d834ef 100644 --- a/pages/linux/hexdump.md +++ b/pages/linux/hexdump.md @@ -1,15 +1,21 @@ # hexdump > An ASCII, decimal, hexadecimal, octal dump. +> See also: `hexyl`, `od`, `xxd`. +> More information: . -- Print the hexadecimal representation of a file: +- Print the hexadecimal representation of a file, replacing duplicate lines by '*': -`hexdump {{file}}` +`hexdump {{path/to/file}}` - Display the input offset in hexadecimal and its ASCII representation in two columns: -`hexdump -C {{file}}` +`hexdump {{[-C|--canonical]}} {{path/to/file}}` - Display the hexadecimal representation of a file, but interpret only n bytes of the input: -`hexdump -C -n{{number_of_bytes}} {{file}}` +`hexdump {{[-C|--canonical]}} {{[-n|--length]}} {{number_of_bytes}} {{path/to/file}}` + +- Don't replace duplicate lines with '*': + +`hexdump {{[-v|--no-squeezing]}} {{path/to/file}}` diff --git a/pages/linux/hlint.md b/pages/linux/hlint.md index 8ad39ef4400b05..68a38e5a18b30f 100644 --- a/pages/linux/hlint.md +++ b/pages/linux/hlint.md @@ -1,7 +1,7 @@ # hlint -> Tool for suggesting improvements to Haskell code. -> More information: . +> Suggest improvements to Haskell code. +> More information: . - Display suggestions for a given file: @@ -9,7 +9,7 @@ - Check all Haskell files and generate a report: -`hlint {{path/to/directory}} --report` +`hlint {{path/to/directory}} {{[-r|--report]}}` - Automatically apply most suggestions: diff --git a/pages/linux/hollywood.md b/pages/linux/hollywood.md new file mode 100644 index 00000000000000..653d23b05b6b24 --- /dev/null +++ b/pages/linux/hollywood.md @@ -0,0 +1,16 @@ +# hollywood + +> Fill your console with Hollywood melodrama technobabble. +> More information: . + +- Fill the console: + +`hollywood` + +- Exit `hollywood`: + +`` + +- Display help: + +`hollywood {{[-h|--help]}}` diff --git a/pages/linux/homectl.md b/pages/linux/homectl.md new file mode 100644 index 00000000000000..3c5d940bc01fb9 --- /dev/null +++ b/pages/linux/homectl.md @@ -0,0 +1,36 @@ +# homectl + +> Create, remove, change or inspect home directories using the systemd-homed service. +> More information: . + +- List user accounts and their associated home directories: + +`homectl list` + +- Create a user account and their associated home directory: + +`sudo homectl create {{username}}` + +- Remove a specific user and the associated home directory: + +`sudo homectl remove {{username}}` + +- Change the password for a specific user: + +`sudo homectl passwd {{username}}` + +- Run a shell or a command with access to a specific home directory: + +`sudo homectl with {{username}} -- {{command}} {{command_arguments}}` + +- Lock or unlock a specific home directory: + +`sudo homectl {{lock|unlock}} {{username}}` + +- Change the disk space assigned to a specific home directory to 100 GiB: + +`sudo homectl resize {{username}} {{100G}}` + +- Display help: + +`homectl {{[-h|--help]}}` diff --git a/pages/linux/homeshick.md b/pages/linux/homeshick.md index cece7f486baa8b..ed38436b9c1cc5 100644 --- a/pages/linux/homeshick.md +++ b/pages/linux/homeshick.md @@ -1,6 +1,7 @@ # homeshick > Synchronize Git dotfiles. +> See also: `chezmoi`, `stow`, `tuckr`, `vcsh`. > More information: . - Create a new castle: diff --git a/pages/linux/hostname.md b/pages/linux/hostname.md deleted file mode 100644 index b336937a20078a..00000000000000 --- a/pages/linux/hostname.md +++ /dev/null @@ -1,23 +0,0 @@ -# hostname - -> Show or set the system's host name. - -- Show current host name: - -`hostname` - -- Show the network address of the host name: - -`hostname -i` - -- Show all network addresses of the host: - -`hostname -I` - -- Show the FQDN (Fully Qualified Domain Name): - -`hostname --fqdn` - -- Set current host name: - -`hostname {{new_hostname}}` diff --git a/pages/linux/hostnamectl.md b/pages/linux/hostnamectl.md index de77a762eaf3c3..2eacee0559d0a7 100644 --- a/pages/linux/hostnamectl.md +++ b/pages/linux/hostnamectl.md @@ -1,6 +1,7 @@ # hostnamectl > Get or set the hostname of the computer. +> More information: . - Get the hostname of the computer: @@ -8,4 +9,12 @@ - Set the hostname of the computer: -`sudo hostnamectl set-hostname "{{some_hostname}}"` +`sudo hostnamectl set-hostname "{{hostname}}"` + +- Set a pretty hostname for the computer: + +`sudo hostnamectl set-hostname --static "{{hostname.example.com}}" && sudo hostnamectl set-hostname --pretty "{{hostname}}"` + +- Reset hostname to its default value: + +`sudo hostnamectl set-hostname --pretty ""` diff --git a/pages/linux/htpdate.md b/pages/linux/htpdate.md index 8dff6569112c7b..2e759bac82e807 100644 --- a/pages/linux/htpdate.md +++ b/pages/linux/htpdate.md @@ -1,7 +1,7 @@ # htpdate > Synchronize local date and time via HTTP headers from web servers. -> More information: . +> More information: . - Synchronize date and time: @@ -11,7 +11,7 @@ `htpdate -q {{host}}` -- Compensate the systematisch clock drift: +- Compensate the systematic clock drift: `sudo htpdate -x {{host}}` diff --git a/pages/linux/http-prompt.md b/pages/linux/http-prompt.md index d08a1b0d004bc2..976a7b55804ad5 100644 --- a/pages/linux/http-prompt.md +++ b/pages/linux/http-prompt.md @@ -1,12 +1,13 @@ # http-prompt -> An interactive command-line HTTP client featuring autocomplete and syntax highlighting. +> An interactive HTTP client featuring autocomplete and syntax highlighting. +> More information: . -- Launch a session targeting the default url of http://localhost:8000 or the previous session: +- Launch a session targeting the default URL of or the previous session: `http-prompt` -- Launch a session with a given url: +- Launch a session with a given URL: `http-prompt {{http://example.com}}` diff --git a/pages/linux/http_load.md b/pages/linux/http_load.md index 6f39bd7fa1d6f5..2dd818e1a963b6 100644 --- a/pages/linux/http_load.md +++ b/pages/linux/http_load.md @@ -1,8 +1,8 @@ # http_load -> A HTTP benchmarking tool. +> An HTTP benchmarking tool. > Runs multiple HTTP fetches in parallel to test the throughput of a web server. -> More information: . +> More information: . - Emulate 20 requests based on a given URL list file per second for 60 seconds: diff --git a/pages/linux/httpie.md b/pages/linux/httpie.md deleted file mode 100644 index e5791c8cd71f1b..00000000000000 --- a/pages/linux/httpie.md +++ /dev/null @@ -1,31 +0,0 @@ -# httpie - -> A user friendly command line HTTP tool. - -- Send a GET request (default method with no request data): - -`http {{https://example.com}}` - -- Send a POST request (default method with request data): - -`http {{https://example.com}} {{hello=World}}` - -- Send a POST request with redirected input: - -`http {{https://example.com}} < {{file.json}}` - -- Send a PUT request with a given json body: - -`http PUT {{https://example.com/todos/7}} {{hello=world}}` - -- Send a DELETE request with a given request header: - -`http DELETE {{https://example.com/todos/7}} {{API-Key:foo}}` - -- Show the whole HTTP exchange (both request and response): - -`http -v {{https://example.com}}` - -- Download a file: - -`http --download {{https://example.com}}` diff --git a/pages/linux/hwclock.md b/pages/linux/hwclock.md index 4bfec0ad80e3c3..4bed680cbd1fb9 100644 --- a/pages/linux/hwclock.md +++ b/pages/linux/hwclock.md @@ -1,6 +1,7 @@ # hwclock -> Used for reading or changing the hardware clock. Usually requires root. +> Read or change the hardware clock. Usually requires root. +> More information: . - Display the current time as reported by the hardware clock: @@ -8,8 +9,8 @@ - Write the current software clock time to the hardware clock (sometimes used during system setup): -`hwclock --systohc` +`hwclock {{[-w|--systohc]}}` - Write the current hardware clock time to the software clock: -`hwclock --hctosys` +`hwclock {{[-s|--hctosys]}}` diff --git a/pages/linux/hwinfo.md b/pages/linux/hwinfo.md new file mode 100644 index 00000000000000..50e5e73f3c5beb --- /dev/null +++ b/pages/linux/hwinfo.md @@ -0,0 +1,24 @@ +# hwinfo + +> Probe for the hardware present in the system. +> More information: . + +- Display all available hardware information: + +`hwinfo` + +- Display information about a specific hardware component: + +`hwinfo --{{cpu|memory|disk|gfxcard|network|usb|pci|keyboard|mouse|monitor|sound|fingerprint|...}}` + +- Display information about a specific hardware component succinctly: + +`hwinfo {{--component}} --short` + +- Write all hardware information to a file: + +`hwinfo --all --log {{path/to/file}}` + +- Display help: + +`hwinfo --help` diff --git a/pages/linux/hyprctl.md b/pages/linux/hyprctl.md new file mode 100644 index 00000000000000..3e3b5589078efa --- /dev/null +++ b/pages/linux/hyprctl.md @@ -0,0 +1,32 @@ +# hyprctl + +> Control parts of the Hyprland Wayland compositor. +> More information: . + +- Reload Hyprland configuration: + +`hyprctl reload` + +- Return the active window name: + +`hyprctl activewindow` + +- List all connected input devices: + +`hyprctl devices` + +- List all outputs with respective properties: + +`hyprctl workspaces` + +- Call a dispatcher: + +`hyprctl dispatch {{dispatcher}}` + +- Set a configuration keyword dynamically: + +`hyprctl keyword {{keyword}} {{value}}` + +- Display version: + +`hyprctl version` diff --git a/pages/linux/hyprpm.md b/pages/linux/hyprpm.md new file mode 100644 index 00000000000000..360542f3474db4 --- /dev/null +++ b/pages/linux/hyprpm.md @@ -0,0 +1,32 @@ +# hyprpm + +> Control plugins for the Hyprland Wayland compositor. +> More information: . + +- Add a plugin: + +`hyprpm add {{git_url}}` + +- Remove a plugin: + +`hyprpm remove {{git_url|plugin_name}}` + +- Enable a plugin: + +`hyprpm enable {{plugin_name}}` + +- Disable a plugin: + +`hyprpm disable {{plugin_name}}` + +- Update and check all plugins: + +`hyprpm update` + +- Force an operation: + +`hyprpm {{[-f|--force]}} {{operation}}` + +- List all installed plugins: + +`hyprpm list` diff --git a/pages/linux/hyprshot.md b/pages/linux/hyprshot.md new file mode 100644 index 00000000000000..cbd4c71bc8e5a0 --- /dev/null +++ b/pages/linux/hyprshot.md @@ -0,0 +1,32 @@ +# hyprshot + +> Screenshot utility for the Hyprland Wayland compositor. +> More information: . + +- Select and take a screenshot of a region: + +`hyprshot {{[-m|--mode]}} region` + +- Select and take a screenshot of a specific window: + +`hyprshot {{[-m|--mode]}} window` + +- Select and take a screenshot of a specific output: + +`hyprshot {{[-m|--mode]}} output` + +- Take a screenshot of the currently active window: + +`hyprshot {{[-m|--mode]}} active {{[-m|--mode]}} window` + +- Freeze the screen and take a screenshot of the selected region: + +`hyprshot {{[-z|--freeze]}} {{[-m|--mode]}} region` + +- Select and take a screenshot of a specific window, saving to the given output directory: + +`hyprshot {{[-o|--output-folder]}} {{path/to/directory}} {{[-m|--mode]}} window` + +- Select and take a screenshot of a specific output, saving the screenshot to the clipboard only: + +`hyprshot --clipboard {{[-m|--mode]}} output` diff --git a/pages/linux/i2cdetect.md b/pages/linux/i2cdetect.md new file mode 100644 index 00000000000000..7cc9e039f5da2d --- /dev/null +++ b/pages/linux/i2cdetect.md @@ -0,0 +1,17 @@ +# i2cdetect + +> Scan I2C buses. +> See also: `i2cdump`, `i2cget`, `i2cset`. +> More information: . + +- List active I2C buses: + +`i2cdetect -l` + +- Scan devices on an I2C bus: + +`i2cdetect {{i2c_bus}}` + +- Scan devices on an I2C bus without asking for confirmation: + +`i2cdetect -y {{i2c_bus}}` diff --git a/pages/linux/i2cdump.md b/pages/linux/i2cdump.md new file mode 100644 index 00000000000000..58b404b01e5796 --- /dev/null +++ b/pages/linux/i2cdump.md @@ -0,0 +1,22 @@ +# i2cdump + +> Dump I2C device registers. +> See also: `i2cdetect`, `i2cget`, `i2cset`. +> Note: All addresses should be specified in hexadecimal. +> More information: . + +- Dump all registers of an I2C device: + +`i2cdump {{i2cbus}} {{device_address}}` + +- Dump all registers of an I2C device without asking for confirmation: + +`i2cdump -y {{i2cbus}} {{device_address}}` + +- Dump all registers of an I2C device using a specific mode: + +`i2cdump {{i2cbus}} {{device_address}} {{b|w|c|s|i}}` + +- Dump registers from `start` to `end` of an I2C device: + +`i2cdump -r {{start}}-{{end}} {{i2cbus}} {{device_address}}` diff --git a/pages/linux/i2cget.md b/pages/linux/i2cget.md new file mode 100644 index 00000000000000..6ab253e04aad2e --- /dev/null +++ b/pages/linux/i2cget.md @@ -0,0 +1,18 @@ +# i2cget + +> Read from an register of an I2C device. +> See also: `i2cdetect`, `i2cdump`, `i2cset`. +> Note: All addresses should be specified in hexadecimal. +> More information: . + +- Read from a register of an I2C device: + +`i2cget {{i2cbus}} {{device_address}} {{register_address}}` + +- Read from a register of an I2C device without asking for confirmation: + +`i2cget -y {{i2cbus}} {{device_address}} {{register_address}}` + +- Read from a register of an I2C device using a specific mode: + +`i2cget {{i2cbus}} {{device_address}} {{register_address}} {{b|w|c|s|i}}` diff --git a/pages/linux/i2cset.md b/pages/linux/i2cset.md new file mode 100644 index 00000000000000..d37295924d959f --- /dev/null +++ b/pages/linux/i2cset.md @@ -0,0 +1,18 @@ +# i2cset + +> Set the value of a register of an I2C device. +> See also: `i2cdetect`, `i2cdump`, `i2cget`. +> Note: All addresses should be specified in hexadecimal. +> More information: . + +- Write to a register of an I2C device: + +`i2cset {{i2cbus}} {{device_address}} {{register_address}} {{value}}` + +- Write to a register of an I2C device without asking for confirmation: + +`i2cset -y {{i2cbus}} {{device_address}} {{register_address}} {{value}}` + +- Write to a register of an I2C device using a specific mode: + +`i2cset {{i2cbus}} {{device_address}} {{register_address}} {{value}} {{b|w|c|s|i}}` diff --git a/pages/linux/i3-scrot.md b/pages/linux/i3-scrot.md new file mode 100644 index 00000000000000..1b4226a7026e4a --- /dev/null +++ b/pages/linux/i3-scrot.md @@ -0,0 +1,33 @@ +# i3-scrot + +> Wrapper script around the screenshot utility `scrot` for the i3 window manager. +> The default save location is `~/Pictures` and can be changed in `~/.config/i3-scrot.conf`. +> More information: . + +- Capture a screenshot of the whole screen and save it to the default directory: + +`i3-scrot` + +- Capture a screenshot of the active window: + +`i3-scrot --window` + +- Capture a screenshot of a specific rectangular selection: + +`i3-scrot --select` + +- Capture a screenshot of the whole screen and copy it to the clipboard: + +`i3-scrot --desk-to-clipboard` + +- Capture a screenshot of the active window and copy it to the clipboard: + +`i3-scrot --window-to-clipboard` + +- Capture a screenshot of a specific selection and copy it to the clipboard: + +`i3-scrot --select-to-clipboard` + +- Capture a screenshot of the active window after a delay of 5 seconds: + +`i3-scrot --window {{5}}` diff --git a/pages/linux/i3.md b/pages/linux/i3.md deleted file mode 100644 index abe0e6cb32b702..00000000000000 --- a/pages/linux/i3.md +++ /dev/null @@ -1,32 +0,0 @@ -# i3 - -> A dynamic tiling window manager. -> More information: . - -- Start i3 (Note that a pre-existing window manager must not be open when this command is run.): - -`i3` - -- Open a new terminal window: - -`Super + Return` - -- Create a new workspace: - -`Super + Shift + {{number}}` - -- Switch to workspace {{number}}: - -`Super + {{number}}` - -- Open new window horizontally: - -`Super + h` - -- Open new window vertically: - -`Super + v` - -- Open application (type out application name after executing command): - -`Super + D` diff --git a/pages/linux/i386.md b/pages/linux/i386.md new file mode 100644 index 00000000000000..1fe6472dc206c0 --- /dev/null +++ b/pages/linux/i386.md @@ -0,0 +1,7 @@ +# i386 + +> This command is an alias of `setarch i386`. + +- View documentation for the original command: + +`tldr setarch` diff --git a/pages/linux/i3exit.md b/pages/linux/i3exit.md new file mode 100644 index 00000000000000..a863d0540105d0 --- /dev/null +++ b/pages/linux/i3exit.md @@ -0,0 +1,32 @@ +# i3exit + +> Exit the i3 window manager. +> More information: . + +- Log out of i3: + +`i3exit logout` + +- Lock i3: + +`i3exit lock` + +- Shut down the system: + +`i3exit shutdown` + +- Suspend the system: + +`i3exit suspend` + +- Switch to the login screen to log in as a different user: + +`i3exit switch_user` + +- Hibernate the system: + +`i3exit hibernate` + +- Reboot the system: + +`i3exit reboot` diff --git a/pages/linux/i3lock.md b/pages/linux/i3lock.md deleted file mode 100644 index f17d952fb454c1..00000000000000 --- a/pages/linux/i3lock.md +++ /dev/null @@ -1,24 +0,0 @@ -# i3lock - -> Simple screen locker built for the i3 window manager. -> More information: . - -- Lock screen with a simple color background (rrggbb format): - -`i3lock -c {{0000ff}}` - -- Lock screen to a PNG background: - -`i3lock -i {{path/to/picture.png}}` - -- Disable the unlock indicator (removes feedback on keypress): - -`i3lock -u` - -- Display mouse pointer instead of hiding it ('default' for default pointer, 'win' for a MS Windows pointer): - -`i3lock -p {{default|win}}` - -- Lock screen to a PNG background displayed in multiple monitors, with enabled mouse pointer: - -`i3lock -i {{path/to/picture.png}} -p {{default|win}} -t` diff --git a/pages/linux/i3status.md b/pages/linux/i3status.md new file mode 100644 index 00000000000000..f321a46c6cf385 --- /dev/null +++ b/pages/linux/i3status.md @@ -0,0 +1,17 @@ +# i3status + +> Status line for the i3 window manager. +> This command is usually called from the i3 configuration file. +> More information: . + +- Print the status line to `stdout` periodically, using the default configuration: + +`i3status` + +- Print the status line to `stdout` periodically, using a specific configuration: + +`i3status -c {{path/to/i3status.conf}}` + +- Display help and version: + +`i3status -h` diff --git a/pages/linux/i7z.md b/pages/linux/i7z.md index f7ce938f407082..5a65b1ee3c349f 100644 --- a/pages/linux/i7z.md +++ b/pages/linux/i7z.md @@ -1,7 +1,8 @@ # i7z > An Intel CPU (only i3, i5 and i7) realtime reporting tool. +> More information: . -- Start i7z (needs to be run in super user mode): +- Start i7z (needs to be run in superuser mode): `sudo i7z` diff --git a/pages/linux/ico.md b/pages/linux/ico.md new file mode 100644 index 00000000000000..8bcc0cfff74daa --- /dev/null +++ b/pages/linux/ico.md @@ -0,0 +1,20 @@ +# ico + +> Display an animation of a polyhedron. +> More information: . + +- Display the wireframe of an icosahedron that changes its position every 0.1 seconds: + +`ico -sleep {{0.1}}` + +- Display a solid icosahedron with red faces on a blue background: + +`ico -faces -noedges -colors {{red}} -bg {{blue}}` + +- Display the wireframe of a cube with size 100x100 that moves by +1+2 per frame: + +`ico -obj {{cube}} -size {{100x100}} -delta {{+1+2}}` + +- Display the inverted wireframe of an icosahedron with line width 10 using 5 threads: + +`ico -i -lw {{10}} -threads {{5}}` diff --git a/pages/linux/id3v2.md b/pages/linux/id3v2.md new file mode 100644 index 00000000000000..13b901eaad7eb2 --- /dev/null +++ b/pages/linux/id3v2.md @@ -0,0 +1,24 @@ +# id3v2 + +> Manage id3v2 tags, converts and lists id3v1. +> More information: . + +- List all genres: + +`id3v2 {{[-L|--list-genres]}}` + +- List all tags of specific files: + +`id3v2 {{[-l|--list]}} {{path/to/file1 path/to/file2 ...}}` + +- Delete all `id3v2` or `id3v1` tags of specific files: + +`id3v2 {{--delete-v2|--delete-v1}} {{path/to/file1 path/to/file2 ...}}` + +- Display help: + +`id3v2 {{[-h|--help]}}` + +- Display version: + +`id3v2 {{[-v|--version]}}` diff --git a/pages/linux/ifdown.md b/pages/linux/ifdown.md index b4e8a1f76e99c4..3d70908a28abb1 100644 --- a/pages/linux/ifdown.md +++ b/pages/linux/ifdown.md @@ -1,6 +1,7 @@ # ifdown > Disable network interfaces. +> More information: . - Disable interface eth0: @@ -8,4 +9,4 @@ - Disable all interfaces which are enabled: -`ifdown -a` +`ifdown {{[-a|--all]}}` diff --git a/pages/linux/ifmetric.md b/pages/linux/ifmetric.md new file mode 100644 index 00000000000000..e84dd94ad09214 --- /dev/null +++ b/pages/linux/ifmetric.md @@ -0,0 +1,12 @@ +# ifmetric + +> An IPv4 route metrics manipulation tool. +> More information: . + +- Set the priority of the specified network interface (a higher number indicates lower priority): + +`sudo ifmetric {{interface}} {{value}}` + +- Reset the priority of the specified network interface: + +`sudo ifmetric {{interface}} {{0}}` diff --git a/pages/linux/ifstat.md b/pages/linux/ifstat.md new file mode 100644 index 00000000000000..d9286adc766358 --- /dev/null +++ b/pages/linux/ifstat.md @@ -0,0 +1,16 @@ +# ifstat + +> View network interface statistics. +> More information: . + +- View network interface statistics since last query: + +`ifstat` + +- View network interface statistics since last boot: + +`ifstat {{[-a|--ignore]}}` + +- View error rate: + +`ifstat {{[-e|--errors]}}` diff --git a/pages/linux/ifstatus.md b/pages/linux/ifstatus.md new file mode 100644 index 00000000000000..5c908e65c8001f --- /dev/null +++ b/pages/linux/ifstatus.md @@ -0,0 +1,12 @@ +# ifstatus + +> Display OpenWRT interface status in JSON format. +> More information: . + +- Display interface status: + +`ifstatus {{interface_name}}` + +- Display help: + +`ifstatus` diff --git a/pages/linux/iftop.md b/pages/linux/iftop.md index 7d67bba20144f5..bb993eaf3c31d4 100644 --- a/pages/linux/iftop.md +++ b/pages/linux/iftop.md @@ -1,7 +1,7 @@ # iftop > Show bandwidth usage on an interface by host. -> More information: . +> More information: . - Show the bandwidth usage: @@ -23,6 +23,6 @@ `sudo iftop -n` -- Get help about interactive commands: +- Display help: -`?` +`` diff --git a/pages/linux/ifup.md b/pages/linux/ifup.md index 198c4de34a7dfb..86d99953b5d537 100644 --- a/pages/linux/ifup.md +++ b/pages/linux/ifup.md @@ -1,11 +1,12 @@ # ifup -> Tool used to enable network interfaces. +> Enable network interfaces. +> More information: . - Enable interface eth0: `ifup {{eth0}}` -- Enable all the interfaces defined with "auto" in /etc/network/interfaces: +- Enable all the interfaces defined with "auto" in `/etc/network/interfaces`: -`ifup -a` +`ifup {{[-a|--all]}}` diff --git a/pages/linux/ikaros.md b/pages/linux/ikaros.md new file mode 100644 index 00000000000000..c2b1f40fea8625 --- /dev/null +++ b/pages/linux/ikaros.md @@ -0,0 +1,16 @@ +# ikaros + +> Vanilla OS Tool for managing drivers for your device. +> More information: . + +- Interactively install drivers for your device: + +`ikaros install {{device}}` + +- Automatically install the recommended drivers for your device: + +`ikaros auto-install {{device}}` + +- List devices: + +`ikaros list-devices` diff --git a/pages/linux/img2txt.md b/pages/linux/img2txt.md new file mode 100644 index 00000000000000..9f4355ba0bf4a9 --- /dev/null +++ b/pages/linux/img2txt.md @@ -0,0 +1,24 @@ +# img2txt + +> Convert images to colour ASCII characters and output them to text-based coloured files. +> More information: . + +- Set output column count to a specific value: + +`img2txt {{[-W|--width]}} {{10}} {{path/to/image}}` + +- Set output line count to a specific value: + +`img2txt {{[-H|--height]}} {{5}} {{path/to/image}}` + +- Set output font width to a specific value: + +`img2txt {{[-x|--font-width]}} {{12}} {{path/to/image}}` + +- Set output font height to a specific value: + +`img2txt {{[-y|--font-height]}} {{14}} {{path/to/image}}` + +- Set image brightness to a specific value: + +`img2txt {{[-b|--brightness]}} {{2}} {{path/to/image}}` diff --git a/pages/linux/img2webp.md b/pages/linux/img2webp.md new file mode 100644 index 00000000000000..57c378c2a5e025 --- /dev/null +++ b/pages/linux/img2webp.md @@ -0,0 +1,8 @@ +# img2webp + +> Convert an image to WebP. +> More information: . + +- Convert an image to WebP: + +`img2webp {{path/to/image}} -o {{path/to/image.webp}}` diff --git a/pages/linux/imgp.md b/pages/linux/imgp.md index 5bf3d60506833c..e141354cd09a6d 100644 --- a/pages/linux/imgp.md +++ b/pages/linux/imgp.md @@ -1,15 +1,16 @@ # imgp -> Command line image resizer and rotator for JPEG and PNG images. +> Resize and rotate JPEG and PNG images. +> More information: . - Convert single images and/or whole directories containing valid image formats: -`imgp -x {{1366x1000}} {{path/to/directory}} {{path/to/file}}` +`imgp {{[-x|--res]}} {{1366x1000}} {{path/to/directory}} {{path/to/file}}` - Scale an image by 75% and overwrite the source image to a target resolution: -`imgp -x {{75}} -w {{path/to/file}}` +`imgp {{[-x|--res]}} {{75}} z-w {{path/to/file}}` - Rotate an image clockwise by 90 degrees: -`imgp -o {{90}} {{path/to/file}}` +`imgp {{[-o|--rotate]}} {{90}} {{path/to/file}}` diff --git a/pages/linux/impala.md b/pages/linux/impala.md new file mode 100644 index 00000000000000..9a8a057c0a928a --- /dev/null +++ b/pages/linux/impala.md @@ -0,0 +1,24 @@ +# impala + +> Manage WiFi networks through a TUI. +> More information: . + +- Launch `impala` in station mode: + +`impala` + +- Launch `impala` in Access Point mode: + +`impala {{[-m|--mode]}} ap` + +- Switch between different sections: + +`{{|}}` + +- Select a network to connect to: + +`` + +- Display hotkeys: + +`` diff --git a/pages/linux/importctl.md b/pages/linux/importctl.md new file mode 100644 index 00000000000000..c4a350ac52663e --- /dev/null +++ b/pages/linux/importctl.md @@ -0,0 +1,20 @@ +# importctl + +> Download, Import, or Export disk images. +> More information: . + +- Download image in tarball format from a url via pull: + +`sudo importctl pull-tar {{URL}} {{path/to/directory}}` + +- Pull or download from a remote source that is either raw or qcow2 file, and stores it as a raw file: + +`sudo importctl pull-raw {{https://example.com/source.ext}} {{name}} --class={{machine|portable|sysext|confext}}` + +- Import a raw disk image into the image directory that is possibly compressed with xz, gzip, or bzip2: + +`importctl import-raw {{path/to/file.ext}} {{name}} --class={{machine|portable|sysext|confext}}` + +- Export a container image as tarball into current working directory: + +`importctl export-tar --class={{machine|portable|sysext|confext}} {{name}} {{path/to/file.ext}}` diff --git a/pages/linux/imv.md b/pages/linux/imv.md new file mode 100644 index 00000000000000..b7053bc41006a4 --- /dev/null +++ b/pages/linux/imv.md @@ -0,0 +1,29 @@ +# imv + +> CLI image viewer for wayland and X11 aimed at tiling window managers. +> Handles multiple formats including Photoshop (PSD). +> More information: . + +- View multiple images: + +`imv {{path/to/image1.ext path/to/image2.ext ...}}` + +- View in fullscreen mode: + +`imv -f {{path/to/image.ext}}` + +- View images [r]ecursively from a path: + +`imv -r --slideshow {{path/to/directory}}` + +- Open multiple images via `stdin`: + +`find . -type f -name "{{*.svg}}" | imv` + +- Make a slideshow from a directory showing each image for 10 seconds: + +`imv -t 10 {{path/to/directory}}` + +- View multiple images from the web: + +`curl -Osw '%{filename_effective}\n' '{{http://www.example.com/[1-10].jpg}}' | imv` diff --git a/pages/linux/informant.md b/pages/linux/informant.md new file mode 100644 index 00000000000000..0def40cd515b88 --- /dev/null +++ b/pages/linux/informant.md @@ -0,0 +1,20 @@ +# informant + +> Read Arch Linux package news. +> More information: . + +- Read all unread news: + +`sudo informant read` + +- Check for news: + +`informant check` + +- List latest news: + +`informant list` + +- Display help: + +`informant {{[-h|--help]}}` diff --git a/pages/linux/init.md b/pages/linux/init.md new file mode 100644 index 00000000000000..3b2be48111675c --- /dev/null +++ b/pages/linux/init.md @@ -0,0 +1,25 @@ +# init + +> Linux run level manager. +> Requires the SYSVINIT compile-time option to be enabled if using systemd. +> More information: . + +- Set the system to run a graphical environment: + +`sudo init 5` + +- Set the system to run multiuser terminal: + +`sudo init 3` + +- Shut down the system: + +`init 0` + +- Reboot the system: + +`init 6` + +- Set the system to run on terminal with only root user allowed and no networking: + +`sudo init 1` diff --git a/pages/linux/inotifywait.md b/pages/linux/inotifywait.md index 2931e07dc267bd..68a8c44a2beb3a 100644 --- a/pages/linux/inotifywait.md +++ b/pages/linux/inotifywait.md @@ -1,27 +1,36 @@ # inotifywait -> Waits for changes to one or more files. +> Waits for changes to files. +> More information: . -- Run a command when a file changes: +- Watch a specific file for events, exiting after the first one: -`while inotifywait {{path/to/file}}; do {{command}}; done` +`inotifywait {{path/to/file}}` -- Be quiet about watching for changes: +- Continuously watch a specific file for events without exiting: -`while inotifywait --quiet {{path/to/file}}; do {{command}}; done` +`inotifywait {{[-m|--monitor]}} {{path/to/file}}` -- Watch a directory recursively for changes: +- Watch a directory recursively for events: -`while inotifywait --recursive {{path/to/directory}}; do {{command}}; done` +`inotifywait {{[-m|--monitor]}} {{[-r|--recursive]}} {{path/to/directory}}` -- Exclude files matching a regular expression: +- Watch a directory for changes, excluding files, whose names match a `regex`: -`while inotifywait --recursive {{path/to/directory}} --exlude '{{regex}}'; do {{command}}; done` +`inotifywait {{[-m|--monitor]}} {{[-r|--recursive]}} --exclude "{{regex}}" {{path/to/directory}}` -- Wait at most 30 seconds: +- Watch a file for changes, exiting when no event occurs for 30 seconds: -`while inotifywait --timeout {{30}} {{path/to/file}}; do {{command}}; done` +`inotifywait {{[-m|--monitor]}} {{[-t|--timeout]}} {{30}} {{path/to/file}}` -- Only watch for file modification events: +- Only watch a file for file modification events: -`while inotifywait --event {{modify}} {{path/to/file}}; do {{command}}; done` +`inotifywait {{[-e|--event]}} {{modify}} {{path/to/file}}` + +- Watch a file printing only events, and no status messages: + +`inotifywait {{[-q|--quiet]}} {{path/to/file}}` + +- Run a command when a file is accessed: + +`inotifywait {{[-e|--event]}} {{access}} {{path/to/file}} && {{command}}` diff --git a/pages/linux/inputattach.md b/pages/linux/inputattach.md new file mode 100644 index 00000000000000..f764594b9ee697 --- /dev/null +++ b/pages/linux/inputattach.md @@ -0,0 +1,13 @@ +# inputattach + +> Attach a device to the Linux input system. +> The input devices are presented as files in `/dev/input/`. +> More information: . + +- Attach a Pulse8 CEC device to the input system: + +`inputattach --pulse8-cec {{/dev/ttyACM0}}` + +- Display help: + +`inputattach --help` diff --git a/pages/linux/insmod.md b/pages/linux/insmod.md new file mode 100644 index 00000000000000..ed8734ecb68803 --- /dev/null +++ b/pages/linux/insmod.md @@ -0,0 +1,9 @@ +# insmod + +> Dynamically load modules into the Linux Kernel. +> See also: `kmod` for other module management commands. +> More information: . + +- Insert a kernel module into the Linux kernel: + +`sudo insmod {{path/to/module.ko}}` diff --git a/pages/linux/instaloader.md b/pages/linux/instaloader.md new file mode 100644 index 00000000000000..8704e1c8a0fcc1 --- /dev/null +++ b/pages/linux/instaloader.md @@ -0,0 +1,37 @@ +# instaloader + +> Download pictures, videos, captions, and other metadata from Instagram. +> Note: You will need to provide Instagram login information if you want high-quality media downloads. +> More information: . + +- Download a profile: + +`instaloader {{profile_name}}` + +- Download highlights: + +`instaloader --highlights {{profile_name}}` + +- Download posts with geotags (if available), suppressing any user interaction: + +`instaloader {{[-q|--quiet]}} {{[-G|--geotags]}} {{profile_name}}` + +- Specify a user agent for HTTP requests: + +`instaloader --user-agent {{user_agent}} {{profile_name}}` + +- Specify login info and download posts (useful for private profiles): + +`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {{profile_name}}` + +- Skip a target if the first downloaded file has been found (useful for updating Instagram archives): + +`instaloader {{[-F|--fast-update]}} {{profile_name}}` + +- Download stories and IGTV videos (login required): + +`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {{[-s|--stories]}} --igtv {{profile_name}}` + +- Download all types of posts (login required): + +`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {{[-s|--stories]}} --igtv --highlights {{profile_name}}` diff --git a/pages/linux/intercept.md b/pages/linux/intercept.md new file mode 100644 index 00000000000000..4732940a1e6311 --- /dev/null +++ b/pages/linux/intercept.md @@ -0,0 +1,12 @@ +# intercept + +> Read raw input events from a specified input event device and redirect it to stdout. +> More information: . + +- Read and output raw input events from a given input device file (the system will not see any key presses): + +`sudo intercept -g {{/dev/input/eventX}}` + +- Read and output raw input events from a given input device file (the system can see key presses and does not block other programs from reading them): + +`sudo intercept {{/dev/input/eventX}}` diff --git a/pages/linux/inxi.md b/pages/linux/inxi.md index 17c840fad292ba..f944df09d1609f 100644 --- a/pages/linux/inxi.md +++ b/pages/linux/inxi.md @@ -1,15 +1,36 @@ # inxi > Print a summary of system information and resources for debugging purposes. +> More information: . -- Print a short summary of CPU, memory, hard drive and kernel information: +- Print a summary of CPU, memory, hard drive and kernel information: `inxi` -- Print a full description of CPU, memory, disk, network and process information: +- Print a full description of CPU, memory, disk, network, and process information and filter sensitive information: -`inxi -Fz` +`inxi {{[-ez|--expanded --filter]}}` -- Print information about the distribution's repository: +- Print a summary of CPU information: -`inxi -r` +`inxi {{[-C|--cpu]}}` + +- Print a summary of graphics information: + +`inxi {{[-G|--graphics]}}` + +- Print a summary of system RAM: + +`inxi {{[-m|--memory]}}` + +- Print a summary of system audio: + +`inxi {{[-A|--audio]}}` + +- Print available sensor data: + +`inxi {{[-s|--sensors]}}` + +- Print information about the distribution's repositories: + +`inxi {{[-r|--repos]}}` diff --git a/pages/linux/ionice.md b/pages/linux/ionice.md new file mode 100644 index 00000000000000..97a4dc73705575 --- /dev/null +++ b/pages/linux/ionice.md @@ -0,0 +1,30 @@ +# ionice + +> Get or set program I/O scheduling class and priority. +> Scheduling classes: 1 (realtime), 2 (best-effort), 3 (idle). +> Priority levels: 0 (the highest) - 7 (the lowest). +> More information: . + +- Run a command with the given scheduling class and priority: + +`ionice {{[-c|--class]}} {{scheduling_class}} {{[-n|--classdata]}} {{priority}} {{command}}` + +- Set I/O scheduling class of a running process with a specific [p]id, [P]gid or [u]id: + +`ionice {{[-c|--class]}} {{scheduling_class}} -{{p|P|u}} {{id}}` + +- Run a command with custom I/O scheduling class and priority: + +`ionice {{[-c|--class]}} {{scheduling_class}} {{[-n|--classdata]}} {{priority}} {{command}}` + +- Ignore failure to set the requested priority: + +`ionice {{[-t|--ignore]}} {{[-n|--classdata]}} {{priority}} {{[-p|--pid]}} {{pid}}` + +- Run the command even in case it was not possible to set the desired priority (this can happen due to insufficient privileges or an old kernel version): + +`ionice {{[-t|--ignore]}} {{[-n|--classdata]}} {{priority}} {{[-p|--pid]}} {{pid}}` + +- Print the I/O scheduling class and priority of a running process: + +`ionice {{[-p|--pid]}} {{pid}}` diff --git a/pages/linux/iostat.md b/pages/linux/iostat.md index 4b50fdccbfd559..0c2cf3546fe2a5 100644 --- a/pages/linux/iostat.md +++ b/pages/linux/iostat.md @@ -1,6 +1,7 @@ # iostat > Report statistics for devices and partitions. +> More information: . - Display a report of CPU and disk statistics since system startup: @@ -12,7 +13,7 @@ - Display CPU statistics: -`iostat -c` +`iostat {{[-c|--compact]}}` - Display disk statistics with disk names (including LVM): diff --git a/pages/linux/ip-address.md b/pages/linux/ip-address.md index 335f4420124ea6..7d5a0c009ffa4b 100644 --- a/pages/linux/ip-address.md +++ b/pages/linux/ip-address.md @@ -1,27 +1,28 @@ # ip address > IP Address management subcommand. +> More information: . - List network interfaces and their associated IP addresses: -`ip address` +`ip {{[a|address]}}` - Filter to show only active network interfaces: -`ip address show up` +`ip {{[a|address]}} {{[s|show]}} up` - Display information about a specific network interface: -`ip address show dev {{eth0}}` +`ip {{[a|address]}} {{[s|show]}} {{ethX}}` - Add an IP address to a network interface: -`ip address add {{ip_address}} dev {{eth0}}` +`sudo ip {{[a|address]}} {{[a|add]}} {{ip_address}} dev {{ethX}}` - Remove an IP address from a network interface: -`ip address delete {{ip_address}} dev {{eth0}}` +`sudo ip {{[a|address]}} {{[d|delete]}} {{ip_address}} dev {{ethX}}` - Delete all IP addresses in a given scope from a network interface: -`ip address flush dev {{eth0}} scope {{global|host|link}}` +`sudo ip {{[a|address]}} {{[f|flush]}} {{ethX}} scope {{global|host|link}}` diff --git a/pages/linux/ip-link.md b/pages/linux/ip-link.md new file mode 100644 index 00000000000000..1d8f41204a3010 --- /dev/null +++ b/pages/linux/ip-link.md @@ -0,0 +1,32 @@ +# ip link + +> Manage network interfaces. +> More information: . + +- Show information about all network interfaces: + +`ip {{[l|link]}}` + +- Show information about a specific network interface: + +`ip {{[l|link]}} {{[sh|show]}} {{ethX}}` + +- Bring a network interface up or down: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{up|down}}` + +- Give a meaningful name to a network interface: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{[al|alias]}} "{{LAN Interface}}"` + +- Change the MAC address of a network interface: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{[a|address]}} {{ff:ff:ff:ff:ff:ff}}` + +- Change the MTU size for a network interface to use jumbo frames: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} mtu {{9000}}` + +- Set the promisc mode status of a device: + +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} promisc {{on|off}}` diff --git a/pages/linux/ip-maddress.md b/pages/linux/ip-maddress.md new file mode 100644 index 00000000000000..9b9cab49728525 --- /dev/null +++ b/pages/linux/ip-maddress.md @@ -0,0 +1,24 @@ +# ip maddress + +> Manage multicast addresses. +> More information: . + +- List multicast addresses and how many programs are subscribed to them: + +`ip {{[m|maddress]}}` + +- List device specific addresses: + +`ip {{[m|maddress]}} {{[s|show]}} dev {{ethX}}` + +- Join a multicast group statically: + +`sudo ip {{[m|maddress]}} {{[a|add]}} {{33:33:00:00:00:02}} dev {{ethX}}` + +- Leave a static multicast group: + +`sudo ip {{[m|maddress]}} {{[d|delete]}} {{33:33:00:00:00:02}} dev {{ethX}}` + +- Display help: + +`ip {{[m|maddress]}} {{[h|help]}}` diff --git a/pages/linux/ip-monitor.md b/pages/linux/ip-monitor.md new file mode 100644 index 00000000000000..10528d85f68ad0 --- /dev/null +++ b/pages/linux/ip-monitor.md @@ -0,0 +1,16 @@ +# ip monitor + +> Monitor network for state changes. +> More information: . + +- Monitor the whole network for state changes: + +`ip {{[mo|monitor]}}` + +- Specify the type to monitor: + +`ip {{[mo|monitor]}} {{link|address|route|neigh|rule|maddress|...}}` + +- Replay an event file (can be generated with `rtmon`): + +`ip {{[mo|monitor]}} {{[f|file]}} {{path/to/file}}` diff --git a/pages/linux/ip-neighbour.md b/pages/linux/ip-neighbour.md new file mode 100644 index 00000000000000..1660330af61af7 --- /dev/null +++ b/pages/linux/ip-neighbour.md @@ -0,0 +1,24 @@ +# ip neighbour + +> Neighbour/ARP tables management IP subcommand. +> More information: . + +- Display the neighbour/ARP table entries: + +`ip {{[n|neighbour]}}` + +- Remove entries in the neighbour table on device `ethX`: + +`sudo ip {{[n|neighbour]}} {{[f|flush]}} dev {{ethX}}` + +- Perform a neighbour lookup and return a neighbour entry: + +`ip {{[n|neighbour]}} {{[g|get]}} {{lookup_ip}} dev {{ethX}}` + +- Add or delete an ARP entry for the neighbour IP address to `ethX`: + +`sudo ip {{[n|neighbour]}} {{add|delete}} {{ip_address}} lladdr {{mac_address}} dev {{ethX}} nud reachable` + +- Change or replace an ARP entry for the neighbour IP address to `ethX`: + +`sudo ip {{[n|neighbour]}} {{change|replace}} {{ip_address}} lladdr {{new_mac_address}} dev {{ethX}}` diff --git a/pages/linux/ip-route-add.md b/pages/linux/ip-route-add.md new file mode 100644 index 00000000000000..8c794b12570679 --- /dev/null +++ b/pages/linux/ip-route-add.md @@ -0,0 +1,20 @@ +# ip route add + +> Add a new networking route. +> More information: . + +- Add a default route using gateway forwarding: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{gateway_ip}}` + +- Add a default route using `ethX`: + +`sudo ip {{[r|route]}} {{[a|add]}} default dev {{ethX}}` + +- Add a static route: + +`sudo ip {{[r|route]}} {{[a|add]}} {{destination_ip}} via {{gateway_ip}} dev {{ethX}}` + +- Add a route to a specific routing table: + +`sudo ip {{[r|route]}} {{[a|add]}} {{destination_ip}} dev {{ethX}} {{[t|table]}} {{ip}}` diff --git a/pages/linux/ip-route-get.md b/pages/linux/ip-route-get.md new file mode 100644 index 00000000000000..e6b99a2069092d --- /dev/null +++ b/pages/linux/ip-route-get.md @@ -0,0 +1,28 @@ +# ip route get + +> Get a single route to a destination and print its contents exactly as the kernel sees it. +> More information: . + +- Print route to a destination: + +`ip {{[r|route]}} {{[g|get]}} {{1.1.1.1}}` + +- Print route to a destination from a specific source address: + +`ip {{[r|route]}} {{[g|get]}} {{destination}} from {{source}}` + +- Print route to a destination for packets arriving on a specific interface: + +`ip {{[r|route]}} {{[g|get]}} {{destination}} iif {{ethX}}` + +- Print route to a destination, forcing output through a specific interface: + +`ip {{[r|route]}} {{[g|get]}} {{destination}} oif {{ethX}}` + +- Print route to a destination with a specified Type of Service (ToS): + +`ip {{[r|route]}} {{[g|get]}} {{destination}} tos {{0x10}}` + +- Print route to a destination using a specific VRF (Virtual Routing and Forwarding) instance: + +`ip {{[r|route]}} {{[g|get]}} {{destination}} vrf {{myvrf}}` diff --git a/pages/linux/ip-route-list.md b/pages/linux/ip-route-list.md new file mode 100644 index 00000000000000..a034fe2622ea4f --- /dev/null +++ b/pages/linux/ip-route-list.md @@ -0,0 +1,36 @@ +# ip route list + +> Display subcommand for IP Routing table management. +> More information: . + +- Display the `main` routing table: + +`ip {{[r|route]}} {{[l|list]}}` + +- Display the main routing table (same as first example): + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{main|254}}` + +- Display the local routing table: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{local|255}}` + +- Display all routing tables: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{all|unspec|0}}` + +- List routes from a given device only: + +`ip {{[r|route]}} {{[l|list]}} dev {{ethX}}` + +- List routes within a given scope: + +`ip {{[r|route]}} {{[l|list]}} {{[s|scope]}} link` + +- Display the routing cache: + +`ip {{[r|route]}} {{[l|list]}} {{[c|cache]}}` + +- Display only IPv6 or IPv4 routes: + +`ip {{-6|-4}} {{[r|route]}}` diff --git a/pages/linux/ip-route-show.md b/pages/linux/ip-route-show.md new file mode 100644 index 00000000000000..2a0dee69454c96 --- /dev/null +++ b/pages/linux/ip-route-show.md @@ -0,0 +1,7 @@ +# ip route show + +> This command is an alias of `ip route list`. + +- View documentation for the original command: + +`tldr ip route list` diff --git a/pages/linux/ip-route.md b/pages/linux/ip-route.md new file mode 100644 index 00000000000000..717b293707e4e7 --- /dev/null +++ b/pages/linux/ip-route.md @@ -0,0 +1,36 @@ +# ip route + +> IP Routing table management subcommand. +> More information: . + +- Display the `main` routing table: + +`ip {{[r|route]}}` + +- Add a default route using gateway forwarding: + +`sudo ip {{[r|route]}} {{[a|add]}} default via {{gateway_ip}}` + +- Add a default route using `ethX`: + +`sudo ip {{[r|route]}} {{[a|add]}} default dev {{ethX}}` + +- Add a static route: + +`sudo ip {{[r|route]}} {{[a|add]}} {{destination_ip}} via {{gateway_ip}} dev {{ethX}}` + +- Delete a static route: + +`sudo ip {{[r|route]}} {{[d|delete]}} {{destination_ip}} dev {{ethX}}` + +- Change or replace a static route: + +`sudo ip {{[r|route]}} {{change|replace}} {{destination_ip}} via {{gateway_ip}} dev {{ethX}}` + +- Show which route will be used by the kernel to reach an IP address: + +`ip {{[r|route]}} {{[g|get]}} {{destination_ip}}` + +- Display a specific routing table: + +`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{table_number}}` diff --git a/pages/linux/ip-rule.md b/pages/linux/ip-rule.md new file mode 100644 index 00000000000000..eb388789e7735d --- /dev/null +++ b/pages/linux/ip-rule.md @@ -0,0 +1,36 @@ +# ip rule + +> IP routing policy database management. +> More information: . + +- Display the routing policy: + +`ip {{[ru|rule]}}` + +- Create a new generic routing rule with a higher priority than `main`: + +`sudo ip {{[ru|rule]}} {{[a|add]}} from all lookup {{100}}` + +- Add a new rule based on packet source addresses: + +`sudo ip {{[ru|rule]}} {{[a|add]}} from {{192.168.178.2/32}}` + +- Add a new rule based on packet destination addresses: + +`sudo ip {{[ru|rule]}} {{[a|add]}} to {{192.168.178.2/32}}` + +- Delete a rule based on packet source addresses: + +`sudo ip {{[ru|rule]}} {{[d|delete]}} from {{192.168.178.2/32}}` + +- Remove all routing rules: + +`sudo ip {{[ru|rule]}} {{[f|flush]}}` + +- Save all rules to a file: + +`ip {{[ru|rule]}} {{[s|save]}} > {{path/to/ip_rules.dat}}` + +- Restore all rules from a file: + +`sudo ip < {{path/to/ip_rules.dat}} {{[ru|rule]}} {{[r|restore]}}` diff --git a/pages/linux/ip.md b/pages/linux/ip.md index 974d1bbe4eea2f..c472f218e59493 100644 --- a/pages/linux/ip.md +++ b/pages/linux/ip.md @@ -1,35 +1,37 @@ # ip -> Show / manipulate routing, devices, policy routing and tunnels. +> Show/manipulate routing, devices, policy routing and tunnels. +> Some subcommands such as `address` have their own usage documentation. +> More information: . - List interfaces with detailed info: -`ip address` +`ip {{[a|address]}}` - List interfaces with brief network layer info: -`ip -brief address` +`ip {{[-br|-brief]}} {{[a|address]}}` - List interfaces with brief link layer info: -`ip -brief link` +`ip {{[-br|-brief]}} {{[l|link]}}` - Display the routing table: -`ip route` +`ip {{[r|route]}}` - Show neighbors (ARP table): -`ip neighbour` +`ip {{[n|neighbour]}}` - Make an interface up/down: -`ip link set {{interface}} up/down` +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{up|down}}` -- Add/Delete an ip address to an interface: +- Add/Delete an IP address to an interface: -`ip addr add/del {{ip}}/{{mask}} dev {{interface}}` +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{ethX}}` - Add a default route: -`ip route add default via {{ip}} dev {{interface}}` +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{ethX}}` diff --git a/pages/linux/ip6tables-restore.md b/pages/linux/ip6tables-restore.md new file mode 100644 index 00000000000000..d2dd067325ee46 --- /dev/null +++ b/pages/linux/ip6tables-restore.md @@ -0,0 +1,7 @@ +# ip6tables-restore + +> This command is an alias of `iptables-restore` for the IPv6 firewall. + +- View documentation for the original command: + +`tldr iptables-restore` diff --git a/pages/linux/ip6tables-save.md b/pages/linux/ip6tables-save.md new file mode 100644 index 00000000000000..41d424cfcc2ff2 --- /dev/null +++ b/pages/linux/ip6tables-save.md @@ -0,0 +1,7 @@ +# ip6tables-save + +> This command is an alias of `iptables-save` for the IPv6 firewall. + +- View documentation for the original command: + +`tldr iptables-save` diff --git a/pages/linux/ip6tables.md b/pages/linux/ip6tables.md new file mode 100644 index 00000000000000..44d7275e85250d --- /dev/null +++ b/pages/linux/ip6tables.md @@ -0,0 +1,7 @@ +# ip6tables + +> This command is an alias of `iptables` for the IPv6 firewall. + +- View documentation for the original command: + +`tldr iptables` diff --git a/pages/linux/ipcalc.md b/pages/linux/ipcalc.md deleted file mode 100644 index 01eab4f080c1b4..00000000000000 --- a/pages/linux/ipcalc.md +++ /dev/null @@ -1,23 +0,0 @@ -# ipcalc - -> Perform simple operations and calculations on IP addresses and networks. - -- Show information about an address or network with a given subnet mask: - -`ipcalc {{1.2.3.4}} {{255.255.255.0}}` - -- Show information about an address or network in CIDR notation: - -`ipcalc {{1.2.3.4}}/{{24}}` - -- Show the broadcast address of an address or network: - -`ipcalc -b {{1.2.3.4}}/{{30}}` - -- Show the network address of provided IP address and netmask: - -`ipcalc -n {{1.2.3.4}}/{{24}}` - -- Display geographic information about a given IP address: - -`ipcalc -g {{1.2.3.4}}` diff --git a/pages/linux/ipcmk.md b/pages/linux/ipcmk.md index 3730712f2d7977..2264fc2c293189 100644 --- a/pages/linux/ipcmk.md +++ b/pages/linux/ipcmk.md @@ -1,19 +1,20 @@ # ipcmk > Create IPC (Inter-process Communication) resources. +> More information: . - Create a shared memory segment: -`ipcmk --shmem {{segment_size_in_bytes}}` +`ipcmk {{[-M|--shmem]}} {{segment_size_in_bytes}}` - Create a semaphore: -`ipcmk --semaphore {{element_size}}` +`ipcmk {{[-S|--semaphore]}} {{element_size}}` - Create a message queue: -`ipcmk --queue` +`ipcmk {{[-Q|--queue]}}` - Create a shared memory segment with specific permissions (default is 0644): -`ipcmk --shmem {{segment_size_in_bytes}} {{octal_permissons}}` +`ipcmk {{[-M|--shmem]}} {{segment_size_in_bytes}} {{octal_permissions}}` diff --git a/pages/linux/ipcrm.md b/pages/linux/ipcrm.md index 1462087d6552a3..e0d9d3e1e5ac9b 100644 --- a/pages/linux/ipcrm.md +++ b/pages/linux/ipcrm.md @@ -1,31 +1,32 @@ # ipcrm > Delete IPC (Inter-process Communication) resources. +> More information: . - Delete a shared memory segment by ID: -`ipcrm --shmem-id {{shmem_id}}` +`ipcrm {{[-m|--shmem-id]}} {{shmem_id}}` - Delete a shared memory segment by key: -`ipcrm --shmem-key {{shmem_key}}` +`ipcrm {{[-M|--shmem-key]}} {{shmem_key}}` - Delete an IPC queue by ID: -`ipcrm --queue-id {{ipc_queue_id}}` +`ipcrm {{[-q|--queue-id]}} {{ipc_queue_id}}` - Delete an IPC queue by key: -`ipcrm --queue-key {{ipc_queue_key}}` +`ipcrm {{[-Q|--queue-key]}} {{ipc_queue_key}}` - Delete a semaphore by ID: -`ipcrm --semaphore-id {{semaphore_id}}` +`ipcrm {{[-s|--semaphore-id]}} {{semaphore_id}}` - Delete a semaphore by key: -`ipcrm --semaphore-key {{semaphore_key}}` +`ipcrm {{[-S|--semaphore-key]}} {{semaphore_key}}` - Delete all IPC resources: -`ipcrm --all` +`ipcrm {{[-a|--all]}}` diff --git a/pages/linux/ipcs.md b/pages/linux/ipcs.md new file mode 100644 index 00000000000000..0a5987ffe54bae --- /dev/null +++ b/pages/linux/ipcs.md @@ -0,0 +1,37 @@ +# ipcs + +> Show information about the usage of System V IPC facilities: shared memory segments, message queues, and semaphore arrays. +> See also: `lsipc` for a more flexible tool, `ipcmk` for creating IPC facilities, and `ipcrm` for deleting them. +> More information: . + +- Show information about all active IPC facilities: + +`ipcs` + +- Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets: + +`ipcs {{--shmems|--queues|--semaphores}}` + +- Show full details on the resource with a specific ID: + +`ipcs {{--shmems|--queues|--semaphores}} {{[-i|--id]}} {{resource_id}}` + +- Show limits in [b]ytes or in a human-readable format: + +`ipcs {{[-l|--limits]}} {{--bytes|--human}}` + +- Show summary about current usage: + +`ipcs {{[-u|--summary]}}` + +- Show creator's and owner's UIDs and PIDs for all IPC facilities: + +`ipcs {{[-c|--creator]}}` + +- Show the PID of the last operators for all IPC facilities: + +`ipcs {{[-p|--pid]}}` + +- Show last access times for all IPC facilities: + +`ipcs {{[-t|--time]}}` diff --git a/pages/linux/ipmitool.md b/pages/linux/ipmitool.md new file mode 100644 index 00000000000000..c9e7e80d8051a5 --- /dev/null +++ b/pages/linux/ipmitool.md @@ -0,0 +1,16 @@ +# ipmitool + +> Interface with the Intelligent Platform Management Interface (IPMI). +> More information: . + +- Start the IPMI driver for local connections: + +`systemctl start ipmidrv` + +- Open IPMI shell on the local hardware: + +`sudo ipmitool shell` + +- Open IPMI shell on a remote host: + +`ipmitool -H {{ip_address}} -U {{user_name}} shell` diff --git a/pages/linux/ipset.md b/pages/linux/ipset.md new file mode 100644 index 00000000000000..e102a297f3a70b --- /dev/null +++ b/pages/linux/ipset.md @@ -0,0 +1,24 @@ +# ipset + +> Create IP sets for firewall rules. +> More information: . + +- Create an empty IP set which will contain IP addresses: + +`ipset create {{set_name}} hash:ip` + +- Destroy a specific IP set: + +`ipset destroy {{set_name}}` + +- Add an IP address to a specific set: + +`ipset add {{set_name}} {{192.168.1.25}}` + +- Delete a specific IP address from a set: + +`ipset del {{set_name}} {{192.168.1.25}}` + +- Save an IP set: + +`ipset save {{set_name}} > {{path/to/ip_set}}` diff --git a/pages/linux/iptables-restore.md b/pages/linux/iptables-restore.md new file mode 100644 index 00000000000000..2aa4a5050dde50 --- /dev/null +++ b/pages/linux/iptables-restore.md @@ -0,0 +1,9 @@ +# iptables-restore + +> Restore the `iptables` IPv4 configuration. +> Use `ip6tables-restore` to do the same for IPv6. +> More information: . + +- Restore the `iptables` configuration from a file: + +`sudo iptables-restore {{path/to/file}}` diff --git a/pages/linux/iptables-save.md b/pages/linux/iptables-save.md new file mode 100644 index 00000000000000..f4affddd6dc709 --- /dev/null +++ b/pages/linux/iptables-save.md @@ -0,0 +1,17 @@ +# iptables-save + +> Save the `iptables` IPv4 configuration. +> Use `ip6tables-save` to do the same for IPv6. +> More information: . + +- Print the `iptables` configuration: + +`sudo iptables-save` + +- Print the `iptables` configuration of a specific table: + +`sudo iptables-save {{[-t|--table]}} {{table}}` + +- Save the `iptables` configuration to a file: + +`sudo iptables-save {{[-f|--file]}} {{path/to/file}}` diff --git a/pages/linux/iptables.md b/pages/linux/iptables.md index 5b1db17695a732..c622a20da0e95b 100644 --- a/pages/linux/iptables.md +++ b/pages/linux/iptables.md @@ -1,32 +1,30 @@ # iptables -> Program that allows configuration of tables, chains and rules provided by the Linux kernel firewall. -> More information: . +> Configure tables, chains and rules of the Linux kernel IPv4 firewall. +> Use `ip6tables` to set rules for IPv6 traffic. +> See also: `iptables-save`, `iptables-restore`. +> More information: . -- View chains, rules, and packet/byte counters for the filter table: +- View chains, rules, packet/byte counters and line numbers for the filter table: -`sudo iptables -vnL` +`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}` - Set chain policy rule: -`sudo iptables -P {{chain}} {{rule}}` +`sudo iptables {{[-P|--policy]}} {{chain}} {{rule}}` - Append rule to chain policy for IP: -`sudo iptables -A {{chain}} -s {{ip}} -j {{rule}}` +`sudo iptables {{[-A|--append]}} {{chain}} {{[-s|--source]}} {{ip}} {{[-j|--jump]}} {{rule}}` - Append rule to chain policy for IP considering protocol and port: -`sudo iptables -A {{chain}} -s {{ip}} -p {{protocol}} --dport {{port}} -j {{rule}}` +`sudo iptables {{[-A|--append]}} {{chain}} {{[-s|--source]}} {{ip}} {{[-p|--protocol]}} {{tcp|udp|icmp|...}} --dport {{port}} {{[-j|--jump]}} {{rule}}` -- Delete chain rule: - -`sudo iptables -D {{chain}} {{rule_line_number}}` +- Add a NAT rule to translate all traffic from the `192.168.0.0/24` subnet to the host's public IP: -- Save iptables configuration of a given table to a file: +`sudo iptables {{[-t|--table]}} {{nat}} {{[-A|--append]}} {{POSTROUTING}} {{[-s|--source]}} {{192.168.0.0/24}} {{[-j|--jump]}} {{MASQUERADE}}` -`sudo iptables-save -t {{tablename}} > {{path/to/iptables_file}}` - -- Restore iptables configuration from a file: +- Delete chain rule: -`sudo iptables-restore < {{path/to/iptables_file}}` +`sudo iptables {{[-D|--delete]}} {{chain}} {{rule_line_number}}` diff --git a/pages/linux/isoinfo.md b/pages/linux/isoinfo.md index 34f5a32049344e..e914f9d19096b8 100644 --- a/pages/linux/isoinfo.md +++ b/pages/linux/isoinfo.md @@ -1,6 +1,7 @@ # isoinfo > Utility programs for dumping and verifying ISO disk images. +> More information: . - List all the files included in an ISO image: diff --git a/pages/linux/isosize.md b/pages/linux/isosize.md index 1e4298bab47829..9dcf0efb0ea056 100644 --- a/pages/linux/isosize.md +++ b/pages/linux/isosize.md @@ -1,7 +1,7 @@ # isosize > Display the size of an ISO file. -> More information: . +> More information: . - Display the size of an ISO file: @@ -9,8 +9,8 @@ - Display the block count and block size of an ISO file: -`isosize --sectors {{path/to/file.iso}}` +`isosize {{[-x|--sectors]}} {{path/to/file.iso}}` - Display the size of an ISO file divided by a given number (only usable when --sectors is not given): -`isosize --divisor={{number}} {{path/to/file.iso}}` +`isosize {{[-d|--divisor]}} {{number}} {{path/to/file.iso}}` diff --git a/pages/linux/iw-dev.md b/pages/linux/iw-dev.md new file mode 100644 index 00000000000000..32fb98d5dd4548 --- /dev/null +++ b/pages/linux/iw-dev.md @@ -0,0 +1,33 @@ +# iw dev + +> Show and manipulate wireless devices. +> For a list of channels, frequencies and reg information: . +> More information: . + +- Set device to monitor mode (interface must be down first. See also: `ip link`): + +`sudo iw dev {{wlp}} set type monitor` + +- Set device to managed mode (interface must be down first): + +`sudo iw dev {{wlp}} set type managed` + +- Set device WiFi channel (device must first be in monitor mode with the interface up): + +`sudo iw dev {{wlp}} set channel {{channel_number}}` + +- Set device WiFi frequency in Mhz (device must first be in monitor mode with the interface up): + +`sudo iw dev {{wlp}} set freq {{freq_in_mhz}}` + +- Show all known station info: + +`iw dev {{wlp}} station dump` + +- Create a virtual interface in monitor mode with a specific MAC address: + +`sudo iw dev {{wlp}} interface add "{{vif_name}}" type monitor addr {{12:34:56:aa:bb:cc}}` + +- Delete virtual interface: + +`sudo iw dev "{{vif_name}}" del` diff --git a/pages/linux/iw.md b/pages/linux/iw.md index f9389d117ed2b0..0a1bc159190e78 100644 --- a/pages/linux/iw.md +++ b/pages/linux/iw.md @@ -1,6 +1,8 @@ # iw > Show and manipulate wireless devices. +> See also: `iw dev`. +> More information: . - Scan for available wireless networks: @@ -17,3 +19,19 @@ - Show information about the current connection: `iw dev {{wlp}} link` + +- List all physical and logical wireless network interfaces: + +`iw dev` + +- List all wireless capabilities for all physical hardware interfaces: + +`iw phy` + +- List the kernel's current wireless regulatory domain information: + +`iw reg get` + +- Display help: + +`iw help` diff --git a/pages/linux/iwconfig.md b/pages/linux/iwconfig.md index 1ed203cf11cc05..cbf9ddb7481787 100644 --- a/pages/linux/iwconfig.md +++ b/pages/linux/iwconfig.md @@ -1,7 +1,7 @@ # iwconfig > Configure and show the parameters of a wireless network interface. -> More information: . +> More information: . - Show the parameters and statistics of all the interfaces: @@ -11,10 +11,10 @@ `iwconfig {{interface}}` -- Set the ESSID (network name) of the specified interface (e.g., eth0 or wlp2s0): +- Set the ESSID (network name) of the specified interface (e.g. eth0 or wlp2s0): `iwconfig {{interface}} {{new_network_name}}` - Set the operating mode of the specified interface: -`iwconfig {{interface}} mode {{ad hoc|Managed|Master|Repeater|Secondary|Monitor|Auto}}` +`iwconfig {{interface}} mode {{Ad-Hoc|Managed|Master|Repeater|Secondary|Monitor|Auto}}` diff --git a/pages/linux/iwctl.md b/pages/linux/iwctl.md index 56ee4740782877..da02a622b330c4 100644 --- a/pages/linux/iwctl.md +++ b/pages/linux/iwctl.md @@ -1,21 +1,17 @@ # iwctl -> A command line tool for controlling the iwd network supplicant. -> More information: . +> Control the `iwd` network supplicant. +> More information: . -- Start the interactive mode, in this mode you can enter the commands directly, with autocompletion: +- Run `iwctl` in interactive mode: `iwctl` -- Call general help: - -`iwctl --help` - -- Display your wifi stations: +- Display Wi-Fi stations: `iwctl station list` -- Start looking for networks with a station: +- Look for networks with a station: `iwctl station {{station}} scan` @@ -26,3 +22,7 @@ - Connect to a network with a station, if credentials are needed they will be asked: `iwctl station {{station}} connect {{network_name}}` + +- Display help: + +`iwctl {{[-h|--help]}}` diff --git a/pages/linux/iwinfo.md b/pages/linux/iwinfo.md new file mode 100644 index 00000000000000..371a314df87d71 --- /dev/null +++ b/pages/linux/iwinfo.md @@ -0,0 +1,32 @@ +# iwinfo + +> Retrieve information about wireless interfaces on OpenWrt. +> More information: . + +- List all available wireless interfaces: + +`iwinfo` + +- Display detailed information on a specific wireless interface: + +`iwinfo {{interface}} info` + +- Scan for nearby wireless networks visible to the interface: + +`iwinfo {{interface}} scan` + +- List connected devices: + +`iwinfo {{interface}} assoclist` + +- List channels supported by the interface: + +`iwinfo {{interface}} freqlist` + +- List available transmit power levels for the interface: + +`iwinfo {{interface}} txpowerlist` + +- Display help: + +`iwinfo h` diff --git a/pages/linux/iwlist.md b/pages/linux/iwlist.md new file mode 100644 index 00000000000000..3803f1f020cfce --- /dev/null +++ b/pages/linux/iwlist.md @@ -0,0 +1,36 @@ +# iwlist + +> Get detailed information from a wireless interface. +> More information: . + +- Display the list of access points and ad-hoc cells in range: + +`iwlist {{wireless_interface}} scan` + +- Display available frequencies in the device: + +`iwlist {{wireless_interface}} frequency` + +- List the bit-rates supported by the device: + +`iwlist {{wireless_interface}} rate` + +- List the WPA authentication parameters currently set: + +`iwlist {{wireless_interface}} auth` + +- List all the WPA encryption keys set in the device: + +`iwlist {{wireless_interface}} wpakeys` + +- List the encryption key sizes supported and list all the encryption keys set in the device: + +`iwlist {{wireless_interface}} keys` + +- List the various power management attributes and modes of the device: + +`iwlist {{wireless_interface}} power` + +- List generic information elements set in the device (used for WPA support): + +`iwlist {{wireless_interface}} genie` diff --git a/pages/linux/jhead.md b/pages/linux/jhead.md new file mode 100644 index 00000000000000..3d1284d686da14 --- /dev/null +++ b/pages/linux/jhead.md @@ -0,0 +1,32 @@ +# jhead + +> Image timestamp and EXIF data manipulation. +> More information: . + +- Show all EXIF data: + +`jhead {{path/to/image.jpg}}` + +- Set the file's date and time to the EXIF create date (file creation date will be changed): + +`jhead -ft {{path/to/image.jpg}}` + +- Set the EXIF time to the file's date and time (EXIF data will be changed): + +`jhead -dsft {{path/to/image.jpg}}` + +- Rename all JPEG files based on the EXIF create date to `YYYY_MM_DD-HH_MM_SS.jpg`: + +`jhead -n%Y_%m_%d-%H_%M_%S *.jpg` + +- Rotate losslessly all JPEG images by 90, 180 or 270 based on the EXIF orientation tag: + +`jhead -autorot *.jpg` + +- Update all EXIF timestamps (Format: +- hour:minute:seconds) (example: forgot to change the camera's time zone - removing 1 hour from timestamps): + +`jhead -ta-1:00:00 *.jpg` + +- Remove all EXIF data (including thumbnails): + +`jhead -purejpg {{path/to/image.jpg}}` diff --git a/pages/linux/jobs.md b/pages/linux/jobs.md index 24a0331d87c8e6..2c1c65c3bf474a 100644 --- a/pages/linux/jobs.md +++ b/pages/linux/jobs.md @@ -1,12 +1,14 @@ # jobs -> BASH builtin for viewing information about processes spawned by the current shell. +> Shell builtin for viewing information about processes spawned by the current shell. +> Options other than `-l` and `-p` are exclusive to Bash. +> More information: . - View jobs spawned by the current shell: `jobs` -- List jobs and their process ids: +- List jobs and their process IDs: `jobs -l` @@ -14,7 +16,7 @@ `jobs -n` -- Display process id of process group leader: +- Display only process IDs: `jobs -p` diff --git a/pages/linux/journalctl.md b/pages/linux/journalctl.md index f0e2527048d05e..c272a39d348021 100644 --- a/pages/linux/journalctl.md +++ b/pages/linux/journalctl.md @@ -1,30 +1,31 @@ # journalctl > Query the systemd journal. +> More information: . -- Show all messages from this boot: +- Show all messages with priority level 3 (errors) from this boot: -`journalctl -b` +`journalctl {{[-b|--boot]}} {{[-p|--priority]}} 3` -- Show all messages from last boot: +- Delete journal logs which are older than 2 days: -`journalctl -b -1` +`journalctl --vacuum-time 2d` -- Show all messages with priority level 3 (errors) from this boot: +- Show only the last `n` lines and follow new messages (like `tail -f` for traditional syslog): -`journalctl -b --priority={{3}}` +`journalctl {{[-n|--lines]}} {{n}} {{[-f|--follow]}}` -- Follow new messages (like `tail -f` for traditional syslog): +- Show all messages by a specific unit: -`journalctl -f` +`journalctl {{[-u|--unit]}} {{unit}}` -- Show all messages by a specific unit: +- Show logs for a given unit since the last time it started: -`journalctl -u {{unit}}` +`journalctl _SYSTEMD_INVOCATION_ID=$(systemctl show --value --property=InvocationID {{unit}})` - Filter messages within a time range (either timestamp or placeholders like "yesterday"): -`journalctl --since {{now|today|yesterday|tomorrow}} --until {{YYYY-MM-DD HH:MM:SS}}` +`journalctl {{[-S|--since]}} {{now|today|yesterday|tomorrow}} {{[-U|--until]}} "{{YYYY-MM-DD HH:MM:SS}}"` - Show all messages by a specific process: diff --git a/pages/linux/jpegtran.md b/pages/linux/jpegtran.md index 9829065bd1cf0c..a63fea7abc6766 100644 --- a/pages/linux/jpegtran.md +++ b/pages/linux/jpegtran.md @@ -1,17 +1,17 @@ # jpegtran > Perform lossless transformation of JPEG files. -> More information: . +> More information: . - Mirror an image horizontally or vertically: -`jpegtran -flip {{horizontal|vertical}} {{path/to/image.jpg}} > {{path/to/output.jpg}}` +`jpegtran {{[-f|-flip]}} {{horizontal|vertical}} {{path/to/image.jpg}} > {{path/to/output.jpg}}` - Rotate an image 90, 180 or 270 degrees clockwise: -`jpegtran -rotate {{90|180|270}} {{path/to/image.jpg}} > {{path/to/output.jpg}}` +`jpegtran {{[-ro|-rotate]}} {{90|180|270}} {{path/to/image.jpg}} > {{path/to/output.jpg}}` -- Transpose the image across the upper left to lower right axis: +- Transpose the image across the upper-left to lower right axis: `jpegtran -transpose {{path/to/image.jpg}} > {{path/to/output.jpg}}` @@ -21,12 +21,12 @@ - Convert the image to grayscale: -`jpegtran -grayscale {{path/to/image.jpg}} > {{path/to/output.jpg}}` +`jpegtran {{[-g|-grayscale]}} {{path/to/image.jpg}} > {{path/to/output.jpg}}` -- Crop the image to a rectangular region of width `W` and height `H` from the upper left corner, saving the output to a specific file: +- Crop the image to a rectangular region of width `W` and height `H` from the upper-left corner, saving the output to a specific file: `jpegtran -crop {{W}}x{{H}} -outfile {{path/to/output.jpg}} {{path/to/image.jpg}}` -- Crop the image to a rectangular region of width `W` and height `H`, starting at point `X` and `Y` from the upper left corner: +- Crop the image to a rectangular region of width `W` and height `H`, starting at point `X` and `Y` from the upper-left corner: `jpegtran -crop {{W}}x{{H}}+{{X}}+{{Y}} {{path/to/image.jpg}} > {{path/to/output.jpg}}` diff --git a/pages/linux/just.js.md b/pages/linux/just.js.md new file mode 100644 index 00000000000000..68868cd34ed4c7 --- /dev/null +++ b/pages/linux/just.js.md @@ -0,0 +1,24 @@ +# just + +> A V8 JavaScript runtime for Linux. +> More information: . + +- Start a REPL (interactive shell): + +`just` + +- Run a JavaScript file: + +`just {{path/to/file.js}}` + +- Evaluate JavaScript code by passing it as an argument: + +`just eval "{{code}}"` + +- Initialize a new project in a directory of the same name: + +`just init {{project_name}}` + +- Build a JavaScript application into an executable: + +`just build {{path/to/file.js}} --static` diff --git a/pages/linux/kde-builder.md b/pages/linux/kde-builder.md new file mode 100644 index 00000000000000..2aac725108769e --- /dev/null +++ b/pages/linux/kde-builder.md @@ -0,0 +1,37 @@ +# kde-builder + +> Easily build KDE components from its source repositories. +> Drop-in replacement for `kdesrc-build`. +> More information: . + +- Initialize `kde-builder`: + +`kde-builder --initial-setup` + +- Compile a KDE component and its dependencies from the source (use `workspace` to compile Plasma desktop): + +`kde-builder {{component_name1 component_name2 ...}}` + +- Compile a component without updating its local code and without compiling its dependencies: + +`kde-builder {{[-SD|--no-src --no-include-dependencies]}} {{component_name}}` + +- Refresh the build directories before compiling: + +`kde-builder {{[-r|--refresh-build]}} {{component_name}}` + +- Resume compilation from a specific dependency: + +`kde-builder {{[-f|--resume-from]}} {{dependency_component}} {{component_name}}` + +- Run a component with a specified executable name: + +`kde-builder --run {{executable_name}}` + +- Install login session: + +`kde-builder --install-login-session-only` + +- Use system libraries in place of a component if it fails to build: + +`kde-builder --no-stop-on-failure {{component_name}}` diff --git a/pages/linux/kde-inhibit.md b/pages/linux/kde-inhibit.md index c72b5b8d5ad886..e9fa3471832b35 100644 --- a/pages/linux/kde-inhibit.md +++ b/pages/linux/kde-inhibit.md @@ -1,6 +1,7 @@ # kde-inhibit > Inhibit various desktop functions while a command runs. +> More information: . - Inhibit power management: @@ -10,6 +11,6 @@ `kde-inhibit --screenSaver {{command}} {{command_arguments}}` -- Launch vlc, and inhibit colour correction (night mode) while it's running: +- Launch VLC, and inhibit color correction (night mode) while it's running: `kde-inhibit --colorCorrect {{vlc}}` diff --git a/pages/linux/kdesrc-build.md b/pages/linux/kdesrc-build.md new file mode 100644 index 00000000000000..86e6da4e32d8b8 --- /dev/null +++ b/pages/linux/kdesrc-build.md @@ -0,0 +1,36 @@ +# kdesrc-build + +> Easily build KDE components from its source repositories. +> More information: . + +- Initialize `kdesrc-build`: + +`kdesrc-build --initial-setup` + +- Compile a KDE component and its dependencies from source: + +`kdesrc-build {{component_name}}` + +- Compile a component without updating its local code and without compiling its dependencies: + +`kdesrc-build --no-src --no-include-dependencies {{component_name}}` + +- Refresh the build directories before compiling: + +`kdesrc-build --refresh-build {{component_name}}` + +- Resume compilation from a specific dependency: + +`kdesrc-build --resume-from {{dependency_component}} {{component_name}}` + +- Run a component with a specified executable name: + +`kdesrc-build --run --exec {{executable_name}} {{component_name}}` + +- Build all configured components: + +`kdesrc-build` + +- Use system libraries in place of a component if it fails to build: + +`kdesrc-build --no-stop-on-failure {{component_name}}` diff --git a/pages/linux/kdialog.md b/pages/linux/kdialog.md new file mode 100644 index 00000000000000..cb5598a0567e8d --- /dev/null +++ b/pages/linux/kdialog.md @@ -0,0 +1,36 @@ +# kdialog + +> Show KDE dialog boxes from within shell scripts. +> More information: . + +- Open a dialog box displaying a specific message: + +`kdialog --msgbox "{{message}}" "{{optional_detailed_message}}"` + +- Open a question dialog with a `yes` and `no` button, returning `0` and `1`, respectively: + +`kdialog --yesno "{{message}}"` + +- Open a warning dialog with a `yes`, `no`, and `cancel` button, returning `0`, `1`, or `2` respectively: + +`kdialog --warningyesnocancel "{{message}}"` + +- Open an input dialog box and print the input to `stdout` when `OK` is pressed: + +`kdialog --inputbox "{{message}}" "{{optional_default_text}}"` + +- Open a dialog to prompt for a specific password and print it to `stdout`: + +`kdialog --password "{{message}}"` + +- Open a dialog containing a specific dropdown menu and print the selected item to `stdout`: + +`kdialog --combobox "{{message}}" "{{item1}}" "{{item2}}" "{{...}}"` + +- Open a file chooser dialog and print the selected file's path to `stdout`: + +`kdialog --getopenfilename` + +- Open a progressbar dialog and print a D-Bus reference for communication to `stdout`: + +`kdialog --progressbar "{{message}}"` diff --git a/pages/linux/kdocker.md b/pages/linux/kdocker.md new file mode 100644 index 00000000000000..10031fdc523116 --- /dev/null +++ b/pages/linux/kdocker.md @@ -0,0 +1,28 @@ +# kdocker + +> Easily dock applications to the system tray. +> More information: . + +- Display a cursor to send a window to the system tray when pressing the left mouse button (press any other mouse button to cancel): + +`kdocker` + +- Open an application and send it to the system tray: + +`kdocker {{application}}` + +- Send focused window to the system tray: + +`kdocker -f` + +- Display a cursor to send a window to the system tray with a custom icon when pressing the left mouse button: + +`kdocker -i /{{path/to/icon}}` + +- Open an application, send it to the system tray and if focus is lost, minimize it: + +`kdocker -l {{application}}` + +- Display version: + +`kdocker --version` diff --git a/pages/linux/kernel-install.md b/pages/linux/kernel-install.md new file mode 100644 index 00000000000000..8bcd7de521b3aa --- /dev/null +++ b/pages/linux/kernel-install.md @@ -0,0 +1,16 @@ +# kernel-install + +> Add and remove kernel and initrd images to and from `/boot`. +> More information: . + +- Add kernel and initramfs images to bootloader partition: + +`sudo kernel-install add {{kernel-version}} {{kernel-image}} {{path/to/initrd-file ...}}` + +- Remove kernel from the bootloader partition: + +`sudo kernel-install remove {{kernel-version}}` + +- Show various paths and parameters that have been configured or auto-detected: + +`sudo kernel-install inspect {{kernel-image}}` diff --git a/pages/linux/kexec.md b/pages/linux/kexec.md index eebac3cc88dbfd..6b6850ab19162b 100644 --- a/pages/linux/kexec.md +++ b/pages/linux/kexec.md @@ -1,19 +1,20 @@ # kexec > Directly reboot into a new kernel. +> More information: . - Load a new kernel: -`kexec -l {{path/to/kernel}} --initrd={{path/to/initrd}} --command-line={{arguments}}` +`kexec {{[-l|--load]}} {{path/to/kernel}} --initrd={{path/to/initrd}} --command-line={{arguments}}` - Load a new kernel with current boot parameters: -`kexec -l {{path/to/kernel}} --initrd={{path/to/initrd}} --reuse-cmdline` +`kexec {{[-l|--load]}} {{path/to/kernel}} --initrd={{path/to/initrd}} --reuse-cmdline` - Execute a currently loaded kernel: -`kexec -e` +`kexec {{[-e|--exec]}}` - Unload current kexec target kernel: -`kexec -u` +`kexec {{[-u|--unload]}}` diff --git a/pages/linux/keyctl.md b/pages/linux/keyctl.md new file mode 100644 index 00000000000000..5f3f59b8fb40ed --- /dev/null +++ b/pages/linux/keyctl.md @@ -0,0 +1,36 @@ +# keyctl + +> Manipulate the Linux kernel keyring. +> More information: . + +- List keys in a specific keyring: + +`keyctl list {{target_keyring}}` + +- List current keys in the user default session: + +`keyctl list {{@us}}` + +- Store a key in a specific keyring: + +`keyctl add {{type_keyring}} {{key_name}} {{key_value}} {{target_keyring}}` + +- Store a key with its value from `stdin`: + +`echo -n {{key_value}} | keyctl padd {{type_keyring}} {{key_name}} {{target_keyring}}` + +- Put a timeout on a key: + +`keyctl timeout {{key_name}} {{timeout_in_seconds}}` + +- Read a key and format it as a hex-dump if not printable: + +`keyctl read {{key_name}}` + +- Read a key and format as-is: + +`keyctl pipe {{key_name}}` + +- Revoke a key and prevent any further action on it: + +`keyctl revoke {{key_name}}` diff --git a/pages/linux/keyd.md b/pages/linux/keyd.md new file mode 100644 index 00000000000000..03c3fbe2c31dc4 --- /dev/null +++ b/pages/linux/keyd.md @@ -0,0 +1,24 @@ +# keyd + +> Remap keys. +> More information: . + +- Start and enable the `keyd` service: + +`systemctl enable keyd --now` + +- Display keypress information: + +`sudo keyd monitor` + +- Reset bindings and reload the configuration files in `/etc/keyd`: + +`sudo keyd reload` + +- List all valid key names: + +`keyd list-keys` + +- Create a temporary binding: + +`sudo keyd bind "{{pressed_key}} = {{output_key}}"` diff --git a/pages/linux/kill.md b/pages/linux/kill.md new file mode 100644 index 00000000000000..7ed4246b6ad3b4 --- /dev/null +++ b/pages/linux/kill.md @@ -0,0 +1,37 @@ +# kill + +> Sends a signal to a process, usually related to stopping the process. +> All signals except for SIGKILL and SIGSTOP can be intercepted by the process to perform a clean exit. +> More information: . + +- Terminate a program using the default SIGTERM (terminate) signal: + +`kill {{process_id}}` + +- List signal values and their corresponding names (to be used without the `SIG` prefix). The available options may depend on the `kill` implementation: + +`kill {{-l|-L|--table}}` + +- Terminate a background job: + +`kill %{{job_id}}` + +- Terminate a program using the SIGHUP (hang up) signal. Many daemons will reload instead of terminating: + +`kill -{{1|HUP}} {{process_id}}` + +- Terminate a program using the SIGINT (interrupt) signal. This is typically initiated by the user pressing ``: + +`kill -{{2|INT}} {{process_id}}` + +- Signal the operating system to immediately terminate a program (which gets no chance to capture the signal): + +`kill -{{9|KILL}} {{process_id}}` + +- Signal the operating system to pause a program until a SIGCONT ("continue") signal is received: + +`kill -{{17|STOP}} {{process_id}}` + +- Send a `SIGUSR1` signal to all processes with the given GID (group id): + +`kill -{{SIGUSR1}} -{{group_id}}` diff --git a/pages/linux/kinfocenter.md b/pages/linux/kinfocenter.md new file mode 100644 index 00000000000000..5c1be70c91446d --- /dev/null +++ b/pages/linux/kinfocenter.md @@ -0,0 +1,16 @@ +# kinfocenter + +> KDE information center to show system information. +> More information: . + +- Open the GUI: + +`kinfocenter` + +- List all possible KCM modules for `kinfocenter`: + +`kinfocenter --list` + +- Display help: + +`kinfocenter {{[-h|--help]}}` diff --git a/pages/linux/kmod.md b/pages/linux/kmod.md new file mode 100644 index 00000000000000..b7e6be8fea0425 --- /dev/null +++ b/pages/linux/kmod.md @@ -0,0 +1,14 @@ +# kmod + +> Manage Linux kernel modules. +> This program is usually called via its symlinks: `lsmod`, `rmmod`, `insmod`, `modinfo`, `modprobe`, and `depmod`. +> See their respective pages for more information. +> More information: . + +- List currently loaded kernel modules: + +`kmod list` + +- Display the static device nodes information provided by the modules of the currently running kernel: + +`kmod static-nodes` diff --git a/pages/linux/knock.md b/pages/linux/knock.md new file mode 100644 index 00000000000000..f6a3efacb15e91 --- /dev/null +++ b/pages/linux/knock.md @@ -0,0 +1,20 @@ +# knock + +> Port knocking client to open specific ports on firewall. +> More information: . + +- Knock on ports using different protocols: + +`knock {{hostname}} {{portnumber}}:{{protocol}}` + +- Knock on port using UDP: + +`knock {{[-u|--udp]}} {{hostname}} {{portnumber}}` + +- Force usage of IPv4/IPv6: + +`knock {{-4|-6}} {{hostname}} {{portnumber}}` + +- Display errors and details of connection: + +`knock {{[-v|--verbose]}} {{hostname}} {{portnumber}}` diff --git a/pages/linux/knockd.md b/pages/linux/knockd.md new file mode 100644 index 00000000000000..a04824942c7a83 --- /dev/null +++ b/pages/linux/knockd.md @@ -0,0 +1,12 @@ +# knockd + +> Port knocking daemon to listen for port knocking and execute scripts. +> More information: . + +- Start knockd system daemon: + +`knockd {{[-d|--daemon]}}` + +- Use specified configuration file for knockd: + +`knockd {{[-c|--config]}} {{path/to/file}}.configuration` diff --git a/pages/linux/konsave.md b/pages/linux/konsave.md new file mode 100644 index 00000000000000..68744fee26d3a5 --- /dev/null +++ b/pages/linux/konsave.md @@ -0,0 +1,32 @@ +# konsave + +> Save and apply your Linux customizations with just one command. +> More information: . + +- Save the current configuration as a profile: + +`konsave {{[-s|--save]}} {{profile_name}}` + +- Apply a profile: + +`konsave {{[-a|--apply]}} {{profile_name}}` + +- Save the current configuration as a profile, overwriting existing profiles if they exist with the same name: + +`konsave {{[-s|--save]}} {{profile_name}} {{[-f|--force]}}` + +- List all profiles: + +`konsave {{[-l|--list]}}` + +- Remove a profile: + +`konsave {{[-r|--remove]}} {{profile_name}}` + +- Export a profile as a `.knsv` to the home directory: + +`konsave {{[-e|--export-profile]}} {{profile_name}}` + +- Import a `.knsv` profile: + +`konsave {{[-i|--import-profile]}} {{path/to/profile_name.knsv}}` diff --git a/pages/linux/konsole.md b/pages/linux/konsole.md index 5c01b7f4f1ebcf..629315f6d0df1e 100644 --- a/pages/linux/konsole.md +++ b/pages/linux/konsole.md @@ -1,24 +1,20 @@ # konsole -> Konsole: The KDE terminal emulator. -> More information: . +> KDE's terminal emulator. +> More information: . -- Open a new Konsole in a specific directory: +- Open the terminal in a specific directory: `konsole --workdir {{path/to/directory}}` -- Run a specific command and do not close the window after it exits: +- [e]xecute a specific command and don't close the window after it exits: -`konsole --noclose -e {{command}}` +`konsole --noclose -e "{{command}}"` - Open a new tab: `konsole --new-tab` -- Open a Konsole in the background and bring to the front when Ctrl+Shift+F12 (by default) is pressed: +- Open the terminal in the background and bring to the front when `` is pressed: `konsole --background-mode` - -- Open a Konsole with the emergency FALLBACK profile: - -`konsole --fallback-profile` diff --git a/pages/linux/kpackagetool5.md b/pages/linux/kpackagetool5.md index 329d089029dc58..194bc92bdbabaa 100644 --- a/pages/linux/kpackagetool5.md +++ b/pages/linux/kpackagetool5.md @@ -1,7 +1,7 @@ # kpackagetool5 -> KPackage Manager: Install, list, remove Plasma packages. -> More information: . +> KPackage Manager: install, list, remove Plasma packages. +> More information: . - List all known package types that can be installed: @@ -9,16 +9,16 @@ - Install the package from a directory: -`kpackagetool5 --type {{package_type}} --install {{path/to/directory}}` +`kpackagetool5 {{[-t|--type]}} {{package_type}} {{[-i|--install]}} {{path/to/directory}}` - Update installed package from a directory: -`kpackagetool5 --type {{package_type}} --upgrade {{path/to/directory}}` +`kpackagetool5 {{[-t|--type]}} {{package_type}} {{[-u|--upgrade]}} {{path/to/directory}}` -- List installed plasmoids (--global for all users): +- List installed plasmoids (`--global` for all users): -`kpackagetool5 --type Plasma/Applet --list --global` +`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-l|--list]}} {{[-g|--global]}}` - Remove a plasmoid by name: -`kpackagetool5 --type Plasma/Applet --remove "{{name}}"` +`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-r|--remove]}} "{{name}}"` diff --git a/pages/linux/kpackagetool6.md b/pages/linux/kpackagetool6.md new file mode 100644 index 00000000000000..4f4a737afd9e60 --- /dev/null +++ b/pages/linux/kpackagetool6.md @@ -0,0 +1,24 @@ +# kpackagetool6 + +> KPackage Manager: install, list, remove Plasma packages. +> More information: . + +- List all known package types that can be installed: + +`kpackagetool6 --list-types` + +- Install the package from a directory: + +`kpackagetool6 {{[-t|--type]}} {{package_type}} {{[-i|--install]}} {{path/to/directory}}` + +- Update installed package from a directory: + +`kpackagetool6 {{[-t|--type]}} {{package_type}} {{[-u|--upgrade]}} {{path/to/directory}}` + +- List installed plasmoids (`--global` for all users): + +`kpackagetool6 {{[-t|--type]}} Plasma/Applet {{[-l|--list]}} {{[-g|--global]}}` + +- Remove a plasmoid by name: + +`kpackagetool6 {{[-t|--type]}} Plasma/Applet {{[-r|--remove]}} "{{name}}"` diff --git a/pages/linux/kpartx.md b/pages/linux/kpartx.md index 141a32c6770038..bbf7cce2f2de0f 100644 --- a/pages/linux/kpartx.md +++ b/pages/linux/kpartx.md @@ -1,10 +1,11 @@ # kpartx > Create device maps from partition tables. +> More information: . -- Add partition mappings: +- Add partition mappings and print created mappings: -`kpartx -a {{whole_disk.img}}` +`kpartx -av {{whole_disk.img}}` - Delete partition mappings: diff --git a/pages/linux/krdpserver.md b/pages/linux/krdpserver.md new file mode 100644 index 00000000000000..9224f5843e9525 --- /dev/null +++ b/pages/linux/krdpserver.md @@ -0,0 +1,12 @@ +# krdpserver + +> Start an RDP server. +> More information: . + +- Start an RDP server with a username and password: + +`krdpserver {{[-u|--username]}} {{user_name}} {{[-p|--password]}} {{password}}` + +- Share a specific monitor marked by its index: + +`krdpserver {{[-u|--username]}} {{user_name}} {{[-p|--password]}} {{password}} --monitor {{n}}` diff --git a/pages/linux/kreadconfig5.md b/pages/linux/kreadconfig5.md new file mode 100644 index 00000000000000..ec9e4a0a0bbdcb --- /dev/null +++ b/pages/linux/kreadconfig5.md @@ -0,0 +1,16 @@ +# kreadconfig5 + +> Read KConfig entries for KDE Plasma. +> More information: . + +- Read a key from the global configuration: + +`kreadconfig5 --group {{group_name}} --key {{key_name}}` + +- Read a key from a specific configuration file: + +`kreadconfig5 --file {{path/to/file}} --group {{group_name}} --key {{key_name}}` + +- Check if systemd is used to start the Plasma session: + +`kreadconfig5 --file {{startkderc}} --group {{General}} --key {{systemdBoot}}` diff --git a/pages/linux/krfb-virtualmonitor.md b/pages/linux/krfb-virtualmonitor.md new file mode 100644 index 00000000000000..6a44c51cb59818 --- /dev/null +++ b/pages/linux/krfb-virtualmonitor.md @@ -0,0 +1,8 @@ +# krfb-virtualmonitor + +> Create a virtual monitor and allow that monitor to be used with VNC. +> More information: . + +- Create a virtual monitor: + +`krfb-virtualmonitor --resolution {{1920}}x{{1080}} --name {{monitor_name}} --password {{password}} --port {{5900}}` diff --git a/pages/linux/kscreen-console.md b/pages/linux/kscreen-console.md new file mode 100644 index 00000000000000..1283fc772d76b4 --- /dev/null +++ b/pages/linux/kscreen-console.md @@ -0,0 +1,32 @@ +# kscreen-console + +> Query KScreen's status. +> More information: . + +- Show all outputs and configuration files to attach to a bug report: + +`kscreen-console bug` + +- Show paths to KScreen configuration files: + +`kscreen-console config` + +- Show KScreen output information and configuration: + +`kscreen-console outputs` + +- Monitor for changes: + +`kscreen-console monitor` + +- Show the current KScreen configuration as JSON: + +`kscreen-console json` + +- Display help: + +`kscreen-console {{[-h|--help]}}` + +- Display help including Qt specific command-line options: + +`kscreen-console --help-all` diff --git a/pages/linux/kscreen-doctor.md b/pages/linux/kscreen-doctor.md new file mode 100644 index 00000000000000..d3a3facae5db31 --- /dev/null +++ b/pages/linux/kscreen-doctor.md @@ -0,0 +1,16 @@ +# kscreen-doctor + +> Change and manipulate the screen setup. +> More information: . + +- Show display output information: + +`kscreen-doctor {{[-o|--outputs]}}` + +- Set the rotation of a display output with an ID of 1 to the right: + +`kscreen-doctor {{output.1.rotation.right}}` + +- Set the scale of a display output with an ID of `HDMI-2` to 2 (200%): + +`kscreen-doctor {{output.HDMI-2.scale.2}}` diff --git a/pages/linux/ksvgtopng5.md b/pages/linux/ksvgtopng5.md index eb6484b91c7d6a..97721853c276ab 100644 --- a/pages/linux/ksvgtopng5.md +++ b/pages/linux/ksvgtopng5.md @@ -1,6 +1,7 @@ # ksvgtopng5 > Convert SVG files to PNG format. +> More information: . - Convert an SVG file (should be an absolute path) to PNG: diff --git a/pages/linux/kwallet-query.md b/pages/linux/kwallet-query.md new file mode 100644 index 00000000000000..db06796d884c25 --- /dev/null +++ b/pages/linux/kwallet-query.md @@ -0,0 +1,20 @@ +# kwallet-query + +> Read and write to a KDE Wallet. +> More information: . + +- List all entries in the `Passwords` folder of `kdewallet`: + +`kwallet-query {{kdewallet}} {{[-l|--list-entries]}}` + +- List all entries in a specific folder: + +`kwallet-query {{kdewallet}} {{[-l|--list-entries]}} {{[-f|--folder]}} {{folder_name}}` + +- List all available folders: + +`kwallet-query {{kdewallet}} {{[-l|--list-entries]}} {{[-f|--folder]}} ""` + +- Display help: + +`kwallet-query {{[-h|--help]}}` diff --git a/pages/linux/kwrite.md b/pages/linux/kwrite.md new file mode 100644 index 00000000000000..c6d4b835055ce0 --- /dev/null +++ b/pages/linux/kwrite.md @@ -0,0 +1,21 @@ +# kwrite + +> Text editor of the KDE Desktop project. +> See also: `kate`. +> More information: . + +- Open a text file: + +`kwrite {{path/to/file}}` + +- Open multiple text files: + +`kwrite {{file1 file2 ...}}` + +- Open a text file with a specific encoding: + +`kwrite --encoding {{UTF-8}} {{path/to/file}}` + +- Open a text file and navigate to a specific line and column: + +`kwrite --line {{line_number}} --column {{column_number}} {{path/to/file}}` diff --git a/pages/linux/kwriteconfig5.md b/pages/linux/kwriteconfig5.md new file mode 100644 index 00000000000000..1879c51bf58041 --- /dev/null +++ b/pages/linux/kwriteconfig5.md @@ -0,0 +1,32 @@ +# kwriteconfig5 + +> Write KConfig entries for KDE Plasma. +> More information: . + +- Display help: + +`kwriteconfig5 --help` + +- Set a global configuration key: + +`kwriteconfig5 --group {{group_name}} --key {{key}} {{value}}` + +- Set a key in a specific configuration file: + +`kwriteconfig5 --file {{path/to/file}} --group {{group_name}} --key {{key}} {{value}}` + +- Delete a key: + +`kwriteconfig5 --group {{group_name}} --key {{key}} --delete` + +- Use systemd to start the Plasma session when available: + +`kwriteconfig5 --file {{startkderc}} --group {{General}} --key {{systemdBoot}} {{true}}` + +- Hide the title bar when a window is maximized (like Ubuntu): + +`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{Windows}} --key {{BorderlessMaximizedWindows}} {{true}}` + +- Configure KRunner to open with the Meta (Command/Windows) global hotkey: + +`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} "{{org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch}}"` diff --git a/pages/linux/laptop-detect.md b/pages/linux/laptop-detect.md new file mode 100644 index 00000000000000..550a5140679eca --- /dev/null +++ b/pages/linux/laptop-detect.md @@ -0,0 +1,16 @@ +# laptop-detect + +> Attempt to determine if the script is running on a laptop or desktop. +> More information: . + +- Return an exit status of 0 if the current device is likely a laptop, else returns 1: + +`laptop-detect` + +- Print the type of device that the current system is detected as: + +`laptop-detect --verbose` + +- Display version: + +`laptop-detect --version` diff --git a/pages/linux/larasail.md b/pages/linux/larasail.md index f3d4496dc78c3a..9e82178e68061a 100644 --- a/pages/linux/larasail.md +++ b/pages/linux/larasail.md @@ -1,6 +1,6 @@ # larasail -> A CLI tool for managing Laravel on Digital Ocean servers. +> Manage Laravel on Digital Ocean servers. > More information: . - Set up the server with Laravel dependencies using the default PHP version: diff --git a/pages/linux/last.md b/pages/linux/last.md new file mode 100644 index 00000000000000..f3a88bc2158a16 --- /dev/null +++ b/pages/linux/last.md @@ -0,0 +1,36 @@ +# last + +> View the last logged in users. +> More information: . + +- View last login infromation (e.g., username, terminal, boot time, kernel) of all users as read from `/var/log/wtmp`: + +`last` + +- List login information of a specific user: + +`last {{username}}` + +- Specify how many of the last logins to show: + +`last {{[-n|--limit]}} {{login_count}}` + +- Print the full date and time for entries and then display the hostname column last to prevent truncation: + +`last {{[-F|--fulltimes]}} {{[-a|--hostlast]}}` + +- View all logins by a specific user and show the IP address instead of the hostname: + +`last {{username}} {{[-i|--ip]}}` + +- List information since a specific time and date: + +`last {{[-s|--since]}} {{-7days}}` + +- View all recorded reboots (i.e., the last logins of the pseudo user "reboot"): + +`last reboot` + +- Display help: + +`last {{[-h|--help]}}` diff --git a/pages/linux/lastb.md b/pages/linux/lastb.md index 248b08042e7392..4bb276ef8ee9d2 100644 --- a/pages/linux/lastb.md +++ b/pages/linux/lastb.md @@ -1,23 +1,24 @@ # lastb -> Show a listing of last logged in users. +> List last logged in users. +> More information: . -- Show a list of all last logged in users: +- List last logged in users: `sudo lastb` -- Show a list of all last logged in users since a given time: +- List all last logged in users since a given time: -`sudo lastb --since {{YYYY-MM-DD}}` +`sudo lastb {{[-s|--since]}} {{YYYY-MM-DD}}` -- Show a list of all last logged in users until a given time: +- List all last logged in users until a given time: -`sudo lastb --until {{YYYY-MM-DD}}` +`sudo lastb {{[-t|--until]}} {{YYYY-MM-DD}}` -- Show a list of all logged in users at a specific time: +- List all logged in users at a specific time: -`sudo lastb --present {{hh:mm}}` +`sudo lastb {{[-p|--present]}} {{hh:mm}}` -- Show a list of all last logged in users and translate the IP into a hostname: +- List all last logged in users and translate the IP into a hostname: -`sudo lastb --dns` +`sudo lastb {{[-d|--dns]}}` diff --git a/pages/linux/lastcomm.md b/pages/linux/lastcomm.md deleted file mode 100644 index 1aecfe0b8f932b..00000000000000 --- a/pages/linux/lastcomm.md +++ /dev/null @@ -1,20 +0,0 @@ -# lastcomm - -> Show last commands executed. -> More information: . - -- Print information about all of the commands in the acct (record file): - -`lastcomm` - -- Display commands executed by a given user: - -`lastcomm --user {{user}}` - -- Display information about a given command executed on the system: - -`lastcomm --command {{command}}` - -- Display information about commands executed on a given terminal: - -`lastcomm --tty {{terminal_name}}` diff --git a/pages/linux/lastlog.md b/pages/linux/lastlog.md index 6ea64247ca29d1..893b2ef87b6388 100644 --- a/pages/linux/lastlog.md +++ b/pages/linux/lastlog.md @@ -1,19 +1,20 @@ # lastlog -> Show the most recent login of all users or of a given user. +> Show the most recent login of all users or of a user. +> More information: . - Display the most recent login of all users: `lastlog` -- Display lastlog record of the specified user: +- Display the lastlog record of the specified user: -`lastlog -u {{username}}` +`lastlog --user {{username}}` -- Display records before than 7 days: +- Display records older than 7 days: -`lastlog -b {{7}}` +`lastlog --before 7` - Display records more recent than 3 days: -`lastlog -t {{3}}` +`lastlog --time 3` diff --git a/pages/linux/latte-dock.md b/pages/linux/latte-dock.md new file mode 100644 index 00000000000000..966a1c8e2e09e3 --- /dev/null +++ b/pages/linux/latte-dock.md @@ -0,0 +1,20 @@ +# latte-dock + +> Replacement dock for Plasma desktop. +> More information: . + +- Clear QML cache: + +`latte-dock --clear-cache` + +- Import and load default layout on startup: + +`latte-dock --default-layout` + +- Load a specific layout on startup: + +`latte-dock --layout {{layout_name}}` + +- Import and load a specific layout: + +`latte-dock --import-layout {{path/to/file}}` diff --git a/pages/linux/lbu.md b/pages/linux/lbu.md new file mode 100644 index 00000000000000..96ac95847f20b3 --- /dev/null +++ b/pages/linux/lbu.md @@ -0,0 +1,37 @@ +# lbu + +> Manage `apk` overlay files on a diskless Alpine Linux system. +> Note: Subcommands like `include` write to `/etc`, which is stored in RAM. You need to run `lbu commit` to save the changes. +> More information: . + +- Commit changes to persistent storage (only files in `/etc` by default): + +`lbu {{[ci|commit]}}` + +- List files that would be saved using `commit`: + +`lbu {{[st|status]}}` + +- Display changes in tracked files that would be saved using `commit`: + +`lbu diff` + +- Include a specific file or directory in the `apk` overlay: + +`lbu {{[inc|include]}} {{path/to/file_or_directory}}` + +- Exclude a specific file or directory in `/etc` from the `apk` overlay: + +`lbu {{[ex|exclude]}} {{path/to/file_or_directory}}` + +- Display the list of manually included/excluded files: + +`lbu {{include|exclude}} -l` + +- List backups (previously created overlays): + +`lbu {{[lb|list-backup]}}` + +- Revert to a backup overlay: + +`lbu revert {{overlay_filename.tar.gz}}` diff --git a/pages/linux/lchage.md b/pages/linux/lchage.md new file mode 100644 index 00000000000000..ab42f986d1097d --- /dev/null +++ b/pages/linux/lchage.md @@ -0,0 +1,20 @@ +# lchage + +> Display or change user password policy. +> More information: . + +- Disable password expiration for the user: + +`sudo lchage --date -1 {{username}}` + +- Display the password policy for the user: + +`sudo lchage --list {{username}}` + +- Require password change for the user a certain number of days after the last password change: + +`sudo lchage --maxdays {{number_of_days}} {{username}}` + +- Start warning the user a certain number of days before the password expires: + +`sudo lchage --warndays {{number_of_days}} {{username}}` diff --git a/pages/linux/lci.md b/pages/linux/lci.md new file mode 100644 index 00000000000000..3264f66eaa0223 --- /dev/null +++ b/pages/linux/lci.md @@ -0,0 +1,16 @@ +# lci + +> LOLCODE interpreter written in C. +> More information: . + +- Run a LOLCODE file: + +`lci {{path/to/file}}` + +- Display help: + +`lci -h` + +- Display version: + +`lci -v` diff --git a/pages/linux/ldapdomaindump.md b/pages/linux/ldapdomaindump.md new file mode 100644 index 00000000000000..d5e2dedb9e181b --- /dev/null +++ b/pages/linux/ldapdomaindump.md @@ -0,0 +1,21 @@ +# ldapdomaindump + +> Dump users, computers, groups, OS and membership information via LDAP to HTML, JSON and greppable output. +> See also: `ldapsearch`. +> More information: . + +- Dump all information using the given LDAP account: + +`ldapdomaindump {{[-u|--user]}} {{domain}}\{{username}} {{[-p|--password]}} {{password|ntlm_hash}} {{hostname|ip}}` + +- Dump all information, resolving computer hostnames: + +`ldapdomaindump {{[-r|--resolve]}} {{[-u|--user]}} {{domain}}\{{username}} {{[-p|--password]}}{{password}} {{hostname|ip}}` + +- Dump all information, resolving computer hostnames with the selected DNS server: + +`ldapdomaindump {{[-r|--resolve]}} {{[-n|--dns-server]}} {{domain_controller_ip}} {{[-u|--user]}} {{domain}}\{{username}} {{[-p|--password]}}{{password}} {{hostname|ip}}` + +- Dump all information to the given directory without JSON output: + +`ldapdomaindump --no-json {{[-o|--outdir]}} {{path/to/directory}} {{[-u|--user]}} {{domain}}\{{username}} {{[-p|--password]}}{{password}} {{hostname|ip}}` diff --git a/pages/linux/ldconfig.md b/pages/linux/ldconfig.md index a8ee1d5a5e4715..c387384626377d 100644 --- a/pages/linux/ldconfig.md +++ b/pages/linux/ldconfig.md @@ -1,6 +1,7 @@ # ldconfig > Configure symlinks and cache for shared library dependencies. +> More information: . - Update symlinks and rebuild the cache (usually run when a new library is installed): @@ -12,4 +13,4 @@ - Print the libraries in the cache and check whether a given library is present: -`ldconfig -p | grep {{library_name}}` +`ldconfig {{[-p|--print-cache]}} | grep {{library_name}}` diff --git a/pages/linux/ldd.md b/pages/linux/ldd.md index a8cc72adde02fc..de4e55bca40b17 100644 --- a/pages/linux/ldd.md +++ b/pages/linux/ldd.md @@ -1,11 +1,25 @@ # ldd -> Display shared library dependencies. +> Display shared library dependencies of a binary. +> Do not use on an untrusted binary, use objdump for that instead. +> More information: . - Display shared library dependencies of a binary: `ldd {{path/to/binary}}` +- Display all information about dependencies: + +`ldd {{[-v|--verbose]}} {{path/to/binary}}` + - Display unused direct dependencies: -`ldd -u {{path/to/binary}}` +`ldd {{[-u|--unused]}} {{path/to/binary}}` + +- Report missing data objects and perform data relocations: + +`ldd {{[-d|--data-relocs]}} {{path/to/binary}}` + +- Report missing data objects and functions, and perform relocations for both: + +`ldd {{[-r|--function-relocs]}} {{path/to/binary}}` diff --git a/pages/linux/lddd.md b/pages/linux/lddd.md new file mode 100644 index 00000000000000..f063ff4fff4484 --- /dev/null +++ b/pages/linux/lddd.md @@ -0,0 +1,9 @@ +# lddd + +> Find broken library links on the system. +> This tool is only available on Arch Linux. +> More information: . + +- Scan directories to find and list packages with broken library links that need to be rebuilt: + +`lddd` diff --git a/pages/linux/ledctl.md b/pages/linux/ledctl.md new file mode 100644 index 00000000000000..21acc252bb9f36 --- /dev/null +++ b/pages/linux/ledctl.md @@ -0,0 +1,20 @@ +# ledctl + +> Intel(R) Enclosure LED Control Application. +> More information: . + +- Turn on the "Locate" LED for specified device(s): + +`sudo ledctl locate={{/dev/sda,/dev/sdb,...}}` + +- Turn off the "Locate" LED for specified device(s): + +`sudo ledctl locate_off={{/dev/sda,/dev/sdb,...}}` + +- Turn off the "Status" LED and "Failure" LED for specified device(s): + +`sudo ledctl off={{/dev/sda,/dev/sdb,...}}` + +- Turn off the "Status" LED, "Failure" LED and "Locate" LED for specified device(s): + +`sudo ledctl normal={{/dev/sda,/dev/sdb,...}}` diff --git a/pages/linux/legit.md b/pages/linux/legit.md index 4450a2b4a092a5..d6d0e9b8b349e3 100644 --- a/pages/linux/legit.md +++ b/pages/linux/legit.md @@ -5,7 +5,7 @@ - Switch to a specified branch, stashing and restoring unstaged changes: -`git switch {{target_branch}}` +`git sw {{target_branch}}` - Synchronize current branch, automatically merging or rebasing, and stashing and unstashing: @@ -25,4 +25,4 @@ - Remove the last commit from the history: -`git undo {{--hard}}` +`git undo --hard` diff --git a/pages/linux/lex.md b/pages/linux/lex.md new file mode 100644 index 00000000000000..795da5298acf95 --- /dev/null +++ b/pages/linux/lex.md @@ -0,0 +1,7 @@ +# lex + +> This command is an alias of `flex`. + +- View documentation for the original command: + +`tldr flex` diff --git a/pages/linux/lftp.md b/pages/linux/lftp.md index 70fcc72f563d8c..937c0f03edc59c 100644 --- a/pages/linux/lftp.md +++ b/pages/linux/lftp.md @@ -1,11 +1,11 @@ # lftp > Sophisticated file transfer program. -> More information: . +> More information: . - Connect to an FTP server: -`lftp {{ftp.example.com}}` +`lftp {{[-u|--user]}} {{username}} {{ftp.example.com}}` - Download multiple files (glob expression): @@ -25,8 +25,8 @@ - Download or update an entire directory: -`mirror {{path/to/remote_dir}} {{path/to/local_output_dir}}` +`mirror {{path/to/remote_directory}} {{path/to/local_output_directory}}` - Upload or update an entire directory: -`mirror -R {{path/to/local_dir}} {{path/to/remote_output_dir}}` +`mirror {{[-R|--reverse]}} {{path/to/local_directory}} {{path/to/remote_output_directory}}` diff --git a/pages/linux/libinput.md b/pages/linux/libinput.md new file mode 100644 index 00000000000000..da0cba43dd04cb --- /dev/null +++ b/pages/linux/libinput.md @@ -0,0 +1,24 @@ +# libinput + +> Interface with libinput. +> More information: . + +- List all devices recognized by libinput: + +`sudo libinput list-devices` + +- Print all libinput events: + +`sudo libinput debug-events` + +- Show a GUI to visualize libinput's events: + +`sudo libinput debug-gui` + +- Debug tablet axis values: + +`sudo libinput debug-tablet` + +- Display help: + +`libinput {{[-h|--help]}}` diff --git a/pages/linux/libreoffice.md b/pages/linux/libreoffice.md deleted file mode 100644 index 0ad38c4f0cc8a0..00000000000000 --- a/pages/linux/libreoffice.md +++ /dev/null @@ -1,20 +0,0 @@ -# libreoffice - -> CLI for the powerful and free office suite LibreOffice. -> More information: . - -- Open a space-separated list of files in read-only mode: - -`libreoffice --view {{path/to/file1}} {{path/to/file2}}` - -- Display the content of specific files: - -`libreoffice --cat {{path/to/file1}} {{path/to/file2}}` - -- Print files to a specific printer: - -`libreoffice --pt {{printer_name}} {{path/to/file1}} {{path/to/file2}}` - -- Convert all .doc files in current directory to pdf: - -`libreoffice --convert-to {{pdf}} {{*.doc}}` diff --git a/pages/linux/libtool.md b/pages/linux/libtool.md new file mode 100644 index 00000000000000..71363352805e51 --- /dev/null +++ b/pages/linux/libtool.md @@ -0,0 +1,32 @@ +# libtool + +> A generic library support script that hides the complexity of using shared libraries behind a consistent, portable interface. +> More information: . + +- Compile a source file into a `libtool` object: + +`libtool {{[c|compile]}} gcc {{[-c|--compile]}} {{path/to/source.c}} {{[-o|--output]}} {{path/to/source.lo}}` + +- Create a library or an executable: + +`libtool {{[l|link]}} gcc {{[-o|--output]}} {{path/to/library.lo}} {{path/to/source.lo}}` + +- Automatically set the library path so that another program can use uninstalled `libtool` generated programs or libraries: + +`libtool {{[e|execute]}} gdb {{path/to/program}}` + +- Install a shared library: + +`libtool {{[i|install]}} cp {{path/to/library.la}} {{path/to/installation_directory}}` + +- Complete the installation of `libtool` libraries on the system: + +`libtool {{[f|finish]}} {{path/to/installation_directory}}` + +- Delete installed libraries or executables: + +`libtool {{[u|uninstall]}} {{path/to/installed_library.la}}` + +- Delete uninstalled libraries or executables: + +`libtool {{[cl|clean]}} rm {{path/to/source.lo}} {{path/to/library.la}}` diff --git a/pages/linux/libtoolize.md b/pages/linux/libtoolize.md new file mode 100644 index 00000000000000..2a6aadef06c6fc --- /dev/null +++ b/pages/linux/libtoolize.md @@ -0,0 +1,9 @@ +# libtoolize + +> An `autotools` tool to prepare a package for using `libtool`. +> It performs various tasks, including generating necessary files and directories to integrate `libtool` seamlessly into a project. +> More information: . + +- Initialize a project for `libtool` by copying necessary files (avoiding symbolic links) and overwriting existing files if needed: + +`libtoolize {{[-cf|--copy --force]}}` diff --git a/pages/linux/libuser-lid.md b/pages/linux/libuser-lid.md new file mode 100644 index 00000000000000..fc160d0db79c34 --- /dev/null +++ b/pages/linux/libuser-lid.md @@ -0,0 +1,7 @@ +# libuser-lid + +> This command is an alias of `lid`. + +- View documentation for the original command: + +`tldr lid.libuser` diff --git a/pages/linux/lid.libuser.md b/pages/linux/lid.libuser.md new file mode 100644 index 00000000000000..05113256ecb7aa --- /dev/null +++ b/pages/linux/lid.libuser.md @@ -0,0 +1,12 @@ +# lid + +> Display a user's groups or a group's users. +> More information: . + +- List primary and secondary groups of a specific user: + +`sudo lid {{username}}` + +- List users of a specific group: + +`sudo lid --group {{group_name}}` diff --git a/pages/linux/lid.md b/pages/linux/lid.md new file mode 100644 index 00000000000000..7edc90ee5bb302 --- /dev/null +++ b/pages/linux/lid.md @@ -0,0 +1,11 @@ +# lid + +> `lid` can refer to multiple commands with the same name. + +- View documentation for the `libuser` tool: + +`tldr lid.libuser` + +- View documentation for the `idutils` tool: + +`tldr lid.idutils` diff --git a/pages/linux/light.md b/pages/linux/light.md index 0421f7c2bd2d35..57b7df977c7281 100644 --- a/pages/linux/light.md +++ b/pages/linux/light.md @@ -1,6 +1,7 @@ # light -> CLI to control the backlight of your screen. +> Control the backlight of your screen. +> More information: . - Get the current backlight value in percent: diff --git a/pages/linux/line.md b/pages/linux/line.md index 94ed7c0bdc22ac..20f6fceb3a8146 100644 --- a/pages/linux/line.md +++ b/pages/linux/line.md @@ -1,6 +1,7 @@ # line > Read a single line of input. +> More information: . - Read input: diff --git a/pages/linux/links.md b/pages/linux/links.md new file mode 100644 index 00000000000000..8d937f1156cba1 --- /dev/null +++ b/pages/linux/links.md @@ -0,0 +1,29 @@ +# links + +> Command-line text-only web browser. +> See also: `links2'. +> More information: . + +- Visit a website: + +`links {{https://example.com}}` + +- Apply restrictions for anonymous account: + +`links -anonymous {{https://example.com}}` + +- Enable Cookies (`1` to enable): + +`links -enable-cookies {{0|1}} {{https://example.com}}` + +- Navigate forwards and backwards through the links on a page: + +`{{|}}` + +- Go forwards and backwards one page: + +`{{|}}` + +- Exit: + +`` diff --git a/pages/linux/links2.md b/pages/linux/links2.md new file mode 100644 index 00000000000000..1233c3729b2bfa --- /dev/null +++ b/pages/linux/links2.md @@ -0,0 +1,9 @@ +# links2 + +> Command-line web browser with optional graphics support. +> See also: `links`. +> More information: . + +- Visit a website in graphics mode: + +`links2 -g {{https://example.com}}` diff --git a/pages/linux/linux-boot-prober.md b/pages/linux/linux-boot-prober.md new file mode 100644 index 00000000000000..63d24cb79eebe0 --- /dev/null +++ b/pages/linux/linux-boot-prober.md @@ -0,0 +1,8 @@ +# linux-boot-prober + +> Probe a partition for bootable operating systems. +> More information: . + +- Probe a partition: + +`sudo linux-boot-prober {{/dev/sdXY}}` diff --git a/pages/linux/linux32.md b/pages/linux/linux32.md new file mode 100644 index 00000000000000..d686342390b772 --- /dev/null +++ b/pages/linux/linux32.md @@ -0,0 +1,7 @@ +# linux32 + +> This command is an alias of `setarch linux32`. + +- View documentation for the original command: + +`tldr setarch` diff --git a/pages/linux/linux64.md b/pages/linux/linux64.md new file mode 100644 index 00000000000000..7e9ef93b3b8084 --- /dev/null +++ b/pages/linux/linux64.md @@ -0,0 +1,7 @@ +# linux64 + +> This command is an alias of `setarch linux64`. + +- View documentation for the original command: + +`tldr setarch` diff --git a/pages/linux/lldb.md b/pages/linux/lldb.md deleted file mode 100644 index 8255dc7e368e5b..00000000000000 --- a/pages/linux/lldb.md +++ /dev/null @@ -1,15 +0,0 @@ -# lldb - -> The LLVM Low-Level Debugger. - -- Debug an executable: - -`lldb {{executable}}` - -- Attach `lldb` to a running process with a given PID: - -`lldb -p {{pid}}` - -- Wait for a new process to launch with a given name, and attach to it: - -`lldb -w -n {{process_name}}` diff --git a/pages/linux/lldpctl.md b/pages/linux/lldpctl.md new file mode 100644 index 00000000000000..85c7e7faa71408 --- /dev/null +++ b/pages/linux/lldpctl.md @@ -0,0 +1,16 @@ +# lldpctl + +> Print link layer discovery protocol information. +> More information: . + +- Start the lldp daemon: + +`systemctl start lldpd` + +- Display collected neighbor data: + +`sudo lldpctl` + +- Display help: + +`lldpctl {{[-h|--help]}}` diff --git a/pages/linux/lnav.md b/pages/linux/lnav.md new file mode 100644 index 00000000000000..670f94cfa79af8 --- /dev/null +++ b/pages/linux/lnav.md @@ -0,0 +1,16 @@ +# lnav + +> Advanced log file viewer to analyze logs with little to no setup. +> More information: . + +- View logs of a program, specifying log files, directories or URLs: + +`lnav {{path/to/log_or_directory|url}}` + +- View logs of a specific remote host (SSH passwordless login required): + +`lnav {{ssh}} {{user}}@{{host1.example.com}}:{{/var/log/syslog.log}}` + +- Validate the format of log files against the configuration and report any errors: + +`lnav -C {{path/to/log_directory}}` diff --git a/pages/linux/lndir.md b/pages/linux/lndir.md new file mode 100644 index 00000000000000..773d24241cdc20 --- /dev/null +++ b/pages/linux/lndir.md @@ -0,0 +1,8 @@ +# lndir + +> Create a shadow directory of symbolic links to another directory tree. +> More information: . + +- Create a shadow directory in the current directory: + +`lndir {{path/to/directory}}` diff --git a/pages/linux/loadkeys.md b/pages/linux/loadkeys.md new file mode 100644 index 00000000000000..74c74ce43c5d35 --- /dev/null +++ b/pages/linux/loadkeys.md @@ -0,0 +1,37 @@ +# loadkeys + +> Load the kernel keymap for the console. +> See also: `localectl`. +> More information: . + +- Load a specific keyboard layout for the current console: + +`sudo loadkeys {{en|de|fi|dvorak|defkeymap|...}}` + +- Load a default keymap: + +`sudo loadkeys {{[-d|--default]}}` + +- Create a kernel source table: + +`loadkeys {{[-m|--mktable]}}` + +- Create a binary keymap: + +`loadkeys {{[-b|--bkeymap]}}` + +- Search and parse keymap without action: + +`loadkeys {{[-p|--parse]}}` + +- Load the keymap suppressing all output: + +`loadkeys {{[-q|--quiet]}}` + +- Set a keymap for a specific console: + +`sudo loadkeys {{[-C|--console]}} {{/dev/ttyN}} {{uk}}` + +- Load a keymap from the specified file for the console: + +`loadkeys {{[-C|--console]}} {{/dev/ttyN}} /{{path/to/file}}` diff --git a/pages/linux/locale-gen.md b/pages/linux/locale-gen.md new file mode 100644 index 00000000000000..5bdf9d6a41b48c --- /dev/null +++ b/pages/linux/locale-gen.md @@ -0,0 +1,12 @@ +# locale-gen + +> Generate locales defined in `/etc/locale.gen`. +> More information: . + +- Generate locales: + +`locale-gen` + +- Do not delete undefined locales: + +`locale-gen --keep-existing` diff --git a/pages/linux/locale.md b/pages/linux/locale.md new file mode 100644 index 00000000000000..27587395ff4389 --- /dev/null +++ b/pages/linux/locale.md @@ -0,0 +1,20 @@ +# locale + +> Get locale-specific information. +> More information: . + +- List all global environment variables describing the user's locale: + +`locale` + +- List all available locales: + +`locale {{[-a|--all-locales]}}` + +- Display all available locales and the associated metadata: + +`locale {{[-a|--all-locales]}} {{[-v|--verbose]}}` + +- Display the current date format: + +`locale date_fmt` diff --git a/pages/linux/localectl.md b/pages/linux/localectl.md new file mode 100644 index 00000000000000..9684fdffafe6e8 --- /dev/null +++ b/pages/linux/localectl.md @@ -0,0 +1,24 @@ +# localectl + +> Control the system locale and keyboard layout settings. +> More information: . + +- Show the current settings of the system locale and keyboard mapping: + +`localectl` + +- List available locales: + +`localectl list-locales` + +- Set a system locale variable: + +`localectl set-locale {{LANG}}={{en_US.UTF-8}}` + +- List available keymaps: + +`localectl list-keymaps` + +- Set the system keyboard mapping for the console and X11: + +`localectl set-keymap {{us}}` diff --git a/pages/linux/localedef.md b/pages/linux/localedef.md new file mode 100644 index 00000000000000..5ce940af1e0641 --- /dev/null +++ b/pages/linux/localedef.md @@ -0,0 +1,12 @@ +# localedef + +> Manage locale definition files. +> More information: . + +- List compiled locales: + +`localedef --list-archive` + +- Display help: + +`localedef {{[-?|--help]}}` diff --git a/pages/linux/locate.md b/pages/linux/locate.md index ff8589a79ab270..ab884248139714 100644 --- a/pages/linux/locate.md +++ b/pages/linux/locate.md @@ -1,14 +1,15 @@ # locate > Find filenames quickly. +> More information: . -- Look for pattern in the database. Note: the database is recomputed periodically (usually weekly or daily): +- Look for pattern in the database. Note: The database is recomputed periodically (usually weekly or daily): `locate {{pattern}}` - Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`): -`locate */{{filename}}` +`locate '*/{{filename}}'` - Recompute the database. You need to do it if you want to find recently added files: diff --git a/pages/linux/logcat.md b/pages/linux/logcat.md deleted file mode 100644 index 4d7b269c6299e1..00000000000000 --- a/pages/linux/logcat.md +++ /dev/null @@ -1,17 +0,0 @@ -# logcat - -> Dump a log of system messages. -> Native Android CLI tool. -> More information: . - -- Display system logs: - -`logcat` - -- Write system logs to a file: - -`logcat -f {{path/to/file}}` - -- Display lines that match a regex: - -`logcat --regex {{regex}}` diff --git a/pages/linux/logger.md b/pages/linux/logger.md index 07505d34e5adbb..0b4bb98c504c7c 100644 --- a/pages/linux/logger.md +++ b/pages/linux/logger.md @@ -1,6 +1,7 @@ # logger -> Add messages to syslog (/var/log/syslog). +> Add messages to the system log. +> More information: . - Log a message to syslog: @@ -12,12 +13,12 @@ - Send the output to a remote syslog server running at a given port. Default port is 514: -`echo {{log_entry}} | logger --server {{hostname}} --port {{port}}` +`echo {{log_entry}} | logger {{[-n|--server]}} {{hostname}} {{[-P|--port]}} {{port}}` - Use a specific tag for every line logged. Default is the name of logged in user: -`echo {{log_entry}} | logger --tag {{tag}}` +`echo {{log_entry}} | logger {{[-t|--tag]}} {{tag}}` - Log messages with a given priority. Default is `user.notice`. See `man logger` for all priority options: -`echo {{log_entry}} | logger --priority {{user.warning}}` +`echo {{log_entry}} | logger {{[-p|--priority]}} {{user.warning}}` diff --git a/pages/linux/login.md b/pages/linux/login.md index d004e47b0b1b71..96a90e9b167c91 100644 --- a/pages/linux/login.md +++ b/pages/linux/login.md @@ -1,19 +1,20 @@ # login > Initiates a session for a user. +> More information: . -- Login as a user: +- Log in as a user: `login {{user}}` -- Login as user without authentication if user is preauthenticated: +- Log in as user without authentication if user is preauthenticated: `login -f {{user}}` -- Login as user and preserve environment: +- Log in as user and preserve environment: `login -p {{user}}` -- Login as a user on a remote host: +- Log in as a user on a remote host: `login -h {{host}} {{user}}` diff --git a/pages/linux/loginctl.md b/pages/linux/loginctl.md new file mode 100644 index 00000000000000..08a623617f69ca --- /dev/null +++ b/pages/linux/loginctl.md @@ -0,0 +1,33 @@ +# loginctl + +> Manage the systemd login manager. +> See also: `lslogins`. +> More information: . + +- Print all current sessions: + +`loginctl` + +- Print all properties of a specific session: + +`loginctl show-session {{session_id}} {{[-a|--all]}}` + +- Print all properties of a specific user: + +`loginctl show-user {{username}}` + +- Print a specific property of a user: + +`loginctl show-user {{username}} {{[-p|--property]}} {{property_name}}` + +- Execute a `loginctl` operation on a remote host: + +`loginctl list-users {{[-H|--host]}} {{hostname}}` + +- Log a user out on all of their sessions: + +`loginctl terminate-user {{username}}` + +- Display help: + +`loginctl {{[-h|--help]}}` diff --git a/pages/linux/logread.md b/pages/linux/logread.md new file mode 100644 index 00000000000000..60b34c4f60798c --- /dev/null +++ b/pages/linux/logread.md @@ -0,0 +1,24 @@ +# logread + +> Read the `logd` ring buffer log. +> More information: . + +- Print the log: + +`logread` + +- Print `n` messages: + +`logread -l {{n}}` + +- Filter messages by (Keyword/`regex`): + +`logread -e {{pattern}}` + +- Print log messages as they happen: + +`logread -f` + +- Display help: + +`logread -h` diff --git a/pages/linux/logrotate.md b/pages/linux/logrotate.md new file mode 100644 index 00000000000000..9717c545137cc2 --- /dev/null +++ b/pages/linux/logrotate.md @@ -0,0 +1,24 @@ +# logrotate + +> Rotates, compresses, and mails system logs. +> More information: . + +- Trigger a run manually: + +`logrotate {{path/to/logrotate.conf}} --force` + +- Run using a specific command to mail reports: + +`logrotate {{path/to/logrotate.conf}} --mail {{/usr/bin/mail_command}}` + +- Run without using a state (lock) file: + +`logrotate {{path/to/logrotate.conf}} --state /dev/null` + +- Run and skip the state (lock) file check: + +`logrotate {{path/to/logrotate.conf}} --skip-state-lock` + +- Tell `logrotate` to log verbose output into the log file: + +`logrotate {{path/to/logrotate.conf}} --log {{path/to/log_file}}` diff --git a/pages/linux/logsave.md b/pages/linux/logsave.md index 7b9b82d6c00419..168a6415bafdf1 100644 --- a/pages/linux/logsave.md +++ b/pages/linux/logsave.md @@ -1,13 +1,13 @@ # logsave > Save the output of a command in a logfile. -> More information: . +> More information: . - Execute command with specified argument(s) and save its output to log file: `logsave {{path/to/logfile}} {{command}}` -- Take input from standard input and save it in a log file: +- Take input from `stdin` and save it in a log file: `logsave {{logfile}} -` diff --git a/pages/linux/logwatch.md b/pages/linux/logwatch.md index 3d6aaa65c75223..f13ae90f9c07dd 100644 --- a/pages/linux/logwatch.md +++ b/pages/linux/logwatch.md @@ -1,11 +1,12 @@ # logwatch -> Summarizes many different logs for common services (e.g., apache, pam_unix, sshd, etc.) in a single report. +> Summarizes many different logs for common services (e.g. apache, pam_unix, sshd, etc.) in a single report. +> More information: . -- Analyze logs for a range of dates at certain level of detail: +- Analyze logs for a range of dates at a certain level of detail: `logwatch --range {{yesterday|today|all|help}} --detail {{low|medium|others}}'` - Restrict report to only include information for a selected service: -`logwatch --range {{all}} --service {{apache|pam_unix|etc}}` +`logwatch --range {{all}} --service {{apache|pam_unix|...}}` diff --git a/pages/linux/look.md b/pages/linux/look.md new file mode 100644 index 00000000000000..a951feb759f306 --- /dev/null +++ b/pages/linux/look.md @@ -0,0 +1,26 @@ +# look + +> Display lines beginning with a prefix in a file. +> Note: The lines in the file must be sorted. +> See also: `grep`, `sort`. +> More information: . + +- Search for lines beginning with a specific prefix in a specific file: + +`look {{prefix}} {{path/to/file}}` + +- Case-insensitively search only on blank and alphanumeric characters: + +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{path/to/file}}` + +- Specify a string termination character (space by default): + +`look {{[-t|--terminate]}} {{,}}` + +- Search in `/usr/share/dict/words` (`--ignore-case` and `--alphanum` are assumed): + +`look {{prefix}}` + +- Search in `/usr/share/dict/web2` (`--ignore-case` and `--alphanum` are assumed): + +`look {{[-a|--alternative]}} {{prefix}}` diff --git a/pages/linux/lookandfeeltool.md b/pages/linux/lookandfeeltool.md new file mode 100644 index 00000000000000..193a9eada5f928 --- /dev/null +++ b/pages/linux/lookandfeeltool.md @@ -0,0 +1,7 @@ +# lookandfeeltool + +> This command is an alias of `plasma-apply-lookandfeel`. + +- View documentation for the original command: + +`tldr plasma-apply-lookandfeel` diff --git a/pages/linux/losetup.md b/pages/linux/losetup.md index 9410443d46d9c2..c2b1e1df12cd63 100644 --- a/pages/linux/losetup.md +++ b/pages/linux/losetup.md @@ -1,27 +1,28 @@ # losetup > Set up and control loop devices. +> More information: . - List loop devices with detailed info: -`losetup -a` +`losetup {{[-a|--all]}}` - Attach a file to a given loop device: -`sudo losetup /dev/{{loop}} /{{path/to/file}}` +`sudo losetup {{/dev/loop}} /{{path/to/file}}` - Attach a file to a new free loop device and scan the device for partitions: -`sudo losetup --show --partscan -f /{{path/to/file}}` +`sudo losetup --show {{[-P|--partscan]}} {{[-f|--find]}} /{{path/to/file}}` - Attach a file to a read-only loop device: -`sudo losetup --read-only /dev/{{loop}} /{{path/to/file}}` +`sudo losetup {{[-r|--read-only]}} {{/dev/loop}} /{{path/to/file}}` - Detach all loop devices: -`sudo losetup -D` +`sudo losetup {{[-D|--detach-all]}}` - Detach a given loop device: -`sudo losetup -d /dev/{{loop}}` +`sudo losetup {{[-d|--detach]}} {{/dev/loop}}` diff --git a/pages/linux/lrunzip.md b/pages/linux/lrunzip.md index 69da8af0003605..3681539d48ebe9 100644 --- a/pages/linux/lrunzip.md +++ b/pages/linux/lrunzip.md @@ -1,24 +1,7 @@ # lrunzip -> A large file decompression program. -> See also `lrzip`, `lrztar`, `lrzuntar`. +> This command is an alias of `lrzip -d`. -- Decompress a file: +- View documentation for the original command: -`lrunzip {{filename.lrz}}` - -- Decompress a file using a specific number of processor threads: - -`lrunzip -p {{8}} {{filename.lrz}}` - -- Decompress a file and silently overwrite files if they exist: - -`lrunzip -f {{filename.lrz}}` - -- Keep broken or damaged files instead of deleting them when decompressing: - -`lrunzip -K {{filename.lrz}}` - -- Specify output file name and/or path: - -`lrunzip -o {{outfilename}} {{filename.lrz}}` +`tldr lrzip` diff --git a/pages/linux/lrzip.md b/pages/linux/lrzip.md index d372db9a1dd8c8..1ea6cc5c05786a 100644 --- a/pages/linux/lrzip.md +++ b/pages/linux/lrzip.md @@ -1,28 +1,29 @@ # lrzip > A large file compression program. -> See also `lrunzip`, `lrztar`, `lrzuntar`. +> See also: `lrunzip`, `lrztar`, `lrzuntar`. +> More information: . - Compress a file with LZMA - slow compression, fast decompression: -`lrzip {{filename}}` +`lrzip {{path/to/file}}` - Compress a file with BZIP2 - good middle ground for compression/speed: -`lrzip -b {{filename}}` +`lrzip -b {{path/to/file}}` - Compress with ZPAQ - extreme compression, but very slow: -`lrzip -z {{filename}}` +`lrzip -z {{path/to/file}}` - Compress with LZO - light compression, extremely fast decompression: -`lrzip -l {{filename}}` +`lrzip -l {{path/to/file}}` - Compress a file and password protect/encrypt it: -`lrzip -e {{filename}}` +`lrzip -e {{path/to/file}}` - Override the number of processor threads to use: -`lrzip -p {{8}} {{filename}}` +`lrzip -p {{8}} {{path/to/file}}` diff --git a/pages/linux/lrztar.md b/pages/linux/lrztar.md index 233a51bd7584e0..7c9761ada64fe2 100644 --- a/pages/linux/lrztar.md +++ b/pages/linux/lrztar.md @@ -2,8 +2,9 @@ > A wrapper for `lrzip` to simplify compression of directories. > See also: `tar`, `lrzuntar`, `lrunzip`. +> More information: . -- Archive a directory with `tar`, then compress: +- Archive a directory with tar, then compress: `lrztar {{path/to/directory}}` diff --git a/pages/linux/lrzuntar.md b/pages/linux/lrzuntar.md index e0d87688f08f28..512f20fc64ffc2 100644 --- a/pages/linux/lrzuntar.md +++ b/pages/linux/lrzuntar.md @@ -1,24 +1,7 @@ # lrzuntar -> A wrapper for `lrunzip` to simplify decompression of directories. -> See also: `lrztar`, `lrzip`. +> This command is an alias of `lrztar -d`. -- Decompress from a file to the current directory: +- View documentation for the original command: -`lrzuntar {{path/to/archive.tar.lrz}}` - -- Decompress from a file to the current directory using a specific number of processor threads: - -`lrzuntar -p {{8}} {{path/to/archive.tar.lrz}}` - -- Decompress from a file to the current directory and silently overwrite items that already exist: - -`lrzuntar -f {{archive.tar.lrz}}` - -- Specify the output path: - -`lrzuntar -O {{path/to/directory}} {{archive.tar.lrz}}` - -- Delete the compressed file after decompression: - -`lrzuntar -D {{path/to/archive.tar.lrz}}` +`tldr lrztar` diff --git a/pages/linux/lsattr.md b/pages/linux/lsattr.md index 405c2ac9383ad2..be102f4dde507e 100644 --- a/pages/linux/lsattr.md +++ b/pages/linux/lsattr.md @@ -1,6 +1,7 @@ # lsattr > List file attributes on a Linux filesystem. +> More information: . - Display the attributes of the files in the current directory: diff --git a/pages/linux/lsb_release.md b/pages/linux/lsb_release.md index 4c831b9ce4d9a5..2895cee17c7250 100644 --- a/pages/linux/lsb_release.md +++ b/pages/linux/lsb_release.md @@ -1,19 +1,20 @@ # lsb_release -> Provides certain LSB (Linux Standard Base) and distribution-specific information. +> Get LSB (Linux Standard Base) and distribution-specific information. +> More information: . - Print all available information: -`lsb_release -a` +`lsb_release {{[-a|--all]}}` - Print a description (usually the full name) of the operating system: -`lsb_release -d` +`lsb_release {{[-d|--description]}}` - Print only the operating system name (ID), suppressing the field name: -`lsb_release -i -s` +`lsb_release {{[-is|--id --short]}}` - Print the release number and codename of the distribution, suppressing the field names: -`lsb_release -rcs` +`lsb_release {{[-rcs|--release --codename --short]}}` diff --git a/pages/linux/lsblk.md b/pages/linux/lsblk.md index 37afe23ff27a81..d19ac94fce6f5f 100644 --- a/pages/linux/lsblk.md +++ b/pages/linux/lsblk.md @@ -1,6 +1,7 @@ # lsblk -> Lists information about devices. +> List information about devices. +> More information: . - List all storage devices in a tree-like format: @@ -8,28 +9,28 @@ - Also list empty devices: -`lsblk -a` +`lsblk {{[-a|--all]}}` - Print the SIZE column in bytes rather than in a human-readable format: -`lsblk -b` +`lsblk {{[-b|--bytes]}}` - Output info about filesystems: -`lsblk -f` +`lsblk {{[-f|--fs]}}` - Use ASCII characters for tree formatting: -`lsblk -i` +`lsblk {{[-i|--ascii]}}` - Output info about block-device topology: -`lsblk -t` +`lsblk {{[-t|--topology]}}` - Exclude the devices specified by the comma-separated list of major device numbers: -`lsblk -e {{1,7}}` +`lsblk {{[-e|--exclude]}} {{1,7,...}}` - Display a customized summary using a comma-separated list of columns: -`lsblk --output {{NAME}},{{SERIAL}},{{MODEL}},{{TRAN}},{{TYPE}},{{SIZE}},{{FSTYPE}},{{MOUNTPOINT}}` +`lsblk {{[-o|--output]}} {{NAME,ROTA,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}` diff --git a/pages/linux/lscpu.md b/pages/linux/lscpu.md index 161bb68c1350cf..de8fe579b980d7 100644 --- a/pages/linux/lscpu.md +++ b/pages/linux/lscpu.md @@ -1,6 +1,7 @@ # lscpu -> Displays information about the CPU architecture. +> Display information about the CPU architecture. +> More information: . - Display information about all CPUs: @@ -8,8 +9,20 @@ - Display information in a table: -`lscpu --extended` +`lscpu {{[-e|--extended]}}` + +- Display only information about online CPUs in a table: + +`lscpu {{[-e|--extended]}} {{[-b|--online]}}` - Display only information about offline CPUs in a table: -`lscpu --extended --offline` +`lscpu {{[-e|--extended]}} {{[-c|--offline]}}` + +- Display details about CPU caches: + +`lscpu {{[-C|--caches]}}` + +- Display information in JSON format: + +`lscpu {{[-J|--json]}}` diff --git a/pages/linux/lsdev.md b/pages/linux/lsdev.md new file mode 100644 index 00000000000000..bb86ef9d111114 --- /dev/null +++ b/pages/linux/lsdev.md @@ -0,0 +1,8 @@ +# lsdev + +> Display installed hardware detected in the `/proc` director. +> More information: . + +- Show list of installed hardware: + +`lsdev` diff --git a/pages/linux/lsfd.md b/pages/linux/lsfd.md new file mode 100644 index 00000000000000..7f2eb82510dc8a --- /dev/null +++ b/pages/linux/lsfd.md @@ -0,0 +1,24 @@ +# lsfd + +> List open files and the corresponding processes in Linux. +> More information: . + +- List all open file descriptors: + +`lsfd` + +- List all files kept open by a specific program: + +`lsfd {{[-Q|--filter]}} 'PID == {{process_ID}}'` + +- Check what program has a specific file open: + +`lsfd {{[-Q|--filter]}} "NAME == '{{path/to/file}}'"` + +- List open IPv4 or IPv6 sockets: + +`lsfd {{-i4|-i6}}` + +- Display help: + +`lsfd {{[-h|--help]}}` diff --git a/pages/linux/lshw.md b/pages/linux/lshw.md index 8f8f27e7047336..fc6b27c825c73f 100644 --- a/pages/linux/lshw.md +++ b/pages/linux/lshw.md @@ -1,19 +1,28 @@ # lshw > List detailed information about hardware configurations as root user. +> More information: . -- Launch the GUI: +- Launch the X11 GUI (if available): `sudo lshw -X` -- List all hardwares in tabular format: +- List all hardware in tabular format: `sudo lshw -short` -- List all disks and storage controllers in tabular format: +- List multiple class of hardware (all disks and storage controllers) in tabular format: -`sudo lshw -class disk -class storage -short` +`sudo lshw {{[-c|-class]}} disk {{[-c|-class]}} storage -short` -- Save all network interfaces to an HTML file: +- Save all network interfaces to an HTML/XML/JSON file: -`sudo lshw -class network -html > {{interfaces.html}}` +`sudo lshw {{[-c|-class]}} network -{{html|xml|json}} > interfaces{{.html|.xml|.json}}` + +- List network interfaces without revealing sensitive information (IP addresses, serial numbers, etc.): + +`sudo lshw {{[-c|-class]}} network -sanitize` + +- List a particular class of hardware: + +`sudo lshw {{[-c|-class]}} {{system|bridge|memory|processor|address|storage|disk|tape|bus|network|display|input|printer|multimedia|communication|power|volume|generic}}` diff --git a/pages/linux/lsinitrd.md b/pages/linux/lsinitrd.md new file mode 100644 index 00000000000000..0b93c69b3b5f72 --- /dev/null +++ b/pages/linux/lsinitrd.md @@ -0,0 +1,25 @@ +# lsinitrd + +> Show the contents of an initramfs image. +> See also: `dracut`. +> More information: . + +- Show the contents of the initramfs image for the current kernel: + +`lsinitrd` + +- Show the contents of the initramfs image for the specified kernel: + +`lsinitrd --kver {{kernel_version}}` + +- Show the contents of the specified initramfs image: + +`lsinitrd {{path/to/initramfs.img}}` + +- List modules included in the initramfs image: + +`lsinitrd --mod` + +- Unpack the initramfs to the current directory: + +`lsinitrd --unpack` diff --git a/pages/linux/lsipc.md b/pages/linux/lsipc.md new file mode 100644 index 00000000000000..949d5e2a24c55e --- /dev/null +++ b/pages/linux/lsipc.md @@ -0,0 +1,29 @@ +# lsipc + +> Show information on System V IPC facilities currently employed in the system. +> See also: `ipcs` for the older tool. +> More information: . + +- Show information about all active IPC facilities: + +`lsipc` + +- Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets: + +`lsipc {{--shmems|--queues|--semaphores}}` + +- Show full details on the resource with a specific ID: + +`lsipc {{--shmems|--queues|--semaphores}} {{[-i|--id]}} {{resource_id}}` + +- Print the given output columns (see all supported columns with `--help`): + +`lsipc {{[-o|--output]}} {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}` + +- Use [r]aw, [J]SON, [l]ist or [e]xport (key="value") format: + +`lsipc {{--raw|--json|--list|--export}}` + +- Don't truncate the output: + +`lsipc --notruncate` diff --git a/pages/linux/lslocks.md b/pages/linux/lslocks.md index 983afca92a8284..93f29d9a244ab7 100644 --- a/pages/linux/lslocks.md +++ b/pages/linux/lslocks.md @@ -1,6 +1,7 @@ # lslocks > List local system locks. +> More information: . - List all local system locks: @@ -8,16 +9,16 @@ - List locks with defined column headers: -`lslocks --output {{PID}},{{COMMAND}},{{PATH}}` +`lslocks {{[-o|--output]}} {{PID}},{{COMMAND}},{{PATH}}` - List locks producing a raw output (no columns), and without column headers: -`lslocks --raw --noheadings` +`lslocks {{[-r|--raw]}} {{[-n|--noheadings]}}` - List locks by PID input: -`lslocks --pid {{PID}}` +`lslocks {{[-p|--pid]}} {{PID}}` -- List locks with json output to `stdout`: +- List locks with JSON output to `stdout`: -`lslocks --json` +`lslocks {{[-J|--json]}}` diff --git a/pages/linux/lslogins.md b/pages/linux/lslogins.md index 44079339e87b7f..130b8da1ba65fb 100644 --- a/pages/linux/lslogins.md +++ b/pages/linux/lslogins.md @@ -1,7 +1,7 @@ # lslogins > Show information about users on a Linux system. -> More information: . +> More information: . - Display users in the system: @@ -9,20 +9,20 @@ - Display users belonging to a specific group: -`lslogins --groups={{groups}}` +`lslogins {{[-g|--groups]}} {{groups}}` - Display user accounts: -`lslogins --user-accs` +`lslogins {{[-u|--user-accs]}}` - Display last logins: -`lslogins --last` +`lslogins {{[-L|--last]}}` - Display system accounts: -`lslogins --system-accs` +`lslogins {{[-s|--system-accs]}}` - Display supplementary groups: -`lslogins --supp-groups` +`lslogins {{[-G|--supp-groups]}}` diff --git a/pages/linux/lsmem.md b/pages/linux/lsmem.md new file mode 100644 index 00000000000000..17a2c1368591ca --- /dev/null +++ b/pages/linux/lsmem.md @@ -0,0 +1,16 @@ +# lsmem + +> List the characteristics of the system's memory, including size and type of memory modules. +> More information: . + +- List memory information: + +`lsmem` + +- List memory information in JSON format: + +`lsmem {{[-J|--json]}}` + +- List memory information with size in bytes: + +`lsmem {{[-b|--bytes]}}` diff --git a/pages/linux/lsmod.md b/pages/linux/lsmod.md index 47077038911fcc..25e616e8318e6f 100644 --- a/pages/linux/lsmod.md +++ b/pages/linux/lsmod.md @@ -1,7 +1,8 @@ # lsmod -> Shows the status of linux kernel modules. -> See also `modprobe`, which loads kernel modules. +> Show the status of Linux kernel modules. +> See also: `kmod` for other module management commands. +> More information: . - List all currently loaded kernel modules: diff --git a/pages/linux/lsns.md b/pages/linux/lsns.md new file mode 100644 index 00000000000000..c86cd26e78994c --- /dev/null +++ b/pages/linux/lsns.md @@ -0,0 +1,24 @@ +# lsns + +> List information about all namespaces or about the specified namespace. +> More information: . + +- List all namespaces: + +`lsns` + +- List namespaces in JSON format: + +`lsns {{[-J|--json]}}` + +- List namespaces associated with the specified process: + +`lsns {{[-p|--task]}} {{pid}}` + +- List the specified type of namespaces only: + +`lsns {{[-t|--type]}} {{mnt|net|ipc|user|pid|uts|cgroup|time}}` + +- List namespaces, only showing the namespace ID, type, PID, and command: + +`lsns {{[-o|--output]}} {{NS,TYPE,PID,COMMAND}}` diff --git a/pages/linux/lspci.md b/pages/linux/lspci.md index f7ce0c76b95f17..1c0687dc1e4cdc 100644 --- a/pages/linux/lspci.md +++ b/pages/linux/lspci.md @@ -1,23 +1,28 @@ # lspci > List all PCI devices. +> More information: . - Show a brief list of devices: `lspci` -- Display additional info: +- Display [v]erbose information (Note: the `-v` flag can be repeated to increase verbosity): `lspci -v` -- Display drivers and modules handling each device: +- Display [k]ernel drivers and modules handling each device: `lspci -k` -- Show a specific device: +- [s]elect a specific device: `lspci -s {{00:18.3}}` -- Dump info in a readable form: +- Dump info in a ([m]achine) readable form: `lspci -vm` + +- Show PCI vendor and device codes as both [n]umbers and [n]ames: + +`lspci -nn` diff --git a/pages/linux/lsscsi.md b/pages/linux/lsscsi.md index f640774a1e63be..08962f18bee731 100644 --- a/pages/linux/lsscsi.md +++ b/pages/linux/lsscsi.md @@ -1,6 +1,7 @@ # lsscsi > List SCSI devices (or hosts) and their attributes. +> More information: . - List all SCSI devices: @@ -8,8 +9,8 @@ - List all SCSI devices with detailed attributes: -`lsscsi -L` +`lsscsi {{[-L|--list]}}` -- List all SCSI devices with human readable disk capacity: +- List all SCSI devices with human-readable disk capacity: -`lsscsi -s` +`lsscsi {{[-s|--size]}}` diff --git a/pages/linux/lsusb.md b/pages/linux/lsusb.md index c10dd871c48989..7a51f87131f764 100644 --- a/pages/linux/lsusb.md +++ b/pages/linux/lsusb.md @@ -1,6 +1,7 @@ # lsusb > Display information about USB buses and devices connected to them. +> More information: . - List all the USB devices available: @@ -8,16 +9,16 @@ - List the USB hierarchy as a tree: -`lsusb -t` +`lsusb {{[-t|--tree]}}` - List verbose information about USB devices: -`lsusb --verbose` +`lsusb {{[-v|--verbose]}}` - List detailed information about a USB device: -`lsusb -D {{device}}` +`lsusb {{[-v|--verbose]}} -s {{bus}}:{{device number}}` -- List devices with a specified vendor and product id only: +- List devices with a specified vendor and product ID only: `lsusb -d {{vendor}}:{{product}}` diff --git a/pages/linux/ltrace.md b/pages/linux/ltrace.md index a51c6d4af32ee2..1fc963b192209a 100644 --- a/pages/linux/ltrace.md +++ b/pages/linux/ltrace.md @@ -1,7 +1,7 @@ # ltrace > Display dynamic library calls of a process. -> More information: . +> More information: . - Print (trace) library calls of a program binary: @@ -17,4 +17,4 @@ - Write to file instead of terminal: -`ltrace -o {{file}} {{path/to/program}}` +`ltrace {{[-o|--output]}} {{file}} {{path/to/program}}` diff --git a/pages/linux/lvchange.md b/pages/linux/lvchange.md new file mode 100644 index 00000000000000..caa83ba48636f4 --- /dev/null +++ b/pages/linux/lvchange.md @@ -0,0 +1,28 @@ +# lvchange + +> Change attributes or the activation state of logical volumes. +> More information: . + +- Activate a logical volume: + +`lvchange {{[-a|--activate]}} y {{/dev/vg_name/lv_name}}` + +- Deactivate a logical volume: + +`lvchange {{[-a|--activate]}} n {{/dev/vg_name/lv_name}}` + +- Enable autoactivation for a logical volume: + +`lvchange {{[-a|--activate]}} ay {{/dev/vg_name/lv_name}}` + +- Set a logical volume to read-only (use `rw` for read-write): + +`lvchange {{[-p|--permission]}} r {{/dev/vg_name/lv_name}}` + +- Skip activation for a logical volume: + +`lvchange {{[-k|--setactivationskip]}} y {{/dev/vg_name/lv_name}}` + +- Refresh a logical volume using the latest metadata: + +`lvchange --refresh {{/dev/vg_name/lv_name}}` diff --git a/pages/linux/lvconvert.md b/pages/linux/lvconvert.md new file mode 100644 index 00000000000000..51f2d62e45e53f --- /dev/null +++ b/pages/linux/lvconvert.md @@ -0,0 +1,24 @@ +# lvconvert + +> Convert or modify the type, redundancy, or state of logical volumes. +> More information: . + +- Convert a linear logical volume to RAID1 (add one mirror: two copies total): + +`lvconvert --type raid1 {{[-m|--mirrors]}} 1 {{/dev/vg_name/lv_name}}` + +- Remove mirroring and convert back to a linear logical volume: + +`lvconvert {{[-m|--mirrors]}} 0 {{/dev/vg_name/lv_name}}` + +- Merge a snapshot back into its origin logical volume (applies on next activation): + +`lvconvert --merge {{/dev/vg_name/snapshot_lv}}` + +- Repair a degraded RAID logical volume: + +`lvconvert --repair {{/dev/vg_name/lv_name}}` + +- Convert an existing logical volume into a thin pool with a separate metadata LV: + +`lvconvert --type thin-pool --poolmetadata {{/dev/vg_name/pool_metadata_lv}} {{/dev/vg_name/pool_lv}}` diff --git a/pages/linux/lvcreate.md b/pages/linux/lvcreate.md index 00be05dfa18e4f..ae4f1908c1a68c 100644 --- a/pages/linux/lvcreate.md +++ b/pages/linux/lvcreate.md @@ -1,20 +1,21 @@ # lvcreate -> Creates a logical volume in an existing volume group. -> A volume group is a collection of logical and physical volumes. +> Create a logical volume in an existing volume group. A volume group is a collection of logical and physical volumes. +> See also: `lvm`. +> More information: . - Create a logical volume of 10 gigabytes in the volume group vg1: -`lvcreate -L {{10G}} {{vg1}}` +`lvcreate {{[-L|--size]}} {{10G}} {{vg1}}` - Create a 1500 megabyte linear logical volume named mylv in the volume group vg1: -`lvcreate -L {{1500}} -n {{mylv}} {{vg1}}` +`lvcreate {{[-L|--size]}} {{1500}} {{[-n|--name]}} {{mylv}} {{vg1}}` - Create a logical volume called mylv that uses 60% of the total space in volume group vg1: -`lvcreate -l {{60%VG}} -n {{mylv}} {{vg1}}` +`lvcreate {{[-l|--extents]}} {{60%VG}} {{[-n|--name]}} {{mylv}} {{vg1}}` -- Create a logical volume called mylv that uses all of the unallocated space in the volume group vg1: +- Create a logical volume called mylv that uses all the unallocated space in the volume group vg1: -`lvcreate -l {{100%FREE}} -n {{mylv}} {{vg1}}` +`lvcreate {{[-l|--extents]}} {{100%FREE}} {{[-n|--name]}} {{mylv}} {{vg1}}` diff --git a/pages/linux/lvdisplay.md b/pages/linux/lvdisplay.md new file mode 100644 index 00000000000000..335b9330439ac0 --- /dev/null +++ b/pages/linux/lvdisplay.md @@ -0,0 +1,21 @@ +# lvdisplay + +> Display information about Logical Volume Manager (LVM) logical volumes. +> See also: `lvm`, `lvs`. +> More information: . + +- Display information about all logical volumes: + +`sudo lvdisplay` + +- Display the information in a short format (same as running `lvs`): + +`sudo lvdisplay {{[-C|--columns]}}` + +- Display information about all logical volumes in volume group vg1: + +`sudo lvdisplay {{vg1}}` + +- Display information about logical volume lv1 in volume group vg1: + +`sudo lvdisplay {{vg1/lv1}}` diff --git a/pages/linux/lvextend.md b/pages/linux/lvextend.md index 0c3c9cc051b25b..00927c66bce246 100644 --- a/pages/linux/lvextend.md +++ b/pages/linux/lvextend.md @@ -1,15 +1,21 @@ # lvextend > Increase the size of a logical volume. +> See also: `lvm`. +> More information: . -- Increase a volume's size to 120GB: +- Increase a volume's size to 120 GB: -`lvextend --size {{120G}} {{logical_volume}}` +`sudo lvextend {{[-L|--size]}} {{120G}} {{logical_volume}}` -- Increase a volume's size by 40GB as well as the underlying filesystem: +- Increase a volume's size by 40 GB as well as the underlying filesystem: -`lvextend --size +{{40G}} -r {{logical_volume}}` +`sudo lvextend {{[-L|--size]}} +{{40G}} {{[-r|--resizefs]}} {{logical_volume}}` - Increase a volume's size to 100% of the free physical volume space: -`lvextend --size {{100}}%FREE {{logical_volume}}` +`sudo lvextend {{[-l|--extents]}} +{{100}}%FREE {{logical_volume}}` + +- Increase a volume's size to 100% of the free physical volume space and resize the underlying filesystem: + +`sudo lvextend {{[-l|--extents]}} +{{100}}%FREE {{[-r|--resizefs]}} {{logical_volume}}` diff --git a/pages/linux/lvm.md b/pages/linux/lvm.md new file mode 100644 index 00000000000000..f48c7dbfaeccc9 --- /dev/null +++ b/pages/linux/lvm.md @@ -0,0 +1,36 @@ +# lvm + +> Manage physical volumes, volume groups, and logical volumes using the Logical Volume Manager (LVM) interactive shell. +> More information: . + +- Start the Logical Volume Manager interactive shell: + +`sudo lvm` + +- Initialize a drive or partition to be used as a physical volume: + +`sudo lvm pvcreate {{/dev/sdXY}}` + +- Display information about physical volumes: + +`sudo lvm pvdisplay` + +- Create a volume group called vg1 from the physical volume on `/dev/sdXY`: + +`sudo lvm vgcreate {{vg1}} {{/dev/sdXY}}` + +- Display information about volume groups: + +`sudo lvm vgdisplay` + +- Create a logical volume with size 10G from volume group vg1: + +`sudo lvm lvcreate {{[-L|--size]}} {{10G}} {{vg1}}` + +- Display information about logical volumes: + +`sudo lvm lvdisplay` + +- Display help for a specific command: + +`lvm help {{command}}` diff --git a/pages/linux/lvm_import_vdo.md b/pages/linux/lvm_import_vdo.md new file mode 100644 index 00000000000000..bf7068c5bd281b --- /dev/null +++ b/pages/linux/lvm_import_vdo.md @@ -0,0 +1,28 @@ +# lvm_import_vdo + +> Import a VDO volume created by the VDO manager into an LVM-managed logical volume (irreversible). +> More information: . + +- Import a VDO volume with automatic names for the VG/LV: + +`lvm_import_vdo {{/dev/mapper/vdo_volume}}` + +- Import and set the destination VG/LV name: + +`lvm_import_vdo {{[-n|--name]}} {{vg_name/lv_name}} {{/dev/mapper/vdo_volume}}` + +- Show what would be done without changing anything: + +`lvm_import_vdo --dry-run {{/dev/mapper/vdo_volume}}` + +- Convert in place without using a temporary snapshot (less safe): + +`lvm_import_vdo --no-snapshot {{/dev/mapper/vdo_volume}}` + +- Verbose output and automatically answer "yes" to prompts: + +`lvm_import_vdo {{[-v|--verbose]}} {{[-y|--yes]}} {{/dev/mapper/vdo_volume}}` + +- Use a VDO manager configuration file during import: + +`lvm_import_vdo --vdo-config {{path/to/vdo.conf}} {{/dev/mapper/vdo_volume}}` diff --git a/pages/linux/lvmconfig.md b/pages/linux/lvmconfig.md new file mode 100644 index 00000000000000..ede0f47b3d341e --- /dev/null +++ b/pages/linux/lvmconfig.md @@ -0,0 +1,28 @@ +# lvmconfig + +> Display and manipulate LVM configuration information. +> More information: . + +- Display the effective configuration in use (after merging all config sources): + +`lvmconfig --typeconfig current --mergedconfig` + +- Show only settings that differ from their defaults: + +`lvmconfig --typeconfig diff` + +- List all configuration keys: + +`lvmconfig {{[-l|--list]}}` + +- Print the default configuration with full comments and extra spacing: + +`lvmconfig --typeconfig default --withcomments --withspaces` + +- Validate the full merged configuration and report errors: + +`lvmconfig --mergedconfig --validate` + +- Write the current effective configuration to a file: + +`lvmconfig --typeconfig current {{[-f|--file]}} {{path/to/output.conf}}` diff --git a/pages/linux/lvmdevices.md b/pages/linux/lvmdevices.md new file mode 100644 index 00000000000000..f73b0f2d44cb54 --- /dev/null +++ b/pages/linux/lvmdevices.md @@ -0,0 +1,36 @@ +# lvmdevices + +> Manage the LVM devices file that lists block devices allowed for physical volumes. +> More information: . + +- List devices recorded in the devices file: + +`lvmdevices` + +- Add a device to the devices file: + +`lvmdevices --adddev {{/dev/sdXN}}` + +- Remove a device from the devices file: + +`lvmdevices --deldev {{/dev/sdXN}}` + +- Add a physical volume by its PVID: + +`lvmdevices --addpvid {{PVID}}` + +- Remove a physical volume by its PVID: + +`lvmdevices --delpvid {{PVID}}` + +- Update the devices file after device names change: + +`lvmdevices --update` + +- Check the devices file for problems: + +`lvmdevices --check` + +- Display version: + +`lvmdevices --version` diff --git a/pages/linux/lvmdiskscan.md b/pages/linux/lvmdiskscan.md new file mode 100644 index 00000000000000..a44863713778a6 --- /dev/null +++ b/pages/linux/lvmdiskscan.md @@ -0,0 +1,16 @@ +# lvmdiskscan + +> Scan for devices that may be used as physical volumes by LVM (deprecated; prefer `pvs`). +> More information: . + +- Scan all devices: + +`lvmdiskscan` + +- Show only physical volumes (PVs): + +`lvmdiskscan {{[-l|--lvmpartition]}}` + +- Increase verbosity (repeat for more detail): + +`lvmdiskscan {{[-v|--verbose]}}` diff --git a/pages/linux/lvmdump.md b/pages/linux/lvmdump.md new file mode 100644 index 00000000000000..a5c7c0d34ed156 --- /dev/null +++ b/pages/linux/lvmdump.md @@ -0,0 +1,21 @@ +# lvmdump + +> Collect diagnostic information about LVM2 (Logical Volume Manager). +> By default, outputs a compressed tar archive with system and configuration data in the home directory. +> More information: . + +- Generate a basic dump: + +`lvmdump` + +- Generate an extended dump with metadata and daemon info: + +`lvmdump -a -l -m` + +- Dump the information into a directory instead of a tarball: + +`lvmdump -d {{path/to/directory}}` + +- Display help: + +`lvmdump -h` diff --git a/pages/linux/lvmpersist.md b/pages/linux/lvmpersist.md new file mode 100644 index 00000000000000..37ce8bce68a254 --- /dev/null +++ b/pages/linux/lvmpersist.md @@ -0,0 +1,32 @@ +# lvmpersist + +> Manage persistent reservations (PR) on block devices or all PVs in a volume group. +> More information: . + +- Start PR on all PVs in a VG with a local key (exclusive access by default): + +`lvmpersist start --ourkey {{0x1234abcd}} --vg {{vg_name}}` + +- Start PR for a shared VG (allow multiple hosts): + +`lvmpersist start --ourkey {{0x1234abcd}} --access {{sh}} --vg {{vg_name}}` + +- Stop PR on a VG and unregister the local key: + +`lvmpersist stop --ourkey {{0x1234abcd}} --vg {{vg_name}}` + +- Take over a local VG by preempting another host while starting PR: + +`lvmpersist start --ourkey {{0xmy_key}} --removekey {{0xother_key}} --vg {{vg_name}}` + +- Remove another host's key from a shared VG: + +`lvmpersist remove --ourkey {{0xmy_key}} --removekey {{0xother_key}} --vg {{vg_name}}` + +- Show registered keys and reservations for a VG: + +`lvmpersist read --vg {{vg_name}}` + +- Operate on specific devices instead of a VG: + +`lvmpersist start --ourkey {{0x1234abcd}} --device {{/dev/sdX}} --device {{/dev/mapper/mpathY}}` diff --git a/pages/linux/lvmpolld.md b/pages/linux/lvmpolld.md new file mode 100644 index 00000000000000..184edda4d7b4e5 --- /dev/null +++ b/pages/linux/lvmpolld.md @@ -0,0 +1,28 @@ +# lvmpolld + +> LVM poll daemon that supervises long-running LVM operations. +> More information: . + +- Start the daemon in the foreground: + +`lvmpolld {{[-f|--foreground]}}` + +- Start in the foreground with debug logging: + +`lvmpolld {{[-f|--foreground]}} {{[-l|--log]}} debug` + +- Set the idle shutdown timeout (seconds): + +`lvmpolld {{[-t|--timeout]}} {{300}}` + +- Use a custom socket path: + +`lvmpolld {{[-s|--socket]}} {{/tmp/lvmpolld.socket}}` + +- Use a custom PID file: + +`lvmpolld {{[-p|--pidfile]}} {{/tmp/lvmpolld.pid}}` + +- Dump the current state: + +`lvmpolld --dump` diff --git a/pages/linux/lvmsadc.md b/pages/linux/lvmsadc.md new file mode 100644 index 00000000000000..053966872b41ed --- /dev/null +++ b/pages/linux/lvmsadc.md @@ -0,0 +1,12 @@ +# lvmsadc + +> LVM system activity data collector (not supported under LVM2; prefer `dmstats`). +> More information: . + +- Run the collector (legacy LVM1 systems only): + +`lvmsadc` + +- Report I/O statistics using the device-mapper replacement: + +`dmstats report {{/dev/mapper/device}}` diff --git a/pages/linux/lvmsar.md b/pages/linux/lvmsar.md new file mode 100644 index 00000000000000..7d4c879d84aa8e --- /dev/null +++ b/pages/linux/lvmsar.md @@ -0,0 +1,17 @@ +# lvmsar + +> LVM system activity reporter. +> Not supported under LVM2; prefer `dmstats`. +> More information: . + +- Run the legacy reporter (LVM1 systems only): + +`lvmsar` + +- Report I/O statistics for a device using device-mapper stats: + +`dmstats report {{/dev/mapper/device}}` + +- List statistics regions for a device: + +`dmstats list {{/dev/mapper/device}}` diff --git a/pages/linux/lvreduce.md b/pages/linux/lvreduce.md index 584820d61eb081..b91dfe7fa77973 100644 --- a/pages/linux/lvreduce.md +++ b/pages/linux/lvreduce.md @@ -1,11 +1,13 @@ # lvreduce > Reduce the size of a logical volume. +> See also: `lvm`. +> More information: . -- Reduce a volume's size to 120GB: +- Reduce a volume's size to 120 GB: -`lvreduce --size {{120G}} {{logical_volume}}` +`lvreduce {{[-L|--size]}} {{120G}} {{logical_volume}}` -- Reduce a volume's size by 40GB as well as the underlying filesystem: +- Reduce a volume's size by 40 GB as well as the underlying filesystem: -`lvreduce --size -{{40G}} -r {{logical_volume}}` +`lvreduce {{[-L|--size]}} -{{40G}} {{[-r|--resizefs]}} {{logical_volume}}` diff --git a/pages/linux/lvremove.md b/pages/linux/lvremove.md index 3883ba9da7b915..350f8ccccbe54a 100644 --- a/pages/linux/lvremove.md +++ b/pages/linux/lvremove.md @@ -1,7 +1,8 @@ # lvremove -> Remove one or more logical volumes. -> More information: . +> Remove logical volumes. +> See also: `lvm`. +> More information: . - Remove a logical volume in a volume group: diff --git a/pages/linux/lvresize.md b/pages/linux/lvresize.md index 907a770b68843b..a71066a807888b 100644 --- a/pages/linux/lvresize.md +++ b/pages/linux/lvresize.md @@ -1,20 +1,21 @@ # lvresize > Change the size of a logical volume. -> More information: . +> See also: `lvm`. +> More information: . -- Change the size of a logical volume to 120GB: +- Change the size of a logical volume to 120 GB: -`lvresize --size {{120G}} {{volume_group}}/{{logical_volume}}` +`lvresize {{[-L|--size]}} 120G {{volume_group}}/{{logical_volume}}` -- Extend the size of a logical volume as well as the underlying filesystem by 120GB: +- Extend the size of a logical volume as well as the underlying filesystem by 120 GB: -`lvresize --size +{{120G}} --resizefs {{volume_group}}/{{logical_volume}}` +`lvresize {{[-L|--size]}} +120G {{[-r|--resizefs]}} {{volume_group}}/{{logical_volume}}` - Extend the size of a logical volume to 100% of the free physical volume space: -`lvresize --size {{100}}%FREE {{volume_group}}/{{logical_volume}}` +`lvresize {{[-l|--extents]}} 100%FREE {{volume_group}}/{{logical_volume}}` -- Reduce the size of a logical volume as well as the underlying filesystem by 120GB: +- Reduce the size of a logical volume as well as the underlying filesystem by 120 GB: -`lvresize --size -{{120G}} --resizefs {{volume_group}}/{{logical_volume}}` +`lvresize {{[-L|--size]}} -120G {{[-r|--resizefs]}} {{volume_group}}/{{logical_volume}}` diff --git a/pages/linux/lvs.md b/pages/linux/lvs.md index 1063c35ab7decf..f1da94f6018da1 100644 --- a/pages/linux/lvs.md +++ b/pages/linux/lvs.md @@ -1,7 +1,8 @@ # lvs -> Display information about LVM logical volumes. -> More information: . +> Display information about logical volumes. +> See also: `lvm`. +> More information: . - Display information about logical volumes: @@ -9,19 +10,19 @@ - Display all logical volumes: -`lvs -a` +`lvs {{[-a|--all]}}` - Change default display to show more details: -`lvs -v` +`lvs {{[-v|--verbose]}}` - Display only specific fields: -`lvs -o {{field_name_1}},{{field_name_2}}` +`lvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}` - Append field to default display: -`lvs -o +{{field_name}}` +`lvs {{[-o|--options]}} +{{field_name}}` - Suppress heading line: diff --git a/pages/linux/lvscan.md b/pages/linux/lvscan.md new file mode 100644 index 00000000000000..1fa98e95f784da --- /dev/null +++ b/pages/linux/lvscan.md @@ -0,0 +1,21 @@ +# lvscan + +> Scan (list) all logical volumes in the system. +> Part of the LVM (Logical Volume Manager) suite. +> More information: . + +- List all logical volumes: + +`lvscan` + +- List only active logical volumes: + +`lvscan --active` + +- List only inactive logical volumes: + +`lvscan --inactive` + +- Display logical volumes in JSON format: + +`lvscan --reportformat json` diff --git a/pages/linux/lxc-attach.md b/pages/linux/lxc-attach.md new file mode 100644 index 00000000000000..e00a7e98d616fa --- /dev/null +++ b/pages/linux/lxc-attach.md @@ -0,0 +1,12 @@ +# lxc-attach + +> Attach to a container. +> More information: . + +- Attach to a container: + +`sudo lxc-attach {{container_name}}` + +- Display help: + +`lxc-attach {{[-?|--help]}}` diff --git a/pages/linux/lxc-checkconfig.md b/pages/linux/lxc-checkconfig.md new file mode 100644 index 00000000000000..051cce2fc2b545 --- /dev/null +++ b/pages/linux/lxc-checkconfig.md @@ -0,0 +1,12 @@ +# lxc-checkconfig + +> Check a kernel for LXC support. +> More information: . + +- Check the current kernel for LXC support: + +`lxc-checkconfig` + +- Check any kernel for LXC support: + +`CONFIG=/{{path/to/configuration}} lxc-checkconfig` diff --git a/pages/linux/lxc-console.md b/pages/linux/lxc-console.md new file mode 100644 index 00000000000000..264cdb61c8a045 --- /dev/null +++ b/pages/linux/lxc-console.md @@ -0,0 +1,20 @@ +# lxc-console + +> Attach to a container. +> More information: . + +- Start a console in a container: + +`agetty {{[-L|--local-line]}} {{38400}} tty1` + +- Connect to an lxc console: + +`sudo lxc-console {{container_name}}` + +- Exit `lxc-console`: + +`` + +- Display help: + +`lxc-console {{[-?|--help]}}` diff --git a/pages/linux/lxc-create.md b/pages/linux/lxc-create.md new file mode 100644 index 00000000000000..535049a3fe41a4 --- /dev/null +++ b/pages/linux/lxc-create.md @@ -0,0 +1,20 @@ +# lxc-create + +> Create linux containers. +> More information: . + +- Create a container interactively in `/var/lib/lxc/`: + +`sudo lxc-create {{[-n|--name]}} {{container_name}} {{[-t|--template]}} download` + +- Create a container in a target directory: + +`sudo lxc-create {{[-P|--lxcpath]}} /{{path/to/directory}}/ {{[-n|--name]}} {{container_name}} {{[-t|--template]}} download` + +- Create a container passing options to a template: + +`sudo lxc-create {{[-n|--name]}} {{container_name}} {{[-t|--template]}} download -- {{[-d|--dist]}} {{distro-name}} {{[-r|--release]}} {{release-version}} {{[-a|--arch]}} {{arch}}` + +- Display help: + +`lxc-create {{[-?|--help]}}` diff --git a/pages/linux/lxc-destroy.md b/pages/linux/lxc-destroy.md new file mode 100644 index 00000000000000..cb01a59692769f --- /dev/null +++ b/pages/linux/lxc-destroy.md @@ -0,0 +1,12 @@ +# lxc-destroy + +> Delete a container. +> More information: . + +- Delete a container: + +`sudo lxc-destroy {{container_name}}` + +- Display help: + +`lxc-destroy {{[-?|--help]}}` diff --git a/pages/linux/lxc-info.md b/pages/linux/lxc-info.md new file mode 100644 index 00000000000000..a9eb5512cb9866 --- /dev/null +++ b/pages/linux/lxc-info.md @@ -0,0 +1,12 @@ +# lxc-info + +> Get info on a container. +> More information: . + +- Query information from a container: + +`sudo lxc-info {{container_name}}` + +- Display help: + +`lxc-info {{[-?|--help]}}` diff --git a/pages/linux/lxc-ls.md b/pages/linux/lxc-ls.md new file mode 100644 index 00000000000000..705196191f7987 --- /dev/null +++ b/pages/linux/lxc-ls.md @@ -0,0 +1,28 @@ +# lxc-ls + +> List Linux containers. +> More information: . + +- List all containers: + +`sudo lxc-ls` + +- List active containers (including frozen and running): + +`sudo lxc-ls --active` + +- List only frozen containers: + +`sudo lxc-ls --frozen` + +- List only stopped containers: + +`sudo lxc-ls --stopped` + +- List containers in a fancy, column-based output: + +`sudo lxc-ls {{[-f|--fancy]}}` + +- Display help: + +`lxc-ls {{[-?|--help]}}` diff --git a/pages/linux/lxc-network.md b/pages/linux/lxc-network.md new file mode 100644 index 00000000000000..89e52f0e54cf12 --- /dev/null +++ b/pages/linux/lxc-network.md @@ -0,0 +1,28 @@ +# lxc network + +> Manage networks for LXD containers. +> More information: . + +- List all available networks: + +`lxc network list` + +- Show the configuration of a specific network: + +`lxc network show {{network_name}}` + +- Add a running instance to a specific network: + +`lxc network attach {{network_name}} {{container_name}}` + +- Create a new managed network: + +`lxc network create {{network_name}}` + +- Set a bridge interface of a specific network: + +`lxc network set {{network_name}} bridge.external_interfaces {{eth0}}` + +- Disable NAT for a specific network: + +`lxc network set {{network_name}} ipv{{4}}.nat false` diff --git a/pages/linux/lxc-profile.md b/pages/linux/lxc-profile.md new file mode 100644 index 00000000000000..99a300d507c2cc --- /dev/null +++ b/pages/linux/lxc-profile.md @@ -0,0 +1,28 @@ +# lxc profile + +> Manage profiles for LXD containers. +> More information: . + +- List all available profiles: + +`lxc profile list` + +- Show the configuration of a specific profile: + +`lxc profile show {{profile_name}}` + +- Edit a specific profile in the default editor: + +`lxc profile edit {{profile_name}}` + +- Edit a specific profile importing the configuration values from a file: + +`lxc < {{config.yaml}} profile edit {{profile_name}}` + +- Launch a new container with specific profiles: + +`lxc launch {{container_image}} {{container_name}} {{[-p|--profile]}} {{profile1}} {{[-p|--profile]}} {{profile2}}` + +- Change the profiles of a running container: + +`lxc profile assign {{container_name}} {{profile1,profile2}}` diff --git a/pages/linux/lxc-start.md b/pages/linux/lxc-start.md new file mode 100644 index 00000000000000..fdd9dcbf2e7994 --- /dev/null +++ b/pages/linux/lxc-start.md @@ -0,0 +1,24 @@ +# lxc-start + +> Start a container. +> More information: . + +- Start the lxc service: + +`systemctl start lxc-net` + +- Start a container: + +`sudo lxc-start {{container_name}}` + +- Start a container in the foreground: + +`sudo lxc-start {{container_name}} {{[-F|--foreground]}}` + +- Exit out of a foreground container (run this in a separate terminal): + +`sudo lxc-stop {{container_name}}` + +- Display help: + +`lxc-start {{[-?|--help]}}` diff --git a/pages/linux/lxc-stop.md b/pages/linux/lxc-stop.md new file mode 100644 index 00000000000000..125d47b99f203e --- /dev/null +++ b/pages/linux/lxc-stop.md @@ -0,0 +1,12 @@ +# lxc-stop + +> Stop a container. +> More information: . + +- Stop a container: + +`sudo lxc-stop {{container_name}}` + +- Display help: + +`lxc-stop {{[-?|--help]}}` diff --git a/pages/linux/lxc-top.md b/pages/linux/lxc-top.md new file mode 100644 index 00000000000000..7c9d5c2ce1b3e6 --- /dev/null +++ b/pages/linux/lxc-top.md @@ -0,0 +1,16 @@ +# lxc-top + +> Display resource usage of LXC containers. +> More information: . + +- Start `lxc-top`: + +`lxc-top` + +- Adjust update interval: + +`lxc-top {{[-d|--delay]}} {{5}}` + +- Sort by [n]ame, [c]pu use, [b]lock I/O, [m]emory, or [k]ernel memory: + +`lxc-top {{[-s|--sort]}} {{n|c|b|m|k}}` diff --git a/pages/linux/lxc.md b/pages/linux/lxc.md index 55f12f48e65637..897e6a54e3666b 100644 --- a/pages/linux/lxc.md +++ b/pages/linux/lxc.md @@ -2,6 +2,7 @@ > Manage Linux containers using the lxd REST API. > Any container names or patterns can be prefixed with the name of a remote server. +> More information: . - List local containers matching a string. Omit the string to list all local containers: @@ -30,3 +31,7 @@ - Take a snapshot of a container: `lxc snapshot [{{remote}}:]{{container}} {{snapshot}}` + +- Execute a specific command inside a container: + +`lxc exec [{{remote}}:]{{container}} {{command}}` diff --git a/pages/linux/lxi.md b/pages/linux/lxi.md new file mode 100644 index 00000000000000..78633ff0a64bb7 --- /dev/null +++ b/pages/linux/lxi.md @@ -0,0 +1,24 @@ +# lxi + +> Control LXI compatible instruments such as oscilloscopes. +> More information: . + +- Discover LXI devices on available networks: + +`lxi discover` + +- Capture a screenshot, detecting a plugin automatically: + +`lxi screenshot {{[-a|--address]}} {{ip_address}}` + +- Capture a screenshot using a specified plugin: + +`lxi screenshot {{[-a|--address]}} {{ip_address}} {{[-p|--plugin]}} {{rigol-1000z}}` + +- Send an SCPI command to an instrument: + +`lxi scpi {{[-a|--address]}} {{ip_address}} "{{*IDN?}}"` + +- Run a benchmark for request and response performance: + +`lxi benchmark {{[-a|--address]}} {{ip_address}}` diff --git a/pages/linux/lxterminal.md b/pages/linux/lxterminal.md new file mode 100644 index 00000000000000..e1fc71f91d6176 --- /dev/null +++ b/pages/linux/lxterminal.md @@ -0,0 +1,24 @@ +# lxterminal + +> Terminal emulator for LXDE. +> More information: . + +- Open an LXTerminal window: + +`lxterminal` + +- Open an LXTerminal window, run a command, and then exit: + +`lxterminal {{[-e|--command]}} "{{command}}"` + +- Open an LXTerminal window with multiple tabs: + +`lxterminal --tabs={{tab_name1,tab_name2,...}}` + +- Open an LXTerminal window with a specific title: + +`lxterminal --title={{title_name}}` + +- Open an LXTerminal window with a specific working directory: + +`lxterminal --working-directory={{path/to/directory}}` diff --git a/pages/linux/lz.md b/pages/linux/lz.md new file mode 100644 index 00000000000000..49cb7a926fc718 --- /dev/null +++ b/pages/linux/lz.md @@ -0,0 +1,8 @@ +# lz + +> List all files inside a '.tar.gz' compressed archive. +> More information: . + +- List all files inside a compressed archive: + +`lz {{path/to/file.tar.gz}}` diff --git a/pages/linux/mac2unix.md b/pages/linux/mac2unix.md index 5fe8e3d771d89d..b03e60628e10f3 100644 --- a/pages/linux/mac2unix.md +++ b/pages/linux/mac2unix.md @@ -1,12 +1,22 @@ # mac2unix > Change macOS-style line endings to Unix-style. -> Replaces LF with CR. +> Replaces CR with LF. +> See also: `unix2dos`, `unix2mac`, `dos2unix`. +> More information: . - Change the line endings of a file: -`mac2unix {{filename}}` +`mac2unix {{path/to/file}}` - Create a copy with Unix-style line endings: -`mac2unix -n {{filename}} {{new_filename}}` +`mac2unix {{[-n|--newfile]}} {{path/to/file}} {{path/to/new_file}}` + +- Display file information: + +`mac2unix {{[-i|--info]}} {{path/to/file}}` + +- Keep/add/remove Byte Order Mark: + +`mac2unix --{{keep-bom|add-bom|remove-bom}} {{path/to/file}}` diff --git a/pages/linux/macchanger.md b/pages/linux/macchanger.md index 1cf1fbd75891ea..9529c86d7e6a4e 100644 --- a/pages/linux/macchanger.md +++ b/pages/linux/macchanger.md @@ -1,19 +1,28 @@ # macchanger -> Command-line utility for manipulating network interface MAC addresses. +> Manipulate network interface MAC addresses. +> More information: . - View the current and permanent MAC addresses of a interface: -`macchanger --show {{interface}}` +`macchanger {{[-s|--show]}} {{interface}}` - Set interface to a random MAC: -`macchanger --random {{interface}}` +`macchanger {{[-r|--random]}} {{interface}}` -- Set interface to a specific MAC: +- Set an interface to a random MAC address, and pretend to be a [b]urned-[i]n-[a]ddress: -`macchanger --mac {{XX:XX:XX:XX:XX:XX}} {{interface}}` +`macchanger {{[-r|--random]}} {{[-b|--bia]}} {{interface}}` -- Reset interface to its permanent hardware MAC: +- Set an interface to a specific MAC address: -`macchanger --permanent {{interface}}` +`macchanger {{[-m|--mac]}} {{XX:XX:XX:XX:XX:XX}} {{interface}}` + +- Print the identifications (the first three bytes of a MAC address) of all known vendors: + +`macchanger {{[-l|--list]}}` + +- Reset an interface to its permanent hardware MAC address: + +`macchanger {{[-p|--permanent]}} {{interface}}` diff --git a/pages/linux/machinectl.md b/pages/linux/machinectl.md new file mode 100644 index 00000000000000..330b4a6efef662 --- /dev/null +++ b/pages/linux/machinectl.md @@ -0,0 +1,21 @@ +# machinectl + +> Control the systemd machine manager. +> Execute operations on virtual machines, containers and images. +> More information: . + +- Start a machine as a service using `systemd-nspawn`: + +`sudo machinectl start {{machine_name}}` + +- Stop a running machine: + +`sudo machinectl stop {{machine_name}}` + +- Display a list of running machines: + +`machinectl list` + +- Open an interactive shell inside the machine: + +`sudo machinectl shell {{machine_name}}` diff --git a/pages/linux/maim.md b/pages/linux/maim.md index 3a6693ee9c60de..a9fc5664a3b2a3 100644 --- a/pages/linux/maim.md +++ b/pages/linux/maim.md @@ -1,7 +1,7 @@ # maim > Screenshot utility. -> More information: . +> More information: . - Capture a screenshot and save it to the given path: @@ -9,12 +9,12 @@ - Capture a screenshot of the selected region: -`maim --select {{path/to/screenshot.png}}` +`maim {{[-s|--select]}} {{path/to/screenshot.png}}` - Capture a screenshot of the selected region and save it in the clipboard (requires `xclip`): -`maim --select | xclip -selection clipboard -target image/png` +`maim {{[-s|--select]}} | xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png` - Capture a screenshot of the current active window (requires `xdotool`): -`maim --window $(xdotool getactivewindow) {{path/to/screenshot.png}}` +`maim {{[-i|--window]}} $(xdotool getactivewindow) {{path/to/screenshot.png}}` diff --git a/pages/linux/makepkg.md b/pages/linux/makepkg.md index c81d7d5347c0ef..d49ac59b22fb3e 100644 --- a/pages/linux/makepkg.md +++ b/pages/linux/makepkg.md @@ -1,21 +1,37 @@ # makepkg -> Creates a package installable with the `pacman` package manager. -> Runs the commands from a PKGBUILD file to build the package. -> More information: . +> Create a package which can be used with `pacman`. +> Uses the `PKGBUILD` file in the current working directory by default. +> More information: . -- Make a package (run in the same directory as a PKGBUILD): +- Make a package: `makepkg` - Make a package and install its dependencies: -`makepkg --syncdeps` +`makepkg {{[-s|--syncdeps]}}` -- Same as above, but install the package with `pacman` when done: +- Make a package, install its dependencies then install it to the system: -`makepkg --syncdeps --install` +`makepkg {{[-si|--syncdeps --install]}}` -- Make a package, but skip source checksums: +- Make a package, but skip checking the source's hashes: `makepkg --skipchecksums` + +- Clean up work directories after a successful build: + +`makepkg {{[-c|--clean]}}` + +- Verify the hashes of the sources: + +`makepkg --verifysource` + +- Generate and save the source information into `.SRCINFO`: + +`makepkg --printsrcinfo > .SRCINFO` + +- Download the source and install only the build dependencies for a program: + +`makepkg {{[-so|--syncdeps --nobuild]}}` diff --git a/pages/linux/mandb.md b/pages/linux/mandb.md index e5b6d61a228097..40ed80116be12f 100644 --- a/pages/linux/mandb.md +++ b/pages/linux/mandb.md @@ -1,6 +1,7 @@ # mandb > Manage the pre-formatted manual page database. +> More information: . - Purge and process manual pages: diff --git a/pages/linux/mangohud.md b/pages/linux/mangohud.md new file mode 100644 index 00000000000000..2e744ae9663748 --- /dev/null +++ b/pages/linux/mangohud.md @@ -0,0 +1,20 @@ +# mangohud + +> Display a monitoring HUD on top of a Vulkan or OpenGL graphical application. +> More information: . + +- Use `mangohud` on top of an application: + +`mangohud {{command}}` + +- Change overlay position: + +`` + +- Change overlay verbosity: + +`` + +- Toggle overlay visibility: + +`` diff --git a/pages/linux/manpath.md b/pages/linux/manpath.md index 6372d04fc44f57..d4a33c27b811ee 100644 --- a/pages/linux/manpath.md +++ b/pages/linux/manpath.md @@ -1,6 +1,7 @@ # manpath > Determine the search path for manual pages. +> More information: . - Display the search path used to find man pages: @@ -8,4 +9,4 @@ - Show the entire global manpath: -`manpath --global` +`manpath {{[-g|--global]}}` diff --git a/pages/linux/mashtree.md b/pages/linux/mashtree.md new file mode 100644 index 00000000000000..b2692cc86aa7c4 --- /dev/null +++ b/pages/linux/mashtree.md @@ -0,0 +1,17 @@ +# mashtree + +> Make a fast tree from genomes. +> Does not make a phylogeny. +> More information: . + +- Fastest method in mashtree to create a tree from fastq and/or fasta files using multiple threads, piping into a newick file: + +`mashtree --numcpus {{12}} {{*.fastq.gz}} {{*.fasta}} > {{mashtree.dnd}}` + +- Most accurate method in mashtree to create a tree from fastq and/or fasta files using multiple threads, piping into a newick file: + +`mashtree --mindepth {{0}} --numcpus {{12}} {{*.fastq.gz}} {{*.fasta}} > {{mashtree.dnd}}` + +- Most accurate method to create a tree with confidence values (note that any options for `mashtree` itself has to be on the right side of the `--`): + +`mashtree_bootstrap.pl --reps {{100}} --numcpus {{12}} {{*.fastq.gz}} -- --min-depth {{0}} > {{mashtree.bootstrap.dnd}}` diff --git a/pages/linux/matchpathcon.md b/pages/linux/matchpathcon.md new file mode 100644 index 00000000000000..2df9cf3539e608 --- /dev/null +++ b/pages/linux/matchpathcon.md @@ -0,0 +1,17 @@ +# matchpathcon + +> Lookup the persistent SELinux security context setting of a path. +> See also: `semanage-fcontext`, `secon`, `chcon`, `restorecon`. +> More information: . + +- Lookup the persistent security context setting of an absolute path: + +`matchpathcon /{{path/to/file}}` + +- Restrict lookup to settings on a specific file type: + +`matchpathcon -m {{file|dir|pipe|chr_file|blk_file|lnk_file|sock_file}} /{{path/to/file}}` + +- [V]erify that the persistent and current security context of a path agree: + +`matchpathcon -V /{{path/to/file}}` diff --git a/pages/linux/mate-about.md b/pages/linux/mate-about.md new file mode 100644 index 00000000000000..d43db9295b7a23 --- /dev/null +++ b/pages/linux/mate-about.md @@ -0,0 +1,8 @@ +# mate-about + +> Show information about MATE desktop environment. +> More information: . + +- Display MATE version: + +`mate-about --version` diff --git a/pages/linux/mate-calc-cmd.md b/pages/linux/mate-calc-cmd.md new file mode 100644 index 00000000000000..cb13097e944c58 --- /dev/null +++ b/pages/linux/mate-calc-cmd.md @@ -0,0 +1,12 @@ +# mate-calc-cmd + +> Calculate mathematic expressions in MATE desktop environment in terminal. +> More information: . + +- Start an interactive calculator session: + +`mate-calc-cmd` + +- Calculate a specific mathematic expression: + +`{{2 + 5}}` diff --git a/pages/linux/mate-calc.md b/pages/linux/mate-calc.md new file mode 100644 index 00000000000000..318b976c4419c6 --- /dev/null +++ b/pages/linux/mate-calc.md @@ -0,0 +1,12 @@ +# mate-calc + +> Calculate mathematic expressions in MATE desktop environment. +> More information: . + +- Start the calculator: + +`mate-calc` + +- Calculate a specific mathematic expression: + +`mate-calc --solve {{2 + 5}}` diff --git a/pages/linux/mate-screenshot.md b/pages/linux/mate-screenshot.md new file mode 100644 index 00000000000000..776a74222c4582 --- /dev/null +++ b/pages/linux/mate-screenshot.md @@ -0,0 +1,32 @@ +# mate-screenshot + +> Make screenshots in MATE desktop environment. +> More information: . + +- Create a fullscreen screenshot: + +`mate-screenshot` + +- Create an active window screenshot: + +`mate-screenshot --window` + +- Create a specific area screenshot: + +`mate-screenshot --area` + +- Create a screenshot interactively: + +`mate-screenshot --interactive` + +- Create a screenshot without borders: + +`mate-screenshot --window --remove-border` + +- Create a screenshot with a specific effect: + +`mate-screenshot --effect={{shadow|border|none}}` + +- Create a screenshot with a specific delay in seconds: + +`mate-screenshot --delay={{5}}` diff --git a/pages/linux/mate-search-tool.md b/pages/linux/mate-search-tool.md new file mode 100644 index 00000000000000..5eb83a3e7398c2 --- /dev/null +++ b/pages/linux/mate-search-tool.md @@ -0,0 +1,28 @@ +# mate-search-tool + +> Search files in MATE desktop environment. +> More information: . + +- Search files containing a specific string in their name in a specific directory: + +`mate-search-tool --named={{string}} --path={{path/to/directory}}` + +- Search files without waiting a user confirmation: + +`mate-search-tool --start --named={{string}} --path={{path/to/directory}}` + +- Search files with name matching a specific `regex`: + +`mate-search-tool --start --regex={{string}} --path={{path/to/directory}}` + +- Set a sorting order in search results: + +`mate-search-tool --start --named={{string}} --path={{path/to/directory}} --sortby={{name|folder|size|type|date}}` + +- Set a descending sorting order: + +`mate-search-tool --start --named={{string}} --path={{path/to/directory}} --descending` + +- Search files owned by a specific user/group: + +`mate-search-tool --start --{{user|group}}={{value}} --path={{path/to/directory}}` diff --git a/pages/linux/mbw.md b/pages/linux/mbw.md new file mode 100644 index 00000000000000..d9bad7cf468aa2 --- /dev/null +++ b/pages/linux/mbw.md @@ -0,0 +1,24 @@ +# mbw + +> Memory Bandwidth Benchmark. +> More information: . + +- Run 3 memory bandwidth tests with 512MB size: + +`mbw -n 3 512` + +- Run 3 memory bandwidth tests with 512MB memory size, output only statistics, not averages: + +`mbw -n 3 -q -a 512` + +- Run memcpy test 3 times with 512MB size, only display statistics: + +`mbw -n 3 -q -t{{0}} 512` + +- Run the memcpy test 10 times with 1024 byte blocks allocated 8192MB of memory: + +`mbw -n 10 -q -t{{2}} -b 1024 8192` + +- Run dumb test with 2048MB size, output only statistics, run forever: + +`mbw -n 0 -t{{1}} -q 2048` diff --git a/pages/linux/mcookie.md b/pages/linux/mcookie.md index c0473cfdaf41e3..1176edf0b8b198 100644 --- a/pages/linux/mcookie.md +++ b/pages/linux/mcookie.md @@ -1,6 +1,7 @@ # mcookie -> Generates random 128 bit hexadecimal numbers. +> Generate random 128-bit hexadecimal numbers. +> More information: . - Generate a random number: @@ -8,12 +9,12 @@ - Generate a random number, using the contents of a file as a seed for the randomness: -`mcookie --file {{path/to/file}}` +`mcookie {{[-f|--file]}} {{path/to/file}}` - Generate a random number, using a specific number of bytes from a file as a seed for the randomness: -`mcookie --file {{path/to/file}} --max-size {{number_of_bytes}}` +`mcookie {{[-f|--file]}} {{path/to/file}} {{[-m|--max-size]}} {{number_of_bytes}}` - Print the details of the randomness used, such as the origin and seed for each source: -`mcookie --verbose` +`mcookie {{[-v|--verbose]}}` diff --git a/pages/linux/mdadm.md b/pages/linux/mdadm.md index 7e1db52ffe2ba5..daaf851837f1ce 100644 --- a/pages/linux/mdadm.md +++ b/pages/linux/mdadm.md @@ -1,28 +1,32 @@ # mdadm > RAID management utility. -> More information: . +> More information: . - Create array: -`mdadm --create {{/dev/md/MyRAID}} --level {{raid_level}} --raid-devices {{number_of_disks}} {{/dev/sdXN}}` +`sudo mdadm --create {{/dev/md/MyRAID}} --level {{raid_level}} --raid-devices {{number_of_disks}} {{/dev/sdXN}}` - Stop array: -`mdadm --stop {{/dev/md0}}` +`sudo mdadm --stop {{/dev/md0}}` - Mark disk as failed: -`mdadm --fail {{/dev/md0}} {{/dev/sdXN}}` +`sudo mdadm --fail {{/dev/md0}} {{/dev/sdXN}}` - Remove disk: -`mdadm --remove {{/dev/md0}} {{/dev/sdXN}}` +`sudo mdadm --remove {{/dev/md0}} {{/dev/sdXN}}` - Add disk to array: -`mdadm --assemble {{/dev/md0}} {{/dev/sdXN}}` +`sudo mdadm --assemble {{/dev/md0}} {{/dev/sdXN}}` - Show RAID info: -`mdadm --detail {{/dev/md0}}` +`sudo mdadm --detail {{/dev/md0}}` + +- Reset disk by deleting RAID metadata: + +`sudo mdadm --zero-superblock {{/dev/sdXN}}` diff --git a/pages/linux/mdbook.md b/pages/linux/mdbook.md index f4495960c8b832..451c26b4142878 100644 --- a/pages/linux/mdbook.md +++ b/pages/linux/mdbook.md @@ -1,13 +1,13 @@ # mdbook -> Create online books by writing makrdown files. -> More information: . +> Create online books by writing Markdown files. +> More information: . -- Create a mdbook project in the current directory: +- Create an mdbook project in the current directory: `mdbook init` -- Create a mdbook project in a specific directory: +- Create an mdbook project in a specific directory: `mdbook init {{path/to/directory}}` @@ -15,7 +15,7 @@ `mdbook clean` -- Serve a book at `http://localhost:3000`, auto build when file changes: +- Serve a book at , auto build when file changes: `mdbook serve` diff --git a/pages/linux/mediamtx.md b/pages/linux/mediamtx.md new file mode 100644 index 00000000000000..9b0decd1428146 --- /dev/null +++ b/pages/linux/mediamtx.md @@ -0,0 +1,16 @@ +# mediamtx + +> Real-time media server and proxy. +> More information: . + +- Run MediaMTX: + +`mediamtx` + +- Run MediaMTX with a custom configuration location: + +`mediamtx {{path/to/config.yml}}` + +- Start MediaMTX as a daemon: + +`systemctl start mediamtx` diff --git a/pages/linux/medusa.md b/pages/linux/medusa.md deleted file mode 100644 index 3985fbab88b21c..00000000000000 --- a/pages/linux/medusa.md +++ /dev/null @@ -1,19 +0,0 @@ -# Medusa - -> A modular and parallel login brute-forcer for a variety of protocols. - -- Execute brute force against an FTP server using a file containing usernames and a file containing passwords: - -`medusa -M ftp -h host -U {{path/to/username_file}} -P {{path/to/password_file}}` - -- Execute a login attempt against a HTTP server using the username, password and user-agent specified: - -`medusa -M HTTP -h host -u {{username}} -p {{password}} -m USER-AGENT:"{{Agent}}"` - -- Execute a brute force against a MySQL server using a file containing usernames and a hash: - -`medusa -M mysql -h host -U {{path/to/username_file}} -p {{hash}} -m PASS:HASH` - -- Execute a brute force against a list of SMB servers using a username and a pwdump file: - -`medusa -M smbnt -H {{path/to/hosts_file}} -C {{path/to/pwdump_file}} -u {{username}} -m PASS:HASH` diff --git a/pages/linux/megadl.md b/pages/linux/megadl.md new file mode 100644 index 00000000000000..a9a6656e721a48 --- /dev/null +++ b/pages/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> This command is an alias of `megatools-dl`. + +- View documentation for the original command: + +`tldr megatools-dl` diff --git a/pages/linux/megatools-dl.md b/pages/linux/megatools-dl.md new file mode 100644 index 00000000000000..b764c22fb425a8 --- /dev/null +++ b/pages/linux/megatools-dl.md @@ -0,0 +1,21 @@ +# megatools-dl + +> Download files from `mega.nz`. +> Part of the `megatools` suite. +> More information: . + +- Download files from a `mega.nz` link into the current directory: + +`megatools-dl {{https://mega.nz/...}}` + +- Download files from a `mega.nz` link into a specific directory: + +`megatools-dl --path {{path/to/directory}} {{https://mega.nz/...}}` + +- Interactively choose which files to download: + +`megatools-dl --choose-files {{https://mega.nz/...}}` + +- Limit the download speed in KiB/s: + +`megatools-dl --limit-speed {{speed}} {{https://mega.nz/...}}` diff --git a/pages/linux/mesg.md b/pages/linux/mesg.md new file mode 100644 index 00000000000000..768e63bd82ec95 --- /dev/null +++ b/pages/linux/mesg.md @@ -0,0 +1,21 @@ +# mesg + +> Check or set a terminal's ability to receive messages from other users, usually from the `write` command. +> See also: `write`, `talk`. +> More information: . + +- Check terminal's openness to write messages: + +`mesg` + +- Disallow receiving messages from other users: + +`mesg n` + +- Allow receiving messages from other users: + +`mesg y` + +- Enable verbose mode, printing a warning if the command is not executed from a terminal: + +`mesg {{[-v|--verbose]}}` diff --git a/pages/linux/mhwd.md b/pages/linux/mhwd.md new file mode 100644 index 00000000000000..983c8f2d4bc791 --- /dev/null +++ b/pages/linux/mhwd.md @@ -0,0 +1,28 @@ +# mhwd + +> Manjaro Hardware Detection utility. +> More information: . + +- List available drivers: + +`mhwd {{[-l|--list]}}` + +- List installed drivers: + +`mhwd {{[-li|--listinstalled]}}` + +- Install a driver: + +`mhwd {{[-i|--install]}} {{pci|usb}} {{driver_name}}` + +- Remove a driver: + +`mhwd {{[-r|--remove]}} {{pci|usb}} {{driver_name}}` + +- Display detailed information about detected hardware: + +`mhwd {{[-l|--list]}} {{[-d|--detail]}}` + +- Automatically install best available driver for the detected graphics card: + +`mhwd {{[-a|--auto]}} pci {{free|nonfree}} 0300` diff --git a/pages/linux/microcom.md b/pages/linux/microcom.md index 460cd69de0d05f..6260de690cfe41 100644 --- a/pages/linux/microcom.md +++ b/pages/linux/microcom.md @@ -1,11 +1,12 @@ # microcom > A minimalistic terminal program, used to access remote devices via a serial, CAN or telnet connection from the console. +> More information: . - Open a serial port using the specified baud rate: -`microcom --port {{path/to/serial_port}} --speed {{baud_rate}}` +`microcom {{[-p|--port]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{baud_rate}}` - Establish a telnet connection to the specified host: -`microcom --telnet {{hostname}}:{{port}}` +`microcom {{[-t|--telnet]}} {{hostname}}:{{port}}` diff --git a/pages/linux/mimetype.md b/pages/linux/mimetype.md index e6de211e73e039..c3c882be4b7d4a 100644 --- a/pages/linux/mimetype.md +++ b/pages/linux/mimetype.md @@ -1,6 +1,7 @@ # mimetype > Automatically determine the MIME type of a file. +> More information: . - Print the MIME type of a given file: @@ -14,9 +15,9 @@ `mimetype --describe {{path/to/file}}` -- Determine the MIME type of stdin (does not check a filename): +- Determine the MIME type of `stdin` (does not check a filename): -`{{some_command}} | mimetype --stdin` +`{{command}} | mimetype --stdin` - Display debug information about how the MIME type was determined: diff --git a/pages/linux/minicom.md b/pages/linux/minicom.md new file mode 100644 index 00000000000000..0c624ae454fd73 --- /dev/null +++ b/pages/linux/minicom.md @@ -0,0 +1,28 @@ +# minicom + +> Communicate with the serial interface of a device. +> More information: . + +- Open a given serial port: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}}` + +- Open a given serial port with a given baud rate: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-b|--baudrate]}} {{115200}}` + +- Enter the configuration menu before communicating with a given serial port: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-s|--setup]}}` + +- Capture the output of a serial port to a file: + +`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-C|--capturefile]}} {{path/to/file}}` + +- Exit minicom: + +`` + +- Display help: + +`minicom {{[-h|--help]}}` diff --git a/pages/linux/mke2fs.md b/pages/linux/mke2fs.md index 365f36a7035854..2866d3d77f4de8 100644 --- a/pages/linux/mke2fs.md +++ b/pages/linux/mke2fs.md @@ -1,15 +1,16 @@ # mke2fs -> Creates a Linux filesystem inside a partition. +> Create a Linux filesystem inside a partition. +> More information: . - Create an ext2 filesystem in partition 1 of device b (`sdb1`): -`mkfs.ext2 {{/dev/sdb1}}` +`mke2fs -t ext2 {{/dev/sdb1}}` - Create an ext3 filesystem in partition 1 of device b (`sdb1`): -`mkfs.ext3 {{/dev/sdb1}}` +`mke2fs -t ext3 {{/dev/sdb1}}` -- Create an ext3 filesystem in partition 1 of device b (`sdb1`): +- Create an ext4 filesystem in partition 1 of device b (`sdb1`): -`mkfs.ext3 {{/dev/sdb1}}` +`mke2fs -t ext4 {{/dev/sdb1}}` diff --git a/pages/linux/mkfs.bcachefs.md b/pages/linux/mkfs.bcachefs.md new file mode 100644 index 00000000000000..413d80534c86d0 --- /dev/null +++ b/pages/linux/mkfs.bcachefs.md @@ -0,0 +1,13 @@ +# mkfs.bcachefs + +> Create a `bcachefs` filesystem inside a partition. +> See also: `bcachefs`. +> More information: . + +- Create a `bcachefs` filesystem inside partition `Y` on a device `X`: + +`sudo mkfs.bcachefs {{/dev/sdXY}}` + +- Create a `bcachefs` filesystem with a volume label: + +`sudo mkfs.bcachefs {{[-L|--fs_label]}} {{volume_label}} {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.btrfs.md b/pages/linux/mkfs.btrfs.md new file mode 100644 index 00000000000000..a6bd73f712623c --- /dev/null +++ b/pages/linux/mkfs.btrfs.md @@ -0,0 +1,25 @@ +# mkfs.btrfs + +> Create a BTRFS filesystem. +> Defaults to `raid1`, which specifies 2 copies of a data block spread across 2 different devices. +> More information: . + +- Create a Btrfs filesystem on an empty partition: + +`sudo mkfs.btrfs {{/dev/sdXY}}` + +- Create a btrfs filesystem on a single device: + +`sudo mkfs.btrfs {{[-m|--metadata]}} single {{[-d|--data]}} single {{/dev/sdX}}` + +- Create a btrfs filesystem on multiple devices with raid1: + +`sudo mkfs.btrfs {{[-m|--metadata]}} raid1 {{[-d|--data]}} raid1 {{/dev/sdX /dev/sdY /dev/sdZ ...}}` + +- Set a label for the filesystem: + +`sudo mkfs.btrfs {{[-L|--label]}} "{{label}}" {{/dev/sdX /dev/sdY ...}}` + +- Overwrite existing filesystem if one is detected: + +`sudo mkfs.btrfs {{[-f|--force]}} {{/dev/sdX}}` diff --git a/pages/linux/mkfs.cramfs.md b/pages/linux/mkfs.cramfs.md index 57f5cff84d5a17..24935fceaa0ce9 100644 --- a/pages/linux/mkfs.cramfs.md +++ b/pages/linux/mkfs.cramfs.md @@ -1,11 +1,12 @@ # mkfs.cramfs -> Creates a ROM filesystem inside a partition. +> Create a ROM filesystem inside a partition. +> More information: . -- Create a ROM filesystem inside partition 1 on device b (`sdb1`): +- Create a ROM filesystem inside partition Y on device X: -`mkfs.cramfs {{/dev/sdb1}}` +`mkfs.cramfs {{/dev/sdXY}}` - Create a ROM filesystem with a volume-name: -`mkfs.cramfs -n {{volume_name}} {{/dev/sdb1}}` +`mkfs.cramfs -n {{volume_name}} {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.erofs.md b/pages/linux/mkfs.erofs.md new file mode 100644 index 00000000000000..9b6400226f5020 --- /dev/null +++ b/pages/linux/mkfs.erofs.md @@ -0,0 +1,20 @@ +# mkfs.erofs + +> Create an EROFS filesystem in an image. +> More information: . + +- Create an EROFS filesystem based on the root directory: + +`mkfs.erofs image.erofs root/` + +- Create an EROFS image with a specific UUID: + +`mkfs.erofs -U {{UUID}} image.erofs root/` + +- Create a compressed EROFS image: + +`mkfs.erofs -zlz4hc image.erofs root/` + +- Create an EROFS image where all files are owned by root: + +`mkfs.erofs --all-root image.erofs root/` diff --git a/pages/linux/mkfs.exfat.md b/pages/linux/mkfs.exfat.md index f8d05c2a79b1b1..36e4d2de739883 100644 --- a/pages/linux/mkfs.exfat.md +++ b/pages/linux/mkfs.exfat.md @@ -1,15 +1,16 @@ # mkfs.exfat -> Creates an exfat filesystem inside a partition. +> Create an exfat filesystem inside a partition. +> More information: . -- Create an exfat filesystem inside partition 1 on device b (`sdb1`): +- Create an exfat filesystem inside partition Y on device X: -`mkfs.exfat {{/dev/sdb1}}` +`mkfs.exfat {{/dev/sdXY}}` - Create filesystem with a volume-name: -`mkfs.exfat -n {{volume_name}} {{/dev/sdb1}}` +`mkfs.exfat {{[-L|--volume-label]}} {{volume_name}} {{/dev/sdXY}}` - Create filesystem with a volume-id: -`mkfs.exfat -i {{volume_id}} {{/dev/sdb1}}` +`mkfs.exfat {{[-U|--volume-guid]}} {{volume_id}} {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.ext4.md b/pages/linux/mkfs.ext4.md index 1add3e42192bf4..c2ca91cc8e3ea3 100644 --- a/pages/linux/mkfs.ext4.md +++ b/pages/linux/mkfs.ext4.md @@ -1,11 +1,12 @@ # mkfs.ext4 -> Creates an ext4 filesystem inside a partition. +> Create an ext4 filesystem inside a partition. +> More information: . -- Create an ext4 filesystem inside partition 1 on device b (`sdb1`): +- Create an ext4 filesystem inside partition Y on device X: -`sudo mkfs.ext4 {{/dev/sdb1}}` +`sudo mkfs.ext4 {{/dev/sdXY}}` - Create an ext4 filesystem with a volume-label: -`sudo mkfs.ext4 -L {{volume_label}} {{/dev/sdb1}}` +`sudo mkfs.ext4 -L {{volume_label}} {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.f2fs.md b/pages/linux/mkfs.f2fs.md new file mode 100644 index 00000000000000..7a903fcdef6887 --- /dev/null +++ b/pages/linux/mkfs.f2fs.md @@ -0,0 +1,12 @@ +# mkfs.f2fs + +> Create an F2FS filesystem inside a partition. +> More information: . + +- Create an F2FS filesystem inside partition Y on device X: + +`sudo mkfs.f2fs {{/dev/sdXY}}` + +- Create an F2FS filesystem with a volume label: + +`sudo mkfs.f2fs -l {{volume_label}} {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.fat.md b/pages/linux/mkfs.fat.md index d2d1d0673e6234..5ac1e49c55654e 100644 --- a/pages/linux/mkfs.fat.md +++ b/pages/linux/mkfs.fat.md @@ -1,19 +1,24 @@ # mkfs.fat -> Creates an MS-DOS filesystem inside a partition. +> Create an MS-DOS filesystem inside a partition. +> More information: . -- Create a fat filesystem inside partition 1 on device b (`sdb1`): +- Create a fat filesystem inside partition `Y` on device `X`: -`mkfs.fat {{/dev/sdb1}}` +`mkfs.fat {{/dev/sdXY}}` - Create filesystem with a volume-name: -`mkfs.fat -n {{volume_name}} {{/dev/sdb1}}` +`mkfs.fat -n {{volume_name}} {{/dev/sdXY}}` - Create filesystem with a volume-id: -`mkfs.fat -i {{volume_id}} {{/dev/sdb1}}` +`mkfs.fat -i {{volume_id}} {{/dev/sdXY}}` - Use 5 instead of 2 file allocation tables: -`mkfs.fat -f 5 {{/dev/sdb1}}` +`mkfs.fat -f 5 {{/dev/sdXY}}` + +- Specify filesystem type: + +`mkfs.fat -F {{12|16|32}} {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.md b/pages/linux/mkfs.md index 40715330d2d233..013e109fbf73e8 100644 --- a/pages/linux/mkfs.md +++ b/pages/linux/mkfs.md @@ -1,16 +1,17 @@ # mkfs > Build a Linux filesystem on a hard disk partition. -> This command is deprecated in favor of filesystem specific mkfs. utils. +> This command is deprecated in favor of filesystem specific mkfs.type utils. +> More information: . - Build a Linux ext2 filesystem on a partition: -`mkfs {{path/to/partition}}` +`mkfs {{/dev/sdXY}}` - Build a filesystem of a specified type: -`mkfs -t {{ext4}} {{path/to/partition}}` +`mkfs {{[-t|--type]}} {{ext4}} {{/dev/sdXY}}` - Build a filesystem of a specified type and check for bad blocks: -`mkfs -c -t {{ntfs}} {{path/to/partition}}` +`mkfs -c {{[-t|--type]}} {{ntfs}} {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.minix.md b/pages/linux/mkfs.minix.md index ce1fc15c6c8548..27ec67efc4351a 100644 --- a/pages/linux/mkfs.minix.md +++ b/pages/linux/mkfs.minix.md @@ -1,7 +1,8 @@ # mkfs.minix -> Creates a Minix filesystem inside a partition. +> Create a Minix filesystem inside a partition. +> More information: . -- Create a Minix filesystem inside partition 1 on device b (`sdb1`): +- Create a Minix filesystem inside partition Y on device X: -`mkfs.minix {{/dev/sdb1}}` +`mkfs.minix {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.ntfs.md b/pages/linux/mkfs.ntfs.md index 33d26f879a99af..38133ecc0cb2a1 100644 --- a/pages/linux/mkfs.ntfs.md +++ b/pages/linux/mkfs.ntfs.md @@ -1,15 +1,16 @@ # mkfs.ntfs -> Creates a NTFS filesystem inside a partition. +> Create a NTFS filesystem inside a partition. +> More information: . -- Create a NTFS filesystem inside partition 1 on device b (`sdb1`): +- Create a NTFS filesystem inside partition Y on device X: -`mkfs.ntfs {{/dev/sdb1}}` +`mkfs.ntfs {{/dev/sdXY}}` - Create filesystem with a volume-label: -`mkfs.ntfs -L {{volume_label}} {{/dev/sdb1}}` +`mkfs.ntfs {{[-L|--label]}} {{volume_label}} {{/dev/sdXY}}` - Create filesystem with specific UUID: -`mkfs.ntfs -U {{UUID}} {{/dev/sdb1}}` +`mkfs.ntfs {{[-U|--with-uuid]}} {{UUID}} {{/dev/sdXY}}` diff --git a/pages/linux/mkfs.vfat.md b/pages/linux/mkfs.vfat.md index 307b4cb154c86d..62b00856fb4d76 100644 --- a/pages/linux/mkfs.vfat.md +++ b/pages/linux/mkfs.vfat.md @@ -1,19 +1,7 @@ # mkfs.vfat -> Creates an MS-DOS filesystem inside a partition. +> This command is an alias of `mkfs.fat`. -- Create a.vfat filesystem inside partition 1 on device b (`sdb1`): +- View documentation for the original command: -`mkfs.vfat {{/dev/sdb1}}` - -- Create filesystem with a volume-name: - -`mkfs.vfat -n {{volume_name}} {{/dev/sdb1}}` - -- Create filesystem with a volume-id: - -`mkfs.vfat -i {{volume_id}} {{/dev/sdb1}}` - -- Use 5 instead of 2 file allocation tables: - -`mkfs.vfat -f 5 {{/dev/sdb1}}` +`tldr mkfs.fat` diff --git a/pages/linux/mkfs.xfs.md b/pages/linux/mkfs.xfs.md new file mode 100644 index 00000000000000..19fae4d2c9891b --- /dev/null +++ b/pages/linux/mkfs.xfs.md @@ -0,0 +1,12 @@ +# mkfs.xfs + +> Create an XFS filesystem inside a partition. +> More information: . + +- Create an XFS filesystem inside partition Y on device X: + +`sudo mkfs.xfs {{/dev/sdXY}}` + +- Create an XFS filesystem with a volume label: + +`sudo mkfs.xfs -L {{volume_label}} {{/dev/sdXY}}` diff --git a/pages/linux/mkhomedir_helper.md b/pages/linux/mkhomedir_helper.md new file mode 100644 index 00000000000000..11ae840977fa2c --- /dev/null +++ b/pages/linux/mkhomedir_helper.md @@ -0,0 +1,16 @@ +# mkhomedir_helper + +> Create the user's home directory after creating the user. +> More information: . + +- Create a home directory for a user based on `/etc/skel` with umask 022: + +`sudo mkhomedir_helper {{username}}` + +- Create a home directory for a user based on `/etc/skel` with all permissions for owner (0) and read permission for group (3): + +`sudo mkhomedir_helper {{username}} {{037}}` + +- Create a home directory for a user based on a custom skeleton: + +`sudo mkhomedir_helper {{username}} {{umask}} {{path/to/skeleton_directory}}` diff --git a/pages/linux/mkinitcpio.md b/pages/linux/mkinitcpio.md new file mode 100644 index 00000000000000..4414977ae7d124 --- /dev/null +++ b/pages/linux/mkinitcpio.md @@ -0,0 +1,36 @@ +# mkinitcpio + +> Generate initial ramdisk environments for booting the Linux kernel based on the specified preset(s). +> More information: . + +- Perform a dry run (print what would be done without actually doing it): + +`mkinitcpio` + +- Generate ramdisk environments based on all existing presets (used to regenerate all the initramfs images after a change in `/etc/mkinitcpio.conf`): + +`sudo mkinitcpio {{[-P|--allpresets]}}` + +- Generate a ramdisk environment based on the `linux` preset: + +`sudo mkinitcpio {{[-p|--preset]}} linux` + +- Generate a ramdisk environment based on the `linux-lts` preset: + +`sudo mkinitcpio {{[-p|--preset]}} linux-lts` + +- Generate an initramfs image using an alternative configuration file: + +`sudo mkinitcpio {{[-c|--config]}} {{path/to/mkinitcpio.conf}} {{[-g|--generate]}} {{path/to/initramfs.img}}` + +- Generate an initramfs image for a kernel other than the one currently running (the installed kernel releases can be found in `/usr/lib/modules/`): + +`sudo mkinitcpio {{[-k|--kernel]}} {{kernel_version}} {{[-g|--generate]}} {{path/to/initramfs.img}}` + +- List all available hooks: + +`mkinitcpio {{[-L|--listhooks]}}` + +- Display help for a specific hook: + +`mkinitcpio {{[-H|--hookhelp]}} {{hook_name}}` diff --git a/pages/linux/mkinitfs.md b/pages/linux/mkinitfs.md new file mode 100644 index 00000000000000..6b0b51a93bb55d --- /dev/null +++ b/pages/linux/mkinitfs.md @@ -0,0 +1,24 @@ +# mkinitfs + +> Generate an initramfs on Alpine Linux. +> More information: . + +- Generate an initramfs with the features specified in `/etc/mkinitfs/mkinitfs.conf`: + +`mkinitfs` + +- Use a different configuration file: + +`mkinitfs -c {{path/to/config}}` + +- Compress the initramfs using the specified compression algorithm (default: gzip): + +`mkinitfs -C {{gzip|xz|zstd|lz4|none}}` + +- List files that will be included in the initramfs image: + +`mkinitfs -l` + +- List all available features: + +`mkinitfs -L` diff --git a/pages/linux/mkisofs.md b/pages/linux/mkisofs.md index bf170653723f55..88097deb923e5e 100644 --- a/pages/linux/mkisofs.md +++ b/pages/linux/mkisofs.md @@ -2,6 +2,7 @@ > Create ISO files from directories. > Also aliased as `genisoimage`. +> More information: . - Create an ISO from a directory: diff --git a/pages/linux/mklost+found.md b/pages/linux/mklost+found.md new file mode 100644 index 00000000000000..6e88f8aad3ecf8 --- /dev/null +++ b/pages/linux/mklost+found.md @@ -0,0 +1,8 @@ +# mklost+found + +> Create a lost+found directory. +> More information: . + +- Create a `lost+found` directory in the current directory: + +`mklost+found` diff --git a/pages/linux/mknod.md b/pages/linux/mknod.md index 53e90446e0ba81..f495ade9557863 100644 --- a/pages/linux/mknod.md +++ b/pages/linux/mknod.md @@ -1,6 +1,7 @@ # mknod > Create block or character device special files. +> More information: . - Create a block device: @@ -16,4 +17,4 @@ - Create a device file with default SELinux security context: -`sudo mknod -Z {{path/to/device_file}} {{type}} {{major_device_number}} {{minor_device_number}}` +`sudo mknod {{[-Z |--context=]}}{{path/to/device_file}} {{type}} {{major_device_number}} {{minor_device_number}}` diff --git a/pages/linux/mkosi.md b/pages/linux/mkosi.md new file mode 100644 index 00000000000000..70ab805e7e168f --- /dev/null +++ b/pages/linux/mkosi.md @@ -0,0 +1,25 @@ +# mkosi + +> Build modern, legacy-free Linux images. +> Part of `systemd`. +> More information: . + +- Show current build configuration to verify what would be built: + +`mkosi summary` + +- Build an image with default settings (if no distribution is selected, the distribution of the host system is used): + +`mkosi build --distribution {{fedora|debian|ubuntu|arch|opensuse|...}}` + +- Build an image and run an interactive shell in a systemd-nspawn container of the image: + +`mkosi shell` + +- Boot an image in a virtual machine using QEMU (only supported for disk images or CPIO images when a kernel is provided): + +`mkosi qemu` + +- Display help: + +`mkosi help` diff --git a/pages/linux/mksquashfs.md b/pages/linux/mksquashfs.md new file mode 100644 index 00000000000000..1be03e2defec05 --- /dev/null +++ b/pages/linux/mksquashfs.md @@ -0,0 +1,24 @@ +# mksquashfs + +> Create or append files and directories to squashfs filesystems. +> More information: . + +- Create or append files and directories to a squashfs filesystem (compressed using `gzip` by default): + +`mksquashfs {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{filesystem.squashfs}}` + +- Create or append files and directories to a squashfs filesystem, using a specific [comp]ression algorithm: + +`mksquashfs {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{filesystem.squashfs}} -comp {{gzip|lzo|lz4|xz|zstd|lzma}}` + +- Create or append files and directories to a squashfs filesystem, [e]xcluding some of them: + +`mksquashfs {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{filesystem.squashfs}} -e {{file|directory1 file|directory2 ...}}` + +- Create or append files and directories to a squashfs filesystem, [e]xcluding those ending with gzip: + +`mksquashfs {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{filesystem.squashfs}} -wildcards -e "{{*.gz}}"` + +- Create or append files and directories to a squashfs filesystem, [e]xcluding those matching a `regex`: + +`mksquashfs {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{filesystem.squashfs}} -regex -e "{{regex}}"` diff --git a/pages/linux/mkswap.md b/pages/linux/mkswap.md index 263afd6a3634c3..6663c357d11991 100644 --- a/pages/linux/mkswap.md +++ b/pages/linux/mkswap.md @@ -1,19 +1,25 @@ # mkswap -> Sets up a Linux swap area on a device or in a file. +> Set up a Linux swap area on a device or in a file. +> Note: `path/to/file` can either point to a regular file or a swap partition. +> More information: . -- Setup a given partition as swap area: - -`sudo mkswap {{/dev/sdb7}}` - -- Use a given file as swap area: +- Set up a given swap area: `sudo mkswap {{path/to/file}}` - Check a partition for bad blocks before creating the swap area: -`sudo mkswap -c {{/dev/sdb7}}` +`sudo mkswap {{[-c|--check]}} {{path/to/file}}` + +- Specify a label for the partition (to allow `swapon` to use the label): + +`sudo mkswap {{[-L|--label]}} {{label}} {{/dev/sdXY}}` + +- Use the specified UUID: + +`sudo mkswap {{[-U|--uuid]}} {{clear|random|time|UUID_value}}` -- Specify a label for the file (to allow `swapon` to use the label): +- Set up a swap file (for btrfs, see `tldr btrfs filesystem` instead): -`sudo mkswap -L {{swap1}} {{path/to/file}}` +`sudo mkswap {{[-s|--size]}} {{file_size}} {{[-F|--file]}} {{path/to/swapfile}}` diff --git a/pages/linux/mktemp.md b/pages/linux/mktemp.md new file mode 100644 index 00000000000000..6afbbe856580b0 --- /dev/null +++ b/pages/linux/mktemp.md @@ -0,0 +1,32 @@ +# mktemp + +> Create a temporary file or directory. +> More information: . + +- Create an empty temporary file and print its absolute path: + +`mktemp` + +- Use a custom directory (defaults to `$TMPDIR`, or `/tmp`): + +`mktemp {{[-p |--tmpdir=]}}/{{path/to/temporary_directory}}` + +- Use a custom path template (`X`s are replaced with random alphanumeric characters): + +`mktemp {{/tmp/example.XXXXXXXX}}` + +- Use a custom file name template: + +`mktemp -t {{example.XXXXXXXX}}` + +- Create an empty temporary file with the given suffix and print its absolute path: + +`mktemp --suffix {{.ext}}` + +- Create an empty temporary directory and print its absolute path: + +`mktemp {{[-d|--directory]}}` + +- Print the name of a temporary file or directory without actually creating it: + +`mktemp {{[-u|--dry-run]}}` diff --git a/pages/linux/mkvpropedit.md b/pages/linux/mkvpropedit.md new file mode 100644 index 00000000000000..edb7886e76cfad --- /dev/null +++ b/pages/linux/mkvpropedit.md @@ -0,0 +1,20 @@ +# mkvpropedit + +> Modify properties of existing Matroska files without a complete remux. +> More information: . + +- Delete title: + +`mkvpropedit {{[-d|--delete]}} title {{path/to/file.mkv}}` + +- Mark subtitle track 3 as SDH - Subtitles for deaf and hearing impared: + +`mkvpropedit {{path/to/file.mkv}} {{[-e|--edit]}} track:s3 {{[-s|--set]}} flag-hearing-impaired=1` + +- Mark audio track 2 as Default: + +`mkvpropedit {{path/to/file.mkv}} {{[-e|--edit]}} track:a2 {{[-s|--set]}} flag-default=1` + +- Delete the name of video track 1: + +`mkvpropedit {{path/to/file.mkv}} {{[-e|--edit]}} track:v1 {{[-d|--delete]}} name` diff --git a/pages/linux/mlabel.md b/pages/linux/mlabel.md new file mode 100644 index 00000000000000..9eb711c8ec4807 --- /dev/null +++ b/pages/linux/mlabel.md @@ -0,0 +1,8 @@ +# mlabel + +> Set an MS-DOS volume label for FAT and VFAT filesystems. +> More information: . + +- Set a filesystem label: + +`mlabel -i {{/dev/sda}} ::"{{new_label}}"` diff --git a/pages/linux/mmcli.md b/pages/linux/mmcli.md new file mode 100644 index 00000000000000..41bbf9e499e55b --- /dev/null +++ b/pages/linux/mmcli.md @@ -0,0 +1,24 @@ +# mmcli + +> Control and monitor the ModemManager. +> More information: . + +- List available modems: + +`mmcli --list-modems` + +- Print information about a modem: + +`mmcli --modem={{modem}}` + +- Enable a modem: + +`mmcli --modem={{modem}} --enable` + +- List SMS messages available on the modem: + +`sudo mmcli --modem={{modem}} --messaging-list-sms` + +- Delete a message from the modem, specifying its path: + +`sudo mmcli --modem={{modem}} --messaging-delete-sms={{path/to/message_file}}` diff --git a/pages/linux/mmdebstrap.md b/pages/linux/mmdebstrap.md new file mode 100644 index 00000000000000..13372ef2494b19 --- /dev/null +++ b/pages/linux/mmdebstrap.md @@ -0,0 +1,17 @@ +# mmdebstrap + +> Create a Debian chroot. +> Alternative to `debootstrap`. +> More information: . + +- Create a Debian Stable directory chroot: + +`sudo mmdebstrap stable {{path/to/debian-root}}/` + +- Create a Debian Bookworm tarball chroot using a mirror: + +`mmdebstrap bookworm {{path/to/debian-bookworm.tar}} {{http://mirror.example.org/debian}}` + +- Create a Debian Sid tarball chroot with additional packages: + +`mmdebstrap sid {{path/to/debian-sid.tar}} --include={{pkg1,pkg2}}` diff --git a/pages/linux/mocp.md b/pages/linux/mocp.md new file mode 100644 index 00000000000000..60a855c1ff6601 --- /dev/null +++ b/pages/linux/mocp.md @@ -0,0 +1,36 @@ +# mocp + +> Music on Console (MOC) audio player. +> More information: . + +- Launch the MOC terminal UI: + +`mocp` + +- Launch the MOC terminal UI in a specific directory: + +`mocp {{path/to/directory}}` + +- Start the MOC server in the background, without launching the MOC terminal UI: + +`mocp {{[-S|--server]}}` + +- Add a specific song to the play queue while MOC is in the background: + +`mocp {{[-q|--enqueue]}} {{path/to/audio_file}}` + +- Add songs recursively to the play queue while MOC is in the background: + +`mocp {{[-a|--append]}} {{path/to/directory}}` + +- Clear the play queue while MOC is in the background: + +`mocp {{[-c|--clear]}}` + +- Play or stop the currently queued song while MOC is in the background: + +`mocp --{{play|stop}}` + +- Stop the MOC server while it's in the background: + +`mocp {{[-x|--exit]}}` diff --git a/pages/linux/modetest.md b/pages/linux/modetest.md new file mode 100644 index 00000000000000..d174f0c3c1fdab --- /dev/null +++ b/pages/linux/modetest.md @@ -0,0 +1,12 @@ +# modetest + +> Diagnose Direct Rendering Manager and Kernel Mode Setting. +> More information: . + +- List connectors and their available modes for a specific driver: + +`modetest -M {{mgag200}} -c` + +- Set the resolution of a connector: + +`sudo modetest -M {{mgag200}} -s {{connector_id}}:{{1600}}x{{1200}}` diff --git a/pages/linux/modinfo.md b/pages/linux/modinfo.md index a10d7a2ba6c7f7..79c859abd806a5 100644 --- a/pages/linux/modinfo.md +++ b/pages/linux/modinfo.md @@ -1,6 +1,8 @@ # modinfo > Extract information about a Linux kernel module. +> See also: `kmod` for other module management commands. +> More information: . - List all attributes of a kernel module: @@ -8,4 +10,4 @@ - List the specified attribute only: -`modinfo -F {{author|description|license|parm|filename}} {{kernel_module}}` +`modinfo {{[-F|--field]}} {{author|description|license|parm|filename|version|...}} {{kernel_module}}` diff --git a/pages/linux/modprobe.md b/pages/linux/modprobe.md index 27c3d8b26144c1..8064a7b28570e0 100644 --- a/pages/linux/modprobe.md +++ b/pages/linux/modprobe.md @@ -1,10 +1,12 @@ # modprobe > Add or remove modules from the Linux kernel. +> See also: `kmod` for other module management commands. +> More information: . - Pretend to load a module into the kernel, but don't actually do it: -`sudo modprobe --dry-run {{module_name}}` +`sudo modprobe {{[-n|--dry-run]}} {{module_name}}` - Load a module into the kernel: @@ -12,12 +14,12 @@ - Remove a module from the kernel: -`sudo modprobe --remove {{module_name}}` +`sudo modprobe {{[-r|--remove]}} {{module_name}}` - Remove a module and those that depend on it from the kernel: -`sudo modprobe --remove-dependencies {{module_name}}` +`sudo modprobe {{[-r|--remove]}} --remove-holders {{module_name}}` - Show a kernel module's dependencies: -`sudo modprobe --show-depends {{module_name}}` +`sudo modprobe {{[-D|--show-depends]}} {{module_name}}` diff --git a/pages/linux/module.md b/pages/linux/module.md index 828eec5d3193b2..970cd8665d4c86 100644 --- a/pages/linux/module.md +++ b/pages/linux/module.md @@ -9,7 +9,7 @@ - Search for a module by name: -`module spider {{module_name}}` +`module avail {{module_name}}` - Load a module: @@ -21,8 +21,12 @@ - Unload a specific loaded module: -`module {{module_name}}` +`module unload {{module_name}}` - Unload all loaded modules: `module purge` + +- Specify user-created modules: + +`module use {{path/to/module_file1 path/to/module_file2 ...}}` diff --git a/pages/linux/mokutil.md b/pages/linux/mokutil.md new file mode 100644 index 00000000000000..0d78caed97c8f1 --- /dev/null +++ b/pages/linux/mokutil.md @@ -0,0 +1,33 @@ +# mokutil + +> Configure Secure Boot Machine Owner Keys (MOK). +> Some operations, such as enabling and disabling Secure Boot or enrolling keys require a reboot. +> More information: . + +- Show if Secure Boot is enabled: + +`mokutil --sb-state` + +- Enable Secure Boot: + +`mokutil --enable-validation` + +- Disable Secure Boot: + +`mokutil --disable-validation` + +- List enrolled keys: + +`mokutil --list-enrolled` + +- Enroll a new key: + +`mokutil --import {{path/to/key.der}}` + +- List the keys to be enrolled: + +`mokutil --list-new` + +- Set shim verbosity: + +`mokutil --set-verbosity true` diff --git a/pages/linux/mons.md b/pages/linux/mons.md index 50330392872ae9..d1e2d6c57cb8d8 100644 --- a/pages/linux/mons.md +++ b/pages/linux/mons.md @@ -1,6 +1,6 @@ # mons -> A tool to quickly manage two displays. +> Quickly manage two displays. > More information: . - Enable only the primary monitor: diff --git a/pages/linux/mopac.md b/pages/linux/mopac.md new file mode 100644 index 00000000000000..0b9343702ed0b4 --- /dev/null +++ b/pages/linux/mopac.md @@ -0,0 +1,12 @@ +# mopac + +> MOPAC (Molecular Orbital PACkage) is a semiempirical quantum chemistry program based on Dewar and Thiel's NDDO approximation. +> More information: . + +- Perform calculations according to an input file (`.mop`, `.dat`, and `.arc`): + +`mopac {{path/to/input_file}}` + +- Minimal working example with HF that writes to the current directory and streams the output file: + +`touch test.out; echo "PM7\n#comment\n\nH 0.95506 0.05781 -0.03133\nF 1.89426 0.05781 -0.03133" > test.mop; mopac test.mop & tail {{[-f|--follow]}} test.out` diff --git a/pages/linux/more.md b/pages/linux/more.md new file mode 100644 index 00000000000000..bbc9d26dd4b2bd --- /dev/null +++ b/pages/linux/more.md @@ -0,0 +1,29 @@ +# more + +> Interactively display a file, allowing scrolling and searching. +> See also: `less`. +> More information: . + +- Open a file: + +`more {{path/to/file}}` + +- Display a specific line: + +`more +{{line_number}} {{path/to/file}}` + +- Go to the next page: + +`` + +- Search for a string (press `` to go to the next match): + +`{{something}}` + +- Exit: + +`` + +- Display help about interactive commands: + +`` diff --git a/pages/linux/mount.cifs.md b/pages/linux/mount.cifs.md new file mode 100644 index 00000000000000..052f3aeee3de30 --- /dev/null +++ b/pages/linux/mount.cifs.md @@ -0,0 +1,17 @@ +# mount.cifs + +> Mount SMB (Server Message Block) or CIFS (Common Internet File System) shares. +> Note: You can also do the same thing by passing the `-t cifs` option to `mount`. +> More information: . + +- Connect using the specified username or `$USER` by default (you will be prompted for a password): + +`mount.cifs -o user={{username}} //{{server}}/{{share_name}} {{mountpoint}}` + +- Connect as the guest user (without a password): + +`mount.cifs -o guest //{{server}}/{{share_name}} {{mountpoint}}` + +- Set ownership information for the mounted directory: + +`mount.cifs -o uid={{user_id|username}},gid={{group_id|groupname}} //{{server}}/{{share_name}} {{mountpoint}}` diff --git a/pages/linux/mount.ddi.md b/pages/linux/mount.ddi.md new file mode 100644 index 00000000000000..4dbb0d3b5e2541 --- /dev/null +++ b/pages/linux/mount.ddi.md @@ -0,0 +1,9 @@ +# mount.ddi + +> Mount Discoverable Disk Images. +> See also: `systemd-dissect` for other commands relevant to DDIs. +> More information: . + +- Mount an OS image: + +`mount.ddi {{path/to/image.raw}} {{/mnt/image}}` diff --git a/pages/linux/mount.md b/pages/linux/mount.md new file mode 100644 index 00000000000000..ff292ff521d070 --- /dev/null +++ b/pages/linux/mount.md @@ -0,0 +1,36 @@ +# mount + +> Get access to an entire filesystem in one directory. +> More information: . + +- Show all mounted filesystems: + +`mount` + +- Mount a device to a directory: + +`mount {{path/to/device_file}} {{path/to/target_directory}}` + +- Create a specific directory if it does not exist and mount a device to it: + +`mount {{[-m|--mkdir]}} {{path/to/device_file}} {{path/to/target_directory}}` + +- Mount a device to a directory for a specific user: + +`mount {{[-o|--options]}} uid={{user_id}},gid={{group_id}} {{path/to/device_file}} {{path/to/target_directory}}` + +- Mount a CD-ROM device (with the filetype ISO9660) to `/cdrom` (readonly): + +`mount {{[-t|--types]}} iso9660 {{[-o|--options]}} ro {{/dev/cdrom}} /cdrom` + +- Mount all the filesystems defined in `/etc/fstab`: + +`mount {{[-a|--all]}}` + +- Mount a specific filesystem described in `/etc/fstab` (e.g. `/dev/sda1 /my_drive ext2 defaults 0 2`): + +`mount {{/my_drive}}` + +- Mount a directory to another directory: + +`mount {{[-B|--bind]}} {{path/to/old_directory}} {{path/to/new_directory}}` diff --git a/pages/linux/mount.smb3.md b/pages/linux/mount.smb3.md new file mode 100644 index 00000000000000..08d5771934fda2 --- /dev/null +++ b/pages/linux/mount.smb3.md @@ -0,0 +1,8 @@ +# mount.smb3 + +> This command is an alias of `mount.cifs`. +> Note: For SMB versions before 3 you have to use `mount.cifs` instead. + +- View documentation for the original command: + +`tldr mount.cifs` diff --git a/pages/linux/mount.steamos.md b/pages/linux/mount.steamos.md new file mode 100644 index 00000000000000..266f9514731495 --- /dev/null +++ b/pages/linux/mount.steamos.md @@ -0,0 +1,20 @@ +# mount.steamos + +> Mount or unmount SteamOS filesystem partitions. +> More information: . + +- Mount all necessary partitions from a device to a target directory: + +`sudo mount.steamos {{/dev/sdX}} {{/mnt}}` + +- Mount with options to exclude specific partitions (e.g. `/home`, overlays): + +`sudo mount.steamos {{[-o|--options]}} nohome,nooverlay {{/dev/sdX}} {{/mnt}}` + +- Unmount all partitions mounted under a target directory: + +`sudo mount.steamos -u {{/mnt}}` + +- Display help: + +`mount.steamos {{[-h|--help]}}` diff --git a/pages/linux/mountpoint.md b/pages/linux/mountpoint.md index d22a9e35ea4d98..918b5544e229e0 100644 --- a/pages/linux/mountpoint.md +++ b/pages/linux/mountpoint.md @@ -1,6 +1,7 @@ # mountpoint > Test if a directory is a filesystem mountpoint. +> More information: . - Check if a directory is a mountpoint: @@ -8,8 +9,8 @@ - Check if a directory is a mountpoint without showing any output: -`mountpoint -q {{path/to/directory}}` +`mountpoint {{[-q|--quiet]}} {{path/to/directory}}` - Show major/minor numbers of a mountpoint's filesystem: -`mountpoint --fs-devno {{path/to/directory}}` +`mountpoint {{[-d|--fs-devno]}} {{path/to/directory}}` diff --git a/pages/linux/mpg123.md b/pages/linux/mpg123.md new file mode 100644 index 00000000000000..85e13a0dd06206 --- /dev/null +++ b/pages/linux/mpg123.md @@ -0,0 +1,32 @@ +# mpg123 + +> Console MPEG audio player. +> More information: . + +- Play the specified mp3 files: + +`mpg123 {{path/to/file1.mp3 path/to/file2.mp3 ...}}` + +- Play the mp3 from `stdin`: + +`cat {{file.mp3}} | mpg123 -` + +- Jump forward to the next song: + +`` + +- Jump back to the beginning for the song: + +`` + +- Stop or replay the current file: + +`` + +- Fast forward: + +`<.>` + +- Quit: + +`` diff --git a/pages/linux/mpstat.md b/pages/linux/mpstat.md index 8ca1319338e450..c6a3020a1e3ca6 100644 --- a/pages/linux/mpstat.md +++ b/pages/linux/mpstat.md @@ -1,6 +1,7 @@ # mpstat > Report CPU statistics. +> More information: . - Display CPU statistics every 2 seconds: diff --git a/pages/linux/mssh.md b/pages/linux/mssh.md index 160aa75a2eebea..a0f063410fa8b1 100644 --- a/pages/linux/mssh.md +++ b/pages/linux/mssh.md @@ -1,11 +1,12 @@ # mssh > GTK+ based SSH client for interacting with multiple SSH servers at once. +> More information: . - Open a new window and connect to multiple SSH servers: -`mssh {{user@host1}} {{user@host2}} {{...}}` +`mssh {{user@host1 user@host2 ...}}` - Open a new window and connect to a group of servers predefined in `~/.mssh_clusters`: -`mssh --alias {{alias_name}}` +`mssh {{[-a|--alias]}} {{alias_name}}` diff --git a/pages/linux/mt.md b/pages/linux/mt.md new file mode 100644 index 00000000000000..ca690d78b2a519 --- /dev/null +++ b/pages/linux/mt.md @@ -0,0 +1,32 @@ +# mt + +> Control magnetic tape drive operation (commonly LTO tape). +> More information: . + +- Check the status of a tape drive: + +`mt -f {{/dev/nstX}} status` + +- Rewind the tape to beginning: + +`mt -f {{/dev/nstX}} rewind` + +- Move forward a given files, then position the tape on first block of next file: + +`mt -f {{/dev/nstX}} fsf {{count}}` + +- Rewind the tape, then position the tape at beginning of the given file: + +`mt -f {{/dev/nstX}} asf {{count}}` + +- Position the tape at the end of valid data: + +`mt -f {{/dev/nstX}} eod` + +- Rewind the tape and unload/eject it: + +`mt -f {{/dev/nstX}} eject` + +- Write EOF (End-of-file) mark at the current position: + +`mt -f {{/dev/nstX}} eof` diff --git a/pages/linux/mullvad.md b/pages/linux/mullvad.md deleted file mode 100644 index 71a0da19732f6d..00000000000000 --- a/pages/linux/mullvad.md +++ /dev/null @@ -1,20 +0,0 @@ -# mullvad - -> CLI client for Mullvad VPN. -> More information: . - -- Link your mullvad account with the specified account number: - -`mullvad account set {{account_number}}` - -- Enable LAN access while VPN is on: - -`mullvad lan set allow` - -- Establish the VPN tunnel: - -`mullvad connect` - -- Check status of VPN tunnel: - -`mullvad status` diff --git a/pages/linux/mux.md b/pages/linux/mux.md new file mode 100644 index 00000000000000..85579980e8029f --- /dev/null +++ b/pages/linux/mux.md @@ -0,0 +1,20 @@ +# mux + +> Intercept and multiplex streams of input events. +> More information: . + +- Create a new muxer with a specified name: + +`mux -c {{muxer_name1 muxer_name2 ...}}` + +- Set the muxer's internal queue size (default is 100): + +`mux -s {{size}}` + +- Read input from a named muxer (can be repeated in "switch mode"): + +`mux -i {{input_muxer_name}}` + +- Write output to a named muxer (can be repeated): + +`mux -o {{output_muxer_name}}` diff --git a/pages/linux/mycli.md b/pages/linux/mycli.md deleted file mode 100644 index 72490483cdb08a..00000000000000 --- a/pages/linux/mycli.md +++ /dev/null @@ -1,15 +0,0 @@ -# mycli - -> A CLI for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting. - -- Connect to a database with the currently logged in user: - -`mycli {{database_name}}` - -- Connect to a database with the specified user: - -`mycli -u {{user}} {{database_name}}` - -- Connect to a database on the specified host with the specified user: - -`mycli -u {{user}} -h {{host}} {{database_name}}` diff --git a/pages/linux/n.md b/pages/linux/n.md deleted file mode 100644 index cc3db8f9f5666d..00000000000000 --- a/pages/linux/n.md +++ /dev/null @@ -1,23 +0,0 @@ -# n - -> Tool to manage multiple node versions. - -- Install a given version of node. If the version is already installed, it will be activated: - -`n {{version}}` - -- Display installed versions and interactively activate one of them: - -`n` - -- Remove a version: - -`n rm {{version}}` - -- Execute a file with a given version: - -`n use {{version}} {{file.js}}` - -- Output binary path for a version: - -`n bin {{version}}` diff --git a/pages/linux/nala.md b/pages/linux/nala.md new file mode 100644 index 00000000000000..b42a4723186ad5 --- /dev/null +++ b/pages/linux/nala.md @@ -0,0 +1,37 @@ +# nala + +> Package management utility with better formatting. +> Front-end for the `python-apt` API. +> More information: . + +- Install a package, or update it to the latest available version: + +`sudo nala install {{package}}` + +- Remove a package: + +`sudo nala remove {{package}}` + +- Remove a package and its configuration files: + +`nala purge {{package}}` + +- Search package names and descriptions using a word, `regex` (default) or glob: + +`nala search "{{pattern}}"` + +- Update the list of available packages and upgrade the system: + +`sudo nala upgrade` + +- Remove all unused packages and dependencies from your system: + +`sudo nala autoremove` + +- Fetch fast mirrors to improve download speeds: + +`sudo nala fetch` + +- Display the history of all transactions: + +`nala history` diff --git a/pages/linux/namcap.md b/pages/linux/namcap.md new file mode 100644 index 00000000000000..3410cf511f1cb6 --- /dev/null +++ b/pages/linux/namcap.md @@ -0,0 +1,16 @@ +# namcap + +> Check binary packages and source `PKGBUILD`s for common packaging mistakes. +> More information: . + +- Check a specific `PKGBUILD` file: + +`namcap {{path/to/pkgbuild}}` + +- Check a specific package file: + +`namcap {{path/to/package.pkg.tar.zst}}` + +- Check a file, printing extra informational messages: + +`namcap {{[-i|--info]}} {{path/to/file}}` diff --git a/pages/linux/named.md b/pages/linux/named.md index 0fcf3cf94645e5..964ef6447193a7 100644 --- a/pages/linux/named.md +++ b/pages/linux/named.md @@ -1,7 +1,7 @@ # named > Execute the DNS (Dynamic Name Service) server daemon that converts host names to IP addresses and vice versa. -> More information: . +> More information: . - Read the default configuration file `/etc/named.conf`, read any initial data and listen for queries: @@ -15,7 +15,7 @@ `named {{-4|-6}}` -- Listen for queries on a specific port instead of the default port `53`: +- Listen for queries on a specific port instead of the default port 53: `named -p {{port}}` diff --git a/pages/linux/namei.md b/pages/linux/namei.md index 211f24f58560b1..0abf7321c58612 100644 --- a/pages/linux/namei.md +++ b/pages/linux/namei.md @@ -2,6 +2,7 @@ > Follows a pathname (which can be a symbolic link) until a terminal point is found (a file/directory/char device etc). > This program is useful for finding "too many levels of symbolic links" problems. +> More information: . - Resolve the pathnames specified as the argument parameters: @@ -9,16 +10,16 @@ - Display the results in a long-listing format: -`namei --long {{path/to/a}} {{path/to/b}} {{path/to/c}}` +`namei {{[-l|--long]}} {{path/to/a}} {{path/to/b}} {{path/to/c}}` - Show the mode bits of each file type in the style of `ls`: -`namei --modes {{path/to/a}} {{path/to/b}} {{path/to/c}}` +`namei {{[-m|--modes]}} {{path/to/a}} {{path/to/b}} {{path/to/c}}` - Show owner and group name of each file: -`namei --owners {{path/to/a}} {{path/to/b}} {{path/to/c}}` +`namei {{[-o|--owners]}} {{path/to/a}} {{path/to/b}} {{path/to/c}}` - Don't follow symlinks while resolving: -`namei --nosymlinks {{path/to/a}} {{path/to/b}} {{path/to/c}}` +`namei {{[-n|--nosymlinks]}} {{path/to/a}} {{path/to/b}} {{path/to/c}}` diff --git a/pages/linux/nautilus.md b/pages/linux/nautilus.md new file mode 100644 index 00000000000000..71cdb136b7a0c9 --- /dev/null +++ b/pages/linux/nautilus.md @@ -0,0 +1,34 @@ +# nautilus + +> Default file explorer for GNOME desktop environment. +> Also known as GNOME Files. +> See also: `dolphin`, `caja`, `thunar`, `vifm`. +> More information: . + +- Launch Nautilus: + +`nautilus` + +- Launch Nautilus as root user: + +`nautilus admin:/` + +- Launch Nautilus and display a specific directory: + +`nautilus {{path/to/directory}}` + +- Launch Nautilus with a specific file or directory selected: + +`nautilus --select {{path/to/file_or_directory}}` + +- Launch Nautilus in a separated window: + +`nautilus --new-window` + +- Close all Nautilus instances: + +`nautilus --quit` + +- Display help: + +`nautilus --help` diff --git a/pages/linux/navi.md b/pages/linux/navi.md new file mode 100644 index 00000000000000..60b1b132638ab4 --- /dev/null +++ b/pages/linux/navi.md @@ -0,0 +1,24 @@ +# navi + +> An interactive cheatsheet tool for the command-line and application launchers. +> More information: . + +- Browse through all available cheatsheets: + +`navi` + +- Browse the cheatsheet for `navi` itself: + +`navi fn welcome` + +- Print a command from the cheatsheet without executing it: + +`navi --print` + +- Output shell widget source code (It automatically detects your shell if possible, but can also be specified manually): + +`navi widget {{shell}}` + +- Autoselect and execute the snippet that best matches a query: + +`navi --query '{{query}}' --best-match` diff --git a/pages/linux/ncal.md b/pages/linux/ncal.md new file mode 100644 index 00000000000000..34b490c6ea7cc0 --- /dev/null +++ b/pages/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> This command is an alias of `cal`. + +- View documentation for the original command: + +`tldr cal` diff --git a/pages/linux/ncat.md b/pages/linux/ncat.md index c8da3aad513ac6..a24e690568d1fc 100644 --- a/pages/linux/ncat.md +++ b/pages/linux/ncat.md @@ -1,15 +1,29 @@ # ncat -> Use the normal `cat` functionality over networks. +> Read, write, redirect, and encrypt data across a network. +> An alternative implementation of a similar utility called `netcat`/`nc`. +> More information: . - Listen for input on the specified port and write it to the specified file: -`ncat -l {{port}} > {{path/to/file}}` +`ncat {{[-l|--listen]}} {{port}} > {{path/to/file}}` - Accept multiple connections and keep ncat open after they have been closed: -`ncat -lk {{port}}` +`ncat {{[-lk|--listen --keep-open]}} {{port}}` - Write output of specified file to the specified host on the specified port: `ncat {{address}} {{port}} < {{path/to/file}}` + +- Accept multiple incoming connections on an encrypted channel evading detection of traffic content: + +`ncat --ssl {{[-k|--keep-open]}} {{[-l|--listen]}} {{port}}` + +- Connect to an open `ncat` connection over SSL: + +`ncat --ssl {{host}} {{port}}` + +- Check connectivity to a remote host on a particular port with timeout: + +`ncat {{[-w|--wait]}} {{seconds}} {{[-vz|--verbose -z]}} {{host}} {{port}}` diff --git a/pages/linux/ncdu.md b/pages/linux/ncdu.md deleted file mode 100644 index f2c14616e1f8a7..00000000000000 --- a/pages/linux/ncdu.md +++ /dev/null @@ -1,19 +0,0 @@ -# ncdu - -> Disk usage analyzer with an ncurses interface. - -- Analyze the current working directory: - -`ncdu` - -- Analyze a given directory: - -`ncdu {{path/to/directory}}` - -- Save results to a file: - -`ncdu -o {{path/to/file}}` - -- Exclude files that match a pattern, argument can be given multiple times to add more patterns: - -`ncdu --exclude '{{*.txt}}'` diff --git a/pages/linux/ndctl.md b/pages/linux/ndctl.md index d0c7fb29e6e9ce..583eaa69a5068b 100644 --- a/pages/linux/ndctl.md +++ b/pages/linux/ndctl.md @@ -1,6 +1,7 @@ # ndctl > Utility for managing Non-Volatile DIMMs. +> More information: . - Create an 'fsdax' mode namespace: diff --git a/pages/linux/needrestart.md b/pages/linux/needrestart.md new file mode 100644 index 00000000000000..5e0444fcbe15e3 --- /dev/null +++ b/pages/linux/needrestart.md @@ -0,0 +1,36 @@ +# needrestart + +> Check which daemons need to be restarted after library upgrades. +> More information: . + +- List outdated processes: + +`needrestart` + +- Interactively restart services: + +`sudo needrestart` + +- List outdated processes in [v]erbose or [q]uiet mode: + +`needrestart -{{v|q}}` + +- Check if the [k]ernel is outdated: + +`needrestart -k` + +- Check if the CPU microcode is outdated: + +`needrestart -w` + +- List outdated processes in [b]atch mode: + +`needrestart -b` + +- List outdated processed using a specific [c]onfiguration file: + +`needrestart -c {{path/to/config}}` + +- Display help: + +`needrestart --help` diff --git a/pages/linux/nemo.md b/pages/linux/nemo.md index 8603487eb67428..82b2a67b73ae85 100644 --- a/pages/linux/nemo.md +++ b/pages/linux/nemo.md @@ -1,16 +1,24 @@ # nemo -> File manager and graphical shell for Cinnamon. -> More information: . +> Manage files and directories in Cinnamon desktop environment. +> More information: . -- Open a new window showing the user's home directory: +- Open the current user home directory: `nemo` -- Open a new window showing the current directory: +- Open specific directories in separate windows: -`nemo .` +`nemo {{path/to/directory1 path/to/directory2 ...}}` -- Close all open nemo windows: +- Open specific directories in tabs: + +`nemo --tabs {{path/to/directory1 path/to/directory2 ...}}` + +- Open a directory with a specific window size: + +`nemo --geometry={{600}}x{{400}} {{path/to/directory}}` + +- Close all windows: `nemo --quit` diff --git a/pages/linux/nerdctl.md b/pages/linux/nerdctl.md new file mode 100644 index 00000000000000..ddc873a2e57b33 --- /dev/null +++ b/pages/linux/nerdctl.md @@ -0,0 +1,36 @@ +# nerdctl + +> Docker-compatible CLI for containerd. +> More information: . + +- List all containers (running and stopped): + +`nerdctl ps {{[-a|--all]}}` + +- Start a container from an image, with a custom name: + +`nerdctl run --name {{container_name}} {{image}}` + +- Start or stop an existing container: + +`nerdctl {{start|stop}} {{container_name}}` + +- Pull an image from a container registry: + +`nerdctl pull {{image}}` + +- Display the list of already downloaded images: + +`nerdctl images` + +- Open an interactive tty with Bourne shell (`sh`) inside a running container: + +`nerdctl exec {{[-it|--interactive --tty]}} {{container_name}} sh` + +- Remove stopped containers: + +`nerdctl rm {{container1 container2 ...}}` + +- Fetch and follow the logs of a container: + +`nerdctl logs {{[-f|--follow]}} {{container_name}}` diff --git a/pages/linux/nethogs.md b/pages/linux/nethogs.md index 54bddba2d35c60..892b32a6c25a8c 100644 --- a/pages/linux/nethogs.md +++ b/pages/linux/nethogs.md @@ -3,7 +3,7 @@ > Monitor bandwidth usage per process. > More information: . -- Start nethogs as root (default device is eth0): +- Start NetHogs as root (default device is `eth0`): `sudo nethogs` @@ -13,7 +13,7 @@ - Monitor bandwidth on multiple devices: -`sudo nethogs {{device1}} {{device2}}` +`sudo nethogs {{device1 device2 ...}}` - Specify refresh rate: diff --git a/pages/linux/netplan.md b/pages/linux/netplan.md new file mode 100644 index 00000000000000..1e844280451e79 --- /dev/null +++ b/pages/linux/netplan.md @@ -0,0 +1,28 @@ +# netplan + +> Network configuration utility using YAML. +> More information: . + +- Apply a network configuration and make it persistent: + +`sudo netplan apply` + +- Generate backend configuration files: + +`sudo netplan generate` + +- Configure a network interface to use DHCP: + +`sudo netplan set ethernets.{{interface_name}}.dhcp4=true` + +- Try configuration changes without applying them permanently: + +`sudo netplan try --timeout {{seconds}}` + +- Return to previous working configuration after failed apply: + +`sudo netplan --debug apply` + +- Display the current netplan configuration status: + +`netplan status` diff --git a/pages/linux/netselect-apt.md b/pages/linux/netselect-apt.md index c96b8a4e2aa477..acfa29cb98981d 100644 --- a/pages/linux/netselect-apt.md +++ b/pages/linux/netselect-apt.md @@ -1,7 +1,7 @@ # netselect-apt > Create a `sources.list` file for a Debian mirror with the lowest latency. -> More information: . +> More information: . - Create `sources.list` using the lowest latency server: @@ -13,8 +13,8 @@ - Include non-free section: -`sudo netselect-apt --non-free` +`sudo netselect-apt {{[-n|--non-free]}}` - Specify a country for the mirror list lookup: -`sudo netselect-apt -c {{India}}` +`sudo netselect-apt {{[-c|--country]}} {{India}}` diff --git a/pages/linux/netselect.md b/pages/linux/netselect.md index e0cc489c721332..2f9b4a741eb38e 100644 --- a/pages/linux/netselect.md +++ b/pages/linux/netselect.md @@ -5,20 +5,20 @@ - Choose the server with the lowest latency: -`sudo netselect {{host_1}} {{host_2}}` +`sudo netselect {{host_1 host_2 ...}}` - Display nameserver resolution and statistics: -`sudo netselect -vv {{host_1}} {{host_2}}` +`sudo netselect -vv {{host_1 host_2 ...}}` - Define maximum TTL (time to live): -`sudo netselect -m {{10}} {{host_1}} {{host_2}}` +`sudo netselect -m {{10}} {{host_1 host_2 ...}}` -- Print fastest N servers among the hosts: +- Print `n` fastest servers among the hosts: -`sudo netselect -s {{N}} {{host_1}} {{host_2}} {{host_3}}` +`sudo netselect -s {{n}} {{host_1 host_2 host_3 ...}}` -- List available options: +- Display help: `netselect` diff --git a/pages/linux/netstat.md b/pages/linux/netstat.md deleted file mode 100644 index 51a65aacc5f773..00000000000000 --- a/pages/linux/netstat.md +++ /dev/null @@ -1,35 +0,0 @@ -# netstat - -> Displays network-related information such as open connections, open socket ports, etc. - -- List all ports: - -`netstat -a` - -- List all listening ports: - -`netstat -l` - -- List listening TCP ports: - -`netstat -t` - -- Display PID and program names: - -`netstat -p` - -- List information continuously: - -`netstat -c` - -- List routes and do not resolve IP to hostname: - -`netstat -rn` - -- List listening TCP and UDP ports (+ user and process if you're root): - -`netstat -lepunt` - -- Print the routing table: - -`netstat -nr` diff --git a/pages/linux/networkctl.md b/pages/linux/networkctl.md new file mode 100644 index 00000000000000..20ddc7e792c329 --- /dev/null +++ b/pages/linux/networkctl.md @@ -0,0 +1,33 @@ +# networkctl + +> Query the status of network links. +> Manage the network configuration using `systemd-networkd`. +> More information: . + +- List existing links with their status: + +`networkctl list` + +- Show an overall network status: + +`networkctl status` + +- Bring network devices up: + +`networkctl up {{interface1 interface2 ...}}` + +- Bring network devices down: + +`networkctl down {{interface1 interface2 ...}}` + +- Renew dynamic configurations (e.g. IP addresses received from a DHCP server): + +`networkctl renew {{interface1 interface2 ...}}` + +- Reload configuration files (.netdev and .network): + +`networkctl reload` + +- Reconfigure network interfaces (if you edited the config, you need to call `networkctl reload` first): + +`networkctl reconfigure {{interface1 interface2 ...}}` diff --git a/pages/linux/newgrp.md b/pages/linux/newgrp.md index a6d5a3c05f91d9..55135a994793a4 100644 --- a/pages/linux/newgrp.md +++ b/pages/linux/newgrp.md @@ -1,11 +1,12 @@ # newgrp > Switch primary group membership. +> More information: . - Change user's primary group membership: `newgrp {{group_name}}` -- Reset primary group membership to user's default group in /etc/passwd: +- Reset primary group membership to user's default group in `/etc/passwd`: `newgrp` diff --git a/pages/linux/newrole.md b/pages/linux/newrole.md new file mode 100644 index 00000000000000..6ba2330108a631 --- /dev/null +++ b/pages/linux/newrole.md @@ -0,0 +1,26 @@ +# newrole + +> Run a new shell with a different SELinux role. +> Allows users to switch to a different SELinux security context. +> See also: `runcon`, `semanage-user`. +> More information: . + +- Start a new shell with a specific SELinux role: + +`newrole {{[-r|--role]}} {{role_name}}` + +- Start a new shell with a specific SELinux type: + +`newrole {{[-t|--type]}} {{type_name}}` + +- Start a new shell with a specific SELinux level (format: `s0-s0:c0.c1023` where levels range from `s0` to `s15`, `-` indicates level range, categories start with `c`, `:` separates level from categories, `.` indicates category range): + +`newrole {{[-l|--level]}} {{s0-s0:c0.c1023}}` + +- Display the current SELinux context: + +`id {{[-Z|--context]}}` + +- Start a new shell with both role and type: + +`newrole {{[-r|--role]}} {{role_name}} {{[-t|--type]}} {{type_name}}` diff --git a/pages/linux/nft.md b/pages/linux/nft.md index 329cd5d310c4fa..2b8877a71abdc3 100644 --- a/pages/linux/nft.md +++ b/pages/linux/nft.md @@ -2,6 +2,7 @@ > Allows configuration of tables, chains and rules provided by the Linux kernel firewall. > Nftables replaces iptables. +> More information: . - View current configuration: @@ -13,12 +14,16 @@ - Add a new chain to accept all inbound traffic: -`sudo nft add chain {{inet}} {{filter}} {{input}} \{ type {{filter}} hook {{input}} priority {{0}} \; policy {{accept}} \}` +`sudo nft add chain {{inet}} {{filter}} {{input}} \{ type {{filter}} hook {{input}} priority {{0}} \; policy {{accept}} \; \}` - Add a new rule to accept several TCP ports: `sudo nft add rule {{inet}} {{filter}} {{input}} {{tcp}} {{dport \{ telnet, ssh, http, https \} accept}}` +- Add a NAT rule to translate all traffic from the `192.168.0.0/24` subnet to the host's public IP: + +`sudo nft add rule {{nat}} {{postrouting}} ip saddr {{192.168.0.0/24}} {{masquerade}}` + - Show rule handles: `sudo nft --handle --numeric list chain {{family}} {{table}} {{chain}}` diff --git a/pages/linux/nitch.md b/pages/linux/nitch.md new file mode 100644 index 00000000000000..22f1ab04addd10 --- /dev/null +++ b/pages/linux/nitch.md @@ -0,0 +1,16 @@ +# nitch + +> A small and incredibly fast system fetch written fully in Nim. +> More information: . + +- Display system information (hostname, kernel, uptime, etc.): + +`nitch` + +- Display help: + +`nitch {{[-h|--help]}}` + +- Display version: + +`nitch {{[-v|--version]}}` diff --git a/pages/linux/nitrogen.md b/pages/linux/nitrogen.md new file mode 100644 index 00000000000000..6869920ad5fe23 --- /dev/null +++ b/pages/linux/nitrogen.md @@ -0,0 +1,16 @@ +# nitrogen + +> Desktop background browser and setter for X Window. +> More information: . + +- View and set the wallpapers from a specific directory: + +`nitrogen {{path/to/directory}}` + +- Set the wallpaper with automatic size settings: + +`nitrogen --set-auto {{path/to/file}}` + +- Restore the previous wallpaper: + +`nitrogen --restore` diff --git a/pages/linux/nixos-container.md b/pages/linux/nixos-container.md new file mode 100644 index 00000000000000..8dcbe138d006a6 --- /dev/null +++ b/pages/linux/nixos-container.md @@ -0,0 +1,28 @@ +# nixos-container + +> Starts NixOS containers using Linux containers. +> More information: . + +- List running containers: + +`sudo nixos-container list` + +- Create a NixOS container with a specific configuration file: + +`sudo nixos-container create {{container_name}} --config-file {{path/to/nix_config_file}}` + +- Start, stop, terminate, or destroy a specific container: + +`sudo nixos-container {{start|stop|terminate|destroy|status}} {{container_name}}` + +- Run a command in a running container: + +`sudo nixos-container run {{container_name}} -- {{command}} {{command_arguments}}` + +- Update a container configuration: + +`sudo $EDITOR /var/lib/container/{{container_name}}/etc/nixos/configuration.nix && sudo nixos-container update {{container_name}}` + +- Enter an interactive shell session on an already-running container: + +`sudo nixos-container root-login {{container_name}}` diff --git a/pages/linux/nixos-option.md b/pages/linux/nixos-option.md new file mode 100644 index 00000000000000..60b41cbddf84b5 --- /dev/null +++ b/pages/linux/nixos-option.md @@ -0,0 +1,28 @@ +# nixos-option + +> Inspect a NixOS configuration. +> More information: . + +- List all subkeys of a given option key: + +`nixos-option {{option_key}}` + +- List current boot kernel modules: + +`nixos-option boot.kernelModules` + +- List authorized keys for a specific user: + +`nixos-option users.users.{{username}}.openssh.authorizedKeys.{{keyFiles|keys}}` + +- List all remote builders: + +`nixos-option nix.buildMachines` + +- List all subkeys of a given key on another NixOS configuration: + +`NIXOS_CONFIG={{path_to_configuration.nix}} nixos-option {{option_key}}` + +- Show recursively all values of a user: + +`nixos-option {{[-r|--recursive]}} users.users.{{user}}` diff --git a/pages/linux/nixos-rebuild.md b/pages/linux/nixos-rebuild.md index 02a80aa3c76189..db95ced7121dd4 100644 --- a/pages/linux/nixos-rebuild.md +++ b/pages/linux/nixos-rebuild.md @@ -9,7 +9,7 @@ - Build and switch to the new configuration, making it the boot default and naming the boot entry: -`sudo nixos-rebuild switch -p {{name}}` +`sudo nixos-rebuild switch {{[-p|--profile-name]}} {{name}}` - Build and switch to the new configuration, making it the boot default and installing updates: @@ -30,3 +30,7 @@ - Build the configuration and open it in a virtual machine: `sudo nixos-rebuild build-vm` + +- List available generations similar to the boot loader menu: + +`nixos-rebuild list-generations` diff --git a/pages/linux/nl.md b/pages/linux/nl.md new file mode 100644 index 00000000000000..1fa1937f8918b6 --- /dev/null +++ b/pages/linux/nl.md @@ -0,0 +1,36 @@ +# nl + +> Number lines from a file or from `stdin`. +> More information: . + +- Number non-blank lines in a file: + +`nl {{path/to/file}}` + +- Read from `stdin`: + +`{{command}} | nl` + +- Number [a]ll body lines including blank lines or do [n]ot number body lines: + +`nl {{[-b|--body-numbering]}} {{a|n}} {{path/to/file}}` + +- Number only the body lines that match a basic `regex` (BRE) [p]attern: + +`nl {{[-b|--body-numbering]}} p'FooBar[0-9]' {{path/to/file}}` + +- Use a specific increment for line numbering: + +`nl {{[-i|--line-increment]}} {{increment}} {{path/to/file}}` + +- Specify the line numbering format to [r]ight or [l]eft justified, keeping leading [z]eros or [n]ot: + +`nl {{[-n|--number-format]}} {{rz|ln|rn}}` + +- Specify the line numbering's width (6 by default): + +`nl {{[-w|--number-width]}} {{col_width}} {{path/to/file}}` + +- Use a specific string to separate the line numbers from the lines (TAB by default): + +`nl {{[-s|--number-separator]}} {{separator}} {{path/to/file}}` diff --git a/pages/linux/nm-online.md b/pages/linux/nm-online.md new file mode 100644 index 00000000000000..8362481a93beb5 --- /dev/null +++ b/pages/linux/nm-online.md @@ -0,0 +1,12 @@ +# nm-online + +> Ask NetworkManager whether the network is connected. +> More information: . + +- Find out whether the network is connected and print the result to `stdout`: + +`nm-online` + +- Wait `n` seconds for a connection (30 by default): + +`nm-online --timeout {{n}}` diff --git a/pages/linux/nm.md b/pages/linux/nm.md deleted file mode 100644 index 60cf6137e7ede4..00000000000000 --- a/pages/linux/nm.md +++ /dev/null @@ -1,19 +0,0 @@ -# nm - -> List symbol names in object files. - -- List global (extern) functions in a file (prefixed with T): - -`nm -g {{file.o}}` - -- List only undefined symbols in a file: - -`nm -u {{file.o}}` - -- List all symbols, even debugging symbols: - -`nm -a {{file.o}}` - -- Demangle C++ symbols (make them readable): - -`nm --demangle {{file.o}}` diff --git a/pages/linux/nmcli-agent.md b/pages/linux/nmcli-agent.md new file mode 100644 index 00000000000000..8fd07e0eb250dc --- /dev/null +++ b/pages/linux/nmcli-agent.md @@ -0,0 +1,16 @@ +# nmcli agent + +> Run `nmcli` as a NetworkManager secret agent or polkit agent. +> More information: . + +- Register `nmcli` as a secret agent and listen for secret requests: + +`nmcli {{[a|agent]}} {{[s|secret]}}` + +- Register `nmcli` as a polkit agent and listen for authorization requests: + +`nmcli {{[a|agent]}} {{[p|polkit]}}` + +- Register `nmcli` as a secret agent and a polkit agent: + +`nmcli {{[a|agent]}} {{[a|all]}}` diff --git a/pages/linux/nmcli-connection.md b/pages/linux/nmcli-connection.md index d7d76b134124d5..8054388d1e730e 100644 --- a/pages/linux/nmcli-connection.md +++ b/pages/linux/nmcli-connection.md @@ -1,27 +1,32 @@ # nmcli connection -> Connection management with NetworkManager. +> Manage connections with NetworkManager. +> More information: . -- List all NetworkManager connections (shows name, uuid, type and device): +- List all NetworkManager connections (shows name, UUID, type and device): -`nmcli connection` +`nmcli {{[c|connection]}}` -- Activate a connection by specifying an uuid: +- Activate a connection: -`nmcli connection up uuid {{uuid}}` +`nmcli {{[c|connection]}} {{[u|up]}} {{uuid}}` - Deactivate a connection: -`nmcli connection down uuid {{uuid}}` +`nmcli {{[c|connection]}} {{[d|down]}} {{uuid}}` - Create an auto-configured dual stack connection: -`nmcli connection add ifname {{interface_name}} type {{ethernet}} ipv4.method {{auto}} ipv6.method {{auto}}` +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{interface_name}} type {{ethernet}} ipv4.method {{auto}} ipv6.method {{auto}}` - Create a static IPv6-only connection: -`nmcli connection add ifname {{interface_name}} type {{ethernet}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}` +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{interface_name}} type {{ethernet}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}` - Create a static IPv4-only connection: -`nmcli connection add ifname {{interface_name}} type {{ethernet}} ip4 {{10.0.0.7/8}} gw4 {{10.0.0.1}} ipv4.dns {{10.0.0.1}} ipv6.method {{ignore}}` +`nmcli {{[c|connection]}} {{[a|add]}} ifname {{interface_name}} type {{ethernet}} ip4 {{10.0.0.7/8}} gw4 {{10.0.0.1}} ipv4.dns {{10.0.0.1}} ipv6.method {{ignore}}` + +- Create a VPN connection using OpenVPN from an OVPN file: + +`nmcli {{[c|connection]}} {{[i|import]}} type {{openvpn}} file {{path/to/vpn_config.ovpn}}` diff --git a/pages/linux/nmcli-device.md b/pages/linux/nmcli-device.md index f3e15063d1ea46..0f5377f3694892 100644 --- a/pages/linux/nmcli-device.md +++ b/pages/linux/nmcli-device.md @@ -1,19 +1,24 @@ # nmcli device -> Hardware device management with NetworkManager. +> Manage network interfaces and establish new Wi-Fi connections using NetworkManager. +> More information: . - Print the statuses of all network interfaces: -`nmcli device status` +`nmcli {{[d|device]}}` - Print the available Wi-Fi access points: -`nmcli device wifi` +`nmcli {{[d|device]}} {{[w|wifi]}}` -- Connect to the Wi-Fi network with a specified name and password: +- Connect to a Wi-Fi network with the specified SSID (you will be prompted for a password): -`nmcli device wifi connect {{ssid}} password {{password}}` +`nmcli {{[d|device]}} {{[w|wifi]}} {{[c|connect]}} {{ssid}} {{[-a|--ask]}}` -- Print password and QR code for the current Wi-Fi network: +- Print the password and QR code for the current Wi-Fi network: -`nmcli device wifi show-password` +`nmcli {{[d|device]}} {{[w|wifi]}} {{[s|show-password]}}` + +- Print detailed information about a device: + +`nmcli {{[d|device]}} {{[sh|show]}} {{wlan0}}` diff --git a/pages/linux/nmcli-general.md b/pages/linux/nmcli-general.md new file mode 100644 index 00000000000000..7260590591e3a2 --- /dev/null +++ b/pages/linux/nmcli-general.md @@ -0,0 +1,28 @@ +# nmcli general + +> Manage general settings of NetworkManager. +> More information: . + +- Show the general status of NetworkManager: + +`nmcli {{[g|general]}}` + +- Show the hostname of the current device: + +`nmcli {{[g|general]}} {{[h|hostname]}}` + +- Change the hostname of the current device: + +`sudo nmcli {{[g|general]}} {{[h|hostname]}} {{new_hostname}}` + +- Show the permissions of NetworkManager: + +`nmcli {{[g|general]}} {{[p|permissions]}}` + +- Show the current logging level and domains: + +`nmcli {{[g|general]}} {{[l|logging]}}` + +- Set the logging level and/or domains (see `man NetworkManager.conf` for all available domains): + +`sudo nmcli {{[g|general]}} {{[l|logging]}} {{[l|level]}} {{INFO|OFF|ERR|WARN|DEBUG|TRACE}} domain {{domain_1,domain_2,...}}` diff --git a/pages/linux/nmcli-monitor.md b/pages/linux/nmcli-monitor.md new file mode 100644 index 00000000000000..c2ca1ab4bf9ad4 --- /dev/null +++ b/pages/linux/nmcli-monitor.md @@ -0,0 +1,8 @@ +# nmcli monitor + +> Monitor changes to the NetworkManager connection status. +> More information: . + +- Start monitoring NetworkManager changes: + +`nmcli {{[m|monitor]}}` diff --git a/pages/linux/nmcli-networking.md b/pages/linux/nmcli-networking.md new file mode 100644 index 00000000000000..f57ff8d06edde7 --- /dev/null +++ b/pages/linux/nmcli-networking.md @@ -0,0 +1,20 @@ +# nmcli networking + +> Manage the networking status of NetworkManager. +> More information: . + +- Show the networking status of NetworkManager: + +`nmcli {{[n|networking]}}` + +- Enable or disable networking and all interfaces managed by NetworkManager: + +`nmcli {{[n|networking]}} {{on|off}}` + +- Show the last known connectivity state: + +`nmcli {{[n|networking]}} {{[c|connectivity]}}` + +- Show the current connectivity state: + +`nmcli {{[n|networking]}} {{[c|connectivity]}} {{[c|check]}}` diff --git a/pages/linux/nmcli-radio.md b/pages/linux/nmcli-radio.md new file mode 100644 index 00000000000000..7f0f4be558c962 --- /dev/null +++ b/pages/linux/nmcli-radio.md @@ -0,0 +1,28 @@ +# nmcli radio + +> Show the status of radio switches or enable/disable them using NetworkManager. +> More information: . + +- Show status of Wi-Fi: + +`nmcli {{[r|radio]}} {{[w|wifi]}}` + +- Turn Wi-Fi on or off: + +`nmcli {{[r|radio]}} {{[w|wifi]}} {{on|off}}` + +- Show status of WWAN: + +`nmcli {{[r|radio]}} {{[ww|wwan]}}` + +- Turn WWAN on or off: + +`nmcli {{[r|radio]}} {{[ww|wwan]}} {{on|off}}` + +- Show status of both switches: + +`nmcli {{[r|radio]}}` + +- Turn both switches on or off: + +`nmcli {{[r|radio]}} {{[a|all]}} {{on|off}}` diff --git a/pages/linux/nmcli.md b/pages/linux/nmcli.md index c9e0c66ddeb340..9c5dcca96a0b3a 100644 --- a/pages/linux/nmcli.md +++ b/pages/linux/nmcli.md @@ -1,19 +1,33 @@ # nmcli -> A command line tool for controlling NetworkManager. +> Manage the network configuration using NetworkManager. +> See also: `nmtui`. +> More information: . -- Check the nmcli version: +- View documentation for managing network interfaces and establishing new Wi-Fi connections: -`nmcli --version` +`tldr nmcli device` -- Call general help: +- View documentation for managing network connections: -`nmcli --help` +`tldr nmcli connection` -- Call help on a command: +- View documentation for running `nmcli` as a NetworkManager secret/polkit agent: -`nmcli {{command}} --help` +`tldr nmcli agent` -- Execute an `nmcli` command: +- View documentation for managing general settings of NetworkManager: -`nmcli {{command}}` +`tldr nmcli general` + +- View documentation for NetworkManager's activity monitor: + +`tldr nmcli monitor` + +- View documentation for enabling/disabling and checking the status of networking: + +`tldr nmcli networking` + +- View documentation for managing radio switches: + +`tldr nmcli radio` diff --git a/pages/linux/nmon.md b/pages/linux/nmon.md index cad8bdb01d2e4b..b5be7277c75306 100644 --- a/pages/linux/nmon.md +++ b/pages/linux/nmon.md @@ -1,8 +1,9 @@ # nmon > A system administrator, tuner, and benchmark tool. +> More information: . -- Start nmon: +- Start `nmon`: `nmon` diff --git a/pages/linux/nmtui-connect.md b/pages/linux/nmtui-connect.md new file mode 100644 index 00000000000000..5b0894a2e51a4b --- /dev/null +++ b/pages/linux/nmtui-connect.md @@ -0,0 +1,7 @@ +# nmtui-connect + +> This command is an alias of `nmtui connect`. + +- View documentation for the original command: + +`tldr nmtui` diff --git a/pages/linux/nmtui-edit.md b/pages/linux/nmtui-edit.md new file mode 100644 index 00000000000000..deeb332430a0e5 --- /dev/null +++ b/pages/linux/nmtui-edit.md @@ -0,0 +1,7 @@ +# nmtui-edit + +> This command is an alias of `nmtui edit`. + +- View documentation for the original command: + +`tldr nmtui` diff --git a/pages/linux/nmtui-hostname.md b/pages/linux/nmtui-hostname.md new file mode 100644 index 00000000000000..1ba8c9cde337c6 --- /dev/null +++ b/pages/linux/nmtui-hostname.md @@ -0,0 +1,7 @@ +# nmtui-hostname + +> This command is an alias of `nmtui hostname`. + +- View documentation for the original command: + +`tldr nmtui` diff --git a/pages/linux/nmtui.md b/pages/linux/nmtui.md index a0729376af379f..51ea3fb7612bb2 100644 --- a/pages/linux/nmtui.md +++ b/pages/linux/nmtui.md @@ -1,13 +1,15 @@ # nmtui > Text user interface for controlling NetworkManager. -> Use arrow keys to navigate, enter to select an option. +> Use `` to navigate, `` to select an option. +> See also: `nmcli`. +> More information: . - Open the user interface: `nmtui` -- Show a list of available connections, with the option to activate or deactivate them: +- List available connections, with the option to activate or deactivate them: `nmtui connect` diff --git a/pages/linux/nologin.md b/pages/linux/nologin.md index 4120b09b39406c..c90fc878c46d58 100644 --- a/pages/linux/nologin.md +++ b/pages/linux/nologin.md @@ -1,10 +1,11 @@ # nologin > Alternative shell that prevents a user from logging in. +> More information: . - Set a user's login shell to `nologin` to prevent the user from logging in: -`chsh -s {{user}} nologin` +`chsh {{[-s|--shell]}} {{user}} nologin` - Customize message for users with the login shell of `nologin`: diff --git a/pages/linux/nordvpn.md b/pages/linux/nordvpn.md new file mode 100644 index 00000000000000..ece450a09a065e --- /dev/null +++ b/pages/linux/nordvpn.md @@ -0,0 +1,32 @@ +# nordvpn + +> Command-line interface for NordVPN. +> More information: . + +- Interactively log into a NordVPN account: + +`nordvpn login` + +- Display the connection status: + +`nordvpn status` + +- Connect to the nearest NordVPN server: + +`nordvpn {{[c|connect]}}` + +- List all available countries: + +`nordvpn countries` + +- Connect to a NordVPN server in a specific country: + +`nordvpn {{[c|connect]}} {{Germany}}` + +- Connect to a NordVPN server in a specific country and city: + +`nordvpn {{[c|connect]}} {{Germany}} {{Berlin}}` + +- Set autoconnect option: + +`nordvpn {{[s|set]}} autoconnect on` diff --git a/pages/linux/notify-send.md b/pages/linux/notify-send.md deleted file mode 100644 index 0b08d0cfd5d0f3..00000000000000 --- a/pages/linux/notify-send.md +++ /dev/null @@ -1,19 +0,0 @@ -# notify-send - -> Uses the current desktop environment's notification system to create a notification. - -- Show a notification with the title "Test" and the content "This is a test": - -`notify-send "{{Test}}" "{{This is a test}}"` - -- Show a notification with a custom icon: - -`notify-send -i {{icon.png}} "{{Test}}" "{{This is a test}}"` - -- Show a notification for 5 seconds: - -`notify-send -t 5000 "{{Test}}" "{{This is a test}}"` - -- Show a notification with an app's icon: - -`notify-send "{{Test}}" --icon={{google-chrome}}` diff --git a/pages/linux/nova.md b/pages/linux/nova.md new file mode 100644 index 00000000000000..fe3f8ebd6e97c7 --- /dev/null +++ b/pages/linux/nova.md @@ -0,0 +1,28 @@ +# nova + +> The OpenStack project that provides a way to provision compute instances. +> More information: . + +- List VMs on current tenant: + +`nova list` + +- List VMs of all tenants (admin user only): + +`nova list --all-tenants` + +- Boot a VM on a specific host: + +`nova boot --nic net-id={{net_id}} --image {{image_id}} --flavor {{flavor}} --availability-zone nova:{{host_name}} {{vm_name}}` + +- Start a server: + +`nova start {{server}}` + +- Stop a server: + +`nova stop {{server}}` + +- Attach a network interface to a specific VM: + +`nova interface-attach --net-id {{net_id}} {{server}}` diff --git a/pages/linux/nsenter.md b/pages/linux/nsenter.md index 06290c52c28dd0..963cc4f97ad84a 100644 --- a/pages/linux/nsenter.md +++ b/pages/linux/nsenter.md @@ -1,17 +1,21 @@ # nsenter > Run a new command in a running process' namespace. -> Particularly useful for docker images or chroot jails. -> More information: . +> Particularly useful for Docker images or chroot jails. +> More information: . -- Run command in existing processes network namespace: +- Run a specific command using the same namespaces as an existing process: -`nsenter -t {{pid}} -n {{command}} {{command_arguments}}` +`nsenter {{[-t|--target]}} {{pid}} {{[-a|--all]}} {{command}} {{command_arguments}}` -- Run a new command in an existing processes ps-table namespace: +- Run a specific command in an existing process's mount|UTS|IPC|network|PID|user|cgroup|time namespace: -`nsenter -t {{pid}} -p {{command}} {{command_arguments}}` +`nsenter {{[-t|--target]}} {{pid}} --{{mount|uts|ipc|net|pid|user|cgroup}} {{command}} {{command_arguments}}` -- Run command in existing processes IPC namespace: +- Run a specific command in an existing process's UTS, time, and IPC namespaces: -`nsenter -t {{pid}} -i {{command}} {{command_arguments}}` +`nsenter {{[-t|--target]}} {{pid}} {{[-u|--uts]}} {{[-T|--time]}} {{[-i|--ipc]}} -- {{command}} {{command_arguments}}` + +- Run a specific command in an existing process's namespace by referencing procfs: + +`nsenter {{[-p|--pid=]}}/proc/{{pid}}/pid/net -- {{command}} {{command_arguments}}` diff --git a/pages/linux/nsnake.md b/pages/linux/nsnake.md index af1433ca2e9726..914f213f903a66 100644 --- a/pages/linux/nsnake.md +++ b/pages/linux/nsnake.md @@ -9,16 +9,16 @@ - Navigate the snake: -`{{Up|Down|Left|Right}} arrow key` +`{{|||}}` - Pause/unpause the game: -`p` +`

` - Quit the game: -`q` +`` -- Show help during the game: +- Display help during the game: -`h` +`` diff --git a/pages/linux/nstat.md b/pages/linux/nstat.md new file mode 100644 index 00000000000000..968ceb6ae46d1a --- /dev/null +++ b/pages/linux/nstat.md @@ -0,0 +1,16 @@ +# nstat + +> View network statistics. +> More information: . + +- View network statistics since last time `nstat` was run: + +`nstat` + +- View all-time network statistics: + +`nstat {{[-a|--ignore]}}` + +- Display help: + +`nstat {{[-h|--help]}}` diff --git a/pages/linux/nsxiv.md b/pages/linux/nsxiv.md new file mode 100644 index 00000000000000..956e09b397e84e --- /dev/null +++ b/pages/linux/nsxiv.md @@ -0,0 +1,32 @@ +# nsxiv + +> Neo Simple X Image Viewer. +> More information: . + +- Open images: + +`nsxiv {{path/to/file1 path/to/file2 ...}}` + +- Open images from directories in image mode: + +`nsxiv {{path/to/directory1 path/to/directory2 ...}}` + +- Search directories recursively for images to view: + +`nsxiv {{[-r|--recursive]}} {{path/to/directory1 path/to/directory2 ...}}` + +- Quit nsxiv: + +`` + +- Switch to thumbnail mode or open selected image in image mode: + +`` + +- Count images forward in image mode: + +`` + +- Count images backward in image mode: + +`

` diff --git a/pages/linux/ntfsfix.md b/pages/linux/ntfsfix.md index 39dc09718907c6..88be33d33c01f2 100644 --- a/pages/linux/ntfsfix.md +++ b/pages/linux/ntfsfix.md @@ -1,6 +1,7 @@ # ntfsfix > Fix common problems on an NTFS partition. +> More information: . - Fix a given NTFS partition: diff --git a/pages/linux/ntpd.md b/pages/linux/ntpd.md new file mode 100644 index 00000000000000..cb0874454f248e --- /dev/null +++ b/pages/linux/ntpd.md @@ -0,0 +1,16 @@ +# ntpd + +> The official NTP (Network Time Protocol) daemon to synchronize the system clock to remote time servers or local reference clocks. +> More information: . + +- Start the daemon: + +`sudo ntpd` + +- Synchronize system time with remote servers a single time (quit after synchronizing): + +`sudo ntpd --quit` + +- Synchronize a single time allowing "Big" adjustments: + +`sudo ntpd --panicgate --quit` diff --git a/pages/linux/ntpdate.md b/pages/linux/ntpdate.md new file mode 100644 index 00000000000000..54eaaea8f0f56c --- /dev/null +++ b/pages/linux/ntpdate.md @@ -0,0 +1,20 @@ +# ntpdate + +> Synchronize and set the date and time via NTP. +> More information: . + +- Synchronize and set date and time: + +`sudo ntpdate {{host}}` + +- Query the host without setting the time: + +`ntpdate -q {{host}}` + +- Use an unprivileged port in case a firewall is blocking privileged ports: + +`sudo ntpdate -u {{host}}` + +- Force time to be stepped using `settimeofday` instead of `slewed`: + +`sudo ntpdate -b {{host}}` diff --git a/pages/linux/ntpq.md b/pages/linux/ntpq.md new file mode 100644 index 00000000000000..ff202ddcebbbc3 --- /dev/null +++ b/pages/linux/ntpq.md @@ -0,0 +1,24 @@ +# ntpq + +> Query the Network Time Protocol (NTP) daemon. +> More information: . + +- Start `ntpq` in interactive mode: + +`ntpq` + +- Print a list of NTP peers: + +`ntpq {{[-p|--peers]}}` + +- Print a list of NTP peers without resolving hostnames from IP addresses: + +`ntpq {{[-n|--numeric]}} {{[-p|--peers]}}` + +- Use `ntpq` in debugging mode: + +`ntpq {{[-d|--debug-level]}}` + +- Print NTP system variables values: + +`ntpq {{[-c|--command]}} {{rv}}` diff --git a/pages/linux/numactl.md b/pages/linux/numactl.md index 25545386e94d4d..3924f8718aabe0 100644 --- a/pages/linux/numactl.md +++ b/pages/linux/numactl.md @@ -1,7 +1,7 @@ # numactl > Control NUMA policy for processes or shared memory. -> More information: . +> More information: . - Run a command on node 0 with memory allocated on node 0 and 1: diff --git a/pages/linux/numlockx.md b/pages/linux/numlockx.md index bd8dff35e9ebf9..94d0dc120e8da7 100644 --- a/pages/linux/numlockx.md +++ b/pages/linux/numlockx.md @@ -1,7 +1,7 @@ # numlockx > Control the number lock key status in X11 sessions. -> More information: . +> More information: . - Show the current number lock status: diff --git a/pages/linux/obabel.md b/pages/linux/obabel.md new file mode 100644 index 00000000000000..e9b8307df9f908 --- /dev/null +++ b/pages/linux/obabel.md @@ -0,0 +1,20 @@ +# obabel + +> Translate chemistry-related data. +> More information: . + +- Convert a .mol file to XYZ coordinates: + +`obabel {{path/to/file.mol}} -O {{path/to/output_file.xyz}}` + +- Convert a SMILES string to a 500x500 picture: + +`obabel -:"{{SMILES}}" -O {{path/to/output_file.png}} -xp 500` + +- Convert a file of SMILES string to separate 3D .mol files: + +`obabel {{path/to/file.smi}} -O {{path/to/output_file.mol}} --gen3D -m` + +- Render multiple inputs into one picture: + +`obabel {{path/to/file1 path/to/file2 ...}} -O {{path/to/output_file.png}}` diff --git a/pages/linux/objcopy.md b/pages/linux/objcopy.md new file mode 100644 index 00000000000000..0fa6b238ecb62d --- /dev/null +++ b/pages/linux/objcopy.md @@ -0,0 +1,24 @@ +# objcopy + +> Copy the contents of an object file to another file. +> More information: . + +- Copy data to another file: + +`objcopy {{path/to/source_file}} {{path/to/target_file}}` + +- Translate object files from one format to another: + +`objcopy --input-target={{input_format}} --output-target {{output_format}} {{path/to/source_file}} {{path/to/target_file}}` + +- Strip all symbol information from the file: + +`objcopy --strip-all {{path/to/source_file}} {{path/to/target_file}}` + +- Strip debugging information from the file: + +`objcopy --strip-debug {{path/to/source_file}} {{path/to/target_file}}` + +- Copy a specific section from the source file to the destination file: + +`objcopy --only-section {{section}} {{path/to/source_file}} {{path/to/target_file}}` diff --git a/pages/linux/oniux.md b/pages/linux/oniux.md new file mode 100644 index 00000000000000..7c77b0d9274d60 --- /dev/null +++ b/pages/linux/oniux.md @@ -0,0 +1,25 @@ +# oniux + +> Isolate an arbitrary application and route traffic over the Tor network. +> Note: This is experimental software. +> More information: . + +- Isolate an application: + +`oniux {{command}}` + +- Query a website: + +`oniux curl {{https://example.com}}` + +- Query an onion site: + +`oniux curl {{http://example.onion}}` + +- Run an entire shell in "torified" isolation: + +`oniux bash` + +- Isolate graphical applications in desktop environments: + +`oniux hexchat` diff --git a/pages/linux/oomctl.md b/pages/linux/oomctl.md new file mode 100644 index 00000000000000..5afd843adebaa4 --- /dev/null +++ b/pages/linux/oomctl.md @@ -0,0 +1,8 @@ +# oomctl + +> Analyze the state stored in `systemd-oomd`. +> More information: . + +- Show the current state of the cgroups and system contexts stored by `systemd-oomd`: + +`oomctl dump` diff --git a/pages/linux/openfortivpn.md b/pages/linux/openfortivpn.md index 00fbb3fc19bd76..437db47b21904b 100644 --- a/pages/linux/openfortivpn.md +++ b/pages/linux/openfortivpn.md @@ -1,15 +1,15 @@ # openfortivpn > A VPN client, for Fortinet's proprietary PPP+SSL VPN solution. -> More information: . +> More information: . - Connect to a VPN with a username and password: -`openfortivpn --username={{username}} --password={{password}}` +`openfortivpn {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}` - Connect to a VPN using a specific configuration file (defaults to `/etc/openfortivpn/config`): -`sudo openfortivpn --config={{path/to/config}}` +`sudo openfortivpn {{[-c|--config]}} {{path/to/config}}` - Connect to a VPN by specifying the host and port: @@ -17,4 +17,4 @@ - Trust a given gateway by passing in its certificate's sha256 sum: -`openfortivpn --trusted-cert={{sha256_sum}}` +`openfortivpn --trusted-cert {{sha256_sum}}` diff --git a/pages/linux/openrc.md b/pages/linux/openrc.md index c3e4417549c4c0..673a7b33280f51 100644 --- a/pages/linux/openrc.md +++ b/pages/linux/openrc.md @@ -1,7 +1,7 @@ # openrc > The OpenRC service manager. -> See also `rc-status`, `rc-update`, and `rc-service`. +> See also: `rc-status`, `rc-update`, `rc-service`. > More information: . - Change to a specific runlevel: @@ -10,4 +10,4 @@ - Change to a specific runlevel, but don't stop any existing services: -`sudo openrc --no-stop {{runlevel_name}}` +`sudo openrc {{[-n|--no-stop]}} {{runlevel_name}}` diff --git a/pages/linux/openvpn3.md b/pages/linux/openvpn3.md new file mode 100644 index 00000000000000..822c1bf356b980 --- /dev/null +++ b/pages/linux/openvpn3.md @@ -0,0 +1,24 @@ +# openvpn3 + +> OpenVPN 3 Linux client. +> More information: . + +- Start a new VPN session: + +`openvpn3 session-start {{[-c|--config]}} {{path/to/config.conf}}` + +- List established sessions: + +`openvpn3 sessions-list` + +- Disconnect the currently established session started with given configuration: + +`openvpn3 session-manage {{[-c|--config]}} {{path/to/config.conf}} {{[-D|--disconnect]}}` + +- Import VPN configuration: + +`openvpn3 config-import {{[-c|--config]}} {{path/to/config.conf}}` + +- List imported configurations: + +`openvpn3 configs-list` diff --git a/pages/linux/opera-stable.md b/pages/linux/opera-stable.md new file mode 100644 index 00000000000000..326f2b074f5a8e --- /dev/null +++ b/pages/linux/opera-stable.md @@ -0,0 +1,8 @@ +# opera-stable + +> This command is an alias of `chromium`. +> More information: . + +- View documentation for the original command: + +`tldr chromium` diff --git a/pages/linux/opkg.md b/pages/linux/opkg.md index 1a6ad6599afca7..a811d33bff974f 100644 --- a/pages/linux/opkg.md +++ b/pages/linux/opkg.md @@ -1,6 +1,7 @@ # opkg > A lightweight package manager used to install OpenWrt packages. +> More information: . - Install a package: @@ -14,10 +15,6 @@ `opkg update` -- Upgrade all the installed packages: - -`opkg upgrade` - - Upgrade one or more specific package(s): `opkg upgrade {{package(s)}}` @@ -29,3 +26,11 @@ - List all the available packages: `opkg list` + +- Find out which package owns a file: + +`opkg search /{{path/to/file}}` + +- List all files belonging to a package: + +`opkg files {{package}}` diff --git a/pages/linux/optimus-manager.md b/pages/linux/optimus-manager.md new file mode 100644 index 00000000000000..61b24313d27e48 --- /dev/null +++ b/pages/linux/optimus-manager.md @@ -0,0 +1,12 @@ +# optimus-manager + +> GPU switching utility for Nvidia Optimus laptops. +> More information: . + +- Switch between different GPU modes: + +`optimus-manager --switch {{nvidia|integrated|hybrid}}` + +- Clean up: + +`optimus-manager --cleanup` diff --git a/pages/linux/ostree.md b/pages/linux/ostree.md new file mode 100644 index 00000000000000..e17343c7380a07 --- /dev/null +++ b/pages/linux/ostree.md @@ -0,0 +1,33 @@ +# ostree + +> Version control for binary files similar to `git` but optimized for operating system root filesystems. +> OSTree is the foundation for immutable image-based operating systems such as Fedora Silverblue, Fedora IoT or Fedora CoreOS. +> More information: . + +- Initialize a repository of the files in `$PWD` with metadata in `$PWD/path/to/repo`: + +`ostree init --repo {{path/to/repo}}` + +- Create a commit (snapshot) of the files: + +`ostree commit --repo {{path/to/repo}} --branch {{branch_name}}` + +- Show files in commit: + +`ostree ls --repo {{path/to/repo}} {{commit_id}}` + +- Show metadata of commit: + +`ostree show --repo {{path/to/repo}} {{commit_id}}` + +- Show list of commits: + +`ostree log --repo {{path/to/repo}} {{branch_name}}` + +- Show repo summary: + +`ostree summary --repo {{path/to/repo}} --view` + +- Show available refs (branches): + +`ostree refs --repo {{path/to/repo}}` diff --git a/pages/linux/pacaur.md b/pages/linux/pacaur.md index 56028fc3df4432..e8a366a172b7bc 100644 --- a/pages/linux/pacaur.md +++ b/pages/linux/pacaur.md @@ -1,6 +1,7 @@ # pacaur > A utility for Arch Linux to build and install packages from the Arch User Repository. +> More information: . - Synchronize and update all packages (includes AUR): @@ -12,11 +13,11 @@ - Install a new package (includes AUR): -`pacaur -S {{package_name}}` +`pacaur -S {{package}}` - Remove a package and its dependencies (includes AUR packages): -`pacaur -Rs {{package_name}}` +`pacaur -Rs {{package}}` - Search the package database for a keyword (includes AUR): diff --git a/pages/linux/paccache.md b/pages/linux/paccache.md index f89c4519ae84a0..3dedefd6f8e898 100644 --- a/pages/linux/paccache.md +++ b/pages/linux/paccache.md @@ -1,19 +1,20 @@ # paccache -> A pacman cache cleaning utility. +> A `pacman` cache cleaning utility. +> More information: . -- Remove all but the 3 most recent package versions from the pacman cache: +- Remove all but the 3 most recent package versions from the `pacman` cache: -`paccache -r` +`paccache {{[-r|--remove]}}` - Set the number of package versions to keep: -`paccache -rk {{num_versions}}` +`paccache {{[-rk|--remove --keep]}} {{num_versions}}` - Perform a dry-run and show the number of candidate packages for deletion: -`paccache -d` +`paccache {{[-d|--dryrun]}}` - Move candidate packages to a directory instead of deleting them: -`paccache -m {{path/to/directory}}` +`paccache {{[-m|--move]}} {{path/to/directory}}` diff --git a/pages/linux/paccapability.md b/pages/linux/paccapability.md new file mode 100644 index 00000000000000..05a15baba98d52 --- /dev/null +++ b/pages/linux/paccapability.md @@ -0,0 +1,20 @@ +# paccapability + +> Query and display the capabilities supported by libalpm. +> More information: . + +- List all available capabilities: + +`paccapability` + +- Check for the specified capability: + +`paccapability {{nls|downloader|signatures}}` + +- Display help: + +`paccapability --help` + +- Display version: + +`paccapability --version` diff --git a/pages/linux/paccheck.md b/pages/linux/paccheck.md new file mode 100644 index 00000000000000..54d19f2daa20c2 --- /dev/null +++ b/pages/linux/paccheck.md @@ -0,0 +1,28 @@ +# paccheck + +> Check installed packages on an Arch-based system to verify dependencies, integrity, and consistency. +> More information: . + +- List and check all installed packages: + +`paccheck` + +- Check the specified packages: + +`paccheck {{package1 package2 ...}}` + +- Only display messages if a problem is found: + +`paccheck --quiet` + +- Check that all package dependencies are satisfied: + +`paccheck --depends` + +- Display help: + +`paccheck --help` + +- Display version: + +`paccheck --version` diff --git a/pages/linux/pacconf.md b/pages/linux/pacconf.md new file mode 100644 index 00000000000000..a39caa183c2848 --- /dev/null +++ b/pages/linux/pacconf.md @@ -0,0 +1,28 @@ +# pacconf + +> Query and display pacman's configuration options, showing either the full configuration or specific directive values as parsed by pacman. +> More information: . + +- Show full parsed pacman configuration: + +`pacconf` + +- List configured repositories: + +`pacconf --repo-list` + +- Always show directive names even if only one directive is provided: + +`pacconf --verbose {{directive}}` + +- Display only first value of multi-value options: + +`pacconf --single` + +- Display help: + +`pacconf --help` + +- Display version: + +`pacconf --version` diff --git a/pages/linux/pacdiff.md b/pages/linux/pacdiff.md new file mode 100644 index 00000000000000..9a2e0f89ec780e --- /dev/null +++ b/pages/linux/pacdiff.md @@ -0,0 +1,28 @@ +# pacdiff + +> Maintenance utility for `.pacorig`, `.pacnew` and `.pacsave` files created by `pacman`. +> More information: . + +- Review files that need maintenance in interactive mode: + +`pacdiff` + +- Use sudo and sudoedit to remove and merge files: + +`pacdiff {{[-s|--sudo]}}` + +- Review files needing maintenance, creating `.bak`ups of the original if you `(O)verwrite`: + +`pacdiff {{[-s|--sudo]}} {{[-b|--backup]}}` + +- Use a specific editor to view and merge configuration files (default is `vim -d`): + +`DIFFPROG={{editor}} pacdiff` + +- Scan for configuration files with `locate` instead of using `pacman` database: + +`pacdiff {{[-l|--locate]}}` + +- Display help: + +`pacdiff {{[-h|--help]}}` diff --git a/pages/linux/pacfile.md b/pages/linux/pacfile.md new file mode 100644 index 00000000000000..4eddf9006e37ec --- /dev/null +++ b/pages/linux/pacfile.md @@ -0,0 +1,20 @@ +# pacfile + +> Display information about package files, including repository data, file system checks, and database comparisons. +> More information: . + +- List all available packages: + +`pacfile` + +- Compare database values to the file system: + +`pacfile --check` + +- Display help: + +`pacfile --help` + +- Display version: + +`pacfile --version` diff --git a/pages/linux/pacgraph.md b/pages/linux/pacgraph.md new file mode 100644 index 00000000000000..31db7da7945ab5 --- /dev/null +++ b/pages/linux/pacgraph.md @@ -0,0 +1,36 @@ +# pacgraph + +> Draw a graph of installed packages to PNG/SVG/GUI/console. +> More information: . + +- Produce an SVG and PNG graph: + +`pacgraph` + +- Produce an SVG graph: + +`pacgraph --svg` + +- Print summary to console: + +`pacgraph --console` + +- Override the default filename/location (Note: Do not specify the file extension): + +`pacgraph --file={{path/to/file}}` + +- Change the color of packages that are not dependencies: + +`pacgraph --top={{color}}` + +- Change the color of package dependencies: + +`pacgraph --dep={{color}}` + +- Change the background color of a graph: + +`pacgraph --background={{color}}` + +- Change the color of links between packages: + +`pacgraph --link={{color}}` diff --git a/pages/linux/pacinfo.md b/pages/linux/pacinfo.md new file mode 100644 index 00000000000000..45671ab4f1530e --- /dev/null +++ b/pages/linux/pacinfo.md @@ -0,0 +1,28 @@ +# pacinfo + +> Display information about installed packages. +> More information: . + +- Display information about a specific package: + +`pacinfo {{package_name}}` + +- Disable low-speed timeouts for downloads: + +`pacinfo --no-timeout {{package_name}}` + +- Display sizes in bytes and date values as Unix timestamps: + +`pacinfo --raw {{package_name}}` + +- Display additional package information: + +`pacinfo --verbose {{package_name}}` + +- Display help: + +`pacinfo --help` + +- Display version: + +`pacinfo --version` diff --git a/pages/linux/pacini.md b/pages/linux/pacini.md new file mode 100644 index 00000000000000..37b718c5fb9562 --- /dev/null +++ b/pages/linux/pacini.md @@ -0,0 +1,28 @@ +# pacini + +> Query pacman-style configuration files. +> More information: . + +- Show the full parsed configuration file (default: `stdin`): + +`pacini {{path/to/file}}` + +- List configured sections: + +`pacini --section-list` + +- Always show directive names even if only one directive is provided: + +`pacini --verbose {{directive}}` + +- Display directives listed in a specific section: + +`pacini --section {{section_name}}` + +- Display help: + +`pacini --help` + +- Display version: + +`pacini --version` diff --git a/pages/linux/paclock.md b/pages/linux/paclock.md new file mode 100644 index 00000000000000..ecbc5b5450f83f --- /dev/null +++ b/pages/linux/paclock.md @@ -0,0 +1,24 @@ +# paclock + +> Lock/unlock the libalpm database (used by `pacman`) to prevent or allow simultaneous package management operations. +> More information: . + +- Lock the database: + +`paclock` + +- Write the lock file path to `stdout` (without locking the database): + +`paclock --print` + +- Unlock the database: + +`paclock --unlock` + +- Display help: + +`paclock --help` + +- Display version: + +`paclock --version` diff --git a/pages/linux/paclog.md b/pages/linux/paclog.md new file mode 100644 index 00000000000000..b18460dde3c605 --- /dev/null +++ b/pages/linux/paclog.md @@ -0,0 +1,32 @@ +# paclog + +> Filter pacman log entries. +> More information: . + +- Display the entire pacman log: + +`paclog` + +- Display pacman-style logged commandline entries: + +`paclog --commandline` + +- Display only errors, warnings, and notes: + +`paclog --warnings` + +- Display package name and action type: + +`paclog --package {{package_name}} --action {{install|upgrade|remove|...}}` + +- Display the list of installed packages according to the log: + +`paclog --pkglist` + +- Display help: + +`paclog --help` + +- Display version: + +`paclog --version` diff --git a/pages/linux/pacman-d.md b/pages/linux/pacman-d.md new file mode 100644 index 00000000000000..fceb5caed68351 --- /dev/null +++ b/pages/linux/pacman-d.md @@ -0,0 +1,7 @@ +# pacman -D + +> This command is an alias of `pacman --database`. + +- View documentation for the original command: + +`tldr pacman database` diff --git a/pages/linux/pacman-database.md b/pages/linux/pacman-database.md new file mode 100644 index 00000000000000..7b182d7909af98 --- /dev/null +++ b/pages/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Operate on the Arch Linux package database. +> Modify certain attributes of the installed packages. +> See also: `pacman`. +> More information: . + +- Mark a package as implicitly installed: + +`sudo pacman -D --asdeps {{package}}` + +- Mark a package as explicitly installed: + +`sudo pacman -D --asexplicit {{package}}` + +- Chec[k] that all the package dependencies are installed: + +`pacman -Dk` + +- Chec[k] the sync [D]atabase to ensure all specified dependencies of downloadable packages are available: + +`pacman -Dkk` + +- Chec[k] and display in [q]uiet mode (only error messages are displayed): + +`pacman -Dkq` + +- Display [h]elp: + +`pacman -Dh` diff --git a/pages/linux/pacman-deptest.md b/pages/linux/pacman-deptest.md new file mode 100644 index 00000000000000..4a623fcd376f89 --- /dev/null +++ b/pages/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> Check each dependency specified and return a list of dependencies that are not currently satisfied on the system. +> See also: `pacman`. +> More information: . + +- Print the package names of the dependencies that are not installed: + +`pacman -T {{package1 package2 ...}}` + +- Check if the installed package satisfies the given minimum version: + +`pacman -T "{{bash>=5}}"` + +- Check if a later version of a package is installed: + +`pacman -T "{{bash>5}}"` + +- Display [h]elp: + +`pacman -Th` diff --git a/pages/linux/pacman-f.md b/pages/linux/pacman-f.md new file mode 100644 index 00000000000000..81adbe8a1f2f8b --- /dev/null +++ b/pages/linux/pacman-f.md @@ -0,0 +1,7 @@ +# pacman -F + +> This command is an alias of `pacman --files`. + +- View documentation for the original command: + +`tldr pacman files` diff --git a/pages/linux/pacman-files.md b/pages/linux/pacman-files.md new file mode 100644 index 00000000000000..02b51c0a728a05 --- /dev/null +++ b/pages/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Arch Linux package manager utility. +> See also: `pacman`, `pkgfile`. +> More information: . + +- Update the package database: + +`sudo pacman -Fy` + +- Find the package that owns a specific [F]ile: + +`pacman -F {{filename}}` + +- Find the package that owns a specific [F]ile, using a `rege[x]`: + +`pacman -Fx '{{regex}}'` + +- List only the package names: + +`pacman -Fq {{filename}}` + +- [l]ist the [F]iles owned by a specific package: + +`pacman -Fl {{package}}` + +- Display [h]elp: + +`pacman -Fh` diff --git a/pages/linux/pacman-key.md b/pages/linux/pacman-key.md new file mode 100644 index 00000000000000..da4410b475d19b --- /dev/null +++ b/pages/linux/pacman-key.md @@ -0,0 +1,37 @@ +# pacman-key + +> Wrapper script for GnuPG used to manage pacman's keyring. +> See also: `pacman`. +> More information: . + +- Initialize the `pacman` keyring: + +`sudo pacman-key --init` + +- Add the default Arch Linux keys: + +`sudo pacman-key --populate` + +- List keys from the public keyring: + +`pacman-key {{[-l|--list-keys]}}` + +- Add the specified keys: + +`sudo pacman-key {{[-a|--add]}} {{path/to/keyfile.gpg}}` + +- Receive a key from a key server: + +`sudo pacman-key {{[-r|--recv-keys]}} "{{uid|name|email}}"` + +- Print the fingerprint of a specific key: + +`pacman-key {{[-f|--finger]}} "{{uid|name|email}}"` + +- Sign an imported key locally: + +`sudo pacman-key --lsign-key "{{uid|name|email}}"` + +- Remove a specific key: + +`sudo pacman-key {{[-d|--delete]}} "{{uid|name|email}}"` diff --git a/pages/linux/pacman-mirrors.md b/pages/linux/pacman-mirrors.md new file mode 100644 index 00000000000000..8009efbccef125 --- /dev/null +++ b/pages/linux/pacman-mirrors.md @@ -0,0 +1,26 @@ +# pacman-mirrors + +> Generate a `pacman` mirrorlist for Manjaro Linux. +> Every run of `pacman-mirrors` requires you to synchronize your database and update your system using `sudo pacman -Syyu`. +> See also: `pacman`. +> More information: . + +- Generate a mirrorlist using the default settings: + +`sudo pacman-mirrors --fasttrack` + +- Get the status of the current mirrors: + +`pacman-mirrors --status` + +- Display the current branch: + +`pacman-mirrors --get-branch` + +- Switch to a different branch: + +`sudo pacman-mirrors --api --set-branch {{stable|unstable|testing}}` + +- Generate a mirrorlist, only using mirrors in your country: + +`sudo pacman-mirrors --geoip` diff --git a/pages/linux/pacman-q.md b/pages/linux/pacman-q.md new file mode 100644 index 00000000000000..840965ab48b53a --- /dev/null +++ b/pages/linux/pacman-q.md @@ -0,0 +1,7 @@ +# pacman -Q + +> This command is an alias of `pacman --query`. + +- View documentation for the original command: + +`tldr pacman query` diff --git a/pages/linux/pacman-query.md b/pages/linux/pacman-query.md new file mode 100644 index 00000000000000..cf9e1d7053e73a --- /dev/null +++ b/pages/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Arch Linux package manager utility. +> See also: `pacman`. +> More information: . + +- [Q]uery the local package database and list installed packages and versions: + +`pacman -Q` + +- List only packages and versions that were [e]xplicitly installed: + +`pacman -Qe` + +- Find which package [o]wns a file: + +`pacman -Qo {{filename}}` + +- Display information about an [i]nstalled package: + +`pacman -Qi {{package}}` + +- Display the [l]ist of files owned by a specific package: + +`pacman -Ql {{package}}` + +- List orphan packages (installed as [d]ependencies but unrequired ([t]) by any package and print in [q]uiet mode (only package name is displayed)): + +`pacman -Qdtq` + +- List installed packages foreign ([m]) to the repository database: + +`pacman -Qm` + +- List packages that can be [u]pgraded: + +`pacman -Qu` diff --git a/pages/linux/pacman-r.md b/pages/linux/pacman-r.md new file mode 100644 index 00000000000000..7be94d3e68aa1f --- /dev/null +++ b/pages/linux/pacman-r.md @@ -0,0 +1,7 @@ +# pacman -R + +> This command is an alias of `pacman --remove`. + +- View documentation for the original command: + +`tldr pacman remove` diff --git a/pages/linux/pacman-remove.md b/pages/linux/pacman-remove.md new file mode 100644 index 00000000000000..2e76d552e39c75 --- /dev/null +++ b/pages/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Arch Linux package manager utility. +> See also: `pacman`. +> More information: . + +- [R]emove a package and its dependencies recur[s]ively: + +`sudo pacman -Rs {{package}}` + +- [R]emove a package and its dependencies. Also do [n]ot save backups of configuration files: + +`sudo pacman -Rsn {{package}}` + +- [R]emove a package without prompting: + +`sudo pacman -R --noconfirm {{package}}` + +- [R]emove orphan packages (installed as [d]ependencies but no[t] required by any package): + +`sudo pacman -Rsn $(pacman -Qdtq)` + +- [R]emove a package and [c]ascade that to all packages that depend on it: + +`sudo pacman -Rc {{package}}` + +- List and [p]rint packages that would be affected (does not [R]emove any packages): + +`pacman -Rp {{package}}` + +- Display [h]elp: + +`pacman -Rh` diff --git a/pages/linux/pacman-s.md b/pages/linux/pacman-s.md new file mode 100644 index 00000000000000..e3b58d62331ee2 --- /dev/null +++ b/pages/linux/pacman-s.md @@ -0,0 +1,7 @@ +# pacman -S + +> This command is an alias of `pacman --sync`. + +- View documentation for the original command: + +`tldr pacman sync` diff --git a/pages/linux/pacman-sync.md b/pages/linux/pacman-sync.md new file mode 100644 index 00000000000000..2ed7b80bfeefc4 --- /dev/null +++ b/pages/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Arch Linux package manager utility. +> See also: `pacman`. +> More information: . + +- Install a new package: + +`sudo pacman -S {{package}}` + +- [S]ynchronize and refresh ([y]) the package database along with a sys[u]pgrade (add `--downloadonly` to only download the packages and not update them): + +`sudo pacman -Syu` + +- Update and [u]pgrade all packages and install a new one without prompting: + +`sudo pacman -Syu --noconfirm {{package}}` + +- [s]earch the package database for a `regex` or keyword: + +`pacman -Ss "{{search_pattern}}"` + +- Display [i]nformation about a package: + +`pacman -Si {{package}}` + +- Overwrite conflicting files during a package update: + +`sudo pacman -Syu --overwrite {{path/to/file}}` + +- Remove not installed packages and unused repositories from the cache (use the flags `Scc` to [c]lean all packages): + +`sudo pacman -Sc` + +- Specify the package version that should be installed: + +`sudo pacman -S {{package}}={{version}}` diff --git a/pages/linux/pacman-t.md b/pages/linux/pacman-t.md new file mode 100644 index 00000000000000..a4287bb0d75e8b --- /dev/null +++ b/pages/linux/pacman-t.md @@ -0,0 +1,7 @@ +# pacman -T + +> This command is an alias of `pacman --deptest`. + +- View documentation for the original command: + +`tldr pacman deptest` diff --git a/pages/linux/pacman-u.md b/pages/linux/pacman-u.md new file mode 100644 index 00000000000000..fa2e3c11a5855d --- /dev/null +++ b/pages/linux/pacman-u.md @@ -0,0 +1,7 @@ +# pacman -U + +> This command is an alias of `pacman --upgrade`. + +- View documentation for the original command: + +`tldr pacman upgrade` diff --git a/pages/linux/pacman-upgrade.md b/pages/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..7bd8fa4542a5fa --- /dev/null +++ b/pages/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> Arch Linux package manager utility. +> See also: `pacman`. +> More information: . + +- Install one or more packages from files: + +`sudo pacman -U {{path/to/package1.pkg.tar.zst path/to/package2.pkg.tar.zst ...}}` + +- Install a package without prompting: + +`sudo pacman -U --noconfirm {{path/to/package.pkg.tar.zst}}` + +- Overwrite conflicting files during a package installation: + +`sudo pacman -U --overwrite {{path/to/file}} {{path/to/package.pkg.tar.zst}}` + +- Install a package, skipping the [d]ependency version checks: + +`sudo pacman -Ud {{path/to/package.pkg.tar.zst}}` + +- Fetch and [p]rint packages that would be affected by upgrade (does not install any packages): + +`pacman -Up {{path/to/package.pkg.tar.zst}}` + +- Display [h]elp: + +`pacman -Uh` diff --git a/pages/linux/pacman.md b/pages/linux/pacman.md index 8fb3d717a213ba..69f6c26a43fcd7 100644 --- a/pages/linux/pacman.md +++ b/pages/linux/pacman.md @@ -1,36 +1,38 @@ # pacman > Arch Linux package manager utility. -> More information: . +> See also: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`. +> For equivalent commands in other package managers, see . +> More information: . -- Synchronize and update all packages: +- [S]ynchronize and update all packages: -`pacman -Syu` +`sudo pacman -Syu` - Install a new package: -`pacman -S {{package_name}}` +`sudo pacman -S {{package}}` -- Remove a package and its dependencies: +- [R]emove a package and its dependencies: -`pacman -Rs {{package_name}}` +`sudo pacman -Rs {{package}}` -- Search the package database for a regular expression or keyword: +- Search ([s]) the package database for a `regex` or keyword: `pacman -Ss "{{search_pattern}}"` -- List installed packages and versions: +- Search the database for packages containing a specific [F]ile: -`pacman -Q` +`pacman -F "{{file_name}}"` -- List only the explicitly installed packages and versions: +- List only the [e]xplicitly installed packages and versions: `pacman -Qe` -- Find which package owns a certain file: +- List orphan packages (installed as [d]ependencies but not actually required by any package): -`pacman -Qo {{filename}}` +`pacman -Qtdq` -- Empty package cache to free up space: +- Empty the entire `pacman` cache: -`pacman -Scc` +`sudo pacman -Scc` diff --git a/pages/linux/pacrepairdb.md b/pages/linux/pacrepairdb.md new file mode 100644 index 00000000000000..ee2854157aa98e --- /dev/null +++ b/pages/linux/pacrepairdb.md @@ -0,0 +1,28 @@ +# pacrepairdb + +> Fix corrupted database entries in libalpm database. +> More information: . + +- Perform a basic repair on a specific package: + +`pacrepairdb {{package_name}}` + +- Update the database entries without extracting or removing any packages: + +`pacrepairdb {{package_name}} --dbonly` + +- Display the packages to be repaired and the cache packages to be used without making any changes: + +`pacrepairdb {{package_name}} --print-only` + +- Display additional progress and debug information: + +`pacrepairdb {{package_name}} --verbose` + +- Display help: + +`pacrepairdb --help` + +- Display version: + +`pacrepairdb --version` diff --git a/pages/linux/pacrepairfile.md b/pages/linux/pacrepairfile.md new file mode 100644 index 00000000000000..ecdabba86259ed --- /dev/null +++ b/pages/linux/pacrepairfile.md @@ -0,0 +1,24 @@ +# pacrepairfile + +> Reset properties on files managed by alpm. +> More information: . + +- Search for the package and reset the properties of a file: + +`pacrepairfile {{path/to/file}} --package` + +- Reset a file quietly: + +`pacrepairfile {{package_name}} --quiet --package` + +- Reset specific file properties (mode, owner UID, group GID, or modification time): + +`pacrepairfile {{package_name}} --{{mode|gid|mtime|uid}} --package` + +- Display help: + +`pacrepairfile --help` + +- Display version: + +`pacrepairfile --version` diff --git a/pages/linux/pacsift.md b/pages/linux/pacsift.md new file mode 100644 index 00000000000000..90418f6eb9f2d6 --- /dev/null +++ b/pages/linux/pacsift.md @@ -0,0 +1,12 @@ +# pacsift + +> Query and filter packages. +> More information: . + +- List all available packages: + +`pacsift` + +- Filter packages that provide a given package: + +`pacsift --satisfies {{package}}` diff --git a/pages/linux/pacstall.md b/pages/linux/pacstall.md new file mode 100644 index 00000000000000..c91eb890980059 --- /dev/null +++ b/pages/linux/pacstall.md @@ -0,0 +1,36 @@ +# pacstall + +> An AUR package manager for Ubuntu. +> More information: . + +- Search the package database for a package name: + +`pacstall --search {{query}}` + +- Install a package: + +`pacstall --install {{package}}` + +- Remove a package: + +`pacstall --remove {{package}}` + +- Add a repository to the database (only GitHub and GitLab are supported): + +`pacstall --add-repo {{remote_repository_location}}` + +- Update pacstall's scripts: + +`pacstall --update` + +- Update all packages: + +`pacstall --upgrade` + +- Display information about a package: + +`pacstall --cache-info {{package}}` + +- List all installed packages: + +`pacstall --list` diff --git a/pages/linux/pacstrap.md b/pages/linux/pacstrap.md new file mode 100644 index 00000000000000..8c52a504d896db --- /dev/null +++ b/pages/linux/pacstrap.md @@ -0,0 +1,36 @@ +# pacstrap + +> Install Arch Linux packages in the specified new root directory. +> More information: . + +- Install the `base` package, the Linux kernel and firmware for common hardware: + +`pacstrap {{path/to/new/root}} {{base}} {{linux}} {{linux-firmware}}` + +- Install the `base` package, the Linux LTS kernel and `base-devel` build tools: + +`pacstrap {{path/to/new/root}} {{base}} {{base-devel}} {{linux-lts}}` + +- Install packages and copy the host's Pacman config to the target: + +`pacstrap -P {{path/to/new/root}} {{packages}}` + +- Install packages without copying the host's mirrorlist to the target: + +`pacstrap -M {{path/to/new/root}} {{packages}}` + +- Use an alternate configuration file for Pacman: + +`pacstrap -C {{path/to/pacman.conf}} {{path/to/new/root}} {{packages}}` + +- Install packages using the package cache on the host instead of on the target: + +`pacstrap -c {{path/to/new/root}} {{packages}}` + +- Initialize an empty `pacman` keyring in the target without copying it from the host: + +`pacstrap -K {{path/to/new/root}} {{packages}}` + +- Install packages in interactive mode (prompts for confirmation): + +`pacstrap -i {{path/to/new/root}} {{packages}}` diff --git a/pages/linux/pactree.md b/pages/linux/pactree.md new file mode 100644 index 00000000000000..cf3ae2292659c8 --- /dev/null +++ b/pages/linux/pactree.md @@ -0,0 +1,24 @@ +# pactree + +> Package dependency tree viewer for pacman. +> More information: . + +- Print the dependency tree of a specific package: + +`pactree {{package}}` + +- Print what packages depend on a specific package: + +`pactree {{[-r|--reverse]}} {{package}}` + +- Dump dependencies one per line, skipping duplicates: + +`pactree {{[-u|--unique]}} {{package}}` + +- Include optional dependencies of a specific package and colorize the output: + +`pactree {{[-co|--color --optional]}} {{package}}` + +- Display help: + +`pactree` diff --git a/pages/linux/pamac.md b/pages/linux/pamac.md index 00d01f16eb9903..3fe3f3844e33b6 100644 --- a/pages/linux/pamac.md +++ b/pages/linux/pamac.md @@ -1,6 +1,8 @@ # pamac -> A command line utility for the GUI package manager pamac. +> A command-line utility for the GUI package manager pamac. +> If you can't see the AUR packages, enable it in `/etc/pamac.conf` or in the GUI. +> More information: . - Install a new package: @@ -8,7 +10,7 @@ - Remove a package and its no longer required dependencies (orphans): -`pamac remove -o {{package_name}}` +`pamac remove --orphans {{package_name}}` - Search the package database for a package: @@ -16,8 +18,12 @@ - List installed packages: -`pamac list -i` +`pamac list --installed` - Check for package updates: `pamac checkupdates` + +- Upgrade all packages: + +`pamac upgrade` diff --git a/pages/linux/partclone.md b/pages/linux/partclone.md new file mode 100644 index 00000000000000..06e56eb38c8c6e --- /dev/null +++ b/pages/linux/partclone.md @@ -0,0 +1,16 @@ +# partclone + +> Copy and restore partitions to and from an image while disregarding empty blocks. +> More information: . + +- Copy a partition into an image: + +`sudo partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-c|--clone]}} {{[-s|--source]}} {{/dev/sdXY}} {{[-o|--output]}} {{path/to/backup.img}}` + +- Restore a partition from an image: + +`sudo partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-c|--clone]}} {{[-s|--source]}} {{path/to/backup.img}} {{[-o|--output]}} {{/dev/sdXY}}` + +- Display help: + +`partclone.{{ext4|btrfs|fat32|xfs|...}} {{[-h|--help]}}` diff --git a/pages/linux/parted.interactive.md b/pages/linux/parted.interactive.md new file mode 100644 index 00000000000000..763994af94c9cb --- /dev/null +++ b/pages/linux/parted.interactive.md @@ -0,0 +1,37 @@ +# parted + +> A partition manipulation program. +> See also: `parted`, `partprobe`. +> More information: . + +- Start interactive mode with the specified disk selected: + +`sudo parted {{/dev/sdX}}` + +- Show partition information in interactive mode: + +`print` + +- Select a disk in interactive mode: + +`select {{/dev/sdX}}` + +- Create a 16 GB partition with the specified filesystem in interactive mode (`GPT` partition table): + +`mkpart {{partition_name}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}` + +- Create a 16 GB partition with the specified filesystem in interactive mode (`MBR` partition table): + +`mkpart {{primary|logical|extended}} {{btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs}} {{0%}} {{16G}}` + +- Resize a partition in interactive mode: + +`resizepart {{/dev/sdXN}} {{end_position_of_partition}}` + +- Remove a partition in interactive mode: + +`rm {{/dev/sdXN}}` + +- Display help: + +`?` diff --git a/pages/linux/parted.md b/pages/linux/parted.md index bf63cd2ded3acf..1d5953a4539e73 100644 --- a/pages/linux/parted.md +++ b/pages/linux/parted.md @@ -1,36 +1,29 @@ # parted > A partition manipulation program. -> More information: . +> See also: `parted.interactive`, `partprobe`. +> More information: . - List partitions on all block devices: -`sudo parted --list` +`sudo parted {{[-l|--list]}}` -- Start to manipulate disk partition: +- Create a new partition table of the specified label-type: -`sudo parted {{/dev/sdX}}` - -- Create a new partition table of label-type directly, label-type can be gpt, msdos etc: - -`sudo parted --script {{/dev/sdX}} mklabel {{gpt}}` +`sudo parted {{/dev/sdX}} mklabel {{aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun}}` -- Show disk partition information in interactive mode: +- Create a new `gpt` partition table with a 500MiB boot partition and give the rest for the system partition (`--script` skips user intervention prompts): -`print` +`sudo parted {{/dev/sdX}} {{[-s|--script]}} mklabel gpt mkpart "{{boot_partition_name}}" 0% 500MiB mkpart "{{system_partition_name}}" 500MiB 100%` -- Select a disk in interactive mode: +- Set a partition to have its boot flag turned on: -`select {{/dev/sdX}}` +`sudo parted {{/dev/sdX}} set {{1}} boot on` -- Interactively create a 16GB partition with a given filesystem: +- Start interactive mode with the specified disk selected: -`mkpart {{primary|logical|extended}} {{filesystem}} {{0%}} {{16G}}` - -- Resize partition size: - -`resizepart {{/dev/sdXN}} {{end_position_of_partition}}` +`sudo parted {{/dev/sdX}}` -- Remove partition: +- Display help: -`rm {{/dev/sdXN}}` +`parted {{[-h|--help]}}` diff --git a/pages/linux/partprobe.md b/pages/linux/partprobe.md new file mode 100644 index 00000000000000..b728ff02b7cb71 --- /dev/null +++ b/pages/linux/partprobe.md @@ -0,0 +1,16 @@ +# partprobe + +> Notify the operating system kernel of partition table changes. +> More information: . + +- Notify the operating system kernel of partition table changes: + +`sudo partprobe` + +- Notify the kernel of partition table changes and show a summary of devices and their partitions: + +`sudo partprobe {{[-s|--summary]}}` + +- Show a summary of devices and their partitions but don't notify the kernel: + +`sudo partprobe {{[-s|--summary]}} {{[-d|--dry-run]}}` diff --git a/pages/linux/partx.md b/pages/linux/partx.md index 1181f009bc40ff..ff50bf9ff77657 100644 --- a/pages/linux/partx.md +++ b/pages/linux/partx.md @@ -1,16 +1,16 @@ -# partx +# partx > Parse a partition table and tell the kernel about it. -> More information: . +> More information: . - List the partitions on a block device or disk image: -`sudo partx --list {{path/to/device_or_disk_image}}` +`sudo partx {{[-l|--list]}} {{path/to/device_or_disk_image}}` -- Add all the paritions found in a given block device to the kernel: +- Add all the partitions found in a given block device to the kernel: -`sudo partx --add --verbose {{path/to/device_or_disk_image}}` +`sudo partx {{[-a|--add]}} {{[-v|--verbose]}} {{path/to/device_or_disk_image}}` - Delete all the partitions found from the kernel (does not alter partitions on disk): -`sudo partx --delete {{path/to/device_or_disk_image}}` +`sudo partx {{[-d|--delete]}} {{path/to/device_or_disk_image}}` diff --git a/pages/linux/paru.md b/pages/linux/paru.md index 10fa77c94fbfbf..607e25d92498ee 100644 --- a/pages/linux/paru.md +++ b/pages/linux/paru.md @@ -1,11 +1,11 @@ # paru > An AUR helper and pacman wrapper. -> More information: . +> More information: . - Interactively search for and install a package: -`paru {{package_name_or_seach_term}}` +`paru {{package_name_or_search_term}}` - Synchronize and update all packages: @@ -17,8 +17,12 @@ - Get information about a package: -`paru -Si {{package_name}}` +`paru -Si {{package}}` -- Show statistics for installed packages and system health: +- Download `PKGBUILD` and other package source files from the AUR or ABS: -`paru -P --stats` +`paru --getpkgbuild {{package}}` + +- Display the `PKGBUILD` file of a package: + +`paru --getpkgbuild --print {{package}}` diff --git a/pages/linux/pasuspender.md b/pages/linux/pasuspender.md index 2844322683eb79..69f2a53d0df0d6 100644 --- a/pages/linux/pasuspender.md +++ b/pages/linux/pasuspender.md @@ -1,7 +1,8 @@ # pasuspender > Temporarily suspends `pulseaudio` while another command is running to allow access to alsa. +> More information: . -- Suspend pulseaudio while running `jackd`: +- Suspend PulseAudio while running `jackd`: -`pasuspender -- {{jackd -d alsa --device hw:0}}` +`pasuspender -- {{jackd --driver alsa --device hw:0}}` diff --git a/pages/linux/patool.md b/pages/linux/patool.md new file mode 100644 index 00000000000000..77fa64b18dbce2 --- /dev/null +++ b/pages/linux/patool.md @@ -0,0 +1,25 @@ +# patool + +> Archive file manager. +> Various archive formats can be created, extracted, tested, listed, searched, repacked, and compared. +> More information: . + +- Extract an archive: + +`patool extract {{path/to/archive}}` + +- Create an archive: + +`patool create {{path/to/archive}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- List contents of an archive: + +`patool list {{path/to/archive}}` + +- Compare the contents of two archives and display the differences in the standard output: + +`patool diff {{path/to/archive1}} {{path/to/archive2}}` + +- Search for a string inside the contents of an archive: + +`patool search {{path/to/archive}}` diff --git a/pages/linux/paxs.md b/pages/linux/paxs.md new file mode 100644 index 00000000000000..be235280f11531 --- /dev/null +++ b/pages/linux/paxs.md @@ -0,0 +1,29 @@ +# paxs + +> Manage packages across Yay, Flatpak, and Snap. +> Supports searching, installing, removing, and upgrading packages. +> More information: . + +- Search for a package: + +`paxs {{search_term}}` + +- Upgrade all packages: + +`paxs {{[-u|--upgrade-all]}}` + +- Install a package (prompting for the source): + +`paxs {{[-i|--install]}} {{package}}` + +- Remove a package (prompting for the source): + +`paxs {{[-r|--remove]}} {{package}}` + +- Check for updates across all package managers: + +`paxs {{[-c|--check-update]}}` + +- Display help: + +`paxs {{[-h|--help]}}` diff --git a/pages/linux/pct-clone.md b/pages/linux/pct-clone.md new file mode 100644 index 00000000000000..cfc3956cc52c9f --- /dev/null +++ b/pages/linux/pct-clone.md @@ -0,0 +1,12 @@ +# pct clone + +> Clone a container. +> More information: . + +- Clone a container: + +`pct clone {{template_id}} {{copy_id}}` + +- Clone a container with a custom name: + +`pct {{[cl|clone]}} {{template_id}} {{copy_id}} --hostname {{host_name}}` diff --git a/pages/linux/pct-config.md b/pages/linux/pct-config.md new file mode 100644 index 00000000000000..395744022dc0bb --- /dev/null +++ b/pages/linux/pct-config.md @@ -0,0 +1,16 @@ +# pct config + +> Print the configuration of a container. +> More information: . + +- Display the saved configuration: + +`pct config {{100}}` + +- Display the running configuration without pending changes: + +`pct config {{100}} --current` + +- Display configuration of a specific snapshot: + +`pct config {{100}} --snapshot {{snapshot_name}}` diff --git a/pages/linux/pct-console.md b/pages/linux/pct-console.md new file mode 100644 index 00000000000000..bc7fa094f3e039 --- /dev/null +++ b/pages/linux/pct-console.md @@ -0,0 +1,12 @@ +# pct console + +> Attach to a container TTY. +> More information: . + +- Attach to a terminal: + +`pct console {{100}}` + +- Detach from a terminal: + +`` diff --git a/pages/linux/pct-create.md b/pages/linux/pct-create.md new file mode 100644 index 00000000000000..43a46bc5a3dd20 --- /dev/null +++ b/pages/linux/pct-create.md @@ -0,0 +1,24 @@ +# pct create + +> Create LXC containers in Proxmox. +> More information: . + +- Create a container from a template with 4GB size, give it 512MiB of memory and unlimited access to CPU: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:4` + +- Create a container from a template and give it a specific memory limit in megabytes: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:{{4}} --memory {{8192}}` + +- Create a container from a template and give it a hostname and a password: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:{{4}} --hostname {{hostname}} --password {{password}}` + +- Create a container from a template and give it network access: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:{{4}} --net0 name={{eth0}},bridge={{vmbr0}},ip={{dhcp|manual|10.0.0.1/24}} --features nesting=1` + +- Start a container immediately after creation: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:{{4}} --start` diff --git a/pages/linux/pct-destroy.md b/pages/linux/pct-destroy.md new file mode 100644 index 00000000000000..06438c13b30192 --- /dev/null +++ b/pages/linux/pct-destroy.md @@ -0,0 +1,16 @@ +# pct destroy + +> Destroy a container. +> More information: . + +- Destroy a container: + +`pct {{[des|destroy]}} {{100}}` + +- Destroy a container even if it's running: + +`pct {{[des|destroy]}} {{100}} --force` + +- Also delete all references to this container: + +`pct {{[des|destroy]}} {{100}} --purge` diff --git a/pages/linux/pct-exec.md b/pages/linux/pct-exec.md new file mode 100644 index 00000000000000..c45196714adf55 --- /dev/null +++ b/pages/linux/pct-exec.md @@ -0,0 +1,16 @@ +# pct exec + +> Launch a command inside a specified container. +> More information: . + +- Launch a command in a container: + +`pct {{[ex|exec]}} {{100}} {{command}}` + +- Open a Bash shell in a container: + +`pct {{[ex|exec]}} {{100}} bash` + +- Pass arguments to the command: + +`pct {{[ex|exec]}} {{100}} -- {{command}} {{arguments}}` diff --git a/pages/linux/pct-resize.md b/pages/linux/pct-resize.md new file mode 100644 index 00000000000000..9e8a68fc930808 --- /dev/null +++ b/pages/linux/pct-resize.md @@ -0,0 +1,12 @@ +# pct resize + +> Resize container storage. +> More information: . + +- Resize the container size to 20GB: + +`pct {{[resi|resize]}} {{100}} rootfs 20G` + +- Add 10GB to the container storage: + +`pct {{[resi|resize]}} {{100}} rootfs +10G` diff --git a/pages/linux/pct-set.md b/pages/linux/pct-set.md new file mode 100644 index 00000000000000..5caf7608e59c54 --- /dev/null +++ b/pages/linux/pct-set.md @@ -0,0 +1,28 @@ +# pct set + +> Set container options. +> More information: . + +- Set container to start automatically on boot: + +`pct set {{100}} --onboot` + +- Set a container to have a static IP: + +`pct set {{100}} --net0 name=eth0,bridge=vmbr0,ip={{10.0.0.100/24}},gw={{10.0.0.1}}` + +- Set container memory and CPU limit: + +`pct set {{100}} --memory {{8192}} --cpulimit {{4}}` + +- Mount a host file location in a guest: + +`pct set {{100}} --mp{{0}} /{{path/to/host_directory}},mp=/{{path/to/guest_mount_point}}` + +- Set container tags: + +`pct set {{100}} --tags {{tag1,tag2,...}}` + +- Remove an option: + +`pct set {{100}} --delete {{net0,mp0,mp1,...}}` diff --git a/pages/linux/pct-status.md b/pages/linux/pct-status.md new file mode 100644 index 00000000000000..a9dea254b626a9 --- /dev/null +++ b/pages/linux/pct-status.md @@ -0,0 +1,12 @@ +# pct status + +> Display the status of a container. +> More information: . + +- Display if the container is running: + +`pct status {{100}}` + +- Display detailed container information: + +`pct status {{100}} --verbose` diff --git a/pages/linux/pct-template.md b/pages/linux/pct-template.md new file mode 100644 index 00000000000000..6a6044caac5172 --- /dev/null +++ b/pages/linux/pct-template.md @@ -0,0 +1,8 @@ +# pct template + +> Convert a container into a template. +> More information: . + +- Convert a container into a template: + +`pct {{[t|template]}} {{100}}` diff --git a/pages/linux/pct.md b/pages/linux/pct.md new file mode 100644 index 00000000000000..27219287f697fe --- /dev/null +++ b/pages/linux/pct.md @@ -0,0 +1,36 @@ +# pct + +> Manage LXC containers in Proxmox. +> More information: . + +- List all containers: + +`pct list` + +- Start/Stop/Reboot a specific container: + +`pct {{start|stop|reboot}} {{100}}` + +- Access a specific container's shell: + +`pct {{[en|enter]}} {{100}}` + +- Create a container from template with 4GB size: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:4` + +- Resize the container's disk to 20G: + +`pct {{[resi|resize]}} {{100}} {{rootfs|mpX}} {{20G}}` + +- Show the configuration of a container, specifying its ID: + +`pct {{[conf|config]}} {{100}}` + +- Snapshot a specific container with description: + +`pct {{[sn|snapshot]}} {{100}} {{my-snapshot}} --description {{My snapshot description}}` + +- Destroy a container and remove all related resources: + +`pct {{[des|destroy]}} {{100}} --purge` diff --git a/pages/linux/pdbedit.md b/pages/linux/pdbedit.md new file mode 100644 index 00000000000000..eb888467bf8e0b --- /dev/null +++ b/pages/linux/pdbedit.md @@ -0,0 +1,21 @@ +# pdbedit + +> Edit the Samba user database. +> For simple user add/remove/password, you can also use `smbpasswd`. +> More information: . + +- List all Samba users (use verbose flag to show their settings): + +`sudo pdbedit --list --verbose` + +- Add an existing Unix user to Samba (will prompt for password): + +`sudo pdbedit --user {{username}} --create` + +- Remove a Samba user: + +`sudo pdbedit --user {{username}} --delete` + +- Reset a Samba user's failed password counter: + +`sudo pdbedit --user {{username}} --bad-password-count-reset` diff --git a/pages/linux/pdfattach.md b/pages/linux/pdfattach.md new file mode 100644 index 00000000000000..b7f4ac69a7bbb3 --- /dev/null +++ b/pages/linux/pdfattach.md @@ -0,0 +1,21 @@ +# pdfattach + +> Add a new attachment (embedded file) to an existing PDF file. +> See also: `pdfdetach`, `pdfimages`, `pdfinfo`. +> More information: . + +- Add a new attachment to an existing PDF file: + +`pdfattach {{path/to/input.pdf}} {{path/to/file_to_attach}} {{path/to/output.pdf}}` + +- Replace attachment with same name if it exists: + +`pdfattach -replace {{path/to/input.pdf}} {{path/to/file_to_attach}} {{path/to/output.pdf}}` + +- Display help: + +`pdfattach {{[-h|--help]}}` + +- Display version: + +`pdfattach -v` diff --git a/pages/linux/pdfbook2.md b/pages/linux/pdfbook2.md new file mode 100644 index 00000000000000..7292b92b56b1f7 --- /dev/null +++ b/pages/linux/pdfbook2.md @@ -0,0 +1,21 @@ +# pdfbook2 + +> Create a double sided printable PDF booklet from a PDF. +> Note: The booklet needs to be printed double-sided in landscape mode, flipped on the long edge. +> More information: . + +- Create a booklet named `file-book.pdf` with sane defaults: + +`pdfbook2 {{path/to/file.pdf}}` + +- Create a booklet with the paper size set to A4: + +`pdfbook2 {{[-p|--paper]}} a4paper {{path/to/file.pdf}}` + +- Create a booklet that has the inner margin reduced to 50 pixels (default = 150px): + +`pdfbook2 {{[-p|--paper]}} a4paper {{[-i|--inner-margin]}} 50 {{path/to/file.pdf}}` + +- Organize a large file with print signatures for binding into a larger booklet (signatures must be divisible by 4): + +`pdfbook2 {{[-p|--paper]}} a4paper --signature {{24}} {{path/to/file.pdf}}` diff --git a/pages/linux/pdfcrop.md b/pages/linux/pdfcrop.md new file mode 100644 index 00000000000000..592eee4a5a1700 --- /dev/null +++ b/pages/linux/pdfcrop.md @@ -0,0 +1,28 @@ +# pdfcrop + +> Detect and remove margins in each page in a PDF file. +> More information: . + +- Automatically detect and remove the margin for each page in a PDF file: + +`pdfcrop {{path/to/input_file.pdf}} {{path/to/output_file.pdf}}` + +- Set the margins of each page to a specific value: + +`pdfcrop {{path/to/input_file.pdf}} --margins '{{left}} {{top}} {{right}} {{bottom}}' {{path/to/output_file.pdf}}` + +- Set the margins of each page to a specific value, using the same value for left, top, right and bottom: + +`pdfcrop {{path/to/input_file.pdf}} --margins {{300}} {{path/to/output_file.pdf}}` + +- Use a user-defined bounding box for cropping instead of automatically detecting it: + +`pdfcrop {{path/to/input_file.pdf}} --bbox '{{left}} {{top}} {{right}} {{bottom}}' {{path/to/output_file.pdf}}` + +- Use different user-defined bounding boxes for odd and even pages: + +`pdfcrop {{path/to/input_file.pdf}} --bbox-odd '{{left}} {{top}} {{right}} {{bottom}}' --bbox-even '{{left}} {{top}} {{right}} {{bottom}}' {{path/to/output_file.pdf}}` + +- Automatically detect margins using a lower resolution for improved performance: + +`pdfcrop {{path/to/input_file.pdf}} --resolution {{72}} {{path/to/output_file.pdf}}` diff --git a/pages/linux/pdfdetach.md b/pages/linux/pdfdetach.md new file mode 100644 index 00000000000000..bd4104f27b87f2 --- /dev/null +++ b/pages/linux/pdfdetach.md @@ -0,0 +1,25 @@ +# pdfdetach + +> List or extract attachments (embedded files) from a PDF file. +> See also: `pdfattach`, `pdfimages`, `pdfinfo`. +> More information: . + +- List all attachments in a file with a specific text encoding: + +`pdfdetach list -enc {{UTF-8}} {{path/to/input.pdf}}` + +- Save specific embedded file by specifying its number: + +`pdfdetach -save {{number}} {{path/to/input.pdf}}` + +- Save specific embedded file by specifying its name: + +`pdfdetach -savefile {{name}} {{path/to/input.pdf}}` + +- Save the embedded file with a custom output filename: + +`pdfdetach -save {{number}} -o {{path/to/output}} {{path/to/input.pdf}}` + +- Save the attachment from a file secured by owner/user password: + +`pdfdetach -save {{number}} {{-opw|-upw}} {{password}} {{path/to/input.pdf}}` diff --git a/pages/linux/pdfgrep.md b/pages/linux/pdfgrep.md deleted file mode 100644 index 5e229a05b4b790..00000000000000 --- a/pages/linux/pdfgrep.md +++ /dev/null @@ -1,23 +0,0 @@ -# pdfgrep - -> Search text in PDF files. - -- Find lines that match pattern in a PDF: - -`pdfgrep {{pattern}} {{file.pdf}}` - -- Include file name and page number for each matched line: - -`pdfgrep --with-filename --page-number {{pattern}} {{file.pdf}}` - -- Do a case insensitive search for lines that begin with "foo" and return the first 3 matches: - -`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}` - -- Find pattern in files with a .pdf extension in the current directory recursively: - -`pdfgrep --recursive {{pattern}}` - -- Find pattern on files that match a specific glob in the current directory recursively: - -`pdfgrep --recursive --include {{'*book.pdf'}} {{pattern}}` diff --git a/pages/linux/pdftohtml.md b/pages/linux/pdftohtml.md new file mode 100644 index 00000000000000..c5c818e864396d --- /dev/null +++ b/pages/linux/pdftohtml.md @@ -0,0 +1,20 @@ +# pdftohtml + +> Convert PDF files into HTML, XML and PNG images. +> More information: . + +- Convert a PDF file to an HTML file: + +`pdftohtml {{path/to/file.pdf}} {{path/to/output_file.html}}` + +- Ignore images in the PDF file: + +`pdftohtml -i {{path/to/file.pdf}} {{path/to/output_file.html}}` + +- Generate a single HTML file that includes all PDF pages: + +`pdftohtml -s {{path/to/file.pdf}} {{path/to/output_file.html}}` + +- Convert a PDF file to an XML file: + +`pdftohtml -xml {{path/to/file.pdf}} {{path/to/output_file.xml}}` diff --git a/pages/linux/pdftoppm.md b/pages/linux/pdftoppm.md new file mode 100644 index 00000000000000..11f18a09463586 --- /dev/null +++ b/pages/linux/pdftoppm.md @@ -0,0 +1,24 @@ +# pdftoppm + +> Convert PDF document pages to portable Pixmap (image formats). +> More information: . + +- Specify the range of pages to convert (`n` - first page, `m` - last page): + +`pdftoppm -f {{n}} -l {{m}} {{path/to/file.pdf}} {{image_name_prefix}}` + +- Convert only the first page of a PDF: + +`pdftoppm -singlefile {{path/to/file.pdf}} {{image_name_prefix}}` + +- Generate a monochrome PBM file (instead of a color PPM file): + +`pdftoppm -mono {{path/to/file.pdf}} {{image_name_prefix}}` + +- Generate a grayscale PGM file (instead of a color PPM file): + +`pdftoppm -gray {{path/to/file.pdf}} {{image_name_prefix}}` + +- Generate a PNG file instead a PPM file: + +`pdftoppm -png {{path/to/file.pdf}} {{image_name_prefix}}` diff --git a/pages/linux/pdfxup.md b/pages/linux/pdfxup.md new file mode 100644 index 00000000000000..96a6f654230d0d --- /dev/null +++ b/pages/linux/pdfxup.md @@ -0,0 +1,17 @@ +# pdfxup + +> N-up PDF pages. +> N-upping means putting multiple pages onto one page by scaling and rotating them into a grid. +> More information: . + +- Create a 2-up PDF: + +`pdfxup {{[-o|--output]}} {{path/to/output.pdf}} {{path/to/input.pdf}}` + +- Create a PDF with 3 columns and 2 lines per page: + +`pdfxup {{[-x|--columns]}} {{3}} {{[-y|--rows]}} {{2}} {{[-o|--output]}} {{path/to/output.pdf}} {{path/to/input.pdf}}` + +- Create a PDF in booklet mode (2-up, and pages are sorted to form a book when folded): + +`pdfxup {{[-b|--booklet]}} {{[-o|--output]}} {{path/to/output.pdf}} {{path/to/input.pdf}}` diff --git a/pages/linux/perf.md b/pages/linux/perf.md index 4ea729365b9ee8..f3f2a440c0e6d8 100644 --- a/pages/linux/perf.md +++ b/pages/linux/perf.md @@ -1,19 +1,24 @@ # perf -> Framework for linux performance counter measurements. +> Framework for Linux performance counter measurements. +> More information: . - Display basic performance counter stats for a command: `perf stat {{gcc hello.c}}` -- Display system-wide real time performance counter profile: +- Display system-wide real-time performance counter profile: `sudo perf top` -- Run a command and record its profile into "perf.data": +- Run a command and record its profile into `perf.data`: `sudo perf record {{command}}` -- Read "perf.data" (created by `perf record`) and display the profile: +- Record the profile of an existing process into `perf.data`: + +`sudo perf record {{[-p|--pid]}} {{pid}}` + +- Read `perf.data` (created by `perf record`) and display the profile: `sudo perf report` diff --git a/pages/linux/perl-rename.md b/pages/linux/perl-rename.md deleted file mode 100644 index 5a3fb332e13b9b..00000000000000 --- a/pages/linux/perl-rename.md +++ /dev/null @@ -1,24 +0,0 @@ -# rename - -> Rename multiple files. -> NOTE: this page refers to the command from the `perl-rename` Arch Linux package. - -- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found): - -`rename {{'s/foo/bar/'}} {{*}}` - -- Dry-run - display which renames would occur without performing them: - -`rename -n {{'s/foo/bar/'}} {{*}}` - -- Force renaming even if the operation would remove existing destination files: - -`rename -f {{'s/foo/bar/'}} {{*}}` - -- Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent "already exists" errors): - -`rename 'y/A-Z/a-z/' {{*}}` - -- Replace whitespace with underscores: - -`rename 's/\s+/_/g' {{*}}` diff --git a/pages/linux/pg.md b/pages/linux/pg.md new file mode 100644 index 00000000000000..e84b42d6a9baf7 --- /dev/null +++ b/pages/linux/pg.md @@ -0,0 +1,12 @@ +# pg + +> View files one page at a time. +> More information: . + +- View a file: + +`pg {{path/to/file}}` + +- Display help: + +`pg {{[-h|--help]}}` diff --git a/pages/linux/phar.md b/pages/linux/phar.md index d873a006f20de0..0052b086dabb90 100644 --- a/pages/linux/phar.md +++ b/pages/linux/phar.md @@ -1,10 +1,11 @@ # phar > Create, update or extract PHP archives (PHAR). +> More information: . -- Add space-separated files or directories to a Phar file: +- Add one or more files or directories to a Phar file: -`phar add -f {{path/to/phar_file}} {{files_or_directories}}` +`phar add -f {{path/to/phar_file}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` - Display the contents of a Phar file: @@ -14,10 +15,6 @@ `phar delete -f {{path/to/phar_file}} -e {{file_or_directory}}` -- Display full usage information and available hashing/compression algorithms: - -`phar help` - - Compress or uncompress files and directories in a Phar file: `phar compress -f {{path/to/phar_file}} -c {{algorithm}}` @@ -33,3 +30,7 @@ - Sign a Phar file with an OpenSSL private key: `phar sign -f {{path/to/phar_file}} -h openssl -y {{path/to/private_key}}` + +- Display help and available hashing/compression algorithms: + +`phar help` diff --git a/pages/linux/photorec.md b/pages/linux/photorec.md index 5baa490f5e819c..1dafd2da0b0817 100644 --- a/pages/linux/photorec.md +++ b/pages/linux/photorec.md @@ -2,12 +2,12 @@ > Deleted file recovery tool. > It is recommended to write recovered files to a disk separate to the one being recovered from. -> More information: . +> More information: . - Run PhotoRec on a specific device: `sudo photorec {{/dev/sdb}}` -- Run PhotoRec on a disk image (image.dd): +- Run PhotoRec on a disk image (`image.dd`): `sudo photorec {{path/to/image.dd}}` diff --git a/pages/linux/phpdismod.md b/pages/linux/phpdismod.md index dc0eff1ae9c34e..b57ec05c8669c3 100644 --- a/pages/linux/phpdismod.md +++ b/pages/linux/phpdismod.md @@ -1,11 +1,12 @@ # phpdismod > Disable PHP extensions on Debian-based OSes. +> More information: . -- Disable the json extension for every SAPI of every PHP version: +- Disable the JSON extension for every SAPI of every PHP version: `sudo phpdismod {{json}}` -- Disable the json extension for PHP 7.3 with the cli SAPI: +- Disable the JSON extension for PHP 7.3 with the cli SAPI: `sudo phpdismod -v {{7.3}} -s {{cli}} {{json}}` diff --git a/pages/linux/phpenmod.md b/pages/linux/phpenmod.md index a290f418fc01b3..df4397e0e2824c 100644 --- a/pages/linux/phpenmod.md +++ b/pages/linux/phpenmod.md @@ -1,11 +1,12 @@ # phpenmod > Enable PHP extensions on Debian-based OSes. +> More information: . -- Enable the json extension for every SAPI of every PHP version: +- Enable the JSON extension for every SAPI of every PHP version: `sudo phpenmod {{json}}` -- Enable the json extension for PHP 7.3 with the cli SAPI: +- Enable the JSON extension for PHP 7.3 with the cli SAPI: `sudo phpenmod -v {{7.3}} -s {{cli}} {{json}}` diff --git a/pages/linux/phpquery.md b/pages/linux/phpquery.md index afcc901e807b8d..c7dc8235662043 100644 --- a/pages/linux/phpquery.md +++ b/pages/linux/phpquery.md @@ -1,6 +1,7 @@ # phpquery > PHP extension manager for Debian-based OSes. +> More information: . - List available PHP versions: @@ -14,6 +15,6 @@ `sudo phpquery -v {{7.3}} -s {{cli}} -M` -- Check if the json extension is enabled for PHP 7.3 with the apache2 SAPI: +- Check if the JSON extension is enabled for PHP 7.3 with the apache2 SAPI: `sudo phpquery -v {{7.3}} -s {{apache2}} -m {{json}}` diff --git a/pages/linux/physlock.md b/pages/linux/physlock.md index 781f249fd0c8fe..a283eb4082ce1a 100644 --- a/pages/linux/physlock.md +++ b/pages/linux/physlock.md @@ -1,7 +1,7 @@ # physlock > Lock all consoles and virtual terminals. -> More information: . +> More information: . - Lock every console (require current user or root to unlock): diff --git a/pages/linux/pi.md b/pages/linux/pi.md index 62c6c2d9e2730d..f5f8029f0a66ea 100644 --- a/pages/linux/pi.md +++ b/pages/linux/pi.md @@ -1,7 +1,7 @@ # pi -> Compute decimal Archimedes' constant Pi on the command line. -> More information: . +> Compute decimal Archimedes' constant Pi. +> More information: . - Display 100 decimal digits of Archimedes' constant Pi: @@ -11,6 +11,10 @@ `pi {{number}}` +- Display recommended readings: + +`pi --bibliography` + - Display help: `pi --help` @@ -18,7 +22,3 @@ - Display version: `pi --version` - -- Display recommended readings: - -`pi --bibliography` diff --git a/pages/linux/picom.md b/pages/linux/picom.md new file mode 100644 index 00000000000000..983c4c326028a7 --- /dev/null +++ b/pages/linux/picom.md @@ -0,0 +1,16 @@ +# picom + +> Standalone compositor for Xorg. +> More information: . + +- Enable `picom` during a session: + +`picom &` + +- Start `picom` as a background process: + +`picom {{[-b|--daemon]}}` + +- Use a custom configuration file: + +`picom --config {{path/to/config_file}}` diff --git a/pages/linux/pidof.md b/pages/linux/pidof.md index 68057f1cb429d1..2fe0f2a007d251 100644 --- a/pages/linux/pidof.md +++ b/pages/linux/pidof.md @@ -1,6 +1,7 @@ # pidof -> Gets the ID of a process using its name. +> Get the ID of a process using its name. +> More information: . - List all process IDs with given name: @@ -16,4 +17,4 @@ - Kill all processes with given name: -`kill "$(pidof {{name}})" ` +`kill $(pidof {{name}})` diff --git a/pages/linux/pidstat.md b/pages/linux/pidstat.md index cb656b8e3080b0..3be8406cf677fb 100644 --- a/pages/linux/pidstat.md +++ b/pages/linux/pidstat.md @@ -1,6 +1,7 @@ # pidstat > Show system resource usage, including CPU, memory, IO etc. +> More information: . - Show CPU statistics at a 2 second interval for 10 times: @@ -10,7 +11,7 @@ `pidstat -r` -- Show input/output usage per process id: +- Show input/output usage per process ID: `pidstat -d` diff --git a/pages/linux/pihole.md b/pages/linux/pihole.md index 927ef2064e3538..9dfadcc9415f64 100644 --- a/pages/linux/pihole.md +++ b/pages/linux/pihole.md @@ -1,28 +1,36 @@ # pihole -> Terminal interface for the Pi-Hole ad-blocking DNS server. -> More information: . +> Manage the Pi-hole ad-blocking DNS server. +> More information: . -- Check the Pi-hole daemon's status: +- Check Pi-hole's status: `pihole status` -- Monitor detailed system status: +- Update Pi-hole and Gravity: -`pihole chronometer` +`sudo pihole {{[-up|updatePihole]}}` - Start or stop the daemon: `pihole {{enable|disable}}` -- Restart the daemon (not the server itself): +- Update the lists and flush the cache without restarting the DNS server: -`pihole restartdns` +`pihole reloaddns` -- Whitelist or blacklist a domain: +- Update the list of ad-serving domains: -`pihole {{whitelist|blacklist}} {{example.com}}` +`pihole {{[-g|updateGravity]}}` + +- Allow or deny the specified domain: + +`pihole {{allow|deny}} {{example.com}}` - Search the lists for a domain: -`pihole query {{example.com}}` +`pihole {{[-q|query]}} {{example.com}}` + +- Open a real-time log of connections: + +`pihole {{[-t|tail]}}` diff --git a/pages/linux/pinout.md b/pages/linux/pinout.md new file mode 100644 index 00000000000000..03bf470489fcbd --- /dev/null +++ b/pages/linux/pinout.md @@ -0,0 +1,12 @@ +# pinout + +> View the current Raspberry Pi's GPIO pin-out information on the terminal with an ASCII diagram. +> More information: . + +- View the pinout information and GPIO header diagram for the current Raspberry Pi: + +`pinout` + +- Open in the default browser: + +`pinout {{[-x|--xyz]}}` diff --git a/pages/linux/pipewire.md b/pages/linux/pipewire.md new file mode 100644 index 00000000000000..00e8ba06954f2d --- /dev/null +++ b/pages/linux/pipewire.md @@ -0,0 +1,20 @@ +# pipewire + +> Start the PipeWire daemon. +> More information: . + +- Start the PipeWire daemon: + +`pipewire` + +- Use a different configuration file: + +`pipewire --config {{path/to/file.conf}}` + +- Set the verbosity level (error, warn, info, debug or trace): + +`pipewire -{{v|vv|...|vvvvv}}` + +- Display help: + +`pipewire --help` diff --git a/pages/linux/pirut.md b/pages/linux/pirut.md new file mode 100644 index 00000000000000..32514b9c1e7b54 --- /dev/null +++ b/pages/linux/pirut.md @@ -0,0 +1,9 @@ +# pirut + +> Graphical frontend for `yum`. +> See also: `yum`. +> More information: . + +- Launch `pirut`: + +`pirut` diff --git a/pages/linux/pivpn.md b/pages/linux/pivpn.md index f6c10c11dfb356..33c693c1e747b0 100644 --- a/pages/linux/pivpn.md +++ b/pages/linux/pivpn.md @@ -2,7 +2,7 @@ > Easy security-hardened OpenVPN setup and manager. > Originally designed for the Raspberry Pi, but works on other Linux devices too. -> More information: . +> More information: . - Add a new client device: diff --git a/pages/linux/pkcon.md b/pages/linux/pkcon.md new file mode 100644 index 00000000000000..fc4c6ef5aa1e68 --- /dev/null +++ b/pages/linux/pkcon.md @@ -0,0 +1,28 @@ +# pkcon + +> PackageKit client used by Discover and Gnome software and alternative to `apt`. +> More information: . + +- Install a package: + +`pkcon install {{package}}` + +- Remove a package: + +`pkcon remove {{package}}` + +- Refresh the package cache: + +`pkcon refresh` + +- Update packages: + +`pkcon update` + +- Search for a specific package: + +`pkcon search {{package}}` + +- List all available packages: + +`pkcon get-packages` diff --git a/pages/linux/pkexec.md b/pages/linux/pkexec.md new file mode 100644 index 00000000000000..5d35bec0f410b1 --- /dev/null +++ b/pages/linux/pkexec.md @@ -0,0 +1,17 @@ +# pkexec + +> Execute commands as another user. +> Asks for password in a GUI if available. +> More information: . + +- Run command as root: + +`pkexec {{command}}` + +- Switch user to root: + +`pkexec` + +- Run command as a specific user: + +`pkexec --user {{username}} {{command}}` diff --git a/pages/linux/pkgadd.md b/pages/linux/pkgadd.md index 5a22fd3c3aaaeb..3aff5b5f9caba9 100644 --- a/pages/linux/pkgadd.md +++ b/pages/linux/pkgadd.md @@ -1,11 +1,12 @@ # pkgadd > Add a package to a CRUX system. +> More information: . - Install a local software package: -`pkgadd {{package_name}}` +`pkgadd {{package}}` - Update an already installed package from a local package: -`pkgadd -u {{package_name}}` +`pkgadd -u {{package}}` diff --git a/pages/linux/pkgctl-auth.md b/pages/linux/pkgctl-auth.md new file mode 100644 index 00000000000000..a963365b3d9d5f --- /dev/null +++ b/pages/linux/pkgctl-auth.md @@ -0,0 +1,12 @@ +# pkgctl auth + +> Authenticate `pkgctl` with services like GitLab. +> More information: . + +- Authenticate `pkgctl` with the GitLab instance: + +`pkgctl auth login` + +- View authentication status: + +`pkgctl auth status` diff --git a/pages/linux/pkgctl-build.md b/pages/linux/pkgctl-build.md new file mode 100644 index 00000000000000..b3e274bcc7e368 --- /dev/null +++ b/pages/linux/pkgctl-build.md @@ -0,0 +1,12 @@ +# pkgctl build + +> Build packages inside a clean `chroot`. +> More information: . + +- Automatically choose the right build script to build packages in a clean `chroot`: + +`pkgctl build` + +- Manually build packages in a clean `chroot`: + +`pkgctl build --arch {{architecture}} --repo {{repository}} --clean` diff --git a/pages/linux/pkgctl-db-update.md b/pages/linux/pkgctl-db-update.md new file mode 100644 index 00000000000000..92977c0ee359d1 --- /dev/null +++ b/pages/linux/pkgctl-db-update.md @@ -0,0 +1,8 @@ +# pkgctl db update + +> Update the `pacman` database as final release step for packages that have been transferred and staged on . +> More information: . + +- Update the binary repository as final release step: + +`pkgctl db update` diff --git a/pages/linux/pkgctl-diff.md b/pages/linux/pkgctl-diff.md new file mode 100644 index 00000000000000..7d1b972f38b309 --- /dev/null +++ b/pages/linux/pkgctl-diff.md @@ -0,0 +1,21 @@ +# pkgctl diff + +> Compare package files using different modes. +> See also: `pkgctl`. +> More information: . + +- Compare package files in tar content list different mode (default): + +`pkgctl diff {{[-l|--list]}} {{path/to/file|pkgname}}` + +- Compare package files in diffoscope different mode: + +`pkgctl diff {{[-d|--diffoscope]}} {{path/to/file|pkgname}}` + +- Compare package files in `.PKGINFO` different mode: + +`pkgctl diff {{[-p|--pkginfo]}} {{path/to/file|pkgname}}` + +- Compare package files in `.BUILDINFO` different mode: + +`pkgctl diff {{[-b|--buildinfo]}} {{path/to/file|pkgname}}` diff --git a/pages/linux/pkgctl-release.md b/pages/linux/pkgctl-release.md new file mode 100644 index 00000000000000..33b84452040d52 --- /dev/null +++ b/pages/linux/pkgctl-release.md @@ -0,0 +1,8 @@ +# pkgctl release + +> Release step to commit, tag and upload build artifacts. +> More information: . + +- Release a build artifact: + +`pkgctl release --repo {{repository}} --message {{commit_message}}` diff --git a/pages/linux/pkgctl-repo.md b/pages/linux/pkgctl-repo.md new file mode 100644 index 00000000000000..a23e8b2e07f7a9 --- /dev/null +++ b/pages/linux/pkgctl-repo.md @@ -0,0 +1,25 @@ +# pkgctl repo + +> Manage Git packaging repositories and their configuration for Arch Linux. +> See also: `pkgctl`. +> More information: . + +- Clone a package repository (requires setting an SSH key in your Arch Linux GitLab account): + +`pkgctl repo clone {{pkgname}}` + +- Clone a package repository over HTTPS: + +`pkgctl repo clone --protocol https {{pkgname}}` + +- Create a new GitLab package repository and clone it after creation (requires valid GitLab API authentication): + +`pkgctl repo create {{pkgbase}}` + +- Switch a package repository to a specified version: + +`pkgctl repo switch {{version}} {{pkgbase}}` + +- Open a package repository's website: + +`pkgctl repo web {{pkgbase}}` diff --git a/pages/linux/pkgctl.md b/pages/linux/pkgctl.md new file mode 100644 index 00000000000000..c2643422d5deaf --- /dev/null +++ b/pages/linux/pkgctl.md @@ -0,0 +1,32 @@ +# pkgctl + +> Unified command-line frontend for Arch Linux devtools. +> More information: . + +- View documentation for authenticating `pkgctl` with services like GitLab: + +`tldr pkgctl auth` + +- View documentation for building packages inside a clean `chroot`: + +`tldr pkgctl build` + +- View documentation for updating the binary repository as final release step: + +`tldr pkgctl db update` + +- View documentation for comparing package files using different modes: + +`tldr pkgctl diff` + +- View documentation for releasing build artifacts: + +`tldr pkgctl release` + +- View documentation for managing Git packaging repositories and their configuration: + +`tldr pkgctl repo` + +- Display version: + +`pkgctl version` diff --git a/pages/linux/pkgfile.md b/pages/linux/pkgfile.md new file mode 100644 index 00000000000000..ac41d41f575ee4 --- /dev/null +++ b/pages/linux/pkgfile.md @@ -0,0 +1,37 @@ +# pkgfile + +> Search files from packages in the official repositories on Arch-based systems. +> See also: `pacman files` describing the usage of `pacman --files`. +> More information: . + +- Synchronize the pkgfile database: + +`sudo pkgfile --update` + +- Search for a package that owns a specific file: + +`pkgfile {{filename}}` + +- List all files provided by a package: + +`pkgfile --list {{package}}` + +- List executables provided by a package: + +`pkgfile --list --binaries {{package}}` + +- Search for a package that owns a specific file using case-insensitive matching: + +`pkgfile --ignorecase {{filename}}` + +- Search for a package that owns a specific file in the `bin` or `sbin` directory: + +`pkgfile --binaries {{filename}}` + +- Search for a package that owns a specific file, displaying the package version: + +`pkgfile --verbose {{filename}}` + +- Search for a package that owns a specific file in a specific repository: + +`pkgfile --repo {{repository_name}} {{filename}}` diff --git a/pages/linux/pkginfo.md b/pages/linux/pkginfo.md index 567aefbaa4fdce..026f96885bdd55 100644 --- a/pages/linux/pkginfo.md +++ b/pages/linux/pkginfo.md @@ -1,19 +1,20 @@ # pkginfo > Query the package database on a CRUX system. +> More information: . - List installed packages and their versions: -`pkginfo -i` +`pkginfo {{[-i|--installed]}}` - List files owned by a package: -`pkginfo -l {{package_name}}` +`pkginfo {{[-l|--list]}} {{package}}` - List the owner(s) of files matching a pattern: -`pkginfo -o {{pattern}}` +`pkginfo {{[-o|--owner]}} {{pattern}}` - Print the footprint of a file: -`pkginfo -f {{file}}` +`pkginfo -f {{path/to/file}}` diff --git a/pages/linux/pkgmk.md b/pages/linux/pkgmk.md index 3f9ea5f588f22a..087f8b638f4d8f 100644 --- a/pages/linux/pkgmk.md +++ b/pages/linux/pkgmk.md @@ -1,6 +1,7 @@ # pkgmk > Make a binary package for use with pkgadd on CRUX. +> More information: . - Make and download a package: diff --git a/pages/linux/pkgrm.md b/pages/linux/pkgrm.md index c197400343f7f3..24852bbcc1108e 100644 --- a/pages/linux/pkgrm.md +++ b/pages/linux/pkgrm.md @@ -1,7 +1,8 @@ # pkgrm > Remove a package from a CRUX system. +> More information: . - Remove an installed package: -`pkgrm {{package_name}}` +`pkgrm {{package}}` diff --git a/pages/linux/plasma-apply-colorscheme.md b/pages/linux/plasma-apply-colorscheme.md new file mode 100644 index 00000000000000..53d5819644fd6a --- /dev/null +++ b/pages/linux/plasma-apply-colorscheme.md @@ -0,0 +1,16 @@ +# plasma-apply-colorscheme + +> Switch Plasma color scheme. +> More information: . + +- List available color schemes: + +`plasma-apply-colorscheme --list-schemes` + +- Apply a color scheme: + +`plasma-apply-colorscheme {{BreezeLight}}` + +- Display help: + +`plasma-apply-colorscheme --help` diff --git a/pages/linux/plasma-apply-cursortheme.md b/pages/linux/plasma-apply-cursortheme.md new file mode 100644 index 00000000000000..7f6225f2920b59 --- /dev/null +++ b/pages/linux/plasma-apply-cursortheme.md @@ -0,0 +1,16 @@ +# plasma-apply-cursortheme + +> Switch Plasma cursor theme. +> More information: . + +- List available cursor themes: + +`plasma-apply-cursortheme --list-themes` + +- Apply a cursor theme: + +`plasma-apply-cursortheme {{breeze_cursors}}` + +- Display help: + +`plasma-apply-cursortheme --help` diff --git a/pages/linux/plasma-apply-desktoptheme.md b/pages/linux/plasma-apply-desktoptheme.md new file mode 100644 index 00000000000000..0fcb83e6d7e063 --- /dev/null +++ b/pages/linux/plasma-apply-desktoptheme.md @@ -0,0 +1,16 @@ +# plasma-apply-desktoptheme + +> Switch Plasma desktop theme. +> More information: . + +- List available desktop themes: + +`plasma-apply-desktoptheme --list-themes` + +- Apply a desktop theme: + +`plasma-apply-desktoptheme {{default}}` + +- Display help: + +`plasma-apply-desktoptheme --help` diff --git a/pages/linux/plasma-apply-lookandfeel.md b/pages/linux/plasma-apply-lookandfeel.md new file mode 100644 index 00000000000000..0542353bc15d87 --- /dev/null +++ b/pages/linux/plasma-apply-lookandfeel.md @@ -0,0 +1,20 @@ +# plasma-apply-lookandfeel + +> Switch Plasma global themes. +> More information: . + +- List available global themes: + +`plasma-apply-lookandfeel --list` + +- Apply a global theme: + +`plasma-apply-lookandfeel --apply {{org.example.theme.desktop}}` + +- Operate `plasma-apply-lookandfeel` without a display server: + +`plasma-apply-lookandfeel --platform offscreen` + +- Display help: + +`plasma-apply-lookandfeel --help` diff --git a/pages/linux/plasma-apply-wallpaperimage.md b/pages/linux/plasma-apply-wallpaperimage.md new file mode 100644 index 00000000000000..3edc25708b5047 --- /dev/null +++ b/pages/linux/plasma-apply-wallpaperimage.md @@ -0,0 +1,16 @@ +# plasma-apply-wallpaperimage + +> Switch Plasma wallpaper. +> More information: . + +- Apply a wallpaper: + +`plasma-apply-wallpaperimage /{{path/to/image}}` + +- Apply a wallpaper with a fill mode: + +`plasma-apply-wallpaperimage --fill-mode {{stretch|preserveAspectFit|preserveAspectCrop|tile|tileVertically|tileHorizontally|pad}} /{{path/to/image}}` + +- Display help: + +`plasma-apply-wallpaperimage --help` diff --git a/pages/linux/plasmashell.md b/pages/linux/plasmashell.md new file mode 100644 index 00000000000000..b43e13956bf29e --- /dev/null +++ b/pages/linux/plasmashell.md @@ -0,0 +1,20 @@ +# plasmashell + +> Start and restart Plasma Desktop. +> More information: . + +- Restart `plasmashell`: + +`systemctl restart --user plasma-plasmashell` + +- Restart `plasmashell` without systemd: + +`plasmashell --replace & disown` + +- Display help: + +`plasmashell {{[-h|--help]}}` + +- Display help, including Qt options: + +`plasmashell --help-all` diff --git a/pages/linux/playerctl.md b/pages/linux/playerctl.md index 28f058cd1f67b3..b59069b746e188 100644 --- a/pages/linux/playerctl.md +++ b/pages/linux/playerctl.md @@ -1,32 +1,32 @@ # playerctl -> Utility to control different media players. +> Control media players via MPRIS. > More information: . - Toggle play: `playerctl play-pause` -- Next media: +- Skip to the next track: `playerctl next` -- Previous media: +- Go back to the previous track: `playerctl previous` - List all players: -`playerctl --list-all` +`playerctl {{[-l|--list-all]}}` - Send a command to a specific player: -`playerctl --player={{player_name}} {{command}}` +`playerctl {{[-p|--player]}} {{player_name}} {{play-pause|next|previous|...}}` - Send a command to all players: -`playerctl --all-players {{command}}` +`playerctl {{[-a|--all-players]}} {{play-pause|next|previous|...}}` -- Show now playing: +- Display metadata about the current track: -`playerctl metadata --format "Now playing: {{artist}} - {{album}} - {{title}}"` +`playerctl metadata {{[-f|--format]}} "{{Now playing: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"` diff --git a/pages/linux/pluma.md b/pages/linux/pluma.md new file mode 100644 index 00000000000000..dedcfad2dd4969 --- /dev/null +++ b/pages/linux/pluma.md @@ -0,0 +1,24 @@ +# pluma + +> Edit files in MATE desktop environment. +> More information: . + +- Start the editor: + +`pluma` + +- Open specific documents: + +`pluma {{path/to/file1 path/to/file2 ...}}` + +- Open documents using a specific encoding: + +`pluma --encoding {{WINDOWS-1252}} {{path/to/file1 path/to/file2 ...}}` + +- Print all supported encodings: + +`pluma --list-encodings` + +- Open document and go to a specific line: + +`pluma +{{10}} {{path/to/file}}` diff --git a/pages/linux/pmap.md b/pages/linux/pmap.md new file mode 100644 index 00000000000000..44579bf24e5030 --- /dev/null +++ b/pages/linux/pmap.md @@ -0,0 +1,24 @@ +# pmap + +> Report memory map of a process or processes. +> More information: . + +- Print memory map for a specific process ID (PID): + +`pmap {{pid}}` + +- Show the extended format: + +`pmap --extended {{pid}}` + +- Show the device format: + +`pmap --device {{pid}}` + +- Limit results to a memory address range specified by `low` and `high`: + +`pmap --range {{low}},{{high}}` + +- Print memory maps for multiple processes: + +`pmap {{pid1 pid2 ...}}` diff --git a/pages/linux/pmount.md b/pages/linux/pmount.md index b137d64708d159..c6f995f32b5102 100644 --- a/pages/linux/pmount.md +++ b/pages/linux/pmount.md @@ -1,7 +1,7 @@ # pmount > Mount arbitrary hotpluggable devices as a normal user. -> More information: . +> More information: . - Mount a device below `/media/` (using device as mount point): @@ -9,15 +9,15 @@ - Mount a device with a specific filesystem type to `/media/label`: -`pmount --type {{filesystem}} {{/dev/to/block/device}} {{label}}` +`pmount {{[-t|--type]}} {{filesystem}} {{/dev/to/block/device}} {{label}}` - Mount a CD-ROM (filesystem type ISO9660) in read-only mode: -`pmount --type {{iso9660}} --read-only {{/dev/cdrom}}` +`pmount {{[-t|--type]}} iso9660 {{[-r|--read-only]}} {{/dev/cdrom}}` - Mount an NTFS-formatted disk, forcing read-write access: -`pmount --type {{ntfs}} --read-write {{/dev/sdX}}` +`pmount {{[-t|--type]}} ntfs {{[-w|--read-write]}} {{/dev/sdX}}` - Display all mounted removable devices: diff --git a/pages/linux/po4a-gettextize.md b/pages/linux/po4a-gettextize.md new file mode 100644 index 00000000000000..c71176449c1097 --- /dev/null +++ b/pages/linux/po4a-gettextize.md @@ -0,0 +1,16 @@ +# po4a-gettextize + +> Convert a file to a PO file. +> More information: . + +- Convert a text file to PO file: + +`po4a-gettextize --format {{text}} --master {{path/to/master.txt}} --po {{path/to/result.po}}` + +- List all available formats: + +`po4a-gettextize --help-format` + +- Convert a text file along with a translated document to a PO file (`-l` option can be provided multiple times): + +`po4a-gettextize --format {{text}} --master {{path/to/master.txt}} --localized {{path/to/translated.txt}} --po {{path/to/result.po}}` diff --git a/pages/linux/po4a-translate.md b/pages/linux/po4a-translate.md new file mode 100644 index 00000000000000..74416edc4b11fa --- /dev/null +++ b/pages/linux/po4a-translate.md @@ -0,0 +1,13 @@ +# po4a-translate + +> Convert a PO file back to documentation format. +> The provided PO file should be the translation of the POT file which was produced by `po4a-gettextize`. +> More information: . + +- Convert a translated PO file back to a document: + +`po4a-translate --format {{text}} --master {{path/to/master.doc}} --po {{path/to/result.po}} --localized {{path/to/translated.txt}}` + +- List all available formats: + +`po4a-translate --help-format` diff --git a/pages/linux/po4a-updatepo.md b/pages/linux/po4a-updatepo.md new file mode 100644 index 00000000000000..180ceffe6341b0 --- /dev/null +++ b/pages/linux/po4a-updatepo.md @@ -0,0 +1,16 @@ +# po4a-updatepo + +> Update the translation (in PO format) of a documentation. +> More information: . + +- Update a PO file according to the modification of its origin file: + +`po4a-updatepo --format {{text}} --master {{path/to/master.txt}} --po {{path/to/result.po}}` + +- List available formats: + +`po4a-updatepo --help-format` + +- Update several PO files according to the modification of their origin file: + +`po4a-updatepo --format {{text}} --master {{path/to/master.txt}} --po {{path/to/po1.po}} --po {{path/to/po2.po}}` diff --git a/pages/linux/po4a.md b/pages/linux/po4a.md new file mode 100644 index 00000000000000..16ab9fc73aa9d5 --- /dev/null +++ b/pages/linux/po4a.md @@ -0,0 +1,8 @@ +# po4a + +> Update both PO files and translated documents. +> More information: . + +- Update PO files and documents according to the specified configuration file: + +`po4a {{path/to/config_file}}` diff --git a/pages/linux/pokego.md b/pages/linux/pokego.md new file mode 100644 index 00000000000000..6c64a4ab154269 --- /dev/null +++ b/pages/linux/pokego.md @@ -0,0 +1,25 @@ +# pokego + +> Display Pokémon sprites in color directly in your terminal. +> Inspired by Phoney badger's `pokemon-colorscripts` but offers enhanced speed and efficiency. +> More information: . + +- Print a specific Pokémon: + +`pokego --name charizard` + +- Print a specific shiny Pokémon: + +`pokego --name spheal -shiny` + +- Print an alternative form of a Pokémon: + +`pokego --name blastoise --form mega` + +- Print random Pokémon from generations 1-3 (range): + +`pokego --random 1-3` + +- Do not display Pokémon name (default: false): + +`pokego --random 1-3 --no-title` diff --git a/pages/linux/popd.md b/pages/linux/popd.md deleted file mode 100644 index 34576cbe7c1429..00000000000000 --- a/pages/linux/popd.md +++ /dev/null @@ -1,15 +0,0 @@ -# popd - -> Remove a directory placed on the directory stack by the `pushd` command. - -- Remove the top directory from the stack and cd to it: - -`popd` - -- Remove the Nth directory (starting from zero to the left from the list printed with `dirs`): - -`popd +N` - -- Remove the Nth directory (starting from zero to the right from the list printed with `dirs`): - -`popd -N` diff --git a/pages/linux/portablectl.md b/pages/linux/portablectl.md new file mode 100644 index 00000000000000..952842b272e414 --- /dev/null +++ b/pages/linux/portablectl.md @@ -0,0 +1,24 @@ +# portablectl + +> A systemd utility for managing and deploying portable service images on Linux systems. +> More information: . + +- List available portable service images discovered in the portable image search paths: + +`portablectl list` + +- Attach a portable service image to the host system: + +`portablectl attach {{path/to/image}}` + +- Detach a portable service image from the host system: + +`portablectl detach {{path/to/image|image_name}}` + +- Display details and metadata about a specified portable service image: + +`portablectl inspect {{path/to/image}}` + +- Check if a portable service image is attached to the host system: + +`portablectl is-attached {{path/to/image|image_name}}` diff --git a/pages/linux/portageq.md b/pages/linux/portageq.md new file mode 100644 index 00000000000000..c4a1473664b20a --- /dev/null +++ b/pages/linux/portageq.md @@ -0,0 +1,21 @@ +# portageq + +> Query for information about Portage, the Gentoo Linux package manager. +> Queryable Portage-specific environment variables are listed in `/var/db/repos/gentoo/profiles/info_vars`. +> More information: . + +- Display the value of a Portage-specific environment variable: + +`portageq envvar {{variable}}` + +- Display a detailed list of repositories configured with Portage: + +`portageq repos_config /` + +- Display a list of repositories sorted by priority (highest first): + +`portageq get_repos /` + +- Display a specific piece of metadata about an atom (i.e. package name including the version): + +`portageq metadata / {{ebuild|porttree|binary|...}} {{category}}/{{package}} {{BDEPEND|DEFINED_PHASES|DEPEND|...}}` diff --git a/pages/linux/ports.md b/pages/linux/ports.md index 97372e95f1ce26..669e9b33827939 100644 --- a/pages/linux/ports.md +++ b/pages/linux/ports.md @@ -1,6 +1,7 @@ # ports > Update/list the ports tree on a CRUX system. +> More information: . - Update the ports tree: diff --git a/pages/linux/postconf.md b/pages/linux/postconf.md new file mode 100644 index 00000000000000..ae03290648ee01 --- /dev/null +++ b/pages/linux/postconf.md @@ -0,0 +1,29 @@ +# postconf + +> Postfix configuration utility. +> This command displays the values of the `main.cf` configuration parameters by default and warns about possible mistyped parameter names. It can also change the `main.cf` configuration parameter values. +> More information: . + +- Specify the directory of the `main.cf` configuration file instead of the default configuration directory: + +`postconf -c {{path/to/configuration_directory}}` + +- Edit the `main.cf` configuration file and update parameter settings with the "name=value" pairs: + +`postconf -e` + +- Print the default parameter settings of the `main.cf` instead of the actual settings: + +`postconf -d` + +- Display parameters only from the specified class. The class can be one of builtin, service, user or all: + +`postconf -C {{class}}` + +- List available SASL plug-in types for the Postfix SMTP server. The plug-in type is selected with the `smtpd_sasl_type` configuration parameter by specifying `cyrus` or `dovecot` as the name: + +`postconf -a` + +- List the names of all supported lookup table types. Lookup tables are specified as `type:name` in configuration files where the type can be `btree`, `cdb`, `hash`, `mysql`, etc: + +`postconf -m` diff --git a/pages/linux/postfix.md b/pages/linux/postfix.md index fb77f5466ba7cc..56a55fab34231d 100644 --- a/pages/linux/postfix.md +++ b/pages/linux/postfix.md @@ -1,8 +1,8 @@ # postfix > Postfix mail transfer agent (MTA) control program. -> See also `dovecot`, a mail delivery agent (MDA) that integrates with Postfix. -> More information: . +> See also: `dovecot`, a mail delivery agent (MDA) that integrates with Postfix. +> More information: . - Check the configuration: diff --git a/pages/linux/poweroff.md b/pages/linux/poweroff.md index 370a38128a314f..882c441a429076 100644 --- a/pages/linux/poweroff.md +++ b/pages/linux/poweroff.md @@ -1,7 +1,24 @@ # poweroff -> Shutdown the system. +> Power off the system. +> More information: . -- Poweroff the system: +- Power off the system: -`sudo poweroff` +`poweroff` + +- Halt the system (same as `halt`): + +`poweroff --halt` + +- Reboot the system (same as `reboot`): + +`poweroff --reboot` + +- Shut down immediately without contacting the system manager: + +`poweroff {{[-f|--force]}}` + +- Write the wtmp shutdown entry without shutting down the system: + +`poweroff {{[-w|--wtmp-only]}}` diff --git a/pages/linux/powerprofilesctl.md b/pages/linux/powerprofilesctl.md new file mode 100644 index 00000000000000..a3465d6825038c --- /dev/null +++ b/pages/linux/powerprofilesctl.md @@ -0,0 +1,12 @@ +# powerprofilesctl + +> Make power profiles handling available over D-Bus. +> More information: . + +- List available power profiles: + +`powerprofilesctl list` + +- Set a specific power profile: + +`powerprofilesctl set {{profile_name}}` diff --git a/pages/linux/powerstat.md b/pages/linux/powerstat.md new file mode 100644 index 00000000000000..9a20e84b1cdbb8 --- /dev/null +++ b/pages/linux/powerstat.md @@ -0,0 +1,24 @@ +# powerstat + +> Measures the power consumption of a computer that has a battery power source or supports the RAPL interface. +> More information: . + +- Measure power with the default of 10 samples with an interval of 10 seconds: + +`powerstat` + +- Measure power with custom number of samples and interval duration: + +`powerstat {{interval}} {{number_of_samples}}` + +- Measure power using Intel's RAPL interface: + +`powerstat -R {{interval}} {{number_of_samples}}` + +- Show a histogram of the power measurements: + +`powerstat -H {{interval}} {{number_of_samples}}` + +- Enable all statistics gathering options: + +`powerstat -a {{interval}} {{number_of_samples}}` diff --git a/pages/linux/powertop.md b/pages/linux/powertop.md index c3abe7cfe2cc25..0d5757fbff718a 100644 --- a/pages/linux/powertop.md +++ b/pages/linux/powertop.md @@ -1,6 +1,7 @@ # powertop > Optimize battery power usage. +> More information: . - Calibrate power usage measurements: @@ -13,3 +14,7 @@ - Tune to optimal settings: `sudo powertop --auto-tune` + +- Generate a report for a specified number of seconds (instead of 20 by default): + +`sudo powertop --time={{5}}` diff --git a/pages/linux/prename.md b/pages/linux/prename.md deleted file mode 100644 index fbe5bc2dd8b861..00000000000000 --- a/pages/linux/prename.md +++ /dev/null @@ -1,24 +0,0 @@ -# rename - -> Rename multiple files. -> NOTE: this page refers to the command from the `prename` Fedora package. - -- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found): - -`rename {{'s/foo/bar/'}} {{*}}` - -- Dry-run - display which renames would occur without performing them: - -`rename -n {{'s/foo/bar/'}} {{*}}` - -- Force renaming even if the operation would remove existing destination files: - -`rename -f {{'s/foo/bar/'}} {{*}}` - -- Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent "already exists" errors): - -`rename 'y/A-Z/a-z/' {{*}}` - -- Replace whitespace with underscores: - -`rename 's/\s+/_/g' {{*}}` diff --git a/pages/linux/pridecat.md b/pages/linux/pridecat.md new file mode 100644 index 00000000000000..f1b573ef85fb22 --- /dev/null +++ b/pages/linux/pridecat.md @@ -0,0 +1,24 @@ +# pridecat + +> Like cat but more colorful. +> More information: . + +- Print the contents of a file in pride colors to `stdout`: + +`pridecat {{path/to/file}}` + +- Print contents of a file in trans colors: + +`pridecat {{path/to/file}} {{[--trans|--transgender]}}` + +- Alternate between lesbian and bisexual pride flags: + +`pridecat {{path/to/file}} --lesbian {{[--bi|--bisexual]}}` + +- Print contents of a file with the background colors changed: + +`pridecat {{path/to/file}} {{[-b|--background]}}` + +- List directory contents in pride flag colors: + +`ls | pridecat --{{flag}}` diff --git a/pages/linux/prime-run.md b/pages/linux/prime-run.md new file mode 100644 index 00000000000000..98e11a6e1822a0 --- /dev/null +++ b/pages/linux/prime-run.md @@ -0,0 +1,12 @@ +# prime-run + +> Run a program using an alternative Nvidia graphics card. +> More information: . + +- Run a program using a dedicated Nvidia GPU: + +`prime-run {{command}}` + +- Validate whether the Nvidia card is being used: + +`prime-run glxinfo | grep "OpenGL renderer"` diff --git a/pages/linux/print.md b/pages/linux/print.md deleted file mode 100644 index d96d7fbb815354..00000000000000 --- a/pages/linux/print.md +++ /dev/null @@ -1,12 +0,0 @@ -# print - -> An alias to a `run-mailcap`'s action print. -> Originally `run-mailcap` is used to process mime-type/file. - -- Print action can be used to print any file on default run-mailcap tool: - -`print {{filename}}` - -- With `run-mailcap`: - -`run-mailcap --action=print {{filename}}` diff --git a/pages/linux/print.runmailcap.md b/pages/linux/print.runmailcap.md new file mode 100644 index 00000000000000..fe81b8c392524d --- /dev/null +++ b/pages/linux/print.runmailcap.md @@ -0,0 +1,13 @@ +# print + +> An alias to a `run-mailcap`'s action print. +> Originally `run-mailcap` is used to process mime-type/file. +> More information: . + +- Print action can be used to print any file on default run-mailcap tool: + +`print {{filename}}` + +- With `run-mailcap`: + +`run-mailcap --action=print {{filename}}` diff --git a/pages/linux/prlimit.md b/pages/linux/prlimit.md new file mode 100644 index 00000000000000..729e8f4504acaa --- /dev/null +++ b/pages/linux/prlimit.md @@ -0,0 +1,17 @@ +# prlimit + +> Get or set process resource soft and hard limits. +> Given a process ID and one or more resources, prlimit tries to retrieve and/or modify the limits. +> More information: . + +- Display limit values for all current resources for the running parent process: + +`prlimit` + +- Display limit values for all current resources of a specified process: + +`prlimit {{[-p|--pid]}} {{pid_number}}` + +- Run a command with a custom number of open files limit: + +`prlimit {{[-n|--nofile=]}}{{10}} {{command}}` diff --git a/pages/linux/pro.md b/pages/linux/pro.md new file mode 100644 index 00000000000000..2ba68cd75cfef0 --- /dev/null +++ b/pages/linux/pro.md @@ -0,0 +1,28 @@ +# pro + +> Manage Ubuntu Pro services. +> More information: . + +- Connect your system to the Ubuntu Pro support contract: + +`sudo pro attach` + +- Display the status of Ubuntu Pro services: + +`pro status` + +- Check if the system is affected by a specific vulnerability (and apply a fix if possible): + +`pro fix {{CVE-number}}` + +- Display the number of unsupported packages: + +`pro security-status` + +- List packages that are no longer available for download: + +`pro security-status --unavailable` + +- List third-party packages: + +`pro security-status --thirdparty` diff --git a/pages/linux/proctl.md b/pages/linux/proctl.md new file mode 100644 index 00000000000000..3d9c1108515097 --- /dev/null +++ b/pages/linux/proctl.md @@ -0,0 +1,36 @@ +# proctl + +> Manage projects licenses and languages, switch between templated licenses. +> More information: . + +- List available licenses: + +`proctl {{[-ll|-list-licenses]}}` + +- List available languages: + +`proctl {{[-lL|-list-languages]}}` + +- Pick a license in a FZF menu: + +`proctl {{[-pl|-pick-license]}}` + +- Pick a language in a FZF menu: + +`proctl {{[-pL|-pick-language]}}` + +- Remove all licenses from the current project: + +`proctl {{[-r|-remove-license]}}` + +- Create a new license template: + +`proctl {{[-t|-new-template]}}` + +- Delete a license from templates: + +`proctl {{[-R|-delete-license]}} {{@license_name1 @license_name2 ...}}` + +- Display help: + +`proctl {{[-h|-help]}}` diff --git a/pages/linux/progress.md b/pages/linux/progress.md deleted file mode 100644 index d62b4d432926d0..00000000000000 --- a/pages/linux/progress.md +++ /dev/null @@ -1,16 +0,0 @@ -# progress - -> Display/Monitor the progress of running coreutils. -> More information: . - -- Show the progress of running coreutils: - -`progress` - -- Show the progress of running coreutils in quiet mode: - -`progress -q` - -- Launch and monitor a single long-running command: - -`{{command}} & progress -mp $!` diff --git a/pages/linux/protontricks.md b/pages/linux/protontricks.md index d2bb594681804a..2aa90fcc6a345d 100644 --- a/pages/linux/protontricks.md +++ b/pages/linux/protontricks.md @@ -1,20 +1,32 @@ # protontricks -> A simple wrapper that does winetricks things for Proton enabled games, requires Winetricks. +> A simple wrapper that runs Winetricks commands for Proton enabled games. > More information: . -- Show the protontricks help message: - -`protontricks` - - Run the protontricks GUI: `protontricks --gui` -- Run winetricks for a specific game: +- Run Winetricks for a specific game: `protontricks {{appid}} {{winetricks_args}}` -- Run a command within a games installation directory: +- Run a command within a game's installation directory: `protontricks -c {{command}} {{appid}}` + +- [l]ist all installed games: + +`protontricks -l` + +- [s]earch for a game's App ID by name: + +`protontricks -s {{game_name}}` + +- Run an executable in the proton environment of a specific game: + +`protontricks-launch --appid {{appid}} {{path/to/executable.exe}}` + +- Display help: + +`protontricks --help` diff --git a/pages/linux/protonvpn-connect.md b/pages/linux/protonvpn-connect.md new file mode 100644 index 00000000000000..e8f56d8865f929 --- /dev/null +++ b/pages/linux/protonvpn-connect.md @@ -0,0 +1,28 @@ +# protonvpn connect + +> Connect to ProtonVPN. +> More information: . + +- Connect to ProtonVPN interactively: + +`protonvpn {{[c|connect]}}` + +- Connect to ProtonVPN using the fastest server available: + +`protonvpn {{[c|connect]}} {{[-f|--fastest]}}` + +- Connect to ProtonVPN using a specific server with a specific protocol: + +`protonvpn {{[c|connect]}} {{server_name}} -p {{udp|tcp}}` + +- Connect to ProtonVPN using a random server with a specific protocol: + +`protonvpn {{[c|connect]}} {{[-r|--random]}} -p {{udp|tcp}}` + +- Connect to ProtonVPN using the fastest Tor-supporting server: + +`protonvpn {{[c|connect]}} --tor` + +- Display help: + +`protonvpn {{[c|connect]}} --help` diff --git a/pages/linux/protonvpn.md b/pages/linux/protonvpn.md new file mode 100644 index 00000000000000..5f188510e4ecc5 --- /dev/null +++ b/pages/linux/protonvpn.md @@ -0,0 +1,33 @@ +# protonvpn + +> Unofficial third-party ProtonVPN client. +> See also: `protonvpn-connect`. +> More information: . + +- Initialize ProtonVPN profile: + +`protonvpn init` + +- Connect to ProtonVPN interactively: + +`protonvpn {{c|connect}}` + +- Display connection status: + +`protonvpn {{s|status}}` + +- Disconnect from ProtonVPN: + +`protonvpn {{d|disconnect}}` + +- Reconnect or connect to the last server used: + +`protonvpn {{r|reconnect}}` + +- Refresh OpenVPN configuration and server data: + +`protonvpn refresh` + +- Display help for a subcommand: + +`protonvpn {{subcommand}} --help` diff --git a/pages/linux/prt-get.md b/pages/linux/prt-get.md index c522fe462c2cfa..879e0104abf3f0 100644 --- a/pages/linux/prt-get.md +++ b/pages/linux/prt-get.md @@ -1,22 +1,23 @@ # prt-get > The CRUX package manager. +> More information: . - Install a package: -`prt-get install {{package_name}}` +`prt-get install {{package}}` - Install a package with dependency handling: -`prt-get depinst {{package_name}}` +`prt-get depinst {{package}}` - Update a package manually: -`prt-get upgrade {{package_name}}` +`prt-get upgrade {{package}}` - Remove a package: -`prt-get remove {{package_name}}` +`prt-get remove {{package}}` - Upgrade the system from the local ports tree: @@ -24,7 +25,7 @@ - Search the ports tree: -`prt-get search {{package_name}}` +`prt-get search {{query}}` - Search for a file in a package: diff --git a/pages/linux/pstoedit.md b/pages/linux/pstoedit.md new file mode 100644 index 00000000000000..8a178b1cdef3fa --- /dev/null +++ b/pages/linux/pstoedit.md @@ -0,0 +1,12 @@ +# pstoedit + +> Convert PDF files into various image formats. +> More information: . + +- Convert a PDF page to PNG or JPEG format: + +`pstoedit -page {{page_number}} -f magick {{path/to/file.pdf}} {{page.png|page.jpg}}` + +- Convert multiple PDF pages to numbered images: + +`pstoedit -f magick {{path/to/file}} {{page%d.png|page%d.jpg}}` diff --git a/pages/linux/pstree.md b/pages/linux/pstree.md index ad5ef346b9e8fc..f52b17253c48bb 100644 --- a/pages/linux/pstree.md +++ b/pages/linux/pstree.md @@ -1,15 +1,28 @@ # pstree > A convenient tool to show running processes as a tree. +> More information: . -- Display a tree of processes: +- Display a tree of all processes (rooted at init): `pstree` - Display a tree of processes with PIDs: -`pstree -p` +`pstree {{[-p|--show-pids]}}` - Display all process trees rooted at processes owned by specified user: `pstree {{user}}` + +- Display command line arguments: + +`pstree {{[-a|--arguments]}}` + +- Display children of a specified process: + +`pstree {{pid}}` + +- Display parents of a specified process: + +`pstree {{[-s|--show-parents]}} {{pid}}` diff --git a/pages/linux/ptx.md b/pages/linux/ptx.md index 37664f10db7b7d..9e5d5e28981e66 100644 --- a/pages/linux/ptx.md +++ b/pages/linux/ptx.md @@ -1,23 +1,24 @@ # ptx -> Generate a permuted index of words from one or more text files. +> Generate a permuted index of words from text files. +> More information: . - Generate a permuted index where the first field of each line is an index reference: -`ptx --references {{path/to/file}}` +`ptx {{[-r|--references]}} {{path/to/file}}` - Generate a permuted index with automatically generated index references: -`ptx --auto-reference {{path/to/file}}` +`ptx {{[-A|--auto-reference]}} {{path/to/file}}` - Generate a permuted index with a fixed width: -`ptx --width={{width_in_columns}} {{path/to/file}}` +`ptx {{[-w|--width]}} {{width_in_columns}} {{path/to/file}}` - Generate a permuted index with a list of filtered words: -`ptx --only-file={{path/to/filter}} {{path/to/file}}` +`ptx {{[-o|--only-file]}} {{path/to/filter}} {{path/to/file}}` - Generate a permuted index with SYSV-style behaviors: -`ptx --traditional {{path/to/file}}` +`ptx {{[-G|--traditional]}} {{path/to/file}}` diff --git a/pages/linux/ptyxis.md b/pages/linux/ptyxis.md new file mode 100644 index 00000000000000..e0818ca16ca56e --- /dev/null +++ b/pages/linux/ptyxis.md @@ -0,0 +1,24 @@ +# ptyxis + +> A container-oriented terminal for GNOME. +> More information: . + +- Open a new Ptyxis window: + +`ptyxis --new-window` + +- Execute a specific command in a new terminal window: + +`ptyxis {{[-x|--execute]}} {{command}}` + +- Open new tab in the last opened window: + +`ptyxis --tab` + +- Set the title for a new: + +`ptyxis --tab {{[-T|--title]}} {{title}}` + +- Specify the working directory for a new tab, window, or command execution: + +`ptyxis {{[-d|--working-directory]}} {{path/to/directory}} --tab` diff --git a/pages/linux/pulseaudio-ctl.md b/pages/linux/pulseaudio-ctl.md new file mode 100644 index 00000000000000..dc4abcc994f3a3 --- /dev/null +++ b/pages/linux/pulseaudio-ctl.md @@ -0,0 +1,36 @@ +# pulseaudio-ctl + +> Control PulseAudio volume. +> More information: . + +- Increase volume by 5%: + +`pulseaudio-ctl up` + +- Increase volume by a specific amount: + +`pulseaudio-ctl up {{amount}}` + +- Decrease volume by 5%: + +`pulseaudio-ctl down` + +- Decrease volume by a specific amount: + +`pulseaudio-ctl down {{amount}}` + +- Set volume to a specific percentage: + +`pulseaudio-ctl set {{percentage}}` + +- Set volume to a specific percentage if the current volume is higher than the provided value: + +`pulseaudio-ctl atmost {{percentage}}` + +- Toggle mute: + +`pulseaudio-ctl mute` + +- Toggle microphone mute: + +`pulseaudio-ctl mute-input` diff --git a/pages/linux/pulseaudio.md b/pages/linux/pulseaudio.md index d048441affb043..55f78baf34c78d 100644 --- a/pages/linux/pulseaudio.md +++ b/pages/linux/pulseaudio.md @@ -1,18 +1,19 @@ # pulseaudio -> The pulseaudio sound system daemon and manager. +> The PulseAudio sound system daemon and manager. +> More information: . -- Check if pulseaudio is running (a non-zero exit code means it is not running): +- Check if PulseAudio is running (a non-zero exit code means it is not running): `pulseaudio --check` -- Start the pulseaudio daemon in the background: +- Start the PulseAudio daemon in the background: `pulseaudio --start` -- Kill the running pulseaudio daemon: +- Kill the running PulseAudio daemon: -`pulseaudio --kill` +`pulseaudio {{[-k|--kill]}}` - List available modules: @@ -20,4 +21,4 @@ - Load a module into the currently running daemon with the specified arguments: -`pulseaudio --load="{{module_name}} {{arguments}}"` +`pulseaudio {{[-L|--load]}} "{{module_name}} {{arguments}}"` diff --git a/pages/linux/pushd.md b/pages/linux/pushd.md deleted file mode 100644 index 56095473e6790f..00000000000000 --- a/pages/linux/pushd.md +++ /dev/null @@ -1,16 +0,0 @@ -# pushd - -> Place a directory on a stack so it can be accessed later. -> See also `popd` to switch back to original directory. - -- Switch to directory and push it on the stack: - -`pushd < {{directory}}` - -- Switch first and second directories on the stack: - -`pushd` - -- Rotate stack by making the 5th element the top of the stack: - -`pushd +4` diff --git a/pages/linux/pvchange.md b/pages/linux/pvchange.md new file mode 100644 index 00000000000000..cb2b2a558606da --- /dev/null +++ b/pages/linux/pvchange.md @@ -0,0 +1,32 @@ +# pvchange + +> Change attributes of physical volume(s). +> More information: . + +- Allow allocation on a physical volume: + +`pvchange {{[-x|--allocatable]}} y {{/dev/sdXN}}` + +- Disallow allocation on a physical volume: + +`pvchange {{[-x|--allocatable]}} n {{/dev/sdXN}}` + +- Ignore metadata areas on a physical volume: + +`pvchange --metadataignore y {{/dev/sdXN}}` + +- Stop ignoring metadata areas on a physical volume: + +`pvchange --metadataignore n {{/dev/sdXN}}` + +- Add a tag to a physical volume: + +`pvchange --addtag {{tag}} {{/dev/sdXN}}` + +- Generate a new UUID for a physical volume (use with care): + +`pvchange --uuid {{/dev/sdXN}}` + +- Change all visible physical volumes (combine with other options such as allocatable): + +`pvchange {{[-a|--all]}} {{[-x|--allocatable]}} y` diff --git a/pages/linux/pvcreate.md b/pages/linux/pvcreate.md index 2cccd9b90b464f..e16080dab99455 100644 --- a/pages/linux/pvcreate.md +++ b/pages/linux/pvcreate.md @@ -1,11 +1,13 @@ # pvcreate -> Initialize a physical volume (disk or partition) for use by the Logical Volume Manager (LVM). +> Initialize a disk or partition for use as a physical volume. +> See also: `lvm`. +> More information: . - Initialize the `/dev/sda1` volume for use by LVM: -`pvcreate {{/dev/sda1}}` +`pvcreate {{/dev/sdXY}}` - Force the creation without any confirmation prompts: -`pvcreate --force {{/dev/sda1}}` +`pvcreate {{[-f|--force]}} {{/dev/sdXY}}` diff --git a/pages/linux/pvdisplay.md b/pages/linux/pvdisplay.md new file mode 100644 index 00000000000000..aedf3db031ec3e --- /dev/null +++ b/pages/linux/pvdisplay.md @@ -0,0 +1,13 @@ +# pvdisplay + +> Display information about Logical Volume Manager (LVM) physical volumes. +> See also: `lvm`. +> More information: . + +- Display information about all physical volumes: + +`sudo pvdisplay` + +- Display information about the physical volume on drive `/dev/sdXY`: + +`sudo pvdisplay {{/dev/sdXY}}` diff --git a/pages/linux/pve-firewall.md b/pages/linux/pve-firewall.md new file mode 100644 index 00000000000000..170d73a20e1fd2 --- /dev/null +++ b/pages/linux/pve-firewall.md @@ -0,0 +1,32 @@ +# pve-firewall + +> Manage Proxmox VE Firewall. +> More information: . + +- Compile and print all firewall rules: + +`pve-firewall {{[c|compile]}}` + +- Show information about the local network: + +`pve-firewall {{[l|localnet]}}` + +- Restart the Proxmox VE Firewall service: + +`pve-firewall {{[r|restart]}}` + +- Start the Proxmox VE Firewall service: + +`pve-firewall start` + +- Stop the Proxmox VE Firewall service: + +`pve-firewall stop` + +- Simulate all firewall rules: + +`pve-firewall {{[si|simulate]}}` + +- Show the status of Proxmox VE Firewall: + +`pve-firewall status` diff --git a/pages/linux/pveam.md b/pages/linux/pveam.md new file mode 100644 index 00000000000000..2e6c235f7c997c --- /dev/null +++ b/pages/linux/pveam.md @@ -0,0 +1,28 @@ +# pveam + +> Manage LXC container templates. +> More information: . + +- Update container template database: + +`pveam {{[u|update]}}` + +- List available templates: + +`pveam {{[a|available]}}` + +- Download a template: + +`pveam {{[d|download]}} {{local}} {{template_name}}` + +- List downloaded templates: + +`pveam {{[l|list]}} {{local}}` + +- List available templates in a specific section: + +`pveam {{[a|available]}} --section {{system|turnkeylinux|mail}}` + +- Remove a template: + +`pveam {{[r|remove]}} {{local}}:{{vztmpl}}/{{template_name}}` diff --git a/pages/linux/pvecm.md b/pages/linux/pvecm.md new file mode 100644 index 00000000000000..310450fcaf7d43 --- /dev/null +++ b/pages/linux/pvecm.md @@ -0,0 +1,32 @@ +# pvecm + +> Proxmox VE Cluster Manager. +> More information: . + +- Add the current node to an existing cluster: + +`pvecm add {{hostname_or_ip}}` + +- Add a node to the cluster configuration (internal use): + +`pvecm {{[addn|addnode]}} {{node}}` + +- Display the version of the cluster join API available on this node: + +`pvecm {{[ap|apiver]}}` + +- Generate new cluster configuration: + +`pvecm {{[c|create]}} {{clustername}}` + +- Remove a node from the cluster configuration: + +`pvecm {{[d|delnode]}} {{node}}` + +- Display the local view of the cluster nodes: + +`pvecm {{[n|nodes]}}` + +- Display the local view of the cluster status: + +`pvecm {{[s|status]}}` diff --git a/pages/linux/pveperf.md b/pages/linux/pveperf.md new file mode 100644 index 00000000000000..4cd91e91fcca33 --- /dev/null +++ b/pages/linux/pveperf.md @@ -0,0 +1,8 @@ +# pveperf + +> A benchmarking tool in Proxmox Server. Gather CPU and hard disk performance data for the hard disk. +> More information: . + +- Show CPU and hard disk performance data for the hard disk mounted at `/`: + +`pveperf` diff --git a/pages/linux/pvesh.md b/pages/linux/pvesh.md new file mode 100644 index 00000000000000..28bcc7f633a0aa --- /dev/null +++ b/pages/linux/pvesh.md @@ -0,0 +1,20 @@ +# pvesh + +> Interface with the Proxmox VE API. +> More information: . + +- List available nodes: + +`pvesh {{[g|get]}} /nodes` + +- Display detailed information about containers or virtual machines: + +`pvesh {{[g|get]}} /nodes/{{node_name}}/{{lxc|qemu}}` + +- Discover API paths: + +`pvesh {{[l|ls]}} {{/}}` + +- Display API path usage instructions: + +`pvesh {{[u|usage]}} {{/pools}}` diff --git a/pages/linux/pvesm.md b/pages/linux/pvesm.md new file mode 100644 index 00000000000000..43389a82b9f20a --- /dev/null +++ b/pages/linux/pvesm.md @@ -0,0 +1,28 @@ +# pvesm + +> Manage Proxmox storage. +> More information: . + +- Get status for all datastores: + +`pvesm {{[st|status]}}` + +- List storage contents: + +`pvesm {{[l|list]}} {{storage_name}}` + +- Add a directory storage: + +`pvesm add {{[d|dir]}} {{storage_name}} --path {{path/to/directory}}` + +- Set a storage to contain specific content: + +`pvesm set {{storage_name}} --content {{iso,images,backup,vztmpl,...}}` + +- Delete a file from storage: + +`pvesm free {{local:iso/archlinux-2025.08.01-x86_64.iso}}` + +- Remove a storage: + +`pvesm {{[r|remove]}} {{storage_name}}` diff --git a/pages/linux/pveum.md b/pages/linux/pveum.md new file mode 100644 index 00000000000000..ffa903f9a31f30 --- /dev/null +++ b/pages/linux/pveum.md @@ -0,0 +1,16 @@ +# pveum + +> Manage proxmox users. +> More information: . + +- List users: + +`pveum {{[u|user]}} {{[l|list]}}` + +- Add a user: + +`pveum {{[u|user]}} {{[a|add]}} {{username}}@pve` + +- Delete a user: + +`pveum {{[u|user]}} {{[d|delete]}} {{username}}@pve` diff --git a/pages/linux/pveversion.md b/pages/linux/pveversion.md new file mode 100644 index 00000000000000..160b99cb433a0c --- /dev/null +++ b/pages/linux/pveversion.md @@ -0,0 +1,12 @@ +# pveversion + +> Proxmox VE version info. +> More information: . + +- Print system version: + +`pveversion` + +- Print Proxmox subpackage versions: + +`pveversion {{[-v|--verbose]}}` diff --git a/pages/linux/pvremove.md b/pages/linux/pvremove.md new file mode 100644 index 00000000000000..20421163c8e30a --- /dev/null +++ b/pages/linux/pvremove.md @@ -0,0 +1,24 @@ +# pvremove + +> Remove LVM labels from physical volume(s). +> More information: . + +- Remove a LVM label from a physical volume: + +`sudo pvremove {{/dev/sdXY}}` + +- Display detailed output during the operation: + +`sudo pvremove {{[-v|--verbose]}} {{/dev/sdXY}}` + +- Remove a LVM label without asking for confirmation: + +`sudo pvremove {{[-y|--yes]}} {{/dev/sdXY}}` + +- Forcefully remove a LVM label: + +`sudo pvremove {{[-f|--force]}} {{/dev/sdXY}}` + +- Display output in JSON format: + +`sudo pvremove --reportformat json {{/dev/sdXY}}` diff --git a/pages/linux/pvs.md b/pages/linux/pvs.md index d7a56d5520ed84..ef6a9978aec9b3 100644 --- a/pages/linux/pvs.md +++ b/pages/linux/pvs.md @@ -1,7 +1,8 @@ # pvs -> Display information about LVM physical volumes. -> More information: . +> Display information about physical volumes. +> See also: `lvm`. +> More information: . - Display information about physical volumes: @@ -9,19 +10,19 @@ - Display non-physical volumes: -`pvs -a` +`pvs {{[-a|--all]}}` - Change default display to show more details: -`pvs -v` +`pvs {{[-v|--verbose]}}` - Display only specific fields: -`pvs -o {{field_name_1}},{{field_name_2}}` +`pvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}` - Append field to default display: -`pvs -o +{{field_name}}` +`pvs {{[-o|--options]}} +{{field_name}}` - Suppress heading line: diff --git a/pages/linux/pvscan.md b/pages/linux/pvscan.md new file mode 100644 index 00000000000000..fb38ff6c710012 --- /dev/null +++ b/pages/linux/pvscan.md @@ -0,0 +1,20 @@ +# pvscan + +> List all physical volumes and manage their online status. +> More information: . + +- List all physical volumes: + +`pvscan` + +- Show the volume group that uses a specific physical volume: + +`pvscan --cache --listvg {{/dev/sdX}}` + +- Show logical volumes that use a specific physical volume: + +`pvscan --cache --listlvs {{/dev/sdX}}` + +- Display detailed information in JSON format: + +`pvscan --reportformat json` diff --git a/pages/linux/pw-cat.md b/pages/linux/pw-cat.md new file mode 100644 index 00000000000000..81cd4658840b36 --- /dev/null +++ b/pages/linux/pw-cat.md @@ -0,0 +1,25 @@ +# pw-cat + +> Play and record audio files through PipeWire. +> See also: `wpctl`, `pw-cli`. +> More information: . + +- Play a WAV file over the default target: + +`pw-cat {{[-p|--playback]}} {{path/to/file.wav}}` + +- Play a WAV file with a specified resampler quality (4 by default): + +`pw-cat {{[-q|--quality]}} {{0..15}} {{[-p|--playback]}} {{path/to/file.wav}}` + +- Record a sample recording at a volume level of 125%: + +`pw-cat {{[-r|--record]}} --volume {{1.25}} {{path/to/file.wav}}` + +- Record a sample recording using a different sample rate: + +`pw-cat {{[-r|--record]}} --rate {{6000}} {{path/to/file.wav}}` + +- Display help: + +`pw-cat {{[-h|--help]}}` diff --git a/pages/linux/pw-cli.md b/pages/linux/pw-cli.md new file mode 100644 index 00000000000000..ea901714d14780 --- /dev/null +++ b/pages/linux/pw-cli.md @@ -0,0 +1,25 @@ +# pw-cli + +> Manage a PipeWire instance's modules, objects, nodes, devices, links and much more. +> See also: `wpctl`. +> More information: . + +- Print information of all object of a specific type: + +`pw-cli {{[ls|list-objects]}} {{Node|Link|Port|Client|Device|Metadata|Factory|Module|Profiler|SecurityContext|Core}}` + +- Print information about an object with a specific ID: + +`pw-cli {{[i|info]}} {{4}}` + +- Print all objects' information: + +`pw-cli {{[i|info]}} all` + +- Monitor for object changes: + +`pw-cli {{[-m|--monitor]}}` + +- Display help: + +`pw-cli {{[h|help]}}` diff --git a/pages/linux/pw-config.md b/pages/linux/pw-config.md new file mode 100644 index 00000000000000..87f20f60dc6b83 --- /dev/null +++ b/pages/linux/pw-config.md @@ -0,0 +1,32 @@ +# pw-config + +> List configuration paths and sections that will be used by the PipeWire server and clients. +> More information: . + +- List all configuration files that will be used: + +`pw-config` + +- List all configuration files that will be used by the PipeWire PulseAudio server: + +`pw-config {{[-n|--name]}} pipewire-pulse.conf` + +- List all configuration sections used by the PipeWire PulseAudio server: + +`pw-config {{[-n|--name]}} pipewire-pulse.conf list` + +- List the `context.properties` fragments used by the JACK clients: + +`pw-config {{[-n|--name]}} jack.conf list context.properties` + +- List the merged `context.properties` used by the JACK clients: + +`pw-config {{[-n|--name]}} jack.conf merge context.properties` + +- List the merged `context.modules` used by the PipeWire server and reformat: + +`pw-config {{[-n|--name]}} pipewire.conf {{[-r|--recurse]}} merge context.modules` + +- Display help: + +`pw-config {{[-h|--help]}}` diff --git a/pages/linux/pw-dot.md b/pages/linux/pw-dot.md new file mode 100644 index 00000000000000..0eee2ad81eb709 --- /dev/null +++ b/pages/linux/pw-dot.md @@ -0,0 +1,37 @@ +# pw-dot + +> Create `.dot` files of the PipeWire graph. +> See also: `dot` for rendering graph. +> More information: . + +- Generate a graph to `pw.dot` file: + +`pw-dot` + +- Read objects from `pw-dump` JSON file: + +`pw-dot {{[-j|--json]}} {{path/to/file.json}}` + +- Specify an output file, showing all object types: + +`pw-dot {{[-o|--output]}} {{path/to/file.dot}} {{[-a|--all]}}` + +- Print `.dot` graph to `stdout`, showing all object properties: + +`pw-dot {{[-o|--output]}} - {{[-d|--detail]}}` + +- Generate a graph from a remote instance, showing only linked objects: + +`pw-dot {{[-r|--remote]}} {{remote_name}} {{[-s|--smart]}}` + +- Lay the graph from left to right, instead of dot's default top to bottom: + +`pw-dot {{[-L|--lr]}}` + +- Lay the graph using 90-degree angles in edges: + +`pw-dot {{[-9|--90]}}` + +- Display help: + +`pw-dot {{[-h|--help]}}` diff --git a/pages/linux/pw-dump.md b/pages/linux/pw-dump.md new file mode 100644 index 00000000000000..d8615a28b1a5af --- /dev/null +++ b/pages/linux/pw-dump.md @@ -0,0 +1,29 @@ +# pw-dump + +> Dump PipeWire's current state as JSON, including the information on nodes, devices, modules, ports, and other objects. +> See also: `pw-mon`. +> More information: . + +- Print a JSON representation of the default PipeWire instance's current state: + +`pw-dump` + +- Print a JSON representation of an object: + +`pw-dump {{object_id}}` + +- Dump the current state monitoring changes, printing it again: + +`pw-dump {{[-m|--monitor]}}` + +- Dump the current state of a remote instance to a file: + +`pw-dump {{[-r|--remote]}} {{remote_name}} > {{path/to/dump_file.json}}` + +- Set a color configuration: + +`pw-dump {{[-C|--color]}} {{never|always|auto}}` + +- Display help: + +`pw-dump {{[-h|--help]}}` diff --git a/pages/linux/pw-link.md b/pages/linux/pw-link.md new file mode 100644 index 00000000000000..1b768b9ae3da03 --- /dev/null +++ b/pages/linux/pw-link.md @@ -0,0 +1,24 @@ +# pw-link + +> Manage links between ports in PipeWire. +> More information: . + +- List all audio output and input ports with their IDs: + +`pw-link {{[-oiI|--output --input --id]}}` + +- Create a link between an output and an input port: + +`pw-link {{output_port_name}} {{input_port_name}}` + +- Disconnect two ports: + +`pw-link {{[-d|--disconnect]}} {{output_port_name}} {{input_port_name}}` + +- List all links with their IDs: + +`pw-link {{[-lI|--links --id]}}` + +- Display help: + +`pw-link {{[-h|--help]}}` diff --git a/pages/linux/pw-loopback.md b/pages/linux/pw-loopback.md new file mode 100644 index 00000000000000..d4d81d435d86cc --- /dev/null +++ b/pages/linux/pw-loopback.md @@ -0,0 +1,28 @@ +# pw-loopback + +> Create loopback devices in PipeWire. +> More information: . + +- Create a loopback device with the default loopback behavior: + +`pw-loopback` + +- Create a loopback device that automatically connects to the speakers: + +`pw-loopback {{[-m|--channel-map]}} '{{[FL FR]}}' {{[-i|--capture-props]}} '{{media.class=Audio/Sink}}'` + +- Create a loopback device that automatically connects to the microphone: + +`pw-loopback {{[-m|--channel-map]}} '{{[FL FR]}}' {{[-o|--playback-props]}} '{{media.class=Audio/Source}}'` + +- Create a dummy loopback device that doesn't automatically connect to anything: + +`pw-loopback {{[-m|--channel-map]}} '{{[FL FR]}}' {{[-i|--capture-props]}} '{{media.class=Audio/Sink}}' {{[-o|--playback-props]}} '{{media.class=Audio/Source}}'` + +- Create a loopback device that automatically connects to the speakers and swaps the left and right channels between the sink and source: + +`pw-loopback {{[-i|--capture-props]}} '{{media.class=Audio/Sink audio.position=[FL FR]}}' {{[-o|--playback-props]}} '{{audio.position=[FR FL]}}'` + +- Create a loopback device that automatically connects to the microphone and swaps the left and right channels between the sink and source: + +`pw-loopback {{[-i|--capture-props]}} '{{audio.position=[FR FL]}}' {{[-o|--playback-props]}} '{{media.class=Audio/Source audio.position=[FL FR]}}'` diff --git a/pages/linux/pw-metadata.md b/pages/linux/pw-metadata.md new file mode 100644 index 00000000000000..6cc438607bc5cc --- /dev/null +++ b/pages/linux/pw-metadata.md @@ -0,0 +1,33 @@ +# pw-metadata + +> Monitor, set, and delete metadata on PipeWire objects. +> See also: `pipewire`, `pw-mon`, `pw-cli`. +> More information: . + +- Show metadata in `default` name: + +`pw-metadata` + +- Show metadata with ID 0 in `settings`: + +`pw-metadata {{[-n|--name]}} {{settings}} {{0}}` + +- List all available metadata objects: + +`pw-metadata {{[-l|--list]}}` + +- Keep running and log the changes to the metadata: + +`pw-metadata {{[-m|--monitor]}}` + +- Delete all metadata: + +`pw-metadata {{[-d|--delete]}}` + +- Set `log.level` to 1 in `settings`: + +`pw-metadata {{[-n|--name]}} {{settings}} {{0}} {{log.level}} {{1}}` + +- Display help: + +`pw-metadata {{[-h|--help]}}` diff --git a/pages/linux/pw-mon.md b/pages/linux/pw-mon.md new file mode 100644 index 00000000000000..60b3cfa96e789c --- /dev/null +++ b/pages/linux/pw-mon.md @@ -0,0 +1,20 @@ +# pw-mon + +> Monitor objects on the PipeWire instance. +> More information: . + +- Monitor the default PipeWire instance: + +`pw-mon` + +- Monitor a specific remote instance: + +`pw-mon {{[-r|--remote]}} {{remote_name}}` + +- Monitor the default instance specifying a color configuration: + +`pw-mon {{[-N|--color]}} {{never|always|auto}}` + +- Display help: + +`pw-mon {{[-h|--help]}}` diff --git a/pages/linux/pw-play.md b/pages/linux/pw-play.md new file mode 100644 index 00000000000000..b1963f74417ffa --- /dev/null +++ b/pages/linux/pw-play.md @@ -0,0 +1,7 @@ +# pw-play + +> This command is an alias of `pw-cat --playback`. + +- View documentation for the original command: + +`tldr pw-cat` diff --git a/pages/linux/pw-profiler.md b/pages/linux/pw-profiler.md new file mode 100644 index 00000000000000..9f2be0fb52ea13 --- /dev/null +++ b/pages/linux/pw-profiler.md @@ -0,0 +1,20 @@ +# pw-profiler + +> Profile a local or remote instance. +> More information: . + +- Profile the default instance, logging to `profile.log` (`gnuplot` files and a HTML file for result visualizing are also generated): + +`pw-profiler` + +- Change the log output file: + +`pw-profiler {{[-o|--output]}} {{path/to/file.log}}` + +- Profile a remote instance: + +`pw-profiler {{[-r|--remote]}} {{remote_name}}` + +- Display help: + +`pw-profiler {{[-h|--help]}}` diff --git a/pages/linux/pw-record.md b/pages/linux/pw-record.md new file mode 100644 index 00000000000000..bd148ade45e78e --- /dev/null +++ b/pages/linux/pw-record.md @@ -0,0 +1,7 @@ +# pw-record + +> This command is an alias of `pw-cat --record`. + +- View documentation for the original command: + +`tldr pw-cat` diff --git a/pages/linux/pw-reserve.md b/pages/linux/pw-reserve.md new file mode 100644 index 00000000000000..bb1381b863ea62 --- /dev/null +++ b/pages/linux/pw-reserve.md @@ -0,0 +1,16 @@ +# pw-reserve + +> Reserve a device for PipeWire. +> More information: . + +- Reserve a device (currently only supports audio devices): + +`pw-reserve {{[-n|--name]}} {{audioN}}` + +- Monitor a device instead of reserving it: + +`pw-reserve {{[-n|--name]}} {{audioN}} {{[-m|--monitor]}}` + +- Display help: + +`pw-reserve {{[-h|--help]}}` diff --git a/pages/linux/pw-top.md b/pages/linux/pw-top.md new file mode 100644 index 00000000000000..7c82999d048c8e --- /dev/null +++ b/pages/linux/pw-top.md @@ -0,0 +1,21 @@ +# pw-top + +> View the PipeWire nodes and devices statistics in real-time. +> See also: `pipewire`, `pw-dump`, `pw-cli`, `pw-profiler`. +> More information: . + +- Display an interactive view of PipeWire nodes and devices: + +`pw-top` + +- Monitor a remote instance: + +`pw-top {{[-r|--remote]}} {{remote_name}}` + +- Print information periodically instead of running in interactive mode: + +`pw-top {{[-b|--batch-mode]}}` + +- Print information periodically for a specific number of times: + +`pw-top {{[-b|--batch-mode]}} {{[-n|--iterations]}} {{3}}` diff --git a/pages/linux/pw-v4l2.md b/pages/linux/pw-v4l2.md new file mode 100644 index 00000000000000..a049d23746c519 --- /dev/null +++ b/pages/linux/pw-v4l2.md @@ -0,0 +1,12 @@ +# pw-v4l2 + +> Use v4l2 programs within PipeWire. +> More information: . + +- Run a program: + +`pw-v4l2 {{program}}` + +- Display help: + +`pw-v4l2 -h` diff --git a/pages/linux/pwdx.md b/pages/linux/pwdx.md index 1dba580f7362c3..cfe9b5c3bb3efa 100644 --- a/pages/linux/pwdx.md +++ b/pages/linux/pwdx.md @@ -1,6 +1,7 @@ # pwdx > Print working directory of a process. +> More information: . - Print current working directory of a process: diff --git a/pages/linux/pwgen.md b/pages/linux/pwgen.md deleted file mode 100644 index 70f4cc67ffa6e6..00000000000000 --- a/pages/linux/pwgen.md +++ /dev/null @@ -1,15 +0,0 @@ -# pwgen - -> Generate pronounceable passwords. - -- Generate random password with s[y]mbols: - -`pwgen -y {{length}}` - -- Generate secure, hard-to-memorize passwords: - -`pwgen -s {{length}}` - -- Generate password with at least one capital letter in them: - -`pwgen -c {{length}}` diff --git a/pages/linux/pwn.md b/pages/linux/pwn.md new file mode 100644 index 00000000000000..3be5b455ef8509 --- /dev/null +++ b/pages/linux/pwn.md @@ -0,0 +1,36 @@ +# pwn + +> Exploit Development Library designed for rapid prototyping. +> More information: . + +- Convert the given assembly code to `bytes`: + +`pwn asm "{{xor edi, edi}}"` + +- Create a cyclic pattern of the specific number of characters: + +`pwn cyclic {{number}}` + +- Encode the given data into the hexadecimal system: + +`pwn hex {{deafbeef}}` + +- Decode the given data from hexadecimal: + +`pwn unhex {{6c4f7645}}` + +- Print a x64 Linux shellcode for running a shell: + +`pwn shellcraft {{amd64.linux.sh}}` + +- Check the binary security settings for the given ELF file: + +`pwn checksec {{path/to/file}}` + +- Check for Pwntools updates: + +`pwn update` + +- Display version: + +`pwn version` diff --git a/pages/linux/pyrit.md b/pages/linux/pyrit.md new file mode 100644 index 00000000000000..5b1ece14eefd16 --- /dev/null +++ b/pages/linux/pyrit.md @@ -0,0 +1,36 @@ +# pyrit + +> WPA/WPA2 cracking tool using computational power. +> More information: . + +- Display system cracking speed: + +`pyrit benchmark` + +- List available cores: + +`pyrit list_cores` + +- Set [e]SSID: + +`pyrit -e "{{ESSID}}" create_essid` + +- [r]ead and analyze a specific packet capture file: + +`pyrit -r {{path/to/file.cap|path/to/file.pcap}} analyze` + +- Read and [i]mport passwords to the current database: + +`pyrit -i {{path/to/file}} {{import_unique_passwords|unique_passwords|import_passwords}}` + +- Exp[o]rt passwords from database to a specific file: + +`pyrit -o {{path/to/file}} export_passwords` + +- Translate passwords with Pired Master Keys: + +`pyrit batch` + +- [r]ead the capture file and crack the password: + +`pyrit -r {{path/to/file}} attack_db` diff --git a/pages/linux/qjoypad.md b/pages/linux/qjoypad.md new file mode 100644 index 00000000000000..62717a1740f657 --- /dev/null +++ b/pages/linux/qjoypad.md @@ -0,0 +1,28 @@ +# qjoypad + +> Translate input from gamepads or joysticks into keyboard strokes or mouse actions. +> More information: . + +- Start QJoyPad: + +`qjoypad` + +- Start QJoyPad and look for devices in a specific directory: + +`qjoypad --device={{path/to/directory}}` + +- Start QJoyPad but don't show a system tray icon: + +`qjoypad --notray` + +- Start QJoyPad and force the window manager to use a system tray icon: + +`qjoypad --force-tray` + +- Force a running instance of QJoyPad to update its list of devices and layouts: + +`qjoypad --update` + +- Load the given layout in an already running instance of QJoyPad, or start QJoyPad using the given layout: + +`qjoypad "{{layout}}"` diff --git a/pages/linux/qm-agent.md b/pages/linux/qm-agent.md new file mode 100644 index 00000000000000..50a526a1812051 --- /dev/null +++ b/pages/linux/qm-agent.md @@ -0,0 +1,7 @@ +# qm agent + +> This command is an alias of `qm guest cmd`. + +- View documentation for the original command: + +`tldr qm guest cmd` diff --git a/pages/linux/qm-cleanup.md b/pages/linux/qm-cleanup.md new file mode 100644 index 00000000000000..d9834b361c1860 --- /dev/null +++ b/pages/linux/qm-cleanup.md @@ -0,0 +1,9 @@ +# qm cleanup + +> Clean up resources on QEMU/KVM Virtual Machine Manager like tap devices, VGPUs, etc. +> Called after a VM shuts down, crashes, etc. +> More information: . + +- Clean up resources: + +`qm {{[cl|cleanup]}} {{vm_id}} {{clean-shutdown}} {{guest-requested}}` diff --git a/pages/linux/qm-clone.md b/pages/linux/qm-clone.md new file mode 100644 index 00000000000000..6cda161d54fb34 --- /dev/null +++ b/pages/linux/qm-clone.md @@ -0,0 +1,28 @@ +# qm clone + +> Create a copy of virtual machine on QEMU/KVM Virtual Machine Manager. +> More information: . + +- Copy a virtual machine: + +`qm clone {{vm_id}} {{new_vm_id}}` + +- Copy a virtual machine using a specific name: + +`qm clone {{vm_id}} {{new_vm_id}} --name {{name}}` + +- Copy a virtual machine using a specific descriptionn: + +`qm clone {{vm_id}} {{new_vm_id}} --description {{description}}` + +- Copy a virtual machine creating a full copy of all disks: + +`qm clone {{vm_id}} {{new_vm_id}} --full` + +- Copy a virtual machine using a specific format for file storage (requires `--full`): + +`qm clone {{vm_id}} {{new_vm_id}} --full --format {{qcow2|raw|vmdk}}` + +- Copy a virtual machine then add it to a specific pool: + +`qm clone {{vm_id}} {{new_vm_id}} --pool {{pool_name}}` diff --git a/pages/linux/qm-cloudinit-dump.md b/pages/linux/qm-cloudinit-dump.md new file mode 100644 index 00000000000000..45830560492218 --- /dev/null +++ b/pages/linux/qm-cloudinit-dump.md @@ -0,0 +1,8 @@ +# qm cloudinit dump + +> Generate cloudinit configuration files. +> More information: . + +- Generate a cloudinit file for a specific configuration type: + +`qm {{[clou|cloudinit]}} {{[d|dump]}} {{virtual_machine_id}} {{meta|network|user}}` diff --git a/pages/linux/qm-config.md b/pages/linux/qm-config.md new file mode 100644 index 00000000000000..40dd1eaa9a362e --- /dev/null +++ b/pages/linux/qm-config.md @@ -0,0 +1,16 @@ +# qm config + +> Display the virtual machine configuration with pending configuration changes applied. +> More information: . + +- Display the virtual machine configuration: + +`qm {{[co|config]}} {{vm_id}}` + +- Display the current configuration values instead of pending values for the virtual machine: + +`qm {{[co|config]}} --current {{true}} {{vm_id}}` + +- Fetch the configuration values from the given snapshot: + +`qm {{[co|config]}} --snapshot {{snapshot_name}} {{vm_id}}` diff --git a/pages/linux/qm-create.md b/pages/linux/qm-create.md new file mode 100644 index 00000000000000..3a80d3e38cd453 --- /dev/null +++ b/pages/linux/qm-create.md @@ -0,0 +1,36 @@ +# qm create + +> Create or restore a virtual machine on QEMU/KVM Virtual Machine Manager. +> More information: . + +- Create a virtual machine with access to 512MiB of memory and 1 CPU core: + +`qm {{[cr|create]}} {{100}}` + +- Give the virtual machine a name and automatically start the machine after creation: + +`qm {{[cr|create]}} {{100}} --name {{vm_name}} --start` + +- Give a virtual machine specified amount of memory and CPUs: + +`qm {{[cr|create]}} {{100}} --memory {{8192}} --cores {{4}}` + +- Specify the type of operating system on the machine: + +`qm {{[cr|create]}} {{100}} --ostype {{win10}}` + +- Replace an existing machine (requires archiving it): + +`qm {{[cr|create]}} {{100}} --archive {{path/to/backup_file.tar}} --force 1` + +- Specify a script that is executed automatically depending on the state of the virtual machine: + +`qm {{[cr|create]}} {{100}} --hookscript {{path/to/script.pl}}` + +- Specify the install media: + +`qm {{[cr|create]}} {{100}} --cdrom {{local:iso/install-media.iso}}` + +- Create a VM that bridges itself to the host network: + +`qm {{[cr|create]}} {{100}} --net{{0}} virtio,bridge=vmbr{{0}}` diff --git a/pages/linux/qm-delsnapshot.md b/pages/linux/qm-delsnapshot.md new file mode 100644 index 00000000000000..18e27d77fe216b --- /dev/null +++ b/pages/linux/qm-delsnapshot.md @@ -0,0 +1,12 @@ +# qm delsnapshot + +> Delete virtual machine snapshots. +> More information: . + +- Delete a snapshot: + +`qm {{[del|delsnapshot]}} {{vm_id}} {{snapshot_name}}` + +- Delete a snapshot from a configuration file (even if removing the disk snapshot fails): + +`qm {{[del|delsnapshot]}} {{vm_id}} {{snapshot_name}} --force 1` diff --git a/pages/linux/qm-destroy.md b/pages/linux/qm-destroy.md new file mode 100644 index 00000000000000..e02b2bb5db7e6d --- /dev/null +++ b/pages/linux/qm-destroy.md @@ -0,0 +1,20 @@ +# qm destroy + +> Destroy a virtual machine in QEMU/KVM Virtual Machine Manager. +> More information: . + +- Destroy a specific virtual machine: + +`qm {{[des|destroy]}} {{vm_id}}` + +- Destroy all disks that are not explicitly referenced in a specific virtual machine's configuration: + +`qm {{[des|destroy]}} {{vm_id}} --destroy-unreferenced-disks` + +- Destroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.): + +`qm {{[des|destroy]}} {{vm_id}} --purge` + +- Destroy a specific virtual machine ignoring locks and forcing destroy: + +`sudo qm {{[des|destroy]}} {{vm_id}} --skiplock` diff --git a/pages/linux/qm-disk-import.md b/pages/linux/qm-disk-import.md new file mode 100644 index 00000000000000..f262b280d007f3 --- /dev/null +++ b/pages/linux/qm-disk-import.md @@ -0,0 +1,9 @@ +# qm disk import + +> Import a disk image to a virtual machine as an unused disk. +> The supported image formats for `qemu-img`, such as raw, qcow2, qed, vdi, vmdk, and vhd must be used. +> More information: . + +- Import a VMDK/qcow2/raw disk image using a specific storage name: + +`qm {{[di|disk]}} {{[i|import]}} {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}` diff --git a/pages/linux/qm-disk-move.md b/pages/linux/qm-disk-move.md new file mode 100644 index 00000000000000..1c5c849878acc7 --- /dev/null +++ b/pages/linux/qm-disk-move.md @@ -0,0 +1,12 @@ +# qm disk move + +> Move a virtual disk from one storage to another within the same Proxmox cluster. +> More information: . + +- Move a virtual disk: + +`qm {{[di|disk]}} {{[m|move]}} {{vm_id}} {{destination}} {{index}}` + +- Delete the previous copy of the virtual disk: + +`qm {{[di|disk]}} {{[m|move]}} --delete {{vm_id}} {{destination}} {{index}}` diff --git a/pages/linux/qm-disk-rescan.md b/pages/linux/qm-disk-rescan.md new file mode 100644 index 00000000000000..2ce99aec62f4ea --- /dev/null +++ b/pages/linux/qm-disk-rescan.md @@ -0,0 +1,16 @@ +# qm disk rescan + +> Rescan all storages and update disk sizes and unused disk images of virtual machines. +> More information: . + +- Rescan all storages and update disk sizes and unused disk images: + +`qm {{[di|disk]}} {{[resc|rescan]}}` + +- Perform a dry-run of a rescan and do not write any changes to configurations: + +`qm {{[di|disk]}} {{[resc|rescan]}} --dryrun` + +- Specify a virtual machine by its ID: + +`qm {{[di|disk]}} {{[resc|rescan]}} --vmid {{100}}` diff --git a/pages/linux/qm-disk-resize.md b/pages/linux/qm-disk-resize.md new file mode 100644 index 00000000000000..dbbae395d540b9 --- /dev/null +++ b/pages/linux/qm-disk-resize.md @@ -0,0 +1,8 @@ +# qm disk resize + +> Resize a virtual machine disk in the Proxmox Virtual Environment (PVE). +> More information: . + +- Add `n` gigabytes to a virtual disk: + +`qm {{[di|disk]}} {{[resi|resize]}} {{vm_id}} {{disk_name}} +{{n}}G` diff --git a/pages/linux/qm-disk.md b/pages/linux/qm-disk.md new file mode 100644 index 00000000000000..9fa238ea1e4a54 --- /dev/null +++ b/pages/linux/qm-disk.md @@ -0,0 +1,20 @@ +# qm disk + +> Manage disk images. +> More information: . + +- Add `n` gigabytes to a virtual disk: + +`qm {{[di|disk]}} {{[resi|resize]}} {{vm_id}} {{disk_name}} +{{n}}G` + +- Move a virtual disk: + +`qm {{[di|disk]}} {{[m|move]}} {{vm_id}} {{destination}} {{index}}` + +- Delete the previous copy of the virtual disk: + +`qm {{[di|disk]}} {{[m|move]}} --delete {{vm_id}} {{destination}} {{index}}` + +- Import a VMDK/qcow2/raw disk image using a specific storage name: + +`qm {{[di|disk]}} {{[i|import]}} {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}` diff --git a/pages/linux/qm-guest-cmd.md b/pages/linux/qm-guest-cmd.md new file mode 100644 index 00000000000000..15e8b75e372c74 --- /dev/null +++ b/pages/linux/qm-guest-cmd.md @@ -0,0 +1,8 @@ +# qm guest cmd + +> Execute QEMU Guest Agent commands. +> More information: . + +- Execute a specific QEMU Guest Agent command: + +`qm {{[g|guest]}} {{[c|cmd]}} {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` diff --git a/pages/linux/qm-guest-exec-status.md b/pages/linux/qm-guest-exec-status.md new file mode 100644 index 00000000000000..d4f8df7f678141 --- /dev/null +++ b/pages/linux/qm-guest-exec-status.md @@ -0,0 +1,8 @@ +# qm guest exec-status + +> Print the status of a pid started by the guest-agent on QEMU/KVM Virtual Machine Manager. +> More information: . + +- Print the status of a specific PID: + +`qm {{[g|guest]}} {{[exec-s|exec-status]}} {{vm_id}} {{pid}}` diff --git a/pages/linux/qm-guest-exec.md b/pages/linux/qm-guest-exec.md new file mode 100644 index 00000000000000..d6d4a86d49d77f --- /dev/null +++ b/pages/linux/qm-guest-exec.md @@ -0,0 +1,20 @@ +# qm guest exec + +> Execute a specific command via a guest agent. +> More information: . + +- Execute a specific command via a guest agent: + +`qm {{[g|guest]}} exec {{vm_id}} {{command}} {{argument1 argument2 ...}}` + +- Execute a specific command via a guest agent asynchronously: + +`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2 ...}} --synchronous 0` + +- Execute a specific command via a guest agent with a specified timeout of 10 seconds: + +`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2...}} --timeout {{10}}` + +- Execute a specific command via a guest agent and forward input from `stdin` until EOF to the guest agent: + +`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2 ...}} --pass-stdin 1` diff --git a/pages/linux/qm-guest-passwd.md b/pages/linux/qm-guest-passwd.md new file mode 100644 index 00000000000000..0911b3c6df1fe8 --- /dev/null +++ b/pages/linux/qm-guest-passwd.md @@ -0,0 +1,12 @@ +# qm guest passwd + +> Set the password for a user on QEMU/KVM Virtual Machine Manager. +> More information: . + +- Set a password for a specific user in a virtual machine interactively: + +`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}}` + +- Set an already hashed password for a specific user in a virtual machine interactively: + +`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}} --crypted 1` diff --git a/pages/linux/qm-guest.md b/pages/linux/qm-guest.md new file mode 100644 index 00000000000000..9043d82c92e25b --- /dev/null +++ b/pages/linux/qm-guest.md @@ -0,0 +1,20 @@ +# qm guest + +> Manage a VM guest agent. +> More information: . + +- Print the status of a specific PID: + +`qm {{[g|guest]}} {{[exec-s|exec-status]}} {{vm_id}} {{pid}}` + +- Set a password for a specific user in a virtual machine interactively: + +`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}}` + +- Execute a specific QEMU Guest Agent command: + +`qm {{[g|guest]}} {{[c|cmd]}} {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` + +- Execute a specific command via a guest agent: + +`qm {{[g|guest]}} exec {{vm_id}} {{command}} {{argument1 argument2 ...}}` diff --git a/pages/linux/qm-help.md b/pages/linux/qm-help.md new file mode 100644 index 00000000000000..595374a90c63e5 --- /dev/null +++ b/pages/linux/qm-help.md @@ -0,0 +1,12 @@ +# qm help + +> Display help for a command. +> More information: . + +- Display help for a specific command: + +`qm {{[h|help]}} {{command}}` + +- Display help for a specific command with detailed information: + +`qm {{[h|help]}} {{command}} --verbose {{true|false}}` diff --git a/pages/linux/qm-importdisk.md b/pages/linux/qm-importdisk.md new file mode 100644 index 00000000000000..ee365d00a853d1 --- /dev/null +++ b/pages/linux/qm-importdisk.md @@ -0,0 +1,7 @@ +# qm importdisk + +> This command is an alias of `qm disk import`. + +- View documentation for the original command: + +`tldr qm disk import` diff --git a/pages/linux/qm-list.md b/pages/linux/qm-list.md new file mode 100644 index 00000000000000..9f93d3b02edfbd --- /dev/null +++ b/pages/linux/qm-list.md @@ -0,0 +1,12 @@ +# qm list + +> List all virtual machines. +> More information: . + +- List all virtual machines: + +`qm {{[l|list]}}` + +- List all virtual machines with a full status about the ones which are currently running: + +`qm {{[l|list]}} --full 1` diff --git a/pages/linux/qm-listsnapshot.md b/pages/linux/qm-listsnapshot.md new file mode 100644 index 00000000000000..f126cc95a46692 --- /dev/null +++ b/pages/linux/qm-listsnapshot.md @@ -0,0 +1,8 @@ +# qm listsnapshot + +> List snapshots of virtual machines. +> More information: . + +- List all snapshots of a specific virtual machine: + +`qm {{[lists|listsnapshot]}} {{vm_id}}` diff --git a/pages/linux/qm-migrate.md b/pages/linux/qm-migrate.md new file mode 100644 index 00000000000000..2de6d05aa9e84b --- /dev/null +++ b/pages/linux/qm-migrate.md @@ -0,0 +1,25 @@ +# qm migrate + +> Migrate a virtual machine. +> Used to create a new migration task. +> More information: . + +- Migrate a specific virtual machine: + +`qm {{[mi|migrate]}} {{vm_id}} {{target}}` + +- Override the current I/O bandwidth limit with 10 KiB/s: + +`qm {{[mi|migrate]}} {{vm_id}} {{target}} --bwlimit 10` + +- Allow migration of virtual machines using local devices (root only): + +`qm {{[mi|migrate]}} {{vm_id}} {{target}} --force true` + +- Use online/live migration if a virtual machine is running: + +`qm {{[mi|migrate]}} {{vm_id}} {{target}} --online true` + +- Enable live storage migration for local disks: + +`qm {{[mi|migrate]}} {{vm_id}} {{target}} --with-local-disks true` diff --git a/pages/linux/qm-monitor.md b/pages/linux/qm-monitor.md new file mode 100644 index 00000000000000..6eee380d23e06c --- /dev/null +++ b/pages/linux/qm-monitor.md @@ -0,0 +1,8 @@ +# qm monitor + +> Enter the QEMU Monitor interface. +> More information: . + +- Enter the QEMU Monitor interface of a specific virtual machine: + +`qm {{[mo|monitor]}} {{vm_id}}` diff --git a/pages/linux/qm-move-disk.md b/pages/linux/qm-move-disk.md new file mode 100644 index 00000000000000..e16eea80ff0c6e --- /dev/null +++ b/pages/linux/qm-move-disk.md @@ -0,0 +1,7 @@ +# qm move-disk + +> This command is an alias of `qm disk move`. + +- View documentation for the original command: + +`tldr qm disk move` diff --git a/pages/linux/qm-move_disk.md b/pages/linux/qm-move_disk.md new file mode 100644 index 00000000000000..651eefa32da71e --- /dev/null +++ b/pages/linux/qm-move_disk.md @@ -0,0 +1,7 @@ +# qm move_disk + +> This command is an alias of `qm disk move`. + +- View documentation for the original command: + +`tldr qm disk move` diff --git a/pages/linux/qm-mtunnel.md b/pages/linux/qm-mtunnel.md new file mode 100644 index 00000000000000..33d00ebed6bb08 --- /dev/null +++ b/pages/linux/qm-mtunnel.md @@ -0,0 +1,9 @@ +# qm mtunnel + +> Used by `qmigrate`. +> It should not be invoked manually. +> More information: . + +- Command used by `qmigrate` during data migration from a VM to another host: + +`qm {{[mt|mtunnel]}}` diff --git a/pages/linux/qm-nbdstop.md b/pages/linux/qm-nbdstop.md new file mode 100644 index 00000000000000..71329ce816b2a1 --- /dev/null +++ b/pages/linux/qm-nbdstop.md @@ -0,0 +1,8 @@ +# qm nbdstop + +> Stop embedded nbd server. +> More information: . + +- Stop embedded nbd server: + +`qm {{[n|nbdstop]}} {{VM_ID}}` diff --git a/pages/linux/qm-pending.md b/pages/linux/qm-pending.md new file mode 100644 index 00000000000000..57e2761decebc7 --- /dev/null +++ b/pages/linux/qm-pending.md @@ -0,0 +1,8 @@ +# qm pending + +> Get the virtual machine configuration with both current and pending values. +> More information: . + +- Get the virtual machine configuration of a specific virtual machine: + +`qm {{[p|pending]}} {{vm_id}}` diff --git a/pages/linux/qm-reboot.md b/pages/linux/qm-reboot.md new file mode 100644 index 00000000000000..9bbd189f6fd874 --- /dev/null +++ b/pages/linux/qm-reboot.md @@ -0,0 +1,12 @@ +# qm reboot + +> Reboot a virtual machine by shutting it down, and starting it again after applying pending changes. +> More information: . + +- Reboot a virtual machine: + +`qm {{[reb|reboot]}} {{vm_id}}` + +- Reboot a virtual machine after wait for at most 10 seconds: + +`qm {{[reb|reboot]}} --timeout {{10}} {{vm_id}}` diff --git a/pages/linux/qm-rescan.md b/pages/linux/qm-rescan.md new file mode 100644 index 00000000000000..0864c4f3242175 --- /dev/null +++ b/pages/linux/qm-rescan.md @@ -0,0 +1,7 @@ +# qm rescan + +> This command is an alias of `qm disk rescan`. + +- View documentation for the original command: + +`tldr qm disk rescan` diff --git a/pages/linux/qm-reset.md b/pages/linux/qm-reset.md new file mode 100644 index 00000000000000..6fe5fb5c588096 --- /dev/null +++ b/pages/linux/qm-reset.md @@ -0,0 +1,12 @@ +# qm reset + +> Reset a virtual machine on QEMU/KVM Virtual Machine Manager. +> More information: . + +- Reset a virtual machine: + +`qm reset {{vm_id}}` + +- Reset a virtual machine and skip lock (only root can use this option): + +`qm reset --skiplock {{true}} {{vm_id}}` diff --git a/pages/linux/qm-resize.md b/pages/linux/qm-resize.md new file mode 100644 index 00000000000000..c4f8525f652d95 --- /dev/null +++ b/pages/linux/qm-resize.md @@ -0,0 +1,7 @@ +# qm resize + +> This command is an alias of `qm disk resize`. + +- View documentation for the original command: + +`tldr qm disk resize` diff --git a/pages/linux/qm-resume.md b/pages/linux/qm-resume.md new file mode 100644 index 00000000000000..262c15fa152e84 --- /dev/null +++ b/pages/linux/qm-resume.md @@ -0,0 +1,12 @@ +# qm resume + +> Resume a virtual machine. +> More information: . + +- Resume a specific virtual machine: + +`qm {{[resu|resume]}} {{vm_id}}` + +- Resume a specific virtual machine ignoring locks (requires root): + +`sudo qm {{[resu|resume]}} {{vm_id}} --skiplock true` diff --git a/pages/linux/qm-rollback.md b/pages/linux/qm-rollback.md new file mode 100644 index 00000000000000..6eae52685fa775 --- /dev/null +++ b/pages/linux/qm-rollback.md @@ -0,0 +1,8 @@ +# qm rollback + +> Rollback the VM state to a specified snapshot. +> More information: . + +- Rollback the state of a specific VM to a specified snapshot: + +`qm {{[ro|rollback]}} {{vm_id}} {{snap_name}}` diff --git a/pages/linux/qm-sendkey.md b/pages/linux/qm-sendkey.md new file mode 100644 index 00000000000000..9e8373c03e1fdb --- /dev/null +++ b/pages/linux/qm-sendkey.md @@ -0,0 +1,12 @@ +# qm sendkey + +> Send QEMU monitor encoding key event to a virtual machine. +> More information: . + +- Send the specified key event to a specific virtual machine: + +`qm {{[sen|sendkey]}} {{vm_id}} {{key}}` + +- Allow root user to send key event and ignore locks: + +`qm {{[sen|sendkey]}} --skiplock {{true}} {{vm_id}} {{key}}` diff --git a/pages/linux/qm-set.md b/pages/linux/qm-set.md new file mode 100644 index 00000000000000..f0e985030a658f --- /dev/null +++ b/pages/linux/qm-set.md @@ -0,0 +1,32 @@ +# qm set + +> Set virtual machine options. +> More information: . + +- Set a name for a VM in the GUI: + +`qm set {{100}} --name {{vm_name}}` + +- Set a VM to autostart on boot: + +`qm set {{100}} --autostart {{0|1}}` + +- Set the allotted core count of a VM: + +`qm set {{100}} --cores {{4}}` + +- Set the allotted amount of memory: + +`qm set {{100}} --memory {{8192}}` + +- Give a VM a network device and bridge it to the host network: + +`qm set {{100}} --net{{0}} {{virtio|e1000|rtl8139|vmxnet3}},bridge=vmbr{{0}}` + +- Delete a device: + +`qm set {{100}} --delete {{device_name0,device_name1,...}}` + +- Passthrough a GPU device to the guest: + +`qm set {{100}} --hostpci{{0}} {{0000:00:02}},x-vga=1 --bios ovmf` diff --git a/pages/linux/qm-showcmd.md b/pages/linux/qm-showcmd.md new file mode 100644 index 00000000000000..3769c8ea868e02 --- /dev/null +++ b/pages/linux/qm-showcmd.md @@ -0,0 +1,16 @@ +# qm showcmd + +> Show command-line which is used to start the VM (debug info). +> More information: . + +- Show command-line for a specific virtual machine: + +`qm {{[sho|showcmd]}} {{vm_id}}` + +- Put each option on a new line to enhance human readability: + +`qm {{[sho|showcmd]}} --pretty {{true}} {{vm_id}}` + +- Fetch configuration values from a specific snapshot: + +`qm {{[sho|showcmd]}} --snapshot {{string}} {{vm_id}}` diff --git a/pages/linux/qm-shutdown.md b/pages/linux/qm-shutdown.md new file mode 100644 index 00000000000000..b79594d30dc438 --- /dev/null +++ b/pages/linux/qm-shutdown.md @@ -0,0 +1,24 @@ +# qm shutdown + +> Shutdown a virtual machine on QEMU/KVM Virtual Machine Manager. +> More information: . + +- Shutdown a virtual machine: + +`qm {{[shu|shutdown]}} {{VM_ID}}` + +- Shutdown a virtual machine after wait for at most 10 seconds: + +`qm {{[shu|shutdown]}} --timeout {{10}} {{VM_ID}}` + +- Shutdown a virtual machine and do not deactivate storage volumes: + +`qm {{[shu|shutdown]}} --keepActive {{true}} {{VM_ID}}` + +- Shutdown a virtual machine and skip lock (only root can use this option): + +`qm {{[shu|shutdown]}} --skiplock {{true}} {{VM_ID}}` + +- Stop and shutdown a virtual machine: + +`qm {{[shu|shutdown]}} --forceStop {{true}} {{VM_ID}}` diff --git a/pages/linux/qm-snapshot.md b/pages/linux/qm-snapshot.md new file mode 100644 index 00000000000000..f6420b939ef36a --- /dev/null +++ b/pages/linux/qm-snapshot.md @@ -0,0 +1,24 @@ +# qm snapshot + +> Create virtual machine snapshots. +> More information: . + +- Create a snapshot of a specific virtual machine (name must start with a letter): + +`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}}` + +- Create a snapshot with a specific description: + +`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}} --description {{description}}` + +- Create a snapshot including the vmstate: + +`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}} --description {{description}} --vmstate 1` + +- List snapshots of a VM: + +`qm {{[lists|listsnapshot]}} {{100}}` + +- Rollback the state of a specific VM to a specified snapshot: + +`qm {{[ro|rollback]}} {{vm_id}} {{snap_name}}` diff --git a/pages/linux/qm-start.md b/pages/linux/qm-start.md new file mode 100644 index 00000000000000..ae74c371f37d92 --- /dev/null +++ b/pages/linux/qm-start.md @@ -0,0 +1,16 @@ +# qm start + +> Start a virtual machine on QEMU/KVM Virtual Machine Manager. +> More information: . + +- Start a specific virtual machine: + +`qm start {{100}}` + +- Specify the QEMU machine type (i.e. the CPU to emulate): + +`qm start {{100}} --machine {{q35}}` + +- Start a specific virtual machine with a timeout in 60 seconds: + +`qm start {{100}} --timeout {{60}}` diff --git a/pages/linux/qm-status.md b/pages/linux/qm-status.md new file mode 100644 index 00000000000000..f52c46e750e450 --- /dev/null +++ b/pages/linux/qm-status.md @@ -0,0 +1,12 @@ +# qm status + +> Show virtual machine status. +> More information: . + +- Display the status of a specific virtual machine: + +`qm {{[stat|status]}} {{vm_id}}` + +- Display detailed status of a specific virtual machine: + +`qm {{[stat|status]}} --verbose {{true}} {{vm_id}}` diff --git a/pages/linux/qm-stop.md b/pages/linux/qm-stop.md new file mode 100644 index 00000000000000..47d49eb71df83a --- /dev/null +++ b/pages/linux/qm-stop.md @@ -0,0 +1,20 @@ +# qm stop + +> Stop a virtual machine. +> More information: . + +- Stop a virtual machine immediately: + +`qm stop {{VM_ID}}` + +- Stop a virtual machine and wait for at most 10 seconds: + +`qm stop --timeout {{10}} {{VM_ID}}` + +- Stop a virtual machine and skip lock (only root can use this option): + +`qm stop --skiplock {{true}} {{VM_ID}}` + +- Stop a virtual machine and don't deactivate storage volumes: + +`qm stop --keepActive {{true}} {{VM_ID}}` diff --git a/pages/linux/qm-suspend.md b/pages/linux/qm-suspend.md new file mode 100644 index 00000000000000..bdfd7885eb9092 --- /dev/null +++ b/pages/linux/qm-suspend.md @@ -0,0 +1,17 @@ +# qm suspend + +> Suspends a virtual machine (VM) in the Proxmox Virtual Environment (PVE). +> Use `--skiplock` and `--skiplockstorage` flags with caution, as they may lead to data corruption in certain situations. +> More information: . + +- Suspend a virtual machine by ID: + +`qm {{[su|suspend]}} {{vm_id}} {{integer}}` + +- Skip the lock check when suspending the VM: + +`qm {{[su|suspend]}} {{vm_id}} {{integer}} --skiplock` + +- Skip the lock check for storage when suspending the VM: + +`qm {{[su|suspend]}} {{vm_id}} {{integer}} --skiplockstorage` diff --git a/pages/linux/qm-template.md b/pages/linux/qm-template.md new file mode 100644 index 00000000000000..4d5e011c273cd3 --- /dev/null +++ b/pages/linux/qm-template.md @@ -0,0 +1,8 @@ +# qm template + +> Create a Proxmox VM template. +> More information: . + +- Create a template out of a specific virtual machine: + +`qm {{[tem|template]}} {{vm_id}}` diff --git a/pages/linux/qm-terminal.md b/pages/linux/qm-terminal.md new file mode 100644 index 00000000000000..aad67f501542a6 --- /dev/null +++ b/pages/linux/qm-terminal.md @@ -0,0 +1,12 @@ +# qm terminal + +> Attach to the serial console of a VM. +> More information: . + +- Attach to a terminal: + +`qm {{[ter|terminal]}} {{100}}` + +- Detach from a terminal: + +`` diff --git a/pages/linux/qm-unlink.md b/pages/linux/qm-unlink.md new file mode 100644 index 00000000000000..b73814acbfbca6 --- /dev/null +++ b/pages/linux/qm-unlink.md @@ -0,0 +1,7 @@ +# qm unlink + +> This command is an alias of `qm disk unlink`. + +- View documentation for the original command: + +`tldr qm disk unlink` diff --git a/pages/linux/qm-unlock.md b/pages/linux/qm-unlock.md new file mode 100644 index 00000000000000..3cfa909b347df5 --- /dev/null +++ b/pages/linux/qm-unlock.md @@ -0,0 +1,8 @@ +# qm unlock + +> Unlock a virtual machine in QEMU/KVM Virtual Machine Manager. +> More information: . + +- Unlock a specific virtual machine: + +`qm {{[u|unlock]}} {{vm_id}}` diff --git a/pages/linux/qm-vncproxy.md b/pages/linux/qm-vncproxy.md new file mode 100644 index 00000000000000..276c2c15b38e7b --- /dev/null +++ b/pages/linux/qm-vncproxy.md @@ -0,0 +1,8 @@ +# qm vncproxy + +> Proxy Virtual Machine VNC (Virtual network computing) traffic to `stdin` or `stdout`. +> More information: . + +- Proxy a specific virtual machine: + +`qm {{[v|vncproxy]}} {{vm_id}}` diff --git a/pages/linux/qm-wait.md b/pages/linux/qm-wait.md new file mode 100644 index 00000000000000..c1c7b2cc0ab015 --- /dev/null +++ b/pages/linux/qm-wait.md @@ -0,0 +1,16 @@ +# qm wait + +> Wait until the virtual machine is stopped. +> More information: . + +- Wait until the virtual machine is stopped: + +`qm {{[w|wait]}} {{vm_id}}` + +- Wait until the virtual machine is stopped with a 10 second timeout: + +`qm {{[w|wait]}} --timeout {{10}} {{vm_id}}` + +- Send a shutdown request, then wait until the virtual machine is stopped with a 10 second timeout: + +`qm {{[shu|shutdown]}} {{vm_id}} && qm {{[w|wait]}} --timeout {{10}} {{vm_id}}` diff --git a/pages/linux/qm.md b/pages/linux/qm.md new file mode 100644 index 00000000000000..0e2a45391e9fee --- /dev/null +++ b/pages/linux/qm.md @@ -0,0 +1,29 @@ +# qm + +> QEMU/KVM Virtual Machine Manager. +> Some subcommands such as `list`, `start`, `stop`, `clone`, etc. have their own usage documentation. +> More information: . + +- List all virtual machines: + +`qm list` + +- Using an ISO file uploaded on the local storage, create a virtual machine with a 4 GB SCSI disk on the `local-lvm` storage and an ID of 100: + +`qm {{[cr|create]}} {{100}} --scsi0 {{local-lvm:4}} --net0 {{e1000}} --cdrom {{local:iso/proxmox-mailgateway_2.1.iso}}` + +- Show the configuration of a virtual machine, specifying its ID: + +`qm {{[co|config]}} {{100}}` + +- Start a specific virtual machine: + +`qm start {{100}}` + +- Send a shutdown request, then wait until the virtual machine is stopped: + +`qm {{[shu|shutdown]}} {{100}} && qm {{[w|wait]}} {{100}}` + +- Destroy a virtual machine and remove all related resources: + +`qm {{[des|destroy]}} {{100}} --purge` diff --git a/pages/linux/qmake.md b/pages/linux/qmake.md new file mode 100644 index 00000000000000..d5daaf27f11a38 --- /dev/null +++ b/pages/linux/qmake.md @@ -0,0 +1,28 @@ +# qmake + +> Generate Makefiles from Qt project files. +> More information: . + +- Generate a `Makefile` from a project file in the current directory: + +`qmake` + +- Specify `Makefile` and project file locations: + +`qmake -o {{path/to/Makefile}} {{path/to/project_file.pro}}` + +- Generate a default project file: + +`qmake -project` + +- Compile a project: + +`qmake && make` + +- Enable debug mode: + +`qmake -d` + +- Display help: + +`qmake -help` diff --git a/pages/linux/qmrestore.md b/pages/linux/qmrestore.md new file mode 100644 index 00000000000000..43f3a63b87226b --- /dev/null +++ b/pages/linux/qmrestore.md @@ -0,0 +1,20 @@ +# qmrestore + +> Restore QemuServer `vzdump` backups. +> More information: . + +- Restore virtual machine from given backup file on the original storage: + +`qmrestore {{path/to/vzdump-qemu-100.vma.lzo}} {{100}}` + +- Overwrite existing virtual machine from a given backup file on the original storage: + +`qmrestore {{path/to/vzdump-qemu-100.vma.lzo}} {{100}} --force true` + +- Restore the virtual machine from a given backup file on specific storage: + +`qmrestore {{path/to/vzdump-qemu-100.vma.lzo}} {{100}} --storage {{local}}` + +- Start virtual machine immediately from the backup while restoring in the background (only on Proxmox Backup Server): + +`qmrestore {{path/to/vzdump-qemu-100.vma.lzo}} {{100}} --live-restore true` diff --git a/pages/linux/qrcp.md b/pages/linux/qrcp.md new file mode 100644 index 00000000000000..3690e8a4a39e92 --- /dev/null +++ b/pages/linux/qrcp.md @@ -0,0 +1,28 @@ +# qrcp + +> A file transfer tool. +> More information: . + +- Send a file or directories: + +`qrcp send {{path/to/file_or_directory path/to/file_directory ...}}` + +- Receive files: + +`qrcp receive` + +- Compress content before transferring: + +`qrcp send --zip {{path/to/file_or_directory}}` + +- Use a specific port: + +`qrcp {{send|receive}} {{[-p|--port]}} {{port_number}}` + +- Use a specific network interface: + +`qrcp {{send|receive}} {{[-i|--interface]}} {{interface}}` + +- Keep the server alive: + +`qrcp {{send|receive}} --keep-alive` diff --git a/pages/linux/qsub.md b/pages/linux/qsub.md index 9a8558b8635049..b980a739b15b82 100644 --- a/pages/linux/qsub.md +++ b/pages/linux/qsub.md @@ -1,6 +1,7 @@ # qsub > Submits a script to the queue management system TORQUE. +> More information: . - Submit a script with default settings (depends on TORQUE settings): diff --git a/pages/linux/qtchooser.md b/pages/linux/qtchooser.md new file mode 100644 index 00000000000000..e705af9ee617a5 --- /dev/null +++ b/pages/linux/qtchooser.md @@ -0,0 +1,24 @@ +# qtchooser + +> A wrapper used to select between Qt development binary versions. +> More information: . + +- List available Qt versions from the configuration files: + +`qtchooser --list-versions` + +- Print environment information: + +`qtchooser --print-env` + +- Run the specified tool using the specified Qt version: + +`qtchooser --run-tool={{tool}} --qt={{version_name}}` + +- Add a Qt version entry to be able to choose from: + +`qtchooser --install {{version_name}} {{path/to/qmake}}` + +- Display help: + +`qtchooser --help` diff --git a/pages/linux/qtile.md b/pages/linux/qtile.md new file mode 100644 index 00000000000000..c131c020e54bd3 --- /dev/null +++ b/pages/linux/qtile.md @@ -0,0 +1,24 @@ +# qtile + +> A full-featured, hackable tiling window manager written and configured in Python. +> More information: . + +- Start the window manager, if it is not running already (should ideally be run from `.xsession` or similar): + +`qtile start` + +- Check the configuration file for any compilation errors (default location is `~/.config/qtile/config.py`): + +`qtile check` + +- Show current resource usage information: + +`qtile top --force` + +- Open the program `xterm` as a floating window on the group named `test-group`: + +`qtile run-cmd --group {{test-group}} --float {{xterm}}` + +- Restart the window manager: + +`qtile cmd-obj --object cmd --function restart` diff --git a/pages/linux/quickemu.md b/pages/linux/quickemu.md new file mode 100644 index 00000000000000..9c7b23810e8d63 --- /dev/null +++ b/pages/linux/quickemu.md @@ -0,0 +1,33 @@ +# quickemu + +> Build and manage highly optimised desktop virtual machines quickly. +> See also: `quickget` for preparing VM configurations. +> More information: . + +- Create and run a virtual machine from a configuration file: + +`quickemu --vm {{path/to/file.conf}}` + +- Do not commit any changes to disk/snapshot but write any changes to temporary files: + +`quickemu --status-quo --vm {{path/to/file.conf}}` + +- Start the virtual machine in full-screen mode (`` to exit) and select the display backend (`sdl` by default): + +`quickemu --fullscreen --display {{sdl|gtk|spice|spice-app|none}} --vm {{path/to/file.conf}}` + +- Select a virtual audio device to emulate and create a desktop shortcut: + +`quickemu --sound-card {{intel-hda|ac97|es1370|sb16|none}} --shortcut --vm {{path/to/file.conf}}` + +- Create a snapshot: + +`quickemu --snapshot create {{tag}} --vm {{path/to/file.conf}}` + +- Restore a snapshot: + +`quickemu --snapshot apply {{tag}} --vm {{path/to/file.conf}}` + +- Delete a snapshot: + +`quickemu --snapshot delete {{tag}} --vm {{path/to/file.conf}}` diff --git a/pages/linux/quickget.md b/pages/linux/quickget.md new file mode 100644 index 00000000000000..18fde43ccfbcea --- /dev/null +++ b/pages/linux/quickget.md @@ -0,0 +1,38 @@ +# quickget + +> Download and prepare materials for building a Quickemu virtual machine. +> Note: The parameter "edition" is always optional. +> See also: `quickemu`. +> More information: . + +- Display the list of all supported guest operating systems, versions and variants: + +`quickget list` + +- Download and create the virtual machine configuration for building a Quickemu virtual machine for an OS: + +`quickget {{os}} {{release}} {{edition}}` + +- Download configuration for a Windows 11 VM with VirtIO drivers for Windows: + +`quickget windows 11` + +- Download a macOS recovery image and creates a virtual machine configuration: + +`quickget macos {{mojave|catalina|big-sur|monterey|ventura|sonoma}}` + +- Show an ISO URL for an operating system: + +`quickget --url fedora {{release}} {{edition}}` + +- Test if an ISO file is available for an operating system: + +`quickget --check nixos {{release}} {{edition}}` + +- Download an image without building any VM configuration: + +`quickget --download {{os}} {{release}} {{edition}}` + +- Create a VM configuration for an OS image: + +`quickget --create-config {{os}} {{path/to/iso}}` diff --git a/pages/linux/quotacheck.md b/pages/linux/quotacheck.md index 28edc2daff76c9..4bd929fd1a512b 100644 --- a/pages/linux/quotacheck.md +++ b/pages/linux/quotacheck.md @@ -2,6 +2,7 @@ > Scan a filesystem for disk usage; create, check and repair quota files. > It is best to run quota check with quotas turned off to prevent damage or loss to quota files. +> More information: . - Check quotas on all mounted non-NFS filesystems: diff --git a/pages/linux/radeontop.md b/pages/linux/radeontop.md index ccf8122f4632fd..a006e5de5bed6c 100644 --- a/pages/linux/radeontop.md +++ b/pages/linux/radeontop.md @@ -1,20 +1,21 @@ # radeontop -> Show utilisation of AMD GPUs. +> Show utilization of AMD GPUs. +> May require root privileges depending on your system. > More information: . -- Show the utilisation of the default AMD GPU: +- Show the utilization of the default AMD GPU: -`sudo radeontop` +`radeontop` -- Enable colourised output: +- Enable colored output: -`sudo radeontop --colour` +`radeontop --color` - Select a specific GPU (the bus number is the first number in the output of `lspci`): -`sudo radeontop --bus {{bus_number}}` +`radeontop --bus {{bus_number}}` - Specify the display refresh rate (higher means more GPU overhead): -`sudo radeontop --ticks {{samples_per_second}}` +`radeontop --ticks {{samples_per_second}}` diff --git a/pages/linux/rankmirrors.md b/pages/linux/rankmirrors.md new file mode 100644 index 00000000000000..dcf13790003dfa --- /dev/null +++ b/pages/linux/rankmirrors.md @@ -0,0 +1,25 @@ +# rankmirrors + +> Rank a list of Pacman mirrors by connection and opening speed. +> Writes the new mirrorlist to `stdout`. +> More information: . + +- Rank a mirror list: + +`rankmirrors {{/etc/pacman.d/mirrorlist}}` + +- Output only a given number of the top ranking servers: + +`rankmirrors -n {{number}} {{/etc/pacman.d/mirrorlist}}` + +- Be verbose when generating the mirrorlist: + +`rankmirrors {{[-v|--verbose]}} {{/etc/pacman.d/mirrorlist}}` + +- Test only a specific URL: + +`rankmirrors {{[-u|--url]}} {{url}}` + +- Output only the response times instead of a full mirrorlist: + +`rankmirrors {{[-t|--times]}} {{/etc/pacman.d/mirrorlist}}` diff --git a/pages/linux/raspi-config.md b/pages/linux/raspi-config.md new file mode 100644 index 00000000000000..b55f9c1137273d --- /dev/null +++ b/pages/linux/raspi-config.md @@ -0,0 +1,8 @@ +# raspi-config + +> An `ncurses` terminal GUI to config a Raspberry Pi. +> More information: . + +- Start `raspi-config`: + +`sudo raspi-config` diff --git a/pages/linux/raspinfo.md b/pages/linux/raspinfo.md new file mode 100644 index 00000000000000..9d4e7c898f10ae --- /dev/null +++ b/pages/linux/raspinfo.md @@ -0,0 +1,8 @@ +# raspinfo + +> Display Raspberry Pi system information. +> More information: . + +- Display system information: + +`raspinfo` diff --git a/pages/linux/raw.md b/pages/linux/raw.md new file mode 100644 index 00000000000000..8c145dcb6a10d4 --- /dev/null +++ b/pages/linux/raw.md @@ -0,0 +1,16 @@ +# raw + +> Bind a Unix raw character device. +> More information: . + +- Bind a raw character device to a block device: + +`raw /dev/raw/raw{{1}} {{/dev/block_device}}` + +- Query an existing binding instead of setting a new one: + +`raw /dev/raw/raw{{1}}` + +- Query all bound raw devices: + +`raw {{[-qa|--query --all]}}` diff --git a/pages/linux/rc-service.md b/pages/linux/rc-service.md index fe8f9bdd01a983..87304d86b1c44b 100644 --- a/pages/linux/rc-service.md +++ b/pages/linux/rc-service.md @@ -1,7 +1,8 @@ # rc-service > Locate and run OpenRC services with arguments. -> See also `openrc`. +> See also: `openrc`. +> More information: . - Show a service's status: @@ -13,7 +14,7 @@ - Stop a service: -`sudo rc-servie {{service_name}} stop` +`sudo rc-service {{service_name}} stop` - Restart a service: @@ -21,7 +22,7 @@ - Simulate running a service's custom command: -`sudo rc-service --dry-run {{service_name}} {{command_name}}` +`sudo rc-service {{[-Z|--dry-run]}} {{service_name}} {{command_name}}` - Actually run a service's custom command: @@ -29,4 +30,4 @@ - Resolve the location of a service definition on disk: -`sudo rc-service --resolve {{service_name}}` +`sudo rc-service {{[-r|--resolve]}} {{service_name}}` diff --git a/pages/linux/rc-status.md b/pages/linux/rc-status.md index a735cbf9d5736b..ab7fb4bad87cff 100644 --- a/pages/linux/rc-status.md +++ b/pages/linux/rc-status.md @@ -1,7 +1,8 @@ # rc-status > Show status info about runlevels. -> See also `openrc`. +> See also: `openrc`. +> More information: . - Show a summary of services and their status: @@ -9,24 +10,24 @@ - Include services in all runlevels in the summary: -`rc-status --all` +`rc-status {{[-a|--all]}}` - List services that have crashed: -`rc-status --crashed` +`rc-status {{[-c|--crashed]}}` - List manually started services: -`rc-status --manual` +`rc-status {{[-m|--manual]}}` - List supervised services: -`rc-status --supervised` +`rc-status {{[-S|--supervised]}}` -- Get the current runlevel: +- Display the current runlevel: -`rc-status --runlevel` +`rc-status {{[-r|--runlevel]}}` - List all runlevels: -`rc-status --list` +`rc-status {{[-l|--list]}}` diff --git a/pages/linux/rc-update.md b/pages/linux/rc-update.md index 225141262d47f6..520b572f5f3692 100644 --- a/pages/linux/rc-update.md +++ b/pages/linux/rc-update.md @@ -1,11 +1,16 @@ # rc-update > Add and remove OpenRC services to and from runlevels. -> See also `openrc`. +> See also: `openrc`. +> More information: . -- List all services and the runlevels they are added to: +- List enabled services and the runlevels they are added to: -`rc-update show` +`rc-update` + +- List all services: + +`rc-update {{[-v|--verbose]}}` - Add a service to a runlevel: @@ -13,8 +18,8 @@ - Delete a service from a runlevel: -`sudo rc-update delete {{service_name}} {{runlevel}}` +`sudo rc-update {{[del|delete]}} {{service_name}} {{runlevel}}` - Delete a service from all runlevels: -`sudo rc-update --all delete {{service_name}}` +`sudo rc-update {{[-a|--all]}} {{[del|delete]}} {{service_name}}` diff --git a/pages/linux/rcp.md b/pages/linux/rcp.md new file mode 100644 index 00000000000000..008a5564863a9e --- /dev/null +++ b/pages/linux/rcp.md @@ -0,0 +1,21 @@ +# rcp + +> Copy files between local and remote systems. +> It mimics the behavior of the `cp` command but operates across different machines. +> More information: . + +- Copy a file to a remote host: + +`rcp {{path/to/local_file}} {{username}}@{{remote_host}}:/{{path/to/destination}}/` + +- Copy a directory recursively: + +`rcp {{[-r|--recursive]}} {{path/to/local_directory}} {{username}}@{{remote_host}}:/{{path/to/destination}}/` + +- Preserve the file attributes: + +`rcp {{[-p|--preserve]}} {{path/to/local_file}} {{username}}@{{remote_host}}:/{{path/to/destination}}/` + +- Force copy without a confirmation: + +`rcp {{[-f|--from]}} {{path/to/local_file}} {{username}}@{{remote_host}}:/{{path/to/destination}}/` diff --git a/pages/linux/rdesktop.md b/pages/linux/rdesktop.md index 227bdfe29350fb..aaef8fc27e869a 100644 --- a/pages/linux/rdesktop.md +++ b/pages/linux/rdesktop.md @@ -2,6 +2,7 @@ > Remote Desktop Protocol client. > It can be used to connect the remote computer using the RDP protocol. +> More information: . - Connect to a remote computer (default port is 3389): @@ -11,7 +12,7 @@ `rdesktop -u Administrator -p passwd123 192.168.1.111:3389` -- Connect to a remote computer with full screen (press `Ctrl + Alt + Enter` to exist): +- Connect to a remote computer with full screen (press `` to exist): `rdesktop -u {{username}} -p {{password}} -f {{host:port}}` @@ -23,6 +24,6 @@ `rdesktop -u {{username}} -p {{password}} -d {{domainname}} {{host:port}}` -- Use the 16 bit color (speed up): +- Use the 16-bit color (speed up): `rdesktop -u {{username}} -p {{password}} -a 16 {{host:port}}` diff --git a/pages/linux/readcd.md b/pages/linux/readcd.md new file mode 100644 index 00000000000000..f65b437568ecfa --- /dev/null +++ b/pages/linux/readcd.md @@ -0,0 +1,8 @@ +# readcd + +> Read or write Compact Disc media data. +> More information: . + +- Read a cd and copy it to a file: + +`readcd dev={{/dev/srX}} f={{path/to/file.iso}}` diff --git a/pages/linux/readelf.md b/pages/linux/readelf.md index 87234431ffa9fb..510f9d450dc9f0 100644 --- a/pages/linux/readelf.md +++ b/pages/linux/readelf.md @@ -1,7 +1,7 @@ # readelf -> Displays information about ELF files. -> More information: . +> Display information about ELF files. +> More information: . - Display all information about the ELF file: @@ -15,6 +15,10 @@ `readelf --symbols {{path/to/binary}}` -- Display the information contained in the ELF header at the start of the file: +- Display ELF header information: `readelf --file-header {{path/to/binary}}` + +- Display ELF section header information: + +`readelf --section-headers {{path/to/binary}}` diff --git a/pages/linux/readpe.md b/pages/linux/readpe.md new file mode 100644 index 00000000000000..578fa898651b3a --- /dev/null +++ b/pages/linux/readpe.md @@ -0,0 +1,28 @@ +# readpe + +> Display information about PE files. +> More information: . + +- Display all information about a PE file: + +`readpe {{path/to/executable}}` + +- Display all the headers present in a PE file: + +`readpe --all-headers {{path/to/executable}}` + +- Display all the sections present in a PE file: + +`readpe --all-sections {{path/to/executable}}` + +- Display a specific header from a PE file: + +`readpe --header {{dos|coff|optional}} {{path/to/executable}}` + +- List all imported functions: + +`readpe --imports {{path/to/executable}}` + +- List all exported functions: + +`readpe --exports {{path/to/executable}}` diff --git a/pages/linux/reboot.md b/pages/linux/reboot.md index a09d3435cc4e30..bc55711f7140e1 100644 --- a/pages/linux/reboot.md +++ b/pages/linux/reboot.md @@ -1,11 +1,24 @@ # reboot > Reboot the system. +> More information: . -- Reboot immediately: +- Reboot the system: `reboot` -- Reboot immediately without gracefully shutting down: +- Power off the system (same as `poweroff`): -`reboot -f` +`reboot {{[-p|--poweroff]}}` + +- Halt (terminates all processes and shuts down the CPU) the system (same as `halt`): + +`reboot --halt` + +- Reboot immediately without contacting the system manager: + +`reboot {{[-f|--force]}}` + +- Write the wtmp shutdown entry without rebooting the system: + +`reboot {{[-w|--wtmp-only]}}` diff --git a/pages/linux/reflector.md b/pages/linux/reflector.md index d41cc651385848..0ba7555a543dff 100644 --- a/pages/linux/reflector.md +++ b/pages/linux/reflector.md @@ -1,6 +1,7 @@ # reflector > Arch script to fetch and sort mirrorlists. +> More information: . - Get all mirrors, sort for download speed and save them: @@ -8,8 +9,16 @@ - Only get German HTTPS mirrors: -`reflector --country {{Germany}} --protocol {{https}}` +`reflector {{[-c|--country]}} {{Germany}} {{[-p|--protocol]}} {{https}}` - Only get the 10 recently sync'd mirrors: -`reflector --latest {{10}}` +`reflector {{[-l|--latest]}} {{10}}` + +- Use a configuration file to fetch mirrors: + +`sudo reflector @{{/etc/xdg/reflector/reflector.conf}}` + +- Display help: + +`reflector {{[-h|--help]}}` diff --git a/pages/linux/register_new_matrix_user.md b/pages/linux/register_new_matrix_user.md new file mode 100644 index 00000000000000..06fe6af7abf0aa --- /dev/null +++ b/pages/linux/register_new_matrix_user.md @@ -0,0 +1,16 @@ +# register_new_matrix_user + +> Register new users in a home server when registration has been disabled. +> More information: . + +- Create a user interactively: + +`register_new_matrix_user --config {{path/to/homeserver.yaml}}` + +- Create an admin user interactively: + +`register_new_matrix_user --config {{path/to/homeserver.yaml}} --admin` + +- Create an admin user non-interactively (not recommended): + +`register_new_matrix_user --config {{path/to/homeserver.yaml}} --user {{username}} --password {{password}} --admin` diff --git a/pages/linux/remote-viewer.md b/pages/linux/remote-viewer.md new file mode 100644 index 00000000000000..f8a32839c9f03e --- /dev/null +++ b/pages/linux/remote-viewer.md @@ -0,0 +1,8 @@ +# remote-viewer + +> View desktops remotely. +> More information: . + +- View a remote using a `virt-viewer` file: + +`remote-viewer {{path/to/virt_viewer_file}}` diff --git a/pages/linux/rename.md b/pages/linux/rename.md index 64eaa060bef5f9..2068770c3580d8 100644 --- a/pages/linux/rename.md +++ b/pages/linux/rename.md @@ -1,30 +1,11 @@ # rename -> Rename multiple files. -> NOTE: this page refers to the command from the `util-linux` package. -> For the Perl version, see `file-rename` or `perl-rename`. -> Warning: This command has no safeguards and will overwrite files without prompting. +> `rename` can refer to multiple commands with the same name. -- Rename files using simple substitutions (substitute 'foo' with 'bar' wherever found): +- View documentation for the Perl version: -`rename {{foo}} {{bar}} {{*}}` +`tldr {{[-p|--platform]}} common rename` -- Dry-run - display which renames would occur without performing them: +- View documentation for the `util-linux` version: -`rename -vn {{foo}} {{bar}} {{*}}` - -- Do not overwrite existing files: - -`rename -o {{foo}} {{bar}} {{*}}` - -- Change file extensions: - -`rename {{.ext}} {{.bak}} {{*.ext}}` - -- Prepend "foo" to all filenames in the current directory: - -`rename {{''}} {{'foo'}} {{*}}` - -- Rename a group of increasingly numbered files zero-padding the numbers up to 3 digits: - -`rename {{foo}} {{foo00}} {{foo?}} && rename {{foo}} {{foo0}} {{foo??}}` +`tldr rename.util` diff --git a/pages/linux/rename.util.md b/pages/linux/rename.util.md new file mode 100644 index 00000000000000..72a06b55c86f96 --- /dev/null +++ b/pages/linux/rename.util.md @@ -0,0 +1,30 @@ +# rename + +> Rename multiple files. +> WARNING: This command will overwrite files without prompting unless the dry-run option is used. +> Note: This page refers to the command from the `util-linux` package. +> More information: . + +- Rename files using simple substitutions (substitute 'foo' with 'bar' wherever found): + +`rename {{foo}} {{bar}} {{*}}` + +- Dry-run - display which renames would occur without performing them: + +`rename {{[-vn|--verbose --no-act]}} {{foo}} {{bar}} {{*}}` + +- Do not overwrite existing files: + +`rename {{[-o|--no-overwrite]}} {{foo}} {{bar}} {{*}}` + +- Change file extensions: + +`rename {{.ext}} {{.bak}} {{*.ext}}` + +- Prepend "foo" to all filenames in the current directory: + +`rename {{''}} {{'foo'}} {{*}}` + +- Rename a group of increasingly numbered files zero-padding the numbers up to 3 digits: + +`rename {{foo}} {{foo00}} {{foo?}} && rename {{foo}} {{foo0}} {{foo??}}` diff --git a/pages/linux/renice.md b/pages/linux/renice.md new file mode 100644 index 00000000000000..f3951b9cffc76d --- /dev/null +++ b/pages/linux/renice.md @@ -0,0 +1,22 @@ +# renice + +> Alter the scheduling priority/niceness of running processes. +> Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). +> See also: `nice`. +> More information: . + +- Set the absolute priority of a running process: + +`renice --priority {{3}} {{[-p|--pid]}} {{pid}}` + +- Increase the priority of a running process: + +`sudo renice --relative {{-4}} {{[-p|--pid]}} {{pid}}` + +- Decrease the priority of all processes owned by a user: + +`renice --relative {{4}} {{[-u|--user]}} {{uid|user}}` + +- Set the priority of all processes that belong to a process group: + +`sudo renice {{-5}} {{[-g|--pgrp]}} {{process_group}}` diff --git a/pages/linux/repo-add.md b/pages/linux/repo-add.md new file mode 100644 index 00000000000000..7e5421b824f59a --- /dev/null +++ b/pages/linux/repo-add.md @@ -0,0 +1,25 @@ +# repo-add + +> Package database maintenance utility which enables installation of said package via Pacman. +> See also: `repo-remove`. +> More information: . + +- Create an empty repository: + +`repo-add {{path/to/database.db.tar.gz}}` + +- Add packages to the repository: + +`repo-add {{path/to/database.db.tar.gz}} {{package1.pkg.tar.zst package2.pkg.tar.zst ...}}` + +- Add all package binaries in the current directory and remove any outdated package files: + +`repo-add {{[-R|--remove]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}` + +- Add all package binaries in the current directory in silent mode except for warning and error messages: + +`repo-add {{[-q|--quiet]}} {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}` + +- Add all package binaries in the current directory without showing color: + +`repo-add --nocolor {{path/to/database.db.tar.gz}} {{*.pkg.tar.zst}}` diff --git a/pages/linux/repo-remove.md b/pages/linux/repo-remove.md new file mode 100644 index 00000000000000..dd38b2e716cfbc --- /dev/null +++ b/pages/linux/repo-remove.md @@ -0,0 +1,9 @@ +# repo-remove + +> Package database maintenance utility which removes packages from a local repository. +> See also: `repo-add`. +> More information: . + +- Remove a package from a local repository: + +`repo-remove {{path/to/database.db.tar.gz}} {{package}}` diff --git a/pages/linux/reportbug.md b/pages/linux/reportbug.md index a7777eefbd5b94..bddc38b7e3c124 100644 --- a/pages/linux/reportbug.md +++ b/pages/linux/reportbug.md @@ -1,7 +1,7 @@ # reportbug > Bug report tool of Debian distribution. -> More information: . +> More information: . - Generate a bug report about a specific package, then send it by e-mail: @@ -13,4 +13,4 @@ - Write the bug report to a file instead of sending it by e-mail: -`reportbug -o {{filename}} {{package}}` +`reportbug {{[-o|--output]}} {{filename}} {{package}}` diff --git a/pages/linux/repquota.md b/pages/linux/repquota.md index 64de3d0d36ccc4..5395373b0228e4 100644 --- a/pages/linux/repquota.md +++ b/pages/linux/repquota.md @@ -1,27 +1,28 @@ # repquota > Display a summary of existing file quotas for a filesystem. +> More information: . - Report stats for all quotas in use: -`sudo repquota -all` +`sudo repquota {{[-a|--all]}}` - Report quota stats for all users, even those who aren't using any of their quota: -`sudo repquota -v {{filesystem}}` +`sudo repquota {{[-v|--verbose]}} {{filesystem}}` - Report on quotas for users only: -`repquota --user {{filesystem}}` +`repquota {{[-u|--user]}} {{filesystem}}` - Report on quotas for groups only: -`sudo repquota --group {{filesystem}}` +`sudo repquota {{[-g|--group]}} {{filesystem}}` - Report on used quota and limits in a human-readable format: -`sudo repquota --human-readable {{filesystem}}` +`sudo repquota {{[-s|--human-readable]}} {{filesystem}}` - Report on all quotas for users and groups in a human-readable format: -`sudo repquota -augs` +`sudo repquota {{[-augs|--all --user --group --human-readable]}}` diff --git a/pages/linux/reptyr.md b/pages/linux/reptyr.md new file mode 100644 index 00000000000000..fa669d7041dc05 --- /dev/null +++ b/pages/linux/reptyr.md @@ -0,0 +1,13 @@ +# reptyr + +> Move a running process to a new terminal. +> Best used when you forget to start a long running task in `screen`. +> More information: . + +- Move a running process to your current terminal: + +`reptyr {{pid}}` + +- Attach to a process using its name: + +`reptyr $(pidof {{htop}})` diff --git a/pages/linux/reset.md b/pages/linux/reset.md index 2eb6954c02cdfe..78fecd15339547 100644 --- a/pages/linux/reset.md +++ b/pages/linux/reset.md @@ -1,8 +1,9 @@ # reset -> Reinitialises the current terminal. Clears the entire terminal screen. +> Reinitialize the current terminal. Clears the entire terminal screen. +> More information: . -- Reinitialise the current terminal: +- Reinitialize the current terminal: `reset` diff --git a/pages/linux/resize.md b/pages/linux/resize.md new file mode 100644 index 00000000000000..be5cb8fef97688 --- /dev/null +++ b/pages/linux/resize.md @@ -0,0 +1,12 @@ +# resize + +> Resize terminal size to the window size. +> More information: . + +- Resize the terminal: + +`resize` + +- Print terminal size: + +`resize -s` diff --git a/pages/linux/resize2fs.md b/pages/linux/resize2fs.md index aa1757471a5363..6812c6242b82b7 100644 --- a/pages/linux/resize2fs.md +++ b/pages/linux/resize2fs.md @@ -1,9 +1,10 @@ # resize2fs > Resize an ext2, ext3 or ext4 filesystem. -> Does not resize the underlying partition, and the filesystem must be unmounted. +> Does not resize the underlying partition. The filesystem may have to be unmounted first, read the man page for more details. +> More information: . -- Automatically resize a filesystem: +- Automatically resize a filesystem to its maximum possible size: `resize2fs {{/dev/sdXN}}` diff --git a/pages/linux/resolvectl.md b/pages/linux/resolvectl.md new file mode 100644 index 00000000000000..978d846d0fefd2 --- /dev/null +++ b/pages/linux/resolvectl.md @@ -0,0 +1,37 @@ +# resolvectl + +> Resolve domain names, IPv4 and IPv6 addresses, DNS resource records, and services. +> Introspect and reconfigure the DNS resolver. +> More information: . + +- Show DNS settings: + +`resolvectl status` + +- Resolve the IPv4 and IPv6 addresses for one or more domains: + +`resolvectl query {{domain1 domain2 ...}}` + +- Retrieve the domain of a specified IP address: + +`resolvectl query {{ip_address}}` + +- Flush all local DNS caches: + +`resolvectl flush-caches` + +- Display DNS statistics (transactions, cache, and DNSSEC verdicts): + +`resolvectl statistics` + +- Retrieve an MX record of a domain: + +`resolvectl --legend {{no}} {{[-t|--type]}} {{MX}} query {{domain}}` + +- Resolve an SRV record, for example _xmpp-server._tcp gmail.com: + +`resolvectl service _{{service}}._{{protocol}} {{name}}` + +- Retrieve a TLS key: + +`resolvectl tlsa tcp {{domain}}:443` diff --git a/pages/linux/resolveip.md b/pages/linux/resolveip.md index 32e55be9baa499..5c1f622ec65a5a 100644 --- a/pages/linux/resolveip.md +++ b/pages/linux/resolveip.md @@ -11,6 +11,6 @@ `resolveip {{1.1.1.1}}` -- Silent mode. Produces less output: +- Resolve a hostname to an IP address with less output: -`resolveip --silent {{example.org}}` +`resolveip {{[-s|--silent]}} {{example.org}}` diff --git a/pages/linux/restorecon.md b/pages/linux/restorecon.md new file mode 100644 index 00000000000000..a1d08d85336654 --- /dev/null +++ b/pages/linux/restorecon.md @@ -0,0 +1,25 @@ +# restorecon + +> Restore SELinux security context on files/directories according to persistent rules. +> See also: `semanage-fcontext`. +> More information: . + +- View the current security context of a file or directory: + +`ls {{[-dlZ|--directory -l --context]}} {{path/to/file_or_directory}}` + +- Restore the security context of a file or directory: + +`restorecon {{path/to/file_or_directory}}` + +- Restore the security context of a directory recursively, and show all changed labels: + +`restorecon -R -v {{path/to/directory}}` + +- Restore the security context of a directory recursively, using all available threads, and show progress: + +`restorecon -R -T {{0}} -p {{path/to/directory}}` + +- Preview the label changes that would happen without applying them: + +`restorecon -R -n -v {{path/to/directory}}` diff --git a/pages/linux/restorecond.md b/pages/linux/restorecond.md new file mode 100644 index 00000000000000..e658e3482d9c5f --- /dev/null +++ b/pages/linux/restorecond.md @@ -0,0 +1,30 @@ +# restorecond + +> Daemon that monitors file creation and automatically restores SELinux contexts. +> Useful for directories where files are frequently created with incorrect contexts. +> See also: `restorecon`, `semanage-fcontext`. +> More information: . + +- Start the `restorecond` daemon: + +`sudo restorecond` + +- Run `restorecond` in [v]erbose mode to see restoration events: + +`sudo restorecond -v` + +- Run `restorecond` in [d]ebug mode: + +`sudo restorecond -d` + +- Use alternative restorecond.conf file: + +`sudo restorecond -f restorecond_file` + +- Check the status of the restorecond service: + +`sudo systemctl status restorecond` + +- Enable restorecond to start at boot: + +`sudo systemctl enable restorecond --now` diff --git a/pages/linux/retroarch.md b/pages/linux/retroarch.md new file mode 100644 index 00000000000000..2943c210720948 --- /dev/null +++ b/pages/linux/retroarch.md @@ -0,0 +1,29 @@ +# retroarch + +> A frontend for emulators, game engines and media players. +> The reference implementation of the libretro API. +> More information: . + +- Start in the menu mode: + +`retroarch` + +- Start in full screen mode: + +`retroarch --fullscreen` + +- List all compiled features: + +`retroarch --features` + +- Set the path of a configuration file: + +`retroarch --config={{path/to/config_file}}` + +- Display help: + +`retroarch --help` + +- Display version: + +`retroarch --version` diff --git a/pages/linux/rev.md b/pages/linux/rev.md new file mode 100644 index 00000000000000..b3bed056c50c3b --- /dev/null +++ b/pages/linux/rev.md @@ -0,0 +1,28 @@ +# rev + +> Reverse a line of text or a file. +> More information: . + +- Reverse text typed into terminal: + +`rev` + +- Reverse the text string "hello": + +`echo "hello" | rev` + +- Reverse an entire file and print to `stdout`: + +`rev {{path/to/file}}` + +- Use '\0' as a line separator (zero termination): + +`rev {{[-0|--zero]}} {{path/to/file}}` + +- Display help: + +`rev {{[-h|--help]}}` + +- Display version: + +`rev {{[-V|--version]}}` diff --git a/pages/linux/rexec.md b/pages/linux/rexec.md new file mode 100644 index 00000000000000..e32051b1086705 --- /dev/null +++ b/pages/linux/rexec.md @@ -0,0 +1,21 @@ +# rexec + +> Execute a command on a remote host. +> Note: Use `rexec` with caution, as it transmits data in plain text. Consider secure alternatives like SSH for encrypted communication. +> More information: . + +- Execute a command on a remote host: + +`rexec {{[-h|--host]}} {{remote_host}} {{ls -l}}` + +- Specify the remote username on a remote host: + +`rexec {{[-u|--username]}} {{username}} {{[-h|--host]}} {{remote_host}} {{ps aux}}` + +- Redirect `stdin` from `/dev/null` on a remote host: + +`rexec {{[-n|--noerr]}} {{[-h|--host]}} {{remote_host}} {{ls -l}}` + +- Specify the remote port on a remote host: + +`rexec {{[-P|--port]}} {{1234}} {{[-h|--host]}} {{remote_host}} {{ls -l}}` diff --git a/pages/linux/rfkill.md b/pages/linux/rfkill.md index 9ecdb7dbf79ca8..a4ad0491a16043 100644 --- a/pages/linux/rfkill.md +++ b/pages/linux/rfkill.md @@ -1,6 +1,7 @@ # rfkill > Enable and disable wireless devices. +> More information: . - List devices: @@ -8,7 +9,7 @@ - Filter by columns: -`rfkill -o {{ID,TYPE,DEVICE}}` +`rfkill {{[-o|--output]}} {{ID,TYPE,DEVICE}}` - Block devices by type (e.g. bluetooth, wlan): @@ -20,4 +21,4 @@ - Output in JSON format: -`rfkill -J` +`rfkill {{[-J|--json]}}` diff --git a/pages/linux/rig.md b/pages/linux/rig.md index 90558607f559b1..9cff6ecc01f3f4 100644 --- a/pages/linux/rig.md +++ b/pages/linux/rig.md @@ -1,7 +1,7 @@ # rig > Utility to piece together a random first name, last name, street number and address, along with a geographically consistent (ie, they all match the same area) city, state, ZIP code, and area code. -> More information: . +> More information: . - Display a random name (male or female) and address: @@ -11,7 +11,7 @@ `rig -{{m|f}}` -- Use data files from a specific directory (default is `/usr/share/rig`): +- Use [d]ata files from a specific directory (default is `/usr/share/rig`): `rig -d {{path/to/directory}}` @@ -19,6 +19,6 @@ `rig -c {{number}}` -- Display a specific number of female identities: +- Display a specific number of [f]emale identities: `rig -f -c {{number}}` diff --git a/pages/linux/ripmime.md b/pages/linux/ripmime.md new file mode 100644 index 00000000000000..1dbffbfc98c95f --- /dev/null +++ b/pages/linux/ripmime.md @@ -0,0 +1,20 @@ +# ripmime + +> Extract attachments out of a MIME encoded email package. +> More information: . + +- Extract file contents in the current directory: + +`ripmime -i {{path/to/file}}` + +- Extract file contents in a specific directory: + +`ripmime -i {{path/to/file}} -d {{path/to/directory}}` + +- Extract file contents and print verbose output: + +`ripmime -i {{path/to/file}} -v` + +- Get detailed information about the whole decoding process: + +`ripmime -i {{path/to/file}} --debug` diff --git a/pages/linux/rkhunter.md b/pages/linux/rkhunter.md new file mode 100644 index 00000000000000..267823ec43db3e --- /dev/null +++ b/pages/linux/rkhunter.md @@ -0,0 +1,24 @@ +# rkhunter + +> Searches for rootkits and malware. +> More information: . + +- Check a system for rootkits and malware: + +`sudo rkhunter --check` + +- Update rkhunter: + +`sudo rkhunter --update` + +- Print all available tests: + +`sudo rkhunter --list` + +- Display version: + +`sudo rkhunter --versioncheck` + +- Display help: + +`sudo rkhunter --help` diff --git a/pages/linux/rlogin.md b/pages/linux/rlogin.md new file mode 100644 index 00000000000000..d99b816b4cf561 --- /dev/null +++ b/pages/linux/rlogin.md @@ -0,0 +1,12 @@ +# rlogin + +> Log in to a remote host. +> More information: . + +- Log in to a remote host: + +`rlogin {{remote_host}}` + +- Log in to a remote host with a specific username: + +`rlogin {{[-l|--user]}} {{username}} {{remote_host}}` diff --git a/pages/linux/rmmod.md b/pages/linux/rmmod.md new file mode 100644 index 00000000000000..4fbbeb30c484e4 --- /dev/null +++ b/pages/linux/rmmod.md @@ -0,0 +1,25 @@ +# rmmod + +> Remove modules from the Linux kernel. +> See also: `kmod` for other module management commands. +> More information: . + +- Remove a module from the kernel: + +`sudo rmmod {{module_name}}` + +- Remove a module from the kernel and display verbose information: + +`sudo rmmod --verbose {{module_name}}` + +- Remove a module from the kernel and send errors to syslog instead of `stderr`: + +`sudo rmmod --syslog {{module_name}}` + +- Display help: + +`rmmod --help` + +- Display version: + +`rmmod --version` diff --git a/pages/linux/rnm.md b/pages/linux/rnm.md new file mode 100644 index 00000000000000..326b49eda852b1 --- /dev/null +++ b/pages/linux/rnm.md @@ -0,0 +1,36 @@ +# rnm + +> Bulk Rename Utility. +> More information: . + +- Replace a search string with a replacement string in filenames: + +`rnm -ss {{old}} -rs {{new}} {{path/to/directory}}` + +- Use a fixed (literal) search and replace string instead of `regex`: + +`rnm -ssf {{old}} -rs {{new}} {{path/to/files}}` + +- Add an auto-incremented index to filenames starting from 1: + +`rnm -i 1 -inc 1 -rs {{_}} {{path/to/files}}` + +- Rename files using a list of new names from a text file: + +`rnm -ns/f {{path/to/names.txt}} {{path/to/files}}` + +- Rename only files (ignoring directories and links): + +`rnm -fo -ss {{pattern}} -rs {{replacement}} {{path/to/files}}` + +- Sort input files by modification time before renaming: + +`rnm -s/mt -ss {{pattern}} -rs {{replacement}} {{path/to/files}}` + +- Run a simulation without making actual changes: + +`rnm -sim -ss {{pattern}} -rs {{replacement}} {{path/to/files}}` + +- Undo the last renaming operation: + +`rnm -u` diff --git a/pages/linux/rofi.md b/pages/linux/rofi.md index 6c1b1ee3caf7fd..950fc6292d2594 100644 --- a/pages/linux/rofi.md +++ b/pages/linux/rofi.md @@ -1,7 +1,7 @@ # rofi > An application launcher and window switcher. -> More information: . +> More information: . - Show the list of apps: @@ -15,6 +15,6 @@ `rofi -show window` -- Pipe a list of items to stdin and print the selected item to stdout: +- Pipe a list of items to `stdin` and print the selected item to `stdout`: `printf "{{Choice1\nChoice2\nChoice3}}" | rofi -dmenu` diff --git a/pages/linux/rolldice.md b/pages/linux/rolldice.md new file mode 100644 index 00000000000000..28352cc9f1c487 --- /dev/null +++ b/pages/linux/rolldice.md @@ -0,0 +1,20 @@ +# rolldice + +> Roll virtual dice. +> More information: . + +- Roll a single 20 sided dice: + +`rolldice d{{20}}` + +- Roll two six sided dice and drop the lowest roll: + +`rolldice {{2}}d{{6}}s{{1}}` + +- Roll two 20 sided dice and add a modifier value: + +`rolldice {{2}}d{{20}}{{+5}}` + +- Roll a 20 sided dice two times: + +`rolldice {{2}}xd{{20}}` diff --git a/pages/linux/routel.md b/pages/linux/routel.md new file mode 100644 index 00000000000000..a2bee4be9e819f --- /dev/null +++ b/pages/linux/routel.md @@ -0,0 +1,21 @@ +# routel + +> List IP routing in a human readable format. +> See also: `ip route`, `route`. +> More information: . + +- Display the default routing table: + +`routel` + +- Display a specific routing table: + +`routel {{table_number|main|local|default}}` + +- Display only IPv4 routes: + +`routel {{[-4|--family inet]}}` + +- Display only IPv6 routes: + +`routel {{[-6|--family inet6]}}` diff --git a/pages/linux/rpcclient.md b/pages/linux/rpcclient.md index 50ef9f3ed14f32..193193ece1896f 100644 --- a/pages/linux/rpcclient.md +++ b/pages/linux/rpcclient.md @@ -5,19 +5,19 @@ - Connect to a remote host: -`rpcclient --user {{domain}}\{{username}}%{{password}} {{ip}}` +`rpcclient {{[-U|--user]}} {{domain}}\{{username}}%{{password}} {{ip}}` - Connect to a remote host on a domain without a password: -`rpcclient --user {{username}} --workgroup {{domain}} --no-pass {{ip}}` +`rpcclient {{[-U|--user]}} {{username}} {{[-W|--workgroup]}} {{domain}} {{[-N|--no-pass]}} {{ip}}` - Connect to a remote host, passing the password hash: -`rpcclient --user {{domain}}\{{username}} --pw-nt-hash {{ip}}` +`rpcclient {{[-U|--user]}} {{domain}}\{{username}} --pw-nt-hash {{ip}}` - Execute shell commands on a remote host: -`rpcclient --user {{domain}}\{{username}}%{{password}} --command {{semicolon_separated_commands}} {{ip}}` +`rpcclient {{[-U|--user]}} {{domain}}\{{username}}%{{password}} {{[-c|--command]}} {{semicolon_separated_commands}} {{ip}}` - Display domain users: diff --git a/pages/linux/rpcinfo.md b/pages/linux/rpcinfo.md index 70ad2dd2d96db1..170d0f8c933f84 100644 --- a/pages/linux/rpcinfo.md +++ b/pages/linux/rpcinfo.md @@ -1,6 +1,7 @@ # rpcinfo -> Makes an RPC call to an RPC server and reports what it finds. +> Make an RPC call to an RPC server and reports what it finds. +> More information: . - Show full table of all RPC services registered on localhost: diff --git a/pages/linux/rpi-eeprom-update.md b/pages/linux/rpi-eeprom-update.md new file mode 100644 index 00000000000000..3762378eb6fa63 --- /dev/null +++ b/pages/linux/rpi-eeprom-update.md @@ -0,0 +1,20 @@ +# rpi-eeprom-update + +> Update EEPROM and view other EEPROM information. +> More information: . + +- Print information about the current raspberry pi EEPROM installed: + +`sudo rpi-eeprom-update` + +- Update a raspberry pi EEPROM: + +`sudo rpi-eeprom-update -a` + +- Cancel the pending update: + +`sudo rpi-eeprom-update -r` + +- Display help: + +`rpi-eeprom-update -h` diff --git a/pages/linux/rpi-otp-private-key.md b/pages/linux/rpi-otp-private-key.md new file mode 100644 index 00000000000000..0926cec751def0 --- /dev/null +++ b/pages/linux/rpi-otp-private-key.md @@ -0,0 +1,8 @@ +# rpi-otp-private-key + +> Display the One-Time Programmable (OTP) private key of a Raspberry Pi. +> More information: . + +- Read the OTP private key: + +`rpi-otp-private-key` diff --git a/pages/linux/rpicam-hello.md b/pages/linux/rpicam-hello.md new file mode 100644 index 00000000000000..51f9ac5ad3cf66 --- /dev/null +++ b/pages/linux/rpicam-hello.md @@ -0,0 +1,12 @@ +# rpicam-hello + +> View a live camera stream using a Raspberry Pi camera. +> More information: . + +- Display a camera preview stream for a specific amount of time (in milliseconds): + +`rpicam-hello {{[-t|--timeout]}} {{time}}` + +- Tune the configuration for a particular camera sensor: + +`rpicam-hello --tuning-file {{/usr/share/libcamera/ipa/rpi/path/to/config.json}}` diff --git a/pages/linux/rpicam-jpeg.md b/pages/linux/rpicam-jpeg.md new file mode 100644 index 00000000000000..e0712a4ee550e2 --- /dev/null +++ b/pages/linux/rpicam-jpeg.md @@ -0,0 +1,16 @@ +# rpicam-jpeg + +> Capture and store a JPEG image using a Raspberry Pi camera. +> More information: . + +- Capture an image and name the file: + +`rpicam-jpeg {{[-o|--output]}} {{path/to/file.jpg}}` + +- Capture an image with set dimensions: + +`rpicam-jpeg {{[-o|--output]}} {{path/to/file.jpg}} --width {{1920}} --height {{1080}}` + +- Capture an image with an exposure of 20 seconds and a gain of 150%: + +`rpicam-jpeg {{[-o|--output]}} {{path/to/file.jpg}} --shutter 20000 --gain 1.5` diff --git a/pages/linux/rpicam-raw.md b/pages/linux/rpicam-raw.md new file mode 100644 index 00000000000000..cbcc3a8d0041c2 --- /dev/null +++ b/pages/linux/rpicam-raw.md @@ -0,0 +1,12 @@ +# rpicam-raw + +> Capture a raw video on a Raspberry Pi camera. +> More information: . + +- Capture a video for a specific amount of seconds: + +`rpicam-raw {{[-t|--timeout]}} {{2000}} {{[-o|--output]}} {{path/to/file.raw}}` + +- Change video dimensions and framerate: + +`rpicam-raw {{[-t|--timeout]}} {{5000}} --width {{4056}} --height {{3040}} {{[-o|--output]}} {{path/to/file.raw}} --framerate {{8}}` diff --git a/pages/linux/rpicam-still.md b/pages/linux/rpicam-still.md new file mode 100644 index 00000000000000..58426a34a63772 --- /dev/null +++ b/pages/linux/rpicam-still.md @@ -0,0 +1,16 @@ +# rpicam-still + +> Capture and store a photo using a Raspberry Pi camera with legacy features missing from `rpicam-jpeg`. +> More information: . + +- Capture a photo with different encoding: + +`rpicam-still {{[-e|--encoding]}} {{bmp|png|rgb|yuv420}} {{[-o|--output]}} {{path/to/file.[bmp|png|rgb|yuv420]}}` + +- Capture a raw image: + +`rpicam-still {{[-r|--raw]}} {{[-o|--output]}} {{path/to/file.jpg}}` + +- Capture a 100 second exposure image: + +`rpicam-still {{[-o|--output]}} {{path/to/file.jpg}} --shutter 100000` diff --git a/pages/linux/rpicam-vid.md b/pages/linux/rpicam-vid.md new file mode 100644 index 00000000000000..f5a2a00f8d79ae --- /dev/null +++ b/pages/linux/rpicam-vid.md @@ -0,0 +1,9 @@ +# rpicam-vid + +> Capture a video using a Raspberry Pi camera. +> See also: `vlc`. +> More information: . + +- Capture a 10 second video: + +`rpicam-vid {{[-t|--timeout]}} 10000 {{[-o|--output]}} {{path/to/file.h264}}` diff --git a/pages/linux/rpm-ostree.md b/pages/linux/rpm-ostree.md new file mode 100644 index 00000000000000..f0265ddbac4106 --- /dev/null +++ b/pages/linux/rpm-ostree.md @@ -0,0 +1,25 @@ +# rpm-ostree + +> A hybrid image/package system. +> Manage ostree deployments, package layers, filesystem overlays, and boot configuration. +> More information: . + +- Show rpm-ostree deployments in the order they will appear in the bootloader: + +`rpm-ostree status` + +- Show packages which are outdated and can be updated: + +`rpm-ostree upgrade --preview` + +- Prepare a new ostree deployment with upgraded packages and reboot into it: + +`rpm-ostree upgrade {{[-r|--reboot]}}` + +- Reboot into the previous ostree deployment: + +`rpm-ostree rollback {{[-r|--reboot]}}` + +- Install a package into a new ostree deployment and reboot into it: + +`rpm-ostree install {{package}} {{[-r|--reboot]}}` diff --git a/pages/linux/rpm.md b/pages/linux/rpm.md index 2c51e99e827f6d..28e02cc6c32be6 100644 --- a/pages/linux/rpm.md +++ b/pages/linux/rpm.md @@ -1,31 +1,37 @@ # rpm > RPM Package Manager. +> For equivalent commands in other package managers, see . +> More information: . - Show version of httpd package: -`rpm -q {{httpd}}` +`rpm {{[-q|--query]}} httpd` - List versions of all matching packages: -`rpm -qa '{{mariadb*}}'` +`rpm {{[-qa|--query --all]}} '{{mariadb*}}'` - Forcibly install a package regardless of currently installed versions: -`rpm -U {{package_name.rpm}} --force` +`rpm {{[-U|--upgrade]}} {{path/to/package.rpm}} --force` - Identify owner of a file and show version of the package: -`rpm -qf {{/etc/postfix/main.cf}}` +`rpm {{[-qf|--query --file]}} {{/etc/postfix/main.cf}}` - List package-owned files: -`rpm -ql {{kernel}}` +`rpm {{[-ql|--query --list]}} {{kernel}}` - Show scriptlets from an RPM file: -`rpm -qp --scripts {{package_name.rpm}}` +`rpm {{[-qp|--query --package]}} --scripts {{package.rpm}}` - Show changed, missing and/or incorrectly installed files of matching packages: -`rpm -Va '{{php-*}}'` +`rpm {{[-Va|--verify --all]}} '{{php-*}}'` + +- Display the changelog of a specific package: + +`rpm {{[-q|--query]}} --changelog {{package}}` diff --git a/pages/linux/rpm2cpio.md b/pages/linux/rpm2cpio.md new file mode 100644 index 00000000000000..1ad837fb1eebec --- /dev/null +++ b/pages/linux/rpm2cpio.md @@ -0,0 +1,8 @@ +# rpm2cpio + +> Convert an RPM package to a `cpio` archive. +> More information: . + +- Convert an RPM package to a `cpio` archive and save it as `file.cpio` in the current directory: + +`rpm2cpio {{path/to/file.rpm}}` diff --git a/pages/linux/rpmbuild.md b/pages/linux/rpmbuild.md index c913254d4e5f21..d5eb25847868a1 100644 --- a/pages/linux/rpmbuild.md +++ b/pages/linux/rpmbuild.md @@ -1,7 +1,7 @@ # rpmbuild > RPM Package Build tool. -> More information: . +> More information: . - Build binary and source packages: diff --git a/pages/linux/rpmconf.md b/pages/linux/rpmconf.md new file mode 100644 index 00000000000000..222f50d49d8757 --- /dev/null +++ b/pages/linux/rpmconf.md @@ -0,0 +1,13 @@ +# rpmconf + +> Handle RPMNEW, RPMSAVE and RPMORIG files left over by package upgrades. +> See also: `rpm`. +> More information: . + +- List leftover files and interactively choose what to do with each of them: + +`sudo rpmconf --all` + +- Delete orphaned RPMNEW and RPMSAVE files: + +`sudo rpmconf --all --clean` diff --git a/pages/linux/rpmkeys.md b/pages/linux/rpmkeys.md new file mode 100644 index 00000000000000..61aeec623c58d1 --- /dev/null +++ b/pages/linux/rpmkeys.md @@ -0,0 +1,17 @@ +# rpmkeys + +> Tool to import and remove RPM keys for RPM repositories. +> When adding an RPM repository, you must also import the corresponding RPM key. +> More information: . + +- List all imported RPM keys. Also outputs its Key ID needed for deleting a imported RPM key: + +`sudo rpmkeys --list` + +- Remove/Delete a previously imported RPM key, given by its 16-Number/Letters Key ID: + +`sudo rpmkeys --delete {{5a278d9c-5bbc73cb}}` + +- Import an RPM key of repository: + +`sudo rpmkeys --import {{path/to/rpm_key}}` diff --git a/pages/linux/rpmspec.md b/pages/linux/rpmspec.md new file mode 100644 index 00000000000000..ca708a01f605cd --- /dev/null +++ b/pages/linux/rpmspec.md @@ -0,0 +1,24 @@ +# rpmspec + +> Query a RPM spec file. +> More information: . + +- List binary packages which would be generated from a RPM spec file: + +`rpmspec --query {{path/to/rpm.spec}}` + +- List all options for `--queryformat`: + +`rpmspec --querytags` + +- Get summary information for single binary packages generated from a RPM spec file: + +`rpmspec --query --queryformat "{{%{name}: %{summary}\n}}" {{path/to/rpm.spec}}` + +- Get the source package which would be generated from a RPM spec file: + +`rpmspec --query --srpm {{path/to/rpm.spec}}` + +- Parse a RPM spec file to `stdout`: + +`rpmspec --parse {{path/to/rpm.spec}}` diff --git a/pages/linux/rsh.md b/pages/linux/rsh.md new file mode 100644 index 00000000000000..1326db36793713 --- /dev/null +++ b/pages/linux/rsh.md @@ -0,0 +1,16 @@ +# rsh + +> Execute commands on a remote host. +> More information: . + +- Execute a command on a remote host: + +`rsh {{remote_host}} {{ls -l}}` + +- Execute a command on a remote host with a specific username: + +`rsh {{remote_host}} {{[-l|--user]}} {{username}} {{ls -l}}` + +- Redirect `stdin` to `/dev/null` when executing a command on a remote host: + +`rsh {{remote_host}} --no-err {{ls -l}}` diff --git a/pages/linux/rspamc.md b/pages/linux/rspamc.md index 32d7284c7a8706..4fdf5b79538fc0 100644 --- a/pages/linux/rspamc.md +++ b/pages/linux/rspamc.md @@ -1,6 +1,7 @@ # rspamc -> Command line client for rspamd servers. +> Client for `rspamd` servers. +> More information: . - Train the bayesian filter to recognise an email as spam: diff --git a/pages/linux/rtcwake.md b/pages/linux/rtcwake.md index 27d5536615767b..5adff9b04c0e97 100644 --- a/pages/linux/rtcwake.md +++ b/pages/linux/rtcwake.md @@ -1,27 +1,28 @@ # rtcwake -> Enter a system sleep state until specified wakeup time relative to your bios clock. +> Enter a system sleep state until specified wakeup time relative to your BIOS clock. +> More information: . - Show whether an alarm is set or not: -`sudo rtcwake -m show -v` +`sudo rtcwake {{[-m|--mode]}} show {{[-v|--verbose]}}` -- Suspend to ram and wakeup after 10 seconds: +- Suspend to RAM and wakeup after 10 seconds: -`sudo rtcwake -m mem -s {{10}}` +`sudo rtcwake {{[-m|--mode]}} mem {{[-s|--seconds]}} {{10}}` - Suspend to disk (higher power saving) and wakeup 15 minutes later: -`sudo rtcwake -m disk --date +{{15}}min` +`sudo rtcwake {{[-m|--mode]}} disk --date +{{15}}min` -- Freeze the system (more efficient than suspend-to-ram but linux > 3.9 required) and wakeup at a given date and time: +- Freeze the system (more efficient than suspend-to-RAM but version 3.9 or newer of the Linux kernel is required) and wakeup at a given date and time: -`sudo rtcwake -m freeze --date {{YYYYMMDDhhmm}}` +`sudo rtcwake {{[-m|--mode]}} freeze --date {{YYYYMMDDhhmm}}` - Disable a previously set alarm: -`sudo rtcwake -m disable` +`sudo rtcwake {{[-m|--mode]}} disable` -- Perform a dry run to wakeup the computer at a given time. (Press Ctrl + C to abort): +- Perform a dry run to wakeup the computer at a given time. (Press `` to abort): -`sudo rtcwake -m on --date {{hh:ss}}` +`sudo rtcwake {{[-m|--mode]}} on --date {{hh:ss}}` diff --git a/pages/linux/rtmon.md b/pages/linux/rtmon.md new file mode 100644 index 00000000000000..fc5e9c4f0a6d19 --- /dev/null +++ b/pages/linux/rtmon.md @@ -0,0 +1,12 @@ +# rtmon + +> Save network state changes to a file. +> More information: . + +- Save all network state changes to a file: + +`sudo rtmon {{[f|file]}} {{path/to/file}}` + +- Specify the type of change to log: + +`sudo rtmon {{[f|file}} {{link|address|route}}` diff --git a/pages/linux/rtorrent.md b/pages/linux/rtorrent.md index 14cf9d7e839add..11cf27c3d4f5d1 100644 --- a/pages/linux/rtorrent.md +++ b/pages/linux/rtorrent.md @@ -1,6 +1,7 @@ # rtorrent -> Download torrents over the command line. +> Download torrents. +> More information: . - Add a torrent file or magnet to be downloaded: @@ -8,12 +9,12 @@ - Start the download: -`S` +`` - View details about downloading torrent: -`->` +`` - Close rtorrent safely: -`Q` +`` diff --git a/pages/linux/ruget.md b/pages/linux/ruget.md new file mode 100644 index 00000000000000..3d387f5fcf2cef --- /dev/null +++ b/pages/linux/ruget.md @@ -0,0 +1,12 @@ +# ruget + +> Alternative to wget written in Rust. +> More information: . + +- Download the contents of a URL to a file: + +`ruget {{https://example.com/file}}` + +- Download the contents of a URL to a specified output file: + +`ruget {{[-o|--output]}} {{file_name}} {{https://example.com/file}}` diff --git a/pages/linux/run-mailcap.md b/pages/linux/run-mailcap.md index f5de973ca4af0d..63e2cc2bf1ac32 100644 --- a/pages/linux/run-mailcap.md +++ b/pages/linux/run-mailcap.md @@ -2,23 +2,20 @@ > Run MailCap Programs. > Run mailcap view, see, edit, compose, print - execute programs via entries in the mailcap file (or any of its aliases) will use the given action to process each mime-type/file. +> More information: . -- Individual actions/programs on run-mailcap can be invoked with action flag: +- Invoke individual actions/programs on run-mailcap: -`run-mailcap --action=ACTION [--option[=value]]` - -- In simple language: - -`run-mailcap --action=ACTION {{filename}}` +`run-mailcap --action={{view|cat|compose|composetyped|edit|print}} {{path/to/file}}` - Turn on extra information: -`run-mailcap --action=ACTION --debug {{filename}}` +`run-mailcap --action={{action}} --debug {{path/to/file}}` -- Ignore any "copiousoutput" directive and forward output to standard output: +- Ignore any "copiousoutput" directive and forward output to `stdout`: -`run-mailcap --action=ACTION --nopager {{filename}}` +`run-mailcap --action={{action}} --nopager {{path/to/file}}` - Display the found command without actually executing it: -`run-mailcap --action=ACTION --norun {{filename}}` +`run-mailcap --action={{action}} --norun {{path/to/file}}` diff --git a/pages/linux/run0.md b/pages/linux/run0.md new file mode 100644 index 00000000000000..ae803fa9ece6ab --- /dev/null +++ b/pages/linux/run0.md @@ -0,0 +1,13 @@ +# run0 + +> Elevate privileges interactively. +> Similar to `sudo`, but it's not a SUID binary, authentication takes place via polkit, and commands are invoked from a `systemd` service. +> More information: . + +- Run a command as root: + +`run0 {{command}}` + +- Run a command as another user and/or group: + +`run0 {{[-u|--user]}} {{username|uid}} {{[-g|--group]}} {{group_name|gid}} {{command}}` diff --git a/pages/linux/run_init.md b/pages/linux/run_init.md new file mode 100644 index 00000000000000..60403e5ef5da4e --- /dev/null +++ b/pages/linux/run_init.md @@ -0,0 +1,22 @@ +# run_init + +> Run init scripts in the proper SELinux context. +> Typically used to run system service scripts with correct SELinux domains. +> See also: `runcon`, `semanage`. +> More information: . + +- Run a script in the init script context: + +`sudo run_init {{path/to/script}}` + +- Run a script with arguments: + +`sudo run_init {{path/to/script}} {{start|stop|restart}}` + +- Run a script and specify the init script context explicitly: + +`sudo run_init {{[-t|--type]}} {{context_type}} {{path/to/script}}` + +- Display the context that would be used without running the script: + +`sudo run_init {{[-n|--dry-run]}} {{path/to/script}}` diff --git a/pages/linux/runcon.md b/pages/linux/runcon.md index ed3a6fa8e9a226..2ffc78a1deb9a8 100644 --- a/pages/linux/runcon.md +++ b/pages/linux/runcon.md @@ -1,19 +1,20 @@ # runcon > Run a program in a different SELinux security context. -> With neither context nor command, print the current security context. +> See also: `secon`. +> More information: . -- Determine the current domain: +- Print the security context of the current execution context: `runcon` - Specify the domain to run a command in: -`runcon -t {{domain}}_t {{command}}` +`runcon {{[-t|--type]}} {{domain}}_t {{command}}` - Specify the context role to run a command with: -`runcon -r {{role}}_r {{command}}` +`runcon {{[-r|--role]}} {{role}}_r {{command}}` - Specify the full context to run a command with: diff --git a/pages/linux/runit.md b/pages/linux/runit.md deleted file mode 100644 index 841092117b2794..00000000000000 --- a/pages/linux/runit.md +++ /dev/null @@ -1,11 +0,0 @@ -# runit - -> 3-stage init system. - -- Start runit's 3-stage init scheme: - -`runit` - -- Shut down runit: - -`kill --CONT {{runit_pid}}` diff --git a/pages/linux/runlevel.md b/pages/linux/runlevel.md new file mode 100644 index 00000000000000..dc209f06279a95 --- /dev/null +++ b/pages/linux/runlevel.md @@ -0,0 +1,13 @@ +# runlevel + +> SysV runlevel utility. +> See also: `init`. +> More information: . + +- Return previous and current SysV runlevel: + +`runlevel` + +- Display help: + +`runlevel --help` diff --git a/pages/linux/runlim.md b/pages/linux/runlim.md new file mode 100644 index 00000000000000..2e3498824edceb --- /dev/null +++ b/pages/linux/runlim.md @@ -0,0 +1,24 @@ +# runlim + +> Sample and limit time and memory usage of a program and its child processes using the proc file system on Linux. +> More information: . + +- Print the time and memory usage of a command: + +`runlim {{command}} {{command_arguments}}` + +- Log statistics to a file instead of `stdout`: + +`runlim --output-file={{path/to/file}} {{command}} {{command_arguments}}` + +- Limit time to an upper bound (in seconds): + +`runlim --time-limit={{number}} {{command}} {{command_arguments}}` + +- Limit real-time to an upper bound (in seconds): + +`runlim --real-time-limit={{number}} {{command}} {{command_arguments}}` + +- Limit space to an upper bound (in MB): + +`runlim --space-limit={{number}} {{command}} {{command_arguments}}` diff --git a/pages/linux/runsv.md b/pages/linux/runsv.md deleted file mode 100644 index 8b131ae6a8ab48..00000000000000 --- a/pages/linux/runsv.md +++ /dev/null @@ -1,11 +0,0 @@ -# runsv - -> Start and manage a runit service. - -- Start a runit service as the current user: - -`runsv {{path/to/service}}` - -- Start a runit service as root: - -`sudo runsv {{path/to/service}}` diff --git a/pages/linux/runsvchdir.md b/pages/linux/runsvchdir.md deleted file mode 100644 index 0516aa4c370a3b..00000000000000 --- a/pages/linux/runsvchdir.md +++ /dev/null @@ -1,8 +0,0 @@ -# runsvchdir - -> Change the directory `runsvdir` uses by default. -> More information: . - -- Switch `runsvdir` directories: - -`sudo runsvchdir {{path/to/directory}}` diff --git a/pages/linux/runsvdir.md b/pages/linux/runsvdir.md deleted file mode 100644 index bc1ad17b16225d..00000000000000 --- a/pages/linux/runsvdir.md +++ /dev/null @@ -1,15 +0,0 @@ -# runsvdir - -> Run an entire directory of services. - -- Start and manage all services in a directory as the current user: - -`runsvdir {{path/to/services}}` - -- Start and manage all services in a directory as root: - -`sudo runsvdir {{path/to/services}}` - -- Start services in separate sessions: - -`runsvdir -P {{path/to/services}}` diff --git a/pages/linux/runuser.md b/pages/linux/runuser.md index 7f74add2f4c203..ee767545112b05 100644 --- a/pages/linux/runuser.md +++ b/pages/linux/runuser.md @@ -1,23 +1,24 @@ # runuser -> Run commands as a specific user and group without asking for password (needs root privileges). +> Run commands as a user and group without asking for password (needs root privileges). +> More information: . - Run command as a different user: -`runuser {{user}} -c '{{command}}'` +`runuser {{user}} {{[-c|--command]}} '{{command}}'` - Run command as a different user and group: -`runuser {{user}} -g {{group}} -c '{{command}}'` +`runuser {{user}} {{[-g|--group]}} {{group}} {{[-c|--command]}} '{{command}}'` - Start a login shell as a specific user: -`runuser {{user}} -l` +`runuser {{user}} {{[-l|--login]}}` - Specify a shell for running instead of the default shell (also works for login): -`runuser {{user}} -s {{/bin/sh}}` +`runuser {{user}} {{[-s|--shell]}} {{/bin/sh}}` - Preserve the entire environment of root (only if `--login` is not specified): -`runuser {{user}} --preserve-environment -c '{{command}}'` +`runuser {{user}} {{[-p|--preserve-environment]}} {{[-c|--command]}} '{{command}}'` diff --git a/pages/linux/rusnapshot.md b/pages/linux/rusnapshot.md new file mode 100644 index 00000000000000..10d54fc499bf05 --- /dev/null +++ b/pages/linux/rusnapshot.md @@ -0,0 +1,28 @@ +# rusnapshot + +> BTRFS snapshotting utility written in Rust. +> More information: . + +- Create a snapshot using a configuration file: + +`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --cr` + +- List created snapshots: + +`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} {{[-l|--list]}}` + +- Delete a snapshot by ID or the name of the snapshot: + +`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --del --id {{snapshot_id}}` + +- Delete all `hourly` snapshots: + +`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} {{[-l|--list]}} {{[-k|--keep]}} {{0}} --clean --kind {{hourly}}` + +- Create a read-write snapshot: + +`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --cr {{[-r|--rw]}}` + +- Restore a snapshot: + +`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --id {{snapshot_id}} {{[-r|--restore]}}` diff --git a/pages/linux/sa.md b/pages/linux/sa.md index 4e97d6cfcd7603..095a80c4d1ecd1 100644 --- a/pages/linux/sa.md +++ b/pages/linux/sa.md @@ -1,7 +1,8 @@ # sa -> Summarizes accounting information. Part of the acct package. -> Shows commands called by users, including basic info on CPU time spent processing and I/O rates. +> Summarize accounting information about commands called by users, including basic information on CPU time spent processing and I/O rates. +> Part of the `acct` package. +> More information: . - Display executable invocations per user (username not displayed): diff --git a/pages/linux/sacct.md b/pages/linux/sacct.md index e14644c363d0e5..93b8520bf93fcd 100644 --- a/pages/linux/sacct.md +++ b/pages/linux/sacct.md @@ -3,18 +3,26 @@ > Display accounting data from the Slurm service. > More information: . -- Display job id, job name, partition, account, number of allocated cpus, job state, and job exit codes for recent jobs: +- Display job ID, job name, partition, account, number of allocated cpus, job state, and job exit codes for recent jobs: `sacct` -- Display job id, job state, job exit code for recent jobs: +- Display job ID, job state, job exit code for recent jobs: -`sacct --brief` +`sacct {{[-b|--brief]}}` - Display the allocations of a job: -`sacct --jobs {{job_id}} --allocations` +`sacct {{[-j|--jobs]}} {{job_id}} {{[-X|--allocations]}}` - Display elapsed time, job name, number of requested CPUs, and memory requested of a job: -`sacct --jobs {{job_id}} --format={{elapsed}},{{jobname}},{{reqcpus}},{{reqmem}}` +`sacct {{[-j|--jobs]}} {{job_id}} {{[-o|--format]}} Elapsed,JobName,ReqCPUS,ReqMem` + +- Display recent jobs that occurred from one week ago up to the present day: + +`sacct {{[-S|--starttime]}} $(date {{[-d|--date]}} "1 week ago" +'%F')` + +- Output a larger number of characters for an attribute: + +`sacct {{[-o|--format]}} JobID,JobName%100` diff --git a/pages/linux/sacctmgr.md b/pages/linux/sacctmgr.md index 2a2fc90cb4374a..7ff68333f9dd0f 100644 --- a/pages/linux/sacctmgr.md +++ b/pages/linux/sacctmgr.md @@ -15,6 +15,6 @@ `sacctmgr add account {{account_name}} cluster={{cluster_of_account}}` -- Show details of user/association/cluster/account: +- Show details of user/association/cluster/account using a specific format: -`sacctmgr show {{user/association/cluster/account}}` +`sacctmgr show {{user|association|cluster|account}} format="Account%10" format="GrpTRES%30"` diff --git a/pages/linux/salloc.md b/pages/linux/salloc.md new file mode 100644 index 00000000000000..d11ae4deafd691 --- /dev/null +++ b/pages/linux/salloc.md @@ -0,0 +1,16 @@ +# salloc + +> Start an interactive shell session or execute a command by allocating one or more nodes in a cluster. +> More information: . + +- Start an interactive shell session on a node in the cluster: + +`salloc` + +- Execute the specified command synchronously on a node in the cluster: + +`salloc {{ls --all}}` + +- Only allocate nodes fulfilling the specified constraints: + +`salloc {{[-C|--constraint]}} {{(amd|intel)&gpu}}` diff --git a/pages/linux/sam.md b/pages/linux/sam.md index 5b1e996f95a072..ee5e72ba18b536 100644 --- a/pages/linux/sam.md +++ b/pages/linux/sam.md @@ -1,7 +1,7 @@ # sam > AWS Serverless Application Model (SAM) CLI. -> More information: . +> More information: . - Initialize a serverless application: @@ -9,7 +9,7 @@ - Initialize a serverless application with a specific runtime: -`sam init --runtime {{python3.7}}` +`sam init {{[-r|--runtime]}} {{python3.7}}` - Package a SAM application: diff --git a/pages/linux/sar.md b/pages/linux/sar.md index f3d04ee0369682..432d52d1368132 100644 --- a/pages/linux/sar.md +++ b/pages/linux/sar.md @@ -1,8 +1,9 @@ # sar > Monitor performance of various Linux subsystems. +> More information: . -- Report I/O and transfer rate issued to physical devices, one per second (press CTRL+C to quit): +- Report I/O and transfer rate issued to physical devices, one per second (press `` to quit): `sar -b {{1}}` diff --git a/pages/linux/sattach.md b/pages/linux/sattach.md new file mode 100644 index 00000000000000..29d73ac7597cf9 --- /dev/null +++ b/pages/linux/sattach.md @@ -0,0 +1,16 @@ +# sattach + +> Attach to a Slurm job step. +> More information: . + +- Redirect the IO streams (`stdout`, `stderr`, and `stdin`) of a Slurm job step to the current terminal: + +`sattach {{jobid}}.{{stepid}}` + +- Use the current console's input as `stdin` to the specified task: + +`sattach --input-filter {{task_number}}` + +- Only redirect `stdin`/`stderr` of the specified task: + +`sattach --{{output|error}}-filter {{task_number}}` diff --git a/pages/linux/sbatch.md b/pages/linux/sbatch.md index 34c53678abce41..7503d0c1690e82 100644 --- a/pages/linux/sbatch.md +++ b/pages/linux/sbatch.md @@ -1,6 +1,7 @@ # sbatch > Submit a batch job to the SLURM scheduler. +> More information: . - Submit a batch job: diff --git a/pages/linux/sbcast.md b/pages/linux/sbcast.md new file mode 100644 index 00000000000000..16da031689b2a9 --- /dev/null +++ b/pages/linux/sbcast.md @@ -0,0 +1,13 @@ +# sbcast + +> Send a file to a job's allocated nodes. +> This command should only be used from within a Slurm batch job. +> More information: . + +- Send a file to all nodes allocated to the current job: + +`sbcast {{path/to/file}} {{path/to/destination}}` + +- Autodetect shared libraries the transmitted file depends upon and transmit them as well: + +`sbcast --send-libs={{yes}} {{path/to/executable}} {{path/to/destination}}` diff --git a/pages/linux/sbctl.md b/pages/linux/sbctl.md new file mode 100644 index 00000000000000..b254ae05ba9b19 --- /dev/null +++ b/pages/linux/sbctl.md @@ -0,0 +1,33 @@ +# sbctl + +> A user-friendly secure boot key manager. +> Note: Not enrolling Microsoft's certificates can brick your system. See . +> More information: . + +- Show the current secure boot status: + +`sbctl status` + +- Create custom secure boot keys (by default, everything is stored in `/var/lib/sbctl`): + +`sbctl create-keys` + +- Enroll the custom secure boot keys and Microsoft's UEFI vendor certificates: + +`sbctl enroll-keys {{[-m|--microsoft]}}` + +- Automatically run `create-keys` and `enroll-keys` based on the settings in `/etc/sbctl/sbctl.conf`: + +`sbctl setup --setup` + +- Sign an EFI binary with the created key and save the file to the database: + +`sbctl sign {{[-s|--save]}} {{path/to/efi_binary}}` + +- Re-sign all the saved files: + +`sbctl sign-all` + +- Verify that all EFI executables on the EFI system partition have been signed: + +`sbctl verify` diff --git a/pages/linux/scanimage.md b/pages/linux/scanimage.md index 6f374fc806ec27..8181495403a082 100644 --- a/pages/linux/scanimage.md +++ b/pages/linux/scanimage.md @@ -5,8 +5,16 @@ - List available scanners to ensure the target device is connected and recognized: -`scanimage -L` +`scanimage {{[-L|--list-devices]}}` - Scan an image and save it to a file: -`scanimage --format={{pnm|tiff|png|jpeg}} > {{path/to/new_image}}` +`scanimage --format {{pnm|tiff|png|jpeg|pdf|...}} > {{path/to/new_image}}` + +- Specify the device to scan from: + +`scanimage {{[-d|--device]}} {{device_name}} > {{path/to/new_image}}` + +- Specify resolution for the scanned image (default resolution is 75dpi): + +`scanimage --resolution {{300}} > {{path/to/new_image}}` diff --git a/pages/linux/schroot.md b/pages/linux/schroot.md index 6f05c8499abd57..772af42448349d 100644 --- a/pages/linux/schroot.md +++ b/pages/linux/schroot.md @@ -1,8 +1,12 @@ # schroot -> Run command or start an interactive shell with a different root directory. More customizable than `chroot`. +> Run a command or start an interactive shell with a different root directory. More customizable than `chroot`. > More information: . +- List available chroots: + +`schroot --list` + - Run a command in a specific chroot: `schroot --chroot {{chroot}} {{command}}` @@ -15,10 +19,18 @@ `schroot --all {{command}}` -- Start an interactive shell with in a specific chroot as a specific user: +- Start an interactive shell within a specific chroot as a specific user: `schroot --chroot {{chroot}} --user {{user}}` -- List available chroots: +- Begin a new session (a unique session ID is returned on `stdout`): -`schroot --list` +`schroot --begin-session --chroot {{chroot}}` + +- Connect to an existing session: + +`schroot --run-session --chroot {{session_id}}` + +- End an existing session: + +`schroot --end-session --chroot {{session_id}}` diff --git a/pages/linux/scontrol.md b/pages/linux/scontrol.md index c1cc94b9d5742f..6ea5236abcf62a 100644 --- a/pages/linux/scontrol.md +++ b/pages/linux/scontrol.md @@ -9,16 +9,16 @@ - Suspend a comma-separated list of running jobs: -`scontrol suspend {{job_id}}` +`scontrol suspend {{job_id1,job_id2,...}}` - Resume a comma-separated list of suspended jobs: -`scontrol resume {{job_id}}` +`scontrol resume {{job_id1,job_id2,...}}` - Hold a comma-separated list of queued jobs (Use `release` command to permit the jobs to be scheduled): -`scontrol hold {{job_id}}` +`scontrol hold {{job_id1,job_id2,...}}` - Release a comma-separated list of suspended job: -`scontrol release {{job_id}}` +`scontrol release {{job_id1,job_id2,...}}` diff --git a/pages/linux/screenkey.md b/pages/linux/screenkey.md new file mode 100644 index 00000000000000..a05eaf114e77d7 --- /dev/null +++ b/pages/linux/screenkey.md @@ -0,0 +1,32 @@ +# screenkey + +> A screencast tool to display keys pressed. +> More information: . + +- Display keys which are currently being pressed on the screen: + +`screenkey` + +- Display keys and mouse buttons which are currently being pressed on the screen: + +`screenkey {{[-M|--mouse]}}` + +- Launch the settings menu of screenkey: + +`screenkey --show-settings` + +- Launch screenkey at a specific position: + +`screenkey {{[-p|--position]}} {{top|center|bottom|fixed}}` + +- Change the format of the key modifiers displayed on screen: + +`screenkey --mods-mode {{normal|emacs|mac|win|tux}}` + +- Change the appearance of screenkey: + +`screenkey --bg-color "{{#a1b2c3}}" {{[-f|--font]}} {{Hack}} --font-color {{yellow}} --opacity {{0.8}}` + +- Drag and select a window on screen to display screenkey: + +`screenkey {{[-p|--position]}} fixed {{[-g|--geometry]}} {{$(slop --nodecorations --format '%g')}}` diff --git a/pages/linux/script.md b/pages/linux/script.md index d9bc4a0a3f2910..9d0de2a51c9e0a 100644 --- a/pages/linux/script.md +++ b/pages/linux/script.md @@ -1,19 +1,36 @@ # script -> Record all terminal output to file. +> Record all terminal output to a typescript file. +> More information: . - Record a new session to a file named `typescript` in the current directory: `script` +- Stop recording: + +`exit` + - Record a new session to a custom filepath: `script {{path/to/session.out}}` -- Record a new session, appending to an existing file: +- Append to an existing file: + +`script {{[-a|--append]}} {{logfile.log}}` + +- Record timing information (data is outputted to `stderr`): + +`script {{[-t|--timing]}} 2> {{path/to/timing_file}}` + +- Write out data as soon as it happens: + +`script {{[-f|--flush]}} {{path/to/file}}` + +- Execute quietly without start and done messages: -`script -a {{path/to/session.out}}` +`script {{[-q|--quiet]}} {{logfile.log}}` -- Record timing information (data is outputted to the standard error): +- Display help: -`script -t 2> {{path/to/timingfile}}` +`script {{[-h|--help]}}` diff --git a/pages/linux/scriptlive.md b/pages/linux/scriptlive.md new file mode 100644 index 00000000000000..00110b1c0568db --- /dev/null +++ b/pages/linux/scriptlive.md @@ -0,0 +1,21 @@ +# scriptlive + +> Execute a typescript created by the `script` command in real-time. +> See also: `script`. +> More information: . + +- Execute a typescript in real-time: + +`scriptlive {{path/to/timing_file}} {{path/to/typescript}}` + +- Execute a typescript at double the original speed: + +`scriptlive {{path/to/timing_file}} {{path/to/typescript}} --divisor 2` + +- Execute a typescript created using `--log-in` option of `script`: + +`scriptlive --log-in {{path/to/stdin_log_file}} {{path/to/typescript}}` + +- Execute a typescript waiting at most 2 seconds between each command: + +`scriptlive {{path/to/timing_file}} {{path/to/typescript}} --maxdelay 2` diff --git a/pages/linux/scriptreplay.md b/pages/linux/scriptreplay.md index 001a1f569a801d..58f205ff0ff4f1 100644 --- a/pages/linux/scriptreplay.md +++ b/pages/linux/scriptreplay.md @@ -1,6 +1,7 @@ # scriptreplay -> Replay a typescript created by the `script` command to the standard output. +> Replay a typescript created by the `script` command to `stdout`. +> More information: . - Replay a typescript at the speed it was recorded: diff --git a/pages/linux/scrontab.md b/pages/linux/scrontab.md new file mode 100644 index 00000000000000..c97abbb1f3c3b7 --- /dev/null +++ b/pages/linux/scrontab.md @@ -0,0 +1,24 @@ +# scrontab + +> Manage Slurm crontab files. +> More information: . + +- Install a new crontab from the specified file: + +`scrontab {{path/to/file}}` + +- [e]dit the crontab of the current user: + +`scrontab -e` + +- [e]dit the crontab of the specified user: + +`scrontab --user={{user_id}} -e` + +- [r]emove the current crontab: + +`scrontab -r` + +- Print the crontab of the current user to `stdout`: + +`scrontab -l` diff --git a/pages/linux/scrot.md b/pages/linux/scrot.md index 43c1fd5ea6a427..d96853d9510cc6 100644 --- a/pages/linux/scrot.md +++ b/pages/linux/scrot.md @@ -1,12 +1,13 @@ # scrot > Screen capture utility. +> More information: . - Capture a screenshot and save it to the current directory with the current date as the filename: `scrot` -- Capture a screenshot and save it as "capture.png": +- Capture a screenshot and save it as `capture.png`: `scrot {{capture.png}}` @@ -14,6 +15,14 @@ `scrot --select` +- Capture a screenshot interactively without exiting on keyboard input, press `` to exit: + +`scrot --select --ignorekeyboard` + +- Capture a screenshot interactively delimiting the region with a colored line: + +`scrot --select --line color={{x11_color|rgb_color}}` + - Capture a screenshot from the currently focused window: `scrot --focused` diff --git a/pages/linux/scrun.md b/pages/linux/scrun.md new file mode 100644 index 00000000000000..a9c1b456859fe1 --- /dev/null +++ b/pages/linux/scrun.md @@ -0,0 +1,36 @@ +# scrun + +> An OCI runtime proxy for Slurm that runs containers as jobs. +> More information: . + +- Create a new container with a specific ID: + +`scrun create {{container_id}}` + +- Start a previously created container: + +`scrun start {{container_id}}` + +- Query the state of a container: + +`scrun state {{container_id}}` + +- Send a signal to a container (default: SIGTERM): + +`scrun kill {{container_id}}` + +- Send a specific signal to a container: + +`scrun kill {{container_id}} {{SIGKILL}}` + +- Delete a container and release its resources: + +`scrun delete {{container_id}}` + +- Enable debug logging: + +`scrun {{create|start|kill|delete}} {{container_id}} --debug` + +- Display version: + +`scrun --version` diff --git a/pages/linux/sdiag.md b/pages/linux/sdiag.md new file mode 100644 index 00000000000000..4d74e1fab6a8e2 --- /dev/null +++ b/pages/linux/sdiag.md @@ -0,0 +1,20 @@ +# sdiag + +> Show information about the execution of `slurmctld`. +> More information: . + +- Show all performance counters related to the execution of `slurmctld`: + +`sdiag {{[-a|--all]}}` + +- Reset performance counters related to the execution of `slurmctld`: + +`sdiag {{[-r|--reset]}}` + +- Specify the output format: + +`sdiag {{[-a|--all]}} --{{json|yaml}}` + +- Specify the cluster to send commands to: + +`sdiag {{[-a|--all]}} {{[-M|--cluster]}} {{cluster_name}}` diff --git a/pages/linux/sealert.md b/pages/linux/sealert.md new file mode 100644 index 00000000000000..8af80b8a160f83 --- /dev/null +++ b/pages/linux/sealert.md @@ -0,0 +1,22 @@ +# sealert + +> Analyze and explain SELinux AVC denial messages. +> Part of the `setroubleshoot-server` package. +> See also: `audit2why`, `ausearch`, `audit2allow`. +> More information: . + +- Analyze all recent SELinux denials: + +`sudo sealert {{[-a|--analyze]}} {{/var/log/audit/audit.log}}` + +- Analyze a specific alert ID from system logs: + +`sudo sealert {{[-l|--lookupid]}} {{alert_id}}` + +- Display a summary of recent SELinux alerts: + +`sudo sealert {{[-b|--browser]}}` + +- Monitor audit log in real-time for new alerts: + +`sudo tail {{[-f|--follow]}} {{/var/log/audit/audit.log}} | sealert {{[-l|--lookupid]}} -` diff --git a/pages/linux/secon.md b/pages/linux/secon.md new file mode 100644 index 00000000000000..26acf80e0948ef --- /dev/null +++ b/pages/linux/secon.md @@ -0,0 +1,25 @@ +# secon + +> Get the SELinux security context of a file, pid, current execution context, or a context specification. +> See also: `semanage`, `runcon`, `chcon`. +> More information: . + +- Get the security context of the current execution context: + +`secon` + +- Get the current security context of a process: + +`secon --pid {{1}}` + +- Get the current security context of a file, resolving all intermediate symlinks: + +`secon --file {{path/to/file_or_directory}}` + +- Get the current security context of a symlink itself (i.e. do not resolve): + +`secon --link {{path/to/symlink}}` + +- Parse and explain a context specification: + +`secon {{system_u:system_r:container_t:s0:c899,c900}}` diff --git a/pages/linux/secret-tool.md b/pages/linux/secret-tool.md new file mode 100644 index 00000000000000..2eca7f0bfa6f3d --- /dev/null +++ b/pages/linux/secret-tool.md @@ -0,0 +1,21 @@ +# secret-tool + +> Store and retrieve passwords, part of the `libsecret` package. +> Communicates with Freedesktop secret service implementations such as `gnome-keyring`. +> More information: . + +- Store a secret with an optional label: + +`secret-tool store --label={{label}} {{key}} {{value}}` + +- Retrieve a secret: + +`secret-tool lookup key {{key}}` + +- Get more information about a secret: + +`secret-tool search key {{key}}` + +- Delete a stored secret: + +`secret-tool clear key {{key}}` diff --git a/pages/linux/sed.md b/pages/linux/sed.md new file mode 100644 index 00000000000000..6a3a52f7af01a2 --- /dev/null +++ b/pages/linux/sed.md @@ -0,0 +1,37 @@ +# sed + +> GNU stream editor for filtering and transforming text. +> See also: `awk`, `ed`. +> More information: . + +- Replace `apple` with `mango` on all lines using basic `regex`, print to `stdout`: + +`{{command}} | sed 's/apple/mango/g'` + +- Replace `apple` with `APPLE` on all lines using extended `regex`, print to `stdout`: + +`{{command}} | sed {{[-E|--regexp-extended]}} 's/(apple)/\U\1/g'` + +- Use basic `regex` to replace `apple` with `mango` and `orange` with `lime` in-place in a file (overwriting original file): + +`sed {{[-i|--in-place]}} -e 's/apple/mango/g' -e 's/orange/lime/g' {{path/to/file}}` + +- Execute a specific `sed` script file and print the result to `stdout`: + +`{{command}} | sed {{[-f|--file]}} {{path/to/script.sed}}` + +- [p]rint only the first line to `stdout`: + +`{{command}} | sed {{[-n|--quiet]}} '1p'` + +- [d]elete lines 1 to 5 of a file and back up the original file with a `.orig` extension: + +`sed {{[-i|--in-place=]}}{{.orig}} '1,5d' {{path/to/file}}` + +- [i]nsert a new line at the beginning of a file, overwriting the original file in-place: + +`sed {{[-i|--in-place]}} '1i\your new line text\' {{path/to/file}}` + +- Delete blank lines (with or without spaces/tabs) from a file, overwriting the original file in-place: + +`sed {{[-i|--in-place]}} '/^[[:space:]]*$/d' {{path/to/file}}` diff --git a/pages/linux/see.md b/pages/linux/see.md index c9ba69dbb5888b..1f7f30344affdf 100644 --- a/pages/linux/see.md +++ b/pages/linux/see.md @@ -2,6 +2,7 @@ > Alias to `run-mailcap`'s view. > An alias to a `run-mailcap`'s action print. +> More information: . - See action can be used to view any file (usually image) on default mailcap explorer: diff --git a/pages/linux/selinuxenabled.md b/pages/linux/selinuxenabled.md new file mode 100644 index 00000000000000..7ab3ac54e6af60 --- /dev/null +++ b/pages/linux/selinuxenabled.md @@ -0,0 +1,18 @@ +# selinuxenabled + +> Check whether SELinux is enabled. +> Returns exit code 0 if SELinux is enabled, and 1 if it is not. +> See also: `getenforce`, `setenforce`, `sestatus`. +> More information: . + +- Check if SELinux is enabled (no output; check exit code with `echo $?`): + +`selinuxenabled` + +- Check if SELinux is enabled and print the result: + +`selinuxenabled && echo "SELinux is enabled" || echo "SELinux is disabled"` + +- Use in a shell script to conditionally execute commands: + +`if selinuxenabled; then echo "SELinux is running"; fi` diff --git a/pages/linux/semanage-boolean.md b/pages/linux/semanage-boolean.md new file mode 100644 index 00000000000000..322c55fa6cb64c --- /dev/null +++ b/pages/linux/semanage-boolean.md @@ -0,0 +1,17 @@ +# semanage boolean + +> Manage persistent SELinux boolean settings. +> See also: `semanage` for managing SELinux policies, `getsebool` for checking boolean values, and `setsebool` for applying non-persistent boolean settings. +> More information: . + +- List all booleans settings: + +`sudo semanage boolean {{[-l|--list]}}` + +- List all user-defined boolean settings without headings: + +`sudo semanage boolean {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- Set or unset a boolean persistently: + +`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}` diff --git a/pages/linux/semanage-fcontext.md b/pages/linux/semanage-fcontext.md new file mode 100644 index 00000000000000..35cd39f0327f4d --- /dev/null +++ b/pages/linux/semanage-fcontext.md @@ -0,0 +1,25 @@ +# semanage fcontext + +> Manage persistent SELinux security context rules on files/directories. +> See also: `semanage`, `matchpathcon`, `secon`, `chcon`, `restorecon`. +> More information: . + +- List all file labelling rules: + +`sudo semanage fcontext {{[-l|--list]}}` + +- List all user-defined file labelling rules without headings: + +`sudo semanage fcontext {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- Add a user-defined rule that labels any path which matches a PCRE `regex`: + +`sudo semanage fcontext {{[-a|--add]}} {{[-t|--type]}} {{samba_share_t}} {{'/mnt/share(/.*)?'}}` + +- Delete a user-defined rule using its PCRE `regex`: + +`sudo semanage fcontext {{[-d|--delete]}} {{'/mnt/share(/.*)?'}}` + +- Relabel a directory recursively by applying the new rules: + +`restorecon -R -v {{path/to/directory}}` diff --git a/pages/linux/semanage-interface.md b/pages/linux/semanage-interface.md new file mode 100644 index 00000000000000..2affe607528a51 --- /dev/null +++ b/pages/linux/semanage-interface.md @@ -0,0 +1,25 @@ +# semanage interface + +> Manage SELinux network interface type definitions. +> See also: `semanage`, `semanage-port`. +> More information: . + +- List all interface type definitions: + +`sudo semanage interface {{[-l|--list]}}` + +- Add a network interface type definition: + +`sudo semanage interface {{[-a|--add]}} {{[-t|--type]}} {{type_name}} {{interface_name}}` + +- Delete a network interface type definition: + +`sudo semanage interface {{[-d|--delete]}} {{interface_name}}` + +- Modify a network interface type definition: + +`sudo semanage interface {{[-m|--modify]}} {{[-t|--type]}} {{type_name}} {{interface_name}}` + +- List interface type definitions in a customized format: + +`sudo semanage interface {{[-l|--list]}} {{[-C|--locallist]}}` diff --git a/pages/linux/semanage-login.md b/pages/linux/semanage-login.md new file mode 100644 index 00000000000000..92fc92046b85a8 --- /dev/null +++ b/pages/linux/semanage-login.md @@ -0,0 +1,29 @@ +# semanage-login + +> Manage SELinux login mappings between Linux users and SELinux users. +> See also: `semanage`, `semanage-user`. +> More information: . + +- List all login mappings: + +`sudo semanage login {{[-l|--list]}}` + +- Add a login mapping (map Linux user to SELinux user): + +`sudo semanage login {{[-a|--add]}} {{[-s|--seuser]}} {{selinux_user}} {{linux_username}}` + +- Delete a login mapping: + +`sudo semanage login {{[-d|--delete]}} {{linux_username}}` + +- Modify an existing login mapping: + +`sudo semanage login {{[-m|--modify]}} {{[-s|--seuser]}} {{selinux_user}} {{linux_username}}` + +- Add a login mapping with a specific MLS/MCS range: + +`sudo semanage login {{[-a|--add]}} {{[-s|--seuser]}} {{user_u}} {{[-r|--range]}} {{s0-s0:c0.c1023}} {{linux_username}}` + +- List only customized login mappings: + +`sudo semanage login {{[-l|--list]}} {{[-C|--locallist]}}` diff --git a/pages/linux/semanage-permissive.md b/pages/linux/semanage-permissive.md new file mode 100644 index 00000000000000..299db32101c34a --- /dev/null +++ b/pages/linux/semanage-permissive.md @@ -0,0 +1,18 @@ +# semanage permissive + +> Manage persistent SELinux permissive domains. +> Note that this effectively makes the process unconfined. For long-term use, it is recommended to configure SELiunx properly. +> See also: `semanage`, `getenforce`, `setenforce`. +> More information: . + +- List all process types (a.k.a domains) that are in permissive mode: + +`sudo semanage permissive {{[-l|--list]}}` + +- Set permissive mode for a domain: + +`sudo semanage permissive {{[-a|--add]}} {{httpd_t}}` + +- Unset permissive mode for a domain: + +`sudo semanage permissive {{[-d|--delete]}} {{httpd_t}}` diff --git a/pages/linux/semanage-port.md b/pages/linux/semanage-port.md new file mode 100644 index 00000000000000..78ad1c5b4d4e59 --- /dev/null +++ b/pages/linux/semanage-port.md @@ -0,0 +1,25 @@ +# semanage port + +> Manage persistent SELinux port definitions. +> See also: `semanage`. +> More information: . + +- List all port labeling rules: + +`sudo semanage port {{[-l|--list]}}` + +- List all user-defined port labeling rules without headings: + +`sudo semanage port {{[-l|--list]}} {{[-C|--locallist]}} {{[-n|--noheading]}}` + +- Add a user-defined rule that assigns a label to a protocol-port pair: + +`sudo semanage port {{[-a|--add]}} {{[-t|--type]}} {{ssh_port_t}} {{[-p|--proto]}} {{tcp}} {{22000}}` + +- Add a user-defined rule that assigns a label to a protocol-port-range pair: + +`sudo semanage port {{[-a|--add]}} {{[-t|--type]}} {{http_port_t}} {{[-p|--proto]}} {{tcp}} {{80-88}}` + +- Delete a user-defined rule using its protocol-port pair: + +`sudo semanage port {{[-d|--delete]}} {{[-p|--proto]}} {{udp}} {{11940}}` diff --git a/pages/linux/semanage-user.md b/pages/linux/semanage-user.md new file mode 100644 index 00000000000000..e409f5f8f86051 --- /dev/null +++ b/pages/linux/semanage-user.md @@ -0,0 +1,33 @@ +# semanage-user + +> Manage SELinux user mappings. +> See also: `semanage`, `semanage-login`. +> More information: . + +- List all SELinux users: + +`sudo semanage user {{[-l|--list]}}` + +- Add a new SELinux user: + +`sudo semanage user {{[-a|--add]}} {{[-R|--roles]}} {{role_name}} {{selinux_user}}` + +- Delete a SELinux user: + +`sudo semanage user {{[-d|--delete]}} {{selinux_user}}` + +- Modify an existing SELinux user's roles: + +`sudo semanage user {{[-m|--modify]}} {{[-R|--roles]}} {{role_name}} {{selinux_user}}` + +- Add a SELinux user with a specific default level: + +`sudo semanage user {{[-a|--add]}} {{[-R|--roles]}} {{role_name}} {{[-L|--level]}} {{s0}} {{selinux_user}}` + +- Add a SELinux user with a specific MLS/MCS range: + +`sudo semanage user {{[-a|--add]}} {{[-R|--roles]}} {{role_name}} {{[-r|--range]}} {{s0-s0:c0.c1023}} {{selinux_user}}` + +- List only customized SELinux users: + +`sudo semanage user {{[-l|--list]}} {{[-C|--locallist]}}` diff --git a/pages/linux/semanage.md b/pages/linux/semanage.md index ac46bd4ccf70cd..9cca1e68b1106a 100644 --- a/pages/linux/semanage.md +++ b/pages/linux/semanage.md @@ -1,24 +1,29 @@ # semanage -> SELinux Policy Management tool. -> More information: . +> SELinux persistent policy management tool. +> Some subcommands such as `boolean`, `fcontext`, `port`, etc. have their own usage documentation. +> More information: . -- Output local customizations: +- Set or unset a SELinux boolean. Booleans allow the administrator to customize how policy rules affect confined process types (a.k.a domains): -`semanage -S {{store}} -o {{path/to/output_file}}` +`sudo semanage boolean {{[-m|--modify]}} {{--on|--off}} {{haproxy_connect_any}}` -- Take a set of commands from a specified file and load them in a single transaction: +- Add a user-defined file context labeling rule. File contexts define what files confined domains are allowed to access: -`semanage -S {{store}} -i {{path/to/input_file}}` +`sudo semanage fcontext {{[-a|--add]}} {{[-t|--type]}} {{samba_share_t}} '/mnt/share(/.*)?'` -- Manage booleans. Booleans allow the administrator to modify the confinement of processes based on the current configuration: +- Add a user-defined port labeling rule. Port labels define what ports confined domains are allowed to listen on: -`semanage boolean -S {{store}} {{--delete|--modify|--list|--noheading|--deleteall}} {{-on|-off}} -F {{boolean|boolean_file}}` +`sudo semanage port {{[-a|--add]}} {{[-t|--type]}} {{ssh_port_t}} {{[-p|--proto]}} {{tcp}} {{22000}}` -- Manage policy modules: +- Set or unset permissive mode for a confined domain. Per-domain permissive mode allows more granular control compared to `setenforce`: -`semanage module -S {{store}} {{--add|--delete|--list|--modify}} {{--enable|--disable}} {{module_name}}` +`sudo semanage permissive {{--add|--delete}} {{httpd_t}}` -- Disable/Enable dontaudit rules in policy: +- Output local customizations in the default store: -`semanage dontaudit -S {{store}} {{on|off}}` +`sudo semanage export {{[-f|--output_file]}} {{path/to/file}}` + +- Import a file generated by `semanage export` into local customizations (CAREFUL: may remove current customizations!): + +`sudo semanage import {{[-f|--input_file]}} {{path/to/file}}` diff --git a/pages/linux/semodule.md b/pages/linux/semodule.md new file mode 100644 index 00000000000000..3570a615d4fef4 --- /dev/null +++ b/pages/linux/semodule.md @@ -0,0 +1,33 @@ +# semodule + +> Manage SELinux policy modules. +> See also: `audit2allow`, `semanage`. +> More information: . + +- List all installed policy modules: + +`sudo semodule {{[-l|--list]}}` + +- Install a new policy module: + +`sudo semodule {{[-i|--install]}} {{path/to/module.pp}}` + +- Remove a policy module: + +`sudo semodule {{[-r|--remove]}} {{module_name}}` + +- Enable a policy module: + +`sudo semodule {{[-e|--enable]}} {{module_name}}` + +- Disable a policy module: + +`sudo semodule {{[-d|--disable]}} {{module_name}}` + +- Reload all policy modules: + +`sudo semodule {{[-R|--reload]}}` + +- Display the version of installed policy modules: + +`sudo semodule {{[-l|--list]}} {{[-v|--verbose]}}` diff --git a/pages/linux/sensible-browser.md b/pages/linux/sensible-browser.md index ccb8b2cacbc586..d1450005054023 100644 --- a/pages/linux/sensible-browser.md +++ b/pages/linux/sensible-browser.md @@ -1,11 +1,12 @@ # sensible-browser > Open the default browser. +> More information: . - Open a new window of the default browser: `sensible-browser` -- Open a url in the default browser: +- Open a URL in the default browser: `sensible-browser {{url}}` diff --git a/pages/linux/sensible-editor.md b/pages/linux/sensible-editor.md index d105aa2ad035b0..71605de7cf68fb 100644 --- a/pages/linux/sensible-editor.md +++ b/pages/linux/sensible-editor.md @@ -1,19 +1,20 @@ # sensible-editor > Open the default editor. +> More information: . - Open a file in the default editor: -`sensible-editor {{file}}` +`sensible-editor {{path/to/file}}` - Open a file in the default editor, with the cursor at the end of the file: -`sensible-editor + {{file}}` +`sensible-editor + {{path/to/file}}` - Open a file in the default editor, with the cursor at the beginning of line 10: -`sensible-editor +10 {{file}}` +`sensible-editor +10 {{path/to/file}}` - Open 3 files in vertically split editor windows at the same time: -`sensible-editor -O3 {{file_1}} {{file_2}} {{file_3}}` +`sensible-editor -O3 {{path/to/file1 path/to/file2 path/to/file3}}` diff --git a/pages/linux/sensors.md b/pages/linux/sensors.md index 4ffba46a5bee77..c002914d4bfcd2 100644 --- a/pages/linux/sensors.md +++ b/pages/linux/sensors.md @@ -1,6 +1,7 @@ # sensors > Report sensors information. +> More information: . - Show the current readings of all sensor chips: diff --git a/pages/linux/service.md b/pages/linux/service.md index db18fbee8fac9d..4e202ac26eadb0 100644 --- a/pages/linux/service.md +++ b/pages/linux/service.md @@ -1,7 +1,8 @@ # service > Manage services by running init scripts. -> The full script path should be omitted (/etc/init.d/ is assumed). +> The full script path should be omitted (`/etc/init.d/` is assumed). +> More information: . - List the name and status of all services: diff --git a/pages/linux/sesearch.md b/pages/linux/sesearch.md new file mode 100644 index 00000000000000..1365fd33be2107 --- /dev/null +++ b/pages/linux/sesearch.md @@ -0,0 +1,30 @@ +# sesearch + +> Search SELinux policy rules. +> Part of the `setools` package. +> See also: `seinfo`, `semodule`. +> More information: . + +- Search for all allow rules: + +`sesearch --allow` + +- Search for rules related to a specific type: + +`sesearch --allow {{[-t|--target]}} {{type_name}}` + +- Search for rules related to a specific source type: + +`sesearch --allow {{[-s|--source]}} {{source_type}}` + +- Search for rules that allow a specific class and permission: + +`sesearch --allow {{[-c|--class]}} {{class_name}} {{[-p|--perm]}} {{permission}}` + +- Search for rules with a specific target type and class: + +`sesearch --allow {{[-t|--target]}} {{type_name}} {{[-c|--class]}} {{class_name}}` + +- Display more detailed information about matched rules: + +`sesearch --allow {{[-t|--target]}} {{type_name}} {{[-v|--verbose]}}` diff --git a/pages/linux/sestatus.md b/pages/linux/sestatus.md new file mode 100644 index 00000000000000..8b04803630d691 --- /dev/null +++ b/pages/linux/sestatus.md @@ -0,0 +1,16 @@ +# sestatus + +> Print the current SELinux status. +> More information: . + +- Print the current status: + +`sestatus` + +- Print the current states of all policy booleans: + +`sestatus -b` + +- Print the current file and process contexts: + +`sestatus -v` diff --git a/pages/linux/setarch.md b/pages/linux/setarch.md new file mode 100644 index 00000000000000..e981b7bfac74af --- /dev/null +++ b/pages/linux/setarch.md @@ -0,0 +1,25 @@ +# setarch + +> Change the reported architecture for a program's execution, primarily used to modify how programs behave based on system architecture. +> Useful for compatibility testing or running legacy applications. +> More information: . + +- Run a command as if the machine architecture is `i686` (useful for running 32-bit apps on a 64-bit kernel): + +`setarch i686 {{command}}` + +- Run a shell with the `x86_64` architecture: + +`setarch x86_64 {{bash}}` + +- Disable randomization of the virtual address space: + +`setarch {{linux32}} {{[-R|--addr-no-randomize]}} {{command}}` + +- List supported architectures: + +`setarch --list` + +- Display help: + +`setarch {{[-h|--help]}}` diff --git a/pages/linux/setcap.md b/pages/linux/setcap.md new file mode 100644 index 00000000000000..5715018ff7dff4 --- /dev/null +++ b/pages/linux/setcap.md @@ -0,0 +1,25 @@ +# setcap + +> Set capabilities of specified file. +> See also: `getcap`. +> More information: . + +- Set capability `cap_net_raw` (to use RAW and PACKET sockets) for a given file: + +`setcap '{{cap_net_raw}}' {{path/to/file}}` + +- Set multiple capabilities on a file (`ep` behind the capability means "effective permitted"): + +`setcap '{{cap_dac_read_search,cap_sys_tty_config+ep}}' {{path/to/file}}` + +- Remove all capabilities from a file: + +`setcap -r {{path/to/file}}` + +- Verify that the specified capabilities are currently associated with the specified file: + +`setcap -v '{{cap_net_raw}}' {{path/to/file}}` + +- The optional `-n root_uid` argument can be used to set the file capability for use only in a user namespace with this root user ID owner: + +`setcap -n {{root_uid}} '{{cap_net_admin}}' {{path/to/file}}` diff --git a/pages/linux/setenforce.md b/pages/linux/setenforce.md new file mode 100644 index 00000000000000..d0d2f5d8a74572 --- /dev/null +++ b/pages/linux/setenforce.md @@ -0,0 +1,14 @@ +# setenforce + +> Toggle SELinux between enforcing and permissive modes. +> To enable or disable SELinux, edit `/etc/selinux/config` instead. +> See also: `getenforce`, `semanage-permissive`. +> More information: . + +- Put SELinux in enforcing mode: + +`setenforce {{1|Enforcing}}` + +- Put SELiunx in permissive mode: + +`setenforce {{0|Permissive}}` diff --git a/pages/linux/setfacl.md b/pages/linux/setfacl.md index 2ef3268ead66e2..5728238d4600e7 100644 --- a/pages/linux/setfacl.md +++ b/pages/linux/setfacl.md @@ -1,19 +1,20 @@ # setfacl > Set file access control lists (ACL). +> More information: . - Modify ACL of a file for user with read and write access: -`setfacl -m u:{{username}}:rw {{file}}` +`setfacl {{[-m|--modify]}} u:{{username}}:rw {{path/to/file_or_directory}}` - Modify default ACL of a file for all users: -`setfacl -d -m u::rw {{file}}` +`setfacl {{[-d|--default]}} {{[-m|--modify]}} u::rw {{path/to/file_or_directory}}` -- Remove ACL of a file for an user: +- Remove ACL of a file for a user: -`setfacl -x u:{{username}} {{file}}` +`setfacl {{[-x|--remove]}} u:{{username}} {{path/to/file_or_directory}}` - Remove all ACL entries of a file: -`setfacl -b {{file}}` +`setfacl {{[-b|--remove-all]}} {{path/to/file_or_directory}}` diff --git a/pages/linux/setfattr.md b/pages/linux/setfattr.md new file mode 100644 index 00000000000000..2eeb70d298160a --- /dev/null +++ b/pages/linux/setfattr.md @@ -0,0 +1,16 @@ +# setfattr + +> Set extended file attributes. +> More information: . + +- Set name of attribute for file: + +`setfattr {{[-n|--name]}} user.{{attribute_name}} {{path/to/file}}` + +- Set a user-defined value of an extended attribute on a file: + +`setfattr {{[-n|--name]}} user.{{attribute_name}} {{[-v|--value]}} "{{value}}" {{path/to/file}}` + +- Remove a specific attribute of a file: + +`setfattr {{[-x|--remove]}} user.{{attribute_name}} {{path/to/file}}` diff --git a/pages/linux/setfiles.md b/pages/linux/setfiles.md new file mode 100644 index 00000000000000..dfaec344025f4c --- /dev/null +++ b/pages/linux/setfiles.md @@ -0,0 +1,26 @@ +# setfiles + +> Set SELinux file security contexts based on policy rules. +> Similar to `restorecon` but reads contexts from a file_contexts file. +> See also: `restorecon`, `semanage-fcontext`, `fixfiles`. +> More information: . + +- Set file contexts according to the default policy file: + +`sudo setfiles /etc/selinux/targeted/contexts/files/file_contexts {{path/to/directory}}` + +- Set file contexts recursively and show changes: + +`sudo setfiles /etc/selinux/targeted/contexts/files/file_contexts {{path/to/directory}} {{[-v|--verbose]}}` + +- Preview what would be changed without actually modifying contexts: + +`sudo setfiles /etc/selinux/targeted/contexts/files/file_contexts {{path/to/directory}} {{[-n|--nochange]}}` + +- Set file contexts and verify them: + +`sudo setfiles /etc/selinux/targeted/contexts/files/file_contexts {{path/to/directory}} {{[-v|--verbose]}} {{[-F|--force]}}` + +- Use a specific root path for context matching: + +`sudo setfiles /etc/selinux/targeted/contexts/files/file_contexts {{path/to/new_directory}} {{[-r|--rootpath]}} {{path/to/old_directory}}` diff --git a/pages/linux/setfont.md b/pages/linux/setfont.md new file mode 100644 index 00000000000000..80c727ae644bd2 --- /dev/null +++ b/pages/linux/setfont.md @@ -0,0 +1,20 @@ +# setfont + +> Set the terminal font for TTYs. +> More information: . + +- Change the terminal font: + +`setfont {{font}}.gz` + +- Change the terminal font by specifying a path: + +`setfont /usr/share/kbd/{{mapping}}/{{font.ext}}` + +- Double font size: + +`setfont {{[-d|--double]}}` + +- Reset to the default font: + +`setfont` diff --git a/pages/linux/setsebool.md b/pages/linux/setsebool.md new file mode 100644 index 00000000000000..2de0f935ab450a --- /dev/null +++ b/pages/linux/setsebool.md @@ -0,0 +1,25 @@ +# setsebool + +> Set SELinux boolean value. +> See also: `semanage-boolean`, `getsebool`. +> More information: . + +- Show the current setting of [a]ll booleans: + +`getsebool -a` + +- Set or unset a boolean temporarily (non-persistent across reboot): + +`sudo setsebool {{httpd_can_network_connect}} {{1|true|on|0|false|off}}` + +- Set or unset a boolean [P]ersistently: + +`sudo setsebool -P {{container_use_devices}} {{1|true|on|0|false|off}}` + +- Set or unset multiple booleans [P]ersistently at once: + +`sudo setsebool -P {{ftpd_use_fusefs=1 mount_anyfile=0 ...}}` + +- Set or unset a boolean persistently (alternative method using `semanage-boolean`): + +`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}` diff --git a/pages/linux/setserial.md b/pages/linux/setserial.md new file mode 100644 index 00000000000000..443361d70293fc --- /dev/null +++ b/pages/linux/setserial.md @@ -0,0 +1,20 @@ +# setserial + +> Read and modify serial port information. +> More information: . + +- Print all information about a specific serial device: + +`setserial -a {{/dev/cuaN}}` + +- Print the configuration summary of a specific serial device (useful for printing during bootup process): + +`setserial -b {{device}}` + +- Set a specific configuration parameter to a device: + +`sudo setserial {{device}} {{parameter}}` + +- Print the configuration of a list of devices: + +`setserial -g {{device1 device2 ...}}` diff --git a/pages/linux/setsid.md b/pages/linux/setsid.md new file mode 100644 index 00000000000000..4da02fb69d1e21 --- /dev/null +++ b/pages/linux/setsid.md @@ -0,0 +1,25 @@ +# setsid + +> Run a program in a new session if the calling process is not a process group leader. +> The created session is by default not controlled by the current terminal. +> More information: . + +- Run a program in a new session: + +`setsid {{program}}` + +- Run a program in a new session discarding the resulting output and error: + +`setsid {{program}} > /dev/null 2>&1` + +- Run a program creating a new process: + +`setsid {{[-f|--fork]}} {{program}}` + +- Return the exit code of a program as the exit code of setsid when the program exits: + +`setsid {{[-w|--wait]}} {{program}}` + +- Run a program in a new session setting the current terminal as the controlling terminal: + +`setsid {{[-c|--ctty]}} {{program}}` diff --git a/pages/linux/setxkbmap.md b/pages/linux/setxkbmap.md index 5532261e502c56..7d64cc1be3c92b 100644 --- a/pages/linux/setxkbmap.md +++ b/pages/linux/setxkbmap.md @@ -1,6 +1,7 @@ # setxkbmap > Set the keyboard using the X Keyboard Extension. +> More information: . - Set the keyboard in French AZERTY: @@ -10,10 +11,6 @@ `setxkbmap -layout {{us,de}} -variant {{,qwerty}} -option {{'grp:alt_caps_toggle'}}` -- Get help: - -`setxkbmap -help` - - List all layouts: `localectl list-x11-keymap-layouts` @@ -25,3 +22,7 @@ - List available switching options: `localectl list-x11-keymap-options | grep grp:` + +- Display help: + +`setxkbmap -help` diff --git a/pages/linux/sfdisk.md b/pages/linux/sfdisk.md new file mode 100644 index 00000000000000..92e21e1bfc9018 --- /dev/null +++ b/pages/linux/sfdisk.md @@ -0,0 +1,24 @@ +# sfdisk + +> Display or manipulate a disk partition table. +> More information: . + +- Back up the partition layout to a file: + +`sudo sfdisk {{[-d|--dump]}} {{path/to/device}} > {{path/to/file.dump}}` + +- Restore a partition layout: + +`sudo sfdisk < {{path/to/file.dump}} {{path/to/device}}` + +- Set the type of a partition: + +`sfdisk --part-type {{path/to/device}} {{partition_number}} {{swap}}` + +- Delete a partition: + +`sfdisk --delete {{path/to/device}} {{partition_number}}` + +- Display help: + +`sfdisk {{[-h|--help]}}` diff --git a/pages/linux/sfill.md b/pages/linux/sfill.md new file mode 100644 index 00000000000000..c20613693665af --- /dev/null +++ b/pages/linux/sfill.md @@ -0,0 +1,24 @@ +# sfill + +> Securely overwrite the free space and inodes of the partition where the specified directory resides. +> More information: . + +- Overwrite free space and inodes of a disk with 38 writes (slow but secure): + +`sfill /{{path/to/mounted_disk_directory}}` + +- Overwrite free space and inodes of a disk with 6 writes (fast but [l]ess secure) and show status ([v]erbose): + +`sfill -l -v /{{path/to/mounted_disk_directory}}` + +- Overwrite free space and inodes of a disk with 1 write (very fast but [l]ess secure [v]erbose) and show status: + +`sfill -ll -v /{{path/to/mounted_disk_directory}}` + +- Overwrite only free space of a d[I]sk: + +`sfill -I /{{path/to/mounted_disk_directory}}` + +- Overwrite only free [i]nodes of a disk: + +`sfill -i /{{path/to/mounted_disk_directory}}` diff --git a/pages/linux/sh5util.md b/pages/linux/sh5util.md new file mode 100644 index 00000000000000..1c7f50d81c50af --- /dev/null +++ b/pages/linux/sh5util.md @@ -0,0 +1,16 @@ +# sh5util + +> Merge HDF5 files produced by the `sacct_gather_profile` plugin. +> More information: . + +- Merge HDF5 files produced on each allocated node for the specified job or step: + +`sh5util {{[-j|--jobs]}} {{job_id|job_id.step_id}}` + +- Extract one or more data series from a merged job file: + +`sh5util {{[-j|--jobs]}} {{job_id|job_id.step_id}} {{[-E|--extract]}} {{[-i|--input]}} {{path/to/file.h5}} {{[-s|--series]}} {{Energy|Filesystem|Network|Task}}` + +- Extract one data item from all nodes in a merged job file: + +`sh5util {{[-j|--jobs]}} {{job_id|job_id.step_id}} {{[-I|--item-extract]}} {{[-s|--series]}} {{Energy|Filesystem|Network|Task}} {{[-d|--data]}} {{data_item}}` diff --git a/pages/linux/shar.md b/pages/linux/shar.md new file mode 100644 index 00000000000000..9b5ec05c791092 --- /dev/null +++ b/pages/linux/shar.md @@ -0,0 +1,24 @@ +# shar + +> Create a shell archive. +> More information: . + +- Create a shell script that when executed extracts the given files from itself: + +`shar {{[-V|--vanilla-operation]}} {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}` + +- Compress the files in the archive: + +`shar {{[-C|--compactor]}} {{xz}} {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}` + +- Treat all files as binary (i.e. `uuencode` everything): + +`shar {{[-B|--uuencode]}} {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}` + +- Treat all files as text (i.e. `uuencode` nothing): + +`shar {{[-T|--text-files]}} {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}` + +- Include a name and cut mark in the header comment of the archive: + +`shar {{[-n|--archive-name]}} "{{My files}}" {{[-c|--cut-mark]}} {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}` diff --git a/pages/linux/sherlock.md b/pages/linux/sherlock.md new file mode 100644 index 00000000000000..25bfce8272c1c6 --- /dev/null +++ b/pages/linux/sherlock.md @@ -0,0 +1,32 @@ +# sherlock + +> Find usernames across social networks. +> More information: . + +- Search for a specific username on social networks saving the results to a file: + +`sherlock {{username}} --output {{path/to/file}}` + +- Search for specific usernames on social networks saving the results into a directory: + +`sherlock {{username1 username2 ...}} --folderoutput {{path/to/directory}}` + +- Search for a specific username on social networks using the Tor network: + +`sherlock --tor {{username}}` + +- Make requests over Tor with a new Tor circuit after each request: + +`sherlock --unique-tor {{username}}` + +- Search for a specific username on social networks using a proxy: + +`sherlock {{username}} --proxy {{proxy_url}}` + +- Search for a specific username on social networks and open results in the default web browser: + +`sherlock {{username}} --browse` + +- Display help: + +`sherlock --help` diff --git a/pages/linux/shiny-mirrors.md b/pages/linux/shiny-mirrors.md new file mode 100644 index 00000000000000..8e914ecb57b19d --- /dev/null +++ b/pages/linux/shiny-mirrors.md @@ -0,0 +1,21 @@ +# shiny-mirrors + +> Generate a `pacman` mirror list for Manjaro Linux. +> Every run of shiny-mirrors requires you to synchronize your database and update your system using `sudo pacman -Syyu`. +> More information: . + +- Get the status of the current mirrors: + +`shiny-mirrors status` + +- Generate a mirror list using the default behavior: + +`sudo shiny-mirrors refresh` + +- Display the current configuration file: + +`shiny-mirrors config show` + +- Switch to a different branch interactively: + +`sudo shiny-mirrors config --branch` diff --git a/pages/linux/shnsplit.md b/pages/linux/shnsplit.md new file mode 100644 index 00000000000000..d50ad3430dcaea --- /dev/null +++ b/pages/linux/shnsplit.md @@ -0,0 +1,20 @@ +# shnsplit + +> Splits audio files according to a `.cue` file. +> More information: . + +- Split a `.wav` + `.cue` file into multiple files: + +`shnsplit -f {{path/to/file.cue}} {{path/to/file.wav}}` + +- Show supported formats: + +`shnsplit -a` + +- Split a `.flac` file into multiple files: + +`shnsplit -f {{path/to/file.cue}} -o flac {{path/to/file.flac}}` + +- Split a `.wav` file into files of the form "track-number - album - title": + +`shnsplit -f {{path/to/file.cue}} {{path/to/file.wav}} -t "%n - %a - %t"` diff --git a/pages/linux/shntool-split.md b/pages/linux/shntool-split.md new file mode 100644 index 00000000000000..558de40d7fcebd --- /dev/null +++ b/pages/linux/shntool-split.md @@ -0,0 +1,7 @@ +# shntool split + +> This command is an alias of `shnsplit`. + +- View documentation for the original command: + +`tldr shnsplit` diff --git a/pages/linux/showkey.md b/pages/linux/showkey.md new file mode 100644 index 00000000000000..5fbd81aa518536 --- /dev/null +++ b/pages/linux/showkey.md @@ -0,0 +1,24 @@ +# showkey + +> Display the keycode of pressed keys on the keyboard, helpful for debugging keyboard-related issues and key remapping. +> More information: . + +- View keycodes in decimal: + +`sudo showkey` + +- Display scancodes in hexadecimal: + +`sudo showkey {{[-s|--scancodes]}}` + +- Display keycodes in decimal (default): + +`sudo showkey {{[-k|--keycodes]}}` + +- Display keycodes in ASCII, decimal, and hexadecimal: + +`sudo showkey {{[-a|--ascii]}}` + +- Exit the program: + +`` diff --git a/pages/linux/shutdown.md b/pages/linux/shutdown.md index 481a1f14f7f38d..b1c4a9aafa06a1 100644 --- a/pages/linux/shutdown.md +++ b/pages/linux/shutdown.md @@ -1,18 +1,19 @@ # shutdown > Shutdown and reboot the system. +> More information: . -- Power off (halt) immediately: +- Power off ([h]alt) immediately: `shutdown -h now` - Reboot immediately: -`shutdown -r now` +`shutdown {{[-r|--reboot]}} now` - Reboot in 5 minutes: -`shutdown -r +{{5}} &` +`shutdown {{[-r|--reboot]}} +{{5}} &` - Shutdown at 1:00 pm (Uses 24h clock): diff --git a/pages/linux/sic.md b/pages/linux/sic.md new file mode 100644 index 00000000000000..9d08b65a28b793 --- /dev/null +++ b/pages/linux/sic.md @@ -0,0 +1,29 @@ +# sic + +> Simple IRC client. +> Part of the suckless tools. +> More information: . + +- Connect to the default host (irc.ofct.net) with the nickname set in the `$USER` environment variable: + +`sic` + +- Connect to a given host, using a given nickname: + +`sic -h {{host}} -n {{nickname}}` + +- Connect to a given host, using a given nickname and password: + +`sic -h {{host}} -n {{nickname}} -k {{password}}` + +- Join a channel: + +`:j #{{channel}}` + +- Send a message to a channel or user: + +`:m #{{channel|user}}` + +- Set default channel or user: + +`:s #{{channel|user}}` diff --git a/pages/linux/silentcast.md b/pages/linux/silentcast.md index 1e02100f830712..3e0d255a95b0a6 100644 --- a/pages/linux/silentcast.md +++ b/pages/linux/silentcast.md @@ -1,6 +1,6 @@ # silentcast -> Silent screencast creator. Saves in `.mkv` and animated gif formats. +> Silent screencast creator. Saves in `.mkv` and animated GIF formats. > More information: . - Launch silentcast: diff --git a/pages/linux/sinfo.md b/pages/linux/sinfo.md index 8a19136b96a511..1ee380c987e7ab 100644 --- a/pages/linux/sinfo.md +++ b/pages/linux/sinfo.md @@ -1,12 +1,12 @@ # sinfo > View information about Slurm nodes and partitions. -> See also `squeue` and `sbatch`, which are also part of the Slurm workload manager. +> See also: `squeue`, `sbatch`, which are also part of the Slurm workload manager. > More information: . - Show a quick summary overview of the cluster: -`sinfo --summarize` +`sinfo {{[-s|--summarize]}}` - View the detailed status of all partitions across the entire cluster: @@ -14,16 +14,16 @@ - View the detailed status of a specific partition: -`sinfo --partition {{partition_name}}` +`sinfo {{[-p|--partition]}} {{partition_name}}` - View information about idle nodes: -`sinfo --states {{idle}}` +`sinfo {{[-t|--states]}} {{idle}}` - Summarise dead nodes: -`sinfo --dead` +`sinfo {{[-d|--dead]}}` - List dead nodes and the reasons why: -`sinfo --list-reasons` +`sinfo {{[-R|--list-reasons]}}` diff --git a/pages/linux/size.md b/pages/linux/size.md new file mode 100644 index 00000000000000..d034b628893b47 --- /dev/null +++ b/pages/linux/size.md @@ -0,0 +1,20 @@ +# size + +> Display the sizes of sections inside binary files. +> More information: . + +- Display the size of sections in a given object or executable file: + +`size {{path/to/file}}` + +- Display the size of sections in a given object or executable file in [o]ctal: + +`size {{[-o|--radix=8]}} {{path/to/file}}` + +- Display the size of sections in a given object or executable file in [d]ecimal: + +`size {{[-d|--radix=10]}} {{path/to/file}}` + +- Display the size of sections in a given object or executable file in he[x]adecimal: + +`size {{[-x|--radix=16]}} {{path/to/file}}` diff --git a/pages/linux/slapt-get.md b/pages/linux/slapt-get.md index df0cc8a76166ba..82aed3ade4e607 100644 --- a/pages/linux/slapt-get.md +++ b/pages/linux/slapt-get.md @@ -1,7 +1,8 @@ # slapt-get -> An apt like system for Slackware package management. +> An `apt` like system for Slackware package management. > Package sources need to be configured in the slapt-getrc file. +> More information: . - Update the list of available packages and versions: @@ -9,20 +10,20 @@ - Install a package, or update it to the latest available version: -`slapt-get --install {{package_name}}` +`slapt-get --install {{package}}` - Remove a package: -`slapt-get --remove {{package_name}}` +`slapt-get --remove {{package}}` - Upgrade all installed packages to their latest available versions: `slapt-get --upgrade` -- Locate packages of interest by the package name, disk set, or version: +- Locate packages by the package name, disk set, or version: -`slapt-get --search {{package_name}}` +`slapt-get --search {{query}}` - Show information about a package: -`slapt-get --show {{package_name}}` +`slapt-get --show {{package}}` diff --git a/pages/linux/slapt-src.md b/pages/linux/slapt-src.md index 6ebfc2d9d8494c..1919626f244ad8 100644 --- a/pages/linux/slapt-src.md +++ b/pages/linux/slapt-src.md @@ -6,20 +6,20 @@ - Update the list of available slackbuilds and versions: -`slapt-src --update` +`slapt-src {{[-u|--update]}}` - List all available slackbuilds: -`slapt-src --list` +`slapt-src {{[-l|--list]}}` - Fetch, build and install the specified slackbuild(s): -`slapt-src --install {{slackbuild_name}}` +`slapt-src {{[-i|--install]}} {{slackbuild_name}}` -- Locate slackbuilds of interest by their name or description: +- Locate slackbuilds by their name or description: -`slapt-src --search {{search_term}}` +`slapt-src {{[-s|--search]}} {{search_term}}` - Display information about a slackbuild: -`slapt-src --show {{slackbuild_name}}` +`slapt-src {{[-w|--show]}} {{slackbuild_name}}` diff --git a/pages/linux/sleep.md b/pages/linux/sleep.md new file mode 100644 index 00000000000000..a3ba3bfa8ae64b --- /dev/null +++ b/pages/linux/sleep.md @@ -0,0 +1,20 @@ +# sleep + +> Delay for a specified amount of time. +> More information: . + +- Delay in seconds: + +`sleep {{seconds}}` + +- Delay in [m]inutes. (Other units [d]ay, [h]our, [s]econd, [inf]inity can also be used): + +`sleep {{minutes}}m` + +- Delay for 1 [d]ay 3 [h]ours: + +`sleep 1d 3h` + +- Execute a specific command after 20 [m]inutes delay: + +`sleep 20m && {{command}}` diff --git a/pages/linux/slop.md b/pages/linux/slop.md index d43f99c4ef46d2..8b42aa7155d87e 100644 --- a/pages/linux/slop.md +++ b/pages/linux/slop.md @@ -3,22 +3,22 @@ > Get a selection of the screen. > More information: . -- Wait for the user to make a selection and output its geometry to standard output: +- Wait for the user to make a selection and output its geometry to `stdout`: `slop` - Double click, rather than click and drag, to draw a selection: -`slop -D` +`slop {{[-D|--nodrag]}}` - Highlight the selection rather than outlining it: -`slop -l` +`slop {{[-l|--highlight]}}` - Specify the output format: -`slop -f {{format_string}}` +`slop {{[-f|--format]}} {{format_string}}` - Specify the selection rectangle's color: -`slop -c {{red}},{{green}},{{blue}},{{alpha}}` +`slop {{[-c|--color]}} {{red}},{{green}},{{blue}},{{alpha}}` diff --git a/pages/linux/slurmctld.md b/pages/linux/slurmctld.md new file mode 100644 index 00000000000000..078c48a8a2e6a7 --- /dev/null +++ b/pages/linux/slurmctld.md @@ -0,0 +1,24 @@ +# slurmctld + +> Monitor all other Slurm daemons and resources, accept work (jobs), and allocate resources to those jobs. +> More information: . + +- Clear all previous `slurmctld` states from its last checkpoint: + +`slurmctld -c` + +- Set the daemon's nice value to the specified value, typically a negative number: + +`slurmctld -n {{value}}` + +- Write log messages to the specified file: + +`slurmctld -L {{path/to/output_file}}` + +- Display help: + +`slurmctld -h` + +- Display version: + +`slurmctld -V` diff --git a/pages/linux/slurmd.md b/pages/linux/slurmd.md new file mode 100644 index 00000000000000..7b2f6a24b5655a --- /dev/null +++ b/pages/linux/slurmd.md @@ -0,0 +1,24 @@ +# slurmd + +> Monitors all tasks running on the compute node, accepts tasks, launches tasks, and kills running tasks upon request. +> More information: . + +- Report node rebooted when daemon restarted (Used for testing purposes): + +`slurmd -b` + +- Run the daemon with the given nodename: + +`slurmd -N {{nodename}}` + +- Write log messages to the specified file: + +`slurmd -L {{path/to/output_file}}` + +- Read configuration from the specified file: + +`slurmd -f {{path/to/file}}` + +- Display help: + +`slurmd -h` diff --git a/pages/linux/slurmdbd.md b/pages/linux/slurmdbd.md new file mode 100644 index 00000000000000..bee70944ce2f77 --- /dev/null +++ b/pages/linux/slurmdbd.md @@ -0,0 +1,20 @@ +# slurmdbd + +> A secure enterprise-wide interface to a database for Slurm. +> More information: . + +- Set the daemon's nice value to the specified value, typically a negative number: + +`slurmdbd -n {{value}}` + +- Change the working directory of `slurmdbd` to the LogFile path or to `/var/tmp`: + +`slurmdbd -s` + +- Display help: + +`slurmdbd -h` + +- Display version: + +`slurmdbd -V` diff --git a/pages/linux/slurmrestd.md b/pages/linux/slurmrestd.md new file mode 100644 index 00000000000000..accb828a56d27f --- /dev/null +++ b/pages/linux/slurmrestd.md @@ -0,0 +1,28 @@ +# slurmrestd + +> Interface to Slurm via REST API. It can be used in two modes: *Inetd Mode* & *Listen Mode*. +> More information: . + +- Change the group ID (and drop supplemental groups) before processing client requests: + +`slurmrestd -g {{group_id}} {{[host]:port | unix:/path/to/socket}}` + +- Comma-delimited list of authentication plugins to load: + +`slurmrestd -a {{authentication_plugins}} {{[host]:port | unix:/path/to/socket}}` + +- Read Slurm configuration from the specified file: + +`slurmrestd -f {{path/to/file}}` + +- Change user ID before processing client request: + +`slurmrestd -u {{user_id}}` + +- Display help: + +`slurmrestd -h` + +- Display version: + +`slurmrestd -V` diff --git a/pages/linux/slurmstepd.md b/pages/linux/slurmstepd.md new file mode 100644 index 00000000000000..926cddbfe23ed9 --- /dev/null +++ b/pages/linux/slurmstepd.md @@ -0,0 +1,9 @@ +# slurmstepd + +> Slurm daemon for managing and monitoring individual job steps within a multi-step job. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`slurmstepd` diff --git a/pages/linux/slurp.md b/pages/linux/slurp.md new file mode 100644 index 00000000000000..00a97dbec3e422 --- /dev/null +++ b/pages/linux/slurp.md @@ -0,0 +1,28 @@ +# slurp + +> Select a region in a Wayland compositor. +> More information: . + +- Select a region and print it to `stdout`: + +`slurp` + +- Select a region and print it to `stdout`, while displaying the dimensions of the selection: + +`slurp -d` + +- Select a single point instead of a region: + +`slurp -p` + +- Select an output and print its name: + +`slurp -o -f '%o'` + +- Select a specific region and take a borderless screenshot of it, using `grim`: + +`grim -g "$(slurp -w 0)"` + +- Select a specific region and take a borderless video of it, using `wf-recorder`: + +`wf-recorder --geometry "$(slurp -w 0)"` diff --git a/pages/linux/sm.md b/pages/linux/sm.md index e5c2a666e283dc..1103ad25e9785f 100644 --- a/pages/linux/sm.md +++ b/pages/linux/sm.md @@ -1,6 +1,6 @@ # sm -> Displays a short message fullscreen. +> Display a short message fullscreen. > More information: . - Display a message in full-screen: @@ -9,19 +9,19 @@ - Display a message with inverted colors: -`sm -i "{{Hello World!}}"` +`sm {{[-i|--invert]}} "{{Hello World!}}"` - Display a message with a custom foreground color: -`sm -f {{blue}} "{{Hello World!}}"` +`sm {{[-f|--foreground]}} {{blue}} "{{Hello World!}}"` - Display a message with a custom background color: -`sm -b {{#008888}} "{{Hello World!}}"` +`sm {{[-b|--background]}} {{#008888}} "{{Hello World!}}"` - Display a message rotated 3 times (in steps of 90 degrees, counterclockwise): -`sm -r {{3}} "{{Hello World!}}"` +`sm {{[-r|--rotate]}} {{3}} "{{Hello World!}}"` - Display a message using the output from another command: diff --git a/pages/linux/smbcacls.md b/pages/linux/smbcacls.md new file mode 100644 index 00000000000000..8f1373632590fc --- /dev/null +++ b/pages/linux/smbcacls.md @@ -0,0 +1,21 @@ +# smbcacls + +> View and manipulate Windows ACLs on SMB shares. +> Part of the Samba suite. +> More information: . + +- Display the ACLs for a file or directory on a remote SMB share: + +`smbcacls //{{server}}/{{share}} {{path/to/file_or_directory}} --user {{domain\\username}}%{{password}}` + +- Set a new ACL for a file on a remote SMB share (replace `"ACL:..."` with a valid Windows ACL specification): + +`smbcacls //{{server}}/{{share}} {{path/to/file}} --user {{domain\\username}}%{{password}} "ACL:{{DACL}}"` + +- Remove all existing ACL entries and set a new ACL: + +`smbcacls //{{server}}/{{share}} {{path/to/file}} --user {{domain\\username}}%{{password}} "RESET" "ACL:{{DACL}}"` + +- Specify an alternative workgroup (or domain) and have the program prompt for a password interactively: + +`smbcacls //{{server}}/{{share}} {{path/to/file}} --user {{username}} --workgroup {{workgroup}}` diff --git a/pages/linux/smbclient.md b/pages/linux/smbclient.md index 8b05485974f605..0c3194799e8e4b 100644 --- a/pages/linux/smbclient.md +++ b/pages/linux/smbclient.md @@ -1,6 +1,7 @@ # smbclient > FTP-like client to access SMB/CIFS resources on servers. +> More information: . - Connect to a share (user will be prompted for password; `exit` to quit the session): @@ -25,3 +26,7 @@ - Upload a file to the server: `smbclient {{//server/share}} --directory {{path/to/directory}} --command "put {{file.txt}}"` + +- List the shares from a server anonymously: + +`smbclient --list={{server}} --no-pass` diff --git a/pages/linux/smbget.md b/pages/linux/smbget.md new file mode 100644 index 00000000000000..d2b83cca6c0bfb --- /dev/null +++ b/pages/linux/smbget.md @@ -0,0 +1,20 @@ +# smbget + +> `wget`-like utility for downloading files from SMB servers. +> More information: . + +- Download a file from a server: + +`smbget {{smb://server/share/file}}` + +- Download a share or directory recursively: + +`smbget --recursive {{smb://server/share}}` + +- Connect with a username and password: + +`smbget {{smb://server/share/file}} {{[-U|--user]}} {{username%password}}` + +- Require encrypted transfers: + +`smbget {{smb://server/share/file}} {{[-e|--encrypt]}}` diff --git a/pages/linux/smbmap.md b/pages/linux/smbmap.md deleted file mode 100644 index 9e02c6a92e692c..00000000000000 --- a/pages/linux/smbmap.md +++ /dev/null @@ -1,36 +0,0 @@ -# smbmap - -> SMB enumeration tool. -> More information: . - -- Display SMB shares and permissions on a host, prompting for user's password or NTLM hash: - -`smbmap -u {{username}} --prompt -H {{ip}}` - -- Display SMB shares and permissions on a host, specifying the domain and passing the password NTLM hash: - -`smbmap -u {{username}} --prompt -d {{domain}} -H {{ip}}` - -- Display SMB shares and list a single level of directories and files: - -`smbmap -u {{username}} --prompt -H {{ip}} -r` - -- Display SMB shares and recursively list a defined number of levels of directories and files: - -`smbmap -u {{username}} --prompt -H {{ip}} -R --depth {{3}}` - -- Display SMB shares and recursively list directories and files, downloading the files matching a regular expression: - -`smbmap -u {{username}} --prompt -H {{ip}} -R -A {{pattern}}` - -- Display SMB shares and recursively list directories and files, searching for file content matching a regular expression: - -`smbmap -u {{username}} --prompt -H {{ip}} -R -F {{pattern}}` - -- Execute a shell command on a remote system: - -`smbmap -u {{username}} --prompt -H {{ip}} -x {{command}}` - -- Upload a file to a remote system: - -`smbmap -u {{username}} --prompt -H {{ip}} --upload {{source}} {{destination}}` diff --git a/pages/linux/smbnetfs.md b/pages/linux/smbnetfs.md new file mode 100644 index 00000000000000..9a24bc3d3d0dee --- /dev/null +++ b/pages/linux/smbnetfs.md @@ -0,0 +1,8 @@ +# smbnetfs + +> Mount SMB shares interactively. +> More information: . + +- Make shares available at `mountpoint`: + +`smbnetfs {{mountpoint}}` diff --git a/pages/linux/smbpasswd.md b/pages/linux/smbpasswd.md index ceb6503e756c03..e1412e5ca03839 100644 --- a/pages/linux/smbpasswd.md +++ b/pages/linux/smbpasswd.md @@ -1,20 +1,21 @@ # smbpasswd -> Change a user's SMB password. -> Samba users must also have a local Unix account. +> Add/remove a Samba user or change its password. +> Samba users must have an existing local Unix account. +> More information: . - Change the current user's SMB password: `smbpasswd` -- Add a specified user to Samba and set password(user should already exist in system): +- Add a specified user to Samba and set password (user should already exist in system): -`smbpasswd -a {{username}}` +`sudo smbpasswd -a {{username}}` - Modify an existing Samba user's password: -`smbpasswd {{username}}` +`sudo smbpasswd {{username}}` -- Delete a Samba user: +- Delete a Samba user (use `pdbedit` instead if the Unix account has been deleted): -`smbpasswd -x {{username}}` +`sudo smbpasswd -x {{username}}` diff --git a/pages/linux/smem.md b/pages/linux/smem.md new file mode 100644 index 00000000000000..413f7c435d3f42 --- /dev/null +++ b/pages/linux/smem.md @@ -0,0 +1,20 @@ +# smem + +> Print memory usage for programs. +> More information: . + +- Print memory usage for current processes: + +`smem` + +- Print memory usage for current processes for a every user on a system: + +`smem --users` + +- Print memory usage for current processes for a specified user: + +`smem --userfilter {{username}}` + +- Print system memory information: + +`smem --system` diff --git a/pages/linux/snake4.md b/pages/linux/snake4.md index e60aadf47a34d5..cf4836673e5798 100644 --- a/pages/linux/snake4.md +++ b/pages/linux/snake4.md @@ -1,7 +1,7 @@ # snake4 > Snake game in the terminal. -> More information: . +> More information: . - Start a snake game: @@ -9,19 +9,19 @@ - Choose level: -`{{1|2|3|4|5}}` +`{{<1>|<2>|<3>|<4>|<5>}}` - Navigate the snake: -`{{Up|Down|Left|Right}} arrow key` +`{{|||}}` - Pause game: -`Spacebar` +`` - Quit game: -`q` +`` - Show the high scores: diff --git a/pages/linux/snap.esa.md b/pages/linux/snap.esa.md new file mode 100644 index 00000000000000..a37d58694679a4 --- /dev/null +++ b/pages/linux/snap.esa.md @@ -0,0 +1,12 @@ +# snap + +> Sentinel Application Platform (SNAP) for processing satellite data from the European Space Agency (ESA). +> More information: . + +- Display all updates: + +`snap --nosplash --nogui --modules --list --refresh` + +- Display help: + +`snap --help` diff --git a/pages/linux/snap.md b/pages/linux/snap.md index 169ba0e646db9f..c9a2be2fd3136c 100644 --- a/pages/linux/snap.md +++ b/pages/linux/snap.md @@ -1,32 +1,11 @@ # snap -> Tool for managing the "snap" self-contained software packages. -> Similar to what `apt` is for ".deb". +> `snap` can refer to multiple commands with the same name. -- Search for a package: +- View documentation for the packaging solution: -`snap find {{package_name}}` +`tldr snap.pkg` -- Install a package: +- View documentation for the European Space Agency Earth observation data processing tool: -`snap install {{package_name}}` - -- Update a package: - -`snap refresh {{package_name}}` - -- Update all packages: - -`snap refresh` - -- Display basic information about installed snap software: - -`snap list` - -- Uninstall a package: - -`snap remove {{package_name}}` - -- Check for recent snap changes in the system: - -`snap changes` +`tldr snap.esa` diff --git a/pages/linux/snap.pkg.md b/pages/linux/snap.pkg.md new file mode 100644 index 00000000000000..783f7f62f31c51 --- /dev/null +++ b/pages/linux/snap.pkg.md @@ -0,0 +1,37 @@ +# snap + +> Manage the "snap" self-contained software packages. +> Similar to what `apt` is for `.deb`. +> More information: . + +- Search for a package: + +`snap find {{query}}` + +- Install a package: + +`snap install {{package}}` + +- Update a package: + +`snap refresh {{package}}` + +- Update a package to another channel (track, risk, or branch): + +`snap refresh {{package}} --channel={{channel}}` + +- Update all packages: + +`snap refresh` + +- Display basic information about installed snap software: + +`snap list` + +- Uninstall a package: + +`snap remove {{package}}` + +- Check for recent snap changes in the system: + +`snap changes` diff --git a/pages/linux/snapper.md b/pages/linux/snapper.md index dcfaca8345b70c..3d14006ba00923 100644 --- a/pages/linux/snapper.md +++ b/pages/linux/snapper.md @@ -9,20 +9,20 @@ - Create snapper config: -`snapper -c {{config}} create-config {{path/to/directory}}` +`snapper {{[-c|--config]}} {{config}} create-config {{path/to/directory}}` - Create a snapshot with a description: -`snapper -c {{config}} create -d "{{snapshot_description}}"` +`snapper {{[-c|--config]}} {{config}} create {{[-d|--description]}} "{{snapshot_description}}"` - List snapshots for a config: -`snapper -c {{config}} list` +`snapper {{[-c|--config]}} {{config}} list` - Delete a snapshot: -`snapper -c {{config}} delete {{snapshot_number}}` +`snapper {{[-c|--config]}} {{config}} delete {{snapshot_number}}` - Delete a range of snapshots: -`snapper -c {{config}} delete {{snapshot_X}}-{{snapshot_Y}}` +`snapper {{[-c|--config]}} {{config}} delete {{snapshot1}}-{{snapshot2}}` diff --git a/pages/linux/snmpwalk.md b/pages/linux/snmpwalk.md deleted file mode 100644 index 7c39c82eb8cffc..00000000000000 --- a/pages/linux/snmpwalk.md +++ /dev/null @@ -1,24 +0,0 @@ -# snmpwalk - -> SNMP query tool. -> More information: . - -- Query the system information of a remote host using SNMPv1 and a community string: - -`snmpwalk -v1 -c {{community}} {{ip}}` - -- Query specific system information on a remote host by OID using SNMPv2 on a specified port: - -`snmpwalk -v2c -c {{community}} {{ip}}:{{port}} {{oid}}` - -- Query specific system information on a remote host by OID using SNMPv3 and authentication without encryption: - -`snmpwalk -v3 -l {{authNoPriv}} -u {{username}} -a {{MD5|SHA}} -A {{passphrase}} {{ip}} {{oid}}` - -- Query specific system information on a remote host by OID using SNMPv3, authentication, and encryption: - -`snmpwalk -v3 -l {{authPriv}} -u {{username}} -a {{MD5|SHA}} -A {{auth_passphrase}} -x {{DES|AES}} -X {{enc_passphrase}} {{ip}} {{oid}}` - -- Query specific system information on a remote host by OID using SNMPv3 without authentication or encryption: - -`snmpwalk -v3 -l {{noAuthNoPriv}} -u {{username}} {{ip}} {{oid}}` diff --git a/pages/linux/sockstat.md b/pages/linux/sockstat.md new file mode 100644 index 00000000000000..cdb0850a701bfb --- /dev/null +++ b/pages/linux/sockstat.md @@ -0,0 +1,29 @@ +# sockstat + +> List open Internet or UNIX domain sockets. +> See also: `netstat`. +> More information: . + +- Show information for IPv4 and IPv6 sockets for both listening and connected sockets: + +`sockstat` + +- Show information for IPv[4]/IPv[6] sockets [l]istening on specific [p]orts using a specific p[R]otocol: + +`sockstat -{{4|6}} -l -R {{tcp|udp|raw|unix}} -p {{port1,port2...}}` + +- Also show [c]onnected sockets and [u]nix sockets: + +`sockstat -cu` + +- Only show sockets of the specified `pid` or process: + +`sockstat -P {{pid|process}}` + +- Only show sockets of the specified `uid` or user: + +`sockstat -U {{uid|user}}` + +- Only show sockets of the specified `gid` or group: + +`sockstat -G {{gid|group}}` diff --git a/pages/linux/speaker-test.md b/pages/linux/speaker-test.md new file mode 100644 index 00000000000000..3d88dadb0922bc --- /dev/null +++ b/pages/linux/speaker-test.md @@ -0,0 +1,21 @@ +# speaker-test + +> Speaker test tone generator for ALSA. +> See also: `aplay`, `arecord`, `amixer`. +> More information: . + +- Test the default speakers with pink noise: + +`speaker-test` + +- Test the default speakers with a sine wave: + +`speaker-test {{[-t|--test]}} sine {{[-f|--frequency]}} {{frequency}}` + +- Test the default speakers with a predefined WAV file: + +`speaker-test {{[-t|--test]}} wav` + +- Test the default speakers with a WAV file: + +`speaker-test {{[-t|--test]}} wav {{[-w|--wavfile]}} {{path/to/file}}` diff --git a/pages/linux/spectre-meltdown-checker.md b/pages/linux/spectre-meltdown-checker.md new file mode 100644 index 00000000000000..12e1e50e9ce70d --- /dev/null +++ b/pages/linux/spectre-meltdown-checker.md @@ -0,0 +1,28 @@ +# spectre-meltdown-checker + +> Spectre and Meltdown mitigation detection tool. +> More information: . + +- Check the currently running kernel for Spectre or Meltdown: + +`sudo spectre-meltdown-checker` + +- Check the currently running kernel and show an explanation of the actions to take to mitigate a vulnerability: + +`sudo spectre-meltdown-checker --explain` + +- Check for specific variants (defaults to all): + +`sudo spectre-meltdown-checker --variant {{1|2|3|3a|4|l1tf|msbds|mfbds|mlpds|mdsum|taa|mcespc|srbds}}` + +- Display output using a specific output format: + +`sudo spectre-meltdown-checker --batch {{text|json|nrpe|prometheus|short}}` + +- Don't use the `/sys` interface even if present: + +`sudo spectre-meltdown-checker --no-sysfs` + +- Check a non-running kernel: + +`sudo spectre-meltdown-checker --kernel {{path/to/kernel_file}}` diff --git a/pages/linux/speedometer.md b/pages/linux/speedometer.md index 69a8486af90ae3..d042ce4ad4b935 100644 --- a/pages/linux/speedometer.md +++ b/pages/linux/speedometer.md @@ -1,7 +1,7 @@ # speedometer > Python script that shows a network traffic graph in the terminal. -> More information: . +> More information: . - Show graph for a specific interface: diff --git a/pages/linux/speedread.md b/pages/linux/speedread.md new file mode 100644 index 00000000000000..94bccacf9f3a85 --- /dev/null +++ b/pages/linux/speedread.md @@ -0,0 +1,29 @@ +# speedread + +> A simple terminal-based open source Spritz-alike. +> Shows input text as a per-word RSVP (rapid serial visual presentation) aligned on optimal reading points, which allows reading text at a much more rapid pace than usual as the eye can stay fixed on a single place. +> More information: . + +- Read a text file at a specific speed: + +`cat {{path/to/file.txt}} | speedread -wpm {{250}}` + +- Resume from a specific line: + +`cat {{path/to/file.txt}} | speedread -resume {{5}}` + +- Show multiple words at a time: + +`cat {{path/to/file.txt}} | speedread -multiword` + +- Slow down by 10% during the reading session: + +`<[>` + +- Speed up by 10% during the reading session: + +`<]>` + +- Pause, and show the last few lines as context: + +`` diff --git a/pages/linux/spi.md b/pages/linux/spi.md index a457907720c5a0..df2a7f63fa18f5 100644 --- a/pages/linux/spi.md +++ b/pages/linux/spi.md @@ -1,21 +1,21 @@ # spi > A meta package manager that handles both packages and slackbuilds. -> More information: . +> More information: . - Update the list of available packages and slackbuilds: -`spi --update` +`spi {{[-u|--update]}}` - Install a package or slackbuild: -`spi --install {{package/slackbuild_name}}` +`spi {{[-i|--install]}} {{package/slackbuild_name}}` - Upgrade all installed packages to the latest versions available: -`spi --upgrade` +`spi {{[-U|--upgrade]}}` -- Locate packages or slackbuilds of interest by package name or description: +- Locate packages or slackbuilds by package name or description: `spi {{search_terms}}` diff --git a/pages/linux/sport.md b/pages/linux/sport.md new file mode 100644 index 00000000000000..db10403e6a587a --- /dev/null +++ b/pages/linux/sport.md @@ -0,0 +1,32 @@ +# sport + +> Search and install SlackBuilds. +> More information: . + +- Pull the list of SlackBuilds to run `sport` for the first time: + +`sudo mkdir {{[-p|--parents]}} /usr/ports && sudo rsync {{[-av|--archive --verbose]}} rsync://slackbuilds.org /slackbuilds/$(awk '{print $2}' /etc/slackware-version)/ /usr/ports/` + +- Pull in any updates to the system's tree via `rsync`: + +`sudo sport rsync` + +- Search for a package by name: + +`sport search "{{keyword}}"` + +- Check if a package is installed: + +`sport check {{package}}` + +- Display README and `.info` files of a package: + +`sport cat {{package}}` + +- Install a package once the dependencies are resolved: + +`sudo sport install {{package}}` + +- Install a list of packages from a file (format: packages separated by spaces): + +`sudo sport install $(< {{path/to/list}})` diff --git a/pages/linux/sprio.md b/pages/linux/sprio.md new file mode 100644 index 00000000000000..859564a73ab3cb --- /dev/null +++ b/pages/linux/sprio.md @@ -0,0 +1,24 @@ +# sprio + +> View the factors determining a job's scheduling priority. +> More information: . + +- View the factors determining the scheduling priority of all jobs: + +`sprio` + +- View the factors determining the specified job's scheduling priority: + +`sprio {{[-j|--jobs]}} {{job_id_1,job_id_2,...}}` + +- Output additional information: + +`sprio {{[-l|--long]}}` + +- View information for the jobs of specified users: + +`sprio {{[-u|--user]}} {{user_name_1,user_name_2,...}}` + +- Print the weights for each factor determining job scheduling priority: + +`sprio {{[-w|--weights]}}` diff --git a/pages/linux/sqfscat.md b/pages/linux/sqfscat.md new file mode 100644 index 00000000000000..58000b772f1fc8 --- /dev/null +++ b/pages/linux/sqfscat.md @@ -0,0 +1,8 @@ +# sqfscat + +> Concatenate files from a squashfs filesystem and print them to `stdout`. +> More information: . + +- Display the contents of one or more files from a squashfs filesystem: + +`sqfscat {{filesystem.squashfs}} {{file1 file2 ...}}` diff --git a/pages/linux/sqfstar.md b/pages/linux/sqfstar.md new file mode 100644 index 00000000000000..b0cedeb51b1aed --- /dev/null +++ b/pages/linux/sqfstar.md @@ -0,0 +1,24 @@ +# sqfstar + +> Create a squashfs filesystem from a tar archive. +> More information: . + +- Create a squashfs filesystem (compressed using `gzip` by default) from an uncompressed tar archive: + +`sqfstar < {{archive.tar}} {{filesystem.squashfs}}` + +- Create a squashfs filesystem from a tar archive compressed with `gzip`, and [comp]ress the filesystem using a specific algorithm: + +`zcat {{archive.tar.gz}} | sqfstar -comp {{gzip|lzo|lz4|xz|zstd|lzma}} {{filesystem.squashfs}}` + +- Create a squashfs filesystem from a tar archive compressed with `xz`, excluding some of the files: + +`xzcat {{archive.tar.xz}} | sqfstar {{filesystem.squashfs}} {{file1 file2 ...}}` + +- Create a squashfs filesystem from a tar archive compressed with `zstd`, excluding files ending with `.gz`: + +`zstdcat {{archive.tar.zst}} | sqfstar {{filesystem.squashfs}} "{{*.gz}}"` + +- Create a squashfs filesystem from a tar archive compressed with `lz4`, excluding files matching a `regex`: + +`lz4cat {{archive.tar.lz4}} | sqfstar {{filesystem.squashfs}} -regex "{{regex}}"` diff --git a/pages/linux/squeue.md b/pages/linux/squeue.md index fdcb4d33d95550..6e900d0f24d2ea 100644 --- a/pages/linux/squeue.md +++ b/pages/linux/squeue.md @@ -1,6 +1,7 @@ # squeue > View the jobs queued in the SLURM scheduler. +> More information: . - View the queue: @@ -8,11 +9,11 @@ - View jobs queued by a specific user: -`squeue -u {{username}}` +`squeue {{[-u|--user]}} {{username}}` - View the queue and refresh every 5 seconds: -`squeue -i {{5}}` +`squeue {{[-i|--iterate]}} {{5}}` - View the queue with expected start times: diff --git a/pages/linux/sreport.md b/pages/linux/sreport.md index 32713b79c5defa..899c58d4ea3c96 100644 --- a/pages/linux/sreport.md +++ b/pages/linux/sreport.md @@ -5,12 +5,12 @@ - Show pipe delimited cluster utilization data: -`sreport --parsable cluster utilization` +`sreport {{[-p|--parsable]}} cluster utilization` - Show number of jobs run: `sreport job sizes printjobcount` -- Show users with highest cpu time use: +- Show users with the highest CPU time use: `sreport user topuser` diff --git a/pages/linux/srun.md b/pages/linux/srun.md index 141ecc6cf7e212..74623a337aebec 100644 --- a/pages/linux/srun.md +++ b/pages/linux/srun.md @@ -9,8 +9,8 @@ - Submit an interactive job with different attributes: -`srun --ntasks-per-node={{num_cores}} --mem-per-cpu={{memory_MB}} --pty /bin/bash` +`srun --ntasks-per-node {{num_cores}} --mem-per-cpu {{memory_MB}} --pty /bin/bash` - Connect to a worker node with a job running: -`srun --jobid={{job_id}} --pty /bin/bash` +`srun --jobid {{job_id}} --pty /bin/bash` diff --git a/pages/linux/ss.md b/pages/linux/ss.md index bae947140d66f0..39fc2ed5e2ef42 100644 --- a/pages/linux/ss.md +++ b/pages/linux/ss.md @@ -1,31 +1,36 @@ # ss > Utility to investigate sockets. +> More information: . - Show all TCP/UDP/RAW/UNIX sockets: -`ss -a {{-t|-u|-w|-x}}` +`ss {{[-a|--all]}} {{-t|-u|-w|-x}}` - Filter TCP sockets by states, only/exclude: -`ss {{state/exclude}} {{bucket/big/connected/synchronized/...}}` +`ss {{state|exclude}} {{bucket|big|connected|synchronized|...}}` - Show all TCP sockets connected to the local HTTPS port (443): -`ss -t src :{{443}}` +`ss {{[-t|--tcp]}} src :{{443}}` - Show all TCP sockets listening on the local 8080 port: -`ss -lt src :{{8080}}` +`ss {{[-lt|--listening --tcp]}} src :{{8080}}` -- Show all TCP sockets along with processes connected to a remote ssh port: +- Show all TCP sockets along with processes connected to a remote SSH port: -`ss -pt dst :{{ssh}}` +`ss {{[-pt|--processes --tcp]}} dst :{{ssh}}` - Show all UDP sockets connected on specific source and destination ports: -`ss -u 'sport == :{{source_port}} and dport == :{{destination_port}}'` +`ss {{[-u|--udp]}} 'sport == :{{source_port}} and dport == :{{destination_port}}'` - Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16: -`ss -4t src {{192.168/16}}` +`ss {{[-4t|--ipv4 --tcp]}} src {{192.168/16}}` + +- Kill IPv4 or IPv6 Socket Connection with a specific destination IP and port: + +`ss {{[-K|--kill]}} dst {{ip_address}} dport = {{port}}` diff --git a/pages/linux/ssh-add.md b/pages/linux/ssh-add.md deleted file mode 100644 index 134a17ddb55db1..00000000000000 --- a/pages/linux/ssh-add.md +++ /dev/null @@ -1,24 +0,0 @@ -# ssh-add - -> Manage loaded ssh keys in the ssh-agent. -> Ensure that ssh-agent is up and running for the keys to be loaded in it. - -- Add the default ssh keys in "~/.ssh" to the ssh-agent: - -`ssh-add` - -- Add a specific key to the ssh-agent: - -`ssh-add {{path/to/private_key}}` - -- List fingerprints of currently loaded keys: - -`ssh-add -l` - -- Delete a key from the ssh-agent: - -`ssh-add -d {{path/to/private_key}}` - -- Delete all currently loaded keys from the ssh-agent: - -`ssh-add -D` diff --git a/pages/linux/sshare.md b/pages/linux/sshare.md new file mode 100644 index 00000000000000..044f5592c661fa --- /dev/null +++ b/pages/linux/sshare.md @@ -0,0 +1,20 @@ +# sshare + +> List the shares of associations to a cluster. +> More information: . + +- List Slurm share information: + +`sshare` + +- Control the output format: + +`sshare --{{parsable|parsable2|json|yaml}}` + +- Control the fields to display: + +`sshare {{[-o|--format]}} {{format_string}}` + +- Display information for the specified users only: + +`sshare {{[-u|--users]}} {{user_id_1,user_id_2,...}}` diff --git a/pages/linux/sshuttle.md b/pages/linux/sshuttle.md deleted file mode 100644 index 82040ae5afdc6e..00000000000000 --- a/pages/linux/sshuttle.md +++ /dev/null @@ -1,20 +0,0 @@ -# sshuttle - -> Transparent proxy server that tunnels traffic over an SSH connection. -> Doesn't require root or any special setup on the remote SSH server, though root access on the local machine is prompted for. - -- Forward all IPv4 TCP traffic via a remote SSH server: - -`sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}` - -- Also forward all DNS traffic to the server's default DNS resolver: - -`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}` - -- Forward all traffic except that which is bound for a specific subnet: - -`sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} --exclude {{192.168.0.1/24}}` - -- Use the tproxy method to forward all IPv4 and IPv6 traffic: - -`sshuttle --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}` diff --git a/pages/linux/sslstrip.md b/pages/linux/sslstrip.md new file mode 100644 index 00000000000000..79517ecf27c8ad --- /dev/null +++ b/pages/linux/sslstrip.md @@ -0,0 +1,29 @@ +# sslstrip + +> Perform Moxie Marlinspike's Secure Sockets Layer (SSL) stripping attacks. +> Perform an ARP spoofing attack in conjunction. +> More information: . + +- Log only HTTPS POST traffic on port 10000 by default: + +`sslstrip` + +- Log only HTTPS POST traffic on port 8080: + +`sslstrip --listen={{8080}}` + +- Log all SSL traffic to and from the server on port 8080: + +`sslstrip --ssl --listen={{8080}}` + +- Log all SSL and HTTP traffic to and from the server on port 8080: + +`sslstrip --listen={{8080}} --all` + +- Specify the file path to store the logs: + +`sslstrip --listen={{8080}} --write={{path/to/file}}` + +- Display help: + +`sslstrip --help` diff --git a/pages/linux/sstat.md b/pages/linux/sstat.md index 278b0b256e5bdd..9bd18b411c1947 100644 --- a/pages/linux/sstat.md +++ b/pages/linux/sstat.md @@ -5,12 +5,12 @@ - Display status information of a comma-separated list of jobs: -`sstat --jobs={{job_id}}` +`sstat {{[-j|--jobs]}} {{job_id}}` - Display job ID, average CPU and average virtual memory size of a comma-separated list of jobs, with pipes as column delimiters: -`sstat --parsable --jobs={{job_id}} --format={{JobID}},{{AveCPU}},{{AveVMSize}}` +`sstat {{[-p|--parsable]}} {{[-j|--jobs]}} {{job_id}} {{[-o|--format]}} {{JobID,AveCPU,AveVMSize}}` - Display list of fields available: -`sstat --helpformat` +`sstat {{[-e|--helpformat]}}` diff --git a/pages/linux/st.1.md b/pages/linux/st.1.md new file mode 100644 index 00000000000000..54a7801024be82 --- /dev/null +++ b/pages/linux/st.1.md @@ -0,0 +1,24 @@ +# st + +> A simple terminal emulator for the X Window System. +> More information: . + +- Open a terminal: + +`st` + +- Open a terminal with a specific title: + +`st -T {{title}}` + +- Open a terminal, execute a given command, and write the output to a file: + +`st -o {{path/to/file}} -e {{command argument1 argument2}}` + +- Increase/decrease the font size: + +`` + +- Copy/paste from the clipboard: + +`` diff --git a/pages/linux/st.md b/pages/linux/st.md new file mode 100644 index 00000000000000..56c9ac9979c60a --- /dev/null +++ b/pages/linux/st.md @@ -0,0 +1,11 @@ +# st + +> `st` can refer to multiple commands. + +- View documentation for the terminal emulator: + +`tldr st.1` + +- View documentation for the statistics tool: + +`tldr st.2` diff --git a/pages/linux/startx.md b/pages/linux/startx.md new file mode 100644 index 00000000000000..79f2bdedb51880 --- /dev/null +++ b/pages/linux/startx.md @@ -0,0 +1,20 @@ +# startx + +> A front-end to `xinit` that provides a nice user interface for running a single session of the X Window System. +> More information: . + +- Start an X session: + +`startx` + +- Start an X session with a predefined depth value: + +`startx -- -depth {{value}}` + +- Start an X session with a predefined dpi value: + +`startx -- -dpi {{value}}` + +- Override the settings in the `.xinitrc` file and start a new X session: + +`startx /{{path/to/window_manager_or_desktop_environment}}` diff --git a/pages/linux/steamos-add-to-steam.md b/pages/linux/steamos-add-to-steam.md new file mode 100644 index 00000000000000..77419d64c707ec --- /dev/null +++ b/pages/linux/steamos-add-to-steam.md @@ -0,0 +1,8 @@ +# steamos-add-to-steam + +> Add a program to Steam library. +> More information: . + +- Add a program to Steam library: + +`steamos-add-to-steam {{path/to/file}}` diff --git a/pages/linux/steamos-boot-install.md b/pages/linux/steamos-boot-install.md new file mode 100644 index 00000000000000..e139a8ad04343e --- /dev/null +++ b/pages/linux/steamos-boot-install.md @@ -0,0 +1,7 @@ +# steamos-boot-install + +> This command is an alias of `steamos-finalize-install`. + +- View documentation for the original command: + +`tldr steamos-finalize-install` diff --git a/pages/linux/steamos-chroot.md b/pages/linux/steamos-chroot.md new file mode 100644 index 00000000000000..fdbc26887886f2 --- /dev/null +++ b/pages/linux/steamos-chroot.md @@ -0,0 +1,16 @@ +# steamos-chroot + +> Switch root directory in a SteamOS environment. +> More information: . + +- Switch to the other A/B partition: + +`steamos-chroot {{[-p|--partset]}} other` + +- Switch to a partition on another drive: + +`steamos-chroot {{[-d|--disk]}} {{/dev/sdX}} {{[-p|--partset]}} {{A|B}}` + +- Display help: + +`steamos-chroot {{[-h|--help]}}` diff --git a/pages/linux/steamos-devmode.md b/pages/linux/steamos-devmode.md new file mode 100644 index 00000000000000..42091db549d09b --- /dev/null +++ b/pages/linux/steamos-devmode.md @@ -0,0 +1,17 @@ +# steamos-devmode + +> Enable SteamOS developer mode. +> Note: Developer mode disables read-only protections and initializes the package manager. +> More information: . + +- Enable developer mode: + +`sudo steamos-devmode enable` + +- Enable developer mode without confirmation prompt: + +`sudo steamos-devmode enable --no-prompt` + +- Check if developer mode is currently enabled: + +`sudo steamos-devmode status` diff --git a/pages/linux/steamos-dump-info.md b/pages/linux/steamos-dump-info.md new file mode 100644 index 00000000000000..648d10f8acd3d9 --- /dev/null +++ b/pages/linux/steamos-dump-info.md @@ -0,0 +1,8 @@ +# steamos-dump-info + +> View SteamOS system information. +> More information: . + +- View SteamOS system information: + +`sudo steamos-dump-info` diff --git a/pages/linux/steamos-factory-reset-config.md b/pages/linux/steamos-factory-reset-config.md new file mode 100644 index 00000000000000..2cda4efdae8d88 --- /dev/null +++ b/pages/linux/steamos-factory-reset-config.md @@ -0,0 +1,9 @@ +# steamos-factory-reset-config + +> Generate configuration files required by `steamos-factory-reset`. +> This command is typically called internally and not meant to be run manually. +> More information: . + +- Generate factory reset configuration data: + +`steamos-factory-reset-config` diff --git a/pages/linux/steamos-factory-reset.md b/pages/linux/steamos-factory-reset.md new file mode 100644 index 00000000000000..e59479662ff070 --- /dev/null +++ b/pages/linux/steamos-factory-reset.md @@ -0,0 +1,12 @@ +# steamos-factory-reset + +> Reset SteamOS to factory settings. +> More information: . + +- Begin a factory reset (requires confirmation): + +`steamos-factory-reset` + +- Display help: + +`steamos-factory-reset --help` diff --git a/pages/linux/steamos-finalize-install.md b/pages/linux/steamos-finalize-install.md new file mode 100644 index 00000000000000..3485c1a044dd70 --- /dev/null +++ b/pages/linux/steamos-finalize-install.md @@ -0,0 +1,24 @@ +# steamos-finalize-install + +> Complete a SteamOS installation by setting up bootloaders and applying system updates. +> More information: . + +- Finalize the installation: + +`sudo steamos-finalize-install` + +- Finalize without updating bootloaders or kernel: + +`sudo steamos-finalize-install --no-bootloaders --no-kernel` + +- Skip all migration steps: + +`sudo steamos-finalize-install --no-migrate` + +- Set a specific root hash during finalization: + +`sudo steamos-finalize-install --roothash {{hash}}` + +- Force system migration steps regardless of environment: + +`sudo steamos-finalize-install --force` diff --git a/pages/linux/steamos-readonly.md b/pages/linux/steamos-readonly.md new file mode 100644 index 00000000000000..60b7071505298c --- /dev/null +++ b/pages/linux/steamos-readonly.md @@ -0,0 +1,12 @@ +# steamos-readonly + +> Set the readonly status of the filesystem. +> More information: . + +- Set the filesystem to be mutable: + +`sudo steamos-readonly disable` + +- Set the filesystem to be read only: + +`sudo steamos-readonly enable` diff --git a/pages/linux/steamos-select-branch.md b/pages/linux/steamos-select-branch.md new file mode 100644 index 00000000000000..38227c28ed46da --- /dev/null +++ b/pages/linux/steamos-select-branch.md @@ -0,0 +1,24 @@ +# steamos-select-branch + +> Select a SteamOS system release branch. +> More information: . + +- View the current branch: + +`steamos-select-branch -c` + +- List all available branches: + +`steamos-select-branch -l` + +- Switch to the beta branch: + +`steamos-select-branch beta` + +- Switch back to the stable release: + +`steamos-select-branch stable` + +- Switch to the bleeding edge branch: + +`steamos-select-branch main` diff --git a/pages/linux/steamos-session-select.md b/pages/linux/steamos-session-select.md new file mode 100644 index 00000000000000..3d6a74d0af97e4 --- /dev/null +++ b/pages/linux/steamos-session-select.md @@ -0,0 +1,24 @@ +# steamos-session-select + +> Manipulate which session is currently in use. +> More information: . + +- Change to desktop mode: + +`steamos-session-select plasma` + +- Change to gamemode (sets the system to boot into gamemode if `-persistent` options were selected previously): + +`steamos-session-select` + +- Change to Wayland desktop mode: + +`steamos-session-select plasma-wayland` + +- Change to Wayland desktop mode and have the device boot to desktop: + +`steamos-session-select plasma-wayland-persistent` + +- Change to X11 desktop mode and have the device boot to desktop: + +`steamos-session-select plasma-x11-persistent` diff --git a/pages/linux/steamos-update.md b/pages/linux/steamos-update.md new file mode 100644 index 00000000000000..461f44367139f0 --- /dev/null +++ b/pages/linux/steamos-update.md @@ -0,0 +1,12 @@ +# steamos-update + +> Update SteamOS. +> More information: . + +- Update the operating system: + +`steamos-update` + +- Check if there is an update available: + +`steamos-update check` diff --git a/pages/linux/steghide.md b/pages/linux/steghide.md index 11df94a99d4c89..8af12a7e82877a 100644 --- a/pages/linux/steghide.md +++ b/pages/linux/steghide.md @@ -1,15 +1,15 @@ # steghide > Steganography tool for JPEG, BMP, WAV and AU file formats. -> More information: . +> More information: . -- Embed data in a PNG image, prompting for a passphrase: +- Embed data in a PNG, prompting for a passphrase: -`steghide embed --coverfile {{path/to/image.png}} --embedfile {{path/to/data.txt}}` +`steghide embed {{[-cf|--coverfile]}} {{path/to/image.png}} {{[-ef|--embedfile]}} {{path/to/data.txt}}` - Extract data from a WAV audio file: -`steghide extract --stegofile {{path/to/sound.wav}}` +`steghide extract {{[-sf|--stegofile]}} {{path/to/sound.wav}}` - Display file information, trying to detect an embedded file: @@ -17,7 +17,7 @@ - Embed data in a JPEG image, using maximum compression: -`steghide embed --coverfile {{path/to/image.jpg}} --embedfile {{path/to/data.txt}} --compress {{9}}` +`steghide embed {{[-cf|--coverfile]}} {{path/to/image.jpg}} {{[-ef|--embedfile]}} {{path/to/data.txt}} {{[-z|--compress]}} {{9}}` - Get the list of supported encryption algorithms and modes: @@ -25,4 +25,4 @@ - Embed encrypted data in a JPEG image, e.g. with Blowfish in CBC mode: -`steghide embed --coverfile {{path/to/image.jpg}} --embedfile {{path/to/data.txt}} --encryption {{blowfish|...}} {{cbc|...}}` +`steghide embed {{[-cf|--coverfile]}} {{path/to/image.jpg}} {{[-ef|--embedfile]}} {{path/to/data.txt}} {{[-e|--encryption]}} {{blowfish|...}} {{cbc|...}}` diff --git a/pages/linux/stegsnow.md b/pages/linux/stegsnow.md new file mode 100644 index 00000000000000..3d0c8e79227ec7 --- /dev/null +++ b/pages/linux/stegsnow.md @@ -0,0 +1,28 @@ +# stegsnow + +> Steganography tool for concealing and extracting messages in text files encoded as tabs and spaces. +> More information: . + +- Extract [m]essage from file: + +`stegsnow {{path/to/file.txt}}` + +- Extract [C]ompressed and [p]assword protected [m]essage from file: + +`stegsnow -C -p {{password}} {{path/to/file.txt}}` + +- Determine approximate [S]torage capacity with line [l]ength less than 72 for file: + +`stegsnow -S -l 72 {{path/to/file.txt}}` + +- Conceal [m]essage in text from file and save to result: + +`stegsnow -m '{{message}}' {{path/to/file.txt}} {{path/to/result.txt}}` + +- Conceal message [f]ile content [C]ompressed in text from file and save to result: + +`stegsnow -C -f '{{path/to/message.txt}}' {{path/to/file.txt}} {{path/to/result.txt}}` + +- Conceal [m]essage [C]ompressed and [p]assword protected in text from file and save to result: + +`stegsnow -C -p {{password}} -m '{{message}}' {{path/to/file.txt}} {{path/to/result.txt}}` diff --git a/pages/linux/strace.md b/pages/linux/strace.md index d17744224c652e..dbb72f2a95246a 100644 --- a/pages/linux/strace.md +++ b/pages/linux/strace.md @@ -1,22 +1,23 @@ # strace > Troubleshooting tool for tracing system calls. +> More information: . - Start tracing a specific process by its PID: -`strace -p {{pid}}` +`strace {{[-p|--attach]}} {{pid}}` -- Trace a process and filter output by system call: +- Trace a process and filter output by system call [e]xpression: -`strace -p {{pid}} -e {{system_call_name}}` +`strace {{[-p|--attach]}} {{pid}} -e {{system_call,system_call2,...}}` - Count time, calls, and errors for each system call and report a summary on program exit: -`strace -p {{pid}} -c` +`strace {{[-p|--attach]}} {{pid}} {{[-c|--summary-only]}}` -- Show the time spent in every system call: +- Show the time spent in every system call and specify the maximum string size to print: -`strace -p {{pid}} -T` +`strace {{[-p|--attach]}} {{pid}} {{[-T|--syscall-times]}} {{[-s|--string-limit]}} {{32}}` - Start tracing a program by executing it: @@ -25,3 +26,7 @@ - Start tracing file operations of a program: `strace -e trace=file {{program}}` + +- Start tracing network operations of a program as well as all its forked and child processes, saving the output to a file: + +`strace {{[-f|--follow-forks]}} -e trace=network {{[-o|--output]}} {{trace.txt}} {{program}}` diff --git a/pages/linux/stratis.md b/pages/linux/stratis.md new file mode 100644 index 00000000000000..a37b2584740bd1 --- /dev/null +++ b/pages/linux/stratis.md @@ -0,0 +1,37 @@ +# stratis + +> Manage local storage pools and volumes using the Stratis storage manager. +> Stratis volumes use the XFS filesystem and require the `stratisd` service. +> More information: . + +- Start the Stratis service (must be active before managing pools or volumes): + +`sudo systemctl start stratisd` + +- Create a storage pool from one or more devices: + +`sudo stratis pool create {{pool_name}} {{/dev/sdX}} {{/dev/sdY}}` + +- Create a filesystem (volume) in a pool: + +`sudo stratis filesystem create {{pool_name}} {{volume_name}}` + +- List all Stratis filesystems: + +`sudo stratis filesystem list` + +- Format and mount a Stratis volume manually: + +`sudo mkfs.xfs /dev/stratis/{{pool_name}}/{{volume_name}} && sudo mount /dev/stratis/{{pool_name}}/{{volume_name}} {{/mnt/target}}` + +- Add a volume to `/etc/fstab` for mounting at boot: + +`echo /dev/stratis/{{pool_name}}/{{volume_name}} {{/mnt/target}} xfs defaults,x-systemd.requires=stratisd.service 0 0 | sudo tee {{[-a|--append]}} /etc/fstab` + +- Extend an existing pool by adding a new device: + +`sudo stratis pool add-data {{pool_name}} {{/dev/sdZ}}` + +- Delete a volume: + +`sudo stratis filesystem destroy {{pool_name}} {{volume_name}}` diff --git a/pages/linux/stress.md b/pages/linux/stress.md index 78a17193064ebd..dfc6b4bca3a4cc 100644 --- a/pages/linux/stress.md +++ b/pages/linux/stress.md @@ -1,19 +1,20 @@ # stress -> A tool to stress test CPU, memory, and IO on a Linux system. +> Stress test CPU, memory, and IO on a Linux system. +> More information: . - Spawn 4 workers to stress test CPU: -`stress -c {{4}}` +`stress {{[-c|--cpu]}} {{4}}` - Spawn 2 workers to stress test IO and timeout after 5 seconds: -`stress -i {{2}} -t {{5}}` +`stress {{[-i|--io]}} {{2}} {{[-t|--timeout]}} {{5}}` - Spawn 2 workers to stress test memory (each worker allocates 256M bytes): -`stress -m {{2}} --vm-bytes {{256M}}` +`stress {{[-m|--vm]}} {{2}} --vm-bytes {{256M}}` - Spawn 2 workers spinning on write()/unlink() (each worker writes 1G bytes): -`stress -d {{2}} --hdd-bytes {{1GB}}` +`stress {{[-d|--hdd]}} {{2}} --hdd-bytes {{1GB}}` diff --git a/pages/linux/strigger.md b/pages/linux/strigger.md new file mode 100644 index 00000000000000..f4cecd1cc3db39 --- /dev/null +++ b/pages/linux/strigger.md @@ -0,0 +1,25 @@ +# strigger + +> View or modify Slurm trigger information. +> Triggers are actions that are automatically run when an event occurs on a Slurm cluster. +> More information: . + +- Register a new trigger. Execute the specified program when the specified event occurs: + +`strigger --set --{{primary_database_failure|primary_slurmdbd_failure|primary_slurmctld_acct_buffer_full|primary_slurmctld_failure|...}} {{[-p|--program]}} {{path/to/executable}}` + +- Execute the specified program when the specified job terminated: + +`strigger --set {{[-j|--jobid]}} {{job_id}} {{[-f|--fini]}} {{[-p|--program]}} "{{path/to/executable}} {{argument1 argument2 ...}}"` + +- View active triggers: + +`strigger --get` + +- View active triggers regarding the specified job: + +`strigger --get {{[-j|--jobid]}} {{job_id}}` + +- Clear the specified trigger: + +`strigger --clear {{trigger_id}}` diff --git a/pages/linux/strip.md b/pages/linux/strip.md new file mode 100644 index 00000000000000..c6e1a19913f383 --- /dev/null +++ b/pages/linux/strip.md @@ -0,0 +1,16 @@ +# strip + +> Discard symbols from executables or object files. +> More information: . + +- Replace the input file with its stripped version: + +`strip {{path/to/file}}` + +- Strip symbols from a file, saving the output to a specific file: + +`strip {{path/to/input_file}} -o {{path/to/output_file}}` + +- Strip debug symbols only: + +`strip {{[-d|--strip-debug]}} {{path/to/file.o}}` diff --git a/pages/linux/su.md b/pages/linux/su.md new file mode 100644 index 00000000000000..fc2ea58dd869a8 --- /dev/null +++ b/pages/linux/su.md @@ -0,0 +1,20 @@ +# su + +> Switch shell to another user. +> More information: . + +- Switch to superuser (requires the root password): + +`su` + +- Switch to a given user (requires the user's password): + +`su {{username}}` + +- Switch to a given user and simulate a full login shell: + +`su - {{username}}` + +- Execute a command as another user: + +`su - {{username}} {{[-c|--command]}} "{{command}}"` diff --git a/pages/linux/sv.md b/pages/linux/sv.md deleted file mode 100644 index 0567e0d0c89a26..00000000000000 --- a/pages/linux/sv.md +++ /dev/null @@ -1,15 +0,0 @@ -# sv - -> Control a running runsv service. - -- Start a service: - -`sudo sv up {{path/to/service}}` - -- Stop a service: - -`sudo sv down {{path/to/service}}` - -- Get service status: - -`sudo sv status {{path/to/service}}` diff --git a/pages/linux/sview.md b/pages/linux/sview.md new file mode 100644 index 00000000000000..a0f7ca09a21355 --- /dev/null +++ b/pages/linux/sview.md @@ -0,0 +1,8 @@ +# sview + +> Start a GUI to view and modify the state of Slurm. +> More information: . + +- Start a GUI to view and modify the state of Slurm: + +`sview` diff --git a/pages/linux/swaks.md b/pages/linux/swaks.md new file mode 100644 index 00000000000000..6459744cc93ee1 --- /dev/null +++ b/pages/linux/swaks.md @@ -0,0 +1,24 @@ +# swaks + +> Swiss Army Knife SMTP, the all-purpose SMTP transaction tester. +> More information: . + +- Deliver a standard test email to `user@example.com` on port 25 of `test-server.example.net`: + +`swaks {{[-t|--to]}} {{user@example.com}} {{[-s|--server]}} {{test-server.example.net}}` + +- Deliver a standard test email, requiring CRAM-MD5 authentication as user `me@example.com`. An "X-Test" header will be added to the email body: + +`swaks {{[-t|--to]}} {{user@example.com}} {{[-f|--from]}} {{me@example.com}} {{[-a|--auth]}} {{CRAM-MD5}} {{[-au|--auth-user]}} {{me@example.com}} --header-X-Test "{{test_email}}"` + +- Test a virus scanner using EICAR in an attachment. Don't show the message DATA part: + +`swaks {{[-t|--to]}} {{user@example.com}} --attach - {{[-s|--server]}} {{test-server.example.com}} {{[-n|--suppress-data]}} {{path/to/eicar.txt}}` + +- Test a spam scanner using GTUBE in the body of an email, routed via the MX records for `example.com`: + +`swaks {{[-t|--to]}} {{user@example.com}} --body {{path/to/gtube_file}}` + +- Deliver a standard test email to `user@example.com` using the LMTP protocol via a UNIX domain socket file: + +`swaks {{[-t|--to]}} {{user@example.com}} --socket {{/var/lda.sock}} --protocol {{LMTP}}` diff --git a/pages/linux/swaplabel.md b/pages/linux/swaplabel.md new file mode 100644 index 00000000000000..a88b4b204c4079 --- /dev/null +++ b/pages/linux/swaplabel.md @@ -0,0 +1,17 @@ +# swaplabel + +> Print or change the label or UUID of a swap area. +> Note: `path/to/file` can either point to a regular file or a swap partition. +> More information: . + +- Display the current label and UUID of a swap area: + +`swaplabel {{path/to/file}}` + +- Set the label of a swap area: + +`swaplabel {{[-L|--label]}} {{new_label}} {{path/to/file}}` + +- Set the UUID of a swap area (you can generate a UUID using `uuidgen`): + +`swaplabel {{[-U|--uuid]}} {{new_uuid}} {{path/to/file}}` diff --git a/pages/linux/swapoff.md b/pages/linux/swapoff.md index cc84c767057376..62b1294b97ef60 100644 --- a/pages/linux/swapoff.md +++ b/pages/linux/swapoff.md @@ -1,19 +1,17 @@ # swapoff -> Disables device or file for swapping. +> Disable devices and files for swapping. +> Note: `path/to/file` can either point to a regular file or a swap partition. +> More information: . -- Disable a given swap partition: - -`swapoff {{/dev/sdb7}}` - -- Disable a given swap file: +- Disable a given swap area: `swapoff {{path/to/file}}` -- Disable all swap areas: +- Disable all swap areas in `/proc/swaps`: -`swapoff -a` +`swapoff {{[-a|--all]}}` -- Disable swap by label of a device or file: +- Disable a swap partition by its label: -`swapoff -L {{swap1}}` +`swapoff -L {{label}}` diff --git a/pages/linux/swapon.md b/pages/linux/swapon.md index 89cd4448a218ac..4746419e90b670 100644 --- a/pages/linux/swapon.md +++ b/pages/linux/swapon.md @@ -1,23 +1,21 @@ # swapon -> Enables device or file for swapping. +> Enable devices and files for swapping. +> Note: `path/to/file` can either point to a regular file or a swap partition. +> More information: . -- Get swap information: +- Show swap information: -`swapon -s` +`swapon` -- Enable a given swap partition: - -`swapon {{/dev/sdb7}}` - -- Enable a given swap file: +- Enable a given swap area: `swapon {{path/to/file}}` -- Enable all swap areas: +- Enable all swap areas specified in `/etc/fstab` except those with the `noauto` option: -`swapon -a` +`swapon {{[-a|--all]}}` -- Enable swap by label of a device or file: +- Enable a swap partition by its label: -`swapon -L {{swap1}}` +`swapon -L {{label}}` diff --git a/pages/linux/switch_root.md b/pages/linux/switch_root.md new file mode 100644 index 00000000000000..2576f84abdfd9c --- /dev/null +++ b/pages/linux/switch_root.md @@ -0,0 +1,14 @@ +# switch_root + +> Use a different filesystem as the root of the mount tree. +> Note: `switch_root` will fail to function if the new root is not the root of a mount. Use bind-mounting as a workaround. +> See also: `chroot`, `mount`. +> More information: . + +- Move `/proc`, `/dev`, `/sys` and `/run` to the specified filesystem, use this filesystem as the new root and start the specified init process: + +`switch_root {{new_root}} {{/sbin/init}}` + +- Display help: + +`switch_root {{[-h|--help]}}` diff --git a/pages/linux/swupd.md b/pages/linux/swupd.md index 35c2a279d03fe4..0a673324924121 100644 --- a/pages/linux/swupd.md +++ b/pages/linux/swupd.md @@ -1,9 +1,9 @@ # swupd > Package management utility for Clear Linux. -> More information: . +> More information: . -- Update to latest version: +- Update to the latest version: `sudo swupd update` diff --git a/pages/linux/swww.md b/pages/linux/swww.md new file mode 100644 index 00000000000000..ea55cd1ae5fb97 --- /dev/null +++ b/pages/linux/swww.md @@ -0,0 +1,25 @@ +# swww + +> Efficient animated wallpaper daemon for Wayland. +> See also: `swww-daemon`. +> More information: . + +- Set wallpaper: + +`swww img {{path/to/image}}` + +- Set wallpaper to specified outputs: + +`swww img {{[-o|--outputs]}} {{output1,output2,...}} {{path/to/image}}` + +- Restore last wallpaper: + +`swww restore` + +- Kill daemon: + +`swww kill` + +- Display output information: + +`swww query` diff --git a/pages/linux/sxiv.md b/pages/linux/sxiv.md index 3a25e2a57c9a6a..b04affb6c84613 100644 --- a/pages/linux/sxiv.md +++ b/pages/linux/sxiv.md @@ -1,24 +1,24 @@ # sxiv > Simple X Image Viewer. -> More information: . +> More information: . - Open an image: -`sxiv {{path/to/file}}` +`sxiv {{path/to/image}}` - Open an image in fullscreen mode: `sxiv -f {{path/to/file}}` -- Open a newline-separated list of images, reading filenames from standard input: +- Open a newline-separated list of images, reading filenames from `stdin`: `echo {{path/to/file}} | sxiv -i` -- Open a space-separated list of images as a slideshow: +- Open one or more images as a slideshow: -`sxiv -S {{seconds}} {{path/to/file}}` +`sxiv -S {{seconds}} {{path/to/image1 path/to/image2}}` -- Open a space-separated list of images in thumbnail mode: +- Open one or more images in thumbnail mode: -`sxiv -t {{path/to/file}}` +`sxiv -t {{path/to/image1 path/to/image2}}` diff --git a/pages/linux/synopkg.md b/pages/linux/synopkg.md new file mode 100644 index 00000000000000..cd111734c1443c --- /dev/null +++ b/pages/linux/synopkg.md @@ -0,0 +1,36 @@ +# synopkg + +> Package management utility for Synology DiskStation Manager. +> More information: . + +- List the names of installed packages: + +`synopkg list --name` + +- List packages which depend on a specific package: + +`synopkg list --depend-on {{package}}` + +- Start/Stop a package: + +`sudo synopkg {{start|stop}} {{package}}` + +- Print the status of a package: + +`synopkg status {{package}}` + +- Uninstall a package: + +`sudo synopkg uninstall {{package}}` + +- Check if updates are available for a package: + +`synopkg checkupdate {{package}}` + +- Upgrade all packages to the latest version: + +`sudo synopkg upgradeall` + +- Install a package from a synopkg file: + +`sudo synopkg install {{path/to/package.spk}}` diff --git a/pages/linux/synoupgrade.md b/pages/linux/synoupgrade.md new file mode 100644 index 00000000000000..2aaa76a47592ca --- /dev/null +++ b/pages/linux/synoupgrade.md @@ -0,0 +1,36 @@ +# synoupgrade + +> Upgrade Synology DiskStation Manager (DSM) - the Synology NAS operating system. +> More information: . + +- Check if upgrades are available: + +`sudo synoupgrade --check` + +- Check for patches without upgrading the DSM version: + +`sudo synoupgrade --check-smallupdate` + +- Download the latest upgrade available (use `--download-smallupdate` for patches): + +`sudo synoupgrade --download` + +- Start the upgrade process: + +`sudo synoupgrade --start` + +- Upgrade to the latest version automatically: + +`sudo synoupgrade --auto` + +- Apply patches without upgrading the DSM version automatically: + +`sudo synoupgrade --auto-smallupdate` + +- Upgrade the DSM using a patch file (should be an absolute path): + +`sudo synoupgrade --patch /{{path/to/file.pat}}` + +- Display help: + +`synoupgrade` diff --git a/pages/linux/sysctl.md b/pages/linux/sysctl.md index bb7388bccfd479..4b7b36b556efbc 100644 --- a/pages/linux/sysctl.md +++ b/pages/linux/sysctl.md @@ -1,14 +1,15 @@ # sysctl > List and change kernel runtime variables. +> More information: . - Show all available variables and their values: -`sysctl -a` +`sysctl {{[-a|--all]}}` - Set a changeable kernel state variable: -`sysctl -w {{section.tunable}}={{value}}` +`sysctl {{[-w|--write]}} {{section.tunable}}={{value}}` - Get currently open file handlers: @@ -18,6 +19,6 @@ `sysctl fs.file-max` -- Apply changes from /etc/sysctl.conf: +- Apply changes from `/etc/sysctl.conf`: -`sysctl -p` +`sysctl {{[-p|--load]}}` diff --git a/pages/linux/sysdig.md b/pages/linux/sysdig.md new file mode 100644 index 00000000000000..660921e59fc667 --- /dev/null +++ b/pages/linux/sysdig.md @@ -0,0 +1,33 @@ +# sysdig + +> System troubleshooting, analysis and exploration. +> Capture, filter and store systemcalls. +> More information: . + +- Capture all the events from the live system and print them to screen: + +`sysdig` + +- Capture all the events from the live system and save them to disk: + +`sysdig {{[-w|--write]}} {{path/to/file}}.scap` + +- Read events from a file and print them to screen: + +`sysdig {{[-r|--read]}} {{path/to/file}}.scap` + +- Filter and Print all the open system calls invoked by cat: + +`sysdig proc.name=cat and evt.type=open` + +- Register any found plugin and use dummy as input source passing to it open params: + +`sysdig -I dummy:'{{parameter}}'` + +- List the available chisels: + +`sysdig {{[-cl|--list-chisels]}}` + +- Use the spy_ip chisel to look at the data exchanged with ip address: + +`sysdig {{[-c|--chisel]}} spy_ip {{ip_address}}` diff --git a/pages/linux/systemctl-add-requires.md b/pages/linux/systemctl-add-requires.md new file mode 100644 index 00000000000000..737232ba849e73 --- /dev/null +++ b/pages/linux/systemctl-add-requires.md @@ -0,0 +1,16 @@ +# systemctl add-requires + +> Add `Requires` dependencies to a target for one or more units. +> More information: . + +- Add a `Requires` dependency from a target to a unit: + +`systemctl add-requires {{target}} {{unit}}` + +- Add multiple `Requires` dependencies at once: + +`systemctl add-requires {{target}} {{unit1 unit2 ...}}` + +- Add a user-level `Requires` dependency: + +`systemctl add-requires {{target}} {{unit}} --user` diff --git a/pages/linux/systemctl-add-wants.md b/pages/linux/systemctl-add-wants.md new file mode 100644 index 00000000000000..de9a37128cbe45 --- /dev/null +++ b/pages/linux/systemctl-add-wants.md @@ -0,0 +1,16 @@ +# systemctl add-wants + +> Add `Wants` dependencies to a target for one or more units. +> More information: . + +- Add a `Wants` dependency from a target to a unit: + +`systemctl add-wants {{target}} {{unit}}` + +- Add multiple `Wants` dependencies at once: + +`systemctl add-wants {{target}} {{unit1 unit2 ...}}` + +- Add a user-level `Wants` dependency: + +`systemctl add-wants {{target}} {{unit}} --user` diff --git a/pages/linux/systemctl-bind.md b/pages/linux/systemctl-bind.md new file mode 100644 index 00000000000000..c520e17ac8e0ed --- /dev/null +++ b/pages/linux/systemctl-bind.md @@ -0,0 +1,20 @@ +# systemctl bind + +> Ephemerally bind-mount a file or directory from the host into a unit's mount namespace. +> More information: . + +- Bind-mount a host path into the same location inside the unit: + +`systemctl bind {{unit}} /{{path/to/host_directory}}` + +- Bind-mount a host path into a different location inside the unit: + +`systemctl bind {{unit}} /{{path/to/host_directory}} /{{path/to/unit_directory}}` + +- Bind-mount a path as read-only inside the unit: + +`systemctl bind {{unit}} /{{path/to/host_directory}} --read-only` + +- Create the destination path inside the unit before binding: + +`systemctl bind {{unit}} /{{path/to/host_directory}} /{{path/to/unit_directory}} --mkdir` diff --git a/pages/linux/systemctl-cancel.md b/pages/linux/systemctl-cancel.md new file mode 100644 index 00000000000000..82ae9ff2a5e932 --- /dev/null +++ b/pages/linux/systemctl-cancel.md @@ -0,0 +1,20 @@ +# systemctl cancel + +> Cancel one or more pending jobs in the system manager or user manager. +> More information: . + +- Cancel a job by its numeric ID: + +`systemctl cancel {{job_id}}` + +- Cancel multiple jobs: + +`systemctl cancel {{job_id1 job_id2 ...}}` + +- Cancel all pending jobs: + +`systemctl cancel` + +- Cancel a job in the user service manager: + +`systemctl cancel {{job_id}} --user` diff --git a/pages/linux/systemctl-cat.md b/pages/linux/systemctl-cat.md new file mode 100644 index 00000000000000..e8c1f07044b70e --- /dev/null +++ b/pages/linux/systemctl-cat.md @@ -0,0 +1,20 @@ +# systemctl cat + +> Show the full contents of unit files as systemd sees them. +> More information: . + +- Show the contents and absolute path of a unit file: + +`systemctl cat {{unit}}` + +- Show the contents of multiple unit files: + +`systemctl cat {{unit1 unit2 ...}}` + +- Show the contents of a unit file for a template: + +`systemctl cat {{template@}}` + +- Show the contents of a user unit file: + +`systemctl cat {{unit}} --user` diff --git a/pages/linux/systemctl-daemon-reload.md b/pages/linux/systemctl-daemon-reload.md new file mode 100644 index 00000000000000..4c644f60a7265c --- /dev/null +++ b/pages/linux/systemctl-daemon-reload.md @@ -0,0 +1,10 @@ +# systemctl daemon-reload + +> Reload systemd manager configuration. +> Use this after creating, modifying, or deleting unit files. +> See also: `systemctl reload` for reloading service configuration. +> More information: . + +- Reload systemd to apply changes in unit files: + +`systemctl daemon-reload` diff --git a/pages/linux/systemctl-default.md b/pages/linux/systemctl-default.md new file mode 100644 index 00000000000000..339f7132be18c7 --- /dev/null +++ b/pages/linux/systemctl-default.md @@ -0,0 +1,12 @@ +# systemctl default + +> Enter system default mode. +> More information: . + +- Enter default mode as a blocking operation: + +`systemctl default` + +- Enter default mode as asynchronous operation: + +`systemctl default --no-block` diff --git a/pages/linux/systemctl-disable.md b/pages/linux/systemctl-disable.md new file mode 100644 index 00000000000000..dc1f962a6eb1fb --- /dev/null +++ b/pages/linux/systemctl-disable.md @@ -0,0 +1,16 @@ +# systemctl disable + +> Disable systemd services. +> More information: . + +- Stop a service from running on boot: + +`systemctl disable {{unit}}` + +- Stop a service from running on boot and stop its current execution: + +`systemctl disable {{unit}} --now` + +- Stop a user service from running on login: + +`systemctl disable {{unit}} --user` diff --git a/pages/linux/systemctl-edit.md b/pages/linux/systemctl-edit.md new file mode 100644 index 00000000000000..74dbade42c2479 --- /dev/null +++ b/pages/linux/systemctl-edit.md @@ -0,0 +1,20 @@ +# systemctl edit + +> Edit systemd unit files. +> More information: . + +- Overlay a unit file non-destructively: + +`sudo systemctl edit {{unit_file}}` + +- Edit an unit file: + +`sudo systemctl edit {{unit_file}} {{[-l|--full]}}` + +- Create a new unit file: + +`sudo systemctl edit {{unit_file}} {{[-lf|--full --force]}}` + +- Overlay a user unit file: + +`systemctl edit {{unit_file}} --user` diff --git a/pages/linux/systemctl-emergency.md b/pages/linux/systemctl-emergency.md new file mode 100644 index 00000000000000..34c84999b0cc3e --- /dev/null +++ b/pages/linux/systemctl-emergency.md @@ -0,0 +1,12 @@ +# systemctl emergency + +> Enter emergency mode `emergency.target`. +> More information: . + +- Enter emergency mode: + +`systemctl emergency` + +- Enter emergency mode without blocking (return immediately): + +`systemctl emergency --no-block` diff --git a/pages/linux/systemctl-enable.md b/pages/linux/systemctl-enable.md new file mode 100644 index 00000000000000..2d878c6725db61 --- /dev/null +++ b/pages/linux/systemctl-enable.md @@ -0,0 +1,16 @@ +# systemctl enable + +> Enable systemd services. +> More information: . + +- Enable a service to run on boot: + +`systemctl enable {{unit}}` + +- Enable a service to run on boot and start it now: + +`systemctl enable {{unit}} --now` + +- Enable a user unit to run on login: + +`systemctl enable {{unit}} --user` diff --git a/pages/linux/systemctl-exit.md b/pages/linux/systemctl-exit.md new file mode 100644 index 00000000000000..8469797fb7f75c --- /dev/null +++ b/pages/linux/systemctl-exit.md @@ -0,0 +1,16 @@ +# systemctl exit + +> Ask the service manager to quit. +> More information: . + +- Exit the user service manager: + +`systemctl exit --user` + +- Exit the user service manager with a specific exit code: + +`systemctl exit {{code}} --user` + +- Ask the container's service manager to exit (equivalent of `systemctl poweroff` if not in a container): + +`systemctl exit` diff --git a/pages/linux/systemctl-freeze.md b/pages/linux/systemctl-freeze.md new file mode 100644 index 00000000000000..23bd750b831f06 --- /dev/null +++ b/pages/linux/systemctl-freeze.md @@ -0,0 +1,17 @@ +# systemctl freeze + +> Freeze one or more units. +> Frozen units can be resumed with `systemctl thaw`. +> More information: . + +- Freeze a specific unit: + +`systemctl freeze {{unit}}` + +- Freeze multiple units: + +`systemctl freeze {{unit1 unit2 ...}}` + +- Freeze all running units: + +`systemctl freeze '*'` diff --git a/pages/linux/systemctl-get-default.md b/pages/linux/systemctl-get-default.md new file mode 100644 index 00000000000000..590d7db72dabe9 --- /dev/null +++ b/pages/linux/systemctl-get-default.md @@ -0,0 +1,8 @@ +# systemctl get-default + +> Display the default target (runlevel) that the system will boot into. +> More information: . + +- Check the default target on your system: + +`systemctl get-default` diff --git a/pages/linux/systemctl-halt.md b/pages/linux/systemctl-halt.md new file mode 100644 index 00000000000000..f07fd018f57187 --- /dev/null +++ b/pages/linux/systemctl-halt.md @@ -0,0 +1,33 @@ +# systemctl-halt + +> Shut down and halt the system (stop the OS kernel but keep hardware powered on). +> See also: `halt`. +> More information: . + +- Halt the system: + +`systemctl halt` + +- Halt the system immediately without asking services to stop gracefully: + +`systemctl halt --force` + +- Halt the system immediately without sending notifications to logged-in users: + +`systemctl halt --force --no-wall` + +- Halt the system immediately without terminating any processes or unmounting filesystems (dangerous, may cause data loss): + +`systemctl halt --force --force` + +- Schedule a halt at a specific time (e.g., 23:00): + +`systemctl halt --when 23:00` + +- Schedule a halt after a certain duration (e.g., 2 hours): + +`systemctl halt --when +2h` + +- Cancel a scheduled halt: + +`systemctl halt --when cancel` diff --git a/pages/linux/systemctl-is-active.md b/pages/linux/systemctl-is-active.md new file mode 100644 index 00000000000000..05cb5b0c464e51 --- /dev/null +++ b/pages/linux/systemctl-is-active.md @@ -0,0 +1,20 @@ +# systemctl is-active + +> Check if one or more systemd units are active. +> More information: . + +- Check whether a unit is active: + +`systemctl is-active {{unit}}` + +- Check whether multiple units are active: + +`systemctl is-active {{unit1 unit2 ...}}` + +- Check whether a unit is active without printing the state to `stdout`: + +`systemctl is-active {{unit}} {{[-q|--quiet]}}` + +- Check whether a user unit is active: + +`systemctl is-active {{unit}} --user` diff --git a/pages/linux/systemctl-is-enabled.md b/pages/linux/systemctl-is-enabled.md new file mode 100644 index 00000000000000..7fd5df979fbf2a --- /dev/null +++ b/pages/linux/systemctl-is-enabled.md @@ -0,0 +1,17 @@ +# systemctl is-enabled + +> Check whether unit files are enabled. +> See also: `systemctl enable`, `systemctl disable`. +> More information: . + +- Show the enablement state: + +`systemctl is-enabled {{unit1 unit2 ...}}` + +- Suppress output and return only the exit code: + +`systemctl is-enabled {{unit}} --quiet` + +- Show installation targets and symlink paths: + +`systemctl is-enabled {{unit}} --full` diff --git a/pages/linux/systemctl-list-automounts.md b/pages/linux/systemctl-list-automounts.md new file mode 100644 index 00000000000000..6f71fb02feb35d --- /dev/null +++ b/pages/linux/systemctl-list-automounts.md @@ -0,0 +1,21 @@ +# systemctl list-automounts + +> List automount units currently in memory, showing mount paths and unit names. +> See also: `systemctl list-units`, `systemctl list-unit-files`. +> More information: . + +- List automount units currently in memory: + +`systemctl list-automounts` + +- List all automount units, including inactive ones: + +`systemctl list-automounts {{[-a|--all]}}` + +- Filter automount units by state: + +`systemctl list-automounts --state {{active|inactive|failed|...}}` + +- Filter automount units by name pattern: + +`systemctl list-automounts {{pattern1 pattern2 ...}}` diff --git a/pages/linux/systemctl-list-jobs.md b/pages/linux/systemctl-list-jobs.md new file mode 100644 index 00000000000000..cad39a2f0581ad --- /dev/null +++ b/pages/linux/systemctl-list-jobs.md @@ -0,0 +1,12 @@ +# systemctl list-jobs + +> List of active systemd jobs that are currently queued or running on the system. +> More information: . + +- List all active jobs: + +`systemctl list-jobs` + +- Filter jobs for a specific unit: + +`systemctl list-jobs {{unit}}` diff --git a/pages/linux/systemctl-list-unit-files.md b/pages/linux/systemctl-list-unit-files.md new file mode 100644 index 00000000000000..b512cc886813bb --- /dev/null +++ b/pages/linux/systemctl-list-unit-files.md @@ -0,0 +1,29 @@ +# systemctl list-unit-files + +> List installed unit files and their enablement states. +> See also: `systemctl list-units` for listing units currently loaded in memory. +> More information: . + +- List installed unit files and their states: + +`systemctl list-unit-files` + +- Filter by state: + +`systemctl list-unit-files --state {{enabled|disabled|static|...}}` + +- Filter by unit type: + +`systemctl list-unit-files {{[-t|--type]}} {{service|socket|timer|...}}` + +- Filter by a name pattern: + +`systemctl list-unit-files '{{sshd*}}'` + +- Print output directly to `stdout`: + +`systemctl list-unit-files --no-pager` + +- Print output without headers or footers: + +`systemctl list-unit-files --no-legend` diff --git a/pages/linux/systemctl-list-units.md b/pages/linux/systemctl-list-units.md new file mode 100644 index 00000000000000..6e919d5a0db293 --- /dev/null +++ b/pages/linux/systemctl-list-units.md @@ -0,0 +1,33 @@ +# systemctl list-units + +> List units that systemd currently has in memory. +> See also: `systemctl list-unit-files` for listing installed unit files. +> More information: . + +- List units which are active, have pending jobs, or have failed: + +`systemctl list-units` + +- List all units, including inactive ones: + +`systemctl list-units {{[-a|--all]}}` + +- Filter by unit type: + +`systemctl list-units {{[-t|--type]}} {{service|socket|timer|...}}` + +- Filter by state: + +`systemctl list-units --state {{running|listening|dead|...}}` + +- Filter by a name pattern: + +`systemctl list-units 'systemd*'` + +- Print output directly to `stdout`: + +`systemctl list-units --no-pager` + +- Print output without headers or footers (for scripts): + +`systemctl list-units --no-legend` diff --git a/pages/linux/systemctl-mask.md b/pages/linux/systemctl-mask.md new file mode 100644 index 00000000000000..19674eec430c99 --- /dev/null +++ b/pages/linux/systemctl-mask.md @@ -0,0 +1,16 @@ +# systemctl mask + +> Link units to `/dev/null` so that they can be even started. +> More information: . + +- Mask a service: + +`systemctl mask {{service_name}}` + +- Ensure that the service is shut down while masking: + +`systemctl mask {{service_name}} --now` + +- Mask a user service: + +`systemctl mask {{service_name}} --user` diff --git a/pages/linux/systemctl-poweroff.md b/pages/linux/systemctl-poweroff.md new file mode 100644 index 00000000000000..a99c121183ffa9 --- /dev/null +++ b/pages/linux/systemctl-poweroff.md @@ -0,0 +1,17 @@ +# systemctl-poweroff + +> Power off the system. +> See also: `poweroff`. +> More information: . + +- Power off the system: + +`systemctl poweroff` + +- Power off the system immediately without asking services to stop gracefully: + +`systemctl poweroff --force` + +- Power off the system immediately without sending notifications to logged-in users: + +`systemctl poweroff --force --no-wall` diff --git a/pages/linux/systemctl-preset-all.md b/pages/linux/systemctl-preset-all.md new file mode 100644 index 00000000000000..1c4ecbb467b30b --- /dev/null +++ b/pages/linux/systemctl-preset-all.md @@ -0,0 +1,21 @@ +# systemctl preset-all + +> Reset the enablement state of all installed units to the defaults specified in preset policy files. +> See also: `systemctl preset`, `systemctl list-unit-files`. +> More information: . + +- Reset the enablement state of all installed units: + +`sudo systemctl preset-all` + +- Enable only if marked as enabled in the preset policy: + +`sudo systemctl preset-all --preset-mode enable-only` + +- Disable only if marked as disabled in the preset policy: + +`sudo systemctl preset-all --preset-mode disable-only` + +- Suppress output and return only the exit code: + +`sudo systemctl preset-all {{[-q|--quiet]}}` diff --git a/pages/linux/systemctl-preset.md b/pages/linux/systemctl-preset.md new file mode 100644 index 00000000000000..483e75094ace6e --- /dev/null +++ b/pages/linux/systemctl-preset.md @@ -0,0 +1,21 @@ +# systemctl preset + +> Reset the enablement state of unit files to the defaults specified in preset policy files. +> See also: `systemctl preset-all`, `systemctl list-unit-files`. +> More information: . + +- Reset the enablement state to preset defaults: + +`systemctl preset {{unit1 unit2 ...}}` + +- Enable only if marked as enabled in the preset policy: + +`systemctl preset {{unit}} --preset-mode enable-only` + +- Disable only if marked as disabled in the preset policy: + +`systemctl preset {{unit}} --preset-mode disable-only` + +- Suppress output and return only the exit code: + +`systemctl preset {{unit}} {{[-q|--quiet]}}` diff --git a/pages/linux/systemctl-reboot.md b/pages/linux/systemctl-reboot.md new file mode 100644 index 00000000000000..13914e13914ca4 --- /dev/null +++ b/pages/linux/systemctl-reboot.md @@ -0,0 +1,12 @@ +# systemctl reboot + +> Reboot the system. +> More information: . + +- Reboot the system: + +`systemctl reboot` + +- Reboot into the BIOS/UEFI menu: + +`systemctl reboot --firmware-setup` diff --git a/pages/linux/systemctl-reload.md b/pages/linux/systemctl-reload.md new file mode 100644 index 00000000000000..80c38a9f79fe47 --- /dev/null +++ b/pages/linux/systemctl-reload.md @@ -0,0 +1,17 @@ +# systemctl reload + +> Reload a service's configuration without restarting it. +> This reloads the service itself (like Apache or Nginx configs), not the systemd unit file. +> To reload unit files, use `systemctl daemon-reload`. + +- Reload a service: + +`systemctl reload {{nginx}}` + +- Reload multiple services: + +`systemctl reload {{networking apache2 ...}}` + +- Reload a service for the current user: + +`systemctl reload {{pipewire}} --user` diff --git a/pages/linux/systemctl-restart.md b/pages/linux/systemctl-restart.md new file mode 100644 index 00000000000000..3e650484686f8c --- /dev/null +++ b/pages/linux/systemctl-restart.md @@ -0,0 +1,17 @@ +# systemctl restart + +> Stop and then start one or more systemd units. +> Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted. +> More information: . + +- Restart a unit: + +`systemctl restart {{unit}}` + +- Restart more than one unit: + +`systemctl restart {{unit1 unit2 ...}}` + +- Restart a user unit: + +`systemctl restart {{unit}} --user` diff --git a/pages/linux/systemctl-set-environment.md b/pages/linux/systemctl-set-environment.md new file mode 100644 index 00000000000000..98ef561bbaecc7 --- /dev/null +++ b/pages/linux/systemctl-set-environment.md @@ -0,0 +1,16 @@ +# systemctl set-environment + +> Set one or more service manager environment variables. +> More information: . + +- Set a single environment variable: + +`systemctl set-environment {{var value}}` + +- Set multiple environment variables at once: + +`systemctl set-environment {{var1 value1 var2 value2 ...}}` + +- Set an environment variable for the user service manager: + +`systemctl set-environment {{var value}} --user` diff --git a/pages/linux/systemctl-show-environment.md b/pages/linux/systemctl-show-environment.md new file mode 100644 index 00000000000000..64078e249519b9 --- /dev/null +++ b/pages/linux/systemctl-show-environment.md @@ -0,0 +1,12 @@ +# systemctl show-environment + +> Display systemd environment blocks. +> More information: . + +- Display the environment block for the system: + +`systemctl show-environment` + +- Display the environment block for the current user: + +`systemctl show-environment --user` diff --git a/pages/linux/systemctl-show.md b/pages/linux/systemctl-show.md new file mode 100644 index 00000000000000..5837c1b49ebf5e --- /dev/null +++ b/pages/linux/systemctl-show.md @@ -0,0 +1,28 @@ +# systemctl show + +> Show properties of units or systemd itself. +> More information: . + +- Show properties of the system service manager: + +`systemctl show` + +- Show properties of the user service manager: + +`systemctl show --user` + +- Show properties of a specific unit: + +`systemctl show {{unit}}` + +- Show properties of a specific user unit: + +`systemctl show {{unit}} --user` + +- Include empty properties in the list: + +`systemctl show {{[-a|--all]}}` + +- Only show the specified properties: + +`systemctl show {{unit}} {{[-p|--property]}} {{Wants,Conflicts,...}}` diff --git a/pages/linux/systemctl-soft-reboot.md b/pages/linux/systemctl-soft-reboot.md new file mode 100644 index 00000000000000..04075a55b4d5f2 --- /dev/null +++ b/pages/linux/systemctl-soft-reboot.md @@ -0,0 +1,20 @@ +# systemctl soft-reboot + +> Shut down and reboot userspace, leaving the kernel running. +> More information: . + +- Perform a soft reboot immediately: + +`systemctl soft-reboot` + +- Force a soft reboot: + +`systemctl soft-reboot --force` + +- Schedule a soft reboot for a specific time: + +`systemctl soft-reboot --when "{{timestamp}}"` + +- Cancel a scheduled soft reboot: + +`systemctl soft-reboot --when cancel` diff --git a/pages/linux/systemctl-start.md b/pages/linux/systemctl-start.md new file mode 100644 index 00000000000000..db839b050b9083 --- /dev/null +++ b/pages/linux/systemctl-start.md @@ -0,0 +1,12 @@ +# systemctl start + +> Start systemd units. +> More information: . + +- Start a unit: + +`systemctl start {{unit}}` + +- Start a user unit: + +`systemctl start {{unit}} --user` diff --git a/pages/linux/systemctl-status.md b/pages/linux/systemctl-status.md new file mode 100644 index 00000000000000..b47ffd15ee75c9 --- /dev/null +++ b/pages/linux/systemctl-status.md @@ -0,0 +1,32 @@ +# systemctl status + +> Display the status of systemd units. +> More information: . + +- Show the status of a systemd unit: + +`systemctl status {{unit}}.{{service|timer|socket|target|...}}` + +- Show the status of failed units: + +`systemctl status --failed` + +- List all running services: + +`systemctl status` + +- List all units in the system: + +`systemctl status --all` + +- List all units of a specific type: + +`systemctl status --type {{service|timer|socket|target|...}}` + +- List all units with a specific state: + +`systemctl status --state {{active|inactive|failed}}` + +- Show the status of a user unit: + +`systemctl status {{unit}} --user` diff --git a/pages/linux/systemctl-stop.md b/pages/linux/systemctl-stop.md new file mode 100644 index 00000000000000..464b2f193ef710 --- /dev/null +++ b/pages/linux/systemctl-stop.md @@ -0,0 +1,16 @@ +# systemctl stop + +> Stop systemd units. +> More information: . + +- Stop a unit: + +`systemctl stop {{unit}}` + +- Stop a service and suppress warnings: + +`systemctl stop {{unit}} --no-warn` + +- Stop a user unit: + +`systemctl stop {{unit}} --user` diff --git a/pages/linux/systemctl-suspend-then-hibernate.md b/pages/linux/systemctl-suspend-then-hibernate.md new file mode 100644 index 00000000000000..868ca939bfb63e --- /dev/null +++ b/pages/linux/systemctl-suspend-then-hibernate.md @@ -0,0 +1,12 @@ +# systemctl suspend-then-hibernate + +> Suspend the system, then automatically hibernate after a period of inactivity. +> More information: . + +- Suspend the system and hibernate after the configured delay: + +`systemctl suspend-then-hibernate` + +- Force suspend-then-hibernate (bypass inhibitor locks): + +`systemctl suspend-then-hibernate --force` diff --git a/pages/linux/systemctl-suspend.md b/pages/linux/systemctl-suspend.md new file mode 100644 index 00000000000000..592076c92c02af --- /dev/null +++ b/pages/linux/systemctl-suspend.md @@ -0,0 +1,16 @@ +# systemctl suspend + +> Suspend the system. +> More information: . + +- Suspend the system immediately: + +`systemctl suspend` + +- Schedule a suspend after a 5 minute delay: + +`sleep 300 && systemctl suspend` + +- Suspend the system and then hibernate after a delay: + +`systemctl hybrid-sleep` diff --git a/pages/linux/systemctl-switch-root.md b/pages/linux/systemctl-switch-root.md new file mode 100644 index 00000000000000..8eee629180a8cb --- /dev/null +++ b/pages/linux/systemctl-switch-root.md @@ -0,0 +1,16 @@ +# systemctl switch-root + +> Switch to a new root filesystem and execute a new system manager. +> More information: . + +- Switch to a new root filesystem and execute its default init system: + +`systemctl switch-root {{path/to/new_root}}` + +- Switch to a new root filesystem and run a specific init binary: + +`systemctl switch-root {{path/to/new_root}} {{/sbin/init}}` + +- Switch to a new root filesystem with verbose output: + +`systemctl switch-root {{path/to/new_root}} --verbose` diff --git a/pages/linux/systemctl-thaw.md b/pages/linux/systemctl-thaw.md new file mode 100644 index 00000000000000..71cbe08524d1f6 --- /dev/null +++ b/pages/linux/systemctl-thaw.md @@ -0,0 +1,17 @@ +# systemctl thaw + +> Thaw (resume) one or more frozen units. +> Units can be frozen with `systemctl freeze`. +> More information: . + +- Thaw a specific unit: + +`systemctl thaw {{unit}}` + +- Thaw multiple units: + +`systemctl thaw {{unit1 unit2 ...}}` + +- Thaw all currently frozen units: + +`systemctl thaw '*'` diff --git a/pages/linux/systemctl-try-reload-or-restart.md b/pages/linux/systemctl-try-reload-or-restart.md new file mode 100644 index 00000000000000..481930fe0f1748 --- /dev/null +++ b/pages/linux/systemctl-try-reload-or-restart.md @@ -0,0 +1,16 @@ +# systemctl try-reload-or-restart + +> Reload one or more units if they support it; otherwise restart them. +> More information: . + +- Reload or restart a specific unit: + +`systemctl try-reload-or-restart {{unit}}` + +- Reload or restart multiple units: + +`systemctl try-reload-or-restart {{unit1 unit2 ...}}` + +- Reload or restart all units matching a pattern: + +`systemctl try-reload-or-restart '{{pattern}}'` diff --git a/pages/linux/systemctl-try-restart.md b/pages/linux/systemctl-try-restart.md new file mode 100644 index 00000000000000..44d5714d1ff4ea --- /dev/null +++ b/pages/linux/systemctl-try-restart.md @@ -0,0 +1,16 @@ +# systemctl try-restart + +> Restart one or more units only if they are currently running. +> More information: . + +- Restart a specific unit if it is running: + +`systemctl try-restart {{unit}}` + +- Restart multiple units if they are running: + +`systemctl try-restart {{unit1 unit2 ...}}` + +- Restart all units matching a pattern if they are running: + +`systemctl try-restart '{{pattern}}'` diff --git a/pages/linux/systemctl-unmask.md b/pages/linux/systemctl-unmask.md new file mode 100644 index 00000000000000..cf68ce40f7f8ed --- /dev/null +++ b/pages/linux/systemctl-unmask.md @@ -0,0 +1,17 @@ +# systemctl unmask + +> Unmask units to make them startable again. +> This undoes the effect of `systemctl mask`. +> More information: . + +- Unmask a service: + +`systemctl unmask {{service_name}}` + +- Unmask and start a service immediately: + +`systemctl unmask {{service_name}} --now` + +- Unmask a user service: + +`systemctl unmask {{service_name}} --user` diff --git a/pages/linux/systemctl-unset-environment.md b/pages/linux/systemctl-unset-environment.md new file mode 100644 index 00000000000000..a8767e6457df82 --- /dev/null +++ b/pages/linux/systemctl-unset-environment.md @@ -0,0 +1,17 @@ +# systemctl unset-environment + +> Unset one or more service manager environment variables. +> This undoes the effect of `systemctl set-environment`. +> More information: . + +- Unset a single environment variable: + +`systemctl unset-environment {{var}}` + +- Unset multiple environment variables at once: + +`systemctl unset-environment {{var1 var2 ...}}` + +- Unset an environment variable in the user service manager: + +`systemctl unset-environment {{var}} --user` diff --git a/pages/linux/systemctl-whoami.md b/pages/linux/systemctl-whoami.md new file mode 100644 index 00000000000000..2cbb444c7a738b --- /dev/null +++ b/pages/linux/systemctl-whoami.md @@ -0,0 +1,21 @@ +# systemctl whoami + +> Show units that processes belong to. +> If no PID is specified, shows the unit the `systemctl` command itself is invoked in. +> More information: . + +- Show the unit of the current shell (where `systemctl` is running): + +`systemctl whoami` + +- Show the unit of the current shell in user service manager (services managed for your login session): + +`systemctl whoami --user` + +- Show the unit a specific process belongs to: + +`systemctl whoami {{pid}}` + +- Show the units for multiple processes: + +`systemctl whoami {{pid1 pid2 ...}}` diff --git a/pages/linux/systemctl.md b/pages/linux/systemctl.md index 1e8bb09e9180b2..9c48424d66d3d6 100644 --- a/pages/linux/systemctl.md +++ b/pages/linux/systemctl.md @@ -1,36 +1,37 @@ # systemctl > Control the systemd system and service manager. +> Some subcommands such as `disable`, `status`, `reboot` etc. have their own usage documentation. > More information: . -- List failed units: +- Show all running services: -`systemctl --failed` +`systemctl status` -- Start/Stop/Restart/Reload a service: +- List failed units: -`systemctl start/stop/restart/reload {{unit}}` +`systemctl --failed` -- Show the status of a unit: +- Start/Stop/Restart/Reload/Show the status a service: -`systemctl status {{unit}}` +`systemctl {{start|stop|restart|reload|status}} {{unit}}` - Enable/Disable a unit to be started on bootup: -`systemctl enable/disable {{unit}}` +`systemctl {{enable|disable}} {{unit}}` -- Mask/Unmask a unit, prevent it to be started on bootup: +- Reload systemd, scan for new or changed units: -`systemctl mask/unmask {{unit}}` +`systemctl daemon-reload` -- Reload systemd, scanning for new or changed units: +- Check if a unit is active/enabled/failed: -`systemctl daemon-reload` +`systemctl {{is-active|is-enabled|is-failed}} {{unit}}` -- Check if a unit is active: +- List all service/socket/automount units filtering by running/failed state: -`systemctl is-active {{unit}}` +`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` -- Check if a unit is enabled: +- Show the contents & absolute path of a unit file or edit it: -`systemctl is-enabled {{unit}}` +`systemctl {{cat|edit}} {{unit}}` diff --git a/pages/linux/systemd-ac-power.md b/pages/linux/systemd-ac-power.md new file mode 100644 index 00000000000000..75154ff66bc233 --- /dev/null +++ b/pages/linux/systemd-ac-power.md @@ -0,0 +1,12 @@ +# systemd-ac-power + +> Report whether the computer is connected to an external power source. +> More information: . + +- Silently check and return a 0 status code when running on AC power, and a non-zero code otherwise: + +`systemd-ac-power` + +- Additionally print `yes` or `no` to `stdout`: + +`systemd-ac-power {{[-v|--verbose]}}` diff --git a/pages/linux/systemd-analyze.md b/pages/linux/systemd-analyze.md index b914d9a28648dd..f84babafce119e 100644 --- a/pages/linux/systemd-analyze.md +++ b/pages/linux/systemd-analyze.md @@ -1,11 +1,33 @@ # systemd-analyze +> Analyze and debug system manager. > Show timing details about the boot process of units (services, mount points, devices, sockets). +> More information: . -- List time of each unit to start up: +- Print the last system startup time: + +`systemd-analyze` + +- List all running units, ordered by the time they took to initialize: `systemd-analyze blame` -- Print a tree of the time critical chain of units: +- Print a tree of the time-critical chain of units: `systemd-analyze critical-chain` + +- Create an SVG file showing when each system service started, highlighting the time that they spent on initialization: + +`systemd-analyze plot > {{path/to/file.svg}}` + +- Plot a dependency graph and convert it to an SVG file: + +`systemd-analyze dot | dot -T {{svg}} > {{path/to/file.svg}}` + +- Show security scores of running units: + +`systemd-analyze security` + +- View all udev rules together: + +`systemd-analyze cat-config udev/rules.d` diff --git a/pages/linux/systemd-ask-password.md b/pages/linux/systemd-ask-password.md new file mode 100644 index 00000000000000..a00562fb5aaf02 --- /dev/null +++ b/pages/linux/systemd-ask-password.md @@ -0,0 +1,36 @@ +# systemd-ask-password + +> Query the user for a system password. +> More information: . + +- Query a system password with a specific prompt: + +`systemd-ask-password "{{prompt}}"` + +- Specify an identifier for the password query: + +`systemd-ask-password --id {{identifier}} "{{prompt}}"` + +- Use a kernel keyring key name as a cache for the password: + +`systemd-ask-password --keyname {{key_name}} "{{prompt}}"` + +- Set a custom timeout for the password query: + +`systemd-ask-password --timeout {{seconds}} "{{prompt}}"` + +- Force the use of an agent system and never ask on current TTY: + +`systemd-ask-password --no-tty "{{prompt}}"` + +- Store a password in the kernel keyring without displaying it: + +`systemd-ask-password --no-output --keyname {{key_name}} "{{prompt}}"` + +- Pass the asked password to another program: + +`systemd-ask-password | {{command}}` + +- Display help: + +`systemd-ask-password {{[-h|--help]}}` diff --git a/pages/linux/systemd-cat.md b/pages/linux/systemd-cat.md new file mode 100644 index 00000000000000..edfaadf512cd27 --- /dev/null +++ b/pages/linux/systemd-cat.md @@ -0,0 +1,24 @@ +# systemd-cat + +> Connect a pipeline or program's output streams with the systemd journal. +> More information: . + +- Write the output of the specified command to the journal (both output streams are captured): + +`systemd-cat {{command}}` + +- Write the output of a pipeline to the journal (`stderr` stays connected to the terminal): + +`{{command}} | systemd-cat` + +- Use the specified identifier (default: `cat` when reading from a pipeline, executable name otherwise): + +`{{command}} | systemd-cat {{[-t|--identifier]}} {{id}}` + +- Use the specified default priority level for all logged messages: + +`systemd-cat {{[-p|--priority]}} {{emerg|alert|crit|err|warning|notice|info|debug}} {{command}}` + +- Use the specified default priority level for the logged messages from the command's `stderr`: + +`systemd-cat --stderr-priority {{emerg|alert|crit|err|warning|notice|info|debug}} {{command}}` diff --git a/pages/linux/systemd-cgls.md b/pages/linux/systemd-cgls.md new file mode 100644 index 00000000000000..7313ce68d3bb2b --- /dev/null +++ b/pages/linux/systemd-cgls.md @@ -0,0 +1,16 @@ +# systemd-cgls + +> Show the contents of the selected Linux control group hierarchy in a tree. +> More information: . + +- Display the whole control group hierarchy on your system: + +`systemd-cgls` + +- Display a control group tree of a specific resource controller: + +`systemd-cgls {{cpu|memory|io}}` + +- Display the control group hierarchy of one or more systemd units: + +`systemd-cgls {{[-u|--unit]}} {{unit1 unit2 ...}}` diff --git a/pages/linux/systemd-cgtop.md b/pages/linux/systemd-cgtop.md new file mode 100644 index 00000000000000..252db7cdd3d0bd --- /dev/null +++ b/pages/linux/systemd-cgtop.md @@ -0,0 +1,25 @@ +# systemd-cgtop + +> Show the top control groups of the local Linux control group hierarchy, ordered by their CPU, memory, or disk I/O load. +> See also: `top`. +> More information: . + +- Start an interactive view: + +`systemd-cgtop` + +- Change the sort order: + +`systemd-cgtop --order {{cpu|memory|path|tasks|io}}` + +- Show the CPU usage by time instead of percentage: + +`systemd-cgtop --cpu=percentage` + +- Change the update interval in seconds (or one of these time units: `ms`, `us`, `min`): + +`systemd-cgtop {{[-d|--delay]}} {{interval}}` + +- Only count userspace processes (without kernel threads): + +`systemd-cgtop -P` diff --git a/pages/linux/systemd-confext.md b/pages/linux/systemd-confext.md new file mode 100644 index 00000000000000..581f7e6da91b69 --- /dev/null +++ b/pages/linux/systemd-confext.md @@ -0,0 +1,8 @@ +# systemd-confext + +> This command is an alias of `systemd-sysext`. +> It follows the same principle as `systemd-sysext`, but instead of working on `/usr` and `/opt`, `confext` will extend only `/etc`. + +- View documentation for the original command: + +`tldr systemd-sysext` diff --git a/pages/linux/systemd-creds.md b/pages/linux/systemd-creds.md new file mode 100644 index 00000000000000..2d443ae30d84ff --- /dev/null +++ b/pages/linux/systemd-creds.md @@ -0,0 +1,24 @@ +# systemd-creds + +> List, show, encrypt and decrypt service credentials. +> More information: . + +- Encrypt a file and set a specific name: + +`systemd-creds encrypt --name {{name}} {{path/to/input_file}} {{path/to/output}}` + +- Decrypt the file again: + +`systemd-creds decrypt {{path/to/input_file}} {{path/to/output_file}}` + +- Encrypt text from `stdin`: + +`echo -n {{text}} | systemd-creds encrypt --name {{name}} - {{path/to/output}}` + +- Encrypt the text and append it to the service file (the credentials will be available in `$CREDENTIALS_DIRECTORY`): + +`echo -n {{text}} | systemd-creds encrypt --name {{name}} --pretty - - >> {{service}}` + +- Create a credential that is only valid until the given timestamp: + +`systemd-creds encrypt --not-after "{{timestamp}}" {{path/to/input_file}} {{path/to/output_file}}` diff --git a/pages/linux/systemd-cryptenroll.md b/pages/linux/systemd-cryptenroll.md new file mode 100644 index 00000000000000..a9b3168aa791e9 --- /dev/null +++ b/pages/linux/systemd-cryptenroll.md @@ -0,0 +1,37 @@ +# systemd-cryptenroll + +> Interactively enroll or remove methods used to unlock LUKS2-encrypted devices. Uses a password to unlock the device unless otherwise specified. +> In order to allow a partition to be unlocked during system boot, update the `/etc/crypttab` file or the initramfs. +> More information: . + +- Enroll a new password (similar to `cryptsetup luksAddKey`): + +`systemd-cryptenroll --password {{path/to/luks2_block_device}}` + +- Enroll a new recovery key (i.e. a randomly generated passphrase that can be used as a fallback): + +`systemd-cryptenroll --recovery-key {{path/to/luks2_block_device}}` + +- List available tokens, or enroll a new PKCS#11 token: + +`systemd-cryptenroll --pkcs11-token-uri {{list|auto|pkcs11_token_uri}} {{path/to/luks2_block_device}}` + +- List available FIDO2 devices, or enroll a new FIDO2 device (`auto` can be used as the device name when there is only one token plugged in): + +`systemd-cryptenroll --fido2-device {{list|auto|path/to/fido2_hidraw_device}} {{path/to/luks2_block_device}}` + +- Enroll a new FIDO2 device with user verification (biometrics): + +`systemd-cryptenroll --fido2-device {{auto|path/to/fido2_hidraw_device}} --fido2-with-user-verification yes {{path/to/luks2_block_device}}` + +- Unlock using a FIDO2 device, and enroll a new FIDO2 device: + +`systemd-cryptenroll --unlock-fido2-device {{path/to/fido2_hidraw_unlock_device}} --fido2-device {{path/to/fido2_hidraw_enroll_device}} {{path/to/luks2_block_device}}` + +- Enroll a TPM2 security chip (only secure-boot-policy PCR) and require an additional alphanumeric PIN: + +`systemd-cryptenroll --tpm2-device {{auto|path/to/tpm2_block_device}} --tpm2-with-pin yes {{path/to/luks2_block_device}}` + +- Remove all empty passwords/all passwords/all FIDO2 devices/all PKCS#11 tokens/all TPM2 security chips/all recovery keys/all methods: + +`systemd-cryptenroll --wipe-slot {{empty|password|fido2|pkcs#11|tpm2|recovery|all}} {{path/to/luks2_block_device}}` diff --git a/pages/linux/systemd-cryptsetup.md b/pages/linux/systemd-cryptsetup.md new file mode 100644 index 00000000000000..4c6c58756550c0 --- /dev/null +++ b/pages/linux/systemd-cryptsetup.md @@ -0,0 +1,22 @@ +# systemd-cryptsetup + +> Create or remove decrypted mappings of encrypted volumes. Equivalent of `cryptsetup open` and `cryptsetup close`. +> Arguments to this command are written exactly like a line in `/etc/crypttab`. It's used by systemd to unlock devices on boot. +> See also: `cryptsetup`. +> More information: . + +- Open a LUKS volume and create a decrypted mapping at `/dev/mapper/mapping_name`: + +`systemd-cryptsetup attach {{mapping_name}} {{/dev/sdXY}}` + +- Open a LUKS volume with additional options and create a decrypted mapping at `/dev/mapper/mapping_name`: + +`systemd-cryptsetup attach {{mapping_name}} {{/dev/sdXY}} none {{crypttab_options}}` + +- Open a LUKS volume with a keyfile and create a decrypted mapping at `/dev/mapper/mapping_name`: + +`systemd-cryptsetup attach {{mapping_name}} {{/dev/sdXY}} {{path/to/keyfile}} {{crypttab_options}}` + +- Remove an existing mapping: + +`systemd-cryptsetup detach {{mapping_name}}` diff --git a/pages/linux/systemd-delta.md b/pages/linux/systemd-delta.md new file mode 100644 index 00000000000000..5bef1cf3a7707c --- /dev/null +++ b/pages/linux/systemd-delta.md @@ -0,0 +1,20 @@ +# systemd-delta + +> Find overridden systemd-related configuration files. +> More information: . + +- Show all overridden configuration files: + +`systemd-delta` + +- Show only files of specific types (comma-separated list): + +`systemd-delta {{[-t|--type]}} {{masked|equivalent|redirected|overridden|extended|unchanged}}` + +- Show only files whose path starts with the specified prefix (Note: A prefix is a directory containing subdirectories with systemd configuration files): + +`systemd-delta {{/etc|/run|/usr/lib|...}}` + +- Further restrict the search path by adding a suffix (the prefix is optional): + +`systemd-delta {{prefix}}/{{tmpfiles.d|sysctl.d|systemd/system|...}}` diff --git a/pages/linux/systemd-detect-virt.md b/pages/linux/systemd-detect-virt.md new file mode 100644 index 00000000000000..1719d024f9d18a --- /dev/null +++ b/pages/linux/systemd-detect-virt.md @@ -0,0 +1,24 @@ +# systemd-detect-virt + +> Detect execution in a virtualized environment. +> More information: . + +- List detectable virtualization technologies: + +`systemd-detect-virt --list` + +- Detect virtualization, print the result and return a zero status code when running in a VM or a container, and a non-zero code otherwise: + +`systemd-detect-virt` + +- Silently check without printing anything: + +`systemd-detect-virt {{[-q|--quiet]}}` + +- Only detect container virtualization: + +`systemd-detect-virt {{[-c|--container]}}` + +- Only detect hardware virtualization: + +`systemd-detect-virt {{[-v|--vm]}}` diff --git a/pages/linux/systemd-dissect.md b/pages/linux/systemd-dissect.md new file mode 100644 index 00000000000000..f7f116ef058745 --- /dev/null +++ b/pages/linux/systemd-dissect.md @@ -0,0 +1,28 @@ +# systemd-dissect + +> Introspect and interact with file system OS disk images, specifically Discoverable Disk Images (DDIs). +> More information: . + +- Show general image information about the OS image: + +`systemd-dissect {{path/to/image.raw}}` + +- Mount an OS image: + +`systemd-dissect {{[-m|--mount]}} {{path/to/image.raw}} {{/mnt/image}}` + +- Unmount an OS image: + +`systemd-dissect {{[-u|--umount]}} {{/mnt/image}}` + +- List files in an image: + +`systemd-dissect {{[-l|--list]}} {{path/to/image.raw}}` + +- Attach an OS image to an automatically allocated loopback block device and print its path: + +`systemd-dissect --attach {{path/to/image.raw}}` + +- Detach an OS image from a loopback block device: + +`systemd-dissect --detach {{path/to/device}}` diff --git a/pages/linux/systemd-escape.md b/pages/linux/systemd-escape.md new file mode 100644 index 00000000000000..529ab8eba5aee8 --- /dev/null +++ b/pages/linux/systemd-escape.md @@ -0,0 +1,24 @@ +# systemd-escape + +> Escape strings for usage in systemd unit names. +> More information: . + +- Escape the given text: + +`systemd-escape {{text}}` + +- Reverse the escaping process: + +`systemd-escape {{[-u|--unescape]}} {{text}}` + +- Treat the given text as a path: + +`systemd-escape {{[-p|--path]}} {{text}}` + +- Append the given suffix to the escaped text: + +`systemd-escape --suffix {{suffix}} {{text}}` + +- Use a template and inject the escaped text: + +`systemd-escape --template {{template}} {{text}}` diff --git a/pages/linux/systemd-firstboot.md b/pages/linux/systemd-firstboot.md new file mode 100644 index 00000000000000..11c1563df37c87 --- /dev/null +++ b/pages/linux/systemd-firstboot.md @@ -0,0 +1,36 @@ +# systemd-firstboot + +> Initialize basic system settings on or before the first boot-up of a system. +> More information: . + +- Operate on the specified directory instead of the root directory of the host system: + +`sudo systemd-firstboot --root {{path/to/root_directory}}` + +- Set the system keyboard layout: + +`sudo systemd-firstboot --keymap {{keymap}}` + +- Set the system hostname: + +`sudo systemd-firstboot --hostname {{hostname}}` + +- Set the root user's password: + +`sudo systemd-firstboot --root-password {{password}}` + +- Prompt the user interactively for a specific basic setting: + +`sudo systemd-firstboot --prompt {{setting}}` + +- Force writing configuration even if the relevant files already exist: + +`sudo systemd-firstboot --force` + +- Remove all existing files that are configured by `systemd-firstboot`: + +`sudo systemd-firstboot --reset` + +- Remove the password of the system's root user: + +`sudo systemd-firstboot --delete-root-password` diff --git a/pages/linux/systemd-hwdb.md b/pages/linux/systemd-hwdb.md new file mode 100644 index 00000000000000..95da284f55ece2 --- /dev/null +++ b/pages/linux/systemd-hwdb.md @@ -0,0 +1,24 @@ +# systemd-hwdb + +> Hardware database management tool. +> More information: . + +- Update the binary hardware database in `/etc/udev`: + +`systemd-hwdb update` + +- Query the hardware database and print the result for a specific modalias: + +`systemd-hwdb query {{modalias}}` + +- Update the binary hardware database, returning a non-zero exit value on any parsing error: + +`systemd-hwdb {{[-s|--strict]}} update` + +- Update the binary hardware database in `/usr/lib/udev`: + +`systemd-hwdb --usr update` + +- Update the binary hardware database in the specified root path: + +`systemd-hwdb {{[-r|--root]}} {{path/to/root}} update` diff --git a/pages/linux/systemd-id128.md b/pages/linux/systemd-id128.md new file mode 100644 index 00000000000000..26f4e622105fc6 --- /dev/null +++ b/pages/linux/systemd-id128.md @@ -0,0 +1,24 @@ +# systemd-id128 + +> Generate and print sd-128 identifiers. +> More information: . + +- Generate a new random identifier: + +`systemd-id128 new` + +- Print the identifier of the current machine: + +`systemd-id128 machine-id` + +- Print the identifier of the current boot: + +`systemd-id128 boot-id` + +- Print the identifier of the current service invocation (this is available in systemd services): + +`systemd-id128 invocation-id` + +- Generate a new random identifier and print it as a UUID (five groups of digits separated by hyphens): + +`systemd-id128 new {{[-u|--uuid]}}` diff --git a/pages/linux/systemd-inhibit.md b/pages/linux/systemd-inhibit.md new file mode 100644 index 00000000000000..454b76e09f9da5 --- /dev/null +++ b/pages/linux/systemd-inhibit.md @@ -0,0 +1,29 @@ +# systemd-inhibit + +> Prohibit the system from entering certain power states. +> Inhibitor locks may be used to block or delay system sleep and shutdown requests as well as automatic idle handling. +> More information: . + +- List all active inhibition locks and the reasons for their creation: + +`systemd-inhibit --list` + +- Block system shutdown for a specified number of seconds with the `sleep` command: + +`systemd-inhibit --what shutdown sleep {{5}}` + +- Keep the system from sleeping or idling until the download is complete: + +`systemd-inhibit --what sleep:idle wget {{https://example.com/file}}` + +- Ignore lid close switch until the script exits: + +`systemd-inhibit --what sleep:handle-lid-switch {{path/to/script}}` + +- Ignore power button press while command is running: + +`systemd-inhibit --what handle-power-key {{command}}` + +- Describe who and why created the inhibitor (default: the command and its arguments for `--who` and `Unknown reason` for `--why`): + +`systemd-inhibit --who {{$USER}} --why {{reason}} --what {{operation}} {{command}}` diff --git a/pages/linux/systemd-machine-id-setup.md b/pages/linux/systemd-machine-id-setup.md new file mode 100644 index 00000000000000..5f3868db2b8ace --- /dev/null +++ b/pages/linux/systemd-machine-id-setup.md @@ -0,0 +1,21 @@ +# systemd-machine-id-setup + +> Initialize the machine ID stored in `/etc/machine-id` at install time with a provisioned or randomly generated ID. +> Note: Always use `sudo` to execute these commands as they require elevated privileges. +> More information: . + +- Print the generated or committed machine ID: + +`systemd-machine-id-setup --print` + +- Specify an image policy: + +`systemd-machine-id-setup --image-policy {{your_policy}}` + +- Display the output as JSON: + +`sudo systemd-machine-id-setup --json pretty` + +- Operate on a disk image instead of a directory tree: + +`systemd-machine-id-setup --image /{{path/to/image}}` diff --git a/pages/linux/systemd-mount.md b/pages/linux/systemd-mount.md new file mode 100644 index 00000000000000..7bb3c6d4ed683f --- /dev/null +++ b/pages/linux/systemd-mount.md @@ -0,0 +1,32 @@ +# systemd-mount + +> Establish and destroy transient mount or auto-mount points. +> More information: . + +- Mount a file system (image or block device) at `/run/media/system/LABEL` where LABEL is the filesystem label or the device name if there is no label: + +`systemd-mount {{path/to/file_or_device}}` + +- Mount a file system (image or block device) at a specific location: + +`systemd-mount {{path/to/file_or_device}} {{path/to/mount_point}}` + +- List all local, known block devices with file systems that may be mounted: + +`systemd-mount --list` + +- Create an automount point that mounts the actual file system at the time of first access: + +`systemd-mount --automount yes {{path/to/file_or_device}}` + +- Unmount one or more devices: + +`systemd-mount {{[-u|--umount]}} {{path/to/mount_point_or_device1 path/to/mount_point_or_device2 ...}}` + +- Mount a file system (image or block device) with a specific file system type: + +`systemd-mount {{[-t|--type]}} {{file_system_type}} {{path/to/file_or_device}} {{path/to/mount_point}}` + +- Mount a file system (image or block device) with additional mount options: + +`systemd-mount {{[-o|--options]}} {{mount_options}} {{path/to/file_or_device}} {{path/to/mount_point}}` diff --git a/pages/linux/systemd-notify.md b/pages/linux/systemd-notify.md new file mode 100644 index 00000000000000..a9ee43c7c3bb6c --- /dev/null +++ b/pages/linux/systemd-notify.md @@ -0,0 +1,17 @@ +# systemd-notify + +> Notify the service manager about start-up completion and other daemon status changes. +> This command is useless outside systemd service scripts. +> More information: . + +- Notify systemd that the service has completed its initialization and is fully started. It should be invoked when the service is ready to accept incoming requests: + +`systemd-notify --booted` + +- Signal to systemd that the service is ready to handle incoming connections or perform its tasks: + +`systemd-notify --ready` + +- Provide a custom status message to systemd (this information is shown by `systemctl status`): + +`systemd-notify --status "{{Add custom status message here...}}"` diff --git a/pages/linux/systemd-nspawn.md b/pages/linux/systemd-nspawn.md new file mode 100644 index 00000000000000..91e5cd643e08ff --- /dev/null +++ b/pages/linux/systemd-nspawn.md @@ -0,0 +1,20 @@ +# systemd-nspawn + +> Spawn a command or OS in a lightweight container. +> More information: . + +- Run a command in a container: + +`systemd-nspawn {{[-D|--directory]}} {{path/to/container_root}}` + +- Run a full Linux-based OS in a container: + +`systemd-nspawn {{[-b|--boot]}} {{[-D|--directory]}} {{path/to/container_root}}` + +- Run the specified command as PID 2 in the container (as opposed to PID 1) using a stub init process: + +`systemd-nspawn {{[-D|--directory]}} {{path/to/container_root}} {{[-a|--as-pid2]}}` + +- Specify the machine name and hostname: + +`systemd-nspawn {{[-M|--machine]}} {{container_name}} --hostname {{container_host}} {{[-D|--directory]}} {{path/to/container_root}}` diff --git a/pages/linux/systemd-path.md b/pages/linux/systemd-path.md new file mode 100644 index 00000000000000..eef757e4593e0b --- /dev/null +++ b/pages/linux/systemd-path.md @@ -0,0 +1,20 @@ +# systemd-path + +> List and query system and user paths. +> More information: . + +- Display a list of known paths and their current values: + +`systemd-path` + +- Query the specified path and display its value: + +`systemd-path "{{path_name}}"` + +- Suffix printed paths with `suffix_string`: + +`systemd-path --suffix {{suffix_string}}` + +- Print a short version string and then exit: + +`systemd-path --version` diff --git a/pages/linux/systemd-repart.md b/pages/linux/systemd-repart.md new file mode 100644 index 00000000000000..c4e4ee98d59560 --- /dev/null +++ b/pages/linux/systemd-repart.md @@ -0,0 +1,18 @@ +# systemd-repart + +> Automatically grow and add partitions. +> Grows and adds partitions based on the configuration files described in repart.d. +> Does not automatically resize file system on partition. See systemd-growfs to extend file system. +> More information: . + +- Grow the root partition (/) to all available disk space: + +`systemd-repart` + +- View changes without applying: + +`systemd-repart --dry-run yes` + +- Grow root partition size to 10 gigabytes: + +`systemd-repart --size 10G --root /` diff --git a/pages/linux/systemd-resolve.md b/pages/linux/systemd-resolve.md new file mode 100644 index 00000000000000..fd0a0fbe95dd98 --- /dev/null +++ b/pages/linux/systemd-resolve.md @@ -0,0 +1,9 @@ +# systemd-resolve + +> Resolve domain names, IPV4 and IPv6 addresses, DNS resource records, and services. +> Note: This tool has been renamed to `resolvectl` in new versions of `systemd`. +> More information: . + +- View documentation for `resolvectl`: + +`tldr resolvectl` diff --git a/pages/linux/systemd-run.md b/pages/linux/systemd-run.md new file mode 100644 index 00000000000000..f9fe44c56f2eb4 --- /dev/null +++ b/pages/linux/systemd-run.md @@ -0,0 +1,36 @@ +# systemd-run + +> Run programs in transient scope units, service units, or path-, socket-, or timer-triggered service units. +> More information: . + +- Start a transient service: + +`sudo systemd-run {{command}} {{argument1 argument2 ...}}` + +- Start a transient service under the service manager of the current user (no privileges): + +`systemd-run --user {{command}} {{argument1 argument2 ...}}` + +- Start a transient service with a custom unit name and description: + +`sudo systemd-run {{[-u|--unit]}} {{name}} --description {{string}} {{command}} {{argument1 argument2 ...}}` + +- Start a transient service that does not get cleaned up after it terminates with a custom environment variable: + +`sudo systemd-run {{[-r|--remain-after-exit]}} --set-env={{name}}={{value}} {{command}} {{argument1 argument2 ...}}` + +- Start a transient timer that periodically runs its transient service (see `man systemd.time` for calendar event format): + +`sudo systemd-run --on-calendar={{calendar_event}} {{command}} {{argument1 argument2 ...}}` + +- Share the terminal with the program (allowing interactive input/output) and make sure the execution details remain after the program exits: + +`systemd-run {{[-r|--remain-after-exit]}} --pty {{command}}` + +- Set properties (e.g. CPUQuota, MemoryMax) of the process and wait until it exits: + +`systemd-run {{[-p|--property]}} MemoryMax={{memory_in_bytes}} {{[-p|--property]}} CPUQuota={{percentage_of_CPU_time}}% --wait {{command}}` + +- Use the program in a shell pipeline: + +`{{command1}} | systemd-run {{[-P|--pipe]}} {{command2}} | {{command3}}` diff --git a/pages/linux/systemd-socket-activate.md b/pages/linux/systemd-socket-activate.md new file mode 100644 index 00000000000000..862ae03bb588ab --- /dev/null +++ b/pages/linux/systemd-socket-activate.md @@ -0,0 +1,24 @@ +# systemd-socket-activate + +> Socket activation for systemd services. +> More information: . + +- Activate a service when a specific socket is connected: + +`systemd-socket-activate {{path/to/socket.service}}` + +- Activate multiple sockets for a service: + +`systemd-socket-activate {{path/to/socket1.service}} {{path/to/socket2.service}}` + +- Pass environment variables to the service being activated: + +`{{SYSTEMD_SOCKET_ACTIVATION=1}} systemd-socket-activate {{path/to/socket.service}}` + +- Activate a service along with a notification socket: + +`systemd-socket-activate {{path/to/socket.socket}} {{path/to/service.service}}` + +- Activate a service with a specified port: + +`systemd-socket-activate {{path/to/socket.service}} {{[-l|--listen]}} {{8080}}` diff --git a/pages/linux/systemd-stdio-bridge.md b/pages/linux/systemd-stdio-bridge.md new file mode 100644 index 00000000000000..03a881b836ae60 --- /dev/null +++ b/pages/linux/systemd-stdio-bridge.md @@ -0,0 +1,21 @@ +# systemd-stdio-bridge + +> Implement a proxy between `stdin`/`stdout` and a D-Bus. +> Note: It expects to receive an open connection via `stdin`/`stdout` when started, and will create a new connection to the specified bus. +> More information: . + +- Forward `stdin`/`stdout` to the local system bus: + +`systemd-stdio-bridge` + +- Forward `stdin`/`stdout` to a specific user's D-Bus: + +`systemd-stdio-bridge --{{user}}` + +- Forward `stdin`/`stdout` to the local system bus within a specific container: + +`systemd-stdio-bridge {{[-M|--machine]}} {{mycontainer}}` + +- Forward `stdin`/`stdout` to a custom D-Bus address: + +`systemd-stdio-bridge {{[-p|--bus-path]}} unix:path={{/custom/dbus/socket}}` diff --git a/pages/linux/systemd-sysext.md b/pages/linux/systemd-sysext.md new file mode 100644 index 00000000000000..2e8800ae8096d7 --- /dev/null +++ b/pages/linux/systemd-sysext.md @@ -0,0 +1,24 @@ +# systemd-sysext + +> Activate or deactivate system extension images. +> More information: . + +- List installed extension images: + +`systemd-sysext list` + +- Merge system extension images into `/usr/` and `/opt/`: + +`systemd-sysext merge` + +- Check the current merge status: + +`systemd-sysext status` + +- Unmerge all currently installed system extension images from `/usr/` and `/opt/`: + +`systemd-sysext unmerge` + +- Refresh system extension images (a combination of `unmerge` and `merge`): + +`systemd-sysext refresh` diff --git a/pages/linux/systemd-sysusers.md b/pages/linux/systemd-sysusers.md new file mode 100644 index 00000000000000..bf7aebd0ffb984 --- /dev/null +++ b/pages/linux/systemd-sysusers.md @@ -0,0 +1,21 @@ +# systemd-sysusers + +> Create system users and groups. +> If the config file is not specified, files in the `sysusers.d` directories are used. +> More information: . + +- Create users and groups from a specific configuration file: + +`systemd-sysusers {{path/to/file}}` + +- Process configuration files and print what would be done without actually doing anything: + +`systemd-sysusers --dry-run {{path/to/file}}` + +- Print the contents of all configuration files (before each file, its name is printed as a comment): + +`systemd-sysusers --cat-config` + +- Create users based on files listed in the previous command: + +`systemd-sysusers` diff --git a/pages/linux/systemd-tmpfiles.md b/pages/linux/systemd-tmpfiles.md new file mode 100644 index 00000000000000..71105987e5ec4e --- /dev/null +++ b/pages/linux/systemd-tmpfiles.md @@ -0,0 +1,25 @@ +# systemd-tmpfiles + +> Create, delete and clean up volatile and temporary files and directories. +> This command is automatically invoked on boot by systemd services, and running it manually is usually not needed. +> More information: . + +- Create files and directories as specified in the configuration: + +`systemd-tmpfiles --create` + +- Clean up files and directories with age parameters configured: + +`systemd-tmpfiles --clean` + +- Remove files and directories as specified in the configuration: + +`systemd-tmpfiles --remove` + +- Apply operations for user-specific configurations: + +`systemd-tmpfiles --create --user` + +- Execute lines marked for early boot: + +`systemd-tmpfiles --create --boot` diff --git a/pages/linux/systemd-tty-ask-password-agent.md b/pages/linux/systemd-tty-ask-password-agent.md new file mode 100644 index 00000000000000..3aef167f54bd34 --- /dev/null +++ b/pages/linux/systemd-tty-ask-password-agent.md @@ -0,0 +1,20 @@ +# systemd-tty-ask-password-agent + +> List or process pending systemd password requests. +> More information: . + +- List all currently pending system password requests: + +`systemd-tty-ask-password-agent --list` + +- Continuously process password requests: + +`systemd-tty-ask-password-agent --watch` + +- Process all currently pending system password requests by querying the user on the calling TTY: + +`systemd-tty-ask-password-agent --query` + +- Forward password requests to wall instead of querying the user on the calling TTY: + +`systemd-tty-ask-password-agent --wall` diff --git a/pages/linux/systemd-umount.md b/pages/linux/systemd-umount.md new file mode 100644 index 00000000000000..d43fdb0748dc02 --- /dev/null +++ b/pages/linux/systemd-umount.md @@ -0,0 +1,7 @@ +# systemd-umount + +> This command is an alias of `systemd-mount --umount`. + +- View documentation for the original command: + +`tldr systemd-mount` diff --git a/pages/linux/systemsettings.md b/pages/linux/systemsettings.md new file mode 100644 index 00000000000000..815bfff789b6b8 --- /dev/null +++ b/pages/linux/systemsettings.md @@ -0,0 +1,16 @@ +# systemsettings + +> KDE central settings program. +> More information: . + +- Open the settings GUI: + +`systemsettings` + +- List all possible KCM modules for `systemsettings`: + +`systemsettings --list` + +- Display help: + +`systemsettings {{[-h|--help]}}` diff --git a/pages/linux/systool.md b/pages/linux/systool.md new file mode 100644 index 00000000000000..6befb69ba67e81 --- /dev/null +++ b/pages/linux/systool.md @@ -0,0 +1,17 @@ +# systool + +> View system device information by bus, and classes. +> This command is part of the `sysfs` package. +> More information: . + +- List all attributes of devices of a bus (eg. `pci`, `usb`). View all buses using `ls /sys/bus`: + +`systool -b {{bus}} -v` + +- List all attributes of a class of devices (eg. `drm`, `block`). View all classes using `ls /sys/class`: + +`systool -c {{class}} -v` + +- Show only device drivers of a bus (eg. `pci`, `usb`): + +`systool -b {{bus}} -D` diff --git a/pages/linux/tailf.md b/pages/linux/tailf.md new file mode 100644 index 00000000000000..f53f9427bf6ee8 --- /dev/null +++ b/pages/linux/tailf.md @@ -0,0 +1,8 @@ +# tailf + +> This command has been superseded by `tail -f`. +> More information: . + +- View documentation for the recommended replacement: + +`tldr tail` diff --git a/pages/linux/talk.md b/pages/linux/talk.md new file mode 100644 index 00000000000000..b9ad8771c7073f --- /dev/null +++ b/pages/linux/talk.md @@ -0,0 +1,24 @@ +# talk + +> A visual communication program which copies lines from your terminal to that of another user. +> More information: . + +- Start a talk session with a user on the same machine: + +`talk {{username}}` + +- Start a talk session with a user on the same machine, who is logged in on tty3: + +`talk {{username}} {{tty3}}` + +- Start a talk session with a user on a remote machine: + +`talk {{username}}@{{hostname}}` + +- Clear text on both terminal screens: + +`` + +- Exit the talk session: + +`` diff --git a/pages/linux/taskset.md b/pages/linux/taskset.md index a21b3a5abbfa2f..7db664275a7f13 100644 --- a/pages/linux/taskset.md +++ b/pages/linux/taskset.md @@ -1,23 +1,24 @@ # taskset > Get or set a process' CPU affinity or start a new process with a defined CPU affinity. +> More information: . - Get a running process' CPU affinity by PID: -`taskset --pid --cpu-list {{pid}}` +`taskset {{[-p|--pid]}} {{[-c|--cpu-list]}} {{pid}}` - Set a running process' CPU affinity by PID: -`taskset --pid --cpu-list {{cpu_id}} {{pid}}` +`taskset {{[-p|--pid]}} {{[-c|--cpu-list]}} {{cpu_id}} {{pid}}` - Start a new process with affinity for a single CPU: -`taskset --cpu-list {{cpu_id}} {{command}}` +`taskset {{[-c|--cpu-list]}} {{cpu_id}} {{command}}` - Start a new process with affinity for multiple non-sequential CPUs: -`taskset --cpu-list {{cpu_id_1}} {{cpu_id_2}} {{cpu_id_3}}` +`taskset {{[-c|--cpu-list]}} {{cpu_id_1}},{{cpu_id_2}},{{cpu_id_3}}` - Start a new process with affinity for CPUs 1 through 4: -`taskset --cpu-list {{cpu_id_1}},{{cpu_id_4}}` +`taskset {{[-c|--cpu-list]}} {{cpu_id_1}}-{{cpu_id_4}}` diff --git a/pages/linux/tc.md b/pages/linux/tc.md new file mode 100644 index 00000000000000..2c8cfd81f2d031 --- /dev/null +++ b/pages/linux/tc.md @@ -0,0 +1,32 @@ +# tc + +> Show/manipulate traffic control settings. +> More information: . + +- Add constant network delay to outbound packages: + +`sudo tc {{[q|qdisc]}} {{[a|add]}} dev {{eth0}} root netem delay {{delay_in_milliseconds}}ms` + +- Add normal distributed network delay to outbound packages: + +`sudo tc {{[q|qdisc]}} {{[a|add]}} dev {{eth0}} root netem delay {{mean_delay_ms}}ms {{delay_std_ms}}ms` + +- Add package corruption/loss/duplication to a portion of packages: + +`sudo tc {{[q|qdisc]}} {{[a|add]}} dev {{eth0}} root netem {{corruption|loss|duplication}} {{effect_percentage}}%` + +- Limit bandwidth, burst rate and max latency: + +`sudo tc {{[q|qdisc]}} {{[a|add]}} dev eth0 root tbf rate {{max_bandwidth_mb}}mbit burst {{max_burst_rate_kb}}kbit latency {{max_latency_before_drop_ms}}ms` + +- Show active traffic control policies: + +`tc {{[q|qdisc]}} {{[s|show]}} dev {{eth0}}` + +- Delete all traffic control rules: + +`sudo tc {{[q|qdisc]}} {{[d|delete]}} dev {{eth0}}` + +- Change traffic control rule: + +`sudo tc {{[q|qdisc]}} {{[c|change]}} dev {{eth0}} root netem {{policy}} {{policy_parameters}}` diff --git a/pages/linux/tcpflow.md b/pages/linux/tcpflow.md index 97c771fefd9a59..c6dae3de4f778f 100644 --- a/pages/linux/tcpflow.md +++ b/pages/linux/tcpflow.md @@ -1,6 +1,7 @@ # tcpflow > Capture TCP traffic for debugging and analysis. +> More information: . - Show all data on the given interface and port: diff --git a/pages/linux/tcpick.md b/pages/linux/tcpick.md new file mode 100644 index 00000000000000..53223bfc643e38 --- /dev/null +++ b/pages/linux/tcpick.md @@ -0,0 +1,17 @@ +# tcpick + +> Packet sniffing and network traffic analysis tool. +> It can capture and display TCP connections and data. It can also monitor network traffic on a interface, host, or port. +> More information: . + +- Capture traffic on a specific interface, port and host:: + +`sudo tcpick {{[-i|--interface]}} {{interface}} {{[-C|--colors]}} -h {{host}} -p {{port}}` + +- Capture traffic on port 80 (HTTP) of a specific host: + +`sudo tcpick {{[-i|--interface]}} {{eth0}} {{[-C|--colors]}} -h {{192.168.1.100}} -p {{80}}` + +- Display help: + +`tcpick --help` diff --git a/pages/linux/tcpkill.md b/pages/linux/tcpkill.md index 92f3897e523e34..0d88d7a5d5053e 100644 --- a/pages/linux/tcpkill.md +++ b/pages/linux/tcpkill.md @@ -1,6 +1,7 @@ # tcpkill -> Kills specified in-progress TCP connections. +> Kill specified in-progress TCP connections. +> More information: . - Kill in-progress connections at a specified interface, host and port: diff --git a/pages/linux/tcptraceroute.md b/pages/linux/tcptraceroute.md index da2378c923ee8e..141d4fe2e56968 100644 --- a/pages/linux/tcptraceroute.md +++ b/pages/linux/tcptraceroute.md @@ -1,7 +1,7 @@ # tcptraceroute > A traceroute implementation using TCP packets. -> More information: . +> More information: . - Trace the route to a host: @@ -17,7 +17,7 @@ - Set the first and maximum TTL: -`tcptraceroute {{host}} -f {{first_ttl} -m {{max_ttl}}` +`tcptraceroute {{host}} -f {{first_ttl}} -m {{max_ttl}}` - Specify the wait time and number of queries per hop: diff --git a/pages/linux/telinit.md b/pages/linux/telinit.md new file mode 100644 index 00000000000000..9424129973e83e --- /dev/null +++ b/pages/linux/telinit.md @@ -0,0 +1,29 @@ +# telinit + +> Change SysV runlevel. +> Since the concept SysV runlevels is obsolete the runlevel requests will be transparently translated into systemd unit activation requests. +> More information: . + +- Power off the machine: + +`telinit 0` + +- Reboot the machine: + +`telinit 6` + +- Change SysV run level: + +`telinit {{2|3|4|5}}` + +- Change to rescue mode: + +`telinit 1` + +- Reload daemon configuration: + +`telinit q` + +- Do not send a wall message before reboot/power-off (6/0): + +`telinit --no-wall {{value}}` diff --git a/pages/linux/terminator.md b/pages/linux/terminator.md index b11c69d6c70b9e..f4588cc632fd91 100644 --- a/pages/linux/terminator.md +++ b/pages/linux/terminator.md @@ -1,23 +1,24 @@ # terminator > Arrange multiple GNOME terminals in one window. +> More information: . -- Start terminator window: +- Start `terminator` window: `terminator` - Start with a fullscreen window: -`terminator -f` +`terminator {{[-f|--fullscreen]}}` - Split terminals horizontally: -`Ctrl + Shift + O` +`` - Split terminals vertically: -`Ctrl + Shift + E` +`` - Open new tab: -`Ctrl + Shift + T` +`` diff --git a/pages/linux/termshark.md b/pages/linux/termshark.md new file mode 100644 index 00000000000000..980fd788b6bbd2 --- /dev/null +++ b/pages/linux/termshark.md @@ -0,0 +1,12 @@ +# termshark + +> Terminal UI for `tshark`, but looks more like `wireshark`. +> More information: . + +- Monitor the default network interface: + +`sudo termshark` + +- Specify the interface to monitor: + +`sudo termshark {{interface}}` diff --git a/pages/linux/termusic.md b/pages/linux/termusic.md new file mode 100644 index 00000000000000..30c54c6e00677d --- /dev/null +++ b/pages/linux/termusic.md @@ -0,0 +1,17 @@ +# termusic + +> A terminal music player written in Rust that uses vim-like key bindings. +> See also: `cmus`, `ncmpcpp`, `audacious`. +> More information: . + +- Open termusic to a specific directory. (It can be set permanently in `~/.config/termusic/config.toml`): + +`termusic {{path/to/directory}}` + +- Disable showing the album cover for a specific file: + +`termusic -c {{path/to/music_file}}` + +- Display help: + +`termusic --help` diff --git a/pages/linux/terraria.md b/pages/linux/terraria.md new file mode 100644 index 00000000000000..4dc5718ef5339d --- /dev/null +++ b/pages/linux/terraria.md @@ -0,0 +1,12 @@ +# Terraria + +> Create and start a headless Terraria server. +> More information: . + +- Start an interactive server setup: + +`{{path/to/TerrariaServer}}` + +- Start a Terraria server: + +`{{path/to/TerrariaServer}} -world {{path/to/world.wld}}` diff --git a/pages/linux/tftp.md b/pages/linux/tftp.md new file mode 100644 index 00000000000000..9deebfbed66ec5 --- /dev/null +++ b/pages/linux/tftp.md @@ -0,0 +1,32 @@ +# tftp + +> Trivial File Transfer Protocol client. +> More information: . + +- Connect to a TFTP server specifying its IP address and port: + +`tftp {{server_ip}} {{port}}` + +- Connect to a TFTP server and execute a TFTP [c]ommand: + +`tftp {{server_ip}} -c {{command}}` + +- Connect to a TFTP server using IPv6 and force originating port to be in [R]ange: + +`tftp {{server_ip}} -6 -R {{port}}:{{port}}` + +- Set the transfer mode to binary or ASCIi through the tftp client: + +`mode {{binary|ascii}}` + +- Download file from a server through the tftp client: + +`get {{file}}` + +- Upload file to a server through the tftp client: + +`put {{file}}` + +- Exit the tftp client: + +`quit` diff --git a/pages/linux/thunar.md b/pages/linux/thunar.md index 932202eba512b1..0db1fcc751e3cd 100644 --- a/pages/linux/thunar.md +++ b/pages/linux/thunar.md @@ -1,6 +1,7 @@ # thunar > Graphical file manager for XFCE desktop environments. +> See also: `caja`, `dolphin`, `nautilus`, `mc`. > More information: . - Open a new window showing the current directory: diff --git a/pages/linux/tic.md b/pages/linux/tic.md index daf307e7f4f662..4dbeda37b8b69e 100644 --- a/pages/linux/tic.md +++ b/pages/linux/tic.md @@ -1,7 +1,7 @@ # tic > Compile terminfo and install for ncurses. -> More information: . +> More information: . - Compile and install terminfo for a terminal: diff --git a/pages/linux/timedatectl.md b/pages/linux/timedatectl.md index 16b9c93151aeb3..e79e5d4b72ec95 100644 --- a/pages/linux/timedatectl.md +++ b/pages/linux/timedatectl.md @@ -1,6 +1,7 @@ # timedatectl > Control the system time and date. +> More information: . - Check the current system clock time: @@ -21,3 +22,7 @@ - Enable Network Time Protocol (NTP) synchronization: `timedatectl set-ntp on` + +- Change the hardware clock time standard to localtime: + +`timedatectl set-local-rtc 1` diff --git a/pages/linux/timeshift.md b/pages/linux/timeshift.md index 0d33617c9b39bb..bca54463b04f41 100644 --- a/pages/linux/timeshift.md +++ b/pages/linux/timeshift.md @@ -1,7 +1,7 @@ # timeshift > System restore utility. -> More information: . +> More information: . - List snapshots: diff --git a/pages/linux/tlp-stat.md b/pages/linux/tlp-stat.md index b541cc6e79abf7..fba652a37c6b0f 100644 --- a/pages/linux/tlp-stat.md +++ b/pages/linux/tlp-stat.md @@ -1,15 +1,37 @@ # tlp-stat -> A tool to generate TLP status reports. See also `tlp`. +> Generate TLP status reports. +> See also: `tlp`. +> More information: . - Generate status report with configuration and all active settings: `sudo tlp-stat` -- Show battery information: +- Show information about various devices: -`sudo tlp-stat -b` +`sudo tlp-stat --{{battery|disk|processor|graphics|pcie|rfkill|usb}}` + +- Show verbose information about devices that support verbosity: + +`sudo tlp-stat {{[-v|--verbose]}} --{{battery|processor|pcie|usb}}` - Show configuration: -`sudo tlp-stat -c` +`sudo tlp-stat {{[-c|--config]}}` + +- Monitor [p]ower supply `udev` [ev]ents: + +`sudo tlp-stat {{[-P|--pev]}}` + +- Show [p]ower [sup]ply diagonistics: + +`sudo tlp-stat --psup` + +- Show [t]emperatures and fan speed: + +`sudo tlp-stat {{[-t|--temp]}}` + +- Show general system information: + +`sudo tlp-stat {{[-s|--system]}}` diff --git a/pages/linux/tlp.md b/pages/linux/tlp.md index 4882040dcb419a..a82a01e6a03f6e 100644 --- a/pages/linux/tlp.md +++ b/pages/linux/tlp.md @@ -1,6 +1,8 @@ # tlp -> Advanced power management for Linux. See `tlp-stat` page for additional information. +> Advanced power management for Linux. +> See also: `tlp-stat`. +> More information: . - Apply settings (according to the actual power source): diff --git a/pages/linux/tmt-run.md b/pages/linux/tmt-run.md new file mode 100644 index 00000000000000..33f94fe69d5d3b --- /dev/null +++ b/pages/linux/tmt-run.md @@ -0,0 +1,36 @@ +# tmt run + +> Execute tmt test steps. By default, all steps are run. +> More information: . + +- Run all test steps for each plan: + +`tmt run` + +- Run only the discover step to show what tests would be run: + +`tmt run discover -v` + +- Run all steps and adjust the provision step options: + +`tmt run --all provision --how {{container}} --image {{fedora:rawhide}}` + +- Run only selected plans and tests: + +`tmt run plan --name {{/plan/name}} test --name {{/test/name}}` + +- Show results from the last run in a web browser: + +`tmt run --last report --how {{html}} --open` + +- Run tests with the provided context: + +`tmt run --context {{key=value}} -c {{distro=fedora}}` + +- Run tests interactively (debug test code in the middle of a test): + +`tmt run --all execute --how {{tmt}} --interactive` + +- Use dry mode to see what actions would happen and use the highest verbosity: + +`tmt run --dry -vvv` diff --git a/pages/linux/tmt-try.md b/pages/linux/tmt-try.md new file mode 100644 index 00000000000000..cf0b4b9cbe9e14 --- /dev/null +++ b/pages/linux/tmt-try.md @@ -0,0 +1,36 @@ +# tmt try + +> Quickly experiment with tests and environments. +> More information: . + +- Quickly experiment with the default provision method (no tests in the CWD): + +`tmt try` + +- Run a test in the current working directory: + +`cd {{path/to/test}} && tmt try` + +- Use a specific operating system: + +`tmt try {{fedora-41}}` + +- Select both custom image and provision method: + +`tmt try {{fedora@container}}` + +- Select tests with custom filter: + +`tmt try --test {{feature}}` + +- Provision guest and wait for instructions: + +`tmt try --ask` + +- Directly log into the guest without asking: + +`tmt try --login` + +- Display help: + +`tmt try --help` diff --git a/pages/linux/tmt.md b/pages/linux/tmt.md new file mode 100644 index 00000000000000..b8a15e7862afda --- /dev/null +++ b/pages/linux/tmt.md @@ -0,0 +1,37 @@ +# tmt + +> Test Management Tool for creating, running, and debugging tests. +> Some subcommands such as `run`, `try`, etc. have their own usage documentation. +> More information: . + +- List available tests, plans, and stories: + +`tmt` + +- Initialize tmt files/project structure: + +`tmt init` + +- Create a new test with a template and a link: + +`tmt test create --template {{beakerlib}} --link {{verifies:issue#1234}}` + +- List available tests, plans, or stories: + +`tmt {{test|plan|story}} ls {{pattern}}` + +- Show detailed test metadata in the given context: + +`tmt --context {{arch=aarch64}} test show` + +- Validate tmt files against the specification: + +`tmt lint` + +- Use filter: + +`tmt tests ls --filter {{tag:foo}} --filter {{tier:0}}` + +- Display help: + +`tmt --help` diff --git a/pages/linux/tod.md b/pages/linux/tod.md new file mode 100644 index 00000000000000..11d2bb9f2affe6 --- /dev/null +++ b/pages/linux/tod.md @@ -0,0 +1,33 @@ +# tod + +> A tiny Todoist client in Rust. +> It takes simple input and dumps it in your inbox or another project. Taking advantage of natural language processing to assign due dates, tags, etc. +> More information: . + +- Import your projects (this is necessary to enable project prompts): + +`tod project import` + +- Quickly create a task with due date: + +`tod --quickadd {{Buy more milk today}}` + +- Create a new task (you will be prompted for content and project): + +`tod task create` + +- Create a task in a project: + +`tod task create --content "{{Write more rust}}" --project {{code}}` + +- Get the next task for a project: + +`tod task next` + +- Get your work schedule: + +`tod task list --scheduled --project {{work}}` + +- Get all tasks for work: + +`tod task list --project {{work}}` diff --git a/pages/linux/togglesebool.md b/pages/linux/togglesebool.md new file mode 100644 index 00000000000000..0481ee355796b0 --- /dev/null +++ b/pages/linux/togglesebool.md @@ -0,0 +1,9 @@ +# togglesebool + +> Flip the current (non-persistent) values of SELinux booleans. +> Note: This tool has been deprecated and often removed in favor of `setsebool`. +> More information: . + +- Flip the current (non-persistent) values of the specified booleans: + +`sudo togglesebool {{virt_use_samba virt_use_usb ...}}` diff --git a/pages/linux/toilet.md b/pages/linux/toilet.md index 6f49a9d8c69c4c..d052d55b49bd6c 100644 --- a/pages/linux/toilet.md +++ b/pages/linux/toilet.md @@ -1,6 +1,6 @@ # toilet -> A tool to display ASCII-art fonts. +> Display ASCII-art fonts. > More information: . - Generate ASCII art for a given text: @@ -9,12 +9,12 @@ - Generate ASCII art using a custom font file: -`toilet {{input_text}} -f {{font_filename}}` +`toilet {{input_text}} {{[-f|--font]}} {{font_filename}}` - Generate ASCII art using a filter: -`toilet {{input_text}} --filter {{filter_name}}` +`toilet {{input_text}} {{[-F|--filter]}} {{filter_name}}` - Show available toilet filters: -`toilet --filter list ` +`toilet {{[-F|--filter]}} list` diff --git a/pages/linux/tomb.md b/pages/linux/tomb.md index cdc0aa03f53cb0..e9874cc599026f 100644 --- a/pages/linux/tomb.md +++ b/pages/linux/tomb.md @@ -1,8 +1,9 @@ # tomb > Manage encrypted storage directories that can be safely transported and hidden in a filesystem. +> More information: . -- Create a new tomb with an initial size of 100MB: +- Create a new tomb with an initial size of 100 MB: `tomb dig -s {{100}} {{encrypted_directory.tomb}}` @@ -10,11 +11,15 @@ `tomb forge {{encrypted_directory.tomb.key}}` +- Forcefully create a new key, even if the tomb isn't allowing key forging (due to swap): + +`tomb forge {{encrypted_directory.tomb.key}} -f` + - Initialize and lock an empty tomb using a key made with `forge`: `tomb lock {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}` -- Mount a tomb (by default in /media) using its key, making it usable as a regular filesystem directory: +- Mount a tomb (by default in `/media`) using its key, making it usable as a regular filesystem directory: `tomb open {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}` diff --git a/pages/linux/toolbox-create.md b/pages/linux/toolbox-create.md new file mode 100644 index 00000000000000..4c869b15e56bb9 --- /dev/null +++ b/pages/linux/toolbox-create.md @@ -0,0 +1,24 @@ +# toolbox create + +> Create a new `toolbox` container. +> More information: . + +- Create a `toolbox` container for a specific distribution: + +`toolbox create {{[-d|--distro]}} {{distribution}}` + +- Create a `toolbox` container for a specific release of the current distribution: + +`toolbox create {{[-r|--release]}} {{release}}` + +- Create a `toolbox` container with a custom image: + +`toolbox create {{[-i|--image]}} {{name}}` + +- Create a `toolbox` container from a custom Fedora image: + +`toolbox create {{[-i|--image]}} {{registry.fedoraproject.org/fedora-toolbox:39}}` + +- Create a `toolbox` container using the default image for Fedora 39: + +`toolbox create {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}` diff --git a/pages/linux/toolbox-enter.md b/pages/linux/toolbox-enter.md new file mode 100644 index 00000000000000..1cac31d9ceba4b --- /dev/null +++ b/pages/linux/toolbox-enter.md @@ -0,0 +1,17 @@ +# toolbox enter + +> Enter a `toolbox` container for interactive use. +> See also: `toolbox run`. +> More information: . + +- Enter a `toolbox` container using the default image of a specific distribution: + +`toolbox enter {{[-d|--distro]}} {{distribution}}` + +- Enter a `toolbox` container using the default image of a specific release of the current distribution: + +`toolbox enter {{[-r|--release]}} {{release}}` + +- Enter a toolbox container using the default image for Fedora 39: + +`toolbox enter {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}` diff --git a/pages/linux/toolbox-help.md b/pages/linux/toolbox-help.md new file mode 100644 index 00000000000000..ae7b34f607ab27 --- /dev/null +++ b/pages/linux/toolbox-help.md @@ -0,0 +1,12 @@ +# toolbox help + +> Display help information about `toolbox`. +> More information: . + +- Display the `toolbox` manual: + +`toolbox help` + +- Display the `toolbox` manual for a specific subcommand: + +`toolbox help {{subcommand}}` diff --git a/pages/linux/toolbox-init-container.md b/pages/linux/toolbox-init-container.md new file mode 100644 index 00000000000000..eada9e3d7d4f90 --- /dev/null +++ b/pages/linux/toolbox-init-container.md @@ -0,0 +1,9 @@ +# toolbox init-container + +> Initialize a running `toolbox` container. +> This command should not be executed by the user, and cannot be run on the host. +> More information: . + +- Initialize a running toolbox: + +`toolbox init-container --gid {{gid}} --home {{home}} --home-link --media-link --mnt-link --monitor-host --shell {{shell}} --uid {{uid}} --user {{user}}` diff --git a/pages/linux/toolbox-list.md b/pages/linux/toolbox-list.md new file mode 100644 index 00000000000000..d6200465283740 --- /dev/null +++ b/pages/linux/toolbox-list.md @@ -0,0 +1,16 @@ +# toolbox list + +> List existing `toolbox` containers and images. +> More information: . + +- List all `toolbox` containers and images: + +`toolbox list` + +- List only `toolbox` containers: + +`toolbox list {{[-c|--containers]}}` + +- List only `toolbox` images: + +`toolbox list {{[-i|--images]}}` diff --git a/pages/linux/toolbox-rm.md b/pages/linux/toolbox-rm.md new file mode 100644 index 00000000000000..671cfba73c98b3 --- /dev/null +++ b/pages/linux/toolbox-rm.md @@ -0,0 +1,17 @@ +# toolbox rm + +> Remove one or more `toolbox` containers. +> See also: `toolbox rmi`. +> More information: . + +- Remove a toolbox container: + +`toolbox rm {{container_name}}` + +- Remove all `toolbox` containers: + +`toolbox rm {{[-a|--all]}}` + +- Force the removal of a currently active `toolbox` container: + +`toolbox rm {{[-f|--force]}} {{container_name}}` diff --git a/pages/linux/toolbox-rmi.md b/pages/linux/toolbox-rmi.md new file mode 100644 index 00000000000000..87fa85faee8136 --- /dev/null +++ b/pages/linux/toolbox-rmi.md @@ -0,0 +1,17 @@ +# toolbox rmi + +> Remove `toolbox` images. +> See also: `toolbox rm`. +> More information: . + +- Remove one or more `toolbox` image: + +`toolbox rmi {{image_name1 image_name2 ...}}` + +- Remove all `toolbox` images: + +`toolbox rmi {{[-a|--all]}}` + +- Force the removal of a `toolbox` image which is currently being used by a container (the container will be removed as well): + +`toolbox rmi {{[-f|--force]}} {{image_name}}` diff --git a/pages/linux/toolbox-run.md b/pages/linux/toolbox-run.md new file mode 100644 index 00000000000000..08db20e0ce2591 --- /dev/null +++ b/pages/linux/toolbox-run.md @@ -0,0 +1,17 @@ +# toolbox run + +> Run a command in an existing `toolbox` container. +> See also: `toolbox enter`. +> More information: . + +- Run a command inside a specific `toolbox` container: + +`toolbox run {{[-c|--container]}} {{container_name}} {{command}}` + +- Run a command inside a `toolbox` container for a specific release of a distribution: + +`toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}` + +- Run `emacs` inside a `toolbox` container using the default image for Fedora 39: + +`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}} {{emacs}}` diff --git a/pages/linux/toolbox.md b/pages/linux/toolbox.md new file mode 100644 index 00000000000000..0b9b0ef321c04c --- /dev/null +++ b/pages/linux/toolbox.md @@ -0,0 +1,21 @@ +# toolbox + +> Manage containerized command-line environments on Linux. +> Some subcommands such as `create` have their own usage documentation. +> More information: . + +- Run a `toolbox` subcommand: + +`toolbox {{subcommand}}` + +- Display help for a specific subcommand (such as `create`, `enter`, `rm`, `rmi`, etc.): + +`toolbox help {{subcommand}}` + +- Display help: + +`toolbox {{[-h|--help]}}` + +- Display version: + +`toolbox --version` diff --git a/pages/linux/top.md b/pages/linux/top.md index 78fc8943ff2d95..e158cf809ce19f 100644 --- a/pages/linux/top.md +++ b/pages/linux/top.md @@ -1,31 +1,33 @@ # top > Display dynamic real-time information about running processes. +> See also: `htop`, `atop`, `glances`, `btop`, `btm`. +> More information: . -- Start top: +- Start `top`: `top` - Do not show any idle or zombie processes: -`top -i` +`top {{[-i|--idle-toggle]}}` - Show only processes owned by given user: -`top -u {{username}}` +`top {{[-u|--filter-only-euser]}} {{username}}` - Sort processes by a field: -`top -o {{field_name}}` +`top {{[-o|--sort-override]}} {{field_name}}` - Show the individual threads of a given process: -`top -Hp {{process_id}}` +`top {{[-Hp|--threads-show --pid]}} {{process_id}}` - Show only the processes with the given PID(s), passed as a comma-separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name): -`top -p $(pgrep -d ',' {{process_name}})` +`top {{[-p|--pid]}} $(pgrep {{[-d|--delimiter]}} ',' {{process_name}})` -- Get help about interactive commands: +- Display help about interactive commands: -`?` +`` diff --git a/pages/linux/tor.md b/pages/linux/tor.md new file mode 100644 index 00000000000000..853774db0e10d9 --- /dev/null +++ b/pages/linux/tor.md @@ -0,0 +1,32 @@ +# tor + +> Enable anonymous communication through the Tor network. +> More information: . + +- Connect to the Tor network: + +`tor` + +- View Tor configuration: + +`tor --config` + +- Check Tor status: + +`tor --status` + +- Run as client only: + +`tor --client` + +- Run as relay: + +`tor --relay` + +- Run as bridge: + +`tor --bridge` + +- Run as a hidden service: + +`tor --hidden-service` diff --git a/pages/linux/torify.md b/pages/linux/torify.md new file mode 100644 index 00000000000000..98392a5d8e5138 --- /dev/null +++ b/pages/linux/torify.md @@ -0,0 +1,33 @@ +# torify + +> Route network traffic through the Tor network. +> Note: This command has been deprecated, and is now a backwards-compatible wrapper of `torsocks`. +> More information: . + +- Route traffic via Tor: + +`torify {{command}}` + +- Toggle Tor in shell: + +`torify {{on|off}}` + +- Spawn a Tor-enabled shell: + +`torify --shell` + +- Check for a Tor-enabled shell: + +`torify show` + +- Specify Tor configuration file: + +`torify -c {{config-file}} {{command}}` + +- Use a specific Tor SOCKS proxy: + +`torify -P {{proxy}} {{command}}` + +- Redirect output to a file: + +`torify {{command}} > {{path/to/output}}` diff --git a/pages/linux/torsocks.md b/pages/linux/torsocks.md new file mode 100644 index 00000000000000..59f0d29ad91ae0 --- /dev/null +++ b/pages/linux/torsocks.md @@ -0,0 +1,29 @@ +# torsocks + +> Route the traffic of any application through the Tor network. +> Note: `torsocks` will assume that it should connect to the Tor SOCKS proxy running at 127.0.0.1:9050 being the defaults of the Tor daemon. +> More information: . + +- Run a command using Tor: + +`torsocks {{command}}` + +- Enable or disable Tor in this shell: + +`. torsocks {{on|off}}` + +- Spawn a new Tor enabled shell: + +`torsocks --shell` + +- Check if current shell is Tor enabled (`LD_PRELOAD` value will be empty if disabled): + +`torsocks show` + +- Isolate traffic through a different Tor circuit, improving anonymity: + +`torsocks {{[-i|--isolate]}} {{curl https://check.torproject.org/api/ip}}` + +- Connect to a Tor proxy running on a specific address and port: + +`torsocks {{[-a|--address]}} {{ip}} {{[-P|--port]}} {{port}} {{command}}` diff --git a/pages/linux/trace-cmd-list.md b/pages/linux/trace-cmd-list.md new file mode 100644 index 00000000000000..24614767925de7 --- /dev/null +++ b/pages/linux/trace-cmd-list.md @@ -0,0 +1,21 @@ +# trace-cmd list + +> Show available tracers, events, or options for tracing. +> See also: `trace-cmd record`, `trace-cmd report`. +> More information: . + +- List available tracers: + +`sudo trace-cmd list -t` + +- List available plugins: + +`sudo trace-cmd list -p` + +- List available events: + +`sudo trace-cmd list -e` + +- List available functions: + +`sudo trace-cmd list -f` diff --git a/pages/linux/trace-cmd-record.md b/pages/linux/trace-cmd-record.md new file mode 100644 index 00000000000000..7479f14c0e5911 --- /dev/null +++ b/pages/linux/trace-cmd-record.md @@ -0,0 +1,29 @@ +# trace-cmd record + +> Capture kernel trace events. +> See also: `trace-cmd list`, `trace-cmd report`. +> More information: . + +- Record a trace with a specific plugin: + +`sudo trace-cmd record -p {{plugin}}` + +- Record a trace of a specific executable: + +`sudo trace-cmd record -F {{executable}}` + +- Record a trace of a specific function: + +`sudo trace-cmd record -g {{function}}` + +- Exclude a specific function from the trace: + +`sudo trace-cmd record -n {{function}}` + +- Limit the function call graph depth: + +`sudo trace-cmd record --max-graph-depth {{depth}}` + +- Record a trace from a specific process ID: + +`sudo trace-cmd record -P {{pid}}` diff --git a/pages/linux/trace-cmd-report.md b/pages/linux/trace-cmd-report.md new file mode 100644 index 00000000000000..c2612cc7c136bb --- /dev/null +++ b/pages/linux/trace-cmd-report.md @@ -0,0 +1,13 @@ +# trace-cmd report + +> Display recorded trace events. +> See also: `trace-cmd list`, `trace-cmd record`. +> More information: . + +- Display the recorded trace: + +`sudo trace-cmd report` + +- Display the recorded trace for a specific CPU: + +`sudo trace-cmd report --cpu {{cpu_number}}` diff --git a/pages/linux/trace-cmd.md b/pages/linux/trace-cmd.md new file mode 100644 index 00000000000000..c42e7fe6ae30b8 --- /dev/null +++ b/pages/linux/trace-cmd.md @@ -0,0 +1,37 @@ +# trace-cmd + +> Utility to interact with the Ftrace Linux kernel internal tracer. +> See also: `trace-cmd list`, `trace-cmd record`, `trace-cmd report`. +> More information: . + +- Display the status of tracing system: + +`sudo trace-cmd stat` + +- List available tracers: + +`sudo trace-cmd list -t` + +- Start tracing with a specific plugin: + +`sudo trace-cmd start -p {{function|function_graph|preemptirqsoff|irqsoff|preemptoff|wakeup|...}}` + +- View the trace output: + +`sudo trace-cmd show` + +- Stop the tracing but retain the buffers: + +`sudo trace-cmd stop` + +- Clear the trace buffers: + +`sudo trace-cmd clear` + +- Record a trace: + +`sudo trace-cmd record` + +- Display the recorded trace: + +`sudo trace-cmd report` diff --git a/pages/linux/tracepath.md b/pages/linux/tracepath.md new file mode 100644 index 00000000000000..67658d49146f74 --- /dev/null +++ b/pages/linux/tracepath.md @@ -0,0 +1,28 @@ +# tracepath + +> Trace the path to a network host discovering MTU along this path. +> More information: . + +- A preferred way to trace the path to a host: + +`tracepath -p {{33434}} {{host}}` + +- Specify the initial destination port, useful with non-standard firewall settings: + +`tracepath -p {{destination_port}} {{host}}` + +- Print both hostnames and numerical IP addresses: + +`tracepath -b {{host}}` + +- Specify a maximum TTL (number of hops): + +`tracepath -m {{max_hops}} {{host}}` + +- Specify the initial packet length (defaults to 65535 for IPv4 and 128000 for IPv6): + +`tracepath -l {{packet_length}} {{host}}` + +- Use only IPv6 addresses: + +`tracepath -6 {{host}}` diff --git a/pages/linux/trap.md b/pages/linux/trap.md index 325b1c12308b01..0c4225d8923975 100644 --- a/pages/linux/trap.md +++ b/pages/linux/trap.md @@ -1,20 +1,24 @@ # trap -> Automatically execute commands after receiving signals by processes or the operating system. -> Can be used to perform cleanups for interruptions by the user or other actions. +> Execute a command upon an event. +> More information: . -- List available signals to set traps for: +- List the available event names (e.g. `SIGWINCH`): `trap -l` -- List active traps for the current shell: +- List the commands and the names of the expected events: -`trap -p` +`trap` -- Set a trap to execute commands when one or more signals are detected: +- Execute a command when a signal is received: `trap 'echo "Caught signal {{SIGHUP}}"' {{SIGHUP}}` -- Remove active traps: +- Remove commands: `trap - {{SIGHUP}} {{SIGINT}}` + +- Ignore a signal: + +`trap '' {{SIGINT}}` diff --git a/pages/linux/trash-empty.md b/pages/linux/trash-empty.md new file mode 100644 index 00000000000000..8b2ba1e0f9982e --- /dev/null +++ b/pages/linux/trash-empty.md @@ -0,0 +1,7 @@ +# trash-empty + +> This command has been moved to `trash`. + +- View documentation for `trash-empty`: + +`tldr trash` diff --git a/pages/linux/trash-list.md b/pages/linux/trash-list.md new file mode 100644 index 00000000000000..a3d9a6cc55f7dc --- /dev/null +++ b/pages/linux/trash-list.md @@ -0,0 +1,7 @@ +# trash-list + +> This command has been moved to `trash`. + +- View documentation for `trash-list`: + +`tldr trash` diff --git a/pages/linux/trash-put.md b/pages/linux/trash-put.md new file mode 100644 index 00000000000000..43c22fc4550a5e --- /dev/null +++ b/pages/linux/trash-put.md @@ -0,0 +1,7 @@ +# trash-put + +> This command is an alias of `trash`. + +- View documentation for the original command: + +`tldr trash` diff --git a/pages/linux/trash-restore.md b/pages/linux/trash-restore.md new file mode 100644 index 00000000000000..a1b70673149c8c --- /dev/null +++ b/pages/linux/trash-restore.md @@ -0,0 +1,7 @@ +# trash-restore + +> This command has been moved to `trash`. + +- View documentation for `trash-restore`: + +`tldr trash` diff --git a/pages/linux/trash-rm.md b/pages/linux/trash-rm.md new file mode 100644 index 00000000000000..51abc3507310fe --- /dev/null +++ b/pages/linux/trash-rm.md @@ -0,0 +1,7 @@ +# trash-rm + +> This command has been moved to `trash`. + +- View documentation for `trash-rm`: + +`tldr trash` diff --git a/pages/linux/trash.md b/pages/linux/trash.md index 5a74fd2d085f5c..dd9b62aff9b737 100644 --- a/pages/linux/trash.md +++ b/pages/linux/trash.md @@ -1,32 +1,32 @@ # trash -> A CLI for managing your trashcan / recycling bin. +> Manage the trashcan/recycling bin. > More information: . -- Delete a file (send to trash): +- Send a file to the trash: `trash {{path/to/file}}` -- List files in trash: +- List all files in the trash: `trash-list` -- Restore file from trash: +- Interactively restore a file from the trash: `trash-restore` -- Empty trash: +- Empty the trash: `trash-empty` -- Empty trash, keeping files trashed less than {{10}} days ago: +- Permanently delete all files in the trash which are older than 10 days: -`trash-empty {{10}}` +`trash-empty 10` -- Remove all files named 'foo' from the trash: +- Remove all files in the trash, which match a specific blob pattern: -`trash-rm foo` +`trash-rm "{{*.o}}"` -- Remove all files with a given original location: +- Remove all files with a specific original location: -`trash-rm {{/absolute/path/to/file_or_directory}}` +`trash-rm /{{path/to/file_or_directory}}` diff --git a/pages/linux/trashy.md b/pages/linux/trashy.md new file mode 100644 index 00000000000000..dfe7133bc32d52 --- /dev/null +++ b/pages/linux/trashy.md @@ -0,0 +1,32 @@ +# trashy + +> An alternative to `rm` and `trash-cli` written in Rust. +> More information: . + +- Move a specific file to the trash: + +`trash {{path/to/file}}` + +- Move specific files to the trash: + +`trash {{path/to/file1 path/to/file2 ...}}` + +- List items in the trash: + +`trash list` + +- Restore a specific file from the trash: + +`trash restore {{file}}` + +- Remove a specific file from the trash: + +`trash empty {{file}}` + +- Restore all files from the trash: + +`trash restore --all` + +- Remove all files from the trash: + +`trash empty --all` diff --git a/pages/linux/trayer.md b/pages/linux/trayer.md new file mode 100644 index 00000000000000..9034df79acaeb9 --- /dev/null +++ b/pages/linux/trayer.md @@ -0,0 +1,28 @@ +# trayer + +> A lightweight GTK-2 based systray. +> More information: . + +- Run `trayer`: + +`trayer` + +- Position `trayer` to a specific edge: + +`trayer --edge {{left|right|top|bottom}}` + +- Provide a specific height and width of the panel (in pixels): + +`trayer --width {{10}} --height {{32}}` + +- Provide the width of the panel in pixels or percentages: + +`trayer --widthtype {{pixel|percent}} --width {{72}}` + +- Align `trayer` to a specific direction: + +`trayer --align {{left|center|right}}` + +- Provide spacing between icons (in pixels): + +`trayer --iconspacing {{10}}` diff --git a/pages/linux/tree.md b/pages/linux/tree.md deleted file mode 100644 index fb068c0df2bbd3..00000000000000 --- a/pages/linux/tree.md +++ /dev/null @@ -1,36 +0,0 @@ -# tree - -> Show the contents of the current directory as a tree. -> More information: . - -- Print files and directories up to 'num' levels of depth (where 1 means the current directory): - -`tree -L {{num}}` - -- Print directories only: - -`tree -d` - -- Print hidden files too with colorization on: - -`tree -a -C` - -- Print the tree without indentation lines, showing the full path instead (use `-N` to not escape non-printable characters): - -`tree -i -f` - -- Print the size of each file and the cumulative size of each directory, in human-readable format: - -`tree -s -h --du` - -- Print files within the tree hierarchy, using a wildcard (glob) pattern, and pruning out directories that don't contain matching files: - -`tree -P '{{*.txt}}' --prune` - -- Print directories within the tree hierarchy, using the wildcard (glob) pattern, and pruning out directories that aren't ancestors of the wanted one: - -`tree -P {{directory_name}} --matchdirs --prune` - -- Print the tree ignoring the given directories: - -`tree -I '{{directory_name1|directory_name2}}'` diff --git a/pages/linux/treetime.md b/pages/linux/treetime.md new file mode 100644 index 00000000000000..5e699086ef0eff --- /dev/null +++ b/pages/linux/treetime.md @@ -0,0 +1,20 @@ +# treetime + +> TreeTime provides routines for ancestral sequence reconstruction and inference of molecular-clock phylogenies. +> More information: . + +- Infer ancestral sequences maximizing the joint or marginal likelihood: + +`treetime ancestral` + +- Analyze patterns of recurrent mutations aka homoplasies: + +`treetime homoplasy` + +- Estimate molecular clock parameters and reroot the tree: + +`treetime clock` + +- Map discrete character such as host or country to the tree: + +`treetime mugration` diff --git a/pages/linux/trizen.md b/pages/linux/trizen.md index 14c5ee3b5af5d7..3c70608cab6702 100644 --- a/pages/linux/trizen.md +++ b/pages/linux/trizen.md @@ -1,6 +1,7 @@ # trizen > Arch Linux utility for building packages from the Arch User Repository (AUR). +> More information: . - Synchronize and update all AUR packages: diff --git a/pages/linux/trust.md b/pages/linux/trust.md new file mode 100644 index 00000000000000..c182996431c6d3 --- /dev/null +++ b/pages/linux/trust.md @@ -0,0 +1,28 @@ +# trust + +> Operate on the trust policy store. +> More information: . + +- List trust policy store items: + +`trust list` + +- List information about specific items in the trust policy store: + +`trust list --filter={{blocklist|ca-anchors|certificates|trust-policy}}` + +- Store a specific trust anchor in the trust policy store: + +`trust anchor {{path/to/certificate.crt}}` + +- Remove a specific anchor from the trust policy store: + +`trust anchor --remove {{path/to/certificate.crt}}` + +- Extract trust policy from the shared trust policy store: + +`trust extract --format=x509-directory --filter=ca-anchors {{path/to/directory}}` + +- Display help for a subcommand: + +`trust {{subcommand}} --help` diff --git a/pages/linux/tshark.md b/pages/linux/tshark.md index 26ccdc93c8af22..6d73f1d0f04388 100644 --- a/pages/linux/tshark.md +++ b/pages/linux/tshark.md @@ -1,6 +1,7 @@ # tshark -> Packet analysis tool, CLI version of wireshark. +> Packet analysis tool, CLI version of Wireshark. +> More information: . - Monitor everything on localhost: @@ -20,7 +21,7 @@ - Specify the format of captured output: -`tshark -T {{json|text|ps|…}}` +`tshark -T {{json|text|ps|...}}` - Select specific fields to output: @@ -32,4 +33,4 @@ - Analyze packets from a file: -`tshark -r {{filename}}.pcap` +`tshark -r {{path/to/file.pcap}}` diff --git a/pages/linux/ttyplot.md b/pages/linux/ttyplot.md new file mode 100644 index 00000000000000..34592c72a39427 --- /dev/null +++ b/pages/linux/ttyplot.md @@ -0,0 +1,20 @@ +# ttyplot + +> A realtime plotting utility for the command-line with data input from `stdin`. +> More information: . + +- Plot the values `1`, `2` and `3` (Note: `cat` prevents `ttyplot` from exiting): + +`{ echo {{1 2 3}}; cat; } | ttyplot` + +- Set a specific title and unit: + +`{ echo {{1 2 3}}; cat; } | ttyplot -t {{title}} -u {{unit}}` + +- Use a while loop to continuously plot random values: + +`{ while {{true}}; do echo {{$RANDOM}}; sleep {{1}}; done } | ttyplot` + +- Parse the output from `ping` and visualize it: + +`ping {{8.8.8.8}} | sed -u '{{s/^.*time=//g; s/ ms//g}}' | ttyplot -t "{{ping to 8.8.8.8}}" -u {{ms}}` diff --git a/pages/linux/tune.exfat.md b/pages/linux/tune.exfat.md new file mode 100644 index 00000000000000..93039940a96446 --- /dev/null +++ b/pages/linux/tune.exfat.md @@ -0,0 +1,28 @@ +# tune.exfat + +> Adjust tunable filesystem parameters on an exFAT filesystem. +> More information: . + +- Print the volume label of a filesystem: + +`tune.exfat {{[-l|--print-label]}} {{/dev/sdXY}}` + +- Set the volume label of a filesystem: + +`tune.exfat {{[-L|--set-label]}} {{new_label}} {{/dev/sdXY}}` + +- Print the volume GUID of a filesystem: + +`tune.exfat {{[-u|--print-guid]}} {{/dev/sdXY}}` + +- Set the volume GUID of a filesystem: + +`tune.exfat {{[-U|--set-guid]}} {{new_guid}} {{/dev/sdXY}}` + +- Print the volume serial of a filesystem: + +`tune.exfat {{[-i|--print-serial]}} {{/dev/sdXY}}` + +- Set the volume serial of a filesystem: + +`tune.exfat {{[-I|--set-serial]}} {{new_serial}} {{/dev/sdXY}}` diff --git a/pages/linux/tune2fs.md b/pages/linux/tune2fs.md index ea6a453b9837f0..040bb342d101e2 100644 --- a/pages/linux/tune2fs.md +++ b/pages/linux/tune2fs.md @@ -2,14 +2,15 @@ > Adjust parameters of an ext2, ext3 or ext4 filesystem. > May be used on mounted filesystems. +> More information: . - Set the max number of counts before a filesystem is checked to 2: -`tune2fs -c {{2}} {{/dev/sdXN}}` +`tune2fs -c 2 {{/dev/sdXN}}` - Set the filesystem label to MY_LABEL: -`tune2fs -L {{'MY_LABEL'}} {{/dev/sdXN}}` +`tune2fs -L 'MY_LABEL' {{/dev/sdXN}}` - Enable discard and user-specified extended attributes for a filesystem: @@ -17,4 +18,4 @@ - Enable journaling for a filesystem: -`tune2fs -o^{{nobarrier}} {{/dev/sdXN}}` +`tune2fs -o ^{{nobarrier}} {{/dev/sdXN}}` diff --git a/pages/linux/tuned-adm.md b/pages/linux/tuned-adm.md new file mode 100644 index 00000000000000..f853dd85af5d33 --- /dev/null +++ b/pages/linux/tuned-adm.md @@ -0,0 +1,24 @@ +# tuned-adm + +> Manage and optimize system performance tuning profiles on Linux. +> More information: . + +- List available profiles: + +`tuned-adm list` + +- Show the currently active profile: + +`tuned-adm active` + +- Set a specific tuning profile: + +`tuned-adm profile {{profile_name}}` + +- Recommend a suitable profile based on the current system: + +`tuned-adm recommend` + +- Disable tuning: + +`tuned-adm off` diff --git a/pages/linux/tunelp.md b/pages/linux/tunelp.md new file mode 100644 index 00000000000000..4ded039a669c68 --- /dev/null +++ b/pages/linux/tunelp.md @@ -0,0 +1,25 @@ +# tunelp + +> Set various parameters for parallel port devices for troubleshooting or for better performance. +> Part of `util-linux`. +> More information: . + +- Check the status of a parallel port device: + +`tunelp {{[-s|--status]}} {{/dev/lp0}}` + +- Reset a given parallel port: + +`tunelp {{[-r|--reset]}} {{/dev/lp0}}` + +- Use a given IRQ for a device, each one representing an interrupt line: + +`tunelp {{[-i|--irq]}} 5 {{/dev/lp0}}` + +- Try a given number of times to output a character to the printer before sleeping for a given time: + +`tunelp {{[-c|--chars]}} {{times}} {{[-t|--time]}} {{time_in_centiseconds}} {{/dev/lp0}}` + +- Enable or disable aborting on error (disabled by default): + +`tunelp {{[-a|--abort]}} {{on|off}}` diff --git a/pages/linux/turbostat.md b/pages/linux/turbostat.md new file mode 100644 index 00000000000000..f34d626d1dc9ff --- /dev/null +++ b/pages/linux/turbostat.md @@ -0,0 +1,24 @@ +# turbostat + +> Report processor topology, frequency, temperature, power, and idle statistics. +> More information: . + +- Display statistics every 5 seconds: + +`sudo turbostat` + +- Display statistics every specified amount of seconds: + +`sudo turbostat {{[-i|--interval]}} {{n_seconds}}` + +- Do not decode and print the system configuration header information: + +`sudo turbostat --quiet` + +- Display useful information about CPU every 1 second, without header information: + +`sudo turbostat --quiet {{[-i|--interval]}} 1 --cpu 0-{{CPU_thread_count}} --show "PkgWatt","Busy%","Core","CoreTmp","Thermal"` + +- Display help: + +`turbostat --help` diff --git a/pages/linux/tuxi.md b/pages/linux/tuxi.md new file mode 100644 index 00000000000000..3225585a8ddcc8 --- /dev/null +++ b/pages/linux/tuxi.md @@ -0,0 +1,20 @@ +# tuxi + +> Scrape Google search results and SERPs and provide instant and concise answers. +> More information: . + +- Make a search using Google: + +`tuxi {{search_terms}}` + +- Display the search results in [r]aw format (no pretty output, no colors): + +`tuxi -r {{search_terms}}` + +- Display only search results (silences "Did you mean?", greetings and usage): + +`tuxi -q {{search_terms}}` + +- Display help: + +`tuxi -h` diff --git a/pages/linux/tzselect.md b/pages/linux/tzselect.md new file mode 100644 index 00000000000000..be1f3947f7958e --- /dev/null +++ b/pages/linux/tzselect.md @@ -0,0 +1,13 @@ +# tzselect + +> Interactively select timezone. +> Note: This program doesn't actually set the timezone. +> More information: . + +- Open the interactive menu for timezone selection and print the selected timezone to `stdout`: + +`tzselect` + +- Ask for nearest timezone to coordinates in ISO 6709 notation: + +`tzselect -c {{coordinates}}` diff --git a/pages/linux/ubuntu-bug.md b/pages/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..2b64580d4b21ba --- /dev/null +++ b/pages/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> This command is an alias of `apport-bug`. + +- View documentation for the original command: + +`tldr apport-bug` diff --git a/pages/linux/ubuntu-drivers.md b/pages/linux/ubuntu-drivers.md new file mode 100644 index 00000000000000..8084dab35d2d96 --- /dev/null +++ b/pages/linux/ubuntu-drivers.md @@ -0,0 +1,16 @@ +# ubuntu-drivers + +> Install drivers on Ubuntu. +> More information: . + +- List available drivers for the current hardware: + +`sudo ubuntu-drivers list` + +- Install drivers for detected hardware: + +`sudo ubuntu-drivers install` + +- Display help: + +`ubuntu-drivers` diff --git a/pages/linux/ubuntu-security-status.md b/pages/linux/ubuntu-security-status.md new file mode 100644 index 00000000000000..a4b6e3d18e5210 --- /dev/null +++ b/pages/linux/ubuntu-security-status.md @@ -0,0 +1,16 @@ +# ubuntu-security-status + +> Display information about security support for installed Ubuntu packages. +> More information: . + +- Display the number of unsupported packages: + +`ubuntu-security-status` + +- List packages that are no longer available for download: + +`ubuntu-security-status --unavailable` + +- List third-party packages: + +`ubuntu-security-status --thirdparty` diff --git a/pages/linux/ubus.md b/pages/linux/ubus.md new file mode 100644 index 00000000000000..0ef640ecf23770 --- /dev/null +++ b/pages/linux/ubus.md @@ -0,0 +1,20 @@ +# ubus + +> Interact with an OpenWrt ubusd server. +> More information: . + +- List available objects: + +`ubus list` + +- Retrieve system information in JSON format: + +`ubus call system board` + +- Listen to events: + +`ubus subscribe {{event_name}}` + +- Display help: + +`ubus` diff --git a/pages/linux/uci.md b/pages/linux/uci.md new file mode 100644 index 00000000000000..eae6f4d355297e --- /dev/null +++ b/pages/linux/uci.md @@ -0,0 +1,36 @@ +# uci + +> Manage OpenWrt configuration files. +> More information: . + +- Fetch a value: + +`uci get {{network.lan.ipaddr}}` + +- List all options and their values: + +`uci show {{network}}` + +- Set a value: + +`uci set {{config}}.{{section}}.{{option}}={{value}}` + +- Add a new section: + +`uci add {{config}} {{section}}` + +- Delete a section or value: + +`uci delete {{config}}.{{section}}.{{option}}` + +- Commit changes: + +`uci commit {{config}}` + +- Discard uncommitted changes: + +`uci revert {{config}}` + +- Display help: + +`uci` diff --git a/pages/linux/udevadm.md b/pages/linux/udevadm.md new file mode 100644 index 00000000000000..c61aadf1f50ae2 --- /dev/null +++ b/pages/linux/udevadm.md @@ -0,0 +1,32 @@ +# udevadm + +> Linux `udev` management tool. +> More information: . + +- Monitor all device events: + +`sudo udevadm monitor` + +- Print `uevents` sent out by the kernel: + +`sudo udevadm monitor {{[-k|--kernel]}}` + +- Print device events after being processed by `udev`: + +`sudo udevadm monitor {{[-u|--udev]}}` + +- List attributes of device `/dev/sda`: + +`sudo udevadm info {{[-a|--attribute-walk]}} {{/dev/sda}}` + +- Reload all `udev` rules: + +`sudo udevadm control {{[-R|--reload]}}` + +- Trigger all `udev` rules to run: + +`sudo udevadm trigger` + +- Test an event run by simulating loading of `/dev/sda`: + +`sudo udevadm test {{/dev/sda}}` diff --git a/pages/linux/udevmon.md b/pages/linux/udevmon.md new file mode 100644 index 00000000000000..6e0c1fb6f6bdd7 --- /dev/null +++ b/pages/linux/udevmon.md @@ -0,0 +1,9 @@ +# udevmon + +> Intercept and monitor input devices for launching tasks. +> Filters or modifies events according to configuration file(s) (default: `/etc/interception/udevmon.d/*.yaml`). +> More information: . + +- Start udevmon with specified configuration file: + +`udevmon -c {{path/to/config.yaml}}` diff --git a/pages/linux/udisksctl.md b/pages/linux/udisksctl.md index d9224400c0ad2b..9bc1720b4cf9d0 100644 --- a/pages/linux/udisksctl.md +++ b/pages/linux/udisksctl.md @@ -1,7 +1,7 @@ # udisksctl -> A command-line program used to interact with the udisksd daemon process. -> More information: . +> Interact with `udisksd` to query and manipulate storage devices. +> More information: . - Show high-level information about disk drives and block devices: @@ -9,19 +9,23 @@ - Show detailed information about a device: -`udisksctl info --block-device {{/dev/sdX}}` +`udisksctl info {{[-b|--block-device]}} {{/dev/sdX}}` - Show detailed information about a device partition: -`udisksctl info --block-device {{/dev/sdXN}}` +`udisksctl info {{[-b|--block-device]}} {{/dev/sdXN}}` - Mount a device partition and prints the mount point: -`udisksctl mount --block-device {{/dev/sdXN}}` +`udisksctl mount {{[-b|--block-device]}} {{/dev/sdXN}}` - Unmount a device partition: -`udisksctl unmount --block-device {{/dev/sdXN}}` +`udisksctl unmount {{[-b|--block-device]}} {{/dev/sdXN}}` + +- Power off a device to safely remove it: + +`udisksctl power-off {{[-b|--block-device]}} {{/dev/sdX}}` - Monitor the daemon for events: diff --git a/pages/linux/ufw.md b/pages/linux/ufw.md index c35d33aaf19ab7..e5bed2778fbb03 100644 --- a/pages/linux/ufw.md +++ b/pages/linux/ufw.md @@ -1,35 +1,36 @@ # ufw > Uncomplicated Firewall. -> Frontend for iptables aiming to make configuration of a firewall easier. +> Frontend for `iptables` aiming to make configuration of a firewall easier. +> More information: . -- Enable ufw: +- Enable `ufw`: `ufw enable` -- Disable ufw: +- Disable `ufw`: `ufw disable` -- Show ufw rules, along with their numbers: +- Show `ufw` rules, along with their numbers: `ufw status numbered` - Allow incoming traffic on port 5432 on this host with a comment identifying the service: -`ufw allow {{5432}} comment "{{Service}}"` +`ufw allow 5432 comment "{{Service}}"` - Allow only TCP traffic from 192.168.0.4 to any address on this host, on port 22: -`ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}` +`ufw allow proto tcp from 192.168.0.4 to any port 22` - Deny traffic on port 80 on this host: -`ufw deny {{80}}` +`ufw deny 80` -- Deny all UDP traffic to port 22: +- Deny all UDP traffic to ports in range 8412:8500: -`ufw deny proto {{udp}} from {{any}} to {{any}} port {{22}}` +`ufw deny proto udp from any to any port 8412:8500` - Delete a particular rule. The rule number can be retrieved from the `ufw status numbered` command: diff --git a/pages/linux/uinput.md b/pages/linux/uinput.md new file mode 100644 index 00000000000000..3a9eb8e0ecbe5e --- /dev/null +++ b/pages/linux/uinput.md @@ -0,0 +1,16 @@ +# uinput + +> Intercept and write input events to a virtual keyboard device using /dev/uinput. +> More information: . + +- Show resulting YAML device description merge and exit (dry-run): + +`uinput -p` + +- Merge YAML device description(s) to resulting virtual device: + +`sudo uinput -c {{path/to/device1.yaml path/to/device2.yaml ...}}` + +- Merge reference device description from device node(s) to resulting virtual device: + +`sudo uinput -d {{/dev/input/eventX /dev/input/eventY ...}}` diff --git a/pages/linux/ul.md b/pages/linux/ul.md index 58e29bea0d3d5a..c1e496d54296a5 100644 --- a/pages/linux/ul.md +++ b/pages/linux/ul.md @@ -1,7 +1,8 @@ # ul -> Performs the underlining of a text. -> Each character in a given string must be underlined separately. +> Underline a text. +> Each character in a string must be underlined separately. +> More information: . - Display the contents of the file with underlines where applicable: @@ -9,4 +10,4 @@ - Display the contents of the file with underlines made of dashes `-`: -`ul -i {{file.txt}}` +`ul {{[-i|--indicated]}} {{file.txt}}` diff --git a/pages/linux/umount.md b/pages/linux/umount.md new file mode 100644 index 00000000000000..dc2a541236bc2e --- /dev/null +++ b/pages/linux/umount.md @@ -0,0 +1,25 @@ +# umount + +> Unlink a filesystem from its mount point, making it no longer accessible. +> A filesystem cannot be unmounted when it is busy. +> More information: . + +- Unmount a filesystem, by passing the path to the source it is mounted from: + +`sudo umount {{path/to/device_file}}` + +- Unmount a filesystem, by passing the path to the target where it is mounted: + +`sudo umount {{path/to/mounted_directory}}` + +- When an unmount fails, try to remount the filesystem read-only: + +`sudo umount {{[-r|--read-only]}} {{path/to/mounted_directory}}` + +- Recursively unmount each specified directory: + +`sudo umount {{[-R|--recursive]}} {{path/to/mounted_directory}}` + +- Unmount all mounted filesystems (except the `proc` filesystem): + +`sudo umount {{[-a|--all]}}` diff --git a/pages/linux/uname26.md b/pages/linux/uname26.md new file mode 100644 index 00000000000000..2a9234f28f6ef3 --- /dev/null +++ b/pages/linux/uname26.md @@ -0,0 +1,7 @@ +# uname26 + +> This command is an alias of `setarch uname26`. + +- View documentation for the original command: + +`tldr setarch` diff --git a/pages/linux/uncompress.md b/pages/linux/uncompress.md new file mode 100644 index 00000000000000..6760ff52a17fd2 --- /dev/null +++ b/pages/linux/uncompress.md @@ -0,0 +1,20 @@ +# uncompress + +> Uncompress files compressed using the Unix `compress` command. +> More information: . + +- Uncompress specific files: + +`uncompress {{path/to/file1.Z path/to/file2.Z ...}}` + +- Uncompress specific files while ignoring non-existent ones: + +`uncompress -f {{path/to/file1.Z path/to/file2.Z ...}}` + +- Write to `stdout` (no files are changed and no `.Z` files are created): + +`uncompress -c {{path/to/file1.Z path/to/file2.Z ...}}` + +- Verbose mode (write to `stderr` about percentage reduction or expansion): + +`uncompress -v {{path/to/file1.Z path/to/file2.Z ...}}` diff --git a/pages/linux/units.md b/pages/linux/units.md deleted file mode 100644 index 177c8732457d17..00000000000000 --- a/pages/linux/units.md +++ /dev/null @@ -1,25 +0,0 @@ -# units - -> Provide the conversion between two units of measure. -> Typing `search {{text}}` in the prompt will display a list of all of the units containing `{{text}}`. -> More information: . - -- Run in interactive mode: - -`units` - -- Show the conversion between two simple units: - -`units {{quarts}} {{tablespoons}}` - -- Convert between units with quantities: - -`units {{15 pounds}} {{kilograms}}` - -- Show the conversion between two compound units: - -`units "{{meters / second}}" "{{inches / hour}}"` - -- Show the conversion between units with different dimensions: - -`units "{{acres}}" "{{ft^2}}"` diff --git a/pages/linux/unix2dos.md b/pages/linux/unix2dos.md index 57ebfd95570935..75cbd2a7cd8bf2 100644 --- a/pages/linux/unix2dos.md +++ b/pages/linux/unix2dos.md @@ -1,12 +1,22 @@ # unix2dos > Change Unix-style line endings to DOS-style. -> Replaces CR with CRLF. +> Replaces LF with CRLF. +> See also: `unix2mac`, `dos2unix`, `mac2unix`. +> More information: . - Change the line endings of a file: -`unix2dos {{filename}}` +`unix2dos {{path/to/file}}` - Create a copy with DOS-style line endings: -`unix2dos -n {{filename}} {{new_filename}}` +`unix2dos {{[-n|--newfile]}} {{path/to/file}} {{path/to/new_file}}` + +- Display file information: + +`unix2dos {{[-i|--info]}} {{path/to/file}}` + +- Keep/add/remove Byte Order Mark: + +`unix2dos --{{keep-bom|add-bom|remove-bom}} {{path/to/file}}` diff --git a/pages/linux/unix2mac.md b/pages/linux/unix2mac.md index 84c396ec963ef1..741628b437be9a 100644 --- a/pages/linux/unix2mac.md +++ b/pages/linux/unix2mac.md @@ -1,12 +1,22 @@ # unix2mac > Change Unix-style line endings to macOS-style. -> Replaces CR with LF. +> Replaces LF with CR. +> See also: `unix2dos`, `dos2unix`, `mac2unix`. +> More information: . - Change the line endings of a file: -`unix2mac {{filename}}` +`unix2mac {{path/to/file}}` - Create a copy with macOS-style line endings: -`unix2mac -n {{filename}} {{new_filename}}` +`unix2mac {{[-n|--newfile]}} {{path/to/file}} {{path/to/new_file}}` + +- Display file information: + +`unix2mac {{[-i|--info]}} {{path/to/file}}` + +- Keep/add/remove Byte Order Mark: + +`unix2mac --{{keep-bom|add-bom|remove-bom}} {{path/to/file}}` diff --git a/pages/linux/unmount.md b/pages/linux/unmount.md new file mode 100644 index 00000000000000..22b36946d6a074 --- /dev/null +++ b/pages/linux/unmount.md @@ -0,0 +1,8 @@ +# unmount + +> The correct command is `umount` (u-mount). +> More information: . + +- View documentation for the correct command: + +`tldr umount` diff --git a/pages/linux/unopkg.md b/pages/linux/unopkg.md new file mode 100644 index 00000000000000..aed45dc27ffb54 --- /dev/null +++ b/pages/linux/unopkg.md @@ -0,0 +1,30 @@ +# unopkg + +> LibreOffice extensions manager. +> Download extensions from . +> See also: `libreoffice`. +> More information: . + +- Add and deploy given extension: + +`unopkg add {{path/to/extension}}` + +- Remove extension: + +`unopkg remove {{extensions_id}}` + +- Display information about deployed extensions: + +`unopkg list` + +- Raise extensions dialog (GUI): + +`unopkg gui` + +- Reinstall all deployed extensions: + +`unopkg reinstall` + +- Display help: + +`unopkg {{[-h|--help]}}` diff --git a/pages/linux/unset.md b/pages/linux/unset.md deleted file mode 100644 index 90d0d2c2edb294..00000000000000 --- a/pages/linux/unset.md +++ /dev/null @@ -1,15 +0,0 @@ -# unset - -> Remove shell variables or functions. - -- Remove the variable `foo`, or if the variable doesn't exist, remove the function `foo`: - -`unset {{foo}}` - -- Remove the variables foo and bar: - -`unset -v {{foo}} {{bar}}` - -- Remove the function my_func: - -`unset -f {{my_func}}` diff --git a/pages/linux/unshadow.md b/pages/linux/unshadow.md index 804a61c365802f..67f9ff8ec17a8b 100644 --- a/pages/linux/unshadow.md +++ b/pages/linux/unshadow.md @@ -1,9 +1,9 @@ # unshadow > Utility provided by the John the Ripper project to obtain the traditional Unix password file if the system uses shadow passwords. -> More information: . +> More information: . -- Combine the /etc/shadow and /etc/passwd of the current system: +- Combine the `/etc/shadow` and `/etc/passwd` of the current system: `sudo unshadow /etc/passwd /etc/shadow` diff --git a/pages/linux/unshare.md b/pages/linux/unshare.md new file mode 100644 index 00000000000000..cd992b6e72694a --- /dev/null +++ b/pages/linux/unshare.md @@ -0,0 +1,12 @@ +# unshare + +> Execute a command in new user-defined namespaces. +> More information: . + +- Execute a command without sharing access to connected networks: + +`unshare {{[-n|--net]}} {{command}} {{command_arguments}}` + +- Execute a command as a child process without sharing mounts, processes, or networks: + +`unshare {{[-m|--mount]}} {{[-i|--pid]}} {{[-n|--net]}} {{[-f|--fork]}} {{command}} {{command_arguments}}` diff --git a/pages/linux/unsquashfs.md b/pages/linux/unsquashfs.md new file mode 100644 index 00000000000000..5cdb2fdc614d1f --- /dev/null +++ b/pages/linux/unsquashfs.md @@ -0,0 +1,28 @@ +# unsquashfs + +> Uncompress, extract and list files in squashfs filesystems. +> More information: . + +- Extract a squashfs filesystem to `squashfs-root` in the current working directory: + +`unsquashfs {{filesystem.squashfs}}` + +- Extract a squashfs filesystem to the specified directory: + +`unsquashfs {{[-d|-dest]}} {{path/to/directory}} {{filesystem.squashfs}}` + +- Display the names of files as they are extracted: + +`unsquashfs {{[-i|-info]}} {{filesystem.squashfs}}` + +- Display the names of files and their attributes as they are extracted: + +`unsquashfs {{[-li|-linfo]}} {{filesystem.squashfs}}` + +- List files inside the squashfs filesystem (without extracting): + +`unsquashfs {{[-l|-ls]}} {{filesystem.squashfs}}` + +- List files and their attributes inside the squashfs filesystem (without extracting): + +`unsquashfs {{[-ll|-lls]}} {{filesystem.squashfs}}` diff --git a/pages/linux/unzipsfx.md b/pages/linux/unzipsfx.md new file mode 100644 index 00000000000000..ee937caec4bc06 --- /dev/null +++ b/pages/linux/unzipsfx.md @@ -0,0 +1,24 @@ +# unzipsfx + +> Create a self-extracting compressed binary file by prepending self-extracting stubs on a Zip file. +> More information: . + +- Create a self-extracting binary file of a Zip archive: + +`cat unzipsfx {{path/to/archive.zip}} > {{filename}} && chmod 755 {{filename}}` + +- Extract a self-extracting binary in the current directory: + +`{{./path/to/binary}}` + +- Test a self-extracting binary for errors: + +`{{./path/to/binary}} -t` + +- Print content of a file in the self-extracting binary without extraction: + +`{{./path/to/binary}} -c {{path/to/file}}` + +- Print comments on Zip archive in the self-extracting binary: + +`{{./path/to/binary}} -z` diff --git a/pages/linux/update-alternatives.md b/pages/linux/update-alternatives.md index a2761858f947b1..14d1cc128b030d 100644 --- a/pages/linux/update-alternatives.md +++ b/pages/linux/update-alternatives.md @@ -1,12 +1,13 @@ # update-alternatives -> A convenient tool for maintaining symbolic links to determine default commands. +> Convenientily maintain symbolic links to determine default commands. +> More information: . - Add a symbolic link: `sudo update-alternatives --install {{path/to/symlink}} {{command_name}} {{path/to/command_binary}} {{priority}}` -- Configure a symbolic link for "java": +- Configure a symbolic link for `java`: `sudo update-alternatives --config {{java}}` diff --git a/pages/linux/update-initramfs.md b/pages/linux/update-initramfs.md new file mode 100644 index 00000000000000..2d8ef7eaf40cd7 --- /dev/null +++ b/pages/linux/update-initramfs.md @@ -0,0 +1,16 @@ +# update-initramfs + +> Manage initramfs. +> More information: . + +- Create a new initramfs (use `all` for all installed kernel versions): + +`sudo update-initramfs -c -k {{kernel_version}}` + +- Update an existing initramfs: + +`sudo update-initramfs -u` + +- Remove an existing initramfs (be careful when using `all` for `kernel_version`): + +`sudo update-initramfs -d -k {{kernel_version}}` diff --git a/pages/linux/update-rc.d.md b/pages/linux/update-rc.d.md index f47ac09cd3ceca..63f7add99be0f4 100644 --- a/pages/linux/update-rc.d.md +++ b/pages/linux/update-rc.d.md @@ -1,7 +1,8 @@ # update-rc.d > Install and remove services which are System-V style init script links. -> Init scripts are in the /etc/init.d/. +> Init scripts are in the `/etc/init.d/`. +> More information: . - Install a service: diff --git a/pages/linux/updatectl.md b/pages/linux/updatectl.md new file mode 100644 index 00000000000000..d9a755a6d5dca5 --- /dev/null +++ b/pages/linux/updatectl.md @@ -0,0 +1,36 @@ +# updatectl + +> System update utility. +> More information: . + +- Check to see if the system has any available updates: + +`updatectl check` + +- Update to the latest version: + +`updatectl update` + +- Show update targets: + +`updatectl list` + +- Show data about a target and its versions: + +`updatectl list {{target}}` + +- Return local data about a target without fetching from the network: + +`updatectl --offline list {{target}}` + +- Apply an update to a target and then reboot the system: + +`updatectl --reboot update {{target}}` + +- Clean up old versions of a specified target: + +`updatectl vacuum {{target}}` + +- Display help: + +`updatectl {{[-h|--help]}}` diff --git a/pages/linux/updatedb.md b/pages/linux/updatedb.md index 64482815112eaf..822c04d826ce2e 100644 --- a/pages/linux/updatedb.md +++ b/pages/linux/updatedb.md @@ -2,6 +2,7 @@ > Create or update the database used by `locate`. > It is usually run daily by cron. +> More information: . - Refresh database content: @@ -9,4 +10,4 @@ - Display file names as soon as they are found: -`sudo updatedb --verbose` +`sudo updatedb {{[-v|--verbose]}}` diff --git a/pages/linux/updpkgsums.md b/pages/linux/updpkgsums.md new file mode 100644 index 00000000000000..5836fd271ef19b --- /dev/null +++ b/pages/linux/updpkgsums.md @@ -0,0 +1,17 @@ +# updpkgsums + +> Update the checksums of the sources in a `PKGBUILD`. +> Unless a preexisting hashing algorithm is used, SHA256 will be used. +> More information: . + +- Update the checksums in a `PKGBUILD`: + +`updpkgsums` + +- Display help: + +`updpkgsums {{[-h|--help]}}` + +- Display version: + +`updpkgsums {{[-v|--version]}}` diff --git a/pages/linux/upnpc.md b/pages/linux/upnpc.md new file mode 100644 index 00000000000000..9a15bb99e91e1a --- /dev/null +++ b/pages/linux/upnpc.md @@ -0,0 +1,20 @@ +# upnpc + +> Configure port forwarding rules on your router via the UPnP protocol. +> More information: . + +- Forward the external TCP port 80 to port 8080 on a local machine: + +`upnpc -a {{192.168.0.1}} 8080 80 tcp` + +- Delete any port redirection for external TCP port 80: + +`upnpc -d 80 tcp` + +- Get information about UPnP devices on your network: + +`upnpc -s` + +- List existing redirections: + +`upnpc -l` diff --git a/pages/linux/upower.md b/pages/linux/upower.md new file mode 100644 index 00000000000000..5e96f6db98de66 --- /dev/null +++ b/pages/linux/upower.md @@ -0,0 +1,24 @@ +# upower + +> System utility to provide power and battery information and statistics. +> More information: . + +- Display power and battery information: + +`upower {{[-d|--dump]}}` + +- List all power devices: + +`upower {{[-e|--enumerate]}}` + +- Watch for and print power status changes: + +`upower {{[-m|--monitor]}}` + +- Watch for and print detailed power status changes: + +`upower --monitor-detail` + +- Display version: + +`upower {{[-v|--version]}}` diff --git a/pages/linux/uprecords.md b/pages/linux/uprecords.md index 24b94e59f40c39..fec09a7f6f5750 100644 --- a/pages/linux/uprecords.md +++ b/pages/linux/uprecords.md @@ -1,6 +1,7 @@ # uprecords -> Displays a summary of historical uptime records. +> Display a summary of historical uptime records. +> More information: . - Display a summary of the top 10 historical uptime records: diff --git a/pages/linux/urpme.md b/pages/linux/urpme.md new file mode 100644 index 00000000000000..d3d55a0a3fa39f --- /dev/null +++ b/pages/linux/urpme.md @@ -0,0 +1,17 @@ +# urpme + +> Uninstall packages in Mageia. +> See also: `urpmi`, `urpmi.update`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`. +> More information: . + +- Uninstall a package: + +`sudo urpme {{package}}` + +- Uninstall orphan packages (Note: Use it with caution as it might unintentionally remove important packages): + +`sudo urpme --auto-orphans` + +- Uninstall a package and its dependencies: + +`sudo urpme --auto-orphans {{package}}` diff --git a/pages/linux/urpmf.md b/pages/linux/urpmf.md new file mode 100644 index 00000000000000..ffb31dbf69b191 --- /dev/null +++ b/pages/linux/urpmf.md @@ -0,0 +1,21 @@ +# urpmf + +> Find files in packages and query information about them in Mageia. +> See also: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmi.update`, `urpmq`. +> More information: . + +- Search for packages that contain a file: + +`urpmf {{filename}}` + +- Search for packages that contain both a keyword [a]nd another in their summaries: + +`urpmf --summary {{keyword1}} -a {{keyword2}}` + +- Search for packages that contain a keyword [o]r another in their descriptions: + +`urpmf --description {{keyword1}} -o {{keyword2}}` + +- Search for packages that do not contain a keyword in their name ignoring case distinction using "|" as the [F]ield separator (":" by default): + +`urpmf --description ! {{keyword}} -F'|'` diff --git a/pages/linux/urpmi.addmedia.md b/pages/linux/urpmi.addmedia.md new file mode 100644 index 00000000000000..8d665bd8f4e0db --- /dev/null +++ b/pages/linux/urpmi.addmedia.md @@ -0,0 +1,22 @@ +# urpmi.addmedia + +> Add media in Mageia. +> Note: Mageia documentation uses medium and repository as synonymous. +> See also: `urpmi`, `urpmi.update`, `urpme`, `urpmi.removemedia`, `urpmf`, `urpmq`. +> More information: . + +- Add a medium: + +`sudo urpmi.addmedia {{medium}} {{ftp://ftp.site.com/path/to/Mageia/RPMS}}` + +- Add a medium from a hard drive (run `genhdlist2` in the directory first): + +`sudo urpmi.addmedia --distrib HD file://{{path/to/repo}}` + +- Add important media from a chosen mirror: + +`sudo urpmi.addmedia --distrib ftp://{{mirror_website}}/mirror/mageia/distrib/{{version}}/{{arch}}` + +- Automatically select mirrors from a mirror list: + +`sudo urpmi.addmedia --distrib --mirrorlist {{mirrorlist}}` diff --git a/pages/linux/urpmi.md b/pages/linux/urpmi.md new file mode 100644 index 00000000000000..e901b80ac73fa4 --- /dev/null +++ b/pages/linux/urpmi.md @@ -0,0 +1,25 @@ +# urpmi + +> Install packages in Mageia. +> See also: `urpm.update`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`. +> More information: . + +- Install a package from the repository or from a local RPM file: + +`sudo urpmi {{package|path/to/file.rpm}}` + +- Download a package without installing it: + +`urpmi --no-install {{package}}` + +- Update all installed packages (run `urpmi.update -a` to get the available updates): + +`sudo urpmi --auto-select` + +- Update a package of one or more machines on the network according to `/etc/urpmi/parallel.cfg`: + +`sudo urpmi --parallel local {{package}}` + +- Mark all orphaned packages as manually installed: + +`sudo urpmi $(urpmq --auto-orphans -f)` diff --git a/pages/linux/urpmi.removemedia.md b/pages/linux/urpmi.removemedia.md new file mode 100644 index 00000000000000..e00739d15799a9 --- /dev/null +++ b/pages/linux/urpmi.removemedia.md @@ -0,0 +1,18 @@ +# urpmi.removemedia + +> Remove media in Mageia. +> Note: Mageia documentation uses medium and repository as synonymous. +> See also: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.update`, `urpmf`, `urpmq`. +> More information: . + +- Remove a medium: + +`sudo urpmi.removemedia {{medium}}` + +- Remove [a]ll media: + +`sudo urpmi.removemedia -a` + +- Remove media fuzz[y] matching on media names: + +`sudo urpmi.removemedia -y {{keyword}}` diff --git a/pages/linux/urpmi.update.md b/pages/linux/urpmi.update.md new file mode 100644 index 00000000000000..24216b16f9ef9d --- /dev/null +++ b/pages/linux/urpmi.update.md @@ -0,0 +1,22 @@ +# urpmi.update + +> Update the list of packages from a package repository in Mageia. +> Note: Mageia documentation uses medium and repository as synonymous. +> See also: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`. +> More information: . + +- Update all enabled media: + +`urpmi.update -a` + +- Update specific media (including disabled media): + +`urpmi.update {{medium1 medium2 ...}}` + +- Update all media that contain a specific keyword: + +`urpmi.update {{keyword}}` + +- Update all configured media: + +`urpmi.update e` diff --git a/pages/linux/urpmq.md b/pages/linux/urpmq.md new file mode 100644 index 00000000000000..ae4c7684641cc8 --- /dev/null +++ b/pages/linux/urpmq.md @@ -0,0 +1,33 @@ +# urpmq + +> Query information about packages and media in Mageia. +> See also: `urpmi`, `urpmi.update`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpme`. +> More information: . + +- Display information about an installable package: + +`urpmq -i {{package}}` + +- Display direct dependencies of a package: + +`urpmq --requires {{package}}` + +- Display direct and indirect dependencies of a package: + +`urpmq {{[-d|--requires-recursive]}} {{package}}` + +- List the not installed packages needed for an RPM file with their sources: + +`sudo urpmq {{[-d|--requires-recursive]}} -m --sources {{path/to/file.rpm}}` + +- List all configured media with their URLs, including inactive media: + +`urpmq --list-media --list-url` + +- Search for a package printing [g]roup, version and [r]elease: + +`urpmq -g -r {{[-y|--fuzzy]}} {{keyword}}` + +- Search for a package with using its exact name: + +`urpmq -g -r {{package}}` diff --git a/pages/linux/urxvt.md b/pages/linux/urxvt.md index e6ff311cad5a85..cbb65eecc21934 100644 --- a/pages/linux/urxvt.md +++ b/pages/linux/urxvt.md @@ -2,6 +2,7 @@ > Rxvt-unicode. > A customizable terminal emulator. +> More information: . - Open a new urxvt window: @@ -19,6 +20,6 @@ `urxvt --hold -e {{command}}` -- Run a command within the "sh" shell: +- Run a command within the `sh` shell: `urxvt -e {{sh}} -c {{command}}` diff --git a/pages/linux/usbip.md b/pages/linux/usbip.md new file mode 100644 index 00000000000000..7ecc4c959a9c24 --- /dev/null +++ b/pages/linux/usbip.md @@ -0,0 +1,36 @@ +# usbip + +> Use USB devices remotely. +> More information: . + +- List all local USB devices and their bus ID's: + +`usbip list {{[-l|--local]}}` + +- Start a `usbip` daemon on the server: + +`systemctl start usbipd` + +- Bind a USB device to `usbip` on the server: + +`sudo usbip bind {{[-b|--busid]}} {{bus_id}}` + +- Load the kernel module required by `usbip` on the client: + +`sudo modprobe vhci-hcd` + +- Attach to the `usbip` device on the client (bus ID is the same as on the server): + +`sudo usbip attach {{[-r|--remote]}} {{ip_address}} {{[-b|--busid]}} {{bus_id}}` + +- List attached devices: + +`usbip port` + +- Detach from a device: + +`sudo usbip detach {{[-p|--port]}} {{port}}` + +- Unbind a device: + +`usbip unbind {{[-b|--busid]}} {{bus_id}}` diff --git a/pages/linux/useradd.md b/pages/linux/useradd.md index 77159dc41b4edc..606ec7330429bb 100644 --- a/pages/linux/useradd.md +++ b/pages/linux/useradd.md @@ -1,23 +1,33 @@ # useradd > Create a new user. +> See also: `users`, `userdel`, `usermod`. +> More information: . -- Create new user: +- Create a new user: -`useradd {{name}}` +`sudo useradd {{username}}` -- Create new user with a default home directory: +- Create a new user with the specified user ID: -`useradd --create-home {{name}}` +`sudo useradd {{[-u|--uid]}} {{id}} {{username}}` -- Create new user with specified shell: +- Create a new user with the specified shell: -`useradd --shell {{path/to/shell}} {{name}}` +`sudo useradd {{[-s|--shell]}} {{path/to/shell}} {{username}}` -- Create new user belonging to additional groups (mind the lack of whitespace): +- Create a new user belonging to additional groups (mind the lack of whitespace): -`useradd --groups {{group1,group2}} {{name}}` +`sudo useradd {{[-G|--groups]}} {{group1,group2,...}} {{username}}` -- Create new system user without a home directory: +- Create a new user with the default home directory: -`useradd --no-create-home --system {{name}}` +`sudo useradd {{[-m|--create-home]}} {{username}}` + +- Create a new user with the home directory filled by template directory files: + +`sudo useradd {{[-k|--skel]}} {{path/to/template_directory}} {{[-m|--create-home]}} {{username}}` + +- Create a new system user without the home directory: + +`sudo useradd {{[-r|--system]}} {{username}}` diff --git a/pages/linux/userdbctl.md b/pages/linux/userdbctl.md new file mode 100644 index 00000000000000..5a909e481dae51 --- /dev/null +++ b/pages/linux/userdbctl.md @@ -0,0 +1,24 @@ +# userdbctl + +> Inspect users, groups and group memberships on the system. +> More information: . + +- List all known user records: + +`userdbctl user` + +- Show details of a specific user: + +`userdbctl user {{username}}` + +- List all known groups: + +`userdbctl group` + +- Show details of a specific group: + +`userdbctl group {{groupname}}` + +- List all services currently providing user/group definitions to the system: + +`userdbctl services` diff --git a/pages/linux/userdel.md b/pages/linux/userdel.md index ee7a9a3cf0c211..4ff869b9ed9306 100644 --- a/pages/linux/userdel.md +++ b/pages/linux/userdel.md @@ -1,7 +1,17 @@ # userdel -> Remove a user. +> Remove a user account or remove a user from a group. +> See also: `users`, `useradd`, `usermod`. +> More information: . -- Remove a user and their home directory: +- Remove a user: -`userdel -r {{name}}` +`sudo userdel {{username}}` + +- Remove a user in other root directory: + +`sudo userdel {{[-R|--root]}} {{path/to/other/root}} {{username}}` + +- Remove a user along with the home directory and mail spool: + +`sudo userdel {{[-r|--remove]}} {{username}}` diff --git a/pages/linux/usermod.md b/pages/linux/usermod.md index 300cb6231dcb09..8889b6a4d7c1c6 100644 --- a/pages/linux/usermod.md +++ b/pages/linux/usermod.md @@ -1,15 +1,37 @@ # usermod -> Modifies a user account. +> Modify a user account. +> See also: `users`, `useradd`, `userdel`. +> More information: . -- Change a user's name: +- Change a username: -`usermod -l {{newname}} {{user}}` +`sudo usermod {{[-l|--login]}} {{new_username}} {{username}}` -- Add user to supplementary groups (mind the whitespace): +- Change a user ID: -`usermod -a -G {{group1,group2}} {{user}}` +`sudo usermod {{[-u|--uid]}} {{id}} {{username}}` -- Create a new home directory for a user and move their files to it: +- Change a user shell: -`usermod -m -d {{path/to/home}} {{user}}` +`sudo usermod {{[-s|--shell]}} {{path/to/shell}} {{username}}` + +- Add a user to supplementary groups (mind the lack of whitespace): + +`sudo usermod {{[-aG|--append --groups]}} {{group1,group2,...}} {{username}}` + +- Remove a user from specific groups: + +`sudo usermod {{[-rG|--remove --groups]}} {{group1,group2,...}} {{username}}` + +- Change a user home directory: + +`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{path/to/new_home}} {{username}}` + +- Lock an account: + +`sudo usermod {{[-L|--lock]}} {{username}}` + +- Unlock an account: + +`sudo usermod {{[-U|--unlock]}} {{username}}` diff --git a/pages/linux/utmpdump.md b/pages/linux/utmpdump.md index b264cb9487db97..521a554c9056c6 100644 --- a/pages/linux/utmpdump.md +++ b/pages/linux/utmpdump.md @@ -1,11 +1,12 @@ # utmpdump > Dump and load btmp, utmp and wtmp accounting files. +> More information: . -- Dump the `/var/log/wtmp` file to the standard output as plain text: +- Dump the `/var/log/wtmp` file to `stdout` as plain text: `utmpdump {{/var/log/wtmp}}` - Load a previously dumped file into `/var/log/wtmp`: -`utmpdump -r {{dumpfile}} > {{/var/log/wtmp}}` +`utmpdump {{[-r|--reverse]}} {{dumpfile}} > {{/var/log/wtmp}}` diff --git a/pages/linux/uuid.md b/pages/linux/uuid.md new file mode 100644 index 00000000000000..2872ec42ac32e2 --- /dev/null +++ b/pages/linux/uuid.md @@ -0,0 +1,33 @@ +# uuid + +> Generate and decode Universally Unique Identifiers (UUID). +> See also: `uuidgen`. +> More information: . + +- Generate a UUIDv1 (based on time and system's hardware address, if present): + +`uuid` + +- Generate a UUIDv4 (based on random data): + +`uuid -v {{4}}` + +- Generate multiple UUIDv4 identifiers at once: + +`uuid -v {{4}} -n {{number_of_uuids}}` + +- Generate a UUIDv4 and specify the output format: + +`uuid -v {{4}} -F {{BIN|STR|SIV}}` + +- Generate a UUIDv4 and write the output to a file: + +`uuid -v {{4}} -o {{path/to/file}}` + +- Generate a UUIDv5 (based on the supplied object name) with a specified namespace prefix: + +`uuid -v {{5}} ns:{{DNS|URL|OID|X500}} {{object_name}}` + +- Decode a given UUID: + +`uuid -d {{uuid}}` diff --git a/pages/linux/uuidd.md b/pages/linux/uuidd.md new file mode 100644 index 00000000000000..d528ca324b2fee --- /dev/null +++ b/pages/linux/uuidd.md @@ -0,0 +1,16 @@ +# uuidd + +> Daemon for generating UUIDs. +> More information: . + +- Generate a random UUID: + +`uuidd {{[-r|--random]}}` + +- Generate a bulk number of random UUIDs: + +`uuidd {{[-r|--random]}} {{[-n|--uuids]}} {{number_of_uuids}}` + +- Generate a time-based UUID, based on the current time and MAC address of the system: + +`uuidd {{[-t|--time]}}` diff --git a/pages/linux/uuidgen.md b/pages/linux/uuidgen.md index 4603c48ab2d6b1..34eda916eb0413 100644 --- a/pages/linux/uuidgen.md +++ b/pages/linux/uuidgen.md @@ -1,15 +1,17 @@ # uuidgen > Generate unique identifiers (UUIDs). +> See also: `uuid`. +> More information: . -- Create a random UUID: +- Create a random UUIDv4: -`uuidgen --random` +`uuidgen {{[-r|--random]}}` -- Create a UUID based on the current time: +- Create a UUIDv1 based on the current time: -`uuidgen --time` +`uuidgen {{[-t|--time]}}` -- Create a UUID based on the hash of a URL: +- Create a UUIDv5 of the name with a specified namespace prefix: -`uuidgen --sha1 --namespace {{@url}} --name {{object_name}}` +`uuidgen {{[-s|--sha1]}} {{[-n|--namespace]}} {{@dns|@url|@oid|@x500}} {{[-N|--name]}} {{object_name}}` diff --git a/pages/linux/uuidparse.md b/pages/linux/uuidparse.md new file mode 100644 index 00000000000000..74c546a464db73 --- /dev/null +++ b/pages/linux/uuidparse.md @@ -0,0 +1,33 @@ +# uuidparse + +> Parse universally unique identifiers. +> See also: `uuidgen`. +> More information: . + +- Parse the specified UUIDs, use a tabular output format: + +`uuidparse {{uuid1 uuid2 ...}}` + +- Parse UUIDs from `stdin`: + +`{{command}} | uuidparse` + +- Use the JSON output format: + +`uuidparse {{[-J|--json]}} {{uuid1 uuid2 ...}}` + +- Do not print a header line: + +`uuidparse {{[-n|--noheadings]}} {{uuid1 uuid2 ...}}` + +- Use the raw output format: + +`uuidparse {{[-r|--raw]}} {{uuid1 uuid2 ...}}` + +- Specify which of the four output columns to print: + +`uuidparse {{[-o|--output]}} {{UUID,VARIANT,TYPE,TIME}}` + +- Display help: + +`uuidparse {{[-h|--help]}}` diff --git a/pages/linux/uvcdynctrl.md b/pages/linux/uvcdynctrl.md index b1c70d014a6f89..8fb43f722a5223 100644 --- a/pages/linux/uvcdynctrl.md +++ b/pages/linux/uvcdynctrl.md @@ -1,31 +1,32 @@ # uvcdynctrl -> A libwebcam command line tool to manage dynamic controls in uvcvideo. +> Manage dynamic controls in uvcvideo. +> More information: . - List all available cameras: -`uvcdynctrl -l` +`uvcdynctrl {{[-l|--list]}}` -- Specify the device to use (defaults to `video0`): +- Use a specific device (defaults to `video0`): -`uvcdynctrl -d {{device_name}}` +`uvcdynctrl {{[-d|--device]}} {{device_name}}` - List available controls: -`uvcdynctrl -c` +`uvcdynctrl {{[-c|--clist]}}` -- Set a new control value (for negative values, add -- before {{-value}}): +- Set a new control value (for negative values, use `-- -value`): -`uvcdynctrl -s {{control_name}} {{value}}` +`uvcdynctrl {{[-s|--set]}} {{control_name}} {{value}}` - Get the current control value: -`uvcdynctrl -g {{control_name}}` +`uvcdynctrl {{[-g|--get]}} {{control_name}}` - Save the state of the current controls to a file: -`uvcdynctrl -W {{filename}}` +`uvcdynctrl {{[-W|--save]}} {{filename}}` - Load the state of the controls from a file: -`uvcdynctrl -L {{filename}}` +`uvcdynctrl {{[-L|--load]}} {{filename}}` diff --git a/pages/linux/v4l2-ctl.md b/pages/linux/v4l2-ctl.md new file mode 100644 index 00000000000000..719374f5dd38ab --- /dev/null +++ b/pages/linux/v4l2-ctl.md @@ -0,0 +1,36 @@ +# v4l2-ctl + +> Control video devices. +> More information: . + +- List all video devices: + +`v4l2-ctl {{[-A|--list-devices]}}` + +- List supported video formats and resolutions of default video device `/dev/video0`: + +`v4l2-ctl --list-formats-ext` + +- List supported video formats and resolutions of a specific video device: + +`v4l2-ctl --list-formats-ext {{[-d|--device]}} {{path/to/video_device}}` + +- Get all details of a video device: + +`v4l2-ctl --all {{[-d|--device]}} {{path/to/video_device}}` + +- Capture a JPEG photo with a specific resolution from video device: + +`v4l2-ctl {{[-d|--device]}} {{path/to/video_device}} --set-fmt-video=width={{width}},height={{height}},pixelformat=MJPG --stream-mmap --stream-to={{path/to/output.jpg}} --stream-count=1` + +- Capture a raw video stream from video device: + +`v4l2-ctl {{[-d|--device]}} {{path/to/video_device}} --set-fmt-video=width={{width}},height={{height}},pixelformat={{format}} --stream-mmap --stream-to={{path/to/output}} --stream-count={{number_of_frames_to_capture}}` + +- List all video device's controls and their values: + +`v4l2-ctl {{[-l|--list-ctrls]}} {{[-d|--device]}} {{path/to/video_device}}` + +- Set the value of a video device control: + +`v4l2-ctl {{[-d|--device]}} {{path/to/video_device}} {{[-c|--set-ctrl]}} {{control_name}}={{value}}` diff --git a/pages/linux/vcgencmd.md b/pages/linux/vcgencmd.md new file mode 100644 index 00000000000000..c95a312893fc81 --- /dev/null +++ b/pages/linux/vcgencmd.md @@ -0,0 +1,28 @@ +# vcgencmd + +> Print system information for a Raspberry Pi. +> More information: . + +- List all available commands: + +`vcgencmd commands` + +- Print the current CPU temperature: + +`vcgencmd measure_temp` + +- Print the current voltage: + +`vcgencmd measure_volts` + +- Print the throttled state of the system as a bit pattern: + +`vcgencmd get_throttled` + +- Print the bootloader configuration (only available on Raspberry Pi 4 models): + +`vcgencmd bootloader_config` + +- Display help: + +`vcgencmd --help` diff --git a/pages/linux/veracrypt.md b/pages/linux/veracrypt.md index cee9806610a920..170f21228636d7 100644 --- a/pages/linux/veracrypt.md +++ b/pages/linux/veracrypt.md @@ -1,20 +1,20 @@ # veracrypt > Free and open source disk encryption software. -> More information: . +> More information: . - Create a new volume through a text user interface and use `/dev/urandom` as a source of random data: -`veracrypt --text --create --random-source={{/dev/urandom}}` +`veracrypt {{[-t|--text]}} {{[-c|--create]}} --random-source={{/dev/urandom}}` - Decrypt a volume interactively through a text user interface and mount it to a directory: -`veracrypt --text {{path/to/volume}} {{path/to/mount_point}}` +`veracrypt {{[-t|--text]}} {{path/to/volume}} {{path/to/mount_point}}` - Decrypt a partition using a keyfile and mount it to a directory: -`veracrypt --keyfiles={{path/to/keyfile}} {{/dev/sdXN}} {{path/to/mount_point}}` +`veracrypt {{[-k|--keyfiles]}} {{path/to/keyfile}} {{/dev/sdXN}} {{path/to/mount_point}}` - Dismount a volume on the directory it is mounted to: -`veracrypt --dismount {{path/to/mounted_point}}` +`veracrypt {{[-d|--dismount]}} {{path/to/mounted_point}}` diff --git a/pages/linux/vgcfgbackup.md b/pages/linux/vgcfgbackup.md new file mode 100644 index 00000000000000..6898593ab9e7c0 --- /dev/null +++ b/pages/linux/vgcfgbackup.md @@ -0,0 +1,24 @@ +# vgcfgbackup + +> Back up volume group configuration metadata to files (not user data). +> More information: . + +- Back up metadata for all volume groups (to `/etc/lvm/backup/` by default): + +`vgcfgbackup` + +- Back up metadata for a specific volume group: + +`vgcfgbackup {{vg_name}}` + +- Write the backup to a specific file: + +`vgcfgbackup {{[-f|--file]}} {{path/to/backup}} {{vg_name}}` + +- Back up multiple VGs using a filename template (`%s` becomes the VG name): + +`vgcfgbackup {{[-f|--file]}} {{/tmp/vg-backup-%s}} {{vg1 vg2 ...}}` + +- Increase verbosity (repeat `-v` for more detail): + +`vgcfgbackup {{[-v|--verbose]}} {{vg_name}}` diff --git a/pages/linux/vgchange.md b/pages/linux/vgchange.md new file mode 100644 index 00000000000000..8db335c464db19 --- /dev/null +++ b/pages/linux/vgchange.md @@ -0,0 +1,13 @@ +# vgchange + +> Change the attributes of a Logical Volume Manager (LVM) volume group. +> See also: `lvm`. +> More information: . + +- Change the activation status of logical volumes in all volume groups: + +`sudo vgchange {{[-a|--activate]}} {{y|n}}` + +- Change the activation status of logical volumes in the specified volume group (determine with `vgscan`): + +`sudo vgchange {{[-a|--activate]}} {{y|n}} {{volume_group}}` diff --git a/pages/linux/vgcreate.md b/pages/linux/vgcreate.md index 0302fe2eea71b9..55a0387d34b048 100644 --- a/pages/linux/vgcreate.md +++ b/pages/linux/vgcreate.md @@ -1,6 +1,8 @@ # vgcreate > Create volume groups combining multiple mass-storage devices. +> See also: `lvm`. +> More information: . - Create a new volume group called vg1 using the `/dev/sda1` device: diff --git a/pages/linux/vgdisplay.md b/pages/linux/vgdisplay.md new file mode 100644 index 00000000000000..51b7c7e7d1b1ea --- /dev/null +++ b/pages/linux/vgdisplay.md @@ -0,0 +1,13 @@ +# vgdisplay + +> Display information about Logical Volume Manager (LVM) volume groups. +> See also: `lvm`. +> More information: . + +- Display information about all volume groups: + +`sudo vgdisplay` + +- Display information about volume group vg1: + +`sudo vgdisplay {{vg1}}` diff --git a/pages/linux/vgextend.md b/pages/linux/vgextend.md new file mode 100644 index 00000000000000..e4038333931aec --- /dev/null +++ b/pages/linux/vgextend.md @@ -0,0 +1,12 @@ +# vgextend + +> Add one or more physical volumes to an existing volume group. +> More information: . + +- Add a physical volume to an existing volume group: + +`vgextend {{vg1}} {{/dev/sda1}}` + +- Add multiple physical volumes to an existing volume group: + +`vgextend {{vg1}} {{/dev/sda1 /dev/sda2 ...}}` diff --git a/pages/linux/vgremove.md b/pages/linux/vgremove.md new file mode 100644 index 00000000000000..0b855e8a0a839e --- /dev/null +++ b/pages/linux/vgremove.md @@ -0,0 +1,24 @@ +# vgremove + +> Remove volume group(s) in LVM. +> More information: . + +- Remove a volume group with confirmation: + +`vgremove {{volume_group}}` + +- Forcefully remove a volume group without confirmation: + +`vgremove {{[-f|--force]}} {{volume_group}}` + +- Set the debug level for detailed logging to level 2, (repeat `--debug` up to 6 times to increase the level): + +`vgremove {{[-d|--debug]}} {{[-d|--debug]}} {{volume_group}}` + +- Use a specific config setting to override defaults: + +`vgremove --config '{{global/locking_type=1}}' {{volume_group}}` + +- Display help: + +`vgremove {{[-h|--help]}}` diff --git a/pages/linux/vgs.md b/pages/linux/vgs.md index a8ac375c500d10..a75f64e66039ad 100644 --- a/pages/linux/vgs.md +++ b/pages/linux/vgs.md @@ -1,7 +1,8 @@ # vgs -> Display information about LVM volume groups. -> More information: . +> Display information about volume groups. +> See also: `lvm`. +> More information: . - Display information about volume groups: @@ -9,19 +10,19 @@ - Display all volume groups: -`vgs -a` +`vgs {{[-a|--all]}}` - Change default display to show more details: -`vgs -v` +`vgs {{[-v|--verbose]}}` - Display only specific fields: -`vgs -o {{field_name_1}},{{field_name_2}}` +`vgs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}` - Append field to default display: -`vgs -o +{{field_name}}` +`vgs {{[-o|--options]}} +{{field_name}}` - Suppress heading line: diff --git a/pages/linux/vgscan.md b/pages/linux/vgscan.md new file mode 100644 index 00000000000000..9849a09c9889a4 --- /dev/null +++ b/pages/linux/vgscan.md @@ -0,0 +1,13 @@ +# vgscan + +> Scan for volume groups on all supported Logical Volume Manager (LVM) block devices. +> See also: `lvm`, `vgchange`. +> More information: . + +- Scan for volume groups and print information about each group found: + +`sudo vgscan` + +- Scan for volume groups and add the special files in `/dev`, if they don't already exist, needed to access the logical volumes in the found groups: + +`sudo vgscan --mknodes` diff --git a/pages/linux/viewnior.md b/pages/linux/viewnior.md index 31e0926c11d2f8..ae654f533e72ed 100644 --- a/pages/linux/viewnior.md +++ b/pages/linux/viewnior.md @@ -1,6 +1,7 @@ # viewnior > Simple and elegant image viewer. +> More information: . - View an image: diff --git a/pages/linux/vigr.md b/pages/linux/vigr.md new file mode 100644 index 00000000000000..590098525767bf --- /dev/null +++ b/pages/linux/vigr.md @@ -0,0 +1,12 @@ +# vigr + +> Edit the group file. +> More information: . + +- Edit the group file: + +`vigr` + +- Display version: + +`vigr {{[-V|--version]}}` diff --git a/pages/linux/vipw.md b/pages/linux/vipw.md index efd27f32a50c3f..9c937d5a99ed07 100644 --- a/pages/linux/vipw.md +++ b/pages/linux/vipw.md @@ -1,12 +1,12 @@ # vipw > Edit the password file. -> More information: . +> More information: . - Edit the password file: `vipw` -- Display the current version of `vipw`: +- Display version: -`vipw --version` +`vipw {{[-V|--version]}}` diff --git a/pages/linux/virt-manager.md b/pages/linux/virt-manager.md new file mode 100644 index 00000000000000..2a2578a160b901 --- /dev/null +++ b/pages/linux/virt-manager.md @@ -0,0 +1,36 @@ +# virt-manager + +> A desktop user interface for managing KVM and Xen virtual machines and LXC containers. +> More information: . + +- Launch the GUI: + +`virt-manager` + +- Connect to a hypervisor: + +`virt-manager --connect {{hypervisor_uri}}` + +- Don't fork virt-manager process into background on startup: + +`virt-manager --no-fork` + +- Print debug output: + +`virt-manager --debug` + +- Open the "New VM" wizard: + +`virt-manager --show-domain-creator` + +- Show domain details window for a specific virtual machine/container: + +`virt-manager --show-domain-editor {{name|id|uuid}}` + +- Show domain performance window for a specific virtual machine/container: + +`virt-manager --show-domain-performance {{name|id|uuid}}` + +- Show connection details window: + +`virt-manager --show-host-summary` diff --git a/pages/linux/virt-viewer.md b/pages/linux/virt-viewer.md new file mode 100644 index 00000000000000..2546e864e66028 --- /dev/null +++ b/pages/linux/virt-viewer.md @@ -0,0 +1,26 @@ +# virt-viewer + +> Minimal graphical interface for a virtual machine (VM). +> Note: 'domain' refers to the name, UUID or ID for the existing VMs. +> See also: `virsh`. +> More information: . + +- Launch `virt-viewer` with a prompt to select running virtual machines: + +`virt-viewer` + +- Launch `virt-viewer` for a specific virtual machine by ID, UUID or name: + +`virt-viewer "{{domain}}"` + +- Wait for a virtual machine to start and automatically reconnect if it shutdown and restarts: + +`virt-viewer --reconnect --wait "{{domain}}"` + +- Connect to a specific remote virtual machine over TLS: + +`virt-viewer --connect "xen//{{url}}" "{{domain}}"` + +- Connect to a specific remote virtual machine over SSH: + +`virt-viewer --connect "qemu+ssh//{{username}}@{{url}}/system" "{{domain}}"` diff --git a/pages/linux/virt-what.md b/pages/linux/virt-what.md new file mode 100644 index 00000000000000..ea321e59a9637b --- /dev/null +++ b/pages/linux/virt-what.md @@ -0,0 +1,17 @@ +# virt-what + +> Shell script that detects if you are running in a virtual machine. +> Outputs a specific code for a virtual machine if detected. +> More information: . + +- Detect if you are running in a virtual machine: + +`virt-what` + +- Log output of `virt-what` into a file: + +`virt-what > {{path/to/file}}` + +- Display version: + +`virt-what --version` diff --git a/pages/linux/virt-xml-validate.md b/pages/linux/virt-xml-validate.md new file mode 100644 index 00000000000000..bf474a41362ff4 --- /dev/null +++ b/pages/linux/virt-xml-validate.md @@ -0,0 +1,13 @@ +# virt-xml-validate + +> Validate `libvirt` XML files against a schema. +> If a schema is not specified, the schema is determined by the root element in the XML file. +> More information: . + +- Validate an XML file against a specific schema: + +`virt-xml-validate {{path/to/file.xml}} {{schema}}` + +- Validate the domain XML against the domain schema: + +`virt-xml-validate {{path/to/domain.xml}} domain` diff --git a/pages/linux/virt-xml.md b/pages/linux/virt-xml.md new file mode 100644 index 00000000000000..ea71dfba3b9726 --- /dev/null +++ b/pages/linux/virt-xml.md @@ -0,0 +1,30 @@ +# virt-xml + +> Edit libvirt Domain XML files with explicit command-line options. +> Note: 'domain' refers to the name, UUID or ID for the existing VMs. +> See also: `virsh`. +> More information: . + +- List all the suboptions for a specific option: + +`virt-xml --{{option}}=?` + +- List all the suboptions for disk, network, and boot: + +`virt-xml --disk=? --network=? --boot=?` + +- Edit a value for a specific domain: + +`virt-xml {{domain}} --edit --{{option}} {{suboption}}={{new_value}}` + +- Change the description for a specific domain: + +`virt-xml {{domain}} --edit --metadata description="{{new_description}}"` + +- Enable/Disable the boot device menu for a specific domain: + +`virt-xml {{domain}} --edit --boot bootmenu={{on|off}}` + +- Attach host USB hub to a running VM (run `lsusb` to see a list of USB devices with their IDs): + +`virt-xml {{domain}} --update --add-device --hostdev {{bus}}.{{device}}` diff --git a/pages/linux/vivaldi-stable.md b/pages/linux/vivaldi-stable.md new file mode 100644 index 00000000000000..8b31ec4328bd1b --- /dev/null +++ b/pages/linux/vivaldi-stable.md @@ -0,0 +1,8 @@ +# vivaldi-stable + +> This command is an alias of `chromium`. +> More information: . + +- View documentation for the original command: + +`tldr chromium` diff --git a/pages/linux/vkpurge.md b/pages/linux/vkpurge.md new file mode 100644 index 00000000000000..ae77de4fb0226a --- /dev/null +++ b/pages/linux/vkpurge.md @@ -0,0 +1,17 @@ +# vkpurge + +> List or remove old kernel versions left behind by `xbps`. +> The `version` arguments support shell globs. +> More information: . + +- List all removable kernel versions (or those matching `version` if the argument is specified): + +`vkpurge list {{version}}` + +- Remove all unused kernels: + +`vkpurge rm all` + +- Remove kernel versions matching `version`: + +`vkpurge rm {{version}}` diff --git a/pages/linux/vlock.md b/pages/linux/vlock.md new file mode 100644 index 00000000000000..07f1a8fc0928a3 --- /dev/null +++ b/pages/linux/vlock.md @@ -0,0 +1,24 @@ +# vlock + +> Lock virtual console. +> More information: . + +- Lock current virtual console session: + +`vlock` + +- Lock current virtual console session via flag: + +`vlock {{[-c|--current]}}` + +- Lock all virtual console sessions: + +`vlock {{[-a|--all]}}` + +- Display help: + +`vlock {{[-h|--help]}}` + +- Display version: + +`vlock {{[-v|--version]}}` diff --git a/pages/linux/vmstat.md b/pages/linux/vmstat.md index 00d74e6973756c..e138b485c2e655 100644 --- a/pages/linux/vmstat.md +++ b/pages/linux/vmstat.md @@ -1,7 +1,7 @@ # vmstat > Report information about processes, memory, paging, block IO, traps, disks and CPU activity. -> More information: . +> More information: . - Display virtual memory statistics: diff --git a/pages/linux/vmware-checkvm.md b/pages/linux/vmware-checkvm.md index 681fcbd442c378..7f79ad240a91e5 100644 --- a/pages/linux/vmware-checkvm.md +++ b/pages/linux/vmware-checkvm.md @@ -1,11 +1,12 @@ # vmware-checkvm -> Checks to see if the current host is a VMWare VM or not. +> Check if the current host is a VMware VM or not. +> More information: . -- Return the current VMWare software version (exit status determines whether the system is a VM or not): +- Return the current VMware software version (exit status determines whether the system is a VM or not): `vmware-checkvm` -- Return the VMWare hardware version: +- Return the VMware hardware version: `vmware-checkvm -h` diff --git a/pages/linux/vncserver.md b/pages/linux/vncserver.md index 22efe53e455684..c1b6cc715499b6 100644 --- a/pages/linux/vncserver.md +++ b/pages/linux/vncserver.md @@ -1,6 +1,7 @@ # vncserver -> Launches a VNC (Virtual Network Computing) desktop. +> Launch a VNC (Virtual Network Computing) desktop. +> More information: . - Launch a VNC Server on next available display: diff --git a/pages/linux/vncviewer.md b/pages/linux/vncviewer.md index 6e2817ad2b7616..9c884a746a1cc7 100644 --- a/pages/linux/vncviewer.md +++ b/pages/linux/vncviewer.md @@ -1,6 +1,7 @@ # vncviewer > Launches a VNC (Virtual Network Computing) client. +> More information: . - Launch a VNC client which connects to a host on a given display: diff --git a/pages/linux/vnstat.md b/pages/linux/vnstat.md index c6ceb1ab31f00c..7c655b4029869a 100644 --- a/pages/linux/vnstat.md +++ b/pages/linux/vnstat.md @@ -1,6 +1,7 @@ # vnstat > A console-based network traffic monitor. +> More information: . - Display traffic summary for all interfaces: @@ -8,16 +9,16 @@ - Display traffic summary for a specific network interface: -`vnstat -i {{eth0}}` +`vnstat {{[-i|--iface]}} {{network_interface}}` - Display live stats for a specific network interface: -`vnstat -l -i {{eth0}}` +`vnstat {{[-l|--live]}} {{[-i|--iface]}} {{network_interface}}` - Show traffic statistics on an hourly basis for the last 24 hours using a bar graph: -`vnstat -hg` +`vnstat {{[-hg|--hoursgraph]}}` - Measure and show average traffic for 30 seconds: -`vnstat -tr {{30}}` +`vnstat {{[-tr|--traffic]}} {{30}}` diff --git a/pages/linux/vnstati.md b/pages/linux/vnstati.md new file mode 100644 index 00000000000000..88e35b4638b1f6 --- /dev/null +++ b/pages/linux/vnstati.md @@ -0,0 +1,20 @@ +# vnstati + +> PNG image output support for vnStat. +> More information: . + +- Output a summary of the last 2: months, days, and all-time: + +`vnstati --summary --iface {{network_interface}} --output {{path/to/output.png}}` + +- Output the 10 most traffic-intensive days of all time: + +`vnstati --top 10 --iface {{network_interface}} --output {{path/to/output.png}}` + +- Output monthly traffic statistics from the last 12 months: + +`vnstati --months --iface {{network_interface}} --output {{path/to/output.png}}` + +- Output hourly traffic statistics from the last 24 hours: + +`vnstati --hours --iface {{network_interface}} --output {{path/to/output.png}}` diff --git a/pages/linux/vpnc.md b/pages/linux/vpnc.md index a632303aa9db56..2e4dc4e354020c 100644 --- a/pages/linux/vpnc.md +++ b/pages/linux/vpnc.md @@ -1,6 +1,7 @@ # vpnc > A VPN client for the Cisco 3000 VPN Concentrator. +> More information: . - Connect with a defined configuration file: diff --git a/pages/linux/vrms.md b/pages/linux/vrms.md index 16b37aede6584e..196cc9da2de389 100644 --- a/pages/linux/vrms.md +++ b/pages/linux/vrms.md @@ -1,7 +1,7 @@ # vrms > Report non-free packages installed on Debian-based OSes. -> More information: . +> More information: . - List non-free and contrib packages (and their description): diff --git a/pages/linux/vso.md b/pages/linux/vso.md new file mode 100644 index 00000000000000..db2a456dcba1a5 --- /dev/null +++ b/pages/linux/vso.md @@ -0,0 +1,36 @@ +# vso + +> Package manager, system updater and a task automator for Vanilla OS. +> More information: . + +- Check for system updates to the host system: + +`vso sys-upgrade check` + +- Upgrade the host system now: + +`vso sys-upgrade upgrade --now` + +- Initialize the Pico subsystem (used for package management): + +`vso pico-init` + +- Install applications inside the subsystem: + +`vso install {{package1 package2 ...}}` + +- Remove applications from the subsystem: + +`vso remove {{package1 package2 ...}}` + +- Enter the subsystem's shell: + +`vso shell` + +- Run an application from the subsystem: + +`vso run {{package}}` + +- Display VSO configuration: + +`vso config show` diff --git a/pages/linux/vzdump.md b/pages/linux/vzdump.md new file mode 100644 index 00000000000000..d26a622c074d98 --- /dev/null +++ b/pages/linux/vzdump.md @@ -0,0 +1,28 @@ +# vzdump + +> Backup Utility for virtual machines and containers. +> More information: . + +- Dump a guest virtual machine into the default dump directory (usually `/var/lib/vz/dump/`), excluding snapshots: + +`vzdump {{vm_id}}` + +- Back up the guest virtual machines with the IDs 101, 102, and 103: + +`vzdump {{101 102 103}}` + +- Dump a guest virtual machine using a specific mode: + +`vzdump {{vm_id}} --mode {{suspend|snapshot}}` + +- Back up all guest systems and send an notification email to the root and admin users: + +`vzdump --all --mode {{suspend}} --mailto {{root}} --mailto {{admin}}` + +- Use snapshot mode (no downtime required) and a non-default dump directory: + +`vzdump {{vm_id}} --dumpdir {{path/to/directory}} --mode {{snapshot}}` + +- Back up all guest virtual machines excluding the IDs 101 and 102: + +`vzdump --mode {{suspend}} --exclude {{101, 102}}` diff --git a/pages/linux/w.md b/pages/linux/w.md deleted file mode 100644 index 7abbb0a1419903..00000000000000 --- a/pages/linux/w.md +++ /dev/null @@ -1,20 +0,0 @@ -# w - -> Display who is logged in and their processes. -> More information: . - -- Display information about all users who are currently logged in: - -`w` - -- Display information about a specific user: - -`w {{user}}` - -- Display information without including the header: - -`w --no-header` - -- Display information without including the login, JCPU and PCPU columns: - -`w --short` diff --git a/pages/linux/waitpid.md b/pages/linux/waitpid.md new file mode 100644 index 00000000000000..68262a88667b04 --- /dev/null +++ b/pages/linux/waitpid.md @@ -0,0 +1,25 @@ +# waitpid + +> Wait for the termination of arbitrary processes. +> See also: `wait`. +> More information: . + +- Sleep until all processes whose PIDs have been specified have exited: + +`waitpid {{pid1 pid2 ...}}` + +- Sleep for at most `n` seconds: + +`waitpid {{[-t|--timeout]}} {{n}} {{pid1 pid2 ...}}` + +- Do not error if specified PIDs have already exited: + +`waitpid {{[-e|--exited]}} {{pid1 pid2 ...}}` + +- Sleep until `n` of the specified processes have exited: + +`waitpid {{[-c|--count]}} {{n}} {{pid1 pid2 ...}}` + +- Display help: + +`waitpid {{[-h|--help]}}` diff --git a/pages/linux/wajig.md b/pages/linux/wajig.md new file mode 100644 index 00000000000000..4dc6da375cba99 --- /dev/null +++ b/pages/linux/wajig.md @@ -0,0 +1,36 @@ +# wajig + +> Simplified all-in-one-place system support tool for Debian-based systems. +> More information: . + +- Update the list of available packages and versions: + +`wajig update` + +- Install a package, or update it to the latest available version: + +`wajig install {{package}}` + +- Remove a package and its configuration files: + +`wajig purge {{package}}` + +- Perform an update and then a dist-upgrade: + +`wajig daily-upgrade` + +- Display the sizes of installed packages: + +`wajig sizes` + +- List the version and distribution for all installed packages: + +`wajig versions` + +- List versions of upgradable packages: + +`wajig toupgrade` + +- Display packages which have some form of dependency on the given package: + +`wajig dependents {{package}}` diff --git a/pages/linux/wal-telegram.md b/pages/linux/wal-telegram.md new file mode 100644 index 00000000000000..db4e2846f238ba --- /dev/null +++ b/pages/linux/wal-telegram.md @@ -0,0 +1,28 @@ +# wal-telegram + +> Generate themes for Telegram based the colors generated by pywal/wal. +> More information: . + +- Generate with wal's palette and the current wallpaper (feh only): + +`wal-telegram` + +- Generate with wal's palette and a specified background image: + +`wal-telegram --background={{path/to/image}}` + +- Generate with wal's palette and a colored background based on the palette: + +`wal-telegram --tiled` + +- Apply a gaussian blur on the background image: + +`wal-telegram -g` + +- Specify a location for the generated theme (default is `$XDG_CACHE_HOME/wal-telegram` or `~/.cache/wal-telegram`): + +`wal-telegram --destination={{path/to/destination}}` + +- Restart the telegram app after generation: + +`wal-telegram --restart` diff --git a/pages/linux/wall.md b/pages/linux/wall.md index 65ac05a9e529bb..676a33e13c7565 100644 --- a/pages/linux/wall.md +++ b/pages/linux/wall.md @@ -1,10 +1,15 @@ # wall > Write a message on the terminals of users currently logged in. +> More information: . - Send a message: -`echo "{{message}}" | wall` +`wall {{message}}` + +- Send a message to users that belong to a specific group: + +`wall {{[-g|--group]}} {{group_name}} {{message}}` - Send a message from a file: @@ -12,4 +17,4 @@ - Send a message with timeout (default 300): -`wall -t {{seconds}} {{file}}` +`wall {{[-t|--timeout]}} {{seconds}} {{file}}` diff --git a/pages/linux/wami.md b/pages/linux/wami.md new file mode 100644 index 00000000000000..0049331e72f0f0 --- /dev/null +++ b/pages/linux/wami.md @@ -0,0 +1,20 @@ +# wami + +> An open-source and easy-to-use tool that recommends suitable programs for tasks. +> More information: . + +- Find expanded results in all categories from the lake and sort them in the specified order: + +`wami {{[-a|--show-all]}} {{[-S|--sort]}} {{asc|desc}} {{[-s|--search-all]}} {{search_string}}` + +- Search GitHub to find expanded results, sorted in descending order: + +`wami {{[-a|--show-all]}} {{[-S|--sort]}} desc --github {{search_string}}` + +- Search GitHub for topics that match the search string: + +`wami --list-topics {{search_string}}` + +- Search the lake for a tool used in pentests to query for default credentials and sort the results in descending order: + +`wami {{[-S|--sort]}} desc {{[-s|--search-all]}} pentest credential default` diff --git a/pages/linux/warpd.md b/pages/linux/warpd.md new file mode 100644 index 00000000000000..50c118b3af5657 --- /dev/null +++ b/pages/linux/warpd.md @@ -0,0 +1,32 @@ +# warpd + +> A modal keyboard driven pointer manipulation program. +> More information: . + +- Run warpd in normal mode: + +`warpd --normal` + +- Run warpd in hint mode: + +`warpd --hint` + +- Move cursor left: + +`` + +- Move cursor down: + +`` + +- Move cursor up: + +`` + +- Move cursor right: + +`` + +- Emulate left click: + +`` diff --git a/pages/linux/watch.md b/pages/linux/watch.md deleted file mode 100644 index f5a1e4958b82a8..00000000000000 --- a/pages/linux/watch.md +++ /dev/null @@ -1,15 +0,0 @@ -# watch - -> Execute a command repeatedly, and monitor the output in full-screen mode. - -- Monitor files in the current directory: - -`watch {{ls}}` - -- Monitor disk space and highlight the changes: - -`watch -d {{df}}` - -- Monitor "node" processes, refreshing every 3 seconds: - -`watch -n {{3}} "{{ps aux | grep node}}"` diff --git a/pages/linux/waydroid.md b/pages/linux/waydroid.md new file mode 100644 index 00000000000000..89ee01a32e7a4e --- /dev/null +++ b/pages/linux/waydroid.md @@ -0,0 +1,36 @@ +# waydroid + +> A container-based approach to boot a full Android system on a regular Linux system like Ubuntu. +> More information: . + +- Start Waydroid: + +`waydroid` + +- Initialize Waydroid (required on first run or after reinstalling Android): + +`sudo waydroid init` + +- Install a new Android app from a file: + +`waydroid app install {{path/to/file.apk}}` + +- Launch an Android app by its package name: + +`waydroid app launch {{com.example.app}}` + +- Start or stop the Waydroid session: + +`waydroid session {{start|stop}}` + +- Manage the Waydroid container: + +`sudo waydroid container {{start|stop|restart|freeze|unfreeze}}` + +- Open Waydroid shell: + +`sudo waydroid shell` + +- Adjust Waydroid window dimensions: + +`waydroid prop set persist.waydroid.{{width|height}} {{number}}` diff --git a/pages/linux/waypipe.md b/pages/linux/waypipe.md new file mode 100644 index 00000000000000..8138ac65297530 --- /dev/null +++ b/pages/linux/waypipe.md @@ -0,0 +1,20 @@ +# waypipe + +> Remotely run graphical applications under a Wayland compositor. +> More information: . + +- Run a graphical program remotely and display it locally: + +`waypipe ssh {{user}}@{{server}} {{program}}` + +- Open an SSH tunnel to run any program remotely and display it locally: + +`waypipe ssh {{user}}@{{server}}` + +- Skip testing for Vulkan support: + +`waypipe --test-skip-vulkan ssh {{user}}@{{server}} {{program}}` + +- Display help: + +`waypipe {{[-h|--help]}}` diff --git a/pages/linux/wdctl.md b/pages/linux/wdctl.md new file mode 100644 index 00000000000000..d895db979fff50 --- /dev/null +++ b/pages/linux/wdctl.md @@ -0,0 +1,16 @@ +# wdctl + +> Show the hardware watchdog status. +> More information: . + +- Display the watchdog status: + +`wdctl` + +- Display the watchdog status in a single line in key-value pairs: + +`wdctl {{[-O|--oneline]}}` + +- Display only specific watchdog flags (list is driver specific): + +`wdctl {{[-f|--flags]}} {{flag_list}}` diff --git a/pages/linux/wf-recorder.md b/pages/linux/wf-recorder.md new file mode 100644 index 00000000000000..d6144cd4f024aa --- /dev/null +++ b/pages/linux/wf-recorder.md @@ -0,0 +1,17 @@ +# wf-recorder + +> Screencast for Wayland optionally with audio. +> By default you need to end the process with ``. +> More information: . + +- Record storing to an MP4 file: + +`wf-recorder {{[-f|--file]}} {{output.mp4}}` + +- Record including audio, both with mic and system sounds: + +`wf-recorder {{[-a|--audio]}} {{[-f|--file]}} /{{path/to/file_with_audio.webm}}` + +- Select and record a portion of the screen using `slurp`, outputting to default `recording.mp4`: + +`wf-recorder {{[-g|--geometry]}} "$(slurp)"` diff --git a/pages/linux/wg-quick.md b/pages/linux/wg-quick.md new file mode 100644 index 00000000000000..81717cb17156c2 --- /dev/null +++ b/pages/linux/wg-quick.md @@ -0,0 +1,12 @@ +# wg-quick + +> Quickly set up WireGuard tunnels based on config files. +> More information: . + +- Set up a VPN tunnel: + +`wg-quick up {{interface_name}}` + +- Delete a VPN tunnel: + +`wg-quick down {{interface_name}}` diff --git a/pages/linux/wg.md b/pages/linux/wg.md new file mode 100644 index 00000000000000..75d3c4f8720ddc --- /dev/null +++ b/pages/linux/wg.md @@ -0,0 +1,24 @@ +# wg + +> Manage the configuration of WireGuard interfaces. +> More information: . + +- Check status of currently active interfaces: + +`sudo wg` + +- Generate a new private key: + +`wg genkey` + +- Generate a public key from a private key: + +`wg pubkey < {{path/to/private_key}} > {{path/to/public_key}}` + +- Generate a public and private key: + +`wg genkey | tee {{path/to/private_key}} | wg pubkey > {{path/to/public_key}}` + +- Show the current configuration of a wireguard interface: + +`sudo wg showconf {{wg0}}` diff --git a/pages/linux/whatis.md b/pages/linux/whatis.md index 762275952280e1..aab9708ec72d1e 100644 --- a/pages/linux/whatis.md +++ b/pages/linux/whatis.md @@ -1,6 +1,8 @@ # whatis > Display one-line descriptions from manual pages. +> See also: `whereis`, `which`, `type`. +> More information: . - Display a description from a man page: @@ -14,6 +16,10 @@ `whatis --wildcard {{net*}}` -- Search man page descriptions with a regular expression: +- Search man page descriptions with a `regex`: `whatis --regex '{{wish[0-9]\.[0-9]}}'` + +- Display descriptions in a specific language: + +`whatis --locale={{en}} {{command}}` diff --git a/pages/linux/whereis.md b/pages/linux/whereis.md index 304f23016aed76..0c22356bd0e04c 100644 --- a/pages/linux/whereis.md +++ b/pages/linux/whereis.md @@ -1,27 +1,29 @@ # whereis > Locate the binary, source, and manual page files for a command. +> See also: `which`, `whatis`, `type`. +> More information: . -- Locate binary, source and man pages for ssh: +- Locate binary, source and man pages for SSH: `whereis {{ssh}}` -- Locate binary and man pages for ls: +- Locate [b]inary and [m]an pages for ls: `whereis -bm {{ls}}` -- Locate source of gcc and man pages for Git: +- Locate [s]ource of gcc and [m]an pages for Git: `whereis -s {{gcc}} -m {{git}}` -- Locate binaries for gcc in /usr/bin/ only: +- Locate [b]inaries for gcc in `/usr/bin/` only: `whereis -b -B {{/usr/bin/}} -f {{gcc}}` -- Locate unusual binaries (those that have more or less than one binary on the system): +- Locate [u]nusual binaries (those that have more or less than one binary on the system): `whereis -u *` -- Locate binaries that have unusual manual entries (binaries that have more or less than one manual installed): +- Locate binaries that have [u]nusual [m]anual entries (binaries that have more or less than one manual installed): `whereis -u -m *` diff --git a/pages/linux/whiptail.md b/pages/linux/whiptail.md index cf3f9843edc4bd..56910c7620f148 100644 --- a/pages/linux/whiptail.md +++ b/pages/linux/whiptail.md @@ -1,6 +1,8 @@ # whiptail > Display text-based dialog boxes from shell scripts. +> See also: `dialog`, `gum`. +> More information: . - Display a simple message: @@ -10,7 +12,7 @@ `whiptail --title "{{title}}" --yesno "{{message}}" {{height_in_chars}} {{width_in_chars}}` -- Customise the text on the yes / no buttons: +- Customise the text on the yes/no buttons: `whiptail --title "{{title}}" --yes-button "{{text}}" --no-button "{{text}}" --yesno "{{message}}" {{height_in_chars}} {{width_in_chars}}` @@ -24,4 +26,4 @@ - Display a multiple-choice menu: -`{{result_variable_name}}=$(whiptail --title "{{title}}" --menu "{{message}}" {{height_in_chars}} {{width_in_chars}} {{menu_display_height}} "{{value_1}}" "{{display_text_1}}" "{{value_n}}" "{{display_text_n}}" ..... 3>&1 1>&2 2>&3)` +`{{result_variable_name}}=$(whiptail --title "{{title}}" --menu "{{message}}" {{height_in_chars}} {{width_in_chars}} {{menu_display_height}} {{"value_1" "display_text_1" "value_2" "display_text_2" ...}} 3>&1 1>&2 2>&3)` diff --git a/pages/linux/wifi-menu.md b/pages/linux/wifi-menu.md new file mode 100644 index 00000000000000..9cf2a074cf3e09 --- /dev/null +++ b/pages/linux/wifi-menu.md @@ -0,0 +1,16 @@ +# wifi-menu + +> Interactively connect to a wireless network. +> More information: . + +- Set up a wireless connection interactively: + +`wifi-menu` + +- Interactively set up a connection to a network and obscure the password: + +`wifi-menu {{[-o|--obscure]}}` + +- Display help: + +`wifi-menu {{[-h|--help]}}` diff --git a/pages/linux/wine.md b/pages/linux/wine.md index a0508ca1a5435c..b652552dd69688 100644 --- a/pages/linux/wine.md +++ b/pages/linux/wine.md @@ -1,20 +1,28 @@ # wine -> Run Windows programs on Unix. -> More information: . +> Run Windows executables on Unix-based systems. +> More information: . -- Run ipconfig.exe program: +- Run a specific program inside the `wine` environment: -`wine {{ipconfig}} {{/all}}` +`wine {{command}}` -- Run cmd.exe in background: +- Run a specific program in background: -`wine start {{cmd}}` +`wine start {{command}}` -- Run Windows-like Package Manager: +- Install/uninstall an MSI package: -`wine uninstaller` +`wine msiexec /{{i|x}} {{path/to/package.msi}}` -- Install MSI packages: +- Run `File Explorer`, `Notepad`, or `WordPad`: -`wine msiexec /i {{package}}` +`wine {{explorer|notepad|write}}` + +- Run `Registry Editor`, `Control Panel`, or `Task Manager`: + +`wine {{regedit|control|taskmgr}}` + +- Run the configuration tool: + +`wine winecfg` diff --git a/pages/linux/winetricks.md b/pages/linux/winetricks.md new file mode 100644 index 00000000000000..182f6788be32d3 --- /dev/null +++ b/pages/linux/winetricks.md @@ -0,0 +1,16 @@ +# winetricks + +> Manage Wine virtual Windows environments. +> More information: . + +- Start a graphical setup at the default Wine location: + +`winetricks` + +- Specify a custom Wine directory to run Winetricks in: + +`WINEPREFIX={{path/to/wine_directory}} winetricks` + +- Install a Windows DLL or component to the default Wine directory: + +`winetricks {{package}}` diff --git a/pages/linux/wipefs.md b/pages/linux/wipefs.md index b958b9f772d987..61724ce05c8794 100644 --- a/pages/linux/wipefs.md +++ b/pages/linux/wipefs.md @@ -1,19 +1,24 @@ # wipefs > Wipe filesystem, raid, or partition-table signatures from a device. +> More information: . - Display signatures for specified device: `sudo wipefs {{/dev/sdX}}` -- Wipe all available signatures for specified device: +- Wipe all available signature types for a specific device with no recursion into partitions: -`sudo wipefs --all {{/dev/sdX}}` +`sudo wipefs {{[-a|--all]}} {{/dev/sdX}}` + +- Wipe all available signature types for the device and partitions using a glob pattern: + +`sudo wipefs {{[-a|--all]}} {{/dev/sdX}}*` - Perform dry run: -`sudo wipefs --all --no-act {{/dev/sdX}}` +`sudo wipefs {{[-a|--all]}} {{[-n|--no-act]}} {{/dev/sdX}}` - Force wipe, even if the filesystem is mounted: -`sudo wipefs --all --force {{/dev/sdX}}` +`sudo wipefs {{[-a|--all]}} {{[-f|--force]}} {{/dev/sdX}}` diff --git a/pages/linux/wireplumber.md b/pages/linux/wireplumber.md new file mode 100644 index 00000000000000..3c7448249ca63a --- /dev/null +++ b/pages/linux/wireplumber.md @@ -0,0 +1,25 @@ +# wireplumber + +> A modular session/policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API. +> See also: `wpctl`, `pipewire`. +> More information: . + +- Make WirePlumber start with the user session immediately (for systemd systems): + +`systemctl --user --now enable wireplumber` + +- Run WirePlumber, after `pipewire` is started (for non-systemd systems): + +`wireplumber` + +- Specify a different context configuration file: + +`wireplumber --config-file {{path/to/file}}` + +- Display help: + +`wireplumber --help` + +- Display version: + +`wireplumber --version` diff --git a/pages/linux/wl-copy.md b/pages/linux/wl-copy.md new file mode 100644 index 00000000000000..397666966c9856 --- /dev/null +++ b/pages/linux/wl-copy.md @@ -0,0 +1,25 @@ +# wl-copy + +> Clear and copy to Wayland clipboard. +> See also: `wl-paste`, `xclip`. +> More information: . + +- Copy the text to the clipboard: + +`wl-copy "{{text}}"` + +- Pipe the command (`ls`) output to the clipboard: + +`{{ls}} | wl-copy` + +- Copy for only one paste and then clear it: + +`wl-copy --paste-once "{{text}}"` + +- Copy an image: + +`wl-copy < {{path/to/image}}` + +- Clear the clipboard: + +`wl-copy --clear` diff --git a/pages/linux/wl-paste.md b/pages/linux/wl-paste.md new file mode 100644 index 00000000000000..0e2faf9a30ac14 --- /dev/null +++ b/pages/linux/wl-paste.md @@ -0,0 +1,21 @@ +# wl-paste + +> Paste content in Wayland clipboard. +> See also: `wl-copy`, `xclip`. +> More information: . + +- Paste the contents of the clipboard: + +`wl-paste` + +- Paste the contents of the primary clipboard (highlighted text): + +`wl-paste --primary` + +- Write the contents of the clipboard to a file: + +`wl-paste > {{path/to/file}}` + +- Pipe the contents of the clipboard to a command: + +`wl-paste | {{command}}` diff --git a/pages/linux/wmctrl.md b/pages/linux/wmctrl.md index d320a08941a2b5..d03170117afa7c 100644 --- a/pages/linux/wmctrl.md +++ b/pages/linux/wmctrl.md @@ -1,6 +1,7 @@ # wmctrl > CLI for X Window Manager. +> More information: . - List all windows, managed by the window manager: @@ -22,6 +23,6 @@ `wmctrl -r {{window_title}} -b toggle,fullscreen` -- Select a window a move it to a workspace: +- Select a window and move it to a workspace: `wmctrl -r {{window_title}} -t {{workspace_number}}` diff --git a/pages/linux/wodim.md b/pages/linux/wodim.md index a82a4910fd0c81..aef2d216d69b5f 100644 --- a/pages/linux/wodim.md +++ b/pages/linux/wodim.md @@ -2,6 +2,7 @@ > Command (aliased as `cdrecord` on some systems) for recording data to CDs or DVDs. > Some invocations of wodim can cause destructive actions, such as erasing all the data on a disc. +> More information: . - Display optical drives available to `wodim`: @@ -9,12 +10,12 @@ - Record ("burn") an audio-only disc: -`wodim dev=/dev/{{optical_drive}} -audio {{track*.cdaudio}}` +`wodim dev={{/dev/optical_drive}} -audio {{track*.cdaudio}}` - Burn a file to a disc, ejecting the disc once done (some recorders require this): -`wodim -eject dev=/dev/{{optical_drive}} -data {{file.iso}}` +`wodim -eject dev={{/dev/optical_drive}} -data {{file.iso}}` - Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession: -`wodim -tao dev=/dev/{{optical_drive}} -data {{file.iso}}` +`wodim -tao dev={{/dev/optical_drive}} -data {{file.iso}}` diff --git a/pages/linux/woeusb.md b/pages/linux/woeusb.md new file mode 100644 index 00000000000000..8cd0589674265f --- /dev/null +++ b/pages/linux/woeusb.md @@ -0,0 +1,12 @@ +# woeusb + +> Windows media creation tool. +> More information: . + +- Format a USB then create a bootable Windows installation drive: + +`woeusb --device {{path/to/windows.iso}} {{/dev/sdX}}` + +- Copy Windows files to an existing partition of a USB storage device and make it bootable, without erasing the current data: + +`woeusb --partition {{path/to/windows.iso}} {{/dev/sdXN}}` diff --git a/pages/linux/wofi.md b/pages/linux/wofi.md new file mode 100644 index 00000000000000..2e9f01a7d7bf34 --- /dev/null +++ b/pages/linux/wofi.md @@ -0,0 +1,16 @@ +# wofi + +> An application launcher for wlroots-based Wayland compositors, similar to `rofi` and `dmenu`. +> More information: . + +- Show the list of apps: + +`wofi {{[-S|--show]}} drun` + +- Show the list of all commands: + +`wofi {{[-S|--show]}} run` + +- Pipe a list of items to `stdin` and print the selected item to `stdout`: + +`printf "{{Choice1\nChoice2\nChoice3}}" | wofi {{[-d|--dmenu]}}` diff --git a/pages/linux/wol.md b/pages/linux/wol.md new file mode 100644 index 00000000000000..ec194b38d8f7f9 --- /dev/null +++ b/pages/linux/wol.md @@ -0,0 +1,28 @@ +# wol + +> Client for sending Wake-on-LAN magic packets. +> More information: . + +- Send a WoL packet to a device: + +`wol {{mac_address}}` + +- Send a WoL packet to a device in another subnet based on its IP: + +`wol {{[-i|--ipaddr]}} {{ip_address}} {{mac_address}}` + +- Send a WoL packet to a device in another subnet based on its hostname: + +`wol {{[-h|--host]}} {{hostname}} {{mac_address}}` + +- Send a WoL packet to a specific port on a host: + +`wol {{[-p|--port]}} {{port_number}} {{mac_address}}` + +- Read hardware addresses, IP addresses/hostnames, optional ports and SecureON passwords from a file: + +`wol {{[-f|--file]}} {{path/to/file}}` + +- Turn on verbose output: + +`wol {{[-v|--verbose]}} {{mac_address}}` diff --git a/pages/linux/wpa_cli.md b/pages/linux/wpa_cli.md index b0ceaeda4a8023..46452c5be7a69c 100644 --- a/pages/linux/wpa_cli.md +++ b/pages/linux/wpa_cli.md @@ -1,27 +1,28 @@ # wpa_cli > Add and configure wlan interfaces. +> More information: . - Scan for available networks: -`wpa_cli scan` +`sudo wpa_cli scan` - Show scan results: -`wpa_cli scan_results` +`sudo wpa_cli scan_results` - Add a network: -`wpa_cli add_network {{number}}` +`sudo wpa_cli {{[add_n|add_network]}} {{number}}` - Set a network's SSID: -`wpa_cli set_network {{number}} ssid "{{SSID}}"` +`sudo wpa_cli {{[set_n|set_network]}} {{number}} ssid "{{SSID}}"` - Enable network: -`wpa_cli enable_network {{number}}` +`sudo wpa_cli {{[en|enable_network]}} {{number}}` - Save config: -`wpa_cli save_config` +`sudo wpa_cli {{[sa|save_config]}}` diff --git a/pages/linux/wpa_passphrase.md b/pages/linux/wpa_passphrase.md index 37836bb8ccaefa..2c19b9e8c8206d 100644 --- a/pages/linux/wpa_passphrase.md +++ b/pages/linux/wpa_passphrase.md @@ -1,8 +1,9 @@ # wpa_passphrase -> Generate a WPA-PSK key from an ASCII passphrase for a given SSID. +> Generate a WPA-PSK key from an ASCII passphrase for a SSID. +> More information: . -- Compute and display the WPA-PSK key for a given SSID reading the passphrase from stdin: +- Compute and display the WPA-PSK key for a given SSID reading the passphrase from `stdin`: `wpa_passphrase {{SSID}}` diff --git a/pages/linux/wpctl.md b/pages/linux/wpctl.md new file mode 100644 index 00000000000000..e02cef7b6222ce --- /dev/null +++ b/pages/linux/wpctl.md @@ -0,0 +1,38 @@ +# wpctl + +> Manage WirePlumber, a session and policy manager for PipeWire. +> Note: You can use the special name `@DEFAULT_SINK@` in place of `id` to operate on the default sink. +> See also: `pw-cli`. +> More information: . + +- List all objects managed by WirePlumber: + +`wpctl status` + +- Print all properties of an object: + +`wpctl inspect {{id}}` + +- Set an object to be the default in its group: + +`wpctl set-default {{id}}` + +- Get the volume of a sink: + +`wpctl get-volume {{id}}` + +- Set the volume of a sink to `n` percent: + +`wpctl set-volume {{id}} {{n}}%` + +- Increase/Decrease the volume of a sink by `n` percent: + +`wpctl set-volume {{id}} {{n}}%{{+|-}}` + +- Increase the volume of a sink by `n` percent but limit the volume below 100%: + +`wpctl set-volume {{[-l|--limit]}} 1 {{id}} {{n}}%-` + +- Mute/Unmute a sink (1 is mute, 0 is unmute): + +`wpctl set-mute {{id}} {{1|0|toggle}}` diff --git a/pages/linux/wpexec.md b/pages/linux/wpexec.md new file mode 100644 index 00000000000000..9d5e33e4dd39c5 --- /dev/null +++ b/pages/linux/wpexec.md @@ -0,0 +1,13 @@ +# wpexec + +> Run WirePlumber Lua scripts. +> See also: `wpctl`, `wireplumber`. +> More information: . + +- Run a WirePlumber script: + +`wpexec {{path/to/file.lua}}` + +- Display help: + +`wpexec --help` diff --git a/pages/linux/write.md b/pages/linux/write.md new file mode 100644 index 00000000000000..2bd55306d28801 --- /dev/null +++ b/pages/linux/write.md @@ -0,0 +1,18 @@ +# write + +> Write a message on the terminal of a specified logged in user (`` to stop writing messages). +> Use the `who` command to find out all terminal_ids of all active users active on the system. +> See also: `mesg`. +> More information: . + +- Send a message to a given user on a given terminal ID: + +`write {{username}} {{terminal_id}}` + +- Send message to "testuser" on terminal `/dev/tty/5`: + +`write {{testuser}} {{tty/5}}` + +- Send message to "johndoe" on pseudo terminal `/dev/pts/5`: + +`write {{johndoe}} {{pts/5}}` diff --git a/pages/linux/wtf.md b/pages/linux/wtf.md index 231150f6b8727b..96445b65431cbf 100644 --- a/pages/linux/wtf.md +++ b/pages/linux/wtf.md @@ -1,7 +1,7 @@ # wtf > Show the expansions of acronyms. -> More information: . +> More information: . - Expand a given acronym: diff --git a/pages/linux/wtype.md b/pages/linux/wtype.md new file mode 100644 index 00000000000000..5c3d57c3c9f10a --- /dev/null +++ b/pages/linux/wtype.md @@ -0,0 +1,29 @@ +# wtype + +> Simulate keyboard input on Wayland, similar to `xdotool type` for X11. +> See also: `ydotool`. +> More information: . + +- Simulate typing text: + +`wtype "{{Hello World}}"` + +- Type a specific key: + +`wtype -k {{Left}}` + +- Press a modifier: + +`wtype -M {{shift|ctrl|...}}` + +- Release a modifier: + +`wtype -m {{ctrl}}` + +- Wait between keystrokes (in milliseconds): + +`wtype -d {{500}} -- "{{text}}"` + +- Read text from `stdin`: + +`echo "{{text}}" | wtype -` diff --git a/pages/linux/x11vnc.md b/pages/linux/x11vnc.md index cf115b29554fc8..7434c8667ac591 100644 --- a/pages/linux/x11vnc.md +++ b/pages/linux/x11vnc.md @@ -2,6 +2,7 @@ > A VNC server that will enable VNC on an existing display server. > By default, the server will automatically terminate once all clients disconnect from it. +> More information: . - Launch a VNC server that allows multiple clients to connect: diff --git a/pages/linux/x86_64.md b/pages/linux/x86_64.md new file mode 100644 index 00000000000000..93fd4827519706 --- /dev/null +++ b/pages/linux/x86_64.md @@ -0,0 +1,7 @@ +# x86_64 + +> This command is an alias of `setarch x86_64`. + +- View documentation for the original command: + +`tldr setarch` diff --git a/pages/linux/xar.md b/pages/linux/xar.md deleted file mode 100644 index 9f9eb37acd6685..00000000000000 --- a/pages/linux/xar.md +++ /dev/null @@ -1,15 +0,0 @@ -# xar - -> Manage .xar archives. - -- Create a xar archive of all files in a given directory: - -`xar -cf {{archive.xar}} {{path/to/directory}}` - -- List the contents of a given xar archive: - -`xar -tf {{archive.xar}}` - -- Extract the contents of a given xar archive to the current directory: - -`xar -xf {{archive.xar}}` diff --git a/pages/linux/xauth.md b/pages/linux/xauth.md new file mode 100644 index 00000000000000..d27edc056f4f2c --- /dev/null +++ b/pages/linux/xauth.md @@ -0,0 +1,36 @@ +# xauth + +> Edit and display the authorization information used in connecting to the X server. +> More information: . + +- Start interactive mode with a specific authority file (defaults to `~/.Xauthority`): + +`xauth -f {{path/to/file}}` + +- Display information about the authority file: + +`xauth info` + +- Display authorization entries for all the displays: + +`xauth list` + +- Add an authorization for a specific display: + +`xauth add {{display_name}} {{protocol_name}} {{key}}` + +- Remove the authorization for a specific display: + +`xauth remove {{display_name}}` + +- Print the authorization entry for the current display to `stdout`: + +`xauth extract - $DISPLAY` + +- Merge the authorization entries from a specific file into the authorization database: + +`cat {{path/to/file}} | xauth merge -` + +- Display help: + +`xauth --help` diff --git a/pages/linux/xbacklight.md b/pages/linux/xbacklight.md index d8053354b08689..45dc7f3993d8df 100644 --- a/pages/linux/xbacklight.md +++ b/pages/linux/xbacklight.md @@ -1,7 +1,7 @@ # xbacklight > Utility to adjust backlight brightness using the RandR extension. -> More information: . +> More information: . - Get the current screen brightness as a percentage: diff --git a/pages/linux/xbps-install.md b/pages/linux/xbps-install.md new file mode 100644 index 00000000000000..056848f1ef5732 --- /dev/null +++ b/pages/linux/xbps-install.md @@ -0,0 +1,13 @@ +# xbps-install + +> XBPS utility to (re)install and update packages. +> See also: `xbps`. +> More information: . + +- Install a new package: + +`xbps-install {{package}}` + +- Synchronize and update all packages: + +`xbps-install {{[-S|--sync]}} {{[-u|--update]}}` diff --git a/pages/linux/xbps-query.md b/pages/linux/xbps-query.md new file mode 100644 index 00000000000000..71d83273913032 --- /dev/null +++ b/pages/linux/xbps-query.md @@ -0,0 +1,25 @@ +# xbps-query + +> XBPS utility to query for package and repository information. +> See also: `xbps`. +> More information: . + +- Search for a package in remote repositories using a `regex` or a keyword (if `--regex` is omitted): + +`xbps-query {{[-s|--search]}} {{regex|keyword}} --repository --regex` + +- Show information about an installed package: + +`xbps-query {{[-S|--show]}} {{package}}` + +- Show information about a package in remote repositories: + +`xbps-query {{[-S|--show]}} {{package}} --repository` + +- List packages registered in the package database: + +`xbps-query {{[-l|--list-pkgs]}}` + +- List explicitly installed packages (i.e. not automatically installed as dependencies): + +`xbps-query {{[-m|--list-manual-pkgs]}}` diff --git a/pages/linux/xbps-remove.md b/pages/linux/xbps-remove.md new file mode 100644 index 00000000000000..20cf65726f5215 --- /dev/null +++ b/pages/linux/xbps-remove.md @@ -0,0 +1,21 @@ +# xbps-remove + +> XBPS utility to remove packages. +> See also: `xbps`. +> More information: . + +- Remove a package: + +`xbps-remove {{package}}` + +- Remove a package and its dependencies: + +`xbps-remove {{[-R|--recursive]}} {{package}}` + +- Remove orphan packages (installed as dependencies but no longer required by any package): + +`xbps-remove {{[-o|--remove-orphans]}}` + +- Remove obsolete packages from the cache: + +`xbps-remove {{[-O|--clean-cache]}}` diff --git a/pages/linux/xbps.md b/pages/linux/xbps.md index 85c6acca76ecf2..1c022cb4a36f08 100644 --- a/pages/linux/xbps.md +++ b/pages/linux/xbps.md @@ -1,32 +1,17 @@ # xbps -> The X Binary Package System (or xbps) is the binary package system used by Void Linux. -> More information: . +> The X Binary Package System is the package manager used by Void Linux. +> For equivalent commands in other package managers, see . +> More information: . -- Install packages and synchronize them with the remote repository: +- View documentation for installing and updating packages: -`xbps-install --synchronize {{package_name1}} {{package_name2}}` +`tldr xbps-install` -- Search for a package in the remote repository: +- View documentation for removing packages: -`xbps-query --repository -s {{package_name}}` +`tldr xbps-remove` -- Remove a package, leaving all of its dependencies installed: +- View documentation for querying for package and repository information: -`xbps-remove {{package_name}}` - -- Remove a package and all of its dependencies recursively that are not required by other packages: - -`xbps-remove --recursive {{package_name}}` - -- Synchronize your repository databases and update your system and dependencies: - -`xbps-install --synchronize -u` - -- Remove packages that were installed as dependencies and aren't currently needed: - -`xbps-remove --remove-orphans` - -- Remove obsolete packages from the cache: - -`xbps-remove --clean-cache` +`tldr xbps-query` diff --git a/pages/linux/xclip.md b/pages/linux/xclip.md index 4dd5fb42cb456e..8cb9d925248c99 100644 --- a/pages/linux/xclip.md +++ b/pages/linux/xclip.md @@ -1,7 +1,9 @@ # xclip > X11 clipboard manipulation tool, similar to `xsel`. -> Handles the X primary and secondary selections, plus the system clipboard (`Ctrl + C`/`Ctrl + V`). +> Handles the X primary and secondary selections, plus the system clipboard (``/``). +> See also: `wl-copy`. +> More information: . - Copy the output from a command to the X11 primary selection area (clipboard): @@ -9,28 +11,28 @@ - Copy the output from a command to a given X11 selection area: -`echo 123 | xclip -selection {{primary|secondary|clipboard}}` +`echo 123 | xclip {{[-se|-selection]}} {{primary|secondary|clipboard}}` - Copy the output from a command to the system clipboard, using short notation: -`echo 123 | xclip -sel clip` +`echo 123 | xclip {{[-se|-selection]}} {{[c|clipboard]}}` - Copy the contents of a file into the system clipboard: -`xclip -sel clip {{input_file.txt}}` +`xclip {{[-se|-selection]}} {{[c|clipboard]}} {{input_file.txt}}` -- Copy the contents of a PNG image into the system clipboard (can be pasted in other programs correctly): +- Copy the contents of a PNG into the system clipboard (can be pasted in other programs correctly): -`xclip -sel clip -t image/png {{input_file.png}}` +`xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png {{input_file.png}}` - Copy the user input in the console into the system clipboard: -`xclip -i` +`xclip {{[-i|-in]}}` - Paste the contents of the X11 primary selection area to the console: -`xclip -o` +`xclip {{[-o|-out]}}` - Paste the contents of the system clipboard to the console: -`xclip -o -sel clip` +`xclip {{[-o|-out]}} {{[-se|-selection]}} {{[c|clipboard]}}` diff --git a/pages/linux/xclock.md b/pages/linux/xclock.md index 239bffea99d110..540de88c76cb7a 100644 --- a/pages/linux/xclock.md +++ b/pages/linux/xclock.md @@ -1,6 +1,7 @@ # xclock > Display the time in analog or digital form. +> More information: . - Display an analog clock: diff --git a/pages/linux/xcowsay.md b/pages/linux/xcowsay.md new file mode 100644 index 00000000000000..a8d1132fe12df0 --- /dev/null +++ b/pages/linux/xcowsay.md @@ -0,0 +1,29 @@ +# xcowsay + +> Display a cute cow and message on your Linux desktop. +> The cow is displayed for either a fixed amount of time, or an amount of time calculated from the size of the text. Click on the cow to dismiss it immediately. +> More information: . + +- Display a cow saying "hello, world": + +`xcowsay "{{hello, world}}"` + +- Display a cow with output from another command: + +`ls | xcowsay` + +- Display a cow at the specified X and Y coordinates: + +`xcowsay --at {{X}},{{Y}}` + +- Display a different sized cow: + +`xcowsay --cow-size {{small|med|large}}` + +- Display a thought bubble instead of a speech bubble: + +`xcowsay --think` + +- Display a different image instead of the default cow: + +`xcowsay --image {{path/to/file}}` diff --git a/pages/linux/xcursorgen.md b/pages/linux/xcursorgen.md new file mode 100644 index 00000000000000..54572324730186 --- /dev/null +++ b/pages/linux/xcursorgen.md @@ -0,0 +1,17 @@ +# xcursorgen + +> Create an X cursor file from a collection of PNGs. +> If `--prefix` is omitted, the image files must be located in the current working directory. +> More information: . + +- Create an X cursor file using a configuration file: + +`xcursorgen {{path/to/config.cursor}} {{path/to/output_file}}` + +- Create an X cursor file using a configuration file and specify the path to the image files: + +`xcursorgen --prefix {{path/to/image_directory}}/ {{path/to/config.cursor}} {{path/to/output_file}}` + +- Create an X cursor file using a configuration file and write the output to `stdout`: + +`xcursorgen {{path/to/config.cursor}}` diff --git a/pages/linux/xdg-desktop-menu.md b/pages/linux/xdg-desktop-menu.md new file mode 100644 index 00000000000000..8e8e8e3b09b507 --- /dev/null +++ b/pages/linux/xdg-desktop-menu.md @@ -0,0 +1,20 @@ +# xdg-desktop-menu + +> Install or uninstall desktop menu items. +> More information: . + +- Install an application to the desktop menu system: + +`xdg-desktop-menu install {{path/to/file.desktop}}` + +- Install an application to the desktop menu system with the vendor prefix check disabled: + +`xdg-desktop-menu install --novendor {{path/to/file.desktop}}` + +- Uninstall an application from the desktop menu system: + +`xdg-desktop-menu uninstall {{path/to/file.desktop}}` + +- Force an update of the desktop menu system: + +`xdg-desktop-menu forceupdate --mode {{user|system}}` diff --git a/pages/linux/xdg-mime.md b/pages/linux/xdg-mime.md index 7017f00cf9ed7f..97952cfd17da56 100644 --- a/pages/linux/xdg-mime.md +++ b/pages/linux/xdg-mime.md @@ -7,7 +7,7 @@ `xdg-mime query filetype {{path/to/file}}` -- Display the default application for opening PNG images: +- Display the default application for opening PNGs: `xdg-mime query default {{image/png}}` diff --git a/pages/linux/xdg-open.md b/pages/linux/xdg-open.md new file mode 100644 index 00000000000000..2d3ae179e629b1 --- /dev/null +++ b/pages/linux/xdg-open.md @@ -0,0 +1,24 @@ +# xdg-open + +> Open a file or URL in the user's preferred application. +> More information: . + +- Open the current directory in the default file explorer: + +`xdg-open .` + +- Open a URL in the default browser: + +`xdg-open {{https://example.com}}` + +- Open an image in the default image viewer: + +`xdg-open {{path/to/image}}` + +- Open a PDF in the default PDF viewer: + +`xdg-open {{path/to/pdf}}` + +- Display help: + +`xdg-open --help` diff --git a/pages/linux/xdg-settings.md b/pages/linux/xdg-settings.md new file mode 100644 index 00000000000000..9fd1b3d64166cb --- /dev/null +++ b/pages/linux/xdg-settings.md @@ -0,0 +1,24 @@ +# xdg-settings + +> Manage settings of XDG-compatible desktop environments. +> More information: . + +- Print the default web browser: + +`xdg-settings get {{default-web-browser}}` + +- Set the default web browser to Firefox: + +`xdg-settings set {{default-web-browser}} {{firefox.desktop}}` + +- Set the default mail URL scheme handler to Evolution: + +`xdg-settings set {{default-url-scheme-handler}} {{mailto}} {{evolution.desktop}}` + +- Set the default PDF document viewer: + +`xdg-settings set {{pdf-viewer.desktop}}` + +- Display help: + +`xdg-settings --help` diff --git a/pages/linux/xdg-user-dir.md b/pages/linux/xdg-user-dir.md new file mode 100644 index 00000000000000..de0140a25007b3 --- /dev/null +++ b/pages/linux/xdg-user-dir.md @@ -0,0 +1,13 @@ +# xdg-user-dir + +> Retrieve XDG user directory locations. +> See also: `xdg-user-dirs-update`. +> More information: . + +- Display the home directory for the current user: + +`xdg-user-dir` + +- Display the location of a user directory: + +`xdg-user-dir {{DESKTOP|DOWNLOAD|TEMPLATES|PUBLICSHARE|DOCUMENTS|MUSIC|PICTURES|VIDEOS}}` diff --git a/pages/linux/xdg-user-dirs-update.md b/pages/linux/xdg-user-dirs-update.md new file mode 100644 index 00000000000000..2a706b35700e9f --- /dev/null +++ b/pages/linux/xdg-user-dirs-update.md @@ -0,0 +1,13 @@ +# xdg-user-dirs-update + +> Update XDG user directories. +> See also: `xdg-user-dir`. +> More information: . + +- Change XDG's DESKTOP directory to the specified directory (must be absolute): + +`xdg-user-dirs-update --set DESKTOP "{{path/to/directory}}"` + +- Write the result to the specified dry-run-file instead of the `user-dirs.dirs` file: + +`xdg-user-dirs-update --dummy-output "{{path/to/dry_run_file}}" --set {{xdg_user_directory}} "{{path/to/directory}}"` diff --git a/pages/linux/xdotool.md b/pages/linux/xdotool.md index dcb350a8d878d9..db2a1588abd9b8 100644 --- a/pages/linux/xdotool.md +++ b/pages/linux/xdotool.md @@ -1,20 +1,21 @@ # xdotool -> Command line automation for X11. +> Automate X11 actions. +> More information: . - Retrieve the X-Windows window ID of the running Firefox window(s): `xdotool search --onlyvisible --name {{firefox}}` -- Click the right mouse button: +- Perform a mouse ``: `xdotool click {{3}}` -- Get the id of the currently active window: +- Get the ID of the currently active window: `xdotool getactivewindow` -- Focus on the window with id of 12345: +- Focus on the window with ID of 12345: `xdotool windowfocus --sync {{12345}}` @@ -22,6 +23,6 @@ `xdotool type --delay {{500}} "Hello world"` -- Press the enter key: +- Press the `` key: `xdotool key {{KP_Enter}}` diff --git a/pages/linux/xdp-filter.md b/pages/linux/xdp-filter.md new file mode 100644 index 00000000000000..80e29b5aab1916 --- /dev/null +++ b/pages/linux/xdp-filter.md @@ -0,0 +1,29 @@ +# xdp-filter + +> Load and manage an eBPF XDP packet filter. +> Part of the xdp-tools collection. +> More information: . + +- Load the filter on an interface in skb (generic) mode with default allow policy: + +`sudo xdp-filter load {{[-p|--policy]}} allow {{[-m|--mode]}} skb {{network_interface}}` + +- Unload the filter from an interface: + +`sudo xdp-filter unload {{network_interface}}` + +- Deny traffic to a specific destination port: + +`sudo xdp-filter port {{destination_port}}` + +- Deny traffic from a specific source IP address: + +`sudo xdp-filter ip {{[-m|--mode]}} src {{source_ip}}` + +- Deny traffic from a specific source MAC address: + +`sudo xdp-filter ether {{[-m|--mode]}} src {{mac_address}}` + +- Poll packets and show statistics every 10000 milliseconds: + +`sudo xdp-filter poll {{[-i|--interval]}} 10000` diff --git a/pages/linux/xed.md b/pages/linux/xed.md new file mode 100644 index 00000000000000..b1329dcb9d4392 --- /dev/null +++ b/pages/linux/xed.md @@ -0,0 +1,24 @@ +# xed + +> Edit files in Cinnamon desktop environment. +> More information: . + +- Start the editor: + +`xed` + +- Open specific files: + +`xed {{path/to/file1 path/to/file2 ...}}` + +- Open files using a specific encoding: + +`xed --encoding {{WINDOWS-1252}} {{path/to/file1 path/to/file2 ...}}` + +- Print all supported encodings: + +`xed --list-encodings` + +- Open a file and go to a specific line: + +`xed +{{10}} {{path/to/file}}` diff --git a/pages/linux/xeyes.md b/pages/linux/xeyes.md index 315bebeb67bf54..6574e10fcef52e 100644 --- a/pages/linux/xeyes.md +++ b/pages/linux/xeyes.md @@ -1,6 +1,7 @@ # xeyes > Display eyes on the screen that follow the mouse cursor. +> More information: . - Launch xeyes on the local machine's default display: diff --git a/pages/linux/xfce4-screenshooter.md b/pages/linux/xfce4-screenshooter.md index f62c6ad87d663e..7563cbdcd7484d 100644 --- a/pages/linux/xfce4-screenshooter.md +++ b/pages/linux/xfce4-screenshooter.md @@ -1,6 +1,7 @@ # xfce4-screenshooter > The XFCE4 screenshot tool. +> More information: . - Launch the screenshooter GUI: @@ -8,24 +9,24 @@ - Take a screenshot of the entire screen and launch the GUI to ask how to proceed: -`xfce4-screenshooter --fullscreen` +`xfce4-screenshooter {{[-f|--fullscreen]}}` - Take a screenshot of the entire screen and save it in the specified directory: -`xfce4-screenshooter --fullscreen --save {{path/to/directory}}` +`xfce4-screenshooter {{[-f|--fullscreen]}} {{[-s|--save]}} {{path/to/directory}}` - Wait some time before taking the screenshot: -`xfce4-screenshooter --delay {{seconds}}` +`xfce4-screenshooter {{[-d|--delay]}} {{seconds}}` - Take a screenshot of a region of the screen (select using the mouse): -`xfce4-screenshooter --region` +`xfce4-screenshooter {{[-r|--region]}}` - Take a screenshot of the active window, and copy it to the clipboard: -`xfce4-screenshooter --window --clipboard` +`xfce4-screenshooter {{[-w|--window]}} {{[-c|--clipboard]}}` - Take a screenshot of the active window, and open it with a chosen program: -`xfce4-screenshooter --window --open {{gimp}}` +`xfce4-screenshooter {{[-w|--window]}} {{[-o|--open]}} {{gimp}}` diff --git a/pages/linux/xfce4-terminal.md b/pages/linux/xfce4-terminal.md index e1d25d5304f3ac..2236201d0cc5e9 100644 --- a/pages/linux/xfce4-terminal.md +++ b/pages/linux/xfce4-terminal.md @@ -1,6 +1,7 @@ # xfce4-terminal > The XFCE4 terminal emulator. +> More information: . - Open a new terminal window: @@ -24,4 +25,4 @@ - Open multiple new tabs, executing a command in each: -`xfce4-terminal --tab --command "{{command_a}}" --tab --command "{{command_b}}"` +`xfce4-terminal --tab --command "{{command1}}" --tab --command "{{command2}}"` diff --git a/pages/linux/xfreerdp.md b/pages/linux/xfreerdp.md new file mode 100644 index 00000000000000..b6828e5a4d4492 --- /dev/null +++ b/pages/linux/xfreerdp.md @@ -0,0 +1,28 @@ +# xfreerdp + +> Free Remote Desktop Protocol implementation. +> More information: . + +- Connect to a FreeRDP server: + +`xfreerdp /u:{{username}} /p:{{password}} /v:{{ip_address}}` + +- Connect to a FreeRDP server and activate audio output redirection using `sys:alsa` device: + +`xfreerdp /u:{{username}} /p:{{password}} /v:{{ip_address}} /sound:{{sys:alsa}}` + +- Connect to a FreeRDP server with dynamic resolution: + +`xfreerdp /v:{{ip_address}} /u:{{username}} /p:{{password}} /dynamic-resolution` + +- Connect to a FreeRDP server with clipboard redirection: + +`xfreerdp /v:{{ip_address}} /u:{{username}} /p:{{password}} +clipboard` + +- Connect to a FreeRDP server ignoring any certificate checks: + +`xfreerdp /v:{{ip_address}} /u:{{username}} /p:{{password}} /cert:ignore` + +- Connect to a FreeRDP server with a shared directory: + +`xfreerdp /v:{{ip_address}} /u:{{username}} /p:{{password}} /drive:{{path/to/directory}},{{share_name}}` diff --git a/pages/linux/xfs_repair.md b/pages/linux/xfs_repair.md new file mode 100644 index 00000000000000..bb2d5aa55f0037 --- /dev/null +++ b/pages/linux/xfs_repair.md @@ -0,0 +1,8 @@ +# xfs_repair + +> Repair an XFS filesystem. +> More information: . + +- Repair a partition: + +`sudo xfs_repair {{path/to/partition}}` diff --git a/pages/linux/xhost.md b/pages/linux/xhost.md new file mode 100644 index 00000000000000..cabd8e367b01c3 --- /dev/null +++ b/pages/linux/xhost.md @@ -0,0 +1,28 @@ +# xhost + +> Manage access control lists for X server connections. +> More information: . + +- Display the current access control list: + +`xhost` + +- Allow a specific host to connect to the X server: + +`xhost +{{hostname}}` + +- Deny a specific host from connecting to the X server: + +`xhost -{{hostname}}` + +- Allow all hosts to connect (disable access control - insecure): + +`xhost +` + +- Deny all hosts except those explicitly allowed (enable access control): + +`xhost -` + +- Remove a specific user or address using a family prefix (like `inet:hostname` or `si:localuser:username`): + +`xhost -{{family:name}}` diff --git a/pages/linux/xinput.md b/pages/linux/xinput.md index 54f59cfe3bf56d..51aa40d001a543 100644 --- a/pages/linux/xinput.md +++ b/pages/linux/xinput.md @@ -1,6 +1,7 @@ # xinput > List available input devices, query information about a device and change input device settings. +> More information: . - List all input devices: @@ -21,3 +22,11 @@ - Reattach an input as slave to a master: `xinput reattach {{id}} {{master_id}}` + +- List settings of an input device: + +`xinput list-props {{id}}` + +- Change a setting of an input device: + +`xinput set-prop {{id}} {{setting_id}} {{value}}` diff --git a/pages/linux/xman.md b/pages/linux/xman.md index 8de01da1b651e3..d1a065293efeba 100644 --- a/pages/linux/xman.md +++ b/pages/linux/xman.md @@ -1,8 +1,9 @@ # xman > Manual page viewer for X Window System. +> More information: . -- Start xman in three-button window: +- Start `xman` in three-button window: `xman` diff --git a/pages/linux/xmodmap.md b/pages/linux/xmodmap.md new file mode 100644 index 00000000000000..77a47bfbcfcc0f --- /dev/null +++ b/pages/linux/xmodmap.md @@ -0,0 +1,20 @@ +# xmodmap + +> Utility for modifying keymaps and pointer button mappings in X. +> More information: . + +- Swap `` and `` on the pointer: + +`xmodmap -e 'pointer = 3 2 1'` + +- Reassign a key on the keyboard to another key: + +`xmodmap -e 'keycode {{keycode}} = {{keyname}}'` + +- Disable a key on the keyboard: + +`xmodmap -e 'keycode {{keycode}} ='` + +- Execute all xmodmap expressions in the specified file: + +`xmodmap {{path/to/file}}` diff --git a/pages/linux/xmount.md b/pages/linux/xmount.md new file mode 100644 index 00000000000000..cf930afe8a112e --- /dev/null +++ b/pages/linux/xmount.md @@ -0,0 +1,17 @@ +# xmount + +> Convert on-the-fly between multiple input and output hard disk image types with optional write cache support. +> Create a virtual file system using FUSE (Filesystem in Userspace) that contains a virtual representation of the input image. +> More information: . + +- Mount a `.raw` image file into a DMG container file: + +`xmount --in {{raw}} {{path/to/image.dd}} --out {{dmg}} {{mountpoint}}` + +- Mount an EWF image file with write-cache support into a VHD file to boot from: + +`xmount --cache {{path/to/cache.ovl}} --in {{ewf}} {{path/to/image.E??}} --out {{vhd}} {{mountpoint}}` + +- Mount the first partition at sector 2048 into a new `.raw` image file: + +`xmount --offset {{2048}} --in {{raw}} {{path/to/image.dd}} --out {{raw}} {{mountpoint}}` diff --git a/pages/linux/xrandr.md b/pages/linux/xrandr.md index e2ac39f2cb1172..69689bfdc03fd3 100644 --- a/pages/linux/xrandr.md +++ b/pages/linux/xrandr.md @@ -1,10 +1,11 @@ # xrandr > Set the size, orientation and/or reflection of the outputs for a screen. +> More information: . - Display the current state of the system (known screens, resolutions, ...): -`xrandr --query` +`xrandr {{[-q|--query]}}` - Disable disconnected outputs and enable connected ones with default settings: @@ -12,20 +13,20 @@ - Change the resolution and update frequency of DisplayPort 1 to 1920x1080, 60Hz: -`xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}` +`xrandr --output DP1 --mode 1920x1080 {{[-r|--rate]}} 60` - Set the resolution of HDMI2 to 1280x1024 and put it on the right of DP1: -`xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}` +`xrandr --output HDMI2 --mode 1280x1024 --right-of DP1` - Disable the VGA1 output: -`xrandr --output {{VGA1}} --off` +`xrandr --output VGA1 --off` -- Set brightness for LVDS1 to 50%: +- Set the brightness for LVDS1 to 50%: -`xrandr --output {{LVDS1}} --brightness {{0.5}}` +`xrandr --output LVDS1 --brightness 0.5` -- See display hardware information: +- Display the current state of any X server: -`xrandr -q` +`xrandr {{[-d|--display]}} :{{0}} {{[-q|--query]}}` diff --git a/pages/linux/xrdb.md b/pages/linux/xrdb.md new file mode 100644 index 00000000000000..e10c9d4937fe89 --- /dev/null +++ b/pages/linux/xrdb.md @@ -0,0 +1,16 @@ +# xrdb + +> X window server's resource database utility for Unix-like systems. +> More information: . + +- Start `xrdb` in interactive mode: + +`xrdb` + +- Load values (e.g. style rules) from a resource file: + +`xrdb -load {{~/.Xresources}}` + +- Query the resource database and print currently set values: + +`xrdb -query` diff --git a/pages/linux/xsel.md b/pages/linux/xsel.md index 2c68f313568dac..a5d86cdcd6b0fb 100644 --- a/pages/linux/xsel.md +++ b/pages/linux/xsel.md @@ -1,27 +1,28 @@ # xsel > X11 selection and clipboard manipulation tool. +> More information: . -- Use a command's output as input of the clip[b]oard (equivalent to `Ctrl + C`): +- Use a command's output as input of the clipboard (equivalent to ``): -`echo 123 | xsel -ib` +`echo 123 | xsel {{[-ib|--input --clipboard]}}` - Use the contents of a file as input of the clipboard: -`cat {{file}} | xsel -ib` +`cat {{path/to/file}} | xsel {{[-ib|--input --clipboard]}}` -- Output the clipboard's contents into the terminal (equivalent to `Ctrl + V`): +- Output the clipboard's contents into the terminal (equivalent to ``): -`xsel -ob` +`xsel {{[-ob|--output --clipboard]}}` - Output the clipboard's contents into a file: -`xsel -ob > {{file}}` +`xsel {{[-ob|--output --clipboard]}} > {{path/to/file}}` - Clear the clipboard: -`xsel -cb` +`xsel {{[-cb|--clear --clipboard]}}` -- Output the X11 primary selection's contents into the terminal (equivalent to a mouse middle-click): +- Output the X11 primary selection's contents into the terminal (equivalent to a mouse ``): -`xsel -op` +`xsel {{[-op|--output --primary]}}` diff --git a/pages/linux/xset.md b/pages/linux/xset.md new file mode 100644 index 00000000000000..22df01bf13408f --- /dev/null +++ b/pages/linux/xset.md @@ -0,0 +1,28 @@ +# xset + +> User preference utility for X. +> More information: . + +- Disable the screensaver: + +`xset s off` + +- Disable the bell sound: + +`xset b off` + +- Set the screensaver to start after 60 minutes of inactivity: + +`xset s 3600 3600` + +- Disable DPMS (Energy Star) features: + +`xset -dpms` + +- Enable DPMS (Energy Star) features: + +`xset +dpms` + +- Query information on any X server: + +`xset -display :{{0}} q` diff --git a/pages/linux/xsetwacom.md b/pages/linux/xsetwacom.md index 9af3f6fb1aaae4..0fcde0aa55f4a8 100644 --- a/pages/linux/xsetwacom.md +++ b/pages/linux/xsetwacom.md @@ -1,8 +1,9 @@ # xsetwacom -> Command line tool to change settings for Wacom pen tablets at runtime. +> Change settings for Wacom pen tablets at runtime. +> More information: . -- List all the available wacom devices. The device name is in the first column: +- List all the available Wacom devices. The device name is in the first column: `xsetwacom list` diff --git a/pages/linux/xterm.md b/pages/linux/xterm.md index d7e04201ad47ad..a0033b6cdd858e 100644 --- a/pages/linux/xterm.md +++ b/pages/linux/xterm.md @@ -1,6 +1,7 @@ # xterm > A terminal emulator for the X Window System. +> More information: . - Open the terminal with a title of `Example`: diff --git a/pages/linux/xtrlock.md b/pages/linux/xtrlock.md index 4be57340356c86..26700c587563b7 100644 --- a/pages/linux/xtrlock.md +++ b/pages/linux/xtrlock.md @@ -1,6 +1,7 @@ # xtrlock > Lock the X display until the user supplies their password. +> More information: . - Lock the display and show a padlock instead of the cursor: diff --git a/pages/linux/xvfb-run.md b/pages/linux/xvfb-run.md index 01638a6f0107b0..09a551c81f9ea5 100644 --- a/pages/linux/xvfb-run.md +++ b/pages/linux/xvfb-run.md @@ -1,7 +1,7 @@ # xvfb-run > Run a command in a virtual X server environment. -> More information: . +> More information: . - Run the specified command in a virtual X server: @@ -9,8 +9,8 @@ - Try to get a free server number, if the default (99) is not available: -`xvfb-run --auto-servernum {{command}}` +`xvfb-run {{[-a|--auto-servernum]}} {{command}}` - Pass arguments to the Xvfb server: -`xvfb-run --server-args "{{-screen 0 1024x768x24}}" {{command}}` +`xvfb-run {{[-s|--server-args]}} "{{-screen 0 1024x768x24}}" {{command}}` diff --git a/pages/linux/xwinwrap.md b/pages/linux/xwinwrap.md new file mode 100644 index 00000000000000..eef3bfafb6bedf --- /dev/null +++ b/pages/linux/xwinwrap.md @@ -0,0 +1,20 @@ +# xwinwrap + +> Run a player or a program as desktop background. +> More information: . + +- Run a video using mpv: + +`xwinwrap -b -nf -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}` + +- Run a video in fullscreen using mpv: + +`xwinwrap -b -nf -fs -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}` + +- Run a video using mpv with 80% opacity: + +`xwinwrap -b -nf -ov -o 0.8 --- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}` + +- Run a video using mpv in a second monitor 1600x900 with 1920 offset on X-axis: + +`xwinwrap -g 1600x900+1920 -b -nf -ov -- {{mpv}} --wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mkv}}` diff --git a/pages/linux/xxhsum.md b/pages/linux/xxhsum.md new file mode 100644 index 00000000000000..30aceb9fe8deb0 --- /dev/null +++ b/pages/linux/xxhsum.md @@ -0,0 +1,12 @@ +# xxhsum + +> Print or verify checksums using fast non-cryptographic algorithm xxHash. +> More information: . + +- Calculate the checksum for a file using a specific algorithm: + +`xxhsum -H{{0|32|64|128}} {{path/to/file}}` + +- Run benchmark: + +`xxhsum -b` diff --git a/pages/linux/yakuake.md b/pages/linux/yakuake.md new file mode 100644 index 00000000000000..c893b29a47d911 --- /dev/null +++ b/pages/linux/yakuake.md @@ -0,0 +1,32 @@ +# yakuake + +> A drop-down terminal for KDE. +> More information: . + +- Start up Yakuake: + +`yakuake` + +- Toggle Yakuake visibility: + +`` + +- Toggle fullscreen mode: + +`` + +- Open a new tab: + +`` + +- Switch between tabs: + +`` + +- Create terminal splits: + +`` + +- Switch between splits: + +`{{|}}` diff --git a/pages/linux/yank.md b/pages/linux/yank.md deleted file mode 100644 index 9cd2a4983f6cbe..00000000000000 --- a/pages/linux/yank.md +++ /dev/null @@ -1,19 +0,0 @@ -# yank - -> Read input from `stdin` and display a selection interface that allows a field to be selected and copied to the clipboard. - -- Yank using the default delimiters (\f, \n, \r, \s, \t): - -`{{sudo dmesg}} | yank` - -- Yank an entire line: - -`{{sudo dmesg}} | yank -l` - -- Yank using a specific delimiter: - -`{{echo hello=world}} | yank -d {{=}}` - -- Only yank fields matching a specific pattern: - -`{{ps ux}} | yank -g "{{[0-9]+}}"` diff --git a/pages/linux/yaourt.md b/pages/linux/yaourt.md index 8660c1db34bf51..85e61e0cc52146 100644 --- a/pages/linux/yaourt.md +++ b/pages/linux/yaourt.md @@ -1,6 +1,7 @@ # yaourt > Arch Linux utility for building packages from the Arch User Repository. +> More information: . - Synchronize and update all packages (including AUR): @@ -8,15 +9,15 @@ - Install a new package (includes AUR): -`yaourt -S {{package_name}}` +`yaourt -S {{package}}` - Remove a package and its dependencies (includes AUR packages): -`yaourt -Rs {{package_name}}` +`yaourt -Rs {{package}}` - Search the package database for a keyword (including AUR): -`yaourt -Ss {{package_name}}` +`yaourt -Ss {{query}}` - List installed packages, versions, and repositories (AUR packages will be listed under the repository name 'local'): diff --git a/pages/linux/yay.md b/pages/linux/yay.md index 2d1f9c798203b0..b65e39c6df7264 100644 --- a/pages/linux/yay.md +++ b/pages/linux/yay.md @@ -1,7 +1,8 @@ # yay -> Yet Another Yogurt: A utility for Arch Linux to build and install packages from the Arch User Repository. -> Also see `pacman`. +> Yet Another Yogurt: build and install packages from the Arch User Repository. +> See also: `pacman`. +> More information: . - Interactively search and install packages from the repos and AUR: @@ -11,18 +12,26 @@ `yay` -- Synchronize and update only AUR packages: +- Install a new package from the repos and AUR and do not ask to confirm transactions: -`yay -Sua` +`yay -S {{package}} --noconfirm` -- Install a new package from the repos and AUR: +- Remove an installed package and both its dependencies and configuration files: -`yay -S {{package_name}}` +`yay -Rns {{package}}` - Search the package database for a keyword from the repos and AUR: `yay -Ss {{keyword}}` +- Remove orphaned packages (installed as dependencies but not required by any package): + +`yay -Yc` + +- Clean `pacman` and `yay` caches (old package versions kept for rollback and downgrade purposes): + +`yay -Scc` + - Show statistics for installed packages and system health: `yay -Ps` diff --git a/pages/linux/ydotool.md b/pages/linux/ydotool.md new file mode 100644 index 00000000000000..be90477f97d2b7 --- /dev/null +++ b/pages/linux/ydotool.md @@ -0,0 +1,20 @@ +# ydotool + +> Control keyboard and mouse inputs via commands in a way that is display server agnostic. +> More information: . + +- Start the ydotool daemon in the background: + +`ydotoold` + +- Perform a `` input: + +`ydotool click 0xC0` + +- Perform a `` input: + +`ydotool click 0xC1` + +- Input ``: + +`ydotool key 56:1 62:1 62:0 56:0` diff --git a/pages/linux/yetris.md b/pages/linux/yetris.md index eda472c9bce2b3..97a4cfb8000e58 100644 --- a/pages/linux/yetris.md +++ b/pages/linux/yetris.md @@ -3,34 +3,34 @@ > Clone of the game Tetris in the terminal. > More information: . -- Start a tetris game: +- Start a Tetris game: `yetris` - Navigate the piece horizontally: -`{{Left|Right}} arrow key` +`{{|}}` - Rotate the piece clockwise or counterclockwise: -`{{x|z}}` +`{{|}}` - Hold a piece (only one allowed at a time): -`c` +`` - Soft drop the piece: -`Down arrow key` +`` - Hard drop the piece: -`Spacebar` +`` - Pause/unpause the game: -`p` +`

` - Quit the game: -`q` +`` diff --git a/pages/linux/yplan.md b/pages/linux/yplan.md new file mode 100644 index 00000000000000..fb83976e256f37 --- /dev/null +++ b/pages/linux/yplan.md @@ -0,0 +1,9 @@ +# yplan + +> Generate LaTeX code for a two-page vertical daily planner for any chosen year. +> The generated output can be converted or printed using conversion tools such as `pandoc`, `pdflatex`, or `xetex`. +> More information: . + +- Create a daily planner with specified language, lettercase (uppercase or lowercase) and year: + +`yplan {{language}} {{lettercase}} {{year}} > {{path/to/file.tex}}` diff --git a/pages/linux/ytfzf.md b/pages/linux/ytfzf.md new file mode 100644 index 00000000000000..6fc0e2899656d0 --- /dev/null +++ b/pages/linux/ytfzf.md @@ -0,0 +1,29 @@ +# ytfzf + +> Find and download videos and music. Written in POSIX shell. +> See also: `youtube-dl`, `yt-dlp`, `instaloader`. +> More information: . + +- Search for videos on YouTube with thumbnail previews: + +`ytfzf --show-thumbnails {{search_pattern}}` + +- Play only the audio of the first item in a loop: + +`ytfzf --audio-only --auto-select --loop {{search_pattern}}` + +- Download a video from the history: + +`ytfzf --download --choose-from-history` + +- Play all the music found in a search: + +`ytfzf --audio-only --select-all {{search_pattern}}` + +- See the trending videos in an external menu: + +`ytfzf --trending --ext-menu {{search_pattern}}` + +- Search on PeerTube instead of YouTube: + +`ytfzf --peertube {{search_pattern}}` diff --git a/pages/linux/yum-config-manager.md b/pages/linux/yum-config-manager.md new file mode 100644 index 00000000000000..eaad6fd63b7522 --- /dev/null +++ b/pages/linux/yum-config-manager.md @@ -0,0 +1,7 @@ +# yum config-manager + +> This command is an alias of `dnf config-manager`. + +- View documentation for the original command: + +`tldr dnf config-manager` diff --git a/pages/linux/yum.md b/pages/linux/yum.md index 5c6a6243497799..1e712fcbf17537 100644 --- a/pages/linux/yum.md +++ b/pages/linux/yum.md @@ -1,28 +1,8 @@ # yum -> Package management utility for RHEL, Fedora, and CentOS (for older versions). -> More information: . +> This command is an alias of `dnf` on modern distros. +> For older distros (e.g. CentOS 7), `yum` is a distinct program from `dnf`. Some subcommands and options may be different. -- Install a new package: +- View documentation for the original command: -`yum install {{package}}` - -- Install a new package and assume yes to all questions (also works with update, great for automated updates): - -`yum -y install {{package}}` - -- Find the package that provides a particular command: - -`yum provides {{command}}` - -- Remove a package: - -`yum remove {{package}}` - -- Display available updates for installed packages: - -`yum check-update` - -- Upgrade installed packages to newest available versions: - -`yum upgrade` +`tldr dnf` diff --git a/pages/linux/yumdownloader.md b/pages/linux/yumdownloader.md new file mode 100644 index 00000000000000..49a23a04b3d8e8 --- /dev/null +++ b/pages/linux/yumdownloader.md @@ -0,0 +1,8 @@ +# yumdownloader + +> Historical YUM package downloader for Fedora installations; now deprecated. +> This command is an alias of `dnf download`. + +- View documentation for the original command: + +`tldr dnf download` diff --git a/pages/linux/zathura.md b/pages/linux/zathura.md new file mode 100644 index 00000000000000..970d1b42e99d53 --- /dev/null +++ b/pages/linux/zathura.md @@ -0,0 +1,33 @@ +# zathura + +> A Vim-like modal document viewer, with an integrated command-line. +> Make sure a backend is installed (poppler, PostScript, or DjVu). +> More information: . + +- Open a file: + +`zathura {{path/to/file}}` + +- Navigate left/up/down/right: + +`{{||||}}` + +- Rotate: + +`` + +- Invert Colors: + +`` + +- Search for text by a given string: + +`{{string}}` + +- Create/delete bookmarks: + +`<:>{{bmark|bdelete}} {{bookmark_name}}` + +- List bookmarks: + +`<:>blist` diff --git a/pages/linux/zbarcam.md b/pages/linux/zbarcam.md new file mode 100644 index 00000000000000..133a7a4e932474 --- /dev/null +++ b/pages/linux/zbarcam.md @@ -0,0 +1,20 @@ +# zbarcam + +> Scan and decode barcodes (and QR codes) from a video device. +> More information: . + +- Continuously read barcodes and print them to `stdout`: + +`zbarcam` + +- Disable output video window while scanning: + +`zbarcam --nodisplay` + +- Print barcodes without type information: + +`zbarcam --raw` + +- Define capture device: + +`zbarcam {{/dev/video_device}}` diff --git a/pages/linux/zdump.md b/pages/linux/zdump.md new file mode 100644 index 00000000000000..dcf760a16c787e --- /dev/null +++ b/pages/linux/zdump.md @@ -0,0 +1,12 @@ +# zdump + +> Print timezone information. +> More information: . + +- Print the current time in a timezone: + +`zdump {{timezone}}` + +- Display help: + +`zdump --help` diff --git a/pages/linux/zenity.md b/pages/linux/zenity.md index fe81f8db040e6c..96d1419c733335 100644 --- a/pages/linux/zenity.md +++ b/pages/linux/zenity.md @@ -1,7 +1,8 @@ # zenity -> Display dialogs from the command line/shell scripts. +> Display dialogs from the command-line/shell scripts. > Return user-inserted values or 1 if error. +> More information: . - Display the default question dialog: diff --git a/pages/linux/zforce.md b/pages/linux/zforce.md new file mode 100644 index 00000000000000..b809514e128e6b --- /dev/null +++ b/pages/linux/zforce.md @@ -0,0 +1,8 @@ +# zforce + +> Add a `.gz` extension to files compressed using `gzip`. +> More information: . + +- Add a `.gz` extension to the supplied Gzip files (Note: Other files are ignored): + +`zforce {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/linux/zgrep.md b/pages/linux/zgrep.md deleted file mode 100644 index 1d7a89918178cb..00000000000000 --- a/pages/linux/zgrep.md +++ /dev/null @@ -1,31 +0,0 @@ -# zgrep - -> Grep text patterns from files within compressed file (equivalent to grep -Z). - -- Grep a pattern in a compressed file (case-sensitive): - -`zgrep {{pattern}} {{path/to/compressed/file}}` - -- Grep a pattern in a compressed file (case-insensitive): - -`zgrep -i {{pattern}} {{path/to/compressed/file}}` - -- Output count of lines containing matched pattern in a compressed file: - -`zgrep -c {{pattern}} {{path/to/compressed/file}}` - -- Display the lines which don’t have the pattern present (Invert the search function): - -`zgrep -v {{pattern}} {{path/to/compressed/file}}` - -- Grep a compressed file for multiple patterns: - -`zgrep -e "{{pattern_1}}" -e "{{pattern_2}}" {{path/to/compressed/file}}` - -- Use extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`): - -`zgrep -E {{^regex$}} {{path/to/file}}` - -- Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match: - -`zgrep -{{C|B|A}} {{3}} {{pattern}} {{path/to/compressed/file}}` diff --git a/pages/linux/zic.md b/pages/linux/zic.md new file mode 100644 index 00000000000000..1c59a3099e3bc4 --- /dev/null +++ b/pages/linux/zic.md @@ -0,0 +1,12 @@ +# zic + +> Compile timezones into binary files. +> More information: . + +- Compile a timezone file from a directory: + +`zic -d {{path/to/directory}}` + +- Report warnings during compilation of a specific file: + +`zic -v {{path/to/file}}.infile` diff --git a/pages/linux/zile.md b/pages/linux/zile.md index 72d7fc01a8f157..40223e76954928 100644 --- a/pages/linux/zile.md +++ b/pages/linux/zile.md @@ -1,7 +1,7 @@ # zile -> Zile is a lightweight clone of the Emacs text editor. -> More information: . +> A lightweight clone of the Emacs text editor. +> More information: . - Start a buffer for temporary notes, which won't be saved: @@ -13,11 +13,11 @@ - Save a file: -`Ctrl + X, Ctrl + S` +`` - Quit: -`Ctrl + X, Ctrl + C` +`` - Open a file at a specified line number: @@ -25,4 +25,4 @@ - Undo changes: -`Ctrl + X, U` +`` diff --git a/pages/linux/zipsplit.md b/pages/linux/zipsplit.md new file mode 100644 index 00000000000000..ecc6fe45fac456 --- /dev/null +++ b/pages/linux/zipsplit.md @@ -0,0 +1,20 @@ +# zipsplit + +> Split a Zip archive into smaller Zip archives. +> More information: . + +- Split Zip archive into parts that are no larger than 36000 bytes (36 MB): + +`zipsplit {{path/to/archive.zip}}` + +- Use a given [n]umber of bytes as the part limit: + +`zipsplit -n {{size}} {{path/to/archive.zip}}` + +- [p]ause between the creation of each part: + +`zipsplit -p -n {{size}} {{path/to/archive.zip}}` + +- Output the smaller Zip archives into a given directory: + +`zipsplit -b {{path/to/output_directory}} -n {{size}} {{path/to/archive.zip}}` diff --git a/pages/linux/znc.md b/pages/linux/znc.md new file mode 100644 index 00000000000000..1f85887a5b7d54 --- /dev/null +++ b/pages/linux/znc.md @@ -0,0 +1,20 @@ +# znc + +> IRC bouncer. +> More information: . + +- Run the initial setup: + +`znc {{[-c|--makeconf]}}` + +- Start the IRC bouncer daemon: + +`znc` + +- Setup `znc` for systemd: + +`sudo {{[-u|--user]}} znc znc {{[-c|--makeconf]}} {{[-d|--datadir]}} /var/lib/znc` + +- Enable `znc` to start on boot and start it now: + +`systemctl enable znc --now` diff --git a/pages/linux/zramctl.md b/pages/linux/zramctl.md index a4ed2e9eff1f29..64cc323621fe88 100644 --- a/pages/linux/zramctl.md +++ b/pages/linux/zramctl.md @@ -2,10 +2,11 @@ > Setup and control zram devices. > Use `mkfs` or `mkswap` to format zram devices to partitions. +> More information: . - Check if zram is enabled: -`lsmod | grep -i zram` +`lsmod | grep {{[-i|--ignore-case]}} zram` - Enable zram with a dynamic number of devices (use `zramctl` to configure devices further): @@ -15,10 +16,10 @@ `sudo modprobe zram num_devices={{2}}` -- Find and initialise the next free zram device to a 2GB virtual drive using LZ4 compression: +- Find and initialize the next free zram device to a 2 GB virtual drive using LZ4 compression: -`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}` +`sudo zramctl {{[-f|--find]}} {{[-s|--size]}} {{2GB}} {{[-a|--algorithm]}} {{lz4}}` -- List currently initialised devices: +- List currently initialized devices: -`zramctl` +`sudo zramctl` diff --git a/pages/linux/zsync.md b/pages/linux/zsync.md new file mode 100644 index 00000000000000..414fd20de4aa0a --- /dev/null +++ b/pages/linux/zsync.md @@ -0,0 +1,26 @@ +# zsync + +> Partial/differential file downloader. +> HTTPS is not supported - use HTTP URLs only. +> See also: `rsync`. +> More information: . + +- Download a file using a `.zsync` control file: + +`zsync {{path/to/url.zsync}}` + +- Use a local file as a seed to avoid re-downloading unchanged parts: + +`zsync -i {{path/to/existing_file}} {{path/to/url.zsync}}` + +- Save the updated file under a specific name: + +`zsync -i {{path/to/existing_file}} -o {{path/to/new_file}} {{path/to/url.zsync}}` + +- Resume a partial download and keep the temporary file: + +`zsync -k {{path/to/url.zsync}}` + +- Run in quiet mode with minimal output (no progress bar, download rate, or ETA display): + +`zsync -q {{path/to/url.zsync}}` diff --git a/pages/linux/zypper.md b/pages/linux/zypper.md index 2db099e4d750b7..a5679c18b4d7e5 100644 --- a/pages/linux/zypper.md +++ b/pages/linux/zypper.md @@ -1,23 +1,29 @@ # zypper > SUSE & openSUSE package management utility. +> For equivalent commands in other package managers, see . +> More information: . - Synchronize list of packages and versions available: -`zypper refresh` +`zypper {{[ref|refresh]}}` - Install a new package: -`zypper install {{package}}` +`zypper {{[in|install]}} {{package}}` - Remove a package: -`zypper remove {{package}}` +`zypper {{[rm|remove]}} {{package}}` -- Upgrade installed packages to newest available versions: +- Upgrade installed packages to the newest available versions: -`zypper update` +`zypper {{[up|update]}}` - Search package via keyword: -`zypper search {{keyword}}` +`zypper {{[se|search]}} {{keyword}}` + +- Show information related to configured repositories: + +`zypper {{[lr|repos]}} --sort-by-priority` diff --git a/pages/netbsd/cal.md b/pages/netbsd/cal.md new file mode 100644 index 00000000000000..e7a92dd2cf7fa0 --- /dev/null +++ b/pages/netbsd/cal.md @@ -0,0 +1,36 @@ +# cal + +> Display a calendar. +> More information: . + +- Display a calendar for the current month: + +`cal` + +- Display a calendar for a specific year: + +`cal {{year}}` + +- Display a calendar for a specific month and year: + +`cal {{month}} {{year}}` + +- Display the whole calendar for the current year using [j]ulian days (one-based, numbered from January 1): + +`cal -y -j` + +- [h]ighlight today and display [3] months spanning the date: + +`cal -h -3 {{month}} {{year}}` + +- Display the 2 months [B]efore and 3 [A]fter a specific [m]onth of the current year: + +`cal -A 3 -B 2 {{month}}` + +- Display a specific number of months before and after ([C]ontext) the specified month: + +`cal -C {{months}} {{month}}` + +- Specify the starting [d]ay of the week (0: Sunday, 1: Monday, ..., 6: Saturday): + +`cal -d {{0..6}}` diff --git a/pages/netbsd/chfn.md b/pages/netbsd/chfn.md new file mode 100644 index 00000000000000..ea8525ffe24dcf --- /dev/null +++ b/pages/netbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/netbsd/chpass.md b/pages/netbsd/chpass.md new file mode 100644 index 00000000000000..c088d8878399a0 --- /dev/null +++ b/pages/netbsd/chpass.md @@ -0,0 +1,29 @@ +# chpass + +> Add or change user database information, including login shell and password. +> See also: `passwd`. +> More information: . + +- Set a specific login shell for the current user interactively: + +`su -c chpass` + +- Set a specific login [s]hell for the current user: + +`chpass -s {{path/to/shell}}` + +- Set a login [s]hell for a specific user: + +`chpass -s {{path/to/shell}} {{username}}` + +- Specify a user database entry in the `passwd` file format: + +`su -c 'chpass -a {{username:encrypted_password:uid:gid:...}} -s {{path/to/file}}' {{username}}` + +- Only update the [l]ocal password file: + +`su -c 'chpass -l -s {{path/to/shell}}' {{username}}` + +- Forcedly change the database [y]P password database entry: + +`su -c 'chpass -y -s {{path/to/shell}}' {{username}}` diff --git a/pages/netbsd/chsh.md b/pages/netbsd/chsh.md new file mode 100644 index 00000000000000..c9e2673cd8e992 --- /dev/null +++ b/pages/netbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/netbsd/df.md b/pages/netbsd/df.md new file mode 100644 index 00000000000000..3f81b186ced288 --- /dev/null +++ b/pages/netbsd/df.md @@ -0,0 +1,32 @@ +# df + +> Display an overview of the filesystem disk space usage. +> More information: . + +- Display all filesystems and their disk usage (using 512-byte units): + +`df` + +- Use [h]uman-readable units (based on powers of 1024): + +`df -h` + +- Display all the fields of the structure(s) returned by `statvfs`: + +`df -G` + +- Display the filesystem containing the specified file or directory: + +`df {{path/to/file_or_directory}}` + +- Include statistics on the number of free and used [i]nodes: + +`df -i` + +- Use [k]ibibyte (1024 byte) units when showing size figures: + +`df -k` + +- Display information in a [P]ortable way: + +`df -P` diff --git a/pages/netbsd/pkgin.md b/pages/netbsd/pkgin.md new file mode 100644 index 00000000000000..a87bbd55ab0b42 --- /dev/null +++ b/pages/netbsd/pkgin.md @@ -0,0 +1,28 @@ +# pkgin + +> Manage `pkgsrc` binary packages on NetBSD. +> More information: . + +- Install a package: + +`pkgin install {{package}}` + +- Remove a package and its dependencies: + +`pkgin remove {{package}}` + +- Upgrade all packages: + +`pkgin full-upgrade` + +- Search for a package: + +`pkgin search {{keyword}}` + +- List installed packages: + +`pkgin list` + +- Remove unneeded dependencies: + +`pkgin autoremove` diff --git a/pages/netbsd/sed.md b/pages/netbsd/sed.md new file mode 100644 index 00000000000000..decf3621afce04 --- /dev/null +++ b/pages/netbsd/sed.md @@ -0,0 +1,33 @@ +# sed + +> Edit text in a scriptable manner. +> See also: `awk`, `ed`. +> More information: . + +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`: + +`{{command}} | sed 's/apple/mango/g'` + +- Execute a specific script [f]ile and print the result to `stdout`: + +`{{command}} | sed -f {{path/to/script.sed}}` + +- Delay opening each file until a command containing the related `w` function or flag is applied to a line of input: + +`{{command}} | sed -fa {{path/to/script.sed}}` + +- Turn on GNU re[g]ex extension: + +`{{command}} | sed -fg {{path/to/script.sed}}` + +- Replace all `apple` (extended `regex`) occurrences with `APPLE` (extended `regex`) in all input lines and print the result to `stdout`: + +`{{command}} | sed -E 's/(apple)/\U\1/g'` + +- Print just a first line to `stdout`: + +`{{command}} | sed -n '1p'` + +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in a specific file and overwrite the original file in place: + +`sed -i 's/apple/mango/g' {{path/to/file}}` diff --git a/pages/netbsd/sockstat.md b/pages/netbsd/sockstat.md new file mode 100644 index 00000000000000..2d28aaa7648923 --- /dev/null +++ b/pages/netbsd/sockstat.md @@ -0,0 +1,26 @@ +# sockstat + +> List open Internet or UNIX domain sockets. +> Note: This program is a rewrite for NetBSD 3.0 from FreeBSD's `sockstat`. +> See also: `netstat`. +> More information: . + +- Show information for IPv4, IPv6 and Unix sockets for both listening and connected sockets: + +`sockstat` + +- Show information for IPv[4]/IPv[6] sockets [l]istening on specific [p]orts using a specific [P]rotocol: + +`sockstat -{{4|6}} -l -P {{tcp|udp|sctp|divert}} -p {{port1,port2...}}` + +- Also show [c]onnected sockets, showing [u]nix sockets: + +`sockstat -cu` + +- Only show [n]umeric output, without resolving symbolic names for addresses and ports: + +`sockstat -n` + +- Only list sockets of the specified address [f]amily: + +`sockstat -f {{inet|inet6|local|unix}}` diff --git a/pages/openbsd/cal.md b/pages/openbsd/cal.md new file mode 100644 index 00000000000000..820283c1d90a83 --- /dev/null +++ b/pages/openbsd/cal.md @@ -0,0 +1,32 @@ +# cal + +> Display a calendar with the current day highlighted. +> More information: . + +- Display a calendar for the current month: + +`cal` + +- Display a calendar for a specific year: + +`cal {{year}}` + +- Display a calendar for a specific month and year: + +`cal {{month}} {{year}}` + +- Display a calendar for the current [y]ear: + +`cal -y` + +- Display [j]ulian days (starting from one, numbered from January 1): + +`cal -j` + +- Use [m]onday as week start instead of Sunday: + +`cal -m` + +- Number [w]eek numbers (incompatible with `-j`): + +`cal -w` diff --git a/pages/openbsd/chfn.md b/pages/openbsd/chfn.md new file mode 100644 index 00000000000000..ea8525ffe24dcf --- /dev/null +++ b/pages/openbsd/chfn.md @@ -0,0 +1,7 @@ +# chfn + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/openbsd/chpass.md b/pages/openbsd/chpass.md new file mode 100644 index 00000000000000..28e4c1a1bb71f3 --- /dev/null +++ b/pages/openbsd/chpass.md @@ -0,0 +1,21 @@ +# chpass + +> Add or change user database information, including login shell and password. +> See also: `passwd`. +> More information: . + +- Set a specific login shell for the current user interactively: + +`doas chpass` + +- Set a specific login [s]hell for the current user: + +`doas chpass -s {{path/to/shell}}` + +- Set a login [s]hell for a specific user: + +`doas chpass -s {{path/to/shell}} {{username}}` + +- Specify a user database entry in the `passwd` file format: + +`doas chpass -a {{username:encrypted_password:uid:gid:...}}` diff --git a/pages/openbsd/chsh.md b/pages/openbsd/chsh.md new file mode 100644 index 00000000000000..c9e2673cd8e992 --- /dev/null +++ b/pages/openbsd/chsh.md @@ -0,0 +1,7 @@ +# chsh + +> This command is an alias of `chpass`. + +- View documentation for the original command: + +`tldr chpass` diff --git a/pages/openbsd/df.md b/pages/openbsd/df.md new file mode 100644 index 00000000000000..3209b4a97fbc45 --- /dev/null +++ b/pages/openbsd/df.md @@ -0,0 +1,28 @@ +# df + +> Display an overview of the filesystem disk space usage. +> More information: . + +- Display all filesystems and their disk usage (using 512-byte units): + +`df` + +- Display all filesystems in [h]uman-readable form (based on powers of 1024): + +`df -h` + +- Display the filesystem containing the specified file or directory: + +`df {{path/to/file_or_directory}}` + +- Include statistics on the number of free and used [i]nodes: + +`df -i` + +- Use [k]ibibyte (1024 byte) units when showing size figures: + +`df -k` + +- Display information in a [P]ortable way: + +`df -P` diff --git a/pages/openbsd/pkg.md b/pages/openbsd/pkg.md new file mode 100644 index 00000000000000..2dac503c63f3fa --- /dev/null +++ b/pages/openbsd/pkg.md @@ -0,0 +1,16 @@ +# pkg + +> OpenBSD package manager utility. +> More information: . + +- View documentation for installing/updating packages: + +`tldr pkg_add` + +- View documentation for removing packages: + +`tldr pkg_delete` + +- View documentation for viewing information about packages: + +`tldr pkg_info` diff --git a/pages/openbsd/pkg_add.md b/pages/openbsd/pkg_add.md new file mode 100644 index 00000000000000..7f7622a04e494c --- /dev/null +++ b/pages/openbsd/pkg_add.md @@ -0,0 +1,17 @@ +# pkg_add + +> Install/update packages in OpenBSD. +> See also: `pkg_info`, `pkg_delete`. +> More information: . + +- Update all packages, including dependencies: + +`pkg_add -u` + +- Install a new package: + +`pkg_add {{package}}` + +- Install packages from the raw output of `pkg_info`: + +`pkg_add -l {{path/to/file}}` diff --git a/pages/openbsd/pkg_delete.md b/pages/openbsd/pkg_delete.md new file mode 100644 index 00000000000000..7f42c73d34966e --- /dev/null +++ b/pages/openbsd/pkg_delete.md @@ -0,0 +1,17 @@ +# pkg_delete + +> Remove packages in OpenBSD. +> See also: `pkg_add`, `pkg_info`. +> More information: . + +- Delete a package: + +`pkg_delete {{package}}` + +- Delete a package, including its unused dependencies: + +`pkg_delete -a {{package}}` + +- Dry-run deletion of a package: + +`pkg_delete -n {{package}}` diff --git a/pages/openbsd/pkg_info.md b/pages/openbsd/pkg_info.md new file mode 100644 index 00000000000000..f6f82de3e374d0 --- /dev/null +++ b/pages/openbsd/pkg_info.md @@ -0,0 +1,13 @@ +# pkg_info + +> View information about packages in OpenBSD. +> See also: `pkg_add`, `pkg_delete`. +> More information: . + +- Search for a package using the package name: + +`pkg_info -Q {{package}}` + +- Output a list of installed packages for use with `pkg_add -l`: + +`pkg_info -mz` diff --git a/pages/openbsd/sed.md b/pages/openbsd/sed.md new file mode 100644 index 00000000000000..5cbcdd21857c74 --- /dev/null +++ b/pages/openbsd/sed.md @@ -0,0 +1,29 @@ +# sed + +> Edit text in a scriptable manner. +> See also: `awk`, `ed`. +> More information: . + +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`: + +`{{command}} | sed 's/apple/mango/g'` + +- Execute a specific script [f]ile and print the result to `stdout`: + +`{{command}} | sed -f {{path/to/script.sed}}` + +- Delay opening each file until a command containing the related `w` function or flag is applied to a line of input: + +`{{command}} | sed -fa {{path/to/script.sed}}` + +- Replace all `apple` (extended `regex`) occurrences with `APPLE` (extended `regex`) in all input lines and print the result to `stdout`: + +`{{command}} | sed -E 's/(apple)/\U\1/g'` + +- Print just a first line to `stdout`: + +`{{command}} | sed -n '1p'` + +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in a specific file and overwrite the original file in place: + +`sed -i 's/apple/mango/g' {{path/to/file}}` diff --git a/pages/osx/GetFileInfo.md b/pages/osx/GetFileInfo.md deleted file mode 100644 index 02681db99c80ff..00000000000000 --- a/pages/osx/GetFileInfo.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetFileInfo - -> Get information about a file in an HFS+ directory. - -- Display information about a given file: - -`GetFileInfo {{path/to/filename}}` - -- Display the date and time a given file was created: - -`GetFileInfo -d {{path/to/filename}}` - -- Display the date and time a given file was last modified: - -`GetFileInfo -m {{path/to/filename}}` - -- Display the creator of a given file: - -`GetFileInfo -c {{path/to/filename}}` diff --git a/pages/osx/SafeEjectGPU.md b/pages/osx/SafeEjectGPU.md deleted file mode 100644 index 3db5cc1df41f02..00000000000000 --- a/pages/osx/SafeEjectGPU.md +++ /dev/null @@ -1,28 +0,0 @@ -# SafeEjectGPU - -> Eject a GPU safely. -> Visit the man page for more info. - -- Eject all GPUs: - -`SafeEjectGPU Eject` - -- List all GPUs attached: - -`SafeEjectGPU gpus` - -- List apps using a GPU: - -`SafeEjectGPU gpuid {{GPU_ID}} apps` - -- Get the status of a GPU: - -`SafeEjectGPU gpuid {{GPU_ID}} status` - -- Eject a GPU: - -`SafeEjectGPU gpuid {{GPU_ID}} Eject` - -- Launch an app on a GPU: - -`SafeEjectGPU gpuid {{GPU_ID}} LaunchOnGPU {{path/to/App.app}}` diff --git a/pages/osx/aa.md b/pages/osx/aa.md new file mode 100644 index 00000000000000..98d27be892e542 --- /dev/null +++ b/pages/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> This command is an alias of `yaa`. + +- View documentation for the original command: + +`tldr yaa` diff --git a/pages/osx/afinfo.md b/pages/osx/afinfo.md index 38f58153214161..439fa1235f0f24 100644 --- a/pages/osx/afinfo.md +++ b/pages/osx/afinfo.md @@ -2,6 +2,7 @@ > Audio file metadata parser for OS X. > Built-in command of OS X. +> More information: . - Display info of a given audio file: @@ -9,20 +10,20 @@ - Print a one line description of the audio file: -`afinfo -b {{path/to/file}}` +`afinfo --brief {{path/to/file}}` - Print metadata info and contents of the audio file's InfoDictionary: -`afinfo -i {{path/to/file}}` +`afinfo --info {{path/to/file}}` -- Print output in xml format: +- Print output in XML format: -`afinfo -x {{path/to/file}}` +`afinfo --xml {{path/to/file}}` - Print warnings for the audio file if any: `afinfo --warnings {{path/to/file}}` -- Display help for full usage: +- Display help: -`afinfo -h` +`afinfo --help` diff --git a/pages/osx/afplay.md b/pages/osx/afplay.md index 12a58d96102486..b83e4e33d5b6fd 100644 --- a/pages/osx/afplay.md +++ b/pages/osx/afplay.md @@ -1,6 +1,7 @@ # afplay > Command-line audio player. +> More information: . - Play a sound file (waits until playback ends): diff --git a/pages/osx/aiac.md b/pages/osx/aiac.md new file mode 100644 index 00000000000000..49ec1d2f71af1f --- /dev/null +++ b/pages/osx/aiac.md @@ -0,0 +1,24 @@ +# aiac + +> Use OpenAI to generate IaC configurations, utilities, queries and more. +> More information: . + +- Generate Terraform for Azure storage account: + +`aiac get terraform {{for an azure storage account}}` + +- Generate a Dockerfile for nginx: + +`aiac get dockerfile {{for a secured nginx}}` + +- Generate GitHub action that applies Terraform: + +`aiac get github action {{that plans and applies terraform}}` + +- Generate a port scanner in Python: + +`aiac get python {{code that scans all open ports in my network}}` + +- Generate a MongoDB query: + +`aiac get mongo {{query that aggregates all documents by created date}}` diff --git a/pages/osx/airport.md b/pages/osx/airport.md index bd3625b92eb4aa..0b24fe2d80dc93 100644 --- a/pages/osx/airport.md +++ b/pages/osx/airport.md @@ -1,10 +1,11 @@ # airport > Wireless network configuration utility. +> More information: . - Show current wireless status information: -`airport -I` +`airport --getinfo` - Sniff wireless traffic on channel 1: @@ -12,8 +13,8 @@ - Scan for available wireless networks: -`airport -s` +`airport --scan` - Disassociate from current airport network: -`sudo airport -z` +`sudo airport --disassociate` diff --git a/pages/osx/airportd.md b/pages/osx/airportd.md new file mode 100644 index 00000000000000..07ba5685da88d3 --- /dev/null +++ b/pages/osx/airportd.md @@ -0,0 +1,9 @@ +# airportd + +> Manage wireless interfaces. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`airportd` diff --git a/pages/osx/apachectl.md b/pages/osx/apachectl.md index 41587164414681..ff578fa6ac4b95 100644 --- a/pages/osx/apachectl.md +++ b/pages/osx/apachectl.md @@ -1,8 +1,9 @@ # apachectl > Apache HTTP Server control interface for macOS. +> More information: . -- Start the org.apache.httpd launchd job: +- Start the `org.apache.httpd` launchd job: `apachectl start` diff --git a/pages/osx/applecamerad.md b/pages/osx/applecamerad.md new file mode 100644 index 00000000000000..379b5ff8fb3e40 --- /dev/null +++ b/pages/osx/applecamerad.md @@ -0,0 +1,9 @@ +# applecamerad + +> Camera manager. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`applecamerad` diff --git a/pages/osx/appsleepd.md b/pages/osx/appsleepd.md new file mode 100644 index 00000000000000..1513f11c76eecd --- /dev/null +++ b/pages/osx/appsleepd.md @@ -0,0 +1,9 @@ +# appsleepd + +> Start app sleep services. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`appsleepd` diff --git a/pages/osx/arch.md b/pages/osx/arch.md new file mode 100644 index 00000000000000..7371015a32d81c --- /dev/null +++ b/pages/osx/arch.md @@ -0,0 +1,17 @@ +# arch + +> Display the name of the system architecture, or run a command under a different architecture. +> See also: `uname`. +> More information: . + +- Display the system's architecture: + +`arch` + +- Run a command using x86_64: + +`arch -x86_64 "{{command}}"` + +- Run a command using arm: + +`arch -arm64 "{{command}}"` diff --git a/pages/osx/archey.md b/pages/osx/archey.md index a15250491d9185..da0cdb9a7c446c 100644 --- a/pages/osx/archey.md +++ b/pages/osx/archey.md @@ -1,6 +1,7 @@ # archey -> Simple tool for stylishly displaying system information. +> Stylishly display system information. +> More information: . - Show system information: diff --git a/pages/osx/as.md b/pages/osx/as.md index 683f797c244fae..28e73873e7bb8e 100644 --- a/pages/osx/as.md +++ b/pages/osx/as.md @@ -2,19 +2,20 @@ > Portable GNU assembler. > Primarily intended to assemble output from `gcc` to be used by `ld`. +> More information: . -- Assemble a file, writing the output to a.out: +- Assemble a file, writing the output to `a.out`: -`as {{file.s}}` +`as {{path/to/file.s}}` - Assemble the output to a given file: -`as {{file.s}} -o {{out.o}}` +`as {{path/to/file.s}} -o {{path/to/output_file.o}}` - Generate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers): -`as -f {{file.s}}` +`as -f {{path/to/file.s}}` -- Include a given path to the list of directories to search for files specified in .include directives: +- Include a given path to the list of directories to search for files specified in `.include` directives: -`as -I {{path/to/directory}} {{file.s}}` +`as -I {{path/to/directory}} {{path/to/file.s}}` diff --git a/pages/osx/asr.md b/pages/osx/asr.md index 2bcd24c60da41d..7e990a4fab24c2 100644 --- a/pages/osx/asr.md +++ b/pages/osx/asr.md @@ -2,19 +2,20 @@ > Restore (copy) a disk image onto a volume. > The command name stands for Apple Software Restore. +> More information: . - Restore a disk image to a target volume: -`sudo asr restore --source {{image_name}}.dmg --target {{path/to/volume}}` +`sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}}` - Erase the target volume before restoring: -`sudo asr restore --source {{image_name}}.dmg --target {{path/to/volume}} --erase` +`sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}} --erase` - Skip verification after restoring: -`sudo asr restore --source {{image_name}}.dmg --target {{path/to/volume}} --noverify` +`sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}} --noverify` -- Clone volumes without the use of an intermediate disk image: +- Clone volumes without using an intermediate disk image: -`sudo asr restore --source {{path/to/volume}} --target {{path/to/cloned_volume}}` +`sudo asr restore --source {{path/to/volume_file}} --target {{path/to/volume_file}}` diff --git a/pages/osx/autofsd.md b/pages/osx/autofsd.md new file mode 100644 index 00000000000000..1a5975e274b3a1 --- /dev/null +++ b/pages/osx/autofsd.md @@ -0,0 +1,9 @@ +# autofsd + +> Run `automount` on startup and network configuration change events. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`autofsd` diff --git a/pages/osx/automount.md b/pages/osx/automount.md new file mode 100644 index 00000000000000..7683b0a6309c87 --- /dev/null +++ b/pages/osx/automount.md @@ -0,0 +1,17 @@ +# automount + +> Read the `/etc/auto_master` file and mount `autofs` on the appropriate mount points to trigger the on-demand mounting of directories. Essentially, it's a way to manually initiate the system's automounting process. +> Note: You'll most likely need to run with `sudo` if you don't have the necessary permissions. +> More information: . + +- Run automount, flush the cache(`-c`) beforehand, and be verbose(`-v`) about it (most common use): + +`automount -cv` + +- Automatically unmount after 5 minutes (300 seconds) of inactivity: + +`automount -t 300` + +- Unmount anything previously mounted by automount and/or defined in `/etc/auto_master`: + +`automount -u` diff --git a/pages/osx/automountd.md b/pages/osx/automountd.md new file mode 100644 index 00000000000000..6c9b90ef72d18d --- /dev/null +++ b/pages/osx/automountd.md @@ -0,0 +1,13 @@ +# automountd + +> An automatic mount/unmount daemon for `autofs`. Started on demand by `launchd`. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`automountd` + +- Log more details to `syslog`: + +`automountd -v` diff --git a/pages/osx/autoraise.md b/pages/osx/autoraise.md new file mode 100644 index 00000000000000..f13e06faa12129 --- /dev/null +++ b/pages/osx/autoraise.md @@ -0,0 +1,8 @@ +# autoraise + +> Automatically raise and/or focus a window when hovering over it with the mouse. +> More information: . + +- Run AutoRaise in the background: + +`autoraise &` diff --git a/pages/osx/auvaltool.md b/pages/osx/auvaltool.md new file mode 100644 index 00000000000000..456af16989b1bd --- /dev/null +++ b/pages/osx/auvaltool.md @@ -0,0 +1,12 @@ +# auvaltool + +> AudioUnit validation tool for Mac. +> More information: . + +- List all [a]vailable AudioUnits of any type: + +`auvaltool -a` + +- List all [a]vailable AudioUnits of any type with their [l]ocation: + +`auvaltool -al` diff --git a/pages/osx/avbdeviced.md b/pages/osx/avbdeviced.md new file mode 100644 index 00000000000000..46e3b19951ede5 --- /dev/null +++ b/pages/osx/avbdeviced.md @@ -0,0 +1,9 @@ +# avbdeviced + +> A service for managing Audio Video Bridging (AVB) devices. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`avbdeviced` diff --git a/pages/osx/backupd.md b/pages/osx/backupd.md new file mode 100644 index 00000000000000..cf6867c4acefa7 --- /dev/null +++ b/pages/osx/backupd.md @@ -0,0 +1,9 @@ +# backupd + +> Create Time Machine backups and manages its backup history. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`backupd` diff --git a/pages/osx/base64.md b/pages/osx/base64.md index 6296e69c3a0bf5..ccc6e421925cc2 100644 --- a/pages/osx/base64.md +++ b/pages/osx/base64.md @@ -1,19 +1,28 @@ # base64 -> Encode and decode using Base64 representation. +> Encode or decode file or `stdin` to/from base64, to `stdout` or another file. +> More information: . -- Encode a file: +- Encode a file to `stdout`: -`base64 -i {{plain_file}}` +`base64 {{[-i|--input]}} {{path/to/file}}` -- Decode a file: +- Encode a file to the specified output file: -`base64 -D -i {{base64_file}}` +`base64 {{[-i|--input]}} {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}` -- Encode from `stdin`: +- Wrap encoded output at a specific width (`0` disables wrapping): -`echo -n {{plain_text}} | base64` +`base64 {{[-b|--break]}} {{0|76|...}} {{path/to/file}}` -- Decode from `stdin`: +- Decode a file to `stdout`: -`echo -n {{base64_text}} | base64 -D` +`base64 {{[-d|--decode]}} {{[-i|--input]}} {{path/to/file}}` + +- Encode from `stdin` to `stdout`: + +`{{command}} | base64` + +- Decode from `stdin` to `stdout`: + +`{{command}} | base64 {{[-d|--decode]}}` diff --git a/pages/osx/bc.md b/pages/osx/bc.md new file mode 100644 index 00000000000000..6708ef82a9d8d0 --- /dev/null +++ b/pages/osx/bc.md @@ -0,0 +1,29 @@ +# bc + +> An arbitrary precision calculator language. +> See also: `dc`. +> More information: . + +- Start an interactive session: + +`bc` + +- Start an interactive session with the standard math library enabled: + +`bc --mathlib` + +- Calculate an expression: + +`bc --expression '{{5 / 3}}'` + +- Execute a script: + +`bc {{path/to/script.bc}}` + +- Calculate an expression with the specified scale: + +`bc --expression '{{scale = 10; 5 / 3}}'` + +- Calculate a sine/cosine/arctangent/natural logarithm/exponential function using `mathlib`: + +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages/osx/bclm.md b/pages/osx/bclm.md new file mode 100644 index 00000000000000..41729043046df6 --- /dev/null +++ b/pages/osx/bclm.md @@ -0,0 +1,20 @@ +# bclm + +> Set a custom charge limit on MacBooks. +> More information: . + +- Set the charge limit to about 80% (for Intel machines, the battery charge level may be slightly lower than the set value): + +`sudo bclm write {{77}}` + +- Read the current charge limit: + +`bclm read` + +- Keep the charge limit after rebooting/smc reset: + +`sudo bclm persist` + +- Remove the persistent charge limit: + +`sudo bclm unpersist` diff --git a/pages/osx/biomesyncd.md b/pages/osx/biomesyncd.md new file mode 100644 index 00000000000000..dd200fd56a229f --- /dev/null +++ b/pages/osx/biomesyncd.md @@ -0,0 +1,9 @@ +# biomesyncd + +> Synchronizes data between devices registered to the same account. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`biomesyncd` diff --git a/pages/osx/biometrickitd.md b/pages/osx/biometrickitd.md new file mode 100644 index 00000000000000..8e3224a10420f3 --- /dev/null +++ b/pages/osx/biometrickitd.md @@ -0,0 +1,9 @@ +# biometrickitd + +> Get support for biometric operations. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`biometrickitd` diff --git a/pages/osx/bird.md b/pages/osx/bird.md new file mode 100644 index 00000000000000..05cf9133736792 --- /dev/null +++ b/pages/osx/bird.md @@ -0,0 +1,9 @@ +# bird + +> This supports the syncing of iCloud and iCloud Drive. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`bird` diff --git a/pages/osx/bless.md b/pages/osx/bless.md index 6247e6bc174afe..fbeea5d585f5e1 100644 --- a/pages/osx/bless.md +++ b/pages/osx/bless.md @@ -1,19 +1,20 @@ # bless -> Set volume bootability and startup disk options. +> Set volume boot capability and startup disk options. +> More information: . -- FOLDER MODE: bless a volume with only Mac OS X or Darwin, and create the BootX and boot.efi files as needed: +- Bless a volume with only Mac OS X or Darwin, and create the BootX and `boot.efi` files as needed: `bless --folder {{/Volumes/Mac OS X/System/Library/CoreServices}} --bootinfo --bootefi` -- MOUNT MODE: set a volume containing either Mac OS 9 and Mac OS X to be the active volume: +- Set a volume containing either Mac OS 9 and Mac OS X to be the active volume: `bless --mount {{/Volumes/Mac OS}} --setBoot` -- NETBOOT MODE: set the system to NetBoot and broadcast for an available server: +- Set the system to NetBoot and broadcast for an available server: `bless --netboot --server {{bsdp://255.255.255.255}}` -- INFO MODE: gather information about the currently selected volume (as determined by the firmware), suitable for piping to a program capable of parsing Property Lists: +- Gather information about the currently selected volume (as determined by the firmware), suitable for piping to a program capable of parsing Property Lists: `bless --info --plist` diff --git a/pages/osx/bnepd.md b/pages/osx/bnepd.md new file mode 100644 index 00000000000000..9f64e169c9c1b4 --- /dev/null +++ b/pages/osx/bnepd.md @@ -0,0 +1,9 @@ +# bnepd + +> A service that handles all Bluetooth network connections. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`bnepd` diff --git a/pages/osx/brew-bundle.md b/pages/osx/brew-bundle.md deleted file mode 100644 index fa4cbde7831485..00000000000000 --- a/pages/osx/brew-bundle.md +++ /dev/null @@ -1,28 +0,0 @@ -# brew bundle - -> Bundler for Homebrew, Homebrew Cask and the Mac App Store. -> More information: . - -- Install packages from a Brewfile at the current path: - -`brew bundle` - -- Install packages from a specific Brewfile at a specific path: - -`brew bundle --file={{path/to/file}}` - -- Create a Brewfile from all installed packages: - -`brew bundle dump` - -- Uninstall all formulae not listed in the Brewfile: - -`brew bundle cleanup --force` - -- Check if there is anything to install or upgrade in the Brewfile: - -`brew bundle check` - -- Output a list of all entries in the Brewfile: - -`brew bundle list --all` diff --git a/pages/osx/brew-cask.md b/pages/osx/brew-cask.md deleted file mode 100644 index 9acbc8ddcb26b7..00000000000000 --- a/pages/osx/brew-cask.md +++ /dev/null @@ -1,36 +0,0 @@ -# brew cask - -> Package manager for macOS applications distributed as binaries. -> More information: . - -- Search for formulas and casks: - -`brew search {{text}}` - -- Install a cask: - -`brew cask install {{cask_name}}` - -- List all installed casks: - -`brew list --cask` - -- List installed casks that have newer versions available: - -`brew outdated --cask` - -- Upgrade an installed cask (if no cask name is given, all installed casks are upgraded): - -`brew upgrade --cask {{cask_name}}` - -- Uninstall a cask: - -`brew cask uninstall {{cask_name}}` - -- Uninstall a cask and remove related settings and files: - -`brew cask zap {{cask_name}}` - -- Display information about a given cask: - -`brew cask info {{cask_name}}` diff --git a/pages/osx/brew.md b/pages/osx/brew.md deleted file mode 100644 index f500cc1d572e3a..00000000000000 --- a/pages/osx/brew.md +++ /dev/null @@ -1,36 +0,0 @@ -# brew - -> Package manager for macOS. -> More information: . - -- Search for available formulae and casks: - -`brew search {{text}}` - -- Install the latest stable version of a formula (use `--devel` for development versions): - -`brew install {{formula}}` - -- List all installed formulae: - -`brew list` - -- List installed formulae that are not dependencies of another installed formula: - -`brew leaves` - -- Upgrade an installed formula (if no formula name is given, all installed formulae are upgraded): - -`brew upgrade {{formula}}` - -- Fetch the newest version of Homebrew and of all formulae from GitHub: - -`brew update` - -- Display information about a formula (version, installation path, dependencies, etc.): - -`brew info {{formula}}` - -- Check the local Homebrew installation for potential problems: - -`brew doctor` diff --git a/pages/osx/brightness.md b/pages/osx/brightness.md index 0e98b4af47bd5d..2bd70db1debcf7 100644 --- a/pages/osx/brightness.md +++ b/pages/osx/brightness.md @@ -1,15 +1,16 @@ # brightness > Get and set the brightness level of all internal and certain external displays. +> More information: . - Show current brightness: `brightness -l` -- Set the brightness to 100%:: +- Set a specific brightness: -`brightness {{1}}` +`brightness {{0..1}}` -- Set the brightness to 50%:: +- Set the brightness to 50%: `brightness {{0.5}}` diff --git a/pages/osx/caffeinate.md b/pages/osx/caffeinate.md index 83c3fc87d70420..a99317c57a14a0 100644 --- a/pages/osx/caffeinate.md +++ b/pages/osx/caffeinate.md @@ -1,15 +1,24 @@ # caffeinate -> Prevent mac from sleeping. +> Prevent macOS from sleeping. +> More information: . + +- Prevent the display from sleeping: + +`caffeinate -d` - Prevent from sleeping for 1 hour (3600 seconds): `caffeinate -u -t {{3600}}` -- Prevent from sleeping until a command completes: +- Fork a process, exec "make" in it, and prevent sleep as long as that process is running: + +`caffeinate -i make` + +- Prevent from sleeping until a process with the specified PID completes: -`caffeinate -s {{command}}` +`caffeinate -w {{pid}}` -- Prevent from sleeping until you type Ctrl-C: +- Prevent disk from sleeping (use `` to exit): -`caffeinate -i` +`caffeinate -m` diff --git a/pages/osx/cal.md b/pages/osx/cal.md index 00e9246d217509..7db1b0189104b3 100644 --- a/pages/osx/cal.md +++ b/pages/osx/cal.md @@ -1,12 +1,13 @@ # cal -> Prints calendar information. +> Print calendar information. +> More information: . - Display a calendar for the current month: `cal` -- Display previous, current and next month: +- Display previous, current, and next month: `cal -3` diff --git a/pages/osx/carthage.md b/pages/osx/carthage.md index 257183547e440a..613541ee3592d1 100644 --- a/pages/osx/carthage.md +++ b/pages/osx/carthage.md @@ -1,6 +1,7 @@ # carthage > A dependency management tool for Cocoa applications. +> More information: . - Download the latest version of all dependencies mentioned in Cartfile, and build them: diff --git a/pages/osx/cat.md b/pages/osx/cat.md new file mode 100644 index 00000000000000..77316f12a6be2f --- /dev/null +++ b/pages/osx/cat.md @@ -0,0 +1,32 @@ +# cat + +> Print and concatenate files. +> More information: . + +- Print the contents of a file to `stdout`: + +`cat {{path/to/file}}` + +- Concatenate several files into an output file: + +`cat {{path/to/file1 path/to/file2 ...}} > {{path/to/output_file}}` + +- Append several files to an output file: + +`cat {{path/to/file1 path/to/file2 ...}} >> {{path/to/output_file}}` + +- Copy the contents of a file into an output file without buffering: + +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` + +- Write `stdin` to a file: + +`cat - > {{path/to/file}}` + +- Number all output lines: + +`cat -n {{path/to/file}}` + +- Display non-printable and whitespace characters (with `M-` prefix if non-ASCII): + +`cat -v -t -e {{path/to/file}}` diff --git a/pages/osx/cfprefsd.md b/pages/osx/cfprefsd.md new file mode 100644 index 00000000000000..456bfd3f78cf2a --- /dev/null +++ b/pages/osx/cfprefsd.md @@ -0,0 +1,9 @@ +# cfprefsd + +> Start preferences services (`CFPreferences`, `NSUserDefaults`). +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`cfprefsd` diff --git a/pages/osx/chflags.md b/pages/osx/chflags.md index 5b0b75c49654cf..0aaf0a04ad2445 100644 --- a/pages/osx/chflags.md +++ b/pages/osx/chflags.md @@ -1,6 +1,7 @@ # chflags > Change file or directory flags. +> More information: . - Set the `hidden` flag for a file: diff --git a/pages/osx/chpass.md b/pages/osx/chpass.md new file mode 100644 index 00000000000000..76c9e93c55b30e --- /dev/null +++ b/pages/osx/chpass.md @@ -0,0 +1,26 @@ +# chpass + +> Add or change user database information, including login shell and password. +> Note: It's not possible to change the user's password on Open Directory systems, use `passwd` instead. +> See also: `passwd`. +> More information: . + +- Add or change user database information for the current user interactively: + +`su -c chpass` + +- Set a specific login [s]hell for the current user: + +`chpass -s {{path/to/shell}}` + +- Set a login [s]hell for a specific user: + +`chpass -s {{path/to/shell}} {{username}}` + +- Edit the user record on the directory node at the given [l]ocation: + +`chpass -l {{location}} -s {{path/to/shell}} {{username}}` + +- Use the given [u]sername when authenticating to the directory node containing the user: + +`chpass -u {{authname}} -s {{path/to/shell}} {{username}}` diff --git a/pages/osx/cloudd.md b/pages/osx/cloudd.md new file mode 100644 index 00000000000000..24e2c28bd8a177 --- /dev/null +++ b/pages/osx/cloudd.md @@ -0,0 +1,9 @@ +# cloudd + +> Backs the CloudKit feature. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`cloudd` diff --git a/pages/osx/cloudphotod.md b/pages/osx/cloudphotod.md new file mode 100644 index 00000000000000..eb9259f97e551a --- /dev/null +++ b/pages/osx/cloudphotod.md @@ -0,0 +1,9 @@ +# cloudphotod + +> This synchronizes iCloud Photos. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`cloudphotod` diff --git a/pages/osx/codesign.md b/pages/osx/codesign.md index d41a54457a81ee..7c66f011cd6f21 100644 --- a/pages/osx/codesign.md +++ b/pages/osx/codesign.md @@ -1,11 +1,12 @@ # codesign > Create and manipulate code signatures for macOS. +> More information: . - Sign an application with a certificate: -`codesign -s "{{My Company Name}}" {{path/to/App.app}}` +`codesign --sign "{{My Company Name}}" {{path/to/application_file.app}}` - Verify the certificate of an application: -`codesign -v {{path/to/App.app}}` +`codesign --verify {{path/to/application_file.app}}` diff --git a/pages/osx/compgen.md b/pages/osx/compgen.md deleted file mode 100644 index 15e35051948370..00000000000000 --- a/pages/osx/compgen.md +++ /dev/null @@ -1,23 +0,0 @@ -# compgen - -> A built-in command for auto-completion in bash, which is called on pressing TAB key twice. - -- List all commands that you could run: - -`compgen -c` - -- List all aliases: - -`compgen -a` - -- List all functions that you could run: - -`compgen -A function` - -- Show shell reserved key words: - -`compgen -k` - -- See all available commands/aliases starting with 'ls': - -`compgen -ac {{ls}}` diff --git a/pages/osx/contactsd.md b/pages/osx/contactsd.md new file mode 100644 index 00000000000000..5ae69362412726 --- /dev/null +++ b/pages/osx/contactsd.md @@ -0,0 +1,10 @@ +# contactsd + +> Manages the information in your contacts database. +> It provides functionality to apps using the Contacts API and performs various background maintenance tasks. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`contactsd` diff --git a/pages/osx/coreaudiod.md b/pages/osx/coreaudiod.md new file mode 100644 index 00000000000000..d53951e2c77702 --- /dev/null +++ b/pages/osx/coreaudiod.md @@ -0,0 +1,9 @@ +# coreaudiod + +> Service for Core Audio, Apple's audio system. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`coreaudiod` diff --git a/pages/osx/coreautha.md b/pages/osx/coreautha.md new file mode 100644 index 00000000000000..71f6d294ff9f1a --- /dev/null +++ b/pages/osx/coreautha.md @@ -0,0 +1,10 @@ +# coreautha + +> A system agent providing the `LocalAuthentication` framework. +> It should not be invoked manually. +> See also: `coreauthd`. +> More information: . + +- Start the agent: + +`coreautha` diff --git a/pages/osx/coreauthd.md b/pages/osx/coreauthd.md new file mode 100644 index 00000000000000..4d1cf9634f8916 --- /dev/null +++ b/pages/osx/coreauthd.md @@ -0,0 +1,10 @@ +# coreauthd + +> A system daemon providing the `LocalAuthentication` framework. +> It should not be invoked manually. +> See also: `coreautha`. +> More information: . + +- Start the agent: + +`coreauthd` diff --git a/pages/osx/corebrightnessd.md b/pages/osx/corebrightnessd.md new file mode 100644 index 00000000000000..07bb297904f985 --- /dev/null +++ b/pages/osx/corebrightnessd.md @@ -0,0 +1,9 @@ +# corebrightnessd + +> Manage Night Shift. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`corebrightnessd` diff --git a/pages/osx/coredatad.md b/pages/osx/coredatad.md new file mode 100644 index 00000000000000..22713d5fde4421 --- /dev/null +++ b/pages/osx/coredatad.md @@ -0,0 +1,9 @@ +# coredatad + +> Schedules CloudKit operations for clients of NSPersistentCloudKitContainer. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`coredatad` diff --git a/pages/osx/cot.md b/pages/osx/cot.md new file mode 100644 index 00000000000000..9950290a980fd4 --- /dev/null +++ b/pages/osx/cot.md @@ -0,0 +1,24 @@ +# cot + +> The Plain-Text Editor for macOS. +> More information: . + +- Start CotEditor: + +`cot` + +- Open specific files: + +`cot {{path/to/file1 path/to/file2 ...}}` + +- Open a new blank document: + +`cot --new` + +- Open a specific file and block the terminal until it is closed: + +`cot --wait {{path/to/file}}` + +- Open a specific file with the cursor at a specific line and column: + +`cot --line {{1}} --column {{80}} {{path/to/file}}` diff --git a/pages/osx/csrutil.md b/pages/osx/csrutil.md new file mode 100644 index 00000000000000..bf5929689fbe8f --- /dev/null +++ b/pages/osx/csrutil.md @@ -0,0 +1,28 @@ +# csrutil + +> Manage the System Integrity Protection configuration. +> More information: . + +- Display the System Integrity Protection status: + +`csrutil status` + +- Disable the System Integrity Protection: + +`csrutil disable` + +- Enable the System Integrity Protection: + +`csrutil enable` + +- Display the list of allowed NetBoot sources: + +`csrutil netboot list` + +- Add an IPv4 address to the list of allowed NetBoot sources: + +`csrutil netboot add {{ip}}` + +- Reset the System Integrity Protection status and clear the NetBoot list: + +`csrutil clear` diff --git a/pages/osx/csshX.md b/pages/osx/csshX.md deleted file mode 100644 index dd2fe252a8be7c..00000000000000 --- a/pages/osx/csshX.md +++ /dev/null @@ -1,16 +0,0 @@ -# csshX - -> Cluster SSH tool for MacOS. -> More information: . - -- Connect to multiple hosts: - -`csshX {{hostname1}} {{hostname2}}` - -- Connect to multiple hosts with a given SSH key: - -`csshX {{user@hostname1}} {{user@hostname2}} '--ssh_args' '-i {{path/to/ssh_key.pem}}'` - -- Connect to a pre-defined cluster from /etc/clusters: - -`csshX cluster1` diff --git a/pages/osx/csshx.md b/pages/osx/csshx.md new file mode 100644 index 00000000000000..dc9df6f55db6c4 --- /dev/null +++ b/pages/osx/csshx.md @@ -0,0 +1,16 @@ +# csshX + +> Cluster SSH tool for macOS. +> More information: . + +- Connect to multiple hosts: + +`csshX {{hostname1}} {{hostname2}}` + +- Connect to multiple hosts with a given SSH key: + +`csshX {{user@hostname1}} {{user@hostname2}} --ssh_args "-i {{path/to/key_file.pem}}"` + +- Connect to a pre-defined cluster from `/etc/clusters`: + +`csshX cluster1` diff --git a/pages/osx/ctkd.md b/pages/osx/ctkd.md new file mode 100644 index 00000000000000..582ac7e87ed9bd --- /dev/null +++ b/pages/osx/ctkd.md @@ -0,0 +1,9 @@ +# ctkd + +> SmartCard daemon. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`ctkd` diff --git a/pages/osx/cut.md b/pages/osx/cut.md new file mode 100644 index 00000000000000..f2a0e8d2ea1f9e --- /dev/null +++ b/pages/osx/cut.md @@ -0,0 +1,16 @@ +# cut + +> Cut out fields from `stdin` or files. +> More information: . + +- Print a specific character/field range of each line: + +`{{command}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}` + +- Print a field range of each line with a specific delimiter: + +`{{command}} | cut -d "{{,}}" -f {{1}}` + +- Print a character range of each line of a specific file: + +`cut -c {{1}} {{path/to/file}}` diff --git a/pages/osx/dark-mode.md b/pages/osx/dark-mode.md new file mode 100644 index 00000000000000..1ffcf122a04d80 --- /dev/null +++ b/pages/osx/dark-mode.md @@ -0,0 +1,20 @@ +# dark-mode + +> Control macOS dark mode. +> More information: . + +- Toggle dark mode (turn it on if it's currently off, off if it's currently on): + +`dark-mode` + +- Turn dark mode on: + +`dark-mode on` + +- Turn dark mode off: + +`dark-mode off` + +- Check if dark mode is on: + +`dark-mode status` diff --git a/pages/osx/darwin-rebuild.md b/pages/osx/darwin-rebuild.md new file mode 100644 index 00000000000000..72b7a40930681f --- /dev/null +++ b/pages/osx/darwin-rebuild.md @@ -0,0 +1,16 @@ +# darwin-rebuild + +> Rebuild and switch to a Nix-based Darwin (macOS) system configuration. +> More information: . + +- Rebuild and switch to the specified Darwin configuration: + +`darwin-rebuild switch --flake {{path/to/flake}}` + +- Build the configuration but don't switch to it: + +`darwin-rebuild build --flake {{path/to/flake}}` + +- Display help: + +`darwin-rebuild --help` diff --git a/pages/osx/date.md b/pages/osx/date.md index 0f15958263182b..79034f8f05cd36 100644 --- a/pages/osx/date.md +++ b/pages/osx/date.md @@ -1,14 +1,15 @@ # date > Set or display the system date. +> More information: . - Display the current date using the default locale's format: -`date +"%c"` +`date +%c` - Display the current date in UTC and ISO 8601 format: -`date -u +"%Y-%m-%dT%H:%M:%S%Z"` +`date -u +%Y-%m-%dT%H:%M:%SZ` - Display the current date as a Unix timestamp (seconds since the Unix epoch): @@ -16,4 +17,8 @@ - Display a specific date (represented as a Unix timestamp) using the default format: -`date -r 1473305798` +`date -r {{1473305798}}` + +- Display a date relative to the current date using the default format: + +`date -v {{+1d}} -v {{-20m}}` diff --git a/pages/osx/dd.md b/pages/osx/dd.md index 8ca14df8dadbb7..7668725d91c15a 100644 --- a/pages/osx/dd.md +++ b/pages/osx/dd.md @@ -1,19 +1,28 @@ # dd > Convert and copy a file. +> More information: . -- Make a bootable usb drive from an isohybrid file (such like archlinux-xxx.iso): +- Make a bootable USB drive from an isohybrid file (such like `archlinux-xxx.iso`) and show the progress: -`dd if={{file.iso}} of=/dev/{{usb_drive}}` +`dd if={{path/to/file.iso}} of={{/dev/usb_drive}} status=progress` -- Clone a drive to another drive with 4MB block and ignore error: +- Clone a drive to another drive with 4 MB block, ignore error and show the progress: -`dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4m conv=noerror` +`dd bs=4m conv=noerror if={{/dev/source_drive}} of={{/dev/dest_drive}} status=progress` -- Generate a file of 100 random bytes by using kernel random driver: +- Generate a file with a specific number of random bytes by using kernel random driver: -`dd if=/dev/urandom of={{random_file}} bs=100 count=1` +`dd bs={{100}} count={{1}} if=/dev/urandom of={{path/to/random_file}}` - Benchmark the write performance of a disk: -`dd if=/dev/zero of={{file_1GB}} bs=1024 count=1000000` +`dd bs={{1024}} count={{1000000}} if=/dev/zero of={{path/to/1GB_file}}` + +- Create a system backup, save it into an IMG file (can be restored later by swapping `if` and `of`), and show the progress: + +`dd if={{/dev/drive_device}} of={{path/to/file.img}} status=progress` + +- Check the progress of an ongoing `dd` operation (run this command from another shell): + +`kill -USR1 $(pgrep ^dd)` diff --git a/pages/osx/defaults.md b/pages/osx/defaults.md index 4d75c3ac8a681a..48fc97a252319a 100644 --- a/pages/osx/defaults.md +++ b/pages/osx/defaults.md @@ -1,23 +1,23 @@ # defaults > Read and write macOS user configuration for applications. -> More information: . +> More information: . - Read system defaults for an application option: -`defaults read {{application}} {{option}}` +`defaults read "{{application}}" "{{option}}"` - Read default values for an application option: -`defaults read -app {{application}} {{option}}` +`defaults read -app "{{application}}" "{{option}}"` - Search for a keyword in domain names, keys, and values: -`defaults find {{keyword}}` +`defaults find "{{keyword}}"` - Write the default value of an application option: -`defaults write {{application}} {{option}} {{-type}} {{value}}` +`defaults write "{{application}}" "{{option}}" {{-type}} {{value}}` - Speed up Mission Control animations: @@ -25,4 +25,4 @@ - Delete all defaults of an application: -`defaults delete {{application}}` +`defaults delete "{{application}}"` diff --git a/pages/osx/deleted.md b/pages/osx/deleted.md new file mode 100644 index 00000000000000..3d0865b6667105 --- /dev/null +++ b/pages/osx/deleted.md @@ -0,0 +1,9 @@ +# deleted + +> Keeps track of purgeable space and asks clients to purge when space is low. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`deleted` diff --git a/pages/osx/df.md b/pages/osx/df.md new file mode 100644 index 00000000000000..82642a02a7ca39 --- /dev/null +++ b/pages/osx/df.md @@ -0,0 +1,32 @@ +# df + +> Display an overview of the filesystem disk space usage. +> More information: . + +- Display all filesystems and their disk usage (using 512-byte units): + +`df` + +- Use [h]uman-readable units (based on powers of 1024) and display a grand total: + +`df -h -c` + +- Use [H]uman-readable units (based on powers of 1000): + +`df {{[-H|--si]}}` + +- Display the filesystem containing the specified file or directory: + +`df {{path/to/file_or_directory}}` + +- Include statistics on the number of free and used [i]nodes, including the filesystem t[Y]pes: + +`df -iY` + +- Use [k]ibibyte (1024 byte) units when showing size figures: + +`df -k` + +- Display information in a [P]ortable way: + +`df -P` diff --git a/pages/osx/dhcp6d.md b/pages/osx/dhcp6d.md new file mode 100644 index 00000000000000..04d2c58b0d1fbf --- /dev/null +++ b/pages/osx/dhcp6d.md @@ -0,0 +1,14 @@ +# dhcp6d + +> Stateless DHCPv6 server. +> See also: `InternetSharing`. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`dhcp6d` + +- Use a custom configuration: + +`dhcp6d {{path/to/config_file}}` diff --git a/pages/osx/diskutil-partitiondisk.md b/pages/osx/diskutil-partitiondisk.md new file mode 100644 index 00000000000000..7dec91e05b226f --- /dev/null +++ b/pages/osx/diskutil-partitiondisk.md @@ -0,0 +1,26 @@ +# diskutil partitionDisk + +> Utility to manage partitions inside disks and volumes. +> Part of `diskutil`. +> APM is only supported for macOS, MBR is optimized for DOS, while GPT is compatible for most modern systems. +> More information: . + +- Reformat a volume using APM/MBR/GPT partitioning scheme, leaving no partitions inside (this will erase all data on the volume): + +`diskutil partitionDisk {{/dev/disk_device}} 0 {{APM|MBR|GPT}}` + +- Reformat a volume, then create a single partition using a specific filesystem filling up all free space: + +`diskutil partitionDisk {{/dev/disk_device}} 1 {{APM|MBR|GPT}} {{partition_filesystem}} {{partition_name}}` + +- Reformat a volume, then create a single partition using a specific filesystem under specific size (e.g. `16G` for 16GB or `50%` to fill half of total volume size): + +`diskutil partitionDisk {{/dev/disk_device}} 1 {{APM|MBR|GPT}} {{partition_filesystem}} {{partition_name}} {{partition_size}}` + +- Reformat a volume, then create multiple partitions: + +`diskutil partitionDisk {{/dev/disk_device}} {{number_of_partitions}} {{APM|MBR|GPT}} {{partition_filesystem1}} {{partition_name1}} {{partition_size1}} {{partition_filesystem2}} {{partition_name2}} {{partition_size2}} ...` + +- List all supported file systems for partitioning: + +`diskutil listFilesystems` diff --git a/pages/osx/diskutil.md b/pages/osx/diskutil.md index 5994493eb28378..8b50a439c16150 100644 --- a/pages/osx/diskutil.md +++ b/pages/osx/diskutil.md @@ -1,6 +1,8 @@ # diskutil > Utility to manage local disks and volumes. +> Some subcommands such as `partitiondisk` have their own usage documentation. +> More information: . - List all currently available disks, partitions and mounted volumes: @@ -8,12 +10,12 @@ - Repair the filesystem data structures of a volume: -`diskutil repairVolume {{/dev/diskX}}` +`diskutil repairVolume {{/dev/disk}}` - Unmount a volume: -`diskutil unmountDisk {{/dev/diskX}}` +`diskutil unmountDisk {{/dev/disk}}` - Eject a CD/DVD (unmount first): -`diskutil eject {{/dev/disk1}}` +`diskutil eject {{/dev/diskX}}` diff --git a/pages/osx/distnoted.md b/pages/osx/distnoted.md new file mode 100644 index 00000000000000..8ff41903189596 --- /dev/null +++ b/pages/osx/distnoted.md @@ -0,0 +1,9 @@ +# distnoted + +> Start distributed notification services. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`distnoted` diff --git a/pages/osx/ditto.md b/pages/osx/ditto.md index 28f9fc6e50b326..9989a38b476c0a 100644 --- a/pages/osx/ditto.md +++ b/pages/osx/ditto.md @@ -1,15 +1,16 @@ # ditto > Copy files and directories. +> More information: . - Overwrite contents of destination directory with contents of source directory: -`ditto {{path/to/source}} {{path/to/destination}}` +`ditto {{path/to/source_directory}} {{path/to/destination_directory}}` - Print a line to the Terminal window for every file that's being copied: -`ditto -V {{path/to/source}} {{path/to/destination}}` +`ditto -V {{path/to/source_directory}} {{path/to/destination_directory}}` - Copy a given file or directory, while retaining the original file permissions: -`ditto -rsrc {{path/to/source}} {{path/to/destination}}` +`ditto -rsrc {{path/to/source_directory}} {{path/to/destination_directory}}` diff --git a/pages/osx/dmesg.md b/pages/osx/dmesg.md index 5478d302d69a1f..8266192297aefe 100644 --- a/pages/osx/dmesg.md +++ b/pages/osx/dmesg.md @@ -1,6 +1,7 @@ # dmesg -> Write the kernel messages to standard output. +> Write the kernel messages to `stdout`. +> More information: . - Show kernel messages: diff --git a/pages/osx/dockutil.md b/pages/osx/dockutil.md new file mode 100644 index 00000000000000..773a5829563060 --- /dev/null +++ b/pages/osx/dockutil.md @@ -0,0 +1,32 @@ +# dockutil + +> Manage macOS dock items. +> More information: . + +- Add an application to the end of the current user's dock: + +`dockutil --add {{path/to/application}}` + +- Replace one application with another in the current user's dock: + +`dockutil --add /{{path/to/application}} --replacing '{{dock_item_label}}'` + +- Add a directory with view options and display it as a folder icon or stack: + +`dockutil --add /{{path/to/directory}} --view {{grid|fan|list|auto}} --display {{folder|stack}}` + +- Add a URL dock item after another item: + +`dockutil --add {{vnc://example_server.local}} --label '{{Example VNC}}' --after {{dock_item_label}}` + +- Remove an application from the dock given its dock label name: + +`dockutil --remove '{{dock_item_label}}'` + +- Add a spacer in a section after an application: + +`dockutil --add '' --type {{spacer|small-spacer|flex-spacer}} --section {{apps}} --after {{dock_item_label}}` + +- Remove all spacer tiles: + +`dockutil --remove spacer-tiles` diff --git a/pages/osx/dot_clean.md b/pages/osx/dot_clean.md index d6d53ea4510106..e78bd6594370b0 100644 --- a/pages/osx/dot_clean.md +++ b/pages/osx/dot_clean.md @@ -1,7 +1,7 @@ # dot_clean > Merge ._* files with corresponding native files. -> More information: . +> More information: . - Merge all `._*` files recursively: diff --git a/pages/osx/drutil.md b/pages/osx/drutil.md index 3c96799e4227ec..e0300376fe19e9 100644 --- a/pages/osx/drutil.md +++ b/pages/osx/drutil.md @@ -1,6 +1,7 @@ # drutil > Interact with DVD burners. +> More information: . - Eject a disk from the drive: diff --git a/pages/osx/dtrace.md b/pages/osx/dtrace.md new file mode 100644 index 00000000000000..66f6af00215abd --- /dev/null +++ b/pages/osx/dtrace.md @@ -0,0 +1,37 @@ +# dtrace + +> A simple interface to invoke the D language compiler, retrieve buffered trace, and print traced data from the DTrace kernel facility. +> Generic front-end to DTrace facility, requiring root privileges. +> More information: . + +- Set target data model for a specific architecture: + +`dtrace -arch {{arch_name}}` + +- Claim [a]nonymous tracing state and display the traced data: + +`dtrace -a` + +- Set principal trace buffer size. Supported units are `k`, `m`, `g`, or `t`: + +`dtrace -b {{2g}}` + +- Compile the specified D Program [s]ource file: + +`dtrace -s {{D_script}}` + +- Run the specified [c]ommand and exit upon its completion: + +`dtrace -c {{command}}` + +- Specify [f]unction name to trace or list (-l option). The corresponding argument can include any of the probe description forms like `provider:module:function`, `module:function` or `function`: + +`dtrace -f {{function}}` + +- Grad the specified [p]rocess ID, cache its symbol table, and exit upon completion: + +`dtrace -p {{pid}}` + +- Combine different options for tracing function in a process: + +`dtrace -a -b {{buffer_size}} -f {{function}} -p {{pid}}` diff --git a/pages/osx/du.md b/pages/osx/du.md index d72ee896eafc10..2cb43edfdf23e0 100644 --- a/pages/osx/du.md +++ b/pages/osx/du.md @@ -1,8 +1,9 @@ # du > Disk usage: estimate and summarize file and directory space usage. +> More information: . -- List the sizes of a directory and any subdirectories, in the given unit (KB/MB/GB): +- List the sizes of a directory and any subdirectories, in the given unit (KiB/MiB/GiB): `du -{{k|m|g}} {{path/to/directory}}` @@ -10,7 +11,7 @@ `du -h {{path/to/directory}}` -- Show the size of a single directory, in human readable units: +- Show the size of a single directory, in human-readable units: `du -sh {{path/to/directory}}` @@ -20,8 +21,8 @@ - List the human-readable sizes of a directory and any subdirectories, up to N levels deep: -`du -h -d {{N}} {{path/to/directory}}` +`du -h -d {{2}} {{path/to/directory}}` -- List the human-readable size of all .jpg files in subdirectories of the current directory, and show a cumulative total at the end: +- List the human-readable size of all `.jpg` files in subdirectories of the current directory, and show a cumulative total at the end: -`du -ch */*.jpg` +`du -ch {{*/*.jpg}}` diff --git a/pages/osx/duti.md b/pages/osx/duti.md index 5f6c6163584c8f..4c5870ab5db6dd 100644 --- a/pages/osx/duti.md +++ b/pages/osx/duti.md @@ -1,18 +1,20 @@ # duti > Set default applications for document types and URL schemes on macOS. +> See also: `osascript`. +> More information: . - Set Safari as the default handler for HTML documents: `duti -s {{com.apple.Safari}} {{public.html}} all` -- Set VLC as the default viewer for files with .m4v extensions: +- Set VLC as the default viewer for files with `.m4v` extensions: `duti -s {{org.videolan.vlc}} {{m4v}} viewer` - Set Finder as the default handler for the ftp:// URL scheme: -`duti -s {{com.apple.Finder}} {{ftp}}` +`duti -s {{com.apple.Finder}} "{{ftp}}"` - Display information about the default application for a given extension: diff --git a/pages/osx/emond.md b/pages/osx/emond.md new file mode 100644 index 00000000000000..3fbdb696f9b48b --- /dev/null +++ b/pages/osx/emond.md @@ -0,0 +1,17 @@ +# emond + +> Event Monitor service that accepts events from various services, runs them through a simple rules engine, and takes action. +> The actions can run commands, send email, or SMS messages. +> More information: . + +- Start the daemon: + +`emond` + +- Specify rules for emond to process by giving a path to a file or directory: + +`emond -r {{path/to/file_or_directory}}` + +- Use a specific configuration file: + +`emond -c {{path/to/config_file}}` diff --git a/pages/osx/eval.md b/pages/osx/eval.md deleted file mode 100644 index ee1135a91db1a5..00000000000000 --- a/pages/osx/eval.md +++ /dev/null @@ -1,11 +0,0 @@ -# eval - -> Execute arguments as a single command in the current shell and return its result. - -- Call `echo` with the "foo" argument: - -`eval "{{echo foo}}"` - -- Set a variable in the current shell: - -`eval "{{foo=bar}}"` diff --git a/pages/osx/export.md b/pages/osx/export.md deleted file mode 100644 index c09481e8e225a9..00000000000000 --- a/pages/osx/export.md +++ /dev/null @@ -1,15 +0,0 @@ -# export - -> Command to mark shell variables in the current environment to be exported with any newly forked child processes. - -- Set a new environment variable: - -`export {{VARIABLE}}={{value}}` - -- Remove an environment variable: - -`export -n {{VARIABLE}}` - -- Append something to the PATH variable: - -`export PATH=$PATH:{{path/to/append}}` diff --git a/pages/osx/fc.md b/pages/osx/fc.md deleted file mode 100644 index 7e6c464104e3d5..00000000000000 --- a/pages/osx/fc.md +++ /dev/null @@ -1,15 +0,0 @@ -# fc - -> Open the most recent command and edit it. - -- Open in the default system editor: - -`fc` - -- Specify an editor to open with: - -`fc -e {{'emacs'}}` - -- List recent commands from history: - -`fc -l` diff --git a/pages/osx/fdesetup.md b/pages/osx/fdesetup.md index 344a340aafa245..a37ee9181f1a10 100644 --- a/pages/osx/fdesetup.md +++ b/pages/osx/fdesetup.md @@ -1,6 +1,7 @@ # fdesetup > Set and retrieve FileVault related information. +> More information: . - List current FileVault enabled users: @@ -12,7 +13,7 @@ - Add FileVault enabled user: -`sudo fdesetup add -usertoadd user1` +`sudo fdesetup add -usertoadd {{user1}}` - Enable FileVault: diff --git a/pages/osx/feh.md b/pages/osx/feh.md deleted file mode 100644 index 3d3464c91708bf..00000000000000 --- a/pages/osx/feh.md +++ /dev/null @@ -1,27 +0,0 @@ -# feh - -> Lightweight image viewing utility. - -- View images locally or using a URL: - -`feh {{path/to/images}}` - -- View images recursively: - -`feh --recursive {{path/to/images}}` - -- View images without window borders: - -`feh --borderless {{path/to/images}}` - -- Exit after the last image: - -`feh --cycle-once {{path/to/images}}` - -- Set the slideshow cycle delay: - -`feh --slideshow-delay {{seconds}} {{path/to/images}}` - -- Set your wallpaper (centered, filled, maximized, scaled or tiled): - -`feh --bg-{{center|fill|max|scale|tile}} {{path/to/image}}` diff --git a/pages/osx/file.md b/pages/osx/file.md deleted file mode 100644 index 841d703d370017..00000000000000 --- a/pages/osx/file.md +++ /dev/null @@ -1,23 +0,0 @@ -# file - -> Determine file type. - -- Give a description of the type of the specified file. Works fine for files with no file extension: - -`file {{filename}}` - -- Look inside a zipped file and determine the file type(s) inside: - -`file -z {{foo.zip}}` - -- Allow file to work with special or device files: - -`file -s {{filename}}` - -- Don't stop at first file type match; keep going until the end of the file: - -`file -k {{filename}}` - -- Determine the mime encoding type of a file: - -`file -I {{filename}}` diff --git a/pages/osx/filecoordinationd.md b/pages/osx/filecoordinationd.md new file mode 100644 index 00000000000000..aeef70b14d4935 --- /dev/null +++ b/pages/osx/filecoordinationd.md @@ -0,0 +1,9 @@ +# filecoordinationd + +> Coordinates access to files by multiple processes (`NSFileCoordinator`, `NSFilePresenter`). +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`filecoordinationd` diff --git a/pages/osx/fileicon.md b/pages/osx/fileicon.md new file mode 100644 index 00000000000000..3ac2b9b8df5cdd --- /dev/null +++ b/pages/osx/fileicon.md @@ -0,0 +1,20 @@ +# fileicon + +> Manage custom file and folder icons. +> More information: . + +- Set a custom icon for a specific file or directory: + +`fileicon set {{path/to/file_or_directory}} {{path/to/icon_file.png}}` + +- Remove a custom icon from a specific file or directory: + +`fileicon rm {{path/to/file_or_directory}}` + +- Save the custom icon of a file or directory as a `.icns` file into the current directory: + +`fileicon get {{path/to/file_or_directory}}` + +- Test if a specific file or directory has a custom icon: + +`fileicon test {{path/to/file_or_directory}}` diff --git a/pages/osx/fontd.md b/pages/osx/fontd.md new file mode 100644 index 00000000000000..aa61c3df3b8f91 --- /dev/null +++ b/pages/osx/fontd.md @@ -0,0 +1,9 @@ +# fontd + +> Make fonts available to the system. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`fontd` diff --git a/pages/osx/fsck.md b/pages/osx/fsck.md index 6c8a4931ef156d..e36d92a410721c 100644 --- a/pages/osx/fsck.md +++ b/pages/osx/fsck.md @@ -2,6 +2,7 @@ > Check the integrity of a filesystem or repair it. The filesystem should be unmounted at the time the command is run. > It is a wrapper that calls `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat`, and `fsck_udf` as needed. +> More information: . - Check filesystem `/dev/sdX`, reporting any damaged blocks: diff --git a/pages/osx/ftxdiff.md b/pages/osx/ftxdiff.md new file mode 100644 index 00000000000000..29333e260efa0d --- /dev/null +++ b/pages/osx/ftxdiff.md @@ -0,0 +1,16 @@ +# ftxdiff + +> Compare differences between two fonts. +> More information: . + +- Output differences to a specific text file: + +`ftxdiff --output {{path/to/fontdiff_file.txt}} {{path/to/font_file1.ttc}} {{path/to/font_file2.ttc}}` + +- Include glyph names in output: + +`ftxdiff --include-glyph-names` + +- Include unicode names in output: + +`ftxdiff --include-unicode-names` diff --git a/pages/osx/fuser.md b/pages/osx/fuser.md new file mode 100644 index 00000000000000..1b778665aa0ace --- /dev/null +++ b/pages/osx/fuser.md @@ -0,0 +1,12 @@ +# fuser + +> Display process IDs currently using files. +> More information: . + +- Show PIDs of processes accessing a file or directory: + +`fuser {{path/to/file_or_directory}}` + +- Show PIDs and usernames of processes accessing a file or directory: + +`fuser -u {{path/to/file_or_directory}}` diff --git a/pages/osx/g[.md b/pages/osx/g[.md new file mode 100644 index 00000000000000..4395a692f6143d --- /dev/null +++ b/pages/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> This command is an alias of GNU `[`. + +- View documentation for the original command: + +`tldr [` diff --git a/pages/osx/gb2sum.md b/pages/osx/gb2sum.md new file mode 100644 index 00000000000000..7f8fcbeb4d46b2 --- /dev/null +++ b/pages/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> This command is an alias of GNU `b2sum`. + +- View documentation for the original command: + +`tldr b2sum` diff --git a/pages/osx/gbase32.md b/pages/osx/gbase32.md new file mode 100644 index 00000000000000..40d3e124c04e53 --- /dev/null +++ b/pages/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> This command is an alias of GNU `base32`. + +- View documentation for the original command: + +`tldr base32` diff --git a/pages/osx/gbase64.md b/pages/osx/gbase64.md new file mode 100644 index 00000000000000..4a51f80048b659 --- /dev/null +++ b/pages/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> This command is an alias of GNU `base64`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages/osx/gbasename.md b/pages/osx/gbasename.md new file mode 100644 index 00000000000000..05a81bd4f10c16 --- /dev/null +++ b/pages/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> This command is an alias of GNU `basename`. + +- View documentation for the original command: + +`tldr basename` diff --git a/pages/osx/gbasenc.md b/pages/osx/gbasenc.md new file mode 100644 index 00000000000000..a4ae6e0daa7cdc --- /dev/null +++ b/pages/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> This command is an alias of GNU `basenc`. + +- View documentation for the original command: + +`tldr basenc` diff --git a/pages/osx/gcat.md b/pages/osx/gcat.md new file mode 100644 index 00000000000000..1618f205a9b400 --- /dev/null +++ b/pages/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> This command is an alias of GNU `cat`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages/osx/gchcon.md b/pages/osx/gchcon.md new file mode 100644 index 00000000000000..04dbba68242202 --- /dev/null +++ b/pages/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> This command is an alias of GNU `chcon`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages/osx/gchgrp.md b/pages/osx/gchgrp.md new file mode 100644 index 00000000000000..ee98a4030f8ff6 --- /dev/null +++ b/pages/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> This command is an alias of GNU `chgrp`. + +- View documentation for the original command: + +`tldr chgrp` diff --git a/pages/osx/gchmod.md b/pages/osx/gchmod.md new file mode 100644 index 00000000000000..e74597348a865a --- /dev/null +++ b/pages/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> This command is an alias of GNU `chmod`. + +- View documentation for the original command: + +`tldr chmod` diff --git a/pages/osx/gchown.md b/pages/osx/gchown.md new file mode 100644 index 00000000000000..0b43fffaa09ef0 --- /dev/null +++ b/pages/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> This command is an alias of GNU `chown`. + +- View documentation for the original command: + +`tldr chown` diff --git a/pages/osx/gchroot.md b/pages/osx/gchroot.md new file mode 100644 index 00000000000000..82de351b17f881 --- /dev/null +++ b/pages/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> This command is an alias of GNU `chroot`. + +- View documentation for the original command: + +`tldr chroot` diff --git a/pages/osx/gcksum.md b/pages/osx/gcksum.md new file mode 100644 index 00000000000000..1cb9520ac91812 --- /dev/null +++ b/pages/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> This command is an alias of GNU `cksum`. + +- View documentation for the original command: + +`tldr cksum` diff --git a/pages/osx/gcomm.md b/pages/osx/gcomm.md new file mode 100644 index 00000000000000..80962058df4297 --- /dev/null +++ b/pages/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> This command is an alias of GNU `comm`. + +- View documentation for the original command: + +`tldr comm` diff --git a/pages/osx/gcp.md b/pages/osx/gcp.md new file mode 100644 index 00000000000000..f0a17904457f70 --- /dev/null +++ b/pages/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> This command is an alias of GNU `cp`. + +- View documentation for the original command: + +`tldr cp` diff --git a/pages/osx/gcrane-completion.md b/pages/osx/gcrane-completion.md new file mode 100644 index 00000000000000..f806175c781d1e --- /dev/null +++ b/pages/osx/gcrane-completion.md @@ -0,0 +1,37 @@ +# gcrane completion + +> Generate the autocompletion script for gcrane for the specified shell. +> The available shells are Bash, fish, PowerShell, and Zsh. +> More information: . + +- Generate the autocompletion script for your shell: + +`gcrane completion {{shell_name}}` + +- Disable completion descriptions: + +`gcrane completion {{shell_name}} --no-descriptions` + +- Load completions in your current shell session (Bash/Zsh): + +`source <(gcrane completion bash/zsh)` + +- Load completions in your current shell session (fish): + +`gcrane completion fish | source` + +- Load completions for every new session (Bash): + +`gcrane completion bash > $(brew --prefix)/etc/bash_completion.d/gcrane` + +- Load completions for every new session (Zsh): + +`gcrane completion zsh > $(brew --prefix)/share/zsh/site-functions/_gcrane` + +- Load completions for every new session (fish): + +`gcrane completion fish > ~/.config/fish/completions/gcrane.fish` + +- Display help: + +`gcrane completion {{shell_name}} {{[-h|--help]}}` diff --git a/pages/osx/gcsplit.md b/pages/osx/gcsplit.md new file mode 100644 index 00000000000000..37b3ef940bd9d7 --- /dev/null +++ b/pages/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> This command is an alias of GNU `csplit`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages/osx/gcut.md b/pages/osx/gcut.md new file mode 100644 index 00000000000000..dbe68b7d028785 --- /dev/null +++ b/pages/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> This command is an alias of GNU `cut`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages/osx/gdate.md b/pages/osx/gdate.md new file mode 100644 index 00000000000000..fd6e9b9ad0adb1 --- /dev/null +++ b/pages/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> This command is an alias of GNU `date`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages/osx/gdd.md b/pages/osx/gdd.md new file mode 100644 index 00000000000000..ca460fcfeca59c --- /dev/null +++ b/pages/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> This command is an alias of GNU `dd`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages/osx/gdf.md b/pages/osx/gdf.md new file mode 100644 index 00000000000000..099acdd6b83256 --- /dev/null +++ b/pages/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> This command is an alias of GNU `df`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages/osx/gdir.md b/pages/osx/gdir.md new file mode 100644 index 00000000000000..f0dd0098d1fedb --- /dev/null +++ b/pages/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> This command is an alias of GNU `dir`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages/osx/gdircolors.md b/pages/osx/gdircolors.md new file mode 100644 index 00000000000000..a0974b18c8cd32 --- /dev/null +++ b/pages/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> This command is an alias of GNU `dircolors`. + +- View documentation for the original command: + +`tldr dircolors` diff --git a/pages/osx/gdirname.md b/pages/osx/gdirname.md new file mode 100644 index 00000000000000..c197f221530940 --- /dev/null +++ b/pages/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> This command is an alias of GNU `dirname`. + +- View documentation for the original command: + +`tldr dirname` diff --git a/pages/osx/gdnsdomainname.md b/pages/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..5b69a05e9e086f --- /dev/null +++ b/pages/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> This command is an alias of GNU `dnsdomainname`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages/osx/gecho.md b/pages/osx/gecho.md new file mode 100644 index 00000000000000..f4dfbdd09d69f2 --- /dev/null +++ b/pages/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> This command is an alias of GNU `echo`. + +- View documentation for the original command: + +`tldr echo` diff --git a/pages/osx/ged.md b/pages/osx/ged.md new file mode 100644 index 00000000000000..413d1221e5d8c4 --- /dev/null +++ b/pages/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> This command is an alias of GNU `ed`. + +- View documentation for the original command: + +`tldr ed` diff --git a/pages/osx/gegrep.md b/pages/osx/gegrep.md new file mode 100644 index 00000000000000..9d7795fd4db6d4 --- /dev/null +++ b/pages/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> This command is an alias of GNU `egrep`. + +- View documentation for the original command: + +`tldr egrep` diff --git a/pages/osx/genv.md b/pages/osx/genv.md new file mode 100644 index 00000000000000..04c49ac5e3634e --- /dev/null +++ b/pages/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> This command is an alias of GNU `env`. + +- View documentation for the original command: + +`tldr env` diff --git a/pages/osx/getfileinfo.md b/pages/osx/getfileinfo.md new file mode 100644 index 00000000000000..612b08447bf347 --- /dev/null +++ b/pages/osx/getfileinfo.md @@ -0,0 +1,20 @@ +# GetFileInfo + +> Get information about a file in an HFS+ directory. +> More information: . + +- Display information about a given file: + +`GetFileInfo {{path/to/file}}` + +- Display the [d]ate and time a given file was created: + +`GetFileInfo -d {{path/to/file}}` + +- Display the date and time a given file was last [m]odified: + +`GetFileInfo -m {{path/to/file}}` + +- Display the [c]reator of a given file: + +`GetFileInfo -c {{path/to/file}}` diff --git a/pages/osx/gexpand.md b/pages/osx/gexpand.md new file mode 100644 index 00000000000000..c5decbfc5f2c34 --- /dev/null +++ b/pages/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> This command is an alias of GNU `expand`. + +- View documentation for the original command: + +`tldr expand` diff --git a/pages/osx/gexpr.md b/pages/osx/gexpr.md new file mode 100644 index 00000000000000..bdb7f98400d2b4 --- /dev/null +++ b/pages/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> This command is an alias of GNU `expr`. + +- View documentation for the original command: + +`tldr expr` diff --git a/pages/osx/gfactor.md b/pages/osx/gfactor.md new file mode 100644 index 00000000000000..43ff4e2528d9e7 --- /dev/null +++ b/pages/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> This command is an alias of GNU `factor`. + +- View documentation for the original command: + +`tldr factor` diff --git a/pages/osx/gfalse.md b/pages/osx/gfalse.md new file mode 100644 index 00000000000000..5c5f330df0ca56 --- /dev/null +++ b/pages/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> This command is an alias of GNU `false`. + +- View documentation for the original command: + +`tldr false` diff --git a/pages/osx/gfgrep.md b/pages/osx/gfgrep.md new file mode 100644 index 00000000000000..9e08aef84ed0ce --- /dev/null +++ b/pages/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> This command is an alias of GNU `fgrep`. + +- View documentation for the original command: + +`tldr fgrep` diff --git a/pages/osx/gfind.md b/pages/osx/gfind.md new file mode 100644 index 00000000000000..78b47bfb55b206 --- /dev/null +++ b/pages/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> This command is an alias of GNU `find`. + +- View documentation for the original command: + +`tldr find` diff --git a/pages/osx/gfmt.md b/pages/osx/gfmt.md new file mode 100644 index 00000000000000..84dd1c37f553d6 --- /dev/null +++ b/pages/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> This command is an alias of GNU `fmt`. + +- View documentation for the original command: + +`tldr fmt` diff --git a/pages/osx/gfold.md b/pages/osx/gfold.md new file mode 100644 index 00000000000000..422a40577addd2 --- /dev/null +++ b/pages/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> This command is an alias of GNU `fold`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages/osx/gftp.md b/pages/osx/gftp.md new file mode 100644 index 00000000000000..cd75d484005f7d --- /dev/null +++ b/pages/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> This command is an alias of GNU `ftp`. + +- View documentation for the original command: + +`tldr ftp` diff --git a/pages/osx/ggrep.md b/pages/osx/ggrep.md new file mode 100644 index 00000000000000..daa3822166ad7a --- /dev/null +++ b/pages/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> This command is an alias of GNU `grep`. + +- View documentation for the original command: + +`tldr grep` diff --git a/pages/osx/ggroups.md b/pages/osx/ggroups.md new file mode 100644 index 00000000000000..680a3cdebe7a66 --- /dev/null +++ b/pages/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> This command is an alias of GNU `groups`. + +- View documentation for the original command: + +`tldr groups` diff --git a/pages/osx/ghead.md b/pages/osx/ghead.md new file mode 100644 index 00000000000000..186e95f066a432 --- /dev/null +++ b/pages/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> This command is an alias of GNU `head`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages/osx/ghostid.md b/pages/osx/ghostid.md new file mode 100644 index 00000000000000..c4fd11f6237e0d --- /dev/null +++ b/pages/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> This command is an alias of GNU `hostid`. + +- View documentation for the original command: + +`tldr hostid` diff --git a/pages/osx/ghostname.md b/pages/osx/ghostname.md new file mode 100644 index 00000000000000..8c7f6e6fdf6036 --- /dev/null +++ b/pages/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> This command is an alias of GNU `hostname`. + +- View documentation for the original command: + +`tldr hostname` diff --git a/pages/osx/gid.md b/pages/osx/gid.md new file mode 100644 index 00000000000000..d3863502e72871 --- /dev/null +++ b/pages/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> This command is an alias of GNU `id`. + +- View documentation for the original command: + +`tldr id` diff --git a/pages/osx/gifconfig.md b/pages/osx/gifconfig.md new file mode 100644 index 00000000000000..48441d58e3cf12 --- /dev/null +++ b/pages/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> This command is an alias of GNU `ifconfig`. + +- View documentation for the original command: + +`tldr ifconfig` diff --git a/pages/osx/gindent.md b/pages/osx/gindent.md new file mode 100644 index 00000000000000..f44d1f9751c99e --- /dev/null +++ b/pages/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> This command is an alias of GNU `indent`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages/osx/ginstall.md b/pages/osx/ginstall.md new file mode 100644 index 00000000000000..7bd7934c3bb74b --- /dev/null +++ b/pages/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> This command is an alias of GNU `install`. + +- View documentation for the original command: + +`tldr install` diff --git a/pages/osx/gjoin.md b/pages/osx/gjoin.md new file mode 100644 index 00000000000000..3afe2b8e309767 --- /dev/null +++ b/pages/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> This command is an alias of GNU `join`. + +- View documentation for the original command: + +`tldr join` diff --git a/pages/osx/gkill.md b/pages/osx/gkill.md new file mode 100644 index 00000000000000..8ad60744deb282 --- /dev/null +++ b/pages/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> This command is an alias of GNU `kill`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages/osx/glibtool.md b/pages/osx/glibtool.md new file mode 100644 index 00000000000000..e7c54b60459d8a --- /dev/null +++ b/pages/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> This command is an alias of GNU `libtool`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages/osx/glibtoolize.md b/pages/osx/glibtoolize.md new file mode 100644 index 00000000000000..2d2346869c56b2 --- /dev/null +++ b/pages/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> This command is an alias of GNU `libtoolize`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages/osx/glink.md b/pages/osx/glink.md new file mode 100644 index 00000000000000..671320a4620218 --- /dev/null +++ b/pages/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> This command is an alias of GNU `link`. + +- View documentation for the original command: + +`tldr link` diff --git a/pages/osx/gln.md b/pages/osx/gln.md new file mode 100644 index 00000000000000..e07f27ab75d501 --- /dev/null +++ b/pages/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> This command is an alias of GNU `ln`. + +- View documentation for the original command: + +`tldr ln` diff --git a/pages/osx/glocate.md b/pages/osx/glocate.md new file mode 100644 index 00000000000000..74c8ef21d5d449 --- /dev/null +++ b/pages/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> This command is an alias of GNU `locate`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages/osx/glogger.md b/pages/osx/glogger.md new file mode 100644 index 00000000000000..48907d7dbe1190 --- /dev/null +++ b/pages/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> This command is an alias of GNU `logger`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages/osx/glogname.md b/pages/osx/glogname.md new file mode 100644 index 00000000000000..f30e6f112fc420 --- /dev/null +++ b/pages/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> This command is an alias of GNU `logname`. + +- View documentation for the original command: + +`tldr logname` diff --git a/pages/osx/gls.md b/pages/osx/gls.md new file mode 100644 index 00000000000000..12bb0c6b414439 --- /dev/null +++ b/pages/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> This command is an alias of GNU `ls`. + +- View documentation for the original command: + +`tldr ls` diff --git a/pages/osx/gmake.md b/pages/osx/gmake.md new file mode 100644 index 00000000000000..7d26962b1399e0 --- /dev/null +++ b/pages/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> This command is an alias of GNU `make`. + +- View documentation for the original command: + +`tldr make` diff --git a/pages/osx/gmd5sum.md b/pages/osx/gmd5sum.md new file mode 100644 index 00000000000000..05acb9135eb275 --- /dev/null +++ b/pages/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> This command is an alias of GNU `md5sum`. + +- View documentation for the original command: + +`tldr md5sum` diff --git a/pages/osx/gmkdir.md b/pages/osx/gmkdir.md new file mode 100644 index 00000000000000..9fbd13944dadf7 --- /dev/null +++ b/pages/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> This command is an alias of GNU `mkdir`. + +- View documentation for the original command: + +`tldr mkdir` diff --git a/pages/osx/gmkfifo.md b/pages/osx/gmkfifo.md new file mode 100644 index 00000000000000..809b189b498404 --- /dev/null +++ b/pages/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> This command is an alias of GNU `mkfifo`. + +- View documentation for the original command: + +`tldr mkfifo` diff --git a/pages/osx/gmknod.md b/pages/osx/gmknod.md new file mode 100644 index 00000000000000..e0e6b53df84fb1 --- /dev/null +++ b/pages/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> This command is an alias of GNU `mknod`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages/osx/gmktemp.md b/pages/osx/gmktemp.md new file mode 100644 index 00000000000000..d2cfa35f602d4d --- /dev/null +++ b/pages/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> This command is an alias of GNU `mktemp`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages/osx/gmv.md b/pages/osx/gmv.md new file mode 100644 index 00000000000000..1cd78d1b0c1678 --- /dev/null +++ b/pages/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> This command is an alias of GNU `mv`. + +- View documentation for the original command: + +`tldr mv` diff --git a/pages/osx/gnice.md b/pages/osx/gnice.md new file mode 100644 index 00000000000000..f38772b5925965 --- /dev/null +++ b/pages/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> This command is an alias of GNU `nice`. + +- View documentation for the original command: + +`tldr nice` diff --git a/pages/osx/gnl.md b/pages/osx/gnl.md new file mode 100644 index 00000000000000..6dec63cdf39df6 --- /dev/null +++ b/pages/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> This command is an alias of GNU `nl`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages/osx/gnohup.md b/pages/osx/gnohup.md new file mode 100644 index 00000000000000..5e257488237b50 --- /dev/null +++ b/pages/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> This command is an alias of GNU `nohup`. + +- View documentation for the original command: + +`tldr nohup` diff --git a/pages/osx/gnproc.md b/pages/osx/gnproc.md new file mode 100644 index 00000000000000..388ebccd5fee74 --- /dev/null +++ b/pages/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> This command is an alias of GNU `nproc`. + +- View documentation for the original command: + +`tldr nproc` diff --git a/pages/osx/gnumfmt.md b/pages/osx/gnumfmt.md new file mode 100644 index 00000000000000..6b5c88b37a26a0 --- /dev/null +++ b/pages/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> This command is an alias of GNU `numfmt`. + +- View documentation for the original command: + +`tldr numfmt` diff --git a/pages/osx/god.md b/pages/osx/god.md new file mode 100644 index 00000000000000..241e98ad32caf9 --- /dev/null +++ b/pages/osx/god.md @@ -0,0 +1,7 @@ +# god + +> This command is an alias of GNU `od`. + +- View documentation for the original command: + +`tldr od` diff --git a/pages/osx/goku.md b/pages/osx/goku.md new file mode 100644 index 00000000000000..c2b604652d5db2 --- /dev/null +++ b/pages/osx/goku.md @@ -0,0 +1,28 @@ +# goku + +> Manage Karabiner configuration. +> More information: . + +- Generate `karabiner.json` using the default configuration: + +`goku` + +- Generate `karabiner.json` using the specific `config.edn` file: + +`goku --config {{path/to/config.edn}}` + +- Dry run the new configuration into `stdout` instead of updating `karabiner.json`: + +`goku --dry-run` + +- Dry run the whole configuration into `stdout` instead of updating `karabiner.json`: + +`goku --dry-run-all` + +- Display help: + +`goku --help` + +- Display version: + +`goku --version` diff --git a/pages/osx/gpaste.md b/pages/osx/gpaste.md new file mode 100644 index 00000000000000..1d41ed2dd4c79a --- /dev/null +++ b/pages/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> This command is an alias of GNU `paste`. + +- View documentation for the original command: + +`tldr paste` diff --git a/pages/osx/gpathchk.md b/pages/osx/gpathchk.md new file mode 100644 index 00000000000000..b1188d2ddbd961 --- /dev/null +++ b/pages/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> This command is an alias of GNU `pathchk`. + +- View documentation for the original command: + +`tldr pathchk` diff --git a/pages/osx/gping.md b/pages/osx/gping.md new file mode 100644 index 00000000000000..daf17db65cebf6 --- /dev/null +++ b/pages/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> This command is an alias of GNU `ping`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages/osx/gping6.md b/pages/osx/gping6.md new file mode 100644 index 00000000000000..7026c2b3966114 --- /dev/null +++ b/pages/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> This command is an alias of GNU `ping6`. + +- View documentation for the original command: + +`tldr ping6` diff --git a/pages/osx/gpinky.md b/pages/osx/gpinky.md new file mode 100644 index 00000000000000..653a0f71d6e14a --- /dev/null +++ b/pages/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> This command is an alias of GNU `pinky`. + +- View documentation for the original command: + +`tldr pinky` diff --git a/pages/osx/gpr.md b/pages/osx/gpr.md new file mode 100644 index 00000000000000..5bdfbc5cf1ddcc --- /dev/null +++ b/pages/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> This command is an alias of GNU `pr`. + +- View documentation for the original command: + +`tldr pr` diff --git a/pages/osx/gprintenv.md b/pages/osx/gprintenv.md new file mode 100644 index 00000000000000..a6ea36769c534c --- /dev/null +++ b/pages/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> This command is an alias of GNU `printenv`. + +- View documentation for the original command: + +`tldr printenv` diff --git a/pages/osx/gprintf.md b/pages/osx/gprintf.md new file mode 100644 index 00000000000000..e1105f70571ec8 --- /dev/null +++ b/pages/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> This command is an alias of GNU `printf`. + +- View documentation for the original command: + +`tldr printf` diff --git a/pages/osx/gptx.md b/pages/osx/gptx.md new file mode 100644 index 00000000000000..dec6caf6173051 --- /dev/null +++ b/pages/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> This command is an alias of GNU `ptx`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages/osx/gpwd.md b/pages/osx/gpwd.md new file mode 100644 index 00000000000000..cc5fca4a890394 --- /dev/null +++ b/pages/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> This command is an alias of GNU `pwd`. + +- View documentation for the original command: + +`tldr pwd` diff --git a/pages/osx/grcp.md b/pages/osx/grcp.md new file mode 100644 index 00000000000000..286898c2dc4120 --- /dev/null +++ b/pages/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> This command is an alias of GNU `rcp`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages/osx/greadlink.md b/pages/osx/greadlink.md new file mode 100644 index 00000000000000..36209a96321b94 --- /dev/null +++ b/pages/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> This command is an alias of GNU `readlink`. + +- View documentation for the original command: + +`tldr readlink` diff --git a/pages/osx/grealpath.md b/pages/osx/grealpath.md new file mode 100644 index 00000000000000..a6bdce91818760 --- /dev/null +++ b/pages/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> This command is an alias of GNU `realpath`. + +- View documentation for the original command: + +`tldr realpath` diff --git a/pages/osx/grexec.md b/pages/osx/grexec.md new file mode 100644 index 00000000000000..2d37e175cdb1ed --- /dev/null +++ b/pages/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> This command is an alias of GNU `rexec`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages/osx/grlogin.md b/pages/osx/grlogin.md new file mode 100644 index 00000000000000..acb695d2651108 --- /dev/null +++ b/pages/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> This command is an alias of GNU `rlogin`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages/osx/grm.md b/pages/osx/grm.md new file mode 100644 index 00000000000000..34c978cc1a515f --- /dev/null +++ b/pages/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> This command is an alias of GNU `rm`. + +- View documentation for the original command: + +`tldr rm` diff --git a/pages/osx/grmdir.md b/pages/osx/grmdir.md new file mode 100644 index 00000000000000..c6768c83cfda16 --- /dev/null +++ b/pages/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> This command is an alias of GNU `rmdir`. + +- View documentation for the original command: + +`tldr rmdir` diff --git a/pages/osx/grsh.md b/pages/osx/grsh.md new file mode 100644 index 00000000000000..cf2af2b7f58908 --- /dev/null +++ b/pages/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> This command is an alias of GNU `rsh`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages/osx/gruncon.md b/pages/osx/gruncon.md new file mode 100644 index 00000000000000..e57333ebf9aa9f --- /dev/null +++ b/pages/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> This command is an alias of GNU `runcon`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages/osx/gsed.md b/pages/osx/gsed.md new file mode 100644 index 00000000000000..046da55a64a10f --- /dev/null +++ b/pages/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> This command is an alias of GNU `sed`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages/osx/gseq.md b/pages/osx/gseq.md new file mode 100644 index 00000000000000..09952ad741c4fb --- /dev/null +++ b/pages/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> This command is an alias of GNU `seq`. + +- View documentation for the original command: + +`tldr seq` diff --git a/pages/osx/gsha1sum.md b/pages/osx/gsha1sum.md new file mode 100644 index 00000000000000..b2e9aae7d4b085 --- /dev/null +++ b/pages/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> This command is an alias of GNU `sha1sum`. + +- View documentation for the original command: + +`tldr sha1sum` diff --git a/pages/osx/gsha224sum.md b/pages/osx/gsha224sum.md new file mode 100644 index 00000000000000..64a76d0a1a6c2d --- /dev/null +++ b/pages/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> This command is an alias of GNU `sha224sum`. + +- View documentation for the original command: + +`tldr sha224sum` diff --git a/pages/osx/gsha256sum.md b/pages/osx/gsha256sum.md new file mode 100644 index 00000000000000..f57237442c467b --- /dev/null +++ b/pages/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> This command is an alias of GNU `sha256sum`. + +- View documentation for the original command: + +`tldr sha256sum` diff --git a/pages/osx/gsha384sum.md b/pages/osx/gsha384sum.md new file mode 100644 index 00000000000000..6bb969348499da --- /dev/null +++ b/pages/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> This command is an alias of GNU `sha384sum`. + +- View documentation for the original command: + +`tldr sha384sum` diff --git a/pages/osx/gsha512sum.md b/pages/osx/gsha512sum.md new file mode 100644 index 00000000000000..e9acb325dad659 --- /dev/null +++ b/pages/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> This command is an alias of GNU `sha512sum`. + +- View documentation for the original command: + +`tldr sha512sum` diff --git a/pages/osx/gshred.md b/pages/osx/gshred.md new file mode 100644 index 00000000000000..a6c10194cda823 --- /dev/null +++ b/pages/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> This command is an alias of GNU `shred`. + +- View documentation for the original command: + +`tldr shred` diff --git a/pages/osx/gshuf.md b/pages/osx/gshuf.md new file mode 100644 index 00000000000000..59bf82f26c0d78 --- /dev/null +++ b/pages/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> This command is an alias of GNU `shuf`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages/osx/gsleep.md b/pages/osx/gsleep.md new file mode 100644 index 00000000000000..1159119f4b364f --- /dev/null +++ b/pages/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> This command is an alias of GNU `sleep`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages/osx/gsort.md b/pages/osx/gsort.md new file mode 100644 index 00000000000000..bc0d687fc07527 --- /dev/null +++ b/pages/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> This command is an alias of GNU `sort`. + +- View documentation for the original command: + +`tldr sort` diff --git a/pages/osx/gsplit.md b/pages/osx/gsplit.md new file mode 100644 index 00000000000000..ff500eae70d0b8 --- /dev/null +++ b/pages/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> This command is an alias of GNU `split`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages/osx/gstat.md b/pages/osx/gstat.md new file mode 100644 index 00000000000000..b3802cdd3d64eb --- /dev/null +++ b/pages/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> This command is an alias of GNU `stat`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages/osx/gstdbuf.md b/pages/osx/gstdbuf.md new file mode 100644 index 00000000000000..beb338e76e7ffd --- /dev/null +++ b/pages/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> This command is an alias of GNU `stdbuf`. + +- View documentation for the original command: + +`tldr stdbuf` diff --git a/pages/osx/gstty.md b/pages/osx/gstty.md new file mode 100644 index 00000000000000..91f96ddcdfe3d3 --- /dev/null +++ b/pages/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> This command is an alias of GNU `stty`. + +- View documentation for the original command: + +`tldr stty` diff --git a/pages/osx/gsum.md b/pages/osx/gsum.md new file mode 100644 index 00000000000000..cdd159d454df9b --- /dev/null +++ b/pages/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> This command is an alias of GNU `sum`. + +- View documentation for the original command: + +`tldr sum` diff --git a/pages/osx/gsync.md b/pages/osx/gsync.md new file mode 100644 index 00000000000000..5dd0858c64e399 --- /dev/null +++ b/pages/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> This command is an alias of GNU `sync`. + +- View documentation for the original command: + +`tldr sync` diff --git a/pages/osx/gtac.md b/pages/osx/gtac.md new file mode 100644 index 00000000000000..8142010224b39a --- /dev/null +++ b/pages/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> This command is an alias of GNU `tac`. + +- View documentation for the original command: + +`tldr tac` diff --git a/pages/osx/gtail.md b/pages/osx/gtail.md new file mode 100644 index 00000000000000..608b8eaab389f2 --- /dev/null +++ b/pages/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> This command is an alias of GNU `tail`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages/osx/gtalk.md b/pages/osx/gtalk.md new file mode 100644 index 00000000000000..ca5f67100dcf55 --- /dev/null +++ b/pages/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> This command is an alias of GNU `talk`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages/osx/gtar.md b/pages/osx/gtar.md new file mode 100644 index 00000000000000..9a04f6e7e0e5f4 --- /dev/null +++ b/pages/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> This command is an alias of GNU `tar`. + +- View documentation for the original command: + +`tldr tar` diff --git a/pages/osx/gtee.md b/pages/osx/gtee.md new file mode 100644 index 00000000000000..b46e0caa2cfeb4 --- /dev/null +++ b/pages/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> This command is an alias of GNU `tee`. + +- View documentation for the original command: + +`tldr tee` diff --git a/pages/osx/gtelnet.md b/pages/osx/gtelnet.md new file mode 100644 index 00000000000000..d3550ba04ae65d --- /dev/null +++ b/pages/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> This command is an alias of GNU `telnet`. + +- View documentation for the original command: + +`tldr telnet` diff --git a/pages/osx/gtest.md b/pages/osx/gtest.md new file mode 100644 index 00000000000000..8d248fa0e3c5d5 --- /dev/null +++ b/pages/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> This command is an alias of GNU `test`. + +- View documentation for the original command: + +`tldr test` diff --git a/pages/osx/gtftp.md b/pages/osx/gtftp.md new file mode 100644 index 00000000000000..6d2da233a486ba --- /dev/null +++ b/pages/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> This command is an alias of GNU `tftp`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages/osx/gtime.md b/pages/osx/gtime.md new file mode 100644 index 00000000000000..f83c631cd0367c --- /dev/null +++ b/pages/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> This command is an alias of GNU `time`. + +- View documentation for the original command: + +`tldr time` diff --git a/pages/osx/gtimeout.md b/pages/osx/gtimeout.md new file mode 100644 index 00000000000000..cae2df2d4b25a8 --- /dev/null +++ b/pages/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> This command is an alias of GNU `timeout`. + +- View documentation for the original command: + +`tldr timeout` diff --git a/pages/osx/gtouch.md b/pages/osx/gtouch.md new file mode 100644 index 00000000000000..aa5e1a20f6c46c --- /dev/null +++ b/pages/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> This command is an alias of GNU `touch`. + +- View documentation for the original command: + +`tldr touch` diff --git a/pages/osx/gtr.md b/pages/osx/gtr.md new file mode 100644 index 00000000000000..a7c18623f3c6e7 --- /dev/null +++ b/pages/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> This command is an alias of GNU `tr`. + +- View documentation for the original command: + +`tldr tr` diff --git a/pages/osx/gtraceroute.md b/pages/osx/gtraceroute.md new file mode 100644 index 00000000000000..5d6f2e44efa322 --- /dev/null +++ b/pages/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> This command is an alias of GNU `traceroute`. + +- View documentation for the original command: + +`tldr traceroute` diff --git a/pages/osx/gtrue.md b/pages/osx/gtrue.md new file mode 100644 index 00000000000000..f1114eb35ef4f1 --- /dev/null +++ b/pages/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> This command is an alias of GNU `true`. + +- View documentation for the original command: + +`tldr true` diff --git a/pages/osx/gtruncate.md b/pages/osx/gtruncate.md new file mode 100644 index 00000000000000..627d7aca5b5d3c --- /dev/null +++ b/pages/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> This command is an alias of GNU `truncate`. + +- View documentation for the original command: + +`tldr truncate` diff --git a/pages/osx/gtsort.md b/pages/osx/gtsort.md new file mode 100644 index 00000000000000..9d3589f473cca4 --- /dev/null +++ b/pages/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> This command is an alias of GNU `tsort`. + +- View documentation for the original command: + +`tldr tsort` diff --git a/pages/osx/gtty.md b/pages/osx/gtty.md new file mode 100644 index 00000000000000..24f286bf65ba6b --- /dev/null +++ b/pages/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> This command is an alias of GNU `tty`. + +- View documentation for the original command: + +`tldr tty` diff --git a/pages/osx/guname.md b/pages/osx/guname.md new file mode 100644 index 00000000000000..ec2e8642a6c8fc --- /dev/null +++ b/pages/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> This command is an alias of GNU `uname`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages/osx/gunexpand.md b/pages/osx/gunexpand.md new file mode 100644 index 00000000000000..7f79db41b0bad4 --- /dev/null +++ b/pages/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> This command is an alias of GNU `unexpand`. + +- View documentation for the original command: + +`tldr unexpand` diff --git a/pages/osx/guniq.md b/pages/osx/guniq.md new file mode 100644 index 00000000000000..94b262a433bb57 --- /dev/null +++ b/pages/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> This command is an alias of GNU `uniq`. + +- View documentation for the original command: + +`tldr uniq` diff --git a/pages/osx/gunits.md b/pages/osx/gunits.md new file mode 100644 index 00000000000000..f75fbf998a0e98 --- /dev/null +++ b/pages/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> This command is an alias of GNU `units`. + +- View documentation for the original command: + +`tldr units` diff --git a/pages/osx/gunlink.md b/pages/osx/gunlink.md new file mode 100644 index 00000000000000..cd0fd3e9d5d0f8 --- /dev/null +++ b/pages/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> This command is an alias of GNU `unlink`. + +- View documentation for the original command: + +`tldr unlink` diff --git a/pages/osx/gupdatedb.md b/pages/osx/gupdatedb.md new file mode 100644 index 00000000000000..25c2b32a64606c --- /dev/null +++ b/pages/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> This command is an alias of GNU `updatedb`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages/osx/guptime.md b/pages/osx/guptime.md new file mode 100644 index 00000000000000..bf32d30f86cefb --- /dev/null +++ b/pages/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> This command is an alias of GNU `uptime`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages/osx/gusers.md b/pages/osx/gusers.md new file mode 100644 index 00000000000000..9ab1cf5099c0f0 --- /dev/null +++ b/pages/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> This command is an alias of GNU `users`. + +- View documentation for the original command: + +`tldr users` diff --git a/pages/osx/gvdir.md b/pages/osx/gvdir.md new file mode 100644 index 00000000000000..d22ce5aa2462bb --- /dev/null +++ b/pages/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> This command is an alias of GNU `vdir`. + +- View documentation for the original command: + +`tldr vdir` diff --git a/pages/osx/gwc.md b/pages/osx/gwc.md new file mode 100644 index 00000000000000..a5ccd6e1b7b72b --- /dev/null +++ b/pages/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> This command is an alias of GNU `wc`. + +- View documentation for the original command: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages/osx/gwhich.md b/pages/osx/gwhich.md new file mode 100644 index 00000000000000..99e7aca2421957 --- /dev/null +++ b/pages/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> This command is an alias of GNU `which`. + +- View documentation for the original command: + +`tldr which` diff --git a/pages/osx/gwho.md b/pages/osx/gwho.md new file mode 100644 index 00000000000000..69cb0ed3e4017e --- /dev/null +++ b/pages/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> This command is an alias of GNU `who`. + +- View documentation for the original command: + +`tldr who` diff --git a/pages/osx/gwhoami.md b/pages/osx/gwhoami.md new file mode 100644 index 00000000000000..932b0e19c55dbf --- /dev/null +++ b/pages/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> This command is an alias of GNU `whoami`. + +- View documentation for the original command: + +`tldr whoami` diff --git a/pages/osx/gwhois.md b/pages/osx/gwhois.md new file mode 100644 index 00000000000000..3ce4922dec2130 --- /dev/null +++ b/pages/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> This command is an alias of GNU `whois`. + +- View documentation for the original command: + +`tldr whois` diff --git a/pages/osx/gxargs.md b/pages/osx/gxargs.md new file mode 100644 index 00000000000000..5b0c9338301361 --- /dev/null +++ b/pages/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> This command is an alias of GNU `xargs`. + +- View documentation for the original command: + +`tldr xargs` diff --git a/pages/osx/gyes.md b/pages/osx/gyes.md new file mode 100644 index 00000000000000..21f4a1f4c1ea62 --- /dev/null +++ b/pages/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> This command is an alias of GNU `yes`. + +- View documentation for the original command: + +`tldr yes` diff --git a/pages/osx/hdiutil.md b/pages/osx/hdiutil.md index 9d1107067a020a..11c6b7bce7c5c2 100644 --- a/pages/osx/hdiutil.md +++ b/pages/osx/hdiutil.md @@ -1,6 +1,7 @@ # hdiutil > Utility to create and manage disk images. +> More information: . - Mount an image: @@ -8,7 +9,7 @@ - Unmount an image: -`hdiutil detach /Volumes/{{volume_name}}` +`hdiutil detach /Volumes/{{volume_file}}` - List mounted images: diff --git a/pages/osx/head.md b/pages/osx/head.md index 993a1f8f1dd7af..78fa4e7c49d2fb 100644 --- a/pages/osx/head.md +++ b/pages/osx/head.md @@ -1,11 +1,20 @@ # head > Output the first part of files. +> More information: . - Output the first few lines of a file: -`head -n {{count_of_lines}} {{filename}}` +`head {{[-n|--lines]}} {{8}} {{path/to/file}}` - Output the first few bytes of a file: -`head -c {{number_in_bytes}} {{filename}}` +`head {{[-c|--bytes]}} {{8}} {{path/to/file}}` + +- Output everything but the last few lines of a file: + +`head {{[-n|--lines]}} -{{8}} {{path/to/file}}` + +- Output everything but the last few bytes of a file: + +`head {{[-c|--bytes]}} -{{8}} {{path/to/file}}` diff --git a/pages/osx/herd-list.md b/pages/osx/herd-list.md new file mode 100644 index 00000000000000..33313f30b934ad --- /dev/null +++ b/pages/osx/herd-list.md @@ -0,0 +1,25 @@ +# herd list + +> List available commands in the Herd PHP platform. +> See also: `herd`. +> More information: . + +- List all available commands: + +`herd list` + +- List all available commands in a specific namespace: + +`herd list {{namespace}}` + +- List all commands in raw format (useful for embedding a command runner): + +`herd list --raw` + +- Display the list in a specific output format: + +`herd list --format {{txt|xml|json|md}}` + +- List all commands without describing their arguments: + +`herd list --short` diff --git a/pages/osx/herd.md b/pages/osx/herd.md new file mode 100644 index 00000000000000..9b2badc033c77e --- /dev/null +++ b/pages/osx/herd.md @@ -0,0 +1,28 @@ +# herd + +> An official Laravel PHP development environment for macOS. +> More information: . + +- Start the Herd services: + +`herd start` + +- Stop the Herd services: + +`herd stop` + +- Restart the Herd services: + +`herd restart` + +- Link the current working directory to Herd: + +`herd link` + +- Open the site for the current directory in the browser: + +`herd open` + +- List all available commands: + +`herd list` diff --git a/pages/osx/hexdump.md b/pages/osx/hexdump.md deleted file mode 100644 index b0463261cfcb6e..00000000000000 --- a/pages/osx/hexdump.md +++ /dev/null @@ -1,15 +0,0 @@ -# hexdump - -> An ASCII, decimal, hexadecimal, octal dump. - -- Print the hexadecimal representation of a file: - -`hexdump {{file}}` - -- Display the input offset in hexadecimal and its ASCII representation in two columns: - -`hexdump -C {{file}}` - -- Display the hexadecimal representation of a file, but interpret only n bytes of the input: - -`hexdump -C -n{{number_of_bytes}} {{file}}` diff --git a/pages/osx/hidd.md b/pages/osx/hidd.md new file mode 100644 index 00000000000000..9f20cfbb8ef9a9 --- /dev/null +++ b/pages/osx/hidd.md @@ -0,0 +1,9 @@ +# hidd + +> HID library userland daemon. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`hidd` diff --git a/pages/osx/hostname.md b/pages/osx/hostname.md deleted file mode 100644 index 88d0981d6bddfe..00000000000000 --- a/pages/osx/hostname.md +++ /dev/null @@ -1,11 +0,0 @@ -# hostname - -> Show or set the system's host name. - -- Show current host name: - -`hostname` - -- Set current host name: - -`hostname {{new_hostname}}` diff --git a/pages/osx/icalbuddy.md b/pages/osx/icalbuddy.md index 03ba88c0a713c2..c39768368e811b 100644 --- a/pages/osx/icalbuddy.md +++ b/pages/osx/icalbuddy.md @@ -5,7 +5,7 @@ - Show events later today: -`icalBuddy -n eventsToday` +`icalBuddy --includeOnlyEventsFromNowOn eventsToday` - Show uncompleted tasks: @@ -13,12 +13,12 @@ - Show a formatted list separated by calendar for all events today: -`icalBuddy -f -sc eventsToday` +`icalBuddy --formatOutput --separateByCalendar eventsToday` - Show tasks for a specified number of days: -`icalBuddy -n tasksDueBefore:today+{{days}}` +`icalBuddy --includeOnlyEventsFromNowOn "tasksDueBefore:today+{{number_of_days}}"` - Show events in a time range: -`icalBuddy eventsFrom:'{{start_date}}' to:'{{end_date}}'` +`icalBuddy eventsFrom:{{start_date}} to:{{end_date}}` diff --git a/pages/osx/imgcat.md b/pages/osx/imgcat.md deleted file mode 100644 index 0b97ee824eb1c2..00000000000000 --- a/pages/osx/imgcat.md +++ /dev/null @@ -1,8 +0,0 @@ -# imgcat - -> A utility to display images directly on the command line. -> Requires a compatible terminal such as iTerm2. - -- Display an image on the command line: - -`imgcat {{filename}}` diff --git a/pages/osx/indent.md b/pages/osx/indent.md index cf9d91a349cb54..096dbda36b7918 100644 --- a/pages/osx/indent.md +++ b/pages/osx/indent.md @@ -1,12 +1,12 @@ # indent > Change the appearance of a C/C++ program by inserting or deleting whitespace. -> More information: . +> More information: . - Format C/C++ source according to the Berkeley style: -`indent {{path/to/source.c}} {{path/to/indented_source.c}} -nbad -nbap -bc -br -c33 -cd33 -cdb -ce -ci4 -cli0 -di16 -fc1 -fcb -i4 -ip -l75 -lp -npcs -nprs -psl -sc -nsob -ts8` +`indent {{path/to/source_file.c}} {{path/to/indented_file.c}} -nbad -nbap -bc -br -c33 -cd33 -cdb -ce -ci4 -cli0 -di16 -fc1 -fcb -i4 -ip -l75 -lp -npcs -nprs -psl -sc -nsob -ts8` -- Format C/C++ source according to the style of Kernigan & Ritchie (K&R): +- Format C/C++ source according to the style of Kernighan & Ritchie (K&R): -`indent {{path/to/source.c}} {{path/to/indented_source.c}} -nbad -bap -nbc -br -c33 -cd33 -ncdb -ce -ci4 -cli0 -cs -d0 -di1 -nfc1 -nfcb -i4 -nip -l75 -lp -npcs -nprs -npsl -nsc -nsob` +`indent {{path/to/source_file.c}} {{path/to/indented_file.c}} -nbad -bap -nbc -br -c33 -cd33 -ncdb -ce -ci4 -cli0 -cs -d0 -di1 -nfc1 -nfcb -i4 -nip -l75 -lp -npcs -nprs -npsl -nsc -nsob` diff --git a/pages/osx/internetsharing.md b/pages/osx/internetsharing.md new file mode 100644 index 00000000000000..8ca89d55c76ed8 --- /dev/null +++ b/pages/osx/internetsharing.md @@ -0,0 +1,9 @@ +# InternetSharing + +> Set up Internet Sharing. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`InternetSharing` diff --git a/pages/osx/iostat.md b/pages/osx/iostat.md new file mode 100644 index 00000000000000..d5119a516f7c1c --- /dev/null +++ b/pages/osx/iostat.md @@ -0,0 +1,32 @@ +# iostat + +> Report statistics for devices. +> More information: . + +- Display snapshot device statistics (kilobytes per transfer, transfers per second, megabytes per second), CPU statistics (percentages of time spent in user mode, system mode, and idle mode), and system load averages (for the past 1, 5, and 15 min): + +`iostat` + +- Display only device statistics: + +`iostat -d` + +- Display incremental reports of CPU and disk statistics every 2 seconds: + +`iostat 2` + +- Display statistics for the first disk every second indefinitely: + +`iostat -w 1 disk0` + +- Display statistics for the second disk every 3 seconds, 10 times: + +`iostat -w 3 -c 10 disk1` + +- Display using old-style `iostat` display. Shows sectors transferred per second, transfers per second, average milliseconds per transaction, and CPU statistics + load averages from default-style display: + +`iostat -o` + +- Display total device statistics (KB/t: kilobytes per transfer as before, xfrs: total number of transfers, MB: total number of megabytes transferred): + +`iostat -I` diff --git a/pages/osx/ipconfig.md b/pages/osx/ipconfig.md new file mode 100644 index 00000000000000..726dce89980709 --- /dev/null +++ b/pages/osx/ipconfig.md @@ -0,0 +1,12 @@ +# ipconfig + +> View and control IP configuration state. +> More information: . + +- List all network interfaces: + +`ipconfig getiflist` + +- Show the IP address of an interface: + +`ipconfig getifaddr {{interface_name}}` diff --git a/pages/osx/istats.md b/pages/osx/istats.md index 94ccef6a6a8b3b..5ce546045906c2 100644 --- a/pages/osx/istats.md +++ b/pages/osx/istats.md @@ -1,6 +1,6 @@ # istats -> CLI tool that shows statistics such as CPU temperature, fan speeds and battery status. +> Show various statistics such as the CPU temperature, fan speeds and battery status. > More information: . - Show all the stats: diff --git a/pages/osx/java_home.md b/pages/osx/java_home.md new file mode 100644 index 00000000000000..9561a32c93bf3b --- /dev/null +++ b/pages/osx/java_home.md @@ -0,0 +1,24 @@ +# java_home + +> Return a value for $JAVA_HOME or execute command using this variable. +> More information: . + +- List JVMs based on a specific version: + +`java_home --version {{1.5+}}` + +- List JVMs based on a specific [arch]itecture: + +`java_home --arch {{i386}}` + +- List JVMs based on a specific tasks (defaults to `CommandLine`): + +`java_home --datamodel {{Applets|WebStart|BundledApp|JNI|CommandLine}}` + +- List JVMs in a XML format: + +`java_home --xml` + +- Display help: + +`java_home --help` diff --git a/pages/osx/kmutil.md b/pages/osx/kmutil.md new file mode 100644 index 00000000000000..5cc09eae47d1ca --- /dev/null +++ b/pages/osx/kmutil.md @@ -0,0 +1,28 @@ +# kmutil + +> Utility for managing kernel extensions (kexts) and kext collections on disk. +> More information: . + +- Find kexts available on the operating system: + +`kmutil find` + +- Display logging information about the Kernel Management sub-system: + +`kmutil log` + +- Inspect and display a kext collection's contents according to the options provided: + +`kmutil inspect {{options}}` + +- Check the consistency of kext collections against each other: + +`kmutil check` + +- Dump kernelmanagerd state for debugging: + +`sudo kmutil dumpstate` + +- Load one or more extensions based on the bundle specified at this path in the results: + +`kmutil load --bundle-path {{path/to/extension.kext}}` diff --git a/pages/osx/launchctl.md b/pages/osx/launchctl.md index 34b4f0ed05d09f..5a0688762ddf5e 100644 --- a/pages/osx/launchctl.md +++ b/pages/osx/launchctl.md @@ -1,7 +1,8 @@ # launchctl -> A command-line interface to Apple's `launchd` manager for launch daemons (system-wide services) and launch agents (per-user programs). +> Control Apple's `launchd` manager for launch daemons (system-wide services) and launch agents (per-user programs). > `launchd` loads XML-based `*.plist` files placed in the appropriate locations, and runs the corresponding commands according to their defined schedule. +> More information: . - Activate a user-specific agent to be loaded into `launchd` whenever the user logs in: @@ -19,14 +20,14 @@ `launchctl list` -- Unload a currently loaded agent, e.g. to make changes (note: the plist file is automatically loaded into `launchd` after a reboot and/or logging in): +- Unload a currently loaded agent, e.g. to make changes (Note: The plist file is automatically loaded into `launchd` after a reboot and/or logging in): `launchctl unload ~/Library/LaunchAgents/{{my_script}}.plist` -- Manually run a known (loaded) agent/daemon, even if it is not the right time (note: this command uses the agent's label, rather than the filename): +- Manually run a known (loaded) agent/daemon, even if it is not the right time (Note: This command uses the agent's label, rather than the filename): -`launchctl start {{my_script}}` +`launchctl start {{script_file}}` - Manually kill the process associated with a known agent/daemon, if it is running: -`launchctl stop {{my_script}}` +`launchctl stop {{script_file}}` diff --git a/pages/osx/launchd.md b/pages/osx/launchd.md new file mode 100644 index 00000000000000..321c8431f3a3b7 --- /dev/null +++ b/pages/osx/launchd.md @@ -0,0 +1,13 @@ +# launchd + +> Manages processes, both for the system and users. +> You cannot invoke launchd manually, use launchctl to interact with it. +> More information: . + +- Run init: + +`/sbin/launchd` + +- View documentation for interacting with launchd using launchctl: + +`tldr launchctl` diff --git a/pages/osx/lipo.md b/pages/osx/lipo.md new file mode 100644 index 00000000000000..af23c08250f937 --- /dev/null +++ b/pages/osx/lipo.md @@ -0,0 +1,20 @@ +# lipo + +> Handle Mach-O Universal Binaries. +> More information: . + +- Create a universal file from two single-architecture files: + +`lipo {{path/to/binary_file.x86_64}} {{path/to/binary_file.arm64e}} -create -output {{path/to/binary_file}}` + +- List all architectures contained in a universal file: + +`lipo {{path/to/binary_file}} -archs` + +- Display detailed information about a universal file: + +`lipo {{path/to/binary_file}} -detailed_info` + +- Extract a single-architecture file from a universal file: + +`lipo {{path/to/binary_file}} -thin {{arm64e}} -output {{path/to/binary_file.arm64e}}` diff --git a/pages/osx/lldb.md b/pages/osx/lldb.md index 8255dc7e368e5b..e06333940aaa9c 100644 --- a/pages/osx/lldb.md +++ b/pages/osx/lldb.md @@ -1,10 +1,11 @@ # lldb > The LLVM Low-Level Debugger. +> More information: . - Debug an executable: -`lldb {{executable}}` +`lldb "{{executable}}"` - Attach `lldb` to a running process with a given PID: @@ -12,4 +13,4 @@ - Wait for a new process to launch with a given name, and attach to it: -`lldb -w -n {{process_name}}` +`lldb -w -n "{{process_name}}"` diff --git a/pages/osx/llvm-lipo.md b/pages/osx/llvm-lipo.md new file mode 100644 index 00000000000000..98a34e4097eb97 --- /dev/null +++ b/pages/osx/llvm-lipo.md @@ -0,0 +1,7 @@ +# llvm-lipo + +> This command is an alias of `lipo`. + +- View documentation for the original command: + +`tldr lipo` diff --git a/pages/osx/locate.md b/pages/osx/locate.md index aaa66a987538bd..3387169696b64e 100644 --- a/pages/osx/locate.md +++ b/pages/osx/locate.md @@ -1,10 +1,11 @@ # locate > Find filenames quickly. +> More information: . -- Look for pattern in the database. Note: the database is recomputed periodically (usually weekly or daily): +- Look for pattern in the database. Note: The database is recomputed periodically (usually weekly or daily): -`locate {{pattern}}` +`locate "{{pattern}}"` - Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`): diff --git a/pages/osx/log.md b/pages/osx/log.md new file mode 100644 index 00000000000000..0d5739d9c4be6c --- /dev/null +++ b/pages/osx/log.md @@ -0,0 +1,20 @@ +# log + +> View, export, and configure logging systems. +> More information: . + +- Stream live system logs: + +`log stream` + +- Stream logs sent to `syslog` from the process with a specific PID: + +`log stream --process {{process_id}}` + +- Show logs sent to syslog from a process with a specific name: + +`log show --predicate "process == '{{process_name}}'"` + +- Export all logs to disk for the past hour: + +`sudo log collect --last {{1h}} --output {{path/to/file.logarchive}}` diff --git a/pages/osx/logger.md b/pages/osx/logger.md deleted file mode 100644 index b7d1bc772cced1..00000000000000 --- a/pages/osx/logger.md +++ /dev/null @@ -1,23 +0,0 @@ -# logger - -> Add messages to syslog (/var/log/syslog). - -- Log a message to syslog: - -`logger {{message}}` - -- Take input from `stdin` and log to syslog: - -`echo {{log_entry}} | logger` - -- Send the output to a remote syslog server running at a given port. Default port is 514: - -`echo {{log_entry}} | logger -h {{hostname}} -P {{port}}` - -- Use a specific tag for every line logged. Default is the name of logged in user: - -`echo {{log_entry}} | logger -t {{tag}}` - -- Log messages with a given priority. Default is `user.notice`. See `man logger` for all priority options: - -`echo {{log_entry}} | logger -p {{user.warning}}` diff --git a/pages/osx/look.md b/pages/osx/look.md index 3ef7c169dd76b0..a72c5b57c55b3d 100644 --- a/pages/osx/look.md +++ b/pages/osx/look.md @@ -1,11 +1,21 @@ # look -> Look for lines in sorted file. +> Display lines beginning with a prefix in a sorted file. +> See also: `grep`, `sort`. +> More information: . -- Look for lines which begins with the given prefix: +- Search for lines beginning with a specific prefix in a specific file: -`look {{prefix}} {{file}}` +`look {{prefix}} {{path/to/file}}` -- Look for lines ignoring case: +- Case-insensitively search only on alphanumeric characters: -`look -f {{prefix}} {{file}}` +`look {{[-f|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{path/to/file}}` + +- Specify a string termination character (space by default): + +`look {{[-t|--terminate]}} {{,}}` + +- Search in `/usr/share/dict/words` (`--ignore-case` and `--alphanum` are assumed): + +`look {{prefix}}` diff --git a/pages/osx/lpstat.md b/pages/osx/lpstat.md new file mode 100644 index 00000000000000..4cc5ddc4bd2e11 --- /dev/null +++ b/pages/osx/lpstat.md @@ -0,0 +1,24 @@ +# lpstat + +> Display status information about the current classes, jobs, and printers. +> More information: . + +- Show a long listing of printers, classes, and jobs: + +`lpstat -l` + +- Force encryption when connecting to the CUPS server: + +`lpstat -E` + +- Show the ranking of print jobs: + +`lpstat -R` + +- Show whether or not the CUPS server is running: + +`lpstat -r` + +- Show all status information: + +`lpstat -t` diff --git a/pages/osx/lsappinfo.md b/pages/osx/lsappinfo.md new file mode 100644 index 00000000000000..5a4eee913c8b95 --- /dev/null +++ b/pages/osx/lsappinfo.md @@ -0,0 +1,16 @@ +# lsappinfo + +> Control and query CoreApplicationServices about the app state on the system. +> More information: . + +- List all running applications with their details: + +`lsappinfo list` + +- Show the front application: + +`lsappinfo front` + +- Show the information for a specific application: + +`lsappinfo info {{com.apple.calculator}}` diff --git a/pages/osx/m.md b/pages/osx/m.md index d790c6fbbfca1a..be7ad70308205a 100644 --- a/pages/osx/m.md +++ b/pages/osx/m.md @@ -1,12 +1,13 @@ # m > Swiss Army Knife for macOS. +> More information: . - Get the battery status: `m battery status` -- Turn off bluetooth: +- Turn off Bluetooth: `m bluetooth off` diff --git a/pages/osx/mac-cleanup.md b/pages/osx/mac-cleanup.md new file mode 100644 index 00000000000000..9e4fa5204f5a96 --- /dev/null +++ b/pages/osx/mac-cleanup.md @@ -0,0 +1,24 @@ +# mac-cleanup + +> A modern macOS cleanup tool to remove caches and junk. +> More information: . + +- Start the cleanup process: + +`mac-cleanup` + +- Open the module configuration screen: + +`mac-cleanup {{[-c|--configure]}}` + +- Perform a dry-run, showing what will be removed without actually deleting it: + +`mac-cleanup {{[-n|--dry-run]}}` + +- Specify the directory with custom cleanup path: + +`mac-cleanup {{[-p|--custom-path]}} {{path/to/directory}}` + +- Automatically acknowledge all warnings and continue with force: + +`mac-cleanup {{[-f|--force]}}` diff --git a/pages/osx/machine.md b/pages/osx/machine.md new file mode 100644 index 00000000000000..a66b768672b6f8 --- /dev/null +++ b/pages/osx/machine.md @@ -0,0 +1,8 @@ +# machine + +> Print machine type. +> More information: . + +- Print CPU architecture: + +`machine` diff --git a/pages/osx/mas.md b/pages/osx/mas.md index a567e25f958a91..2e33e9b38d8021 100644 --- a/pages/osx/mas.md +++ b/pages/osx/mas.md @@ -1,11 +1,11 @@ # mas -> Command line interface for the Mac App Store. +> Command-line interface for the Mac App Store. > More information: . - Sign into the Mac App Store for the first time: -`mas signin {{user@example.com}}` +`mas signin "{{user@example.com}}"` - Show all installed applications and their product identifiers: @@ -13,12 +13,24 @@ - Search for an application, displaying the price alongside the results: -`mas search {{application}} --price` +`mas search "{{application}}" --price` -- Install or update an application: +- Install or update an application using exact numeric id: -`mas install {{product_identifier}}` +`mas install {{numeric_product_id}}` + +- Install the first application that would be returned by the respective search: + +`mas lucky "{{search_term}}"` + +- List all outdated apps with pending updates: + +`mas outdated` - Install all pending updates: `mas upgrade` + +- Upgrade a specific application: + +`mas upgrade "{{numeric_product_id}}"` diff --git a/pages/osx/mate.md b/pages/osx/mate.md new file mode 100644 index 00000000000000..981985254b879e --- /dev/null +++ b/pages/osx/mate.md @@ -0,0 +1,24 @@ +# mate + +> General-purpose text editor for macOS. +> More information: . + +- Start TextMate: + +`mate` + +- Open specific files: + +`mate {{path/to/file1 path/to/file2 ...}}` + +- Specify the filetype of a file: + +`mate --type {{filetype}} {{path/to/file}}` + +- Open and wait until finished editing a specific file: + +`mate --wait {{path/to/file}}` + +- Open a file with the cursor at a specific line and column: + +`mate --line {{line_number}}:{{column_number}} {{path/to/file}}` diff --git a/pages/osx/md5.md b/pages/osx/md5.md index 8e7da5b2665c9d..0b1138fe6b7597 100644 --- a/pages/osx/md5.md +++ b/pages/osx/md5.md @@ -1,19 +1,20 @@ # md5 > Calculate MD5 cryptographic checksums. +> More information: . - Calculate the MD5 checksum for a file: -`md5 {{filename}}` +`md5 {{path/to/file}}` - Calculate MD5 checksums for multiple files: -`md5 {{filename1}} {{filename2}}` +`md5 {{path/to/file1 path/to/file2 ...}}` - Output only the md5 checksum (no filename): -`md5 -q {{filename}}` +`md5 -q {{path/to/file}}` - Print a checksum of the given string: -`md5 -s {{string}}` +`md5 -s "{{string}}"` diff --git a/pages/osx/mdfind.md b/pages/osx/mdfind.md index 2fc2ada13caf0c..eac66336a8e1ec 100644 --- a/pages/osx/mdfind.md +++ b/pages/osx/mdfind.md @@ -1,6 +1,7 @@ # mdfind -> List files matching a given query. +> List files matching a query. +> More information: . - Find a file by its name: @@ -8,8 +9,8 @@ - Find a file by its content: -`mdfind {{query}}` +`mdfind "{{query}}"` - Find a file containing a string, in a given directory: -`mdfind -onlyin {{directory}} {{query}}` +`mdfind -onlyin {{directory}} "{{query}}"` diff --git a/pages/osx/mdls.md b/pages/osx/mdls.md index 0fc113c29c8a8e..c5b83e754ce231 100644 --- a/pages/osx/mdls.md +++ b/pages/osx/mdls.md @@ -1,6 +1,7 @@ # mdls > Display the metadata attributes for a file. +> More information: . - Display the list of metadata attributes for file: diff --git a/pages/osx/mdutil.md b/pages/osx/mdutil.md index 76c4b35ac35ded..bb5de9a5592d7a 100644 --- a/pages/osx/mdutil.md +++ b/pages/osx/mdutil.md @@ -1,6 +1,7 @@ # mdutil > Manage the metadata stores used by Spotlight for indexing. +> More information: . - Show the indexing status of the startup volume: diff --git a/pages/osx/mist.md b/pages/osx/mist.md new file mode 100644 index 00000000000000..3832a53e381799 --- /dev/null +++ b/pages/osx/mist.md @@ -0,0 +1,37 @@ +# mist + +> MIST - macOS Installer Super Tool. +> Automatically download macOS Firmwares/Installers. +> More information: . + +- List all available macOS Firmwares for Apple Silicon Macs: + +`mist list firmware` + +- List all available macOS Installers for Intel Macs, including Universal Installers for macOS Big Sur and later: + +`mist list installer` + +- List all macOS Installers that are compatible with this Mac, including Universal Installers for macOS Big Sur and later: + +`mist list installer --compatible` + +- List all available macOS Installers for Intel Macs, including betas, also including Universal Installers for macOS Big Sur and later: + +`mist list installer --include-betas` + +- List only the latest macOS Sonoma Installer for Intel Macs, including Universal Installers for macOS Big Sur and later: + +`mist list installer --latest "macOS Sonoma"` + +- List and export macOS Installers to a CSV file: + +`mist list installer --export "/{{path/to/export.csv}}"` + +- Download the latest macOS Sonoma Firmware for Apple Silicon Macs, with a custom name: + +`mist download firmware "macOS Sonoma" --firmware-name "{{Install %NAME% %VERSION%-%BUILD%.ipsw}}"` + +- Download a specific macOS Installer version for Intel Macs, including Universal Installers for macOS Big Sur and later: + +`mist download installer "{{13.5.2}}" application` diff --git a/pages/osx/mkfile.md b/pages/osx/mkfile.md deleted file mode 100644 index 47668d942851df..00000000000000 --- a/pages/osx/mkfile.md +++ /dev/null @@ -1,15 +0,0 @@ -# mkfile - -> Create one or more empty files of any size. - -- Create an empty file of 15 kilobytes: - -`mkfile -n {{15k}} {{filename}}` - -- Create a file of a given size and unit (bytes, KB, MB, GB): - -`mkfile -n {{size}}{{b|k|m|g}} {{filename}}` - -- Create two files of 4 megabytes each: - -`mkfile -n {{4m}} {{first_filename}} {{second_filename}}` diff --git a/pages/osx/mktemp.md b/pages/osx/mktemp.md new file mode 100644 index 00000000000000..ed225d872d4a2c --- /dev/null +++ b/pages/osx/mktemp.md @@ -0,0 +1,24 @@ +# mktemp + +> Create a temporary file or directory. +> More information: . + +- Create an empty temporary file and print its absolute path: + +`mktemp` + +- Use a custom directory (defaults to the output of `getconf DARWIN_USER_TEMP_DIR`, or `/tmp`): + +`mktemp --tmpdir /{{path/to/temporary_directory}}` + +- Use a custom path template (`X`s are replaced with random alphanumeric characters): + +`mktemp {{/tmp/example.XXXXXXXX}}` + +- Use a custom file name prefix: + +`mktemp -t {{example}}` + +- Create an empty temporary directory and print its absolute path: + +`mktemp --directory` diff --git a/pages/osx/mysides.md b/pages/osx/mysides.md new file mode 100644 index 00000000000000..f206e4db3d9836 --- /dev/null +++ b/pages/osx/mysides.md @@ -0,0 +1,24 @@ +# mysides + +> Add, list and remove finder favorites. +> More information: . + +- List sidebar favorites: + +`mysides list` + +- Add a new item to the end of the sidebar favorites: + +`mysides add {{example}} {{file:///Users/Shared/example}}` + +- Remove an item by name: + +`mysides remove {{example}}` + +- Add the current directory to the sidebar: + +`mysides add $(basename $(pwd)) file:///$(pwd)` + +- Remove the current directory from the sidebar: + +`mysides remove $(basename $(pwd))` diff --git a/pages/osx/n.md b/pages/osx/n.md deleted file mode 100644 index cc3db8f9f5666d..00000000000000 --- a/pages/osx/n.md +++ /dev/null @@ -1,23 +0,0 @@ -# n - -> Tool to manage multiple node versions. - -- Install a given version of node. If the version is already installed, it will be activated: - -`n {{version}}` - -- Display installed versions and interactively activate one of them: - -`n` - -- Remove a version: - -`n rm {{version}}` - -- Execute a file with a given version: - -`n use {{version}} {{file.js}}` - -- Output binary path for a version: - -`n bin {{version}}` diff --git a/pages/osx/netstat.md b/pages/osx/netstat.md index d8e3aadf3aecc2..1b6e942260f64b 100644 --- a/pages/osx/netstat.md +++ b/pages/osx/netstat.md @@ -1,23 +1,17 @@ # netstat -> Displays network-related information such as open connections, open socket ports, etc. +> Display network-related information such as open connections, open socket ports, etc. +> See also: `lsof` for listing network connections, including listening ports. +> More information: . -- List all ports: - -`netstat -a` - -- List all listening ports: - -`netstat -l` - -- List listening TCP ports: - -`netstat -t` - -- Display PID and program names for a specific protocol: +- Display the PID and program name listening on a specific protocol: `netstat -p {{protocol}}` -- Print the routing table: +- Print the routing table and do not resolve IP addresses to hostnames: `netstat -nr` + +- Print the routing table of IPv4 addresses: + +`netstat -nr -f inet` diff --git a/pages/osx/nettop.md b/pages/osx/nettop.md new file mode 100644 index 00000000000000..8cd2a0102af856 --- /dev/null +++ b/pages/osx/nettop.md @@ -0,0 +1,36 @@ +# nettop + +> Display updated information about the network. +> More information: . + +- Monitor TCP and UDP sockets from all interfaces: + +`nettop` + +- Monitor TCP sockets from Loopback interfaces: + +`nettop -m {{tcp}} -t {{loopback}}` + +- Monitor a specific process: + +`nettop -p "{{process_id|process_name}}"` + +- Display a per-process summary: + +`nettop -P` + +- Print 10 samples of network information: + +`nettop -l {{10}}` + +- Monitor changes every 5 seconds: + +`nettop -d -s {{5}}` + +- While running nettop, list interactive commands: + +`` + +- Display help: + +`nettop -h` diff --git a/pages/osx/networkquality.md b/pages/osx/networkquality.md new file mode 100644 index 00000000000000..ab38fb2ddc46f3 --- /dev/null +++ b/pages/osx/networkquality.md @@ -0,0 +1,20 @@ +# networkQuality + +> Measure the network quality by connecting to the internet. +> More information: . + +- Test the network quality for the default interface: + +`networkQuality` + +- Test the upload and download speeds sequentially instead of in parallel: + +`networkQuality -s` + +- Test a specified network interface: + +`networkQuality -I {{en0}}` + +- Test the network quality with verbose output: + +`networkQuality -v` diff --git a/pages/osx/networksetup.md b/pages/osx/networksetup.md index 39a3c48eddfb97..ede3d5069e6858 100644 --- a/pages/osx/networksetup.md +++ b/pages/osx/networksetup.md @@ -1,6 +1,7 @@ # networksetup > Configuration tool for Network System Preferences. +> More information: . - List available network service providers (Ethernet, Wi-Fi, Bluetooth, etc): @@ -16,4 +17,4 @@ - Connect to a particular Wi-Fi network: -`networksetup -setairportnetwork {{en0}} "{{Airport Network SSID}}" {{password}}` +`networksetup -setairportnetwork {{en0}} {{Airport Network SSID}} {{password}}` diff --git a/pages/osx/nfcd.md b/pages/osx/nfcd.md new file mode 100644 index 00000000000000..5d38898affcdb3 --- /dev/null +++ b/pages/osx/nfcd.md @@ -0,0 +1,9 @@ +# nfcd + +> This daemon controls the NFC controller. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`nfcd` diff --git a/pages/osx/nm.md b/pages/osx/nm.md deleted file mode 100644 index 037817c1bd9dfb..00000000000000 --- a/pages/osx/nm.md +++ /dev/null @@ -1,19 +0,0 @@ -# nm - -> List symbol names in object files. - -- List global (extern) functions in a file (prefixed with T): - -`nm -g {{file.o}}` - -- List only undefined symbols in a file: - -`nm -u {{file.o}}` - -- List all symbols, even debugging symbols: - -`nm -a {{file.o}}` - -- Demangle C++ symbols (make them readable): - -`nm -demangle {{file.o}}` diff --git a/pages/osx/notifyd.md b/pages/osx/notifyd.md new file mode 100644 index 00000000000000..f8a8b70c58f721 --- /dev/null +++ b/pages/osx/notifyd.md @@ -0,0 +1,17 @@ +# notifyd + +> Notification server. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`notifyd` + +- Log debug messages to the default log file (`/var/log/notifyd.log`): + +`notifyd -d` + +- Log debug messages to an alternate log file: + +`notifyd -d -log_file {{path/to/log_file}}` diff --git a/pages/osx/nvram.md b/pages/osx/nvram.md new file mode 100644 index 00000000000000..50d43c42c3018c --- /dev/null +++ b/pages/osx/nvram.md @@ -0,0 +1,28 @@ +# nvram + +> Manipulate firmware variables. +> More information: . + +- [p]rint all the variables stored in the NVRAM: + +`nvram -p` + +- [p]rint all the variables stored in the NVRAM using [x]ML format: + +`nvram -xp` + +- Modify the value of a firmware variable: + +`sudo nvram {{name}}="{{value}}"` + +- [d]elete a firmware variable: + +`sudo nvram -d {{name}}` + +- [c]lear all the firmware variables: + +`sudo nvram -c` + +- Set a firmware variable from a specific [x]ML [f]ile: + +`sudo nvram -xf {{path/to/file.xml}}` diff --git a/pages/osx/oathtool.md b/pages/osx/oathtool.md deleted file mode 100644 index af56427661d7a4..00000000000000 --- a/pages/osx/oathtool.md +++ /dev/null @@ -1,15 +0,0 @@ -# oathtool - -> OATH one-time password tool. - -- Generate TOTP token (behaves like Google Authenticator): - -`oathtool --totp --base32 {{secret}}` - -- Generate a TOTP token for a specific time: - -`oathtool --totp --now {{2004-02-29 16:21:42}} --base32 {{secret}}` - -- Validate a TOTP token: - -`oathtool --totp --base32 {{secret}} {{token}}` diff --git a/pages/osx/ocspd.md b/pages/osx/ocspd.md new file mode 100644 index 00000000000000..01a3d007839bd9 --- /dev/null +++ b/pages/osx/ocspd.md @@ -0,0 +1,9 @@ +# ocspd + +> This retrieves and caches Certificate Revocation Lists (CRLs) and Online Certificate Status Protocol (OCSP) responses for certificate verification. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`ocspd` diff --git a/pages/osx/open.md b/pages/osx/open.md index 294d4dda4b2028..82052d9f769b02 100644 --- a/pages/osx/open.md +++ b/pages/osx/open.md @@ -1,16 +1,17 @@ # open -> Opens files, directories and applications. +> Open files, directories and applications. +> More information: . - Open a file with the associated application: `open {{file.ext}}` -- Run a graphical macOS application: +- Run a graphical macOS [a]pplication: -`open -a {{Application}}` +`open -a "{{Application}}"` -- Run a graphical macOS app based on the bundle identifier (refer to `osascript` for an easy way to get this): +- Run a graphical macOS app based on the [b]undle identifier (refer to `osascript` for an easy way to get this): `open -b {{com.domain.application}}` @@ -18,10 +19,14 @@ `open .` -- Reveal a file in Finder: +- [R]eveal a file in Finder: `open -R {{path/to/file}}` - Open all the files of a given extension in the current directory with the associated application: `open {{*.ext}}` + +- Open a [n]ew instance of an application specified via [b]undle identifier: + +`open -n -b {{com.domain.application}}` diff --git a/pages/osx/opensnoop.md b/pages/osx/opensnoop.md index e54bfd57066cff..23bcfb0a7c0261 100644 --- a/pages/osx/opensnoop.md +++ b/pages/osx/opensnoop.md @@ -1,6 +1,7 @@ # opensnoop -> Tool that tracks file opens on your system. +> Track file opens on your system. +> More information: . - Print all file opens as they occur: @@ -8,7 +9,7 @@ - Track all file opens by a process by name: -`sudo opensnoop -n {{process_name}}` +`sudo opensnoop -n "{{process_name}}"` - Track all file opens by a process by PID: diff --git a/pages/osx/orb.md b/pages/osx/orb.md new file mode 100644 index 00000000000000..b58f28f92a4c84 --- /dev/null +++ b/pages/osx/orb.md @@ -0,0 +1,37 @@ +# orb + +> Interface for OrbStack, a fast and lightweight container and virtual machine runtime for macOS. +> Provides Docker-compatible commands and Linux VM management. +> More information: . + +- List all containers and VMs: + +`orb list` + +- Create and start a Linux virtual machine: + +`orb create {{vm_name}}` + +- Create a VM with a specific Linux distribution: + +`orb create {{vm_name}} {{ubuntu|fedora|arch|debian}}` + +- Start or stop a virtual machine: + +`orb {{start|stop}} {{vm_name}}` + +- Connect to a VM via SSH: + +`orb ssh {{vm_name}}` + +- Execute a command in a VM: + +`orb exec {{vm_name}} {{command}}` + +- Delete a virtual machine: + +`orb delete {{vm_name}}` + +- Show system status and resource usage: + +`orb status` diff --git a/pages/osx/osascript.md b/pages/osx/osascript.md index 68ec3f1b3e7abf..036036716c81a2 100644 --- a/pages/osx/osascript.md +++ b/pages/osx/osascript.md @@ -1,6 +1,7 @@ # osascript -> Run AppleScript or JavaScript for Automation (JXA) from the command line. +> Run AppleScript or JavaScript for Automation (JXA). +> More information: . - Run an AppleScript command: @@ -20,7 +21,7 @@ - Run a JavaScript command: -`osascript -l JavaScript -e '{{console.log("Hello world");}}'` +`osascript -l JavaScript -e "{{console.log('Hello world');}}"` - Run a JavaScript file: diff --git a/pages/osx/pbcopy.md b/pages/osx/pbcopy.md index ed297e941b6c74..0b0acab50ff576 100644 --- a/pages/osx/pbcopy.md +++ b/pages/osx/pbcopy.md @@ -1,11 +1,13 @@ # pbcopy -> Place standard output in the clipboard. +> Copy data from `stdin` to the clipboard. +> Comparable to pressing `` on the keyboard. +> More information: . -- Place the contents of a file in the clipboard: +- Place the contents of a specific file in the clipboard: -`pbcopy < {{file}}` +`pbcopy < {{path/to/file}}` -- Place the results of a command in the clipboard: +- Place the results of a specific command in the clipboard: `find . -type t -name "*.png" | pbcopy` diff --git a/pages/osx/pbpaste.md b/pages/osx/pbpaste.md index b4cfb315521bea..2c64eb0336d729 100644 --- a/pages/osx/pbpaste.md +++ b/pages/osx/pbpaste.md @@ -1,10 +1,12 @@ # pbpaste -> Send the contents of the clipboard to standard output. +> Send the contents of the clipboard to `stdout`. +> Comparable to pressing `` on the keyboard. +> More information: . - Write the contents of the clipboard to a file: -`pbpaste > {{file}}` +`pbpaste > {{path/to/file}}` - Use the contents of the clipboard as input to a command: diff --git a/pages/osx/pdfgrep.md b/pages/osx/pdfgrep.md deleted file mode 100644 index 5e229a05b4b790..00000000000000 --- a/pages/osx/pdfgrep.md +++ /dev/null @@ -1,23 +0,0 @@ -# pdfgrep - -> Search text in PDF files. - -- Find lines that match pattern in a PDF: - -`pdfgrep {{pattern}} {{file.pdf}}` - -- Include file name and page number for each matched line: - -`pdfgrep --with-filename --page-number {{pattern}} {{file.pdf}}` - -- Do a case insensitive search for lines that begin with "foo" and return the first 3 matches: - -`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}` - -- Find pattern in files with a .pdf extension in the current directory recursively: - -`pdfgrep --recursive {{pattern}}` - -- Find pattern on files that match a specific glob in the current directory recursively: - -`pdfgrep --recursive --include {{'*book.pdf'}} {{pattern}}` diff --git a/pages/osx/photoanalysisd.md b/pages/osx/photoanalysisd.md new file mode 100644 index 00000000000000..a9c8cca1418764 --- /dev/null +++ b/pages/osx/photoanalysisd.md @@ -0,0 +1,9 @@ +# photoanalysisd + +> Analyze photo libraries for Memories, People, and scene or object based search. +> `photoanalysisd` should not be invoked manually. +> More information: . + +- Start the daemon: + +`photoanalysisd` diff --git a/pages/osx/photolibraryd.md b/pages/osx/photolibraryd.md new file mode 100644 index 00000000000000..aa34721b493ce7 --- /dev/null +++ b/pages/osx/photolibraryd.md @@ -0,0 +1,9 @@ +# photolibraryd + +> This handles all photo library requests. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`photolibraryd` diff --git a/pages/osx/ping.md b/pages/osx/ping.md index 0a47a2828f985d..b3be5b38b56413 100644 --- a/pages/osx/ping.md +++ b/pages/osx/ping.md @@ -1,27 +1,28 @@ # ping > Send ICMP ECHO_REQUEST packets to network hosts. +> More information: . - Ping the specified host: -`ping {{host}}` +`ping "{{hostname}}"` - Ping a host a specific number of times: -`ping -c {{count}} {{host}}` +`ping -c {{count}} "{{host}}"` -- Ping `host`, specifying the interval in `seconds` between requests (default is 1 second): +- Ping a host, specifying the interval in seconds between requests (default is 1 second): -`ping -i {{seconds}} {{host}}` +`ping -i {{seconds}} "{{host}}"` -- Ping `host` without trying to lookup symbolic names for addresses: +- Ping a host without trying to lookup symbolic names for addresses: -`ping -n {{host}}` +`ping -n "{{host}}"` -- Ping `host` and ring the bell when a packet is received (if your terminal supports it): +- Ping a host and ring the bell when a packet is received (if your terminal supports it): -`ping -a {{host}}` +`ping -a "{{host}}"` -- Ping `host` and prints the time a packet was received (this option is an Apple addition): +- Ping a host and prints the time a packet was received (this option is an Apple addition): -`ping --apple-time {{host}}` +`ping --apple-time "{{host}}"` diff --git a/pages/osx/pkgutil.md b/pages/osx/pkgutil.md index 613a711b6d3450..afebb67ab75817 100644 --- a/pages/osx/pkgutil.md +++ b/pages/osx/pkgutil.md @@ -1,6 +1,7 @@ # pkgutil > Query and manipulate Mac OS X Installer packages and receipts. +> More information: . - List package IDs for all installed packages: @@ -8,7 +9,7 @@ - Verify cryptographic signatures of a package file: -`pkgutil --check-signature {{path/to/filename.pkg}}` +`pkgutil --check-signature {{path/to/file.pkg}}` - List all the files for an installed package given its ID: @@ -16,4 +17,4 @@ - Extract the contents of a package file into a directory: -`pkgutil --expand-full {{path/to/filename.pkg}} {{path/to/directory}}` +`pkgutil --expand-full {{path/to/file.pkg}} {{path/to/directory}}` diff --git a/pages/osx/plutil.md b/pages/osx/plutil.md index 7cfbdc449fee3d..2d2b82f0b19ebb 100644 --- a/pages/osx/plutil.md +++ b/pages/osx/plutil.md @@ -1,6 +1,7 @@ # plutil > View, convert, validate, or edit property list ("plist") files. +> More information: . - Display the contents of one or more plist files in human-readable format: diff --git a/pages/osx/pmset.md b/pages/osx/pmset.md index ceda606177a477..4b721a7244b9a5 100644 --- a/pages/osx/pmset.md +++ b/pages/osx/pmset.md @@ -2,6 +2,7 @@ > Configure macOS power management settings, as one might do in System Preferences > Energy Saver. > Commands that modify settings must begin with `sudo`. +> More information: . - Display the current power management settings: diff --git a/pages/osx/pod.md b/pages/osx/pod.md index 62584dcea1e326..31beda5b9820b8 100644 --- a/pages/osx/pod.md +++ b/pages/osx/pod.md @@ -1,6 +1,7 @@ # pod > Dependency manager for Swift and Objective-C Cocoa projects. +> More information: . - Create a Podfile for the current project with the default contents: diff --git a/pages/osx/popd.md b/pages/osx/popd.md deleted file mode 100644 index fab4246dc249dc..00000000000000 --- a/pages/osx/popd.md +++ /dev/null @@ -1,15 +0,0 @@ -# popd - -> Remove a directory placed on the directory stack via the pushd shell built-in. - -- Remove the top directory from the stack and cd to it: - -`popd` - -- Remove the Nth directory (starting from zero to the left from the list printed with `dirs`): - -`popd +N` - -- Remove the Nth directory (starting from zero to the right from the list printed with `dirs`): - -`popd -N` diff --git a/pages/osx/port.md b/pages/osx/port.md index 80e76ec73b2abe..d1dd48fc177385 100644 --- a/pages/osx/port.md +++ b/pages/osx/port.md @@ -1,6 +1,7 @@ # port > Package manager for macOS. +> More information: . - Search for a package: @@ -8,13 +9,13 @@ - Install a package: -`sudo port install {{package_name}}` +`sudo port install {{package}}` - List installed packages: `port installed` -- Update port and fetch latest list of available packages: +- Update port and fetch the latest list of available packages: `sudo port selfupdate` diff --git a/pages/osx/ps.md b/pages/osx/ps.md new file mode 100644 index 00000000000000..befce9c9af6755 --- /dev/null +++ b/pages/osx/ps.md @@ -0,0 +1,28 @@ +# ps + +> Information about running processes. +> More information: . + +- List all running processes: + +`ps aux` + +- List all running processes including the full command string: + +`ps auxww` + +- Search for a process that matches a string: + +`ps aux | grep {{string}}` + +- Get the parent PID of a process: + +`ps -o ppid= -p {{pid}}` + +- Sort processes by memory usage: + +`ps -m` + +- Sort processes by CPU usage: + +`ps -r` diff --git a/pages/osx/pushd.md b/pages/osx/pushd.md deleted file mode 100644 index 21d608f844a419..00000000000000 --- a/pages/osx/pushd.md +++ /dev/null @@ -1,16 +0,0 @@ -# pushd - -> Place a directory on a stack so it can be accessed later. -> See also `popd` to switch back to original directory. - -- Switch to directory and push it on the stack: - -`pushd {{directory}}` - -- Switch first and second directories on the stack: - -`pushd` - -- Rotate stack by making the 5th element the top of the stack: - -`pushd +4` diff --git a/pages/osx/pwgen.md b/pages/osx/pwgen.md deleted file mode 100644 index 70f4cc67ffa6e6..00000000000000 --- a/pages/osx/pwgen.md +++ /dev/null @@ -1,15 +0,0 @@ -# pwgen - -> Generate pronounceable passwords. - -- Generate random password with s[y]mbols: - -`pwgen -y {{length}}` - -- Generate secure, hard-to-memorize passwords: - -`pwgen -s {{length}}` - -- Generate password with at least one capital letter in them: - -`pwgen -c {{length}}` diff --git a/pages/osx/qlmanage.md b/pages/osx/qlmanage.md index 92da5d901943a9..2b47aa072dd201 100644 --- a/pages/osx/qlmanage.md +++ b/pages/osx/qlmanage.md @@ -1,15 +1,16 @@ # qlmanage > QuickLook server tool. +> More information: . - Display QuickLook for one or multiple files: -`qlmanage -p {{filename}} {{filename2}}` +`qlmanage -p {{path/to/file1 path/to/file2 ...}}` - Compute 300px wide PNG thumbnails of all JPEGs in the current directory and put them in a directory: `qlmanage {{*.jpg}} -t -s {{300}} {{path/to/directory}}` -- Reset Quicklook: +- Reset QuickLook: `qlmanage -r` diff --git a/pages/osx/rargs.md b/pages/osx/rargs.md new file mode 100644 index 00000000000000..00c467de09f258 --- /dev/null +++ b/pages/osx/rargs.md @@ -0,0 +1,25 @@ +# rargs + +> Execute a command for each line of standard input. +> Like `xargs`, but with pattern matching support. +> More information: . + +- Execute a command for every line of input, just like `xargs` (`{0}` indicates where to substitute in the text): + +`{{command}} | rargs {{command}} {0}` + +- Do a dry run, which prints the commands that would be run instead of executing them: + +`{{command}} | rargs -e {{command}} {0}` + +- Remove the `.bak` extension from every file in a list: + +`{{command}} | rargs -p '(.*).bak mv {0} {1}` + +- Execute commands in parallel: + +`{{command}} | rargs -w {{max-procs}}` + +- Consider each line of input to be separated by a NUL character (`\0`) instead of a newline (`\n`): + +`{{command}} | rargs -0 {{command}} {0}` diff --git a/pages/osx/reboot.md b/pages/osx/reboot.md index cc946093fb82e3..cba2f1e74f89b6 100644 --- a/pages/osx/reboot.md +++ b/pages/osx/reboot.md @@ -1,6 +1,7 @@ # reboot > Reboot the system. +> More information: . - Reboot immediately: diff --git a/pages/osx/rename.md b/pages/osx/rename.md deleted file mode 100644 index 137430e8ded12e..00000000000000 --- a/pages/osx/rename.md +++ /dev/null @@ -1,7 +0,0 @@ -# rename - -> Rename a file or group of files with a regex. - -- Replace `from` with `to` in the filenames of the specified files: - -`rename 's/{{from}}/{{to}}/' {{*.txt}}` diff --git a/pages/osx/rev.md b/pages/osx/rev.md new file mode 100644 index 00000000000000..09996694c67ddc --- /dev/null +++ b/pages/osx/rev.md @@ -0,0 +1,12 @@ +# rev + +> Reverse lines of text. +> More information: . + +- Reverse each line in a file to `stdout`: + +`rev {{path/to/file}}` + +- Reverse each line from `stdin` to `stdout`: + +`{{command}} | rev` diff --git a/pages/osx/route.md b/pages/osx/route.md index 0bea78c1efbd20..229c6f31ac3d1c 100644 --- a/pages/osx/route.md +++ b/pages/osx/route.md @@ -1,19 +1,20 @@ # route > Manually manipulate the routing tables. -> Necessitates to be root. +> Requires root privileges. +> More information: . - Add a route to a destination through a gateway: -`sudo route add {{dest_ip_address}} {{gateway_address}}` +`sudo route add "{{destination_ip_address}}" "{{gateway_address}}"` - Add a route to a /24 subnet through a gateway: -`sudo route add {{subnet_ip_address}}/24 {{gateway_address}}` +`sudo route add "{{subnet_ip_address}}/24" "{{gateway_address}}"` - Run in test mode (does not do anything, just print): -`sudo route -t add {{dest_ip_address}}/24 {{gateway_address}}` +`sudo route -t add "{{destination_ip_address}}/24" "{{gateway_address}}"` - Remove all routes: @@ -21,8 +22,8 @@ - Delete a specific route: -`sudo route delete {{dest_ip_address}}/24` +`sudo route delete "{{destination_ip_address}}/24"` - Lookup and display the route for a destination (hostname or IP address): -`sudo route get {{destination}}` +`sudo route get "{{destination}}"` diff --git a/pages/osx/rubocop.md b/pages/osx/rubocop.md deleted file mode 100644 index fb4e31f61e3983..00000000000000 --- a/pages/osx/rubocop.md +++ /dev/null @@ -1,31 +0,0 @@ -# rubocop - -> Lint Ruby files. - -- Check all files in the current directory (including subdirectories): - -`rubocop` - -- Check one or more specific files or directories: - -`rubocop {{path/to/file}} {{path/to/directory}}` - -- Write output to file: - -`rubocop --out {{path/to/file}}` - -- View list of cops (linter rules): - -`rubocop --show-cops` - -- Exclude a cop: - -`rubocop --except {{cop_1}} {{cop_2}}` - -- Run only specified cops: - -`rubocop --only {{cop_1}} {{cop_2}}` - -- Auto-correct files (experimental): - -`rubocop --auto-correct` diff --git a/pages/osx/runit.md b/pages/osx/runit.md deleted file mode 100644 index 841092117b2794..00000000000000 --- a/pages/osx/runit.md +++ /dev/null @@ -1,11 +0,0 @@ -# runit - -> 3-stage init system. - -- Start runit's 3-stage init scheme: - -`runit` - -- Shut down runit: - -`kill --CONT {{runit_pid}}` diff --git a/pages/osx/runsv.md b/pages/osx/runsv.md deleted file mode 100644 index 8b131ae6a8ab48..00000000000000 --- a/pages/osx/runsv.md +++ /dev/null @@ -1,11 +0,0 @@ -# runsv - -> Start and manage a runit service. - -- Start a runit service as the current user: - -`runsv {{path/to/service}}` - -- Start a runit service as root: - -`sudo runsv {{path/to/service}}` diff --git a/pages/osx/runsvchdir.md b/pages/osx/runsvchdir.md deleted file mode 100644 index 18e671a634bb6d..00000000000000 --- a/pages/osx/runsvchdir.md +++ /dev/null @@ -1,7 +0,0 @@ -# runsvchdir - -> Change the directory `runsvdir` uses by default. - -- Switch `runsvdir` directories: - -`sudo runsvchdir {{path/to/directory}}` diff --git a/pages/osx/runsvdir.md b/pages/osx/runsvdir.md deleted file mode 100644 index bc1ad17b16225d..00000000000000 --- a/pages/osx/runsvdir.md +++ /dev/null @@ -1,15 +0,0 @@ -# runsvdir - -> Run an entire directory of services. - -- Start and manage all services in a directory as the current user: - -`runsvdir {{path/to/services}}` - -- Start and manage all services in a directory as root: - -`sudo runsvdir {{path/to/services}}` - -- Start services in separate sessions: - -`runsvdir -P {{path/to/services}}` diff --git a/pages/osx/safeejectgpu.md b/pages/osx/safeejectgpu.md new file mode 100644 index 00000000000000..2743907aabc8be --- /dev/null +++ b/pages/osx/safeejectgpu.md @@ -0,0 +1,28 @@ +# SafeEjectGPU + +> Eject a GPU safely. +> More information: . + +- Eject all GPUs: + +`SafeEjectGPU Eject` + +- List all GPUs attached: + +`SafeEjectGPU gpus` + +- List apps using a GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} apps` + +- Get the status of a GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} status` + +- Eject a GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} Eject` + +- Launch an app on a GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} LaunchOnGPU {{path/to/App.app}}` diff --git a/pages/osx/say.md b/pages/osx/say.md index 195d02f855e183..97db0dcac44098 100644 --- a/pages/osx/say.md +++ b/pages/osx/say.md @@ -1,6 +1,7 @@ # say -> Converts text to speech. +> Convert text to speech. +> More information: . - Say a phrase aloud: @@ -8,16 +9,20 @@ - Read a file aloud: -`say -f {{filename.txt}}` +`say --input-file {{filename.txt}}` - Say a phrase with a custom voice and speech rate: -`say -v {{voice}} -r {{words_per_minute}} "{{I'm sorry Dave, I can't let you do that.}}"` +`say --voice {{voice}} --rate {{words_per_minute}} "{{I'm sorry Dave, I can't let you do that.}}"` -- List the available voices: +- List the available voices (different voices speak in different languages): -`say -v "?"` +`say --voice "?"` + +- Say something in Polish: + +`say --voice {{Zosia}} "{{Litwo, ojczyzno moja!}}"` - Create an audio file of the spoken text: -`say -o {{filename.aiff}} "{{Here's to the Crazy Ones.}}"` +`say --output-file {{filename.aiff}} "{{Here's to the Crazy Ones.}}"` diff --git a/pages/osx/screencapture.md b/pages/osx/screencapture.md index 13f825a71a8eab..590748d4744902 100644 --- a/pages/osx/screencapture.md +++ b/pages/osx/screencapture.md @@ -1,6 +1,7 @@ # screencapture > Utility to take screenshots and screen recordings. +> More information: . - Take a screenshot and save it to a file: diff --git a/pages/osx/scutil.md b/pages/osx/scutil.md index 6aacb7a78b438d..01caec47b6968e 100644 --- a/pages/osx/scutil.md +++ b/pages/osx/scutil.md @@ -1,7 +1,8 @@ # scutil > Manage system configuration parameters. -> Necessitates to be root when setting configuration. +> Require root privileges when setting configuration. +> More information: . - Display DNS Configuration: diff --git a/pages/osx/sdef.md b/pages/osx/sdef.md new file mode 100644 index 00000000000000..b7f7c53d336096 --- /dev/null +++ b/pages/osx/sdef.md @@ -0,0 +1,8 @@ +# sdef + +> Get or generate a scripting definitions (`sdef`) file from a scriptable application. +> More information: . + +- Print the scripting definitions of the given application: + +`sdef {{/Applications/XCode.app}}` diff --git a/pages/osx/secd.md b/pages/osx/secd.md new file mode 100644 index 00000000000000..8a4c55bc10b2c1 --- /dev/null +++ b/pages/osx/secd.md @@ -0,0 +1,9 @@ +# secd + +> Controls access to and modification of keychain items. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`secd` diff --git a/pages/osx/security.md b/pages/osx/security.md index d90d554633d13d..63323813996f8f 100644 --- a/pages/osx/security.md +++ b/pages/osx/security.md @@ -1,16 +1,32 @@ # security -> Administer Keychains, keys, certificates and the Security framework. -> More information: . +> Administer keychains, keys, certificates and the Security framework. +> More information: . -- List the available keychains: +- List all available keychains: `security list-keychains` - Delete a specific keychain: -`security delete-keychain {{path}}` +`security delete-keychain {{path/to/file.keychain}}` - Create a keychain: -`security create-keychain -p {{password}} {{name.keychain}}` +`security create-keychain -p {{password}} {{path/to/file.keychain}}` + +- Set a certificate to use with a website or [s]ervice by its [c]ommon name (fails if several certificates with the same common name exist): + +`security set-identity-preference -s {{URL|hostname|service}} -c "{{common_name}}" {{path/to/file.keychain}}` + +- Add a certificate from file to a [k]eychain (if -k isn't specified, the default keychain is used): + +`security add-certificates -k {{file.keychain}} {{path/to/cert_file.pem}}` + +- Add a CA certificate to the per-user Trust Settings: + +`security add-trusted-cert -k {{path/to/user-keychain.keychain-db}} {{path/to/ca-cert_file.pem}}` + +- Remove a CA certificate from the per-user Trust Settings: + +`security remove-trusted-cert {{path/to/ca-cert_file.pem}}` diff --git a/pages/osx/securityd.md b/pages/osx/securityd.md new file mode 100644 index 00000000000000..3c3e04df717b5e --- /dev/null +++ b/pages/osx/securityd.md @@ -0,0 +1,10 @@ +# securityd + +> This manages security contexts and cryptographic operations. +> Works with secd for keychain access. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`securityd` diff --git a/pages/osx/sed.md b/pages/osx/sed.md index 65d874b6507e40..aef99ce083fdeb 100644 --- a/pages/osx/sed.md +++ b/pages/osx/sed.md @@ -1,35 +1,25 @@ # sed > Edit text in a scriptable manner. +> See also: `awk`, `ed`. +> More information: . -- Replace the first occurrence of a string in a file, and print the result: +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`: -`sed 's/{{find}}/{{replace}}/' {{filename}}` +`{{command}} | sed 's/apple/mango/g'` -- Replace all occurrences of an extended regular expression in a file: +- Execute a specific script [f]ile and print the result to `stdout`: -`sed -E 's/{{regex}}/{{replace}}/g' {{filename}}` +`{{command}} | sed -f {{path/to/script_file.sed}}` -- Replace all occurrences of a string [i]n a file, overwriting the file (i.e. in-place): +- Replace all `apple` (extended `regex`) occurrences with `APPLE` (extended `regex`) in all input lines and print the result to `stdout`: -`sed -i '' 's/{{find}}/{{replace}}/g' {{filename}}` +`{{command}} | sed -E 's/(apple)/\U\1/g'` -- Replace only on lines matching the line pattern: +- Print just a first line to `stdout`: -`sed '/{{line_pattern}}/s/{{find}}/{{replace}}/' {{filename}}` +`{{command}} | sed -n '1p'` -- Print only text between n-th line till the next empty line: +- Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in a `file` and save a backup of the original to `file.bak`: -`sed -n '{{line_number}},/^$/p' {{filename}}` - -- Apply multiple find-replace expressions to a file: - -`sed -e 's/{{find}}/{{replace}}/' -e 's/{{find}}/{{replace}}/' {{filename}}` - -- Replace separator / by any other character not used in the find or replace patterns, e.g., #: - -`sed 's#{{find}}#{{replace}}#' {{filename}}` - -- [d]elete the line at the specific line number [i]n a file, overwriting the file: - -`sed -i '' '{{line_number}}d' {{filename}}` +`sed -i bak 's/apple/mango/g' {{path/to/file}}` diff --git a/pages/osx/setfile.md b/pages/osx/setfile.md new file mode 100644 index 00000000000000..59203cecb7a700 --- /dev/null +++ b/pages/osx/setfile.md @@ -0,0 +1,16 @@ +# setfile + +> Set file attributes on files in an HFS+ directory. +> More information: . + +- Set creation date for specific files: + +`setfile -d "{{MM/DD/YYYY HH:MM:SS}}" {{path/to/file1 path/to/file2 ...}}` + +- Set modification date for specific files: + +`setfile -m "{{MM/DD/YYYY HH:MM:SS}}" {{path/to/file1 path/to/file2 ...}}` + +- Set modification date for symlink file (not to linked file itself): + +`setfile -P -m "{{MM/DD/YYYY HH:MM:SS}}" {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/osx/shortcuts.md b/pages/osx/shortcuts.md new file mode 100644 index 00000000000000..c617acf8202bdd --- /dev/null +++ b/pages/osx/shortcuts.md @@ -0,0 +1,21 @@ +# shortcuts + +> Manage shortcuts. +> Note: You can also use the `Shortcuts` app. +> More information: . + +- Run the specified shortcut (`Count holidays`): + +`shortcuts run "{{Count holidays}}"` + +- Print all shortcuts: + +`shortcuts list` + +- Print all shortcut folders: + +`shortcuts list --folders` + +- Open the specified shortcut (`Count holidays`) in the Shortcuts editor: + +`shortcuts view "{{Count holidays}}"` diff --git a/pages/osx/shuf.md b/pages/osx/shuf.md index 8452e60f346002..9752dcdccc03bf 100644 --- a/pages/osx/shuf.md +++ b/pages/osx/shuf.md @@ -1,19 +1,20 @@ # shuf > Generate random permutations. +> More information: . - Randomize the order of lines in a file and output the result: -`shuf {{filename}}` +`shuf {{path/to/file}}` - Only output the first 5 entries of the result: -`shuf -n {{5}} {{filename}}` +`shuf --head-count=5 {{path/to/file}}` - Write output to another file: -`shuf {{filename}} -o {{output_filename}}` +`shuf {{path/to/input_file}} --output {{ath/to/output_file}}` -- Generate random numbers in range 1-10: +- Generate random numbers in the range 1 to 10: -`shuf -i {{1-10}}` +`shuf --input-range=1-10` diff --git a/pages/osx/shutdown.md b/pages/osx/shutdown.md index aa3da7db5f0bec..9043d24f3f39fe 100644 --- a/pages/osx/shutdown.md +++ b/pages/osx/shutdown.md @@ -1,6 +1,7 @@ # shutdown > Shutdown and reboot the system. +> More information: . - Power off (halt) immediately: @@ -16,7 +17,7 @@ - Reboot in 5 minutes: -`shutdown -r +{{5}}` +`shutdown -r "+{{5}}"` - Power off (halt) at 1:00 pm (Uses 24h clock): diff --git a/pages/osx/signal.md b/pages/osx/signal.md new file mode 100644 index 00000000000000..71542651b736b4 --- /dev/null +++ b/pages/osx/signal.md @@ -0,0 +1,8 @@ +# signal + +> Simplified software signal facilities. +> More information: . + +- View documentation for signals in macOS: + +`man signal` diff --git a/pages/osx/sips.md b/pages/osx/sips.md index 0c6768a745f86b..a081e69a6c58ec 100644 --- a/pages/osx/sips.md +++ b/pages/osx/sips.md @@ -2,18 +2,19 @@ > Apple Scriptable Image Processing System. > Raster/Query images and ColorSync ICC Profiles. +> More information: . - Specify an output directory so that originals do not get modified: -`sips --out {{path/to/out_dir}}` +`sips --out {{path/to/output_directory}}` - Resample image at specified size, Image aspect ratio may be altered: -`sips -z {{1920}} {{300}} {{image.ext}}` +`sips --resampleHeightWidth {{1920}} {{300}} {{image_file.ext}}` - Resample image so height and width aren't greater than specified size (notice the capital Z): -`sips -Z {{1920}} {{300}} {{image.ext}}` +`sips --resampleHeightWidthMax {{1920}} {{300}} {{image_file.ext}}` - Resample all images in a directory to fit a width of 960px (honoring aspect ratio): @@ -21,8 +22,8 @@ - Convert an image from CMYK to RGB: -`sips --matchTo '/System/Library/ColorSync/Profiles/Generic RGB Profile.icc' {{path/to/image.ext}} {{path/to/out_dir}}` +`sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{path/to/image.ext}} {{path/to/output_directory}}` - Remove ColorSync ICC profile from an image: -`sips -d profile --deleteColorManagementProperties {{path/to/image.ext}}` +`sips --deleteProperty profile --deleteColorManagementProperties {{path/to/image_file.ext}}` diff --git a/pages/osx/sntp.md b/pages/osx/sntp.md new file mode 100644 index 00000000000000..bf0b5409500297 --- /dev/null +++ b/pages/osx/sntp.md @@ -0,0 +1,16 @@ +# sntp + +> A very Simple Network Time Protocol client program. +> More information: . + +- Query a specified SNTP server and display the time: + +`sntp {{pool.ntp.org}}` + +- Synchronize the system clock with a specified SNTP server: + +`sudo sntp -S {{pool.ntp.org}}` + +- Enable debug logging: + +`sntp -d {{pool.ntp.org}}` diff --git a/pages/osx/sntpd.md b/pages/osx/sntpd.md new file mode 100644 index 00000000000000..c65e2560636583 --- /dev/null +++ b/pages/osx/sntpd.md @@ -0,0 +1,17 @@ +# sntpd + +> An SNTP server. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`sntpd` + +- Overwrite existing state with the local clock (stratum 1), for running a master/primary server, without synchronizing with another (higher stratum) server: + +`sntpd -L` + +- Use a custom file for the SNTP state: + +`sntpd -z {{path/to/state.bin}}` diff --git a/pages/osx/softwareupdate.md b/pages/osx/softwareupdate.md index 7cc3f0b01597ef..155750b4a28591 100644 --- a/pages/osx/softwareupdate.md +++ b/pages/osx/softwareupdate.md @@ -1,19 +1,20 @@ # softwareupdate -> A tool for updating MacOS App Store apps via the command line. +> Update macOS App Store apps. +> More information: . - List all available updates: -`softwareupdate -l` +`softwareupdate --list` - Download and install all updates: -`softwareupdate -ia` +`softwareupdate --install --all` -- Download and install all recommended updates: +- Download and install all [r]ecommended updates: -`softwareupdate -ir` +`softwareupdate --install --recommended` - Download and install a specific app: -`softwareupdate -i {{update_name}}` +`softwareupdate --install {{update_name}}` diff --git a/pages/osx/spctl.md b/pages/osx/spctl.md new file mode 100644 index 00000000000000..b1e21f387303ba --- /dev/null +++ b/pages/osx/spctl.md @@ -0,0 +1,21 @@ +# spctl + +> Manage the security assessment policy subsystem. +> Utility for managing Gatekeeper in macOS. +> More information: . + +- Turn off Gatekeeper: + +`spctl --master-disable` + +- Add a rule to allow an application to run (labeling of rule is optional): + +`spctl --add --label {{rule_name}} {{path/to/file}}` + +- Turn on Gatekeeper: + +`spctl --master-enable` + +- List all rules on the system: + +`spctl --list` diff --git a/pages/osx/split.md b/pages/osx/split.md index 3cfc857cfb442a..70c22b2c12e7f6 100644 --- a/pages/osx/split.md +++ b/pages/osx/split.md @@ -1,15 +1,20 @@ # split > Split a file into pieces. +> More information: . - Split a file, each split having 10 lines (except the last split): -`split -l {{10}} {{filename}}` +`split -l 10 {{path/to/file}}` -- Split a file by a regular expression. The matching line will be the first line of the next output file: +- Split a file by a `regex`. The matching line will be the first line of the next output file: -`split -p {{cat|^[dh]og}} {{filename}}` +`split -p {{cat|^[dh]og}} {{path/to/file}}` - Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes): -`split -b {{512}} {{filename}}` +`split -b 512 {{path/to/file}}` + +- Split a file into 5 files. File is split such that each split has same size (except the last split): + +`split -n 5 {{path/to/file}}` diff --git a/pages/osx/ssh-add.md b/pages/osx/ssh-add.md deleted file mode 100644 index f59e2546a8f501..00000000000000 --- a/pages/osx/ssh-add.md +++ /dev/null @@ -1,28 +0,0 @@ -# ssh-add - -> Manage loaded ssh keys in the ssh-agent. -> Ensure that ssh-agent is up and running for the keys to be loaded in it. - -- Add the default ssh keys in "~/.ssh" to the ssh-agent: - -`ssh-add` - -- Add a specific key to the ssh-agent: - -`ssh-add {{path/to/private_key}}` - -- List fingerprints of currently loaded keys: - -`ssh-add -l` - -- Delete a key from the ssh-agent: - -`ssh-add -d {{path/to/private_key}}` - -- Delete all currently loaded keys from the ssh-agent: - -`ssh-add -D` - -- Add a key to the ssh-agent and the keychain: - -`ssh-add -K {{path/to/private_key}}` diff --git a/pages/osx/sshuttle.md b/pages/osx/sshuttle.md deleted file mode 100644 index 372f0625967c82..00000000000000 --- a/pages/osx/sshuttle.md +++ /dev/null @@ -1,17 +0,0 @@ -# sshuttle - -> Transparent proxy server that tunnels traffic over an SSH connection. -> Doesn't require admin, or any special setup on the remote SSH server. -> More information: . - -- Forward all IPv4 TCP traffic via a remote SSH server: - -`sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}` - -- Forward all IPv4 TCP and DNS traffic: - -`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}` - -- Use the tproxy method to forward all IPv4 and IPv6 traffic: - -`sudo sshuttle --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}` diff --git a/pages/osx/stat.md b/pages/osx/stat.md index a1a2b0cceda53c..d044b0d9d2ee17 100644 --- a/pages/osx/stat.md +++ b/pages/osx/stat.md @@ -1,23 +1,24 @@ # stat > Display file status. +> More information: . - Show file properties such as size, permissions, creation and access dates among others: -`stat {{file}}` +`stat {{path/to/file}}` -- Same as above but verbose (more similar to linux's `stat`): +- Same as above but verbose (more similar to Linux's `stat`): -`stat -x {{file}}` +`stat -x {{path/to/file}}` - Show only octal file permissions: -`stat -f %Mp%Lp {{file}}` +`stat -f %Mp%Lp {{path/to/file}}` - Show owner and group of the file: -`stat -f "%Su %Sg" {{file}}` +`stat -f "%Su %Sg" {{path/to/file}}` - Show the size of the file in bytes: -`stat -f "%z %N" {{file}}` +`stat -f "%z %N" {{path/to/file}}` diff --git a/pages/osx/sv.md b/pages/osx/sv.md deleted file mode 100644 index 0567e0d0c89a26..00000000000000 --- a/pages/osx/sv.md +++ /dev/null @@ -1,15 +0,0 @@ -# sv - -> Control a running runsv service. - -- Start a service: - -`sudo sv up {{path/to/service}}` - -- Stop a service: - -`sudo sv down {{path/to/service}}` - -- Get service status: - -`sudo sv status {{path/to/service}}` diff --git a/pages/osx/sw_vers.md b/pages/osx/sw_vers.md index 8026b6f34d727e..0e6b3a8cdc2858 100644 --- a/pages/osx/sw_vers.md +++ b/pages/osx/sw_vers.md @@ -1,6 +1,7 @@ # sw_vers > Print macOS operating system version information. +> More information: . - Print all available information (OS name, version number, and build): diff --git a/pages/osx/symptomsd.md b/pages/osx/symptomsd.md new file mode 100644 index 00000000000000..ab380b2376d38b --- /dev/null +++ b/pages/osx/symptomsd.md @@ -0,0 +1,9 @@ +# symptomsd + +> Provides services for `Symptoms.framework`. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`symptomsd` diff --git a/pages/osx/sysctl.md b/pages/osx/sysctl.md index dae27f6e805678..93fdb4d1d37ec2 100644 --- a/pages/osx/sysctl.md +++ b/pages/osx/sysctl.md @@ -1,6 +1,7 @@ # sysctl > Access kernel state information. +> More information: . - Show all available variables and their values: diff --git a/pages/osx/system_profiler.md b/pages/osx/system_profiler.md index f150a181080893..c78442a740e9a5 100644 --- a/pages/osx/system_profiler.md +++ b/pages/osx/system_profiler.md @@ -1,15 +1,20 @@ # system_profiler > Report system hardware and software configuration. +> More information: . -- Display a full system profiler report which can be opened by System Profiler.app: +- Display a report with specific details level (mini [no personal information], basic or full): + +`system_profiler -detailLevel {{level}}` + +- Display a full system profiler report which can be opened by `System Profiler.app`: `system_profiler -xml > MyReport.spx` -- Display a hardware overview (Model, CPU, Memory, Serial, etc): +- Display a hardware overview (Model, CPU, Memory, Serial, etc) and software data (System, Kernel, Name, Uptime, etc): -`system_profiler SPHardwareDataType` +`system_profiler SPHardwareDataType SPSoftwareDataType` - Print the system serial number: -`system_profiler SPHardwareDataType|grep "Serial Number (system)" |awk '{print $4}'` +`system_profiler SPHardwareDataType|grep "Serial Number (system)" | awk '{ print $4 }'` diff --git a/pages/osx/systemsetup.md b/pages/osx/systemsetup.md index 431beae76ec124..454dc9e2ca1fcc 100644 --- a/pages/osx/systemsetup.md +++ b/pages/osx/systemsetup.md @@ -1,14 +1,15 @@ # systemsetup > Configure System Preferences machine settings. +> More information: . - Enable remote login (SSH): `systemsetup -setremotelogin on` -- Specify TimeZone, NTP Server and enable network time: +- Specify timezone, NTP Server and enable network time: -`systemsetup -settimezone {{US/Pacific}} -setnetworktimeserver {{us.pool.ntp.org}} -setusingnetworktime on` +`systemsetup -settimezone "{{US/Pacific}}" -setnetworktimeserver {{us.pool.ntp.org}} -setusingnetworktime on` - Make the machine never sleep and automatically restart on power failure or kernel panic: @@ -20,4 +21,4 @@ - Specify a new startup disk: -`systemsetup -setstartupdisk {{path}}` +`systemsetup -setstartupdisk {{path/to/directory}}` diff --git a/pages/osx/systemsoundserverd.md b/pages/osx/systemsoundserverd.md new file mode 100644 index 00000000000000..b1050bb9b3fb24 --- /dev/null +++ b/pages/osx/systemsoundserverd.md @@ -0,0 +1,8 @@ +# systemsoundserverd + +> Core Audio related daemon. +> It should not be invoked manually. + +- Start the daemon: + +`systemsoundserverd` diff --git a/pages/osx/tag.md b/pages/osx/tag.md new file mode 100644 index 00000000000000..327c53ec966df2 --- /dev/null +++ b/pages/osx/tag.md @@ -0,0 +1,20 @@ +# tag + +> Edit tags on Mac OS X files (10.9 Mavericks and above). +> More information: . + +- Add tags to a file: + +`tag --add {{tag_name1,tag_name2,...}} {{path/to/file}}` + +- Remove a tag: + +`tag --remove {{tag_name}} {{path/to/file}}` + +- Remove all tags from a file: + +`tag --remove \* {{path/to/file}}` + +- Show all files with a given tag: + +`tag --match {{tag_name}}` diff --git a/pages/osx/tail.md b/pages/osx/tail.md new file mode 100644 index 00000000000000..b2a59ed3123bdb --- /dev/null +++ b/pages/osx/tail.md @@ -0,0 +1,29 @@ +# tail + +> Display the last part of a file. +> See also: `head`. +> More information: . + +- Show last 'count' lines in file: + +`tail -n {{8}} {{path/to/file}}` + +- Print a file from a specific line number: + +`tail -n +{{8}} {{path/to/file}}` + +- Print a specific count of bytes from the end of a given file: + +`tail -c {{8}} {{path/to/file}}` + +- Print the last lines of a given file and keep reading it until ``: + +`tail -f {{path/to/file}}` + +- Keep reading file until ``, even if the file is inaccessible: + +`tail -F {{path/to/file}}` + +- Show last 'count' lines in 'file' and refresh every 'seconds' seconds: + +`tail -n {{8}} -s {{10}} -f {{path/to/file}}` diff --git a/pages/osx/tart.md b/pages/osx/tart.md new file mode 100644 index 00000000000000..783f741c7c897d --- /dev/null +++ b/pages/osx/tart.md @@ -0,0 +1,36 @@ +# tart + +> Build, run and manage macOS and Linux virtual machines (VMs) on Apple Silicon. +> More information: . + +- Pull a remote VM image: + +`tart pull {{acme.io/org/name:tag}}` + +- Clone a VM from a local or remote image source: + +`tart clone {{source-vm}} {{vm-name}}` + +- Create a new Mac VM from a specific ipsw file: + +`tart create --from-ipsw {{latest|path/to/file.ipsw}} {{vm-name}}` + +- Run an existing VM: + +`tart run {{vm-name}}` + +- Run an existing VM with a specific mounted directory: + +`tart run --dir {{path/to/directory}}:/{{path/to/local_directory}} {{vm-name}}` + +- List VMs: + +`tart list` + +- Get IP address of a running VM: + +`tart ip {{vm-name}}` + +- Change a VM's display resolution: + +`tart set {{vm-name}} --display {{640}}x{{400}}` diff --git a/pages/osx/terminal-notifier.md b/pages/osx/terminal-notifier.md new file mode 100644 index 00000000000000..c95135cd2fab6c --- /dev/null +++ b/pages/osx/terminal-notifier.md @@ -0,0 +1,20 @@ +# terminal-notifier + +> Send macOS User Notifications. +> More information: . + +- Send a notification (only the message is required): + +`terminal-notifier -group {{tldr-info}} -title {{TLDR}} -message '{{TLDR rocks}}'` + +- Display piped data with a sound: + +`echo '{{Piped Message Data!}}' | terminal-notifier -sound {{default}}` + +- Open a URL when the notification is clicked: + +`terminal-notifier -message '{{Check your Apple stock!}}' -open '{{http://finance.yahoo.com/q?s=AAPL}}'` + +- Open an app when the notification is clicked: + +`terminal-notifier -message '{{Imported 42 contacts.}}' -activate {{com.apple.AddressBook}}` diff --git a/pages/osx/textutil.md b/pages/osx/textutil.md index 3708db593c90e7..3b6410a1373af7 100644 --- a/pages/osx/textutil.md +++ b/pages/osx/textutil.md @@ -1,23 +1,24 @@ # textutil -> Used to manipulate text files of various formats. +> Manipulate text files of various formats. +> More information: . -- Display information about foo.rtf: +- Display information about `foo.rtf`: -`textutil -info {{foo.rtf}}` +`textutil -info {{path/to/foo.rtf}}` -- Convert foo.rtf into foo.html: +- Convert `foo.rtf` into `foo.html`: -`textutil -convert {{html}} {{foo.rtf}}` +`textutil -convert {{html}} {{path/to/foo.rtf}}` - Convert rich text to normal text: -`textutil {{foo.rtf}} -convert {{txt}}` +`textutil {{path/to/foo.rtf}} -convert {{txt}}` -- Convert foo.txt into foo.rtf, using Times 10 for the font: +- Convert `foo.txt` into `foo.rtf`, using Times 10 for the font: -`textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}` +`textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{path/to/foo.txt}}` -- Load all RTF files in the current directory, concatenates their contents, and writes the result out as index.html with the HTML title set to "Several Files": +- Load all RTF files in the current directory, concatenates their contents, and writes the result out as `index.html` with the HTML title set to "Several Files": -`textutil -cat {{html}} -title "Several Files" -output {{index.html}} *.rtf` +`textutil -cat {{html}} -title "Several Files" -output {{path/to/index.html}} *.rtf` diff --git a/pages/osx/timed.md b/pages/osx/timed.md new file mode 100644 index 00000000000000..cb3e6b86604ba2 --- /dev/null +++ b/pages/osx/timed.md @@ -0,0 +1,9 @@ +# timed + +> Service that synchronizes system time (e.g. using NTP). +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`timed` diff --git a/pages/osx/tmutil.md b/pages/osx/tmutil.md index 07befcfd365514..2591c140c8d0c7 100644 --- a/pages/osx/tmutil.md +++ b/pages/osx/tmutil.md @@ -1,15 +1,15 @@ # tmutil > Utility for managing Time Machine backups. Most verbs require root privileges. -> More information: . +> More information: . -- Set a HFS+ drive as the backup destination: +- Set an HFS+ drive as the backup destination: `sudo tmutil setdestination {{path/to/disk_mount_point}}` -- Set a APF share or SMB share as the backup destination: +- Set an APF share or SMB share as the backup destination: -`sudo tmutil setdestination {{protocol://user[:password]@host/share}}` +`sudo tmutil setdestination "{{protocol://user[:password]@host/share}}"` - Append the given destination to the list of destinations: diff --git a/pages/osx/top.md b/pages/osx/top.md index 72420fccada024..b405bf17c57dac 100644 --- a/pages/osx/top.md +++ b/pages/osx/top.md @@ -1,23 +1,24 @@ # top > Display dynamic real-time information about running processes. +> More information: . -- Start top, all options are available in the interface: +- Start `top`, all options are available in the interface: `top` -- Start top sorting processes by internal memory size (default order - process ID): +- Start `top` sorting processes by internal memory size (default order - process ID): `top -o mem` -- Start top sorting processes first by CPU, then by running time: +- Start `top` sorting processes first by CPU, then by running time: `top -o cpu -O time` -- Start top displaying only processes owned by given user: +- Start `top` displaying only processes owned by given user: `top -user {{user_name}}` -- Get help about interactive commands: +- Display help about interactive commands: -`?` +`` diff --git a/pages/osx/translationd.md b/pages/osx/translationd.md new file mode 100644 index 00000000000000..f197d86ea6cbf5 --- /dev/null +++ b/pages/osx/translationd.md @@ -0,0 +1,8 @@ +# translationd + +> Enables Translation features. +> It should not be invoked manually. + +- Start the daemon: + +`translationd` diff --git a/pages/osx/trap.md b/pages/osx/trap.md deleted file mode 100644 index 325b1c12308b01..00000000000000 --- a/pages/osx/trap.md +++ /dev/null @@ -1,20 +0,0 @@ -# trap - -> Automatically execute commands after receiving signals by processes or the operating system. -> Can be used to perform cleanups for interruptions by the user or other actions. - -- List available signals to set traps for: - -`trap -l` - -- List active traps for the current shell: - -`trap -p` - -- Set a trap to execute commands when one or more signals are detected: - -`trap 'echo "Caught signal {{SIGHUP}}"' {{SIGHUP}}` - -- Remove active traps: - -`trap - {{SIGHUP}} {{SIGINT}}` diff --git a/pages/osx/tree.md b/pages/osx/tree.md deleted file mode 100644 index 0ee158cde2a559..00000000000000 --- a/pages/osx/tree.md +++ /dev/null @@ -1,36 +0,0 @@ -# tree - -> Show the contents of the current directory as a tree. -> More information: . - -- Print files and directories up to 'num' levels of depth (where 1 means the current directory): - -`tree -L {{num}}` - -- Print directories only: - -`tree -d` - -- Print hidden files too with colorization on: - -`tree -a -C` - -- Print the tree without indentation lines, showing the full path instead (use `-N` to not escape whitespace and special characters): - -`tree -i -f` - -- Print the size of each node next to it, in human-readable format, with directories displaying their cumulative size (as in the `du` command): - -`tree -s -h --du` - -- Print files within the tree hierarchy, using a wildcard (glob) pattern, and pruning out directories that don't contain matching files: - -`tree -P '{{*.txt}}' --prune` - -- Print directories within the tree hierarchy, using the wildcard (glob) pattern, and pruning out directories that aren't ancestors of the wanted one: - -`tree -P {{directory_name}} --matchdirs --prune` - -- Print the tree ignoring the given directories: - -`tree -I '{{directory_name1|directory_name2}}'` diff --git a/pages/osx/uname.md b/pages/osx/uname.md index 78330a2e1fd839..a9d712b3c06b97 100644 --- a/pages/osx/uname.md +++ b/pages/osx/uname.md @@ -1,20 +1,25 @@ # uname > Print details about the current machine and the operating system running on it. -> Note: for additional information about the operating system, try the `sw_vers` command. +> Note: For additional information about the operating system, try the `sw_vers` command. +> More information: . -- Print hardware-related information: machine and processor: +- Print kernel name: + +`uname` + +- Print system architecture and processor information: `uname -mp` -- Print software-related information: operating system, release number, and version: +- Print kernel name, kernel release and kernel version: `uname -srv` -- Print the nodename (hostname) of the system: +- Print system hostname: `uname -n` -- Print all available system information (hardware, software, nodename): +- Print all available system information: `uname -a` diff --git a/pages/osx/units.md b/pages/osx/units.md deleted file mode 100644 index 7e3f4f7a30460a..00000000000000 --- a/pages/osx/units.md +++ /dev/null @@ -1,27 +0,0 @@ -# units - -> Provide the conversion between two units of measure. - -- Run in interactive mode: - -`units` - -- Show the conversion between two simple units: - -`units {{quarts}} {{tablespoons}}` - -- Convert between units with quantities: - -`units "{{15 pounds}}" {{kilograms}}` - -- Show the conversion between two compound units: - -`units "{{meters / second}}" "{{inches / hour}}"` - -- Show the conversion between units with different dimensions: - -`units "{{acres}}" "{{ft^2}}"` - -- Show the conversion of byte multipliers: - -`units "{{15 megabytes}}" {{bytes}}` diff --git a/pages/osx/universalaccessd.md b/pages/osx/universalaccessd.md new file mode 100644 index 00000000000000..ac2f14c85b640a --- /dev/null +++ b/pages/osx/universalaccessd.md @@ -0,0 +1,9 @@ +# universalaccessd + +> Get universal access services. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`universalaccessd` diff --git a/pages/osx/uptime.md b/pages/osx/uptime.md index f00fd39f3ad88b..192ccc0543a563 100644 --- a/pages/osx/uptime.md +++ b/pages/osx/uptime.md @@ -1,6 +1,7 @@ # uptime > Tell how long the system has been running and other information. +> More information: . - Print current time, uptime, number of logged-in users and other information: diff --git a/pages/osx/usernoted.md b/pages/osx/usernoted.md new file mode 100644 index 00000000000000..b955113b46eaa7 --- /dev/null +++ b/pages/osx/usernoted.md @@ -0,0 +1,9 @@ +# usernoted + +> Provides notification services. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`usernoted` diff --git a/pages/osx/uuidgen.md b/pages/osx/uuidgen.md new file mode 100644 index 00000000000000..126564c3690c45 --- /dev/null +++ b/pages/osx/uuidgen.md @@ -0,0 +1,8 @@ +# uuidgen + +> Generate new UUID (Universally Unique IDentifier) strings. +> More information: . + +- Generate a UUID string: + +`uuidgen` diff --git a/pages/osx/valet.md b/pages/osx/valet.md index 3928e5de5feba5..1e0aee092087c4 100644 --- a/pages/osx/valet.md +++ b/pages/osx/valet.md @@ -1,7 +1,7 @@ # valet > A Laravel development environment that allows hosting sites via local tunnels on `http://.test`. -> More information: . +> More information: . - Start the valet daemon: @@ -17,7 +17,7 @@ - Serve a single site instead of an entire directory: -`valet link app-name` +`valet link {{application_name}}` - Share a project via an Ngrok tunnel: diff --git a/pages/osx/vm_stat.md b/pages/osx/vm_stat.md new file mode 100644 index 00000000000000..b2de0a80bf7a78 --- /dev/null +++ b/pages/osx/vm_stat.md @@ -0,0 +1,12 @@ +# vm_stat + +> Show virtual memory statistics. +> More information: . + +- Display virtual memory statistics: + +`vm_stat` + +- Display reports every 2 seconds for 5 times: + +`vm_stat -c {{5}} {{2}}` diff --git a/pages/osx/vpnd.md b/pages/osx/vpnd.md new file mode 100644 index 00000000000000..740f60f9292a57 --- /dev/null +++ b/pages/osx/vpnd.md @@ -0,0 +1,29 @@ +# vpnd + +> Listens for incoming VPN connections. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`vpnd` + +- Run the daemon in the foreground: + +`vpnd -x` + +- Run the daemon in the foreground and print logs to the terminal: + +`vpnd -d` + +- Run the daemon in the foreground, print logs to the terminal, and quit after validating arguments: + +`vpnd -n` + +- Run the daemon for a specific server configuration: + +`vpnd -i {{server_id}}` + +- Display help: + +`vpnd -h` diff --git a/pages/osx/w.md b/pages/osx/w.md index 1cf83af6e84ea5..823294fe1dc8c5 100644 --- a/pages/osx/w.md +++ b/pages/osx/w.md @@ -2,15 +2,16 @@ > Show who is logged on and what they are doing. > Print user login, TTY, remote host, login time, idle time, current process. +> More information: . -- Show logged-in users info: +- Show logged-in users information: `w` -- Show logged-in users info without a header: +- Show logged-in users information without a header: `w -h` -- Show info about logged-in users, sorted by their idle time: +- Show information about logged-in users, sorted by their idle time: `w -i` diff --git a/pages/osx/wacaw.md b/pages/osx/wacaw.md index 132b0b691c4c40..06e407ce682292 100644 --- a/pages/osx/wacaw.md +++ b/pages/osx/wacaw.md @@ -1,7 +1,7 @@ # wacaw -> A little command-line tool for macOS that allows you to capture both still pictures and video from an attached camera. -> More information: . +> Capture both still pictures and video from an attached camera. +> More information: . - Take a picture from webcam: @@ -9,11 +9,11 @@ - Record a video: -`wacaw --video {{filename}} -D {{duration_in_seconds}}` +`wacaw --video {{filename}} --duration {{10}}` - Take a picture with custom resolution: -`wacaw -x {{width}} -y {{height}} {{filename}}` +`wacaw --width {{width}} --height {{100}} {{filename}}` - Copy image just taken to clipboard: @@ -21,4 +21,4 @@ - List the devices available: -`wacaw -L` +`wacaw --list-devices` diff --git a/pages/osx/warmd.md b/pages/osx/warmd.md new file mode 100644 index 00000000000000..4e6d24969262d7 --- /dev/null +++ b/pages/osx/warmd.md @@ -0,0 +1,9 @@ +# warmd + +> Controls caches used during startup and login. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`warmd` diff --git a/pages/osx/watchdogd.md b/pages/osx/watchdogd.md new file mode 100644 index 00000000000000..44ab5931cdc15c --- /dev/null +++ b/pages/osx/watchdogd.md @@ -0,0 +1,9 @@ +# watchdogd + +> Works with the Watchdog KEXT to ensure that the system is healthy and running. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`watchdogd` diff --git a/pages/osx/watchlistd.md b/pages/osx/watchlistd.md new file mode 100644 index 00000000000000..ae88ebda86d947 --- /dev/null +++ b/pages/osx/watchlistd.md @@ -0,0 +1,9 @@ +# watchlistd + +> Manage the Apple TV app's watch list. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`watchlistd` diff --git a/pages/osx/wc.md b/pages/osx/wc.md new file mode 100644 index 00000000000000..90a8ad0825da3d --- /dev/null +++ b/pages/osx/wc.md @@ -0,0 +1,24 @@ +# wc + +> Count lines, words, or bytes. +> More information: . + +- Count lines in file: + +`wc -l {{path/to/file}}` + +- Count words in file: + +`wc -w {{path/to/file}}` + +- Count characters (bytes) in file: + +`wc -c {{path/to/file}}` + +- Count characters in file (taking multi-byte character sets into account): + +`wc -m {{path/to/file}}` + +- Use `stdin` to count lines, words and characters (bytes) in that order: + +`{{find .}} | wc` diff --git a/pages/osx/webinspectord.md b/pages/osx/webinspectord.md new file mode 100644 index 00000000000000..b3def41edd10ed --- /dev/null +++ b/pages/osx/webinspectord.md @@ -0,0 +1,9 @@ +# webinspectord + +> Relays commands between Web Inspector and remote targets like WKWebView. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`webinspectord` diff --git a/pages/osx/whatis.md b/pages/osx/whatis.md index 39916d1f288a4a..cc1fe3170f9e1e 100644 --- a/pages/osx/whatis.md +++ b/pages/osx/whatis.md @@ -1,7 +1,7 @@ # whatis -> Tool that searches a set of database files containing short descriptions of system commands for keywords. -> More information: . +> Search a set of database files for short descriptions of system commands for keywords. +> More information: . - Search for information about keyword: @@ -9,4 +9,4 @@ - Search for information about multiple keywords: -`whatis {{first_keyword}} {{second_keyword}}` +`whatis {{keyword1}} {{keyword2}}` diff --git a/pages/osx/whence.md b/pages/osx/whence.md deleted file mode 100644 index c1aa98f07cf4c1..00000000000000 --- a/pages/osx/whence.md +++ /dev/null @@ -1,23 +0,0 @@ -# whence - -> A zsh builtin to indicate how a given command would be interpreted. - -- Interpret {{command}}, with expansion if defined as an `alias` (similar to the `command -v` builtin): - -`whence {{command}}` - -- Display type of {{command}}, with location if defined as a function, or binary (equivalent to the `type` and `command -V` builtins): - -`whence -v {{command}}` - -- Same as above, except display content of shell functions instead of location (equivalent to `which` builtin): - -`whence -c {{command}}` - -- Same as above, but show all occurrences on command path (equivalent to the `where` builtin): - -`whence -ca {{command}}` - -- Search only the `PATH` for {{command}}, ignoring builtins, aliases or shell functions (equivalent to the `where` command): - -`whence -p {{command}}` diff --git a/pages/osx/whereis.md b/pages/osx/whereis.md deleted file mode 100644 index afcdb45cfa333c..00000000000000 --- a/pages/osx/whereis.md +++ /dev/null @@ -1,19 +0,0 @@ -# whereis - -> Locate the binary, source, and manual page files for a command. - -- Locate binary, source and man pages for ssh: - -`whereis {{ssh}}` - -- Locate binary and man pages for ls: - -`whereis -bm {{ls}}` - -- Locate source of gcc and man pages for Git: - -`whereis -s {{gcc}} -m {{git}}` - -- Locate binaries for gcc in /usr/bin/ only: - -`whereis -b -B {{/usr/bin/}} -f {{gcc}}` diff --git a/pages/osx/wifi-password.md b/pages/osx/wifi-password.md index 3efb71c6e6af79..778fb644d26c81 100644 --- a/pages/osx/wifi-password.md +++ b/pages/osx/wifi-password.md @@ -1,13 +1,13 @@ # wifi-password -> Get the password of the wifi. +> Get the password of the Wi-Fi. > More information: . -- Get the password for the wifi you are currently logged onto: +- Get the password for the Wi-Fi you are currently logged onto: `wifi-password` -- Get the password for the wifi with a specific SSID: +- Get the password for the Wi-Fi with a specific SSID: `wifi-password {{ssid}}` diff --git a/pages/osx/wifivelocityd.md b/pages/osx/wifivelocityd.md new file mode 100644 index 00000000000000..25bb9675de2318 --- /dev/null +++ b/pages/osx/wifivelocityd.md @@ -0,0 +1,9 @@ +# wifivelocityd + +> XPC helper for performing system context actions for the WiFiVelocity framework. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`wifivelocityd` diff --git a/pages/osx/wps.md b/pages/osx/wps.md new file mode 100644 index 00000000000000..aacc0a541038d8 --- /dev/null +++ b/pages/osx/wps.md @@ -0,0 +1,9 @@ +# wps + +> Assists AirPort in connecting to a network using Wireless Protected Setup. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`wps` diff --git a/pages/osx/wwand.md b/pages/osx/wwand.md new file mode 100644 index 00000000000000..2ed83300c0a457 --- /dev/null +++ b/pages/osx/wwand.md @@ -0,0 +1,9 @@ +# wwand + +> USB WWAN device configuration daemon. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`wwand` diff --git a/pages/osx/xar.md b/pages/osx/xar.md deleted file mode 100644 index dfa3fd687cb7fb..00000000000000 --- a/pages/osx/xar.md +++ /dev/null @@ -1,16 +0,0 @@ -# xar - -> Manage .xar archives. -> More information: . - -- Create a xar archive of all files in a given directory: - -`xar -cf {{archive.xar}} {{path/to/directory}}` - -- Lis[t] the contents of a given xar archive: - -`xar -tf {{archive.xar}}` - -- Extract the contents of a given xar archive to the current directory: - -`xar -xf {{archive.xar}}` diff --git a/pages/osx/xartstorageremoted.md b/pages/osx/xartstorageremoted.md new file mode 100644 index 00000000000000..584b31251a9fab --- /dev/null +++ b/pages/osx/xartstorageremoted.md @@ -0,0 +1,9 @@ +# xartstorageremoted + +> The xART Remote Storage Daemon. Receives save/fetch requests from the CoProcessor. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`xartstorageremoted` diff --git a/pages/osx/xattr.md b/pages/osx/xattr.md index 290e58b2c186b6..a50da3e8504eda 100644 --- a/pages/osx/xattr.md +++ b/pages/osx/xattr.md @@ -1,6 +1,7 @@ # xattr > Utility to work with extended filesystem attributes. +> More information: . - List key:value extended attributes for a given file: diff --git a/pages/osx/xcode-select.md b/pages/osx/xcode-select.md index 5383aa80877b75..c2a3d06525f57a 100644 --- a/pages/osx/xcode-select.md +++ b/pages/osx/xcode-select.md @@ -2,6 +2,7 @@ > Switch between different versions of Xcode and the included developer tools. > Also used to update the path to Xcode if it is moved after installation. +> More information: . - Install Xcode's command-line tools: @@ -9,16 +10,16 @@ - Select a given path as the active developer directory: -`xcode-select -s {{path/to/Xcode.app/Contents/Developer}}` +`xcode-select --switch {{path/to/Xcode.app/Contents/Developer}}` - Select a given Xcode instance and use its developer directory as the active one: -`xcode-select -s {{path/to/Xcode.app}}` +`xcode-select --switch {{path/to/Xcode_file.app}}` - Print the currently selected developer directory: -`xcode-select -p` +`xcode-select --print-path` - Discard any user-specified developer directory so that it will be found via the default search mechanism: -`sudo xcode-select -r` +`sudo xcode-select --reset` diff --git a/pages/osx/xcodebuild.md b/pages/osx/xcodebuild.md index 7cc2926caf3cbc..a9831fa65e1585 100644 --- a/pages/osx/xcodebuild.md +++ b/pages/osx/xcodebuild.md @@ -1,6 +1,7 @@ # xcodebuild > Build Xcode projects. +> More information: . - Build workspace: diff --git a/pages/osx/xcodes-runtimes.md b/pages/osx/xcodes-runtimes.md new file mode 100644 index 00000000000000..668d481c6d56bc --- /dev/null +++ b/pages/osx/xcodes-runtimes.md @@ -0,0 +1,28 @@ +# xcodes runtimes + +> Manage Xcode Simulator runtimes. +> More information: . + +- Display all available Simulator runtimes: + +`xcodes runtimes --include-betas` + +- Download a Simulator runtime: + +`xcodes runtimes download {{runtime_name}}` + +- Download and install a Simulator runtime: + +`xcodes runtimes install {{runtime_name}}` + +- Download/install a Simulator runtime for specific iOS/watchOS/tvOS/visionOS version (must be written as case-sensitive): + +`xcodes runtimes {{download|install}} "{{iOS|watchOS|tvOS|visionOS}} {{runtime_version}}"` + +- Set a specific location where the runtime archive will be first downloaded (defaults to `~/Downloads`): + +`xcodes runtimes {{download|install}} {{runtime_name}} --directory {{path/to/directory}}` + +- Do not delete the downloaded archive when the Simulator is successfully installed: + +`xcodes runtimes install {{runtime_name}} --keep-archive` diff --git a/pages/osx/xcodes.md b/pages/osx/xcodes.md new file mode 100644 index 00000000000000..89c6ac45f8bf1b --- /dev/null +++ b/pages/osx/xcodes.md @@ -0,0 +1,29 @@ +# xcodes + +> Download, install and manage multiple Xcode versions. +> See also: `xcodes runtimes`. +> More information: . + +- List all installed Xcode versions: + +`xcodes installed` + +- List all available Xcode versions: + +`xcodes list` + +- Select an Xcode version by specifying a version number or a path: + +`xcodes select {{xcode_version|path/to/Xcode.app}}` + +- Download and install a specific Xcode version: + +`xcodes install {{xcode_version}}` + +- Install the latest Xcode release and select it: + +`xcodes install --latest --select` + +- Download a specific Xcode version archive to a given directory without installing it: + +`xcodes download {{xcode_version}} --directory {{path/to/directory}}` diff --git a/pages/osx/xcrun.md b/pages/osx/xcrun.md new file mode 100644 index 00000000000000..e7a977fb5eded8 --- /dev/null +++ b/pages/osx/xcrun.md @@ -0,0 +1,28 @@ +# xcrun + +> Run or locate development tools and properties. +> More information: . + +- Find and run a tool from the active developer directory: + +`xcrun {{tool}} {{arguments}}` + +- Show verbose output: + +`xcrun {{tool}} {{arguments}} --verbose` + +- Find a tool for a given SDK: + +`xcrun --sdk {{sdk_name}}` + +- Find a tool for a given toolchain: + +`xcrun --toolchain {{name}}` + +- Display help: + +`xcrun --help` + +- Display version: + +`xcrun --version` diff --git a/pages/osx/xctool.md b/pages/osx/xctool.md index 7e44084c438327..30de79570e7495 100644 --- a/pages/osx/xctool.md +++ b/pages/osx/xctool.md @@ -1,7 +1,7 @@ # xctool -> Tool for building Xcode projects. -> More information: . +> Build Xcode projects. +> More information: . - Build a single project without any workspace: diff --git a/pages/osx/xed.md b/pages/osx/xed.md index 7547392332ee48..48dbd68f411201 100644 --- a/pages/osx/xed.md +++ b/pages/osx/xed.md @@ -1,15 +1,16 @@ # xed -> Opens files for editing in XCode. +> Opens files for editing in Xcode. +> More information: . -- Open file in XCode: +- Open file in Xcode: -`xed {{file1}}` +`xed {{path/to/file1 path/to/file2 ...}}` -- Open file(s) in XCode, create if it doesn't exist: +- Open file(s) in Xcode, create if it doesn't exist: -`xed -c {{filename1}}` +`xed --create {{path/to/file1 path/to/file2 ...}}` -- Open a file in XCode and jump to line number 75: +- Open a file in Xcode and jump to line number 75: -`xed -l 75 {{filename}}` +`xed --line 75 {{path/to/file}}` diff --git a/pages/osx/xip.md b/pages/osx/xip.md index d666df29cdf7cb..f1e66570955283 100644 --- a/pages/osx/xip.md +++ b/pages/osx/xip.md @@ -2,6 +2,7 @@ > Create or expand compressed files in a secure xip archive. > Only archives signed by Apple are trusted, so this tool should not be used to create archives. +> More information: . - Expand the archive into the current working directory: diff --git a/pages/osx/xml2man.md b/pages/osx/xml2man.md new file mode 100644 index 00000000000000..09c43149a59646 --- /dev/null +++ b/pages/osx/xml2man.md @@ -0,0 +1,16 @@ +# xml2man + +> Compile MPGL to mdoc. +> More information: . + +- Compile an MPGL file to a viewable man page: + +`xml2man {{path/to/command_file.mxml}}` + +- Compile an MPGL file to a specific output file: + +`xml2man {{path/to/service_file.mxml}} {{path/to/service_file.7}}` + +- Compile an MPGL file to a specific output file, overwriting if it already exists: + +`xml2man -f {{path/to/function_file.mxml}} {{path/to/function_file.3}}` diff --git a/pages/osx/xsand.md b/pages/osx/xsand.md new file mode 100644 index 00000000000000..38d9e674f360e3 --- /dev/null +++ b/pages/osx/xsand.md @@ -0,0 +1,9 @@ +# xsand + +> Xsan file system management daemon. Provides services for the Xsan file system. +> It should not be invoked manually. +> More information: . + +- Start the daemon: + +`xsand` diff --git a/pages/osx/xsltproc.md b/pages/osx/xsltproc.md index 071ab8eb67404f..8eec58aa2d1ae4 100644 --- a/pages/osx/xsltproc.md +++ b/pages/osx/xsltproc.md @@ -1,11 +1,12 @@ # xsltproc > Transform XML with XSLT to produce output (usually HTML or XML). +> More information: . - Transform an XML file with a specific XSLT stylesheet: -`xsltproc --output {{output.html}} {{stylesheet.xslt}} {{xmlfile.xml}}` +`xsltproc --output {{path/to/output_file.html}} {{path/to/stylesheet_file.xslt}} {{path/to/file.xml}}` - Pass a value to a parameter in the stylesheet: -`xsltproc --output {{output.html}} --stringparam {{name}} {{value}} {{stylesheet.xslt}} {{xmlfile.xml}}` +`xsltproc --output {{path/to/output_file.html}} --stringparam "{{name}}" "{{value}}" {{path/to/stylesheet_file.xslt}} {{path/to/xml_file.xml}}` diff --git a/pages/osx/yaa.md b/pages/osx/yaa.md index f7333ee2d37e38..7cfcc46c58d2a4 100644 --- a/pages/osx/yaa.md +++ b/pages/osx/yaa.md @@ -1,27 +1,28 @@ # yaa > Create and manipulate YAA archives. +> More information: . - Create an archive from a directory: -`yaa archive -d {{path/to/directory}} -o {{path/to/output.yaa}}` +`yaa archive -d {{path/to/directory}} -o {{path/to/output_file.yaa}}` - Create an archive from a file: -`yaa archive -i {{path/to/file}} -o {{path/to/output.yaa}}` +`yaa archive -i {{path/to/file}} -o {{path/to/output_file.yaa}}` - Extract an archive to the current directory: -`yaa extract -i {{path/to/archive.yaa}}` +`yaa extract -i {{path/to/archive_file.yaa}}` - List the contents of an archive: -`yaa list -i {{path/to/archive.yaa}}` +`yaa list -i {{path/to/archive_file.yaa}}` - Create an archive with a specific compression algorithm: -`yaa archive -a {{algorithm}} -d {{path/to/directory}} -o {{path/to/output.yaa}}` +`yaa archive -a {{algorithm}} -d {{path/to/directory}} -o {{path/to/output_file.yaa}}` -- Create an archive with an 8MB block size: +- Create an archive with an 8 MB block size: -`yaa archive -b {{8m}} -d {{path/to/directory}} -o {{path/to/output.yaa}}` +`yaa archive -b 8m -d {{path/to/directory}} -o {{path/to/output_file.yaa}}` diff --git a/pages/osx/yabai.md b/pages/osx/yabai.md index 7feb1f6ec4d024..cdeb746fe8a2ef 100644 --- a/pages/osx/yabai.md +++ b/pages/osx/yabai.md @@ -1,13 +1,13 @@ # yabai > A tiling window manager for macOS based on binary space partitioning. -> More information: . +> More information: . -- Set the layout to bsp: +- Send a config [m]essage for setting the layout: -`yabai -m config layout {{bsp}}` +`yabai -m config layout {{bsp|stack|float}}` -- Set the window gap to 10pt: +- Set the window gap in pt: `yabai -m config window_gap {{10}}` diff --git a/pages/osx/yank.md b/pages/osx/yank.md deleted file mode 100644 index 9cd2a4983f6cbe..00000000000000 --- a/pages/osx/yank.md +++ /dev/null @@ -1,19 +0,0 @@ -# yank - -> Read input from `stdin` and display a selection interface that allows a field to be selected and copied to the clipboard. - -- Yank using the default delimiters (\f, \n, \r, \s, \t): - -`{{sudo dmesg}} | yank` - -- Yank an entire line: - -`{{sudo dmesg}} | yank -l` - -- Yank using a specific delimiter: - -`{{echo hello=world}} | yank -d {{=}}` - -- Only yank fields matching a specific pattern: - -`{{ps ux}} | yank -g "{{[0-9]+}}"` diff --git a/pages/sunos/devfsadm.md b/pages/sunos/devfsadm.md index 27f450b427362d..5e1c75aeff421d 100644 --- a/pages/sunos/devfsadm.md +++ b/pages/sunos/devfsadm.md @@ -1,6 +1,7 @@ # devfsadm > Administration command for `/dev`. Maintains the `/dev` namespace. +> More information: . - Scan for new disks: diff --git a/pages/sunos/dmesg.md b/pages/sunos/dmesg.md index 5478d302d69a1f..b73a4ef3b62beb 100644 --- a/pages/sunos/dmesg.md +++ b/pages/sunos/dmesg.md @@ -1,6 +1,7 @@ # dmesg -> Write the kernel messages to standard output. +> Write the kernel messages to `stdout`. +> More information: . - Show kernel messages: diff --git a/pages/sunos/prctl.md b/pages/sunos/prctl.md index 286bdbe87450dd..a332471f44e9bc 100644 --- a/pages/sunos/prctl.md +++ b/pages/sunos/prctl.md @@ -1,16 +1,16 @@ # prctl -> Get or set the resource controls of running processes,. -> Tasks, and projects. +> Get or set the resource controls of running processes, tasks, and projects. +> More information: . - Examine process limits and permissions: -`prctl {{PID}}` +`prctl {{pid}}` -- Examine process limits and permissions in machine parseable format: +- Examine process limits and permissions in machine parsable format: -`prctl -P {{PID}}` +`prctl -P {{pid}}` - Get specific limit for a running process: -`prctl -n process.max-file-descriptor {{PID}}` +`prctl -n process.max-file-descriptor {{pid}}` diff --git a/pages/sunos/prstat.md b/pages/sunos/prstat.md index bde6be4397b19d..1ceab064f62332 100644 --- a/pages/sunos/prstat.md +++ b/pages/sunos/prstat.md @@ -1,6 +1,7 @@ # prstat > Report active process statistics. +> More information: . - Examine all processes and reports statistics sorted by CPU usage: diff --git a/pages/sunos/runit.md b/pages/sunos/runit.md deleted file mode 100644 index 841092117b2794..00000000000000 --- a/pages/sunos/runit.md +++ /dev/null @@ -1,11 +0,0 @@ -# runit - -> 3-stage init system. - -- Start runit's 3-stage init scheme: - -`runit` - -- Shut down runit: - -`kill --CONT {{runit_pid}}` diff --git a/pages/sunos/runsv.md b/pages/sunos/runsv.md deleted file mode 100644 index 8b131ae6a8ab48..00000000000000 --- a/pages/sunos/runsv.md +++ /dev/null @@ -1,11 +0,0 @@ -# runsv - -> Start and manage a runit service. - -- Start a runit service as the current user: - -`runsv {{path/to/service}}` - -- Start a runit service as root: - -`sudo runsv {{path/to/service}}` diff --git a/pages/sunos/runsvchdir.md b/pages/sunos/runsvchdir.md deleted file mode 100644 index 18e671a634bb6d..00000000000000 --- a/pages/sunos/runsvchdir.md +++ /dev/null @@ -1,7 +0,0 @@ -# runsvchdir - -> Change the directory `runsvdir` uses by default. - -- Switch `runsvdir` directories: - -`sudo runsvchdir {{path/to/directory}}` diff --git a/pages/sunos/runsvdir.md b/pages/sunos/runsvdir.md deleted file mode 100644 index bc1ad17b16225d..00000000000000 --- a/pages/sunos/runsvdir.md +++ /dev/null @@ -1,15 +0,0 @@ -# runsvdir - -> Run an entire directory of services. - -- Start and manage all services in a directory as the current user: - -`runsvdir {{path/to/services}}` - -- Start and manage all services in a directory as root: - -`sudo runsvdir {{path/to/services}}` - -- Start services in separate sessions: - -`runsvdir -P {{path/to/services}}` diff --git a/pages/sunos/share.md b/pages/sunos/share.md new file mode 100644 index 00000000000000..8de155c2546548 --- /dev/null +++ b/pages/sunos/share.md @@ -0,0 +1,24 @@ +# share + +> Make local resource/filesystem available for mounting by remote systems. +> More information: . + +- List all currently shared file systems: + +`share` + +- Share a directory with read/write access: + +`share -F nfs -o rw /{{path/to/directory}}` + +- Share a directory with read-only access: + +`share -F nfs -o ro /{{path/to/directory}}` + +- Share a directory with specific options (e.g., allow root access from a specific host): + +`share -F nfs -o rw,root={{hostname}} /{{path/to/directory}}` + +- Make sharing persistent by adding entries to `/etc/dfs/dfstab`: + +`echo "share -F nfs -o rw /{{path/to/directory}}" >> /etc/dfs/dfstab` diff --git a/pages/sunos/snoop.md b/pages/sunos/snoop.md index 96f4f24148d136..74be3913c00667 100644 --- a/pages/sunos/snoop.md +++ b/pages/sunos/snoop.md @@ -2,6 +2,7 @@ > Network packet sniffer. > SunOS equivalent of tcpdump. +> More information: . - Capture packets on a specific network interface: @@ -9,16 +10,16 @@ - Save captured packets in a file instead of displaying them: -`snoop -o {{filename}}` +`snoop -o {{path/to/file}}` - Display verbose protocol layer summary of packets from a file: -`snoop -V -i {{filename}}` +`snoop -V -i {{path/to/file}}` - Capture network packets that come from a hostname and go to a given port: `snoop to port {{port}} from host {{hostname}}` -- Capture and show an hex-dump of network packets exchanged between two IP addresses: +- Capture and show a hex-dump of network packets exchanged between two IP addresses: -`snoop -x0 -p4 {{ip_address_1}} {{ip_address_2}}` +`snoop -x0 -p4 {{ip1}} {{ip2}}` diff --git a/pages/sunos/sv.md b/pages/sunos/sv.md deleted file mode 100644 index 0567e0d0c89a26..00000000000000 --- a/pages/sunos/sv.md +++ /dev/null @@ -1,15 +0,0 @@ -# sv - -> Control a running runsv service. - -- Start a service: - -`sudo sv up {{path/to/service}}` - -- Stop a service: - -`sudo sv down {{path/to/service}}` - -- Get service status: - -`sudo sv status {{path/to/service}}` diff --git a/pages/sunos/svcadm.md b/pages/sunos/svcadm.md index b0045e1fa7db84..51313fb0818636 100644 --- a/pages/sunos/svcadm.md +++ b/pages/sunos/svcadm.md @@ -1,6 +1,7 @@ # svcadm > Manipulate service instances. +> More information: . - Enable a service in the service database: diff --git a/pages/sunos/svccfg.md b/pages/sunos/svccfg.md index 79605dde3119cb..cd820c0b639eb2 100644 --- a/pages/sunos/svccfg.md +++ b/pages/sunos/svccfg.md @@ -1,15 +1,16 @@ # svccfg > Import, export, and modify service configurations. +> More information: . - Validate configuration file: -`svccfg validate {{smf.xml}}` +`svccfg validate {{path/to/smf_file.xml}}` - Export service configurations to file: -`svccfg export {{servicename}} > {{smf.xml}}` +`svccfg export {{servicename}} > {{path/to/smf_file.xml}}` - Import/update service configurations from file: -`svccfg import {{smf.xml}}` +`svccfg import {{path/to/smf_file.xml}}` diff --git a/pages/sunos/svcs.md b/pages/sunos/svcs.md index e78cd9568e5bc2..acfbc0edeb0f2b 100644 --- a/pages/sunos/svcs.md +++ b/pages/sunos/svcs.md @@ -1,6 +1,7 @@ # svcs > List information about running services. +> More information: . - List all running services: diff --git a/pages/sunos/truss.md b/pages/sunos/truss.md index 333287818232b7..a7d533b67a46de 100644 --- a/pages/sunos/truss.md +++ b/pages/sunos/truss.md @@ -2,6 +2,7 @@ > Troubleshooting tool for tracing system calls. > SunOS equivalent of strace. +> More information: . - Start tracing a program by executing it, following all child processes: diff --git a/pages/windows/add-appxpackage.md b/pages/windows/add-appxpackage.md new file mode 100644 index 00000000000000..31faeadfad5c4b --- /dev/null +++ b/pages/windows/add-appxpackage.md @@ -0,0 +1,20 @@ +# Add-AppxPackage + +> A PowerShell utility to add a signed app package (`.appx`, `.msix`, `.appxbundle` and `.msixbundle`) to a user account. +> More information: . + +- Add an app package: + +`Add-AppxPackage -Path {{path\to\package.msix}}` + +- Add an app package with dependencies: + +`Add-AppxPackage -Path {{path\to\package.msix}} -DependencyPath {{path\to\dependencies.msix}}` + +- Install an app using the app installer file: + +`Add-AppxPackage -AppInstallerFile {{path\to\app.appinstaller}}` + +- Add an unsigned package: + +`Add-AppxPackage -Path {{path\to\package.msix}} -DependencyPath {{path\to\dependencies.msix}} -AllowUnsigned` diff --git a/pages/windows/assoc.md b/pages/windows/assoc.md index 6a797fdd309ec0..18780496d01db5 100644 --- a/pages/windows/assoc.md +++ b/pages/windows/assoc.md @@ -1,16 +1,20 @@ # assoc -> Display or modify file extension associations. -> More information: . +> Display or change associations between file extensions and file types. +> More information: . -- Display all associated filetypes: +- List all associations between file extensions and file types: `assoc` -- Display the associated filetype for a specific extension: +- Display the associated file type for a specific extension: `assoc {{.txt}}` -- Modify the associated filetype for a specific extension: +- Set the associated file type for a specific extension: -`assoc {{.txt}}={{txtfile}}` +`assoc .{{txt}}={{txtfile}}` + +- View the output of `assoc` one screen at a time: + +`assoc | {{more}}` diff --git a/pages/windows/attrib.md b/pages/windows/attrib.md index 9bcc0af873550f..0703958290d067 100644 --- a/pages/windows/attrib.md +++ b/pages/windows/attrib.md @@ -1,28 +1,28 @@ # attrib -> Displays or changes file and directory attributes. -> More information: . +> Display or change attributes of files or directories. +> More information: . -- Display the attributes of the files in the current directory: +- Display all set attributes of files in the current directory: `attrib` -- Display the attributes of the files in the current directory and sub-directories: +- Display all set attributes of files in a specific directory: -`attrib /S` +`attrib {{path\to\directory}}` -- Display the attributes of the files and directories in the current directory and sub-directories: +- Display all set attributes of files and [d]irectories in the current directory: -`attrib /S /D` +`attrib /d` -- Add the read-only attribute to a file: +- Display all set attributes of files in the current directory and [s]ub-directories: -`attrib +R {{document.txt}}` +`attrib /s` -- Remove the system and hidden attributes of a file: +- Add the `[r]ead-only` or `[a]rchive` or `[s]ystem` or `[h]idden` or `not content [i]ndexed` attribute to files or directories: -`attrib -S -H {{document.txt}}` +`attrib +{{r|a|s|h|i}} {{path\to\file_or_directory1 path\to\file_or_directory2 ...}}` -- Add the hidden attribute to a directory: +- Remove a specific attribute of files or directories: -`attrib +H {{path\to\directory}}` +`attrib -{{r|a|s|h|i}} {{path\to\file_or_directory1 path\to\file_or_directory2 ...}}` diff --git a/pages/windows/azcopy.md b/pages/windows/azcopy.md index e51b384b66dca2..2283e46696a25d 100644 --- a/pages/windows/azcopy.md +++ b/pages/windows/azcopy.md @@ -1,19 +1,19 @@ # azcopy > A file transfer tool for uploading to Azure Cloud Storage Accounts. -> More information: . +> More information: . -- Login to an Azure Tenant: +- Log in to an Azure Tenant: -`azopy login` +`azcopy login` - Upload a local file: -`azcopy copy '{{path/to/source/file}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}/{{blob_name}}'` +`azcopy copy '{{path\to\source_file}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}/{{blob_name}}'` - Upload files with `.txt` and `.jpg` extensions: -`azcopy copy '{{path/to/source}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --include-pattern '{{*.txt;*.jpg}}'` +`azcopy copy '{{path\to\source_directory}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --include-pattern '{{*.txt;*.jpg}}'` - Copy a container directly between two Azure storage accounts: @@ -21,8 +21,8 @@ - Synchronize a local directory and delete files in the destination if they no longer exist in the source: -`azcopy sync '{{path/to/source}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --recursive --delete-destination=true` +`azcopy sync '{{path\to\source_directory}}' 'https://{{storage_account_name}}.blob.core.windows.net/{{container_name}}' --recursive --delete-destination=true` -- Display detailed usage information: +- Display help: `azcopy --help` diff --git a/pages/windows/bcdboot.md b/pages/windows/bcdboot.md new file mode 100644 index 00000000000000..c509d4b8137979 --- /dev/null +++ b/pages/windows/bcdboot.md @@ -0,0 +1,24 @@ +# bcdboot + +> Configure or repair boot files. +> More information: . + +- Initialize the system partition by using BCD files from the source Windows folder: + +`bcdboot {{C:\Windows}}` + +- Enable [v]erbose mode: + +`bcdboot {{C:\Windows}} /v` + +- Specify the volume letter of the [s]ystem partition: + +`bcdboot {{C:\Windows}} /s {{S:}}` + +- Specify a [l]ocale: + +`bcdboot {{C:\Windows}} /l {{en-us}}` + +- Specify a [f]irmware type while copying the boot files to a specified volume: + +`bcdboot {{C:\Windows}} /s {{S:}} /f {{UEFI|BIOS|ALL}}` diff --git a/pages/windows/bleachbit.md b/pages/windows/bleachbit.md new file mode 100644 index 00000000000000..bb9a3d893b5ffb --- /dev/null +++ b/pages/windows/bleachbit.md @@ -0,0 +1,7 @@ +# bleachbit + +> This command is an alias of `bleachbit_console`. + +- View documentation for the original command: + +`tldr bleachbit_console` diff --git a/pages/windows/bleachbit_console.md b/pages/windows/bleachbit_console.md new file mode 100644 index 00000000000000..a539b1b8e195d4 --- /dev/null +++ b/pages/windows/bleachbit_console.md @@ -0,0 +1,24 @@ +# bleachbit_console + +> Clean junk files on the filesystem. +> More information: . + +- Start the graphical user interface (GUI) version of Bleachbit: + +`bleachbit_console.exe --gui` + +- Shred a file: + +`bleachbit_console.exe --shred {{path/to/file}}` + +- List available cleaner options: + +`bleachbit_console.exe --list-cleaners` + +- Preview the files that will be deleted and other changes that will be made before actually performing the clean-up operation: + +`bleachbit_console.exe --preview {{--preset|cleaner1.option1 cleaner2.* ...}}` + +- Perform the clean-up operation and delete files: + +`bleachbit_console.exe --clean {{--preset|cleaner1.option1 cleaner2.* ...}}` diff --git a/pages/windows/cd.md b/pages/windows/cd.md index fad86ae0b028b7..ea9917be6e150e 100644 --- a/pages/windows/cd.md +++ b/pages/windows/cd.md @@ -1,20 +1,33 @@ # cd -> Displays the name of or changes the current working directory. -> More information: . +> 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: . -- Go to a directory in the same drive: +- View documentation of the equivalent PowerShell command: -`cd {{path/to/directory}}` +`tldr set-location` -- Display the name of the current directory: +- Display the path of the current directory: `cd` +- Go to a specific directory on the same drive: + +`cd {{path\to\directory}}` + +- Go to a specific directory on a different [d]rive: + +`cd /d {{C}}:{{path\to\directory}}` + - Go up to the parent of the current directory: `cd ..` -- Go to a directory in a different drive: +- Go to the home directory of the current user: + +`cd %userprofile%` + +- Go to root of current drive: -`cd {{path/to/directory}} /d` +`cd \` diff --git a/pages/windows/certutil.md b/pages/windows/certutil.md new file mode 100644 index 00000000000000..825db30c2d93e6 --- /dev/null +++ b/pages/windows/certutil.md @@ -0,0 +1,24 @@ +# certutil + +> A tool to manage and configure certificate information. +> More information: . + +- Dump the configuration information or files: + +`certutil {{filename}}` + +- Encode a file in hexadecimal: + +`certutil -encodehex {{path\to\input_file}} {{path\to\output_file}}` + +- Encode a file to Base64: + +`certutil -encode {{path\to\input_file}} {{path\to\output_file}}` + +- Decode a Base64-encoded file: + +`certutil -decode {{path\to\input_file}} {{path\to\output_file}}` + +- Generate and display a cryptographic hash over a file: + +`certutil -hashfile {{path\to\input_file}} {{md2|md4|md5|sha1|sha256|sha384|sha512}}` diff --git a/pages/windows/chdir.md b/pages/windows/chdir.md new file mode 100644 index 00000000000000..7461e088103ce5 --- /dev/null +++ b/pages/windows/chdir.md @@ -0,0 +1,12 @@ +# chdir + +> This command is an alias of `cd` in Command Prompt, and subsequently `Set-Location` in PowerShell. +> More information: . + +- View documentation for the original Command Prompt command: + +`tldr cd` + +- View documentation for the original PowerShell command: + +`tldr set-location` diff --git a/pages/windows/chkdsk.md b/pages/windows/chkdsk.md index ef3e911e20eb28..5e53473eba506a 100644 --- a/pages/windows/chkdsk.md +++ b/pages/windows/chkdsk.md @@ -1,7 +1,7 @@ # chkdsk > Check file system and volume metadata for errors. -> More information: . +> More information: . - Specify the drive letter (followed by a colon), mount point, or volume name to check: diff --git a/pages/windows/choco-apikey.md b/pages/windows/choco-apikey.md index 1bed0f1e1283af..db72ca9f9d4d57 100644 --- a/pages/windows/choco-apikey.md +++ b/pages/windows/choco-apikey.md @@ -1,4 +1,4 @@ -# choco-apikey +# choco apikey > Manage API keys for Chocolatey sources. > More information: . @@ -9,12 +9,12 @@ - Display a specific source and its API key: -`choco apikey --source "{{source_url}}"` +`choco apikey {{[-s|--source]}} "{{source_url}}"` - Set an API key for a source: -`choco apikey --source "{{source_url}}" --key "{{api_key}}"` +`choco apikey {{[-s|--source]}} "{{source_url}}" {{[-k|--api-key]}} "{{api_key}}"` - Remove an API key for a source: -`choco apikey --source "{{source_url}}" --remove` +`choco apikey {{[-s|--source]}} "{{source_url}}" --remove` diff --git a/pages/windows/choco-info.md b/pages/windows/choco-info.md index c215fa626be4fa..d96420b4db921a 100644 --- a/pages/windows/choco-info.md +++ b/pages/windows/choco-info.md @@ -9,12 +9,12 @@ - Display information for a local package only: -`choco info {{package}} --local-only` +`choco info {{package}} {{[-l|--local-only]}}` - Specify a custom source to receive packages information from: -`choco info {{package}} --source {{source_url|alias}}` +`choco info {{package}} {{[-s|--source]}} {{source_url|alias}}` - Provide a username and password for authentication: -`choco info {{package}} --user {{username}} --password {{password}}` +`choco info {{package}} {{[-u|--user]}} {{username}} {{[-p|--password]}} {{password}}` diff --git a/pages/windows/choco-install.md b/pages/windows/choco-install.md index ff4a08f726a385..8a91dad1e40447 100644 --- a/pages/windows/choco-install.md +++ b/pages/windows/choco-install.md @@ -3,17 +3,17 @@ > Install one or more packages with Chocolatey. > More information: . -- Install one or more space-separated packages: +- Install one or more packages: -`choco install {{package(s)}}` +`choco install {{package1 package2 ...}}` - Install packages from a custom configuration file: -`choco install {{path/to/packages.config}}` +`choco install {{path\to\packages_file.config}}` -- Install a specific "nuspec" or "nupkg" file: +- Install a specific `nuspec` or `nupkg` file: -`choco install {{path/to/file}}` +`choco install {{path\to\file}}` - Install a specific version of a package: diff --git a/pages/windows/choco-list.md b/pages/windows/choco-list.md index fad0a06fbbb569..afba8b47fe3688 100644 --- a/pages/windows/choco-list.md +++ b/pages/windows/choco-list.md @@ -13,7 +13,7 @@ - Display a list including local programs: -`choco list --include-programs` +`choco list {{[-i|--include-programs]}}` - Display only approved packages: @@ -21,7 +21,7 @@ - Specify a custom source to display packages from: -`choco list --source {{source_url|alias}}` +`choco list {{[-s|--source]}} {{source_url|alias}}` - Provide a username and password for authentication: diff --git a/pages/windows/choco-new.md b/pages/windows/choco-new.md index 499a8850cb5d0e..dd72cae2161794 100644 --- a/pages/windows/choco-new.md +++ b/pages/windows/choco-new.md @@ -5,20 +5,20 @@ - Create a new package skeleton: -`choco new {{package_name}}` +`choco new {{package}}` - Create a new package with a specific version: -`choco new {{package_name}} --version {{version}}` +`choco new {{package}} --version {{version}}` - Create a new package with a specific maintainer name: -`choco new {{package_name}} --maintainer {{maintainer_name}}` +`choco new {{package}} --maintainer {{maintainer_name}}` - Create a new package in a custom output directory: -`choco new {{package_name}} --output-directory {{path/to/directory}}` +`choco new {{package}} {{[--out|--output-directory]}} {{path/to/directory}}` -- Create a new package with specific 32-bit and 64-bit installer urls: +- Create a new package with specific 32-bit and 64-bit installer URLs: -`choco new {{package_name}} url="{{url}}" url64="{{url}}"` +`choco new {{package}} url="{{url}}" url64="{{url}}"` diff --git a/pages/windows/choco-pack.md b/pages/windows/choco-pack.md index 9ff7851edd920d..85eaa4113e8710 100644 --- a/pages/windows/choco-pack.md +++ b/pages/windows/choco-pack.md @@ -1,16 +1,16 @@ # choco pack -> Package a NuGet specification into a nupkg file. +> Package a NuGet specification into a `nupkg` file. > More information: . -- Package a NuGet specification to a nupkg file: +- Package a NuGet specification to a `nupkg` file: -`choco pack {{path/to/specification}}` +`choco pack {{path\to\specification_file}}` - Package a NuGet specification specifying the version of the resulting file: -`choco pack {{path/to/specification}} --version {{version}}` +`choco pack {{path\to\specification_file}} --version {{version}}` - Package a NuGet specification to a specific directory: -`choco pack {{path/to/specification}} --output-directory {{path/to/output_directory}}` +`choco pack {{path\to\specification_file}} {{[--out|--output-directory]}} {{path\to\output_directory}}` diff --git a/pages/windows/choco-pin.md b/pages/windows/choco-pin.md index edc89bacabc6d3..db77702444aa9d 100644 --- a/pages/windows/choco-pin.md +++ b/pages/windows/choco-pin.md @@ -1,6 +1,6 @@ # choco pin -> Pin a package at a specific version with Chocolatey. +> Pin a package at a version with Chocolatey. > Pinned packages are skipped automatically when upgrading. > More information: . @@ -10,12 +10,12 @@ - Pin a package at its current version: -`choco pin add --name {{package}}` +`choco pin add {{[-n|--name]}} {{package}}` - Pin a package at a specific version: -`choco pin add --name {{package}} --version {{version}}` +`choco pin add {{[-n|--name]}} {{package}} --version {{version}}` - Remove a pin for a specific package: -`choco pin remove --name {{package}}` +`choco pin remove {{[-n|--name]}} {{package}}` diff --git a/pages/windows/choco-push.md b/pages/windows/choco-push.md new file mode 100644 index 00000000000000..7aef3f9d3f3c11 --- /dev/null +++ b/pages/windows/choco-push.md @@ -0,0 +1,12 @@ +# choco push + +> Push a compiled NuGet package (`nupkg`) to a package feed. +> More information: . + +- Push a compiled `nupkg` to the specified feed: + +`choco push {{[-s|--source]}} {{https://push.chocolatey.org/}}` + +- Push a compiled `nupkg` to the specified feed with a timeout in seconds (default is 2700): + +`choco push {{[-s|--source]}} {{https://push.chocolatey.org/}} {{[--timeout|--execution-timeout]}} {{500}}` diff --git a/pages/windows/choco-search.md b/pages/windows/choco-search.md index 725b63f9ac9d25..03fb104c435dab 100644 --- a/pages/windows/choco-search.md +++ b/pages/windows/choco-search.md @@ -13,16 +13,16 @@ - Only include exact matches in the results: -`choco search {{query}} --exact` +`choco search {{query}} {{[-e|--exact]}}` - Confirm all prompts automatically: -`choco search {{query}} --yes` +`choco search {{query}} {{[-y|--yes]}}` - Specify a custom source to search for packages in: -`choco search {{query}} --source {{source_url|alias}}` +`choco search {{query}} {{[-s|--source]}} {{source_url|alias}}` - Provide a username and password for authentication: -`choco search {{query}} --user {{username}} --password {{password}}` +`choco search {{query}} {{[-u|--user]}} {{username}} {{[-p|--password]}} {{password}}` diff --git a/pages/windows/choco-source.md b/pages/windows/choco-source.md index 4e39f52463d120..169ff2370d75a3 100644 --- a/pages/windows/choco-source.md +++ b/pages/windows/choco-source.md @@ -9,24 +9,24 @@ - Add a new package source: -`choco source add --name {{name}} --source {{url}}` +`choco source add {{[-n|--name]}} {{name}} {{[-s|--source]}} {{url}}` - Add a new package source with credentials: -`choco source add --name {{name}} --source {{url}} --user {{username}} --password {{password}}` +`choco source add {{[-n|--name]}} {{name}} {{[-s|--source]}} {{url}} {{[-u|--user]}} {{username}} {{[-p|--password]}} {{password}}` - Add a new package source with a client certificate: -`choco source add --name {{name}} --source {{url}} --cert {{path/to/certificate}}` +`choco source add {{[-n|--name]}} {{name}} {{[-s|--source]}} {{url}} --cert {{path\to\certificate_file}}` - Enable a package source: -`choco source enable --name {{name}}` +`choco source enable {{[-n|--name]}} {{name}}` - Disable a package source: -`choco source disable --name {{name}}` +`choco source disable {{[-n|--name]}} {{name}}` - Remove a package source: -`choco source remove --name {{name}}` +`choco source remove {{[-n|--name]}} {{name}}` diff --git a/pages/windows/choco-uninstall.md b/pages/windows/choco-uninstall.md index fbacf26cf7d6a8..695e01a6b93de5 100644 --- a/pages/windows/choco-uninstall.md +++ b/pages/windows/choco-uninstall.md @@ -1,11 +1,11 @@ # choco uninstall -> Uninstall one or more packages with Chocolatey. +> Uninstall packages with Chocolatey. > More information: . -- Uninstall one or more space-separated packages: +- Uninstall one or more packages: -`choco uninstall {{package(s)}}` +`choco uninstall {{package1 package2 ...}}` - Uninstall a specific version of a package: diff --git a/pages/windows/choco-upgrade.md b/pages/windows/choco-upgrade.md index 4326f86b17e8d6..bbe09d1e9e197f 100644 --- a/pages/windows/choco-upgrade.md +++ b/pages/windows/choco-upgrade.md @@ -3,9 +3,9 @@ > Upgrade one or more packages with Chocolatey. > More information: . -- Upgrade one or more space-separated packages: +- Upgrade one or more packages: -`choco upgrade {{package(s)}}` +`choco upgrade {{package1 package2 ...}}` - Upgrade to a specific version of a package: @@ -17,7 +17,7 @@ - Upgrade all except specified comma-separated packages: -`choco upgrade all --except "{{package(s)}}"` +`choco upgrade all --except "{{package1,package2,...}}"` - Confirm all prompts automatically: diff --git a/pages/windows/choco.md b/pages/windows/choco.md index c080a28cd97dd3..0cc68907cd457b 100644 --- a/pages/windows/choco.md +++ b/pages/windows/choco.md @@ -1,21 +1,37 @@ # choco -> A command line interface for the Chocolatey package manager. -> See `choco install`, `choco upgrade` and other pages for additional information. -> More information: . +> The Chocolatey package manager. +> Some subcommands such as `install`, `upgrade`, `pin` have their own usage documentation. +> More information: . -- Execute Chocolatey command: +- Install a package: -`choco {{command}}` +`choco install {{package_name}}` -- Call general help: +- Upgrade a specific installed package: -`choco -?` +`choco upgrade {{package_name}}` -- Call help on a specific command: +- Upgrade all outdated packages and automatically confirm all prompts: -`choco {{command}} -?` +`choco upgrade all {{[-y|--yes]}}` -- Check the Chocolatey version: +- Uninstall a package and automatically confirm all prompts: -`choco --version` +`choco uninstall {{package_name}} {{[-y|--yes]}}` + +- Search for packages by name or keyword: + +`choco search {{query}}` + +- List all packages installed on the machine: + +`choco list` + +- Show packages that have newer versions available: + +`choco outdated` + +- Install a package from a specific source: + +`choco install {{package_name}} {{[-s|--source]}} {{source}}` diff --git a/pages/windows/choice.md b/pages/windows/choice.md index 3a0c3d1da99f38..87254e1d8bd560 100644 --- a/pages/windows/choice.md +++ b/pages/windows/choice.md @@ -1,29 +1,28 @@ # choice -> Prompts the user to select one item from a list of single-character choices in a batch program, and then returns the index of the selected choice. -> If used without parameters, choice displays the default choices Y and N. -> More information: . +> Prompt user to select a choice and return the selected choice index. +> More information: . -- A,B and C as list of choices to be used: +- Prompt the current user to select a `Y` or `N` choice: -`choice /c {{ABC}}` +`choice` -- Use the default [Y,N] list of choices: +- Prompt the current user to select a [c]hoice from a specific set: -`choice` +`choice /c {{AB}}` -- Specify that the choices are case-sensitive: +- Prompt the current user to select a choice with a specific [m]essage: -`choice /CS {{AaBb}}` +`choice /m "{{message}}"` -- Specify the number of seconds to pause before using the default choice specified by `/d`: +- Prompt the current user to select a [c]ase-[s]ensitive [c]hoice from a specific set: -`choice /C {{AaBb}} /t {{3}} /d {{b}}` +`choice /cs /c {{Ab}}` -- Specify a message to display before the list of choices. If `/m` is not specified, only the choice prompt is displayed: +- Prompt the current user to select a choice and prefer the [d]efault choice in a specific [t]ime: -`choice /m {{message}} /C {{ABC}}` +`choice /t {{5}} /d {{default_choice}}` -- Display help message: +- Display help: `choice /?` diff --git a/pages/windows/chrome.md b/pages/windows/chrome.md new file mode 100644 index 00000000000000..027c3f7baa13c2 --- /dev/null +++ b/pages/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> This command is an alias of `chromium`. +> More information: . + +- View documentation for the original command: + +`tldr chromium` diff --git a/pages/windows/chromium.md b/pages/windows/chromium.md new file mode 100644 index 00000000000000..6ef175d1490e61 --- /dev/null +++ b/pages/windows/chromium.md @@ -0,0 +1,37 @@ +# chromium + +> Open-source web browser principally developed and maintained by Google. +> Note: You may need to replace the `chromium` command with your desired web browser, such as `brave`, `google-chrome`, `microsoft-edge`/`msedge`, `opera`, or `vivaldi`. +> More information: . + +- Open a specific URL or file: + +`chromium {{https://example.com|path/to/file.html}}` + +- Open in incognito mode (use `--inprivate` for Microsoft Edge): + +`{{chromium --incognito|msedge --inprivate}} {{example.com}}` + +- Open in a new window: + +`chromium --new-window {{example.com}}` + +- Open in application mode (without toolbars, URL bar, buttons, etc.): + +`chromium --app {{https://example.com}}` + +- Use a proxy server: + +`chromium --proxy-server "{{socks5://hostname:66}}" {{example.com}}` + +- Open with a custom profile directory: + +`chromium --user-data-dir {{path/to/directory}}` + +- Open without CORS validation (useful to test an API): + +`chromium --user-data-dir {{path/to/directory}} --disable-web-security` + +- Open with a DevTools window for each tab opened: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages/windows/cinst.md b/pages/windows/cinst.md new file mode 100644 index 00000000000000..3752693676ca95 --- /dev/null +++ b/pages/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> This command is an alias of `choco install`. + +- View documentation for the original command: + +`tldr choco install` diff --git a/pages/windows/cipher.md b/pages/windows/cipher.md index d0a7466c238fc6..cec10723c6dddc 100644 --- a/pages/windows/cipher.md +++ b/pages/windows/cipher.md @@ -1,16 +1,20 @@ # cipher -> Encrypt or decrypt files on NTFS drives. -> More information: . +> Display or alter the encryption of directories and files on NTFS volumes. +> More information: . -- Encrypt a file or directory: +- Display information about a specific encrypted file or directory: -`cipher /e:{{path/to/file_or_directory}}` +`cipher /c:{{path\to\file_or_directory}}` -- Decrypt a file or directory: +- [e]ncrypt a file or directory (files added later to the directory are also encrypted as the directory is marked): -`cipher /d:{{path/to/file_or_directory}}` +`cipher /e:{{path\to\file_or_directory}}` + +- [d]ecrypt a file or directory: + +`cipher /d:{{path\to\file_or_directory}}` - Securely remove a file or directory: -`cipher /w:{{path/to/file_or_directory}}` +`cipher /w:{{path\to\file_or_directory}}` diff --git a/pages/windows/cl.md b/pages/windows/cl.md new file mode 100644 index 00000000000000..ab1670e692fc31 --- /dev/null +++ b/pages/windows/cl.md @@ -0,0 +1,32 @@ +# cl + +> The Microsoft C/C++ compiler for compiling and linking source code files. +> More information: . + +- Compile a source file: + +`cl {{path/to/source.c}}` + +- Compile and create an executable with a custom name: + +`cl /Fe {{path/to/output_executable}} {{path/to/source.c}}` + +- Compile a source file with optimization enabled: + +`cl /O2 {{path/to/source.c}}` + +- Compile a source file and create a debug executable: + +`cl /Zi {{path/to/source.c}}` + +- Compile multiple source files: + +`cl {{path/to/source1.c path/to/source2.c ...}}` + +- Specify the output directory for compiled files: + +`cl /Fo {{path/to/output_directory}}/ {{path/to/source.c}}` + +- Compile with warnings as errors: + +`cl /WX {{path/to/source.c}}` diff --git a/pages/windows/clear-host.md b/pages/windows/clear-host.md new file mode 100644 index 00000000000000..cf2cd66d701415 --- /dev/null +++ b/pages/windows/clear-host.md @@ -0,0 +1,9 @@ +# Clear-Host + +> Clears the screen. +> Note: This command can only be used through PowerShell. +> More information: . + +- Clear the screen: + +`cls` diff --git a/pages/windows/clear-recyclebin.md b/pages/windows/clear-recyclebin.md new file mode 100644 index 00000000000000..87665c8a395f15 --- /dev/null +++ b/pages/windows/clear-recyclebin.md @@ -0,0 +1,17 @@ +# 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: . + +- Clear and delete all items inside the Recycle Bin: + +`Clear-RecycleBin` + +- Clear the Recycle Bin for a specific drive: + +`Clear-RecycleBin -DriveLetter {{C}}` + +- Clear the Recycle Bin without further confirmation: + +`Clear-RecycleBin -Force` diff --git a/pages/windows/clear.md b/pages/windows/clear.md new file mode 100644 index 00000000000000..b5edc66642a166 --- /dev/null +++ b/pages/windows/clear.md @@ -0,0 +1,7 @@ +# clear + +> In PowerShell, this command is an alias of `Clear-Host`. + +- View documentation for the original command: + +`tldr clear-host` diff --git a/pages/windows/clip.md b/pages/windows/clip.md index efb2b04ca7f108..d1f5749b477500 100644 --- a/pages/windows/clip.md +++ b/pages/windows/clip.md @@ -1,15 +1,15 @@ # clip > Copy input content to the Windows clipboard. -> More information: . +> More information: . -- Pipe command line output to the Windows clipboard: +- Pipe command-line output to the Windows clipboard: `{{dir}} | clip` - Copy the contents of a file to the Windows clipboard: -`clip < {{path/to/file.ext}}` +`clip < {{path\to\file.ext}}` - Copy text with a trailing newline to the Windows clipboard: diff --git a/pages/windows/clist.md b/pages/windows/clist.md new file mode 100644 index 00000000000000..e86957815ca24b --- /dev/null +++ b/pages/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> This command is an alias of `choco list`. + +- View documentation for the original command: + +`tldr choco list` diff --git a/pages/windows/cls.md b/pages/windows/cls.md index bc014e4b4a0eba..62ac428cc34136 100644 --- a/pages/windows/cls.md +++ b/pages/windows/cls.md @@ -1,7 +1,12 @@ # cls > Clears the screen. -> More information: . +> In PowerShell, this command is an alias of `Clear-Host`. This documentation is based on the Command Prompt (`cmd`) version of `cls`. +> More information: . + +- View the documentation of the equivalent PowerShell command: + +`tldr clear-host` - Clear the screen: diff --git a/pages/windows/cmd.md b/pages/windows/cmd.md index ecb63d9af87aa4..bb0b7966dfef50 100644 --- a/pages/windows/cmd.md +++ b/pages/windows/cmd.md @@ -1,36 +1,36 @@ # cmd > The Windows command interpreter. -> More information: . +> More information: . -- Start a new instance of the command interpreter: +- Start an interactive shell session: `cmd` -- Run the specified command and then exit: +- Execute specific [c]ommands: -`cmd /c "{{command}}"` +`cmd /c {{echo Hello world}}` -- Run the specified command and then enter an interactive shell: +- Execute a specific script: -`cmd /k "{{command}}"` +`cmd {{path\to\script.bat}}` -- Disable the usage of `echo` in command output: +- Execute specific commands and then enter an interactive shell: -`cmd /q` +`cmd /k {{echo Hello world}}` -- Enable or disable command extensions: +- Start an interactive shell session where `echo` is disabled in command output: -`cmd /e:{{on|off}}` +`cmd /q` -- Enable or disable file or directory autocompletion: +- Start an interactive shell session with delayed [v]ariable expansion enabled or disabled: -`cmd /f:{{on|off}}` +`cmd /v:{{on|off}}` -- Enable or disable environment variable expansion: +- Start an interactive shell session with command [e]xtensions enabled or disabled: -`cmd /v:{{on|off}}` +`cmd /e:{{on|off}}` -- Force output to use unicode encoding: +- Start an interactive shell session with used [u]nicode encoding: `cmd /u` diff --git a/pages/windows/cmdkey.md b/pages/windows/cmdkey.md new file mode 100644 index 00000000000000..0c5b08a1f05f0f --- /dev/null +++ b/pages/windows/cmdkey.md @@ -0,0 +1,16 @@ +# cmdkey + +> Create, show, and delete stored user names and passwords. +> More information: . + +- List all user credentials: + +`cmdkey /list` + +- Store credentials for a user that accesses a server: + +`cmdkey /add:{{server_name}} /user:{{user_name}}` + +- Delete credentials for a specific target: + +`cmdkey /delete {{target_name}}` diff --git a/pages/windows/cmstp.md b/pages/windows/cmstp.md index 65825ab7ff476c..e5dd63360611fa 100644 --- a/pages/windows/cmstp.md +++ b/pages/windows/cmstp.md @@ -1,36 +1,36 @@ # cmstp -> A command line tool for managing connection service profiles. -> More information: . +> Manage connection service profiles. +> More information: . - Install a specific profile: -`cmstp "{{path/to/profile}}"` +`cmstp "{{path\to\profile_file}}"` - Install without creating a desktop shortcut: -`cmstp /ns "{{path/to/profile}}"` +`cmstp /ns "{{path\to\profile_file}}"` - Install without checking for dependencies: -`cmstp /nf "{{path/to/profile}}"` +`cmstp /nf "{{path\to\profile_file}}"` - Only install for the current user: -`cmstp /su "{{path/to/profile}}"` +`cmstp /su "{{path\to\profile_file}}"` - Install for all users (requires administrator privileges): -`cmstp /au "{{path/to/profile}}"` +`cmstp /au "{{path\to\profile_file}}"` - Install silently without any prompts: -`cmstp /s "{{path/to/profile}}"` +`cmstp /s "{{path\to\profile_file}}"` - Uninstall a specific profile: -`cmstp /u "{{path/to/profile}}"` +`cmstp /u "{{path\to\profile_file}}"` - Uninstall silently without a confirmation prompt: -`cmstp /u /s "{{path/to/profile}}"` +`cmstp /u /s "{{path\to\profile_file}}"` diff --git a/pages/windows/color.md b/pages/windows/color.md index 8d38cd50ac8d92..0087109f9aefd1 100644 --- a/pages/windows/color.md +++ b/pages/windows/color.md @@ -1,7 +1,7 @@ # color > Set the console foreground and background colors. -> More information: . +> More information: . - Set the console colors to the default values: @@ -11,6 +11,6 @@ `color /?` -- Set the console foreground and background to a specific color: +- Set the console foreground and background to a specific color using hexadecimal numbers (`1-9,a-f`): `color {{foreground_code}}{{background_code}}` diff --git a/pages/windows/comp.md b/pages/windows/comp.md index d2d8a54171764a..03f80665eeb57c 100644 --- a/pages/windows/comp.md +++ b/pages/windows/comp.md @@ -2,7 +2,7 @@ > Compare the contents of two files or sets of files. > Use wildcards (*) to compare sets of files. -> More information: . +> More information: . - Compare files interactively: @@ -10,28 +10,28 @@ - Compare two specified files: -`comp {{path/to/file_1}} {{path/to/file_2}}` +`comp {{path\to\file1}} {{path\to\file2}}` - Compare two sets of files: -`comp {{path/to/directory_1/*}} {{path/to/directory_2/*}}` +`comp {{path\to\directory1}}\* {{path\to\directory2}}\*` -- Display differences in decimal format: +- Display differences in [d]ecimal format: -`comp /d {{path/to/file_1}} {{path/to/file_2}}` +`comp /d {{path\to\file1}} {{path\to\file2}}` -- Display differences in ASCII format: +- Display differences in [a]SCII format: -`comp /a {{path/to/file_1}} {{path/to/file_2}}` +`comp /a {{path\to\file1}} {{path\to\file2}}` -- Display line numbers for differences: +- Display [l]ine numbers for differences: -`comp /l {{path/to/file_1}} {{path/to/file_2}}` +`comp /l {{path\to\file1}} {{path\to\file2}}` -- Compare files case-insensitively: +- Compare files [c]ase-insensitively: -`comp /c {{path/to/file_1}} {{path/to/file_2}}` +`comp /c {{path\to\file1}} {{path\to\file2}}` - Compare only the first 5 lines of each file: -`comp /n={{5}} {{path/to/file_1}} {{path/to/file_2}}` +`comp /n=5 {{path\to\file1}} {{path\to\file2}}` diff --git a/pages/windows/cpush.md b/pages/windows/cpush.md new file mode 100644 index 00000000000000..311697f2a9f07a --- /dev/null +++ b/pages/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> This command is an alias of `choco push`. + +- View documentation for the original command: + +`tldr choco push` diff --git a/pages/windows/cuninst.md b/pages/windows/cuninst.md new file mode 100644 index 00000000000000..6b4b3f7f082cf9 --- /dev/null +++ b/pages/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> This command is an alias of `choco uninstall`. + +- View documentation for the original command: + +`tldr choco uninstall` diff --git a/pages/windows/curl.md b/pages/windows/curl.md new file mode 100644 index 00000000000000..7296f71a6fcab9 --- /dev/null +++ b/pages/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> In PowerShell, this command may be an alias of `Invoke-WebRequest` when the original `curl` program () is not properly installed. +> More information: . + +- View documentation for the original `curl` command: + +`tldr curl -p common` + +- View documentation for PowerShell's `Invoke-WebRequest` command: + +`tldr 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` diff --git a/pages/windows/date.md b/pages/windows/date.md new file mode 100644 index 00000000000000..9d7246d6b2324a --- /dev/null +++ b/pages/windows/date.md @@ -0,0 +1,16 @@ +# date + +> Display or set the system date. +> More information: . + +- Display the current system date and prompt to enter a new date (leave empty to keep unchanged): + +`date` + +- Display the current system date without prompting for a new date: + +`date /t` + +- Change the current system date to a specific date: + +`date {{month}}-{{day}}-{{year}}` diff --git a/pages/windows/del.md b/pages/windows/del.md index c47fe819491411..d2ab44161e9cf4 100644 --- a/pages/windows/del.md +++ b/pages/windows/del.md @@ -1,11 +1,16 @@ # del > Delete one or more files. -> More information: . +> In PowerShell, this command is an alias of `Remove-Item`. This documentation is based on the Command Prompt (`cmd`) version of `del`. +> More information: . -- Delete one or more space-separated files or patterns: +- View the documentation of the equivalent PowerShell command: -`del {{file_pattern}}` +`tldr remove-item` + +- Delete one or more files or patterns: + +`del {{file_pattern1 file_pattern2 ...}}` - Prompt for confirmation before deleting each file: @@ -23,10 +28,10 @@ `del {{file_pattern}} /q` -- Display the help and list available attributes: - -`del /?` - - Delete files based on specified attributes: `del {{file_pattern}} /a {{attribute}}` + +- Display help and list available attributes: + +`del /?` diff --git a/pages/windows/dir.md b/pages/windows/dir.md index 2d2416cfc924c6..68f4a55c25765a 100644 --- a/pages/windows/dir.md +++ b/pages/windows/dir.md @@ -1,7 +1,7 @@ # dir > List directory contents. -> More information: . +> More information: . - Show the contents of the current directory: @@ -9,12 +9,20 @@ - Show the contents of a given directory: -`dir {{path/to/directory}}` +`dir {{path\to\directory}}` - Show the contents of the current directory, including hidden ones: -`dir /A` +`dir /a` - Show the contents of a given directory, including hidden ones: -`dir {{path/to/directory}} /A` +`dir {{path\to\directory}} /a` + +- Show a bare list of directories and files, with no additional information: + +`dir /b` + +- Sort results by date/time, oldest first: + +`dir /o:d` diff --git a/pages/windows/diskpart.md b/pages/windows/diskpart.md new file mode 100644 index 00000000000000..b65882a0dc8585 --- /dev/null +++ b/pages/windows/diskpart.md @@ -0,0 +1,32 @@ +# diskpart + +> Disk, volume and partition manager. +> More information: . + +- Run diskpart by itself in an administrative command prompt to enter its command-line: + +`diskpart` + +- List all disks: + +`list disk` + +- Select a volume: + +`select volume {{volume}}` + +- Assign a drive letter to the selected volume: + +`assign letter {{letter}}` + +- Create a new partition: + +`create partition primary` + +- Activate the selected volume: + +`active` + +- Exit diskpart: + +`exit` diff --git a/pages/windows/doskey.md b/pages/windows/doskey.md index 320cdc1e872240..e8e9ab090fcee7 100644 --- a/pages/windows/doskey.md +++ b/pages/windows/doskey.md @@ -1,7 +1,7 @@ # doskey -> Manage macros, windows commands and command lines. -> More information: . +> Manage macros, windows commands and command-lines. +> More information: . - List available macros: @@ -25,8 +25,8 @@ - Save macros to a file for portability: -`doskey /macros > {{macinit}}` +`doskey /macros > {{path\to\macinit_file}}` - Load macros from a file: -`doskey /macrofile = {{macinit}}` +`doskey /macrofile = {{path\to\macinit_file}}` diff --git a/pages/windows/driverquery.md b/pages/windows/driverquery.md index cea99f3fc2d935..898b247b258391 100644 --- a/pages/windows/driverquery.md +++ b/pages/windows/driverquery.md @@ -1,7 +1,7 @@ # driverquery > Display information about installed device drivers. -> More information: . +> More information: . - Display a list of all installed device drivers: @@ -27,6 +27,6 @@ `driverquery /v` -- Display detailed usage information: +- Display help: `driverquery /?` diff --git a/pages/windows/enable-pnpdevice.md b/pages/windows/enable-pnpdevice.md new file mode 100644 index 00000000000000..f4d55687a2884d --- /dev/null +++ b/pages/windows/enable-pnpdevice.md @@ -0,0 +1,21 @@ +# Enable-PnpDevice + +> The Enable-PnpDevice cmdlet enables a Plug and Play (PnP) device. You must use an Administrator account to enable a device. +> Note: This command can only be used through PowerShell. +> More information: . + +- Enable a device: + +`Enable-PnpDevice -InstanceId 'RETRIEVED USING Get-PnpDevice COMMAND'` + +- Enable all disabled PnP devices: + +`Get-PnpDevice | Where-Object {$_.Problem -eq 22} | Enable-PnpDevice` + +- Enable a device without confirmation: + +`Enable-PnpDevice -InstanceId 'RETRIEVED USING Get-PnpDevice COMMAND' -Confirm:$False` + +- Dry run of what would happen if the cmdlet runs: + +`Enable-PnpDevice -InstanceId 'USB\VID_5986&;PID_0266&;MI_00\7&;1E5D3568&;0&;0000' -WhatIf:$True` diff --git a/pages/windows/es.md b/pages/windows/es.md new file mode 100644 index 00000000000000..f64d3bb0060c70 --- /dev/null +++ b/pages/windows/es.md @@ -0,0 +1,37 @@ +# es + +> Command-line interface for Everything, a fast file and folder search tool for Windows. +> Requires Everything to be installed and running in the background. +> More information: . + +- Search for a file or folder by name: + +`es {{search_term}}` + +- Search using a `regex`: + +`es -r {{regex}}` + +- Match whole words: + +`es -w {{search_term}}` + +- Limit the number of results shown: + +`es -n {{10}} {{search_term}}` + +- Search within a specific folder: + +`es -path {{folder_path}} {{search_term}}` + +- List folders only: + +`es /ad` + +- List files only: + +`es /a-d` + +- Sort results (e.g., by name): + +`es -sort {{name-ascending}}` diff --git a/pages/windows/eventcreate.md b/pages/windows/eventcreate.md index a63a13f133475c..7bcf958937bf85 100644 --- a/pages/windows/eventcreate.md +++ b/pages/windows/eventcreate.md @@ -2,9 +2,9 @@ > Create custom entries in the event log. > Event IDs can be any number between 1 and 1000. -> More information: . +> More information: . -- Create a new event with a given id (1-1000) in the log: +- Create a new event with a given ID (1-1000) in the log: `eventcreate /t {{success|error|warning|information}} /id {{id}} /d "{{message}}"` diff --git a/pages/windows/exit.md b/pages/windows/exit.md index 2082fb2d8a904e..0eb472cdfb7e80 100644 --- a/pages/windows/exit.md +++ b/pages/windows/exit.md @@ -1,16 +1,16 @@ # exit > Quit the current CMD instance or the current batch file. -> More information: . +> More information: . - Quit the current CMD instance: `exit` -- Quit the current batch script: +- Quit the current [b]atch script: `exit /b` - Quit using a specific exit code: -`exit {{exit_code}}` +`exit {{2}}` diff --git a/pages/windows/expand.md b/pages/windows/expand.md index 29f5deb244e9c0..9d0cfd19a058e8 100644 --- a/pages/windows/expand.md +++ b/pages/windows/expand.md @@ -1,24 +1,24 @@ # expand -> Uncompress one or more Windows Cabinet files. -> More information: . +> Uncompress Windows Cabinet files. +> More information: . - Uncompress a single-file Cabinet file to the specified directory: -`expand {{path/to/file.cab}} {{path/to/directory}}` +`expand {{path\to\file.cab}} {{path\to\directory}}` - Display the list of files in a source Cabinet file: -`expand {{path/to/file.cab}} {{path/to/directory}} -d` +`expand {{path\to\file.cab}} {{path\to\directory}} -d` - Uncompress all files from the Cabinet file: -`expand {{path/to/file.cab}} {{path/to/directory}} -f:*` +`expand {{path\to\file.cab}} {{path\to\directory}} -f:*` - Uncompress a specific file from a Cabinet file: -`expand {{path/to/file.cab}} {{path/to/directory}} -f:{{file}}` +`expand {{path\to\file.cab}} {{path\to\directory}} -f:{{path\to\file}}` - Ignore the directory structure when uncompressing, and add them to a single directory: -`expand {{path/to/file.cab}} {{path/to/directory}} -i` +`expand {{path\to\file.cab}} {{path\to\directory}} -i` diff --git a/pages/windows/explorer.md b/pages/windows/explorer.md index c5f6dead28973e..30251b8119ea98 100644 --- a/pages/windows/explorer.md +++ b/pages/windows/explorer.md @@ -1,6 +1,7 @@ # explorer > The Windows File Explorer. +> More information: . - Open Windows Explorer: @@ -12,4 +13,4 @@ - Open Windows Explorer in a specific directory: -`explorer {{path/to/directory}}` +`explorer {{path\to\directory}}` diff --git a/pages/windows/fc.md b/pages/windows/fc.md index 57bcdc8da5a9d0..632fef9b8bbb81 100644 --- a/pages/windows/fc.md +++ b/pages/windows/fc.md @@ -2,32 +2,32 @@ > Compare the differences between two files or sets of files. > Use wildcards (*) to compare sets of files. -> More information: . +> More information: . - Compare 2 specified files: -`fc {{path/to/file_1}} {{path/to/file_2}}` +`fc {{path\to\file1}} {{path\to\file2}}` - Perform a case-insensitive comparison: -`fc /c {{path/to/file_1}} {{path/to/file_2}}` +`fc /c {{path\to\file1}} {{path\to\file2}}` - Compare files as Unicode text: -`fc /u {{path/to/file_1}} {{path/to/file_2}}` +`fc /u {{path\to\file1}} {{path\to\file2}}` - Compare files as ASCII text: -`fc /l {{path/to/file_1}} {{path/to/file_2}}` +`fc /l {{path\to\file1}} {{path\to\file2}}` - Compare files as binary: -`fc /b {{path/to/file_1}} {{path/to/file_2}}` +`fc /b {{path\to\file1}} {{path\to\file2}}` - Disable tab-to-space expansion: -`fc /t {{path/to/file_1}} {{path/to/file_2}}` +`fc /t {{path\to\file1}} {{path\to\file2}}` - Compress whitespace (tabs and spaces) for comparisons: -`fc /w {{path/to/file_1}} {{path/to/file_2}}` +`fc /w {{path\to\file1}} {{path\to\file2}}` diff --git a/pages/windows/find.md b/pages/windows/find.md index 50b8fca68c6a23..cd4007a9a2f196 100644 --- a/pages/windows/find.md +++ b/pages/windows/find.md @@ -1,20 +1,20 @@ # find -> Find a specified string in one or more files. -> More information: . +> Find a specified string in files. +> More information: . - Find lines that contain a specified string: -`find {{string}} {{path/to/file_or_directory}}` +`find "{{string}}" {{path\to\file_or_directory}}` - Display lines that do not contain the specified string: -`find {{string}} {{path/to/file_or_directory}} /v` +`find "{{string}}" {{path\to\file_or_directory}} /v` - Display the count of lines that contain the specified string: -`find {{string}} {{path/to/file_or_directory}} /c` +`find "{{string}}" {{path\to\file_or_directory}} /c` - Display line numbers with the list of lines: -`find {{string}} {{path/to/file_or_directory}} /n` +`find "{{string}}" {{path\to\file_or_directory}} /n` diff --git a/pages/windows/findstr.md b/pages/windows/findstr.md index b3517df71d4ea9..1f729b3b9cfaa0 100644 --- a/pages/windows/findstr.md +++ b/pages/windows/findstr.md @@ -1,36 +1,36 @@ # findstr > Find specified text within one or more files. -> More information: . +> More information: . -- Find space-separated string(s) in all files: +- Find one or more strings in all files: -`findstr "{{query}}" *` +`findstr "{{string1 string2 ...}}" *` -- Find space-separated string(s) in a piped command's output: +- Find one or more strings in a piped command's output: -`{{dir}} | findstr "{{query}}"` +`{{dir}} | findstr "{{string1 string2 ...}}"` -- Find space-separated string(s) in all files recur[s]ively: +- Find one or more strings in all files recur[s]ively: -`findstr /s "{{query}}" *` +`findstr /s "{{string1 string2 ...}}" *` - Find strings using a case-insensitive search: -`findstr /i "{{query}}" *"` +`findstr /i "{{string1 string2 ...}}" *` -- Find strings in all files using regular expressions: +- Find strings in all files using `regex`: -`findstr /r "{{expression}}" *` +`findstr /r "{{regex}}" *` - Find a literal string (containing spaces) in all text files: -`findstr /c:"{{query}}" *.txt` +`findstr /c:"{{string1 string2 ...}}" *.txt` - Display the line number before each matching line: -`findstr /n "{{query}}" *` +`findstr /n "{{string1 string2 ...}}" *` - Display only the filenames that contain a match: -`findstr /m "{{query}}" *` +`findstr /m "{{string1 string2 ...}}" *` diff --git a/pages/windows/finger.md b/pages/windows/finger.md index c1d4f46ee7bb40..1de4d618fd0e20 100644 --- a/pages/windows/finger.md +++ b/pages/windows/finger.md @@ -1,8 +1,8 @@ # finger -> Return information about one or more users on a specified system. +> Return information about users on a specified system. > The remote system must be running the Finger service. -> More information: . +> More information: . - Display information about a specific user: @@ -16,6 +16,6 @@ `finger {{user}}@{{host}} -l` -- Display help information: +- Display help: `finger /?` diff --git a/pages/windows/fondue.md b/pages/windows/fondue.md index 655c16509eb08a..ec1c0964ea943d 100644 --- a/pages/windows/fondue.md +++ b/pages/windows/fondue.md @@ -1,7 +1,7 @@ # fondue -> A command line installer for optional Windows features. -> More information: . +> Install optional Windows features. +> More information: . - Enable a specific Windows feature: diff --git a/pages/windows/for.md b/pages/windows/for.md new file mode 100644 index 00000000000000..01bde03a4bc8a3 --- /dev/null +++ b/pages/windows/for.md @@ -0,0 +1,24 @@ +# for + +> Conditionally execute a command several times. +> More information: . + +- Execute given commands for the specified set: + +`for %{{variable}} in ({{item_a item_b item_c}}) do ({{echo Loop is executed}})` + +- Iterate over a given range of numbers: + +`for /l %{{variable}} in ({{from}}, {{step}}, {{to}}) do ({{echo Loop is executed}})` + +- Iterate over a given list of files: + +`for %{{variable}} in ({{path\to\file1.ext path\to\file2.ext ...}}) do ({{echo Loop is executed}})` + +- Iterate over a given list of directories: + +`for /d %{{variable}} in ({{path\to\directory1.ext path\to\directory2.ext ...}}) do ({{echo Loop is executed}})` + +- Perform a given command in every directory: + +`for /d %{{variable}} in (*) do (if exist %{{variable}} {{echo Loop is executed}})` diff --git a/pages/windows/forfiles.md b/pages/windows/forfiles.md index 6d0c70c6434f7b..fe3005b5286e43 100644 --- a/pages/windows/forfiles.md +++ b/pages/windows/forfiles.md @@ -1,7 +1,7 @@ # forfiles -> Select one or more files to execute a specified command on. -> More information: . +> Select files to execute a specified command on. +> More information: . - Search for files in the current directory: @@ -9,7 +9,7 @@ - Search for files in a specific directory: -`forfiles /p {{path/to/directory}}` +`forfiles /p {{path\to\directory}}` - Run the specified command for each file: @@ -25,4 +25,4 @@ - Search for files older than 5 days: -`forfiles /d {{+5}}` +`forfiles /d +{{5}}` diff --git a/pages/windows/fsutil.md b/pages/windows/fsutil.md new file mode 100644 index 00000000000000..41e966988def1a --- /dev/null +++ b/pages/windows/fsutil.md @@ -0,0 +1,24 @@ +# fsutil + +> Display information about file system volumes. +> More information: . + +- Display a list of volumes: + +`fsutil volume list` + +- Display information about a volume's file system: + +`fsutil fsInfo volumeInfo {{drive_letter|volume_path}}` + +- Display the current state of the file system auto-repair for all volumes: + +`fsutil repair state` + +- Display the dirty bit state of all volumes: + +`fsutil dirty query` + +- Set the dirty bit state of a volume: + +`fsutil dirty set {{drive_letter|volume_path}}` diff --git a/pages/windows/ftp.md b/pages/windows/ftp.md index fed5dc77c30e87..dc01541230ba7d 100644 --- a/pages/windows/ftp.md +++ b/pages/windows/ftp.md @@ -1,7 +1,7 @@ # ftp > Interactively transfer files between a local and remote FTP server. -> More information: . +> More information: . - Connect to a remote FTP server interactively: @@ -17,7 +17,7 @@ - Run a file containing a list of FTP commands: -`ftp -s:{{path/to/file}} {{host}}` +`ftp -s:{{path\to\file}} {{host}}` - Download multiple files (glob expression): @@ -31,6 +31,6 @@ `mdelete {{*.txt}}` -- Display detailed help: +- Display help: `ftp --help` diff --git a/pages/windows/ftype.md b/pages/windows/ftype.md index feae2d6fb4591d..bfa689dad369a1 100644 --- a/pages/windows/ftype.md +++ b/pages/windows/ftype.md @@ -1,7 +1,7 @@ # ftype > Display or modify file types used for file extension association. -> More information: . +> More information: . - Display a list of all file types: @@ -13,4 +13,4 @@ - Set the associated program for a specific file type: -`ftype {{file_type}}="{{path/to/executable_command}}"` +`ftype {{file_type}}="{{path/to/executable_file}}"` diff --git a/pages/windows/gal.md b/pages/windows/gal.md new file mode 100644 index 00000000000000..77eba3cfc0d796 --- /dev/null +++ b/pages/windows/gal.md @@ -0,0 +1,7 @@ +# gal + +> In PowerShell, this command is an alias of `Get-Alias`. + +- View documentation for the original command: + +`tldr get-alias` diff --git a/pages/windows/gcrane-completion.md b/pages/windows/gcrane-completion.md new file mode 100644 index 00000000000000..b753bcfe0035f6 --- /dev/null +++ b/pages/windows/gcrane-completion.md @@ -0,0 +1,25 @@ +# gcrane completion + +> Generate the autocompletion script for gcrane for the specified shell. +> The available shells are Bash, fish, PowerShell, and Zsh. +> More information: . + +- Generate the autocompletion script for your shell: + +`gcrane completion {{shell_name}}` + +- Disable completion descriptions: + +`gcrane completion {{shell_name}} --no-descriptions` + +- Load completions in your current shell session (PowerShell): + +`gcrane completion powershell | Out-String | Invoke-Expression` + +- Load completions for every new session (PowerShell): + +`gcrane completion powershell | Out-String | Invoke-Expression` + +- Display help: + +`gcrane completion {{shell_name}} {{[-h|--help]}}` diff --git a/pages/windows/get-acl.md b/pages/windows/get-acl.md new file mode 100644 index 00000000000000..41d4ee4a96c745 --- /dev/null +++ b/pages/windows/get-acl.md @@ -0,0 +1,13 @@ +# Get-Acl + +> Get the security descriptor for a resource, such as a file or registry key. +> Note: This command can only be used through PowerShell. +> More information: . + +- Display the ACL for a specific directory: + +`Get-Acl {{path\to\directory}}` + +- Get an ACL for a registry key: + +`Get-Acl -Path {{HKLM:\System\CurrentControlSet\Control}} | Format-List` diff --git a/pages/windows/get-alias.md b/pages/windows/get-alias.md new file mode 100644 index 00000000000000..2f06231c7d37cf --- /dev/null +++ b/pages/windows/get-alias.md @@ -0,0 +1,21 @@ +# Get-Alias + +> List and get command aliases in the current PowerShell session. +> This command can only be run under PowerShell. +> More information: . + +- List all aliases in the current session: + +`Get-Alias` + +- Get the aliased command name: + +`Get-Alias {{command_alias}}` + +- List all aliases assigned to a specific command: + +`Get-Alias -Definition {{command}}` + +- List aliases that begins with `abc`, excluding those which ends at `def`: + +`Get-Alias {{abc}}* -Exclude *{{def}}` diff --git a/pages/windows/get-childitem.md b/pages/windows/get-childitem.md new file mode 100644 index 00000000000000..d0f265caa9adb3 --- /dev/null +++ b/pages/windows/get-childitem.md @@ -0,0 +1,25 @@ +# Get-ChildItem + +> List items in a directory. +> Note: This command can only be used through PowerShell. +> More information: . + +- List all non-hidden items in the current directory: + +`Get-ChildItem` + +- List only directories in the current directory: + +`Get-ChildItem -Directory` + +- List only files in the current directory: + +`Get-ChildItem -File` + +- List items in the current directory, including hidden items: + +`Get-ChildItem -Hidden` + +- List items in a directory other than the current one: + +`Get-ChildItem -Path {{path\to\directory}}` diff --git a/pages/windows/get-command.md b/pages/windows/get-command.md new file mode 100644 index 00000000000000..0a45e0cadd5d31 --- /dev/null +++ b/pages/windows/get-command.md @@ -0,0 +1,29 @@ +# Get-Command + +> List and get available commands in the current PowerShell session. +> This command can only be run through PowerShell. +> More information: . + +- List all available PowerShell commands (aliases, cmdlets, functions) in the current computer: + +`Get-Command` + +- List all available PowerShell commands in the current session: + +`Get-Command -ListImported` + +- List only PowerShell aliases/cmdlets/functions available in the computer: + +`Get-Command -Type {{Alias|Cmdlet|Function}}` + +- List only programs or commands available on PATH in the current session: + +`Get-Command -Type Application` + +- List only PowerShell commands by the module name, e.g. `Microsoft.PowerShell.Utility` for utility-related commands: + +`Get-Command -Module {{module}}` + +- Get the command information (e.g. version number or module name) by its name: + +`Get-Command {{command}}` diff --git a/pages/windows/get-content.md b/pages/windows/get-content.md index 10b8c434dec348..71f62526df0af5 100644 --- a/pages/windows/get-content.md +++ b/pages/windows/get-content.md @@ -1,16 +1,17 @@ # Get-Content > Get the content of the item at the specified location. -> More information: . +> Note: This command can only be used through PowerShell. +> More information: . - Display the content of a file: -`Get-Content -Path {{path/to/file}}` +`Get-Content -Path {{path\to\file}}` - Display the first few lines of a file: -`Get-Content -Path {{path/to/file}} -TotalCount {{count}}` +`Get-Content -Path {{path\to\file}} -TotalCount {{10}}` -- Display the content of the file and keep reading from it until `Ctrl + C` is pressed: +- Display the content of the file and keep reading from it until `` is pressed: -`Get-Content -Path {{path/to/file}} -Wait` +`Get-Content -Path {{path\to\file}} -Wait` diff --git a/pages/windows/get-date.md b/pages/windows/get-date.md new file mode 100644 index 00000000000000..25a6534fd824bd --- /dev/null +++ b/pages/windows/get-date.md @@ -0,0 +1,21 @@ +# Get-Date + +> Get the current date and time. +> Note: This command can only be used through PowerShell. +> More information: . + +- Display the current date and time: + +`Get-Date` + +- Display the current date and time with a .NET format specifier: + +`Get-Date -Format "{{yyyy-MM-dd HH:mm:ss}}"` + +- Display the current date and time in UTC and ISO 8601 format: + +`(Get-Date).ToUniversalTime()` + +- Convert a Unix timestamp: + +`Get-Date -UnixTimeSeconds {{1577836800}}` diff --git a/pages/windows/get-dedupproperties.md b/pages/windows/get-dedupproperties.md new file mode 100644 index 00000000000000..9d59eb747e3e42 --- /dev/null +++ b/pages/windows/get-dedupproperties.md @@ -0,0 +1,17 @@ +# Get-DedupProperties + +> Get Data Deduplication information. +> Note: This command can only be used through PowerShell. +> More information: . + +- Get Data Deduplication information of the drive: + +`Get-DedupProperties -DriveLetter 'C'` + +- Get Data Deduplication information of the drive using the drive label: + +`Get-DedupProperties -FileSystemLabel 'Label'` + +- Get Data Dedpulication information of the drive using the input object: + +`Get-DedupProperties -InputObject $(Get-Volume -DriveLetter 'E')` diff --git a/pages/windows/get-filehash.md b/pages/windows/get-filehash.md new file mode 100644 index 00000000000000..851963ee0369ac --- /dev/null +++ b/pages/windows/get-filehash.md @@ -0,0 +1,13 @@ +# Get-FileHash + +> Calculate a hash for a file. +> Note: This command can only be used through PowerShell. +> More information: . + +- Calculate a hash for a specified file using the SHA256 algorithm: + +`Get-FileHash {{path\to\file}}` + +- Calculate a hash for a specified file using a specified algorithm: + +`Get-FileHash {{path\to\file}} -Algorithm {{SHA1|SHA384|SHA256|SHA512|MD5}}` diff --git a/pages/windows/get-help.md b/pages/windows/get-help.md new file mode 100644 index 00000000000000..be31847b05acf8 --- /dev/null +++ b/pages/windows/get-help.md @@ -0,0 +1,37 @@ +# Get-Help + +> Display help information and documentation for PowerShell commands (aliases, cmdlets, and functions). +> This command can only be run through PowerShell. +> More information: . + +- Display general help information for a specific PowerShell command: + +`Get-Help {{command}}` + +- Display a more detailed documentation for a specific PowerShell command: + +`Get-Help {{command}} -Detailed` + +- Display the full technical documentation for a specific PowerShell command: + +`Get-Help {{command}} -Full` + +- Print only the documentation for a specific parameter of the PowerShell command (use `*` to show all parameters), if available: + +`Get-Help {{command}} -Parameter {{parameter}}` + +- Print only the examples of the cmdlet, if available: + +`Get-Help {{command}} -Examples` + +- List all available cmdlet help pages: + +`Get-Help *` + +- Update the current help and documentation knowledge base using `Update-Help`: + +`Update-Help` + +- View an online version of PowerShell command documentation in the default web browser: + +`Get-Help {{command}} -Online` diff --git a/pages/windows/get-history.md b/pages/windows/get-history.md new file mode 100644 index 00000000000000..39a94d714af2c7 --- /dev/null +++ b/pages/windows/get-history.md @@ -0,0 +1,17 @@ +# Get-History + +> Display PowerShell command history. +> Note: This command can only be used through PowerShell. +> More information: . + +- Display the commands history list with ID: + +`Get-History` + +- Get PowerShell history item by ID: + +`Get-History -Id {{id}}` + +- Display the last N commands: + +`Get-History -Count {{10}}` diff --git a/pages/windows/get-location.md b/pages/windows/get-location.md new file mode 100644 index 00000000000000..066ec50470c5a0 --- /dev/null +++ b/pages/windows/get-location.md @@ -0,0 +1,9 @@ +# Get-Location + +> Print name of current/working directory. +> This command can only be run through PowerShell. +> More information: . + +- Print the current directory: + +`Get-Location` diff --git a/pages/windows/get-wuapiversion.md b/pages/windows/get-wuapiversion.md new file mode 100644 index 00000000000000..c03817e3b16486 --- /dev/null +++ b/pages/windows/get-wuapiversion.md @@ -0,0 +1,13 @@ +# Get-WUApiVersion + +> Get the Windows Update Agent version. Part of external `PSWindowsUpdate` module. +> This command can only be run under PowerShell. +> More information: . + +- Get the currently-installed Windows Update Agent version: + +`Get-WUApiVersion` + +- Send the current configuration data via email (SMTP): + +`Get-WUApiVersion -SendReport -PSWUSettings @{SmtpServer="{{smtp_server}}"; Port={{smtp_port}} From="{{sender_email}}" To="{{receiver_email}}"}` diff --git a/pages/windows/get-wuhistory.md b/pages/windows/get-wuhistory.md new file mode 100644 index 00000000000000..22ee5d49cb19a8 --- /dev/null +++ b/pages/windows/get-wuhistory.md @@ -0,0 +1,25 @@ +# Get-WUHistory + +> Get the history of installed updates from Windows Update. Part of external `PSWindowsUpdate` module. +> This command can only be run under PowerShell. +> More information: . + +- Get list of update history: + +`Get-WUHistory` + +- List the last 10 installed updates: + +`Get-WUHistory -Last {{10}}` + +- List all updates installed from a specific date to today: + +`Get-WUHistory -MaxDate {{date}}` + +- List all updates installed in the past 24 hours: + +`Get-WUHistory -MaxDate (Get-Date).AddDays(-1)` + +- Send the results via email (SMTP): + +`Get-WUHistory -SendReport -PSWUSettings @{SmtpServer="{{smtp_server}}"; Port={{smtp_port}} From="{{sender_email}}" To="{{receiver_email}}"}` diff --git a/pages/windows/get-wusettings.md b/pages/windows/get-wusettings.md new file mode 100644 index 00000000000000..2c1c9c05aa4b05 --- /dev/null +++ b/pages/windows/get-wusettings.md @@ -0,0 +1,13 @@ +# Get-WUSettings + +> Get the current Windows Update Agent configuration. Part of external `PSWindowsUpdate` module. +> This command can only be run under PowerShell. +> More information: . + +- Get the current Windows Update Agent configuration: + +`Get-WUSettings` + +- Send the current configuration data via email (SMTP): + +`Get-WUSettings -SendReport -PSWUSettings @{SmtpServer="{{smtp_server}}"; Port={{smtp_port}} From="{{sender_email}}" To="{{receiver_email}}"}` diff --git a/pages/windows/getmac.md b/pages/windows/getmac.md index dddbaf1013bc71..5c6c942d8452f6 100644 --- a/pages/windows/getmac.md +++ b/pages/windows/getmac.md @@ -1,7 +1,7 @@ # getmac > Display the MAC addresses of a system. -> More information: . +> More information: . - Display the MAC addresses for the current system: @@ -23,6 +23,6 @@ `getmac /v` -- Display detailed usage information: +- Display help: `getmac /?` diff --git a/pages/windows/gl.md b/pages/windows/gl.md new file mode 100644 index 00000000000000..1bbb6b6c01617d --- /dev/null +++ b/pages/windows/gl.md @@ -0,0 +1,7 @@ +# gl + +> In PowerShell, this command is an alias of `Get-Location`. + +- View documentation for the original command: + +`tldr get-location` diff --git a/pages/windows/gpupdate.md b/pages/windows/gpupdate.md index e9fae7c37b6b41..957b5d34f6ec17 100644 --- a/pages/windows/gpupdate.md +++ b/pages/windows/gpupdate.md @@ -1,7 +1,7 @@ # gpupdate -> A tool to check and apply Windows Group Policy settings. -> More information: . +> Check and apply Windows Group Policy settings. +> More information: . - Check and apply updated Group Policy settings: @@ -9,12 +9,12 @@ - Specify the target Group Policy settings to check for update: -`gpupdate /target=:{{computer|user}}` +`gpupdate /target:{{computer|user}}` - Force all Group Policy settings to be reapplied: `gpupdate /force` -- Display detailed usage information: +- Display help: `gpupdate /?` diff --git a/pages/windows/if.md b/pages/windows/if.md new file mode 100644 index 00000000000000..5d412196bff70a --- /dev/null +++ b/pages/windows/if.md @@ -0,0 +1,32 @@ +# if + +> Performs conditional processing in batch scripts. +> More information: . + +- Execute the specified commands if the condition is true: + +`if {{condition}} ({{echo Condition is true}})` + +- Execute the specified commands if the condition is false: + +`if not {{condition}} ({{echo Condition is true}})` + +- Execute the first specified commands if the condition is true otherwise execute the second specified commands: + +`if {{condition}} ({{echo Condition is true}}) else ({{echo Condition is false}})` + +- Check whether `%errorlevel%` is greater than or equal to the specified exit code: + +`if errorlevel {{2}} ({{echo Condition is true}})` + +- Check whether two strings are equal: + +`if %{{variable}}% == {{string}} ({{echo Condition is true}})` + +- Check whether two strings are equal without respecting letter case: + +`if /i %{{variable}}% == {{string}} ({{echo Condition is true}})` + +- Check whether a file exist: + +`if exist {{path\to\file}} ({{echo Condition is true}})` diff --git a/pages/windows/install-module.md b/pages/windows/install-module.md new file mode 100644 index 00000000000000..37a2e040689d4b --- /dev/null +++ b/pages/windows/install-module.md @@ -0,0 +1,36 @@ +# Install-Module + +> Install PowerShell modules from PowerShell Gallery, NuGet, and other repositories. +> More information: . + +- Install a module, or update it to the latest available version: + +`Install-Module {{module}}` + +- Install a module with a specific version: + +`Install-Module {{module}} -RequiredVersion {{version}}` + +- Install a module no earlier than a specific version: + +`Install-Module {{module}} -MinimumVersion {{version}}` + +- Specify a range of supported versions (inclusive) of the required module: + +`Install-Module {{module}} -MinimumVersion {{minimum_version}} -MaximumVersion {{maximum_version}}` + +- Install module from a specific repository: + +`Install-Module {{module}} -Repository {{repository}}` + +- Install module from specific repositories: + +`Install-Module {{module}} -Repository {{repository1 , repository2 , ...}}` + +- Install the module for all/current user: + +`Install-Module {{module}} -Scope {{AllUsers|CurrentUser}}` + +- Perform a dry run to determine which modules will be installed, upgraded, or removed through `Install-Module`: + +`Install-Module {{module}} -WhatIf` diff --git a/pages/windows/invoke-item.md b/pages/windows/invoke-item.md new file mode 100644 index 00000000000000..287e772c203b16 --- /dev/null +++ b/pages/windows/invoke-item.md @@ -0,0 +1,29 @@ +# Invoke-Item + +> Open files in their respective default programs. +> Note: This command can only be used through PowerShell. +> More information: . + +- Open a file in its default program: + +`Invoke-Item -Path {{path\to\file}}` + +- Open all files inside a directory: + +`Invoke-Item -Path {{path\to\directory}}\*` + +- Open all PNGs inside a directory: + +`Invoke-Item -Path {{path\to\directory}}\*.png` + +- Open all files inside a directory containing a specific keyword: + +`Invoke-Item -Path {{path\to\directory}}\* -Include {{*keyword*}}` + +- Open all files inside a directory except those containing a specific keyword: + +`Invoke-Item -Path {{path\to\directory}}\* -Exclude {{*keyword*}}` + +- Perform a dry run to determine which files will be opened inside a directory through `Invoke-Item`: + +`Invoke-Item -Path {{path\to\directory}}\* -WhatIf` diff --git a/pages/windows/invoke-webrequest.md b/pages/windows/invoke-webrequest.md new file mode 100644 index 00000000000000..734489de2b10ae --- /dev/null +++ b/pages/windows/invoke-webrequest.md @@ -0,0 +1,25 @@ +# Invoke-WebRequest + +> Performs a HTTP/HTTPS request to the Web. +> Note: This command can only be used through PowerShell. +> More information: . + +- Download the contents of a URL to a file: + +`Invoke-WebRequest {{http://example.com}} -OutFile {{path\to\file}}` + +- Send form-encoded data (POST request of type `application/x-www-form-urlencoded`): + +`Invoke-WebRequest -Method Post -Body @{ name='bob' } {{http://example.com/form}}` + +- Send a request with an extra header, using a custom HTTP method: + +`Invoke-WebRequest -Headers {{@{ X-My-Header = '123' }}} -Method {{PUT}} {{http://example.com}}` + +- Send data in JSON format, specifying the appropriate content-type header: + +`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}` + +- Pass a username and password for server authentication: + +`Invoke-WebRequest -Headers @{ Authorization = "Basic "+ [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("myusername:mypassword")) } {{http://example.com}}` diff --git a/pages/windows/ipconfig.md b/pages/windows/ipconfig.md index afcad4011c3f2e..48bc10db7b1cd7 100644 --- a/pages/windows/ipconfig.md +++ b/pages/windows/ipconfig.md @@ -1,9 +1,9 @@ # ipconfig > Display and manage the network configuration of Windows. -> More information: . +> More information: . -- Show a list of network adapters: +- List all network adapters: `ipconfig` @@ -19,6 +19,10 @@ `ipconfig /release {{adapter}}` -- Remove all data from the DNS cache: +- Show the local DNS cache: + +`ipconfig /displaydns` + +- Remove all data from the local DNS cache: `ipconfig /flushdns` diff --git a/pages/windows/iscc.md b/pages/windows/iscc.md index 77ed56a10b1c7c..de5933da216704 100644 --- a/pages/windows/iscc.md +++ b/pages/windows/iscc.md @@ -2,15 +2,16 @@ > Compiler for Inno Setup installers. > It compiles an Inno Setup scripts into an Windows installer executable. +> More information: . - Compile an Inno Setup script: -`iscc {{path/to/file.iss}}` +`iscc {{path\to\file.iss}}` - Quietly compile an Inno Setup installer: -`iscc /Q {{path/to/file.iss}}` +`iscc /Q {{path\to\file.iss}}` - Compile a signed Inno Setup installer: -`iscc /S={{name}}={{command}} {{path/to/file.iss}}` +`iscc /S={{name}}={{command}} {{path\to\file.iss}}` diff --git a/pages/windows/iwr.md b/pages/windows/iwr.md new file mode 100644 index 00000000000000..d3504d7b30e7bc --- /dev/null +++ b/pages/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> In PowerShell, this command is an alias of `Invoke-WebRequest`. + +- View documentation for the original command: + +`tldr invoke-webrequest` diff --git a/pages/windows/lib.md b/pages/windows/lib.md new file mode 100644 index 00000000000000..1a8e95ee0e6b98 --- /dev/null +++ b/pages/windows/lib.md @@ -0,0 +1,28 @@ +# lib + +> The Microsoft Library Manager for creating and managing static libraries of object files. +> More information: . + +- Create a static library from object files: + +`lib /OUT :{{path/to/library.lib}} {{path/to/file1.obj path/to/file2.obj ...}}` + +- List the contents of a library: + +`lib /LIST {{path/to/library.lib}}` + +- Add an object file to an existing library: + +`lib {{path/to/library.lib}} {{path/to/file.obj}}` + +- Remove an object file from a library: + +`lib /REMOVE :{{path/to/file.obj}} {{path/to/library.lib}}` + +- Extract an object file from a library: + +`lib /EXTRACT :{{path/to/file.obj}} {{path/to/library.lib}}` + +- Create an import library from a DLL: + +`lib /DEF :{{path/to/definition.def}} /OUT:{{path/to/import.lib}}` diff --git a/pages/windows/logoff.md b/pages/windows/logoff.md index 716e08909cf5e9..267971cbd9d57b 100644 --- a/pages/windows/logoff.md +++ b/pages/windows/logoff.md @@ -1,13 +1,13 @@ # logoff > Terminate a login session. -> More information: . +> More information: . - Terminate the current session: `logoff` -- Terminate a session by its name or id: +- Terminate a session by its name or ID: `logoff {{session_name|session_id}}` diff --git a/pages/windows/measure-command.md b/pages/windows/measure-command.md new file mode 100644 index 00000000000000..623745781af3c2 --- /dev/null +++ b/pages/windows/measure-command.md @@ -0,0 +1,13 @@ +# Measure-Command + +> Measures the time it takes to run script blocks and cmdlets. +> Note: This command can only be used through PowerShell. +> More information: . + +- Measure the time it takes to run a command: + +`Measure-Command { {{command}} }` + +- Pipe input to Measure-Command (objects that are piped to `Measure-Command` are available to the script block that is passed to the Expression parameter): + +`10, 20, 50 | Measure-Command -Expression { for ($i=0; $i -lt $_; $i++) {$i} }` diff --git a/pages/windows/measure-object.md b/pages/windows/measure-object.md new file mode 100644 index 00000000000000..cbd88ac3388b2a --- /dev/null +++ b/pages/windows/measure-object.md @@ -0,0 +1,13 @@ +# Measure-Object + +> Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text. +> Note: This command can only be used through PowerShell. +> More information: . + +- Count the files and folders in a directory: + +`Get-ChildItem | Measure-Object` + +- Pipe input to Measure-Command (objects that are piped to `Measure-Command` are available to the script block that is passed to the Expression parameter): + +`"One", "Two", "Three", "Four" | Set-Content -Path "{{path\to\file}}"; Get-Content "{{path\to\file}}"; | Measure-Object -Character -Line -Word` diff --git a/pages/windows/mi.md b/pages/windows/mi.md new file mode 100644 index 00000000000000..6f159d15bf715a --- /dev/null +++ b/pages/windows/mi.md @@ -0,0 +1,7 @@ +# mi + +> In PowerShell, this command is an alias of `Move-Item`. + +- View documentation for the original command: + +`tldr move-item` diff --git a/pages/windows/microsoft-edge.md b/pages/windows/microsoft-edge.md new file mode 100644 index 00000000000000..f13a2e3d133b54 --- /dev/null +++ b/pages/windows/microsoft-edge.md @@ -0,0 +1,12 @@ +# microsoft-edge + +> The Microsoft Edge command-line utility is available as `msedge` on Windows and `microsoft-edge` for other platforms. +> More information: . + +- View the documentation for Microsoft Edge for Windows: + +`tldr {{[-p|--platform]}} windows msedge` + +- View the documentation for Microsoft Edge for other platforms: + +`tldr {{[-p|--platform]}} common microsoft-edge` diff --git a/pages/windows/mimikatz-crypto.md b/pages/windows/mimikatz-crypto.md new file mode 100644 index 00000000000000..5f4afe4fdc8cf0 --- /dev/null +++ b/pages/windows/mimikatz-crypto.md @@ -0,0 +1,16 @@ +# mimikatz crypto + +> Manipulate Windows cryptographic services and certificates. +> More information: . + +- List cryptographic providers: + +`mimikatz "crypto::providers"` + +- List keys in a cryptographic provider: + +`mimikatz "crypto::capi"` + +- Export certificates and keys: + +`mimikatz "crypto::certificates /export"` diff --git a/pages/windows/mimikatz-dpapi.md b/pages/windows/mimikatz-dpapi.md new file mode 100644 index 00000000000000..ba29a98ab4578b --- /dev/null +++ b/pages/windows/mimikatz-dpapi.md @@ -0,0 +1,16 @@ +# mimikatz dpapi + +> Interact with the Windows Data Protection API (DPAPI). +> More information: . + +- List master keys: + +`mimikatz "dpapi::masterkey /list"` + +- Decrypt a DPAPI blob: + +`mimikatz "dpapi::blob /in:blob_file.bin"` + +- Retrieve Chrome credentials using DPAPI: + +`mimikatz "dpapi::chrome /in:Login Data"` diff --git a/pages/windows/mimikatz-event.md b/pages/windows/mimikatz-event.md new file mode 100644 index 00000000000000..a64ab161fd85bd --- /dev/null +++ b/pages/windows/mimikatz-event.md @@ -0,0 +1,12 @@ +# mimikatz event + +> Manage Windows Event Log records. +> More information: . + +- Clear event logs: + +`mimikatz "event::clear"` + +- Display event log sources: + +`mimikatz "event::providers"` diff --git a/pages/windows/mimikatz-kerberos.md b/pages/windows/mimikatz-kerberos.md new file mode 100644 index 00000000000000..c60839f9b73f0d --- /dev/null +++ b/pages/windows/mimikatz-kerberos.md @@ -0,0 +1,16 @@ +# mimikatz kerberos + +> Interact with Kerberos tickets. +> More information: . + +- List current Kerberos tickets: + +`mimikatz "kerberos::list"` + +- Purge all Kerberos tickets: + +`mimikatz "kerberos::purge"` + +- Inject a ticket from a `.kirbi` file: + +`mimikatz "kerberos::ptt ticket.kirbi"` diff --git a/pages/windows/mimikatz-lsadump.md b/pages/windows/mimikatz-lsadump.md new file mode 100644 index 00000000000000..eed787edc15fc8 --- /dev/null +++ b/pages/windows/mimikatz-lsadump.md @@ -0,0 +1,17 @@ +# mimikatz lsadump + +> Dump secrets from the Windows Local Security Authority (LSA). +> Requires SYSTEM privileges. +> More information: . + +- Dump SAM hashes: + +`mimikatz "lsadump::sam"` + +- Dump secrets from the SECURITY hive: + +`mimikatz "lsadump::secrets"` + +- Dump cached domain credentials: + +`mimikatz "lsadump::cache"` diff --git a/pages/windows/mimikatz-misc.md b/pages/windows/mimikatz-misc.md new file mode 100644 index 00000000000000..e8d1e37990e597 --- /dev/null +++ b/pages/windows/mimikatz-misc.md @@ -0,0 +1,16 @@ +# mimikatz misc + +> Miscellaneous system and utility commands. +> More information: . + +- Trigger Blue Screen of Death (for testing): + +`mimikatz "misc::bsod"` + +- List loaded kernel drivers: + +`mimikatz "misc::minidump"` + +- Change system time: + +`mimikatz "misc::systemtime"` diff --git a/pages/windows/mimikatz-net.md b/pages/windows/mimikatz-net.md new file mode 100644 index 00000000000000..590859f0ff9697 --- /dev/null +++ b/pages/windows/mimikatz-net.md @@ -0,0 +1,16 @@ +# mimikatz net + +> Perform network and domain operations. +> More information: . + +- List domain users: + +`mimikatz "net::users"` + +- List domain computers: + +`mimikatz "net::computers"` + +- Retrieve domain controller information: + +`mimikatz "net::domaincontrollers"` diff --git a/pages/windows/mimikatz-privilege.md b/pages/windows/mimikatz-privilege.md new file mode 100644 index 00000000000000..830b4b8d05891c --- /dev/null +++ b/pages/windows/mimikatz-privilege.md @@ -0,0 +1,12 @@ +# mimikatz privilege + +> Manage privileges for mimikatz operations. +> More information: . + +- Enable debug privilege (required for many modules): + +`mimikatz "privilege::debug"` + +- Check current privilege state: + +`mimikatz "privilege::whoami"` diff --git a/pages/windows/mimikatz-process.md b/pages/windows/mimikatz-process.md new file mode 100644 index 00000000000000..d637b4b52de0ce --- /dev/null +++ b/pages/windows/mimikatz-process.md @@ -0,0 +1,12 @@ +# mimikatz process + +> Manage process privileges and tokens. +> More information: . + +- List processes with their tokens: + +`mimikatz "process::list"` + +- Elevate mimikatz to a SYSTEM process: + +`mimikatz "process::token /user:NT AUTHORITY\SYSTEM"` diff --git a/pages/windows/mimikatz-sekurlsa.md b/pages/windows/mimikatz-sekurlsa.md new file mode 100644 index 00000000000000..ab308aa914e76a --- /dev/null +++ b/pages/windows/mimikatz-sekurlsa.md @@ -0,0 +1,17 @@ +# mimikatz sekurlsa + +> Extract credentials and secrets from memory. +> Requires debug privileges. +> More information: . + +- Extract plaintext passwords: + +`mimikatz "sekurlsa::logonpasswords"` + +- List Kerberos tickets in memory: + +`mimikatz "sekurlsa::tickets"` + +- Dump LSA secrets: + +`mimikatz "sekurlsa::secrets"` diff --git a/pages/windows/mimikatz-service.md b/pages/windows/mimikatz-service.md new file mode 100644 index 00000000000000..044d77834c327a --- /dev/null +++ b/pages/windows/mimikatz-service.md @@ -0,0 +1,16 @@ +# mimikatz service + +> Manage Windows services through mimikatz. +> More information: . + +- Start a service: + +`mimikatz "service::start service_name"` + +- Stop a service: + +`mimikatz "service::stop service_name"` + +- Delete a service: + +`mimikatz "service::delete service_name"` diff --git a/pages/windows/mimikatz-standard.md b/pages/windows/mimikatz-standard.md new file mode 100644 index 00000000000000..29d6d5c5516900 --- /dev/null +++ b/pages/windows/mimikatz-standard.md @@ -0,0 +1,16 @@ +# mimikatz standard + +> Basic commands and mimikatz environment management. +> More information: . + +- Display system information: + +`mimikatz "standard::info"` + +- Clear the mimikatz command history: + +`mimikatz "standard::clearev"` + +- Show command history: + +`mimikatz "standard::history"` diff --git a/pages/windows/mimikatz-token.md b/pages/windows/mimikatz-token.md new file mode 100644 index 00000000000000..3d210651e7a85e --- /dev/null +++ b/pages/windows/mimikatz-token.md @@ -0,0 +1,16 @@ +# mimikatz token + +> List and manipulate security tokens. +> More information: . + +- List tokens: + +`mimikatz "token::list"` + +- Elevate privileges by impersonating a token: + +`mimikatz "token::elevate"` + +- Revert to original token: + +`mimikatz "token::revert"` diff --git a/pages/windows/mimikatz-vault.md b/pages/windows/mimikatz-vault.md new file mode 100644 index 00000000000000..07c40107ef2f7c --- /dev/null +++ b/pages/windows/mimikatz-vault.md @@ -0,0 +1,12 @@ +# mimikatz vault + +> Extract credentials stored in the Windows Credential Vault. +> More information: . + +- List vault credentials: + +`mimikatz "vault::list"` + +- Dump all vault credentials: + +`mimikatz "vault::cred"` diff --git a/pages/windows/mimikatz.md b/pages/windows/mimikatz.md new file mode 100644 index 00000000000000..02a4e61ae3b027 --- /dev/null +++ b/pages/windows/mimikatz.md @@ -0,0 +1,37 @@ +# mimikatz + +> Interact with Windows credentials, perform credential dumping, token manipulation, and more. +> Requires administrator privileges and typically runs on Windows. +> More information: . + +- Run mimikatz in interactive mode: + +`mimikatz` + +- Enable debug privileges (needed for most operations): + +`mimikatz "privilege::debug"` + +- List available logon sessions: + +`mimikatz "sekurlsa::logonpasswords"` + +- Dump plaintext passwords, NTLM hashes, and Kerberos tickets from memory: + +`mimikatz "sekurlsa::logonpasswords"` + +- Pass-the-Hash with a specific NTLM hash and launch a command: + +`mimikatz "sekurlsa::pth /user:{{username}} /domain:{{domain}} /ntlm:{{hash}} /run:{{cmd}}"` + +- Dump local SAM database hashes: + +`mimikatz "lsadump::sam"` + +- Extract Kerberos tickets and export to a file: + +`mimikatz "kerberos::list /export"` + +- Exit mimikatz: + +`exit` diff --git a/pages/windows/mkdir.md b/pages/windows/mkdir.md index d45df27f7bb58d..8a7847e61eadfa 100644 --- a/pages/windows/mkdir.md +++ b/pages/windows/mkdir.md @@ -1,12 +1,12 @@ # mkdir -> Creates a directory. -> More information: . +> Create a directory. +> More information: . - Create a directory: -`mkdir {{directory_name}}` +`mkdir {{path\to\directory}}` -- Recursively create a nested directory tree: +- Create a nested directory tree recursively: -`mkdir {{path/to/sub_directory_name}}` +`mkdir {{path\to\sub_directory}}` diff --git a/pages/windows/mklink.md b/pages/windows/mklink.md index 11d54430328b85..0d7a78f24646dd 100644 --- a/pages/windows/mklink.md +++ b/pages/windows/mklink.md @@ -1,20 +1,20 @@ # mklink > Create symbolic links. -> More information: . +> More information: . - Create a symbolic link to a file: -`mklink {{path/to/link}} {{path/to/source_file}}` +`mklink {{path\to\link_file}} {{path\to\source_file}}` - Create a symbolic link to a directory: -`mklink /d {{path/to/link}} {{path/to/source_directory}}` +`mklink /d {{path\to\link_file}} {{path\to\source_directory}}` - Create a hard link to a file: -`mklink /h {{path/to/link}} {{path/to/source_file}}` +`mklink /h {{path\to\link_file}} {{path\to\source_file}}` - Create a directory junction: -`mklink /j {{path/to/link}} {{path/to/source_file}}` +`mklink /j {{path\to\link_file}} {{path\to\source_file}}` diff --git a/pages/windows/more.md b/pages/windows/more.md index 21851eca4a4157..94ce9e3f6a140b 100644 --- a/pages/windows/more.md +++ b/pages/windows/more.md @@ -1,7 +1,7 @@ # more > Display paginated output from `stdin` or a file. -> More information: . +> More information: . - Display paginated output from `stdin`: @@ -9,24 +9,24 @@ - Display paginated output from one or more files: -`more {{path/to/file}}` +`more {{path\to\file}}` - Convert tabs to the specified number of spaces: -`more {{path/to/file}} /t{{spaces}}` +`more {{path\to\file}} /t{{spaces}}` - Clear the screen before displaying the page: -`more {{path/to/file}} /c` +`more {{path\to\file}} /c` - Display the output starting at line 5: -`more {{path/to/file}} +{{5}}` +`more {{path\to\file}} +{{5}}` - Enable extended interactive mode (see help for usage): -`more {{path/to/file}} /e` +`more {{path\to\file}} /e` -- Display full usage information: +- Display help: `more /?` diff --git a/pages/windows/mount.md b/pages/windows/mount.md index 22cd1c1942e2c0..e0f283b86e87d3 100644 --- a/pages/windows/mount.md +++ b/pages/windows/mount.md @@ -1,7 +1,7 @@ # mount > Mount Network File System (NFS) network shares. -> More information: . +> More information: . - Mount a share to the "Z" drive letter: @@ -17,7 +17,7 @@ - Mount a share and retry up to 10 times if it fails: -`mount -o retry={{retries}} \\{{computer_name}}\{{share_name}} {{Z:}}` +`mount -o retry=10 \\{{computer_name}}\{{share_name}} {{Z:}}` - Mount a share with forced case sensitivity: diff --git a/pages/windows/move-item.md b/pages/windows/move-item.md new file mode 100644 index 00000000000000..b55f112bd6d140 --- /dev/null +++ b/pages/windows/move-item.md @@ -0,0 +1,37 @@ +# Move-Item + +> Move or rename files, directories, registry keys, and other PowerShell data items. +> This command can only be run through PowerShell. +> More information: . + +- Rename a file or directory when the target is not an existing directory: + +`Move-Item {{path\to\source}} {{path\to\target}}` + +- Move a file or directory into an existing directory: + +`Move-Item {{path\to\source}} {{path\to\existing_directory}}` + +- Rename or move file(s) with specific name (do not treat special characters inside strings): + +`Move-Item -LiteralPath "{{path\to\source}}" {{path\to\file_or_directory}}` + +- Move multiple files into an existing directory, keeping the filenames unchanged: + +`Move-Item {{path\to\source1 , path\to\source2 ...}} {{path\to\existing_directory}}` + +- Move or rename registry key(s): + +`Move-Item {{path\to\source_key1 , path\to\source_key2 ...}} {{path\to\new_or_existing_key}}` + +- Do not prompt for confirmation before overwriting existing files or registry keys: + +`mv -Force {{path\to\source}} {{path\to\target}}` + +- Prompt for confirmation before overwriting existing files, regardless of file permissions: + +`mv -Confirm {{path\to\source}} {{path\to\target}}` + +- Move files in dry-run mode, showing files and directories which could be moved without executing them: + +`mv -WhatIf {{path\to\source}} {{path\to\target}}` diff --git a/pages/windows/move.md b/pages/windows/move.md new file mode 100644 index 00000000000000..7d480deebd99bb --- /dev/null +++ b/pages/windows/move.md @@ -0,0 +1,29 @@ +# move + +> Move or rename files and directories. +> In PowerShell, this command is an alias of `Move-Item`. This documentation is based on the Command Prompt (`cmd`) version of `move`. +> More information: . + +- View documentation of the equivalent PowerShell command: + +`tldr move-item` + +- Rename a file or directory when the target is not an existing directory: + +`move {{path\to\source}} {{path\to\target}}` + +- Move a file or directory into an existing directory: + +`move {{path\to\source}} {{path\to\existing_directory}}` + +- Move a file or directory across drives: + +`move {{C:\path\to\source}} {{D:\path\to\target}}` + +- Do not prompt for confirmation before overwriting existing files: + +`move /Y {{path\to\source}} {{path\to\existing_directory}}` + +- Prompt for confirmation before overwriting existing files, regardless of file permissions: + +`move /-Y {{path\to\source}} {{path\to\existing_directory}}` diff --git a/pages/windows/msedge.md b/pages/windows/msedge.md new file mode 100644 index 00000000000000..bba7bfc603d653 --- /dev/null +++ b/pages/windows/msedge.md @@ -0,0 +1,38 @@ +# msedge + +> Modern web browser developed by Microsoft based on the Chromium web browser developed by Google. +> This command is available instead as `microsoft-edge` for other platforms. +> Note: Additional command arguments from `chromium` may also be usable to control Microsoft Edge. +> More information: . + +- Open a specific URL or file: + +`msedge {{https://example.com|path/to/file.html}}` + +- Open in InPrivate mode: + +`msedge --inprivate {{example.com}}` + +- Open in a new window: + +`msedge --new-window {{example.com}}` + +- Open in application mode (without toolbars, URL bar, buttons, etc.): + +`msedge --app {{https://example.com}}` + +- Use a proxy server: + +`msedge --proxy-server "{{socks5://hostname:66}}" {{example.com}}` + +- Open with a custom profile directory: + +`msedge --user-data-dir {{path/to/directory}}` + +- Open without CORS validation (useful to test an API): + +`msedge --user-data-dir {{path/to/directory}} --disable-web-security` + +- Open with a DevTools window for each tab opened: + +`msedge --auto-open-devtools-for-tabs` diff --git a/pages/windows/msg.md b/pages/windows/msg.md index 6f5830d81cc6ca..c69b41143aed56 100644 --- a/pages/windows/msg.md +++ b/pages/windows/msg.md @@ -1,7 +1,7 @@ # msg -> Send a message to a specific user or session. -> More information: . +> Send a message to a user or session. +> More information: . - Send a message to a specified user or session: @@ -21,4 +21,4 @@ - Set a delay in seconds for a message: -`msg /time:{{seconds}}` +`msg /time:{{10}}` diff --git a/pages/windows/msiexec.md b/pages/windows/msiexec.md new file mode 100644 index 00000000000000..5cff718a5bf605 --- /dev/null +++ b/pages/windows/msiexec.md @@ -0,0 +1,20 @@ +# msiexec + +> Install, update, repair, or uninstall Windows programs using MSI and MSP package files. +> More information: . + +- Install a program from its MSI package: + +`msiexec /package {{path\to\file.msi}}` + +- Install a MSI package from a website: + +`msiexec /package {{https://example.com/installer.msi}}` + +- Install a MSP patch file: + +`msiexec /update {{path\to\file.msp}}` + +- Uninstall a program or patch using their respective MSI or MSP file: + +`msiexec /uninstall {{path\to\file}}` diff --git a/pages/windows/mv.md b/pages/windows/mv.md new file mode 100644 index 00000000000000..afc44eaf7907b9 --- /dev/null +++ b/pages/windows/mv.md @@ -0,0 +1,12 @@ +# mv + +> In PowerShell, this command is an alias of `Move-Item`. +> However, this command is not available on the Command Prompt (`cmd`). Use `move` instead for similar functionality. + +- View documentation for the equivalent Command Prompt command: + +`tldr move` + +- View documentation for the original PowerShell command: + +`tldr move-item` diff --git a/pages/windows/net.md b/pages/windows/net.md new file mode 100644 index 00000000000000..5b85495a499500 --- /dev/null +++ b/pages/windows/net.md @@ -0,0 +1,36 @@ +# net + +> System utility to view and modify network-related settings. +> More information: . + +- Start or stop a Windows service synchronously: + +`net {{start|stop}} {{service}}` + +- Make sure an SMB share is available in the current console: + +`net use {{\\smb_shared_folder}} /USER:{{username}}` + +- Show the folders currently shared over SMB: + +`net share` + +- Show who is using your SMB shares (run in elevated console): + +`net session` + +- Show users in a local security group: + +`net localgroup "{{Administrators}}"` + +- Add a user to the local security group (run in elevated console): + +`net localgroup "{{Administrators}}" {{username}} /add` + +- Display help for a subcommand: + +`net help {{subcommand}}` + +- Display help: + +`net help` diff --git a/pages/windows/netsh-interface-portproxy.md b/pages/windows/netsh-interface-portproxy.md new file mode 100644 index 00000000000000..6658c91c56ec81 --- /dev/null +++ b/pages/windows/netsh-interface-portproxy.md @@ -0,0 +1,20 @@ +# netsh interface portproxy + +> Configure and display the status of various network components. +> More information: . + +- Display the current port forwarding setup: + +`netsh interface portproxy show all` + +- Set up IPv4 port forwarding (run in elevated console): + +`netsh interface portproxy add v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}} connectaddress={{10.0.0.1}} connectport={{80}}` + +- Remove IPv4 port forwarding (run in elevated console): + +`netsh interface portproxy delete v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}}` + +- Display help: + +`netsh interface portproxy` diff --git a/pages/windows/netsh-wlan.md b/pages/windows/netsh-wlan.md new file mode 100644 index 00000000000000..2f1c8f81e8bae5 --- /dev/null +++ b/pages/windows/netsh-wlan.md @@ -0,0 +1,36 @@ +# netsh wlan + +> Manage wireless networks. +> More information: . + +- Show all available wireless networks: + +`netsh wlan show networks` + +- Connect to a wireless network with a specific SSID: + +`netsh wlan connect name={{SSID}}` + +- Disconnect from the current wireless network: + +`netsh wlan disconnect` + +- Show current wireless network interfaces and status: + +`netsh wlan show interfaces` + +- Export a wireless network profile to an XML file: + +`netsh wlan export profile name={{SSID}} folder={{C:\path\to\folder}} key=clear` + +- Delete a saved wireless network profile: + +`netsh wlan delete profile name={{SSID}}` + +- Enable hosted network (turn PC into Wi-Fi hotspot): + +`netsh wlan set hostednetwork mode=allow ssid={{SSID}} key={{password}}` + +- Start the hosted network: + +`netsh wlan start hostednetwork` diff --git a/pages/windows/netstat.md b/pages/windows/netstat.md new file mode 100644 index 00000000000000..3db2a4be323102 --- /dev/null +++ b/pages/windows/netstat.md @@ -0,0 +1,36 @@ +# netstat + +> Display active TCP connections, ports on which the computer is listening, network adapter statistics, the IP routing table, IPv4 statistics and IPv6 statistics. +> More information: . + +- Display active TCP connections: + +`netstat` + +- Display all active TCP connections and the TCP and UDP ports on which the computer is listening: + +`netstat -a` + +- Display network adapter statistics, such as the number of bytes and packets sent and received: + +`netstat -e` + +- Display active TCP connections and express addresses and port numbers numerically: + +`netstat -n` + +- Display active TCP connections and include the process ID (PID) for each connection: + +`netstat -o` + +- Display the contents of the IP routing table: + +`netstat -r` + +- Display statistics by protocol: + +`netstat -s` + +- Display a list of currently open ports and related IP addresses: + +`netstat -an` diff --git a/pages/windows/new-item.md b/pages/windows/new-item.md new file mode 100644 index 00000000000000..d6f63f7898584c --- /dev/null +++ b/pages/windows/new-item.md @@ -0,0 +1,33 @@ +# New-Item + +> Create a new file, directory, symbolic link, or a registry entry. +> Note: This command can only be used through PowerShell. +> More information: . + +- Create a new blank file (equivalent to `touch`): + +`New-Item {{path\to\file}}` + +- Create a new directory: + +`New-Item -ItemType Directory {{path\to\directory}}` + +- Write a new text file with specified content: + +`New-Item {{path\to\file}} -Value {{content}}` + +- Write the same text file in multiple locations: + +`New-Item {{path\to\file1 , path\to\file2 , ...}} -Value {{content}}` + +- Create a symbolic link\hard link\junction to a file or directory: + +`New-Item -ItemType {{SymbolicLink|HardLink|Junction}} -Path {{path\to\link_file}} -Target {{path\to\source_file_or_directory}}` + +- Create a new blank registry entry (in REG_SZ, use `New-ItemProperty` or `Set-ItemProperty` to fine-tune the value type): + +`New-Item {{path\to\registry_key}}` + +- Create a new blank registry entry with specified value: + +`New-Item {{path\to\registry_key}} -Value {{value}}` diff --git a/pages/windows/nfsstat.md b/pages/windows/nfsstat.md index 49e98519c1f522..56cb55086853df 100644 --- a/pages/windows/nfsstat.md +++ b/pages/windows/nfsstat.md @@ -1,7 +1,7 @@ # nfsstat > Display or reset the number of calls made to the NFS server. -> More information: . +> More information: . - Display the recorded number of calls made to the NFS server: diff --git a/pages/windows/ni.md b/pages/windows/ni.md new file mode 100644 index 00000000000000..4b47fb7d98c752 --- /dev/null +++ b/pages/windows/ni.md @@ -0,0 +1,7 @@ +# ni + +> In PowerShell, this command is an alias of `New-Item`. + +- View documentation for the original command: + +`tldr new-item` diff --git a/pages/windows/nmake.md b/pages/windows/nmake.md new file mode 100644 index 00000000000000..a3eaa857ebcf95 --- /dev/null +++ b/pages/windows/nmake.md @@ -0,0 +1,36 @@ +# nmake + +> The Microsoft Program Maintenance Utility for building projects based on commands in a makefile. +> More information: . + +- Build targets using the default makefile in the current directory: + +`nmake` + +- Build targets using a specific makefile: + +`nmake /F {{path/to/makefile}}` + +- Build a specific target: + +`nmake {{target}}` + +- Display commands without executing them: + +`nmake /N` + +- Display all macro definitions and target descriptions: + +`nmake /P` + +- Continue building unrelated targets on error: + +`nmake /K` + +- Build and ignore timestamp checks (force rebuild): + +`nmake /A` + +- Suppress copyright message: + +`nmake /NOLOGO` diff --git a/pages/windows/nvm.md b/pages/windows/nvm.md new file mode 100644 index 00000000000000..6f2d5bb64e36c1 --- /dev/null +++ b/pages/windows/nvm.md @@ -0,0 +1,25 @@ +# nvm + +> Install, uninstall, or switch between Node.js versions. +> Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc. +> More information: . + +- Install a specific version of Node.js: + +`nvm install {{node_version}}` + +- Set the default version of Node.js (must be run as Administrator): + +`nvm use {{node_version}}` + +- List all available Node.js versions and highlight the default one: + +`nvm list` + +- List all remote Node.js versions: + +`nvm ls-remote` + +- Uninstall a given Node.js version: + +`nvm uninstall {{node_version}}` diff --git a/pages/windows/octo.md b/pages/windows/octo.md index 8434e086d64de7..81c0779135b0c7 100644 --- a/pages/windows/octo.md +++ b/pages/windows/octo.md @@ -1,20 +1,20 @@ # octo -> Command line tools for Octopus Deploy. +> Command-line tools for Octopus Deploy. > More information: . - Create a package: -`octo pack --id={{package_name}}` +`octo pack --id {{package}}` - Push a package to a repository on the Octopus server: -`octo push --package={{package_name}}` +`octo push --package {{package}}` - Create a release: -`octo create-release --project={{project_name}} --packageversion={{version}}` +`octo create-release --project {{project_name}} --packageversion {{version}}` - Deploy a release: -`octo deploy-release --project={{project_name}} --packageversion={{version}} --deployto={{environment_name}} --tenant={{deployment_target}}` +`octo deploy-release --project {{project_name}} --packageversion {{version}} --deployto {{environment_name}} --tenant {{deployment_target}}` diff --git a/pages/windows/ospp.vbs.md b/pages/windows/ospp.vbs.md new file mode 100644 index 00000000000000..22060c07a17d03 --- /dev/null +++ b/pages/windows/ospp.vbs.md @@ -0,0 +1,29 @@ +# ospp.vbs + +> Install, activate, and manage volume licensed versions of Microsoft Office products. +> Note: This command may override, deactivate, and/or remove your current volume of licensed Office product versions, so please proceed cautiously. +> More information: . + +- Install a product key (Note: It replaces the existing key): + +`cscript ospp.vbs /inpkey:{{product_key}}` + +- Uninstall an installed product key with the last five digits of the product key: + +`cscript ospp.vbs /unpkey:{{product_key_digits}}` + +- Set a KMS host name: + +`cscript ospp.vbs /sethst:{{ip|hostname}}` + +- Set a KMS port: + +`cscript ospp.vbs /setprt:{{port}}` + +- Activate installed Office product keys: + +`cscript ospp.vbs /act` + +- Display license information for installed product keys: + +`cscript ospp.vbs /dstatus` diff --git a/pages/windows/out-string.md b/pages/windows/out-string.md new file mode 100644 index 00000000000000..4dcda8b2299e55 --- /dev/null +++ b/pages/windows/out-string.md @@ -0,0 +1,17 @@ +# Out-String + +> Outputs input objects as a string. +> Note: This command can only be used through PowerShell. +> More information: . + +- Print host information as string: + +`Get-Alias | Out-String` + +- Convert each object to a string rather than concatenating all the objects into a single string: + +`Get-Alias | Out-String -Stream` + +- Use the `Width` parameter to prevent truncation: + +`@{TestKey = ('x' * 200)} | Out-String -Width {{250}}` diff --git a/pages/windows/pabcnetcclear.md b/pages/windows/pabcnetcclear.md new file mode 100644 index 00000000000000..24f0ba0080b01e --- /dev/null +++ b/pages/windows/pabcnetcclear.md @@ -0,0 +1,24 @@ +# pabcnetcclear + +> Preprocess and compile PascalABC.NET source files. +> More information: . + +- Compile the specified source file into an executable with the same name: + +`pabcnetcclear {{path\to\source_file.pas}}` + +- Compile the specified source file into an executable with the specified name: + +`pabcnetcclear /Output:{{path\to\_file.exe}} {{path\to\source_file.pas}}` + +- Compile the specified source file into an executable with the same name along with/without debug information: + +`pabcnetcclear /Debug:{{0|1}} {{path\to\source_file.pas}}` + +- Allow units to be searched in the specified path while compiling the source file into an executable with the same name: + +`pabcnetcclear /SearchDir:{{path\to\directory}} {{path\to\source_file.pas}}` + +- Compile the specified source file into an executable, defining a symbol: + +`pabcnetcclear /Define:{{symbol}} {{path\to\source_file.pas}}` diff --git a/pages/windows/path.md b/pages/windows/path.md index 6c4547f652957b..9bc6d667f5516b 100644 --- a/pages/windows/path.md +++ b/pages/windows/path.md @@ -1,7 +1,7 @@ # path > Display or set the search path for executable files. -> More information: . +> More information: . - Display the current path: @@ -9,11 +9,11 @@ - Set the path to one or more semicolon-separated directories: -`path {{path/to/directory(s)}}` +`path {{path\to\directory1 path\to\directory2 ...}}` - Append a new directory to the original path: -`path {{path/to/directory}};%path%` +`path {{path\to\directory}};%path%` - Set command prompt to only search the current directory for executables: diff --git a/pages/windows/pathping.md b/pages/windows/pathping.md index 68a59c7c39ca11..1ec4aa0fa453f1 100644 --- a/pages/windows/pathping.md +++ b/pages/windows/pathping.md @@ -1,13 +1,13 @@ # pathping > A trace route tool combining features of `ping` and `tracert`. -> More information: . +> More information: . - Ping and trace the route to a host: `pathping {{hostname}}` -- Do not perform reverse lookup of ip-address to hostname: +- Do not perform reverse lookup of IP address to hostname: `pathping {{hostname}} -n` @@ -31,6 +31,6 @@ `pathping {{hostname}} -6` -- Display detailed usage information: +- Display help: `pathping /?` diff --git a/pages/windows/pipwin.md b/pages/windows/pipwin.md new file mode 100644 index 00000000000000..9627294f3c39e9 --- /dev/null +++ b/pages/windows/pipwin.md @@ -0,0 +1,28 @@ +# pipwin + +> A tool to install unofficial Python package binaries on Windows. +> More information: . + +- List all available packages for download: + +`pipwin list` + +- Search packages: + +`pipwin search {{partial_name|name}}` + +- Install a package: + +`pipwin install {{package}}` + +- Uninstall a package: + +`pipwin uninstall {{package}}` + +- Download a package to a specific directory: + +`pipwin download --dest {{path\to\directory}} {{package}}` + +- Install packages according to `requirements.txt`: + +`pipwin install --file {{path\to\requirements.txt}}` diff --git a/pages/windows/popd.md b/pages/windows/popd.md index d48ab252b445d7..72ec3c37ff4ca8 100644 --- a/pages/windows/popd.md +++ b/pages/windows/popd.md @@ -1,7 +1,7 @@ # popd > Changes the current directory to the directory stored by the `pushd` command. -> More information: . +> More information: . - Switch to directory at the top of the stack: diff --git a/pages/windows/powershell.md b/pages/windows/powershell.md index 78cb995bcc3123..f1200eb98e2104 100644 --- a/pages/windows/powershell.md +++ b/pages/windows/powershell.md @@ -1,21 +1,30 @@ # powershell > Command-line shell and scripting language designed especially for system administration. -> More information: . +> This command refers to PowerShell version 5.1 and below (also known as the legacy Windows PowerShell). To use the newer, cross-platform version of PowerShell (also known as PowerShell Core), use `pwsh` instead of `powershell`. +> More information: . -- Start a Windows PowerShell session in a Command Prompt window: +- Start an interactive shell session: `powershell` -- Load a specific PowerShell console file: +- Start an interactive shell session without loading startup configs: -`powershell -PSConsoleFile {{path/to/file}}` +`powershell -NoProfile` -- Start a session with a specified version of PowerShell: +- Execute specific commands: + +`powershell -Command "{{echo 'powershell is executed'}}"` + +- Execute a specific script: + +`powershell -File {{path/to/script.ps1}}` + +- Start a session with a specific version of PowerShell: `powershell -Version {{version}}` -- Prevent the shell from exit after running startup commands: +- Prevent a shell from exit after running startup commands: `powershell -NoExit` @@ -23,10 +32,6 @@ `powershell -InputFormat {{Text|XML}}` -- Determine how output from PowerShell is formatted: +- Determine how an output from PowerShell is formatted: `powershell -OutputFormat {{Text|XML}}` - -- Display help: - -`powershell -Help` diff --git a/pages/windows/print.md b/pages/windows/print.md deleted file mode 100644 index 0225916dd3d47e..00000000000000 --- a/pages/windows/print.md +++ /dev/null @@ -1,12 +0,0 @@ -# print - -> Print a text file to a printer. -> More information: . - -- Print a text file to the default printer: - -`print {{path/to/file}}` - -- Print a text file to a specific printer: - -`print /d:{{printer}} {{path/to/file}}` diff --git a/pages/windows/print.win.md b/pages/windows/print.win.md new file mode 100644 index 00000000000000..75f90475b17f6f --- /dev/null +++ b/pages/windows/print.win.md @@ -0,0 +1,12 @@ +# print + +> Print a text file to a printer. +> More information: . + +- Print a text file to the default printer: + +`print {{path\to\file}}` + +- Print a text file to a specific printer: + +`print /d:{{printer}} {{path\to\file}}` diff --git a/pages/windows/prompt.md b/pages/windows/prompt.md new file mode 100644 index 00000000000000..a84ab7c0fa8cd6 --- /dev/null +++ b/pages/windows/prompt.md @@ -0,0 +1,24 @@ +# prompt + +> Change the default DOS style prompt in a command window. +> More information: . + +- Reset the prompt to the default setting: + +`prompt` + +- Set a specific prompt: + +`prompt {{prompt}}` + +- Change the prompt to show the current date first: + +`prompt $D $P$G` + +- Change the prompt to show the current time first: + +`prompt $T $P$G` + +- Change the prompt by adding a specific text first: + +`prompt {{text}} $P$G` diff --git a/pages/windows/psexec.md b/pages/windows/psexec.md new file mode 100644 index 00000000000000..2a3060d90850c2 --- /dev/null +++ b/pages/windows/psexec.md @@ -0,0 +1,25 @@ +# psexec + +> Execute a command-line process on a remote machine. +> This is an advanced command and it might potentially be dangerous. +> More information: . + +- Execute a command using `cmd` in a remote shell: + +`psexec \\{{remote_host}} cmd` + +- Execute a command on a remote host (pre-authenticated): + +`psexec \\{{remote_host}} -u {{user_name}} -p {{password}}` + +- Execute a command remotely and output the result to a file: + +`psexec \\{{remote_host}} cmd /c {{command}} -an ^>{{path\to\file.txt}}` + +- Execute a program to interact with users: + +`psexec \\{{remote_host}} -d -i {{program_name}}` + +- Display the IP configuration of the remote host: + +`psexec \\{{remote_host}} ipconfig /all` diff --git a/pages/windows/psping.md b/pages/windows/psping.md index a38d25a04e9dc2..ff877f5de047f8 100644 --- a/pages/windows/psping.md +++ b/pages/windows/psping.md @@ -1,7 +1,7 @@ # psping > A ping tool that includes TCP ping, latency and bandwidth measurement. -> More information: . +> More information: . - Ping a host using ICMP: @@ -19,6 +19,6 @@ `psping {{hostname}}:{{port}} -q -n {{50}} -h` -- Display usage information: +- Display help: `psping /?` diff --git a/pages/windows/psversiontable.md b/pages/windows/psversiontable.md new file mode 100644 index 00000000000000..b6ca37f9caaf70 --- /dev/null +++ b/pages/windows/psversiontable.md @@ -0,0 +1,25 @@ +# PSVersionTable + +> A read-only variable (as `$PSVersionTable`) to get the current PowerShell version. +> This command can only be run under PowerShell. +> More information: . + +- Print a summary of the currently installed PowerShell version and edition: + +`$PSVersionTable` + +- Get the detailed (major, minor, build, and revision) version number of PowerShell: + +`$PSVersionTable.PSVersion` + +- List all supported PowerShell script versions that this PowerShell version supports: + +`$PSVersionTable.PSCompatibleVersions` + +- Get the latest Git commit ID where the currently-installed PowerShell version is based on (works on PowerShell 6.0 and later): + +`$PSVersionTable.GitCommitId` + +- Check whether the user is running PowerShell Core (6.0 or later) or the original "Windows PowerShell" (version 5.1 or below): + +`$PSVersionTable.PSEdition` diff --git a/pages/windows/pswindowsupdate.md b/pages/windows/pswindowsupdate.md new file mode 100644 index 00000000000000..da0dd27cb1bd37 --- /dev/null +++ b/pages/windows/pswindowsupdate.md @@ -0,0 +1,13 @@ +# PSWindowsUpdate + +> A PowerShell external module to manage Windows Update. +> This tool provides multiple commands that all can only be run through PowerShell. +> More information: . + +- Install the module using `Install-Module`: + +`Install-Module PSWindowsUpdate` + +- List all commands available under the module: + +`Get-Command -Module PSWindowsUpdate` diff --git a/pages/windows/pushd.md b/pages/windows/pushd.md index 11242e9e00131a..20eacb5e879f35 100644 --- a/pages/windows/pushd.md +++ b/pages/windows/pushd.md @@ -1,9 +1,9 @@ # pushd > Place a directory on a stack so it can be accessed later. -> See also `popd` to switch back to original directory. -> More information: . +> See also: `popd` to switch back to original directory. +> More information: . - Switch to directory and push it on the stack: -`pushd {{directory}}` +`pushd {{path\to\directory}}` diff --git a/pages/windows/pwd.md b/pages/windows/pwd.md new file mode 100644 index 00000000000000..b9170e2c023d69 --- /dev/null +++ b/pages/windows/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> In PowerShell, this command is an alias of `Get-Location`. +> However, this command is not available on the Command Prompt (`cmd`). Use `cd` instead for similar functionality. + +- View documentation for the equivalent Command Prompt command: + +`tldr cd` + +- View documentation for the original PowerShell command: + +`tldr get-location` diff --git a/pages/windows/pwlauncher.md b/pages/windows/pwlauncher.md index b308bdfe8051c1..44490f8bf6247e 100644 --- a/pages/windows/pwlauncher.md +++ b/pages/windows/pwlauncher.md @@ -1,7 +1,7 @@ # pwlauncher -> A command line tool for managing the Windows To Go startup options. -> More information: . +> Manage the Windows To Go startup options. +> More information: . - Display the current Windows To Go status: diff --git a/pages/windows/pwsh-where.md b/pages/windows/pwsh-where.md new file mode 100644 index 00000000000000..85574efaff0ff9 --- /dev/null +++ b/pages/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> This command is an alias of `Where-Object`. + +- View documentation for the original command: + +`tldr Where-Object` diff --git a/pages/windows/py.md b/pages/windows/py.md new file mode 100644 index 00000000000000..a6c85cfdfc95a0 --- /dev/null +++ b/pages/windows/py.md @@ -0,0 +1,21 @@ +# py + +> Python Launcher for Windows that runs with specified Python version. +> See also: `python`. +> More information: . + +- Start a REPL (interactive shell), optionally with arguments supported by `python` (like `-c`, `-m`, etc.): + +`py {{python_arguments}}` + +- Execute a specific Python file: + +`py {{path/to/file.py}}` + +- Run specific Python version. If the version is missing, and `PYLAUNCHER_ALLOW_INSTALL` environment variable is set, auto-install via Microsoft Store or Winget: + +`py {{-2|-3.7|...}}` + +- List installed Python versions: + +`py --list` diff --git a/pages/windows/query.md b/pages/windows/query.md new file mode 100644 index 00000000000000..ae440643642222 --- /dev/null +++ b/pages/windows/query.md @@ -0,0 +1,28 @@ +# query + +> Display information about user sessions and process. +> More information: . + +- Display all user sessions: + +`query session` + +- Display the current user sessions on a remote computer: + +`query session /server:{{hostname}}` + +- Display logged in users: + +`query user` + +- Display all user sessions on a remote computer: + +`query session /server:{{hostname}}` + +- Display all running processes: + +`query process` + +- Display running processes by session or user name: + +`query process {{session_name|user_name}}` diff --git a/pages/windows/rd.md b/pages/windows/rd.md new file mode 100644 index 00000000000000..ebeed741f3f4bd --- /dev/null +++ b/pages/windows/rd.md @@ -0,0 +1,11 @@ +# rd + +> This command is an alias of `rmdir` on the Command Prompt and `Remove-Item` in PowerShell. + +- View documentation for the original Command Prompt command: + +`tldr rmdir` + +- View documentation for the original PowerShell command: + +`tldr remove-item` diff --git a/pages/windows/rdpsign.md b/pages/windows/rdpsign.md index 777f95f45d3efc..7999279e657709 100644 --- a/pages/windows/rdpsign.md +++ b/pages/windows/rdpsign.md @@ -1,24 +1,24 @@ # rdpsign > A tool for signing Remote Desktop Protocol (RDP) files. -> More information: . +> More information: . - Sign an RDP file: -`rdpsign {{path/to/file.rdp}}` +`rdpsign {{path\to\file.rdp}}` - Sign an RDP file using a specific sha256 hash: -`rdpsign {{path/to/file.rdp}} /sha265 {{hash}}` +`rdpsign {{path\to\file.rdp}} /sha265 {{hash}}` - Enable quiet output: -`rdpsign {{path/to/file.rdp}} /q` +`rdpsign {{path\to\file.rdp}} /q` - Display verbose warnings, messages and statuses: -`rdpsign {{path/to/file.rdp}} /v` +`rdpsign {{path\to\file.rdp}} /v` - Test the signing by displaying the output to `stdout` without updating the file: -`rdpsign {{path/to/file.rdp}} /l` +`rdpsign {{path\to\file.rdp}} /l` diff --git a/pages/windows/reg-add.md b/pages/windows/reg-add.md index a577d94a79e7b7..9a2b1cf16cf361 100644 --- a/pages/windows/reg-add.md +++ b/pages/windows/reg-add.md @@ -1,24 +1,24 @@ # reg add > Add new keys and their values to the registry. -> More information: . +> More information: . - Add a new registry key: `reg add {{key_name}}` -- Add a new value under a specific key: +- Add a new [v]alue under a specific key: `reg add {{key_name}} /v {{value}}` -- Add a new value with specific data: +- Add a new value with specific [d]ata: `reg add {{key_name}} /d {{data}}` -- Add a new value to a key with a specific data type: +- Add a new value to a key with a specific data [t]ype: -`reg add {{key_name}} /t {{type}}` +`reg add {{key_name}} /t REG_{{SZ|MULTI_SZ|DWORD_BIG_ENDIAN|DWORD|BINARY|DWORD_LITTLE_ENDIAN|LINK|FULL_RESOURCE_DESCRIPTOR|EXPAND_SZ}}` -- Forcefully overwrite the existing registry value without a prompt: +- [f]orcefully (without a prompt) overwrite the existing registry value: `reg add {{key_name}} /f` diff --git a/pages/windows/reg-compare.md b/pages/windows/reg-compare.md index ce3ce1b2266bc9..86ebcdf46af269 100644 --- a/pages/windows/reg-compare.md +++ b/pages/windows/reg-compare.md @@ -1,24 +1,28 @@ # reg compare > Compare keys and their values in the registry. -> More information: . +> More information: . -- Compare all values under a specific key with a second key: +- Compare all values under a specific key with another key: -`reg compare {{first_key_name}} {{second_key_name}}` +`reg compare {{key_name1}} {{key_name2}}` -- Compare a specific value under two keys: +- Compare a specific [v]alue under two keys: -`reg compare {{first_key_name}} {{second_key_name}} /v {{value}}` +`reg compare {{key_name1}} {{key_name2}} /v {{value}}` -- Compare all sub keys and values for two keys: +- Compare all [s]ubkeys and values for two keys: -`reg compare {{first_key_name}} {{second_key_name}} /s` +`reg compare {{key_name1}} {{key_name2}} /s` -- Only output the matches between the specified keys: +- Only [o]utput the matches ([s]ame) between the specified keys: -`reg compare {{first_key_name}} {{second_key_name}} /os` +`reg compare {{key_name1}} {{key_name2}} /os` -- Output the differences and matches between the specified keys: +- [o]utput the differences and matches ([a]ll) between the specified keys: -`reg compare {{first_key_name}} {{second_key_name}} /oa` +`reg compare {{key_name1}} {{key_name2}} /oa` + +- Compare two keys, [o]utputting [n]othing: + +`reg compare {{key_name1}} {{key_name2}} /on` diff --git a/pages/windows/reg-copy.md b/pages/windows/reg-copy.md index f41444b808a482..591185a6cfb27c 100644 --- a/pages/windows/reg-copy.md +++ b/pages/windows/reg-copy.md @@ -1,16 +1,16 @@ # reg copy > Copy keys and their values in the registry. -> More information: . +> More information: . - Copy a registry key to a new registry location: `reg copy {{old_key_name}} {{new_key_name}}` -- Copy a registry key recursively to a new registry location: +- Copy a registry key recursively (with all [s]ubkeys) to a new registry location: `reg copy {{old_key_name}} {{new_key_name}} /s` -- Forcefully copy a registry key without a prompt: +- [f]orcefully (without a prompt) copy a registry key: `reg copy {{old_key_name}} {{new_key_name}} /f` diff --git a/pages/windows/reg-delete.md b/pages/windows/reg-delete.md index 9576f6e5c4d64e..cf40130de3e888 100644 --- a/pages/windows/reg-delete.md +++ b/pages/windows/reg-delete.md @@ -1,20 +1,20 @@ # reg delete > Delete keys or their values from the registry. -> More information: . +> More information: . - Delete a specific registry key: `reg delete {{key_name}}` -- Delete a value under a specific key: +- Delete a [v]alue under a specific key: `reg delete {{key_name}} /v {{value}}` -- Delete all values recursively under the specified key: +- Delete [a]ll [v]alues recursively under the specified key: `reg delete {{key_name}} /va` -- Forcefully delete all values recursively under a key without a prompt: +- [f]orcefully (without a prompt) delete [a]ll [v]alues recursively under a key: `reg delete {{key_name}} /f /va` diff --git a/pages/windows/reg-export.md b/pages/windows/reg-export.md index 46706c57c9ebf1..c46d7fb2871a18 100644 --- a/pages/windows/reg-export.md +++ b/pages/windows/reg-export.md @@ -1,12 +1,12 @@ # reg export -> Export the specified sub keys and values into a file. -> More information: . +> Export the specified subkeys and values to a `.reg` file. +> More information: . -- Export all sub keys and values of a specific key: +- Export all subkeys and values of a specific key: -`reg export {{key_name}} {{path/to/file.reg}}` +`reg export {{key_name}} {{path\to\file.reg}}` -- Force overwriting of an existing file without prompt: +- Forcefully (assuming [y]es) overwrite of an existing file: -`reg export {{key_name}} {{path/to/file.reg}} /y` +`reg export {{key_name}} {{path\to\file.reg}} /y` diff --git a/pages/windows/reg-flags.md b/pages/windows/reg-flags.md deleted file mode 100644 index 6e61779bb8f029..00000000000000 --- a/pages/windows/reg-flags.md +++ /dev/null @@ -1,20 +0,0 @@ -# reg flags - -> Display or set flags on registry keys. -> More information: . - -- Display current flags for a specific key: - -`reg flags {{key_name}} query` - -- Display help and available flag types: - -`reg flags /?` - -- Set specified space-separated flags, and unset unmentioned flags, for a specific key: - -`reg flags {{key_name}} set {{flag_names}}` - -- Set specified flags for a specific key and its sub keys: - -`reg flags {{key_name}} set {{flag_names}} /s` diff --git a/pages/windows/reg-import.md b/pages/windows/reg-import.md index f30a68cddcd5bb..1dc589c71842aa 100644 --- a/pages/windows/reg-import.md +++ b/pages/windows/reg-import.md @@ -1,8 +1,8 @@ # reg import -> Import all available keys, subkeys, and values from a file. -> More information: . +> Import all available keys, subkeys, and values from a `.reg` file. +> More information: . - Import all keys, subkeys and values from a file: -`reg import {{path/to/file.reg}}` +`reg import {{path\to\file.reg}}` diff --git a/pages/windows/reg-load.md b/pages/windows/reg-load.md index a7c3d23b04677d..0b5e098770780a 100644 --- a/pages/windows/reg-load.md +++ b/pages/windows/reg-load.md @@ -1,9 +1,9 @@ # reg load -> Load saved sub keys into a different sub key in the registry. -> This is intended for troubleshooting and temporary keys. -> More information: . +> Load saved subkeys into a different subkey in the registry. +> Note: This is intended for troubleshooting and temporary keys. +> More information: . - Load a backup file into the specified key: -`reg load {{key_name}} {{path/to/file}}` +`reg load {{key_name}} {{path\to\file.hiv}}` diff --git a/pages/windows/reg-query.md b/pages/windows/reg-query.md index b1488686808e46..76b7a471c57f88 100644 --- a/pages/windows/reg-query.md +++ b/pages/windows/reg-query.md @@ -1,24 +1,36 @@ # reg query -> Display the values of keys and sub keys in the registry. -> More information: . +> Display the values of keys and subkeys in the registry. +> More information: . - Display all values of a key: `reg query {{key_name}}` -- Display a specific value of a key: +- Display a specific [v]alue of a key: `reg query {{key_name}} /v {{value}}` -- Display all values of a key and its sub keys: +- Display all values of a key and its [s]ubkeys: `reg query {{key_name}} /s` -- Search for keys and values matching a specific pattern: +- Search [f]or keys and values matching a specific pattern: `reg query {{key_name}} /f "{{query_pattern}}"` -- Display a value of a key matching a specified data type: +- Display a value of a key matching a specified data [t]ype: -`reg query {{key_name}} /t {{type}}` +`reg query {{key_name}} /t REG_{{SZ|MULTI_SZ|EXPAND_SZ|DWORD|BINARY|NONE}}` + +- Only search in [d]ata: + +`reg query {{key_name}} /d` + +- Only search in [k]ey names: + +`reg query {{key_name}} /f "{{query_pattern}}" /k` + +- [c]ase-sensitively search for an [e]xact match: + +`reg query {{key_name}} /c /e` diff --git a/pages/windows/reg-restore.md b/pages/windows/reg-restore.md index 14ad5f85f2318f..f4e8aa4b550b23 100644 --- a/pages/windows/reg-restore.md +++ b/pages/windows/reg-restore.md @@ -1,9 +1,9 @@ # reg restore -> Restore a key and its values from a backup file. +> Restore a key and its values from a native `.hiv` file. > See `reg-save` for more information. -> More information: . +> More information: . - Overwrite a specified key with data from a backup file: -`reg restore {{key_name}} {{path/to/file}}` +`reg restore {{key_name}} {{path\to\file.hiv}}` diff --git a/pages/windows/reg-save.md b/pages/windows/reg-save.md index b97fb0b948124b..0bce03fcfaac47 100644 --- a/pages/windows/reg-save.md +++ b/pages/windows/reg-save.md @@ -1,12 +1,12 @@ # reg save -> Save a registry key, its sub keys and values to a file. -> More information: . +> Save a registry key, its subkeys and values to a native `.hiv` file. +> More information: . -- Save a registry key, its sub keys and values to a specific file: +- Save a registry key, its subkeys and values to a specific file: -`reg save {{key_name}} {{path/to/file}}` +`reg save {{key_name}} {{path\to\file.hiv}}` -- Forcefully overwrite an existing file without a prompt: +- Forcefully (assuming [y]es) overwrite an existing file: -`reg save {{key_name}} {{path/to/file}} /y` +`reg save {{key_name}} {{path\to\file.hiv}} /y` diff --git a/pages/windows/reg-unload.md b/pages/windows/reg-unload.md index 7f2044de7b055f..f843a9df705fc5 100644 --- a/pages/windows/reg-unload.md +++ b/pages/windows/reg-unload.md @@ -1,7 +1,7 @@ # reg unload > Remove data from the registry that was loaded using the `reg load` command. -> More information: . +> More information: . - Remove data from the registry for a specified key: diff --git a/pages/windows/reg.md b/pages/windows/reg.md index b5b0745ce1c784..e1e93202988540 100644 --- a/pages/windows/reg.md +++ b/pages/windows/reg.md @@ -1,17 +1,37 @@ # reg -> A command line interface for managing keys and their values in the Windows registry. -> See `reg-query`, `reg-add` and other pages for additional information. -> More information: . +> Manage keys and their values in the Windows registry. +> Some subcommands such as `add` have their own usage documentation. +> More information: . -- Execute registry commands: +- Execute a registry command: `reg {{command}}` -- Display general information and list all available commands: +- View documentation for adding and copying subkeys: + +`tldr reg {{add|copy}}` + +- View documentation for deleting keys and subkeys: + +`tldr reg {{delete|unload}}` + +- View documentation for searching, viewing, and comparing keys: + +`tldr reg {{compare|query}}` + +- View documentation for exporting and importing registry keys not preserving the key ownerships and ACLs: + +`tldr reg {{export|import}}` + +- View documentation for saving, restoring registry and unloading keys preserving the key ownerships and ACLs: + +`tldr reg {{save|restore|load|unload}}` + +- Display help: `reg /?` -- Call help on a specific command: +- Display help for a specific command: `reg {{command}} /?` diff --git a/pages/windows/remove-appxpackage.md b/pages/windows/remove-appxpackage.md new file mode 100644 index 00000000000000..da4769ea7f3196 --- /dev/null +++ b/pages/windows/remove-appxpackage.md @@ -0,0 +1,20 @@ +# Remove-AppxPackage + +> A PowerShell utility to remove an app package from user accounts. +> More information: . + +- Remove an app package: + +`Remove-AppxPackage {{package}}` + +- Remove an app package for a specific user: + +`Remove-AppxPackage {{package}} -User {{username}}` + +- Remove an app package for all users: + +`Remove-AppxPackage {{package}} -AllUsers` + +- Remove an app package but preserve it's app data: + +`Remove-AppxPackage {{package}} -PreserveApplicationData` diff --git a/pages/windows/remove-item.md b/pages/windows/remove-item.md new file mode 100644 index 00000000000000..7cd67c0eb1f2c4 --- /dev/null +++ b/pages/windows/remove-item.md @@ -0,0 +1,29 @@ +# Remove-Item + +> Delete files, folders, as well as registry keys and subkeys. +> This command can only be run through PowerShell. +> More information: . + +- Remove specific files or registry keys (without subkeys): + +`Remove-Item {{path\to\file_or_key1 , path\to\file_or_key2 ...}}` + +- Remove hidden or read-only files: + +`Remove-Item -Force {{path\to\file1 , path\to\file2 ...}}` + +- Remove specific files or registry keys interactively prompting before each removal: + +`Remove-Item -Confirm {{path\to\file_or_key1 , path\to\file_or_key2 ...}}` + +- Remove specific files and directories recursively (Windows 10 version 1909 or later): + +`Remove-Item -Recurse {{path\to\file_or_directory1 , path\to\file_or_directory2 ...}}` + +- Remove specific Windows registry keys and all its subkeys: + +`Remove-Item -Recurse {{path\to\key1 , path\to\key2 ...}}` + +- Perform a dry run of the deletion process: + +`Remove-Item -WhatIf {{path\to\file1 , path\to\file2 ...}}` diff --git a/pages/windows/repair-bde.md b/pages/windows/repair-bde.md index 110d8fffdc5dc2..e0f2650ed0b79c 100644 --- a/pages/windows/repair-bde.md +++ b/pages/windows/repair-bde.md @@ -1,7 +1,7 @@ # repair-bde > Attempt to repair or decrypt a damaged BitLocker-encrypted volume. -> More information: . +> More information: . - Attempt to repair a specified volume: @@ -13,7 +13,7 @@ - Attempt to repair a specified volume using the provided recovery key file: -`repair-bde {{C:}} -RecoveryKey {{path/to/file.bek}}` +`repair-bde {{C:}} -RecoveryKey {{path\to\file.bek}}` - Attempt to repair a specified volume using the provided numerical recovery password: @@ -25,12 +25,12 @@ - Attempt to repair a specified volume using the provided key package: -`repair-bde {{C:}} -KeyPackage {{path/to/directory}}` +`repair-bde {{C:}} -KeyPackage {{path\to\directory}}` - Log all output to a specific file: -`repair-bde {{C:}} -LogFile {{path/to/file}}` +`repair-bde {{C:}} -LogFile {{path\to\file}}` -- Display all available options: +- Display help: `repair-bde /?` diff --git a/pages/windows/replace.md b/pages/windows/replace.md index b28debbd0a5588..d22fb8d41a5976 100644 --- a/pages/windows/replace.md +++ b/pages/windows/replace.md @@ -1,37 +1,37 @@ # replace > Replace files. -> See also: `robocopy`, `move`, `copy`, and `del`. -> More information: . +> See also: `robocopy`, `move`, `copy`, `del`. +> More information: . - Replace the destination file with the one from the source directory: -`replace {{path/to/file_or_directory}} {{path/to/destination}}` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}}` - Add files to the destination directory instead of replacing existing files: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /a` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /a` - Interactively copy multiple files, with a prompt before replacing or adding a destination file: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /p` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /p` - Replace even read only files: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /r` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /r` - Wait for you to insert a disk before it replaces files (originally to allow inserting a floppy disk): -`replace {{path/to/file_or_directory}} {{path/to/destination}} /w` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /w` - Replace all files in subdirectories of the destination: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /s` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /s` - Replace only files in the destination directory which are older than the files in the source directory: -`replace {{path/to/file_or_directory}} {{path/to/destination}} /u` +`replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /u` -- Display detailed usage information: +- Display help: `replace /?` diff --git a/pages/windows/resolve-path.md b/pages/windows/resolve-path.md new file mode 100644 index 00000000000000..636dc8680ff54e --- /dev/null +++ b/pages/windows/resolve-path.md @@ -0,0 +1,17 @@ +# Resolve-Path + +> Resolves the wildcard characters in a path, and displays the path contents. +> Note: This command can only be used through PowerShell. +> More information: . + +- Resolve the home folder path: + +`Resolve-Path {{~}}` + +- Resolve a UNC path: + +`Resolve-Path -Path "\\{{hostname}}\{{path\to\file}}"` + +- Get relative paths: + +`Resolve-Path -Path {{path\to\file_or_directory}} -Relative` diff --git a/pages/windows/ri.md b/pages/windows/ri.md new file mode 100644 index 00000000000000..63fc54d5bde59c --- /dev/null +++ b/pages/windows/ri.md @@ -0,0 +1,7 @@ +# ri + +> In PowerShell, this command is an alias of `Remove-Item`. + +- View documentation for the original command: + +`tldr remove-item` diff --git a/pages/windows/rm.md b/pages/windows/rm.md new file mode 100644 index 00000000000000..95e1f0a19fd94b --- /dev/null +++ b/pages/windows/rm.md @@ -0,0 +1,7 @@ +# rm + +> In PowerShell, this command is an alias of `Remove-Item`. + +- View documentation for the original command: + +`tldr remove-item` diff --git a/pages/windows/rmdir.md b/pages/windows/rmdir.md index 0deac106e6af78..f20832e00e240d 100644 --- a/pages/windows/rmdir.md +++ b/pages/windows/rmdir.md @@ -1,16 +1,21 @@ # rmdir > Remove a directory and its contents. -> More information: . +> In PowerShell, this command is an alias of `Remove-Item`. This documentation is based on the Command Prompt (`cmd`) version of `rmdir`. +> More information: . + +- View the documentation of the equivalent PowerShell command: + +`tldr remove-item` - Remove an empty directory: -`rmdir {{path/to/directory}}` +`rmdir {{path\to\directory}}` - Remove a directory and its contents recursively: -`rmdir {{path/to/directory}} /s` +`rmdir {{path\to\directory}} /s` - Remove a directory and its contents recursively without prompting: -`rmdir {{path/to/directory}} /s /q` +`rmdir {{path\to\directory}} /s /q` diff --git a/pages/windows/robocopy.md b/pages/windows/robocopy.md index 8485a67bbb5126..8b446329e89908 100644 --- a/pages/windows/robocopy.md +++ b/pages/windows/robocopy.md @@ -2,32 +2,32 @@ > Robust File and Folder Copy. > By default files will only be copied if the source and destination have different time stamps or different file sizes. -> More information: . +> More information: . -- Copy all .jpg and .bmp files from one directory to another: +- Copy all `.jpg` and `.bmp` files from one directory to another: -`robocopy {{path/to/source}} {{path/to/destination}} {{*.jpg}} {{*.bmp}}` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} {{*.jpg}} {{*.bmp}}` - Copy all files and subdirectories, including empty ones: -`robocopy {{path/to/source}} {{path/to/destination}} /E` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /E` - Mirror/Sync a directory, deleting anything not in source and include all attributes and permissions: -`robocopy {{path/to/source}} {{path/to/destination}} /MIR /COPYALL` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /MIR /COPYALL` - Copy all files and subdirectories, excluding source files that are older than destination files: -`robocopy {{path/to/source}} {{path/to/destination}} /E /XO` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /E /XO` -- List all files 50 MBytes or larger in size instead of copying them: +- List all files 50 MB or larger instead of copying them: -`robocopy {{path/to/source}} {{path/to/destination}} /MIN:52428800 /L` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /MIN:{{52428800}} /L` - Allow resuming if network connection is lost and limit retries to 5 and wait time to 15 sec: -`robocopy {{path/to/source}} {{path/to/destination}} /Z /R:5 /W:15` +`robocopy {{path\to\source_directory}} {{path\to\destination_directory}} /Z /R:5 /W:15` -- Display detailed usage information: +- Display help: `robocopy /?` diff --git a/pages/windows/rpcinfo.md b/pages/windows/rpcinfo.md index 6705d259421b9a..95bdbb50d7202a 100644 --- a/pages/windows/rpcinfo.md +++ b/pages/windows/rpcinfo.md @@ -1,7 +1,7 @@ # rpcinfo > List programs via RPC on remote computers. -> More information: . +> More information: . - List all programs registered on the local computer: diff --git a/pages/windows/runas.md b/pages/windows/runas.md new file mode 100644 index 00000000000000..d11b688f799b1b --- /dev/null +++ b/pages/windows/runas.md @@ -0,0 +1,28 @@ +# runas + +> Run a program as another user. +> More information: . + +- Run a program as the Administrator local user: + +`runas /user:.\Administrator "{{command}}"` + +- Run a program as a specific user: + +`runas /user:{{domain\username}} "{{command}}"` + +- Run a program without loading the user's profile: + +`runas /noprofile /user:{{domain\username}} "{{command}}"` + +- Open Command Prompt as another user: + +`runas /user:{{domain\username}} cmd` + +- Run Notepad as a specific user with the current user's environment variables, opening a file with escaped quotes: + +`runas /env /user:{{domain\username}} "notepad \"{{C:\path\to\file.txt}}\""` + +- Run Active Directory Users and Computers as a specific user: + +`runas /env /user:{{domain\username}} "mmc %windir%\system32\dsa.msc"` diff --git a/pages/windows/sc-config.md b/pages/windows/sc-config.md new file mode 100644 index 00000000000000..2135549ed6032b --- /dev/null +++ b/pages/windows/sc-config.md @@ -0,0 +1,7 @@ +# sc config + +> This command is an alias of `sc.exe config`. + +- View documentation for the original command: + +`tldr sc` diff --git a/pages/windows/sc-create.md b/pages/windows/sc-create.md new file mode 100644 index 00000000000000..83ff45557fdbb6 --- /dev/null +++ b/pages/windows/sc-create.md @@ -0,0 +1,7 @@ +# sc create + +> This command is an alias of `sc.exe create`. + +- View documentation for the original command: + +`tldr sc` diff --git a/pages/windows/sc-delete.md b/pages/windows/sc-delete.md new file mode 100644 index 00000000000000..e01189cd3891de --- /dev/null +++ b/pages/windows/sc-delete.md @@ -0,0 +1,7 @@ +# sc delete + +> This command is an alias of `sc.exe delete`. + +- View documentation for the original command: + +`tldr sc` diff --git a/pages/windows/sc-query.md b/pages/windows/sc-query.md new file mode 100644 index 00000000000000..4d9ea973a8dd78 --- /dev/null +++ b/pages/windows/sc-query.md @@ -0,0 +1,7 @@ +# sc query + +> This command is an alias of `sc.exe query`. + +- View documentation for the original command: + +`tldr sc` diff --git a/pages/windows/sc.md b/pages/windows/sc.md new file mode 100644 index 00000000000000..848dbb36937906 --- /dev/null +++ b/pages/windows/sc.md @@ -0,0 +1,20 @@ +# sc + +> Communicate with the Service Control Manager and services. +> More information: . + +- Show the status of a service (no service name will list all services): + +`sc.exe query {{service_name}}` + +- Start a service asynchronously: + +`sc.exe create {{service_name}} binpath= {{path\to\service_binary_file}}` + +- Stop a service asynchronously: + +`sc.exe delete {{service_name}}` + +- Set the type of a service: + +`sc.exe config {{service_name}} type= {{service_type}}` diff --git a/pages/windows/scoop.md b/pages/windows/scoop.md index 3c0d9cfc64700c..5ceca8e06b3e1b 100644 --- a/pages/windows/scoop.md +++ b/pages/windows/scoop.md @@ -1,6 +1,7 @@ # scoop -> A command-line installer for Windows. +> The Scoop package manager. +> Some subcommands such as `bucket` have their own usage documentation. > More information: . - Install a package: @@ -13,7 +14,7 @@ - Update all installed packages: -`scoop update *` +`scoop update --all` - List installed packages: @@ -29,4 +30,4 @@ - Remove old versions of all packages and clear the download cache: -`scoop cleanup -k *` +`scoop cleanup --cache --all` diff --git a/pages/windows/sdelete.md b/pages/windows/sdelete.md new file mode 100644 index 00000000000000..94c2de4525e11f --- /dev/null +++ b/pages/windows/sdelete.md @@ -0,0 +1,20 @@ +# sdelete + +> Securely delete file/directory from disk, or clean the free space on a volume/physical disk. +> More information: . + +- Delete files with 3 [p]asses: + +`sdelete -p 3 {{path\to\file1 path\to\file2 ...}}` + +- Delete folders and its [s]ubdirectories with 1 pass (default): + +`sdelete -s {{path\to\directory1 path\to\directory2 ...}}` + +- Clean the free space of volume D: with 3 [p]asses: + +`sdelete -p 3 D:` + +- Clean the free space with [z]eros of physical disk 2, which should not contain any volumes to be cleaned: + +`sdelete -z 2` diff --git a/pages/windows/sdelete64.md b/pages/windows/sdelete64.md new file mode 100644 index 00000000000000..0df4f4d2bd9af6 --- /dev/null +++ b/pages/windows/sdelete64.md @@ -0,0 +1,7 @@ +# sdelete64 + +> This command is the 64 bit version of `sdelete`. + +- View documentation for the original command: + +`tldr sdelete` diff --git a/pages/windows/select-string.md b/pages/windows/select-string.md new file mode 100644 index 00000000000000..98b10da8d13a9b --- /dev/null +++ b/pages/windows/select-string.md @@ -0,0 +1,26 @@ +# Select-String + +> Finds text in strings and files in PowerShell. +> Note: This command can only be used through PowerShell. +> You can use `Select-String` similar to `grep` in UNIX or `findstr.exe` in Windows. +> More information: . + +- Search for a pattern within a file: + +`Select-String -Path "{{path\to\file}}" -Pattern '{{search_pattern}}'` + +- Search for an exact string (disables `regex`): + +`Select-String -SimpleMatch "{{exact_string}}" {{path\to\file}}` + +- Search for pattern in all `.ext` files in current dir: + +`Select-String -Path "{{*.ext}}" -Pattern '{{search_pattern}}'` + +- Capture the specified number of lines before and after the line that matches the pattern: + +`Select-String --Context {{2,3}} "{{search_pattern}}" {{path\to\file}}` + +- Search `stdin` for lines that do not match a pattern: + +`Get-Content {{path\to\file}} | Select-String --NotMatch "{{search_pattern}}"` diff --git a/pages/windows/set-acl.md b/pages/windows/set-acl.md new file mode 100644 index 00000000000000..3934f6b5395b00 --- /dev/null +++ b/pages/windows/set-acl.md @@ -0,0 +1,13 @@ +# Set-Acl + +> Changes the security descriptor of a specified item, such as a file or a registry key. +> Note: This command can only be used through PowerShell. +> More information: . + +- Copy a security descriptor from one file to another: + +`$OriginAcl = Get-Acl -Path {{path\to\file}}; Set-Acl -Path {{path\to\file}} -AclObject $OriginAcl` + +- Use the pipeline operator to pass a descriptor: + +`Get-Acl -Path {{path\to\file}} | Set-Acl -Path {{path\to\file}}` diff --git a/pages/windows/set-date.md b/pages/windows/set-date.md new file mode 100644 index 00000000000000..bedd2cd27d1b48 --- /dev/null +++ b/pages/windows/set-date.md @@ -0,0 +1,17 @@ +# Set-Date + +> Changes the system time on the computer to a time that you specify. +> Note: This command can only be used through PowerShell. +> More information: . + +- Add three days to the system date: + +`Set-Date -Date (Get-Date).AddDays({{3}})` + +- Set the system clock back 10 minutes: + +`Set-Date -Adjust -0:10:0 -DisplayHint Time` + +- Add 90 minutes to the system clock: + +`$90mins = New-TimeSpan -Minutes {{90}}; Set-Date -Adjust $90mins` diff --git a/pages/windows/set-location.md b/pages/windows/set-location.md new file mode 100644 index 00000000000000..c8a8207f99c6d0 --- /dev/null +++ b/pages/windows/set-location.md @@ -0,0 +1,33 @@ +# Set-Location + +> Display the current working directory or move to a different directory. +> Note: This command can only be used through PowerShell. +> More information: . + +- Go to the specified directory: + +`Set-Location {{path\to\directory}}` + +- Go to a specific directory in a different drive: + +`Set-Location {{C}}:{{path\to\directory}}` + +- Go and display the location of specified directory: + +`Set-Location {{path\to\directory}} -PassThru` + +- Go up to the parent of the current directory: + +`Set-Location ..` + +- Go to the home directory of the current user: + +`Set-Location ~` + +- Go back/forward to the previously chosen directory: + +`Set-Location {{-|+}}` + +- Go to root of current drive: + +`Set-Location \` diff --git a/pages/windows/set-service.md b/pages/windows/set-service.md new file mode 100644 index 00000000000000..5aaca33a4c9f60 --- /dev/null +++ b/pages/windows/set-service.md @@ -0,0 +1,17 @@ +# Set-Service + +> Starts, stops, and suspends a service, and changes its properties. +> Note: This command can only be used through PowerShell. +> More information: . + +- Change a display name: + +`Set-Service -Name {{hostname}} -DisplayName "{{name}}"` + +- Change the startup type of services: + +`Set-Service -Name {{service_name}} -StartupType {{Automatic}}` + +- Change the description of a service: + +`Set-Service -Name {{service_name}} -Description "{{description}}"` diff --git a/pages/windows/set-volume.md b/pages/windows/set-volume.md new file mode 100644 index 00000000000000..85152c433f72e3 --- /dev/null +++ b/pages/windows/set-volume.md @@ -0,0 +1,21 @@ +# Set-Volume + +> Sets or changes the file system label of an existing volume. +> Note: This command can only be used through PowerShell. +> More information: . + +- Change the file system label of a volume identified by drive letter: + +`Set-Volume -DriveLetter "D" -NewFileSystemLabel "DataVolume"` + +- Change the file system label of a volume identified by the system label: + +`Set-Volume -FileSystemLabel "OldLabel" -NewFileSystemLabel "NewLabel"` + +- Modify the properties of a volume using a volume object: + +`Set-Volume -InputObject $(Get-Volume -DriveLetter "E") -NewFileSystemLabel "Backup"` + +- Specify the Data Deduplication mode for the volume: + +`Set-Volume -DriveLetter "D" -DedupMode Backup` diff --git a/pages/windows/set.md b/pages/windows/set.md index b88f449d8c25a0..69d058bb891012 100644 --- a/pages/windows/set.md +++ b/pages/windows/set.md @@ -1,7 +1,7 @@ # set > Display or set environment variables for the current instance of CMD. -> More information: . +> More information: . - List all current environment variables: diff --git a/pages/windows/setx.md b/pages/windows/setx.md new file mode 100644 index 00000000000000..4e432997bfc112 --- /dev/null +++ b/pages/windows/setx.md @@ -0,0 +1,20 @@ +# setx + +> Set persistent environment variables. +> More information: . + +- Set an environment variable for the current user: + +`setx {{variable}} {{value}}` + +- Set an environment variable for the current machine: + +`setx {{variable}} {{value}} /M` + +- Set an environment variable for a user on a remote machine: + +`setx /s {{hostname}} /u {{username}} /p {{password}} {{variable}} {{value}}` + +- Set an environment variable from a registry key value: + +`setx {{variable}} /k {{registry\key\path}}` diff --git a/pages/windows/sfc.md b/pages/windows/sfc.md index d4f0302ad5f108..f699677035742c 100644 --- a/pages/windows/sfc.md +++ b/pages/windows/sfc.md @@ -1,7 +1,7 @@ # sfc > Scans the integrity of Windows system files. -> More information: . +> More information: . - Display information about the usage of the command: @@ -17,16 +17,16 @@ - Scan a specific file and, if possible, repair any problems: -`sfc /scanfile={{path/to/file}}` +`sfc /scanfile={{path\to\file}}` - Scan a specific file without attempting to repair it: -`sfc /verifyfile={{path/to/file}}` +`sfc /verifyfile={{path\to\file}}` - When repairing offline, specify the boot directory: -`sfc /offbootdir={{path/to/directory}}` +`sfc /offbootdir={{path\to\directory}}` - When repairing offline, specify the Windows directory: -`sfc /offwindir={{path/to/directory}}` +`sfc /offwindir={{path\to\directory}}` diff --git a/pages/windows/show-markdown.md b/pages/windows/show-markdown.md new file mode 100644 index 00000000000000..f2436a8d2d64d4 --- /dev/null +++ b/pages/windows/show-markdown.md @@ -0,0 +1,17 @@ +# Show-Markdown + +> Shows a Markdown file or string in the console in a friendly way using VT100 escape sequences or in a browser using HTML. +> Note: This command can only be used through PowerShell. +> More information: . + +- Render markdown to console from a file: + +`Show-Markdown -Path {{path\to\file}}` + +- Render markdown to console from string: + +`"{{# Markdown content}}" | Show-Markdown` + +- Open Markdown file in a browser: + +`Show-Markdown -Path {{path\to\file}} -UseBrowser` diff --git a/pages/windows/showmount.md b/pages/windows/showmount.md index 8aed839707ec12..156d2389b63bcc 100644 --- a/pages/windows/showmount.md +++ b/pages/windows/showmount.md @@ -1,7 +1,7 @@ # showmount > Display information about NFS filesystems on Windows Server. -> More information: . +> More information: . - Display all exported filesystems: diff --git a/pages/windows/shutdown.md b/pages/windows/shutdown.md index d7b45f0d6da31a..a66dba4c05be83 100644 --- a/pages/windows/shutdown.md +++ b/pages/windows/shutdown.md @@ -1,7 +1,7 @@ # shutdown > A tool for shutting down, restarting or logging off a machine. -> More information: . +> More information: . - Shutdown the current machine: @@ -25,7 +25,7 @@ - Specify a timeout in seconds to wait before shutting down: -`shutdown /s /t {{seconds}}` +`shutdown /s /t {{8}}` - Abort a shutdown sequence whose timeout is yet to expire: diff --git a/pages/windows/sigverif.md b/pages/windows/sigverif.md deleted file mode 100644 index f2f0b22b0589be..00000000000000 --- a/pages/windows/sigverif.md +++ /dev/null @@ -1,7 +0,0 @@ -# sigverif - -> A GUI signature verification tool for checking system files. - -- Open the File Signature Verification interface: - -`sigverif` diff --git a/pages/windows/sl.md b/pages/windows/sl.md new file mode 100644 index 00000000000000..692639188fe3f1 --- /dev/null +++ b/pages/windows/sl.md @@ -0,0 +1,7 @@ +# sl + +> In PowerShell, this command is an alias of `Set-Location`. + +- View documentation for the original command: + +`tldr set-location` diff --git a/pages/windows/slmgr.md b/pages/windows/slmgr.md new file mode 100644 index 00000000000000..29a7531707d607 --- /dev/null +++ b/pages/windows/slmgr.md @@ -0,0 +1,7 @@ +# slmgr + +> This command is an alias of `slmgr.vbs`. + +- View documentation for the original command: + +`tldr slmgr.vbs` diff --git a/pages/windows/slmgr.vbs.md b/pages/windows/slmgr.vbs.md new file mode 100644 index 00000000000000..7473e7d381df9a --- /dev/null +++ b/pages/windows/slmgr.vbs.md @@ -0,0 +1,37 @@ +# slmgr.vbs + +> Install, activate, and manage Windows licenses. +> This command may override, deactivate, and/or remove your current Windows license. Please proceed with caution. +> More information: . + +- [d]isplay the current Windows [l]icense [i]nformation: + +`slmgr.vbs /dli` + +- [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` + +- [i]nstall a new Windows license [p]roduct [k]ey. Requires Administrator privileges and will override the existing license: + +`slmgr.vbs /ipk {{product_key}}` + +- [a]c[t]ivate the Windows product license [o]nline. Requires Administrator privileges to do so: + +`slmgr.vbs /ato` + +- [a]c[t]ivate the Windows [p]roduct license offline. Requires Administrator privileges and an Confirmation ID provided by Microsoft Product Activation Center: + +`slmgr.vbs /atp {{confirmation_id}}` + +- [c]lear the current license's [p]roduct [k]e[y] from the Windows Registry. This will not deactivate or uninstall the current license, but prevents the key from being stolen by malicious programs in the future: + +`slmgr.vbs /cpky` + +- [u]ninstall the current license (by its [p]roduct [k]ey): + +`slmgr.vbs /upk` diff --git a/pages/windows/sls.md b/pages/windows/sls.md new file mode 100644 index 00000000000000..1d41a7bbf69c65 --- /dev/null +++ b/pages/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> This command is an alias of `Select-String`. + +- View documentation for the original command: + +`tldr select-string` diff --git a/pages/windows/sort-object.md b/pages/windows/sort-object.md new file mode 100644 index 00000000000000..b3394d1b9650da --- /dev/null +++ b/pages/windows/sort-object.md @@ -0,0 +1,25 @@ +# Sort-Object + +> Sorts objects by property values. +> Note: This command can only be used through PowerShell. +> More information: . + +- Sort the current directory by name: + +`Get-ChildItem | Sort-Object` + +- Sort the current directory by name descending: + +`Get-ChildItem | Sort-Object -Descending` + +- Sort items removing duplicates: + +`"a", "b", "a" | Sort-Object -Unique` + +- Sort the current directory by file length: + +`Get-ChildItem | Sort-Object -Property Length` + +- Sort processes with the highest memory usage based on their working set (WS) size: + +`Get-Process | Sort-Object -Property WS` diff --git a/pages/windows/start-service.md b/pages/windows/start-service.md new file mode 100644 index 00000000000000..370bc065769051 --- /dev/null +++ b/pages/windows/start-service.md @@ -0,0 +1,17 @@ +# Start-Service + +> Starts stopped services. +> Note: This command can only be used through PowerShell. +> More information: . + +- Start a service by using its name: + +`Start-Service -Name {{service_name}}` + +- Display information without starting a service: + +`Start-Service -DisplayName *{{name}}* -WhatIf` + +- Start a disabled service: + +`Set-Service {{service_name}} -StartupType {{manual}}; Start-Service {{service_name}}` diff --git a/pages/windows/stop-service.md b/pages/windows/stop-service.md new file mode 100644 index 00000000000000..36448212ef2987 --- /dev/null +++ b/pages/windows/stop-service.md @@ -0,0 +1,17 @@ +# Stop-Service + +> Stops running services. +> Note: This command can only be used through PowerShell. +> More information: . + +- Stop a service on the local computer: + +`Stop-Service -Name {{service_name}}` + +- Stop a service by using the display name: + +`Stop-Service -DisplayName "{{name}}"` + +- Stop a service that has dependent services: + +`Stop-Service -Name {{service_name}} -Force -Confirm` diff --git a/pages/windows/subst.md b/pages/windows/subst.md index 61fce12c2a60fe..285a8cb27766f8 100644 --- a/pages/windows/subst.md +++ b/pages/windows/subst.md @@ -1,7 +1,7 @@ # subst > Associates a path with a virtual drive letter. -> More information: . +> More information: . - List active associations: diff --git a/pages/windows/systeminfo.md b/pages/windows/systeminfo.md index 26e3cc964be88e..dc35f35e79aebc 100644 --- a/pages/windows/systeminfo.md +++ b/pages/windows/systeminfo.md @@ -1,7 +1,7 @@ # systeminfo > Display operating system configuration for a local or remote machine. -> More information: . +> More information: . - Display system configuration for the local machine: @@ -15,6 +15,6 @@ `systeminfo /s {{remote_name}} /u {{username}} /p {{password}}` -- Display detailed usage information: +- Display help: `systeminfo /?` diff --git a/pages/windows/takeown.md b/pages/windows/takeown.md index f1213d268fb825..337a4f31a8b51b 100644 --- a/pages/windows/takeown.md +++ b/pages/windows/takeown.md @@ -1,20 +1,20 @@ # takeown > Take ownership of a file or directory. -> More information: . +> More information: . - Take ownership of the specified file: -`takeown /f {{path/to/file}}` +`takeown /f {{path\to\file}}` - Take ownership of the specified directory: -`takeown /d {{path/to/directory}}` +`takeown /d {{path\to\directory}}` - Take ownership of the specified directory and all subdirectories: -`takeown /r /d {{path/to/directory}}` +`takeown /r /d {{path\to\directory}}` - Change ownership to the Administrator group instead of the current user: -`takeown /a /f {{path/to/file}}` +`takeown /a /f {{path\to\file}}` diff --git a/pages/windows/taskkill.md b/pages/windows/taskkill.md index b2b17b88057a38..9672db967a212c 100644 --- a/pages/windows/taskkill.md +++ b/pages/windows/taskkill.md @@ -1,9 +1,9 @@ # taskkill -> Terminate a process by its process id or name. -> More information: . +> Terminate a process by its process ID or name. +> More information: . -- Terminate a process by its id: +- Terminate a process by its ID: `taskkill /pid {{process_id}}` diff --git a/pages/windows/tasklist.md b/pages/windows/tasklist.md index 93215df2e5e55e..9a8cbdde9c1e1d 100644 --- a/pages/windows/tasklist.md +++ b/pages/windows/tasklist.md @@ -1,7 +1,7 @@ # tasklist > Display a list of currently running processes on a local or remote machine. -> More information: . +> More information: . - Display currently running processes: diff --git a/pages/windows/tee-object.md b/pages/windows/tee-object.md new file mode 100644 index 00000000000000..bf7b4148b4dede --- /dev/null +++ b/pages/windows/tee-object.md @@ -0,0 +1,13 @@ +# Tee-Object + +> Saves command output in a file or variable and also sends it down the pipeline. +> Note: This command can only be used through PowerShell. +> More information: . + +- Output processes to a file and to the console: + +`Get-Process | Tee-Object -FilePath {{path\to\file}}` + +- Output processes to a variable and `Select-Object`: + +`Get-Process notepad | Tee-Object -Variable {{proc}} | Select-Object processname,handles` diff --git a/pages/windows/test-json.md b/pages/windows/test-json.md new file mode 100644 index 00000000000000..c13e869f4410e6 --- /dev/null +++ b/pages/windows/test-json.md @@ -0,0 +1,17 @@ +# Test-Json + +> Test whether a string is a valid JSON document. +> Note: This command can only be used through PowerShell. +> More information: . + +- Test if a string from `stdin` is in JSON format: + +`'{{string}}' | Test-Json` + +- Test if a string JSON format: + +`Test-Json -Json '{{json_to_test}}'` + +- Test if a string from `stdin` matches a specific schema file: + +`'{{string}}' | Test-Json -SchemaFile {{path\to\schema_file.json}}` diff --git a/pages/windows/test-netconnection.md b/pages/windows/test-netconnection.md new file mode 100644 index 00000000000000..025513df81d6eb --- /dev/null +++ b/pages/windows/test-netconnection.md @@ -0,0 +1,13 @@ +# Test-NetConnection + +> Display diagnostic information for a connection. +> Note: This command can only be used through PowerShell. +> More information: . + +- Test a connection and display detailed results: + +`Test-NetConnection -InformationLevel Detailed` + +- Test a connection to a remote host using the specified port number: + +`Test-NetConnection -ComputerName {{ip_or_hostname}} -Port {{port_number}}` diff --git a/pages/windows/time.md b/pages/windows/time.md new file mode 100644 index 00000000000000..88cd7c18c386be --- /dev/null +++ b/pages/windows/time.md @@ -0,0 +1,12 @@ +# time + +> Display or set the system time. +> More information: . + +- Display the current system time and prompt to enter a new time (leave empty to keep unchanged): + +`time` + +- Display the current system time without prompting for a new time: + +`time /t` diff --git a/pages/windows/title.md b/pages/windows/title.md index f560cec49cbcbf..ae149d609ed792 100644 --- a/pages/windows/title.md +++ b/pages/windows/title.md @@ -1,7 +1,7 @@ # title > Set the title of the command prompt window. -> More information: . +> More information: . - Set the title of the current command prompt window: diff --git a/pages/windows/tracert.md b/pages/windows/tracert.md new file mode 100644 index 00000000000000..2a3a9a7dbc3827 --- /dev/null +++ b/pages/windows/tracert.md @@ -0,0 +1,28 @@ +# tracert + +> Receive information about each step in the route between your PC and the target. +> More information: . + +- Trace a route: + +`tracert {{IP}}` + +- Prevent `tracert` from resolving IP addresses to hostnames: + +`tracert /d {{IP}}` + +- Force `tracert` to use IPv4 only: + +`tracert /4 {{IP}}` + +- Force `tracert` to use IPv6 only: + +`tracert /6 {{IP}}` + +- Specify the maximum number of hops in the search for the target: + +`tracert /h {{max_hops}} {{IP}}` + +- Display help: + +`tracert /?` diff --git a/pages/windows/tree.md b/pages/windows/tree.md index 0e6713da8b8bc9..0d2e923ef4485a 100644 --- a/pages/windows/tree.md +++ b/pages/windows/tree.md @@ -1,7 +1,7 @@ # tree > Display a graphical tree of the directory structure for a path. -> More information: . +> More information: . - Display the tree for the current directory: @@ -9,12 +9,12 @@ - Display the tree for a specific directory: -`tree {{path/to/directory}}` +`tree {{path\to\directory}}` -- Display the tree for a directory including files: +- Display the tree for a directory including [f]iles: -`tree {{path/to/directory}} /f` +`tree {{path\to\directory}} /f` -- Display the tree using ASCII characters instead of extended characters: +- Display the tree using [a]SCII characters instead of extended characters: -`tree {{path/to/directory}} /a` +`tree {{path\to\directory}} /a` diff --git a/pages/windows/tskill.md b/pages/windows/tskill.md index 8b688db50a5974..a625eb86dea363 100644 --- a/pages/windows/tskill.md +++ b/pages/windows/tskill.md @@ -1,7 +1,7 @@ # tskill > Ends a process running in a session on a Remote Desktop Session Host. -> More information: . +> More information: . - Terminate a process by its process identifier: diff --git a/pages/windows/type.md b/pages/windows/type.md index 0750801d16ab29..fb88e22ffbccd2 100644 --- a/pages/windows/type.md +++ b/pages/windows/type.md @@ -1,8 +1,8 @@ # type > Display the contents of a file. -> More information: . +> More information: . - Display the contents of a specific file: -`type {{path/to/file}}` +`type {{path\to\file}}` diff --git a/pages/windows/tzutil.md b/pages/windows/tzutil.md index 37861822e4da34..9c62dc9bf5c765 100644 --- a/pages/windows/tzutil.md +++ b/pages/windows/tzutil.md @@ -1,7 +1,7 @@ # tzutil > A tool for displaying or configuring the system time zone. -> More information: . +> More information: . - Get the current time zone: diff --git a/pages/windows/units.md b/pages/windows/units.md deleted file mode 100644 index eb1075011068f1..00000000000000 --- a/pages/windows/units.md +++ /dev/null @@ -1,23 +0,0 @@ -# units - -> Provide the conversion between two units of measure. - -- Run in interactive mode: - -`units` - -- Show the conversion between two simple units: - -`units {{quarts}} {{tablespoons}}` - -- Convert between units with quantities: - -`units {{15 pounds}} {{kilograms}}` - -- Show the conversion between two compound units: - -`units "{{meters / second}}" "{{inches / hour}}"` - -- Show the conversion between units with different dimensions: - -`units "{{acres}}" "{{ft^2}}"` diff --git a/pages/windows/uwfmgr.md b/pages/windows/uwfmgr.md new file mode 100644 index 00000000000000..50bda0e122f1a5 --- /dev/null +++ b/pages/windows/uwfmgr.md @@ -0,0 +1,29 @@ +# uwfmgr + +> Unified Write Filter (UWF). +> Protect drives by redirecting any writes to the drive to a virtual overlay. Writes are discarded upon reboot unless committed by default. +> More information: . + +- Get the current status: + +`uwfmgr get-config` + +- Set a drive as protected: + +`uwfmgr volume protect {{drive_letter}}:` + +- Remove a drive from protection list: + +`uwfmgr volume unprotect {{drive_letter}}:` + +- Enable or disable protection (Applies after reboot): + +`uwfmgr filter {{enable|disable}}` + +- Commit changes of a file on protected drive: + +`uwfmgr file commit {{drive_letter:\path\to\file}}` + +- Commit deletion of a file on protected drive: + +`uwfmgr file commit-delete {{drive_letter:\path\to\file}}` diff --git a/pages/windows/vcvarsall.md b/pages/windows/vcvarsall.md new file mode 100644 index 00000000000000..20fca36ebfc2fb --- /dev/null +++ b/pages/windows/vcvarsall.md @@ -0,0 +1,21 @@ +# vcvarsall + +> Setup the environment variables required for using the Microsoft Visual Studio tools. +> The path of `vcvarsall` for a certain Visual Studio installation can be found using `vswhere`. +> More information: . + +- Setup the environment for native x64: + +`vcvarsall x64` + +- Setup the environment for cross-compiled native x86 from the x64 host: + +`vcvarsall x64_x86` + +- Setup the environment for cross-compiled native Arm x64 from the x64 host: + +`vcvarsall x64_arm64` + +- Setup the environment for native UWP x64: + +`vcvarsall x64 uwp` diff --git a/pages/windows/ver.md b/pages/windows/ver.md index 73bf5f755efc6b..86c2b3b89ee7af 100644 --- a/pages/windows/ver.md +++ b/pages/windows/ver.md @@ -1,7 +1,7 @@ # ver > Display the current Windows or MS-DOS version number. -> More information: . +> More information: . - Display the current version number: diff --git a/pages/windows/virtualboxvm.md b/pages/windows/virtualboxvm.md index 5c436a59b8305c..aa62cd51390183 100644 --- a/pages/windows/virtualboxvm.md +++ b/pages/windows/virtualboxvm.md @@ -1,6 +1,6 @@ # virtualboxvm -> The VirtualBox virtual machine management CLI. +> Manage VirtualBox virtual machines. > More information: . - Start a virtual machine: @@ -13,9 +13,9 @@ - Mount the specified DVD image file: -`virtualboxvm --startvm {{name|uuid}} --dvd {{path/to/image_file}}` +`virtualboxvm --startvm {{name|uuid}} --dvd {{path\to\image_file}}` -- Display a command line window with debug information: +- Display a command-line window with debug information: `virtualboxvm --startvm {{name|uuid}} --debug-command-line` diff --git a/pages/windows/vol.md b/pages/windows/vol.md index fd2c713b783280..9930aed7fdb773 100644 --- a/pages/windows/vol.md +++ b/pages/windows/vol.md @@ -1,7 +1,7 @@ # vol > Display information about volumes. -> More information: . +> More information: . - Display the label and serial number for the current drive: diff --git a/pages/windows/vol.py.md b/pages/windows/vol.py.md new file mode 100644 index 00000000000000..735daf44fa906b --- /dev/null +++ b/pages/windows/vol.py.md @@ -0,0 +1,25 @@ +# vol.py + +> Forensics framework used to analyze volatile memory (RAM) dumps. +> With volatility3, plugins are now based on operating system. Examples below will use Windows. +> More information: . + +- Get information about a memory dump file: + +`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.info` + +- List active processes: + +`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.pslist` + +- List hashes of users on system: + +`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.hashdump` + +- List active network connections: + +`python3 vol.py {{[-f|--filename]}} {{path/to/memory_dump_file}} windows.netstat` + +- Display help: + +`python3 vol.py {{[-h|--help]}}` diff --git a/pages/windows/vswhere.md b/pages/windows/vswhere.md new file mode 100644 index 00000000000000..589b7df6441b57 --- /dev/null +++ b/pages/windows/vswhere.md @@ -0,0 +1,20 @@ +# vswhere + +> Locate Visual Studio 2017 and newer installations. +> More information: . + +- Find the path of vcvarsall.bat to set environment variables: + +`vswhere -products * -latest -prerelease -find **\VC\Auxiliary\Build\vcvarsall.bat` + +- Find the directory of the x64 MSVC compiler (cl.exe, etc): + +`vswhere -products * -latest -prerelease -find **\Hostx64\x64\*` + +- Find the directory of Clang bundled with Visual Studio bundled (clang-cl, clang-tidy, etc): + +`vswhere -products * -latest -prerelease -find **\Llvm\bin\*` + +- Find the path of `MSBuild.exe`: + +`vswhere -products * -latest -prerelease -find MSBuild\**\Bin\MSBuild.exe` diff --git a/pages/windows/w32tm.md b/pages/windows/w32tm.md new file mode 100644 index 00000000000000..8f0abc34248e9f --- /dev/null +++ b/pages/windows/w32tm.md @@ -0,0 +1,32 @@ +# w32tm + +> Query and control the w32time time synchronization service. +> More information: . + +- Show the current status of time synchronization: + +`w32tm /query /status /verbose` + +- Show a time offset graph against a time server: + +`w32tm /stripchart /computer:{{time_server}}` + +- Show an NTP reply from a time server: + +`w32tm /stripchart /packetinfo /samples:1 /computer:{{time_server}}` + +- Show the state of the currently used time servers: + +`w32tm /query /peers` + +- Show configuration of the w32time service (run in elevated console): + +`w32tm /query /configuration` + +- Force time resynchronization immediately (run in elevated console): + +`w32tm /resync /force` + +- Write w32time debug logs into a file (run in elevated console): + +`w32tm /debug /enable /file:{{path\to\debug.log}} /size:{{10000000}} /entries:{{0-300}}` diff --git a/pages/windows/wait-process.md b/pages/windows/wait-process.md new file mode 100644 index 00000000000000..7e1f4033d51f76 --- /dev/null +++ b/pages/windows/wait-process.md @@ -0,0 +1,13 @@ +# Wait-Process + +> Waits for the processes to be stopped before accepting more input. +> Note: This command can only be used through PowerShell. +> More information: . + +- Stop a process and wait: + +`Stop-Process -Id {{process_id}}; Wait-Process -Id {{process_id}}` + +- Wait for processes for a specified time: + +`Wait-Process -Name {{process_name}} -Timeout {{30}}` diff --git a/pages/windows/wget.md b/pages/windows/wget.md new file mode 100644 index 00000000000000..cda2847aa757d7 --- /dev/null +++ b/pages/windows/wget.md @@ -0,0 +1,17 @@ +# wget + +> In PowerShell, this command may be an alias of `Invoke-WebRequest` when the original `wget` program () is not properly installed. +> Note: If version command returns an error, PowerShell may have substituted this command with `Invoke-WebRequest`. +> More information: . + +- View documentation for the original `wget` command: + +`tldr wget -p common` + +- View documentation for PowerShell's `Invoke-WebRequest` command: + +`tldr invoke-webrequest` + +- Display version: + +`wget --version` diff --git a/pages/windows/where-object.md b/pages/windows/where-object.md new file mode 100644 index 00000000000000..8d95a3133bb018 --- /dev/null +++ b/pages/windows/where-object.md @@ -0,0 +1,17 @@ +# Where-Object + +> Selects objects from a collection based on their property values. +> Note: This command can only be used through PowerShell. +> More information: . + +- Filter aliases by its name: + +`Get-Alias | Where-Object -{{Property}} {{Name}} -{{eq}} {{name}}` + +- List all services that are currently stopped. The `$_` automatic variable represents each object that is passed to the `Where-Object` cmdlet: + +`Get-Service | Where-Object {$_.Status -eq "Stopped"}` + +- Use multiple conditions: + +`Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }` diff --git a/pages/windows/where.md b/pages/windows/where.md index 59a3175dd57918..192b667ffff40e 100644 --- a/pages/windows/where.md +++ b/pages/windows/where.md @@ -2,7 +2,7 @@ > Display the location of files that match the search pattern. > Defaults to current work directory and paths in the PATH environment variable. -> More information: . +> More information: . - Display the location of file pattern: @@ -14,8 +14,8 @@ - Recursively search for file pattern at specified path: -`where /R {{path/to/directory}} {{file_pattern}}` +`where /R {{path\to\directory}} {{file_pattern}}` -- Display only the error code for the location of file pattern: +- Silently return the error code for the location of the file pattern: `where /Q {{file_pattern}}` diff --git a/pages/windows/whoami.md b/pages/windows/whoami.md index 65b34587cf14a7..bd681d08585f1b 100644 --- a/pages/windows/whoami.md +++ b/pages/windows/whoami.md @@ -1,7 +1,7 @@ # whoami > Display details about the current user. -> More information: . +> More information: . - Display the username of the current user: @@ -19,6 +19,10 @@ `whoami /upn` -- Display the logon id of the current user: +- Display the logon ID of the current user: `whoami /logonid` + +- Display all information for the current user: + +`whoami /all` diff --git a/pages/windows/winget.md b/pages/windows/winget.md index 8682858fa0a076..20d28c92705a75 100644 --- a/pages/windows/winget.md +++ b/pages/windows/winget.md @@ -1,11 +1,15 @@ # winget -> Windows Package Manager CLI. -> More information: . +> Windows Package Manager. +> More information: . - Install a package: -`winget install {{package}}` +`winget {{[add|install]}} {{package}}` + +- Remove a package (Note: `remove` can also be used instead of `uninstall`): + +`winget {{[rm|uninstall]}} {{package}}` - Display information about a package: @@ -14,3 +18,19 @@ - Search for a package: `winget search {{package}}` + +- Upgrade all packages to the latest versions: + +`winget upgrade {{[-r|--all]}}` + +- List all packages installed that can be managed with `winget`: + +`winget {{[ls|list]}} {{[-s|--source]}} winget` + +- Import packages from a file, or export installed packages to a file: + +`winget {{import|export}} {{--import-file|--output}} {{path/to/file}}` + +- Validate manifests before submitting a PR to the winget-pkgs repository: + +`winget validate {{path/to/manifest}}` diff --git a/pages/windows/wmic.md b/pages/windows/wmic.md index 8c34742a6ef326..9a5785ce28cf3b 100644 --- a/pages/windows/wmic.md +++ b/pages/windows/wmic.md @@ -1,7 +1,7 @@ # wmic > Interactive shell for detailed information about running processes. -> More information: . +> More information: . - Fundamental grammar: diff --git a/pages/windows/wsl-open.md b/pages/windows/wsl-open.md new file mode 100644 index 00000000000000..c048321e374ae4 --- /dev/null +++ b/pages/windows/wsl-open.md @@ -0,0 +1,24 @@ +# wsl-open + +> Open a file or URL from within Windows Subsystem for Linux in the user's default Windows GUI application. +> More information: . + +- Open the current directory in Windows Explorer: + +`wsl-open {{.}}` + +- Open a URL in the user's default web browser in Windows: + +`wsl-open {{https://example.com}}` + +- Open a specific file in the user's default application in Windows: + +`wsl-open {{path\to\file}}` + +- Set `wsl-open` as the shell's web browser (open links with `wsl-open`): + +`wsl-open -w` + +- Display help: + +`wsl-open -h` diff --git a/pages/windows/wsl.md b/pages/windows/wsl.md index 66fd67cfb9ac93..1724c6943fba6e 100644 --- a/pages/windows/wsl.md +++ b/pages/windows/wsl.md @@ -1,7 +1,7 @@ # wsl -> Manage the Windows Subsystem for Linux from the command line. -> More information: . +> Manage the Windows Subsystem for Linux. +> More information: . - Start a Linux shell (in the default distribution): @@ -9,25 +9,25 @@ - Run a Linux command without using a shell: -`wsl --exec {{command}} {{command_arguments}}` +`wsl {{[-e|--exec]}} {{command}} {{command_arguments}}` - Specify a particular distribution: -`wsl --distribution {{distribution}} {{shell_command}}` +`wsl {{[-d|--distribution]}} {{distribution}} {{shell_command}}` - List available distributions: -`wsl --list` +`wsl {{[-l|--list]}}` -- Export a distribution to a .tar file: +- Export a distribution to a `.tar` file: -`wsl --export {{distribution}} {{path/to/distro_fs.tar}}` +`wsl --export {{distribution}} {{path\to\distro_file.tar}}` -- Import a distribution from a .tar file: +- Import a distribution from a `.tar` file: -`wsl --import {{distribution}} {{path/to/install_location}} {{path/to/distro_fs.tar}}` +`wsl --import {{distribution}} {{path\to\install_location}} {{path/to/distro_file.tar}}` -- Change the version of the specified distribution: +- Change the version of wsl used for the specified distribution: `wsl --set-version {{distribution}} {{version}}` diff --git a/pages/windows/xcopy.md b/pages/windows/xcopy.md index 442b71225cf9f0..8bfc248619cd82 100644 --- a/pages/windows/xcopy.md +++ b/pages/windows/xcopy.md @@ -1,36 +1,36 @@ # xcopy > Copy files and directory trees. -> More information: . +> More information: . - Copy the file(s) to the specified destination: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}}` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}}` - List files that will be copied before copying: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /p` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /p` - Copy the directory structure only, excluding files: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /t` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /t` - Include empty directories when copying: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /e` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /e` - Keep the source ACL in the destination: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /o` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /o` - Allow resuming when network connection is lost: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /z` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /z` - Disable the prompt when the file exists in the destination: -`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /y` +`xcopy {{path\to\file_or_directory}} {{path\to\destination_directory}} /y` -- Display detailed usage information: +- Display help: `xcopy /?` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000000000..35d8f9fa835773 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +black==25.9.0 +flake8==7.3.0 +requests==2.32.5 diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 00000000000000..1a486c2295695f --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,38 @@ +# Scripts + +The current directory contains useful scripts used/to use with `tldr` pages. + +> [!NOTE] +> [Git](https://git-scm.com/) and [Python](https://www.python.org/) must be installed in your system to run/test the scripts locally. + +## Summary + +This section contains a summary of the scripts available in this directory. For more information about each script, please refer to the header of each script. + +- [pdf](pdf/README.md) directory contains the `render.py` and `build-pdf.sh` script and related resources to generate a PDF document of tldr-pages for a specific language or platform (or both). +- [build.sh](build.sh) script builds the ZIP archives of the `pages` directory. +- [build-index.js](build-index.js) script builds the index of available pages. +- [check-pr.sh](check-pr.sh) script checks the page's syntax and performs various checks on the PR. +- [deploy.sh](deploy.sh) script deploys the ZIP and PDF archives to the static website repository. +- [send-to-bot.py](send-to-bot.py) is a Python script that sends the build or test output to tldr-bot. +- [set-alias-page.py](set-alias-page.py) is a Python script to generate or update alias pages. +- [set-more-info-link.py](set-more-info-link.py) is a Python script to generate or update more information links across pages. +- [set-page-title.py](set-page-title.py) is a Python script to update the title across pages. +- [test.sh](test.sh) script runs some basic tests on every PR/commit to ensure the pages are valid and the code is formatted correctly. +- [wrong-filename.py](wrong-filename.py) script checks the consistency between the filenames and the page title. +- [update-command.py](update-command.py) is a Python script to update the common contents of a command example across all languages. + +## Compatibility + +The table below shows the compatibility of user-executable scripts with different platforms: + +| Script | Linux | macOS (`osx`) | Windows | +| ------ | ----- | ----- | ------- | +| [render.py](pdf/render.py) | ✅ | ✅ | ✅ | +| [build-pdf.sh](pdf/build-pdf.sh) | ✅ | ✅ | ❌ (WSL ✅)| +| [build.sh](build.sh) | ✅ | ✅ | ❌ (WSL ✅)| +| [set-alias-pages.py](set-alias-pages.py) | ✅ | ✅ | ✅ | +| [set-more-info-link.py](set-more-info-link.py) | ✅ | ✅ | ✅ | +| [set-page-title.py](set-page-title.py) | ✅ | ✅ | ✅ | +| [wrong-filename.py](wrong-filename.py) | ✅ | ✅ | ✅ | +| [update-command.py](update-command.py) | ✅ | ✅ | ✅ | diff --git a/scripts/_common.py b/scripts/_common.py new file mode 100644 index 00000000000000..ef715c7077b0ba --- /dev/null +++ b/scripts/_common.py @@ -0,0 +1,396 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: MIT + +""" +A Python file that makes some commonly used functions available for other scripts to use. +""" + +from enum import Enum +from pathlib import Path +from unittest.mock import patch +import shutil +import os +import argparse +import subprocess + +IGNORE_FILES = (".DS_Store",) + + +class Colors(str, Enum): + def __str__(self): + return str( + self.value + ) # make str(Colors.COLOR) return the ANSI code instead of an Enum object + + RED = "\x1b[31m" + GREEN = "\x1b[32m" + BLUE = "\x1b[34m" + CYAN = "\x1b[36m" + RESET = "\x1b[0m" + + +def test_ignore_files(): + assert IGNORE_FILES == (".DS_Store",) + assert ".DS_Store" in IGNORE_FILES + assert "tldr.md" not in IGNORE_FILES + + +def get_tldr_root(lookup_path: Path = None) -> Path: + """ + Get the path of the local tldr repository, looking for it in each part of the given path. If it is not found, the path in the environment variable TLDR_ROOT is returned. + + Parameters: + lookup_path (Path): the path to search for the tldr root. By default, the path of the script. + + Returns: + Path: the local tldr repository. + """ + + if lookup_path is None: + absolute_lookup_path = Path(__file__).resolve() + else: + absolute_lookup_path = Path(lookup_path).resolve() + if ( + tldr_root := next( + (path for path in absolute_lookup_path.parents if path.name == "tldr"), None + ) + ) is not None: + return tldr_root + elif "TLDR_ROOT" in os.environ: + return Path(os.environ["TLDR_ROOT"]) + raise SystemExit( + f"{Colors.RED}Please set the environment variable TLDR_ROOT to the location of a clone of https://github.com/tldr-pages/tldr{Colors.RESET}" + ) + + +def test_get_tldr_root(): + tldr_root = get_tldr_root("/path/to/tldr/scripts/test_script.py") + assert tldr_root == Path("/path/to/tldr") + + # Set TLDR_ROOT in the environment + os.environ["TLDR_ROOT"] = "/path/to/tldr_clone" + + tldr_root = get_tldr_root("/tmp") + assert tldr_root == Path("/path/to/tldr_clone") + + del os.environ["TLDR_ROOT"] + + # Remove TLDR_ROOT from the environment + original_env = os.environ.pop("TLDR_ROOT", None) + + # Check if SystemExit is raised + raised = False + try: + get_tldr_root("/tmp") + except SystemExit: + raised = True + assert raised + + # Restore the original values + if original_env is not None: + os.environ["TLDR_ROOT"] = original_env + + +def get_pages_dir(root: Path) -> list[Path]: + """ + Get all pages directories. + + Parameters: + root (Path): the path to search for the pages directories. + + Returns: + list (list of Path's): Path's of page entry and platform, e.g. "page.fr/common". + """ + + return [d for d in root.iterdir() if d.name.startswith("pages")] + + +def test_get_pages_dir(): + # Create temporary directories with names starting with "pages" + + root = Path("test_root") + + shutil.rmtree(root, True) + + root.mkdir(exist_ok=True) + + # Create temporary directories with names that do not start with "pages" + (root / "other_dir_1").mkdir(exist_ok=True) + (root / "other_dir_2").mkdir(exist_ok=True) + + # Call the function and verify that it returns an empty list + result = get_pages_dir(root) + assert result == [] + + (root / "pages").mkdir(exist_ok=True) + (root / "pages.fr").mkdir(exist_ok=True) + (root / "other_dir").mkdir(exist_ok=True) + + # Call the function and verify the result + result = get_pages_dir(root) + expected = [root / "pages", root / "pages.fr"] + assert result.sort() == expected.sort() # the order differs on Unix / macOS + + shutil.rmtree(root, True) + + +def get_target_paths( + page: Path, pages_dirs: Path, check_exists: bool = True +) -> list[Path]: + """ + Get all paths in all languages that match the page. + + Parameters: + page (Path): the page to search for. + pages_dirs (Path): directories to search in + check_exists (bool): whether to only return existing paths (default: True) + + Returns: + list (list of Path's): A list of Path's. + """ + target_paths = [] + + if not page.lower().endswith(".md"): + page = f"{page}.md" + arg_platform, arg_page = page.split("/") + + for pages_dir in pages_dirs: + page_path = pages_dir / arg_platform / arg_page + + if check_exists and not page_path.exists(): + print(create_colored_line(Colors.RED, f"Page {page_path} does not exist")) + continue + target_paths.append(page_path) + + target_paths.sort() + return target_paths + + +def test_get_target_paths(): + root = Path("test_root") + + shutil.rmtree(root, True) + + root.mkdir(exist_ok=True) + + shutil.os.makedirs(root / "pages" / "common") + shutil.os.makedirs(root / "pages.fr" / "common") + + file_path = root / "pages" / "common" / "tldr.md" + with open(file_path, "w"): + pass + + file_path = root / "pages.fr" / "common" / "tldr.md" + with open(file_path, "w"): + pass + + target_paths = get_target_paths("common/tldr", get_pages_dir(root)) + for path in target_paths: + rel_path = "/".join(path.parts[-3:]) + print(rel_path) + + shutil.rmtree(root, True) + + +def get_locale(path: Path) -> str: + """ + Get the locale from the path. + + Parameters: + path (Path): the path to extract the locale. + + Returns: + str: a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR"). + """ + + # compute locale + pages_dirname = path.parents[1].name + if "." in pages_dirname: + _, locale = pages_dirname.split(".") + else: + locale = "en" + + return locale + + +def test_get_locale(): + assert get_locale(Path("path/to/pages.fr/common/tldr.md")) == "fr" + + assert get_locale(Path("path/to/pages/common/tldr.md")) == "en" + + assert get_locale(Path("path/to/other/common/tldr.md")) == "en" + + +def get_status(action: str, dry_run: bool, type: str) -> str: + """ + Get a colored status line. + + Parameters: + action (str): The action to perform. + dry_run (bool): Whether to perform a dry-run. + type (str): The kind of object to modify (alias, link). + + Returns: + str: A colored line + """ + + match action: + case "added": + start_color = Colors.CYAN + case "updated": + start_color = Colors.BLUE + case _: + start_color = Colors.RED + + if dry_run: + status = f"{type} would be {action}" + else: + status = f"{type} {action}" + + return create_colored_line(start_color, status) + + +def test_get_status(): + # Test dry run status + assert ( + get_status("added", True, "alias") + == f"{Colors.CYAN}alias would be added{Colors.RESET}" + ) + assert ( + get_status("updated", True, "link") + == f"{Colors.BLUE}link would be updated{Colors.RESET}" + ) + + # Test non-dry run status + assert ( + get_status("added", False, "alias") == f"{Colors.CYAN}alias added{Colors.RESET}" + ) + assert ( + get_status("updated", False, "link") + == f"{Colors.BLUE}link updated{Colors.RESET}" + ) + + # Test default color for unknown action + assert ( + get_status("unknown", True, "alias") + == f"{Colors.RED}alias would be unknown{Colors.RESET}" + ) + + +def create_colored_line(start_color: str, text: str) -> str: + """ + Create a colored line. + + Parameters: + start_color (str): The color for the line. + text (str): The text to display. + + Returns: + str: A colored line + """ + + return f"{start_color}{text}{Colors.RESET}" + + +def test_create_colored_line(): + assert ( + create_colored_line(Colors.CYAN, "TLDR") == f"{Colors.CYAN}TLDR{Colors.RESET}" + ) + assert create_colored_line("Hello", "TLDR") == f"HelloTLDR{Colors.RESET}" + + +def create_argument_parser(description: str) -> argparse.ArgumentParser: + """ + Create an argument parser that can be extended. + + Parameters: + description (str): The description for the argument parser + + Returns: + ArgumentParser: an argument parser. + """ + + parser = argparse.ArgumentParser(description=description) + parser.add_argument( + "-p", + "--page", + type=str, + default="", + help='page name in the format "platform/alias_command.md"', + ) + parser.add_argument( + "-S", + "--sync", + action="store_true", + default=False, + help="synchronize each translation's alias page (if exists) with that of English page", + ) + parser.add_argument( + "-l", + "--language", + type=str, + default="", + help='language in the format "ll" or "ll_CC" (e.g. "fr" or "pt_BR")', + ) + parser.add_argument( + "-s", + "--stage", + action="store_true", + default=False, + help="stage modified pages (requires `git` to be on $PATH and TLDR_ROOT to be a Git repository)", + ) + parser.add_argument( + "-n", + "--dry-run", + action="store_true", + default=False, + help="show what changes would be made without actually modifying the pages", + ) + + return parser + + +def test_create_argument_parser(): + description = "Test argument parser" + parser = create_argument_parser(description) + + assert isinstance(parser, argparse.ArgumentParser) + assert parser.description == description + + # Check if each expected argument is added with the correct configurations + arguments = [ + ("-p", "--page", str, ""), + ("-l", "--language", str, ""), + ("-s", "--stage", None, False), + ("-S", "--sync", None, False), + ("-n", "--dry-run", None, False), + ] + for short_flag, long_flag, arg_type, default_value in arguments: + action = parser._option_string_actions[short_flag] # Get action for short flag + assert action.dest.replace("_", "-") == long_flag.lstrip( + "-" + ) # Check destination name + assert action.type == arg_type # Check argument type + assert action.default == default_value # Check default value + + +def stage(paths: list[Path]): + """ + Stage the given paths using Git. + + Parameters: + paths (list of Paths): the list of Path's to stage using Git. + + """ + subprocess.call(["git", "add", *(path.resolve() for path in paths)]) + + +@patch("subprocess.call") +def test_stage(mock_subprocess_call): + paths = [Path("/path/to/file1"), Path("/path/to/file2")] + + # Call the stage function + stage(paths) + + # Verify that subprocess.call was called with the correct arguments + mock_subprocess_call.assert_called_once_with(["git", "add", *paths]) diff --git a/scripts/build-index.js b/scripts/build-index.js index 360b35c19157e9..de04d103cbda9d 100644 --- a/scripts/build-index.js +++ b/scripts/build-index.js @@ -1,17 +1,20 @@ +// SPDX-License-Identifier: MIT + 'use strict'; -const glob = require('glob'); +const { glob } = require('glob'); +const { sep } = require('path'); function parsePlatform(pagefile) { - return pagefile.split(/\//)[1]; + return pagefile.split(sep)[1]; } function parsePagename(pagefile) { - return pagefile.split(/\//)[2].replace(/\.md$/, ''); + return pagefile.split(sep)[2].replace(/\.md$/, ''); } function parseLanguage(pagefile) { - let pagesFolder = pagefile.split(/\//)[0]; + let pagesFolder = pagefile.split(sep)[0]; return pagesFolder == 'pages' ? 'en' : pagesFolder.replace(/^pages\./, ''); } @@ -31,7 +34,7 @@ function buildPagesIndex(files) { } const targets = index[page].targets; - const exists = targets.some((t) => {return t.platform === os && t.language === language}); + const exists = targets.some((t) => t.os === os && t.language === language); if (!exists) { targets.push({os, language}) } @@ -69,13 +72,14 @@ function saveIndex(index) { console.log(JSON.stringify(indexFile)); } -glob('pages*/**/*.md', function (er, files) { - if (er !== null) { - console.error('ERROR finding pages!'); - console.error(er); - return; - } - +(async () => { + const files = await glob('pages*/**/*.md'); let index = buildPagesIndex(files); saveIndex(index); +})().then(() => { + process.exit(0); +}).catch((err) => { + console.error('ERROR building index!'); + console.error(err); + process.exit(1); }); diff --git a/scripts/build.sh b/scripts/build.sh old mode 100644 new mode 100755 index 043e45d1c927e5..5ad36357c572ca --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,26 +1,72 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT # This script is executed by GitHub Actions for every successful push (on any branch, PR or not). set -ex function initialize { - if [ -z "$TLDRHOME" ]; then + if [[ -z $TLDRHOME ]]; then export TLDRHOME=${GITHUB_WORKSPACE:-$(pwd)} fi + if [[ -z $TLDR_LANG_ARCHIVES_DIRECTORY ]]; then + export TLDR_LANG_ARCHIVES_DIRECTORY="${GITHUB_WORKSPACE:-$(pwd)}/language_archives" + fi + export TLDR_ARCHIVE="tldr.zip" + DIFF="$(git diff --name-only @^ @ | cut -d'/' -f1)" + export DIFF } function build_index { + if ! grep -xq "pages.*" <<< "$DIFF"; then + return + fi + npm run build-index - echo "Pages index succesfully built." + echo "Pages index successfully built." } function build_archive { + if ! grep -xq "pages.*" <<< "$DIFF"; then + return + fi + rm -f "$TLDR_ARCHIVE" cd "$TLDRHOME/" zip -q -r "$TLDR_ARCHIVE" pages* LICENSE.md index.json - echo "Pages archive succesfully built." + echo "Pages archive successfully built." +} + +function build_translation_archives { + local source_directory target_directory lang archive_name + source_directory="$TLDRHOME" + target_directory="$TLDR_LANG_ARCHIVES_DIRECTORY" + mkdir -p "$target_directory" + rm -f "$target_directory"/* + + for lang_dir in "$source_directory"/pages*; do + lang=$(basename "$lang_dir") + # Skip symlinks (pages.en), files outside pages* and directories that haven't been changed. + if [[ ! -d $lang_dir || -h $lang_dir ]] || ! grep -Fxq "$lang" <<< "$DIFF"; then + continue + fi + + archive_name="tldr-$lang.zip" + + # Create the zip archive + + cd "$lang_dir" + zip -q -r "$target_directory/$archive_name" . + zip -q -j "$target_directory/$archive_name" "$source_directory/LICENSE.md" + + echo "Pages archive of $archive_name successfully created." + done + + cd "$target_directory" + if grep -Fxq pages <<< "$DIFF"; then + cp tldr-pages.zip tldr-pages.en.zip + fi } ################################### @@ -30,3 +76,4 @@ function build_archive { initialize build_index build_archive +build_translation_archives diff --git a/scripts/check-pr.sh b/scripts/check-pr.sh old mode 100644 new mode 100755 index 2b6784a4070efc..6cc72237f06f5e --- a/scripts/check-pr.sh +++ b/scripts/check-pr.sh @@ -1,64 +1,168 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT +# shellcheck disable=SC2016,SC2059 # This script is executed by GitHub Actions for every pull request opened. -# It currently accomplishes the following objectives (for English pages only): +# It currently accomplishes the following objectives: # # 1. Detect pages that were just copied (i.e. cp pages/{common,linux}/7z.md). -# 2. Detect pages that were added in a platform specific directory although +# 2. Detect English pages that were added in a platform specific directory although # they already exist under 'common'. -# 3. Detect pages that were added in the 'common' platform although they -# already exist under a platform specific directory. -# 4. Detect other miscellaneous anomalies in the pages folder. +# 4. Detect translated pages that do not exist as English pages yet. +# 5. Detect outdated pages. A page is marked as outdated when the number of +# commands differ from the number of commands in the English page or the +# contents of the commands differ from the English page. +# 6. Detect other miscellaneous anomalies in the pages folder. # # Results are printed to stdout, logs and errors to stderr. # # NOTE: must be run from the repository root directory to correctly work! # NOTE: no `set -e`, failure of this script should not invalidate the build. +VERBOSE=false + +while getopts ":v" opt; do + case $opt in + v) + VERBOSE=true + ;; + *) + echo "This argument is not valid for this script." + ;; + esac +done + +if [[ $VERBOSE == true ]]; then + DEBUG_LOG="debug.log" + rm -f "$DEBUG_LOG" && touch "$DEBUG_LOG" + exec {BASH_XTRACEFD}> "$DEBUG_LOG" + export BASH_XTRACEFD + set -x +fi + # Check for duplicated pages. function check_duplicates { - local page=$1 # page path in the format 'platform/pagename.md' + local page="$1" # page path in the format 'pages<.language_code>/platform/pagename.md' local parts - local other readarray -td'/' parts < <(echo -n "$page") - local platform=${parts[0]} - local file=${parts[1]} + local language_folder="${parts[0]}" - case "$platform" in - common) # check if page already exists in other platforms - for other in ${PLATFORMS/common/}; do - if [ -f "pages/$other/$file" ]; then - printf "\x2d $MSG_EXISTS" "$page" "$other" - fi - done - ;; + if [[ $language_folder != "pages" ]]; then # only check for duplicates in English + return 1 + fi + + local platform="${parts[1]}" + local file="${parts[2]}" + case $platform in + common) # skip common-platform + ;; *) # check if page already exists under common - if [ -f "pages/common/$file" ]; then + if [[ -f "pages/common/$file" ]]; then printf "\x2d $MSG_EXISTS" "$page" 'common' fi ;; esac } +function check_missing_english_page() { + local page="$1" + local english_page="pages/${page#pages*\/}" + + if [[ $page == "$english_page" ]]; then + return 1 + fi + + if [[ ! -f $english_page ]]; then + printf "\x2d $MSG_NOT_EXISTS" "$page" "$english_page" + fi +} + +function count_commands() { + local file="$1" + local regex="$2" + + grep -c "$regex" "$file" +} + +function strip_commands() { + local file="$1" + local regex="$2" + + local stripped_commands=() + + mapfile -t stripped_commands < <( + grep "$regex" "$file" | + sed -E 's/\{\{([^}]|(\{[^}]*\}))*\}\}/{{}}/g' | + sed 's/<[^>]*>//g' | + sed 's/([^)]*)//g' | + sed 's/"[^"]*"/""/g' | + sed "s/'[^']*'//g" | + sed 's/`//g' + ) + + printf "%s\n" "${stripped_commands[*]}" +} + +function check_outdated_page() { + local page="$1" + local english_page="pages/${page#pages*\/}" + local command_regex='^`[^`]\+`$' + + if [[ $page == "$english_page" || ! -f $english_page ]]; then + return 1 + fi + + local english_commands commands english_commands_as_string commands_as_string + english_commands="$(count_commands "$english_page" "$command_regex")" + commands="$(count_commands "$page" "$command_regex")" + english_commands_as_string="$(strip_commands "$english_page" "$command_regex")" + commands_as_string="$(strip_commands "$page" "$command_regex")" + + if [[ $english_commands != "$commands" ]]; then + printf "\x2d $MSG_OUTDATED" "$page" "based on number of commands" + elif [[ "$english_commands_as_string" != "$commands_as_string" ]]; then + printf "\x2d $MSG_OUTDATED" "$page" "based on the command contents itself" + fi +} + +function check_more_info_link() { + local page=$1 + + if grep -q "$page" "more-info-links.txt"; then + printf "\x2d $MSG_MORE_INFO" "$page" + fi +} + +function check_page_title() { + local page=$1 + + if grep -q "$page" "page-titles.txt"; then + printf "\x2d $MSG_PAGE_TITLE" "$page" + fi +} + # Look at git diff and check for copied/duplicated pages. function check_diff { local git_diff local line local entry - git_diff=$(git diff --name-status --find-copies-harder --diff-filter=AC --relative=pages/ remotes/origin/master) + git_diff="$(git diff --name-status --find-copies-harder --diff-filter=ACM origin/main -- pages*/)" - if [ -n "$git_diff" ]; then + if [[ -n $git_diff ]]; then echo -e "Check PR: git diff:\n$git_diff" >&2 else echo 'Check PR: git diff looks fine, no interesting changes detected.' >&2 return 0 fi - while read line; do + python3 scripts/set-more-info-link.py -Sn > more-info-links.txt + python3 scripts/set-page-title.py -Sn > page-titles.txt + + while read -r line; do readarray -td$'\t' entry < <(echo -n "$line") local change="${entry[0]}" @@ -76,21 +180,33 @@ function check_diff { A) # file1 was newly added check_duplicates "$file1" + check_missing_english_page "$file1" + check_outdated_page "$file1" + check_more_info_link "$file1" + check_page_title "$file1" + ;; + M) # file1 was modified + check_missing_english_page "$file1" + check_outdated_page "$file1" + check_more_info_link "$file1" + check_page_title "$file1" ;; esac done <<< "$git_diff" + + rm more-info-links.txt page-titles.txt } # Recursively check the pages/ folder for anomalies. function check_structure { for platform in $PLATFORMS; do - if [ ! -d "pages/$platform" ]; then + if [[ ! -d "pages/$platform" ]]; then printf "\x2d $MSG_NOT_DIR" "pages/$platform" else for page in "pages/$platform"/*; do - if [ ! -f "$page" ]; then + if [[ ! -f $page ]]; then printf "\x2d $MSG_NOT_FILE" "$page" - elif [ "${page:(-3)}" != ".md" ]; then + elif [[ ${page:(-3)} != ".md" ]]; then printf "\x2d $MSG_NOT_MD" "$page" fi done @@ -102,15 +218,19 @@ function check_structure { # MAIN ################################### -MSG_EXISTS='The page `%s` already exists under the `%s` platform.\n' +MSG_EXISTS='The page `%s` already exists in the `%s` directory.\n' +MSG_NOT_EXISTS='The page `%s` does not exists as English page `%s` yet.\n' +MSG_OUTDATED='The page `%s` is outdated, %s, compared to the English page.\n' MSG_IS_COPY='The page `%s` seems to be a copy of `%s` (%d%% matching).\n' MSG_NOT_DIR='The file `%s` does not look like a directory.\n' MSG_NOT_FILE='The file `%s` does not look like a regular file.\n' MSG_NOT_MD='The file `%s` does not have a `.md` extension.\n' +MSG_MORE_INFO='The page `%s` has a more info link that does not match the one in the English page. Please check the "More information:" translation as well using https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/more-info-link.md.\n' +MSG_PAGE_TITLE='The page `%s` has a page title that does not match the one in the English page.\n' PLATFORMS=$(ls pages/) -if [ "$CI" = "true" ] && [ "$GITHUB_REPOSITORY" = "tldr-pages/tldr" ] && [ "$PULL_REQUEST_ID" != "" ]; then +if [[ $CI == true && $GITHUB_REPOSITORY == "tldr-pages/tldr" && $PULL_REQUEST_ID != "" ]]; then check_diff check_structure else diff --git a/scripts/deploy.sh b/scripts/deploy.sh old mode 100644 new mode 100755 index 7f976fed7eb442..f582c8dc190292 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,46 +1,64 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT # This script is executed by GitHub Actions when a PR is merged (i.e. in the `deploy` step). set -ex function initialize { - if [ -z "$TLDRHOME" ]; then - export TLDRHOME=${GITHUB_WORKSPACE:-$(pwd)} + export TLDR_ARCHIVE="tldr.zip" + + if [[ ! -f $TLDR_ARCHIVE ]]; then + echo "No changes to deploy." + exit 0 fi - export TLDR_ARCHIVE="tldr.zip" export SITE_HOME="$HOME/site" - export SITE_REPO_SLUG="tldr-pages/tldr-pages.github.io" + export LANG_ARCHIVES="$GITHUB_WORKSPACE/language_archives" + export PDFS="$GITHUB_WORKSPACE/scripts/pdf" + export INDEX="$GITHUB_WORKSPACE/index.json" + RELEASE_TAG="$(git describe --tags --abbrev=0)" + export RELEASE_TAG # Configure git. - git config --global user.email "actions@github.com" - git config --global user.name "GitHub Actions" + git config --global user.email "tldrbotgithub@gmail.com" + git config --global user.name "tldr bot" git config --global push.default simple git config --global diff.zip.textconv "unzip -c -a" # Decrypt and add deploy key. eval "$(ssh-agent -s)" - echo "${DEPLOY_KEY}"> id_ed25519 + echo "$DEPLOY_KEY" > id_ed25519 chmod 600 id_ed25519 ssh-add id_ed25519 } function upload_assets { - git clone --quiet --depth 1 git@github.com:${SITE_REPO_SLUG}.git "$SITE_HOME" - mv -f "$TLDR_ARCHIVE" "$SITE_HOME/assets/" - cp -f "$TLDRHOME/index.json" "$SITE_HOME/assets/" + git clone --quiet --depth 1 "git@github.com:tldr-pages/tldr-pages.github.io.git" "$SITE_HOME" - # Copy PDF to assets - if [[ -f "${TLDRHOME}/scripts/pdf/tldr-pages.pdf" ]]; then - cp -f "${TLDRHOME}/scripts/pdf/tldr-pages.pdf" "${SITE_HOME}/assets/tldr-book.pdf" - fi + cp -f "$TLDR_ARCHIVE" "$SITE_HOME/assets/" + find "$LANG_ARCHIVES" -maxdepth 1 -name "*.zip" -exec cp -f {} "$SITE_HOME/assets/" \; + cp -f "$INDEX" "$SITE_HOME/assets/" + find "$PDFS" -maxdepth 1 -name "*.pdf" -exec cp -f {} "$SITE_HOME/assets/" \; + + cd "$SITE_HOME/assets" + sha256sum -- index.json *.zip > tldr.sha256sums - cd "$SITE_HOME" + # Old way of distributing assets. This needs to be deleted later. git add -A - git commit -m "[GitHub Actions] uploaded assets after commit tldr-pages/tldr@${GITHUB_SHA}" + git commit -m "[GitHub Actions] uploaded assets after commit tldr-pages/tldr@$GITHUB_SHA" git push -q + echo "Assets (pages archive, index and checksums) deployed to the static site." - echo "Assets (pages archive, index) deployed to static site." + # Suppress errors from unmatched patterns if some files don't exist. + shopt -s nullglob + gh release --repo tldr-pages/tldr upload --clobber "$RELEASE_TAG" -- \ + tldr.sha256sums \ + "$TLDR_ARCHIVE" \ + "$INDEX" \ + "$LANG_ARCHIVES/"*.zip \ + "$PDFS/"*.pdf + shopt -u nullglob + echo "Assets deployed to GitHub releases." } ################################### diff --git a/scripts/id_ed25519_tldr_asset_upload.enc b/scripts/id_ed25519_tldr_asset_upload.enc deleted file mode 100644 index 13806f870b9bd3..00000000000000 Binary files a/scripts/id_ed25519_tldr_asset_upload.enc and /dev/null differ diff --git a/scripts/pdf/NotoSans-Regular.ttf b/scripts/pdf/NotoSans-Regular.ttf new file mode 100644 index 00000000000000..7552fbe806d112 Binary files /dev/null and b/scripts/pdf/NotoSans-Regular.ttf differ diff --git a/scripts/pdf/README.md b/scripts/pdf/README.md index b93e1b1a104eac..f9eccb480c8021 100644 --- a/scripts/pdf/README.md +++ b/scripts/pdf/README.md @@ -2,12 +2,6 @@ This directory contains the script and related resources to generate a PDF document with all the `tldr` pages. -## Preview - -![cryptsetup in the Basic color-scheme.](https://user-images.githubusercontent.com/29029116/35637791-4e42af80-06db-11e8-8b8e-42ce6c905ff4.jpg) -![cryptsetup in the Solarized Light color-scheme.](https://user-images.githubusercontent.com/29029116/35637798-51e3784a-06db-11e8-9576-6e57ef5c5c20.jpg) -![cryptsetup in the Solarized Dark color-scheme.](https://user-images.githubusercontent.com/29029116/35637801-54449fce-06db-11e8-93f7-d90cdc34044b.jpg) - ## Highlights - No LaTeX dependencies for generating the PDF. @@ -17,22 +11,34 @@ This directory contains the script and related resources to generate a PDF docum The PDF is generated by first converting the Markdown files to HTML, and then rendering those HTML files as a PDF. It depends on the `markdown` and `weasyprint` libraries. To install the dependencies, run: - python3 -m pip install -r requirements.txt +```sh +python3 -m pip install -r requirements.txt +``` -Make sure OS specific dependencies for WeasyPrint are installed by following the instructions [here](http://weasyprint.readthedocs.io/en/latest/install.html). +Make sure OS-specific dependencies for WeasyPrint are installed by following the instructions [here](https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#installation). ## Usage Generating the PDF is as simple as running: - python3 render.py --color +```sh +python3 render.py [--color ] [--output ] [--platform ] +``` Complete information about the arguments can be viewed by running: - python3 render.py --help +```sh +python3 render.py --help +``` -The color-schemes that can be specified are: +Available color schemes: -* `basic` -* `solarized-light` -* `solarized-dark` +- `basic` +- `solarized-light` +- `solarized-dark` + +## Preview + +![cryptsetup in the Basic color-scheme.](https://user-images.githubusercontent.com/29029116/35637791-4e42af80-06db-11e8-8b8e-42ce6c905ff4.jpg) +![cryptsetup in the Solarized Light color-scheme.](https://user-images.githubusercontent.com/29029116/35637798-51e3784a-06db-11e8-9576-6e57ef5c5c20.jpg) +![cryptsetup in the Solarized Dark color-scheme.](https://user-images.githubusercontent.com/29029116/35637801-54449fce-06db-11e8-93f7-d90cdc34044b.jpg) diff --git a/scripts/pdf/basic.css b/scripts/pdf/basic.css index 76bc255b5eea11..cfc0f10d311b1a 100644 --- a/scripts/pdf/basic.css +++ b/scripts/pdf/basic.css @@ -1,6 +1,8 @@ +/* SPDX-License-Identifier: MIT */ + @font-face { - font-family: "PT Serif"; - src: url("pt-serif-web-regular.ttf") format("truetype"); + font-family: "sans-serif"; + src: url("NotoSans-Regular.ttf") format("truetype"); } p { @@ -12,7 +14,7 @@ code { } h1, h2, h4, ul { - font-family: "PT Serif"; + font-family: "sans-serif"; } .title-main { @@ -32,3 +34,13 @@ h1, h2, h4, ul { margin-top: 8.2em; font-size: 300%; } + +/* +The same is to have this look like a H1 tag, but we want the H2 tag so the +bookmarks list makes sense. +*/ +h2.title-page { + font-size: 2em; + margin-top: 0.67em; + margin-bottom: 0.67em; +} diff --git a/scripts/pdf/build-pdf.sh b/scripts/pdf/build-pdf.sh new file mode 100755 index 00000000000000..a4f8d99786ec56 --- /dev/null +++ b/scripts/pdf/build-pdf.sh @@ -0,0 +1,59 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: MIT + +# This script is executed by GitHub Actions when a PR is merged (i.e. in the `Build PDF` step). +set -ex + +function process_page { + pageDir="$1" + folder=$(basename "${pageDir}") + case $folder in + pages.bn | pages.ja | pages.ko | pages.ml | pages.ta | pages.th | pages.zh | pages.zh_TW) + ;; + pages) + python3 render.py "${pageDir}" -c solarized-light + ;; + *) + language="${folder##*.}" + python3 render.py "${pageDir}" -c basic -o "tldr-book-${language}.pdf" + ;; + esac +} + +function main { + languageId="$1" + if [ -z "$languageId" ]; then + changedFiles=$(git diff-tree --no-commit-id --name-only -r "$(git rev-parse HEAD)") + changedPageDirs=$(echo "$changedFiles" | awk -F/ '/^(pages[^\/]+|pages)\//{print $1}' | sort -u) + if [ -z "$changedPageDirs" ]; then + pageDirs=() + else + mapfile -t pageDirs <<< "$changedPageDirs" + fi + else + case $languageId in + all) + pageDirs=(../../pages*) + ;; + bn | ja | ko | ml | ta | th | zh | zh_TW) + echo "${languageId} is not supported to build a PDF" + ;; + en) + pageDirs=("pages") + ;; + *) + pageDirs=("pages.${languageId}") + ;; + esac + fi + + for pageDir in "${pageDirs[@]}"; do + process_page "../../${pageDir}" + done +} + +################################### +# MAIN +################################### + +main $1 diff --git a/scripts/pdf/pt-serif-web-regular.ttf b/scripts/pdf/pt-serif-web-regular.ttf deleted file mode 100644 index 5310691a999658..00000000000000 Binary files a/scripts/pdf/pt-serif-web-regular.ttf and /dev/null differ diff --git a/scripts/pdf/render.py b/scripts/pdf/render.py index ff8c32d4933353..3e7285e4d3f35b 100644 --- a/scripts/pdf/render.py +++ b/scripts/pdf/render.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: MIT """ A Python script to generate a single PDF document with all the `tldr` pages. It works by generating @@ -9,7 +10,6 @@ import os import sys import glob -import re import markdown import argparse from datetime import datetime @@ -17,109 +17,98 @@ from weasyprint import HTML -def main(loc, colorscheme): - - oslist = [] - allmd = [] - group = [] - ap = [] - +def main(loc, colorscheme, output_filename, platform): # Checking correctness of path if not os.path.isdir(loc): print("Invalid directory. Please try again!", file=sys.stderr) sys.exit(1) - # Writing names of all directories inside 'pages' to a list - for os_dir in os.listdir(loc): - oslist.append(os_dir) - - oslist.sort() - - # Required strings to create intermediate HTML files - header = '' + # Set up css style sheets + csslist = ["basic.css"] if colorscheme != "basic": - header += '\n' - - header += "\n" - footer = "" - title_content = "

tldr pages

" \ - + "

Simplified and community-driven man pages

" \ - + "
Generated on " + datetime.now().strftime("%c") + "
" \ - + "" + csslist.append(f"{colorscheme}.css") + + # A string that stores all pages in HTML format + html = ( + '' + + "

tldr pages book

" + + "
Simplified and community-driven man pages
" + + "
Generated on " + + datetime.now().strftime("%c") + + "


" + + "

" + + "
" + + '

' + ) - # Creating title page - with open("title.html", "w") as f: - f.write(header + title_content) - - group.append(HTML("title.html").render()) - - for operating_sys in oslist: + # Writing names of all directories inside 'pages' to a list + for operating_sys in sorted(os.listdir(loc)): + if platform and operating_sys not in platform: + continue # Required string to create directory title pages - dir_title = "

" + \ - operating_sys.capitalize() + "

" - - # Creating directory title page for current directory - with open("dir_title.html", "w") as os_html: - os_html.write(header + dir_title) - - group.append(HTML("dir_title.html").render()) - - # Creating a list of all md files in the current directory - for temp in glob.glob(os.path.join(loc, operating_sys, "*.md")): - allmd.append(temp) - - # Sorting all filenames in the directory, to maintain the order of the PDF - allmd.sort() - - # Conversion of Markdown to HTML - for page_number, md in enumerate(allmd, start=1): - - with open(md, "r") as inp: - text = inp.readlines() - - with open("htmlout.html", "w") as out: - out.write(header) - - for line in text: - if re.match(r'^>', line): - line = line[:0] + '####' + line[1:] - html = markdown.markdown(line) - out.write(html) - out.write(footer) - - group.append(HTML("htmlout.html").render()) - print("Rendered page {} of the directory {}".format( - str(page_number), operating_sys)) - - allmd.clear() - - # Merging all the documents into a single PDF - for doc in group: - for p in doc.pages: - ap.append(p) - - # Writing the PDF to disk, preserving metadata of first `tldr` page - group[2].copy(ap).write_pdf('tldr-pages.pdf') - - if os.path.exists("tldr-pages.pdf"): - print("\nCreated tldr-pages.pdf in the current directory!\n") - - # Removing unnecessary intermediate files - try: - os.remove("htmlout.html") - os.remove("title.html") - os.remove("dir_title.html") - except OSError: - print("Error removing temporary file(s)") + html += ( + "

" + + operating_sys.capitalize() + + "

" + + '

' + ) + + # Conversion of Markdown to HTML string + for page_number, md in enumerate( + sorted(glob.glob(os.path.join(loc, operating_sys, "*.md"))), start=1 + ): + with open(md, "r") as inp: + text = inp.readlines() + # modify our page to have an H2 header, so that it is grouped under + # the H1 header for the directory + text[0] = "

" + text[0][2:] + "

" + for line in text: + if line.startswith(">"): + line = "####" + line[1:] + html += markdown.markdown(line) + html += '

' + print(f"Rendered page {page_number} of the directory {operating_sys}") + + html += "" + + # Writing the PDF to disk + if platform: + output_filename = f"{output_filename[:-4]}-{'+'.join(platform)}.pdf" + + print("\nConverting all pages to PDF...") + HTML(string=html).write_pdf(output_filename, stylesheets=csslist) + + if os.path.exists(output_filename): + print(f"\nCreated {output_filename} in the current directory!\n") if __name__ == "__main__": - # Parsing the arguments - parser = argparse.ArgumentParser(prog="tdlr-pages-to-PDF", description="A Python script to generate a single PDF document with all the `tldr` pages.") - parser.add_argument("dir_path", help = "Path to the 'pages' directory") - parser.add_argument("-c", "--color", choices=["solarized-light", "solarized-dark", "basic"], default="basic", help="Color scheme of the PDF") + parser = argparse.ArgumentParser( + prog="tldr-pages-to-pdf", + description="A Python script to generate a single PDF document with all the `tldr` pages.", + ) + parser.add_argument("dir_path", help="Path to the 'pages' directory") + parser.add_argument( + "-c", + "--color", + choices=["solarized-light", "solarized-dark", "basic"], + default="basic", + help="Color scheme of the PDF", + ) + parser.add_argument( + "-o", + "--output", + default="tldr-book.pdf", + help="Custom filename for the output PDF (default is 'tldr-book.pdf')", + ) + parser.add_argument( + "-p", + "--platform", + nargs="+", + help="Specify one or more platforms to generate PDFs for", + ) args = parser.parse_args() - main(args.dir_path, args.color) + main(args.dir_path, args.color, args.output, args.platform) diff --git a/scripts/pdf/solarized-dark.css b/scripts/pdf/solarized-dark.css index 543b510976908c..a4aeb469dac19c 100644 --- a/scripts/pdf/solarized-dark.css +++ b/scripts/pdf/solarized-dark.css @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + code { color: #b58900; } diff --git a/scripts/pdf/solarized-light.css b/scripts/pdf/solarized-light.css index eb2ff4fcb65a1b..423f8df57771d7 100644 --- a/scripts/pdf/solarized-light.css +++ b/scripts/pdf/solarized-light.css @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + code { color: #dc322f } diff --git a/scripts/send-to-bot.py b/scripts/send-to-bot.py old mode 100644 new mode 100755 index ad85eff6fc1fd6..c03f921b7da27c --- a/scripts/send-to-bot.py +++ b/scripts/send-to-bot.py @@ -1,14 +1,16 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: MIT import os import sys -import json -import urllib.request +import requests -BOT_URL = 'https://tldr-bot.starbeamrainbowlabs.com' +BOT_URL = "https://tldr-bot.starbeamrainbowlabs.com" -COMMENT_ERROR=""" -The [build](https://github.com/tldr-pages/tldr/actions/runs/{build_id}) for this PR failed with the following error(s): +COMMENT_ERROR = """ + +The [build](https://github.com/tldr-pages/tldr/actions/runs/{build_id}) for this PR failed with the following error(s) at commit +[`{commit_sha}`](https://github.com/{repo_slug}/commit/{commit_sha}): ``` {content} @@ -17,8 +19,10 @@ Please fix the error(s) and push again. """ -COMMENT_CHECK=""" -Hello! I've noticed something unusual when checking this PR: +COMMENT_CHECK = """ + +Hello! I've noticed something unusual when checking this PR at commit +[`{commit_sha}`](https://github.com/{repo_slug}/commit/{commit_sha}): {content} @@ -27,66 +31,74 @@ ################################################################################ -def post_comment(pr_id, body, once): - endpoint = BOT_URL + '/comment' - if once: - endpoint += '/once' +def post_comment(pr_id, body): + endpoint = f"{BOT_URL}/comment/recreate" - headers = {'Content-Type': 'application/json'} - data = json.dumps({'pr_id': pr_id, 'body': body}) - req = urllib.request.Request(endpoint, data.encode(), headers) + data = {"pr_id": pr_id, "body": body} - try: - resp = urllib.request.urlopen(req) - code = resp.getcode() - except Exception as e: - print('Error sending data to tldr-bot:', str(e), file=sys.stderr) - return False + try: + with requests.post(endpoint, json=data) as r: + if r.status_code != requests.codes.ok: + print( + "Error: tldr-bot responded with code", + r.status_code, + file=sys.stderr, + ) + print(r.text, file=sys.stderr) + return False + except requests.exceptions.RequestException as e: + print("Error sending data to tldr-bot:", str(e), file=sys.stderr) + return False - if code != 200: - print('Error: tldr-bot responded with code', code, file=sys.stderr) - print(resp.read(), file=sys.stderr) - return False + return True - return True def main(action): - if action not in ('report-errors', 'report-check-results'): - print('Unknown action:', action, file=sys.stderr) - sys.exit(1) - - content = sys.stdin.read().strip() - - if action == 'report-errors': - comment_body = COMMENT_ERROR.format(build_id=BUILD_ID, content=content) - comment_once = False - elif action == 'report-check-results': - comment_body = COMMENT_CHECK.format(content=content) - comment_once = True + if action not in ("report-errors", "report-check-results"): + print("Unknown action:", action, file=sys.stderr) + sys.exit(1) + + content = sys.stdin.read().strip() + + if action == "report-errors": + comment_body = COMMENT_ERROR.format( + build_id=BUILD_ID, + commit_sha=COMMIT_SHA, + repo_slug=REPO_SLUG, + content=content, + ) + elif action == "report-check-results": + comment_body = COMMENT_CHECK.format( + commit_sha=COMMIT_SHA, + repo_slug=REPO_SLUG, + content=content, + ) + + if post_comment(PR_ID, comment_body): + print("Success.") + else: + print("Error sending data to tldr-bot!", file=sys.stderr) - if post_comment(PR_ID, comment_body, comment_once): - print('Success.') - else: - print('Error sending data to tldr-bot!', file=sys.stderr) ################################################################################ -if __name__ == '__main__': - REPO_SLUG = os.environ.get('GITHUB_REPOSITORY') - PR_ID = os.environ.get('PULL_REQUEST_ID') - BUILD_ID = os.environ.get('GITHUB_RUN_ID') +if __name__ == "__main__": + REPO_SLUG = os.environ.get("GITHUB_REPOSITORY") + PR_ID = os.environ.get("PULL_REQUEST_ID") + BUILD_ID = os.environ.get("GITHUB_RUN_ID") + COMMIT_SHA = os.environ.get("COMMIT_SHA") - if PR_ID is None or BUILD_ID is None or REPO_SLUG is None: - print('Needed environment variables are not set.', file=sys.stderr) - sys.exit(1) + if PR_ID is None or BUILD_ID is None or REPO_SLUG is None or COMMIT_SHA is None: + print("Needed environment variables are not set.", file=sys.stderr) + sys.exit(1) - if PR_ID is None or PR_ID == 'false': - print('Not a pull request, refusing to run.', file=sys.stderr) - sys.exit(0) + if PR_ID is None or PR_ID == "false": + print("Not a pull request, refusing to run.", file=sys.stderr) + sys.exit(0) - if len(sys.argv) != 2: - print('Usage:', sys.argv[0], '', file=sys.stderr) - sys.exit(1) + if len(sys.argv) != 2: + print("Usage:", sys.argv[0], "", file=sys.stderr) + sys.exit(1) - main(sys.argv[1]) + main(sys.argv[1]) diff --git a/scripts/set-alias-page.py b/scripts/set-alias-page.py new file mode 100755 index 00000000000000..6c1dbcf5307bae --- /dev/null +++ b/scripts/set-alias-page.py @@ -0,0 +1,498 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: MIT + +""" +A Python script to generate or update alias pages. + +Disclaimer: This script generates a lot of false positives so it isn't suggested to use the sync option. If used, only stage changes and commit verified changes for your language by using -l LANGUAGE. + +Note: If the current directory or one of its parents is called "tldr", the script will assume it is the tldr root, i.e., the directory that contains a clone of https://github.com/tldr-pages/tldr +If you aren't, the script will use TLDR_ROOT as the tldr root. Also, ensure 'git' is available. + +Note: This script uses an interactive prompt instead of positional arguments to: +- Prevent argument parsing errors with command names containing dashes (e.g. 'pacman -S') +- Provide clearer guidance for required inputs +- Allow for input validation before page creation + +Usage: + python3 scripts/set-alias-page.py [-p PAGE] [-S] [-l LANGUAGE] [-s] [-n] + +Options: + -p, --page PAGE + Specify the alias page in the format "platform/alias_command.md". + This will start an interactive prompt to create/update the page. + -S, --sync + Synchronize each translation's alias page (if exists) with that of the English page. + -l, --language LANGUAGE + Specify the language, a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR"). + -s, --stage + Stage modified pages (requires 'git' on $PATH and TLDR_ROOT to be a Git repository). + -n, --dry-run + Show what changes would be made without actually modifying the page. + +Examples: + 1. Create a new alias page interactively: + python3 scripts/set-alias-page.py -p osx/gsum + python3 scripts/set-alias-page.py --page osx/gsum + This will start a wizard that guides you through creating the page. + + 2. Read English alias pages and synchronize them into all translations: + python3 scripts/set-alias-page.py -S + python3 scripts/set-alias-page.py --sync + + 3. Read English alias pages and synchronize them for Brazilian Portuguese pages only: + python3 scripts/set-alias-page.py -S -l pt_BR + python3 scripts/set-alias-page.py --sync --language pt_BR + + 4. Read English alias pages, synchronize them into all translations and stage modified pages for commit: + python3 scripts/set-alias-page.py -Ss + python3 scripts/set-alias-page.py --sync --stage + + 5. Read English alias pages and show what changes would be made: + python3 scripts/set-alias-page.py -Sn + python3 scripts/set-alias-page.py --sync --dry-run +""" + +import re +from pathlib import Path +from dataclasses import dataclass +from _common import ( + IGNORE_FILES, + Colors, + get_tldr_root, + get_pages_dir, + get_target_paths, + get_locale, + get_status, + stage, + create_colored_line, + create_argument_parser, +) + + +@dataclass +class Config: + """Global configuration for the script""" + + root: Path + pages_dirs: list[Path] + templates: dict[str, str] + dry_run: bool = False + language: str = "" + + +@dataclass +class AliasPageContent: + """Content of an alias page""" + + title: str + original_command: str + documentation_command: str + + +@dataclass +class AliasPage: + """Represents an alias page with its path and content""" + + page_path: str + content: AliasPageContent + + +IGNORE_FILES += ("tldr.md", "aria2.md") + + +def test_ignore_files(): + assert IGNORE_FILES == ( + ".DS_Store", + "tldr.md", + "aria2.md", + ) + assert ".DS_Store" in IGNORE_FILES + assert "tldr.md" in IGNORE_FILES + + +def get_templates(root: Path): + """ + Get all alias page translation templates from + TLDR_ROOT/contributing-guides/translation-templates/alias-pages.md. + + Parameters: + root (Path): The path of local tldr repository, i.e., TLDR_ROOT. + + Returns: + dict of (str, str): Language labels map to alias page templates. + """ + + template_file = root / "contributing-guides/translation-templates/alias-pages.md" + with template_file.open(encoding="utf-8") as f: + lines = f.readlines() + + # Parse alias-pages.md + templates = {} + i = 0 + while i < len(lines): + if lines[i].startswith("###"): + lang = lines[i][4:].strip("\n").strip(" ") + while True: + i = i + 1 + if lines[i].startswith("Not translated yet."): + is_translated = False + break + elif lines[i].startswith("```markdown"): + i = i + 1 + is_translated = True + break + + if is_translated: + text = "" + while not lines[i].startswith("```"): + text += lines[i] + i = i + 1 + templates[lang] = text + + i = i + 1 + + return templates + + +def generate_alias_page_content( + template_content: str, + page_content: AliasPageContent, +) -> str: + """ + Generate alias page content by replacing placeholders in the template. + + Parameters: + template_content (str): The markdown template for the specific language. + page_content (AliasPageContent): The content of the alias page + + Returns: + str: The complete markdown content for the alias page. + """ + + template_command = "example" + + # Replace placeholders in template with actual values + result = template_content.replace(template_command, page_content.title, 1) + result = result.replace(template_command, page_content.original_command, 1) + result = result.replace(template_command, page_content.documentation_command) + + return result + + +def set_alias_page( + path: Path, + page_content: AliasPageContent, +) -> str: + """ + Write an alias page to disk. + + Parameters: + path (Path): Path to an alias page + page_content (AliasPageContent): The content to write to the page + + Returns: + str: Execution status + "" if the alias page standing for the same command already exists or if the locale does not match language_to_update. + "\x1b[36mpage added" + "\x1b[34mpage updated" + "\x1b[36mpage would be added" + "\x1b[34mpage would updated" + """ + + locale = get_locale(path) + if locale not in config.templates or ( + config.language != "" and locale != config.language + ): + return "" + + # Get existing alias command from the locale page + existing_locale_page_content = get_alias_command_in_page( + path, get_locale_alias_pattern(locale) + ) + + if ( + existing_locale_page_content.documentation_command + == page_content.documentation_command + ): + return "" + + new_locale_page_content = generate_alias_page_content( + config.templates[locale], + page_content, + ) + + # Determine status and write file + status = get_status( + "added" if not path.exists() else "updated", + config.dry_run, + "page", + ) + + if not config.dry_run: + path.parent.mkdir(parents=True, exist_ok=True) + with path.open("w", encoding="utf-8") as f: + f.write(new_locale_page_content) + + return status + + +def get_locale_alias_pattern(locale: str) -> str: + """Get alias pattern from template""" + + template_line = re.search(r">.*`example`", config.templates[locale]).group(0) + locale_alias_pattern = template_line[2 : template_line.find("`example`")].strip() + return locale_alias_pattern + + +def get_alias_command_in_page(path: Path, alias_pattern: str) -> AliasPageContent: + """ + Determine whether the given path is an alias page. + + Returns: + AliasPageContent: The page content, or empty strings if not an alias page + """ + + if not path.exists(): + return AliasPageContent(title="", original_command="", documentation_command="") + + with path.open(encoding="utf-8") as f: + content = f.read() + + lines = content.splitlines() + + title = next((line.strip("# \n") for line in lines if line.startswith("# ")), "") + + command_lines = [line for line in lines if "`" in line] + + if len(command_lines) != 2 or not title: + return AliasPageContent(title="", original_command="", documentation_command="") + + original_command = "" + documentation_command = "" + + alias_line = next((line for line in command_lines if alias_pattern in line), None) + if alias_line: + description_match = re.search(r"`([^`]+)`", alias_line) + if description_match: + original_command = description_match[1] + + tldr_line = next( + (line for line in command_lines if line.strip().startswith("`tldr")), None + ) + if tldr_line: + tldr_match = re.search(r"`tldr (.+)`", tldr_line.strip()) + if tldr_match: + documentation_command = tldr_match[1] + + return AliasPageContent( + title=title, + original_command=original_command, + documentation_command=documentation_command, + ) + + +def sync_alias_page_to_locale(pages_dir: Path, alias_page: AliasPage) -> list[Path]: + """ + Synchronize an alias page into a specific locale directory. + + Parameters: + pages_dir (Path): Directory containing pages for a specific locale + alias_page (AliasPage): The alias page to sync + + Returns: + list[Path]: List of paths that were modified + """ + + paths = [] + path = config.root / pages_dir / alias_page.page_path + status = set_alias_page(path, alias_page.content) + if status != "": + rel_path = "/".join(path.parts[-3:]) + paths.append(rel_path) + print(create_colored_line(Colors.GREEN, f"{rel_path} {status}")) + return paths + + +def get_english_alias_pages(en_path: Path) -> list[AliasPage]: + """ + Get all English alias pages with their commands. + + Parameters: + en_path (Path): Path to English pages directory + + Returns: + list[AliasPage]: List of alias pages with their content + """ + + alias_pages = [] + alias_pattern = get_locale_alias_pattern("en") + + # Get all platform directories (common, linux, etc.) + platforms = [ + page.name for page in en_path.iterdir() if page.name not in IGNORE_FILES + ] + + # Iterate through each platform + for platform in platforms: + platform_path = en_path / platform + page_paths = [ + f"{platform}/{page.name}" + for page in platform_path.iterdir() + if page.name not in IGNORE_FILES + ] + + # Check each command if it's an alias + for page_path in page_paths: + page_content = get_alias_command_in_page(en_path / page_path, alias_pattern) + if page_content.original_command: + alias_pages.append(AliasPage(page_path=page_path, content=page_content)) + + return alias_pages + + +def prompt_alias_page_info(page_path: str) -> AliasPageContent: + """ + Prompt user for alias page content. + + Returns: + AliasPageContent: The collected page content + """ + + en_path = config.root / "pages" + if not page_path.lower().endswith(".md"): + page_path = f"{page_path}.md" + exists = (en_path / page_path).exists() + + print(f"\n{'Updating' if exists else 'Creating new'} alias page...") + print(create_colored_line(Colors.CYAN, f"Page path: {page_path}")) + + print( + create_colored_line( + Colors.BLUE, + "\nThe title will be used in the first line of the page after '#'", + ) + ) + print(create_colored_line(Colors.GREEN, "Example: npm run-script")) + title = input(create_colored_line(Colors.CYAN, "Enter page title: ")).strip() + if not title: + raise SystemExit(create_colored_line(Colors.RED, "Title cannot be empty")) + + print( + create_colored_line( + Colors.BLUE, + "\nThe original command will appear in 'This command is an alias of `command`'", + ) + ) + print(create_colored_line(Colors.GREEN, "Example: npm run")) + original_command = input( + create_colored_line(Colors.CYAN, "Enter original command: ") + ).strip() + if not original_command: + raise SystemExit( + create_colored_line(Colors.RED, "Original command cannot be empty") + ) + + print( + create_colored_line( + Colors.BLUE, + "\nThe documentation command will be used in 'tldr command' line", + ) + ) + print(create_colored_line(Colors.GREEN, "Example: npm run")) + documentation_command = input( + create_colored_line( + Colors.CYAN, + f"Enter documentation command (press Enter to use {original_command}): ", + ) + ).strip() + + if not documentation_command: + documentation_command = original_command + + print("\nSummary:") + print(f"* Title: {create_colored_line(Colors.CYAN, title)}") + print(f"* Original command: {create_colored_line(Colors.CYAN, original_command)}") + print( + f"* Documentation command: {create_colored_line(Colors.CYAN, documentation_command)}" + ) + + print(create_colored_line(Colors.BLUE, "\nThis will create a page like:")) + print(create_colored_line(Colors.GREEN, f"# {title}")) + print( + create_colored_line( + Colors.GREEN, f"\n> This command is an alias of `{original_command}`." + ) + ) + print( + create_colored_line( + Colors.GREEN, "\n- View documentation for the original command:" + ) + ) + print(create_colored_line(Colors.GREEN, f"\n`tldr {documentation_command}`")) + + response = ( + input(create_colored_line(Colors.CYAN, "\nProceed? [Y/n] ")).lower().strip() + ) + if response and response not in ["y", "yes"]: + raise SystemExit(create_colored_line(Colors.RED, "Cancelled by user")) + + return AliasPageContent( + title=title, + original_command=original_command, + documentation_command=documentation_command, + ) + + +def main(): + parser = create_argument_parser( + "Sets the alias page for all translations of a page" + ) + args = parser.parse_args() + root = get_tldr_root() + pages_dirs = get_pages_dir(root) + templates = get_templates(root) + + global config + config = Config( + root=root, + pages_dirs=pages_dirs, + templates=templates, + dry_run=args.dry_run, + language=args.language, + ) + + target_paths = [] + + # Use '--page' option + if args.page != "": + page_info = prompt_alias_page_info(args.page) + target_paths += get_target_paths( + args.page, config.pages_dirs, check_exists=False + ) + + for path in target_paths: + rel_path = "/".join(path.parts[-3:]) + status = set_alias_page(path, page_info) + if status != "": + print(create_colored_line(Colors.GREEN, f"{rel_path} {status}")) + + # Use '--sync' option + elif args.sync: + en_path = config.root / "pages" + pages_dirs = config.pages_dirs.copy() + pages_dirs.remove(en_path) + + alias_pages = get_english_alias_pages(en_path) + + for alias_page in alias_pages: + for pages_dir in pages_dirs: + target_paths.extend(sync_alias_page_to_locale(pages_dir, alias_page)) + + # Use '--stage' option + if args.stage and not config.dry_run and len(target_paths) > 0: + stage(target_paths) + + +if __name__ == "__main__": + main() diff --git a/scripts/set-more-info-link.py b/scripts/set-more-info-link.py new file mode 100755 index 00000000000000..24ffbc69448d47 --- /dev/null +++ b/scripts/set-more-info-link.py @@ -0,0 +1,296 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: MIT + +""" +A Python script to add or update the "More information" link for all translations of a page. + +Note: If the current directory or one of its parents is called "tldr", the script will assume it is the tldr root, i.e., the directory that contains a clone of https://github.com/tldr-pages/tldr +If the script doesn't find it in the current path, the environment variable TLDR_ROOT will be used as the tldr root. Also, ensure 'git' is available. + +Usage: + python3 scripts/set-more-info-link.py [-p PAGE] [-S] [-l LANGUAGE] [-s] [-n] [LINK] + +Options: + -p, --page PAGE + Specify the page in the format "platform/command". This option allows setting the link for a specific page. + -S, --sync + Synchronize each translation's "More information" link (if exists) with that of the English page. + -l, --language LANGUAGE + Specify the language, a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR"). + -s, --stage + Stage modified pages (requires 'git' on $PATH and TLDR_ROOT to be a Git repository). + -n, --dry-run + Show what changes would be made without actually modifying the page. + +Positional Argument: + LINK The link to be set as the "More information" link. + +Examples: + 1. Set the link for a specific page: + python3 scripts/set-more-info-link.py -p common/tar https://example.com + python3 scripts/set-more-info-link.py --page common/tar https://example.com + + 2. Read English pages and synchronize the "More information" link across translations: + python3 scripts/set-more-info-link.py -S + python3 scripts/set-more-info-link.py --sync + + 3. Read English pages and synchronize the "More information" link for Brazilian Portuguese pages only: + python3 scripts/set-more-info-link.py -S -l pt_BR + python3 scripts/set-more-info-link.py --sync --language pt_BR + + 4. Read English pages, synchronize the "More information" link across translations and stage modified pages for commit: + python3 scripts/set-more-info-link.py -Ss + python3 scripts/set-more-info-link.py --sync --stage + + 5. Show what changes would be made across translations: + python3 scripts/set-more-info-link.py -Sn + python3 scripts/set-more-info-link.py --sync --dry-run +""" + +import re +from pathlib import Path +from _common import ( + IGNORE_FILES, + Colors, + get_tldr_root, + get_pages_dir, + get_target_paths, + get_locale, + get_status, + stage, + create_colored_line, + create_argument_parser, +) + +labels = { + "en": "More information:", + "ar": "لمزيد من التفاصيل:", + "bn": "আরও তথ্য পাবেন:", + "bs": "Više informacija:", + "ca": "Més informació:", + "cs": "Více informací:", + "da": "Mere information:", + "de": "Weitere Informationen:", + "es": "Más información:", + "fa": "اطلاعات بیشتر:", + "fi": "Lisätietoa:", + "fr": "Plus d'informations :", + "hi": "अधिक जानकारी:", + "id": "Informasi lebih lanjut:", + "it": "Maggiori informazioni:", + "ja": "もっと詳しく:", + "ko": "더 많은 정보:", + "lo": "ຂໍ້ມູນເພີ່ມເຕີມ:", + "ml": "കൂടുതൽ വിവരങ്ങൾ:", + "ne": "थप जानकारी:", + "nl": "Meer informatie:", + "no": "Mer informasjon:", + "pl": "Więcej informacji:", + "pt_BR": "Mais informações:", + "pt_PT": "Mais informações:", + "ro": "Mai multe informații:", + "ru": "Больше информации:", + "sh": "Više informacija:", + "sr": "Više informacija na:", + "sv": "Mer information:", + "ta": "மேலும் விவரத்திற்கு:", + "th": "ข้อมูลเพิ่มเติม:", + "tr": "Daha fazla bilgi için:", + "uk": "Більше інформації:", + "uz": "Ko'proq malumot:", + "zh_TW": "更多資訊:", + "zh": "更多信息:", +} + + +def set_link( + path: Path, link: str, dry_run: bool = False, language_to_update: str = "" +) -> str: + """ + Write a "More information" link in a page to disk. + + Parameters: + path (string): Path to a page + link (string): The "More information" link to insert. + dry_run (bool): Whether to perform a dry-run, i.e. only show the changes that would be made. + language_to_update (string): Optionally, the language of the translation to be updated. + + Returns: + str: Execution status + "" if the page does not need an update or if the locale does not match language_to_update. + "\x1b[36mlink added" + "\x1b[34mlink updated" + "\x1b[36mlink would be added" + "\x1b[34mlink would updated" + """ + + locale = get_locale(path) + if language_to_update != "" and locale != language_to_update: + # return empty status to indicate that no changes were made + return "" + + with path.open(encoding="utf-8") as f: + lines = f.readlines() + + desc_start = 0 + desc_end = 0 + + # find start and end of description + for i, line in enumerate(lines): + if line.startswith(">") and desc_start == 0: + desc_start = i + if not lines[i + 1].startswith(">") and desc_start != 0: + desc_end = i + break + + # build new line + if locale in ["bn", "hi", "ne"]: + new_line = f"> {labels[locale]} <{link}>।\n" + elif locale in ["ja"]: + new_line = f"> {labels[locale]} <{link}>。\n" + elif locale in ["th"]: + new_line = f"> {labels[locale]} <{link}>\n" + elif locale in ["zh", "zh_TW"]: + new_line = f"> {labels[locale]}<{link}>.\n" + else: + new_line = f"> {labels[locale]} <{link}>.\n" + + if lines[desc_end] == new_line: + # return empty status to indicate that no changes were made + return "" + + if re.search(r"^>.*<.+>", lines[desc_end]): + # overwrite last line + lines[desc_end] = new_line + action = "updated" + else: + # add new line + lines.insert(desc_end + 1, new_line) + action = "added" + + status = get_status(action, dry_run, "link") + + if not dry_run: # Only write to the path during a non-dry-run + with path.open("w", encoding="utf-8") as f: + f.writelines(lines) + + return status + + +def get_link(path: Path) -> str: + """ + Determine whether the given path has a "More information" link. + + Parameters: + path (Path): Path to a page + + Returns: + str: "" If the path doesn't exit or does not have a link, + otherwise return the "More information" link. + """ + + if not path.exists(): + return "" + with path.open(encoding="utf-8") as f: + lines = f.readlines() + + desc_start = 0 + desc_end = 0 + + # find start and end of description + for i, line in enumerate(lines): + if line.startswith(">") and desc_start == 0: + desc_start = i + if not lines[i + 1].startswith(">") and desc_start != 0: + desc_end = i + break + + # match link + if re.search(r"^>.*<.+>", lines[desc_end]): + return re.search("<(.+)>", lines[desc_end]).group(1) + else: + return "" + + +def sync( + root: Path, + pages_dirs: list[Path], + command: str, + link: str, + dry_run: bool = False, + language_to_update: str = "", +) -> list[Path]: + """ + Synchronize a "More information" link into all translations. + + Parameters: + root (Path): TLDR_ROOT + pages_dirs (list of Path's): Path's of page entry and platform, e.g. "page.fr/common". + command (str): A command like "tar". + link (str): A link like "https://example.com". + dry_run (bool): Whether to perform a dry-run, i.e. only show the changes that would be made. + language_to_update (str): Optionally, the language of the translation to be updated. + + Returns: + list (list of Path's): A list of Path's to be staged into git, using by --stage option. + """ + paths = [] + for page_dir in pages_dirs: + path = root / page_dir / command + if path.exists(): + status = set_link(path, link, dry_run, language_to_update) + if status != "": + rel_path = "/".join(path.parts[-3:]) + paths.append(rel_path) + print(create_colored_line(Colors.GREEN, f"{rel_path} {status}")) + return paths + + +def main(): + parser = create_argument_parser( + 'Sets the "More information" link for all translations of a page' + ) + parser.add_argument("link", type=str, nargs="?", default="") + args = parser.parse_args() + + root = get_tldr_root() + pages_dirs = get_pages_dir(root) + + target_paths = [] + + # Use '--page' option + if args.page != "": + target_paths += get_target_paths(args.page, pages_dirs) + + for path in target_paths: + rel_path = "/".join(path.parts[-3:]) + status = set_link(path, args.link, args.dry_run, args.language) + if status != "": + print(create_colored_line(Colors.GREEN, f"{rel_path} {status}")) + + # Use '--sync' option + elif args.sync: + pages_dirs.remove(root / "pages") + en_path = root / "pages" + platforms = [i.name for i in en_path.iterdir() if i.name not in IGNORE_FILES] + for platform in platforms: + platform_path = en_path / platform + commands = [ + f"{platform}/{page.name}" + for page in platform_path.iterdir() + if page.name not in IGNORE_FILES + ] + for command in commands: + link = get_link(root / "pages" / command) + if link != "": + target_paths += sync( + root, pages_dirs, command, link, args.dry_run, args.language + ) + + # Use '--stage' option + if args.stage and not args.dry_run and len(target_paths) > 0: + stage(target_paths) + + +if __name__ == "__main__": + main() diff --git a/scripts/set-page-title.py b/scripts/set-page-title.py new file mode 100755 index 00000000000000..3476a2ed3d871c --- /dev/null +++ b/scripts/set-page-title.py @@ -0,0 +1,210 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: MIT + +""" +A Python script to add or update the page title for all translations of a page. + +Note: If the current directory or one of its parents is called "tldr", the script will assume it is the tldr root, i.e., the directory that contains a clone of https://github.com/tldr-pages/tldr +If the script doesn't find it in the current path, the environment variable TLDR_ROOT will be used as the tldr root. Also, ensure 'git' is available. + +Usage: + python3 scripts/set-page-title.py [-p PAGE] [-S] [-l LANGUAGE] [-s] [-n] [TITLE] + +Options: + -p, --page PAGE + Specify the page in the format "platform/command". This option allows setting the title for a specific page. + -S, --sync + Synchronize each translation's title (if exists) with that of the English page. + -l, --language LANGUAGE + Specify the language, a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR"). + -s, --stage + Stage modified pages (requires 'git' on $PATH and TLDR_ROOT to be a Git repository). + -n, --dry-run + Show what changes would be made without actually modifying the page. + +Positional Argument: + TITLE The title to be set as the title. + +Examples: + 1. Set the title for a specific page: + python3 scripts/set-page-title.py -p common/tar tar + python3 scripts/set-page-title.py --page common/tar tar + + 2. Synchronize titles across translations: + python3 scripts/set-page-title.py -S + python3 scripts/set-page-title.py --sync + + 3. Read English pages and synchronize the title for Brazilian Portuguese pages only: + python3 scripts/set-page-title.py -S -l pt_BR + python3 scripts/set-page-title.py --sync --language pt_BR + + 4. Synchronize titles across translations and stage modified pages for commit: + python3 scripts/set-page-title.py -Ss + python3 scripts/set-page-title.py --sync --stage + + 5. Show what changes would be made across translations: + python3 scripts/set-page-title.py -Sn + python3 scripts/set-page-title.py --sync --dry-run +""" + +from pathlib import Path +from _common import ( + IGNORE_FILES, + Colors, + get_tldr_root, + get_pages_dir, + get_target_paths, + get_locale, + get_status, + stage, + create_colored_line, + create_argument_parser, +) + + +def set_page_title( + path: Path, title: str, dry_run: bool = False, language_to_update: str = "" +) -> str: + """ + Write a title in a page to disk. + + Parameters: + path (string): Path to a page + title (string): The title to insert. + dry_run (bool): Whether to perform a dry-run, i.e. only show the changes that would be made. + language_to_update (string): Optionally, the language of the translation to be updated. + + Returns: + str: Execution status + "" if the page does not need an update or if the locale does not match language_to_update. + "\x1b[36mtitle added" + "\x1b[34mtitle updated" + "\x1b[36mtitle would be added" + "\x1b[34mtitle would updated" + """ + + locale = get_locale(path) + if language_to_update != "" and locale != language_to_update: + # return empty status to indicate that no changes were made + return "" + + new_line = f"# {title}\n" + + # Read the content of the Markdown file + with path.open(encoding="utf-8") as f: + lines = f.readlines() + + if lines[0] == new_line: + # return empty status to indicate that no changes were made + return "" + + status = get_status("updated", dry_run, "title") + + if not dry_run: # Only write to the path during a non-dry-run + lines[0] = new_line + with path.open("w", encoding="utf-8") as f: + f.writelines(lines) + + return status + + +def get_page_title(path: Path) -> str: + """ + Determine whether the given path has a title. + + Parameters: + path (Path): Path to a page + + Returns: + str: "" If the path doesn't exit or does not have a title, + otherwise return the page title. + """ + + if not path.exists(): + return "" + with path.open(encoding="utf-8") as f: + first_line = f.readline().strip() + + return first_line.split("#", 1)[-1].strip() + + +def sync( + root: Path, + pages_dirs: list[Path], + command: str, + title: str, + dry_run: bool = False, + language_to_update: str = "", +) -> list[str]: + """ + Synchronize a page title into all translations. + + Parameters: + root (Path): TLDR_ROOT + pages_dirs (list of Path's): Path's of page entry and platform, e.g. "page.fr/common". + command (str): A command like "tar". + title (str): A title like "tar". + dry_run (bool): Whether to perform a dry-run, i.e. only show the changes that would be made. + language_to_update (str): Optionally, the language of the translation to be updated. + + Returns: + list (list of Path's): A list of Path's to be staged into git, using by --stage option. + """ + paths = [] + for page_dir in pages_dirs: + path = root / page_dir / command + if path.exists(): + status = set_page_title(path, title, dry_run, language_to_update) + if status != "": + rel_path = "/".join(path.parts[-3:]) + paths.append(rel_path) + print(create_colored_line(Colors.GREEN, f"{rel_path} {status}")) + return paths + + +def main(): + parser = create_argument_parser("Sets the title for all translations of a page") + parser.add_argument("title", type=str, nargs="?", default="") + args = parser.parse_args() + + root = get_tldr_root() + pages_dirs = get_pages_dir(root) + + target_paths = [] + + # Use '--page' option + if args.page != "": + target_paths += get_target_paths(args.page, pages_dirs) + + for path in target_paths: + rel_path = "/".join(path.parts[-3:]) + status = set_page_title(path, args.title) + if status != "": + print(create_colored_line(Colors.GREEN, f"{rel_path} {status}")) + + # Use '--sync' option + elif args.sync: + pages_dirs.remove(root / "pages") + en_path = root / "pages" + platforms = [i.name for i in en_path.iterdir() if i.name not in IGNORE_FILES] + for platform in platforms: + platform_path = en_path / platform + commands = [ + f"{platform}/{page.name}" + for page in platform_path.iterdir() + if page.name not in IGNORE_FILES + ] + for command in commands: + title = get_page_title(root / "pages" / command) + if title != "": + target_paths += sync( + root, pages_dirs, command, title, args.dry_run, args.language + ) + + # Use '--stage' option + if args.stage and not args.dry_run and len(target_paths) > 0: + stage(target_paths) + + +if __name__ == "__main__": + main() diff --git a/scripts/test-requirements.txt b/scripts/test-requirements.txt new file mode 100644 index 00000000000000..e079f8a6038dd2 --- /dev/null +++ b/scripts/test-requirements.txt @@ -0,0 +1 @@ +pytest diff --git a/scripts/test.sh b/scripts/test.sh old mode 100644 new mode 100755 index 1b73b18d5a76c8..de54054d01bc77 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT # This script is executed by GitHub Actions for every successful push (on any branch, PR or not). # It runs some basic tests on pages. If the build is also a PR, additional @@ -8,10 +9,100 @@ # NOTE: must be run from the repository root directory to correctly work! # NOTE: `set -e` is applied conditionally only if needed. -# Default test function, ran by `npm test`. +# check if a command is available to run in the system +function exists { + command -v "$1" >/dev/null 2>&1 +} + +# Wrapper around black as it outputs everything to stderr, +# but we want to only print if there are actual errors, and not +# the "All done!" success message. +function run_black { + target_black_version="$(awk -F '==' '$1 == "black" { print $2 }' < requirements.txt)" + + if grep -qw black <<< "$(pip3 --disable-pip-version-check list)"; then + errs="$(python3 -m black scripts --check --required-version "$target_black_version" 2>&1 || true)" + fi + + if [[ -z $errs ]]; then + # skip the black check if the command is not available in the system. + if [[ $CI != true ]] && ! exists black; then + echo "Skipping black check, command not available." + return 0 + fi + + errs="$(black scripts --check --required-version "$target_black_version" 2>&1 || true)" + fi + + if [[ $errs == *"does not match the running version"* ]]; then + echo -e "Skipping black check, required version not available, try running: pip3 install -r requirements.txt" + return 0 + fi + + # We want to ignore the exit code from black on failure so that we can + # do the conditional printing below + if [[ $errs != "All done!"* ]]; then + echo -e "$errs" >&2 + return 1 + fi +} + +function run_flake8 { + # skip flake8 check if the command is not available in the system. + if [[ $CI != true ]] && ! exists flake8; then + echo "Skipping flake8 check, command not available." + return 0 + fi + + flake8 scripts +} + +function run_pytest { + # skip pytest check if the command is not available in the system. + if [[ $CI != true ]] && ! exists pytest; then + echo "Skipping pytest check, command not available." + return 0 + fi + + errs="$(pytest scripts/*.py 2>&1 || true)" + if [[ $errs == *"failed"* ]]; then + echo -e "$errs" >&2 + return 1 + fi +} + +function run_shellcheck { + # skip shellcheck check if the command is not available in the system. + if [[ $CI != true ]] && ! exists shellcheck; then + echo "Skipping shellcheck check, command not available." + return 0 + fi + + shellcheck --enable require-double-brackets,avoid-nullary-conditions,quote-safe-variables scripts/*.sh +} + +# Default test function, run by `npm test`. function run_tests { - markdownlint pages*/**/*.md + find pages* -name '*.md' -exec markdownlint {} + tldr-lint ./pages + for f in ./pages.*; do + checks="TLDR104" + # Skip the `pages.en` symlink. + [[ -h $f ]] && continue + case $f in + *ar*|*bn*|*fa*|*hi*|*ja*|*ko*|*lo*|*ml*|*ne*|*ta*|*th*|*tr*) + checks+=",TLDR003,TLDR004,TLDR015" + ;; + *zh*) + checks+=",TLDR003,TLDR004,TLDR005,TLDR015" + ;; + esac + tldr-lint --ignore "$checks" "$f" + done + run_black + run_flake8 + run_pytest + run_shellcheck } # Special test function for GitHub Actions pull request builds. @@ -19,7 +110,7 @@ function run_tests { function run_tests_pr { errs=$(run_tests 2>&1) - if [ -n "$errs" ]; then + if [[ -n $errs ]]; then echo -e "Test failed!\n$errs\n" >&2 echo 'Sending errors to tldr-bot.' >&2 echo -n "$errs" | python3 scripts/send-to-bot.py report-errors @@ -30,9 +121,9 @@ function run_tests_pr { # Additional checks for GitHub Actions pull request builds. # Only taken as suggestions, does not make the build fail. function run_checks_pr { - msgs=$(bash scripts/check-pr.sh) + msgs=$(bash scripts/check-pr.sh -v) - if [ -n "$msgs" ]; then + if [[ -n $msgs ]]; then echo -e "\nCheck PR reported the following message(s):\n$msgs\n" >&2 echo 'Sending check results to tldr-bot.' >&2 echo -n "$msgs" | python3 scripts/send-to-bot.py report-check-results @@ -43,7 +134,7 @@ function run_checks_pr { # MAIN ################################### -if [ "$CI" = "true" ] && [ "$GITHUB_REPOSITORY" = "tldr-pages/tldr" ] && [ "$PULL_REQUEST_ID" != "" ]; then +if [[ $CI == true && $GITHUB_REPOSITORY == "tldr-pages/tldr" && $PULL_REQUEST_ID != "" ]]; then run_checks_pr run_tests_pr else @@ -51,4 +142,4 @@ else run_tests fi -echo 'Test ran succesfully!' +echo 'Test ran successfully!' diff --git a/scripts/update-command.py b/scripts/update-command.py new file mode 100755 index 00000000000000..389f4d2b684fcf --- /dev/null +++ b/scripts/update-command.py @@ -0,0 +1,273 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: MIT + +""" +A Python script to update the common contents of a command example across all languages. + +Usage: + python3 scripts/update-command.py [-c] [-u] [-n] + +Options: + -c, --common-part COMMON_PART + Specify the common part to be modified (any content between double brackets will be ignored). + -u, --updated-common-part UPDATED_COMMON_PART + Specify the updated common part (any content between double brackets will be ignored). + -n, --dry-run + Show what changes would be made without actually modifying the page. + + +Examples: + 1. Update 'cargo' page interactively: + python3 scripts/update-command.py common cargo + Enter the command examples (any content between double curly brackets will be ignored): + Enter the common part to modify: cargo search {{}} + Enter the change to be made: cargo search --limit 1 {{}} + + 2. Show what changes would be made by updating `sudo apt install {{}}` in 'apt' page to `sudo apt install {{}} --no-confirm`: + python3 scripts/update-command.py --dry-run -c "sudo apt install {{}}" -u "sudo apt install {{}} --no-confirm" linux apt +""" + +from pathlib import Path +import os +import re +import argparse +import sys +from functools import reduce +import logging + + +class MyFormatter(logging.Formatter): + grey = "\x1b[0;30m" + yellow = "\x1b[33;20m" + red = "\x1b[31;20m" + bold_red = "\x1b[31;1m" + reset = "\x1b[0m" + format = "%(levelname)s: %(message)s (%(filename)s:%(lineno)d)" + + FORMATS = { + logging.INFO: grey + format + reset, + logging.WARNING: yellow + format + reset, + logging.ERROR: red + format + reset, + } + + def format(self, record): + log_fmt = self.FORMATS.get(record.levelno) + formatter = logging.Formatter(log_fmt) + return formatter.format(record) + + +logger = logging.getLogger(__name__) +logger.propagate = False + +ch = logging.StreamHandler() +ch.setFormatter(MyFormatter()) + +logger.addHandler(ch) + + +def get_locales(base_path: Path) -> list[str]: + return [ + d.name.split(".")[1] + for d in base_path.iterdir() + if d.is_dir() and d.name.startswith("pages.") + ] + + +def take_cmd_example_with_common_part(cmd_examples: list[str], common_part: str) -> str: + return next( + ( + f"`{cmd_example}`" + for cmd_example in cmd_examples + if remove_placeholders(cmd_example) == common_part + ), + None, + ) + + +def get_cmd_examples_of_page(page_text: str) -> list[str]: + command_pattern = re.compile(r"`([^`]+)`") + return re.findall(command_pattern, page_text) + + +def find_cmd_example_with_common_part(common_part: str, page_text: str) -> list[str]: + cmd_examples = get_cmd_examples_of_page(page_text) + return take_cmd_example_with_common_part(cmd_examples, common_part) + + +def get_page_path(tldr_root: Path, locale: str, platform: str, filename: str): + if locale == "": + return tldr_root / "pages" / platform / filename + return tldr_root / f"pages.{locale}" / platform / filename + + +def split_by_curly_brackets(s: str) -> list[str]: + return re.split(r"(\{\{.*?\}\})", s) + + +def parse_placeholders(cmd_example: str) -> list[str]: + return [ + part.strip("{}") + for part in split_by_curly_brackets(cmd_example) + if part.startswith("{{") and part.endswith("}}") + ] + + +def place_placeholders(cmd_example: str, placeholders: list[str]) -> str: + return reduce( + lambda cmd, ph: cmd.replace("{{}}", "{{" + ph + "}}", 1), + placeholders, + cmd_example, + ) + + +def remove_placeholders(cmd_example: str) -> str: + return re.sub(r"\{\{.*?\}\}", "{{}}", cmd_example) + + +def add_backticks(cmd_example: str) -> str: + return "`" + cmd_example.strip("`") + "`" + + +def update_page( + page_path: Path, + old_common_part: str, + new_common_part: str, + dry_run: bool, +) -> None: + with page_path.open("r", encoding="utf-8") as file: + page_text = file.read() + + logger.info(f"Processing page: {page_path}") + + cmd_example = find_cmd_example_with_common_part(old_common_part, page_text) + + if not cmd_example: + logger.warning(f"Common part '{old_common_part}' not found in '{page_path}'.") + return False + + logger.info(f"Found command example: {cmd_example}") + new_cmd_example = add_backticks( + place_placeholders(new_common_part, parse_placeholders(cmd_example)) + ) + logger.info(f"{cmd_example} -> {new_cmd_example}") + if not dry_run: + new_page_text = page_text.replace(cmd_example, new_cmd_example) + + with page_path.open("w", encoding="utf-8") as file: + file.write(new_page_text) + return True + + +def parse_arguments() -> argparse.Namespace: + parser = argparse.ArgumentParser(description="Update tldr pages.") + parser.add_argument( + "platform", help="Relative path to the page from the repository root" + ) + parser.add_argument("filename", help="Page file name (without .md)") + parser.add_argument( + "-c", "--common-part", help="Common part to be modified", required=False + ) + parser.add_argument( + "-u", "--updated-common-part", help="Updated common part", required=False + ) + parser.add_argument( + "-n", + "--dry-run", + action="store_true", + help="Show what changes would be made without actually modifying the pages", + ) + parser.add_argument( + "-v", + "--verbose", + action="count", + default=0, + help="Increase verbosity level (use -v, -vv)", + ) + + args = parser.parse_args() + + if args.verbose > 0: + log_levels = [logging.WARNING, logging.INFO] + log_level = log_levels[min(args.verbose, len(log_levels) - 1)] + else: + log_level = logging.ERROR + + logging.basicConfig(level=log_level) + + return args + + +def update_pages( + tldr_root: str, + platform: str, + filename: str, + locales: list[str], + old_common_part: str, + updated_common_part: str, + dry_run: bool, +) -> None: + for locale in locales: + page_path = get_page_path(tldr_root, locale, platform, filename) + if page_path.exists() and page_path.is_file(): + exists = update_page( + page_path, + old_common_part, + updated_common_part, + dry_run, + ) + if not exists and locale == "": + logger.warning( + f"Common part '{old_common_part}' not found in '{page_path}'." + ) + + +def clean_cmd_example(cmd_example: str) -> str: + return remove_placeholders(cmd_example).strip("`") + + +def get_tldr_root() -> Path: + f = Path("update-command.py").resolve() + return next(path for path in f.parents if path.name == "tldr") + + if "TLDR_ROOT" in os.environ: + return Path(os.environ["TLDR_ROOT"]) + logger.error( + "Please set TLDR_ROOT to the location of a clone of https://github.com/tldr-pages/tldr." + ) + sys.exit(1) + + +def main(): + args = parse_arguments() + + print( + "Enter the command examples (any content between double curly brackets will be ignored):" + ) + common_part = ( + args.common_part + if args.common_part + else clean_cmd_example(input("Enter the common part to modify: ")) + ) + updated_common_part = ( + args.updated_common_part + if args.updated_common_part + else clean_cmd_example(input("Enter the change to be made: ")) + ) + + tldr_root = get_tldr_root() + locales = [""] + locales.extend(get_locales(tldr_root)) + + update_pages( + tldr_root, + args.platform, + args.filename + ".md", + locales, + common_part, + updated_common_part, + args.dry_run, + ) + + +if __name__ == "__main__": + main() diff --git a/scripts/wrong-filename.py b/scripts/wrong-filename.py new file mode 100755 index 00000000000000..b51c4f5662ed84 --- /dev/null +++ b/scripts/wrong-filename.py @@ -0,0 +1,104 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: MIT + +import sys +from pathlib import Path +import re + +OUTPUT_FILE = Path("inconsistent-filenames.txt") + +IGNORE_SET = { + ">", + "<", + "<>", + ":", + "?", + "|", + "jc.json", + "lid.libuser", + "mc.cli", + "mc.fm", + "pacman d", + "pacman f", + "pacman q", + "pacman r", + "pacman s", + "pacman t", + "pacman u", + "parted", + "print.runmailcap", + "print.win", + "print.zsh", + "python m json.tool", + "rename", + "snap.esa", + "snap.pkg", +} + + +def normalize(text: str) -> str: + """ + Normalize a string: + - replace '-' with spaces + - lowercase + - collapse multiple spaces into one + - strip leading/trailing whitespace + """ + text = text.replace("-", " ").lower().strip() + text = re.sub(r"\s+", " ", text) + return text + + +def check_file(path: Path) -> str | None: + """Check a single markdown file for name/title consistency.""" + filename = path.name + + # Remove known suffixes + command_file = filename + for suffix in (".md", ".fish", ".js", ".1", ".2", ".3"): + if command_file.endswith(suffix): + command_file = command_file[: -len(suffix)] + command_file = normalize(command_file) + + try: + with path.open("r", encoding="utf-8") as f: + firstline = f.readline().strip() + except Exception as exc: + return f"Error reading {path}: {exc}" + + if not firstline.startswith("#"): + return f"Inconsistency found in file: {path} has no title" + + command_page = normalize(firstline[2:]) + + # Skip if either filename or title is in the ignore set + if command_file in IGNORE_SET or command_page in IGNORE_SET: + return None + + if command_file != command_page: + return ( + f"Inconsistency found in file: {path}: " + f"{command_page} should be {command_file}" + ) + return None + + +def main() -> int: + """Run the filename consistency check.""" + base_dirs = [p for p in Path(".").glob("pages*") if p.is_dir()] + files = [f for base in base_dirs for f in base.rglob("*.md")] + + # Ensure OUTPUT_FILE is always empty at the start + OUTPUT_FILE.write_text("", encoding="utf-8") + + with OUTPUT_FILE.open("a", encoding="utf-8") as out: + for path in files: + result = check_file(path) + if result: + out.write(result + "\n") + + return 0 + + +if __name__ == "__main__": + sys.exit(main())

` + +- Aktualisiere die hervorgehobenen Unterschiede und Textfaltungen: + +`<:>diffupdate` + +- Öffne/Schließe die Textfaltung unter dem Cursor: + +`` diff --git a/pages.de/common/vimtutor.md b/pages.de/common/vimtutor.md new file mode 100644 index 00000000000000..d6efd1716807e5 --- /dev/null +++ b/pages.de/common/vimtutor.md @@ -0,0 +1,12 @@ +# vimtutor + +> Vim-Tutor zum Erlernen grundlegender Vim-Befehle. +> Weitere Informationen: . + +- Öffne den Vim-Tutor in der gegebenen Sprache (de, en, fr, ...): + +`vimtutor {{sprache}}` + +- Beende den Vim-Tutor: + +`<:>q` diff --git a/pages.de/common/watch.md b/pages.de/common/watch.md new file mode 100644 index 00000000000000..ab7fedc4f44b2d --- /dev/null +++ b/pages.de/common/watch.md @@ -0,0 +1,20 @@ +# watch + +> Führe einen Befehl wiederholt aus und überwache die Ausgabe im Vollbildmodus. +> Weitere Informationen: . + +- Überwache die Dateien im aktuellen Verzeichnis: + +`watch {{ls}}` + +- Überwache verfügbaren Festplatten-Speicherplatz und hebe die Änderungen hervor: + +`watch {{[-d|--differences]}} {{df}}` + +- Überwache "node"-Prozesse und aktualisiere alle 3 Sekunden: + +`watch {{[-n|--interval]}} {{3}} "{{ps aux | grep node}}"` + +- Überwache, ob sich der Festplatten-Speicherplatz ändert und höre mit der Überwachung auf, sobald eine Änderung auftritt: + +`watch {{[-g|--chgexit]}} {{df}}` diff --git a/pages.de/common/whoami.md b/pages.de/common/whoami.md index 148e7902a56135..acc670e276e2f5 100644 --- a/pages.de/common/whoami.md +++ b/pages.de/common/whoami.md @@ -1,11 +1,12 @@ # whoami -> Ausgabe des Benutzernamens des aktuellen Benutzers. +> Gib den Benutzernamen des aktuellen Benutzers aus. +> Weitere Informationen: . -- Ausgabe des aktiven Benutzernamens: +- Gib den aktiven Benutzernamen aus: `whoami` -- Ausgabe des Benutzernamens nach einer Änderung der Benutzer Identität: +- Gib den Benutzernamen nach einer Änderung der Benutzeridentität aus: `sudo whoami` diff --git a/pages.de/common/xzcat.md b/pages.de/common/xzcat.md new file mode 100644 index 00000000000000..4c94787946bed8 --- /dev/null +++ b/pages.de/common/xzcat.md @@ -0,0 +1,7 @@ +# xzcat + +> Dieser Befehl ist ein Alias von `xz`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr xz` diff --git a/pages.de/common/yarn.md b/pages.de/common/yarn.md new file mode 100644 index 00000000000000..2587a8839779a2 --- /dev/null +++ b/pages.de/common/yarn.md @@ -0,0 +1,28 @@ +# yarn + +> JavaScript und Node.js Paket-Manager Alternative. +> Weitere Informationen: . + +- Installiere ein Modul global: + +`yarn global add {{modul_name}}` + +- Installiere alle in der `package.json` Datei genannten Dependencies (`install` ist optional): + +`yarn install` + +- Installiere ein Modul und füge es als Dependency der `package.json` Datei hinzu (`--dev` um es als Dev-Dependency zu installieren): + +`yarn add {{modul_name}}@{{version}}` + +- Deinstalliere ein Modul und entferne es von der `package.json` Datei: + +`yarn remove {{modul_name}}` + +- Erstelle interaktiv eine `package.json` Datei: + +`yarn init` + +- Indentifiziere ob ein Modul eine Dependency ist und liste andere Module, die von diesem abhängen: + +`yarn why {{modul_name}}` diff --git a/pages.de/common/zoxide.md b/pages.de/common/zoxide.md new file mode 100644 index 00000000000000..9cf4d2e1308c7e --- /dev/null +++ b/pages.de/common/zoxide.md @@ -0,0 +1,29 @@ +# zoxide + +> Behält den Überblick über die am häufigsten verwendeten Verzeichnisse. +> Verwendet einen Ranking-Algorithmus, um zum besten Treffer zu navigieren. +> Weitere Informationen: . + +- Wechsel zu dem Verzeichnis mit dem höchsten Rang, das "foo" im Namen enthält: + +`zoxide query {{foo}}` + +- Wechsel in das höchstrangige Verzeichnis, das "foo" und danach "bar" enthält: + +`zoxide query {{foo}} {{bar}}` + +- Starte eine interaktive Verzeichnissuche (erfordert `fzf`): + +`zoxide query --interactive` + +- Füge ein Verzeichnis hinzu oder erhöhe seinen Rang: + +`zoxide add {{path/to/directory}}` + +- Entferne ein Verzeichnis aus der Datenbank von `zoxide`: + +`zoxide remove {{path/to/directory}}` + +- Generiere Shell-Konfigurationen für Befehls-Aliase (`z`, `za`, `zi`, `zq`, `zr`) für die angegebene Shell: + +`zoxide init {{bash|fish|zsh}}` diff --git a/pages.de/common/zsh.md b/pages.de/common/zsh.md index 8821ca73fa1f71..c9afb3c8b99b83 100644 --- a/pages.de/common/zsh.md +++ b/pages.de/common/zsh.md @@ -2,9 +2,9 @@ > Z SHell. > Mit `bash` und `sh` kompatible Eingabeaufforderung. -> Mehr Informationen: . +> Weitere Informationen: . -- Starte interaktive Eingabeaufforderung: +- Starte eine interaktive Eingabeaufforderung: `zsh` @@ -12,10 +12,18 @@ `zsh -c {{befehl}}` -- Führe Befehle aus datei aus (Script): +- Führe Befehle aus einem Skript aus: -`zsh {{datei}}` +`zsh {{pfad/zu/skript}}` -- Führe Befehle aus Datei aus und schreibe die Befehle zur Konsole: +- Führe Befehle aus einem Skript aus und schreibe die Befehle in die Konsole: -`zsh -x {{datei}}` +`zsh --xtrace {{pfad/zu/skript}}` + +- Starte eine interaktive Eingabeaufforderung, in der jeder Befehl ausgegeben wird, bevor er ausgeführt wird: + +`zsh --verbose` + +- Führe einen Befehl innerhalb von Zsh mit ausgeschalteten Glob-Mustern aus: + +`noglob {{befehl}}` diff --git a/pages.de/linux/a2disconf.md b/pages.de/linux/a2disconf.md new file mode 100644 index 00000000000000..e079944b21bdd0 --- /dev/null +++ b/pages.de/linux/a2disconf.md @@ -0,0 +1,12 @@ +# a2disconf + +> Deaktiviert eine Apache-Konfigurationsdatei auf Debian-basierten Betriebssystemen. +> Weitere Informationen: . + +- Deaktiviere eine Konfigurationsdatei: + +`sudo a2disconf {{konfigurationsdatei}}` + +- Zeige keine Informationsnachrichten an: + +`sudo a2disconf --quiet {{konfigurationsdatei}}` diff --git a/pages.de/linux/a2dismod.md b/pages.de/linux/a2dismod.md new file mode 100644 index 00000000000000..1a645a9873458c --- /dev/null +++ b/pages.de/linux/a2dismod.md @@ -0,0 +1,12 @@ +# a2dismod + +> Deaktiviert ein Apache-Modul auf Debian-basierten Betriebssystemen. +> Weitere Informationen: . + +- Deaktiviere ein Modul: + +`sudo a2dismod {{modul}}` + +- Zeige keine Informationsnachrichten an: + +`sudo a2dismod --quiet {{modul}}` diff --git a/pages.de/linux/a2dissite.md b/pages.de/linux/a2dissite.md new file mode 100644 index 00000000000000..1ef8659e332aaf --- /dev/null +++ b/pages.de/linux/a2dissite.md @@ -0,0 +1,12 @@ +# a2dissite + +> Deaktiviert einen Apache virtuellen Host auf Debian-basierten Betriebssystemen. +> Weitere Informationen: . + +- Deaktiviere einen virtuellen Host: + +`sudo a2dissite {{virtueller_host}}` + +- Zeige keine Informationsnachrichten an: + +`sudo a2dissite --quiet {{virtueller_host}}` diff --git a/pages.de/linux/a2enconf.md b/pages.de/linux/a2enconf.md new file mode 100644 index 00000000000000..8df54abc7b718d --- /dev/null +++ b/pages.de/linux/a2enconf.md @@ -0,0 +1,12 @@ +# a2enconf + +> Aktiviert eine Apache-Konfigurationsdatei auf Debian-basierten Betriebssystemen. +> Weitere Informationen: . + +- Aktiviere eine Konfigurationsdatei: + +`sudo a2enconf {{konfigurationsdatei}}` + +- Zeige keine Informationsnachrichten an: + +`sudo a2enconf --quiet {{konfigurationsdatei}}` diff --git a/pages.de/linux/a2enmod.md b/pages.de/linux/a2enmod.md new file mode 100644 index 00000000000000..f2738191860cd5 --- /dev/null +++ b/pages.de/linux/a2enmod.md @@ -0,0 +1,12 @@ +# a2enmod + +> Aktiviert ein Apache-Modul auf Debian-basierten Betriebssystemen. +> Weitere Informationen: . + +- Aktiviere ein Modul: + +`sudo a2enmod {{modul}}` + +- Zeige keine Informationsnachrichten an: + +`sudo a2enmod --quiet {{modul}}` diff --git a/pages.de/linux/a2ensite.md b/pages.de/linux/a2ensite.md new file mode 100644 index 00000000000000..20c19f18666fc0 --- /dev/null +++ b/pages.de/linux/a2ensite.md @@ -0,0 +1,12 @@ +# a2ensite + +> Aktiviert einen Apache virtuellen Host auf Debian-basierten Betriebssystemen. +> Weitere Informationen: . + +- Aktiviere einen virtuellen Host: + +`sudo a2ensite {{virtueller_host}}` + +- Zeige keine Informationsnachrichten an: + +`sudo a2ensite --quiet {{virtueller_host}}` diff --git a/pages.de/linux/a2query.md b/pages.de/linux/a2query.md new file mode 100644 index 00000000000000..dfd3839a61092a --- /dev/null +++ b/pages.de/linux/a2query.md @@ -0,0 +1,24 @@ +# a2query + +> Zeigt Apache Laufzeitkonfigurationen auf Debian-basierten Betriebssystemen an. +> Weitere Informationen: . + +- Zeige aktivierte Apache-Module an: + +`sudo a2query -m` + +- Prüfe, ob ein bestimmtes Modul installiert ist: + +`sudo a2query -m {{modulname}}` + +- Zeige aktivierte virtuelle Hosts an: + +`sudo a2query -s` + +- Zeige das aktuell aktivierte Multi-Processing-Modul an: + +`sudo a2query -M` + +- Zeige die Apache-Versionsnummer an: + +`sudo a2query -v` diff --git a/pages.de/linux/aa-complain.md b/pages.de/linux/aa-complain.md new file mode 100644 index 00000000000000..988086398c1263 --- /dev/null +++ b/pages.de/linux/aa-complain.md @@ -0,0 +1,13 @@ +# aa-complain + +> Setze eine AppArmor-Richtlinie in den Beschwerde-Modus. +> Siehe auch: `aa-disable`, `aa-enforce`, `aa-status`. +> Weitere Informationen: . + +- Setze eine Richtlinie in den Beschwerde-Modus: + +`sudo aa-complain {{pfad/zu/profil}}` + +- Setze Richtlinien in den Beschwerde-Modus: + +`sudo aa-complain --dir {{pfad/zu/profil}}` diff --git a/pages.de/linux/abbr.md b/pages.de/linux/abbr.md new file mode 100644 index 00000000000000..dfacc18904baaa --- /dev/null +++ b/pages.de/linux/abbr.md @@ -0,0 +1,21 @@ +# abbr + +> Abkürzungen für die fish shell verwalten. +> Die vom Nutzer definierten Abkürzungen werden nach der Eingabe durch die Langversionen ersetzt. +> Weitere Informationen: . + +- Neue Abkürzung hinzufügen: + +`abbr --add {{abkürzungsname}} {{befehl}} {{befehlsparameter}}` + +- Vorhandene Abkürzung umbenennen: + +`abbr --rename {{alter_name}} {{neuer_name}}` + +- Vorhandene Abkürzung löschen: + +`abbr --erase {{abkürzungsname}}` + +- Abkürzungen eines anderen Host über SSH importieren: + +`ssh {{host_name}} abbr --show | source` diff --git a/pages.de/linux/ac.md b/pages.de/linux/ac.md new file mode 100644 index 00000000000000..cd99fec2c79c7a --- /dev/null +++ b/pages.de/linux/ac.md @@ -0,0 +1,24 @@ +# ac + +> Zeigt an, wie lange Benutzer verbunden waren. +> Weitere Informationen: . + +- Zeige, wie viele Stunden der aktuelle Benutzer verbunden war: + +`ac` + +- Zeige, wie viele Stunden jeder Benutzer verbunden war: + +`ac {{[-p|--individual-totals]}}` + +- Zeige, wie viele Stunden ein bestimmter Benutzer verbunden war: + +`ac {{[-p|--individual-totals]}} {{nutzername}}` + +- Zeige, wie viele Stunden ein bestimmter Benutzer pro Tag verbunden war: + +`ac {{[-d|--daily-totals]}} {{[-p|--individual-totals]}} {{nutzername}}` + +- Zeige zusätzliche Details: + +`ac --compatibility` diff --git a/pages.de/linux/acpi.md b/pages.de/linux/acpi.md new file mode 100644 index 00000000000000..a45eb20b50a0d9 --- /dev/null +++ b/pages.de/linux/acpi.md @@ -0,0 +1,28 @@ +# acpi + +> Zeigt den Akkustatus oder Temperatur-Informationen an. +> Weitere Informationen: . + +- Zeige Informationen über den Akku an: + +`acpi` + +- Zeige Informationen zur Temperatur an: + +`acpi -t` + +- Zeige Informationen über die Kühlung an: + +`acpi -c` + +- Zeige Temperatur-Informationen in Fahrenheit an: + +`acpi -tf` + +- Zeige alle Informationen an: + +`acpi -V` + +- Extrahiere Informationen von `/proc`, anstatt von `/sys`: + +`acpi -p` diff --git a/pages.de/linux/add-apt-repository.md b/pages.de/linux/add-apt-repository.md new file mode 100644 index 00000000000000..158b343b434793 --- /dev/null +++ b/pages.de/linux/add-apt-repository.md @@ -0,0 +1,20 @@ +# add-apt-repository + +> Verwalte apt-Repository-Definitionen. +> Weitere Informationen: . + +- Füge ein neues apt-Repository hinzu: + +`add-apt-repository {{repository_spec}}` + +- Entferne ein apt-Repository: + +`add-apt-repository {{[-r|--remove]}} {{repository_spec}}` + +- Aktualisiere den Paketcache nach dem Hinzufügen eines Repositories: + +`add-apt-repository --update {{repository_spec}}` + +- Erlaube das Herunterladen von Quellpaketen aus dem Repository: + +`add-apt-repository {{[-s|--enable-source]}} {{repository_spec}}` diff --git a/pages.de/linux/addpart.md b/pages.de/linux/addpart.md new file mode 100644 index 00000000000000..c3277ef3751039 --- /dev/null +++ b/pages.de/linux/addpart.md @@ -0,0 +1,9 @@ +# addpart + +> Informiert den Linux-Kernel über die Existenz der angegebenen Partition. +> Dieser Befehl ist ein einfacher Wrapper um den `add partition` ioctl. +> Weitere Informationen: . + +- Informiere den Kernel über die Existenz der angegebenen Partition: + +`addpart {{gerät}} {{partition}} {{start}} {{länge}}` diff --git a/pages.de/linux/addr2line.md b/pages.de/linux/addr2line.md new file mode 100644 index 00000000000000..d0caafe5d0bd59 --- /dev/null +++ b/pages.de/linux/addr2line.md @@ -0,0 +1,16 @@ +# addr2line + +> Konvertiere Adressen von Binärdateien in Dateinamen und Zeilennummern. +> Weitere Informationen: . + +- Zeige den Dateinamen und die Zeilennummer des Quellcodes von einer Befehlsadresse einer ausführbaren Datei an: + +`addr2line --exe={{pfad/zu/binärdatei}} {{adresse}}` + +- Zeige den Funktionsnamen, Dateinamen und Zeilennummer an: + +`addr2line --exe={{pfad/zu/binärdatei}} --functions {{adresse}}` + +- Entmangele den Funktionsnamen für C++ Code: + +`addr2line --exe={{pfad/zu/binärdatei}} --functions --demangle {{adresse}}` diff --git a/pages.de/linux/adduser.md b/pages.de/linux/adduser.md new file mode 100644 index 00000000000000..3adf9dabe06a7a --- /dev/null +++ b/pages.de/linux/adduser.md @@ -0,0 +1,24 @@ +# adduser + +> Tool um Benutzer hinzuzufügen. +> Weitere Informationen: . + +- Erstelle einen neuen Benutzer mit einem Standard-Home-Verzeichnis und Aufforderung an den Benutzer, ein Passwort festzulegen: + +`adduser {{benutzername}}` + +- Erstelle einen neuen Benutzer ohne Home-Verzeichnis: + +`adduser --no-create-home {{benutzername}}` + +- Erstelle einen neuen Benutzer mit einem Home-Verzeichnis unter dem angegebenen Pfad: + +`adduser --home {{pfad/zu/home}} {{benutzername}}` + +- Erstelle einen neuen Benutzer, bei dem die angegebene Shell als Anmeldeshell eingestellt ist: + +`adduser --shell {{pfad/zu/shell}} {{benutzername}}` + +- Erstelle einen neuen Benutzer und füge ihn zur angegebenen Gruppe hinzu: + +`adduser --ingroup {{gruppe}} {{benutzername}}` diff --git a/pages.de/linux/alien.md b/pages.de/linux/alien.md new file mode 100644 index 00000000000000..3a4afe1a80d3e2 --- /dev/null +++ b/pages.de/linux/alien.md @@ -0,0 +1,20 @@ +# alien + +> Ein Installations-Paket in ein anderes Format umwandeln. +> Weitere Informationen: . + +- Ein spezifisches Installationspaket in das Debian Format umwandeln (`.deb` Erweiterung): + +`sudo alien --to-deb {{pfad/zu/paket}}` + +- Ein spezifisches Installationspaket in das Red Hat Format umwandeln (`.rpm` Erweiterung): + +`sudo alien --to-rpm {{pfad/zu/paket}}` + +- Ein spezifisches Installationspaket in das Slackware Format umwandeln (`.tgz` Erweiterung): + +`sudo alien --to-tgz {{pfad/zu/paket}}` + +- Ein spezifisches Installationspaket in das Debian Format umwandeln und auf dem System installieren: + +`sudo alien --to-deb --install {{pfad/zu/paket}}` diff --git a/pages.de/linux/alpine.md b/pages.de/linux/alpine.md index 201baaa8621029..f8d40a773f3448 100644 --- a/pages.de/linux/alpine.md +++ b/pages.de/linux/alpine.md @@ -2,15 +2,16 @@ > Ein E-Mail und Usenet Client mit pico/nano-inspirierten Interface. > Unterstützt die meisten modernen IMAP Server. +> Weitere Informationen: . -- Öffnet Apline: +- Öffne Alpine: `alpine` -- Öffnen Sie alpine direkt zum Bildschirm für die Nachrichtenzusammenstellung, um eine E-Mail an eine bestimmte E-Mail-Adresse zu senden: +- Öffne alpine im E-Mail-Editor, um eine E-Mail an eine bestimmte Adresse zu verfassen: `alpine {{email@example.net}}` -- Beendet Alpine: +- Beende Alpine: -`'q' dann 'y'` +`` diff --git a/pages.de/linux/alternatives.md b/pages.de/linux/alternatives.md new file mode 100644 index 00000000000000..e46faeb8927a42 --- /dev/null +++ b/pages.de/linux/alternatives.md @@ -0,0 +1,7 @@ +# alternatives + +> Dieser Befehl ist ein Alias von `update-alternatives`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr update-alternatives` diff --git a/pages.de/linux/amixer.md b/pages.de/linux/amixer.md new file mode 100644 index 00000000000000..ca34c43b25a30c --- /dev/null +++ b/pages.de/linux/amixer.md @@ -0,0 +1,12 @@ +# amixer + +> Mixer für den ALSA-Soundkarten-Treiber. +> Weitere Informationen: . + +- Erhöhe den Gesamtpegel um 10%: + +`amixer -D pulse sset Master {{10%+}}` + +- Verringere den Gesamtpegel um 10%: + +`amixer -D pulse sset Master {{10%-}}` diff --git a/pages.de/linux/anbox.md b/pages.de/linux/anbox.md new file mode 100644 index 00000000000000..6a55ae9ecfc51a --- /dev/null +++ b/pages.de/linux/anbox.md @@ -0,0 +1,8 @@ +# anbox + +> Führe Android-Anwendungen auf jedem Linux-Betriebssystem aus. +> Weitere Informationen: . + +- Starte Anbox im App Manager: + +`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}` diff --git a/pages.de/linux/apache2ctl.md b/pages.de/linux/apache2ctl.md new file mode 100644 index 00000000000000..0eb5c16fb32614 --- /dev/null +++ b/pages.de/linux/apache2ctl.md @@ -0,0 +1,25 @@ +# apache2ctl + +> Das CLI Tool um den Apache HTTP Web Server zu administrieren. +> Dieser Befehl wird mit Debian-basierten Betriebssystemen geliefert, für RHEL siehe `httpd`. +> Weitere Informationen: . + +- Starte den Apache daemon. Gibt einen Fehler aus, wenn er bereits läuft: + +`sudo apache2ctl start` + +- Stoppe den Apache Daemon: + +`sudo apache2ctl stop` + +- Starte den Apache Daemon neu: + +`sudo apache2ctl restart` + +- Überprüfe die Syntax einer Konfigurationsdatei: + +`sudo apache2ctl -t` + +- Liste alle geladenen Module auf: + +`sudo apache2ctl -M` diff --git a/pages.de/linux/apk.md b/pages.de/linux/apk.md new file mode 100644 index 00000000000000..cd30021ea4ee46 --- /dev/null +++ b/pages.de/linux/apk.md @@ -0,0 +1,28 @@ +# apk + +> Alpine Linux-Paketverwaltungstool. +> Weitere Informationen: . + +- Aktualisiere die Indizes von allen externen Repositories: + +`apk update` + +- Installiere ein neues Paket: + +`apk add {{paket}}` + +- Entferne ein Paket: + +`apk del {{paket}}` + +- Repariere oder aktualisiere ein Paket, ohne die Hauptabhängigkeiten zu ändern: + +`apk fix {{paket}}` + +- Suche Pakete mit einem Schlüsselwort: + +`apk search {{schlüsselwort}}` + +- Erhalte Informationen über ein bestimmtes Paket: + +`apk info {{paket}}` diff --git a/pages.de/linux/aplay.md b/pages.de/linux/aplay.md new file mode 100644 index 00000000000000..ebc059baa1457b --- /dev/null +++ b/pages.de/linux/aplay.md @@ -0,0 +1,16 @@ +# aplay + +> Command-line Musik Player für den ALSA-Soundkarten-Treiber. +> Weitere Informationen: . + +- Spiele eine bestimmte Datei (Abtastrate, Bittiefe, etc. werden automatisch für das Dateiformat erkannt): + +`aplay {{pfad/zu/datei}}` + +- Spiele die ersten 10 Sekunden einer bestimmten Datei mit 2500 Hz: + +`aplay --duration={{10}} --rate={{2500}} {{pfad/zu/datei}}` + +- Spiele die rohe Datei mit 22050 Hz, mono, 8-bit, als Mu-Lw `.au` Datei: + +`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{pfad/zu/datei}}` diff --git a/pages.de/linux/apport-bug.md b/pages.de/linux/apport-bug.md new file mode 100644 index 00000000000000..96d31873cf3010 --- /dev/null +++ b/pages.de/linux/apport-bug.md @@ -0,0 +1,20 @@ +# apport-bug + +> Reiche einen Fehlerbericht über Ubuntu ein. +> Weitere Informationen: . + +- Reiche einen Fehlerbericht über das gesamte System ein: + +`apport-bug` + +- Reiche einen Fehlerbericht über ein bestimmtes Paket ein: + +`apport-bug {{paket}}` + +- Reiche einen Fehlerbericht über eine bestimmte ausführbare Datei ein: + +`apport-bug {{pfad/zu/binärdatei}}` + +- Reiche einen Fehlerbericht über einen bestimmten Prozess ein: + +`apport-bug {{PID}}` diff --git a/pages.de/linux/apt-add-repository.md b/pages.de/linux/apt-add-repository.md index b4d6f576cd1878..5e877ee6e267e3 100644 --- a/pages.de/linux/apt-add-repository.md +++ b/pages.de/linux/apt-add-repository.md @@ -1,19 +1,20 @@ # apt-add-repository > Editiere die Repository-Listen. +> Weitere Informationen: . -- Fügt ein neues Repository hinzu: +- Füge ein neues Repository hinzu: `apt-add-repository {{repository_spec}}` -- Entfernt ein Repository: +- Entferne ein Repository: -`apt-add-repository --remove {{repository_spec}}` +`apt-add-repository --remove {{repository}}` -- Aktualisiert den Cache nachdem das Repository hinzugefügt wurde: +- Aktualisiere den Cache nachdem das Repository hinzugefügt wurde: -`apt-add-repository --update {{repository_spec}}` +`apt-add-repository --update {{repository}}` -- Aktiviert Source Pakete: +- Aktiviere Source-Pakete: -`apt-add-repository --enable-source {{repository_spec}}` +`apt-add-repository --enable-source {{repository}}` diff --git a/pages.de/linux/apt-cache.md b/pages.de/linux/apt-cache.md new file mode 100644 index 00000000000000..5367f165277c96 --- /dev/null +++ b/pages.de/linux/apt-cache.md @@ -0,0 +1,24 @@ +# apt-cache + +> Debian und Ubuntu-Paketsuche. +> Weitere Informationen: . + +- Suche nach einem Paket in deinen aktuellen Paketquellen: + +`apt-cache search {{suchbegriff}}` + +- Zeige die Paketinformationen zu einem Paket: + +`apt-cache show {{paket}}` + +- Überprüfe ob ein Paket installiert und up to date ist: + +`apt-cache policy {{paket}}` + +- Zeige die Abhängigkeiten eines Pakets: + +`apt-cache depends {{paket}}` + +- Zeige Pakete die von einem bestimmten Paket abhängen: + +`apt-cache rdepends {{paket}}` diff --git a/pages.de/linux/apt-file.md b/pages.de/linux/apt-file.md new file mode 100644 index 00000000000000..c64f0092f6e633 --- /dev/null +++ b/pages.de/linux/apt-file.md @@ -0,0 +1,20 @@ +# apt-file + +> Suche nach Dateien in apt-Paketen, auch in den nicht-installierten. +> Weitere Informationen: . + +- Aktualisiere die Metadatenbank: + +`sudo apt update` + +- Suche nach Paketen, die die/den spezifizierten Pfad/Datei enthalten: + +`apt-file {{search|find}} {{pfad/zu/datei}}` + +- Liste die Inhalte eines bestimmten Pakets auf: + +`apt-file {{show|list}} {{paketname}}` + +- Suche nach Paketen auf die die Regular Expression zutrifft: + +`apt-file {{search|find}} --regexp {{regular_expression}}` diff --git a/pages.de/linux/apt-get.md b/pages.de/linux/apt-get.md index f3958f3e6d486a..e270857906dd5a 100644 --- a/pages.de/linux/apt-get.md +++ b/pages.de/linux/apt-get.md @@ -2,35 +2,36 @@ > Debian und Ubuntu Paket Management Tool. > Suche mit `apt-cache` nach Paketen. +> Weitere Informationen: . -- Aktualisiert die Liste der Paketquellen (es wird empfohlen diesen Befehl als erstes auszuführen): +- Aktualisiere die Liste der Paketquellen (es wird empfohlen diesen Befehl zu Beginn auszuführen): `apt-get update` -- Installiert ein Paket oder aktualisiert es zur neusten Version: +- Installiere ein Paket oder aktualisiere es zur neuesten Version: -`apt-get install {{Paket}}` +`apt-get install {{paket}}` -- Entfernt ein Paket: +- Entferne ein Paket: -`apt-get remove {{Paket}}` +`apt-get remove {{paket}}` -- Entfernt ein Paket und die dazugehörigen Konfigurationen: +- Entferne ein Paket und die dazugehörigen Konfigurationen: -`apt-get purge {{Paket}}` +`apt-get purge {{paket}}` -- Aktualisiert alle Pakete auf die neuste Version: +- Aktualisiere alle Pakete auf die neueste Version: `apt-get upgrade` -- Reinigt das Repository - entfernt alle Dateinen (.deb) welche nichtmehr heruntergeladen werden können: +- Reinige das Repository: `apt-get autoclean` -- Entfernt alle Pakete welche nichtmehr benötigt werden: +- Entferne alle Pakete, die nicht mehr benötigt werden: `apt-get autoremove` -- Aktualisiert alle Pakete (wie `upgrade`), aber entfernt alle obsoleten Pakete: +- Aktualisiere alle Pakete (wie `upgrade`), aber entfernt alle obsoleten Pakete: `apt-get dist-upgrade` diff --git a/pages.de/linux/apt-key.md b/pages.de/linux/apt-key.md new file mode 100644 index 00000000000000..1aa58cd0dcc1fd --- /dev/null +++ b/pages.de/linux/apt-key.md @@ -0,0 +1,25 @@ +# apt-key + +> Schlüssel-Management-Tool für den APT-Paket-Manager auf Debian und Ubuntu. +> Notiz: `apt-key` ist veraltet (außer für `apt-key del` in Maintainerskripten). +> Weitere Informationen: . + +- Liste alle vertrauten Schlüssel auf: + +`apt-key list` + +- Füge einen Schlüssel hinzu: + +`apt-key add {{public_key_file.asc}}` + +- Lösche einen Schlüssel: + +`apt-key del {{key_id}}` + +- Füge einen Remote-Schlüssel hinzu: + +`wget -qO - {{https://host.tld/filename.key}} | apt-key add -` + +- Füge einen Schlüssel von einem Schlüsselserver hinzu nur mit der Schlüssel-ID: + +`apt-key adv --keyserver {{pgp.mit.edu}} --recv {{KEYID}}` diff --git a/pages.de/linux/apt-mark.md b/pages.de/linux/apt-mark.md new file mode 100644 index 00000000000000..ebf89d0c8bfa20 --- /dev/null +++ b/pages.de/linux/apt-mark.md @@ -0,0 +1,24 @@ +# apt-mark + +> Tool um den Status eines installierten Paketes zu verändern. +> Weitere Informationen: . + +- Markiere ein Paket als automatisch installiert: + +`sudo apt-mark auto {{paketname}}` + +- Halte ein Paket auf seiner aktuellen Version und verhindere dass es aktualisiert wird: + +`sudo apt-mark hold {{paketname}}` + +- Erlaube dass ein Paket wieder aktualisiert werden darf: + +`sudo apt-mark unhold {{paketname}}` + +- Zeige manuell installierte Pakete: + +`apt-mark showmanual` + +- Zeige gehaltene Pakete die nicht aktualisiert werden dürfen: + +`apt-mark showhold` diff --git a/pages.de/linux/apt.md b/pages.de/linux/apt.md index e88bfd657a54aa..53c8c40f84deba 100644 --- a/pages.de/linux/apt.md +++ b/pages.de/linux/apt.md @@ -1,32 +1,37 @@ # apt -> Debian und Ubuntu Paket Management Tool.. -> Empfohlene Alternative zu apt-get seit Ubuntu 16.04. +> Debian und Ubuntu Paket Management Tool. +> Empfohlene Alternative zu `apt-get` seit Ubuntu 16.04. +> Weitere Informationen: . -- Aktualisiert die Liste der Paketquellen (es wird empfohlen diesen Befehl als erstes auszuführen): +- Aktualisiere die Liste der Paketquellen (es wird empfohlen, diesen Befehl zu Beginn auszuführen): `sudo apt update` -- Sucht nach einem Paket: +- Suche nach einem Paket: -`apt search {{Paket}}` +`apt search {{paket}}` -- Zeigt Informationen über ein Paket: +- Zeige Informationen über ein Paket: -`apt show {{Paket}}` +`apt show {{paket}}` -- Installiert ein Paket oder aktualisiert es zur neusten Version: +- Installiere ein Paket oder aktualisiere es zur neusten Version: -`sudo apt install {{Paket}}` +`sudo apt install {{paket}}` -- Entfernt ein Paket: +- Entferne ein Paket: -`sudo apt remove {{Paket}}` +`sudo apt remove {{paket}}` -- Listet alle Pakete: +- Aktualisiere alle installierten Pakete auf die neueste Version: + +`sudo apt upgrade` + +- Liste alle Pakete auf: `apt list` -- Listet alle installierten Pakete: +- Liste alle installierten Pakete auf: -`apt list --installed` +`apt list {{[-i|--installed]}}` diff --git a/pages.de/linux/aptitude.md b/pages.de/linux/aptitude.md new file mode 100644 index 00000000000000..2ee7252b608e03 --- /dev/null +++ b/pages.de/linux/aptitude.md @@ -0,0 +1,36 @@ +# aptitude + +> Debian und Ubuntu Paket Management Tool. +> Weitere Informationen: . + +- Synchronisiere die Paketliste und verfügbaren Versionen. Dieser Command sollte zuerst ausgeführt werden bevor weitere aptitude Commands ausgeführt werden: + +`aptitude update` + +- Installiere ein neues Paket und seine Abhängigkeiten: + +`aptitude install {{paket}}` + +- Suche nach einem Paket: + +`aptitude search {{paket}}` + +- Suche nach einem installierten Paket (`?installed` ist ein aptitude Suchbegriff): + +`aptitude search '?installed ({{paket}})'` + +- Entferne ein Paket und alle Abhängigkeiten: + +`aptitude remove {{paket}}` + +- Aktualisiere installierte Pakete auf die neusten Versionen: + +`aptitude upgrade` + +- Aktualisiere installierte Pakete (wie `aptitude upgrade`), inklusive obsoleter Pakete und installiere zusätzliche Pakete um die neuen Paket-Abhängigkeiten zu erfüllen: + +`aptitude full-upgrade` + +- Friere ein installiertes Paket ein und verhindere, dass es automatisch aktualisiert wird: + +`aptitude hold '?installed({{paket}})'` diff --git a/pages.de/linux/arch-chroot.md b/pages.de/linux/arch-chroot.md new file mode 100644 index 00000000000000..f8db8f518de293 --- /dev/null +++ b/pages.de/linux/arch-chroot.md @@ -0,0 +1,20 @@ +# arch-chroot + +> Erweiterter `chroot`-Befehl zur Unterstützung des Arch-Linux-Installationsprozesses. +> Weitere Informationen: . + +- Starte eine interaktive Shell (Standardmäßig Bash) in einem neuen Root-Verzeichnis: + +`arch-chroot {{pfad/zu/neuem/root}}` + +- Spezifiziere den Benutzer (nicht der jetzige Benutzer) der die Shell ausführt: + +`arch-chroot -u {{anderer_benutzer}} {{pfad/zu/neuem/root}}` + +- Führe einen benutzerdefinierten Befehl (anstelle des Standardbefehls Bash) im neuen Root-Verzeichnis aus: + +`arch-chroot {{pfad/zu/neuem/root}} {{befehl}} {{befehlsparameter}}` + +- Gib die Shell an, die nicht die Standard-Shell Bash ist (in diesem Fall sollte das Paket `zsh` auf dem Zielsystem installiert worden sein): + +`arch-chroot {{pfad/zu/neuem/root}} {{zsh}}` diff --git a/pages.de/linux/archey.md b/pages.de/linux/archey.md new file mode 100644 index 00000000000000..228d8d4c048bc3 --- /dev/null +++ b/pages.de/linux/archey.md @@ -0,0 +1,8 @@ +# archey + +> Simples Tool um System-Informationen stylisch zu präsentieren. +> Weitere Informationen: . + +- Zeige System-Informationen: + +`archey` diff --git a/pages.de/linux/archinstall.md b/pages.de/linux/archinstall.md new file mode 100644 index 00000000000000..d918a932c296f9 --- /dev/null +++ b/pages.de/linux/archinstall.md @@ -0,0 +1,12 @@ +# archinstall + +> Geführte Arch Linux-Installation. +> Weitere Informationen: . + +- Starte den interaktiven Installer: + +`archinstall` + +- Starte einen voreingestellten Installer: + +`archinstall {{minimal|unattended}}` diff --git a/pages.de/linux/archlinux-java.md b/pages.de/linux/archlinux-java.md new file mode 100644 index 00000000000000..dd14545db403d7 --- /dev/null +++ b/pages.de/linux/archlinux-java.md @@ -0,0 +1,20 @@ +# archlinux-java + +> Ein Helferskript, das Funktionen für Java-Umgebungen bereitstellt. +> Weitere Informationen: . + +- Liste installierte Java-Umgebungen: + +`archlinux-java status` + +- Setze die default Java-Umgebung: + +`archlinux-java set {{java_environment}}` + +- Entferne die default Java-Umgebung: + +`archlinux-java unset` + +- Setze die default Java-Umgebung automatisch: + +`archlinux-java fix` diff --git a/pages.de/linux/arecord.md b/pages.de/linux/arecord.md new file mode 100644 index 00000000000000..49552f49e5707e --- /dev/null +++ b/pages.de/linux/arecord.md @@ -0,0 +1,24 @@ +# arecord + +> Sound Recorder für den ALSA-Soundkarten-Treiber. +> Weitere Informationen: . + +- Nehme einen Schnipsel in CD-Qualität auf (beende die Aufnahme mit ``): + +`arecord -vv --format=cd {{pfad/zu/datei.wav}}` + +- Nehme einen Schnipsel in CD-Qualität auf mit einer festen Länge von 10 Sekunden: + +`arecord -vv --format=cd --duration={{10}} {{pfad/zu/datei.wav}}` + +- Nehme einen Schnipsel auf und speichere es als MP3 (beende die Aufnahme mit ``): + +`arecord -vv --format=cd --file-type raw | lame -r - {{pfad/zu/datei.mp3}}` + +- Liste alle Soundkarten und digitalen Ausgabe Geräte: + +`arecord --list-devices` + +- Benutze das interaktive Interface (z.B. `` oder `` für Play oder Pause): + +`arecord --interactive` diff --git a/pages.de/linux/arithmetic.md b/pages.de/linux/arithmetic.md new file mode 100644 index 00000000000000..657f050990bc8c --- /dev/null +++ b/pages.de/linux/arithmetic.md @@ -0,0 +1,16 @@ +# arithmetic + +> Quiz über simple arithmetische Probleme. +> Weitere Informationen: . + +- Starte ein arithmetisches Quiz: + +`arithmetic` + +- Spezifiziere einen oder mehr arithmetische [O]peratoren um Probleme mit ihnen zu bekommen: + +`arithmetic -o {{+|-|x|/}}` + +- Gib eine Reichweite. Additions- und Multiplikationsprobleme werden Zahlen zwischen 0 und der gegebenen Reichweite enthalten. Subtraktionen und Divisionen werden Zahlen zwischen -1 und der gegebenen Reichweite enthalten: + +`arithmetic -r {{7}}` diff --git a/pages.de/linux/ark.md b/pages.de/linux/ark.md new file mode 100644 index 00000000000000..2fdc8c17c56958 --- /dev/null +++ b/pages.de/linux/ark.md @@ -0,0 +1,16 @@ +# ark + +> KDE-Archivierungstool. +> Weitere Informationen: . + +- Extrahiere ein Archiv ins aktuelle Verzeichnis: + +`ark --batch {{pfad/zu/archiv}}` + +- Verändere das Verzeichnis in das extrahiert wird: + +`ark --batch --destination {{pfad/zu/verzeichnis}} {{pfad/zu/archiv}}` + +- Erstelle ein Archiv wenn es nicht existiert und füge Dateien hinzu: + +`ark --add-to {{pfad/zu/archiv}} {{pfad/zu/datei1 pfad/zu/datei2 ...}}` diff --git a/pages.de/linux/as.md b/pages.de/linux/as.md new file mode 100644 index 00000000000000..030e184c3dfaa0 --- /dev/null +++ b/pages.de/linux/as.md @@ -0,0 +1,21 @@ +# as + +> Portabler GNU assembler. +> Hauptsächlich beabsichtigt um output von `gcc` für `ld` vorzubereiten. +> Weitere Informationen: . + +- Assemble eine Datei und schreibe den Output in eine in `a.out`: + +`as {{pfad/zu/datei.s}}` + +- Assemble den Output einer gegebenen Datei: + +`as {{pfad/zu/datei.s}} -o {{pfad/zu/out.o}}` + +- Generiere den Output schneller indem Leerzeichen und Kommentare nicht verarbeitet werden. (Sollte nur für vertrauenswürdige Compiler benutzt werden): + +`as -f {{pfad/zu/datei.s}}` + +- Inkludiere einen gegebenen Pfad in der Liste von Verzeichnissen für die Suche nach Dateien: + +`as -I {{pfad/zu/verzeichnis}} {{pfad/zu/datei.s}}` diff --git a/pages.de/linux/ascii.md b/pages.de/linux/ascii.md new file mode 100644 index 00000000000000..e597f859aee43c --- /dev/null +++ b/pages.de/linux/ascii.md @@ -0,0 +1,36 @@ +# ascii + +> Zeige ASCII-Aliase von Buchstaben. +> Weitere Informationen: . + +- Zeige ASCII-Aliase eines Buchstabens: + +`ascii {{a}}` + +- Zeige ASCII-Aliase im kurzen, skriptfreundlichen Modus: + +`ascii -t {{a}}` + +- Zeige ASCII-Aliase von mehreren Buchstaben: + +`ascii -s {{tldr}}` + +- Zeige die ASCII-Tabelle im Dezimalsystem: + +`ascii -d` + +- Zeige die ASCII-Tabelle im Hexadezimalsystem: + +`ascii -x` + +- Zeige die ASCII-Tabelle im Oktalsystem: + +`ascii -o` + +- Zeige die ASCII-Tabelle im Binärsystem: + +`ascii -b` + +- Zeige eine Übersicht über alle Optionen und die komplette ASCII-Tabelle: + +`ascii` diff --git a/pages.de/linux/asciiart.md b/pages.de/linux/asciiart.md new file mode 100644 index 00000000000000..8fbf5d840757f0 --- /dev/null +++ b/pages.de/linux/asciiart.md @@ -0,0 +1,28 @@ +# asciiart + +> Konvertiere Bilder zu ASCII. +> Weitere Informationen: . + +- Lese ein Bild aus einer Datei und zeige es als ASCII: + +`asciiart {{pfad/zu/datei.jpg}}` + +- Lese ein Bild aus einer URL und zeige es als ASCII: + +`asciiart {{www.example.com/bild.jpg}}` + +- Wähle die Breite der Ausgabe (standardmäßig 100): + +`asciiart --width {{50}} {{pfad/zu/bild.jpg}}` + +- Zeige die Ausgabe in Farbe: + +`asciiart --color {{pfad/zu/bild.jpg}}` + +- Wähle das Ausgabeformat (standardmäßig text): + +`asciiart --format {{text|html}} {{pfad/zu/bild.jpg}}` + +- Invertiere die Zeichentabelle: + +`asciiart --invert-chars {{pfad/zu/bild.jpg}}` diff --git a/pages.de/linux/batcat.md b/pages.de/linux/batcat.md new file mode 100644 index 00000000000000..2f2021b6a18d45 --- /dev/null +++ b/pages.de/linux/batcat.md @@ -0,0 +1,7 @@ +# batcat + +> Dieser Befehl ist ein Alias von `bat`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr bat` diff --git a/pages.de/linux/beep.md b/pages.de/linux/beep.md new file mode 100644 index 00000000000000..ea0ed6844a4879 --- /dev/null +++ b/pages.de/linux/beep.md @@ -0,0 +1,24 @@ +# beep + +> Ein Befehl, um den PC-Lautsprecher zu steuern. +> Weitere Informationen: . + +- Gib einen Ton aus: + +`beep` + +- Gib einen Ton mehrmals aus: + +`beep -r {{wiederholungen}}` + +- Gib einen Ton mit einer bestimmten Frequenz (Hz) und Länge (Millisekunden) aus: + +`beep -f {{frequenz}} -l {{länge}}` + +- Spiele jede neue Frequenz und Länge als einen eigenen Ton: + +`beep -f {{frequenz}} -l {{länge}} -n -f {{frequenz}} -l {{länge}}` + +- Spiele die C-Dur-Tonleiter: + +`beep -f {{262}} -n -f {{294}} -n -f {{330}} -n -f {{349}} -n -f {{392}} -n -f {{440}} -n -f {{494}} -n -f {{523}}` diff --git a/pages.de/linux/betterlockscreen.md b/pages.de/linux/betterlockscreen.md new file mode 100644 index 00000000000000..df0983017a24af --- /dev/null +++ b/pages.de/linux/betterlockscreen.md @@ -0,0 +1,20 @@ +# betterlockscreen + +> Einfacher, minimalistischer Sperrbildschirm. +> Weitere Informationen: . + +- Sperre den Bildschirm: + +`betterlockscreen --lock` + +- Ändere den Hintergrund des Sperrbildschirms: + +`betterlockscreen -u {{pfad/zu/bild.png}}` + +- Sperre den Bildschirm und zeige benutzerdefinierten Text an: + +`betterlockscreen -l pixel -t "{{benutzerdefinierter Sperrbildschirmtext}}"` + +- Sperre den Bildschirm mit einer benutzerdefinierten Monitor-Auszeit in Sekunden: + +`betterlockscreen --off {{5}} -l` diff --git a/pages.de/linux/cal.md b/pages.de/linux/cal.md new file mode 100644 index 00000000000000..ae3ace2b03b587 --- /dev/null +++ b/pages.de/linux/cal.md @@ -0,0 +1,24 @@ +# cal + +> Zeigt einen Kalender an, in dem der aktuelle Tag markiert ist. +> Weitere Informationen: . + +- Zeige den Kalender für den aktuellen Monat an: + +`cal` + +- Zeige den vorherigen, aktuellen und nächsten Monat an: + +`cal {{[-3|--three]}}` + +- Verwende Montag als ersten Tag der Woche: + +`cal {{[-m|--monday]}}` + +- Zeige den Kalender für ein bestimmtes Jahr an (4 Ziffern): + +`cal {{jahr}}` + +- Zeige den Kalender für einen bestimmten Monat eines Jahres an: + +`cal {{monat}} {{jahr}}` diff --git a/pages.de/linux/cc.md b/pages.de/linux/cc.md new file mode 100644 index 00000000000000..b5463650643fb7 --- /dev/null +++ b/pages.de/linux/cc.md @@ -0,0 +1,7 @@ +# cc + +> Dieser Befehl ist ein Alias von `gcc`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr gcc` diff --git a/pages.de/linux/certbot.md b/pages.de/linux/certbot.md index 2e13d5486978a1..e1d625e737485c 100644 --- a/pages.de/linux/certbot.md +++ b/pages.de/linux/certbot.md @@ -2,28 +2,28 @@ > The Let's Encrypt Agent zum automatischen Erhalten und Erneuern von TLS-Zertifikaten. > Nachfolger von `letsencrypt`. -> Mehr Informationen: . +> Weitere Informationen: . -- Beziehen eines neuen Zertifikats über die webroot-Autorisierung, aber ohne dieses automatisch zu installieren: +- Beziehe ein neues Zertifikat über die webroot-Autorisierung, aber ohne dieses automatisch zu installieren: -`sudo certbot certonly --webroot --webroot-path {{pfad/zu/webroot}} --domain {{subdomain.beispiel.de}}` +`sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{pfad/zu/webroot}} {{[-d|--domain]}} {{subdomain.beispiel.de}}` -- Beziehen eines neuen Zertifikats über die nginx-Autorisierung und automatische Installation des neuen Zertifikats: +- Beziehe ein neues Zertifikat über die nginx-Autorisierung und automatische Installation des neuen Zertifikats: -`sudo certbot --nginx --domain {{subdomain.beispiel.de}}` +`sudo certbot --nginx {{[-d|--domain]}} {{subdomain.beispiel.de}}` -- Beziehen eines neuen Zertifikats über die apache-Autorisierung und automatische Installation des neuen Zertifikats: +- Beziehe ein neues Zertifikat über die apache-Autorisierung und automatische Installation des neuen Zertifikats: -`sudo certbot --apache --domain {{subdomain.beispiel.de}}` +`sudo certbot --apache {{[-d|--domain]}} {{subdomain.beispiel.de}}` -- Erneuerung aller Let's Encrypt Zertifikate die in 30 Tagen or weniger auslaufen (nicht vergessen alle Server, die diese nutzen, neu zu starten): +- Erneuere alle Let's Encrypt Zertifikate die in 30 Tagen oder weniger auslaufen (nicht vergessen alle Server, die diese nutzen, neu zu starten): `sudo certbot renew` -- Simulation der Zertifikatserneuerung, ohne diese zu speichern: +- Simuliere die Zertifikatserneuerung, ohne diese zu speichern: -`sudo certbot --webroot --webroot-path {{pfad/zu/webroot}} --domain {{subdomain.beispiel.de}} --dry-run` +`sudo certbot --webroot {{[-w|--webroot-path]}} {{pfad/zu/webroot}} {{[-d|--domain]}} {{subdomain.beispiel.de}} --dry-run` -- Beziehen eines Test-Zertifikats: +- Beziehe ein Test-Zertifikat: -`sudo certbot --webroot --webroot-path {{pfad/zu/webroot}} --domain {{subdomain.beispiel.de}} --test-cert` +`sudo certbot --webroot {{[-w|--webroot-path]}} {{pfad/zu/webroot}} {{[-d|--domain]}} {{subdomain.beispiel.de}} --test-cert` diff --git a/pages.de/linux/cfdisk.md b/pages.de/linux/cfdisk.md index 2860498f45d4e2..624b31cc72c2e5 100644 --- a/pages.de/linux/cfdisk.md +++ b/pages.de/linux/cfdisk.md @@ -1,12 +1,12 @@ # cfdisk > Ein Programm zur Verwaltung von Partitionstabellen mittels einer Curses-basierten UI. -> Mehr Informationen: +> Weitere Informationen: . -- Das Partitionierungsinterface für eine bestimmte Festplatte öffnen: +- Öffne das Partitionierungsinterface für eine bestimmte Festplatte: `cfdisk {{/dev/sdX}}` -- Eine neue Partitionierungstabelle für eine bestimmte Festplatte erzeugen und bearbeiten: +- Erzeuge und bearbeite eine neue Partitionierungstabelle für eine bestimmte Festplatte: -`cfdisk --zero {{/dev/sdX}}` +`cfdisk {{[-z|--zero]}} {{/dev/sdX}}` diff --git a/pages.de/linux/cuyo.md b/pages.de/linux/cuyo.md new file mode 100644 index 00000000000000..a357712811c767 --- /dev/null +++ b/pages.de/linux/cuyo.md @@ -0,0 +1,20 @@ +# cuyo + +> Tetris-ähnliches Spiel. +> Weitere Informationen: . + +- Starte ein neues Spiel: + +`cuyo` + +- Verschiebe die Teile horizontal: + +`{{|||}}` + +- Drehe die Teile: + +`{{|}}` + +- Lasse die Teile schnell fallen: + +`{{|}}` diff --git a/pages.de/linux/dnf.md b/pages.de/linux/dnf.md index 801942486072a9..48b776f4cd6c7c 100644 --- a/pages.de/linux/dnf.md +++ b/pages.de/linux/dnf.md @@ -1,36 +1,32 @@ # dnf > Paketmanagement Tool für RHEL, Fedora, und CentOS (ersetzt yum). -> Mehr Informationen: . +> Weitere Informationen: . -- Aktualisierte alle Pakete auf die neuste Version: +- Aktualisiere alle Pakete auf die neueste Version: `sudo dnf upgrade` -- Sucht nach speziellen Schlüsselwörtern: +- Suche nach Paketen: -`dnf search {{Schlüsselwörter}}` +`dnf search {{schlüsselwort}}` -- Zeigt Daten über das Paket an: +- Zeige Daten über ein bestimmtes Paket an: -`dnf info {{Paket}}` +`dnf info {{paket}}` -- Installiert ein neues Paket: +- Installiere ein neues Paket: -`sudo dnf install {{Paket}}` +`sudo dnf install {{paket}}` -- Installiert ein neues Paket und akzeptiert alles: +- Entferne ein Paket: -`sudo dnf -y install {{Paket}}` +`sudo dnf remove {{paket}}` -- Entfernt ein Paket: - -`sudo dnf remove {{Paket}}` - -- Listet alle Pakete: +- Liste alle Pakete auf: `dnf list --installed` -- Zeige welches Paket eine Datei hat: +- Zeige welches Paket eine Datei besitzt: -`dnf provides {{Datei}}` +`dnf provides {{pfad/zu/datei}}` diff --git a/pages.de/linux/dpkg.md b/pages.de/linux/dpkg.md new file mode 100644 index 00000000000000..77ee4935f4d33a --- /dev/null +++ b/pages.de/linux/dpkg.md @@ -0,0 +1,29 @@ +# dpkg + +> Debian Paketmanager. +> Manche Unterbefehle wie `deb` sind separat dokumentiert. +> Weitere Informationen: . + +- Installiere ein Paket: + +`dpkg -i {{pfad/zu/datei.deb}}` + +- Entferne ein Paket: + +`dpkg -r {{paketname}}` + +- Liste installierte Pakete auf: + +`dpkg -l {{muster}}` + +- Liste die Inhalte eines Pakets auf: + +`dpkg -L {{paketname}}` + +- Liste die Inhalte einer lokalen Paketdatei auf: + +`dpkg -c {{pfad/zu/datei.deb}}` + +- Finde heraus welche Pakete eine Datei besitzen: + +`dpkg -S {{dateiname}}` diff --git a/pages.de/linux/hyprctl.md b/pages.de/linux/hyprctl.md new file mode 100644 index 00000000000000..3edeb74d2401f3 --- /dev/null +++ b/pages.de/linux/hyprctl.md @@ -0,0 +1,32 @@ +# hyprctl + +> Steuere Teile des Hyprland Wayland-Compositors. +> Weitere Informationen: . + +- Lade die Hyprland-Konfiguration neu: + +`hyprctl reload` + +- Gib den Namen das aktiven Fensters zurück: + +`hyprctl activewindow` + +- Zeige eine Liste aller verbundenen Eingabegeräte: + +`hyprctl devices` + +- Zeige eine Liste aller Ausgänge mit ihren jeweiligen Eigenschaften: + +`hyprctl workspaces` + +- Rufe einen Dispatcher auf: + +`hyprctl dispatch {{dispatcher}}` + +- Setzte ein Konfigurations-Schlüsselwort dynamisch: + +`hyprctl keyword {{keyword}} {{value}}` + +- Zeige die Version: + +`hyprctl version` diff --git a/pages.de/linux/ip-address.md b/pages.de/linux/ip-address.md index bdea3bf9f47675..4d0c0bcc12863c 100644 --- a/pages.de/linux/ip-address.md +++ b/pages.de/linux/ip-address.md @@ -1,27 +1,28 @@ # ip address -> IP Adressen Management Sub-Befehl. +> IP Adressen Management Unterbefehl. +> Weitere Informationen: . -- Zeigt Netzwerk Interfaces mit ihren Adressen: +- Zeige Netzwerk-Interfaces mit ihren Adressen: -`ip address` +`ip {{[a|address]}}` -- Zeigt nur die aktiven Netzwerk Interfaces: +- Zeige nur die aktiven Netzwerk-Interfaces: -`ip address show up` +`ip {{[a|address]}} {{[s|show]}} up` -- Zeigt Informationen über ein spezielles Interface: +- Zeige Informationen über ein bestimmtes Interface: -`ip address show dev {{eth0}}` +`ip {{[a|address]}} {{[s|show]}} {{eth0}}` -- Fügt eine Adresse zu einem Interface hinzu: +- Füge eine Adresse zu einem Interface hinzu: -`ip address add {{ip_adresse}} dev {{eth0}}` +`sudo ip {{[a|address]}} {{[a|add]}} {{ip_adresse}} dev {{eth0}}` -- Entfernt eine Adresse von einem Interface: +- Entferne eine Adresse von einem Interface: -`ip address delete {{ip_adresse}} dev {{eth0}}` +`sudo ip {{[a|address]}} {{[d|delete]}} {{ip_adresse}} dev {{eth0}}` - Entfernt alle IP Adressen in einem speziellen Bereich von einem Interface: -`ip address flush dev {{eth0}} scope {{global|host|link}}` +`sudo ip {{[a|address]}} {{[f|flush]}} {{eth0}} scope {{global|host|link}}` diff --git a/pages.de/linux/ip-route-list.md b/pages.de/linux/ip-route-list.md new file mode 100644 index 00000000000000..61b022ba93c337 --- /dev/null +++ b/pages.de/linux/ip-route-list.md @@ -0,0 +1,7 @@ +# ip route list + +> Dieser Befehl ist ein Alias von `ip route show`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ip route show` diff --git a/pages.de/linux/ip.md b/pages.de/linux/ip.md index 434ee06e6eb078..e2f2b150cf6df4 100644 --- a/pages.de/linux/ip.md +++ b/pages.de/linux/ip.md @@ -1,35 +1,36 @@ # ip -> Zeigt / manipuliert routing, Geräte, Policy routing und Tunnel. +> Zeige und manipuliere routing, Geräte, Policy routing und Tunnel. +> Weitere Informationen: . -- Zeigt Interfaces mit detailitern Infos: +- Zeige Interfaces mit detaillierten Informationen: -`ip address` +`ip {{[a|address]}}` -- Zeigt Interfaces mit kurzer Netzwerk Info: +- Zeige Interfaces mit kurzen Netzwerkinformationen: -`ip -brief address` +`ip {{[-br a|-brief address]}}` -- Zeigt Interfaces mit kurzer link layer Info: +- Zeige Interfaces mit kurzen link layer Informationen: -`ip -brief link` +`ip {{[-br l|-brief link]}}` -- Zeigt die Routing Tabelle: +- Zeige die Routing Tabelle: -`ip route` +`ip {{[r|route]}}` -- Zeigt Nachbarn (ARP Tabelle): +- Zeige Nachbarn (ARP Tabelle): -`ip neighbour` +`ip {{[n|neighbour]}}` -- Schaltet Interface ein/aus: +- Schalte ein bestimmtes Interface ein oder aus: -`ip link set {{Interface}} up/down` +`sudo ip {{[l|link]}} {{[s|set]}} {{interface}} {{up|down}}` -- fügt/entfernt eine IP zu einem Interface (hinzu): +- Entferne oder füge eine IP zu einem Interface hinzu: -`ip addr add/del {{ip}}/{{mask}} dev {{interface}}` +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface}}` -- Fügt eine Standard Route hinzu: +- Füge eine Standard Route hinzu: -`ip route add default via {{ip}} dev {{interface}}` +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface}}` diff --git a/pages.de/linux/jhead.md b/pages.de/linux/jhead.md new file mode 100644 index 00000000000000..3c4caa76add825 --- /dev/null +++ b/pages.de/linux/jhead.md @@ -0,0 +1,32 @@ +# jhead + +> Manipulation der Zeitstempel und EXIF Daten in Bilddateien. +> Weitere Informationen: . + +- Zeige alle EXIF Daten eines JPEG Bildes: + +`jhead {{pfad/zu/bild.jpg}}` + +- Setze die Dateizeit auf die EXIF Zeit (d.h. die Dateizeit wird geändert): + +`jhead -ft {{pfad/zu/bild.jpg}}` + +- Setze die EXIF Zeit auf die Dateizeit (d.h. die EXIF Zeit wird geändert): + +`jhead -dsft {{pfad/zu/bild.jpg}}` + +- Benenne alle Dateinamen der JPEG Bilder nach EXIF Datum/Zeit um (Format: Jahr_Monat_Tag-Stunde_Minute_Sekunde.jpg): + +`jhead -n%Y_%m_%d-%H_%M_%S *.jpg` + +- Rotiere alle Bilder im aktuellen Ordner verlustfrei (Basierend auf dem EXIF Orientierungstag): + +`jhead -autorot *.jpg` + +- Korrigiere den EXIF Zeitstempel (Format: Stunden:Minuten:Sekunden). Im Beispiel wird jedes Bild eine Stunde in die Vergangenheit geschoben (z.B. Zeitumstellung vergessen): + +`jhead -ta-1:00:00 *.jpg` + +- Entferne alle Metadaten einschließlich der Vorschaubilder aus der JPEG Datei: + +`jhead -purejpg {{pfad/zu/bild.jpg}}` diff --git a/pages.de/linux/lastb.md b/pages.de/linux/lastb.md new file mode 100644 index 00000000000000..7258b6e8793bc7 --- /dev/null +++ b/pages.de/linux/lastb.md @@ -0,0 +1,24 @@ +# lastb + +> Zeigt eine Liste der zuletzt angemeldeten Benutzer an. +> Weitere Informationen: . + +- Zeige eine Liste aller zuletzt angemeldeten Benutzer an: + +`sudo lastb` + +- Zeige eine Liste aller zuletzt angemeldeten Benutzer seit einem bestimmten Zeitpunkt an: + +`sudo lastb --since {{YYYY-MM-DD}}` + +- Zeige eine Liste aller zuletzt angemeldeten Benutzer bis zu einem bestimmten Zeitpunkt an: + +`sudo lastb --until {{YYYY-MM-DD}}` + +- Zeige eine Liste aller angemeldeten Benutzer zu einem bestimmten Zeitpunkt an: + +`sudo lastb --present {{hh:mm}}` + +- Zeige eine Liste aller zuletzt angemeldeten Benutzer und übersetze die IP zu einem Hostnamen: + +`sudo lastb --dns` diff --git a/pages.de/linux/lastlog.md b/pages.de/linux/lastlog.md new file mode 100644 index 00000000000000..743be38f589675 --- /dev/null +++ b/pages.de/linux/lastlog.md @@ -0,0 +1,20 @@ +# lastlog + +> Zeigt den letzten Login aller Benutzer oder eines bestimmten Benutzers an. +> Weitere Informationen: . + +- Zeige den letzten Login aller Benutzer an: + +`lastlog` + +- Zeige den lastlog Datensatz des angegebenen Benutzers an: + +`lastlog --user {{benutzername}}` + +- Zeige Datensätze älter als 7 Tage an: + +`lastlog --before 7` + +- Zeige Datensätze jünger als 3 Tage an: + +`lastlog --time 3` diff --git a/pages.de/linux/ldconfig.md b/pages.de/linux/ldconfig.md new file mode 100644 index 00000000000000..547f8e4246b20b --- /dev/null +++ b/pages.de/linux/ldconfig.md @@ -0,0 +1,16 @@ +# ldconfig + +> Symbolische Verknüpfungen und Zwischenspeicher für Abhängigkeiten von gemeinsam genutzten Bibliotheken konfigurieren. +> Weitere Informationen: . + +- Aktualisiere symbolische Verknüpfungen und erstelle den Zwischenspeicher neu (wird normalerweise ausgeführt, wenn eine neue Bibliothek installiert wird): + +`sudo ldconfig` + +- Aktualisiere die symbolischen Verknüpfungen für ein bestimmtes Verzeichnis: + +`sudo ldconfig -n {{pfad/zu/verzeichnis}}` + +- Gib die Bibliotheken im Zwischenspeicher aus und prüfe ob eine bestimmte Bibliothek vorhanden ist: + +`ldconfig -p | grep {{bibliotheksname}}` diff --git a/pages.de/linux/ldd.md b/pages.de/linux/ldd.md new file mode 100644 index 00000000000000..f1daef73478b00 --- /dev/null +++ b/pages.de/linux/ldd.md @@ -0,0 +1,12 @@ +# ldd + +> Zeigt Abhängigkeiten von dynamischen Bibliotheken an. +> Weitere Informationen: . + +- Zeige Abhängigkeiten von dynamischen Bibliotheken einer Binärdatei an: + +`ldd {{pfad/zu/binärdatei}}` + +- Zeige ungenutzte direkte Abhängigkeiten an: + +`ldd -u {{pfad/zu/binärdatei}}` diff --git a/pages.de/linux/line.md b/pages.de/linux/line.md new file mode 100644 index 00000000000000..cf5cc1b6d7d167 --- /dev/null +++ b/pages.de/linux/line.md @@ -0,0 +1,8 @@ +# line + +> Liest eine einzelne Eingabezeile. +> Weitere Informationen: . + +- Lies eine Eingabezeile: + +`line` diff --git a/pages.de/linux/locate.md b/pages.de/linux/locate.md new file mode 100644 index 00000000000000..90f89d3ed66902 --- /dev/null +++ b/pages.de/linux/locate.md @@ -0,0 +1,16 @@ +# locate + +> Zum schnellen Finden von Dateinamen. +> Weitere Informationen: . + +- Suche nach Dateien in der Datenbank. Hinweis: Die Datenbank wird periodisch aktualisiert (für gewöhnlich täglich oder wöchentlich): + +`locate {{muster}}` + +- Suche nach Dateien mit dem exakten Dateinamen. (Ein Muster ohne Platzhalterzeichen wird als `*muster*` interpretiert): + +`locate '*/{{dateiname}}'` + +- Aktualisiere die Datenbank. Dies ist nötig, falls kürzlich hinzugefügte Dateien gefunden werden sollen: + +`sudo updatedb` diff --git a/pages.de/linux/logsave.md b/pages.de/linux/logsave.md new file mode 100644 index 00000000000000..223e3813dcb681 --- /dev/null +++ b/pages.de/linux/logsave.md @@ -0,0 +1,20 @@ +# logsave + +> Speichert die Ausgabe eines Befehls in eine Logdatei. +> Weitere Informationen: . + +- Führe einen Befehl mit angegebenen Argumenten aus und speichere die Ausgabe in eine Logdatei: + +`logsave {{pfad/zu/logdatei}} {{befehl}}` + +- Übernimm die Eingabe der Standardeingabe und speichere diese in eine Logdatei: + +`logsave {{logdatei}} -` + +- Hänge die Ausgabe an eine Logdatei an, anstatt deren aktuellen Inhalt zu ersetzen: + +`logsave -a {{logfile}} {{befehl}}` + +- Zeige die ausführliche Ausgabe an: + +`logsave -v {{logfile}} {{befehl}}` diff --git a/pages.de/linux/logwatch.md b/pages.de/linux/logwatch.md new file mode 100644 index 00000000000000..56001a471b47e2 --- /dev/null +++ b/pages.de/linux/logwatch.md @@ -0,0 +1,12 @@ +# logwatch + +> Fasst viele verschiedene Logs für gängige Dienste (z.B. Apache, pam_unix, sshd, usw.) in einem einzelnen Bericht zusammen. +> Weitere Informationen: . + +- Analysiere Logs für einen Zeitraum mit einer bestimmten Detailtiefe: + +`logwatch --range {{yesterday|today|all|help}} --detail {{low|medium|others}}'` + +- Beschränke den Bericht auf Informationen zu einem ausgewählten Dienst: + +`logwatch --range {{all}} --service {{apache|pam_unix|etc}}` diff --git a/pages.de/linux/lsmod.md b/pages.de/linux/lsmod.md new file mode 100644 index 00000000000000..39c36618ed5402 --- /dev/null +++ b/pages.de/linux/lsmod.md @@ -0,0 +1,9 @@ +# lsmod + +> Zeigt den Status von Linux-Kernel-Modulen an. +> Siehe auch `modprobe`, welches Kernel-Module lädt. +> Weitere Informationen: . + +- Liste alle aktuell geladenen Kernel-Module auf: + +`lsmod` diff --git a/pages.de/linux/megadl.md b/pages.de/linux/megadl.md new file mode 100644 index 00000000000000..88c582d32a6318 --- /dev/null +++ b/pages.de/linux/megadl.md @@ -0,0 +1,7 @@ +# megadl + +> Dieser Befehl ist ein Alias von `megatools-dl`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr megatools-dl` diff --git a/pages.de/linux/mount.md b/pages.de/linux/mount.md new file mode 100644 index 00000000000000..ccd231e336cdae --- /dev/null +++ b/pages.de/linux/mount.md @@ -0,0 +1,28 @@ +# mount + +> Ermöglicht den Zugriff auf ein gesamtes Dateisystem in einem Verzeichnis. +> Weitere Informationen: . + +- Zeige alle eingehängten Dateisysteme: + +`mount` + +- Hänge ein Gerät in ein Verzeichnis ein: + +`mount {{[-t|--types]}} {{dateisystemtyp}} {{pfad/zu/gerätedatei}} {{pfad/zu/zielverzeichnis}}` + +- Hänge ein CD-ROM-Gerät (Dateisystemtyp ISO9660) in das Verzeichnis `/cdrom` schreibgeschützt ein: + +`mount {{[-t|--types]}} {{iso9660}} {{[-o|--options]}} ro {{/dev/cdrom}} {{/cdrom}}` + +- Hänge alle Dateisysteme ein, die in `/etc/fstab` definiert sind: + +`mount {{[-a|--all]}}` + +- Hänge ein Dateisystem ein, das in `/etc/fstab` beschrieben ist (z. B. `/dev/sda1 /meine_platte ext2 defaults 0 2`): + +`mount {{/meine_platte}}` + +- Hänge ein Verzeichnis in ein anderes Verzeichnis ein (danach sind die Inhalte über beide Pfade verfügbar): + +`mount {{[-B|--bind]}} {{pfad/zu/altem_verzeichnis}} {{pfad/zu/neuem_verzeichnis}}` diff --git a/pages.de/linux/ncal.md b/pages.de/linux/ncal.md new file mode 100644 index 00000000000000..f4e4084fbb0ef8 --- /dev/null +++ b/pages.de/linux/ncal.md @@ -0,0 +1,7 @@ +# ncal + +> Dieser Befehl ist ein Alias von `cal`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr cal` diff --git a/pages.de/linux/nixos-container.md b/pages.de/linux/nixos-container.md new file mode 100644 index 00000000000000..315adfe96444ca --- /dev/null +++ b/pages.de/linux/nixos-container.md @@ -0,0 +1,28 @@ +# nixos-container + +> Startet NixOS Container basierend auf Linux Containern. +> Weitere Informationen: . + +- Gibt eine Liste der gestarteten Container aus: + +`sudo nixos-container list` + +- Erstelle einen NixOS Container mit einer spezifischen Konfigurations-Datei: + +`sudo nixos-container create {{container_name}} --config-file {{nix_config_file_path}}` + +- Starte, stoppe, terminiere oder zerstöre den angegebenen Container: + +`sudo nixos-container {{start|stop|terminate|destroy|status}} {{container_name}}` + +- Führe ein Kommando in einem laufenden Container aus: + +`sudo nixos-container run {{container_name}} -- {{command}} {{command_arguments}}` + +- Aktualisiere eine Containerkonfiguration: + +`sudo $EDITOR /var/lib/container/{{container_name}}/etc/nixos/configuration.nix && sudo nixos-container update {{container_name}}` + +- Starte eine interaktive Shell innerhalb eines laufenden Containers: + +`sudo nixos-container root-login {{container_name}}` diff --git a/pages.de/linux/nixos-option.md b/pages.de/linux/nixos-option.md new file mode 100644 index 00000000000000..e1573ae7bb8b37 --- /dev/null +++ b/pages.de/linux/nixos-option.md @@ -0,0 +1,28 @@ +# nixos-option + +> Prüfe eine NixOS Konfiguration. +> Weitere Informationen: . + +- Liste alle Unterschlüssel eines angegebenen Options-Schlüssels: + +`nixos-option {{option_key}}` + +- Liste aktuelle Boot-Kernelmodule: + +`nixos-option boot.kernelModules` + +- Liste Authorisierungsschlüssel für einen spezifischen Benutzer: + +`nixos-option users.users.{{username}}.openssh.authorizedKeys.{{keyFiles|keys}}` + +- Liste alle Remote-Builder-Maschinen: + +`nixos-option nix.buildMachines` + +- Liste alle Unterschlüssel eines angegebenen Options-Schlüssels innerhalb einer angegebenen Konfigurations-Datei: + +`NIXOS_CONFIG={{path_to_configuration.nix}} nixos-option {{option_key}}` + +- Zeige rekursiv alle Werte eines Benutzers: + +`nixos-option -r users.users.{{user}}` diff --git a/pages.de/linux/nixos-rebuild.md b/pages.de/linux/nixos-rebuild.md new file mode 100644 index 00000000000000..d8102236f8a970 --- /dev/null +++ b/pages.de/linux/nixos-rebuild.md @@ -0,0 +1,36 @@ +# nixos-rebuild + +> Rekonfiguriere eine NixOS-Maschine. +> Weitere Informationen: . + +- Erstelle und wechsle zu einer neuen Konfiguration und nutze diese künftig als Standardkonfiguration: + +`sudo nixos-rebuild switch` + +- Gib der neu erstellten Standardkonfiguration einen Namen: + +`sudo nixos-rebuild switch {{[-p|--profile-name]}} {{name}}` + +- Erstelle und wechsle zu einer neuen Konfiguration, nutze diese künftig als Standardkonfiguration und installiere Updates: + +`sudo nixos-rebuild switch --upgrade` + +- Setze Änderungen der Konfiguration zurück und wechsle zur vorhergehenden Konfiguration: + +`sudo nixos-rebuild switch --rollback` + +- Erstelle eine neue Konfiguration und starte diese zukünftig direkt ohne sofort zu wechseln: + +`sudo nixos-rebuild boot` + +- Erstelle und wechsle direkt zu einer neuen Konfiguration, ändere den Standard-Start-Eintrag nicht (dieses Kommando ist für Testzwecke gedacht): + +`sudo nixos-rebuild test` + +- Erstelle die Konfiguration und öffne diese in einer virtuellen Maschine: + +`sudo nixos-rebuild build-vm` + +- Liste die verfügbaren Generationen wie im Bootloader-Menü auf: + +`nixos-rebuild list-generations` diff --git a/pages.de/linux/nologin.md b/pages.de/linux/nologin.md new file mode 100644 index 00000000000000..f5a78ed8256637 --- /dev/null +++ b/pages.de/linux/nologin.md @@ -0,0 +1,12 @@ +# nologin + +> Alternative Shell, die verhindert, dass sich ein Benutzer einloggt. +> Weitere Informationen: . + +- Setze die Login-Shell eines Benutzers auf `nologin`, um zu verhindern, dass der Benutzer sich anmeldet: + +`chsh -s {{user}} nologin` + +- Passe die Nachricht für Benutzer mit Login-Shell `nologin` an: + +`echo "{{nachricht}}" > /etc/nologin.txt` diff --git a/pages.de/linux/nordvpn.md b/pages.de/linux/nordvpn.md new file mode 100644 index 00000000000000..110beb3ba1606b --- /dev/null +++ b/pages.de/linux/nordvpn.md @@ -0,0 +1,32 @@ +# nordvpn + +> Kommandozeilen-Schnittstelle für NordVPN. +> Weitere Informationen: . + +- Interaktiv bei einem NordVPN-Konto anmelden: + +`nordvpn login` + +- Zeige den Verbindungsstatus an: + +`nordvpn status` + +- Stelle eine Verbindung zum nächsten NordVPN-Server her: + +`nordvpn connect` + +- Liste alle verfügbaren Länder auf: + +`nordvpn countries` + +- Stelle eine Verbindung zu einem NordVPN-Server in einem bestimmten Land her: + +`nordvpn connect {{Germany}}` + +- Stelle eine Verbindung zu einem NordVPN-Server in einem bestimmten Land und einer bestimmten Stadt her: + +`nordvpn connect {{Germany}} {{Berlin}}` + +- Aktiviere die `autoconnect`-Option: + +`nordvpn set autoconnect on` diff --git a/pages.de/linux/numlockx.md b/pages.de/linux/numlockx.md new file mode 100644 index 00000000000000..8d89f4c7fdf143 --- /dev/null +++ b/pages.de/linux/numlockx.md @@ -0,0 +1,20 @@ +# numlockx + +> Steuere den Num-Lock-Tasten-Status in X11-Sitzungen. +> Weitere Informationen: . + +- Zeige den aktuellen Status der Num-Lock-Taste an: + +`numlockx status` + +- Schalte die Num-Lock-Taste ein: + +`numlockx on` + +- Schalte die Num-Lock-Taste aus: + +`numlockx off` + +- Schalte die Num-Lock-Taste um: + +`numlockx toggle` diff --git a/pages.de/linux/pacman-database.md b/pages.de/linux/pacman-database.md new file mode 100644 index 00000000000000..bd8f80e2802400 --- /dev/null +++ b/pages.de/linux/pacman-database.md @@ -0,0 +1,30 @@ +# pacman --database + +> Mit der Arch Linux Paketdatenbank arbeiten. +> Verschiedene Attribute von installierten Paketen bearbeiten. +> Siehe auch: `pacman`. +> Weitere Informationen: . + +- Markiere ein Paket als implizit installiert: + +`sudo pacman --database --asdeps {{paketname}}` + +- Markiere ein Paket als explizit installiert: + +`sudo pacman --database --asexplicit {{paketname}}` + +- Überprüfe, dass alle Paketabhängigkeiten installiert sind: + +`pacman --database --check` + +- Überprüfe in den Repositorien, dass alle angegebenen Abhängigkeiten verfügbar sind: + +`pacman --database --check --check` + +- Zeige nur Fehlermeldungen: + +`pacman --database --check --quiet` + +- Zeige Hilfe an: + +`pacman --database --help` diff --git a/pages.de/linux/pacman-deptest.md b/pages.de/linux/pacman-deptest.md new file mode 100644 index 00000000000000..8355a4f81811f4 --- /dev/null +++ b/pages.de/linux/pacman-deptest.md @@ -0,0 +1,21 @@ +# pacman --deptest + +> Überprüfe alle angegebenen Abhängigkeiten und gib eine Liste von Abhängigkeiten zurück, welche auf dem System nicht erfüllt sind. +> Siehe auch: `pacman`. +> Weitere Informationen: . + +- Zeige Paketnamen von Abhängigkeiten an, welche nicht installiert sind: + +`pacman --deptest {{paket1 paket2 ...}}` + +- Überprüfe ob ein installiertes Paket eine Minimalversion erfüllt: + +`pacman --deptest "{{bash>=5}}"` + +- Überprüfe ob eine neuere version eines Paketes installiert ist: + +`pacman --deptest "{{bash>5}}"` + +- Zeige Hilfe an: + +`pacman --deptest --help` diff --git a/pages.de/linux/pacman-files.md b/pages.de/linux/pacman-files.md new file mode 100644 index 00000000000000..5bf9dd52a815fb --- /dev/null +++ b/pages.de/linux/pacman-files.md @@ -0,0 +1,29 @@ +# pacman --files + +> Arch Linux Paketverwaltungs-Werkzeug. +> Siehe auch: `pacman`, `pkgfile`. +> Weitere Informationen: . + +- Aktualisiere die Paketdatenbank: + +`sudo pacman --files --refresh` + +- Finde das Paket, welches eine bestimmte Datei besitzt: + +`pacman --files {{dateiname}}` + +- Finde das Paket, welches eine bestimmte Datei besitzt, mittels eines regulären Ausdrucks: + +`pacman --files --regex '{{suchmuster}}'` + +- Liste nur Paketnamen auf: + +`pacman --files --quiet {{dateiname}}` + +- Liste die Dateien auf welche einem bestimmten Paket gehören: + +`pacman --files --list {{paketname}}` + +- Zeige Hilfe an: + +`pacman --files --help` diff --git a/pages.de/linux/pacman-query.md b/pages.de/linux/pacman-query.md new file mode 100644 index 00000000000000..050ef49af8c00a --- /dev/null +++ b/pages.de/linux/pacman-query.md @@ -0,0 +1,37 @@ +# pacman --query + +> Arch Linux Paketverwaltungs-Werkzeug. +> Siehe auch: `pacman`. +> Weitere Informationen: . + +- Liste alle installierten Pakete und dessen Versionen auf: + +`pacman --query` + +- Liste alle ausdrücklich installierten Pakete und dessen Versionen auf: + +`pacman --query --explicit` + +- Finde heraus welches Paket eine Datei besitzt: + +`pacman --query --owns {{dateiname}}` + +- Zeige Informationen über ein installiertes Paket an: + +`pacman --query --info {{paketname}}` + +- Liste alle Dateien auf welche einem Paket gehören: + +`pacman --query --list {{paketname}}` + +- Liste verwaiste Pakete auf (Pakete welche als Abhängigkeit installiert wurden, aber von keinem Paket benötigt werden): + +`pacman --query --unrequired --deps --quiet` + +- Liste installierte Pakete auf welche nicht in den Repositorien gefunden werden können: + +`pacman --query --foreign` + +- Liste veraltete Pakete auf: + +`pacman --query --upgrades` diff --git a/pages.de/linux/pacman-remove.md b/pages.de/linux/pacman-remove.md new file mode 100644 index 00000000000000..83bc87593ab0da --- /dev/null +++ b/pages.de/linux/pacman-remove.md @@ -0,0 +1,33 @@ +# pacman --remove + +> Arch Linux Paketverwaltungs-Werkzeug. +> Siehe auch: `pacman`. +> Weitere Informationen: . + +- Entferne ein Paket und dessen Abhängigkeiten: + +`sudo pacman --remove --recursive {{paketname}}` + +- Entferne ein Paket sowie alle Abhängigkeiten und Konfigurationsdateien: + +`sudo pacman --remove --recursive --nosave {{paketname}}` + +- Entferne ein Paket ohne Bestätigungsaufforderung: + +`sudo pacman --remove --noconfirm {{paketname}}` + +- Entferne verwaiste Pakete (Pakete welche als Abhängigkeit installiert wurden, aber von keinem Paket benötigt werden): + +`sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)` + +- Entferne ein Paket und alle Pakete die davon abhängig sind: + +`sudo pacman --remove --cascade {{paketname}}` + +- Liste Pakete auf, welche betroffen sein würden (entfernt keine Pakete): + +`pacman --remove --print {{paketname}}` + +- Zeige Hilfe für diesen Unterbefehl an: + +`pacman --remove --help` diff --git a/pages.de/linux/pacman-sync.md b/pages.de/linux/pacman-sync.md new file mode 100644 index 00000000000000..7051e7f744ca5e --- /dev/null +++ b/pages.de/linux/pacman-sync.md @@ -0,0 +1,37 @@ +# pacman --sync + +> Arch Linux Paketverwaltungs-Werkzeug. +> Siehe auch: `pacman`. +> Weitere Informationen: . + +- Installiere ein neues Paket: + +`sudo pacman --sync {{paketname}}` + +- Synchronisiere und aktualisiere alle Pakete (füge `--downloadonly` hinzu um die Pakete nur herunterzuladen und nicht zu aktualisieren): + +`sudo pacman --sync --refresh --sysupgrade` + +- Aktualisiere alle Pakete und installiere ein neues ohne Bestätigungsaufforderung: + +`sudo pacman --sync --refresh --sysupgrade --noconfirm {{paketname}}` + +- Suche in der Paketdatenbank mit einem regulären Ausdruck oder Schlüsselwort: + +`pacman --sync --search "{{suchmuster}}"` + +- Zeige Informationen über ein Paket an: + +`pacman --sync --info {{paketname}}` + +- Überschreibe widersprüchliche Dateien während einer Paketaktualisierung: + +`sudo pacman --sync --refresh --sysupgrade --overwrite {{pfad/zu/datei}}` + +- Synchronisiere und aktualisiere alle Pakete, ignoriere aber ein bestimmtes Paket (kann mehr als einmal angegeben werden): + +`sudo pacman --sync --refresh --sysupgrade --ignore {{paketname}}` + +- Entferne nicht installierte Pakete und ungenutzte Repositorys vom Cache (nutze zwei `--clean` Operationen um alle Pakete aufzuräumen): + +`sudo pacman --sync --clean` diff --git a/pages.de/linux/pacman-upgrade.md b/pages.de/linux/pacman-upgrade.md new file mode 100644 index 00000000000000..c99919b9cf8994 --- /dev/null +++ b/pages.de/linux/pacman-upgrade.md @@ -0,0 +1,29 @@ +# pacman --upgrade + +> Arch Linux Paketverwaltungs-Werkzeug. +> Siehe auch: `pacman`. +> Weitere Informationen: . + +- Installiere ein oder mehrere Pakete von Dateien: + +`sudo pacman --upgrade {{pfad/zu/paket1.pkg.tar.zst}} {{pfad/zu/paket2.pkg.tar.zst}}` + +- Installiere ein Paket ohne Bestätigungsaufforderung: + +`sudo pacman --upgrade --noconfirm {{pfad/zu/paket.pkg.tar.zst}}` + +- Überschreibe widersprüchliche Dateien während einer Paketinstallation: + +`sudo pacman --upgrade --overwrite {{pfad/zu/datei}} {{pfad/zu/paket.pkg.tar.zst}}` + +- Installiere ein Paket und überspringe die Überprüfung von Abhängigkeitsversionen: + +`sudo pacman --upgrade --nodeps {{pfad/zu/paket.pkg.tar.zst}}` + +- Liste Pakete auf, welche betroffen sein würden (installiert keine Pakete): + +`pacman --upgrade --print {{pfad/zu/paket.pkg.tar.zst}}` + +- Zeige Hilfe an: + +`pacman --upgrade --help` diff --git a/pages.de/linux/pacman.md b/pages.de/linux/pacman.md new file mode 100644 index 00000000000000..b04d159c4c571b --- /dev/null +++ b/pages.de/linux/pacman.md @@ -0,0 +1,33 @@ +# pacman + +> Arch Linux Paket Management Tool. +> Siehe auch: `pacman-database`, `pacman-deptest`, `pacman-files`, `pacman-key`, `pacman-mirrors`, `pacman-query`, `pacman-remove`, `pacman-sync`, `pacman-upgrade`. +> Weitere Informationen: . + +- Synchronisiere und aktualisiere alle Pakete: + +`sudo pacman -Syu` + +- Installiere ein neues Paket: + +`sudo pacman -S {{paket}}` + +- Entferne ein Paket und dessen Abhängigkeiten: + +`sudo pacman -Rs {{paket}}` + +- Liste alle installierten Pakete und dessen Versionen auf: + +`pacman -Q` + +- Liste alle ausdrücklich installierten Pakete und dessen Versionen auf: + +`pacman -Qe` + +- Zeige verwaiste Pakete an, welche als Abhängigkeiten installiert wurden, aber nicht mehr von anderen Paketen benötigt werden: + +`pacman -Qtdq` + +- Leere den gesamten pacman Cache: + +`sudo pacman -Scc` diff --git a/pages.de/linux/paru.md b/pages.de/linux/paru.md new file mode 100644 index 00000000000000..1d7fc8d7d1e95f --- /dev/null +++ b/pages.de/linux/paru.md @@ -0,0 +1,28 @@ +# paru + +> Ein AUR-Helfer und pacman-Wrapper. +> Weitere Informationen: . + +- Interaktiv nach einem Paket suchen und es installieren: + +`paru {{paketname_oder_suchbegriff}}` + +- Alle Pakete synchronisieren und aktualisieren: + +`paru` + +- AUR-Pakete aktualisieren: + +`paru -Sua` + +- Informationen über ein Paket abrufen: + +`paru -Si {{paketname}}` + +- Herunterladen von `PKGBUILD` und anderen Paket-Quelldateien aus dem AUR oder dem ABS: + +`paru --getpkgbuild {{paketname}}` + +- Anzeigen der `PKGBUILD`-Datei eines Pakets: + +`paru --getpkgbuild --print {{paketname}}` diff --git a/pages.de/linux/qm-create.md b/pages.de/linux/qm-create.md new file mode 100644 index 00000000000000..0f80bba9cc82db --- /dev/null +++ b/pages.de/linux/qm-create.md @@ -0,0 +1,24 @@ +# qm create + +> Erzeugung einer virtuellen Maschine per QEMU/KVM Virtual Machine Manager. +> Weitere Informationen: . + +- Erzeuge eine virtuelle Maschine: + +`qm create {{100}}` + +- Erzeuge eine virtuelle Maschine und starte sie unmittelbar danach im Anschluss: + +`qm create {{100}} --start 1` + +- Lege den Typ des Betriebssystems auf der virtuellen Maschine fest: + +`qm create {{100}} --ostype {{win10}}` + +- Ersetze eine bestehende virtuelle Maschine (setzt deren Archivierung voraus): + +`qm create {{100}} --archive {{pfad/zu/backup_file.tar}} --force 1` + +- Lege ein Skript fest, welches automatisch abhängig vom Zustand der virtuellen Maschine ausgelöst werden soll: + +`qm create {{100}} --hookscript {{pfad/zu/skript.pl}}` diff --git a/pages.de/linux/qm-start.md b/pages.de/linux/qm-start.md new file mode 100644 index 00000000000000..1124322ce48a78 --- /dev/null +++ b/pages.de/linux/qm-start.md @@ -0,0 +1,16 @@ +# qm start + +> Starte eine virtuelle Maschine per QEMU/KVM Virtual Machine Manager. +> Weitere Informationen: . + +- Starte eine bestimmte virtuelle Maschine: + +`qm start {{100}}` + +- Lege den QEMU Maschinentyp fest (etwa den zu emulierenden Prozessor): + +`qm start {{100}} --machine {{q35}}` + +- Starte eine bestimmte virtuelle Maschine mit einem Timeout (Zeitabschaltung) nach 60 Sekunden: + +`qm start {{100}} --timeout {{60}}` diff --git a/pages.de/linux/qmrestore.md b/pages.de/linux/qmrestore.md new file mode 100644 index 00000000000000..1ab400269649fd --- /dev/null +++ b/pages.de/linux/qmrestore.md @@ -0,0 +1,20 @@ +# qmrestore + +> Wiederherstellung von QemuServer vzdump Backups. +> Weitere Informationen: . + +- Wiederherstellung einer virtuellen Maschine mittels Backupdatei auf dem ursprünglichen Speicher: + +`qmrestore {{pfad/zu/vzdump-qemu-100.vma.lzo}} {{100}}` + +- Überschreibung einer bestehenden virtuellen Maschine auf dem ursprünglichen Speicher: + +`qmrestore {{pfad/zu/vzdump-qemu-100.vma.lzo}} {{100}} --force true` + +- Wiederherstellung einer virtuellen Maschine auf einem bestimmten Speicher: + +`qmrestore {{pfad/zu/vzdump-qemu-100.vma.lzo}} {{100}} --storage {{local}}` + +- Sofortiger Start einer virtuellen Maschine bei gleichzeitiger Wiederherstellung im Hintergrund (nur bei Proxmox Backup Server): + +`qmrestore {{pfad/zu/vzdump-qemu-100.vma.lzo}} {{100}} --live-restore true` diff --git a/pages.de/linux/rev.md b/pages.de/linux/rev.md new file mode 100644 index 00000000000000..56a98384311791 --- /dev/null +++ b/pages.de/linux/rev.md @@ -0,0 +1,12 @@ +# rev + +> Kehre die Reihenfolge von Text um. +> Weitere Informationen: . + +- Kehre die Reihenfolge des Textes "Hallo" um: + +`echo "Hallo" | rev` + +- Kehre die Reihenfolge einer Datei um: + +`rev {{pfad/zu/datei}}` diff --git a/pages.de/linux/rpmkeys.md b/pages.de/linux/rpmkeys.md new file mode 100644 index 00000000000000..4c1a3ed7ef5d5d --- /dev/null +++ b/pages.de/linux/rpmkeys.md @@ -0,0 +1,17 @@ +# rpmkeys + +> Werkzeug um RPM Schüssel für RPM Repositorien zu importieren oder löschen. +> Wenn ein RPM Repository hinzugefügt wird, dann muss man auch den entsprechend RPM Schüssel importieren. +> Weitere Informationen: . + +- List alle importierte RPM Schüssel auf. Git auch die Schüssel ID aus welche beim späteren Löschen gebraucht wird: + +`sudo rpmkeys --list` + +- Entfern/Lösch eine zuvor importierten RPM Schüssel, angeben durch eine 16 stellige Nummer/Buchstaben Folge: + +`sudo rpmkeys --delete {{5a278d9c-5bbc73cb}}` + +- Importier einen RPM Schüssel eines Repositorien: + +`sudo rpmkeys --import {{pfad/zu/rpm_schüssel}}` diff --git a/pages.de/linux/see.md b/pages.de/linux/see.md new file mode 100644 index 00000000000000..7ac756e85ba7a8 --- /dev/null +++ b/pages.de/linux/see.md @@ -0,0 +1,13 @@ +# see + +> Alias für die Ansicht von `run-mailcap`. +> Ein Alias für die Aktion print eines `run-mailcap`. +> Weitere Informationen: . + +- Die Aktion see kann verwendet werden, um eine beliebige Datei (in der Regel ein Bild) im Standard-Mailcap-Explorer anzuzeigen: + +`see {{dateiname}}` + +- Verwenden mit `run-mailcap`: + +`run-mailcap --action=view {{dateiname}}` diff --git a/pages.de/linux/snap.esa.md b/pages.de/linux/snap.esa.md new file mode 100644 index 00000000000000..b6f936940d978d --- /dev/null +++ b/pages.de/linux/snap.esa.md @@ -0,0 +1,12 @@ +# esa snap + +> Sentinel Application Platform (SNAP) für die Prozessierung von Satellitendaten der Europäischen Raumfahrtagentur (ESA). +> Weitere Informationen: . + +- Zeige alle Updates an: + +`snap --nosplash --nogui --modules --list --refresh` + +- Zeige Hilfe an: + +`snap --help` diff --git a/pages.de/linux/sysctl.md b/pages.de/linux/sysctl.md new file mode 100644 index 00000000000000..152c0caac0f393 --- /dev/null +++ b/pages.de/linux/sysctl.md @@ -0,0 +1,24 @@ +# sysctl + +> Laufzeit-Kernelparameter auflisten und ändern. +> Weitere Informationen: . + +- Liste alle verfügbaren Kernelparameter mit ihren Werten auf: + +`sysctl -a` + +- Setze einen veränderbaren Kernelparameter: + +`sysctl -w {{sektion.tunable}}={{wert}}` + +- Frage aktuell geöffnete Datei-Handler ab: + +`sysctl fs.file-nr` + +- Frage die maximale Anzahl geöffneter Dateien ab: + +`sysctl fs.file-max` + +- Übernimm Änderungen aus der `/etc/sysctl.conf` Datei: + +`sysctl -p` diff --git a/pages.de/linux/ubuntu-bug.md b/pages.de/linux/ubuntu-bug.md new file mode 100644 index 00000000000000..b0121c6ad646fb --- /dev/null +++ b/pages.de/linux/ubuntu-bug.md @@ -0,0 +1,7 @@ +# ubuntu-bug + +> Dieser Befehl ist ein Alias von `apport-bug`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr apport-bug` diff --git a/pages.de/linux/xrandr.md b/pages.de/linux/xrandr.md new file mode 100644 index 00000000000000..1d9fbd90cc35ca --- /dev/null +++ b/pages.de/linux/xrandr.md @@ -0,0 +1,28 @@ +# xrandr + +> Setzt die Auflösung, Orientierung und/oder Reflektion eines Bildschirmausgangs. +> Weitere Informationen: . + +- Zeige den momentanen Systemzustand an (erkannte Bildschirme, Auflösungen, ...): + +`xrandr {{[-q|--query]}}` + +- Deaktiviere nicht mehr verbundene Ausgangsgeräte und aktiviere verbundene Ausgänge mit Standardeinstellungen: + +`xrandr --auto` + +- Ändere die Auflösung und Bildfrequenz von DisplayPort 1 zu 1920x1080, 60Hz: + +`xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}` + +- Setze die Auflösung von HDMI auf 1280x1024 und platziere HDMI1 rechts von DP1: + +`xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}` + +- Deaktiviere den Ausgang von VGA1: + +`xrandr --output {{VGA1}} --off` + +- Setze die Bildschirmhelligkeit von LVDS1 auf 50%: + +`xrandr --output {{LVDS1}} --brightness {{0.5}}` diff --git a/pages.de/linux/yay.md b/pages.de/linux/yay.md new file mode 100644 index 00000000000000..660f1f7710cc7c --- /dev/null +++ b/pages.de/linux/yay.md @@ -0,0 +1,37 @@ +# yay + +> Yet Another Yogurt: Ein Programm für Arch Linux um Pakete vom Arch User Repository zu installieren. +> Siehe auch `pacman`. +> Weitere Informationen: . + +- Suche und installiere Pakete von den Repositorys und dem AUR interaktiv: + +`yay {{paketname|suchbegriff}}` + +- Synchronisiere und aktualisiere alle Pakete von den Repositorys und dem AUR: + +`yay` + +- Synchronisiere und aktualisiere nur AUR-Pakete: + +`yay -Sua` + +- Installiere ein neues Paket von den Repositorys und dem AUR: + +`yay -S {{paketname}}` + +- Entferne ein Paket sowie alle Abhängigkeiten und Konfigurationsdateien: + +`yay -Rns {{paketname}}` + +- Suche in der Paketdatenbank nach einem Schlüsselwort in den Repositorys und dem AUR: + +`yay -Ss {{schlüsselwort}}` + +- Entferne verwaiste Pakete (als Abhängigkeit installiert, aber von keinem Paket benötigt): + +`yay -Yc` + +- Zeige Statistiken für installierte Pakete sowie die Gesundheit des Systems an: + +`yay -Ps` diff --git a/pages.de/linux/zathura.md b/pages.de/linux/zathura.md new file mode 100644 index 00000000000000..a5251fbfcbbb43 --- /dev/null +++ b/pages.de/linux/zathura.md @@ -0,0 +1,33 @@ +# zathura + +> Ein vim-artiger, modaler Dokumentenbetrachter mit integrierter Kommandozeile. +> Benötigt ein installiertes Backend (poppler, Postscript oder DjVu). +> Weitere Informationen: . + +- Öffne eine Datei: + +`zathura {{pfad/zu/datei}}` + +- Navigiere nach links/oben/unten/rechts: + +`{{||||}}` + +- Rotiere: + +`` + +- Invertiere die Farben: + +`` + +- Durchsuche den Text nach einem gegebenen String: + +`{{string}}` + +- Erstelle/lösche Lesezeichen: + +`<:>{{bmark|bdelete}} {{name_des_lesezeichens}}` + +- Liste alle Lesezeichen auf: + +`<:>blist` diff --git a/pages.de/linux/zypper.md b/pages.de/linux/zypper.md new file mode 100644 index 00000000000000..3e2a2d878996d2 --- /dev/null +++ b/pages.de/linux/zypper.md @@ -0,0 +1,28 @@ +# zypper + +> SUSE & openSUSE Package-Management-Werkzeug. +> Weitere Informationen: . + +- Synchronisiere die Liste von Paketen und verfügbaren Versionen: + +`zypper refresh` + +- Installiere ein neues Paket: + +`zypper install {{paket}}` + +- Entferne ein Paket: + +`zypper remove {{paket}}` + +- Aktualisiere installierte Pakete zur neuesten verfügbaren Version: + +`zypper update` + +- Suche Paket nach einem bestimmten Schema: + +`zypper search {{schema}}` + +- Zeige Informationen bezüglich der konfigurierten Repositories: + +`zypper repos --sort-by-priority` diff --git a/pages.de/osx/aa.md b/pages.de/osx/aa.md new file mode 100644 index 00000000000000..65605c89cc63d7 --- /dev/null +++ b/pages.de/osx/aa.md @@ -0,0 +1,7 @@ +# aa + +> Dieser Befehl ist ein Alias von `yaa`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr yaa` diff --git a/pages.de/osx/afinfo.md b/pages.de/osx/afinfo.md new file mode 100644 index 00000000000000..6d43d71b92ecda --- /dev/null +++ b/pages.de/osx/afinfo.md @@ -0,0 +1,29 @@ +# afinfo + +> Audiodatei-Metadaten-Parser für OS X. +> Eingebauter Befehl von OS X. +> Weitere Informationen: . + +- Zeige Informationen zu einer bestimmten Audiodatei an: + +`afinfo {{pfad/zu/datei}}` + +- Gib eine einzeilige Beschreibung der Audiodatei aus: + +`afinfo --brief {{pfad/zu/datei}}` + +- Gib Metadaten und den Inhalt des InfoDictionary der Audiodatei aus: + +`afinfo --info {{pfad/zu/datei}}` + +- Gib die Daten im XML-Format aus: + +`afinfo --xml {{pfad/zu/datei}}` + +- Gib Warnungen für die Audiodatei aus, falls vorhanden: + +`afinfo --warnings {{pfad/zu/datei}}` + +- Zeige eine Hilfe an: + +`afinfo --help` diff --git a/pages.de/osx/brew-bundle.md b/pages.de/osx/brew-bundle.md deleted file mode 100644 index 2245777f0a5e6c..00000000000000 --- a/pages.de/osx/brew-bundle.md +++ /dev/null @@ -1,28 +0,0 @@ -# brew bundle - -> Bundler für Homebrew, Homebrew Cask und den Mac App Store. -> Mehr Informationen: . - -- Installieren von Paketen welche im Brewfile (im gleichem Pfad) sind: - -`brew bundle` - -- Installieren von Paketen welche im Brewfile sind (das Brewfile liegt nicht im aktuellen Pfad): - -`brew bundle --file={{path/to/file}}` - -- Mach eine Liste mit aller installierter Software: - -`brew bundle dump` - -- Deinstalliert Software die nicht im Brewfile aufgelisted sind: - -`brew bundle cleanup --force` - -- Prüfe ob eine Software installiert oder updated werden muss: - -`brew bundle check` - -- Zeige alle Software welche im Brewfile aufgelistet sind: - -`brew bundle list --all` diff --git a/pages.de/osx/caffeinate.md b/pages.de/osx/caffeinate.md index 440b063ef2e0f6..22bd622a0efcdf 100644 --- a/pages.de/osx/caffeinate.md +++ b/pages.de/osx/caffeinate.md @@ -1,15 +1,16 @@ # caffeinate -> Hindert den Mac daran in den Schlaf-Modus zu gehen. +> Hindert den Mac daran, in den Schlaf-Modus zu gehen. +> Weitere Informationen: . -- Verhindern, dass der Mac für 1 Stunde (3600 Sekunden) schläft: +- Halte den Mac für 1 Stunde (3600 Sekunden) wach: `caffeinate -u -t {{3600}}` -- Verhindern, dass der Mac schläft, bis der Befehl abgeschlossen ist: +- Halte den Mac wach, bis ein bestimmter Befehl abgeschlossen ist: -`caffeinate -s {{command}}` +`caffeinate -s {{befehl}}` -- Verhindern, dass der Mac in den Schlaf-Modus geht, bis Sie Control-C eingeben: +- Halte den Mac wach, bis `caffeinate` durch `` beendet wird: `caffeinate -i` diff --git a/pages.de/osx/diskutil.md b/pages.de/osx/diskutil.md new file mode 100644 index 00000000000000..a3e44488ef9574 --- /dev/null +++ b/pages.de/osx/diskutil.md @@ -0,0 +1,20 @@ +# diskutil + +> Dienstprogramm zur Verwaltung lokaler Festplatten und Volumes. +> Weitere Informationen: . + +- Auflisten aller aktuell verfügbaren Festplatten, Partitionen und gemounteten Volumes: + +`diskutil list` + +- Reparieren der Dateisystem-Datenstrukturen eines Volumes: + +`diskutil repairVolume {{/dev/diskX}}` + +- Einen Datenträger aushängen: + +`diskutil unmountDisk {{/dev/diskX}}` + +- Eine CD/DVD auswerfen (zuerst aushängen): + +`diskutil eject {{/dev/disk1}}` diff --git a/pages.de/osx/g[.md b/pages.de/osx/g[.md new file mode 100644 index 00000000000000..8c4bca05a23f40 --- /dev/null +++ b/pages.de/osx/g[.md @@ -0,0 +1,7 @@ +# g[ + +> Dieser Befehl ist ein Alias von `[`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr [` diff --git a/pages.de/osx/gb2sum.md b/pages.de/osx/gb2sum.md new file mode 100644 index 00000000000000..3180353a22e47c --- /dev/null +++ b/pages.de/osx/gb2sum.md @@ -0,0 +1,7 @@ +# gb2sum + +> Dieser Befehl ist ein Alias von `b2sum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr b2sum` diff --git a/pages.de/osx/gbase32.md b/pages.de/osx/gbase32.md new file mode 100644 index 00000000000000..2b75eb48a401db --- /dev/null +++ b/pages.de/osx/gbase32.md @@ -0,0 +1,7 @@ +# gbase32 + +> Dieser Befehl ist ein Alias von `base32`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr base32` diff --git a/pages.de/osx/gbase64.md b/pages.de/osx/gbase64.md new file mode 100644 index 00000000000000..c6034eac9c26b7 --- /dev/null +++ b/pages.de/osx/gbase64.md @@ -0,0 +1,7 @@ +# gbase64 + +> Dieser Befehl ist ein Alias von `base64`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common base64` diff --git a/pages.de/osx/gbasename.md b/pages.de/osx/gbasename.md new file mode 100644 index 00000000000000..5c2bfb28a1c2b6 --- /dev/null +++ b/pages.de/osx/gbasename.md @@ -0,0 +1,7 @@ +# gbasename + +> Dieser Befehl ist ein Alias von `basename`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr basename` diff --git a/pages.de/osx/gbasenc.md b/pages.de/osx/gbasenc.md new file mode 100644 index 00000000000000..16f4fcc8a2e176 --- /dev/null +++ b/pages.de/osx/gbasenc.md @@ -0,0 +1,7 @@ +# gbasenc + +> Dieser Befehl ist ein Alias von `basenc`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr basenc` diff --git a/pages.de/osx/gcat.md b/pages.de/osx/gcat.md new file mode 100644 index 00000000000000..c8d2f61f6b55b9 --- /dev/null +++ b/pages.de/osx/gcat.md @@ -0,0 +1,7 @@ +# gcat + +> Dieser Befehl ist ein Alias von GNU `cat`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux cat` diff --git a/pages.de/osx/gchcon.md b/pages.de/osx/gchcon.md new file mode 100644 index 00000000000000..915b465b742663 --- /dev/null +++ b/pages.de/osx/gchcon.md @@ -0,0 +1,7 @@ +# gchcon + +> Dieser Befehl ist ein Alias von GNU `chcon`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux chcon` diff --git a/pages.de/osx/gchgrp.md b/pages.de/osx/gchgrp.md new file mode 100644 index 00000000000000..fcc24e0032ff54 --- /dev/null +++ b/pages.de/osx/gchgrp.md @@ -0,0 +1,7 @@ +# gchgrp + +> Dieser Befehl ist ein Alias von `chgrp`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr chgrp` diff --git a/pages.de/osx/gchmod.md b/pages.de/osx/gchmod.md new file mode 100644 index 00000000000000..8c97a473674cd5 --- /dev/null +++ b/pages.de/osx/gchmod.md @@ -0,0 +1,7 @@ +# gchmod + +> Dieser Befehl ist ein Alias von `chmod`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr chmod` diff --git a/pages.de/osx/gchown.md b/pages.de/osx/gchown.md new file mode 100644 index 00000000000000..ba39eafc989680 --- /dev/null +++ b/pages.de/osx/gchown.md @@ -0,0 +1,7 @@ +# gchown + +> Dieser Befehl ist ein Alias von `chown`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr chown` diff --git a/pages.de/osx/gchroot.md b/pages.de/osx/gchroot.md new file mode 100644 index 00000000000000..45d50a34e7c050 --- /dev/null +++ b/pages.de/osx/gchroot.md @@ -0,0 +1,7 @@ +# gchroot + +> Dieser Befehl ist ein Alias von `chroot`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr chroot` diff --git a/pages.de/osx/gcksum.md b/pages.de/osx/gcksum.md new file mode 100644 index 00000000000000..d0c1341b7d6a05 --- /dev/null +++ b/pages.de/osx/gcksum.md @@ -0,0 +1,7 @@ +# gcksum + +> Dieser Befehl ist ein Alias von `cksum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr cksum` diff --git a/pages.de/osx/gcomm.md b/pages.de/osx/gcomm.md new file mode 100644 index 00000000000000..0cf0eb9fc67121 --- /dev/null +++ b/pages.de/osx/gcomm.md @@ -0,0 +1,7 @@ +# gcomm + +> Dieser Befehl ist ein Alias von `comm`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr comm` diff --git a/pages.de/osx/gcp.md b/pages.de/osx/gcp.md new file mode 100644 index 00000000000000..57a238d1486fb1 --- /dev/null +++ b/pages.de/osx/gcp.md @@ -0,0 +1,7 @@ +# gcp + +> Dieser Befehl ist ein Alias von `cp`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr cp` diff --git a/pages.de/osx/gcsplit.md b/pages.de/osx/gcsplit.md new file mode 100644 index 00000000000000..e956e40f95af2c --- /dev/null +++ b/pages.de/osx/gcsplit.md @@ -0,0 +1,7 @@ +# gcsplit + +> Dieser Befehl ist ein Alias von GNU `csplit`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux csplit` diff --git a/pages.de/osx/gcut.md b/pages.de/osx/gcut.md new file mode 100644 index 00000000000000..00c93a2129d849 --- /dev/null +++ b/pages.de/osx/gcut.md @@ -0,0 +1,7 @@ +# gcut + +> Dieser Befehl ist ein Alias von `cut`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common cut` diff --git a/pages.de/osx/gdate.md b/pages.de/osx/gdate.md new file mode 100644 index 00000000000000..4fe0c4857ee635 --- /dev/null +++ b/pages.de/osx/gdate.md @@ -0,0 +1,7 @@ +# gdate + +> Dieser Befehl ist ein Alias von `date`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common date` diff --git a/pages.de/osx/gdd.md b/pages.de/osx/gdd.md new file mode 100644 index 00000000000000..b35f1dd19d0791 --- /dev/null +++ b/pages.de/osx/gdd.md @@ -0,0 +1,7 @@ +# gdd + +> Dieser Befehl ist ein Alias von GNU `dd`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux dd` diff --git a/pages.de/osx/gdf.md b/pages.de/osx/gdf.md new file mode 100644 index 00000000000000..f6dc094c547055 --- /dev/null +++ b/pages.de/osx/gdf.md @@ -0,0 +1,7 @@ +# gdf + +> Dieser Befehl ist ein Alias von GNU `df`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux df` diff --git a/pages.de/osx/gdir.md b/pages.de/osx/gdir.md new file mode 100644 index 00000000000000..bfc647b63e515d --- /dev/null +++ b/pages.de/osx/gdir.md @@ -0,0 +1,7 @@ +# gdir + +> Dieser Befehl ist ein Alias von GNU `dir`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux dir` diff --git a/pages.de/osx/gdircolors.md b/pages.de/osx/gdircolors.md new file mode 100644 index 00000000000000..51d4ddc1763e33 --- /dev/null +++ b/pages.de/osx/gdircolors.md @@ -0,0 +1,7 @@ +# gdircolors + +> Dieser Befehl ist ein Alias von `dircolors`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr dircolors` diff --git a/pages.de/osx/gdirname.md b/pages.de/osx/gdirname.md new file mode 100644 index 00000000000000..a4b164fcf611c4 --- /dev/null +++ b/pages.de/osx/gdirname.md @@ -0,0 +1,7 @@ +# gdirname + +> Dieser Befehl ist ein Alias von `dirname`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr dirname` diff --git a/pages.de/osx/gdnsdomainname.md b/pages.de/osx/gdnsdomainname.md new file mode 100644 index 00000000000000..ff1d28d4765a3a --- /dev/null +++ b/pages.de/osx/gdnsdomainname.md @@ -0,0 +1,7 @@ +# gdnsdomainname + +> Dieser Befehl ist ein Alias von GNU `dnsdomainname`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux dnsdomainname` diff --git a/pages.de/osx/gecho.md b/pages.de/osx/gecho.md new file mode 100644 index 00000000000000..cb6c968627b9f6 --- /dev/null +++ b/pages.de/osx/gecho.md @@ -0,0 +1,7 @@ +# gecho + +> Dieser Befehl ist ein Alias von `echo`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr echo` diff --git a/pages.de/osx/ged.md b/pages.de/osx/ged.md new file mode 100644 index 00000000000000..04c3eb8025c660 --- /dev/null +++ b/pages.de/osx/ged.md @@ -0,0 +1,7 @@ +# ged + +> Dieser Befehl ist ein Alias von `ed`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ed` diff --git a/pages.de/osx/gegrep.md b/pages.de/osx/gegrep.md new file mode 100644 index 00000000000000..840dff7c1e55cd --- /dev/null +++ b/pages.de/osx/gegrep.md @@ -0,0 +1,7 @@ +# gegrep + +> Dieser Befehl ist ein Alias von `egrep`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr egrep` diff --git a/pages.de/osx/genv.md b/pages.de/osx/genv.md new file mode 100644 index 00000000000000..b361ad27dcc59d --- /dev/null +++ b/pages.de/osx/genv.md @@ -0,0 +1,7 @@ +# genv + +> Dieser Befehl ist ein Alias von `env`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr env` diff --git a/pages.de/osx/gexpand.md b/pages.de/osx/gexpand.md new file mode 100644 index 00000000000000..ac66c8b198a0a7 --- /dev/null +++ b/pages.de/osx/gexpand.md @@ -0,0 +1,7 @@ +# gexpand + +> Dieser Befehl ist ein Alias von `expand`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr expand` diff --git a/pages.de/osx/gexpr.md b/pages.de/osx/gexpr.md new file mode 100644 index 00000000000000..b4f18d3182c795 --- /dev/null +++ b/pages.de/osx/gexpr.md @@ -0,0 +1,7 @@ +# gexpr + +> Dieser Befehl ist ein Alias von `expr`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr expr` diff --git a/pages.de/osx/gfactor.md b/pages.de/osx/gfactor.md new file mode 100644 index 00000000000000..642bbd770473bf --- /dev/null +++ b/pages.de/osx/gfactor.md @@ -0,0 +1,7 @@ +# gfactor + +> Dieser Befehl ist ein Alias von `factor`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr factor` diff --git a/pages.de/osx/gfalse.md b/pages.de/osx/gfalse.md new file mode 100644 index 00000000000000..cf373c58afb8cd --- /dev/null +++ b/pages.de/osx/gfalse.md @@ -0,0 +1,7 @@ +# gfalse + +> Dieser Befehl ist ein Alias von `false`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr false` diff --git a/pages.de/osx/gfgrep.md b/pages.de/osx/gfgrep.md new file mode 100644 index 00000000000000..d103d3b1a9de12 --- /dev/null +++ b/pages.de/osx/gfgrep.md @@ -0,0 +1,7 @@ +# gfgrep + +> Dieser Befehl ist ein Alias von `fgrep`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr fgrep` diff --git a/pages.de/osx/gfind.md b/pages.de/osx/gfind.md new file mode 100644 index 00000000000000..d7502677968ca4 --- /dev/null +++ b/pages.de/osx/gfind.md @@ -0,0 +1,7 @@ +# gfind + +> Dieser Befehl ist ein Alias von `find`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr find` diff --git a/pages.de/osx/gfmt.md b/pages.de/osx/gfmt.md new file mode 100644 index 00000000000000..3bf96728b7a439 --- /dev/null +++ b/pages.de/osx/gfmt.md @@ -0,0 +1,7 @@ +# gfmt + +> Dieser Befehl ist ein Alias von `fmt`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr fmt` diff --git a/pages.de/osx/gfold.md b/pages.de/osx/gfold.md new file mode 100644 index 00000000000000..e8f344b7f12361 --- /dev/null +++ b/pages.de/osx/gfold.md @@ -0,0 +1,7 @@ +# gfold + +> Dieser Befehl ist ein Alias von GNU `fold`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux fold` diff --git a/pages.de/osx/gftp.md b/pages.de/osx/gftp.md new file mode 100644 index 00000000000000..6ed7b4920c9bea --- /dev/null +++ b/pages.de/osx/gftp.md @@ -0,0 +1,7 @@ +# gftp + +> Dieser Befehl ist ein Alias von `ftp`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ftp` diff --git a/pages.de/osx/ggrep.md b/pages.de/osx/ggrep.md new file mode 100644 index 00000000000000..ed6bd1625cd511 --- /dev/null +++ b/pages.de/osx/ggrep.md @@ -0,0 +1,7 @@ +# ggrep + +> Dieser Befehl ist ein Alias von `grep`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr grep` diff --git a/pages.de/osx/ggroups.md b/pages.de/osx/ggroups.md new file mode 100644 index 00000000000000..113dd01633f169 --- /dev/null +++ b/pages.de/osx/ggroups.md @@ -0,0 +1,7 @@ +# ggroups + +> Dieser Befehl ist ein Alias von `groups`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr groups` diff --git a/pages.de/osx/ghead.md b/pages.de/osx/ghead.md new file mode 100644 index 00000000000000..e0b08ee232ebe0 --- /dev/null +++ b/pages.de/osx/ghead.md @@ -0,0 +1,7 @@ +# ghead + +> Dieser Befehl ist ein Alias von GNU `head`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux head` diff --git a/pages.de/osx/ghostid.md b/pages.de/osx/ghostid.md new file mode 100644 index 00000000000000..c64e201d48f535 --- /dev/null +++ b/pages.de/osx/ghostid.md @@ -0,0 +1,7 @@ +# ghostid + +> Dieser Befehl ist ein Alias von `hostid`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr hostid` diff --git a/pages.de/osx/ghostname.md b/pages.de/osx/ghostname.md new file mode 100644 index 00000000000000..5b32e373410fc6 --- /dev/null +++ b/pages.de/osx/ghostname.md @@ -0,0 +1,7 @@ +# ghostname + +> Dieser Befehl ist ein Alias von `hostname`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr hostname` diff --git a/pages.de/osx/gid.md b/pages.de/osx/gid.md new file mode 100644 index 00000000000000..bb41f63a0ef965 --- /dev/null +++ b/pages.de/osx/gid.md @@ -0,0 +1,7 @@ +# gid + +> Dieser Befehl ist ein Alias von `id`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr id` diff --git a/pages.de/osx/gifconfig.md b/pages.de/osx/gifconfig.md new file mode 100644 index 00000000000000..5054b65e7f8d0c --- /dev/null +++ b/pages.de/osx/gifconfig.md @@ -0,0 +1,7 @@ +# gifconfig + +> Dieser Befehl ist ein Alias von `ifconfig`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ifconfig` diff --git a/pages.de/osx/gindent.md b/pages.de/osx/gindent.md new file mode 100644 index 00000000000000..28084ab9a25887 --- /dev/null +++ b/pages.de/osx/gindent.md @@ -0,0 +1,7 @@ +# gindent + +> Dieser Befehl ist ein Alias von `indent`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common indent` diff --git a/pages.de/osx/ginstall.md b/pages.de/osx/ginstall.md new file mode 100644 index 00000000000000..76e7fbda525edc --- /dev/null +++ b/pages.de/osx/ginstall.md @@ -0,0 +1,7 @@ +# ginstall + +> Dieser Befehl ist ein Alias von `install`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr install` diff --git a/pages.de/osx/gjoin.md b/pages.de/osx/gjoin.md new file mode 100644 index 00000000000000..e8007e3ec01ec2 --- /dev/null +++ b/pages.de/osx/gjoin.md @@ -0,0 +1,7 @@ +# gjoin + +> Dieser Befehl ist ein Alias von `join`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr join` diff --git a/pages.de/osx/gkill.md b/pages.de/osx/gkill.md new file mode 100644 index 00000000000000..5f372762524c81 --- /dev/null +++ b/pages.de/osx/gkill.md @@ -0,0 +1,7 @@ +# gkill + +> Dieser Befehl ist ein Alias von GNU `kill`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux kill` diff --git a/pages.de/osx/glibtool.md b/pages.de/osx/glibtool.md new file mode 100644 index 00000000000000..cc1ecdfaf9aa1c --- /dev/null +++ b/pages.de/osx/glibtool.md @@ -0,0 +1,7 @@ +# glibtool + +> Dieser Befehl ist ein Alias von GNU `libtool`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux libtool` diff --git a/pages.de/osx/glibtoolize.md b/pages.de/osx/glibtoolize.md new file mode 100644 index 00000000000000..8f69a61ebd6818 --- /dev/null +++ b/pages.de/osx/glibtoolize.md @@ -0,0 +1,7 @@ +# glibtoolize + +> Dieser Befehl ist ein Alias von GNU `libtoolize`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux libtoolize` diff --git a/pages.de/osx/glink.md b/pages.de/osx/glink.md new file mode 100644 index 00000000000000..dff889aff069f3 --- /dev/null +++ b/pages.de/osx/glink.md @@ -0,0 +1,7 @@ +# glink + +> Dieser Befehl ist ein Alias von `link`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr link` diff --git a/pages.de/osx/gln.md b/pages.de/osx/gln.md new file mode 100644 index 00000000000000..4d21e369ee37d0 --- /dev/null +++ b/pages.de/osx/gln.md @@ -0,0 +1,7 @@ +# gln + +> Dieser Befehl ist ein Alias von `ln`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ln` diff --git a/pages.de/osx/glocate.md b/pages.de/osx/glocate.md new file mode 100644 index 00000000000000..faa38c8735f485 --- /dev/null +++ b/pages.de/osx/glocate.md @@ -0,0 +1,7 @@ +# glocate + +> Dieser Befehl ist ein Alias von GNU `locate`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux locate` diff --git a/pages.de/osx/glogger.md b/pages.de/osx/glogger.md new file mode 100644 index 00000000000000..c1a0f2d7cc3ec0 --- /dev/null +++ b/pages.de/osx/glogger.md @@ -0,0 +1,7 @@ +# glogger + +> Dieser Befehl ist ein Alias von GNU `logger`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux logger` diff --git a/pages.de/osx/glogname.md b/pages.de/osx/glogname.md new file mode 100644 index 00000000000000..0b3a73eb4258f1 --- /dev/null +++ b/pages.de/osx/glogname.md @@ -0,0 +1,7 @@ +# glogname + +> Dieser Befehl ist ein Alias von `logname`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr logname` diff --git a/pages.de/osx/gls.md b/pages.de/osx/gls.md new file mode 100644 index 00000000000000..853f891e96d9fb --- /dev/null +++ b/pages.de/osx/gls.md @@ -0,0 +1,7 @@ +# gls + +> Dieser Befehl ist ein Alias von `ls`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ls` diff --git a/pages.de/osx/gmake.md b/pages.de/osx/gmake.md new file mode 100644 index 00000000000000..ea3bfb6fa29742 --- /dev/null +++ b/pages.de/osx/gmake.md @@ -0,0 +1,7 @@ +# gmake + +> Dieser Befehl ist ein Alias von `make`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr make` diff --git a/pages.de/osx/gmd5sum.md b/pages.de/osx/gmd5sum.md new file mode 100644 index 00000000000000..6dceb61e81bdb8 --- /dev/null +++ b/pages.de/osx/gmd5sum.md @@ -0,0 +1,7 @@ +# gmd5sum + +> Dieser Befehl ist ein Alias von `md5sum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr md5sum` diff --git a/pages.de/osx/gmkdir.md b/pages.de/osx/gmkdir.md new file mode 100644 index 00000000000000..7cef48e6bb5cf4 --- /dev/null +++ b/pages.de/osx/gmkdir.md @@ -0,0 +1,7 @@ +# gmkdir + +> Dieser Befehl ist ein Alias von `mkdir`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr mkdir` diff --git a/pages.de/osx/gmkfifo.md b/pages.de/osx/gmkfifo.md new file mode 100644 index 00000000000000..954084abb6c6e1 --- /dev/null +++ b/pages.de/osx/gmkfifo.md @@ -0,0 +1,7 @@ +# gmkfifo + +> Dieser Befehl ist ein Alias von `mkfifo`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr mkfifo` diff --git a/pages.de/osx/gmknod.md b/pages.de/osx/gmknod.md new file mode 100644 index 00000000000000..f47afca206a6bc --- /dev/null +++ b/pages.de/osx/gmknod.md @@ -0,0 +1,7 @@ +# gmknod + +> Dieser Befehl ist ein Alias von GNU `mknod`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux mknod` diff --git a/pages.de/osx/gmktemp.md b/pages.de/osx/gmktemp.md new file mode 100644 index 00000000000000..f423f2eba8f953 --- /dev/null +++ b/pages.de/osx/gmktemp.md @@ -0,0 +1,7 @@ +# gmktemp + +> Dieser Befehl ist ein Alias von GNU `mktemp`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux mktemp` diff --git a/pages.de/osx/gmv.md b/pages.de/osx/gmv.md new file mode 100644 index 00000000000000..4fffe42dc867a8 --- /dev/null +++ b/pages.de/osx/gmv.md @@ -0,0 +1,7 @@ +# gmv + +> Dieser Befehl ist ein Alias von `mv`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr mv` diff --git a/pages.de/osx/gnice.md b/pages.de/osx/gnice.md new file mode 100644 index 00000000000000..67998f1023be43 --- /dev/null +++ b/pages.de/osx/gnice.md @@ -0,0 +1,7 @@ +# gnice + +> Dieser Befehl ist ein Alias von `nice`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr nice` diff --git a/pages.de/osx/gnl.md b/pages.de/osx/gnl.md new file mode 100644 index 00000000000000..9c4965976f4f64 --- /dev/null +++ b/pages.de/osx/gnl.md @@ -0,0 +1,7 @@ +# gnl + +> Dieser Befehl ist ein Alias von GNU `nl`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux nl` diff --git a/pages.de/osx/gnohup.md b/pages.de/osx/gnohup.md new file mode 100644 index 00000000000000..6f951230d89c96 --- /dev/null +++ b/pages.de/osx/gnohup.md @@ -0,0 +1,7 @@ +# gnohup + +> Dieser Befehl ist ein Alias von `nohup`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr nohup` diff --git a/pages.de/osx/gnproc.md b/pages.de/osx/gnproc.md new file mode 100644 index 00000000000000..379620b4ec54d7 --- /dev/null +++ b/pages.de/osx/gnproc.md @@ -0,0 +1,7 @@ +# gnproc + +> Dieser Befehl ist ein Alias von `nproc`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr nproc` diff --git a/pages.de/osx/gnumfmt.md b/pages.de/osx/gnumfmt.md new file mode 100644 index 00000000000000..a201596cb19ad4 --- /dev/null +++ b/pages.de/osx/gnumfmt.md @@ -0,0 +1,7 @@ +# gnumfmt + +> Dieser Befehl ist ein Alias von `numfmt`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr numfmt` diff --git a/pages.de/osx/god.md b/pages.de/osx/god.md new file mode 100644 index 00000000000000..576b59db0d8b28 --- /dev/null +++ b/pages.de/osx/god.md @@ -0,0 +1,7 @@ +# god + +> Dieser Befehl ist ein Alias von `od`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr od` diff --git a/pages.de/osx/gpaste.md b/pages.de/osx/gpaste.md new file mode 100644 index 00000000000000..2f25b149848a1b --- /dev/null +++ b/pages.de/osx/gpaste.md @@ -0,0 +1,7 @@ +# gpaste + +> Dieser Befehl ist ein Alias von `paste`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr paste` diff --git a/pages.de/osx/gpathchk.md b/pages.de/osx/gpathchk.md new file mode 100644 index 00000000000000..ddfcba77448ee8 --- /dev/null +++ b/pages.de/osx/gpathchk.md @@ -0,0 +1,7 @@ +# gpathchk + +> Dieser Befehl ist ein Alias von `pathchk`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr pathchk` diff --git a/pages.de/osx/gping.md b/pages.de/osx/gping.md new file mode 100644 index 00000000000000..34d72e5ba511f9 --- /dev/null +++ b/pages.de/osx/gping.md @@ -0,0 +1,7 @@ +# gping + +> Dieser Befehl ist ein Alias von `ping`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common ping` diff --git a/pages.de/osx/gping6.md b/pages.de/osx/gping6.md new file mode 100644 index 00000000000000..298eb551e1c2da --- /dev/null +++ b/pages.de/osx/gping6.md @@ -0,0 +1,7 @@ +# gping6 + +> Dieser Befehl ist ein Alias von `ping6`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr ping6` diff --git a/pages.de/osx/gpinky.md b/pages.de/osx/gpinky.md new file mode 100644 index 00000000000000..115ff5c4ccfd38 --- /dev/null +++ b/pages.de/osx/gpinky.md @@ -0,0 +1,7 @@ +# gpinky + +> Dieser Befehl ist ein Alias von `pinky`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr pinky` diff --git a/pages.de/osx/gpr.md b/pages.de/osx/gpr.md new file mode 100644 index 00000000000000..fa4959f0ba1b74 --- /dev/null +++ b/pages.de/osx/gpr.md @@ -0,0 +1,7 @@ +# gpr + +> Dieser Befehl ist ein Alias von `pr`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr pr` diff --git a/pages.de/osx/gprintenv.md b/pages.de/osx/gprintenv.md new file mode 100644 index 00000000000000..41e7bd92822632 --- /dev/null +++ b/pages.de/osx/gprintenv.md @@ -0,0 +1,7 @@ +# gprintenv + +> Dieser Befehl ist ein Alias von `printenv`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr printenv` diff --git a/pages.de/osx/gprintf.md b/pages.de/osx/gprintf.md new file mode 100644 index 00000000000000..6df1f33cc7866a --- /dev/null +++ b/pages.de/osx/gprintf.md @@ -0,0 +1,7 @@ +# gprintf + +> Dieser Befehl ist ein Alias von `printf`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr printf` diff --git a/pages.de/osx/gptx.md b/pages.de/osx/gptx.md new file mode 100644 index 00000000000000..6b135ce74db643 --- /dev/null +++ b/pages.de/osx/gptx.md @@ -0,0 +1,7 @@ +# gptx + +> Dieser Befehl ist ein Alias von GNU `ptx`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux ptx` diff --git a/pages.de/osx/gpwd.md b/pages.de/osx/gpwd.md new file mode 100644 index 00000000000000..f80ced976fd2f8 --- /dev/null +++ b/pages.de/osx/gpwd.md @@ -0,0 +1,7 @@ +# gpwd + +> Dieser Befehl ist ein Alias von `pwd`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr pwd` diff --git a/pages.de/osx/grcp.md b/pages.de/osx/grcp.md new file mode 100644 index 00000000000000..8ecbc0534990b1 --- /dev/null +++ b/pages.de/osx/grcp.md @@ -0,0 +1,7 @@ +# grcp + +> Dieser Befehl ist ein Alias von GNU `rcp`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux rcp` diff --git a/pages.de/osx/greadlink.md b/pages.de/osx/greadlink.md new file mode 100644 index 00000000000000..be3b74545a2a04 --- /dev/null +++ b/pages.de/osx/greadlink.md @@ -0,0 +1,7 @@ +# greadlink + +> Dieser Befehl ist ein Alias von `readlink`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr readlink` diff --git a/pages.de/osx/grealpath.md b/pages.de/osx/grealpath.md new file mode 100644 index 00000000000000..67b0b001a9276d --- /dev/null +++ b/pages.de/osx/grealpath.md @@ -0,0 +1,7 @@ +# grealpath + +> Dieser Befehl ist ein Alias von `realpath`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr realpath` diff --git a/pages.de/osx/grexec.md b/pages.de/osx/grexec.md new file mode 100644 index 00000000000000..169d83a364076a --- /dev/null +++ b/pages.de/osx/grexec.md @@ -0,0 +1,7 @@ +# grexec + +> Dieser Befehl ist ein Alias von GNU `rexec`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux rexec` diff --git a/pages.de/osx/grlogin.md b/pages.de/osx/grlogin.md new file mode 100644 index 00000000000000..1d475e06ab5af5 --- /dev/null +++ b/pages.de/osx/grlogin.md @@ -0,0 +1,7 @@ +# grlogin + +> Dieser Befehl ist ein Alias von GNU `rlogin`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux rlogin` diff --git a/pages.de/osx/grm.md b/pages.de/osx/grm.md new file mode 100644 index 00000000000000..77757d883f7424 --- /dev/null +++ b/pages.de/osx/grm.md @@ -0,0 +1,7 @@ +# grm + +> Dieser Befehl ist ein Alias von `rm`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr rm` diff --git a/pages.de/osx/grmdir.md b/pages.de/osx/grmdir.md new file mode 100644 index 00000000000000..c2993cb3adaf01 --- /dev/null +++ b/pages.de/osx/grmdir.md @@ -0,0 +1,7 @@ +# grmdir + +> Dieser Befehl ist ein Alias von `rmdir`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr rmdir` diff --git a/pages.de/osx/grsh.md b/pages.de/osx/grsh.md new file mode 100644 index 00000000000000..ce117b0834e7b1 --- /dev/null +++ b/pages.de/osx/grsh.md @@ -0,0 +1,7 @@ +# grsh + +> Dieser Befehl ist ein Alias von GNU `rsh`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux rsh` diff --git a/pages.de/osx/gruncon.md b/pages.de/osx/gruncon.md new file mode 100644 index 00000000000000..52427c46922477 --- /dev/null +++ b/pages.de/osx/gruncon.md @@ -0,0 +1,7 @@ +# gruncon + +> Dieser Befehl ist ein Alias von GNU `runcon`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux runcon` diff --git a/pages.de/osx/gsed.md b/pages.de/osx/gsed.md new file mode 100644 index 00000000000000..de16e1d9c9f854 --- /dev/null +++ b/pages.de/osx/gsed.md @@ -0,0 +1,7 @@ +# gsed + +> Dieser Befehl ist ein Alias von GNU `sed`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux sed` diff --git a/pages.de/osx/gseq.md b/pages.de/osx/gseq.md new file mode 100644 index 00000000000000..0d9e5a55ac3410 --- /dev/null +++ b/pages.de/osx/gseq.md @@ -0,0 +1,7 @@ +# gseq + +> Dieser Befehl ist ein Alias von `seq`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr seq` diff --git a/pages.de/osx/gsha1sum.md b/pages.de/osx/gsha1sum.md new file mode 100644 index 00000000000000..93a1df7579a9a0 --- /dev/null +++ b/pages.de/osx/gsha1sum.md @@ -0,0 +1,7 @@ +# gsha1sum + +> Dieser Befehl ist ein Alias von `sha1sum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr sha1sum` diff --git a/pages.de/osx/gsha224sum.md b/pages.de/osx/gsha224sum.md new file mode 100644 index 00000000000000..81a60cf3fef92f --- /dev/null +++ b/pages.de/osx/gsha224sum.md @@ -0,0 +1,7 @@ +# gsha224sum + +> Dieser Befehl ist ein Alias von `sha224sum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr sha224sum` diff --git a/pages.de/osx/gsha256sum.md b/pages.de/osx/gsha256sum.md new file mode 100644 index 00000000000000..633ab80b34d4cf --- /dev/null +++ b/pages.de/osx/gsha256sum.md @@ -0,0 +1,7 @@ +# gsha256sum + +> Dieser Befehl ist ein Alias von `sha256sum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr sha256sum` diff --git a/pages.de/osx/gsha384sum.md b/pages.de/osx/gsha384sum.md new file mode 100644 index 00000000000000..985c7cf70fee12 --- /dev/null +++ b/pages.de/osx/gsha384sum.md @@ -0,0 +1,7 @@ +# gsha384sum + +> Dieser Befehl ist ein Alias von `sha384sum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr sha384sum` diff --git a/pages.de/osx/gsha512sum.md b/pages.de/osx/gsha512sum.md new file mode 100644 index 00000000000000..d71eb29e857159 --- /dev/null +++ b/pages.de/osx/gsha512sum.md @@ -0,0 +1,7 @@ +# gsha512sum + +> Dieser Befehl ist ein Alias von `sha512sum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr sha512sum` diff --git a/pages.de/osx/gshred.md b/pages.de/osx/gshred.md new file mode 100644 index 00000000000000..5e170636963e39 --- /dev/null +++ b/pages.de/osx/gshred.md @@ -0,0 +1,7 @@ +# gshred + +> Dieser Befehl ist ein Alias von `shred`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr shred` diff --git a/pages.de/osx/gshuf.md b/pages.de/osx/gshuf.md new file mode 100644 index 00000000000000..7979507da2780e --- /dev/null +++ b/pages.de/osx/gshuf.md @@ -0,0 +1,7 @@ +# gshuf + +> Dieser Befehl ist ein Alias von `shuf`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} coomon shuf` diff --git a/pages.de/osx/gsleep.md b/pages.de/osx/gsleep.md new file mode 100644 index 00000000000000..b2bbc0e1840b04 --- /dev/null +++ b/pages.de/osx/gsleep.md @@ -0,0 +1,7 @@ +# gsleep + +> Dieser Befehl ist ein Alias von GNU `sleep`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux sleep` diff --git a/pages.de/osx/gsort.md b/pages.de/osx/gsort.md new file mode 100644 index 00000000000000..666a3597d2ccdc --- /dev/null +++ b/pages.de/osx/gsort.md @@ -0,0 +1,7 @@ +# gsort + +> Dieser Befehl ist ein Alias von `sort`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr sort` diff --git a/pages.de/osx/gsplit.md b/pages.de/osx/gsplit.md new file mode 100644 index 00000000000000..0506be72b9f10c --- /dev/null +++ b/pages.de/osx/gsplit.md @@ -0,0 +1,7 @@ +# gsplit + +> Dieser Befehl ist ein Alias von `split`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common split` diff --git a/pages.de/osx/gstat.md b/pages.de/osx/gstat.md new file mode 100644 index 00000000000000..77a9e08aa8acec --- /dev/null +++ b/pages.de/osx/gstat.md @@ -0,0 +1,7 @@ +# gstat + +> Dieser Befehl ist ein Alias von `stat`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common stat` diff --git a/pages.de/osx/gstdbuf.md b/pages.de/osx/gstdbuf.md new file mode 100644 index 00000000000000..a470a21b54fbb2 --- /dev/null +++ b/pages.de/osx/gstdbuf.md @@ -0,0 +1,7 @@ +# gstdbuf + +> Dieser Befehl ist ein Alias von `stdbuf`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr stdbuf` diff --git a/pages.de/osx/gstty.md b/pages.de/osx/gstty.md new file mode 100644 index 00000000000000..458f8fb7f15ce6 --- /dev/null +++ b/pages.de/osx/gstty.md @@ -0,0 +1,7 @@ +# gstty + +> Dieser Befehl ist ein Alias von `stty`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr stty` diff --git a/pages.de/osx/gsum.md b/pages.de/osx/gsum.md new file mode 100644 index 00000000000000..e9c6275d98019a --- /dev/null +++ b/pages.de/osx/gsum.md @@ -0,0 +1,7 @@ +# gsum + +> Dieser Befehl ist ein Alias von `sum`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr sum` diff --git a/pages.de/osx/gsync.md b/pages.de/osx/gsync.md new file mode 100644 index 00000000000000..79c55e31289100 --- /dev/null +++ b/pages.de/osx/gsync.md @@ -0,0 +1,7 @@ +# gsync + +> Dieser Befehl ist ein Alias von `sync`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr sync` diff --git a/pages.de/osx/gtac.md b/pages.de/osx/gtac.md new file mode 100644 index 00000000000000..71d795a884c1db --- /dev/null +++ b/pages.de/osx/gtac.md @@ -0,0 +1,7 @@ +# gtac + +> Dieser Befehl ist ein Alias von `tac`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr tac` diff --git a/pages.de/osx/gtail.md b/pages.de/osx/gtail.md new file mode 100644 index 00000000000000..2b106cb77a978f --- /dev/null +++ b/pages.de/osx/gtail.md @@ -0,0 +1,7 @@ +# gtail + +> Dieser Befehl ist ein Alias von `tail`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common tail` diff --git a/pages.de/osx/gtalk.md b/pages.de/osx/gtalk.md new file mode 100644 index 00000000000000..b2c840a9fd2502 --- /dev/null +++ b/pages.de/osx/gtalk.md @@ -0,0 +1,7 @@ +# gtalk + +> Dieser Befehl ist ein Alias von GNU `talk`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux talk` diff --git a/pages.de/osx/gtar.md b/pages.de/osx/gtar.md new file mode 100644 index 00000000000000..73ae60059ebf05 --- /dev/null +++ b/pages.de/osx/gtar.md @@ -0,0 +1,7 @@ +# gtar + +> Dieser Befehl ist ein Alias von `tar`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr tar` diff --git a/pages.de/osx/gtee.md b/pages.de/osx/gtee.md new file mode 100644 index 00000000000000..c4dc89f4830565 --- /dev/null +++ b/pages.de/osx/gtee.md @@ -0,0 +1,7 @@ +# gtee + +> Dieser Befehl ist ein Alias von `tee`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr tee` diff --git a/pages.de/osx/gtelnet.md b/pages.de/osx/gtelnet.md new file mode 100644 index 00000000000000..62f9bcb157d53a --- /dev/null +++ b/pages.de/osx/gtelnet.md @@ -0,0 +1,7 @@ +# gtelnet + +> Dieser Befehl ist ein Alias von `telnet`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr telnet` diff --git a/pages.de/osx/gtest.md b/pages.de/osx/gtest.md new file mode 100644 index 00000000000000..ed21da0f6a5665 --- /dev/null +++ b/pages.de/osx/gtest.md @@ -0,0 +1,7 @@ +# gtest + +> Dieser Befehl ist ein Alias von `test`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr test` diff --git a/pages.de/osx/gtftp.md b/pages.de/osx/gtftp.md new file mode 100644 index 00000000000000..5decc69f898c4b --- /dev/null +++ b/pages.de/osx/gtftp.md @@ -0,0 +1,7 @@ +# gtftp + +> Dieser Befehl ist ein Alias von GNU `tftp`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux tftp` diff --git a/pages.de/osx/gtime.md b/pages.de/osx/gtime.md new file mode 100644 index 00000000000000..297ccd4b87df66 --- /dev/null +++ b/pages.de/osx/gtime.md @@ -0,0 +1,7 @@ +# gtime + +> Dieser Befehl ist ein Alias von `time`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr time` diff --git a/pages.de/osx/gtimeout.md b/pages.de/osx/gtimeout.md new file mode 100644 index 00000000000000..6dfd7775f6487f --- /dev/null +++ b/pages.de/osx/gtimeout.md @@ -0,0 +1,7 @@ +# gtimeout + +> Dieser Befehl ist ein Alias von `timeout`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr timeout` diff --git a/pages.de/osx/gtouch.md b/pages.de/osx/gtouch.md new file mode 100644 index 00000000000000..1b8c00834e0117 --- /dev/null +++ b/pages.de/osx/gtouch.md @@ -0,0 +1,7 @@ +# gtouch + +> Dieser Befehl ist ein Alias von `touch`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr touch` diff --git a/pages.de/osx/gtr.md b/pages.de/osx/gtr.md new file mode 100644 index 00000000000000..e0cfe86bf53e33 --- /dev/null +++ b/pages.de/osx/gtr.md @@ -0,0 +1,7 @@ +# gtr + +> Dieser Befehl ist ein Alias von `tr`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr tr` diff --git a/pages.de/osx/gtraceroute.md b/pages.de/osx/gtraceroute.md new file mode 100644 index 00000000000000..9d3099d2b82029 --- /dev/null +++ b/pages.de/osx/gtraceroute.md @@ -0,0 +1,7 @@ +# gtraceroute + +> Dieser Befehl ist ein Alias von `traceroute`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr traceroute` diff --git a/pages.de/osx/gtrue.md b/pages.de/osx/gtrue.md new file mode 100644 index 00000000000000..ff82e94a8a6ac6 --- /dev/null +++ b/pages.de/osx/gtrue.md @@ -0,0 +1,7 @@ +# gtrue + +> Dieser Befehl ist ein Alias von `true`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr true` diff --git a/pages.de/osx/gtruncate.md b/pages.de/osx/gtruncate.md new file mode 100644 index 00000000000000..bc92cb4b50195c --- /dev/null +++ b/pages.de/osx/gtruncate.md @@ -0,0 +1,7 @@ +# gtruncate + +> Dieser Befehl ist ein Alias von `truncate`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr truncate` diff --git a/pages.de/osx/gtsort.md b/pages.de/osx/gtsort.md new file mode 100644 index 00000000000000..7708405109b8aa --- /dev/null +++ b/pages.de/osx/gtsort.md @@ -0,0 +1,7 @@ +# gtsort + +> Dieser Befehl ist ein Alias von `tsort`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr tsort` diff --git a/pages.de/osx/gtty.md b/pages.de/osx/gtty.md new file mode 100644 index 00000000000000..c5969c095da86d --- /dev/null +++ b/pages.de/osx/gtty.md @@ -0,0 +1,7 @@ +# gtty + +> Dieser Befehl ist ein Alias von `tty`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr tty` diff --git a/pages.de/osx/guname.md b/pages.de/osx/guname.md new file mode 100644 index 00000000000000..74e04fd19fd75b --- /dev/null +++ b/pages.de/osx/guname.md @@ -0,0 +1,7 @@ +# guname + +> Dieser Befehl ist ein Alias von `uname`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common uname` diff --git a/pages.de/osx/gunexpand.md b/pages.de/osx/gunexpand.md new file mode 100644 index 00000000000000..1984428e4f3c59 --- /dev/null +++ b/pages.de/osx/gunexpand.md @@ -0,0 +1,7 @@ +# gunexpand + +> Dieser Befehl ist ein Alias von `unexpand`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr unexpand` diff --git a/pages.de/osx/guniq.md b/pages.de/osx/guniq.md new file mode 100644 index 00000000000000..f64af801f7ea6e --- /dev/null +++ b/pages.de/osx/guniq.md @@ -0,0 +1,7 @@ +# guniq + +> Dieser Befehl ist ein Alias von `uniq`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr uniq` diff --git a/pages.de/osx/gunits.md b/pages.de/osx/gunits.md new file mode 100644 index 00000000000000..69885317128307 --- /dev/null +++ b/pages.de/osx/gunits.md @@ -0,0 +1,7 @@ +# gunits + +> Dieser Befehl ist ein Alias von `units`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr units` diff --git a/pages.de/osx/gunlink.md b/pages.de/osx/gunlink.md new file mode 100644 index 00000000000000..df2504f99be239 --- /dev/null +++ b/pages.de/osx/gunlink.md @@ -0,0 +1,7 @@ +# gunlink + +> Dieser Befehl ist ein Alias von `unlink`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr unlink` diff --git a/pages.de/osx/gupdatedb.md b/pages.de/osx/gupdatedb.md new file mode 100644 index 00000000000000..76bfacc83a4e0b --- /dev/null +++ b/pages.de/osx/gupdatedb.md @@ -0,0 +1,7 @@ +# gupdatedb + +> Dieser Befehl ist ein Alias von GNU `updatedb`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} linux updatedb` diff --git a/pages.de/osx/guptime.md b/pages.de/osx/guptime.md new file mode 100644 index 00000000000000..993183879471d7 --- /dev/null +++ b/pages.de/osx/guptime.md @@ -0,0 +1,7 @@ +# guptime + +> Dieser Befehl ist ein Alias von `uptime`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common uptime` diff --git a/pages.de/osx/gusers.md b/pages.de/osx/gusers.md new file mode 100644 index 00000000000000..4019a73a505119 --- /dev/null +++ b/pages.de/osx/gusers.md @@ -0,0 +1,7 @@ +# gusers + +> Dieser Befehl ist ein Alias von `users`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr users` diff --git a/pages.de/osx/gvdir.md b/pages.de/osx/gvdir.md new file mode 100644 index 00000000000000..4a3a3867d2cd39 --- /dev/null +++ b/pages.de/osx/gvdir.md @@ -0,0 +1,7 @@ +# gvdir + +> Dieser Befehl ist ein Alias von `vdir`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr vdir` diff --git a/pages.de/osx/gwc.md b/pages.de/osx/gwc.md new file mode 100644 index 00000000000000..2c3ee4505cd209 --- /dev/null +++ b/pages.de/osx/gwc.md @@ -0,0 +1,7 @@ +# gwc + +> Dieser Befehl ist ein Alias von `wc`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr {{[-p|--platform]}} common wc` diff --git a/pages.de/osx/gwhich.md b/pages.de/osx/gwhich.md new file mode 100644 index 00000000000000..771630bc759c77 --- /dev/null +++ b/pages.de/osx/gwhich.md @@ -0,0 +1,7 @@ +# gwhich + +> Dieser Befehl ist ein Alias von `which`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr which` diff --git a/pages.de/osx/gwho.md b/pages.de/osx/gwho.md new file mode 100644 index 00000000000000..a1deb4d53394b7 --- /dev/null +++ b/pages.de/osx/gwho.md @@ -0,0 +1,7 @@ +# gwho + +> Dieser Befehl ist ein Alias von `who`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr who` diff --git a/pages.de/osx/gwhoami.md b/pages.de/osx/gwhoami.md new file mode 100644 index 00000000000000..86aa069480539e --- /dev/null +++ b/pages.de/osx/gwhoami.md @@ -0,0 +1,7 @@ +# gwhoami + +> Dieser Befehl ist ein Alias von `whoami`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr whoami` diff --git a/pages.de/osx/gwhois.md b/pages.de/osx/gwhois.md new file mode 100644 index 00000000000000..ba855a4d4ac634 --- /dev/null +++ b/pages.de/osx/gwhois.md @@ -0,0 +1,7 @@ +# gwhois + +> Dieser Befehl ist ein Alias von `whois`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr whois` diff --git a/pages.de/osx/gxargs.md b/pages.de/osx/gxargs.md new file mode 100644 index 00000000000000..2466182e820838 --- /dev/null +++ b/pages.de/osx/gxargs.md @@ -0,0 +1,7 @@ +# gxargs + +> Dieser Befehl ist ein Alias von `xargs`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr xargs` diff --git a/pages.de/osx/gyes.md b/pages.de/osx/gyes.md new file mode 100644 index 00000000000000..242cf501fd47ee --- /dev/null +++ b/pages.de/osx/gyes.md @@ -0,0 +1,7 @@ +# gyes + +> Dieser Befehl ist ein Alias von `yes`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr yes` diff --git a/pages.de/osx/md5.md b/pages.de/osx/md5.md new file mode 100644 index 00000000000000..afafe9806bd79f --- /dev/null +++ b/pages.de/osx/md5.md @@ -0,0 +1,20 @@ +# md5 + +> Berechne kryptografische MD5-Prüfsummen. +> Weitere Informationen: . + +- Berechne die MD5-Prüfsumme einer Datei und gib sie mit Dateinamen auf der Konsole aus: + +`md5 {{pfad/zu/datei}}` + +- Berechne die MD5-Prüfsumme mehrerer Dateien und gib sie mit Dateinamen auf der Konsole aus: + +`md5 {{pfad/zu/datei1 pfad/zu/datei2 ...}}` + +- Gib nur die MD5-Prüfsumme auf der Konsole aus: + +`md5 -q {{pfad/zu/datei}}` + +- Berechne die MD5-Prüfsumme für den gegebenen Text: + +`md5 -s "{{text}}"` diff --git a/pages.de/osx/open.md b/pages.de/osx/open.md index c0dd193ea99e74..20b2f70f363620 100644 --- a/pages.de/osx/open.md +++ b/pages.de/osx/open.md @@ -1,27 +1,28 @@ # open -> Öffnet Dateien, Verzeichnisse und Anwendungen. +> Öffne Dateien, Verzeichnisse und Anwendungen. +> Weitere Informationen: . -- Öffnet eine Datei mit der zugehörigen Anwendung: +- Öffne eine Datei in der zugehörigen Anwendung: -`open {{file.ext}}` +`open {{pfad/zu/datei}}` -- Ausführen einer grafischen macOS-Anwendung: +- Führe eine grafische macOS-Anwendung aus: -`open -a {{Application}}` +`open -a {{anwendung}}` -- Ausführen einer grafischen macOS-Anwendung basierend auf der Bundle-Kennung (siehe `osascript` für eine einfache Möglichkeit, diese zu identifizieren): +- Führe eine grafische macOS-Anwendung basierend auf der Bundle-Kennung aus (siehe `osascript` für eine einfache Möglichkeit, diese zu identifizieren): -`open -b {{com.domain.application}}` +`open -b {{com.domain.anwendung}}` -- Öffnen des aktuellen Verzeichnis im Finder: +- Öffne das aktuelle Verzeichnis im Finder: `open .` -- Zeigen Sie eine Datei im Finder an: +- Zeige eine Datei im Finder an: -`open -R {{path/to/file}}` +`open -R {{pfad/zu/datei}}` -- Alle Dateien einer bestimmten Erweiterung im aktuellen Verzeichnis mit der zugehörigen Anwendung öffnen: +- Öffne alle Dateien einer bestimmten Erweiterung im aktuellen Verzeichnis mit der zugehörigen Anwendung: `open {{*.ext}}` diff --git a/pages.de/osx/pbpaste.md b/pages.de/osx/pbpaste.md new file mode 100644 index 00000000000000..3781697158caf8 --- /dev/null +++ b/pages.de/osx/pbpaste.md @@ -0,0 +1,12 @@ +# pbpaste + +> Sende den Inhalt der Zwischenablage zum Standardoutput. +> Weitere Informationen: . + +- Schreibe den Inhalt der Zwischenablage in eine Datei: + +`pbpaste > {{datei}}` + +- Benutze die Zwischenablage als Eingabe für andere Kommandos: + +`pbpaste | grep foo` diff --git a/pages.de/osx/tmutil.md b/pages.de/osx/tmutil.md index 3f0b689850eedf..2587c13c447dd0 100644 --- a/pages.de/osx/tmutil.md +++ b/pages.de/osx/tmutil.md @@ -1,25 +1,25 @@ # tmutil -> Dienstprogramm zum Verwalten von Time Machine-Backups. Die meisten Kommandos erfordern Root-Rechte. -> Mehr Informationen: . +> Dienstprogramm zum Verwalten von Time Machine-Backups. Die meisten Befehle erfordern Root-Rechte. +> Weitere Informationen: . - Setze ein HFS+ Laufwerk als Backupziel: -`sudo tmutil setdestination {{path/to/disk_mount_point}}` +`sudo tmutil setdestination {{pfad/zu/einhänge_punkt}}` -- Setzen von einer APF-Freigabe oder SMB-Freigabe, als Backupziel: +- Setze eine APF-Freigabe oder SMB-Freigabe als Backupziel: -`sudo tmutil setdestination {{protocol://user[:password]@host/share}}` +`sudo tmutil setdestination "{{protocol://benutzer[:passwort]@host/share}}"` -- Hängen Sie das angegebene Ziel an die Liste der Backupziele an: +- Hänge das angegebene Ziel an die Liste der Backupziele an: -`sudo tmutil setdestination -a {{destination}}` +`sudo tmutil setdestination -a {{ziel}}` -- Aktivieren von automatischen Backups: +- Aktiviere automatische Backups: `sudo tmutil enable` -- Automatische Backups deaktivieren: +- Deaktiviere automatische Backups: `sudo tmutil disable` @@ -31,6 +31,6 @@ `sudo tmutil startbackup -b` -- Stoppen vom Backup: +- Stoppe ein laufendes Backup: `sudo tmutil stopbackup` diff --git a/pages.de/osx/xcode-select.md b/pages.de/osx/xcode-select.md new file mode 100644 index 00000000000000..f34ecee029db64 --- /dev/null +++ b/pages.de/osx/xcode-select.md @@ -0,0 +1,25 @@ +# xcode-select + +> Wechsel zwischen verschiedenen Xcode Versionen und den enthaltenen Entwicklertools. +> Wird auch verwendet, um den Pfad zu Xcode zu aktualisieren, wenn dieser sich nach einer Installation geändert hat. +> Weitere Informationen: . + +- Installiere die Xcode Entwicklertools: + +`xcode-select --install` + +- Wähle einen bestimmten Pfad als aktives Entwicklerverzeichnis aus: + +`xcode-select --switch {{pfad/zu/Xcode.app/Contents/Developer}}` + +- Wähle eine Xcode Version aus und ändere das aktive Entwicklerverzeichnis dahin: + +`xcode-select --switch {{pfad/zu/Xcode.app}}` + +- Gib das derzeit aktive Entwicklerverzeichnis aus: + +`xcode-select --print-path` + +- Verwerfe alle vom Benutzer angegebenen Entwicklerverzeichnisse (fortan wird der Standardsuchmechanismus verwendet, um diese zu finden): + +`sudo xcode-select --reset` diff --git a/pages.de/windows/cd.md b/pages.de/windows/cd.md index 16564047255649..af33b4a18a27ee 100644 --- a/pages.de/windows/cd.md +++ b/pages.de/windows/cd.md @@ -1,20 +1,20 @@ # cd -> Zeigt den Namen des aktuellen Arbeitsverzeichnisses an oder ändert dieses. -> Mehr Informationen: . +> Zeige den Namen des aktuellen Arbeitsverzeichnisses an oder ändere dieses. +> Weitere Informationen: . -- Wechsel zu einem Verzeichnis im selben Laufwerk: +- Wechsle zu einem Verzeichnis im selben Laufwerk: -`cd {{pfad/zum/verzeichnis}}` +`cd {{pfad/zu/verzeichnis}}` -- Den Namen des aktuellen Verzeichnisses anzeigen: +- Zeige den Namen des aktuellen Verzeichnisses an: `cd` -- Zum übergeordneten Verzeichnis des aktuellen Verzeichnisses wechseln: +- Wechsle zum übergeordneten Verzeichnis des aktuellen Verzeichnisses: `cd ..` -- Wechsel in ein Verzeichnis auf einem anderen Laufwerk: +- Wechsle in ein Verzeichnis auf einem anderen Laufwerk: -`cd {{pfad/zum/verzeichnis}} /d` +`cd {{pfad/zu/verzeichnis}} /d` diff --git a/pages.de/windows/choco-apikey.md b/pages.de/windows/choco-apikey.md index 6210f91c71cc2d..580183cbfddfe3 100644 --- a/pages.de/windows/choco-apikey.md +++ b/pages.de/windows/choco-apikey.md @@ -1,7 +1,7 @@ -# choco-apikey +# choco apikey > Verwalte die API-Schlüssel für die Quellen von Chocolatey. -> Mehr Informationen: . +> Weitere Informationen: . - Gib eine Liste von Quellen und ihren API-Schlüsseln aus: diff --git a/pages.de/windows/choco-feature.md b/pages.de/windows/choco-feature.md index ef3dadc3c69be5..53741e1f1159e3 100644 --- a/pages.de/windows/choco-feature.md +++ b/pages.de/windows/choco-feature.md @@ -1,7 +1,7 @@ # choco feature > Interagiere mit Funktionen, die das Verhalten von Chocolatey verändern. -> Mehr Informationen: . +> Weitere Informationen: . - Gib eine Liste von verfügbaren Funktionen aus: diff --git a/pages.de/windows/choco-info.md b/pages.de/windows/choco-info.md index ef6b13e5c9c5f8..a3f610d9bdf5e8 100644 --- a/pages.de/windows/choco-info.md +++ b/pages.de/windows/choco-info.md @@ -1,7 +1,7 @@ # choco info > Zeige ausführliche Informationen über ein Chocolatey-Paket an. -> Mehr Informationen: . +> Weitere Informationen: . - Zeige Informationen über ein bestimmtes Paket an: diff --git a/pages.de/windows/choco-install.md b/pages.de/windows/choco-install.md index d049a0fc909ea6..60c79322d1781d 100644 --- a/pages.de/windows/choco-install.md +++ b/pages.de/windows/choco-install.md @@ -1,19 +1,19 @@ # choco install > Installiere ein oder mehrere Pakete mit Chocolatey. -> Mehr Informationen: . +> Weitere Informationen: . - Installiere ein oder mehrere Pakete, deren Namen mit Leerzeichen getrennt sind: -`choco install {{paket(e)}}` +`choco install {{paket1 paket2 ...}}` - Installiere Pakete aus einer Konfigurationsdatei: -`choco install {{pfad/zur/pakete.config}}` +`choco install {{pfad/zu/pakete.config}}` -- Installiere Pakete aus einer "nuspec"- oder "nupkg"-Datei: +- Installiere Pakete aus einer `nuspec`- oder `nupkg`-Datei: -`choco install {{pfad/zur/datei}}` +`choco install {{pfad/zu/datei}}` - Installiere eine bestimmte Version eines Pakets: diff --git a/pages.de/windows/choco-list.md b/pages.de/windows/choco-list.md index 4705f1c72ead41..7184adbf502079 100644 --- a/pages.de/windows/choco-list.md +++ b/pages.de/windows/choco-list.md @@ -1,7 +1,7 @@ # choco list > Zeige mit Chocolatey eine Liste von Paketen an. -> Mehr Informationen: . +> Weitere Informationen: . - Zeige alle verfügbaren Pakete an: diff --git a/pages.de/windows/choco-new.md b/pages.de/windows/choco-new.md index 41acc03a86fc1e..25198bb35d44f1 100644 --- a/pages.de/windows/choco-new.md +++ b/pages.de/windows/choco-new.md @@ -1,7 +1,7 @@ # choco new > Erstelle neue Paket-Beschreibungs-Dateien mit Chocolatey. -> Mehr Informationen: . +> Weitere Informationen: . - Erstelle ein neues Grundgerüst für ein Paket: @@ -17,7 +17,7 @@ - Erstelle ein neues Paket in einem bestimmten Ausgabe-Verzeichnis: -`choco new {{paket_name}} --output-directory {{pfad/zum/verzeichnis}}` +`choco new {{paket_name}} --output-directory {{pfad/zu/verzeichnis}}` - Erstelle ein neues Paket mit verschiedenen URLs für die 32-Bit und 64-Bit Installationsroutinen: diff --git a/pages.de/windows/choco-outdated.md b/pages.de/windows/choco-outdated.md index 222c9b70468085..309b242e03c531 100644 --- a/pages.de/windows/choco-outdated.md +++ b/pages.de/windows/choco-outdated.md @@ -1,7 +1,7 @@ # choco outdated > Überprüfe mit Chocolatey, ob Pakete veraltet sind. -> Mehr Informationen: . +> Weitere Informationen: . - Zeige eine Liste von veralteten Paketen im Tabellen-Format: diff --git a/pages.de/windows/choco-pack.md b/pages.de/windows/choco-pack.md index b19b05ba983e68..0df2ee2b7287a2 100644 --- a/pages.de/windows/choco-pack.md +++ b/pages.de/windows/choco-pack.md @@ -1,16 +1,16 @@ # choco pack > Verpacke eine NuGet-Spezifikation in eine nupkg-Datei. -> Mehr Informationen: . +> Weitere Informationen: . - Verpacke eine NuGet-Spezifikation in eine nupkg-Datei: -`choco pack {{pfad/zu/der/spezifikation}}` +`choco pack {{pfad/zu/spezifikation}}` - Verpacke eine NuGet-Spezifikation in eine nupkg-Datei und bestimme die Version der ausgegebenen Datei: -`choco pack {{pfad/zu/der/spezifikation}} --version {{version}}` +`choco pack {{pfad/zu/spezifikation}} --version {{version}}` - Verpacke eine NuGet-Spezifikation in eine nupkg-Datei, welche in einem bestimmten Verzeichnis gespeichert wird: -`choco pack {{pfad/zu/der/spezifikation}} --output-directory {{pfad/zum/ausgabe_verzeichnis}}` +`choco pack {{pfad/zu/spezifikation}} --output-directory {{pfad/zu/ausgabe_verzeichnis}}` diff --git a/pages.de/windows/choco-pin.md b/pages.de/windows/choco-pin.md index 9a7123c5646300..c9c6c93e4c99c1 100644 --- a/pages.de/windows/choco-pin.md +++ b/pages.de/windows/choco-pin.md @@ -2,7 +2,7 @@ > Hefte ein Chocolatey-Paket bei einer bestimmten Version an. > Angeheftete Pakete werden nicht weiter aktualisiert. -> Mehr Informationen: . +> Weitere Informationen: . - Zeige eine Liste der angehefteten Pakete und ihrer Versionen an: diff --git a/pages.de/windows/choco-search.md b/pages.de/windows/choco-search.md index d8c2a7d7f2674d..ed912398da5b4c 100644 --- a/pages.de/windows/choco-search.md +++ b/pages.de/windows/choco-search.md @@ -1,7 +1,7 @@ # choco search > Suche mit Chocolatey nach einem lokal oder im Internet verfügbaren Paket. -> Mehr Informationen: . +> Weitere Informationen: . - Suche nach einem Paket: diff --git a/pages.de/windows/choco-source.md b/pages.de/windows/choco-source.md index b83e46b5b26f0a..b01b11d6a92bb2 100644 --- a/pages.de/windows/choco-source.md +++ b/pages.de/windows/choco-source.md @@ -1,7 +1,7 @@ # choco source > Verwalte die Paketquellen mit Chocolatey. -> Mehr Informationen: . +> Weitere Informationen: . - Gib alle momentan verfügbaren Quellen aus: @@ -17,7 +17,7 @@ - Füge eine neue Paketquelle mit Client-Zertifikat hinzu: -`choco source add --name {{name}} --source {{url}} --cert {{pfad/zum/zertifikat}}` +`choco source add --name {{name}} --source {{url}} --cert {{pfad/zu/zertifikat}}` - Aktiviere eine Paketquelle: diff --git a/pages.de/windows/choco-uninstall.md b/pages.de/windows/choco-uninstall.md index 420d57bbe4c535..52d5fe32271893 100644 --- a/pages.de/windows/choco-uninstall.md +++ b/pages.de/windows/choco-uninstall.md @@ -1,7 +1,7 @@ # choco uninstall > Deinstalliere mit Chocolatey ein oder mehrere Pakete. -> Mehr Informationen: . +> Weitere Informationen: . - Deinstalliere ein oder mehrere Pakete, deren Namen mit Leerzeichen getrennt sind: diff --git a/pages.de/windows/choco-upgrade.md b/pages.de/windows/choco-upgrade.md index 24aa1af9da37f6..855fe9afb7fc48 100644 --- a/pages.de/windows/choco-upgrade.md +++ b/pages.de/windows/choco-upgrade.md @@ -1,7 +1,7 @@ # choco upgrade > Aktualisiere mit Chocolatey ein oder mehrere Pakete. -> Mehr Informationen: . +> Weitere Informationen: . - Aktualisiere ein oder mehrere Pakete, deren Namen mit Leerzeichen getrennt sind: diff --git a/pages.de/windows/choco.md b/pages.de/windows/choco.md index 3fe040bf3aa915..94689ddeaf5b03 100644 --- a/pages.de/windows/choco.md +++ b/pages.de/windows/choco.md @@ -1,8 +1,8 @@ # choco > Ein Kommandozeilenwerkzeug für die Chocolatey Paketverwaltung. -> Schau dir `choco install`, `choco upgrade` und andere Seiten für weitergehende Informationen an. -> Mehr Informationen: . +> Manche Unterbefehle wie `install` sind separat dokumentiert. +> Weitere Informationen: . - Führe einen Chocolatey-Befehl aus: diff --git a/pages.de/windows/chrome.md b/pages.de/windows/chrome.md new file mode 100644 index 00000000000000..d43983342d1c75 --- /dev/null +++ b/pages.de/windows/chrome.md @@ -0,0 +1,8 @@ +# chrome + +> Dieser Befehl ist ein Alias von `chromium`. +> Weitere Informationen: . + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr chromium` diff --git a/pages.de/windows/cinst.md b/pages.de/windows/cinst.md new file mode 100644 index 00000000000000..77f730b020b77d --- /dev/null +++ b/pages.de/windows/cinst.md @@ -0,0 +1,7 @@ +# cinst + +> Dieser Befehl ist ein Alias von `choco install`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr choco install` diff --git a/pages.de/windows/cipher.md b/pages.de/windows/cipher.md new file mode 100644 index 00000000000000..c4dc7889f540d0 --- /dev/null +++ b/pages.de/windows/cipher.md @@ -0,0 +1,20 @@ +# cipher + +> Zeigt oder Verändert die Verschlüsselung von Verzeichnissen und Dateien auf NTFS-Laufwerken. +> Weitere Informationen: . + +- Informationen über die Verschlüsselung einer bestimmten Datei oder eines Verzeichnisses anzeigen lassen: + +`cipher /c:{{pfad/zu/datei_oder_verzeichnis}}` + +- Verschlüssle eine Datei oder ein Verzeichnis (nachträglich hinzugefügte Dateien werden ebenfalls verschlüsselt, da das Verzeichnis markiert ist): + +`cipher /e:{{pfad/zu/datei_oder_verzeichnis}}` + +- Entschlüssle eine Datei oder ein Verzeichnis: + +`cipher /d:{{pfad/zu/datei_oder_verzeichnis}}` + +- Entferne eine Datei oder ein Verzeichnis sicher: + +`cipher /w:{{pfad/zu/datei_oder_verzeichnis}}` diff --git a/pages.de/windows/clip.md b/pages.de/windows/clip.md new file mode 100644 index 00000000000000..201271b91f0fef --- /dev/null +++ b/pages.de/windows/clip.md @@ -0,0 +1,20 @@ +# clip + +> Kopieren von Inhalten der Befehlsausgabe in die Windows Zwischenablage. +> Weitere Informationen: . + +- Kopiere die Ausgabe eines Befehls in die Windows Zwischenablage: + +`{{dir}} | clip` + +- Kopiere den Inhalt einer Datei in die Windows Zwischenablage: + +`clip < {{pfad/zu/datei.txt}}` + +- Kopiere Text mit einem nachfolgenden Zeilenumbruch in die Windows Zwischenablage: + +`echo {{irgendein text}} | clip` + +- Kopiere Text ohne nachfolgenden Zeilenumbruch in die Windows Zwischenablage: + +`echo | set /p="irgendein text" | clip` diff --git a/pages.de/windows/clist.md b/pages.de/windows/clist.md new file mode 100644 index 00000000000000..66c2fed91644ca --- /dev/null +++ b/pages.de/windows/clist.md @@ -0,0 +1,7 @@ +# clist + +> Dieser Befehl ist ein Alias von `choco list`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr choco list` diff --git a/pages.de/windows/cmd.md b/pages.de/windows/cmd.md new file mode 100644 index 00000000000000..7afb5368d5352d --- /dev/null +++ b/pages.de/windows/cmd.md @@ -0,0 +1,36 @@ +# cmd + +> Auch Windows-Eingabeaufforderung genannt, der Windows-Befehlsinterpreter. +> Weitere Informationen: . + +- Starten einer interaktiven Shell-Sitzung: + +`cmd` + +- Ausführen eines Befehls (Command): + +`cmd /c {{echo Hallo Welt}}` + +- Ausführen eines Skripts: + +`cmd {{Pfad\zur\Datei.bat}}` + +- Ausführen eines Befehls und anschließendes Aufrufen einer interaktiven Shell: + +`cmd /k {{echo Hallo Welt}}` + +- Starten einer interaktiven Shell-Sitzung, bei der `echo` in der Befehlsausgabe deaktiviert ist: + +`cmd /q` + +- Starten einer interaktiven Shell-Sitzung mit aktivierter oder deaktivierter verzögerter Erweiterung der Umgebungsvariablen: + +`cmd /v:{{on|off}}` + +- Starten einer interaktiven Shell-Sitzung mit aktivierten oder deaktivierten Befehleerweiterungen: + +`cmd /e:{{on|off}}` + +- Starten einer interaktiven Shell-Sitzung mit Unicode-Kodierung: + +`cmd /u` diff --git a/pages.de/windows/color.md b/pages.de/windows/color.md new file mode 100644 index 00000000000000..b0bebe5dfe70a8 --- /dev/null +++ b/pages.de/windows/color.md @@ -0,0 +1,16 @@ +# color + +> Setze die Vordergrund- und Hintergrundfarben der Kommandozeile. +> Weitere Informationen: . + +- Setze die Kommandozeilenfarben auf die Standardwerte: + +`color` + +- Liste alle verfügbaren Farben und detaillierte Informationen auf: + +`color /?` + +- Setze die Vordergrund- und Hintergrundfarbe der Kommandozeilen auf eine spezifische Farbe: + +`color {{vordergrundfarbe_code}}{{hintergrundfarbe_code}}` diff --git a/pages.de/windows/cpush.md b/pages.de/windows/cpush.md new file mode 100644 index 00000000000000..b535234a3fd50d --- /dev/null +++ b/pages.de/windows/cpush.md @@ -0,0 +1,7 @@ +# cpush + +> Dieser Befehl ist ein Alias von `choco push`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr choco push` diff --git a/pages.de/windows/cuninst.md b/pages.de/windows/cuninst.md new file mode 100644 index 00000000000000..6a8727657a7169 --- /dev/null +++ b/pages.de/windows/cuninst.md @@ -0,0 +1,7 @@ +# cuninst + +> Dieser Befehl ist ein Alias von `choco uninstall`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr choco uninstall` diff --git a/pages.de/windows/curl.md b/pages.de/windows/curl.md new file mode 100644 index 00000000000000..1c8eb865af8c38 --- /dev/null +++ b/pages.de/windows/curl.md @@ -0,0 +1,16 @@ +# curl + +> In PowerShell kann dieser Befehl ein Alias von `Invoke-WebRequest` sein, wenn das Originalprogramm `curl` () nicht ordnungsgemäß installiert wurde. +> Weitere Informationen: . + +- Schaue dir hier die Dokumentation für den ursprünglichen `curl`-Befehl an: + +`tldr curl -p common` + +- Schaue dir hier die Dokumentation für den PowerShell-Befehl `Invoke-WebRequest` an: + +`tldr invoke-webrequest` + +- Überprüfen Sie, ob `curl` ordnungsgemäß installiert ist, indem Sie sich die Versionsnummer ausgeben lassen. Wenn nachfolgender Befehl einen Fehler ausgibt, hat PowerShell diesen Befehl möglicherweise durch `Invoke-WebRequest` ersetzt: + +`curl --version` diff --git a/pages.de/windows/del.md b/pages.de/windows/del.md new file mode 100644 index 00000000000000..1fe951e56b1662 --- /dev/null +++ b/pages.de/windows/del.md @@ -0,0 +1,32 @@ +# del + +> Lösche eine oder mehrere Dateien. +> Weitere Informationen: . + +- Lösche eine oder mehrere durch Leerzeichen getrennte Dateien oder Dateimuster: + +`del {{dateimuster}}` + +- Fordere vor dem Löschen jeder Datei zur Bestätigung auf: + +`del {{dateimuster}} /p` + +- Erzwinge das Löschen von schreibgeschützten Dateien: + +`del {{dateimuster}} /f` + +- Lösche alle Dateien die dem Muster entsprechen rekursiv in allen Unterordnern: + +`del {{dateimuster}} /s` + +- Zeige keine Eingabeaufforderung wenn Dateien basierend auf einem globalen Platzhalter gelöscht werden sollen: + +`del {{dateimuster}} /q` + +- Zeige Hilfe an und liste verfügbare Attribute auf: + +`del /?` + +- Lösche Dateien mit den gegebenen Attributen: + +`del {{dateimuster}} /a {{attribut}}` diff --git a/pages.de/windows/dir.md b/pages.de/windows/dir.md new file mode 100644 index 00000000000000..839423f02cbb8e --- /dev/null +++ b/pages.de/windows/dir.md @@ -0,0 +1,20 @@ +# dir + +> Zeige den Inhalt von Verzeichnissen an. +> Weitere Informationen: . + +- Zeige den Inhalt des aktuellen Verzeichnisses an: + +`dir` + +- Zeige den Inhalt des angegebenen Verzeichnisses an: + +`dir {{pfad/zu/verzeichnis}}` + +- Zeige den Inhalt, inklusive versteckter Inhalte, des aktuellen Verzeichnisses an: + +`dir /A` + +- Zeige den Inhalt, inklusive versteckte Inhalte, des angegebenen Verzeichnisses an: + +`dir {{pfad/zu/verzeichnis}} /A` diff --git a/pages.de/windows/exit.md b/pages.de/windows/exit.md new file mode 100644 index 00000000000000..b722f5b12cd174 --- /dev/null +++ b/pages.de/windows/exit.md @@ -0,0 +1,16 @@ +# exit + +> Beendet die aktuelle CMD-Instanz oder die aktuelle Batch-Datei. +> Weitere Informationen: . + +- Beenden der aktuellen CMD-Instanz: + +`exit` + +- Beenden des aktuellen [b]atch-Skripts: + +`exit /b` + +- Beenden mit einem bestimmten Exit-Code: + +`exit {{exit_code}}` diff --git a/pages.de/windows/ftp.md b/pages.de/windows/ftp.md new file mode 100644 index 00000000000000..0e2d828adc2322 --- /dev/null +++ b/pages.de/windows/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> Interaktiver Dateitransfer zwischen einem lokalen und einem entfernten FTP-Server. +> Weitere Informationen: . + +- Verbinden mit einem entfernten FTP-Server: + +`ftp {{host}}` + +- Anmelden als anonymer Benutzer: + +`ftp -A {{host}}` + +- Deaktivieren der automatische Anmeldung bei der ersten Verbindung: + +`ftp -n {{host}}` + +- Ausführen einer Datei, die eine Liste von FTP-Befehlen enthält: + +`ftp -s:{{pfad/zu/Datei}} {{host}}` + +- Herunterladen von mehrerern Dateien (globaler Ausdruck): + +`mget {{*.png}}` + +- Hochladen von mehrerern Dateien (globaler Ausdruck): + +`mput {{*.zip}}` + +- Löschen mehrerer Dateien auf dem entfernten Server: + +`mdelete {{*.txt}}` + +- Ausführliche Hilfe anzeigen: + +`ftp --help` diff --git a/pages.de/windows/ipconfig.md b/pages.de/windows/ipconfig.md new file mode 100644 index 00000000000000..7a8491f38a2b48 --- /dev/null +++ b/pages.de/windows/ipconfig.md @@ -0,0 +1,28 @@ +# ipconfig + +> Zeige die Netzwerkkonfiguration von Windows an und verwalte diese. +> Weitere Informationen: . + +- 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` diff --git a/pages.de/windows/iwr.md b/pages.de/windows/iwr.md new file mode 100644 index 00000000000000..86978ee52179c5 --- /dev/null +++ b/pages.de/windows/iwr.md @@ -0,0 +1,7 @@ +# iwr + +> Dieser Befehl ist ein Alias von `invoke-webrequest`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr invoke-webrequest` diff --git a/pages.de/windows/pwsh-where.md b/pages.de/windows/pwsh-where.md new file mode 100644 index 00000000000000..d15e22450cf6f7 --- /dev/null +++ b/pages.de/windows/pwsh-where.md @@ -0,0 +1,7 @@ +# pwsh where + +> Dieser Befehl ist ein Alias von `Where-Object`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr Where-Object` diff --git a/pages.de/windows/rd.md b/pages.de/windows/rd.md new file mode 100644 index 00000000000000..c001eef859d80e --- /dev/null +++ b/pages.de/windows/rd.md @@ -0,0 +1,7 @@ +# rd + +> Dieser Befehl ist ein Alias von `rmdir`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr rmdir` diff --git a/pages.de/windows/robocopy.md b/pages.de/windows/robocopy.md new file mode 100644 index 00000000000000..49068595a38eec --- /dev/null +++ b/pages.de/windows/robocopy.md @@ -0,0 +1,33 @@ +# robocopy + +> Robustes Kopieren von Dateien und Ordnern. +> Standardmäßig werden Dateien nur kopiert, wenn die Quell- und Zieldatei ein unterschiedliches Änderungsdatum oder eine unterschiedliche Dateigröße haben. +> Weitere Informationen: . + +- Alle `.jpg` und `.bmp` Dateien aus dem einen Verzeichnis in ein anderes Verzeichnis kopieren: + +`robocopy {{pfad/zu/quelle}} {{pfad/zu/ziel}} {{*.jpg}} {{*.bmp}}` + +- Alle Dateien und Unterverzeichnisse kopieren, einschließlich der leeren Verzeichnisse: + +`robocopy {{pfad/zu/quelle}} {{pfad/zu/ziel}} /E` + +- Ein Verzeichnis spiegeln/synchronisieren. Dabei wird Alles, was nicht in der Quelle vorhanden ist, gelöscht sowie alle Attribute und Berechtigungen übertragen: + +`robocopy {{pfad/zu/quelle}} {{pfad/zu/ziel}} /MIR /COPYALL` + +- Alle Dateien und Unterverzeichnisse kopieren, ausgenommen der Quelldateien, die älter sind als die vorhandenen Zieldateien: + +`robocopy {{pfad/zu/quelle}} {{pfad/zu/ziel}} /E /XO` + +- Gibt alle Dateien aus, die 50 MB und größer sind, anstatt sie zu kopieren: + +`robocopy {{pfad/zu/quelle}} {{pfad/zu/ziel}} /MIN:{{52428800}} /L` + +- Erlaubt das Fortsetzen des Vorgangs bei Netzwerkverlust, begrenzt die Anzahl an Versuchen auf 5 und die Wartezeit zwischen Versuchen auf 15 Sekunden: + +`robocopy {{pfad/zu/quelle}} {{pfad/zu/ziel}} /Z /R:5 /W:15` + +- Gibt detaillierte Nutzungshinweise aus: + +`robocopy /?` diff --git a/pages.de/windows/scoop-bucket.md b/pages.de/windows/scoop-bucket.md index 30cadeb6118d60..fe2f80d4035c8f 100644 --- a/pages.de/windows/scoop-bucket.md +++ b/pages.de/windows/scoop-bucket.md @@ -1,8 +1,8 @@ # scoop bucket -> Verwalte "Eimer": Git-Repositories, welche Dateien enthalten, die beschreiben, wie Scoop Programme installiert. +> Verwalte "Eimer": Git-Repositories, welche Dateien enthalten, die beschreiben, wie Scoop Programme installiert werden. > Kennt Scoop nicht die URL eines Eimers, so muss diese angegeben werden. -> Mehr Informationen: . +> Weitere Informationen: . - Liste alle Eimer auf, die gerade aktiv sind: diff --git a/pages.de/windows/scoop.md b/pages.de/windows/scoop.md index 43794b6461310f..839815577d67d7 100644 --- a/pages.de/windows/scoop.md +++ b/pages.de/windows/scoop.md @@ -1,7 +1,7 @@ # scoop > Ein Kommandozeilenwerkzeug, um Windows-Programme (hier bezeichnet als Pakete) zu installieren. -> Mehr Informationen: . +> Weitere Informationen: . - Installiere ein Paket: @@ -13,7 +13,7 @@ - Aktualisiere alle installierten Pakete: -`scoop update *` +`scoop update --all` - Zeige alle installierten Pakete an: @@ -29,4 +29,4 @@ - Entferne die alten Versionen aller Pakete und lösche den Download-Zwischenspeicher: -`scoop cleanup -k *` +`scoop cleanup --cache --all` diff --git a/pages.de/windows/sls.md b/pages.de/windows/sls.md new file mode 100644 index 00000000000000..5b4a779f5d38cb --- /dev/null +++ b/pages.de/windows/sls.md @@ -0,0 +1,7 @@ +# sls + +> Dieser Befehl ist ein Alias von `Select-String`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr select-string` diff --git a/pages.de/windows/wget.md b/pages.de/windows/wget.md new file mode 100644 index 00000000000000..3d6b58a54d722d --- /dev/null +++ b/pages.de/windows/wget.md @@ -0,0 +1,16 @@ +# wget + +> In PowerShell kann dieser Befehl ein Alias von `Invoke-WebRequest` sein, wenn das Originalprogramm `wget` () nicht ordnungsgemäß installiert wurde. +> Weitere Informationen: . + +- Schaue dir hier die Dokumentation für den ursprünglichen `wget`-Befehl an: + +`tldr wget -p common` + +- Schaue dir hier die Dokumentation für den PowerShell-Befehl `Invoke-WebRequest` an: + +`tldr invoke-webrequest` + +- Überprüfen Sie, ob `wget` ordnungsgemäß installiert ist, indem Sie sich die Versionsnummer ausgeben lassen. Wenn nachfolgender Befehl einen Fehler ausgibt, hat PowerShell diesen Befehl möglicherweise durch `Invoke-WebRequest` ersetzt: + +`wget --version` diff --git a/pages.de/windows/winget.md b/pages.de/windows/winget.md new file mode 100644 index 00000000000000..7c44eacfeb2fdc --- /dev/null +++ b/pages.de/windows/winget.md @@ -0,0 +1,16 @@ +# winget + +> Windows Package Manager CLI. +> Weitere Informationen: . + +- Installiere ein Paket: + +`winget install {{paket}}` + +- Zeige Informationen über ein Paket an: + +`winget show {{paket}}` + +- Suche ein Paket: + +`winget search {{paket}}` diff --git a/pages.de/windows/wsl.md b/pages.de/windows/wsl.md new file mode 100644 index 00000000000000..c443830fa99431 --- /dev/null +++ b/pages.de/windows/wsl.md @@ -0,0 +1,36 @@ +# wsl + +> Verwalte das Windows Subsystem für Linux von der Kommandozeile. +> Weitere Informationen: . + +- Starte eine Linux-Shell (in der Standard-Distribution): + +`wsl {{shell_befehl}}` + +- Führe einen Linux-Befehl aus, ohne eine Shell zu benutzen: + +`wsl --exec {{befehl}} {{befehl_argumente}}` + +- Gib eine bestimmte Distribution an: + +`wsl --distribution {{distribution}} {{shell_befehl}}` + +- Liste verfügbare Distributionen auf: + +`wsl --list` + +- Exportiere eine Distribution in eine `.tar` Datei: + +`wsl --export {{distribution}} {{pfad/zu/datei.tar}}` + +- Importiere eine Distribution von einer `.tar` Datei: + +`wsl --import {{distribution}} {{pfad/zu/installations_verzeichnis}} {{pfad/zu/datei.tar}}` + +- Ändere die WSL-Version einer bestimmten Distribution: + +`wsl --set-version {{distribution}} {{version}}` + +- Fahre das Windows Subsystem für Linux herunter: + +`wsl --shutdown` diff --git a/pages.de/windows/xcopy.md b/pages.de/windows/xcopy.md new file mode 100644 index 00000000000000..0d9b1df347f259 --- /dev/null +++ b/pages.de/windows/xcopy.md @@ -0,0 +1,36 @@ +# xcopy + +> Kopieren von Dateien und Verzeichnisbäumen. +> Weitere Informationen: . + +- Kopiere Datei(en) an den angegebenen Zielort: + +`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}}` + +- Liste die zu kopierenden Dateien vor dem Kopieren auf: + +`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /p` + +- Kopiere nur die Verzeichnisstruktur ohne Dateien: + +`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /t` + +- Kopiere leere Verzeichnisse mit: + +`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /e` + +- Behalte die Quell-Zugriffsrichtlinien (ACL) im Ziel Verzeichnis bei: + +`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /o` + +- Setze den Vorgang nach Unterbrechung der Netzwerkverbindung fort: + +`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /z` + +- Überschreibe bereits vorhandene Zieldateien automatisch: + +`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /y` + +- Zeige die detaillierte Hilfe an: + +`xcopy /?` diff --git a/pages.en b/pages.en new file mode 120000 index 00000000000000..5c9227a37d931f --- /dev/null +++ b/pages.en @@ -0,0 +1 @@ +pages \ No newline at end of file diff --git a/pages.es/android/am.md b/pages.es/android/am.md new file mode 100644 index 00000000000000..d0972662a6d06a --- /dev/null +++ b/pages.es/android/am.md @@ -0,0 +1,20 @@ +# am + +> Administrador de actividades de Android. +> Más información: . + +- Inicia una actividad específica: + +`am start -n {{com.android.settings/.Settings}}` + +- Inicia una actividad y le suministra datos: + +`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}` + +- Inicia una actividad que coincide con una acción y categoría específicas: + +`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}` + +- Convierte una intención en una URI: + +`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}` diff --git a/pages.es/android/bugreport.md b/pages.es/android/bugreport.md new file mode 100644 index 00000000000000..0473398d93e19c --- /dev/null +++ b/pages.es/android/bugreport.md @@ -0,0 +1,9 @@ +# bugreport + +> Muestra un informe de error de Android. +> Este comando solo se puede usar a través de `adb shell`. +> Más información: . + +- Muestra un informe completo de errores de un dispositivo Android: + +`bugreport` diff --git a/pages.es/android/bugreportz.md b/pages.es/android/bugreportz.md new file mode 100644 index 00000000000000..5fe3f655709fa0 --- /dev/null +++ b/pages.es/android/bugreportz.md @@ -0,0 +1,25 @@ +# bugreportz + +> Genera un informe de error Android comprimido. +> Este comando sólo puede usarse a través de `adb shell`. +> Más información: . + +- Genera un informe de error completo comprimido de un dispositivo Android: + +`bugreportz` + +- Muestra el progreso de una operación `bugreportz` en ejecución: + +`bugreportz -p` + +- Escribe el contenido de un informe de error de Android en `stdout`: + +`bugreportz -s` + +- Muestra ayuda: + +`bugreportz -h` + +- Muestra versión: + +`bugreportz -v` diff --git a/pages.es/android/cmd.md b/pages.es/android/cmd.md new file mode 100644 index 00000000000000..490d9810c90106 --- /dev/null +++ b/pages.es/android/cmd.md @@ -0,0 +1,16 @@ +# cmd + +> Administrador de servicios Android. +> Más información: . + +- Enumera todos los servicios en ejecución: + +`cmd -l` + +- Llama a un servicio específico: + +`cmd {{alarm}}` + +- Llama a un servicio con argumentos: + +`cmd {{vibrator}} {{vibrate 300}}` diff --git a/pages.es/android/dalvikvm.md b/pages.es/android/dalvikvm.md new file mode 100644 index 00000000000000..8770ca497792e9 --- /dev/null +++ b/pages.es/android/dalvikvm.md @@ -0,0 +1,8 @@ +# dalvikvm + +> Máquina virtual Java en Android. +> Más información: . + +- Inicia un programa Java: + +`dalvikvm -classpath {{ruta/al/archivo.jar}} {{classname}}` diff --git a/pages.es/android/dumpsys.md b/pages.es/android/dumpsys.md new file mode 100644 index 00000000000000..71b064a5dd490d --- /dev/null +++ b/pages.es/android/dumpsys.md @@ -0,0 +1,29 @@ +# dumpsys + +> Suministra información sobre los servicios del sistema Android. +> Este comando solo se puede usar a través de `adb shell`. +> Más información: . + +- Obtén los resultados de diagnóstico para todos los servicios del sistema: + +`dumpsys` + +- Obtén los resultados de diagnóstico para un servicio de sistema específico: + +`dumpsys {{service}}` + +- Enumera todos los servicios que `dumpsys` sobre los que puede proporcionar información: + +`dumpsys -l` + +- Enumera los argumentos específicos del servicio para un servicio determinado: + +`dumpsys {{service}} -h` + +- Excluye un servicio específico de la salida de diagnóstico: + +`dumpsys --skip {{service}}` + +- Especifica un período de tiempo de espera en segundos (predeterminado en 10 segundos): + +`dumpsys -t {{seconds}}` diff --git a/pages.es/android/getprop.md b/pages.es/android/getprop.md new file mode 100644 index 00000000000000..452b9773dc3e91 --- /dev/null +++ b/pages.es/android/getprop.md @@ -0,0 +1,32 @@ +# getprop + +> Muestra información sobre las propiedades del sistema Android. +> Más información: . + +- Muestra información sobre las propiedades del sistema Android: + +`getprop` + +- Muestra información sobre una propiedad específica: + +`getprop {{prop}}` + +- Muestra el nivel SDK de la API: + +`getprop {{ro.build.version.sdk}}` + +- Muestra la versión de Android instalada: + +`getprop {{ro.build.version.release}}` + +- Muestra el modelo del dispositivo Android: + +`getprop {{ro.vendor.product.model}}` + +- Muestra el estado de desbloqueo del OEM: + +`getprop {{ro.oem_unlock_supported}}` + +- Muestra la dirección MAC de la tarjeta Wi-Fi de Android: + +`getprop {{ro.boot.wifimacaddr}}` diff --git a/pages.es/android/input.md b/pages.es/android/input.md new file mode 100644 index 00000000000000..2f9aa37d01fed3 --- /dev/null +++ b/pages.es/android/input.md @@ -0,0 +1,25 @@ +# input + +> Envía códigos de eventos o gestos de pantalla táctil a un dispositivo Android. +> Este comando solo se puede usar a través de `adb shell`. +> Más información: . + +- Envía un código de evento para un solo carácter a un dispositivo Android: + +`input keyevent {{codigo_evento}}` + +- Envía un texto a un dispositivo Android (`%s` representa espacios): + +`input text "{{texto}}"` + +- Envía una pulsación a un dispositivo Android: + +`input tap {{x_pos}} {{y_pos}}` + +- Envía un gesto de deslizamiento a un dispositivo Android: + +`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duracion_en_ms}}` + +- Envía una pulsación larga a un dispositivo Android mediante un gesto de deslizamiento: + +`input swipe {{x_pos}} {{y_pos}} {{x_pos}} {{y_pos}} {{duracion_en_ms}}` diff --git a/pages.es/android/logcat.md b/pages.es/android/logcat.md new file mode 100644 index 00000000000000..55b9cd3091ace9 --- /dev/null +++ b/pages.es/android/logcat.md @@ -0,0 +1,24 @@ +# logcat + +> Vuelca un registro de mensajes del sistema, incluyendo seguimientos de pila cuando ocurren errores, y mensajes informativos enviados por las aplicaciones. +> Más información: . + +- Muestra registros del sistema: + +`logcat` + +- Escribe registros del sistema a un archivo: + +`logcat -f {{ruta/al/archivo}}` + +- Muestra registros que coincidan con una expresión regular: + +`logcat --regex {{expresión_regular}}` + +- Muestra registros de un proceso específico: + +`logcat --pid {{pid}}` + +- Muestra registros del proceso de un paquete específico: + +`logcat --pid $(pidof -s {{paquete}})` diff --git a/pages.es/android/pkg.md b/pages.es/android/pkg.md new file mode 100644 index 00000000000000..2aec7f6d0a04c1 --- /dev/null +++ b/pages.es/android/pkg.md @@ -0,0 +1,24 @@ +# pkg + +> Utilidad de gestión de paquetes para Termux. +> Más información: . + +- Actualiza todos los paquetes instalados: + +`pkg upgrade` + +- Instala un paquete: + +`pkg install {{paquete}}` + +- Desinstala un paquete: + +`pkg uninstall {{paquete}}` + +- Reinstala un paquete: + +`pkg reinstall {{paquete}}` + +- Busca un paquete: + +`pkg search {{paquete}}` diff --git a/pages.es/android/pm.md b/pages.es/android/pm.md new file mode 100644 index 00000000000000..23cd419ec87dd2 --- /dev/null +++ b/pages.es/android/pm.md @@ -0,0 +1,24 @@ +# pm + +> Muestra información sobre aplicaciones en un dispositivo Android. +> Más información: . + +- Genera una lista de todas las aplicaciones instaladas: + +`pm list packages` + +- Genera una lista de todas las aplicaciones del sistema instaladas: + +`pm list packages -s` + +- Genera una lista de todas las aplicaciones de terceros instaladas: + +`pm list packages -3` + +- Genera una lista de aplicaciones que coinciden con determinadas palabras clave: + +`pm list packages {{palabras_clave}}` + +- Imprime la ruta del APK de una aplicación específica: + +`pm path {{app}}` diff --git a/pages.es/android/screencap.md b/pages.es/android/screencap.md new file mode 100644 index 00000000000000..5676a6120ddeea --- /dev/null +++ b/pages.es/android/screencap.md @@ -0,0 +1,9 @@ +# screencap + +> Toma una captura de pantalla de una pantalla móvil. +> Este comando solo se puede usar a través de `adb shell`. +> Más información: . + +- Toma una captura de pantalla: + +`screencap {{ruta/al/archivo}}` diff --git a/pages.es/android/settings.md b/pages.es/android/settings.md new file mode 100644 index 00000000000000..695a827687dc78 --- /dev/null +++ b/pages.es/android/settings.md @@ -0,0 +1,20 @@ +# settings + +> Muestra información sobre el sistema operativo Android. +> Más información: . + +- Muestra una lista de configuraciones en el espacio de nombres `global`: + +`settings list {{global}}` + +- Obtén el valor de una configuración específica: + +`settings get {{global}} {{airplane_mode_on}}` + +- Establece el valor de un ajuste: + +`settings put {{system}} {{screen_brightness}} {{42}}` + +- Elimina un ajuste específico: + +`settings delete {{secure}} {{screensaver_enabled}}` diff --git a/pages.es/android/wm.md b/pages.es/android/wm.md new file mode 100644 index 00000000000000..e013345b008a95 --- /dev/null +++ b/pages.es/android/wm.md @@ -0,0 +1,13 @@ +# wm + +> Muestra información sobre la pantalla de un dispositivo Android. +> Este comando solo se puede usar a través de `adb shell`. +> Más información: . + +- Muestra el tamaño físico de la pantalla de un dispositivo Android: + +`wm size` + +- Muestra la densidad física de la pantalla de un dispositivo Android: + +`wm density` diff --git a/pages.es/cisco-ios/clock.md b/pages.es/cisco-ios/clock.md new file mode 100644 index 00000000000000..3454139ff1fbac --- /dev/null +++ b/pages.es/cisco-ios/clock.md @@ -0,0 +1,20 @@ +# clock + +> Configura el reloj del sistema. +> Más información: . + +- Entra en el modo de ejecución privilegiado: + +`clock set {{23}}:{{59}}:{{59}} {{31}} {{april}} {{2000}}` + +- Negocia automáticamente con el extremo remoto del enlace, estableciendo por defecto el reloj activo: + +`clock active prefer` + +- Negocia automáticamente con el extremo remoto del enlace, estableciendo por defecto el reloj pasivo: + +`clock passive prefer` + +- Muestra el modo de reloj actual negociado por el firmware: + +`clock show interfaces` diff --git a/pages.es/cisco-ios/configure.md b/pages.es/cisco-ios/configure.md new file mode 100644 index 00000000000000..d700c98f1ffbfc --- /dev/null +++ b/pages.es/cisco-ios/configure.md @@ -0,0 +1,16 @@ +# configure + +> Entra en el modo de configuración. +> Más información: . + +- Configuración desde la terminal: + +`{{[conf|configure]}} {{[t|terminal]}}` + +- Retrocede un nivel en el modo de configuración: + +`exit` + +- Sale completamente del modo de configuración: + +`end` diff --git a/pages.es/cisco-ios/crypto.md b/pages.es/cisco-ios/crypto.md new file mode 100644 index 00000000000000..7a51540c2d802c --- /dev/null +++ b/pages.es/cisco-ios/crypto.md @@ -0,0 +1,17 @@ +# crypto + +> Administra la criptografía. +> Se accede en modo de configuración. +> Más información: . + +- Genera una clave `rsa`: + +`crypto key generate rsa` + +- Define un módulo para una clave: + +`crypto key generate rsa modulus {{1024}}` + +- Elimina todas las claves: + +`crypto key zeroize` diff --git a/pages.es/cisco-ios/delete.md b/pages.es/cisco-ios/delete.md new file mode 100644 index 00000000000000..1717f1a404cb8b --- /dev/null +++ b/pages.es/cisco-ios/delete.md @@ -0,0 +1,8 @@ +# delete + +> Elimina archivos individuales. +> Más información: . + +- Elimina un archivo de la memoria flash: + +`delete {{vlan.dat}}` diff --git a/pages.es/cisco-ios/dir.md b/pages.es/cisco-ios/dir.md new file mode 100644 index 00000000000000..c77b8fa78713ee --- /dev/null +++ b/pages.es/cisco-ios/dir.md @@ -0,0 +1,16 @@ +# dir + +> Lista archivos. +> Más información: . + +- Lista los archivos del directorio de trabajo actual: + +`dir` + +- Lista archivos en un sistema de archivos específico: + +`dir {{flash}}:` + +- Lista los sistemas de archivos disponibles: + +`dir ?` diff --git a/pages.es/cisco-ios/enable.md b/pages.es/cisco-ios/enable.md new file mode 100644 index 00000000000000..a32d9041ab74ea --- /dev/null +++ b/pages.es/cisco-ios/enable.md @@ -0,0 +1,8 @@ +# enable + +> Entra en el modo de ejecución privilegiado. +> Más información: . + +- Entra en el modo de ejecución privilegiado: + +`enable` diff --git a/pages.es/cisco-ios/erase.md b/pages.es/cisco-ios/erase.md new file mode 100644 index 00000000000000..5f3a6b10a5941e --- /dev/null +++ b/pages.es/cisco-ios/erase.md @@ -0,0 +1,12 @@ +# erase + +> Elimina configuraciones o elementos preestablecidos. +> Más información: . + +- Borra la configuración de inicio: + +`erase startup-config` + +- Borra un sistema de archivos: + +`erase {{flash}}:` diff --git a/pages.es/cisco-ios/interface.md b/pages.es/cisco-ios/interface.md new file mode 100644 index 00000000000000..f67df832cac11b --- /dev/null +++ b/pages.es/cisco-ios/interface.md @@ -0,0 +1,13 @@ +# interface + +> Administra interfaces. +> Se accede en modo de configuración. +> Más información: . + +- Configura una VLAN: + +`interface vlan {{1}}` + +- Activa o desactiva una interfaz (este comando se ejecuta dentro del modo de interfaz): + +`{{no shutdown|shutdown}}` diff --git a/pages.es/cisco-ios/ip.md b/pages.es/cisco-ios/ip.md new file mode 100644 index 00000000000000..934b75f3f1f308 --- /dev/null +++ b/pages.es/cisco-ios/ip.md @@ -0,0 +1,21 @@ +# ip + +> Administra configuraciones IP. +> Se accede en modo de configuración. +> Más información: . + +- Establece la versión de SSH: + +`ip ssh version {{2}}` + +- Asigna la dirección IP del dispositivo (esto se hace dentro del comando `interface`): + +`ip address {{10.0.0.1}} {{255.255.255.0}}` + +- Configura la dirección para que se obtenga mediante DHCP (esto se hace dentro del comando `interface`): + +`ip address dhcp` + +- Define un nombre de dominio: + +`ip domain-name {{example.com}}` diff --git a/pages.es/cisco-ios/line.md b/pages.es/cisco-ios/line.md new file mode 100644 index 00000000000000..1266db9fb47e23 --- /dev/null +++ b/pages.es/cisco-ios/line.md @@ -0,0 +1,9 @@ +# line + +> Administra líneas. +> Se accede en modo de configuración. +> Más información: . + +- Configura líneas de la 0 a la 15: + +`line vty 0 15` diff --git a/pages.es/cisco-ios/login.md b/pages.es/cisco-ios/login.md new file mode 100644 index 00000000000000..2e4695c73514eb --- /dev/null +++ b/pages.es/cisco-ios/login.md @@ -0,0 +1,9 @@ +# login + +> Administra la autenticación de la consola y de las líneas virtuales. +> Se accede en modo de configuración dentro de `line`. +> Más información: . + +- Usa nombre de usuario y contraseña locales para la autenticación: + +`login local` diff --git a/pages.es/cisco-ios/question-mark.md b/pages.es/cisco-ios/question-mark.md new file mode 100644 index 00000000000000..63d3776bd72d31 --- /dev/null +++ b/pages.es/cisco-ios/question-mark.md @@ -0,0 +1,16 @@ +# ? + +> Obtén ayuda contextual. +> Más información: . + +- Muestra los comandos disponibles: + +`?` + +- Muestra los sistemas de almacenamiento que se pueden listar: + +`dir ?` + +- Muestra qué información IP se puede visualizar: + +`ip show ?` diff --git a/pages.es/cisco-ios/reload.md b/pages.es/cisco-ios/reload.md new file mode 100644 index 00000000000000..92aa62374241c4 --- /dev/null +++ b/pages.es/cisco-ios/reload.md @@ -0,0 +1,16 @@ +# reload + +> Controla el comportamiento del reinicio. +> Más información: . + +- Reinicia el sistema: + +`reload` + +- Reinicia después de `n` segundos: + +`reload in {{n}}` + +- Cancela reinicios pendientes: + +`reload cancel` diff --git a/pages.es/cisco-ios/show.md b/pages.es/cisco-ios/show.md new file mode 100644 index 00000000000000..9b215a70ac3169 --- /dev/null +++ b/pages.es/cisco-ios/show.md @@ -0,0 +1,24 @@ +# show + +> Muestra diversa información del sistema. +> Más información: . + +- Muestra las direcciones IP del switch: + +`{{[sh|show]}} ip interface brief` + +- Muestra la configuración de una interfaz específica: + +`{{[sh|show]}} ip interface {{vlan1}}` + +- Muestra la configuración de las VLAN: + +`{{[sh|show]}} vlan` + +- Muestra la configuración en ejecución: + +`{{[sh|show]}} running-config` + +- Muestra la configuración de SSH: + +`{{[sh|show]}} ip ssh` diff --git a/pages.es/cisco-ios/transport.md b/pages.es/cisco-ios/transport.md new file mode 100644 index 00000000000000..091b8dafc1d445 --- /dev/null +++ b/pages.es/cisco-ios/transport.md @@ -0,0 +1,13 @@ +# transport + +> Administra los protocolos de transporte de las líneas. +> Se accede en modo de configuración dentro de `line`. +> Más información: . + +- Restringe los protocolos de línea a `ssh`: + +`transport input ssh` + +- Restringe los protocolos de línea a `telnet`: + +`transport input telnet` diff --git a/pages.es/cisco-ios/username.md b/pages.es/cisco-ios/username.md new file mode 100644 index 00000000000000..7bc4d9a4d63434 --- /dev/null +++ b/pages.es/cisco-ios/username.md @@ -0,0 +1,9 @@ +# username + +> Administra usuarios. +> Se accede en modo de configuración. +> Más información: . + +- Configura una cuenta de administrador: + +`username {{admin}} privilege 15 secret {{password}}` diff --git a/pages.es/cisco-ios/write.md b/pages.es/cisco-ios/write.md new file mode 100644 index 00000000000000..9d5871d5dc81b2 --- /dev/null +++ b/pages.es/cisco-ios/write.md @@ -0,0 +1,16 @@ +# write + +> Escribe datos en la memoria. +> Más información: . + +- Guarda la configuración actual en la memoria: + +`write memory` + +- Borra la configuración en la memoria: + +`write erase` + +- Mostrar la ayuda: + +`write ?` diff --git a/pages.es/common/!.md b/pages.es/common/!.md new file mode 100644 index 00000000000000..35d27d83a37192 --- /dev/null +++ b/pages.es/common/!.md @@ -0,0 +1,36 @@ +# ! + +> Bash incorporado para sustituir con un comando encontrado en la historia. +> Más información: . + +- Sustituye con el comando anterior y lo ejecuta con `sudo`: + +`sudo !!` + +- Sustituye con un comando basado en un número de línea encontrado con `history`: + +`!{{número}}` + +- Sustituye con un comando que se utilizó un número especificado de líneas atrás: + +`!-{{número}}` + +- Sustituye por el comando más reciente que empiece por una cadema: + +`!{{cadena}}` + +- Sustituye con los argumentos del último comando: + +`{{comando}} !*` + +- Sustituye con el último argumento del último comando: + +`{{comando}} !$` + +- Sustituye con el último comando pero sin el último argumento: + +`!:-` + +- Imprimie el último comando que empieza por una cadena sin ejecutarlo: + +`!{{cadena}}:p` diff --git a/pages.es/common/$.md b/pages.es/common/$.md new file mode 100644 index 00000000000000..2d9ca6c74d9c60 --- /dev/null +++ b/pages.es/common/$.md @@ -0,0 +1,36 @@ +# $ + +> Expande una variable Bash. +> Más información: . + +- Imprime una variable: + +`echo ${{VARIABLE}}` + +- Ejecuta el contenido de la variable como comando: + +`${{VARIABLE}}` + +- Imprime el valor de retorno del comando anterior: + +`echo $?` + +- Imprime un número aleatorio entre 0 y 32767: + +`echo $RANDOM` + +- Imprime una de las cadenas de comandos: + +`echo ${{PS0|PS1|PS2|PS3|PS4}}` + +- Expande la salida del `comando` y lo ejecuta. Igual que encerrar `comando` en comillas inversas: + +`$({{comando}})` + +- Lista cuántos argumentos tiene el contexto actual: + +`echo $#` + +- Imprime un arreglo de Bash: + +`echo ${{{array_name[@]}}}` diff --git a/pages.es/common/%.md b/pages.es/common/%.md new file mode 100644 index 00000000000000..3ce88e3607bd26 --- /dev/null +++ b/pages.es/common/%.md @@ -0,0 +1,28 @@ +# % + +> Bash incorporado para administrar los trabajos activos o suspendidos. +> Más información: . + +- Trae el trabajo actual al frente: + +`%` + +- Trae el trabajo previo al frente: + +`%-` + +- Trae el trabajo por su número `n` al frente: + +`%{{n}}` + +- Trae el trabajo cuyo comando empieza con `cadena` al frente: + +`%{{cadena}}` + +- Trae el trabajo cuyo comando contiene `cadena` al frente: + +`%?{{cadena}}` + +- Reanuda un trabajo suspendido: + +`%{{1}} &` diff --git a/pages.es/common/,.md b/pages.es/common/,.md new file mode 100644 index 00000000000000..6943d92053958c --- /dev/null +++ b/pages.es/common/,.md @@ -0,0 +1,16 @@ +# , + +> Ejecuta comandos aún sin tenerlos instalados en tu sistema. +> Más información: . + +- Ejecuta un comando: + +`, {{comando -with -flags}}` + +- Agrega un comando a una shell hija: + +`, {{[-s|--shell]}} {{comando}}` + +- Limpia el caché: + +`, {{[-e|--empty-cache]}}` diff --git a/pages.es/common/..md b/pages.es/common/..md new file mode 100644 index 00000000000000..e72cd230361374 --- /dev/null +++ b/pages.es/common/..md @@ -0,0 +1,7 @@ +# . + +> Este comando es un alias de `source`. + +- Consulte la documentación del comando original: + +`tldr source` diff --git a/pages.es/common/2to3.md b/pages.es/common/2to3.md new file mode 100644 index 00000000000000..022660043b0814 --- /dev/null +++ b/pages.es/common/2to3.md @@ -0,0 +1,34 @@ +# 2to3 + +> Conversión automatizada de código Python 2 a 3. +> Este módulo ha sido depreciado desde la versión 3.11 y ha sido eliminado desde la 3.13. +> Como referencia, vea: . +> Más información: . + +- Muestra los cambios que se realizarían sin realizarlos (dry-run): + +`2to3 {{ruta/al/archivo.py.py}}` + +- Convierte un archivo Python 2 a Python 3: + +`2to3 --write {{ruta/a/archivo.py}}` + +- Convierte funciones específicas del lenguaje Python 2 a Python 3: + +`2to3 --write {{ruta/a/archivo.py}} --fix {{raw_input}} --fix {{print}}` + +- Convierte todas las funciones del lenguaje Python 2 excepto las especificadas a Python 3: + +`2to3 --write {{ruta/a/archivo.py}} --nofix {{has_key}} --nofix {{isinstance}}` + +- Muestra una lista de todas las características disponibles del lenguaje que se pueden convertir de Python 2 a Python 3: + +`2to3 --list-fixes` + +- Convierte todos los archivos Python 2 en un directorio a Python 3: + +`2to3 --output-dir {{ruta/a/directorio_python3}} --write-unchanged-files --nobackups {{ruta/a/directorio_python2}}` + +- Ejecuta 2to3 con varios hilos (threads): + +`2to3 --processes {{1..infinity}} --output-dir {{ruta/a/directorio_python3}} --write --nobackups --no-diff {{ruta/a/directorio_python2}}` diff --git a/pages.es/common/7z.md b/pages.es/common/7z.md index 44e273da748a92..655dc98b0267d1 100644 --- a/pages.es/common/7z.md +++ b/pages.es/common/7z.md @@ -1,36 +1,36 @@ # 7z > Un compresor de archivos con un alto ratio de compresión. -> Más información: . +> Más información: . -- Comprime un archivo o un directorio: +- [a]ñade un fichero o directorio a un archivo comprimido nuevo o existente: `7z a {{archivo_comprimido.7z}} {{ruta/al/archivo_o_directorio_a_comprimir}}` -- Encriptar un archivo comprimido existente (incluyendo cabeceras): +- Encripta un archivo comprimido existente (incluyendo los nombres de los archivos): `7z a {{archivo_encriptado.7z}} -p{{contraseña}} -mhe=on {{archivo_comprimido.7z}}` -- Extraer un archivo comprimido en formato `.7z` con la estructura original que tenía antes de comprimir: +- E[x]trae un archivo comprimido preservando la estructura de directorios original: `7z x {{archivo_comprimido.7z}}` -- Extraer un archivo comprimido en una ruta definida por el usuario: +- E[x]trae un archivo comprimido a un directorio específico: -`7z x {{archivo_comprimido.7z}} -o {{ruta/donde/extraer}}` +`7z x {{archivo_comprimido.7z}} -o{{ruta/donde/extraer}}` -- Extrae un archivo comprimido a `stdout`: +- E[x]trae un archivo comprimido a `stdout`: `7z x {{archivo_comprimido.7z}} -so` -- Comprime usando un tipo de archivo comprimido específico: +- [a]rchiva usando un tipo de archivo comprimido específico: -`7z a -t{{zip|gzip|bzip2|tar}} {{archivo_comprimido.7z}} {{ruta/al/archivo_o_directorio_a_comprimir}}` - -- Lista los tipos de archivo comprimido disponibles: - -`7z i` +`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archivo_comprimido}} {{ruta/al/archivo_o_directorio_a_comprimir}}` - Lista el contenido de un archivo comprimido: `7z l {{archivo_comprimido.7z}}` + +- Establece el nivel de compresión (entre mayor sea este, la compresión será más lenta): + +`7z a {{ruta/al/archivo_comprimido.7z}} -mx={{0|1|3|5|7|9}} {{ruta/al/archivo_o_directorio_a_comprimir}}` diff --git a/pages.es/common/7za.md b/pages.es/common/7za.md new file mode 100644 index 00000000000000..ca7d24411976ad --- /dev/null +++ b/pages.es/common/7za.md @@ -0,0 +1,37 @@ +# 7za + +> Archivador de archivos con una alta relación de compresión. +> Similar a `7z`, salvo que admite menos tipos de archivos pero es multiplataforma. +> Más información: . + +- [a]rchiva un archivo o directorio: + +`7za a {{ruta/al/archivo.7z}} {{ruta/al/archivo_o_directorio}}` + +- Encripta un archivo existente (incluyendo nombres de archivos): + +`7za a {{ruta/al/encriptado.7z}} -p{{contraseña}} -mhe={{on}} {{ruta/al/archivo.7z}}` + +- E[x]trae un archivo preservando la estructura de directorios originales: + +`7za x {{ruta/al/archivo.7z}}` + +- E[x]trae un archivo a un directorio específico: + +`7za x {{ruta/al/archivo.7z}} -o{{ruta/de/salida}}` + +- E[x]trae un archivo a `stdout`: + +`7za x {{ruta/al/archivo.7z}} -so` + +- [a]rchiva usando un tipo de archivo específico: + +`7za a -t{{7z|bzip2|gzip|lzip|tar|...}} {{ruta/al/archivo.7z}} {{ruta/al/archivo_o_directorio}}` + +- [l]ista los contenidos de un archivo: + +`7za l {{ruta/al/archivo.7z}}` + +- Establece el nivel de compresión (más alto significa más compresión, pero más lenta): + +`7za a {{ruta/al/archivo.7z}} -mx={{0|1|3|5|7|9}} {{ruta/al/archivo_o_directorio}}` diff --git a/pages.es/common/7zr.md b/pages.es/common/7zr.md new file mode 100644 index 00000000000000..4ff26b55185cae --- /dev/null +++ b/pages.es/common/7zr.md @@ -0,0 +1,33 @@ +# 7zr + +> Archivador de ficheros con un alto ratio de compresión. +> Similar a `7z` excepto que sólo soporta ficheros 7z. +> Más información: . + +- [a]rchiva un archivo o directorio: + +`7zr a {{ruta/al/archivo.7z}} {{ruta/al/archivo_o_directorio}}` + +- Cifra un archivo existente (incluidos los nombres de los archivos): + +`7zr a {{ruta/al/archivo.7z}} -p{{contraseña}} -mhe={{on}} {{ruta/al/archivo.7z}}` + +- E[x]trae un archivo conservando la estructura de directorios original: + +`7zr x {{ruta/al/archivo.7z}}` + +- E[x]trae un archivo a un directorio específico: + +`7zr x {{ruta/al/archivo.7z}} -o{{ruta/de/salida}}` + +- E[x]trae un archivo a `stdout`: + +`7zr x {{ruta/al/archivo.7z}} -so` + +- [l]ista el contenido de un archivo: + +`7zr l {{ruta/al/archivo.7z}}` + +- Establece el nivel de compresión (más alto significa más compresión, pero más lento): + +`7zr a {{ruta/al/archivo.7z}} -mx={{0|1|3|5|7|9}} {{ruta/al/archivo_o_directorio}}` diff --git a/pages.es/common/[.md b/pages.es/common/[.md new file mode 100644 index 00000000000000..704f5d8be015c9 --- /dev/null +++ b/pages.es/common/[.md @@ -0,0 +1,33 @@ +# [ + +> Comprueba los tipos de archivo y compara los valores. +> Devuelve un estado de 0 si la condición se evalúa como verdadera, 1 si se evalúa como falsa. +> Más información: . + +- Comprueba si una variable dada es igual/no es igual a la cadena especificada: + +`[ "${{variable}}" {{=|!=}} "{{cadena}}" ]` + +- Comprueba 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: + +`[ "${{variable}}" -{{eq|ne|gt|lt|ge|le}} {{entero}} ]` + +- Comprueba si la variable especificada tiene un valor [n]o-vacío: + +`[ -n "${{variable}}" ]` + +- Comprueba si la variable especificada tiene un valor vacío: + +`[ -z "${{variable}}" ]` + +- Comprueba si el archivo [f]ile especificado existe: + +`[ -f {{ruta/al/archivo}} ]` + +- Comprueba si existe el [d]irectorio especificado: + +`[ -d {{ruta/al/directorio}} ]` + +- Comprueba si existe el archivo o directorio especificado: + +`[ -e {{ruta/al/archivo_o_directorio}} ]` diff --git a/pages.es/common/[[.md b/pages.es/common/[[.md new file mode 100644 index 00000000000000..22442529db5a0c --- /dev/null +++ b/pages.es/common/[[.md @@ -0,0 +1,37 @@ +# [[ + +> Comprueba los tipos de archivo y compara los valores. +> Devuelve 0 si la condición es verdadera, 1 si es falsa. +> Más información: . + +- Comprueba si una variable dada es igual/no igual a la cadena especificada: + +`[[ ${{variable}} {{==|!=}} "{{cadena}}" ]]` + +- Comprueba si una cadena dada se ajusta al glob/regex especificado: + +`[[ ${{variable}} {{==|=~}} {{patron}} ]]` + +- Comprueba si una variable dada es [eq]ual/[n]ot [e]qual/[g]reater [t]han/[l]ess [t]han/[g]reater than o [e]qual/[l]ess than o [e]qual al número especificado: + +`[[ ${{variable}} -{{eq|ne|gt|lt|ge|le}} {{integer}} ]]` + +- Comprueba si la variable especificada tiene un valor [n]o-vacío: + +`[[ -n ${{variable}} ]]` + +- Comprueba si la variable especificada tiene un valor vacío: + +`[[ -z ${{variable}} ]]` + +- Comprueba si el [f]ile especificado existe: + +`[[ -f {{ruta/al/archivo}} ]]` + +- Comprueba si existe el [d]irectorio especificado: + +`[[ -d {{ruta/al/directorio}} ]]` + +- Comprueba si [e]xiste el archivo o directorio especificado: + +`[[ -e {{ruta/al/archivo_o_directorio}} ]]` diff --git a/pages.es/common/].md b/pages.es/common/].md new file mode 100644 index 00000000000000..9af39668a7fe10 --- /dev/null +++ b/pages.es/common/].md @@ -0,0 +1,7 @@ +# ] + +> Esta palabra clave de shell es usada para cerrar `[`. + +- Vea la documentación para la palabra clave `[`: + +`tldr [` diff --git a/pages.es/common/]].md b/pages.es/common/]].md new file mode 100644 index 00000000000000..45561e71a6e922 --- /dev/null +++ b/pages.es/common/]].md @@ -0,0 +1,7 @@ +# ]] + +> Esta palabra clave de shell es usada para cerrar `[[`. + +- Vea la documentación para la palabra clave `[[`: + +`tldr [[` diff --git a/pages.es/common/^.md b/pages.es/common/^.md new file mode 100644 index 00000000000000..91a34806c357c2 --- /dev/null +++ b/pages.es/common/^.md @@ -0,0 +1,21 @@ +# ^ + +> Embebido de Bash para sustituir rápidamente una cadena en el comando anterior y ejecutar el resultado. +> Equivalente a `!!:s^string1^string2`. +> Más información: . + +- Ejecuta el comando anterior reemplazando `cadena1` por `cadena2`: + +`^{{cadena1}}^{{cadena2}}` + +- Retira `cadena1` del comando anterior: + +`^{{cadena1}}^` + +- Sustituye `cadena1` con `cadena2` en el comando anterior y añade la `cadena3` al final: + +`^{{cadena1}}^{{cadena2}}^{{cadena3}}` + +- Sustituye todas las ocurrencias de la `cadena1`: + +`^{{cadena1}}^{{cadena2}}^:&` diff --git a/pages.es/common/a2ping.md b/pages.es/common/a2ping.md new file mode 100644 index 00000000000000..1096a182f20b38 --- /dev/null +++ b/pages.es/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> Convierte imágenes en archivos EPS o PDF. +> Más información: . + +- Convierte una imagen a PDF (Nota: Es opcional especificar un nombre de archivo de salida): + +`a2ping {{ruta/a/imagen.ext}} {{ruta/a/salida.pdf}}` + +- Comprime el documento utilizando el método especificado: + +`a2ping --nocompress {{none|zip|best|flate}} {{ruta/al/archivo}}` + +- Escanea HiResBoundingBox si está presente (Nota: por defecto es sí): + +`a2ping --nohires {{ruta/al/archivo}}` + +- Permite el contenido de la página por debajo y a la izquierda del origen (Nota: por defecto es no): + +`a2ping --below {{ruta/al/archivo}}` + +- Pasa argumentos adicionales a `gs`: + +`a2ping --gsextra {{argumentos}} {{ruta/al/archivo}}` + +- Pasa argumentos adicionales a un programa externo (por ejemplo, `pdftops`): + +`a2ping --extra {{argumentos}} {{ruta/al/archivo}}` + +- Muestra ayuda: + +`a2ping {{[-h|--help]}}` diff --git a/pages.es/common/aapt.md b/pages.es/common/aapt.md new file mode 100644 index 00000000000000..c389a44589a521 --- /dev/null +++ b/pages.es/common/aapt.md @@ -0,0 +1,17 @@ +# aapt + +> Herramienta para empaquetado de activos de Android. +> Compila y empaqueta recursos de una app de Android. +> Más información: . + +- Lista los archivos contenidos en un archivo APK: + +`aapt list {{ruta/al/app.apk}}` + +- Muestra la metadata de una app (versión, permisos, etc.): + +`aapt dump badging {{ruta/al/app.apk}}` + +- Crea un nuevo archivo APK con archivos de un directorio especificado: + +`aapt package -F {{ruta/al/app.apk}} {{ruta/al/directorio}}` diff --git a/pages.es/common/ab.md b/pages.es/common/ab.md new file mode 100644 index 00000000000000..770b8946b1b4b7 --- /dev/null +++ b/pages.es/common/ab.md @@ -0,0 +1,28 @@ +# ab + +> Herramienta comparativa (benchmark) del servidor Apache HTTP. +> Más información: . + +- Ejecuta 100 solicitudes HTTP GET a una URL dada: + +`ab -n 100 {{url}}` + +- Ejecuta 100 solicitudes HTTP GET, en lotes simultáneos de a 10, a una URL: + +`ab -n 100 -c 10 {{url}}` + +- Ejecuta 100 solicitudes HTTP POST a una URL, utilizando la carga JSON de un archivo: + +`ab -n 100 -T {{application/json}} -p {{ruta/al/archivo.json}} {{url}}` + +- Utiliza HTTP [K]eep Alive, es decir, realiza múltiples solicitudes dentro de una sesión HTTP: + +`ab -k {{url}}` + +- Establece el máximo número de segundos utilizados para la comparación: + +`ab -t {{60}} {{url}}` + +- Escribe los resultados a un archivo CSV: + +`ab -e {{ruta/al/archivo.csv}}` diff --git a/pages.es/common/abduco.md b/pages.es/common/abduco.md new file mode 100644 index 00000000000000..526226b7c1ba61 --- /dev/null +++ b/pages.es/common/abduco.md @@ -0,0 +1,24 @@ +# abduco + +> Administrador de sesión de terminal. +> Más información: . + +- Lista sesiones: + +`abduco` + +- Adjunta a una sesión, creándola si no existe: + +`abduco -A {{nombre}} {{bash}}` + +- Adjunta a una sesión con `dvtm`, creándola si no existe: + +`abduco -A {{nombre}}` + +- Separarse de una sesión: + +`` + +- Adjunta a una sesión en modo solo-lectura: + +`abduco -Ar {{nombre}}` diff --git a/pages.es/common/ac.md b/pages.es/common/ac.md new file mode 100644 index 00000000000000..51482dab919207 --- /dev/null +++ b/pages.es/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> Imprime estadísticas sobre cuanto tiempo han estado conectados los usuarios. +> Más información: . + +- Imprime cuanto tiempo ha estado conectado el usuario actual, en horas: + +`ac` + +- Imprime cuanto tiempo han estado conectados los usuarios, en horas: + +`ac -p` + +- Imprime cuanto tiempo ha estado conectado un usuario en particular, en horas: + +`ac -p {{usuario}}` + +- Imprime cuanto tiempo ha estado conectado un usuario en particular, en horas por día (con total): + +`ac -dp {{usuario}}` diff --git a/pages.es/common/accelerate.md b/pages.es/common/accelerate.md new file mode 100644 index 00000000000000..5a3cedfc840dbc --- /dev/null +++ b/pages.es/common/accelerate.md @@ -0,0 +1,28 @@ +# accelerate + +> Una biblioteca que permite ejecutar el mismo código PyTorch en cualquier configuración distribuida. +> Más información: . + +- Imprime información del entorno: + +`accelerate env` + +- Crea interactivamente un archivo de configuración: + +`accelerate config` + +- Imprime el coste estimado en memoria de la GPU al ejecutar un modelo Hugging Face con distintos tipos de datos: + +`accelerate estimate-memory {{nombre/modelo}}` + +- Prueba un archivo de configuración de Accelerate: + +`accelerate test --config_file {{ruta/a/config.yaml}}` + +- Ejecuta un modelo en CPU con Accelerate: + +`accelerate launch {{ruta/a/script.py}} {{--cpu}}` + +- Ejecuta un modelo en multi-GPU con Accelerate, con 2 máquinas: + +`accelerate launch {{ruta/a/script.py}} --multi_gpu --num_machines 2` diff --git a/pages.es/common/ack.md b/pages.es/common/ack.md new file mode 100644 index 00000000000000..4cc0e34456d43b --- /dev/null +++ b/pages.es/common/ack.md @@ -0,0 +1,37 @@ +# ack + +> Una herramienta de búsqueda como grep, optimizada para desarrolladores. +> Vea también: `rg`, que es más rápido. +> Más información: . + +- Busca archivos que contengan una cadena o expresión regular en el directorio actual de forma recursiva: + +`ack "{{patrón_de_búsqueda}}"` + +- Busca un patrón sin distinción entre mayúsculas y minúsculas: + +`ack {{[-i|--ignore-case]}} "{{patrón_de_búsqueda}}"` + +- Busca líneas que coincidan con un patrón, imprimiendo s[o]lamente el texto coincidente y no el resto de la línea: + +`ack {{[-o|--output '$&']}} "{{patrón_de_búsqueda}}"` + +- Limita la búsqueda a archivos de un tipo específico: + +`ack {{[-t|--type]}} {{ruby}} "{{patrón_de_búsqueda}}"` + +- Busca archivos que no sean de un cierto tipo: + +`ack {{[-t|--type]}} no{{ruby}} "{{patrón_de_búsqueda}}"` + +- Cuenta el número total de coincidencias encontradas: + +`ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{patrón_de_búsqueda}}"` + +- Imprime solo los nombres de los archivos y el número de coincidencias de cada archivo: + +`ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{patrón_de_búsqueda}}"` + +- Lista todos los valores que se pueden utilizar con `--type`: + +`ack --help-types` diff --git a/pages.es/common/acme.sh-dns.md b/pages.es/common/acme.sh-dns.md new file mode 100644 index 00000000000000..f4a227537b8b5b --- /dev/null +++ b/pages.es/common/acme.sh-dns.md @@ -0,0 +1,24 @@ +# acme.sh --dns + +> Utiliza un desafío DNS-01 para emitir un certificado TLS. +> Más información: . + +- Emite un certificado utilizando un modo API DNS automático: + +`acme.sh --issue --dns {{gnd_gd}} --domain {{ejemplo.com}}` + +- Emite un certificado comodín (marcado con un asterisco) utilizando un modo API DNS automático: + +`acme.sh --issue --dns {{dns_namesilo}} --domain {{ejemplo.com}} --domain {{*.ejemplo.com}}` + +- Emite un certificado utilizando un modo de alias DNS: + +`acme.sh --issue --dns {{dns_cf}} --domain {{ejemplo.com}} --challenge-alias {{alias-para-ejemplo-validacion.com}}` + +- Emite un certificado mientras se desactiva el sondeo automático de Cloudflare / Google DNS después de añadir el registro DNS especificando un tiempo de espera personalizado en segundos: + +`acme.sh --issue --dns {{dns_namecheap}} --domain {{ejemplo.com}} --dnssleep {{300}}` + +- Emite un certificado utilizando un modo DNS manual: + +`acme.sh --issue --dns --domain {{ejemplo.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please` diff --git a/pages.es/common/acme.sh.md b/pages.es/common/acme.sh.md new file mode 100644 index 00000000000000..285ff42869fc7a --- /dev/null +++ b/pages.es/common/acme.sh.md @@ -0,0 +1,33 @@ +# acme.sh + +> Shell script implementando el protocolo cliente ACME, una alternativa a `certbot`. +> Vea también `acme.sh dns`. +> Más información: . + +- Emite un certificado usando el modo webroot: + +`acme.sh --issue --domain {{ejemplo.com}} --webroot {{ruta/al/webroot}}` + +- Emite un certificado para múltiples dominios utilizando el modo autónomo a través del puerto 80: + +`acme.sh --issue --standalone --domain {{ejemplo.com}} --domain {{www.ejemplo.com}}` + +- Emite un certificado en modo autónomo TLS utilizando el puerto 443: + +`acme.sh --issue --alpn --domain {{ejemplo.com}}` + +- Emite un certificado utilizando una configuración de Nginx operativa: + +`acme.sh --issue --nginx --domain {{ejemplo.com}}` + +- Emite un certificado utilizando una configuración de Apache operativa: + +`acme.sh --issue --apache --domain {{ejemplo.com}}` + +- Emite un certificado comodín (\*) utilizando un modo API DNS automático: + +`acme.sh --issue --dns {{dns_cf}} --domain {{*.ejemplo.com}}` + +- Instala archivos de certificado en las ubicaciones especificadas (útil para la renovación automática de certificados): + +`acme.sh --install-cert -d {{ejemplo.com}} --key-file {{ruta/al/ejemplo.com.key}} --fullchain-file {{ruta/al/ejemplo.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"` diff --git a/pages.es/common/act.md b/pages.es/common/act.md new file mode 100644 index 00000000000000..93ab5bcd22a83e --- /dev/null +++ b/pages.es/common/act.md @@ -0,0 +1,32 @@ +# act + +> Ejecuta GitHub Actions localmente usando Docker. +> Más información: . + +- Lista los trabajos disponibles: + +`act {{[-l|--list]}}` + +- Ejecuta el evento por defecto: + +`act` + +- Ejecuta un evento específico: + +`act {{event_type}}` + +- Ejecuta un trabajo específico: + +`act {{[-j|--job]}} {{job_id}}` + +- No ejecuta realmente las acciones (es decir, una ejecución en seco): + +`act {{[-n|--dryrun]}}` + +- Muestra registros detallados: + +`act {{[-v|--verbose]}}` + +- Ejecuta un flujo de trabajo específico con el evento push: + +`act push {{[-W|--workflows]}} {{ruta/al/flujo_de_trabajo}}` diff --git a/pages.es/common/acyclic.md b/pages.es/common/acyclic.md new file mode 100644 index 00000000000000..5bac55852fdebc --- /dev/null +++ b/pages.es/common/acyclic.md @@ -0,0 +1,17 @@ +# acyclic + +> Haz un gráfico acíclico invirtiendo algunos bordes. +> Filtros Graphviz: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`. +> Más información: . + +- Haz un gráfico acíclico invirtiendo algunos bordes: + +`acyclic {{ruta/a/entrada.gv}} > {{ruta/a/salida.gv}}` + +- Imprime si un gráfico es acíclico, tiene un ciclo o si no posee instrucciones, no genera ningún gráfico de salida: + +`acyclic -v -n {{ruta/a/entrada.gv}}` + +- Muestra información de ayuda: + +`acyclic -?` diff --git a/pages.es/common/adb-connect.md b/pages.es/common/adb-connect.md new file mode 100644 index 00000000000000..2be863e2fed72f --- /dev/null +++ b/pages.es/common/adb-connect.md @@ -0,0 +1,16 @@ +# adb connect + +> Permite establecer una conexión a un dispositivo Android de forma inalámbrica. +> Más información: . + +- Empareja con un dispositivo Android (los códigos de dirección y emparejamiento se pueden encontrar en las opciones de desarrollador): + +`adb pair {{dirección_ip}}:{{puerto}}` + +- Conecta con un dispositvo Android (el puerto será diferente del de emparejamiento): + +`adb connect {{dirección_ip}}:{{puerto}}` + +- Desconecta un dispositivo: + +`adb disconnect {{dirección_ip}}:{{puerto}}` diff --git a/pages.es/common/adb-devices.md b/pages.es/common/adb-devices.md new file mode 100644 index 00000000000000..fe9519a7929462 --- /dev/null +++ b/pages.es/common/adb-devices.md @@ -0,0 +1,12 @@ +# adb devices + +> Lista los dispositivos Android conectados. +> Más información: . + +- Lista los dispositivos: + +`adb devices` + +- Lista los dispositivos y su información de sistema (system info): + +`adb devices -l` diff --git a/pages.es/common/adb-disconnect.md b/pages.es/common/adb-disconnect.md new file mode 100644 index 00000000000000..0e1d05130e7a30 --- /dev/null +++ b/pages.es/common/adb-disconnect.md @@ -0,0 +1,7 @@ +# adb disconnect + +> Este comando ha sido movido a `adb connect`. + +- Vea la documentación para `adb disconnect`: + +`tldr adb connect` diff --git a/pages.es/common/adb-forward.md b/pages.es/common/adb-forward.md new file mode 100644 index 00000000000000..f30bc04fdcb200 --- /dev/null +++ b/pages.es/common/adb-forward.md @@ -0,0 +1,20 @@ +# adb forward + +> Permite conectarse a un dispositivo Android de forma inalámbrica. +> Más información: . + +- Reenvía un puerto TCP: + +`adb forward tcp:{{puerto_local}} tcp:{{puerto_remoto}}` + +- Enumera todos los reenvíos: + +`adb forward --list` + +- Elimina una regla de reenvío: + +`adb forward --remove tcp:{{puerto_local}}` + +- Elimina todas las reglas de reenvío: + +`adb forward --remove-all` diff --git a/pages.es/common/adb-install.md b/pages.es/common/adb-install.md new file mode 100644 index 00000000000000..126ee298731409 --- /dev/null +++ b/pages.es/common/adb-install.md @@ -0,0 +1,28 @@ +# adb install + +> Instalación de Android Debug Bridge: Envía paquetes a una instancia del emulador de Android o a dispositivos Android conectados. +> Más información: . + +- Envía una aplicación Android a un emulador/dispositivo: + +`adb install {{ruta/al/archivo.apk}}` + +- Envía una aplicación Android a un emulador/dispositivo específico (ignora `$ANDROID_SERIAL`): + +`adb -s {{numero_de_serie}} install {{ruta/al/archivo.apk}}` + +- Reinstala una aplicación existente, manteniendo sus datos: + +`adb install -r {{ruta/al/archivo.apk}}` + +- Envía una aplicación Android permitiendo bajar el código de versión (sólo paquetes depurables): + +`adb install -d {{ruta/al/archivo.apk}}` + +- Concede todos los permisos enumerados en el manifiesto de la aplicación: + +`adb install -g {{ruta/al/archivo.apk}}` + +- Actualiza rápidamente un paquete instalado actualizando sólo las partes del APK que han cambiado: + +`adb install --fastdeploy {{ruta/al/archivo.apk}}` diff --git a/pages.es/common/adb-logcat.md b/pages.es/common/adb-logcat.md new file mode 100644 index 00000000000000..60f91fa6213c87 --- /dev/null +++ b/pages.es/common/adb-logcat.md @@ -0,0 +1,36 @@ +# adb logcat + +> Vuelca un registro de mensajes del sistema. +> Más información: . + +- Muestra registros del sistema: + +`adb logcat` + +- Muestra las líneas que coincidan con una expresión regular: + +`adb logcat -e {{expresión_regular}}` + +- Muestra los registros de una etiqueta en un modo específico ([V]erboso, [D]epuración, [I]nformación, [W]arning, [E]rror, [F]atal, [S]ilencioso), filtrando otras etiquetas: + +`adb logcat {{etiqueta}}:{{modo}} *:S` + +- Muestra los registros de aplicaciones React Native en modo [V]erboso [S]ilenciando otras etiquetas: + +`adb logcat ReactNative:V ReactNativeJS:V *:S` + +- Muestra los registros de todas las etiquetas con nivel de prioridad [W]arning y superior: + +`adb logcat *:W` + +- Muestra los registros de un proceso específico: + +`adb logcat --pid {{pid}}` + +- Muestra los registros del proceso de un paquete específico: + +`adb logcat --pid $(adb shell pidof -s {{paquete}})` + +- Colorea el registro (normalmente se usan filtros): + +`adb logcat -v color` diff --git a/pages.es/common/adb-pair.md b/pages.es/common/adb-pair.md new file mode 100644 index 00000000000000..c96ce2dba1b23c --- /dev/null +++ b/pages.es/common/adb-pair.md @@ -0,0 +1,7 @@ +# adb pair + +> Este comando ha sido movido a `adb connect`. + +- Vea la documentación para `adb pair`: + +`tldr adb connect` diff --git a/pages.es/common/adb-reboot.md b/pages.es/common/adb-reboot.md new file mode 100644 index 00000000000000..54e8a5849c0eca --- /dev/null +++ b/pages.es/common/adb-reboot.md @@ -0,0 +1,20 @@ +# adb reboot + +> Reinicia un dispositivo Android o un emulador conectado. +> Más información: . + +- Reinicia el dispositivo normalmente: + +`adb reboot` + +- Reinicia el dispositivo en modo bootloader: + +`adb reboot bootloader` + +- Reinicia el dispositivo en modo de recuperación: + +`adb reboot recovery` + +- Reinicia el dispositivo en modo de arranque rápido: + +`adb reboot fastboot` diff --git a/pages.es/common/adb-reverse.md b/pages.es/common/adb-reverse.md new file mode 100644 index 00000000000000..4896b55f49ef1b --- /dev/null +++ b/pages.es/common/adb-reverse.md @@ -0,0 +1,20 @@ +# adb reverse + +> Android Debug Bridge Reverse: conexiones de socket inversas desde una instancia de emulador de Android o dispositivos Android conectados. +> Más información: . + +- Lista todas las conexiones de socket inverso de emuladores y dispositivos: + +`adb reverse --list` + +- Invierte un puerto TCP desde un emulador o dispositivo a localhost: + +`adb reverse tcp:{{remote_port}} tcp:{{local_port}}` + +- Elimina una conexión de socket inversa de un emulador o dispositivo: + +`adb reverse --remove tcp:{{remote_port}}` + +- Elimina todas las conexiones de socket inverso de todos los emuladores y dispositivos: + +`adb reverse --remove-all` diff --git a/pages.es/common/adb-shell.md b/pages.es/common/adb-shell.md new file mode 100644 index 00000000000000..568d9ba74b1d9d --- /dev/null +++ b/pages.es/common/adb-shell.md @@ -0,0 +1,36 @@ +# adb shell + +> Android Debug Bridge Shell: Ejecuta comandos shell remotos en una instancia del emulador de Android o en dispositivos Android conectados. +> Más información: . + +- Inicia una shell interactiva remota en el emulador o dispositivo: + +`adb shell` + +- Obtén todas las propiedades del emulador o dispositivo: + +`adb shell getprop` + +- Revierte todos los permisos de ejecución a sus valores por defecto: + +`adb shell pm reset-permissions` + +- Revoca un permiso peligroso para una aplicación: + +`adb shell pm revoke {{paquete}} {{permission}}` + +- Activa un evento de clave: + +`adb shell input keyevent {{keycode}}` + +- Borra los datos de una aplicación en un emulador o dispositivo: + +`adb shell pm clear {{paquete}}` + +- Inicia una actividad en el emulador o dispositivo: + +`adb shell am start -n {{paquete}}/{{activity}}` + +- Inicia la actividad de inicio en un emulador o dispositivo: + +`adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN` diff --git a/pages.es/common/adb-uninstall.md b/pages.es/common/adb-uninstall.md new file mode 100644 index 00000000000000..afa982e3954ba2 --- /dev/null +++ b/pages.es/common/adb-uninstall.md @@ -0,0 +1,12 @@ +# adb uninstall + +> Desinstala un paquete. +> Más información: . + +- Desinstala un paquete: + +`adb uninstall {{com.example.app}}` + +- Desinstala un paquete, pero conservando los datos del usuario: + +`adb uninstall -k {{com.example.app}}` diff --git a/pages.es/common/adb.md b/pages.es/common/adb.md index f8ac0ad403cffa..59b7f4162805ce 100644 --- a/pages.es/common/adb.md +++ b/pages.es/common/adb.md @@ -1,32 +1,37 @@ # adb -> Android Debug Bridge: comunica con una instancia de un emulador Android o conecta dispositivos Android. -> Más información: . +> Android Debug Bridge: comunica con una instancia del emulador Android o con dispositivos Android conectados. +> Algunos subcomandos como `shell` tienen su propia documentación de uso. +> Más información: . -- Verifica si el proceso del servidor adb está ejecutandose y lo inicia: +- Comprueba si el proceso del servidor adb se está ejecutando y lo inicia: `adb start-server` -- Termina el proceso del servidor adb: +- Finaliza el proceso del servidor adb: `adb kill-server` -- Inicia una terminal remota en la instance del emulador/dispositivo de destino: +- Inicia una consola remota en el emulador/dispositivo de destino: `adb shell` -- Instala una aplicación Android a un emulador/dispositivo: +- Instala una aplicación Android en un emulador/dispositivo: `adb install -r {{ruta/al/archivo.apk}}` -- Copia un archivo/directorio desde el dispositivo de destino: +- Copia un archivo/directorio del dispositivo de destino: -`adb pull {{ruta/al/archivo_o_directorio_en_el_dispositivo}} {{ruta/al/directorio_de_destino_local}}` +`adb pull {{ruta/al/archivo_o_directorio_del_dispositivo}} {{ruta/al/directorio_de_destino_local}}` - Copia un archivo/directorio al dispositivo de destino: -`adb push {{ruta/al/archivo_o_directorio_local}} {{ruta/al/directorio_de_destino_en_el_dispositivo}}` +`adb push {{ruta/al/archivo_o_directorio_local}} {{ruta/al/dirección_o_destino_del_dispositivo}}` -- Obtiene una lista de dispositivos conectados: +- Lista todos los dispositivos conectados: `adb devices` + +- Especifica a qué dispositivo envía los comandos si hay varios dispositivos: + +`adb -s {{id_del_dispositivo}} {{shell}}` diff --git a/pages.es/common/adguardhome.md b/pages.es/common/adguardhome.md new file mode 100644 index 00000000000000..52ed0b34c8a721 --- /dev/null +++ b/pages.es/common/adguardhome.md @@ -0,0 +1,32 @@ +# AdGuardHome + +> Software de red completo para bloquear anuncios y rastreo. +> Más información: . + +- Ejecuta AdGuard Home: + +`AdGuardHome` + +- Específica un archivo de configuración: + +`AdGuardHome --config {{ruta/al/AdGuardHome.yaml}}` + +- Almacena la información en un directorio de trabajo específico: + +`AdGuardHome --work-dir {{ruta/al/directorio}}` + +- Instala o desinstala AdGuard Home como servicio: + +`AdGuardHome --service {{install|uninstall}}` + +- Inicia el servicio de AdGuard Home: + +`AdGuardHome --service start` + +- Recarga la configuración para el servicio de AdGuard Home: + +`AdGuardHome --service reload` + +- Detiene o reinicia el servicio de AdGuard Home: + +`AdGuardHome --service {{stop|restart}}` diff --git a/pages.es/common/adscript.md b/pages.es/common/adscript.md new file mode 100644 index 00000000000000..49077f3309ec2c --- /dev/null +++ b/pages.es/common/adscript.md @@ -0,0 +1,20 @@ +# adscript + +> Compilador de archivos Adscript. +> Más información: . + +- Compila un archivo en un archivo objeto: + +`adscript --output {{ruta/al/archivo.o}} {{ruta/al/archivo_de_entrada.adscript}}` + +- Compila y vincula un archivo a un ejecutable independiente: + +`adscript --executable --output {{ruta/a/archivo}} {{ruta/a/archivo_entrada.adscript}}` + +- Compila un archivo a LLVM IR en lugar de código de máquina nativo: + +`adscript --llvm-ir --output {{ruta/a/archivo.ll}} {{ruta/a/archivo_entrada.adscript}}` + +- Crea un archivo con código objeto para otra arquitectura u otro sistema operativo: + +`adscript --target-triple {{i386-linux-elf}} --output {{ruta/a/archivo.o}} {{ruta/a/archivo_entrada.adscript}}` diff --git a/pages.es/common/afconvert.md b/pages.es/common/afconvert.md new file mode 100644 index 00000000000000..57d56d21f10b69 --- /dev/null +++ b/pages.es/common/afconvert.md @@ -0,0 +1,12 @@ +# afconvert + +> Convierte entre formatos de archivo AFF y raw. +> Más información: . + +- Utiliza una extensión específica (predeterminado: `aff`): + +`afconvert -a {{extension}} {{ruta/al/archivo_de_entrada}} {{ruta/al/archivo_salida1 ruta/al/archivo_salida2 ...}}` + +- Utiliza un nivel de compresión específico (predeterminado: `7`): + +`afconvert -X{{0..7}} {{ruta/al/archivo_de_entrada}} {{ruta/al/archivo_salida1 ruta/al/archivo_salida2 ...}}` diff --git a/pages.es/common/ag.md b/pages.es/common/ag.md new file mode 100644 index 00000000000000..cb5f77a7d32f5a --- /dev/null +++ b/pages.es/common/ag.md @@ -0,0 +1,32 @@ +# ag + +> El Buscador de Plata. Como `ack`, pero aspira a ser más rápido. +> Más información: . + +- Encuentra archivos que contengan «foo», e imprime las líneas coincidentes en contexto: + +`ag foo` + +- Encuentra archivos que contengan "foo" en un directorio específico: + +`ag foo {{ruta/al/directorio}}` + +- Encuentra archivos que contengan "foo", pero solo lista los nombres de archivo: + +`ag {{[-l|--files-with-matches]}} foo` + +- Encuentra archivos que contengan "FOO" sin distinción entre mayúsculas y minúsculas, e imprime solo la coincidencia, en lugar de la línea completa: + +`ag {{[-i|--ignore-case]}} {{[-o|--only-matching]}} FOO` + +- Busca "foo" en archivos cuyo nombre coincida con "bar": + +`ag foo {{[-G|--file-search-regex]}} bar` + +- Busca archivos cuyo contenido coincida con una expresión regular: + +`ag '{{^ba(r|z)$}}'` + +- Busca archivos cuyo nombre coincida con "foo": + +`ag {{[-g|--filename-pattern]}} foo` diff --git a/pages.es/common/agate.md b/pages.es/common/agate.md new file mode 100644 index 00000000000000..47cfc4c2212086 --- /dev/null +++ b/pages.es/common/agate.md @@ -0,0 +1,16 @@ +# agate + +> Un sencillo servidor para el protocolo de red Gemini. +> Más información: . + +- Ejecuta y genera una clave privada y un certificado: + +`agate --content {{ruta/a/contenido/}}/ --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{sp-SP}}` + +- Ejecuta servidor: + +`agate {{ruta/al/archivo}}` + +- Muestra la ayuda: + +`agate {{[-h|--help]}}` diff --git a/pages.es/common/age-keygen.md b/pages.es/common/age-keygen.md new file mode 100644 index 00000000000000..0a58aac2f542a1 --- /dev/null +++ b/pages.es/common/age-keygen.md @@ -0,0 +1,13 @@ +# age-keygen + +> Genera pares de claves `age`. +> Vea también: `age` para cifrar/descifrar archivos. +> Más información: . + +- Genera un par de claves, las guarda en un archivo sin cifrar, y muestra la clave pública con `stdout`: + +`age-keygen {{[-o|--output]}} {{ruta/al/archivo}}` + +- Convierte una identidad en un destinatario y muestra la clave pública con `stdout`: + +`age-keygen -y {{ruta/al/archivo}}` diff --git a/pages.es/common/age.md b/pages.es/common/age.md new file mode 100644 index 00000000000000..7d52a1b1f1e1df --- /dev/null +++ b/pages.es/common/age.md @@ -0,0 +1,25 @@ +# age + +> Una herramienta de encriptación de archivos sencilla, moderna y segura. +> Vea también: `age-keygen` para generar pares de claves. +> Más información: . + +- Genera un archivo cifrado que se puede descifrar con una frase de contraseña: + +`age --passphrase --output {{ruta/al/archivo_encriptado}} {{ruta/al/archivo_no_cifrado}}` + +- Cifra un archivo con una o varias claves públicas introducidas como literales (repite el indicador `--recipient` para especificar varias claves públicas): + +`age --recipient {{clave_publica}} --output {{ruta/al/archivo_cifrado}} {{ruta/al/archivo_no_cifrado}}` + +- Cifra un archivo a uno o más destinatarios con sus claves públicas especificadas en un archivo (una por línea): + +`age --recipients-file {{ruta/a/archivo_recipientes}} --output {{ruta/al/archivo_encriptado}} {{ruta/al/archivo_no_cifrado}}` + +- Descifra un archivo con una frase de contraseña: + +`age --decrypt --output {{ruta/al/archivo_descifrado}} {{ruta/para/archivo_cifrado}}` + +- Descifra un archivo con un archivo de clave privada: + +`age --decrypt --identity {{ruta/al/archivo_de_clave_privada}} --output {{ruta/para/archivo_descifrado}} {{ruta/a/archivo_cifrado}}` diff --git a/pages.es/common/aider.md b/pages.es/common/aider.md new file mode 100644 index 00000000000000..903476cbe4dcf7 --- /dev/null +++ b/pages.es/common/aider.md @@ -0,0 +1,28 @@ +# aider + +> Programa de emparejamiento con el LLM de su elección. +> Más información: . + +- Inicia un nuevo proyecto o trabaja con una base de código existente: + +`aider --model {{nombre_del_modelo}} --api-key {{su_clave_api}}` + +- Añade nuevas funciones o casos de prueba a archivos específicos: + +`aider {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Describe un error y deja que `aider` lo solucione: + +`aider {{ruta/al/archivo}} --describe "{{descripción_de_un_fallo}}"` + +- Refactoriza código en un archivo específico: + +`aider {{ruta/al/archivo}} --refactor` + +- Actualiza la documentación: + +`aider {{ruta/al/archivo}} --update-docs` + +- Muestra la ayuda: + +`aider --help` diff --git a/pages.es/common/aircrack-ng.md b/pages.es/common/aircrack-ng.md new file mode 100644 index 00000000000000..bd9ab484db2614 --- /dev/null +++ b/pages.es/common/aircrack-ng.md @@ -0,0 +1,21 @@ +# aircrack-ng + +> Crackea claves WEP y WPA/WPA2 a partir de handshake en paquetes capturados. +> Parte de la suite de software de red Aircrack-ng. +> Más información: . + +- Crackea la clave desde el archivo de captura usando un listado: + +`aircrack-ng -w {{ruta/a/listado.txt}} {{ruta/a/captura.cap}}` + +- Crackea la clave usando múltiples hilos de CPU desde el archivo de captura usando una lista: + +`aircrack-ng -p {{número}} -w {{ruta/a/listado.txt}} {{ruta/a/captura.cap}}` + +- Descifra la clave del archivo de captura utilizando un listado y el [e]ssid del punto de acceso: + +`aircrack-ng -w {{ruta/a/listado.txt}} -e {{essid}} {{ruta/a/captura.cap}}` + +- Descifra la clave del archivo de captura utilizando una listado y la dirección MAC del punto de acceso: + +`aircrack-ng -w {{ruta/a/listado.txt}} --bssid {{mac}} {{ruta/a/captura.cap}}` diff --git a/pages.es/common/airdecap-ng.md b/pages.es/common/airdecap-ng.md new file mode 100644 index 00000000000000..d410112e505893 --- /dev/null +++ b/pages.es/common/airdecap-ng.md @@ -0,0 +1,25 @@ +# airdecap-ng + +> Descifra un archivo de captura cifrado (WEP, WPA o WPA2). +> Parte del paquete de software de red de Aircrack-ng. +> Más información: . + +- Elimina encabezados inalámbricos de una red abierta de archivos de captura y utiliza los puntos de acceso con dirección MAC para filtrar: + +`airdecap-ng -b {{ap_mac}} {{ruta/al/archivo_de_captura.cap}}` + +- Descifra un archivo de captura [w]EP cifrado usando la clave en formato hexadecimal: + +`airdecap-ng -w {{clave_hex}} {{ruta/al/archivo_de_captura.cap}}` + +- Descifra un archivo de captura WPA/WPA2 cifrado usando los puntos de acceso [e]ssid y contraseña: + +`airdecap-ng -e {{essid}} -p {{contraseña}} {{ruta/al/archivo_de_captura.cap}}` + +- Descifra un archivo de captura WPA/WPA2 cifrado preservando los encabezados usando los puntos de acceso [e]ssid y contraseña: + +`airdecap-ng -l -e {{essid}} -p {{contraseña}} {{ruta/al/archivo_de_captura.cap}}` + +- Descifra un archivo de captura WPA/WPA2 cifrado usando los puntos de acceso [e]ssid y contraseña, así como su dirección MAC para filtrar: + +`airdecap-ng -b {{ap_mac}} -e {{essid}} -p {{contraseña}} {{ruta/al/archivo_de_captura.cap}}` diff --git a/pages.es/common/aireplay-ng.md b/pages.es/common/aireplay-ng.md new file mode 100644 index 00000000000000..2b57f1c3d3ef35 --- /dev/null +++ b/pages.es/common/aireplay-ng.md @@ -0,0 +1,9 @@ +# aireplay-ng + +> Inyecta paquetes en una red inalámbrica. +> Parte de `aircrack-ng`. +> Más información: . + +- Envía una cantidad específica de paquetes disociados dada la dirección MAC de un punto de acceso, la dirección MAC de un cliente y una interfaz: + +`sudo aireplay-ng --deauth {{cantidad}} --bssid {{mac_punto_acceso}} --dmac {{mac_cliente}} {{interfaz}}` diff --git a/pages.es/common/airmon-ng.md b/pages.es/common/airmon-ng.md new file mode 100644 index 00000000000000..eab3b9609a733d --- /dev/null +++ b/pages.es/common/airmon-ng.md @@ -0,0 +1,21 @@ +# airmon-ng + +> Activa el modo monitor en dispositivos de red inalámbricos. +> Parte de `aircrack-ng`. +> Más información: . + +- Lista dispositivos inalámbricos y sus estados: + +`sudo airmon-ng` + +- Activa el modo monitor para un dispositivo específico: + +`sudo airmon-ng start {{wlan0}}` + +- Elimina los procesos perturbadores que utilizan dispositivos inalámbricos: + +`sudo airmon-ng check kill` + +- Desactiva el modo monitor para una interfaz de red específica: + +`sudo airmon-ng stop {{wlan0mon}}` diff --git a/pages.es/common/airodump-ng.md b/pages.es/common/airodump-ng.md new file mode 100644 index 00000000000000..d69c61f07e41f8 --- /dev/null +++ b/pages.es/common/airodump-ng.md @@ -0,0 +1,21 @@ +# airodump-ng + +> Captura paquetes y muestra información sobre redes inalámbricas. +> Parte de `aircrack-ng`. +> Más información: . + +- Captura paquetes y muestra información sobre red(es) inalámbricas en la banda de 2.4GHz: + +`sudo airodump-ng {{interface}}` + +- Captura paquetes y muestra información sobre red(es) inalámbrica(s) en la banda de 5GHz: + +`sudo airodump-ng {{interface}} --band a` + +- Captura paquetes y muestra información sobre rede(s) inalámbrica(s) en las bandas 2.4GHz y 5GHz: + +`sudo airodump-ng {{interface}} --band abg` + +- Captura paquetes y muestra información sobre una red inalámbrica dada la dirección MAC y canal, y guarda la salida en un archivo: + +`sudo airodump-ng --channel {{canal}} --write {{ruta/al/archivo}} --bssid {{mac}} {{interfaz}}` diff --git a/pages.es/common/airpaste.md b/pages.es/common/airpaste.md new file mode 100644 index 00000000000000..2d7aba16039779 --- /dev/null +++ b/pages.es/common/airpaste.md @@ -0,0 +1,24 @@ +# airpaste + +> Comparte mesages y archivos sobre la misma red usando mDNS. +> Más información: . + +- Espera un mensaje y lo muestra cuando se reciba: + +`airpaste` + +- Envía un texto: + +`echo {{texto}} | airpaste` + +- Envía un archivo: + +`airpaste < {{ruta/al/archivo}}` + +- Recibe un archivo: + +`airpaste > {{ruta/al/archivo}}` + +- Crea un canal o se une al mismo: + +`airpaste {{nombre_canal}}` diff --git a/pages.es/common/airshare.md b/pages.es/common/airshare.md new file mode 100644 index 00000000000000..acfecd01cad7af --- /dev/null +++ b/pages.es/common/airshare.md @@ -0,0 +1,28 @@ +# airshare + +> Transfiere datos entre dos máquinas en una red local. +> Más información: . + +- Comparte archivos o directorios: + +`airshare {{code}} {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Recibe un archivo: + +`airshare {{code}}` + +- Aloja un servidor receptor (usa esto para poder cargar archivos usando la interfaz web): + +`airshare --upload {{code}}` + +- Envía archivos o directorios a un servidor receptor: + +`airshare --upload {{code}} {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Envía archivos cuyas rutas han sido copiadas al portapapeles: + +`airshare --file-path {{code}}` + +- Recibe un archivo y lo copia al portapapeles: + +`airshare --clip-receive {{code}}` diff --git a/pages.es/common/ajson.md b/pages.es/common/ajson.md new file mode 100644 index 00000000000000..8e71e58be274aa --- /dev/null +++ b/pages.es/common/ajson.md @@ -0,0 +1,20 @@ +# ajson + +> Ejecuta JSONPath en objetos JSON. +> Más información: . + +- Lee JSON de un archivo y ejecuta una expresión JSONPath especificada: + +`ajson '{{$..json[?(@.path)]}}' {{ruta/al/archivo.json}}` + +- Lee JSON de `stdin` y ejecuta una expresión JSONPath especificada: + +`cat {{ruta/al/archivo.json}} | ajson '{{$..json[?(@.path)]}}'` + +- Lee JSON de una URL y evalúa una expresión JSONPath especificada: + +`ajson '{{avg($..price)}}' '{{https://example.com/api/}}'` + +- Lee un simple cadena JSON y calcula un valor: + +`echo '{{3}}' | ajson '{{2 * pi * $}}'` diff --git a/pages.es/common/alacritty.md b/pages.es/common/alacritty.md new file mode 100644 index 00000000000000..56aeb7e7f5193a --- /dev/null +++ b/pages.es/common/alacritty.md @@ -0,0 +1,28 @@ +# alacritty + +> Emulador de terminal multiplataforma acelerado por GPU. +> Más información: . + +- Inicia un nuevo proceso Alacritty y crea una ventana: + +`alacritty` + +- Inicia el programa residente de Alacritty (sin crear una ventana): + +`alacritty --daemon` + +- Crea una nueva ventana utilizando el proceso Alacritty ya en ejecución: + +`alacritty msg create-window` + +- Inicia el intérprete de comandos en un directorio específico (también funciona con `alacritty msg create-window`): + +`alacritty --working-directory {{ruta/a/directorio}}` + +- [e]jecuta un comando en una nueva ventana de Alacritty (también funciona con `alacritty msg create-window`): + +`alacritty {{[-e|--command]}} {{comando}}` + +- Utiliza un archivo de configuración alternativo (por defecto es `$XDG_CONFIG_HOME/alacritty/alacritty.toml`): + +`alacritty --config-file {{ruta/a/config.toml}}` diff --git a/pages.es/common/alex.md b/pages.es/common/alex.md new file mode 100644 index 00000000000000..a7ef58800df1c7 --- /dev/null +++ b/pages.es/common/alex.md @@ -0,0 +1,21 @@ +# alex + +> Una herramienta que detecta escritura insensible y desconsiderada. +> Ayuda a encontrar en el texto frases que son parciales con el género, que polarizan, o están relacionadas con la raza, son desconsideradas con la religión u otras frases tendenciosas. +> Más información: . + +- Analiza texto desde `stdin`: + +`echo {{His network looks good}} | alex --stdin` + +- Analiza todos los archivos del directorio actual: + +`alex` + +- Analiza un archivo dado: + +`alex {{ruta/al/archivo_de_texto.md}}` + +- Analiza todos los archivos Markdown excepto `ejemplo.md`.: + +`alex *.md !{{ruta/hacia/ejemplo.md}}` diff --git a/pages.es/common/alias.md b/pages.es/common/alias.md index 7b053d23ae1556..3d3860d8f25231 100644 --- a/pages.es/common/alias.md +++ b/pages.es/common/alias.md @@ -1,28 +1,29 @@ # alias -> Crea alias -- palabras que son remplazadas por una cadena de comando(s). +> Crea alias -- palabras que son reemplazadas por una cadena de comando(s). > Los alias son temporales en la sesión de shell actual, a no ser que estén definidos en el archivo de configuración de la shell, ej. `~/.bashrc`. +> Más información: . -- Listar todos los alias: +- Lista todos los aliases: `alias` -- Crear un alias genérico: +- Crea un alias genérico: `alias {{nombre}}="{{comando}}"` -- Ver el comando asociado a un alias: +- Muestra el comando asociado a un alias: `alias {{nombre}}` -- Eliminar un alias (con el comando asociado): +- Elimina un alias (con el comando asociado): `unalias {{nombre}}` -- Convertir `rm` en un comando interactivo: +- Convierte `rm` en un comando interactivo: `alias {{rm}}="{{rm -i}}"` -- Crear `la` como un atajo para `ls -a`: +- Define `la` como un atajo para `ls -a`: `alias {{la}}="{{ls -a}}"` diff --git a/pages.es/common/alr.md b/pages.es/common/alr.md new file mode 100644 index 00000000000000..c44b60238fedba --- /dev/null +++ b/pages.es/common/alr.md @@ -0,0 +1,21 @@ +# alr + +> Gestor de paquetes de Ada. +> Gestiona compiladores, dependencias, herramientas y bibliotecas de Ada. +> Más información: . + +- Crea un proyecto de un ejecutable (`--bin`) o de una biblioteca (`--lib`): + +`alr init {{--bin|--lib}} {{nombre_de_proyecto}}` + +- Añade una dependencia al proyecto: + +`alr add {{crate}}` + +- Ejecuta el ejecutable generado (no es necesario hacer `build` antes de `run`): + +`alr run` + +- Compila el proyecto: + +`alr build {{--release|--development|--validation}}` diff --git a/pages.es/common/amass-enum.md b/pages.es/common/amass-enum.md new file mode 100644 index 00000000000000..5e9ddfe945bda9 --- /dev/null +++ b/pages.es/common/amass-enum.md @@ -0,0 +1,28 @@ +# amass enum + +> Busca subdominios de un dominio. +> Más información: . + +- Encuentra (pasivamente) subdominios de un [d]ominio: + +`amass enum -d {{nombre_dominio}}` + +- Encuentra subdominios de un [d]ominio y los verifica activamente intentando resolver los subdominios encontrados: + +`amass enum -active -d {{nombre_dominio}} -p {{80,443,8080}}` + +- Realiza una búsqueda de sub[d]ominios por fuerza bruta: + +`amass enum -brute -d {{nombre_dominio}}` + +- Guarda los resultados en un archivo de texto: + +`amass enum -o {{archivo_de_salida}} -d {{nombre_dominio}}` + +- Guarda la salida del terminal en un archivo y otros resultados detallados en un directorio: + +`amass enum -o {{fichero_de_salida}} -dir {{ruta/a/directorio}} -d {{nombre_dominio}}` + +- Lista todas las fuentes de datos disponibles: + +`amass enum -list` diff --git a/pages.es/common/amass-intel.md b/pages.es/common/amass-intel.md new file mode 100644 index 00000000000000..1d8f93e92c5477 --- /dev/null +++ b/pages.es/common/amass-intel.md @@ -0,0 +1,32 @@ +# amass intel + +> Recopila información de código abierto sobre una organización, como dominios raíz y ASNs. +> Más información: . + +- Encuentra dominios raíz en un rango de direcciones IP específico: + +`amass intel -addr {{192.168.0.1-254}}` + +- Usa métodos activos de reconocimiento: + +`amass intel -active -addr {{192.168.0.1-254}}` + +- Encuentra dominios raíz relacionados con un [d]ominio específico: + +`amass intel -whois -d {{nombre_de_dominio}}` + +- Encuentra ASNs pertenecientes a una [org]anización específica: + +`amass intel -org {{nombre_de_organización}}` + +- Encuentra dominios raíz pertenecientes a un Número de Sistema Autónomo específico: + +`amass intel -asn {{cadena}}` + +- Guarda los resultados en un archivo de texto: + +`amass intel -o {{ruta/al/archivo_de_salida}} -whois -d {{nombre_de_dominio}}` + +- Lista todas las fuentes de datos disponibles: + +`amass intel -list` diff --git a/pages.es/common/amass.md b/pages.es/common/amass.md new file mode 100644 index 00000000000000..43d1c4778658c2 --- /dev/null +++ b/pages.es/common/amass.md @@ -0,0 +1,21 @@ +# amass + +> Herramienta de mapeo de superficie de ataque en profundidad y descubrimiento de activos. +> Algunos subcomandos como `intel` tienen su propia documentación de uso. +> Más información: . + +- Ejecuta un subcomando Amass: + +`amass {{intel|enum}} {{options}}` + +- Muestra ayuda: + +`amass -help` + +- Muestra ayuda sobre un subcomando de Amass: + +`amass {{intel|enum}} -help` + +- Muestra la versión: + +`amass -version` diff --git a/pages.es/common/androguard.md b/pages.es/common/androguard.md new file mode 100644 index 00000000000000..cfb681e6c9abd8 --- /dev/null +++ b/pages.es/common/androguard.md @@ -0,0 +1,16 @@ +# androguard + +> Obtiene información o un diseño a partir de una aplicación de Android. Escrito en Python. +> Más información: . + +- Despliega el manifiesto de la aplicación Android: + +`androguard axml {{ruta/al/app.apk}}` + +- Despliega metadatos de la aplicación (versión y ID de la app): + +`androguard apkid {{ruta/a/app.apk}}` + +- Descompila el código en Java de una aplicación: + +`androguard decompile {{ruta/a/app.apk}} --output {{ruta/al/directorio_de_salida}}` diff --git a/pages.es/common/ani-cli.md b/pages.es/common/ani-cli.md new file mode 100644 index 00000000000000..c36bed3db3d3d9 --- /dev/null +++ b/pages.es/common/ani-cli.md @@ -0,0 +1,36 @@ +# ani-cli + +> Una interface de línea de comando para navegar y ver anime. +> Más información: . + +- Busca anime por nombre: + +`ani-cli "{{nombre_del_anime}}"` + +- Descarga un episodio: + +`ani-cli {{[-d|--download]}} "{{nombre_del_anime}}"` + +- Descarga una serie de episodios: + +`ani-cli {{[-d|--download]}} {{[-r|--range]}} "{{1 6}}" "{{nombre_del_anime}}"` + +- Descarga toda la serie (un rango de todos los episodios): + +`ani-cli {{[-d|--download]}} {{[-r|--rango]}} "1 -1" "{{nombre_del_anime}}"` + +- Usa VLC como reproductor multimedia: + +`ani-cli {{[-v|-vlc]}} "{{nombre_del_anime}}"` + +- Ve un episodio concreto: + +`ani-cli {{[-e|--episode]}} {{número_episodio}} "{{nombre_del_anime}}"` + +- Continúa viendo anime del historial: + +`ani-cli {{[-c|--continue]}}` + +- Actualiza `ani-cli`: + +`ani-cli {{[-U|--update]}}` diff --git a/pages.es/common/animdl.md b/pages.es/common/animdl.md new file mode 100644 index 00000000000000..ee6b4f473a8f98 --- /dev/null +++ b/pages.es/common/animdl.md @@ -0,0 +1,37 @@ +# animdl + +> Recolector eficiente y veloz de datos de anime. +> Vea también: `ani-cli`. +> Más información: . + +- Descarga un anime específico: + +`animdl download {{nombre_anime}}` + +- Descarga un anime determinado, especificando un rango de episodios: + +`animdl download {{nombre_anime}} {{[-r|--range]}} {{episodio_inicial}}-{{episodio_final}}` + +- Descarga un anime determinado, especificando un directorio de descarga: + +`animdl download {{nombre_anime}} {{[-d|--download-dir]}} {{ruta/al/directorio_de_descargas}}` + +- Obtiene la URL de transmisión de un anime específico: + +`animdl grab {{nombre_anime}}` + +- Despliega el cronograma de los próximos animes para la siguiente semana: + +`animdl schedule` + +- Busca un anime específico: + +`animdl search {{nombre_anime}}` + +- Vea un anime específico en transmisión: + +`animdl stream {{nombre_anime}}` + +- Vea la transmisión del último episodio de un anime específico: + +`animdl stream {{nombre_anime}} {{[-s|--special]}} latest` diff --git a/pages.es/common/anki.md b/pages.es/common/anki.md new file mode 100644 index 00000000000000..93d697cdcc1019 --- /dev/null +++ b/pages.es/common/anki.md @@ -0,0 +1,20 @@ +# anki + +> Potente e inteligente programa de flashcards. +> Más información: . + +- Inicia `anki`: + +`anki` + +- Inicia `anki` con un perfil específico: + +`anki -p {{nombre_perfil}}` + +- Inicia `anki` en un idioma específico: + +`anki -l {{idioma}}` + +- Inicia `anki` desde un directorio específico en lugar del predeterminado (`~/Anki`): + +`anki -b {{ruta/al/directorio}}` diff --git a/pages.es/common/ansible-doc.md b/pages.es/common/ansible-doc.md new file mode 100644 index 00000000000000..4fc36d00f267f7 --- /dev/null +++ b/pages.es/common/ansible-doc.md @@ -0,0 +1,29 @@ +# ansible-doc + +> Muestra información sobre los módulos instalados en las bibliotecas de Ansible. +> Muestra una concisa lista de complementos y sus breves descripciones. +> Más información: . + +- Lista de complementos disponibles acorde a su acción (módulos): + +`ansible-doc {{[-l|--list]}}` + +- Lista de complementos disponibles dado un tipo específico: + +`ansible-doc {{[-t|--type]}} {{become|cache|callback|cliconf|connection|...}} {{[-l|--list]}}` + +- Muestra información sobre un complemento acorde a su acción específica (módulo): + +`ansible-doc {{nombre_complemento}}` + +- Muestra información acerca de un complemento dado un tipo específico: + +`ansible-doc {{[-t|--type]}} {{become|cache|callback|cliconf|connection|...}} {{nombre_complemento}}` + +- Muestra fragmentos de las acciones respecto al tipo de complemento y su especificidad de tipo de acción (módulos): + +`ansible-doc {{[-s|--snippet]}} {{nombre_complemento}}` + +- Muestra información de acuerdo al complemento dada su especificidad de acción (módulo) como JSON: + +`ansible-doc {{[-j|--json]}} {{nombre_complemento}}` diff --git a/pages.es/common/ansible-galaxy.md b/pages.es/common/ansible-galaxy.md new file mode 100644 index 00000000000000..d5aab716a5bbb6 --- /dev/null +++ b/pages.es/common/ansible-galaxy.md @@ -0,0 +1,32 @@ +# ansible-galaxy + +> Realiza varias operaciones de Ansible Role y algunas relacionadas a Collection. +> Más información: . + +- Enumera roles instalados o colecciones: + +`ansible-galaxy {{role|collection}} list` + +- Busca un rol con varios niveles de verbosidad (`-v` debe ser específicado al final): + +`ansible-galaxy role search {{keyword}} -v{{vvvvv}}` + +- Instala o elimina roles: + +`ansible-galaxy role {{install|remove}} {{rol_nombre1 rol_nombre2 ...}}` + +- Crea un nuevo rol: + +`ansible-galaxy role init {{rol_nombre}}` + +- Obtiene información acerca de un rol: + +`ansible-galaxy role info {{rol_nombre}}` + +- Instala o elimina colecciones: + +`ansible-galaxy collection {{install|remove}} {{colección_nombre1 colección_nombre2 ...}}` + +- Despliega más información (ayuda) acerca de roles o colecciones: + +`ansible-galaxy {{role|collection}} {{[-h|--help]}}` diff --git a/pages.es/common/ansible-inventory.md b/pages.es/common/ansible-inventory.md new file mode 100644 index 00000000000000..f77713c6d53711 --- /dev/null +++ b/pages.es/common/ansible-inventory.md @@ -0,0 +1,21 @@ +# ansible-inventory + +> Muestra o vuelca un inventario de Ansible. +> Vea también: `ansible`. +> Más información: . + +- Muestra el inventario por defecto: + +`ansible-inventory --list` + +- Muestra un inventario personalizado: + +`ansible-inventory --list {{[-i|--inventory-file]}} {{ruta/al/archivo_o_script_o_directorio}}` + +- Muestra el inventario por defecto en YAML: + +`ansible-inventory --list {{[-y|--yaml]}}` + +- Vuelca el inventario por defecto a un fichero: + +`ansible-inventory --list --output {{ruta/al/archivo}}` diff --git a/pages.es/common/ansible-lint.md b/pages.es/common/ansible-lint.md new file mode 100644 index 00000000000000..bd9d91db76c7bf --- /dev/null +++ b/pages.es/common/ansible-lint.md @@ -0,0 +1,24 @@ +# ansible-lint + +> Aplica reglas y sigue las mejores prácticas en la automatización de tu contenido. +> Más información: . + +- Analiza un playbook (archivo de tareas) específico y un directorio de roles con Lint: + +`ansible-lint {{ruta/al/playbook}} {{ruta/al/directorio_de_roles}}` + +- Analiza un playbook mientras se excluyen reglas específicas: + +`ansible-lint {{[-x|--exclude-rules]}} {{regla1, regla2,...}} {{ruta/al/archivo_playbook}}` + +- Analiza un playbook en modo sin conexión y le da un formato de salida PEP8: + +`ansible-lint {{[-o|--offline]}} {{[-p|--parseable]}} {{ruta/al/archivo_playbook}}` + +- Analiza un playbook usando un directorio de reglas personalizadas: + +`ansible-lint {{[-r|--rules]}} {{ruta/al/directorio_de_reglas_personalizadas}} {{ruta/al/archivo_playbook}}` + +- Analiza todo el contenido Ansible de manera recursiva en un directorio dado: + +`ansible-lint {{ruta/al/directorio_del_proyecto}}` diff --git a/pages.es/common/ansible-playbook.md b/pages.es/common/ansible-playbook.md new file mode 100644 index 00000000000000..1bc8e17a96d663 --- /dev/null +++ b/pages.es/common/ansible-playbook.md @@ -0,0 +1,32 @@ +# ansible-playbook + +> Ejecuta tareas definidas en un playbook (archivo de tareas) en máquinas remotas sobre SSH. +> Más información: . + +- Ejecuta tareas en el playbook dado: + +`ansible-playbook {{playbook}}` + +- Ejecuta tareas en el playbook dado con inventario de host personalizado: + +`ansible-playbook {{playbook}} {{[-i|--inventory]}} {{inventory_file}}` + +- Ejecuta tareas en el playbook dado con variables extra definidas con la línea de comandos: + +`ansible-playbook {{playbook}} {{[-e|--extra-vars]}} "{{variable1}}={{valor1}} {{variable2}}={{valor2}}"` + +- Ejecuta tareas en el playbook dado con variables extra definidas en un archivo JSON: + +`ansible-playbook {{playbook}} {{[-e|extra-vars]}} "@{{variables.json}}"` + +- Ejecuta tareas en el playbook dado con etiquetas específicas: + +`ansible-playbook {{playbook}} {{[-t|--tags]}} {{etiqueta1,etiqueta2}}` + +- Ejecuta tareas en el playbook dado empezando por una tarea determinada: + +`ansible-playbook {{playbook}} --start-at {{nombre_tarea}}` + +- Ejecuta tareas en el playbook dado sin realizar ningún cambio (dry-run): + +`ansible-playbook {{playbook}} {{[-C|--check]}} {{[-D|--diff]}}` diff --git a/pages.es/common/ansible-pull.md b/pages.es/common/ansible-pull.md new file mode 100644 index 00000000000000..5841eca70444d7 --- /dev/null +++ b/pages.es/common/ansible-pull.md @@ -0,0 +1,20 @@ +# ansible-pull + +> Extrae playbooks ansible de un repositorio VCS y los ejecuta para el host local. +> Más información: . + +- Extrae un playbook de un VCS y ejecuta local.yml del playbook por defecto: + +`ansible-pull {{[-U|--url]}} {{url_repositorio}}` + +- Extrae un playbook de un VCS y ejecuta un playbook específico: + +`ansible-pull {{[-U|--url]}} {{url_repositorio}} {{playbook}}` + +- Extrae un playbook de un VCS en una rama determinada y ejecuta un playbook específico: + +`ansible-pull {{[-U|--url]}} {{url_repositorio}} {{[-C|--checkout]}} {{rama}} {{playbook}}` + +- Extrae un playbook de un VCS, en tanto especificando un archivo hosts y ejecuta un playbook específico: + +`ansible-pull {{[-U|--url]}} {{url_repositorio}} {{[-i|--inventory]}} {{archivo_hosts}} {{playbook}}` diff --git a/pages.es/common/ansible.md b/pages.es/common/ansible.md new file mode 100644 index 00000000000000..9deba3149fc6dc --- /dev/null +++ b/pages.es/common/ansible.md @@ -0,0 +1,33 @@ +# ansible + +> Gestiona grupos de ordenadores remotamente sobre SSH. (usa el archivo `/etc/ansible/hosts` para añadir nuevos grupos/hosts). +> Algunos subcomandos como `galaxy` tienen su propia documentación de uso. +> Más información: . + +- Lista de hosts pertenecientes a un grupo: + +`ansible {{grupo}} --list-hosts` + +- Hace ping a un grupo de hosts invocando al módulo ping: + +`ansible {{grupo}} {{[-m|--module-name]}} ping` + +- Muestra información sobre un grupo de hosts invocando al módulo setup: + +`ansible {{grupo}} {{[-m|--module-name]}} setup` + +- Ejecuta un comando en un grupo de hosts invocando el módulo command con argumentos: + +`ansible {{grupo}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{mi_comando}}'` + +- Ejecuta un comando con privilegios administrativos: + +`ansible {{grupo}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{mi_comando}}'` + +- Ejecuta un comando utilizando un archivo de inventario personalizado: + +`ansible {{grupo}} {{[-i|--inventory]}} {{archivo_de_inventario}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{mi_comando}}'` + +- Lista los grupos de un inventario: + +`ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'` diff --git a/pages.es/common/ansiweather.md b/pages.es/common/ansiweather.md new file mode 100644 index 00000000000000..fbbd00af68c952 --- /dev/null +++ b/pages.es/common/ansiweather.md @@ -0,0 +1,16 @@ +# ansiweather + +> Un script de shell para mostrar las condiciones meteorológicas actuales en tu terminal. +> Más información: . + +- Muestra una previsión usando unidades métricas de los siguientes siete días de una ubicación: + +`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}` + +- Muestra una previsión de los siguientes cinco días con símbolos e información de luz diurna de tu ubicación actual: + +`ansiweather -F -s true -d true` + +- Muestra una previsión con los datos de viento y humedad de tu ubicación actual: + +`ansiweather -w true -h true` diff --git a/pages.es/common/antibody.md b/pages.es/common/antibody.md new file mode 100644 index 00000000000000..9683ed4cd494bb --- /dev/null +++ b/pages.es/common/antibody.md @@ -0,0 +1,16 @@ +# antibody + +> "El más rápido" administrador de complementos de shell. +> Más información: . + +- Empaqueta todos los complementos para su carga estática: + +`antibody bundle < {{~/.zsh_plugins.txt}} > {{~/.zsh_plugins.sh}}` + +- Actualiza todos los empaquetados: + +`antibody update` + +- Lista todos los complementos instalados: + +`antibody list` diff --git a/pages.es/common/apg.md b/pages.es/common/apg.md new file mode 100644 index 00000000000000..c6fb81d821a6d6 --- /dev/null +++ b/pages.es/common/apg.md @@ -0,0 +1,24 @@ +# apg + +> Crea contraseñas aleatorias arbitrariamente complejas. +> Más información: . + +- Crea contraseñas aleatorias (la longitud predeterminada de la contraseña es 8): + +`apg` + +- Crea una contraseña con al menos 1 símbolo (S), 1 número (N), 1 mayúscula (C), 1 minúscula (L): + +`apg -M SNCL` + +- Crea una contraseña con 16 caracteres: + +`apg -m {{16}}` + +- Crea una contraseña con una longitud máxima de 16: + +`apg -x {{16}}` + +- Crea una contraseña que no aparece en un diccionario (se debe proporcionar el archivo del diccionario): + +`apg -r {{ruta/al/archivo_diccionario}}` diff --git a/pages.es/common/apkeep.md b/pages.es/common/apkeep.md new file mode 100644 index 00000000000000..fae00f45dfc3e7 --- /dev/null +++ b/pages.es/common/apkeep.md @@ -0,0 +1,16 @@ +# apkeep + +> Descarga archivos APK de varias fuentes. +> Más información: . + +- Descarga un archivo APK al directorio especificado: + +`apkeep --app {{com.example.application}} {{ruta/al/directorio}}` + +- Lista todas las versiones disponibles para descarga: + +`apkeep --app {{com.example.application}} --list-versions {{ruta/al/directorio}}` + +- Especifica la tienda para hacer la descarga: + +`apkeep --app {{com.example.application}} --download-source {{apk-pure|google-play|f-droid|huawei-app-gallery}} {{ruta/al/directorio}}` diff --git a/pages.es/common/apkleaks.md b/pages.es/common/apkleaks.md new file mode 100644 index 00000000000000..92a7563431ffd8 --- /dev/null +++ b/pages.es/common/apkleaks.md @@ -0,0 +1,17 @@ +# apkleaks + +> Expone URIs, endpoints y secretos de archivos APK. +> Nota: APKLeaks utiliza el desensamblador `jadx` para decompilar archivos APK. +> Más información: . + +- Escanea un archivo APK en busca de URIs, endpoints y secretos: + +`apkleaks --file {{ruta/al/archivo.apk}}` + +- Escanea y guarda el resultad[o] en un archivo específico: + +`apkleaks --file {{ruta/al/archivo.apk}} --output {{ruta/al/archivo.txt}}` + +- Pasar [a]rgumentos del desensamblador `jadx`: + +`apkleaks --file {{ruta/al/archivo.apk}} --args "{{--threads-count 5 --deobf}}"` diff --git a/pages.es/common/apktool.md b/pages.es/common/apktool.md new file mode 100644 index 00000000000000..402248fcf0901d --- /dev/null +++ b/pages.es/common/apktool.md @@ -0,0 +1,16 @@ +# apktool + +> Ingeniería inversa de archivos APK. +> Más información: . + +- Decodifica un archivo APK: + +`apktool d {{archivo.apk}}` + +- Construye un archivo APK desde un directorio: + +`apktool b {{ruta/al/directorio}}` + +- Instala y almacena un framework: + +`apktool if {{framework.apk}}` diff --git a/pages.es/common/apm.md b/pages.es/common/apm.md new file mode 100644 index 00000000000000..cfd9362803a9d5 --- /dev/null +++ b/pages.es/common/apm.md @@ -0,0 +1,17 @@ +# apm + +> Editor Atom Package Manager. +> Vea `atom`. +> Más información: . + +- Instala un paquete de o un tema de : + +`apm install {{nombre_de_paquete}}` + +- Elimina un paquete/tema: + +`apm remove {{nombre_de_paquete}}` + +- Actualiza un paquete/tema: + +`apm upgrade {{nombre_de_paquete}}` diff --git a/pages.es/common/apropos.md b/pages.es/common/apropos.md new file mode 100644 index 00000000000000..73272a1f6f77c4 --- /dev/null +++ b/pages.es/common/apropos.md @@ -0,0 +1,16 @@ +# apropos + +> Busca nombres y descripciones en las páginas del manual. +> Más información: . + +- Busca una palabra clave utilizando una expresión regular: + +`apropos {{expresion_regular}}` + +- Busca sin restringir la salida al ancho de la terminal: + +`apropos -l {{expresion_regular}}` + +- Busca páginas que contengan todas las expresiones dadas: + +`apropos {{expresion_regular_1}} -a {{expresion_regular_2}} -a {{expresion_regular_3}}` diff --git a/pages.es/common/ar.md b/pages.es/common/ar.md new file mode 100644 index 00000000000000..647b2497e2fad1 --- /dev/null +++ b/pages.es/common/ar.md @@ -0,0 +1,25 @@ +# ar + +> Crea, modifica y extrae de archivos Unix. Típicamente utilizado para bibliotecas estáticas (`.a`) y paquetes Debian (`.deb`). +> Vea también: `tar`, `ranlib`. +> Más información: . + +- E[x]trae todos los miembros de un archivo: + +`ar x {{ruta/al/archivo.a}}` + +- Lis[t]a los contenidos de un archivo: + +`ar t {{ruta/al/archivo.ar}}` + +- [r]eemplaza o añade archivos a un archivo: + +`ar r {{ruta/al/archivo.deb}} {{ruta/a/binario-debian ruta/a/control.tar.gz ruta/a/datos.tar.xz ...}}` + +- In[s]erta un índice de archivo objeto (equivalente a usar `ranlib`): + +`ar s {{ruta/al/archivo.a}}` + +- Crea un archivo con archivos específicos incluyendo un índice de archivo objeto: + +`ar rs {{ruta/al/archivo.a}} {{ruta/al/archivo1.o ruta/al/archivo2.o ...}}` diff --git a/pages.es/common/arch.md b/pages.es/common/arch.md new file mode 100644 index 00000000000000..a224793dac1ac4 --- /dev/null +++ b/pages.es/common/arch.md @@ -0,0 +1,9 @@ +# arch + +> Muestra el nombre de la arquitectura del sistema. +> Vea también `uname`. +> Más información: . + +- Muestra la arquitectura del sistema: + +`arch` diff --git a/pages.es/common/archwiki-rs.md b/pages.es/common/archwiki-rs.md new file mode 100644 index 00000000000000..acca757f713cd8 --- /dev/null +++ b/pages.es/common/archwiki-rs.md @@ -0,0 +1,20 @@ +# archwiki-rs + +> Lee, busca y descarga páginas de la ArchWiki. +> Más información: . + +- Lee una página de la ArchWiki: + +`archwiki-rs read-page {{título_de_página}}` + +- Lee una página de la ArchWiki en el formato especificado: + +`archwiki-rs read-page {{título_de_página}} --format {{plain-text|markdown|html}}` + +- Busca páginas en ArchWiki con el texto proporcionado: + +`archwiki-rs search "{{texto_a_buscar}}" --text-search` + +- Descarga una copia local de todas las páginas de ArchWiki en un directorio específico: + +`archwiki-rs local-wiki {{ruta/a/wiki_local}} --format {{plain-text|markdown|html}}` diff --git a/pages.es/common/argocd-app.md b/pages.es/common/argocd-app.md new file mode 100644 index 00000000000000..53ab0355d09123 --- /dev/null +++ b/pages.es/common/argocd-app.md @@ -0,0 +1,36 @@ +# argocd app + +> Interfaz de línea de comandos para gestionar aplicaciones por CD Argo. +> Más información: . + +- Lista aplicaciones: + +`argocd app list --output {{json|yaml|wide}}` + +- Obtén los detalles de la aplicación: + +`argocd app get {{nombre_de_la_aplicacion}} --output {{json|yaml|wide}}` + +- Despliega la aplicación internamente (en el mismo clúster en el que se ejecuta Argo CD): + +`argocd app create {{nombre_de_la_aplicación}} --repo {{git_repo_url}} --path {{ruta/al/repo}} --dest-server https://kubernetes.default.svc --dest-namespace {{ns}}` + +- Elimina una aplicación: + +`argocd app delete {{nombre_de_la_aplicación}}` + +- Activa la sincronización automática de aplicaciones: + +`argocd app set {{nombre_de_la_aplicacion}} --sync-policy auto --auto-prune --self-heal` + +- Previsualiza la sincronización de aplicaciones sin afectar al clúster: + +`argocd app sync {{nombre_de_la_aplicacion}} --dry-run --prune` + +- Muestra el historial de despliegue de aplicaciones: + +`argocd app history {{nombre_de_la_aplicacion}} --output {{wide|id}}` + +- Retrocede la aplicación a una versión anterior desplegada por ID de historial (eliminando recursos inesperados): + +`argocd app rollback {{nombre_de_la_aplicacion}} {{identificador_de_historial}} --prune` diff --git a/pages.es/common/argon2.md b/pages.es/common/argon2.md new file mode 100644 index 00000000000000..532bd69d1d772d --- /dev/null +++ b/pages.es/common/argon2.md @@ -0,0 +1,20 @@ +# argon2 + +> Calcula hashes criptográficos Argon2. +> Más información: . + +- Calcula un hash con una contraseña y un salt con los parámetros por defecto: + +`echo "{{contraseña}}" | argon2 "{{texto_salt}}"` + +- Calcula un hash con el algoritmo especificado: + +`echo "{{contraseña}}" | argon2 "{{texto_sal}}" -{{d|i|id}}` + +- Muestra el hash de salida sin información adicional: + +`echo "{{contraseña}}" | argon2 "{{texto_sal}}" -e` + +- Calcula un hash con una cantidad de i[t]eraciones dada, uso de [m]emoria y parámetros de [p]aralelismo dados: + +`echo "{{contraseña}}" | argon2 "{{texto_sal}}" -t {{5}} -m {{20}} -p {{7}}` diff --git a/pages.es/common/argos-translate.md b/pages.es/common/argos-translate.md new file mode 100644 index 00000000000000..695ea1c9369e52 --- /dev/null +++ b/pages.es/common/argos-translate.md @@ -0,0 +1,32 @@ +# argos-translate + +> Una biblioteca de traducción local (offline) de código abierto y una herramienta CLI escrita en Python. +> Más información: . + +- Instala pares de traducción del español al inglés: + +`argospm install translate-es_en` + +- Traduce un texto del español (`es`) al inglés (`en`) (Nota: sólo se admiten códigos de dos letras para los idiomas: + +`argos-translate --from-lang es --to-lang en {{un texto corto}}` + +- Traduce un archivo de texto del inglés al hindi: + +`cat {{ruta/al/archivo.txt}} | argos-translate --from-lang en --to-lang hi` + +- Lista todos los pares de traducción instalados: + +`argospm list` + +- Muestra pares de traducción del inglés que están disponibles para ser instalados: + +`argospm search --from-lang en` + +- Actualiza pares de paquetes de lenguaje instalados: + +`argospm update` + +- Traduce de `ar` a `ru` (Nota: esto requiere que se instalen los pares de traducción `translate-ar_en` y `translate-en_ru`): + +`argos-translate --from-lang ar --to-lang ru {{صورة تساوي أكثر من ألف كلمة}}` diff --git a/pages.es/common/aria2.md b/pages.es/common/aria2.md new file mode 100644 index 00000000000000..2e6d6ab2ac1cd9 --- /dev/null +++ b/pages.es/common/aria2.md @@ -0,0 +1,7 @@ +# aria2 + +> Este comando es un alias de `aria2c`. + +- Muestra documentación para el comando actualizado: + +`tldr aria2c` diff --git a/pages.es/common/aria2c.md b/pages.es/common/aria2c.md new file mode 100644 index 00000000000000..1709f6bc1250cc --- /dev/null +++ b/pages.es/common/aria2c.md @@ -0,0 +1,37 @@ +# aria2c + +> Utilidad de descarga rápida. +> Soporta HTTP(S), FTP, SFTP, BitTorrent y Metalink. +> Más información: . + +- Descarga un URI específico a un archivo: + +`aria2c "{{url}}"` + +- Descarga un archivo de una URI con un nombre de salida específico: + +`aria2c --out {{ruta/al/archivo}} "{{url}}"` + +- Descarga varios archivos diferentes en paralelo: + +`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"` + +- Descarga el mismo archivo desde diferentes espejos y verifica la suma de comprobación del archivo descargado: + +`aria2c --checksum {{sha-256}}={{suma_de_comprobación}} "{{url1}}" "{{url2}}" "{{urlN}}"` + +- Descarga las URI enumeradas en un archivo con un número determinado de descargas paralelas: + +`aria2c --input-file {{ruta/al/archivo}} --max-concurrent-downloads {{número_de_descargas}}` + +- Descarga con varias conexiones: + +`aria2c --split {{número_de_conexiones}} "{{url}}"` + +- Descarga a través de FTP con un nombre de usuario y contraseña: + +`aria2c --ftp-user {{usuario}} --ftp-passwd {{contraseña}} "{{url}}"` + +- Limita la velocidad de descarga en bytes por segundo: + +`aria2c --max-download-limit {{velocidad}} "{{url}}"` diff --git a/pages.es/common/arp.md b/pages.es/common/arp.md new file mode 100644 index 00000000000000..803b959d578032 --- /dev/null +++ b/pages.es/common/arp.md @@ -0,0 +1,16 @@ +# arp + +> Muestra y manipula la caché ARP del sistema. +> Más información: . + +- Muestra la tabla ARP actual: + +`arp -a` + +- Borra una entrada específica: + +`arp -d {{dirección}}` + +- Añade una nueva entrada en la tabla ARP: + +`arp -s {{dirección}} {{dirección_mac}}` diff --git a/pages.es/common/arping.md b/pages.es/common/arping.md new file mode 100644 index 00000000000000..7eeea8aed98b56 --- /dev/null +++ b/pages.es/common/arping.md @@ -0,0 +1,29 @@ +# arping + +> Descubre y sondea hosts en una red utilizando el protocolo ARP. +> Útil para el descubrimiento de direcciones MAC. +> Más información: . + +- Haz ping a un host mediante paquetes de petición ARP: + +`arping {{host_ip}}` + +- Haz ping a un host en una interfaz específica: + +`arping -I {{interfaz}} {{host_ip}}` + +- Haz ping a un host y detenerse en la primera respuesta: + +`arping -f {{host_ip}}` + +- Haz ping a un host un determinado número de veces: + +`arping -c {{cuenta}} {{host_ip}}` + +- Emite paquetes de solicitud ARP para actualizar las cachés ARP de los vecinos: + +`arping -U {{ip_a_retransmitir}}` + +- Detecta direcciones IP duplicadas en la red enviando peticiones ARP con un tiempo de espera de 3 segundos: + +`arping -D -w {{3}} {{ip_a_verificar}}` diff --git a/pages.es/common/asar.md b/pages.es/common/asar.md new file mode 100644 index 00000000000000..17c2b216cf8bc0 --- /dev/null +++ b/pages.es/common/asar.md @@ -0,0 +1,20 @@ +# asar + +> Un archivador de ficheros para la plataforma Electron. +> Más información: . + +- Archiva un fichero o directorio: + +`asar pack {{ruta/al/archivo_o_directorio}} {{archivado.asar}}` + +- Extrae un archivo: + +`asar extract {{archivado.asar}}` + +- Extrae un archivo específico de un archivo: + +`asar extract-file {{archivado.asar}} {{archivo}}` + +- Lista el contenido de un archivo: + +`asar list {{archivado.asar}}` diff --git a/pages.es/common/asciidoctor.md b/pages.es/common/asciidoctor.md new file mode 100644 index 00000000000000..719daa90cbe2b5 --- /dev/null +++ b/pages.es/common/asciidoctor.md @@ -0,0 +1,20 @@ +# asciidoctor + +> Un procesador que convierte archivos AsciiDoc a un formato publicable. +> Más información: . + +- Convierte un archivo `.adoc` específico a HTML (el formato de salida por defecto): + +`asciidoctor {{ruta/al/archivo.adoc}}` + +- Convierte un archivo `.adoc` específico a HTML y vincula una hoja de estilos CSS: + +`asciidoctor -a stylesheet {{ruta/al/stylesheet.css}} {{ruta/al/archivo.adoc}}` + +- Convierte un archivo específico `.adoc` en HTML incrustable, eliminando todo excepto el cuerpo: + +`asciidoctor --embedded {{ruta/al/archivo.adoc}}` + +- Convierte un archivo `.adoc` dado en un PDF utilizando la biblioteca `asciidoctor-pdf`: + +`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{ruta/al/archivo.adoc}}` diff --git a/pages.es/common/asciinema.md b/pages.es/common/asciinema.md index 27f88ae53a0ddf..43360fa918f6e3 100644 --- a/pages.es/common/asciinema.md +++ b/pages.es/common/asciinema.md @@ -1,36 +1,37 @@ # asciinema -> Graba y reproduce sesiones de terminal, y opcionalmente compartelas en asciinema.org. -> Más información: . +> Graba y reproduce sesiones de terminal, y opcionalmente compártelas en . +> Vea también: `terminalizer`. +> Más información: . -- Asocia el programa local de `asciinema` con una cuenta de asciinema.org: +- Asocia la instalación local de `asciinema` con una cuenta de asciinema.org: -`asciinema auth` +`asciinema {{[a|auth]}}` -- Crea una nueva grabación (una vez acabada, se pregutará al usuario si la quiere cuardar en local, o subirla): +- Realiza una nueva grabación y la guarda en un archivo local (presione `` o teclea `exit` para finalizar): -`asciinema rec` +`asciinema {{[r|record]}} {{ruta/a/grabación.cast}}` -- Crea una nueva grabación y la guarda en un archivo local: +- Reproduce una grabación de la terminal desde un archivo local: -`asciinema rec {{ruta/hacia/archivo}}.cast` +`asciinema {{[p|play]}} {{ruta/a/grabación.cast}}` -- Reproduce una grabación desde un archivo local: +- Reproduce una grabación de la terminal alojada en : -`asciinema play {{ruta/hacia/archivo}}.cast` +`asciinema {{[p|play]}} https://asciinema.org/a/{{cast_id}}` -- Reproduce una grabación desde asciinema.org: +- Realiza una nueva grabación, limitando el tiempo de espera a un máximo de 2,5 segundos: -`asciinema play https://asciinema.org/a/{{cast_id}}` +`asciinema {{[r|record]}} {{[-i|--idle-time-limit]}} 2.5` -- Crea una nueva grabación, limitando el tiempo de espera máximo a 2.5 segundos: +- Imprime el resultado completo de una grabación guardada localmente: -`asciinema rec -i {{2.5}}` +`asciinema {{[ca|cat]}} {{ruta/a/grabación.cast}}` -- Imprime la salida completa de un archivo local de grabación: +- Carga una sesión de terminal guardada localmente en asciinema.org: -`asciinema cat {{ruta/hacia/archivo}}.cast` +`asciinema {{[u|upload]}} {{ruta/a/grabación.cast}}` -- Sube un archivo local de grabación a asciinema.org: +- Transmite la sesión actual de la terminal en una página web local: -`asciinema upload {{ruta/hacia/archivo}}.cast` +`asciinema {{[st|stream]}} --local` diff --git a/pages.es/common/asciitopgm.md b/pages.es/common/asciitopgm.md new file mode 100644 index 00000000000000..e4790b7a1fffde --- /dev/null +++ b/pages.es/common/asciitopgm.md @@ -0,0 +1,12 @@ +# asciitopgm + +> Convierte gráficos ASCII hacia un archivo PGM. +> Más información: . + +- Lee los datos ASCII como entrada y produce una imagen PGM con valores de píxel aproximando al "brillo" de los caracteres ASCII: + +`asciitopgm {{ruta/al/archivo_de_entrada}} > {{ruta/al/archivo_de_salida.pgm}}` + +- Muestra la versión: + +`asciitopgm -version` diff --git a/pages.es/common/aspell.md b/pages.es/common/aspell.md new file mode 100644 index 00000000000000..1a4d82116da227 --- /dev/null +++ b/pages.es/common/aspell.md @@ -0,0 +1,24 @@ +# aspell + +> Corrector ortográfico interactivo. +> Más información: . + +- Revisa la ortografía de un solo archivo: + +`aspell check {{ruta/al/archivo}}` + +- Lista las palabras mal escritas de `stdin`: + +`cat {{ruta/al/archivo}} | aspell list` + +- Muestra los idiomas disponibles en el diccionario: + +`aspell dicts` + +- Ejecuta `aspell` con un idioma diferente (toma el código de idioma ISO 639 de dos letras): + +`aspell --lang {{cs}}` + +- Lista las palabras mal escritas de `stdin` e ignora las palabras de la lista personal de palabras: + +`cat {{ruta/al/archivo}} | aspell --personal {{lista_personal_de_palabras.pws}} list` diff --git a/pages.es/common/assimp.md b/pages.es/common/assimp.md new file mode 100644 index 00000000000000..2cf2e2a6ca77e1 --- /dev/null +++ b/pages.es/common/assimp.md @@ -0,0 +1,33 @@ +# assimp + +> Cliente de línea de comandos para la biblioteca Open Asset Import. +> Admite la carga de más de 40 formatos de archivo 3D y la exportación a varios formatos 3D populares. +> Más información: . + +- Lista todos los formatos de importación soportados: + +`assimp listext` + +- Lista todos los formatos de exportación compatibles: + +`assimp listexport` + +- Convierte un archivo a uno de los formatos de salida soportados, utilizando los parámetros por defecto: + +`assimp export {{archivo_entrada.stl}} {{archivo_salida.obj}}` + +- Convierte un archivo utilizando parámetros personalizados (el archivo dox_cmd.h en el código fuente de assimp enumera los parámetros disponibles): + +`assimp export {{archivo_entrada.stl}} {{archivo_salida.obj}} {{parametros}}` + +- Muestra un resumen del contenido de un archivo 3D: + +`assimp info {{ruta/al/archivo}}` + +- Lista todos los subcomandos ("verbs") soportados: + +`assimp help` + +- Muestra información de ayuda sobre un subcomando concreto (por ejemplo, los parámetros específicos del mismo): + +`assimp {{subcomando}} --help` diff --git a/pages.es/common/astronomer.md b/pages.es/common/astronomer.md new file mode 100644 index 00000000000000..5cbcbd127ac704 --- /dev/null +++ b/pages.es/common/astronomer.md @@ -0,0 +1,16 @@ +# astronomer + +> Herramienta que detecta estrellas ilegítimas de cuentas bot en proyectos de GitHub. +> Más información: . + +- Escanea un repositorio: + +`astronomer {{tldr-pages/tldr-node-client}}` + +- Escanea el máximo de estrellas del repositorio: + +`astronomer {{tldr-pages/tldr-node-client}} --stars {{50}}` + +- Escanea un repositorio incluyendo informes comparativos: + +`astronomer {{tldr-pages/tldr-node-client}} --verbose` diff --git a/pages.es/common/astyle.md b/pages.es/common/astyle.md new file mode 100644 index 00000000000000..4253b5aca3d06e --- /dev/null +++ b/pages.es/common/astyle.md @@ -0,0 +1,25 @@ +# astyle + +> Indentador, formateador y embellecedor de código fuente para los lenguajes de programación C, C++, C# y Java. +> Al ejecutarse, se crea una copia del archivo original con un ".orig" añadido al nombre del archivo original. +> Más información: . + +- Aplica el estilo por defecto de 4 espacios por sangría y sin cambios de formato: + +`astyle {{archivo_de_origen}}` + +- Aplica el estilo Java con llaves adjuntas: + +`astyle --style=java {{ruta/al/archivo}}` + +- Aplica el estilo allman con llaves discontinuas: + +`astyle --style=allman {{ruta/al/archivo}}` + +- Aplica una sangría personalizada utilizando espacios. Elige entre 2 y 20 espacios: + +`astyle --indent=spaces={{número_de_espacios}} {{ruta/al/archivo}}` + +- Aplica una sangría personalizada utilizando tabuladores. Elige entre 2 y 20 tabulaciones: + +`astyle --indent=tab={{número_de_pestañas}} {{ruta/al/archivo}}` diff --git a/pages.es/common/at.md b/pages.es/common/at.md new file mode 100644 index 00000000000000..dda17beb701708 --- /dev/null +++ b/pages.es/common/at.md @@ -0,0 +1,29 @@ +# at + +> Ejecuta los comandos una vez en otro momento. +> Los resultados se enviarán al correo del usuario. +> Más información: . + +- Crea comandos interactivamente y los ejecuta en 5 minutos (pulsa `` cuando termines):: + +`at now + 5 minutes` + +- Crea comandos interactivamente y los ejecuta a una hora determinada: + +`at {{hh:mm}}` + +- Ejecuta un comando de `stdin` a las 10:00 AM de hoy: + +`echo "{{comando}}" | at 1000` + +- Ejecuta comandos desde un archivo determinado el próximo martes: + +`at -f {{ruta/al/archivo}} 9:30 PM Tue` + +- Lista todos los trabajos en cola para el usuario actual (igual que `atq`): + +`at -l` + +- Visualiza un trabajo específico: + +`at -c {{número_de_trabajo}}` diff --git a/pages.es/common/atool.md b/pages.es/common/atool.md new file mode 100644 index 00000000000000..17fee131a3f757 --- /dev/null +++ b/pages.es/common/atool.md @@ -0,0 +1,37 @@ +# atool + +> Un script para gestionar archivos comprimidos de varios tipos. +> `atool` utiliza programas de compresión externos, pero proporciona una interfaz de línea de comandos coherente para listar, extraer, crear y gestionar archivos comprimidos. +> Más información: . + +- Lista archivos en un archivo comprimido: + +`atool {{[-l|--list]}} {{ruta/al/archivo.zip}}` + +- Extrae un archivo (crea un subdirectorio de forma segura si es necesario): + +`atool {{[-x|--extract]}} {{archivo.tar.gz}}` + +- Extrae un archivo a un directorio específico: + +`atool {{[-X|--extract-to]}} {{ruta/al/directorio_de_salida}} {{archivo.rar}}` + +- Muestra el contenido de un archivo específico de un archivo en la salida estándar (como `cat`): + +`atool {{[-c|--cat]}} {{archivo.tar}} {{ruta/al/archivo_en_archivo.txt}}` + +- Crea un nuevo archivo a partir de archivos y/o directorios especificados: + +`atool {{[-a|--add]}} {{archivo_nuevo.zip}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Lista los archivos de un archivo y envía la salida a través de un paginador: + +`atool {{[-l|--list]}} {{[-p|--pager]}} {{archivo_grande.tar.bz2}}` + +- Extrae varios archivos a la vez (cada uno a su propio subdirectorio si es necesario): + +`atool {{[-x|--extract]}} {{[-e|--each]}} {{archivo1.zip}} {{archivo2.tar.gz}} {{*.rar}}` + +- Reempaqueta un archivo de un formato a otro (por ejemplo, de .tar.gz a .tar.7z): + +`atool {{[-r|--repack]}} {{archivo_antiguo.tar.gz}} {{archivo_nuevo.tar.7z}}` diff --git a/pages.es/common/atoum.md b/pages.es/common/atoum.md new file mode 100644 index 00000000000000..64d9fa25b4e56c --- /dev/null +++ b/pages.es/common/atoum.md @@ -0,0 +1,36 @@ +# atoum + +> Un framework de pruebas unitarias para PHP sencillo, moderno e intuitivo. +> Más información: . + +- Inicializa un fichero de configuración: + +`atoum --init` + +- Ejecuta todas las pruebas: + +`atoum` + +- Ejecuta pruebas utilizando el archivo de configuración especificado: + +`atoum {{[-c|--configuration]}} {{ruta/al/archivo}}` + +- Ejecuta un archivo de prueba específico: + +`atoum {{[-f|--files]}} {{ruta/al/archivo}}` + +- Ejecuta un directorio específico de pruebas: + +`atoum {{[-d|--directories]}} {{ruta/al/directorio}}` + +- Ejecuta todas las pruebas dado un namespace específico: + +`atoum {{[-ns|--namespaces]}} {{namespace}}` + +- Ejecuta todas las pruebas dada una etiqueta específica: + +`atoum {{[-t|--tags]}} {{etiqueta}}` + +- Carga un archivo bootstrap personalizado antes de ejecutar las pruebas: + +`atoum {{[-bf|--bootstrap-file]}} {{ruta/al/archivo}}` diff --git a/pages.es/common/atq.md b/pages.es/common/atq.md new file mode 100644 index 00000000000000..0daa9b7ab9c820 --- /dev/null +++ b/pages.es/common/atq.md @@ -0,0 +1,16 @@ +# atq + +> Muestra trabajos programados por comandos `at` o `batch`. +> Más información: . + +- Muestra los trabajos programados del usuario actual: + +`atq` + +- Muestra trabajos de la 'a' [q]ueue (las colas tienen nombres de caracteres individuales): + +`atq -q {{a}}` + +- Muestra trabajos de todos los usuarios (ejecuta como superusuario): + +`sudo atq` diff --git a/pages.es/common/atrm.md b/pages.es/common/atrm.md new file mode 100644 index 00000000000000..8ee3e808fbab8e --- /dev/null +++ b/pages.es/common/atrm.md @@ -0,0 +1,13 @@ +# atrm + +> Elimina trabajos programados por comandos `at` o `batch`. +> Para encontrar los números de trabajo usa `atq`. +> Más información: . + +- Elimina el trabajo número 10: + +`atrm {{10}}` + +- Elimina varios trabajos, separados por espacios: + +`atrm {{15}} {{17}} {{22}}` diff --git a/pages.es/common/audacious.md b/pages.es/common/audacious.md new file mode 100644 index 00000000000000..fefe47bc4df594 --- /dev/null +++ b/pages.es/common/audacious.md @@ -0,0 +1,37 @@ +# audacious + +> Un reproductor de audio de código abierto. Basado indirectamente en XMMS. +> Vea también: `audtool`, `clementine`, `mpc`, `ncmpcpp`. +> Más información: . + +- Inicia la interfaz gráfica: + +`audacious` + +- Inicia una nueva instancia y reproduce un audio: + +`audacious --new-instance {{ruta/al/audio}}` + +- Pone en cola un directorio específico de archivos de audio: + +`audacious --enqueue {{ruta/al/directorio}}` + +- Inicia o detiene la reproducción: + +`audacious --play-pause` + +- Salta hacia delante ([fwd]) o hacia atrás ([rew]) en la lista de reproducción: + +`audacious --{{fwd|rew}}` + +- Detiene la reproducción: + +`audacious --stop` + +- Inicia en modo CLI (headless): + +`audacious --headless` + +- Sale en cuanto se detenga la reproducción o no haya nada que reproducir: + +`audacious --quit-after-play` diff --git a/pages.es/common/audit2allow.md b/pages.es/common/audit2allow.md new file mode 100644 index 00000000000000..d8ee3f3e9c2e87 --- /dev/null +++ b/pages.es/common/audit2allow.md @@ -0,0 +1,38 @@ +# audit2allow + +> Analiza los registros en busca de mensajes relativos a permisos denegados. +> Genera un informe de las reglas de Type Enforcement (TE) que podrían permitir operaciones con éxito. +> Vea también: `audit2why`. +> Más información: . + +- Muestra todos los mensajes generados en los registros de auditoría y mensajes: + +`audit2allow {{[-a|--all]}}` + +- Mostrar todos los mensajes generados desde el último arranque: + +`audit2allow {{[-b|--boot]}}` + +- Muestra información detallada sobre los mensajes generados: + +`audit2allow {{[-e|--explain]}}` + +- Activa el modo de salida detallada: + +`audit2allow {{[-v|--verbose]}}` + +- Utiliza macros instaladas para generar una política de referencia: + +`audit2allow {{[-R|--reference]}}` + +- Especifica un archivo de política para su posterior análisis: + +`audit2allow {{[-p|--policy]}} {{ruta/a/archivo_de_directiva}}` + +- Limita el análisis a los mensajes con un tipo especificado en `regex`: + +`audit2allow {{[-t|--type]}} {{tipo_regex}}` + +- Muestra la ayuda: + +`audit2allow {{[-h|--help]}}` diff --git a/pages.es/common/audit2why.md b/pages.es/common/audit2why.md new file mode 100644 index 00000000000000..df48dd7f275efc --- /dev/null +++ b/pages.es/common/audit2why.md @@ -0,0 +1,7 @@ +# audit2why + +> Este comando es un alias de `audit2allow --why`. + +- Vea la documentación del comando original: + +`tldr audit2allow` diff --git a/pages.es/common/audtool.md b/pages.es/common/audtool.md new file mode 100644 index 00000000000000..8c0f3bb846b946 --- /dev/null +++ b/pages.es/common/audtool.md @@ -0,0 +1,36 @@ +# audtool + +> Controla Audacious usando comandos. +> Más información: . + +- Reproduce/pausa la reproducción de audio: + +`audtool playback-playpause` + +- Imprime el nombre del artista, el álbum y la canción que se está reproduciendo: + +`audtool current-song` + +- Ajusta el volumen de la reproducción de audio: + +`audtool set-volume {{100}}` + +- Salta a la siguiente canción: + +`audtool playlist-advance` + +- Imprime la tasa de bits de la canción actual en kilobits: + +`audtool current-song-bitrate-kbps` + +- Abre Audacious en pantalla completa si está oculto: + +`audtool mainwin-show` + +- Muestra ayuda: + +`audtool help` + +- Muestra configuración: + +`audtool preferences-show` diff --git a/pages.es/common/autoflake.md b/pages.es/common/autoflake.md new file mode 100644 index 00000000000000..2374c19d2f17cb --- /dev/null +++ b/pages.es/common/autoflake.md @@ -0,0 +1,20 @@ +# autoflake + +> Una herramienta para eliminar importaciones y variables no utilizadas del código Python. +> Más información: . + +- Elimina las variables no utilizadas de un archivo y muestra la diferencia: + +`autoflake --remove-unused-variables {{ruta/al/archivo.py}}` + +- Elimina las importaciones no utilizadas de varios archivos y muestra las diferencias: + +`autoflake --remove-all-unused-imports {{ruta/al/archivo1.py ruta/al/archivo2.py ...}}` + +- Elimina variables no utilizadas de un fichero, sobrescribiendo el fichero: + +`autoflake --remove-unused-variables --in-place {{ruta/al/archivo.py}}` + +- Elimina recursivamente las variables no utilizadas de todos los archivos de un directorio, sobrescribiendo cada archivo: + +`autoflake --remove-unused-variables --in-place --recursive {{ruta/al/directorio}}` diff --git a/pages.es/common/autojump.md b/pages.es/common/autojump.md new file mode 100644 index 00000000000000..c17ef38d1bc7df --- /dev/null +++ b/pages.es/common/autojump.md @@ -0,0 +1,30 @@ +# autojump + +> Salta rápidamente entre los directorios que más visitas. +> Se proporcionan alias como `j` o `jc` para escribir aún menos. +> Vea también: «bashmarks». +> Más información: . + +- Añade los alias `autojump` a tu intérprete de comandos: + +`source /usr/share/autojump/autojump.{{bash|fish|zsh}}` + +- Salta a un directorio que contenga el patrón dado: + +`j {{patrón}}` + +- Salta a un subdirectorio (hijo) del directorio actual que contenga el patrón dado: + +`jc {{patrón}}` + +- Abre un directorio que contenga el patrón dado en el gestor de archivos del sistema operativo: + +`jo {{patrón}}` + +- Elimina directorios que no existen de la base de datos `autojump`: + +`j --purge` + +- Mustra las entradas de la base de datos `autojump`: + +`j {{[-s|--stat]}}` diff --git a/pages.es/common/autopep8.md b/pages.es/common/autopep8.md new file mode 100644 index 00000000000000..5924d100531c1c --- /dev/null +++ b/pages.es/common/autopep8.md @@ -0,0 +1,20 @@ +# autopep8 + +> Formatea el código Python según la guía de estilo PEP 8. +> Más información: . + +- Formatea un archivo a `stdout`, con una longitud de línea máxima personalizada: + +`autopep8 {{ruta/al/archivo.py}} --max-line-length {{length}}` + +- Formatea un fichero, mostrando un diff de los cambios: + +`autopep8 --diff {{ruta/al/archivo}}` + +- Formatea un fichero en su lugar y guarda los cambios: + +`autopep8 --in-place {{ruta/al/archivo.py}}` + +- Formatea recursivamente todos los archivos de un directorio y guarda los cambios: + +`autopep8 --in-place --recursive {{ruta/al/directorio}}` diff --git a/pages.es/common/autossh.md b/pages.es/common/autossh.md new file mode 100644 index 00000000000000..79d209ac8c770d --- /dev/null +++ b/pages.es/common/autossh.md @@ -0,0 +1,29 @@ +# autossh + +> Ejecuta, monitorea y reinicia conexiones SSH. +> Auto-reconecta para mantener los túneles de reenvío de puertos. Acepta todas las señales SSH. +> Más información: . + +- Inicia una sesión SSH, reiniciando cuando un puerto de monitoreo no retorna datos: + +`autossh -M {{puerto_monitor}} "{{comando_ssh}}"` + +- Reenvía un puerto local a uno remoto, reiniciando cuando sea necesario: + +`autossh -M {{puerto_monitor}} -L {{puerto_local}}:localhost:{{puerto_remoto}} {{usuario}}@{{host}}` + +- Crea un proceso `autossh` en segundo plano antes de ejecutar SSH y no abre un shell remoto: + +`autossh -f -M {{puerto_monitor}} -N "{{comando_ssh}}"` + +- Ejecuta en segundo plano, sin puerto de monitorización, y en su lugar envía paquetes SSH keep-alive cada 10 segundos para detectar fallos: + +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" "{{comando_ssh}}"` + +- Ejecuta en segundo plano, sin puerto de monitorización y sin shell remoto, saliendo si falla el reenvío de puerto: + +`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" -o ExitOnForwardFailure=yes -L {{local_port}}:localhost:{{puerto_remoto}} {{usuario}}@{{host}}` + +- Se ejecuta en segundo plano, registrando la salida de depuración `autossh` y la salida detallada SSH en archivos: + +`AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE={{ruta/al/autossh_log_file.log}} autossh -f -M {{puerto_monitor}} -v -E {{ruta/al/archivo_ssh_log.log}} {{comando_ssh}}` diff --git a/pages.es/common/avo.md b/pages.es/common/avo.md new file mode 100644 index 00000000000000..a688c9567e4e3d --- /dev/null +++ b/pages.es/common/avo.md @@ -0,0 +1,36 @@ +# avo + +> La interfaz oficial de línea de comandos para Avo. +> Más información: . + +- Inicializa un espacio de trabajo en el directorio actual: + +`avo init` + +- Inicia sesión en la plataforma Avo: + +`avo login` + +- Cambia a una rama Avo existente: + +`avo checkout {{nombre_rama}}` + +- Extrae las envolturas analíticas de la ruta actual: + +`avo pull` + +- Muestra el estado de la implementación de Avo: + +`avo status` + +- Resuelve conflictos Git en archivos Avo: + +`avo conflict` + +- Abre el espacio de trabajo actual de Avo en el navegador web predeterminado: + +`avo edit` + +- Muestra la ayuda de un subcomando: + +`avo {{subcomando}} --help` diff --git a/pages.es/common/avrdude.md b/pages.es/common/avrdude.md new file mode 100644 index 00000000000000..1e0b3aaf4cf9bd --- /dev/null +++ b/pages.es/common/avrdude.md @@ -0,0 +1,20 @@ +# avrdude + +> Programa controlador para la programación de microcontroladores Atmel AVR. +> Más información: . + +- Lee el microcontrolador AVR: + +`avrdude -p {{AVR_dispositivo}} -c {{programador}} -U flash:r:{{file.hex}}:i` + +- Escribe el microcontrolador AVR: + +`avrdude -p {{AVR_dispositivo}} -c {{programador}} -U flash:w:{{file.hex}}` + +- Lista de dispositivos AVR disponibles: + +`avrdude -p \?` + +- Lista de programadores AVR disponibles: + +`avrdude -c \?` diff --git a/pages.es/common/awk.md b/pages.es/common/awk.md index 0ab802554c04de..6832536f5c4f6f 100644 --- a/pages.es/common/awk.md +++ b/pages.es/common/awk.md @@ -1,36 +1,36 @@ # awk -> Un lenguaje de programación versátil para trabajar con archivos. +> Un versátil lenguaje de programación para trabajar con archivos. > Más información: . -- Imprime la quinta columna (también conocido como campo) en un archivo separado por espacios: +- Imprime la quinta columna (también conocida como campo) de un archivo separado por espacios: -`awk '{print $5}' {{archivo}}` +`awk '{print $5}' {{ruta/al/archivo}}` -- Imprime la segunda columna de las líneas que contengan "algo" en un archivo separado por espacios: +- Imprime la segunda columna de las líneas que contienen "foo" en un archivo separado por espacios: -`awk '/{{algo}}/ {print $2}' {{archivo}}` +`awk '/{{foo}}/ {print $2}' {{ruta/al/archivo}}` -- Imprime la última columna de cada línea de un archivo, usando la coma (en vez de espacio) como separador de campo: +- Imprime la última columna de cada línea de un archivo, utilizando una coma (en lugar de un espacio) como separador de campos: -`awk -F ',' '{print $NF}' {{archivo}}` +`awk -F ',' '{print $NF}' {{ruta/al/archivo}}` -- Suma los valores en de la primera columna de un archivo e imprime el total: +- Suma los valores de la primera columna de un fichero e imprime el total: -`awk '{s+=$1} END {print s}' {{archivo}}` +`awk '{s+=$1} END {print s}' {{ruta/al/archivo}}` -- Suma los valores en de la primera columna de un archivo e imprime el total de froma bonita: +- Imprime una de cada tres líneas a partir de la primera: -`awk '{s+=$1; print $1} END {print "--------"; print s}' {{archivo}}` +`awk 'NR%3==1' {{ruta/al/archivo}}` -- Imprime cada tres líneas, empezando por la primera: +- Imprime diferentes valores basados en condiciones: -`awk 'NR%3==1' {{archivo}}` +`awk '{if ($1 == "foo") print "Coincidencia exacta foo"; else if ($1 ~ "bar") print "Coincidencia parcial bar"; else print "Baz"}' {{ruta/al/archivo}}` -- Imprime todos los valores desde la tercera columna: +- Imprime todas las líneas en las que el valor de la 10ª columna está entre un mínimo y un máximo: -`awk '{for (i=3; i <= NF; i++) printf $i""FS; print""}' {{archivo}}` +`awk '($10 >= {{valor_mínimo}} && $10 <= {{valor_máximo}})'` -- Imprime diferentes valores dependiendo de condiciones: +- Imprime tabla de usuarios con UID >=1000 con cabecera y salida formateada, usando dos puntos como separador (`%-20s` significa: 20 caracteres de cadena alineados a la izquierda, `%6s` significa: 6 caracteres de cadena alineados a la derecha): -`awk '{if ($1 == "foo") print "Coincidencia completa foo"; else if ($1 ~ "bar") print "Coincidencia parcial bar"; else print "Baz"}' {{archivo}}` +`awk 'BEGIN {FS=":";printf "%-20s %6s %25s\n", "Name", "UID", "Shell"} $4 >= 1000 {printf "%-20s %6d %25s\n", $1, $4, $7}' /etc/passwd` diff --git a/pages.es/common/aws-accessanalyzer.md b/pages.es/common/aws-accessanalyzer.md new file mode 100644 index 00000000000000..f5c32d0c6a8265 --- /dev/null +++ b/pages.es/common/aws-accessanalyzer.md @@ -0,0 +1,36 @@ +# aws accessanalyzer + +> Analiza y revisa las políticas de recursos para identificar posibles riesgos de seguridad. +> Más información: . + +- Crea un nuevo Access Analyzer: + +`aws accessanalyzer create-analyzer --analyzer-name {{nombre_analizador}} --type {{tipo}} --tags {{etiquetas}}` + +- Elimina un analizador de acceso existente: + +`aws accessanalyzer delete-analyzer --analyzer-arn {{analizador_arn}}` + +- Obtiene detalles de un analizador de acceso específico: + +`aws accessanalyzer get-analyzer --analyzer-arn {{analizador_arn}}` + +- Lista todos los analizadores de acceso: + +`aws accessanalyzer list-analyzers` + +- Actualiza la configuración de un analizador de acceso: + +`aws accessanalyzer update-analyzer --analyzer-arn {{analizador_arn}} --tags {{nuevas_etiquetas}}` + +- Crea una nueva regla de archivo de Access Analyzer: + +`aws accessanalyzer create-archive-rule --analyzer-arn {{analizador_arn}} --rule-name {{nombre_regla}} --filter {{filtro}}` + +- Elimina una regla de archivo de Access Analyzer: + +`aws accessanalyzer delete-archive-rule --analyzer-arn {{analizador_arn}} --rule-name {{nombre_regla}}` + +- Lista todas las reglas de archivo de Access Analyzer: + +`aws accessanalyzer list-archive-rules --analyzer-arn {{analizador_arn}}` diff --git a/pages.es/common/aws-acm.md b/pages.es/common/aws-acm.md new file mode 100644 index 00000000000000..c57de66d4ee394 --- /dev/null +++ b/pages.es/common/aws-acm.md @@ -0,0 +1,36 @@ +# aws acm + +> AWS Certificate Manager. +> Más información: . + +- Importa un certificado: + +`aws acm import-certificate --certificate-arn {{certificado_arn}} --certificate {{certificado}} --private-key {{clave_privada}} --certificate-chain {{certificado_cadena}}` + +- Lista certificados: + +`aws acm list-certificates` + +- Describe un certificado: + +`aws acm describe-certificate --certificate-arn {{certificado_arn}}` + +- Solicita un certificado: + +`aws acm request-certificate --domain-name {{nombre_dominio}} --validation-method {{método_de_validación}}` + +- Elimina un certificado: + +`aws acm delete-certificate --certificate-arn {{certificate_arn}}` + +- Lista validaciones de certificados: + +`aws acm list-certificates --certificate-statuses {{estado}}` + +- Obtén detalles del certificado: + +`aws acm get-certificate --certificate-arn {{certificado_arn}}` + +- Actualiza las opciones del certificado: + +`aws acm update-certificate-options --certificate-arn {{certificado_arn}} --options {{opciones}}` diff --git a/pages.es/common/aws-amplify.md b/pages.es/common/aws-amplify.md new file mode 100644 index 00000000000000..374f5957f63030 --- /dev/null +++ b/pages.es/common/aws-amplify.md @@ -0,0 +1,36 @@ +# aws amplify + +> Plataforma de desarrollo para crear aplicaciones móviles y web seguras y escalables. +> Más información: . + +- Crea una nueva aplicación Amplify: + +`aws amplify create-app --name {{nombre_de_la_app}} --description {{descripción}} --repository {{url_repositorio}} --platform {{plataforma}} --environment-variables {{variables_de_entorno}} --tags {{etiquetas}}` + +- Elimina una aplicación Amplify existente: + +`aws amplify delete-app --app-id {{id_aplicación}}` + +- Obtiene detalles de una aplicación Amplify determinada: + +`aws amplify get-app --app-id {{id_aplicación}}` + +- Lista todas las aplicaciones de Amplify: + +`aws amplify list-apps` + +- Actualiza la configuración de una aplicación Amplify: + +`aws amplify update-app --app-id {{id_aplicación}} --name {{nuevo_nombre}} --description {{nueva_descripción}} --repository {{nuevo_url_repositorio}} --environment-variables {{variables_nuevo_entorno}} --tags {{nuevas_etiquetas}}` + +- Añade un nuevo entorno backend a una aplicación Amplify: + +`aws amplify create-backend-environment --app-id {{id_aplicación}} --environment-name {{nombre_del_entorno}} --deployment-artifacts {{artefactos}}` + +- Elimina un entorno backend de una aplicación Amplify: + +`aws amplify delete-backend-environment --app-id {{id_aplicación}} --environment-name {{nombre_del_entorno}}` + +- Lista todos los entornos backend de una aplicación Amplify: + +`aws amplify list-backend-environments --app-id {{id_aplicación}}` diff --git a/pages.es/common/aws-ce.md b/pages.es/common/aws-ce.md new file mode 100644 index 00000000000000..4a46c27a6a460a --- /dev/null +++ b/pages.es/common/aws-ce.md @@ -0,0 +1,36 @@ +# aws ce + +> Ejecuta operaciones de gestión de costos a través del servicio AWS Cost Explorer. +> Más información: . + +- Crea monitor de anomalías: + +`aws ce create-anomaly-monitor --monitor {{nombre_monitor}} --monitor-type {{tipo_monitor}}` + +- Crea suscripción de anomalías: + +`aws ce create-anomaly-subscription --subscription {{nombre_de_suscripción}} --monitor-arn {{monitor_arn}} --subscribers {{suscriptores}}` + +- Obtiene anomalías: + +`aws ce get-anomalies --monitor-arn {{monitor_arn}} --start-time {{hora_de_inicio}} --end-time {{hora_final}}` + +- Obtiene coste y uso: + +`aws ce get-cost-and-usage --time-period {{fecha_inicio}}/{{fecha_final}} --granularity {{granularidad}} --metrics {{métricas}}` + +- Obtiene previsión de costes: + +`aws ce get-cost-forecast --time-period {{fecha_inicio}}/{{fecha_final}} --granularity {{granularidad}} --metric {{métrica}}` + +- Obtiene la utilización de la reserva: + +`aws ce get-reservation-utilization --time-period {{fecha_inicio}}/{{fecha_final}} --granularity {{granularidad}}` + +- Lista de definiciones de categorías de costes: + +`aws ce list-cost-category-definitions` + +- Recurso de etiquetas: + +`aws ce tag-resource --resource-arn {{recurso_arn}} --tags {{etiquetas}}` diff --git a/pages.es/common/aws-codecommit.md b/pages.es/common/aws-codecommit.md new file mode 100644 index 00000000000000..37966fce94aee4 --- /dev/null +++ b/pages.es/common/aws-codecommit.md @@ -0,0 +1,12 @@ +# aws codecommit + +> Un servicio de control de versión capaz de alojar repositorios de Git privados. +> Más información: . + +- Muestra ayuda: + +`aws codecommit help` + +- Muestra ayuda de un comando: + +`aws codecommit {{comando}} help` diff --git a/pages.es/common/aws-cognito-idp.md b/pages.es/common/aws-cognito-idp.md new file mode 100644 index 00000000000000..ca39833b1ca482 --- /dev/null +++ b/pages.es/common/aws-cognito-idp.md @@ -0,0 +1,28 @@ +# aws cognito-idp + +> Administra el grupo de usuarios de Amazon Cognito y sus usuarios y grupos utilizando la CLI. +> Más información: . + +- Crea un nuevo grupo de usuarios de Cognito: + +`aws cognito-idp create-user-pool --pool-name {{nombre}}` + +- Lista todos los grupos de usuarios: + +`aws cognito-idp list-user-pools --max-results {{10}}` + +- Elimina un grupo de usuarios específico: + +`aws cognito-idp delete-user-pool --user-pool-id {{identificador_de_pool}}` + +- Crea un usuario en un grupo específico: + +`aws cognito-idp admin-create-user --username {{usuario}} --user-pool-id {{identificador_de_pool}}` + +- Lista los usuarios de un pool específico: + +`aws cognito-idp list-users --user-pool-id {{identificador_de_pool}}` + +- Elimina un usuario de un grupo específico: + +`aws cognito-idp admin-delete-user --username {{usuario}} --user-pool-id {{identificador_de_pool}}` diff --git a/pages.es/common/aws-configure.md b/pages.es/common/aws-configure.md new file mode 100644 index 00000000000000..0ff7167c981b2d --- /dev/null +++ b/pages.es/common/aws-configure.md @@ -0,0 +1,36 @@ +# aws configure + +> Gestiona la configuración para la CLI de AWS. +> Más información: . + +- Configura AWS CLI interactivamente (crea una nueva configuración o actualiza la predeterminada): + +`aws configure` + +- Configura un perfil con nombre para la CLI de AWS de forma interactiva (crea un perfil nuevo o actualiza uno existente): + +`aws configure --profile {{nombre_del_perfil}}` + +- Muestra el valor de una variable de configuración específica: + +`aws configure get {{nombre}}` + +- Muestra el valor de una variable de configuración en un perfil específico: + +`aws configure get {{nombre}} --profile {{nombre_del_perfil}}` + +- Establece el valor de una variable de configuración específica: + +`aws configure set {{nombre}} {{valor}}` + +- Establece el valor de una variable de configuración en un perfil específico: + +`aws configure set {{nombre}} {{valor}} --profile {{nombre_del_perfil}}` + +- Lista las entradas de configuración: + +`aws configure list` + +- Lista las entradas de configuración para un perfil específico: + +`aws configure list --profile {{nombre_del_perfil}}` diff --git a/pages.es/common/aws-cur.md b/pages.es/common/aws-cur.md new file mode 100644 index 00000000000000..46e7ccf6663ff3 --- /dev/null +++ b/pages.es/common/aws-cur.md @@ -0,0 +1,16 @@ +# aws cur + +> Crea, solicita y elimina definiciones de informes de uso de AWS. +> Más información: . + +- Crea una definición de informe de costes y uso de AWS a partir de un archivo JSON: + +`aws cur put-report-definition --report-definition file://{{ruta/al/report_definition.json}}` + +- Enumera las definiciones de informes de uso definidas para la cuenta conectada: + +`aws cur describe-report-definitions` + +- Elimina una definición de informe de uso: + +`aws cur --region {{aws_region}} delete-report-definition --report-name {{report}}` diff --git a/pages.es/common/aws-ec2.md b/pages.es/common/aws-ec2.md new file mode 100644 index 00000000000000..2c08fb0062466f --- /dev/null +++ b/pages.es/common/aws-ec2.md @@ -0,0 +1,37 @@ +# 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: . + +- Muestra información acerca de una instancia específica: + +`aws ec2 describe-instances --instance-ids {{identificador_de_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 {{identificador_de_volumen}}` + +- Crea una instantánea a partir de un volumen EC2: + +`aws ec2 create-snapshot --volume-id {{identificador_de_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` diff --git a/pages.es/common/aws-glue.md b/pages.es/common/aws-glue.md new file mode 100644 index 00000000000000..7c4dea0ee4168d --- /dev/null +++ b/pages.es/common/aws-glue.md @@ -0,0 +1,29 @@ +# aws glue + +> CLI para AWS Glue. +> Define el punto de enlace público para el servicio AWS Glue. +> Más información: . + +- Lista trabajos: + +`aws glue list-jobs` + +- Inicia un trabajo: + +`aws glue start-job-run --job-name {{nombre_del_trabajo}}` + +- Inicia la ejecución de un flujo de trabajo: + +`aws glue start-workflow-run --name {{nombre_del_flujo}}` + +- Lista disparadores: + +`aws glue list-triggers` + +- Inicia un disparador: + +`aws glue start-trigger --name {{nombre_disparador}}` + +- Crea un punto final de desarrollo: + +`aws glue create-dev-endpoint --endpoint-name {{nombre}} --role-arn {{role_arn_usado_por_puntofinal}}` diff --git a/pages.es/common/aws-google-auth.md b/pages.es/common/aws-google-auth.md new file mode 100644 index 00000000000000..3b94cebf7d30bd --- /dev/null +++ b/pages.es/common/aws-google-auth.md @@ -0,0 +1,20 @@ +# aws-google-auth + +> Herramienta de línea de comandos para adquirir credenciales temporales de AWS (STS) utilizando Google Apps como proveedor federado (Single Sign-On). +> Más información: . + +- Inicia sesión con Google SSO utilizando los identificadores IDP y SP y establece la duración de las credenciales en una hora: + +`aws-google-auth {{[-u|--username]}} {{ejemplo@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}}` + +- Inicia sesión preguntando qué rol usar (en caso de varios roles disponibles SAML): + +`aws-google-auth {{[-u|--username]}} {{ejemplo@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}} {{[-a|--ask-role]}}` + +- Resuelve alias para cuentas AWS: + +`aws-google-auth {{[-u|--username]}} {{ejemplo@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}} {{[-a|--ask-role]}} --resolve-aliases` + +- Muestra información de ayuda: + +`aws-google-auth {{[-h|--help]}}` diff --git a/pages.es/common/aws-help.md b/pages.es/common/aws-help.md new file mode 100644 index 00000000000000..61a4715eba7466 --- /dev/null +++ b/pages.es/common/aws-help.md @@ -0,0 +1,16 @@ +# aws help + +> Muestra información de ayuda sobre la CLI de AWS. +> Más información: . + +- Muestra la ayuda: + +`aws help` + +- Lista todos los temas disponibles: + +`aws help topics` + +- Muestra ayuda sobre un tema específico: + +`aws help {{nombre_tema}}` diff --git a/pages.es/common/aws-iam.md b/pages.es/common/aws-iam.md new file mode 100644 index 00000000000000..5dc810ff2c2eaf --- /dev/null +++ b/pages.es/common/aws-iam.md @@ -0,0 +1,36 @@ +# aws iam + +> Interactúa con el Manejo de Identidad y Acceso (o "IAM" en inglés), un servicio web para controlar seguramente el acceso a servicios de AWS. +> Más información: . + +- Lista usuarios: + +`aws iam list-users` + +- Lista políticas: + +`aws iam list-policies` + +- Lista grupos: + +`aws iam list-groups` + +- Obtén los usuarios en un grupo: + +`aws iam get-group --group-name {{nombre_del_grupo}}` + +- Describe una política IAM: + +`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{nombre_de_política}}` + +- Lista claves de acceso: + +`aws iam list-access-keys` + +- Lista claves de acceso para un usuario específico: + +`aws iam list-access-keys --user-name {{usuario}}` + +- Muestra ayuda: + +`aws iam help` diff --git a/pages.es/common/aws-kendra.md b/pages.es/common/aws-kendra.md new file mode 100644 index 00000000000000..e92c604832fb57 --- /dev/null +++ b/pages.es/common/aws-kendra.md @@ -0,0 +1,28 @@ +# aws kendra + +> CLI para AWS Kendra. +> Más información: . + +- Crea un índice: + +`aws kendra create-index --name {{nombre}} --role-arn {{rol_arn}}` + +- Lista índices: + +`aws kendra list-indexes` + +- Describe un índice: + +`aws kendra describe-index --id {{id_índice}}` + +- Lista fuentes de datos: + +`aws kendra list-data-sources` + +- Describe una fuente de datos: + +`aws kendra describe-data-source --id {{id_fuente_datos}}` + +- Lista consultas de búsqueda: + +`aws kendra list-query-suggestions --index-id {{id_índice}} --query-text {{texto_consulta}}` diff --git a/pages.es/common/aws-kinesis.md b/pages.es/common/aws-kinesis.md new file mode 100644 index 00000000000000..1b730bfe9b8dad --- /dev/null +++ b/pages.es/common/aws-kinesis.md @@ -0,0 +1,28 @@ +# aws kinesis + +> CLI oficial de AWS para los servicios de streaming de datos de Amazon Kinesis. +> Más información: . + +- Muestra todos los streams de la cuenta: + +`aws kinesis list-streams` + +- Escribe un registro en un flujo de Kinesis: + +`aws kinesis put-record --stream-name {{nombre}} --partition-key {{clave}} --data {{base64_encoded_message}}` + +- Escribe un registro en un flujo Kinesis con codificación base64 en línea: + +`aws kinesis put-record --stream-name {{nombre}} --partition-key {{clave}} --data "$( echo "{{my raw message}}" | base64 )"` + +- Lista los fragmentos disponibles en un flujo: + +`aws kinesis list-shards --stream-name {{nombre}}` + +- Obtén un iterador de fragmentos para leer el mensaje más antiguo de un fragmento de flujo: + +`aws kinesis get-shard-iterator --shard-iterator-type TRIM_HORIZON --stream-name {{nombre}} --shard-id {{id}}` + +- Lee registros de un fragmento utilizando un iterador de fragmento: + +`aws kinesis get-records --shard-iterator {{iterador}}` diff --git a/pages.es/common/aws-pricing.md b/pages.es/common/aws-pricing.md new file mode 100644 index 00000000000000..cfbe9432194f72 --- /dev/null +++ b/pages.es/common/aws-pricing.md @@ -0,0 +1,24 @@ +# aws pricing + +> Consulta servicios, productos e información de precios de Amazon Web Services. +> Más información: . + +- Lista códigos de servicio de una región específica: + +`aws pricing describe-services --region {{us-east-1}}` + +- Lista atributos para un código de servicio dado en una región específica: + +`aws pricing describe-services --service-code {{AmazonEC2}} --region {{us-east-1}}` + +- Imprime información de precios para un código de servicio en una región específica: + +`aws pricing get-products --service-code {{AmazonEC2}} --region {{us-east-1}}` + +- Lista valores para un atributo específico para un código de servicio en una región específica: + +`aws pricing get-attribute-values --service-code {{AmazonEC2}} --attribute-name {{instanceType}} --region {{us-east-1}}` + +- Imprime información de precios para un código de servicio usando filtros por tipo de instancia y ubicación: + +`aws pricing get-products --service-code {{AmazonEC2}} --filters "{{Type=TERM_MATCH,Field=instanceType,Value=m5.xlarge}}" "{{Type=TERM_MATCH,Field=location,Value=US East (N. Virginia)}}" --region {{us-east-1}}` diff --git a/pages.es/common/aws-rds.md b/pages.es/common/aws-rds.md new file mode 100644 index 00000000000000..bbb7ae8abab083 --- /dev/null +++ b/pages.es/common/aws-rds.md @@ -0,0 +1,37 @@ +# aws rds + +> CLI para AWS Relational Database Service. +> Crea y administra bases de datos relacionales. +> Más información: . + +- Muestra ayuda para subcomando RDS específicos: + +`aws rds {{subcommand}} help` + +- Detiene instancia: + +`aws rds stop-db-instance --db-instance-identifier {{identificador_de_instancia}}` + +- Inicia instancia: + +`aws rds start-db-instance --db-instance-identifier {{identificador_de_instancia}}` + +- Modifica una instancia RDS: + +`aws rds modify-db-instance --db-instance-identifier {{identificador_de_instancia}} {{parametros}} --apply-immediately` + +- Aplica actualizaciones a una instancia RDS: + +`aws rds apply-pending-maintenance-action --resource-identifier {{database_arn}} --apply-action {{system-update}} --opt-in-type {{immediate}}` + +- Modifica un identificador de instancia: + +`aws rds modify-db-instance --db-instance-identifier {{antiguo_identificador_instancia}} --new-db-instance-identifier {{nuevo_identificador_instancia}}` + +- Reinicia una instancia: + +`aws rds reboot-db-instance --db-instance-identifier {{identificador_de_instancia}}` + +- Elimina una instancia: + +`aws rds delete-db-instance --db-instance-identifier {{identificador_de_instancia}} --final-db-snapshot-identifier {{identificador_snapshot}} --delete-automated-backups` diff --git a/pages.es/common/aws-route53.md b/pages.es/common/aws-route53.md new file mode 100644 index 00000000000000..07f6797da247a7 --- /dev/null +++ b/pages.es/common/aws-route53.md @@ -0,0 +1,24 @@ +# aws route53 + +> CLI para AWS Route53 - Route 53 es un servicio web de Sistema de Nombres de Dominio (DNS) altamente disponible y escalable. +> Más información: . + +- Lista todas las zonas alojadas, privadas y públicas: + +`aws route53 list-hosted-zones` + +- Muestra todos los registros de una zona: + +`aws route53 list-resource-record-sets --hosted-zone-id {{identificador_de_zona}}` + +- Crea una nueva zona pública utilizando un identificador de solicitud para reintentar la operación de forma segura: + +`aws route53 create-hosted-zone --name {{nombre}} --caller-reference {{identificador_de_solicitud}}` + +- Elimina una zona (si la zona tiene registros SOA y NS no predeterminados, el comando fallará): + +`aws route53 delete-hosted-zone --id {{identificador_de_zona}}` + +- Prueba la resolución DNS por parte de los servidores de Amazon de una zona determinada: + +`aws route53 test-dns-answer --hosted-zone-id {{identificador_de_zona}} --record-name {{nombre}} --record-type {{tipo}}` diff --git a/pages.es/common/aws-s3-cp.md b/pages.es/common/aws-s3-cp.md new file mode 100644 index 00000000000000..cc42db1bab8234 --- /dev/null +++ b/pages.es/common/aws-s3-cp.md @@ -0,0 +1,24 @@ +# aws s3 cp + +> Copia archivos locales u objetos de S3 a otra ubicación, ya sea local o en S3. +> Más información: . + +- Copia un archivo local a un bucket específico: + +`aws s3 cp {{ruta/al/archivo}} s3://{{nombre_bucket}}/{{ruta/al/archivo_remoto}}` + +- Copia un objeto específico de S3 a otro bucket: + +`aws s3 cp s3://{{nombre_bucket1}}/{{ruta/al/archivo}} s3://{{nombre_bucket2}}/{{ruta/de/destino}}` + +- Copia un objeto específico de S3 a otro bucket manteniendo el nombre original: + +`aws s3 cp s3://{{nombre_bucket1}}/{{ruta/al/archivo}} s3://{{nombre_bucket2}}` + +- Copia objetos de S3 a un directorio local de forma recursiva: + +`aws s3 cp s3://{{nombre_bucket}} . --recursive` + +- Muestra la ayuda: + +`aws s3 cp help` diff --git a/pages.es/common/axel.md b/pages.es/common/axel.md new file mode 100644 index 00000000000000..bb756fbc08ab8b --- /dev/null +++ b/pages.es/common/axel.md @@ -0,0 +1,25 @@ +# axel + +> Acelerador de descargas. +> Protocolos soportados HTTP, HTTPS y FTP. +> Más información: . + +- Descarga un archivo alojado en una URL: + +`axel {{url}}` + +- Descarga y especifica un nombre de archivo: + +`axel {{url}} -o {{ruta/al/archivo}}` + +- Descarga con múltiples conexiones: + +`axel -n {{num_conexiones}} {{url}}` + +- Busca copias espejo: + +`axel -S {{num_de_espejos}} {{url}}` + +- Limita la velocidad de descarga (bytes por segundo): + +`axel -s {{velocidad}} {{url}}` diff --git a/pages.es/common/az-account.md b/pages.es/common/az-account.md new file mode 100644 index 00000000000000..51de18d9dd87f2 --- /dev/null +++ b/pages.es/common/az-account.md @@ -0,0 +1,25 @@ +# az account + +> Administra la información de una suscripción de Azure. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Lista las suscripciones de la cuenta activa: + +`az account list` + +- Establece una `subscription` como la suscripción activa: + +`az account set --subscription {{identificador_de_suscripción}}` + +- Lista las regiones admitidas para la suscripción activa: + +`az account list-locations` + +- Imprime un token de acceso para usar con la `MS Graph API`: + +`az account get-access-token --resource-type {{ms-graph}}` + +- Imprime los detalles de la suscripción activa actual en un formato específico: + +`az account show --output {{json|tsv|table|yaml}}` diff --git a/pages.es/common/az-apim.md b/pages.es/common/az-apim.md new file mode 100644 index 00000000000000..b6a517782c3408 --- /dev/null +++ b/pages.es/common/az-apim.md @@ -0,0 +1,25 @@ +# az apim + +> Administra los servicios de Azure API Management. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Enumera las instancias del servicio API Management: + +`az apim list --resource-group {{grupo_de_recursos}}` + +- Crea una instancia de servicio de API Management: + +`az apim create --name {{nombre}} --resource-group {{grupo_de_recursos}} --publisher-email {{email}} --publisher-name {{name}}` + +- Elimina una instancia del servicio de API Management: + +`az apim delete --name {{nombre}} --resource-group {{grupo_de_recursos}}` + +- Muestra detalles de una instancia del servicio de API Management: + +`az apim show --name {{nombre}} --resource-group {{grupo_de_recursos}}` + +- Actualiza una instancia del servicio API Management: + +`az apim update --name {{nombre}} --resource-group {{grupo_de_recursos}}` diff --git a/pages.es/common/az-appconfig.md b/pages.es/common/az-appconfig.md new file mode 100644 index 00000000000000..909cfc3e942d5e --- /dev/null +++ b/pages.es/common/az-appconfig.md @@ -0,0 +1,29 @@ +# az appconfig + +> Administra las configuraciones de aplicaciones en Azure. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Crea una configuración de aplicación: + +`az appconfig create --name {{nombre}} --resource-group {{grupo_de_recursos}} --location {{ubicación}}` + +- Elimina una configuración de aplicación específica: + +`az appconfig delete --resource-group {{grupo_de_recursos}} --name {{nombre_de_configuración}}` + +- Lista todas las configuraciones de aplicaciones bajo la suscripción actual: + +`az appconfig list` + +- Lista todas las configuraciones de aplicaciones bajo un grupo de recursos específico: + +`az appconfig list --resource-group {{grupo_de_recursos}}` + +- Muestra las propiedades de una configuración de aplicación: + +`az appconfig show --name {{nombre_de_configuración}}` + +- Actualiza una configuración de aplicación específica: + +`az appconfig update --resource-group {{grupo_de_recursos}} --name {{nombre_de_configuración}}` diff --git a/pages.es/common/az-bicep.md b/pages.es/common/az-bicep.md new file mode 100644 index 00000000000000..0f5f2cdd3a2923 --- /dev/null +++ b/pages.es/common/az-bicep.md @@ -0,0 +1,33 @@ +# az bicep + +> Grupo de comandos de la CLI de Bicep. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Instala la CLI de Bicep: + +`az bicep install` + +- Crea un archivo de Bicep: + +`az bicep build --file {{ruta/al/archivo.bicep}}` + +- Intenta descompilar un archivo de plantilla ARM a un archivo de Bicep: + +`az bicep decompile --file {{ruta/al/archivo_plantilla.json}}` + +- Actualiza la CLI de Bicep a la última versión: + +`az bicep upgrade` + +- Muestra la versión instalada de la CLI de Bicep: + +`az bicep version` + +- Lista todas las versiones disponibles de la CLI de Bicep: + +`az bicep list-versions` + +- Desinstala la CLI de Bicep: + +`az bicep uninstall` diff --git a/pages.es/common/az-config.md b/pages.es/common/az-config.md new file mode 100644 index 00000000000000..95321a016ce3ed --- /dev/null +++ b/pages.es/common/az-config.md @@ -0,0 +1,21 @@ +# az config + +> Administra la configuración de Azure CLI. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Muestra todas las configuraciones: + +`az config get` + +- Muestra las configuraciones para una sección específica: + +`az config get {{nombre_de_sección}}` + +- Establece una configuración: + +`az config set {{nombre_de_configuración}}={{valor}}` + +- Elimina una configuración: + +`az config unset {{nombre_de_configuración}}` diff --git a/pages.es/common/az-container.md b/pages.es/common/az-container.md new file mode 100644 index 00000000000000..98d81f374f23c7 --- /dev/null +++ b/pages.es/common/az-container.md @@ -0,0 +1,33 @@ +# az container + +> Administra instancias de Azure Container. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Crea un contenedor en un grupo de contenedores: + +`az container create {{[-g|--resource-group]}} {{grupo_de_recursos}} {{[-n|--name]}} {{nombre}} --image {{nombre_de_la_imagen}} {{[-os|--os-type]}} {{windows|linux}} --cpu {{número_de_núcleos_del_CPU}} --memory {{capacidad_de_memoria_en_GB}}` + +- Ejecuta un comando desde un contenedor en ejecución dentro de un grupo de contenedores: + +`az container exec {{[-g|--resource-group]}} {{grupo_de_recursos}} {{[-n|--name]}} {{nombre_del_grupo_de_contenedores}} --exec-command "{{comando}}"` + +- Examina los registros de un contenedor en un grupo de contenedores: + +`az container logs {{[-n|--name]}} {{nombre}} {{[-g|--resource-group]}} {{grupo_de_recursos}}` + +- Visualiza los detalles de un grupo de contenedores: + +`az container show {{[-n|--name]}} {{nombre}} {{[-g|--resource-group]}} {{grupo_de_recursos}}` + +- Inicia todos los contenedores de un grupo de contenedores: + +`az container start {{[-n|--name]}} {{nombre}} {{[-g|--resource-group]}} {{grupo_de_recursos}}` + +- Detiene todos los contenedores de un grupo de contenedores: + +`az container stop {{[-n|--name]}} {{nombre}} {{[-g|--resource-group]}} {{grupo_de_recursos}}` + +- Elimina un grupo de contenedores: + +`az container delete {{[-n|--name]}} {{nombre}} {{[-g|--resource-group]}} {{grupo_de_recursos}}` diff --git a/pages.es/common/az-devops.md b/pages.es/common/az-devops.md new file mode 100644 index 00000000000000..5d9b6bec5f95fb --- /dev/null +++ b/pages.es/common/az-devops.md @@ -0,0 +1,25 @@ +# az devops + +> Administra organizaciones de Azure DevOps. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Configura el Token de Acceso Personal (PAT) para iniciar sesión en una organización específica: + +`az devops login --organization {{url_de_la_organización}}` + +- Abre un proyecto en el navegador: + +`az devops project show --project {{nombre_de_proyecto}} --open` + +- Lista los miembros de un equipo específico que trabaja en un proyecto en particular: + +`az devops team list-member --project {{nombre_de_proyecto}} --team {{nombre_de_equipo}}` + +- Comprueba la configuración actual de la CLI de Azure DevOps: + +`az devops configure --list` + +- Configura el comportamiento de la CLI de Azure DevOps estableciendo un proyecto predeterminado y una organización predeterminada: + +`az devops configure --defaults project={{nombre_de_proyecto}} organization={{url_de_la_organización}}` diff --git a/pages.es/common/az-feedback.md b/pages.es/common/az-feedback.md new file mode 100644 index 00000000000000..882969dbc0568e --- /dev/null +++ b/pages.es/common/az-feedback.md @@ -0,0 +1,9 @@ +# az feedback + +> Envía comentarios al equipo de Azure CLI. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Envía comentarios al equipo de Azure CLI: + +`az feedback` diff --git a/pages.es/common/az-group.md b/pages.es/common/az-group.md new file mode 100644 index 00000000000000..d583ef892cc1e7 --- /dev/null +++ b/pages.es/common/az-group.md @@ -0,0 +1,21 @@ +# az group + +> Administra grupos de recursos e implementaciones de plantillas. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Crea un nuevo grupo de recursos: + +`az group create --name {{nombre}} --location {{ubicación}}` + +- Comprueba si existe un grupo de recursos: + +`az group exists --name {{nombre}}` + +- Elimina un grupo de recursos: + +`az group delete --name {{nombre}}` + +- Coloca un grupo de recursos en estado de espera hasta que se cumpla una condición: + +`az group wait --name {{nombre}} --{{created|deleted|exists|updated}}` diff --git a/pages.es/common/az-logout.md b/pages.es/common/az-logout.md new file mode 100644 index 00000000000000..1ab7fd92cbf1a8 --- /dev/null +++ b/pages.es/common/az-logout.md @@ -0,0 +1,13 @@ +# az logout + +> Cierra la sesión de una suscripción de Azure. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Cierra la sesión de la cuenta activa: + +`az logout` + +- Cierra la sesión de un nombre de usuario específico: + +`az logout --username {{alias@somedomain.com}}` diff --git a/pages.es/common/az-sshkey.md b/pages.es/common/az-sshkey.md new file mode 100644 index 00000000000000..a673e98dd793e8 --- /dev/null +++ b/pages.es/common/az-sshkey.md @@ -0,0 +1,21 @@ +# az sshkey + +> Administra claves públicas SSH con máquinas virtuales. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Crea una nueva clave SSH: + +`az sshkey create --name {{nombre}} --resource-group {{grupo_de_recursos}}` + +- Sube una clave SSH existente: + +`az sshkey create --name {{nombre}} --resource-group {{grupo_de_recursos}} --public-key "{{@ruta/de/llave.pub}}"` + +- Lista todas las claves públicas SSH: + +`az sshkey list` + +- Muestra información sobre una clave pública SSH: + +`az sshkey show --name {{nombre}} --resource-group {{grupo_de_recursos}}` diff --git a/pages.es/common/az-storage.md b/pages.es/common/az-storage.md new file mode 100644 index 00000000000000..0a00eb691639b1 --- /dev/null +++ b/pages.es/common/az-storage.md @@ -0,0 +1,25 @@ +# az storage + +> Administra los recursos de Azure Cloud Storage. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Crea una cuenta de almacenamiento: + +`az storage account create --resource-group {{grupo_de_recursos}} --name {{nombre_de_cuenta}} -l {{ubicación}} --sku {{account_sku}}` + +- Enumera todas las cuentas de almacenamiento de un grupo de recursos: + +`az storage account list --resource-group {{grupo_de_recursos}}` + +- Enumera las claves de acceso de una cuenta de almacenamiento: + +`az storage account keys list --resource-group {{grupo_de_recursos}} --name {{nombre_de_cuenta}}` + +- Elimina una cuenta de almacenamiento: + +`az storage account delete --resource-group {{grupo_de_recursos}} --name {{nombre_de_cuenta}}` + +- Actualiza la versión mínima de TLS para una cuenta de almacenamiento: + +`az storage account update --min-tls-version {{TLS1_0|TLS1_1|TLS1_2}} --resource-group {{grupo_de_recursos}} --name {{nombre_de_cuenta}}` diff --git a/pages.es/common/az-tag.md b/pages.es/common/az-tag.md new file mode 100644 index 00000000000000..38f15dfdcfb6aa --- /dev/null +++ b/pages.es/common/az-tag.md @@ -0,0 +1,25 @@ +# az tag + +> Administra etiquetas en un recurso de Azure. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Crea un valor de etiqueta: + +`az tag add-value --name {{nombre_de_etiqueta}} --value {{valor_de_etiqueta}}` + +- Crea una etiqueta en la suscripción: + +`az tag create --name {{nombre_de_etiqueta}}` + +- Elimina una etiqueta de la suscripción: + +`az tag delete --name {{nombre_de_etiqueta}}` + +- Enumera todas las etiquetas de una suscripción: + +`az tag list --resource-id /subscriptions/{{identificador_de_subscripción}}` + +- Elimina un valor de etiqueta para un nombre de etiqueta específico: + +`az tag remove-value --name {{nombre_de_etiqueta}} --value {{valor_de_etiqueta}}` diff --git a/pages.es/common/az-upgrade.md b/pages.es/common/az-upgrade.md new file mode 100644 index 00000000000000..e8287703113b79 --- /dev/null +++ b/pages.es/common/az-upgrade.md @@ -0,0 +1,17 @@ +# az upgrade + +> Actualiza Azure CLI y sus extensiones. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Actualiza Azure CLI: + +`az upgrade` + +- Actualiza Azure CLI y sus extensiones: + +`az upgrade --all` + +- Actualiza Azure CLI y sus extensiones sin solicitar confirmación: + +`az upgrade --all --yes` diff --git a/pages.es/common/az-vm.md b/pages.es/common/az-vm.md new file mode 100644 index 00000000000000..68572c7efee774 --- /dev/null +++ b/pages.es/common/az-vm.md @@ -0,0 +1,33 @@ +# az vm + +> Gestiona máquinas virtuales en Azure. +> Parte de `azure-cli` (también conocido como `az`). +> Más información: . + +- Muestra una tabla de Máquinas Virtuales disponibles: + +`az vm list --output table` + +- Crea una máquina virtual usando la imagen por defecto de Ubuntu y genera las claves SSH: + +`az vm create --resource-group {{rg}} --name {{nombre_vm}} --image {{UbuntuLTS}} --admin-user {{usuarioazure}} --generate-ssh-keys` + +- Detiene una Máquina Virtual: + +`az vm stop --resource-group {{rg}} --name {{nombre_de_la_máquina_virtual}}` + +- Desasigna una máquina virtual: + +`az vm deallocate --resource-group {{rg}} --name {{nombre_de_la_máquina virtual}}` + +- Inicia una Máquina Virtual: + +`az vm start --resource-group {{rg}} --name {{nombre_de_la_máquina_virtual}}` + +- Reinicia una Máquina Virtual: + +`az vm restart --resource-group {{rg}} --name {{nombre_de_la_máquina_virtual}}` + +- Lista de imágenes de máquinas virtuales disponibles en Azure Marketplace: + +`az vm image list` diff --git a/pages.es/common/az-webapp.md b/pages.es/common/az-webapp.md new file mode 100644 index 00000000000000..b481654517d4be --- /dev/null +++ b/pages.es/common/az-webapp.md @@ -0,0 +1,21 @@ +# az webapp + +> Administra aplicaciones web alojadas en Azure Cloud Services. +> Parte de `azure-cli` (también conocido como `az`).. +> Más información: . + +- Lista los entornos de ejecución disponibles para una aplicación web: + +`az webapp list-runtimes --os-type {{windows|linux}}` + +- Crea una aplicación web: + +`az webapp up --name {{nombre}} --location {{ubicación}} --runtime {{entorno_de_ejecución}}` + +- Lista todas las aplicaciones web: + +`az webapp list` + +- Elimina una aplicación web específica: + +`az webapp delete --name {{nombre}} --resource-group {{grupo_de_recursos}}` diff --git a/pages.es/common/az.md b/pages.es/common/az.md new file mode 100644 index 00000000000000..6c512f4c31b493 --- /dev/null +++ b/pages.es/common/az.md @@ -0,0 +1,37 @@ +# az + +> La herramienta CLI oficial para Microsoft Azure. +> Algunos subcomandos como `login` tienen su propia documentación de uso. +> Más información: . + +- Inicia sesión en Azure: + +`az login` + +- Gestiona la información de suscripción a azure: + +`az account` + +- Lista todos los discos gestionados de Azure: + +`az disk list` + +- Lista todas las máquinas virtuales de Azure: + +`az vm list` + +- Gestiona los servicios Azure Kubernetes: + +`az aks` + +- Gestiona los recursos de red de Azure: + +`az network` + +- Inicia en modo interactivo: + +`az interactive` + +- Muestra ayuda: + +`az --help` diff --git a/pages.es/common/azure-cli.md b/pages.es/common/azure-cli.md new file mode 100644 index 00000000000000..88e68855f1e15a --- /dev/null +++ b/pages.es/common/azure-cli.md @@ -0,0 +1,7 @@ +# azure-cli + +> Este comando es un alias de `az`. + +- Vea la documentación del comando original: + +`tldr az` diff --git a/pages.es/common/b2.md b/pages.es/common/b2.md new file mode 100644 index 00000000000000..8979c952c6616d --- /dev/null +++ b/pages.es/common/b2.md @@ -0,0 +1,36 @@ +# b2 + +> Accede fácilmente a todas las funciones de Backblaze B2 Cloud Storage. +> Más información: . + +- Accede a tu cuenta: + +`b2 authorize_account {{clave_id}}` + +- Lista los buckets existentes en tu cuenta: + +`b2 list_buckets` + +- Crea un cubo, indica el nombre del cubo y el tipo de acceso (por ejemplo, allPublic o allPrivate): + +`b2 create_bucket {{nombre_cubo}} {{allPublic|allPrivate}}` + +- Sube un archivo. Elige un archivo, un bucket y una carpeta: + +`b2 upload_file {{nombre_cubo}} {{ruta/a/archivo}} {{nombre_carpeta}}` + +- Sube un directorio de origen a un destino de Backblaze B2 bucket: + +`b2 sync {{ruta/al/archivo_de_origen}} {{nombre_del_cubo}}` + +- Copia un archivo de un bucket a otro bucket: + +`b2 copy-file-by-id {{ruta/al/archivo_de_origen}} {{nombre_cubo_destino}} {{ruta/a/archivo/b2}}` + +- Muestra los archivos de tu bucket: + +`b2 ls {{nombre_bucket}}` + +- Elimina una "carpeta" o un conjunto de archivos que coincidan con un patrón: + +`b2 rm {{ruta/a/carpeta|patrón}}` diff --git a/pages.es/common/b2sum.md b/pages.es/common/b2sum.md new file mode 100644 index 00000000000000..615816046690c5 --- /dev/null +++ b/pages.es/common/b2sum.md @@ -0,0 +1,32 @@ +# b2sum + +> Calcula sumas de comprobación criptográficas BLAKE2. +> Más información: . + +- Calcula la suma de comprobación BLAKE2 para uno o más archivos: + +`b2sum {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Calcula y guarda la lista de sumas de comprobación BLAKE2 en un archivo: + +`b2sum {{ruta/al/archivo1 ruta/al/archivo2 ...}} > {{ruta/al/archivo.b2}}` + +- Calcula una suma de comprobación BLAKE2 desde `stdin`: + +`{{comando}} | b2sum` + +- Lee un archivo de sumas de comprobación BLAKE2 y nombres de archivo y verifica que todos los archivos tengan sumas de comprobación coincidentes: + +`b2sum {{[-c|--check]}} {{path/to/file.b2}}` + +- Muestra solo un mensaje para los archivos que faltan o cuando falla la verificación: + +`b2sum {{[-c|--check]}} --quiet {{ruta/al/archivo.b2}}` + +- Muestra solo un mensaje cuando falle la verificación, ignorando los archivos que faltan: + +`b2sum --ignore-missing {{[-c|--check]}} --quiet {{ruta/al/archivo.b2}}` + +- Comprueba una suma de comprobación BLAKE2 conocida de un archivo: + +`echo {{suma_de_comprobación_blake2_conocida_del_archivo}} {{ruta/al/archivo}} | b2sum {{[-c|--check]}}` diff --git a/pages.es/common/bacon.md b/pages.es/common/bacon.md new file mode 100644 index 00000000000000..064e8992b52e1a --- /dev/null +++ b/pages.es/common/bacon.md @@ -0,0 +1,28 @@ +# bacon + +> Un verificador de código en segundo plano para Rust. +> Más información: . + +- Ejecuta `cargo check` cada vez que se detecta un cambio en el directorio actual: + +`bacon` + +- Ejecuta `cargo test` siempre que se detecte un cambio en el directorio dado: + +`bacon test {{ruta/a/directorio}}` + +- Ejecuta `cargo check` contra todos los objetivos siempre que se detecte un cambio en el directorio actual: + +`bacon check-all` + +- Ejecuta un trabajo específico cada vez que se detecta un cambio en el directorio actual: + +`bacon {{run|test|clippy|doc|...}}` + +- Lista todos los trabajos disponibles: + +`bacon --list-jobs` + +- Inicializa un archivo de configuración `bacon.toml` en el directorio actual: + +`bacon --init` diff --git a/pages.es/common/base32.md b/pages.es/common/base32.md new file mode 100644 index 00000000000000..4cabb7334e8ab5 --- /dev/null +++ b/pages.es/common/base32.md @@ -0,0 +1,24 @@ +# base32 + +> Codifica o decodifica un archivo o la entrada estandar hacia/desde Base32, a la salida estandar. +> Más información: . + +- Codifica un archivo: + +`base32 {{ruta/al/archivo}}` + +- Ajuste la salida codificada en un ancho específico (`0` deshabilita el ajuste): + +`base32 {{[-w|--wrap]}} {{0|76|...}} {{ruta/al/archivo}}` + +- Decodifica un archivo: + +`base32 {{[-d|--decode]}} {{ruta/al/archivo}}` + +- Codifica `stdin`: + +`{{comando}} | base32` + +- Decodifica `stdin`: + +`{{comando}} | base32 {{[-d|--decode]}}` diff --git a/pages.es/common/base64.md b/pages.es/common/base64.md index 5d47e25a28d50e..e66746d7c865e8 100644 --- a/pages.es/common/base64.md +++ b/pages.es/common/base64.md @@ -1,14 +1,19 @@ # base64 > Codifica o decodifica un archivo o la entrada estandar hacia/desde Base64, a la salida estandar. +> Más información: . - Codifica un archivo: -`base64 {{nombre_de_archivo}}` +`base64 {{ruta/al/archivo}}` + +- Ajusta la salida codificada en un ancho específico (`0` deshabilita el ajuste): + +`base64 {{[-w|--wrap]}} {{0|76|...}} {{ruta/al/archivo}}` - Decodifica un archivo: -`base64 -d {{nombre_de_archivo}}` +`base64 {{[-d|--decode]}} {{ruta/al/archivo}}` - Codifica `stdin`: @@ -16,4 +21,4 @@ - Decodifica `stdin`: -`{{comando}} | base64 -d` +`{{comando}} | base64 {{[-d|--decode]}}` diff --git a/pages.es/common/basename.md b/pages.es/common/basename.md new file mode 100644 index 00000000000000..252b44f1e190f1 --- /dev/null +++ b/pages.es/common/basename.md @@ -0,0 +1,16 @@ +# basename + +> Remueve nombres de directorios al inicio de una ruta. +> Más información: . + +- Imprime el nombre de un fichero a partir de su ruta: + +`basename {{ruta/al/archivo}}` + +- Imprime el componente terminal de la ruta de un directorio: + +`basename {{ruta/al/directorio}}` + +- Imprime el nombre de un fichero sin un sufijo: + +`basename {{ruta/al/archivo}} {{sufijo}}` diff --git a/pages.es/common/basenc.md b/pages.es/common/basenc.md new file mode 100644 index 00000000000000..4424d896bb4cef --- /dev/null +++ b/pages.es/common/basenc.md @@ -0,0 +1,20 @@ +# basenc + +> Codifica o decodifica un archivo o `stdin` usando una codificación especificada, a `stdout`. +> Más información: . + +- Codifica un archivo con codificación base64: + +`basenc --base64 {{ruta/a/archivo}}` + +- Descifra un archivo con codificación base64: + +`basenc {{[-d|--decode]}} --base64 {{ruta/a/archivo}}` + +- Codifica desde `stdin` con codificación base32 con 42 columnas: + +`{{comando}} | basenc --base32 {{[-w|--wrap]}} 42` + +- Codifica desde `stdin` con codificación base32: + +`{{comando}} | basenc --base32` diff --git a/pages.es/common/bash.md b/pages.es/common/bash.md index 985e3a84283980..58e861d1dd9edd 100644 --- a/pages.es/common/bash.md +++ b/pages.es/common/bash.md @@ -1,13 +1,17 @@ # bash -> Bourne-Again SHell. -> Intérprete de línea de comandos compatible con `sh`. -> Más información: . +> Bourne-Again SHell, un intérprete de línea de comandos compatible con `sh`. +> Vea también: `zsh`; `histexpand`, para expansión de historial de comandos. +> Más información: . - Inicia un intérprete de comandos interactivo: `bash` +- Inicia el intérprete sin leer archivos de configuración: + +`bash --norc` + - Ejecuta un comando: `bash -c "{{comando}}"` @@ -26,8 +30,8 @@ - Ejecuta comandos desde `stdin` (entrada estándar): -`bash -s` +`{{echo "echo 'bash es ejecutado'"}} | bash` -- Imprime la información de la versión de bash (use `echo $BASH_VERSION` para ver sólo la versión sin la información sobre la licencia): +- Inicia el intérprete [r]estringido: -`bash --version` +`bash -r` diff --git a/pages.es/common/bat.md b/pages.es/common/bat.md index c285001d5217a8..d4a712c56487fe 100644 --- a/pages.es/common/bat.md +++ b/pages.es/common/bat.md @@ -4,26 +4,34 @@ > Un clon de `cat` con resaltado de sintaxis e integración con Git. > Más información: . -- Imprime los contenidos de un archivo a la salida estándar: +- Imprime bellamente (pretty print) el contenido de uno o más archivos en `stdout`: -`bat {{archivo}}` +`bat {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Concatena varios archivos creando un nuevo archivo: +- Concatena varios archivos en el archivo destino: -`bat {{archivo1}} {{archivo2}} > {{archivo_final}}` +`bat {{ruta/al/archivo1 ruta/al/archivo2 ...}} > {{ruta/al/archivo_destino}}` -- Añade múltiples archivos al final de un archivo objetivo: +- Elimina decoraciones y desactiva la paginación (`--style plain` puede sustituirse por `-p`, o ambas opciones por `-pp`): -`bat {{archivo1}} {{archivo2}} >> {{archivo_final}}` +`bat --style plain --pager never {{ruta/al/archivo}}` -- Numera las lineas del archivo: +- Resalta una línea específica o un rango de líneas con un color de fondo diferente: -`bat -n {{archivo}}` +`bat {{[-H|--highlight-line]}} {{10|5:10|:10|10:|10:+5}} {{ruta/al/archivo}}` -- Muestra un archivo JSON con resaltado de sintaxis: +- Muestra caracteres no imprimibles como espacio, tabulador o nueva línea: -`bat --language json {{archivo.json}}` +`bat {{[-A|--show-all]}} {{ruta/al/archivo}}` -- Muestra todos los lenguajes permitidos: +- Elimina todos los adornos excepto los números de línea en la salida: -`bat --list-languages` +`bat {{[-n|--number]}} {{ruta/al/archivo}}` + +- Resalta sintácticamente un archivo JSON estableciendo explícitamente el lenguaje: + +`bat {{[-l|--language]}} json {{ruta/al/archivo.json}}` + +- Muestra todos los lenguajes soportados: + +`bat {{[-L|--list-languages]}}` diff --git a/pages.es/common/batch.md b/pages.es/common/batch.md new file mode 100644 index 00000000000000..9a531bb96a2bbd --- /dev/null +++ b/pages.es/common/batch.md @@ -0,0 +1,14 @@ +# batch + +> Ejecuta comandos en un momento posterior cuando los niveles de carga del sistema lo permitan. +> Los resultados serán enviados al correo del usuario. +> Vea también: `at`, `atq`, `atrm` `mail`. +> Más información: . + +- Ejecuta comandos de `stdin` (presiona `` cuando hayas finalizado): + +`batch` + +- Ejecuta un comando desde `stdin`: + +`echo "{{./hacer_copia_de_la_bd.sh}}" | batch` diff --git a/pages.es/common/bats.md b/pages.es/common/bats.md new file mode 100644 index 00000000000000..971f15c635e30a --- /dev/null +++ b/pages.es/common/bats.md @@ -0,0 +1,28 @@ +# bats + +> Bash Automated Testing System: un marco de pruebas compatible con TAP () para Bash. +> Más información: . + +- Ejecuta un script de prueba BATS y muestra los resultados en el formato [t]AP (Test Anything Protocol): + +`bats --tap {{ruta/a/prueba.bats}}` + +- [c]ontar casos de prueba de un script de prueba sin ejecutar ninguna prueba: + +`bats --count {{ruta/a/prueba.bats}}` + +- Ejecuta casos de prueba BATS [r]ecursivamente (archivos con extensión `.bats`): + +`bats --recursive {{ruta/a/directorio}}` + +- Muestra los resultados en un [f]ormato específico: + +`bats --formatter {{pretty|tap|tap13|junit}} {{ruta/a/prueba.bats}}` + +- Añade información de [T]iming a las pruebas: + +`bats --timing {{ruta/a/prueba.bats}}` + +- Ejecuta un número específico de traba[j]os en paralelo (requiere tener instalado GNU `parallel`): + +`bats --jobs {{número}} {{ruta/a/prueba.bats}}` diff --git a/pages.es/common/bc.md b/pages.es/common/bc.md new file mode 100644 index 00000000000000..a38150c19b27f6 --- /dev/null +++ b/pages.es/common/bc.md @@ -0,0 +1,33 @@ +# bc + +> Un lenguaje de calculadora de precisión arbitraria. +> Vea también: `dc`, `qalc`. +> Más información: . + +- Inicia una sesión interactiva: + +`bc` + +- Inicia una sesión [i]nteractiva con la bib[l]ioteca matemática estándar activada: + +`bc --interactive --mathlib` + +- Calcula una expresión: + +`echo '{{5 / 3}}' | bc` + +- Ejecuta un script: + +`bc {{ruta/al/script.bc}}` + +- Calcula una expresión con la escala especificada: + +`echo 'scale = {{10}}; {{5 / 3}}' | bc` + +- Calcula una función seno/coseno/arctangente/logaritmo natural/exponencial utilizando `mathlib`: + +`echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib` + +- Ejecuta un guión factorial en línea (inline): + +`echo "define factorial(n) { if (n <= 1) return 1; return n*factorial(n-1); }; factorial({{10}})" | bc` diff --git a/pages.es/common/bfs.md b/pages.es/common/bfs.md new file mode 100644 index 00000000000000..98205d5e66023b --- /dev/null +++ b/pages.es/common/bfs.md @@ -0,0 +1,36 @@ +# bfs + +> Búsqueda exhaustiva de tus archivos. +> Más información: . + +- Busca archivos por extensión: + +`bfs {{ruta_raíz}} -name '{{*.ext}}'` + +- Busca archivos que coincidan con varios patrones de ruta/nombre: + +`bfs {{ruta_raíz}} -path '{{**/ruta/**/*.ext}}' -or -name '{{*patrón*}}'` + +- Busca directorios que coincidan con un nombre dado, sin distinguir mayúsculas de minúsculas: + +`bfs {{ruta_raíz}} -type d -iname '{{*lib*}}'` + +- Busca archivos que coincidan con un patrón dado, excluyendo rutas específicas: + +`bfs {{ruta_raíz}} -name '{{*.py}}' -not -path '{{*/paquetes/*}}'` + +- Busca archivos que coincidan con un rango de tamaño dado, limitando la profundidad recursiva a "1": + +`bfs {{ruta_raíz}} -maxdepth 1 -size {{+500k}} -size {{-10M}}` + +- Ejecuta un comando para cada archivo (utiliza `{}` dentro del comando para acceder al nombre del archivo): + +`bfs {{ruta_root}} -name '{{*.ext}}' -exec {{wc -l}} {} \;` + +- Busca todos los archivos modificados hoy y pasa los resultados a un único comando como argumentos: + +`bfs {{ruta_raíz}} -daystart -mtime {{-1}} -exec {{tar -cvf archivo.tar}} {} \+` + +- Encuentra archivos vacíos (0 bytes) o directorios y los elimina de forma detallada: + +`bfs {{ruta_raíz}} -type {{f|d}} -empty -delete -print` diff --git a/pages.es/common/bg.md b/pages.es/common/bg.md new file mode 100644 index 00000000000000..3e3d47fed7f9d6 --- /dev/null +++ b/pages.es/common/bg.md @@ -0,0 +1,13 @@ +# bg + +> Reanuda un trabajo suspendido (por ejemplo, usando ``) y lo deja ejecutándose en segundo plano. +> Vea también: `jobs`, `fg`, `disown`. +> Más información: . + +- Reanuda el último trabajo suspendido y lo deja ejecutándose en segundo plano: + +`bg` + +- Reanuda un trabajo específico y lo deja ejecutarse en segundo plano (usa `jobs` para obtener el número de trabajo): + +`bg %{{numero_de_trabajo}}` diff --git a/pages.es/common/bitcoind.md b/pages.es/common/bitcoind.md new file mode 100644 index 00000000000000..372390c1c3847c --- /dev/null +++ b/pages.es/common/bitcoind.md @@ -0,0 +1,21 @@ +# bitcoind + +> Daemon de Bitcoin Core. +> Utiliza la configuración definida en `bitcoin.conf`. +> Más información: . + +- Inicia el daemon Bitcoin Core (en primer plano): + +`bitcoind` + +- Inicia el daemon Bitcoin Core en segundo plano (usa `bitcoin-cli stop` para detenerlo): + +`bitcoind -daemon` + +- Inicia el daemon Bitcoin Core en una red específica: + +`bitcoind -chain={{main|test|signet|regtest}}` + +- Inicia el daemon Bitcoin Core usando un archivo de configuración y directorio de datos específicos: + +`bitcoind -conf={{ruta/a/bitcoin.conf}} -datadir={{ruta/a/directorio}}` diff --git a/pages.es/common/blahaj.md b/pages.es/common/blahaj.md new file mode 100644 index 00000000000000..7476fa7dc37536 --- /dev/null +++ b/pages.es/common/blahaj.md @@ -0,0 +1,28 @@ +# blahaj + +> Un coloreador de salida tipo lolcat que también imprime banderas y tiburones de colores. +> Más información: . + +- Obtén una lista de posibles banderas/colores: + +`blahaj --flags` + +- Imprime un tiburón (blahaj) con colores trans por defecto: + +`blahaj {{[-s|--shark]}}` + +- Imprime una bandera aleatoria con un multiplicador de tamaño 2x: + +`blahaj {{[-f|--flag]}} {{[-r|--random]}} {{[-m|--multiplier]}} 2` + +- Imprime el resultado de un comando que produce texto con colores lesbianos: + +`{{cowsay "Hola, mundo"}} | blahaj {{[-c|--colors]}} lesbian` + +- Imprime texto y color por carácter individual: + +`echo "{{Hola, mundo}}" | blahaj {{[-i|--individual]}}` + +- Imprime el contenido de un documento de texto, coloreando el fondo en lugar del texto, por palabra: + +`blahaj {{[-w|--words]}} {{[-b|--background]}} {{ruta/al/archivo}}` diff --git a/pages.es/common/bloodhound-python.md b/pages.es/common/bloodhound-python.md new file mode 100644 index 00000000000000..49b807a4703482 --- /dev/null +++ b/pages.es/common/bloodhound-python.md @@ -0,0 +1,24 @@ +# bloodhound-python + +> Un ingestor Python para BloodHound, utilizado para enumerar las relaciones de Active Directory. +> Más información: . + +- Recopila todos los datos utilizando los métodos de recopilación predeterminados (incluye grupos, sesiones y fideicomisos): + +`bloodhound-python --username {{nombre_de_usuario}} --password {{contraseña}} --domain {{dominio}}` + +- Recopila datos utilizando la autenticación Kerberos sin requerir una contraseña en texto plano: + +`bloodhound-python --collectionmethod {{Todos}} --kerberos --domain {{dominio}}` + +- Se autentica utilizando hashes NTLM en lugar de una contraseña: + +`bloodhound-python --collectionmethod {{Todos}} --username {{nombre_de_usuario}} --hashes {{LM:NTLM}} --domain {{dominio}}` + +- Especifica un servidor de nombres personalizado para consultas DNS: + +`bloodhound-python --collectionmethod {{Todos}}} --username {{nombre_de_usuario}} --password {{contraseña}} --domain {{dominio}} --nameserver {{nombre_de_servidor}}` + +- Guarde los archivos de salida como un archivo ZIP comprimido: + +`bloodhound-python --collectionmethod {{Todos}} --username {{nombre_de_usuario}} --password {{contraseña}} --domain {{dominio}} --zip` diff --git a/pages.es/common/bmptopnm.md b/pages.es/common/bmptopnm.md new file mode 100644 index 00000000000000..42b7eddb07e3cc --- /dev/null +++ b/pages.es/common/bmptopnm.md @@ -0,0 +1,16 @@ +# bmptopnm + +> Convierte un archivo BMP a una imagen PBM, PGM o PNM. +> Más información: . + +- Genera la imagen PBM, PGM o PNM como salida; para Windows y OS/2 únicamente procesa BMP: + +`bmptopnm {{ruta/al/archivo.bmp}}` + +- Reporta la información del encabezado BMP a `stderr`: + +`bmptopnm -verbose {{ruta/al/archivo.bmp}}` + +- Muestra la versión: + +`bmptopnm -version` diff --git a/pages.es/common/bmptoppm.md b/pages.es/common/bmptoppm.md new file mode 100644 index 00000000000000..8e2faf05152297 --- /dev/null +++ b/pages.es/common/bmptoppm.md @@ -0,0 +1,8 @@ +# bmptoppm + +> Este comando es reemplazado por `bmptopnm`. +> Más información: . + +- Ve documentación del comando actual: + +`tldr bmptopnm` diff --git a/pages.es/common/bpkg.md b/pages.es/common/bpkg.md new file mode 100644 index 00000000000000..3d7c1336089230 --- /dev/null +++ b/pages.es/common/bpkg.md @@ -0,0 +1,28 @@ +# bpkg + +> Un gestor de paquetes para scripts Bash. +> Más información: . + +- Actualiza el índice local: + +`bpkg update` + +- Instala un paquete globalmente: + +`bpkg install --global {{paquete}}` + +- Instala un paquete en un subdirectorio del directorio actual: + +`bpkg install {{paquete}}` + +- Instala una versión específica de un paquete de forma global: + +`bpkg install {{paquete}}@{{versión}} -g` + +- Muestra detalles sobre un paquete específico: + +`bpkg show {{paquete}}` + +- Ejecuta un comando, especificando opcionalmente sus argumentos: + +`bpkg run {{comando}} {{argumento1 argumento2 ...}}` diff --git a/pages.es/common/bpython.md b/pages.es/common/bpython.md new file mode 100644 index 00000000000000..69df5bb24c5a31 --- /dev/null +++ b/pages.es/common/bpython.md @@ -0,0 +1,21 @@ +# bpython + +> Una interfaz elegante para el intérprete de Python. +> Proporciona resaltado de sintaxis y muchas otras características en modo REPL. +> Más información: . + +- Inicia una REPL ( intérprete de comandos interactivo): + +`bpython` + +- Ejecuta un archivo Python específico: + +`bpython {{ruta/al/archivo.py}}` + +- Ejecuta un archivo Python específico e inicia una REPL: + +`bpython --interactive {{ruta/al/archivo.py}}` + +- Utiliza el archivo [c]onfig especificado en lugar de la configuración predeterminada: + +`bpython --config {{ruta/al/archivo.conf}}` diff --git a/pages.es/common/bpytop.md b/pages.es/common/bpytop.md new file mode 100644 index 00000000000000..2342f85a8a8576 --- /dev/null +++ b/pages.es/common/bpytop.md @@ -0,0 +1,29 @@ +# bpytop + +> Un monitor de recursos que muestra información sobre el CPU, la memoria, los discos, las redes y los procesos. +> Una versión de `bashtop` en Python. +> Más información: . + +- Inicia `bpytop`: + +`bpytop` + +- Inicia en el modo mínimo sin los recuadros de memoria y redes: + +`bpytop -m` + +- Cambia a el modo mínimo: + +`` + +- Busca procesos o programas en ejecución: + +`` + +- Cambia los ajustes: + +`` + +- Muestra la versión: + +`bpytop -v` diff --git a/pages.es/common/brave.md b/pages.es/common/brave.md new file mode 100644 index 00000000000000..e3ff88c3000609 --- /dev/null +++ b/pages.es/common/brave.md @@ -0,0 +1,8 @@ +# brave + +> Este comando es un alias de `chromium`. +> Más información: . + +- Vea la documentación para el comando original: + +`tldr chromium` diff --git a/pages.es/common/brew.md b/pages.es/common/brew.md new file mode 100644 index 00000000000000..6381e778860672 --- /dev/null +++ b/pages.es/common/brew.md @@ -0,0 +1,36 @@ +# brew + +> Administrador de paquetes para macOS y Linux. +> Más información: . + +- Instala la última versión estable de una fórmula: + +`brew install {{formula|cask}}` + +- Lista todas las fórmulas y casks instaladas: + +`brew list` + +- Actualiza una fórmula o cask instalada (si no se indica ninguna, todas las fórmulas/casks se actualizan): + +`brew upgrade {{formula|cask}}` + +- Trae la versión más reciente de Homebrew y todas sus fórmulas y casks desde el repositorio fuente de Homebrew: + +`brew update` + +- Muestra las fórmulas y casks que tienen una versión más reciente disponible: + +`brew outdated` + +- Busca fórmulas (por ej. paquetes) y casks (por ej. paquetes nativos) disponibles: + +`brew search {{texto}}` + +- Muestra la información de una fórmula o un cask (versión, ruta de instalación, dependencias, etc.): + +`brew info {{formula|cask}}` + +- Revisa la instalación local de Homebrew en busca de problemas potenciales: + +`brew doctor` diff --git a/pages.es/common/browsh.md b/pages.es/common/browsh.md new file mode 100644 index 00000000000000..1ed6638a9e7cec --- /dev/null +++ b/pages.es/common/browsh.md @@ -0,0 +1,24 @@ +# browsh + +> Vea páginas web en el terminal utilizando un backend de Firefox. +> Más información: . + +- Inicia browsh: + +`browsh` + +- Inicia browsh en una página web específica: + +`browsh --startup-url {{URL}}` + +- Se focaliza en la barra de dirección URL: + +`` + +- Sale de browsh: + +`` + +- Muestra la ayuda: + +`browsh {{[-h|--help]}}` diff --git a/pages.es/common/bru.md b/pages.es/common/bru.md new file mode 100644 index 00000000000000..21801ba51d9d06 --- /dev/null +++ b/pages.es/common/bru.md @@ -0,0 +1,28 @@ +# bru + +> CLI para Bruno, un IDE de código abierto para explorar y probar APIs. +> Más información: . + +- Ejecuta todos los archivos de petición en el directorio actual: + +`bru run` + +- Ejecuta una única petición en el directorio actual especificando su nombre de archivo: + +`bru run {{archivo.bru}}` + +- Ejecuta peticiones utilizando un entorno: + +`bru run --env {{nombre_entorno}}` + +- Ejecuta peticiones utilizando un entorno con una variable: + +`bru run --env {{nombre_entorno}} --env-var {{nombre_variable}}={{valor_variable}}` + +- Ejecuta la solicitud y guarda los resultados en un archivo de salida: + +`bru run --output {{ruta/a/archivo_de_salida.json}}` + +- Muestra ayuda: + +`bru run --help` diff --git a/pages.es/common/btop.md b/pages.es/common/btop.md new file mode 100644 index 00000000000000..ba3770b32508d4 --- /dev/null +++ b/pages.es/common/btop.md @@ -0,0 +1,25 @@ +# btop + +> Un monitor de recursos que muestra información sobre la CPU, memoria, discos, red y procesos. +> Una versión C++ de `bpytop`. +> Más información: . + +- Inicia `btop`: + +`btop` + +- Inicia `btop` con la configuración especificada: + +`btop {{[-p|--preset]}} {{0..9}}` + +- Inicia `btop` en modo TTY usando 16 colores y símbolos gráficos compatibles con TTY: + +`btop {{[-t|--tty]}}` + +- Inicia `btop` en modo 256 colores en lugar de 24 bits: + +`btop {{[-l|--low-color]}}` + +- Establece la tasa de actualización a 500 milisegundos: + +`btop {{[-u|--update]}} 500` diff --git a/pages.es/common/bundle.md b/pages.es/common/bundle.md new file mode 100644 index 00000000000000..739efb4feec5ac --- /dev/null +++ b/pages.es/common/bundle.md @@ -0,0 +1,36 @@ +# bundle + +> Administrador de dependencias para el lenguaje de programación Ruby. +> Más información: . + +- Instala todas las gemas (gems) definidas en el archivo `Gemfile` en el directorio de trabajo: + +`bundle install` + +- Ejecuta un comando en el contexto del paquete (bundle) actual: + +`bundle exec {{comando}} {{argumentos}}` + +- Actualiza todas las gemas (gems) definidas por las reglas en el `Gemfile` y regenera `Gemfile.lock`: + +`bundle update` + +- Actualiza una o más gemas específicas definidas en el `Gemfile`: + +`bundle update {{gema1}} {{gema2}}` + +- Actualiza una o más gemas (gems) específicas definidas en el `Gemfile` pero solo a la siguiente versión parche (patch): + +`bundle update --patch {{gema1}} {{gema2}}` + +- Actualiza todas las gemas (gems) dentro de un grupo dado en el `Gemfile`: + +`bundle update --group {{development}}` + +- Lista las gemas instaladas con nuevas versiones disponibles definidas en el `Gemfile`: + +`bundle outdated` + +- Crea una nueva estructura de gema: + +`bundle gem {{gema}}` diff --git a/pages.es/common/bundler.md b/pages.es/common/bundler.md new file mode 100644 index 00000000000000..9b225923ee2db7 --- /dev/null +++ b/pages.es/common/bundler.md @@ -0,0 +1,9 @@ +# bundler + +> Gestor de dependencias para el lenguaje de programación Ruby. +> `bundler` es un nombre común para el comando `bundle`, pero no un comando en sí. +> Más información: . + +- Muestra la documentación del comando original: + +`tldr bundle` diff --git a/pages.es/common/bunzip2.md b/pages.es/common/bunzip2.md new file mode 100644 index 00000000000000..e6973d80bb0c71 --- /dev/null +++ b/pages.es/common/bunzip2.md @@ -0,0 +1,7 @@ +# bunzip2 + +> Este comando es un alias de `bzip2 --decompress`. + +- Vea la documentación del comando original: + +`tldr bzip2` diff --git a/pages.es/common/byobu.md b/pages.es/common/byobu.md new file mode 100644 index 00000000000000..5ad76e84c7ad6d --- /dev/null +++ b/pages.es/common/byobu.md @@ -0,0 +1,33 @@ +# byobu + +> Gestor de ventanas y multiplexor de terminales. +> Vea también: `tmux` y `screen`. +> Más información: . + +- Inicia una nueva sesión: + +`byobu` + +- Configuración y ayuda: + +`byobu-config` + +- Selecciona tmux (por defecto) o backend de pantalla: + +`byobu-select-backend` + +- Habilita el inicio automático después de iniciar sesión en la consola de texto: + +`byobu-enable` + +- Desactiva el inicio automático después de iniciar sesión en la consola de texto: + +`byobu-disable` + +- Se desconecta de `byobu`: + +`` + +- Apaga una ventana: + +`` diff --git a/pages.es/common/bzcat.md b/pages.es/common/bzcat.md new file mode 100644 index 00000000000000..f93e842f6da91b --- /dev/null +++ b/pages.es/common/bzcat.md @@ -0,0 +1,7 @@ +# bzcat + +> Este comando es un alias de `bzip2 --decompress --stdout`. + +- Vea la documentación del comando original: + +`tldr bzip2` diff --git a/pages.es/common/calc.md b/pages.es/common/calc.md new file mode 100644 index 00000000000000..58b932258711f5 --- /dev/null +++ b/pages.es/common/calc.md @@ -0,0 +1,36 @@ +# calc + +> Una calculadora interactiva de precisión arbitraria en el terminal. +> Más información: . + +- Inicia `calc` en modo interactivo: + +`calc` + +- Realiza un cálculo en modo no interactivo: + +`calc '{{85 * (36 / 4)}}'` + +- Realiza un cálculo sin ningún formato de salida: + +`calc -p '{{4/3 * pi() * 5^3}}'` + +- Realiza un cálculo y, a continuación, cambia a modo [i]nteractivo: + +`calc -i '{{sqrt(2)}}'` + +- Inicia `calc` en un [m]odo de permiso específico (de 0 a 7, por defecto 7): + +`calc -m {{modo}}` + +- Muestra una introducción a `calc`: + +`calc help intro` + +- Muestra una visión general de `calc`: + +`calc help overview` + +- Abre el manual de `calc`: + +`calc help` diff --git a/pages.es/common/caller.md b/pages.es/common/caller.md new file mode 100644 index 00000000000000..bd553278655725 --- /dev/null +++ b/pages.es/common/caller.md @@ -0,0 +1,16 @@ +# caller + +> Imprime el contexto de la función. +> Más información: . + +- Imprime la línea y el nombre de archivo desde donde se invocó a la función actual: + +`caller` + +- Imprime la línea, la función y el nombre de archivo desde donde se invocó a la función actual: + +`caller 0` + +- Imprime la línea, el nombre de la función y el nombre del archivo de una llamada a una función `n`: + +`caller {{n}}` diff --git a/pages.es/common/carbonyl.md b/pages.es/common/carbonyl.md new file mode 100644 index 00000000000000..60150f9655455b --- /dev/null +++ b/pages.es/common/carbonyl.md @@ -0,0 +1,20 @@ +# carbonyl + +> Vea páginas web en el terminal usando un backend de Chromium. +> Más información: . + +- Abre una página `about:blank`: + +`carbonyl` + +- Abre una página web: + +`carbonyl {{https://example.com}}` + +- Sale de carbonyl: + +`` + +- Muestra la ayuda: + +`carbonyl {{[-h|--help]}}` diff --git a/pages.es/common/cargo-build.md b/pages.es/common/cargo-build.md new file mode 100644 index 00000000000000..61db714ec4e721 --- /dev/null +++ b/pages.es/common/cargo-build.md @@ -0,0 +1,32 @@ +# cargo build + +> Compila un paquete local y todas sus dependencias. +> Más información: . + +- Construye el paquete o los paquetes definidos por el archivo manifiesto `Cargo.toml` en la ruta local: + +`cargo {{[b|build]}}` + +- Construye artefactos en modo de lanzamiento, con optimizaciones: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- Exige que `Cargo.lock` esté actualizado: + +`cargo {{[b|build]}} --locked` + +- Construye todos los paquetes en el espacio de trabajo: + +`cargo {{[b|build]}} --workspace` + +- Construye un paquete determinado: + +`cargo {{[b|build]}} {{[-p|--package]}} {{paquete}}` + +- Construye solo el binario especificado: + +`cargo {{[b|build]}} --bin {{nombre}}` + +- Construye solamente el objetivo de prueba especificado: + +`cargo {{[b|build]}} --test {{nombre_de_la_prueba}}` diff --git a/pages.es/common/cargo.md b/pages.es/common/cargo.md new file mode 100644 index 00000000000000..75468b554eff1e --- /dev/null +++ b/pages.es/common/cargo.md @@ -0,0 +1,37 @@ +# cargo + +> Gestiona proyectos Rust y sus dependencias de módulos (crates). +> Algunos subcomandos como `build` tienen su propia documentación de uso. +> Más información: . + +- Busca crates: + +`cargo search {{cadena_de_busqueda}}` + +- Instala un crate binario: + +`cargo install {{nombre_crate}}` + +- Lista los crates binarios instalados: + +`cargo install --list` + +- Crea un nuevo proyecto Rust binario o de biblioteca en el directorio especificado (o en el directorio de trabajo actual por defecto): + +`cargo init --{{bin|lib}} {{ruta/al/directorio}}` + +- Añade una dependencia a `Cargo.toml` en el directorio actual: + +`cargo add {{dependencia}}` + +- Construye el proyecto Rust en el directorio actual utilizando el perfil de lanzamiento: + +`cargo {{[b|build]}} {{[-r|--release]}}` + +- Construye el proyecto Rust en el directorio actual utilizando el compilador nightly (requiere `rustup`): + +`cargo +nightly {{[b|build]}}` + +- Construye usando un número específico de hilos (por defecto es el número de CPUs lógicas): + +`cargo {{[b|build]}} --jobs {{número_de_hilos}}` diff --git a/pages.es/common/case.md b/pages.es/common/case.md new file mode 100644 index 00000000000000..6596531f27ef21 --- /dev/null +++ b/pages.es/common/case.md @@ -0,0 +1,24 @@ +# case + +> Construcción de Bash para crear sentencias condicionales multi-elección. +> Más información: . + +- Compara una variable con literales de cadena para decidir qué comando ejecutar: + +`case {{$COUNTRULE}} in {{palabras}}) {{wc --words LÉAME}} ;; {{líneas}}) {{wc --lines LÉAME}} ;; esac` + +- Combina patrones con |, usar * como patrón de reserva: + +`case {{$COUNTRULE}} in {{[wW]|palabras}}) {{wc --words LÉAME}} ;; {{[lL]|líneas}}) {{wc --lines LÉAME}} ;; *) {{echo "¿qué?"}} ;; esac` + +- Permite la coincidencia de múltiples patrones: + +`case {{$ANIMAL}} in {{gato}}) echo "Es un gato" ;;& {{gato|perro}}) echo "Es un gato o un perro" ;;& *) echo "Fallback" ;; esac` + +- Continúa con los comandos del siguiente patrón sin comprobar el patrón: + +`case {{$ANIMAL}} in {{gato}}) echo "Es un gato" ;& {{perro}}) echo "O es un perro o es un gato" ;& *) echo "Fallback" ;; esac` + +- Muestra la ayuda: + +`help case` diff --git a/pages.es/common/cat.md b/pages.es/common/cat.md index 3ac5a0fc2f2dc6..ebe241b0c551a9 100644 --- a/pages.es/common/cat.md +++ b/pages.es/common/cat.md @@ -1,23 +1,24 @@ # cat > Imprime y concatena archivos. +> Más información: . -- Imprime el contenido de un archivo por la salida estándar: +- Imprime el contenido de un fichero a `stdout`: -`cat {{archivo}}` +`cat {{ruta/al/archivo}}` -- Concatena múltiples archivos dentro de un archivo determinado: +- Concatena varios archivos en un archivo de salida: -`cat {{archivo1}} {{archivo2}} > {{archivo_final}}` +`cat {{ruta/al/archivo1 ruta/al/archivo2 ...}} > {{ruta/al/archivo_salida}}` -- Añade múltiples archivos dentro de un archivo determinado: +- Añade el contenido de varios archivos a un archivo de salida: -`cat {{archivo1}} {{archivo2}} >> {{archivo_final}}` +`cat {{ruta/al/archivo1 ruta/al/archivo2 ...}} >> {{ruta/al/archivo_salida}}` -- Muestra el número de líneas de un archivo: +- Copia el contenido de un archivo en un archivo de salida sin almacenamiento en el búfer: -`cat -n {{archivo}}` +`cat -u {{/dev/tty12}} > {{/dev/tty13}}` -- Muestra los carácteres no imprimibles y espacios en blanco (con el prefijo `M-` si no es ASCII): +- Copia `stdin` en un archivo: -`cat -v -t -e {{archivo}}` +`cat - > {{ruta/al/archivo}}` diff --git a/pages.es/common/ccache.md b/pages.es/common/ccache.md new file mode 100644 index 00000000000000..0eb8957e441831 --- /dev/null +++ b/pages.es/common/ccache.md @@ -0,0 +1,21 @@ +# ccache + +> Caché del compilador C/C++. +> Nota: los paquetes suelen proporcionar enlaces simbólicos para los compiladores en `/usr/lib/ccache/bin`. Anteponga este directorio en `$PATH` para utilizar automáticamente `ccache` con los compiladores. +> Más información: . + +- Muestra las e[s]tadísticas de la caché actual: + +`ccache --show-stats` + +- Borra toda la caché: + +`ccache --clear` + +- Restablece ([z]ero) las estadísticas (pero no la propia caché): + +`ccache --zero-stats` + +- Compila código C y almacena la salida compilada en la caché (para usar `ccache` en todas las invocaciones de `gcc`, lea la nota anterior): + +`ccache gcc {{ruta/al/archivo.c}}` diff --git a/pages.es/common/cd.md b/pages.es/common/cd.md index 14b857ce469068..80409b15f969d8 100644 --- a/pages.es/common/cd.md +++ b/pages.es/common/cd.md @@ -1,19 +1,28 @@ # cd -> Cambiar el directorio de trabajo. +> Cambia el directorio de trabajo actual. +> Más información: . - Accede al directorio especificado: `cd {{ruta/al/directorio}}` -- Accede al directorio *home* del usuario actual: +- Cambia al directorio padre: + +`cd ..` + +- Accede al directorio raíz del usuario actual: `cd` -- Accede al directorio padre del directorio actual: +- Accede al directorio personal del usuario especificado: -`cd ..` +`cd ~{{nombredeusuario}}` -- Accede al directorio elegido previamente: +- Cambia al directorio elegido anteriormente: `cd -` + +- Cambia al directorio raíz: + +`cd /` diff --git a/pages.es/common/chatgpt.md b/pages.es/common/chatgpt.md new file mode 100644 index 00000000000000..20cb6a5d5891fc --- /dev/null +++ b/pages.es/common/chatgpt.md @@ -0,0 +1,28 @@ +# chatgpt + +> Shell script para usar ChatGPT de OpenAI y DALL-E desde la terminal. +> Más información: . + +- Comienza en modo chat: + +`chatgpt` + +- Da un [p]rompt para responder: + +`chatgpt --prompt "{{¿Cuál es la expresión regular para emparejar una dirección de correo electrónico?}}"` + +- Inicia en modo chat utilizando un [m]odelo específico (por defecto es `gpt-3.5-turbo`): + +`chatgpt --model {{gpt-4}}` + +- Inicia en modo chat con un prompt [i]nicial: + +`chatgpt --init-prompt "{{Tú eres Rick, de Rick y Morty. Responde a las preguntas usando su amaneramiento e incluye chistes insultantes.}}"` + +- Envía el resultado de un comando a ChatGPT como un prompt: + +`echo "{{¿Cómo ver los procesos en ejecución en Ubuntu?}}" | chatgpt` + +- Genera una imagen utilizando DALL-E: + +`chatgpt --prompt "{{image: Un gato blanco}}"` diff --git a/pages.es/common/checkov.md b/pages.es/common/checkov.md new file mode 100644 index 00000000000000..0ed5777e2b100d --- /dev/null +++ b/pages.es/common/checkov.md @@ -0,0 +1,17 @@ +# checkov + +> Checkov es una herramienta de análisis estático de código para Infraestructura como Código (IaC). +> También es una herramienta de análisis de composición de software (SCA) para imágenes y paquetes de código abierto. +> Más información: . + +- Analiza un directorio que contenga IaC (Terraform, Cloudformation, ARM, Ansible, Bicep, Dockerfile, etc): + +`checkov --directory {{ruta/al/directorio}}` + +- Escanea un archivo IaC, omitiendo bloques de código en la salida: + +`checkov --compact --file {{ruta/al/archivo}}` + +- Lista todas las comprobaciones de todos los tipos de IaC: + +`checkov --list` diff --git a/pages.es/common/chmod.md b/pages.es/common/chmod.md index 75aa1336fad96b..523b508022863c 100644 --- a/pages.es/common/chmod.md +++ b/pages.es/common/chmod.md @@ -1,27 +1,36 @@ # chmod -> Cambiar los permisos de acceso de un archivo o directorio. +> Cambia los permisos de acceso de un archivo o directorio. +> Más información: . -- Otorga al [u]suario que es propietario del archivo a ejecutarlo (x). +- Otorga al [u]suario que es propietario del archivo permiso para [x] ejecutarlo: -`chmod u+x {{archivo}}` +`chmod u+x {{ruta/al/archivo}}` -- Otorga al usuario derechos para leer (r) y escribir (w) un archivo o directorio: +- Otorga al [u]suario derechos para leer (r) y escribir (w) un archivo o directorio: -`chmod u+rw {{archivo_o_directorio}}` +`chmod u+rw {{ruta/al/archivo_o_directorio}}` - Elimina los derechos de ejecución del [g]rupo: -`chmod g-x {{archivo}}` +`chmod g-x {{ruta/al/archivo}}` - Otorga a todos los usuarios (a) derechos para leer y ejecutar: -`chmod a+rx {{archivo}}` +`chmod a+rx {{ruta/al/archivo}}` -- Otorga a [o]tros (que no están en el grupo del propietario) los mismos derechos que los del grupo: +- Otorga a [o]tros (que no están en el grupo del propietario) los mismos derechos que los del [g]rupo: -`chmod o=g {{archivo}}` +`chmod o=g {{ruta/al/archivo}}` + +- Quita todos los derechos a [o]tros: + +`chmod o= {{ruta/al/archivo}}` - Otorga al [g]rupo y a [o]tros el derecho para escribir (w) un directorio y su contenido: -`chmod -R g+w,o+w {{directorio}}` +`chmod {{[-R|--recursive]}} g+w,o+w {{ruta/al/directorio}}` + +- Concede de forma recursiva [a] todos los usuarios permisos de lectu[r]a a los archivos y permisos de e[X]ecución a los subdirectorios dentro de un directorio: + +`chmod {{[-R|--recursive]}} a+rX {{ruta/al/directorio}}` diff --git a/pages.es/common/chown.md b/pages.es/common/chown.md index 39966f82726297..df191b5f1a61f2 100644 --- a/pages.es/common/chown.md +++ b/pages.es/common/chown.md @@ -1,23 +1,28 @@ # chown -> Cambia la propiedad de usuario y grupo sobre archivos y directorios. +> Cambia la propiedad de usuario y grupo de archivos y directorios. +> Más información: . - Cambia el usuario propietario de un archivo/directorio: -`chown {{usuario}} {{ruta/hacia/archivo_o_directorio}}` +`chown {{usuario}} {{ruta/al/archivo_o_directorio}}` - Cambia el usuario y grupo propietario de un archivo/directorio: -`chown {{usuario}}:{{grupo}} {{ruta/hacia/archivo_o_directorio}}` +`chown {{usuario}}:{{grupo}} {{ruta/al/archivo_o_directorio}}` -- Cambia de forma recursiva el propietario sobre un directorio y su contenido: +- Cambia el usuario propietario y el grupo para que ambos sean `usuario`: -`chown -R {{usuario}} {{ruta/hacia/directorio}}` +`chown {{usuario}}: {{ruta/al/archivo_o_directorio}}` + +- Cambia recursivamente el propietario de un directorio y su contenido: + +`chown {{[-R|--recursive]}} {{usuario}} {{ruta/a/directorio}}` - Cambia el propietario de un enlace simbólico: -`chown -h {{usuario}} {{ruta/hacia/enlace_simbolico}}` +`chown {{[-h|--no-dereference]}} {{usuario}} {{ruta/al/enlace_simbólico}}` -- Copia la información de propiedad del archivo/directorio de referencia a otro: +- Cambia el propietario de un archivo/directorio para que coincida con un archivo de referencia: -`chown --reference={{ruta/hacia/archivo_o_directorio_de_referencia}} {{ruta/hacia/archivo_o_directorio}}` +`chown --reference {{ruta/al/archivo_de_referencia}} {{ruta/al/archivo_o_directorio}}` diff --git a/pages.es/common/chromium.md b/pages.es/common/chromium.md new file mode 100644 index 00000000000000..bf7a72942bd463 --- /dev/null +++ b/pages.es/common/chromium.md @@ -0,0 +1,37 @@ +# chromium + +> Navegador web de código abierto desarrollado y mantenido principalmente por Google. +> Nota: Es posible que necesite reemplazar el comando `chromium` con su navegador web deseado, como `brave`, `google-chrome`, `opera`, o `vivaldi`. +> Más información: . + +- Abre una URL o archivo específico: + +`chromium {{https://example.com|ruta/al/archivo.html}}` + +- Abre en modo incógnito: + +`chromium --incognito {{example.com}}` + +- Abre en una nueva ventana: + +`chromium --new-window {{example.com}}` + +- Abre en modo de aplicación (sin barras de herramientas, barra de URL, botones, etc.): + +`chromium --app={{https://example.com}}` + +- Usa un servidor proxy: + +`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Abre con un directorio de perfil personalizado: + +`chromium --user-data-dir={{ruta/al/directorio}}` + +- Abre sin validación CORS (útil para probar una API): + +`chromium --user-data-dir={{ruta/al/directorio}} --disable-web-security` + +- Abre con una ventana DevTools para cada pestaña abierta: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.es/common/chroot.md b/pages.es/common/chroot.md new file mode 100644 index 00000000000000..dcb5747bba1805 --- /dev/null +++ b/pages.es/common/chroot.md @@ -0,0 +1,12 @@ +# chroot + +> Ejecuta un comando o un intérprete de comandos interactivo con un directorio raíz especial. +> Más información: . + +- Ejecuta un comando como nuevo directorio raíz: + +`sudo chroot {{ruta/al/nuevo/root}} {{comando}}` + +- Utiliza un usuario y grupo específicos: + +`sudo chroot --userspec {{nombre_usuario_o_id:nombre_grupo_o_id}}` diff --git a/pages.es/common/cjxl.md b/pages.es/common/cjxl.md new file mode 100644 index 00000000000000..b87f3943ea1b02 --- /dev/null +++ b/pages.es/common/cjxl.md @@ -0,0 +1,17 @@ +# cjxl + +> Comprime imágenes a JPEG XL. +> Las extensiones de entrada aceptadas son PNG, APNG, GIF, JPEG, EXR, PPM, PFM, PAM, PGX y JXL. +> Más información: . + +- Convierte una imagen a JPEG XL: + +`cjxl {{ruta/a/imagen.ext}} {{ruta/a/salida.jxl}}` + +- Ajusta la calidad a sin pérdidas y maximiza la compresión de la imagen resultante: + +`cjxl --distance 0 --effort 9 {{ruta/a/imagen.ext}} {{ruta/a/salida.jxl}}` + +- Muestra una página de ayuda muy detallada: + +`cjxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}` diff --git a/pages.es/common/cksum.md b/pages.es/common/cksum.md new file mode 100644 index 00000000000000..93a0427a8b49bb --- /dev/null +++ b/pages.es/common/cksum.md @@ -0,0 +1,9 @@ +# cksum + +> Calcula sumas de comprobación CRC y recuento de bytes de un archivo. +> Nota: En sistemas UNIX antiguos la implementación de CRC puede diferir. +> Más información: . + +- Muestra una suma de comprobación de 32 bits, el tamaño en bytes y el nombre del archivo: + +`cksum {{ruta/al/archivo}}` diff --git a/pages.es/common/clamav.md b/pages.es/common/clamav.md new file mode 100644 index 00000000000000..f270b6368d8582 --- /dev/null +++ b/pages.es/common/clamav.md @@ -0,0 +1,17 @@ +# ClamAV + +> Programa antivirus de código abierto. +> ClamAV no es un comando, sino un conjunto de comandos. +> Más información: . + +- Muestra la página tldr para escanear archivos usando el daemon `clamd`: + +`tldr clamdscan` + +- Muestra la página tldr para escanear archivos sin que se ejecute el daemon `clamd`: + +`tldr clamscan` + +- Muestra la página tldr para actualizar las definiciones de virus: + +`tldr freshclam` diff --git a/pages.es/common/clamdscan.md b/pages.es/common/clamdscan.md new file mode 100644 index 00000000000000..2bfa293c0f3f1b --- /dev/null +++ b/pages.es/common/clamdscan.md @@ -0,0 +1,36 @@ +# clamdscan + +> Escaneo de virus con el servicio (daemon) ClamAV. +> Más información: . + +- Escanea un archivo o directorio buscando vulnerabilidades: + +`clamdscan {{ruta/al/archivo_o_directorio}}` + +- Escanea desde 'stdin`: + +`{{comando}} | clamdscan -` + +- Escanea el directorio actual y muestra solo los archivos infectados: + +`clamdscan --infected` + +- Imprime el informe de la exploración a un archivo de registro (log): + +`clamdscan --log {{ruta/al/archivo_de_registro}}` + +- Mueve los archivos infectados a un directorio específico: + +`clamdscan --move {{ruta/a/directorio_de_cuarentena}}` + +- Elimina los archivos infectados: + +`clamdscan --remove` + +- Utiliza varios hilos para escanear un directorio: + +`clamdscan --multiscan` + +- Pasa el descriptor de archivo en lugar de transmitir el archivo al daemon: + +`clamdscan --fdpass` diff --git a/pages.es/common/clamscan.md b/pages.es/common/clamscan.md new file mode 100644 index 00000000000000..a40365b34f7a5d --- /dev/null +++ b/pages.es/common/clamscan.md @@ -0,0 +1,36 @@ +# clamscan + +> Un escáner de virus de línea de comandos. +> Más información: . + +- Escanea un archivo buscando vulnerabilidades: + +`clamscan {{ruta/al/archivo}}` + +- Escanea todos los archivos recursivamente en un directorio específico: + +`clamscan -r {{ruta/al/directorio}}` + +- Escanea datos desde 'stdin`: + +`{{comando}} | clamscan -` + +- Escanea usando un archivo de bases de datos de virus o directorio de archivos: + +`clamscan --database {{ruta/al/archivo_o_directorio_con_base_de_datos}}` + +- Escanea el directorio actual y muestra solo los archivos infectados: + +`clamscan --infected` + +- Imprime el informe de la exploración a un archivo de registro (log): + +`clamscan --log {{ruta/al/archivo_de_registro}}` + +- Mueve archivos infectados a un directorio específico: + +`clamscan --move {{ruta/al/directorio_de_cuarentena}}` + +- Elimina los archivos infectados: + +`clamscan --remove yes` diff --git a/pages.es/common/clang++.md b/pages.es/common/clang++.md new file mode 100644 index 00000000000000..7b51bedde42e4e --- /dev/null +++ b/pages.es/common/clang++.md @@ -0,0 +1,37 @@ +# clang++ + +> Compila archivos con código fuente C++. +> Hace parte de LLVM. +> Más información: . + +- Compila un conjunto de archivos de código fuente a un binario ejecutable: + +`clang++ {{ruta/al/código1.cpp ruta/al/código2.cpp ...}} {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Activa la visualización de todos los errores y advertencias: + +`clang++ {{ruta/al/código.cpp}} -Wall {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Muestra advertencias comunes, símbolos de depuración en la salida y optimiza sin afectar la depuración: + +`clang++ {{ruta/al/código.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Elije un estándar de lenguaje para compilar: + +`clang++ {{ruta/al/código.cpp}} -std={{c++20}} {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Incluye las bibliotecas ubicadas en una ruta distinta a la del código fuente: + +`clang++ {{ruta/al/código.cpp}} {{[-o|--output]}} {{ruta/al/ejecutable}} -I{{ruta/al/directorio/de/headers}} -L{{ruta/al/directorio/de/bibliotecas}} -l{{ruta/a/la/biblioteca}}` + +- Compila el código fuente hacia una representación intermedia (IR) LLVM: + +`clang++ {{[-S|--assemble]}} -emit-llvm {{ruta/al/código.cpp}} {{[-o|--output]}} {{ruta/a/la/representación.ll}}` + +- Optimiza el programa compilado en función de la velocidad: + +`clang++ {{ruta/al/código.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Muestra la versión: + +`clang++ --version` diff --git a/pages.es/common/clang-cpp.md b/pages.es/common/clang-cpp.md new file mode 100644 index 00000000000000..6625bda3e3bef2 --- /dev/null +++ b/pages.es/common/clang-cpp.md @@ -0,0 +1,7 @@ +# clang-cpp + +> Este comando es un alias de `clang++`. + +- Muestra la documentación del comando original: + +`tldr clang++` diff --git a/pages.es/common/clang.md b/pages.es/common/clang.md new file mode 100644 index 00000000000000..e89fde4f586c97 --- /dev/null +++ b/pages.es/common/clang.md @@ -0,0 +1,37 @@ +# clang + +> Compila archivos fuente C, C+ y Objective-C. Se puede utilizar como un reemplazo para GCC. +> Parte de LLVM. +> Más información: . + +- Compila archivos de múltiples fuentes en un ejecutable: + +`clang {{ruta/a/fuente1.c ruta/a/fuente2.c ...}} {{[-o|--output]}} {{ruta/al/ejecutable_resultante}}` + +- Activa la salida de todos los errores y advertencias: + +`clang {{ruta/a/fuente.c}} -Wall {{[-o|--output]}} {{ejecutable_resultante}}` + +- Muestra advertencias comunes, depura símbolos en la salida y optimiza sin afectar la depuración: + +`clang {{ruta/a/fuente.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{ruta/al/ejecutable_resultante}}` + +- Incluye bibliotecas de una ruta diferente: + +`clang {{ruta/a/fuente.c}} {{[-o|--output]}} {{ruta/al/ejecutable_resultante}} -I{{ruta/al/encabezado}} -L{{ruta/a/la/biblioteca}} -l{{nombre_biblioteca}}` + +- Compila código fuente hacia representación intermedia (IR) LLVM: + +`clang {{[-S|--assemble]}} -emit-llvm {{ruta/a/fuente.c}} {{[-o|--output]}} {{ruta/a/la/salida.ll}}` + +- Compila código fuente en un archivo objeto sin vincular (linking): + +`clang {{[-c|--compile]}} {{ruta/a/fuente.c}}` + +- Optimiza el programa compilado para velocidad de ejecución: + +`clang {{ruta/a/fuente.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{ruta/al/ejecutable_resultante}}` + +- Muestra la versión: + +`clang --version` diff --git a/pages.es/common/clear.md b/pages.es/common/clear.md index 06a529c3670ecb..1a22ee0e06f350 100644 --- a/pages.es/common/clear.md +++ b/pages.es/common/clear.md @@ -1,8 +1,9 @@ # clear > Limpia la pantalla de la terminal. +> Más información: . -- Limpia la pantalla de la terminal (equivale a presionar Control-L en la interfaz de línea de comandos Bash): +- Limpia la pantalla de la terminal (equivale a presionar `` en la interfaz de línea de comandos Bash): `clear` diff --git a/pages.es/common/clj.md b/pages.es/common/clj.md new file mode 100644 index 00000000000000..4d5d8c4bfb77dc --- /dev/null +++ b/pages.es/common/clj.md @@ -0,0 +1,29 @@ +# clj + +> Herramienta de Clojure para usar una interfaz interactiva (REPL) o invocar una función con datos. +> Todas las opciones se pueden definir en un archivo `deps.edn`. +> Más información: . + +- Inicia una REPL (interfaz interactiva): + +`clj` + +- Ejecuta una función: + +`clj -X {{namespace/nombre_de_función}}` + +- Ejecuta la función principal de un espacio de nombres (namespace) especificado: + +`clj -M -m {{namespace}} {{argumentos}}` + +- Prepara un proyecto resolviendo dependencias, descargando bibliotecas y haciendo/cacheando rutas de clases (classpaths): + +`clj -P` + +- Inicia un servidor nREPL con el software intermedio (middleware) CIDER: + +`clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactive` + +- Inicia un REPL de ClojureScript y abre un navegador web: + +`clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.758"}}}' --main cljs.main --repl` diff --git a/pages.es/common/clojure.md b/pages.es/common/clojure.md new file mode 100644 index 00000000000000..76cb01ea34ab77 --- /dev/null +++ b/pages.es/common/clojure.md @@ -0,0 +1,7 @@ +# clojure + +> Este comando es un alias de `clj`. + +- Muestra la documentación del comando original: + +`tldr clj` diff --git a/pages.es/common/code.md b/pages.es/common/code.md new file mode 100644 index 00000000000000..d9b53d7b4891ac --- /dev/null +++ b/pages.es/common/code.md @@ -0,0 +1,36 @@ +# code + +> Editor de código extensible y multiplataforma. +> Más información: . + +- Inicia Visual Studio Code: + +`code` + +- Abre archivos o directorios específicos: + +`code {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Compara dos archivos específicos: + +`code {{[-d|--diff]}} {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Abre archivos o directorios específicos en una nueva ventana: + +`code {{[-n|--new-window]}} {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Instala/desinstala una extensión específica: + +`code --{{install|uninstall}}-extension {{editor.extension}}` + +- Imprime las extensiones instaladas: + +`code --list-extensions` + +- Imprime las extensiones instaladas con su versión: + +`code --list-extensions --show-versions` + +- Inicia el editor como súper usuario (root) mientras que almacena los datos del usuario en un directorio específico: + +`sudo code --user-data-dir {{ruta/al/directorio}}` diff --git a/pages.es/common/codecrafters.md b/pages.es/common/codecrafters.md new file mode 100644 index 00000000000000..b48b514378b81b --- /dev/null +++ b/pages.es/common/codecrafters.md @@ -0,0 +1,20 @@ +# codecrafters + +> Practica escribiendo software complejo. +> Más información: . + +- Ejecuta pruebas sin confirmar cambios: + +`codecrafters test` + +- Ejecuta pruebas para todas las etapas anteriores y la etapa actual sin confirmar los cambios: + +`codecrafters test --previous` + +- Confirma los cambios y los envía, para pasar a la siguiente fase: + +`codecrafters submit` + +- Actualiza la versión del lenguaje: + +`codecrafters update-buildpack` diff --git a/pages.es/common/cola.md b/pages.es/common/cola.md new file mode 100644 index 00000000000000..db7ad1e3d5d1c5 --- /dev/null +++ b/pages.es/common/cola.md @@ -0,0 +1,7 @@ +# cola + +> Este comando es un alias de `git-cola`. + +- Muestra la documentación del comando original: + +`tldr git-cola` diff --git a/pages.es/common/colima.md b/pages.es/common/colima.md new file mode 100644 index 00000000000000..3c6503c2e7323d --- /dev/null +++ b/pages.es/common/colima.md @@ -0,0 +1,36 @@ +# colima + +> Contenedores en tiempo de ejecución para macOS y Linux con una configuración mínima. +> Más información: . + +- Inicia el daemon en segundo plano: + +`colima start` + +- Crea un archivo de configuración y lo usa: + +`colima start --edit` + +- Inicia y configura containerd (instala `nerdctl` para usar containerd a través de `nerdctl`): + +`colima start --runtime containerd` + +- Inicia con Kubernetes (se requiere `kubectl`): + +`colima start --kubernetes` + +- Personaliza el recuento de CPU, memoria RAM y espacio en disco (en GiB): + +`colima start --cpu {{número}} --memory {{memoria}} --disk {{espacio_de_almacenamiento}}` + +- Usa Docker a través de Colima (se requiere Docker): + +`colima start` + +- Lista contenedores con su información y estado: + +`colima list` + +- Muestra estado de tiempo de ejecución: + +`colima status` diff --git a/pages.es/common/comm.md b/pages.es/common/comm.md new file mode 100644 index 00000000000000..a2e9668338d2c8 --- /dev/null +++ b/pages.es/common/comm.md @@ -0,0 +1,24 @@ +# comm + +> Selecciona o rechaza las líneas comunes a dos ficheros. Ambos ficheros deben estar ordenados. +> Más información: . + +- Produce tres columnas separadas por tabuladores: líneas solo en el primer archivo, líneas solo en el segundo archivo y líneas comunes: + +`comm {{fichero1}} {{fichero2}}` + +- Imprime solo las líneas comunes a ambos archivos: + +`comm -12 {{fichero1}} {{fichero2}}` + +- Imprime solo las líneas comunes a ambos archivos, leyendo un archivo desde `stdin`: + +`cat {{fichero1}} | comm -12 - {{fichero2}}` + +- Obtiene las líneas que solo se encuentran en el primer fichero, guardando el resultado en un tercer fichero: + +`comm -23 {{fichero1}} {{fichero2}} > {{solo_fichero1}}` + +- Imprime las líneas solo encontradas en el segundo fichero, cuando los ficheros no están ordenados: + +`comm -13 <( sort {{fichero1}}) <( sort {{fichero2}})` diff --git a/pages.es/common/comma.md b/pages.es/common/comma.md new file mode 100644 index 00000000000000..daa1133b9bb50d --- /dev/null +++ b/pages.es/common/comma.md @@ -0,0 +1,7 @@ +# comma + +> Este comando es un alias de `,`. + +- Vea la documentación del comando original: + +`tldr ,` diff --git a/pages.es/common/compare.md b/pages.es/common/compare.md new file mode 100644 index 00000000000000..ce027ad8ab8837 --- /dev/null +++ b/pages.es/common/compare.md @@ -0,0 +1,7 @@ +# compare + +> Este comando es un alias de `magick compare`. + +- Muestra la documentación del comando original: + +`tldr magick compare` diff --git a/pages.es/common/compgen.md b/pages.es/common/compgen.md new file mode 100644 index 00000000000000..93cdd44b974e37 --- /dev/null +++ b/pages.es/common/compgen.md @@ -0,0 +1,36 @@ +# compgen + +> Un comando incorporado para autocompletar en Bash, que es invocado al presionar la tecla `` dos veces. +> Más información: . + +- Lista todos los comandos que puedes ejecutar: + +`compgen -c` + +- Lista todos los comandos que puedes ejecutar y que comienzan con una cadena especificada: + +`compgen -c {{str}}` + +- Lista todos los alias: + +`compgen -a` + +- Lista todas las funciones que puedes ejecutar: + +`compgen -A function` + +- Muestra las palabras clave reservadas de la interfaz de comandos: + +`compgen -k` + +- Vea todos los comandos/alias disponibles que empiecen por `ls`: + +`compgen -ac {{ls}}` + +- Lista todos los usuarios del sistema: + +`compgen -u` + +- Muestra la ayuda: + +`compgen --help` diff --git a/pages.es/common/complete.md b/pages.es/common/complete.md new file mode 100644 index 00000000000000..f9ec1fad05d512 --- /dev/null +++ b/pages.es/common/complete.md @@ -0,0 +1,30 @@ +# complete + +> Obtiene y establece las reglas de autocompletado de argumentos de los comandos del shell en Bash. +> Las terminaciones especificadas se invocarán cuando se pulse `` en Bash. +> Vea también: `compgen`, `compopt`. +> Más información: . + +- Establece los argumentos de un comando para autocompletar a través de una función (la respuesta de completado se envía en la variable `COMPREPLY`): + +`complete -F {{función}} {{comando}}` + +- Establece los argumentos de un comando para autocompletar a través de otro comando (`$1` es el comando, `$2` es el argumento sobre el que está el cursor y `$3` es el argumento que precede al cursor): + +`complete -C {{comando_de_autocompletado}} {{comando}}` + +- Configura los argumentos de un comando para que se autocompleten con los componentes del shell: + +`complete -b {{comando}}` + +- Aplica el autocompletado sin añadir un espacio a la palabra completada: + +`complete -o nospace -F {{función}} {{comando}}` + +- Lista todas las especificaciones completas cargadas: + +`complete -p` + +- Lista de especificaciones completas cargadas para un comando: + +`complete -p {{comando}}` diff --git a/pages.es/common/conda-doctor.md b/pages.es/common/conda-doctor.md new file mode 100644 index 00000000000000..3cf96d43f2b4ea --- /dev/null +++ b/pages.es/common/conda-doctor.md @@ -0,0 +1,20 @@ +# conda doctor + +> Muestra un informe de salud de su entorno. +> Más información: . + +- Muestra el informe del entorno actualmente activo: + +`conda doctor` + +- Especifica un entorno por nombre: + +`conda doctor {{[-n|--name]}} {{nombre_del_entorno}}` + +- Especifica un entorno por su ruta: + +`conda doctor {{[-p|--prefix]}} {{ruta/al/entorno}}` + +- Habilita salida detallada (Nota: la bandera `-v` puede repetirse para aumentar el nivel de detalle): + +`conda doctor {{[-v|--verbose]}}` diff --git a/pages.es/common/conda.md b/pages.es/common/conda.md new file mode 100644 index 00000000000000..7206a427ee9cac --- /dev/null +++ b/pages.es/common/conda.md @@ -0,0 +1,37 @@ +# conda + +> Gestión de paquetes, dependencias y entornos para cualquier lenguaje de programación. +> Algunos subcomandos, como `create`, tienen su propia documentación de uso. +> Más información: . + +- Crea un nuevo entorno e instala en él los paquetes indicados: + +`conda create {{[-n|--name]}} {{nombre_del_entorno}} {{python=3.9 matplotlib}}` + +- Lista todos los entornos: + +`conda info {{[-e|--envs]}}` + +- Activa un entorno: + +`conda activate {{nombre_del_entorno}}` + +- Desactiva un entorno: + +`conda deactivate` + +- Elimina un entorno (remueve todos los paquetes): + +`conda remove {{[-n|--name]}} {{nombre_del_entorno}} --all` + +- Instala paquetes en el entorno actual: + +`conda install {{python=3.4 numpy}}` + +- Lista los paquetes instalados en el entorno actual: + +`conda list` + +- Elimina paquetes no usados y cachés: + +`conda clean {{[-a|--all]}}` diff --git a/pages.es/common/convert.md b/pages.es/common/convert.md new file mode 100644 index 00000000000000..6c12137a8a3b41 --- /dev/null +++ b/pages.es/common/convert.md @@ -0,0 +1,9 @@ +# convert + +> Este comando es un alias de `magick convert`. +> Nota: Este alias está obsoleto desde ImageMagick 7. Ha sido reemplazado por `magick`. +> Utiliza `magick convert` si necesitas utilizar la herramienta antigua en versiones 7+. + +- Muestra la documentación del comando original: + +`tldr magick convert` diff --git a/pages.es/common/copr.md b/pages.es/common/copr.md new file mode 100644 index 00000000000000..aeabb9ee70910a --- /dev/null +++ b/pages.es/common/copr.md @@ -0,0 +1,7 @@ +# copr + +> Este comando es un alias de `copr-cli`. + +- Vea la documentación del comando original: + +`tldr copr-cli` diff --git a/pages.es/common/cowsay.md b/pages.es/common/cowsay.md new file mode 100644 index 00000000000000..538fc49fc23fc1 --- /dev/null +++ b/pages.es/common/cowsay.md @@ -0,0 +1,28 @@ +# cowsay + +> Imprime arte ASCII (por defecto una vaca) diciendo o pensando algo. +> Más información: . + +- Imprime una vaca ASCII diciendo "hola, mundo": + +`cowsay "{{hola, mundo}}"` + +- Imprime una vaca ASCII diciendo texto de `stdin`: + +`echo "{{hola, mundo}}" | cowsay` + +- Lista todos los tipos de arte disponibles: + +`cowsay -l` + +- Imprime el arte ASCII especificado diciendo "hola, mundo": + +`cowsay -f {{arte}} "{{hola, mundo}}"` + +- Imprime un pensamiento triste de una vaca ASCII: + +`cowthink -d "{{Solo soy una vaca, no una gran pensadora...}}"` + +- Imprime una vaca ASCII con ojos personalizados diciendo "hola, mundo": + +`cowsay -e {{caracteres}} "{{hola, mundo}}"` diff --git a/pages.es/common/cp.md b/pages.es/common/cp.md index 7f2c74a7980b37..6b5bc631b93037 100644 --- a/pages.es/common/cp.md +++ b/pages.es/common/cp.md @@ -1,27 +1,36 @@ # cp > Copia archivos y directorios. +> Más información: . -- Copia un archivo a otra ruta: +- Copia un archivo a otra ubicación: -`cp {{ruta/hacia/archivo_original.ext}} {{ruta/hacia/archivo_copia.ext}}` +`cp {{ruta/al/archivo_de_origen.ext}} {{ruta/al/archivo_destino.ext}}` -- Copia un archivo a un directorio, manteniendo el nombre del archivo: +- Copia un archivo en otro directorio, manteniendo el nombre del archivo: -`cp {{ruta/hacia/archivo_original.ext}} {{ruta/hacia/directorio_destino}}` +`cp {{ruta/al/archivo_de_origen.ext}} {{ruta/al/directorio_destino}}` -- Copia de forma recursiva un directorio y su contenido a otra ruta (si la ruta de destino existe, el directorio se copiará dentro): +- Copia recursivamente el contenido de un directorio a otra ubicación (si el destino existe, el directorio se copia dentro de él): -`cp -R {{ruta/hacia/directorio_original}} {{ruta/hacia/directorio_copia}}` +`cp {{[-r|--recursive]}} {{ruta/al/directorio_de_origen}} {{ruta/al/directorio_de_destino}}` -- Copia de forma recursiva y verbosa un directorio (muestra un listado de los archivos copiados): +- Copia un directorio de forma recursiva, en modo detallado (muestra los archivos a medida que se copian): -`cp -vR {{ruta/hacia/directorio_original}} {{ruta/hacia/directorio_copia}}` +`cp {{[-vr|--verbose --recursive]}} {{ruta/al/directorio_de_origen}} {{ruta/al/directorio_de_destino}}` -- Copia archivos de texto a otra ruta de forma interactiva (pregunta al usuario antes de sobreescribir): +- Copia varios archivos a la vez en un directorio: -`cp -i {{*.txt}} {{ruta/hacia/directorio_destino}}` +`cp {{[-t|--target-directory]}} {{ruta/al/directorio_de_destino}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Copia enlaces simbólicos sin mantener la referencia al original: +- Copia archivos de texto a otra ubicación, en modo interactivo (pregunta al usuario antes de sobrescribir): -`cp -L {{enlace}} {{ruta/hacia/directorio_destino}}` +`cp {{[-i|--interactive]}} {{*.txt}} {{ruta/al/directorio_de_objetivo}}` + +- Sigue los enlaces simbólicos antes de copiar: + +`cp {{[-L|--dereference]}} {{enlace}} {{ruta/al/directorio_de_destino}}` + +- Utiliza el primer argumento como directorio de destino (útil para `xargs ... | cp -t `): + +`cp {{[-t|--target-directory]}} {{ruta/a/directorio_de_destino}} {{ruta/a/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` diff --git a/pages.es/common/cpdf.md b/pages.es/common/cpdf.md index f997bbf9aa0fd1..1c009706b6f8ec 100644 --- a/pages.es/common/cpdf.md +++ b/pages.es/common/cpdf.md @@ -1,36 +1,36 @@ # cpdf > Interfaz de línea de comandos para manipular documentos PDF existentes de diferentes maneras. -> Más información: . +> Más información: . -- Selecciona las páginas 1, 2, 3 y 6 del documento fuente y escribirlas en el documento objetivo: +- Selecciona las páginas 1, 2, 3 y 6 del documento fuente y las agrega en el documento objetivo: -`cpdf {{ruta/del/documento_fuente.pdf}} {{1-3,6}} -o {{ruta/del/documento_objetivo.pdf}}` +`cpdf {{ruta/al/documento_fuente.pdf}} {{1-3,6}} -o {{ruta/al/documento_objetivo.pdf}}` - Fusiona dos documentos en uno nuevo: -`cpdf -merge {{ruta/del/documento_fuente_uno.pdf}} {{ruta/del/documento_fuente_dos.pdf}} -o {{ruta/del/documento_objetivo.pdf}}` +`cpdf -merge {{ruta/al/documento_fuente_uno.pdf}} {{ruta/al/documento_fuente_dos.pdf}} -o {{ruta/al/documento_objetivo.pdf}}` - Muestra los marcadores del documento: -`cpdf -list-bookmarks {{ruta/del/documento.pdf}}` +`cpdf -list-bookmarks {{ruta/al/documento.pdf}}` -- Divide un documento en trozos de diez páginas, escribiendo fragmento001.pdf, fragmento002.pdf, etc: +- Divide un documento en trozos de diez páginas, escribiendo `fragmento001.pdf`, `fragmento002.pdf`, etc: -`cpdf -split {{ruta/del/documento.pdf}} -o {{ruta/del/fragmento%%%.pdf}} -chunk 10` +`cpdf -split {{ruta/al/documento.pdf}} -o {{ruta/al/fragmento%%%.pdf}} -chunk {{10}}` - Encripta un documento utilizando encriptado 128bit y establece `fred` como la contraseña del propietario y `joe` como la contraseña de usuario: -`cpdf -encrypt 128bit fred joe {{ruta/del/documento_fuente.pdf}} -o {{ruta/del/documento_encriptado.pdf}}` +`cpdf -encrypt {{128bit}} {{fred}} {{joe}} {{ruta/al/documento_fuente.pdf}} -o {{ruta/al/documento_encriptado.pdf}}` - Desencripta un documento utilizando la contraseña del propietario (`fred`): -`cpdf -decrypt {{ruta/del/documento_encriptado.pdf}} owner=fred -o {{ruta/del/documento_desencriptado.pdf}}` +`cpdf -decrypt {{ruta/al/documento_encriptado.pdf}} owner={{fred}} -o {{ruta/al/documento_desencriptado.pdf}}` - Muestra las anotaciones de un documento: -`cpdf -list-annotations {{ruta/del/documento.pdf}}` +`cpdf -list-annotations {{ruta/al/documento.pdf}}` - Crea un nuevo documento, con metadatos, a partir de uno que ya existe: -`cpdf -set-metadata {{ruta/de/los/metadatos.xml}} {{ruta/del/documento_fuente.pdf}} -o {{ruta/del/documento_objetivo.pdf}}` +`cpdf -set-metadata {{ruta/de/los/metadatos.xml}} {{ruta/al/documento_fuente.pdf}} -o {{ruta/al/documento_objetivo.pdf}}` diff --git a/pages.es/common/crackle.md b/pages.es/common/crackle.md new file mode 100644 index 00000000000000..9b301e5461c5a4 --- /dev/null +++ b/pages.es/common/crackle.md @@ -0,0 +1,16 @@ +# crackle + +> Crackea y descifra el cifrado Bluetooth Low Energy (BLE). +> Más información: . + +- Comprueba si las comunicaciones BLE grabadas contienen los paquetes necesarios para recuperar claves temporales (TKs): + +`crackle -i {{ruta/a/entrada.pcap}}` + +- Utiliza la fuerza bruta para recuperar la TK de los eventos de emparejamiento registrados y la utiliza para descifrar todas las comunicaciones posteriores: + +`crackle -i {{ruta/a/entrada.pcap}} -o {{ruta/a/desencriptado.pcap}}` + +- Utiliza la clave a largo plazo (LTK) especificada para descifrar la comunicación grabada: + +`crackle -i {{ruta/a/entrada.pcap}} -o {{ruta/a/descifrar.pcap}} -l {{81b06facd90fe7a6e9bbd9cee59736a7}}` diff --git a/pages.es/common/crane-copy.md b/pages.es/common/crane-copy.md new file mode 100644 index 00000000000000..a54d10432f6144 --- /dev/null +++ b/pages.es/common/crane-copy.md @@ -0,0 +1,24 @@ +# crane copy + +> Copia eficientemente una imagen remota de origen a destino conservando el valor de resumen. +> Más información: . + +- Copia una imagen de origen a destino: + +`crane copy {{origen}} {{destino}}` + +- Copia todas las etiquetas: + +`crane copy {{origen}} {{destino}} {{[-a|--all-tags]}}` + +- Establece el número máximo de copias simultáneas, predeterminados a GOMAXPROCS: + +`crane copy {{origen}} {{destino}} {{[-j|--jobs]}} {{número}}` + +- Evita sobrescribir las etiquetas existentes en el destino: + +`crane copy {{origen}} {{destino}} {{[-n|--no-clobber]}}` + +- Muestra la ayuda: + +`crane copy {{[-h|--help]}}` diff --git a/pages.es/common/crane-cp.md b/pages.es/common/crane-cp.md new file mode 100644 index 00000000000000..d4ee64a5bf8cbd --- /dev/null +++ b/pages.es/common/crane-cp.md @@ -0,0 +1,7 @@ +# crane cp + +> Este comando es un alias de `crane copy`. + +- Vea la documentación para el comando original: + +`tldr crane copy` diff --git a/pages.es/common/cron.md b/pages.es/common/cron.md new file mode 100644 index 00000000000000..d04a1ce90ca02d --- /dev/null +++ b/pages.es/common/cron.md @@ -0,0 +1,8 @@ +# cron + +> Un programador del sistema para ejecutar trabajos o tareas desatendidas. +> El comando para enviar, editar o borrar entradas en `cron` se llama `crontab`. + +- Vea documentación sobre la gestión de entradas de `cron`: + +`tldr crontab` diff --git a/pages.es/common/crontab.md b/pages.es/common/crontab.md new file mode 100644 index 00000000000000..16f985396315fa --- /dev/null +++ b/pages.es/common/crontab.md @@ -0,0 +1,36 @@ +# crontab + +> Programa trabajos recurrentes (cron jobs) para ejecutarse a intervalos de tiempo para el usuario actual. +> Más información: . + +- Edita el archivo crontab para el usuario actual: + +`crontab -e` + +- Edita el archivo crontab para un usuario específico: + +`sudo crontab -e -u {{usuario}}` + +- Reemplaza el crontab actual con el contenido del archivo dado: + +`crontab {{ruta/al/archivo}}` + +- Muestra una lista de cron jobs existentes para el usuario actual: + +`crontab -l` + +- Elimina todos los cron jobs para el usuario actual: + +`crontab -r` + +- Ejemplo de entrada contrab que ejecuta un comando a las 10:00 cada día (* significa cualquier valor): + +`0 10 * * * {{comando_a_ejecutar}}` + +- Ejemplo de entrada crontab, que ejecuta un comando cada 10 minutos: + +`*/10 * * * * {{comando_a_ejecutar}}` + +- Ejemplo de entrada crontab, que ejecuta un script a las 02:30 cada viernes: + +`30 2 * * Fri /{{/ruta/a/script.sh}}` diff --git a/pages.es/common/ctags.md b/pages.es/common/ctags.md new file mode 100644 index 00000000000000..6db7e0b2ba0dad --- /dev/null +++ b/pages.es/common/ctags.md @@ -0,0 +1,20 @@ +# ctags + +> Genera un archivo de índice (o etiqueta) de objetos de lenguaje que se encuentran en los archivos de código fuente de muchos lenguajes de programación populares. +> Más información: . + +- Genera etiquetas para un solo archivo y las envía a un archivo llamado "tags" en el directorio actual, sobrescribiendo el archivo si existe: + +`ctags {{ruta/al/archivo}}` + +- Genera etiquetas para todos los archivos en el directorio actual y las envía a un archivo específico, sobrescribiendo el archivo si existe: + +`ctags -f {{ruta/al/archivo}} *` + +- Genera etiquetas para todos los archivos en el directorio actual y todos los subdirectorios: + +`ctags --recurse` + +- Genera etiquetas para un solo archivo y las envía con el número de línea inicial y el número de línea final en formato JSON: + +`ctags --fields=+ne --output-format=json {{ruta/al/archivo}}` diff --git a/pages.es/common/cut.md b/pages.es/common/cut.md new file mode 100644 index 00000000000000..07857b2487e338 --- /dev/null +++ b/pages.es/common/cut.md @@ -0,0 +1,20 @@ +# cut + +> Corta campos de `stdin` o archivos. +> Más información: . + +- Imprime un rango específico de caracteres/campos de cada línea: + +`{{comando}} | cut --{{characters|field}} {{1|1,10|1-10|1-|-10}}` + +- Imprime un rango de campos de cada línea con un [d]elimitador específico: + +`{{comando}} | cut --delimiter "{{,}}" --fields {{1}}` + +- Imprime un rango de [c]aracteres de cada línea del archivo específico: + +`cut --characters {{1}} {{ruta/al/archivo}}` + +- Imprime [c]ampos específicos de líneas terminadas en `NUL` (por ejemplo, como en `find . -print0`) en lugar de nuevas líneas: + +`{{comando}} | cut --zero-terminated --fields {{1}}` diff --git a/pages.es/common/cypher-shell.md b/pages.es/common/cypher-shell.md new file mode 100644 index 00000000000000..e2decbfe66151c --- /dev/null +++ b/pages.es/common/cypher-shell.md @@ -0,0 +1,33 @@ +# cypher-shell + +> Abre una sesión interactiva y ejecuta consultas Cypher contra una instancia Neo4j. +> Vea también: `neo4j-admin`, `mysql`. +> Más información: . + +- Conéctate a una instancia local en el puerto por defecto (`neo4j://localhost:7687`): + +`cypher-shell` + +- Conéctate a una instancia remota: + +`cypher-shell --address neo4j://{{host}}:{{puerto}}` + +- Conéctate y proporciona credenciales de seguridad: + +`cypher-shell --username {{usuario}} --password {{contraseña}}` + +- Conéctate a una base de datos específica: + +`cypher-shell --database {{nombre_base_de_datos}}` + +- Ejecuta sentencias Cypher en un archivo y lo cierra: + +`cypher-shell --file {{ruta/al/archivo.cypher}}` + +- Activa el registro en un archivo: + +`cypher-shell --log {{ruta/al/archivo.log}}` + +- Muestra ayuda: + +`cypher-shell --help` diff --git a/pages.es/common/d2.md b/pages.es/common/d2.md new file mode 100644 index 00000000000000..9f31f504bf7730 --- /dev/null +++ b/pages.es/common/d2.md @@ -0,0 +1,29 @@ +# d2 + +> Un lenguaje moderno de scripting de diagramas que convierte texto en diagramas. +> Nota: el archivo de salida admite formatos de archivo SVG y PNG. +> Más información: . + +- Compila y renderiza un archivo fuente D2 en un archivo de salida: + +`d2 {{ruta/al/archivo_de_entrada.d2}} {{ruta/al/archivo_de_salida.ext}}` + +- Ve en directo los cambios realizados en un archivo fuente D2 en el navegador web predeterminado: + +`d2 --watch {{ruta/al/archivo_de_entrada.d2}} {{ruta/al/archivo_de_salida.ext}}` + +- Formatea un archivo fuente D2: + +`d2 fmt {{ruta/al/archivo_de_entrada.d2}}` + +- Lista los temas disponibles: + +`d2 themes` + +- Usa un [t]ema diferente para el archivo de salida (primero enumera los temas disponibles para obtener el `theme_id` deseado): + +`d2 --theme {{identificador_tema}} {{ruta/al/archivo_de_entrada.d2}} {{ruta/al/archivo_de_salida.ext}}` + +- Haz que los diagramas renderizados parezcan bocetos hechos a mano: + +`d2 --sketch true {{ruta/al/archivo_de_entrada.d2}} {{ruta/al/archivo_de_salida.ext}}` diff --git a/pages.es/common/dbeaver.md b/pages.es/common/dbeaver.md new file mode 100644 index 00000000000000..e5924ff88ebfe5 --- /dev/null +++ b/pages.es/common/dbeaver.md @@ -0,0 +1,32 @@ +# dbeaver + +> Un cliente SQL GUI que soporta muchas bases de datos. +> Más información: . + +- Abre `DBeaver`: + +`dbeaver` + +- Abre `DBeaver` conectándose a una base de datos específica: + +`dbeaver {{[-con|--connect]}} {{database}}` + +- Fuerza la creación de una nueva instancia: + +`dbeaver --newInstance` + +- Detiene la instancia en ejecución: + +`dbeaver --quit` + +- Cierra todas las pestañas de dbeaver: + +`dbeaver --closeTabs` + +- Coloca `DBeaver` en la parte superior de las aplicaciones: + +`dbeaver --bringToFront` + +- Muestra la ayuda: + +`dbeaver --help` diff --git a/pages.es/common/dbx.md b/pages.es/common/dbx.md new file mode 100644 index 00000000000000..3f5dba5a9d61d9 --- /dev/null +++ b/pages.es/common/dbx.md @@ -0,0 +1,21 @@ +# dbx + +> Interactúa con la plataforma Databricks. +> Nota: esta herramienta ha sido retirada y se recomienda utilizar Databricks Asset Bundles en su lugar. +> Más información: . + +- Crea un nuevo proyecto `dbx` en el directorio de trabajo actual: + +`dbx configure --profile {{DEFAULT}}` + +- Sincroniza archivos locales de la ruta especificada a DBFS y vigila los cambios: + +`dbx sync dbfs --source {{ruta/a/directorio}} --dest {{ruta/a/directorio_remoto}}` + +- Despliega el flujo de trabajo especificado en el almacenamiento de artefactos: + +`dbx deploy {{nombre_del_flujo_de_trabajo}}` + +- Inicia el flujo de trabajo especificado después de desplegarlo: + +`dbx launch {{nombre_del_flujo_de_trabajo}}` diff --git a/pages.es/common/declare.md b/pages.es/common/declare.md new file mode 100644 index 00000000000000..8e0325e148d89f --- /dev/null +++ b/pages.es/common/declare.md @@ -0,0 +1,32 @@ +# declare + +> Declara variables y les da atributos. +> Más información: . + +- Declara una variable de cadena con el valor especificado: + +`declare {{variable}}="{{valor}}"` + +- Declara una variable entera con el valor especificado: + +`declare -i {{variable}}="{{valor}}"` + +- Declare una variable de matriz con el valor especificado: + +`declare -a {{variable}}=({{artículo_a artículo_b artículo_c}})` + +- Declare una variable de matriz asociativa con el valor especificado: + +`declare -A {{variable}}=({{[key_a]=item_a [key_b]=item_b [key_c]=item_c}})` + +- Declara una variable de cadena de sólo lectura con el valor especificado: + +`declare -r {{variable}}="{{valor}}"` + +- Declara una variable global dentro de una función con el valor especificado: + +`declare -g {{variable}}="{{valor}}"` + +- Imprime la definición de una función: + +`declare -f {{nombre_función}}` diff --git a/pages.es/common/deno.md b/pages.es/common/deno.md new file mode 100644 index 00000000000000..7cedac9d514d1a --- /dev/null +++ b/pages.es/common/deno.md @@ -0,0 +1,37 @@ +# deno + +> Un entorno de ejecución seguro para JavaScript, TypeScript y WebAssembly. +> Incluye gestión de dependencias usando `npm` o `jsr` y herramientas como bench, bundle, doc y coverage. +> Más información: . + +- Inicia un REPL (shell interactivo, también conocido como Read-Eval-Print Loop): + +`deno` + +- Inicia un nuevo proyecto llamado sample y lo prueba: + +`deno init sample && cd sample && deno test` + +- Ejecuta un archivo de forma segura. Preguntará (si es necesario) para permitir net, read, etc: + +`deno run {{ruta/al/archivo.ts}}` + +- Ejecuta un archivo con permisos explícitos o permite todo (solo si confías en la fuente): + +`deno run {{[--allow-env|--allow-net|--allow-write|--allow-all]}} {{jsr:@deno/deployctl}}` + +- Lista y ejecuta tareas desde `deno.json` o scripts desde `package.json`: + +`deno task` + +- Instala dependencias listadas en `deno.json` o `package.json` (también bloquea archivos): + +`deno install` + +- Comprueba tipos, formato y lint (corrige si es posible): + +`deno check && deno fmt && deno lint --fix` + +- Compila el script, las dependencias importadas y el entorno de ejecución en un ejecutable independiente: + +`deno compile {{ruta/al/archivo.ts}}` diff --git a/pages.es/common/devenv.md b/pages.es/common/devenv.md new file mode 100644 index 00000000000000..534fc587993a41 --- /dev/null +++ b/pages.es/common/devenv.md @@ -0,0 +1,28 @@ +# devenv + +> Entornos de desarrollo rápidos, declarativos, reproducibles y componibles utilizando Nix. +> Más información: . + +- Inicializa el entorno: + +`devenv init` + +- Entra en el entorno de desarrollo con hermeticidad relajada (estado de ser hermético): + +`devenv shell --impure` + +- Obtén información detallada sobre el entorno actual: + +`devenv info --verbose` + +- Inicia procesos con `devenv`: + +`devenv up --config {{ruta/al/archivo}}` + +- Limpia las variables de entorno y vuelve a entrar en el intérprete de comandos en el modo sin conexión: + +`devenv --clean --offline` + +- Borra las generaciones anteriores del intérprete de comandos: + +`devenv gc` diff --git a/pages.es/common/df.md b/pages.es/common/df.md new file mode 100644 index 00000000000000..12d6493281fddc --- /dev/null +++ b/pages.es/common/df.md @@ -0,0 +1,20 @@ +# df + +> Muestra una visión general del uso del espacio en disco del sistema de archivos. +> Más información: . + +- Muestra todos los sistemas de ficheros y su uso de disco usando unidades de 512 bytes: + +`df` + +- Muestra el sistema de archivos y su uso del disco que contiene el archivo o directorio dado: + +`df {{ruta/al/archivo_o_directorio}}` + +- Utiliza unidades de 1024 bytes en las columnas de cifras de espacio: + +`df -k` + +- Muestra la información de forma portátil (formato POSIX): + +`df -P` diff --git a/pages.es/common/diff.md b/pages.es/common/diff.md new file mode 100644 index 00000000000000..bd9529e734d6ec --- /dev/null +++ b/pages.es/common/diff.md @@ -0,0 +1,36 @@ +# diff + +> Compara archivos y directorios. +> Más información: . + +- Compara archivos (lista los cambios para convertir `archivo_viejo` en `archivo_nuevo`): + +`diff {{archivo_viejo}} {{archivo_nuevo}}` + +- Compara archivos, ignorando los espacios en blanco: + +`diff {{[-w|--ignore-all-space]}} {{archivo_viejo}} {{archivo_nuevo}}` + +- Compara archivos, mostrando las diferencias lado a lado: + +`diff {{[-y|--side-by-side]}} {{archivo_viejo}} {{archivo_nuevo}}` + +- Compara archivos, mostrando las diferencias en formato unificado (como el que usa `git diff`): + +`diff {{[-u|--unified]}} {{archivo_viejo}} {{archivo_nuevo}}` + +- Compara directorios de forma recursiva (muestra los nombres de los archivos/directorios que difieran y los cambios realizados en los archivos): + +`diff {{[-r|--recursive]}} {{directorio_viejo}} {{directorio_nuevo}}` + +- Compara directorios, mostrando solo los nombres de los archivos que difieren: + +`diff {{[-r|--recursive]}} {{[-q|--brief]}} {{directorio_viejo}} {{directorio_nuevo}}` + +- Crea un archivo de revisión para Git a partir de las diferencias entre dos archivos de texto, tratando los archivos inexistentes como vacíos: + +`diff {{[-a|--text]}} {{[-u|--unified]}} {{[-N|--new-file]}} {{archivo_viejo}} {{archivo_nuevo}} > {{diff.patch}}` + +- Compara archivos, mostrando la salida en color y se esfuerza por encontrar el conjunto más pequeño de cambios: + +`diff {{[-d|--minimal]}} --color=always {{archivo_viejo}} {{archivo_nuevo}}` diff --git a/pages.es/common/difft.md b/pages.es/common/difft.md new file mode 100644 index 00000000000000..549d74336bdf9c --- /dev/null +++ b/pages.es/common/difft.md @@ -0,0 +1,33 @@ +# difft + +> Compara archivos o directorios en base de la sintaxis del lenguaje de programación. +> Vea también: `delta`, `diff`. +> Más información: . + +- Compara dos archivos o directorios: + +`difft {{ruta/al/archivo_o_directorio1}} {{ruta/al/archivo_o_directorio2}}` + +- Informa únicamente diferencias entre los archivos: + +`difft --check-only {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Especifica el modo de visualización (por defecto es `side-by-side`): + +`difft --display {{side-by-side|side-by-side-show-both|inline|json}} {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Ignora comentarios al comparar: + +`difft --ignore-comments {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Activa o desactiva el resaltado sintáctico del código fuente (por defecto está activado): + +`difft --syntax-highlight {{on|off}} {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Silenciosamente omite los archivos que no hayan cambiado: + +`difft --skip-unchanged {{ruta/al/archivo_o_directorio1}} {{ruta/al/archivo_o_directorio2}}` + +- Lista todos los lenguajes de programación soportados por la herramienta, junto con sus extensiones: + +`difft --list-languages` diff --git a/pages.es/common/dig.md b/pages.es/common/dig.md new file mode 100644 index 00000000000000..c90a62f958ca30 --- /dev/null +++ b/pages.es/common/dig.md @@ -0,0 +1,36 @@ +# dig + +> Utilidad de búsqueda DNS. +> Más información: . + +- Busca la(s) IP(s) asociada(s) a un nombre de host (registros A): + +`dig +short {{example.com}}` + +- Muestra una respuesta detallada para un dominio dado (registros A): + +`dig +noall +answer {{example.com}}` + +- Consulta un tipo de registro DNS específico asociado a un nombre de dominio determinado: + +`dig +short {{example.com}} {{A|MX|TXT|CNAME|NS}}` + +- Especifica un servidor DNS alternativo para consultar y, opcionalmente, utiliza DNS sobre TLS (DoT): + +`dig {{+tls}} @{{1.1.1.1|8.8.8.8|9.9.9.9|...}} {{example.com}}` + +- Realiza una búsqueda DNS inversa en una dirección IP (registro PTR): + +`dig -x {{8.8.8.8}}` + +- Busca servidores de nombres autoritativos para la zona y muestra los registros SOA: + +`dig +nssearch {{example.com}}` + +- Realiza consultas iterativas y muestra la ruta de rastreo completa para resolver un nombre de dominio: + +`dig +trace {{example.com}}` + +- Consulta un servidor DNS a través de un [p]uerto no estándar utilizando el protocolo TCP: + +`dig +tcp -p {{puerto}} @{{dns_servidor_ip}} {{example.com}}` diff --git a/pages.es/common/dircolors.md b/pages.es/common/dircolors.md new file mode 100644 index 00000000000000..667e8a00342c3e --- /dev/null +++ b/pages.es/common/dircolors.md @@ -0,0 +1,28 @@ +# dircolors + +> Comandos de salida para establecer la variable de entorno LS_COLOR y el estilo `ls`, `dir`, etc. +> Más información: . + +- Comandos de salida para establecer LS_COLOR usando los colores por defecto: + +`dircolors` + +- Muestra cada tipo de fichero con el color con el que aparecerían en `ls`: + +`dircolors --print-ls-colors` + +- Comandos de salida para establecer LS_COLOR utilizando los colores de un archivo: + +`dircolors {{ruta/al/archivo}}` + +- Comandos de salida para el intérprete de comandos Bourne: + +`dircolors {{[-b|--bourne-shell]}}` + +- Comandos de salida para el intérprete de comandos C: + +`dircolors {{[-c|--c-shell]}}` + +- Visualiza los colores predeterminados según los tipos de archivo y extensiones: + +`dircolors {{[-p|--print-database]}}` diff --git a/pages.es/common/dirname.md b/pages.es/common/dirname.md new file mode 100644 index 00000000000000..d353ef484f45cc --- /dev/null +++ b/pages.es/common/dirname.md @@ -0,0 +1,16 @@ +# dirname + +> Calcula el directorio padre de una ruta de archivo o directorio. +> Más información: . + +- Calcula el directorio padre de una ruta dada: + +`dirname {{ruta/a/archivo_o_directorio}}` + +- Calcula el directorio padre de múltiples rutas: + +`dirname {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Delimita la salida con un carácter NUL en lugar de una nueva línea (útil cuando se combina con `xargs`): + +`dirname {{[-z|--zero]}} {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` diff --git a/pages.es/common/djxl.md b/pages.es/common/djxl.md new file mode 100644 index 00000000000000..8d8cad3afb438b --- /dev/null +++ b/pages.es/common/djxl.md @@ -0,0 +1,13 @@ +# djxl + +> Descomprime imágenes JPEG XL. +> Las extensiones de salida aceptadas son PNG, APNG, JPEG, EXR, PGM, PPM, PNM, PFM, PAM, EXIF, XMP y JUMBF. +> Más información: . + +- Descomprime una imagen JPEG XL a otro formato: + +`djxl {{ruta/a/imagen.jxl}} {{ruta/a/salida.ext}}` + +- Muestra una página de ayuda muy detallada: + +`djxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}` diff --git a/pages.es/common/dnsx.md b/pages.es/common/dnsx.md new file mode 100644 index 00000000000000..434b0d50022158 --- /dev/null +++ b/pages.es/common/dnsx.md @@ -0,0 +1,38 @@ +# dnsx + +> Un equipo de herramientas de DNS rápido y multipropósito para ejecutar múltiples consultas DNS. +> Nota: la entrada a `dnsx` necesita ser pasada a través de `stdin` (tubería `|`) en algunos casos. +> Vea también: `dig`, `dog`, `dnstracer`. +> Más información: . + +- Consulta el registro A de un (sub)dominio y muestra la [re]spuesta recibida: + +`echo {{example.com}} | dnsx -a {{[-re|-resp]}}` + +- Consulta todos los registros DNS (A, AAAA, CNAME, NS, TXT, SRV, PTR, MX, SOA, AXFR y CAA): + +`dnsx -recon {{[-re|-resp]}} <<< {{example.com}}` + +- Consulta un tipo específico de registro DNS: + +`echo {{example.com}} | dnsx {{[-re|-resp]}} -{{a|aaaa|cname|ns|txt|srv|ptr|mx|soa|any|axfr|caa}}` + +- Muestra solo la respuesta (no muestra el dominio o subdominio consultado): + +`echo {{example.com}} | dnsx {{[-ro|-resp-only]}}` + +- Muestra la respuesta sin procesar de una consulta, especificando los solucionadores a utilizar y el número de intentos en caso de haber errores: + +`echo {{example.com}} | dnsx -{{debug|raw}} {{[-r|-resolver]}} {{1.1.1.1,8.8.8.8,...}} -retry {{número}}` + +- Aplica fuerza bruta a los registros DNS utilizando un marcador de posición: + +`dnsx {{[-d|-domain]}} {{FUZZ.example.com}} {{[-w|-wordlist]}} {{ruta/a/lista_de_palabras.txt}} {{[-re|-resp]}}` + +- Aplica fuerza bruta a registros DNS a partir de una lista de dominios y listas de palabras, adjuntando la salida a un archivo sin códigos de color: + +`dnsx {{[-d|-domain]}} {{ruta/a/dominio.txt}} {{[-w|-wordlist]}} {{ruta/a/lista_de_palabras.txt}} {{[-re|-resp]}} {{[-o|-output]}} {{ruta/a/salida.txt}} {{[-nc|-no-color]}}` + +- Extrae registros `CNAME` desde una lista de subdominios, con una velocidad límite de consultas DNS por segundo: + +`subfinder -silent {{[-d|-domain]}} {{example.com}} | dnsx -cname {{[-re|-resp]}} {{[-rl|-rate-limit]}} {{número}}` diff --git a/pages.es/common/dockdiver.md b/pages.es/common/dockdiver.md new file mode 100644 index 00000000000000..08499c20f08df7 --- /dev/null +++ b/pages.es/common/dockdiver.md @@ -0,0 +1,28 @@ +# dockdiver + +> Una herramienta para interactuar con registros Docker, incluyendo listar y volcar repositorios. +> Más información: . + +- Lista todos los repositorios en un registro Docker: + +`dockdiver -url {{http://target}} -list` + +- Vuelca un repositorio específico al directorio de salida por defecto (docker_dump): + +`dockdiver -url {{http://target}} -dump {{nombre_repositorio}}` + +- Vuelca todos los repositorios con autenticación básica: + +`dockdiver -url {{http://example.com}} -dump-all -username {{nombre_usuario}} -password {{contraseña}}` + +- Vuelca un repositorio con un puerto personalizado y un límite de velocidad: + +`dockdiver -url http://example.com -dump {{nombre_repositorio}} -port {{puerto}} -rate {{solicitudes_por_segundo}} -dir {{ruta/a/directorio_salida}}` + +- Vuelca todos los repositorios con token de portador para autorización: + +`dockdiver -url {{http://example.com}} -dump-all -bearer {{bearer_token}}` + +- Añade cabeceras personalizadas como JSON (por ejemplo, '{"X-Custom": "Value"}'): + +`dockdiver -url {{http://example.com}} -list -headers {{'{"X-Custom": "Value"}'}}` diff --git a/pages.es/common/docker-compose.md b/pages.es/common/docker-compose.md index 03c7c1c660296f..1f76ebc76206b0 100644 --- a/pages.es/common/docker-compose.md +++ b/pages.es/common/docker-compose.md @@ -1,32 +1,36 @@ -# docker-compose +# docker compose -> Ejecuta y gestiona múltiples contenedores Docker. -> Más información: . +> Ejecuta y gestiona aplicaciones Docker multicontenedor. +> Más información: . -- Lista los contenedores en ejecución: +- Lista todos los contenedores en ejecución: -`docker-compose ps` +`docker compose ps` -- Crea e inicia todos los contenedores en segundo plano usando el archivo `docker-compose.yml` en el directorio actual: +- Crea e inicia todos los contenedores en segundo plano usando un archivo `docker-compose.yml` desde el directorio actual: -`docker-compose up -d` +`docker compose up {{[-d|--detach]}}` -- Inicia todos los contenedores y reconstruye si es ncesario: +- Inicia todos los contenedores, y se reconstruye si es necesario: -`docker-compose up --build` +`docker compose up --build` -- Inicia todos los contenedores usando un archivo compose alternativo: +- Inicia todos los contenedores especificando un nombre de proyecto y utilizando un archivo de composición alternativo: -`docker-compose --file {{ruta/al/directorio}} up` +`docker compose {{[-p|--project-name]}} {{nombre_proyecto}} {{[-f|--file]}} {{ruta/al/archivo}} up` - Detiene todos los contenedores en ejecución: -`docker-compose stop` +`docker compose stop` - Detiene y elimina todos los contenedores, redes, imágenes y volúmenes: -`docker-compose down --rmi all --volumes` +`docker compose down --rmi all {{[-v|--volumes]}}` - Sigue los registros de todos los contenedores: -`docker-compose logs --follow` +`docker compose logs {{[-f|--follow]}}` + +- Sigue los registros de un contenedor específico: + +`docker compose logs {{[-f|--follow]}} {{nombre_del_contenedor}}` diff --git a/pages.es/common/docker-container-diff.md b/pages.es/common/docker-container-diff.md new file mode 100644 index 00000000000000..33815cdc8f60b1 --- /dev/null +++ b/pages.es/common/docker-container-diff.md @@ -0,0 +1,7 @@ +# docker container diff + +> Este comando es un alias de `docker diff`. + +- Muestra la documentación del comando original: + +`tldr docker diff` diff --git a/pages.es/common/docker-container-remove.md b/pages.es/common/docker-container-remove.md new file mode 100644 index 00000000000000..89589e3fe34af0 --- /dev/null +++ b/pages.es/common/docker-container-remove.md @@ -0,0 +1,7 @@ +# docker container remove + +> Este comando es un alias de `docker rm`. + +- Vea la documentación para el comando original: + +`tldr docker rm` diff --git a/pages.es/common/docker-container-rename.md b/pages.es/common/docker-container-rename.md new file mode 100644 index 00000000000000..e6c6866d32e710 --- /dev/null +++ b/pages.es/common/docker-container-rename.md @@ -0,0 +1,7 @@ +# docker container rename + +> Este comando es un alias de `docker rename`. + +- Vea la documentación para el comando original: + +`tldr docker rename` diff --git a/pages.es/common/docker-container-rm.md b/pages.es/common/docker-container-rm.md new file mode 100644 index 00000000000000..50ba944b3cb2c7 --- /dev/null +++ b/pages.es/common/docker-container-rm.md @@ -0,0 +1,7 @@ +# docker container rm + +> Este comando es un alias de `docker rm`. + +- Vea la documentación para el comando original: + +`tldr docker rm` diff --git a/pages.es/common/docker-container-top.md b/pages.es/common/docker-container-top.md new file mode 100644 index 00000000000000..ddc167d73be7d9 --- /dev/null +++ b/pages.es/common/docker-container-top.md @@ -0,0 +1,7 @@ +# docker container top + +> Este comando es un alias de `docker top`. + +- Vea la documentación para el comando original: + +`tldr docker top` diff --git a/pages.es/common/docker-diff.md b/pages.es/common/docker-diff.md new file mode 100644 index 00000000000000..e0f6cc1e14b694 --- /dev/null +++ b/pages.es/common/docker-diff.md @@ -0,0 +1,12 @@ +# docker diff + +> Inspecciona cambios en archivos o directorios en el sistema de archivos de un contenedor. +> Más información: . + +- Inspecciona los cambios en un contenedor desde que se creó: + +`docker diff {{contenedor}}` + +- Muestra la ayuda: + +`docker diff --help` diff --git a/pages.es/common/docker-rename.md b/pages.es/common/docker-rename.md new file mode 100644 index 00000000000000..dcd1256dd0fcf5 --- /dev/null +++ b/pages.es/common/docker-rename.md @@ -0,0 +1,12 @@ +# docker rename + +> Renombra un contenedor. +> Más información: . + +- Renombra un contenedor: + +`docker rename {{contenedor}} {{nuevo_nombre}}` + +- Muestra la ayuda: + +`docker rename --help` diff --git a/pages.es/common/docker-rm.md b/pages.es/common/docker-rm.md new file mode 100644 index 00000000000000..4a166cb8687e13 --- /dev/null +++ b/pages.es/common/docker-rm.md @@ -0,0 +1,20 @@ +# docker rm + +> Elimina contenedores. +> Más información: . + +- Elimina los contenedores: + +`docker rm {{contenedor1 contenedor2 ...}}` + +- Elimina de manera forzada contenedores: + +`docker rm {{[-f|--force]}} {{contenedor1 contenedor2 ...}}` + +- Elimina un contenedor y sus volúmenes: + +`docker rm {{[-v|--volumes]}} {{contenedor}}` + +- Muestra la ayuda: + +`docker rm {{[-h|--help]}}` diff --git a/pages.es/common/docker-top.md b/pages.es/common/docker-top.md new file mode 100644 index 00000000000000..398cbae8127b37 --- /dev/null +++ b/pages.es/common/docker-top.md @@ -0,0 +1,12 @@ +# docker top + +> Muestra los procesos que se están ejecutando en un contenedor. +> Más información: . + +- Muestra los procesos que se están ejecutando en un contenedor: + +`docker top {{contenedor}}` + +- Muestra la ayuda: + +`docker top --help` diff --git a/pages.es/common/docker.md b/pages.es/common/docker.md index 83965d0a198bcd..629a2e81d802cc 100644 --- a/pages.es/common/docker.md +++ b/pages.es/common/docker.md @@ -1,15 +1,12 @@ # docker > Administra contenedores e imágenes de Docker. -> Más información: . - -- Lista los contenedores de Docker en ejecución: - -`docker ps` +> Algunos subcomandos, como `run`, tienen su propia documentación de uso. +> Más información: . - Lista todos los contenedores de Docker (en ejecución y detenidos): -`docker ps -a` +`docker ps {{[-a|--all]}}` - Inicia un contenedor desde una imagen con un nombre personalizado: @@ -23,14 +20,18 @@ `docker pull {{imagen}}` -- Inicia una línea de Comandos dentro de un contenedor en ejecución: +- Muestra la lista de imágenes descargadas: + +`docker images` + +- Inicia una línea de comandos dentro de un contenedor en ejecución: -`docker exec -it {{nombre_de_contenedor}} {{sh}}` +`docker exec {{[-it|--interactive --tty]}} {{nombre_de_contenedor}} {{sh}}` - Elimina un contenedor detenido: `docker rm {{nombre_de_contenedor}}` -- Obtiene y sigue los registros de un contenedor: +- Obtén y sigue los registros de un contenedor: -`docker logs -f {{nombre_de_contenedor}}` +`docker logs {{[-f|--follow]}} {{nombre_de_contenedor}}` diff --git a/pages.es/common/doggo.md b/pages.es/common/doggo.md new file mode 100644 index 00000000000000..baf3d6ee0c090e --- /dev/null +++ b/pages.es/common/doggo.md @@ -0,0 +1,25 @@ +# doggo + +> Cliente DNS para Humanos. +> Escrito en Golang. +> Más información: . + +- Realiza una simple búsqueda DNS: + +`doggo {{example.com}}` + +- Consulta registros MX usando un servidor de nombres específico: + +`doggo MX {{codeberg.org}} @{{1.1.1.2}}` + +- Utiliza DNS sobre HTTPS: + +`doggo {{example.com}} @{{https://dns.quad9.net/dns-query}}` + +- Salida en formato JSON: + +`doggo {{example.com}} {{[-J|--json]}} | jq '{{.responses[0].answers[].address}}'` + +- Realiza una búsqueda DNS inversa: + +`doggo {{[-x|--reverse]}} {{8.8.4.4}} --short` diff --git a/pages.es/common/dolt-gc.md b/pages.es/common/dolt-gc.md new file mode 100644 index 00000000000000..4423667ff9dee8 --- /dev/null +++ b/pages.es/common/dolt-gc.md @@ -0,0 +1,12 @@ +# dolt gc + +> Busca en el repositorio los datos que ya no se referencian ni necesitan. +> Más información: . + +- Limpia datos no referenciados del repositorio: + +`dolt gc` + +- Inicia un proceso de recolección de basura más rápido pero menos exhaustivo: + +`dolt gc --shallow` diff --git a/pages.es/common/doppler.md b/pages.es/common/doppler.md new file mode 100644 index 00000000000000..f87bbce8cbe31a --- /dev/null +++ b/pages.es/common/doppler.md @@ -0,0 +1,29 @@ +# doppler + +> Gestiona variables de entorno a través de diferentes entornos usando Doppler. +> Algunos subcomandos como `run` y `secrets` tienen su propia documentación de uso. +> Más información: . + +- Configura Doppler CLI en el directorio actual: + +`doppler setup` + +- Configura el proyecto Doppler y la configuración en el directorio actual: + +`doppler setup` + +- Ejecuta un comando con secretos inyectados en el entorno: + +`doppler run --command {{comando}}` + +- Visualiza la lista de proyectos: + +`doppler projects` + +- Visualiza los secretos del proyecto actual: + +`doppler secrets` + +- Abre el panel de control de doppler en el navegador: + +`doppler open` diff --git a/pages.es/common/dotenvx.md b/pages.es/common/dotenvx.md new file mode 100644 index 00000000000000..61e579942c4135 --- /dev/null +++ b/pages.es/common/dotenvx.md @@ -0,0 +1,32 @@ +# dotenvx + +> Un `dotenv` mejor, del creador de `dotenv`. +> Más información: . + +- Ejecuta un comando con variables de entorno desde un archivo `.env`: + +`dotenvx run -- {{comando}}` + +- Ejecuta un comando con variables de entorno desde un archivo `.env` específico: + +`dotenvx run -f {{ruta/al/archivo.env}} -- {{command}}` + +- Establece una variable de entorno con cifrado: + +`dotenvx set {{clave}} {{valor}}` + +- Establece una variable de entorno sin encriptación: + +`dotenvx set {{clave}} {{valor}} --plain` + +- Devuelve las variables de entorno definidas en un archivo `.env`: + +`dotenvx get` + +- Devuelve el valor de una variable de entorno definida en un archivo `.env`: + +`dotenvx get {{clave}}` + +- Devuelve todas las variables de entorno de los archivos `.env` y OS: + +`dotenvx get --all` diff --git a/pages.es/common/dotnet-build.md b/pages.es/common/dotnet-build.md index a8bb591d463be9..cac97243331d14 100644 --- a/pages.es/common/dotnet-build.md +++ b/pages.es/common/dotnet-build.md @@ -1,7 +1,7 @@ # dotnet build > Compila una aplicación .NET y sus dependencias. -> Más información: . +> Más información: . - Compila el proyecto o solución en el directorio actual: diff --git a/pages.es/common/dotnet-publish.md b/pages.es/common/dotnet-publish.md index 2018e5af14b685..df8c149018de91 100644 --- a/pages.es/common/dotnet-publish.md +++ b/pages.es/common/dotnet-publish.md @@ -1,23 +1,23 @@ # dotnet publish > Publica una aplicación .NET y sus dependencias en una carpeta para la implementación en un sistema de hospedaje. -> Más información: . +> Más información: . - Compila un proyecto .NET en modo de lanzamiento: -`dotnet publish --configuration {{Release}} {{ruta/al/archivo_del_proyecto}}` +`dotnet publish --configuration Release {{ruta/al/archivo_del_proyecto}}` - Publica el entorno de ejecución de .NET Core con la aplicación para un entorno de ejecución específico: `dotnet publish --self-contained true --runtime {{identificador_del_entorno_en_tiempo_de_ejecución}} {{ruta/al/archivo_del_proyecto}}` -- Empaqueta la aplicación en un archivo ejecutable unico de una plataforma específica: +- Empaqueta la aplicación en un archivo ejecutable único de una plataforma específica: `dotnet publish --runtime {{identificador_del_entorno_en_tiempo_de_ejecucución}} -p:PublishSingleFile=true {{ruta/al/archivo_del_proyecto}}` - Recorta las bibliotecas no usadas para reducir el tamaño de la aplicación: -`dotnet publish --self-contained true --runtime {{identificador_del_entorno_de_tiempo_de_ejecución}} -p:PublishTrimmed={{true}} {{ruta/al/archivo_del_proyecto}}` +`dotnet publish --self-contained true --runtime {{identificador_del_entorno_de_tiempo_de_ejecución}} -p:PublishTrimmed=true {{ruta/al/archivo_del_proyecto}}` - Compila un proyecto .NET sin restaurar las dependencias: diff --git a/pages.es/common/dotnet-restore.md b/pages.es/common/dotnet-restore.md index 4ffc8b942e3ad3..0890b494e3dcba 100644 --- a/pages.es/common/dotnet-restore.md +++ b/pages.es/common/dotnet-restore.md @@ -1,7 +1,7 @@ # dotnet restore -> Restarua las dependencias y herramientas de un proyecto .NET. -> Más información: . +> Restaura las dependencias y herramientas de un proyecto .NET. +> Más información: . - Restaura dependencias para un proyecto o solución .NET en el directorio actual: @@ -11,7 +11,7 @@ `dotnet restore {{ruta/al/proyecto_o_solución}}` -- Restaura depedencias sin almacenar las solicitudes HTTP en caché: +- Restaura dependencias sin almacenar las solicitudes HTTP en caché: `dotnet restore --no-cache` @@ -25,4 +25,4 @@ - Restaura dependencias con un nivel específico de verbosidad: -`dotnet restore --verbosity {{quiet|minimal|normal|detailed|diagnostic}} +`dotnet restore --verbosity {{quiet|minimal|normal|detailed|diagnostic}}` diff --git a/pages.es/common/dotnet.md b/pages.es/common/dotnet.md index 56cea0c5a89e4a..9f730a7e0058d8 100644 --- a/pages.es/common/dotnet.md +++ b/pages.es/common/dotnet.md @@ -1,7 +1,8 @@ # dotnet > Herramienta multiplataforma de línea de comandos para .NET Core. -> Más información: . +> Algunos subcomandos, como `build`, tienen su propia documentación de uso. +> Más información: . - Inicializa un proyecto .NET nuevo: diff --git a/pages.es/common/dtrx.md b/pages.es/common/dtrx.md new file mode 100644 index 00000000000000..f5e3dc4c5ff8ff --- /dev/null +++ b/pages.es/common/dtrx.md @@ -0,0 +1,16 @@ +# dtrx + +> "Do The Right eXtraction" - extrae cualquier archivo en un directorio nuevo adivinando la herramienta a partir de la extensión. +> Más información: . + +- Extrae el archivo, adivinando la herramienta de extracción de la extensión: + +`dtrx {{ruta/al/archivo}}` + +- Extrae el archivo, sobrescribe cualquier salida de destino existente: + +`dtrx --overwrite {{ruta/al/archivo}}` + +- Extrae archivo, pone todo en el directorio actual: + +`dtrx --flat {{ruta/al/archivo}}` diff --git a/pages.es/common/du.md b/pages.es/common/du.md new file mode 100644 index 00000000000000..d21cdef4c8e983 --- /dev/null +++ b/pages.es/common/du.md @@ -0,0 +1,32 @@ +# du + +> Uso del disco: estima y resume el uso del espacio de archivos y directorios. +> Más información: . + +- Lista los tamaños de un directorio y sus subdirectorios, en la unidad dada (B/KiB/MiB): + +`du -{{b|k|m}} {{ruta/al/directorio}}` + +- Lista los tamaños de un directorio y sus subdirectorios, de forma legible (es decir, seleccionando automáticamente la unidad adecuada para cada tamaño): + +`du {{[-h|--human-readable]}} {{ruta/al/directorio}}` + +- Muestra el tamaño de un único directorio, en unidades legibles: + +`du {{[-sh|--summarize --human-readable]}} {{ruta/al/directorio}}` + +- Lista los tamaños legibles de un directorio y de todos los archivos y directorios que contiene: + +`du -ah {{ruta/al/directorio}}` + +- Lista los tamaños legibles de un directorio y sus subdirectorios, hasta N niveles de profundidad: + +`du {{[-h|--human-readable]}} --max-depth=N {{ruta/al/directorio}}` + +- Lista el tamaño legible de todos los archivos `.jpg` en los subdirectorios del directorio actual y muestra un total acumulado al final: + +`du {{[-ch|--total --human-readable]}} {{*/*.jpg}}` + +- Lista todos los archivos y directorios (incluidos los ocultos) por encima de un determinado tamaño (útil para investigar qué está ocupando realmente el espacio): + +`du {{[-ah|--all --human-readable]}} {{[-t|--threshold]}} {{1G|1024M|1048576K}} .[^.]* *` diff --git a/pages.es/common/echo.md b/pages.es/common/echo.md new file mode 100644 index 00000000000000..6c6cf8eb7b11f7 --- /dev/null +++ b/pages.es/common/echo.md @@ -0,0 +1,28 @@ +# echo + +> Imprime los argumentos dados. +> Más información: . + +- Imprime un mensaje de texto. Nota: las comillas son opcionales: + +`echo "{{Hola Mundo}}"` + +- Imprime un mensaje con variables de ambiente: + +`echo "{{Mi ruta es $PATH}}"` + +- Imprime un mensaje sin la nueva línea: + +`echo -n "{{Hola Mundo}}"` + +- Añade un mensaje al final del archivo: + +`echo "{{Hola Mundo}}" >> {{archivo.txt}}` + +- Habilita la interpretación de escapes de backslash (caracteres especiales): + +`echo -e "{{Column 1\tColumn 2}}"` + +- Imprime el estado de salida del último comando ejecutado (Nota: En Windows Command Prompt y PowerShell los equivalentes son `echo %errorlevel%` y `$lastexitcode` respectivamente): + +`echo $?` diff --git a/pages.es/common/ed.md b/pages.es/common/ed.md new file mode 100644 index 00000000000000..019eb43e7cdb3b --- /dev/null +++ b/pages.es/common/ed.md @@ -0,0 +1,37 @@ +# ed + +> El editor de texto original de Unix. +> Vea también: `awk`, `sed`. +> Más información: . + +- Inicia una sesión de edición interactiva con un documento vacío: + +`ed` + +- Inicia una sesión de edición interactiva con un documento vacío y un prompt específico: + +`ed {{[-p|--prompt]}} '{{> }}'` + +- Inicia una sesión de edición interactiva con errores de usuario: + +`ed {{[-v|--verbose]}}` + +- Inicia una sesión de edición interactiva con un documento vacío y sin diagnósticos, recuento de bytes ni indicaciones '!': + +`ed {{[-q|--quiet]}} {{[-s|--script]}}` + +- Inicia una sesión de edición interactiva sin cambio de estado de salida cuando falla el comando: + +`ed {{[-l|--loose-exit-status]}}` + +- Edita un archivo específico (muestra el recuento de bytes del archivo cargado): + +`ed {{ruta/al/archivo}}` + +- Reemplaza una cadena con un reemplazo específico para todas las líneas: + +`,s/{{regex}}/{{replacement}}/g` + +- Sale de `ed`: + +`q` diff --git a/pages.es/common/egrep.md b/pages.es/common/egrep.md new file mode 100644 index 00000000000000..a6c7bd680e709f --- /dev/null +++ b/pages.es/common/egrep.md @@ -0,0 +1,28 @@ +# egrep + +> Encuentra patrones en archivos usando `regex` extendido ( admite `?`, `+`, `{}`, `()`, y `|`). +> Más información: . + +- Busca un patrón dentro de un archivo: + +`egrep "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Busca un patrón en varios archivos: + +`egrep "{{patrón_de_busqueda}}" {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Busca un patrón en `stdin`: + +`cat {{ruta/a/archivo}} | egrep {{patrón_de_búsqueda}}` + +- Imprime el nombre del archivo y el número de línea de cada coincidencia: + +`egrep {{[-H|--with-filename]}} {{[-n|--line-number]}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Busca un patrón en todos los archivos de forma recursiva en un directorio, ignorando los archivos binarios: + +`egrep {{[-r|--recursive]}} --binary-files={{without-match}} "{{patrón_de_búsqueda}}" {{ruta/al/directorio}}` + +- Busca líneas que no coinciden con un patrón: + +`egrep {{[-v|--invert-match]}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` diff --git a/pages.es/common/elinks.md b/pages.es/common/elinks.md new file mode 100644 index 00000000000000..e65ac57a06aaed --- /dev/null +++ b/pages.es/common/elinks.md @@ -0,0 +1,16 @@ +# elinks + +> Un navegador basado en texto similar a `lynx`. +> Más información: . + +- Inicia ELinks: + +`elinks` + +- Sale de ELinks: + +`` + +- Vuelca la página web a la consola, colorea el texto con códigos de control ANSI: + +`elinks -dump -dump-color-mode {{1}} {{url}}` diff --git a/pages.es/common/emacs.md b/pages.es/common/emacs.md new file mode 100644 index 00000000000000..d82ae814444f43 --- /dev/null +++ b/pages.es/common/emacs.md @@ -0,0 +1,37 @@ +# emacs + +> El editor extensible, personalizable, autodocumentado, en tiempo real. +> Véase también `emacsclient`. +> Más información: . + +- Inicia Emacs y abre un archivo: + +`emacs {{ruta/al/archivo}}` + +- Abre un archivo en un número de línea especificado: + +`emacs +{{line_number}} {{ruta/al/archivo}}` + +- Ejecuta un archivo Emacs Lisp como guión (script): + +`emacs --script {{ruta/al/archivo.el}}` + +- Inicia Emacs en modo consola (sin una ventana X): + +`emacs {{[-nw|--no-window-system]}}` + +- Inicia un servidor Emacs en segundo plano (accesible a través de `emacsclient`): + +`emacs --daemon` + +- Detiene un servidor Emacs en funcionamiento y todas sus instancias, pidiendo confirmación en archivos no guardados: + +`emacsclient --eval '(save-buffers-kill-emacs)'` + +- Guarda un archivo en Emacs: + +`` + +- Sale de Emacs: + +`` diff --git a/pages.es/common/emacsclient.md b/pages.es/common/emacsclient.md new file mode 100644 index 00000000000000..6f8c153b9981a4 --- /dev/null +++ b/pages.es/common/emacsclient.md @@ -0,0 +1,29 @@ +# emacsclient + +> Abre archivos en un servidor Emacs existente. +> Vea también `emacs`. +> Más información: . + +- Abre un archivo en un servidor Emacs existente (utilizando GUI si está disponible): + +`emacsclient {{ruta/al/archivo}}` + +- Abre un archivo en modo consola (sin una ventana X): + +`emacsclient --no-window-system {{ruta/al/archivo}}` + +- Abre un archivo en una nueva ventana Emacs: + +`emacsclient --create-frame {{ruta/al/archivo}}` + +- Evalúa un comando, imprime la salida a `stdout`, y luego sale: + +`emacsclient --eval '({{comando}})'` + +- Especifica un editor alternativo en caso de que ningún servidor Emacs esté funcionando: + +`emacsclient --alternate-editor {{editor}} {{ruta/al/archivo}}` + +- Detiene un servidor Emacs en funcionamiento y todas sus instancias, pidiendo confirmación en archivos no guardados: + +`emacsclient --eval '(save-buffers-kill-emacs)'` diff --git a/pages.es/common/env.md b/pages.es/common/env.md new file mode 100644 index 00000000000000..dce676525cf947 --- /dev/null +++ b/pages.es/common/env.md @@ -0,0 +1,32 @@ +# env + +> Muestra el entorno o ejecuta un programa en un entorno modificado. +> Más información: . + +- Muestra el entorno: + +`env` + +- Ejecuta un programa. A menudo se utiliza en scripts después del shebang (#!) para buscar la ruta al programa: + +`env {{program}}` + +- Limpia el entorno y ejecuta un programa: + +`env {{[-i|--ignore-environment]}} {{program}}` + +- Elimina variable del entorno y ejecuta un programa: + +`env {{[-u|--unset]}} {{variable}} {{program}}` + +- Establece una variable y ejecuta un programa: + +`env {{variable}}={{value}} {{program}}` + +- Establece una o más variables y ejecuta un programa: + +`env {{variable1=value variable2=value variable3=value ...}} {{program}}` + +- Ejecuta un programa con un nombre diferente: + +`env {{[-a|--argv0]}} {{custom_name}} {{program}}` diff --git a/pages.es/common/errno.md b/pages.es/common/errno.md new file mode 100644 index 00000000000000..7419cd3b3baeec --- /dev/null +++ b/pages.es/common/errno.md @@ -0,0 +1,20 @@ +# errno + +> Busca nombres y descripciones erróneos. +> Más información: . + +- Busca descripción errno por nombre o código: + +`errno {{name|code}}` + +- Lista todos los nombres errno, códigos y descripciones: + +`errno --list` + +- Busca código cuya descripción contiene todo el texto dado: + +`errno --search {{texto}}` + +- Busca código cuya descripción contiene todo el texto dado (en todos los locales): + +`errno --search-all-locales {{texto}}` diff --git a/pages.es/common/espanso.md b/pages.es/common/espanso.md new file mode 100644 index 00000000000000..d96e66f2c7edc2 --- /dev/null +++ b/pages.es/common/espanso.md @@ -0,0 +1,20 @@ +# espanso + +> Expansor de texto multiplataforma escrito en Rust. +> Más información: . + +- Comprueba el estado de Espanso: + +`espanso status` + +- Edita la configuración de Espanso: + +`espanso edit config` + +- Instala un paquete desde el hub store (): + +`espanso install {{nombre_paquete}}` + +- Reinicia Espanso (necesario después de instalar un paquete, útil en caso de fallo): + +`espanso restart` diff --git a/pages.es/common/exa.md b/pages.es/common/exa.md new file mode 100644 index 00000000000000..90147aa1a9d3d8 --- /dev/null +++ b/pages.es/common/exa.md @@ -0,0 +1,36 @@ +# exa + +> Un reemplazo moderno para `ls` (Lista el contenido de los directorios). +> Más información: . + +- Lista los archivos uno por línea: + +`exa {{[-1|--oneline]}}` + +- Lista todos los archivos, incluidos los ocultos: + +`exa {{[-a|--all]}}` + +- Lista en formato largo (permisos, propiedad, tamaño y fecha de modificación) de todos los archivos: + +`exa {{[-l|--long]}} {{[-a|--all]}}` + +- Lista los archivos con el más grande en la parte superior: + +`exa {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}` + +- Muestra un árbol de archivos, con tres niveles de profundidad: + +`exa {{[-l|--long]}} {{[-T|--tree]}} {{[-L|--level]}} {{3}}` + +- Lista archivos ordenados por fecha de modificación (los más antiguos primero): + +`exa {{[-l|--long]}} {{[-s|--sort]}} {{modified}}` + +- Muestra los archivos con sus encabezados, íconos y estados Git: + +`exa {{[-l|--long]}} {{[-h|--header]}} --icons --git` + +- No muestra los archivos mencionados en `.gitignore`: + +`exa --git-ignore` diff --git a/pages.es/common/exit.md b/pages.es/common/exit.md new file mode 100644 index 00000000000000..01bcb3226d4e5a --- /dev/null +++ b/pages.es/common/exit.md @@ -0,0 +1,12 @@ +# exit + +> Sale de la interfaz de comandos. +> Más información: . + +- Sale con el estado de salida del comando más recientemente ejecutado: + +`exit` + +- Sale con un estado de salida específico: + +`exit {{estado_de_salida}}` diff --git a/pages.es/common/expr.md b/pages.es/common/expr.md new file mode 100644 index 00000000000000..878e154a93a44f --- /dev/null +++ b/pages.es/common/expr.md @@ -0,0 +1,32 @@ +# expr + +> Evalúa expresiones y manipula cadenas. +> Más información: . + +- Obtiene la longitud de una cadena específica: + +`expr length "{{cadena}}"` + +- Obtiene la subcadena de una cadena con una longitud específica: + +`expr substr "{{cadena}}" {{desde}} {{longitud}}` + +- Empareja una subcadena específica frente a un patrón: + +`expr match "{{cadena}}" '{{patrón}}'` + +- Obtiene la primera posición de un caracter de un conjunto específico en una cadena: + +`expr index "{{cadena}}" "{{caracteres}}"` + +- Calcula una expresión matemática específica: + +`expr {{expresión1}} {{+|-|*|/|%}} {{expresión2}}` + +- Obtiene la primera expresión si su valor no es cero y no nulo, de otro modo, obtiene el segundo: + +`expr {{expresión1}} \| {{expresión2}}` + +- Obtiene la primera expresión si ambas expresiones no son cero y no nulas de otro modo obtiene cero: + +`expr {{expresión1}} \& {{expresión2}}` diff --git a/pages.es/common/fabric.md b/pages.es/common/fabric.md new file mode 100644 index 00000000000000..469a061cb82f25 --- /dev/null +++ b/pages.es/common/fabric.md @@ -0,0 +1,37 @@ +# fabric + +> Un marco de código abierto para mejorar las capacidades humanas mediante la IA. +> Proporciona un marco modular para resolver problemas específicos utilizando un conjunto de indicaciones de IA obtenidas mediante crowdsourcing. +> Más información: . + +- Ejecuta la instalación para configurar fabric: + +`fabric {{[-S|--setup]}}` + +- Muestra todos los patrones disponibles: + +`fabric {{[-l|--listpatterns]}}` + +- Ejecuta un patrón con la entrada de un archivo: + +`fabric {{[-p|--pattern]}} {{nombre_del_patrón}} < {{ruta/a/archivo_de_entrada}}` + +- Ejecuta un patrón en una dirección URL de YouTube: + +`fabric {{[-y|--youtube]}} "{{https://www.youtube.com/watch?v=video_id}}" {{[-p|--pattern]}} {{nombre_del_patrón}}` + +- Encadena patrones conectando la salida de uno al otro: + +`fabric {{[-p|--pattern]}} {{pattern1}} | fabric {{[-p|--pattern]}} {{pattern2}}` + +- Ejecuta un patrón personalizado definido por el usuario: + +`fabric {{[-p|--pattern]}} {{nombre_patrón_personalizado}}` + +- Ejecuta un patrón y guarda la salida en un archivo: + +`fabric {{[-p|--pattern]}} {{nombre_del_patrón}} {{[-o|--output]}} {{ruta/al/archivo_de_salida}}` + +- Ejecuta un patrón con las variables especificadas: + +`fabric {{[-p|--pattern]}} {{nombre_del_patrón}} {{[-v|--variable]}} "{{nombre_variable}}:{{valor}}"` diff --git a/pages.es/common/factor.md b/pages.es/common/factor.md new file mode 100644 index 00000000000000..8201a525c30449 --- /dev/null +++ b/pages.es/common/factor.md @@ -0,0 +1,12 @@ +# factor + +> Imprime la factorización primaria de un número. +> Más información: . + +- Muestra la factorización primaria de un número: + +`factor {{número}}` + +- Toma la entrada de `stdin` si no se especifica ningún argumento: + +`echo {{número}} | factor` diff --git a/pages.es/common/faker.md b/pages.es/common/faker.md new file mode 100644 index 00000000000000..8ed7f27fb82627 --- /dev/null +++ b/pages.es/common/faker.md @@ -0,0 +1,28 @@ +# faker + +> Una biblioteca Python y una herramienta para generar datos falsos. +> Más información: . + +- Muestra todos los proveedores de datos falsos junto con ejemplos: + +`faker` + +- Genera datos falsos de un tipo específico: + +`faker {{name|address|passport_full|credit_card_full|phone_number|email|company|date_time|user_name|password|job|...}}` + +- Genera un número de direcciones falsas de un país específico (usa `localectl list-locales | cut -d. -f1` para obtener la lista de locales): + +`faker --repeat {{número}} --lang {{de_DE|de_CH|...}} address` + +- Genera un número de ciudades en un país específico y las muestra en un archivo (usa `localectl list-locales | cut -d. -f1` para obtener la lista de locales): + +`faker --repeat {{número}} --lang {{en_AU|en_US|...}} city -o {{ruta/a/archivo.txt}}` + +- Genera una serie de agentes de usuario HTTP aleatorios mostrando una salida detallada: + +`faker --repeat {{número}} --verbose user_agent` + +- Genera un número de nombres de dominio y separa cada uno utilizando un separador específico: + +`faker --repeat {{número}} --sep '{{,}}' domain_name` diff --git a/pages.es/common/false.md b/pages.es/common/false.md new file mode 100644 index 00000000000000..435ad1754f63e4 --- /dev/null +++ b/pages.es/common/false.md @@ -0,0 +1,8 @@ +# false + +> Devuelve un código de salida distinto a cero. +> Más información: . + +- Devuelve un código de salida distinto a cero: + +`false` diff --git a/pages.es/common/fc-list.md b/pages.es/common/fc-list.md new file mode 100644 index 00000000000000..e21e680d7cac9f --- /dev/null +++ b/pages.es/common/fc-list.md @@ -0,0 +1,24 @@ +# fc-list + +> Lista las fuentes disponibles instaladas en el sistema. +> Más información: . + +- Devuelve una lista de las fuentes instaladas en su sistema: + +`fc-list` + +- Devuelve una lista de las fuentes instaladas con el nombre dado: + +`fc-list | grep '{{DejaVu Serif}}'` + +- Devuelve el número de fuentes instaladas con el nombre dado: + +`fc-list | wc -l` + +- Devuelve una lista de las fuentes instaladas que soportan el idioma basado en su código de idioma: + +`fc-list :lang={{jp}}` + +- Devuelve una lista de las fuentes instaladas que contienen el glifo especificado por su código Unicode: + +`fc-list :charset={{f303}}` diff --git a/pages.es/common/fclones.md b/pages.es/common/fclones.md new file mode 100644 index 00000000000000..a3c760a1803d46 --- /dev/null +++ b/pages.es/common/fclones.md @@ -0,0 +1,32 @@ +# fclones + +> Eficaz buscador y eliminador de archivos duplicados. +> Más información: . + +- Busca ficheros duplicados en el directorio actual: + +`fclones group .` + +- Busca archivos duplicados en varios directorios y almacena los resultados en la caché: + +`fclones group --cache {{ruta/a/directorio1 ruta/a/directorio2}}` + +- Busca archivos duplicados solo en el directorio especificado, omitiendo los subdirectorios y guarda los resultados en un archivo: + +`fclones group {{ruta/a/directorio}} --depth 1 > {{ruta/al/archivo.txt}}` + +- Mueve los archivos duplicados en un archivo de texto a un directorio diferente: + +`fclones move {{ruta/a/directorio_objetivo}} < {{ruta/al/archivo.txt}}` + +- Simula un enlace simbólico a un archivo de texto sin realmente enlazarlo: + +`fclones link --soft < {{ruta/al/archivo.txt}} --dry-run 2> /dev/null` + +- Elimina los archivos duplicados más recientes en el directorio actual sin almacenarlos en un archivo: + +`fclones group . | fclones remove --priority newest` + +- Preprocesa los archivos JPEG en el directorio actual utilizando un comando externo para eliminar sus datos EXIF antes de buscar duplicados: + +`fclones group . --name '*.jpg' -i --transform 'exiv2 -d a $IN' --in-place` diff --git a/pages.es/common/feh.md b/pages.es/common/feh.md new file mode 100644 index 00000000000000..9b4ce371a4d718 --- /dev/null +++ b/pages.es/common/feh.md @@ -0,0 +1,32 @@ +# feh + +> Utilidad ligera de visualización de imágenes. +> Más información: . + +- Muestra imágenes localmente o usando una URL: + +`feh {{ruta/a/imagen}}` + +- Muestra imágenes recursivamente: + +`feh --recursive {{ruta/al/directorio}}` + +- Muestra imágenes sin bordes: + +`feh --borderless {{ruta/a/imagen}}` + +- Cierra después de la última imagen: + +`feh --cycle-once {{ruta/a/imagen}}` + +- Agrega una demora al ciclo de la presentación: + +`feh --slideshow-delay {{secundos}} {{ruta/a/imagen}}` + +- Cambia el fondo de pantalla (centrado, llenar, maximizado, ampliado o amontonado): + +`feh --bg-{{center|fill|max|scale|tile}} {{ruta/a/imagen}}` + +- Crea un montaje de todas las imágenes en un directorio. Produce una nueva imagen: + +`feh --montage --thumb-height {{150}} --thumb-width {{150}} --index-info "{{%nn%wx%h}}" --output {{ruta/a/nueva_imagen}}` diff --git a/pages.es/common/fgrep.md b/pages.es/common/fgrep.md new file mode 100644 index 00000000000000..0d458326b8e236 --- /dev/null +++ b/pages.es/common/fgrep.md @@ -0,0 +1,29 @@ +# fgrep + +> Compara cadenas fijas en archivos. +> Equivale a `grep -F`. +> Más información: . + +- Busca una cadena exacta en un archivo: + +`fgrep {{cadena_buscada}} {{ruta/al/archivo}}` + +- Busca solo líneas que coincidan totalmente en uno o varios archivos: + +`fgrep {{[-x|--line-regexp]}} {{cadena_de_búsqueda}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Cuenta el número de líneas que coinciden con la cadena dada en un archivo: + +`fgrep {{[-c|--count]}} {{cadena_de_búsqueda}} {{ruta/al/archivo}}` + +- Mostrar el número de línea del archivo junto con la línea buscada: + +`fgrep {{[-n|--line-number]}} {{cadena_de_búsqueda}} {{ruta/al/archivo}}` + +- Muestra todas las líneas excepto las que contienen la cadena de búsqueda: + +`fgrep {{[-v|--invert-match]}} {{cadena_de_búsqueda}} {{ruta/al/archivo}}` + +- Muestra los nombres de archivo cuyo contenido coincide al menos una vez con la cadena de búsqueda: + +`fgrep {{[-l|--files-with-matches]}} {{cadena_de_búsqueda}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` diff --git a/pages.es/common/figlet.md b/pages.es/common/figlet.md new file mode 100644 index 00000000000000..5bf77a8fadddbb --- /dev/null +++ b/pages.es/common/figlet.md @@ -0,0 +1,33 @@ +# figlet + +> Genera encabezados usando caracteres ASCII desde la entrada del usuario. +> Vea también `showfigfonts`. +> Más información: . + +- Genera el encabezado directamente introduciendo el texto: + +`figlet {{texto_de_entrada}}` + +- Usa un archivo de [f]uente personalizada: + +`figlet {{texto_de_entrada}} -f {{ruta/al/archivo_de_fuente.flf}}` + +- Usa una [f]uente del directorio predeterminado (la extensión puede ser omitida): + +`figlet {{texto_de_entrada}} -f {{archivo_de_fuente}}` + +- Redirige la salida de un comando hacia FIGlet: + +`{{comando}} | figlet` + +- Muestra las fuentes de FIGlet disponibles: + +`showfigfonts {{texto_opcional_para_mostrar}}` + +- Utiliza el ancho total del [t]erminal y [c]entra el texto de entrada: + +`figlet -t -c {{texto_de_entrada}}` + +- Muestra todos los caracteres utilizando todo su ancho para evitar traslapes: + +`figlet -W {{input_text}}` diff --git a/pages.es/common/file-rename.md b/pages.es/common/file-rename.md new file mode 100644 index 00000000000000..eca541cc86d667 --- /dev/null +++ b/pages.es/common/file-rename.md @@ -0,0 +1,7 @@ +# file-rename + +> Este comando es un alias de `rename`. + +- Vea la documentación del comando original: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.es/common/filebrowser.md b/pages.es/common/filebrowser.md new file mode 100644 index 00000000000000..a09c713022d0b9 --- /dev/null +++ b/pages.es/common/filebrowser.md @@ -0,0 +1,36 @@ +# filebrowser + +> Sencillo servidor web HTTP para gestionar archivos y directorios. +> Más información: . + +- Inicia una nueva instancia del servidor sirviendo el directorio actual: + +`filebrowser` + +- Inicia una nueva instancia de servidor sirviendo un directorio raíz específico: + +`filebrowser {{[-r|--root]}} {{ruta/al/directorio}}` + +- Inicia una instancia con una dirección de host (por defecto `127.0.0.1`) y un puerto (por defecto `8080`) diferentes: + +`filebrowser {{[-a|--address]}} {{host}} {{[-p|--port]}} {{puerto}} {{[-r|--root]}} {{ruta/al/directorio}}` + +- Inicia una instancia con un archivo de configuración especificado, almacenando la base de datos de la aplicación en una ubicación específica (por defecto es `filebrowser.db` en el directorio actual): + +`filebrowser {{[-c|--config]}} {{ruta/al/archivo}} {{[-d|--database]}} {{ruta/a/base_de_datos.db}} {{[-r|--root]}} {{ruta/al/directorio}}` + +- Configura un nombre de usuario y una contraseña diferentes para la primera cuenta (ambos por defecto `admin`) cuando configure una nueva instancia: + +`filebrowser --username {{nombre_de_usuario}} --password {{contraseña}} {{[-r|--root]}} {{ruta/al/directorio}}` + +- Configura la cantidad máxima de procesadores de imágenes utilizados al generar miniaturas (por defecto es `4`): + +`filebrowser --img-processors {{4}} {{[-r|--root]}} {{ruta/al/directorio}}` + +- Desactiva las miniaturas de imágenes, así como la función Command Runner, que limita el acceso a los archivos de secuencia de comandos alojados para que no se ejecuten dentro de la aplicación: + +`filebrowser --disable-exec --disable-thumbnails {{[-r|--root]}} {{ruta/al/directorio}}` + +- Deshabilita el cambio de tamaño de las vistas previas de imágenes, así como la detección de tipos de archivo mediante la lectura de sus cabeceras: + +`filebrowser --disable-preview-resize --disable-type-detection-by-header {{[-r|--root]}} {{ruta/al/directorio}}` diff --git a/pages.es/common/filecheck.md b/pages.es/common/filecheck.md new file mode 100644 index 00000000000000..b03274e413f63a --- /dev/null +++ b/pages.es/common/filecheck.md @@ -0,0 +1,25 @@ +# FileCheck + +> Verificador de archivos de coincidencia de patrones flexible. +> Se utiliza típicamente a partir de pruebas de regresión LLVM y forma parte de una prueba `lit`. +> Más información: . + +- Compara el contenido de `archivo_entrada` con el archivo de patrones `archivo_comprobado`: + +`FileCheck --input-file={{ruta/al/archivo_de_entrada}} {{ruta/al/archivo_de_comprobación}}` + +- Busca coincidencias de `stdin` con el archivo de patrones `archivo_de_comprobación`: + +`echo "{{algún_texto}}" | FileCheck {{ruta/al/archivo_de_comprobación}}` + +- Busca coincidencias con el `prefijo` de comprobación personalizado especificado (Nota: el prefijo predeterminado es `CHECK`): + +`echo "{{algún_texto}}" | FileCheck --check-prefix={{prefijo}} {{ruta/al/archivo_comprobado}}` + +- Imprime las coincidencias de patrón de directivas: + +`echo "{{some_text}}" | FileCheck -v {{ruta/al/archivo_comprobado}}` + +- Introduce `llvm_code.ll` en llvm-as y, a continuación, envía la salida a FileCheck para que coincida: + +`llvm-as {{ruta/al/código_llvm_.ll}} | FileCheck {{ruta/al/archivo_comprobado}}` diff --git a/pages.es/common/filen.md b/pages.es/common/filen.md new file mode 100644 index 00000000000000..c23888db0ed09e --- /dev/null +++ b/pages.es/common/filen.md @@ -0,0 +1,36 @@ +# filen + +> Interfaz con Filen, un servicio de almacenamiento en la nube cifrado de extremo a extremo. +> Más información: . + +- Entra en modo interactivo: + +`filen` + +- Sube un archivo local a una carpeta remota específica: + +`filen upload {{ruta/al/archivo_local}} {{id_carpeta_remota}}` + +- Descarga un archivo o carpeta utilizando su ID remoto: + +`filen download {{id_remoto}} {{ruta/a/destino_local}}` + +- Lista archivos y carpetas dentro de una carpeta remota: + +`filen ls {{carpeta_remota}}` + +- Elimina un archivo o carpeta remoto (lo mueve a la papelera): + +`filen rm {{id_remoto}}` + +- Restaura un elemento de la papelera: + +`filen trash restore {{id_remoto}}` + +- Sincroniza una carpeta local con una carpeta remota (sincronización bidireccional): + +`filen sync {{ruta/a/carpeta_local}}:/{{carpeta_remota}} --continuous` + +- Descarga los cambios desde la nube a una carpeta local (sincronización unidireccional): + +`filen sync {{ruta/a/carpeta_local}}:ctl:/{{carpeta_remota}}` diff --git a/pages.es/common/fmt.md b/pages.es/common/fmt.md new file mode 100644 index 00000000000000..681dbe40a1f68d --- /dev/null +++ b/pages.es/common/fmt.md @@ -0,0 +1,20 @@ +# fmt + +> Reformatea un archivo de texto uniendo sus párrafos y limitando el ancho de línea a un número de caracteres (75 por defecto). +> Más información: . + +- Reformatea un archivo: + +`fmt {{ruta/al/archivo}}` + +- Reformatea un archivo produciendo líneas de salida de (como máximo) `n` caracteres: + +`fmt {{[-w|--width]}} {{n}} {{ruta/al/archivo}}` + +- Reformatea un archivo sin unir las líneas más cortas respecto al ancho dado: + +`fmt {{[-s|--split-only]}} {{ruta/al/archivo}}` + +- Reformatea un archivo con espaciado uniforme (1 espacio entre palabras y 2 espacios entre párrafos): + +`fmt {{[-u|--uniform-spacing]}} {{ruta/al/archivo}}` diff --git a/pages.es/common/fortune.md b/pages.es/common/fortune.md index 5ce6505511e6dc..a24d719c96804e 100644 --- a/pages.es/common/fortune.md +++ b/pages.es/common/fortune.md @@ -1,6 +1,7 @@ # fortune > Imprime por pantalla una cita aleatoria (al estilo de una galleta de la suerte). +> Más información: . - Imprime por pantalla una cita: diff --git a/pages.es/common/fossil-ci.md b/pages.es/common/fossil-ci.md new file mode 100644 index 00000000000000..d0c3272254712b --- /dev/null +++ b/pages.es/common/fossil-ci.md @@ -0,0 +1,7 @@ +# fossil ci + +> Este comando es un alias de `fossil commit`. + +- Vea la documentación del comando original: + +`tldr fossil commit` diff --git a/pages.es/common/fossil-commit.md b/pages.es/common/fossil-commit.md new file mode 100644 index 00000000000000..2e24c429cd4937 --- /dev/null +++ b/pages.es/common/fossil-commit.md @@ -0,0 +1,20 @@ +# fossil commit + +> Envía archivos a un repositorio Fossil. +> Más información: . + +- Crea una nueva versión que contiene todos los cambios en el checkout actual; se solicitará al usuario un comentario: + +`fossil commit` + +- Crea una versión que contiene todos los cambios en el checkout actual, utilizando el comentario especificado: + +`fossil commit --comment "{{comentario}}"` + +- Crea una versión que contiene todos los cambios en el checkout actual con un comentario leído de un archivo específico: + +`fossil commit --message-file {{ruta/al/archivo_con_comentario}}` + +- Crea una versión que contiene cambios de los archivos especificados; se solicitará al usuario un comentario: + +`fossil commit {{ruta/al/archivo1 ruta/al/archivo2 ...}}` diff --git a/pages.es/common/fossil-delete.md b/pages.es/common/fossil-delete.md new file mode 100644 index 00000000000000..22ae79d5c661cd --- /dev/null +++ b/pages.es/common/fossil-delete.md @@ -0,0 +1,17 @@ +# fossil delete + +> Elimina archivos o directorios del control de versiones Fossil. +> Vea también: `fossil forget`. +> Más información: . + +- Elimina un archivo o directorio del control de versiones Fossil: + +`fossil {{[rm|delete]}} {{ruta/al/archivo_o_directorio}}` + +- Elimina un archivo o directorio del control de versiones Fossil y también lo elimina del disco: + +`fossil {{[rm|delete]}} --hard {{ruta/al/archivo_o_directorio}}` + +- Añade nuevamente todos los archivos previamente eliminados y no comprometidos (uncommitted) al control de versiones Fossil: + +`fossil {{[rm|delete]}} --reset` diff --git a/pages.es/common/fossil-forget.md b/pages.es/common/fossil-forget.md new file mode 100644 index 00000000000000..ea55390e87263f --- /dev/null +++ b/pages.es/common/fossil-forget.md @@ -0,0 +1,8 @@ +# fossil forget + +> Este comando es un alias de `fossil rm`. +> Más información: . + +- Muestra la documentación del comando original: + +`tldr fossil rm` diff --git a/pages.es/common/fossil-init.md b/pages.es/common/fossil-init.md new file mode 100644 index 00000000000000..20880a15e58381 --- /dev/null +++ b/pages.es/common/fossil-init.md @@ -0,0 +1,9 @@ +# fossil init + +> Inicia un nuevo repositorio para un proyecto. +> Vea también: `fossil clone`. +> Más información: . + +- Crea un nuevo repositorio en un archivo: + +`fossil init {{ruta/al/archivo}}` diff --git a/pages.es/common/fossil-new.md b/pages.es/common/fossil-new.md new file mode 100644 index 00000000000000..e3c708b3c93caf --- /dev/null +++ b/pages.es/common/fossil-new.md @@ -0,0 +1,7 @@ +# fossil new + +> Este comando es un alias de `fossil init`. + +- Vea la documentación del comando original: + +`tldr fossil init` diff --git a/pages.es/common/fossil-rm.md b/pages.es/common/fossil-rm.md new file mode 100644 index 00000000000000..1b15f355e0e398 --- /dev/null +++ b/pages.es/common/fossil-rm.md @@ -0,0 +1,7 @@ +# fossil rm + +> Este comando es un alias de `fossil delete`. + +- Vea la documentación del comando original: + +`tldr fossil delete` diff --git a/pages.es/common/fpsync.md b/pages.es/common/fpsync.md new file mode 100644 index 00000000000000..6eec5a622927a6 --- /dev/null +++ b/pages.es/common/fpsync.md @@ -0,0 +1,28 @@ +# fpsync + +> Ejecuta varios procesos de sincronización localmente o en varios trabajadores remotos a través de SSH. +> Más información: . + +- Sincroniza recursivamente un directorio a otra ubicación: + +`fpsync -v {{/ruta/a/origen/}} {{/ruta/a/destino/}}` + +- Sincroniza recursivamente un directorio con la última pasada (activa la opción `--delete` de rsync con cada trabajo de sincronización): + +`fpsync -v -E {{/ruta/a/origen/}} {{/ruta/a/destino/}}` + +- Sincroniza recursivamente un directorio a un destino utilizando 8 trabajos de sincronización simultáneos: + +`fpsync -v -n 8 -E {{/ruta/a/origen/}} {{/ruta/a/destino/}}` + +- Sincroniza recursivamente un directorio a un destino utilizando 8 trabajos de sincronización concurrentes repartidos entre dos trabajadores remotos (máquina1 y máquina2): + +`fpsync -v -n 8 -E -w login@machine1 -w login@machine2 -d {{/ruta/a/directorio/compartido}} {{/ruta/a/origen/}} {{/ruta/a/destino/}}` + +- Sincroniza recursivamente un directorio a un destino utilizando cuatro trabajadores locales, cada uno transfiriendo como máximo 1000 archivos y 100 MB por trabajo de sincronización: + +`fpsync -v -n 4 -f 1000 -s $((100 * 1024 * 1024)) {{/ruta/a/origen/}} {{/ruta/a/destino/}}` + +- Sincroniza de forma recursiva cualquier directorio pero excluye archivos `.snapshot*` específicos (Nota: las opciones y los valores deben estar separados por un carácter de tubería): + +`fpsync -v -O "-x|.snapshot*" {{/ruta/a/origen/}} {{/ruta/a/destino/}}` diff --git a/pages.es/common/freshclam.md b/pages.es/common/freshclam.md new file mode 100644 index 00000000000000..8dd5dd45d41b51 --- /dev/null +++ b/pages.es/common/freshclam.md @@ -0,0 +1,8 @@ +# freshclam + +> Actualiza definiciones de virus para el programa antivirus ClamAV. +> Más información: . + +- Actualiza definiciones de virus: + +`freshclam` diff --git a/pages.es/common/frp.md b/pages.es/common/frp.md new file mode 100644 index 00000000000000..5aec33a22aeadc --- /dev/null +++ b/pages.es/common/frp.md @@ -0,0 +1,12 @@ +# frp + +> Fast Reverse Proxy: configura rápidamente túneles de red para exponer determinados servicios a Internet o a otras redes externas. +> Más información: . + +- Vea documentación de `frpc`, el componente cliente `frp`: + +`tldr frpc` + +- Vea documentación de `frps`, el componente servidor `frp`: + +`tldr frps` diff --git a/pages.es/common/frpc.md b/pages.es/common/frpc.md new file mode 100644 index 00000000000000..00f91165bee966 --- /dev/null +++ b/pages.es/common/frpc.md @@ -0,0 +1,29 @@ +# frpc + +> Conéctate a un servidor `frps` para iniciar conexiones proxy en el host actual. +> Parte de `frp`. +> Más información: . + +- Inicia el servicio, utilizando el archivo de configuración por defecto (se supone que es `frps.ini` en el directorio actual): + +`frpc` + +- Inicia el servicio, utilizando el nuevo archivo de configuración TOML (`frps.toml` en lugar de `frps.ini`) en el directorio actual: + +`frpc {{[-c|--config]}} ./frps.toml` + +- Inicia el servicio, utilizando un archivo de configuración específico: + +`frpc {{[-c|--config]}} {{ruta/al/archivo}}` + +- Comprueba si el archivo de configuración es válido: + +`frpc verify {{[-c|--config]}} {{ruta/al/archivo}}` + +- Imprime secuencia de comandos de configuración de autocompletado para Bash, fish, PowerShell o Zsh: + +`frpc completion {{bash|fish|powershell|zsh}}` + +- Muestra versión: + +`frpc {{[-v|--version]}}` diff --git a/pages.es/common/frps.md b/pages.es/common/frps.md new file mode 100644 index 00000000000000..bb3d4d13b7e6f1 --- /dev/null +++ b/pages.es/common/frps.md @@ -0,0 +1,29 @@ +# frps + +> Configura rápidamente un servicio de proxy inverso. +> Parte de `frp`. +> Más información: . + +- Inicia el servicio, utilizando el archivo de configuración por defecto (se supone que es `frps.ini` en el directorio actual): + +`frps` + +- Inicia el servicio, utilizando el nuevo archivo de configuración TOML (`frps.toml` en lugar de `frps.ini`) en el directorio actual: + +`frps {{[-c|--config]}} ./frps.toml` + +- Inicia el servicio, utilizando un archivo de configuración especificado: + +`frps {{[-c|--config]}} {{ruta/al/archivo}}` + +- Comprueba si el archivo de configuración es válido: + +`frps verify {{[-c|--config]}} {{ruta/al/archivo}}` + +- Imprime secuencia de comandos de configuración de autocompletado para Bash, fish, PowerShell o Zsh: + +`frps completion {{bash|fish|powershell|zsh}}` + +- Muestra versión: + +`frps {{[-v|--version]}}` diff --git a/pages.es/common/ftp.md b/pages.es/common/ftp.md new file mode 100644 index 00000000000000..282e14b95bf675 --- /dev/null +++ b/pages.es/common/ftp.md @@ -0,0 +1,36 @@ +# ftp + +> Herramientas para interactuar con un servidor a través del Protocolo de Transferencia de Archivos. +> Más información: . + +- Se conecta a un servidor FTP: + +`ftp {{ftp.example.com}}` + +- Se conecta a un servidor FTP especificando su dirección IP y su puerto: + +`ftp {{dirección_ip}} {{puerto}}` + +- Cambia al modo de transferencia binario (gráficos, archivos comprimidos, etc): + +`binary` + +- Transfiere varios archivos sin pedir confirmación por cada archivo: + +`prompt off` + +- Descarga varios archivos (expresión glob): + +`mget {{*.png}}` + +- Carga varios archivos (expresión glob): + +`mput {{*.zip}}` + +- Elimina varios archivos del servidor remoto: + +`mdelete {{*.txt}}` + +- Cambia el nombre de un archivo en el servidor remoto: + +`rename {{nombre_archivo_original}} {{nuevo_nombre_archivo}}` diff --git a/pages.es/common/function.md b/pages.es/common/function.md new file mode 100644 index 00000000000000..0b29686ef808a6 --- /dev/null +++ b/pages.es/common/function.md @@ -0,0 +1,12 @@ +# function + +> Define una función. +> Más información: . + +- Define una función con el nombre especificado: + +`function {{func_name}} { {{echo "Contenido de la función aquí"}}; }` + +- Ejecuta una función llamada `func_name`: + +`func_name` diff --git a/pages.es/common/fvm.md b/pages.es/common/fvm.md new file mode 100644 index 00000000000000..ab1cd0f75791ba --- /dev/null +++ b/pages.es/common/fvm.md @@ -0,0 +1,32 @@ +# fvm + +> Gestor de versiones de Flutter. +> Más información: . + +- Instala una versión del SDK de Flutter. Invoca el programa sin el argumento `versión` para la configuración del proyecto: + +`fvm install {{versión}}` + +- Establece una versión específica del Flutter SDK en un proyecto: + +`fvm use {{versión}} {{opciones}}` + +- Establece una versión global del SDK de Flutter: + +`fvm global {{versión}}` + +- Borra la caché de FVM: + +`fvm destroy` + +- Elimina una versión específica del SDK de Flutter: + +`fvm remove {{versión}}` + +- Lista todas las versiones instaladas del SDK de Flutter: + +`fvm list` + +- Lista todas las versiones del SDK de Flutter: + +`fvm releases` diff --git a/pages.es/common/fzf.md b/pages.es/common/fzf.md new file mode 100644 index 00000000000000..398d159206136f --- /dev/null +++ b/pages.es/common/fzf.md @@ -0,0 +1,29 @@ +# fzf + +> Buscador aproximado (fuzzy search) de la línea de comando. +> Parecido a `sk`. +> Más información: . + +- Aplica `fzf` a todos los archivos en el directorio especificado: + +`find {{ruta/al/directorio}} -type f | fzf` + +- Aplica `fzf` a los procesos en ejecución: + +`ps aux | fzf` + +- Selecciona varios archivos con `` y los escribe a un archivo: + +`find {{ruta/al/directorio}} -type f | fzf {{[-m|--multi]}} > {{ruta/al/archivo}}` + +- Aplica `fzf` con una consulta especificada: + +`fzf {{[-q|--query]}} "{{consulta}}"` + +- Aplica `fzf` en las entradas que comienzan con `programa` y finalizan con `go`, `rb`, o `py`: + +`fzf {{[-q|--query]}} "^programa go$ | rb$ | py$"` + +- Aplica `fzf` en entradas que no coinciden con `pyc` y coinciden exactamente con `travis`: + +`fzf {{[-q|--query]}} "\!pyc 'travis'` diff --git a/pages.es/common/g++.md b/pages.es/common/g++.md new file mode 100644 index 00000000000000..01efdac1d6facc --- /dev/null +++ b/pages.es/common/g++.md @@ -0,0 +1,37 @@ +# g++ + +> Preprocesa y compila archivos de código fuente de C++. +> Parte de GCC (GNU Compiler Collection). +> Más información: . + +- Compila varios archivo de código fuente en un ejecutable: + +`g++ {{ruta/al/código_fuente1.cpp ruta/al/código_fuente2.cpp ...}} {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Activa todos los errores y advertencias: + +`g++ {{ruta/al/código_fuente.cpp}} -Wall {{[-o|--output]}} {{ejecutable}}` + +- Muestra advertencias comunes, añade símbolos de depuración a la salida y optimiza sin afectar la depuración: + +`g++ {{ruta/al/código_fuente.cpp}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Elija un lenguaje estándar para compilar (C++98/C++11/C++14/C++17): + +`g++ {{ruta/al/código_fuente.cpp}} -std={{c++98|c++11|c++14|c++17}} {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Incluye bibliotecas de una ruta diferente: + +`g++ {{ruta/al/código_fuente.cpp}} {{[-o|--output]}} {{ruta/al/ejecutable}} -I{{ruta/al/encabezado}} -L{{ruta/a/la/biblioteca}} -l{{nombre_de_la_biblioteca}}` + +- Enlaza y compila múltiples archivos en un ejecutable: + +`g++ {{[-c|--compile]}} {{ruta/al/código_fuente1.cpp ruta/al/código_fuente2.cpp ...}} && g++ {{[-o|--output]}} {{ruta/al/ejecutable}} {{ruta/al/código_fuente1.o ruta/al/código_fuente2.o ...}}` + +- Optimiza el programa compilado para mejorar la velocidad de ejecución: + +`g++ {{ruta/al/código_fuente.cpp}} -O{{1|2|3|fast}} {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Muestra la versión del programa: + +`g++ --version` diff --git a/pages.es/common/gammastep.md b/pages.es/common/gammastep.md new file mode 100644 index 00000000000000..79c6b375f8e32e --- /dev/null +++ b/pages.es/common/gammastep.md @@ -0,0 +1,28 @@ +# gammastep + +> Ajusta la temperatura del color de la pantalla según la hora del día. +> Más información: . + +- Activa Gammastep con una [t]emperatura específica durante el día (por ejemplo, 5700k) y por la noche (por ejemplo, 3600k): + +`gammastep -t {{5700}}:{{3600}}` + +- Activa Gammastep con una [l]ocación personalizada especificada manualmente: + +`gammastep -l {{latitud}}:{{longitud}}` + +- Activa Gammastep con un [b]rillo de pantalla específico durante el día (por ejemplo, 70%) y la noche (por ejemplo, 40%), con un brillo mínimo del 10% y uno máximo del 100%: + +`gammastep -b {{0.7}}:{{0.4}}` + +- Activa Gammastep con niveles de [g]ama personalizados (entre 0 y 1): + +`gammastep -g {{rojo}}:{{verde}}:{{azul}}` + +- Activa Gammastep con una temperatura de color c[O]nstante e invariable: + +`gammastep -O {{temperatura}}` + +- Restablece los ajustes de temperatura aplicados por Gammastep: + +`gammastep -x` diff --git a/pages.es/common/gau.md b/pages.es/common/gau.md new file mode 100644 index 00000000000000..cca7eb7b61eb8c --- /dev/null +++ b/pages.es/common/gau.md @@ -0,0 +1,32 @@ +# gau + +> Obtén todas las URLs: obtén las URLs conocidas de Open Threat Exchange de AlienVault, Wayback Machine y Common Crawl para cualquier dominio. +> Más información: . + +- Obtén todas las URLs de un dominio de Open Threat Exchange de AlienVault, Wayback Machine, Common Crawl y URLScan: + +`gau {{example.com}}` + +- Obtén URLs de varios dominios: + +`gau {{dominio1 dominio2 ...}}` + +- Obtén todas las URLs de varios dominios en un archivo de entrada, ejecutando varios subprocesos: + +`gau --threads {{4}} < {{ruta/a/dominios.txt}}` + +- Escribe los resultados en un archivo: + +`gau {{example.com}} --o {{ruta/a/urls_encontradas.txt}}` + +- Busca las URLs de un solo proveedor específico: + +`gau --providers {{wayback|commoncrawl|otx|urlscan}} {{ejemplo.com}}` + +- Busca las URLs de varios proveedores: + +`gau --providers {{wayback,otx,...}} {{example.com}}` + +- Busca las URLs dentro de un intervalo de fechas específico: + +`gau --from {{AAAAMM}} --to {{YYYYMM}} {{example.com}}` diff --git a/pages.es/common/gcc.md b/pages.es/common/gcc.md new file mode 100644 index 00000000000000..596827c81de8af --- /dev/null +++ b/pages.es/common/gcc.md @@ -0,0 +1,37 @@ +# gcc + +> Preprocesa y compila archivos de código fuente C y C++, luego los ensambla y los une. +> Parte de GCC Colección de Compilación GNU (GNU Compiler Collection). +> Más información: . + +- Compila varios archivos de código fuente en un ejecutable: + +`gcc {{ruta/a/la/fuente1.c ruta/a/la/fuente2.c ...}} {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Muestra todos los errores y advertencias: + +`gcc {{ruta/a/la/fuente.c}} -Wall {{[-o|--output]}} {{ejecutable}}` + +- Muestra las advertencias comunes, añade símbolos de depuración en el ejecutable, y optimiza sin afectar la depuración: + +`gcc {{ruta/a/la/fuente.c}} -Wall {{-g|--debug}} -Og {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Incluye las bibliotecas de una ruta diferente: + +`gcc {{ruta/a/la/fuente.c}} {{[-o|--output]}} {{ruta/al/ejecutable}} -I{{ruta/a/header}} -L{{ruta/a/la/biblioteca}} -l{{nombre_de_biblioteca}}` + +- Compila el código fuente a instrucciones de Ensamblador (Assembler): + +`gcc {{[-S|--assemble]}} {{ruta/a/la/fuente.c}}` + +- Compila el código fuente a un archivo objeto sin vincular: + +`gcc {{[-c|--compile]}} {{ruta/a/la/fuente.c}}` + +- Optimiza el programa compilado en función de velocidad de ejecución: + +`gcc {{ruta/a/la/fuente.c}} -O{{1|2|3|fast}} {{[-o|--output]}} {{ruta/al/ejecutable}}` + +- Versión de visualización: + +`gcc --version` diff --git a/pages.es/common/gcloud.md b/pages.es/common/gcloud.md new file mode 100644 index 00000000000000..b494326067c95c --- /dev/null +++ b/pages.es/common/gcloud.md @@ -0,0 +1,36 @@ +# gcloud + +> La herramienta CLI oficial de Google Cloud Platform. +> Más información: . + +- Lista todas las propiedades de la configuración activa: + +`gcloud config list` + +- Inicia sesión en la cuenta de Google: + +`gcloud auth login` + +- Establece como proyecto activo: + +`gcloud config set project {{nombre_del_proyecto}}` + +- SSH en una instancia de máquina virtual: + +`gcloud compute ssh {{usuario}}@{{instancia}}` + +- Muestra todas las instancias de Google Compute Engine de un proyecto. Por defecto, se muestran las instancias de todas las zonas: + +`gcloud compute instances list` + +- Actualiza un archivo kubeconfig con las credenciales adecuadas para apuntar kubectl a un clúster específico en Google Kubernetes Engine: + +`gcloud container clusters get-credentials {{nombre_cluster}}` + +- Actualiza todos los componentes de la CLI de gcloud: + +`gcloud components update` + +- Muestra la ayuda para un comando determinado: + +`gcloud help {{comando}}` diff --git a/pages.es/common/gdm-binary.md b/pages.es/common/gdm-binary.md new file mode 100644 index 00000000000000..af9143d1b3a9ae --- /dev/null +++ b/pages.es/common/gdm-binary.md @@ -0,0 +1,7 @@ +# gdm-binary + +> Este comando es un alias de `gdm`. + +- Vea la documentación del comando original: + +`tldr gdm` diff --git a/pages.es/common/gdm-stop.md b/pages.es/common/gdm-stop.md new file mode 100644 index 00000000000000..357378e15720a7 --- /dev/null +++ b/pages.es/common/gdm-stop.md @@ -0,0 +1,9 @@ +# gdm-stop + +> Detiene inmediatamente la ejecución del gestor de pantalla GNOME (GDM). +> Vea también: `gdm`, `gdm-binary`, `gdmsetup`, `gdm-restart`, `gdm-safe-restart`. +> Más información: . + +- Detiene la aplicación del gestor de pantalla GNOME: + +`gdm-stop` diff --git a/pages.es/common/gdown.md b/pages.es/common/gdown.md new file mode 100644 index 00000000000000..1a63c85ee5c541 --- /dev/null +++ b/pages.es/common/gdown.md @@ -0,0 +1,24 @@ +# gdown + +> Descarga archivos desde Google Drive y otras URLs. +> Más información: . + +- Descarga un archivo desde una URL: + +`gdown {{url}}` + +- Descarga usando un ID de archivo: + +`gdown {{id_de_archivo}}` + +- Descarga con extracción de ID de archivo difuso (también funciona con enlaces ): + +`gdown --fuzzy {{url}}` + +- Descarga una carpeta utilizando su ID o la URL completa: + +`gdown {{id_de_carpeta|url}} -O {{ruta/a/directorio_de_salida}} --folder` + +- Descarga un archivo tar, escríbelo en `stdout` y extráelo: + +`gdown {{tar_url}} -O - --quiet | tar xvf -` diff --git a/pages.es/common/getadusers.py.md b/pages.es/common/getadusers.py.md new file mode 100644 index 00000000000000..d3d041280fe1bf --- /dev/null +++ b/pages.es/common/getadusers.py.md @@ -0,0 +1,21 @@ +# GetADUsers.py + +> Recupera una lista de usuarios de Active Directory, incluyendo atributos como la fecha y hora del último inicio de sesión y el correo electrónico. +> Parte del paquete Impacket. +> Más información: . + +- Enumera todos los usuarios de Active Directory y sus atributos: + +`GetADUsers.py -all -dc-ip {{ip_controlador_dominio}} {{dominio}}/{{nombre_usuario}}:{{contraseña}}` + +- Recupera información solo para un usuario específico: + +`GetADUsers.py -user {{usuario}} -dc-ip {{ip_controlador_dominio}} {{dominio}}/{{nombre_usuario}}:{{contraseña}}` + +- Extrae los detalles del usuario utilizando la autenticación pass-the-hash: + +`GetADUsers.py -all -dc-ip {{ip_controlador_dominio}} -hashes {{LM_Hash}}:{{NT_Hash}} {{dominio}}/{{nombre_usuario}}` + +- Guarda la salida en un archivo: + +`GetADUsers.py -all -dc-ip {{ip_controlador_dominio}} {{dominio}}/{{nombre_usuario}}:{{contraseña}} > {{ruta/a/salida.txt}}` diff --git a/pages.es/common/getnpusers.py.md b/pages.es/common/getnpusers.py.md new file mode 100644 index 00000000000000..be982cf9210fd9 --- /dev/null +++ b/pages.es/common/getnpusers.py.md @@ -0,0 +1,25 @@ +# GetNPUsers.py + +> Enumera las cuentas de Active Directory con la autenticación previa de Kerberos desactivada, que pueden ser susceptibles a ataques AS-REP roasting. +> Parte del paquete Impacket. +> Más información: . + +- Enumera los usuarios con la autenticación previa de Kerberos desactivada (enumeración anónima por defecto): + +`GetNPUsers.py {{dominio}}/ -usersfile {{ruta/a/la/lista_de_usuarios}} -dc-ip {{ip_del_controlador_de_dominio}} -no-pass` + +- Realiza roasting AS-REP y vuelca hash descifrables para descifrados sin conexión: + +`GetNPUsers.py {{dominio}}/ -usersfile {{ruta/a/la/lista_de_usuarios}} -dc-ip {{ip_del_controlador_de_dominio}} -no-pass -request` + +- Autentica con credenciales válidas (si el enlace anónimo está desactivado): + +`GetNPUsers.py {{dominio}}/{{nombre_de_usuario}}:{{contraseña}} -usersfile {{ruta/a/la/lista_de_usuarios}} -dc-ip {{ip_del_controlador_de_dominio}}` + +- Utiliza la autenticación pass-the-hash en lugar de una contraseña: + +`GetNPUsers.py {{dominio}}/{{nombre_de_usuario}} -hashes {{LM_Hash}}:{{NT_Hash}} -usersfile {{ruta/a/la/lista_de_usuarios}} -dc-ip {{ip_del_controlador_de_dominio}}` + +- Guarda la salida en un archivo para su posterior análisis: + +`GetNPUsers.py {{dominio}}/ -usersfile {{ruta/a/lista_de_usuarios}} -dc-ip {{ip_del_controlador_de_dominio}} -request > {{ruta/a/salida.txt}}` diff --git a/pages.es/common/gh-codespace.md b/pages.es/common/gh-codespace.md new file mode 100644 index 00000000000000..7f167825b9c1ff --- /dev/null +++ b/pages.es/common/gh-codespace.md @@ -0,0 +1,36 @@ +# gh codespace + +> Conecta y gestiona tus codespaces en GitHub. +> Más información: . + +- Crea un codespace en GitHub de forma interactiva: + +`gh {{[cs|codespace]}} create` + +- Lista todos los codespaces disponibles: + +`gh {{[cs|codespace]}} {{[ls|list]}}` + +- Conecta a un codespace vía SSH de forma interactiva: + +`gh {{[cs|codespace]}} ssh` + +- Transfiere un archivo específico a un codespace interactivamente: + +`gh {{[cs|codespace]}} cp {{ruta/al/archivo_fuente}} remote:{{ruta/al/archivo_remoto}}` + +- Lista los puertos de un codespace interactivo: + +`gh {{[cs|codespace]}} ports` + +- Muestra los registros (logs) de un codespace interactivo: + +`gh {{[cs|codespace]}} logs` + +- Elimina un codespace interactivamente: + +`gh {{[cs|codespace]}} delete` + +- Muestra ayuda para un subcomando: + +`gh {{[cs|codespace]}} {{code|cp|create|delete|edit|...}} {{[-h|--help]}}` diff --git a/pages.es/common/gh-cs.md b/pages.es/common/gh-cs.md new file mode 100644 index 00000000000000..9189d575ade85e --- /dev/null +++ b/pages.es/common/gh-cs.md @@ -0,0 +1,7 @@ +# gh cs + +> Este comando es un alias de `gh codespace`. + +- Vea la documentación del comando original: + +`tldr gh codespace` diff --git a/pages.es/common/gh-skyline.md b/pages.es/common/gh-skyline.md new file mode 100644 index 00000000000000..9761afe181463d --- /dev/null +++ b/pages.es/common/gh-skyline.md @@ -0,0 +1,37 @@ +# gh skyline + +> Genera un modelo 3D de tu historial de contribuciones a GitHub. +> Por defecto, creará un archivo `{usuario}-{año}-github-skyline.stl` en el directorio actual. +> Más información: . + +- Genera un archivo STL de la línea del horizonte para el año actual y el usuario autenticado: + +`gh skyline` + +- Genera una línea del horizonte para un [u]suario y un año [y] específicos: + +`gh skyline --user {{nombre_de_usuario}} --year {{año}}` + +- Genera una línea del horizonte para un intervalo de [a]ños: + +`gh skyline --user {{nombre_de_usuario}} --year {{primer_año}}-{{último_año}}` + +- Genera una línea del horizonte completa [f] (desde el año de alta del usuario hasta el año actual): + +`gh skyline --user {{nombre_de_usuario}} --full` + +- Habilita el registro de [d]epuración: + +`gh skyline --debug` + +- Genera una línea del horizonte y especifica la ruta del archivo de salida: + +`gh skyline --output {{ruta/al/archivo_salida.stl}}` + +- Abre el perfil de GitHub de un [u]suario específico: + +`gh skyline --user {{nombre_de_usuario}} --web` + +- Muestra ayuda: + +`gh skyline --help` diff --git a/pages.es/common/ghostty.md b/pages.es/common/ghostty.md new file mode 100644 index 00000000000000..347e809fc92581 --- /dev/null +++ b/pages.es/common/ghostty.md @@ -0,0 +1,29 @@ +# ghostty + +> Un emulador de terminal rápido, rico en características y multiplataforma que utiliza UI nativa de la plataforma y aceleración GPU. +> Nota: todas las opciones del archivo de configuración también pueden utilizarse en la línea de comandos (utilizando `--option=argument`). +> Más información: . + +- Abre una nueva ventana de Ghostty (no compatible con macOS): + +`ghostty` + +- Ejecuta un comando específico en una nueva ventana de Ghostty (no compatible con macOS): + +`ghostty -e {{comando}}` + +- Lista todas las combinaciones de teclas predeterminadas y configuradas: + +`ghostty +list-keybinds` + +- Lista todas las acciones (es decir, lo que se puede activar a través de combinaciones de teclas): + +`ghostty +list-actions` + +- Consulta una lista interactiva de temas: + +`ghostty +list-themes` + +- Imprime la configuración por defecto (incluidos los comentarios): + +`ghostty +show-config --default --docs` diff --git a/pages.es/common/git-add.md b/pages.es/common/git-add.md index 25426eece96734..21be06d9346d09 100644 --- a/pages.es/common/git-add.md +++ b/pages.es/common/git-add.md @@ -5,24 +5,32 @@ - Añade un archivo al índice: -`git add {{ruta/del/archivo}}` +`git add {{ruta/al/archivo}}` -- Añade todos los archivos (rastreados o no rastreados): +- Añade todos los archivos (rastreados o no): -`git add -A` +`git add {{[-A|--all]}}` -- Añade los archivos ya rastreados: +- Añade todos los archivos en el directorio actual: -`git add -u` +`git add .` + +- Añade únicamente los archivos ya rastreados: + +`git add {{[-u|--update]}}` - Añade también los archivos ignorados: -`git add -f` +`git add {{[-f|--force]}}` + +- Añade interactivamente partes de archivos al área de preparación (staging): + +`git add {{[-p|--patch]}}` -- Añade partes de archivos interativamente: +- Añade interactivamente partes de un archivo dado al área de preparación (staging): -`git add -p` +`git add {{[-p|--patch]}} {{ruta/al/archivo}}` -- Añade partes de un archivo interactivamente: +- Añade un archivo interactivamente al área de preparación (staging): -`git add -p {{ruta/del/archivo}}` +`git add {{[-i|--interactive]}}` diff --git a/pages.es/common/git-am.md b/pages.es/common/git-am.md index 91123e9c6f0477..c0bad018aba72a 100644 --- a/pages.es/common/git-am.md +++ b/pages.es/common/git-am.md @@ -1,12 +1,16 @@ # git am > Aplica archivos de parche. Útil cuando se reciben commits por correo electrónico. -> Véase también `git format-patch`, comando que genera archivo de parche. +> Vea también `git format-patch`, comando que genera archivos de parche. > Más información: . - Aplica un archivo de parche: -`git am {{ruta/del/archivo.patch}}` +`git am {{ruta/al/archivo.patch}}` + +- Aplica un archivo de parche remoto: + +`curl {{[-L|--location]}} {{https://ejemplo.com/file.patch}} | git apply` - Aborta el proceso de aplicar un archivo de parche: @@ -14,4 +18,4 @@ - Aplica todo lo posible de un archivo de parche y guarda los fragmentos fallidos para rechazar archivos: -`git am --reject {{ruta/del/archivo.patch}}` +`git am --reject {{ruta/al/archivo.patch}}` diff --git a/pages.es/common/git-bisect.md b/pages.es/common/git-bisect.md index ae1d8f3edaccdd..1a9b67c21a200c 100644 --- a/pages.es/common/git-bisect.md +++ b/pages.es/common/git-bisect.md @@ -1,21 +1,25 @@ # git bisect -> Utiliza la búsqueda binaria para encontrar el commit que introdujo un error. -> Git salta de un lado a otro del gráfico de commits para hasta alcanzar progresivamente el commit defectuoso. +> Utiliza la búsqueda binaria para encontrar la confirmación que introdujo un error. +> Git salta de un lado a otro del gráfico de confirmaciones hasta alcanzar progresivamente la confirmación defectuosa. > Más información: . -- Comienza un sesión de bisecado en un rango de commits delimitada por un commit erróneo conocido y por uno sano conocido (normalmente más antiguo): +- Comienza una sesión de bisecado en un rango de confirmaciones delimitado por una confirmación errónea conocida y por una sana conocida (normalmente más antigua): -`git bisect start {{commit_erroneo}} {{commit_bueno}}` +`git bisect start {{confirmación_errónea}} {{confirmación_buena}}` -- Para cada commit que `git bisect` selecciona, marcarlo como "malo" o "bueno" después de probarlo para el problema: +- Para cada confirmación que `git bisect` seleccione, marcala como "mala" (`bad`) o "buena" (`good`) después de probarla para el problema: -`git bisect {{bueno|malo}}` +`git bisect {{good|bad}}` -- Después de que `git bisect` determine con precisión el commit defectuoso, termina la sesión de bisecado y vuelve a la rama anterior: +- Termina la sesión de bisecado y vuelve a la rama anterior después de que `git-bisect` determine con precisión la confirmación defectuosa: `git bisect reset` -- Salta un commit durante una sesión de bisecado (p. ej., uno que falla las pruebas debido a un problema diferente): +- Omite una confirmación durante una sesión de bisecado (p. ej. una que falla las pruebas debido a un problema diferente): `git bisect skip` + +- Muestra un registro de lo que se ha hecho hasta el momento: + +`git bisect log` diff --git a/pages.es/common/git-blame.md b/pages.es/common/git-blame.md index f8f5a5a55646c5..e8dc8c3f07195a 100644 --- a/pages.es/common/git-blame.md +++ b/pages.es/common/git-blame.md @@ -1,12 +1,32 @@ # git blame -> Muestra el hash del commit y el último autor de cada línea de un archivo. +> Muestra el hash de la confirmación y el último autor en cada línea de un archivo. > Más información: . -- Muestra el archivo con el nombre del autor y el hash del commit en cada línea: +- Imprime el archivo con el nombre del autor y el hash del commit en cada línea: -`git blame {{archivo}}` +`git blame {{ruta/al/archivo}}` -- Muestra el archivo con correo electrónico del autor y hash del commit en cada línea: +- Imprime el archivo con el correo electrónico del autor y el hash de confirmación en cada línea: -`git blame -e {{archivo}}` +`git blame {{[-e|--show-email]}} {{ruta/al/archivo}}` + +- Imprime el archivo con el nombre del autor y el hash de confirmación en cada línea en una confirmación específica: + +`git blame {{commit}} {{ruta/al/archivo}}` + +- Imprime el archivo con el nombre del autor y el hash de confirmación en cada línea antes de una confirmación específica: + +`git blame {{commit}}~ {{ruta/al/archivo}}` + +- Salta al origen de una confirmación específica y rastrea un texto específico y 10 de sus líneas siguientes: + +`git blame -L '/{{text}}/',+10 {{a82812aa}}^ {{ruta/al/archivo}}` + +- Imprime el nombre del autor y la información del hash de confirmación para un rango de líneas específico: + +`git blame -L {{start_line}},{{end_line}} {{ruta/al/archivo}}` + +- Ignora los espacios en blanco y los movimientos de línea: + +`git blame -w -C -C -C {{ruta/a/archivo}}` diff --git a/pages.es/common/git-branch.md b/pages.es/common/git-branch.md index 8f4d15ddc5370c..82356153dd8275 100644 --- a/pages.es/common/git-branch.md +++ b/pages.es/common/git-branch.md @@ -1,32 +1,36 @@ # git branch -> Comando Git principal para trabajar con ramas. +> Comando principal de Git para trabajar con ramas. > Más información: . -- Muestra las ramas locales. La rama actual está resaltado por `*`: +- Lista todas las ramas (locales y remotas; la rama actual se resalta con `*`): -`git branch` +`git branch {{[-a|--all]}}` -- Muestra todas las ramas (locales y remotas): +- Lista las ramas que incluyen una confirmación específica en su historial: -`git branch -a` +`git branch {{[-a|--all]}} --contains {{hash_de_la_confirmación}}` - Muestra el nombre de la rama actual: `git branch --show-current` -- Crea una nueva rama basada en el commit actual: +- Crea una nueva rama basada en la confirmación actual: -`git branch {{nombre_de_la_rama}}` +`git branch {{nombre_rama}}` -- Crea una nueva rama basada en un commit específico: +- Crea una nueva rama basada en una confirmación específica: -`git branch {{nombre_de_rama}} {{hash_del_commit}}` +`git branch {{nombre_de_rama}} {{hash_de_la_confirmación}}` -- Renombra una rama (no debe haber sido verificada para hacer esto): +- Renombra una rama (para ello no debes tenerla controlada): -`git branch -m {{antiguo_nombre_de_la_rama}} {{nuevo_nombre_de_la_rama}}` +`git branch {{[-m|--move]}} {{nombre_de_rama_antigua}} {{nuevo_nombre_rama}}` -- Borrar una rama local (no debe haber sido verificada para hacer esto): +- Elimina una rama local (no debes tenerla controlada para hacerlo): -`git branch -d {{nombre_de_la_rama}}` +`git branch {{[-d|--delete]}} {{nombre_de_rama}}` + +- Elimina una rama remota: + +`git push {{nombre_remoto}} {{[-d|--delete]}} {{nombre_de_rama_remota}}` diff --git a/pages.es/common/git-bundle.md b/pages.es/common/git-bundle.md new file mode 100644 index 00000000000000..2c6e1f467fd0d8 --- /dev/null +++ b/pages.es/common/git-bundle.md @@ -0,0 +1,36 @@ +# git bundle + +> Empaqueta objetos y referencias en un archivo. +> Más información: . + +- Crea un archivo bundle que contiene todos los objetos y referencias de una rama específica: + +`git bundle create {{ruta/al/archivo.bundle}} {{nombre_rama}}` + +- Crea un archivo bundle de todas las ramas: + +`git bundle create {{ruta/al/archivo.bundle}} --all` + +- Crea un archivo bundle de los últimos 5 commits de la rama actual: + +`git bundle create {{ruta/al/archivo.bundle}} -5 {{HEAD}}` + +- Crea un archivo bundle de los últimos 7 días: + +`git bundle create {{ruta/al/archivo.bundle}} --since 7.days {{HEAD}}` + +- Verifica que un archivo bundle es válido y puede aplicarse al repositorio actual: + +`git bundle verify {{ruta/al/archivo.bundle}}` + +- Imprime en `stdout` la lista de referencias contenidas en un bundle: + +`git bundle unbundle {{ruta/al/archivo.bundle}}` + +- Desagrupa una rama específica de un archivo bundle en el repositorio actual: + +`git pull {{ruta/al/archivo.bundle}} {{nombre_rama}}` + +- Crea un nuevo repositorio a partir de un paquete: + +`git clone {{ruta/al/archivo.bundle}}` diff --git a/pages.es/common/git-check-ignore.md b/pages.es/common/git-check-ignore.md index 2f99b92ae6b263..e5e14c3c2c3d04 100644 --- a/pages.es/common/git-check-ignore.md +++ b/pages.es/common/git-check-ignore.md @@ -5,20 +5,20 @@ - Comprueba si un archivo o directorio es ignorado: -`git check-ignore {{ruta/del/archivo_o_directorio}}` +`git check-ignore {{ruta/al/archivo_o_directorio}}` - Comprueba si varios archivos o directorios son ignorados: -`git check-ignore {{ruta/del/archivo}} {{ruta/del/directorio}}` +`git check-ignore {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` - Usa nombres de rutas, uno por línea, a partir de la entrada estandar (`stdin`): -`git check-ignore --stdin < {{ruta/del/archivo_lista}}` +`git check-ignore --stdin < {{ruta/al/archivo_lista}}` -- No comprueba el índice (se utiliza para depurar por qué las rutas fueron rastreadas y no ignoradas): +- Comprueba sin leer el índice (se utiliza para depurar por qué las rutas fueron rastreadas y no ignoradas): -`git check-ignore --no-index {{ruta/de_los/archivos_o_directorios}}` +`git check-ignore --no-index {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` - Incluye detalles sobre el patrón de coincidencia para cada ruta: -`git check-ignore --verbose {{ruta/de_los/archivos_o_directorios}}` +`git check-ignore {{[-v|--verbose]}} {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` diff --git a/pages.es/common/git-checkout.md b/pages.es/common/git-checkout.md index 71cf46d9bd70a6..ad3d05cf96e55a 100644 --- a/pages.es/common/git-checkout.md +++ b/pages.es/common/git-checkout.md @@ -1,9 +1,9 @@ # git checkout -> Comprueba una rama o rutas con el arbol de trabajo. +> Comprueba una rama o rutas con el árbol de trabajo. > Más información: . -- Crea una nueva rama y cambiarse a esta: +- Crea una nueva rama y se cambia a la misma: `git checkout -b {{nombre_de_la_rama}}` @@ -21,16 +21,16 @@ - Cambia a una rama remota existente: -`git checkout --track {{nombre_remoto}}/{{nombre_de_la_rama}}` +`git checkout {{[-t|--track]}} {{nombre_remoto}}/{{nombre_de_la_rama}}` -- Descarta todos los cambios sin marcar en el directorio actual (véase `git reset` para más comandos para deshacer): +- Descarta todos los cambios sin marcar en el directorio actual (vea `git reset` para más comandos para deshacer): `git checkout .` -- Decarta los cambios no marcados de un archivo específico: +- Descarta los cambios no marcados de un archivo específico: `git checkout {{nombre_del_archivo}}` -- Sustituir un archivo en el directorio actual con la versión de este en un commit de una rama específica: +- Reemplaza un archivo en el directorio actual con la versión de este en la confirmación de una rama específica: `git checkout {{nombre_de_la_rama}} -- {{nombre_del_archivo}}` diff --git a/pages.es/common/git-cherry-pick.md b/pages.es/common/git-cherry-pick.md index 85c458d7f40455..975c161bc21326 100644 --- a/pages.es/common/git-cherry-pick.md +++ b/pages.es/common/git-cherry-pick.md @@ -1,21 +1,21 @@ # git cherry-pick -> Aplica los cambios introducidos por commits existentes a la rama actual. +> Aplica los cambios introducidos por confirmaciones existentes a la rama actual. > Para aplicar cambios a otra rama, primero utiliza `git checkout` para cambiar a la rama deseada. > Más información: . -- Aplica un commit a la rama actual: +- Aplica una confirmación a la rama actual: -`git cherry-pick {{commit}}` +`git cherry-pick {{confirmación}}` -- Aplica un rango de commits de la rama actual (véase también `git rebase --onto`): +- Aplica un rango de confirmaciones de la rama actual (vea también `git rebase --onto`): -`git cherry-pick {{commit_inicial}}~..{{commit_final}}` +`git cherry-pick {{confirmación_inicial}}~..{{confirmación_final}}` -- Aplica múltiples commits no secuenciales a la rama actual: +- Aplica múltiples confirmaciones no secuenciales a la rama actual: -`git cherry-pick {{commit_1}} {{commit_2}}` +`git cherry-pick {{confirmación_1 confirmación_2 ...}}` -- Añade los cambios de un commit al directorio de trabajo, sin crear un commit: +- Añade los cambios de una confirmación al directorio de trabajo, sin crear una confirmación: -`git cherry-pick -n {{commit}}` +`git cherry-pick {{[-n|--no-commit]}} {{confirmación}}` diff --git a/pages.es/common/git-clean.md b/pages.es/common/git-clean.md index 85565ef25681f6..b7f649fa8f73f8 100644 --- a/pages.es/common/git-clean.md +++ b/pages.es/common/git-clean.md @@ -9,19 +9,19 @@ - Elimina interactivamente archivos que no son rastreados por Git: -`git clean -i` +`git clean {{[-i|--interactive]}}` - Muestra que archivos serían borrados sin llegar a borrarlos: -`git clean --dry-run` +`git clean {{[-n|--dry-run]}}` - Elimina forzosamente los archivos que no son rastreados por Git: -`git clean -f` +`git clean {{[-f|--force]}}` - Elimina forzosamente los directorios que no son rastreados por Git: -`git clean -fd` +`git clean {{[-f|--force]}} -d` - Elimina archivos sin rastrear, incluyendo los archivos ignorados en `.gitignore` y los excluidos en `.git/info/exclude`: diff --git a/pages.es/common/git-cliff.md b/pages.es/common/git-cliff.md new file mode 100644 index 00000000000000..4bcaff682c16c2 --- /dev/null +++ b/pages.es/common/git-cliff.md @@ -0,0 +1,24 @@ +# git cliff + +> Un generador de registros de cambios altamente personalizable. +> Más información: . + +- Genera un registro de cambios a partir de todos los commits de un repositorio Git y lo guarda en `CHANGELOG.md`: + +`git cliff > {{CHANGELOG.md}}` + +- Genera un registro de cambios a partir de las confirmaciones desde la última etiqueta y lo imprime en `stdout`: + +`git cliff {{[-l|--latest]}}` + +- Genera un registro de cambios a partir de las confirmaciones que pertenecen a la etiqueta actual (usa `git checkout` en una etiqueta anterior a esta): + +`git cliff --current` + +- Genera un registro de cambios a partir de las confirmaciones que no pertenecen a una etiqueta: + +`git cliff {{[-u|--unreleased]}}` + +- Escribe el archivo de configuración por defecto en `cliff.toml` en el directorio actual: + +`git cliff {{[-i|--init]}}` diff --git a/pages.es/common/git-clone.md b/pages.es/common/git-clone.md index c100e4ce0211c9..8a9ddc82fa17da 100644 --- a/pages.es/common/git-clone.md +++ b/pages.es/common/git-clone.md @@ -3,22 +3,34 @@ > Clona un repositorio existente. > Más información: . -- Clona un repositorio existente: +- Clona un repositorio existente en un directorio nuevo (el directorio por defecto es el nombre del repositorio): -`git clone {{ubicación_remota_del_repositorio}}` +`git clone {{ubicación_repositorio_remoto}} {{ruta/al/directorio}}` - Clona un repositorio existente y sus submódulos: -`git clone --recursive {{ubicación_remota_del_repositorio}}` +`git clone --recursive {{ubicación_repositorio_remoto}}` + +- Clona sólo el directorio `.git` de un repositorio existente: + +`git clone {{[-n|--no-checkout]}} {{ubicación_repositorio_remoto}}` - Clona un repositorio local: -`git clone -l {{ruta/del/repositorio/local}}` +`git clone {{[-l|--local]}} {{ruta/al/repositorio/local}}` + +- Clona en silencio: + +`git clone {{[-q|--quiet]}} {{ubicación_repositorio_remoto}}` + +- Clona un repositorio existente obteniendo sólo los 10 commits más recientes de la rama por defecto (útil para ahorrar tiempo): + +`git clone --depth 10 {{ubicación_repositorio_remoto}}` -- Clona silenciosamente (sin detalles del proceso de clonación): +- Clona un repositorio existente buscando sólo una rama específica: -`git clone -q {{ubicación_remota_del_repositorio}}` +`git clone {{[-b|--branch]}} {{nombre}} --single-branch {{ubicación_repositorio_remoto}}` -- Clona un repositorio existente a partir de los últimos 10 commits más reciente de la rama por defecto (útil para ahorrar tiempo): +- Clona un repositorio existente usando un comando SSH específico: -`git clone --depth {{10}} {{ubicación_remota_del_repositorio}}` +`git clone {{[-c|--config]}} core.sshCommand="{{ssh -i ruta/a/clave_privada_ssh}}" {{ubicación_repositorio_remoto}}` diff --git a/pages.es/common/git-cola.md b/pages.es/common/git-cola.md new file mode 100644 index 00000000000000..b8502d3eb60cb4 --- /dev/null +++ b/pages.es/common/git-cola.md @@ -0,0 +1,24 @@ +# git cola + +> Una poderosa interfaz gráfica de Usuario (GUI) Git con experiencia de usuario ágil e intuitiva. +> Más información: . + +- Inicia la GUI: + +`git cola` + +- Inicia la GUI en modo de enmienda (amend mode): + +`git cola --amend` + +- Apunta a un repositorio Git. Predeterminado al directorio actual: + +`git cola --prompt` + +- Abre el repositorio Git en la ruta mencionada: + +`git cola --repo {{ruta/al/repositorio-git}}` + +- Aplica el filtro de ruta al componente gráfico de estado: + +`git cola --status-filter {{filtro}}` diff --git a/pages.es/common/git-commit.md b/pages.es/common/git-commit.md index c939eeec465ddd..242f4c6a6f08c1 100644 --- a/pages.es/common/git-commit.md +++ b/pages.es/common/git-commit.md @@ -1,20 +1,32 @@ # git commit -> Realiza commits de los archivos al repositorio. +> Realiza confirmaciones de los archivos al repositorio. > Más información: . -- Raliza un commit de los archivos marcados al repositorio con un mensaje: +- Realiza una confirmación de los archivos marcados al repositorio con un mensaje: -`git commit -m {{mensaje}` +`git commit {{[-m|--message]}} "{{mensaje}}"` -- Marca automáticamente todos los archivos modificados y realiza un commit con un mensaje: +- Realiza una confirmación de los archivos marcados con un mensaje leído desde un archivo: -`git commit -a -m {{mensaje}}` +`git commit {{[-F|--file]}} {{ruta/al/archivo_con_mensaje_de_la_confirmación}}` -- Sustituye el último commit con los cambios marcados actualmente: +- Marca automáticamente todos los archivos modificados y realiza una confirmación con un mensaje: + +`git commit {{[-a|--all]}} {{[-m|--message]}} "{{mensaje}}"` + +- Confirma todos los archivos preparados y los firma con una llave de GPG (o la llave en el archivo de configuración si no se especifica un argumento): + +`git commit {{[-S|--gpg-sign]}} {{identificador_de_llave}} {{[-m|--message]}} "{{mensaje}}"` + +- Sustituye la última confirmación con los cambios marcados actualmente, cambiando el hash de la confirmación: `git commit --amend` -- Realiza un commit para unos archivos específicos (que ya deben haber sido marcados previamente): +- Realiza una confirmación para archivos específicos (marcados previamente): + +`git commit {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Crea una confirmación, incluso si no hay archivos marcados: -`git commit {{ruta/de/mi/archivo1}} {{ruta/de/mi/archivo2}}` +`git commit {{[-m|--message]}} "{{mensaje}}" --allow-empty` diff --git a/pages.es/common/git-config.md b/pages.es/common/git-config.md index b4fbe95b3793f4..0a99eb08774ef4 100644 --- a/pages.es/common/git-config.md +++ b/pages.es/common/git-config.md @@ -1,29 +1,37 @@ # git config -> Gestiona opciones personalizadas para la configuración de repositorios Git. -> Esta configuración puede ser local (para el repositorio actual) o global (para el usuario actual). +> Gestiona opciones de configuración personalizadas para repositorios Git. +> Estas configuraciones pueden ser locales (para el repositorio actual) o globales (para el usuario actual). > Más información: . -- Muestra solo las entradas de la configuración local (almacenadas en `.git/config` en el repositorio actual): +- Establece globalmente tu nombre o correo electrónico (esta información es necesaria para hacer un commit en un repositorio y se incluirá en todos los commits): -`git config --list --local` +`git config --global {{user.name|user.email}} "{{Tu nombre|email@example.com}}"` -- Muestra solo las entradas de la configuración global (almacenadas en `~/.gitconfig`): +- Lista las entradas de configuración local o global: -`git config --list --global` +`git config {{[-l|--list]}} --{{local|global}}` -- Muestra todas las entradas de configuración que han sido definas local o globalmente: +- Lista sólo las entradas de configuración del sistema (almacenadas en `/etc/gitconfig`), y muestra la ubicación de dicho archivo: -`git config --list` +`git config {{[-l|--list]}} --system --show-origin` -- Muestra el valor de una entrada específica de la configuración: +- Obtén el valor de una entrada de configuración dada: `git config alias.unstage` -- Establece un valor global para una entrada específica de la configuración: +- Establece el valor global de una entrada de configuración dada: `git config --global alias.unstage "reset HEAD --"` -- Revierte una entrada de la configuración global a su valor por defecto: +- Revierte una entrada de configuración global a su valor por defecto: `git config --global --unset alias.unstage` + +- Edita la configuración local de Git (`.git/config`) en el editor por defecto: + +`git config {{[-e|--edit]}}` + +- Edita la configuración global de Git (`~/.gitconfig` por defecto o `$XDG_CONFIG_HOME/git/config` si existe tal archivo) en el editor por defecto: + +`git config --global {{[-e|--edit]}}` diff --git a/pages.es/common/git-diff.md b/pages.es/common/git-diff.md index 082d37d2f9460d..1dde2cb90b965a 100644 --- a/pages.es/common/git-diff.md +++ b/pages.es/common/git-diff.md @@ -1,36 +1,36 @@ # git diff -> Muestra los cambios de los archivos rastreados. +> Muestra los cambios en los archivos rastreados. > Más información: . -- Muestra los cambios sin marcar ni commit: +- Muestra cambios no preparados: `git diff` -- Muestra todos los cambios sin commit, pero incluye los marcados: +- Muestra todos los cambios no confirmados (incluyendo los preparados): `git diff HEAD` -- Muestra solo los cambios marcados pero que no tienen commit: +- Muestra sólo los cambios preparados (añadidos, pero aún no confirmados): `git diff --staged` -- Muestra los cambios de todos los commits a partir de una fecha/tiempo específico (una expresión de fecha, por ej., "1 semana 2 días" o una fecha ISO): +- Muestra los cambios de todos los confirmados desde una fecha/hora dada (una expresión de fecha, por ejemplo "1 week 2 days" o una fecha ISO): -`git diff 'HEAD@{3 meses|semanas|días|horas|segundos}'` +`git diff 'HEAD@{{{3 months|weeks|days|hours|seconds ago}}}'` -- Muestra solo los nombres de los archivos cambiados con un commit específico: +- Muestra estadísticas de diff, como archivos cambiados, histograma y total de inserciones/eliminaciones de líneas: -`git diff --name-only {{commit}}` +`git diff --stat {{confirmación}}` -- Muestra un resumen de la creación, renombre y modos de cambio con un commit específico: +- Muestra un resumen de creaciones de archivos, renombramientos y cambios de modo desde una confirmación dada: -`git diff --summary {{commit}}` +`git diff --summary {{confirmación}}` -- Compara un único archivo entre dos ramas o commits: +- Compara un único archivo entre dos ramas o confirmaciones: -`git diff {{rama_1}}..{{rama_2}} [--] {{ruta/del/archivo}}` +`git diff {{rama_1}}..{{rama_2}} {{ruta/al/archivo}}` -- Compara diferentes archivos de la rama actual con otra rama: +- Compara distintos archivos de la rama actual con otra rama: -`git diff {{rama}}:{{ruta/del/archivo}} {{ruta/del/archivo2}}` +`git diff {{rama}}:{{ruta/al/archivo2}} {{ruta/al/archivo}}` diff --git a/pages.es/common/git-fetch.md b/pages.es/common/git-fetch.md index d183cc39f8db44..2762aabdc9e07d 100644 --- a/pages.es/common/git-fetch.md +++ b/pages.es/common/git-fetch.md @@ -17,8 +17,8 @@ - Recibe también las etiquetas de un repositorio upstream: -`git fetch --tags` +`git fetch {{[-t|--tags]}}` - Elimina las referencias locales a ramas remotas que han sido eliminadas de upstream: -`git fetch --prune` +`git fetch {{[-p|--prune]}}` diff --git a/pages.es/common/git-format-patch.md b/pages.es/common/git-format-patch.md index 291905e42a9cdc..f16eafe21fed51 100644 --- a/pages.es/common/git-format-patch.md +++ b/pages.es/common/git-format-patch.md @@ -1,17 +1,17 @@ # git format-patch > Prepara archivos .patch. Es útil cuando se envían commits por correo electrónico. -> Véase también `git-am`, comando que puede aplicar los archivos .patch generados. +> Vea también `git-am`, comando que puede aplicar los archivos .patch generados. > Más información: . -- Crea un archivo .patch con nombre automático para todos los cambios que no están en el push: +- Crea un archivo `.patch` con nombre automático para todos los cambios que no están en el push: `git format-patch {{origen}}` -- Escribe un archivo .patch para todos los commits entre dos revisiones a `stdout`: +- Escribe un archivo `.patch` para todos los commits entre dos revisiones a `stdout`: `git format-patch {{revisión_1}}..{{revisión_2}}` -- Escribe un archivo .patch para los 3 últimos commits: +- Escribe un archivo `.patch` para los 3 últimos commits: `git format-patch -{{3}}` diff --git a/pages.es/common/git-gc.md b/pages.es/common/git-gc.md index 1f37251ab45e10..e559be548862bf 100644 --- a/pages.es/common/git-gc.md +++ b/pages.es/common/git-gc.md @@ -11,7 +11,7 @@ `git gc --aggressive` -- No elimina objetos sueltos (por defecto los elimina): +- Optimiza sin eliminar objetos sueltos (por defecto los elimina): `git gc --no-prune` diff --git a/pages.es/common/git-grep.md b/pages.es/common/git-grep.md index 087373e815c530..344d90947e1156 100644 --- a/pages.es/common/git-grep.md +++ b/pages.es/common/git-grep.md @@ -1,4 +1,4 @@ -# git-grep +# git grep > Encuentra dentro de archivos en cualquier parte del historial del repositorio. > Acepta una gran cantidad de opciones, de la misma manera que el comando `grep`. @@ -12,7 +12,7 @@ `git grep {{cadena_a_buscar}} -- {{patrón_de_archivos}}` -- Busca una cadena en los archivos rastreados, incluyendo submodulos: +- Busca una cadena en los archivos rastreados, incluyendo submódulos: `git grep --recurse-submodules {{cadena_a_buscar}}` diff --git a/pages.es/common/git-gui.md b/pages.es/common/git-gui.md new file mode 100644 index 00000000000000..0cfc81f7b50b2c --- /dev/null +++ b/pages.es/common/git-gui.md @@ -0,0 +1,37 @@ +# git gui + +> Una GUI para Git para gestionar ramas, remotos, confirmaciones de cambio y realizar fusiones locales. +> Vea también: `git-cola`, `gitk`. +> Más información: . + +- Inicia la GUI: + +`git gui` + +- Muestra un archivo específico con el nombre del autor y el hash de confirmación en cada línea: + +`git gui blame {{ruta/al/archivo}}` + +- Abre `git gui blame` en una revisión específica: + +`git gui blame {{revisión}} {{ruta/al/archivo}}` + +- Abre `git gui blame` y desplaza la vista para centrarla en una línea específica: + +`git gui blame --line={{línea}} {{ruta/al/archivo}}` + +- Abre una ventana para hacer una confirmación y vuelve al intérprete de comandos cuando se haya completado: + +`git gui citool` + +- Abre `git gui citool` en modo "Modificar la última confirmación": + +`git gui citool --amend` + +- Abre `git gui citool` en modo de solo lectura: + +`git gui citool --nocommit` + +- Muestra un navegador para el árbol de una rama específica, abriendo la herramienta de autoría al hacer clic en los archivos: + +`git gui browser maint` diff --git a/pages.es/common/git-imerge.md b/pages.es/common/git-imerge.md index 5a35bdd7791529..0920a761586929 100644 --- a/pages.es/common/git-imerge.md +++ b/pages.es/common/git-imerge.md @@ -1,4 +1,4 @@ -# git-imerge +# git imerge > Ejecuta una fusión o rebase entre dos ramas Git incrementalmente. > Los conflictos entre las ramas se rastrean a pares de commits individuales para simplificar la resolución de conflictos. @@ -16,7 +16,7 @@ `git imerge diagram` -- Continua la operación imerge después de resolver los conflictos (primero añade con `git add` los archivos conflictivios): +- Continua la operación imerge después de resolver los conflictos (primero añade con `git add` los archivos conflictivos): `git imerge continue --no-edit` @@ -26,4 +26,4 @@ - Aborta una operación imerge y vuelve a la rama anterior: -`git-imerge remove && git checkout {{rama_anterior}}` +`git imerge remove && git checkout {{rama_anterior}}` diff --git a/pages.es/common/git-init.md b/pages.es/common/git-init.md index c6e221063edfc1..6938eb250d7b52 100644 --- a/pages.es/common/git-init.md +++ b/pages.es/common/git-init.md @@ -7,6 +7,14 @@ `git init` -- Inicializa un repositorio vacío, adecuado para usarlo como remoto a través de ssh: +- Inicializa un repositorio con un nombre especifico para la rama inicial: + +`git init {{[-b|--initial-branch]}} {{nombre_de_la_rama}}` + +- Inicializa un repositorio usando SHA256 como hash del objeto (requiere la versión 2.29+ de Git): + +`git init --object-format sha256` + +- Inicializa un repositorio vacío, adecuado para usarlo como remoto a través de SSH: `git init --bare` diff --git a/pages.es/common/git-lfs.md b/pages.es/common/git-lfs.md index 6156ddc6aaf204..e5e4bae5365a58 100644 --- a/pages.es/common/git-lfs.md +++ b/pages.es/common/git-lfs.md @@ -1,7 +1,7 @@ # git lfs -> Herramienta para trabajar con archivos grandes en repositorios Git. -> Más información: . +> Trabaja con archivos grandes en repositorios de Git. +> Más información: . - Inicializa Git LFS: @@ -13,7 +13,7 @@ - Cambia la URL a la que apunta Git LFS (útil si el servidor LFS está separado del servidor Git): -`git config -f .lfsconfig lfs.url {{url_del_punto_de_acceso_LFS}}` +`git config {{[-f|--file]}} .lfsconfig lfs.url {{url_del_punto_de_acceso_LFS}}` - Muestra los patrones rastreados: @@ -26,3 +26,11 @@ - Introduce todos los objetos LFS en el servidor remoto (útil si se encuentran errores): `git lfs push --all {{nombre_remoto}} {{nombre_de_la_rama}}` + +- Trae todos los objetos de Git LFS: + +`git lfs fetch` + +- Verifica todos los objetos de Git LFS: + +`git lfs checkout` diff --git a/pages.es/common/git-log.md b/pages.es/common/git-log.md index d48a44aa56312b..599c4d2542f6c9 100644 --- a/pages.es/common/git-log.md +++ b/pages.es/common/git-log.md @@ -1,32 +1,36 @@ # git log -> Muestra un historial de commits. +> Muestra un historial de confirmaciones. > Más información: . -- Muestra la secuencia de commits que comienza desde el actual, en orden cronológico inverso: +- Muestra la secuencia de confirmaciones comenzando desde el actual, en orden cronológico inverso, del respositorio de Git en el directorio de trabajo actual: `git log` -- Muestra el historial de un archivo o directorio específico e incluye las diferencias: +- Muestra el historial de un archivo o directorio específico, incluyendo las diferencias: -`git log -p {{ruta/al/archivo_o_directorio}}` +`git log {{[-p|--patch]}} {{ruta/al/archivo_o_directorio}}` -- Muestra solo la primera línea de cada mensaje de commit: - -`git log --oneline` - -- Muestra un resumen de los archivos, o archivo, cambiados en cada commit: +- Muestra un resumen de los archivos, o archivo, cambiados en cada confirmación: `git log --stat` -- Muestra un gráfico de los commits en la rama actual: +- Muestra un gráfico de las confirmaciones en la rama actual, utilizando solo la primer línea del mensaje de cada uno: -`git log --graph` +`git log --oneline --graph` -- Muestra un gráfico de todos los commits, etiquetas y ramas en todo el repositorio: +- Muestra un gráfico de todos las confirmaciones, etiquetas y ramas en todo el repositorio: `git log --oneline --decorate --all --graph` -- Muestra solo los commits cuyo mensaje incluya una cadena concreta (no diferencia entre mayúsculas y minúsculas): +- Muestra solo las confirmaciones cuyo mensaje incluye una cadena dada (no diferencia entre mayúsculas y minúsculas): + +`git log {{[-i|--regexp-ignore-case]}} --grep {{cadena_a_buscar}}` + +- Muestra las últimas N confirmaciones de determinado autor: + +`git log {{[-n|--max-count]}} {{número}} --author "{{autor}}"` + +- Muestra las confirmaciones entre dos fechas (yyyy-mm-dd): -`git log -i --grep {{cadena_a_buscar}}` +`git log --before "{{2017-01-29}}" --after "{{2017-01-17}}"` diff --git a/pages.es/common/git-ls-tree.md b/pages.es/common/git-ls-tree.md index a23107408a8425..efa1042e116c3d 100644 --- a/pages.es/common/git-ls-tree.md +++ b/pages.es/common/git-ls-tree.md @@ -3,14 +3,18 @@ > Muestra los contenidos de un objeto árbol. > Más información: . -- Muestra el contenido del árbol en una rama: +- Lista el contenido del árbol en una rama: `git ls-tree {{nombre_de_la_rama}}` -- Muestra el contenido del árbol en un commit (recursivo en subárboles): +- Lista el contenido del árbol en una confirmación (recursivo en subárboles): -`git ls-tree -r {{hash_del_commit}}` +`git ls-tree -r {{hash_de_la_confirmación}}` -- Muestra solo los nombres de archivos del árbol en un commit: +- Lista solo los nombres de archivos del árbol en una confirmación: -`git ls-tree --name-only {{hash_del_commit}}` +`git ls-tree --name-only {{hash_de_la_confirmación}}` + +- Lista el nombre de los archivos en la rama actual en forma de árbol (Nota: la opción `--fromfile` no está disponible en el comando `tree` de Windows): + +`git ls-tree -r --name-only HEAD | tree --fromfile` diff --git a/pages.es/common/git-merge.md b/pages.es/common/git-merge.md index e2cdbfa4c78d82..b8227311f62cd5 100644 --- a/pages.es/common/git-merge.md +++ b/pages.es/common/git-merge.md @@ -9,12 +9,16 @@ - Edita el mensaje de fusión: -`git merge -e {{nombre_de_la_rama}}` +`git merge {{[-e|--edit]}} {{nombre_de_la_rama}}` -- Fusiona una rama y crea un commit para la fusión: +- Fusiona una rama y crea una confirmación para la fusión: `git merge --no-ff {{nombre_de_la_rama}}` - Cancela una fusión en caso de conflictos: `git merge --abort` + +- Fusiona usando una estrategia específica: + +`git merge {{[-s|--strategy]}} {{estrategia}} {{[-X|--strategy-option]}} {{opción_de_estrategia}} {{nombre_de_la_rama}}` diff --git a/pages.es/common/git-mktree.md b/pages.es/common/git-mktree.md new file mode 100644 index 00000000000000..119ded43008287 --- /dev/null +++ b/pages.es/common/git-mktree.md @@ -0,0 +1,24 @@ +# git mktree + +> Construye un objeto árbol usando texto formateado `ls-tree`. +> Más información: . + +- Construye un objeto árbol y verifica que el hash de cada entrada del árbol identifica un objeto existente: + +`git mktree` + +- Permite que falten objetos: + +`git mktree --missing` + +- Lee la salida terminada en NUL (carácter cero) del objeto árbol (`ls-tree -z`): + +`git mktree -z` + +- Permite la creación de múltiples objetos árbol: + +`git mktree --batch` + +- Ordena y construye un árbol a partir de `stdin` (se requiere un formato de salida de `git ls-tree` no recursivo): + +`git mktree < {{ruta/a/árbol.txt}}` diff --git a/pages.es/common/git-mv.md b/pages.es/common/git-mv.md index 3bf8388244d740..b87db8480cc990 100644 --- a/pages.es/common/git-mv.md +++ b/pages.es/common/git-mv.md @@ -11,6 +11,6 @@ `git mv {{nombre_de_archivo}} {{nuevo_nombre_de_archivo}}` -- Sobrescribir el archivo en la ruta objetivo si existe: +- Sobrescribe el archivo en la ruta objetivo si existe: -`git mv --force {{archivo}} {{objetivo}}` +`git mv {{[-f|--force]}} {{archivo}} {{objetivo}}` diff --git a/pages.es/common/git-pr.md b/pages.es/common/git-pr.md index a66f921ddff802..6f5d1d4215277a 100644 --- a/pages.es/common/git-pr.md +++ b/pages.es/common/git-pr.md @@ -3,15 +3,15 @@ > Comprueba las solicitudes de extracción de cambios (*pull requests*) de GitHub localmente. > Más información: . -- Comprueba una pull request específica: +- Comprueba un pull request específica: `git pr {{número_pr}}` -- Comprueba una pull request para un remoto específico: +- Comprueba un pull request para un remoto específico: `git pr {{número_pr}} {{remoto}}` -- Comprueba una pull request a partir de su URL: +- Comprueba un pull request a partir de su URL: `git pr {{url}}` diff --git a/pages.es/common/git-pull.md b/pages.es/common/git-pull.md index 120929d945ce65..33ed3e5c342f7f 100644 --- a/pages.es/common/git-pull.md +++ b/pages.es/common/git-pull.md @@ -1,16 +1,16 @@ # git pull -> Obtener rama de un repositorio remoto y fusionarlo con el repositorio local. +> Obtiene rama de un repositorio remoto y lo fusiona con el repositorio local. > Más información: . -- Descargar cambios del repositorio remoto por defecto y fusionarlo: +- Descarga cambios del repositorio remoto por defecto y lo fusiona: `git pull` -- Descargar cambios del repositorio remoto por defecto y usar avance rápido (*fast forward*): +- Descarga cambios del repositorio remoto por defecto y usa avance rápido (fast forward): -`git pull --rebase` +`git pull {{[-r|--rebase]}}` -- Descargar cambios de un repositorio remoto y una rama específica para fusionarlos en HEAD: +- Descarga cambios de un repositorio remoto y una rama específica para fusionarlos en HEAD: `git pull {{nombre_remoto}} {{rama}}` diff --git a/pages.es/common/git-push.md b/pages.es/common/git-push.md index b218d4371f4e45..6c9a1bfb7952e5 100644 --- a/pages.es/common/git-push.md +++ b/pages.es/common/git-push.md @@ -1,27 +1,31 @@ # git push -> Enviar (*push*) los commits al repositorio remoto. +> Envía (*push*) los commits al repositorio remoto. > Más información: . -- Envia los cambios locales en la rama actual a la misma rama en el remoto: +- Envía los cambios locales en la rama actual a la misma rama en el remoto: `git push` -- Envia los cambios locales de una rama específica a la misma rama en el remoto: +- Envía los cambios locales de una rama específica a la misma rama en el remoto: `git push {{nombre_remoto}} {{rama_local}}` - Publica la rama actual en el repositorio remoto y establece el nombre remoto de la rama: -`git push {{nombre_remoto}} -u {{rama_remota}}` +`git push {{[-u|--set-upstream]}} {{nombre_remoto}} {{rama_remota}}` -- Envia los cambios de todas las ramas locales a sus respectivas ramas en el repositorio remoto: +- Envía los cambios locales de una rama específica a una rama específica en el remoto: + +`git push {{nombre_remoto}} {{rama_local}}:{{rama_remota}}` + +- Envía los cambios de todas las ramas locales a sus respectivas ramas en el repositorio remoto: `git push --all {{nombre_remoto}}` - Elimina una rama en el repositorio remoto: -`git push {{nombre_remoto}} --delete {{rama_remota}}` +`git push {{nombre_remoto}} {{[-d|--delete]}} {{rama_remota}}` - Elimina las ramas remotas que no están en el repositorio local: diff --git a/pages.es/common/git-rebase.md b/pages.es/common/git-rebase.md index 2d910c7520f87a..eee90402bb5807 100644 --- a/pages.es/common/git-rebase.md +++ b/pages.es/common/git-rebase.md @@ -1,22 +1,22 @@ # git rebase -> Vuelve a aplicar commits de una rama en lo más alto de otra rama. -> Se utiliza comúnmente para "mover" una rama entera a otra base, ya que crea copias de los commits en una nueva ubicación. +> Vuelve a aplicar confirmaciones de una rama en lo más alto de otra rama. +> Se utiliza comúnmente para "mover" una rama entera a otra base, ya que crea copias de las confirmaciones en una nueva ubicación. > Más información: . - Reorganiza la rama actual en lo más alto de otra rama: -`git rebase {{rama_de_reorganización}}` +`git rebase {{nueva_base_rama}}` -- Inicia un rebase interactivo que permite reordenar los commits, omitirlos, combinarlos o modificarlos: +- Inicia un rebase interactivo que permite reordenar, omitir, combinar o modificar confirmaciones: -`git rebase -i {{rama_base_objetivo_o_hash_del_commit}}` +`git rebase {{[-i|--interactive]}} {{rama_base_objetivo_o_hash_de_la_confirmación}}` - Continúa un rebase que fue interrumpido por una fusión fallida después de editar los archivos con conflictos: `git rebase --continue` -- Continúa un rebase que fue pausado para fusionar conflictos saltando el commit conflictivo: +- Continúa un rebase que fue pausado para fusionar conflictos saltando la confirmación conflictiva: `git rebase --skip` @@ -28,10 +28,10 @@ `git rebase --onto {{base_nueva}} {{base_antigua}}` -- Reaplica los últimos 5 commits en su lugar, evita que puedan ser reordenados, omitidos, combinados o modificados: +- Reaplica las últimas cinco confirmaciones en su lugar, evita que puedan ser reordenadas, omitidas, combinadas o modificadas: -`git rebase -i {{HEAD~5}}` +`git rebase {{[-i|--interactive]}} {{HEAD~5}}` -- Resuelve automáticamente cualquier conflicto favoreciendo la versión de la rama en la que se esta trabajando (en este caso la palabra `theirs` tiene un significado invertido): +- Resuelve automáticamente cualquier conflicto favoreciendo la versión de la rama en la que se está trabajando (en este caso la palabra `theirs` tiene un significado invertido): -`git rebase -X theirs {{rama_de_reorganización}}` +`git rebase {{[-X|--strategy-option]}} theirs {{nombre_rama}}` diff --git a/pages.es/common/git-reflog.md b/pages.es/common/git-reflog.md index af3b9a637496c6..dd787642b2d614 100644 --- a/pages.es/common/git-reflog.md +++ b/pages.es/common/git-reflog.md @@ -13,4 +13,4 @@ - Muestra solo las últimas 5 entradas en el registro de referencias: -`git reflog -n {{5}}` +`git reflog {{[-n|--max-count]}} 5` diff --git a/pages.es/common/git-remote.md b/pages.es/common/git-remote.md index 5c800b33fa36bf..754274bd3fe00e 100644 --- a/pages.es/common/git-remote.md +++ b/pages.es/common/git-remote.md @@ -5,16 +5,24 @@ - Muestra una lista de los remotos existentes, sus nombres y URL: -`git remote -v` +`git remote {{[-v|--verbose]}}` + +- Muestra información de un remoto: + +`git remote show {{nombre_remoto}}` - Añade un remoto: `git remote add {{nombre_remoto}} {{url_remoto}}` -- Cambiar la URL de un remoto (utiliza `--add` para mantener la URL existente): +- Cambia la URL de un remoto (utiliza `--add` para mantener la URL existente): `git remote set-url {{nombre_remoto}} {{nueva_url}}` +- Muestra la URL de un remoto: + +`git remote get-url {{nombre_del_remoto}}` + - Elimina un remoto: `git remote remove {{nombre_remoto}}` diff --git a/pages.es/common/git-reset.md b/pages.es/common/git-reset.md index f2992f4d0c3282..59f830acf00911 100644 --- a/pages.es/common/git-reset.md +++ b/pages.es/common/git-reset.md @@ -1,33 +1,33 @@ # git reset -> 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. +> Deshaz confirmaciones o desmarca cambios mediante el restablecimiento del actual HEAD de Git al estado especificado. +> Si se pasa una ruta, funciona como "desmarcar", si se pasa el hash de una confirmación o una rama, funciona como "deshacer" la confirmación. > Más información: . -- Desmarcar todo: +- Desmarca todo: `git reset` -- Desmarcar un archivo o archivos específicos: +- Desmarca un archivo o archivos específicos: `git reset {{ruta/al/archivo_o_archivos}}` -- Desmarca partes de un archivo: +- Interactivamente desmarca partes de un archivo: -`git reset -p {{ruta/al/archivo}}` +`git reset {{[-p|--patch]}} {{ruta/al/archivo}}` -- Deshace el último commit, manteniendo sus cambios,y cualquier otro cambios sin commit,en el sistema de archivo: +- Deshaz la última confirmación, manteniendo sus cambios, y cualquier otro cambio sin confirmación, en el sistema de archivos: `git reset HEAD~` -- Deshace los últimos dos commits al añadir sus cambios al índice (por ej., marcado para commit): +- Deshaz las últimas dos confirmaciones al añadir sus cambios al índice (p. ej. marcado para confirmación): `git reset --soft HEAD~2` -- Descartar cualquier cambio sin commit, marcado o no (se puede `git checkout` solo para los cambios sin marcar): +- Descarta cualquier cambio sin confirmación, marcado o no (se puede `git checkout` solo para los cambios sin marcar): `git reset --hard` -- Resetea el repositorio a un commit específico y descarta a partir de este los cambios con y sin commit, y los marcados: +- Restablece el repositorio a una confirmación específica y descarta a partir de esta los cambios con y sin confirmación, y los marcados: -`git reset --hard {{commit}}` +`git reset --hard {{confirmación}}` diff --git a/pages.es/common/git-restore.md b/pages.es/common/git-restore.md index 7f0be0253663c4..ae0174d8f326a4 100644 --- a/pages.es/common/git-restore.md +++ b/pages.es/common/git-restore.md @@ -1,17 +1,33 @@ # git restore -> Restura archivo del arbol de trabajo. Requiere la version 2.23 o superior de Git. -> Véase también `git checkout` +> Restaura los archivos del árbol de trabajo. Requiere la version 2.23+ de Git. +> Vea también `git checkout` y `git reset`. > Más información: . -- Restaura un archivo eliminado del contenido del commit actual (HEAD): +- Restaura un archivo sin marcar a la versión de la confirmación actual (HEAD): `git restore {{ruta/al/archivo}}` -- Restaura un archivo a la versión de un commit diferente: +- Restaura un archivo sin marcar a la versión de una confirmación específica: -`git restore --source {{commit}} {{ruta/al/archivo}}` +`git restore {{[-s|--source]}} {{confirmación}} {{ruta/al/archivo}}` -- Deshace cambios sin commit para los archivos rastreados, revirtiendo al HEAD actual: +- Descarta los cambios sin confirmación para los archivos rastreados: -`git restore .` +`git restore :/` + +- Desmarca un archivo: + +`git restore {{[-S|--staged]}} {{ruta/al/archivo}}` + +- Desmarca todos los archivos: + +`git restore {{[-S|--staged]}} :/` + +- Descarta todos los cambios de los archivos, marcados o no: + +`git restore {{[-W|--worktree]}} {{[-S|--staged]}} :/` + +- Selecciona interactivamente secciones de archivos para restaurar: + +`git restore {{[-p|--patch]}}` diff --git a/pages.es/common/git-rev-list.md b/pages.es/common/git-rev-list.md index db6c693b257c5c..648a727688e64e 100644 --- a/pages.es/common/git-rev-list.md +++ b/pages.es/common/git-rev-list.md @@ -1,16 +1,24 @@ # git rev-list -> Muestra las revisiones (commits) en orden cronológico inverso. +> Muestra las revisiones (confirmaciones) en orden cronológico inverso. > Más información: . -- Muestra todos los commits de la rama actual: +- Muestra todas las confirmaciones de la rama actual: `git rev-list {{HEAD}}` -- Muestra los commits más recientes a partir de una fecha y una rama específica: +- Imprime la última confirmación que cambió (agregó/editó/eliminó) un archivo específico en la rama actual: -`git rev-list --since={{'2019-12-01 00:00:00'}} {{nombre_de_rama}}` +`git rev-list {{[-n|--max-count]}} 1 HEAD -- {{ruta/al/archivo}}` -- Muestra todos los commits fusionados en un commit específico: +- Muestra las confirmaciones más recientes a partir de una fecha y una rama específica: -`git rev-list --merges {{commit}}` +`git rev-list --since "{{2019-12-01 00:00:00}}" {{nombre_de_rama}}` + +- Muestra todas las confirmaciones fusionadas en una confirmación específica: + +`git rev-list --merges {{confirmación}}` + +- Imprime el número de confirmaciones desde una etiqueta específica: + +`git rev-list {{nombre_de_la_etiqueta}}..HEAD --count` diff --git a/pages.es/common/git-rev-parse.md b/pages.es/common/git-rev-parse.md index e6e2884e9d41ff..1170a76701fb49 100644 --- a/pages.es/common/git-rev-parse.md +++ b/pages.es/common/git-rev-parse.md @@ -1,16 +1,16 @@ # git rev-parse -> Muestra metados relativos a revisiones específicas. +> Muestra metadatos relativos a revisiones específicas. > Más información: . -- Obtiene el hash del commit de una rama: +- Obtén el hash de la confirmación de una rama: `git rev-parse {{nombre_de_la_rama}}` -- Obtiene el nombre de la rama actual: +- Obtén el nombre de la rama actual: `git rev-parse --abbrev-ref {{HEAD}}` -- Obtiene la ruta absoluta al directorio raíz: +- Obtén la ruta absoluta al directorio raíz: `git rev-parse --show-toplevel` diff --git a/pages.es/common/git-revert.md b/pages.es/common/git-revert.md index bda26922dc3568..d85a59d744b5f0 100644 --- a/pages.es/common/git-revert.md +++ b/pages.es/common/git-revert.md @@ -1,20 +1,24 @@ # git revert -> Crea nuevos commits que revierten el efecton de los anteriores. +> Crea nuevas confirmaciones que revierten el efecto de los anteriores. > Más información: . -- Revierte el commit más reciente: +- Revierte la confirmación más reciente: -`git revert {{@}}` +`git revert {{HEAD}}` -- Revierte el quinto último commit: +- Revierte la quinta confirmación más reciente: `git revert HEAD~{{4}}` -- Revierte múltiples commits: +- Revierte una confirmación específica: -`git revert {{rama~5..rama~2}}` +`git revert {{0c01a9}}` -- No crea nuevos commits, solo cambia el árbol de trabajo: +- Revierte múltiples confirmaciones: -`git revert -n {{0c01a9..9a1743}}` +`git revert {{nombre_rama~5..nombre_rama~2}}` + +- Revierte confirmaciones sin crear nuevas confirmaciones: + +`git revert {{[-n|--no-commit]}} {{0c01a9..9a1743}}` diff --git a/pages.es/common/git-shortlog.md b/pages.es/common/git-shortlog.md index d7a08a715032a4..b30286f3e80269 100644 --- a/pages.es/common/git-shortlog.md +++ b/pages.es/common/git-shortlog.md @@ -3,26 +3,26 @@ > Resume la salida de `git log`. > Más información: . -- Muestra un resumen de todos los commits realizados, agrupados alfabéticamente por autor: +- Muestra un resumen de todas las confirmaciones realizadas, agrupadas alfabéticamente por autor: `git shortlog` -- Muestra un resumen de todos los commits realizados, agrupados por el número de commits realizados: +- Muestra un resumen de todas las confirmaciones realizadas, agrupadas por el número de confirmaciones realizadas: -`git shortlog -n` +`git shortlog {{[-n|--numbered]}}` -- Muestra un resumen de todos los commits realizados, agrupados por la identidad de quien realiza el commit (usuario y correo electrónico): +- Muestra un resumen de todas las confirmaciones realizadas, agrupadas por la identidad de quien realiza la confirmación (usuario y correo electrónico): -`git shortlog -c` +`git shortlog {{[-c|--committer]}}` -- Muestra un resumen de los últimos 5 commits (i. e., un rango de revisiones específico): +- Muestra un resumen de las últimas cinco confirmaciones (p. e., un rango de revisiones específico): -`git shortlog HEAD~{{5}}..HEAD` +`git shortlog HEAD~5..HEAD` -- Muestra todos los usuarios, correos electrónicos y número de commits en la rama actual: +- Muestra todos los usuarios, correos electrónicos y número de confirmaciones en la rama actual: -`git shortlog -sne` +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}` -- Muestra todos los usuarios, correos electrónicos y número de commits en todas las ramas: +- Muestra todos los usuarios, correos electrónicos y número de confirmaciones en todas las ramas: -`git shortlog -sne --all` +`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}} --all` diff --git a/pages.es/common/git-show.md b/pages.es/common/git-show.md index 100d77c2804ac5..44314cd5d60c55 100644 --- a/pages.es/common/git-show.md +++ b/pages.es/common/git-show.md @@ -1,28 +1,36 @@ # git show -> Muestra varios tipos de objetos Git (commits, etiquetas, etcétera). +> Muestra varios tipos de objetos Git (confirmaciones, etiquetas, etcétera). > Más información: . -- Muestra información sobre el último commit (mensaje, cambios y otros metadatos): +- Muestra información sobre la última confirmación (hash, mensaje, cambios y otros metadatos): `git show` -- Muestra información de un commit específico: +- Muestra información de una confirmación específica: -`git show {{commit}}` +`git show {{confirmación}}` -- Muestra información del commit asociado a una determinada etiqueta: +- Muestra información de la confirmación asociada a una determinada etiqueta: `git show {{etiqueta}}` -- Muestra información del tercer commit desde la punta de la rama: +- Muestra información de la tercera confirmación desde la punta de una rama: `git show {{rama}}~{{3}}` -- Muestra un hash de commit y un mensaje en una única línea, eliminando la el resultado de la diferencia: +- Muestra el mensaje de una confirmación en una única línea, eliminando el resultado de la diferencia: -`git show --oneline -s {{commit}}` +`git show --oneline -s {{confirmación}}` -- Muestra el contenido de una archivo en una revisión específica (por ej., una rama, una etiqueta o un commit): +- Muestra solo estadísticas (caracteres agregados o removidos) de los archivos modificados: -`git show {{revisión}}:{{ruta/del/archivo}}` +`git show --stat {{confirmación}}` + +- Muestra solo la lista de archivos agregados, renombrados o eliminados: + +`git show --summary {{confirmación}}` + +- Muestra el contenido de un archivo en una revisión específica (por ej., una rama, una etiqueta o una confirmación): + +`git show {{revisión}}:{{ruta/al/archivo}}` diff --git a/pages.es/common/git-sizer.md b/pages.es/common/git-sizer.md index 8991fc2822dbc0..a86c4bbf7420d1 100644 --- a/pages.es/common/git-sizer.md +++ b/pages.es/common/git-sizer.md @@ -1,16 +1,16 @@ -# git sizer +# git-sizer -> Calcula diferentes métricas del repositorio Git y te informa de cualquier que puede causar problemas o inconvenientes. +> Calcula varias métricas de tamaño de repositorios Git y te alerta de cualquiera que pueda causar problemas o inconvenientes. > Más información: . -- Reporta solo estadísticas que tienen un nivel de preocupación mayor que 0: +- Informa solo de las estadísticas que tienen un nivel de incidencia superior a 0: -`git sizer` +`git-sizer` -- Reporta todas las estadísticas: +- Informa de todas las estadísticas: -`git sizer -v` +`git-sizer -v` -- Muestra opciones adicionales: +- Vea opciones adicionales: -`git sizer -h` +`git-sizer -h` diff --git a/pages.es/common/git-stage.md b/pages.es/common/git-stage.md new file mode 100644 index 00000000000000..f5410528dd3a40 --- /dev/null +++ b/pages.es/common/git-stage.md @@ -0,0 +1,7 @@ +# git stage + +> Este comando es un alias de `git add`. + +- Vea la documentación para el comando original: + +`tldr git add` diff --git a/pages.es/common/git-stash.md b/pages.es/common/git-stash.md index 2d174a87518958..f40351046f2c20 100644 --- a/pages.es/common/git-stash.md +++ b/pages.es/common/git-stash.md @@ -1,36 +1,36 @@ # git stash -> Guarda cambios locales de Git en un área temporal. +> Almacena los cambios locales de Git en un área temporal. > Más información: . -- Guarda cambios actuales, excepto los archivos nuevos (sin rastrear): +- Almacena los cambios actuales, excepto los archivos nuevos (sin seguimiento): -`git stash [push -m {{mensaje_opcional_del_guardado}}]` +`git stash push {{[-m|--message]}} {{mensaje_opcional_stash}}` -- Guarda cambios actuales, incluyendo los archivos nuevos (sin rastrear): +- Almacena los cambios actuales, incluyendo los archivos nuevos (sin seguimiento): -`git stash -u` +`git stash {{[-u|--include-untracked]}}` -- Selecciona interactivamente las partes de archivos cambiados que deben ser guardadas: +- Selecciona interactivamente partes de los archivos modificados para almacenarlos: -`git stash -p` +`git stash {{[-p|--patch]}}` -- Muestra todos los guardados (muestra el nombre del guardado, la rama relacionada y el mensaje): +- Lista todos los stashes (muestra el nombre del stash, la rama relacionada y el mensaje): `git stash list` -- Aplica un guardado (por defecto aplica el último, llamado stash@{0}): +- Muestra los cambios como un parche entre el stash (por defecto es `stash@{0}`) y la confirmación de cuando se creó la entrada stash por primera vez: -`git stash apply {{nombre_opcional_del_guardado_o_commit}}` +`git stash show {{[-p|--patch]}} {{stash@{0}}}` -- Aplica un guardado (por defecto es stash@{0} y lo traslada desde la lista de guardado si no causa conflictos: +- Aplica un stash (por defecto es el último, llamado `stash@{0}`): -`git stash pop {{nombre_opcional_del_guardado}}` +`git stash apply {{nombre_opcional_del_stash_o_confirmación}}` -- Elimina un guardado (por defecto es stash@{0}): +- Suelta o aplica un stash (por defecto es `stash@{0}`) y lo elimina de la lista de stash si su aplicación no causa conflictos: -`git stash drop {{nombre_opcional_del_guardado}}` +`git stash pop {{nombre_opcional_stash}}` -- Elimina todos los guardados: +- Elimina todos los stashes: `git stash clear` diff --git a/pages.es/common/git-status.md b/pages.es/common/git-status.md index 4fd1da357573da..8156dc1687b322 100644 --- a/pages.es/common/git-status.md +++ b/pages.es/common/git-status.md @@ -1,17 +1,33 @@ # git status > Muestra los cambios realizados en los archivos del repositorio Git. -> Indica los archivos cambiados, añadidos y eliminados comparándolos con el último commit. +> Lista los archivos cambiados, añadidos y eliminados comparándolos con la confirmación (commit) actual. > Más información: . -- Muestra los archivos cambiados que aún no han sido añadidos a un commit: +- Muestra los archivos modificados que aún no se han añadido para hacer una confirmación (commit): `git status` - Muestra la salida en formato breve: -`git status -s` +`git status {{[-s|--short]}}` -- No muestra los archivos sin rastrear en la salida: +- Muestra información detallada sobre cambios tanto en el área de preparación (staging) como en el directorio de trabajo: -`git status --untracked-files=no` +`git status {{[-vv|--verbose --verbose]}}` + +- Muestra la rama (branch) e información de seguimiento: + +`git status --branch` + +- Muestra la salida en formato breve junto a la información de la rama (branch): + +`git status {{[-sb|--short --branch]}}` + +- Muestra el número de entradas en rama temporal (stash): + +`git status --show-stash` + +- Muestra los archivos rastreados, excluyendo los no rastreados (untracked): + +`git status {{[-uno|--untracked-files=no]}}` diff --git a/pages.es/common/git-submodule.md b/pages.es/common/git-submodule.md index de3c9bfc31d6bc..577215596d89a1 100644 --- a/pages.es/common/git-submodule.md +++ b/pages.es/common/git-submodule.md @@ -11,7 +11,7 @@ `git submodule add {{url_del_repositorio}}` -- Añade un repositorio Git como submulo en un directorio específico: +- Añade un repositorio Git como submódulo en un directorio específico: `git submodule add {{url_del_repositorio}} {{ruta/al/directorio}}` diff --git a/pages.es/common/git-svn.md b/pages.es/common/git-svn.md index 07380b65c2cf81..9ea5830a8527bb 100644 --- a/pages.es/common/git-svn.md +++ b/pages.es/common/git-svn.md @@ -7,18 +7,18 @@ `git svn clone {{https://ejemplo.com/repositorio_subversion}} {{directorio_local}}` -- Clona un repositorio SVN a partir un número de revisión específico: +- Clona un repositorio SVN a partir de un número de revisión específico: -`git svn clone -r{{1234}}:HEAD {{https://svn.ejemplo.net/subversion/repo}} {{directorio_local}}` +`git svn clone {{[-r|--revision]}} {{1234}}:HEAD {{https://svn.ejemplo.net/subversion/repo}} {{directorio_local}}` -- Actualiza el clon local apartir del repositorio SVN: +- Actualiza el clon local a partir del repositorio SVN: `git svn rebase` -- Obtiene las actualización del repositorio SVN remoto sin cambiar el HEAD de Git: +- Obtén las actualizaciones del repositorio SVN remoto sin cambiar el HEAD de Git: `git svn fetch` -- Realiza un commit al repositorio SVN: +- Realiza una confirmación en un repositorio SVN: -`git svn dcommit` +`git svn commit` diff --git a/pages.es/common/git-switch.md b/pages.es/common/git-switch.md index 27d8bcf695037e..827117763e4355 100644 --- a/pages.es/common/git-switch.md +++ b/pages.es/common/git-switch.md @@ -1,7 +1,7 @@ # git switch -> Alterna entre ramas Git. Requiere una Git 2.23+. -> Véase también `git-checkout`. +> Alterna entre ramas Git. Requiere una versión 2.23+ de Git. +> Vea también `git checkout`. > Más información: . - Cambia a una rama existente: @@ -10,16 +10,20 @@ - Crea una nueva rama y se cambia a esta: -`git switch --create {{nombre_de_la_rama}}` +`git switch {{[-c|--create]}} {{nombre_de_la_rama}}` -- Crea una nueva rama basada en un commit específico y se cambia a esta: +- Crea y cambia a una nueva rama basada en una confirmación específica: -`git switch --create {{nombre_de_la_rama}} {{commit}}` +`git switch {{[-c|--create]}} {{nombre_de_la_rama}} {{confirmación}}` -- Se cambia a una rama y actualiza todos los submódulos para coincidir: +- Cambia a la rama anterior: + +`git switch -` + +- Cambia a una rama y actualiza todos los submódulos para coincidir: `git switch --recurse-submodules {{nombre_de_la_rama}}` -- Se cambia a una rama y automáticamente fusiona la rama actual y cualquier cambio sin commit en ella: +- Cambia a una rama y automáticamente fusiona la rama actual y cualquier cambio sin confirmación en ella: -`git switch --merge {{nombre_de_la_rama}}` +`git switch {{[-m|--merge]}} {{nombre_de_la_rama}}` diff --git a/pages.es/common/git-tag.md b/pages.es/common/git-tag.md index 77eaee8333444f..80cef9de2e9ab7 100644 --- a/pages.es/common/git-tag.md +++ b/pages.es/common/git-tag.md @@ -1,33 +1,37 @@ # git tag > Crea, muestra, borra o verifica etiquetas. -> Una etiqueta es una referencia estática a un commit específico. +> Una etiqueta (tag) es una referencia estática a una confirmación (commit). > Más información: . - Muestra todas las etiquetas: `git tag` -- Crea una etiqueta con el nombre especificado a partir del commit actual: +- Crea una etiqueta con el nombre especificado a partir de la confirmación actual: `git tag {{nombre_de_la_etiqueta}}` -- Crea una etiqueta con el nombre especificado a partir del commit señalado: +- Crea una etiqueta con el nombre especificado a partir de la confirmación señalada: -`git tag {{nombre_de_la_etiqueta}} {{commit}}` +`git tag {{nombre_de_la_etiqueta}} {{confirmación}}` - Crea una etiqueta anotada con el mensaje especificado: -`git tag {{nombre_de_la_etiqueta}} -m {{mensaje_de_la_etiqueta}}` +`git tag {{nombre_de_la_etiqueta}} {{[-m|--message]}} {{mensaje_de_la_etiqueta}}` - Elimina la etiqueta con el nombre especificado: -`git tag -d {{nombre_de_la_etiqueta}}` +`git tag {{[-d|--delete]}} {{nombre_de_la_etiqueta}}` -- Obtiene las etiquetas actualizadas de upstreams: +- Obtén las etiquetas actualizadas del remoto (remote): -`git fetch --tags` +`git fetch {{[-t|--tags]}}` -- Muestra todas las etiquetas cuyos ancestros incluyan un commit específico: +- Envía una etiqueta al remoto: -`git tag --contains {{commit}}` +`git push origin tag {{nombre_de_la_etiqueta}}` + +- Muestra todas las etiquetas cuyos ancestros incluyen una confirmación específica: + +`git tag --contains {{confirmación}}` diff --git a/pages.es/common/git-worktree.md b/pages.es/common/git-worktree.md index b217730b68031b..d80d1771f71cc1 100644 --- a/pages.es/common/git-worktree.md +++ b/pages.es/common/git-worktree.md @@ -3,13 +3,13 @@ > Gestiona múltiples árboles de trabajo adjuntos al mismo repositorio. > Más información: . -- Crea un nuevo directorio con la rama específicada y se cambia él: +- Crea un nuevo directorio con la rama específicada y se cambia a él: -`git worktree add {{ruta/del/directorio}} {{rama}}` +`git worktree add {{ruta/al/directorio}} {{rama}}` - Crea un nuevo directorio con un nueva rama y se cambia a él: -`git worktree add {{ruta/del/directorio}} -b {{rama_nueva}}` +`git worktree add {{ruta/al/directorio}} -b {{rama_nueva}}` - Muestra todos los directorios de trabajo adjuntos a este repositorio: diff --git a/pages.es/common/git.md b/pages.es/common/git.md new file mode 100644 index 00000000000000..33ac56551f7184 --- /dev/null +++ b/pages.es/common/git.md @@ -0,0 +1,29 @@ +# git + +> Sistema de control de versiones distribuido. +> Algunos subcomandos como `commit`, `add`, `branch`, `checkout`, `push`, etc., tienen su propia documentación de uso. +> Más información: . + +- Ejecuta un subcomando de Git: + +`git {{subcomando}}` + +- Ejecuta un subcomando de Git en un repositorio en la ruta raíz especificada: + +`git -C {{ruta/al/repositorio}} {{subcomando}}` + +- Ejecuta un subcomando de Git con configuración personalizada: + +`git -c '{{config.clave}}={{valor}}' {{subcomando}}` + +- Muestra ayuda general: + +`git --help` + +- Muestra ayuda sobre un subcomando de Git (p. ej., `clone`, `add`, `push`, `log`, etc.): + +`git help {{subcomando}}` + +- Muestra la versión: + +`git --version` diff --git a/pages.es/common/gitlab-ctl.md b/pages.es/common/gitlab-ctl.md new file mode 100644 index 00000000000000..b4a8070e8d199c --- /dev/null +++ b/pages.es/common/gitlab-ctl.md @@ -0,0 +1,36 @@ +# gitlab-ctl + +> Gestiona el ómnibus de GitLab. +> Más información: . + +- Muestra el estado de cada servicio: + +`sudo gitlab-ctl status` + +- Muestra el estado de un servicio específico: + +`sudo gitlab-ctl status {{nginx}}` + +- Reinicia todos los servicios: + +`sudo gitlab-ctl restart` + +- Reinicia un servicio específico: + +`sudo gitlab-ctl restart {{nginx}}` + +- Muestra los registros de cada servicio y sigue leyendo hasta que se pulse ``: + +`sudo gitlab-ctl tail` + +- Muestra los registros de un servicio específico: + +`sudo gitlab-ctl tail {{nginx}}` + +- Envia la señal SIGKILL a un servicio específico: + +`sudo gitlab-ctl kill {{nginx}}` + +- Reconfigura la aplicación: + +`sudo gitlab-ctl reconfigure` diff --git a/pages.es/common/gitleaks.md b/pages.es/common/gitleaks.md new file mode 100644 index 00000000000000..38537224dc7b0d --- /dev/null +++ b/pages.es/common/gitleaks.md @@ -0,0 +1,32 @@ +# gitleaks + +> Detecta secretos y claves API filtradas en repositorios Git. +> Más información: . + +- Escanea un repositorio remoto: + +`gitleaks detect --repo-url {{https://github.com/usuario/repositorio.git}}` + +- Escanea un directorio local: + +`gitleaks detect --source {{ruta/al/repositorio}}` + +- Crea un archivo JSON con los resultados del análisis: + +`gitleaks detect --source {{ruta/al/repositorio}} --report {{ruta/a/informe.json}}` + +- Utiliza un archivo de reglas personalizado: + +`gitleaks detect --source {{ruta/al/repositorio}} --config-path {{ruta/a/archivo_de_configuración.toml}}` + +- Inicia la búsqueda a partir de una confirmación específica: + +`gitleaks detect --source {{ruta/al/repositorio}} --log-opts {{--since=identificador_confirmación}}` + +- Escanea cambios no confirmados antes de una confirmación: + +`gitleaks protect --staged` + +- Muestra información detallada que indica que partes se identificaron como fugas durante el análisis: + +`gitleaks protect --staged --verbose` diff --git a/pages.es/common/gleam.md b/pages.es/common/gleam.md new file mode 100644 index 00000000000000..6b71aba7da2753 --- /dev/null +++ b/pages.es/common/gleam.md @@ -0,0 +1,36 @@ +# gleam + +> El compilador, la herramienta de compilación, el gestor de paquetes y el formateador de código para Gleam, "un lenguaje amigable para construir sistemas de tipo seguro escalables". +> Más información: . + +- Crea un nuevo proyecto gleam: + +`gleam new {{nombre_del_proyecto}}` + +- Construye y ejecuta un proyecto gleam: + +`gleam run` + +- Construye el proyecto: + +`gleam build` + +- Ejecuta un proyecto para una plataforma y un tiempo de ejecución específico: + +`gleam run --target {{plataforma}} --runtime {{tiempo_de_ejecución}}` + +- Añade una dependencia hexadecimal a tu proyecto: + +`gleam add {{nombre_de_la_dependencia}}` + +- Ejecuta las pruebas del proyecto: + +`gleam test` + +- Formatea el código fuente: + +`gleam format` + +- Comprueba el tipo de proyecto: + +`gleam check` diff --git a/pages.es/common/glow.md b/pages.es/common/glow.md new file mode 100644 index 00000000000000..8686ea3cea93d8 --- /dev/null +++ b/pages.es/common/glow.md @@ -0,0 +1,24 @@ +# glow + +> Muestra archivos en formato Markdown en la terminal. +> Más información: . + +- Ejecuta glow y selecciona un archivo para ver: + +`glow` + +- Muestra un archivo en formato Markdown en la terminal: + +`glow {{ruta/al/archivo}}` + +- Muestra un archivo en formato Markdown usando un paginador: + +`glow -p {{ruta/al/archivo}}` + +- Muestra un archivo desde una URL: + +`glow {{https://example.com/archivo.md}}` + +- Muestra el archivo README de un repositorio de GitHub/GitLab: + +`glow {{github.com/owner/repository}}` diff --git a/pages.es/common/gnmic-sub.md b/pages.es/common/gnmic-sub.md new file mode 100644 index 00000000000000..5ad623bac7fc7e --- /dev/null +++ b/pages.es/common/gnmic-sub.md @@ -0,0 +1,7 @@ +# gnmic sub + +> Este comando es un alias de `gnmic subscribe`. + +- Vea la documentación del comando original: + +`tldr gnmic subscribe` diff --git a/pages.es/common/gnmic-subscribe.md b/pages.es/common/gnmic-subscribe.md new file mode 100644 index 00000000000000..2b4f77ebc88455 --- /dev/null +++ b/pages.es/common/gnmic-subscribe.md @@ -0,0 +1,24 @@ +# gnmic subscribe + +> Suscribirse a las actualizaciones de estado de un dispositivo de red gnmic. +> Más información: . + +- Suscribirse a las actualizaciones del estado objetivo bajo el subárbol de una ruta específica: + +`gnmic --address {{ip:puerto}} subscribe --path {{ruta}}` + +- Suscribirse a un objetivo con un intervalo de muestra de 30s (por defecto es 10s): + +`gnmic -a {{ip:puerto}} subscribe --path {{ruta}} --sample-interval 30s` + +- Suscribirse a un objetivo con intervalo de muestra y actualizaciones solamente cuando hay cambios: + +`gnmic -a {{ip:puerto}} subscribe --path {{ruta}} --stream-mode on-change --heartbeat-interval 1m` + +- Suscribirse a un objetivo para una sola actualización: + +`gnmic -a {{ip:puerto}} subscribe --path {{ruta}} --mode once` + +- Suscribirse a un objetivo y especificar la codificación de la respuesta (json_ietf): + +`gnmic -a {{ip:puerto}} subscribe --path {{ruta}} --encoding json_ietf` diff --git a/pages.es/common/gocr.md b/pages.es/common/gocr.md new file mode 100644 index 00000000000000..fb377cd3f72593 --- /dev/null +++ b/pages.es/common/gocr.md @@ -0,0 +1,17 @@ +# gocr + +> Herramienta de reconocimiento óptico de caracteres. +> Reconoce caracteres utilizando su motor y solicita al usuario patrones desconocidos para almacenarlos en una base de datos. +> Más información: . + +- Reconoce caracteres en una [i]magen y los escribe en un archiv[o]. Coloca la base de datos en una carpeta existente para que no se omita su uso. [m]odo 130 significa crear, usar y extender la base de datos: + +`gocr -m 130 -p {{ruta/al/directorio_db}} -i {{ruta/a/imagen_entrada.png}} -o {{ruta/al/archivo_salida.txt}}` + +- Reconoce caracteres y asume que todos son números: + +`gocr -m 130 -p {{ruta/al/directorio_db}} -i {{ruta/a/imagen_entrada.png}} -o {{ruta/al/archivo_salida.txt}} -C "{{0..9}}"` + +- Reconoce caracteres con certez[a] del 100% (los caracteres tienen una mayor probabilidad de ser tratados como desconocidos): + +`gocr -m 130 -p {{ruta/al/directorio_db}} -i {{ruta/a/imagen_entrada.png}} -o {{ruta/al/archivo_salida.txt}} -a 100` diff --git a/pages.es/common/golangci-lint.md b/pages.es/common/golangci-lint.md new file mode 100644 index 00000000000000..4caf8842b2a2a3 --- /dev/null +++ b/pages.es/common/golangci-lint.md @@ -0,0 +1,16 @@ +# golangci-lint + +> Corredor de linters Go paralelizado, inteligente y rápido que se integra con los principales entornos de desarrollo integrado y soporta configuración en YAML. +> Más información: . + +- Ejecuta linters en la carpeta actual: + +`golangci-lint run` + +- Lista los linters habilitados y deshabilitados (Nota: los linters deshabilitados se muestran en el último lugar, no los confundas con los habilitados): + +`golangci-lint linters` + +- Habilita un linter específico para esta ejecución: + +`golangci-lint run --enable {{linter}}` diff --git a/pages.es/common/google-chrome.md b/pages.es/common/google-chrome.md new file mode 100644 index 00000000000000..46664d5a901de4 --- /dev/null +++ b/pages.es/common/google-chrome.md @@ -0,0 +1,8 @@ +# google-chrome + +> Este comando es un alias de `chromium`. +> Más información: . + +- Muestra la documentación del comando original: + +`tldr chromium` diff --git a/pages.es/common/gpg2.md b/pages.es/common/gpg2.md new file mode 100644 index 00000000000000..740fa268ab62fd --- /dev/null +++ b/pages.es/common/gpg2.md @@ -0,0 +1,7 @@ +# gpg2 + +> Este comando es un alias de `gpg`. + +- Vea la documentación del comando original: + +`tldr gpg` diff --git a/pages.es/common/gradle.md b/pages.es/common/gradle.md index d915ffae25b9f7..359737bbf0e84e 100644 --- a/pages.es/common/gradle.md +++ b/pages.es/common/gradle.md @@ -1,17 +1,17 @@ # gradle -> Gradle es un sistema de código abierto para automatizar la compilación de proyectos +> Un sistema de automatización de construcción de código abierto. > Más información: . -- Compila un proyecto: +- Compila un paquete: `gradle build` -- Excluye la tarea *test*: +- Excluye la compilación test: `gradle build -x {{test}}` -- Ejecuta en modo offline para prevenir que gradle acceda a la red durante una compilación: +- Ejecuta en modo sin conexión para evitar que Gradle acceda a la red durante la compilación: `gradle build --offline` @@ -19,6 +19,14 @@ `gradle clean` -- Compila y genera un paquete: +- Construye un paquete Android (APK) en modo release: `gradle assembleRelease` + +- Lista las tareas principales: + +`gradle tasks` + +- Lista todas las tareas: + +`gradle tasks --all` diff --git a/pages.es/common/grep.md b/pages.es/common/grep.md new file mode 100644 index 00000000000000..e8bf314a149162 --- /dev/null +++ b/pages.es/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Encuentra patrones en archivos usando expresiones regulares. +> Más información: . + +- Busca un patrón en un archivo: + +`grep "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Busca una cadena de caracteres específica (la cadena no será interpretada como una expresión regular): + +`grep {{[-F|--fixed-strings]}} "{{cadena_exacta}}" {{ruta/al/archivo}}` + +- Busca un patrón en todos los archivos de forma recursiva en un directorio, mostrando los números de línea de las coincidencias e ignorando los archivos binarios: + +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{patrón_de_búsqueda}}" {{ruta/al/directorio}}` + +- Utiliza expresiones regulares extendidas (los metacaracteres `?`, `+`, `{}`, `()` y `|` no requieren de una barra inversa), sin distinguir entre mayúsculas y minúsculas: + +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Imprime 3 líneas alrededor, antes o después de cada coincidencia: + +`grep {{--context|--before-context|--after-context}} 3 "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Imprime con colores el nombre del archivo y el número de línea de cada coincidencia: + +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Busca líneas que coincidan con un patrón e imprime solo el texto coincidente: + +`grep {{[-o|--only-matching]}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` + +- Busca líneas en`stdin` que no coincidan con el patrón: + +`cat {{ruta/al/archivo}} | grep {{[-v|--invert-match]}} "{{patrón_de_busqueda}}"` diff --git a/pages.es/common/gron.md b/pages.es/common/gron.md new file mode 100644 index 00000000000000..835c03babbd51f --- /dev/null +++ b/pages.es/common/gron.md @@ -0,0 +1,32 @@ +# gron + +> Transforma `JSON` en asignaciones individuales para una gestión más sencilla. +> Más información: . + +- Transforma el archivo `JSON` en asignaciones individuales: + +`gron {{ruta/al/archivo|url}}` + +- No ordena los datos de salida: + +`gron --no-sort {{ruta/al/archivo|url}}` + +- Desactiva la validación de certificados: + +`gron {{[-k|--insecure]}} {{url}}` + +- Muestra los valores de las asignaciones de `gron`: + +`gron {{[-v|--values]}} {{ruta/al/archivo|url}}` + +- Convierte las asignaciones convertidas con `gron` en `JSON`: + +`gron {{[-u|--ungron]}} {{ruta/al/archivo|url}}` + +- Procesa líneas individuales de entrada como objetos `JSON` separados: + +`gron {{[-s|--stream]}} {{ruta/al/archivo|url}}` + +- Representa los datos procesados como un flujo `JSON`: + +`gron {{[-j|--json]}} {{ruta/al/archivo|url}}` diff --git a/pages.es/common/gt.md b/pages.es/common/gt.md new file mode 100644 index 00000000000000..a72237ed38852a --- /dev/null +++ b/pages.es/common/gt.md @@ -0,0 +1,36 @@ +# gt + +> Crea y gestiona secuencias de cambios de código dependientes (stacks) para Git y GitHub. +> Más información: . + +- Inicializa `gt` para el repositorio en el directorio actual: + +`gt init` + +- Crea una nueva rama apilada sobre la rama actual y confirmar los cambios por etapas: + +`gt create {{nombre_de_rama}}` + +- Crea un nuevo commit y arreglar las ramas apiladas: + +`gt modify -cam {{mensaje_de_commit}}` + +- Fuerza el push de todas las ramas de la pila actual a GitHub y crea o actualiza PRs: + +`gt stack submit` + +- Comprueba una rama diferente (solicita el modo interactivo cuando se omite el nombre de la rama): + +`gt co {{nombre_rama}}` + +- Sincroniza la pila con la versión remota (también elimina las ramas fusionadas): + +`gt sync` + +- Registra todas las pilas rastreadas: + +`gt log short` + +- Muestra la ayuda de un subcomando específico: + +`gt {{subcomando}} --help` diff --git a/pages.es/common/gum.md b/pages.es/common/gum.md new file mode 100644 index 00000000000000..64d0bcccfb2df6 --- /dev/null +++ b/pages.es/common/gum.md @@ -0,0 +1,28 @@ +# gum + +> Produce guiones glamorosos para el intérprete de comando. +> Más información: . + +- Ofrece varias opciones para elegir una y la imprime en `stdout`: + +`gum choose "{{opción_1}}" "{{opción_2}}" "{{opción_3}}"` + +- Muestra una entrada de texto interactiva para que el usuario introduzca una cadena con un texto indicativo (placeholder) específico: + +`gum input --placeholder "{{valor}}"` + +- Abre un aviso de confirmación interactivo y sale con `<0>` o `<1>`: + +`gum confirm "{{¿Continuar?}}" --default=false --affirmative "{{Sí}}" --negative "{{No}}" {{&& echo "Seleccionó Sí" || echo "Seleccionó No"}}` + +- Muestra un spinner con un texto acompañante mientras se ejecuta una orden: + +`gum spin --spinner {{dot|line|minidot|jump|pulse|points|globe|moon|monkey|meter|hamburger}} --title "{{cargando...}}" -- {{orden}}` + +- Formatea texto para incluir emojis: + +`gum format -t {{emoji}} "{{:smile: :heart: hola}}"` + +- Solicita texto de varias líneas interactivamente (`` para salvar) y escribir en `datos.txt`: + +`gum write > {{datos.txt}}` diff --git a/pages.es/common/gvim.md b/pages.es/common/gvim.md new file mode 100644 index 00000000000000..83a31675baeb4e --- /dev/null +++ b/pages.es/common/gvim.md @@ -0,0 +1,13 @@ +# gvim + +> Una versión de interfaz gráfica de usuario de Vim (Vi IMproved), un editor de texto de línea de comandos. +> Vea también: `vimdiff`, `vimtutor`, `nvim`, `vim`. +> Más información: . + +- Abre `gvim`: + +`gvim` + +- Abre un archivo específico: + +`gvim {{ruta/al/archivo}}` diff --git a/pages.es/common/hatch.md b/pages.es/common/hatch.md new file mode 100644 index 00000000000000..4675833d7559fc --- /dev/null +++ b/pages.es/common/hatch.md @@ -0,0 +1,29 @@ +# hatch + +> Gestor de proyectos Python moderno y extensible. +> Vea también: `poetry`. +> Más información: . + +- Crea un nuevo proyecto Hatch: + +`hatch new {{nombre_del_proyecto}}` + +- Inicializa Hatch para un proyecto existente: + +`hatch new --init` + +- Construye un proyecto Hatch: + +`hatch build` + +- Elimina artefactos de construcción: + +`hatch clean` + +- Crea un entorno por defecto con las dependencias definidas en el archivo `pyproject.toml`: + +`hatch env create` + +- Muestra las dependencias del entorno en forma de tabla: + +`hatch dep show table` diff --git a/pages.es/common/hd.md b/pages.es/common/hd.md new file mode 100644 index 00000000000000..ff0223f87b8f9c --- /dev/null +++ b/pages.es/common/hd.md @@ -0,0 +1,7 @@ +# hd + +> Este comando es un alias de `hexdump`. + +- Vea la documentación para el comando original: + +`tldr hexdump` diff --git a/pages.es/common/helix.md b/pages.es/common/helix.md new file mode 100644 index 00000000000000..d2d0dda18eb4c8 --- /dev/null +++ b/pages.es/common/helix.md @@ -0,0 +1,37 @@ +# helix + +> Helix, un editor de texto postmoderno, ofrece varios modos para diferentes tipos de manipulación de texto. +> Al presionar `` entra en modo de inserción. `` entra en modo normal, lo que permite el uso de comandos Helix. +> Más información: . + +- Abre un archivo: + +`helix {{ruta/al/archivo}}` + +- Abre archivos y los muestra uno al lado del otro: + +`helix --vsplit {{ruta/al/archivo1 ruta/al/archivo2}}` + +- Muestra el tutorial para aprender Helix (o acceder al mismo dentro de Helix presionando `` y escribiendo `<:>tutor`): + +`helix --tutor` + +- Cambia el tema (theme) de Helix: + +`<:>theme {{nombre_tema}}` + +- Guarda y sale: + +`<:>wq` + +- Sale a la fuerza sin guardar: + +`<:>q!` + +- Deshace la última operación: + +`` + +- Busca un patrón en el archivo (al presionar ``/`` va a la coincidencia siguiente/anterior): + +`{{patrón_de_búsqueda}}` diff --git a/pages.es/common/helm-install.md b/pages.es/common/helm-install.md new file mode 100644 index 00000000000000..9894087faabf2b --- /dev/null +++ b/pages.es/common/helm-install.md @@ -0,0 +1,32 @@ +# helm install + +> Instala un chart de helm. +> Más información: . + +- Instala un chart de helm: + +`helm install {{nombre}} {{nombre_del_repositorio}}/{{nombre_del_chart}}` + +- Instala un chart de helm desde un directorio de chart desempaquetado: + +`helm install {{nombre}} {{ruta/al/directorio_de_origen}}` + +- Instala un chart de helm desde una URL: + +`helm install {{nombre_del_paquete}} {{https://example.com/charts/packagename-1.2.3.tgz}}` + +- Instala un chart de helm y genera un nombre: + +`helm install {{nombre_del_repositorio}}/{{nombre_del_chart}} --generate-name` + +- Realiza una simulación: + +`helm install {{nombre}} {{nombre_del_repositorio}}/{{nombre_del_chart}} --dry-run` + +- Instala un chart de helm con valores personalizados: + +`helm install {{nombre}} {{nombre_del_repositorio}}/{{nombre_del_chart}} --set {{parámetro1}}={{valor1}},{{parámetro2}}={{valor2}}` + +- Instala un chart de helm pasando un archivo de valores personalizados: + +`helm install {{nombre}} {{nombre_del_repositorio}}/{{nombre_del_chart}} --values {{ruta/a/valores.yaml}}` diff --git a/pages.es/common/helm.md b/pages.es/common/helm.md new file mode 100644 index 00000000000000..e47b151038a7c2 --- /dev/null +++ b/pages.es/common/helm.md @@ -0,0 +1,37 @@ +# helm + +> Helm es un gestor de paquetes para Kubernetes. +> Algunos subcomandos como `install` tiene su propia documentación de uso. +> Más información: . + +- Crea un chart de helm: + +`helm create {{nombre_del_chart}}` + +- Añade un nuevo repositorio de helm: + +`helm repo add {{nombre_del_repositorio}}` + +- Lista de repositorios de helm: + +`helm repo {{[ls|list]}}` + +- Actualiza los repositorios de helm: + +`helm repo {{[up|update]}}` + +- Elimina un repositorio de helm: + +`helm repo {{[rm|remove]}} {{nombre_del_repositorio}}` + +- Instala un chart de helm: + +`helm install {{nombre}} {{nombre_del_repositorio}}/{{nombre_del_chart}}` + +- Descarga un chart de helm como un archivo tar: + +`helm get {{nombre_del_lanzamiento_del_chart}}` + +- Actualiza las dependencias de helm: + +`helm {{[dep|dependency]}} {{[up|update]}}` diff --git a/pages.es/common/hexyl.md b/pages.es/common/hexyl.md new file mode 100644 index 00000000000000..31b4cef58ed574 --- /dev/null +++ b/pages.es/common/hexyl.md @@ -0,0 +1,20 @@ +# hexyl + +> Un simple visor hexadecimal para la terminal. Utiliza salida coloreada para distinguir diferentes categorías de bytes. +> Más información: . + +- Imprime la representación hexadecimal de un archivo: + +`hexyl {{ruta/al/archivo}}` + +- Imprime la representación hexadecimal de los primeros `n` bytes de un archivo: + +`hexyl -n {{n}} {{ruta/al/archivo}}` + +- Imprime los bytes 512 a 1024 de un archivo: + +`hexyl -r {{512}}:{{1024}} {{ruta/al/archivo}}` + +- Imprime 512 bytes empezando por el byte 1024: + +`hexyl -r {{1024}}:+{{512}} {{ruta/al/archivo}}` diff --git a/pages.es/common/history.md b/pages.es/common/history.md new file mode 100644 index 00000000000000..c56a899fc46ff1 --- /dev/null +++ b/pages.es/common/history.md @@ -0,0 +1,32 @@ +# history + +> Historial de la línea de comandos. +> Más información: . + +- Muestra el historial de comandos junto a su número de línea: + +`history` + +- Muestra los últimos 20 comandos (en Zsh muestra todos los comandos a partir del 20): + +`history {{20}}` + +- Muestra el historial con marcas de tiempo en diferentes formatos (solo disponible en Zsh): + +`history -{{d|f|i|E}}` + +- Limpia el historial de comandos (solo para la interfaz de comandos actual): + +`history -c` + +- Sobrescribe el archivo histórico con el historial de la sesión actual (comúnmente se combina con `history -c` para limpiar el historial): + +`history -w` + +- Borra la entrada del historial en el índice especificado: + +`history -d {{índice}}` + +- Añade un comando al historial sin ejecutarlo: + +`history -s {{comando}}` diff --git a/pages.es/common/hledger-add.md b/pages.es/common/hledger-add.md new file mode 100644 index 00000000000000..9dbc1b762fd79f --- /dev/null +++ b/pages.es/common/hledger-add.md @@ -0,0 +1,24 @@ +# hledger add + +> Registra nuevas transacciones con mensajes interactivos en la consola. +> Más información: . + +- Registra nuevas transacciones, guardándolas al archivo de diario por defecto: + +`hledger add` + +- Añade transacciones a `2024.journal`, pero también carga `2023.journal` para su completado: + +`hledger add --file {{ruta/a/2024.journal}} --file {{ruta/a/2023.journal}}` + +- Provee respuestas a las primeras 4 preguntas: + +`hledger add {{today}} '{{best buy}}' {{gastos:material de oficina}} '{{$20}}'` + +- Muestra la documentación y opciones de `add` usando `$PAGER`: + +`hledger add --help` + +- Muestra la documentación de `add` usando `info` o `man` de estar disponibles: + +`hledger help add` diff --git a/pages.es/common/hledger-balance.md b/pages.es/common/hledger-balance.md new file mode 100644 index 00000000000000..3aa7434f96224b --- /dev/null +++ b/pages.es/common/hledger-balance.md @@ -0,0 +1,37 @@ +# hledger balance + +> Un informe "sumatorio" flexible y de propósito general que muestra cuentas con algún tipo de dato numérico. +> Puede tratarse de cambios de saldo por periodo, saldos finales, rendimiento presupuestario, plusvalías latentes, etc. +> Más información: . + +- Muestra el cambio de saldo en todas las cuentas de todas las contabilizaciones a lo largo de todo el tiempo: + +`hledger balance` + +- Muestra el cambio de saldo en las cuentas denominadas `*gastos*`, como un árbol, resumiendo solo los dos niveles superiores: + +`hledger balance {{gastos}} --tree --depth {{2}}` + +- Muestra los gastos de cada mes, y sus totales y medias, ordenados por total; y sus objetivos presupuestarios mensuales: + +`hledger balance {{gastos}} --monthly --row-total --average --sort-amount --budget` + +- Similar a la anterior, de forma más corta, comparando las cuentas por tipo de `Gastos`, como un árbol de dos niveles sin aplastar las cuentas aburridas: + +`hledger bal type:{{X}} -MTAS --budget -t -{{2}} --no-elide` + +- Muestra saldos finales (incluidos los de contabilizaciones anteriores a la fecha de inicio), trimestrales en 2024, en cuentas denominadas `*activos*` o `*pasivos*`: + +`hledger balance --historical --period '{{trimestral en 2024}}' {{activos}} {{pasivos}}` + +- Similar al anterior, de un modo más breve; también muestra saldos en cero, ordena por total y resume a tres niveles: + +`hledger bal -HQ date:{{2024}} type:{{AL}} -ES -{{3}}` + +- Muestra el valor de mercado de los activos de inversión en moneda base al final de cada trimestre: + +`hledger bal -HVQ {{activos:inversiones}}` + +- Muestra las ganancias/pérdidas de capital no realizadas por cambios en el precio de mercado en cada trimestre, para activos de inversión que no sean criptomonedas: + +`hledger bal --gain -Q {{activos:inversiones}} not:{{criptomoneda}}` diff --git a/pages.es/common/hledger.md b/pages.es/common/hledger.md new file mode 100644 index 00000000000000..4543966073bbdc --- /dev/null +++ b/pages.es/common/hledger.md @@ -0,0 +1,37 @@ +# hledger + +> Una aplicación de contabilidad en texto plano que es robusta y fácil de usar. +> Vea también: `hledger-ui` para la TUI, `hledger-web` para la interfaz web. +> Más información: . + +- Registra nuevas transacciones interactivamente, guardándolas en el archivo de diario por defecto: + +`hledger add` + +- Importa nuevas transacciones de `banco.csv`, usando `banco.csv.rules` para convertir: + +`hledger import {{ruta/a/banco.csv}}` + +- Imprime todas las transacciones, leyendo múltiples archivos de diario específicos: + +`hledger print --file {{ruta/a/precios-2024.journal}} --file {{ruta/a/precios-2023.journal}}` + +- Muestra todas las cuentas, como jerarquía, y sus tipos: + +`hledger accounts --tree --types` + +- Muestra saldos de cuenta de activos y pasivos, incluyendo ceros, jerárquicamente: + +`hledger balancesheet --empty --tree --no-elide` + +- Muestra ingresos/gastos/totales mensuales, los más grandes primero, resumido a 2 niveles: + +`hledger incomestatement --monthly --row-total --average --sort --depth 2` + +- Muestra las transacciones de la cuenta `assets:bank:checking` y su saldo actual: + +`hledger aregister assets:bank:checking` + +- Muestra el monto gastado en comida desde la cuenta `assets:cash`: + +`hledger print assets:cash | hledger -f- -I aregister expenses:food` diff --git a/pages.es/common/hostname.md b/pages.es/common/hostname.md new file mode 100644 index 00000000000000..f9d7d0a305ea3d --- /dev/null +++ b/pages.es/common/hostname.md @@ -0,0 +1,20 @@ +# hostname + +> Muestra o establece el nombre del host del sistema. +> Más información: . + +- Muestra el nombre actual del host: + +`hostname` + +- Muestra la dirección de red correspondiente al nombre del host: + +`hostname {{[-i|--ip-address]}}` + +- Muestra el FQDN (nombre de dominio completamente calificado): + +`hostname {{[-f|--fqdn]}}` + +- Establece el nombre del host: + +`hostname {{nuevo_nombre}}` diff --git a/pages.es/common/hping.md b/pages.es/common/hping.md new file mode 100644 index 00000000000000..b07ba80aa00320 --- /dev/null +++ b/pages.es/common/hping.md @@ -0,0 +1,7 @@ +# hping + +> Este comando es un alias de `hping3`. + +- Vea la documentación para el comando original: + +`tldr hping3` diff --git a/pages.es/common/hping3.md b/pages.es/common/hping3.md new file mode 100644 index 00000000000000..f04d4bd2bac46c --- /dev/null +++ b/pages.es/common/hping3.md @@ -0,0 +1,33 @@ +# hping3 + +> Utilidad de ping avanzada que soporta protocolos TCP, UDP y raw IP. +> Mejor correrla con privilegios elevados. +> Más información: . + +- Ping a un destino con 4 solicitudes ping ICMP: + +`hping3 --icmp --count {{4}} {{ip_o_nombre_de_servidor}}` + +- Ping a una dirección IP sobre UDP en el puerto 80: + +`hping3 --udp --destport {{80}} --syn {{ip_o_nombre_de_servidor}}` + +- Escanea el puerto TCP 80, haciéndolo desde el puerto de origen local 5090: + +`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_o_nombre_de_servidor}}` + +- Traceroute utilizando un escaneado TCP a un puerto de destino específico: + +`hping3 --traceroute --verbose --syn --destport {{80}} {{ip_o_nombre_de_servidor}}` + +- Escanea un conjunto de puertos TCP en una dirección IP específica: + +`hping3 --scan {{80,3000,9000}} --syn {{ip_o_nombre_de_servidor}}` + +- Realiza un escaneado TCP ACK para comprobar si un equipo dado está vivo: + +`hping3 --count {{2}} --verbose --destport {{80}} --ack {{ip_o_nombre_de_servidor}}` + +- Realiza una prueba de carga en el puerto 80: + +`hping3 --flood --destport {{80}} --syn {{ip_o_nombre_de_servidor}}` diff --git a/pages.es/common/htmlq.md b/pages.es/common/htmlq.md new file mode 100644 index 00000000000000..49a883603feaf5 --- /dev/null +++ b/pages.es/common/htmlq.md @@ -0,0 +1,24 @@ +# htmlq + +> Utiliza selectores CSS para extraer contenido de archivos HTML. +> Más información: . + +- Devuelve todos los elementos de la clase `card`: + +`cat {{ruta/al/archivo.html}} | htmlq '.card'` + +- Obtiene el contenido del texto del primer párrafo: + +`cat {{ruta/al/archivo.html}} | htmlq --text 'p:primer-del-tipo'` + +- Encuentra todos los enlaces de una página: + +`cat {{ruta/al/archivo.html}} | htmlq --attribute href 'a'` + +- Elimina todas las imágenes y archivos SVG de una página: + +`cat {{ruta/al/archivo.html}} | htmlq --remove-nodes 'img' --remove-nodes 'svg'` + +- Impresión bonita y escritura de la salida en un archivo: + +`htmlq --pretty --filename {{ruta/a/archivo.html}} --output {{ruta/a/salida.html}}` diff --git a/pages.es/common/htop.md b/pages.es/common/htop.md new file mode 100644 index 00000000000000..12527f65b1cfca --- /dev/null +++ b/pages.es/common/htop.md @@ -0,0 +1,36 @@ +# htop + +> Muestra información dinámica en tiempo real sobre los procesos ejecutándose. Una versión mejorada de `top`. +> Más información: . + +- Inicia `htop`: + +`htop` + +- Inicia `htop` mostrando solo los procesos pertenecientes a un usuario dado: + +`htop {{[-u|--user]}} {{usuario}}` + +- Muestra procesos jerárquicamente en una vista de árbol para visibilizar las relaciones entre padres e hijos: + +`htop {{[-t|--tree]}}` + +- Ordena procesos especificando un `criterio_de_ordenamiento` (usa `htop --sort help` para ver las opciones disponibles): + +`htop {{[-s|--sort]}} {{criterio_de_ordenamiento}}` + +- Inicia `htop` con una espera dada entre las actualizaciones, en décimas de segundo (es decir, 50 = 5 segundos): + +`htop {{[-d|--delay]}} {{50}}` + +- Muestra comandos interactivos mientras se está ejecutando `htop`: + +`` + +- Cambia a otro panel: + +`` + +- Muestra la ayuda: + +`htop {{[-h|--help]}}` diff --git a/pages.es/common/http.md b/pages.es/common/http.md new file mode 100644 index 00000000000000..48c0fc5ba98627 --- /dev/null +++ b/pages.es/common/http.md @@ -0,0 +1,36 @@ +# http + +> HTTPie: un cliente HTTP diseñado para probar, depurar e interactuar generalmente con APIs y servidores HTTP. +> Más información: . + +- Hace una solicitud simple GET (muestra encabezados de respuesta y contenido): + +`http {{https://example.com}}` + +- Imprime partes específicas del contenido (`H`: encabezados de la solicitud, `B`: cuerpo de la solicitud, `h`: encabezados de la respuesta, `b`: cuerpo de la respuesta, `m`: metadatos de respuesta): + +`http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}` + +- Especifica el método HTTP al enviar una solicitud y utiliza un proxy para interceptar la solicitud: + +`http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}` + +- Sigue cualquier redirección `3xx` y especifica encabezados adicionales en una solicitud: + +`http {{[-F|--follow]}} {{https://example.com}} {{'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'}}` + +- Autentica ante un servidor utilizando diferentes métodos de autenticación: + +`http {{[-a|--auth]}} {{username:password|token}} {{[-A|--auth-type]}} {{basic|digest|bearer}} {{GET|POST|...}} {{https://example.com/auth}}` + +- Construye una solicitud pero no la envía (similar a un simulacro (dry-run)): + +`http --offline {{GET|DELETE|...}} {{https://example.com}}` + +- Utiliza sesiones nombradas para encabezados personalizados persistentes, credenciales de autenticación y cookies: + +`http --session {{nombre_de_sesión|ruta/a/sesión.json}} {{[-a|--auth]}} {{usuario}}:{{clave}} {{https://example.com/auth}} {{API-KEY:xxx}}` + +- Sube un archivo a un formulario (el ejemplo a continuación supone que el campo del formulario es ``): + +`http {{[-f|--form]}} {{POST}} {{https://example.com/upload}} {{cv@ruta/al/archivo}}` diff --git a/pages.es/common/https.md b/pages.es/common/https.md new file mode 100644 index 00000000000000..c7857ee5788e3b --- /dev/null +++ b/pages.es/common/https.md @@ -0,0 +1,7 @@ +# https + +> Este comando es un alias de `http`. + +- Consulte la documentación del comando original: + +`tldr http` diff --git a/pages.es/common/huggingface-cli.md b/pages.es/common/huggingface-cli.md new file mode 100644 index 00000000000000..2be89fd59b151b --- /dev/null +++ b/pages.es/common/huggingface-cli.md @@ -0,0 +1,37 @@ +# huggingface-cli + +> Interactúa con Hugging Face Hub. +> Inicia sesión, gestiona la caché local, carga o descarga archivos. +> Más información: . + +- Inicia sesión en Hugging Face Hub: + +`huggingface-cli login` + +- Muestra el nombre del usuario conectado: + +`huggingface-cli whoami` + +- Cierra sesión: + +`huggingface-cli logout` + +- Genera información sobre el entorno: + +`huggingface-cli env` + +- Descarga archivos de un repositorio e imprime la ruta (omite los nombres de archivo para descargar todo el repositorio): + +`huggingface-cli download --repo-type {{repo_type}} {{repo_id}} {{nombre_archivo1 nombre_archivo2 ...}}` + +- Sube una carpeta entera o un archivo a Hugging Face: + +`huggingface-cli upload --repo-type {{repo_type}} {{repo_id}} {{ruta/al/archivo_de_repositorio_o_directorio_de_repositorio}} {{ruta/al/archivo_de repositorio_o_directorio}}` + +- Escanea la caché para ver los repositorios descargados y su uso de disco: + +`huggingface-cli scan-cache` + +- Elimina la caché de forma interactiva: + +`huggingface-cli delete-cache` diff --git a/pages.es/common/hugo-server.md b/pages.es/common/hugo-server.md new file mode 100644 index 00000000000000..fbdabeac7f8a11 --- /dev/null +++ b/pages.es/common/hugo-server.md @@ -0,0 +1,24 @@ +# hugo server + +> Construye y publica un sitio con el servidor web integrado de Hugo. +> Más información: . + +- Construye y publica un sitio: + +`hugo server` + +- Construye y publica un sitio en un número de puerto especificado: + +`hugo server --port {{número_de_puerto}}` + +- Construye y publica un sitio mientras se minimizan los formatos de salida soportados (HTML, XML, etc.): + +`hugo server --minify` + +- Construye y sirve un sitio en el entorno de producción con reconstrucción completa (re-render) disminuyendo el tamaño (minify) en los formatos soportados: + +`hugo server --environment {{producción}} --disableFastRender --minify` + +- Muestra la ayuda: + +`hugo server --help` diff --git a/pages.es/common/hx.md b/pages.es/common/hx.md new file mode 100644 index 00000000000000..66eb93e421c6f2 --- /dev/null +++ b/pages.es/common/hx.md @@ -0,0 +1,7 @@ +# hx + +> Este comando es un alias de `helix`. + +- Muestra la documentación del comando original: + +`tldr helix` diff --git a/pages.es/common/i3.md b/pages.es/common/i3.md new file mode 100644 index 00000000000000..02af4edea6aa3f --- /dev/null +++ b/pages.es/common/i3.md @@ -0,0 +1,32 @@ +# i3 + +> Un gestor dinámico de ventanas en mosaico. +> Más información: . + +- Comienza i3 (Tener en cuenta que no debe haber abierto ningún otro gestor de ventanas existente cuando se ejecute este comando): + +`i3` + +- Abre una terminal en una nueva ventana: + +`` + +- Crea un nuevo espacio de trabajo: + +`` + +- Cambia al espacio de trabajo número `n`: + +`` + +- Abre una nueva ventana en mosaico horizontal: + +`` + +- Abre una nueva ventana en mosaico vertical: + +`` + +- Abre una aplicación (escribir el nombre de la aplicación después de ejecutar el comando): + +`` diff --git a/pages.es/common/id.md b/pages.es/common/id.md new file mode 100644 index 00000000000000..ed54c84018b45f --- /dev/null +++ b/pages.es/common/id.md @@ -0,0 +1,28 @@ +# id + +> Muestra la identidad actual del usuario y del grupo. +> Más información: . + +- Muestra la ID del usuario actual (UID), la ID del grupo (GID) y los grupos a los que pertenece: + +`id` + +- Muestra la identidad del usuario actual: + +`id {{[-un|--user --name]}}` + +- Muestra la identidad del usuario actual como un número: + +`id {{[-u|--user]}}` + +- Muestra la identidad del grupo primario actual: + +`id {{[-gn|--group --name]}}` + +- Muestra la identidad del grupo primario actual como un número: + +`id {{[-g|--group]}}` + +- Muestra el ID (UID) de un usuario arbitrario, el ID de grupo (GID) y los grupos a los que pertenece: + +`id {{usuario}}` diff --git a/pages.es/common/identify.md b/pages.es/common/identify.md new file mode 100644 index 00000000000000..c93ddb2ae3c80d --- /dev/null +++ b/pages.es/common/identify.md @@ -0,0 +1,7 @@ +# identify + +> Este comando es un alias de `magick identify`. + +- Vea la documentación para el comando original: + +`tldr magick identify` diff --git a/pages.es/common/img2sixel.md b/pages.es/common/img2sixel.md new file mode 100644 index 00000000000000..493ada1760239b --- /dev/null +++ b/pages.es/common/img2sixel.md @@ -0,0 +1,12 @@ +# img2sixel + +> Convierte imágenes al formato Sixel para mostrarlas en un terminal. +> Más información: . + +- Muestra una imagen en el terminal: + +`img2sixel {{ruta/a/imagen}}` + +- Redimensiona la imagen a la anchura y altura especificadas antes de mostrarla: + +`img2sixel {{[-w|--width]}} {{número}} {{[-h|--altura]}} {{número}} {{ruta/a/imagen}}` diff --git a/pages.es/common/immich-go.md b/pages.es/common/immich-go.md new file mode 100644 index 00000000000000..996c95ac108e54 --- /dev/null +++ b/pages.es/common/immich-go.md @@ -0,0 +1,25 @@ +# immich-go + +> Immich-Go es una herramienta abierta diseñada para subir grandes colecciones de fotos a tu servidor Immich autoalojado. +> Véase también: `immich-cli`. +> Más información: . + +- Sube un archivo takeout de Google al servidor Immich: + +`immich-go -server={{url_del_servidor}} -key={{clave_de_servidor}} upload {{ruta/a/archivo_takeout.zip}}` + +- Importa fotos capturadas en junio del 2019, mientras se generan los álbumes automáticamente: + +`immich-go -server={{url_del_servidor}} -key={{clave_del_servidor}} upload -create-albums -google-photos -date={{2019-06}} {{ruta/a/archivo_takeout.zip}}` + +- Sube un archivo usando servidor y clave de un archivo de configuración: + +`immich-go -use-configuration={{~/.immich-go/immich-go.json}} upload {{ruta/a/archivo_takeout.zip}}` + +- Examina el contenido del servidor Immich, elimina las imágenes de menor calidad y preserva álbumes: + +`immich-go -server={{url_del_servidor}} -key={{clave_del_servidor}} duplicate -yes` + +- Elimina todos los álbumes creados con el patrón "YYYY-MM-DD": + +`immich-go -server={{url_del_servidor}} -key={{clave_del_servidor}} tool album delete {{\d{4}-\d{2}-\d{2}}}` diff --git a/pages.es/common/immich.md b/pages.es/common/immich.md new file mode 100644 index 00000000000000..55ce69f8b0d566 --- /dev/null +++ b/pages.es/common/immich.md @@ -0,0 +1,29 @@ +# immich + +> Immich tiene una interfaz de línea de comandos (CLI) que le permite realizar ciertas acciones desde la línea de comandos. +> Vea también: `immich-go`. +> Más información: . + +- Autentica en el servidor de Immich: + +`immich login {{url_del_servidor/api}} {{clave_del_servidor}}` + +- Sube unas imágenes: + +`immich upload {{archivo1.jpg archivo2.jpg}}` + +- Sube un directorio y sus subdirectorios: + +`immich upload --recursive {{ruta/al/directorio}}` + +- Crea un álbum basado en un directorio: + +`immich upload --album-name "{{Vacaciones de verano}}" --recursive {{ruta/al/directorio}}` + +- Omite recursos que coincidan con un patrón global: + +`immich upload --ignore {{**/Raw/** **/*.tif}} --recursive {{directorio/}}` + +- Incluye archivos ocultos: + +`immich upload --include-hidden --recursive {{ruta/al/directorio}}` diff --git a/pages.es/common/impacket-getadusers.md b/pages.es/common/impacket-getadusers.md new file mode 100644 index 00000000000000..ae67bd175ebaf3 --- /dev/null +++ b/pages.es/common/impacket-getadusers.md @@ -0,0 +1,7 @@ +# impacket-GetADUsers + +> Este comando es un alias de `GetADUsers.py`. + +- Vea la documentación del comando original: + +`tldr GetADUsers.py` diff --git a/pages.es/common/impacket-getarch.md b/pages.es/common/impacket-getarch.md new file mode 100644 index 00000000000000..73a4d1333fa0b2 --- /dev/null +++ b/pages.es/common/impacket-getarch.md @@ -0,0 +1,7 @@ +# impacket-getArch + +> Este comando es un alias de `getArch.py`. + +- Vea la documentación del comando original: + +`tldr getArch.py` diff --git a/pages.es/common/impacket-getnpusers.md b/pages.es/common/impacket-getnpusers.md new file mode 100644 index 00000000000000..a7fe02616b9d58 --- /dev/null +++ b/pages.es/common/impacket-getnpusers.md @@ -0,0 +1,7 @@ +# impacket-GetNPUsers + +> Este comando es un alias de `GetNPUsers.py`. + +- Vea la documentación del comando original: + +`tldr GetNPUsers.py` diff --git a/pages.es/common/impacket-getuserspns.md b/pages.es/common/impacket-getuserspns.md new file mode 100644 index 00000000000000..90bcd1fa95b2a6 --- /dev/null +++ b/pages.es/common/impacket-getuserspns.md @@ -0,0 +1,7 @@ +# impacket-GetUserSPNs + +> Este comando es un alias de `GetNPUsers.py`. + +- Vea la documentación del comando original: + +`tldr GetUserSPNs.py` diff --git a/pages.es/common/impacket-mqtt_check.md b/pages.es/common/impacket-mqtt_check.md new file mode 100644 index 00000000000000..61f0fde920d365 --- /dev/null +++ b/pages.es/common/impacket-mqtt_check.md @@ -0,0 +1,7 @@ +# impacket-mqtt_check + +> Este comando es un alias de `mqtt_check.py`. + +- Vea la documentación del comando original: + +`tldr mqtt_check.py` diff --git a/pages.es/common/impacket-mssqlclient.md b/pages.es/common/impacket-mssqlclient.md new file mode 100644 index 00000000000000..8a75d8949fe03c --- /dev/null +++ b/pages.es/common/impacket-mssqlclient.md @@ -0,0 +1,7 @@ +# impacket-mssqlclient + +> Este comando es un alias de `mssqlclient.py`. + +- Vea la documentación del comando original: + +`tldr mssqlclient.py` diff --git a/pages.es/common/impacket-ntfs-read.md b/pages.es/common/impacket-ntfs-read.md new file mode 100644 index 00000000000000..fa36a5427aa195 --- /dev/null +++ b/pages.es/common/impacket-ntfs-read.md @@ -0,0 +1,7 @@ +# impacket-ntfs-read + +> Este comando es un alias de `ntfs-read.py`. + +- Vea la documentación del comando original: + +`tldr ntfs-read.py` diff --git a/pages.es/common/impacket-ping.md b/pages.es/common/impacket-ping.md new file mode 100644 index 00000000000000..c5e345edc52498 --- /dev/null +++ b/pages.es/common/impacket-ping.md @@ -0,0 +1,7 @@ +# impacket-ping + +> Este comando es un alias de `ping.py`. + +- Vea la documentación del comando original: + +`tldr ping.py` diff --git a/pages.es/common/impacket-ping6.md b/pages.es/common/impacket-ping6.md new file mode 100644 index 00000000000000..f62f2d059d2dd7 --- /dev/null +++ b/pages.es/common/impacket-ping6.md @@ -0,0 +1,7 @@ +# impacket-ping6 + +> Este comando es un alias de `ping6.py`. + +- Vea la documentación del comando original: + +`tldr ping6.py` diff --git a/pages.es/common/impacket-psexec.md b/pages.es/common/impacket-psexec.md new file mode 100644 index 00000000000000..7779f0f6151a3f --- /dev/null +++ b/pages.es/common/impacket-psexec.md @@ -0,0 +1,7 @@ +# impacket-psexec + +> Este comando es un alias de `psexec.py`. + +- Vea la documentación del comando original: + +`tldr psexec.py` diff --git a/pages.es/common/impacket-rpcdump.md b/pages.es/common/impacket-rpcdump.md new file mode 100644 index 00000000000000..5aa879700c33ed --- /dev/null +++ b/pages.es/common/impacket-rpcdump.md @@ -0,0 +1,7 @@ +# impacket-rpcdump + +> Este comando es un alias de `rpcdump.py`. + +- Vea la documentación del comando original: + +`tldr rpcdump.py` diff --git a/pages.es/common/impacket-rpcmap.md b/pages.es/common/impacket-rpcmap.md new file mode 100644 index 00000000000000..6c2556591e1bac --- /dev/null +++ b/pages.es/common/impacket-rpcmap.md @@ -0,0 +1,7 @@ +# impacket-rpcmap + +> Este comando es un alias de `rpcmap.py`. + +- Vea la documentación del comando original: + +`tldr rpcmap.py` diff --git a/pages.es/common/impacket-sambapipe.md b/pages.es/common/impacket-sambapipe.md new file mode 100644 index 00000000000000..bde6206efee72b --- /dev/null +++ b/pages.es/common/impacket-sambapipe.md @@ -0,0 +1,7 @@ +# impacket-sambaPipe + +> Este comando es un alias de `sambaPipe.py`. + +- Vea la documentación del comando original: + +`tldr sambaPipe.py` diff --git a/pages.es/common/impacket-secretsdump.md b/pages.es/common/impacket-secretsdump.md new file mode 100644 index 00000000000000..f531fedbeee6c2 --- /dev/null +++ b/pages.es/common/impacket-secretsdump.md @@ -0,0 +1,7 @@ +# impacket-secretsdump + +> Este comando es un alias de `secretsdump.py`. + +- Vea la documentación del comando original: + +`tldr secretsdump.py` diff --git a/pages.es/common/impacket-smbclient.md b/pages.es/common/impacket-smbclient.md new file mode 100644 index 00000000000000..afb5af3411a373 --- /dev/null +++ b/pages.es/common/impacket-smbclient.md @@ -0,0 +1,7 @@ +# impacket-smbclient + +> Este comando es un alias de `smbclient.py`. + +- Vea la documentación del comando original: + +`tldr smbclient.py` diff --git a/pages.es/common/impacket-smbserver.md b/pages.es/common/impacket-smbserver.md new file mode 100644 index 00000000000000..d98c10599110eb --- /dev/null +++ b/pages.es/common/impacket-smbserver.md @@ -0,0 +1,7 @@ +# impacket-smbserver + +> Este comando es un alias de `smbserver.py`. + +- Vea la documentación del comando original: + +`tldr smbserver.py` diff --git a/pages.es/common/impacket-sniff.md b/pages.es/common/impacket-sniff.md new file mode 100644 index 00000000000000..7f4f4c957d0029 --- /dev/null +++ b/pages.es/common/impacket-sniff.md @@ -0,0 +1,7 @@ +# impacket-sniff + +> Este comando es un alias de `sniff.py`. + +- Vea la documentación del comando original: + +`tldr sniff.py` diff --git a/pages.es/common/impacket-sniffer.md b/pages.es/common/impacket-sniffer.md new file mode 100644 index 00000000000000..ce70b15406ac90 --- /dev/null +++ b/pages.es/common/impacket-sniffer.md @@ -0,0 +1,7 @@ +# impacket-sniffer + +> Este comando es un alias de `sniffer.py`. + +- Vea la documentación del comando original: + +`tldr sniffer.py` diff --git a/pages.es/common/import.md b/pages.es/common/import.md new file mode 100644 index 00000000000000..e97d5f7f73ee33 --- /dev/null +++ b/pages.es/common/import.md @@ -0,0 +1,7 @@ +# import + +> Este comando es un alias de `magick import`. + +- Vea la documentación para el comando original: + +`tldr magick import` diff --git a/pages.es/common/incus.md b/pages.es/common/incus.md new file mode 100644 index 00000000000000..cf71b7ecb120ab --- /dev/null +++ b/pages.es/common/incus.md @@ -0,0 +1,36 @@ +# incus + +> Contenedor de sistemas y gestor de máquinas virtuales moderno, seguro y potente. +> Más información: . + +- Lista todos los contenedores y máquinas virtuales (tanto en ejecución como detenidas): + +`incus list` + +- Crea un contenedor a partir de una imagen, con un nombre personalizado: + +`incus create {{imagen}} {{nombre_del_contenedor}}` + +- Inicia o detiene un contenedor existente: + +`incus {{start|stop}} {{nombre_del_contenedor}}` + +- Abre un intérprete de comandos dentro de un contenedor en ejecución: + +`incus shell {{nombre_del_contenedor}}` + +- Elimina un contenedor detenido: + +`incus delete {{nombre_del_contenedor}}` + +- Extrae una imagen de un repositorio de imágenes (remoto) al local: + +`incus copy {{remoto}}:{{imagen}} local:{{nombre_de_imagen_personalizada}}` + +- Lista todas las imágenes disponibles en el repositorio oficial `images:` remoto: + +`incus image list images:` + +- Lista todas las imágenes ya descargadas en el remoto `local:`: + +`incus image list local:` diff --git a/pages.es/common/ipscan.md b/pages.es/common/ipscan.md new file mode 100644 index 00000000000000..f6f91992378d73 --- /dev/null +++ b/pages.es/common/ipscan.md @@ -0,0 +1,29 @@ +# ipscan + +> Un rápido escáner de red diseñado para ser simple de usar. +> También conocido como Angry IP Scanner. +> Más información: . + +- Escanea una dirección IP específica: + +`ipscan {{192.168.0.1}}` + +- Escanea un rango de direcciones IP: + +`ipscan {{192.168.0.1-254}}` + +- Escanea un rango de direcciones IP y guardar los resultados en un archivo: + +`ipscan {{192.168.0.1-254}} -o {{ruta/a/salida.txt}}` + +- Escanea IPs con un conjunto específico de puertos: + +`ipscan {{192.168.0.1-254}} -p {{80,443,22}}` + +- Escanea con un retardo entre peticiones para evitar la congestión de la red: + +`ipscan {{192.168.0.1-254}} -d {{200}}` + +- Muestra ayuda: + +`ipscan --help` diff --git a/pages.es/common/ispell.md b/pages.es/common/ispell.md new file mode 100644 index 00000000000000..059c92bdd63e71 --- /dev/null +++ b/pages.es/common/ispell.md @@ -0,0 +1,16 @@ +# ispell + +> Corrección ortográfica interactiva. +> Más información: . + +- Inicia una sesión interactiva: + +`ispell` + +- Comprueba si hay erratas en el archivo especificado y aplica sugerencias de forma interactiva: + +`ispell {{ruta/al/archivo}}` + +- Muestra la versión: + +`ispell -v` diff --git a/pages.es/common/j.md b/pages.es/common/j.md new file mode 100644 index 00000000000000..b0ac50f6fbf65b --- /dev/null +++ b/pages.es/common/j.md @@ -0,0 +1,7 @@ +# j + +> Este comando es un alias de `autojump`. + +- Vea la documentación del comando original: + +`tldr autojump` diff --git a/pages.es/common/jbang.md b/pages.es/common/jbang.md new file mode 100644 index 00000000000000..b08c0f53eff24a --- /dev/null +++ b/pages.es/common/jbang.md @@ -0,0 +1,37 @@ +# jbang + +> Crea, edita y ejecuta fácilmente programas en Java autocontenidos de sólo código fuente. +> Ver también: `java`. +> Más información: . + +- Inicializa una clase en Java simple: + +`jbang init {{ruta/al/archivo.java}}` + +- Inicializa una clase en Java (útil para scripts): + +`jbang init --template={{cli}} {{ruta/al/archivo.java}}` + +- Utiliza `jshell` para explorar y utilizar un script y cualquier dependencia en un editor REPL: + +`jbang run --interactive` + +- Configura un proyecto temporal para editar un script en un entorno de desarrollo integrado: + +`jbang edit --open={{codium|code|eclipse|idea|netbeans|gitpod}} {{ruta/al/script.java}}` + +- Ejecuta un fragmento de código en Java (Java 9 y posteriores): + +`{{echo 'Files.list(Paths.get("/etc")).forEach(System.out::println);'}} | jbang -` + +- Ejecuta aplicación de línea de comandos: + +`jbang {{ruta/al/archivo.java}} {{comando}} {{arg1 arg2 ...}}` + +- Instala un script en un directorio en el valor de la variable de entorno `PATH` del usuario actual: + +`jbang app install --name {{nombre_del_comando}} {{ruta/al/script.java}}` + +- Instala una versión específica del JDK para utilizarla con `jbang`: + +`jbang jdk install {{versión}}` diff --git a/pages.es/common/jco.md b/pages.es/common/jco.md new file mode 100644 index 00000000000000..005313f458833f --- /dev/null +++ b/pages.es/common/jco.md @@ -0,0 +1,7 @@ +# jco + +> Este comando es un alias de `autojump`. + +- Vea la documentación del comando original: + +`tldr autojump` diff --git a/pages.es/common/jekyll.md b/pages.es/common/jekyll.md new file mode 100644 index 00000000000000..423727a05b5daa --- /dev/null +++ b/pages.es/common/jekyll.md @@ -0,0 +1,24 @@ +# jekyll + +> Un generador de sitios estático sencillo que tiene en cuenta los blogs. +> Más información: . + +- Genera un servidor de desarrollo que funcionará en http://localhost:4000/: + +`jekyll serve` + +- Habilita la regeneración incremental: + +`jekyll serve --incremental` + +- Habilita salida (output) detallada: + +`jekyll serve --verbose` + +- Genera el directorio actual en `./_site`: + +`jekyll build` + +- Limpia el sitio (site) (elimina el sitio generado y el directorio `cache`) sin construirlo: + +`jekyll clean` diff --git a/pages.es/common/jf.md b/pages.es/common/jf.md new file mode 100644 index 00000000000000..99fee1e11075a6 --- /dev/null +++ b/pages.es/common/jf.md @@ -0,0 +1,16 @@ +# jf + +> Interactúa con productos JFrog como Artifactory, Xray, Distribution, Pipelines Mission Control. +> Más información: . + +- Añade una nueva configuración: + +`jf config add` + +- Muestra la configuración actual: + +`jf config show` + +- Busca artefactos dentro del repositorio y directorio dados: + +`jf rt search --recursive {{nombre_del_repositorio}}/{{ruta}}/` diff --git a/pages.es/common/jfrog.md b/pages.es/common/jfrog.md new file mode 100644 index 00000000000000..d09cf7f750be61 --- /dev/null +++ b/pages.es/common/jfrog.md @@ -0,0 +1,7 @@ +# jfrog + +> Este comando es un alias de `jf`. + +- Vea la documentación para el comando original: + +`tldr jf` diff --git a/pages.es/common/jo.md b/pages.es/common/jo.md new file mode 100644 index 00000000000000..51b5a99bffc6e4 --- /dev/null +++ b/pages.es/common/jo.md @@ -0,0 +1,7 @@ +# jo + +> Este comando es un alias de `autojump`. + +- Vea la documentación del comando original: + +`tldr autojump` diff --git a/pages.es/common/join.md b/pages.es/common/join.md new file mode 100644 index 00000000000000..bc82c8e9f16ac6 --- /dev/null +++ b/pages.es/common/join.md @@ -0,0 +1,24 @@ +# join + +> Une las líneas de dos archivos ordenados en un campo común. +> Más información: . + +- Une dos archivos en el primer campo (por defecto): + +`join {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Une dos archivos utilizando una coma (en lugar de un espacio) como separador de campos: + +`join -t {{“,”}} {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Une el campo3 del archivo1 con el campo1 del archivo2: + +`join -1 {{3}} -2 {{1}} {{ruta/al/fichero1}} {{ruta/al/archivo2}}` + +- Produce una línea por cada línea no emparejable del fichero1: + +`join -a {{1}} {{ruta/al/fichero1}} {{ruta/al/archivo2}}` + +- Une un fichero desde `stdin`: + +`cat {{ruta/al/archivo1}} | join - {{ruta/al/archivo2}}` diff --git a/pages.es/common/josm.md b/pages.es/common/josm.md new file mode 100644 index 00000000000000..660352cc76b46b --- /dev/null +++ b/pages.es/common/josm.md @@ -0,0 +1,32 @@ +# josm + +> Editor extensible de OpenStreetMap para Java 8+. +> Más información: . + +- Abre JOSM: + +`josm` + +- Inicia JOSM en modo maximizado: + +`josm --maximize` + +- Inicia JOSM y establece un idioma específico: + +`josm --language {{sp}}` + +- Inicia JOSM y restablece todas las preferencias a sus valores predeterminados: + +`josm --reset-preferences` + +- Inicia JOSM y descarga un área delimitada: + +`josm --download {{minlat,minlon,maxlat,maxlon}}` + +- Inicia JOSM y descarga un área delimitada específica como GPS crudo: + +`josm --downloadgps {{minlat,minlon,maxlat,maxlon}}` + +- Inicia JOSM sin complementos (plugins): + +`josm --skip-plugins` diff --git a/pages.es/common/jupyter-lab.md b/pages.es/common/jupyter-lab.md new file mode 100644 index 00000000000000..1c799bce23d0d3 --- /dev/null +++ b/pages.es/common/jupyter-lab.md @@ -0,0 +1,20 @@ +# jupyter lab + +> Entorno de desarrollo interactivo para cuadernos Jupyter. +> Más información: . + +- Inicia JupyterLab: + +`jupyter lab` + +- Abre un cuaderno específico: + +`jupyter lab {{ruta/a/cuaderno.ipynb}}` + +- Inicia JupyterLab en un directorio específico: + +`jupyter lab --notebook-dir {{ruta/al/directorio}}` + +- Inicia JupyterLab en modo depuración: + +`jupyter lab --debug` diff --git a/pages.es/common/jupyterlab.md b/pages.es/common/jupyterlab.md new file mode 100644 index 00000000000000..953f7a6e102834 --- /dev/null +++ b/pages.es/common/jupyterlab.md @@ -0,0 +1,7 @@ +# jupyterlab + +> Este comando es un alias de `jupyter lab`. + +- Vea la documentación del comando original: + +`tldr jupyter lab` diff --git a/pages.es/common/kafkacat.md b/pages.es/common/kafkacat.md new file mode 100644 index 00000000000000..233f85d2292740 --- /dev/null +++ b/pages.es/common/kafkacat.md @@ -0,0 +1,7 @@ +# kafkacat + +> Este comando es un alias de `kcat`. + +- Muestra la documentación del comando original: + +`tldr kcat` diff --git a/pages.es/common/kcat.md b/pages.es/common/kcat.md new file mode 100644 index 00000000000000..238cdec2c5e83f --- /dev/null +++ b/pages.es/common/kcat.md @@ -0,0 +1,36 @@ +# kcat + +> Productor Apache Kafka y herramienta de consumo. +> Más información: . + +- Consume mensajes empezando por el corrimiento (offset) más nuevo: + +`kcat -C -t {{tema}} -b {{intermediarios}}` + +- Consume mensajes comenzando con el offset más antiguo y sale después de recibir el último mensaje: + +`kcat -C -t {{tema}} -b {{intermediarios}} -o beginning -e` + +- Consume mensajes como grupo de consumidores de Kafka: + +`kcat -G {{id_de_grupo}} {{tema}} -b {{intermediarios}}` + +- Publica el mensaje leyendo de `stdin`: + +`echo {{mensaje}} | kcat -P -t {{tema}} -b {{intermediarios}}` + +- Publica mensajes leyendo desde un archivo: + +`kcat -P -t {{tema}} -b {{intermediarios}} {{ruta/al/archivo}}` + +- Lista metadatos para todos los temas e intermediarios: + +`kcat -L -b {{intermediarios}}` + +- Lista metadatos para un tema específico: + +`kcat -L -t {{tema}} -b {{intermediarios}}` + +- Obtiene el offset de un tema/partición para un punto específico en el tiempo: + +`kcat -Q -t {{tema}}:{{partición}}:{{marca_de_tiempo_unix}} -b {{intermediarios}}` diff --git a/pages.es/common/kerl.md b/pages.es/common/kerl.md new file mode 100644 index 00000000000000..db953ca28fcb18 --- /dev/null +++ b/pages.es/common/kerl.md @@ -0,0 +1,24 @@ +# kerl + +> Construye e instala instancias Erlang/OTP con facilidad. +> Más información: . + +- Compila e instala una versión de Erlang/OTP en un directorio: + +`kerl build-install {{28.0}} {{28.0}} {{ruta/a/directorio_de_instalación}}/{{28.0}}` + +- Activa una instalación Erlang/OTP: + +`. {{ruta/a/instalación}}/activate` + +- Desactiva la instalación Erlang/OTP actual: + +`kerl_deactivate` + +- Lista todas las versiones disponibles de Erlang/OTP: + +`kerl list releases` + +- Lista las versiones de Erlang/OTP instaladas: + +`kerl list installations` diff --git a/pages.es/common/keybase.md b/pages.es/common/keybase.md index a9ff55b9499f5a..bbf2bf78877ca6 100644 --- a/pages.es/common/keybase.md +++ b/pages.es/common/keybase.md @@ -1,32 +1,32 @@ # keybase -> Directorio de claves que conecta identidades en redes sociales a claves encriptadas de una manera públicamente auditable. -> Más información: . +> Directorio clave que asigna identidades de redes sociales a claves de cifrado de forma públicamente auditable. +> Más información: . - Sigue a otro usuario: -`keybase follow {{nombre_de_usuario}}` +`keybase follow {{usuario}}` - Añade una nueva prueba: -`keybase prove {{servicio}} {{nombre_de_usuario_en_el_servicio}}` +`keybase prove {{servicio}} {{usuario_en_el_servicio}}` - Firma un archivo: -`keybase sign --infile {{archivo_de_entrada}} --outfile {{archivo_de_salida}}` +`keybase sign {{[-i|--infile]}} {{archivo_de_entrada}} {{[-o|--outfile]}} {{archivo_de_salida}}` - Verifica un archivo firmado: -`keybase verify --infile {{archivo_de_entrada}} --outfile {{archivo_de_salida}}` +`keybase verify {{[-i|--infile]}} {{archivo_de_entrada}} {{[-o|--outfile]}} {{archivo_de_salida}}` - Encripta un archivo: -`keybase encrypt --infile {{archivo_de_entrada}} --outfile {{archivo_de_salida}} {{receptor}}` +`keybase encrypt {{[-i|--infile]}} {{archivo_de_entrada}} {{[-o|--outfile]}} {{archivo_de_salida}} {{receptor}}` - Desencripta un archivo: -`keybase decrypt --infile {{archivo_de_entrada}} --outfile {{archivo_de_salida}}` +`keybase decrypt {{[-i|--infile]}} {{archivo_de_entrada}} {{[-o|--outfile]}} {{archivo_de_salida}}` -- Revoca el dispositivo actual, se desconecta y borra los datos locales: +- Revoca el dispositivo actual, cierra la sesión y elimina los datos locales: `keybase deprovision` diff --git a/pages.es/common/kill.md b/pages.es/common/kill.md new file mode 100644 index 00000000000000..55ebe9bccc5e1f --- /dev/null +++ b/pages.es/common/kill.md @@ -0,0 +1,33 @@ +# kill + +> Envía una señal a un proceso, usualmente relacionada con detener el proceso. +> Todas las señales a excepción de SIGKILL y SIGSTOP pueden ser interceptadas por el proceso para efectuar una salida limpia. +> Más información: . + +- Termina un programa usando la señal SIGTERM (terminar) predeterminada: + +`kill {{identificador_del_proceso}}` + +- Lista todas las señales disponibles (para utilizarlas sin el prefijo `SIG`): + +`kill -l` + +- Termina un programa usando la señal SIGHUP (hang up/colgar). Muchos programas residentes (daemons) se recargarán en lugar de terminar: + +`kill -{{1|HUP}} {{identificador_del_proceso}}` + +- Termina un programa usando la señal SIGINT (interrumpir). Esto es normalmente iniciado por el usuario al presionar ``: + +`kill -{{2|INT}} {{identificador_del_proceso}}` + +- Señala al sistema operativo terminar inmediatamente un programa (el cual no tiene oportunidad de capturar la señal): + +`kill -{{9|KILL}} {{identificador_del_proceso}}` + +- Señala al sistema operativo pausar un programa hasta que la señal SIGCONT (continuar) sea recibida: + +`kill -{{17|STOP}} {{identificador_del_proceso}}` + +- Envía una señal `SIGUSR1` a todos los procesos con un GID (id de grupo) dado: + +`kill -{{SIGUSR1}} -{{identificador_de_grupo}}` diff --git a/pages.es/common/kite.md b/pages.es/common/kite.md new file mode 100644 index 00000000000000..12473177c9d2c0 --- /dev/null +++ b/pages.es/common/kite.md @@ -0,0 +1,7 @@ +# kite + +> Este comando es un alias de `kiterunner`. + +- Vea la documentación del comando original: + +`tldr kiterunner` diff --git a/pages.es/common/kiterunner.md b/pages.es/common/kiterunner.md new file mode 100644 index 00000000000000..f4957efc4201a9 --- /dev/null +++ b/pages.es/common/kiterunner.md @@ -0,0 +1,20 @@ +# kiterunner + +> Un escáner web contextual para descubrir rutas API y puntos finales web utilizando listas de palabras y esquemas kitebuilder. +> Más información: . + +- Vea la documentación para forzar las rutas API y los puntos finales web: + +`tldr kiterunner brute` + +- Vea la documentación para escanear simultáneamente hosts con listas de palabras de kitebuilder: + +`tldr kiterunner scan` + +- Vea la documentación para manipular esquemas de kitebuilder: + +`tldr kiterunner kb` + +- Vea la documentación sobre la gestión de listas de palabras remotas y almacenadas en caché: + +`tldr kiterunner wordlist` diff --git a/pages.es/common/kitty.md b/pages.es/common/kitty.md new file mode 100644 index 00000000000000..ab42125851473d --- /dev/null +++ b/pages.es/common/kitty.md @@ -0,0 +1,24 @@ +# kitty + +> Un emulador rápido de una terminal basado en GPU rico en características. +> Más información: . + +- Abre una nueva terminal: + +`kitty` + +- Abre una terminal con el título especificado para la ventana: + +`kitty --title "{{título}}"` + +- Inicia el selector de temas incorporado: + +`kitty +kitten themes` + +- Muestra una imagen en la terminal: + +`kitty +kitten icat {{ruta/a/la/imagen}}` + +- Copia el contenido de `stdin` al portapapeles: + +`echo {{ejemplo}} | kitty +kitten clipboard` diff --git a/pages.es/common/knotc.md b/pages.es/common/knotc.md new file mode 100644 index 00000000000000..58eebf72280c8e --- /dev/null +++ b/pages.es/common/knotc.md @@ -0,0 +1,24 @@ +# knotc + +> Controla el servidor DNS knot. +> Más información: . + +- Comienza a editar una zona: + +`knotc zone-begin {{zona}}` + +- Establece un registro A con TTL de 3600: + +`knotc zone-set {{zona}} {{subdominio}} 3600 A {{dirección_ip}}` + +- Finaliza la edición de la zona: + +`knotc zone-commit {{zona}}` + +- Obtén los datos de la zona actual: + +`knotc zone-read {{zona}}` + +- Obtén la configuración actual del servidor: + +`knotc conf-read server` diff --git a/pages.es/common/komac.md b/pages.es/common/komac.md new file mode 100644 index 00000000000000..f97673b7b111d5 --- /dev/null +++ b/pages.es/common/komac.md @@ -0,0 +1,36 @@ +# komac + +> Crea manifiestos WinGet para el repositorio `winget-pkgs`. +> Más información: . + +- Crea un nuevo paquete desde cero: + +`komac new {{Paquete.Identificador}} --version {{1.2.3}} --urls {{https://example.com/app.exe}}` + +- Actualiza un paquete existente con una nueva versión: + +`komac update {{Paquete.Identificador}} --version {{1.2.3}} --urls {{https://example.com/app.exe}}` + +- Actualiza un paquete con varias URL y lo envía automáticamente: + +`komac update {{Paquete.Identificador}} --version {{1.2.3}} --urls {{https://example.com/app.exe https://example.com/app.msi ...}} --submit` + +- Elimina una versión de winget-pkgs: + +`komac remove {{Paquete.Identificador}} --version {{1.2.3}}` + +- Lista todas las versiones de un paquete: + +`komac list-versions {{Paquete.Identificador}}` + +- Sincroniza tu fork de winget-pkgs con el repositorio fuente: + +`komac sync-fork` + +- Actualiza el token de GitHub almacenado: + +`komac token update --token {{tu_token_github}}` + +- Genera una secuencia de comandos de autocompletado del intérprete de comandos: + +`komac complete {{bash|zsh|fish|powershell}}` diff --git a/pages.es/common/kopia.md b/pages.es/common/kopia.md new file mode 100644 index 00000000000000..8542a31b8d9b97 --- /dev/null +++ b/pages.es/common/kopia.md @@ -0,0 +1,37 @@ +# kopia + +> Herramienta de copia de seguridad de código abierto, rápida y segura. +> Soporta encriptación, compresión, deduplicación e instantáneas incrementales. +> Más información: . + +- Crea un repositorio en el sistema de archivos local: + +`kopia repository create filesystem --path {{ruta/al/repositorio_local}}` + +- Crea un repositorio en Amazon S3: + +`kopia repository create s3 --bucket {{nombre_del_bucket}} --access-key {{identificador_de_clave_de_acceso_AWS}} --secret-access-key {{clave_de_acceso_secreta_AWS}}` + +- Conecta a un repositorio: + +`kopia repository connect {{tipo_de_repositorio}} --path {{ruta/al/repositorio}}` + +- Crea una instantánea de un directorio: + +`kopia snapshot create {{ruta/al/directorio}}` + +- Lista instantáneas: + +`kopia snapshot list` + +- Restaura una instantánea en un directorio específico: + +`kopia snapshot restore {{identificador_de_instantánea}} {{ruta/al/directorio_objetivo}}` + +- Crea una nueva política: + +`kopia policy set --global --keep-latest {{número_de_instantáneas_a_mantener}} --compression {{algoritmo_de_compresión}}` + +- Excluye un archivo o directorio específico de las copias de seguridad: + +`kopia policy set --global --add-ignore {{ruta/al/archivo_o_directorio}}` diff --git a/pages.es/common/kr.md b/pages.es/common/kr.md new file mode 100644 index 00000000000000..c82b9ee25896e5 --- /dev/null +++ b/pages.es/common/kr.md @@ -0,0 +1,7 @@ +# kr + +> Este comando es un alias de `kiterunner`. + +- Vea la documentación del comando original: + +`tldr kiterunner` diff --git a/pages.es/common/krunvm.md b/pages.es/common/krunvm.md new file mode 100644 index 00000000000000..94246fde6c1e41 --- /dev/null +++ b/pages.es/common/krunvm.md @@ -0,0 +1,24 @@ +# krunvm + +> Utilidad basada en CLI para crear micro máquinas virtuales utilizando imágenes OCI. +> Más información: . + +- 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}}"` + +- Inicia una imagen específica: + +`krunvm start "{{nombre}}"` + +- Lista las imágenes existentes: + +`krunvm list` + +- Cambia una imagen específica: + +`krunvm changevm --cpus {{número_de_vcpus}} --mem {{memoria_en_megabytes}} --name "{{nuevo_nombre}}" "{{nombre}}"` + +- Borra una imagen específica: + +`krunvm delete "{{nombre}}"` diff --git a/pages.es/common/kubeadm.md b/pages.es/common/kubeadm.md new file mode 100644 index 00000000000000..6652b7ea586948 --- /dev/null +++ b/pages.es/common/kubeadm.md @@ -0,0 +1,32 @@ +# kubeadm + +> Interfaz de línea de comandos para crear y gestionar clusters Kubernetes. +> Más información: . + +- Crea un plano de control de Kubernetes: + +`kubeadm init` + +- Arranca un nodo trabajador de Kubernetes y lo une a un clúster: + +`kubeadm join --token {{token}}` + +- Crea un nuevo token de arranque con un TTL de 12 horas: + +`kubeadm token create --ttl {{12h0m0s}}` + +- Comprueba si el clúster Kubernetes es actualizable y qué versiones están disponibles: + +`kubeadm upgrade plan` + +- Actualiza el clúster Kubernetes a la versión especificada: + +`kubeadm upgrade apply {{versión}}` + +- Observa el ConfigMap de kubeadm que contiene la configuración del clúster: + +`kubeadm config view` + +- Revierte los cambios realizados en el host por `kubeadm init` o `kubeadm join`: + +`kubeadm reset` diff --git a/pages.es/common/kubectl-logs.md b/pages.es/common/kubectl-logs.md new file mode 100644 index 00000000000000..8754b27e3eaaed --- /dev/null +++ b/pages.es/common/kubectl-logs.md @@ -0,0 +1,32 @@ +# kubectl logs + +> Muestra los registros de los contenedores de un pod. +> Más información: . + +- Muestra los registros de un pod de un contenedor: + +`kubectl logs {{nombre_del_pod}}` + +- Muestra los registros de un contenedor especificado en un pod: + +`kubectl logs --container {{nombre_del_contenedor}} {{nombre_del_contenedor}}` + +- Muestra los registros de todos los contenedores de un pod: + +`kubectl logs --all-containers={{true}} {{nombre_del_contenedor}}` + +- Transmite los registros del pod: + +`kubectl logs --follow {{nombre_del_pod}}` + +- Muestra los registros de pods más recientes dado un tiempo relativo como `10s`, `5m` o `1h`: + +`kubectl logs --since={{tiempo_relativo}} {{nombre_del_pod}}` + +- Muestra los 10 registros más recientes de un pod: + +`kubectl logs --tail={{10}} {{nombre_del_pod}}` + +- Muestra todos los registros de un pod para un despliegue determinado: + +`kubectl logs deployment/{{nombre_del_despliegue}}` diff --git a/pages.es/common/kubectl-wait.md b/pages.es/common/kubectl-wait.md new file mode 100644 index 00000000000000..246f6096c4be29 --- /dev/null +++ b/pages.es/common/kubectl-wait.md @@ -0,0 +1,20 @@ +# kubectl wait + +> Espera a que los recursos alcancen un estado determinado. +> Más información: . + +- Espera a que un despliegue esté disponible: + +`kubectl wait --for=condition=available deployment/{{nombre_del_despliegue}}` + +- Espera a que todos los pods con una determinada etiqueta ([l]) estén listos: + +`kubectl wait --for=condition=ready pod -l {{etiqueta_clave}}={{etiqueta_valor}}` + +- Espera a que se elimine un pod: + +`kubectl wait --for=delete pod {{nombre_del_pod}}` + +- Espera a que se complete un trabajo, en un plazo de 120 segundos (si la condición no se cumple a tiempo, el estado de salida será fallido): + +`kubectl wait --for=condition=complete job/{{nombre_del_trabajo}} --timeout 120s` diff --git a/pages.es/common/kubie.md b/pages.es/common/kubie.md new file mode 100644 index 00000000000000..61dde66efd9a2a --- /dev/null +++ b/pages.es/common/kubie.md @@ -0,0 +1,28 @@ +# kubie + +> Permite saltar entre contextos y espacios de nombres de `kubectl`. +> Más información: . + +- Muestra un menú seleccionable de contextos: + +`kubie ctx` + +- Cambia el intérprete de comandos actual al contexto dado: + +`kubie ctx {{contexto}}` + +- Cambia el intérprete de comandos actual al espacio de nombres dado: + +`kubie ns {{espacio_de_nombres}}` + +- Cambia el intérprete de comandos actual al contexto y espacio de nombres dados: + +`kubie ctx {{contexto}} -n {{espacio_de_nombres}}` + +- Ejecuta un comando en el contexto y espacio de nombres dados, sin crear un nuevo intérprete de comandos: + +`kubie exec {{contexto}} {{espacio_de_nombres}} {{comando}}` + +- Busca errores en los archivos de configuración de Kubernetes: + +`kubie lint` diff --git a/pages.es/common/latexpand.md b/pages.es/common/latexpand.md new file mode 100644 index 00000000000000..f5bd8a244a1e36 --- /dev/null +++ b/pages.es/common/latexpand.md @@ -0,0 +1,24 @@ +# latexpand + +> Simplifica los archivos fuente LaTeX eliminando comentarios y resolviendo `\include`s, `\input`s, etc. +> Más información: . + +- Simplifica el archivo fuente dado y guarda el resultado en el archivo de salida especificado: + +`latexpand --output {{ruta/a/salida.tex}} {{ruta/al/archivo.tex}}` + +- No elimina los comentarios: + +`latexpand --keep-comments --output {{ruta/a/salida.tex}} {{ruta/al/archivo.tex}}` + +- No expande `\include`s, `\input`s etc.: + +`latexpand --keep-includes --output {{ruta/a/salida.tex}} {{ruta/al/archivo.tex}}` + +- Expande `\usepackage`s hasta encontrar los archivos STY correspondientes: + +`latexpand --expand-usepackage --output {{ruta/a/salida.tex}} {{ruta/al/archivo.tex}}` + +- Incorpora el archivo BBL especificado: + +`latexpand --expand-bbl {{ruta/a/bibliografía.bbl}} --output {{ruta/a/salida.tex}} {{ruta/al/archivo.tex}}` diff --git a/pages.es/common/lazygit.md b/pages.es/common/lazygit.md new file mode 100644 index 00000000000000..9b9242e1485b67 --- /dev/null +++ b/pages.es/common/lazygit.md @@ -0,0 +1,32 @@ +# lazygit + +> Una sencilla interfaz de terminal para comandos Git, que proporciona una interfaz intuitiva para gestionar repositorios. +> Más información: . + +- Abre Lazygit en el repositorio actual: + +`lazygit` + +- Abre Lazygit para un repositorio Git específico: + +`lazygit --path {{ruta/a/repositorio}}` + +- Inicia Lazygit con el foco en un panel específico: + +`lazygit {{status|branch|log|stash|...}}` + +- Imprime la configuración por defecto de Lazygit: + +`lazygit --config` + +- Cola los registros de Lazygit (útil con el modo de depuración en otro terminal): + +`lazygit --logs` + +- Ejecuta Lazygit en modo depuración: + +`lazygit --debug` + +- Imprime el directorio de configuración: + +`lazygit --print-config-dir` diff --git a/pages.es/common/libreoffice.md b/pages.es/common/libreoffice.md new file mode 100644 index 00000000000000..0e0131b5e5e4d4 --- /dev/null +++ b/pages.es/common/libreoffice.md @@ -0,0 +1,7 @@ +# libreoffice + +> Este comando es un alias de `soffice`. + +- Vea la documentación del comando original: + +`tldr soffice` diff --git a/pages.es/common/lima.md b/pages.es/common/lima.md new file mode 100644 index 00000000000000..301c87fccc5d7c --- /dev/null +++ b/pages.es/common/lima.md @@ -0,0 +1,8 @@ +# lima + +> Este comando es un alias de `limactl shell` para la instancia VM predeterminada. +> También puede establecer la variable ambiente '$LIMA_INSTANCE' para trabajar en una instancia diferente. + +- Vea la documentación para el comando original: + +`tldr limactl` diff --git a/pages.es/common/limactl.md b/pages.es/common/limactl.md new file mode 100644 index 00000000000000..5c53588057a4eb --- /dev/null +++ b/pages.es/common/limactl.md @@ -0,0 +1,33 @@ +# limactl + +> Administrador de máquinas virtuales para huéspedes Linux, con múltiples plantillas para MV (Máquinas virtuales) disponibles. +> Se puede utilizar para ejecutar contenedores en macOS, pero también para casos de uso genéricos de máquinas virtuales en anfitriones macOS y Linux. +> Más información: . + +- Lista MVs (Máquinas virtuales): + +`limactl list` + +- Crea una MV usando la configuración predeterminada y opcionalmente proporciona un nombre y/o una plantilla (vea `limactl create --list-templates` para plantillas disponibles): + +`limactl create --name {{nombre_de_la_mv}} template://{{debian|fedora|ubuntu|...}}` + +- Inicia una MV (esto puede instalar algunas dependencias en la misma y tomar unos minutos): + +`limactl start {{nombre_de_la_mv}}` + +- Abre un intérprete de comandos dentro de una MV: + +`limactl shell {{nombre_de_la_mv}}` + +- Ejecuta un comando dentro de una MV: + +`limactl shell {{nombre_de_la_mv}} {{comando}}` + +- Detiene/apaga una MV: + +`limactl stop {{nombre_de_la_mv}}` + +- Suprime una MV: + +`limactl remove {{nombre_de_la_mv}}` diff --git a/pages.es/common/link.md b/pages.es/common/link.md new file mode 100644 index 00000000000000..1d99c637cebbf1 --- /dev/null +++ b/pages.es/common/link.md @@ -0,0 +1,9 @@ +# link + +> Crea un enlace duro a un archivo existente. +> Para más opciones, consulte el comando `ln`. +> Más información: . + +- Crea un enlace duro de un archivo nuevo a un archivo existente: + +`link {{ruta/al/archivo_existente}} {{ruta/al/archivo_nuevo}}` diff --git a/pages.es/common/lit.md b/pages.es/common/lit.md new file mode 100644 index 00000000000000..0324dc6de661b2 --- /dev/null +++ b/pages.es/common/lit.md @@ -0,0 +1,21 @@ +# lit + +> Comprobador integrado LLVM para ejecutar conjuntos de pruebas estilo LLVM y Clang, resumiendo los resultados. +> Parte de LLVM. +> Más información: . + +- Ejecuta un caso de prueba especificado: + +`lit {{ruta/al/archivo_de_prueba.test}}` + +- Ejecuta todos los casos de prueba en un directorio especificado: + +`lit {{ruta/al/suite_de_pruebas}}` + +- Ejecuta todos los escenarios de prueba y comprueba el tiempo de ejecución de cada uno de ellos: + +`lit {{ruta/a/suite_de_pruebas}} --time-tests` + +- Ejecuta pruebas individuales con Valgrind (comprobación de memoria y prueba de fuga de memoria): + +`lit {{ruta/al/archivo_prueba.test}} --vg --vg-leak --vg-args={{args_con_valgrind}}` diff --git a/pages.es/common/llc.md b/pages.es/common/llc.md new file mode 100644 index 00000000000000..e1f482294e786a --- /dev/null +++ b/pages.es/common/llc.md @@ -0,0 +1,20 @@ +# llc + +> Compila Representación intermedia LLVM o código bit (bitcode) para el lenguaje ensamblador objetivo específico. +> Más información: . + +- Compila un bitcode o archivo IR a un archivo ensamblador con el mismo nombre base: + +`llc {{ruta/al/archivo.ll}}` + +- Habilita todas las optimizaciones: + +`llc -O3 {{ruta/al/archivo.ll}}` + +- Dirige la salida a un archivo específico: + +`llc --output {{ruta/al/resultado.s}}` + +- Emite código, independiente de la posición que pueda reubicarse completamente: + +`llc -relocation-model=pic {{ruta/a/la/entrada.ll}}` diff --git a/pages.es/common/lldb.md b/pages.es/common/lldb.md new file mode 100644 index 00000000000000..d46a54940e3d60 --- /dev/null +++ b/pages.es/common/lldb.md @@ -0,0 +1,16 @@ +# lldb + +> El depurador LLVM de bajo nivel. +> Más información: . + +- Depura un ejecutable: + +`lldb {{ejecutable}}` + +- Asocia `lldb` a un proceso de ejecución con un PID dado: + +`lldb -p {{pid}}` + +- Espera un nuevo proceso con un nombre dado para ejecutarse y asociarse al mismo: + +`lldb -w -n {{nombre_del_proceso}}` diff --git a/pages.es/common/lli.md b/pages.es/common/lli.md new file mode 100644 index 00000000000000..b3ce72590b9663 --- /dev/null +++ b/pages.es/common/lli.md @@ -0,0 +1,20 @@ +# lli + +> Ejecuta directamente programas desde el código de bits LLVM (bitcode). +> Más información: . + +- Ejecuta un código de bits o un archivo IR: + +`lli {{ruta/al/archivo.ll}}` + +- Ejecuta con argumentos de línea de comandos: + +`lli {{ruta/al/archivo.ll}} {{primer_argumento segundo_argumento ...}}` + +- Habilita todas las optimizaciones: + +`lli -O3 {{ruta/al/archivo.ll}}` + +- Carga una biblioteca dinámica antes de vincular: + +`lli --dlopen={{ruta/a/biblioteca.dll}} {{ruta/al/archivo.ll}}` diff --git a/pages.es/common/llm.md b/pages.es/common/llm.md new file mode 100644 index 00000000000000..28fa6ff561ccae --- /dev/null +++ b/pages.es/common/llm.md @@ -0,0 +1,32 @@ +# llm + +> Interactúa con modelos grandes de lenguaje (LLMs) a través de APIs y modelos remotos que pueden instalarse y ejecutarse en su máquina. +> Más información: . + +- Configura una clave API de OpenAI: + +`llm keys set openai` + +- Ejecuta un prompt: + +`llm "{{Diez nombres divertidos para un pelícano}}"` + +- Ejecuta un prompt de [s]istema contra un archivo: + +`cat {{ruta/al/archivo.py}} | llm --system "{{Explica este código}}"` + +- Instala paquetes de PyPI en el mismo entorno que LLM: + +`llm install {{paquete1 paquete2 ...}}` + +- Descarga y ejecuta un prompt frente a un [m]odelo: + +`llm --model {{orca-mini-3b-gguf2-q4_0}} "{{¿Cuál es la capital de Francia?}}"` + +- Crea un prompt de [s]istema y lo [s]alva como una plantilla: + +`llm --system '{{Eres una torta de queso sensible}}' --save {{torta_de_queso_sensible}}` + +- Establece un chat interactivo con un [m]odelo específico utilizando una plan[t]illa específica: + +`llm chat --model {{chatgpt}} --template {{torta_de_queso_sensible}}` diff --git a/pages.es/common/llvd.md b/pages.es/common/llvd.md new file mode 100644 index 00000000000000..d063b2d4a1a146 --- /dev/null +++ b/pages.es/common/llvd.md @@ -0,0 +1,20 @@ +# llvd + +> Descarga videos del sistema de aprendizaje de Linkedin. +> Más información: . + +- Descarga un [c]urso utilizando la autenticación basada en cookies: + +`llvd -c {{nombre-de-curso}} --cookies` + +- Descarga un curso en una [r]esolución específica: + +`llvd -c {{nombre-de-curso}} -r 720` + +- Descarga un curso con subtítulos: + +`llvd -c {{nombre-de-curso}} --caption` + +- Descarga un [p]lan de curso con espera entre 10 y 30 segundos: + +`llvd -p {{nombre-de-plan}} -t {{10,30}} --cookies` diff --git a/pages.es/common/llvm-ar.md b/pages.es/common/llvm-ar.md new file mode 100644 index 00000000000000..4b3b67e1dc6ff4 --- /dev/null +++ b/pages.es/common/llvm-ar.md @@ -0,0 +1,7 @@ +# llvm-ar + +> Este comando es un alias de `ar`. + +- Muestra la documentación del comando original: + +`tldr ar` diff --git a/pages.es/common/llvm-as.md b/pages.es/common/llvm-as.md new file mode 100644 index 00000000000000..91ccd7120d83c5 --- /dev/null +++ b/pages.es/common/llvm-as.md @@ -0,0 +1,16 @@ +# llvm-as + +> Ir de Representación intermedia LLVM (`.ll`) a Bitcode de Ensamblador (`.bc`). +> Más información: . + +- Ensambla un archivo IR: + +`llvm-as -o {{ruta/a/ensamblado.bc}} {{ruta/a/fuente.ll}}` + +- Ensambla un archivo IR e incluye un hash de módulo en el archivo bitcode producido: + +`llvm-as --module-hash -o {{ruta/a/ensamblado.bc}} {{ruta/a/fuente.ll}}` + +- Lee un archivo IR de `stdin` y lo ensambla: + +`cat {{ruta/a/fuente.ll}} | llvm-as -o {{ruta/a/ensamblado.bc}}` diff --git a/pages.es/common/llvm-bcanalyzer.md b/pages.es/common/llvm-bcanalyzer.md new file mode 100644 index 00000000000000..931fe4436b4819 --- /dev/null +++ b/pages.es/common/llvm-bcanalyzer.md @@ -0,0 +1,16 @@ +# llvm-bcanalyzer + +> Analizador de bitcode LLVM (`.bc`). +> Más información: . + +- Imprime estadísticas sobre un archivo bitcode: + +`llvm-bcanalyzer {{ruta/al/archivo.bc}}` + +- Imprime una representación SGML y estadísticas sobre un archivo bitcode: + +`llvm-bcanalyzer -dump {{ruta/al/archivo.bc}}` + +- Lee un archivo bitcode de `stdin` y lo analiza: + +`cat {{ruta/al/archivo.bc}} | llvm-bcanalyzer` diff --git a/pages.es/common/llvm-cat.md b/pages.es/common/llvm-cat.md new file mode 100644 index 00000000000000..6f634e8086ca9b --- /dev/null +++ b/pages.es/common/llvm-cat.md @@ -0,0 +1,8 @@ +# llvm-cat + +> Concatena archivos bitcode LLVM (`.bc`). +> Más información: . + +- Concatena archivos de bitcode: + +`llvm-cat {{ruta/al/archivo1.bc}} {{ruta/al/archivo2.bc}} -o {{ruta/a/concatenado.bc}}` diff --git a/pages.es/common/llvm-config.md b/pages.es/common/llvm-config.md new file mode 100644 index 00000000000000..aad3706f58de15 --- /dev/null +++ b/pages.es/common/llvm-config.md @@ -0,0 +1,17 @@ +# llvm-config + +> Obtiene variada información de configuración necesaria para compilar programas que utilizan LLVM. +> Típicamente llamado desde sistemas de construcción, como Makefiles o scripts de configuración. +> Más información: . + +- Compila y vincula un programa basado en LLVM: + +`clang++ $(llvm-config --cxxflags --ldflags --libs) --output {{ruta/al/resultado_ejecutable}} {{ruta/a/source.cc}}` + +- Imprime el `PREFIJO` de su instalación LLVM: + +`llvm-config --prefix` + +- Imprime todos los objetivos soportados por su LLVM instalado: + +`llvm-config --targets-built` diff --git a/pages.es/common/llvm-dis.md b/pages.es/common/llvm-dis.md new file mode 100644 index 00000000000000..b1e8e1d07786c0 --- /dev/null +++ b/pages.es/common/llvm-dis.md @@ -0,0 +1,16 @@ +# llvm-dis + +> Convierte archivos LLVM de bitcode en representación intermedia (IR) LLVM legible. +> Más información: . + +- Convierte un archivo bitcode como LLVM IR y escribe el resultado en `stdout`: + +`llvm-dis {{ruta/a/la/entrada.bc}} -o -` + +- Convierte un archivo bitcode en un archivo LLVM IR con el mismo nombre de archivo: + +`llvm-dis {{ruta/al/archivo.bc}}` + +- Convierte un archivo bitcode en LLVM IR, escribe el resultado al archivo especificado: + +`llvm-dis {{ruta/a/la/entrada.bc}} -o {{ruta/al/resultado.ll}}` diff --git a/pages.es/common/llvm-g++.md b/pages.es/common/llvm-g++.md new file mode 100644 index 00000000000000..dd1bb126bce5be --- /dev/null +++ b/pages.es/common/llvm-g++.md @@ -0,0 +1,7 @@ +# llvm-g++ + +> Este comando es un alias de `clang++`. + +- Muestra la documentación del comando original: + +`tldr clang++` diff --git a/pages.es/common/llvm-gcc.md b/pages.es/common/llvm-gcc.md new file mode 100644 index 00000000000000..2fb4a708595636 --- /dev/null +++ b/pages.es/common/llvm-gcc.md @@ -0,0 +1,7 @@ +# llvm-gcc + +> Este comando es un alias de `clang`. + +- Muestra la documentación del comando original: + +`tldr clang` diff --git a/pages.es/common/llvm-mc.md b/pages.es/common/llvm-mc.md new file mode 100644 index 00000000000000..376205703da6ec --- /dev/null +++ b/pages.es/common/llvm-mc.md @@ -0,0 +1,25 @@ +# llvm-mc + +> LLVM Machine Code Playground. Proporciona un conjunto de herramientas para trabajar con código de máquina LLVM. +> Forma parte de LLVM. +> Más información: . + +- Ensambla un archivo de código ensamblador en un archivo con código de máquina: + +`llvm-mc --filetype=obj -o {{ruta/a/salida.o}} {{ruta/a/entrada.s}}` + +- Desensambla un archivo con código de máquina en un archivo de código ensamblador: + +`llvm-mc --disassemble -o {{ruta/a/salida.s}} {{ruta/a/entrada.o}}` + +- Compila el archivo de código de bits LLVM en código ensamblador: + +`llvm-mc -o {{ruta/a/salida.s}} {{ruta/a/entrada.bc}}` + +- Ensambla el código ensamblador desde el flujo de entrada estándar y muestra la codificación en el flujo de salida estándar: + +`echo "{{addl %eax, %ebx}}" | llvm-mc -show-encoding -show-inst` + +- Desensambla el código de máquina del flujo de entrada estándar para la tripleta especificada: + +`echo "{{0xCD 0x21}}" | llvm-mc --disassemble -triple={{nombre_del_objetivo}}` diff --git a/pages.es/common/llvm-nm.md b/pages.es/common/llvm-nm.md new file mode 100644 index 00000000000000..f3f0d3249a560d --- /dev/null +++ b/pages.es/common/llvm-nm.md @@ -0,0 +1,7 @@ +# llvm-nm + +> Este comando es un alias de `nm`. + +- Muestra la documentación del comando original: + +`tldr nm` diff --git a/pages.es/common/llvm-objdump.md b/pages.es/common/llvm-objdump.md new file mode 100644 index 00000000000000..066380a3092ae8 --- /dev/null +++ b/pages.es/common/llvm-objdump.md @@ -0,0 +1,7 @@ +# llvm-objdump + +> Este comando es un alias de `objdump`. + +- Muestra la documentación del comando original: + +`tldr objdump` diff --git a/pages.es/common/llvm-strings.md b/pages.es/common/llvm-strings.md new file mode 100644 index 00000000000000..1128049c3096fe --- /dev/null +++ b/pages.es/common/llvm-strings.md @@ -0,0 +1,7 @@ +# llvm-strings + +> Este comando es un alias de `strings`. + +- Muestra la documentación del comando original: + +`tldr strings` diff --git a/pages.es/common/ln.md b/pages.es/common/ln.md new file mode 100644 index 00000000000000..e02fa0a285cb10 --- /dev/null +++ b/pages.es/common/ln.md @@ -0,0 +1,16 @@ +# ln + +> Crea enlaces a archivos y directorios. +> Más información: . + +- Crea un enlace simbólico a un archivo o directorio: + +`ln {{[-s|--symbolic]}} {{/ruta/al/archivo_o_directorio}} {{ruta/al/enlace_simbólico}}` + +- Sobrescribe un enlace simbólico existente para que apunte a un archivo distinto: + +`ln {{[-sf|--symbolic --force]}} {{/ruta/al/nuevo_archivo}} {{ruta/al/enlace_simbólico}}` + +- Crea un enlace duro a un archivo: + +`ln {{/ruta/al/archivo}} {{ruta/al/enlace_duro}}` diff --git a/pages.es/common/ls.md b/pages.es/common/ls.md index 2196c1ff802ab4..14cc2fa5997e6a 100644 --- a/pages.es/common/ls.md +++ b/pages.es/common/ls.md @@ -1,6 +1,7 @@ # ls > Lista los contenidos de directorios. +> Más información: . - Lista un archivo por línea: @@ -8,24 +9,28 @@ - Lista todos los archivos, incluyendo archivos ocultos: -`ls -a` +`ls {{[-a|--all]}}` - Lista todos los archivos, añadiendo `/` al final de los nombres de directorios: -`ls -F` +`ls {{[-F|--classify]}}` -- Lista todos los archivos con formato largo (permisos, propietario, tamaño y fecha de modificación): +- Lista todos los archivos en formato largo (permisos, propietarios, tamaño y fecha de última modificación): -`ls -la` +`ls {{[-la|--all -l]}}` -- Lista con formato largo y tamaño legible por humanos (KB, MB, GB): +- Lista en formato largo y tamaño legible por humanos (i.e., KiB, MiB, GiB, etc.): -`ls -lh` +`ls {{[-lh|-l --human-readable]}}` -- Lista con formato largo y tamaño en orden descendente: +- Lista recursivamente en formato largo y ordena los tamaños de mayor a menor: -`ls -lS` +`ls {{-lSR|-lS --recursive}}` -- Lista todos los archivos con formato largo, ordenado por fecha de modificación (archivos más viejos en primer lugar): +- Lista todos los archivos en formato largo y ordenados por fecha de modificación (archivos más viejos en primer lugar): -`ls -ltr` +`ls {{[-ltr|-lt --reverse]}}` + +- Lista solamente directorios: + +`ls {{[-d|--directory]}} */` diff --git a/pages.es/common/lstopo.md b/pages.es/common/lstopo.md new file mode 100644 index 00000000000000..cfc26e63a344bc --- /dev/null +++ b/pages.es/common/lstopo.md @@ -0,0 +1,24 @@ +# lstopo + +> Muestra la topología de hardware del sistema. +> Más información: . + +- Muestra la topología resumida del sistema en una ventana gráfica (o imprime en consola si no se dispone de una sesión gráfica): + +`lstopo` + +- Muestra la topología completa del sistema sin resúmenes: + +`lstopo --no-factorize` + +- Muestra la topología resumida del sistema sólo con índices físicos (es decir, tal y como la ve el sistema operativo): + +`lstopo --physical` + +- Escribe la topología completa del sistema en un archivo con el formato especificado: + +`lstopo --no-factorize --output-format {{console|ascii|tex|fig|svg|pdf|ps|png|xml}} {{ruta/al/archivo}}` + +- Muestra datos en monocromo o escala de grises: + +`lstopo --palette {{none|grey}}` diff --git a/pages.es/common/lynx.md b/pages.es/common/lynx.md new file mode 100644 index 00000000000000..5b90f50f4bc7de --- /dev/null +++ b/pages.es/common/lynx.md @@ -0,0 +1,36 @@ +# lynx + +> Navegador web de línea de comandos. +> Más información: . + +- Visita un sitio web: + +`lynx {{example.com}}` + +- Aplica restricciones para la cuenta anónima: + +`lynx -anonymous {{example.com}}` + +- Activa el soporte del ratón, si está disponible: + +`lynx -use_mouse {{example.com}}` + +- Fuerza el modo de color, si está disponible: + +`lynx -color {{example.com}}` + +- Abre un enlace, utilizando un archivo específico para leer y escribir cookies: + +`lynx -cookie_file={{ruta/al/archivo}} {{example.com}}` + +- Navega hacia adelante y hacia atrás a través de los enlaces en una página: + +`{{|}}` + +- Vuelve a la página mostrada anteriormente: + +`{{|}}` + +- Sale: + +`` diff --git a/pages.es/common/lzcat.md b/pages.es/common/lzcat.md new file mode 100644 index 00000000000000..a9fe0c0aed3d21 --- /dev/null +++ b/pages.es/common/lzcat.md @@ -0,0 +1,7 @@ +# lzcat + +> Este comando es un alias de `xz --format=lzma --decompress --stdout`. + +- Vea la documentación para el comando original: + +`tldr xz` diff --git a/pages.es/common/lzcmp.md b/pages.es/common/lzcmp.md new file mode 100644 index 00000000000000..da5c74cdf4712e --- /dev/null +++ b/pages.es/common/lzcmp.md @@ -0,0 +1,7 @@ +# lzcmp + +> Este comando es un alias de `xzcmp`. + +- Vea la documentación para el comando original: + +`tldr xzcmp` diff --git a/pages.es/common/lzegrep.md b/pages.es/common/lzegrep.md new file mode 100644 index 00000000000000..01fdb84c2ca217 --- /dev/null +++ b/pages.es/common/lzegrep.md @@ -0,0 +1,8 @@ +# lzegrep + +> Este comando es un alias de `xzgrep --extended-regexp`. +> Vea también: `egrep`. + +- Vea la documentación para el comando original: + +`tldr xzgrep` diff --git a/pages.es/common/lzfgrep.md b/pages.es/common/lzfgrep.md new file mode 100644 index 00000000000000..532ba12077253f --- /dev/null +++ b/pages.es/common/lzfgrep.md @@ -0,0 +1,8 @@ +# lzfgrep + +> Este comando es un alias de `xzgrep --fixed-strings`. +> Vea también: `fgrep`. + +- Vea la documentación para el comando original: + +`tldr xzgrep` diff --git a/pages.es/common/lzgrep.md b/pages.es/common/lzgrep.md new file mode 100644 index 00000000000000..dd28b50d2878e8 --- /dev/null +++ b/pages.es/common/lzgrep.md @@ -0,0 +1,7 @@ +# lzgrep + +> Este comando es un alias de `xzgrep`. + +- Vea la documentación para el comando original: + +`tldr xzgrep` diff --git a/pages.es/common/lzless.md b/pages.es/common/lzless.md new file mode 100644 index 00000000000000..e28ce0dadca6d5 --- /dev/null +++ b/pages.es/common/lzless.md @@ -0,0 +1,7 @@ +# lzless + +> Este comando es un alias de `xzless`. + +- Vea la documentación para el comando original: + +`tldr xzless` diff --git a/pages.es/common/lzma.md b/pages.es/common/lzma.md new file mode 100644 index 00000000000000..6d4e544d32a92a --- /dev/null +++ b/pages.es/common/lzma.md @@ -0,0 +1,7 @@ +# lzma + +> Este comando es un alias de `xz --format=lzma`. + +- Vea la documentación para el comando original: + +`tldr xz` diff --git a/pages.es/common/lzmore.md b/pages.es/common/lzmore.md new file mode 100644 index 00000000000000..3baf4437d7a5fc --- /dev/null +++ b/pages.es/common/lzmore.md @@ -0,0 +1,7 @@ +# lzmore + +> Este comando es un alias de `xzmore`. + +- Vea la documentación para el comando original: + +`tldr xzmore` diff --git a/pages.es/common/m4b-tool.md b/pages.es/common/m4b-tool.md new file mode 100644 index 00000000000000..aab53e5fe5499f --- /dev/null +++ b/pages.es/common/m4b-tool.md @@ -0,0 +1,12 @@ +# m4b-tool + +> Fusiona, divide y manipula archivos de audiolibros con capítulos. +> Más información: . + +- Crea un audiolibro con los archivos de audio del directorio de entrada: + +`m4b-tool merge {{ruta/a/directorio_de_entrada}} --output-file={{ruta/a/fusionado.m4b}}` + +- Hace capítulos utilizando los nombres de los archivos de entrada: + +`m4b-tool merge {{ruta/a/directorio_de_entrada}} --output-file={{ruta/a/fusionado.m4b}} --use-filenames-as-chapters` diff --git a/pages.es/common/magick-compare.md b/pages.es/common/magick-compare.md new file mode 100644 index 00000000000000..9f5a829d68ffd7 --- /dev/null +++ b/pages.es/common/magick-compare.md @@ -0,0 +1,13 @@ +# magick compare + +> Crea una imagen de comparación para anotar visualmente la diferencia entre dos imágenes. +> Vea también: `magick`. +> Más información: . + +- Compara dos imágenes: + +`magick compare {{ruta/a/imagen1.png}} {{ruta/a/imagen2.png}} {{ruta/a/diff.png}}` + +- Compara dos imágenes usando una métrica específica: + +`magick compare -verbose -metric {{PSNR}} {{ruta/a/imagen1.png}} {{ruta/a/imagen2.png}} {{ruta/a/diff.png}}` diff --git a/pages.es/common/magick-convert.md b/pages.es/common/magick-convert.md new file mode 100644 index 00000000000000..facf8f0ae270a5 --- /dev/null +++ b/pages.es/common/magick-convert.md @@ -0,0 +1,37 @@ +# magick convert + +> Convierte entre formatos de imagen, escala, une y crea imágenes. +> Nota: esta herramienta (anteriormente `convert`) ha sido reemplazada por `magick` en ImageMagick 7+. +> Más información: . + +- Convierte una imagen de JPEG a PNG: + +`magick convert {{ruta/a/imagen_entrada.jpg}} {{ruta/a/imagen_salida.png}}` + +- Escala una imagen al 50% de su tamaño original: + +`magick convert {{ruta/a/imagen_entrada.png}} -resize 50% {{ruta/a/imagen_salida.png}}` + +- Escala una imagen manteniendo la relación de aspecto original a un tamaño máximo de 640x480: + +`magick convert {{ruta/a/imagen_entrada.png}} -resize 640x480 {{ruta/a/imagen_salida.png}}` + +- Escala una imagen para tener un tamaño de archivo específico: + +`magick convert {{ruta/a/imagen_entrada.png}} -define jpeg:extent=512kb {{ruta/a/imagen_salida.jpg}}` + +- Anexa imágenes verticalmente/horizontalmente: + +`magick convert {{ruta/a/imagen1.png ruta/a/imagen2.png ...}} {{-append|+append}} {{ruta/a/imagen_salida.png}}` + +- Crea un GIF a partir de una serie de imágenes con un retraso de 100ms entre ellas: + +`magick convert {{ruta/a/imagen1.png ruta/a/imagen2.png ...}} -delay {{10}} {{ruta/a/animacion.gif}}` + +- Crea una imagen con solo un fondo rojo sólido: + +`magick convert -size {{800x600}} "xc:{{#ff0000}}" {{ruta/a/imagen.png}}` + +- Crea un favicon a partir de varias imágenes de diferentes tamaños: + +`magick convert {{ruta/a/imagen1.png ruta/a/imagen2.png ...}} {{ruta/a/favicon.ico}}` diff --git a/pages.es/common/magick-identify.md b/pages.es/common/magick-identify.md new file mode 100644 index 00000000000000..d5dc7a5170fe05 --- /dev/null +++ b/pages.es/common/magick-identify.md @@ -0,0 +1,17 @@ +# magick identify + +> Describe el formato y las características de los archivos de imagen. +> Vea también: `magick`. +> Más información: . + +- Describe el formato y las características básicas de una imagen: + +`magick identify {{ruta/a/la/imagen}}` + +- Describe el formato y las características de una imagen detalladamente: + +`magick identify -verbose {{ruta/a/la/imagen}}` + +- Recopila las dimensiones de todos los archivos JPEG en el directorio actual y los guarda en un archivo CSV: + +`magick identify -format "{{%f,%w,%h\n}}" {{*.jpg}} > {{ruta/al/archivo.csv}}` diff --git a/pages.es/common/magick-import.md b/pages.es/common/magick-import.md new file mode 100644 index 00000000000000..502c88e67659c0 --- /dev/null +++ b/pages.es/common/magick-import.md @@ -0,0 +1,17 @@ +# magick import + +> Captura parte o toda la pantalla de un servidor X y guarda la imagen en un archivo. +> Vea también: `magick`. +> Más información: . + +- Captura toda la pantalla del servidor X en un archivo PostScript: + +`magick import -window root {{ruta/a/salida.ps}}` + +- Captura el contenido de la pantalla de un servidor X remoto en una imagen PNG: + +`magick import -window root -display {{servidor_remoto}}:{{pantalla}}.{{display}} {{ruta/a/salida.png}}` + +- Captura una ventana específica dada su ID mostrada por `xwininfo` en una imagen JPEG: + +`magick import -window {{id_ventana}} {{ruta/a/salida.jpg}}` diff --git a/pages.es/common/magick-mogrify.md b/pages.es/common/magick-mogrify.md new file mode 100644 index 00000000000000..75535662a0de14 --- /dev/null +++ b/pages.es/common/magick-mogrify.md @@ -0,0 +1,34 @@ +# magick mogrify + +> Realiza operaciones en múltiples imágenes, como redimensionar, recortar, voltear y añadir efectos. +> Los cambios se aplican directamente al archivo original. +> Vea también: `magick`. +> Más información: . + +- Redimensiona todas las imágenes JPEG en el directorio al 50% de su tamaño inicial: + +`magick mogrify -resize {{50%}} {{*.jpg}}` + +- Redimensiona todas las imágenes comenzando con `DSC` a 800x600: + +`magick mogrify -resize {{800x600}} {{DSC*}}` + +- Convierte todos los PNG a JPEG: + +`magick mogrify -format {{jpg}} {{*.png}}` + +- Redimensiona todas las imágenes JPEG en el directorio al 50% de su tamaño inicial: + +`magick mogrify -modulate {{100,50}} {{*}}` + +- Dobla el brillo de todos los archivos de imagen en el directorio actual: + +`magick mogrify -modulate {{200}} {{*}}` + +- Reduce tamaños de archivos de todas las imágenes GIF en el directorio actual reduciendo la calidad: + +`magick mogrify -layers 'optimize' -fuzz {{7%}} {{*.gif}}` + +- Muestra la ayuda: + +`magick mogrify -help` diff --git a/pages.es/common/magick-montage.md b/pages.es/common/magick-montage.md new file mode 100644 index 00000000000000..8409e09d971002 --- /dev/null +++ b/pages.es/common/magick-montage.md @@ -0,0 +1,25 @@ +# magick montage + +> Coloca imágenes en una cuadrícula personalizable. +> Vea también: `magick`. +> Más información: . + +- Coloca imágenes en una cuadrícula, redimensionando automáticamente las imágenes más grandes que el tamaño de la celda de la cuadrícula: + +`magick montage {{ruta/a/imagen1.jpg ruta/a/imagen2.jpg ...}} {{ruta/a/montaje.jpg}}` + +- Coloca imágenes en una cuadrícula, calculando automáticamente el tamaño de la celda de la cuadrícula a partir de la imagen más grande: + +`magick montage {{ruta/a/imagen1.jpg ruta/a/imagen2.jpg ...}} -geometry {{+0+0}} {{ruta/a/montaje.jpg}}` + +- Especifica el tamaño de la celda de la cuadrícula y redimensiona las imágenes para ajustarlas antes de colocarlas en la cuadrícula: + +`magick montage {{ruta/a/imagen1.jpg ruta/a/imagen2.jpg ...}} -geometry {{640x480+0+0}} {{ruta/a/montaje.jpg}}` + +- Limita el número de filas y columnas en la cuadrícula, causando que las imágenes de entrada desborden en múltiples montajes de salida: + +`magick montage {{ruta/a/imagen1.jpg ruta/a/imagen2.jpg ...}} -geometry {{+0+0}} -tile {{2x3}} {{montaje_%d.jpg}}` + +- Redimensiona y recorta las imágenes para llenar sus celdas de cuadrícula antes de colocarlas: + +`magick montage {{ruta/a/imagen1.jpg ruta/a/imagen2.jpg ...}} -geometry {{+0+0}} -resize {{640x480^}} -gravity {{center}} -crop {{640x480+0+0}} {{ruta/a/montaje.jpg}}` diff --git a/pages.es/common/magick.md b/pages.es/common/magick.md new file mode 100644 index 00000000000000..d18a1605784752 --- /dev/null +++ b/pages.es/common/magick.md @@ -0,0 +1,26 @@ +# magick + +> Crea, edita, compone o convierte entre formatos de imagen. +> Esta herramienta reemplaza a `convert` en ImageMagick 7+. Usa `magick convert` para utilizar la herramienta antigua en versiones 7+. +> Algunos subcomandos, como `mogrify`, tienen su propia documentación de uso. +> Más información: . + +- Convierte entre formatos de imagen: + +`magick {{ruta/a/imagen_entrada.png}} {{ruta/a/imagen_salida.jpg}}` + +- Redimensiona una imagen, creando una nueva copia: + +`magick {{ruta/a/imagen_entrada.jpg}} -resize {{100x100}} {{ruta/a/imagen_salida.jpg}}` + +- Crea un GIF a partir de todas las imágenes JPEG en el directorio actual: + +`magick {{*.jpg}} {{ruta/a/imagenes.gif}}` + +- Crea un patrón de tablero de ajedrez: + +`magick -size {{640x480}} pattern:checkerboard {{ruta/a/tablero.png}}` + +- Crea un archivo PDF a partir de todas las imágenes JPEG en el directorio actual: + +`magick {{*.jpg}} -adjoin {{ruta/a/archivo.pdf}}` diff --git a/pages.es/common/mail.md b/pages.es/common/mail.md new file mode 100644 index 00000000000000..1fdb0adf41d394 --- /dev/null +++ b/pages.es/common/mail.md @@ -0,0 +1,25 @@ +# mail + +> El comando opera en el buzón de correo del usuario si no se da ningún argumento. +> Para enviar un correo electrónico, el cuerpo del mensaje se construye desde `stdin`. +> Más información: . + +- Abre un prompt interactivo para revisar el correo personal: + +`mail` + +- Envía un mensaje de correo con CC opcional. La línea de comandos continúa después de presionar ``. Ingresa el texto del mensaje (pueden ser varias líneas). Presiona `` para indicar el final del texto del mensaje: + +`mail --subject "{{título del correo electrónico}}" {{para_usuario@example.com}} --cc "{{cc_correo_electrónico}}"` + +- Envía un correo electrónico que contiene el contenido de un archivo: + +`mail --subject "{{$HOSTNAME archivo.txt}}" {{para_usuario@example.com}} < {{ruta/al/archivo.txt}}` + +- Envía un archivo `tar.gz` como adjunto: + +`tar cvzf - {{ruta/al/directorio1 ruta/al/directorio2}} | uuencode {{data.tar.gz}} | mail --subject "{{asunto}}" {{a_usuario@example.com}}` + +- Muestra la ayuda: + +`mail {{[-h|--help]}}` diff --git a/pages.es/common/mapfile.md b/pages.es/common/mapfile.md new file mode 100644 index 00000000000000..692474e5f93ebd --- /dev/null +++ b/pages.es/common/mapfile.md @@ -0,0 +1,7 @@ +# mapfile + +> Este comando es un alias de `readarray`. + +- Vea la documentación del comando original: + +`tldr readarray` diff --git a/pages.es/common/mariadb-install-db.md b/pages.es/common/mariadb-install-db.md new file mode 100644 index 00000000000000..3b8ee0d1798fe3 --- /dev/null +++ b/pages.es/common/mariadb-install-db.md @@ -0,0 +1,12 @@ +# mariadb-install-db + +> Inicializa una base de datos MariaDB. +> Más información: . + +- Inicializa una base de datos: + +`sudo mariadb-install-db --user {{usuario}} --basedir {{/usr}} --datadir {{var/lib/mysql}}` + +- Muestra la ayuda: + +`mariadb-install-db --help` diff --git a/pages.es/common/marimo.md b/pages.es/common/marimo.md new file mode 100644 index 00000000000000..e14c1f39e84809 --- /dev/null +++ b/pages.es/common/marimo.md @@ -0,0 +1,29 @@ +# marimo + +> Un entorno de cuaderno computacional Python reactivo. +> Combina características de Jupyter, Streamlit y otras herramientas de cuaderno computacional con ejecución reactiva. +> Más información: . + +- Crea o edita cuadernos iniciando un servidor marimo: + +`marimo edit` + +- Inicia un servidor marimo en un puerto específico sin lanzar un navegador: + +`marimo edit {{[-p|--port]}} {{número_de_puerto}} --headless` + +- Edita un cuaderno específico: + +`marimo edit {{ruta/al/cuaderno.py}}` + +- Ejecuta un cuaderno marimo como una aplicación en modo de sólo lectura: + +`marimo run {{ruta/a/cuaderno.py}}` + +- Inicia un tutorial interactivo para aprender marimo: + +`marimo tutorial {{intro|components|dataflow|io}}` + +- Muestra la ayuda específica del comando: + +`marimo {{edit|run|tutorial|config|new|...}} --help` diff --git a/pages.es/common/maza.md b/pages.es/common/maza.md new file mode 100644 index 00000000000000..99e059efe8fb5e --- /dev/null +++ b/pages.es/common/maza.md @@ -0,0 +1,20 @@ +# maza + +> Bloqueador en local de anuncios. Como Pi-hole pero local y usando el sistema operativo. +> Más información: . + +- Actualiza la base de datos de Maza: + +`maza update` + +- Inicia Maza: + +`sudo maza start` + +- Para Maza: + +`sudo maza stop` + +- Muestra el estado de Maza: + +`maza status` diff --git a/pages.es/common/mc.cli.md b/pages.es/common/mc.cli.md new file mode 100644 index 00000000000000..5a4ff39fe06751 --- /dev/null +++ b/pages.es/common/mc.cli.md @@ -0,0 +1,17 @@ +# mc + +> Cliente MinIO para almacenamiento de objetos y sistemas de archivos. +> Puede llamarse `mc` o `mcli` en algunos sistemas. +> Más información: . + +- Añade conexión a un servidor S3: + +`mc alias set {{local}} {{http://localhost:9000}} {{clave_acceso}} {{clave_secreta}}` + +- Crea un bucket: + +`mc mb {{local/nombre_cubo}}` + +- Lista cubos y su contenido de forma recursiva: + +`mc ls {{local}} --recursive` diff --git a/pages.es/common/mc.md b/pages.es/common/mc.md new file mode 100644 index 00000000000000..89f0a14ac5a852 --- /dev/null +++ b/pages.es/common/mc.md @@ -0,0 +1,14 @@ +# mc + +> Midnight Commander, un administrador de archivos TUI. +> Navega la estructura del directorio usando ``, el ratón o escribiendo los comandos en la terminal. +> Vea también: `ranger`, `clifm`, `vifm`, `nautilus`. +> Más información: . + +- Inicia Midnight Commander: + +`mc` + +- Inicia Midnight Commander en blanco y negro: + +`mc -b` diff --git a/pages.es/common/mcli.md b/pages.es/common/mcli.md new file mode 100644 index 00000000000000..648787f9a4acfe --- /dev/null +++ b/pages.es/common/mcli.md @@ -0,0 +1,7 @@ +# mcli + +> Este comando es un alias de `mc` (cliente MinIO). + +- Vea la documentación del comando original: + +`tldr mc.cli` diff --git a/pages.es/common/mcs.md b/pages.es/common/mcs.md new file mode 100644 index 00000000000000..4a041f8bf53943 --- /dev/null +++ b/pages.es/common/mcs.md @@ -0,0 +1,16 @@ +# mcs + +> Compilador Mono para C#. +> Más información: . + +- Compila los archivos indicados: + +`mcs {{ruta/a/archivo_entrada1.cs ruta/a/archivo_entrada2.cs ...}}` + +- Indica el nombre del programa de salida: + +`mcs -out:{{ruta/a/archivo.exe}} {{ruta/a/archivo_entrada1.cs ruta/a/archivo_entrada2.cs ...}}` + +- Indica el tipo de programa de salida: + +`mcs -target:{{exe|winexe|library|module}} {{ruta/a/archivo_entrada1.cs ruta/a/archivo_entrada2.cs ...}}` diff --git a/pages.es/common/medusa.md b/pages.es/common/medusa.md new file mode 100644 index 00000000000000..4567b864977f11 --- /dev/null +++ b/pages.es/common/medusa.md @@ -0,0 +1,28 @@ +# medusa + +> Un forzador bruto de inicio de sesión modular y paralelo para una variedad de protocolos. +> Más información: . + +- Lista todos los módulos instalados: + +`medusa -d` + +- Muestra ejemplo de uso de un módulo específico (usa `medusa -d` para listar todos los módulos instalados): + +`medusa -M {{ssh|http|web-form|postgres|ftp|mysql|...}} -q` + +- Ejecuta fuerza bruta contra un servidor FTP utilizando un fichero que contiene nombres de usuario y un fichero que contiene contraseñas: + +`medusa -M ftp -h host -U {{ruta/al/archivo_de_usuario}} -P {{ruta/al/archivo_de_contraseña}}` + +- Ejecuta un intento de inicio de sesión contra un servidor HTTP utilizando el nombre de usuario, la contraseña y el agente de usuario especificados: + +`medusa -M HTTP -h host -u {{usuario}} -p {{contraseña}} -m USER-AGENT:"{{agente}}"` + +- Ejecuta una fuerza bruta contra un servidor MySQL utilizando un fichero que contenga nombres de usuario y un hash: + +`medusa -M mysql -h host -U {{ruta/al/archivo_de_usuario}} -p {{hash}} -m PASS:HASH` + +- Ejecuta una fuerza bruta contra una lista de servidores SMB utilizando un nombre de usuario y un archivo pwdump: + +`medusa -M smbnt -H {{ruta/al/archivo_de_hosts}} -C {{ruta/al/archivo_pwdump}} -u {{usuario}} -m PASS:HASH` diff --git a/pages.es/common/mid3v2.md b/pages.es/common/mid3v2.md new file mode 100644 index 00000000000000..a23a9c0fe86b4f --- /dev/null +++ b/pages.es/common/mid3v2.md @@ -0,0 +1,33 @@ +# mid3v2 + +> Edita etiquetas de audio. +> Vea también: `id3v2`. +> Más información: . + +- Lista de todos los marcos ID3v2.3 o ID3v2.4 admitidos y sus significados: + +`mid3v2 --list-frames {{ruta/al/archivo1.mp3 ruta/al/archivo2.mp3 ...}}` + +- Lista de todos los géneros numéricos ID3v1 admitidos: + +`mid3v2 --list-genres {{ruta/al/archivo1.mp3 ruta/al/archivo2.mp3 ...}}` + +- Lista todas las etiquetas en archivos específicos: + +`mid3v2 --list {{ruta/al/archivo1.mp3 ruta/al/archivo2.mp3 ...}}` + +- Establece información específica sobre artistas, álbumes o canciones: + +`mid3v2 {{--artist|--album|--song}}={{string}} {{ruta/al/archivo1.mp3 ruta/al/archivo2.mp3 ...}}` + +- Establece información específica de la imagen: + +`mid3v2 --picture={{filename:description:image_type:mime_type}} {{ruta/al/archivo1.mp3 ruta/al/archivo2.mp3 ...}}` + +- Establece información específica del año: + +`mid3v2 --year={{YYYY}} {{ruta/al/archivo1.mp3 ruta/al/archivo2.mp3 ...}}` + +- Establece información de fecha específica: + +`mid3v2 --date={{YYYY-MM-DD}} {{ruta/al/archivo1.mp3 ruta/al/archivo2.mp3 ...}}` diff --git a/pages.es/common/minio-client.md b/pages.es/common/minio-client.md new file mode 100644 index 00000000000000..ba576fa4244d82 --- /dev/null +++ b/pages.es/common/minio-client.md @@ -0,0 +1,7 @@ +# minio-client + +> Este comando es un alias de `mc` (MinIO client). + +- Vea la documentación del comando original: + +`tldr mc.cli` diff --git a/pages.es/common/mise.md b/pages.es/common/mise.md new file mode 100644 index 00000000000000..adab15076a634a --- /dev/null +++ b/pages.es/common/mise.md @@ -0,0 +1,36 @@ +# mise + +> Gestiona versiones de diferentes paquetes. +> Más información: . + +- Lista todos los complementos disponibles: + +`mise plugins list-all` + +- Instala un complemento: + +`mise plugins add {{nombre}}` + +- Lista las versiones disponibles para instalación: + +`mise ls-remote {{nombre}}` + +- Instala una versión específica de un paquete: + +`mise install {{nombre}}@{{versión}}` + +- Establece una versión global de un paquete: + +`mise use --global {{nombre}}@{{versión}}` + +- Establece una versión local de un paquete: + +`mise use {{nombre}}@{{versión}}` + +- Establece una variable de entorno en la configuración: + +`mise set {{variable}}={{valor}}` + +- Pasa opciones del complemento: + +`mise use {{nombre}}\[{{opción1}}={{opción1_valor}},{{opción2}}={{opción2_valor}}\]@{{versión}}` diff --git a/pages.es/common/mitmproxy.md b/pages.es/common/mitmproxy.md new file mode 100644 index 00000000000000..e853dfbfedb92d --- /dev/null +++ b/pages.es/common/mitmproxy.md @@ -0,0 +1,29 @@ +# mitmproxy + +> Un proxy HTTP interactivo man-in-the-middle. +> Vea también: `mitmweb` y `mitmdump`. +> Más información: . + +- Inicia `mitmproxy` con la configuración por defecto (escuchará en el puerto `8080`): + +`mitmproxy` + +- Inicia `mitmproxy` con una dirección y puerto personalizados: + +`mitmproxy --listen-host {{dirección_ip}} {{[-p|--listen-port]}} {{puerto}}` + +- Inicia `mitmproxy` utilizando un secuencia de comandos para procesar el tráfico: + +`mitmproxy {{[-s|--scripts]}} {{ruta/a/script.py}}` + +- Exporta los registros con las claves maestras SSL/TLS a programas externos (wireshark, etc.): + +`SSLKEYLOGFILE="{{ruta/al/archivo}}" mitmproxy` + +- Especifica el modo de funcionamiento del servidor proxy (`regular` es el predeterminado): + +`mitmproxy {{[-m|--mode]}} {{regular|transparent|socks5|...}}` + +- Configura el diseño de la consola: + +`mitmproxy --console-layout {{horizontal|single|vertical}}` diff --git a/pages.es/common/mkdir.md b/pages.es/common/mkdir.md new file mode 100644 index 00000000000000..af7004b11850be --- /dev/null +++ b/pages.es/common/mkdir.md @@ -0,0 +1,17 @@ +# mkdir + +> Crea directorios y establece sus permisos. +> Vea también: `rmdir`, `ls`. +> Más información: . + +- Crea los directorios especificados: + +`mkdir {{ruta/al/directorio1 ruta/al/directorio2 ...}}` + +- Crea directorios recursivamente y sus padres si es necesario: + +`mkdir {{[-p|--parents]}} {{ruta/al/directorio}}` + +- Crea directorios con permisos específicos: + +`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{ruta/al/directorio1 ruta/al/directorio2 ...}}` diff --git a/pages.es/common/mkfifo.md b/pages.es/common/mkfifo.md new file mode 100644 index 00000000000000..8edbde9d50bf82 --- /dev/null +++ b/pages.es/common/mkfifo.md @@ -0,0 +1,20 @@ +# mkfifo + +> Crea FIFOs (named pipes) (pipes nombrados). +> Más información: . + +- Crea un pipe nombrado en una ruta específica: + +`mkfifo {{ruta/al/pipe}}` + +- Envía datos a través de un pipe nombrado ejecutando el comando en segundo plano: + +`echo "{{Hola Mundo}}" > {{ruta/al/pipe}} &` + +- Recibe datos a través de un pipe nombrado: + +`cat {{ruta/al/pipe}}` + +- Comparte tu sesión de la terminal en tiempo real: + +`mkfifo {{ruta/al/pipe}}; script -f {{ruta/al/pipe}}` diff --git a/pages.es/common/mogrify.md b/pages.es/common/mogrify.md new file mode 100644 index 00000000000000..2ab3e6d05d1dbb --- /dev/null +++ b/pages.es/common/mogrify.md @@ -0,0 +1,7 @@ +# mogrify + +> Este comando es un alias de `magick mogrify`. + +- Vea la documentación para el comando original: + +`tldr magick mogrify` diff --git a/pages.es/common/montage.md b/pages.es/common/montage.md new file mode 100644 index 00000000000000..b32098f5bd1c2a --- /dev/null +++ b/pages.es/common/montage.md @@ -0,0 +1,7 @@ +# montage + +> Este comando es un alias de `magick montage`. + +- Vea la documentación para el comando original: + +`tldr magick montage` diff --git a/pages.es/common/more.md b/pages.es/common/more.md new file mode 100644 index 00000000000000..48594aff9e61fd --- /dev/null +++ b/pages.es/common/more.md @@ -0,0 +1,29 @@ +# more + +> Interactivamente muestra el contenido un archivo, permitiendo desplazamiento y búsqueda. +> Vea también: `less`. +> Más información: . + +- Abre un archivo: + +`more {{ruta/al/archivo}}` + +- Abre un archivo y muestra su contenido desde una línea específica: + +`more +{{número_de_línea}} {{ruta/al/archivo}}` + +- Avanza a la siguiente página: + +`` + +- Busca una cadena de caracteres (presione `n` para ir a la siguiente coincidencia): + +`/{{cadena}}` + +- Sal del programa: + +`q` + +- Muestra ayuda sobre comandos interactivos: + +`h` diff --git a/pages.es/common/mosh.md b/pages.es/common/mosh.md new file mode 100644 index 00000000000000..f9b114573eb940 --- /dev/null +++ b/pages.es/common/mosh.md @@ -0,0 +1,29 @@ +# mosh + +> Mobile Shell (`mosh`) es un reemplazo robusto y receptivo para SSH. +> `mosh` persiste las conexiones con servidores remotos mientras deambula en las redes. +> Más información: . + +- Conecta a un servidor remoto: + +`mosh {{usuario}}@{{equipo_remoto}}` + +- Conecta a un servidor remoto con una identidad específica (clave privada): + +`mosh --ssh="ssh -i {{ruta/a/archivo_de_clave}}" {{usuario}}@{{equipo_remoto}}` + +- Conecta a un servidor remoto usando un puerto específico: + +`mosh --ssh="ssh -p {{2222}}" {{usuario}}@{{equipo_remoto}}` + +- Ejecuta un comando en un servidor remoto: + +`mosh {{equipo_remoto}} -- {{comando -con --opciones}}` + +- Selecciona un puerto UDP Mosh (útil cuando el `equipo_remoto` está tras un NAT): + +`mosh -p {{124}} {{usuario}}@{{equipo_remoto}}` + +- Se lo usa cuando el binario `mosh-server` no se encuentra en la ruta estándar: + +`mosh --server={{ruta/a/bin/}}mosh-server {{equipo_remoto}}` diff --git a/pages.es/common/mpicxx.md b/pages.es/common/mpicxx.md new file mode 100644 index 00000000000000..00485f6d742929 --- /dev/null +++ b/pages.es/common/mpicxx.md @@ -0,0 +1,7 @@ +# mpicxx + +> Este comando es un alias de `mpic++`. + +- Vea la documentación del comando original: + +`tldr mpic++` diff --git a/pages.es/common/mpiexec.md b/pages.es/common/mpiexec.md new file mode 100644 index 00000000000000..580551fd1e2f7e --- /dev/null +++ b/pages.es/common/mpiexec.md @@ -0,0 +1,7 @@ +# mpiexec + +> Este comando es un alias de `mpirun`. + +- Vea la documentación del comando original: + +`tldr mpirun` diff --git a/pages.es/common/mpremote.md b/pages.es/common/mpremote.md new file mode 100644 index 00000000000000..86d907249eb804 --- /dev/null +++ b/pages.es/common/mpremote.md @@ -0,0 +1,24 @@ +# mpremote + +> Controla remotamente dispositivos MicroPython. +> Más información: . + +- Lista todos los dispositivos MicroPython conectados: + +`mpremote connect list` + +- Abre una sesión REPL interactiva con un dispositivo conectado: + +`mpremote connect {{dispositivo}}` + +- Ejecuta un script local en un dispositivo conectado: + +`mpremote run {{ruta/a/script.py}}` + +- Monta un directorio local en el dispositivo: + +`mpremote mount {{ruta/al/directorio}}` + +- Instala un paquete mip en el dispositivo: + +`mpremote mip install {{paquete}}` diff --git a/pages.es/common/mscore.md b/pages.es/common/mscore.md new file mode 100644 index 00000000000000..f38cb6e8120e15 --- /dev/null +++ b/pages.es/common/mscore.md @@ -0,0 +1,7 @@ +# mscore + +> Este comando es un alias de `musescore`. + +- Vea la documentación del comando original: + +`tldr musescore` diff --git a/pages.es/common/msfconsole.md b/pages.es/common/msfconsole.md new file mode 100644 index 00000000000000..599e90ab3931cd --- /dev/null +++ b/pages.es/common/msfconsole.md @@ -0,0 +1,24 @@ +# msfconsole + +> Consola para el Metasploit Framework. +> Más información: . + +- Inicia la consola: + +`msfconsole` + +- Lanza la consola [q]uietamente sin ningún mensaje: + +`msfconsole --quiet` + +- No habilita el soporte de bases de datos: + +`msfconsole --no-database` + +- Ejecuta los comandos de la consola (Nota: utiliza `;` para pasar varios comandos): + +`msfconsole --execute-command "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"` + +- Muestra [v]ersión: + +`msfconsole --version` diff --git a/pages.es/common/musescore.md b/pages.es/common/musescore.md new file mode 100644 index 00000000000000..c44eb3c64613a5 --- /dev/null +++ b/pages.es/common/musescore.md @@ -0,0 +1,33 @@ +# musescore + +> MuseScore editor de música de 3 hojas. +> Vea también: `lilypond`. +> Más información: . + +- Utiliza un controlador de audio específico: + +`musescore --audio-driver {{jack|alsa|portaudio|pulse}}` + +- Establece el bitrate de salida MP3 en kbit/s: + +`musescore --bitrate {{bitrate}}` + +- Inicia MuseScore en modo depuración: + +`musescore --debug` + +- Permite características experimentales, como capas: + +`musescore --experimental` + +- Exporta el archivo dado al archivo de salida especificado. El tipo de archivo depende de la extensión dada: + +`musescore --export-to {{archivo_de_salida}} {{archivo_de_entrada}}` + +- Imprime las diferencias entre las puntuaciones (scores) dadas: + +`musescore --diff {{ruta/al/archivo1}} {{ruta/al/archivo2}}` + +- Especifica un archivo de operaciones de importación MIDI: + +`musescore --midi-operations {{ruta/al/archivo}}` diff --git a/pages.es/common/mv.md b/pages.es/common/mv.md index 044cab126c17fb..a4749b95c7137a 100644 --- a/pages.es/common/mv.md +++ b/pages.es/common/mv.md @@ -1,23 +1,36 @@ # mv > Mueve o renombra archivos y directorios. +> Más información: . -- Mueve archivos en ubicaciones arbitrarias: +- Cambia el nombre de un archivo o directorio cuando el destino no es un directorio existente: -`mv {{origen}} {{destino}}` +`mv {{ruta/a/origen}} {{ruta/a/destino}}` -- Mueve sin solicitar confirmación antes de sobrescribir archivos existentes: +- Mueve un archivo o directorio a un directorio existente: -`mv -f {{origen}} {{destino}}` +`mv {{ruta/a/origen}} {{ruta/a/directorio_existente}}` -- Solicita confirmación antes de sobrescribir archivos existentes, independientemente de los permisos del archivo: +- Mueve varios archivos a un directorio existente, manteniendo los nombres de archivo sin cambios: -`mv -i {{origen}} {{destino}}` +`mv {{ruta/a/origen1 ruta/a/origen2 ...}} {{ruta/a/directorio_existente}}` -- No sobrescribe archivos existentes en el destino: +- No pedir confirmación antes de sobrescribir los archivos existentes: -`mv -n {{origen}} {{destino}}` +`mv {{[-f|--force]}} {{ruta/a/origen}} {{ruta/a/destino}}` -- Mueve archivos en modo detallado, mostrando los archivos después de moverlos: +- Pedir confirmación interactivamente antes de sobrescribir archivos existentes, independientemente de los permisos de los archivos: -`mv -v {{origen}} {{destino}}` +`mv {{[-i|--interactive]}} {{ruta/a/origen}} {{ruta/a/destino}}` + +- No sobrescribir los archivos existentes en el destino: + +`mv {{[-n|--no-clobber]}} {{ruta/a/origen}} {{ruta/a/destino}}` + +- Mueve archivos en modo verboso, mostrando los archivos después de moverlos: + +`mv {{[-v|--verbose]}} {{ruta/a/origen}} {{ruta/a/destino}}` + +- Especifica el directorio de destino para poder utilizar herramientas externas para recopilar archivos movibles: + +`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv {{[-t|--target-directory]}} {{ruta/a/directorio_destino}}` diff --git a/pages.es/common/mypy.md b/pages.es/common/mypy.md new file mode 100644 index 00000000000000..23015aefb9c44e --- /dev/null +++ b/pages.es/common/mypy.md @@ -0,0 +1,36 @@ +# mypy + +> Verificación de código Python. +> Más información: . + +- Comprueba un archivo específico: + +`mypy {{ruta/al/archivo.py}}` + +- Comprueba un [m]ódulo específico: + +`mypy -m {{nombre_del_módulo}}` + +- Comprueba un [p]aquete específico: + +`mypy -p {{nombre_del_paquete}}` + +- Comprueba una cadena de código: + +`mypy -c "{{código}}"` + +- Ignora importaciones faltantes: + +`mypy --ignore-missing-imports {{ruta/al_archivo_o_directorio}}` + +- Muestra mensajes de error detallados: + +`mypy --show-traceback {{ruta/al/archivo_o_directorio}}` + +- Especifica un archivo de configuración personalizado: + +`mypy --config-file {{ruta/al/archivo_de_configuración}}` + +- Muestra ayuda: + +`mypy -h` diff --git a/pages.es/common/mysql.md b/pages.es/common/mysql.md index 1290ac4417d248..1222070a514f4f 100644 --- a/pages.es/common/mysql.md +++ b/pages.es/common/mysql.md @@ -1,7 +1,7 @@ # mysql -> Herramienta de línea de comandos para gestionar bases de datos MySQL -> Más información: . +> Herramienta de línea de comandos para gestionar bases de datos MySQL. +> Más información: . - Conecta a una base de datos: @@ -9,24 +9,24 @@ - Conecta a una base de datos con el usuario `usuario` y se le pedirá la contraseña: -`mysql -u {{usuario}} --password {{nombre_base_de_datos}}` +`mysql {{[-u|--user]}} {{usuario}} {{[-p|--password]}} {{nombre_base_de_datos}}` - Conecta a una base de datos en otra máquina: -`mysql -h {{maquina_remota}} {{nombre_base_de_datos}}` +`mysql {{[-h|--host]}} {{maquina_remota}} {{nombre_base_de_datos}}` -- Conecta a una base de datos a través de un socket unix +- Conecta a una base de datos a través de un socket unix: -`mysql --socket {{ruta/al/socket.sock}}` +`mysql {{[-S|--socket]}} {{ruta/al/socket.sock}}` - Ejecuta comandos SQL contenidos en un script: -`mysql -e "source {{archivo.sql}}" {{nombre_base_de_datos}}` +`mysql {{[-e|--execute]}} "source {{archivo.sql}}" {{nombre_base_de_datos}}` - Restaura una base de datos a partir de una copia de seguridad creada con `mysqldump` (y se le pedirá la contraseña al usuario): -`mysql --user {{usuario}} --password {{nombre_base_de_datos}} < {{ruta/al/backup.sql}}` +`mysql {{[-u|--user]}} {{usuario}} {{[-p|--password]}} {{nombre_base_de_datos}} < {{ruta/al/backup.sql}}` - Restaura todas las bases de datos en una copia de seguridad (y se le pedirá la contraseña al usuario): -`mysql --user {{usuario}} --password < {{ruta/al/backup.sql}}` +`mysql {{[-u|--user]}} {{usuario}} {{[-p|--password]}} < {{ruta/al/backup.sql}}` diff --git a/pages.es/common/mysqldump.md b/pages.es/common/mysqldump.md index cc5c301609486b..fe63abe16382b4 100644 --- a/pages.es/common/mysqldump.md +++ b/pages.es/common/mysqldump.md @@ -1,17 +1,21 @@ # mysqldump -> Crea una copia de seguridad de bases de datos MySQL. +> Crea una copia de seguridad (backup) de bases de datos MySQL. > Vea también `mysql` para restaurar bases de datos. > Más información: . - Crea un backup (se le pedirá la contraseña al usuario): -`mysqldump --user {{usuario}} --password {{nombre_base_de_datos}} -r {{ruta/al/archivo.sql}}` +`mysqldump --user {{usuario}} --password {{nombre_base_de_datos}} --result-file={{ruta/al/archivo.sql}}` + +- Crea un backup de una tabla específica redireccionando la salida a un archivo (se le pedirá la contraseña al usuario): + +`mysqldump --user {{usuario}} --password {{nombre_base_de_datos}} {{nombre_de_tabla}} > {{ruta/al/archivo.sql}}` - Crea un backup de todas las bases de datos y redirige la salida a un archivo (se le pedirá la contraseña al usuario): `mysqldump --user {{usuario}} --password --all-databases > {{ruta/al/archivo.sql}}` -- Crea un backup de una única tabla de una base de datos (se le pedirá la contraseña al usuario): +- Crea un backup de todas las bases de datos de un host remoto redirigiendo la salida a un archivo (se le pedirá la contraseña al usuario): -`mysqldump --user {{usuario}} --password {{nombre_base_de_datos}} {{nombre_tabla}} -r {{ruta/al/archivo.sql}}` +`mysqldump --host={{ip_o_nombre_de_host}} --user {{usuario}} --password --all-databases > {{ruta/al/archivo.sql}}` diff --git a/pages.es/common/naabu.md b/pages.es/common/naabu.md new file mode 100644 index 00000000000000..790b25554e4754 --- /dev/null +++ b/pages.es/common/naabu.md @@ -0,0 +1,34 @@ +# naabu + +> Un escáner de puertos rápido, escrito en Go, enfocado en fiabilidad y simplicidad. +> Vea también: `nmap`. +> Nota: Algunas características sólo se activan cuando `naabu` se ejecuta con privilegios de superusuario, como el escaneo SYN. +> Más información: . + +- Ejecuta un escaneo SYN contra los puertos predeterminados (top 100) del host remoto: + +`sudo naabu -host {{host}}` + +- Muestra las interfaces de red disponibles y la dirección IP pública del host local: + +`naabu -interface-list` + +- Escanea todos los puertos del host remoto (escaneo CONNECT sin `sudo`): + +`naabu -p - -host {{host}}` + +- Escanea los top 1000 puertos del host remoto: + +`naabu -top-ports 1000 -host {{host}}` + +- Escanea los puertos TCP 80, 443 y UDP 53 del host remoto: + +`naabu -p 80,443,u:53 -host {{host}}` + +- Muestra el tipo de CDN que utiliza el host remoto, si existe: + +`naabu -p 80,443 -cdn -host {{host}}` + +- Ejecuta `nmap` desde `naabu` para contar con funcionalidades adicionales (`nmap` debe estar instalado): + +`sudo naabu -v -host {{host}} -nmap-cli 'nmap {{-v -T5 -sC}}'` diff --git a/pages.es/common/nano.md b/pages.es/common/nano.md index 8359167cab9f55..f07b7edfc8c6de 100644 --- a/pages.es/common/nano.md +++ b/pages.es/common/nano.md @@ -1,16 +1,33 @@ # nano -> Editor sencillo y fácil de usar. Un clon libre y mejorado de Pico. -> Más información: . +> Editor sencillo y fácil de usar. Un clon libre y mejorado de `Pico`. +> Vea también: `emacs`, `helix`, `vim`. +> Más información: . -- Inicia nano en la terminal con {nombre_del_archivo}: +- Inicia el editor: -`nano {{nombre_del_archivo}}` +`nano` -- Activar desplazamiento suave: +- Inicia el editor sin usar archivos de configuración: -`nano -S {{nombre_del_archivo}}` +`nano {{[-I|--ignorercfiles]}}` -- Sangra las nuevas líneas a la sangría de las líneas anteriores: +- Abre archivos específicos, moviéndose al siguiente archivo cuando se cierra el anterior: -`nano -i {{nombre_del_archiv}}` +`nano {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Abre un archivo específico, posicionando el cursor en la línea y columna específica: + +`nano +{{línea}},{{columna}} {{ruta/al/archivo}}` + +- Abre un archivo específico y activa el ajuste de línea suave (wrapping): + +`nano {{[-S|--softwrap]}} {{ruta/al/archivo}}` + +- Abre un archivo específico y sangra nuevas líneas al nivel de las líneas anteriores: + +`nano {{[-i|--autoindent]}} {{ruta/al/archivo}}` + +- Abre nano y crea un archivo de respaldo (`ruta/al/archivo~`) cuando se guardan las ediciones: + +`nano {{[-B|--backup]}} {{ruta/al/archivo}}` diff --git a/pages.es/common/nc.md b/pages.es/common/nc.md new file mode 100644 index 00000000000000..965af7916aef40 --- /dev/null +++ b/pages.es/common/nc.md @@ -0,0 +1,32 @@ +# nc + +> Redirige datos de entrada o salida a un flujo de red a través de esta versátil herramienta. +> Más información: . + +- Inicia un escuchador en un puerto TCP y le envía un archivo: + +`nc -l -p {{puerto}} < {{nombre_de_archivo}}` + +- Conecta a un escuchador en un puerto y recibe un archivo de él: + +`nc {{host}} {{puerto}} > {{nombre_de_archivo_por_recibir}}` + +- Escanea los puertos TCP abiertos en un host: + +`nc -v -z -w {{tiempo_de_espera_en_segundos}} {{host}} {{puerto_inicial}}-{{puerto_final}}` + +- Inicia un escuchador en un puerto TCP y provee de acceso a tu intérprete de comandos local a la parte conectada (esto es peligroso y podría ser explotado): + +`nc -l -p {{puerto}} -e {{ejecutable_del_intérprete}}` + +- Conecta a un escuchador y provee de acceso a tu intérprete de comandos local a una parte remota (esto es peligroso y podría ser explotado): + +`nc {{host}} {{puerto}} -e {{ejecutable_del_intérprete}}` + +- Actúa como un proxy y envía información de un puerto TCP local a un host remoto: + +`nc -l -p {{puerto_local}} | nc {{host}} {{puerto_remoto}}` + +- Envía una petición HTTP GET: + +`echo -e "GET / HTTP/1.1\nHost: {{host}}\n\n" | nc {{host}} 80` diff --git a/pages.es/common/neo4j-admin.md b/pages.es/common/neo4j-admin.md new file mode 100644 index 00000000000000..dfdf76b37791fc --- /dev/null +++ b/pages.es/common/neo4j-admin.md @@ -0,0 +1,32 @@ +# neo4j-admin + +> Gestiona y administra un Neo4j DBMS (Sistema de Gestión de Bases de Datos). +> Más información: . + +- Inicia el DBMS: + +`neo4j-admin server start` + +- Detén el DBMS: + +`neo4j-admin server stop` + +- Establece la contraseña inicial del usuario predeterminada `neo4j` (requisito para el primer arranque del DBMS): + +`neo4j-admin dbms set-initial-password {{nombre_base_de_datos}}` + +- Crea un archivo con una base de datos sin conexión llamado `nombre_base_de_datos.dump`: + +`neo4j-admin database dump --to-path={{ruta/al/directorio}} {{nombre_de_base_de_datos}}` + +- Carga una base de datos desde un archivo llamado `nombre_base_de_datos.dump`: + +`neo4j-admin database load --from-path={{ruta/al/directorio}} {{nombre_de_base_de_datos}} --overwrite-destination=true` + +- Carga una base de datos desde un archivo especificado a través de `stdin`: + +`neo4j-admin database load --from-stdin {{nombre_de_base_de_datos}} --overwrite-destination=true < {{ruta/a/nombre_archivo.dump}}` + +- Muestra ayuda: + +`neo4j-admin --help` diff --git a/pages.es/common/nest.md b/pages.es/common/nest.md new file mode 100644 index 00000000000000..2e1da21bdbf9ac --- /dev/null +++ b/pages.es/common/nest.md @@ -0,0 +1,24 @@ +# nest + +> Herramienta de línea de comandos para inicializar, desarrollar y mantener aplicaciones Nest. +> Más información: . + +- Muestra la información sobre la versión de nest instalada: + +`nest info` + +- Crea un nuevo proyecto NestJS en un directorio con el mismo nombre: + +`nest new {{nombre_del_proyecto}}` + +- Construye un proyecto NestJS específico: + +`nest build {{nombre_del_proyecto}}` + +- Ejecuta un proyecto NestJS específico: + +`nest start {{nombre_del_proyecto}}` + +- Importa una librería al proyecto NestJS actual: + +`nest add {{nombre_de_la_librería}}` diff --git a/pages.es/common/netcat.md b/pages.es/common/netcat.md new file mode 100644 index 00000000000000..a0fdd072238f85 --- /dev/null +++ b/pages.es/common/netcat.md @@ -0,0 +1,7 @@ +# netcat + +> Este comando es un alias de `nc`. + +- Vea la documentación para el comando original: + +`tldr nc` diff --git a/pages.es/common/netexec.md b/pages.es/common/netexec.md new file mode 100644 index 00000000000000..a61ab1a8461c28 --- /dev/null +++ b/pages.es/common/netexec.md @@ -0,0 +1,7 @@ +# netexec + +> Este comando es un alias de `nxc`. + +- Vea la documentación del comando original: + +`tldr nxc` diff --git a/pages.es/common/netlify.md b/pages.es/common/netlify.md new file mode 100644 index 00000000000000..a0b072768acef4 --- /dev/null +++ b/pages.es/common/netlify.md @@ -0,0 +1,20 @@ +# netlify + +> Despliegue de sitios y configuración del despliegue continuo en la plataforma de Netlify. +> Más información: . + +- Accede a la cuenta Netlify: + +`netlify login` + +- Despliega el contenido de un directorio en Netlify: + +`netlify deploy` + +- Configura el despliegue continuo para un sitio nuevo o existente: + +`netlify init` + +- Inicia un servidor local de desarrollo: + +`netlify dev` diff --git a/pages.es/common/next.md b/pages.es/common/next.md new file mode 100644 index 00000000000000..82eb8176e8fd11 --- /dev/null +++ b/pages.es/common/next.md @@ -0,0 +1,36 @@ +# next + +> Framework React que utiliza el renderizado del lado del servidor para crear aplicaciones web optimizadas. +> Más información: . + +- Inicia la aplicación actual en modo de desarrollo: + +`next dev` + +- Inicia la aplicación actual y escucha en un puerto específico: + +`next dev {{[-p|--port]}} {{puerto}}` + +- Construye la aplicación actual optimizada para producción: + +`next build` + +- Inicia la aplicación compilada en modo de producción: + +`next start` + +- Inicia la aplicación compilada y escucha en un puerto específico: + +`next start {{[-p|--port]}} {{puerto}}` + +- Exporta la aplicación actual páginas HTML estáticas: + +`next export` + +- Muestra el estado de telemetría de Next.js: + +`next telemetry` + +- Muestra la ayuda de un subcomando: + +`next {{build|dev|export|start|telemetry}} {{[-h|--help]}}` diff --git a/pages.es/common/ng.md b/pages.es/common/ng.md new file mode 100644 index 00000000000000..d15fd2a6096369 --- /dev/null +++ b/pages.es/common/ng.md @@ -0,0 +1,36 @@ +# ng + +> Crea y maneja applicaciones de Angular. +> Más información: . + +- Crea una aplicación de Angular dentro de un directorio: + +`ng new {{nombre_del_proyecto}}` + +- Añade un componente nuevo a tu aplicación: + +`ng generate component {{nombre_del_componente}}` + +- Añade una clase nueva a tu aplicación: + +`ng generate class {{nombre_de_la_clase}}` + +- Añade un directivo nuevo a tu aplicación: + +`ng generate directive {{nombre_del_directivo}}` + +- Corre la applicación con el siguiente comando en el directorio raíz: + +`ng serve` + +- Compila la aplicación: + +`ng build` + +- Ejecuta las pruebas unitarias: + +`ng test` + +- Muestra la version actual de tu instalación de Angular: + +`ng version` diff --git a/pages.es/common/nginx.md b/pages.es/common/nginx.md new file mode 100644 index 00000000000000..07d978aea14703 --- /dev/null +++ b/pages.es/common/nginx.md @@ -0,0 +1,24 @@ +# nginx + +> Servidor web Nginx. +> Más información: . + +- Inicia el servidor con el archivo de configuración por defecto: + +`nginx` + +- Inicia el servidor con un archivo de configuración personalizado: + +`nginx -c {{archivo_de_configuración}}` + +- Inicia el servidor con un prefijo para todas las rutas relativas en el archivo de configuración: + +`nginx -c {{archivo_de_configuración}} -p {{prefijo/para/rutas/relativas}}` + +- Prueba la configuración sin afectar al servidor en ejecución: + +`nginx -t` + +- Recarga la configuración enviando una señal sin tiempo de inactividad: + +`nginx -s reload` diff --git a/pages.es/common/nhentai.md b/pages.es/common/nhentai.md new file mode 100644 index 00000000000000..4817cbca1b498d --- /dev/null +++ b/pages.es/common/nhentai.md @@ -0,0 +1,20 @@ +# nhentai + +> Descarga doujinshis de nhentai. +> Más información: . + +- Establece cookies: + +`nhentai --cookie "csrftoken={{TOKEN}}; sessionid={{ID}}"` + +- Descarga un doujin específico: + +`nhentai --id {{número}}` + +- Descarga la primera página de tus favoritos: + +`nhentai --favorites --download --delay 1` + +- Descarga páginas específicas de tus favoritos: + +`nhentai --favorites --pages {{página_inicial}}-{{página_final}} --download --delay 1` diff --git a/pages.es/common/nix-build.2.md b/pages.es/common/nix-build.2.md new file mode 100644 index 00000000000000..c0dbdf41581735 --- /dev/null +++ b/pages.es/common/nix-build.2.md @@ -0,0 +1,13 @@ +# nix-build + +> Construye una expresión de Nix. +> Vea también: `nix build.3`. +> Más información: . + +- Construye una expresión de Nix: + +`nix-build '' {{[-A|--attr]}} {{firefox}}` + +- Construye una expresión de Nix aislada (en sistemas que no son NixOS): + +`nix-build '' {{[-A|--attr]}} {{firefox}} --option sandbox true` diff --git a/pages.es/common/nix-build.3.md b/pages.es/common/nix-build.3.md new file mode 100644 index 00000000000000..94db6db0b185dd --- /dev/null +++ b/pages.es/common/nix-build.3.md @@ -0,0 +1,21 @@ +# nix build + +> Construye una expresión de Nix (descargando desde caché cuando sea posible). +> Vea también: `nix-build` para información sobre construcciones tradicionales de Nix desde expresiones, `nix flake` para información sobre los flakes. +> Más información: . + +- Construye un paquete desde nixpkgs, creando un enlace simbólico al resultado en `./result`: + +`nix build {{nixpkgs#pkg}}` + +- Construye un paquete desde un flake en el directorio actual, mostrando el registro de construcción en el proceso: + +`nix build -L {{.#pkg}}` + +- Construye el paquete predeterminado de un flake en algún directorio: + +`nix build {{./ruta/al/directorio}}` + +- Construye un paquete sin hacer el enlace simbólico `result`, mostrando a su vez la ruta del almacén de Nix en `stdout`: + +`nix build --no-link --print-out-paths` diff --git a/pages.es/common/nix-build.md b/pages.es/common/nix-build.md new file mode 100644 index 00000000000000..d0ecb70a0265b1 --- /dev/null +++ b/pages.es/common/nix-build.md @@ -0,0 +1,11 @@ +# nix-build + +> `nix-build` puede referirse a múltiples comandos con el mismo nombre. + +- Vea la documentación para el constructor tradicional: + +`tldr nix-build.2` + +- Vea la documentación para el constructor nix3: + +`tldr nix build.3` diff --git a/pages.es/common/nix-classic.md b/pages.es/common/nix-classic.md new file mode 100644 index 00000000000000..1a1582192c39ed --- /dev/null +++ b/pages.es/common/nix-classic.md @@ -0,0 +1,29 @@ +# nix classic + +> Una interfaz clásica y estable para un potente gestor de paquetes que hace la gestión de paquetes fiable, reproducible y declarativa. +> Algunos comandos Nix como `nix-build`, `nix-shell`, `nix-env`, y `nix-store` tienen sus propias páginas. Ver también: `tldr nix`. +> Más información: . + +- Busca un paquete en nixpkgs a través de su nombre: + +`nix-env -qaP {{termino_busqueda_regexp}}` + +- Inicia un shell con los paquetes especificados disponibles: + +`nix-shell -p {{pkg1 pkg2 pkg3...}}` + +- Instala algunos paquetes de forma permanente: + +`nix-env -iA {{nixpkgs.pkg1 nixpkgs.pkg2...}}` + +- Muestra todas las dependencias de una ruta de almacenamiento (paquete), en formato de árbol: + +`nix-store --query --tree {{/nix/store/...}}` + +- Actualiza los canales (repositorios): + +`nix-channel --update` + +- Elimina rutas no utilizadas del almacén Nix: + +`nix-collect-garbage` diff --git a/pages.es/common/nix-collect-garbage.md b/pages.es/common/nix-collect-garbage.md new file mode 100644 index 00000000000000..12198842cee9f7 --- /dev/null +++ b/pages.es/common/nix-collect-garbage.md @@ -0,0 +1,17 @@ +# nix-collect-garbage + +> Elimina rutas del almacén de nix desusados o inalcanzables. +> Las generaciones se pueden listar usando `nix-env --list-generations`. +> Más información: . + +- Elimina todas las rutas del almacén desusados por las generaciones actuales de cada perfil: + +`nix-collect-garbage {{[-d|--delete-old]}}` + +- Simula la eliminación de rutas del almacén antiguas: + +`nix-collect-garbage {{[-d|--delete-old]}} --dry-run` + +- Elimina todas las rutas del almacén más antiguas que 30 días: + +`nix-collect-garbage --delete-older-than 30d` diff --git a/pages.es/common/nix-develop.md b/pages.es/common/nix-develop.md new file mode 100644 index 00000000000000..fffa07e83d96eb --- /dev/null +++ b/pages.es/common/nix-develop.md @@ -0,0 +1,16 @@ +# nix develop + +> Ejecuta un shell de Bash que provee el entorno de construcción de una derivación. +> Más información: . + +- Ejecuta un shell con todas las dependencias de un paquete de nixpkgs disponibles: + +`nix develop {{nixpkgs#pkg}}` + +- Inicia un shell para desarrollo para el paquete predeterminado de un flake en el directorio actual: + +`nix develop` + +- En ese shell, configura y construye los códigos fuentes: + +`configurePhase; buildPhase` diff --git a/pages.es/common/nix-edit.md b/pages.es/common/nix-edit.md new file mode 100644 index 00000000000000..68be9806ada6d2 --- /dev/null +++ b/pages.es/common/nix-edit.md @@ -0,0 +1,12 @@ +# nix edit + +> Abre la expresión de Nix de un paquete Nix dentro de $EDITOR. +> Más información: . + +- Abre el código fuente de la expresión Nix de un paquete de nixpkgs dentro de tu `$EDITOR`: + +`nix edit {{nixpkgs#pkg}}` + +- Vuelca el código fuente de un paquete en `stdout`: + +`EDITOR=cat nix edit {{nixpkgs#pkg}}` diff --git a/pages.es/common/nix-env.md b/pages.es/common/nix-env.md new file mode 100644 index 00000000000000..a9e145d565a60a --- /dev/null +++ b/pages.es/common/nix-env.md @@ -0,0 +1,36 @@ +# nix-env + +> Manipula o consulta entornos de usuario de Nix. +> Más información: . + +- Lista todos los paquetes instalados: + +`nix-env {{[-q|--query]}}` + +- Consulta los paquetes instalados: + +`nix-env {{[-q|--query]}} {{término_de_búsqueda}}` + +- Consulta los paquetes disponibles: + +`nix-env {{[-qa|--query --available]}} {{término_de_búsqueda}}` + +- Instala un paquete: + +`nix-env {{[-iA|--install --attr]}} nixpkgs.{{nombre_del_paquete}}` + +- Instala un paquete desde un enlace: + +`nix-env {{[-i|--install]}} {{nombre_del_paquete}} {{[-f|--file]}} {{example.com}}` + +- Desinstala un paquete: + +`nix-env {{[-e|--uninstall]}} {{nombre_del_paquete}}` + +- Actualiza un paquete: + +`nix-env {{[-u|--upgrade]}} {{nombre_del_paquete}}` + +- Actualiza todos los paquetes: + +`nix-env {{[-u|--upgrade]}}` diff --git a/pages.es/common/nix-flake.md b/pages.es/common/nix-flake.md new file mode 100644 index 00000000000000..2ac6c5e1b0b1d2 --- /dev/null +++ b/pages.es/common/nix-flake.md @@ -0,0 +1,24 @@ +# nix flake + +> Administra los flakes de Nix. +> Más información: . + +- Crea un flake nuevo (solo el archivo `flake.nix`) usando la plantilla predeterminada, en el directorio actual: + +`nix flake init` + +- Actualiza todos las entradas (dependencias) del flake en el directorio actual: + +`nix flake update` + +- Actualiza una entrada específica (dependencia) del flake en el directorio actual: + +`nix flake update {{entrada}}` + +- Muestra todas the salidas de un flake en github: + +`nix flake show {{github:dueño/repositorio}}` + +- Muestra ayuda: + +`nix flake --help` diff --git a/pages.es/common/nix-profile.md b/pages.es/common/nix-profile.md new file mode 100644 index 00000000000000..7614b47225db71 --- /dev/null +++ b/pages.es/common/nix-profile.md @@ -0,0 +1,28 @@ +# nix profile + +> Instala, actualiza y quita paquetes de perfiles de Nix. +> Más información: . + +- Instala unos paquetes desde nixpkgs al perfil predeterminado: + +`nix profile install {{nixpkgs#pkg1 nixpkgs#pkg2 ...}}` + +- Instala un paquete desde un flake en GitHub a un perfil específico: + +`nix profile install {{github:dueño/repositorio/paquete}} --profile {{./ruta/al/directorio}}` + +- Lista los paquetes instalados actualmente en el perfil predeterminado: + +`nix profile list` + +- Quita un paquete instalado desde nixpkgs del perfil predeterminado, por nombre: + +`nix profile remove {{legacyPackages.x86_64-linux.pkg}}` + +- Actualiza paquetes en el perfil predeterminado a la versión más reciente disponible: + +`nix profile upgrade` + +- Revierte (cancela) la acción más reciente en el perfil predeterminado: + +`nix profile rollback` diff --git a/pages.es/common/nix-registry.md b/pages.es/common/nix-registry.md new file mode 100644 index 00000000000000..5de51177cf2ccf --- /dev/null +++ b/pages.es/common/nix-registry.md @@ -0,0 +1,25 @@ +# nix registry + +> Administra un registro de un flake de nix. +> Vea tambiém: `nix flake` para información sobre los flakes. +> Más información: . + +- Fija la revisión de `nixpkgs` a la versión actual del repositorio upstream: + +`nix registry pin {{nixpkgs}}` + +- Fija una entrada a la versión actual de la rama, o una revisión particular de un repositorio de GitHub: + +`nix registry pin {{entrada}} {{github:dueño/repositorio/rama_o_revisión}}` + +- Añade una entrada nueva que siempre apunta a la versión más reciente de un repositorio de GitHub, actualizando automáticamente: + +`nix registry add {{entrada}} {{github:dueño/repositorio}}` + +- Quita una entrada del registro: + +`nix registry remove {{entrada}}` + +- Vea la documentación sobre lo que son los registros de flakes de nix: + +`nix registry --help` diff --git a/pages.es/common/nix-repl.md b/pages.es/common/nix-repl.md new file mode 100644 index 00000000000000..d7728b8cab006f --- /dev/null +++ b/pages.es/common/nix-repl.md @@ -0,0 +1,25 @@ +# nix repl + +> Inicia un entorno interactivo para evaluar expresiones de Nix. +> Vea para una descripción del lenguaje de expresiones de Nix. +> Más información: . + +- Inicia un entorno interactivo para evaluar expresiones de Nix: + +`nix repl` + +- Carga todos los paquetes desde un flake (ej. `nixpkgs`) al ámbito: + +`:lf {{nixpkgs}}` + +- Construye un paquete desde una expresión: + +`:b {{expresión}}` + +- Inicia un shell con un paquete de la expresión disponible: + +`:u {{expresión}}` + +- Inicia un shell con las dependencias del paquete de la expresión disponible: + +`:s {{expresión}}` diff --git a/pages.es/common/nix-run.md b/pages.es/common/nix-run.md new file mode 100644 index 00000000000000..e2cfa9e3ca76df --- /dev/null +++ b/pages.es/common/nix-run.md @@ -0,0 +1,33 @@ +# nix run + +> Ejecuta una aplicación desde un flake de Nix. +> Vea también: `nix flake` para información sobre los flakes. +> Más información: . + +- Ejecuta la aplicación predeterminada del flake en el directorio actual: + +`nix run` + +- Ejecuta un comando cuyo nombre iguala el nombre de un paquete de nixpkgs (si quieres un comando diferente de ese paquete, ver también `tldr nix shell`): + +`nix run nixpkgs#{{pkg}}` + +- Ejecuta un comando con los argumentos proporcionados: + +`nix run nixpkgs#{{vim}} -- {{ruta/al/archivo}}` + +- Ejecuta desde un repositorio remoto: + +`nix run {{nombre_de_remoto}}:{{dueño}}/{{repositorio}}` + +- Ejecuta desde un repositorio remoto usando una etiqueta específica, revisión o rama: + +`nix run {{nombre_de_remoto}}:{{dueño}}/{{repositorio}}/{{referencia}}` + +- Ejecuta desde un repositorio remoto especificando un subdirectorio y un programa: + +`nix run "{{nombre_de_remoto}}:{{dueño}}/{{repositorio}}?dir={{nombre_del_directorio}}#{{aplicación}}"` + +- Ejecuta el flake de una solicitud de incorporación de cambios de GitHub: + +`nix run github:{{dueño}}/{{repositorio}}/pull/{{número}}/head` diff --git a/pages.es/common/nix-search.md b/pages.es/common/nix-search.md new file mode 100644 index 00000000000000..030b15c4fc759c --- /dev/null +++ b/pages.es/common/nix-search.md @@ -0,0 +1,17 @@ +# nix search + +> Busca paquetes en un flake de Nix. +> Vea también: `nix flake` para información sobre los flakes. +> Más información: . + +- Busca `nixpkgs` para un paquete basado en su nombre o descripción: + +`nix search {{nixpkgs}} {{término_de_búsqeda}}` + +- Muestra la descripción de un paquete de nixpkgs: + +`nix search {{nixpkgs#pkg}}` + +- Muestra todos los paquetes disponibles de un flake en Github: + +`nix search {{github:dueño/repositorio}}` diff --git a/pages.es/common/nix-shell.2.md b/pages.es/common/nix-shell.2.md new file mode 100644 index 00000000000000..7616d01c8ecd16 --- /dev/null +++ b/pages.es/common/nix-shell.2.md @@ -0,0 +1,29 @@ +# nix-shell + +> Inicia un shell interactivo basado on una expresión de Nix. +> Vea también: `nix shell.3`. +> Más información: . + +- Inicia con una expresión de nix en `shell.nix` o `default.nix` del directorio actual: + +`nix-shell` + +- Ejecuta un comando de shell en un shell no interactivo y sale: + +`nix-shell --run "{{comando}} {{argumento1 argumento2 ...}}"` + +- Ejecuta con la expresión en `default.nix` en el directorio actual: + +`nix-shell {{default.nix}}` + +- Inicia con paquetes cargados de nixpkgs: + +`nix-shell {{[-p|--packages]}} {{paquete1 paquete2 ...}}` + +- Inicia con paquetes cargados desde una revisión específica de nixpkgs: + +`nix-shell {{[-p|--packages]}} {{paquete1 paquete2 ...}} {{[-I|--include]}} nixpkgs={{https://github.com/NixOS/nixpkgs/archive/revision_de_nixpkgs.tar.gz}}` + +- Evalua el resto de un archivo en un interpretador, para usarse con `#!-scripts` (vea también ): + +`nix-shell -i {{interpretador}} {{[-p|--packages]}} {{paquete1 paquete2 ...}}` diff --git a/pages.es/common/nix-shell.3.md b/pages.es/common/nix-shell.3.md new file mode 100644 index 00000000000000..81211782b0b932 --- /dev/null +++ b/pages.es/common/nix-shell.3.md @@ -0,0 +1,25 @@ +# nix shell + +> Inicia un shell en lo cual los paquetes especificados están disponibles. +> Vea también: `nix-shell` para armar un entorno de desarrollo, `nix flake` para información sobre los flakes. +> Más información: . + +- Inicia un shell interactivo con unos paquetes de `nixpkgs`: + +`nix shell {{nixpkgs#pkg1 nixpkgs#packageSet.pkg2 ...}}` + +- Inicia un shell que provee un paquete de una versión más antigua de `nixpkgs` (21.05): + +`nix shell {{nixpkgs/nixos-21.05#pkg}}` + +- Inicia un shell con el "paquete predeterminado" de un flake en el directorio actual, mostrando un registro de construcción si es que algo se construye: + +`nix shell -L` + +- Inicia un shell con un paquete de un flake en GitHub: + +`nix shell {{github:dueño/repositorio#pkg}}` + +- Ejecuta un comando en un shell con un paquete: + +`nix shell {{nixpkgs#pkg}} -c {{comando --una-bandera 'otros argumentos'}}` diff --git a/pages.es/common/nix-shell.md b/pages.es/common/nix-shell.md new file mode 100644 index 00000000000000..7939e992b34d69 --- /dev/null +++ b/pages.es/common/nix-shell.md @@ -0,0 +1,11 @@ +# nix-shell + +> `nix-shell` puede referirse a múltiples comandos con el mismo nombre. + +- Vea la documentación para el shell tradicional: + +`tldr nix-shell.2` + +- Vea la documentación para el shell de nix3: + +`tldr nix shell.3` diff --git a/pages.es/common/nix-store.2.md b/pages.es/common/nix-store.2.md new file mode 100644 index 00000000000000..6d74f89b28b445 --- /dev/null +++ b/pages.es/common/nix-store.2.md @@ -0,0 +1,29 @@ +# nix-store + +> Manipula o busca en el almacén de Nix. +> Vea también: `nix store.3`. +> Más información: . + +- Recolecta basura, por ejemplo quitar las rutas desusadas: + +`nix-store --gc` + +- Crea un enlace físico entre archivos idénticos para reducir el uso de disco: + +`nix-store --optimise` + +- Elimina una ruta específica en el almacén (debe ser desusada): + +`nix-store --delete {{/nix/store/...}}` + +- Muestra todas las dependencias de una ruta del almacén (paquete), en un formato de árbol: + +`nix-store {{[-q|--query]}} --tree {{/nix/store/...}}` + +- Calcula el tamaño total de una ruta específica del almacén con todas las dependencias: + +`du {{[-cLsh|--total --dereference --summarize --human-readable]}} $(nix-store {{[-q|--query]}} --references {{/nix/store/...}})` + +- Muestra todos los dependientes de una ruta particular del almacén: + +`nix-store {{[-q|--query]}} --referrers {{/nix/store/...}}` diff --git a/pages.es/common/nix-store.3.md b/pages.es/common/nix-store.3.md new file mode 100644 index 00000000000000..b30ea0ca12a914 --- /dev/null +++ b/pages.es/common/nix-store.3.md @@ -0,0 +1,25 @@ +# nix store + +> Manipula el almacén de Nix. +> Vea también: `nix-store`. +> Más información: . + +- Recolecta basura, es decir, elimina rutas desusadas para reducir el uso de disco: + +`nix store gc` + +- Crea un enlace físico entre archivos idénticos para reducir el uso de disco: + +`nix store optimise` + +- Elimina una ruta específica en el almacén (debe ser desusada): + +`nix store delete {{/nix/store/...}}` + +- Lista el contenido de una ruta en el almacén, en un almacén remoto: + +`nix store --store {{https://cache.nixos.org}} ls {{/nix/store/...}}` + +- Muestra las diferencias de versiones entre dos rutas del almacén, con sus dependencias respectivas: + +`nix store diff-closures {{/nix/store/...}} {{/nix/store/...}}` diff --git a/pages.es/common/nix-store.md b/pages.es/common/nix-store.md new file mode 100644 index 00000000000000..38f3d5ec594b62 --- /dev/null +++ b/pages.es/common/nix-store.md @@ -0,0 +1,11 @@ +# nix-store + +> `nix-store` puede referirse a múltiples comandos con el mismo nombre. + +- Vea la documentación para el almacén tradicional: + +`tldr nix-store.2` + +- Vea la documentación para el almacén nix3: + +`tldr nix store.3` diff --git a/pages.es/common/nix-why-depends.md b/pages.es/common/nix-why-depends.md new file mode 100644 index 00000000000000..2446ec8620a49f --- /dev/null +++ b/pages.es/common/nix-why-depends.md @@ -0,0 +1,12 @@ +# nix why-depends + +> Muesta por qué un paquete depende de otro paquete. +> Más información: . + +- Muestra por qué el sistema actual de NixOS requiere una ruta del almacén específica: + +`nix why-depends {{/run/current-system}} {{/nix/store/...}}` + +- Muestra por qué un paquete de nixpkgs requiere otro paquete como una dependencia de tiempo de construcción: + +`nix why-depends --derivation {{nixpkgs#dependiente}} {{nixpkgs#dependencia}}` diff --git a/pages.es/common/nix.md b/pages.es/common/nix.md new file mode 100644 index 00000000000000..e6070eef655622 --- /dev/null +++ b/pages.es/common/nix.md @@ -0,0 +1,34 @@ +# nix + +> Un potente gestor de paquetes que hace la gestión de paquetes fiable, reproducible y declarativa. +> `nix` es experimental y requiere permitir funcionalidades experimentales. Para una interfaz clásica y estable, vea también `tldr nix classic`. +> Algunos subcomandos como `build`, `develop`, `flake`, `registry`, `profile`, `search`, `repl`, `store`, `edit`, `why-depends`, etc. tienen sus propias páginas. +> Más información: . + +- Habilita el comando `nix`: + +`mkdir {{[-p|--parents]}} ~/.config/nix; echo 'experimental-features = nix-command flakes' > ~/.config/nix/nix.conf` + +- Busca un paquete en nixpkgs usando su nombre o descripción: + +`nix search nixpkgs {{término_de_búsqueda}}` + +- Inicia un shell con unos paquetes de nixpkgs disponibles: + +`nix shell {{nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...}}` + +- Instala unos paquetes de nixpkgs de manera permanente: + +`nix profile install {{nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...}}` + +- Quita rutas desusadas del almacén de Nix para liberar espacio: + +`nix store gc` + +- Inicia un entorno interactivo para evaluar expresiones de Nix: + +`nix repl` + +- Muestra ayuda para cada subcomando específico: + +`nix help {{subcomando}}` diff --git a/pages.es/common/nixpkgs-review.md b/pages.es/common/nixpkgs-review.md new file mode 100644 index 00000000000000..20ca93a68720ad --- /dev/null +++ b/pages.es/common/nixpkgs-review.md @@ -0,0 +1,29 @@ +# nixpkgs-review + +> Revisa solicitudes de incorporación de cambios en el repositorio de paquetes de NixOS (nixpkgs). +> Después de una construcción exitosa, un `nix-shell` con todos los paquetes se inicia. +> Más información: . + +- Construye paquetes cambiados en una solicitud especificada: + +`nixpkgs-review pr {{número_de_solicitud|url_de_solicitud}}` + +- Construye paquetes cambiados y publica un comentario con un reporte (requiere armar un token en `hub`, `gh`, o la variable del entorno `GITHUB_TOKEN`): + +`nixpkgs-review pr --post-result {{número_de_solicitud|url_de_solicitud}}` + +- Construye paquetes cambiados y muestra un reporte: + +`nixpkgs-review pr --print-result {{número_de_solicitud|url_de_solicitud}}` + +- Construye paquetes cambiados en un commit local: + +`nixpkgs-review rev {{HEAD}}` + +- Construye paquetes cambiados que todavía no hayan sido commiteados: + +`nixpkgs-review wip` + +- Construye paquetes cambiados que hayan sido añadidos a git: + +`nixpkgs-review wip --staged` diff --git a/pages.es/common/nm-classic.md b/pages.es/common/nm-classic.md new file mode 100644 index 00000000000000..0625b88f2b84f6 --- /dev/null +++ b/pages.es/common/nm-classic.md @@ -0,0 +1,7 @@ +# nm-classic + +> Este comando es un alias de `nm`. + +- Muestra la documentación del comando original: + +`tldr nm` diff --git a/pages.es/common/nm.md b/pages.es/common/nm.md new file mode 100644 index 00000000000000..dce71ee251d043 --- /dev/null +++ b/pages.es/common/nm.md @@ -0,0 +1,20 @@ +# nm + +> Lista los nombres de símbolos en los archivos objeto. +> Más información: . + +- Lista de funciones globales (externas) en un archivo (con prefijo T): + +`nm -g {{ruta/al/archivo.o}}` + +- Lista solo los símbolos no definidos en un archivo: + +`nm -u {{ruta/al/archivo.o}}` + +- Lista todos los símbolos, incluso símbolos de depuración: + +`nm -a {{ruta/al/archivo.o}}` + +- Reconstruye símbolos C++ (hace que sean legibles): + +`nm --demangle {{ruta/al/archivo.o}}` diff --git a/pages.es/common/nmap.md b/pages.es/common/nmap.md new file mode 100644 index 00000000000000..b8ef2da255245f --- /dev/null +++ b/pages.es/common/nmap.md @@ -0,0 +1,37 @@ +# nmap + +> Herramienta de exploración de redes y escáner de seguridad/puertos. +> Algunas funciones (p. ej. escaneo SYN) se activan solamente cuando `nmap` es ejecutado con los permisos del superusuario. +> Más información: . + +- Escanea los top 1000 puertos de un host remoto con varios niveles de [v]erbosidad: + +`nmap -v{{1|2|3}} {{ip_o_nombre_de_host}}` + +- Ejecuta un barrido de ping en toda una subred o en hosts individuales de forma muy agresiva: + +`nmap -T5 -sn {{192.168.0.0/24|ip_o_nombre_de_host1,ip_o_nombre_de_host2,...}}` + +- Activa la detección de sistemas operativos, la detección de versión, el escaneo con secuencias de comandos y traceroute de hosts desde un archivo: + +`sudo nmap -A -iL {{ruta/al/archivo.txt}}` + +- Escanea una lista específica de puertos (usa -p- para todos los puertos de 1 a 65535): + +`nmap -p {{puerto1,puerto2,...}} {{ip_o_host1,ip_o_host2,...}}` + +- Detecta el servicio y versión de los top 1000 puertos usando las secuencias de comandos NSE por defecto y escribe los resultados (`-oA`) en archivos de salida: + +`nmap -sC -sV -oA {{top-1000-ports}} {{ip_o_host1,ip_o_host2,...}}` + +- Escanea objetivo(s) cuidadosamente usando las secuencias de comandos NSE `default and safe`: + +`nmap --script "default and safe" {{ip_o_host1,ip_o_host2,...}}` + +- Escanea servidores web ejecutándose en los puertos estándares 80 y 443 usando todas las secuencias de comando `http-*` NSE disponibles: + +`nmap --script "http-*" {{ip_o_host1,ip_o_host2,...}} -p 80,443` + +- Intentar evadi la detección IDS/IPS utilizando un escaneo extremadamente lento (`-T0`) y usando direcciones de origen de señuelo (`-D`), paquetes [f]ragmentados, datos aleatorios y otros métodos: + +`sudo nmap -T0 -D {{ip_de_señuelo1,ip_de_señuelo2,...}} --source-port {{53}} -f --data-length {{16}} -Pn {{ip_o_host}}` diff --git a/pages.es/common/nms.md b/pages.es/common/nms.md new file mode 100644 index 00000000000000..dd7e947fa9eb16 --- /dev/null +++ b/pages.es/common/nms.md @@ -0,0 +1,20 @@ +# nms + +> Herramienta de línea de comandos que recrea el famoso efecto de desencriptado de datos de la película Sneakers (1992). +> Más información: . + +- Desencripta el texto tras presionar una tecla: + +`echo "{{Hola, Mundo!}}" | nms` + +- Desencripta la salida inmediatamente, sin esperar a que una tecla sea pulsada: + +`{{ls -la}} | nms -a` + +- Desencripta el contenido de un archivo, especificando el color de la salida: + +`cat {{ruta/al/archivo}} | nms -a -f {{blue|white|yellow|black|magenta|green|red}}` + +- Limpia la pantalla antes de desencriptar: + +`{{comando}} | nms -a -c` diff --git a/pages.es/common/nnn.md b/pages.es/common/nnn.md new file mode 100644 index 00000000000000..7e0ba8b212aa65 --- /dev/null +++ b/pages.es/common/nnn.md @@ -0,0 +1,29 @@ +# nnn + +> Gestor de archivos de terminal interactivo y analizador de uso de disco. +> Vea también: `clifm`, `mc`, `ranger`, `vifm`. +> Más información: . + +- Abre el directorio actual (o especifica uno como primer argumento): + +`nnn` + +- Inicia en modo detallado: + +`nnn -d` + +- Muestra archivos ocultos: + +`nnn -H` + +- Abre un marcador existente (definido en la variable de entorno `NNN_BMS`): + +`nnn -b {{nombre_del_marcador}}` + +- Ordena los archivos por [a]parente uso de disco / uso de [d]isco / [e]xtensión / inve[r]so / tamaño / [t]iempo / [v]ersión: + +`nnn -T {{a|d|e|r|s|t|v}}` + +- Abre archivos que elijas. Selecciona un archivo y oprime ``, después escribe el nombre del programa con el cual abrirlo: + +`nnn -o` diff --git a/pages.es/common/noti.md b/pages.es/common/noti.md new file mode 100644 index 00000000000000..e879e761cba761 --- /dev/null +++ b/pages.es/common/noti.md @@ -0,0 +1,16 @@ +# noti + +> Monitorea un proceso y activa una notificación gráfica de voz o servicio. +> Más información: . + +- Muestra una notificación cuando `tar` termina de comprimir archivos: + +`noti {{tar -cjf ejemplo.tar.bz2 ejemplo/}}` + +- Muestra una notificación incluso cuando se pone después del comando a vigilar: + +`{{comando_a_vigilar}}; noti` + +- Monitorea un proceso por PID y activa una notificación cuando el PID desaparece: + +`noti -w {{identificador_del_proceso}}` diff --git a/pages.es/common/npm-author.md b/pages.es/common/npm-author.md new file mode 100644 index 00000000000000..89086f9de88a75 --- /dev/null +++ b/pages.es/common/npm-author.md @@ -0,0 +1,7 @@ +# npm author + +> Este comando es un alias de `npm owner`. + +- Vea la documentación para el comando original: + +`tldr npm owner` diff --git a/pages.es/common/npm-config.md b/pages.es/common/npm-config.md new file mode 100644 index 00000000000000..916f101ab2c710 --- /dev/null +++ b/pages.es/common/npm-config.md @@ -0,0 +1,32 @@ +# npm config + +> Gestiona los ajustes de configuración de `npm`. +> Más información: . + +- Muestra todos los ajustes de configuración: + +`npm {{[c|config]}} list` + +- Lista todos los ajustes de configuración como `JSON`: + +`npm {{[c|config]}} list --json` + +- Obtiene el valor de una clave de configuración específica: + +`npm {{[c|config]}} get {{clave}}` + +- Establece una clave de configuración a un valor específico: + +`npm {{[c|config]}} set {{clave}} {{valor}}` + +- Elimina una clave de configuración: + +`npm {{[c|config]}} delete {{clave}}` + +- Edita el archivo de configuración global npm en el editor por defecto: + +`npm {{[c|config]}} edit` + +- Intentar reparar elementos de configuración no válidos: + +`npm {{[c|config]}} fix` diff --git a/pages.es/common/npm-docs.md b/pages.es/common/npm-docs.md new file mode 100644 index 00000000000000..6520aab4a108c6 --- /dev/null +++ b/pages.es/common/npm-docs.md @@ -0,0 +1,12 @@ +# npm docs + +> Abre la documentación de uno o más paquetes en el navegador web por defecto. +> Más información: . + +- Abre la página de documentación de un paquete específico: + +`npm docs {{paquete}}` + +- Abre las páginas de documentación de varios paquetes a la vez: + +`npm docs {{paquete1 paquete2 ...}}` diff --git a/pages.es/common/npm-list.md b/pages.es/common/npm-list.md new file mode 100644 index 00000000000000..877deef18633d7 --- /dev/null +++ b/pages.es/common/npm-list.md @@ -0,0 +1,7 @@ +# npm list + +> Este comando es un alias de `npm ls`. + +- Vea la documentación para el comando original: + +`tldr npm ls` diff --git a/pages.es/common/npm-ls.md b/pages.es/common/npm-ls.md new file mode 100644 index 00000000000000..be78645ac83975 --- /dev/null +++ b/pages.es/common/npm-ls.md @@ -0,0 +1,24 @@ +# npm ls + +> Imprime los paquetes instalados a `stdout`. +> Más información: . + +- Imprime todas las versiones de dependencias directas a `stdout`: + +`npm ls` + +- Imprime todos los paquetes instalados incluyendo las dependencias de pares: + +`npm ls {{[-a|--all]}}` + +- Imprime las dependencias con información ampliada: + +`npm ls {{[-l|--long]}}` + +- Imprime las dependencias en formato analizable: + +`npm ls {{[-p|--parseable]}}` + +- Imprime dependencias en formato JSON: + +`npm ls --json` diff --git a/pages.es/common/npm-owner.md b/pages.es/common/npm-owner.md new file mode 100644 index 00000000000000..c8c35ebfaeebec --- /dev/null +++ b/pages.es/common/npm-owner.md @@ -0,0 +1,16 @@ +# npm owner + +> Gestiona la propiedad de paquetes publicados. +> Más información: . + +- Añade un nuevo usuario como un mantenedor de un paquete: + +`npm owner add {{usuario}} {{nombre_del_paquete}}` + +- Elimina un usuario de la lista de propietarios de un paquete: + +`npm owner rm {{usuario}} {{nombre_del_paquete}}` + +- Lista todos los propietarios de un paquete: + +`npm owner ls {{nombre_del_paquete}}` diff --git a/pages.es/common/npm-restart.md b/pages.es/common/npm-restart.md new file mode 100644 index 00000000000000..8387f92616e209 --- /dev/null +++ b/pages.es/common/npm-restart.md @@ -0,0 +1,7 @@ +# npm restart + +> Este comando es un alias de `npm run restart`. + +- Vea la documentación para el comando original: + +`tldr npm run` diff --git a/pages.es/common/npm-run-script.md b/pages.es/common/npm-run-script.md new file mode 100644 index 00000000000000..62b747c0a834c7 --- /dev/null +++ b/pages.es/common/npm-run-script.md @@ -0,0 +1,7 @@ +# npm run-script + +> Este comando es un alias de `npm run`. + +- Vea la documentación para el comando original: + +`tldr npm run` diff --git a/pages.es/common/npm-run.md b/pages.es/common/npm-run.md new file mode 100644 index 00000000000000..b8337b3a697a0a --- /dev/null +++ b/pages.es/common/npm-run.md @@ -0,0 +1,28 @@ +# npm run + +> Corre un guión (script). +> Más información: . + +- Corre un guión: + +`npm run {{nombre_del_guión}}` + +- Pasa argumentos a un guión: + +`npm run {{nombre_del_guión}} -- {{argumento}} {{--opción}}` + +- Ejecuta un guión llamado `start`: + +`npm start` + +- Ejecuta un guión llamado `stop`: + +`npm stop` + +- Ejecuta un guión llamado 'restart': + +`npm restart` + +- Ejecuta un guión llamado `test`: + +`npm test` diff --git a/pages.es/common/npm-start.md b/pages.es/common/npm-start.md new file mode 100644 index 00000000000000..9a61239a2b6412 --- /dev/null +++ b/pages.es/common/npm-start.md @@ -0,0 +1,7 @@ +# npm start + +> Este comando es un alias de `npm run start`. + +- Vea la documentación para el comando original: + +`tldr npm run` diff --git a/pages.es/common/npm-stop.md b/pages.es/common/npm-stop.md new file mode 100644 index 00000000000000..66dde4dd37cfc3 --- /dev/null +++ b/pages.es/common/npm-stop.md @@ -0,0 +1,7 @@ +# npm stop + +> Este comando es un alias de `npm run stop`. + +- Vea la documentación para el comando original: + +`tldr npm run` diff --git a/pages.es/common/npm-test.md b/pages.es/common/npm-test.md new file mode 100644 index 00000000000000..033da8a22f7660 --- /dev/null +++ b/pages.es/common/npm-test.md @@ -0,0 +1,7 @@ +# npm test + +> Este comando es un alias de `npm run test`. + +- Vea la documentación para el comando original: + +`tldr npm run` diff --git a/pages.es/common/npm.md b/pages.es/common/npm.md new file mode 100644 index 00000000000000..7e0aaae4ba032e --- /dev/null +++ b/pages.es/common/npm.md @@ -0,0 +1,37 @@ +# npm + +> Gestor de paquetes JavaScript y Node.js. +> Gestiona proyectos Node.js y sus dependencias de módulos. +> Más información: . + +- Crea un archivo `package.json` con los valores por defecto (omite --yes para hacerlo de forma interactiva): + +`npm init {{[-y|--yes]}}` + +- Descarga todos los paquetes alistados como dependencias en `package.json`: + +`npm {{[i|install]}}` + +- Descarga una versión específica de un paquete y lo añade a la lista de dependencias en `package.json`: + +`npm {{[i|install]}} {{nombre_paquete}}@{{versión}}` + +- Descarga la última versión de un paquete y lo añade a la lista de dependencias de desarrollo en `package.json`: + +`npm {{[i|install]}} {{nombre_paquete}} {{[-D|--save-dev]}}` + +- Descarga la última versión de un paquete y lo instala globalmente: + +`npm {{[i|install]}} {{[-g|--global]}} {{nombre_paquete}}` + +- Desinstala un paquete y lo elimina de la lista de dependencias en `package.json`: + +`npm {{[r|uninstall]}} {{nombre_paquete}}` + +- Lista de dependencias instaladas localmente: + +`npm {{[ls|list]}}` + +- Lista los paquetes instalados globalmente: + +`npm {{[ls|list]}} {{[-g|--global]}} --depth {{0}}` diff --git a/pages.es/common/ntl.md b/pages.es/common/ntl.md new file mode 100644 index 00000000000000..ab6867a9f03fec --- /dev/null +++ b/pages.es/common/ntl.md @@ -0,0 +1,7 @@ +# ntl + +> Este comando es un alias de `netlify`. + +- Vea la documentación del comando original: + +`tldr netlify` diff --git a/pages.es/common/nxc-ftp.md b/pages.es/common/nxc-ftp.md new file mode 100644 index 00000000000000..a0c3653cdb763a --- /dev/null +++ b/pages.es/common/nxc-ftp.md @@ -0,0 +1,24 @@ +# nxc ftp + +> Prueba y explota servidores FTP. +> Más información: . + +- Busca credenciales válidas probando cada combinación en las listas especificadas de nombres de [u]suario y contraseñas: + +`nxc ftp {{192.168.178.2}} -u {{ruta/a/nombres_de_usuario.txt}} -p {{ruta/a/contraseñas.txt}}` + +- Continúa buscando credenciales válidas incluso después de haberlas encontrado: + +`nxc ftp {{192.168.178.2}} -u {{ruta/a/nombres_de_usuario.txt}} -p {{ruta/a/contraseñas.txt}} --continue-on-success` + +- Realiza listados de directorios en cada servidor FTP en el que sean válidas las credenciales proporcionadas: + +`nxc ftp {{192.168.178.0/24}} -u {{usuario}} -p {{contraseña}} --ls` + +- Descarga el archivo especificado desde el servidor de destino: + +`nxc ftp {{192.168.178.2}} -u {{usuario}} -p {{contraseña}} --get {{ruta/al/archivo}}` + +- Carga el archivo especificado en el servidor de destino en la ubicación especificada: + +`nxc ftp {{192.168.178.2}} -u {{usuario}} -p {{contraseña}} --put {{ruta/al/archivo_local}} {{ruta/a/ubicación_remota}}` diff --git a/pages.es/common/nxc-smb.md b/pages.es/common/nxc-smb.md new file mode 100644 index 00000000000000..99cf034b9f46d3 --- /dev/null +++ b/pages.es/common/nxc-smb.md @@ -0,0 +1,28 @@ +# nxc smb + +> Prueba y explota servidores SMB. +> Más información: . + +- Busca credenciales de dominio válidas probando cada combinación en las listas especificadas de nombres de [u]suario y contraseñas: + +`nxc smb {{192.168.178.2}} -u {{ruta/a/nombres_de_usuario.txt}} -p {{ruta/a/contraseñas.txt}}` + +- Busca credenciales válidas para cuentas locales en lugar de cuentas de dominio: + +`nxc smb {{192.168.178.2}} -u {{ruta/a/nombres_de_usuario.txt}} -p {{ruta/a/contraseñas.txt}} --local-auth` + +- Enumera los recursos compartidos SMB y los derechos de acceso de los usuarios especificados en los hosts de destino: + +`nxc smb {{192.168.178.0/24}} -u {{usuario}} -p {{contraseña}} --shares` + +- Enumera las interfaces de red en los hosts de destino, realizando la autenticación mediante pass-the-hash: + +`nxc smb {{192.168.178.30-45}} -u {{usuario}} -H {{NTLM_hash}} --interfaces` + +- Analiza los hosts de destino en busca de vulnerabilidades frecuentes: + +`nxc smb {{ruta/a/lista_objetivo.txt}} -u '' -p '' -M zerologon -M petitpotam` + +- Intenta ejecutar un comando en los hosts de destino: + +`nxc smb {{192.168.178.2}} -u {{usuario}} -p {{contraseña}} -x {{comando}}` diff --git a/pages.es/common/nxc-ssh.md b/pages.es/common/nxc-ssh.md new file mode 100644 index 00000000000000..59cb0c3eb9bae8 --- /dev/null +++ b/pages.es/common/nxc-ssh.md @@ -0,0 +1,25 @@ +# nxc ssh + +> Prueba y explota servidores SSH. +> Vea también: `hydra`. +> Más información: . + +- Pulveriza la contraseña especificada contra una lista de nombres de usuario en el objetivo especificado: + +`nxc ssh {{192.168.178.2}} -u {{ruta/a/nombres_de_usuario.txt}} -p {{contraseña}}` + +- Busca credenciales válidas probando todas las combinaciones de nombres de usuario y contraseñas de las listas especificadas: + +`nxc ssh {{192.168.178.2}} -u {{ruta/a/nombres_de_usuario.txt}} -p {{ruta/a/contraseñas.txt}}` + +- Utiliza la clave privada especificada para la autenticación, utilizando la contraseña suministrada como frase de contraseña de la clave: + +`nxc ssh {{192.186.178.2}} -u {{ruta/a/nombres_de_usuario.txt}} -p {{contraseña}} --key-file {{ruta/a/id_rsa}}` + +- Prueba una combinación de nombres de usuario y contraseñas en una serie de objetivos: + +`nxc ssh {{192.168.178.0/24}} -u {{usuario}} -p {{contraseña}}` + +- Comprueba los privilegios `sudo` en un inicio de sesión correcto: + +`nxc ssh {{192.168.178.2}} -u {{usuario}} -p {{ruta/a/contraseñas.txt}} --sudo-check` diff --git a/pages.es/common/nxc.md b/pages.es/common/nxc.md new file mode 100644 index 00000000000000..176b059510d9d4 --- /dev/null +++ b/pages.es/common/nxc.md @@ -0,0 +1,21 @@ +# nxc + +> Herramienta de enumeración y explotación de servicios de red. +> Algunos subcomandos como `smb` tienen su propia documentación de uso. +> Más información: . + +- Lista módulos disponibles para el protocolo especificado: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-L|--list-modules]}}` + +- Lista las opciones disponibles para el módulo especificado: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{nombre_del_módulo}} --options` + +- Especifica una opción para un módulo: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{nombre_del_módulo}} -o {{NOMBRE_OPCION}}={{valor_opción}}` + +- Vea las opciones disponibles para el protocolo especificado: + +`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-h|--help]}}` diff --git a/pages.es/common/o.md b/pages.es/common/o.md new file mode 100644 index 00000000000000..cccee24b3a52c8 --- /dev/null +++ b/pages.es/common/o.md @@ -0,0 +1,24 @@ +# o + +> Orbiton, un sencillo editor de texto sin configuración. +> Más información: . + +- Abre un archivo en el editor: + +`o {{ruta/a/archivo}}` + +- Abre un archivo como de solo lectura: + +`o {{[-m|-monitor]}} {{ruta/a/archivo}}` + +- Guarda el archivo: + +`` + +- Sale de Orbiton: + +`` + +- Muestra la ayuda: + +`o {{[-h|--help]}}` diff --git a/pages.es/common/objdump.md b/pages.es/common/objdump.md new file mode 100644 index 00000000000000..a906ef4455cc4b --- /dev/null +++ b/pages.es/common/objdump.md @@ -0,0 +1,24 @@ +# objdump + +> Muestra información sobre los archivos objeto. +> Más información: . + +- Muestra la información del encabezado del archivo: + +`objdump {{[-f|--file-headers]}} {{ruta/al/binario}}` + +- Muestra toda la información del encabezado: + +`objdump {{[-x|--all-headers]}} {{ruta/al/binario}}` + +- Muestra la salida desensamblada (disassembled) de secciones ejecutables: + +`objdump {{[-d|--disassemble]}} {{ruta/al/binario}}` + +- Muestra las secciones ejecutables desensambladas con sintaxis Intel: + +`objdump {{[-M|--disassembler-options]}} intel {{[-d|--disassemble]}} {{ruta/al/binario}}` + +- Muestra un volcado hexadecimal ruta/al/binario completo de todas las secciones: + +`objdump {{[-s|--full-contents]}} {{ruta/al/binario}}` diff --git a/pages.es/common/obs.md b/pages.es/common/obs.md new file mode 100644 index 00000000000000..30d4d0258ccf9c --- /dev/null +++ b/pages.es/common/obs.md @@ -0,0 +1,33 @@ +# obs + +> Open Broadcaster Software. +> Programa de grabación de vídeo y streaming en directo. +> Más información: . + +- Abre OBS: + +`obs` + +- Abre OBS en modo portátil: + +`obs {{[-p|--portable]}}` + +- Empieza automáticamente a grabar un vídeo al momento de abrirse: + +`obs --startrecording` + +- Empieza automáticamente el búfer de repetición al abrirse: + +`obs --startreplaybuffer` + +- Inicia automáticamente la transmisión al abrirse: + +`obs --startstreaming` + +- Se minimiza a la bandeja del sistema al abrirse: + +`obs --minimize-to-tray` + +- Hace el registro más detallado (para depurar): + +`obs --verbose` diff --git a/pages.es/common/octez-client.md b/pages.es/common/octez-client.md new file mode 100644 index 00000000000000..9501df5789522a --- /dev/null +++ b/pages.es/common/octez-client.md @@ -0,0 +1,32 @@ +# octez-client + +> Interactúa con la blockchain de Tezos. +> Más información: . + +- Configura el cliente con una conexión a un nodo RPC de Tezos como : + +`octez-client -E {{endpoint}} config update` + +- Crea una cuenta y le asigna un alias local: + +`octez-client gen keys {{alias}}` + +- Obtén el saldo de una cuenta por alias o dirección: + +`octez-client get balance for {{alias_o_dirección}}` + +- Transfiere tez a otra cuenta: + +`octez-client transfer {{5}} from {{alias|address}} to {{alias|address}}` + +- Crea (despliega) un contrato inteligente, le asignar un alias local y establece su almacenamiento inicial como un valor codificado por Michelson: + +`octez-client originate contract {{alias}} transferring {{0}} from {{alias|address}} running {{ruta/a/archivo_de_origen.tz}} --init "{{almacenamiento_inicial}}" --burn_cap {{1}}` + +- Llama a un contrato inteligente por su alias o dirección y pasa un parámetro codificado por Michelson: + +`octez-client transfer {{0}} from {{alias|address}} to {{contract}} --entrypoint "{{entrypoint}}" --arg "{{parámetro}}" --burn-cap {{1}}` + +- Muestra ayuda: + +`octez-client man` diff --git a/pages.es/common/olevba.md b/pages.es/common/olevba.md new file mode 100644 index 00000000000000..ecdbefe788a203 --- /dev/null +++ b/pages.es/common/olevba.md @@ -0,0 +1,29 @@ +# olevba + +> Analiza archivos OLE y OpenXML (p. ej., DOC, XLS, PPT, etc.) para extraer macros VBA, desofuscar y analizar código malicioso. +> Parte de la suite `python-oletools`. +> Más información: . + +- Analiza un archivo, mostrando tanto el código de la macro como los resultados del análisis: + +`olevba {{ruta/al/archivo}}` + +- Analiza recursivamente todos los archivos compatibles de un directorio: + +`olevba -r {{ruta/al/directorio}}` + +- Proporciona una contraseña para los archivos cifrados de Microsoft Office (puede repetirse): + +`olevba --password {{contraseña}} {{ruta/al/archivo_encriptado}}` + +- Muestra solo los resultados del análisis, sin mostrar el código fuente de la macro: + +`olevba -a {{ruta/al/archivo}}` + +- Muestra solo el código fuente de la macro: + +`olevba -c {{ruta/al/archivo}}` + +- Muestra cadenas ofuscadas y su contenido decodificado: + +`olevba --decode {{ruta/al/archivo}}` diff --git a/pages.es/common/ollama.md b/pages.es/common/ollama.md new file mode 100644 index 00000000000000..9151558bb83ca8 --- /dev/null +++ b/pages.es/common/ollama.md @@ -0,0 +1,37 @@ +# ollama + +> Un ejecutor de modelos de lenguaje grande. +> Para ver una lista de los modelos disponibles, consulta . +> Más información: . + +- Inicia el demonio requerido para ejecutar otros comandos: + +`ollama serve` + +- Ejecuta un modelo y chatea con él: + +`ollama run {{modelo}}` + +- Ejecuta un modelo con un solo mensaje: + +`ollama run {{modelo}} {{mensaje}}` + +- Lista los modelos descargados: + +`ollama list` + +- Descarga/actualiza un modelo específico: + +`ollama pull {{modelo}}` + +- Lista los modelos en ejecución: + +`ollama ps` + +- Elimina un modelo: + +`ollama rm {{modelo}}` + +- Crea un modelo desde un `Modelfile` ([f]): + +`ollama create {{nombre_nuevo_modelo}} -f {{ruta/al/Modelfile}}` diff --git a/pages.es/common/opera.md b/pages.es/common/opera.md new file mode 100644 index 00000000000000..a49afbafb52e9f --- /dev/null +++ b/pages.es/common/opera.md @@ -0,0 +1,8 @@ +# opera + +> Este comando es un alias de `chromium`. +> Más información: . + +- Vea la documentación para el comando original: + +`tldr chromium` diff --git a/pages.es/common/pactl.md b/pages.es/common/pactl.md new file mode 100644 index 00000000000000..0b178782515f2b --- /dev/null +++ b/pages.es/common/pactl.md @@ -0,0 +1,28 @@ +# pactl + +> Controla un servidor de sonido PulseAudio en ejecución. +> Más información: . + +- Muestra información sobre el servidor de sonido: + +`pactl info` + +- Lista todos los sinks (u otros tipos - los sinks son salidas y los sink-inputs son flujos de audio activos): + +`pactl list {{sinks}} short` + +- Cambia el sink (salida) predeterminado a 1 (el número se puede obtener mediante el subcomando `list`): + +`pactl set-default-sink {{1}}` + +- Mueve el sink-input 627 al sink 1: + +`pactl move-sink-input {{627}} {{1}}` + +- Establece el volumen del sink 1 al 75%: + +`pactl set-sink-volume {{1}} {{0.75}}` + +- Cambia el estado de silencio del sink predeterminado (usando el nombre especial `@DEFAULT_SINK@`): + +`pactl set-sink-mute {{@DEFAULT_SINK@}} toggle` diff --git a/pages.es/common/pambrighten.md b/pages.es/common/pambrighten.md new file mode 100644 index 00000000000000..8ac36b3581eeb9 --- /dev/null +++ b/pages.es/common/pambrighten.md @@ -0,0 +1,12 @@ +# pambrighten + +> Cambia la saturación y el valor de una imagen PAM. +> Más información: . + +- Aumenta la saturación de cada píxel con un porcentaje específico: + +`pambrighten {{[-s|-saturation]}} {{valor_porcentual}} {{ruta/a/imagen.pam}} > {{ruta/a/archivo_de_salida.pam}}` + +- Aumenta el valor (del espacio de color HSV) de cada píxel con un porcentaje específico: + +`pambrighten {{[-va|-value]}} {{valor_porcentual}} {{ruta/a/imagen.pam}} > {{ruta/a/archivo_de_salida.pam}}` diff --git a/pages.es/common/pamcut.md b/pages.es/common/pamcut.md new file mode 100644 index 00000000000000..c38364cc96a27d --- /dev/null +++ b/pages.es/common/pamcut.md @@ -0,0 +1,17 @@ +# pamcut + +> Corta una región rectangular de una imagen Netpbm. +> Vea también: `pamcrop`, `pamdice`, `pamcomp`. +> Más información: . + +- Descarta la cantidad de columnas/filas especificadas a cada lado de la imagen: + +`pamcut {{[-cropl|-cropleft]}} {{valor}} {{[-cropr|-cropright]}} {{valor}} {{[-cropt|-croptop]}} {{valor}} {{[-cropb|-cropbottom]}} {{valor}} {{ruta/a/la/imagen.ppm}} > {{ruta/al/resultado.ppm}}` + +- Mantiene solo las columnas entre las columnas especificadas (inclusivamente): + +`pamcut {{[-l|-left]}} {{valor}} {{[-ri|-right]}} {{valor}} {{ruta/a/la/imagen.ppm}} > {{ruta/al/resultado.ppm}}` + +- Llena áreas perdidas con píxeles negros si el rectángulo especificado no se encuentra completamente dentro de la imagen de entrada: + +`pamcut {{[-t|-top]}} {{valor}} {{[-b|-bottom]}} {{valor}} -pad {{ruta/a/la/imagen.ppm}} > {{ruta/al/resultado.ppm}}` diff --git a/pages.es/common/pamdepth.md b/pages.es/common/pamdepth.md new file mode 100644 index 00000000000000..5dff90a5da5b76 --- /dev/null +++ b/pages.es/common/pamdepth.md @@ -0,0 +1,8 @@ +# pamdepth + +> Reduce la profundidad (es decir, la resolución de color) en una imagen. +> Más información: . + +- Lee una imagen PBM, fija su valor máximo y la guarda en un archivo: + +`pamdepth {{valor_máximo}} {{ruta/a/la/imagen.pbm}} > {{ruta/al/archivo.pbm}}` diff --git a/pages.es/common/pamditherbw.md b/pages.es/common/pamditherbw.md new file mode 100644 index 00000000000000..5489f39c4f3db9 --- /dev/null +++ b/pages.es/common/pamditherbw.md @@ -0,0 +1,21 @@ +# pamditherbw + +> Aplica dithering a una imagen en escala de grises, es decir, la convierte en un patrón de píxeles blancos y negros que parecen iguales a la escala de grises original. +> Vea también: `pbmreduce`. +> Más información: . + +- Lee una imagen PGM, aplica la separación y la guarda en un archivo: + +`pamditherbw {{ruta/a/la/imagen.pgm}} > {{ruta/al/archivo.pgm}}` + +- Utiliza el método de cuantización especificado: + +`pamditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{ruta/a/la/imagen.pgm}} > {{ruta/al/archivo.pgm}}` + +- Utiliza el método de cuantización de atkinson y la semilla especificada para un generador de número pseudo-aleatorio: + +`pamditherbw {{[-a|-atkinson]}} {{[-r|-randomseed]}} {{1337}} {{ruta/a/la/imagen.pgm}} > {{ruta/al/archivo.pgm}}` + +- Especifica el valor de umbralización (thresholding) para los métodos de cuantización que realizan algún tipo de umbralización: + +`pamditherbw -{{fs|atkinson|thresholding}} {{[-va|-value]}} {{0.3}} {{ruta/a/la/imagen.pgm}} > {{ruta/al/archivo.pgm}}` diff --git a/pages.es/common/pamedge.md b/pages.es/common/pamedge.md new file mode 100644 index 00000000000000..dd759794e1ebb8 --- /dev/null +++ b/pages.es/common/pamedge.md @@ -0,0 +1,8 @@ +# pamedge + +> Realiza la detección de bordes en una imagen Netpbm. +> Más información: . + +- Detecta bordes en una imagen Netpbm: + +`pamedge {{ruta/a/entrada.pam}} > {{ruta/a/salida.pam}}` diff --git a/pages.es/common/pamenlarge.md b/pages.es/common/pamenlarge.md new file mode 100644 index 00000000000000..be1247a7c4ba27 --- /dev/null +++ b/pages.es/common/pamenlarge.md @@ -0,0 +1,13 @@ +# pamenlarge + +> Agranda una imagen PAM duplicando píxeles. +> Vea también: `pbmreduce`, `pamditherbw`, `pbmpscale`. +> Más información: . + +- Amplía la imagen especificada por el factor dado: + +`pamenlarge {{[-s|-scale]}} {{n}} {{ruta/a/la/imagen.pam}} > {{ruta/al/resultado.pam}}` + +- Amplía la imagen especificada por los factores especificados horizontal y verticalmente: + +`pamenlarge {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{ruta/a/la/imagen.pam}} > {{ruta/al/resultado.pam}}` diff --git a/pages.es/common/pamfile.md b/pages.es/common/pamfile.md new file mode 100644 index 00000000000000..1cbee0128803b2 --- /dev/null +++ b/pages.es/common/pamfile.md @@ -0,0 +1,16 @@ +# pamfile + +> Describe archivos Netpbm (PAM o PNM). +> Más información: . + +- Describe los archivos Netpbm especificados: + +`pamfile {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Describe cada imagen en cada archivo de entrada (a diferencia de la primera imagen en cada archivo) en un formato legible para la máquina: + +`pamfile {{[-a|-allimages]}} -machine {{ruta/al/archivo}}` + +- Muestra un conteo de cuántas imágenes contiene el archivo: + +`pamfile {{[-cou|-count]}} {{ruta/al/archivo}}` diff --git a/pages.es/common/pamflip.md b/pages.es/common/pamflip.md new file mode 100644 index 00000000000000..e0c3e6bb12a811 --- /dev/null +++ b/pages.es/common/pamflip.md @@ -0,0 +1,20 @@ +# pamflip + +> Refleja o gira una imagen PAM o PNM. +> Más información: . + +- Gira la imagen de entrada en sentido contrario a las manecillas del reloj una cantidad de grados específica: + +`pamflip {{[-r|-rotate]}}{{90|180|270}} {{ruta/a/la/entrada.pam}} > {{ruta/al/resultado.pam}}` + +- Refleja horizontalmente: + +`pamflip {{[-lr|-leftright]}} {{ruta/a/la/entrada.pam}} > {{ruta/al/resultado.pam}}` + +- Refleja verticalmente: + +`pamflip {{[-tb|-topbottom]}} {{ruta/a/la/entrada.pam}} > {{ruta/al/resultado.pam}}` + +- Refleja la imagen de entrada por la diagonal principal: + +`pamflip {{[-xy|-transpose]}} {{ruta/a/la/entrada.pam}} > {{ruta/al/resultado.pam}}` diff --git a/pages.es/common/pamnoraw.md b/pages.es/common/pamnoraw.md new file mode 100644 index 00000000000000..e419490059dff4 --- /dev/null +++ b/pages.es/common/pamnoraw.md @@ -0,0 +1,7 @@ +# pamnoraw + +> Este comando es un alias de `pamtopnm -plain`. + +- Vea la documentación para el comando original: + +`tldr pamtopnm` diff --git a/pages.es/common/pamslice.md b/pages.es/common/pamslice.md new file mode 100644 index 00000000000000..663b47d9e4787e --- /dev/null +++ b/pages.es/common/pamslice.md @@ -0,0 +1,20 @@ +# pamslice + +> Extrae una línea de valores de una imagen PAM. +> Más información: . + +- Imprime los valores de los píxeles de la n-ésima fila en una tabla: + +`pamslice {{[-r|-row]}} {{n}} {{ruta/a/imagen.pam}}` + +- Imprime los valores de los píxeles de la n-ésima columna de una tabla: + +`pamslice {{[-c|-column]}} {{n}} {{ruta/a/imagen.pam}}` + +- Considera solo el m-ésimo plano de la imagen de entrada: + +`pamslice {{[-r|-row]}} {{n}} -plane {{m}} {{ruta/a/imagen.pam}}` + +- Produce la salida en un formato adecuado para la entrada a un `xmgr` para la visualización: + +`pamslice {{[-r|-row]}} {{n}} {{[-x|-xmgr]}} {{ruta/a/imagen.pam}}` diff --git a/pages.es/common/pamstretch.md b/pages.es/common/pamstretch.md new file mode 100644 index 00000000000000..13b06376efc8aa --- /dev/null +++ b/pages.es/common/pamstretch.md @@ -0,0 +1,13 @@ +# pamstretch + +> Escala una imagen PAM interpolando entre píxeles. +> Vea también: `pamstretch-gen`, `pamenlarge`, `pamscale`. +> Más información: . + +- Escala una imagen PAM por un factor entero: + +`pamstretch {{n}} {{ruta/a/la/imagen.pam}} > {{ruta/al/resultado.pam}}` + +- Escala una imagen PAM por los factores especificados en las direcciones horizontales y verticales: + +`pamstretch {{[-x|-xscale]}} {{xn}} {{[-y|-yscale]}} {{yn}} {{ruta/a/la/imagen.pam}} > {{ruta/al/resultado.pam}}` diff --git a/pages.es/common/pamtogif.md b/pages.es/common/pamtogif.md new file mode 100644 index 00000000000000..54155901e5b013 --- /dev/null +++ b/pages.es/common/pamtogif.md @@ -0,0 +1,17 @@ +# pamtogif + +> Convierte una imagen Netpbm en una imagen GIF no animada. +> Vea también: `giftopnm`, `gifsicle`. +> Más información: . + +- Convierte una imagen Netpbm en una imagen GIF no animada: + +`pamtogif {{ruta/a/imagen.pam}} > {{ruta/a/imagen_de_salida.gif}}` + +- Marca el color especificado como transparente en el archivo GIF de salida: + +`pamtogif {{[-t|-transparent]}} {{color}} {{ruta/a/imagen.pam}} > {{ruta/a/imagen_de_salida.gif}}` + +- Incluye el texto especificado como comentario en el archivo GIF de salida: + +`pamtogif {{[-c|-comment]}} "{{¡Hola Mundo!}}" {{ruta/a/imagen.pam}} > {{ruta/a/imagen_de_salida.gif}}` diff --git a/pages.es/common/pamtopnm.md b/pages.es/common/pamtopnm.md new file mode 100644 index 00000000000000..7346283063e0e4 --- /dev/null +++ b/pages.es/common/pamtopnm.md @@ -0,0 +1,12 @@ +# pamtopnm + +> Convierte una imagen PAM en una imagen PNM equivalente. +> Más información: . + +- Convierte una imagen PAM en una imagen PNM equivalente, es decir, una imagen PBM, PGM o PPM: + +`pamtopnm {{ruta/a/la/imagen.pam}} > {{ruta/al/resultado.pbm|pgm|ppm}}` + +- Muestra la versión: + +`pamtopnm {{[-v|-version]}}` diff --git a/pages.es/common/pamtouil.md b/pages.es/common/pamtouil.md new file mode 100644 index 00000000000000..177bcdbf0fbcd7 --- /dev/null +++ b/pages.es/common/pamtouil.md @@ -0,0 +1,12 @@ +# pamtouil + +> Convierte un archivo PNM o PAM en un archivo de iconos UIL de Motif. +> Más información: . + +- Convierte un archivo PNM o PAM en un archivo de icono Motif UIL: + +`pamtouil {{ruta/a/entrada.[pnm|pam]}} > {{ruta/a/salida.uil}}` + +- Especifique una cadena de prefijo que se imprimirá en el archivo UIL de salida: + +`pamtouil {{[-n|-name]}} {{nombre_uil}} {{ruta/a/entrada.[pnm|pam]}} > {{ruta/a/salida.uil}}` diff --git a/pages.es/common/pangolin.md b/pages.es/common/pangolin.md new file mode 100644 index 00000000000000..99e305adff9cc5 --- /dev/null +++ b/pages.es/common/pangolin.md @@ -0,0 +1,12 @@ +# pangolin + +> Implementa la nomenclatura dinámica de linajes de SARS-CoV-2 (nomenclatura Pango). +> Más información: . + +- Ejecuta `pangolin` en el archivo FASTA especificado: + +`pangolin {{ruta/al/archivo.fa}}` + +- Utiliza el motor de análisis especificado: + +`pangolin --analysis-mode {{accurate|fast|pangolearn|usher}}` diff --git a/pages.es/common/pants.md b/pages.es/common/pants.md new file mode 100644 index 00000000000000..3b5411797ad431 --- /dev/null +++ b/pages.es/common/pants.md @@ -0,0 +1,32 @@ +# pants + +> Herramienta de flujo de trabajo rápida, escalable, fácil de usar y de código abierto. +> Más información: . + +- Lista todos los objetivos: + +`pants list ::` + +- Ejecuta todas las pruebas: + +`pants test ::` + +- Arregla, formatea y limpia sólo los archivos no comprometidos: + +`pants --changed-since=HEAD fix fmt lint` + +- Comprueba sólo los archivos no comprometidos y sus dependientes: + +`pants --changed-since=HEAD --changed-dependents=transitive check` + +- Crea un paquete distribuible para el objetivo especificado: + +`pants package {{ruta/al/directorio:nombre-destino}}` + +- Autogenera objetivos de archivo BUILD para nuevos archivos fuente: + +`pants tailor ::` + +- Muestra la ayuda: + +`pants help` diff --git a/pages.es/common/par2.md b/pages.es/common/par2.md new file mode 100644 index 00000000000000..2b1af83b8728c4 --- /dev/null +++ b/pages.es/common/par2.md @@ -0,0 +1,20 @@ +# par2 + +> Verificación y reparación de archivos utilizando archivos de paridad compatibles con PAR 2.0 (archivos .par2). +> Más información: . + +- Crea un archivo de paridad con un nivel de porcentaje de redundancia establecido: + +`par2 create -r{{1..100}} -- {{ruta/al/archivo}}` + +- Crea un archivo de paridad con un número determinado de archivos de volumen (además del archivo de índice): + +`par2 create -n{{1..32768}} -- {{ruta/al/archivo}}` + +- Verifica un fichero con un archivo de paridad: + +`par2 verify -- {{ruta/al/archivo.par2}}` + +- Repara un fichero con un archivo de paridad: + +`par2 repair -- {{ruta/al/archivo.par2}}` diff --git a/pages.es/common/passwd.md b/pages.es/common/passwd.md new file mode 100644 index 00000000000000..ffb10db38cb838 --- /dev/null +++ b/pages.es/common/passwd.md @@ -0,0 +1,20 @@ +# passwd + +> Cambia la contraseña de un usuario. +> Más información: . + +- Cambia la contraseña del usuario actual de forma interactiva: + +`passwd` + +- Cambia la contraseña de un usuario específico: + +`passwd {{usuario}}` + +- Obtiene el estado actual del usuario: + +`passwd {{[-S|--status]}}` + +- Hace que la contraseña de la cuenta esté en blanco (hará que la cuenta nombrada no tenga contraseña): + +`passwd {{[-d|--delete]}}` diff --git a/pages.es/common/patch.md b/pages.es/common/patch.md new file mode 100644 index 00000000000000..29c91c0057b508 --- /dev/null +++ b/pages.es/common/patch.md @@ -0,0 +1,25 @@ +# patch + +> Emparcha un archivo (o archivos) con un archivo diff. +> Ten en cuenta que los archivos diff deben ser generados por el comando `diff`. +> Más información: . + +- Aplica un parche usando un archivo diff (los nombres de archivo deben incluirse en el archivo diff): + +`patch < {{parche.diff}}` + +- Aplica un parche a un archivo específico: + +`patch {{ruta/al/archivo}} < {{parche.diff}}` + +- Emparcha un archivo escribiendo el resultado a un archivo diferente: + +`patch {{ruta/al/archivo_de_entrada}} -o {{ruta/al/archivo_resultado}} < {{parche.diff}}` + +- Aplica un parche al directorio actual: + +`patch -p1 < {{parche.diff}}` + +- Aplica el reverso de un parche: + +`patch -R < {{parche.diff}}` diff --git a/pages.es/common/pcapfix.md b/pages.es/common/pcapfix.md new file mode 100644 index 00000000000000..7d8fd2c455d6b9 --- /dev/null +++ b/pages.es/common/pcapfix.md @@ -0,0 +1,24 @@ +# pcapfix + +> Repara archivos PCAP y PcapNG dañados o corruptos. +> Más información: . + +- Repara un archivo PCAP/PcapNG (Nota: para los archivos PCAP, sólo se escanean los primeros 262144 bytes de cada paquete): + +`pcapfix {{ruta/al/archivo.pcapng}}` + +- Repara un archivo PCAP completo: + +`pcapfix --deep-scan {{ruta/al/archivo.pcap}}` + +- Repara un archivo PCAP/PcapNG y escribe el archivo reparado en la ubicación especificada: + +`pcapfix --outfile {{ruta/al/archivo_reparado.pcap}} {{ruta/al/archivo.pcap}}` + +- Repara un archivo PcapNG y lo trata como un archivo PcapNG, ignorando el reconocimiento automático: + +`pcapfix --pcapng {{ruta/al/archivo.pcapng}}` + +- Repara un archivo y muestra el proceso en detalle: + +`pcapfix --verbose {{ruta/al/archivo.pcap}}` diff --git a/pages.es/common/pcdindex.md b/pages.es/common/pcdindex.md new file mode 100644 index 00000000000000..8f6be9377a5150 --- /dev/null +++ b/pages.es/common/pcdindex.md @@ -0,0 +1,8 @@ +# pcdindex + +> Este comando ha sido renombrado a `pcdovtoppm`. +> Más información: . + +- Consulta la documentación del comando con su nombre actual: + +`tldr pcdovtoppm` diff --git a/pages.es/common/pcdovtoppm.md b/pages.es/common/pcdovtoppm.md new file mode 100644 index 00000000000000..a59180e0a54b76 --- /dev/null +++ b/pages.es/common/pcdovtoppm.md @@ -0,0 +1,20 @@ +# pcdovtoppm + +> Crea una imagen índice para un CD de fotos basándose en su archivo de resumen. +> Más información: . + +- Crea una imagen índice PPM a partir de un archivo de vista general PCD: + +`pcdovtoppm {{ruta/al/archivo.pcd}} > {{ruta/al/archivo.ppm}}` + +- Especifica la anchura máxima de la imagen de salida y el tamaño máximo de cada una de las imágenes contenidas en la salida: + +`pcdovtoppm {{[-m|-maxwidth]}} {{anchura}} {{[-s|-size]}} {{tamaño}} {{ruta/al/archivo.pcd}} > {{ruta/al/archivo.ppm}}` + +- Especifica el número máximo de imágenes y el número máximo de colores: + +`pcdovtoppm {{[-a|-across]}} {{n_imágenes}} {{[-c|-colors]}} {{n_colores}} {{ruta/al/archivo.pcd}} > {{ruta/al/archivo_salida.ppm}}` + +- Utiliza la fuente especificada para las anotaciones y pinta el fondo blanco: + +`pcdovtoppm {{[-f|-font]}} {{fuente}} {{[-w|-white]}} {{ruta/al/archivo.pcd}} > {{ruta/al/archivo.ppm}}` diff --git a/pages.es/common/perl-rename.md b/pages.es/common/perl-rename.md new file mode 100644 index 00000000000000..8d1e1f28a0cec2 --- /dev/null +++ b/pages.es/common/perl-rename.md @@ -0,0 +1,7 @@ +# perl-rename + +> Este comando es un alias de `rename`. + +- Vea la documentación del comando original: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.es/common/pg_ctl.md b/pages.es/common/pg_ctl.md new file mode 100644 index 00000000000000..7d40cb6b876ddd --- /dev/null +++ b/pages.es/common/pg_ctl.md @@ -0,0 +1,24 @@ +# pg_ctl + +> Utilidad para controlar un servidor PostgreSQL y un grupo (clúster) de bases de datos. +> Más información: . + +- Inicia un nuevo grupo de base de datos PostgreSQL: + +`pg_ctl -D {{directorio_de_datos}} init` + +- Inicia un servidor PostgreSQL: + +`pg_ctl -D {{directorio_de_datos}} start` + +- Detiene un servidor PostgreSQL: + +`pg_ctl -D {{directorio_de_datos}} stop` + +- Reinicia un servidor PostgreSQL: + +`pg_ctl -D {{directorio_de_datos}} restart` + +- Recarga la configuración del servidor PostgreSQL: + +`pg_ctl -D {{directorio_de_datos}} reload` diff --git a/pages.es/common/pg_dump.md b/pages.es/common/pg_dump.md new file mode 100644 index 00000000000000..064e2925ced828 --- /dev/null +++ b/pages.es/common/pg_dump.md @@ -0,0 +1,28 @@ +# pg_dump + +> Extrae una base de datos PostgreSQL en un archivo de script u otro archivo de almacenamiento. +> Más información: . + +- Vuelca la base de datos en un archivo script-SQL: + +`pg_dump {{nombre_base_de_datos}} > {{archivo_resultado.sql}}` + +- Igual que antes usando además un nombre de usuario: + +`pg_dump {{[-U|--username]}} {{usuario}} {{nombre_base_de_datos}} > {{archivo_resultado.sql}}` + +- Lo mismo que antes usando además equipo y puerto: + +`pg_dump {{[-h|--host]}} {{equipo}} {{[-p|--port]}} {{puerto}} {{nombre_base_de_datos}} > {{archivo_resultado.sql}}` + +- Vuelca una base de datos en un archivo de formato personalizado: + +`pg_dump {{[-F|--format]}} {{[c|custom]}} {{nombre_base_de_datos}} > {{archivo_resultado.dump}}` + +- Recupera solo datos de bases de datos en un archivo script-SQL: + +`pg_dump {{[-a|--data-only]}} {{nombre_base_de_datos}} > {{ruta/al/archivo_resultado.sql}}` + +- Vuelca solo el esquema (definiciones de datos) en un archivo script-SQL: + +`pg_dump {{[-s|--schema-only]}} {{nombre_base_de_datos}} > {{ruta/al/archivo_resultado.sql}}` diff --git a/pages.es/common/pg_dumpall.md b/pages.es/common/pg_dumpall.md new file mode 100644 index 00000000000000..2450380cdab619 --- /dev/null +++ b/pages.es/common/pg_dumpall.md @@ -0,0 +1,24 @@ +# pg_dumpall + +> Extrae un grupo de bases de datos PostgreSQL en un archivo de script u otro archivo de almacenamiento. +> Más información: . + +- Vuelca todas las bases de datos: + +`pg_dumpall > {{ruta/al/archivo.sql}}` + +- Vuelca todas las bases de datos utilizando un nombre de usuario específico: + +`pg_dumpall {{[-U|--username]}} {{usuario}} > {{ruta/al/archivo.sql}}` + +- Lo mismo que antes, usando un equipo y puerto: + +`pg_dumpall {{[-h|--host]}} {{equipo}} {{[-p|--port]}} {{puerto}} > {{archivo_resultado.sql}}` + +- Recupera solo datos de las bases de datos en un archivo script-SQL: + +`pg_dumpall {{[-a|--data-only]}} > {{ruta/al/archivo.sql}}` + +- Vuelca solo el esquema (definiciones de datos) en un archivo script-SQL: + +`pg_dumpall {{[-s|--schema-only]}} > {{archivo_resultado.sql}}` diff --git a/pages.es/common/pg_isready.md b/pages.es/common/pg_isready.md new file mode 100644 index 00000000000000..c54206473f8160 --- /dev/null +++ b/pages.es/common/pg_isready.md @@ -0,0 +1,16 @@ +# pg_isready + +> Comprueba el estado de conexión de un servidor PostgreSQL. +> Más información: . + +- Verifica la conexión: + +`pg_isready` + +- Revisa la conexión con un nombre de host específico y el puerto: + +`pg_isready --host={{nombre_del_equipo}} --port={{puerto}}` + +- Comprueba la conexión mostrando un mensaje solo cuando la conexión falla: + +`pg_isready --quiet` diff --git a/pages.es/common/pg_restore.md b/pages.es/common/pg_restore.md new file mode 100644 index 00000000000000..82deeace77e449 --- /dev/null +++ b/pages.es/common/pg_restore.md @@ -0,0 +1,28 @@ +# pg_restore + +> Restaura una base de datos PostgreSQL de un archivo creado con pg_dump. +> Más información: . + +- Restaura un archivo en una base de datos existente: + +`pg_restore -d {{nombre_base_de_datos}} {{archivo_de_datos.dump}}` + +- Igual que antes, utilizando un nombre de usuario: + +`pg_restore -U {{usuario}} -d {{nombre_base_de_datos}} {{archivo_de_datos.dump}}` + +- Lo mismo que antes, usando un nombre de equipo y puerto: + +`pg_restore -h {{equipo}} -p {{puerto}} -d {{nombre_base_de_datos}} {{archivo_de_datos.dump}}` + +- Lista los objetos de bases de datos incluidos en el archivo: + +`pg_restore --list {{archivo_de_datos.dump}}` + +- Limpia los objetos de base de datos antes de crearlos: + +`pg_restore --clean -d {{nombre_base_de_datos}} {{archivo_de_datos.dump}}` + +- Utiliza múltiples trabajos para hacer la restauración: + +`pg_restore -j {{2}} -d {{nombre_base_de_datos}} {{archivo_de_datos.dump}}` diff --git a/pages.es/common/pgbench.md b/pages.es/common/pgbench.md new file mode 100644 index 00000000000000..530e0e8edb2fb2 --- /dev/null +++ b/pages.es/common/pgbench.md @@ -0,0 +1,12 @@ +# pgbench + +> Ejecuta una prueba de referencia (benchmark test) en PostgreSQL. +> Más información: . + +- Inicia una base de datos con un factor de escalamiento de 50 veces el tamaño predeterminado: + +`pgbench --initialize --scale={{50}} {{nombre_base_de_datos}}` + +- Hace una prueba de referencia a una base de datos con 10 clientes, 2 hilos de trabajo y 10.000 transacciones por cliente: + +`pgbench --client={{10}} --jobs={{2}} --transactions={{10000}} {{nombre_base_de_datos}}` diff --git a/pages.es/common/pgmedge.md b/pages.es/common/pgmedge.md new file mode 100644 index 00000000000000..f4c09ec5ca0f12 --- /dev/null +++ b/pages.es/common/pgmedge.md @@ -0,0 +1,8 @@ +# pgmedge + +> Este comando ha sido sustituido por `pamedge`. +> Más información: . + +- Consulta la documentación del comando actual: + +`tldr pamedge` diff --git a/pages.es/common/pgmnorm.md b/pages.es/common/pgmnorm.md new file mode 100644 index 00000000000000..0203b9e7e5b018 --- /dev/null +++ b/pages.es/common/pgmnorm.md @@ -0,0 +1,8 @@ +# pgmnorm + +> Este comando es reemplazado por `pnmnorm`. +> Más información: . + +- Muestra la documentación del comando actual: + +`tldr pnmnorm` diff --git a/pages.es/common/pgmslice.md b/pages.es/common/pgmslice.md new file mode 100644 index 00000000000000..abf2801741cf06 --- /dev/null +++ b/pages.es/common/pgmslice.md @@ -0,0 +1,8 @@ +# pgmslice + +> Este comando ha sido sustituido por `pamslice`. +> Más información: . + +- Vea documentación para el comando actual: + +`tldr pamslice` diff --git a/pages.es/common/pgmtopbm.md b/pages.es/common/pgmtopbm.md new file mode 100644 index 00000000000000..d5f65505951dfe --- /dev/null +++ b/pages.es/common/pgmtopbm.md @@ -0,0 +1,8 @@ +# pgmtopbm + +> Este comando ha sido sustituido por `pamditherbw`. +> Más información: . + +- Vea documentación del comando actual: + +`tldr pamditherbw` diff --git a/pages.es/common/pgrep.md b/pages.es/common/pgrep.md new file mode 100644 index 00000000000000..09108b9e18463d --- /dev/null +++ b/pages.es/common/pgrep.md @@ -0,0 +1,16 @@ +# pgrep + +> Encuentra o envía una señal a procesos por nombre. +> Más información: . + +- Regresa PIDs de cualquier proceso de ejecución con una cadena de comando que coincida: + +`pgrep {{nombre_del_proceso}}` + +- Busca procesos incluyendo sus opciones de línea de comandos: + +`pgrep {{[-f|--full]}} "{{nombre_del_proceso}} {{parámetro}}"` + +- Busca procesos gestionados por un usuario específico: + +`pgrep {{[-u|--euid]}} root {{nombre_del_proceso}}` diff --git a/pages.es/common/phpstan.md b/pages.es/common/phpstan.md new file mode 100644 index 00000000000000..83497287194cf5 --- /dev/null +++ b/pages.es/common/phpstan.md @@ -0,0 +1,28 @@ +# phpstan + +> Una herramienta de análisis estático de PHP para descubrir fallos en el código. +> Más información: . + +- Analiza uno o más directorios: + +`phpstan analyse {{ruta/a/directorio1 ruta/a/directorio2 ...}}` + +- Analiza un directorio utilizando un archivo de configuración: + +`phpstan analyse {{ruta/a/directorio}} {{[-c|--configuration]}} {{ruta/a/configuración}}` + +- Analiza usando un nivel de regla específico (0-10, más alto es más estricto): + +`phpstan analyse {{ruta/a/directorio}} {{[-l|--level]}} {{nivel}}` + +- Especifica un archivo de carga automática para cargar antes de analizar: + +`phpstan analyse {{ruta/a/directorio}} {{[-a|--autoload-file]}} {{ruta/archivo/archivo_autocarga}}` + +- Especifica un límite de memoria durante el análisis: + +`phpstan analyse {{ruta/a/directorio}} --memory-limit {{límite_memoria}}` + +- Muestra las opciones disponibles para el análisis: + +`phpstan analyse --help` diff --git a/pages.es/common/pi1toppm.md b/pages.es/common/pi1toppm.md new file mode 100644 index 00000000000000..ea3606cdd5c4d4 --- /dev/null +++ b/pages.es/common/pi1toppm.md @@ -0,0 +1,9 @@ +# pi1toppm + +> Convierte una imagen Atari Degas PI1 en una imagen PPM. +> Vea también: `ppmtopi1`. +> Más información: . + +- Convierte una imagen Atari Degas PI1 en una imagen PPM: + +`pi1toppm {{ruta/a/imagen_atari.pi1}} > {{ruta/a/imagen.ppm}}` diff --git a/pages.es/common/picocom.md b/pages.es/common/picocom.md new file mode 100644 index 00000000000000..f0ea587beea9a1 --- /dev/null +++ b/pages.es/common/picocom.md @@ -0,0 +1,12 @@ +# picocom + +> Programa minimalista para emular consolas serie. +> Más información: . + +- Conecta a una consola serie con una velocidad en baudios específica: + +`picocom {{/dev/ttyXYZ}} {{[-b|--baud]}} {{tasa_de_baudios}}` + +- Asigna caracteres especiales (p. ej. `LF` a `CRLF`): + +`picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}` diff --git a/pages.es/common/picotool.md b/pages.es/common/picotool.md new file mode 100644 index 00000000000000..051a40efe2128f --- /dev/null +++ b/pages.es/common/picotool.md @@ -0,0 +1,32 @@ +# picotool + +> Gestiona las placas Raspberry Pi Pico. +> Más información: . + +- Muestra información sobre el programa cargado actualmente en un Pico: + +`picotool info` + +- Carga un binario en un Pico: + +`picotool load {{ruta/al/binario}}` + +- Convierte un archivo ELF o BIN a UF2: + +`picotool uf2 convert {{ruta/a/elf_o_bin}} {{ruta/a/salida}}` + +- Reinicia un Pico: + +`picotool reboot` + +- Lista todos los registros conocidos: + +`picotool otp list` + +- Muestra la versión: + +`picotool version` + +- Muestra la ayuda: + +`picotool help` diff --git a/pages.es/common/ping.md b/pages.es/common/ping.md new file mode 100644 index 00000000000000..a106abe2b104a4 --- /dev/null +++ b/pages.es/common/ping.md @@ -0,0 +1,32 @@ +# ping + +> Envía paquetes ICMP ECHO_REQUEST (pings) a equipos (hosts) de la red. +> Más información: . + +- Envía pings a un host: + +`ping {{host}}` + +- Envía un número determinado de pings a un host: + +`ping -c {{numero}} {{host}}` + +- Envía pings a un host especificando el intervalo de tiempo entre peticiones (por defecto 1 segundo): + +`ping -i {{segundos}} {{host}}` + +- Envía pings a un host sin intentar resolver nombres simbólicos de direcciones: + +`ping -n {{host}}` + +- Envía pings a un host y emite un sonido cuando un paquete es recibido (si la terminal lo soporta): + +`ping -a {{host}}` + +- Muestra también un mensaje si no se recibió respuesta: + +`ping -O {{host}}` + +- Envía una cantidad específica de pings (`-c`), con un tiempo límite (`-W`) para cada respuesta, y un tiempo máximo total (`-w`) para la ejecución del ping completo: + +`ping -c {{cantidad}} -W {{segundos}} -w {{segundos}} {{host}}` diff --git a/pages.es/common/ping6.md b/pages.es/common/ping6.md new file mode 100644 index 00000000000000..b0c6bdf69893dc --- /dev/null +++ b/pages.es/common/ping6.md @@ -0,0 +1,24 @@ +# ping6 + +> Envía paquetes ICMP ECHO_REQUEST (pings) a hosts de la red usando direcciones IPv6. +> Más información: . + +- Envía pings a un host: + +`ping6 {{host}}` + +- Envía un número específico de pings a un host: + +`ping6 -c {{numero}} {{host}}` + +- Envía pings a un host, especificando el intervalo de tiempo entre peticiones (por defecto es 1 segundo): + +`ping6 -i {{segundos}} {{host}}` + +- Envía pings a un host sin intentar resolver nombres simbólicos de direcciones: + +`ping6 -n {{host}}` + +- Envía pings a un host y emite un sonido cuando un paquete es recibido (si la terminal lo soporta): + +`ping6 -a {{host}}` diff --git a/pages.es/common/pio-debug.md b/pages.es/common/pio-debug.md new file mode 100644 index 00000000000000..80084df31db4fb --- /dev/null +++ b/pages.es/common/pio-debug.md @@ -0,0 +1,24 @@ +# pio debug + +> Depura proyectos PlatformIO. +> Más información: . + +- Depura el proyecto PlatformIO del directorio actual: + +`pio debug` + +- Depura un proyecto PlatformIO específico: + +`pio debug --project-dir {{ruta/al/proyecto_platformio}}` + +- Depura un ambiente específico: + +`pio debug --environment {{ambiente}}` + +- Depura un proyecto PlatformIO utilizando un archivo de configuración específico: + +`pio debug --project-conf {{ruta/a/platformio.ini}}` + +- Depura un proyecto PlatformIO usando el depurador `gdb`: + +`pio debug --interface={{gdb}} {{opciones_de_gdb}}` diff --git a/pages.es/common/pio-init.md b/pages.es/common/pio-init.md new file mode 100644 index 00000000000000..0bf319db0e5dbb --- /dev/null +++ b/pages.es/common/pio-init.md @@ -0,0 +1,7 @@ +# pio init + +> Este comando es un alias de `pio project init`. + +- Vea la documentación para el comando original: + +`tldr pio project` diff --git a/pages.es/common/pio-project.md b/pages.es/common/pio-project.md new file mode 100644 index 00000000000000..f124b345132201 --- /dev/null +++ b/pages.es/common/pio-project.md @@ -0,0 +1,24 @@ +# pio project + +> Administra proyectos PlatformIO. +> Más información: . + +- Inicializa un nuevo proyecto PlatformIO: + +`pio project init` + +- Inicializa un nuevo proyecto PlatformIO en un directorio específico: + +`pio project init --project-dir {{ruta/al/directorio_del_proyecto}}` + +- Inicializa un nuevo proyecto PlatformIO, especificando un ID del board: + +`pio project init --board {{ATmega328P|uno|...}}` + +- Inicializa un nuevo proyecto PlatformIO, especificando una o más opciones para el proyecto: + +`pio project init --project-option="{{opción}}={{valor}}" --project-option="{{opción}}={{valor}}"` + +- Muestra la configuración de un proyecto: + +`pio project config` diff --git a/pages.es/common/pio.md b/pages.es/common/pio.md new file mode 100644 index 00000000000000..906bad2bf72a1e --- /dev/null +++ b/pages.es/common/pio.md @@ -0,0 +1,17 @@ +# pio + +> Ambienta de desarrollo para tableros integrados. +> Algunos subcommandos como `run` tienen su propia documentación de uso. +> Más información: . + +- Muestra ayuda y lista subcomandantes: + +`pio --help` + +- Muestra ayuda para un subcomando específico: + +`pio {{subcommand}} --help` + +- Versión de visualización: + +`pio --version` diff --git a/pages.es/common/piodebuggdb.md b/pages.es/common/piodebuggdb.md new file mode 100644 index 00000000000000..b6ca8d7a115d22 --- /dev/null +++ b/pages.es/common/piodebuggdb.md @@ -0,0 +1,7 @@ +# piodebuggdb + +> Este comando es un alias de `pio debug --interface=gdb`. + +- Vea la documentación para el comando original: + +`tldr pio debug` diff --git a/pages.es/common/piper.md b/pages.es/common/piper.md new file mode 100644 index 00000000000000..20d6ae5820926c --- /dev/null +++ b/pages.es/common/piper.md @@ -0,0 +1,25 @@ +# piper + +> Un sistema neural rápido y local de conversión de texto a voz. +> Descarga y prueba modelos de habla desde . +> Más información: . + +- Genera un archivo WAV utilizando un modelo de texto a voz (suponiendo un archivo de configuración en model_path + .json): + +`echo {{Cosa a decir}} | piper -m {{ruta/a/modelo.onnx}} -f {{archivo_de_salida.wav}}` + +- Genera un archivo WAV utilizando un modelo y especificando su archivo de [c]onfiguración JSON: + +`echo {{'Lo que hay que decir'}} | piper -m {{ruta/a/modelo.onnx}} -c {{ruta/a/modelo.onnx.json}} -f {{archivo_de_salida.wav}}` + +- Selecciona un locutor concreto en una voz con varios locutores especificando el número de identificación del locutor: + +`echo {{'Warum?'}} | piper -m {{de_DE-thorsten_emotional-medium.onnx}} --speaker {{1}} -f {{enojado.wav}}` + +- Transmite la salida al reproductor multimedia mpv: + +`echo {{'Hello world'}} | piper -m {{en_GB-northern_english_male-medium.onnx}} --output-raw -f - | mpv -` + +- Habla el doble de rápido, con grandes espacios entre frases: + +`echo {{'Hablando el doble de rápido. Con más drama!'}} | piper -m {{foo.onnx}} --length_scale {{0.5}} --sentence_silence {{2}} -f {{drama.wav}}` diff --git a/pages.es/common/plantuml.md b/pages.es/common/plantuml.md new file mode 100644 index 00000000000000..fe181946f6d4a2 --- /dev/null +++ b/pages.es/common/plantuml.md @@ -0,0 +1,36 @@ +# plantuml + +> Crea diagramas UML a partir de un lenguaje de texto plano y los renderiza en diferentes formatos. +> Más información: . + +- Renderiza los diagramas al formato por defecto (PNG): + +`plantuml {{diagrama1.puml}} {{diagrama2.puml}}` + +- Renderiza un diagrama en un formato determinado (p.ej. `png`, `pdf`, `svg`, `txt`): + +`plantuml -t {{formato}} {{diagrama.puml}}` + +- Renderiza todos los diagramas de un directorio: + +`plantuml {{ruta/a/diagramas}}` + +- Renderiza un diagrama al directorio de salida: + +`plantuml -o {{ruta/a/salida}} {{diagrama.puml}}` + +- Renderiza un diagrama sin almacenar el código fuente del diagrama (Nota: Se almacena por defecto cuando no se especifica la opción `-nometadata`): + +`plantuml -nometadata {{diagrama.png}} > {{diagrama.puml}}` + +- Recupera la fuente de los metadatos de un diagrama `plantuml`: + +`plantuml -metadata {{diagrama.png}} > {{diagrama.puml}}` + +- Renderiza un diagrama con el archivo de configuración: + +`plantuml -config {{config.cfg}} {{diagrama.puml}}` + +- Muestra la ayuda: + +`plantuml -help` diff --git a/pages.es/common/platformio.md b/pages.es/common/platformio.md new file mode 100644 index 00000000000000..c975056ce40893 --- /dev/null +++ b/pages.es/common/platformio.md @@ -0,0 +1,7 @@ +# platformio + +> Este comando es un alias de `pio`. + +- Vea la documentación del comando original: + +`tldr pio` diff --git a/pages.es/common/pngtopam.md b/pages.es/common/pngtopam.md new file mode 100644 index 00000000000000..59b8a5175cb927 --- /dev/null +++ b/pages.es/common/pngtopam.md @@ -0,0 +1,21 @@ +# pngtopam + +> Convierte una imagen PNG a una imagen Netpbm. +> Vea también: `pamtopng`. +> Más información: . + +- Convierte la imagen PNG especificada en imagen Netpbm: + +`pngtopam {{ruta/a/la/imagen.png}} > {{ruta/al/resultado.pam}}` + +- Crea una imagen de salida que incluye tanto la imagen principal como la máscara de transparencia de la imagen de entrada: + +`pngtopam -alphapam {{ruta/a/la/imagen.png}} > {{ruta/al/resultado.pam}}` + +- Reemplaza píxeles transparentes por el color especificado: + +`pngtopam {{[-m|-mix]}} {{[-ba|-background]}} {{color}} {{ruta/a/la/imagen.png}} > {{ruta/al/resultado.pam}}` + +- Escribe los trozos de tEXt encontrados en la imagen de entrada al archivo de texto especificado: + +`pngtopam {{[-te|-text]}} {{ruta/al/archivo.txt}} {{ruta/a/la/imagen.png}} > {{ruta/al/resultado.pam}}` diff --git a/pages.es/common/pngtopnm.md b/pages.es/common/pngtopnm.md new file mode 100644 index 00000000000000..75244cb5c701cd --- /dev/null +++ b/pages.es/common/pngtopnm.md @@ -0,0 +1,8 @@ +# pngtopnm + +> Este comando ha sido sustituido por `pngtopam`. +> Más información: . + +- Ve documentación del comando actual: + +`tldr pngtopam` diff --git a/pages.es/common/pnmcolormap.md b/pages.es/common/pnmcolormap.md new file mode 100644 index 00000000000000..c7c4f32ad38bba --- /dev/null +++ b/pages.es/common/pnmcolormap.md @@ -0,0 +1,16 @@ +# pnmcolormap + +> Crea mapa de colores cuantizado para una imagen PNM. +> Más información: . + +- Genera una imagen usando sólo 'n_colores' o menos colores lo más cerca posible de la imagen de entrada: + +`pnmcolormap {{n_colores}} {{ruta/a/la/entrada.pnm}} > {{ruta/al/resultado.ppm}}` + +- Utiliza la estrategia de splitspread para determinar los colores de salida, posiblemente produciendo un mejor resultado para imágenes con detalles pequeños: + +`pnmcolormap -splitspread {{n_colores}} {{ruta/a/la/entrada.pnm}} > {{ruta/al/resultado.ppm}}` + +- Ordena el mapa de colores resultante, que es útil para comparar los mapas de colores: + +`pnmcolormap -sort {{ruta/a/la/entrada.pnm}} > {{ruta/al/resultado.ppm}}` diff --git a/pages.es/common/pnmcut.md b/pages.es/common/pnmcut.md new file mode 100644 index 00000000000000..6c4b727d6c9890 --- /dev/null +++ b/pages.es/common/pnmcut.md @@ -0,0 +1,8 @@ +# pnmcut + +> Este comando ha sido sustituido por `pamcut`. +> Más información: . + +- Ve documentación del comando actual: + +`tldr pamcut` diff --git a/pages.es/common/pnmdepth.md b/pages.es/common/pnmdepth.md new file mode 100644 index 00000000000000..86585e2c8f8eed --- /dev/null +++ b/pages.es/common/pnmdepth.md @@ -0,0 +1,7 @@ +# pnmdepth + +> Este comando es un alias de `pamdepth`. + +- Vea la documentación para el comando original: + +`tldr pamdepth` diff --git a/pages.es/common/pnmenlarge.md b/pages.es/common/pnmenlarge.md new file mode 100644 index 00000000000000..059eb6959dc6b3 --- /dev/null +++ b/pages.es/common/pnmenlarge.md @@ -0,0 +1,8 @@ +# pnmenlarge + +> Este comando ha sido sustituido por `pamenlarge`. +> Más información: . + +- Vea documentación del comando actual: + +`tldr pamenlarge` diff --git a/pages.es/common/pnmfile.md b/pages.es/common/pnmfile.md new file mode 100644 index 00000000000000..fc7064f55af284 --- /dev/null +++ b/pages.es/common/pnmfile.md @@ -0,0 +1,8 @@ +# pnmfile + +> Este comando ha sido sustituido por `pamfile`. +> Más información: . + +- Vea la documentación del comando actual: + +`tldr pamfile` diff --git a/pages.es/common/pnmflip.md b/pages.es/common/pnmflip.md new file mode 100644 index 00000000000000..15446349b83a26 --- /dev/null +++ b/pages.es/common/pnmflip.md @@ -0,0 +1,8 @@ +# pnmflip + +> Este comando ha sido sustituido por `pamflip`. +> Más información: . + +- Vea documentación del comando actual: + +`tldr pamflip` diff --git a/pages.es/common/pnminterp.md b/pages.es/common/pnminterp.md new file mode 100644 index 00000000000000..7f51a06c5ce363 --- /dev/null +++ b/pages.es/common/pnminterp.md @@ -0,0 +1,8 @@ +# pnminterp + +> Este comando ha sido sustituido por `pamstretch`. +> Más información: . + +- Ve documentación del comando actual: + +`tldr pamstretch` diff --git a/pages.es/common/pnmnorm.md b/pages.es/common/pnmnorm.md new file mode 100644 index 00000000000000..063e9091ec816f --- /dev/null +++ b/pages.es/common/pnmnorm.md @@ -0,0 +1,21 @@ +# pnmnorm + +> Normaliza el contraste en una imagen PNM. +> Vea también: `pnmhisteq`. +> Más información: . + +- Fuerza los píxeles más brillantes a ser blancos, los más oscuros hacia negro y disemina los demás linealmente: + +`pnmnorm {{ruta/a/la/imagen.pnm}} > {{ruta/al/resultado.pnm}}` + +- Fuerza los píxeles más brillantes a ser blancos, los más oscuros hacia negro y disemina los demás cuadráticamente, de tal forma que los píxeles con un brillo de 'n' tienen un 50 % del brillo: + +`pnmnorm -midvalue {{n}} {{ruta/a/la/imagen.pnm}} > {{ruta/al/resultado.pnm}}` + +- Mantiene el tono (hue) de los píxeles, solo modifica el brillo: + +`pnmnorm -keephues {{ruta/a/la/imagen.pnm}} > {{ruta/al/resultado.pnm}}` + +- Especifica un método para calcular el brillo de un píxel: + +`pnmnorm -{{luminosity|colorvalue|saturation}} {{ruta/a/la/imagen.pnm}} > {{ruta/al/resultado.pnm}}` diff --git a/pages.es/common/pnmpsnr.md b/pages.es/common/pnmpsnr.md new file mode 100644 index 00000000000000..017cd5918839f3 --- /dev/null +++ b/pages.es/common/pnmpsnr.md @@ -0,0 +1,28 @@ +# pnmpsnr + +> Calcula la diferencia entre dos imágenes. +> Más información: . + +- Calcula la diferencia, es decir, la relación señal-ruido (PSNR) entre dos imágenes: + +`pnmpsnr {{ruta/al/archivo1.pnm}} {{ruta/al/archivo2.pnm}}` + +- Compara los componentes de color en lugar de los componentes de luminancia y crominancia de las imágenes: + +`pnmpsnr {{ruta/al/archivo1.pnm}} {{ruta/al/archivo2.pnm}} -rgb` + +- Ejecuta en modo de comparación, es decir, solo la salida `nomatch` o `match` dependiendo de si el cálculo PSNR supera `n` o no: + +`pnmpsnr {{ruta/al/archivo1.pnm}} {{ruta/al/archivo2.pnm}} -target {{n}}` + +- Ejecuta en modo comparación y compara los componentes individuales de la imagen, es decir, Y, Cb y Cr, con los umbrales correspondientes: + +`pnmpsnr {{ruta/al/archivo1.pnm}} {{ruta/al/archivo2.pnm}} -target1 {{umbral_Y}} -target2 {{umbral_Cb}} -target3 {{umbral_Cr}}` + +- Ejecuta en modo comparación y compara los componentes individuales de la imagen, es decir, rojo, verde y azul con los umbrales correspondientes: + +`pnmpsnr {{ruta/al/archivo1.pnm}} {{ruta/al/archivo2.pnm}} -rgb -target1 {{umbral_rojo}} -target2 {{umbral_verde}} -target3 {{umbral_azul}}` + +- Produce salida legible para máquinas: + +`pnmpsnr {{ruta/al/archivo1.pnm}} {{ruta/al/archivo2.pnm}} -machine` diff --git a/pages.es/common/pnmtojpeg.md b/pages.es/common/pnmtojpeg.md new file mode 100644 index 00000000000000..11a7abe8e93a11 --- /dev/null +++ b/pages.es/common/pnmtojpeg.md @@ -0,0 +1,12 @@ +# pnmtojpeg + +> Convierte un archivo de imagen PNM al formato de imagen JPEG/JFIF/EXIF. +> Más información: . + +- Lee una imagen PNM como entrada y produce una imagen JPEG/JFIF/EXIF como salida: + +`pnmtojpeg {{ruta/al/archivo.pnm}} > {{ruta/al/archivo.jpg}}` + +- Muestra la versión: + +`pnmtojpeg -version` diff --git a/pages.es/common/pnmtoplainpnm.md b/pages.es/common/pnmtoplainpnm.md new file mode 100644 index 00000000000000..0116aa5f950bf6 --- /dev/null +++ b/pages.es/common/pnmtoplainpnm.md @@ -0,0 +1,7 @@ +# pnmtoplainpnm + +> Este comando es un alias de `pamtopnm -plain`. + +- Vea la documentación para el comando original: + +`tldr pamtopnm` diff --git a/pages.es/common/pnmtopnm.md b/pages.es/common/pnmtopnm.md new file mode 100644 index 00000000000000..7228f3a0bbaf07 --- /dev/null +++ b/pages.es/common/pnmtopnm.md @@ -0,0 +1,7 @@ +# pnmtopnm + +> Este comando es un alias de `pamtopnm`. + +- Vea la documentación para el comando original: + +`tldr pamtopnm` diff --git a/pages.es/common/pocount.md b/pages.es/common/pocount.md new file mode 100644 index 00000000000000..f10a5540f5a88c --- /dev/null +++ b/pages.es/common/pocount.md @@ -0,0 +1,16 @@ +# pocount + +> Utilidad de Translate Toolkit para obtener el progreso de la traducción de un archivo, soporta varios formatos. +> Más información: . + +- Imprime una tabla colorida con el progreso de la traducción de un archivo: + +`pocount {{ruta/al/archivo.po}}` + +- Imprime el progreso de las traducciones de varios archivos, una línea por archivo: + +`pocount --short {{traducción_*.ts}}` + +- Genera un archivo CSV con el progreso de la traducción de varios archivos: + +`pocount --csv {{traducción_*.ts}} > {{ruta/a/progreso_de_traducción.csv}}` diff --git a/pages.es/common/podman-build.md b/pages.es/common/podman-build.md new file mode 100644 index 00000000000000..df99df2e49dc60 --- /dev/null +++ b/pages.es/common/podman-build.md @@ -0,0 +1,25 @@ +# podman build + +> Herramienta que no corre como servicio (daemon) para construir imágenes de contenedores. +> Podman proporciona una línea de comando comparable con Docker-CLI. En pocas palabras: `alias docker=podman`. +> Más información: . + +- Crea una imagen usando un `Dockerfile` o `Containerfile` en el directorio especificado: + +`podman build {{ruta/al/directorio}}` + +- Crea una imagen con una etiqueta especificada: + +`podman build --tag {{nombre_de_la_imagen:version}} {{ruta/al/directorio}}` + +- Crea una imagen de un archivo no estándar: + +`podman build --file {{Archivo_contenedor.different}} .` + +- Crea una imagen sin usar ninguna imagen previamente almacenada en caché: + +`podman build --no-cache {{ruta/al/directorio}}` + +- Crea una imagen suprimiendo cualquier mensaje informativo (output): + +`podman build --quiet {{ruta/al/directorio}}` diff --git a/pages.es/common/podman-compose.md b/pages.es/common/podman-compose.md new file mode 100644 index 00000000000000..1fdaecb62bd92f --- /dev/null +++ b/pages.es/common/podman-compose.md @@ -0,0 +1,36 @@ +# podman-compose + +> Ejecuta y gestiona la definición del contenedor según la especificación de composición (Compose Specification). +> Más información: . + +- Lista todos los contenedores en funcionamiento: + +`podman-compose ps` + +- Crea e inicia todos los contenedores en segundo plano utilizando un `docker-compose.yml` local: + +`podman-compose up -d` + +- Inicia todos los contenedores, construyendo si es necesario: + +`podman-compose up --build` + +- Inicia todos los contenedores usando un archivo de composición alterno: + +`podman-compose {{[-f|--file]}} {{ruta/al/archivo.yaml}} up` + +- Detiene todos los contenedores en funcionamiento: + +`podman-compose stop` + +- Quita todos los contenedores, redes y volúmenes: + +`podman-compose down --volumes` + +- Sigue los registros de un contenedor (omite todos los nombres de los contenedores): + +`podman-compose logs --follow {{nombre_del_contenedor}}` + +- Ejecuta un comando de una sola vez en un servicio sin puertos mapeados: + +`podman-compose run {{nombre_del_servicio}} {{comando}}` diff --git a/pages.es/common/podman-image.md b/pages.es/common/podman-image.md new file mode 100644 index 00000000000000..478abe64aa548b --- /dev/null +++ b/pages.es/common/podman-image.md @@ -0,0 +1,21 @@ +# podman image + +> Gestiona imágenes Docker. +> Vea también: `podman build`, `podman import` y `podman pull`. +> Más información: . + +- Lista imágenes locales de Docker: + +`podman image ls` + +- Elimina imágenes locales de Docker no utilizadas: + +`podman image prune` + +- Elimina todas las imágenes no utilizadas (no sólo aquellas sin una etiqueta): + +`podman image prune --all` + +- Muestra la historia de una imagen Docker local: + +`podman image history {{imagen}}` diff --git a/pages.es/common/podman-images.md b/pages.es/common/podman-images.md new file mode 100644 index 00000000000000..d6f4320fd604b9 --- /dev/null +++ b/pages.es/common/podman-images.md @@ -0,0 +1,24 @@ +# podman images + +> Gestiona imágenes de Podman. +> Más información: . + +- Lista todas las imágenes de Podman: + +`podman images` + +- Lista todas las imágenes Podman incluyendo intermedias: + +`podman images --all` + +- Lista en modo silencioso (sólo ID numérico): + +`podman images --quiet` + +- Lista todas las imágenes Podman no utilizadas por ningún contenedor: + +`podman images --filter dangling=true` + +- Lista las imágenes que contienen una subcadena en su nombre: + +`podman images "{{*imagen|imagen*}}"` diff --git a/pages.es/common/podman-login.md b/pages.es/common/podman-login.md new file mode 100644 index 00000000000000..9b054269e27db7 --- /dev/null +++ b/pages.es/common/podman-login.md @@ -0,0 +1,17 @@ +# podman login + +> Inicia sesión en un registro de contenedores (container registry). +> Nota: la ruta predeterminada de archivo de autenticación (authfile) en Linux es `$XDG_RUNTIME_DIR/containers/auth.json`, que generalmente se almacena en un `tmpfs` (en RAM). +> Más información: . + +- Inicia sesión en un registro (no permanente en Linux; persistente en Windows/macOS): + +`podman login {{registry.example.org}}` + +- Inicia sesión en un registro persistentemente en Linux: + +`podman login --authfile $HOME/.config/containers/auth.json {{registry.example.org}}` + +- Inicia sesión en un registro inseguro (HTTP): + +`podman login --tls-verify=false {{registry.example.org}}` diff --git a/pages.es/common/podman-machine.md b/pages.es/common/podman-machine.md new file mode 100644 index 00000000000000..0ba25670241507 --- /dev/null +++ b/pages.es/common/podman-machine.md @@ -0,0 +1,33 @@ +# podman machine + +> Crea y gestiona máquinas virtuales ejecutando Podman. +> Desde la versión 4 o superior de Podman. +> Más información: . + +- Lista máquinas existentes: + +`podman machine ls` + +- Crea una nueva máquina predeterminada: + +`podman machine init` + +- Crea una nueva máquina con un nombre específico: + +`podman machine init {{nombre}}` + +- Crea una nueva máquina con diferentes recursos: + +`podman machine init --cpus={{4}} --memory={{4096}} --disk-size={{50}}` + +- Inicia o detiene una máquina: + +`podman machine {{start|stop}} {{nombre}}` + +- Conecta a una máquina en ejecución a través de SSH: + +`podman machine ssh {{nombre}}` + +- Inspecciona información sobre una máquina: + +`podman machine inspect {{nombre}}` diff --git a/pages.es/common/podman-ps.md b/pages.es/common/podman-ps.md new file mode 100644 index 00000000000000..8db6e7b6c4c620 --- /dev/null +++ b/pages.es/common/podman-ps.md @@ -0,0 +1,36 @@ +# podman ps + +> Lista los contenedores Podman. +> Más información: . + +- Lista los contenedores Podman actualmente en ejecución: + +`podman ps` + +- Lista todos los contenedores Podman (corriendo y detenidos): + +`podman ps --all` + +- Muestra el último contenedor creado (incluye todos los estados): + +`podman ps --latest` + +- Filtra los contenedores que contienen una subcadena en su nombre: + +`podman ps --filter "name={{nombre}}"` + +- Filtra los contenedores que comparten una imagen dada como ancestro: + +`podman ps --filter "ancestor={{imagen}}:{{etiqueta}}"` + +- Filtra por código de estado de salida: + +`podman ps --all --filter "exited={{código}}"` + +- Filtra los contenedores por estado (created, running, removing, paused, exited y dead). Se usa el término en inglés: + +`podman ps --filter "status={{estado}}"` + +- Filtra contenedores que montan un volumen específico o tienen un volumen montado en una ruta específica: + +`podman ps --filter "volume={{ruta/al/directorio}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` diff --git a/pages.es/common/podman-rmi.md b/pages.es/common/podman-rmi.md new file mode 100644 index 00000000000000..548bab5f5da2e6 --- /dev/null +++ b/pages.es/common/podman-rmi.md @@ -0,0 +1,20 @@ +# podman rmi + +> Elimina imágenes de Podman. +> Más información: . + +- Elimina una o más imágenes dados sus nombres: + +`podman rmi {{imagen:tag}} {{imagen2:tag}} {{...}}` + +- Fuerza eliminar una imagen: + +`podman rmi --force {{imagen}}` + +- Quita una imagen sin eliminar padres sin etiquetar: + +`podman rmi --no-prune {{imagen}}` + +- Muestra ayuda: + +`podman rmi` diff --git a/pages.es/common/podman-run.md b/pages.es/common/podman-run.md new file mode 100644 index 00000000000000..248f63417b88d2 --- /dev/null +++ b/pages.es/common/podman-run.md @@ -0,0 +1,36 @@ +# podman run + +> Ejecuta un comando en un nuevo contenedor Podman. +> Más información: . + +- Ejecuta el comando en un nuevo contenedor de una imagen etiquetada: + +`podman run {{imagen:tag}} {{comando}}` + +- Ejecuta el comando en un nuevo contenedor en el fondo y muestra su ID: + +`podman run --detach {{imagen:tag}} {{comando}}` + +- Ejecuta el comando en un contenedor único en modo interactivo y pseudo-TTY: + +`podman run --rm --interactive --tty {{imagen:tag}} {{comando}}` + +- Ejecuta el comando en un nuevo contenedor con variables de entorno enviadas: + +`podman run --env '{{variable}}={{valor}}' --env {{variable}} {{imagen:tag}} {{comando}}` + +- Ejecuta el comando en un nuevo contenedor con volúmenes montados en un contenedor: + +`podman run --volume {{/ruta/a/ruta_del_host}}:{{/ruta/a/ruta_del_contenedor}} {{imagen:tag}} {{comando}}` + +- Ejecuta comando en un nuevo contenedor con los puertos publicados: + +`podman run --publish {{puerto_del_anfitrion}}:{{puerto_del_contenedor}} {{imagen:tag}} {{comando}}` + +- Ejecuta el comando en un nuevo contenedor sobrescribiendo el punto de entrada (entrypoint) de la imagen: + +`podman run --entrypoint {{comando}} {{imagen:tag}}` + +- Ejecuta el comando en un nuevo contenedor que lo conecta a una red: + +`podman run --network {{red}} {{imagen:tag}}` diff --git a/pages.es/common/podman.md b/pages.es/common/podman.md new file mode 100644 index 00000000000000..c24e973c604595 --- /dev/null +++ b/pages.es/common/podman.md @@ -0,0 +1,37 @@ +# podman + +> Herramienta de gestión sencilla para pods, contenedores e imágenes. +> Podman proporciona una línea de comando comparable con Docker-CLI. En pocas palabras: `alias docker=podman`. +> Más información: . + +- Lista todos los contenedores (ambos en funcionamiento y detenidos): + +`podman ps --all` + +- Crea un contenedor desde una imagen con un nombre personalizado: + +`podman run --name {{nombre_del_contenedor}} {{imagen}}` + +- Inicia o detiene un contenedor existente: + +`podman {{start|stop}} {{nombre_del_contenedor}}` + +- Extrae una imagen de un registro (Docker Hub predeterminado): + +`podman pull {{imagen}}` + +- Muestra la lista de imágenes ya descargadas: + +`podman images` + +- Abre una interfaz de comando dentro de un contenedor ya en funcionamiento: + +`podman exec --interactive --tty {{nombre_del_contenedor}} {{sh}}` + +- Quita un contenedor detenido: + +`podman rm {{nombre_del_contenedor}}` + +- Muestra los registros de uno o más contenedores y muestra el registro (log): + +`podman logs --follow {{nombre_del_contenedor}} {{id_contenedor}}` diff --git a/pages.es/common/polybar-msg.md b/pages.es/common/polybar-msg.md new file mode 100644 index 00000000000000..096d0198bfeef5 --- /dev/null +++ b/pages.es/common/polybar-msg.md @@ -0,0 +1,33 @@ +# polybar-msg + +> Controla `polybar` utilizando mensajería entre procesos (IPC). +> Nota: IPC está desactivado por defecto y se puede habilitar configurando `enable-ipc = true` en la configuación de Polybar. +> Más información: . + +- Cierra la barra: + +`polybar-msg cmd quit` + +- Reinicia la barra en su lugar: + +`polybar-msg cmd restart` + +- Oculta la barra (no hace nada si la barra ya está oculta): + +`polybar-msg cmd hide` + +- Muestra la barra nuevamente (no hace nada si la barra no está oculta): + +`polybar-msg cmd show` + +- Alterna entre oculto/visible: + +`polybar-msg cmd toggle` + +- Ejecuta una acción de módulo (la cadena de datos es opcional): + +`polybar-msg action "#{{nombre_módulo}}.{{nombre_acción}}.{{cadena_de_datos}}"` + +- Envía mensajes solo a una instancia específica de Polybar (todas las instancias por defecto): + +`polybar-msg -p {{pid}} {{cmd|action}} {{carga}}` diff --git a/pages.es/common/polybar.md b/pages.es/common/polybar.md new file mode 100644 index 00000000000000..7d5a6cc40b6b9e --- /dev/null +++ b/pages.es/common/polybar.md @@ -0,0 +1,16 @@ +# polybar + +> Una barra de estado rápida y fácil de usar. +> Más información: . + +- Inicia Polybar (el nombre de la barra es opcional si solo se ha definido una barra en la configuración): + +`polybar {{nombre_de_barra}}` + +- Inicia Polybar con la configuración especificada: + +`polybar --config={{ruta/a/config.ini}} {{nombre_de_barra}}` + +- Inicia Polybar y recarga la barra cuando se modifica el archivo de configuración: + +`polybar --reload {{nombre_de_barra}}` diff --git a/pages.es/common/ppmbrighten.md b/pages.es/common/ppmbrighten.md new file mode 100644 index 00000000000000..3d4553dc1aee4d --- /dev/null +++ b/pages.es/common/ppmbrighten.md @@ -0,0 +1,8 @@ +# ppmbrighten + +> Este comando ha sido sustituido por `pambrighten`. +> Más información: . + +- Vea documentación del comando actual: + +`tldr pambrighten` diff --git a/pages.es/common/ppmnorm.md b/pages.es/common/ppmnorm.md new file mode 100644 index 00000000000000..8129d9cfa25740 --- /dev/null +++ b/pages.es/common/ppmnorm.md @@ -0,0 +1,8 @@ +# ppmnorm + +> Este comando es reemplazado por `pnmnorm`. +> Más información: . + +- Muestra la documentación del comando actual: + +`tldr pnmnorm` diff --git a/pages.es/common/ppmtogif.md b/pages.es/common/ppmtogif.md new file mode 100644 index 00000000000000..a10d96a49dcaa9 --- /dev/null +++ b/pages.es/common/ppmtogif.md @@ -0,0 +1,8 @@ +# ppmtogif + +> Este comando ha sido sustituido por `pamtogif`. +> Más información: . + +- Vea documentación para el comando actual: + +`tldr pamtogif` diff --git a/pages.es/common/ppmtojpeg.md b/pages.es/common/ppmtojpeg.md new file mode 100644 index 00000000000000..68329d11231c6f --- /dev/null +++ b/pages.es/common/ppmtojpeg.md @@ -0,0 +1,8 @@ +# ppmtojpeg + +> Este comando ha sido sustituido por `pnmtojpeg`. +> Más información: . + +- Ve documentación del comando actual: + +`tldr pnmtojpeg` diff --git a/pages.es/common/ppmtomap.md b/pages.es/common/ppmtomap.md new file mode 100644 index 00000000000000..f9ace7c253bfc3 --- /dev/null +++ b/pages.es/common/ppmtomap.md @@ -0,0 +1,8 @@ +# ppmtomap + +> Este comando ha sido sustituido por `pnmcolormap`. +> Más información: . + +- Vea documentación del comando actual: + +`tldr pnmcolormap` diff --git a/pages.es/common/ppmtopi1.md b/pages.es/common/ppmtopi1.md new file mode 100644 index 00000000000000..3ebc023fc50eb5 --- /dev/null +++ b/pages.es/common/ppmtopi1.md @@ -0,0 +1,9 @@ +# ppmtopi1 + +> Convierte una imagen PPM en una imagen Atari Degas PI1. +> Vea también: `pi1toppm`. +> Más información: . + +- Convierte una imagen PPM en una imagen Atari Degas PI1: + +`ppmtopi1 {{ruta/a/imagen.ppm}} > {{ruta/a/imagen_salida.pi1}}` diff --git a/pages.es/common/ppmtouil.md b/pages.es/common/ppmtouil.md new file mode 100644 index 00000000000000..d5cb711b86f08b --- /dev/null +++ b/pages.es/common/ppmtouil.md @@ -0,0 +1,8 @@ +# ppmtouil + +> Este comando ha sido sustituido por `pamtouil`. +> Más información: . + +- Consulte la documentación del comando actual: + +`tldr pamtouil` diff --git a/pages.es/common/pre-commit.md b/pages.es/common/pre-commit.md new file mode 100644 index 00000000000000..09c023f03bc6a3 --- /dev/null +++ b/pages.es/common/pre-commit.md @@ -0,0 +1,24 @@ +# pre-commit + +> Crea puntos de enganche Git que se ejecutan antes de la confirmación de cambios. +> Más información: . + +- Instala pre-commit en tus puntos de enganche Git: + +`pre-commit install` + +- Ejecuta los puntos de enganche de pre-commit en todos los archivos organizados: + +`pre-commit run` + +- Ejecuta los puntos de enganche de pre-commit en todos los archivos, organizados o no: + +`pre-commit run --all-files` + +- Limpia la caché de pre-commit: + +`pre-commit clean` + +- Actualiza el archivo de configuración de pre-commit a las últimas versiones de los repositorios: + +`pre-commit autoupdate` diff --git a/pages.es/common/prename.md b/pages.es/common/prename.md new file mode 100644 index 00000000000000..1f8c81ce571882 --- /dev/null +++ b/pages.es/common/prename.md @@ -0,0 +1,7 @@ +# prename + +> Este comando es un alias de `rename`. + +- Vea la documentación del comando original: + +`tldr {{[-p|--platform]}} common rename` diff --git a/pages.es/common/protoc.md b/pages.es/common/protoc.md new file mode 100644 index 00000000000000..6a8a0e39e59bf6 --- /dev/null +++ b/pages.es/common/protoc.md @@ -0,0 +1,28 @@ +# protoc + +> Analiza los archivos `.proto` de Google Protobuf y genera la salida en el idioma especificado. +> Más información: . + +- Genera código Python a partir de un archivo `.proto`: + +`protoc --python_out={{ruta/a/directorio_salida}} {{archivo_entrada.proto}}` + +- Genera código Java a partir de un archivo `.proto` que importa otros archivos `.proto`: + +`protoc --java_out={{ruta/a/directorio_salida}} --proto_path={{ruta/a/importación_ruta_de_busqueda}} {{archivo_entrada.proto}}` + +- Genera código para múltiples lenguajes: + +`protoc --csharp_out={{ruta/a/c#_directorio_salida}} --js_out={{ruta/a/js_directorio_salida}} {{archivo_entrada.proto}}` + +- Codifica un mensaje en formato texto en un mensaje de protocolo a partir de un archivo `.proto`: + +`protoc --encode={{TypeName}} {{archivo_de_entrada.proto}} < {{mensaje.txt}}` + +- Decodifica un mensaje de protocolo en formato de texto a partir de un archivo `.proto`: + +`protoc --decode={{TypeName}} {{archivo_entrada.proto}} < {{mensaje.bin}}` + +- Decodifica un mensaje de protocolo en pares de etiquetas/valores sin procesar: + +`protoc --decode_raw < {{mensaje.bin}}` diff --git a/pages.es/common/proxify.md b/pages.es/common/proxify.md new file mode 100644 index 00000000000000..e0d82d9c10fbe8 --- /dev/null +++ b/pages.es/common/proxify.md @@ -0,0 +1,21 @@ +# proxify + +> Un proxy versátil y portátil para capturar, manipular y reproducir tráfico HTTP/HTTPS sobre la marcha. +> Vea también: `mitmproxy`. +> Más información: . + +- Inicia un proxy HTTP (en la interfaz de red loopback `127.0.0.1` y puerto `8888`): + +`proxify` + +- Inicia un proxy HTTP en una interfaz de red y puerto personalizados (puede requerir `sudo` para un número de puerto inferior a `1024`): + +`proxify -http-addr "{{dirección_ip}}:{{número_de_puerto}}"` + +- Especifica el formato y el archivo de salida: + +`proxify -output-format {{jsonl|yaml}} -output {{ruta/al/archivo}}` + +- Muestra la ayuda: + +`proxify -h` diff --git a/pages.es/common/ps.md b/pages.es/common/ps.md new file mode 100644 index 00000000000000..8d8b8c7244d1d0 --- /dev/null +++ b/pages.es/common/ps.md @@ -0,0 +1,32 @@ +# ps + +> Información sobre procesos en ejecución. +> Más información: . + +- Lista todos los procesos en ejecución: + +`ps aux` + +- Lista todos los procesos en ejecución incluyendo el comando completo: + +`ps auxww` + +- Busca un proceso que coincida con la cadena de texto: + +`ps aux | grep {{cadena}}` + +- Lista todos los procesos del usuario actual en formato supercompleto: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) -F` + +- Lista todos los procesos del usuario actual como un árbol: + +`ps {{[-u|--user]}} $(id {{[-u|--user]}}) f` + +- Obtén el PID del proceso padre: + +`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{pid}}` + +- Ordena los procesos por consumo de memoria: + +`ps --sort size` diff --git a/pages.es/common/ptpython.md b/pages.es/common/ptpython.md new file mode 100644 index 00000000000000..62d760a4971c47 --- /dev/null +++ b/pages.es/common/ptpython.md @@ -0,0 +1,32 @@ +# ptpython + +> Un REPL de Python mejor. +> Más información: . + +- Inicia una REPL (interfaz de comando interactiva de Python): + +`ptpython` + +- Ejecuta un archivo determinado de Python: + +`ptpython {{ruta/al/archivo.py}}` + +- Ejecuta un archivo Python específico y comienza un REPL: + +`ptpython {{[-i|--interactive]}} {{ruta/al/archivo.py}}` + +- Abre el menú: + +`` + +- Abre la página de historia: + +`` + +- Activa o desactiva el modo pegar (paste mode): + +`` + +- Sale: + +`` diff --git a/pages.es/common/ptpython3.md b/pages.es/common/ptpython3.md new file mode 100644 index 00000000000000..74e0d8a1a120c7 --- /dev/null +++ b/pages.es/common/ptpython3.md @@ -0,0 +1,7 @@ +# ptpython3 + +> Este comando es un alias de `ptpython`. + +- Muestra la documentación del comando original: + +`tldr ptpython` diff --git a/pages.es/common/pulumi-config.md b/pages.es/common/pulumi-config.md new file mode 100644 index 00000000000000..b63de9c0267dcb --- /dev/null +++ b/pages.es/common/pulumi-config.md @@ -0,0 +1,28 @@ +# pulumi config + +> Administra la configuración de una pila Pulumi. +> Más información: . + +- Muestra la configuración actual en formato JSON: + +`pulumi config --json` + +- Obtiene el valor de una clave de configuración: + +`pulumi config get {{clave}}` + +- Elimina un valor de configuración: + +`pulumi config rm {{clave}}` + +- Establece un valor para una clave de configuración desde un archivo: + +`cat {{ruta/al/archivo}} | pulumi config set {{clave}}` + +- Establece un valor secreto (por ejemplo, la clave API) para una clave de configuración y almacena/muestra como texto cifrado: + +`pulumi config set --secret {{clave}} {{valor_53cr3t0}}` + +- Elimina varios valores de configuración de un archivo de configuración especificado: + +`pulumi config --config-file {{ruta/al/archivo}} rm-all {{clave1 clave2 ...}}` diff --git a/pages.es/common/pulumi-down.md b/pages.es/common/pulumi-down.md new file mode 100644 index 00000000000000..9e2ccf31abfc6f --- /dev/null +++ b/pages.es/common/pulumi-down.md @@ -0,0 +1,7 @@ +# pulumi down + +> Este comando es un alias de `pulumi destroy`. + +- Vea la documentación para el comando original: + +`tldr pulumi destroy` diff --git a/pages.es/common/pulumi-env.md b/pages.es/common/pulumi-env.md new file mode 100644 index 00000000000000..b701dac01ece96 --- /dev/null +++ b/pages.es/common/pulumi-env.md @@ -0,0 +1,32 @@ +# pulumi env + +> Administra entornos Pulumi. +> Más información: . + +- Lista todos los entornos: + +`pulumi env ls` + +- Crea un entorno: + +`pulumi env init {{nombre_entorno}}` + +- Establece un valor en un entorno: + +`pulumi env set {{nombre_entorno}} {{clave}} {{valor}}` + +- Edita la definición de un entorno: + +`pulumi env edit {{nombre_entorno}}` + +- Elimina un valor de un entorno: + +`pulumi env rm {{nombre_entorno}} {{clave}}` + +- Elimina un entorno por completo: + +`pulumi env rm {{nombre_entorno}}` + +- Muestra la ayuda: + +`pulumi env {{[-h|--help]}}` diff --git a/pages.es/common/pulumi-login.md b/pages.es/common/pulumi-login.md new file mode 100644 index 00000000000000..06a38b6feb70f2 --- /dev/null +++ b/pages.es/common/pulumi-login.md @@ -0,0 +1,16 @@ +# pulumi login + +> Inicia sesión en Pulumi Cloud. +> Más información: . + +- Inicia sesión en el servidor administrado Pulumi Cloud, de manera predeterminada en `https://api.pulumi.com`: + +`pulumi login` + +- Inicia sesión en un backend Pulumi Cloud autoalojado en una URL especificada: + +`pulumi login {{url}}` + +- Utiliza Pulumi localmente, independientemente de Pulumi Cloud: + +`pulumi login {{[-l|--local]}}` diff --git a/pages.es/common/pulumi-org.md b/pages.es/common/pulumi-org.md new file mode 100644 index 00000000000000..c9eb918621a754 --- /dev/null +++ b/pages.es/common/pulumi-org.md @@ -0,0 +1,24 @@ +# pulumi org + +> Gestiona la configuración de la organización Pulumi. +> Más información: . + +- Muestra la organización predeterminada y el backend actual: + +`pulumi org` + +- Muestra la organización predeterminada: + +`pulumi org get-default` + +- Establece la organización predeterminada: + +`pulumi org set-default {{nombre_de_la_organización}}` + +- Busca recursos en Pulumi Cloud utilizando Pulumi AI con una consulta en lenguaje natural de texto sin formato: + +`pulumi org search ai {{[-q|--query]}} {{«muéstrame todos los equilibradores de carga de mi organización»}}` + +- Muestra la ayuda: + +`pulumi org {{[-h|--help]}}` diff --git a/pages.es/common/pulumi-refresh.md b/pages.es/common/pulumi-refresh.md new file mode 100644 index 00000000000000..d8f09d54e1e193 --- /dev/null +++ b/pages.es/common/pulumi-refresh.md @@ -0,0 +1,28 @@ +# pulumi refresh + +> Actualiza los recursos de una pila. +> Más información: . + +- Compara el estado de la pila actual con el estado en el proveedor de la nube y adopta cualquier cambio en la pila actual: + +`pulumi refresh` + +- Actualiza los recursos en la pila actual y muestra la operación como un diff enriquecido: + +`pulumi refresh --diff` + +- Actualiza los recursos de la pila actual y devuelve un error si se produce algún cambio durante la actualización: + +`pulumi refresh --expect-no-changes` + +- Solo muestra una vista previa de la actualización, pero no realiza la actualización en sí: + +`pulumi refresh --preview-only` + +- El nombre de la pila sobre la que operar (por defecto es la pila actual): + +`pulumi refresh {{[-s|--stack]}} {{nombre_pila}}` + +- Muestra la ayuda: + +`pulumi refresh {{[-h|--help]}}` diff --git a/pages.es/common/pulumi-stack-hist.md b/pages.es/common/pulumi-stack-hist.md new file mode 100644 index 00000000000000..43f80d041d5c1e --- /dev/null +++ b/pages.es/common/pulumi-stack-hist.md @@ -0,0 +1,7 @@ +# pulumi stack hist + +> Este comando es un alias de `pulumi stack history`. + +- Vea la documentación del comando original: + +`tldr pulumi stack history` diff --git a/pages.es/common/pulumi-state.md b/pages.es/common/pulumi-state.md new file mode 100644 index 00000000000000..d71d1a41091a05 --- /dev/null +++ b/pages.es/common/pulumi-state.md @@ -0,0 +1,24 @@ +# pulumi state + +> Edita el estado de la pila actual. +> Más información: . + +- Elimina un recurso del estado de la pila actual: + +`pulumi state delete` + +- Mueve un recurso de la pila actual a otra: + +`pulumi state move {{recurso_urn}} --dest {{nombre_pila}}` + +- Cambia el nombre de un recurso de la pila actual: + +`pulumi state rename` + +- Repara un estado no válido: + +`pulumi state repair` + +- Muestra la ayuda: + +`pulumi state --help` diff --git a/pages.es/common/pulumi-update.md b/pages.es/common/pulumi-update.md new file mode 100644 index 00000000000000..edc767d45ecd96 --- /dev/null +++ b/pages.es/common/pulumi-update.md @@ -0,0 +1,7 @@ +# pulumi update + +> Este comando es un alias de `pulumi up`. + +- Vea la documentación del comando original: + +`tldr pulumi up` diff --git a/pages.es/common/pwd.md b/pages.es/common/pwd.md new file mode 100644 index 00000000000000..c7cea4ab6728e8 --- /dev/null +++ b/pages.es/common/pwd.md @@ -0,0 +1,12 @@ +# pwd + +> Muestra el nombre del directorio actual. +> Más información: . + +- Muestra el directorio actual: + +`pwd` + +- Muestra el directorio actual y resuelve todos los enlaces simbólicos (es decir, muestra la ruta "física"): + +`pwd {{[-P|--physical]}}` diff --git a/pages.es/common/pydocstyle.md b/pages.es/common/pydocstyle.md new file mode 100644 index 00000000000000..6d0301016236f1 --- /dev/null +++ b/pages.es/common/pydocstyle.md @@ -0,0 +1,32 @@ +# pydocstyle + +> Comprueba estáticamente que los scripts de Python cumplen con las convenciones de documentación de Python. +> Más información: . + +- Analiza un script de Python o todos los scripts de Python en un directorio específico: + +`pydocstyle {{archivo.py|ruta/al/directorio}}` + +- Muestra una explicación de cada error: + +`pydocstyle {{[-e|--explain]}} {{archivo.py|ruta/al/directorio}}` + +- Muestra información de depuración: + +`pydocstyle {{[-d|--debug]}} {{archivo.py|ruta/al/directorio}}` + +- Muestra el número total de errores: + +`pydocstyle --count {{archivo.py|ruta/a/directorio}}` + +- Utiliza un archivo de configuración específico: + +`pydocstyle --config {{ruta/a/archivo_config}} {{archivo.py|ruta/al/directorio}}` + +- Ignora uno o más errores: + +`pydocstyle --ignore {{D101,D2,D107,...}} {{archivo.py|ruta/al/directorio}}` + +- Busca errores de una convención específica: + +`pydocstyle --convention {{pep257|numpy|google}} {{archivo.py|ruta/a/directorio}}` diff --git a/pages.es/common/python.md b/pages.es/common/python.md new file mode 100644 index 00000000000000..25282eff15b2fc --- /dev/null +++ b/pages.es/common/python.md @@ -0,0 +1,36 @@ +# python + +> Intérprete de lenguaje Python. +> Más información: . + +- Inicia una REPL (interfaz de comando interactiva): + +`python` + +- Ejecuta un archivo específico de Python: + +`python {{ruta/al/archivo.py}}` + +- Ejecuta un archivo Python específico y comienza una REPL: + +`python -i {{ruta/al/archivo.py}}` + +- Ejecuta una expresión python: + +`python -c "{{expresión}}"` + +- Ejecuta el script del módulo de biblioteca especificado: + +`python -m {{módulo}} {{argumentos}}` + +- Instala un paquete utilizando `pip`: + +`python -m pip install {{paquete}}` + +- Depura interactivamente un script Python: + +`python -m pdb {{ruta/al/archivo.py}}` + +- Inicia el servidor HTTP incorporado en el puerto 8000 en el directorio actual: + +`python -m http.server` diff --git a/pages.es/common/python3.md b/pages.es/common/python3.md new file mode 100644 index 00000000000000..36e4c995940e46 --- /dev/null +++ b/pages.es/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Este comando es un alias de `python`. + +- Muestra la documentación del comando original: + +`tldr python` diff --git a/pages.es/common/qalc.md b/pages.es/common/qalc.md new file mode 100644 index 00000000000000..f63253e778701e --- /dev/null +++ b/pages.es/common/qalc.md @@ -0,0 +1,29 @@ +# qalc + +> Calculadora de línea de comandos potente y fácil de usar. +> Vea también: `bc`. +> Más información: . + +- Lanzamiento en modo [i]nteractivo: + +`qalc {{--interactive}}` + +- Ejecuta en modo [t]erse (solo imprime los resultados): + +`qalc --terse` + +- Actualiza los tipos de cambio: + +`qalc --exrates` + +- Realiza cálculos de forma no interactiva: + +`qalc {{66+99|2^4|6 pies a cm|1 bitcoin a USD|20 kmph a mph|...}}` + +- Lista todas las funciones/prefijos/unidades/variables soportadas: + +`qalc --{{list-functions|list-prefixes|list-units|list-variables}}` + +- Ejecuta comandos desde un archivo: + +`qalc --file {{ruta/a/archivo}}` diff --git a/pages.es/common/qc.md b/pages.es/common/qc.md new file mode 100644 index 00000000000000..f0aaa5c7f039d7 --- /dev/null +++ b/pages.es/common/qc.md @@ -0,0 +1,25 @@ +# qc + +> Gestiona y ejecuta fragmentos de comandos almacenados en notas QOwnNotes. +> Ve también: `qownnotes`. +> Más información: . + +- Configura el gestor de fragmentos, por ejemplo para establecer el token de seguridad de QOwnNotes: + +`qc configure` + +- Busca e imprime fragmentos de comandos almacenados en tu nota `Commands.md` y en todas tus notas etiquetadas con `commands`: + +`qc search` + +- Ejecuta un fragmento y muestra el comando antes de ejecutarlo: + +`qc exec --command` + +- Ejecuta el último fragmento y muestra el comando antes de ejecutarlo: + +`qc exec --command --last` + +- Cambia entre las carpetas de notas en QOwnNotes: + +`qc switch` diff --git a/pages.es/common/qmmp.md b/pages.es/common/qmmp.md new file mode 100644 index 00000000000000..144769ea56543a --- /dev/null +++ b/pages.es/common/qmmp.md @@ -0,0 +1,33 @@ +# qmmp + +> Un reproductor de audio con una interfaz similar a Winamp o XMMS. +> Vea también: `clementine`, `ncmpcpp`, `cmus`. +> Más información: . + +- Lanza la interfaz gráfica de usuario (GUI): + +`qmmp` + +- Comienza o detiene el audio actual: + +`qmmp {{[-t|--play-pause]}}` + +- Va hacia adelante o hacia atrás una cantidad específica de tiempo en segundos: + +`qmmp --seek-{{fwd|bwd}} {{tiempo_en_segundos}}` + +- Reproduce el próximo archivo de audio: + +`qmmp --next` + +- Reproduce el archivo de audio anterior: + +`qmmp --previous` + +- Muestra el volumen actual: + +`qmmp --volume-status` + +- [inc]rementa o [dec]rementa el volumen del audio actual en un 5%: + +`qmmp --volume-{{inc|dec}}` diff --git a/pages.es/common/qmv.md b/pages.es/common/qmv.md new file mode 100644 index 00000000000000..8a1b22942b1032 --- /dev/null +++ b/pages.es/common/qmv.md @@ -0,0 +1,28 @@ +# qmv + +> Mueve archivos y directorios usando el editor de texto predeterminado para definir los nombres de archivos. +> Más información: . + +- Mueve un solo archivo (abre un editor con el nombre de archivo fuente a la izquierda y el nombre de archivo de destino a la derecha): + +`qmv {{archivo_original}}` + +- Mueve múltiples archivos JPEG: + +`qmv {{*.jpg}}` + +- Mueve múltiples directorios: + +`qmv {{[-d|--directory]}} {{ruta/al/directorio1 ruta/al/directorio2 ruta/al/directorio3 ...}}` + +- Mueve todos los archivos y directorios dentro de un directorio: + +`qmv {{[-R|--recursive]}} {{ruta/al/directorio}}` + +- Mueve archivos, pero cambia las posiciones de la fuente y los nombres de archivo de destino en el editor: + +`qmv {{[-o|--option]}} swap {{*.jpg}}` + +- Renombra todos los archivos y carpetas en el directorio actual, pero muestra solo los nombres de archivo de destino en el editor (puedes pensar en ello como una especie de modo simple): + +`qmv {{[-f|--format]}} do .` diff --git a/pages.es/common/qownnotes.md b/pages.es/common/qownnotes.md new file mode 100644 index 00000000000000..3a0572ddf3963b --- /dev/null +++ b/pages.es/common/qownnotes.md @@ -0,0 +1,22 @@ +# QOwnNotes + +> Aplicación de toma de notas en formato Markdown. +> Se integra opcionalmente con las aplicaciones de toma de notas de Nextcloud y ownCloud. +> Vea también: `qc`, para gestionar fragmentos de comandos. +> Más información: . + +- Ejecuta en modo portable: + +`QOwnNotes --portable` + +- Muestra la configuración y cualquier otra información sobre la aplicación y su entorno en formato GitHub Markdown: + +`QOwnNotes --dump-settings` + +- Especifica un contexto diferente para la configuración y los archivos internos: + +`QOwnNotes --session {{prueba}}` + +- Activa una acción de menú después de iniciar la aplicación: + +`QOwnNotes --action {{actionShow_Todo_List}}` diff --git a/pages.es/common/quarkus.md b/pages.es/common/quarkus.md new file mode 100644 index 00000000000000..e8d202a4c8d91e --- /dev/null +++ b/pages.es/common/quarkus.md @@ -0,0 +1,36 @@ +# quarkus + +> Crea proyectos Quarkus, gestiona extensiones y realiza tareas esenciales de compilación y desarrollo. +> Más información: . + +- Crea un nuevo proyecto de aplicación en un directorio nuevo: + +`quarkus create app {{nombre_del_proyecto}}` + +- Ejecuta el proyecto actual en el modo de codificación en vivo: + +`quarkus dev` + +- Ejecuta la aplicación: + +`quarkus run` + +- Ejecuta el proyecto actual en modo de prueba continua: + +`quarkus test` + +- Añade una o más extensiones al proyecto actual: + +`quarkus extension add {{nombre_extensión1 nombre_extensión2 ...}}` + +- Construye un contenedor de imagen utilizando Docker: + +`quarkus image build docker` + +- Despliega la aplicación en Kubernetes: + +`quarkus deploy kubernetes` + +- Actualiza el proyecto: + +`quarkus update` diff --git a/pages.es/common/r2.md b/pages.es/common/r2.md new file mode 100644 index 00000000000000..813f9b94a15c43 --- /dev/null +++ b/pages.es/common/r2.md @@ -0,0 +1,7 @@ +# r2 + +> Este comando es un alias de `radare2`. + +- Muestra la documentación del comando original: + +`tldr radare2` diff --git a/pages.es/common/rabbitmqctl.md b/pages.es/common/rabbitmqctl.md new file mode 100644 index 00000000000000..d1903bb6f3fa29 --- /dev/null +++ b/pages.es/common/rabbitmqctl.md @@ -0,0 +1,24 @@ +# rabbitmqctl + +> Gestiona, configura e inspecciona servidores RabbitMQ. +> Más información: . + +- Muestra el estado del nodo actual: + +`rabbitmqctl status` + +- Muestra la documentación de los comandos del cluster RabbitMQ: + +`tldr rabbitmqctl cluster` + +- Muestra la documentación de los comandos de usuario de RabbitMQ: + +`tldr rabbitmqctl users` + +- Muestra la documentación de los comandos de RabbitMQ vhosts: + +`tldr rabbitmqctl vhosts` + +- Más información sobre un comando específico: + +`rabbitmqctl help {{comando}}` diff --git a/pages.es/common/radare2.md b/pages.es/common/radare2.md new file mode 100644 index 00000000000000..2243632a12ed94 --- /dev/null +++ b/pages.es/common/radare2.md @@ -0,0 +1,28 @@ +# radare2 + +> Un conjunto de herramientas de ingeniería inversa. +> Más información: . + +- Abre un archivo en modo escritura sin analizar los encabezados del formato de archivo: + +`radare2 -nw {{ruta/al/binario}}` + +- Depura un programa: + +`radare2 -d {{ruta/al/binario}}` + +- Ejecuta un script antes de entrar en la CLI interactiva: + +`radare2 -i {{ruta/a/script.r2}} {{ruta/al/binario}}` + +- Muestra texto de ayuda para cualquier comando en la CLI interactiva: + +`{{radare2_comando}}?` + +- Ejecuta un comando desde la CLI interactiva: + +`!{{shell_comando}}` + +- Vierte los bytes crudos del bloque actual a un archivo: + +`> pr > {{ruta/al/archivo.bin}}` diff --git a/pages.es/common/rails-console.md b/pages.es/common/rails-console.md new file mode 100644 index 00000000000000..f793788e6208dc --- /dev/null +++ b/pages.es/common/rails-console.md @@ -0,0 +1,20 @@ +# rails console + +> Interactúa con una aplicación Rails. +> Más información: . + +- Inicia la consola Rails: + +`rails console` + +- Inicia la consola Rails y revierte todas las modificaciones de datos al salir: + +`rails console {{[-s|--sandbox]}}` + +- Inicia la consola Rails en un entorno específico: + +`rails console {{[-e|--environment]}} {{dev|test|production|...}}` + +- Muestra la ayuda: + +`rails console {{[-h|--help]}}` diff --git a/pages.es/common/rails-new.md b/pages.es/common/rails-new.md new file mode 100644 index 00000000000000..91a2d689bad648 --- /dev/null +++ b/pages.es/common/rails-new.md @@ -0,0 +1,24 @@ +# rails new + +> Crea una nueva aplicación Rails. +> Más información: . + +- Crea una aplicación Rails llamada `blog` en el directorio actual: + +`rails new blog` + +- Crea una aplicación Rails con una configuración de tipo solo API: + +`rails new {{nombre_de_la_app}} --api` + +- Crea una aplicación Rails con `postgresql` como base de datos: + +`rails new {{nombre_de_la_app}} {{[-d|--database]}} postgresql` + +- Crea una aplicación Rails sin generar archivos JavaScript: + +`rails new {{nombre_de_la_app}} {{[-J|--skip-javascript]}}` + +- Muestra la ayuda: + +`rails new {{[-h|--help]}}` diff --git a/pages.es/common/rails-server.md b/pages.es/common/rails-server.md new file mode 100644 index 00000000000000..c41c6a04739e75 --- /dev/null +++ b/pages.es/common/rails-server.md @@ -0,0 +1,24 @@ +# rails server + +> Sirve la aplicación Rails en el directorio actual utilizando el servidor web Puma, que viene incluido con Rails. +> Más información: . + +- Ejecuta el servidor web: + +`rails server` + +- Ejecuta el servidor web en el puerto especificado: + +`rails server {{[-p|--port]}} {{número_de_puerto}}` + +- Ejecuta el servidor web en una dirección IP especificada: + +`rails server {{[-b|--binding]}} {{dirección_ip}}` + +- Ejecuta el servidor web en un entorno especificado: + +`rails server {{[-e|--environment]}} {{entorno}}` + +- Muestra la ayuda: + +`rails server {{[-h|--help]}}` diff --git a/pages.es/common/ranger.md b/pages.es/common/ranger.md new file mode 100644 index 00000000000000..392bf37f33d632 --- /dev/null +++ b/pages.es/common/ranger.md @@ -0,0 +1,25 @@ +# ranger + +> Gestor de archivos en consola con atajos de teclado de VI. +> Vea también: `clifm`, `vifm`, `mc`, `dolphin`. +> Más información: . + +- Abre Ranger: + +`ranger` + +- Muestra sólo directorios: + +`ranger --show-only-dirs` + +- Cambia el directorio de configuración: + +`ranger --confdir={{ruta/al/directorio}}` + +- Cambia el directorio de datos: + +`ranger --datadir={{ruta/al/directorio}}` + +- Imprime estadísticas de uso de la CPU al salir: + +`ranger --profile` diff --git a/pages.es/common/rc.md b/pages.es/common/rc.md new file mode 100644 index 00000000000000..109ae71b440ca2 --- /dev/null +++ b/pages.es/common/rc.md @@ -0,0 +1,13 @@ +# rc + +> Una escucha de puerto moderna simplificada y con interfaz de comando reversa. +> Similar a `nc`. +> Más información: . + +- Comienza a escuchar en un puerto específico: + +`rc -lp {{puerto}}` + +- Comienza una interfaz de comando inversa: + +`rc {{equipo}} {{puerto}} -r {{shell}}` diff --git a/pages.es/common/rcat.md b/pages.es/common/rcat.md new file mode 100644 index 00000000000000..ab9eece31cfcac --- /dev/null +++ b/pages.es/common/rcat.md @@ -0,0 +1,7 @@ +# rcat + +> Este comando es un alias de `rc`. + +- Muestra la documentación del comando original: + +`tldr rc` diff --git a/pages.es/common/read.md b/pages.es/common/read.md new file mode 100644 index 00000000000000..9cb3ab396bfcf5 --- /dev/null +++ b/pages.es/common/read.md @@ -0,0 +1,36 @@ +# read + +> Shell builtin para recuperar datos de `stdin`. +> Más información: . + +- Almacena los datos que escribes desde el teclado: + +`read {{variable}}` + +- Almacena cada una de las siguientes líneas que introduzcas como valores de un arreglo: + +`read -a {{arreglo}}` + +- Especifica el número máximo de caracteres a leer: + +`read -n {{cuenta_caracteres}} {{variable}}` + +- Asigna varios valores a varias variables: + +`read {{_ variable1 _ variable2}} <<< "{{El apellido es Bond"}}"` + +- No dejes que la barra invertida (\) actúe como carácter de escape: + +`read -r {{variable}}` + +- Muestra un indicador antes de la entrada: + +`read -p "{{Introduce aquí tu entrada: }}" {{variable}}` + +- No hacer eco de los caracteres introducidos (modo silencioso): + +`read -s {{variable}}` + +- Lee `stdin` y realiza una acción en cada línea: + +`while read line; do {{echo|ls|rm|...}} "$line"; done < {{dev/stdin|ruta/al/archivo|...}}` diff --git a/pages.es/common/readarray.md b/pages.es/common/readarray.md new file mode 100644 index 00000000000000..f14ff5b538c356 --- /dev/null +++ b/pages.es/common/readarray.md @@ -0,0 +1,20 @@ +# readarray + +> Lee líneas de `stdin` en un arreglo. +> Más información: . + +- Ingresa líneas en un arreglo de forma interactiva: + +`readarray {{nombre_arreglo}}` + +- Lee líneas de un archivo y las inserta en un arreglo: + +`readarray {{nombre_arreglo}} < {{ruta/al/archivo.txt}}` + +- Elimina los delimitadores finales (newline por defecto): + +`readarray -t {{nombre_arreglo}} < {{ruta/al/archivo.txt}}` + +- Copia como máximo el número de líneas especificado: + +`readarray -n {{N}} {{nombre_arreglo}} < {{ruta/al/archivo.txt}}` diff --git a/pages.es/common/return.md b/pages.es/common/return.md new file mode 100644 index 00000000000000..038e16a2501242 --- /dev/null +++ b/pages.es/common/return.md @@ -0,0 +1,12 @@ +# return + +> Sale de una función o un script si se ejecuta con `source`. +> Más información: . + +- Sale prematuramente de una función: + +`{{nombre_de_la_función}}() { {{echo "Se ha alcanzado"}}; return; {{echo "No se ha alcanzado"}}; }` + +- Especifica el valor de retorno de la función: + +`{{nombre_de_la_función}}() { return {{N}}; }` diff --git a/pages.es/common/rkdeveloptool.md b/pages.es/common/rkdeveloptool.md new file mode 100644 index 00000000000000..3674250901b5d8 --- /dev/null +++ b/pages.es/common/rkdeveloptool.md @@ -0,0 +1,30 @@ +# rkdeveloptool + +> Flashea, vacía y gestiona el firmware de arranque en dispositivos informáticos basados en Rockchip. +> Necesitará encender el dispositivo en modo Maskrom/Bootrom antes de conectarlo a través del USB. +> Algunos subcomandos pueden requerir ser ejecutados como el superusuario. +> Más información: . + +- [l]ista todos los [d]ispositivos flash conectados basados en Rockchip: + +`rkdeveloptool ld` + +- Inicializa el dispositivo forzándolo a [d]escargar e instalar el gestor de arranque desde un archivo: + +`rkdeveloptool db {{ruta/al/bootloader.bin}}` + +- Actualiza un gestor de arranque: + +`rkdeveloptool ul {{ruta/al/bootloader.bin}}` + +- Escribe una imagen en una partición flash con formato GPT, especificando el sector de almacenamiento inicial (normalmente `0x0`, alias `0`): + +`rkdeveloptool wl {{sector_inicial}} {{ruta/a/imagen.img}}` + +- Escribe en la partición flash por su nombre amigable: + +`rkdeveloptool wlx {{nombre_partición}} {{ruta/a/imagen.img}}` + +- [r]einicia/repón el [d]ispositivo, sal del modo Maskrom/Bootrom para arrancar en la partición flash seleccionada: + +`rkdeveloptool rd` diff --git a/pages.es/common/rm.md b/pages.es/common/rm.md index 356abfaca18703..aadab3e49d13c9 100644 --- a/pages.es/common/rm.md +++ b/pages.es/common/rm.md @@ -1,23 +1,25 @@ # rm > Elimina archivos o directorios. +> Vea también: `rmdir`. +> Más información: . -- Elimina archivos de ubicaciones arbitrarias: +- Elimina archivos específicos: -`rm {{ruta/al/archivo}} {{ruta/al/otro/archivo}}` +`rm {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Elimina, de forma recursiva, un directorio y todos sus subdirectorios: +- Elimina archivos específicos ignorando los que no existen: -`rm -r {{ruta/al/directorio}}` +`rm -f {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Elimina un directorio a la fuerza, sin pedir confirmación ni mostrar mensajes de error: +- Elimina varios archivos de forma interactiva, solicitando confirmación antes de eliminar cada archivo: -`rm -rf {{ruta/al/directorio}}` +`rm -i {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Elimina varios archivos de forma interactiva, solicitando confirmación antes de eliminar cada archivo: +- Elimina archivos, imprimiendo un mensaje por cada archivo eliminado: -`rm -i {{archivo(s)}}` +`rm -v {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Elimina archivos en modo detallado, imprimiendo un mensaje por cada archivo eliminado: +- Elimina, de forma recursiva, archivos y directorios: -`rm -v {{ruta/hacia/directorio/*}}` +`rm -r {{ruta/al/directorio1 ruta/al/directorio2 ...}}` diff --git a/pages.es/common/rmlint.md b/pages.es/common/rmlint.md new file mode 100644 index 00000000000000..3e65df60c66775 --- /dev/null +++ b/pages.es/common/rmlint.md @@ -0,0 +1,36 @@ +# rmlint + +> Encuentra desperdicio de espacio y otras cosas rotas en tu sistema de archivos. +> Más información: . + +- Comprueba los directorios en busca de archivos duplicados, vacíos y rotos: + +`rmlint {{ruta/a/directorio1 ruta/a/directorio2 ...}}` + +- Comprueba si hay duplicados mayores a un tamaño determinado, preferiblemente manteniendo los archivos en directorios etiquetados (después de la doble barra): + +`rmlint -s {{1MB}} {{ruta/a/directorio}} // {{ruta/a/directorio_original}}` + +- Comprueba que no se desperdicia espacio, manteniendo todo en los directorios no etiquetados: + +`rmlint --keep-all-untagged {{ruta/a/directorio}} // {{ruta/a/directorio_original}}` + +- Elimina archivos duplicados encontrados tras una ejecución de `rmlint`: + +`./rmlint.sh` + +- Encuentra árboles de directorios duplicados basándose en los datos, ignorando los nombres: + +`rmlint --merge-directories {{ruta/a/directorio}}` + +- Marca archivos en la profundida[d] de la ruta inferior como originales, en caso de igualdad elegir uno más corto [l]: + +`rmlint --rank-by={{dl}} {{ruta/a/directorio}}` + +- Encuentra archivos con idéntico nombre de archivo y contenido, y vincula en lugar de eliminar los duplicados: + +`rmlint -c sh:link --match-basename {{ruta/a/directorio}}` + +- Utiliza `data` como directorio maestro. Busca solo los duplicados de la copia de seguridad que también estén en `datos`. No elimina ningún archivo de "datos": + +`rmlint {{ruta/a/copia}} // {{ruta/a/datos}} --keep-all-tagged --must-match-tagged` diff --git a/pages.es/common/rnano.md b/pages.es/common/rnano.md new file mode 100644 index 00000000000000..1965951bbe7511 --- /dev/null +++ b/pages.es/common/rnano.md @@ -0,0 +1,8 @@ +# rnano + +> Este comando es un alias de `nano --restricted`. +> Más información: . + +- Vea documentación del comando original: + +`tldr nano` diff --git a/pages.es/common/rsactftool.py.md b/pages.es/common/rsactftool.py.md new file mode 100644 index 00000000000000..7cee7771c4d5b0 --- /dev/null +++ b/pages.es/common/rsactftool.py.md @@ -0,0 +1,32 @@ +# RsaCtfTool.py + +> Herramienta de ataque RSA para desafíos CTF - recupera claves privadas a partir de claves públicas débiles y/o descifra datos. +> Más información: . + +- Recupera una clave privada de un archivo de clave pública: + +`RsaCtfTool.py --publickey {{ruta/a/clave.pub}} --private` + +- Descifra un fichero utilizando una clave pública: + +`RsaCtfTool.py --publickey {{ruta/a/clave.pub}} --decryptfile {{ruta/a/archivo_cifrado}}` + +- Descifra una cadena de texto cifrado específica: + +`RsaCtfTool.py --publickey {{ruta/a/clave.pub}} --decrypt "{{texto_cifrado}}"` + +- Vuelca los componentes de una clave RSA (por ejemplo, módulo, exponente) desde un archivo de claves: + +`RsaCtfTool.py --dumpkey --key {{ruta/a/clave.pub}}` + +- Ejecuta un ataque específico (por ejemplo, factorización de Fermat) para recuperar la clave privada: + +`RsaCtfTool.py --publickey {{ruta/a/clave.pub}} --private --attack fermat` + +- Genera una clave pública a partir del módulo (n) y el exponente (e): + +`RsaCtfTool.py --createpub -n {{módulo}} -e {{exponente}}` + +- Intenta todos los ataques disponibles para recuperar la clave privada: + +`RsaCtfTool.py --publickey {{ruta/a/clave.pub}} --private --attack all` diff --git a/pages.es/common/rubocop.md b/pages.es/common/rubocop.md new file mode 100644 index 00000000000000..d047f8a9d986fd --- /dev/null +++ b/pages.es/common/rubocop.md @@ -0,0 +1,32 @@ +# rubocop + +> Analiza archivos de Ruby. +> Más información: . + +- Verifica todos los archivos en el directorio actual (incluyendo subdirectorios): + +`rubocop` + +- Verifica uno o más archivos o directorios determinados: + +`rubocop {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Guarda la salida en un archivo: + +`rubocop --out {{ruta/al/archivo}}` + +- Muestra la lista de cops (reglas de análisis): + +`rubocop --show-cops` + +- Excluye una regla: + +`rubocop --except {{cop1 cop2 ...}}` + +- Ejecuta solo determinadas reglas: + +`rubocop --only {{cop1 cop2 ...}}` + +- Autocorrige archivos (experimental): + +`rubocop --auto-correct` diff --git a/pages.es/common/ruff-check.md b/pages.es/common/ruff-check.md new file mode 100644 index 00000000000000..664cc5d73c55fb --- /dev/null +++ b/pages.es/common/ruff-check.md @@ -0,0 +1,33 @@ +# ruff check + +> Un linter extremadamente rápido para Python. `check` es el comando predeterminado - se puede omitir en todas partes. +> Si no se especifican archivos o directorios, el directorio de trabajo actual se utiliza por defecto. +> Más información: . + +- Ejecuta el linter en los archivos o directorios dados: + +`ruff check {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Aplica las correcciones sugeridas, modificando los archivos afectados: + +`ruff check --fix` + +- Ejecuta el linter y lo aplica de nuevo ante algún cambio: + +`ruff check --watch` + +- Solo habilita las reglas especificadas (o todas las reglas), ignorando el archivo de configuración: + +`ruff check --select {{ALL|regla_de_código1,regla_de_código2,...}}` + +- Además, habilita las reglas especificadas: + +`ruff check --extend-select {{regla_de_código1,regla_de_código2,...}}` + +- Desactiva las reglas especificadas: + +`ruff check --ignore {{regla_de_código1,regla_de_código2,...}}` + +- Ignora todas las violaciones existentes de una regla añadiendo las directivas "# noqa" a todas las líneas que la violan: + +`ruff check --select {{regla_de_código}} --add-noqa` diff --git a/pages.es/common/ruff-format.md b/pages.es/common/ruff-format.md new file mode 100644 index 00000000000000..d798db05448503 --- /dev/null +++ b/pages.es/common/ruff-format.md @@ -0,0 +1,17 @@ +# ruff format + +> Un formador de código Python extremadamente rápido. +> Si no se especifican archivos o directorios, se utiliza el directorio de trabajo actual de forma predeterminada. +> Más información: . + +- Formatea los archivos o directorios: + +`ruff format {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Imprime qué archivos habrían sido modificados y devuelve un código de salida no cero si hay archivos a reformatear; y cero de lo contrario: + +`ruff format --check` + +- Imprime qué cambios se harían sin modificar los archivos: + +`ruff format --diff` diff --git a/pages.es/common/ruff.md b/pages.es/common/ruff.md new file mode 100644 index 00000000000000..7f5261fb023ab3 --- /dev/null +++ b/pages.es/common/ruff.md @@ -0,0 +1,12 @@ +# ruff + +> Un linter y formateador de código para Python, escrito en Rust. +> Más información: . + +- Vea la documentación para el linter de Ruff: + +`tldr ruff check` + +- Vea la documentación para el formateador de Ruff: + +`tldr ruff format` diff --git a/pages.es/common/rustscan.md b/pages.es/common/rustscan.md new file mode 100644 index 00000000000000..49268a68fec5d0 --- /dev/null +++ b/pages.es/common/rustscan.md @@ -0,0 +1,36 @@ +# rustscan + +> Escáner de puertos rápido, escrito en Rust integrado con `nmap`. +> Más información: . + +- Escanea todos los puertos de una o más direcciones delimitadas por comas usando los valores predeterminados: + +`rustscan {{[-a|--addresses]}} {{ip_o_nombrehost}}` + +- Escanea los top 1000 puertos con detección de servicio y versión: + +`rustscan --top {{[-a|--addresses]}} {{dirección_o_direcciones}}` + +- Escanea una lista específica de puertos: + +`rustscan {{[-p|--ports]}} {{puerto1,puerto2,...,puertoN}} {{[-a|--addresses]}} {{dirección_o_direcciones}}` + +- Escanea un rango específico de puertos: + +`rustscan {{[-r|--range]}} {{inicio}}-{{fin}} {{[-a|--addresses]}} {{dirección_o_direcciones}}` + +- Añade argumentos de script a `nmap`: + +`rustscan {{[-a|--addresses]}} {{dirección_o_direcciones}} -- -O {{[-sC|--script=default]}}` + +- Escanea con un tamaño de lote (por defecto: 4500) y tiempo de espera personalizado (por defecto: 1500ms): + +`rustscan {{[-b|--batch-size]}} {{tamaño_lote}} {{[-t|--timeout]}} {{timeout}} {{[-a|--addresses]}} {{dirección_o_direcciones}}` + +- Escanea puertos en un orden específico: + +`rustscan --scan-order {{serial|random}} {{[-a|--addresses]}} {{dirección_o_direcciones}}` + +- Escanea en modo "greppable" (solo imprime los puertos y no usa `nmap`): + +`rustscan {{[-g|--greppable]}} {{[-a|--addresses]}} {{dirección_o_direcciones}}` diff --git a/pages.es/common/rustup-install.md b/pages.es/common/rustup-install.md new file mode 100644 index 00000000000000..ed78bdb80ac49b --- /dev/null +++ b/pages.es/common/rustup-install.md @@ -0,0 +1,9 @@ +# rustup install + +> Install or update Rust toolchains. +> Este comando es un alias de `rustup update`, pero sólo puede instalar/actualizar una cadena de herramientas (toolchain) a la vez. +> Más información: . + +- Instalar o actualizar una cadena de herramientas específica (para más información, vea `rustup help toolchain`): + +`rustup install {{toolchain}}` diff --git a/pages.es/common/rustup-uninstall.md b/pages.es/common/rustup-uninstall.md new file mode 100644 index 00000000000000..4ffa8300d14683 --- /dev/null +++ b/pages.es/common/rustup-uninstall.md @@ -0,0 +1,7 @@ +# rustup uninstall + +> Este comando es un alias de `rustup toolchain uninstall`. + +- Vea la documentación del comando original: + +`tldr rustup toolchain` diff --git a/pages.es/common/secretsdump.py.md b/pages.es/common/secretsdump.py.md new file mode 100644 index 00000000000000..e3016684e2187d --- /dev/null +++ b/pages.es/common/secretsdump.py.md @@ -0,0 +1,25 @@ +# secretsdump.py + +> Vuelca hashes NTLM, contraseñas en texto plano y credenciales de dominio de sistemas Windows remotos. +> Parte de la suite Impacket. +> Más información: . + +- Vuelca credenciales de una máquina Windows utilizando un nombre de usuario y una contraseña: + +`secretsdump.py {{dominio}}/{{nombre_de_usuario}}:{{contraseña}}@{{objetivo}}` + +- Vuelca hashes de una máquina utilizando autenticación pass-the-hash: + +`secretsdump.py -hashes {{LM_Hash}}:{{NT_Hash}} {{dominio}}/{{nombre_de_usuario}}@{{destino}}` + +- Vuelca credenciales del archivo NTDS.dit de Active Directory: + +`secretsdump.py -just-dc {{dominio}}/{{nombre_de_usuario}}:{{contraseña}}@{{destino}}` + +- Extrae credenciales de una base de datos SAM local utilizando archivos hives del registro: + +`secretsdump.py -sam {{ruta/a/SAM}} -system {{ruta/a/SYSTEM}}` + +- Vuelca hashes de una máquina sin proporcionar una contraseña (si existe una sesión de autenticación válida, por ejemplo, a través de Kerberos o NTLM SSO): + +`secretsdump.py -no-pass {{dominio}}/{{nombre_usuario}}@{{destino}}` diff --git a/pages.es/common/sed.md b/pages.es/common/sed.md new file mode 100644 index 00000000000000..bb5d386d54e35f --- /dev/null +++ b/pages.es/common/sed.md @@ -0,0 +1,17 @@ +# sed + +> Edita texto de manera scriptable. +> Vea también: `awk`, `ed`. +> Más información: . + +- Reemplaza todas las ocurrencias de `apple` (regex básica) por `mango` (regex básica) en todas las líneas de entrada y muestra el resultado en `stdout`: + +`{{comando}} | sed 's/apple/mango/g'` + +- Ejecuta un archivo de script específico y muestra el resultado en `stdout`: + +`{{comando}} | sed -f {{ruta/al/script.sed}}` + +- Imprime solo la primera línea en `stdout`: + +`{{comando}} | sed -n '1p'` diff --git a/pages.es/common/sha1sum.md b/pages.es/common/sha1sum.md new file mode 100644 index 00000000000000..b535bb93b15a5e --- /dev/null +++ b/pages.es/common/sha1sum.md @@ -0,0 +1,32 @@ +# sha1sum + +> Calcula sumas de comprobación criptográficas SHA1. +> Más información: . + +- Calcula la suma de comprobación SHA1 de uno o más archivos: + +`sha1sum {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Calcula y guardar la lista de sumas de comprobación SHA1 en un archivo: + +`sha1sum {{ruta/al/archivo1 ruta/al/archivo2 ...}} > {{ruta/al/archivo.sha1}}` + +- Calcula una suma de comprobación SHA1 a partir de `stdin`: + +`{{comando}} | sha1sum` + +- Lee un archivo de sumas de comprobación SHA1 y nombres de archivo y verifica que todos los archivos tengan sumas de comprobación coincidentes: + +`sha1sum {{[-c|--check]}} {{ruta/al/archivo.sha1}}` + +- Solo muestra un mensaje cuando faltan archivos o cuando falla la verificación: + +`sha1sum {{[-c|--check]}} --quiet {{ruta/al/archivo.sha1}}` + +- Solo muestra un mensaje cuando falla la verificación, ignorando los archivos que faltan: + +`sha1sum --ignore-missing {{[-c|--check]}} --quiet {{ruta/a/archivo.sha1}}` + +- Comprueba una suma de comprobación SHA1 conocida de un archivo: + +`echo {{suma_de_verificación_sha1_conocida_del_archivo}} {{ruta/al/archivo}} | sha1sum {{[-c|--check]}}` diff --git a/pages.es/common/shotcut.md b/pages.es/common/shotcut.md new file mode 100644 index 00000000000000..dcf2f79ca04d04 --- /dev/null +++ b/pages.es/common/shotcut.md @@ -0,0 +1,24 @@ +# shotcut + +> Un programa para la edición de vídeo. +> Más información: . + +- Inicia Shotcut: + +`shotcut` + +- Abre archivos de audio/vídeo: + +`shotcut {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Inicia con un controlador de audio específico: + +`shotcut --SDL_AUDIODRIVER "{{pulseaudio}}"` + +- Inicia en pantalla completa: + +`shotcut --fullscreen` + +- Inicia con procesamiento GPU: + +`shotcut --gpu` diff --git a/pages.es/common/showfigfonts.md b/pages.es/common/showfigfonts.md new file mode 100644 index 00000000000000..4623c9130ee6c9 --- /dev/null +++ b/pages.es/common/showfigfonts.md @@ -0,0 +1,13 @@ +# showfigfonts + +> Muestra una lista de fuentes disponibles para figlet. +> Vea también `figlet`. +> Más información: . + +- Muestra las fuentes disponibles: + +`showfigfonts` + +- Muestra las fuentes disponibles usando un texto específico: + +`showfigfonts {{texto_de_entrada}}` diff --git a/pages.es/common/simplehttpserver.md b/pages.es/common/simplehttpserver.md new file mode 100644 index 00000000000000..edb626519e01d0 --- /dev/null +++ b/pages.es/common/simplehttpserver.md @@ -0,0 +1,25 @@ +# simplehttpserver + +> Un simple servidor HTTP/S que soporta subida de ficheros, autenticación básica y reglas YAML para respuestas personalizadas. +> Una alternativa Go a `http.server` de Python. +> Más información: . + +- Inicia el servidor HTTP que sirve el directorio actual con salida verbosa (escucha en todas las interfaces y puerto 8000 por defecto): + +`simplehttpserver -verbose` + +- Inicia el servidor HTTP con autenticación básica sirviendo una ruta específica a través del puerto 80 en todas las interfaces: + +`sudo simplehttpserver -basic-auth {{usuario}}:{{contraseña}} -path {{/var/www/html}} -listen 0.0.0.0:80` + +- Inicia el servidor HTTP, habilitando HTTPS utilizando un certificado autofirmado con SAN personalizado en todas las interfaces: + +`sudo simplehttpserver -https -domain {{*.selfsigned.com}} -listen 0.0.0.0:443` + +- Inicia el servidor HTTP con cabeceras de respuesta personalizadas y capacidad de carga: + +`simplehttpserver -upload -header '{{X-Powered-By: Go}}' -header '{{Server: SimpleHTTPServer}}'` + +- Inicia el servidor HTTP con reglas personalizables en YAML (consulte la documentación para DSL): + +`simplehttpserver -rules {{rules.yaml}}` diff --git a/pages.es/common/snmpget.md b/pages.es/common/snmpget.md new file mode 100644 index 00000000000000..07f63eff832690 --- /dev/null +++ b/pages.es/common/snmpget.md @@ -0,0 +1,12 @@ +# snmpget + +> Consulta utilizando el protocolo SNMP. +> Más información: . + +- Solicita un único valor al agente SNMP: + +`snmpget -v {{versión}} -c {{comunidad}} {{ip}} {{oid}}` + +- Muestra la ruta completa del identificador de objeto (OID): + +`snmpget -v {{versión}} -c {{comunidad}} -O f {{ip}} {{oid}}` diff --git a/pages.es/common/snmpnetstat.md b/pages.es/common/snmpnetstat.md new file mode 100644 index 00000000000000..9c888e71541ede --- /dev/null +++ b/pages.es/common/snmpnetstat.md @@ -0,0 +1,8 @@ +# snmpnetstat + +> Obtiene el estado de la red mediante SNMP. +> Más información: . + +- Obtiene el estado de la red: + +`snmpnetstat -v {{versión}} -c {{comunidad}} {{ip}}` diff --git a/pages.es/common/socat.md b/pages.es/common/socat.md new file mode 100644 index 00000000000000..0d0008230e3aaa --- /dev/null +++ b/pages.es/common/socat.md @@ -0,0 +1,28 @@ +# socat + +> Relé polivalente (SOcket CAT). +> Más información: . + +- Escucha un puerto, espera una conexión entrante y transfiere datos a STDIO: + +`sudo socat - TCP-LISTEN:8080,fork` + +- Escucha en un puerto usando SSL e imprime a STDOUT: + +`sudo socat OPENSSL-LISTEN:4433,reuseaddr,cert=./cert.pem,cafile=./ca.cert.pem,key=./key.pem,verify=0 STDOUT` + +- Crea una conexión a un host y puerto, transfiere datos en STDIO al host conectado: + +`sudo socat - TCP4:www.example.com:80` + +- Reenvía los datos entrantes de un puerto local a otro host y puerto: + +`sudo socat TCP-LISTEN:80,fork TCP4:www.example.com:80` + +- Envía datos con un esquema de enrutamiento multicast: + +`{{echo "Hello Multicast"}} | socat - UDP4-DATAGRAM:{{224.0.0.1}}:{{5000}}` + +- Recibe datos de un multicast: + +`socat - UDP4-RECVFROM:{{5000}}` diff --git a/pages.es/common/sr.md b/pages.es/common/sr.md new file mode 100644 index 00000000000000..5a5659864e0c26 --- /dev/null +++ b/pages.es/common/sr.md @@ -0,0 +1,7 @@ +# sr + +> Este comando es un alias de `surfraw`. + +- Vea la documentación del comando original: + +`tldr surfraw` diff --git a/pages.es/common/streamlit.md b/pages.es/common/streamlit.md new file mode 100644 index 00000000000000..0d363b0d63c8ab --- /dev/null +++ b/pages.es/common/streamlit.md @@ -0,0 +1,20 @@ +# streamlit + +> Marco de aplicación para crear aplicaciones web interactivas y basadas en datos en Python. +> Más información: . + +- Comprueba la instalación de Streamlit: + +`streamlit hello` + +- Ejecuta una aplicación Streamlit: + +`streamlit run {{nombre_del_proyecto}}` + +- Muestra ayuda: + +`streamlit --help` + +- Muestra la versión: + +`streamlit --version` diff --git a/pages.es/common/strings.md b/pages.es/common/strings.md new file mode 100644 index 00000000000000..0200a8dc30a4de --- /dev/null +++ b/pages.es/common/strings.md @@ -0,0 +1,20 @@ +# strings + +> Encuentra cadenas imprimibles en un archivo objeto o binario. +> Más información: . + +- Imprime todas las cadenas contenidas en un binario: + +`strings {{ruta/al/archivo}}` + +- Limita resultados a cadenas por lo menos n caracteres de largo: + +`strings {{[-n|--bytes]}} {{n}} {{ruta/al/archivo}}` + +- Precede cada resultado con su distancia hasta el inicio (offset) del archivo: + +`strings {{[-t|--radix]}} d {{ruta/al/archivo}}` + +- Precede cada resultado con su desplazamiento (offset) dentro del archivo en hexadecimal: + +`strings {{[-t|--radix]}} x {{ruta/al/archivo}}` diff --git a/pages.es/common/stty.md b/pages.es/common/stty.md new file mode 100644 index 00000000000000..d4c94735fac10d --- /dev/null +++ b/pages.es/common/stty.md @@ -0,0 +1,28 @@ +# stty + +> Establece opciones para una interfaz del dispositivo terminal. +> Más información: . + +- Muestra todas las opciones de la terminal actual: + +`stty --all` + +- Establece el número de filas o columnas: + +`stty {{filas|columnas}} {{cuenta}}` + +- Obtiene la velocidad de transferencia real de un dispositivo: + +`stty --file {{ruta/al/archivo_del_dispositivo}} speed` + +- Restablece todos los modos a valores razonables para el terminal actual: + +`stty sane` + +- Cambia entre modo raw y cooked: + +`stty {{raw|cooked}}` + +- Desactiva o activa el eco de caracteres: + +`stty {{-echo|echo}}` diff --git a/pages.es/common/sudoedit.md b/pages.es/common/sudoedit.md new file mode 100644 index 00000000000000..68cbbe276c43c9 --- /dev/null +++ b/pages.es/common/sudoedit.md @@ -0,0 +1,7 @@ +# sudoedit + +> Este comando es un alias de `sudo --edit`. + +- Vea la documentación del comando original: + +`tldr sudo` diff --git a/pages.es/common/suspend.md b/pages.es/common/suspend.md new file mode 100644 index 00000000000000..a5f1a5e784c858 --- /dev/null +++ b/pages.es/common/suspend.md @@ -0,0 +1,16 @@ +# suspend + +> Suspende la ejecución del intérprete de comandos actual. +> Más información: . + +- Suspende el intérprete de comandos actual (útil para cuando está con intérpretes de comandos anidados como `su`): + +`{{bash}} suspend` + +- Ejecuta en un terminal separado para continuar desde la suspensión si `suspend` fue usado en un intérprete de comandos no anidado: + +`pkill -CONT bash` + +- Fuerza la suspensión, incluso si esto bloquea el sistema: + +`suspend -f` diff --git a/pages.es/common/tail.md b/pages.es/common/tail.md new file mode 100644 index 00000000000000..c51c52be5a8e0f --- /dev/null +++ b/pages.es/common/tail.md @@ -0,0 +1,29 @@ +# tail + +> Muestra las últimas líneas de un archivo de texto determinado. +> Vea también: `head`. +> Más información: . + +- Imprime las últimas líneas de 'recuento' de un archivo: + +`tail {{[-n|--lines]}} {{recuento}} {{ruta/al/archivo}}` + +- Imprime un archivo desde una línea específica: + +`tail {{[-n|--lines]}} +{{recuento}} {{ruta/al/archivo}}` + +- Imprime un número específico de bytes desde el final de algún archivo: + +`tail {{[-n|--lines]}} {{recuento}} {{ruta/al/archivo}}` + +- Imprime las últimas líneas de un archivo en tiempo real hasta presionar ``: + +`tail {{[-f|--follow]}} {{ruta/al/archivo}}` + +- Mantiene leyendo las últimas líneas de un archivo hasta presionar ``, aunque el archivo sea inaccesible: + +`tail {{[-F|--retry --follow]}} {{ruta/al/archivo}}` + +- Imprime las últimas líneas de 'recuento' en 'archivo' y se actualiza cada 'n' segundos: + +`tail {{[-n|--lines]}} {{recuento}} {{[-s|--sleep-interval]}} {{segundos}} {{[-f|--follow]}} {{ruta/al/archivo}}` diff --git a/pages.es/common/tar.md b/pages.es/common/tar.md index 715a1f8562790e..4b37930d2e5299 100644 --- a/pages.es/common/tar.md +++ b/pages.es/common/tar.md @@ -1,33 +1,37 @@ # tar -> Herramienta para archivos. -> A veces combinada con un método de compresión, como gzip o bzip. -> Más información: . +> Utilidad de archivado. +> A menudo se combina con un método de compresión, como gzip o bzip2. +> Más información: . -- Crear un archivo a partir de otros archivos: +- [c]rea un archivo y lo escribe en un [f]ichero: -`tar cf {{archivo_destino.tar}} {{archivo1}} {{archivo2}} {{archivo3}}` +`tar cf {{ruta/al/objetivo.tar}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Crear un archivo comprimido con gzip: +- [c]rea un archivo con formato g[z]ip y lo escribe en un [f]ichero: -`tar czf {{archivo_destino.tar.gz}} {{archivo1}} {{archivo2}} {{archivo3}}` +`tar czf {{ruta/al/objetivo.tar.gz}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Extraer un archivo (comprimido) en el directorio actual: +- [c]rea un archivo con formato g[z]ip desde un directorio utilizando rutas relativas: -`tar xf {{archivo.tar[.gz|.bz2|.xz]}}` +`tar czf {{ruta/al/objetivo.tar.gz}} {{[-C|--directory]}} {{ruta/al/directorio}} .` -- Extraer un archivo en un directorio: +- E[x]trae un [f]ichero (comprimido) al directorio actual [v]erbosamente: -`tar xf {{archivo.tar}} -C {{directorio}}` +`tar xvf {{ruta/a/fuente.tar[.gz|.bz2|.xz]}}` -- Crear un archivo comprimido usando el sufijo para determinar el programa de compresión: +- E[x]trae un [f]ichero (comprimido) al directorio de destino: -`tar caf {{archivo_destino.tar.xz}} {{archivo1}} {{archivo2}} {{archivo3}}` +`tar xf {{ruta/al/archivo_de_entrada.tar[.gz|.bz2|.xz]}} {{[-C|--directory]}} {{ruta/al/directorio}}` -- Mostrar el contenido de un archivo tar: +- Crea un archivo comprimido y lo escribe en una carpeta, utilizando la extensión del archivo para determinar automáticamente el programa de compresión: -`tar tvf {{archivo.tar}}` +`tar caf {{ruta/al/objetivo.tar.xz}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` -- Extraer archivos que coinciden con un patrón: +- Lis[t]a el contenido de un [f]ichero tar [v]erbosamente: -`tar xf {{archivo.tar}} --wildcards "{{*.html}}"` +`tar tvf {{ruta/al/archivo_de_entrada.tar}}` + +- E[x]trae ficheros que coincidan con un patrón de un [f]ichero: + +`tar xf {{ruta/al/archivo_de_entrada.tar}} --wildcards "{{*.html}}"` diff --git a/pages.es/common/task.md b/pages.es/common/task.md new file mode 100644 index 00000000000000..211718bc042e2e --- /dev/null +++ b/pages.es/common/task.md @@ -0,0 +1,36 @@ +# task + +> Organizador de tareas en la línea de comandos. +> Más información: . + +- Añade una tarea la cual se vence mañana: + +`task add {{descripción}} due:{{tomorrow}}` + +- Actualiza la prioridad de una tarea: + +`task {{id_de_la_tarea}} modify priority:{{H|M|L}}` + +- Completa una tarea: + +`task {{id_de_la_tarea}} done` + +- Elimina una tarea: + +`task {{id_de_la_tarea}} delete` + +- Lista todas las tareas pendientes: + +`task list` + +- Lista tareas pendientes que se vencen antes del fin de semana: + +`task list due.before:{{eow}}` + +- Muestra una gráfica de progreso de tareas, por día: + +`task burndown.daily` + +- Lista todos los reportes: + +`task reports` diff --git a/pages.es/common/tcpreplay.md b/pages.es/common/tcpreplay.md new file mode 100644 index 00000000000000..91d720d2be0c8c --- /dev/null +++ b/pages.es/common/tcpreplay.md @@ -0,0 +1,28 @@ +# tcpreplay + +> Reproduce el tráfico de red almacenado en un archivo `pcap`. +> Más información: . + +- Lista las interfaces de red disponibles: + +`tcpreplay --listnics` + +- Reproduce el tráfico de la interface: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{tráfico.pcap}}` + +- Reproduce tráfico en la interface y en `stdout`: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-v|--verbose]}} {{tráfico.pcap}}` + +- Reproduce el tráfico en la interface lo más rápido posible: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-t|--topspeed]}} {{tráfico.pcap}}` + +- Reproduce el tráfico en la interface a los Mbps indicados: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-M|--mbps]}} {{10}} {{tráfico.pcap}}` + +- Reproduce el tráfico en la interface varias veces: + +`tcpreplay {{[-i|--intf1]}} {{eth0}} {{[-l|--loop]}} {{número_veces}} {{tráfico.pcap}}` diff --git a/pages.es/common/tee.md b/pages.es/common/tee.md new file mode 100644 index 00000000000000..b716e930f30656 --- /dev/null +++ b/pages.es/common/tee.md @@ -0,0 +1,20 @@ +# tee + +> Lee desde la entrada estándar (`stdin`) y escribe a la salida estándar (`stdout`) y a archivos (o comandos). +> Más información: . + +- Copia la entrada estándar (`stdin`) a cada archivo, y también a la salida estándar (`stdout`): + +`echo "ejemplo" | tee {{ruta/al/archivo}}` + +- Anexa a los archivos específicos, sin sobreescribir: + +`echo "ejemplo" | tee {{[-a|--append]}} {{ruta/al/archivo}}` + +- Imprime la entrada estándar a la terminal, y también lo reenvía a otro programa para posterior procesamiento: + +`echo "ejemplo" | tee {{/dev/tty}} | {{xargs printf "[%s]"}}` + +- Crea un directorio llamado "ejemplo", cuenta el número de caracteres en "ejemplo" y escribe "ejemplo" a la terminal: + +`echo "ejemplo" | tee >(xargs mkdir) >(wc -c)` diff --git a/pages.es/common/terraform-output.md b/pages.es/common/terraform-output.md new file mode 100644 index 00000000000000..4666b62540f6ef --- /dev/null +++ b/pages.es/common/terraform-output.md @@ -0,0 +1,20 @@ +# terraform output + +> Exporta datos estructurados sobre tus recursos Terraform. +> Más información: . + +- Sin argumentos adicionales, `output` mostrará todas las salidas del módulo raíz: + +`terraform output` + +- Genera solo un valor con un nombre específico: + +`terraform output {{nombre}}` + +- Convierte el valor de salida en una cadena sin formato (útil para scripts de shell): + +`terraform output -raw` + +- Formatea las salidas como un objeto JSON, con una clave por cada salida (útil con jq): + +`terraform output -json` diff --git a/pages.es/common/tex-fmt.md b/pages.es/common/tex-fmt.md new file mode 100644 index 00000000000000..432eb39e56feb7 --- /dev/null +++ b/pages.es/common/tex-fmt.md @@ -0,0 +1,16 @@ +# tex-fmt + +> Formatea el código fuente LaTeX. +> Más información: . + +- Formatea un archivo, sobrescribiendo el original: + +`tex-fmt {{ruta/al/archivo.tex}}` + +- Comprueba si un archivo está formateado correctamente: + +`tex-fmt --check {{ruta/al/archivo.tex}}` + +- Formatea un archivo leído de `stdin` y lo imprime en `stdout`: + +`cat {{ruta/al/archivo.tex}} | tex-fmt --stdin` diff --git a/pages.es/common/tgpt.md b/pages.es/common/tgpt.md new file mode 100644 index 00000000000000..8344f3ae27d69d --- /dev/null +++ b/pages.es/common/tgpt.md @@ -0,0 +1,37 @@ +# tgpt + +> Habla con un chatbot de IA sin necesidad de claves API. +> Proveedores disponibles: `openai`, `opengpts`, `koboldai`, `phind`, `llama2`, `blackboxai`. +> Más información: . + +- Chatea con el proveedor por defecto (GPT-3.5-turbo): + +`tgpt "{{prompt}}"` + +- Inicia el modo interactivo [m]ultilínea: + +`tgpt --multiline` + +- Genera [i]mágenes y las guarda en el directorio actual: + +`tgpt --image "{{prompt}}"` + +- Genera [c]ódigo con el proveedor por defecto (GPT-3.5-turbo): + +`tgpt --code "{{prompt}}"` + +- Chatea con un proveedor específico silenciosamente (sin animaciones): + +`tgpt --provider {{openai|opengpts|koboldai|phind|llama2|blackboxai}} --quiet --whole "{{prompt}}"` + +- Genera y ejecuta comandos de intérprete utilizando un proveedor específico (con confirmación): + +`tgpt --provider {{llama2}} --shell "{{prompt}}"` + +- Pregunta con una clave de API, modelo, longitud máxima de respuesta, temperatura y `top_p` (necesario cuando se utiliza el proveedor `openai`): + +`tgpt --provider openai --key "{{api_key}}" --model "{{gpt-3.5-turbo}}" --max-length {{10}} --temperature {{0.7}} --top_p {{0.9}} "{{prompt}}"` + +- Alimenta un archivo como pre-entrada adicional: + +`tgpt --provider {{blackboxai}} "{{prompt}}" < {{ruta/al/archivo}}` diff --git a/pages.es/common/theharvester.md b/pages.es/common/theharvester.md new file mode 100644 index 00000000000000..64a1cc36cdf325 --- /dev/null +++ b/pages.es/common/theharvester.md @@ -0,0 +1,24 @@ +# theHarvester + +> Una herramienta diseñada para las primeras etapas en una prueba de penetración. +> Más información: . + +- Recopila información sobre un dominio utilizando Google: + +`theHarvester --domain {{nombre_de_dominio}} --source google` + +- Recopila información sobre un dominio utilizando varias fuentes: + +`theHarvester --domain {{nombre_de_dominio}} --source {{duckduckgo,bing,crtsh}}` + +- Cambia el límite de resultados con los que trabajar: + +`theHarvester --domain {{nombre_de_dominio}} --source {{google}} --limit {{200}}` + +- Guarda el resultado en dos archivos en formato XML y HTML: + +`theHarvester --domain {{nombre_de_dominio}} --source {{google}} --file {{nombre_de_archivo_de_salida}}` + +- Muestra ayuda: + +`theHarvester --help` diff --git a/pages.es/common/timew.md b/pages.es/common/timew.md new file mode 100644 index 00000000000000..daffe38bdbe438 --- /dev/null +++ b/pages.es/common/timew.md @@ -0,0 +1,32 @@ +# timew + +> Una herramienta de registro y seguimiento de tiempo para medir la duración de actividades. +> Más información: . + +- Comienza a cronometrar una actividad: + +`timew start` + +- Etiqueta la actividad actual: + +`timew tag {{etiqueta_de_la_actividad}}` + +- Comienza a cronometrar y a la vez etiquetar una actividad nueva: + +`timew start {{etiqueta_de_la_actividad}}` + +- Detiene la actividad actual: + +`timew stop` + +- Registra una actividad pasada: + +`timew track {{tiempo_de_inicio}} - {{tiempo_de_finalización}} {{etiqueta_de_la_actividad}}` + +- Ve los elementos registrados de hoy: + +`timew summary` + +- Ve un reporte del último día, semana, mes actual, etc.: + +`timew summary :{{today|yesterday|week|lastweek|month|lastmonth|year|lastyear}}` diff --git a/pages.es/common/tldr-lint.md b/pages.es/common/tldr-lint.md new file mode 100644 index 00000000000000..c8ab96a07e7100 --- /dev/null +++ b/pages.es/common/tldr-lint.md @@ -0,0 +1,16 @@ +# tldr-lint + +> Verifica y formatea páginas `tldr`. +> Más información: . + +- Verifica (lint) todas las páginas: + +`tldr-lint {{directorio_páginas}}` + +- Formatea una página específica hacia `stdout`: + +`tldr-lint --format {{page.md}}` + +- Formatea cada página sin escribir otros archivos o en la salida estándar: + +`tldr-lint --format --in-place {{directorio_páginas}}` diff --git a/pages.es/common/tldr.md b/pages.es/common/tldr.md new file mode 100644 index 00000000000000..5798e29e6c78f9 --- /dev/null +++ b/pages.es/common/tldr.md @@ -0,0 +1,37 @@ +# tldr + +> Muestra páginas de ayuda simples para herramientas de línea de comandos del proyecto tldr-pages. +> Nota: las opciones `--language` y `--list` no son requeridas por la especificación del cliente, pero la mayoría de los mismos las implementan. +> Más información: . + +- Imprime la página tldr para un comando específico (pista: ¡así es como has llegado hasta aquí!): + +`tldr {{comando}}` + +- Imprime la página tldr para un subcomando específico: + +`tldr {{comando}} {{subcomando}}` + +- Imprime la página tldr para un comando en el [L]enguaje dado (si está disponible, de lo contrario vuelve al inglés): + +`tldr {{[-L|--language]}} {{código_de_lenguaje}} {{comando}}` + +- Imprime la página tldr para un comando de una [p]lataforma específica: + +`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{comando}}` + +- Actualiza la caché local de páginas tldr: + +`tldr {{[-u|--update]}}` + +- [l]ista todas las páginas para la plataforma actual y `common`: + +`tldr {{[-l|--list]}}` + +- [l]ista todas las páginas de subcomandos disponibles para un comando: + +`tldr {{[-l|--list]}} | grep {{comando}} | column` + +- Imprime la página tldr para un comando aleatorio: + +`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr` diff --git a/pages.es/common/tldrl.md b/pages.es/common/tldrl.md new file mode 100644 index 00000000000000..698a55367891bc --- /dev/null +++ b/pages.es/common/tldrl.md @@ -0,0 +1,7 @@ +# tldrl + +> Este comando es un alias de `tldr-lint`. + +- Vea la documentación del comando original: + +`tldr tldr-lint` diff --git a/pages.es/common/tlmgr-arch.md b/pages.es/common/tlmgr-arch.md new file mode 100644 index 00000000000000..8238effeb83c37 --- /dev/null +++ b/pages.es/common/tlmgr-arch.md @@ -0,0 +1,7 @@ +# tlmgr arch + +> Este comando es un alias de `tlmgr platform`. + +- Vea la documentación del comando original: + +`tldr tlmgr platform` diff --git a/pages.es/common/tlmgr-platform.md b/pages.es/common/tlmgr-platform.md new file mode 100644 index 00000000000000..c83b844fc89e5c --- /dev/null +++ b/pages.es/common/tlmgr-platform.md @@ -0,0 +1,24 @@ +# tlmgr platform + +> Administra las plataformas TeX Live. +> Más información: . + +- Lista todas las plataformas disponibles en el repositorio de paquetes: + +`tlmgr platform list` + +- Añade los ejecutables para una plataforma específica: + +`sudo tlmgr platform add {{plataforma}}` + +- Elimina los ejecutables para una plataforma específica: + +`sudo tlmgr platform remove {{plataforma}}` + +- Auto detecta y cambia a la plataforma actual: + +`sudo tlmgr platform set auto` + +- Cambia a una plataforma específica: + +`sudo tlmgr platform set {{plataforma}}` diff --git a/pages.es/common/tmux.md b/pages.es/common/tmux.md index d94b8db1af6d45..6c2e6a3c8fbf9c 100644 --- a/pages.es/common/tmux.md +++ b/pages.es/common/tmux.md @@ -1,36 +1,38 @@ # tmux -> Multiplexa varias consolas virtuales. +> Multiplexor de terminal. +> Permite múltiples sesiones con ventanas, paneles y más. +> Vea también: `zellij`, `screen`. > Más información: . -- Inicia una nueva sesión de tmux: +- Inicia una nueva sesión: `tmux` -- Inicia una nueva sesión de tmux y le asigna un nombre: +- Inicia una nueva sesión con nombre: `tmux new -s {{nombre}}` -- Muestra las sesiones: +- Lista las sesiones existentes: `tmux ls` -- Adjunta a una sesión: +- Adjunta a la última sesión utilizada: -`tmux a` +`tmux attach` -- Adjunta a una sesión con un nombre específico: +- Separa la sesión actual (dentro de una sesión tmux): -`tmux a -t {{nombre}}` +`` -- Desconecta de la sesión: +- Crea una nueva ventana (dentro de una sesión tmux): -`Ctrl + B, D` +`` -- Elimina una sesión con un nombre específico: +- Cambia entre sesiones y ventanas (dentro de una sesión tmux): -`tmux kill-session -t {{nombre}}` +`` -- Elimina una sesión cuando se adjunta: +- Da de baja una sesión por su nombre: -`Ctrl + B, x (luego se pulsa 'y' para confirmar que sí)` +`tmux kill-session -t {{nombre}}` diff --git a/pages.es/common/todoman.md b/pages.es/common/todoman.md new file mode 100644 index 00000000000000..b7f265a7b1ff7b --- /dev/null +++ b/pages.es/common/todoman.md @@ -0,0 +1,7 @@ +# todoman + +> Este comando es un alias de `todo`. + +- Vea la documentación del comando original: + +`tldr todo` diff --git a/pages.es/common/tofu-fmt.md b/pages.es/common/tofu-fmt.md new file mode 100644 index 00000000000000..e9c8b2be1e833b --- /dev/null +++ b/pages.es/common/tofu-fmt.md @@ -0,0 +1,20 @@ +# tofu fmt + +> Formatea la configuración según las convenciones de estilo del lenguaje OpenTofu. +> Más información: . + +- Formatea la configuración en el directorio actual: + +`tofu fmt` + +- Formatea la configuración en el directorio actual y subdirectorios: + +`tofu fmt -recursive` + +- Muestra los cambios de formato: + +`tofu fmt -diff` + +- No lista los ficheros formateados a `stdout`: + +`tofu fmt -list=false` diff --git a/pages.es/common/tofu-output.md b/pages.es/common/tofu-output.md new file mode 100644 index 00000000000000..df164293a844dc --- /dev/null +++ b/pages.es/common/tofu-output.md @@ -0,0 +1,20 @@ +# tofu output + +> Exporta datos estructurados sobre tus recursos OpenTofu. +> Más información: . + +- Sin argumentos adicionales, `output` mostrará todas las salidas del módulo raíz: + +`tofu output` + +- Muestra solo un valor con un nombre específico: + +`tofu output {{nombre}}` + +- Convierte el valor de salida en una cadena sin procesar (útil para un conjunto de instrucciones de la consola): + +`tofu output -raw` + +- Formatea las salidas como un objeto JSON, con una clave por salida (útil con `jq`): + +`tofu output -json` diff --git a/pages.es/common/tofu-plan.md b/pages.es/common/tofu-plan.md new file mode 100644 index 00000000000000..f9b278a33c78e0 --- /dev/null +++ b/pages.es/common/tofu-plan.md @@ -0,0 +1,32 @@ +# tofu plan + +> Genera y muestra los planes de ejecución de OpenTofu. +> Más información: . + +- Genera y muestra el plan de ejecución en el directorio actual: + +`tofu plan` + +- Muestra un plan para destruir todos los objetos remotos que existen actualmente: + +`tofu plan -destroy` + +- Muestra un plan para actualizar el estado de Tofu y los valores de salida: + +`tofu plan -refresh-only` + +- Especifica valores para las variables de entrada: + +`tofu plan -var '{{nombre1}}={{valor1}}' -var '{{nombre2}}={{valor2}}'` + +- Centra la atención de Tofu solo en un subconjunto de recursos: + +`tofu plan -target {{tipo_recurso.nombre_recurso[índice instancia]}}` + +- Obtiene un plan en formato JSON: + +`tofu plan -json` + +- Escribe un plan en un archivo específico: + +`tofu plan -no-color > {{ruta/al/archivo}}` diff --git a/pages.es/common/tofu.md b/pages.es/common/tofu.md new file mode 100644 index 00000000000000..dcb96da3cc1349 --- /dev/null +++ b/pages.es/common/tofu.md @@ -0,0 +1,28 @@ +# tofu + +> Crea y despliega infraestructura como código a proveedores de nube. Bifurcación de código abierto de Terraform. +> Más información: . + +- Inicializa una configuración OpenTofu nueva o existente: + +`tofu init` + +- Verifica que los archivos de configuración son sintácticamente válidos: + +`tofu validate` + +- Formatea la configuración según las convenciones de estilo del lenguaje OpenTofu: + +`tofu fmt` + +- Genera y muestra un plan de ejecución: + +`tofu plan` + +- Construye o cambia la infraestructura: + +`tofu apply` + +- Destruye la infraestructura gestionada por Tofu: + +`tofu destroy` diff --git a/pages.es/common/toipe.md b/pages.es/common/toipe.md new file mode 100644 index 00000000000000..470d7703d21e4b --- /dev/null +++ b/pages.es/common/toipe.md @@ -0,0 +1,25 @@ +# toipe + +> Otra prueba de tipeo, pero con sabor a cangrejo. +> Un confiable evaluador de tipeo de terminal. +> Más información: . + +- Inicia el examen de tipeo con la lista de palabras por defecto: + +`toipe` + +- Usa una lista de palabras específica: + +`toipe {{[-w|--wordlist]}} {{nombre_de_la_lista}}` + +- Utiliza una lista de palabras personalizada: + +`toipe {{[-f|--file]}} {{ruta/al/archivo}}` + +- Especifica el número de palabras de cada prueba: + +`toipe {{[-n|--num]}} {{número_de_palabras}}` + +- Incluye signos de puntuación: + +`toipe {{[-p|--punctuation]}}` diff --git a/pages.es/common/touch.md b/pages.es/common/touch.md new file mode 100644 index 00000000000000..56d2b1235e85fc --- /dev/null +++ b/pages.es/common/touch.md @@ -0,0 +1,20 @@ +# touch + +> Crea archivos y establece los tiempos de acceso y modificación. +> Más información: . + +- Crea los archivos especificados: + +`touch {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Establece los tiempos de [a]cceso o [m]odificación al momento actual y no [c]rea un archivo si este no existe: + +`touch {{[-c|--no-create]}} -{{a|m}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Establece los [t]iempos de un archivo a un valor específico y no [c]rea el archivo si no existe: + +`touch {{[-c|--no-create]}} -t {{YYYYMMDDHHMM.SS}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` + +- Usa los tiempos de un archivo de [r]eferencia para establecer los tiempos en otro archivo y no [c]rea el archivo si no existe: + +`touch {{[-c|--no-create]}} {{[-r|--reference]}} {{ruta/al/archivo/de/referencia}} {{ruta/al/archivo1 ruta/al/archivo2 ...}}` diff --git a/pages.es/common/tqdm.md b/pages.es/common/tqdm.md new file mode 100644 index 00000000000000..f72ba728f29695 --- /dev/null +++ b/pages.es/common/tqdm.md @@ -0,0 +1,20 @@ +# tqdm + +> Muestra una barra de progreso a lo largo del tiempo de un comando. +> Más información: . + +- Muestra iteraciones por segundo y usa `stdout` después: + +`{{seq 10000000}} | tqdm | {{comando}}` + +- Crea una barra de progreso: + +`{{seq 10000000}} | tqdm --total {{10000000}} | {{comando}}` + +- Crea un archivo a partir de un directorio y utiliza el recuento de archivos de ese directorio para crear una barra de progreso: + +`zip {{[-r|--recurse-paths]}} {{ruta/al/archivo.zip}} {{ruta/al/directorio}} | tqdm --total $(find {{ruta/al/directorio}} | wc {{[-l|--líneas]}}) --unit files --null` + +- Crea un archivo con tar y crea una barra de progreso (sistema agnóstico, GNU tar usa `stdout` mientras BSD tar usa `stderr`): + +`tar vzcf {{ruta/al/archivo.tar.gz}} {{ruta/al/directorio}} 2>&1 | tqdm --total $(find {{ruta/al/directorio}} | wc {{[-l|--líneas]}}) --unit files --null` diff --git a/pages.es/common/trans.md b/pages.es/common/trans.md new file mode 100644 index 00000000000000..4de171300cedd8 --- /dev/null +++ b/pages.es/common/trans.md @@ -0,0 +1,24 @@ +# trans + +> Translate Shell es un traductor de línea de comandos. +> Más información: . + +- Traduce una palabra (el idioma es detectado automáticamente): + +`trans "{{palabra_u_oración_a_traducir}}"` + +- Genera una traducción corta: + +`trans --brief "{{palabra_u_oración_a_traducir}}"` + +- Traduce una palabra al español: + +`trans :{{es}} {{palabra}}` + +- Traduce una palabra del alemán al español: + +`trans {{de}}:{{es}} {{Schmetterling}}` + +- Se comporta como un diccionario para obtener el significado de una palabra: + +`trans -d {{palabra}}` diff --git a/pages.es/common/trash-cli.md b/pages.es/common/trash-cli.md new file mode 100644 index 00000000000000..ea08f5b6928ec8 --- /dev/null +++ b/pages.es/common/trash-cli.md @@ -0,0 +1,7 @@ +# trash-cli + +> Este comando es un alias de `trash`. + +- Vea la documentación para el comando original: + +`tldr trash` diff --git a/pages.es/common/trdsql.md b/pages.es/common/trdsql.md new file mode 100644 index 00000000000000..3f1f4e0d7f537b --- /dev/null +++ b/pages.es/common/trdsql.md @@ -0,0 +1,32 @@ +# trdsql + +> Ejecuta SQL en archivos CSV, LTSV, JSON, YAML y TBLN. +> Más información: . + +- Convierte datos de objetos de varios archivos JSON a un archivo CSV con encabezado (`-oh`) y comillas dobles: + +`trdsql -ocsv -oh "SELECT * FROM {{ruta/al/archivo/*.json}}" | sed 's/\([^,]*\)/«&»/g' > {{ruta/al/archivo.csv}}` + +- Interpreta una lista JSON como tabla y pone objetos dentro como columnas ( ruta/al/archivo.json: `{"lista":[{"edad":"26", "nombre":"Tanaka"}]}`): + +`trdsql "SELECT * FROM {{ruta/al/archivo.json}}::.list` + +- Manipula una consulta SQL compleja con datos de varios archivos CSV cuya primera línea es la cabecera (`-ih`): + +`trdsql -icsv -ih "SELECT {{columna1,columna2}} FROM {{ruta/al/archivo*.csv}} WHERE column2 != '' ORDER BY columna1 GROUP BY columna1"` + +- Combina el contenido de 2 archivos CSV en un archivo CSV: + +`trdsql "SELECT {{columna1,columna2}} FROM {{ruta/al/archivo1.csv}} UNION SELECT {{columna1,columna2}} FROM {{ruta/al/archivo2.csv}}"` + +- Se conecta a la base de datos PostgreSQL: + +`trdsql -driver postgres -dsn "host={{nombre_del_host}} port={{5433}} dbname={{nombre_de_la_base_de_datos}}" "SELECT 1"` + +- Crea una tabla de datos en una base de datos MySQL a partir de un archivo CSV: + +`trdsql -driver mysql -dsn "{{usuario}}:{{contraseña}}@{{nombre_del_host}}/{{base_de_datos}}" -ih "CREATE TABLE {{tabla}} ({{columna1}} int, {{columna2}} varchar(20)) AS SELECT {{columna3}} AS {{columna1}},{{columna2}} FROM {{ruta/a/archivo_cabecera.csv}}"` + +- Muestra datos de archivos de registro comprimidos: + +`trdsql -iltsv "SELECT * FROM {{ruta/a/acceso.log.gz}}"` diff --git a/pages.es/common/tree.md b/pages.es/common/tree.md new file mode 100644 index 00000000000000..5b6956373227a3 --- /dev/null +++ b/pages.es/common/tree.md @@ -0,0 +1,36 @@ +# tree + +> Muestra los contenidos del directorio actual en forma de árbol. +> Más información: . + +- Imprime archivos y directorios hasta `num` niveles de profundidad (donde 1 significa el directorio actual): + +`tree -L {{num}}` + +- Imprime solo directorios: + +`tree -d` + +- Imprime también archivos ocultos, coloreando la salida: + +`tree -a -C` + +- Imprime el árbol sin sangría, mostrando la ruta completa en su lugar (use `-N` para evitar escapar caracteres no imprimibles): + +`tree -i -f` + +- Imprime el tamaño de cada archivo y el tamaño total de cada directorio en formato legible para humanos: + +`tree -s -h --du` + +- Imprime archivos dentro de la jerarquía de árbol, especificando un patrón comodín, excluyendo los directorios que no contengan archivos coincidentes: + +`tree -P '{{*.txt}}' --prune` + +- Imprime archivos dentro de la jerarquía de árbol, especificando un patrón, excluyendo los directorios que no sean ancestros del especificado: + +`tree -P {{nombre_del_directorio}} --matchdirs --prune` + +- Imprime el árbol ignorando los directorios especificados: + +`tree -I '{{nombre_del_directorio1|nombre_del_directorio2}}'` diff --git a/pages.es/common/trip.md b/pages.es/common/trip.md new file mode 100644 index 00000000000000..16829e4b5f63ee --- /dev/null +++ b/pages.es/common/trip.md @@ -0,0 +1,30 @@ +# trip + +> Una herramienta de diagnóstico de red. +> Combina la funcionalidad de `traceroute` y `ping`. +> Diseñada para ayudar en el análisis de problemas de red. +> Más información: . + +- Uso básico con parámetros por defecto: + +`sudo trip {{example.com}}` + +- Rastrea sin requerir privilegios elevados (solo plataformas soportadas): + +`trip {{example.com}} --unprivileged` + +- Rastrea solo con `IPv6`: + +`sudo trip {{example.com}} --ipv6` + +- Rastrea usando el protocolo `udp`: + +`sudo trip {{example.com}} --protocol {{udp}}` + +- Utiliza el puerto de destino personalizado `443` para el rastreo `tcp`: + +`sudo trip {{example.com}} --protocol {{tcp}} --target-port {{443}}` + +- Utiliza el puerto de origen personalizado `5000` para el seguimiento `udp`: + +`sudo trip {{example.com}} --protocol {{udp}} --source-port {{5000}}` diff --git a/pages.es/common/trufflehog.md b/pages.es/common/trufflehog.md new file mode 100644 index 00000000000000..a495dc99eea28d --- /dev/null +++ b/pages.es/common/trufflehog.md @@ -0,0 +1,36 @@ +# trufflehog + +> Encuentra y verifica credenciales en archivos, repositorios de Git, cubos S3 e imágenes Docker. +> Más información: . + +- Escanea un repositorio de Git en busca de secretos verificados: + +`trufflehog git {{https://github.com/trufflesecurity/test_keys}} --only-verified` + +- Escanea una organización de GitHub en busca de secretos verificados: + +`trufflehog github --org {{trufflesecurity}} --only-verified` + +- Escanea un repositorio de GitHub en busca de claves verificadas y genera un archivo de salida JSON: + +`trufflehog git {{https://github.com/trufflesecurity/test_keys}} --only-verified --json` + +- Escanea un repositorio de GitHub junto con sus incidencias y solicitudes de extracción: + +`trufflehog github --repo {{https://github.com/trufflesecurity/test_keys}} --issue-comments --pr-comments` + +- Escanea un cubo S3 en busca de claves verificadas: + +`trufflehog s3 --bucket {{nombre_del_cubo}} --only-verified` + +- Escanea cubos S3 utilizando roles IAM: + +`trufflehog s3 --role-arn {{iam-role-arn}}` + +- Escanea archivos o directorios individuales: + +`trufflehog filesystem {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}` + +- Escanea una imagen de Docker en busca de secretos verificados: + +`trufflehog docker --image {{trufflesecurity/secrets}} --only-verified` diff --git a/pages.es/common/tty.md b/pages.es/common/tty.md new file mode 100644 index 00000000000000..525a884333503e --- /dev/null +++ b/pages.es/common/tty.md @@ -0,0 +1,8 @@ +# tty + +> Muestra el nombre del terminal. +> Más información: . + +- Muestra el nombre del archivo de este terminal: + +`tty` diff --git a/pages.es/common/tuc.md b/pages.es/common/tuc.md new file mode 100644 index 00000000000000..8a6fd242651d98 --- /dev/null +++ b/pages.es/common/tuc.md @@ -0,0 +1,25 @@ +# tuc + +> Corta texto (o bytes) donde coincida un delimitador, luego conserva las partes deseadas. +> Una versión más fácil de usar y potente de `cut` con valores por defecto sensibles. +> Más información: . + +- Corta y reorganiza campos: + +`echo "foo bar baz" | tuc -d '{{ }}' -f {{3,2,1}}` + +- Sustituye el delimitador `space` por una flecha: + +`echo "foo bar baz" | tuc -d ' ' -r ' ➡ '` + +- Mantiene un rango de campos: + +`echo "foo bar baz" | tuc -d ' ' -f {{2:}}` + +- Corta usando expresiones regulares: + +`echo "a,b, c" | tuc -e '{{[, ]+}}' -f {{1,3}}` + +- Genera salida JSON: + +`echo "foo bar baz" | tuc -d '{{ }}' --json` diff --git a/pages.es/common/type.md b/pages.es/common/type.md new file mode 100644 index 00000000000000..d4702b1fa47fa9 --- /dev/null +++ b/pages.es/common/type.md @@ -0,0 +1,21 @@ +# type + +> Muestra el tipo de comando que ejecutará el intérprete de comandos. +> Nota: todos los ejemplos no son compatibles con POSIX. +> Más información: . + +- Muestra el tipo de un comando: + +`type {{comando}}` + +- Muestra todas las rutas con el ejecutable especificado (solo funciona en los intérpretes de comandos Bash/fish/Zsh): + +`type -a {{comando}}` + +- Muestra el nombre del archivo en disco que se ejecutaría (solo funciona en intérpretes de comandos Bash/fish/Zsh): + +`type -p {{comando}}` + +- Muestra el tipo de un comando específico, alias/palabra clave/función/integrado/archivo (solo funciona en intérpretes de comandos Bash/fish): + +`type -t {{comando}}` diff --git a/pages.es/common/typeinc.md b/pages.es/common/typeinc.md new file mode 100644 index 00000000000000..bcf5927b44f428 --- /dev/null +++ b/pages.es/common/typeinc.md @@ -0,0 +1,21 @@ +# typeinc + +> Un programa de línea de comandos basado en `ncurses` para probar la velocidad de tecleo, escrito en Python. +> Prueba diferentes niveles de dificultad y mejora tu velocidad de tecleo. +> Más información: . + +- Entra en la prueba de mecanografía: + +`typeinc` + +- Muestra la lista de los 10 primeros clasificados por nivel de dificultad de entrada: + +`typeinc {{[-r|--ranklist]}} {{nivel_de_dificultad}}` + +- Obtén palabras aleatorias en inglés presentes en nuestra lista de palabras: + +`typeinc {{[-w|--words]}} {{conteo_de_palabras}}` + +- Calcula el resultado hipotético en Typeinc: + +`typeinc {{[-s|--score]}}` diff --git a/pages.es/common/typeset.md b/pages.es/common/typeset.md new file mode 100644 index 00000000000000..47e225d2a3a6af --- /dev/null +++ b/pages.es/common/typeset.md @@ -0,0 +1,7 @@ +# typeset + +> Este comando es un alias de `declare`. + +- Muestra documentación para el comando original: + +`tldr declare` diff --git a/pages.es/common/tzconfig.md b/pages.es/common/tzconfig.md new file mode 100644 index 00000000000000..aa3566bcda9537 --- /dev/null +++ b/pages.es/common/tzconfig.md @@ -0,0 +1,9 @@ +# tzconfig + +> Administra y configura su zona horaria local. +> No acepta parámetros. +> Más información: . + +- Inicia la utilidad de configuración de zona horaria: + +`tzconfig` diff --git a/pages.es/common/unlzma.md b/pages.es/common/unlzma.md new file mode 100644 index 00000000000000..0b7f3b6d975aa4 --- /dev/null +++ b/pages.es/common/unlzma.md @@ -0,0 +1,7 @@ +# unlzma + +> Este comando es un alias de `xz --format=lzma --decompress`. + +- Vea la documentación para el comando original: + +`tldr xz` diff --git a/pages.es/common/unrar.md b/pages.es/common/unrar.md index 80815ec89e8e51..710cc84f8e876a 100644 --- a/pages.es/common/unrar.md +++ b/pages.es/common/unrar.md @@ -1,6 +1,7 @@ # unrar > Extrae archivos RAR. +> Más información: . - Extrae archivos comprimidos respetando la estructura original del archivo: diff --git a/pages.es/common/unxz.md b/pages.es/common/unxz.md new file mode 100644 index 00000000000000..0c52eeda9e3c97 --- /dev/null +++ b/pages.es/common/unxz.md @@ -0,0 +1,7 @@ +# unxz + +> Este comando es un alias de `xz --decompress`. + +- Vea la documentación para el comando original: + +`tldr xz` diff --git a/pages.es/common/unzip.md b/pages.es/common/unzip.md new file mode 100644 index 00000000000000..fd873614aac5bf --- /dev/null +++ b/pages.es/common/unzip.md @@ -0,0 +1,29 @@ +# unzip + +> Extrae archivos/directorios de archivos Zip. +> Vea también: `zip`. +> Más información: . + +- Extrae todos los archivos/directorios de archivos específicos en el directorio actual: + +`unzip {{ruta/al/archivo1.zip ruta/al/archivo2.zip ...}}` + +- Extrae los archivos/directorios de archivos a una ruta específica: + +`unzip {{ruta/al/archivo1.zip ruta/al/archivo2.zip ...}} -d {{ruta/al/resultado}}` + +- Extrae los archivos/directorios de archivos a `stdout` junto con los nombres de archivos extraídos: + +`unzip -c {{ruta/al/archivo1.zip ruta/al/archivo2.zip ...}}` + +- Extrae un archivo creado en Windows, que contiene archivos con caracteres no ASCII en su nombre (por ejemplo, caracteres chinos o japoneses): + +`unzip -O {{gbk}} {{ruta/al/archivo1.zip ruta/al/archivo2.zip ...}}` + +- Enumera los contenidos de un archivo específico sin extraerlos: + +`unzip -l {{ruta/al/archivo.zip}}` + +- Extrae un archivo específico de un archivo: + +`unzip -j {{ruta/al/archivo.zip}} {{ruta/al/archivo1_en_archivo ruta/al/archivo2_en_archivo ...}}` diff --git a/pages.es/common/unzstd.md b/pages.es/common/unzstd.md new file mode 100644 index 00000000000000..0296d3957c7ab9 --- /dev/null +++ b/pages.es/common/unzstd.md @@ -0,0 +1,7 @@ +# unzstd + +> Este comando es un alias de `zstd --decompress`. + +- Vea la documentación para el comando original: + +`tldr zstd` diff --git a/pages.es/common/upt.md b/pages.es/common/upt.md new file mode 100644 index 00000000000000..a6eb9dbd1f3bbe --- /dev/null +++ b/pages.es/common/upt.md @@ -0,0 +1,38 @@ +# upt + +> Interfaz unificada para gestionar paquetes en varios sistemas operativos, tales como Windows, diversas distribuciones de Linux, macOS, FreeBSD e incluso Haiku. +> Requiere que el gestor de paquetes nativo del sistema operativo esté instalado. +> Vea también: `flatpak`, `brew`, `scoop`, `apt`, `dnf`. +> Más información: . + +- Actualiza la lista de paquetes disponibles: + +`upt update` + +- Busca un paquete: + +`upt search {{término_de_búsqueda}}` + +- Muestra información sobre un paquete: + +`upt info {{paquete}}` + +- Instala un paquete: + +`upt install {{paquete}}` + +- Elimina un paquete: + +`upt {{remove|uninstall}} {{paquete}}` + +- Actualiza todos los paquetes instalados: + +`upt upgrade` + +- Actualiza un paquete: + +`upt upgrade {{paquete}}` + +- Lista los paquetes instalados: + +`upt list` diff --git a/pages.es/common/usql.md b/pages.es/common/usql.md new file mode 100644 index 00000000000000..d1520aef2eb5df --- /dev/null +++ b/pages.es/common/usql.md @@ -0,0 +1,32 @@ +# usql + +> Interfaz de línea de comandos universal para bases de datos SQL. +> Más información: . + +- Conecta a una base de datos específica: + +`usql {{sqlserver|mysql|postgres|sqlite3|...}}://{{usuario}}:{{contraseña}}@{{host}}:{{puerto}}/{{nombre_base_de_datos}}` + +- Ejecuta comandos desde un archivo: + +`usql --file={{ruta/al/query.sql}}` + +- Ejecuta un comando SQL específico: + +`usql --command="{{comando_sql}}"` + +- Ejecuta un comando SQL en el intérprete de comandos de `usql`: + +`{{prompt}}=> {{comando}}` + +- Muestra el esquema de la base de datos: + +`{{prompt}}=> \d` + +- Exporta los resultados de la consulta a un archivo específico: + +`{{prompt}}=> \g {{ruta/a/archivo_con_resultados}}` + +- Importa datos de un archivo CSV a una tabla específica: + +`{{prompt}}=> \copy {{ruta/a/datos.csv}} {{nombre_de_tabla}}` diff --git a/pages.es/common/uv-add.md b/pages.es/common/uv-add.md new file mode 100644 index 00000000000000..5b4bbf3be9de7d --- /dev/null +++ b/pages.es/common/uv-add.md @@ -0,0 +1,37 @@ +# uv add + +> Añade dependencias de paquetes al archivo `pyproject.toml`. +> Los paquetes se especifican según . +> Más información: . + +- Añade la última versión de un paquete: + +`uv add {{paquete}}` + +- Añade múltiples paquetes: + +`uv add {{paquete1 paquete2 ...}}` + +- Añade un paquete con un requisito de versión: + +`uv add {{paquete>=1.2.3}}` + +- Añade paquetes a un grupo de dependencia opcional, que se incluirá cuando se publique: + +`uv add --optional {{opcional}} {{paquete1 paquete2 ...}}` + +- Añade paquetes a un grupo local, que no se incluirán cuando se publiquen: + +`uv add --group {{grupo}} {{paquete1 paquete2 ...}}` + +- Añade paquetes al grupo dev, abreviatura de `--group dev`: + +`uv add --dev {{paquete1 paquete2 ...}}` + +- Añade paquete como editable: + +`uv add --editable {{ruta/a/paquete/}}` + +- Habilita un extra al instalar el paquete, se puede proporcionar varias veces: + +`uv add {{paquete}} --extra {{característica_extra}}` diff --git a/pages.es/common/uv-python.md b/pages.es/common/uv-python.md new file mode 100644 index 00000000000000..e7c1d0fc72d697 --- /dev/null +++ b/pages.es/common/uv-python.md @@ -0,0 +1,28 @@ +# uv python + +> Gestiona las versiones e instalaciones de Python. +> Más información: . + +- Lista todas las instalaciones de Python disponibles: + +`uv python list` + +- Instala una versión de Python: + +`uv python install {{versión}}` + +- Desinstala una versión de Python: + +`uv python uninstall {{version}}` + +- Busca una instalación de Python: + +`uv python find {{versión}}` + +- Fija el proyecto actual para utilizar una versión específica de Python: + +`uv python pin {{versión}}` + +- Muestra el directorio de instalación de `uv` Python: + +`uv python dir` diff --git a/pages.es/common/uv-tree.md b/pages.es/common/uv-tree.md new file mode 100644 index 00000000000000..14e239653088a5 --- /dev/null +++ b/pages.es/common/uv-tree.md @@ -0,0 +1,28 @@ +# uv tree + +> Muestra las dependencias del proyecto en formato de árbol. +> Más información: . + +- Muestra el árbol de dependencias del entorno actual: + +`uv tree` + +- Muestra el árbol de dependencias para todos los entornos: + +`uv tree --universal` + +- Muestra el árbol de dependencias hasta una determinada profundidad: + +`uv tree {{[-d|--depth]}} {{n}}` + +- Muestra la última versión disponible para todos los paquetes obsoletos: + +`uv tree --outdated` + +- Excluye dependencias del grupo dev: + +`uv tree --no-dev` + +- Muestra el árbol invertido, para que los hijos sean dependientes en lugar de dependencias: + +`uv tree --invert` diff --git a/pages.es/common/uv.md b/pages.es/common/uv.md new file mode 100644 index 00000000000000..4ed25603acb175 --- /dev/null +++ b/pages.es/common/uv.md @@ -0,0 +1,37 @@ +# uv + +> Un rápido gestor de paquetes y proyectos Python. +> Algunos subcomandos como `tool` y `python` tienen su propia documentación de uso. +> Más información: . + +- Crea un nuevo proyecto Python en el directorio actual: + +`uv init` + +- Crear un nuevo proyecto Python en la ruta especificada: + +`uv init {{ruta/a/directorio}}` + +- Añade una nueva dependencia al proyecto: + +`uv add {{paquete}}` + +- Elimina una dependencia del proyecto: + +`uv remove {{paquete}}` + +- Ejecuta un script en el entorno del proyecto: + +`uv run {{ruta/al/script.py}}` + +- Ejecuta un comando en el entorno del proyecto: + +`uv run {{comando}}` + +- Actualiza el entorno de un proyecto desde `pyproject.toml`: + +`uv sync` + +- Crea un archivo de bloqueo para las dependencias del proyecto: + +`uv lock` diff --git a/pages.es/common/vagrant-box.md b/pages.es/common/vagrant-box.md new file mode 100644 index 00000000000000..385aef8f370f20 --- /dev/null +++ b/pages.es/common/vagrant-box.md @@ -0,0 +1,37 @@ +# vagrant box + +> Administra cajas Vagrant (imágenes de máquinas virtuales). +> Vea también: `vagrant`. +> Más información: . + +- Lista todas las cajas instaladas: + +`vagrant box list` + +- Añade una nueva caja: + +`vagrant box add {{hashicorp/bionic64}}` + +- Añade una caja desde una URL personalizada: + +`vagrant box add {{mi-caja}} {{https://example.com/mi-caja.box}}` + +- Elimina una caja instalada: + +`vagrant box remove {{hashicorp/bionic64}}` + +- Actualiza todas las cajas que están en uso en el entorno Vagrant actual: + +`vagrant box update` + +- Actualiza una caja específica: + +`vagrant box update --box {{bento/debian-12}}` + +- Comprueba si hay una nueva versión disponible para la caja que está usando: + +`vagrant box outdated` + +- Limpia las versiones antiguas de las cajas instaladas: + +`vagrant box prune` diff --git a/pages.es/common/vagrant-plugin.md b/pages.es/common/vagrant-plugin.md new file mode 100644 index 00000000000000..7f192a321843fd --- /dev/null +++ b/pages.es/common/vagrant-plugin.md @@ -0,0 +1,29 @@ +# vagrant plugin + +> Gestiona los complementos de Vagrant. +> Vea también: `vagrant`. +> Más información: . + +- Lista todos los complementos actualmente instalados: + +`vagrant plugin list` + +- Instala un complemento desde repositorios remotos, normalmente RubyGems: + +`vagrant plugin install {{vagrant_vbguest}}` + +- Instala un complemento desde un archivo local: + +`vagrant plugin install {{ruta/a/mi_complemento.gem}}` + +- Actualiza todos los complementos instalados a su última versión: + +`vagrant plugin update` + +- Actualiza un complemento a la última versión: + +`vagrant plugin update {{vagrant_vbguest}}` + +- Desinstala un complemento específico: + +`vagrant plugin uninstall {{vagrant_vbguest}}` diff --git a/pages.es/common/valgrind.md b/pages.es/common/valgrind.md new file mode 100644 index 00000000000000..4ed33b4ead0528 --- /dev/null +++ b/pages.es/common/valgrind.md @@ -0,0 +1,21 @@ +# valgrind + +> Programa para un conjunto de herramientas expertas con programas de perfilado, optimización y depuración. +> Entre las herramientas de uso común cabe citar: `memcheck`, `cachegrind`, `callgrind`, `massif`, `helgrind` y `drd`. +> Más información: . + +- Utiliza la herramienta Memcheck (por defecto) para mostrar un diagnóstico del uso de la memoria por `programa`: + +`valgrind {{programa}}` + +- Utiliza Memcheck para informar sobre todas las posibles fugas de memoria de `programa` en detalle: + +`valgrind --leak-check=full --show-leak-kinds=all {{programa}}` + +- Utiliza la herramienta Cachegrind para perfilar y registrar operaciones de caché de CPU de `programa`: + +`valgrind --tool=cachegrind {{programa}}` + +- Utiliza la herramienta Massif para perfilar y registrar la memoria heap y el uso de la pila de `programa`: + +`valgrind --tool=massif --stacks=yes {{programa}}` diff --git a/pages.es/common/vboxmanage-movevm.md b/pages.es/common/vboxmanage-movevm.md new file mode 100644 index 00000000000000..13d28f150074d7 --- /dev/null +++ b/pages.es/common/vboxmanage-movevm.md @@ -0,0 +1,12 @@ +# VBoxManage movevm + +> Mueve una máquina virtual (VM) a una nueva ubicación en el sistema anfitrión. +> Más información: . + +- Mueve la máquina virtual especificada a la ubicación actual: + +`VBoxManage movevm {{nombre_vm}}` + +- Especifica la nueva ubicación (nombre de ruta completo o relativo) de la máquina virtual: + +`VBoxManage movevm {{nombre_vm}} --folder {{ruta/a/nueva_ubicación}}` diff --git a/pages.es/common/vc.md b/pages.es/common/vc.md new file mode 100644 index 00000000000000..a1b2354f73e850 --- /dev/null +++ b/pages.es/common/vc.md @@ -0,0 +1,7 @@ +# vc + +> Este comando es un alias de `vercel`. + +- Vea la documentación del comando original: + +`tldr vercel` diff --git a/pages.es/common/vcpkg.md b/pages.es/common/vcpkg.md new file mode 100644 index 00000000000000..d1e99b6e9b30d7 --- /dev/null +++ b/pages.es/common/vcpkg.md @@ -0,0 +1,21 @@ +# vcpkg + +> Gestor de paquetes para librerías C/C++. +> Nota: los paquetes no se instalan en el sistema. Para usarlos, necesitas decirle a tu sistema de compilación (por ejemplo CMake) que use `vcpkg`. +> Más información: . + +- Construye y añade el paquete `libcurl` al entorno de `vcpkg`: + +`vcpkg install curl` + +- Construye y añade `zlib` usando la cadena de herramientas `emscripten`: + +`vcpkg install --triplet=wasm32-emscripten zlib` + +- Busca un paquete: + +`vcpkg search {{nombre_del_paquete}}` + +- Configura un proyecto CMake para utilizar los paquetes de `vcpkg`: + +`cmake -B build -DCMAKE_TOOLCHAIN_FILE={{ruta/al/directorio_de_instalación_vcpkg}}/scripts/buildsystems/vcpkg.cmake` diff --git a/pages.es/common/vi.md b/pages.es/common/vi.md new file mode 100644 index 00000000000000..bdadcdd8d752c5 --- /dev/null +++ b/pages.es/common/vi.md @@ -0,0 +1,7 @@ +# vi + +> Este comando es un alias de `vim`. + +- Muestra la documentación del comando original: + +`tldr vim` diff --git a/pages.es/common/vim.md b/pages.es/common/vim.md new file mode 100644 index 00000000000000..1d54aed9ed7197 --- /dev/null +++ b/pages.es/common/vim.md @@ -0,0 +1,37 @@ +# vim + +> Vim (Vi IMproved), un editor de texto para la línea de comandos, que proporciona varios modos para diferentes tipos de manipulación de texto. +> Pulsando `` entra en el modo insertar. `` regresa al modo normal, permitiendo el uso de comandos Vim. +> Más información: . + +- Abre un archivo: + +`vim {{ruta/al/archivo}}` + +- Abre un archivo en un número de línea especificado: + +`vim +{{número_de_línea}} {{ruta/al/archivo}}` + +- Muestra el manual de Vim: + +`<:>help` + +- Guarda y sale: + +`{{|<:>x|<:>wq}}` + +- Deshaz la última operación: + +`` + +- Busca un patrón en el archivo (pulsa ``/`` para ir a la próxima/previa coincidencia): + +`{{patrón_a_buscar}}` + +- Realiza una sustitución de una expresión regular en el archivo completo: + +`<:>%s/{{expresión_regular}}/{{reemplazo}}/g` + +- Muestra los números de línea: + +`<:>set nu` diff --git a/pages.es/common/vimdiff.md b/pages.es/common/vimdiff.md new file mode 100644 index 00000000000000..f29827ce44312f --- /dev/null +++ b/pages.es/common/vimdiff.md @@ -0,0 +1,37 @@ +# vimdiff + +> Abre dos o más archivos en Vim y muestra las diferencias entre ellos. +> Vea también `vim`. +> Más información: . + +- Abre dos archivos y muestra las diferencias: + +`vimdiff {{archivo1}} {{archivo2}}` + +- Mueve el cursor a la ventana de la izquierda|derecha: + +`{{|}}` + +- Salta a la diferencia previa: + +`<[>` + +- Salta a la siguiente diferencia: + +`<]>` + +- Copia la diferencia resaltada de la otra ventana a la ventana actual: + +`` + +- Copia la diferencia resaltada de la ventana actual a la otra ventana: + +`